@zeniai/web-cockpit-ui 1.14.19-qa → 1.14.20-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/dist/assets/{ACHDetailsPage-BahbefPk-J5el9V8C.js → ACHDetailsPage-CVBRtacz-BEkwx2cM.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-BuQApbEf-GygwxWAV.js → AIPerformancePage-DnOjd2BF-CRXsdl24.js} +32 -32
  3. package/dist/assets/{AccountInfoPage-TD30edES-ayWa9vvt.js → AccountInfoPage-Bt-jShgf-CCHYq--w.js} +2 -2
  4. package/dist/assets/{AccountInfoPageContent-DQJFmREl-DJbEuy4H.js → AccountInfoPageContent-Cc80eQeo-579rUIpL.js} +6 -6
  5. package/dist/assets/AccountLockedInfoModal-B-Hn6_hG-B-4Dg7na.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D2B9Na3--BOg6bkeN.js → AccountReconDetailsDrawerPage-Bz1Sk2du-CwztkqDE.js} +7 -7
  7. package/dist/assets/{AccountRow-ZcS_RTJN-BR9_rLoN.js → AccountRow-D01C0A0f-QA2NRq7R.js} +20 -20
  8. package/dist/assets/{AccountsPromoCardStack-Bh2D-mXh-Bs4EYM2a.js → AccountsPromoCardStack-DsjFJ8gZ-DjW6RsEa.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-Ds2V5DyG-DVXVjy6o.js → AddAddressForCardDrawer-DnoYIvUp-DRozqjCP.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-DQ_gwAcu-BJUo6mYt.js → AddToWalletPage-BIiW9JxG-D9CD9wND.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BU_tqV13-BsnkvpaT.js → AgingReportsPage-WazD_3Z7-CoFeaJHD.js} +7 -7
  12. package/dist/assets/{AllUserItems-DBXzXO61-BTwofn85.js → AllUserItems-CTSy4oBh-COmuQZqb.js} +7 -7
  13. package/dist/assets/{ApAgingDetailPage-Crv9EDe5-PAcPKxo5.js → ApAgingDetailPage--NGBXWsy-C8HiqI6Z.js} +3 -3
  14. package/dist/assets/{AppBasePage-BK_b0fFf-CHlalUjf.js → AppBasePage-B5br9UXD-BXEvz6Z3.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-rw39Hn3s-DGkZVDxv.js → AppDrawerContent-vFeMNL3B-anFPhgeB.js} +59 -46
  16. package/dist/assets/{ApprovalRulesSettingsPage-C6jxuvhu-D5ZeFfm2.js → ApprovalRulesSettingsPage-6j7VBBZ6-D1yZE3mH.js} +2 -2
  17. package/dist/assets/{ArAgingChart-DVMlvNTF-ni7r1vai.js → ArAgingChart-BYWN3_Nl-CYX1U_rU.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CbmOL5tx-DQdpeuHC.js → ArAgingDetailPage-B-hHa8A6-BrQATxNB.js} +1 -1
  19. package/dist/assets/{AttachmentView-BTAMhgXU-BhSl8K4J.js → AttachmentView-C2kWA5X5-XqMuBHHe.js} +2 -2
  20. package/dist/assets/{BankAccountSection-DVO3xzgl-CCZx3rs7.js → BankAccountSection-B20IwpOn-dEqA-3oX.js} +7 -7
  21. package/dist/assets/{BankAccountWarningSection-CQsqUFKg-05XikjyA.js → BankAccountWarningSection-GHO0P0IZ-jfpI3pUb.js} +3 -3
  22. package/dist/assets/{BankConnectionsSettingsPage-CEyhk8v--WB0uUoLR.js → BankConnectionsSettingsPage-Cpg1ObB6-DR3nDiYc.js} +30 -30
  23. package/dist/assets/{BillDetailPage-CP6QCrla-vmmuF3oo.js → BillDetailPage-DOF5ibT6-Bat6GtFx.js} +6 -6
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-Bem5LvtY-mygah7A2.js → BillPayApprovalRuleDetailPage-BI1R1zT_-D9iKVE5j.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DhDaCfQa-DAxnPtHS.js → BillPayApprovalRulesPage-B3x4So_i-B5TxdAS5.js} +7 -7
  26. package/dist/assets/{BillPayPromoPage-BjH9lvnR-DfHFrxb-.js → BillPayPromoPage-BqzH5AIp-Bcp4yJP9.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-X8X9gq1a-Oap0vh__.js → BillPaySetUpPage-DqiNMnRE-abIQ9Tkf.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-CyyR8GW1-k3cgjV3v.js → BillingSettingsPage-BOAAGOLs-CdPqd8Hl.js} +3 -3
  29. package/dist/assets/{BillsBulkReviewDrawerPage-D_xxZjcU-DTZsZg8z.js → BillsBulkReviewDrawerPage-B76xXQJ9-CbXzjgOR.js} +1 -1
  30. package/dist/assets/{BoxItem-BL-UVx2X-Chlftilo.js → BoxItem-DCsIK5bA-DrkhsCS_.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Tr-N_rHo-B5h3rNqu.js → BusinessVerificationPage-hSVDM_Bi-eN7TBacX.js} +7 -7
  32. package/dist/assets/{CardNumberSubText-CNMNL0y--C35fqYUk.js → CardNumberSubText-B_ZdgYVm-CRvH-CRy.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-Cj26I5CB-BotQ-1hR.js → CashbackDetailPage-CNeEt6aE-CsctITKU.js} +16 -16
  34. package/dist/assets/{ChargeCardDetailPage-herJK06r-BTMIHWV-.js → ChargeCardDetailPage-C0a8jqCD-CUfhgRr0.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-LYVKm-0u-bxw-Libg.js → ChargeCardListPage-_3lJqIYP-iewbQ3J2.js} +55 -55
  36. package/dist/assets/{ChargeCardListTable-DxE-nRR4-BZ_zecYA.js → ChargeCardListTable-Kx-_ZAZu-BvnPLhgK.js} +23 -23
  37. package/dist/assets/{ChargeCardPromoPage-LVuaSVsQ-DLq8eZoX.js → ChargeCardPromoPage-CKTkcQdI-B3wD2hqP.js} +5 -5
  38. package/dist/assets/{ChargeCardSetupPage-CWoHclOr-DyydyXV2.js → ChargeCardSetupPage-CGRMFERy-BQ8k2roy.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DkCHd5c6-cX5JlZ7W.js → ChargeCardStatementsPage-B_7CdyKP-CMTrFXHN.js} +6 -6
  40. package/dist/assets/{ChargeCardUtils-6kq_92Ri-Dli-fqCF.js → ChargeCardUtils-BcwLwgz7-DrE0N0EF.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-N7gGQaMQ-DQdim44v.js → ChaseOverlay-ClcKUdpT-Buerorcp.js} +3 -3
  42. package/dist/assets/{CheckDepositDrawerPage-w7IziUHI-DVFTIQZX.js → CheckDepositDrawerPage-I3siSP2H-BrRdb26D.js} +15 -15
  43. package/dist/assets/{CollapsableReportTable-NSlKGCNZ-DKKIVw3S.js → CollapsableReportTable-ULd7PQST-DRS_mwem.js} +46 -46
  44. package/dist/assets/{CompanyOfficerDetailsSection-C1IpMsWw-D1LJtTPO.js → CompanyOfficerDetailsSection-DLaAmVLG-9U29EMpY.js} +30 -30
  45. package/dist/assets/{CompanyPassportCard-D5gkzDNU-YrDg6jQC.js → CompanyPassportCard-CZQuAyI2-Du4zK6a2.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-6_6yWHxX-CF_r79l3.js → CompanyPassportPage-DqoVJfO--BezYa4q3.js} +1 -1
  47. package/dist/assets/{CompleteProfile-1xeOWkGT-FRaqVJXW.js → CompleteProfile-BJV-xUlM-DoWTiT1k.js} +1 -1
  48. package/dist/assets/ConfettiBurst-D4ga9TRN-DITQey3L.js +1 -0
  49. package/dist/assets/{CreateOrEditVendorPage-DQW4Wobx-Dvll5UZ6.js → CreateOrEditVendorPage-C6efUMJu-BO_oyqIH.js} +9 -9
  50. package/dist/assets/{CreditCardPaymentDrawerPage-BEpQXn9g-ChE1dvw6.js → CreditCardPaymentDrawerPage-26ysDTts-B2nPMyDO.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-BGh2TJeK-iEMZXSJH.js → CreditCardPaymentPlgSection-8NQI5gcx-CtF_TfUM.js} +3 -3
  52. package/dist/assets/{CurrencySelectField-C2if0NUa-5itJjf-l.js → CurrencySelectField-CVNn0XCq-DT36t2lI.js} +4 -4
  53. package/dist/assets/{CustomerOnboardingActivationPage-_zjv9RZY-mJqfERvY.js → CustomerOnboardingActivationPage-D0-sOxDl-Bm2kAKIU.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-DoibuhLN-8rsNTWNZ.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CXApNm6A-nctUkt8D.js → CustomerOnboardingDetailPageSkeleton-B7hkzgkV-BXEF9ppx.js} +8 -8
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-BaBxG1Yn-DVZXklmj.js → CustomerOnboardingNoStepsPage-CD1QldcG-CzeAfya1.js} +2 -2
  57. package/dist/assets/{CustomerOnboardingPage-CWpmMXrh-BXodyMV2.js → CustomerOnboardingPage-DB1gXgdD-CUHFehdd.js} +8 -8
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-CGYRoz3v-DUKyEfgU.js → CustomerOnboardingProductSuitePage-DGMmLmq8-Cbgji3lL.js} +5 -5
  59. package/dist/assets/{Dashboard-Dyt4nvyG-QlqN1FnF.js → Dashboard-CU3UQhxj-VVHJwggZ.js} +230 -230
  60. package/dist/assets/{DashboardReportPage-BSbTlRwW-B1vbOEGw.js → DashboardReportPage-DMdKWPtx-DkAIriFg.js} +1 -1
  61. package/dist/assets/DashboardSidebarBackgroundAnimation-BMEqBAyh-vfJQWz_r.js +12 -0
  62. package/dist/assets/{DepositAccTransactionItem-CuTp6qxI-83UpC9RP.js → DepositAccTransactionItem-C1-JGWD1-BMvGw-zQ.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-CrQrOyrm-SWt9-LCs.js → DepositAccTransactionListPage-CfwhQ7mC-B3prPdix.js} +2 -2
  64. package/dist/assets/{DomesticWireDetailsPage-C5hxxGsr-BGI0Q6wD.js → DomesticWireDetailsPage-D6fDbjcO-DHXj9Zdn.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-B9O7jf-4-DcPl1K2L.js → DownloadOverlay-CsX54puJ-DeWJ_bTZ.js} +6 -6
  66. package/dist/assets/{DrawerPage-Dpd6lRf7-XU_mVF4h.js → DrawerPage-xYwGDHR6-Ch0S05SG.js} +4 -4
  67. package/dist/assets/{EditPeoplePage-C7uOWg9F-XHgvFx-q.js → EditPeoplePage-9SmQtrJz-Cw0-GcjG.js} +6 -6
  68. package/dist/assets/{EditReimbursementDetailPage-BL-W1hPs-Cvem5pvL.js → EditReimbursementDetailPage-EUO0BoRp-EVPPjvHX.js} +57 -57
  69. package/dist/assets/EntityDetailPage-CF6LS35a-CeBa6jKf.js +18 -0
  70. package/dist/assets/{EntitySummarySection-eNxIwvHt-VuusTU29.js → EntitySummarySection-C0gR6pkr-AtoRf1sI.js} +6 -6
  71. package/dist/assets/{ExpenseAutomationOverviewPage-CKBACgsI-CHNuBdnj.js → ExpenseAutomationOverviewPage-B0I8v21w-C1ihD57y.js} +18 -18
  72. package/dist/assets/{ExpenseAutomationPage-LPWPrpwm-dGXlp7Wn.js → ExpenseAutomationPage-BorzJM7G-DFmLOpV0.js} +69 -69
  73. package/dist/assets/{ExpressPayPage-COQrt-KL-C3Su3pc-.js → ExpressPayPage-D0YWItIv-Bvps2LX7.js} +7 -7
  74. package/dist/assets/FeaturePreviewPage-yu8G5cHk-BxkuThqr.js +11 -0
  75. package/dist/assets/{FollowStepsSection-BJFJzQrz-BPLmYjf1.js → FollowStepsSection-DRDFxA8H-Dg1nQMTR.js} +6 -6
  76. package/dist/assets/{GlobalReviewListPage-DDQb-plt-GWioPE-8.js → GlobalReviewListPage-D80yv7U2-CfvcgDlu.js} +13 -13
  77. package/dist/assets/{HelpButton-BT_HyQ5k-L583ynk6.js → HelpButton-D9ONg6cm-CuNxHNm2.js} +2 -2
  78. package/dist/assets/{InformationCardStack-B9E29_zj-oBDdQQV7.js → InformationCardStack-CbKQwtHm-B7yYvAdF.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-7XbkZ-A3-DAJvX00p.js → InsightsCardStack-BWsN9_G2-DemEieR0.js} +1 -1
  80. package/dist/assets/{InsightsSection-DtBq9eII-Dpm_kPOF.js → InsightsSection-WZo-AWJt-DohBwSi_.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-TjdF0ahh-CLiKNfVQ.js → IntegrationsSettingsPage-BLjSJt9r-6t6Ass9f.js} +6 -6
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-BeSYu2Dm-CzOgaF0W.js → InternationalWireSwiftDetailsPage-BXNDZ1Mk-BO2f4UVV.js} +13 -13
  83. package/dist/assets/{InternationalWireVerificationPage-Ctcaggen-B6mWLRZN.js → InternationalWireVerificationPage-BLgPJ1NJ-CMky3KEh.js} +9 -9
  84. package/dist/assets/{InviteFormPage-DEDBu0OO-CbRBG8oQ.js → InviteFormPage-DPQ4vL9--DIhY9xxd.js} +1 -1
  85. package/dist/assets/{InvitePageListView-BMMOpM9O-CiVYjuPy.js → InvitePageListView-YUKxUGBn-CGJ_yirg.js} +41 -41
  86. package/dist/assets/{InvitePeoplePage-BzPRCgA6-CQ1Opb3h.js → InvitePeoplePage-C3vECRns-DBtYnb-4.js} +4 -4
  87. package/dist/assets/{InvoiceUploadSection-C6Dx8Web-BBk4Ja4L.js → InvoiceUploadSection-Cx6pXJiN-CgRQkeV5.js} +5 -5
  88. package/dist/assets/{IssueChargeCardPage-DWRhiOzj-CcGeSv03.js → IssueChargeCardPage-DZVtocCO-B49QpSq-.js} +33 -33
  89. package/dist/assets/{LabeledAddressValue-CSb0EGEx-CwfHtDm0.js → LabeledAddressValue-BrB2xQYz-B09yXjLA.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-_35LG3OI-C2eHerzm.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-rRmtlmRJ-C45YSN-M.js → LabeledControlledCheckBoxField-o0K1dba0-BZipP4yv.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CTwToXIo-BL-7qWpY.js → LabeledCreatableSingleSelectField-DQwGH21a-D1Rth7u2.js} +7 -7
  93. package/dist/assets/{LabeledDocumentField-sIz4Fhet-BCtWDAeF.js → LabeledDocumentField-CfgzkjDY-CbC276Lv.js} +2 -2
  94. package/dist/assets/{LabeledDropDownFormattedTextField-mOxkCT-G-97yk9rN2.js → LabeledDropDownFormattedTextField-DdaTvUbM-C4uCaUJ3.js} +10 -10
  95. package/dist/assets/{LabeledText-CExeogkg-B87qiJpD.js → LabeledText-Hi4MixDN-n_lfAbe7.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DrloYoze-ChdXh6tK.js → LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-CKRRo1Fi.js} +14 -14
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BZKMSlzI-BfxjXxW8.js → LabeledZeniRolesDropDownField-Bm7Emr_n-JLIDvMIU.js} +6 -6
  98. package/dist/assets/{LinkJETransactionPage-D9Kae7Qd-CNnC6I7f.js → LinkJETransactionPage-ittEPbhi-BCWKpHna.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-DqY0lHvk-CVgmCk0Z.js → LowBalancePopup-ChA83eFW-dErt1yuL.js} +6 -6
  100. package/dist/assets/{MagicLinkACHDetailsPage-BctRnNGY-DsQ_Vr0G.js → MagicLinkACHDetailsPage-B4PPI06n-DFF50HiV.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-UjO7TGNI-DqUtPIYq.js → MagicLinkDomesticWireDetailsPage-DRK5ytSb-CTgdy9NG.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-ex7nPlxc-CynZ72OJ.js → MagicLinkInternationalWireDetailsPage-C2pn5xtm-DTn743zM.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-D3ORpbmL-D1tcTprK.js → MagicLinkSuccessPage-Bag5TE2J-DCGiU-tX.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-Di20DmsJ-U44nhhts.js → MagicLinkTitleSection-Ch72cLUN-CsTRlAex.js} +3 -3
  105. package/dist/assets/{MailingDetailsSection-D7d7fV5j-Cp7uqL5j.js → MailingDetailsSection-CrHHLtQN-loRqi7di.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-C-Ca0puH-CE3GtRxz.js → MeetingCalenderPopup-B_KRQLwc-CemZcgIl.js} +1 -1
  107. package/dist/assets/{Menu-FcKyIIWS-CsxddkDK.js → Menu-Czq7AdhP-C-oEbm2f.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-B4NuqJVI-tpOCMOiD.js → MyBankConnectionsSettingsPage-y3YOYnQr-BDn2GzBg.js} +6 -6
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-C4eMpxAr-D90MmLrN.js → MyPendingActivationChargeCardListPage-DJeYzaPj-Dm2kAILW.js} +2 -2
  110. package/dist/assets/{MyProfileSettingsPage-D0ALOEls-sjgoMLjt.js → MyProfileSettingsPage-hQvoACAQ-DxTxhxW-.js} +4 -4
  111. package/dist/assets/{NavBarWithPicker-Bu03gVw7-CXCT1AQF.js → NavBarWithPicker-DUaSGf4d-hMIZgUnq.js} +4 -4
  112. package/dist/assets/{NavigationArrow-D7Eb-FlF-CIlViwE5.js → NavigationArrow-ClEBtns--CBhi3Wa5.js} +5 -5
  113. package/dist/assets/{NavigationDots-CFjUchuX-CCsCkY6f.js → NavigationDots-BsJyQWOZ-DQaJD5qn.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-rhhm0o-f-Tif0VAaZ.js → NewGlobalMerchantPage-BKZGSrDk-Bj0fLOGG.js} +9 -9
  115. package/dist/assets/{NoDataChart-D5DKMqIS-yU_mZZgB.js → NoDataChart-Bk9eWo52-DbkTpf0E.js} +1 -1
  116. package/dist/assets/{NoDataTable-CPEKYH-4-DCggOQ1X.js → NoDataTable-DCQbtvPN-DkrWdcTk.js} +1 -1
  117. package/dist/assets/{NotFoundPage-Cfk62GPw-BF5rP4O6.js → NotFoundPage-CGx7FoiU-CZaJl2_e.js} +2 -2
  118. package/dist/assets/{NotificationSettingsPage-BZtsKPBO-DZmsk2cw.js → NotificationSettingsPage-CoD8eTUS-8OIZSyCr.js} +5 -5
  119. package/dist/assets/{NotificationsListConfig-DiJLl-YW-BOy_2Fl2.js → NotificationsListConfig-hyqVBWDA-BxI8wBvU.js} +1 -1
  120. package/dist/assets/{NotificationsPage-CgABP7O1-D8bdKO5u.js → NotificationsPage-BavPSx1H-CVEnlnNl.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-CMEokGbw-D-EhSgr7.js → OpExByVendorPage-DD8tCc8E-DObB3ZyW.js} +4 -4
  122. package/dist/assets/{OverlayContainerPage-9K5jaX8Z-CmMmKd0q.js → OverlayContainerPage-Dg-aOJQU-XdQCUH0G.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-IizA8WJN-Debywzdm.js → PandLWithForecastPage-bSkidYRR-D-Y5VMs1.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D6cW0hFS-B6jN0swI.js → PaymentAccountSetupBillingAddressSection-CGIC_vLw-BIusm93k.js} +12 -12
  125. package/dist/assets/{PeoplePage-lD4QPAkF-BTkfD7Qn.js → PeoplePage-C-2NZJpQ-BbdMKhWr.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-pynkIQMX-D6bUfHMz.js → PortfolioAllocationFormPage-B6JOvEvW-BSgeoBob.js} +3 -3
  127. package/dist/assets/{PortfolioDetails-Cs8o8xzm-BZnvJKYS.js → PortfolioDetails-Cpv5bi4_-C3K7fsrr.js} +4 -4
  128. package/dist/assets/{ProductsCarousel-vPy7zk53-0jqchxQE.js → ProductsCarousel-WDd37Mjn-NLHTDL58.js} +7 -7
  129. package/dist/assets/{PromoBaseCards-CWGpTa57-CDWNrCuH.js → PromoBaseCards-BaFkKGkm-Bw-1QrdI.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-66XnPKaW-DPJc3mi2.js → QBOConnectionDialog-l3ThoJCI-BaUAxpz_.js} +1 -1
  131. package/dist/assets/{QBOSetupSection-T0b8qjoq-CRwxhuhU.js → QBOSetupSection-DSrxcrXI-CnwGvTKQ.js} +3 -3
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BSI9Lg6a-0RZNihPF.js → ReimbursementApprovalRuleDetailPage-hb8mPFw0-iXwT5wDy.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-XxC6pXqt-Djs5LyQt.js → ReimbursementApprovalRulesPage-fs4WqNUv-BvFXhzka.js} +4 -4
  134. package/dist/assets/{ReimbursementDetailPage-BwtY21D5-CNiYkb_F.js → ReimbursementDetailPage-BYw6Mc2u-ZOQaZirb.js} +4 -4
  135. package/dist/assets/{ReimbursementPromoPage-CmO1DP-8-jueUg_Jg.js → ReimbursementPromoPage-DzDuwRxU-DEtJqrhv.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-CrCsRxAy-DR7TDPIb.js → ReimbursementSetUpPage-DdT6uu1--I31J4BAO.js} +5 -5
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Ct-lvcR1-B7C3iSy7.js → ReimbursementsBulkReviewDrawerPage-CXvng56s-BxlZIO2c.js} +1 -1
  138. package/dist/assets/{ReloadCard-CJfjUA_Q-CSIpRTGt.js → ReloadCard-BPoOhxrs-D8lPs5qf.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-CkuvvlJm-DviIVV1k.js → ReportTableViewSelector-CkZW5TtX-I9C4FHDc.js} +5 -5
  140. package/dist/assets/{ReportsPage-BJqldqjR-BiXbtcBq.js → ReportsPage-C-ARKbIQ-CCoiMwuP.js} +1 -1
  141. package/dist/assets/{RevenueChart-BUnSkoUN-OaNNpl8v.js → RevenueChart-CuqZW-Jr-B_s8E_iU.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-8I09Puca-kSqQFBGv.js → ReviewDetailsPage-BVN_Uym2-d0L-TTpG.js} +11 -11
  143. package/dist/assets/{ReviewOverlay-Czmj4HG0-DGEdohoE.js → ReviewOverlay-CIgtaUn1-wggYVp0Q.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-CNQZHC7h-BWCgIab_.js → RoleWithToolTip-Dm4yIm31-3pGQtzkX.js} +2 -2
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-1Y1ZylI7-TF-lQK6Q.js → ScheduleDetailsFixedAssetsPage-Ce3z1VPg-SvqdKcr4.js} +3 -3
  146. package/dist/assets/{ScheduleDetailsPage-BcRuA_7y-DKC9xpZ-.js → ScheduleDetailsPage-O69iLj4h-CXnxPezp.js} +3 -3
  147. package/dist/assets/{ScheduleSequenceTable-DC75D2Dx-BlixJonK.js → ScheduleSequenceTable-DMIzc2zC-3WngbgQC.js} +15 -15
  148. package/dist/assets/{ScreenRoutes-Vxn_VgUc.js → ScreenRoutes-D3pC7BH7.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-CaLxl4l3-Hr6lKchX.js → SetUpAccountSection-C1_QjMwF-C_2yznzy.js} +11 -11
  150. package/dist/assets/{SetUpDefaultSection-a6NTauck-DWk4cHNK.js → SetUpDefaultSection-B-ZEHQUb-iLzGQnWH.js} +3 -3
  151. package/dist/assets/SignIn-CXQyYEJI-BbNAmrjc.js +408 -0
  152. package/dist/assets/{SignInScreen-BnDKcAsx.js → SignInScreen-DtWV87E_.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-Cvev9izU-CywIXocV.js → SpendManagementListViewPage-DEMLoStE-C1nPAYM8.js} +6 -6
  154. package/dist/assets/{SpendManagementPerTabPage-CbjC0IBF-BZmzopW1.js → SpendManagementPerTabPage-CLf-7YyR-60GdYb7a.js} +11 -11
  155. package/dist/assets/{SpendManagementSection-BKTkeRK6-BpVoD6ml.js → SpendManagementSection-DIVgOKWy-D35voP2u.js} +6 -6
  156. package/dist/assets/{SpendMgmtSetupAccountSection-D8Yv-Jng-DLg3IqDb.js → SpendMgmtSetupAccountSection-DFyUBsg3-DRIU7IWr.js} +10 -10
  157. package/dist/assets/{StatementItem-DSJvKpAv-CgQXd1HG.js → StatementItem-CSyEn4Pz-CIQDSk8U.js} +6 -6
  158. package/dist/assets/StatementsPage-D34J2aZa-9jSr3LU8.js +58 -0
  159. package/dist/assets/{StatusSwitcher-CTDNbKqC-BufOI7Uk.js → StatusSwitcher-B77NoO6o-CLTHQ9CP.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-D33kV-tw-BQGDLH02.js → SubTabSwitcher-baJGHUgJ-BPKK4q6_.js} +1 -1
  161. package/dist/assets/{SummaryCard-tsJZnge3-CDogfl9X.js → SummaryCard-BvuRZj8f-DCeFdYs2.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-BW9M6AQs-o0la5nop.js → TaskManagementPage-vG8GXEJA-DX4VWYkl.js} +25 -25
  163. package/dist/assets/{TimeRangeSwitcher-CkXysnFa-BziXH9A-.js → TimeRangeSwitcher-CnoZ9Rqp-QTEqL6la.js} +2 -2
  164. package/dist/assets/{TimeframeSwitcher-B-S09J4A-DXzIdqPI.js → TimeframeSwitcher-W5kHnuHI-B5U_sUAn.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-B9Lo2-pD-E9Q-Xl1O.js → TimeframeSwitcherWithToggle-yLA5y4zJ-CFlsdObg.js} +1 -1
  166. package/dist/assets/{TopExCard-DwP8Cppq-BiAUZiUo.js → TopExCard-oyXmygm8-DV87vjZL.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-CIMSDSxd-C3es4f9G.js → TopExDetailPage-4HMIURzm-ulBg6b5V.js} +1 -1
  168. package/dist/assets/{TransactionDetailPage-rwzAZT-Q-BNzn0dfK.js → TransactionDetailPage-CIw_7B72-CcQHWkUG.js} +15 -15
  169. package/dist/assets/TransactionList-B9M4ftBY-9Xoftl5l.js +147 -0
  170. package/dist/assets/{TransactionListBig-BidYBgz3-5Yl91ZX2.js → TransactionListBig-D5SRFdH7-CUrzZcWs.js} +1 -1
  171. package/dist/assets/TransactionListPage-DCiIH4ES-DulMTWBW.js +35 -0
  172. package/dist/assets/{TransactionVendorDetailPage-LzIzQGZ1-DhRVTfh8.js → TransactionVendorDetailPage-BNY3vBm0-Cw6AkzlK.js} +5 -5
  173. package/dist/assets/{TransferDrawerPage-CztFCYxm-A_gVbaFq.js → TransferDrawerPage-DdgfrrRM-BBEomNnq.js} +43 -43
  174. package/dist/assets/{TreasuryOverviewPage-E5E5Gr3g-BXlIIBea.js → TreasuryOverviewPage-COFbWN48-DSaB6zFu.js} +19 -19
  175. package/dist/assets/{TreasuryPromoPage-D2F4Y8gV-D4r4OVpG.js → TreasuryPromoPage-EYqV98OG-CvFj_oTJ.js} +18 -18
  176. package/dist/assets/{TreasurySetupPage-Dxa4l6Ec-C98zHjAP.js → TreasurySetupPage-DEz3fabz-BopnXkx6.js} +2 -2
  177. package/dist/assets/{TreasuryStatementsPage-DEhWu0S0-Cq8llxzq.js → TreasuryStatementsPage-JSf4JXXI-CSff_RYi.js} +2 -2
  178. package/dist/assets/{TreasuryTaxLetterPage-CEMU2CI9-CaMBHbid.js → TreasuryTaxLetterPage-Id6od0WY-D3YHLWYb.js} +3 -3
  179. package/dist/assets/{TreasuryTransferOrReviewPage-BfReLw_V-DlzqxUSw.js → TreasuryTransferOrReviewPage-D25tiep8-CregJCyC.js} +46 -46
  180. package/dist/assets/{TrendChart-D1gtjDe3-DgecHpjD.js → TrendChart-xBdkrxjQ-BHwV7FvD.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-BslpnJTN-DM_bUa3k.js → TrendWithTransactions-CQdqelNB-BxApJhmm.js} +7 -7
  182. package/dist/assets/{UncategorizedAccountsMappingPage-Brm7fcuy-Lq1gPvO_.js → UncategorizedAccountsMappingPage-DaSjSoeK-2h_6-Ko4.js} +10 -10
  183. package/dist/assets/{UnitIntegrationPage-DhiEmm9g-DvJDyLPM.js → UnitIntegrationPage-zM4qGyLV-CinH_PeY.js} +3 -3
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-Dq1ToFCn-BIAvqiTV.js → UploadAdditionalDocumentOverlay-Y64l7Rho-BebTHNkT.js} +2 -2
  185. package/dist/assets/{Vendor2FAPopup-Brg14-Cw-D6yUhffP.js → Vendor2FAPopup-DO-eL5Ot-DjhAlKT-.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-mk0vAyqE-BXjAbyW1.js → VendorACHDetailsPage-BDROr_dC-CAZxPDsT.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-CRhCXEsq-ByCD1QlC.js → VendorDetailPage-B8S-gV53-DaZx1eZP.js} +18 -18
  188. package/dist/assets/{VendorDomesticWireDetailsPage-DhWkYV9N-DytBbPSU.js → VendorDomesticWireDetailsPage-BrxQuXus-DYcgNh9D.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-Bp5FgSiJ-CQgouOQ1.js → VendorFiling1099EditablePage-BK-XGzxl-CVlxfcrS.js} +32 -32
  190. package/dist/assets/{VendorFirstReviewPage-XHOyQIOp-BcDyJnSm.js → VendorFirstReviewPage-CrSdEY-q-DsAt-Zva.js} +31 -31
  191. package/dist/assets/{VendorInternationalWireDetailsPage-B13qu8u3-Cr7Rw8Vd.js → VendorInternationalWireDetailsPage-DuE2n00d-C0HY8jsi.js} +9 -9
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dtgusj3r-DSS2WNka.js → VendorInternationalWireSwiftDetailsPage-_0douojx-uTqjQvZ8.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-B-qorJ8x-BDTocsmP.js → VendorsAccountsSection-C2McA3-C-CAGlOz8b.js} +4 -4
  194. package/dist/assets/VerifyDevice-BOb4uKLq-B9iw9cGN.js +96 -0
  195. package/dist/assets/{WarningsDrawerPage-B4Nic3gX-D_tDlIsb.js → WarningsDrawerPage-f9lS8sCp-Yx0s05ZC.js} +7 -7
  196. package/dist/assets/{ZeniAccountDetailPage-IDGYSZVs-DHzL4YW_.js → ZeniAccountDetailPage-BnWDpR9g-BpHh2OhY.js} +17 -17
  197. package/dist/assets/{ZeniAccountListViewPage-IlPP8Yit-e7XViZS5.js → ZeniAccountListViewPage-D9ORn0_O-BQPutSAN.js} +16 -16
  198. package/dist/assets/{ZeniAccountNavBarPieces-2j-ZQRIF-C9FaUYbe.js → ZeniAccountNavBarPieces-4jG3uNmW-B7nBCOPn.js} +2 -2
  199. package/dist/assets/{ZeniAccountPromoPage-BhFf42Fz-CCcGWwVA.js → ZeniAccountPromoPage-CswETXvx-DfER_hgz.js} +1 -1
  200. package/dist/assets/{ZeniAccountSetupPage-DcYDO3x8-1dxj4hNi.js → ZeniAccountSetupPage-7B6Vgmg6-DsByA6Pf.js} +3 -3
  201. package/dist/assets/{ZeniCopyright-C4Ze2E8o-BF7Y_OhF.js → ZeniCopyright-DrkcGEYL-D8qMh6Rn.js} +1 -1
  202. package/dist/assets/{ZeniTransferAmountSlider-DFB0ntiR-DEw2G9RV.js → ZeniTransferAmountSlider-Bw5S2HTx-CfuKg8UT.js} +1 -1
  203. package/dist/assets/{add-to-wallet-DgdBD8_G-DcfyMc0W.js → add-to-wallet-DgdBD8_G-y8nGTHEa.js} +1 -1
  204. package/dist/assets/{analyticsHelper-Cfbkdlur.js → analyticsHelper-B46gu6zH.js} +1 -1
  205. package/dist/assets/{analyticsHelper-CsfdC0kT-CkpNzA-i.js → analyticsHelper-C37dCyKv-Ci3W403B.js} +1 -1
  206. package/dist/assets/{arrow-south-east-round-PEovUgvH-DBLhwZXJ.js → arrow-south-east-round-PEovUgvH-D6oVD1ix.js} +1 -1
  207. package/dist/assets/{auto-transfer-rule-mbafm5D3-D6YoufI_.js → auto-transfer-rule-mbafm5D3-DsDlaCxy.js} +1 -1
  208. package/dist/assets/{chartTypes-CPj7oOMJ-BdHmGEgv.js → chartTypes-Cknnnhq_-BKEap-MQ.js} +1 -1
  209. package/dist/assets/{commonDimensions-CKs-7p-V-2mIh0uhQ.js → commonDimensions-D0ovCC4N-B0G2UdHm.js} +1 -1
  210. package/dist/assets/{crypto-BURQLTgV.js → crypto-BDNqpTKX.js} +1 -1
  211. package/dist/assets/{detailCommon-BJ8iCchG-D9ueUtlf.js → detailCommon-CKa5_aP2-CTgqAfFe.js} +2 -2
  212. package/dist/assets/{downloadPdf-hPck-AA1-BRfoLwQe.js → downloadPdf-BJozh7zE-M2Rp1JlQ.js} +1 -1
  213. package/dist/assets/{gift-box-Cmt9OgIZ-DKWN92w0.js → gift-box-Cmt9OgIZ-BqWjP_Ex.js} +1 -1
  214. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BalbEtqQ.js → graphic-no-data-l-DU4J8fDt-BBc6l6Au.js} +1 -1
  215. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js → graphic-no-data-net-burn-l-CzmycA0m-DANomItj.js} +1 -1
  216. package/dist/assets/handshake-BPg58FML-CVKh3Eii.js +1 -0
  217. package/dist/assets/{index-DjfQ_8_G.js → index-Cnh9fv8f.js} +481 -473
  218. package/dist/assets/{liveblocks-DZpRS25q.js → liveblocks-CP09Cz-7.js} +1 -1
  219. package/dist/assets/{lodash-Dq_mKlGB.js → lodash-BWJmwMit.js} +1 -1
  220. package/dist/assets/{mapLoadingInProgressToTreeNode-R394S2in-yG54fD0k.js → mapLoadingInProgressToTreeNode-DttwbPj7-BWaq84fe.js} +1 -1
  221. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B20NECa8-BFYhaGC6.js → mapSectionWithAcOnlyToTreeNode-CKUACdvT-96C16ahX.js} +1 -1
  222. package/dist/assets/{mapSpacerToTreeNode-CLYF1Foh-BjdisaSl.js → mapSpacerToTreeNode-CeH4tptC-BD7Zb85P.js} +1 -1
  223. package/dist/assets/{mapTimeframeBalancesToTreeNode-B-iRb2_j-DquYgMDw.js → mapTimeframeBalancesToTreeNode-CElz2Cb0-CuxVDYys.js} +1 -1
  224. package/dist/assets/{mapTimeframeBalancesToTreeNode-fLAswzPX-sXx3Rgkk.js → mapTimeframeBalancesToTreeNode-TLHaVbTv-OZW2z0IX.js} +1 -1
  225. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CTmIxkdn-Tzb1GX6L.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D96sl236-Da50HxFS.js} +1 -1
  226. package/dist/assets/{mui-Bi8r7UDG.js → mui-C42whWwM.js} +1 -1
  227. package/dist/assets/{page-detail-CWX5S47F-B6DjZ3Gi.js → page-detail-CWX5S47F-BBa5wfAm.js} +1 -1
  228. package/dist/assets/{play-icon-BZYr9mDs-BdQoiOuZ.js → play-icon-XWt7iQeF-7dWJ4Dkg.js} +1 -1
  229. package/dist/assets/{radio-default-CiSgisfh-ub7QGXr8.js → radio-default-CiSgisfh-Z5w0WcFM.js} +1 -1
  230. package/dist/assets/{redux-CC-tnuv1.js → redux-2gfZRks6.js} +1 -1
  231. package/dist/assets/{routing-CxYXTKiv.js → routing-VwiwPky5.js} +1 -1
  232. package/dist/assets/{sentry-HDxG13yk.js → sentry-osuhWjvS.js} +1 -1
  233. package/dist/assets/{shield-DOlUxcFf-BCUrujod.js → shield-DOlUxcFf-bFVWRY1X.js} +1 -1
  234. package/dist/assets/{toCOABalancesWithID-Dsa-tGTi-sDqqdfBL.js → toCOABalancesWithID-DACfD5ZE-BgoTIDec.js} +1 -1
  235. package/dist/assets/{toChartData-Cp_80Bi6-DNhfaq63.js → toChartData-C6ap15NT-ByCawuJX.js} +1 -1
  236. package/dist/assets/{transaction-placeholder-CpOwZAMG-CJJQqrcA.js → transaction-placeholder-CpOwZAMG-DYG2_sCF.js} +1 -1
  237. package/dist/assets/{treasuryColorHelper-CnKoJBRW-C1sO9xUo.js → treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js} +1 -1
  238. package/dist/assets/{uploadAttachment-Cx3LGzsg-BLoeW5Lc.js → uploadAttachment-D1XtO8---B9AANbCr.js} +23 -23
  239. package/dist/assets/{uploadReceipts-CwjPukNh-D57dKxMS.js → uploadReceipts-Cl7e8jci-C-56lzXC.js} +1 -1
  240. package/dist/assets/{useLongPress-GCK2COYQ-gxLtL5O4.js → useLongPress-GCK2COYQ-BoJXFS3o.js} +1 -1
  241. package/dist/assets/{usp-line-BBd1wKwW-CgKq8-Xn.js → usp-line-BBd1wKwW-u-VMxix8.js} +1 -1
  242. package/dist/assets/{vendor-CnQcJ2Lu.js → vendor-rkTZJa59.js} +7 -7
  243. package/dist/assets/{verification-CW6uEyev-DdkqedMU.js → verification-CW6uEyev-BVrJsi0i.js} +1 -1
  244. package/dist/index.html +1 -1
  245. package/package.json +3 -3
  246. package/dist/assets/ConfettiBurst-b1-NNKbl-CRZv8suA.js +0 -1
  247. package/dist/assets/CustomerOnboardingContainerPage-BXSxGbv8-yPFLkaH4.js +0 -1
  248. package/dist/assets/EntityDetailPage-BsQ9bSpC-Ccfh9SD-.js +0 -18
  249. package/dist/assets/FeaturePreviewPage-Coe53hoK-GblH5291.js +0 -11
  250. package/dist/assets/LabeledAddressValueField-DJHY_wPN-C8cLNKuC.js +0 -45
  251. package/dist/assets/SignIn-_ZPdER_K-iNnyyU-5.js +0 -408
  252. package/dist/assets/StatementsPage-Bhk6u845-DupKw2VZ.js +0 -58
  253. package/dist/assets/TransactionList-CFYj7bYL-CzoueHti.js +0 -147
  254. package/dist/assets/TransactionListPage-CImIYabg-nUJGuSyl.js +0 -35
  255. package/dist/assets/VerifyDevice-CBO1Uzra-BYrx8Dkz.js +0 -67
