@zeniai/web-cockpit-ui 1.14.75-dev → 1.14.75-qa

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/dist/assets/{ACHDetailsPage-CgSAnexf-B3A8op6h.js → ACHDetailsPage-CgSAnexf-i_8YOjr-.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-C9EQ3p87-OJBktR4D.js → AIPerformancePage-C9EQ3p87-DFAb24zH.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-C239tsDp-DRuutmdG.js → AccountInfoPage-C239tsDp-BJdxsmS4.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CgDFcQqY-CqasllNx.js → AccountInfoPageContent-CgDFcQqY-CnxvudEj.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-CQzFFcuJ-Do66phz_.js → AccountLockedInfoModal-CQzFFcuJ-DNUm6aba.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-xtmSIQ0k-Cx_Pu75e.js → AccountReconDetailsDrawerPage-xtmSIQ0k-sJQHiFgQ.js} +1 -1
  7. package/dist/assets/{AccountRow-BrRxbza5-pSnSZur-.js → AccountRow-BrRxbza5-CFe9ZfNB.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CqXbhSj4-Dxz2-66c.js → AccountsPromoCardStack-CqXbhSj4-Bq_NoktP.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-fgjjFlrb-j1U1vMZd.js → AddAddressForCardDrawer-fgjjFlrb-B96IK2RQ.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DfB7hWI1-IQOFdx9h.js → AddToWalletPage-DfB7hWI1-CZFJEgh3.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-DHYj512r-CC4JWVYi.js → AgingReportsPage-DHYj512r-BxkbYUrh.js} +1 -1
  12. package/dist/assets/{AllUserItems-DeSMFizX-DNdHjuWX.js → AllUserItems-DeSMFizX-D5oJwy65.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-DU0hQxT3-DZWyZWni.js → ApAgingDetailPage-DU0hQxT3-BJVEEUAo.js} +1 -1
  14. package/dist/assets/{AppBasePage-BR-YhSR_-CzGzdBlR.js → AppBasePage-BR-YhSR_-B5HeXtfv.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-B80zy-Gz-B39ZSWi1.js → AppDrawerContent-B80zy-Gz-CvT6b5OB.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-By648tCr-CQAcViTv.js → ApprovalRulesSettingsPage-By648tCr-7jWb8JUX.js} +1 -1
  17. package/dist/assets/{ArAgingChart-TzANw6Zm-ud3qmxZt.js → ArAgingChart-TzANw6Zm-CNWZ1yco.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-C2rcOePe-DceP7UdC.js → ArAgingDetailPage-C2rcOePe-CPMVZfEx.js} +1 -1
  19. package/dist/assets/{AttachmentView-jMWZdYNa-B4G6-utv.js → AttachmentView-jMWZdYNa-C-2m2utf.js} +1 -1
  20. package/dist/assets/{BankAccountSection-SGI34h8u-BmPo8uGy.js → BankAccountSection-SGI34h8u-BBxP7hIN.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-BYhi53r4-4douKQRZ.js → BankAccountWarningSection-BYhi53r4-Dz4tDkQf.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-ChDwYCek-CV2qmOPT.js → BankConnectionsSettingsPage-ChDwYCek-COjC3o1W.js} +1 -1
  23. package/dist/assets/{BillDetailPage-CDcMpkQh-WKx-zUwY.js → BillDetailPage-CDcMpkQh-BZ1wd0Qg.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CEPY5Pk4-BbBRmkGK.js → BillPayApprovalRuleDetailPage-CEPY5Pk4-qR_JS2ET.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CL2A3R9R-lHKvJ4Ac.js → BillPayApprovalRulesPage-CL2A3R9R-CK-fyhpX.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-B9Tz3jBR-C8UtwtS8.js → BillPayPromoPage-B9Tz3jBR-i-0CPc7c.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-Dt_bfrGH-BFJQWbSz.js → BillPaySetUpPage-Dt_bfrGH-CUojvimq.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-DS50kMjn-x8sOi9VN.js → BillingSettingsPage-DS50kMjn-9EpaAi1C.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Btt7v1Mg-BawjVs5H.js → BillsBulkReviewDrawerPage-Btt7v1Mg-BCwxf8sP.js} +1 -1
  30. package/dist/assets/{BoxItem-BFUJgt2x-BC0-eR6w.js → BoxItem-BFUJgt2x-opQLNc_u.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CF3ZLtzs-m9ujMa8b.js → BusinessVerificationPage-CF3ZLtzs-Dhk-fv87.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-B1MkRWES-C67yiD_w.js → CardNumberSubText-B1MkRWES-BjDnia-x.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-CPSsS7-h-D1KsDfk8.js → CashbackDetailPage-CPSsS7-h-CouHihs8.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BDqTbXzY-BMqKHARM.js → ChargeCardDetailPage-BDqTbXzY-D7djMgW2.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-yj0mhqgF-BwQcpXMc.js → ChargeCardListPage-yj0mhqgF-Bv25BF2_.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DM6dYuPz-DQIQm3j5.js → ChargeCardListTable-DM6dYuPz-Nmy4gJXY.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-DSoQsDJK-k397bkJL.js → ChargeCardPromoPage-DSoQsDJK-B4tTXnWg.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-DhEITB5H-DwrNYcBw.js → ChargeCardSetupPage-DhEITB5H-DbGb6ubH.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-tCXt7AVZ-CGXmLyEQ.js → ChargeCardStatementsPage-tCXt7AVZ-C2fkpn1j.js} +1 -1
  40. package/dist/assets/{CheckDepositDrawerPage-6PfNZ8GG-CpP6SDgV.js → CheckDepositDrawerPage-6PfNZ8GG-D-owtiOB.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-DERfLf9A-B02u2C6v.js → CollapsableReportTable-DERfLf9A-BxSIgA-m.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-CmMDQgui-DjcUawXU.js → CompanyOfficerDetailsSection-CmMDQgui-CIhYQnj-.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-ki3cq_A3-BIFk_EYX.js → CompanyPassportCard-ki3cq_A3-BV6apDi8.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-C9UW7mV8-CjYiaVUt.js → CompanyPassportPage-C9UW7mV8-Bx0Gz3oi.js} +1 -1
  45. package/dist/assets/{CompleteProfile-CcjiEAtN-G6pC79hX.js → CompleteProfile-CcjiEAtN-DQlOZ4PF.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-Dq3DwwfS-Bk63elQ-.js → ConfettiBurst-Dq3DwwfS-B7P93rZY.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-CsYVqUf8-CQGCDeX8.js → CreateOrEditVendorPage-CsYVqUf8-61fUWJH2.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-C1QUtunc-B_csVrG-.js → CreditCardPaymentDrawerPage-C1QUtunc-CKbM-eNV.js} +1 -1
  49. package/dist/assets/{CurrencySelectField-PjVnHOPO-De5v3EBh.js → CurrencySelectField-PjVnHOPO-BAZfxuLd.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-BEz1pkPV-m1nyzrH-.js → CustomerOnboardingActivationPage-BEz1pkPV-Ba86LNKX.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-BoQBdIuG-HEPhtwHV.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-3S6lsaCB-BUgUvYUX.js → CustomerOnboardingDetailPageSkeleton-3S6lsaCB-Cu1_Ivf0.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-C7EvOlnr-Bb_AP_JK.js → CustomerOnboardingNoStepsPage-C7EvOlnr-C9G9U1B0.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-Clo_UlCC-DsyGD0B2.js → CustomerOnboardingPage-Clo_UlCC-DouioW8f.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-BEy5gk3x-B66-9NVf.js → CustomerOnboardingProductSuitePage-BEy5gk3x-Baanicc_.js} +1 -1
  56. package/dist/assets/{Dashboard-B1tMJ_lT-Dt3eYG-5.js → Dashboard-B1tMJ_lT-CcESz1YI.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-CoFYSDIH-DHztoZKU.js → DashboardReportPage-CoFYSDIH-ByKveAaA.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-4ckOdfXR-Csek43Wl.js → DashboardSidebarBackgroundAnimation-4ckOdfXR-KuRJ5w2b.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-tQvZegVN-2h85R67z.js → DepositAccTransactionItem-tQvZegVN-Dr8br3ei.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-CwXktzEW-DdOhhhJy.js → DepositAccTransactionListPage-CwXktzEW-DPpgwcvG.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-W6hOjjFW-BWSats5d.js → DomesticWireDetailsPage-W6hOjjFW-BwCOX1w5.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-BSUE9cHx-CQqT-O4K.js → DownloadOverlay-BSUE9cHx-BgD5J__G.js} +1 -1
  63. package/dist/assets/{DrawerPage-CgdtPYXN-BbWBMozy.js → DrawerPage-CgdtPYXN-BSX9iIsY.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-DIj7SItK-CKkznNAO.js → EditPeoplePage-DIj7SItK-CTt9SgjG.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-Q2e7iDtu-BBcP7tRA.js → EditReimbursementDetailPage-Q2e7iDtu-sdWmaVAs.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-XsEIg05w-Cod5Z1f6.js → EntityDetailPage-XsEIg05w-CB-O66EP.js} +1 -1
  67. package/dist/assets/{EntitySummarySection-CsXlmDFx-l9ddhbEU.js → EntitySummarySection-CsXlmDFx--O64tSBx.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-CVe0vhrD-B-avItru.js → ExpenseAutomationOverviewPage-CVe0vhrD-D_T4B03p.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-D6r_A_CD-CiCcvo0I.js → ExpenseAutomationPage-D6r_A_CD-D5r5HR2l.js} +1 -1
  70. package/dist/assets/{ExpressPayPage-C6b1fiyD-DNDZJNDu.js → ExpressPayPage-C6b1fiyD-DP6zBvlM.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-DOebdPqb-TzEy5dMk.js → FeaturePreviewPage-DOebdPqb-DLHAUjfm.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-jmyNE2Fl-CvBGwqtX.js → FollowStepsSection-jmyNE2Fl-5X9z6igI.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-Cx1Km5fu-Bailuk1q.js → GlobalReviewListPage-Cx1Km5fu-oNaaQ9j7.js} +1 -1
  74. package/dist/assets/{InformationCardStack-C5bKx9vg-k3hJn-Id.js → InformationCardStack-C5bKx9vg-DasAqkuT.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-EFoc_EWA-D2FaxDtB.js → InsightsCardStack-EFoc_EWA-9sxVCiH_.js} +1 -1
  76. package/dist/assets/{InsightsSection-B0Rg5beY-u8CdyXOx.js → InsightsSection-B0Rg5beY-C7jqTQvj.js} +1 -1
  77. package/dist/assets/{IntegrationsSettingsPage-BQmjM8Np-1cGkOCA2.js → IntegrationsSettingsPage-BQmjM8Np-lw6-THGQ.js} +1 -1
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-ChSGHFzT-CvsM4E7Y.js → InternationalWireSwiftDetailsPage-ChSGHFzT-CslF7PO2.js} +1 -1
  79. package/dist/assets/{InternationalWireVerificationPage-D41gWYDb-CEwQheQ1.js → InternationalWireVerificationPage-D41gWYDb-CdKJSDXF.js} +1 -1
  80. package/dist/assets/{InviteFormPage-CltJ2XYv-DJJh50vB.js → InviteFormPage-CltJ2XYv-BLV5ZcY_.js} +1 -1
  81. package/dist/assets/{InvitePageListView-D5OdkeEV-CglVOI_I.js → InvitePageListView-D5OdkeEV-jnf94Cyf.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-CyXnulj0-B7lM98ff.js → InvitePeoplePage-CyXnulj0-Cicnd476.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-B2ePrdY8-CUZ5YkU9.js → InvoiceUploadSection-B2ePrdY8-BItjPn0Z.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-BCfMS2Zu-DdG6-d9q.js → IssueChargeCardPage-BCfMS2Zu-BkuU4f28.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-D7udvbin-kVKW8gGz.js → LabeledAddressValue-D7udvbin-MXccYRGn.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-jlDhqmgU-CM1ZWEJK.js → LabeledAddressValueField-jlDhqmgU-BPufGwXD.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-DNmJFVpZ-DjMQjBxM.js → LabeledControlledCheckBoxField-DNmJFVpZ-EZh4BAHK.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-B6Vit6ZA-Bdnw6feS.js → LabeledCreatableSingleSelectField-B6Vit6ZA-Dwqsu8ia.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-CbTN9aAs-CEmYFygD.js → LabeledDocumentField-CbTN9aAs-DarpxPt9.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-CD6Bs8EU-Bok-Bw1g.js → LabeledDropDownFormattedTextField-CD6Bs8EU-8n_glFVG.js} +1 -1
  91. package/dist/assets/{LabeledText-aSB1WzCl-Cj9Ocs2U.js → LabeledText-aSB1WzCl-Cv-M2FmN.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Y99F7D2f-Dwh42b2N.js → LabeledUserSingleSelectWithSubtitlesField-Y99F7D2f-DZP5midF.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-BJePp4f_-Dc_g-F8s.js → LabeledZeniRolesDropDownField-BJePp4f_-DBG_e5Mt.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-CNbLCYzA-Bg5upj_n.js → LinkJETransactionPage-CNbLCYzA-2xhERErX.js} +1 -1
  95. package/dist/assets/{LockCardPage-DMB-6EyM-lbTpu5O_.js → LockCardPage-DMB-6EyM-BsprVU84.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-D8MLLJa7-CBiPecxo.js → LowBalancePopup-D8MLLJa7-MvDx9vDJ.js} +1 -1
  97. package/dist/assets/{MagicLinkACHDetailsPage-BdS3aAWw-BrXiv9-t.js → MagicLinkACHDetailsPage-BdS3aAWw-BWomnIlM.js} +1 -1
  98. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CG0a1drB-Dmn6AGH4.js → MagicLinkDomesticWireDetailsPage-CG0a1drB-ClmK30Ad.js} +1 -1
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C9-ZvcKN-C21_WG8V.js → MagicLinkInternationalWireDetailsPage-C9-ZvcKN-D4SzYeJM.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-BBQLFLJ9-CPkaiDv7.js → MagicLinkSuccessPage-BBQLFLJ9-CwQfREmk.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-BVR_lDfw-BbQ3PhCM.js → MagicLinkTitleSection-BVR_lDfw-B40quQKP.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-DZi-O94--DF-Hpww_.js → MailingDetailsSection-DZi-O94--BIJQvtBB.js} +1 -1
  103. package/dist/assets/{Menu-DGwHJlS--Djq7PCKE.js → Menu-DGwHJlS--B2gglYn5.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-BYTxFTOW-gDKKbyJg.js → MyBankConnectionsSettingsPage-BYTxFTOW-CsO2zFjS.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-CUvKbnux-CN2CiFSh.js → MyPendingActivationChargeCardListPage-CUvKbnux-BNYAO_DO.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-BHnImAny-TmsmZErc.js → MyProfileSettingsPage-BHnImAny-D-Shv0Uv.js} +1 -1
  107. package/dist/assets/{NavBarWithPicker-Q739fT8--CrZ3WYmY.js → NavBarWithPicker-Q739fT8--UnmrOwGT.js} +1 -1
  108. package/dist/assets/{NavigationArrow-DQfX85VC-Dvm4TJ9a.js → NavigationArrow-DQfX85VC-CA-sDlNd.js} +1 -1
  109. package/dist/assets/{NavigationDots-CyCjbpW--DGfBQuMJ.js → NavigationDots-CyCjbpW--CcAb2ybd.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-CzT7wrsy-CItQq0bZ.js → NewGlobalMerchantPage-CzT7wrsy-sdDrCPZI.js} +1 -1
  111. package/dist/assets/{NoDataChart-BnAshBnb-UHLHtstu.js → NoDataChart-BnAshBnb-CEIovBiA.js} +1 -1
  112. package/dist/assets/{NoDataTable-BhokhW6d-QEuWLEd7.js → NoDataTable-BhokhW6d-BUEpwEUA.js} +1 -1
  113. package/dist/assets/{NotFoundPage-uFZMkf3D-DLBn6ZTy.js → NotFoundPage-uFZMkf3D-Bb8ms-JK.js} +1 -1
  114. package/dist/assets/{NotificationSettingsPage-BE1_MgJM-BWk4ph6m.js → NotificationSettingsPage-BE1_MgJM-CZqU-CjD.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-CUWNEUCL-XvkMOcjh.js → NotificationsListConfig-CUWNEUCL-Cc5u1ykI.js} +1 -1
  116. package/dist/assets/{NotificationsPage-BMZvKV7t-v_KJjY-j.js → NotificationsPage-BMZvKV7t-aupuxjdZ.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-BuHAApyT-ZSJOclS-.js → OpExByVendorPage-BuHAApyT-rWVMd94-.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-BKHs_4eI-Cod2hmti.js → OverlayContainerPage-BKHs_4eI-DRCwuTah.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-B0IiVx6D-BofpOT29.js → PandLWithForecastPage-B0IiVx6D-DJIGzqmY.js} +1 -1
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BkfPpFae-CQO2zwUL.js → PaymentAccountSetupBillingAddressSection-BkfPpFae-CYS3dtli.js} +1 -1
  121. package/dist/assets/{PeoplePage-Cj9mjcMw-9OYaHyag.js → PeoplePage-Cj9mjcMw-DIuj4uBO.js} +1 -1
  122. package/dist/assets/{ProductsCarousel-_jYEgpxl-3H43gICJ.js → ProductsCarousel-_jYEgpxl-BPan4QrC.js} +1 -1
  123. package/dist/assets/{PromoBaseCards-8tkwl6GI-B2drNSiA.js → PromoBaseCards-8tkwl6GI-D8H5ISya.js} +1 -1
  124. package/dist/assets/{QBOConnectionDialog-CJz2SlfE-Cw-cnWS5.js → QBOConnectionDialog-CJz2SlfE-CzL2ZkWG.js} +1 -1
  125. package/dist/assets/{QBOSetupSection-CpfryKtp-ZjQWXWah.js → QBOSetupSection-CpfryKtp-CCwrlg6z.js} +1 -1
  126. package/dist/assets/{ReimbursementApprovalRuleDetailPage-B8CBB3JI-xMBay2No.js → ReimbursementApprovalRuleDetailPage-B8CBB3JI-Dfv6ookH.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRulesPage-BsLmDz25-CgEjqCg6.js → ReimbursementApprovalRulesPage-BsLmDz25-BIh2ftJK.js} +1 -1
  128. package/dist/assets/{ReimbursementDetailPage-DiG34Vur-Dcz6odls.js → ReimbursementDetailPage-DiG34Vur-DY0Lejn5.js} +1 -1
  129. package/dist/assets/{ReimbursementPromoPage-CNZdwAl--BsBEvPRx.js → ReimbursementPromoPage-CNZdwAl--DtrZvGd-.js} +1 -1
  130. package/dist/assets/{ReimbursementSetUpPage-Ccc4qnNZ-CPmymOEP.js → ReimbursementSetUpPage-Ccc4qnNZ-DKLe8Fql.js} +1 -1
  131. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cza64yGU-BleycvIi.js → ReimbursementsBulkReviewDrawerPage-Cza64yGU-BvagL3e0.js} +1 -1
  132. package/dist/assets/{ReloadCard-Cnz9ywvF-BGT4MYH-.js → ReloadCard-Cnz9ywvF-cCwwnrRx.js} +1 -1
  133. package/dist/assets/{ReportTableViewSelector-B70dJfTV-SlWwkWXT.js → ReportTableViewSelector-B70dJfTV-DVdkDJvs.js} +1 -1
  134. package/dist/assets/{ReportsPage-DdvNbMAj-SF_Ndi0S.js → ReportsPage-DdvNbMAj-k0AKFDiG.js} +1 -1
  135. package/dist/assets/{RevenueChart-B0CcrRHw-DSEzCN2z.js → RevenueChart-B0CcrRHw-Bjc6bGj4.js} +1 -1
  136. package/dist/assets/{ReviewDetailsPage-BVebc63A-zFlaxD9H.js → ReviewDetailsPage-BVebc63A-DKINOdNY.js} +1 -1
  137. package/dist/assets/{ReviewOverlay-Dm9GTjwu-bBb6sGal.js → ReviewOverlay-Dm9GTjwu-BclBebcR.js} +1 -1
  138. package/dist/assets/{RoleWithToolTip-CqLSnFDx-DgQ7tDAb.js → RoleWithToolTip-CqLSnFDx-Cq53LB-b.js} +1 -1
  139. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BWwDY16q-BLBhJP_5.js → ScheduleDetailsFixedAssetsPage-BWwDY16q-Btg56y8u.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsPage-CqFbh9HE-R8G_b4b1.js → ScheduleDetailsPage-CqFbh9HE-BfLqdFxl.js} +1 -1
  141. package/dist/assets/{ScheduleSequenceTable-DDYFTEg4-CG84KRpd.js → ScheduleSequenceTable-DDYFTEg4-CSy2E-uq.js} +1 -1
  142. package/dist/assets/{ScreenRoutes-BVWkKC_W.js → ScreenRoutes-D49C0WcQ.js} +1 -1
  143. package/dist/assets/{SetUpAccountSection-BuF3A3dP-Dlc3aKO9.js → SetUpAccountSection-BuF3A3dP-BZ3r3Psc.js} +1 -1
  144. package/dist/assets/{SignIn-CyGyU8wg-8SnTpqj6.js → SignIn-CyGyU8wg-DD8ikdc-.js} +1 -1
  145. package/dist/assets/{SignInScreen-CEzKwqwu.js → SignInScreen-CfID-gEr.js} +1 -1
  146. package/dist/assets/{SpendManagementListViewPage-DPUhOVZl-B5bRhpPB.js → SpendManagementListViewPage-DPUhOVZl-BIYxolAI.js} +3 -3
  147. package/dist/assets/{SpendManagementPerTabPage-CeYdMTbj-DL_aA7k6.js → SpendManagementPerTabPage-CeYdMTbj-CpMZyOuZ.js} +1 -1
  148. package/dist/assets/{SpendManagementSection--vF9XUYO-BtgzDFex.js → SpendManagementSection--vF9XUYO--4ea-x8g.js} +1 -1
  149. package/dist/assets/{StatementItem-CiYj7XWK-5AkRMgC4.js → StatementItem-CiYj7XWK-C2ak2Frp.js} +1 -1
  150. package/dist/assets/{StatementsPage-SLgIPcxl-DedL5QW0.js → StatementsPage-SLgIPcxl-CdejJ_2a.js} +1 -1
  151. package/dist/assets/{StatusSwitcher-CAMXea4Z-Ci68Xk-W.js → StatusSwitcher-CAMXea4Z-CDvNmH2h.js} +1 -1
  152. package/dist/assets/{SubTabSwitcher-BFezBmcr-Bv0UYLck.js → SubTabSwitcher-BFezBmcr-BpoFQXM4.js} +1 -1
  153. package/dist/assets/{SummaryCard-Bk5Eh2IR-CvYAWxo_.js → SummaryCard-Bk5Eh2IR-C1Ko3Pw8.js} +1 -1
  154. package/dist/assets/{TaskManagementPage-ClL2snRe-BkZUI-Os.js → TaskManagementPage-ClL2snRe-ChuYY0Bm.js} +1 -1
  155. package/dist/assets/{TimeRangeSwitcher-fGI52XTc-B8YAuD1t.js → TimeRangeSwitcher-fGI52XTc-DDrlcz53.js} +1 -1
  156. package/dist/assets/{TimeframeSwitcher-CV-bryv5-BZG0GUCh.js → TimeframeSwitcher-CV-bryv5-D0JGSy-O.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcherWithToggle-kmZOYJwI-CNr8HJvn.js → TimeframeSwitcherWithToggle-kmZOYJwI-B5-r5xMt.js} +1 -1
  158. package/dist/assets/{TopExCard-DeYN3ImD-B_G3aCn4.js → TopExCard-DeYN3ImD-Dkj3Ba2o.js} +1 -1
  159. package/dist/assets/{TopExDetailPage-BmyFCtzb-Cf6VgVmt.js → TopExDetailPage-BmyFCtzb-C-wOf8kf.js} +1 -1
  160. package/dist/assets/{TransactionDetailPage-BFpvUUmz-C0BrkJmS.js → TransactionDetailPage-BFpvUUmz-tcGocK9Q.js} +1 -1
  161. package/dist/assets/{TransactionList-JHbSuP08-BE5oUWHj.js → TransactionList-JHbSuP08-C9rgd_Ix.js} +1 -1
  162. package/dist/assets/{TransactionListBig-FzOmuwBP-CVEEn05Z.js → TransactionListBig-FzOmuwBP-DHA__aWd.js} +1 -1
  163. package/dist/assets/{TransactionListPage-Kkxkkd_A-uxvvUDBa.js → TransactionListPage-Kkxkkd_A-BatRqWwb.js} +1 -1
  164. package/dist/assets/{TransactionVendorDetailPage-m1wxsTyn-CtzfWKY9.js → TransactionVendorDetailPage-m1wxsTyn-DQLH0kjE.js} +1 -1
  165. package/dist/assets/{TransferDrawerPage-obzTPCDc-DmDROdGW.js → TransferDrawerPage-obzTPCDc-YPPUrSeX.js} +1 -1
  166. package/dist/assets/{TreasuryOverviewPage-DW68UR3w-CXp8UZWj.js → TreasuryOverviewPage-DW68UR3w-BYOCm1Ax.js} +1 -1
  167. package/dist/assets/{TreasuryPromoPage-BW76YUSB-1YJbHf0S.js → TreasuryPromoPage-BW76YUSB-92MR0Rhn.js} +1 -1
  168. package/dist/assets/{TreasuryStatementsPage-BDD4VO8n-DUjcdDs1.js → TreasuryStatementsPage-BDD4VO8n-yjwbIsnQ.js} +1 -1
  169. package/dist/assets/{TreasuryTaxLetterPage-B2NDIt_Q-DCX4Q69d.js → TreasuryTaxLetterPage-B2NDIt_Q-DQBewAhJ.js} +1 -1
  170. package/dist/assets/{TrendChart-D5CYCZnh-DAyWGjcL.js → TrendChart-D5CYCZnh-jI_0d3RS.js} +1 -1
  171. package/dist/assets/{TrendWithTransactions-DoCnDpHm-CdDHaHZ9.js → TrendWithTransactions-DoCnDpHm-CseGzJLE.js} +1 -1
  172. package/dist/assets/{UncategorizedAccountsMappingPage-DX_TBAhJ-BssvOjsa.js → UncategorizedAccountsMappingPage-DX_TBAhJ-BifS6Z1Z.js} +1 -1
  173. package/dist/assets/{UnitIntegrationPage-DZfp553j-ByWZS3hU.js → UnitIntegrationPage-DZfp553j-CLZuBojC.js} +1 -1
  174. package/dist/assets/{UploadAdditionalDocumentOverlay-BqO1S9_p-C6rWAFOs.js → UploadAdditionalDocumentOverlay-BqO1S9_p-BQEvr7HR.js} +1 -1
  175. package/dist/assets/{Vendor2FAPopup-BmT-gcIz-n3vjq-3y.js → Vendor2FAPopup-BmT-gcIz-BAttQ6sz.js} +1 -1
  176. package/dist/assets/{VendorACHDetailsPage-CQ7Hq4OS-OICNgdvg.js → VendorACHDetailsPage-CQ7Hq4OS-B46pxKZi.js} +1 -1
  177. package/dist/assets/{VendorDetailPage-Cs6xk6eD-zl-heKdM.js → VendorDetailPage-Cs6xk6eD-C2mD2bAn.js} +1 -1
  178. package/dist/assets/{VendorDomesticWireDetailsPage-8mY07nVg-DHqiq7vN.js → VendorDomesticWireDetailsPage-8mY07nVg-Bhe6n6ma.js} +1 -1
  179. package/dist/assets/{VendorFiling1099EditablePage-CAFeI80I-sDSbFxEy.js → VendorFiling1099EditablePage-CAFeI80I-BNRATvbB.js} +1 -1
  180. package/dist/assets/{VendorFirstReviewPage-ACNdg13I-BUeCp6NI.js → VendorFirstReviewPage-ACNdg13I-BBFigPLV.js} +1 -1
  181. package/dist/assets/{VendorInternationalWireDetailsPage-BpkamVMK-D0VBsQab.js → VendorInternationalWireDetailsPage-BpkamVMK-DHFHkBlm.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Gvr65ujG-DJLCreKr.js → VendorInternationalWireSwiftDetailsPage-Gvr65ujG-Cbkt0rds.js} +1 -1
  183. package/dist/assets/{VendorsAccountsSection-AmC5VwVD-DhkXxukb.js → VendorsAccountsSection-AmC5VwVD-Dai89305.js} +1 -1
  184. package/dist/assets/{VerifyDevice-PHsuiYk_-D412mfmG.js → VerifyDevice-PHsuiYk_-C3P5bI-f.js} +1 -1
  185. package/dist/assets/{VideoPlayer-DSqyhtMK-C3AGcKQT.js → VideoPlayer-DSqyhtMK-Bq_iUGAT.js} +1 -1
  186. package/dist/assets/{VideoPopup-BcGkTYtT-KpRyilVI.js → VideoPopup-BcGkTYtT-Bq1MviYe.js} +1 -1
  187. package/dist/assets/{WarningsDrawerPage-BMxsT694-CfyoaWK9.js → WarningsDrawerPage-BMxsT694-Dh0r8GII.js} +1 -1
  188. package/dist/assets/{ZeniAccountDetailPage-CvVIdc-T-DXao_tc2.js → ZeniAccountDetailPage-CvVIdc-T-CmWo3sKu.js} +1 -1
  189. package/dist/assets/{ZeniAccountListViewPage-D8RyYP_F-v3DmCD-q.js → ZeniAccountListViewPage-D8RyYP_F-Bp50NOd0.js} +1 -1
  190. package/dist/assets/{ZeniAccountNavBarPieces-DN7XGX4V-Dx8A5GLh.js → ZeniAccountNavBarPieces-DN7XGX4V-S7xRuo_L.js} +1 -1
  191. package/dist/assets/{ZeniAccountPromoPage-DtkPkWS_-DSD29DUQ.js → ZeniAccountPromoPage-DtkPkWS_-CqSOxNoQ.js} +1 -1
  192. package/dist/assets/{ZeniAccountSetupPage-NDzdHEb2-CwWBVh2N.js → ZeniAccountSetupPage-NDzdHEb2-BSdVbWlw.js} +1 -1
  193. package/dist/assets/{ZeniCopyright-C2Et8K0x-lDJzPJZG.js → ZeniCopyright-C2Et8K0x-BTL8B2k6.js} +1 -1
  194. package/dist/assets/{ZeniTransferAmountSlider-D7NLq8nU-CERt_WDB.js → ZeniTransferAmountSlider-D7NLq8nU-BqdW2fwr.js} +1 -1
  195. package/dist/assets/{analyticsHelper-CaFa35yP-G2_hr-0j.js → analyticsHelper-CaFa35yP-y6DqL5PI.js} +1 -1
  196. package/dist/assets/{analyticsHelper-DU_Un8e0.js → analyticsHelper-DmiuEs_i.js} +1 -1
  197. package/dist/assets/{chartTypes-D3stzk-w-BOvyI3x_.js → chartTypes-D3stzk-w-DQVIS8Ln.js} +1 -1
  198. package/dist/assets/{commonDimensions-DP_SFwFq-B4nonWMr.js → commonDimensions-DP_SFwFq-BksANX8O.js} +1 -1
  199. package/dist/assets/{detailCommon-Cz5amAEd-Cc-pki0l.js → detailCommon-Cz5amAEd-CO9_-OPi.js} +1 -1
  200. package/dist/assets/{downloadPdf-BEpDZsHw-iAkz6QUF.js → downloadPdf-BEpDZsHw-CzTXRf0g.js} +1 -1
  201. package/dist/assets/{index-CUpJHznP.js → index-BtlpidgV.js} +4 -4
  202. package/dist/assets/{mapLoadingInProgressToTreeNode-9Bg2UmOc-COxeXpBk.js → mapLoadingInProgressToTreeNode-9Bg2UmOc-bbKS3D2Z.js} +1 -1
  203. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CrGK4Cl1-CK5Yo8-v.js → mapSectionWithAcOnlyToTreeNode-CrGK4Cl1-9Hp5AlH4.js} +1 -1
  204. package/dist/assets/{mapSpacerToTreeNode-Dpahky1g-BWER0KF3.js → mapSpacerToTreeNode-Dpahky1g-DWriXxV-.js} +1 -1
  205. package/dist/assets/{mapTimeframeBalancesToTreeNode-DD94NO-L-IqTvqjc2.js → mapTimeframeBalancesToTreeNode-DD94NO-L-LlYX5dPv.js} +1 -1
  206. package/dist/assets/{mapTimeframeBalancesToTreeNode-DGNk2hE1-BtbWYKjA.js → mapTimeframeBalancesToTreeNode-DGNk2hE1-Dsh1cQC2.js} +1 -1
  207. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CJYVSL83-sS_oqH0-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CJYVSL83-BSl-XV4B.js} +1 -1
  208. package/dist/assets/{toCOABalancesWithID-iOGWxWc5-CwkpaTeT.js → toCOABalancesWithID-iOGWxWc5-BQC_85M2.js} +1 -1
  209. package/dist/assets/{toChartData-BEJwj1pL-BUKCXEQF.js → toChartData-BEJwj1pL-G6Vr-TZM.js} +1 -1
  210. package/dist/assets/{uploadAttachment-Cs4cwF3u-BqxRSnPC.js → uploadAttachment-Cs4cwF3u-BgZER3AH.js} +1 -1
  211. package/dist/assets/{uploadReceipts-Dp1dvCjf-Rghek-rE.js → uploadReceipts-Dp1dvCjf-DdH6yc0b.js} +1 -1
  212. package/dist/index.html +1 -1
  213. package/package.json +1 -1
  214. package/dist/assets/CustomerOnboardingContainerPage-BoQBdIuG-Dc2nEhqg.js +0 -1
