@zeniai/web-cockpit-ui 1.15.22-qa → 1.15.23-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 (304) hide show
  1. package/dist/assets/{ACHDetailsPage-CZfTXGMr-Lnh65l9r.js → ACHDetailsPage-BOZmOJHO-DA9D4iJH.js} +2 -2
  2. package/dist/assets/{AIPerformancePage-CpfWdGaC-uJXPs-cJ.js → AIPerformancePage-ZVCJizP9-D55hw0l8.js} +16 -16
  3. package/dist/assets/AccountInfoPage-DF6IU0EG-CK0AD-ot.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CYZIBmtA-Cc8jicZs.js → AccountInfoPageContent-D0wuuzMd-YMtVFfpn.js} +18 -18
  5. package/dist/assets/{AccountLockedInfoModal-BFBjEOzC-CW9VKIHW.js → AccountLockedInfoModal-Cfx-lPAZ-B55UQ1W3.js} +6 -6
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DSFCBgAM-DRW_32Fg.js → AccountReconDetailsDrawerPage-DbHX6rPG-BwmWp-T3.js} +15 -15
  7. package/dist/assets/{AccountRow-Gn7g3D_F-BBQfly-U.js → AccountRow-Bk_25FCy-D03inSab.js} +21 -21
  8. package/dist/assets/{AccountsPromoCardStack-DOMli4-L-CRu-629U.js → AccountsPromoCardStack-DAXRwY1f-DegwS44K.js} +28 -28
  9. package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-AmBvQD8m.js +6 -0
  10. package/dist/assets/{AddToWalletPage-D-Z-ZVZn-DWs7ZCUy.js → AddToWalletPage-CzziHgi7-j3gMOtad.js} +22 -22
  11. package/dist/assets/{AgingReportsPage-CdqPmA60-xeaigsqC.js → AgingReportsPage-Bdi3krKK-Bf-4bvXh.js} +5 -5
  12. package/dist/assets/{AllUserItems-DWLkEF2p-Cu4TKU61.js → AllUserItems-XWDuiug6-DkHHRN56.js} +10 -10
  13. package/dist/assets/{ApAgingDetailPage-CdtqprUm-UvzFtkee.js → ApAgingDetailPage-CaM_AzrU-DCtFqylK.js} +7 -7
  14. package/dist/assets/AppBasePage-B7_L4R6d-DSvQT3A9.js +71 -0
  15. package/dist/assets/{AppDrawerContent-DCMK2lRO-h01OkeSR.js → AppDrawerContent-DSX1364T-CNP-B7uf.js} +7 -7
  16. package/dist/assets/ApprovalRulesSettingsPage-DrjPOeyp-BrhLSwXJ.js +47 -0
  17. package/dist/assets/{ArAgingChart-DOYvVptv-DR9dm5ZT.js → ArAgingChart-M7KUNA4G-DKIpaPUv.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BCaRO749-DXQQQ2B5.js → ArAgingDetailPage-7lby5mXn-BtLBFlEX.js} +6 -6
  19. package/dist/assets/{AttachmentView-CnfHYBMC-GPUL-heq.js → AttachmentView-Bsa0u92o-BEQFOxXv.js} +7 -7
  20. package/dist/assets/{BankAccountSection-P9w-MOrg-CGYV7ljA.js → BankAccountSection-BkOlwayA-DP864Lrq.js} +6 -6
  21. package/dist/assets/{BankAccountWarningSection-BDEZ6LKQ-6TRhx7Zc.js → BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-dE7WxsGo-DOI-arB-.js → BankConnectionsSettingsPage-C_YytTke-B8k-pddW.js} +21 -21
  23. package/dist/assets/{BillDetailPage-CAbohg1r-BBfYosTz.js → BillDetailPage-DvU5_Rsp-C9dpUiI6.js} +12 -12
  24. package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-CFPoQw5A.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-wy4fIDHo-0_ycq9ss.js → BillPayApprovalRulesPage-CA9eufjt-BNyCnVeE.js} +14 -14
  26. package/dist/assets/{BillPayPromoPage-CbXq0YNV-NkwCl8Xq.js → BillPayPromoPage-DsXPWKAf-BqLcGJ_H.js} +10 -10
  27. package/dist/assets/{BillPaySetUpPage-CwP6Aw2I-eUmg7lOc.js → BillPaySetUpPage-CeMhzZ_3-BI9-weFw.js} +7 -7
  28. package/dist/assets/BillingSettingsPage-BygJjDSp-C0Ia6obD.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-QsGKIhW0-DYTD3gNy.js → BillsBulkReviewDrawerPage-WrR46NRa-CKI5pK1F.js} +1 -1
  30. package/dist/assets/{BoxItem-CgrlwejJ-SY_ufI2M.js → BoxItem-C0M4PSXY-D0kSlmNN.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-C63pUk4d-C1yyAjbf.js +138 -0
  32. package/dist/assets/{CardNumberSubText-DPlqciQh-IidQQCet.js → CardNumberSubText-B4dAoYDE-B1SbTgmV.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-DvxlixOz-BLcSoq8t.js → CashbackDetailPage-B6xvn-y3-CO89J05d.js} +16 -16
  34. package/dist/assets/{ChargeCardDetailPage-BwsPpOzj-BfT6wPmj.js → ChargeCardDetailPage-eJJ4MEE6-BXMqrqi9.js} +25 -25
  35. package/dist/assets/{ChargeCardListPage-BKu9-MWp-D4Kr8c-a.js → ChargeCardListPage-BYI2HIjA-B0giUbEV.js} +19 -19
  36. package/dist/assets/{ChargeCardListTable-BkAggUNy-DdMJhtGO.js → ChargeCardListTable-DAVYmKCK-DEY8KXB2.js} +44 -44
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BddAvqUm-D_kTbujS.js → ChargeCardPaymentHistoryPage-BX5HtOxd-BV2ugIHB.js} +47 -47
  38. package/dist/assets/ChargeCardPromoPage-DuQe7BpX-B1bYsTBb.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-B3vasCMt-i66Fofvm.js → ChargeCardSetupPage-DG1eKhYR-BVTvcCk1.js} +6 -6
  40. package/dist/assets/{ChargeCardStatementsPage-BOscGNXN-BaohNBwD.js → ChargeCardStatementsPage-CvtZtuVC-BbTDMJQ9.js} +9 -9
  41. package/dist/assets/{CheckDepositDrawerPage-BEEyhU4L-BWlcFHrW.js → CheckDepositDrawerPage-BdacGDpy-CN6aGowb.js} +15 -15
  42. package/dist/assets/{CollapsableReportTable-BpZbn8JV-BJBRRzKX.js → CollapsableReportTable-UADp1m_8-C887iUXZ.js} +81 -81
  43. package/dist/assets/CompanyOfficerDetailsSection-CaAR0Wvk-CmXyx64P.js +331 -0
  44. package/dist/assets/{CompanyPassportCard-DnpS3cSu-DrHqCrTH.js → CompanyPassportCard-BJN2GEVm-LlIc7P9q.js} +5 -5
  45. package/dist/assets/CompanyPassportPage-D2ALJDF_-B0BzydTg.js +417 -0
  46. package/dist/assets/{CompleteProfile-E7yJ6AqT-Jh4pB2E8.js → CompleteProfile-C8X8Z3C2-Bzf6-WNu.js} +4 -4
  47. package/dist/assets/ConfettiBurst-DxHzdDPp-BHPKFQrr.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BrcJvid9.js → ConstrainedInnerElement-BeIpAPjB-D4MBpZa1.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CqGWKAVs-7gjtNzWv.js → CreateOrEditVendorPage-y-COpdhs-CywEWB6a.js} +15 -15
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CO7njZlm-C-d7vRgi.js → CreditCardPaymentDrawerPage-CntYJJ8v-CZ68p-k6.js} +16 -16
  51. package/dist/assets/{CurrencySelectField-DxdAWtY0-CBQRJAjO.js → CurrencySelectField-Dn-hE2az-n1RHeHxE.js} +3 -3
  52. package/dist/assets/{CustomerOnboardingActivationPage-CEaKVaVS-DcV5VN2r.js → CustomerOnboardingActivationPage-B9MZHJVc-BxzBFrW0.js} +5 -5
  53. package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-CZ-wHAQI.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Bk-UD_xZ-DMv5b6Tt.js → CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DaEKstx7.js} +13 -13
  55. package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-B5ZKgZir.js +66 -0
  56. package/dist/assets/{CustomerOnboardingPage-D2g6ose5-Be4Xr3ip.js → CustomerOnboardingPage-1LvpVpHC-Cr4NP9fC.js} +8 -8
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BowJfyTX-BfHzAcC6.js → CustomerOnboardingProductSuitePage-DMYHMJXg-DeyKCfXK.js} +8 -8
  58. package/dist/assets/{Dashboard-46VwWQSI-DkmTwrc_.js → Dashboard-CCV0_aCP-BoBmH13Z.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-BA6k3bPl-Ckr1Cj4h.js → DashboardReportPage-CmoH9Vrc-CzA5O7KO.js} +13 -13
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-Dh7RFAmH-Bd8SKLYF.js → DashboardSidebarBackgroundAnimation-hw3einS7-DUVXWx2a.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-Dql1IjYZ-CuunBLNt.js → DepositAccTransactionItem-DgdkYGjP-BkMVZWVv.js} +5 -5
  62. package/dist/assets/{DepositAccTransactionListPage-BjKtMY47-QOEpFUZh.js → DepositAccTransactionListPage-CF0WJn9M-DlPgp9dm.js} +5 -5
  63. package/dist/assets/{DomesticWireDetailsPage-DeXdHoem-D64dC2Fm.js → DomesticWireDetailsPage-B12tNa6e-DRCqor_l.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-C9lm7jRS-CeHdqCLM.js → DownloadOverlay-Dt9yt4Fz-OGiiWSIN.js} +1 -1
  65. package/dist/assets/{DrawerPage-DwjcM3hz-DN4jvr6d.js → DrawerPage-Clki97FA-CqA84wbo.js} +13 -13
  66. package/dist/assets/EditPeoplePage-CKS_aEZm-B7Tw7FjE.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-BerHadSD-BZkriWLo.js → EditReimbursementDetailPage-CXy2ZWfZ-BrOpTSUf.js} +41 -41
  68. package/dist/assets/EntityDetailPage-B3TQ5hCP-IVMsCeoo.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BvXgw7DC-CQCJSWNO.js → EntitySummarySection-D_YLsP_P-CSh4l-FA.js} +8 -8
  70. package/dist/assets/{ExpenseAutomationOverviewPage-ySXotmyY-CJVvqVP_.js → ExpenseAutomationOverviewPage-4z3yzHEA-ChRwE60S.js} +10 -10
  71. package/dist/assets/{ExpenseAutomationPage-CieCVy8t-QWzCgCzs.js → ExpenseAutomationPage-BJ4H_c2z-FgmOcOvc.js} +146 -146
  72. package/dist/assets/{ExpressPayPage-BnUc-3ye-C1dh3GPA.js → ExpressPayPage-CTBD4y1v-NYjAlIxO.js} +15 -15
  73. package/dist/assets/{FeaturePreviewPage-rGKH26mO-DT9io36R.js → FeaturePreviewPage-CYuTQWpP-Bl8VAq6v.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-Cul0Cxvm-Cn0WFUN2.js → FollowStepsSection-BrpI2HyW-DNSECr6B.js} +9 -9
  75. package/dist/assets/{GlobalReviewListPage-CC2ACTah-DpbOnqO_.js → GlobalReviewListPage-BcvxLqIL-CD9rfA0-.js} +12 -12
  76. package/dist/assets/{InformationCardStack-geyzh82K-DogR-UgS.js → InformationCardStack-CU4Moqky-Bc_PhxNK.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-DmEWXOXG-w9gyiHl5.js → InsightsCardStack-D8UQiuXZ-DRkswx9n.js} +8 -8
  78. package/dist/assets/InsightsSection-C3X6ZNEt-CSaE3QjL.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-D8DA20vr-kp4AqUjm.js → IntegrationsSettingsPage-CsLv00HW-c8_zALL5.js} +7 -7
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-C0p3_QQy-B1pmkx4O.js → InternationalWireSwiftDetailsPage-DgrN5Xg7-ik2bKR2J.js} +21 -21
  81. package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-Q67xp-Zv.js +65 -0
  82. package/dist/assets/{InviteFormPage-CH4FYGl4-C_KdwWPO.js → InviteFormPage-B3KmRWXd-DZboWDF0.js} +23 -23
  83. package/dist/assets/{InvitePageListView-C-RG9OiM-CB7Rd6Dr.js → InvitePageListView-DfpJBZru-8z8nAtFG.js} +66 -66
  84. package/dist/assets/InvitePeoplePage-C5Qgk24s-U6BHBwDh.js +12 -0
  85. package/dist/assets/{InvoiceUploadSection-YQHXVR_6-CHAjSpjl.js → InvoiceUploadSection-BO1i-e_D-S9qpWOlw.js} +21 -21
  86. package/dist/assets/{IssueChargeCardPage-CKhRoUiP-D72FC7LA.js → IssueChargeCardPage-mPsxt52d-PfQTvSAJ.js} +20 -20
  87. package/dist/assets/{LabeledAddressValue-D_-0VDjZ-CEjisdoE.js → LabeledAddressValue-C4fnQSyi-BYyUYLsR.js} +2 -2
  88. package/dist/assets/{LabeledAddressValueField-BNPvRvHU-DSWtQeav.js → LabeledAddressValueField-D6dEaI69-DANZLTzI.js} +4 -4
  89. package/dist/assets/LabeledControlledCheckBoxField-B1QdZmvd-DW7Mu6XT.js +16 -0
  90. package/dist/assets/LabeledCountryMultiSelectField-XeBih_-f-O6Y-iu_1.js +237 -0
  91. package/dist/assets/{LabeledCreatableSingleSelectField-C1dHZ9ym-BSUe-QeQ.js → LabeledCreatableSingleSelectField-BPX2Nrlf-VQgMHUfl.js} +21 -17
  92. package/dist/assets/LabeledDocumentField-Bjg8sNsg-C-PR2ZST.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-QdvkGLEh-btByp1Dy.js → LabeledDropDownFormattedTextField-A-rgip1E-DXyiM_iz.js} +6 -6
  94. package/dist/assets/LabeledMultiSelectField-Di9Wnifv-CqQm8lOX.js +223 -0
  95. package/dist/assets/{LabeledText-CQiPSE0v-DtyhIBYN.js → LabeledText-38fqkkE--BV0pTSSz.js} +6 -6
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CcmaUIGJ-BtTLvsY7.js → LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-Bm5BEKWh.js} +17 -17
  97. package/dist/assets/{LabeledZeniRolesDropDownField-k0YihYN--BEaphyAB.js → LabeledZeniRolesDropDownField-Dg9_Ww-A-6LCZnv3_.js} +24 -24
  98. package/dist/assets/{LinkJETransactionPage-DUaT91O5-CYUXtAbL.js → LinkJETransactionPage-66mQ4nrK-Blq1QPxg.js} +16 -16
  99. package/dist/assets/{LockCardPage-DYD2_HzF-0LLriE_o.js → LockCardPage-BCqN4K17-BFhQlELS.js} +26 -26
  100. package/dist/assets/{LowBalancePopup-DiycrXpa-CTxg_4OL.js → LowBalancePopup-BPk1-eAb-DPKxi1xa.js} +5 -5
  101. package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-6n4CruRX.js +1 -0
  102. package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DYmL1ff3.js +1 -0
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-eZNTvlJK-uMbPktxq.js → MagicLinkInternationalWireDetailsPage-B3OpSWB3-BbCH3bCn.js} +1 -1
  104. package/dist/assets/MagicLinkSuccessPage-CphaJa4k-C1L3trsn.js +31 -0
  105. package/dist/assets/{MagicLinkTitleSection-D6bdQGfS-RYgbBPda.js → MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js} +10 -10
  106. package/dist/assets/{MailingDetailsSection-Db8X4a09-Ca6nJ4bp.js → MailingDetailsSection-BJfZvT0b-Cqv93bBS.js} +6 -6
  107. package/dist/assets/{MyBankConnectionsSettingsPage-C9rAs8AC-CPgToLwh.js → MyBankConnectionsSettingsPage-z0tHaSl1-D8NpXmDe.js} +13 -13
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-Dhz5e_Uu-CbKEq9X-.js → MyPendingActivationChargeCardListPage-CwGYwufd-BhPm_tq1.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-CxZER675-DWy9A37H.js → MyProfileSettingsPage-8yBXAre6-Bs5xqc-e.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-BSVBMx7T-7ctXnXTR.js → NavBarWithPicker-C3LVyiC9-QHhc6aBd.js} +5 -5
  111. package/dist/assets/{NavigationArrow-Ca-B5zfh-DOkEZ23Y.js → NavigationArrow-NuJEpE7O-BsQF0lUP.js} +1 -1
  112. package/dist/assets/{NavigationDots-CjxNj1Qo-DUSolsbK.js → NavigationDots-C7Na64B9-CHGprwD5.js} +3 -3
  113. package/dist/assets/{NewGlobalMerchantPage-LykCdab5-BSlnLQR0.js → NewGlobalMerchantPage-Cus6zYV_-DyfxnG1c.js} +41 -41
  114. package/dist/assets/NoDataChart-B3s_7m2n-DuPBFXV2.js +26 -0
  115. package/dist/assets/NoDataTable-CMpypnTw-C6S_V6d0.js +8 -0
  116. package/dist/assets/{NotFoundPage-C4BU4sH8-DZzAQ8sH.js → NotFoundPage-RjXioqc8-DMQ0F7IL.js} +9 -9
  117. package/dist/assets/{NotificationSettingsPage-BcZEeTzA-CPfHSoWp.js → NotificationSettingsPage-DrDW_LU_-mWZ117zO.js} +21 -21
  118. package/dist/assets/{NotificationsListConfig-CYqB9pO5-DEDNzQZY.js → NotificationsListConfig-C6_ap0JT-D0MspRwp.js} +1 -1
  119. package/dist/assets/{NotificationsPage-BpE7xDxK-D8yClJTG.js → NotificationsPage-DOM-Gf5P-BRdHJwOp.js} +15 -15
  120. package/dist/assets/{OpExByVendorPage-CzAB4zqP-CULV3aDc.js → OpExByVendorPage-CTuBB827-Bbt1veu8.js} +20 -20
  121. package/dist/assets/OverlayContainerPage-D4QU0p4o-Bbmz6FH4.js +11 -0
  122. package/dist/assets/{PandLWithForecastPage-CDkHjqzy-DUlj3c64.js → PandLWithForecastPage-BXaENYdR-DDSkVfM3.js} +11 -11
  123. package/dist/assets/PaymentAccountSetupBillingAddressSection-DSnQX90O-Dx1jHuZ7.js +107 -0
  124. package/dist/assets/{PeoplePage-C_FZL-mx-C-bfDUUk.js → PeoplePage-BlyVVthI-fFVSXzpH.js} +36 -36
  125. package/dist/assets/{Preview-D3Bnt1d1.js → Preview-DuIVCswF.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-lJBWrgjU-DonlKGOT.js → ProductsCarousel-CAcPH--E-BIuBBeKB.js} +6 -6
  127. package/dist/assets/{PromoBaseCards-BHeLFDFF-D9FOKv3v.js → PromoBaseCards-BVwZMVeE-DstwmvWv.js} +2 -2
  128. package/dist/assets/{QBOConnectionDialog-BfBk1GDG-BMfCjZzO.js → QBOConnectionDialog-C3OYyhYO-5hTjd5-l.js} +5 -5
  129. package/dist/assets/{QBOSetupSection-BO8FYRd_-Qn6LUGzs.js → QBOSetupSection-DQjol-D0-05cxakPz.js} +11 -11
  130. package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-DjqdHx3S.js +32 -0
  131. package/dist/assets/{ReimbursementApprovalRulesPage-2-dvUngC-DoA4Aa6y.js → ReimbursementApprovalRulesPage-Cx0gs7sS-B-krQa99.js} +9 -9
  132. package/dist/assets/{ReimbursementDetailPage-CCBrKxup-eMdyzTTS.js → ReimbursementDetailPage-Cs_rmkS8-DW1o_189.js} +13 -13
  133. package/dist/assets/{ReimbursementPromoPage-C1DzNWh1-IOjKQSRs.js → ReimbursementPromoPage-CCFl0kQK-B9O9Pssf.js} +8 -8
  134. package/dist/assets/{ReimbursementSetUpPage-Bs1pChM5-DSiQEn3A.js → ReimbursementSetUpPage-lf3xTVFh-COXeJ33g.js} +12 -12
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BY1ivHX0-YGjjSYE0.js → ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CJIWqV-7.js} +1 -1
  136. package/dist/assets/{ReloadCard-Ci1JfueA-DAWS8WWx.js → ReloadCard-V_tv6YLR-pIKKLA9H.js} +6 -6
  137. package/dist/assets/{ReportTableViewSelector-FSUjS0tA-BxIJxG6X.js → ReportTableViewSelector-CWEvGn8L-CcECbGsj.js} +6 -6
  138. package/dist/assets/{ReportsPage-2XGgGATP-w9xnPMQA.js → ReportsPage-BJOH1wgv-CXqYsJPZ.js} +6 -6
  139. package/dist/assets/{RevenueChart-DhiHl3J4-BhIufAgU.js → RevenueChart-C_tSBw_N-Cwj-E2UP.js} +19 -19
  140. package/dist/assets/{ReviewDetailsPage-JfBmJL7T-BkX_u_VB.js → ReviewDetailsPage-CScPf4w3-Cz00WVXv.js} +25 -25
  141. package/dist/assets/{ReviewOverlay-B8Quli7Z-BlSCP7tq.js → ReviewOverlay-BQVwPzKa-BxRw_iSk.js} +31 -31
  142. package/dist/assets/{RoleWithToolTip-DL78JlR8-CjxKYGM4.js → RoleWithToolTip-GCV_l8Ly-GZKD9YbI.js} +2 -2
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-B-mkt12S-BfkvZ3VG.js → ScheduleDetailsFixedAssetsPage-Cgqgn7nk-B00K9FnO.js} +13 -13
  144. package/dist/assets/{ScheduleDetailsPage-BUZcySac-MhIHJ681.js → ScheduleDetailsPage-D1EJbzxN-l7ivTR2t.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-CdKMmZqy-YJzhKMlw.js → ScheduleSequenceTable-DDhoyPGX-CcxwU9B1.js} +37 -37
  146. package/dist/assets/{ScreenRoutes-zyk3b_eT.js → ScreenRoutes-CbhRMGYb.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-D1MXUm9M-DRyEln1s.js → SetUpAccountSection-AVL_16HQ-CfJdXpM8.js} +9 -9
  148. package/dist/assets/{SignIn-CPWFfFe2-DWSC_Uuu.js → SignIn-BLUwTp1l-Diu2Dl0P.js} +12 -12
  149. package/dist/assets/SignInScreen-BAFcpgXM.js +1 -0
  150. package/dist/assets/{SpendManagementListViewPage--cVcOp1f-D8QFk4lP.js → SpendManagementListViewPage-DJbNFHvP-HVPQNsga.js} +15 -15
  151. package/dist/assets/{SpendManagementPerTabPage-DPxjzKS8-BPBxP33H.js → SpendManagementPerTabPage-J5pIRm-Q-zn5Z_C9i.js} +38 -38
  152. package/dist/assets/{SpendManagementSection-CA8SwNCI-CvoMroBv.js → SpendManagementSection-DZaP5ai6-BivazJAu.js} +17 -17
  153. package/dist/assets/{StatementItem-UzV0xHzG-DvTqvxWA.js → StatementItem-D2Fx65LN-DEt1HHDA.js} +6 -6
  154. package/dist/assets/{StatementsPage-CksjCH5w-DHQ77cv-.js → StatementsPage-BCh51lDW-DEzdN4yP.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-BDDVmn-K-DeuB9OqT.js → StatusSwitcher-C5ZrzI8Y-RGx-Rq5m.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-CMsdXoCD-WAW9EP3o.js → SubTabSwitcher-BXZxKeq9-N3T4zPQn.js} +2 -2
  157. package/dist/assets/{SummaryCard-B4km1rL_-BMpuE5I6.js → SummaryCard-194UToy6-ZSyhRMcE.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-CDi3YMVo-BCVU9Q83.js → TaskManagementPage-zcxDUo0t-CfkgE02v.js} +35 -35
  159. package/dist/assets/{TimeRangeSwitcher-D1boW3u5-CiXr6wR1.js → TimeRangeSwitcher-Bsv7zQmN-0uKzxEGk.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-NWdUWC8r-BeE5s881.js → TimeframeSwitcher-DtxsNy1Z-Dpwd2ynA.js} +6 -6
  161. package/dist/assets/{TimeframeSwitcherWithToggle-BCRqmVAB-c94605Tu.js → TimeframeSwitcherWithToggle-B5bFhbvL-C0I_F7ow.js} +1 -1
  162. package/dist/assets/{TopExCard-B7nDaKGC-Bg814R6B.js → TopExCard-CBua66Cj-CBuXuQOS.js} +12 -12
  163. package/dist/assets/{TopExDetailPage-CFC5Kzob-ujXs8dCt.js → TopExDetailPage-DtMA-XMp-EMAyiYoo.js} +10 -10
  164. package/dist/assets/{TransactionActivityLogPage-dLfey-Pj-71cBX4RW.js → TransactionActivityLogPage-C3BPL8hi-rjH_p-06.js} +9 -9
  165. package/dist/assets/{TransactionDetailPage-DUFj8B1S-C57lmiLq.js → TransactionDetailPage-CeKaduBe-gc3Brzcv.js} +35 -35
  166. package/dist/assets/{TransactionList-BDaoHCk7-RJMTG3DX.js → TransactionList-CSx8ZCZ--BfPEmkgj.js} +12 -12
  167. package/dist/assets/{TransactionListBig-DxOGEDcA-Bpd7KyjM.js → TransactionListBig-B4cNQY2d-xUQ7gipo.js} +11 -11
  168. package/dist/assets/TransactionListPage-DHr64V-b-DDnZn40X.js +35 -0
  169. package/dist/assets/{TransactionVendorDetailPage-CliQXg5L-mqUw7M0R.js → TransactionVendorDetailPage-DsxI8U5b-BIfZV2Ct.js} +7 -7
  170. package/dist/assets/{TransferDrawerPage-kbzn1dkx-B-gXa4jg.js → TransferDrawerPage-C91TQwZi-B3ongtBQ.js} +34 -34
  171. package/dist/assets/{TreasuryOverviewPage-j8Dtk2Q8-CYEQwDNB.js → TreasuryOverviewPage-BoBn_gtF-1-z_98qx.js} +48 -48
  172. package/dist/assets/{TreasuryPromoPage-BlgxNE0U-C8L5Aqll.js → TreasuryPromoPage-CQ-VYEQC-DBZ3Ca-z.js} +17 -17
  173. package/dist/assets/{TreasuryStatementsPage-Bd70Y2Yv-CGUVJxwW.js → TreasuryStatementsPage-taTRE54D-s03VARjq.js} +1 -1
  174. package/dist/assets/{TreasuryTaxLetterPage-DL4GDdXJ-ReKQk0DV.js → TreasuryTaxLetterPage-Cxhr51TD-DSRIuJm4.js} +1 -1
  175. package/dist/assets/{TrendChart-BS6VOoj_-B4CrrKxh.js → TrendChart-DATgAEKG-BGhvWXdf.js} +4 -4
  176. package/dist/assets/{TrendWithTransactions-DMAMnr7F-BuabV9Xz.js → TrendWithTransactions-DqPFuOvC-Bu3TdK3s.js} +6 -6
  177. package/dist/assets/{UncategorizedAccountsMappingPage-stLOvAUg-B8dn25ti.js → UncategorizedAccountsMappingPage-BQjXazj4-BOpLaunW.js} +14 -14
  178. package/dist/assets/{UnitIntegrationPage-D39cXlRw-DGhe8Ell.js → UnitIntegrationPage-BiRGRtpI-DxaSFD1H.js} +6 -6
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-BmiNa89K-BTN8zH3K.js → UploadAdditionalDocumentOverlay-DCldWCol-B3iVz4fI.js} +1 -1
  180. package/dist/assets/Vendor2FAPopup-BpkAiYTA-99TJd7nU.js +1 -0
  181. package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BFUuaQ6q.js +1 -0
  182. package/dist/assets/{VendorDetailPage-Ck26EgtS-J34I2iWH.js → VendorDetailPage-DY4iaLtz-AjIptjjy.js} +30 -30
  183. package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-CpOxRXxZ.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-PYVQaWMk-IQ6BXnnM.js → VendorFiling1099EditablePage-Dep7O8Uz-Do-rxCWR.js} +38 -38
  185. package/dist/assets/{VendorFirstReviewPage-hKEEnsZq-Dg2mNc4d.js → VendorFirstReviewPage-CJQIZn8g-DkET_08K.js} +36 -36
  186. package/dist/assets/{VendorInternationalWireDetailsPage-qv2qL6Xn-cR3M50rU.js → VendorInternationalWireDetailsPage-CJG5RIa2-DsTS-Uh9.js} +15 -15
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-a851bv0Y.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-BeiK6LWK-B3NLg17b.js → VendorsAccountsSection-D65ewlO6-DU6ZIrZA.js} +3 -3
  189. package/dist/assets/{VerifyDevice-BVtSQLC2-B413l5qj.js → VerifyDevice-B1_jgwgY-DAz-KAtd.js} +3 -3
  190. package/dist/assets/{VideoPlayer-DcPwSvda-CZGYvE6C.js → VideoPlayer-vWSXteQ6-D5qS5__p.js} +2 -2
  191. package/dist/assets/{VideoPopup-CSSLhfoi-CggaWf4Q.js → VideoPopup-CdsmU6H4-Du7UVtqu.js} +3 -3
  192. package/dist/assets/{WarningsDrawerPage-y9CUfPu5-BXiOCc9G.js → WarningsDrawerPage-CjgOsD00-Denf4Sio.js} +9 -9
  193. package/dist/assets/{ZeniAccountDetailPage-CeL_e1NL-uckQ70j3.js → ZeniAccountDetailPage-DiLnoonB-DZ1tpmUL.js} +30 -30
  194. package/dist/assets/{ZeniAccountListViewPage-C-rGqw9i-CZZ4qFYr.js → ZeniAccountListViewPage-YfPsO8ls-CfUQiafE.js} +11 -11
  195. package/dist/assets/{ZeniAccountNavBarPieces-CSy5vlQ--B5sUMcLP.js → ZeniAccountNavBarPieces-CHStBvRa-5ll2dkEQ.js} +3 -3
  196. package/dist/assets/{ZeniAccountPromoPage-ByNyhhoa-DoFBMtzK.js → ZeniAccountPromoPage-cEfW88p8-BvUDgJZp.js} +12 -12
  197. package/dist/assets/{ZeniAccountSetupPage-YbvbQFzj-DTMXRwPe.js → ZeniAccountSetupPage-B20DHYex-DsTq1nG1.js} +4 -4
  198. package/dist/assets/{ZeniCopyright-D5ywJMrC-BNrbqyo3.js → ZeniCopyright-BROHmszx-VivYqHvz.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-CKFCKGRC-Bm4EEGGu.js → ZeniTransferAmountSlider-DZZrrFXf-DAQs85Xb.js} +4 -4
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-8P7CIdyf.js → add-to-wallet-DgdBD8_G-DBbMptVC.js} +1 -1
  201. package/dist/assets/{analytics-BgoqoHps.js → analytics-DH2FWXQR.js} +1 -1
  202. package/dist/assets/analyticsHelper-CeC4SQzK.js +1 -0
  203. package/dist/assets/{analyticsHelper-nJyKiOwQ-Bz7HQ3Wp.js → analyticsHelper-FJ-cS8qS-Bs47KEMI.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-PYswqry-.js → arrow-south-east-round-PEovUgvH-DzFpwdLa.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-jFxp1S6C.js → auto-transfer-rule-mbafm5D3-C9AIqfs3.js} +1 -1
  206. package/dist/assets/chartTypes-DJdbX13L-BnqLcj4-.js +1 -0
  207. package/dist/assets/{commonDimensions-Upfg-PB1-BJB9saec.js → commonDimensions-BpYNnQtf-BVrF2eSg.js} +1 -1
  208. package/dist/assets/commonTypes-BVbA7QjV-rrrVgiRE.js +1 -0
  209. package/dist/assets/{constants-DwGCeqFm.js → constants-nz8RVtEp.js} +1 -1
  210. package/dist/assets/{core-B5JTMc-Y.js → core-Be77t6wT.js} +1 -1
  211. package/dist/assets/{dash.all.min-CALjDmjw.js → dash.all.min-1JaBh8EA.js} +1 -1
  212. package/dist/assets/{detailCommon-_wEL82NI-CwSBrbUn.js → detailCommon-BRja9H93-BgDpKJS8.js} +5 -5
  213. package/dist/assets/{downloadPdf-CMFOff-_-CRKBzHJP.js → downloadPdf-WDHjFv79-x1y7Noz9.js} +1 -1
  214. package/dist/assets/{empty-B_TE5-ZP.js → empty-CVHCqPg8.js} +1 -1
  215. package/dist/assets/{empty-mBRZ5aW0.js → empty-DqMX1iak.js} +1 -1
  216. package/dist/assets/epic-upTynnWU.js +2 -0
  217. package/dist/assets/{gift-box-Cmt9OgIZ-DlDZOX77.js → gift-box-Cmt9OgIZ-hRxp85e2.js} +1 -1
  218. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DEI87UY9.js → graphic-no-data-l-DU4J8fDt-DdG5b35f.js} +1 -1
  219. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CQMUgr0O.js → graphic-no-data-net-burn-l-CzmycA0m-CRLCiMSY.js} +1 -1
  220. package/dist/assets/{handshake-BPg58FML-CTRgrDfQ.js → handshake-BPg58FML-Ts-GBzII.js} +1 -1
  221. package/dist/assets/{index-DtsBa1Px.js → index-BIQvGH1Z.js} +1 -1
  222. package/dist/assets/{index-CEB0S5G3.js → index-CHDWslZ9.js} +1 -1
  223. package/dist/assets/{index-BDOnIbbU.js → index-CNJQ6T57.js} +4094 -4048
  224. package/dist/assets/{index-BCxrNetx.js → index-Cyi12XGG.js} +1 -1
  225. package/dist/assets/{index-PvEc74OO.js → index-Q1D5afUf.js} +1 -1
  226. package/dist/assets/{index-CMcDE-0x.js → index-WLQ2kK4T.js} +1 -1
  227. package/dist/assets/{index-Ddw0lsYO.js → index-gGz0-y9K.js} +1 -1
  228. package/dist/assets/{lexical-C4hGDQy7.js → lexical-4qH-Yr6_.js} +1 -1
  229. package/dist/assets/{liveblocks-DXXqIP7n.js → liveblocks-CUDrE-0X.js} +1 -1
  230. package/dist/assets/{lottie-DruO0Lf9.js → lottie-C5G-hUN3.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-ll9NZ-I4-PX4nSrtX.js → mapLoadingInProgressToTreeNode-C_5Bb47i-KSj20Sfu.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DcevOSiz-CpiaZ_e5.js → mapSectionWithAcOnlyToTreeNode-BlrJTKah-BOJoZ8nO.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-6Qxn340N-B35_Y-l2.js → mapSpacerToTreeNode-DvdWKHfX-D62umWzQ.js} +1 -1
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-88qIN3FA-CB8prKZU.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-Dd11welj.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-BEBQ7_uD.js +1 -0
  237. package/dist/assets/{mui-Dn-FysqD.js → mui-DsjrNjDe.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-B9Rmi6ZE.js → page-detail-CWX5S47F--SwzhZlk.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-BOU4oLTL.js → panelSelectedMixin-CzfD5-Zs-Cev-MiVu.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-CI2BOyaZ.js → radio-default-CiSgisfh-YvmWy399.js} +1 -1
  241. package/dist/assets/{react-CZCD-bbf.js → react-BCXSKYRr.js} +1 -1
  242. package/dist/assets/{react-B3mq597j.js → react-BWkra2hE.js} +1 -1
  243. package/dist/assets/{react-x-g8LEzo.js → react-Bqp70D_u.js} +1 -1
  244. package/dist/assets/{react-BfeKj8Ah.js → react-CSCeF-Sb.js} +1 -1
  245. package/dist/assets/{react-CHfBVTZT.js → react-Ci_HLnoa.js} +2 -2
  246. package/dist/assets/{react-CiMMCOh1.js → react-DL4wn98u.js} +2 -2
  247. package/dist/assets/{react-BYfEdX_w.js → react-XG3-S5t1.js} +1 -1
  248. package/dist/assets/{react-B7JtqvO2.js → react-eUpxlpRg.js} +1 -1
  249. package/dist/assets/{recharts-CprInlbt.js → recharts-CmZa-egc.js} +1 -1
  250. package/dist/assets/{sentry-7iaVxNzj.js → sentry-9b1mvxJ5.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-D1oOjbdU.js → shield-DOlUxcFf-B8zzGKQS.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-Bq4Xe7az-D4N9dB70.js +1 -0
  253. package/dist/assets/{toChartData-BpfWXnJ--YGdVm4SB.js → toChartData-B3ouXKAd-thMI2fiV.js} +1 -1
  254. package/dist/assets/{uploadAttachment-ukKU1LbX-BZiZFUOo.js → uploadAttachment-DNNG-CMy-D87O59Xy.js} +21 -21
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-COjJQAAp.js → uploadReceipts-Dge0cNF1-C_Z21T_D.js} +1 -1
  256. package/dist/assets/{url-Zc4cev1o.js → url-BiBhYcFe.js} +1 -1
  257. package/dist/assets/{url-CDntiqej.js → url-RTB-DW5V.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-CMas3sgk.js → useLongPress-GCK2COYQ-CsE5mUiU.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-BZQcBi21.js → usp-line-BBd1wKwW-5m5uF-Rf.js} +1 -1
  260. package/dist/assets/{utils-BV_yqPM7.js → utils-VcZ1Xqjg.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-CMxzji9D.js → zeni-epic-state-DJX8u9R8.js} +17 -17
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/AccountInfoPage-BUVWxmzs-BU0QFXPz.js +0 -18
  265. package/dist/assets/AddAddressForCardDrawer-DlGL-3yf-CEM_OSu4.js +0 -6
  266. package/dist/assets/AppBasePage-CPdKfb57-CdKaM3Y7.js +0 -71
  267. package/dist/assets/ApprovalRulesSettingsPage-C8P04Y3s-DdNhWE6a.js +0 -47
  268. package/dist/assets/BillPayApprovalRuleDetailPage-CKr-k2kC-DLLdfful.js +0 -27
  269. package/dist/assets/BillingSettingsPage-Bqj_AXGq-B80HR_0l.js +0 -44
  270. package/dist/assets/BusinessVerificationPage-G8uzN4Ws-Dg4HUFd7.js +0 -138
  271. package/dist/assets/ChargeCardPromoPage-B4yj7KP9-9bE0RFY5.js +0 -222
  272. package/dist/assets/CompanyOfficerDetailsSection-1BDesjjs-CGxHxKUo.js +0 -260
  273. package/dist/assets/CompanyPassportPage-DPNROicI-DkVd0IVN.js +0 -574
  274. package/dist/assets/ConfettiBurst-BUf7AIFk-dPsmZWRd.js +0 -1
  275. package/dist/assets/CustomerOnboardingContainerPage-ihPd9hEn-DodGm-su.js +0 -1
  276. package/dist/assets/CustomerOnboardingNoStepsPage-zMwJiFSO-Ca3ln1bs.js +0 -66
  277. package/dist/assets/EditPeoplePage-D-vaUQbG-Bt1U4fZO.js +0 -55
  278. package/dist/assets/EntityDetailPage-B2Tmq0cV-iHRdD8Pd.js +0 -18
  279. package/dist/assets/InsightsSection-Ldcdpf_t-BcIZl-SB.js +0 -27
  280. package/dist/assets/InternationalWireVerificationPage-mHew9ruS-CuqmXfkC.js +0 -292
  281. package/dist/assets/InvitePeoplePage-y0gl_wqg-Bpnr6fsx.js +0 -12
  282. package/dist/assets/LabeledControlledCheckBoxField-CkG-jIW7-BnIEsD6z.js +0 -16
  283. package/dist/assets/LabeledDocumentField-ffpHZV4a-B_2ABBG3.js +0 -41
  284. package/dist/assets/MagicLinkACHDetailsPage-DIpNQrGA-BqjoWUr8.js +0 -1
  285. package/dist/assets/MagicLinkDomesticWireDetailsPage-B9wywDCI-EJ8yrlbL.js +0 -1
  286. package/dist/assets/MagicLinkSuccessPage-RQtS7ohy-5LyL6Vux.js +0 -31
  287. package/dist/assets/NoDataChart-Dm8c31gV-Bqmql54J.js +0 -26
  288. package/dist/assets/NoDataTable-BLcYAK9T-wg_yL59b.js +0 -8
  289. package/dist/assets/OverlayContainerPage-D4QU0p4o-BX1xnMzK.js +0 -11
  290. package/dist/assets/PaymentAccountSetupBillingAddressSection-ChGcOYcG-CO6Awyg6.js +0 -107
  291. package/dist/assets/ReimbursementApprovalRuleDetailPage-BScdJYcI-bNfeq7vv.js +0 -32
  292. package/dist/assets/SignInScreen-C3Ba0wdc.js +0 -1
  293. package/dist/assets/TransactionListPage-4nFAQM97-ClFT8B5K.js +0 -35
  294. package/dist/assets/Vendor2FAPopup-Cn7Bst-t-DMIJpNIO.js +0 -1
  295. package/dist/assets/VendorACHDetailsPage-yJs4pSeb-BHrP3K1V.js +0 -1
  296. package/dist/assets/VendorDomesticWireDetailsPage-BZatg69M-Dhf3MU0Y.js +0 -1
  297. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co_Kax4L-J_6dAVTd.js +0 -1
  298. package/dist/assets/analyticsHelper-CuUU34nx.js +0 -1
  299. package/dist/assets/chartTypes-BKexR59e-B1u-Nki8.js +0 -1
  300. package/dist/assets/epic-VnsPu9_V.js +0 -2
  301. package/dist/assets/mapTimeframeBalancesToTreeNode-BlKa4mAP-yheruBM4.js +0 -1
  302. package/dist/assets/mapTimeframeBalancesToTreeNode-tYVPqkGh-BqdeYyQR.js +0 -1
  303. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-C92aroSy-EW-HNrEx.js +0 -1
  304. package/dist/assets/toCOABalancesWithID-DtqUradx-DwvWuPd5.js +0 -1