@@ -1,5 +1,5 @@
1
- import{eQ as pe,M as le,a2 as Me,v as te,o as u,c as H,e as ue,j as i,bn as De,u as ke,ck as Ve,a8 as ae,C as oe,aS as qe,bq as Fe,n as Re,a4 as He,g as me,q as Ke,gj as Je,B as Ge,b as Ye}from"./index-DjfQ_8_G.js";import{f as l,b as O,n as y}from"./vendor-CnQcJ2Lu.js";import{P as p}from"./mui-Bi8r7UDG.js";import{O as Qe}from"./SetUpAccountSection-CaLxl4l3-Hr6lKchX.js";function fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function ge(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(r),!0).forEach(function(n){$e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function re(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(e){return typeof e}:re=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(t)}function $e(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ae(t,e){return Ze(t)||Xe(t,e)||et(t,e)||tt()}function Ze(t){if(Array.isArray(t))return t}function Xe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],a=!0,s=!1,c,m;try{for(r=r.call(t);!(a=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));a=!0);}catch(o){s=!0,m=o}finally{try{!a&&r.return!=null&&r.return()}finally{if(s)throw m}}return n}}function et(t,e){if(t){if(typeof t=="string")return he(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return he(t,e)}}function he(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function tt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=function(e,r,n){var a=!!n,s=l.useRef(n);l.useEffect(function(){s.current=n},[n]),l.useEffect(function(){if(!a||!e)return function(){};var c=function(){s.current&&s.current.apply(s,arguments)};return e.on(r,c),function(){e.off(r,c)}},[a,r,e,s])},se=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},K=function(e){return e!==null&&re(e)==="object"},rt=function(e){return K(e)&&typeof e.then=="function"},nt=function(e){return K(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},ve="[object Object]",at=function t(e,r){if(!K(e)||!K(r))return e===r;var n=Array.isArray(e),a=Array.isArray(r);if(n!==a)return!1;var s=Object.prototype.toString.call(e)===ve,c=Object.prototype.toString.call(r)===ve;if(s!==c)return!1;if(!s&&!n)return e===r;var m=Object.keys(e),o=Object.keys(r);if(m.length!==o.length)return!1;for(var h={},f=0;f<m.length;f+=1)h[m[f]]=!0;for(var x=0;x<o.length;x+=1)h[o[x]]=!0;var g=Object.keys(h);if(g.length!==m.length)return!1;var w=e,P=r,S=function($){return t(w[$],P[$])};return g.every(S)},Ie=function(e,r,n){return K(e)?Object.keys(e).reduce(function(a,s){var c=!K(r)||!at(e[s],r[s]);return n.includes(s)?(c&&console.warn("Unsupported prop change: options.".concat(s," is not a mutable property.")),a):c?ge(ge({},a||{}),{},$e({},s,e[s])):a},null):null},Oe="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ye=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(e===null||nt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(rt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(a){return ye(a,r)})};var n=ye(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},st=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},ne=l.createContext(null);ne.displayName="ElementsContext";var Ue=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},ze=function(e){var r=e.stripe,n=e.options,a=e.children,s=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:s.tag==="sync"?s.stripe:null,elements:s.tag==="sync"?s.stripe.elements(n):null}}),m=Ae(c,2),o=m[0],h=m[1];l.useEffect(function(){var g=!0,w=function(S){h(function(j){return j.stripe?j:{stripe:S,elements:S.elements(n)}})};return s.tag==="async"&&!o.stripe?s.stripePromise.then(function(P){P&&g&&w(P)}):s.tag==="sync"&&!o.stripe&&w(s.stripe),function(){g=!1}},[s,o,n]);var f=se(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var x=se(n);return l.useEffect(function(){if(o.elements){var g=Ie(n,x,["clientSecret","fonts"]);g&&o.elements.update(g)}},[n,x,o.elements]),l.useEffect(function(){st(o.stripe)},[o.stripe]),l.createElement(ne.Provider,{value:o},a)};ze.propTypes={stripe:p.any,options:p.object};var it=function(e){var r=l.useContext(ne);return Ue(r,e)},ct=function(){var e=it("calls useElements()"),r=e.elements;return r};p.func.isRequired;var Te=l.createContext(null);Te.displayName="CustomCheckoutSdkContext";var lt=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},ut=l.createContext(null);ut.displayName="CustomCheckoutContext";p.any,p.shape({clientSecret:p.string.isRequired,elementsOptions:p.object}).isRequired;var ie=function(e){var r=l.useContext(Te),n=l.useContext(ne);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?lt(r,e):Ue(n,e)},dt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},C=function(e,r){var n="".concat(dt(e),"Element"),a=function(o){var h=o.id,f=o.className,x=o.options,g=x===void 0?{}:x,w=o.onBlur,P=o.onFocus,S=o.onReady,j=o.onChange,$=o.onEscape,D=o.onClick,V=o.onLoadError,q=o.onLoaderStart,B=o.onNetworksChange,A=o.onConfirm,J=o.onCancel,N=o.onShippingAddressChange,M=o.onShippingRateChange,U=ie("mounts <".concat(n,">")),T="elements"in U?U.elements:null,E="customCheckoutSdk"in U?U.customCheckoutSdk:null,z=l.useState(null),_=Ae(z,2),v=_[0],W=_[1],L=l.useRef(null),F=l.useRef(null);k(v,"blur",w),k(v,"focus",P),k(v,"escape",$),k(v,"click",D),k(v,"loaderror",V),k(v,"loaderstart",q),k(v,"networkschange",B),k(v,"confirm",A),k(v,"cancel",J),k(v,"shippingaddresschange",N),k(v,"shippingratechange",M),k(v,"change",j);var G;S&&(e==="expressCheckout"?G=S:G=function(){S(v)}),k(v,"ready",G),l.useLayoutEffect(function(){if(L.current===null&&F.current!==null&&(T||E)){var I=null;E?I=E.createElement(e,g):T&&(I=T.create(e,g)),L.current=I,W(I),I&&I.mount(F.current)}},[T,E,g]);var de=se(g);return l.useEffect(function(){if(L.current){var I=Ie(g,de,["paymentRequest"]);I&&L.current.update(I)}},[g,de]),l.useLayoutEffect(function(){return function(){if(L.current&&typeof L.current.destroy=="function")try{L.current.destroy(),L.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:F})},s=function(o){ie("mounts <".concat(n,">"));var h=o.id,f=o.className;return l.createElement("div",{id:h,className:f})},c=r?s:a;return c.propTypes={id:p.string,className:p.string,onChange:p.func,onBlur:p.func,onFocus:p.func,onReady:p.func,onEscape:p.func,onClick:p.func,onLoadError:p.func,onLoaderStart:p.func,onNetworksChange:p.func,onConfirm:p.func,onCancel:p.func,onShippingAddressChange:p.func,onShippingRateChange:p.func,options:p.object},c.displayName=n,c.__elementType=e,c},b=typeof window>"u",pt=l.createContext(null);pt.displayName="EmbeddedCheckoutProviderContext";var mt=function(){var e=ie("calls useStripe()"),r=e.stripe;return r};C("auBankAccount",b);C("card",b);var Se=C("cardNumber",b),Ce=C("cardExpiry",b),be=C("cardCvc",b);C("fpxBank",b);C("iban",b);C("idealBank",b);C("p24Bank",b);C("epsBank",b);C("payment",b);C("expressCheckout",b);C("paymentRequestButton",b);C("linkAuthentication",b);C("address",b);C("shippingAddress",b);C("paymentMethodMessaging",b);C("affirmMessage",b);C("afterpayClearpayMessage",b);var _e="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var gt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(_e,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},xe=function(e){var r="",n=document.createElement("script");n.src="".concat(_e).concat(r);var a=document.head||document.body;if(!a)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return a.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},Y=null,X=null,ee=null,vt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},yt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return Y!==null?Y:(Y=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var a=gt();if(!(a&&e)){if(!a)a=xe(e);else if(a&&ee!==null&&X!==null){var s;a.removeEventListener("load",ee),a.removeEventListener("error",X),(s=a.parentNode)===null||s===void 0||s.removeChild(a),a=xe(e)}}ee=yt(r,n),X=vt(n),a.addEventListener("load",ee),a.addEventListener("error",X)}catch(c){n(c);return}}),Y.catch(function(r){return Y=null,Promise.reject(r)}))},Ct=function(e,r,n){if(e===null)return null;var a=e.apply(void 0,r);return ht(a,n),a},Q,We=!1,Be=function(){return Q||(Q=St(null).catch(function(e){return Q=null,Promise.reject(e)}),Q)};Promise.resolve().then(function(){return Be()}).catch(function(t){We||console.warn(t)});var bt=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];We=!0;var a=Date.now();return Be().then(function(s){return Ct(s,r,a)})};const xt={containerHeight:new oe(656,720)},Pt=y.div`
1
+ import{eR as pe,M as le,a2 as Me,v as te,o as u,c as H,e as ue,j as i,bn as De,u as Re,cm as Ve,a8 as ae,C as oe,aS as Fe,bp as qe,n as ke,a4 as He,g as me,q as Ke,gl as Je,B as Ge,b as Ye}from"./index-Cnh9fv8f.js";import{f as l,b as O,n as y}from"./vendor-rkTZJa59.js";import{P as p}from"./mui-C42whWwM.js";import{O as Ze}from"./SetUpAccountSection-C1_QjMwF-C_2yznzy.js";function fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function ge(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(r),!0).forEach(function(n){$e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function re(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(e){return typeof e}:re=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(t)}function $e(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ae(t,e){return Qe(t)||Xe(t,e)||et(t,e)||tt()}function Qe(t){if(Array.isArray(t))return t}function Xe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],a=!0,s=!1,c,m;try{for(r=r.call(t);!(a=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));a=!0);}catch(o){s=!0,m=o}finally{try{!a&&r.return!=null&&r.return()}finally{if(s)throw m}}return n}}function et(t,e){if(t){if(typeof t=="string")return he(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return he(t,e)}}function he(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function tt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var R=function(e,r,n){var a=!!n,s=l.useRef(n);l.useEffect(function(){s.current=n},[n]),l.useEffect(function(){if(!a||!e)return function(){};var c=function(){s.current&&s.current.apply(s,arguments)};return e.on(r,c),function(){e.off(r,c)}},[a,r,e,s])},se=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},K=function(e){return e!==null&&re(e)==="object"},rt=function(e){return K(e)&&typeof e.then=="function"},nt=function(e){return K(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},ve="[object Object]",at=function t(e,r){if(!K(e)||!K(r))return e===r;var n=Array.isArray(e),a=Array.isArray(r);if(n!==a)return!1;var s=Object.prototype.toString.call(e)===ve,c=Object.prototype.toString.call(r)===ve;if(s!==c)return!1;if(!s&&!n)return e===r;var m=Object.keys(e),o=Object.keys(r);if(m.length!==o.length)return!1;for(var h={},f=0;f<m.length;f+=1)h[m[f]]=!0;for(var x=0;x<o.length;x+=1)h[o[x]]=!0;var g=Object.keys(h);if(g.length!==m.length)return!1;var w=e,P=r,S=function($){return t(w[$],P[$])};return g.every(S)},Ie=function(e,r,n){return K(e)?Object.keys(e).reduce(function(a,s){var c=!K(r)||!at(e[s],r[s]);return n.includes(s)?(c&&console.warn("Unsupported prop change: options.".concat(s," is not a mutable property.")),a):c?ge(ge({},a||{}),{},$e({},s,e[s])):a},null):null},Oe="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ye=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(e===null||nt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(rt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(a){return ye(a,r)})};var n=ye(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},st=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},ne=l.createContext(null);ne.displayName="ElementsContext";var Ue=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},ze=function(e){var r=e.stripe,n=e.options,a=e.children,s=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:s.tag==="sync"?s.stripe:null,elements:s.tag==="sync"?s.stripe.elements(n):null}}),m=Ae(c,2),o=m[0],h=m[1];l.useEffect(function(){var g=!0,w=function(S){h(function(j){return j.stripe?j:{stripe:S,elements:S.elements(n)}})};return s.tag==="async"&&!o.stripe?s.stripePromise.then(function(P){P&&g&&w(P)}):s.tag==="sync"&&!o.stripe&&w(s.stripe),function(){g=!1}},[s,o,n]);var f=se(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var x=se(n);return l.useEffect(function(){if(o.elements){var g=Ie(n,x,["clientSecret","fonts"]);g&&o.elements.update(g)}},[n,x,o.elements]),l.useEffect(function(){st(o.stripe)},[o.stripe]),l.createElement(ne.Provider,{value:o},a)};ze.propTypes={stripe:p.any,options:p.object};var it=function(e){var r=l.useContext(ne);return Ue(r,e)},ct=function(){var e=it("calls useElements()"),r=e.elements;return r};p.func.isRequired;var Te=l.createContext(null);Te.displayName="CustomCheckoutSdkContext";var lt=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},ut=l.createContext(null);ut.displayName="CustomCheckoutContext";p.any,p.shape({clientSecret:p.string.isRequired,elementsOptions:p.object}).isRequired;var ie=function(e){var r=l.useContext(Te),n=l.useContext(ne);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?lt(r,e):Ue(n,e)},dt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},C=function(e,r){var n="".concat(dt(e),"Element"),a=function(o){var h=o.id,f=o.className,x=o.options,g=x===void 0?{}:x,w=o.onBlur,P=o.onFocus,S=o.onReady,j=o.onChange,$=o.onEscape,D=o.onClick,V=o.onLoadError,F=o.onLoaderStart,B=o.onNetworksChange,A=o.onConfirm,J=o.onCancel,N=o.onShippingAddressChange,M=o.onShippingRateChange,U=ie("mounts <".concat(n,">")),T="elements"in U?U.elements:null,E="customCheckoutSdk"in U?U.customCheckoutSdk:null,z=l.useState(null),_=Ae(z,2),v=_[0],W=_[1],L=l.useRef(null),q=l.useRef(null);R(v,"blur",w),R(v,"focus",P),R(v,"escape",$),R(v,"click",D),R(v,"loaderror",V),R(v,"loaderstart",F),R(v,"networkschange",B),R(v,"confirm",A),R(v,"cancel",J),R(v,"shippingaddresschange",N),R(v,"shippingratechange",M),R(v,"change",j);var G;S&&(e==="expressCheckout"?G=S:G=function(){S(v)}),R(v,"ready",G),l.useLayoutEffect(function(){if(L.current===null&&q.current!==null&&(T||E)){var I=null;E?I=E.createElement(e,g):T&&(I=T.create(e,g)),L.current=I,W(I),I&&I.mount(q.current)}},[T,E,g]);var de=se(g);return l.useEffect(function(){if(L.current){var I=Ie(g,de,["paymentRequest"]);I&&L.current.update(I)}},[g,de]),l.useLayoutEffect(function(){return function(){if(L.current&&typeof L.current.destroy=="function")try{L.current.destroy(),L.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:q})},s=function(o){ie("mounts <".concat(n,">"));var h=o.id,f=o.className;return l.createElement("div",{id:h,className:f})},c=r?s:a;return c.propTypes={id:p.string,className:p.string,onChange:p.func,onBlur:p.func,onFocus:p.func,onReady:p.func,onEscape:p.func,onClick:p.func,onLoadError:p.func,onLoaderStart:p.func,onNetworksChange:p.func,onConfirm:p.func,onCancel:p.func,onShippingAddressChange:p.func,onShippingRateChange:p.func,options:p.object},c.displayName=n,c.__elementType=e,c},b=typeof window>"u",pt=l.createContext(null);pt.displayName="EmbeddedCheckoutProviderContext";var mt=function(){var e=ie("calls useStripe()"),r=e.stripe;return r};C("auBankAccount",b);C("card",b);var Se=C("cardNumber",b),Ce=C("cardExpiry",b),be=C("cardCvc",b);C("fpxBank",b);C("iban",b);C("idealBank",b);C("p24Bank",b);C("epsBank",b);C("payment",b);C("expressCheckout",b);C("paymentRequestButton",b);C("linkAuthentication",b);C("address",b);C("shippingAddress",b);C("paymentMethodMessaging",b);C("affirmMessage",b);C("afterpayClearpayMessage",b);var _e="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var gt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(_e,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},xe=function(e){var r="",n=document.createElement("script");n.src="".concat(_e).concat(r);var a=document.head||document.body;if(!a)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return a.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},Y=null,X=null,ee=null,vt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},yt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return Y!==null?Y:(Y=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var a=gt();if(!(a&&e)){if(!a)a=xe(e);else if(a&&ee!==null&&X!==null){var s;a.removeEventListener("load",ee),a.removeEventListener("error",X),(s=a.parentNode)===null||s===void 0||s.removeChild(a),a=xe(e)}}ee=yt(r,n),X=vt(n),a.addEventListener("load",ee),a.addEventListener("error",X)}catch(c){n(c);return}}),Y.catch(function(r){return Y=null,Promise.reject(r)}))},Ct=function(e,r,n){if(e===null)return null;var a=e.apply(void 0,r);return ht(a,n),a},Z,We=!1,Be=function(){return Z||(Z=St(null).catch(function(e){return Z=null,Promise.reject(e)}),Z)};Promise.resolve().then(function(){return Be()}).catch(function(t){We||console.warn(t)});var bt=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];We=!0;var a=Date.now();return Be().then(function(s){return Ct(s,r,a)})};const xt={containerHeight:new oe(656,720)},Pt=y.div`
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  gap: 20px;
@@ -12,11 +12,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12
12
  display: flex;
