@zeniai/web-cockpit-ui 1.15.35-qa → 1.15.36-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 (285) hide show
  1. package/dist/assets/{ACHDetailsPage-CdyuCPU8-Cc9AcSrc.js → ACHDetailsPage-MTECJ5f2-BdLHfYkw.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-GW2UlhRu-LCcni55-.js → AIPerformancePage-2DnUDrYW-DNI5xeF8.js} +21 -21
  3. package/dist/assets/AccountInfoPage-BDjC13Ii-CDV-bwh1.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Dn6yodzf-CnavH9Km.js → AccountInfoPageContent-Uf69Ma0g-4oOZ211N.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-7MLTBsWb-D0R-VIax.js → AccountLockedInfoModal-BXcJh14l-Cm1Sq52s.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CUvBGVmt-BU4gFlYH.js → AccountReconDetailsDrawerPage-Cswyt1rh-8EGrj1WM.js} +6 -6
  7. package/dist/assets/{AccountRow-t-WESYF_-CAxThHrd.js → AccountRow-CwQ210NA-5WmGHDfQ.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-C0Ht_d_M-AWi1njok.js → AccountsPromoCardStack-DdAZdIl7-B1nFN92E.js} +15 -15
  9. package/dist/assets/{AddAddressForCardDrawer-CpDfjROc-NuYhekBS.js → AddAddressForCardDrawer-B2tfTCJl-DqVInXyI.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CPYp6JZP-4pViGsS0.js → AddToWalletPage-CYheOozR-CDrN1v1e.js} +6 -6
  11. package/dist/assets/{AgingReportsPage-BRChA3Xv-C_Zgtox3.js → AgingReportsPage-DzKHZ2gU-D4NK3bB8.js} +13 -13
  12. package/dist/assets/{AllUserItems-CUlWgl79-CPuh3MLd.js → AllUserItems-M13M7Dn--CMRF0XPg.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-D7u_ghQp-BO50wskp.js → ApAgingDetailPage-CeCfzyaW-xN1KSuw8.js} +6 -6
  14. package/dist/assets/{AppBasePage-bvoaHTtg-BZ9G1r1W.js → AppBasePage-lNsHzKPV-BUTBPJJ7.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DYDi-djG-CB6Hm-0Q.js → AppDrawerContent-D7S-TGMT-BmwuU2JQ.js} +1 -1
  16. package/dist/assets/ApprovalRulesSettingsPage-CEb5R3Um-BCMBYXPC.js +47 -0
  17. package/dist/assets/{ArAgingChart-DBuqIeaR-bg4RQvn8.js → ArAgingChart-BtWnAFp_-C5Q_9k5d.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-ALGyVMJV-BZSF2nd3.js → ArAgingDetailPage-b4XNEmrz-DygKBFbD.js} +2 -2
  19. package/dist/assets/{AttachmentView-BIeDapyc-Dy-ghSP2.js → AttachmentView-BNh7psmU-Bbw5Dndi.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BQKaKFnm-DXAkbQt8.js → BankAccountSection-DvxISEWF-B3bfDW0E.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-DeUkht1G-Dr6bgRCP.js → BankAccountWarningSection-BigSAlOf-giEPP_Qk.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-qldLiM1M-B7n052An.js → BankConnectionsSettingsPage-BmV84xpM-hAhHGA_U.js} +1 -1
  23. package/dist/assets/{BillDetailPage-BPqPHZcD-BLaS3lNQ.js → BillDetailPage-bGScpKo1-C8_DAvpa.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-FW3E7XSE-BuOLvGKr.js → BillPayApprovalRuleDetailPage-WL_3iqlY-CEGOsAwB.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-BGotlrLK-Dnlxb0ei.js → BillPayApprovalRulesPage-DzXO3OA3-CuNf74rj.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DvoccD5_-BbvDxZBM.js → BillPayPromoPage-CWXg38Zn-QLqd2JeT.js} +4 -4
  27. package/dist/assets/{BillPaySetUpPage-DhjIDy8h-DjCT2F-Q.js → BillPaySetUpPage-S29c7luv-BjKkNycA.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CmO4DZ-a-DfLL-3xJ.js → BillingSettingsPage-B4UuM5oI-CnNIbUJQ.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-4vzF3bG9-CYnUuRpA.js → BillsBulkReviewDrawerPage-DnU8hO98-C1ox6sAt.js} +1 -1
  30. package/dist/assets/{BoxItem-B6i9yx2h-BXmANcI9.js → BoxItem-BuOARLA6-BfKpH1iW.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DuEh8MkZ-C6NEKtFI.js → BusinessVerificationPage-C-2WkF1k-BNJjkTCX.js} +8 -8
  32. package/dist/assets/{CardNumberSubText-BEVRq2PI-DDGQHtM7.js → CardNumberSubText-B5F6n20g-B4j-P-Yo.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage--SHtNWGE-B7q_3WKk.js → CashbackDetailPage-B8BWFurd-CEzxQv9t.js} +11 -11
  34. package/dist/assets/{ChargeCardDetailPage-EFRUpv7y-CRSyItBH.js → ChargeCardDetailPage-CUwelhv9-_Qmyewum.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CFB5EHCZ-Q_LF4khU.js → ChargeCardListPage-OM6V0_w4-DmRwOrEA.js} +7 -7
  36. package/dist/assets/{ChargeCardListTable-DM_h-dzr-JfLZMhMV.js → ChargeCardListTable-BLQucs67-dVRRo8zw.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CPZj9te2-D70Jr31B.js → ChargeCardPaymentHistoryPage-Ctli7jP9-Dv4R4N7Z.js} +7 -7
  38. package/dist/assets/{ChargeCardPromoPage-BWwBfycu-Dr4jE1df.js → ChargeCardPromoPage-87W_Pmcc-CL32Gm8l.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-Epn4xe2x-CtGXIQfR.js → ChargeCardSetupPage-C2ut28_d-oEr-F107.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-Bu7OdYhw-DLIqhr4K.js → ChargeCardStatementsPage-B0pW9c8L-BOQfbOjy.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DQnqizMV-Das21vqy.js → CheckDepositDrawerPage-B6amchCs-DmayI2eG.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CSVzLWq_-CEaOtd9D.js → CollapsableReportTable-CKZMra2N-DVHlppQA.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-Pwtunf36-wXG4kPwP.js → CompanyOfficerDetailsSection-BaDN_HWQ-Df10Iqha.js} +13 -13
  44. package/dist/assets/{CompanyPassportCard-DfPPft95-DYon-nbO.js → CompanyPassportCard-CVmFwsYx-YUIsTO7p.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-aNL_m3a2-BNzT9aja.js → CompanyPassportPage-Bo-fHKTg-pFmh0JY_.js} +15 -15
  46. package/dist/assets/{CompleteProfile-DmeE0Xjt-Bu6rPbEQ.js → CompleteProfile-D8_3QPfk-Cc_sI1mw.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-s04ELXDS-BR_CtkF9.js → ConfettiBurst-BxK3gOov-DRtasWE2.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-TJzIXuNi.js → ConstrainedInnerElement-BeIpAPjB-BSv5CT9e.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-D3oCIz1P-3fRPViQO.js → CreateOrEditVendorPage-Cx-QXXom-B8MFa7Ua.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-DPXaPj4B-CIxVZ_ux.js → CreditCardPaymentDrawerPage-D_VntONF-BdSVEQJx.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-CtKQBmBI-_7Z7zjF5.js → CurrencySelectField-CvMIDpOa-D4F-_rjZ.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-DCQvUK8d-CwcuXdB6.js → CustomerOnboardingActivationPage-BNx_JIsl-C1rccu3S.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-Dbz1NTUm-D53gumsw.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BVJ6jsqR-BkC7DbU8.js → CustomerOnboardingDetailPageSkeleton-CDkqTFSM-Be1MlRsD.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DQcf1Pyg-DmFCTQmR.js → CustomerOnboardingNoStepsPage-B7nn9pa6-kAh8a-Yt.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CLNt38t0-CISsxaNz.js → CustomerOnboardingPage-B0UsbJ1P-CYm4CD54.js} +5 -5
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-SyWJAHJ5-BLo87ZGI.js → CustomerOnboardingProductSuitePage-CTHXj545-fzvlTLym.js} +2 -2
  58. package/dist/assets/{Dashboard-DW6P3oLC-JmOZT2AT.js → Dashboard-mxMZYpEW-DiLuYwxX.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-Cp04-QUV-iSoe8_J3.js → DashboardReportPage-Dy9QVA7Z-Cz6343vo.js} +25 -25
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-CKoyjUHm-wsCB2Mj1.js → DashboardSidebarBackgroundAnimation-Bp7cCBwN-DxhEIL5n.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-kZL4La9A-px-IlxCa.js → DepositAccTransactionItem-qG9GvyAi-Cn-YxRbF.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-C_GPoFDS-C20Qv67v.js → DepositAccTransactionListPage-DY6ckLcN-BoxQBeYY.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-CL-gGug5-CFzt84md.js → DomesticWireDetailsPage-DQDdpsym-DorJ__Th.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-JdIA_Qvk-C3WZFyzU.js → DownloadOverlay-Calb-h8P-CpaxI-5F.js} +29 -29
  65. package/dist/assets/{DrawerPage-_F2zRGIo-Bbd9X4eR.js → DrawerPage-CtJFKuFL-CYYKg7Ek.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-Cqd73zkA-Ch9gkw4G.js → EditPeoplePage-D6AHuPcm-7B9Bydt9.js} +3 -3
  67. package/dist/assets/{EditReimbursementDetailPage--T5T_fJG-DCRo-lmo.js → EditReimbursementDetailPage-D6_fdX7E-DuCCCgtB.js} +3 -3
  68. package/dist/assets/{EntityDetailPage-CAu9l8_o-BuX4TBGi.js → EntityDetailPage-8XBPRJ2z-Blkh-rZa.js} +4 -4
  69. package/dist/assets/{EntitySummarySection-D1QM7cY6-CCQcM2Q7.js → EntitySummarySection-CRobZFdA-5ICB6kMK.js} +6 -6
  70. package/dist/assets/{ExpenseAutomationOverviewPage-pciCiajG-Bavician.js → ExpenseAutomationOverviewPage-BJAWD2jM-D1xeNN02.js} +46 -46
  71. package/dist/assets/ExpenseAutomationPage-CUMFF1DE-qGZ-fhdP.js +3001 -0
  72. package/dist/assets/{ExpressPayPage-BCMf-60G-Baid2jkl.js → ExpressPayPage-nqBKZ3fl-GqF5wwC1.js} +10 -10
  73. package/dist/assets/{FeaturePreviewPage-Dj5OXPVN-C18ni9NB.js → FeaturePreviewPage-C_IsnbRF-CRsggv2B.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-ZwhfJWnC-DJAXwgDf.js → FollowStepsSection-3Pp2we-C-BklcQOfQ.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-AZtnVYVQ-DMam3PuI.js → GlobalReviewListPage-BmXesyUc-Bz2HEI-M.js} +1 -1
  76. package/dist/assets/{InformationCardStack-D8cmcS4k-bRtRxft3.js → InformationCardStack-DNpn0-gM-GyRbPKpL.js} +5 -5
  77. package/dist/assets/{InsightsCardStack-CRbYGyti-BvZbD4Jj.js → InsightsCardStack-B2WhxVyz-B8IW9DSU.js} +1 -1
  78. package/dist/assets/{InsightsSection-B7cEUOjq-C4wpk5vd.js → InsightsSection-C2CwZPel-DBGYdL2D.js} +5 -5
  79. package/dist/assets/{IntegrationsSettingsPage-Cu70a3gO-C_bOu9Zi.js → IntegrationsSettingsPage-DIaqGx79-DcwRlZ2W.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-D_RuMP2E-BR38wYj0.js → InternationalWireSwiftDetailsPage-COOKMFsG-CgyBiXO1.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-CqpE7nR5-Cxc90JyU.js → InternationalWireVerificationPage-DmEbE8mB-y7aFV84D.js} +1 -1
  82. package/dist/assets/{InviteFormPage-BU3bkjN3-GXBF_TIM.js → InviteFormPage-B25ubjDZ-rc60wJWK.js} +1 -1
  83. package/dist/assets/{InvitePageListView-BfRPKPse-CRF5Iqdy.js → InvitePageListView-VsLAIeB2-sN4Mjomj.js} +25 -25
  84. package/dist/assets/{InvitePeoplePage-DFfZPbsO-CxUypzJ8.js → InvitePeoplePage-CtsAK9qA-Cy85-R6z.js} +2 -2
  85. package/dist/assets/InvoiceUploadSection-CTWcHIik-Ch45PmQD.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BB83Aeyd-DU83Twkc.js → IssueChargeCardPage-BjFDSjnT-B6eRPv5Y.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CK-YJ1cO-C4LJb4Ec.js → LabeledAddressValue-DTtkpbQD-CqjAk_yZ.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-BppwMtJ1-T6lPuNrW.js → LabeledAddressValueField-CGnp-ruv-DcIYlcxL.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-zpbzob1x-De_sFAdL.js → LabeledControlledCheckBoxField-D59MWScK-u0D-4rtN.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-DrZ69tWB-CbkU60Cq.js → LabeledCountryMultiSelectField-H2s6dgDh-Bk8gsi9y.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-D-rSPg1Y-BEoWM6os.js → LabeledCreatableSingleSelectField-DcMbc854-D5zvfJ8D.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-CBQeAeRc-CsNYjjwd.js → LabeledDocumentField-sF7Zoa0k-CZ654oCL.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-5t5k_pgq-3N767TYR.js → LabeledDropDownFormattedTextField-CQV1Uzgm-NA-GZk2j.js} +1 -1
  94. package/dist/assets/{LabeledText-tLPpd4Wp-Dn15jABZ.js → LabeledText-BacKeQ9P-B1Cd96zY.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D5zZUAVV-Uprdm1T5.js → LabeledUserSingleSelectWithSubtitlesField-BwgY-iwq-BfcihsXM.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DZ9boJMt-Ddaj0gyJ.js → LabeledZeniRolesDropDownField-DckQcAsv-jt45kZxB.js} +18 -18
  97. package/dist/assets/{LinkJETransactionPage-C99UMrwp-DGyiLhz2.js → LinkJETransactionPage-CJh4FFpC-BBBjUecH.js} +5 -5
  98. package/dist/assets/{LockCardPage-DE5Zw1p--DDhMx2Zw.js → LockCardPage-CPcRTCZE-D_H0owTv.js} +8 -8
  99. package/dist/assets/{LowBalancePopup-BD9saCcf-Bd0FezoJ.js → LowBalancePopup-D8GK2H9h-hjWBZs2C.js} +2 -2
  100. package/dist/assets/MagicLinkACHDetailsPage-D25qjc2G-9NeAFmog.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-D8_ky1S0-jwkJvUEx.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-CvLwoWmx-CZ38-i1G.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-BxXyF-Sp-BLAQ6Wfq.js → MagicLinkSuccessPage-B_BENTTd-DbqViuOL.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-DajyP-ys-DhZ3lo9u.js → MagicLinkTitleSection-QKzoOrdi-Bpjf7BPR.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-CAqhq5HH-B7PPRTQj.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BE1pUnaR-rY5WmdmI.js → MyBankConnectionsSettingsPage-CLyQgTUj-BbnMCn1U.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-CviCM09N-TrpArtHh.js → MyPendingActivationChargeCardListPage-_Fkdh2qv-Sopb8zUc.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-iREvm7LK-aaE3zkBS.js → MyProfileSettingsPage-DxmJa0cf-DxXUJqnD.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-r-K_Pjsb-BM59aAtt.js → NavBarWithPicker-CV8HLA6I-BUWTCujT.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CKhWji3v-DrK7JvGJ.js → NavigationArrow-C0hMKZ32-hISa84Ue.js} +1 -1
  111. package/dist/assets/{NavigationDots-OShASt5i-BCPaSs2y.js → NavigationDots-CjCXOKoW-CbK19jrp.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-2-kYqTDF-ClE9Trkz.js → NewGlobalMerchantPage-DbL_f9K3-BJU60EMT.js} +1 -1
  113. package/dist/assets/{NoDataChart-BN3zyJkX-d_10V5tE.js → NoDataChart-gYvI6yr8-viHJ3bQ-.js} +1 -1
  114. package/dist/assets/{NoDataTable-D0cyK_1j-CRU7hu0R.js → NoDataTable-BKZwVTXZ-T0eI1Zo0.js} +1 -1
  115. package/dist/assets/{NotFoundPage-yrt6kuPH-CTx1x3zQ.js → NotFoundPage-BYY5isHm-DDhBeJOV.js} +2 -2
  116. package/dist/assets/{NotificationSettingsPage-CX3Hkg6o-Bee4no-2.js → NotificationSettingsPage-DjW6to0g-1y2D4DgT.js} +16 -16
  117. package/dist/assets/{NotificationsListConfig-Cyzhla-8-29lmg0oi.js → NotificationsListConfig-CVq2sl6h-Bw-0i4Ig.js} +1 -1
  118. package/dist/assets/{NotificationsPage-O7M0pMnc-daR4laOH.js → NotificationsPage-CRP4cafk-C5rQyA0T.js} +21 -21
  119. package/dist/assets/{OpExByVendorPage-DpMGBmkQ-BofNUHsQ.js → OpExByVendorPage-DFhGNQND-Dk5383RE.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-BNxbiugm.js → OverlayContainerPage-D4QU0p4o-DKdfSoPP.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-Cbt0YlVL-CIaTrEzj.js → PandLWithForecastPage-C7HbHAwT-jbJyIaCy.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B2xEqKKc-CBFbBa1P.js → PaymentAccountSetupBillingAddressSection-CrOLi3CM-uLcqJFNN.js} +7 -7
  123. package/dist/assets/{PeoplePage-CUr5cz1w-_V-Q3GTv.js → PeoplePage-C70ShoQt-BQS3GQ43.js} +13 -13
  124. package/dist/assets/{Preview-CEK51ZCO.js → Preview-CIzSWHQo.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-t8HIs4J6-BEITBT2Y.js → ProductsCarousel-CWjvhORp-CeSyV6gs.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-6Uh8eokP-CcA7wxXm.js → PromoBaseCards-C_MPWCdo-BQaVgUEA.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-BbmqcpYW-BQKok7bH.js → QBOConnectionDialog-DG8GBxXu-BOORcaKP.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-u5dKqaH8-HpPTyv_J.js → QBOSetupSection-D0xw7uYo-BIeky-6i.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DxSrYBkv-B54Dk5Is.js → ReimbursementApprovalRuleDetailPage-D7Nssw7C-DE7B3Va0.js} +6 -6
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BL2GpJIG-DcDYMr7J.js → ReimbursementApprovalRulesPage-ALLu5Bn2-CwTr897n.js} +1 -1
  131. package/dist/assets/ReimbursementDetailPage-DtUem4gd-DWGZKWlX.js +314 -0
  132. package/dist/assets/{ReimbursementPromoPage-DuwxKGGm-CHsOOSFl.js → ReimbursementPromoPage-BMJx4mIG-DJbTDfJr.js} +4 -4
  133. package/dist/assets/{ReimbursementSetUpPage-Du4kRXbO-B-5X8hsi.js → ReimbursementSetUpPage-yEKRYNla-CFFoHhA6.js} +5 -5
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BmlYoVy4-B6mT_3wC.js → ReimbursementsBulkReviewDrawerPage-DuG_oVRd-DNVGALUa.js} +1 -1
  135. package/dist/assets/{ReloadCard-BSiXuJWg-BqlPHpin.js → ReloadCard-B1sDYISv-yIhOaL2x.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-KgvX6wt6-BZ_fbetO.js → ReportTableViewSelector-D0_bxxr3-CG8SHCRk.js} +1 -1
  137. package/dist/assets/{ReportsPage-Bt24BITW-DCtuAB8s.js → ReportsPage-8KbmzE10-CGdeSxTj.js} +4 -4
  138. package/dist/assets/{RevenueChart-iH_Xl63n-Drddpf_5.js → RevenueChart-DHaN9dID-BBTu7at-.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-CwPsM3uL-Dh04puOa.js → ReviewDetailsPage-CU1pEUH6-CJzA5XWq.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-DOqgOSnM-uwLvPYee.js → ReviewOverlay-abE-6rKm-CJgH1hlM.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-D6q4Wd6X-Ba41qnE5.js → RoleWithToolTip-XCmNsd2N-DcGnYG_x.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-_bJob_HD-CAcW1WNd.js → ScheduleDetailsFixedAssetsPage-DdQ7n2jO-CJpvIQmk.js} +3 -3
  143. package/dist/assets/{ScheduleDetailsPage-BDZm6We--DqachKin.js → ScheduleDetailsPage-BT7nc-SK-BkKOCQn5.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-DgG11IBi-DHvVMS0K.js → ScheduleSequenceTable-DmNi0a_t-BRPd9MD_.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-DP1vvIFq.js → ScreenRoutes-ReV8hS5d.js} +33 -33
  146. package/dist/assets/{SetUpAccountSection-n5OCUAL3-BCPO4UYh.js → SetUpAccountSection-CF5-adzX-dA8yacgy.js} +1 -1
  147. package/dist/assets/{SignIn-uBHaDram-DeaAUvTZ.js → SignIn-BlqHQp_i-DiVgvIz3.js} +12 -12
  148. package/dist/assets/SignInScreen-DPbt8pK5.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-ErBiPjGh-ZxpEEpcQ.js → SpendManagementListViewPage-Bw49YHTs-B7x-SLHw.js} +13 -13
  150. package/dist/assets/{SpendManagementPerTabPage-BIxGrbmz-iaE28oxr.js → SpendManagementPerTabPage-BBxTKG7D-DmW59dEk.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-B01H6LCd-dV21F-9A.js → SpendManagementSection-C0tVpDka-7XRgMTMj.js} +19 -19
  152. package/dist/assets/{StatementItem-BJJHaw9s-29L7-ckn.js → StatementItem-CX-Vb6Yv-CQSzimr4.js} +5 -5
  153. package/dist/assets/{StatementsPage-rFpr0w_W-DNXmI_WC.js → StatementsPage-DIhLk0I0-CJFVRHXq.js} +2 -2
  154. package/dist/assets/{StatusSwitcher-DnuyzbQo-zsneBA5e.js → StatusSwitcher-2x-HpawS-rvUjyTH4.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-Bk10VIFM-CrNC5Y_x.js → SubTabSwitcher-3gCHG_2e-kbyMAwsf.js} +1 -1
  156. package/dist/assets/{SummaryCard-CHqc9QHC-Yq25xivx.js → SummaryCard-DDFWzeCH-DDL0LPzG.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-Cr_KAM2z-B2jYjFSR.js → TaskManagementPage-D4PHLunD-tt5TJWu-.js} +7 -7
  158. package/dist/assets/{TimeRangeSwitcher-DkNMcmBm-BKKiSxbO.js → TimeRangeSwitcher-CY0nV1h--J209OFZR.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-CULpyCRj-B4sMqB1t.js → TimeframeSwitcher-ncxeqCrX-BswygR8z.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-BSx_ynUp-C4foPuxp.js → TimeframeSwitcherWithToggle-Ct5BEs_Q-BzganDVC.js} +4 -4
  161. package/dist/assets/{TopExCard-B29o-5e0-C1Xb1edv.js → TopExCard-COqnH-4I-BVvqNRP9.js} +3 -3
  162. package/dist/assets/{TopExDetailPage-TVxgKbn8-h1-M6BqE.js → TopExDetailPage-qgHjp5oB-CbVU9bNn.js} +15 -15
  163. package/dist/assets/{TransactionActivityLogPage-0wmqwFMQ-DpxBoViM.js → TransactionActivityLogPage-BcYHnlFq-GhckwPRW.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-B9pzvWO8-C4lfGaqD.js → TransactionDetailPage-BZU1QN3O-C4mwlffy.js} +1 -1
  165. package/dist/assets/TransactionList-AmUI5s8r-DfvxSOnm.js +153 -0
  166. package/dist/assets/{TransactionListBig-DMnQfRkS-20CPxACF.js → TransactionListBig-ByYlobcF-BhG5fg3c.js} +1 -1
  167. package/dist/assets/{TransactionListPage-BB452Nj4-Dgs9EM0f.js → TransactionListPage-BZtT0JVM-CMhzYu3G.js} +1 -1
  168. package/dist/assets/{TransactionVendorDetailPage-BCkXd3P2-Bl6s22Tw.js → TransactionVendorDetailPage-DVPBTIK5-B0IzCC6Z.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-6Rt1ZlJA-I2Skd8-A.js → TransferDrawerPage-CSHGPlKO-B6ir6T3C.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-CuSfgvcS-m6L9Jvdu.js → TreasuryOverviewPage-CWtloEcx-BI7fuqEe.js} +9 -9
  171. package/dist/assets/{TreasuryPromoPage-DUi2uBW8-B47B8ibo.js → TreasuryPromoPage-BkxayclQ-BD05BSZg.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-DNhwcfdJ-BaprS6U4.js → TreasuryStatementsPage-Bdo7eYMN-DYhvNV6I.js} +2 -2
  173. package/dist/assets/{TreasuryTaxLetterPage-BLIGs8oG-rs4DWgsu.js → TreasuryTaxLetterPage-C8ejdAk5-DByu-1LU.js} +2 -2
  174. package/dist/assets/{TrendChart-KoCvlYmC-C-jk3kXT.js → TrendChart-ZDj-xpm1-Jp3bnOcp.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-Vqr8x7E_-B9kpqnaG.js → TrendWithTransactions-qTLVjOfV-1Qq4W0Vf.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-BKdvN3Lh-DXsxrj_5.js → UncategorizedAccountsMappingPage-8Bzfc9-f-DSTdymGe.js} +5 -5
  177. package/dist/assets/{UnitIntegrationPage-CQ7270p--CQ6r0MVa.js → UnitIntegrationPage-B1S92bhM-YW7CpieK.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-CcH5BomT-DSbThaHM.js → UploadAdditionalDocumentOverlay-CBFoai8Q-D24u1z1-.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-DtT11B4h-CT6Xi_aF.js → Vendor2FAPopup-DAvl-0wR-CMmLV0gh.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-kezd7VIg-_33VYhc_.js +1 -0
  181. package/dist/assets/{VendorDetailPage-2rTQcqZl-BvHWS2Gn.js → VendorDetailPage-Cq0ifHHj-X3Tmeucn.js} +1 -1
  182. package/dist/assets/VendorDomesticWireDetailsPage-DYCckZ0--2FN3v_yv.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-Cgkipd6r-DlLW9ftw.js → VendorFiling1099EditablePage-DZ7w4hG9-0R5SyRKT.js} +32 -32
  184. package/dist/assets/{VendorFirstReviewPage-Va76j7QY-C_o-6JAB.js → VendorFirstReviewPage-DeTtH_3q-JOPrtxvQ.js} +16 -16
  185. package/dist/assets/{VendorInternationalWireDetailsPage-D0IeqYQZ-yCoXRdA4.js → VendorInternationalWireDetailsPage-oLPgqqXG-Cu-XiY9k.js} +1 -1
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-C25-dQzU-CfUQEHr0.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-CTmdfJi_-CxsrtQCW.js → VendorsAccountsSection-CjtV6vnA-EPohtHXT.js} +1 -1
  188. package/dist/assets/{VerifyDevice-DFCNFtDD-B2l_EHpD.js → VerifyDevice-BKlM_EIQ-eKiK1Vh6.js} +8 -8
  189. package/dist/assets/{VideoPlayer-CIr6pCWx-BlGxtEbt.js → VideoPlayer-Cd6Z-m3O-CXV5kTHF.js} +2 -2
  190. package/dist/assets/{VideoPopup-CoeVMP5D-CkEoZJPU.js → VideoPopup-hzeQU5PD-DzEhicyc.js} +3 -3
  191. package/dist/assets/{WarningsDrawerPage-CNBphx6e-uyGjzkS6.js → WarningsDrawerPage-Bj1rv5Lm-DhSYjNx8.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-ysMCIpFe-B_7tw6sp.js → ZeniAccountDetailPage-XEP8Ax1n-Bk0f_d4B.js} +9 -9
  193. package/dist/assets/{ZeniAccountListViewPage-DUalD7AP-5wUXGfcR.js → ZeniAccountListViewPage-BFBLw9LX-YV6uT0to.js} +15 -15
  194. package/dist/assets/{ZeniAccountNavBarPieces-B8jILUl8-BBizFg1k.js → ZeniAccountNavBarPieces-DeAJa-tc-B5jGlBA5.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-CUJm-42a-BQnYMroZ.js → ZeniAccountPromoPage-tOAp0Gpx-BKu4Kphu.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-BTurLFPN-ter0-uCW.js → ZeniAccountSetupPage-DMcEkRkC-C4uo8IPg.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-BTFZ48gh-w15_W74f.js → ZeniCopyright-DzbxtiXr-hH0_8XoH.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-f0nRZPzG-BLDyrypP.js → ZeniTransferAmountSlider-CjlubUnE-cQiE2SkE.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-D1teIsf6.js → add-to-wallet-DgdBD8_G-C2wVoVNZ.js} +1 -1
  200. package/dist/assets/{analytics-DvsRx7_o.js → analytics-6ukc1Do4.js} +1 -1
  201. package/dist/assets/{analyticsHelper-lunHUd8g-T6u0613Q.js → analyticsHelper--FI5ZNkP-C6nfDH6L.js} +1 -1
  202. package/dist/assets/{analyticsHelper-DeD9LR3c.js → analyticsHelper-Diz2KIDT.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-CIyEcJYf.js → arrow-south-east-round-PEovUgvH-BzdHTtYI.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-CtO92HdQ.js → auto-transfer-rule-mbafm5D3-DiSmmrWv.js} +1 -1
  205. package/dist/assets/{chartTypes-DESZubWD-J95DqIha.js → chartTypes-OhAs1JKI-bzHdDgZb.js} +1 -1
  206. package/dist/assets/{commonDimensions-Cpv8YIix-BXt5gzTm.js → commonDimensions-B2iVuJD5-CcSv5ZyJ.js} +1 -1
  207. package/dist/assets/{commonTypes-B1gKMzJK-DXXYZylr.js → commonTypes-cRbeH9rJ-Bb0mwy34.js} +1 -1
  208. package/dist/assets/{constants-B-YZmhKw.js → constants-DIDmrHxx.js} +1 -1
  209. package/dist/assets/{core-HDqpewC7.js → core-IgaX3lD-.js} +1 -1
  210. package/dist/assets/{dash.all.min-kOXiIFTN.js → dash.all.min-BZobhYiu.js} +1 -1
  211. package/dist/assets/{detailCommon-DyrMcL2E-Dkj1Ro3D.js → detailCommon-DHznXAh3-CiYpsfiB.js} +6 -6
  212. package/dist/assets/{downloadPdf-D2sIdMDR-CfGqGROi.js → downloadPdf-DCU64Gug-DSJFt5WV.js} +1 -1
  213. package/dist/assets/{empty-DfoIHPwJ.js → empty-7DTjA2wf.js} +1 -1
  214. package/dist/assets/{empty-Dx0imdfu.js → empty-C9jNhFru.js} +1 -1
  215. package/dist/assets/epic-CKkwCmL7.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-xM5zrgW4.js → gift-box-Cmt9OgIZ-CBOUr4XW.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-B9Rqv9_n.js → graphic-no-data-l-DU4J8fDt-DMvuiJwA.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DYb8EeBA.js → graphic-no-data-net-burn-l-CzmycA0m-CSiSDw7r.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-B6X0918N.js → handshake-BPg58FML-DarHJSr3.js} +1 -1
  220. package/dist/assets/{helper-i78O9ew8-C81IjMdE.js → helper-CCCOsTBK-Dcm9G4A9.js} +1 -1
  221. package/dist/assets/{index-DAitESaL.js → index-B4YQ83K3.js} +1 -1
  222. package/dist/assets/{index-BmIGxAWd.js → index-BGxoQ0u8.js} +1 -1
  223. package/dist/assets/{index-Depa7Syu.js → index-Btm2GEQg.js} +1 -1
  224. package/dist/assets/{index-Bdy6x472.js → index-CN1ccabn.js} +1 -1
  225. package/dist/assets/{index-BPv2nRQb.js → index-D-BANbLd.js} +1308 -1308
  226. package/dist/assets/{index-B7uDjLxh.js → index-Dmn-uHPz.js} +1 -1
  227. package/dist/assets/{index-D0CQgP0w.js → index-tky71xjr.js} +1 -1
  228. package/dist/assets/{lexical-CWcQ8pGO.js → lexical-BOeaRQ5K.js} +1 -1
  229. package/dist/assets/{liveblocks-Dv7Vdu8a.js → liveblocks-Db4nLOvA.js} +1 -1
  230. package/dist/assets/{lottie-V1lTNkDB.js → lottie-D0yKu2h3.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-COG82OfJ-CSZlHYMI.js → mapLoadingInProgressToTreeNode-CDOEagKG-Bt_n3HLB.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CjVZw324-gPmnB93g.js → mapSectionWithAcOnlyToTreeNode-Bacgq6px-DuzaQwsM.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-Cq9WPd-3-BYJOxkkl.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Bj3oqvNg-DZI1LYnG.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-C23h7gVe-DUIYJGbT.js +1 -0
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-40rewm2_-B5RLxn7A.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DoDPxRuC-BPkv0D6R.js} +1 -1
  237. package/dist/assets/{mui-DdxImnN0.js → mui-AW-QpJ2k.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-5PyHJMJh.js → page-detail-CWX5S47F-BA6JwERa.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-gr9HWaHB.js → panelSelectedMixin-Cddsb26L-DJsIAZn1.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-LTUMKU8Y.js → radio-default-CiSgisfh-CDrk92vz.js} +1 -1
  241. package/dist/assets/{react-DbLm8gms.js → react-B8x_i0jF.js} +1 -1
  242. package/dist/assets/{react-BNr0aXGm.js → react-BvaHfgqq.js} +1 -1
  243. package/dist/assets/{react-OxQ1eBeR.js → react-CLqhqUbJ.js} +1 -1
  244. package/dist/assets/{react-Cjks14mZ.js → react-CXJKef1G.js} +1 -1
  245. package/dist/assets/{react-omDkrKl-.js → react-D-FX3Miy.js} +2 -2
  246. package/dist/assets/{react-CUY5EDxC.js → react-DZazVKdi.js} +1 -1
  247. package/dist/assets/{react-DYqwvMeX.js → react-DfDeDzYP.js} +3 -3
  248. package/dist/assets/{react-pyJg34N2.js → react-DhnYk-ZG.js} +1 -1
  249. package/dist/assets/{recharts-Djp9a38d.js → recharts-DPPWeTqd.js} +1 -1
  250. package/dist/assets/{sentry-DBSEoG3b.js → sentry-OhwUF_66.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-BOPfGBnx.js → shield-DOlUxcFf-BUF5YtAM.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-BpgPOYod-D7bBPsum.js +1 -0
  253. package/dist/assets/toChartData-JpJ956nX-BgylJdL0.js +1 -0
  254. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-Dfva9HF2.js +1 -0
  255. package/dist/assets/{uploadAttachment-C3cElL9m-DY215Q-d.js → uploadAttachment-DicjfBYA-DrkICKBo.js} +1 -1
  256. package/dist/assets/{uploadReceipts-Dge0cNF1-C8hVDRbs.js → uploadReceipts-Dge0cNF1-DlcReZJ-.js} +1 -1
  257. package/dist/assets/{url-DITb-guK.js → url-B-9pHqAG.js} +1 -1
  258. package/dist/assets/{url-BmxmWAZl.js → url-BnMPYMYO.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-CaFh8omD.js → useLongPress-GCK2COYQ-CP00SKp4.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-CpqqX4MO.js → usp-line-BBd1wKwW-F_fmAFtY.js} +1 -1
  261. package/dist/assets/{utils-rIQAYtge.js → utils-Cv-cXrhn.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-1oOVJQJ4.js → zeni-epic-state-DR0XRPUQ.js} +34 -34
  263. package/dist/index.html +1 -1
  264. package/package.json +3 -3
  265. package/dist/assets/AccountInfoPage-BQksD-qN-B6B4Peyk.js +0 -18
  266. package/dist/assets/ApprovalRulesSettingsPage-CGO_GK8B-BhyryZtC.js +0 -47
  267. package/dist/assets/CustomerOnboardingContainerPage-Dm4ySQZZ-BHJNR9KJ.js +0 -1
  268. package/dist/assets/ExpenseAutomationPage-CYKu1ufk-BzTo68eE.js +0 -1803
  269. package/dist/assets/InvoiceUploadSection-BwqSfbYC-DSYQ6WXZ.js +0 -140
  270. package/dist/assets/MagicLinkACHDetailsPage-pyI_8fZk-3BHiRs6S.js +0 -1
  271. package/dist/assets/MagicLinkDomesticWireDetailsPage-leEpcwab-O5PQVsff.js +0 -1
  272. package/dist/assets/MagicLinkInternationalWireDetailsPage-CJRYlkvp-Ch9Obw_s.js +0 -1
  273. package/dist/assets/MailingDetailsSection-F1i0rBkv-84yBXYZi.js +0 -21
  274. package/dist/assets/ReimbursementDetailPage-D3qTbpPg-DWqpvN4c.js +0 -314
  275. package/dist/assets/SignInScreen-B6DcJ3oU.js +0 -1
  276. package/dist/assets/TransactionList-dUcT29oF-CywtUBOF.js +0 -153
  277. package/dist/assets/VendorACHDetailsPage-Cvek1Tr4-CzzV3ORJ.js +0 -1
  278. package/dist/assets/VendorDomesticWireDetailsPage-j-06hvAA-DPFaoVLs.js +0 -1
  279. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZusODVt-DtzcvocF.js +0 -1
  280. package/dist/assets/epic-BE_WS1px.js +0 -2
  281. package/dist/assets/mapSpacerToTreeNode-DZFRqtKk-CsPnOowL.js +0 -1
  282. package/dist/assets/mapTimeframeBalancesToTreeNode-Cm_MiRXt-CmRF5ht9.js +0 -1
  283. package/dist/assets/mapTimeframeBalancesToTreeNode-DnvhN4Go-qLT8aEp1.js +0 -1
  284. package/dist/assets/toCOABalancesWithID-DxETcMNK-Bj7EoGl7.js +0 -1
  285. package/dist/assets/toChartData-BQYX2C7n-Cm6krZ2M.js +0 -1
@@ -1,4 +1,4 @@
1
- import{y as _e,J as $e,aR as E,a9 as Oe,cH as Re,F as Ue,aW as K,V as t,ff as He,p as ze,ab as Le,x as u,bD as qe,k as Me,ad as Ne,fy as H,dR as Je,fz as Ge,bx as Ye,dH as Ze,bU as Ke,fA as Qe,aS as Xe,o as L,fB as et,u as a,am as tt,bL as it}from"./index-BPv2nRQb.js";import{a as m}from"./sentry-DBSEoG3b.js";import{n as b}from"./mui-DdxImnN0.js";import{bJ as nt}from"./zeni-epic-state-1oOVJQJ4.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-CcH5BomT-DSbThaHM.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="cb4495a9-1c7c-41ee-8c37-091c676294f3",e._sentryDebugIdIdentifier="sentry-dbid-cb4495a9-1c7c-41ee-8c37-091c676294f3")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},Q="billPaySetUpPage",D="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:q,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:xe,onCompanyOfficerUpdated:we,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=_e(),i=$e(),[A,S]=m.useState(!1),M=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:W,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:N}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:J,allApprovalRules:V,approvalRulesStatus:Ie}=v,_=W.link_account.updateStatus,$=W.update_account.updateStatus,B=E(f),G=E(P.fetchState),Y=E(_.fetchState),Z=E($.fetchState),x=Oe({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),A&&B==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,B]),m.useEffect(()=>{(B==="In-Progress"&&f==="Completed"||Y==="In-Progress"&&_.fetchState==="Completed"||Z==="In-Progress"&&$.fetchState==="Completed")&&x.reset(z(e))},[B,f,x,e,Y,_.fetchState,Z,$.fetchState]);const Ve=x.handleSubmit(w=>{y.trackEnableBillPay(),me()}),Be=async(w,F)=>{const o=F[D];if(w.includes(D)){if(w.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=N.find(U=>U.id===o.fundingAccount.selectedOption);g!=null&&pe(o.fundingAccount.selectedOption,g.accType)}}else if(o.account.selectedOption!=null&&d?.id!=null&&d?.zeniAccountId!=o.account.selectedOption){const g=o.account.allOptions.find(U=>U.value===o.account.selectedOption);g!=null&&typeof g.label=="string"&&y.trackConnectBankLink(g.value,g.label,"bill_pay"),fe(o.account.selectedOption,d.id,d.accType)}}};m.useEffect(()=>{const w=x.watch((F,{name:o})=>{o!=null&&F!=null&&Re(()=>Be(o,F))});return()=>{w.unsubscribe()}}),m.useEffect(()=>{G==="In-Progress"&&P.fetchState==="Completed"&&q()},[q,G,P.fetchState]);const{commonSetUp:je,spendManagement:Fe}=Ue.getLocalizedStrings(),{setUp:r}=je,{billPaySetup:l}=Fe.billPay,O=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),R=T?.isBillPayEnabled===!0,Ee=O?r.setupVerifiedSubTitle:l.setupSubTitle,De=f==="In-Progress"||f==="Not-Started"||J==="In-Progress"||J==="Not-Started",j=k.mode==="light"?new K(k.colors.brandColorJadeLight):new K(k.colors.brandColorJadeDark),We=()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:M,children:[t.jsx(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:P,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:xe,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:ve})}),t.jsx(qe,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:M,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ee}),De?t.jsx(rt,{children:t.jsx(Me,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Ne,{...x,children:t.jsx("form",{id:X(Q),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:We,title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Je,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Ge,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:N,plaidConnectionDetails:W,allBankAccounts:Ae,sectionId:D,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:V.length>0?Ie:void 0})]})})}),s===!0?t.jsx(H,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{I&&y.trackEnableIntlWire(ie),ye?.()},status:I?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Ke,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),O&&!R&&V.length>0?t.jsx(Xe,{formId:X(Q),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(et,{isFooterRendered:O&&!R,meetingUrl:C,analytics:y,productType:"bill_pay"})]})},at=b.div``,lt=b.div`
1
+ import{y as _e,J as $e,aR as E,a9 as Oe,cH as Re,F as Ue,aW as K,V as t,ff as He,p as ze,ab as Le,x as u,bD as qe,k as Me,ad as Ne,fy as H,dR as Je,fz as Ge,bx as Ye,dH as Ze,bU as Ke,fA as Qe,aS as Xe,o as L,fB as et,u as a,am as tt,bL as it}from"./index-D-BANbLd.js";import{a as m}from"./sentry-OhwUF_66.js";import{n as b}from"./mui-AW-QpJ2k.js";import{bJ as nt}from"./zeni-epic-state-DR0XRPUQ.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-CBFoai8Q-D24u1z1-.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="7d526c60-3cec-4ba4-a705-8d02afbc2e93",e._sentryDebugIdIdentifier="sentry-dbid-7d526c60-3cec-4ba4-a705-8d02afbc2e93")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},Q="billPaySetUpPage",D="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:q,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:xe,onCompanyOfficerUpdated:we,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=_e(),i=$e(),[A,S]=m.useState(!1),M=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:W,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:N}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:J,allApprovalRules:V,approvalRulesStatus:Ie}=v,_=W.link_account.updateStatus,$=W.update_account.updateStatus,B=E(f),G=E(P.fetchState),Y=E(_.fetchState),Z=E($.fetchState),x=Oe({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),A&&B==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,B]),m.useEffect(()=>{(B==="In-Progress"&&f==="Completed"||Y==="In-Progress"&&_.fetchState==="Completed"||Z==="In-Progress"&&$.fetchState==="Completed")&&x.reset(z(e))},[B,f,x,e,Y,_.fetchState,Z,$.fetchState]);const Ve=x.handleSubmit(w=>{y.trackEnableBillPay(),me()}),Be=async(w,F)=>{const o=F[D];if(w.includes(D)){if(w.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=N.find(U=>U.id===o.fundingAccount.selectedOption);g!=null&&pe(o.fundingAccount.selectedOption,g.accType)}}else if(o.account.selectedOption!=null&&d?.id!=null&&d?.zeniAccountId!=o.account.selectedOption){const g=o.account.allOptions.find(U=>U.value===o.account.selectedOption);g!=null&&typeof g.label=="string"&&y.trackConnectBankLink(g.value,g.label,"bill_pay"),fe(o.account.selectedOption,d.id,d.accType)}}};m.useEffect(()=>{const w=x.watch((F,{name:o})=>{o!=null&&F!=null&&Re(()=>Be(o,F))});return()=>{w.unsubscribe()}}),m.useEffect(()=>{G==="In-Progress"&&P.fetchState==="Completed"&&q()},[q,G,P.fetchState]);const{commonSetUp:je,spendManagement:Fe}=Ue.getLocalizedStrings(),{setUp:r}=je,{billPaySetup:l}=Fe.billPay,O=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),R=T?.isBillPayEnabled===!0,Ee=O?r.setupVerifiedSubTitle:l.setupSubTitle,De=f==="In-Progress"||f==="Not-Started"||J==="In-Progress"||J==="Not-Started",j=k.mode==="light"?new K(k.colors.brandColorJadeLight):new K(k.colors.brandColorJadeDark),We=()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:M,children:[t.jsx(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:P,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:xe,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:ve})}),t.jsx(qe,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:M,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ee}),De?t.jsx(rt,{children:t.jsx(Me,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Ne,{...x,children:t.jsx("form",{id:X(Q),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:We,title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Je,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Ge,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:N,plaidConnectionDetails:W,allBankAccounts:Ae,sectionId:D,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:V.length>0?Ie:void 0})]})})}),s===!0?t.jsx(H,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{I&&y.trackEnableIntlWire(ie),ye?.()},status:I?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Ke,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),O&&!R&&V.length>0?t.jsx(Xe,{formId:X(Q),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(et,{isFooterRendered:O&&!R,meetingUrl:C,analytics:y,productType:"bill_pay"})]})},at=b.div``,lt=b.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{y as we,J as be,a9 as xe,cH as Pe,aW as j,F as Ce,V as t,x as P,bD as Ie,k as Ae,ad as ve,bx as ke,cI as je,aS as $e,o as s,hP as Te,f1 as De,f2 as Ve,u as C,am as Be,gY as Ee,p as ze,H as Le}from"./index-BPv2nRQb.js";import{a as H}from"./sentry-DBSEoG3b.js";import{n as r}from"./mui-DdxImnN0.js";import{M as Oe,o as W,t as Me}from"./PaymentAccountSetupBillingAddressSection-B2xEqKKc-CBFbBa1P.js";import{F as _e}from"./SetUpAccountSection-n5OCUAL3-BCPO4UYh.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./commonTypes-B1gKMzJK-DXXYZylr.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]="49ad59fe-3f65-4416-8adf-8f02afca6882",e._sentryDebugIdIdentifier="sentry-dbid-49ad59fe-3f65-4416-8adf-8f02afca6882")}catch{}})();const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,C[5],C[5]),iconWidthHeight:new P(20,C[4]),subTitlePaddingTop:new P(12,C[3])},He={title:new Le("standardSemiBold","largeSemiBold")},F="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:J,stripeKey:K,googleAPIKey:N,companyId:q,onUpdateAccountClick:G,onFetchLinkTokenClick:Y,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Z,onEstablishConnectionClick:X,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const b=we(),o=be(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:T},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,D=y?.providerVerificationStatus,ue=T.fetchState==="In-Progress"||T.fetchState==="Not-Started",f=xe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:R(i),values:R(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(q)}),V=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:w}=a[n].street,k=De(w?.country);u={street:a[n].street??l.strings.empty,city:w?.locality??l.strings.empty,state:w?.administrativeAreaLevel1??l.strings.empty,country:k,countryCode:w?.countryCode??l.strings.empty,postalCode:w?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==k.selectedOption&&(u={...u,country:k})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ve(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&G(g.account.selectedOption,y.paymentAccountId)};H.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Pe(()=>me(g,a))});return()=>{c.unsubscribe()}});const B=b.mode==="light"?new j(b.colors.brandColorJadeLight):new j(b.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:E}=Ce.getLocalizedStrings(),ge=E.section.subTitle,{text:ye,subText:fe}=he,z=h.cardsList.length>0,L=h?.cardsList[0]?.brand??"other",O=h?.addCardPaymentSourceStatus.fetchState,x=Oe(S.header,S.titleText,S.protectedCardNo,h);let M;z&&(M={header:x.header,title:x.title,subtitle:x.subtitle,status:x.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:z===!0,icon:{element:t.jsx("img",{src:W(L).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:W(L).name}),color:new j(B)},showCompletedIcon:!1,isError:O==="Error",isLoading:O==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=H.useState(!1);return t.jsxs(Fe,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:E.section.title,backgroundColor:b.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(We,{windowSize:o,children:[t.jsx(Re,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Ge,{children:t.jsx("form",{id:U(F),onSubmit:pe,children:t.jsxs(Je,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:d,onFetchLinkTokenClick:Y,onEstablishConnectionClick:X,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Z,onEstablishConnectionSuccess:ee,isError:D?.code==="require_info"||D?.code==="failed",icon:{element:t.jsx(ke,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:B},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ke(o,l.headers.billingAddress,ce,N,d)]})})})}),je(f.formState.dirtyFields)?t.jsx($e,{formId:U(F),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:V?.fetchState==="In-Progress",isDisabled:V?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:J.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},R=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:Te(n,e.subscriptionBillingAddress)[n]}},We=r.div`
1
+ import{y as Se,J as we,a9 as xe,cH as Pe,aW as j,F as Ce,V as t,x as P,bD as Ie,k as Ae,ad as ve,bx as ke,cI as je,aS as $e,o as s,hP as Te,f1 as De,f2 as Ve,u as C,am as Be,gY as Ee,p as ze,H as Le}from"./index-D-BANbLd.js";import{a as H}from"./sentry-OhwUF_66.js";import{n as r}from"./mui-AW-QpJ2k.js";import{M as Oe,o as W,t as Me}from"./PaymentAccountSetupBillingAddressSection-CrOLi3CM-uLcqJFNN.js";import{F as _e}from"./SetUpAccountSection-CF5-adzX-dA8yacgy.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./commonTypes-cRbeH9rJ-Bb0mwy34.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]="ed8c6b8c-63b9-4bb9-ba49-ce0db8ebf4fd",e._sentryDebugIdIdentifier="sentry-dbid-ed8c6b8c-63b9-4bb9-ba49-ce0db8ebf4fd")}catch{}})();const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,C[5],C[5]),iconWidthHeight:new P(20,C[4]),subTitlePaddingTop:new P(12,C[3])},He={title:new Le("standardSemiBold","largeSemiBold")},F="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:J,stripeKey:K,googleAPIKey:N,companyId:q,onUpdateAccountClick:G,onFetchLinkTokenClick:Y,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Z,onEstablishConnectionClick:X,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const w=Se(),o=we(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:T},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,D=y?.providerVerificationStatus,ue=T.fetchState==="In-Progress"||T.fetchState==="Not-Started",f=xe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:R(i),values:R(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(q)}),V=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:S}=a[n].street,k=De(S?.country);u={street:a[n].street??l.strings.empty,city:S?.locality??l.strings.empty,state:S?.administrativeAreaLevel1??l.strings.empty,country:k,countryCode:S?.countryCode??l.strings.empty,postalCode:S?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==k.selectedOption&&(u={...u,country:k})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ve(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&G(g.account.selectedOption,y.paymentAccountId)};H.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Pe(()=>me(g,a))});return()=>{c.unsubscribe()}});const B=w.mode==="light"?new j(w.colors.brandColorJadeLight):new j(w.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:b}},common:l,billingSetupPage:E}=Ce.getLocalizedStrings(),ge=E.section.subTitle,{text:ye,subText:fe}=he,z=h.cardsList.length>0,L=h?.cardsList[0]?.brand??"other",O=h?.addCardPaymentSourceStatus.fetchState,x=Oe(b.header,b.titleText,b.protectedCardNo,h);let M;z&&(M={header:x.header,title:x.title,subtitle:x.subtitle,status:x.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:z===!0,icon:{element:t.jsx("img",{src:W(L).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:W(L).name}),color:new j(B)},showCompletedIcon:!1,isError:O==="Error",isLoading:O==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,be]=H.useState(!1);return t.jsxs(Fe,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:E.section.title,backgroundColor:w.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(We,{windowSize:o,children:[t.jsx(Re,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Ge,{children:t.jsx("form",{id:U(F),onSubmit:pe,children:t.jsxs(Je,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:b.header,sectionTitle:b.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:d,onFetchLinkTokenClick:Y,onEstablishConnectionClick:X,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Z,onEstablishConnectionSuccess:ee,isError:D?.code==="require_info"||D?.code==="failed",icon:{element:t.jsx(ke,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:B},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ke(o,l.headers.billingAddress,ce,N,d)]})})})}),je(f.formState.dirtyFields)?t.jsx($e,{formId:U(F),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:V?.fetchState==="In-Progress",isDisabled:V?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:J.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:_,setCardSetupInProgress:be})]})},R=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:Te(n,e.subscriptionBillingAddress)[n]}},We=r.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  height: 100%;
@@ -1 +1 @@
1
- import{V as v,cr as V,cs as M,ct as W,kb as Z,aZ as q,F as z}from"./index-BPv2nRQb.js";import{a as f}from"./sentry-DBSEoG3b.js";import{Gp as G}from"./zeni-epic-state-1oOVJQJ4.js";import{u as K}from"./ReviewOverlay-DOqgOSnM-uwLvPYee.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./mui-DdxImnN0.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="d1bdfa98-1329-4ef5-ae85-75b24b0ebb24",e._sentryDebugIdIdentifier="sentry-dbid-d1bdfa98-1329-4ef5-ae85-75b24b0ebb24")}catch{}})();const{common:s,spendManagement:{billPay:I}}=z.getLocalizedStrings(),o=I.bulkActions;let x;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:_}=e,u=i==="review",[C,w]=f.useState(!1),[n,b]=f.useState(T(e,u)),[p,k]=f.useState(u),[B,E]=f.useState(0),[y,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(x=setInterval(()=>{b(d=>d.map((S,O)=>(clearInterval(x),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),B===n.length&&p&&(k(!1),clearInterval(x)),!u&&e.fetchState==="Completed"&&b(T(e,!1)),()=>{clearInterval(x)}),[n.length,B,p,e.fetchState,u,e]);const R=n.length,h=n.filter(d=>d.reviewStatus.code!=="error").length,A=()=>{const{title:d,description:S}=Y(h);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,g,_),w(!0)},D={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,_,X(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:F,description:N}=H(m,h,R,p),P=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,g,_),l(i)},U={label:P?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:P?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={label:i==="send_for_approval"?s.texts.goBack:s.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:A,style:i==="approve"?{minWidth:"92px"}:{}};return v.jsxs(v.Fragment,{children:[C?v.jsx(V,{titleComponent:v.jsx(W,{children:y.title}),descriptionComponent:v.jsx(M,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:D,isNotesIncluded:!0,isEditPopup:!0}):null,v.jsx(K,{title:F,description:{content:N,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:L,hideCancel:P}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:I.billDetails.newBillTitle,subTitle:`${I.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:q("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&G(t.reviewErrors[0].reviewErrorCode),subTitle:J(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},X=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=Z([...l,t.isRecurring?"recurring":"one-time"])}),l},Y=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},H=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:_,do_:u,does:C}=s.texts,w=r>1,n=l>1;let b="",p="";return e==="Completed"&&!t?(b=o.reviewPage.billsReviewed.title.replace("<_bill_>",n?I.bulkActions.bills:o.bill).replace("<_has_>",n?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?u:C):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?g:_)}`):(b=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:b,description:p}},J=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,X as getBillsUniqueType};
1
+ import{V as b,cr as V,cs as M,ct as W,kb as Z,aZ as q,F as z}from"./index-D-BANbLd.js";import{a as f}from"./sentry-OhwUF_66.js";import{H4 as H}from"./zeni-epic-state-DR0XRPUQ.js";import{u as K}from"./ReviewOverlay-abE-6rKm-CJgH1hlM.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./mui-AW-QpJ2k.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="f62b57d8-a1e5-4e01-ad8e-57354cb7ee3f",e._sentryDebugIdIdentifier="sentry-dbid-f62b57d8-a1e5-4e01-ad8e-57354cb7ee3f")}catch{}})();const{common:s,spendManagement:{billPay:I}}=z.getLocalizedStrings(),o=I.bulkActions;let x;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:_}=e,u=i==="review",[C,w]=f.useState(!1),[n,v]=f.useState(T(e,u)),[p,k]=f.useState(u),[B,E]=f.useState(0),[y,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(x),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),B===n.length&&p&&(k(!1),clearInterval(x)),!u&&e.fetchState==="Completed"&&v(T(e,!1)),()=>{clearInterval(x)}),[n.length,B,p,e.fetchState,u,e]);const R=n.length,h=n.filter(d=>d.reviewStatus.code!=="error").length,A=()=>{const{title:d,description:S}=Y(h);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,g,_),w(!0)},D={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,_,X(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:F,description:N}=G(m,h,R,p),P=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,g,_),l(i)},U={label:P?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:P?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={label:i==="send_for_approval"?s.texts.goBack:s.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[C?b.jsx(V,{titleComponent:b.jsx(W,{children:y.title}),descriptionComponent:b.jsx(M,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:D,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(K,{title:F,description:{content:N,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:L,hideCancel:P}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:I.billDetails.newBillTitle,subTitle:`${I.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:q("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&H(t.reviewErrors[0].reviewErrorCode),subTitle:J(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},X=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=Z([...l,t.isRecurring?"recurring":"one-time"])}),l},Y=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},G=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:_,do_:u,does:C}=s.texts,w=r>1,n=l>1;let v="",p="";return e==="Completed"&&!t?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",n?I.bulkActions.bills:o.bill).replace("<_has_>",n?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?u:C):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?g:_)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:v,description:p}},J=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,X as getBillsUniqueType};
@@ -1,4 +1,4 @@
1
- import{J as l,V as s,ab as b,o as e}from"./index-BPv2nRQb.js";import{n as a}from"./mui-DdxImnN0.js";import{o as p}from"./commonDimensions-Cpv8YIix-BXt5gzTm.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="b76a6ae3-290b-4f0a-8238-37778ebbe4dc",o._sentryDebugIdIdentifier="sentry-dbid-b76a6ae3-290b-4f0a-8238-37778ebbe4dc")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=l();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const n=a.div`
1
+ import{J as l,V as s,ab as b,o as e}from"./index-D-BANbLd.js";import{n as a}from"./mui-AW-QpJ2k.js";import{o as p}from"./commonDimensions-B2iVuJD5-CcSv5ZyJ.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="6804a33c-3d38-48f7-88b1-70abce6ef241",o._sentryDebugIdIdentifier="sentry-dbid-6804a33c-3d38-48f7-88b1-70abce6ef241")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=l();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const n=a.div`
2
2
  box-sizing: border-box;