@@ -1,4 +1,4 @@
1
- import{Q as G,aQ as ue,a9 as pe,cF as me,iJ as E,iu as I,cG as he,V as n,ac as ge,g6 as fe,aR as be,F as Q,o as t,y as m,d as xe,C as ye,cI as R,iK as we,p as Ce,b as P,bh as je,u as r}from"./index-BDOnIbbU.js";import{a as B}from"./sentry-7iaVxNzj.js";import{n as i}from"./mui-Dn-FysqD.js";import{G5 as H,G2 as Se,G3 as De}from"./zeni-epic-state-CMxzji9D.js";import $e from"./TransactionDetailPage-DUFj8B1S-C57lmiLq.js";import"./liveblocks-DXXqIP7n.js";import"./core-B5JTMc-Y.js";import"./recharts-CprInlbt.js";import"./lottie-DruO0Lf9.js";import"./analytics-BgoqoHps.js";import"./lexical-C4hGDQy7.js";import"./utils-BV_yqPM7.js";import"./LabeledControlledCheckBoxField-CkG-jIW7-BnIEsD6z.js";import"./TrendWithTransactions-DMAMnr7F-BuabV9Xz.js";import"./TrendChart-BS6VOoj_-B4CrrKxh.js";import"./chartTypes-BKexR59e-B1u-Nki8.js";import"./toCOABalancesWithID-DtqUradx-DwvWuPd5.js";import"./toChartData-BpfWXnJ--YGdVm4SB.js";import"./NoDataChart-Dm8c31gV-Bqmql54J.js";import"./InsightsSection-Ldcdpf_t-BcIZl-SB.js";import"./NavigationDots-CjxNj1Qo-DUSolsbK.js";import"./TransactionList-BDaoHCk7-RJMTG3DX.js";import"./ConstrainedInnerElement-BeIpAPjB-BrcJvid9.js";import"./BoxItem-CgrlwejJ-SY_ufI2M.js";import"./commonDimensions-Upfg-PB1-BJB9saec.js";import"./panelSelectedMixin-CzfD5-Zs-BOU4oLTL.js";import"./uploadAttachment-ukKU1LbX-BZiZFUOo.js";import"./radio-default-CiSgisfh-CI2BOyaZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="f0a65751-430c-4a87-a752-6a19f672b2f8",e._sentryDebugIdIdentifier="sentry-dbid-f0a65751-430c-4a87-a752-6a19f672b2f8")}catch{}})();const V={labelWidth:new m(120,145,160)},ve=i.div`
1
+ import{J as G,aQ as ue,a9 as pe,cF as me,iM as E,ix as P,cG as he,V as n,ac as ge,g8 as fe,aR as xe,F as H,o as t,y as m,c as be,x as ye,cK as F,iN as we,p as je,b as I,bh as Ce,u as r}from"./index-CNJQ6T57.js";import{a as B}from"./sentry-9b1mvxJ5.js";import{n as i}from"./mui-DsjrNjDe.js";import{G5 as Q,G2 as Se,G3 as De}from"./zeni-epic-state-DJX8u9R8.js";import $e from"./TransactionDetailPage-CeKaduBe-gc3Brzcv.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./LabeledControlledCheckBoxField-B1QdZmvd-DW7Mu6XT.js";import"./TrendWithTransactions-DqPFuOvC-Bu3TdK3s.js";import"./TrendChart-DATgAEKG-BGhvWXdf.js";import"./chartTypes-DJdbX13L-BnqLcj4-.js";import"./toCOABalancesWithID-Bq4Xe7az-D4N9dB70.js";import"./toChartData-B3ouXKAd-thMI2fiV.js";import"./NoDataChart-B3s_7m2n-DuPBFXV2.js";import"./InsightsSection-C3X6ZNEt-CSaE3QjL.js";import"./NavigationDots-C7Na64B9-CHGprwD5.js";import"./TransactionList-CSx8ZCZ--BfPEmkgj.js";import"./ConstrainedInnerElement-BeIpAPjB-D4MBpZa1.js";import"./BoxItem-C0M4PSXY-D0kSlmNN.js";import"./commonDimensions-BpYNnQtf-BVrF2eSg.js";import"./panelSelectedMixin-CzfD5-Zs-Cev-MiVu.js";import"./uploadAttachment-DNNG-CMy-D87O59Xy.js";import"./radio-default-CiSgisfh-YvmWy399.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="9ac523f3-86d2-42ef-9c61-25f8f9d9e550",e._sentryDebugIdIdentifier="sentry-dbid-9ac523f3-86d2-42ef-9c61-25f8f9d9e550")}catch{}})();const V={labelWidth:new m(120,145,160)},ve=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -12,14 +12,14 @@ import{Q as G,aQ as ue,a9 as pe,cF as me,iJ as E,iu as I,cG as he,V as n,ac as g
12
12
  `,Ee=i.div`