13
13
  flex-direction: column;
14
14
  margin-bottom: ${u.sp2};
15
- `,Et=y(Fe)`
15
+ `,Et=y(qe)`
16
16
  padding-top: ${u.sp4};
17
17
  text-align: center;
18
18
  color: ${t=>t.theme.colors.primary};
19
- `,jt=y(Re)`
19
+ `,jt=y(ke)`
20
20
  color: ${t=>t.theme.colors.hero};
21
21
  text-align: center;
22
22
  `,Lt=y.div`
@@ -30,11 +30,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
30
30
  .InputContainer input {
31
31
  margin-left: ${u.sp1};
32
32
  }
33
- `,kt=y.label`
33
+ `,Rt=y.label`
34
34
  width: 71px;
35
35
  margin: auto;
36
36
  margin-left: ${u.sp2};
37
- `,Rt=y.label`
37
+ `,kt=y.label`
38
38
  width: 38px;
39
39
  margin: auto;
40
40
  margin-left: ${u.sp4};
@@ -74,7 +74,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
74
74
  `,Pe=y.span`
75
75
  height: ${u.sp8};
76
76
  display: none;
77
- `,Ne=y(Re)`
77
+ `,Ne=y(ke)`
78
78
  display: flex;
79
79
  flex-direction: row;