3
3
  cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
4
4
  min-height: ${o=>p.transactionItemHeightResponsive.valuePx(o.windowSize)};
@@ -1,11 +1,11 @@
1
- import{y as dt,J as ut,aR as Te,V as a,af as G,a9 as pt,cX as mt,az as ft,cH as yt,aZ as ve,aQ as Oe,ge as ht,i as gt,bD as xt,ab as St,cI as wt,cr as Ct,cs as bt,ct as Dt,k as Tt,ad as vt,aS as Ot,o as l,x as F,an as Ve,F as je,gf as It,fC as Ie,f1 as Nt,R as $t,b as kt,am as Ae,H as Pt,a as Ft,u as N}from"./index-BPv2nRQb.js";import{a as V}from"./sentry-DBSEoG3b.js";import{n as d}from"./mui-DdxImnN0.js";import{ET as Vt,bi as Y,Fo as jt,Fn as At,Fp as _t}from"./zeni-epic-state-1oOVJQJ4.js";import{r as Lt,z as Bt}from"./CompanyOfficerDetailsSection-Pwtunf36-wXG4kPwP.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./helper-i78O9ew8-C81IjMdE.js";import"./LabeledAddressValueField-BppwMtJ1-T6lPuNrW.js";import"./LabeledCountryMultiSelectField-DrZ69tWB-CbkU60Cq.js";import"./LabeledCreatableSingleSelectField-D-rSPg1Y-BEoWM6os.js";import"./LabeledDocumentField-CBQeAeRc-CsNYjjwd.js";import"./commonTypes-B1gKMzJK-DXXYZylr.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="d74385eb-7457-40ad-8641-fae6231171b5",t._sentryDebugIdIdentifier="sentry-dbid-d74385eb-7457-40ad-8641-fae6231171b5")}catch{}})();const x={width:new F(343,580,726),titleWidth:new F(343,580,726,826),subTitlePaddingTop:new F(12,N[3]),subTitlePaddingBottom:new F(N[3],N[3]),verificationDetailsRowGap:new F(12,N[5],N[5]),termsPaddingLeftRight:new F(N[0],N[3])},zt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",D="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Et,currency:$e,footer:ke,strings:{empty:Rt}}}=je.getLocalizedStrings(),va=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:$,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:B,productType:y,allIndustries:j,companyTitles:z,maxInsuredAmount:m,isDisabled:k,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:Z=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:A,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:oe,onSaveDetailsClick:Ge,onClickMenuIcon:Ye,onExecuteTreasuryTransfer:Ze})=>{const qe=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:r,companyOfficerLocalData:C}=t,He=Te(R.fetchState),U=_?.company.company.featuresActivationInfo.connectedAccountProvider,Je=U==="unit"?a.jsxs(Jt,{children:[s.terms.term1,a.jsx(G,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(G,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(G,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(G,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ke,q]=V.useState(!1),[M,re]=V.useState("save"),[H,Qe]=V.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Ut(t,j,z,S)}),{isValid:Xe}=p.formState,W=_?.company.company.companyBillPayInfo,J=_?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?J?.companyVerificationStatus:W?.companyVerificationStatus,v=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${v<0?1:v+1}`,et=()=>{const e=C[O],n=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,b=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?Y(fe):void 0,he=r?.companyDescription,X=r?.companyLegalName,ge=r?.companyIndustry,xe=r?.phone,Se=r?.website,we=r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0,ee=r?.primaryContactLocalData,Ce=ee?.firstName,be=ee?.lastName,De=ee?.email;n!=null&&f!=null&&b!=null&&I!=null&&c!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&X!=null&&xe!=null&&Se!=null&&ge!=null&&X!=null&&we!=null&&Ce!=null&&be!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:X,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:be,email:De},y,o?"Settings":void 0)},tt=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,b=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${T}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):b&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&p.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||K!=null&&K?.length>0)return p.trigger(`${T}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(M!=="verification"&&re("verification"),U==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${T}.${v}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(r?.deleteFileStatusById??{}).filter(c=>c!=null);Vt(e.concat(n)).fetchState!=="In-Progress"&&Xe&&(et(),Re?.(O),Z===!0&&Ze?.())}),st=async(e,n)=>{e.includes(D)?Ue?.(n[D]):e.includes(T)&&We?.(n[T])},nt=V.useCallback(ft((e,n)=>{st(e,n)},300),[]);V.useEffect(()=>{const e=p.watch((n,{name:c})=>{c!=null&&n!=null&&yt(()=>nt(c,n))});return()=>{e.unsubscribe()}});const le=Te(t.companyDetailsLocalData?.addressStatus);V.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${D}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,oe,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),ot=ce?.map(e=>e.role),rt={onOkClick:()=>{q(!1),A();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||e.push(c)}),ot?.forEach((c,f)=>{const b=c?.fileIds??[];p.getValues(`${T}.${f}.fileIds`).forEach(I=>{b.includes(I)||e.push(I)})}),e.length!==0&&Me?.(e)},onCancelClick:()=>{q(!1)}},lt=ve(Oe(m),m,$e.currencySymbol).toUpperCase(),Q=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(y==="zeni_treasury"&&P?.code==="pending_review"&&He==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:Z===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:Z===!0?s.submittedDescriptionWithTransfer.replace("__amount__",ve(Oe(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]});const ct=()=>{const e=W?.companyVerificationStatus?.code==="verified",n=(r?.countriesOfOperations?.length??0)>0||r?.companySourceOfFunds!=null||r?.transactionVolume!=null||r?.purposeOfAccount!=null||r?.registeredAddressStatus!=null||r?.usNexus!=null;return e===!0&&n===!1};return a.jsxs(Mt,{isSettings:o,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:qe.colors.grey5,style:{zIndex:H?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?q(!0):A()},showBackButton:!o&&!h,showMenuIcon:o?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ye,rightSideComponent:h?a.jsx(oa,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(Dt,{children:s.discardTitle}),descriptionComponent:a.jsx(bt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:rt}):null,a.jsxs(Yt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Gt,{windowSize:u,children:o?Et.infoText.businessVerification:s.title}),$==="In-Progress"||$==="Not-Started"?a.jsx(Zt,{children:a.jsx(Tt,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Wt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Qt,{windowSize:u,children:Q?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!Q&&a.jsx(Xt,{children:a.jsxs(ea,{children:[a.jsx(Fe,{}),de&&a.jsx(Fe,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:Q,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(qt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:T,isRefreshingViewInBackground:L,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:k,filesEndPoint:i,authParams:B,isPopupOpen:H,openPopup:Qe,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Bt,{companyDetails:r,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":k,fileProps:{authParams:B,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:U,allIndustries:j,allNationalityCountries:S})]}),y==="zeni_accounts"?a.jsx(Ht,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(y==="zeni_treasury"?J?.companyVerificationStatus?.code!=="pending_review"&&J?.companyVerificationStatus?.code!=="verified":W?.businessVerificationStatus?.code!=="pending_review"&&W?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?ke.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ke.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const e=C[O],n=r?.primaryContactLocalData;M!=="save"&&re("save");const c=e?.email??"",f=tt(),b=at();f&&b&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?Y(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:r?.companyDescription,legalName:r?.companyLegalName,phone:r?.phone,website:r?.website?.toString(),industry:r?.companyIndustry??"",formattedAddress:r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),Ge?.(O))}}},helperText:Je,style:{padding:`12px ${l.sp3}`,zIndex:H?0:4}}):null]})},Ut=(t,S,$,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:B,companyView:y}=t,j=je.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(m=>m.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:j.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:j.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...At]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...jt]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[T]:Object.values(B).map((m,k)=>{const o=m,h=It(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${k+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:Nt(o?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:o?.phone??"",ownership:o?.ownershipInCompany,officerAddress:o?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,o?.userFiles??[],h),back:Ie(!1,o?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&k===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},Pe=t=>`${t}_form`,Mt=d.div`
1
+ import{y as dt,J as ut,aR as Te,V as a,af as W,a9 as pt,cX as mt,az as ft,cH as yt,aZ as ve,aQ as Oe,ge as ht,i as gt,bD as xt,ab as St,cI as wt,cr as Ct,cs as bt,ct as Dt,k as Tt,ad as vt,aS as Ot,o as l,x as V,an as Fe,F as je,gf as It,fC as Ie,f1 as Nt,R as $t,b as kt,am as Ae,H as Pt,a as Vt,u as N}from"./index-D-BANbLd.js";import{a as F}from"./sentry-OhwUF_66.js";import{n as d}from"./mui-AW-QpJ2k.js";import{Fy as Ft,bi as Y,G3 as jt,G2 as At,G4 as _t}from"./zeni-epic-state-DR0XRPUQ.js";import{r as Lt,z as Bt}from"./CompanyOfficerDetailsSection-BaDN_HWQ-Df10Iqha.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./helper-CCCOsTBK-Dcm9G4A9.js";import"./LabeledAddressValueField-CGnp-ruv-DcIYlcxL.js";import"./LabeledCountryMultiSelectField-H2s6dgDh-Bk8gsi9y.js";import"./LabeledCreatableSingleSelectField-DcMbc854-D5zvfJ8D.js";import"./LabeledDocumentField-sF7Zoa0k-CZ654oCL.js";import"./commonTypes-cRbeH9rJ-Bb0mwy34.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="ab3f9178-041a-4a61-9612-eb2015ea3cf8",t._sentryDebugIdIdentifier="sentry-dbid-ab3f9178-041a-4a61-9612-eb2015ea3cf8")}catch{}})();const x={width:new V(343,580,726),titleWidth:new V(343,580,726,826),subTitlePaddingTop:new V(12,N[3]),subTitlePaddingBottom:new V(N[3],N[3]),verificationDetailsRowGap:new V(12,N[5],N[5]),termsPaddingLeftRight:new V(N[0],N[3])},zt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",D="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Et,currency:$e,footer:ke,strings:{empty:Rt}}}=je.getLocalizedStrings(),va=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:$,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:B,productType:y,allIndustries:j,companyTitles:z,maxInsuredAmount:m,isDisabled:k,isSettings:r=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:Z=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:A,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:Ge,saveNewAddressInLocalStore:re,onSaveDetailsClick:We,onClickMenuIcon:Ye,onExecuteTreasuryTransfer:Ze})=>{const qe=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:o,companyOfficerLocalData:C}=t,He=Te(R.fetchState),U=_?.company.company.featuresActivationInfo.connectedAccountProvider,Je=U==="unit"?a.jsxs(Jt,{children:[s.terms.term1,a.jsx(W,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(W,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(W,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(W,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ke,q]=F.useState(!1),[M,oe]=F.useState("save"),[H,Qe]=F.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Ut(t,j,z,S)}),{isValid:Xe}=p.formState,G=_?.company.company.companyBillPayInfo,J=_?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?J?.companyVerificationStatus:G?.companyVerificationStatus,v=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${v<0?1:v+1}`,et=()=>{const e=C[O],n=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,b=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?Y(fe):void 0,he=o?.companyDescription,X=o?.companyLegalName,ge=o?.companyIndustry,xe=o?.phone,Se=o?.website,we=o?.addressStatus?.addressToCreate!=null?Y(o?.addressStatus?.addressToCreate):void 0,ee=o?.primaryContactLocalData,Ce=ee?.firstName,be=ee?.lastName,De=ee?.email;n!=null&&f!=null&&b!=null&&I!=null&&c!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&X!=null&&xe!=null&&Se!=null&&ge!=null&&X!=null&&we!=null&&Ce!=null&&be!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:X,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:be,email:De},y,r?"Settings":void 0)},tt=()=>{const e=C[O],n=o?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,b=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${T}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):b&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=o?.primaryContactLocalData,c=e?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&p.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||K!=null&&K?.length>0)return p.trigger(`${T}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(M!=="verification"&&oe("verification"),U==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${T}.${v}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(o?.deleteFileStatusById??{}).filter(c=>c!=null);Ft(e.concat(n)).fetchState!=="In-Progress"&&Xe&&(et(),Re?.(O),Z===!0&&Ze?.())}),st=async(e,n)=>{e.includes(D)?Ue?.(n[D]):e.includes(T)&&Ge?.(n[T])},nt=F.useCallback(ft((e,n)=>{st(e,n)},300),[]);F.useEffect(()=>{const e=p.watch((n,{name:c})=>{c!=null&&n!=null&&yt(()=>nt(c,n))});return()=>{e.unsubscribe()}});const le=Te(t.companyDetailsLocalData?.addressStatus);F.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(re?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${D}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,re,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),rt=ce?.map(e=>e.role),ot={onOkClick:()=>{q(!1),A();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||e.push(c)}),rt?.forEach((c,f)=>{const b=c?.fileIds??[];p.getValues(`${T}.${f}.fileIds`).forEach(I=>{b.includes(I)||e.push(I)})}),e.length!==0&&Me?.(e)},onCancelClick:()=>{q(!1)}},lt=ve(Oe(m),m,$e.currencySymbol).toUpperCase(),Q=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(y==="zeni_treasury"&&P?.code==="pending_review"&&He==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:Z===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:Z===!0?s.submittedDescriptionWithTransfer.replace("__amount__",ve(Oe(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]});const ct=()=>{const e=G?.companyVerificationStatus?.code==="verified",n=(o?.countriesOfOperations?.length??0)>0||o?.companySourceOfFunds!=null||o?.transactionVolume!=null||o?.purposeOfAccount!=null||o?.registeredAddressStatus!=null||o?.usNexus!=null;return e===!0&&n===!1};return a.jsxs(Mt,{isSettings:r,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:qe.colors.grey5,style:{zIndex:H?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?q(!0):A()},showBackButton:!r&&!h,showMenuIcon:r?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ye,rightSideComponent:h?a.jsx(ra,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(Dt,{children:s.discardTitle}),descriptionComponent:a.jsx(bt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:ot}):null,a.jsxs(Yt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Wt,{windowSize:u,children:r?Et.infoText.businessVerification:s.title}),$==="In-Progress"||$==="Not-Started"?a.jsx(Zt,{children:a.jsx(Tt,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Gt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Qt,{windowSize:u,children:Q?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!Q&&a.jsx(Xt,{children:a.jsxs(ea,{children:[a.jsx(Ve,{}),de&&a.jsx(Ve,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:Q,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(qt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:T,isRefreshingViewInBackground:L,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:k,filesEndPoint:i,authParams:B,isPopupOpen:H,openPopup:Qe,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Bt,{companyDetails:o,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":k,fileProps:{authParams:B,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:U,allIndustries:j,allNationalityCountries:S})]}),y==="zeni_accounts"?a.jsx(Ht,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(y==="zeni_treasury"?J?.companyVerificationStatus?.code!=="pending_review"&&J?.companyVerificationStatus?.code!=="verified":G?.businessVerificationStatus?.code!=="pending_review"&&G?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?ke.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ke.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const e=C[O],n=o?.primaryContactLocalData;M!=="save"&&oe("save");const c=e?.email??"",f=tt(),b=at();f&&b&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?Y(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:o?.companyDescription,legalName:o?.companyLegalName,phone:o?.phone,website:o?.website?.toString(),industry:o?.companyIndustry??"",formattedAddress:o?.addressStatus?.addressToCreate!=null?Y(o?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,r?"Settings":void 0),We?.(O))}}},helperText:Je,style:{padding:`12px ${l.sp3}`,zIndex:H?0:4}}):null]})},Ut=(t,S,$,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:B,companyView:y}=t,j=je.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(m=>m.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:j.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:j.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...At]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...jt]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[T]:Object.values(B).map((m,k)=>{const r=m,h=It(r?.documentTypeSelectedForVerification);return{userId:r?.userId,officerType:r?.officerType??`Officer_${k+1}`,name:{firstName:r?.firstName,lastName:r?.lastName},email:r?.email,fileIds:r?.fileIds??[],dob:r?.birthday?.toDate(),nationalityCountryCode:Nt(r?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:r?.ssn,role:{selectedOption:r?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:r?.phone??"",ownership:r?.ownershipInCompany,officerAddress:r?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,r?.userFiles??[],h),back:Ie(!1,r?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&k===0?!0:r?.isSelectedForVerification??!1,userVerificationStatus:r?.userVerificationStatus,treasuryUserVerificationStatus:r?.treasuryUserVerificationStatus,syncToken:r?.syncToken,isPhoneVerified:r?.isPhoneVerified,otpChallenge:r?.otpChallenge}})}},Pe=t=>`${t}_form`,Mt=d.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
5
5
  width: 100%;
6
6
  row-gap: ${l.sp3};
7
7
  background-color: ${t=>t.isSettings?"unset":t.theme.colors.grey5};
8
- `,Wt=d.div`
8
+ `,Gt=d.div`
9
9
  display: flex;
10
10
  flex-direction: column;
11
11
  align-items: flex-start;
@@ -13,7 +13,7 @@ import{y as dt,J as ut,aR as Te,V as a,af as G,a9 as pt,cX as mt,az as ft,cH as
13
13
  gap: ${l.sp1};
14
14
  width: 100%;
15
15
  padding-bottom: ${l.sp3};
16
- `,Gt=d(Ae)`
16
+ `,Wt=d(Ae)`
17
17
  color: ${t=>t.theme.colors.hero};
18
18
  display: flex;
19
19
  justify-content: center;
@@ -42,13 +42,13 @@ import{y as dt,J as ut,aR as Te,V as a,af as G,a9 as pt,cX as mt,az as ft,cH as
42
42
  display: flex;
43
43
  flex-direction: column;
44
44
  row-gap: ${l.sp11};
45
- `,Ht=d(Ve)`
45
+ `,Ht=d(Fe)`
46
46
  margin-top: ${l.sp2};
47
47
  padding: ${l.sp2} ${l.sp2};
48
48
  text-align: center;
49
49
  color: ${t=>t.theme.colors.grey1};
50
50
  width: ${t=>x.width.valuePx(t.windowSize)};
51
- `,Jt=d(Ve)`
51
+ `,Jt=d(Fe)`
52
52
  text-align: center;
53
53
  max-width: 750px;
54
54
  color: ${t=>t.theme.colors.hero};
@@ -57,7 +57,7 @@ import{y as dt,J as ut,aR as Te,V as a,af as G,a9 as pt,cX as mt,az as ft,cH as
57
57
  flex-direction: column;
58
58
  gap: ${l.sp3};
59
59
  width: 100%;
60
- `,Qt=d(Ft)`
60
+ `,Qt=d(Vt)`
61
61
  ${t=>`${zt.stepTitle.style(t.windowSize)}`};
62
62
  color: ${t=>t.theme.colors.primary};
63
63
  text-align: left;
@@ -70,7 +70,7 @@ import{y as dt,J as ut,aR as Te,V as a,af as G,a9 as pt,cX as mt,az as ft,cH as
70
70
  display: flex;
71
71
  width: 100%;
72
72
  gap: ${l.sp3};
73
- `,Fe=d.div`
73
+ `,Ve=d.div`
74
74
  flex: 1;
75
75
  height: 2px;
76
76
  background-color: ${t=>t.theme.colors.primary};
@@ -126,7 +126,7 @@ import{y as dt,J as ut,aR as Te,V as a,af as G,a9 as pt,cX as mt,az as ft,cH as
126
126
  color: ${t=>t.theme.colors.primary};
127
127
  white-space: pre-line;
128
128
  text-align: center;
129
- `,oa=d(kt)`
129
+ `,ra=d(kt)`
130
130
  cursor: pointer;
131
131
  color: ${t=>t.theme.colors.hero};
132
132
  width: ${l.sp4};
@@ -1,4 +1,4 @@
1
- import{J as f,V as r,F as w,w as y,o as t,H as b,a as x}from"./index-BPv2nRQb.js";import{n as o}from"./mui-DdxImnN0.js";import{a as c}from"./sentry-DBSEoG3b.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="331ed172-2d37-4d05-8790-43c37611b1ad",e._sentryDebugIdIdentifier="sentry-dbid-331ed172-2d37-4d05-8790-43c37611b1ad")}catch{}})();const $=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:a}}=w.getLocalizedStrings(),C={subText:new b("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=f(),h=e.type.code.includes("credit")?a.chargeCardsPromo.credit:a.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?a.cardList.physicalCard:a.cardList.virtualCard;const i=p.strings.space+a.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,m=e.status.code==="request_on_hold"||!s?d:i,n=e.type.code.includes("physical");return r.jsxs(H,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${m}`,children:[h,r.jsx(v,{}),d,n&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,n&&s?r.jsx(u,{}):null]})},H=o(x)`
1
+ import{J as f,V as r,F as w,w as y,o as t,H as b,a as x}from"./index-D-BANbLd.js";import{n as o}from"./mui-AW-QpJ2k.js";import{a as c}from"./sentry-OhwUF_66.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="331ed172-2d37-4d05-8790-43c37611b1ad",e._sentryDebugIdIdentifier="sentry-dbid-331ed172-2d37-4d05-8790-43c37611b1ad")}catch{}})();const $=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:a}}=w.getLocalizedStrings(),C={subText:new b("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=f(),h=e.type.code.includes("credit")?a.chargeCardsPromo.credit:a.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?a.cardList.physicalCard:a.cardList.virtualCard;const i=p.strings.space+a.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,m=e.status.code==="request_on_hold"||!s?d:i,n=e.type.code.includes("physical");return r.jsxs(H,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${m}`,children:[h,r.jsx(v,{}),d,n&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,n&&s?r.jsx(u,{}):null]})},H=o(x)`
2
2
  ${e=>e.forDetailPage?{...y.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
3
3
  color: ${e=>e.theme.colors.hero};
4
4
  max-width: 100%;
@@ -1,4 +1,4 @@
1
- import{y as k,J as f,V as t,bD as te,fl as L,w as u,b4 as Q,c0 as ie,o as i,F as w,p as B,x as h,am as v,dj as oe,u as l,aZ as re,aP as T,bS as ae,aj as $,ab as P,jl as X,jm as Z,j1 as se,cB as ne,cE as de,an as O,j2 as le,j3 as ce}from"./index-BPv2nRQb.js";import{n as o}from"./mui-DdxImnN0.js";import{Gg as b,bh as he}from"./zeni-epic-state-1oOVJQJ4.js";import{P as R,a as K}from"./sentry-DBSEoG3b.js";import{F as pe}from"./InsightsSection-B7cEUOjq-C4wpk5vd.js";import{H as ge,I as me,X as xe,Y as we,J as ue,K as ye,V as fe}from"./recharts-Djp9a38d.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./NavigationDots-OShASt5i-BCPaSs2y.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]="80674a01-5ca7-4860-a826-e7e8f960ffa6",e._sentryDebugIdIdentifier="sentry-dbid-80674a01-5ca7-4860-a826-e7e8f960ffa6")}catch{}})();const be=({x:e,y:a,width:n,height:s,payload:r})=>{const c=k();return t.jsx(fe,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:a,width:n,height:s})},W=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,$e=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,ve=({active:e,payload:a,label:n})=>e===!0&&(a?.[0].payload).showTooltip===!0?t.jsx(je,{children:t.jsx(ke,{children:t.jsxs("div",{children:[t.jsxs(E,{children:[t.jsx(_,{children:W.month})," ",t.jsx(G,{children:b(n).format($e)})]}),t.jsxs(E,{children:[t.jsx(_,{children:W.cashback}),t.jsx(G,{children:T("0,0.[00]",{amount:a?.[0].value??0,currencyCode:(a?.[0].payload).currencyCode,currencySymbol:(a?.[0].payload).currencySymbol})})]})]})})}):null,E=o.div`
1
+ import{y as k,J as f,V as t,bD as te,fl as L,w as u,b4 as N,c0 as ie,o as i,F as w,p as B,x as h,am as v,dj as oe,u as l,aZ as re,aP as T,bS as ae,aj as $,ab as P,jl as Q,jm as Z,j1 as se,cB as ne,cE as de,an as O,j2 as le,j3 as ce}from"./index-D-BANbLd.js";import{n as o}from"./mui-AW-QpJ2k.js";import{GX as b,bh as he}from"./zeni-epic-state-DR0XRPUQ.js";import{P as R,a as K}from"./sentry-OhwUF_66.js";import{F as pe}from"./InsightsSection-C2CwZPel-DBGYdL2D.js";import{H as ge,I as me,X as xe,Y as we,J as ue,K as ye,V as fe}from"./recharts-DPPWeTqd.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./NavigationDots-CjCXOKoW-CbK19jrp.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]="f2855516-feba-4cc9-a4b8-23aaa811d33b",e._sentryDebugIdIdentifier="sentry-dbid-f2855516-feba-4cc9-a4b8-23aaa811d33b")}catch{}})();const be=({x:e,y:a,width:n,height:s,payload:r})=>{const c=k();return t.jsx(fe,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:a,width:n,height:s})},W=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,$e=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,ve=({active:e,payload:a,label:n})=>e===!0&&(a?.[0].payload).showTooltip===!0?t.jsx(je,{children:t.jsx(ke,{children:t.jsxs("div",{children:[t.jsxs(E,{children:[t.jsx(_,{children:W.month})," ",t.jsx(G,{children:b(n).format($e)})]}),t.jsxs(E,{children:[t.jsx(_,{children:W.cashback}),t.jsx(G,{children:T("0,0.[00]",{amount:a?.[0].value??0,currencyCode:(a?.[0].payload).currencyCode,currencySymbol:(a?.[0].payload).currencySymbol})})]})]})})}):null,E=o.div`
2
2
  display: flex;