@@ -1,4 +1,4 @@
1
- import{j as t,o,ai as p,F as u}from"./index-CUpJHznP.js";import{n as i}from"./vendor-Bs1fkIUX.js";const f=i.div`
1
+ import{j as t,o,ai as p,F as u}from"./index-BtlpidgV.js";import{n as i}from"./vendor-Bs1fkIUX.js";const f=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{q as c,j as t,y as n,ai as x,bP as w}from"./index-CUpJHznP.js";import{n as r}from"./vendor-Bs1fkIUX.js";import{b as l}from"./TimeframeSwitcher-CV-bryv5-BZG0GUCh.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
1
+ import{q as c,j as t,y as n,ai as x,bP as w}from"./index-BtlpidgV.js";import{n as r}from"./vendor-Bs1fkIUX.js";import{b as l}from"./TimeframeSwitcher-CV-bryv5-D0JGSy-O.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aC as V,q as R,j as t,d as f,bR as T,bi as C,bh as S,bV as E,c1 as k,u as x,aX as _,b as L,c2 as G,c3 as q,aN as H,l as X,aK as F,o as p,ai as $,b9 as J,am as N,F as A,aL as Y,aM as Q,aR as O,b2 as U,b3 as W,aS as Z,c4 as ee}from"./index-CUpJHznP.js";import{w,b as te,n as g}from"./vendor-Bs1fkIUX.js";import{z as ae,I as re}from"./ReloadCard-Cnz9ywvF-BGT4MYH-.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const ie=g(O)`
1
+ import{aC as V,q as R,j as t,d as f,bR as T,bi as C,bh as S,bV as E,c1 as k,u as x,aX as _,b as L,c2 as G,c3 as q,aN as H,l as X,aK as F,o as p,ai as $,b9 as J,am as N,F as A,aL as Y,aM as Q,aR as O,b2 as U,b3 as W,aS as Z,c4 as ee}from"./index-BtlpidgV.js";import{w,b as te,n as g}from"./vendor-Bs1fkIUX.js";import{z as ae,I as re}from"./ReloadCard-Cnz9ywvF-cCwwnrRx.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const ie=g(O)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{d as v,q as S,l as A,j as t,bG as B,F as u,aN as b,b3 as H,G as z,o as i,y as E,c0 as P,bx as F,u as c,p as V,am as y,aM as T,a$ as M}from"./index-CUpJHznP.js";import{n as l,w as D,b as o}from"./vendor-Bs1fkIUX.js";import{E as _,I as L}from"./TopExCard-DeYN3ImD-B_G3aCn4.js";import{b as Z}from"./TimeframeSwitcher-CV-bryv5-BZG0GUCh.js";import{d as I}from"./NoDataTable-BhokhW6d-QEuWLEd7.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./ReloadCard-Cnz9ywvF-BGT4MYH-.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const j="141px",O=i.sp4,N="123px",R=l(M)`
1
+ import{d as v,q as S,l as A,j as t,bG as B,F as u,aN as b,b3 as H,G as z,o as i,y as E,c0 as P,bx as F,u as c,p as V,am as y,aM as T,a$ as M}from"./index-BtlpidgV.js";import{n as l,w as D,b as o}from"./vendor-Bs1fkIUX.js";import{E as _,I as L}from"./TopExCard-DeYN3ImD-Dkj3Ba2o.js";import{b as Z}from"./TimeframeSwitcher-CV-bryv5-D0JGSy-O.js";import{d as I}from"./NoDataTable-BhokhW6d-BUEpwEUA.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./ReloadCard-Cnz9ywvF-cCwwnrRx.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const j="141px",O=i.sp4,N="123px",R=l(M)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{J as Un,Q as qn,d as Et,aa as Fn,q as ae,F as q,aP as Yt,e8 as Wn,e9 as Hn,cT as Zn,aC as Gn,ea as tn,l as me,eb as Yn,j as i,aM as F,ad as Jn,bG as Qn,ec as Xn,ed as Kn,L as ai,ee as ki,aQ as ea,y as N,ef as ta,eg as nn,eh as an,ei as on,ej as Oe,ek as Le,el as _e,em as et,en as tt,eo as kt,ep as zt,eq as it,er as ft,es as At,et as Vt,eu as Jt,ev as ee,ew as Kt,ex as ue,ey as pe,aJ as ia,ez as Tt,eA as zi,eB as na,n as aa,cE as oa,o as a,cs as sa,eC as la,u as O,G as xi,p as le,ar as $i,ba as oi,r as ra,eD as ca,cz as da,cx as si,aN as je,d4 as lt,eE as ua,eF as Wt,aT as sn,d9 as pa,eG as ma,cv as ha,cw as ga,am as ye,a$ as fa,dp as ya,eH as ln,eI as Qt,eJ as Xt,eK as pi,dA as ba,b3 as xa,cI as va,dc as Di,a9 as rn,eL as ei,eM as ti,eN as cn,da as dn,c6 as Ti,eO as mi,dF as hi,eP as wa,bx as Ca,eQ as Ia,eR as Ai,eS as $a,az as Da,dd as Ta,eT as Oa,B as un,eU as pn,bQ as La,eV as Vi,eW as mn,eX as hn,eY as gn,bO as rt,av as ja,au as Sa,dN as ka,b as fn,eZ as za,bM as Aa,_ as Va,an as Ra,t as Ea,aV as vi}from"./index-CUpJHznP.js";import{b as w,n as l,w as Ot}from"./vendor-Bs1fkIUX.js";import{x as Ri}from"./LabeledControlledCheckBoxField-DNmJFVpZ-DjMQjBxM.js";import{R as Pa}from"./TrendWithTransactions-DoCnDpHm-CdDHaHZ9.js";import{u as _a,c as Na,d as Ba,m as Ma}from"./uploadAttachment-Cs4cwF3u-BqxRSnPC.js";import{o as Ua}from"./radio-default-CiSgisfh-Cuu8ymvq.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./TrendChart-D5CYCZnh-DAyWGjcL.js";import"./chartTypes-D3stzk-w-BOvyI3x_.js";import"./toCOABalancesWithID-iOGWxWc5-CwkpaTeT.js";import"./toChartData-BEJwj1pL-BUKCXEQF.js";import"./NoDataChart-BnAshBnb-UHLHtstu.js";import"./InsightsSection-B0Rg5beY-u8CdyXOx.js";import"./NavigationDots-CyCjbpW--DGfBQuMJ.js";import"./TransactionList-JHbSuP08-BE5oUWHj.js";import"./BoxItem-BFUJgt2x-BC0-eR6w.js";import"./commonDimensions-DP_SFwFq-B4nonWMr.js";const qa={headerMarginTop:new N(O[7],O[8])},Fa=l(ye)`
1
+ import{J as Un,Q as qn,d as Et,aa as Fn,q as ae,F as q,aP as Yt,e8 as Wn,e9 as Hn,cT as Zn,aC as Gn,ea as tn,l as me,eb as Yn,j as i,aM as F,ad as Jn,bG as Qn,ec as Xn,ed as Kn,L as ai,ee as ki,aQ as ea,y as N,ef as ta,eg as nn,eh as an,ei as on,ej as Oe,ek as Le,el as _e,em as et,en as tt,eo as kt,ep as zt,eq as it,er as ft,es as At,et as Vt,eu as Jt,ev as ee,ew as Kt,ex as ue,ey as pe,aJ as ia,ez as Tt,eA as zi,eB as na,n as aa,cE as oa,o as a,cs as sa,eC as la,u as O,G as xi,p as le,ar as $i,ba as oi,r as ra,eD as ca,cz as da,cx as si,aN as je,d4 as lt,eE as ua,eF as Wt,aT as sn,d9 as pa,eG as ma,cv as ha,cw as ga,am as ye,a$ as fa,dp as ya,eH as ln,eI as Qt,eJ as Xt,eK as pi,dA as ba,b3 as xa,cI as va,dc as Di,a9 as rn,eL as ei,eM as ti,eN as cn,da as dn,c6 as Ti,eO as mi,dF as hi,eP as wa,bx as Ca,eQ as Ia,eR as Ai,eS as $a,az as Da,dd as Ta,eT as Oa,B as un,eU as pn,bQ as La,eV as Vi,eW as mn,eX as hn,eY as gn,bO as rt,av as ja,au as Sa,dN as ka,b as fn,eZ as za,bM as Aa,_ as Va,an as Ra,t as Ea,aV as vi}from"./index-BtlpidgV.js";import{b as w,n as l,w as Ot}from"./vendor-Bs1fkIUX.js";import{x as Ri}from"./LabeledControlledCheckBoxField-DNmJFVpZ-EZh4BAHK.js";import{R as Pa}from"./TrendWithTransactions-DoCnDpHm-CseGzJLE.js";import{u as _a,c as Na,d as Ba,m as Ma}from"./uploadAttachment-Cs4cwF3u-BgZER3AH.js";import{o as Ua}from"./radio-default-CiSgisfh-Cuu8ymvq.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./TrendChart-D5CYCZnh-jI_0d3RS.js";import"./chartTypes-D3stzk-w-DQVIS8Ln.js";import"./toCOABalancesWithID-iOGWxWc5-BQC_85M2.js";import"./toChartData-BEJwj1pL-G6Vr-TZM.js";import"./NoDataChart-BnAshBnb-CEIovBiA.js";import"./InsightsSection-B0Rg5beY-C7jqTQvj.js";import"./NavigationDots-CyCjbpW--CcAb2ybd.js";import"./TransactionList-JHbSuP08-C9rgd_Ix.js";import"./BoxItem-BFUJgt2x-opQLNc_u.js";import"./commonDimensions-DP_SFwFq-BksANX8O.js";const qa={headerMarginTop:new N(O[7],O[8])},Fa=l(ye)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Wa=l(ye)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{cs as rt,q as B,j as e,b3 as nt,aM as u,dA as st,F as v,dB as lt,du as dt,dC as ct,o as a,p as Z,cI as mt,y as U,l as m,L as ft,am as j,u as b,ai as xt,dD as W,dg as G,aN as J,an as ut}from"./index-CUpJHznP.js";import{b as g,n as s,w as ht}from"./vendor-Bs1fkIUX.js";import{g as _}from"./BoxItem-BFUJgt2x-BC0-eR6w.js";import{o as E}from"./commonDimensions-DP_SFwFq-B4nonWMr.js";const D=t=>t?24:125,pt={containerPaddingBottom:new U(b[9],b[8])},V=s.div`
1
+ import{cs as rt,q as B,j as e,b3 as nt,aM as u,dA as st,F as v,dB as lt,du as dt,dC as ct,o as a,p as Z,cI as mt,y as U,l as m,L as ft,am as j,u as b,ai as xt,dD as W,dg as G,aN as J,an as ut}from"./index-BtlpidgV.js";import{b as g,n as s,w as ht}from"./vendor-Bs1fkIUX.js";import{g as _}from"./BoxItem-BFUJgt2x-opQLNc_u.js";import{o as E}from"./commonDimensions-DP_SFwFq-BksANX8O.js";const D=t=>t?24:125,pt={containerPaddingBottom:new U(b[9],b[8])},V=s.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,q as I,ax as W,aD as ie,aX as ne,l as B,j as t,aM as x,b3 as re,F as w,u as n,b as ae,p as D,o,B as j,M as X,bv as se,bw as le,ai as de,ar as ce,aN as me,bx as pe,ap as he,L as ue,n as Z,G,by as Q,aS as ee}from"./index-CUpJHznP.js";import{b as N,n as i,w as f,i as ge}from"./vendor-Bs1fkIUX.js";import{Y as xe,c as we}from"./AccountsPromoCardStack-CqXbhSj4-Dxz2-66c.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./SummaryCard-Bk5Eh2IR-CvYAWxo_.js";import"./ReloadCard-Cnz9ywvF-BGT4MYH-.js";import"./NavigationArrow-DQfX85VC-Dvm4TJ9a.js";import"./NavigationDots-CyCjbpW--DGfBQuMJ.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{y as a,q as I,ax as W,aD as ie,aX as ne,l as B,j as t,aM as x,b3 as re,F as w,u as n,b as ae,p as D,o,B as j,M as X,bv as se,bw as le,ai as de,ar as ce,aN as me,bx as pe,ap as he,L as ue,n as Z,G,by as Q,aS as ee}from"./index-BtlpidgV.js";import{b as N,n as i,w as f,i as ge}from"./vendor-Bs1fkIUX.js";import{Y as xe,c as we}from"./AccountsPromoCardStack-CqXbhSj4-Bq_NoktP.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./SummaryCard-Bk5Eh2IR-C1Ko3Pw8.js";import"./ReloadCard-Cnz9ywvF-cCwwnrRx.js";import"./NavigationArrow-DQfX85VC-CA-sDlNd.js";import"./NavigationDots-CyCjbpW--CcAb2ybd.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,be=i.div`
@@ -1,4 +1,4 @@
1
- import{d as A,bE as G,bF as M,j as o,aM as u,bG as z,L as _,bH as H,o as n,am as X}from"./index-CUpJHznP.js";import{b as r,n as l}from"./vendor-Bs1fkIUX.js";import{f as Z}from"./TransactionList-JHbSuP08-BE5oUWHj.js";import{t as q}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BoxItem-BFUJgt2x-BC0-eR6w.js";import"./commonDimensions-DP_SFwFq-B4nonWMr.js";const J=l.div`
1
+ import{d as A,bE as G,bF as M,j as o,aM as u,bG as z,L as _,bH as H,o as n,am as X}from"./index-BtlpidgV.js";import{b as r,n as l}from"./vendor-Bs1fkIUX.js";import{f as Z}from"./TransactionList-JHbSuP08-C9rgd_Ix.js";import{t as q}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BoxItem-BFUJgt2x-opQLNc_u.js";import"./commonDimensions-DP_SFwFq-BksANX8O.js";const J=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{q as A,F,j as o,L as R,aM as D,aQ as W,o as a,y as g,_,B as J,di as Q,aa as U,hj as k,hk as B,hl as M,cT as X,ad as G,u as r,d as K,cW as Y,gX as z,hq as Z,b7 as ee,hu as oe,hv as te}from"./index-CUpJHznP.js";import{b as j,n as d}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const O=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=F.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=A(),y=K(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),P=n=>h.filter(L=>L.accountId===n)[0]?.coaId??"",s=n=>C.filter(L=>L.classId===n)[0]?.accountingClassNumber??"",S=n=>{const L=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(L??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:B(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,allOptions:k(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:M(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},re=d.div`
1
+ import{q as A,F,j as o,L as R,aM as D,aQ as W,o as a,y as g,_,B as J,di as Q,aa as U,hj as k,hk as B,hl as M,cT as X,ad as G,u as r,d as K,cW as Y,gX as z,hq as Z,b7 as ee,hu as oe,hv as te}from"./index-BtlpidgV.js";import{b as j,n as d}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const O=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=F.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=A(),y=K(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),P=n=>h.filter(L=>L.accountId===n)[0]?.coaId??"",s=n=>C.filter(L=>L.classId===n)[0]?.accountingClassNumber??"",S=n=>{const L=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(L??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:B(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,allOptions:k(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:M(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},re=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{j as t,q as ue,aM as A,hD as lt,F as I,aN as G,n as ve,hP as ct,L as Ve,aQ as $e,o as a,y as c,_ as Ne,c as dt,b9 as ut,ar as ft,a as De,ai as be,am as fe,aP as ce,fL as pt,aa as Xe,l as mt,cT as ht,aX as gt,aO as wt,p as Z,ad as qe,fZ as ke,f_ as Ae,gp as xt,c6 as ye,gj as $t,hQ as Dt,u as o,fC as bt,cx as Ge,cf as yt,dn as Tt,bQ as Ct,an as Qe,fT as St,dN as vt,ch as Ze,hE as kt,hG as At}from"./index-CUpJHznP.js";import{b as u,n}from"./vendor-Bs1fkIUX.js";import{v as Lt}from"./ZeniTransferAmountSlider-D7NLq8nU-CERt_WDB.js";import{r as Pt}from"./AccountInfoPageContent-CgDFcQqY-CqasllNx.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./downloadPdf-BEpDZsHw-iAkz6QUF.js";import"./commonDimensions-DP_SFwFq-B4nonWMr.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:U,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),H=r.transferMoneyPartiesFetchState,oe=ce(H),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&q()},[V,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};U(le)}};u.useEffect(()=>{const s=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const s=L.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Yt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Z.heroLight}})})]})}):null,t.jsx(Vt,{children:G("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Le),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ue),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Gt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Qt,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ve,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,r)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{j as t,q as ue,aM as A,hD as lt,F as I,aN as G,n as ve,hP as ct,L as Ve,aQ as $e,o as a,y as c,_ as Ne,c as dt,b9 as ut,ar as ft,a as De,ai as be,am as fe,aP as ce,fL as pt,aa as Xe,l as mt,cT as ht,aX as gt,aO as wt,p as Z,ad as qe,fZ as ke,f_ as Ae,gp as xt,c6 as ye,gj as $t,hQ as Dt,u as o,fC as bt,cx as Ge,cf as yt,dn as Tt,bQ as Ct,an as Qe,fT as St,dN as vt,ch as Ze,hE as kt,hG as At}from"./index-BtlpidgV.js";import{b as u,n}from"./vendor-Bs1fkIUX.js";import{v as Lt}from"./ZeniTransferAmountSlider-D7NLq8nU-BqdW2fwr.js";import{r as Pt}from"./AccountInfoPageContent-CgDFcQqY-CnxvudEj.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./downloadPdf-BEpDZsHw-CzTXRf0g.js";import"./commonDimensions-DP_SFwFq-BksANX8O.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:U,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),H=r.transferMoneyPartiesFetchState,oe=ce(H),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&q()},[V,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};U(le)}};u.useEffect(()=>{const s=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const s=L.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Yt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Z.heroLight}})})]})}):null,t.jsx(Vt,{children:G("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Le),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ue),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Gt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Qt,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ve,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,r)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{q as C,d as M,a9 as Fe,cs as Ke,j as t,F as L,aN as V,c6 as re,bG as We,b as ie,aM as E,L as Ve,o as i,ai as k,p as w,bQ as Ee,y,fu as q,B as R,l as W,u as p,hI as le,bf as de,bi as ce,bh as he,bg as pe,bT as Ge,b4 as ae,b_ as Le,aS as Me,ax as Ue,g5 as Je,ha as _e,n as qe,am as A,a$ as Xe,jC as Ze,kd as Qe,bl as et,f1 as tt,ds as it,fT as ot,l9 as nt,ja as Ae,jb as Oe,cI as rt,j1 as at,j2 as st,la as lt,c4 as dt,an as G,cN as xe,j9 as ct,cQ as ht}from"./index-CUpJHznP.js";import{b as f,n as o,w as pt,i as ge}from"./vendor-Bs1fkIUX.js";import{s as xt}from"./commonDimensions-DP_SFwFq-B4nonWMr.js";import{g as me}from"./BoxItem-BFUJgt2x-BC0-eR6w.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import{o as mt}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const h=M(),l=C(),[r,u]=f.useState(oe());f.useEffect(()=>{const c=[...r];for(const s of c)s.key===n.sortKey?s.sortOrder=n.sortOrder:s.sortOrder="ascending";u(c)},[n.sortKey,n.sortOrder]);const d=(c,s)=>{let m=s;n.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),a(c,m)},g=r.find(c=>c.key===n.sortKey)??r[0],x=c=>r.find(s=>s.key===c)?.value??"",$=r.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:n.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:r.map(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",n.sortKey),children:[t.jsx(G,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",n.sortKey)})})]},c.key))})})}const $t=pt.memo(wt),jt=o.div`
1
+ import{q as C,d as M,a9 as Fe,cs as Ke,j as t,F as L,aN as V,c6 as re,bG as We,b as ie,aM as E,L as Ve,o as i,ai as k,p as w,bQ as Ee,y,fu as q,B as R,l as W,u as p,hI as le,bf as de,bi as ce,bh as he,bg as pe,bT as Ge,b4 as ae,b_ as Le,aS as Me,ax as Ue,g5 as Je,ha as _e,n as qe,am as A,a$ as Xe,jC as Ze,kd as Qe,bl as et,f1 as tt,ds as it,fT as ot,l9 as nt,ja as Ae,jb as Oe,cI as rt,j1 as at,j2 as st,la as lt,c4 as dt,an as G,cN as xe,j9 as ct,cQ as ht}from"./index-BtlpidgV.js";import{b as f,n as o,w as pt,i as ge}from"./vendor-Bs1fkIUX.js";import{s as xt}from"./commonDimensions-DP_SFwFq-BksANX8O.js";import{g as me}from"./BoxItem-BFUJgt2x-opQLNc_u.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import{o as mt}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const h=M(),l=C(),[r,u]=f.useState(oe());f.useEffect(()=>{const c=[...r];for(const s of c)s.key===n.sortKey?s.sortOrder=n.sortOrder:s.sortOrder="ascending";u(c)},[n.sortKey,n.sortOrder]);const d=(c,s)=>{let m=s;n.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),a(c,m)},g=r.find(c=>c.key===n.sortKey)??r[0],x=c=>r.find(s=>s.key===c)?.value??"",$=r.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:n.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:r.map(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",n.sortKey),children:[t.jsx(G,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",n.sortKey)})})]},c.key))})})}const $t=pt.memo(wt),jt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{d as ce,q as A,ax as $e,a9 as fe,aP as ye,l as ke,F,j as r,bG as je,fG as be,b4 as Se,o as i,jC as ze,c6 as ve,ai as j,n as Q,aM as Z,B as $,ar as O,p as a,y as z,am as R,ds as Le,c8 as Me,c as Pe,an as Be,fo as Ee,u as h,e5 as Te,bk as Ie,a as De,_ as We,b as ee,di as _e}from"./index-CUpJHznP.js";import{b as s,n as t,w as Re}from"./vendor-Bs1fkIUX.js";import{I as Ge,K as He}from"./VideoPlayer-DSqyhtMK-C3AGcKQT.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as Ae}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const Fe=({isOpen:e,onClose:C})=>{const c=A(),x=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ee,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Oe,{windowSize:c,children:[r.jsx(Ve,{children:r.jsx(Ye,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(re,{children:x.agreementDrawer.intro}),r.jsx(H,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(H,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((g,k)=>r.jsx(Qe,{children:g.link!==""?r.jsx(ie,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(H,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Oe=t.div`
1
+ import{d as ce,q as A,ax as $e,a9 as fe,aP as ye,l as ke,F,j as r,bG as je,fG as be,b4 as Se,o as i,jC as ze,c6 as ve,ai as j,n as Q,aM as Z,B as $,ar as O,p as a,y as z,am as R,ds as Le,c8 as Me,c as Pe,an as Be,fo as Ee,u as h,e5 as Te,bk as Ie,a as De,_ as We,b as ee,di as _e}from"./index-BtlpidgV.js";import{b as s,n as t,w as Re}from"./vendor-Bs1fkIUX.js";import{I as Ge,K as He}from"./VideoPlayer-DSqyhtMK-Bq_iUGAT.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as Ae}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const Fe=({isOpen:e,onClose:C})=>{const c=A(),x=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ee,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Oe,{windowSize:c,children:[r.jsx(Ve,{children:r.jsx(Ye,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(re,{children:x.agreementDrawer.intro}),r.jsx(H,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(H,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((g,k)=>r.jsx(Qe,{children:g.link!==""?r.jsx(ie,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(H,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Oe=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d as j,q as v,j as t,bG as z,F as P,b3 as C,o as r,p as c,cI as I,y as R,u as d,am as T}from"./index-CUpJHznP.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-BFUJgt2x-BC0-eR6w.js";import{o as E}from"./commonDimensions-DP_SFwFq-B4nonWMr.js";import{O as L}from"./StatementItem-CiYj7XWK-5AkRMgC4.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./downloadPdf-BEpDZsHw-iAkz6QUF.js";const h=P.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>E.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(K,{children:h.noStatements})})})})};return t.jsxs(H,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(O,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
1
+ import{d as j,q as v,j as t,bG as z,F as P,b3 as C,o as r,p as c,cI as I,y as R,u as d,am as T}from"./index-BtlpidgV.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-BFUJgt2x-opQLNc_u.js";import{o as E}from"./commonDimensions-DP_SFwFq-BksANX8O.js";import{O as L}from"./StatementItem-CiYj7XWK-C2ak2Frp.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./downloadPdf-BEpDZsHw-CzTXRf0g.js";const h=P.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>E.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(K,{children:h.noStatements})})})})};return t.jsxs(H,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(O,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{d as S,q as v,j as t,bG as L,F as z,b3 as P,o as r,p as c,cI as C,y as I,u as d,am as T}from"./index-CUpJHznP.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-BFUJgt2x-BC0-eR6w.js";import{o as B}from"./commonDimensions-DP_SFwFq-B4nonWMr.js";import{O as E}from"./StatementItem-CiYj7XWK-5AkRMgC4.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./downloadPdf-BEpDZsHw-iAkz6QUF.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:u})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:R(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(K,{children:p.noTaxLetter})})})})};return t.jsxs(H,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(O,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},M=o.div``,m=o.div`
1
+ import{d as S,q as v,j as t,bG as L,F as z,b3 as P,o as r,p as c,cI as C,y as I,u as d,am as T}from"./index-BtlpidgV.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-BFUJgt2x-opQLNc_u.js";import{o as B}from"./commonDimensions-DP_SFwFq-BksANX8O.js";import{O as E}from"./StatementItem-CiYj7XWK-C2ak2Frp.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./downloadPdf-BEpDZsHw-CzTXRf0g.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:u})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:R(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(K,{children:p.noTaxLetter})})})})};return t.jsxs(H,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(O,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},M=o.div``,m=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{F as Y,j as i,l as u,d as R,aM as w,b3 as Z,bR as z,bS as A,bi as B,b as k,bh as P,aX as O,bT as q,bj as _,bV as G,o as L,p as K,am as N}from"./index-CUpJHznP.js";import{b as D,w as V,n as $}from"./vendor-Bs1fkIUX.js";import{d as W,g as T,p as v,u as X}from"./chartTypes-D3stzk-w-BOvyI3x_.js";import{o as Q}from"./toCOABalancesWithID-iOGWxWc5-CwkpaTeT.js";import{V as H}from"./toChartData-BEJwj1pL-BUKCXEQF.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const I=$.div`
1
+ import{F as Y,j as i,l as u,d as R,aM as w,b3 as Z,bR as z,bS as A,bi as B,b as k,bh as P,aX as O,bT as q,bj as _,bV as G,o as L,p as K,am as N}from"./index-BtlpidgV.js";import{b as D,w as V,n as $}from"./vendor-Bs1fkIUX.js";import{d as W,g as T,p as v,u as X}from"./chartTypes-D3stzk-w-DQVIS8Ln.js";import{o as Q}from"./toCOABalancesWithID-iOGWxWc5-BQC_85M2.js";import{V as H}from"./toChartData-BEJwj1pL-G6Vr-TZM.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const I=$.div`
2
2
  display: flex;
3
3
  `,J=$.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{q as D,j as i,L as R,o as t,F,y as c,aM as S,b3 as A,b7 as Y,a as _,u as a,am as E,_ as K}from"./index-CUpJHznP.js";import{b as k,n}from"./vendor-Bs1fkIUX.js";import V from"./TrendChart-D5CYCZnh-DAyWGjcL.js";import{C as W}from"./NoDataChart-BnAshBnb-UHLHtstu.js";import{q as X}from"./InsightsSection-B0Rg5beY-u8CdyXOx.js";import{f as Z}from"./TransactionList-JHbSuP08-BE5oUWHj.js";const G=n.div`
1
+ import{q as D,j as i,L as R,o as t,F,y as c,aM as S,b3 as A,b7 as Y,a as _,u as a,am as E,_ as K}from"./index-BtlpidgV.js";import{b as k,n}from"./vendor-Bs1fkIUX.js";import V from"./TrendChart-D5CYCZnh-jI_0d3RS.js";import{C as W}from"./NoDataChart-BnAshBnb-CEIovBiA.js";import{q as X}from"./InsightsSection-B0Rg5beY-C7jqTQvj.js";import{f as Z}from"./TransactionList-JHbSuP08-C9rgd_Ix.js";const G=n.div`
2
2
  display: inline-block;
3
3
  `,J=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{d as ce,q as se,ax as Ke,aP as en,gS as R,h$ as U,F as H,aa as nn,i0 as tn,i1 as Te,cT as on,j as t,bG as cn,cE as sn,cF as ln,cG as an,ad as dn,l as J,i2 as rn,L as un,i3 as Y,i4 as pn,aQ as mn,fK as gn,i5 as _e,y as u,am as xn,o as l,d4 as fe,aU as W,gX as oe,i6 as ie,u as r,B as Ae,p as $e,gi as Ve,ai as Se,bn as hn}from"./index-CUpJHznP.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{h as wn}from"./VendorsAccountsSection-AmC5VwVD-DhkXxukb.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{d as ce,q as se,ax as Ke,aP as en,gS as R,h$ as U,F as H,aa as nn,i0 as tn,i1 as Te,cT as on,j as t,bG as cn,cE as sn,cF as ln,cG as an,ad as dn,l as J,i2 as rn,L as un,i3 as Y,i4 as pn,aQ as mn,fK as gn,i5 as _e,y as u,am as xn,o as l,d4 as fe,aU as W,gX as oe,i6 as ie,u as r,B as Ae,p as $e,gi as Ve,ai as Se,bn as hn}from"./index-BtlpidgV.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{h as wn}from"./VendorsAccountsSection-AmC5VwVD-Dai89305.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aP as b,j as t,i8 as R,i9 as _,q as F,F as O,cE as U,af as C,cF as z,cG as N,aa as G,ad as M,d0 as H,l as T,cY as D,y as g,cZ as Y,p as A,ap as J,L as Z,n as K,o as i,am as Q,u as E,ar as X,ba as ee}from"./index-CUpJHznP.js";import{b as c,n as f}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(E[3],E[2]),width:new g(300,420,420)},te=f.div`
1
+ import{aP as b,j as t,i8 as R,i9 as _,q as F,F as O,cE as U,af as C,cF as z,cG as N,aa as G,ad as M,d0 as H,l as T,cY as D,y as g,cZ as Y,p as A,ap as J,L as Z,n as K,o as i,am as Q,u as E,ar as X,ba as ee}from"./index-BtlpidgV.js";import{b as c,n as f}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(E[3],E[2]),width:new g(300,420,420)},te=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{aa as k,fV as g,aP as M,l as _,q as W,F as q,j as i,cT as A,ad as G,aM as Q,fW as H,o as a,p as J,d1 as K,aQ as X,y as x,_ as Y,a as Z,ba as ee,b9 as te,u as c}from"./index-CUpJHznP.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:$,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onSendForVerificationClick:D,onCompanyOfficerUpdated:z}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,b]=m.useState(!1),[N,O]=m.useState(!1),S=M(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(l=>l!=null),V=_.reduceAllFetchState(T);m.useEffect(()=>{S==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[S,f,n,t?.additionalFiles]);const r=W(),h=q.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:y}=h,L=`${y.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),U=async(l,p)=>{const d=p[u].front;l.includes("front")&&d?.fileId!=null?(z?.(t?.officerType??"Officer_1",[d?.fileId]),b(!0)):b(!1)};return m.useEffect(()=>{const l=n.watch((p,{name:d})=>{d!=null&&p!=null&&A(()=>U(d,p))});return()=>{l.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":Q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:y.title[s]}),i.jsx(ae,{children:y.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:l=>O(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(X,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Z)`
1
+ import{aa as k,fV as g,aP as M,l as _,q as W,F as q,j as i,cT as A,ad as G,aM as Q,fW as H,o as a,p as J,d1 as K,aQ as X,y as x,_ as Y,a as Z,ba as ee,b9 as te,u as c}from"./index-BtlpidgV.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:$,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onSendForVerificationClick:D,onCompanyOfficerUpdated:z}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,b]=m.useState(!1),[N,O]=m.useState(!1),S=M(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(l=>l!=null),V=_.reduceAllFetchState(T);m.useEffect(()=>{S==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[S,f,n,t?.additionalFiles]);const r=W(),h=q.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:y}=h,L=`${y.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),U=async(l,p)=>{const d=p[u].front;l.includes("front")&&d?.fileId!=null?(z?.(t?.officerType??"Officer_1",[d?.fileId]),b(!0)):b(!1)};return m.useEffect(()=>{const l=n.watch((p,{name:d})=>{d!=null&&p!=null&&A(()=>U(d,p))});return()=>{l.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":Q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:y.title[s]}),i.jsx(ae,{children:y.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:l=>O(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(X,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Z)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aP as o,F as j,j as i,i8 as v,i9 as y}from"./index-CUpJHznP.js";import{b as e}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:d,onResendOtp:h,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),P=j.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(v,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:h,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(y,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:E=>d?.(E)}}):null})};export{H as default};
1
+ import{aP as o,F as j,j as i,i8 as v,i9 as y}from"./index-BtlpidgV.js";import{b as e}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:d,onResendOtp:h,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),P=j.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(v,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:h,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(y,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:E=>d?.(E)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-CUpJHznP.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-CgSAnexf-B3A8op6h.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountWarningSection-BYhi53r4-4douKQRZ.js";import"./MagicLinkTitleSection-BVR_lDfw-BbQ3PhCM.js";import"./BankAccountSection-SGI34h8u-BmPo8uGy.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
1
+ import{j as u}from"./index-BtlpidgV.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-CgSAnexf-i_8YOjr-.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountWarningSection-BYhi53r4-Dz4tDkQf.js";import"./MagicLinkTitleSection-BVR_lDfw-B40quQKP.js";import"./BankAccountSection-SGI34h8u-BBxP7hIN.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{F as _,d as Re,q as ne,y as g,aC as be,l as se,cV as xt,aa as yt,hj as Be,hk as Ae,hl as Ee,hm as fe,hn as bt,aU as ft,cT as wt,j as t,bG as Ct,ad as $t,ho as St,hp as ue,u as l,cU as Dt,aQ as jt,o,b$ as S,d4 as Tt,gX as we,hq as Lt,cW as Vt,cX as kt,cY as It,hr as Ot,gq as Pt,d2 as Mt,hs as zt,ht as Ft,p as F,dM as _t,dL as Nt,dg as Wt,aX as de,b7 as Ue,ai as Ye,dN as Ht,a$ as Rt,hu as Bt,hv as At,am as Et,hw as Ut,cx as qe,hx as Yt,B as Ce,M as Ge}from"./index-CUpJHznP.js";import{b as $,n as a,i as qt}from"./vendor-Bs1fkIUX.js";import{k as Gt}from"./SubTabSwitcher-BFezBmcr-Bv0UYLck.js";import{f as Qt}from"./TransactionList-JHbSuP08-BE5oUWHj.js";import{R as Xt}from"./TrendWithTransactions-DoCnDpHm-CdDHaHZ9.js";import{o as Jt,t as Zt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Kt}from"./LabeledAddressValueField-jlDhqmgU-CM1ZWEJK.js";import{Y as es}from"./LabeledDropDownFormattedTextField-CD6Bs8EU-Bok-Bw1g.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BoxItem-BFUJgt2x-BC0-eR6w.js";import"./commonDimensions-DP_SFwFq-B4nonWMr.js";import"./TrendChart-D5CYCZnh-DAyWGjcL.js";import"./chartTypes-D3stzk-w-BOvyI3x_.js";import"./toCOABalancesWithID-iOGWxWc5-CwkpaTeT.js";import"./toChartData-BEJwj1pL-BUKCXEQF.js";import"./NoDataChart-BnAshBnb-UHLHtstu.js";import"./InsightsSection-B0Rg5beY-u8CdyXOx.js";import"./NavigationDots-CyCjbpW--DGfBQuMJ.js";const ts=a.div`
1
+ import{F as _,d as Re,q as ne,y as g,aC as be,l as se,cV as xt,aa as yt,hj as Be,hk as Ae,hl as Ee,hm as fe,hn as bt,aU as ft,cT as wt,j as t,bG as Ct,ad as $t,ho as St,hp as ue,u as l,cU as Dt,aQ as jt,o,b$ as S,d4 as Tt,gX as we,hq as Lt,cW as Vt,cX as kt,cY as It,hr as Ot,gq as Pt,d2 as Mt,hs as zt,ht as Ft,p as F,dM as _t,dL as Nt,dg as Wt,aX as de,b7 as Ue,ai as Ye,dN as Ht,a$ as Rt,hu as Bt,hv as At,am as Et,hw as Ut,cx as qe,hx as Yt,B as Ce,M as Ge}from"./index-BtlpidgV.js";import{b as $,n as a,i as qt}from"./vendor-Bs1fkIUX.js";import{k as Gt}from"./SubTabSwitcher-BFezBmcr-BpoFQXM4.js";import{f as Qt}from"./TransactionList-JHbSuP08-C9rgd_Ix.js";import{R as Xt}from"./TrendWithTransactions-DoCnDpHm-CseGzJLE.js";import{o as Jt,t as Zt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Kt}from"./LabeledAddressValueField-jlDhqmgU-BPufGwXD.js";import{Y as es}from"./LabeledDropDownFormattedTextField-CD6Bs8EU-8n_glFVG.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BoxItem-BFUJgt2x-opQLNc_u.js";import"./commonDimensions-DP_SFwFq-BksANX8O.js";import"./TrendChart-D5CYCZnh-jI_0d3RS.js";import"./chartTypes-D3stzk-w-DQVIS8Ln.js";import"./toCOABalancesWithID-iOGWxWc5-BQC_85M2.js";import"./toChartData-BEJwj1pL-G6Vr-TZM.js";import"./NoDataChart-BnAshBnb-CEIovBiA.js";import"./InsightsSection-B0Rg5beY-C7jqTQvj.js";import"./NavigationDots-CyCjbpW--CcAb2ybd.js";const ts=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{j as S}from"./index-CUpJHznP.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-W6hOjjFW-BWSats5d.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountSection-SGI34h8u-BmPo8uGy.js";import"./MagicLinkTitleSection-BVR_lDfw-BbQ3PhCM.js";import"./BankAccountWarningSection-BYhi53r4-4douKQRZ.js";import"./MailingDetailsSection-DZi-O94--DF-Hpww_.js";import"./LabeledAddressValueField-jlDhqmgU-CM1ZWEJK.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
1
+ import{j as S}from"./index-BtlpidgV.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-W6hOjjFW-BwCOX1w5.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountSection-SGI34h8u-BBxP7hIN.js";import"./MagicLinkTitleSection-BVR_lDfw-B40quQKP.js";import"./BankAccountWarningSection-BYhi53r4-Dz4tDkQf.js";import"./MailingDetailsSection-DZi-O94--BIJQvtBB.js";import"./LabeledAddressValueField-jlDhqmgU-BPufGwXD.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
@@ -1,4 +1,4 @@
1
- import{q as oe,d as Ne,F as ne,aa as ke,dk as U,hy as de,cT as Ae,y as w,j as t,bG as Be,aM as Ee,ad as Re,cW as C,o as s,c_ as We,hr as qe,gq as Me,d2 as Oe,hs as He,ht as Ge,da as Ue,aQ as Ye,dc as _e,dl as Ke,u as c,_ as Ze,b$ as D,cR as Qe,hz as Je,p as I,V as Xe,cx as et,am as ce,eZ as tt,hA as st,hB as lt,hC as O,dm as it}from"./index-CUpJHznP.js";import{b as y,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CD6Bs8EU-Bok-Bw1g.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:W}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:O(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:O(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:O(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:U(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{q as oe,d as Ne,F as ne,aa as ke,dk as U,hy as de,cT as Ae,y as w,j as t,bG as Be,aM as Ee,ad as Re,cW as C,o as s,c_ as We,hr as qe,gq as Me,d2 as Oe,hs as He,ht as Ge,da as Ue,aQ as Ye,dc as _e,dl as Ke,u as c,_ as Ze,b$ as D,cR as Qe,hz as Je,p as I,V as Xe,cx as et,am as ce,eZ as tt,hA as st,hB as lt,hC as O,dm as it}from"./index-BtlpidgV.js";import{b as y,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CD6Bs8EU-8n_glFVG.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:W}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:O(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:O(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:O(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:U(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{q as ae,ax as Nn,d as mn,aa as nt,ik as ze,cT as tt,az as On,il as re,im as ve,io as fe,ip as be,iq as me,F as je,j as n,ig as ot,ad as it,bG as rt,ab as st,cE as at,cF as lt,cG as dt,c8 as ct,aM as Y,b_ as mt,cB as pt,b3 as ut,dH as ht,cI as gt,y as w,L as wt,G as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cN as vt,l as Pn,dM as zn,b$ as Pe,bm as Tn,cQ as ft,ce as bt,dZ as $t,ba as Ye,by as pn,p as F,r as Dn,h9 as St,dD as wn,dg as rn,ir as yt,is as sn,ap as jt,c6 as Fe,e7 as Rt,eO as xn,bQ as Vt,dO as Ct,n as vn,it as kt,d4 as Mt,dc as Nt,dd as Ot,eT as It,an as Ln,iu as Pt,bO as se,iv as fn,gZ as zt,av as Tt,au as Dt,dN as Lt,b as _n,B as _t,t as At,aV as dn}from"./index-CUpJHznP.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as Bt}from"./mui-Ty75qFQF.js";import{P as Ft}from"./Menu-DGwHJlS--Djq7PCKE.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const An=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(Wt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{q as ae,ax as Nn,d as mn,aa as nt,ik as ze,cT as tt,az as On,il as re,im as ve,io as fe,ip as be,iq as me,F as je,j as n,ig as ot,ad as it,bG as rt,ab as st,cE as at,cF as lt,cG as dt,c8 as ct,aM as Y,b_ as mt,cB as pt,b3 as ut,dH as ht,cI as gt,y as w,L as wt,G as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cN as vt,l as Pn,dM as zn,b$ as Pe,bm as Tn,cQ as ft,ce as bt,dZ as $t,ba as Ye,by as pn,p as F,r as Dn,h9 as St,dD as wn,dg as rn,ir as yt,is as sn,ap as jt,c6 as Fe,e7 as Rt,eO as xn,bQ as Vt,dO as Ct,n as vn,it as kt,d4 as Mt,dc as Nt,dd as Ot,eT as It,an as Ln,iu as Pt,bO as se,iv as fn,gZ as zt,av as Tt,au as Dt,dN as Lt,b as _n,B as _t,t as At,aV as dn}from"./index-BtlpidgV.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as Bt}from"./mui-Ty75qFQF.js";import{P as Ft}from"./Menu-DGwHJlS--B2gglYn5.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const An=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(Wt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Et=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,q as Q,aa as he,F as U,cT as ye,aC as ge,l as Y,cE as be,cF as fe,cG as xe,ad as ve,aQ as we,y as p,dk as le,dl as Ce,o as y,b9 as $e,d4 as oe,d as ne,dm as je,dn as J,da as G,b1 as H,cW as De,dp as Te,u as a,dc as ke,aM as Fe,p as V,L as Se,B as Oe,c6 as Le,ai as Ae,bQ as We}from"./index-CUpJHznP.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-BYhi53r4-4douKQRZ.js";import{T as Re}from"./MailingDetailsSection-DZi-O94--DF-Hpww_.js";import{S as Pe}from"./CurrencySelectField-PjVnHOPO-De5v3EBh.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./LabeledAddressValueField-jlDhqmgU-CM1ZWEJK.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:F=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Se,{size:"Small",start:!0})});if(F&&D||j){let c=null;return o===!0&&F&&w&&(c=t.jsx(Le,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":Fe("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(_e,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const Be=g.div`
1
+ import{j as t,q as Q,aa as he,F as U,cT as ye,aC as ge,l as Y,cE as be,cF as fe,cG as xe,ad as ve,aQ as we,y as p,dk as le,dl as Ce,o as y,b9 as $e,d4 as oe,d as ne,dm as je,dn as J,da as G,b1 as H,cW as De,dp as Te,u as a,dc as ke,aM as Fe,p as V,L as Se,B as Oe,c6 as Le,ai as Ae,bQ as We}from"./index-BtlpidgV.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-BYhi53r4-Dz4tDkQf.js";import{T as Re}from"./MailingDetailsSection-DZi-O94--BIJQvtBB.js";import{S as Pe}from"./CurrencySelectField-PjVnHOPO-BAZfxuLd.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./LabeledAddressValueField-jlDhqmgU-BPufGwXD.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:F=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Se,{size:"Small",start:!0})});if(F&&D||j){let c=null;return o===!0&&F&&w&&(c=t.jsx(Le,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":Fe("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(_e,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const Be=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./index-CUpJHznP.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-ChSGHFzT-CvsM4E7Y.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountWarningSection-BYhi53r4-4douKQRZ.js";import"./MailingDetailsSection-DZi-O94--DF-Hpww_.js";import"./LabeledAddressValueField-jlDhqmgU-CM1ZWEJK.js";import"./MagicLinkTitleSection-BVR_lDfw-BbQ3PhCM.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
1
+ import{j as l}from"./index-BtlpidgV.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-ChSGHFzT-CslF7PO2.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountWarningSection-BYhi53r4-Dz4tDkQf.js";import"./MailingDetailsSection-DZi-O94--BIJQvtBB.js";import"./LabeledAddressValueField-jlDhqmgU-BPufGwXD.js";import"./MagicLinkTitleSection-BVR_lDfw-B40quQKP.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{q as ie,d as oe,F as te,y as c,gS as w,aU as T,j as i,i7 as m,i6 as g,o as n,B as re,p as ne,dT as se,ai as le,u as a}from"./index-CUpJHznP.js";import{n as l}from"./vendor-Bs1fkIUX.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{q as ie,d as oe,F as te,y as c,gS as w,aU as T,j as i,i7 as m,i6 as g,o as n,B as re,p as ne,dT as se,ai as le,u as a}from"./index-BtlpidgV.js";import{n as l}from"./vendor-Bs1fkIUX.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aP as A,aa as U,F as L,j as r,c5 as B,ab as d,l as Q,ad as W,c6 as X,ai as f,c7 as Z,o as n,n as D,c8 as q,am as N,c9 as G,ca as C,bQ as J,p as y,ba as b,cb as K}from"./index-CUpJHznP.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-CQzFFcuJ-Do66phz_.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const s=G(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const p=s.countryCallingCode,x=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},F=120,I=30,O=2,re="456px",te="256px",P=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Te=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(F),[h,w]=c.useState(I),E=A(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},H=()=>{j.trim().length===P&&e.onVerifyOtp(j)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),T(i=>i+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[v]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const R=i=>{const a=Math.floor(i/60),z=i%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>O,children:r.jsx(Y,{unlockDate:Q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=O,children:r.jsx(W,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(X,{placement:"top",title:r.jsxs(f,{children:[o.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Z,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:n.sp0},onChange:i=>{u.setValue(m,i),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(V,{children:r.jsxs(je,{children:[o.codeExpiresIn," ",R(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(V,{children:r.jsx(ye,{children:o.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),S(F),w(I))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(D,{label:o.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:s,disabled:j.trim().length!==P||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},ne=t.div`
1
+ import{aP as A,aa as U,F as L,j as r,c5 as B,ab as d,l as Q,ad as W,c6 as X,ai as f,c7 as Z,o as n,n as D,c8 as q,am as N,c9 as G,ca as C,bQ as J,p as y,ba as b,cb as K}from"./index-BtlpidgV.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-CQzFFcuJ-DNUm6aba.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const s=G(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const p=s.countryCallingCode,x=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},F=120,I=30,O=2,re="456px",te="256px",P=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Te=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(F),[h,w]=c.useState(I),E=A(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},H=()=>{j.trim().length===P&&e.onVerifyOtp(j)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),T(i=>i+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[v]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const R=i=>{const a=Math.floor(i/60),z=i%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>O,children:r.jsx(Y,{unlockDate:Q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=O,children:r.jsx(W,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(X,{placement:"top",title:r.jsxs(f,{children:[o.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Z,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:n.sp0},onChange:i=>{u.setValue(m,i),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(V,{children:r.jsxs(je,{children:[o.codeExpiresIn," ",R(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(V,{children:r.jsx(ye,{children:o.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),S(F),w(I))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(D,{label:o.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:s,disabled:j.trim().length!==P||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -1,4 +1,4 @@
1
- import{q as k,j as t,ap as j,dz as y,p as S}from"./index-CUpJHznP.js";import{b as e,n,k as A}from"./vendor-Bs1fkIUX.js";import{r as O}from"./mui-Ty75qFQF.js";const U=o=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function W({src:o,autoPlay:p=!0,config:d,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:E=!1,showPlayButton:s=!1,style:w,thumbnail:i,width:b="100%",onEnded:v,onModalClose:h,onPlay:x}){const c=k(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&p?l(!0):r===!1&&l(!1)},[r,p]);const f={};d?.youtube&&(f.youtube=d.youtube);const B=()=>{l(!0),x?.()},F=()=>{l(!1),h?.()},g=()=>{l(!1),v?.(),r!=null&&h?.()},C=()=>{l(!0),x?.()};return r!=null?r?O.createPortal(t.jsx(I,{windowSize:c,role:"presentation",children:t.jsx(j,{onClickAway:F,children:t.jsx(M,{windowSize:c,"data-testid":"video-player-modal",children:t.jsxs($,{children:[s&&!a&&t.jsxs(t.Fragment,{children:[i!=null&&i!==""&&t.jsx(P,{src:i,alt:"Video thumbnail"}),t.jsx(z,{onClick:B,children:t.jsx(D,{windowSize:c})})]}),(!s||a)&&t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:"100%",height:"100%",onEnded:g,onPlay:C,config:f})]})})})}),document.body):null:t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:b,height:_,style:w,light:s&&!a?i??!0:!1,onEnded:g,onPlay:C,config:f})}const G=A`
1
+ import{q as k,j as t,ap as j,dz as y,p as S}from"./index-BtlpidgV.js";import{b as e,n,k as A}from"./vendor-Bs1fkIUX.js";import{r as O}from"./mui-Ty75qFQF.js";const U=o=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function W({src:o,autoPlay:p=!0,config:d,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:E=!1,showPlayButton:s=!1,style:w,thumbnail:i,width:b="100%",onEnded:v,onModalClose:h,onPlay:x}){const c=k(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&p?l(!0):r===!1&&l(!1)},[r,p]);const f={};d?.youtube&&(f.youtube=d.youtube);const B=()=>{l(!0),x?.()},F=()=>{l(!1),h?.()},g=()=>{l(!1),v?.(),r!=null&&h?.()},C=()=>{l(!0),x?.()};return r!=null?r?O.createPortal(t.jsx(I,{windowSize:c,role:"presentation",children:t.jsx(j,{onClickAway:F,children:t.jsx(M,{windowSize:c,"data-testid":"video-player-modal",children:t.jsxs($,{children:[s&&!a&&t.jsxs(t.Fragment,{children:[i!=null&&i!==""&&t.jsx(P,{src:i,alt:"Video thumbnail"}),t.jsx(z,{onClick:B,children:t.jsx(D,{windowSize:c})})]}),(!s||a)&&t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:"100%",height:"100%",onEnded:g,onPlay:C,config:f})]})})})}),document.body):null:t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:b,height:_,style:w,light:s&&!a?i??!0:!1,onEnded:g,onPlay:C,config:f})}const G=A`
2
2
  0% {
3
3
  transform: rotate(0deg);
4
4
  }
@@ -1,4 +1,4 @@
1
- import{q as l,j as i,ap as s,aM as a,p as c,o as n,y as r}from"./index-CUpJHznP.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer-DSqyhtMK-C3AGcKQT.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
1
+ import{q as l,j as i,ap as s,aM as a,p as c,o as n,y as r}from"./index-BtlpidgV.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer-DSqyhtMK-Bq_iUGAT.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{q as B,l as C,F as D,j as s,A as j,V as S,n as M,b as E,o as n,y as $,B as L,M as P,_ as z,a as N,p as h,c as A,r as R,t as T,u}from"./index-CUpJHznP.js";import{n as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const e=D.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=B(),I=r!=null?C.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=V(x,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=q(v,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=O(y,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=_(k,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(G,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
1
+ import{q as B,l as C,F as D,j as s,A as j,V as S,n as M,b as E,o as n,y as $,B as L,M as P,_ as z,a as N,p as h,c as A,r as R,t as T,u}from"./index-BtlpidgV.js";import{n as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const e=D.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=B(),I=r!=null?C.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=V(x,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=q(v,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=O(y,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=_(k,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(G,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
2
  ${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},V=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},q=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},O=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},_=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aa as Te,q as M,ax as Pe,l as P,d as pe,aP as Be,j as t,F as _,aN as B,c6 as L,o,bG as Le,b as D,cE as R,cF as F,cG as G,ad as Ne,dp as Ee,p as f,dc as Me,aM as C,L as he,ai as b,bQ as He,b_ as Ie,aS as Ue,y as j,h7 as We,fu as ae,u as p,hI as Oe,bf as Re,bS as Fe,bi as Ge,bh as Ye,bT as Ve,bg as Je,am as X,hJ as qe,b7 as Ke,a$ as _e,hK as Xe,c as Ze,hL as Qe,r as et,h9 as tt,dj as ot,an as at,B as it,cx as nt}from"./index-CUpJHznP.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-BFUJgt2x-BC0-eR6w.js";import{w as rt}from"./downloadPdf-BEpDZsHw-iAkz6QUF.js";import{H as ct}from"./DepositAccTransactionItem-tQvZegVN-2h85R67z.js";import{U as st}from"./ZeniAccountNavBarPieces-DN7XGX4V-Dx8A5GLh.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./commonDimensions-DP_SFwFq-B4nonWMr.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
1
+ import{aa as Te,q as M,ax as Pe,l as P,d as pe,aP as Be,j as t,F as _,aN as B,c6 as L,o,bG as Le,b as D,cE as R,cF as F,cG as G,ad as Ne,dp as Ee,p as f,dc as Me,aM as C,L as he,ai as b,bQ as He,b_ as Ie,aS as Ue,y as j,h7 as We,fu as ae,u as p,hI as Oe,bf as Re,bS as Fe,bi as Ge,bh as Ye,bT as Ve,bg as Je,am as X,hJ as qe,b7 as Ke,a$ as _e,hK as Xe,c as Ze,hL as Qe,r as et,h9 as tt,dj as ot,an as at,B as it,cx as nt}from"./index-BtlpidgV.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-BFUJgt2x-opQLNc_u.js";import{w as rt}from"./downloadPdf-BEpDZsHw-CzTXRf0g.js";import{H as ct}from"./DepositAccTransactionItem-tQvZegVN-Dr8br3ei.js";import{U as st}from"./ZeniAccountNavBarPieces-DN7XGX4V-S7xRuo_L.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./commonDimensions-DP_SFwFq-BksANX8O.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;