80
80
  align-items: center;
@@ -82,17 +82,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
82
82
  color: ${H.important};
83
83
  width: 434px;
84
84
  text-align: center;
85
- `,{cardPayment:R,common:{footer:we}}=le.getLocalizedStrings(),zt=y(Ge)`
85
+ `,{cardPayment:k,common:{footer:we}}=le.getLocalizedStrings(),zt=y(Ge)`
86
86
  color: ${t=>t.theme.colors.hero};
87
87
  text-align: center;
88
88
  margin-top: ${u.sp2};
89
- `,Ee=t=>`${t}_form`,je="CardPaymentPaymentForm",Tt=({cardPaymentView:t,clientSecret:e,cardSetupInProgress:r,handleConfirmCardSetupIntent:n,updateCardPaymentModalState:a,handleAddCardPaymentSource:s,setCardSetupInProgress:c})=>{const m=mt(),o=ct(),[h,f]=O.useState(!1),[x,g]=O.useState(!1),[w,P]=O.useState(!1),[S,j]=O.useState(!1),$=ue(),D=t.cardSetupConfirmStatus.fetchState,V=t.addCardPaymentSourceStatus.fetchState,q=t.cardSetupIntentStatus.fetchState,[B,A]=O.useState(!1),J=async E=>{if(E.preventDefault(),!m||!o)return;const z=o.getElement(Se),_=o.getElement(Ce),v=o.getElement(be);(!z||!_||!v)&&A(!0),j(!0),c(!0),z!=null&&_!=null&&v!=null&&m.confirmCardSetup(e,{payment_method:{card:z}}).then(W=>{j(!1),n(W),W.setupIntent?.id!=null&&s("card","payment_intent",W.setupIntent?.id)}).catch(()=>{j(!1),setTimeout(()=>{c(!1)},2e3)})},N=ke(),M={showIcon:!0,style:{base:{...te.standardRegular.cssObject,color:N.colors.primary,"::placeholder":{color:N.colors.grey2}},invalid:{color:H.important,iconColor:H.important}}},U=D==="In-Progress"||V==="In-Progress"||q==="In-Progress"||S===!0||r===!0,T=h||x||w||D==="In-Progress"||V==="In-Progress"||q==="In-Progress"||S===!0||r===!0;return i.jsx(Lt,{windowSize:$,children:i.jsxs(wt,{onSubmit:J,id:Ee(je),children:[i.jsxs($t,{children:[i.jsx(At,{children:i.jsx(It,{children:i.jsx(Se,{options:M,onChange:E=>f(!!E.error)})})}),i.jsx(Ot,{children:i.jsxs(kt,{children:[i.jsx(Pe,{children:R.cardNumber}),i.jsx(Ce,{options:M,onChange:E=>g(!!E.error)})]})}),i.jsx(Ut,{children:i.jsxs(Rt,{children:[i.jsx(Pe,{children:R.CVC}),i.jsx(be,{options:M,onChange:E=>P(!!E.error)})]})})]}),t.cardSetupConfirmStatus.error||B?i.jsx(Ne,{children:R.errorMsg}):null,i.jsx(He,{style:{width:"100%",padding:`${u.sp3} 0 0 0`,borderTop:"none",position:"inherit"},formId:Ee(je),primaryBtn:{label:we.linkCard,style:{width:"104px",height:u.sp6},isLoading:U,isDisabled:T,type:"submit"},cancelBtn:{label:we.cancel,style:{width:"104px",height:u.sp6},onClick:()=>{a(!1)}}}),i.jsxs(zt,{windowSize:$,children:[R.terms.term1,i.jsx(me,{href:R.terms.term2Link,linkText:R.terms.term2}),R.terms.term3,i.jsx(me,{href:R.terms.term4Link,linkText:R.terms.term4})]})]})})},Gt=({isCardPaymentOpen:t,cardPaymentView:e,stripeKey:r,cardSetupInProgress:n,handleConfirmCardSetupIntent:a,updateCardPaymentModalState:s,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:m,handleResetCardPaymentErrorStatuses:o,setCardSetupInProgress:h})=>{const[f,x]=O.useState(""),g=bt(r),w=Me(e.addCardPaymentSourceStatus.fetchState),P=e.addCardPaymentSourceStatus.fetchState;O.useEffect(()=>(c(["card"]),()=>{s(!1),x(""),o()}),[]),O.useEffect(()=>{o()},[t]),O.useEffect(()=>{w==="In-Progress"&&P==="Error"?(h(!1),setTimeout(()=>{s(!1)},2e3)):w==="In-Progress"&&P==="Completed"&&(c(["card"]),setTimeout(()=>{s(!1),h(!1)},2e3))},[w,P]),O.useEffect(()=>{(e.cardSetupConfirmStatus.error||e.addCardPaymentSourceStatus.error)&&(c(["card"]),setTimeout(()=>{h(!1)},2e3))},[e.cardSetupConfirmStatus.error,e.addCardPaymentSourceStatus.error]),O.useEffect(()=>{e.clientSecret!=null&&x(e.clientSecret)},[e.clientSecret]);const S={theme:"stripe",variables:{borderRadius:u.sp1,fontSizeBase:te.standardRegular.fontSize,fontFamily:te.standardRegular.fontFamily},rules:{".Input":{border:`1px solid ${H.neutralGrey3Light}`,borderRadius:u.sp1,padding:"10px",fontSize:te.standardRegular.fontSize}}},j={clientSecret:f,appearance:S},$=ue();return i.jsx(De,{open:t,children:i.jsxs(Pt,{windowSize:$,isError:!!e.cardSetupConfirmStatus.error,children:[i.jsx(Et,{children:R.title}),i.jsx(jt,{children:R.subtitle}),f&&g!=null?i.jsx(ze,{options:j,stripe:g,children:i.jsx(Tt,{clientSecret:f,handleConfirmCardSetupIntent:a,updateCardPaymentModalState:s,handleAddCardPaymentSource:m,cardPaymentView:e,cardSetupInProgress:n,setCardSetupInProgress:h})}):i.jsx(Ne,{children:R.errorMsg})]})})},{cardBrands:d}=le.getLocalizedStrings().cardPayment,ce={visa:{name:d.visa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/visa.svg"},mastercard:{name:d.mastercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/mastercard.svg"},american_express:{name:d.american_express,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/amex.svg"},discover:{name:d.discover,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/discover-global.svg"},jcb:{name:d.jcb,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/jcb-card.svg"},diners_club:{name:d.diners_club,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dinersclub.svg"},unionpay:{name:d.unionpay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},rupay:{name:d.rupay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/rupay-card.svg"},bancontact:{name:d.bancontact,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cmr_falabella:{name:d.cmr_falabella,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},tarjeta_naranja:{name:d.tarjeta_naranja,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},nativa:{name:d.nativa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cencosud:{name:d.cencosud,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cabal:{name:d.cabal,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},argencard:{name:d.argencard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},elo:{name:d.elo,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/elo-card.svg"},hipercard:{name:d.hipercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/hipercard.svg"},carnet:{name:d.carnet,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/carnet.svg"},maestro:{name:d.maestro,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/maestro.svg"},not_applicable:{name:d.not_applicable,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},eftpos_australia:{name:d.eftpos_australia,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},girocard:{name:d.girocard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},other:{name:d.other,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},unknown:{name:d.unknown,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}},Z={sectionWidth:new oe(343,580,726),iconWidthHeight:new oe(20,Ke[4])},_t={title:new Ye("standardSemiBold","largeSemiBold")},Le=t=>t?ce[t]??{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}:{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},Wt=(t,e,r,n)=>({header:t,title:`${pe(ce[n.cardsList[0]?.brand]?.name??"")} ${e}`,subtitle:`${pe(ce[n.cardsList[0]?.brand]?.name??"")} ${r} ${n.cardsList[0]?.last4}`,status:n.cardsList[0]?.status}),Bt=y.img`
89
+ `,Ee=t=>`${t}_form`,je="CardPaymentPaymentForm",Tt=({cardPaymentView:t,clientSecret:e,cardSetupInProgress:r,handleConfirmCardSetupIntent:n,updateCardPaymentModalState:a,handleAddCardPaymentSource:s,setCardSetupInProgress:c})=>{const m=mt(),o=ct(),[h,f]=O.useState(!1),[x,g]=O.useState(!1),[w,P]=O.useState(!1),[S,j]=O.useState(!1),$=ue(),D=t.cardSetupConfirmStatus.fetchState,V=t.addCardPaymentSourceStatus.fetchState,F=t.cardSetupIntentStatus.fetchState,[B,A]=O.useState(!1),J=async E=>{if(E.preventDefault(),!m||!o)return;const z=o.getElement(Se),_=o.getElement(Ce),v=o.getElement(be);(!z||!_||!v)&&A(!0),j(!0),c(!0),z!=null&&_!=null&&v!=null&&m.confirmCardSetup(e,{payment_method:{card:z}}).then(W=>{j(!1),n(W),W.setupIntent?.id!=null&&s("card","payment_intent",W.setupIntent?.id)}).catch(()=>{j(!1),setTimeout(()=>{c(!1)},2e3)})},N=Re(),M={showIcon:!0,style:{base:{...te.standardRegular.cssObject,color:N.colors.primary,"::placeholder":{color:N.colors.grey2}},invalid:{color:H.important,iconColor:H.important}}},U=D==="In-Progress"||V==="In-Progress"||F==="In-Progress"||S===!0||r===!0,T=h||x||w||D==="In-Progress"||V==="In-Progress"||F==="In-Progress"||S===!0||r===!0;return i.jsx(Lt,{windowSize:$,children:i.jsxs(wt,{onSubmit:J,id:Ee(je),children:[i.jsxs($t,{children:[i.jsx(At,{children:i.jsx(It,{children:i.jsx(Se,{options:M,onChange:E=>f(!!E.error)})})}),i.jsx(Ot,{children:i.jsxs(Rt,{children:[i.jsx(Pe,{children:k.cardNumber}),i.jsx(Ce,{options:M,onChange:E=>g(!!E.error)})]})}),i.jsx(Ut,{children:i.jsxs(kt,{children:[i.jsx(Pe,{children:k.CVC}),i.jsx(be,{options:M,onChange:E=>P(!!E.error)})]})})]}),t.cardSetupConfirmStatus.error||B?i.jsx(Ne,{children:k.errorMsg}):null,i.jsx(He,{style:{width:"100%",padding:`${u.sp3} 0 0 0`,borderTop:"none",position:"inherit"},formId:Ee(je),primaryBtn:{label:we.linkCard,style:{width:"104px",height:u.sp6},isLoading:U,isDisabled:T,type:"submit"},cancelBtn:{label:we.cancel,style:{width:"104px",height:u.sp6},onClick:()=>{a(!1)}}}),i.jsxs(zt,{windowSize:$,children:[k.terms.term1,i.jsx(me,{href:k.terms.term2Link,linkText:k.terms.term2}),k.terms.term3,i.jsx(me,{href:k.terms.term4Link,linkText:k.terms.term4})]})]})})},Gt=({isCardPaymentOpen:t,cardPaymentView:e,stripeKey:r,cardSetupInProgress:n,handleConfirmCardSetupIntent:a,updateCardPaymentModalState:s,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:m,handleResetCardPaymentErrorStatuses:o,setCardSetupInProgress:h})=>{const[f,x]=O.useState(""),g=bt(r),w=Me(e.addCardPaymentSourceStatus.fetchState),P=e.addCardPaymentSourceStatus.fetchState;O.useEffect(()=>(c(["card"]),()=>{s(!1),x(""),o()}),[]),O.useEffect(()=>{o()},[t]),O.useEffect(()=>{w==="In-Progress"&&P==="Error"?(h(!1),setTimeout(()=>{s(!1)},2e3)):w==="In-Progress"&&P==="Completed"&&(c(["card"]),setTimeout(()=>{s(!1),h(!1)},2e3))},[w,P]),O.useEffect(()=>{(e.cardSetupConfirmStatus.error||e.addCardPaymentSourceStatus.error)&&(c(["card"]),setTimeout(()=>{h(!1)},2e3))},[e.cardSetupConfirmStatus.error,e.addCardPaymentSourceStatus.error]),O.useEffect(()=>{e.clientSecret!=null&&x(e.clientSecret)},[e.clientSecret]);const S={theme:"stripe",variables:{borderRadius:u.sp1,fontSizeBase:te.standardRegular.fontSize,fontFamily:te.standardRegular.fontFamily},rules:{".Input":{border:`1px solid ${H.neutralGrey3Light}`,borderRadius:u.sp1,padding:"10px",fontSize:te.standardRegular.fontSize}}},j={clientSecret:f,appearance:S},$=ue();return i.jsx(De,{open:t,children:i.jsxs(Pt,{windowSize:$,isError:!!e.cardSetupConfirmStatus.error,children:[i.jsx(Et,{children:k.title}),i.jsx(jt,{children:k.subtitle}),f&&g!=null?i.jsx(ze,{options:j,stripe:g,children:i.jsx(Tt,{clientSecret:f,handleConfirmCardSetupIntent:a,updateCardPaymentModalState:s,handleAddCardPaymentSource:m,cardPaymentView:e,cardSetupInProgress:n,setCardSetupInProgress:h})}):i.jsx(Ne,{children:k.errorMsg})]})})},{cardBrands:d}=le.getLocalizedStrings().cardPayment,ce={visa:{name:d.visa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/visa.svg"},mastercard:{name:d.mastercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/mastercard.svg"},american_express:{name:d.american_express,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/amex.svg"},discover:{name:d.discover,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/discover-global.svg"},jcb:{name:d.jcb,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/jcb-card.svg"},diners_club:{name:d.diners_club,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dinersclub.svg"},unionpay:{name:d.unionpay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},rupay:{name:d.rupay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/rupay-card.svg"},bancontact:{name:d.bancontact,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cmr_falabella:{name:d.cmr_falabella,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},tarjeta_naranja:{name:d.tarjeta_naranja,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},nativa:{name:d.nativa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cencosud:{name:d.cencosud,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cabal:{name:d.cabal,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},argencard:{name:d.argencard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},elo:{name:d.elo,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/elo-card.svg"},hipercard:{name:d.hipercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/hipercard.svg"},carnet:{name:d.carnet,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/carnet.svg"},maestro:{name:d.maestro,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/maestro.svg"},not_applicable:{name:d.not_applicable,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},eftpos_australia:{name:d.eftpos_australia,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},girocard:{name:d.girocard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},other:{name:d.other,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},unknown:{name:d.unknown,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}},Q={sectionWidth:new oe(343,580,726),iconWidthHeight:new oe(20,Ke[4])},_t={title:new Ye("standardSemiBold","largeSemiBold")},Le=t=>t?ce[t]??{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}:{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},Wt=(t,e,r,n)=>({header:t,title:`${pe(ce[n.cardsList[0]?.brand]?.name??"")} ${e}`,subtitle:`${pe(ce[n.cardsList[0]?.brand]?.name??"")} ${r} ${n.cardsList[0]?.last4}`,status:n.cardsList[0]?.status}),Bt=y.img`
90
90
  width: ${t=>t.width}px;