3
3
  gap: ${i.sp1};
4
4
  `,je=o.div`
@@ -20,7 +20,7 @@ import{y as k,J as f,V as t,bD as te,fl as L,w as u,b4 as Q,c0 as ie,o as i,F as
20
20
  `,_=o($)`
21
21
  color: ${e=>e.theme.colors.hero};
22
22
  min-width: 107px;
23
- `,Se=R.memo(ve),{dateFormat:{visual:{MMMYYFormat:Ce,YYYYDashMMFormat:q}},common:{currency:M}}=w.getLocalizedStrings(),Le=({chartData:e,customToolTipContent:a,width:n,height:s})=>{const r=k();return t.jsx(Me,{width:n,height:s,children:t.jsx(Q,{children:({height:c,width:p})=>t.jsxs(ge,{width:p,height:c,data:e,barCategoryGap:"25%",margin:{top:5,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(me,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:r.colors.grey3}),t.jsx(xe,{dataKey:"period",type:"category",axisLine:{stroke:r.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:g=>b(g).format(Ce)}),t.jsx(we,{type:"number",axisLine:!1,tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:g=>re("0,0.[00]a",g,e?.[0].currencySymbol??M.currencySymbol)}),t.jsx(ue,{cursor:t.jsx(be,{}),content:a}),t.jsx(ye,{dataKey:"amount",fill:r.colors.brandColorJadeDark,barSize:36})]})})})};function Pe({cashbackByPeriod:e,width:a,height:n}){const s=oe(e,c=>b(c.period),"asc"),r=Ie(s);return t.jsx(Le,{chartData:r,customToolTipContent:({active:c,payload:p,label:g})=>t.jsx(Se,{active:c,payload:p,label:g}),width:a,height:n})}const ze=e=>e.format(q),Ie=e=>{const a=e.map(r=>({...r,showTooltip:!0})),n=e[e.length-1];let s=n?.period??he().subtract(1,"M").format(q);for(;a.length<12;){const r={amount:0,period:ze(b(s).add(1,"M")),showTooltip:!1,currencyCode:n?.currencyCode??M.currencyCode,currencySymbol:n?.currencySymbol??M.currencySymbol};a.push(r),s=r.period}return a},Me=o.div`
23
+ `,Se=R.memo(ve),{dateFormat:{visual:{MMMYYFormat:Ce,YYYYDashMMFormat:q}},common:{currency:M}}=w.getLocalizedStrings(),Le=({chartData:e,customToolTipContent:a,width:n,height:s})=>{const r=k();return t.jsx(Me,{width:n,height:s,children:t.jsx(N,{children:({height:c,width:p})=>t.jsxs(ge,{width:p,height:c,data:e,barCategoryGap:"25%",margin:{top:5,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(me,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:r.colors.grey3}),t.jsx(xe,{dataKey:"period",type:"category",axisLine:{stroke:r.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:g=>b(g).format(Ce)}),t.jsx(we,{type:"number",axisLine:!1,tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:g=>re("0,0.[00]a",g,e?.[0].currencySymbol??M.currencySymbol)}),t.jsx(ue,{cursor:t.jsx(be,{}),content:a}),t.jsx(ye,{dataKey:"amount",fill:r.colors.brandColorJadeDark,barSize:36})]})})})};function Pe({cashbackByPeriod:e,width:a,height:n}){const s=oe(e,c=>b(c.period),"asc"),r=Ie(s);return t.jsx(Le,{chartData:r,customToolTipContent:({active:c,payload:p,label:g})=>t.jsx(Se,{active:c,payload:p,label:g}),width:a,height:n})}const ze=e=>e.format(q),Ie=e=>{const a=e.map(r=>({...r,showTooltip:!0})),n=e[e.length-1];let s=n?.period??he().subtract(1,"M").format(q);for(;a.length<12;){const r={amount:0,period:ze(b(s).add(1,"M")),showTooltip:!1,currencyCode:n?.currencyCode??M.currencyCode,currencySymbol:n?.currencySymbol??M.currencySymbol};a.push(r),s=r.period}return a},Me=o.div`
24
24
  width: ${e=>e.width}px;
25
25
  height: ${e=>e.height}px;
26
26
  background: ${e=>e.theme.colors.grey5};
@@ -94,18 +94,18 @@ import{y as k,J as f,V as t,bD as te,fl as L,w as u,b4 as Q,c0 as ie,o as i,F as
94
94
  &:hover {
95
95
  color: ${e=>e.theme.colors.primary};
96
96
  }
97
- `,x={containerPaddingLeft:new h(l[3],l[4]),containerPaddingRight:new h(l[3],l[4]),containerPaddingTop:new h(l[2],16),containerPaddingBottom:new h(l[2],16),containerMarginLeft:new h(l[4],l[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:_e}},dateFormat:{visual:Ae}}=w.getLocalizedStrings(),He=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f(),r=ee(),c=X(e.period),p=Z(c);return t.jsx(Xe,{windowSize:s,isFirstItem:a,isLastItem:n,children:t.jsx(Ze,{children:t.jsxs(qe,{children:[t.jsx(Ue,{windowSize:s,responsiveWidth:r[0].width,children:t.jsxs(et,{windowSize:s,children:[b(e.period).format(Ae.MMMMYYYYFormat),p?t.jsxs(Ne,{children:[t.jsx(Qe,{}),t.jsx(Je,{children:_e.tillDate})]}):null]})}),t.jsx(tt,{windowSize:s,responsiveWidth:r[1].width,children:t.jsx(it,{windowSize:s,children:T("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},Je=o(O)`
97
+ `,x={containerPaddingLeft:new h(l[3],l[4]),containerPaddingRight:new h(l[3],l[4]),containerPaddingTop:new h(l[2],16),containerPaddingBottom:new h(l[2],16),containerMarginLeft:new h(l[4],l[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:_e}},dateFormat:{visual:Ae}}=w.getLocalizedStrings(),He=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f(),r=ee(),c=Q(e.period),p=Z(c);return t.jsx(Qe,{windowSize:s,isFirstItem:a,isLastItem:n,children:t.jsx(Ze,{children:t.jsxs(qe,{children:[t.jsx(Ue,{windowSize:s,responsiveWidth:r[0].width,children:t.jsxs(et,{windowSize:s,children:[b(e.period).format(Ae.MMMMYYYYFormat),p?t.jsxs(Xe,{children:[t.jsx(Ne,{}),t.jsx(Je,{children:_e.tillDate})]}):null]})}),t.jsx(tt,{windowSize:s,responsiveWidth:r[1].width,children:t.jsx(it,{windowSize:s,children:T("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},Je=o(O)`
98
98
  color: ${e=>e.theme.colors.grey1};
99
- `,Ne=o.div`
99
+ `,Xe=o.div`
100
100
  display: flex;
101
101
  align-items: center;
102
- `,Qe=o.div`
102
+ `,Ne=o.div`
103
103
  height: ${i.sp1};
104
104
  width: ${i.sp1};
105
105
  margin-right: ${i.sp2};
106
106
  background-color: ${e=>e.theme.colors.grey1};
107
107
  border-radius: 50%;
108
- `,Xe=o.div`
108
+ `,Qe=o.div`
109
109
  display: flex;
110
110
  background-color: ${e=>e.theme.colors.grey5};
111
111
  padding-left: ${e=>x.containerPaddingLeft.valuePx(e.windowSize)};
@@ -175,7 +175,7 @@ import{y as k,J as f,V as t,bD as te,fl as L,w as u,b4 as Q,c0 as ie,o as i,F as
175
175
  width: 100%;
176
176
  display: flex;
177
177
  justify-content: end;
178
- `,D={containerMarginLeft:new h(l[3],l[8]),webkitLineClamp:new h(2,2,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:ot}},dateFormat:{visual:rt}}=w.getLocalizedStrings(),at=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f(),r=X(e.period),c=Z(r);return t.jsx(lt,{windowSize:s,isFirstItem:a,isLastItem:n,children:t.jsx(ct,{children:t.jsxs(ht,{children:[t.jsx(gt,{children:t.jsxs(pt,{windowSize:s,children:[b(e.period).format(rt.MMMMYYYYFormat),c?t.jsxs(nt,{children:[t.jsx(dt,{}),t.jsx(st,{children:ot.tillDate})]}):null]})}),t.jsx(mt,{children:t.jsx(xt,{children:T("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},st=o(O)`
178
+ `,D={containerMarginLeft:new h(l[3],l[8]),webkitLineClamp:new h(2,2,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:ot}},dateFormat:{visual:rt}}=w.getLocalizedStrings(),at=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f(),r=Q(e.period),c=Z(r);return t.jsx(lt,{windowSize:s,isFirstItem:a,isLastItem:n,children:t.jsx(ct,{children:t.jsxs(ht,{children:[t.jsx(gt,{children:t.jsxs(pt,{windowSize:s,children:[b(e.period).format(rt.MMMMYYYYFormat),c?t.jsxs(nt,{children:[t.jsx(dt,{}),t.jsx(st,{children:ot.tillDate})]}):null]})}),t.jsx(mt,{children:t.jsx(xt,{children:T("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},st=o(O)`
179
179
  color: ${e=>e.theme.colors.grey1};
180
180
  `,nt=o.div`
181
181
  display: flex;
@@ -232,7 +232,7 @@ import{y as k,J as f,V as t,bD as te,fl as L,w as u,b4 as Q,c0 as ie,o as i,F as
232
232
  flex-direction: column;
233
233
  `,xt=o(O)`
234
234
  color: ${e=>e.theme.colors.hero};
235
- `,N={separatorMarginLeftRight:new h(l[3],l[8])},wt=({cashbackByPeriod:e,uiState:a,onColumnSortConfigChanged:n})=>{const s=f();return t.jsxs(ft,{children:[t.jsx(Te,{onColumnSortConfigChanged:n,sortConfig:{sortKey:a.sortKey,sortOrder:a.sortOrder}}),t.jsx(yt,{children:e.map((r,c)=>t.jsxs(R.Fragment,{children:[t.jsx(ut,{cashbackPeriod:r,isFirstItem:c===0,isLastItem:c===e.length-1}),c===e.length-1?null:t.jsx(bt,{windowSize:s})]},r.period))})]})},ut=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f()==="small"?at:He;return t.jsx(s,{cashbackPeriod:e,isFirstItem:a,isLastItem:n})},yt=o.div``,ft=o.div`
235
+ `,X={separatorMarginLeftRight:new h(l[3],l[8])},wt=({cashbackByPeriod:e,uiState:a,onColumnSortConfigChanged:n})=>{const s=f();return t.jsxs(ft,{children:[t.jsx(Te,{onColumnSortConfigChanged:n,sortConfig:{sortKey:a.sortKey,sortOrder:a.sortOrder}}),t.jsx(yt,{children:e.map((r,c)=>t.jsxs(R.Fragment,{children:[t.jsx(ut,{cashbackPeriod:r,isFirstItem:c===0,isLastItem:c===e.length-1}),c===e.length-1?null:t.jsx(bt,{windowSize:s})]},r.period))})]})},ut=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f()==="small"?at:He;return t.jsx(s,{cashbackPeriod:e,isFirstItem:a,isLastItem:n})},yt=o.div``,ft=o.div`
236
236
  display: block;
237
237
  height: 100%;
238
238
  `,bt=o.div`
@@ -241,9 +241,9 @@ import{y as k,J as f,V as t,bD as te,fl as L,w as u,b4 as Q,c0 as ie,o as i,F as
241
241
  background-color: ${e=>e.theme.colors.grey3};
242
242
  min-height: 1px;
243
243
  max-height: 1px;
244
- margin-left: ${e=>N.separatorMarginLeftRight.valuePx(e.windowSize)};
245
- margin-right: ${e=>N.separatorMarginLeftRight.valuePx(e.windowSize)};
246
- `,F={pageContentPaddingLeftRight:new h(l[3],l[8]),cashbackSummaryContainerGap:new h(l[3],96)},j=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail,Kt=({insightsData:e,cashbackByPeriod:a,uiState:n,cashbackSummary:s,onBackClick:r,onColumnSortConfigChanged:c})=>{const p=k(),g=f();return t.jsxs(Ct,{children:[t.jsx(te,{title:j.title,showBackButton:!0,showMenuIcon:!1,style:{zIndex:3},onBackClick:r,backgroundColor:p.colors.grey5,source:"CashbackDetailPage"}),t.jsxs($t,{windowSize:g,children:[t.jsxs(vt,{windowSize:g,children:[t.jsxs(z,{children:[t.jsx(I,{children:j.totalEarned}),t.jsx(L,{amount:s.cashbackEarned,style:{color:p.colors.brandColorJadeDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(z,{children:[t.jsx(I,{children:j.redeemed}),t.jsx(L,{amount:s.cashbackRedeemed,style:{color:p.colors.brandColorOpalDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(z,{children:[t.jsx(I,{children:j.available}),t.jsx(L,{amount:s.cashbackAvailable,style:{color:p.colors.brandColorGoldDark},decimalStyles:u.largeSemiBold.cssObject})]})]}),t.jsx(jt,{children:t.jsx(Q,{children:({height:S,width:C})=>t.jsx(Pe,{cashbackByPeriod:a,width:C,height:S})})}),t.jsx(kt,{children:t.jsx(pe,{insights:[{...e}],summaryTextStyles:{fontWeight:ie.regular,color:p.colors.primary}})})]}),t.jsx(St,{children:t.jsx(wt,{cashbackByPeriod:a,uiState:n,onColumnSortConfigChanged:c})})]})},$t=o.div`
244
+ margin-left: ${e=>X.separatorMarginLeftRight.valuePx(e.windowSize)};
245
+ margin-right: ${e=>X.separatorMarginLeftRight.valuePx(e.windowSize)};
246
+ `,F={pageContentPaddingLeftRight:new h(l[3],l[8]),cashbackSummaryContainerGap:new h(l[3],96)},j=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail,Kt=({insightsData:e,cashbackByPeriod:a,uiState:n,cashbackSummary:s,onBackClick:r,onColumnSortConfigChanged:c})=>{const p=k(),g=f();return t.jsxs(Ct,{children:[t.jsx(te,{title:j.title,showBackButton:!0,showMenuIcon:!1,style:{zIndex:3},onBackClick:r,backgroundColor:p.colors.grey5,source:"CashbackDetailPage"}),t.jsxs($t,{windowSize:g,children:[t.jsxs(vt,{windowSize:g,children:[t.jsxs(z,{children:[t.jsx(I,{children:j.totalEarned}),t.jsx(L,{amount:s.cashbackEarned,style:{color:p.colors.brandColorJadeDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(z,{children:[t.jsx(I,{children:j.redeemed}),t.jsx(L,{amount:s.cashbackRedeemed,style:{color:p.colors.brandColorOpalDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(z,{children:[t.jsx(I,{children:j.available}),t.jsx(L,{amount:s.cashbackAvailable,style:{color:p.colors.brandColorGoldDark},decimalStyles:u.largeSemiBold.cssObject})]})]}),t.jsx(jt,{children:t.jsx(N,{children:({height:S,width:C})=>t.jsx(Pe,{cashbackByPeriod:a,width:C,height:S})})}),t.jsx(kt,{children:t.jsx(pe,{insights:[{...e}],summaryTextStyles:{fontWeight:ie.regular,color:p.colors.primary}})})]}),t.jsx(St,{children:t.jsx(wt,{cashbackByPeriod:a,uiState:n,onColumnSortConfigChanged:c})})]})},$t=o.div`
247
247
  position: relative;
248
248
  box-shadow: ${B.dropShadowNormalLight} 2px 2px ${i.sp1};
249
249
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{y as at,J as Ie,ax as Lt,a8 as Dt,h1 as Sr,hG as Ti,aW as et,h2 as $r,aR as tt,V as t,h5 as Ai,bD as Ei,u as h,fZ as vr,aP as qe,ab as Q,bC as Ri,bU as ta,p as c,o as a,F as ke,j7 as kr,w as _,cr as Fi,j8 as Pi,ff as zi,gT as Mi,j9 as Vi,bG as Oi,bP as jr,aU as aa,x as T,b8 as ra,bL as Ir,aj as Ce,eI as Hi,bb as ia,iX as Ni,aV as Lr,h as ft,h4 as Dr,ce as Bi,k as Ct,b4 as Wi,dq as _i,cv as Ui,ja as Gi,jb as Tr,jc as dt,N as Zi,b0 as qi,jd as Yi,je as Xi,cs as Ki,d7 as Ji,hD as Qi,am as ze,bW as eo,aw as Ut,jf as Ma,jg as to,dk as ao,H as Va,a as Ar,ba as ro,aD as io,iR as mt,j0 as oo,j5 as no,j6 as so,dw as Oa,eZ as co,i as Er,cB as Rr,i_ as lo,bZ as ho,c as Fr,jh as po,av as kt,c0 as Ha,by as uo,dg as mo,ar as go,an as lt,h0 as Co,b as fo,bH as wo,ji as Tt,fs as xo,jj as Pr,gD as zr,jk as It,ij as Mr,dS as Vr,bS as yo,el as Or,j1 as bo,cE as So,dR as $o,d1 as vo,j2 as ko,j3 as jo,er as Io,ch as Lo,ci as Do}from"./index-BPv2nRQb.js";import{a as o,P as To}from"./sentry-DBSEoG3b.js";import{n as r,c as we,k as Hr}from"./mui-DdxImnN0.js";import{ER as At,bh as Ao,bf as Eo,Gf as Ro}from"./zeni-epic-state-1oOVJQJ4.js";import{k as Fo}from"./NavigationDots-OShASt5i-BCPaSs2y.js";import{A as Po,i as zo,a as Mo,l as Vo,r as Oo,t as Ho,n as No}from"./add-to-wallet-DgdBD8_G-D1teIsf6.js";import{L as Gt}from"./lottie-V1lTNkDB.js";import{j as Bo}from"./CardNumberSubText-BEVRq2PI-DDGQHtM7.js";import{t as Wo}from"./panelSelectedMixin-Cddsb26L-gr9HWaHB.js";import{r as Nr}from"./core-HDqpewC7.js";import{l as Br}from"./uploadReceipts-Dge0cNF1-C8hVDRbs.js";import{N as _o,z as Uo,k as Go,P as Zo}from"./LockCardPage-DE5Zw1p--DDhMx2Zw.js";import"./liveblocks-Dv7Vdu8a.js";import"./recharts-Djp9a38d.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./RoleWithToolTip-D6q4Wd6X-Ba41qnE5.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]="e1053381-f06f-48bf-ad3c-3115d5adc1e0",e._sentryDebugIdIdentifier="sentry-dbid-e1053381-f06f-48bf-ad3c-3115d5adc1e0")}catch{}})();const Wr=ke.getLocalizedStrings().spendManagement.chargeCard,qo=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:s,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:w,chargeCardDetailView:l,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,appleWalletLink:j,googleWalletLink:D,style:u,showDrawerAnimation:A,setWalletType:S,setIsAddToWalletDrawerOpen:z,isDebitCard:M})=>{const y=Dt().analytics,{isIPadScreen:G}=Yi(),{isAndroidScreen:Y}=Xi(),X=Lt(),E=At(X.loggedInUserRoleMap);return t.jsx(Yo,{style:u,children:G===!0?t.jsx(ea,{onClick:()=>{dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:C,creditAccountInformation:g,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:b,creditAccountRepayment:n}),window.open(j,"_blank")}}):Y===!0?t.jsx(Qt,{onClick:()=>{dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:C,creditAccountInformation:g,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:b,creditAccountRepayment:n}),window.open(D,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(ea,{onClick:()=>{S("apple"),A.current="slide-in-right-to-left-add-to-wallet",dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:s,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n}),z(!0)}}),t.jsx(Qt,{onClick:()=>{S("google"),A.current="slide-in-right-to-left-add-to-wallet",dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:s,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n}),z(!0)}})]})})},Qt=({onClick:e})=>{const i=at();return t.jsx(Er,{prefixIcon:t.jsx(Xo,{}),label:Wr.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Q("add-to-google-wallet-button")})},ea=({onClick:e})=>{const i=at();return t.jsx(Er,{prefixIcon:t.jsx(Ko,{}),label:Wr.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Q("add-to-apple-wallet-button")})},Yo=r.div`
1
+ import{y as at,J as Ie,ax as Lt,a8 as Dt,h1 as Sr,hG as Ti,aW as et,h2 as $r,aR as tt,V as t,h5 as Ai,bD as Ei,u as h,fZ as vr,aP as qe,ab as Q,bC as Ri,bU as ta,p as c,o as a,F as ke,j7 as kr,w as _,cr as Fi,j8 as Pi,ff as zi,gT as Mi,j9 as Vi,bG as Oi,bP as jr,aU as aa,x as T,b8 as ra,bL as Ir,aj as Ce,eI as Hi,bb as ia,iX as Ni,aV as Lr,h as ft,h4 as Dr,ce as Bi,k as Ct,b4 as Wi,dq as _i,cv as Ui,ja as Gi,jb as Tr,jc as dt,N as Zi,b0 as qi,jd as Yi,je as Xi,cs as Ki,d7 as Ji,hD as Qi,am as ze,bW as eo,aw as Ut,jf as Ma,jg as to,dk as ao,H as Va,a as Ar,ba as ro,aD as io,iR as mt,j0 as oo,j5 as no,j6 as so,dw as Oa,eZ as co,i as Er,cB as Rr,i_ as lo,bZ as ho,c as Fr,jh as po,av as kt,c0 as Ha,by as uo,dg as mo,ar as go,an as lt,h0 as Co,b as fo,bH as wo,ji as Tt,fs as xo,jj as Pr,gD as zr,jk as It,ij as Mr,dS as Vr,bS as yo,el as Or,j1 as bo,cE as So,dR as $o,d1 as vo,j2 as ko,j3 as jo,er as Io,ch as Lo,ci as Do}from"./index-D-BANbLd.js";import{a as o,P as To}from"./sentry-OhwUF_66.js";import{n as r,c as we,k as Hr}from"./mui-AW-QpJ2k.js";import{Fw as At,bh as Ao,bf as Eo,GW as Ro}from"./zeni-epic-state-DR0XRPUQ.js";import{k as Fo}from"./NavigationDots-CjCXOKoW-CbK19jrp.js";import{A as Po,i as zo,a as Mo,l as Vo,r as Oo,t as Ho,n as No}from"./add-to-wallet-DgdBD8_G-C2wVoVNZ.js";import{L as Gt}from"./lottie-D0yKu2h3.js";import{j as Bo}from"./CardNumberSubText-B5F6n20g-B4j-P-Yo.js";import{t as Wo}from"./panelSelectedMixin-Cddsb26L-DJsIAZn1.js";import{r as Nr}from"./core-IgaX3lD-.js";import{l as Br}from"./uploadReceipts-Dge0cNF1-DlcReZJ-.js";import{N as _o,z as Uo,k as Go,P as Zo}from"./LockCardPage-CPcRTCZE-D_H0owTv.js";import"./liveblocks-Db4nLOvA.js";import"./recharts-DPPWeTqd.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./RoleWithToolTip-XCmNsd2N-DcGnYG_x.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]="afb2a5e7-1d0a-4a6f-a8b7-bbca1f747a2f",e._sentryDebugIdIdentifier="sentry-dbid-afb2a5e7-1d0a-4a6f-a8b7-bbca1f747a2f")}catch{}})();const Wr=ke.getLocalizedStrings().spendManagement.chargeCard,qo=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:s,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:w,chargeCardDetailView:l,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,appleWalletLink:j,googleWalletLink:D,style:u,showDrawerAnimation:A,setWalletType:S,setIsAddToWalletDrawerOpen:z,isDebitCard:M})=>{const y=Dt().analytics,{isIPadScreen:G}=Yi(),{isAndroidScreen:Y}=Xi(),X=Lt(),E=At(X.loggedInUserRoleMap);return t.jsx(Yo,{style:u,children:G===!0?t.jsx(ea,{onClick:()=>{dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:C,creditAccountInformation:g,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:b,creditAccountRepayment:n}),window.open(j,"_blank")}}):Y===!0?t.jsx(Qt,{onClick:()=>{dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:C,creditAccountInformation:g,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:b,creditAccountRepayment:n}),window.open(D,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(ea,{onClick:()=>{S("apple"),A.current="slide-in-right-to-left-add-to-wallet",dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:s,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n}),z(!0)}}),t.jsx(Qt,{onClick:()=>{S("google"),A.current="slide-in-right-to-left-add-to-wallet",dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:s,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n}),z(!0)}})]})})},Qt=({onClick:e})=>{const i=at();return t.jsx(Er,{prefixIcon:t.jsx(Xo,{}),label:Wr.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Q("add-to-google-wallet-button")})},ea=({onClick:e})=>{const i=at();return t.jsx(Er,{prefixIcon:t.jsx(Ko,{}),label:Wr.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Q("add-to-apple-wallet-button")})},Yo=r.div`
2
2
  margin-top: ${a.sp4};
3
3
  display: flex;
4
4
  justify-content: center;