13
13
  color: ${e=>e.theme.colors.primary};
14
14
  margin: ${t.sp3} ${t.sp1};
15
- ${P.largeMedium.css};
16
- `,Ie=i.div`
15
+ ${I.largeMedium.css};
16
+ `,Pe=i.div`
17
17
  display: flex;
18
18
  flex: 1;
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,J=(e,l)=>`${e}.${l}`;function Pe({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=Q.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:j}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=G();return n.jsxs(ve,{children:[n.jsx(Ee,{windowSize:g,children:j.header}),n.jsxs(ke,{children:[n.jsx(R,{label:{label:o.jePostingDate,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:J(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(Ie,{}),n.jsx(R,{label:{label:o.jeLink,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:J(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color:Ce.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const x={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},M="linkJETransactionPage",W="linkJETransaction",Z=Q.getLocalizedStrings(),{common:{footer:O},dateFormat:Le}=Z,bt=({analytics:e,scheduleTab:l,jeScheduledTransaction:a,localData:s,saveStatus:u,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:j,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:L,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:A,onCancelClick:te,onSaveClick:ne,onFetchTransactionClick:ae})=>{const p=G(),T=ue(u),y=H(h.toString(),s.jeLink),S=Se(L.controllers),D=De(L.controllerUserIds),U=()=>{const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),te()},f=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ne()},ie=async d=>{ee(d)};B.useEffect(()=>{const d=f.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),B.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),A()}},[u,T,A]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:b}}}=Z,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ae(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",$=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",F=he(f.formState.dirtyFields),v=f.formState.isValid,w=$&&F&&v||$&&z&&v,k=F&&v;return n.jsxs(Ae,{children:[n.jsxs(Ue,{windowSize:p,children:[n.jsx(Be,{windowSize:p,children:b.linkJE}),n.jsx(Fe,{children:n.jsx(Re,{onClick:U})})]}),n.jsxs(Te,{children:[n.jsx(Ne,{windowSize:p,children:n.jsx(ge,{...f,children:n.jsx("form",{id:Y(M),onSubmit:f.handleSubmit(oe),children:n.jsx(Pe,{jePostingDate:s.postingDate,sectionId:W,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),z?n.jsxs(Je,{windowSize:p,children:[n.jsx(Me,{})," ",b.zeniRecommendation]}):null,$?n.jsx(ze,{children:n.jsx($e,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:j,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,n.jsxs(Ve,{children:[re?n.jsx(q,{windowSize:p,children:b.transactionFetchError}):null,de?n.jsx(q,{windowSize:p,children:b.jeDetails}):null]}),se?n.jsx(fe,{fetchState:o?.fetchState}):null]}),w||k?n.jsx(be,{formId:w?Y(M):void 0,primaryBtn:{onClick:k&&!w?le:void 0,label:k&&!w?b.fetchJE:O.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:O.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},Y=e=>`${e}_form`,_=(e,l)=>({[W]:{qboURL:H(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Le.visual.MMMDCommaYYYYformat)}}),Ae=i.div`
22
+ `,J=(e,l)=>`${e}.${l}`;function Ie({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=H.getLocalizedStrings(),{dateFormat:j,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:C}}}=u,h=l.format(j.visual.MMMDCommaYYYYformat),g=G();return n.jsxs(ve,{children:[n.jsx(Ee,{windowSize:g,children:C.header}),n.jsxs(ke,{children:[n.jsx(F,{label:{label:o.jePostingDate,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:J(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(Pe,{}),n.jsx(F,{label:{label:o.jeLink,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:J(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color:je.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},O="linkJETransactionPage",W="linkJETransaction",Z=H.getLocalizedStrings(),{common:{footer:M},dateFormat:Le}=Z,xt=({analytics:e,scheduleTab:l,jeScheduledTransaction:a,localData:s,saveStatus:u,isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:L,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:A,onCancelClick:te,onSaveClick:ne,onFetchTransactionClick:ae})=>{const p=G(),T=ue(u),y=Q(h.toString(),s.jeLink),S=Se(L.controllers),D=De(L.controllerUserIds),U=()=>{const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),te()},f=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ne()},ie=async d=>{ee(d)};B.useEffect(()=>{const d=f.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),B.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),A()}},[u,T,A]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:x}}}=Z,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ae(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",$=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",R=he(f.formState.dirtyFields),v=f.formState.isValid,w=$&&R&&v||$&&z&&v,k=R&&v;return n.jsxs(Ae,{children:[n.jsxs(Ue,{windowSize:p,children:[n.jsx(Be,{windowSize:p,children:x.linkJE}),n.jsx(Re,{children:n.jsx(Fe,{onClick:U})})]}),n.jsxs(Te,{children:[n.jsx(Ne,{windowSize:p,children:n.jsx(ge,{...f,children:n.jsx("form",{id:Y(O),onSubmit:f.handleSubmit(oe),children:n.jsx(Ie,{jePostingDate:s.postingDate,sectionId:W,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),z?n.jsxs(Je,{windowSize:p,children:[n.jsx(Oe,{})," ",x.zeniRecommendation]}):null,$?n.jsx(ze,{children:n.jsx($e,{isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,n.jsxs(Ve,{children:[re?n.jsx(q,{windowSize:p,children:x.transactionFetchError}):null,de?n.jsx(q,{windowSize:p,children:x.jeDetails}):null]}),se?n.jsx(fe,{fetchState:o?.fetchState}):null]}),w||k?n.jsx(xe,{formId:w?Y(O):void 0,primaryBtn:{onClick:k&&!w?le:void 0,label:k&&!w?x.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},Y=e=>`${e}_form`,_=(e,l)=>({[W]:{qboURL:Q(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Le.visual.MMMDCommaYYYYformat)}}),Ae=i.div`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -36,10 +36,10 @@ import{Q as G,aQ as ue,a9 as pe,cF as me,iJ as E,iu as I,cG as he,V as n,ac as g
36
36
  align-items: center;
37
37
  top: ${t.sp0};
38
38
  z-index: 2;
39
- padding-left: ${e=>x.containerPaddingLeft.valuePx(e.windowSize)};
40
- padding-right: ${e=>x.containerPaddingRight.valuePx(e.windowSize)};
41
- padding-top: ${e=>x.navbarContainerPaddingTop.valuePx(e.windowSize)};
42
- padding-bottom: ${e=>x.navbarContainerPaddingBottom.valuePx(e.windowSize)};
39
+ padding-left: ${e=>b.containerPaddingLeft.valuePx(e.windowSize)};
40
+ padding-right: ${e=>b.containerPaddingRight.valuePx(e.windowSize)};
41
+ padding-top: ${e=>b.navbarContainerPaddingTop.valuePx(e.windowSize)};
42
+ padding-bottom: ${e=>b.navbarContainerPaddingBottom.valuePx(e.windowSize)};
43
43
  `,Ne=i.div`
44
44
  max-width: 100%;
45
45
  margin-bottom: ${t.sp5};
@@ -48,12 +48,12 @@ import{Q as G,aQ as ue,a9 as pe,cF as me,iJ as E,iu as I,cG as he,V as n,ac as g
48
48
  flex: 1;
49
49
  margin-bottom: ${t.sp12};
50
50
  background-color: inherit;
51
- `,Fe=i.div`
51
+ `,Re=i.div`
52
52
  display: flex;
53
53
  justify-content: flex-end;
54
54
  align-items: center;
55
55
  padding: ${t.sp3} ${t.sp0};
56
- `,Re=i(ye)`
56
+ `,Fe=i(ye)`
57
57
  cursor: pointer;
58
58
  color: ${e=>e.theme.colors.hero};
59
59
  width: ${t.sp4};
@@ -61,7 +61,7 @@ import{Q as G,aQ as ue,a9 as pe,cF as me,iJ as E,iu as I,cG as he,V as n,ac as g
61
61
  &:hover {
62
62
  color: ${e=>e.theme.colors.primary};
63
63
  }
64
- `,Be=i(xe)`
64
+ `,Be=i(be)`
65
65
  display: flex;
66
66
  width: 100%;
67
67
  flex-grow: 1;
@@ -69,7 +69,7 @@ import{Q as G,aQ as ue,a9 as pe,cF as me,iJ as E,iu as I,cG as he,V as n,ac as g
69
69
  margin: auto;
70
70
  justify-content: center;
71
71
  `,q=i.div`
72
- height: ${e=>x.emptyScheduleHeight.valuePx(e.windowSize)};
72
+ height: ${e=>b.emptyScheduleHeight.valuePx(e.windowSize)};
73
73
  display: flex;
74
74
  align-items: center;
75
75
  justify-content: center;
@@ -78,7 +78,7 @@ import{Q as G,aQ as ue,a9 as pe,cF as me,iJ as E,iu as I,cG as he,V as n,ac as g
78
78
  background-color: ${e=>e.theme.colors.background};
79
79
  color: ${e=>e.theme.colors.hero};
80
80
  margin: ${t.sp3} ${t.sp1};
81
- ${P.standardRegular.css};
81
+ ${I.standardRegular.css};
82
82
  `,Ve=i.div`
83
83
  flex-grow: 1;
84
84
  width: 100%;
@@ -91,8 +91,8 @@ import{Q as G,aQ as ue,a9 as pe,cF as me,iJ as E,iu as I,cG as he,V as n,ac as g
91
91
  color: ${e=>e.theme.colors.hero};
92
92
  border: 1px solid ${e=>e.theme.colors.grey3};
93
93
  margin: ${t.sp3} ${t.sp1};
94
- ${P.standardRegular.css};
95
- `,Me=i(je)`
94
+ ${I.standardRegular.css};
95
+ `,Oe=i(Ce)`
96
96
  width: ${t.sp3};
97
97
  height: ${t.sp3};
98
- `;export{bt as default,Y as uniqueFormName};
98
+ `;export{xt as default,Y as uniqueFormName};
@@ -1,4 +1,4 @@
1
- import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as Be,g1 as Ue,o as r,b as We,bT as Ve,aN as re,cY as Ye,b1 as q,er as qe,T as Xe,aR as Ke,F as U,ao as Ge,cI as gr,r as pe,a8 as xr,aw as wr,gS as $r,gc as fr,aP as de,u as y,C as Ze,bV as xe,c as Qe,al as v,b7 as we,ai as K,dv as Je,a$ as er,cC as rr,p as X,am as tr,iO as oe,iZ as br,j2 as yr,j3 as vr,dw as Pe,fs as jr,eK as Sr}from"./index-BDOnIbbU.js";import{a as ae}from"./sentry-7iaVxNzj.js";import{n as i}from"./mui-Dn-FysqD.js";import{EP as Cr}from"./zeni-epic-state-CMxzji9D.js";import{T as ir}from"./RoleWithToolTip-DL78JlR8-CjxKYGM4.js";import{j as or}from"./CardNumberSubText-DPlqciQh-IidQQCet.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new e.Error().stack;h&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[h]="c57f4f40-8ddd-4b0b-b9cd-6d570645bb60",e._sentryDebugIdIdentifier="sentry-dbid-c57f4f40-8ddd-4b0b-b9cd-6d570645bb60")}catch{}})();const J="cardName",fe=U.getLocalizedStrings().spendManagement.chargeCard.renamePopup;function ji({currentCardName:e,renameFetchState:h,onCancelClick:c,onSubmitClick:p}){const l=he(),b="RenameCardForm",n=me({mode:"all",defaultValues:{[J]:e},values:{[J]:e}});ae.useEffect(()=>{n.setFocus(J)},[]);const m=()=>{c()},E=n.handleSubmit(()=>{const $=n.getValues(J);$!=null&&p($)}),I=ue(n.formState.errors,J),o=U.getLocalizedStrings().common,T=le.largeLabelWidth.value(l);return t.jsx(zr,{windowSize:l,role:"presentation",children:t.jsx(Ge,{onClickAway:()=>c(),children:t.jsxs(kr,{windowSize:l,children:[t.jsx(ge,{...n,children:t.jsxs(Nr,{id:b,onSubmit:$=>{$.preventDefault(),E()},children:[t.jsx(Pr,{windowSize:l,children:fe.heading}),t.jsx(Ir,{hasError:I,children:t.jsx(gr,{label:{label:fe.newName,width:T},style:{width:"auto"},text:{type:"text",name:J,defaultValue:e,placeholder:fe.placeholder,options:{required:!0,validate:$=>$!=null}}})})]})}),t.jsx(Dr,{children:t.jsxs(Lr,{children:[t.jsx(pe,{label:o.cancel,onClick:m,style:{width:84}}),t.jsx(Tr,{}),t.jsx(pe,{variant:"primary",label:o.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:h==="In-Progress",type:"submit",form:b})]})})]})})})}const le={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(y[5],y[6]),popupTopBottomPadding:new d(y[5],y[5])},zr=i.div`
1
+ import{J as he,d as Me,a9 as me,y as d,ev as ue,V as t,fd as Be,ac as ge,ap as He,g3 as Ue,o as r,b as We,bT as Ve,aN as re,cO as Ye,b1 as q,eq as qe,T as Xe,aR as Ke,F as U,ao as Ge,cK as gr,r as pe,a8 as xr,aw as wr,gV as $r,ge as fr,aP as de,u as b,x as Ze,bV as xe,R as Je,al as v,b7 as we,ai as K,du as Qe,a$ as er,cC as rr,p as X,am as tr,iR as oe,j0 as yr,j5 as br,j6 as vr,dv as Pe,fu as jr,eL as Sr}from"./index-CNJQ6T57.js";import{a as ae}from"./sentry-9b1mvxJ5.js";import{n as i}from"./mui-DsjrNjDe.js";import{EP as Cr}from"./zeni-epic-state-DJX8u9R8.js";import{T as ir}from"./RoleWithToolTip-GCV_l8Ly-GZKD9YbI.js";import{j as or}from"./CardNumberSubText-B4dAoYDE-B1SbTgmV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new e.Error().stack;h&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[h]="45225085-882c-4d68-bf12-605cec22bf2b",e._sentryDebugIdIdentifier="sentry-dbid-45225085-882c-4d68-bf12-605cec22bf2b")}catch{}})();const Q="cardName",fe=U.getLocalizedStrings().spendManagement.chargeCard.renamePopup;function ji({currentCardName:e,renameFetchState:h,onCancelClick:c,onSubmitClick:p}){const l=he(),y="RenameCardForm",n=me({mode:"all",defaultValues:{[Q]:e},values:{[Q]:e}});ae.useEffect(()=>{n.setFocus(Q)},[]);const m=()=>{c()},E=n.handleSubmit(()=>{const $=n.getValues(Q);$!=null&&p($)}),N=ue(n.formState.errors,Q),o=U.getLocalizedStrings().common,T=le.largeLabelWidth.value(l);return t.jsx(zr,{windowSize:l,role:"presentation",children:t.jsx(Ge,{onClickAway:()=>c(),children:t.jsxs(kr,{windowSize:l,children:[t.jsx(ge,{...n,children:t.jsxs(Ir,{id:y,onSubmit:$=>{$.preventDefault(),E()},children:[t.jsx(Pr,{windowSize:l,children:fe.heading}),t.jsx(Nr,{hasError:N,children:t.jsx(gr,{label:{label:fe.newName,width:T},style:{width:"auto"},text:{type:"text",name:Q,defaultValue:e,placeholder:fe.placeholder,options:{required:!0,validate:$=>$!=null}}})})]})}),t.jsx(Dr,{children:t.jsxs(Lr,{children:[t.jsx(pe,{label:o.cancel,onClick:m,style:{width:84}}),t.jsx(Tr,{}),t.jsx(pe,{variant:"primary",label:o.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:h==="In-Progress",type:"submit",form:y})]})})]})})})}const le={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(b[5],b[6]),popupTopBottomPadding:new d(b[5],b[5])},zr=i.div`
2
2
  position: fixed;
3
3
  top: ${r.sp0};
4
4
  left: ${r.sp0};
@@ -35,7 +35,7 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
35
35
  `,Dr=i.div`
36
36
  display: flex;
37
37
  flex-direction: column;
38
- `,Ir=i.div`
38
+ `,Nr=i.div`
39
39
  border: ${e=>`1px solid ${e.theme.colors.grey3}`};
40
40
  box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.issueChargeCardBackgroundShadow}`};
41
41
  border-radius: ${r.sp2};
@@ -47,9 +47,9 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
47
47
  background-color: ${e=>e.hasError?X.importantLight:e.theme.colors.background} !important;
48
48
  }
49
49
  }
50
- `,Nr=i.form`
50
+ `,Ir=i.form`
51
51
  display: contents;
52
- `,ee="spendLimit",Q=U.getLocalizedStrings().spendManagement.chargeCard.updateSpendLimitPopup,{dateFormat:be}=U.getLocalizedStrings();function Si({controllerEmails:e,isChargeCardFeatureEnabled:h,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:l,cardDetail:b,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:E,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,currentSpentAmount:B,productInformation:j,creditAccountInformation:W,debitAccountInformation:V,maxLimitAmount:O,isDisabled:G,updateLimitFetchState:Z,recommendations:N,cardIssuedByRoles:Y,cardHolderRoles:u,loggedInUserRole:F,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,onCancelClick:s,onSubmitClick:g}){const x=xr().analytics,f=he(),se="SpendLimitForm",ar=wr();Cr(ar.loggedInUserRoleMap);const te=me({mode:"onBlur",reValidateMode:"onBlur",defaultValues:{[ee]:void 0}}),{control:sr,formState:{errors:nr}}=te,[dr,lr]=ae.useState(void 0),ne=$r({control:sr,name:ee}),Ce=b?.type.code.includes("physical")===!0?b.cardActivationAttemptHistory[0]?.timestamp:b?.createTime,ze=(b?.recommendations??[]).map(w=>w.creditLimit.amount),cr=()=>{b!=null&&Le({analytics:x,controllerEmails:e,isChargeCardFeatureEnabled:h,cardDetail:b,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:E,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:F,clickItem:"Cancel",newSpendLimitAmount:ne,productInformation:j,creditAccountInformation:W,debitAccountInformation:V}),s()},pr=te.handleSubmit(()=>{const w=te.getValues(ee);w!=null&&(Le({analytics:x,controllerEmails:e,isChargeCardFeatureEnabled:h,cardDetail:b,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:E,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:F,productInformation:j,creditAccountInformation:W,debitAccountInformation:V,clickItem:"Update",newSpendLimitAmount:w}),g(w))}),hr=w=>{te.setValue(ee,w,{shouldValidate:!0})},ke=ue(nr,ee),$e=U.getLocalizedStrings().common,mr=ce.largeLabelWidth.value(f);ae.useEffect(()=>{lr(Fr(B,O,ne))},[ne,B,O]);const ur=(w,ie)=>t.jsxs(Wr,{isSelected:ne===w.amount,onClick:()=>hr(w.amount),"data-testid":de("quick-amount-button",ie.toString()),children:[ie===1&&t.jsx(Vr,{}),re("0,0.[00]",w)]},ie);return t.jsx(Rr,{windowSize:f,role:"presentation","data-testid":de("update-spend-limit-popup"),children:t.jsx(Ge,{onClickAway:()=>s(),children:t.jsxs(Ar,{windowSize:f,children:[t.jsx(ge,{...te,children:t.jsxs(Yr,{id:se,onSubmit:w=>{w.preventDefault(),pr()},children:[t.jsx(Er,{windowSize:f,children:Q.heading}),t.jsxs(Or,{windowSize:f,children:[Q.currentLimit,$e.strings.space," ",re("0,0.[00]",H),Q.slashMonth]}),t.jsxs(Br,{hasError:ke,children:[t.jsx(fr,{label:{label:Q.newLimit,width:mr},showAdditionalInfoLabel:ke,additionalInfoLabel:dr,formattedTextField:{type:"number",name:ee,defaultValue:void 0,placeholder:Q.placeholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:w=>!!w&&w>0&&w>B.amount&&(O!=null?w<=O.amount:!0)},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},showOutlineOnFocus:!1}),N?.length?t.jsx(Ur,{windowSize:f,children:N?.map((w,ie)=>ur(w.creditLimit,ie))}):null]})]})}),t.jsx(Hr,{children:t.jsxs(_r,{children:[t.jsx(pe,{label:$e.cancel,onClick:cr,style:{width:84},"data-testid":de("update-spend-limit-cancel-button")}),t.jsx(Mr,{}),t.jsx(pe,{variant:"primary",label:$e.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:Z==="In-Progress",type:"submit",form:se,"data-testid":de("update-spend-limit-submit-button"),disabled:G})]})})]})})})}const Fr=(e,h,c)=>{if(c!=null){if(c<=e.amount)return Q.amountBelowError.replace("_amount_",re("0,0.[00]",e));if(h!=null&&c>h.amount)return Q.amountExceedError.replace("_amount_",re("0,0.[00]",h))}},Le=({analytics:e,controllerEmails:h,isChargeCardFeatureEnabled:c,productInformation:p,creditAccountInformation:l,debitAccountInformation:b,cardDetail:n,transactionStatistics:m,depositAccountLimitFetchState:E,creditAccount:I,creditAccountRepayment:o,signedInUser:T,isDebitCard:$,classListFetchState:H,currentLimitAmount:B,recommendedLimitAmounts:j,cardActivationDate:W,cardIssuedByRoles:V,cardHolderRoles:O,cardIssuedByDepartmentName:G,cardHolderDepartmentName:Z,loggedInUserRole:N,clickItem:Y,newSpendLimitAmount:u})=>{n!=null&&H==="Completed"&&m!=null&&m.fetchState==="Completed"&&(!c||I.fetchState==="Completed"&&o.fetchState==="Completed")&&(!$||E==="Completed")&&e.trackCardsUpdateSpendLimitClick(h,p,{cardId:n.id,cardName:n.cardName,cardType:vr(n.type.code),cardCategory:n.type.code.includes("physical")?"physical":"virtual",cardLimit:oe(n.limit.amount),cardLastFourDigits:n.accountLast4,cardStatus:n.status.code,cardAssignedDate:n.createTime?.format(be.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:n.providerCardCreateTime?.format(be.analytics.MMMDashDDDashYYYYFormat),cardActivatedDate:W?.format(be.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:n.creditLimitFrequency.name,cardSpentAmount:oe(n.balance.amount),cardAvailableLimit:oe(n.available.amount),cardUtilizationPercent:yr(n.limit.amount,n.available.amount),cardUtilizationAmount:oe(br(n)),totalNumberOfDeclinedTransactions:m.statistics.totalNumberOfDeclinedTransactions,numberOfDeclinedTransactionsCurrentMonth:m.statistics.numberOfDeclinedTransactionsCurrentMonth,totalNumberOfPaidTransactions:m.statistics.totalNumberOfPaidTransactions,numberOfPaidTransactionsCurrentMonth:m.statistics.numberOfPaidTransactionsCurrentMonth,totalNumberOfCanceledTransactions:m.statistics.totalNumberOfCanceledTransactions,numberOfCanceledTransactionsCurrentMonth:m.statistics.numberOfCanceledTransactionsCurrentMonth,totalNumberOfAuthorizedTransactions:m.statistics.totalNumberOfAuthorizedTransactions,numberOfAuthorizedTransactionsCurrentMonth:m.statistics.numberOfAuthorizedTransactionsCurrentMonth,totalNumberOfTransactionsWithReceipts:m.statistics.totalNumberOfTransactionsWithReceipts,numberOfTransactionsWithReceiptsCurrentMonth:m.statistics.numberOfTransactionsWithReceiptsCurrentMonth},{cardIssuedByName:Pe(n.cardCreatedByUser,!1),cardIssuedByEmail:n.cardCreatedByUser?.email,cardIssuedByUserId:n.cardCreatedByUser?.userId,cardIssuedByRole:V,cardIssuedByDepartment:G},{cardholderName:Pe(n.cardHolderUser,!1),cardholderEmail:n.cardHolderUser?.email,cardholderRole:O,cardholderUserId:n.cardHolderUser?.userId,cardholderDepartment:Z},{cardLimitUpdatedByName:jr(T),cardLimitUpdatedByEmail:T.userEmail,cardLimitUpdatedByRole:N,cardLimitUpdatedByUserId:T.userId},Y,oe(B.amount),j,u!=null?j.includes(u):!1,u,l,b)},ce={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(y[5],y[6]),popupTopBottomPadding:new d(y[5],y[5])},Rr=i.div`
52
+ `,ee="spendLimit",J=U.getLocalizedStrings().spendManagement.chargeCard.updateSpendLimitPopup,{dateFormat:ye}=U.getLocalizedStrings();function Si({controllerEmails:e,isChargeCardFeatureEnabled:h,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:l,cardDetail:y,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:E,creditAccountRepayment:N,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:B,currentSpentAmount:H,productInformation:j,creditAccountInformation:W,debitAccountInformation:V,maxLimitAmount:O,isDisabled:G,updateLimitFetchState:Z,recommendations:I,cardIssuedByRoles:Y,cardHolderRoles:u,loggedInUserRole:R,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,onCancelClick:s,onSubmitClick:g}){const x=xr().analytics,f=he(),se="SpendLimitForm",ar=wr();Cr(ar.loggedInUserRoleMap);const te=me({mode:"onBlur",reValidateMode:"onBlur",defaultValues:{[ee]:void 0}}),{control:sr,formState:{errors:nr}}=te,[dr,lr]=ae.useState(void 0),ne=$r({control:sr,name:ee}),Ce=y?.type.code.includes("physical")===!0?y.cardActivationAttemptHistory[0]?.timestamp:y?.createTime,ze=(y?.recommendations??[]).map(w=>w.creditLimit.amount),cr=()=>{y!=null&&Le({analytics:x,controllerEmails:e,isChargeCardFeatureEnabled:h,cardDetail:y,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:E,creditAccountRepayment:N,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:B,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:R,clickItem:"Cancel",newSpendLimitAmount:ne,productInformation:j,creditAccountInformation:W,debitAccountInformation:V}),s()},pr=te.handleSubmit(()=>{const w=te.getValues(ee);w!=null&&(Le({analytics:x,controllerEmails:e,isChargeCardFeatureEnabled:h,cardDetail:y,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:E,creditAccountRepayment:N,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:B,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:R,productInformation:j,creditAccountInformation:W,debitAccountInformation:V,clickItem:"Update",newSpendLimitAmount:w}),g(w))}),hr=w=>{te.setValue(ee,w,{shouldValidate:!0})},ke=ue(nr,ee),$e=U.getLocalizedStrings().common,mr=ce.largeLabelWidth.value(f);ae.useEffect(()=>{lr(Rr(H,O,ne))},[ne,H,O]);const ur=(w,ie)=>t.jsxs(Wr,{isSelected:ne===w.amount,onClick:()=>hr(w.amount),"data-testid":de("quick-amount-button",ie.toString()),children:[ie===1&&t.jsx(Vr,{}),re("0,0.[00]",w)]},ie);return t.jsx(Ar,{windowSize:f,role:"presentation","data-testid":de("update-spend-limit-popup"),children:t.jsx(Ge,{onClickAway:()=>s(),children:t.jsxs(Fr,{windowSize:f,children:[t.jsx(ge,{...te,children:t.jsxs(Yr,{id:se,onSubmit:w=>{w.preventDefault(),pr()},children:[t.jsx(Er,{windowSize:f,children:J.heading}),t.jsxs(Or,{windowSize:f,children:[J.currentLimit,$e.strings.space," ",re("0,0.[00]",B),J.slashMonth]}),t.jsxs(Hr,{hasError:ke,children:[t.jsx(fr,{label:{label:J.newLimit,width:mr},showAdditionalInfoLabel:ke,additionalInfoLabel:dr,formattedTextField:{type:"number",name:ee,defaultValue:void 0,placeholder:J.placeholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:w=>!!w&&w>0&&w>H.amount&&(O!=null?w<=O.amount:!0)},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},showOutlineOnFocus:!1}),I?.length?t.jsx(Ur,{windowSize:f,children:I?.map((w,ie)=>ur(w.creditLimit,ie))}):null]})]})}),t.jsx(Br,{children:t.jsxs(_r,{children:[t.jsx(pe,{label:$e.cancel,onClick:cr,style:{width:84},"data-testid":de("update-spend-limit-cancel-button")}),t.jsx(Mr,{}),t.jsx(pe,{variant:"primary",label:$e.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:Z==="In-Progress",type:"submit",form:se,"data-testid":de("update-spend-limit-submit-button"),disabled:G})]})})]})})})}const Rr=(e,h,c)=>{if(c!=null){if(c<=e.amount)return J.amountBelowError.replace("_amount_",re("0,0.[00]",e));if(h!=null&&c>h.amount)return J.amountExceedError.replace("_amount_",re("0,0.[00]",h))}},Le=({analytics:e,controllerEmails:h,isChargeCardFeatureEnabled:c,productInformation:p,creditAccountInformation:l,debitAccountInformation:y,cardDetail:n,transactionStatistics:m,depositAccountLimitFetchState:E,creditAccount:N,creditAccountRepayment:o,signedInUser:T,isDebitCard:$,classListFetchState:B,currentLimitAmount:H,recommendedLimitAmounts:j,cardActivationDate:W,cardIssuedByRoles:V,cardHolderRoles:O,cardIssuedByDepartmentName:G,cardHolderDepartmentName:Z,loggedInUserRole:I,clickItem:Y,newSpendLimitAmount:u})=>{n!=null&&B==="Completed"&&m!=null&&m.fetchState==="Completed"&&(!c||N.fetchState==="Completed"&&o.fetchState==="Completed")&&(!$||E==="Completed")&&e.trackCardsUpdateSpendLimitClick(h,p,{cardId:n.id,cardName:n.cardName,cardType:vr(n.type.code),cardCategory:n.type.code.includes("physical")?"physical":"virtual",cardLimit:oe(n.limit.amount),cardLastFourDigits:n.accountLast4,cardStatus:n.status.code,cardAssignedDate:n.createTime?.format(ye.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:n.providerCardCreateTime?.format(ye.analytics.MMMDashDDDashYYYYFormat),cardActivatedDate:W?.format(ye.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:n.creditLimitFrequency.name,cardSpentAmount:oe(n.balance.amount),cardAvailableLimit:oe(n.available.amount),cardUtilizationPercent:br(n.limit.amount,n.available.amount),cardUtilizationAmount:oe(yr(n)),totalNumberOfDeclinedTransactions:m.statistics.totalNumberOfDeclinedTransactions,numberOfDeclinedTransactionsCurrentMonth:m.statistics.numberOfDeclinedTransactionsCurrentMonth,totalNumberOfPaidTransactions:m.statistics.totalNumberOfPaidTransactions,numberOfPaidTransactionsCurrentMonth:m.statistics.numberOfPaidTransactionsCurrentMonth,totalNumberOfCanceledTransactions:m.statistics.totalNumberOfCanceledTransactions,numberOfCanceledTransactionsCurrentMonth:m.statistics.numberOfCanceledTransactionsCurrentMonth,totalNumberOfAuthorizedTransactions:m.statistics.totalNumberOfAuthorizedTransactions,numberOfAuthorizedTransactionsCurrentMonth:m.statistics.numberOfAuthorizedTransactionsCurrentMonth,totalNumberOfTransactionsWithReceipts:m.statistics.totalNumberOfTransactionsWithReceipts,numberOfTransactionsWithReceiptsCurrentMonth:m.statistics.numberOfTransactionsWithReceiptsCurrentMonth},{cardIssuedByName:Pe(n.cardCreatedByUser,!1),cardIssuedByEmail:n.cardCreatedByUser?.email,cardIssuedByUserId:n.cardCreatedByUser?.userId,cardIssuedByRole:V,cardIssuedByDepartment:G},{cardholderName:Pe(n.cardHolderUser,!1),cardholderEmail:n.cardHolderUser?.email,cardholderRole:O,cardholderUserId:n.cardHolderUser?.userId,cardholderDepartment:Z},{cardLimitUpdatedByName:jr(T),cardLimitUpdatedByEmail:T.userEmail,cardLimitUpdatedByRole:I,cardLimitUpdatedByUserId:T.userId},Y,oe(H.amount),j,u!=null?j.includes(u):!1,u,l,y)},ce={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(b[5],b[6]),popupTopBottomPadding:new d(b[5],b[5])},Ar=i.div`
53
53
  position: fixed;
54
54
  top: ${r.sp0};
55
55
  left: ${r.sp0};
@@ -60,7 +60,7 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
60
60
  flex-direction: column;
61
61
  align-items: center;
62
62
  background: ${X.overlayDark};
63
- `,Ar=i.div`
63
+ `,Fr=i.div`
64
64
  display: flex;
65
65
  flex-direction: column;
66
66
  justify-content: space-between;
@@ -86,10 +86,10 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
86
86
  padding-top: ${r.sp4};
87
87
  `,Mr=i.div`
88
88
  width: ${r.sp3};
89
- `,Hr=i.div`
89
+ `,Br=i.div`
90
90
  display: flex;
91
91
  flex-direction: column;
92
- `,Br=i.div`
92
+ `,Hr=i.div`
93
93
  border: ${e=>`1px solid ${e.theme.colors.grey3}`};
94
94
  box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.issueChargeCardBackgroundShadow}`};
95
95
  border-radius: ${r.sp2};
@@ -127,7 +127,7 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
127
127
  height: ${r.sp3};
128
128
  `,Yr=i.form`
129
129
  display: contents;
130
- `,P={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(y[3],y[4]),cardNameSectionMarginLeft:new d(y[7],0),cardHolderDetailsGap:new d(y[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(y[3],0)},{common:S,closeCard:_}=U.getLocalizedStrings().spendManagement.chargeCard,z="reasonSection",Te="closeCardPage",R=(e,h)=>`${e}.${h}`,De=e=>`${e}_form`,{common:ye,dateFormat:qr,cockpit:Xr}=U.getLocalizedStrings(),Ci=({showCloseCardDrawer:e,onCloseCloseCardDrawer:h,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:b,closeCardFetchState:n,onRemoveCardClick:m,onConfirmClick:E,onDismissClick:I})=>{const o=he(),T=Me(),[$,H]=ae.useState(Object.fromEntries(Object.keys(l).map((a,s)=>[a,s===0]))),B=a=>{H(s=>s[a]?{...s,[a]:!1}:{...Object.fromEntries(Object.keys(s).map(g=>[g,!1])),[a]:!0})},j=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[z]:{reason:void 0,reasonType:void 0}},values:{[z]:{reason:void 0,reasonType:void 0}}}),W=P.largeLabelWidth.value(o),{isValid:V,errors:O}=j.formState,G=a=>`${p[a].cardHolderUser?.firstName??""} ${p[a].cardHolderUser?.lastName??""}`,Z=ue(O,R(z,"reasonType")),N=j.watch("reasonSection.reasonType"),Y=j.handleSubmit(()=>{if(V){const a=j.getValues(),s={reason:a[z].reason,reasonType:a[z].reasonType};E(s)}}),u=Object.keys(l).length>1,F=Object.keys(l).length,D=Object.values(l).reduce((a,s)=>a+s.length,0);return t.jsx(He,{anchor:"right",open:e,onClose:h,PaperProps:{style:{width:P.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Kr,{windowSize:o,children:[t.jsxs(Gr,{windowSize:o,children:[t.jsx(Zr,{windowSize:o,children:t.jsx(Jr,{onClick:()=>{I()}})}),o==="small"?t.jsx(nt,{windowSize:o,children:u?_.closeCards:_.closeCard}):t.jsx(dt,{children:u?_.closeCards:_.closeCard}),b==="Completed"?t.jsx(ge,{...j,children:t.jsxs("form",{id:De(Te),onSubmit:Y,children:[t.jsxs(lt,{children:[t.jsx(ct,{windowSize:o,children:u?D>0?`${_.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",F.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?S.expense:S.expenses} ${_.multipleCardsHasRecurringExpensesSuffix}`:_.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",F.toString()):_.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?S.expense:S.expenses)}),u&&t.jsx(Pt,{children:`${F} ${F===1?S.card:S.cards} ${S.selected}`}),Object.keys(l).map((a,s)=>{const g=l[a].length>0;return t.jsxs(pt,{onClick:()=>g?B(a):void 0,isMoreThanOneCard:u,isLastCard:s===Object.keys(l).length-1,children:[t.jsxs(mt,{windowSize:o,children:[t.jsxs(ut,{windowSize:o,children:[t.jsxs(gt,{windowSize:o,children:[p[a].cardHolderUser?.photo!==void 0?t.jsx(et,{src:p[a].cardHolderUser?.photo.href,alt:Xr.userProfileAltText,onError:({currentTarget:x})=>{x.onerror=null,x.src=Be},loading:"lazy"}):t.jsx(Ue,{firstName:p[a].cardHolderUser?.firstName??"",lastName:p[a].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(ht,{children:G(a)}),t.jsx(xt,{children:t.jsx(ir,{roles:p[a].cardHolderRoles.userRoles})})]})]}),o==="small"&&g&&($[a]?t.jsx(Ne,{}):t.jsx(Fe,{}))]}),t.jsxs(wt,{windowSize:o,children:[p[a].cardName,t.jsx(or,{cardDetail:p[a],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs($t,{windowSize:o,children:[t.jsxs(Ct,{children:[t.jsx(zt,{children:l[a].length}),t.jsx(St,{children:S.recurringExpenses})]}),o!=="small"&&g&&($[a]?t.jsx(Ne,{}):t.jsx(Fe,{}))]})]}),u&&t.jsx(it,{children:t.jsx(Ve,{variant:"standard",title:ye.remove,children:t.jsx(tt,{onClick:()=>m(a)})})}),$[a]&&g&&t.jsxs(t.Fragment,{children:[t.jsx(Ie,{}),t.jsxs(ft,{children:[t.jsxs(kt,{children:[t.jsx(je,{width:o==="small"?112:240,children:S.merchant}),t.jsx(je,{width:o==="small"?112:104,children:S.nextPaymentDate}),t.jsx(Lt,{width:o==="small"?100:312,children:S.amount})]}),l[a].map((x,f)=>t.jsxs("div",{children:[f>0&&t.jsx(Ie,{}),t.jsxs(bt,{children:[t.jsxs(yt,{windowSize:o,children:[t.jsx(ot,{src:x.merchant.logo?.url?.href}),t.jsx(rt,{windowSize:o,children:x.merchant.brandName??x.merchant.name})]}),t.jsx(vt,{windowSize:o,children:x.nextPaymentDate.format(qr.visual.MMMDCommaYYYYformat)}),t.jsx(jt,{windowSize:o,children:re("0,0.00",x.amount)})]},x.merchant.name)]},x.merchant.name))]})]})]},a)})]}),t.jsx(Dt,{windowSize:o,children:S.letUsKnowWhy}),t.jsxs(Tt,{isReasonTextFieldVisible:N==="other",children:[t.jsxs(at,{size:o,children:[t.jsx(Ye,{label:S.reasonLabel,htmlFor:R(z,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(st,{labelWidth:W,size:o,children:[t.jsx(q,{label:{label:S.reason.lost},style:{width:"auto"},radioField:{name:R(z,"reasonType"),id:`${R(z,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.fraud},style:{width:"auto"},radioField:{name:R(z,"reasonType"),id:`${R(z,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.not_needed},style:{width:"auto"},radioField:{name:R(z,"reasonType"),id:`${R(z,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.other},style:{width:"auto"},radioField:{name:R(z,"reasonType"),id:`${R(z,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}})]})]}),N==="other"?t.jsx(qe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${P.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:R(z,"reason"),placeholder:_.reasonPlaceholder,className:"reason-text-field",registerOptions:{required:!c,validate:a=>c?!0:!!a}}):N==null&&!c&&Z?t.jsx(Qr,{children:_.youNeedToProvideReasonToCloseCard}):null]})]})}):t.jsx(Xe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),b==="Completed"&&t.jsx(Ke,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:De(Te),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:ye.confirm,isLoading:n==="In-Progress",variant:"danger"},cancelBtn:{label:ye.cancel,style:{width:"90px"},onClick:()=>{I?.()}}})]})})},Kr=i.div`
130
+ `,P={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(b[3],b[4]),cardNameSectionMarginLeft:new d(b[7],0),cardHolderDetailsGap:new d(b[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(b[3],0)},{common:S,closeCard:_}=U.getLocalizedStrings().spendManagement.chargeCard,z="reasonSection",Te="closeCardPage",A=(e,h)=>`${e}.${h}`,De=e=>`${e}_form`,{common:be,dateFormat:qr,cockpit:Xr}=U.getLocalizedStrings(),Ci=({showCloseCardDrawer:e,onCloseCloseCardDrawer:h,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:y,closeCardFetchState:n,onRemoveCardClick:m,onConfirmClick:E,onDismissClick:N})=>{const o=he(),T=Me(),[$,B]=ae.useState(Object.fromEntries(Object.keys(l).map((a,s)=>[a,s===0]))),H=a=>{B(s=>s[a]?{...s,[a]:!1}:{...Object.fromEntries(Object.keys(s).map(g=>[g,!1])),[a]:!0})},j=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[z]:{reason:void 0,reasonType:void 0}},values:{[z]:{reason:void 0,reasonType:void 0}}}),W=P.largeLabelWidth.value(o),{isValid:V,errors:O}=j.formState,G=a=>`${p[a].cardHolderUser?.firstName??""} ${p[a].cardHolderUser?.lastName??""}`,Z=ue(O,A(z,"reasonType")),I=j.watch("reasonSection.reasonType"),Y=j.handleSubmit(()=>{if(V){const a=j.getValues(),s={reason:a[z].reason,reasonType:a[z].reasonType};E(s)}}),u=Object.keys(l).length>1,R=Object.keys(l).length,D=Object.values(l).reduce((a,s)=>a+s.length,0);return t.jsx(Be,{anchor:"right",open:e,onClose:h,PaperProps:{style:{width:P.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Kr,{windowSize:o,children:[t.jsxs(Gr,{windowSize:o,children:[t.jsx(Zr,{windowSize:o,children:t.jsx(Qr,{onClick:()=>{N()}})}),o==="small"?t.jsx(nt,{windowSize:o,children:u?_.closeCards:_.closeCard}):t.jsx(dt,{children:u?_.closeCards:_.closeCard}),y==="Completed"?t.jsx(ge,{...j,children:t.jsxs("form",{id:De(Te),onSubmit:Y,children:[t.jsxs(lt,{children:[t.jsx(ct,{windowSize:o,children:u?D>0?`${_.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",R.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?S.expense:S.expenses} ${_.multipleCardsHasRecurringExpensesSuffix}`:_.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",R.toString()):_.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?S.expense:S.expenses)}),u&&t.jsx(Pt,{children:`${R} ${R===1?S.card:S.cards} ${S.selected}`}),Object.keys(l).map((a,s)=>{const g=l[a].length>0;return t.jsxs(pt,{onClick:()=>g?H(a):void 0,isMoreThanOneCard:u,isLastCard:s===Object.keys(l).length-1,children:[t.jsxs(mt,{windowSize:o,children:[t.jsxs(ut,{windowSize:o,children:[t.jsxs(gt,{windowSize:o,children:[p[a].cardHolderUser?.photo!==void 0?t.jsx(et,{src:p[a].cardHolderUser?.photo.href,alt:Xr.userProfileAltText,onError:({currentTarget:x})=>{x.onerror=null,x.src=He},loading:"lazy"}):t.jsx(Ue,{firstName:p[a].cardHolderUser?.firstName??"",lastName:p[a].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(ht,{children:G(a)}),t.jsx(xt,{children:t.jsx(ir,{roles:p[a].cardHolderRoles.userRoles})})]})]}),o==="small"&&g&&($[a]?t.jsx(Ie,{}):t.jsx(Re,{}))]}),t.jsxs(wt,{windowSize:o,children:[p[a].cardName,t.jsx(or,{cardDetail:p[a],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs($t,{windowSize:o,children:[t.jsxs(Ct,{children:[t.jsx(zt,{children:l[a].length}),t.jsx(St,{children:S.recurringExpenses})]}),o!=="small"&&g&&($[a]?t.jsx(Ie,{}):t.jsx(Re,{}))]})]}),u&&t.jsx(it,{children:t.jsx(Ve,{variant:"standard",title:be.remove,children:t.jsx(tt,{onClick:()=>m(a)})})}),$[a]&&g&&t.jsxs(t.Fragment,{children:[t.jsx(Ne,{}),t.jsxs(ft,{children:[t.jsxs(kt,{children:[t.jsx(je,{width:o==="small"?112:240,children:S.merchant}),t.jsx(je,{width:o==="small"?112:104,children:S.nextPaymentDate}),t.jsx(Lt,{width:o==="small"?100:312,children:S.amount})]}),l[a].map((x,f)=>t.jsxs("div",{children:[f>0&&t.jsx(Ne,{}),t.jsxs(yt,{children:[t.jsxs(bt,{windowSize:o,children:[t.jsx(ot,{src:x.merchant.logo?.url?.href}),t.jsx(rt,{windowSize:o,children:x.merchant.brandName??x.merchant.name})]}),t.jsx(vt,{windowSize:o,children:x.nextPaymentDate.format(qr.visual.MMMDCommaYYYYformat)}),t.jsx(jt,{windowSize:o,children:re("0,0.00",x.amount)})]},x.merchant.name)]},x.merchant.name))]})]})]},a)})]}),t.jsx(Dt,{windowSize:o,children:S.letUsKnowWhy}),t.jsxs(Tt,{isReasonTextFieldVisible:I==="other",children:[t.jsxs(at,{size:o,children:[t.jsx(Ye,{label:S.reasonLabel,htmlFor:A(z,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(st,{labelWidth:W,size:o,children:[t.jsx(q,{label:{label:S.reason.lost},style:{width:"auto"},radioField:{name:A(z,"reasonType"),id:`${A(z,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.fraud},style:{width:"auto"},radioField:{name:A(z,"reasonType"),id:`${A(z,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.not_needed},style:{width:"auto"},radioField:{name:A(z,"reasonType"),id:`${A(z,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.other},style:{width:"auto"},radioField:{name:A(z,"reasonType"),id:`${A(z,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}})]})]}),I==="other"?t.jsx(qe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${P.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:A(z,"reason"),placeholder:_.reasonPlaceholder,className:"reason-text-field",registerOptions:{required:!c,validate:a=>c?!0:!!a}}):I==null&&!c&&Z?t.jsx(Jr,{children:_.youNeedToProvideReasonToCloseCard}):null]})]})}):t.jsx(Xe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),y==="Completed"&&t.jsx(Ke,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:De(Te),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:be.confirm,isLoading:n==="In-Progress",variant:"danger"},cancelBtn:{label:be.cancel,style:{width:"90px"},onClick:()=>{N?.()}}})]})})},Kr=i.div`
131
131
  display: flex;
132
132
  flex-direction: column;
133
133
  background-color: ${e=>e.theme.colors.grey4};
@@ -149,10 +149,10 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
149
149
  padding: ${e=>`${P.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${r.sp0}`};
150
150
  z-index: 2;
151
151
  background-color: ${e=>e.theme.colors.grey4};
152
- `,Qr=i(K)`
152
+ `,Jr=i(K)`
153
153
  color: ${e=>e.theme.colors.important};
154
154
  text-align: end;
155
- `,Jr=i(Ze)`
155
+ `,Qr=i(Ze)`
156
156
  cursor: pointer;
157
157
  color: ${e=>e.theme.colors.hero};
158
158
  width: ${r.sp4};
@@ -231,7 +231,7 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
231
231
  margin-top: ${r.sp3};
232
232
  margin-bottom: ${r.sp0};
233
233
  margin-right: ${r.sp3};
234
- `,dt=i(Qe)`
234
+ `,dt=i(Je)`
235
235
  color: ${e=>e.theme.colors.primary};
236
236
  margin-top: ${r.sp3};
237
237
  margin-bottom: ${r.sp2};
@@ -298,16 +298,16 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
298
298
  `,ft=i.div`
299
299
  margin: ${r.sp3} ${r.sp4} ${r.sp0} ${r.sp4};
300
300
  padding-bottom: ${r.sp2};
301
- `,bt=i.div`
301
+ `,yt=i.div`
302
302
  display: flex;
303
303
  justify-content: space-between;
304
304
  margin: ${r.sp2} ${r.sp0};
305
- `,Ie=i.div`
305
+ `,Ne=i.div`
306
306
  background-color: ${e=>e.theme.mode==="light"?e.theme.colors.background:X.neutralGrey3Dark};
307
307
  min-height: 1px;
308
308
  max-height: 1px;
309
309
  width: 100%;
310
- `,yt=i(v)`
310
+ `,bt=i(v)`
311
311
  width: ${e=>`${P.recurringExpenseMerchantWidth.valuePx(e.windowSize)}`};
312
312
  text-align: left;
313
313
  color: inherit;
@@ -336,13 +336,13 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
336
336
  `,Pt=i(we)`
337
337
  color: ${e=>e.theme.colors.primary};
338
338
  padding: ${r.sp3} ${r.sp0};
339
- `,Ne=i(Je)`
339
+ `,Ie=i(Qe)`
340
340
  width: ${r.sp4};
341
341
  height: ${r.sp4};
342
342
  min-width: ${r.sp4};
343
343
  min-height: ${r.sp4};
344
344
  color: inherit;
345
- `,Fe=i(er)`
345
+ `,Re=i(er)`
346
346
  cursor: pointer;
347
347
  width: ${r.sp4};
348
348
  height: ${r.sp4};
@@ -374,19 +374,19 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
374
374
  margin-bottom: ${r.sp3};
375
375
  margin-top: ${r.sp7};
376
376
  color: ${e=>e.theme.colors.primary};
377
- `,L={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(y[3],y[4]),cardNameSectionMarginLeft:new d(y[7],0),cardHolderDetailsGap:new d(y[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(y[3],0)},{lockCard:M,common:C}=U.getLocalizedStrings().spendManagement.chargeCard,k="reasonSection",Re="lockCardPage",A=(e,h)=>`${e}.${h}`,Ae=e=>`${e}_form`,{common:ve,dateFormat:It,cockpit:Nt}=U.getLocalizedStrings(),zi=({showLockCardDrawer:e,onCloseLockCardDrawer:h,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:b,lockCardFetchState:n,onRemoveCardClick:m,onConfirmClick:E,onDismissClick:I})=>{const o=he(),T=Me(),[$,H]=ae.useState(Object.fromEntries(Object.keys(l).map((s,g)=>[s,g===0]))),B=s=>{H(g=>g[s]?{...g,[s]:!1}:{...Object.fromEntries(Object.keys(g).map(x=>[x,!1])),[s]:!0})},j=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[k]:{reason:void 0,reasonType:void 0}},values:{[k]:{reason:void 0,reasonType:void 0}}}),W=L.largeLabelWidth.value(o),{isValid:V,errors:O}=j.formState,G=s=>`${p[s].cardHolderUser?.firstName??""} ${p[s].cardHolderUser?.lastName??""}`,Z=ue(O,A(k,"reasonType")),N=j.watch("reasonSection.reasonType"),Y=j.handleSubmit(()=>{if(V){const s=j.getValues(),g={reason:s[k].reason,reasonType:s[k].reasonType};E(g)}}),u=Object.keys(l).length>1,F=Object.keys(l).length,D=Object.values(l).reduce((s,g)=>s+g.length,0),a=l[Object.keys(l)[0]].length>0;return t.jsx(He,{anchor:"right",open:e,onClose:h,PaperProps:{style:{width:L.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Ft,{windowSize:o,children:[t.jsxs(Rt,{windowSize:o,children:[t.jsx(Ot,{windowSize:o,children:t.jsx(Mt,{onClick:()=>{I()}})}),o==="small"?t.jsx(qt,{windowSize:o,children:u?M.lockCards:M.lockCard}):t.jsx(Xt,{children:u?M.lockCards:M.lockCard}),b==="Completed"?t.jsx(ge,{...j,children:t.jsxs("form",{id:Ae(Re),onSubmit:Y,children:[t.jsxs(Kt,{children:[t.jsx(Gt,{windowSize:o,children:u?D>0?`${M.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",F.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?C.expense:C.expenses}.`:M.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",F.toString()):a?M.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?C.expense:C.expenses):M.firstCardNoRecurringExpenses}),u&&t.jsx(mi,{children:`${F} ${F===1?C.card:C.cards} ${C.selected}`}),Object.keys(l).map((s,g)=>{const x=l[s].length>0;return t.jsxs(Zt,{onClick:()=>x?B(s):void 0,isMoreThanOneCard:u,isLastCard:g===Object.keys(l).length-1,children:[t.jsxs(Jt,{windowSize:o,children:[t.jsxs(Et,{windowSize:o,children:[t.jsxs(ei,{windowSize:o,children:[p[s].cardHolderUser?.photo!==void 0?t.jsx(Ht,{src:p[s].cardHolderUser?.photo.href,alt:Nt.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=Be},loading:"lazy"}):t.jsx(Ue,{firstName:p[s].cardHolderUser?.firstName??"",lastName:p[s].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(Qt,{children:G(s)}),t.jsx(ri,{children:t.jsx(ir,{roles:p[s].cardHolderRoles.userRoles})})]})]}),o==="small"&&x&&($[s]?t.jsx(Oe,{}):t.jsx(_e,{}))]}),t.jsxs(ti,{windowSize:o,children:[p[s].cardName,t.jsx(or,{cardDetail:p[s],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs(ii,{windowSize:o,children:[t.jsxs(li,{children:[t.jsx(pi,{children:l[s].length}),t.jsx(ci,{children:C.recurringExpenses})]}),o!=="small"&&x&&($[s]?t.jsx(Oe,{}):t.jsx(_e,{}))]})]}),u&&t.jsx(At,{children:t.jsx(Ve,{variant:"standard",title:ve.remove,children:t.jsx(Ut,{onClick:()=>m(s)})})}),$[s]&&x&&t.jsxs(t.Fragment,{children:[t.jsx(Ee,{}),t.jsxs(oi,{children:[t.jsxs(hi,{children:[t.jsx(Se,{width:o==="small"?112:240,children:C.merchant}),t.jsx(Se,{width:o==="small"?112:104,children:C.nextPaymentDate}),t.jsx(ui,{width:o==="small"?100:312,children:C.amount})]}),l[s].map((f,se)=>t.jsxs("div",{children:[se>0&&t.jsx(Ee,{}),t.jsxs(ai,{children:[t.jsxs(si,{windowSize:o,children:[t.jsx(Wt,{src:f.merchant.logo?.url?.href}),t.jsx(Bt,{windowSize:o,children:f.merchant.brandName??f.merchant.name})]}),t.jsx(ni,{windowSize:o,children:f.nextPaymentDate.format(It.visual.MMMDCommaYYYYformat)}),t.jsx(di,{windowSize:o,children:re("0,0.00",f.amount)})]},f.merchant.name)]},f.merchant.name))]})]})]},s)})]}),t.jsx(xi,{windowSize:o,children:C.letUsKnowWhy}),t.jsxs(gi,{isReasonTextFieldVisible:N==="other",children:[t.jsxs(Vt,{size:o,children:[t.jsx(Ye,{label:C.reasonLabel,htmlFor:A(k,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(Yt,{labelWidth:W,size:o,children:[t.jsx(q,{label:{label:C.reason.lost},style:{width:"auto"},radioField:{name:A(k,"reasonType"),id:`${A(k,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.fraud},style:{width:"auto"},radioField:{name:A(k,"reasonType"),id:`${A(k,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.not_needed},style:{width:"auto"},radioField:{name:A(k,"reasonType"),id:`${A(k,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.other},style:{width:"auto"},radioField:{name:A(k,"reasonType"),id:`${A(k,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},radioSize:"small"}})]})]}),N==="other"?t.jsx(qe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${L.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:A(k,"reason"),placeholder:M.reasonPlaceholder,className:"reason-text-field"}):N==null&&!c&&Z?t.jsx(_t,{children:M.youNeedToProvideReasonToLockCard}):null]})]})}):t.jsx(Xe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),b==="Completed"&&t.jsx(Ke,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:Ae(Re),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:ve.confirm,isLoading:n==="In-Progress"},cancelBtn:{label:ve.cancel,style:{width:"90px"},onClick:()=>{I?.()}}})]})})},Ft=i.div`
377
+ `,L={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(b[3],b[4]),cardNameSectionMarginLeft:new d(b[7],0),cardHolderDetailsGap:new d(b[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(b[3],0)},{lockCard:M,common:C}=U.getLocalizedStrings().spendManagement.chargeCard,k="reasonSection",Ae="lockCardPage",F=(e,h)=>`${e}.${h}`,Fe=e=>`${e}_form`,{common:ve,dateFormat:Nt,cockpit:It}=U.getLocalizedStrings(),zi=({showLockCardDrawer:e,onCloseLockCardDrawer:h,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:y,lockCardFetchState:n,onRemoveCardClick:m,onConfirmClick:E,onDismissClick:N})=>{const o=he(),T=Me(),[$,B]=ae.useState(Object.fromEntries(Object.keys(l).map((s,g)=>[s,g===0]))),H=s=>{B(g=>g[s]?{...g,[s]:!1}:{...Object.fromEntries(Object.keys(g).map(x=>[x,!1])),[s]:!0})},j=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[k]:{reason:void 0,reasonType:void 0}},values:{[k]:{reason:void 0,reasonType:void 0}}}),W=L.largeLabelWidth.value(o),{isValid:V,errors:O}=j.formState,G=s=>`${p[s].cardHolderUser?.firstName??""} ${p[s].cardHolderUser?.lastName??""}`,Z=ue(O,F(k,"reasonType")),I=j.watch("reasonSection.reasonType"),Y=j.handleSubmit(()=>{if(V){const s=j.getValues(),g={reason:s[k].reason,reasonType:s[k].reasonType};E(g)}}),u=Object.keys(l).length>1,R=Object.keys(l).length,D=Object.values(l).reduce((s,g)=>s+g.length,0),a=l[Object.keys(l)[0]].length>0;return t.jsx(Be,{anchor:"right",open:e,onClose:h,PaperProps:{style:{width:L.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Rt,{windowSize:o,children:[t.jsxs(At,{windowSize:o,children:[t.jsx(Ot,{windowSize:o,children:t.jsx(Mt,{onClick:()=>{N()}})}),o==="small"?t.jsx(qt,{windowSize:o,children:u?M.lockCards:M.lockCard}):t.jsx(Xt,{children:u?M.lockCards:M.lockCard}),y==="Completed"?t.jsx(ge,{...j,children:t.jsxs("form",{id:Fe(Ae),onSubmit:Y,children:[t.jsxs(Kt,{children:[t.jsx(Gt,{windowSize:o,children:u?D>0?`${M.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",R.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?C.expense:C.expenses}.`:M.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",R.toString()):a?M.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?C.expense:C.expenses):M.firstCardNoRecurringExpenses}),u&&t.jsx(mi,{children:`${R} ${R===1?C.card:C.cards} ${C.selected}`}),Object.keys(l).map((s,g)=>{const x=l[s].length>0;return t.jsxs(Zt,{onClick:()=>x?H(s):void 0,isMoreThanOneCard:u,isLastCard:g===Object.keys(l).length-1,children:[t.jsxs(Qt,{windowSize:o,children:[t.jsxs(Et,{windowSize:o,children:[t.jsxs(ei,{windowSize:o,children:[p[s].cardHolderUser?.photo!==void 0?t.jsx(Bt,{src:p[s].cardHolderUser?.photo.href,alt:It.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=He},loading:"lazy"}):t.jsx(Ue,{firstName:p[s].cardHolderUser?.firstName??"",lastName:p[s].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(Jt,{children:G(s)}),t.jsx(ri,{children:t.jsx(ir,{roles:p[s].cardHolderRoles.userRoles})})]})]}),o==="small"&&x&&($[s]?t.jsx(Oe,{}):t.jsx(_e,{}))]}),t.jsxs(ti,{windowSize:o,children:[p[s].cardName,t.jsx(or,{cardDetail:p[s],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs(ii,{windowSize:o,children:[t.jsxs(li,{children:[t.jsx(pi,{children:l[s].length}),t.jsx(ci,{children:C.recurringExpenses})]}),o!=="small"&&x&&($[s]?t.jsx(Oe,{}):t.jsx(_e,{}))]})]}),u&&t.jsx(Ft,{children:t.jsx(Ve,{variant:"standard",title:ve.remove,children:t.jsx(Ut,{onClick:()=>m(s)})})}),$[s]&&x&&t.jsxs(t.Fragment,{children:[t.jsx(Ee,{}),t.jsxs(oi,{children:[t.jsxs(hi,{children:[t.jsx(Se,{width:o==="small"?112:240,children:C.merchant}),t.jsx(Se,{width:o==="small"?112:104,children:C.nextPaymentDate}),t.jsx(ui,{width:o==="small"?100:312,children:C.amount})]}),l[s].map((f,se)=>t.jsxs("div",{children:[se>0&&t.jsx(Ee,{}),t.jsxs(ai,{children:[t.jsxs(si,{windowSize:o,children:[t.jsx(Wt,{src:f.merchant.logo?.url?.href}),t.jsx(Ht,{windowSize:o,children:f.merchant.brandName??f.merchant.name})]}),t.jsx(ni,{windowSize:o,children:f.nextPaymentDate.format(Nt.visual.MMMDCommaYYYYformat)}),t.jsx(di,{windowSize:o,children:re("0,0.00",f.amount)})]},f.merchant.name)]},f.merchant.name))]})]})]},s)})]}),t.jsx(xi,{windowSize:o,children:C.letUsKnowWhy}),t.jsxs(gi,{isReasonTextFieldVisible:I==="other",children:[t.jsxs(Vt,{size:o,children:[t.jsx(Ye,{label:C.reasonLabel,htmlFor:F(k,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(Yt,{labelWidth:W,size:o,children:[t.jsx(q,{label:{label:C.reason.lost},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.fraud},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.not_needed},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.other},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},radioSize:"small"}})]})]}),I==="other"?t.jsx(qe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${L.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:F(k,"reason"),placeholder:M.reasonPlaceholder,className:"reason-text-field"}):I==null&&!c&&Z?t.jsx(_t,{children:M.youNeedToProvideReasonToLockCard}):null]})]})}):t.jsx(Xe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),y==="Completed"&&t.jsx(Ke,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:Fe(Ae),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:ve.confirm,isLoading:n==="In-Progress"},cancelBtn:{label:ve.cancel,style:{width:"90px"},onClick:()=>{N?.()}}})]})})},Rt=i.div`
378
378
  display: flex;
379
379
  flex-direction: column;
380
380
  background-color: ${e=>e.theme.colors.grey4};
381
381
  overflow-x: hidden;
382
382
  height: 100vh;
383
383
  width: 100%;
384
- `,Rt=i.div`
384
+ `,At=i.div`
385
385
  height: auto;
386
386
  padding-left: ${e=>`${L.containerPaddingLeft.valuePx(e.windowSize)}`};
387
387
  padding-right: ${e=>`${L.containerPaddingRight.valuePx(e.windowSize)}`};
388
388
  margin-bottom: auto;
389
- `,At=i.div`
389
+ `,Ft=i.div`
390
390
  position: absolute;
391
391
  right: -${r.sp2};
392
392
  top: -${r.sp2};
@@ -415,13 +415,13 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
415
415
  &:hover {
416
416
  color: ${e=>e.theme.colors.primary};
417
417
  }
418
- `,Ht=i.img`
418
+ `,Bt=i.img`
419
419
  height: ${r.sp6};
420
420
  width: ${r.sp6};
421
421
  border-radius: 50%;
422
422
  justify-content: center;
423
423
  color: ${e=>e.theme.colors.hero};
424
- `,Bt=i(v)`
424
+ `,Ht=i(v)`
425
425
  margin-right: ${r.sp3};
426
426
  color: inherit;
427
427
  -webkit-line-clamp: ${e=>L.webkitLineClamp.value(e.windowSize)};
@@ -480,7 +480,7 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
480
480
  margin-top: ${r.sp3};
481
481
  margin-bottom: ${r.sp0};
482
482
  margin-right: ${r.sp3};
483
- `,Xt=i(Qe)`
483
+ `,Xt=i(Je)`
484
484
  color: ${e=>e.theme.colors.primary};
485
485
  margin-top: ${r.sp3};
486
486
  margin-bottom: ${r.sp2};
@@ -504,9 +504,9 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
504
504
  color: ${e=>e.theme.colors.primary};
505
505
  }
506
506
  }
507
- `,Qt=i(v)`
507
+ `,Jt=i(v)`
508
508
  color: inherit;
509
- `,Jt=i.div`
509
+ `,Qt=i.div`
510
510
  display: flex;
511
511
  justify-content: space-between;
512
512
  padding-top: ${r.sp3};
@@ -582,7 +582,7 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
582
582
  `,mi=i(we)`
583
583
  color: ${e=>e.theme.colors.primary};
584
584
  padding: ${r.sp3} ${r.sp0};
585
- `,Oe=i(Je)`
585
+ `,Oe=i(Qe)`
586
586
  width: ${r.sp4};
587
587
  height: ${r.sp4};
588
588
  min-width: ${r.sp4};
@@ -620,4 +620,4 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
620
620
  margin-bottom: ${r.sp3};
621
621
  margin-top: ${r.sp7};
622
622
  color: ${e=>e.theme.colors.primary};
623
- `;export{zi as L,Si as P,ji as k,Ci as z};
623
+ `;export{zi as N,Si as P,ji as k,Ci as z};
@@ -1,4 +1,4 @@
1
- import{F as v,Q as A,a9 as R,V as a,ac as W,cp as F,cL as U,y as m,cO as V,o as t,cr as z,u,ba as E,aU as Y,bV as _}from"./index-BDOnIbbU.js";import{n as d}from"./mui-Dn-FysqD.js";import{tM as N,bL as $,bh as S}from"./zeni-epic-state-CMxzji9D.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="12556742-f85d-4e8c-8d61-7e2e5e707cbf",e._sentryDebugIdIdentifier="sentry-dbid-12556742-f85d-4e8c-8d61-7e2e5e707cbf")}catch{}})();const s={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},H=d.div`
1
+ import{F as v,J as A,a9 as R,V as a,ac as W,cp as F,cN as U,y as m,cR as V,o as t,cr as z,u,ba as E,aU as J,bV as N}from"./index-CNJQ6T57.js";import{n as d}from"./mui-DsjrNjDe.js";import{tM as Y,bL as $,bh as S}from"./zeni-epic-state-DJX8u9R8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="79b7b675-2605-4eb4-b38a-61c60f5a2fef",e._sentryDebugIdIdentifier="sentry-dbid-79b7b675-2605-4eb4-b38a-61c60f5a2fef")}catch{}})();const s={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},_=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -6,13 +6,13 @@ import{F as v,Q as A,a9 as R,V as a,ac as W,cp as F,cL as U,y as m,cO as V,o as
6
6
  box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
7
7
  border-radius: ${t.sp2};
8
8
  margin: ${e=>e.windowSize==="small"?`${t.sp5} ${t.sp3} ${t.sp6} ${t.sp3}`:`${t.sp5} ${t.sp8} ${t.sp6} ${t.sp8}`};
9
- `,J=d.div`
9
+ `,H=d.div`
10
10
  display: flex;
11
11
  flex: 1;
12
12
  background-color: ${e=>e.theme.colors.grey3};
13
13
  min-height: 1px;
14
14
  max-height: 1px;
15
- `;function ee({saveDetailsFetchState:e,paymentData:o,onProceedForMarkAsPaid:r,onCancel:h}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:y,paymentDate:f,cancel:i}}},dateFormat:{visual:g,analytics:b}}=v.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:M,markAsPaid:B,defaultDateInfo:j,paymentModeOptions:x,selectDate:I,selectMethod:O}=y,l=A(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=R({mode:"all",values:{[p]:{selectedOption:o?.paymentMode,allOptions:x.map(n=>n.value)},[c]:o?.paymentDate?.toDate()}}),P=k.handleSubmit(n=>{r({paymentDate:n[c]!=null?$(n[c].toString()):$(S().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:n[p]?.selectedOption!=null?N(n[p]?.selectedOption):"other"})}),L=n=>x.find(T=>T.value===n)?.label??"";return a.jsx(W,{...k,children:a.jsx("form",{id:D,onSubmit:P,children:a.jsx(F,{formId:D,titleComponent:a.jsx(z,{children:w}),primaryButtonText:B,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:i,isLoading:e==="In-Progress",isDisabled:e==="In-Progress",isEditPopup:!0,shouldClickAway:e!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:h},children:a.jsxs(H,{windowSize:l,children:[a.jsx(U,{label:{label:M,width:s.labelWidth.value(l)},style:{width:s.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:L,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:O,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:o?.paymentMode,allOptions:x?.map(n=>n.value)??[]}},isFunctional:!0}),a.jsx(J,{}),a.jsx(V,{label:{label:f,width:s.labelWidth.value(l)},style:{paddingBottom:s.paddingBottom.valuePx(l),width:s.width.valuePx(l),borderRadius:t.sp0},additionalPaymentInfoLabel:j,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:t.sp2,borderBottomLeftRadius:t.sp2,paddingTop:t.sp1,paddingBottom:t.sp1,paddingLeft:t.sp3,paddingRight:s.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:I,defaultValue:o?.paymentDate,dateFormat:g.defaultInput,maxDate:S(),minDate:$("01 Jan 1900"),autoComplete:"off"}})]})})})})}const te=({withdrawFrom:e,paymentDate:o,onOkClick:r,onCancelClick:h,onClickAway:y})=>{const{dateFormat:f,spendManagement:{billPay:i},common:{strings:g}}=v.getLocalizedStrings();if(e!=null&&o!=null){const b=`${e?.label} ${e?.maskedAccountNumber}`,w=a.jsx(K,{children:a.jsxs(Z,{children:[a.jsx(C,{children:b}),i.insufficientFunds.popUp.hasLowBalance,g.space,i.insufficientFunds.popUp.addMoney,a.jsx(C,{children:o?.format(f.visual.MMMDFormat)}),i.insufficientFunds.popUp.avoidFailure]})});return a.jsx(F,{titleComponent:a.jsx(q,{children:i.insufficientFunds.popUp.title}),primaryButtonText:i.billDetails.buttons.approveAnyways,secondaryButtonText:i.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:r,onCancelClick:h,onClickAway:y},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:t.sp3},buttonContainerStyle:{paddingBottom:t.sp6}})}},K=d.div`
15
+ `;function ee({saveDetailsFetchState:e,paymentData:o,onProceedForMarkAsPaid:r,onCancel:h}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:y,paymentDate:f,cancel:i}}},dateFormat:{visual:b,analytics:g}}=v.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:M,markAsPaid:B,defaultDateInfo:j,paymentModeOptions:x,selectDate:I,selectMethod:P}=y,l=A(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=R({mode:"all",values:{[p]:{selectedOption:o?.paymentMode,allOptions:x.map(n=>n.value)},[c]:o?.paymentDate?.toDate()}}),O=k.handleSubmit(n=>{r({paymentDate:n[c]!=null?$(n[c].toString()):$(S().startOf("month").format(g.YYYYDashMMDashDDFormat).toString()),paymentMode:n[p]?.selectedOption!=null?Y(n[p]?.selectedOption):"other"})}),L=n=>x.find(T=>T.value===n)?.label??"";return a.jsx(W,{...k,children:a.jsx("form",{id:D,onSubmit:O,children:a.jsx(F,{formId:D,titleComponent:a.jsx(z,{children:w}),primaryButtonText:B,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:i,isLoading:e==="In-Progress",isDisabled:e==="In-Progress",isEditPopup:!0,shouldClickAway:e!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:h},children:a.jsxs(_,{windowSize:l,children:[a.jsx(U,{label:{label:M,width:s.labelWidth.value(l)},style:{width:s.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:L,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:o?.paymentMode,allOptions:x?.map(n=>n.value)??[]}},isFunctional:!0}),a.jsx(H,{}),a.jsx(V,{label:{label:f,width:s.labelWidth.value(l)},style:{paddingBottom:s.paddingBottom.valuePx(l),width:s.width.valuePx(l),borderRadius:t.sp0},additionalPaymentInfoLabel:j,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:t.sp2,borderBottomLeftRadius:t.sp2,paddingTop:t.sp1,paddingBottom:t.sp1,paddingLeft:t.sp3,paddingRight:s.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:I,defaultValue:o?.paymentDate,dateFormat:b.defaultInput,maxDate:S(),minDate:$("01 Jan 1900"),autoComplete:"off"}})]})})})})}const te=({withdrawFrom:e,paymentDate:o,onOkClick:r,onCancelClick:h,onClickAway:y})=>{const{dateFormat:f,spendManagement:{billPay:i},common:{strings:b}}=v.getLocalizedStrings();if(e!=null&&o!=null){const g=`${e?.label} ${e?.maskedAccountNumber}`,w=a.jsx(K,{children:a.jsxs(Z,{children:[a.jsx(C,{children:g}),i.insufficientFunds.popUp.hasLowBalance,b.space,i.insufficientFunds.popUp.addMoney,a.jsx(C,{children:o?.format(f.visual.MMMDFormat)}),i.insufficientFunds.popUp.avoidFailure]})});return a.jsx(F,{titleComponent:a.jsx(q,{children:i.insufficientFunds.popUp.title}),primaryButtonText:i.billDetails.buttons.approveAnyways,secondaryButtonText:i.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:r,onCancelClick:h,onClickAway:y},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:t.sp3},buttonContainerStyle:{paddingBottom:t.sp6}})}},K=d.div`
16
16
  display: flex;
17
17
  flex-direction: column;
18
18
  align-items: center;
@@ -23,9 +23,9 @@ import{F as v,Q as A,a9 as R,V as a,ac as W,cp as F,cL as U,y as m,cO as V,o as
23
23
  white-space: pre-line;
24
24
  `,Z=d(E)`
25
25
  color: ${e=>e.theme.colors.hero};
26
- `,C=d(Y)`
26
+ `,C=d(J)`
27
27
  color: ${e=>e.theme.colors.primary};
28
- `,q=d(_)`
28
+ `,q=d(N)`
29
29
  margin-top: ${t.sp6};
30
30
  padding-left: ${t.sp8};
31
31
  padding-right: ${t.sp8};
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-CNJQ6T57.js";import{f as l}from"./ACHDetailsPage-BOZmOJHO-DA9D4iJH.js";import"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js";import"./MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js";import"./BankAccountSection-BkOlwayA-DP864Lrq.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="1864f1a6-71dd-4430-b89a-0776ad9b85e7",t._sentryDebugIdIdentifier="sentry-dbid-1864f1a6-71dd-4430-b89a-0776ad9b85e7")}catch{}})();const _=({magicLinkViewState:t,magicLinkBankAccountDetails:e,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r})=>{const{fetchState:m,error:d,bankNameByRouting:s,bankAccountToCreate:c,fetchBankNameByRoutingStatus:u}=e,{currencySymbol:f,amount:p}=t;return b.jsx(l,{bankAccountToCreate:c,bankAccountCreationState:{fetchState:m,error:d},bankNameByRouting:s,fetchBankNameByRoutingStatus:u,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:f,amount:p})};export{_ as default};
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-CNJQ6T57.js";import{D as g}from"./DomesticWireDetailsPage-B12tNa6e-DRCqor_l.js";import"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./BankAccountSection-BkOlwayA-DP864Lrq.js";import"./MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js";import"./BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js";import"./MailingDetailsSection-BJfZvT0b-Cqv93bBS.js";import"./LabeledAddressValueField-D6dEaI69-DANZLTzI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a91e8fec-a9f8-4f72-9337-30a0cb3fe655",e._sentryDebugIdIdentifier="sentry-dbid-a91e8fec-a9f8-4f72-9337-30a0cb3fe655")}catch{}})();const E=({magicLinkViewState:e,magicLinkBankAccountDetails:t,mailingAddressDetails:a,isDisabled:o,companyName:n,onSaveHandler:r,onWireDetailsUpdated:i,onFetchBankName:s,onAddressClick:d})=>{const{fetchState:m,error:c,bankNameByRouting:f,bankAccountToCreate:p,fetchBankNameByRoutingStatus:u}=t,{currencySymbol:l,amount:y}=e;return b.jsx(g,{bankAccountToCreate:p,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:f,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:u,isDisabled:o,onSaveHandler:r,onWireDetailsUpdated:i,onAddressClick:d,onFetchBankName:s,companyName:n,isMagicLink:!0,currencySymbol:l,amount:y})};export{E as default};
@@ -1 +1 @@
1
- import{V as y}from"./index-BDOnIbbU.js";import{f as b}from"./InternationalWireSwiftDetailsPage-C0p3_QQy-B1pmkx4O.js";import"./sentry-7iaVxNzj.js";import"./liveblocks-DXXqIP7n.js";import"./core-B5JTMc-Y.js";import"./recharts-CprInlbt.js";import"./zeni-epic-state-CMxzji9D.js";import"./mui-Dn-FysqD.js";import"./lottie-DruO0Lf9.js";import"./analytics-BgoqoHps.js";import"./lexical-C4hGDQy7.js";import"./utils-BV_yqPM7.js";import"./BankAccountWarningSection-BDEZ6LKQ-6TRhx7Zc.js";import"./MailingDetailsSection-Db8X4a09-Ca6nJ4bp.js";import"./LabeledAddressValueField-BNPvRvHU-DSWtQeav.js";import"./MagicLinkTitleSection-D6bdQGfS-RYgbBPda.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="0279de6d-3f69-487e-84b2-4718c4761a8f",t._sentryDebugIdIdentifier="sentry-dbid-0279de6d-3f69-487e-84b2-4718c4761a8f")}catch{}})();const x=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:d,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:m,internationalBankAccountToCreate:c,fetchBankNameBySwiftStatus:f,bankNameBySwift:l}=e,{currencySymbol:p,amount:u}=t;return y.jsx(b,{bankAccountToCreate:c,bankAccountCreationState:m,bankNameBySwift:l,addressToEdit:a,addressType:"vendor_address",fetchBankNameBySwiftStatus:f,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:d,companyName:i,isMagicLink:!0,currencySymbol:p,amount:u})};export{x as default};
1
+ import{V as y}from"./index-CNJQ6T57.js";import{f as b}from"./InternationalWireSwiftDetailsPage-DgrN5Xg7-ik2bKR2J.js";import"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js";import"./MailingDetailsSection-BJfZvT0b-Cqv93bBS.js";import"./LabeledAddressValueField-D6dEaI69-DANZLTzI.js";import"./MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="fd0c5e8f-aed9-4359-a6f4-6b6291404a54",t._sentryDebugIdIdentifier="sentry-dbid-fd0c5e8f-aed9-4359-a6f4-6b6291404a54")}catch{}})();const x=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:d,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:m,internationalBankAccountToCreate:c,fetchBankNameBySwiftStatus:f,bankNameBySwift:l}=e,{currencySymbol:p,amount:u}=t;return y.jsx(b,{bankAccountToCreate:c,bankAccountCreationState:m,bankNameBySwift:l,addressToEdit:a,addressType:"vendor_address",fetchBankNameBySwiftStatus:f,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:d,companyName:i,isMagicLink:!0,currencySymbol:p,amount:u})};export{x as default};
@@ -0,0 +1,31 @@
1
+ import{av as r,F as n,V as t,b5 as l,o as s,af as a,R as c,c as d}from"./index-CNJQ6T57.js";import{n as o}from"./mui-DsjrNjDe.js";import"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="eb91f340-b31a-4784-9c76-f2bd63a72a10",e._sentryDebugIdIdentifier="sentry-dbid-eb91f340-b31a-4784-9c76-f2bd63a72a10")}catch{}})();const _=()=>{const[e]=r("Confetti"),i=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(p,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(b,{})}),t.jsxs(m,{children:[t.jsx(f,{children:i.successTitle}),t.jsx(g,{children:i.successNote})]})]}):null},p=o.div`
2
+ z-index: 999;
3
+ height: 100vh;
4
+ width: 100%;
5
+ background-color: ${e=>e.theme.colors.background};
6
+ position: relative;
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: center;
10
+ `,m=o.div`
11
+ display: flex;
12
+ flex-direction: column;
13
+ align-items: center;
14
+ justify-content: center;
15
+ opacity: 80%;
16
+ margin: 0 ${s.sp4};
17
+ `,f=o(c)`
18
+ color: ${e=>e.theme.colors.primary};
19
+ text-align: center;
20
+ `,g=o(d)`
21
+ color: ${e=>e.theme.colors.hero};
22
+ text-align: center;
23
+ `,u=o.div`
24
+ position: absolute;
25
+ top: ${s.sp5};
26
+ left: ${s.sp5};
27
+ background-color: ${e=>e.theme.colors.background};
28
+ `,b=o(a)`
29
+ color: ${e=>e.theme.colors.primary};
30
+ height: ${s.sp4};
31
+ `;export{_ as default};
@@ -1,17 +1,17 @@
1
- import{F as p,aY as d,V as n,c as C,o as a,al as m,p as f,ci as g}from"./index-BDOnIbbU.js";import{n as s}from"./mui-Dn-FysqD.js";import{a as c}from"./sentry-7iaVxNzj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="21c0779a-c1c5-4a34-8336-ca70ba607650",e._sentryDebugIdIdentifier="sentry-dbid-21c0779a-c1c5-4a34-8336-ca70ba607650")}catch{}})();const y=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),j=({companyName:e,currencySymbol:t,amount:r})=>{const i=p.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${d("0,0.[00]",r,t)}`:"",o=i.title.replace(/<tenant_name>/,e)+l;return n.jsxs(n.Fragment,{children:[n.jsx(w,{children:o}),n.jsxs(b,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(u,{children:[n.jsx(h,{}),i.encrypted]})]})]})},u=s(g)`
1
+ import{F as p,aY as d,V as n,R as f,o as t,al as C,p as m,ci as g}from"./index-CNJQ6T57.js";import{n as s}from"./mui-DsjrNjDe.js";import{a as l}from"./sentry-9b1mvxJ5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f005ff3e-932a-4853-ac79-ac483c5d21f5",e._sentryDebugIdIdentifier="sentry-dbid-f005ff3e-932a-4853-ac79-ac483c5d21f5")}catch{}})();const y=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),j=({companyName:e,currencySymbol:a,amount:r})=>{const i=p.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,o=r>0?` ${d("0,0.[00]",r,a)}`:"",c=i.title.replace(/<tenant_name>/,e)+o;return n.jsxs(n.Fragment,{children:[n.jsx(b,{children:c}),n.jsxs(w,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(h,{children:[n.jsx(u,{}),i.encrypted]})]})]})},h=s(g)`
2
2
  display: flex;
3
- gap: ${a.sp1};
4
- color: ${f.successDark};
5
- `,h=s(y)`
6
- width: ${a.sp4};
7
- height: ${a.sp4};
3
+ gap: ${t.sp1};
4
+ color: ${m.successDark};
5
+ `,u=s(y)`
6
+ width: ${t.sp4};
7
+ height: ${t.sp4};
8
8
  color: inherit;
9
- `,b=s(m)`
9
+ `,w=s(C)`
10
10
  display: flex;
11
11
  align-items: center;
12
12
  justify-content: space-between;
13
13
  flex-wrap: wrap;
14
- gap: ${a.sp4};
14
+ gap: ${t.sp4};
15
15
  color: ${e=>e.theme.colors.champion};
16
- margin-top: ${a.sp3};
17
- `,w=s(C)``;export{j as M};
16
+ margin-top: ${t.sp3};
17
+ `,b=s(f)``;export{j as M};
@@ -1,4 +1,4 @@
1
- import{Q as c,F as u,y as d,V as s,o as a,cK as h,b9 as $,u as i}from"./index-BDOnIbbU.js";import{n as g}from"./mui-Dn-FysqD.js";import{C as y}from"./LabeledAddressValueField-BNPvRvHU-DSWtQeav.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6687e87a-34f3-428d-8a9f-ab4fbc0e5f4e",e._sentryDebugIdIdentifier="sentry-dbid-6687e87a-34f3-428d-8a9f-ab4fbc0e5f4e")}catch{}})();const r={largeLabelWidth:new d(120,140,220),paddingTopBottom:new d(i[3],i[3]),marginRight:new d(i[3],i[8]),marginLeft:new d(i[3],i[6]),marginLeftTitle:new d(i[4],i[6])},D=({sectionId:e,addressToEdit:o,addressType:n,isDisabled:m,onAddressClick:p})=>{const l=c(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,f=r.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(v,{size:l,children:t.addressDetailTitle}),s.jsx(x,{size:l,children:s.jsx(y,{isDisabled:m,label:{label:t.address,width:f},addressValueField:{name:w(e,"mailingAddress"),placeholder:h(t.address),defaultValue:o,registerOptions:{validate:b=>b!=null},onClick:()=>{p(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,o)=>`${e}.${o}`,x=g.div`
1
+ import{J as b,F as u,y as r,V as s,o as a,cM as h,b9 as $,u as i}from"./index-CNJQ6T57.js";import{n as g}from"./mui-DsjrNjDe.js";import{C as y}from"./LabeledAddressValueField-D6dEaI69-DANZLTzI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="743d786c-d6e8-4882-8aef-4e25ac547853",e._sentryDebugIdIdentifier="sentry-dbid-743d786c-d6e8-4882-8aef-4e25ac547853")}catch{}})();const d={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},D=({sectionId:e,addressToEdit:o,addressType:n,isDisabled:m,onAddressClick:p})=>{const l=b(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,c=d.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(v,{size:l,children:t.addressDetailTitle}),s.jsx(x,{size:l,children:s.jsx(y,{isDisabled:m,label:{label:t.address,width:c},addressValueField:{name:w(e,"mailingAddress"),placeholder:h(t.address),defaultValue:o,registerOptions:{validate:f=>f!=null},onClick:()=>{p(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,o)=>`${e}.${o}`,x=g.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -6,10 +6,10 @@ import{Q as c,F as u,y as d,V as s,o as a,cK as h,b9 as $,u as i}from"./index-BD
6
6
  border: 1px solid ${e=>e.theme.colors.grey3};
7
7
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
8
8
  border-radius: ${a.sp2};
9
- margin-left: ${e=>r.marginLeft.valuePx(e.size)};
10
- margin-right: ${e=>r.marginRight.valuePx(e.size)};
11
- margin-top: ${e=>r.paddingTopBottom.valuePx(e.size)};
12
- margin-bottom: ${e=>r.paddingTopBottom.valuePx(e.size)};
9
+ margin-left: ${e=>d.marginLeft.valuePx(e.size)};
10
+ margin-right: ${e=>d.marginRight.valuePx(e.size)};
11
+ margin-top: ${e=>d.paddingTopBottom.valuePx(e.size)};
12
+ margin-bottom: ${e=>d.paddingTopBottom.valuePx(e.size)};
13
13
  &:hover {
14
14
  border: 1px solid ${e=>e.theme.colors.primary};
15
15
  }
@@ -17,5 +17,5 @@ import{Q as c,F as u,y as d,V as s,o as a,cK as h,b9 as $,u as i}from"./index-BD
17
17
  color: ${e=>e.theme.colors.primary};
18
18
  margin-bottom: ${a.sp3};
19
19
  margin-top: ${a.sp5};
20
- margin-left: ${e=>r.marginLeftTitle.valuePx(e.size)};
20
+ margin-left: ${e=>d.marginLeftTitle.valuePx(e.size)};
21
21
  `;export{D as T};