@zeniai/web-cockpit-ui 1.14.46-dev → 1.14.47-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 (226) hide show
  1. package/dist/assets/{ACHDetailsPage--syILfU1-BxuDCGHA.js → ACHDetailsPage-aTYc51Xr-C1F1HPVq.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-C9PHcZ9m-BMlD10dL.js → AIPerformancePage-X0jCYtM_-Dajj_PUo.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-zufFLbYH-BHCxO1HE.js → AccountInfoPage-Dx3Y3u7a-DzyPx_IW.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DeUscKOY-jFKFtki2.js → AccountInfoPageContent-9hyxOyvj-BSsUU_yS.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DiV5MIVk-_QL90qVE.js → AccountLockedInfoModal-DJOB_sAg-fll74mil.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Df24sNTI-CpX7POHG.js → AccountReconDetailsDrawerPage-CBLBMUVT-6EGS8S_h.js} +1 -1
  7. package/dist/assets/{AccountRow-D-gDxofP-BKNqupIN.js → AccountRow-COkMC9z6-D4dAraic.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CNrguaFw-COWjHcL1.js → AccountsPromoCardStack-B0TKA_rE-CcQXvAsM.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CnKjCkiq-fqHQr0Lb.js → AddAddressForCardDrawer-DBBW_ygt-CoqgvC6m.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-SBPIsp3g-CZIBB02v.js → AddToWalletPage-Cy7qqaHF-C300FvQZ.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CGN0FV9G-CyE1di6I.js → AgingReportsPage-LJTYoktZ-DWTTYjjO.js} +1 -1
  12. package/dist/assets/{AllUserItems-NSk_ZDaN-r7T65B1m.js → AllUserItems-Cq-nSZod-B3AaUERo.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-gekBNl8u-DH61yFCF.js → ApAgingDetailPage-CxsG8tgq-CJg8VezM.js} +1 -1
  14. package/dist/assets/{AppBasePage-DZfMHT1p-CfNxItmX.js → AppBasePage-DiHP_N5e-BY10VeqW.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-BbDWr_80-B96BbzII.js → AppDrawerContent-07l8bnfq-CSKvqfQD.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-r4PXEevj-HuwzK4w3.js → ApprovalRulesSettingsPage-Cx1rLjH9-C_Ltncv_.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DDz9e6WP-cJGjLqns.js → ArAgingChart-BPvPNszV-a8CSz8Qb.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BmwVAKi0-BRkVtLol.js → ArAgingDetailPage-B27i7hBz-CCjYIiM-.js} +1 -1
  19. package/dist/assets/{AttachmentView-dC8wUD1A-BnJQMPey.js → AttachmentView-Ce-rZfQk-BSlqSlr9.js} +1 -1
  20. package/dist/assets/{BankAccountSection-dDAvWRwV-eaZiz317.js → BankAccountSection-Bn4tVnuF-BKifB-w4.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CHV6yGut-D1b1UgoN.js → BankAccountWarningSection-GKmK6rZN-DZACD48w.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-DzuywfJO-CSejKGwz.js → BankConnectionsSettingsPage-efLHWQFe-D589XB_U.js} +1 -1
  23. package/dist/assets/{BillDetailPage-C0bsxxO5-Byx8oTq0.js → BillDetailPage-DKkpAZMG-SeTIAYUC.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-6X6ZFjh--CDWBJ_eE.js → BillPayApprovalRuleDetailPage-MbH1c3C8-DXwAxfQY.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DZ68nsdO-DRJgk84H.js → BillPayApprovalRulesPage-BH3upfB1-BAVEAnCw.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-Dupp9DMB-2Lt6-rnT.js → BillPayPromoPage-WDhvRVxp-DSooRHTy.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-qTXTQHHD-TKuMDkSg.js → BillPaySetUpPage-C3rhKamR-BVMPCEUL.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-C0r0fzyn-CKwC-ZrI.js → BillingSettingsPage-YJAdgtZ_-CbVZ2CKz.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BlJsCrGg-Di8zd7F9.js → BillsBulkReviewDrawerPage-BrM9CWC2-B4iCDTat.js} +1 -1
  30. package/dist/assets/{BoxItem-C0jIrNqe-GbYpP5ZO.js → BoxItem-ulH3Bhgp-DoyWtJ5-.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Dh0I2VDw-DtTrvPPX.js → BusinessVerificationPage-0d5CYwdO-B5hjAZ-i.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-DCcLgAfF-Ro1GGlcZ.js → CardNumberSubText-BvkAu7UB-D1Do5tQm.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-DukKLLKE-DSlo8Rl_.js → CashbackDetailPage-BZJd6XyW-BRY1mTOL.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BhS_7ejN-4DdeEd2A.js → ChargeCardDetailPage-CKjUyK_7-EI63_C3b.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-DPvS0lVp-zOSK39iq.js → ChargeCardListPage-DODdNODU-DHkaajl5.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-CeO0vM1w-h0_G8p7e.js → ChargeCardListTable-Mbqi4H1P-Bd7Ft3vS.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-BHcJygId-CrcGGE30.js → ChargeCardPromoPage-DeR-3iTY-BT7OIJwp.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-DPyAsDw_-CrnLBi6I.js → ChargeCardSetupPage-DVELUCoe-DIyl4fXM.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-BTrkI7AA-D7fb5UpG.js → ChargeCardStatementsPage-Bld_eKmb-CNg19ZEZ.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-BEZFdQvc-pmICz2fP.js → ChargeCardUtils-fW7FfpSb-AR10z9iH.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-WT-vwyyH-BSx63KcS.js → ChaseOverlay-2Otdlf5E-Bh5L7UAs.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-CltSZ5Wp-DNHSXAZP.js → CheckDepositDrawerPage-B-qJ1mrW-3gQ6znM_.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-CLu0A-3k-B5Drr_bb.js → CollapsableReportTable-BTikLMZy-CPq5VhR3.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-CBeuHeZ--DcEA2seL.js → CompanyOfficerDetailsSection-zZO2eh1J-D-xmt2b-.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-jD2PB51n-Bvaa3igz.js → CompanyPassportCard-0UAE79rI-B-jdvG0J.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-dyDms6h1-DS4UQlVX.js → CompanyPassportPage-DrmWGWPZ-B_z4gdKB.js} +1 -1
  47. package/dist/assets/{CompleteProfile-DPqqxn6i-B92b31Mz.js → CompleteProfile-CluRzr-W-DDAiXIRE.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-P7_sML0C-Cdys9Pty.js → ConfettiBurst-EJvT8IrQ-BwgaF0zX.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DFSTUJrp-CvfEC9-8.js → CreateOrEditVendorPage-DAD4YSrh-CoagSebS.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-B9wNKkH0-HCW_iUlJ.js → CreditCardPaymentDrawerPage-BBNlpaft-6J9PqQGU.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-D9Wl3oG3-CbnjURB4.js → CreditCardPaymentPlgSection-CktjAGdd-C02SMba-.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-DvGfc9aD-DW3_XZOQ.js → CurrencySelectField-Z_T4BQhi-COxN-MYU.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-Di_xeaIU-A9u6oKGd.js → CustomerOnboardingActivationPage-BI46q3Bq-DESxo0H8.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-CZAm4G7W-ByW6mtsb.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWqC-t_X-li8KfleA.js → CustomerOnboardingDetailPageSkeleton-CGIUVfAE-3AAWT_zJ.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-CyYMBxPd-DibFaX-p.js → CustomerOnboardingNoStepsPage-zFHqt8vr-B2yOewHT.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-DTn6NMQq-BwH0Uodu.js → CustomerOnboardingPage-DRbQY2yr-n277D7g_.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-DUeYhG_T-Daz8GQi7.js → CustomerOnboardingProductSuitePage-BglzxmIP-BaPH02Kn.js} +1 -1
  59. package/dist/assets/{Dashboard-W3tlpN3d-Bbzf8ZUA.js → Dashboard-BJc01Zrg-RgvACYSo.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-BmKlBVki-DoPzLcKJ.js → DashboardReportPage-C1d8VK5i-vurlF4lW.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CyC3agvt-D1vqYWwl.js → DashboardSidebarBackgroundAnimation-DC1VJk0J-CysWCHBf.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-HP7beqdc-D5FHO4qf.js → DepositAccTransactionItem-BN0dT4ca-oNctEtSy.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-CCD5dXzH-DLXY7TC2.js → DepositAccTransactionListPage-D4CLQ2zV-RbwqLCB9.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-7OXnbEeP-DDoFU9_I.js → DomesticWireDetailsPage-ai0YkB93-DkaYERr9.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-CVbHzXae-DLbNwAO2.js → DownloadOverlay-eNiRhovl-B_Sb3dth.js} +1 -1
  66. package/dist/assets/{DrawerPage-BbpOgIf_-B7Zd0Yyb.js → DrawerPage-_cA3LH2A-DGpoKTPP.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-BDADCpYY-CFMLkMG7.js → EditPeoplePage-Bhh_BxeV-C4ip55LV.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-DIp9gLVK-Bk7NAvKm.js → EditReimbursementDetailPage-C5aA5obB-BZuBmnJY.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-Drf_eWYE-DgdVysTa.js → EntityDetailPage-CxzSbzv5-BR9vPhQJ.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-CjpSlwYo-DzQuHOPY.js → EntitySummarySection-Jt-Bgbwl-CUCvjOOE.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-B7s0JFUb-D6UQNTcf.js → ExpenseAutomationOverviewPage-BnBfGZyF-D_f_8gWD.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-wVYtzHiK-EiQ-wmnq.js → ExpenseAutomationPage-CPINGlg8-Bux2Zal8.js} +63 -63
  73. package/dist/assets/{ExpressPayPage-BIe4mx0w-KS9w1OOq.js → ExpressPayPage-nwL5UiPT-UG3SN8TA.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-C5qdS1Mx-CbttcBbU.js → FeaturePreviewPage-C3ESvF_G-w9uey7NE.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-uCm-60ZT-CXyxEHRU.js → FollowStepsSection-B5affvdS-CC4gaZne.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-CZGd12z7-BwoaDTDG.js → GlobalReviewListPage-CsF47R3F-BKOuzhvv.js} +1 -1
  77. package/dist/assets/{HelpButton-BZh7cT22-FOAfbilW.js → HelpButton-COQrt2oX-DzMCGDGr.js} +1 -1
  78. package/dist/assets/{InformationCardStack-Ca1orjVR-BkevdZo7.js → InformationCardStack-CzXjj7b8-z72c_jEO.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-DsF68qad-_oDrhlZn.js → InsightsCardStack-D97A5lvB-CqZqEGIc.js} +1 -1
  80. package/dist/assets/{InsightsSection-D0ZZ7KlF-C4K8gCnZ.js → InsightsSection-2ILqXih8-DVpA5MVZ.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-Bbd74pLK-BnWC4mgC.js → IntegrationsSettingsPage-C02GIm78-D9a98bnd.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-Bk73k2oO-IMlDcOpr.js → InternationalWireSwiftDetailsPage-cwqfeYWq-AgZ26n0O.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-DNXdlnbX-CkC_RegF.js → InternationalWireVerificationPage-BsM0qJMD-DG-IvkPp.js} +1 -1
  84. package/dist/assets/{InviteFormPage-D0h4v_NO-4w1CbX8x.js → InviteFormPage-Cvvuts9_-CH1n1zwG.js} +1 -1
  85. package/dist/assets/{InvitePageListView-BFMkE9Tu-D-d0uFsc.js → InvitePageListView-C7bghm-Q-D_JwlgXA.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-oRP-EOMn-CoN98feJ.js → InvitePeoplePage-CZim2-oS-BCgwCbc_.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-C1Z861SF-AX5z5Yaz.js → InvoiceUploadSection-DQpy2cRB-BYO7pkZD.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-BGLXn6Ko-fJsLXxDN.js → IssueChargeCardPage-DA0W292g-0Yrqnetr.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-Bv4KzEgZ-D2Z1AO0P.js → LabeledAddressValue-BBqoyIwz-BuZPP0kB.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-BRIokwlO-Br8kkGcq.js → LabeledAddressValueField-l0XKNlaq-BRSM9eKo.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-CJExnmlN-DO_g1j9w.js → LabeledControlledCheckBoxField-CN6vZqSm-Cr0v_HbC.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CCuk6AgV-DCucZJeC.js → LabeledCreatableSingleSelectField-DZIsQevy-9hx4zlye.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-D3qyVGxk-BaCEFIkW.js → LabeledDocumentField-DMEWdfq0-BSsFK7UP.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-BLgl-7Hq-WT9b7tU0.js → LabeledDropDownFormattedTextField-CSUZIpw4-Bj9OQgXE.js} +1 -1
  95. package/dist/assets/{LabeledText-BQnIyfvc-C0VyJJGm.js → LabeledText-DyhIUdFx-DYQI7Oj4.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-zqrvuzP2-Cj42NHnU.js → LabeledUserSingleSelectWithSubtitlesField-CC89oZ_u-Du0GRcAB.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BNymD4XC-D2lsRwRm.js → LabeledZeniRolesDropDownField-DXi_2I5i-BVMMAxfm.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-DVNS5f8U-Df4U2y19.js → LinkJETransactionPage-BF4Qmfk0-BeEgKLJh.js} +4 -4
  99. package/dist/assets/{LowBalancePopup-RGljE6Gy-CR0-2fWi.js → LowBalancePopup-B1SB0L70-DRs6_4Ad.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-D7LUoqr8-BdU8yZ5j.js → MagicLinkACHDetailsPage-Bx62Lvrk-Too4gNiU.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CP4QkcQq-B3i2gX5R.js → MagicLinkDomesticWireDetailsPage-Dqqn9-Cd-VhclluXr.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-D-0OTLDt-aQk6T3QB.js → MagicLinkInternationalWireDetailsPage-l7z62GSc-CdFDNaqX.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-CqQPz8hK-COaig1iW.js → MagicLinkSuccessPage-BLW5WloR-qHEmcZ_C.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CvzFLF1d-BjtGPNRf.js → MagicLinkTitleSection-C_Y0_Q8g-B7RA5zb8.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-CY9MIZVo-VkVLlRre.js → MailingDetailsSection-CWCOpN4f-D0dxYO1r.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-D4lzsud6-B-L9W62K.js → MeetingCalenderPopup-CaAA-95e-B1U6_EBk.js} +1 -1
  107. package/dist/assets/{Menu-DSDvn7NT-CFb4U79f.js → Menu-r5aBVcPX-CEDXfgVi.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-CwUWREVA-CVEkDsIH.js → MyBankConnectionsSettingsPage-DxEZLt-N-DNiOVJQY.js} +1 -1
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-Dq2TaKYj-CG1G_XWV.js → MyPendingActivationChargeCardListPage-BuKZsRFM-Bu1K6iX8.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-BADmv6Se-CdkheVq0.js → MyProfileSettingsPage-CifOm8vx-BI0OeT7v.js} +1 -1
  111. package/dist/assets/{NavBarWithPicker-CQfjpio1-RAOTRz4l.js → NavBarWithPicker-ecFrLzuG-CUnQdZn0.js} +1 -1
  112. package/dist/assets/{NavigationArrow-C_pvSHPb-CE_gN0di.js → NavigationArrow-1zbfgcmE-BdLBhx7f.js} +1 -1
  113. package/dist/assets/{NavigationDots-CD95Ln70-Dmxg83Au.js → NavigationDots-2bNAi48B-k0PWrc4i.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-TW_3Xstm-DyRAnna_.js → NewGlobalMerchantPage-B0O8iQck-CUVnFtbB.js} +1 -1
  115. package/dist/assets/{NoDataChart-CRt1tpsJ-BtiEjOSc.js → NoDataChart-DVB1FTW8-JpcfKKlk.js} +1 -1
  116. package/dist/assets/{NoDataTable-CDcIV82h-DfO01zMp.js → NoDataTable-DWOVpAfA-u0_L5l-r.js} +1 -1
  117. package/dist/assets/{NotFoundPage-Bm6S-H7q-BhIwKTtl.js → NotFoundPage-BlhK0DnR-DnZMB0hX.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-D-D5P9EO-BVjbZkiJ.js → NotificationSettingsPage-D9h-cv_3-Api--9_4.js} +1 -1
  119. package/dist/assets/{NotificationsListConfig-WidehAvK-D5lP2K1S.js → NotificationsListConfig-CJzqBbvL-fegqpP2o.js} +1 -1
  120. package/dist/assets/{NotificationsPage-CfbNB9MM-CToMj8ak.js → NotificationsPage-Bb8jGE88--EHNFTsZ.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-C8hkid96-Co5PIkTZ.js → OpExByVendorPage-cCbrLj0D-BbAQMT2y.js} +1 -1
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-DE4uuXfE.js → OverlayContainerPage-Bmu909Fo-t16DnFNE.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-BtlmwFMj-DTLHqjwj.js → PandLWithForecastPage-G4lWjG0f-DxlqIkQq.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CkTQv7Wx-C7SBzEL3.js → PaymentAccountSetupBillingAddressSection-DsnTCd1g-BBg0xXgD.js} +1 -1
  125. package/dist/assets/{PeoplePage-Bmme1KPn-BebviSUC.js → PeoplePage-BFbEsxCG-BzoOFAW0.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-BFAm5TNr-BweJWn-g.js → PortfolioAllocationFormPage-D1uHtLe7-CW4366Mc.js} +1 -1
  127. package/dist/assets/{PortfolioDetails-OkTxpi-C-Bl-mfHnL.js → PortfolioDetails-t8bIGJXx-CBmzVPci.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-LvpG3-F1-epnkUBSX.js → ProductsCarousel-BddjVme9-zQtZpwKJ.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-Cv7K_N6u-UeK0BcYt.js → PromoBaseCards-D3KJDpH5-BzOCd7MM.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-CUfScQXi-Dhb1KbEx.js → QBOConnectionDialog-CXXyWMRA-D3LphS3j.js} +1 -1
  131. package/dist/assets/{QBOSetupSection-D9GWii9g-CInaMSn3.js → QBOSetupSection-8vr753O6-BoaoMamx.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Dj3C1TmV-C25Rrizb.js → ReimbursementApprovalRuleDetailPage-4DxF-bsn-JReeMtWG.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-C2agT3nK-D5eZUYBt.js → ReimbursementApprovalRulesPage-B8VB00Ys-C_GNgoO8.js} +1 -1
  134. package/dist/assets/{ReimbursementDetailPage-BuzGiN7H-DAQJGLlo.js → ReimbursementDetailPage-B3eXWVu_-C0b-9wxm.js} +1 -1
  135. package/dist/assets/{ReimbursementPromoPage-BK0BX0j6-wGlYy4AU.js → ReimbursementPromoPage-CZSp2B03-C2qo1ech.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-BGC_ZClc-BHijpA7Y.js → ReimbursementSetUpPage-B2xoCrQQ-DP82ecwV.js} +1 -1
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-COt4v5HI-CnT2VXw2.js → ReimbursementsBulkReviewDrawerPage-CP0GBWSz-CnJViZkd.js} +1 -1
  138. package/dist/assets/{ReloadCard-DicisRG0-DP9QZo5L.js → ReloadCard-BgQhOfRW-Bs85GxaN.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-BXl7f3Pv-CTFRTX29.js → ReportTableViewSelector-lD-WdOy3-sXP4nlcM.js} +1 -1
  140. package/dist/assets/{ReportsPage-CFzHNZAT-JQVpQHD5.js → ReportsPage-SBj5iXie-B3niN5Xn.js} +1 -1
  141. package/dist/assets/{RevenueChart-B6v1tDMc-B3iOOJql.js → RevenueChart-Bt1neNVP-DXNXYEd6.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-v-ftm50C-CcXtRs3B.js → ReviewDetailsPage-CpQj99Qb-DXbRhEAO.js} +1 -1
  143. package/dist/assets/{ReviewOverlay-D80OVH3g-D2cxg78C.js → ReviewOverlay-ByJYZZ8h-XZfyr2Ra.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-BLRFyqKt-Du0quEGr.js → RoleWithToolTip-DC3qy-Pk-DGTPKSil.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-AwnLkcH4-C1sYawlZ.js → ScheduleDetailsFixedAssetsPage-CZSXWRtp-BWv6aA2z.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsPage-DQ18Ge_f-DRCgLGLl.js → ScheduleDetailsPage-DV-UMy5n-BaRWQ19W.js} +1 -1
  147. package/dist/assets/{ScheduleSequenceTable-C7BoKuLd-BAxQWyjj.js → ScheduleSequenceTable-g4vqQpwx-C0rIDRSk.js} +1 -1
  148. package/dist/assets/{ScreenRoutes-BNM6SXdg.js → ScreenRoutes-DeQfzDJz.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-CRYndaTf-DB1iaZYK.js → SetUpAccountSection-CTBtO2N2-CrkO9OG6.js} +1 -1
  150. package/dist/assets/{SetUpDefaultSection-BFsDk94Y-DWYA8JXF.js → SetUpDefaultSection-CXIQhQdd-BS_7M4GT.js} +1 -1
  151. package/dist/assets/{SignIn-DyuSa8z8-BjW3Js3L.js → SignIn-8Qzfb-ML-CX78tjCb.js} +1 -1
  152. package/dist/assets/{SignInScreen-BHS6epFr.js → SignInScreen-DZCziuLm.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-B8JdqiZT-C72anZuO.js → SpendManagementListViewPage-XRKpo66r-CCzHLMuc.js} +3 -3
  154. package/dist/assets/{SpendManagementPerTabPage-BsbTGRhc-CntRyWYr.js → SpendManagementPerTabPage-DCzaAg5_-DnT0Jh7b.js} +1 -1
  155. package/dist/assets/{SpendManagementSection-BSagxXbA-DFBkI-zp.js → SpendManagementSection-CIGWntD1-8Y2KgQKW.js} +1 -1
  156. package/dist/assets/{SpendMgmtSetupAccountSection-CnUAUXQu-EdHDou2-.js → SpendMgmtSetupAccountSection-EFLwpIsc-BS9VwuhA.js} +1 -1
  157. package/dist/assets/{StatementItem-Nz1Cw2Na-CDhLP85g.js → StatementItem-DBrH7VxB-Cxbw2Xyx.js} +1 -1
  158. package/dist/assets/{StatementsPage-xVxtuZJm-Bip-fsrW.js → StatementsPage-14W8QRuc-DFQGe88D.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-D-nXxItD-CALtJDGD.js → StatusSwitcher-Bc1YjzA2-C6Ge3kUi.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-BGPV9-bA-BUDfmwPq.js → SubTabSwitcher-CYkqW6KU-DnYIhzYl.js} +1 -1
  161. package/dist/assets/{SummaryCard-D5wEwe5n-DUZsM6hu.js → SummaryCard-BCWWc9ky-mfm8GuQR.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-BwSjYaE4-CMMZz2ti.js → TaskManagementPage-ByiGVOvO-F-1AS2Wy.js} +1 -1
  163. package/dist/assets/{TimeRangeSwitcher-526_d3T2-CFTktY0G.js → TimeRangeSwitcher-DAv5fZf9-DTJgtu4j.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-C6LtTgVk-Hifvwef6.js → TimeframeSwitcher-DuE5Ij9a-D_56OGW7.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-DsbKCFMf-2X60-WMC.js → TimeframeSwitcherWithToggle-D2bWFmv2-BT6zUtfo.js} +1 -1
  166. package/dist/assets/{TopExCard-DvjdpI7S-B3kiajli.js → TopExCard-D2XGVr9A-vnGCIOut.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-BIsPQ7dQ-D-AfHP_w.js → TopExDetailPage-CW72OuYz-yNd1QGKY.js} +1 -1
  168. package/dist/assets/TransactionDetailPage-9UkwTR4Z-BiqGsF3z.js +912 -0
  169. package/dist/assets/{TransactionList-CtTDxJZI-BygPUDkk.js → TransactionList-ietybHPX-0QOU9e6b.js} +1 -1
  170. package/dist/assets/{TransactionListBig-C5WN4Z9R-DZly4P-q.js → TransactionListBig-CImw-DuN-DO2JqFEj.js} +1 -1
  171. package/dist/assets/{TransactionListPage-DT6-g_bp-BpbbB8rK.js → TransactionListPage-Wf8pCEet-DXiF_-U2.js} +1 -1
  172. package/dist/assets/{TransactionVendorDetailPage-D6BFJ0K9-ra7vkmW4.js → TransactionVendorDetailPage-De43f8hV-CkP49sAb.js} +1 -1
  173. package/dist/assets/{TransferDrawerPage-C2Cim8e--DJSVnJjc.js → TransferDrawerPage-DWZIGvKV-WkXRZpoX.js} +1 -1
  174. package/dist/assets/{TreasuryOverviewPage-Cj-2Z2gC-Dhd4pAKf.js → TreasuryOverviewPage-DqY6cLQK-CHUh1TwA.js} +1 -1
  175. package/dist/assets/{TreasuryPromoPage-CgvANRdz-CCNguxvj.js → TreasuryPromoPage-860OBCJZ-D8WtLOki.js} +1 -1
  176. package/dist/assets/{TreasurySetupPage-CmkhmTXP-K6GvZ68-.js → TreasurySetupPage-qx5Bkp8D-X1VexfCR.js} +1 -1
  177. package/dist/assets/{TreasuryStatementsPage-C_ZcfWaA-DmwJ2kKj.js → TreasuryStatementsPage-BBLe40p3-XC6taSRD.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-Cc8opJIX-DzFOwGLr.js → TreasuryTaxLetterPage-g5az8RTF-CAWpZCVs.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-DF5Rqu8e-DdsmaXIJ.js → TreasuryTransferOrReviewPage-BoFF-bna-BXaJiZaF.js} +1 -1
  180. package/dist/assets/{TrendChart-C74g1AEy-CbIvtKj2.js → TrendChart-wr5WIfKD-DWjGFRlo.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-Ct1r_X3l-juM0LM3l.js → TrendWithTransactions-D2zxfMK6-BJSA0eIu.js} +1 -1
  182. package/dist/assets/{UncategorizedAccountsMappingPage-yoX6L7gv-DL93Tsq2.js → UncategorizedAccountsMappingPage-C6r6V08i-B4Y6tV6L.js} +1 -1
  183. package/dist/assets/{UnitIntegrationPage-Dv889hCl-b0yLKLRW.js → UnitIntegrationPage-D1x3v9Gk-CniCEPEh.js} +1 -1
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-DL23btxR-D1hfIsgK.js → UploadAdditionalDocumentOverlay-CkmIxQkI-f-1wilOs.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-CEZdlZ0d-C3tw1O-U.js → Vendor2FAPopup-Db3DMkcT-Bdm6QnJ6.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-DNjVJ1l9-B9UPE2SF.js → VendorACHDetailsPage-DR3LqsST-DUNpzOnV.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-CtCQ_Go4-Ks6bHeRz.js → VendorDetailPage-D3QGr-pz-Dv17YPRy.js} +1 -1
  188. package/dist/assets/{VendorDomesticWireDetailsPage-BGRUZzV5-CyIc1hwO.js → VendorDomesticWireDetailsPage--bOPCKsx-BRy04Sfv.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-D6vRhOFW-B-_cDF78.js → VendorFiling1099EditablePage-BCHuhF3x-CzwpyxaJ.js} +1 -1
  190. package/dist/assets/{VendorFirstReviewPage-B4BbdaKq-KFyP9z7O.js → VendorFirstReviewPage-7lNoCtJd-Cvkxy8dv.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireDetailsPage-DfUQQV53-B-Oc3c8k.js → VendorInternationalWireDetailsPage-BKja_BeQ-BPOkDQ6L.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DB2bs1nX-DzBuxzCf.js → VendorInternationalWireSwiftDetailsPage-BU7akKA7-DBGOtvjW.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-B74xTqeg-C9rfxIBR.js → VendorsAccountsSection-DUUeE27C-BJ2NLWkJ.js} +1 -1
  194. package/dist/assets/{VerifyDevice-C4SVFWfe-D_7-2wl4.js → VerifyDevice-Bq2JQdFQ-DRISKGyV.js} +1 -1
  195. package/dist/assets/{VideoPlayer-Cioog4TG-DfTWdAiX.js → VideoPlayer-BO44yY9I-DkIU-YXX.js} +1 -1
  196. package/dist/assets/{VideoPopup-BKgRyZUf-ptZHh9xp.js → VideoPopup-CGxCsA2n-CF7e4Ztp.js} +1 -1
  197. package/dist/assets/{WarningsDrawerPage-Bg-KsavE-BIEc2t9t.js → WarningsDrawerPage-DQe1wYJx-qPZptyKF.js} +1 -1
  198. package/dist/assets/{ZeniAccountDetailPage-By5RV9_L-DonbWGXW.js → ZeniAccountDetailPage-PvGx4G0J-CSnqNKB9.js} +1 -1
  199. package/dist/assets/{ZeniAccountListViewPage-BproEfmr-D2KbQbFX.js → ZeniAccountListViewPage-CjFOZU7z-DvvaM5D2.js} +1 -1
  200. package/dist/assets/{ZeniAccountNavBarPieces-Cvs4x9iH-BZk0k6FR.js → ZeniAccountNavBarPieces-Bl2KSpG4-CCHLm23i.js} +1 -1
  201. package/dist/assets/{ZeniAccountPromoPage-DPdoSB9H-DKljzEDz.js → ZeniAccountPromoPage-Bq8_AYTZ-Cx1MlikB.js} +1 -1
  202. package/dist/assets/{ZeniAccountSetupPage-ChLPQ2bx-B3-67ZyE.js → ZeniAccountSetupPage-B11NHszy-DinsHxS3.js} +1 -1
  203. package/dist/assets/{ZeniCopyright-DohfTKh2-BONyEcTD.js → ZeniCopyright-D-Hzee6E-BDkHmM8g.js} +1 -1
  204. package/dist/assets/{ZeniTransferAmountSlider-B7wjpsuR--bsdDvQ8.js → ZeniTransferAmountSlider-D7vxmkxJ-BQHPCJmW.js} +1 -1
  205. package/dist/assets/{analyticsHelper-ysAmaLqq.js → analyticsHelper-BIQ9L-EI.js} +1 -1
  206. package/dist/assets/{analyticsHelper-nAbM99rB-dFwvbsbt.js → analyticsHelper-BuFK9-t2-CjaWnvpX.js} +1 -1
  207. package/dist/assets/{chartTypes-V-x4cCxs-CahKP2qX.js → chartTypes-BeWpEHsD-0DeNHMwF.js} +1 -1
  208. package/dist/assets/{commonDimensions-DM4fZd5e-CSntA2gr.js → commonDimensions-BXTyBb11-BJ8JxG1r.js} +1 -1
  209. package/dist/assets/{detailCommon-D9VWH3GS-CIqIQO-z.js → detailCommon-D8YHBhNW-DknXRRJp.js} +1 -1
  210. package/dist/assets/{downloadPdf-qKKYFj-M-BbogsH_X.js → downloadPdf-QmjxILNp-xDI--zpN.js} +1 -1
  211. package/dist/assets/{index-BiPgiHAh.js → index-BrOecDhr.js} +121 -121
  212. package/dist/assets/{mapLoadingInProgressToTreeNode-D7kWYmPh-B5uNQOFG.js → mapLoadingInProgressToTreeNode-UTrwHX36-nq5vNdK7.js} +1 -1
  213. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-jZUBfLPj-BrRZz856.js → mapSectionWithAcOnlyToTreeNode-uMOefjfH-MTjwhTlY.js} +1 -1
  214. package/dist/assets/{mapSpacerToTreeNode-DBILIDOx-BiDrNdx3.js → mapSpacerToTreeNode-DSldUxM--BA669Oip.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-DQuI_wt3-NC8uWtee.js → mapTimeframeBalancesToTreeNode-B0VWLas7-B3sZcJLM.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-DEm31xu_-B1W5dzqu.js → mapTimeframeBalancesToTreeNode-CJT0f_FX-jeWaKZOo.js} +1 -1
  217. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B6ZeH2F7-CXE0pqGK.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BgH8fPhv-BXLJTSDz.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-CJao20O7-DrdT_s_Q.js → toCOABalancesWithID-BC4hEk4v-dX5CNbOR.js} +1 -1
  219. package/dist/assets/{toChartData-DrQ08_nY-Y_UppG8G.js → toChartData-Dn6RzL-C-A4ExOcdY.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-DvNvYEVT-BDI6aSlF.js → treasuryColorHelper-0WRygmI_-CyLBFH1A.js} +1 -1
  221. package/dist/assets/{uploadAttachment-Cr0aSgEE-D9TZgmf3.js → uploadAttachment-DYn7wkG0-CaiTD7a3.js} +1 -1
  222. package/dist/assets/{uploadReceipts-dxsKhm9I-Dqb_1GjU.js → uploadReceipts-dxsKhm9I-DWEBKo-0.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +3 -3
  225. package/dist/assets/CustomerOnboardingContainerPage-BwUAKpl2-CZxgJPbv.js +0 -1
  226. package/dist/assets/TransactionDetailPage-4BK7dglg-CCIXyLN4.js +0 -912
@@ -1,4 +1,4 @@
1
- import{e as I,cn as W,cv as g,j as o,W as U,ct as k,C as l,eT as N,R as O,q as i,o as s,f as A,X as q}from"./index-BiPgiHAh.js";import{n as d}from"./vendor-rkTZJa59.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},J={infoLabel:new q("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:r,isOptional:u,style:c,file:p,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:T,showUploadSuccessAnimation:R,showWebCamPopUpCloseIcon:L,updateFilesEntity:j,onDeleteFile:C,onEditFileName:M,onFileSizeError:B}){const a=I(),{formState:{errors:m}}=W(),h=g(m,n),D=g(m,`${n}.fileName`);return o.jsxs(V,{size:a,style:c,isDisabled:r!=null,"data-testid":U("document-field",n),children:[o.jsx(k,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),o.jsxs(X,{labelWidth:e.width,size:a,children:[o.jsx(N,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:p,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:j,onFileSizeError:B,onDeleteFile:C,onEditFileName:M,placeholderText:S,showPhotoPicker:v,useMobileCam:T,showWebCamPopUpCloseIcon:L,showUploadSuccessAnimation:R}),h&&o.jsx(K,{size:a,isError:h,children:D&&p!=null?O.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
1
+ import{e as I,cn as W,cv as g,j as o,W as U,ct as k,C as l,eT as N,R as O,q as i,o as s,f as A,X as q}from"./index-BrOecDhr.js";import{n as d}from"./vendor-rkTZJa59.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},J={infoLabel:new q("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:r,isOptional:u,style:c,file:p,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:T,showUploadSuccessAnimation:R,showWebCamPopUpCloseIcon:L,updateFilesEntity:j,onDeleteFile:C,onEditFileName:M,onFileSizeError:B}){const a=I(),{formState:{errors:m}}=W(),h=g(m,n),D=g(m,`${n}.fileName`);return o.jsxs(V,{size:a,style:c,isDisabled:r!=null,"data-testid":U("document-field",n),children:[o.jsx(k,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),o.jsxs(X,{labelWidth:e.width,size:a,children:[o.jsx(N,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:p,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:j,onFileSizeError:B,onDeleteFile:C,onEditFileName:M,placeholderText:S,showPhotoPicker:v,useMobileCam:T,showWebCamPopUpCloseIcon:L,showUploadSuccessAnimation:R}),h&&o.jsx(K,{size:a,isError:h,children:D&&p!=null?O.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.size==="small"?"column":"row"};
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as V,u as R,cn as h,cv as T,j as r,o,cw as O,bn as P,v as A,fO as F,f as l,X as M,b1 as U}from"./index-BiPgiHAh.js";import{n as i}from"./vendor-rkTZJa59.js";const X={infoLabel:new M("extraSmallRegular","smallRegular")};function Q({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:p,isSelectDisabled:v,menuPlacement:k,name:E,placeholderLabel:S}){const a=V(),u=R(),{formState:{errors:D}}=h(),d=T(D,s.name),{control:z}=h(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(q,{size:a,style:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(Y,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...f},children:r.jsx(O,{name:E,control:z,defaultValue:p.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(P,{pickerValues:p.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||v,onPickerSelectionChanged:c=>{I(c)},menuPlacement:k,titleTextStyle:A.standardRegular,titleColor:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:S})})})}),r.jsxs(B,{children:[r.jsx(F,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(J,{children:r.jsx(K,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const q=i.div`
1
+ import{e as V,u as R,cn as h,cv as T,j as r,o,cw as O,bn as P,v as A,fO as F,f as l,X as M,b1 as U}from"./index-BrOecDhr.js";import{n as i}from"./vendor-rkTZJa59.js";const X={infoLabel:new M("extraSmallRegular","smallRegular")};function Q({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:p,isSelectDisabled:v,menuPlacement:k,name:E,placeholderLabel:S}){const a=V(),u=R(),{formState:{errors:D}}=h(),d=T(D,s.name),{control:z}=h(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(q,{size:a,style:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(Y,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...f},children:r.jsx(O,{name:E,control:z,defaultValue:p.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(P,{pickerValues:p.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||v,onPickerSelectionChanged:c=>{I(c)},menuPlacement:k,titleTextStyle:A.standardRegular,titleColor:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:S})})})}),r.jsxs(B,{children:[r.jsx(F,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(J,{children:r.jsx(K,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const q=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{e as b,j as r,W as s,ct as u,C as l,q as t,o as a,x as m,X as x}from"./index-BiPgiHAh.js";import{n}from"./vendor-rkTZJa59.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},f={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
1
+ import{e as b,j as r,W as s,ct as u,C as l,q as t,o as a,x as m,X as x}from"./index-BrOecDhr.js";import{n}from"./vendor-rkTZJa59.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},f={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as U,j as l,W as Z,ct as me,o as s,C,q as m,cn as K,cw as ge,cv as xe,u as fe,fy as be,R as k,X as we,b4 as H,fz as Q,bW as _,fA as X,b1 as q,f as F,v as B,x as Y,fB as $e,n as ye,w as ve}from"./index-BiPgiHAh.js";import{n as r}from"./vendor-rkTZJa59.js";import{T as je}from"./RoleWithToolTip-BLRFyqKt-Du0quEGr.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
1
+ import{e as U,j as l,W as Z,ct as me,o as s,C,q as m,cn as K,cw as ge,cv as xe,u as fe,fy as be,R as k,X as we,b4 as H,fz as Q,bW as _,fA as X,b1 as q,f as F,v as B,x as Y,fB as $e,n as ye,w as ve}from"./index-BrOecDhr.js";import{n as r}from"./vendor-rkTZJa59.js";import{T as je}from"./RoleWithToolTip-DC3qy-Pk-DGTPKSil.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{e as M,j as l,W as A,ct as Q,C as m,o,q as n,cn as U,cw as G,cv as q,u as X,v as V,b3 as ie,l as I,R as te,fv as se,fC as ae,U as ne,ah as de,f as D,b4 as B,ap as ce,b1 as pe,c6 as ue,fD as F,bO as K,Q as he,w as Y,x as ge,n as me,fn as be,f9 as fe,aS as xe,fo as ye,aC as we,fE as ve}from"./index-BiPgiHAh.js";import{n as d,j as $e,b as k}from"./vendor-rkTZJa59.js";import{T as Re}from"./RoleWithToolTip-BLRFyqKt-Du0quEGr.js";const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},je=d.div`
1
+ import{e as M,j as l,W as A,ct as Q,C as m,o,q as n,cn as U,cw as G,cv as q,u as X,v as V,b3 as ie,l as I,R as te,fv as se,fC as ae,U as ne,ah as de,f as D,b4 as B,ap as ce,b1 as pe,c6 as ue,fD as F,bO as K,Q as he,w as Y,x as ge,n as me,fn as be,f9 as fe,aS as xe,fo as ye,aC as we,fE as ve}from"./index-BrOecDhr.js";import{n as d,j as $e,b as k}from"./vendor-rkTZJa59.js";import{T as Re}from"./RoleWithToolTip-DC3qy-Pk-DGTPKSil.js";const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},je=d.div`
2
2
  display: flex;
3
3
  margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{e as H,a2 as ue,l as C,a as pe,ca as me,i3 as P,hQ as L,R as W,cb as he,j as a,F as ge,fF as xe,a4 as fe,o as t,C as m,T as be,a3 as je,cd as B,i4 as ye,f as Ce,v as I,aB as we,q as r}from"./index-BiPgiHAh.js";import{b as O,n as i}from"./vendor-rkTZJa59.js";import Se from"./TransactionDetailPage-4BK7dglg-CCIXyLN4.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./LabeledControlledCheckBoxField-CJExnmlN-DO_g1j9w.js";import"./TrendWithTransactions-Ct1r_X3l-juM0LM3l.js";import"./TrendChart-C74g1AEy-CbIvtKj2.js";import"./chartTypes-V-x4cCxs-CahKP2qX.js";import"./toCOABalancesWithID-CJao20O7-DrdT_s_Q.js";import"./toChartData-DrQ08_nY-Y_UppG8G.js";import"./NoDataChart-CRt1tpsJ-BtiEjOSc.js";import"./InsightsSection-D0ZZ7KlF-C4K8gCnZ.js";import"./NavigationDots-CD95Ln70-Dmxg83Au.js";import"./TransactionList-CtTDxJZI-BygPUDkk.js";import"./BoxItem-C0jIrNqe-GbYpP5ZO.js";import"./commonDimensions-DM4fZd5e-CSntA2gr.js";import"./uploadAttachment-Cr0aSgEE-D9TZgmf3.js";import"./radio-default-CiSgisfh-Z5w0WcFM.js";const J={labelWidth:new m(120,145,160)},$e=i.div`
1
+ import{e as H,a2 as ue,l as C,a as pe,ca as me,i3 as P,hQ as L,R as W,cb as he,j as a,F as ge,fF as xe,a4 as fe,o as t,C as m,T as be,a3 as je,cd as B,i4 as ye,f as Ce,v as I,aB as we,q as r}from"./index-BrOecDhr.js";import{b as O,n as i}from"./vendor-rkTZJa59.js";import Se from"./TransactionDetailPage-9UkwTR4Z-BiqGsF3z.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./LabeledControlledCheckBoxField-CN6vZqSm-Cr0v_HbC.js";import"./TrendWithTransactions-D2zxfMK6-BJSA0eIu.js";import"./TrendChart-wr5WIfKD-DWjGFRlo.js";import"./chartTypes-BeWpEHsD-0DeNHMwF.js";import"./toCOABalancesWithID-BC4hEk4v-dX5CNbOR.js";import"./toChartData-Dn6RzL-C-A4ExOcdY.js";import"./NoDataChart-DVB1FTW8-JpcfKKlk.js";import"./InsightsSection-2ILqXih8-DVpA5MVZ.js";import"./NavigationDots-2bNAi48B-k0PWrc4i.js";import"./TransactionList-ietybHPX-0QOU9e6b.js";import"./BoxItem-ulH3Bhgp-DoyWtJ5-.js";import"./commonDimensions-BXTyBb11-BJ8JxG1r.js";import"./uploadAttachment-DYn7wkG0-CaiTD7a3.js";import"./radio-default-CiSgisfh-Z5w0WcFM.js";const J={labelWidth:new m(120,145,160)},$e=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -19,7 +19,7 @@ import{e as H,a2 as ue,l as C,a as pe,ca as me,i3 as P,hQ as L,R as W,cb as he,j
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,V=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:w,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(w.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(B,{label:{label:o.jePostingDate,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:V(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(B,{label:{label:o.jeLink,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:V(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:Ce.link},options:{pattern:ye}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},Y="linkJETransactionPage",G="linkJETransaction",X=W.getLocalizedStrings(),{common:{footer:M},dateFormat:Pe}=X,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:Z,controllerUserDetails:T,isVendorBulkUpdateOnTransactionEnabled:K,onUpdateLocalData:ee,onBackClick:A,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=H(),U=ue(u),j=C.getQBOUrlForLink(h.toString(),s.jeLink),$=C.getFirstControllerEmail(T.controllers),v=C.getFirstControllerId(T.controllerUserIds),F=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&U==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),A()}},[u,U,A]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:f}}}=X,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",R=he(x.formState.dirtyFields),k=x.formState.isValid,y=D&&R&&k||D&&z&&k,E=R&&k;return a.jsxs(Le,{children:[a.jsxs(Te,{windowSize:p,children:[a.jsx(ze,{windowSize:p,children:f.linkJE}),a.jsx(Fe,{children:a.jsx(Ne,{onClick:F})})]}),a.jsxs(Ie,{children:[a.jsx(Ae,{windowSize:p,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(Y),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),z?a.jsxs(Be,{windowSize:p,children:[a.jsx(Oe,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Ue,{children:a.jsx(Se,{isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:Z??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:K,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Re,{children:[re?a.jsx(Q,{windowSize:p,children:f.transactionFetchError}):null,de?a.jsx(Q,{windowSize:p,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),y||E?a.jsx(fe,{formId:y?q(Y):void 0,primaryBtn:{onClick:E&&!y?le:void 0,label:E&&!y?f.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:F}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:C.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
22
+ `,V=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:w,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(w.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(B,{label:{label:o.jePostingDate,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:V(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(B,{label:{label:o.jeLink,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:V(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:Ce.link},options:{pattern:ye}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},Y="linkJETransactionPage",G="linkJETransaction",X=W.getLocalizedStrings(),{common:{footer:M},dateFormat:Pe}=X,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:Z,controllerUserDetails:A,isVendorBulkUpdateOnTransactionEnabled:K,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=H(),U=ue(u),j=C.getQBOUrlForLink(h.toString(),s.jeLink),$=C.getFirstControllerEmail(A.controllers),v=C.getFirstControllerId(A.controllerUserIds),F=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&U==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),T()}},[u,U,T]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:f}}}=X,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",R=he(x.formState.dirtyFields),k=x.formState.isValid,y=D&&R&&k||D&&z&&k,E=R&&k;return a.jsxs(Le,{children:[a.jsxs(Ae,{windowSize:p,children:[a.jsx(ze,{windowSize:p,children:f.linkJE}),a.jsx(Fe,{children:a.jsx(Ne,{onClick:F})})]}),a.jsxs(Ie,{children:[a.jsx(Te,{windowSize:p,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(Y),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),z?a.jsxs(Be,{windowSize:p,children:[a.jsx(Oe,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Ue,{children:a.jsx(Se,{isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:Z??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:K,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Re,{children:[re?a.jsx(Q,{windowSize:p,children:f.transactionFetchError}):null,de?a.jsx(Q,{windowSize:p,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),y||E?a.jsx(fe,{formId:y?q(Y):void 0,primaryBtn:{onClick:E&&!y?le:void 0,label:E&&!y?f.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:F}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:C.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -31,7 +31,7 @@ import{e as H,a2 as ue,l as C,a as pe,ca as me,i3 as P,hQ as L,R as W,cb as he,j
31
31
  `,Ie=i.div`
32
32
  padding: ${t.sp0} ${t.sp8};
33
33
  flex-grow: 1;
34
- `,Te=i.div`
34
+ `,Ae=i.div`
35
35
  display: flex;
36
36
  align-items: center;
37
37
  top: ${t.sp0};
@@ -40,7 +40,7 @@ import{e as H,a2 as ue,l as C,a as pe,ca as me,i3 as P,hQ as L,R as W,cb as he,j
40
40
  padding-right: ${e=>b.containerPaddingRight.valuePx(e.windowSize)};
41
41
  padding-top: ${e=>b.navbarContainerPaddingTop.valuePx(e.windowSize)};
42
42
  padding-bottom: ${e=>b.navbarContainerPaddingBottom.valuePx(e.windowSize)};
43
- `,Ae=i.div`
43
+ `,Te=i.div`
44
44
  max-width: 100%;
45
45
  margin-bottom: ${t.sp5};
46
46
  `,Ue=i.div`
@@ -1,4 +1,4 @@
1
- import{R as S,e as R,a as T,l as s,j as a,F as z,bV as C,cg as A,C as m,cj as W,o as e,bY as E,q as u,ap as U,a7 as Y,br as N}from"./index-BiPgiHAh.js";import{n as r}from"./vendor-rkTZJa59.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
1
+ import{R as S,e as R,a as T,l as s,j as a,F as z,bV as C,cg as A,C as m,cj as W,o as e,bY as E,q as u,ap as U,a7 as Y,br as N}from"./index-BrOecDhr.js";import{n as r}from"./vendor-rkTZJa59.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${t=>t.theme.colors.grey5};
@@ -1 +1 @@
1
- import{j as l}from"./index-BiPgiHAh.js";import{f as y}from"./ACHDetailsPage--syILfU1-BxuDCGHA.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-CHV6yGut-D1b1UgoN.js";import"./MagicLinkTitleSection-CvzFLF1d-BjtGPNRf.js";import"./BankAccountSection-dDAvWRwV-eaZiz317.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
1
+ import{j as l}from"./index-BrOecDhr.js";import{f as y}from"./ACHDetailsPage-aTYc51Xr-C1F1HPVq.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-GKmK6rZN-DZACD48w.js";import"./MagicLinkTitleSection-C_Y0_Q8g-B7RA5zb8.js";import"./BankAccountSection-Bn4tVnuF-BKifB-w4.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
@@ -1 +1 @@
1
- import{j as S}from"./index-BiPgiHAh.js";import{y as b}from"./DomesticWireDetailsPage-7OXnbEeP-DDoFU9_I.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountSection-dDAvWRwV-eaZiz317.js";import"./MagicLinkTitleSection-CvzFLF1d-BjtGPNRf.js";import"./BankAccountWarningSection-CHV6yGut-D1b1UgoN.js";import"./MailingDetailsSection-CY9MIZVo-VkVLlRre.js";import"./LabeledAddressValueField-BRIokwlO-Br8kkGcq.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
1
+ import{j as S}from"./index-BrOecDhr.js";import{y as b}from"./DomesticWireDetailsPage-ai0YkB93-DkaYERr9.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountSection-Bn4tVnuF-BKifB-w4.js";import"./MagicLinkTitleSection-C_Y0_Q8g-B7RA5zb8.js";import"./BankAccountWarningSection-GKmK6rZN-DZACD48w.js";import"./MailingDetailsSection-CWCOpN4f-D0dxYO1r.js";import"./LabeledAddressValueField-l0XKNlaq-BRSM9eKo.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
@@ -1 +1 @@
1
- import{j as B}from"./index-BiPgiHAh.js";import{f as S}from"./InternationalWireSwiftDetailsPage-Bk73k2oO-IMlDcOpr.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-CHV6yGut-D1b1UgoN.js";import"./MailingDetailsSection-CY9MIZVo-VkVLlRre.js";import"./LabeledAddressValueField-BRIokwlO-Br8kkGcq.js";import"./MagicLinkTitleSection-CvzFLF1d-BjtGPNRf.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
1
+ import{j as B}from"./index-BrOecDhr.js";import{f as S}from"./InternationalWireSwiftDetailsPage-cwqfeYWq-AgZ26n0O.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-GKmK6rZN-DZACD48w.js";import"./MailingDetailsSection-CWCOpN4f-D0dxYO1r.js";import"./LabeledAddressValueField-l0XKNlaq-BRSM9eKo.js";import"./MagicLinkTitleSection-C_Y0_Q8g-B7RA5zb8.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
@@ -1,4 +1,4 @@
1
- import{ac as r,R as n,j as t,ak as l,o,D as c,c7 as a,T as p}from"./index-BiPgiHAh.js";import{n as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
1
+ import{ac as r,R as n,j as t,ak as l,o,D as c,c7 as a,T as p}from"./index-BrOecDhr.js";import{n as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
2
2
  z-index: 999;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{R as C,ab as p,j as t,c7 as m,o as s,x as g,f as x,bO as h}from"./index-BiPgiHAh.js";import{n,b as i}from"./vendor-rkTZJa59.js";const d=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),$=({companyName:e,currencySymbol:l,amount:r})=>{const a=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,c=r>0?` ${p("0,0.[00]",r,l)}`:"",o=a.title.replace(/<tenant_name>/,e)+c;return t.jsxs(t.Fragment,{children:[t.jsx(y,{children:o}),t.jsxs(u,{children:[a.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),a.encrypted]})]})]})},w=n(h)`
1
+ import{R as C,ab as p,j as t,c7 as m,o as s,x as g,f as x,bO as h}from"./index-BrOecDhr.js";import{n,b as i}from"./vendor-rkTZJa59.js";const d=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),$=({companyName:e,currencySymbol:l,amount:r})=>{const a=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,c=r>0?` ${p("0,0.[00]",r,l)}`:"",o=a.title.replace(/<tenant_name>/,e)+c;return t.jsxs(t.Fragment,{children:[t.jsx(y,{children:o}),t.jsxs(u,{children:[a.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),a.encrypted]})]})]})},w=n(h)`
2
2
  display: flex;
3
3
  gap: ${s.sp1};
4
4
  color: ${x.successDark};
@@ -1,4 +1,4 @@
1
- import{e as h,R as u,C as r,j as s,o as a,cf as x,ao as b,q as i}from"./index-BiPgiHAh.js";import{n}from"./vendor-rkTZJa59.js";import{C as f}from"./LabeledAddressValueField-BRIokwlO-Br8kkGcq.js";const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},j=({sectionId:e,addressToEdit:t,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),d=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:d.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:d.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(d.address),defaultValue:t,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:d.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,t)=>`${e}.${t}`,v=n.div`
1
+ import{e as h,R as u,C as r,j as s,o as a,cf as x,ao as b,q as i}from"./index-BrOecDhr.js";import{n}from"./vendor-rkTZJa59.js";import{C as f}from"./LabeledAddressValueField-l0XKNlaq-BRSM9eKo.js";const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},j=({sectionId:e,addressToEdit:t,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),d=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:d.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:d.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(d.address),defaultValue:t,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:d.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,t)=>`${e}.${t}`,v=n.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{e as o,j as i,W as d,p as c,f as l,o as p,C as r}from"./index-BiPgiHAh.js";import{n as a}from"./vendor-rkTZJa59.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
1
+ import{e as o,j as i,W as d,p as c,f as l,o as p,C as r}from"./index-BrOecDhr.js";import{n as a}from"./vendor-rkTZJa59.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{j as o,p as u,eM as h,o as s,u as d,eN as m}from"./index-BiPgiHAh.js";import{b as x,n as c,j as f}from"./vendor-rkTZJa59.js";const b=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},y=c.div`
1
+ import{j as o,p as u,eM as h,o as s,u as d,eN as m}from"./index-BrOecDhr.js";import{b as x,n as c,j as f}from"./vendor-rkTZJa59.js";const b=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},y=c.div`
2
2
  position: relative;
3
3
  `,C=({menuItems:e,isMenuOpen:r,isMenuVisible:i=!0,setIsMenuOpen:n,styles:l,menuIconStyles:t})=>{const p=x.useRef(null);return o.jsx(u,{onClickAway:()=>{n(!1)},children:o.jsxs(y,{ref:p,children:[o.jsx(g,{className:"placeholder",style:t,onClick:a=>{a.stopPropagation(),n(!r)},children:o.jsx(j,{isMenuVisible:i,children:o.jsx(h,{})})}),r?o.jsx(b,{open:r,onClose:a=>{a.stopPropagation(),n(!1)},anchorEl:p.current,styles:l,children:e}):null]})})},g=c.div`
4
4
  height: ${s.sp4};
@@ -1,4 +1,4 @@
1
- import{u as z,e as M,f2 as H,R as v,a8 as p,j as i,l as L,aX as _,_ as $,o as t,aS as P,C as d,n as I,x as B,v as R,X as W,f3 as j,f4 as C,q as u,f6 as E,f as A,w as F}from"./index-BiPgiHAh.js";import{b as y,n}from"./vendor-rkTZJa59.js";import{q as N}from"./SetUpDefaultSection-BFsDk94Y-DWYA8JXF.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},q={title:new W("standardMedium","largeMedium")},J=n.img`
1
+ import{u as z,e as M,f2 as H,R as v,a8 as p,j as i,l as L,aX as _,_ as $,o as t,aS as P,C as d,n as I,x as B,v as R,X as W,f3 as j,f4 as C,q as u,f6 as E,f as A,w as F}from"./index-BrOecDhr.js";import{b as y,n}from"./vendor-rkTZJa59.js";import{q as N}from"./SetUpDefaultSection-CXIQhQdd-BS_7M4GT.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},q={title:new W("standardMedium","largeMedium")},J=n.img`
2
2
  width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
3
3
  height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
4
4
  border-radius: ${t.sp11};
@@ -1,4 +1,4 @@
1
- import{u as D,Y as M,l as O,R as j,fm as t,j as r,aX as w,fF as F,o as B}from"./index-BiPgiHAh.js";import{n as P}from"./vendor-rkTZJa59.js";import{O as U}from"./ChargeCardListTable-CeO0vM1w-h0_G8p7e.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./Menu-DSDvn7NT-CFb4U79f.js";import"./RoleWithToolTip-BLRFyqKt-Du0quEGr.js";import"./CardNumberSubText-DCcLgAfF-Ro1GGlcZ.js";import"./ChargeCardUtils-BEZFdQvc-pmICz2fP.js";const{spendManagement:{chargeCard:u}}=j.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:g,onBackClick:A,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=D(),y=M(),m=O.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),R=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),v=R&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,E=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,I=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,x=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,L={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs($,{children:[r.jsx(w,{title:v,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:A,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(F,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:L,cashbackInformation:E,creditAccountInformation:I,debitAccountInformation:x,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:g,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},$=P.div`
1
+ import{u as D,Y as M,l as O,R as j,fm as t,j as r,aX as w,fF as F,o as B}from"./index-BrOecDhr.js";import{n as P}from"./vendor-rkTZJa59.js";import{O as U}from"./ChargeCardListTable-Mbqi4H1P-Bd7Ft3vS.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./Menu-r5aBVcPX-CEDXfgVi.js";import"./RoleWithToolTip-DC3qy-Pk-DGTPKSil.js";import"./CardNumberSubText-BvkAu7UB-D1Do5tQm.js";import"./ChargeCardUtils-fW7FfpSb-AR10z9iH.js";const{spendManagement:{chargeCard:u}}=j.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:g,onBackClick:A,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=D(),y=M(),m=O.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),R=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),v=R&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,E=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,I=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,x=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,L={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs($,{children:[r.jsx(w,{title:v,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:A,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(F,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:L,cashbackInformation:E,creditAccountInformation:I,debitAccountInformation:x,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:g,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},$=P.div`
2
2
  display: flex;
3
3
  min-height: ${`calc(100vh - ${B.sp9})`};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{e as te,fq as ie,u as fe,Y as ge,fr as be,a as xe,J as ye,l as z,cb as we,ca as Pe,R as re,j as l,fs as ve,aX as $e,F as De,a4 as Re,o as s,ft as ne,fu as de,fv as ce,c5 as ue,C as L,n as me,v as Se,X as je,U as le,cm as Ce,cd as Oe,fw as q,cj as Le,ch as Te,fx as Ie,af as Ve,q as _}from"./index-BiPgiHAh.js";import{b as v,n as m}from"./vendor-rkTZJa59.js";import{C as Fe}from"./LabeledAddressValueField-BRIokwlO-Br8kkGcq.js";import{X as ke}from"./LabeledUserSingleSelectWithSubtitlesField-zqrvuzP2-Cj42NHnU.js";import{C as Be,j as ze}from"./LabeledZeniRolesDropDownField-BNymD4XC-D2lsRwRm.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./RoleWithToolTip-BLRFyqKt-Du0quEGr.js";const b=(e,i)=>`${e}.${i}`,B={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(_[2],_[3]),toolTipWidth:new L(215,237),notePadding:new L(_[3],_[4]),noteGap:new L(_[0],6)},{peoplePage:a,common:{settings:se,labels:X,placeholder:k,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:x,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:y})=>{const n=te(),{person:r,managersList:A,classList:N,manager:G,department:g,controllersList:M,myProfileLocalData:W,addressData:H}=e,J=e.person.user?.birthday!=null?"readonly":void 0,D=B.largeLabelWidth.value(n),I=B.largeLabelWidth.value(n),Q=v.useMemo(()=>ie(x,p,o,f,$,T,h),[x,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:R}=v.useMemo(()=>{const c=le(M),S=c.splice(0,1),j=c.reduce((V,F)=>V.concat(`${F.email},`),"");return{firstController:S,restControllerEmailsStr:j}},[M]),Y=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),Z=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(Ue,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:X.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:k.firstNamePlaceholder,lastName:k.lastNamePlaceholder,name:k.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(O,{}),l.jsx(Oe,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${B.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(O,{}),l.jsx(Le,{label:{label:X.dateOfBirth,width:I},style:{width:"auto"},isDisabled:J,dateField:{name:b(t,"dateOfBirth"),placeholder:k.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(O,{}),l.jsx(Fe,{label:{label:X.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:k.addressPlaceholder,defaultValue:H?.addressToCreate,onClick:()=>{y("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(O,{}),l.jsx(Te,{label:{label:X.phone,width:I},text:{name:b(t,"phone"),placeholder:k.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(O,{}),i?l.jsx(Be,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:Y},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],Q)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(O,{}),l.jsx(ke,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:B.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const S=A.findIndex(j=>j.userId===c);if(S!==-1){const j=A[S],V=N.find(K=>K.classId===j.userRole.accountingClassIDs[0]),F=[];return V!=null&&F.push(V.className),F}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(O,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:Z,selectedOption:d?void 0:Z.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),i?null:l.jsxs(_e,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ze,{href:`mailto:${w[0].email}?cc=${R}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ee,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ue=m.div`
1
+ import{e as te,fq as ie,u as fe,Y as ge,fr as be,a as xe,J as ye,l as z,cb as we,ca as Pe,R as re,j as l,fs as ve,aX as $e,F as De,a4 as Re,o as s,ft as ne,fu as de,fv as ce,c5 as ue,C as L,n as me,v as Se,X as je,U as le,cm as Ce,cd as Oe,fw as q,cj as Le,ch as Te,fx as Ie,af as Ve,q as _}from"./index-BrOecDhr.js";import{b as v,n as m}from"./vendor-rkTZJa59.js";import{C as Fe}from"./LabeledAddressValueField-l0XKNlaq-BRSM9eKo.js";import{X as ke}from"./LabeledUserSingleSelectWithSubtitlesField-CC89oZ_u-Du0GRcAB.js";import{C as Be,j as ze}from"./LabeledZeniRolesDropDownField-DXi_2I5i-BVMMAxfm.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./RoleWithToolTip-DC3qy-Pk-DGTPKSil.js";const b=(e,i)=>`${e}.${i}`,B={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(_[2],_[3]),toolTipWidth:new L(215,237),notePadding:new L(_[3],_[4]),noteGap:new L(_[0],6)},{peoplePage:a,common:{settings:se,labels:X,placeholder:k,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:x,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:y})=>{const n=te(),{person:r,managersList:A,classList:N,manager:G,department:g,controllersList:M,myProfileLocalData:W,addressData:H}=e,J=e.person.user?.birthday!=null?"readonly":void 0,D=B.largeLabelWidth.value(n),I=B.largeLabelWidth.value(n),Q=v.useMemo(()=>ie(x,p,o,f,$,T,h),[x,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:R}=v.useMemo(()=>{const c=le(M),S=c.splice(0,1),j=c.reduce((V,F)=>V.concat(`${F.email},`),"");return{firstController:S,restControllerEmailsStr:j}},[M]),Y=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),Z=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(Ue,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:X.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:k.firstNamePlaceholder,lastName:k.lastNamePlaceholder,name:k.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(O,{}),l.jsx(Oe,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${B.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(O,{}),l.jsx(Le,{label:{label:X.dateOfBirth,width:I},style:{width:"auto"},isDisabled:J,dateField:{name:b(t,"dateOfBirth"),placeholder:k.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(O,{}),l.jsx(Fe,{label:{label:X.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:k.addressPlaceholder,defaultValue:H?.addressToCreate,onClick:()=>{y("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(O,{}),l.jsx(Te,{label:{label:X.phone,width:I},text:{name:b(t,"phone"),placeholder:k.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(O,{}),i?l.jsx(Be,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:Y},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],Q)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(O,{}),l.jsx(ke,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:B.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const S=A.findIndex(j=>j.userId===c);if(S!==-1){const j=A[S],V=N.find(K=>K.classId===j.userRole.accountingClassIDs[0]),F=[];return V!=null&&F.push(V.className),F}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(O,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:Z,selectedOption:d?void 0:Z.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),i?null:l.jsxs(_e,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ze,{href:`mailto:${w[0].email}?cc=${R}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ee,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ue=m.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{u,e as m,j as o,W as p,bp as g,R as x,o as t,a$ as b,eQ as k,by as y,bn as C,v}from"./index-BiPgiHAh.js";import{n as l}from"./vendor-rkTZJa59.js";const j=l.div`
1
+ import{u,e as m,j as o,W as p,bp as g,R as x,o as t,a$ as b,eQ as k,by as y,bn as C,v}from"./index-BrOecDhr.js";import{n as l}from"./vendor-rkTZJa59.js";const j=l.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{j as e,o as r,af as i,by as h}from"./index-BiPgiHAh.js";import{j as l,n as s}from"./vendor-rkTZJa59.js";const c=l`
1
+ import{j as e,o as r,af as i,by as h}from"./index-BrOecDhr.js";import{j as l,n as s}from"./vendor-rkTZJa59.js";const c=l`
2
2
  border-left-style: none;
3
3
  margin-left: -${r.sp3};
4
4
  border-top-right-radius: ${r.sp2};
@@ -1,4 +1,4 @@
1
- import{j as e,W as v,o as t}from"./index-BiPgiHAh.js";import{n as l}from"./vendor-rkTZJa59.js";const C=l.div`
1
+ import{j as e,W as v,o as t}from"./index-BrOecDhr.js";import{n as l}from"./vendor-rkTZJa59.js";const C=l.div`
2
2
  text-align: center;
3
3
  cursor: pointer;
4
4
  `,y=l.div`
@@ -1,4 +1,4 @@
1
- import{e as z,a as K,ca as X,a2 as Y,j as t,R as C,F as Q,a4 as Z,C as i,o as a,a3 as ee,X as _,g as te,gp as ae,x as le,cn as O,hC as ne,cf as U,cd as oe,q as l,ao as re,cv as ie,ct as de,cH as se,m as ce,eu as me,dj as he,aB as ge,f as V}from"./index-BiPgiHAh.js";import{b as j,n as o,j as be}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const w={width:new i(343,580,726),height:new i(l[6],l[6]),controlHeight:new i(l[6],l[6]),paddingTopBottom:new i(l[2],l[2]),marginRight:new i(l[2],l[2]),labelMarginLeft:new i(l[3],l[4]),labelMarginRight:new i(l[3],l[4]),labelMarginTop:new i(l[2],l[2])},ue={infoLabel:new _("smallRegular","standardRegular")},pe=C.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:b,style:v,toolTip:M,isOptionalLabel:y}){const s=z(),{formState:{errors:d}}=O(),$=ie(d,n.name);return t.jsxs(xe,{windowSize:s,style:v,isDisabled:n.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:n.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:y}),t.jsxs(fe,{labelWidth:e.width,children:[t.jsx(se,{...n,style:{...n.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),b?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(Se,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:m.length>0,isError:$,children:[h.icon,h.label]}),m.length>0?m.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<m.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const xe=o.div`
1
+ import{e as z,a as K,ca as X,a2 as Y,j as t,R as C,F as Q,a4 as Z,C as i,o as a,a3 as ee,X as _,g as te,gp as ae,x as le,cn as O,hC as ne,cf as U,cd as oe,q as l,ao as re,cv as ie,ct as de,cH as se,m as ce,eu as me,dj as he,aB as ge,f as V}from"./index-BrOecDhr.js";import{b as j,n as o,j as be}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const w={width:new i(343,580,726),height:new i(l[6],l[6]),controlHeight:new i(l[6],l[6]),paddingTopBottom:new i(l[2],l[2]),marginRight:new i(l[2],l[2]),labelMarginLeft:new i(l[3],l[4]),labelMarginRight:new i(l[3],l[4]),labelMarginTop:new i(l[2],l[2])},ue={infoLabel:new _("smallRegular","standardRegular")},pe=C.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:b,style:v,toolTip:M,isOptionalLabel:y}){const s=z(),{formState:{errors:d}}=O(),$=ie(d,n.name);return t.jsxs(xe,{windowSize:s,style:v,isDisabled:n.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:n.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:y}),t.jsxs(fe,{labelWidth:e.width,children:[t.jsx(se,{...n,style:{...n.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),b?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(Se,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:m.length>0,isError:$,children:[h.icon,h.label]}),m.length>0?m.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<m.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const xe=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as l,j as t,f as s,o as h,x as r,C as m,u as o}from"./index-BiPgiHAh.js";import{n as i,b as a}from"./vendor-rkTZJa59.js";const v=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),d={chartMinHeight:new m(288,360)},x=i.div`
1
+ import{e as l,j as t,f as s,o as h,x as r,C as m,u as o}from"./index-BrOecDhr.js";import{n as i,b as a}from"./vendor-rkTZJa59.js";const v=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),d={chartMinHeight:new m(288,360)},x=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{j as e,o as t,u as s}from"./index-BiPgiHAh.js";import{n as i}from"./vendor-rkTZJa59.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const r=i.div`
1
+ import{j as e,o as t,u as s}from"./index-BrOecDhr.js";import{n as i}from"./vendor-rkTZJa59.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const r=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
@@ -1,4 +1,4 @@
1
- import{j as o,R as i,bv as s,c7 as l,x as c,f as a,n as d}from"./index-BiPgiHAh.js";import{n as t}from"./vendor-rkTZJa59.js";import{a as h}from"./ZeniCopyright-DohfTKh2-BONyEcTD.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const x=t.div`
1
+ import{j as o,R as i,bv as s,c7 as l,x as c,f as a,n as d}from"./index-BrOecDhr.js";import{n as t}from"./vendor-rkTZJa59.js";import{a as h}from"./ZeniCopyright-D-Hzee6E-BDkHmM8g.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const x=t.div`
2
2
  width: 100%;
3
3
  height: 100vh;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,fF as ne,o as i,bg as se,R as I,a6 as re,u as Y,e as J,a as le,ca as ae,l as P,aX as ce,F as de,_ as w,a4 as pe,C as T,fa as me,fG as ue,eH as he,fH as fe,fI as ge,af as xe,q as S,ao as K,w as Q,x as W,n as $e}from"./index-BiPgiHAh.js";import{n as o,b as E}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const{common:ye}=I.getLocalizedStrings(),B={notePadding:new T(S[3],S[4]),noteGap:new T(S[0],6)},z=(e,n)=>`${e}.${n}`,be=o.div`
1
+ import{j as t,fF as ne,o as i,bg as se,R as I,a6 as re,u as Y,e as J,a as le,ca as ae,l as P,aX as ce,F as de,_ as w,a4 as pe,C as T,fa as me,fG as ue,eH as he,fH as fe,fI as ge,af as xe,q as S,ao as K,w as Q,x as W,n as $e}from"./index-BrOecDhr.js";import{n as o,b as E}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const{common:ye}=I.getLocalizedStrings(),B={notePadding:new T(S[3],S[4]),noteGap:new T(S[0],6)},z=(e,n)=>`${e}.${n}`,be=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${i.sp3};
@@ -1 +1 @@
1
- import{v as e,q as a}from"./index-BiPgiHAh.js";const r=a[5],o=59,i=a[5],l=e.standardRegular.lineHeightValue,n=1,p=1e3;export{l as A,i as E,n as I,p as L,o as a,r as t};
1
+ import{v as e,q as a}from"./index-BrOecDhr.js";const r=a[5],o=59,i=a[5],l=e.standardRegular.lineHeightValue,n=1,p=1e3;export{l as A,i as E,n as I,p as L,o as a,r as t};
@@ -1,4 +1,4 @@
1
- import{u as Q,e as v,a as Jt,R as P,ca as qt,j as t,aX as Zt,l as g,F as Xt,a4 as Qt,o as i,_ as we,gu as Kt,C as R,hu as ei,v as Ne,m as ti,B as et,bS as tt,aj as it,dl as ot,b_ as st,jd as at,q as y,Q as ii,je as oi,dj as ce,ae as si,X as ai,g as rt,f as S,w as ri,bh as z,cn as ue,fG as he,jf as pe,Y as nt,b as lt,dt as E,d4 as dt,fP as ni,x as K,hI as li,n as H,f3 as di,a8 as ye,ap as fe,jg as ci,be as ct,jh as Ie,aR as ui}from"./index-BiPgiHAh.js";import{b as x,n as r,j as A}from"./vendor-rkTZJa59.js";import{k as hi}from"./SubTabSwitcher-BGPV9-bA-BUDfmwPq.js";import{d as ut}from"./useLongPress-GCK2COYQ-BoJXFS3o.js";import{A as ht,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-WidehAvK-D5lP2K1S.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";function pi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),p=Q(),m=x.useCallback(b=>{d(b.id)},[d]),f=x.useCallback(b=>{u(b.id)},[u]);return e.length===0?null:t.jsxs(fi,{windowSize:h,children:[t.jsx(ei,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(hi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const fi=r.div`
1
+ import{u as Q,e as v,a as Jt,R as P,ca as qt,j as t,aX as Zt,l as g,F as Xt,a4 as Qt,o as i,_ as we,gu as Kt,C as R,hu as ei,v as Ne,m as ti,B as et,bS as tt,aj as it,dl as ot,b_ as st,jd as at,q as y,Q as ii,je as oi,dj as ce,ae as si,X as ai,g as rt,f as S,w as ri,bh as z,cn as ue,fG as he,jf as pe,Y as nt,b as lt,dt as E,d4 as dt,fP as ni,x as K,hI as li,n as H,f3 as di,a8 as ye,ap as fe,jg as ci,be as ct,jh as Ie,aR as ui}from"./index-BrOecDhr.js";import{b as x,n as r,j as A}from"./vendor-rkTZJa59.js";import{k as hi}from"./SubTabSwitcher-CYkqW6KU-DnYIhzYl.js";import{d as ut}from"./useLongPress-GCK2COYQ-BoJXFS3o.js";import{A as ht,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-CJzqBbvL-fegqpP2o.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";function pi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),p=Q(),m=x.useCallback(b=>{d(b.id)},[d]),f=x.useCallback(b=>{u(b.id)},[u]);return e.length===0?null:t.jsxs(fi,{windowSize:h,children:[t.jsx(ei,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(hi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const fi=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as H,ht as ye,R as B,u as q,bJ as be,B as _e,j as t,W as Se,bg as ke,hs as ve,aZ as we,aX as Be,hu as $e,hv as Oe,o as u,a6 as je,m as Pe,C as F,aj as le,J as ie,a8 as Te,q as $,b0 as De,bL as Ne,bM as Ee,bN as Ie,f as a,x as ce,bd as Ae,b8 as Me,aw as Le,v as Q,av as Fe,ab as Re,b9 as Ve,bb as ze,l as We}from"./index-BiPgiHAh.js";import{b as y,n as m,f as Ke}from"./vendor-rkTZJa59.js";import{p as Ye,d as Ge,y as G,b as de,u as ee}from"./chartTypes-V-x4cCxs-CahKP2qX.js";import{V as He}from"./toChartData-DrQ08_nY-Y_UppG8G.js";import{m as R}from"./analyticsHelper-nAbM99rB-dFwvbsbt.js";import{p as qe}from"./TimeRangeSwitcher-526_d3T2-CFTktY0G.js";import{M as Je}from"./TimeframeSwitcherWithToggle-DsbKCFMf-2X60-WMC.js";import{C as Ue}from"./NoDataChart-CRt1tpsJ-BtiEjOSc.js";import{d as Xe}from"./NoDataTable-CDcIV82h-DfO01zMp.js";import{H as Ze,N as oe}from"./detailCommon-D9VWH3GS-CIqIQO-z.js";import{n as V}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{R as Qe,W as J}from"./CollapsableReportTable-CLu0A-3k-B5Drr_bb.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-DEm31xu_-B1W5dzqu.js";import{d as re}from"./mapLoadingInProgressToTreeNode-D7kWYmPh-B5uNQOFG.js";import{l as eo}from"./mapSpacerToTreeNode-DBILIDOx-BiDrNdx3.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./TimeframeSwitcher-C6LtTgVk-Hifvwef6.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";import"./AccountRow-D-gDxofP-BKNqupIN.js";const oo=m.div`
1
+ import{e as H,ht as ye,R as B,u as q,bJ as be,B as _e,j as t,W as Se,bg as ke,hs as ve,aZ as we,aX as Be,hu as $e,hv as Oe,o as u,a6 as je,m as Pe,C as F,aj as le,J as ie,a8 as Te,q as $,b0 as De,bL as Ne,bM as Ee,bN as Ie,f as a,x as ce,bd as Ae,b8 as Me,aw as Le,v as Q,av as Fe,ab as Re,b9 as Ve,bb as ze,l as We}from"./index-BrOecDhr.js";import{b as y,n as m,f as Ke}from"./vendor-rkTZJa59.js";import{p as Ye,d as Ge,y as G,b as de,u as ee}from"./chartTypes-BeWpEHsD-0DeNHMwF.js";import{V as He}from"./toChartData-Dn6RzL-C-A4ExOcdY.js";import{m as R}from"./analyticsHelper-BuFK9-t2-CjaWnvpX.js";import{p as qe}from"./TimeRangeSwitcher-DAv5fZf9-DTJgtu4j.js";import{M as Je}from"./TimeframeSwitcherWithToggle-D2bWFmv2-BT6zUtfo.js";import{C as Ue}from"./NoDataChart-DVB1FTW8-JpcfKKlk.js";import{d as Xe}from"./NoDataTable-DWOVpAfA-u0_L5l-r.js";import{H as Ze,N as oe}from"./detailCommon-D8YHBhNW-DknXRRJp.js";import{n as V}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{R as Qe,W as J}from"./CollapsableReportTable-BTikLMZy-CPq5VhR3.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-CJT0f_FX-jeWaKZOo.js";import{d as re}from"./mapLoadingInProgressToTreeNode-UTrwHX36-nq5vNdK7.js";import{l as eo}from"./mapSpacerToTreeNode-DSldUxM--BA669Oip.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./TimeframeSwitcher-DuE5Ij9a-D_56OGW7.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";import"./AccountRow-COkMC9z6-D4dAraic.js";const oo=m.div`
2
2
  display: flex;
3
3
  `,ro=m.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{u as i,j as r}from"./index-BiPgiHAh.js";import{n}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const p=n.div`
1
+ import{u as i,j as r}from"./index-BrOecDhr.js";import{n}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const p=n.div`
2
2
  display: ${({isOpen:o})=>o?"block":"none"};
3
3
  position: fixed;
4
4
  top: 0;
@@ -1,4 +1,4 @@
1
- import{j as o,I as M,u as T,e as v,W as A,aX as re,R as c,Q as ie,m as ae,C as D,v as ce,o as s,J as le,a8 as de,c7 as ge,c8 as pe,aU as me,q as C,l as U,b0 as he,c9 as ue,a6 as fe,a7 as xe,ap as we}from"./index-BiPgiHAh.js";import{n as r,b as F}from"./vendor-rkTZJa59.js";import{L as Se}from"./NavBarWithPicker-CQfjpio1-RAOTRz4l.js";import{m as je}from"./analyticsHelper-nAbM99rB-dFwvbsbt.js";import{M as $e}from"./TimeframeSwitcherWithToggle-DsbKCFMf-2X60-WMC.js";import{R as be,a as Ce}from"./CollapsableReportTable-CLu0A-3k-B5Drr_bb.js";import{M as E}from"./usp-line-BBd1wKwW-u-VMxix8.js";import{T as Pe,I as ke,L as ye}from"./mapSectionWithAcOnlyToTreeNode-jZUBfLPj-BrRZz856.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-DQuI_wt3-NC8uWtee.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./TimeframeSwitcher-C6LtTgVk-Hifvwef6.js";import"./AccountRow-D-gDxofP-BKNqupIN.js";const J="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",Q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ze=r.div`
1
+ import{j as o,I as M,u as T,e as v,W as A,aX as re,R as c,Q as ie,m as ae,C as D,v as ce,o as s,J as le,a8 as de,c7 as ge,c8 as pe,aU as me,q as C,l as U,b0 as he,c9 as ue,a6 as fe,a7 as xe,ap as we}from"./index-BrOecDhr.js";import{n as r,b as F}from"./vendor-rkTZJa59.js";import{L as Se}from"./NavBarWithPicker-ecFrLzuG-CUnQdZn0.js";import{m as je}from"./analyticsHelper-BuFK9-t2-CjaWnvpX.js";import{M as $e}from"./TimeframeSwitcherWithToggle-D2bWFmv2-BT6zUtfo.js";import{R as be,a as Ce}from"./CollapsableReportTable-BTikLMZy-CPq5VhR3.js";import{M as E}from"./usp-line-BBd1wKwW-u-VMxix8.js";import{T as Pe,I as ke,L as ye}from"./mapSectionWithAcOnlyToTreeNode-uMOefjfH-MTjwhTlY.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-B0VWLas7-B3sZcJLM.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./TimeframeSwitcher-DuE5Ij9a-D_56OGW7.js";import"./AccountRow-COkMC9z6-D4dAraic.js";const J="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",Q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ze=r.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{eS as pe,R as le,a2 as Me,v as te,o as u,f as H,e as ue,j as i,bo as De,u as Re,cn as qe,a8 as ae,C as oe,aS as Ve,br as Fe,x as ke,a4 as He,d as me,q as Ke,gn as Ge,n as Je,X as Xe}from"./index-BiPgiHAh.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 Ye}from"./SetUpAccountSection-CRYndaTf-DB1iaZYK.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)||Qe(t,e)||et(t,e)||tt()}function Ze(t){if(Array.isArray(t))return t}function Qe(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.
1
+ import{eS as pe,R as le,a2 as Me,v as te,o as u,f as H,e as ue,j as i,bo as De,u as Re,cn as qe,a8 as ae,C as oe,aS as Ve,br as Fe,x as ke,a4 as He,d as me,q as Ke,gn as Ge,n as Je,X as Xe}from"./index-BrOecDhr.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 Ye}from"./SetUpAccountSection-CTBtO2N2-CrkO9OG6.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)||Qe(t,e)||et(t,e)||tt()}function Ze(t){if(Array.isArray(t))return t}function Qe(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
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,q=o.onLoadError,V=o.onLoaderStart,N=o.onNetworksChange,A=o.onConfirm,G=o.onCancel,B=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);R(v,"blur",w),R(v,"focus",P),R(v,"escape",$),R(v,"click",D),R(v,"loaderror",q),R(v,"loaderstart",V),R(v,"networkschange",N),R(v,"confirm",A),R(v,"cancel",G),R(v,"shippingaddresschange",B),R(v,"shippingratechange",M),R(v,"change",j);var J;S&&(e==="expressCheckout"?J=S:J=function(){S(v)}),R(v,"ready",J),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})},X=null,Q=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 X!==null?X:(X=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&&Q!==null){var s;a.removeEventListener("load",ee),a.removeEventListener("error",Q),(s=a.parentNode)===null||s===void 0||s.removeChild(a),a=xe(e)}}ee=yt(r,n),Q=vt(n),a.addEventListener("load",ee),a.addEventListener("error",Q)}catch(c){n(c);return}}),X.catch(function(r){return X=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},Y,We=!1,Ne=function(){return Y||(Y=St(null).catch(function(e){return Y=null,Promise.reject(e)}),Y)};Promise.resolve().then(function(){return Ne()}).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 Ne().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;
@@ -1,4 +1,4 @@
1
- import{u as $e,e as I,R as y,j as t,W as a,aX as le,bg as Ne,o as s,bR as De,bS as Oe,m as F,a6 as Y,bT as we,Q as Le,v as be,bU as _e,a2 as Ae,bV as Ve,bW as Me,bX as We,bY as Ue,aj as Be,J as B,bZ as He,C as $,b_ as Fe,b$ as je,q as b,l as A,c0 as ee,bK as N,a as Ke,F as Ee,c1 as Ze,c2 as qe,U as Qe,w as D,c3 as Je,x as O,n as te,f as V,c4 as Xe,bO as Se,ap as ie,c5 as ke,be as Ge,c6 as Ye}from"./index-BiPgiHAh.js";import{f as ce,b as v,n as i}from"./vendor-rkTZJa59.js";import{R as Ie}from"./Menu-DSDvn7NT-CFb4U79f.js";import{T as Re}from"./RoleWithToolTip-BLRFyqKt-Du0quEGr.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.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)}],H=[{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(Qe(d==="off"?S:H));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(Je,{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,R as y,j as t,W as a,aX as le,bg as Ne,o as s,bR as De,bS as Oe,m as F,a6 as Y,bT as we,Q as Le,v as be,bU as _e,a2 as Ae,bV as Ve,bW as Me,bX as We,bY as Ue,aj as Be,J as B,bZ as He,C as $,b_ as Fe,b$ as je,q as b,l as A,c0 as ee,bK as N,a as Ke,F as Ee,c1 as Ze,c2 as qe,U as Qe,w as D,c3 as Je,x as O,n as te,f as V,c4 as Xe,bO as Se,ap as ie,c5 as ke,be as Ge,c6 as Ye}from"./index-BrOecDhr.js";import{f as ce,b as v,n as i}from"./vendor-rkTZJa59.js";import{R as Ie}from"./Menu-r5aBVcPX-CEDXfgVi.js";import{T as Re}from"./RoleWithToolTip-DC3qy-Pk-DGTPKSil.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.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)}],H=[{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(Qe(d==="off"?S:H));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(Je,{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,J as S,j as i,bp as J,R as U,W as X,C as u,a4 as Y,o as t,a3 as H,X as K,g as Q,x as Z,q as l,v as _,am as ee,n as W,f as v,w as ie,bO as ne}from"./index-BiPgiHAh.js";import{b as k,n}from"./vendor-rkTZJa59.js";import{V as te}from"./PortfolioDetails-OkTxpi-C-Bl-mfHnL.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./treasuryColorHelper-DvNvYEVT-BDI6aSlF.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=U.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")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:E,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=q(),[D,M]=k.useState(!1),{fundsData:N,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:F}=E;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);M(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(J,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":X("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(te,{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(C,{children:m.strings.slash}),i.jsx(O,{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(T,{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(C,{children:m.strings.slash}),i.jsx(O,{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(T,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(Y,{style:{zIndex:4,paddingTop:t.sp2,paddingBottom:t.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&&!D}})]})};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=n.div`
1
+ import{e as q,J as S,j as i,bp as J,R as U,W as X,C as u,a4 as Y,o as t,a3 as H,X as K,g as Q,x as Z,q as l,v as _,am as ee,n as W,f as v,w as ie,bO as ne}from"./index-BrOecDhr.js";import{b as k,n}from"./vendor-rkTZJa59.js";import{V as te}from"./PortfolioDetails-t8bIGJXx-CBmzVPci.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./treasuryColorHelper-0WRygmI_-CyLBFH1A.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=U.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")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:E,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=q(),[D,M]=k.useState(!1),{fundsData:N,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:F}=E;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);M(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(J,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":X("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(te,{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(C,{children:m.strings.slash}),i.jsx(O,{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(T,{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(C,{children:m.strings.slash}),i.jsx(O,{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(T,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(Y,{style:{zIndex:4,paddingTop:t.sp2,paddingBottom:t.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&&!D}})]})};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=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{j as e,R as Q,o as n,iB as _,x as E,b as G,u as K,e as X,a0 as L,C as O,bp as f,f as Y,bO as H,w as N,ds as Z,af as ee,am as ie,b6 as se,be as ne,n as le,d7 as oe,q as te}from"./index-BiPgiHAh.js";import{n as s,b as re}from"./vendor-rkTZJa59.js";import{l as ae}from"./treasuryColorHelper-DvNvYEVT-BDI6aSlF.js";const{common:r,spendManagement:{treasury:o},dateFormat:de}=Q.getLocalizedStrings(),w={portfolioYieldMarginTop:new O(-4,te[0]),sliderWidth:new O(143,177)},Oe=({isInReview:i,isSetup:l,fundDetails:m,allocation:d,amount:g,fundAllocations:v,page:j})=>{const a=ce(m);return e.jsxs(ge,{children:[!l&&e.jsx(me,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${o.portfolioAllocation.title}`}),a.map(($,x)=>{const A=v?.find(h=>h.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:g,currentAllocationAmount:A,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:_(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:g,isSetup:v,isLast:j,amount:a,currentAllocationAmount:$,page:x})=>{const A=G().analytics,h=K(),t=X(),b=$?$.amount:a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,J]=re.useState(!1),u=ae(m,h),S=()=>{p||A.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(he,{windowSize:t,children:[e.jsxs(fe,{windowSize:t,children:[e.jsxs(ye,{isInReview:g,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:g?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(I,{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(R,{})})]}),e.jsxs(C,{windowSize:t,style:{marginRight:n.sp3},children:[l.yield,r.strings.percentage]})]})]}),t==="small"&&e.jsx(ke,{children:v?e.jsxs(Ae,{children:[e.jsxs(Ie,{children:[e.jsxs(We,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{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(R,{})})]}),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,{})]})]}):g?e.jsxs(Re,{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(R,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}):e.jsxs(Ye,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{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(R,{})})]}),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:h.colors.primary,borderBottom:`1px solid ${h.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,R as Q,o as n,iB as _,x as E,b as G,u as K,e as X,a0 as L,C as O,bp as f,f as Y,bO as H,w as N,ds as Z,af as ee,am as ie,b6 as se,be as ne,n as le,d7 as oe,q as te}from"./index-BrOecDhr.js";import{n as s,b as re}from"./vendor-rkTZJa59.js";import{l as ae}from"./treasuryColorHelper-0WRygmI_-CyLBFH1A.js";const{common:r,spendManagement:{treasury:o},dateFormat:de}=Q.getLocalizedStrings(),w={portfolioYieldMarginTop:new O(-4,te[0]),sliderWidth:new O(143,177)},Oe=({isInReview:i,isSetup:l,fundDetails:m,allocation:d,amount:g,fundAllocations:v,page:j})=>{const a=ce(m);return e.jsxs(ge,{children:[!l&&e.jsx(me,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${o.portfolioAllocation.title}`}),a.map(($,x)=>{const A=v?.find(h=>h.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:g,currentAllocationAmount:A,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:_(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:g,isSetup:v,isLast:j,amount:a,currentAllocationAmount:$,page:x})=>{const A=G().analytics,h=K(),t=X(),b=$?$.amount:a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,J]=re.useState(!1),u=ae(m,h),S=()=>{p||A.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(he,{windowSize:t,children:[e.jsxs(fe,{windowSize:t,children:[e.jsxs(ye,{isInReview:g,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:g?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(I,{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(R,{})})]}),e.jsxs(C,{windowSize:t,style:{marginRight:n.sp3},children:[l.yield,r.strings.percentage]})]})]}),t==="small"&&e.jsx(ke,{children:v?e.jsxs(Ae,{children:[e.jsxs(Ie,{children:[e.jsxs(We,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{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(R,{})})]}),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,{})]})]}):g?e.jsxs(Re,{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(R,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}):e.jsxs(Ye,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{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(R,{})})]}),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:h.colors.primary,borderBottom:`1px solid ${h.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};
@@ -1,4 +1,4 @@
1
- import{R as E,j as t,b as A,o as l,by as B,af as N,q as U,d6 as G,r as H,x as X,d7 as J,f as y}from"./index-BiPgiHAh.js";import{b as $,n as i}from"./vendor-rkTZJa59.js";const u=E.getLocalizedStrings(),w={large:{labelComp:G,title:H,subtitle:X,seeMoreLink:X}},Y={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=Y.large,K=i.div`
1
+ import{R as E,j as t,b as A,o as l,by as B,af as N,q as U,d6 as G,r as H,x as X,d7 as J,f as y}from"./index-BrOecDhr.js";import{b as $,n as i}from"./vendor-rkTZJa59.js";const u=E.getLocalizedStrings(),w={large:{labelComp:G,title:H,subtitle:X,seeMoreLink:X}},Y={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=Y.large,K=i.div`
2
2
  width: ${e=>e.scale*o.width}px;
3
3
  height: ${e=>e.scale*o.height}px;
4
4
  overflow: hidden;