@zeniai/web-cockpit-ui 1.13.84-qa → 1.13.85-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 (249) hide show
  1. package/dist/assets/{ACHDetailsPage-Bya_wRcI-D24AQL3_.js → ACHDetailsPage-CRqyoYEz-xYrGFNnE.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-Bc2kKHSK-vnI3KLwi.js → AIPerformancePage-DAkvkXSA-CGVKmjkJ.js} +24 -24
  3. package/dist/assets/AccountInfoPage-6EVpo7mW-aLkrvciq.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BhU-TVmh-C-UpNXF8.js → AccountInfoPageContent-BWZbyIYz-Q8Byt1d2.js} +20 -20
  5. package/dist/assets/{AccountReconDetailsDrawerPage-Dp2R5isq-6LbQVUfj.js → AccountReconDetailsDrawerPage-DLd_igXD-BoD_5Mp7.js} +18 -18
  6. package/dist/assets/AccountRow-D4iz2vCr-FZzwmYfW.js +298 -0
  7. package/dist/assets/{AccountsPromoCardStack-DYUyO-ip-Afoar8fj.js → AccountsPromoCardStack-DIly1lFF-BymCGDNy.js} +22 -22
  8. package/dist/assets/{AddAddressForCardDrawer-CNSnxc8q-CfZsmSuQ.js → AddAddressForCardDrawer-C90j4Cwr-BKCwJ7c4.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-Q8uWTckm-C9vK1iqP.js → AddToWalletPage-Bo2KesYz-Cz9shvNb.js} +30 -30
  10. package/dist/assets/{AgingReportsPage-B-DOb7my-WwOH5_Yn.js → AgingReportsPage-DuoKsSkU-D9JwO5kE.js} +4 -4
  11. package/dist/assets/{AllUserItems-B86Y2Fmg-DwBM7tfH.js → AllUserItems-C0U1Brjm-bMWZMmau.js} +7 -7
  12. package/dist/assets/{ApAgingDetailPage-CMYJgTzS-C2HHMQbl.js → ApAgingDetailPage-dNwAZULr-Bgfeeq5D.js} +3 -3
  13. package/dist/assets/{AppBasePage-DJO-V2ox-C-oIOb39.js → AppBasePage-CfkaWEbJ-DV03x5l2.js} +4 -4
  14. package/dist/assets/{AppDrawerContent-5_QaBLwS-picTHWhb.js → AppDrawerContent-DlHQEgOZ-CwVua6gS.js} +2 -2
  15. package/dist/assets/{ApprovalRulesSettingsPage-CPbVQ97S-C7Jihchv.js → ApprovalRulesSettingsPage-Pl7HoLmk-7CPgqfk2.js} +6 -6
  16. package/dist/assets/{ArAgingChart-l020Rk_S-DFeuvhU_.js → ArAgingChart-xI9TRvfS-B-FSsHVj.js} +5 -5
  17. package/dist/assets/{ArAgingDetailPage-BeUPeHBJ-BkRCdWjT.js → ArAgingDetailPage-BMGCnP5d-Ia6ZCwAD.js} +2 -2
  18. package/dist/assets/{AttachmentView-Afp_U4fV-8-c7IhJe.js → AttachmentView-C8AgUAnY-CXbbCi9n.js} +8 -8
  19. package/dist/assets/{BankAccountSection-CNQgxgSJ-Bj0DaA_J.js → BankAccountSection-DB4PEf_X-BThY20p4.js} +4 -4
  20. package/dist/assets/{BankAccountWarningSection-V0HHzW57-vrqdtD7y.js → BankAccountWarningSection-BNO8Gl59-Cj0YvVYP.js} +5 -5
  21. package/dist/assets/{BankConnectionsSettingsPage-Bk8K0xUn-CeZc6fuw.js → BankConnectionsSettingsPage-BOreBo5b-ClbcS0AA.js} +22 -22
  22. package/dist/assets/{BillDetailPage-D9d6X0o4-DnbAMdeA.js → BillDetailPage-Bv86SywV-OjQAhExV.js} +5 -5
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-CSVTc5Mn-zEJJLZMO.js → BillPayApprovalRuleDetailPage-CDXxmD-3-CPsk0oK8.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-DIOOCVKH-ec-IeSJ_.js → BillPayApprovalRulesPage-Ci5Ok7Zj-tof82RhM.js} +3 -3
  25. package/dist/assets/{BillPayPromoPage-C44YKAlE-CZ8TnOy7.js → BillPayPromoPage-Co2j2krO-DmiPp1nW.js} +2 -2
  26. package/dist/assets/{BillPaySetUpPage-erTIfKkS-B8D6nffd.js → BillPaySetUpPage-DjpCUZaT-BN2J-t4G.js} +2 -2
  27. package/dist/assets/BillingSettingsPage-CAs7DZQz-CqK9Ho86.js +44 -0
  28. package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-BurxqQ7q.js +1 -0
  29. package/dist/assets/{BoxItem-UFBGpfBB-Hna_3gSj.js → BoxItem-BqLhtWoJ-N1dze3h9.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-Cl7jz1DF-P_BUnpPu.js → BusinessVerificationPage-CZGOzc9Z-fjFONiSD.js} +8 -8
  31. package/dist/assets/{CardNumberSubText-DyFZudV_-B0AxiMNx.js → CardNumberSubText-23sLjCVt-BzieyTnf.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-D0_YW2Dy-CJHMwowQ.js → CashbackDetailPage-DY0n94jz-BUYqnV34.js} +21 -21
  33. package/dist/assets/{ChargeCardDetailPage-YkvyvIEk-C3d7vBC0.js → ChargeCardDetailPage-NWTPnGtM-D2U2Irky.js} +58 -58
  34. package/dist/assets/{ChargeCardListPage-4vg8Q6bl-Btxhg5jy.js → ChargeCardListPage-D42dfnET-QGICTWTK.js} +35 -35
  35. package/dist/assets/{ChargeCardListTable-Dl-rblE6-D5iGQu5n.js → ChargeCardListTable-B7uRDVzb-T3KA1SlK.js} +25 -25
  36. package/dist/assets/ChargeCardPromoPage-CXiXee-8-DqF9CwRb.js +190 -0
  37. package/dist/assets/{ChargeCardSetupPage-BSiJnRP_-y1F_pjxz.js → ChargeCardSetupPage-Ccc8PoCm-BSIg4VNL.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-NkfA1SYG-kW4Au9ab.js → ChargeCardStatementsPage-JEslDm3r-C_RfZvQ8.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-CLpd-HDH-dMJ2Q_93.js → ChargeCardUtils-B3JEziD7-CwQE9qIG.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-B1cuawle-CSkF_51t.js → ChaseOverlay-KLet3F9X-BJh9nem5.js} +8 -8
  41. package/dist/assets/CheckDepositDrawerPage-JYHyo9Hw-BwsvgZ74.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-iMD5xyGN-DxpM_9bu.js → CollapsableReportTable-DshWn4Fc-1Ky5jq0N.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-BA7etm2I-DTt9FR5w.js → CompanyOfficerDetailsSection-DWqEolPc-C_ETEVFs.js} +26 -26
  44. package/dist/assets/{CompanyPassportCard-Dks4EQDN-B0Dzj-Sj.js → CompanyPassportCard-fyolEQTs-BpIPYjUj.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-Denliwgg-BRN9vOeB.js → CompanyPassportPage-CrgsRRVr-WqqSGX_w.js} +140 -140
  46. package/dist/assets/{CompleteProfile-CCLq4pNY-CtKBUzOW.js → CompleteProfile-D_zq0Bxi-Bi1YeUNU.js} +10 -10
  47. package/dist/assets/ConfettiBurst-CZuMHGP8-BTcuXQPa.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-BFejWQMx-C7NqnKds.js → CreateOrEditVendorPage-Ct4Kfowi-Drrod2cP.js} +15 -15
  49. package/dist/assets/{CreditCardPaymentDrawerPage-B7Sesq_n-DvfL88dh.js → CreditCardPaymentDrawerPage-Cpu-7pGN-z0mDR9Zy.js} +16 -16
  50. package/dist/assets/{CreditCardPaymentPlgSection-D5CNl0oa-DiWqHLoj.js → CreditCardPaymentPlgSection-DoMaCnIZ-BpT8OJXl.js} +10 -10
  51. package/dist/assets/{CurrencySelectField-DYvc6rwt-DrMXyXgk.js → CurrencySelectField-CCOtXLC7-DmgJhn-v.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-oUiw--hv-uDxfiRoM.js → CustomerOnboardingActivationPage-Cgzif1ji-CPNUkRDw.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-DwYZZ9jR.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BaDpU--M-Dr2X5vzk.js → CustomerOnboardingDetailPageSkeleton-BOMwRZEO-PNOXFbTm.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-C_cxcuWE-BQPyN4r3.js → CustomerOnboardingNoStepsPage-DDloVGvk-EFD3k0Z1.js} +8 -8
  56. package/dist/assets/CustomerOnboardingPage-DHji4ZmF-vPwCgWM6.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DEqdhh-2-DNDa-YZB.js → CustomerOnboardingProductSuitePage-BA3GAX42-usBGW0iL.js} +4 -4
  58. package/dist/assets/Dashboard-Cr5ugENA-_ss7RgaI.js +1251 -0
  59. package/dist/assets/{DashboardReportPage-Tq4KsQuw-C0NFJvrJ.js → DashboardReportPage-paPVk_v2-7626om2P.js} +67 -67
  60. package/dist/assets/{DepositAccTransactionItem-DWhVL-kH-HToIlcYx.js → DepositAccTransactionItem-BXRfgUfE-Bcw5EG9I.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-BiaZBvV4-Eo8UgPbX.js → DepositAccTransactionListPage--7TRlqKj-zqnHB4vQ.js} +8 -8
  62. package/dist/assets/{DocumentSecurityBanner-eGDvEOvr-Dfhgnjgy.js → DocumentSecurityBanner-B0Qt1FLC-BKK2GBle.js} +1 -1
  63. package/dist/assets/DomesticWireDetailsPage-RoRpMC50-Dx8FlvWR.js +21 -0
  64. package/dist/assets/{DownloadOverlay-C0vGOFIR-CLlCJb4E.js → DownloadOverlay-Cl_EXjiu-_W4-6wVr.js} +20 -20
  65. package/dist/assets/{DrawerPage-keu-rP1c-BE2Fh2qJ.js → DrawerPage-wXwAaYEB-ClkK54Ag.js} +8 -8
  66. package/dist/assets/EditPeoplePage-xDL6VA_r-DBIETQHy.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-jqf5akyj-a9iq4xwG.js → EditReimbursementDetailPage-BUpJPJNu-BuRQj9KF.js} +74 -74
  68. package/dist/assets/{EntityDetailPage-D0mZIEcR-Rg_90ffL.js → EntityDetailPage-BNXqSwVL-BtqM-DEW.js} +2 -2
  69. package/dist/assets/{EntitySummarySection-bL2stKO1-CambP6kY.js → EntitySummarySection-MZ57i-bY-H7IGJvB2.js} +11 -11
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Cm00uGHv-BucC69E3.js → ExpenseAutomationOverviewPage-Y3IHs4dG-BCr8LQIN.js} +17 -17
  71. package/dist/assets/{ExpenseAutomationPage-BA8sRxM--BvNgZY1Q.js → ExpenseAutomationPage-C0hvPLo7-CxYhLUjG.js} +84 -84
  72. package/dist/assets/{ExpressPayPage-DRNbLpuL-BTcYYJnP.js → ExpressPayPage-Bncb54-Q-m2KDux54.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-CeeAOF5C-DHX56uCl.js → FeaturePreviewPage-BnGBEF9H-DIdV1EEF.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-DuElPK3y-dhjgL0Nu.js → FollowStepsSection-laCvnETV-BKhPlVRt.js} +7 -7
  75. package/dist/assets/{GlobalReviewListPage-DfjZMTms-DrRjYv7e.js → GlobalReviewListPage-CskEuHc5-BvuvkrWm.js} +10 -10
  76. package/dist/assets/HelpButton-D5ZYyQMh-D3OqqJNA.js +28 -0
  77. package/dist/assets/{InformationCardStack-CmquAm7A-Bio4HHzL.js → InformationCardStack-BFJqdH9n-Cbvb8Zyt.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-D5ahtQWr-B_JxN54j.js → InsightsCardStack-CcoMWMiA-BcmYr1H8.js} +9 -9
  79. package/dist/assets/{InsightsSection-xgqf4arB-CemPO1xM.js → InsightsSection-D9PiJagu-DOwHVFks.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-Cl6dfKQL-WHKkc-0x.js → IntegrationsSettingsPage-CVmDobJ8-CKVB31Cy.js} +5 -5
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-D_jWoFli-CGo3Glkw.js → InternationalWireSwiftDetailsPage-DqW88v9N-H1bFtbsa.js} +11 -11
  82. package/dist/assets/{InternationalWireVerificationPage-it1U4OPj-CAqG3vli.js → InternationalWireVerificationPage-X90z_30k-xPYg__QG.js} +17 -17
  83. package/dist/assets/{InviteFormPage-DTMy8xZk-2GrL0qjS.js → InviteFormPage-BK-PRmeH-BAomtB1K.js} +23 -23
  84. package/dist/assets/{InvitePageListView-X7W1jRxY-DLLNNo8k.js → InvitePageListView-6-iCc4BK-DiUJrTMB.js} +31 -31
  85. package/dist/assets/InvitePeoplePage-C9AwNqIx-U6OqJmP1.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-BhCDvIPX-e244hYqN.js → InvoiceUploadSection-D5aF4auL-D8CZg2Vk.js} +7 -7
  87. package/dist/assets/{IssueChargeCardPage-CqE8lMsX-CQoXeSdg.js → IssueChargeCardPage-C_xt7hKZ-CgCvIFoE.js} +22 -22
  88. package/dist/assets/{LabeledAddressValue-CCEVX0ke-Dr-Y2rNd.js → LabeledAddressValue-DpSK0MqC-D58RjKgD.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-B9iirKZj-B-lkILdh.js → LabeledAddressValueField-_LY7c-ZC-EdJfII0E.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-Bl3-Zao6-CHB8td0R.js → LabeledControlledCheckBoxField-FB40Z8J7-CUjOIHO8.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-v86g-OZd-NNxB-j11.js → LabeledCreatableSingleSelectField-paSeI8_R-COJp3Y9m.js} +7 -7
  92. package/dist/assets/LabeledDocumentField-DiMgPKtR-DDw2gK-2.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-DsjpTL6X-BQHdfd5e.js +59 -0
  94. package/dist/assets/{LabeledText-D9feJraX-o9BoQjAH.js → LabeledText-CyXj8QWV-DunmbzZf.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BKNBvO_C-BxGzxKzb.js → LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-oJIrTzfz.js} +7 -7
  96. package/dist/assets/{LabeledZeniRolesDropDownField-AwQaO42N-CKgF9hTJ.js → LabeledZeniRolesDropDownField-D0cQlbhO-Dqs02jMf.js} +26 -26
  97. package/dist/assets/{LinkJETransactionPage-D3I2NvQw-P3R8MlXe.js → LinkJETransactionPage-DaXjiQRp-CH9vE8pm.js} +8 -8
  98. package/dist/assets/{LowBalancePopup-OSUi1Alp-BiLt2AdI.js → LowBalancePopup-CdftTvLb-DzgqRFO5.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-r3XSoJ11-Cv-fI0u0.js → MagicLinkACHDetailsPage-C25i1T4c-B_gtZsWu.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DPG9fUzZ-B7fiv6MZ.js → MagicLinkDomesticWireDetailsPage-B0r3WStl-CY0AGP-m.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CmXJXEaN-Tp9z-x5e.js → MagicLinkInternationalWireDetailsPage-C-ev-6xJ-DYlN82pS.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-CwszAuW2-Bix3eRV8.js → MagicLinkSuccessPage-7JG3V4Qt-Brf6FY6k.js} +5 -5
  103. package/dist/assets/{MagicLinkTitleSection-CvrbJ-of-B5SXKUsj.js → MagicLinkTitleSection-DEe0hhml-De1g7fYA.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-BJHZIZCt-Dq0ArLOp.js → MailingDetailsSection-Qc65E0w3-C6CH0-UP.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-C4r3bJ84-B_7Xob1I.js → MeetingCalenderPopup-Dh8meV6d-BwK6voO1.js} +1 -1
  106. package/dist/assets/{Menu-MHZ6Ibt0-DsBN8RMC.js → Menu-DyfXBl_1-H_GViJ7L.js} +3 -3
  107. package/dist/assets/{MyBankConnectionsSettingsPage-DG1tuqAt-BHEUeVdz.js → MyBankConnectionsSettingsPage-CCFcVgyX-Cj9pmtPo.js} +13 -13
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DZyxqqyJ-BhPK50AW.js → MyPendingActivationChargeCardListPage-DS966wTB-DXMBzQKu.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BnNbspx9-D_qqDWXw.js → MyProfileSettingsPage-BRRzMoQL-z-2QKlLv.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-3okDhiol-CJJ9BrpE.js → NavBarWithPicker-BvWih0k0-DqsmpQXd.js} +2 -2
  111. package/dist/assets/{NavigationArrow-iw-yd_9S-DvXlGggY.js → NavigationArrow-DYSL2aDL-BJUiAKpZ.js} +9 -6
  112. package/dist/assets/{NavigationDots-CB5JLuJi-Bme4BexN.js → NavigationDots-DyyCcIih-C83s6vN7.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-CcGws2R2-Coiq6yZx.js → NewGlobalMerchantPage-DjEvzM4M-D2PAZo-X.js} +33 -33
  114. package/dist/assets/NoDataChart-DE6NV823-DlzVvXWT.js +26 -0
  115. package/dist/assets/{NoDataTable-BbDo9Kma-CGZ-ZRju.js → NoDataTable-CXNsBBVP-CNpKcnQr.js} +1 -1
  116. package/dist/assets/{NotFoundPage-gbtwlR8l-C8W_IclM.js → NotFoundPage-CuuO2Mia-DtoiuMBe.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-slkQwvVZ-C6_X1MwL.js → NotificationSettingsPage-C7ilxUAV-DVBhuDeZ.js} +16 -16
  118. package/dist/assets/NotificationsListConfig-TBQMobJ5-Dg1BFWgp.js +1 -0
  119. package/dist/assets/{NotificationsPage-BAyRPK64-D9pYswFj.js → NotificationsPage-BjaKD99B-HczC9sOP.js} +32 -32
  120. package/dist/assets/{OpExByVendorPage-CofD6hKi-_r0JCjwW.js → OpExByVendorPage-IuDiHnIW-DSQhabH4.js} +5 -5
  121. package/dist/assets/{OverlayContainerPage-nhe7xtoR-BqnlKexX.js → OverlayContainerPage-C0rUb6-5-zCXylyg1.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-_uOEFXiy-uRGPUMun.js → PandLWithForecastPage-DLvgYpF8-BvtUu1nj.js} +7 -7
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C0zGxU4f-BbIQnivK.js → PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DItr6wpu.js} +8 -8
  124. package/dist/assets/{PeoplePage-8GExF-Lt-DycjJFii.js → PeoplePage-DyqY-rIV-6wYuIYCy.js} +19 -19
  125. package/dist/assets/{PortfolioAllocationFormPage-CMKEE7P7-BAgV1W9Q.js → PortfolioAllocationFormPage-DTuKtkwr-BCUD0jpE.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-A3P3vG57-D-PvzBt-.js → PortfolioDetails-DJFeMG4U-jhRfPjHw.js} +11 -11
  127. package/dist/assets/{ProductsCarousel-D9H3mUJ--BVzwDfPL.js → ProductsCarousel-CS4_yc80-CJENMC5j.js} +7 -7
  128. package/dist/assets/{PromoBaseCards-CF0Bv_9G-CPu8OwaX.js → PromoBaseCards-BZ2m6LfO-DtHfjjw4.js} +25 -25
  129. package/dist/assets/{QBOConnectionDialog-D2zi5wKm-BnMrx2Jb.js → QBOConnectionDialog-2vJQuslh-gswZrMuL.js} +6 -6
  130. package/dist/assets/{QBOSetupSection-B3Dj2g2k-B6Vh45jl.js → QBOSetupSection-Yv3Xw-yn-CsTlHo9j.js} +11 -11
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DgpHHy3U-CVsGPnLd.js → ReimbursementApprovalRuleDetailPage-tvJ2APRB-CJktCsdd.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-BjFi-uJl-B-1i4jgW.js → ReimbursementApprovalRulesPage-_nXCDa2A-BNgKNHzv.js} +8 -8
  133. package/dist/assets/{ReimbursementDetailPage-BersvjG9-CWQWXTAd.js → ReimbursementDetailPage-CtEAsq7u-DRdTiZKG.js} +7 -7
  134. package/dist/assets/{ReimbursementPromoPage-K8dT-rtu-ejmkM2xl.js → ReimbursementPromoPage-BaEX5Ej4-BuvxoLSr.js} +16 -16
  135. package/dist/assets/{ReimbursementSetUpPage-CfBuIpx6-BHJ5mWF-.js → ReimbursementSetUpPage-DXOqEJL4-iJtd4hOD.js} +12 -12
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-yaSD_tF5-CtbYjDdi.js → ReimbursementsBulkReviewDrawerPage-HQg1y1K--CLvh9oMo.js} +1 -1
  137. package/dist/assets/{ReloadCard-Do9Znv21-BdHDUomQ.js → ReloadCard-stfG9ekP-E5rZnPxi.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-D1UrK7VQ-B2lv_ic2.js → ReportTableViewSelector-_RTCd2td-Bc2QvO79.js} +7 -7
  139. package/dist/assets/{ReportsPage-dER5Ukfc-CkbR9-hx.js → ReportsPage-BIzz5Dt_-NFZB2f2n.js} +9 -9
  140. package/dist/assets/{RevenueChart-CCr_XauF-DE6xvLaq.js → RevenueChart-DeDVVUge-BKnJBaLk.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-ZoXTLGfR-CMQzdLlE.js → ReviewDetailsPage-DZqPpiln-DMAHDtV0.js} +19 -19
  142. package/dist/assets/{ReviewOverlay-Bywh-8pJ-CohY-7e4.js → ReviewOverlay-DcBe94Sd-COJlSRKh.js} +14 -14
  143. package/dist/assets/{RoleWithToolTip-CX9tF-BO-CfHGhDZn.js → RoleWithToolTip-DZO2tooH-B0y78jDy.js} +6 -6
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BEXr2qc0-BzP6cE1T.js → ScheduleDetailsFixedAssetsPage-Cl8iBII0-5-jnemx1.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-CR8uJC5O-BvWjtOn1.js → ScheduleDetailsPage-D6ZxZ2uU-CKiYugJn.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-D7kDvImN-BYm5tvmN.js → ScheduleSequenceTable-eRImHbZn-zcCUBGZK.js} +50 -50
  147. package/dist/assets/{ScreenRoutes-wesefRwS.js → ScreenRoutes-CXwvcn5x.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-B0J0zCOF-BgXG5DS8.js → SetUpAccountSection-BBZNI1Xl-C0b9akyJ.js} +103 -103
  149. package/dist/assets/{SetUpDefaultSection-ES6v0-xw-DftidMnh.js → SetUpDefaultSection--9Qh-utY-3YrGFMUC.js} +16 -16
  150. package/dist/assets/{SignIn-yQ-8MBRA-CihMyZ7q.js → SignIn-CI0Ik2va-3pWKv9Zj.js} +19 -19
  151. package/dist/assets/{SignInScreen-DS6fEfuU.js → SignInScreen-CCdAg0VB.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-_rUojA3M-EqvrqWBS.js → SpendManagementListViewPage-NWkSnIdD-CxhuHjHo.js} +13 -13
  153. package/dist/assets/{SpendManagementPerTabPage-Bhes-f7M-Cb3eyaQr.js → SpendManagementPerTabPage-CdWwn_b8-liFVp2pd.js} +47 -47
  154. package/dist/assets/{SpendManagementSection-CQHWqht2-DUZQM13E.js → SpendManagementSection-DGhD95sz-DwpipRyt.js} +9 -9
  155. package/dist/assets/{SpendMgmtSetupAccountSection-BHZ9nmWy-XOLb3Fur.js → SpendMgmtSetupAccountSection-DG4ozkeT-CwbSJso6.js} +14 -14
  156. package/dist/assets/{StatementItem-CKnsnb3u-ChM8cclP.js → StatementItem-BlfBohft-EV50IPyl.js} +8 -8
  157. package/dist/assets/StatementsPage-CUpjL5u7-BCXI4rzX.js +58 -0
  158. package/dist/assets/{StatusSwitcher-xR-S3KaW-BKRdafwP.js → StatusSwitcher-C6703BAG-BvT29XW2.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-DczmDw-I-DARuAs1S.js → SubTabSwitcher-lf9S7Ubj-DJDWAJ0r.js} +1 -1
  160. package/dist/assets/{SummaryCard-YTxf_JPz-B8RE6XJZ.js → SummaryCard-yghz4PLR-Bjx-2ODn.js} +1 -1
  161. package/dist/assets/TaskManagementPage-Cf523C5f-IxjfQuXH.js +508 -0
  162. package/dist/assets/{TimeRangeSwitcher-C5yC8ifv-C8eV7Phr.js → TimeRangeSwitcher-BoPrOhKX-BejCCLXp.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-D1xKpIjp-DZocHPU3.js → TimeframeSwitcher-DufweySH-PZfP9LZt.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-4nzCluDg.js +31 -0
  165. package/dist/assets/{TopExCard-CJN2nSdQ-Dyx710RI.js → TopExCard-DrOjlLiv-BAcprpz7.js} +6 -6
  166. package/dist/assets/{TopExDetailPage-ClQK2WDh-vTx0gLy7.js → TopExDetailPage-Ds4zlxKD-CEw3GubR.js} +11 -11
  167. package/dist/assets/{TransactionDetailPage-CcNUBQmc-Bqi04LL8.js → TransactionDetailPage-Csl-Qjxp-EnZp16li.js} +47 -47
  168. package/dist/assets/{TransactionList-Dtqr5BZm-2I1pMc5u.js → TransactionList-2HeLZVn9-CrbbPmBE.js} +13 -13
  169. package/dist/assets/{TransactionListBig-D5_iDOBi-CLtD8kFo.js → TransactionListBig-p6iVof9y-BIk3tMms.js} +18 -18
  170. package/dist/assets/{TransactionListPage-DUCJRiyi-Bc5rziPm.js → TransactionListPage-tnL66tOu-CH3TLKSv.js} +6 -6
  171. package/dist/assets/{TransactionVendorDetailPage-DSpchZAl-CViZ0jmN.js → TransactionVendorDetailPage-DzkUYyCr-CDrpLHNP.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-BKWQEojA-CbMkqPsC.js → TransferDrawerPage-B9MGSdS9-CzcQLCyn.js} +28 -28
  173. package/dist/assets/{TreasuryOverviewPage-D1D2WipM-Pwv9-UGk.js → TreasuryOverviewPage-BEzBuOWn-BGywb4hM.js} +31 -31
  174. package/dist/assets/{TreasuryPromoPage-BKgJHnC1-DyZjT5wh.js → TreasuryPromoPage-C8X4X7iN-D0YArboa.js} +15 -15
  175. package/dist/assets/TreasurySetupPage-Cb_GW75l-CXuYmMxJ.js +152 -0
  176. package/dist/assets/{TreasuryStatementsPage-DKHWWnrU-B3Bgyu2R.js → TreasuryStatementsPage-sOiD2QYm-_sZuOKSh.js} +7 -7
  177. package/dist/assets/{TreasuryTaxLetterPage-ieX9MUQd-FaNLEXUv.js → TreasuryTaxLetterPage-DYzqfHym-58oHHynw.js} +7 -7
  178. package/dist/assets/{TreasuryTransferOrReviewPage-DebuIwR3-DyjGtRDG.js → TreasuryTransferOrReviewPage-CesaUuNp-BPIM69Eo.js} +85 -85
  179. package/dist/assets/{TrendChart-B3VgdtYY-Dy5fluFV.js → TrendChart-kwGU0d90-GuSGL0hJ.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-BMorBxWJ-C0G8In8o.js → TrendWithTransactions-CUlTYGIm-CezwwQyi.js} +3 -3
  181. package/dist/assets/{UncategorizedAccountsMappingPage-BtmfySl9-BN2ZnER4.js → UncategorizedAccountsMappingPage-D76VPNEd-0jriRkP3.js} +15 -15
  182. package/dist/assets/{UnitIntegrationPage-ByqJQgJ1-BX7a3DQa.js → UnitIntegrationPage-BsZCe-lq-DHXBulD5.js} +4 -4
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-Dwv3x7HQ-Ct27O0zE.js → UploadAdditionalDocumentOverlay-B3tUNhKj-B-Cnmuf3.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-BVCUSOMr-BGHN4Pyc.js → Vendor2FAPopup-Bk-WKgMh-DEL2u-h6.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-Cyp1bTJx-DCBHt584.js → VendorACHDetailsPage-u8a3XF33-D560uVGS.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-1_rVoehK-BobdIlMd.js → VendorDetailPage-B-RdB79n-DCaK7fJL.js} +15 -15
  187. package/dist/assets/{VendorDomesticWireDetailsPage-B0wv2GP--DTrjpRQD.js → VendorDomesticWireDetailsPage-Bhb1Dmge-CBaHEUU6.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-C5rHkQrV-CdnxzjBF.js → VendorFiling1099EditablePage-DHRivhBg-D2O_5fGv.js} +10 -10
  189. package/dist/assets/{VendorFirstReviewPage-CDlmZHmw-F8vzLeda.js → VendorFirstReviewPage-Cn2GBsyl-Crwyd647.js} +29 -29
  190. package/dist/assets/{VendorInternationalWireDetailsPage-Cdy000Jx-D5vc2ds4.js → VendorInternationalWireDetailsPage-Cjx1hvUL-CfeyeaMQ.js} +7 -7
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DRN-5n5Y-BNzUBPow.js → VendorInternationalWireSwiftDetailsPage-BszRCCDh-BwXuAv_8.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-Ba7QpWAm-BA29ezpA.js → VendorsAccountsSection-D6VSJUo1-D3zBJygS.js} +4 -4
  193. package/dist/assets/{WarningsDrawerPage-DCUPzxfi-Cw0kcPsl.js → WarningsDrawerPage-DReVGPEj-CByBNeKa.js} +4 -4
  194. package/dist/assets/{ZeniAccountDetailPage-DF7Tn3t3-Bb4ItLLQ.js → ZeniAccountDetailPage-CFTB_WYX-BNpX3bjE.js} +28 -28
  195. package/dist/assets/{ZeniAccountListViewPage-Cz9v3TCo-DC90elHU.js → ZeniAccountListViewPage-BmYgbIuC-CB7ObKhn.js} +18 -18
  196. package/dist/assets/ZeniAccountNavBarPieces-gzy5T7nu-3EZY4gW6.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-D7veJGZk-CE2g39oZ.js → ZeniAccountPromoPage-AfRVTc8V-Ck8cpTYF.js} +10 -10
  198. package/dist/assets/{ZeniAccountSetupPage-ftl559Pj-DUN6Xu8R.js → ZeniAccountSetupPage-YXJmpz_d-DVvqqczO.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-BScA_p2_-3vVWZkac.js → ZeniCopyright-CqpcrgAZ-sq7_yXnA.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-Bu23FZCA-L2os7fMa.js → ZeniTransferAmountSlider-DGkzRyMW-Btixfh5b.js} +1 -1
  201. package/dist/assets/analytics-DThoELaW.js +7 -0
  202. package/dist/assets/{analyticsHelper-SSZc85h7.js → analyticsHelper-adG_BjY9.js} +1 -1
  203. package/dist/assets/{analyticsHelper-CGq-fGOi-CdOAgckK.js → analyticsHelper-sgo3pabT-K1toqw66.js} +1 -1
  204. package/dist/assets/{chartTypes-ChsIdl40-BAMg3Yoy.js → chartTypes-Dj-_K0Gi-BTPAwFj5.js} +1 -1
  205. package/dist/assets/{commonDimensions-Dk1fkj7r-DiuY44GO.js → commonDimensions-CKgBEMhT-DV1PneSk.js} +1 -1
  206. package/dist/assets/{detailCommon-BdiFpATU-C4tIDJfX.js → detailCommon-vtB2ffbe-CI1tw59v.js} +6 -6
  207. package/dist/assets/{downloadPdf-h21F3Bzk-BukvqPr-.js → downloadPdf-CiC0AXNH-BaYefCbJ.js} +1 -1
  208. package/dist/assets/{index-BU_OFOHO.js → index-nrhSmhQT.js} +3364 -3324
  209. package/dist/assets/{liveblocks-BUGn2yQ6.js → liveblocks-sSQ9JElv.js} +1 -1
  210. package/dist/assets/{mapLoadingInProgressToTreeNode-Bimz-BOL-DbOC86fY.js → mapLoadingInProgressToTreeNode-0MIZwF_y-C-JcxjaL.js} +1 -1
  211. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Dy2RH2lH--F7hkKSm.js → mapSectionWithAcOnlyToTreeNode-CWaIGa37-TStxu4Jm.js} +1 -1
  212. package/dist/assets/{mapSpacerToTreeNode-CadZGfr8-BC_KRXsY.js → mapSpacerToTreeNode-1Bdqp9WS-BwfPBFlV.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-BvXiirfs-BVF2yIEM.js → mapTimeframeBalancesToTreeNode-MPZhFWqo-BaV0QGS3.js} +1 -1
  214. package/dist/assets/mui-C5LQ0bMa.js +25 -0
  215. package/dist/assets/{play-icon-DD7TfH-R-DFC4jJ2P.js → play-icon-CF-Mkuir-DlDAGdqf.js} +1 -1
  216. package/dist/assets/{redux-DmDqXYej.js → redux-ByjIRbhZ.js} +1 -1
  217. package/dist/assets/{routing-BNz5gZgX.js → routing-Cpaypegg.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-Dy9J_UtA-BOr91SlJ.js → toCOABalancesWithID-D1BwrImS-goHqPuef.js} +1 -1
  219. package/dist/assets/{toChartData-BdomEAJ--DsSFVPa5.js → toChartData-DVTo0PPD-CtviYuE-.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-D2LtJllD-vFc_5JFm.js → treasuryColorHelper-QzSX5YTe-9nXuNVNj.js} +1 -1
  221. package/dist/assets/{uploadAttachment-C5PL0FaC-BEd4sEZo.js → uploadAttachment-BxwOR3I5-CYLMnUD6.js} +29 -29
  222. package/dist/assets/{uploadReceipts-BH9fi3Vt-Dy17GpvZ.js → uploadReceipts-Buvz7DfG-D9z5xpPz.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +5 -5
  225. package/dist/assets/AccountInfoPage-d3ST-rTL-C3RGUA9e.js +0 -18
  226. package/dist/assets/AccountRow-t4I1y-2K-CtaiIm2n.js +0 -298
  227. package/dist/assets/BillingSettingsPage-CmvoTc8r-DeChOFZr.js +0 -44
  228. package/dist/assets/BillsBulkReviewDrawerPage-OSbHVAMk-DHypnLOn.js +0 -1
  229. package/dist/assets/ChargeCardPromoPage-BzcIsHeK-DWt1qpzp.js +0 -175
  230. package/dist/assets/CheckDepositDrawerPage-BwJ5tAF--BOjUwQ0e.js +0 -206
  231. package/dist/assets/ConfettiBurst-MKPxinI7-D5PjCF0D.js +0 -1
  232. package/dist/assets/CustomerOnboardingContainerPage-D2xC_a0G-Edo-ai-j.js +0 -1
  233. package/dist/assets/CustomerOnboardingPage-Cuf1lJmu-DJVUg9pf.js +0 -107
  234. package/dist/assets/Dashboard-DnR1KvYd-qcmjh10k.js +0 -778
  235. package/dist/assets/DomesticWireDetailsPage-Bvmpk8LN-Cb6zfshw.js +0 -21
  236. package/dist/assets/EditPeoplePage-BTnhywM--C7FSnENf.js +0 -55
  237. package/dist/assets/HelpButton-BKCFqzW3-mV3KEyfP.js +0 -28
  238. package/dist/assets/InvitePeoplePage-fzgtceuE-Ds-gEhhL.js +0 -12
  239. package/dist/assets/LabeledDocumentField-Dv4qzOY0-B2ZnIaW5.js +0 -41
  240. package/dist/assets/LabeledDropDownFormattedTextField-BFMEaVfR-Cbq5gKFg.js +0 -59
  241. package/dist/assets/NoDataChart-BsN_tNbW-DRgn1703.js +0 -26
  242. package/dist/assets/NotificationsListConfig-DtsQwW2b-D98CVoY-.js +0 -1
  243. package/dist/assets/StatementsPage-B73U7d9e-DHwgyw8_.js +0 -58
  244. package/dist/assets/TaskManagementPage-LDFC29Ik-C44JMD6X.js +0 -508
  245. package/dist/assets/TimeframeSwitcherWithToggle-BiHAqit5-BfVPVHhs.js +0 -31
  246. package/dist/assets/TreasurySetupPage-C2JtTOhh-C5WOQnSa.js +0 -152
  247. package/dist/assets/ZeniAccountNavBarPieces-BSObmR0D-Dr6kpot6.js +0 -14
  248. package/dist/assets/analytics-BSSiLa6f.js +0 -7
  249. package/dist/assets/mui-BgvZYSo0.js +0 -22
@@ -1,7 +1,7 @@
1
- import{M as F,j as o,o as t,aJ as D,g as j,Z as ne,q as ae,aO as se,aP as ie,aQ as ce,aR as le,aS as J,k as de,a0 as W,V as pe,u as Q,w as ue,l as me,Y as Z,ad as he,W as ge,a8 as xe,v as q,at as fe,au as Ce,s as $e,av as ye}from"./index-BU_OFOHO.js";import{n as r,k as _,j as K,b as N,f as S}from"./vendor-CnQcJ2Lu.js";import{c as ve}from"./SummaryCard-YTxf_JPz-B8RE6XJZ.js";import{b as X}from"./NavigationArrow-iw-yd_9S-DvXlGggY.js";import{f as je}from"./NavigationDots-CB5JLuJi-Bme4BexN.js";const Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",be="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",ke="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const s=e==="right"?`-${n}%`:`${n}%`;return _`
1
+ import{M as F,j as o,o as t,aa as D,g as j,Z as ne,v as ae,aO as ie,aP as se,aQ as ce,aR as le,aS as J,k as de,a0 as Y,U as pe,u as K,t as me,l as ue,Y as L,a9 as he,V as ge,a4 as xe,w as q,ab as fe,aj as Ce,q as $e,ao as ye}from"./index-nrhSmhQT.js";import{n as r,k as _,j as Q,b as N,f as S}from"./vendor-CnQcJ2Lu.js";import{c as ve}from"./SummaryCard-yghz4PLR-Bjx-2ODn.js";import{x as E}from"./NavigationArrow-DYSL2aDL-BJUiAKpZ.js";import{f as je}from"./NavigationDots-DyyCcIih-C83s6vN7.js";const Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",be="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",ke="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return _`
2
2
  0% {
3
3
  opacity: 0;
4
- transform: translateX(${s});
4
+ transform: translateX(${i});
5
5
  }
6
6
  100%{
7
7
  opacity: 1;
@@ -14,16 +14,16 @@ import{M as F,j as o,o as t,aJ as D,g as j,Z as ne,q as ae,aO as se,aP as ie,aQ
14
14
  100%{
15
15
  height: ${t.sp10};
16
16
  }
17
- `,Pe=(e,n)=>{const s=n*100,a=e==="up"?"0%":`-${n*100}%`,i=e==="up"?`-${s}%`:"0%";return _`
17
+ `,Pe=(e,n)=>{const i=n*100,a=e==="up"?"0%":`-${n*100}%`,s=e==="up"?`-${i}%`:"0%";return _`
18
18
  0% {
19
19
  transform: translateY(${a});
20
20
  }
21
21
  100%{
22
- transform: translateY(${i});
22
+ transform: translateY(${s});
23
23
  }
24
- `},ze=(e,n)=>{const s=e==="down"?`-${n*100}%`:"0%";return K`
25
- transform: translateY(${s});
26
- `},V=K`
24
+ `},ze=(e,n)=>{const i=e==="down"?`-${n*100}%`:"0%";return Q`
25
+ transform: translateY(${i});
26
+ `},V=Q`
27
27
  width: ${t.sp7};
28
28
  height: ${t.sp7};
29
29
  border-radius: 50%;
@@ -51,7 +51,7 @@ import{M as F,j as o,o as t,aJ as D,g as j,Z as ne,q as ae,aO as se,aP as ie,aQ
51
51
  `,ee=r.div`
52
52
  overflow: hidden;
53
53
  display: flex;
54
- `,w=r(se)`
54
+ `,w=r(ie)`
55
55
  ${ae.accountsPromoHighlightText.css};
56
56
  color: ${e=>e.theme.colors.zeniAccountsPromoCardHighlightText};
57
57
  `,Te=r($e)`
@@ -70,24 +70,24 @@ import{M as F,j as o,o as t,aJ as D,g as j,Z as ne,q as ae,aO as se,aP as ie,aQ
70
70
  justify-content: center;
71
71
  gap: 20px;
72
72
  margin-right: ${t.sp2};
73
- `,Ze=r.div`
73
+ `,Le=r.div`
74
74
  height: 100%;
75
75
  width: 1px;
76
76
  background-color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
77
77
  margin-right: 2px;
78
- `,Le=r.div`
78
+ `,Ze=r.div`
79
79
  display: flex;
80
80
  flex-direction: column;
81
81
  justify-content: center;
82
82
  gap: ${t.sp2};
83
83
  overflow: hidden;
84
- `,Oe=r.div`
84
+ `,Ue=r.div`
85
85
  display: flex;
86
86
  align-items: center;
87
87
  gap: ${t.sp1};
88
88
  animation: ${T("right",100)} normal 0.3s 1
89
89
  forwards;
90
- `,Ue=r.div`
90
+ `,Oe=r.div`
91
91
  height: 34px;
92
92
  width: ${t.sp5};
93
93
  border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
@@ -120,19 +120,19 @@ import{M as F,j as o,o as t,aJ as D,g as j,Z as ne,q as ae,aO as se,aP as ie,aQ
120
120
  transform-origin: top;
121
121
  animation: ${we} normal 0.6s 1 forwards;
122
122
  animation-delay: 0.6s;
123
- `,Y=r.div`
123
+ `,G=r.div`
124
124
  opacity: 0;
125
125
  transform: translateX(-50%);
126
126
  animation: ${T("right",50)} normal 0.6s 1
127
127
  forwards;
128
128
  animation-delay: 1.2s;
129
- `,Ee=r.div`
129
+ `,Xe=r.div`
130
130
  max-height: ${t.sp6};
131
131
  animation: 1s normal 0.5s 1
132
132
  ${e=>Pe(e.direction,e.stepCount)};
133
133
  animation-fill-mode: forwards;
134
134
  ${e=>ze(e.direction,e.stepCount)}
135
- `,We=r.div`
135
+ `,Ye=r.div`
136
136
  display: flex;
137
137
  `,I=r.div`
138
138
  margin-right: -${t.sp3};
@@ -140,9 +140,9 @@ import{M as F,j as o,o as t,aJ as D,g as j,Z as ne,q as ae,aO as se,aP as ie,aQ
140
140
  transform: translateX(50%);
141
141
  animation: ${T("left",75)} ease-out 0.3s 1
142
142
  forwards;
143
- `,L=r.img`
143
+ `,Z=r.img`
144
144
  ${V}
145
- `,Xe=r(I)`
145
+ `,Ee=r(I)`
146
146
  display: flex;
147
147
  justify-content: center;
148
148
  align-items: center;
@@ -151,14 +151,14 @@ import{M as F,j as o,o as t,aJ as D,g as j,Z as ne,q as ae,aO as se,aP as ie,aQ
151
151
  background-color:${j.brandColorGold};
152
152
  `,Re=r(ne)`
153
153
  color: ${e=>e.theme.colors.brandColorOnyx};
154
- `,Ye=r(ie)`
154
+ `,Ge=r(se)`
155
155
  width: ${t.sp4};
156
156
  height: ${t.sp4};
157
157
  color: ${e=>e.theme.colors.zeniAccountsPromoCardHighlightText};
158
158
  path {
159
159
  stroke-width: 2px;
160
160
  }
161
- `,Ge=(e,n)=>{const{common:s}=F.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,i)=>o.jsx(Ee,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,h)=>o.jsx(w,{className:"card-highlight-text",children:p},`${p}_${h}`))},`${a.direction}_${i}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Be,{})]}),o.jsx(Ze,{}),o.jsxs(Le,{children:[o.jsxs(Oe,{children:[o.jsx(Ue,{}),o.jsxs(R,{isZeniProgressBar:!1,children:[n[0].values[0]," ",s.texts.insured]})]}),o.jsxs(Ne,{children:[o.jsx(Fe,{children:n[0].values[1]}),o.jsx(R,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:s.texts.insured})]})]})]});case"freeWire":return o.jsxs(ee,{style:{gap:t.sp2},children:[o.jsxs(w,{style:{position:"relative"},children:[n[0].values[0],o.jsx(_e,{})]}),o.jsx(w,{children:o.jsx(Y,{children:o.jsx(Ye,{})})}),o.jsx(w,{children:o.jsx(Y,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(We,{children:[o.jsx(I,{style:{animationDelay:"0.2s"},children:o.jsx(L,{src:Ae})}),o.jsx(I,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(L,{src:be})}),o.jsx(I,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(L,{src:ke})}),o.jsx(Xe,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(Re,{children:[" ",n[0].values[0]]})})]})}};let G;function Je({zeniAccountsPromoCardContent:e,showConfetti:n}){const[s]=fe("Confetti"),a=Q(),[i,p]=N.useState(!1);N.useEffect(()=>(n&&(G=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(G),p(!1)}),[n]);const{prefix:h,header:d,headerAnimationData:u,showAnimation:f,key:g}=e;return o.jsxs(De,{children:[n&&i&&s!=null?o.jsx(Ce,{loop:!1,play:!0,onComplete:()=>{p(!1)},segments:[100,299],animationData:s,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(Ie,{children:[d!=null?o.jsx(Te,{children:d}):null,o.jsx(ee,{children:f?Ge(g,u):null})]}),o.jsx(Se,{themeContext:a,children:h})]})}const Qe=r(ge)`
161
+ `,We=(e,n)=>{const{common:i}=F.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(Xe,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,h)=>o.jsx(w,{className:"card-highlight-text",children:p},`${p}_${h}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Be,{})]}),o.jsx(Le,{}),o.jsxs(Ze,{children:[o.jsxs(Ue,{children:[o.jsx(Oe,{}),o.jsxs(R,{isZeniProgressBar:!1,children:[n[0].values[0]," ",i.texts.insured]})]}),o.jsxs(Ne,{children:[o.jsx(Fe,{children:n[0].values[1]}),o.jsx(R,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:i.texts.insured})]})]})]});case"freeWire":return o.jsxs(ee,{style:{gap:t.sp2},children:[o.jsxs(w,{style:{position:"relative"},children:[n[0].values[0],o.jsx(_e,{})]}),o.jsx(w,{children:o.jsx(G,{children:o.jsx(Ge,{})})}),o.jsx(w,{children:o.jsx(G,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(Ye,{children:[o.jsx(I,{style:{animationDelay:"0.2s"},children:o.jsx(Z,{src:Ae})}),o.jsx(I,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(Z,{src:be})}),o.jsx(I,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(Z,{src:ke})}),o.jsx(Ee,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(Re,{children:[" ",n[0].values[0]]})})]})}};let W;function Je({zeniAccountsPromoCardContent:e,showConfetti:n}){const[i]=fe("Confetti"),a=K(),[s,p]=N.useState(!1);N.useEffect(()=>(n&&(W=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(W),p(!1)}),[n]);const{prefix:h,header:d,headerAnimationData:m,showAnimation:f,key:g}=e;return o.jsxs(De,{children:[n&&s&&i!=null?o.jsx(Ce,{loop:!1,play:!0,onComplete:()=>{p(!1)},segments:[100,299],animationData:i,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(Ie,{children:[d!=null?o.jsx(Te,{children:d}):null,o.jsx(ee,{children:f?We(g,m):null})]}),o.jsx(Se,{themeContext:a,children:h})]})}const Ke=r(ge)`
162
162
  flex-wrap: wrap;
163
163
  overflow: hidden;
164
164
  & .styledNav {
@@ -172,10 +172,10 @@ import{M as F,j as o,o as t,aJ as D,g as j,Z as ne,q as ae,aO as se,aP as ie,aQ
172
172
  margin: 2px;
173
173
  background-color: ${e=>e.theme.colors.zeniAccountsPromoBackgroundColor};
174
174
  border-radius: ${t.sp2};
175
- `,O=r.div`
175
+ `,U=r.div`
176
176
  display: flex;
177
177
  flex-direction: column;
178
- `,Ke=r.div`
178
+ `,Qe=r.div`
179
179
  border: 1px solid
180
180
  ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
181
181
  border-radius: ${t.sp2};
@@ -204,4 +204,4 @@ import{M as F,j as o,o as t,aJ as D,g as j,Z as ne,q as ae,aO as se,aP as ie,aQ
204
204
  bottom: 6px;
205
205
  `,ro=r(J)`
206
206
  color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
207
- `,P=F.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:s,data:a,activeCardIndex:i,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const u=Q(),f=ue(),[g,x]=S.useState(0),[C,$]=S.useState(0),[B,A]=S.useState("left"),b=(l,y)=>{l.stopPropagation(),A(y);const re=y=="left"?i+1:i-1;e.trackZeniAccountsPromoCardClick(n,y==="left"?"Next":"Back"),d(k(re),y)},M=l=>{d(k(l),"left")};function m(l){x(l.targetTouches[0].clientX)}function oe(l){$(l.targetTouches[0].clientX)}function k(l){return l<0?a.length+l:l%a.length}function te(){g-C>50&&C!==0?(d(k(i+1),"left"),A("left"),x(0),$(0)):g-C<-50&&C!==0&&(d(k(i-1),"right"),A("right"),x(0),$(0))}const H=a.length>1,E=me.hasZeniAccountsAdminLevelAccess(f.loggedInUserRoleMap);return o.jsx(Qe,{"data-testid":Z("dashboard",s.cardType),style:{cursor:"default"},dimension:s.dimension,onTouchStart:l=>H?m(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(qe,{children:[o.jsx(O,{children:o.jsx(X,{"data-testid":Z("dashboard-navigation-arrow-left",s.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:b,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})}),o.jsxs(O,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:P.title})}),a.map((l,y)=>o.jsx(he,{activeCardIndex:i,currentIndex:y,which:B,children:o.jsx(Je,{zeniAccountsPromoCardContent:l,showConfetti:i===2})},l.key)),o.jsx(Ke,{onClick:()=>h(E?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(Ve,{children:E?p?P.button:P.signUp:P.learnMore})}),o.jsx(je,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:i,handleClick:M,promoColor:u.colors.zeniAccountsPromoButtonColor,promoColorHover:u.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),i===0?o.jsx(to,{children:o.jsx(ro,{children:a[0].footer})}):null]}),o.jsx(O,{children:o.jsx(X,{"data-testid":Z("dashboard-navigation-arrow-right",s.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:b,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=F.getLocalizedStrings(),z={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},U={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function so({card:e,data:n,analytics:s,actions:a,isZeniAccountsEnabled:i,columnKey:p,index:h,dndProps:d}){const[u,f]=N.useState(0),g=m=>{f(m)},x=(p+1)*(h+1),C=m=>{s.trackZeniAccountsPromoCardClick(x,m),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:$,maxPossibleInterest:B,maxAnnualPercentageYield:A,maxCashBalanceAvailable:b=0}=n;z.headerAnimationData=io(B??25e4),z.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,D("0,0",b,v.currency.currencySymbol).toUpperCase()),z.footer=c.keepInterest.footer.replace(/<interest>/,A.toString()),U.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,D(W($),$,v.currency.currencySymbol).toUpperCase()]}],U.prefix=c.protectCash.prefix.replace(/<amount>/,D(W($),$,v.currency.currencySymbol).toUpperCase());const M=[z,U,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:m=>d?.onDragStart(e.cardType,m),onDragOver:m=>d?.onDragOver(m,e.cardType),onDragLeave:m=>d?.onDragLeave(m),onDrop:m=>d?.onDrop(m,e.cardType),dimension:e.dimension,children:o.jsx(ve,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:u,handleLearnMoreClick:C,isZeniAccountsSetUp:i&&n.depositAccountId!=null,analytics:s,cardPosition:x})})},e.cardIndex)}S.memo(so);function io(e){const n=[],s=D("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<s.length;a++){const i=s[a],p={direction:"up",stepCount:0,values:[i]};if(i===v.currency.currencySymbol||i===v.strings.comma)n.push(p);else{const h=parseInt(s[a]),d=a===1&&h<=1?1:Math.floor(h/2),u=a%2===0?"down":"up",f=h-d,g=[];for(let x=0;x<=f;x++){const C=d+x;g.push(C.toString())}u==="down"&&g.reverse(),n.push({direction:u,stepCount:f,values:g})}}return n}export{Ge as G,so as a,io as c};
207
+ `,P=F.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const m=K(),f=me(),[g,x]=S.useState(0),[C,$]=S.useState(0),[B,A]=S.useState("left"),b=(l,y)=>{l.stopPropagation(),A(y);const re=y=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,y==="left"?"Next":"Back"),d(k(re),y)},M=l=>{d(k(l),"left")};function u(l){x(l.targetTouches[0].clientX)}function oe(l){$(l.targetTouches[0].clientX)}function k(l){return l<0?a.length+l:l%a.length}function te(){g-C>50&&C!==0?(d(k(s+1),"left"),A("left"),x(0),$(0)):g-C<-50&&C!==0&&(d(k(s-1),"right"),A("right"),x(0),$(0))}const H=a.length>1,X=ue.hasZeniAccountsAdminLevelAccess(f.loggedInUserRoleMap);return o.jsx(Ke,{"data-testid":L("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?u(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(qe,{children:[o.jsx(U,{children:o.jsx(E,{"data-testid":L("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:b,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})}),o.jsxs(U,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:P.title})}),a.map((l,y)=>o.jsx(he,{activeCardIndex:s,currentIndex:y,which:B,children:o.jsx(Je,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(Qe,{onClick:()=>h(X?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(Ve,{children:X?p?P.button:P.signUp:P.learnMore})}),o.jsx(je,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:m.colors.zeniAccountsPromoButtonColor,promoColorHover:m.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),s===0?o.jsx(to,{children:o.jsx(ro,{children:a[0].footer})}):null]}),o.jsx(U,{children:o.jsx(E,{"data-testid":L("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:b,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=F.getLocalizedStrings(),z={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},O={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function io({card:e,data:n,analytics:i,actions:a,isZeniAccountsEnabled:s,columnKey:p,index:h,dndProps:d}){const[m,f]=N.useState(0),g=u=>{f(u)},x=(p+1)*(h+1),C=u=>{i.trackZeniAccountsPromoCardClick(x,u),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:$,maxPossibleInterest:B,maxAnnualPercentageYield:A,maxCashBalanceAvailable:b=0}=n;z.headerAnimationData=so(B??25e4),z.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,D("0,0",b,v.currency.currencySymbol).toUpperCase()),z.footer=c.keepInterest.footer.replace(/<interest>/,A.toString()),O.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,D(Y($),$,v.currency.currencySymbol).toUpperCase()]}],O.prefix=c.protectCash.prefix.replace(/<amount>/,D(Y($),$,v.currency.currencySymbol).toUpperCase());const M=[z,O,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:u=>d?.onDragStart(e.cardType,u),onDragOver:u=>d?.onDragOver(u,e.cardType),onDragLeave:u=>d?.onDragLeave(u),onDrop:u=>d?.onDrop(u,e.cardType),dimension:e.dimension,children:o.jsx(ve,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:m,handleLearnMoreClick:C,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}S.memo(io);function so(e){const n=[],i=D("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===v.currency.currencySymbol||s===v.strings.comma)n.push(p);else{const h=parseInt(i[a]),d=a===1&&h<=1?1:Math.floor(h/2),m=a%2===0?"down":"up",f=h-d,g=[];for(let x=0;x<=f;x++){const C=d+x;g.push(C.toString())}m==="down"&&g.reverse(),n.push({direction:m,stepCount:f,values:g})}}return n}export{We as G,io as a,so as c};
@@ -1,4 +1,4 @@
1
- import{u as f,X as T,a5 as x,q as a,j as n,Y as y,iI as B,o as t,M as C,C as m,p as d}from"./index-BU_OFOHO.js";import{b as j,n as v}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const p={marginTop:new m(d[0],18),marginBottom:new m(d[0],d[3])},{spendManagement:{chargeCard:{chargeCardsPromo:l}},common:w}=C.getLocalizedStrings(),L=({googleAPIKey:o,customAddress:c,customAddressStatus:e,onDismissClick:r,onSubmitHandler:g})=>{const u=f(),s=T(),i=x(e.fetchState);j.useEffect(()=>{i==="In-Progress"&&e.fetchState==="Completed"&&r()},[e.fetchState,r,i]);const h=s==="small"?a.extraSmallRegular.cssObject:a.standardRegular.cssObject,S=s==="small"?a.standardMedium.cssObject:a.h5Regular.cssObject;return n.jsx(A,{"data-testid":y("add-address-for-card-drawer"),children:n.jsx(B,{googleAPIKey:o,loadingState:e.fetchState,addressToEdit:c,onSubmitHandler:b=>g(b),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:l.addAddress,subTitleMessage:l.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(s),marginBottom:p.marginBottom.valuePx(s),...S},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...h,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:w.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},A=v.div`
1
+ import{u as f,X as T,a1 as x,v as a,j as n,Y as y,iE as B,o as t,M as C,C as m,p as d}from"./index-nrhSmhQT.js";import{b as j,n as v}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const p={marginTop:new m(d[0],18),marginBottom:new m(d[0],d[3])},{spendManagement:{chargeCard:{chargeCardsPromo:l}},common:w}=C.getLocalizedStrings(),L=({googleAPIKey:o,customAddress:c,customAddressStatus:e,onDismissClick:r,onSubmitHandler:g})=>{const u=f(),s=T(),i=x(e.fetchState);j.useEffect(()=>{i==="In-Progress"&&e.fetchState==="Completed"&&r()},[e.fetchState,r,i]);const h=s==="small"?a.extraSmallRegular.cssObject:a.standardRegular.cssObject,S=s==="small"?a.standardMedium.cssObject:a.h5Regular.cssObject;return n.jsx(A,{"data-testid":y("add-address-for-card-drawer"),children:n.jsx(B,{googleAPIKey:o,loadingState:e.fetchState,addressToEdit:c,onSubmitHandler:b=>g(b),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:l.addAddress,subTitleMessage:l.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(s),marginBottom:p.marginBottom.valuePx(s),...S},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...h,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:w.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},A=v.div`
2
2
  display: flex;
3
3
  background-color: ${o=>o.theme.colors.grey4};
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as he,o as t,K as W,Y as A,C as m,Q as u,h as b,iG as ge,ah as xe,g as s,iH as me,aR as we,ck as $e,s as ue,q as be,ir as ye}from"./index-BU_OFOHO.js";import{b as h,n as o,j as D}from"./vendor-CnQcJ2Lu.js";import{H as fe}from"./ChargeCardUtils-CLpd-HDH-dMJ2Q_93.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as ze}from"./add-to-wallet-DgdBD8_G-DcfyMc0W.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const Ie=({options:e,selected:a,onToggle:g,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),$=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*$}%`}:{left:`${w*$}%`};return i.jsxs(We,{style:l,children:[i.jsx(Ae,{style:{width:`${$-1}%`,...j(),...k}}),e.map(n=>i.jsx(De,{style:f,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),g(n.id)},children:n.label},n.id))]})},We=o.div`
1
+ import{X as E,d1 as le,t as ne,l as de,M as N,j as i,aW as pe,p,ij as ce,iB as he,o as t,K as W,Y as A,C as m,Q as u,h as b,iC as ge,bF as xe,g as r,iD as me,aR as we,cj as $e,q as ue,v as be,im as ye}from"./index-nrhSmhQT.js";import{b as h,n as o,j as D}from"./vendor-CnQcJ2Lu.js";import{H as fe}from"./ChargeCardUtils-B3JEziD7-CwQE9qIG.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as ze}from"./add-to-wallet-DgdBD8_G-DcfyMc0W.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Ie=({options:e,selected:a,onToggle:g,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),$=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*$}%`}:{left:`${w*$}%`};return i.jsxs(We,{style:l,children:[i.jsx(Ae,{style:{width:`${$-1}%`,...j(),...k}}),e.map(n=>i.jsx(De,{style:f,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),g(n.id)},children:n.label},n.id))]})},We=o.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  background: ${e=>e.theme.colors.grey3};
@@ -12,7 +12,7 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
12
12
  `,Ae=o.div`
13
13
  position: absolute;
14
14
  background: ${e=>e.theme.colors.grey5};
15
- box-shadow: ${t.sp0} 1px 2px ${s.boxShadowElevation};
15
+ box-shadow: ${t.sp0} 1px 2px ${r.boxShadowElevation};
16
16
  border-radius: 50px;
17
17
  transition:
18
18
  left 0.3s ease,
@@ -27,7 +27,7 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
27
27
  display: flex;
28
28
  align-items: center;
29
29
  justify-content: center;
30
- color: ${e=>e.active?e.theme.colors.primary:s.heroLight};
30
+ color: ${e=>e.active?e.theme.colors.primary:r.heroLight};
31
31
  z-index: 2;
32
32
  cursor: pointer;
33
33
  user-select: none;
@@ -37,32 +37,32 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
37
37
  transition: color 0.3s ease;
38
38
  padding-top: ${t.sp1};
39
39
  padding-bottom: ${t.sp1};
40
- `,{spendManagement:{chargeCard:{chargeCardsPromo:B,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new u("h6Medium","h4Regular"),subheadingFont:new u("standardRegular","h6Regular"),walletTitleFont:new u("standardSemiBold","largeSemiBold"),walletSubTitleFont:new u("extraSmallRegular","standardRegular")},Be=(e,a,g)=>i.jsxs(oi,{translatePhone:e,showIphone:g,children:[i.jsxs(ai,{children:[i.jsx(gi,{children:B.timeText}),i.jsxs(si,{children:[i.jsx(li,{children:[...Array(4).keys()].map(l=>i.jsx(ni,{towerIndex:l},l))}),i.jsx(di,{children:i.jsx(C,{className:"wave",children:i.jsx(C,{className:"wave",children:i.jsx(C,{className:"wave"})})})}),i.jsx(pi,{children:i.jsx(ci,{})}),i.jsx(hi,{})]})]}),i.jsxs(ti,{children:[i.jsxs(Ue,{children:[i.jsx(Ze,{showTick:a}),i.jsx(_e,{showTick:a}),i.jsx(ei,{showTick:a}),i.jsx(ii,{showTick:a}),i.jsxs(wi,{translateCardSkelton:e,children:[i.jsx(ui,{}),[...Array(4).keys()].map(l=>i.jsx($i,{lineIndex:l},l))]}),a?null:i.jsx(bi,{children:i.jsx(ge,{scannerTheme:"light"})})]}),i.jsx(xi,{showTick:a}),i.jsx(mi,{showTick:a,children:B.addToWallet})]}),i.jsx(ri,{})]}),F=({tabType:e})=>{const a=E();return i.jsxs(Me,{children:[i.jsxs(R,{children:[i.jsx(Ne,{children:i.jsx(Ge,{windowSize:a})}),i.jsx(L,{windowSize:a,children:d.openWalletAppOnPhone})]}),i.jsxs(M,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,i.jsx(H,{})]}),i.jsxs(R,{children:[i.jsx(Ee,{children:i.jsx(Xe,{windowSize:a})}),i.jsx(L,{windowSize:a,children:d.verifyCard})]}),i.jsxs(M,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,i.jsx(H,{})]})]})},Ri=({onGotItClick:e,isDebitCard:a,controllerEmails:g,classListFetchState:l,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:$,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:X,creditAccountRepayment:K,cardIssuedByRoles:O,cardIssuedByDepartmentName:V,cardHolderRoles:J,cardHolderDepartmentName:Q})=>{const r=E(),Y=le().analytics,[T,q]=h.useState(!1),[z,U]=h.useState(!1),[Z,_]=h.useState(!1),[ee,ie]=h.useState(!1),[S,te]=h.useState("apple"),oe=ne(),ae=de.hasChargeCardAdminLevelAccess(oe.loggedInUserRoleMap),se=I=>{fe({chargeCardDetailView:G,classListFetchState:l,analytics:Y,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:O,cardIssuedByDepartmentName:V,cardHolderRoles:J,cardHolderDepartmentName:Q,controllerEmails:g,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:X,creditAccountRepayment:K}),te(I)};h.useEffect(()=>{setTimeout(()=>{q(!0)},a?9500:4500),setTimeout(()=>{U(!0)},a?9e3:4e3),setTimeout(()=>{_(!0)},a?10500:5500),setTimeout(()=>{ie(!0)},a?15e3:1e4)},[a]);const re=T&&z,x=N.getLocalizedStrings().spendManagement.chargeCard;return i.jsx(vi,{windowSize:r,children:i.jsxs(Ve,{children:[i.jsx(pe,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),i.jsxs(Je,{windowSize:r,children:[i.jsx(yi,{windowSize:r,children:x.addToWallet.heading}),i.jsx(fi,{windowSize:r,children:x.addToWallet.subheading})]}),i.jsxs(Qe,{windowSize:r,children:[r!=="small"?i.jsx(Ci,{children:i.jsxs(Ye,{windowSize:r,children:[i.jsxs(qe,{windowSize:r,flipCard:T,scaleCard:z,children:[i.jsx(ce,{isDebitCard:a}),i.jsx(he,{showCrossIcon:!1,isDebitCard:a})]}),Be(Z,ee,re)]})}):null,i.jsxs(Re,{windowSize:r,children:[i.jsx(Le,{children:i.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:i.jsxs(i.Fragment,{children:[i.jsx(Oe,{}),i.jsx(P,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:i.jsxs(i.Fragment,{children:[i.jsx(Ke,{}),i.jsx(P,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:t.sp4,paddingBottom:t.sp4},containerStyle:{border:t.sp0},selected:S,onToggle:se})}),i.jsxs(Fe,{children:[i.jsx(He,{isActive:S==="apple",children:i.jsx(F,{tabType:"apple"})}),i.jsx(Pe,{isActive:S==="google",children:i.jsx(F,{tabType:"google"})})]}),r!=="small"?i.jsx(ji,{children:i.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),r==="small"?i.jsx(Si,{children:i.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Fe=o.div`
40
+ `,{spendManagement:{chargeCard:{chargeCardsPromo:B,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new u("h6Medium","h4Regular"),subheadingFont:new u("standardRegular","h6Regular"),walletTitleFont:new u("standardSemiBold","largeSemiBold"),walletSubTitleFont:new u("extraSmallRegular","standardRegular")},Be=(e,a,g)=>i.jsxs(oi,{translatePhone:e,showIphone:g,children:[i.jsxs(ai,{children:[i.jsx(gi,{children:B.timeText}),i.jsxs(ri,{children:[i.jsx(li,{children:[...Array(4).keys()].map(l=>i.jsx(ni,{towerIndex:l},l))}),i.jsx(di,{children:i.jsx(C,{className:"wave",children:i.jsx(C,{className:"wave",children:i.jsx(C,{className:"wave"})})})}),i.jsx(pi,{children:i.jsx(ci,{})}),i.jsx(hi,{})]})]}),i.jsxs(ti,{children:[i.jsxs(qe,{children:[i.jsx(_e,{showTick:a}),i.jsx(Ze,{showTick:a}),i.jsx(ei,{showTick:a}),i.jsx(ii,{showTick:a}),i.jsxs(wi,{translateCardSkelton:e,children:[i.jsx(ui,{}),[...Array(4).keys()].map(l=>i.jsx($i,{lineIndex:l},l))]}),a?null:i.jsx(bi,{children:i.jsx(ge,{scannerTheme:"light"})})]}),i.jsx(xi,{showTick:a}),i.jsx(mi,{showTick:a,children:B.addToWallet})]}),i.jsx(si,{})]}),F=({tabType:e})=>{const a=E();return i.jsxs(Me,{children:[i.jsxs(H,{children:[i.jsx(Ne,{children:i.jsx(Ge,{windowSize:a})}),i.jsx(L,{windowSize:a,children:d.openWalletAppOnPhone})]}),i.jsxs(M,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,i.jsx(P,{})]}),i.jsxs(H,{children:[i.jsx(Ee,{children:i.jsx(Xe,{windowSize:a})}),i.jsx(L,{windowSize:a,children:d.verifyCard})]}),i.jsxs(M,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,i.jsx(P,{})]})]})},Hi=({onGotItClick:e,isDebitCard:a,controllerEmails:g,classListFetchState:l,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:$,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:X,creditAccountRepayment:K,cardIssuedByRoles:O,cardIssuedByDepartmentName:V,cardHolderRoles:J,cardHolderDepartmentName:Q})=>{const s=E(),U=le().analytics,[T,Y]=h.useState(!1),[z,q]=h.useState(!1),[_,Z]=h.useState(!1),[ee,ie]=h.useState(!1),[S,te]=h.useState("apple"),oe=ne(),ae=de.hasChargeCardAdminLevelAccess(oe.loggedInUserRoleMap),re=I=>{fe({chargeCardDetailView:G,classListFetchState:l,analytics:U,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:O,cardIssuedByDepartmentName:V,cardHolderRoles:J,cardHolderDepartmentName:Q,controllerEmails:g,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:X,creditAccountRepayment:K}),te(I)};h.useEffect(()=>{setTimeout(()=>{Y(!0)},a?9500:4500),setTimeout(()=>{q(!0)},a?9e3:4e3),setTimeout(()=>{Z(!0)},a?10500:5500),setTimeout(()=>{ie(!0)},a?15e3:1e4)},[a]);const se=T&&z,x=N.getLocalizedStrings().spendManagement.chargeCard;return i.jsx(vi,{windowSize:s,children:i.jsxs(Ve,{children:[i.jsx(pe,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),i.jsxs(Je,{windowSize:s,children:[i.jsx(yi,{windowSize:s,children:x.addToWallet.heading}),i.jsx(fi,{windowSize:s,children:x.addToWallet.subheading})]}),i.jsxs(Qe,{windowSize:s,children:[s!=="small"?i.jsx(Ci,{children:i.jsxs(Ue,{windowSize:s,children:[i.jsxs(Ye,{windowSize:s,flipCard:T,scaleCard:z,children:[i.jsx(ce,{isDebitCard:a}),i.jsx(he,{showCrossIcon:!1,isDebitCard:a})]}),Be(_,ee,se)]})}):null,i.jsxs(He,{windowSize:s,children:[i.jsx(Le,{children:i.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:i.jsxs(i.Fragment,{children:[i.jsx(Oe,{}),i.jsx(R,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:i.jsxs(i.Fragment,{children:[i.jsx(Ke,{}),i.jsx(R,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:t.sp4,paddingBottom:t.sp4},containerStyle:{border:t.sp0},selected:S,onToggle:re})}),i.jsxs(Fe,{children:[i.jsx(Pe,{isActive:S==="apple",children:i.jsx(F,{tabType:"apple"})}),i.jsx(Re,{isActive:S==="google",children:i.jsx(F,{tabType:"google"})})]}),s!=="small"?i.jsx(ji,{children:i.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?i.jsx(Si,{children:i.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Fe=o.div`
41
41
  display: flex;
42
42
  position: relative;
43
43
  width: 100%;
44
44
  height: 100%;
45
45
  overflow: hidden;
46
- `,He=o.div`
46
+ `,Pe=o.div`
47
47
  display: flex;
48
48
  width: 100%;
49
49
  position: absolute;
50
50
  left: ${e=>e.isActive?t.sp0:"-369px"};
51
51
  transition: left 0.3s ease-in-out;
52
- `,Pe=o.div`
52
+ `,Re=o.div`
53
53
  display: flex;
54
54
  width: 100%;
55
55
  position: absolute;
56
56
  right: ${e=>e.isActive?t.sp0:"-369px"};
57
57
  transition: right 0.3s ease-in-out;
58
- `,H=o.div`
58
+ `,P=o.div`
59
59
  display: flex;
60
60
  flex: 1;
61
61
  background-color: ${e=>e.theme.colors.grey3};
62
62
  min-height: 1px;
63
63
  max-height: 1px;
64
64
  margin: ${t.sp3} ${t.sp0};
65
- `,Re=o.div`
65
+ `,He=o.div`
66
66
  display: flex;
67
67
  width: ${({windowSize:e})=>e==="small"?"100%":"369px"};
68
68
  flex-direction: column;
@@ -74,7 +74,7 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
74
74
  border: 1px solid ${e=>e.theme.colors.grey2};
75
75
  background: ${e=>e.theme.colors.grey3};
76
76
  position: relative;
77
- `,P=o(xe)`
77
+ `,R=o(xe)`
78
78
  text-transform: none;
79
79
  margin-left: ${t.sp2};
80
80
  cursor: pointer;
@@ -85,14 +85,14 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
85
85
  `,Ee=o.div`
86
86
  padding: 12px;
87
87
  border-radius: ${t.sp4};
88
- background: ${s.successLight};
88
+ background: ${r.successLight};
89
89
  display: flex;
90
90
  `,Ne=o.div`
91
91
  padding: 12px;
92
92
  border-radius: ${t.sp4};
93
93
  background: ${e=>e.theme.colors.graphColor16Light};
94
94
  display: flex;
95
- `,R=o.div`
95
+ `,H=o.div`
96
96
  display: flex;
97
97
  align-items: center;
98
98
  gap: ${t.sp3};
@@ -136,11 +136,11 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
136
136
  `:D`
137
137
  width: 100%;
138
138
  `};
139
- `,Ye=o.div`
139
+ `,Ue=o.div`
140
140
  display: flex;
141
141
  position: relative;
142
142
  align-items: center;
143
- `,qe=o.div`
143
+ `,Ye=o.div`
144
144
  position: relative;
145
145
  display: flex;
146
146
  flex-direction: column;
@@ -151,13 +151,13 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
151
151
  transform-style: preserve-3d;
152
152
  border-radius: ${t.sp2};
153
153
  box-shadow: ${e=>`1px 3px ${t.sp4} ${t.sp0} ${e.theme.colors.chargeCardBackgroundShadow}`};
154
- `,Ue=o.div`
154
+ `,qe=o.div`
155
155
  position: relative;
156
156
  height: 118px;
157
157
  width: 182px;
158
158
  margin: 13px;
159
159
  margin-top: 60px;
160
- `,Ze=o(Se)`
160
+ `,_e=o(Se)`
161
161
  height: 36px;
162
162
  width: 36px;
163
163
  position: absolute;
@@ -166,7 +166,7 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
166
166
  color: ${e=>e.theme.colors.hero};
167
167
  opacity: ${e=>e.showTick?0:1};
168
168
  transition: opacity 0.5s linear;
169
- `,_e=o(Ce)`
169
+ `,Ze=o(Ce)`
170
170
  height: 36px;
171
171
  width: 36px;
172
172
  position: absolute;
@@ -204,7 +204,7 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
204
204
  height: 489px;
205
205
  border: ${t.sp1} solid ${e=>e.theme.colors.hero};
206
206
  border-radius: ${t.sp4};
207
- background: ${s.brandColorPearl};
207
+ background: ${r.brandColorPearl};
208
208
  transform: ${e=>e.translatePhone?"translateX(-200px)":""};
209
209
  transition: transform 0.3s ease-in;
210
210
  margin-top: ${t.sp11};
@@ -214,13 +214,13 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
214
214
  margin: ${t.sp2} 10px ${t.sp2} ${t.sp3};
215
215
  justify-content: space-between;
216
216
  align-items: center;
217
- `,si=o.div`
217
+ `,ri=o.div`
218
218
  display: flex;
219
219
  align-items: center;
220
- `,ri=o.div`
220
+ `,si=o.div`
221
221
  width: 76px;
222
222
  display: flex;
223
- border: 2px solid ${s.blackColor};
223
+ border: 2px solid ${r.blackColor};
224
224
  position: sticky;
225
225
  bottom: ${t.sp0};
226
226
  left: ${t.sp0};
@@ -233,7 +233,7 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
233
233
  height: ${e=>`${e.towerIndex+3}px`};
234
234
  width: 2px;
235
235
  margin-right: 1px;
236
- background-color: ${e=>e.towerIndex===3?s.phoneSignalColor:s.blackColor};
236
+ background-color: ${e=>e.towerIndex===3?r.phoneSignalColor:r.blackColor};
237
237
  border-radius: 0.5px;
238
238
  `,di=o.div`
239
239
  margin-top: ${t.sp2};
@@ -245,37 +245,37 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
245
245
  margin: 1px;
246
246
  }
247
247
  `,pi=o.div`
248
- border: 1px solid ${s.batteryBorderColor};
248
+ border: 1px solid ${r.batteryBorderColor};
249
249
  border-radius: 2px;
250
250
  `,ci=o.div`
251
251
  width: 10px;
252
252
  height: ${t.sp1};
253
- background-color: ${s.blackColor};
253
+ background-color: ${r.blackColor};
254
254
  margin: 1px;
255
255
  border-radius: 1px;
256
256
  `,hi=o.div`
257
257
  width: 1px;
258
258
  height: 3px;
259
- background-color: ${s.batteryBorderColor};
259
+ background-color: ${r.batteryBorderColor};
260
260
  margin-left: 0.5px;
261
261
  border-top-right-radius: 1px;
262
262
  border-bottom-right-radius: 1px;
263
263
  `,gi=o(me)``,C=o.div``,xi=o($e)`
264
264
  width: ${t.sp7};
265
265
  height: ${t.sp7};
266
- color: ${s.success};
266
+ color: ${r.success};
267
267
  margin-top: ${t.sp4};
268
268
  opacity: ${e=>e.showTick?1:0};
269
269
  transition: opacity 0.5s linear;
270
270
  `,mi=o(ue)`
271
- color: ${s.primaryLight};
271
+ color: ${r.primaryLight};
272
272
  opacity: ${e=>e.showTick?1:0};
273
273
  transition: opacity 0.5s linear;
274
274
  `,wi=o.div`
275
- border: 2px solid ${s.brandColorJade};
275
+ border: 2px solid ${r.brandColorJade};
276
276
  height: 97%;
277
277
  border-radius: ${t.sp2};
278
- background-color: ${s.brandColorJade};
278
+ background-color: ${r.brandColorJade};
279
279
  transform: ${e=>e.translateCardSkelton?"translateX(0px)":"translateX(-250px)"};
280
280
  transition: transform 0.3s ease-in;
281
281
  background-image: linear-gradient(
@@ -285,7 +285,7 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
285
285
  );
286
286
  `,$i=o.div`
287
287
  width: ${e=>e.lineIndex===0?"66px":e.lineIndex===1?"112px":"55px"};
288
- border: 2px solid ${s.brandColorGold};
288
+ border: 2px solid ${r.brandColorGold};
289
289
  margin-bottom: ${e=>e.lineIndex===1?"22px":"12px"};
290
290
  border-radius: ${t.sp2};
291
291
  margin-left: ${t.sp3};
@@ -341,4 +341,4 @@ import{X as E,d3 as le,w as ne,l as de,M as N,j as i,aW as pe,p,io as ce,iF as h
341
341
  margin-right: -92px;
342
342
  margin-top: -92px;
343
343
  z-index: 5;
344
- `;export{Ri as default};
344
+ `;export{Hi as default};
@@ -1,4 +1,4 @@
1
- import{u as K,X as O,l as A,M as x,ht as be,j as t,hu as De,bg as Ne,hv as je,aY as Oe,aW as ve,C as D,T as F,fB as ke,o as N,a9 as Pe,p as m,_ as V,bE as Be,bF as $e,bG as Me,s as Ae,ah as Ie,ao as ne,J as oe,ab as re}from"./index-BU_OFOHO.js";import{b as f,n as y}from"./vendor-CnQcJ2Lu.js";import{n as I}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{k as Ye,L as ze}from"./ArAgingChart-l020Rk_S-DFeuvhU_.js";import{C as ie}from"./NoDataChart-BsN_tNbW-DRgn1703.js";import{a as se,r as $}from"./CollapsableReportTable-iMD5xyGN-DxpM_9bu.js";import{d as le}from"./NoDataTable-BbDo9Kma-CGZ-ZRju.js";import{l as ce}from"./mapSpacerToTreeNode-CadZGfr8-BC_KRXsY.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./chartTypes-ChsIdl40-BAMg3Yoy.js";import"./AccountRow-t4I1y-2K-CtaiIm2n.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const Le={chartHeight:new D(288,360)},de=y.div`
1
+ import{u as K,X as O,l as A,M as x,hq as be,j as t,hr as De,be as Ne,hs as je,aY as Oe,aW as ve,C as D,T as F,fy as ke,o as N,a5 as Pe,p as m,_ as V,bC as Be,bD as $e,bE as Me,q as Ae,bF as Ie,ai as ne,H as oe,a7 as re}from"./index-nrhSmhQT.js";import{b as f,n as y}from"./vendor-CnQcJ2Lu.js";import{n as I}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{k as Ye,L as ze}from"./ArAgingChart-xI9TRvfS-B-FSsHVj.js";import{C as ie}from"./NoDataChart-DE6NV823-DlzVvXWT.js";import{a as se,r as $}from"./CollapsableReportTable-DshWn4Fc-1Ky5jq0N.js";import{d as le}from"./NoDataTable-CXNsBBVP-CNpKcnQr.js";import{l as ce}from"./mapSpacerToTreeNode-1Bdqp9WS-BwfPBFlV.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./chartTypes-Dj-_K0Gi-BTPAwFj5.js";import"./AccountRow-D4iz2vCr-FZzwmYfW.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const Le={chartHeight:new D(288,360)},de=y.div`
2
2
  display: flex;
3
3
  `,ge=y.div`
4
4
  display: flex;
@@ -6,7 +6,7 @@ import{u as K,X as O,l as A,M as x,ht as be,j as t,hu as De,bg as Ne,hv as je,aY
6
6
  flex-direction: column;
7
7
  height: ${e=>Le.chartHeight.valuePx(e.windowSize)};
8
8
  padding-bottom: ${N.sp6};
9
- `;function Te({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Fe,{report:e}):t.jsx(Re,{report:e})}function Fe({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(Ye,{isDetailPage:!0,report:e,width:i,height:o})})})}function Re({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(ze,{isDetailPage:!0,report:e,width:i,height:o})})})}function qe({nestedCustomer:e,numOfBalances:a,title:o,config:i,parentNodeIDs:s,ancestorMetadata:n}){return{children:[],id:$("ac_subentity_total",s),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:o,data:e,numOfBalances:a,metadata:n},config:i}}}function pe({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s,parentNodeIDs:n,ancestorMetadata:c}){const l=$("aging_report_row",[],o),r={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:c},config:s}},u=e.children.map((p,d)=>pe({agingBalances:p,numOfBalances:a,title:p.customer.name,config:s,isLastNode:d===e.children.length-1,parentNodeIDs:[...n,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...c.vendorOrCustomerAncestorMetadata,{depth:p.id.length-1,hasSibling:e.children.length>1,hasChildren:p.children.length>0,isLastNode:d===e.children.length-1,name:p.customer.name}]}}));return r.children.push(...u),e.children.length>0&&r.children.push(qe({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:n,ancestorMetadata:c})),r}function Ke({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s}){const n=$("aging_report_row",[],o);return{children:[],id:n,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a},config:s}}}function G({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??$("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function me({title:e,balances:a,config:o,numOfBalances:i,nodeId:s}){return{children:[],id:s??$("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:i,data:a},config:o}}}const Ge=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=G({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>Ke({agingBalances:d,title:d.vendor.name,numOfBalances:c,isLastNode:g===n.length-1,config:a}));r.push(...u);const p=me({title:x.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${x.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}},He=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=G({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>pe({agingBalances:d,title:d.customer.name,numOfBalances:c,isLastNode:g===n.length-1,config:a,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:n.length>1,hasChildren:d.children.length>0,isLastNode:g===n.length-1}]}}));r.push(...u);const p=me({title:x.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${x.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}};function ue(e,a,o,i=!0){Object.assign(e.config,a);const{agingPeriods:s}=o,n=G({agingPeriods:s,config:a});return{config:a,headerNodes:i?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const j={contentPaddingLeft:new D(m[0],m[0],m[0]),contentPaddingRight:new D(m[3],m[3],m[8]),wrapperPadding:new D(m[3],m[3],m[8])},Y=y.div`
9
+ `;function Te({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Fe,{report:e}):t.jsx(Re,{report:e})}function Fe({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(Ye,{isDetailPage:!0,report:e,width:i,height:o})})})}function Re({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(ze,{isDetailPage:!0,report:e,width:i,height:o})})})}function qe({nestedCustomer:e,numOfBalances:a,title:o,config:i,parentNodeIDs:s,ancestorMetadata:n}){return{children:[],id:$("ac_subentity_total",s),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:o,data:e,numOfBalances:a,metadata:n},config:i}}}function pe({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s,parentNodeIDs:n,ancestorMetadata:c}){const l=$("aging_report_row",[],o),r={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:c},config:s}},u=e.children.map((p,d)=>pe({agingBalances:p,numOfBalances:a,title:p.customer.name,config:s,isLastNode:d===e.children.length-1,parentNodeIDs:[...n,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...c.vendorOrCustomerAncestorMetadata,{depth:p.id.length-1,hasSibling:e.children.length>1,hasChildren:p.children.length>0,isLastNode:d===e.children.length-1,name:p.customer.name}]}}));return r.children.push(...u),e.children.length>0&&r.children.push(qe({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:n,ancestorMetadata:c})),r}function Ke({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s}){const n=$("aging_report_row",[],o);return{children:[],id:n,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a},config:s}}}function H({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??$("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function me({title:e,balances:a,config:o,numOfBalances:i,nodeId:s}){return{children:[],id:s??$("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:i,data:a},config:o}}}const He=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=H({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>Ke({agingBalances:d,title:d.vendor.name,numOfBalances:c,isLastNode:g===n.length-1,config:a}));r.push(...u);const p=me({title:x.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${x.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}},Ue=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=H({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>pe({agingBalances:d,title:d.customer.name,numOfBalances:c,isLastNode:g===n.length-1,config:a,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:n.length>1,hasChildren:d.children.length>0,isLastNode:g===n.length-1}]}}));r.push(...u);const p=me({title:x.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${x.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}};function ue(e,a,o,i=!0){Object.assign(e.config,a);const{agingPeriods:s}=o,n=H({agingPeriods:s,config:a});return{config:a,headerNodes:i?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const j={contentPaddingLeft:new D(m[0],m[0],m[0]),contentPaddingRight:new D(m[3],m[3],m[8]),wrapperPadding:new D(m[3],m[3],m[8])},Y=y.div`
10
10
  display: flex;
11
11
  position: sticky;
12
12
  justify-content: center;
@@ -16,7 +16,7 @@ import{u as K,X as O,l as A,M as x,ht as be,j as t,hu as De,bg as Ne,hv as je,aY
16
16
  `,he=y.div`
17
17
  width: 100%;
18
18
  height: calc(100vh - ${N.sp11});
19
- `;function Ue({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(We,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function We({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=K(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=Ge(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(Y,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(Y,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:j.contentPaddingLeft.value(l),right:j.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=K(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,S)=>{a(g,S)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const S=He(e,g,p);n(e),l(S)}else{const S=ue(c,g,e,p);l(S)}},[e,d]),e.agingBalances.length===0?t.jsx(Y,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(Y,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:j.contentPaddingLeft.value(r),right:j.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Xe={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Qe=y.div`
19
+ `;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Ge,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Ge({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=K(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=He(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(Y,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(Y,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:j.contentPaddingLeft.value(l),right:j.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=K(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,S)=>{a(g,S)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const S=Ue(e,g,p);n(e),l(S)}else{const S=ue(c,g,e,p);l(S)}},[e,d]),e.agingBalances.length===0?t.jsx(Y,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(Y,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:j.contentPaddingLeft.value(r),right:j.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Xe={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Qe=y.div`
20
20
  display: flex;
21
21
  width: 100%;
22
22
  justify-content: space-between;
@@ -34,7 +34,7 @@ import{u as K,X as O,l as A,M as x,ht as be,j as t,hu as De,bg as Ne,hv as je,aY
34
34
  width: fit-content;
35
35
  `,te=y(Ie)`
36
36
  color: ${e=>e.theme.colors.primary};
37
- `;function Ve({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:V("0,0",s?.balance)})]},n)}),t.jsxs(Z,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:V("0,0",o?.balance)})]})]})}const q={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:R,dateFormat:b,reports:{common:Ze,aging:B}}=x.getLocalizedStrings();function vt(e){const a=K(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:S,onEntityNameClick:fe,updateDownloadStateHandler:z,onNodeCollapseToggled:ye}=e,{fetchState:v,reportTitle:we,reportId:w}=n,{searchString:k,downloadState:M,sortKey:E,sortOrder:L,selectedDate:C,agingDateSelectionType:H}=c,{authParams:U,downloadEndPoint:W,timezone:J}=l,X=f.useCallback((h,_)=>{const P=ae(_);u(h,P),r.trackAgingReportDateChange(I(w),C!=null?C.format(b.analytics.YYYYDashMMDashDDFormat):A.dateNow().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,C]),Q=f.useCallback(h=>{const _=be({options:B.preComputedDurationOptions.map(({label:T,value:_e})=>({label:T,value:A.toCOABalanceTimeframe(_e)})).filter(({value:T})=>T!=null),selectedDate:h}),P=ae(_);u(h,P),r.trackAgingReportDateChange(I(w),C!=null?C.format(b.analytics.YYYYDashMMDashDDFormat):A.dateNow().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,C]),xe=f.useCallback((h,_)=>{S(h,_),r.trackAgingReportSortChange(I(w),_,h)},[r,S,w]),Ce=f.useCallback(()=>t.jsx(De,{maxDate:A.dateNow(),selectedDate:{date:C},precomputedOptionsProperties:{preComputedOptionSelected:lt(H),preComputedOptionDateFormat:b.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:X},onSelectedDateChanged:Q}),[C,X,Q,H]);if(f.useEffect(()=>{async function h(){const _={companyName:l.companyName,searchString:k,sortKey:E,sortOrder:L,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:C};await et(W,U,_),z("Completed"),r.trackAgingReportDownloadClick(I(w),E,L)}o&&M!=="In-Progress"&&(i(!1),z("In-Progress"),h())},[U,W,l.companyName,M,o,w,k,E,L,z,C,r,J]),v==="Error")return t.jsxs(at,{children:[t.jsx(nt,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(ot,{children:Ze.failed})]});const Se=t.jsxs(t.Fragment,{children:[t.jsx(je,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:k??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:M==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(M==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(rt,{children:[t.jsx(ve,{title:we,subTitle:Ce(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Se,downloadPresent:!0,style:{marginBottom:q.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(F,{controller:v==="In-Progress"||v==="Not-Started",children:t.jsx(ke,{fetchState:v})}),t.jsxs(F,{controller:v==="Completed",children:[t.jsx(F,{controller:k.length===0,children:t.jsxs(st,{windowSize:s,children:[t.jsx(it,{children:t.jsx(Ve,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Te,{report:n})]})}),t.jsx(Ue,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function et(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(tt(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,R.defaultFileName),l=await n.arrayBuffer();Me(l,c)}else console.error(`${R.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${R.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function tt(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const at=y.div`
37
+ `;function Ve({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:V("0,0",s?.balance)})]},n)}),t.jsxs(Z,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:V("0,0",o?.balance)})]})]})}const q={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:R,dateFormat:b,reports:{common:Ze,aging:B}}=x.getLocalizedStrings();function vt(e){const a=K(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:S,onEntityNameClick:fe,updateDownloadStateHandler:z,onNodeCollapseToggled:ye}=e,{fetchState:v,reportTitle:we,reportId:w}=n,{searchString:k,downloadState:M,sortKey:E,sortOrder:L,selectedDate:C,agingDateSelectionType:U}=c,{authParams:W,downloadEndPoint:G,timezone:J}=l,X=f.useCallback((h,_)=>{const P=ae(_);u(h,P),r.trackAgingReportDateChange(I(w),C!=null?C.format(b.analytics.YYYYDashMMDashDDFormat):A.dateNow().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,C]),Q=f.useCallback(h=>{const _=be({options:B.preComputedDurationOptions.map(({label:T,value:_e})=>({label:T,value:A.toCOABalanceTimeframe(_e)})).filter(({value:T})=>T!=null),selectedDate:h}),P=ae(_);u(h,P),r.trackAgingReportDateChange(I(w),C!=null?C.format(b.analytics.YYYYDashMMDashDDFormat):A.dateNow().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,C]),xe=f.useCallback((h,_)=>{S(h,_),r.trackAgingReportSortChange(I(w),_,h)},[r,S,w]),Ce=f.useCallback(()=>t.jsx(De,{maxDate:A.dateNow(),selectedDate:{date:C},precomputedOptionsProperties:{preComputedOptionSelected:lt(U),preComputedOptionDateFormat:b.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:X},onSelectedDateChanged:Q}),[C,X,Q,U]);if(f.useEffect(()=>{async function h(){const _={companyName:l.companyName,searchString:k,sortKey:E,sortOrder:L,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:C};await et(G,W,_),z("Completed"),r.trackAgingReportDownloadClick(I(w),E,L)}o&&M!=="In-Progress"&&(i(!1),z("In-Progress"),h())},[W,G,l.companyName,M,o,w,k,E,L,z,C,r,J]),v==="Error")return t.jsxs(at,{children:[t.jsx(nt,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(ot,{children:Ze.failed})]});const Se=t.jsxs(t.Fragment,{children:[t.jsx(je,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:k??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:M==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(M==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(rt,{children:[t.jsx(ve,{title:we,subTitle:Ce(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Se,downloadPresent:!0,style:{marginBottom:q.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(F,{controller:v==="In-Progress"||v==="Not-Started",children:t.jsx(ke,{fetchState:v})}),t.jsxs(F,{controller:v==="Completed",children:[t.jsx(F,{controller:k.length===0,children:t.jsxs(st,{windowSize:s,children:[t.jsx(it,{children:t.jsx(Ve,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Te,{report:n})]})}),t.jsx(We,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function et(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(tt(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,R.defaultFileName),l=await n.arrayBuffer();Me(l,c)}else console.error(`${R.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${R.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function tt(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const at=y.div`
38
38
  display: flex;
39
39
  width: 100%;
40
40
  height: calc(100% - 60px);