91
91
  height: ${t=>t.height}px;
92
- `,Yt=({paymentAccount:t,plaidConnectionDetails:e,connectedAccountProvider:r,sectionId:n,isDisabled:a,hasError:s=!1,isValid:c,style:m,analytics:o,onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:x,onUpdatePaymentAccountLoginStatus:g,onEstablishConnectionSuccess:w,updateCardPaymentModalState:P,cardPaymentView:S,resetCardPaymentViewState:j,cardSetupInProgress:$=!1,googleAPIKey:D,subscriptionBillingAddress:V,subscriptionBillingAddressSectionId:q})=>{const B=ke(),A=ue(),{register:J}=Ve(),N=B.mode==="light"?new ae(B.colors.brandColorJadeLight):new ae(B.colors.brandColorJadeDark),{common:M,customerOnboardingPage:{sections:{link_payment_account:{title:U,text:T,subText:E},card_payment_method:z}}}=le.getLocalizedStrings(),_=S.cardsList.length>0,v=S.cardsList[0]?.brand??"other",W=S.addCardPaymentSourceStatus.fetchState,L=Wt(z.header,z.titleText,z.protectedCardNo,S);let F;return _&&(F={header:L.header,title:L.title,subtitle:L.subtitle,status:L.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:_===!0,icon:{element:i.jsx(Bt,{src:Le(v).iconURL,width:Z.iconWidthHeight.valuePx(A),height:Z.iconWidthHeight.valuePx(A),alt:Le(v).name,loading:"lazy"}),color:new ae(N)},showCompletedIcon:!1,isError:W==="Error",isLoading:W==="In-Progress",isCompleted:!0,showRightArrow:!1}),i.jsxs(Mt,{windowSize:A,children:[i.jsx(Dt,{type:"hidden",...J(`${n}.connected`,{validate:G=>s?G==="true":!0}),value:c?"true":"false"}),i.jsx(Qe,{connectedAccountProvider:r,paymentAccount:t,plaidConnectionDetails:e,allBankAccounts:[],header:U,sectionTitle:U,defaultSectionTitle:T,defaultSectionSubTitle:E,sectionId:n,isDisabled:a,hasError:s,showZeniAccountSection:!1,isCompleted:t?.providerVerificationStatus?.code?.includes("verified")===!0&&t?.isLoginRequired===!1,showCompletedIcon:A==="small",onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:x,onUpdatePaymentAccountLoginStatus:g,onEstablishConnectionSuccess:w,style:m,icon:{element:i.jsx(qe,{width:Z.iconWidthHeight.valuePx(A),height:Z.iconWidthHeight.valuePx(A)}),color:N},analytics:o,productType:"onboarding",resetCardPaymentViewState:j,cardPaymentSectionValues:F,cardPaymentView:S,updateCardPaymentModalState:P,referrer:"Onboarding",cardSetupInProgress:$}),Nt(A,M.headers.billingAddress,q,o,V,D,a)]})},Nt=(t,e,r,n,a,s,c)=>{const m={"Add street address":"street_address","Add suite":"suite","Add city":"city","Add state":"state","Select country":"country","Add ZIP code":"zip_code","Add secondary info":"secondary_info"};return i.jsxs(qt,{children:[i.jsx(Vt,{windowSize:t,isDisabled:c==="disabled",children:e}),i.jsx(Je,{googleAPIKey:s??"",addressToEdit:a,sectionId:`${r}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"},onFormFieldClick:o=>{if(o.target instanceof HTMLInputElement){const{placeholder:h}=o.target;if(h){const f=m[h];f&&n.trackOnboardingBillingAddress(f)}}}})]})},Mt=y.div`
92
+ `,Yt=({paymentAccount:t,plaidConnectionDetails:e,connectedAccountProvider:r,sectionId:n,isDisabled:a,hasError:s=!1,isValid:c,style:m,analytics:o,onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:x,onUpdatePaymentAccountLoginStatus:g,onEstablishConnectionSuccess:w,updateCardPaymentModalState:P,cardPaymentView:S,resetCardPaymentViewState:j,cardSetupInProgress:$=!1,googleAPIKey:D,subscriptionBillingAddress:V,subscriptionBillingAddressSectionId:F})=>{const B=Re(),A=ue(),{register:J}=Ve(),N=B.mode==="light"?new ae(B.colors.brandColorJadeLight):new ae(B.colors.brandColorJadeDark),{common:M,customerOnboardingPage:{sections:{link_payment_account:{title:U,text:T,subText:E},card_payment_method:z}}}=le.getLocalizedStrings(),_=S.cardsList.length>0,v=S.cardsList[0]?.brand??"other",W=S.addCardPaymentSourceStatus.fetchState,L=Wt(z.header,z.titleText,z.protectedCardNo,S);let q;return _&&(q={header:L.header,title:L.title,subtitle:L.subtitle,status:L.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:_===!0,icon:{element:i.jsx(Bt,{src:Le(v).iconURL,width:Q.iconWidthHeight.valuePx(A),height:Q.iconWidthHeight.valuePx(A),alt:Le(v).name,loading:"lazy"}),color:new ae(N)},showCompletedIcon:!1,isError:W==="Error",isLoading:W==="In-Progress",isCompleted:!0,showRightArrow:!1}),i.jsxs(Mt,{windowSize:A,children:[i.jsx(Dt,{type:"hidden",...J(`${n}.connected`,{validate:G=>s?G==="true":!0}),value:c?"true":"false"}),i.jsx(Ze,{connectedAccountProvider:r,paymentAccount:t,plaidConnectionDetails:e,allBankAccounts:[],header:U,sectionTitle:U,defaultSectionTitle:T,defaultSectionSubTitle:E,sectionId:n,isDisabled:a,hasError:s,showZeniAccountSection:!1,isCompleted:t?.providerVerificationStatus?.code?.includes("verified")===!0&&t?.isLoginRequired===!1,showCompletedIcon:A==="small",onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:x,onUpdatePaymentAccountLoginStatus:g,onEstablishConnectionSuccess:w,style:m,icon:{element:i.jsx(Fe,{width:Q.iconWidthHeight.valuePx(A),height:Q.iconWidthHeight.valuePx(A)}),color:N},analytics:o,productType:"onboarding",resetCardPaymentViewState:j,cardPaymentSectionValues:q,cardPaymentView:S,updateCardPaymentModalState:P,referrer:"Onboarding",cardSetupInProgress:$}),Nt(A,M.headers.billingAddress,F,o,V,D,a)]})},Nt=(t,e,r,n,a,s,c)=>{const m={"Add street address":"street_address","Add suite":"suite","Add city":"city","Add state":"state","Select country":"country","Add ZIP code":"zip_code","Add secondary info":"secondary_info"};return i.jsxs(Ft,{children:[i.jsx(Vt,{windowSize:t,isDisabled:c==="disabled",children:e}),i.jsx(Je,{googleAPIKey:s??"",addressToEdit:a,sectionId:`${r}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"},onFormFieldClick:o=>{if(o.target instanceof HTMLInputElement){const{placeholder:h}=o.target;if(h){const f=m[h];f&&n.trackOnboardingBillingAddress(f)}}}})]})},Mt=y.div`
93
93
  display: flex;
94
94
  flex-direction: column;
95
- width: ${t=>Z.sectionWidth.valuePx(t.windowSize)};
95
+ width: ${t=>Q.sectionWidth.valuePx(t.windowSize)};
96
96
  padding-bottom: ${u.sp3};
97
97
  `,Dt=y.input`
98
98
  display: none;
@@ -101,7 +101,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
101
101
  margin-bottom: ${u.sp3};
102
102
  margin-top: ${u.sp3};
103
103
  color: ${t=>t.isError===!0?H.important:t.isDisabled===!0?t.theme.colors.grey1:t.theme.colors.primary};
104
- `,qt=y.div`
104
+ `,Ft=y.div`
105
105
  margin-top: ${u.sp5};
106
106
  margin-bottom: ${u.sp4};
