@zeniai/web-cockpit-ui 1.14.57-dev → 1.14.58-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 (227) hide show
  1. package/dist/assets/{ACHDetailsPage-DV4OB7NM-scHPBP4t.js → ACHDetailsPage-DzIkTxTe-CGnlEvGr.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CSg1Tfge-DlUf3KA8.js → AIPerformancePage-DcSfABe8-3zvQsiXL.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Cw_ymT2g-CxCPQEdH.js → AccountInfoPage-DKZf9iEj-Cqpyy4Vs.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-C8-5w46b-DaEOXU4b.js → AccountInfoPageContent-Z1na4dJy-Bp2J4BQI.js} +4 -4
  5. package/dist/assets/{AccountLockedInfoModal-snm4MHKv-CTDdZ4MB.js → AccountLockedInfoModal-4c3W-zeE-B1c5Jxib.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CsQrPbPT-0ia9uXn9.js → AccountReconDetailsDrawerPage-C5vlTGj8-Ds3maU4Z.js} +1 -1
  7. package/dist/assets/{AccountRow-O8arJC4_-BGHNiuQf.js → AccountRow-3d9RsrK--DaKRBKsx.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BXmvXtxq-Dnk3fFTG.js → AccountsPromoCardStack-CebFf63k-Dtc8wKba.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DgSD5HoZ-BB4BEk2F.js → AddAddressForCardDrawer-CUUW8OmY-ijRFX5im.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-uRrVSXNs-B_9aJWSG.js → AddToWalletPage-C-7QiNhe-Cz9c7fGy.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Nzs-YthX-680z3aks.js → AgingReportsPage-BDNPqEUA-b-lmDZ2s.js} +1 -1
  12. package/dist/assets/{AllUserItems-DSajX03F-Bdy85sjp.js → AllUserItems-q1-exTg0-I4ilmPPA.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-COJgBK0j-B_eOt_zm.js → ApAgingDetailPage-Biqhlmi5-CI8Q5HyB.js} +1 -1
  14. package/dist/assets/{AppBasePage-CNEQI1s3-BSvuyAL3.js → AppBasePage-OcF9VjD2-Bdlh0IQl.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DAoQqu2t-C5ORDo2y.js → AppDrawerContent-Bvp-m86Z-BB2R_i-p.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BfdaJqb9-BlkmghO2.js → ApprovalRulesSettingsPage-DoU4XLU1-CvfylkUK.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Do0NLLSa-CuAXJyfp.js → ArAgingChart-Derurnjv-5DUciMgH.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-Bcb2ACg0-BuToQQIr.js → ArAgingDetailPage-BANucXvz-Bj00e-OO.js} +1 -1
  19. package/dist/assets/{AttachmentView-Ca6sXezF-zLy1AGh_.js → AttachmentView-DmZoR5fC-BdhRh1XM.js} +2 -2
  20. package/dist/assets/{BankAccountSection-OBSfguxr-Cdnw3tK9.js → BankAccountSection-Cw7uDvEJ-Bd6yTqI1.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Ckzs3GdZ-DJXWL2iQ.js → BankAccountWarningSection-ClNYTjN_-BQ9-dTwM.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-ZtHOghED-CPQy3KKh.js → BankConnectionsSettingsPage-B48-v1cX-DmoRrTNq.js} +1 -1
  23. package/dist/assets/{BillDetailPage-Cx4731vW-DzaI8LNz.js → BillDetailPage-Dz1Us8Hp-Dvh6A91e.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-AvM-KVpf-BDnTHaWj.js → BillPayApprovalRuleDetailPage-DJhSGn1E-BOs-lVeh.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DQUxCO26-CEtpIye-.js → BillPayApprovalRulesPage-DZMg0cXF-D6fcVvgs.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CyRoiwLd-DhI-a8uq.js → BillPayPromoPage-B0XdQSYS-fKxnWAWc.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-D1CNDey5-Du0peVv0.js → BillPaySetUpPage-Ft2KuiQF-DJ0GPF8U.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-B1tyFzD9-DNO89DW5.js → BillingSettingsPage-uQpN2px5-CCH8ecOp.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B2mBpc3M-ldvk4yrQ.js → BillsBulkReviewDrawerPage-DBtKf5-t-9GGijifn.js} +1 -1
  30. package/dist/assets/{BoxItem-DNKrNJdW-QP_Xyjqf.js → BoxItem-DR7ZjTUs-C1VV8CvK.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BhamWrv8-CBg8OwYp.js → BusinessVerificationPage-Ccqlx-_j-Ck3zpa3h.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-gZk_X-XR-CH7v6MNz.js → CardNumberSubText-C1IwXiVs-BtmlRQkR.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-5xjTDPNi-D95OsWlC.js → CashbackDetailPage-uh_slX-Q-DCtndNmX.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DhPOhmHL-CWmBCiXo.js → ChargeCardDetailPage-DEsNdsI1-C8KKmQtV.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-Cmmzx-W1-CbHdGtnk.js → ChargeCardListPage-BRErjFyU-9efbkwzY.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-SwxRmQUm-DmxNdOn0.js → ChargeCardListTable-3b_fwt_f-DFTzMCW1.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-gaKf1tn--CeCza0Wj.js → ChargeCardPromoPage-Dn0omfoT-DWD-VALN.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-Cn6E7r73-BBs3uWm_.js → ChargeCardSetupPage-doVAo_Au-D-Ixqf31.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DqileRbM-C5_Wc_p8.js → ChargeCardStatementsPage-DGOegtho-Bs1IutSH.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-CjQgqDbz-CjjWlpC7.js → ChargeCardUtils-BlLiJhdJ-Dg7co2BP.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-D7OybUeO-CW-0fz6R.js → ChaseOverlay-DY7W-VhR-lpJ0bMnw.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-CwZohOyA-DVUmf3m_.js → CheckDepositDrawerPage-CDelWBRG-DS_wLJBI.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-BLws2OAO-D5RHypCj.js → CollapsableReportTable-BEIzIiuS-Cae50Vwc.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-vBLAKoiC-Sb9wXnSm.js → CompanyOfficerDetailsSection-B5JwDvdV-22SX7YTN.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard--ffusTh9-B6TMlRLr.js → CompanyPassportCard-BcnnhR8L-CKzgL5RH.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-wKXcFSeY-C2bUKYyf.js → CompanyPassportPage-Cjc8jDSu-Dciot8Ts.js} +1 -1
  47. package/dist/assets/{CompleteProfile-BcV1Utwt-DqK7BTtH.js → CompleteProfile-bOwTw1Lh-C3KVTm6N.js} +1 -1
  48. package/dist/assets/ConfettiBurst-w-1sEoT7-DJmiMn2B.js +1 -0
  49. package/dist/assets/{CreateOrEditVendorPage-D0Z_vCWN-DjaTZ2yA.js → CreateOrEditVendorPage-B7_YMeTg-CK721ieE.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CMV7xqgA-BuxXzArW.js → CreditCardPaymentDrawerPage-1CZyhIOU-DM7jOkAo.js} +4 -4
  51. package/dist/assets/{CreditCardPaymentPlgSection-Cmrbj4Ya-BZBA5Oye.js → CreditCardPaymentPlgSection-zy5jp8oZ-C1FeG_GO.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-OYuUR0mT-BPHz3nrc.js → CurrencySelectField-DLcojhnq-GxGrtfJf.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-BpvRDCGQ-CEsS5LMq.js → CustomerOnboardingActivationPage-DIwdLnW_-URuxZzGT.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-AGr9ylBU-BGA0gtkj.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-EE_kzrRA-Daf8h3OW.js → CustomerOnboardingDetailPageSkeleton-G6eM-LXh-C21__FUD.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-B69SWxDI-DsKoxBMB.js → CustomerOnboardingNoStepsPage-ZUm80ZnR-BXGfs1fA.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-CFJOSKfq-B2JIOTTz.js → CustomerOnboardingPage-ap2hRZbg-BmCYAqsv.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-B1loVTKk-CSjuiJly.js → CustomerOnboardingProductSuitePage-JHpQNLLp-MnvQuCHK.js} +1 -1
  59. package/dist/assets/{Dashboard-DpCe3pX5-qAKujEkc.js → Dashboard-BGw23hBU-BMEdB3X2.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-D0GKRRRO-DozH4wyz.js → DashboardReportPage-DxQfaMpu-zuEzookN.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-Dxf_aFtw-Bdf-Zc3i.js → DashboardSidebarBackgroundAnimation-G2W4zpsl-CwjTTMim.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-CYTxgJyj-bOJQ8Ukv.js → DepositAccTransactionItem-DMKKoFPE-EaHMiJO6.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-mhcLB2nV-C75FLq9H.js → DepositAccTransactionListPage-P_jQozTg-CCIMfRSh.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-COxtxo6V-bM0aDg4t.js → DomesticWireDetailsPage-Cukq5TMS-XayFd7lz.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-CChNuB4u-BakIaAQG.js → DownloadOverlay-0TBZx4M5-tJw7aFF5.js} +18 -18
  66. package/dist/assets/{DrawerPage-BolT_6Cm-BWoz_vn9.js → DrawerPage-BCFgiTrx-BpRcwO3p.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-Cpe16SmA-Bllh9eLy.js → EditPeoplePage-Bz6R4dHg--y88xLIK.js} +4 -4
  68. package/dist/assets/{EditReimbursementDetailPage-DmR3eRtA-D58-yFla.js → EditReimbursementDetailPage-CpyYBV_p-DhtE3Ix7.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-DBNvCESo-CVkej4aD.js → EntityDetailPage-B2zcu4ey-AZAmTTuP.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-D2riKfGi-CI5FhHI9.js → EntitySummarySection-D5aLYTXS-DxX7_ZQq.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-C5shdFUa-qikpRmKj.js → ExpenseAutomationOverviewPage-DOCWbVlk-DU6plvze.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-BJpCFccV-DeRqJ53a.js → ExpenseAutomationPage-CvRVtFoX-BLm68niC.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-D58z0xFD-CKFQwwcT.js → ExpressPayPage-BXf-9l9G-CHlzXKio.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-C5TI7Aed-DCpacyyw.js → FeaturePreviewPage-LOJ6iaCh-CUZ-sXmH.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-Csdpah5Q-CxDj3k7L.js → FollowStepsSection-BgJIGSUb-CLTuK3I_.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-B3S1RAGw-Dt-EOA4V.js → GlobalReviewListPage-vKPeBn-E-Ct7koJCC.js} +1 -1
  77. package/dist/assets/{HelpButton-CGAbbUiJ-cbkL6JAK.js → HelpButton-JzcF30dH-CB6SuxmB.js} +1 -1
  78. package/dist/assets/{InformationCardStack-CISjCFub-DA8QUjsX.js → InformationCardStack-DE_mlx0b-C88FUke7.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-B_kwkhFg-Bndoh0Lf.js → InsightsCardStack-CPmZ9Zr6-tnBQERvR.js} +1 -1
  80. package/dist/assets/{InsightsSection-9aVhHxu0-3ZWqqEXv.js → InsightsSection-mpQV3wZ8-4CdAfd3B.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-0sXjzrcJ-H5UDiCNs.js → IntegrationsSettingsPage-CPSSCQzQ-BBUxk6fr.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-DpP4SuIM-GV0SIr9v.js → InternationalWireSwiftDetailsPage-D6WfqTKR-DPVVasiw.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-CW1NHbLf-B4h7kKjV.js → InternationalWireVerificationPage-CryJKJXs-Bb-JpupC.js} +1 -1
  84. package/dist/assets/{InviteFormPage-2ppyHkHI-Cgxv4WZF.js → InviteFormPage-C7nLoXTU-DQ8Zo9RY.js} +1 -1
  85. package/dist/assets/{InvitePageListView-CDwmsdNJ-BoIal6so.js → InvitePageListView-CtRAy7TX-jnZ8ty_H.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-Y0Yvs2ez-BpEfhJM2.js → InvitePeoplePage-ClFxfSTT-BZxpCDTB.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-BNwg_c1l-DHK5Glna.js → InvoiceUploadSection-DjnuyOSw-kA9Q5RC1.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-DtEXpUel-DROe0z2c.js → IssueChargeCardPage-CstjZX3q-CVES2HO-.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-lIc9AUSj-8Y6kEiql.js → LabeledAddressValue-Brk71Pjr-Br7WYOjy.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-DQmJ358S-BojoQyFF.js → LabeledAddressValueField-CvCb2aoN-BMraSweU.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-gzV5lqRv-BByzlvOt.js → LabeledControlledCheckBoxField-Gqssp1Ri-D4KakohM.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BSRuZZ9w-CHzfbkda.js → LabeledCreatableSingleSelectField-VKo2nKGM-CJJoztRm.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-DEbnfj_g-BDQFjixV.js → LabeledDocumentField-COC_Ej58-XrCdeiIk.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-CQYgbSaL-D-G0-co6.js → LabeledDropDownFormattedTextField-r2aCE7Vv-DoETpRb7.js} +1 -1
  95. package/dist/assets/{LabeledText-VwF4V6_p-BE7ImNU3.js → LabeledText-VrCpjPlp-ClFT9aSd.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-eXNE6eGu-DdgWNbGC.js → LabeledUserSingleSelectWithSubtitlesField-CoAdkKTm-DZKcUQ_D.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-CdedV02i-E7qnqjA4.js → LabeledZeniRolesDropDownField-BP7diqSR-CfKOYSdV.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-BbTu0l-b-CjtAMwcf.js → LinkJETransactionPage-WS_VPmbY-BMhOvB7O.js} +1 -1
  99. package/dist/assets/{LockCardPage-62coj_g_-CHjApcyX.js → LockCardPage-C0sABFjo-CRzPpS2y.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-DIyrsEot-DCyZNps6.js → LowBalancePopup-Cnt8hF5d-CwzBbZJu.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-CWjbXKIJ-ikYPNsfA.js → MagicLinkACHDetailsPage-DHMQHaja-9u2_93Hj.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DZQgzdhA-sOkkceJ4.js → MagicLinkDomesticWireDetailsPage-CiLUscCx-zxVCbDr6.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DnoE71_A-BEJQwJRN.js → MagicLinkInternationalWireDetailsPage-X2ADFf0h-CXRlqLrK.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-BDHrHc95-CzGMy3iB.js → MagicLinkSuccessPage-BRHxmUGi-RlvFx9Vv.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-tsi574d5-CdRM3Wt3.js → MagicLinkTitleSection-CHy41StU-iaC_IZyx.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-De2NGkdU-BRMYFvYK.js → MailingDetailsSection-Djpl2M02-DRUGr-cD.js} +1 -1
  107. package/dist/assets/{MeetingCalenderPopup-DeDqhOVG-BjtXMoON.js → MeetingCalenderPopup-qui2SnEi-zaTm9eCM.js} +1 -1
  108. package/dist/assets/{Menu-BZ3MfCWq-BlYX38pO.js → Menu-BMPH4-8R-BpGxpLB8.js} +1 -1
  109. package/dist/assets/{MyBankConnectionsSettingsPage-B6gbSXeJ-tb3sBVYM.js → MyBankConnectionsSettingsPage-Mohwcu-e-CWUSlqWi.js} +1 -1
  110. package/dist/assets/{MyPendingActivationChargeCardListPage-Dm2DU2pe-CbSPtYDG.js → MyPendingActivationChargeCardListPage-DePpW1nZ-C9q3vMXn.js} +1 -1
  111. package/dist/assets/{MyProfileSettingsPage-DlFYEYR2-Bxp4Olyn.js → MyProfileSettingsPage-C--PD-iR-DaoANO6b.js} +1 -1
  112. package/dist/assets/{NavBarWithPicker-B9fB_b4i-C1lDMiZD.js → NavBarWithPicker-CDrtlEhe-BXT_gs6d.js} +4 -4
  113. package/dist/assets/{NavigationArrow-CNpW28GW-CZ-YuXV6.js → NavigationArrow-Ci8e8S3O-B8ujCRoJ.js} +1 -1
  114. package/dist/assets/{NavigationDots-DrEAFxpz-B6u6Mzuu.js → NavigationDots-CT4KVH38-BGK5cPzx.js} +1 -1
  115. package/dist/assets/{NewGlobalMerchantPage-DjYEm0mU-Bqt4_bV8.js → NewGlobalMerchantPage-Cih2BVZW-Cj5t7bgU.js} +1 -1
  116. package/dist/assets/{NoDataChart-CPJXwyWa-C0S5qVwv.js → NoDataChart-Bb4iomO0-P7hz2s_V.js} +1 -1
  117. package/dist/assets/{NoDataTable-zqmAdMpH-CL-p50k_.js → NoDataTable-CGhIXUQS-CDx2kork.js} +1 -1
  118. package/dist/assets/{NotFoundPage-BxsQnhKX-BjANNWmh.js → NotFoundPage-C1yRpH5R-Ck1XUNUA.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-5rT4kBF0-BQYrT2ZD.js → NotificationSettingsPage-B6niw-yz-CwrfbQTC.js} +1 -1
  120. package/dist/assets/{NotificationsListConfig-DD21aJah-CU4gk4WR.js → NotificationsListConfig-BXhnYFMc-BTDY1rqZ.js} +1 -1
  121. package/dist/assets/{NotificationsPage-B2vE5QMM-BHZGmZN4.js → NotificationsPage-BxD_x5RM-zpY3e44n.js} +1 -1
  122. package/dist/assets/{OpExByVendorPage-BlOjhXuk-CEUj-TvK.js → OpExByVendorPage-DhU6KaAy-BGhweX73.js} +1 -1
  123. package/dist/assets/{OverlayContainerPage-D1XDQqSC-oJX3kg0t.js → OverlayContainerPage-D1XDQqSC-DiLr-3XY.js} +1 -1
  124. package/dist/assets/{PandLWithForecastPage-D4BVhSNf-ClrOsDEV.js → PandLWithForecastPage-a4spNLTC-HTxHhtnZ.js} +1 -1
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BHfmGlTd-Dwbz6PKr.js → PaymentAccountSetupBillingAddressSection-BNP1S38J-BKexTB0-.js} +1 -1
  126. package/dist/assets/{PeoplePage-DEziszmp-CUWqMSAY.js → PeoplePage-BkflVTQ7-DltmyGpk.js} +1 -1
  127. package/dist/assets/{PortfolioAllocationFormPage-B5JZy2cU-CEbkjuro.js → PortfolioAllocationFormPage-B6dIZdSj-1TnuK3pg.js} +5 -5
  128. package/dist/assets/{PortfolioDetails-CN5JC3Jy-HeR1tyFI.js → PortfolioDetails-DgBQTG2N-CH7_79Km.js} +1 -1
  129. package/dist/assets/{ProductsCarousel-DctP1eXs-CCLKFTUp.js → ProductsCarousel-98LvzRjI-B_uCpX-j.js} +1 -1
  130. package/dist/assets/{PromoBaseCards-DnMnpK-a-CsVLXV-m.js → PromoBaseCards-8w-GQx13-DTQa74HO.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-BazrhjZb-d0xNxhEp.js → QBOConnectionDialog-Sok8rRG4-Cjf0nLBD.js} +1 -1
  132. package/dist/assets/{QBOSetupSection-BLLT8kmS-Ce8ZT6-l.js → QBOSetupSection-BMRMT06i-DJALpgeV.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D975K6ku-DoGxcKYy.js → ReimbursementApprovalRuleDetailPage-Cye5Dfay-CGpPHs6b.js} +1 -1
  134. package/dist/assets/{ReimbursementApprovalRulesPage-IeqxqH7T-XCDBzK4n.js → ReimbursementApprovalRulesPage-C8C8pUIT-CjmH8lZQ.js} +1 -1
  135. package/dist/assets/{ReimbursementDetailPage-ClF5VZjq-dmYnHRfU.js → ReimbursementDetailPage-BkrQE22J-D3U3w3Jc.js} +1 -1
  136. package/dist/assets/{ReimbursementPromoPage-tHvviUt5-Dk7oJDsM.js → ReimbursementPromoPage-qafth1vd-_RORg2Jf.js} +1 -1
  137. package/dist/assets/{ReimbursementSetUpPage-DarYgpUr-aAmxm22Y.js → ReimbursementSetUpPage-CnroOkJk-BCH-HReS.js} +1 -1
  138. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-2TxWVhxf-PAZ3OFzs.js → ReimbursementsBulkReviewDrawerPage-2zlPBW1D-CFci4vmn.js} +1 -1
  139. package/dist/assets/{ReloadCard-TX3UFbxi-BFmg7q-B.js → ReloadCard-B0LL0bsO-BrdpqtUX.js} +1 -1
  140. package/dist/assets/{ReportTableViewSelector-BxGg49JV-CV8VvQVh.js → ReportTableViewSelector-CwM38MkL-Clt78PC5.js} +1 -1
  141. package/dist/assets/{ReportsPage-CzLbNd7f-D1DgmIXH.js → ReportsPage-Cyl_WUQz-jLAMEAS-.js} +1 -1
  142. package/dist/assets/{RevenueChart-x2L7j2F6-BDDir_y7.js → RevenueChart-CXxEH9pM-VtijpZqR.js} +1 -1
  143. package/dist/assets/{ReviewDetailsPage-BOE0i6DJ-BbwznFf0.js → ReviewDetailsPage-C0soI4uR-CarcY93y.js} +3 -3
  144. package/dist/assets/{ReviewOverlay-k7Yv6cPl-CptdvIrg.js → ReviewOverlay-BKS6IxUd-1ICeh20u.js} +1 -1
  145. package/dist/assets/{RoleWithToolTip-BXNPbq51-BaVWsgPs.js → RoleWithToolTip-BfLzD5K8-Bba4gM-x.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DwsARyar-BYad-8kn.js → ScheduleDetailsFixedAssetsPage-1ULyqeCq-BoIFwh0V.js} +1 -1
  147. package/dist/assets/{ScheduleDetailsPage-DiWh6HFF-D0I8l1IY.js → ScheduleDetailsPage-D-Z-Fi_m-BaMORKKh.js} +1 -1
  148. package/dist/assets/{ScheduleSequenceTable-uB-F8Zfa-D6xZfg_B.js → ScheduleSequenceTable-DAwNCXh_-Q6E83xzc.js} +1 -1
  149. package/dist/assets/{ScreenRoutes-CNuH2l1M.js → ScreenRoutes-BufP4FWU.js} +1 -1
  150. package/dist/assets/{SetUpAccountSection-B_NrG7PF-BxGqKlcX.js → SetUpAccountSection-_zsQfBq1-0U-HhnaD.js} +1 -1
  151. package/dist/assets/{SetUpDefaultSection-B4Tvbzll-DJkEvnId.js → SetUpDefaultSection-BHYOBJ7g-BuIYblZ8.js} +1 -1
  152. package/dist/assets/{SignIn-QHVyx5c0-DNtvi6UZ.js → SignIn-BOLyauQa-CixO2RtW.js} +3 -3
  153. package/dist/assets/{SignInScreen-CvxlZGn3.js → SignInScreen-YcOown53.js} +1 -1
  154. package/dist/assets/{SpendManagementListViewPage-BtVibd3X-CxcsgIbl.js → SpendManagementListViewPage-zh_Ui5iH-CGdOpKBT.js} +3 -3
  155. package/dist/assets/{SpendManagementPerTabPage-BM4QDdoq-WgGBjnoD.js → SpendManagementPerTabPage-Bu4V_wEU-CSfLUAuy.js} +1 -1
  156. package/dist/assets/{SpendManagementSection-CkjbKHuA-DL8Jhv_8.js → SpendManagementSection-vhFCT9_L-qwRdXZvK.js} +1 -1
  157. package/dist/assets/{SpendMgmtSetupAccountSection-BZ6YBI9L-DxtdM6ss.js → SpendMgmtSetupAccountSection-DiiBySox-BM3KKSU_.js} +9 -9
  158. package/dist/assets/{StatementItem-C-OOwdLj-D_ZMjHTj.js → StatementItem-5oh_s6z3-6OUEM9XJ.js} +1 -1
  159. package/dist/assets/{StatementsPage-C8FwOEHw-BE1iNo_c.js → StatementsPage-CQqrzaz3-BJwsThFV.js} +1 -1
  160. package/dist/assets/{StatusSwitcher-DDAIdmGW-DAjyffcb.js → StatusSwitcher-C1BUhsR_-8sLNdfiT.js} +1 -1
  161. package/dist/assets/{SubTabSwitcher-DHxYgN7S-Dyghoaqk.js → SubTabSwitcher-DbtPzcHo-y1X0rE6B.js} +1 -1
  162. package/dist/assets/{SummaryCard-DB61FVhc-BpHOzuly.js → SummaryCard-ChBY9-wb-Bw7p-RjC.js} +1 -1
  163. package/dist/assets/{TaskManagementPage-3KR1pIOP-BHV69xN6.js → TaskManagementPage-BLvvJOu7-COHpvcme.js} +1 -1
  164. package/dist/assets/{TimeRangeSwitcher-C8w8Bh_E-B6ri8OeP.js → TimeRangeSwitcher-BKBRRSFm-SlEGCNlP.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcher-DYaFRiai-Bfm-SyYg.js → TimeframeSwitcher-BYbWJkqV-Sx7SebtL.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-O8Wee44C-DC5Bn53q.js → TimeframeSwitcherWithToggle-CQ7RqzAP-CKRbf7Jg.js} +1 -1
  167. package/dist/assets/{TopExCard-9KbsTjCg-g0VU1BgP.js → TopExCard-DlOpHPBt-t5AMNx03.js} +1 -1
  168. package/dist/assets/{TopExDetailPage-DMvUVN5s-DmxN6dca.js → TopExDetailPage-DiRn3jsO-DsHIdgbe.js} +1 -1
  169. package/dist/assets/{TransactionDetailPage-DZ_tNzxQ-DHLr3WkZ.js → TransactionDetailPage-CVxiCsG1-C01wk2JT.js} +1 -1
  170. package/dist/assets/{TransactionList-CvrOM5cz-BrfleYzE.js → TransactionList-bXlPU8EJ-CsgRWKIU.js} +1 -1
  171. package/dist/assets/{TransactionListBig-CzSohE8_-B5ggIH_H.js → TransactionListBig-C8XRWb2H-CEO2-wEp.js} +1 -1
  172. package/dist/assets/{TransactionListPage-DDCjfLv3-eye7QL5P.js → TransactionListPage-CUX45pNJ-Cjx1dU3-.js} +1 -1
  173. package/dist/assets/{TransactionVendorDetailPage-D79bSSm4-_F6XnFYp.js → TransactionVendorDetailPage-CN37v29r-Bn0Qs16b.js} +1 -1
  174. package/dist/assets/{TransferDrawerPage-wIuuspOB-TRClHB0Q.js → TransferDrawerPage-GsrHKsdt-CPhY9uVH.js} +6 -6
  175. package/dist/assets/{TreasuryOverviewPage-gnHjOdp1-TVcFGfPG.js → TreasuryOverviewPage-C-yNzG5C-wM7S6XC2.js} +1 -1
  176. package/dist/assets/{TreasuryPromoPage-D6IVoctX-BpmXJbO7.js → TreasuryPromoPage-BENRjIY1-VluX1kUr.js} +12 -12
  177. package/dist/assets/{TreasurySetupPage-CyaXCzZf-CUvT1FJs.js → TreasurySetupPage-DmIyCtnW-dsW9ITCo.js} +2 -2
  178. package/dist/assets/{TreasuryStatementsPage-XyURgUMc-eZhem4kv.js → TreasuryStatementsPage-DTCPq8Gp-B--ZL0Y4.js} +1 -1
  179. package/dist/assets/{TreasuryTaxLetterPage-OHvXH4x_-CuOlStEC.js → TreasuryTaxLetterPage-O433FhAV-DJp0rfJO.js} +1 -1
  180. package/dist/assets/{TreasuryTransferOrReviewPage-DvPOsZ6Y-DYY_FFF5.js → TreasuryTransferOrReviewPage-D_3AEXbX-D5VhmFuv.js} +1 -1
  181. package/dist/assets/{TrendChart-CPbwWuUI-N14xe23i.js → TrendChart-DdACpA7D-awtrGG14.js} +1 -1
  182. package/dist/assets/{TrendWithTransactions-BhxaSxAB-DTcr2507.js → TrendWithTransactions-BnHF9LmW-X7CQ4Pfm.js} +1 -1
  183. package/dist/assets/{UncategorizedAccountsMappingPage-CLDyk6B7-Cwonih23.js → UncategorizedAccountsMappingPage-CPwbKmda-BltiYNM6.js} +1 -1
  184. package/dist/assets/{UnitIntegrationPage-BoU9j_IJ-BDVIB4OK.js → UnitIntegrationPage-Du-y-JVz-BVzpDhf6.js} +1 -1
  185. package/dist/assets/{UploadAdditionalDocumentOverlay-BBBO7he9-CLzpRzpY.js → UploadAdditionalDocumentOverlay-Pjy5PzIW-Cpkjr1U1.js} +1 -1
  186. package/dist/assets/{Vendor2FAPopup-Rb3R_tes-CGhG3uNy.js → Vendor2FAPopup-DgjZcTQX-DrNGW2uE.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-DHfHuMBC-fqnhI9aR.js → VendorACHDetailsPage-DcNKtZ0R-ELKLGcxf.js} +1 -1
  188. package/dist/assets/{VendorDetailPage-DyxCCxD8-Cgod249l.js → VendorDetailPage-DEEb2gjp-CUZwVnwd.js} +1 -1
  189. package/dist/assets/{VendorDomesticWireDetailsPage-BiAaQYS9-CZiNzKoT.js → VendorDomesticWireDetailsPage-y3jp785O-Cy5mapty.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-u8ThnUDe-zrxRhQ5r.js → VendorFiling1099EditablePage-BduWVF51-Di0FCJx8.js} +1 -1
  191. package/dist/assets/{VendorFirstReviewPage-D7XydNcf-B4PW1aPf.js → VendorFirstReviewPage-B8vqDzGi-Bp2ZfGwo.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireDetailsPage-D4nE3lgg-CRdjfyLP.js → VendorInternationalWireDetailsPage-DmJ3Bq2T-dpnRBprR.js} +1 -1
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DazgqE6v-B3R4kEMC.js → VendorInternationalWireSwiftDetailsPage-Bxy4g8yL-DEIHbAOM.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-BGko46RN-BVuQLHUL.js → VendorsAccountsSection-DhleXBjq-D7pc7nto.js} +1 -1
  195. package/dist/assets/{VerifyDevice-CZP5FKvG-B5x7aHp5.js → VerifyDevice-BdUpM2Xk-SRC45i0e.js} +6 -6
  196. package/dist/assets/{VideoPlayer-Csx55A4e-C_ak7IJP.js → VideoPlayer-Bh9pi5bb-BqO_YZ12.js} +1 -1
  197. package/dist/assets/{VideoPopup-Dp-c0GWW-Bb_QPQf3.js → VideoPopup-BmSbL0tQ-BdCyOT4Q.js} +1 -1
  198. package/dist/assets/{WarningsDrawerPage-DkbOQKDX-C-fGnRFk.js → WarningsDrawerPage-DfPbJNDz-QbWFDUy4.js} +1 -1
  199. package/dist/assets/{ZeniAccountDetailPage-BEBuZNiD-BQk5cqZk.js → ZeniAccountDetailPage-BgJTjD7y-CYWtq9SB.js} +1 -1
  200. package/dist/assets/{ZeniAccountListViewPage-B1TCB511-DsEy1gL2.js → ZeniAccountListViewPage-BWVLF3FE-LLLk-CBs.js} +1 -1
  201. package/dist/assets/{ZeniAccountNavBarPieces-Cx0PFqHk-uYbWuUuZ.js → ZeniAccountNavBarPieces-Qs5xZ8ja-CrDO9fOa.js} +1 -1
  202. package/dist/assets/{ZeniAccountPromoPage-CxmtyMwE-cYfv_VGU.js → ZeniAccountPromoPage-B9FLpxZq-BlSVDmdE.js} +1 -1
  203. package/dist/assets/{ZeniAccountSetupPage-DnRT5njn-BVW0BEhq.js → ZeniAccountSetupPage-CvumFc2I--HP8MNxX.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-BVCuJT6Y-B8cB9T3K.js → ZeniCopyright-2Gm8bvIj-B-XJ0sll.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-tgjKZKK9-D81YtLSN.js → ZeniTransferAmountSlider-3iNLjlk5-DrUy3mRf.js} +1 -1
  206. package/dist/assets/{analyticsHelper-CUE9UAMD-DEHXudbZ.js → analyticsHelper-BjdxHYNU-ylGVD7-2.js} +1 -1
  207. package/dist/assets/{analyticsHelper-BQ8ltk6Q.js → analyticsHelper-DfZHUz5O.js} +1 -1
  208. package/dist/assets/{chartTypes-CcLTCCG0-DFZZ9PgG.js → chartTypes-C55wRbZm-DhTW0crF.js} +1 -1
  209. package/dist/assets/{commonDimensions-CTsqA6um-BTABgGy8.js → commonDimensions-kvPZ9uhR-DQbxhhwD.js} +1 -1
  210. package/dist/assets/{detailCommon--EhC1iKt-CGlpcdoJ.js → detailCommon-flEwHQWE-CMzUPdgC.js} +1 -1
  211. package/dist/assets/{downloadPdf-Co6NLPP_-B4kWIili.js → downloadPdf-9PwAfZrf-CivehzyW.js} +1 -1
  212. package/dist/assets/{index-BNH5gTAb.js → index-CU0svkHW.js} +62 -62
  213. package/dist/assets/{mapLoadingInProgressToTreeNode-vinEf3O0-MAPFGY7s.js → mapLoadingInProgressToTreeNode-D2-Xk-a2-Byms7b6e.js} +1 -1
  214. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BnxbUJPe-DzeOkIlR.js → mapSectionWithAcOnlyToTreeNode-D8mXp6cH-QaunmZY4.js} +1 -1
  215. package/dist/assets/{mapSpacerToTreeNode-chkrQGMX-BltKeg89.js → mapSpacerToTreeNode-DgTZkD7S-DEhHjHQU.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-DTHtlrnV-DGi8YqCq.js → mapTimeframeBalancesToTreeNode-DacdNIKt-9l0GpLu7.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-j2aabgKb-CMfb2C3i.js → mapTimeframeBalancesToTreeNode-Dc8D2GxV-CGuVbu0D.js} +1 -1
  218. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-gAxSLe4t-2IR_serz.js → mapTimeframeHeaderLoadingInProgressToTreeNode-ByVkwcZX-B0WkGWvQ.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-sfFXqnrY-BCiFjR_2.js → toCOABalancesWithID-CHP1NmFV-B53Lqnlb.js} +1 -1
  220. package/dist/assets/{toChartData-DHQAPqS1-kdPHvyQH.js → toChartData-CV-IsjGn-DrX1S8Xg.js} +1 -1
  221. package/dist/assets/{treasuryColorHelper-BqprOh-j-C3JCOz-p.js → treasuryColorHelper-73WJKkar-B6B4qh8C.js} +1 -1
  222. package/dist/assets/{uploadAttachment-CD0cbojy-dB3sYS5d.js → uploadAttachment-Cj3QcGO3-KJ3f0q5Q.js} +1 -1
  223. package/dist/assets/{uploadReceipts-CQ7whQyJ-jsBFF7ZN.js → uploadReceipts-CQ7whQyJ-DaTTfVLX.js} +1 -1
  224. package/dist/index.html +1 -1
  225. package/package.json +3 -3
  226. package/dist/assets/ConfettiBurst-BoAprBVC-X81eAzwq.js +0 -1
  227. package/dist/assets/CustomerOnboardingContainerPage-B0SKnjh2-zlGyxZp8.js +0 -1