107
107
  `;export{Wt as M,Gt as o,Le as r,Yt as s};
@@ -1,4 +1,4 @@
1
- import{u as $e,e as I,M as y,j as t,_ as a,aW as le,bf as Ne,o as s,bO as De,bP as Oe,m as E,a6 as Y,bQ as we,k as Le,v as be,bR as _e,a2 as Ae,bS as Ve,bT as Me,bU as We,bV as Be,aj as He,E as H,bW as Ue,C as $,bX as Ee,bY as je,q as b,l as A,bZ as ee,bH as N,a as Fe,F as Ze,b_ as Ke,b$ as qe,S as Je,d as D,c0 as Qe,n as O,B as te,c as V,c1 as Xe,bL as Se,ap as ie,c2 as ke,bd as Ge,c3 as Ye}from"./index-DjfQ_8_G.js";import{f as ce,b as v,n as i}from"./vendor-CnQcJ2Lu.js";import{R as Ie}from"./Menu-FcKyIIWS-CsxddkDK.js";import{T as Ce}from"./RoleWithToolTip-CNQZHC7h-BWCgIab_.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],U=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],et=58;function tt({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Je(d==="off"?S:U));v.useEffect(()=>{const n=[...p];for(const o of n)o.key===r.sortKey?o.sortOrder=r.sortOrder:o.sortOrder="ascending";x(n)},[r.sortKey,r.sortOrder]);const h=(n,o)=>{let u=o;r.sortKey===n&&(u=o==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(ot,{height:et,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(rt,{userNameSticky:!!e&&n.key==="name",sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(at,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(st,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(Qe,{width:12,height:12})})]}),t.jsx(nt,{isVisible:r.sortKey===n.key&&n.key!=="name",children:t.jsx(lt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const it=ce.memo(tt),st=i.div`
1
+ import{u as $e,e as I,M as y,j as t,_ as a,aW as le,bf as Ne,o as s,bQ as De,bR as Oe,m as E,a6 as Y,bS as we,k as Le,v as be,bT as _e,a2 as Ae,bU as Ve,bV as Me,bW as We,bX as Be,aj as He,E as H,bY as Ue,C as $,bZ as Ee,b_ as je,q as b,l as A,b$ as ee,bJ as N,a as Fe,F as Ze,c0 as Ke,c1 as qe,S as Je,d as D,c2 as Qe,n as O,B as te,c as V,c3 as Xe,bN as Se,ap as ie,c4 as ke,bd as Ge,c5 as Ye}from"./index-Cnh9fv8f.js";import{f as ce,b as v,n as i}from"./vendor-rkTZJa59.js";import{R as Ie}from"./Menu-Czq7AdhP-C-oEbm2f.js";import{T as Ce}from"./RoleWithToolTip-Dm4yIm31-3pGQtzkX.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],U=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],et=58;function tt({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Je(d==="off"?S:U));v.useEffect(()=>{const n=[...p];for(const o of n)o.key===r.sortKey?o.sortOrder=r.sortOrder:o.sortOrder="ascending";x(n)},[r.sortKey,r.sortOrder]);const h=(n,o)=>{let u=o;r.sortKey===n&&(u=o==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(ot,{height:et,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(rt,{userNameSticky:!!e&&n.key==="name",sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(at,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(st,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(Qe,{width:12,height:12})})]}),t.jsx(nt,{isVisible:r.sortKey===n.key&&n.key!=="name",children:t.jsx(lt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const it=ce.memo(tt),st=i.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
@@ -1,4 +1,4 @@
1
- import{e as q,E as S,j as i,bx as U,M as Y,_ as H,C as u,a4 as J,o as n,a3 as _,b as K,h as Q,n as X,q as l,v as Z,am as ee,B as T,c as v,d as ie,bL as te}from"./index-DjfQ_8_G.js";import{b as k,n as t}from"./vendor-CnQcJ2Lu.js";import{V as ne}from"./PortfolioDetails-Cs8o8xzm-BZnvJKYS.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-CnKoJBRW-C1sO9xUo.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=Y.getLocalizedStrings(),a={titleWidth:new u(343,580,726,826),cardBorderRadius:l[2],cardPadding:new u(l[3],l[4]),sliderWidth:new u(143,177),sliderContainerGap:new u(l[5],l[3]),navBarContainerPaddingYaxis:new u(10,l[3]),containerPaddingLeft:new u(l[3],l[6],l[8]),containerPaddingRight:new u(l[3],l[6],l[8]),riskLevelInfoPaddingRight:new u(l[0],l[3])},oe={stepTitle:new K("h6Regular","h5Regular")},De=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:W,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=q(),[M,D]=k.useState(!1),{fundsData:N,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:F}=W;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);D(o)}},[p,w,d]);const y=o=>{const f=s.find(V=>V.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},G=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&G(),e()};return i.jsxs(se,{children:[i.jsxs(de,{windowSize:r,children:[i.jsx(ae,{windowSize:r,children:i.jsx(U,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":H("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(pe,{windowSize:r,children:[i.jsxs(xe,{windowSize:r,children:[i.jsx(he,{windowSize:r,children:re(c,$,p)}),!c&&!p&&i.jsx(ue,{children:i.jsxs(me,{children:[i.jsx(ge,{}),i.jsx(we,{})]})})]}),i.jsx(fe,{isReadOnly:c,children:le(c,$,p)}),i.jsx($e,{children:i.jsxs(ye,{windowSize:r,children:[i.jsx(ve,{children:i.jsx(ne,{isInReview:!1,isSetup:!0,fundDetails:N,allocation:d,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(be,{windowSize:r,children:[i.jsx(je,{children:i.jsx(Se,{onClick:b,isRecommended:c||d.riskScore===0||d.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ke,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(L,{children:m.strings.slash}),i.jsx(C,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(O,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(L,{children:m.strings.slash}),i.jsx(C,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(O,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(ze,{windowSize:r,children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(J,{style:{zIndex:4,paddingTop:n.sp2,paddingBottom:n.sp2},showCancel:!0,cancelBtn:{label:p?m.cancel:m.navBar.back,onClick:j},primaryBtn:{label:p?m.confirm:m.next,onClick:g,isLoading:p&&F.fetchState==="In-Progress",isDisabled:p&&!M}})]})};function re(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function le(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const se=t.div`
1
+ import{e as q,E as S,j as i,bA as U,M as Y,_ as H,C as u,a4 as J,o as n,a3 as _,b as K,h as Q,n as X,q as l,v as Z,am as ee,B as T,c as v,d as ie,bN as te}from"./index-Cnh9fv8f.js";import{b as k,n as t}from"./vendor-rkTZJa59.js";import{V as ne}from"./PortfolioDetails-Cpv5bi4_-C3K7fsrr.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=Y.getLocalizedStrings(),a={titleWidth:new u(343,580,726,826),cardBorderRadius:l[2],cardPadding:new u(l[3],l[4]),sliderWidth:new u(143,177),sliderContainerGap:new u(l[5],l[3]),navBarContainerPaddingYaxis:new u(10,l[3]),containerPaddingLeft:new u(l[3],l[6],l[8]),containerPaddingRight:new u(l[3],l[6],l[8]),riskLevelInfoPaddingRight:new u(l[0],l[3])},oe={stepTitle:new K("h6Regular","h5Regular")},De=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:W,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=q(),[M,D]=k.useState(!1),{fundsData:N,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:F}=W;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);D(o)}},[p,w,d]);const y=o=>{const f=s.find(V=>V.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},G=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&G(),e()};return i.jsxs(se,{children:[i.jsxs(de,{windowSize:r,children:[i.jsx(ae,{windowSize:r,children:i.jsx(U,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":H("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(pe,{windowSize:r,children:[i.jsxs(xe,{windowSize:r,children:[i.jsx(he,{windowSize:r,children:re(c,$,p)}),!c&&!p&&i.jsx(ue,{children:i.jsxs(me,{children:[i.jsx(ge,{}),i.jsx(we,{})]})})]}),i.jsx(fe,{isReadOnly:c,children:le(c,$,p)}),i.jsx($e,{children:i.jsxs(ye,{windowSize:r,children:[i.jsx(ve,{children:i.jsx(ne,{isInReview:!1,isSetup:!0,fundDetails:N,allocation:d,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(be,{windowSize:r,children:[i.jsx(je,{children:i.jsx(Se,{onClick:b,isRecommended:c||d.riskScore===0||d.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ke,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(O,{children:m.strings.slash}),i.jsx(C,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(O,{children:m.strings.slash}),i.jsx(C,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(ze,{windowSize:r,children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(J,{style:{zIndex:4,paddingTop:n.sp2,paddingBottom:n.sp2},showCancel:!0,cancelBtn:{label:p?m.cancel:m.navBar.back,onClick:j},primaryBtn:{label:p?m.confirm:m.next,onClick:g,isLoading:p&&F.fetchState==="In-Progress",isDisabled:p&&!M}})]})};function re(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function le(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const se=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  height: 100%;
@@ -134,9 +134,9 @@ import{e as q,E as S,j as i,bx as U,M as Y,_ as H,C as u,a4 as J,o as n,a3 as _,
134
134
  color: ${e=>e.theme.colors.primary};
135
135
  `,C=t(T)`
136
136
  color: ${e=>e.theme.colors.primary};
137
- `,L=t(T)`
137
+ `,O=t(T)`
138
138
  color: ${e=>e.theme.colors.primary};
139
- `,O=t.div`
139
+ `,L=t.div`
140
140
  display: flex;
141
141
  flex-direction: row;
142
142
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as e,M as X,o as n,iy as G,n as E,d6 as H,u as K,e as Q,a0 as N,C as O,bx as f,c as A,bL as _,d as L,dt as Z,af as ee,am as ie,b5 as se,bd as ne,B as le,d8 as oe,q as te}from"./index-DjfQ_8_G.js";import{n as s,b as re}from"./vendor-CnQcJ2Lu.js";import{l as ae}from"./treasuryColorHelper-CnKoJBRW-C1sO9xUo.js";const{common:r,spendManagement:{treasury:o},dateFormat:de}=X.getLocalizedStrings(),w={portfolioYieldMarginTop:new O(-4,te[0]),sliderWidth:new O(143,177)},Oe=({isInReview:i,isSetup:l,fundDetails:m,allocation:d,amount:h,fundAllocations:v,page:j})=>{const a=ce(m);return e.jsxs(he,{children:[!l&&e.jsx(me,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${o.portfolioAllocation.title}`}),a.map(($,x)=>{const I=v?.find(g=>g.fundCode===m[x].fundCode)?.amount;return e.jsx(pe,{portfolio:$,fund:m[x],fundIndex:x,allocationPercentage:d.allocation?.[m[x].fundCode]||0,isInReview:i,isSetup:l,isLast:x===a.length-1,amount:h,currentAllocationAmount:I,page:j},m[x]?.fundCode||x)})]})},ce=i=>i.map(l=>[{label:o.promoPage.liquidity,value:l.liquidityTimeline||r.strings.hyphen},{label:o.promoPage.fundSize,value:G(l.fundSize,l.currencyCode)},{label:o.promoPage.maturity,value:`${l.maturity} ${r.timeStrings.days}`},{label:o.promoPage.expenseRatio,value:`${l.expenseRatio}${o.promoPage.expenseRatioSuffix}`},{label:o.promoPage.riskRating,value:l.riskRating||r.strings.hyphen},{label:o.promoPage.composition,value:Array.isArray(l.compositions)&&l.compositions.length>0?`${l.compositions[0].investedIn} ${l.compositions[0].percentage}${r.strings.percentage}`:r.strings.hyphen,tag:Array.isArray(l.compositions)&&l.compositions.length>1?`+${l.compositions.length-1}`:void 0,compositions:l.compositions??[]}]),pe=({portfolio:i,fund:l,fundIndex:m,allocationPercentage:d,isInReview:h,isSetup:v,isLast:j,amount:a,currentAllocationAmount:$,page:x})=>{const I=H().analytics,g=K(),t=Q(),b=$?$.amount:a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,J]=re.useState(!1),u=ae(m,g),S=()=>{p||I.trackTreasuryProspectusClick(l.fundName,l.fundCode,x),J(c=>!c)};return e.jsxs(e.Fragment,{children:[e.jsx(xe,{children:e.jsxs(ue,{windowSize:t,children:[e.jsxs(ge,{windowSize:t,children:[e.jsxs(fe,{windowSize:t,children:[e.jsxs(ye,{isInReview:h,windowSize:t,children:[e.jsx(we,{children:l.fundCode}),e.jsx(ve,{color:u.fundNameColor,children:`${l.fundCompanyName} ${l.fundName}`})]}),t!=="small"&&e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:h?e.jsxs(q,{style:{alignItems:"flex-start"},children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(F,{children:b!=null?N("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty})]}):e.jsxs($e,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(q,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,style:{marginRight:n.sp3},children:[l.yield,r.strings.percentage]})]})]}),t==="small"&&e.jsx(ke,{children:v?e.jsxs(Ie,{children:[e.jsxs(Re,{children:[e.jsxs(We,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}),e.jsxs(z,{onClick:S,style:{marginBottom:n.sp2},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}):h?e.jsxs(Ye,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(F,{children:b!=null?N("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty}),e.jsxs(z,{onClick:S,style:{margin:`${n.sp2} ${n.sp0}`,...j?{marginBottom:n.sp0}:{}},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}),e.jsxs(V,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}):e.jsxs(Ae,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}),e.jsxs(V,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(Se,{children:[e.jsx(T,{children:l.description}),e.jsx(be,{style:{marginLeft:n.sp3},children:i.map(c=>e.jsxs(Ce,{windowSize:t,children:[e.jsx(T,{children:r.strings.dividerDot}),e.jsx(T,{style:{minWidth:"140px"},children:c.label}),e.jsxs(T,{style:{color:c.label===o.promoPage.fundSize?u.fundNameColor:g.colors.primary,borderBottom:`1px solid ${g.colors.grey3}`,width:"100%",padding:`${n.sp1} ${n.sp0}`,display:"flex",flexDirection:"row",alignItems:"center",gap:n.sp2},children:[c.value,!!c.tag&&c.label===o.promoPage.composition&&e.jsx(f,{variant:"list-description",data:{title:r.strings.empty,items:Array.isArray(c.compositions)&&c.compositions.length>0?c.compositions.map(B=>({text:`${r.strings.dividerDot} ${B.investedIn}`,amount:`${B.percentage}${r.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${n.sp3}`},children:e.jsx(De,{children:c.tag})})]})]},c.label))}),e.jsxs(Pe,{onClick:()=>window.open(l.url,"_blank"),children:[e.jsx(je,{children:`${o.promoPage.asOf} ${l.asOfDate.format(de.visual.MMMDCommaYYYYformat)}`}),e.jsx(ze,{})]})]}),(!j||v)&&e.jsx(Te,{style:{width:"100%",marginBottom:n.sp3}})]})},xe=s.div`
1
+ import{j as e,M as X,o as n,iz as G,n as E,d5 as H,u as K,e as Q,a0 as L,C as O,bA as f,c as A,bN as _,d as N,ds as Z,af as ee,am as ie,b5 as se,bd as ne,B as le,d7 as oe,q as te}from"./index-Cnh9fv8f.js";import{n as s,b as re}from"./vendor-rkTZJa59.js";import{l as ae}from"./treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js";const{common:r,spendManagement:{treasury:o},dateFormat:de}=X.getLocalizedStrings(),w={portfolioYieldMarginTop:new O(-4,te[0]),sliderWidth:new O(143,177)},Oe=({isInReview:i,isSetup:l,fundDetails:m,allocation:d,amount:h,fundAllocations:v,page:j})=>{const a=ce(m);return e.jsxs(he,{children:[!l&&e.jsx(me,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${o.portfolioAllocation.title}`}),a.map(($,x)=>{const I=v?.find(g=>g.fundCode===m[x].fundCode)?.amount;return e.jsx(pe,{portfolio:$,fund:m[x],fundIndex:x,allocationPercentage:d.allocation?.[m[x].fundCode]||0,isInReview:i,isSetup:l,isLast:x===a.length-1,amount:h,currentAllocationAmount:I,page:j},m[x]?.fundCode||x)})]})},ce=i=>i.map(l=>[{label:o.promoPage.liquidity,value:l.liquidityTimeline||r.strings.hyphen},{label:o.promoPage.fundSize,value:G(l.fundSize,l.currencyCode)},{label:o.promoPage.maturity,value:`${l.maturity} ${r.timeStrings.days}`},{label:o.promoPage.expenseRatio,value:`${l.expenseRatio}${o.promoPage.expenseRatioSuffix}`},{label:o.promoPage.riskRating,value:l.riskRating||r.strings.hyphen},{label:o.promoPage.composition,value:Array.isArray(l.compositions)&&l.compositions.length>0?`${l.compositions[0].investedIn} ${l.compositions[0].percentage}${r.strings.percentage}`:r.strings.hyphen,tag:Array.isArray(l.compositions)&&l.compositions.length>1?`+${l.compositions.length-1}`:void 0,compositions:l.compositions??[]}]),pe=({portfolio:i,fund:l,fundIndex:m,allocationPercentage:d,isInReview:h,isSetup:v,isLast:j,amount:a,currentAllocationAmount:$,page:x})=>{const I=H().analytics,g=K(),t=Q(),b=$?$.amount:a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,J]=re.useState(!1),u=ae(m,g),S=()=>{p||I.trackTreasuryProspectusClick(l.fundName,l.fundCode,x),J(c=>!c)};return e.jsxs(e.Fragment,{children:[e.jsx(xe,{children:e.jsxs(ue,{windowSize:t,children:[e.jsxs(ge,{windowSize:t,children:[e.jsxs(fe,{windowSize:t,children:[e.jsxs(ye,{isInReview:h,windowSize:t,children:[e.jsx(we,{children:l.fundCode}),e.jsx(ve,{color:u.fundNameColor,children:`${l.fundCompanyName} ${l.fundName}`})]}),t!=="small"&&e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:h?e.jsxs(q,{style:{alignItems:"flex-start"},children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(F,{children:b!=null?L("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty})]}):e.jsxs($e,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(q,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,style:{marginRight:n.sp3},children:[l.yield,r.strings.percentage]})]})]}),t==="small"&&e.jsx(ke,{children:v?e.jsxs(Ie,{children:[e.jsxs(Re,{children:[e.jsxs(We,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}),e.jsxs(z,{onClick:S,style:{marginBottom:n.sp2},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}):h?e.jsxs(Ye,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(F,{children:b!=null?L("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty}),e.jsxs(z,{onClick:S,style:{margin:`${n.sp2} ${n.sp0}`,...j?{marginBottom:n.sp0}:{}},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}),e.jsxs(V,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}):e.jsxs(Ae,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}),e.jsxs(V,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(Se,{children:[e.jsx(T,{children:l.description}),e.jsx(be,{style:{marginLeft:n.sp3},children:i.map(c=>e.jsxs(Ce,{windowSize:t,children:[e.jsx(T,{children:r.strings.dividerDot}),e.jsx(T,{style:{minWidth:"140px"},children:c.label}),e.jsxs(T,{style:{color:c.label===o.promoPage.fundSize?u.fundNameColor:g.colors.primary,borderBottom:`1px solid ${g.colors.grey3}`,width:"100%",padding:`${n.sp1} ${n.sp0}`,display:"flex",flexDirection:"row",alignItems:"center",gap:n.sp2},children:[c.value,!!c.tag&&c.label===o.promoPage.composition&&e.jsx(f,{variant:"list-description",data:{title:r.strings.empty,items:Array.isArray(c.compositions)&&c.compositions.length>0?c.compositions.map(B=>({text:`${r.strings.dividerDot} ${B.investedIn}`,amount:`${B.percentage}${r.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${n.sp3}`},children:e.jsx(De,{children:c.tag})})]})]},c.label))}),e.jsxs(Pe,{onClick:()=>window.open(l.url,"_blank"),children:[e.jsx(je,{children:`${o.promoPage.asOf} ${l.asOfDate.format(de.visual.MMMDCommaYYYYformat)}`}),e.jsx(ze,{})]})]}),(!j||v)&&e.jsx(Te,{style:{width:"100%",marginBottom:n.sp3}})]})},xe=s.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  gap: ${n.sp2};
@@ -47,7 +47,7 @@ import{j as e,M as X,o as n,iy as G,n as E,d6 as H,u as K,e as Q,a0 as N,C as O,
47
47
  `,C=s(_)`
48
48
  color: ${A.success};
49
49
  margin-top: ${i=>w.portfolioYieldMarginTop.valuePx(i.windowSize)};
50
- `,D=s(L)`
50
+ `,D=s(N)`
51
51
  display: flex;
52
52
  flex-direction: row;
53
53
  align-items: flex-start;
@@ -58,7 +58,7 @@ import{j as e,M as X,o as n,iy as G,n as E,d6 as H,u as K,e as Q,a0 as N,C as O,
58
58
  flex-direction: row;
59
59
  align-items: flex-start;
60
60
  gap: ${n.sp1};
61
- `,F=s(L)`
61
+ `,F=s(N)`
62
62
  display: flex;
63
63
  flex-direction: row;
64
64
  align-items: flex-start;
@@ -98,7 +98,7 @@ import{j as e,M as X,o as n,iy as G,n as E,d6 as H,u as K,e as Q,a0 as N,C as O,
98
98
  position: absolute;
99
99
  height: 2px;
100
100
  background-color: ${i=>i.color??A.graphColor34Dark};
101
- `,z=s(L)`
101
+ `,z=s(N)`
102
102
  color: ${i=>i.theme.colors.hero};
103
103
  align-self: flex-start;
104
104
  display: flex;
@@ -1,4 +1,4 @@
1
- import{M,j as t,d6 as B,o as l,bt as N,af as U,d7 as q,s as G,n as _,d8 as H,c as y}from"./index-DjfQ_8_G.js";import{b as w,n as i}from"./vendor-CnQcJ2Lu.js";const u=M.getLocalizedStrings(),j={large:{labelComp:q,title:G,subtitle:_,seeMoreLink:_}},J={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=J.large,Y=i.div`
1
+ import{M,j as t,d5 as N,o as l,bw as B,af as U,d6 as q,s as G,n as _,d7 as H,c as y}from"./index-Cnh9fv8f.js";import{b as w,n as i}from"./vendor-rkTZJa59.js";const u=M.getLocalizedStrings(),k={large:{labelComp:q,title:G,subtitle:_,seeMoreLink:_}},J={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=J.large,Y=i.div`
2
2
  width: ${e=>e.scale*o.width}px;
3
3
  height: ${e=>e.scale*o.height}px;
4
4
  overflow: hidden;
@@ -18,20 +18,20 @@ import{M,j as t,d6 as B,o as l,bt as N,af as U,d7 as q,s as G,n as _,d8 as H,c a
18
18
  box-shadow: ${e=>`${e.variant==="large"?y.Elevation2Light:y.Elevation1Light}`};
19
19
  border-radius: ${e=>e.scale*o.borderRadius}px;
20
20
  }
21
- `,Z=i(j.large.labelComp)`
21
+ `,Z=i(k.large.labelComp)`
22
22
  color: ${e=>e.theme.colors.brandColorRuby};
23
23
  text-transform: uppercase;
24
24
  margin-bottom: ${e=>e.scale*o.gap}px;
25
25
  text-align: left;
26
- `,K=i(j.large.title)`
26
+ `,K=i(k.large.title)`
27
27
  color: ${e=>e.theme.colors.primary};
28
28
  margin-bottom: ${e=>e.scale*o.gap}px;
29
29
  text-align: left;
30
- `,Q=i(j.large.subtitle)`
30
+ `,Q=i(k.large.subtitle)`
31
31
  color: ${e=>e.theme.colors.champion};
32
32
  margin-bottom: ${e=>e.scale*o.gap}px;
33
33
  text-align: left;
34
- `,V=i(j.large.seeMoreLink)`
34
+ `,V=i(k.large.seeMoreLink)`
35
35
  color: ${e=>e.theme.colors.brandColorJadeDark};
36
36
  `,W=i.div`
37
37
  width: ${e=>e.scale*o.width}px;
@@ -113,7 +113,7 @@ import{M,j as t,d6 as B,o as l,bt as N,af as U,d7 as q,s as G,n as _,d8 as H,c a
113
113
  }
114
114
  outline-color: ${e=>e.theme.colors.primary};
115
115
  }
116
- `,pe=i(N)`
116
+ `,pe=i(B)`
117
117
  width: ${l.sp3};
118
118
  height: ${l.sp3};
119
119
  color: ${e=>e.theme.colors.hero};
@@ -141,4 +141,4 @@ import{M,j as t,d6 as B,o as l,bt as N,af as U,d7 as q,s as G,n as _,d8 as H,c a
141
141
  transform: translate(-50%, -50%) translateX(0px) translateZ(10px) scale(${s})
142
142
  }
143
143
  `}
144
- `,me=[{positionX:-480,scale:.67},{positionX:-226,scale:.83},{positionX:0,scale:1},{positionX:226,scale:.83},{positionX:480,scale:.67}],he=({cards:e,showUpdatePaymentDetailButton:s,stopCarousel:a,scale:n=1,useFixedArrowPosition:c=!1})=>{const[p,m]=w.useState(2),[h,b]=w.useState(!1),[v,C]=w.useState(!1),f=e.length,S=B().analytics,L=(X-X*n)/2*-1,$=w.useCallback(r=>{v||(C(!0),m(d=>(d+r+f)%f),setTimeout(()=>C(!1),1e3))},[v,f]);w.useEffect(()=>{if(h||a||v)return;const r=setInterval(()=>{$(1)},3e3);return()=>clearInterval(r)},[h,a,v,$]);const P=r=>(p+r-x+f)%f,O=r=>{const d=Array.from({length:F},(g,k)=>P(k)).indexOf(r)-x;d!==0&&$(d),s?S.trackOnboardingLandingPageCardClick(e[r].cardTitle):S.trackOnboardingInterimCard(e[r].cardTitle)};return t.jsxs(le,{children:[t.jsx(A,{arrowOffset:L,position:"left",useFixedArrowPosition:c,onClick:()=>$(-1),children:t.jsx(pe,{className:"btnsvg"})}),t.jsx(de,{useFixedArrowPosition:c,children:e.map((r,d)=>{const g=Array.from({length:F},(be,R)=>P(R)).indexOf(d);if(g===-1)return null;const{positionX:k,scale:E}=me[g],z=g===x,T=E*n,D=k*n,I=1.02*n;return t.jsx(ge,{isForeFront:z,positionX:D,scale:T,hoverScale:I,onClick:()=>O(d),onMouseEnter:()=>z&&b(!0),onMouseLeave:()=>z&&b(!1),style:{zIndex:g===x?5:5-Math.abs(g-x)},children:t.jsx(ne,{label:r.cardTitle,title:r.sectionTitle,subtitle:r.sectionSubTitle,seeMoreLink:r.redirectLink,image:r.imageLink,variant:g===x?"large":g===x-1?"medium":"small"})},d)})}),t.jsx(A,{arrowOffset:L,position:"right",useFixedArrowPosition:c,onClick:()=>$(1),children:t.jsx(ce,{className:"btnsvg"})})]})},ue=["https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-reimbursements.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-bill-payments.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-ai-bookkeeping.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-checking-accounts.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-credit-cards.png"],xe=["https://www.zeni.ai/product/employee-reimbursements?utm_source=onboarding_interim","https://www.zeni.ai/product/bill-pay?utm_source=onboarding_interim","https://www.zeni.ai/product/ai-bookkeeping?utm_source=onboarding_interim","https://www.zeni.ai/product/business-checking-accounts?utm_source=onboarding_interim","https://www.zeni.ai/product/business-credit-card?utm_source=onboarding_interim"],we=({scale:e=1,showUpdatePaymentDetailButton:s=!1,stopCarousel:a=!1,useFixedArrowPosition:n=!1})=>{const{customerOnboardingPage:c}=M.getLocalizedStrings(),{productSuite:p}=c,m=p.productCard.cards.map((h,b)=>({...h,imageLink:ue[b],redirectLink:xe[b]}));return t.jsx(he,{cards:m,scale:e,showUpdatePaymentDetailButton:s,stopCarousel:a,useFixedArrowPosition:n})};export{we as S};
144
+ `,me=[{positionX:-480,scale:.67},{positionX:-226,scale:.83},{positionX:0,scale:1},{positionX:226,scale:.83},{positionX:480,scale:.67}],he=({cards:e,showUpdatePaymentDetailButton:s,stopCarousel:a,scale:n=1,useFixedArrowPosition:c=!1})=>{const[p,m]=w.useState(2),[h,b]=w.useState(!1),[v,C]=w.useState(!1),f=e.length,L=N().analytics,S=(X-X*n)/2*-1,$=w.useCallback(r=>{v||(C(!0),m(d=>(d+r+f)%f),setTimeout(()=>C(!1),1e3))},[v,f]);w.useEffect(()=>{if(h||a||v)return;const r=setInterval(()=>{$(1)},3e3);return()=>clearInterval(r)},[h,a,v,$]);const P=r=>(p+r-x+f)%f,O=r=>{const d=Array.from({length:F},(g,j)=>P(j)).indexOf(r)-x;d!==0&&$(d),s?L.trackOnboardingLandingPageCardClick(e[r].cardTitle):L.trackOnboardingInterimCard(e[r].cardTitle)};return t.jsxs(le,{children:[t.jsx(A,{arrowOffset:S,position:"left",useFixedArrowPosition:c,onClick:()=>$(-1),children:t.jsx(pe,{className:"btnsvg"})}),t.jsx(de,{useFixedArrowPosition:c,children:e.map((r,d)=>{const g=Array.from({length:F},(be,I)=>P(I)).indexOf(d);if(g===-1)return null;const{positionX:j,scale:E}=me[g],z=g===x,R=E*n,T=j*n,D=1.02*n;return t.jsx(ge,{isForeFront:z,positionX:T,scale:R,hoverScale:D,onClick:()=>O(d),onMouseEnter:()=>z&&b(!0),onMouseLeave:()=>z&&b(!1),style:{zIndex:g===x?5:5-Math.abs(g-x)},children:t.jsx(ne,{label:r.cardTitle,title:r.sectionTitle,subtitle:r.sectionSubTitle,seeMoreLink:r.redirectLink,image:r.imageLink,variant:g===x?"large":g===x-1?"medium":"small"})},d)})}),t.jsx(A,{arrowOffset:S,position:"right",useFixedArrowPosition:c,onClick:()=>$(1),children:t.jsx(ce,{className:"btnsvg"})})]})},ue=["https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-reimbursements.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-bill-payments.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-ai-bookkeeping.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-checking-accounts.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-credit-cards.png"],xe=["https://www.zeni.ai/product/employee-reimbursements?utm_source=onboarding_interim","https://www.zeni.ai/product/bill-pay?utm_source=onboarding_interim","https://www.zeni.ai/product/ai-bookkeeping?utm_source=onboarding_interim","https://www.zeni.ai/product/business-checking-accounts?utm_source=onboarding_interim","https://www.zeni.ai/product/business-credit-card?utm_source=onboarding_interim"],we=({scale:e=1,showUpdatePaymentDetailButton:s=!1,stopCarousel:a=!1,useFixedArrowPosition:n=!1})=>{const{customerOnboardingPage:c}=M.getLocalizedStrings(),{productSuite:p}=c,m=p.productCard.cards.map((h,b)=>({...h,imageLink:ue[b],redirectLink:xe[b]}));return t.jsx(he,{cards:m,scale:e,showUpdatePaymentDetailButton:s,stopCarousel:a,useFixedArrowPosition:n})};export{we as k};
@@ -1,4 +1,4 @@
1
- import{e as c,j as r,dc as b,dd as z,de as L,aT as v,C as a,o as e,c as d,b as f,q as l}from"./index-DjfQ_8_G.js";import{j as i,n as p,k as m}from"./vendor-CnQcJ2Lu.js";const t={plasticCardMarginLeft:new a(l[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(l[2],13),businessTextBottom:new a(l[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(l[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(l[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(l[2],13),visaLogoBottom:new a(l[2],13)},u={businessText:new f("extraSmallRegular","largeRegular"),promoBusinessText:new f("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(B,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(D,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(v,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},A=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(W,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(k,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(z,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},C=m`
1
+ import{e as c,j as r,db as b,dc as z,dd as L,aT as v,C as a,o as e,c as d,b as f,q as l}from"./index-Cnh9fv8f.js";import{j as i,n as p,k as m}from"./vendor-rkTZJa59.js";const t={plasticCardMarginLeft:new a(l[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(l[2],13),businessTextBottom:new a(l[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(l[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(l[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(l[2],13),visaLogoBottom:new a(l[2],13)},u={businessText:new f("extraSmallRegular","largeRegular"),promoBusinessText:new f("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(B,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(D,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(v,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},A=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(W,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(k,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(z,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},C=m`
2
2
  0%{
3
3
  transform: rotate(12.4deg);
4
4
  translate: ${e.sp0} ${e.sp0};
@@ -1,4 +1,4 @@
1
- import{e as j,M as t,j as n,bn as w,k as l,C as s,o as i,s as P,n as y,O as b,aR as f,eJ as v,q as a}from"./index-DjfQ_8_G.js";import{n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const r={containerPaddingTop:new s(a[5],a[7]),containerPaddingBottom:new s(a[5],a[5]),containerPaddingLeftRight:new s(a[6],a[11])},S=o.div`
1
+ import{e as j,M as t,j as n,bn as w,k as l,C as s,o as i,s as P,n as y,O as b,aR as f,eK as v,q as a}from"./index-Cnh9fv8f.js";import{n as o}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const r={containerPaddingTop:new s(a[5],a[7]),containerPaddingBottom:new s(a[5],a[5]),containerPaddingLeftRight:new s(a[6],a[11])},S=o.div`
2
2
  border-radius: inherit;
3
3
  max-width: 520px;
4
4
  text-align: center;
@@ -1,4 +1,4 @@
1
- import{e as O,M as u,j as i,k,o,C as a,c as d,f1 as T,b as W,O as B,aR as E,eJ as M,e$ as q,a8 as w,d as $,q as r}from"./index-DjfQ_8_G.js";import{n as s}from"./vendor-CnQcJ2Lu.js";import A from"./QBOConnectionDialog-66XnPKaW-DPJc3mi2.js";const t={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},G={title:new W("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:c=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:j,companyName:y,updateQBOPopupState:h,handleOnConnectClick:f})=>{const n=O(),{qbo_connection:S}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:z,sucessText:b,button:v,errorText:C,requiredText:P}=S;return i.jsxs(H,{windowSize:n,children:[i.jsxs(I,{windowSize:n,children:[n==="small"?i.jsx(_,{children:l?i.jsx(K,{}):i.jsx(U,{})}):null,i.jsx(N,{windowSize:n,children:z})]}),i.jsxs(Q,{windowSize:n,children:[i.jsxs(R,{windowSize:n,children:[i.jsxs(F,{children:[i.jsx(J,{}),i.jsx(L,{windowSize:n}),i.jsx(Z,{})]}),l?n!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:v.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(D,{children:b}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:C})}):null,c&&!l?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null]}),i.jsx(A,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:j,companyName:y,saveConnectionState:p,handleOnConnectClick:f,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:c}=e;return i.jsx(q,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:c,textColor:{color:new w(d.successDark),borderColor:new w(d.successDark)}})},H=s.div`
1
+ import{e as O,M as u,j as i,k,o,C as a,c as d,f3 as T,b as W,O as B,aR as E,eK as M,f1 as q,a8 as w,d as $,q as r}from"./index-Cnh9fv8f.js";import{n as s}from"./vendor-rkTZJa59.js";import A from"./QBOConnectionDialog-l3ThoJCI-BaUAxpz_.js";const t={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},G={title:new W("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:c=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:j,companyName:y,updateQBOPopupState:h,handleOnConnectClick:f})=>{const n=O(),{qbo_connection:S}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:z,sucessText:b,button:v,errorText:C,requiredText:P}=S;return i.jsxs(H,{windowSize:n,children:[i.jsxs(I,{windowSize:n,children:[n==="small"?i.jsx(_,{children:l?i.jsx(J,{}):i.jsx(U,{})}):null,i.jsx(N,{windowSize:n,children:z})]}),i.jsxs(Q,{windowSize:n,children:[i.jsxs(R,{windowSize:n,children:[i.jsxs(F,{children:[i.jsx(K,{}),i.jsx(L,{windowSize:n}),i.jsx(Z,{})]}),l?n!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:v.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(D,{children:b}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:C})}):null,c&&!l?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null]}),i.jsx(A,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:j,companyName:y,saveConnectionState:p,handleOnConnectClick:f,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:c}=e;return i.jsx(q,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:c,textColor:{color:new w(d.successDark),borderColor:new w(d.successDark)}})},H=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -53,7 +53,7 @@ import{e as O,M as u,j as i,k,o,C as a,c as d,f1 as T,b as W,O as B,aR as E,eJ a
53
53
  gap: ${o.sp4};
54
54
  justify-content: left;
55
55
  color: ${e=>e.theme.colors.primary};
56
- `,J=s(B)`
56
+ `,K=s(B)`
57
57
  height: 20px;
58
58
  width: auto;
59
59
  color: ${e=>e.theme.colors.primary};
@@ -67,7 +67,7 @@ import{e as O,M as u,j as i,k,o,C as a,c as d,f1 as T,b as W,O as B,aR as E,eJ a
67
67
  color: ${e=>e.theme.colors.primary};
68
68
  `,_=s.div`
69
69
  margin-right: ${o.sp2};
70
- `,K=s(T)`
70
+ `,J=s(T)`
71
71
  width: ${o.sp3};
72
72
  height: ${o.sp3};
73
73
  color: ${d.success};
@@ -1,4 +1,4 @@
1
- import{C as V,q as U,u as M,e as W,M as D,a as G,a2 as X,j as s,S as H,c7 as J,aW as K,F as Q,a4 as Y,o as f}from"./index-DjfQ_8_G.js";import{b as L,n as h}from"./vendor-CnQcJ2Lu.js";import{b as Z,f as ee,l as $,o as j}from"./FollowStepsSection-BJFJzQrz-BPLmYjf1.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const B="reimbursementApprovalRuleDetailPage",T="lowerBound",k="upperBound",y="steps",te={footerPadding:new V(U[2],U[3])};function ye({localData:e,approvalUpdateActionType:r,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:d,onApprovalRuleDataUpdated:b,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:A}){const F=M(),S=W(),a=D.getLocalizedStrings().commonSetUp.approval,I=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=ae(e,r==="approval_create"&&!t),g=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,w=X(u?.fetchState),{upperBound:P}=x,{allApprovalRules:n,allAccountingClasses:_,remiSetupApproverViewUpdateData:c}=e;let m=n.length>1?n.length-1:0,v=n.length>0?n[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=n.findIndex(p=>p.approvalRuleId===i),v=m>0?n[m-1].criteria[0].range.min.amount:0}const q=g.handleSubmit(()=>{N()}),z=async(i,p)=>{b(p)};return L.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const O=H(p);J(()=>z(R,O))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{w==="In-Progress"&&u?.fetchState==="Completed"&&A()},[w,u?.fetchState,A]),s.jsxs(se,{children:[s.jsx(K,{title:r==="approval_create"?a.newApproval:a.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{d()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(Q,{...g,children:s.jsx("form",{id:C(B),onSubmit:q,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?I.amountPerRemiGreaterLabel:I.amountPerRemiLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>t?!0:i!=null&&i>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:a.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:_,stepsInfo:x[y],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:C(B),primaryBtn:{label:a.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:a.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:E},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(S)},separatorStyle:{marginRight:f.sp4}})]})}const ae=(e,r)=>{const{criteria:t,steps:l}=e.remiSetupApproverViewUpdateData?.data??{};return{[y]:re(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),j(e.allAttributes),j(e.filteredAttributes),l??[])??[],[T]:r?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},re=(e,r,t,l,o)=>o&&o.length>0?o.map((d,b)=>({stepIndex:b,stepType:{selectedOption:d.action,allOptions:$},actors:{allUsers:r,selectedUsers:le(e,d.actors),allNonUsers:l,selectedNonUsers:oe(t,d.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:$},actors:{allUsers:r,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,r)=>e.filter(t=>t.userId!=null&&r.findIndex(l=>l.userId===t.userId)>-1),oe=(e,r)=>e.filter(t=>r.findIndex(l=>l.subType===t.value)>-1),C=e=>`${e}_form`,Ae=e=>`${e}`,se=h.div`
1
+ import{C as V,q as U,u as M,e as W,M as D,a as G,a2 as X,j as s,S as H,c9 as J,aW as K,F as Q,a4 as Y,o as f}from"./index-Cnh9fv8f.js";import{b as L,n as h}from"./vendor-rkTZJa59.js";import{b as Z,f as ee,l as $,o as j}from"./FollowStepsSection-DRDFxA8H-Dg1nQMTR.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const B="reimbursementApprovalRuleDetailPage",T="lowerBound",k="upperBound",y="steps",te={footerPadding:new V(U[2],U[3])};function ye({localData:e,approvalUpdateActionType:r,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:d,onApprovalRuleDataUpdated:b,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:A}){const F=M(),S=W(),a=D.getLocalizedStrings().commonSetUp.approval,I=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=ae(e,r==="approval_create"&&!t),g=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,w=X(u?.fetchState),{upperBound:P}=x,{allApprovalRules:n,allAccountingClasses:_,remiSetupApproverViewUpdateData:c}=e;let m=n.length>1?n.length-1:0,v=n.length>0?n[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=n.findIndex(p=>p.approvalRuleId===i),v=m>0?n[m-1].criteria[0].range.min.amount:0}const q=g.handleSubmit(()=>{N()}),z=async(i,p)=>{b(p)};return L.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const O=H(p);J(()=>z(R,O))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{w==="In-Progress"&&u?.fetchState==="Completed"&&A()},[w,u?.fetchState,A]),s.jsxs(se,{children:[s.jsx(K,{title:r==="approval_create"?a.newApproval:a.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{d()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(Q,{...g,children:s.jsx("form",{id:C(B),onSubmit:q,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?I.amountPerRemiGreaterLabel:I.amountPerRemiLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>t?!0:i!=null&&i>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:a.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:_,stepsInfo:x[y],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:C(B),primaryBtn:{label:a.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:a.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:E},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(S)},separatorStyle:{marginRight:f.sp4}})]})}const ae=(e,r)=>{const{criteria:t,steps:l}=e.remiSetupApproverViewUpdateData?.data??{};return{[y]:re(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),j(e.allAttributes),j(e.filteredAttributes),l??[])??[],[T]:r?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},re=(e,r,t,l,o)=>o&&o.length>0?o.map((d,b)=>({stepIndex:b,stepType:{selectedOption:d.action,allOptions:$},actors:{allUsers:r,selectedUsers:le(e,d.actors),allNonUsers:l,selectedNonUsers:oe(t,d.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:$},actors:{allUsers:r,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,r)=>e.filter(t=>t.userId!=null&&r.findIndex(l=>l.userId===t.userId)>-1),oe=(e,r)=>e.filter(t=>r.findIndex(l=>l.subType===t.value)>-1),C=e=>`${e}_form`,Ae=e=>`${e}`,se=h.div`
2
2
  display: flex;
3
3
  height: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{u as D,e as B,M as b,j as t,aW as H,m as E,_ as S,o,C as r,n as L,a0 as z,bS as G,bU as U,bV as V,cu as q,q as l,ao as F,b as P,an as _,c as j,cr as J,aP as O,v as Q}from"./index-DjfQ_8_G.js";import{n as i,b as Y}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},W={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},Z=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:x,onEditRuleClick:v,onDeleteRuleClick:y})=>{const[g,d]=Y.useState(!1),n=B(),{range:c}=x.criteria[0],{steps:w,approvalRuleId:m}=x,a=b.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},A={onOkClick:()=>{d(!1),y?.(m)},onCancelClick:()=>{d(!1)}};return t.jsxs(K,{windowSize:n,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[t.jsxs(X,{windowSize:n,children:[t.jsxs(ae,{children:[t.jsxs(I,{windowSize:n,children:[a.from," ",z("0,0",c.min)]}),t.jsxs(ee,{children:[t.jsx(k,{}),t.jsx(te,{}),t.jsx(k,{})]}),c.max==null?t.jsx(ce,{}):t.jsx(I,{windowSize:n,children:z("0,0",{...c.min,amount:c.max.amount})})]}),t.jsxs(ne,{className:"icons",children:[e?t.jsx(pe,{onClick:$}):null,t.jsx(de,{onClick:()=>{v(m)},"data-testid":S("edit-approval-rule",m)})]})]}),t.jsx(oe,{windowSize:n,children:t.jsx(ie,{isSingleStep:w.length===1,windowSize:n,children:w.map((h,N)=>t.jsxs(re,{isSingleStep:w.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?t.jsx(le,{children:a.requireText}):t.jsx(se,{children:a.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>t.jsxs(R,{children:[t.jsx(T,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${M}`)),h.actors.map(p=>t.jsxs(R,{children:[t.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},N))})}),g?t.jsx(G,{titleComponent:t.jsx(V,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(U,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:A}):null]})},K=i.div`
1
+ import{u as D,e as B,M as b,j as t,aW as H,m as E,_ as S,o,C as r,n as L,a0 as z,bU as G,bW as U,bX as q,cw as F,q as l,ao as V,b as P,an as _,c as j,ct as J,aP as O,v as Q}from"./index-Cnh9fv8f.js";import{n as i,b as X}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},W={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},Y=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:x,onEditRuleClick:v,onDeleteRuleClick:y})=>{const[g,d]=X.useState(!1),n=B(),{range:c}=x.criteria[0],{steps:w,approvalRuleId:m}=x,a=b.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},A={onOkClick:()=>{d(!1),y?.(m)},onCancelClick:()=>{d(!1)}};return t.jsxs(Z,{windowSize:n,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[t.jsxs(K,{windowSize:n,children:[t.jsxs(ae,{children:[t.jsxs(I,{windowSize:n,children:[a.from," ",z("0,0",c.min)]}),t.jsxs(ee,{children:[t.jsx(k,{}),t.jsx(te,{}),t.jsx(k,{})]}),c.max==null?t.jsx(ce,{}):t.jsx(I,{windowSize:n,children:z("0,0",{...c.min,amount:c.max.amount})})]}),t.jsxs(ne,{className:"icons",children:[e?t.jsx(pe,{onClick:$}):null,t.jsx(de,{onClick:()=>{v(m)},"data-testid":S("edit-approval-rule",m)})]})]}),t.jsx(oe,{windowSize:n,children:t.jsx(ie,{isSingleStep:w.length===1,windowSize:n,children:w.map((h,N)=>t.jsxs(re,{isSingleStep:w.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?t.jsx(le,{children:a.requireText}):t.jsx(se,{children:a.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>t.jsxs(R,{children:[t.jsx(T,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${M}`)),h.actors.map(p=>t.jsxs(R,{children:[t.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},N))})}),g?t.jsx(G,{titleComponent:t.jsx(q,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(U,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:A}):null]})},Z=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
@@ -14,7 +14,7 @@ import{u as D,e as B,M as b,j as t,aW as H,m as E,_ as S,o,C as r,n as L,a0 as z
14
14
  border-color: ${e=>e.theme.colors.primary};
15
15
  }
16
16
  }
17
- `,X=i(F)`
17
+ `,K=i(V)`
18
18
  display: flex;
19
19
  position: relative;
20
20
  align-items: center;
@@ -170,7 +170,7 @@ import{u as D,e as B,M as b,j as t,aW as H,m as E,_ as S,o,C as r,n as L,a0 as z
170
170
  ${e=>`${W.amount.style(e.windowSize)}`};
171
171
  color: ${e=>e.theme.colors.primary};
172
172
  word-break: break-word;
173
- `,u={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Te=({approvalView:e,onBackClick:f,onEditRuleClick:x,onDeleteRuleClick:v})=>{const y=D(),g=B(),{fetchState:d,deleteStatus:n}=e,c=b.getLocalizedStrings().commonSetUp.approval,w=b.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,m=n.fetchState;return t.jsxs(he,{children:[t.jsx(H,{title:c.approvalPageHeader,backgroundColor:y.colors.grey4,style:{zIndex:4},onBackClick:()=>{f()},source:"ReimbursementApprovalRulesPage"}),t.jsxs(me,{children:[t.jsx(we,{windowSize:g,children:w.approvalPageSubTitle}),d==="In-Progress"||d==="Not-Started"||m==="In-Progress"?t.jsx(xe,{children:t.jsx(E,{size:"ExtraLarge",start:!0})}):d==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((a,$)=>t.jsx(Z,{showDeleteBtn:$!==0,approvalRule:a,isLastSection:$===e.allApprovalRules.length-1,onEditRuleClick:x,onDeleteRuleClick:v},a.approvalRuleId)),t.jsxs(ue,{windowSize:g,onClick:()=>{x()},"data-testid":S("add-approval-rule"),children:[t.jsx(ge,{}),t.jsx($e,{children:c.addApprovalText})]})]}):null]})]})},he=i.div`
173
+ `,u={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Te=({approvalView:e,onBackClick:f,onEditRuleClick:x,onDeleteRuleClick:v})=>{const y=D(),g=B(),{fetchState:d,deleteStatus:n}=e,c=b.getLocalizedStrings().commonSetUp.approval,w=b.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,m=n.fetchState;return t.jsxs(he,{children:[t.jsx(H,{title:c.approvalPageHeader,backgroundColor:y.colors.grey4,style:{zIndex:4},onBackClick:()=>{f()},source:"ReimbursementApprovalRulesPage"}),t.jsxs(me,{children:[t.jsx(we,{windowSize:g,children:w.approvalPageSubTitle}),d==="In-Progress"||d==="Not-Started"||m==="In-Progress"?t.jsx(xe,{children:t.jsx(E,{size:"ExtraLarge",start:!0})}):d==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((a,$)=>t.jsx(Y,{showDeleteBtn:$!==0,approvalRule:a,isLastSection:$===e.allApprovalRules.length-1,onEditRuleClick:x,onDeleteRuleClick:v},a.approvalRuleId)),t.jsxs(ue,{windowSize:g,onClick:()=>{x()},"data-testid":S("add-approval-rule"),children:[t.jsx(ge,{}),t.jsx($e,{children:c.addApprovalText})]})]}):null]})]})},he=i.div`
174
174
  display: flex;
175
175
  min-height: 100%;
176
176
  flex-direction: column;
@@ -229,7 +229,7 @@ import{u as D,e as B,M as b,j as t,aW as H,m as E,_ as S,o,C as r,n as L,a0 as z
229
229
  border-color: ${e=>e.theme.colors.primary};
230
230
  }
231
231
  margin-bottom: ${o.sp6};
232
- `,ge=i(q)`
232
+ `,ge=i(F)`
233
233
  width: ${o.sp3};
234
234
  height: ${o.sp3};
235
235
  `,$e=i.div`