@@ -1,4 +1,4 @@
1
- import{d3 as M,c as N,db as H,F as L,j as l,dc as P,aM as x,bM as z,o,dE as _,cH as B,bN as g,am as A,C as S,fd as T,fe as U,ff as X,ai as Y,bL as Z,A as q,h as m}from"./index-BNH5gTAb.js";import{b as w,n}from"./vendor-Bs1fkIUX.js";const ye=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),b=N(),[j,C]=w.useState(!1),k=H(y,e??""),D=L.getLocalizedStrings().common.currency,F=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??D.countryCode}},I={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},V={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(P,{name:e,control:f,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(z,{...V,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:F(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:G,Option:J,Input:W,SingleValue:ee,ValueContainer:Q,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:K},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},G=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},J=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},K=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:t[f]})})},Q=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),W=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(A)`
1
+ import{d3 as M,c as N,db as H,F as L,j as l,dc as P,aM as x,bM as z,o,dE as _,cH as B,bN as g,am as A,C as S,fd as T,fe as U,ff as X,ai as Y,bL as Z,A as q,h as m}from"./index-CU0svkHW.js";import{b as w,n}from"./vendor-Bs1fkIUX.js";const ye=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),b=N(),[j,C]=w.useState(!1),k=H(y,e??""),D=L.getLocalizedStrings().common.currency,F=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??D.countryCode}},I={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},V={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(P,{name:e,control:f,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(z,{...V,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:F(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:G,Option:J,Input:W,SingleValue:ee,ValueContainer:Q,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:K},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},G=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},J=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},K=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:t[f]})})},Q=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),W=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(A)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&T(e)===!1)return l.jsx(l.Fragment,{});{const r=U[`${X(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as t,q as b,F as d,aP as l,aM as p,m as x,o as i,ag as g,L as h,s as m}from"./index-BNH5gTAb.js";import{b as u,n as o}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const f=o.div`
1
+ import{j as t,q as b,F as d,aP as l,aM as p,m as x,o as i,ag as g,L as h,s as m}from"./index-CU0svkHW.js";import{b as u,n as o}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const f=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-CU0svkHW.js";import o from"./CustomerOnboardingNoStepsPage-ZUm80ZnR-BXGfs1fA.js";import i from"./CustomerOnboardingPage-ap2hRZbg-BmCYAqsv.js";import"./mui-Ty75qFQF.js";import"./vendor-Bs1fkIUX.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./HelpButton-JzcF30dH-CB6SuxmB.js";import"./MeetingCalenderPopup-qui2SnEi-zaTm9eCM.js";import"./PaymentAccountSetupBillingAddressSection-BNP1S38J-BKexTB0-.js";import"./SetUpAccountSection-_zsQfBq1-0U-HhnaD.js";import"./SetUpDefaultSection-BHYOBJ7g-BuIYblZ8.js";import"./ChaseOverlay-DY7W-VhR-lpJ0bMnw.js";import"./CustomerOnboardingDetailPageSkeleton-G6eM-LXh-C21__FUD.js";import"./CompanyOfficerDetailsSection-B5JwDvdV-22SX7YTN.js";import"./LabeledAddressValueField-CvCb2aoN-BMraSweU.js";import"./LabeledCreatableSingleSelectField-VKo2nKGM-CJJoztRm.js";import"./LabeledDocumentField-COC_Ej58-XrCdeiIk.js";import"./QBOSetupSection-BMRMT06i-DJALpgeV.js";import"./QBOConnectionDialog-Sok8rRG4-Cjf0nLBD.js";const v=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{v as default};
@@ -1,4 +1,4 @@
1
- import{j as s,aM as y,br as T,c as f,q as E,b_ as x,o as t,u as R,y as $,ag as N,F as I,h as u,K as P,hN as U,fJ as L,au as O,an as W,hO as q}from"./index-BNH5gTAb.js";import{n as r,w as S}from"./vendor-Bs1fkIUX.js";const B=r(q)`
1
+ import{j as s,aM as y,br as T,c as f,q as E,b_ as x,o as t,u as R,y as $,ag as N,F as I,h as u,K as P,hN as U,fJ as L,au as O,an as W,hO as q}from"./index-CU0svkHW.js";import{n as r,w as S}from"./vendor-Bs1fkIUX.js";const B=r(q)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,F=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{a9 as se,j as o,q as Ce,c as Pe,aa as we,hL as be,F as xe,aP as ke,cS as Ie,bF as Ae,o as i,aM as $e,ad as ve,aQ as je,br as Oe,dj as Ve,dk as oe,ag as Te,y as Q,am as Le,u as A}from"./index-BNH5gTAb.js";import{n as c,b as $}from"./vendor-Bs1fkIUX.js";import{D as Be}from"./HelpButton-CGAbbUiJ-cbkL6JAK.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-BHfmGlTd-Dwbz6PKr.js";import{f as Ee}from"./CustomerOnboardingDetailPageSkeleton-EE_kzrRA-Daf8h3OW.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-DeDqhOVG-BjtXMoON.js";import"./SetUpAccountSection-B_NrG7PF-BxGqKlcX.js";import"./SetUpDefaultSection-B4Tvbzll-DJkEvnId.js";import"./ChaseOverlay-D7OybUeO-CW-0fz6R.js";const J="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:j,googleAPIKey:O,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:w,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:E,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),D=se(),{analytics:h}=D,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:W,onAddressEditHandler:x}=_,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=_e,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(J);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx(Ae,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":$e("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(ve,{...r,children:o.jsx(Ge,{id:Fe(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:J,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(je,{formId:`${ie}`,leftSideComponent:o.jsx(Ne,{windowSize:u,children:o.jsx(Oe,{signedInUser:P,currentTenant:V,onLogOutClick:N})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:y,stripeKey:j,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:E,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
1
+ import{a9 as se,j as o,q as Ce,c as Pe,aa as we,hL as be,F as xe,aP as ke,cS as Ie,bF as Ae,o as i,aM as $e,ad as ve,aQ as je,br as Oe,dj as Ve,dk as oe,ag as Te,y as Q,am as Le,u as A}from"./index-CU0svkHW.js";import{n as c,b as $}from"./vendor-Bs1fkIUX.js";import{D as Be}from"./HelpButton-JzcF30dH-CB6SuxmB.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-BNP1S38J-BKexTB0-.js";import{f as Ee}from"./CustomerOnboardingDetailPageSkeleton-G6eM-LXh-C21__FUD.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-qui2SnEi-zaTm9eCM.js";import"./SetUpAccountSection-_zsQfBq1-0U-HhnaD.js";import"./SetUpDefaultSection-BHYOBJ7g-BuIYblZ8.js";import"./ChaseOverlay-DY7W-VhR-lpJ0bMnw.js";const J="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:j,googleAPIKey:O,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:w,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:E,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),D=se(),{analytics:h}=D,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:W,onAddressEditHandler:x}=_,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=_e,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(J);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx(Ae,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":$e("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(ve,{...r,children:o.jsx(Ge,{id:Fe(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:J,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(je,{formId:`${ie}`,leftSideComponent:o.jsx(Ne,{windowSize:u,children:o.jsx(Oe,{signedInUser:P,currentTenant:V,onLogOutClick:N})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:y,stripeKey:j,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:E,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as r,q as Ke,c as Zt,aa as en,cS as me,F as We,aP as Qe,B as mt,aC as He,l as M,bF as tn,o as re,ad as nn,u as K,aQ as an,hL as on,gl as sn,fV as ft,dj as xt,dk as yt,y as fe,go as ye,d3 as rn,am as cn,hM as gt,ae as ht,d1 as ln,gn as dn}from"./index-BNH5gTAb.js";import{b as p,n as P,k as It}from"./vendor-Bs1fkIUX.js";import{D as pn}from"./HelpButton-CGAbbUiJ-cbkL6JAK.js";import{s as St,o as un}from"./PaymentAccountSetupBillingAddressSection-BHfmGlTd-Dwbz6PKr.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-EE_kzrRA-Daf8h3OW.js";import{s as fn,b as yn}from"./CompanyOfficerDetailsSection-vBLAKoiC-Sb9wXnSm.js";import{t as gn}from"./QBOSetupSection-BLLT8kmS-Ce8ZT6-l.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-DeDqhOVG-BjtXMoON.js";import"./SetUpAccountSection-B_NrG7PF-BxGqKlcX.js";import"./SetUpDefaultSection-B4Tvbzll-DJkEvnId.js";import"./ChaseOverlay-D7OybUeO-CW-0fz6R.js";import"./LabeledAddressValueField-DQmJ358S-BojoQyFF.js";import"./LabeledCreatableSingleSelectField-BSRuZZ9w-CHzfbkda.js";import"./LabeledDocumentField-DEbnfj_g-BDQFjixV.js";import"./QBOConnectionDialog-BazrhjZb-d0xNxhEp.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Ke(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:F}=l,N=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:F,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:N,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
1
+ import{j as r,q as Ke,c as Zt,aa as en,cS as me,F as We,aP as Qe,B as mt,aC as He,l as M,bF as tn,o as re,ad as nn,u as K,aQ as an,hL as on,gl as sn,fV as ft,dj as xt,dk as yt,y as fe,go as ye,d3 as rn,am as cn,hM as gt,ae as ht,d1 as ln,gn as dn}from"./index-CU0svkHW.js";import{b as p,n as P,k as It}from"./vendor-Bs1fkIUX.js";import{D as pn}from"./HelpButton-JzcF30dH-CB6SuxmB.js";import{s as St,o as un}from"./PaymentAccountSetupBillingAddressSection-BNP1S38J-BKexTB0-.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-G6eM-LXh-C21__FUD.js";import{s as fn,b as yn}from"./CompanyOfficerDetailsSection-B5JwDvdV-22SX7YTN.js";import{t as gn}from"./QBOSetupSection-BMRMT06i-DJALpgeV.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-qui2SnEi-zaTm9eCM.js";import"./SetUpAccountSection-_zsQfBq1-0U-HhnaD.js";import"./SetUpDefaultSection-BHYOBJ7g-BuIYblZ8.js";import"./ChaseOverlay-DY7W-VhR-lpJ0bMnw.js";import"./LabeledAddressValueField-CvCb2aoN-BMraSweU.js";import"./LabeledCreatableSingleSelectField-VKo2nKGM-CJJoztRm.js";import"./LabeledDocumentField-COC_Ej58-XrCdeiIk.js";import"./QBOConnectionDialog-Sok8rRG4-Cjf0nLBD.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Ke(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:F}=l,N=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:F,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:N,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{q as M,a9 as U,ax as D,c as W,F as A,j as e,bF as H,o as t,aM as k,br as I,l as R,am as V,ag as _,h as l,C as y,aj as N,s as J,L as Z,ar as q,a$ as G}from"./index-BNH5gTAb.js";import{b as n,n as i}from"./vendor-Bs1fkIUX.js";import K from"./ConfettiBurst-BoAprBVC-X81eAzwq.js";import{D as Q}from"./HelpButton-CGAbbUiJ-cbkL6JAK.js";import{T as X}from"./ProductsCarousel-DctP1eXs-CCLKFTUp.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-DeDqhOVG-BjtXMoON.js";const Y=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),De=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=M(),x=U().analytics,f=D(),S=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,B=W(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},O=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,R.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(H,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:B.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(I,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(Q,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:b})]})},te=i.div`
1
+ import{q as M,a9 as U,ax as D,c as W,F as A,j as e,bF as H,o as t,aM as k,br as I,l as R,am as V,ag as _,h as l,C as y,aj as N,s as J,L as Z,ar as q,a$ as G}from"./index-CU0svkHW.js";import{b as n,n as i}from"./vendor-Bs1fkIUX.js";import K from"./ConfettiBurst-w-1sEoT7-DJmiMn2B.js";import{D as Q}from"./HelpButton-JzcF30dH-CB6SuxmB.js";import{T as X}from"./ProductsCarousel-98LvzRjI-B_uCpX-j.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-qui2SnEi-zaTm9eCM.js";const Y=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),De=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=M(),x=U().analytics,f=D(),S=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,B=W(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},O=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,R.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(H,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:B.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(I,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(Q,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:b})]})},te=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{ax as ge,l as MA,j as e,ay as Lt,az as Ft,aA as Jt,o as a,aB as Ut,B as bA,aC as Pt,aD as ne,aE as Ot,aF as Tt,aG as Ht,aH as Yt,aI as Kt,aJ as Nt,aK as U,F as I,q as V,aL as Y,aM as y,aN as H,aO as G,u as S,aa as zt,aP as Oe,A as Te,ad as Gt,aQ as Wt,y as X,aR as K,aS as Z,an as $,aT as He,aU as J,aV as P,aW as KA,h as x,ap as qt,c as oA,aX as Xt,aY as NA,aZ as Vt,a_ as Zt,a$ as $t,ai as F,b0 as SA,ar as zA,am as RA,b1 as Ye,b2 as Ke,b3 as Ne,b4 as GA,O as _t,H as Ar,b5 as er,b6 as ze,b7 as tr,b8 as rr,b9 as WA,ba as or,bb as ar,bc as ir,bd as gr,be as Cr,bf as nr,bg as sr,bh as Er,bi as dr,m as Ge,C as Br,bj as Qr,M as lr,bk as We,bl as qe,ao as Ir,bm as cr,aj as hr,au as Xe}from"./index-BNH5gTAb.js";import{b as t,n as g,w,u as pr,i as hA,k as R}from"./vendor-Bs1fkIUX.js";import{j as mr}from"./DashboardSidebarBackgroundAnimation-Dxf_aFtw-Bdf-Zc3i.js";import{L as ur,k as xr}from"./ArAgingChart-Do0NLLSa-CuAXJyfp.js";import{E as fr,I as Ce,z as Ve}from"./ReloadCard-TX3UFbxi-BFmg7q-B.js";import{L as wr,O as LA,c as BA}from"./TopExCard-9KbsTjCg-g0VU1BgP.js";import{H as kr,Y as Dr,P as yr,G as jr,N as vr}from"./RevenueChart-x2L7j2F6-BDDir_y7.js";import br from"./InsightsCardStack-B_kwkhFg-Bndoh0Lf.js";import{a as Mr}from"./AccountsPromoCardStack-BXmvXtxq-Dnk3fFTG.js";import{c as W}from"./SummaryCard-DB61FVhc-BpHOzuly.js";import{t as Sr,o as Rr}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{N as rA}from"./NavigationArrow-CNpW28GW-CZ-YuXV6.js";import{j as qA}from"./NavigationDots-DrEAFxpz-B6u6Mzuu.js";import Lr from"./CompanyPassportCard--ffusTh9-B6TMlRLr.js";import{C as Fr}from"./gift-box-Cmt9OgIZ-Bnh-gm_T.js";import Jr from"./InformationCardStack-CISjCFub-DA8QUjsX.js";import{p as Ze}from"./chartTypes-CcLTCCG0-DFZZ9PgG.js";import{h as Ur}from"./toCOABalancesWithID-sfFXqnrY-BCiFjR_2.js";import{V as Pr}from"./toChartData-DHQAPqS1-kdPHvyQH.js";import{r as Or,i as Tr}from"./graphic-no-data-net-burn-l-CzmycA0m-W-GGrHSF.js";import{N as Hr,J as Yr}from"./PromoBaseCards-DnMnpK-a-CsVLXV-m.js";import{r as Kr}from"./mui-Ty75qFQF.js";import{K as Nr,I as zr}from"./VideoPlayer-Csx55A4e-C_ak7IJP.js";import{l as Gr}from"./treasuryColorHelper-BqprOh-j-C3JCOz-p.js";import Wr from"./ConfettiBurst-BoAprBVC-X81eAzwq.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const qr=g(Z)`
1
+ import{ax as ge,l as MA,j as e,ay as Lt,az as Ft,aA as Jt,o as a,aB as Ut,B as bA,aC as Pt,aD as ne,aE as Ot,aF as Tt,aG as Ht,aH as Yt,aI as Kt,aJ as Nt,aK as U,F as I,q as V,aL as Y,aM as y,aN as H,aO as G,u as S,aa as zt,aP as Oe,A as Te,ad as Gt,aQ as Wt,y as X,aR as K,aS as Z,an as $,aT as He,aU as J,aV as P,aW as KA,h as x,ap as qt,c as oA,aX as Xt,aY as NA,aZ as Vt,a_ as Zt,a$ as $t,ai as F,b0 as SA,ar as zA,am as RA,b1 as Ye,b2 as Ke,b3 as Ne,b4 as GA,O as _t,H as Ar,b5 as er,b6 as ze,b7 as tr,b8 as rr,b9 as WA,ba as or,bb as ar,bc as ir,bd as gr,be as Cr,bf as nr,bg as sr,bh as Er,bi as dr,m as Ge,C as Br,bj as Qr,M as lr,bk as We,bl as qe,ao as Ir,bm as cr,aj as hr,au as Xe}from"./index-CU0svkHW.js";import{b as t,n as g,w,u as pr,i as hA,k as R}from"./vendor-Bs1fkIUX.js";import{j as mr}from"./DashboardSidebarBackgroundAnimation-G2W4zpsl-CwjTTMim.js";import{L as ur,k as xr}from"./ArAgingChart-Derurnjv-5DUciMgH.js";import{E as fr,I as Ce,z as Ve}from"./ReloadCard-B0LL0bsO-BrdpqtUX.js";import{L as wr,O as LA,c as BA}from"./TopExCard-DlOpHPBt-t5AMNx03.js";import{H as kr,Y as Dr,P as yr,G as jr,N as vr}from"./RevenueChart-CXxEH9pM-VtijpZqR.js";import br from"./InsightsCardStack-CPmZ9Zr6-tnBQERvR.js";import{a as Mr}from"./AccountsPromoCardStack-CebFf63k-Dtc8wKba.js";import{c as W}from"./SummaryCard-ChBY9-wb-Bw7p-RjC.js";import{t as Sr,o as Rr}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{N as rA}from"./NavigationArrow-Ci8e8S3O-B8ujCRoJ.js";import{j as qA}from"./NavigationDots-CT4KVH38-BGK5cPzx.js";import Lr from"./CompanyPassportCard-BcnnhR8L-CKzgL5RH.js";import{C as Fr}from"./gift-box-Cmt9OgIZ-Bnh-gm_T.js";import Jr from"./InformationCardStack-DE_mlx0b-C88FUke7.js";import{p as Ze}from"./chartTypes-C55wRbZm-DhTW0crF.js";import{h as Ur}from"./toCOABalancesWithID-CHP1NmFV-B53Lqnlb.js";import{V as Pr}from"./toChartData-CV-IsjGn-DrX1S8Xg.js";import{r as Or,i as Tr}from"./graphic-no-data-net-burn-l-CzmycA0m-W-GGrHSF.js";import{N as Hr,J as Yr}from"./PromoBaseCards-8w-GQx13-DTQa74HO.js";import{r as Kr}from"./mui-Ty75qFQF.js";import{K as Nr,I as zr}from"./VideoPlayer-Bh9pi5bb-BqO_YZ12.js";import{l as Gr}from"./treasuryColorHelper-73WJKkar-B6B4qh8C.js";import Wr from"./ConfettiBurst-w-1sEoT7-DJmiMn2B.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const qr=g(Z)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,se=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{q as B,c as q,F as _,ax as Oe,l as D,j as s,bF as Je,m as Ke,B as Xe,bH as Qe,o as d,y as L,aC as Q,bI as et,bJ as tt,ai as ae,u as C,b3 as st,aU as ot,bK as at,A as Be,a as Pe,h as T,ar as Ne,aT as nt,b9 as it,ao as rt,bL as ct,av as lt,bM as dt,bN as ie,bO as pt,au as ut,an as gt,bP as ht}from"./index-BNH5gTAb.js";import{b as y,w as ee,n as u,k as Le}from"./vendor-Bs1fkIUX.js";import{m as G,l as oe}from"./analyticsHelper-CUE9UAMD-DEHXudbZ.js";import{h as mt,u as ft}from"./ReportTableViewSelector-BxGg49JV-CV8VvQVh.js";import{q as bt}from"./InsightsSection-9aVhHxu0-3ZWqqEXv.js";import{N as _e,U as xt,k as _t,H as te,K as ue}from"./detailCommon--EhC1iKt-CGlpcdoJ.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-x2L7j2F6-BDDir_y7.js";import{C as yt}from"./NoDataChart-CPJXwyWa-C0S5qVwv.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-C8w8Bh_E-B6ri8OeP.js";import{b as Ie}from"./TimeframeSwitcher-DYaFRiai-Bfm-SyYg.js";import{I as $t,R as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-BLws2OAO-D5RHypCj.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-BnxbUJPe-DzeOkIlR.js";import{d as Pt}from"./NoDataTable-zqmAdMpH-CL-p50k_.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-gAxSLe4t-2IR_serz.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-vinEf3O0-MAPFGY7s.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./NavigationDots-DrEAFxpz-B6u6Mzuu.js";import"./chartTypes-CcLTCCG0-DFZZ9PgG.js";import"./toCOABalancesWithID-sfFXqnrY-BCiFjR_2.js";import"./toChartData-DHQAPqS1-kdPHvyQH.js";import"./AccountRow-O8arJC4_-BGHNiuQf.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
1
+ import{q as B,c as q,F as _,ax as Oe,l as D,j as s,bF as Je,m as Ke,B as Xe,bH as Qe,o as d,y as L,aC as Q,bI as et,bJ as tt,ai as ae,u as C,b3 as st,aU as ot,bK as at,A as Be,a as Pe,h as T,ar as Ne,aT as nt,b9 as it,ao as rt,bL as ct,av as lt,bM as dt,bN as ie,bO as pt,au as ut,an as gt,bP as ht}from"./index-CU0svkHW.js";import{b as y,w as ee,n as u,k as Le}from"./vendor-Bs1fkIUX.js";import{m as G,l as oe}from"./analyticsHelper-BjdxHYNU-ylGVD7-2.js";import{h as mt,u as ft}from"./ReportTableViewSelector-CwM38MkL-Clt78PC5.js";import{q as bt}from"./InsightsSection-mpQV3wZ8-4CdAfd3B.js";import{N as _e,U as xt,k as _t,H as te,K as ue}from"./detailCommon-flEwHQWE-CMzUPdgC.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-CXxEH9pM-VtijpZqR.js";import{C as yt}from"./NoDataChart-Bb4iomO0-P7hz2s_V.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-BKBRRSFm-SlEGCNlP.js";import{b as Ie}from"./TimeframeSwitcher-BYbWJkqV-Sx7SebtL.js";import{I as $t,R as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-BEIzIiuS-Cae50Vwc.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-D8mXp6cH-QaunmZY4.js";import{d as Pt}from"./NoDataTable-CGhIXUQS-CDx2kork.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-ByVkwcZX-B0WkGWvQ.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-D2-Xk-a2-Byms7b6e.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./NavigationDots-CT4KVH38-BGK5cPzx.js";import"./chartTypes-C55wRbZm-DhTW0crF.js";import"./toCOABalancesWithID-CHP1NmFV-B53Lqnlb.js";import"./toChartData-CV-IsjGn-DrX1S8Xg.js";import"./AccountRow-3d9RsrK--DaKRBKsx.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{aY as c,j as a,b4 as h,o as m}from"./index-BNH5gTAb.js";import{b as o,u,n as x}from"./vendor-Bs1fkIUX.js";const y=o.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:t=!1}){const s=u(),l=t?"DashboardNewYearShow":"DashboardChristmasSnow",[i,r]=c(l),[n,d]=o.useState(null);i!=null&&n==null&&!r&&d(i);const p=e&&s.mode==="light"?.7:.2;return(e||t)&&n!=null?a.jsx(b,{contextWiseOpacity:p,newYearAnimationEnabled:t,children:a.jsx(h,{style:{width:"inherit",height:"inherit",display:"block"},animationData:n,play:!0,loop:t?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),b=x.div`
1
+ import{aY as c,j as a,b4 as h,o as m}from"./index-CU0svkHW.js";import{b as o,u,n as x}from"./vendor-Bs1fkIUX.js";const y=o.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:t=!1}){const s=u(),l=t?"DashboardNewYearShow":"DashboardChristmasSnow",[i,r]=c(l),[n,d]=o.useState(null);i!=null&&n==null&&!r&&d(i);const p=e&&s.mode==="light"?.7:.2;return(e||t)&&n!=null?a.jsx(b,{contextWiseOpacity:p,newYearAnimationEnabled:t,children:a.jsx(h,{style:{width:"inherit",height:"inherit",display:"block"},animationData:n,play:!0,loop:t?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),b=x.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aN as $,hD as u,q as y,j as l,o as i,am as d,an as c}from"./index-BNH5gTAb.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{g as k}from"./BoxItem-DNKrNJdW-QP_Xyjqf.js";import{o as v}from"./commonDimensions-CTsqA6um-BTABgGy8.js";function O({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(D,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(C,{children:g}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(q,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(A,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aN as $,hD as u,q as y,j as l,o as i,am as d,an as c}from"./index-CU0svkHW.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{g as k}from"./BoxItem-DR7ZjTUs-C1VV8CvK.js";import{o as v}from"./commonDimensions-kvPZ9uhR-DQbxhhwD.js";function O({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(D,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(C,{children:g}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(q,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(A,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{c as S,q as z,hJ as D,j as e,bF as F,F as Y,b3 as B,o as r,h as b,cH as C,l as L,y as A,ai as R,am as I,u as g,dz as T,dA as q,dt as E,dB as H}from"./index-BNH5gTAb.js";import{b as f,n as a}from"./vendor-Bs1fkIUX.js";import{$ as N}from"./BoxItem-DNKrNJdW-QP_Xyjqf.js";import{o as P}from"./commonDimensions-CTsqA6um-BTABgGy8.js";import{H as V}from"./DepositAccTransactionItem-CYTxgJyj-bOJQ8Ukv.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const n=Y.getLocalizedStrings(),J={listItemMargin:new A(g[3],g[8])};function K(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=q(d,o=>o.length>0);return E(m,o=>({date:o[0].transactionDate,transactions:H(o,h=>h.transactionDate,"desc")}))}const O=D(K),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=O(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*P.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(Z,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(_,{children:s.transactions.map((M,u)=>e.jsx(V,{data:M,boxType:N(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(Q,{children:e.jsx($,{windowSize:o,children:e.jsx(X,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(U,{children:[e.jsx(F,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(G,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
1
+ import{c as S,q as z,hJ as D,j as e,bF as F,F as Y,b3 as B,o as r,h as b,cH as C,l as L,y as A,ai as R,am as I,u as g,dz as T,dA as q,dt as E,dB as H}from"./index-CU0svkHW.js";import{b as f,n as a}from"./vendor-Bs1fkIUX.js";import{$ as N}from"./BoxItem-DR7ZjTUs-C1VV8CvK.js";import{o as P}from"./commonDimensions-kvPZ9uhR-DQbxhhwD.js";import{H as V}from"./DepositAccTransactionItem-DMKKoFPE-EaHMiJO6.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const n=Y.getLocalizedStrings(),J={listItemMargin:new A(g[3],g[8])};function K(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=q(d,o=>o.length>0);return E(m,o=>({date:o[0].transactionDate,transactions:H(o,h=>h.transactionDate,"desc")}))}const O=D(K),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=O(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*P.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(Z,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(_,{children:s.transactions.map((M,u)=>e.jsx(V,{data:M,boxType:N(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(Q,{children:e.jsx($,{windowSize:o,children:e.jsx(X,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(U,{children:[e.jsx(F,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(G,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
2
2
  margin: ${t=>`${r.sp0} ${J.listItemMargin.valuePx(t.windowSize)}`};
3
3
  `,Q=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{q as U,aa as V,F as j,cS as H,aC as K,l as w,j as n,cD as Q,cE as _,cF as G,ad as J,aQ as X,y as u,fa as Y,o as Z,b8 as ee,u as a}from"./index-BNH5gTAb.js";import{b as S,n as h}from"./vendor-Bs1fkIUX.js";import{e as ne}from"./BankAccountSection-OBSfguxr-Cdnw3tK9.js";import{M as te}from"./MagicLinkTitleSection-tsi574d5-CdRM3Wt3.js";import{W as ae,F as oe}from"./BankAccountWarningSection-Ckzs3GdZ-DJXWL2iQ.js";import{T as ie}from"./MailingDetailsSection-De2NGkdU-BRMYFvYK.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},B="domesticWireDetailsPage",f="bankAccountSection",$="mailingAddressSection",T=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:D,isMagicLink:g,currencySymbol:v,amount:F,onSaveHandler:P,onWireDetailsUpdated:R,onFetchBankName:z,onAddressClick:E,onBackClick:C}=e,l=U(),c=V({mode:"onBlur",reValidateMode:"onChange",defaultValues:S.useMemo(()=>se(s,r),[s,r])}),[L,p]=S.useState(!1),t=j.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=j.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},q=async(k,m)=>{const d=m[f].bankRoutingNumber;R(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&z?.(d)};S.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&H(()=>q(d,m))});return()=>{k.unsubscribe()}});const O=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&P("wire")}),N=!K(y!=null?w.getFormattedAddress(y):y,r!=null?w.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[L===!0?n.jsx(Q,{titleComponent:n.jsx(G,{children:t.discardTitle}),descriptionComponent:n.jsx(_,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:D??"",currencySymbol:v??"",amount:F??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(J,{...c,children:n.jsxs("form",{id:T(B),onSubmit:O,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:E})]})})]}),n.jsx(X,{formId:T(B),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{N?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
1
+ import{q as U,aa as V,F as j,cS as H,aC as K,l as w,j as n,cD as Q,cE as _,cF as G,ad as J,aQ as X,y as u,fa as Y,o as Z,b8 as ee,u as a}from"./index-CU0svkHW.js";import{b as S,n as h}from"./vendor-Bs1fkIUX.js";import{e as ne}from"./BankAccountSection-Cw7uDvEJ-Bd6yTqI1.js";import{M as te}from"./MagicLinkTitleSection-CHy41StU-iaC_IZyx.js";import{W as ae,F as oe}from"./BankAccountWarningSection-ClNYTjN_-BQ9-dTwM.js";import{T as ie}from"./MailingDetailsSection-Djpl2M02-DRUGr-cD.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},B="domesticWireDetailsPage",f="bankAccountSection",$="mailingAddressSection",T=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:D,isMagicLink:g,currencySymbol:v,amount:F,onSaveHandler:P,onWireDetailsUpdated:R,onFetchBankName:z,onAddressClick:E,onBackClick:C}=e,l=U(),c=V({mode:"onBlur",reValidateMode:"onChange",defaultValues:S.useMemo(()=>se(s,r),[s,r])}),[L,p]=S.useState(!1),t=j.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=j.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},q=async(k,m)=>{const d=m[f].bankRoutingNumber;R(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&z?.(d)};S.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&H(()=>q(d,m))});return()=>{k.unsubscribe()}});const O=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&P("wire")}),N=!K(y!=null?w.getFormattedAddress(y):y,r!=null?w.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[L===!0?n.jsx(Q,{titleComponent:n.jsx(G,{children:t.discardTitle}),descriptionComponent:n.jsx(_,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:D??"",currencySymbol:v??"",amount:F??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(J,{...c,children:n.jsxs("form",{id:T(B),onSubmit:O,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:E})]})})]}),n.jsx(X,{formId:T(B),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{N?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A as tt,F as Y,cj as rt,bZ as ze,u as z,b8 as Ne,am as T,c3 as we,C as G,an as ce,a as ee,c as Be,c5 as at,ck as me,cl as pe,m as Ee,cm as Qe,ap as fe,cn as q,bX as ot,b9 as st,co as it,cp as nt,bP as lt,c4 as dt,ar as ct,cq as mt,cd as pt,av as ft}from"./index-BNH5gTAb.js";import{b as u,n,k as Ve,w as he}from"./vendor-Bs1fkIUX.js";import{m as ht}from"./analyticsHelper-CUE9UAMD-DEHXudbZ.js";import{h as ut,u as gt}from"./ReportTableViewSelector-BxGg49JV-CV8VvQVh.js";import{t as bt}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./CollapsableReportTable-BLws2OAO-D5RHypCj.js";import"./AccountRow-O8arJC4_-BGHNiuQf.js";const xt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function te(e,o,r,s){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return s!=null?Math.min(i,s):i}function J(e,o,r,s=1){if(s>1){const i=d.subtractPeriod(r,e,s-1,o),{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ye{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,s,i,l,p=s.endDate){if(s.endDate.isBefore(s.startDate))throw Error(`Invalid data available period ${JSON.stringify(s)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=s,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return J(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=d.addPeriod(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(s,i,null,"[]")&&r.isBetween(s,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let s=te(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(s>this.maxNumberOfPeriods){s=this._numberOfPeriods;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(d.addPeriod(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){s=1;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=s,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ae=["1","2","3","4"],oe=d.dateNow().localeData().monthsShort(),S={pdf:12,excel:100,csv:100},B=(e,o,r)=>{const s=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let f=l;for(;f.isSameOrBefore(p,"year");)i.push(f.format(s)),f=d.addPeriod(f,e,1,"year")}else{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");let{fyYear:f}=d.getFYQuarterAndYear(l,e);const{fyYear:g}=d.getFYQuarterAndYear(p,e);for(;f<=g;)i.push(`${f}`),f++}return i},yt=n.div`
1
+ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A as tt,F as Y,cj as rt,bZ as ze,u as z,b8 as Ne,am as T,c3 as we,C as G,an as ce,a as ee,c as Be,c5 as at,ck as me,cl as pe,m as Ee,cm as Qe,ap as fe,cn as q,bX as ot,b9 as st,co as it,cp as nt,bP as lt,c4 as dt,ar as ct,cq as mt,cd as pt,av as ft}from"./index-CU0svkHW.js";import{b as u,n,k as Ve,w as he}from"./vendor-Bs1fkIUX.js";import{m as ht}from"./analyticsHelper-BjdxHYNU-ylGVD7-2.js";import{h as ut,u as gt}from"./ReportTableViewSelector-CwM38MkL-Clt78PC5.js";import{t as bt}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./CollapsableReportTable-BEIzIiuS-Cae50Vwc.js";import"./AccountRow-3d9RsrK--DaKRBKsx.js";const xt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function te(e,o,r,s){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return s!=null?Math.min(i,s):i}function J(e,o,r,s=1){if(s>1){const i=d.subtractPeriod(r,e,s-1,o),{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ye{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,s,i,l,p=s.endDate){if(s.endDate.isBefore(s.startDate))throw Error(`Invalid data available period ${JSON.stringify(s)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=s,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return J(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=d.addPeriod(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(s,i,null,"[]")&&r.isBetween(s,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let s=te(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(s>this.maxNumberOfPeriods){s=this._numberOfPeriods;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(d.addPeriod(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){s=1;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=s,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ae=["1","2","3","4"],oe=d.dateNow().localeData().monthsShort(),S={pdf:12,excel:100,csv:100},B=(e,o,r)=>{const s=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let f=l;for(;f.isSameOrBefore(p,"year");)i.push(f.format(s)),f=d.addPeriod(f,e,1,"year")}else{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");let{fyYear:f}=d.getFYQuarterAndYear(l,e);const{fyYear:g}=d.getFYQuarterAndYear(p,e);for(;f<=g;)i.push(`${f}`),f++}return i},yt=n.div`
2
2
  padding: ${a.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${a.sp1};
@@ -17,9 +17,9 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
17
17
  }
18
18
  `,Oe=n.div`
19
19
  display: flex;
20
- `,Ft=n(T)`
20
+ `,$t=n(T)`
21
21
  margin-left: ${a.sp3};
22
- `,$t=n(lt)`
22
+ `,Ft=n(lt)`
23
23
  color: ${e=>e.theme.colors.hero};
24
24
  &:hover {
25
25
  color: ${e=>e.theme.colors.primary};
@@ -30,11 +30,11 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
30
30
  `,ve=n(nt)`
31
31
  width: ${a.sp4};
32
32
  height: ${a.sp4};
33
- `,wt=e=>{const{id:o,disabled:r=!1,checked:s=!1,label:i,showInfoIcon:l,tooltipText:p,style:f={},onClick:g}=e,m=Be();let F=s?je:ve;m.mode==="dark"&&(F=s?je:ve);let $=s?m.colors.primary:m.colors.hero;r&&($=m.colors.grey2);const O=()=>{r||g(o,s)};let w={default:m.colors.background,hover:m.colors.background},h={default:m.colors.hero,hover:m.colors.primary},_={default:m.colors.grey2,hover:m.colors.primary};return s?(w={default:m.colors.grey5,hover:m.colors.grey5},h={default:m.colors.primary,hover:m.colors.primary},_={default:m.colors.primary,hover:m.colors.primary}):r&&(w={default:m.colors.grey4,hover:m.colors.grey4},h={default:m.colors.grey2,hover:m.colors.grey2},_={default:m.colors.grey3,hover:m.colors.grey3}),t.jsxs(yt,{backgroundColor:w,textColor:h,borderColor:_,onClick:O,disabled:r,checked:s,style:{...f},children:[t.jsxs(Oe,{children:[t.jsx(F,{color:s?$:"none"}),i!=null?t.jsx(Ft,{children:i}):null]}),l===!0?t.jsx(Oe,{style:{marginLeft:a.sp3},children:t.jsx(at,{enterDelay:600,title:p,children:t.jsx($t,{width:a.sp3,height:a.sp3})})}):""]})},Yt=he.memo(wt),ue=["year_to_date_total","free_range_total","year_to_date_last_year_total","rolling_12_months","rolling_12_months_average"],Ot=["this_period_vs_last_period","this_period_vs_last_period_percent",...ue,"this_period_vs_same_period_last_year","this_period_vs_same_period_last_year_percent","same_period_last_year"],jt=["this_period_vs_last_period","this_period_vs_last_period_percent",...ue,"this_period_vs_same_period_last_year","this_period_vs_same_period_last_year_percent","same_period_last_year"],vt=["this_period_vs_last_period","this_period_vs_last_period_percent",...ue],He={month:Ot,quarter:jt,year:vt},De=n.div`
33
+ `,wt=e=>{const{id:o,disabled:r=!1,checked:s=!1,label:i,showInfoIcon:l,tooltipText:p,style:f={},onClick:g}=e,m=Be();let $=s?je:ve;m.mode==="dark"&&($=s?je:ve);let F=s?m.colors.primary:m.colors.hero;r&&(F=m.colors.grey2);const O=()=>{r||g(o,s)};let w={default:m.colors.background,hover:m.colors.background},h={default:m.colors.hero,hover:m.colors.primary},_={default:m.colors.grey2,hover:m.colors.primary};return s?(w={default:m.colors.grey5,hover:m.colors.grey5},h={default:m.colors.primary,hover:m.colors.primary},_={default:m.colors.primary,hover:m.colors.primary}):r&&(w={default:m.colors.grey4,hover:m.colors.grey4},h={default:m.colors.grey2,hover:m.colors.grey2},_={default:m.colors.grey3,hover:m.colors.grey3}),t.jsxs(yt,{backgroundColor:w,textColor:h,borderColor:_,onClick:O,disabled:r,checked:s,style:{...f},children:[t.jsxs(Oe,{children:[t.jsx($,{color:s?F:"none"}),i!=null?t.jsx($t,{children:i}):null]}),l===!0?t.jsx(Oe,{style:{marginLeft:a.sp3},children:t.jsx(at,{enterDelay:600,title:p,children:t.jsx(Ft,{width:a.sp3,height:a.sp3})})}):""]})},Yt=he.memo(wt),ue=["year_to_date_total","free_range_total","year_to_date_last_year_total","rolling_12_months","rolling_12_months_average"],Ot=["this_period_vs_last_period","this_period_vs_last_period_percent",...ue,"this_period_vs_same_period_last_year","this_period_vs_same_period_last_year_percent","same_period_last_year"],jt=["this_period_vs_last_period","this_period_vs_last_period_percent",...ue,"this_period_vs_same_period_last_year","this_period_vs_same_period_last_year_percent","same_period_last_year"],vt=["this_period_vs_last_period","this_period_vs_last_period_percent",...ue],He={month:Ot,quarter:jt,year:vt},De=n.div`
34
34
  padding-top: ${e=>e.space};
35
35
  `,Dt=n(T)`
36
36
  color: ${e=>e.theme.colors.primary};
37
- `,kt=(e,o,r)=>{const s=[],i=r.startDate;return d.subtractPeriod(o,e,1,"year").isBefore(i)&&s.push("same_period_last_year","this_period_vs_same_period_last_year","this_period_vs_same_period_last_year_percent","year_to_date_last_year_total"),s},_t=e=>{const{firstMonthOfFY:o,selectedTimeframe:r,disabledAdditionalColumns:s,selectedAdditionalColumns:i,dateRange:l,calendarPeriod:p,dataAvailable:f,selectedFileType:g,onAdditionalColumnsSelectionChanged:m}=e,F=kt(o,l.endDate,f);u.useEffect(()=>{const c=i.filter(y=>!F.includes(y));i.length!==c.length&&m(c)},[F,i,m]);const $=p.numberOfPeriods+i.length<S[g],O=Y.getLocalizedStrings().downloadReport.additionalColumns[r],w=He[r],h=(c,y)=>{if(y){const v=i.indexOf(c),x=[...i];x.splice(v,1),p.maxNumberOfPeriods=S[g]-x.length,m(x)}else p.maxNumberOfPeriods=S[g]-(i.length+1),m([...i,c])},_=(c,y)=>{const{dateFormat:{visual:v}}=Y.getLocalizedStrings();let x=d.formatZeniDate(d.subtractPeriod(l.endDate,y,1,"year"),v.MMMYYFormat,y);return r==="quarter"&&(x=`Q${d.formatZeniDate(d.subtractPeriod(l.endDate,y,1,"year"),v.QYYformat,y)}`),O[c].replace("-same_period_last_year-",x)};return t.jsxs(u.Fragment,{children:[t.jsx(Dt,{children:Y.getLocalizedStrings().downloadReport.addColumns}),t.jsx(De,{space:a.sp3}),w.map(c=>t.jsxs(u.Fragment,{children:[t.jsx(Yt,{checked:i.includes(c),label:_(c,o),disabled:s?.includes(c)===!0||F.includes(c)||!$&&!i.includes(c),id:c,onClick:(y,v)=>h(y,v),showInfoIcon:F.includes(c)&&$,tooltipText:Y.getLocalizedStrings().downloadReport.dataNotAvailable}),t.jsx(De,{space:a.sp3})]},c))]})},Ct=u.memo(_t),ke=n.div``,Pt=n.div`
37
+ `,kt=(e,o,r)=>{const s=[],i=r.startDate;return d.subtractPeriod(o,e,1,"year").isBefore(i)&&s.push("same_period_last_year","this_period_vs_same_period_last_year","this_period_vs_same_period_last_year_percent","year_to_date_last_year_total"),s},_t=e=>{const{firstMonthOfFY:o,selectedTimeframe:r,disabledAdditionalColumns:s,selectedAdditionalColumns:i,dateRange:l,calendarPeriod:p,dataAvailable:f,selectedFileType:g,onAdditionalColumnsSelectionChanged:m}=e,$=kt(o,l.endDate,f);u.useEffect(()=>{const c=i.filter(y=>!$.includes(y));i.length!==c.length&&m(c)},[$,i,m]);const F=p.numberOfPeriods+i.length<S[g],O=Y.getLocalizedStrings().downloadReport.additionalColumns[r],w=He[r],h=(c,y)=>{if(y){const v=i.indexOf(c),x=[...i];x.splice(v,1),p.maxNumberOfPeriods=S[g]-x.length,m(x)}else p.maxNumberOfPeriods=S[g]-(i.length+1),m([...i,c])},_=(c,y)=>{const{dateFormat:{visual:v}}=Y.getLocalizedStrings();let x=d.formatZeniDate(d.subtractPeriod(l.endDate,y,1,"year"),v.MMMYYFormat,y);return r==="quarter"&&(x=`Q${d.formatZeniDate(d.subtractPeriod(l.endDate,y,1,"year"),v.QYYformat,y)}`),O[c].replace("-same_period_last_year-",x)};return t.jsxs(u.Fragment,{children:[t.jsx(Dt,{children:Y.getLocalizedStrings().downloadReport.addColumns}),t.jsx(De,{space:a.sp3}),w.map(c=>t.jsxs(u.Fragment,{children:[t.jsx(Yt,{checked:i.includes(c),label:_(c,o),disabled:s?.includes(c)===!0||$.includes(c)||!F&&!i.includes(c),id:c,onClick:(y,v)=>h(y,v),showInfoIcon:$.includes(c)&&F,tooltipText:Y.getLocalizedStrings().downloadReport.dataNotAvailable}),t.jsx(De,{space:a.sp3})]},c))]})},Ct=u.memo(_t),ke=n.div``,Pt=n.div`
38
38
  padding: ${a.sp2} ${a.sp3};
39
39
  border: 1px solid ${e=>e.theme.colors.primary};
40
40
  background: ${e=>e.theme.colors.grey5};
@@ -91,7 +91,7 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
91
91
  `,zt=n.div`
92
92
  border-top: 1px solid ${e=>e.theme.colors.grey3};
93
93
  width: 100%;
94
- `,Nt=(e,o,r,s)=>{const i=B(e,"month",o).filter(l=>!d.zeniDate(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]"));return{disabledMonths:oe.filter(l=>{const p=s.startDate.format(P.YYYYformat);return!d.zeniDate(`${l} ${p}`,P.MMMYYYYFormat).isBetween(r.startDate.startOf("month"),r.endDate.endOf("month"),null,"[]")}),disabledYears:i}},Bt=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);return s!=null?oe.filter(l=>o.includes(l)===!1&&d.zeniDate(`${l} ${e}`,P.MMMYYYYFormat).isAfter(s)&&(i===!0?d.zeniDate(r.endDate.format(P.MMMYYYYFormat)).isSame(d.zeniDate(`${l} ${e}`,P.MMMYYYYFormat))===!1:!0)):[]},Et=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(e);return s!=null?oe.filter(l=>r.includes(l)===!1&&d.zeniDate(`${l} ${o}`,P.MMMYYYYFormat).isAfter(s)&&(i===!0?d.zeniDate(e.endDate.format(P.MMMYYYYFormat)).isSame(d.zeniDate(`${l} ${o}`,P.MMMYYYYFormat))===!0:!1)):[]},{reports:Ae,dateFormat:{analytics:X,visual:P}}=Y.getLocalizedStrings(),Qt=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,[l,p]=u.useState(!1),[f,g]=u.useState(o.startDate.format(X.MMMFormat)),[m,F]=u.useState(o.startDate.format(X.YYYYFormat)),$=x=>{g(x),i("month",{startDate:d.zeniDate(`${x} ${m}`,X.MMMYYYYFormat).startOf("month"),endDate:d.zeniDate(`${x} ${m}`,X.MMMYYYYFormat).endOf("month")}),p(!1)},O=x=>{p(x),g(o.startDate.format(P.MMMformat)),F(o.startDate.format(P.YYYYformat))},{disabledMonths:w,disabledYears:h}=Nt(e.firstMonthOfFY,e.dataAvailable,s,{startDate:d.zeniDate(m,P.YYYYformat),endDate:d.zeniDate(m,P.YYYYformat)}),_=B(e.firstMonthOfFY,"month",e.dataAvailable),c=Bt(m,w,s,e.bookCloseDate),y=Et(s,m,w,e.bookCloseDate),v=e.bookCloseDate!=null?d.getTimeframeTickTag("month",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(fe,{onClickAway:()=>O(!1),children:t.jsxs(It,{children:[t.jsx(ge,{value:d.formatZeniDate(o.startDate,P.MMMYYFormat,e.firstMonthOfFY),onClick:()=>O(!l),label:r,timeframeTickTag:v}),l?t.jsx(u.Fragment,{children:t.jsxs(Lt,{children:[t.jsxs(Rt,{children:[_.map(x=>t.jsx(q,{id:x,text:x,disabled:h.includes(x),onClick:j=>{F(j),g("")},checked:x===m},x)),t.jsx(Me,{space:a.sp3}),t.jsx(zt,{}),t.jsx(Me,{space:a.sp3}),oe.map(x=>t.jsx(q,{id:x,text:x,disabled:w.includes(x),onClick:j=>$(j),checked:x===f,starred:c.includes(x)&&!w.includes(x),doubleStarred:y.includes(x)&&!w.includes(x)},x))]}),t.jsx(be,{starredPeriod:c,doubleStarredPeriod:y,bookCloseIncompleteInfo:Ae.bookCloseIncompleteInfoMonth,bookCloseUnderReviewInfo:Ae.bookCloseUnderReviewInfoMonth})]})}):""]})})},Vt=u.memo(Qt),Ht=n.div`
94
+ `,Nt=(e,o,r,s)=>{const i=B(e,"month",o).filter(l=>!d.zeniDate(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]"));return{disabledMonths:oe.filter(l=>{const p=s.startDate.format(P.YYYYformat);return!d.zeniDate(`${l} ${p}`,P.MMMYYYYFormat).isBetween(r.startDate.startOf("month"),r.endDate.endOf("month"),null,"[]")}),disabledYears:i}},Bt=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);return s!=null?oe.filter(l=>o.includes(l)===!1&&d.zeniDate(`${l} ${e}`,P.MMMYYYYFormat).isAfter(s)&&(i===!0?d.zeniDate(r.endDate.format(P.MMMYYYYFormat)).isSame(d.zeniDate(`${l} ${e}`,P.MMMYYYYFormat))===!1:!0)):[]},Et=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(e);return s!=null?oe.filter(l=>r.includes(l)===!1&&d.zeniDate(`${l} ${o}`,P.MMMYYYYFormat).isAfter(s)&&(i===!0?d.zeniDate(e.endDate.format(P.MMMYYYYFormat)).isSame(d.zeniDate(`${l} ${o}`,P.MMMYYYYFormat))===!0:!1)):[]},{reports:Ae,dateFormat:{analytics:X,visual:P}}=Y.getLocalizedStrings(),Qt=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,[l,p]=u.useState(!1),[f,g]=u.useState(o.startDate.format(X.MMMFormat)),[m,$]=u.useState(o.startDate.format(X.YYYYFormat)),F=x=>{g(x),i("month",{startDate:d.zeniDate(`${x} ${m}`,X.MMMYYYYFormat).startOf("month"),endDate:d.zeniDate(`${x} ${m}`,X.MMMYYYYFormat).endOf("month")}),p(!1)},O=x=>{p(x),g(o.startDate.format(P.MMMformat)),$(o.startDate.format(P.YYYYformat))},{disabledMonths:w,disabledYears:h}=Nt(e.firstMonthOfFY,e.dataAvailable,s,{startDate:d.zeniDate(m,P.YYYYformat),endDate:d.zeniDate(m,P.YYYYformat)}),_=B(e.firstMonthOfFY,"month",e.dataAvailable),c=Bt(m,w,s,e.bookCloseDate),y=Et(s,m,w,e.bookCloseDate),v=e.bookCloseDate!=null?d.getTimeframeTickTag("month",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(fe,{onClickAway:()=>O(!1),children:t.jsxs(It,{children:[t.jsx(ge,{value:d.formatZeniDate(o.startDate,P.MMMYYFormat,e.firstMonthOfFY),onClick:()=>O(!l),label:r,timeframeTickTag:v}),l?t.jsx(u.Fragment,{children:t.jsxs(Lt,{children:[t.jsxs(Rt,{children:[_.map(x=>t.jsx(q,{id:x,text:x,disabled:h.includes(x),onClick:j=>{$(j),g("")},checked:x===m},x)),t.jsx(Me,{space:a.sp3}),t.jsx(zt,{}),t.jsx(Me,{space:a.sp3}),oe.map(x=>t.jsx(q,{id:x,text:x,disabled:w.includes(x),onClick:j=>F(j),checked:x===f,starred:c.includes(x)&&!w.includes(x),doubleStarred:y.includes(x)&&!w.includes(x)},x))]}),t.jsx(be,{starredPeriod:c,doubleStarredPeriod:y,bookCloseIncompleteInfo:Ae.bookCloseIncompleteInfoMonth,bookCloseUnderReviewInfo:Ae.bookCloseUnderReviewInfoMonth})]})}):""]})})},Vt=u.memo(Qt),Ht=n.div`
95
95
  position: relative;
96
96
  cursor: pointer;
97
97
  `,Ut=n.div`
@@ -117,7 +117,7 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
117
117
  `,Wt=n.div`
118
118
  border-top: 1px solid ${e=>e.theme.colors.grey3};
119
119
  width: 100%;
120
- `,Zt=(e,o,r,s)=>{const i=B(e,"quarter",o).filter(l=>{if(e===1)return!d.zeniDate(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:p}=d.getFYQuarterAndYear(r.startDate,e),{fyYear:f}=d.getFYQuarterAndYear(r.endDate,e);return!(parseInt(l)>=p&&parseInt(l)<=f)}});return{disabledQuarters:ae.filter(l=>{const p=parseInt(l),f=d.getFYQuarterAndYear(r.startDate,e),g=d.getFYQuarterAndYear(r.endDate,e);return s===f.fyYear&&p<f.fyQuarter||s===g.fyYear&&p>g.fyQuarter?!0:s<f.fyYear||s>g.fyYear}),disabledYears:i}},Gt=(e,o,r,s,i)=>{const l=d.isIncompleteMonthPresentInTimeframeTick(s);if(i!=null){const p=d.getFYQuarterAndYear(i,o),f=d.getFYQuarterAndYear(s.endDate,o);return ae.filter(g=>{const m=parseInt(g);return e.includes(g)===!1&&(l!==!0||f.fyQuarter!==m)&&(r===p.fyYear&&m>=p.fyQuarter&&d.getLastMonthOfFYQuarter(m,o)!==i.month()+1||r>p.fyYear)})}else return[]},Xt=(e,o,r,s,i)=>{const l=d.isIncompleteMonthPresentInTimeframeTick(s);if(i!=null){const p=d.getFYQuarterAndYear(i,e),f=d.getFYQuarterAndYear(s.endDate,e);return ae.filter(g=>{const m=parseInt(g);return r.includes(g)===!1&&(l!==!0||f.fyQuarter===m)&&o===p.fyYear&&m>=p.fyQuarter||o>p.fyYear})}else return[]},Kt=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,{fyQuarter:l,fyYear:p}=d.getFYQuarterAndYear(o.startDate,e.firstMonthOfFY),[f,g]=u.useState(!1),[m,F]=u.useState(`${l}`),[$,O]=u.useState(`${p}`),{reports:w,dateFormat:h}=Y.getLocalizedStrings(),_=b=>{F(b),i("quarter",d.getActualPeriodOfFYQtr(e.firstMonthOfFY,d.toQuarter(parseInt(b)),parseInt($))),g(!1)},c=b=>{g(b);const{fyQuarter:D,fyYear:A}=d.getFYQuarterAndYear(o.startDate,e.firstMonthOfFY);F(`${D}`),O(`${A}`)},{disabledQuarters:y,disabledYears:v}=Zt(e.firstMonthOfFY,e.dataAvailable,s,parseInt($)),x=B(e.firstMonthOfFY,"quarter",e.dataAvailable),j=Gt(y,e.firstMonthOfFY,parseInt($),s,e.bookCloseDate),E=Xt(e.firstMonthOfFY,parseInt($),y,s,e.bookCloseDate),M=e.bookCloseDate!=null?d.getTimeframeTickTag("quarter",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(fe,{onClickAway:()=>c(!1),children:t.jsxs(Ht,{children:[t.jsx(ge,{value:`Q${d.formatZeniDate(o.startDate,h.visual.QYYformat,e.firstMonthOfFY)}`,onClick:()=>c(!f),label:r,timeframeTickTag:M}),f?t.jsxs(Ut,{children:[t.jsxs(qt,{children:[x.map(b=>t.jsx(q,{id:b,text:b,disabled:v.includes(b),onClick:D=>{O(D),F("")},checked:b===$},b)),t.jsx(Te,{space:a.sp3}),t.jsx(Wt,{}),t.jsx(Te,{space:a.sp3}),ae.map(b=>t.jsx(q,{id:b,text:`Q${b}`,disabled:y.includes(b),onClick:D=>_(D),checked:b===m,starred:j.includes(b)&&!y.includes(b),doubleStarred:E.includes(b)&&!y.includes(b)},b))]}),t.jsx(be,{starredPeriod:j,doubleStarredPeriod:E,bookCloseIncompleteInfo:w.bookCloseIncompleteInfoQuarter,bookCloseUnderReviewInfo:w.bookCloseUnderReviewInfoQuarter})]}):""]})})},Jt=u.memo(Kt),er=n.div`
120
+ `,Zt=(e,o,r,s)=>{const i=B(e,"quarter",o).filter(l=>{if(e===1)return!d.zeniDate(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:p}=d.getFYQuarterAndYear(r.startDate,e),{fyYear:f}=d.getFYQuarterAndYear(r.endDate,e);return!(parseInt(l)>=p&&parseInt(l)<=f)}});return{disabledQuarters:ae.filter(l=>{const p=parseInt(l),f=d.getFYQuarterAndYear(r.startDate,e),g=d.getFYQuarterAndYear(r.endDate,e);return s===f.fyYear&&p<f.fyQuarter||s===g.fyYear&&p>g.fyQuarter?!0:s<f.fyYear||s>g.fyYear}),disabledYears:i}},Gt=(e,o,r,s,i)=>{const l=d.isIncompleteMonthPresentInTimeframeTick(s);if(i!=null){const p=d.getFYQuarterAndYear(i,o),f=d.getFYQuarterAndYear(s.endDate,o);return ae.filter(g=>{const m=parseInt(g);return e.includes(g)===!1&&(l!==!0||f.fyQuarter!==m)&&(r===p.fyYear&&m>=p.fyQuarter&&d.getLastMonthOfFYQuarter(m,o)!==i.month()+1||r>p.fyYear)})}else return[]},Xt=(e,o,r,s,i)=>{const l=d.isIncompleteMonthPresentInTimeframeTick(s);if(i!=null){const p=d.getFYQuarterAndYear(i,e),f=d.getFYQuarterAndYear(s.endDate,e);return ae.filter(g=>{const m=parseInt(g);return r.includes(g)===!1&&(l!==!0||f.fyQuarter===m)&&o===p.fyYear&&m>=p.fyQuarter||o>p.fyYear})}else return[]},Kt=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,{fyQuarter:l,fyYear:p}=d.getFYQuarterAndYear(o.startDate,e.firstMonthOfFY),[f,g]=u.useState(!1),[m,$]=u.useState(`${l}`),[F,O]=u.useState(`${p}`),{reports:w,dateFormat:h}=Y.getLocalizedStrings(),_=b=>{$(b),i("quarter",d.getActualPeriodOfFYQtr(e.firstMonthOfFY,d.toQuarter(parseInt(b)),parseInt(F))),g(!1)},c=b=>{g(b);const{fyQuarter:D,fyYear:A}=d.getFYQuarterAndYear(o.startDate,e.firstMonthOfFY);$(`${D}`),O(`${A}`)},{disabledQuarters:y,disabledYears:v}=Zt(e.firstMonthOfFY,e.dataAvailable,s,parseInt(F)),x=B(e.firstMonthOfFY,"quarter",e.dataAvailable),j=Gt(y,e.firstMonthOfFY,parseInt(F),s,e.bookCloseDate),E=Xt(e.firstMonthOfFY,parseInt(F),y,s,e.bookCloseDate),M=e.bookCloseDate!=null?d.getTimeframeTickTag("quarter",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(fe,{onClickAway:()=>c(!1),children:t.jsxs(Ht,{children:[t.jsx(ge,{value:`Q${d.formatZeniDate(o.startDate,h.visual.QYYformat,e.firstMonthOfFY)}`,onClick:()=>c(!f),label:r,timeframeTickTag:M}),f?t.jsxs(Ut,{children:[t.jsxs(qt,{children:[x.map(b=>t.jsx(q,{id:b,text:b,disabled:v.includes(b),onClick:D=>{O(D),$("")},checked:b===F},b)),t.jsx(Te,{space:a.sp3}),t.jsx(Wt,{}),t.jsx(Te,{space:a.sp3}),ae.map(b=>t.jsx(q,{id:b,text:`Q${b}`,disabled:y.includes(b),onClick:D=>_(D),checked:b===m,starred:j.includes(b)&&!y.includes(b),doubleStarred:E.includes(b)&&!y.includes(b)},b))]}),t.jsx(be,{starredPeriod:j,doubleStarredPeriod:E,bookCloseIncompleteInfo:w.bookCloseIncompleteInfoQuarter,bookCloseUnderReviewInfo:w.bookCloseUnderReviewInfoQuarter})]}):""]})})},Jt=u.memo(Kt),er=n.div`
121
121
  position: relative;
122
122
  cursor: pointer;
123
123
  `,tr=n.div`
@@ -137,7 +137,7 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
137
137
  flex-wrap: wrap;
138
138
  background: ${e=>e.theme.colors.grey5};
139
139
  width: 100%;
140
- `,ar=(e,o,r)=>B(e,"year",o).filter(s=>{if(e===1)return!d.zeniDate(`${s}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:i}=d.getFYQuarterAndYear(r.startDate,e),{fyYear:l}=d.getFYQuarterAndYear(r.endDate,e);return parseInt(s)<i||parseInt(s)>l}}),or=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);if(s!=null){const l=d.getFYQuarterAndYear(s,e),p=d.getFYQuarterAndYear(r.endDate,e);return B(e,"year",o).filter(f=>{const g=parseInt(f);return(i===!0?p.fyYear!==g:!0)&&parseInt(f)>=l.fyYear&&d.getLastMonthOfFYYear(e)!==s.month()+1})}else return[]},sr=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);if(s!=null){const l=d.getFYQuarterAndYear(s,e),p=d.getFYQuarterAndYear(r.endDate,e);return B(e,"year",o).filter(f=>{const g=parseInt(f);return(i===!0?p.fyYear===g:!0)&&parseInt(f)>=l.fyYear})}else return[]},ir=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,[l,p]=u.useState(!1),{reports:f,dateFormat:g}=Y.getLocalizedStrings(),m=ar(e.firstMonthOfFY,e.dataAvailable,s),F=B(e.firstMonthOfFY,"year",e.dataAvailable),$=d.getFYQuarterAndYear(e.selectedPeriod.startDate,e.firstMonthOfFY).fyYear,O=or(e.firstMonthOfFY,e.dataAvailable,s,e.bookCloseDate),w=sr(e.firstMonthOfFY,e.dataAvailable,s,e.bookCloseDate),h=e.bookCloseDate!=null?d.getTimeframeTickTag("year",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0,_=g.analytics.YYYYFormat;return t.jsx(fe,{onClickAway:()=>p(!1),children:t.jsxs(er,{children:[t.jsx(ge,{value:d.formatZeniDate(o.startDate,_,e.firstMonthOfFY),onClick:()=>p(!l),label:r,timeframeTickTag:h}),l?t.jsxs(tr,{children:[t.jsx(rr,{children:F.map(c=>t.jsx(q,{id:c,text:c,disabled:m.includes(c),onClick:y=>{i("year",d.getActualPeriodOfFY(e.firstMonthOfFY,parseInt(y))),p(!1)},checked:parseInt(c)===$,starred:O.includes(c)&&!m.includes(c),doubleStarred:w.includes(c)&&!m.includes(c)},c))}),t.jsx(be,{starredPeriod:O,doubleStarredPeriod:w,bookCloseIncompleteInfo:f.bookCloseIncompleteInfoYear,bookCloseUnderReviewInfo:f.bookCloseUnderReviewInfoYear})]}):""]})})},nr=u.memo(ir),lr=n.div`
140
+ `,ar=(e,o,r)=>B(e,"year",o).filter(s=>{if(e===1)return!d.zeniDate(`${s}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:i}=d.getFYQuarterAndYear(r.startDate,e),{fyYear:l}=d.getFYQuarterAndYear(r.endDate,e);return parseInt(s)<i||parseInt(s)>l}}),or=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);if(s!=null){const l=d.getFYQuarterAndYear(s,e),p=d.getFYQuarterAndYear(r.endDate,e);return B(e,"year",o).filter(f=>{const g=parseInt(f);return(i===!0?p.fyYear!==g:!0)&&parseInt(f)>=l.fyYear&&d.getLastMonthOfFYYear(e)!==s.month()+1})}else return[]},sr=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);if(s!=null){const l=d.getFYQuarterAndYear(s,e),p=d.getFYQuarterAndYear(r.endDate,e);return B(e,"year",o).filter(f=>{const g=parseInt(f);return(i===!0?p.fyYear===g:!0)&&parseInt(f)>=l.fyYear})}else return[]},ir=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,[l,p]=u.useState(!1),{reports:f,dateFormat:g}=Y.getLocalizedStrings(),m=ar(e.firstMonthOfFY,e.dataAvailable,s),$=B(e.firstMonthOfFY,"year",e.dataAvailable),F=d.getFYQuarterAndYear(e.selectedPeriod.startDate,e.firstMonthOfFY).fyYear,O=or(e.firstMonthOfFY,e.dataAvailable,s,e.bookCloseDate),w=sr(e.firstMonthOfFY,e.dataAvailable,s,e.bookCloseDate),h=e.bookCloseDate!=null?d.getTimeframeTickTag("year",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0,_=g.analytics.YYYYFormat;return t.jsx(fe,{onClickAway:()=>p(!1),children:t.jsxs(er,{children:[t.jsx(ge,{value:d.formatZeniDate(o.startDate,_,e.firstMonthOfFY),onClick:()=>p(!l),label:r,timeframeTickTag:h}),l?t.jsxs(tr,{children:[t.jsx(rr,{children:$.map(c=>t.jsx(q,{id:c,text:c,disabled:m.includes(c),onClick:y=>{i("year",d.getActualPeriodOfFY(e.firstMonthOfFY,parseInt(y))),p(!1)},checked:parseInt(c)===F,starred:O.includes(c)&&!m.includes(c),doubleStarred:w.includes(c)&&!m.includes(c)},c))}),t.jsx(be,{starredPeriod:O,doubleStarredPeriod:w,bookCloseIncompleteInfo:f.bookCloseIncompleteInfoYear,bookCloseUnderReviewInfo:f.bookCloseUnderReviewInfoYear})]}):""]})})},nr=u.memo(ir),lr=n.div`
141
141
  display: flex;
142
142
  align-items: center;
143
143
  `,dr=n(st)`
@@ -160,7 +160,7 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
160
160
  color: ${e=>e.theme.colors.primary};
161
161
  `,ur=n.div`
162
162
  border-top: 1px solid ${e=>e.theme.colors.grey3};
163
- `,gr=(e,o,r)=>{const{endOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(o.startDate,e,r),{startOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o.endDate,e,r),l={startDate:o.startDate,endDate:s},p={startDate:i,endDate:o.endDate};return{fromDateRange:l,toDateRange:p}},br=e=>{const{firstMonthOfFY:o,selectedTimeframe:r,numberOfAdditionalColumns:s,calendarPeriod:i,dateRange:l,selectedOrderBy:p,dataAvailable:f,defaultOptions:g,selectedFileType:m,bookCloseDate:F,onDateRangeChange:$,onSelectedTimeframeChange:O,onNewOrderBySelection:w,onAdditionalColumnsSelectionChanged:h}=e,_=b=>Y.getLocalizedStrings().timeframe[b],c=b=>Y.getLocalizedStrings().downloadReport.orderBy[b],y=Y.getLocalizedStrings().downloadReport.displayColumns,{fromDateRange:v,toDateRange:x}=gr(o,l,r),j=b=>{const D=te(o,b,f,g.balancesFilter.numberOfPeriods);i.timeframe=b,i.maxNumberOfPeriods=S[m]-g.additionalBalances.length,i.updatePeriod(d.subtractPeriod(f.endDate,o,D-1,b),f.endDate),$(i.value.dateRange),O(i.value.timeframe),h(g.additionalBalances)},E=u.useCallback((b,D,A)=>{A==="to"?i.updateEndDate(D.endDate):i.updateStartDate(D.startDate),$(i.value.dateRange)},[i,$]),M=()=>{let b=Vt;return r==="quarter"?b=Jt:r==="year"&&(b=nr),t.jsxs(u.Fragment,{children:[t.jsx(b,{firstMonthOfFY:o,onNewPeriodSelection:(D,A)=>E(D,A,"from"),dataAvailable:f,selectedPeriod:v,label:"From",validPeriod:{startDate:f.startDate,endDate:f.endDate},bookCloseDate:F}),t.jsx(R,{space:a.sp3}),t.jsx(b,{firstMonthOfFY:o,onNewPeriodSelection:(D,A)=>E(D,A,"to"),dataAvailable:f,selectedPeriod:x,label:"To",validPeriod:i.getValidCalendarPeriod(),bookCloseDate:F})]})};return t.jsxs(u.Fragment,{children:[t.jsx(hr,{children:y.title}),t.jsx(R,{space:a.sp2}),t.jsx(fr,{numberOfPeriods:i.numberOfPeriods,numberOfAdditionalColumns:s,selectedFileType:m}),t.jsx(R,{space:a.sp5}),t.jsx(se,{children:y.displayOrderBy}),t.jsx(R,{space:a.sp2}),t.jsx(we,{pickerValues:["ascending_date","descending_date"],valueToLabel:c,selectedValue:p,onPickerSelectionChanged:b=>w(b),optionTextStyle:G.standardRegular,titleTextStyle:G.standardRegular,outlined:!0}),t.jsx(R,{space:a.sp5}),t.jsx(ur,{}),t.jsx(R,{space:a.sp4}),t.jsx(se,{children:"Period"}),t.jsx(R,{space:a.sp2}),t.jsx(we,{pickerValues:["month","quarter","year"],valueToLabel:_,selectedValue:r,onPickerSelectionChanged:b=>j(b),titleTextStyle:G.standardRegular,optionTextStyle:G.standardRegular,outlined:!0}),t.jsx(R,{space:a.sp4}),t.jsx(se,{children:y.periodRange}),t.jsx(R,{space:a.sp2}),M()]})},xr=u.memo(br),Q=n.div`
163
+ `,gr=(e,o,r)=>{const{endOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(o.startDate,e,r),{startOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o.endDate,e,r),l={startDate:o.startDate,endDate:s},p={startDate:i,endDate:o.endDate};return{fromDateRange:l,toDateRange:p}},br=e=>{const{firstMonthOfFY:o,selectedTimeframe:r,numberOfAdditionalColumns:s,calendarPeriod:i,dateRange:l,selectedOrderBy:p,dataAvailable:f,defaultOptions:g,selectedFileType:m,bookCloseDate:$,onDateRangeChange:F,onSelectedTimeframeChange:O,onNewOrderBySelection:w,onAdditionalColumnsSelectionChanged:h}=e,_=b=>Y.getLocalizedStrings().timeframe[b],c=b=>Y.getLocalizedStrings().downloadReport.orderBy[b],y=Y.getLocalizedStrings().downloadReport.displayColumns,{fromDateRange:v,toDateRange:x}=gr(o,l,r),j=b=>{const D=te(o,b,f,g.balancesFilter.numberOfPeriods);i.timeframe=b,i.maxNumberOfPeriods=S[m]-g.additionalBalances.length,i.updatePeriod(d.subtractPeriod(f.endDate,o,D-1,b),f.endDate),F(i.value.dateRange),O(i.value.timeframe),h(g.additionalBalances)},E=u.useCallback((b,D,A)=>{A==="to"?i.updateEndDate(D.endDate):i.updateStartDate(D.startDate),F(i.value.dateRange)},[i,F]),M=()=>{let b=Vt;return r==="quarter"?b=Jt:r==="year"&&(b=nr),t.jsxs(u.Fragment,{children:[t.jsx(b,{firstMonthOfFY:o,onNewPeriodSelection:(D,A)=>E(D,A,"from"),dataAvailable:f,selectedPeriod:v,label:"From",validPeriod:{startDate:f.startDate,endDate:f.endDate},bookCloseDate:$}),t.jsx(R,{space:a.sp3}),t.jsx(b,{firstMonthOfFY:o,onNewPeriodSelection:(D,A)=>E(D,A,"to"),dataAvailable:f,selectedPeriod:x,label:"To",validPeriod:i.getValidCalendarPeriod(),bookCloseDate:$})]})};return t.jsxs(u.Fragment,{children:[t.jsx(hr,{children:y.title}),t.jsx(R,{space:a.sp2}),t.jsx(fr,{numberOfPeriods:i.numberOfPeriods,numberOfAdditionalColumns:s,selectedFileType:m}),t.jsx(R,{space:a.sp5}),t.jsx(se,{children:y.displayOrderBy}),t.jsx(R,{space:a.sp2}),t.jsx(we,{pickerValues:["ascending_date","descending_date"],valueToLabel:c,selectedValue:p,onPickerSelectionChanged:b=>w(b),optionTextStyle:G.standardRegular,titleTextStyle:G.standardRegular,outlined:!0}),t.jsx(R,{space:a.sp5}),t.jsx(ur,{}),t.jsx(R,{space:a.sp4}),t.jsx(se,{children:"Period"}),t.jsx(R,{space:a.sp2}),t.jsx(we,{pickerValues:["month","quarter","year"],valueToLabel:_,selectedValue:r,onPickerSelectionChanged:b=>j(b),titleTextStyle:G.standardRegular,optionTextStyle:G.standardRegular,outlined:!0}),t.jsx(R,{space:a.sp4}),t.jsx(se,{children:y.periodRange}),t.jsx(R,{space:a.sp2}),M()]})},xr=u.memo(br),Q=n.div`
164
164
  padding-top: ${e=>e.top??0};
165
165
  padding-left: ${e=>e.left??0};
166
166
  `,yr=n.div`
@@ -168,10 +168,10 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
168
168
  justify-content: center;
169
169
  align-items: center;
170
170
  color: ${e=>e.theme.colors.hero};
171
- `,Fr=n.div`
171
+ `,$r=n.div`
172
172
  display: flex;
173
173
  justify-content: center;
174
- `,$r=n.div`
174
+ `,Fr=n.div`
175
175
  text-align: center;
176
176
  color: ${e=>e.theme.colors.hero};
177
177
  max-width: 475px;
@@ -185,7 +185,7 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
185
185
  width: 1px;
186
186
  height: ${a.sp7};
187
187
  background: ${e=>e.theme.colors.grey2};
188
- `,Ie=n.div``,jr=e=>{const{onContinueWithPDFClick:o,onSwitchToExcelClick:r}=e,s=Y.getLocalizedStrings().downloadReport.fileSwitchDialogue;return t.jsx(dt,{open:!0,children:t.jsxs($r,{children:[t.jsxs(yr,{children:[t.jsx(me,{width:a.sp10,height:a.sp10}),t.jsx(Q,{left:a.sp6}),t.jsx(Or,{}),t.jsx(Q,{left:a.sp6}),t.jsx(pe,{width:a.sp10,height:a.sp10})]}),t.jsx(Q,{top:a.sp6}),t.jsx(wr,{children:s.pdfLimitation}),t.jsx(Q,{top:a.sp3}),t.jsx(Yr,{children:s.excelNoLimitation}),t.jsx(Q,{top:a.sp4}),t.jsxs(Fr,{children:[t.jsxs(Ie,{children:[t.jsx(ee,{label:s.switchToExcel,onClick:r,style:{width:"195px"}}),t.jsx(Q,{top:a.sp1})]}),t.jsx(Q,{left:a.sp4}),t.jsx(Ie,{children:t.jsx(ee,{variant:"primary",label:s.continueWithPDF,onClick:o,style:{width:"195px"}})})]})]})})},Ue=u.memo(jr),re=Y.getLocalizedStrings().downloadReport.footer,vr=n.div`
188
+ `,Ie=n.div``,jr=e=>{const{onContinueWithPDFClick:o,onSwitchToExcelClick:r}=e,s=Y.getLocalizedStrings().downloadReport.fileSwitchDialogue;return t.jsx(dt,{open:!0,children:t.jsxs(Fr,{children:[t.jsxs(yr,{children:[t.jsx(me,{width:a.sp10,height:a.sp10}),t.jsx(Q,{left:a.sp6}),t.jsx(Or,{}),t.jsx(Q,{left:a.sp6}),t.jsx(pe,{width:a.sp10,height:a.sp10})]}),t.jsx(Q,{top:a.sp6}),t.jsx(wr,{children:s.pdfLimitation}),t.jsx(Q,{top:a.sp3}),t.jsx(Yr,{children:s.excelNoLimitation}),t.jsx(Q,{top:a.sp4}),t.jsxs($r,{children:[t.jsxs(Ie,{children:[t.jsx(ee,{label:s.switchToExcel,onClick:r,style:{width:"195px"}}),t.jsx(Q,{top:a.sp1})]}),t.jsx(Q,{left:a.sp4}),t.jsx(Ie,{children:t.jsx(ee,{variant:"primary",label:s.continueWithPDF,onClick:o,style:{width:"195px"}})})]})]})})},Ue=u.memo(jr),re=Y.getLocalizedStrings().downloadReport.footer,vr=n.div`
189
189
  display: flex;
190
190
  justify-content: center;
191
191
  background: ${e=>e.theme.colors.background};
@@ -247,7 +247,7 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
247
247
  `,Ir=n(me)`
248
248
  width: ${a.sp4};
249
249
  height: ${a.sp4};
250
- `,Lr=[{id:"excel",label:re.downloadExcel,Icon:Ir},{id:"pdf",label:re.downloadPdf,Icon:Tr}],Rr=e=>{const{label:o,id:r,onClick:s,checked:i,Icon:l,isLoading:p}=e;return t.jsx(kr,{checked:i,onClick:s,id:r,children:p&&i?t.jsx(Ar,{offset:`${Qe("Standard")/2}px`,children:t.jsx(Ee,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(Pr,{children:o}),t.jsx(l,{})]})})},zr=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:s,downloadTypeProps:i,onResetClick:l,isResetDisabled:p}=e,{calendarPeriod:f,onNewFileTypeSelection:g,numberOfAdditionalColumns:m,selectedFileType:F,resetToDefaultOption:$}=i,[O,w]=u.useState(!1),h=c=>{c.stopPropagation(),o()},_=c=>{c==="pdf"&&f.numberOfPeriods+m>S.pdf?w(!0):(f.maxNumberOfPeriods=S[c]-m,g(c))};return t.jsxs(vr,{onClick:c=>c.stopPropagation(),children:[t.jsxs(_r,{isResetDisabled:p,onClick:l,children:[t.jsx(ze,{width:a.sp4,height:a.sp4}),t.jsx(Cr,{children:re.resetLabel})]}),t.jsxs(Sr,{children:[t.jsx(Mr,{children:Lr.map(c=>t.jsx(Rr,{...c,onClick:()=>{s||_(c.id)},checked:F===c.id,isLoading:r},c.id))}),t.jsx(Dr,{space:a.sp0,style:{display:"flex",alignItems:"center",height:z[7]},children:re.orLabel}),t.jsx(ee,{variant:"primary",label:Y.getLocalizedStrings().downloadReport.viewReport,onClick:h,style:{width:"160px"}})]}),O?t.jsx(Ue,{onSwitchToExcelClick:()=>w(!1),onContinueWithPDFClick:()=>{w(!1),g("pdf"),$()}}):""]})},Nr=u.memo(zr),ne=Y.getLocalizedStrings().downloadReport.footer,Br=n.div`
250
+ `,Lr=[{id:"excel",label:re.downloadExcel,Icon:Ir},{id:"pdf",label:re.downloadPdf,Icon:Tr}],Rr=e=>{const{label:o,id:r,onClick:s,checked:i,Icon:l,isLoading:p}=e;return t.jsx(kr,{checked:i,onClick:s,id:r,children:p&&i?t.jsx(Ar,{offset:`${Qe("Standard")/2}px`,children:t.jsx(Ee,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(Pr,{children:o}),t.jsx(l,{})]})})},zr=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:s,downloadTypeProps:i,onResetClick:l,isResetDisabled:p}=e,{calendarPeriod:f,onNewFileTypeSelection:g,numberOfAdditionalColumns:m,selectedFileType:$,resetToDefaultOption:F}=i,[O,w]=u.useState(!1),h=c=>{c.stopPropagation(),o()},_=c=>{c==="pdf"&&f.numberOfPeriods+m>S.pdf?w(!0):(f.maxNumberOfPeriods=S[c]-m,g(c))};return t.jsxs(vr,{onClick:c=>c.stopPropagation(),children:[t.jsxs(_r,{isResetDisabled:p,onClick:l,children:[t.jsx(ze,{width:a.sp4,height:a.sp4}),t.jsx(Cr,{children:re.resetLabel})]}),t.jsxs(Sr,{children:[t.jsx(Mr,{children:Lr.map(c=>t.jsx(Rr,{...c,onClick:()=>{s||_(c.id)},checked:$===c.id,isLoading:r},c.id))}),t.jsx(Dr,{space:a.sp0,style:{display:"flex",alignItems:"center",height:z[7]},children:re.orLabel}),t.jsx(ee,{variant:"primary",label:Y.getLocalizedStrings().downloadReport.viewReport,onClick:h,style:{width:"160px"}})]}),O?t.jsx(Ue,{onSwitchToExcelClick:()=>w(!1),onContinueWithPDFClick:()=>{w(!1),g("pdf"),F()}}):""]})},Nr=u.memo(zr),ne=Y.getLocalizedStrings().downloadReport.footer,Br=n.div`
251
251
  display: flex;
252
252
  justify-content: center;
253
253
  background: ${e=>e.theme.colors.background};
@@ -297,7 +297,7 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
297
297
  `,Zr=n(me)`
298
298
  width: ${a.sp4};
299
299
  height: ${a.sp4};
300
- `,Gr=[{id:"excel",label:ne.downloadExcel,Icon:Zr},{id:"pdf",label:ne.downloadPdf,Icon:Wr}],Xr=e=>{const{label:o,id:r,onClick:s,checked:i,Icon:l,isLoading:p}=e;return t.jsx(Qr,{checked:i,onClick:s,id:r,children:p&&i?t.jsx(qr,{offset:`${Qe("Standard")/2}px`,children:t.jsx(Ee,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(Vr,{children:o}),t.jsx(l,{})]})})},Kr=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:s,downloadTypeProps:i}=e,{calendarPeriod:l,onNewFileTypeSelection:p,numberOfAdditionalColumns:f,selectedFileType:g,resetToDefaultOption:m}=i,[F,$]=u.useState(!1),O=h=>{h.stopPropagation(),o()},w=h=>{h==="pdf"&&l.numberOfPeriods+f>S.pdf?$(!0):(l.maxNumberOfPeriods=S[h]-f,p(h))};return t.jsxs(Br,{onClick:h=>h.stopPropagation(),children:[t.jsxs(Hr,{children:[t.jsx(Ur,{children:Gr.map(h=>t.jsx(Xr,{...h,onClick:()=>{s||w(h.id)},checked:g===h.id,isLoading:r},h.id))}),t.jsx(Er,{space:a.sp0,style:{display:"flex",alignItems:"center",height:a.sp4},children:ne.orLabel}),t.jsx(ee,{variant:"primary",label:Y.getLocalizedStrings().downloadReport.viewReport,onClick:O,style:{width:"100%"}})]}),F?t.jsx(Ue,{onSwitchToExcelClick:()=>$(!1),onContinueWithPDFClick:()=>{$(!1),p("pdf"),m()}}):""]})},Jr=u.memo(Kr),ea=e=>le()==="small"?t.jsx(Jr,{...e}):t.jsx(Nr,{...e}),ta=e=>u.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u.createElement("path",{d:"M20.5447 1.65002C21.0182 1.65002 21.4723 1.83811 21.807 2.1729C22.1418 2.5077 22.3299 2.96177 22.3299 3.43524V16.8467C22.3299 18.2612 21.768 19.6177 20.7678 20.6179C19.7676 21.6181 18.4111 22.18 16.9966 22.18H3.58514C3.11168 22.18 2.6576 21.9919 2.3228 21.6571C1.98801 21.3224 1.79993 20.8683 1.79993 20.3948V3.43524C1.79993 2.96177 1.98801 2.5077 2.3228 2.1729C2.6576 1.83811 3.11168 1.65002 3.58514 1.65002H20.5447Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.8671 22.1086V18.6095C17.8671 18.3728 17.9611 18.1458 18.1285 17.9784C18.2959 17.811 18.5229 17.7169 18.7597 17.7169H22.2587",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 6.3999H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 9.97034H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 13.5406H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 17.1112H11.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ra=n.div`
300
+ `,Gr=[{id:"excel",label:ne.downloadExcel,Icon:Zr},{id:"pdf",label:ne.downloadPdf,Icon:Wr}],Xr=e=>{const{label:o,id:r,onClick:s,checked:i,Icon:l,isLoading:p}=e;return t.jsx(Qr,{checked:i,onClick:s,id:r,children:p&&i?t.jsx(qr,{offset:`${Qe("Standard")/2}px`,children:t.jsx(Ee,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(Vr,{children:o}),t.jsx(l,{})]})})},Kr=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:s,downloadTypeProps:i}=e,{calendarPeriod:l,onNewFileTypeSelection:p,numberOfAdditionalColumns:f,selectedFileType:g,resetToDefaultOption:m}=i,[$,F]=u.useState(!1),O=h=>{h.stopPropagation(),o()},w=h=>{h==="pdf"&&l.numberOfPeriods+f>S.pdf?F(!0):(l.maxNumberOfPeriods=S[h]-f,p(h))};return t.jsxs(Br,{onClick:h=>h.stopPropagation(),children:[t.jsxs(Hr,{children:[t.jsx(Ur,{children:Gr.map(h=>t.jsx(Xr,{...h,onClick:()=>{s||w(h.id)},checked:g===h.id,isLoading:r},h.id))}),t.jsx(Er,{space:a.sp0,style:{display:"flex",alignItems:"center",height:a.sp4},children:ne.orLabel}),t.jsx(ee,{variant:"primary",label:Y.getLocalizedStrings().downloadReport.viewReport,onClick:O,style:{width:"100%"}})]}),$?t.jsx(Ue,{onSwitchToExcelClick:()=>F(!1),onContinueWithPDFClick:()=>{F(!1),p("pdf"),m()}}):""]})},Jr=u.memo(Kr),ea=e=>le()==="small"?t.jsx(Jr,{...e}):t.jsx(Nr,{...e}),ta=e=>u.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u.createElement("path",{d:"M20.5447 1.65002C21.0182 1.65002 21.4723 1.83811 21.807 2.1729C22.1418 2.5077 22.3299 2.96177 22.3299 3.43524V16.8467C22.3299 18.2612 21.768 19.6177 20.7678 20.6179C19.7676 21.6181 18.4111 22.18 16.9966 22.18H3.58514C3.11168 22.18 2.6576 21.9919 2.3228 21.6571C1.98801 21.3224 1.79993 20.8683 1.79993 20.3948V3.43524C1.79993 2.96177 1.98801 2.5077 2.3228 2.1729C2.6576 1.83811 3.11168 1.65002 3.58514 1.65002H20.5447Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.8671 22.1086V18.6095C17.8671 18.3728 17.9611 18.1458 18.1285 17.9784C18.2959 17.811 18.5229 17.7169 18.7597 17.7169H22.2587",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 6.3999H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 9.97034H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 13.5406H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 17.1112H11.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ra=n.div`
301
301
  padding: ${a.sp3};
302
302
  border: 1px solid
303
303
  ${e=>e.disabled?e.theme.colors.grey3:e.checked?e.theme.colors.primary:e.theme.colors.grey2};
@@ -350,7 +350,7 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
350
350
  display: flex;
351
351
  align-items: center;
352
352
  justify-content: space-between;
353
- `,pa=e=>{const{label:o,id:r,subLabel:s,onClick:i,checked:l,Icon:p,disabled:f}=e;return t.jsxs(ra,{checked:l,disabled:f,onClick:i,id:r,children:[t.jsx(p,{className:"report-format-icon",width:z[7],height:z[7]}),t.jsxs("div",{children:[t.jsx(aa,{children:o}),t.jsx(oa,{children:s})]})]})},fa=e=>{const{reportId:o,firstMonthOfFY:r,selectedFormat:s,disabledFormat:i,selectedView:l,nestedClasses:p,classesToFilterOut:f,classesFetchState:g,showClassAccountNumber:m,showAccountGroups:F,onOpenAccountViewMode:$,onNewFormatSelection:O,onNewViewSelection:w,onResetClick:h,isResetDisabled:_}=e,c=Y.getLocalizedStrings().downloadReport.reportFormats,y=le(),v=[{id:c.summary.id,label:c.summary.label,subLabel:c.summary.subLabel,Icon:rt},{id:c.detailed.id,label:c.detailed.label,subLabel:l==="account_group"?F===!0?c.detailed.subLabelAccountGroups:c.detailed.subLabelAccounts:c.detailed.subLabelClasses,Icon:bt},{id:c.moreDetailed.id,label:c.moreDetailed.label,subLabel:l==="account_group"?F===!0?c.moreDetailed.subLabelAccountGroups:c.moreDetailed.subLabelAccounts:c.moreDetailed.subLabelClasses,Icon:ta}],x=()=>t.jsx(u.Fragment,{children:t.jsx(gt,{reportId:o,firstMonthOfFY:r,nodes:p,classesListFetchState:g,selectedView:l,showAccountGroups:F,downloadPage:!0,onSaveClick:w,classesToBeFilteredOut:f,showClassAccountNumber:m,onOpenAccountViewMode:$})});return t.jsxs(u.Fragment,{children:[y==="small"?t.jsxs(ma,{children:[t.jsx(Le,{children:Y.getLocalizedStrings().downloadReport.reportFormat}),t.jsxs(da,{isResetDisabled:_,onClick:h,children:[t.jsx(ze,{width:a.sp4,height:a.sp4}),t.jsx(ca,{children:c.resetLabel})]})]}):t.jsx(Le,{children:Y.getLocalizedStrings().downloadReport.reportFormat}),t.jsx(U,{space:a.sp4}),t.jsxs(sa,{children:[t.jsx(ia,{children:"View by"}),t.jsx(U,{space:a.sp2}),t.jsx(na,{children:x()})]}),t.jsx(U,{space:a.sp5}),t.jsx(la,{}),t.jsx(U,{space:a.sp5}),v.map(j=>t.jsxs(u.Fragment,{children:[t.jsx(pa,{...j,onClick:()=>{i.includes(j.id)||O(j.id)},checked:s===j.id,disabled:i.includes(j.id)}),t.jsx(U,{space:a.sp4})]},j.id))]})},N={width:new H(z[11],z[11],33),maxWidth:new H(550,550,425),containerPadding:new H(z[3],z[6]),rowItemPadding:new H(0,z[6]),footerHeight:new H(211,133)},ha=n.div`
353
+ `,pa=e=>{const{label:o,id:r,subLabel:s,onClick:i,checked:l,Icon:p,disabled:f}=e;return t.jsxs(ra,{checked:l,disabled:f,onClick:i,id:r,children:[t.jsx(p,{className:"report-format-icon",width:z[7],height:z[7]}),t.jsxs("div",{children:[t.jsx(aa,{children:o}),t.jsx(oa,{children:s})]})]})},fa=e=>{const{reportId:o,firstMonthOfFY:r,selectedFormat:s,disabledFormat:i,selectedView:l,nestedClasses:p,classesToFilterOut:f,classesFetchState:g,showClassAccountNumber:m,showAccountGroups:$,onOpenAccountViewMode:F,onNewFormatSelection:O,onNewViewSelection:w,onResetClick:h,isResetDisabled:_}=e,c=Y.getLocalizedStrings().downloadReport.reportFormats,y=le(),v=[{id:c.summary.id,label:c.summary.label,subLabel:c.summary.subLabel,Icon:rt},{id:c.detailed.id,label:c.detailed.label,subLabel:l==="account_group"?$===!0?c.detailed.subLabelAccountGroups:c.detailed.subLabelAccounts:c.detailed.subLabelClasses,Icon:bt},{id:c.moreDetailed.id,label:c.moreDetailed.label,subLabel:l==="account_group"?$===!0?c.moreDetailed.subLabelAccountGroups:c.moreDetailed.subLabelAccounts:c.moreDetailed.subLabelClasses,Icon:ta}],x=()=>t.jsx(u.Fragment,{children:t.jsx(gt,{reportId:o,firstMonthOfFY:r,nodes:p,classesListFetchState:g,selectedView:l,showAccountGroups:$,downloadPage:!0,onSaveClick:w,classesToBeFilteredOut:f,showClassAccountNumber:m,onOpenAccountViewMode:F})});return t.jsxs(u.Fragment,{children:[y==="small"?t.jsxs(ma,{children:[t.jsx(Le,{children:Y.getLocalizedStrings().downloadReport.reportFormat}),t.jsxs(da,{isResetDisabled:_,onClick:h,children:[t.jsx(ze,{width:a.sp4,height:a.sp4}),t.jsx(ca,{children:c.resetLabel})]})]}):t.jsx(Le,{children:Y.getLocalizedStrings().downloadReport.reportFormat}),t.jsx(U,{space:a.sp4}),t.jsxs(sa,{children:[t.jsx(ia,{children:"View by"}),t.jsx(U,{space:a.sp2}),t.jsx(na,{children:x()})]}),t.jsx(U,{space:a.sp5}),t.jsx(la,{}),t.jsx(U,{space:a.sp5}),v.map(j=>t.jsxs(u.Fragment,{children:[t.jsx(pa,{...j,onClick:()=>{i.includes(j.id)||O(j.id)},checked:s===j.id,disabled:i.includes(j.id)}),t.jsx(U,{space:a.sp4})]},j.id))]})},N={width:new H(z[11],z[11],33),maxWidth:new H(550,550,425),containerPadding:new H(z[3],z[6]),rowItemPadding:new H(0,z[6]),footerHeight:new H(211,133)},ha=n.div`
354
354
  position: relative;
355
355
  display: flex;
356
356
  width: ${a.sp4};
@@ -403,7 +403,7 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
403
403
  color: ${de.primaryDark};
404
404
  }
405
405
  animation: ${ga} 0.4s;
406
- `,Fa=n.div`
406
+ `,$a=n.div`
407
407
  display: flex;
408
408
  flex-wrap: wrap;
409
409
  justify-content: center;
@@ -421,7 +421,7 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
421
421
  max-width: ${e=>N.maxWidth.valuePx(e.windowSize)};
422
422
  `,K=n.div`
423
423
  padding-top: ${e=>e.space};
424
- `,$a=n.div`
424
+ `,Fa=n.div`
425
425
  border-top: 1px solid ${e=>e.theme.colors.grey3};
426
426
  `,wa=n(Re)`
427
427
  position: absolute;
@@ -436,4 +436,4 @@ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A
436
436
  justify-content: center;
437
437
  color: ${e=>e.theme.colors.hero};
438
438
  cursor: pointer;
439
- `,Ya=e=>({localeId:Y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:e.statementFileType,statements:e.statements,firstMonthOfFY:e.firstMonthOfFY,bookCloseDate:e.defaultOptions.bookCloseDate,timeframe:e.timeframe,additionalBalances:e.additionalBalances,format:e.format,balancesFilter:{thisPeriod:{startDate:e.balancesFilter.thisPeriod.startDate,endDate:e.balancesFilter.thisPeriod.endDate},numberOfPeriods:e.balancesFilter.numberOfPeriods,orderBy:e.balancesFilter.orderBy},accountViewMode:e.accountViewMode,nestedClassHierarchy:e.nestedClassHierarchy,classesToFilterOut:e.classesToFilterOut,dataAvailable:e.dataAvailable,isZeniCOAUsed:e.isZeniCOAUsed}),Oa=e=>{const o=Ya(e);if(o!=null)return ut(e.statementEndPoint,e.authParams,o)},ja=e=>{const{onClose:o,defaultOptions:r,dataAvailable:s,analytics:i,onSaveClickHandler:l,onThisPeriodChanged:p,onAdditionalBalanceSelectionChanged:f,onTimeframeSelectionChanged:g}=e,m=le();et();const[F,$]=u.useState(!1),[O,w]=u.useState(!1),[h,_]=u.useState(new Ye(r.firstMonthOfFY,r.timeframe,s,r.balancesFilter.numberOfPeriods,S.excel,r.balancesFilter.thisPeriod.endDate)),[c,y]=u.useState(r.statements),[v,x]=u.useState(r.timeframe),[j,E]=u.useState("excel"),[M,b]=u.useState(r.additionalBalances),[D,A]=u.useState(J(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),[W,qe]=u.useState(e.defaultOptions.accountViewMode),[Z,We]=u.useState(e.defaultOptions.classesToFilterOut),[V,xe]=u.useState(e.defaultOptions.balancesFilter.orderBy),[ye,Fe]=u.useState(!1),Ze=()=>{const k=te(r.firstMonthOfFY,v,D),{startOfTimeframeFY:I,endOfTimeframeFY:C}=d.getStartOfAndEndOfTimeframeForFY(D.endDate,r.firstMonthOfFY,v),L=d.zeniDate(new Date(C.year(),C.month(),C.date()).toISOString());p?.({endDate:L,startDate:I},k,!0)};u.useEffect(()=>{const k=async()=>{const I=h.endDate,{startOfTimeframeFY:C}=d.getStartOfAndEndOfTimeframeForFY(h.endDate,r.firstMonthOfFY,h.timeframe);await Oa({...e,statements:xt.filter(L=>c.includes(L)),firstMonthOfFY:e.defaultOptions.firstMonthOfFY,timeframe:h.timeframe,additionalBalances:He[h.timeframe].filter(L=>M.includes(L)),format:e.reportFormatProps.selectedFormat,statementFileType:j,accountViewMode:W,classesToFilterOut:Z,balancesFilter:{thisPeriod:{startDate:C,endDate:I},orderBy:V,numberOfPeriods:h.numberOfPeriods},dataAvailable:s,isZeniCOAUsed:e.defaultOptions.isZeniCOAUsed}),e.updateDownloadStateHandler("Completed")};ye&&e.downloadState!=="In-Progress"&&(Fe(!1),e.updateDownloadStateHandler("In-Progress"),k(),i?.trackDownload(e.referrer,ht(h.timeframe),j,!1))},[i,h.endDate,h.numberOfPeriods,h.timeframe,ye,e,s,M,j,e.reportFormatProps.selectedFormat,V,c,W,Z,r.firstMonthOfFY]),u.useEffect(()=>{O?F||$(k=>!k):w(k=>!k)},[M,V,D,e.reportFormatProps.selectedFormat]);const Ge=()=>{b(r.additionalBalances),h.maxNumberOfPeriods=S.pdf-r.additionalBalances.length;const k=te(r.firstMonthOfFY,h.timeframe,s,r.balancesFilter.numberOfPeriods),I=J(r.firstMonthOfFY,h.timeframe,h.endDate,k).dateRange;A(I),h.updatePeriod(I.startDate,I.endDate)},Xe=k=>{k.stopPropagation(),o()},Ke=(k,I)=>{qe(k),e.showAccountGroups===!1&&k==="account_group"?e.reportFormatProps.disabledFormatForRole.push("detailed"):k==="classes"&&e.showAccountGroups===!1&&e.reportFormatProps.disabledFormatForRole.splice(e.reportFormatProps.disabledFormatForRole.indexOf("detailed"),1),k==="classes"?c.includes("profit_and_loss")&&(y(C=>C.filter(L=>L!=="profit_and_loss")),y(C=>[...C,"profit_and_loss_by_classes"])):c.includes("profit_and_loss_by_classes")&&(y(C=>C.filter(L=>L!=="profit_and_loss_by_classes")),y(C=>[...C,"profit_and_loss"])),I!==void 0&&We(I)},$e=()=>{_(new Ye(r.firstMonthOfFY,r.timeframe,s,r.balancesFilter.numberOfPeriods,S.excel,r.balancesFilter.thisPeriod.endDate)),b(r.additionalBalances),e.reportFormatProps.setSelectedFormat(r.accountViewMode==="classes"?e.reportFormatProps.roleBasedClassesSelectedFormat:e.showAccountGroups===!1?"more_detailed":"detailed"),xe("ascending_date"),y(r.statements),x(r.timeframe),A(J(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),$(!1),w(!1)};return t.jsxs(ba,{children:[t.jsx(xa,{role:"presentation",onClick:k=>Xe(k),windowSize:m,children:t.jsx(ya,{})}),t.jsxs(Fa,{windowSize:m,children:[t.jsxs(ie,{windowSize:m,children:[t.jsx(fa,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,reportId:"profit_and_loss_by_classes",selectedFormat:e.reportFormatProps.selectedFormat,disabledFormat:e.reportFormatProps.disabledFormatForRole,selectedView:W,nestedClasses:e.defaultOptions.nestedClassHierarchy??[],classesToFilterOut:Z,classesFetchState:e.classesFetchState,showClassAccountNumber:e.defaultOptions.showClassAccountNumber??!1,showAccountGroups:e.showAccountGroups,onNewFormatSelection:e.reportFormatProps.setSelectedFormat,onNewViewSelection:Ke,onOpenAccountViewMode:e.onOpenAccountViewMode,onResetClick:$e,isResetDisabled:F}),t.jsx($a,{}),m==="small"||m==="medium-compact"?t.jsx(K,{space:a.sp5}):t.jsx(K,{space:a.sp8})]}),t.jsxs(ie,{windowSize:m,children:[t.jsx(xr,{firstMonthOfFY:r.firstMonthOfFY,calendarPeriod:h,numberOfAdditionalColumns:M.length,selectedOrderBy:V,dataAvailable:s,dateRange:D,defaultOptions:r,selectedTimeframe:v,bookCloseDate:r.bookCloseDate,onDateRangeChange:A,onSelectedTimeframeChange:x,onNewOrderBySelection:xe,selectedFileType:j,onAdditionalColumnsSelectionChanged:b}),t.jsx(K,{space:a.sp5})]}),t.jsxs(ie,{windowSize:m,children:[t.jsx(Ct,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,disabledAdditionalColumns:r.disabledAdditionalColumns,selectedTimeframe:v,dateRange:D,calendarPeriod:h,selectedAdditionalColumns:M,onAdditionalColumnsSelectionChanged:b,dataAvailable:s,selectedFileType:j}),t.jsx(K,{space:a.sp8})]})]}),t.jsx(ea,{onCancelClick:()=>o(),onViewReportClick:()=>{e.onUpdateDisplayOrder(V),e.onUpdateReportFormat(e.reportFormatProps.selectedFormat),l(W,Z),f?.(M,h.numberOfPeriods,!0),g?.(v,!1,!0),Ze(),o()},downloadingStatement:e.downloadState==="In-Progress",disabledDownloadButton:c.length===0,downloadTypeProps:{selectedFileType:j,calendarPeriod:h,numberOfAdditionalColumns:M.length,onNewFileTypeSelection:k=>{E(k),Fe(!0)},resetToDefaultOption:Ge},onResetClick:$e,isResetDisabled:F})]})},Na=e=>{const{defaultOptions:o}=e,[r,s]=u.useState(!1),i=o.additionalBalances;return t.jsxs(ha,{onClick:()=>{s(!0)},children:[t.jsx(Je,{visibility:r?"hidden":"visible",style:{cursor:"pointer",width:a.sp4,height:a.sp4}}),r?null:t.jsx(wa,{className:"download-badge",children:o.balancesFilter.numberOfPeriods+i.length}),r?t.jsx(ja,{...e,onClose:()=>s(!1)}):null]})};export{Na as DownloadOverlayButton,ja as default};
439
+ `,Ya=e=>({localeId:Y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:e.statementFileType,statements:e.statements,firstMonthOfFY:e.firstMonthOfFY,bookCloseDate:e.defaultOptions.bookCloseDate,timeframe:e.timeframe,additionalBalances:e.additionalBalances,format:e.format,balancesFilter:{thisPeriod:{startDate:e.balancesFilter.thisPeriod.startDate,endDate:e.balancesFilter.thisPeriod.endDate},numberOfPeriods:e.balancesFilter.numberOfPeriods,orderBy:e.balancesFilter.orderBy},accountViewMode:e.accountViewMode,nestedClassHierarchy:e.nestedClassHierarchy,classesToFilterOut:e.classesToFilterOut,dataAvailable:e.dataAvailable,isZeniCOAUsed:e.isZeniCOAUsed}),Oa=e=>{const o=Ya(e);if(o!=null)return ut(e.statementEndPoint,e.authParams,o)},ja=e=>{const{onClose:o,defaultOptions:r,dataAvailable:s,analytics:i,onSaveClickHandler:l,onThisPeriodChanged:p,onAdditionalBalanceSelectionChanged:f,onTimeframeSelectionChanged:g}=e,m=le();et();const[$,F]=u.useState(!1),[O,w]=u.useState(!1),[h,_]=u.useState(new Ye(r.firstMonthOfFY,r.timeframe,s,r.balancesFilter.numberOfPeriods,S.excel,r.balancesFilter.thisPeriod.endDate)),[c,y]=u.useState(r.statements),[v,x]=u.useState(r.timeframe),[j,E]=u.useState("excel"),[M,b]=u.useState(r.additionalBalances),[D,A]=u.useState(J(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),[W,qe]=u.useState(e.defaultOptions.accountViewMode),[Z,We]=u.useState(e.defaultOptions.classesToFilterOut),[V,xe]=u.useState(e.defaultOptions.balancesFilter.orderBy),[ye,$e]=u.useState(!1),Ze=()=>{const k=te(r.firstMonthOfFY,v,D),{startOfTimeframeFY:I,endOfTimeframeFY:C}=d.getStartOfAndEndOfTimeframeForFY(D.endDate,r.firstMonthOfFY,v),L=d.zeniDate(new Date(C.year(),C.month(),C.date()).toISOString());p?.({endDate:L,startDate:I},k,!0)};u.useEffect(()=>{const k=async()=>{const I=h.endDate,{startOfTimeframeFY:C}=d.getStartOfAndEndOfTimeframeForFY(h.endDate,r.firstMonthOfFY,h.timeframe);await Oa({...e,statements:xt.filter(L=>c.includes(L)),firstMonthOfFY:e.defaultOptions.firstMonthOfFY,timeframe:h.timeframe,additionalBalances:He[h.timeframe].filter(L=>M.includes(L)),format:e.reportFormatProps.selectedFormat,statementFileType:j,accountViewMode:W,classesToFilterOut:Z,balancesFilter:{thisPeriod:{startDate:C,endDate:I},orderBy:V,numberOfPeriods:h.numberOfPeriods},dataAvailable:s,isZeniCOAUsed:e.defaultOptions.isZeniCOAUsed}),e.updateDownloadStateHandler("Completed")};ye&&e.downloadState!=="In-Progress"&&($e(!1),e.updateDownloadStateHandler("In-Progress"),k(),i?.trackDownload(e.referrer,ht(h.timeframe),j,!1))},[i,h.endDate,h.numberOfPeriods,h.timeframe,ye,e,s,M,j,e.reportFormatProps.selectedFormat,V,c,W,Z,r.firstMonthOfFY]),u.useEffect(()=>{O?$||F(k=>!k):w(k=>!k)},[M,V,D,e.reportFormatProps.selectedFormat]);const Ge=()=>{b(r.additionalBalances),h.maxNumberOfPeriods=S.pdf-r.additionalBalances.length;const k=te(r.firstMonthOfFY,h.timeframe,s,r.balancesFilter.numberOfPeriods),I=J(r.firstMonthOfFY,h.timeframe,h.endDate,k).dateRange;A(I),h.updatePeriod(I.startDate,I.endDate)},Xe=k=>{k.stopPropagation(),o()},Ke=(k,I)=>{qe(k),e.showAccountGroups===!1&&k==="account_group"?e.reportFormatProps.disabledFormatForRole.push("detailed"):k==="classes"&&e.showAccountGroups===!1&&e.reportFormatProps.disabledFormatForRole.splice(e.reportFormatProps.disabledFormatForRole.indexOf("detailed"),1),k==="classes"?c.includes("profit_and_loss")&&(y(C=>C.filter(L=>L!=="profit_and_loss")),y(C=>[...C,"profit_and_loss_by_classes"])):c.includes("profit_and_loss_by_classes")&&(y(C=>C.filter(L=>L!=="profit_and_loss_by_classes")),y(C=>[...C,"profit_and_loss"])),I!==void 0&&We(I)},Fe=()=>{_(new Ye(r.firstMonthOfFY,r.timeframe,s,r.balancesFilter.numberOfPeriods,S.excel,r.balancesFilter.thisPeriod.endDate)),b(r.additionalBalances),e.reportFormatProps.setSelectedFormat(r.accountViewMode==="classes"?e.reportFormatProps.roleBasedClassesSelectedFormat:e.showAccountGroups===!1?"more_detailed":"detailed"),xe("ascending_date"),y(r.statements),x(r.timeframe),A(J(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),F(!1),w(!1)};return t.jsxs(ba,{children:[t.jsx(xa,{role:"presentation",onClick:k=>Xe(k),windowSize:m,children:t.jsx(ya,{})}),t.jsxs($a,{windowSize:m,children:[t.jsxs(ie,{windowSize:m,children:[t.jsx(fa,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,reportId:"profit_and_loss_by_classes",selectedFormat:e.reportFormatProps.selectedFormat,disabledFormat:e.reportFormatProps.disabledFormatForRole,selectedView:W,nestedClasses:e.defaultOptions.nestedClassHierarchy??[],classesToFilterOut:Z,classesFetchState:e.classesFetchState,showClassAccountNumber:e.defaultOptions.showClassAccountNumber??!1,showAccountGroups:e.showAccountGroups,onNewFormatSelection:e.reportFormatProps.setSelectedFormat,onNewViewSelection:Ke,onOpenAccountViewMode:e.onOpenAccountViewMode,onResetClick:Fe,isResetDisabled:$}),t.jsx(Fa,{}),m==="small"||m==="medium-compact"?t.jsx(K,{space:a.sp5}):t.jsx(K,{space:a.sp8})]}),t.jsxs(ie,{windowSize:m,children:[t.jsx(xr,{firstMonthOfFY:r.firstMonthOfFY,calendarPeriod:h,numberOfAdditionalColumns:M.length,selectedOrderBy:V,dataAvailable:s,dateRange:D,defaultOptions:r,selectedTimeframe:v,bookCloseDate:r.bookCloseDate,onDateRangeChange:A,onSelectedTimeframeChange:x,onNewOrderBySelection:xe,selectedFileType:j,onAdditionalColumnsSelectionChanged:b}),t.jsx(K,{space:a.sp5})]}),t.jsxs(ie,{windowSize:m,children:[t.jsx(Ct,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,disabledAdditionalColumns:r.disabledAdditionalColumns,selectedTimeframe:v,dateRange:D,calendarPeriod:h,selectedAdditionalColumns:M,onAdditionalColumnsSelectionChanged:b,dataAvailable:s,selectedFileType:j}),t.jsx(K,{space:a.sp8})]})]}),t.jsx(ea,{onCancelClick:()=>o(),onViewReportClick:()=>{e.onUpdateDisplayOrder(V),e.onUpdateReportFormat(e.reportFormatProps.selectedFormat),l(W,Z),f?.(M,h.numberOfPeriods,!0),g?.(v,!1,!0),Ze(),o()},downloadingStatement:e.downloadState==="In-Progress",disabledDownloadButton:c.length===0,downloadTypeProps:{selectedFileType:j,calendarPeriod:h,numberOfAdditionalColumns:M.length,onNewFileTypeSelection:k=>{E(k),$e(!0)},resetToDefaultOption:Ge},onResetClick:Fe,isResetDisabled:$})]})},Na=e=>{const{defaultOptions:o}=e,[r,s]=u.useState(!1),i=o.additionalBalances;return t.jsxs(ha,{onClick:()=>{s(!0)},children:[t.jsx(Je,{visibility:r?"hidden":"visible",style:{cursor:"pointer",width:a.sp4,height:a.sp4}}),r?null:t.jsx(wa,{className:"download-badge",children:o.balancesFilter.numberOfPeriods+i.length}),r?t.jsx(ja,{...e,onClose:()=>s(!1)}):null]})};export{Na as DownloadOverlayButton,ja as default};
@@ -1,4 +1,4 @@
1
- import{q as a,j as i,c5 as P,o,F as h,y as s,cg as y,O as c,H as g,A as b,u as t,aN as L,jS as k,jT as C,jU as R}from"./index-BNH5gTAb.js";import{n}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,D=({rewardsPlan:e})=>{const r=[_(),A(),H({rewardsPlan:e})],d=a();return i.jsx(q,{children:r.map((f,j)=>i.jsxs(I,{children:[i.jsx(F,{children:f}),j<r.length-1?i.jsx(E,{windowSize:d}):null]},`step_${j}`))})},_=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(S,{windowSize:e,icon:"link",children:i.jsx(M,{windowSize:e})}),i.jsx(z,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},A=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(S,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(z,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},H=({rewardsPlan:e})=>{const r=a(),d=x.item3;return i.jsxs(p,{windowSize:r,children:[i.jsxs(m,{children:[i.jsx(S,{windowSize:r,icon:"money",children:i.jsx(B,{windowSize:r})}),i.jsx(z,{windowSize:r,children:d.title[e.planName]})]}),i.jsx($,{windowSize:r,children:i.jsx(u,{windowSize:r,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},p=n.div`
1
+ import{q as a,j as i,c5 as P,o,F as h,y as s,cg as y,O as c,H as g,A as b,u as t,aN as L,jS as k,jT as C,jU as R}from"./index-CU0svkHW.js";import{n}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,D=({rewardsPlan:e})=>{const r=[_(),A(),H({rewardsPlan:e})],d=a();return i.jsx(q,{children:r.map((f,j)=>i.jsxs(I,{children:[i.jsx(F,{children:f}),j<r.length-1?i.jsx(E,{windowSize:d}):null]},`step_${j}`))})},_=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(S,{windowSize:e,icon:"link",children:i.jsx(M,{windowSize:e})}),i.jsx(z,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},A=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(S,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(z,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},H=({rewardsPlan:e})=>{const r=a(),d=x.item3;return i.jsxs(p,{windowSize:r,children:[i.jsxs(m,{children:[i.jsx(S,{windowSize:r,icon:"money",children:i.jsx(B,{windowSize:r})}),i.jsx(z,{windowSize:r,children:d.title[e.planName]})]}),i.jsx($,{windowSize:r,children:i.jsx(u,{windowSize:r,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},p=n.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${o.sp2};
4
4
  box-shadow: ${e=>`${o.sp0} 1px 2px ${o.sp0} ${e.theme.colors.dropShadowNormal}`};