@zeniai/web-components 3.16.55 → 3.16.57

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 (957) hide show
  1. package/dist/ACHDetailsPage-BjF54foG.cjs +21 -0
  2. package/dist/ACHDetailsPage-wxUyEd46.js +160 -0
  3. package/dist/AIPerformancePage-BOp6jdun.cjs +530 -0
  4. package/dist/AIPerformancePage-ezlJoAcd.js +1333 -0
  5. package/dist/AccountInfoPage-25JiJEFu.cjs +18 -0
  6. package/dist/AccountInfoPage-Ni_QiG7i.js +78 -0
  7. package/dist/AccountInfoPageContent-60EyWvd9.js +428 -0
  8. package/dist/AccountInfoPageContent-Bt67e2nO.cjs +149 -0
  9. package/dist/AccountLockedInfoModal-F6aWH9EG.cjs +59 -0
  10. package/dist/AccountLockedInfoModal-cxTBB_rG.js +125 -0
  11. package/dist/AccountReconDetailsDrawerPage-BrjC3XAD.cjs +239 -0
  12. package/dist/AccountReconDetailsDrawerPage-DGO5OYN7.js +686 -0
  13. package/dist/AccountRow-BLNfiUi9.js +1009 -0
  14. package/dist/AccountRow-CBO-Dqqk.cjs +298 -0
  15. package/dist/AccountsPromoCardStack-BoreSZTD.cjs +207 -0
  16. package/dist/AccountsPromoCardStack-CMTnaFx7.js +664 -0
  17. package/dist/AddAddressForCardDrawer-DWUXa1yP.js +82 -0
  18. package/dist/AddAddressForCardDrawer-DiFjvFCr.cjs +6 -0
  19. package/dist/AddToWalletPage-Dz5i8pCp.cjs +344 -0
  20. package/dist/AddToWalletPage-YrKU1kHw.js +643 -0
  21. package/dist/AgingReportsPage-5Av316_8.cjs +79 -0
  22. package/dist/AgingReportsPage-CIH2t8xb.js +827 -0
  23. package/dist/AllUserItems-BczkpUVV.js +979 -0
  24. package/dist/AllUserItems-XjAViXpt.cjs +192 -0
  25. package/dist/ApAgingDetailPage-BDLBunXf.js +239 -0
  26. package/dist/ApAgingDetailPage-DHEZzf6c.cjs +46 -0
  27. package/dist/AppBasePage-B1PjT8xH.js +120 -0
  28. package/dist/AppBasePage-CcYc3mIQ.cjs +71 -0
  29. package/dist/AppDrawerContent-BmCoX_L3.cjs +91 -0
  30. package/dist/AppDrawerContent-f3iIdrWI.js +375 -0
  31. package/dist/ApprovalRulesSettingsPage-CbKbWc_4.js +146 -0
  32. package/dist/ApprovalRulesSettingsPage-E-DnvJqw.cjs +47 -0
  33. package/dist/ArAgingChart-BgRPRx9p.js +529 -0
  34. package/dist/ArAgingChart-DoKs1SOX.cjs +24 -0
  35. package/dist/ArAgingDetailPage-BPbrLy8O.cjs +46 -0
  36. package/dist/ArAgingDetailPage-MojKJ3zj.js +243 -0
  37. package/dist/AttachmentView-DjKAGGpN.cjs +101 -0
  38. package/dist/AttachmentView-fdVsOJ1-.js +260 -0
  39. package/dist/BankAccountSection-Dvo8bP9m.js +398 -0
  40. package/dist/BankAccountSection-EPMky7s4.cjs +79 -0
  41. package/dist/BankAccountWarningSection-Cw2H6RhJ.js +110 -0
  42. package/dist/BankAccountWarningSection-dAaVG-Qx.cjs +51 -0
  43. package/dist/BankConnectionsSettingsPage-8GF-B58R.cjs +425 -0
  44. package/dist/BankConnectionsSettingsPage-BREKQPQy.js +1695 -0
  45. package/dist/BillDetailPage-BlQu3HIx.js +1798 -0
  46. package/dist/BillDetailPage-C-nv97ZW.cjs +266 -0
  47. package/dist/BillPayApprovalRuleDetailPage-CaFE1cOd.cjs +27 -0
  48. package/dist/BillPayApprovalRuleDetailPage-dWc9cWSn.js +247 -0
  49. package/dist/BillPayApprovalRulesPage-DCQM1LSe.cjs +235 -0
  50. package/dist/BillPayApprovalRulesPage-fpBLYHSM.js +415 -0
  51. package/dist/BillPayPromoPage-5oP8FrUF.cjs +84 -0
  52. package/dist/BillPayPromoPage-i33XYBXO.js +293 -0
  53. package/dist/BillPaySetUpPage-DNZrExfe.js +412 -0
  54. package/dist/BillPaySetUpPage-xsxFE4q7.cjs +42 -0
  55. package/dist/BillingSettingsPage-6fiJX4X0.cjs +44 -0
  56. package/dist/BillingSettingsPage-IZdeO0cK.js +336 -0
  57. package/dist/BillsBulkReviewDrawerPage-BLzGb5Cn.cjs +1 -0
  58. package/dist/BillsBulkReviewDrawerPage-Jx3EmjJQ.js +216 -0
  59. package/dist/BoxItem-C_6nkfz3.js +118 -0
  60. package/dist/BoxItem-H6rHbRd3.cjs +53 -0
  61. package/dist/BusinessVerificationPage-Cpx7kVf_.js +717 -0
  62. package/dist/BusinessVerificationPage-Ty4dlCYY.cjs +138 -0
  63. package/dist/BusyIndication-Be92nCH7.js +18 -0
  64. package/dist/BusyIndication-BgoJMA6h.cjs +9 -0
  65. package/dist/CardNumberSubText-Y73fGfn7.js +59 -0
  66. package/dist/CardNumberSubText-lrW7Z41n.cjs +21 -0
  67. package/dist/CashbackDetailPage-DxwAAqo-.js +824 -0
  68. package/dist/CashbackDetailPage-OsARI3XF.cjs +285 -0
  69. package/dist/ChargeCardDetailPage-Cg43agLM.js +5454 -0
  70. package/dist/ChargeCardDetailPage-Cogcf7IV.cjs +1462 -0
  71. package/dist/ChargeCardListPage-DIqd2jCr.cjs +406 -0
  72. package/dist/ChargeCardListPage-fHK6pgoo.js +1775 -0
  73. package/dist/ChargeCardListTable-B_RsjwRD.js +2872 -0
  74. package/dist/ChargeCardListTable-BgHlkXJQ.cjs +711 -0
  75. package/dist/ChargeCardPromoPage-BR4why8D.js +806 -0
  76. package/dist/ChargeCardPromoPage-CXB1FBDY.cjs +222 -0
  77. package/dist/ChargeCardSetupPage-DMR2UoB4.js +362 -0
  78. package/dist/ChargeCardSetupPage-XUnSm56Y.cjs +36 -0
  79. package/dist/ChargeCardStatementsPage-CLWR2iQo.js +243 -0
  80. package/dist/ChargeCardStatementsPage-DVtJBH-6.cjs +60 -0
  81. package/dist/ChargeCardUtils-5MGYY30P.js +102 -0
  82. package/dist/ChargeCardUtils-CyQT0vH9.cjs +1 -0
  83. package/dist/ChaseOverlay-C8BjdmKP.cjs +170 -0
  84. package/dist/ChaseOverlay-DR08TB5c.js +402 -0
  85. package/dist/CheckDepositDrawerPage-BShsKMNk.js +726 -0
  86. package/dist/CheckDepositDrawerPage-CEsjxYU6.cjs +206 -0
  87. package/dist/CollapsableReportTable-B21RCDpR.js +11743 -0
  88. package/dist/CollapsableReportTable-EntfuX3g.cjs +2932 -0
  89. package/dist/CompanyOfficerDetailsSection-BIoQ8lY6.cjs +260 -0
  90. package/dist/CompanyOfficerDetailsSection-DfMyZrRD.js +1633 -0
  91. package/dist/CompanyPassportCard-BSftR2uR.cjs +42 -0
  92. package/dist/CompanyPassportCard-C6N2IhsT.js +146 -0
  93. package/dist/CompanyPassportPage-AZ2Aic7c.cjs +574 -0
  94. package/dist/CompanyPassportPage-C5BhtiZS.js +2160 -0
  95. package/dist/CompleteProfile-3ojJPSki.cjs +52 -0
  96. package/dist/CompleteProfile-BVAaH4U8.js +301 -0
  97. package/dist/ConfettiBurst-DkWR3WX0.cjs +1 -0
  98. package/dist/ConfettiBurst-Puk-ff59.js +37 -0
  99. package/dist/CreateOrEditVendorPage-DCQxg8Pu.cjs +281 -0
  100. package/dist/CreateOrEditVendorPage-DOSSkiKn.js +755 -0
  101. package/dist/CreditCardPaymentDrawerPage-DU1FfsWE.cjs +224 -0
  102. package/dist/CreditCardPaymentDrawerPage-D_LQxQ2s.js +1171 -0
  103. package/dist/CreditCardPaymentPlgSection-CiIFvksj.js +196 -0
  104. package/dist/CreditCardPaymentPlgSection-DgBtXMAk.cjs +78 -0
  105. package/dist/CurrencySelectField-Bz1wETR-.js +348 -0
  106. package/dist/CurrencySelectField-vadv9rAl.cjs +139 -0
  107. package/dist/CustomerOnboardingActivationPage-BJVyFtJR.cjs +88 -0
  108. package/dist/CustomerOnboardingActivationPage-xdmEMDNV.js +143 -0
  109. package/dist/CustomerOnboardingContainerPage-BXNo7G_h.cjs +1 -0
  110. package/dist/CustomerOnboardingContainerPage-DZPpUxMV.js +7 -0
  111. package/dist/CustomerOnboardingDetailPageSkeleton-DvsLcn92.cjs +162 -0
  112. package/dist/CustomerOnboardingDetailPageSkeleton-Mu3JWGzG.js +434 -0
  113. package/dist/CustomerOnboardingNoStepsPage-BwL4Xdsy.js +425 -0
  114. package/dist/CustomerOnboardingNoStepsPage-zmSW-T4f.cjs +66 -0
  115. package/dist/CustomerOnboardingPage-CdWkAHzw.cjs +107 -0
  116. package/dist/CustomerOnboardingPage-DuX9Lt5f.js +1060 -0
  117. package/dist/CustomerOnboardingProductSuitePage-Bz8YCARt.cjs +202 -0
  118. package/dist/CustomerOnboardingProductSuitePage-kIdJ9NnF.js +349 -0
  119. package/dist/Dashboard-BIB9L95n.cjs +1551 -0
  120. package/dist/Dashboard-BOHxUIEc.js +5531 -0
  121. package/dist/DashboardReportPage-Dmoy-fW1.js +2536 -0
  122. package/dist/DashboardReportPage-KzwL9dnC.cjs +371 -0
  123. package/dist/DashboardSidebarBackgroundAnimation-D0XtBGw0.js +50 -0
  124. package/dist/DashboardSidebarBackgroundAnimation-Dpr-RWwl.cjs +12 -0
  125. package/dist/DepositAccTransactionItem-C7XnTIzA.cjs +76 -0
  126. package/dist/DepositAccTransactionItem-DiRRqk_N.js +112 -0
  127. package/dist/DepositAccTransactionListPage-1ldRlpAo.js +152 -0
  128. package/dist/DepositAccTransactionListPage-DPollUD2.cjs +66 -0
  129. package/dist/DomesticWireDetailsPage-DAx5Nc9H.cjs +21 -0
  130. package/dist/DomesticWireDetailsPage-SKfEM3Kp.js +189 -0
  131. package/dist/DownloadOverlay-Bgb4TbKd.cjs +439 -0
  132. package/dist/DownloadOverlay-BnhtF6Ym.js +2148 -0
  133. package/dist/DrawerPage-B0y-hRrs.js +208 -0
  134. package/dist/DrawerPage-Ci0loNVW.cjs +118 -0
  135. package/dist/EditPeoplePage-B2k5NmHY.js +392 -0
  136. package/dist/EditPeoplePage-IxfcMjAk.cjs +55 -0
  137. package/dist/EditReimbursementDetailPage-BgmnmxJf.js +4554 -0
  138. package/dist/EditReimbursementDetailPage-D4WqENhG.cjs +865 -0
  139. package/dist/EmptySearchResults-BwYwJf0Z.js +70 -0
  140. package/dist/EmptySearchResults-Gv-cMNQ6.cjs +46 -0
  141. package/dist/EntityDetailPage-7sNRRj51.cjs +18 -0
  142. package/dist/EntityDetailPage-CKgOB55M.js +82 -0
  143. package/dist/EntitySummarySection-CYFZnX0B.js +530 -0
  144. package/dist/EntitySummarySection-Cu-acUHO.cjs +149 -0
  145. package/dist/ExpenseAutomationOverviewPage-B763aJb2.cjs +281 -0
  146. package/dist/ExpenseAutomationOverviewPage-DVGcz9WY.js +792 -0
  147. package/dist/ExpenseAutomationPage-Cp-7DoVG.cjs +1650 -0
  148. package/dist/ExpenseAutomationPage-Ded6KQTW.js +11501 -0
  149. package/dist/ExpressPayPage-B658u2XF.cjs +168 -0
  150. package/dist/ExpressPayPage-dwwg6tnH.js +1136 -0
  151. package/dist/FeaturePreviewPage-B1sklX4o.js +114 -0
  152. package/dist/FeaturePreviewPage-BnIBCJDc.cjs +11 -0
  153. package/dist/FollowStepsSection-CENM2mGo.js +1313 -0
  154. package/dist/FollowStepsSection-bG3tAyUx.cjs +390 -0
  155. package/dist/GlobalReviewListPage-ByKHh2XN.cjs +291 -0
  156. package/dist/GlobalReviewListPage-bKrlTvhD.js +1674 -0
  157. package/dist/HelpButton-BRrb-Lhn.js +81 -0
  158. package/dist/HelpButton-Cf8J8IY2.cjs +28 -0
  159. package/dist/InformationCardStack-8LrY5IPZ.cjs +31 -0
  160. package/dist/InformationCardStack-BguWbCKi.js +219 -0
  161. package/dist/InsightsCardStack-Cx6LlenJ.cjs +79 -0
  162. package/dist/InsightsCardStack-DCrZMQxZ.js +305 -0
  163. package/dist/InsightsSection-CzD31xZ2.cjs +27 -0
  164. package/dist/InsightsSection-l49wvo_v.js +97 -0
  165. package/dist/IntegrationsSettingsPage-BWdf3Yls.js +137 -0
  166. package/dist/IntegrationsSettingsPage-CqU8Uduv.cjs +57 -0
  167. package/dist/InternationalWireSwiftDetailsPage-P9yoUmrF.cjs +171 -0
  168. package/dist/InternationalWireSwiftDetailsPage-cwwroKO2.js +753 -0
  169. package/dist/InternationalWireVerificationPage-CL_jUqyy.cjs +292 -0
  170. package/dist/InternationalWireVerificationPage-DOMUD1tn.js +877 -0
  171. package/dist/InviteFormPage-C65YZ3Rs.cjs +312 -0
  172. package/dist/InviteFormPage-CYCuiZ8W.js +873 -0
  173. package/dist/InvitePageListView-BXed35WX.js +1764 -0
  174. package/dist/InvitePageListView-BhCxty7k.cjs +739 -0
  175. package/dist/InvitePeoplePage-DoZQ5f4y.cjs +12 -0
  176. package/dist/InvitePeoplePage-j8fyoT9W.js +286 -0
  177. package/dist/InvoiceUploadSection-3pc_NWcD.js +465 -0
  178. package/dist/InvoiceUploadSection-LI-cl_wh.cjs +140 -0
  179. package/dist/IssueChargeCardPage-9olrEU4K.js +2875 -0
  180. package/dist/IssueChargeCardPage-BlLGPqoK.cjs +532 -0
  181. package/dist/LabeledAddressValue-CrImJS8g.js +115 -0
  182. package/dist/LabeledAddressValue-l1ZqN7Ia.cjs +49 -0
  183. package/dist/LabeledAddressValueField-DInHenP2.cjs +45 -0
  184. package/dist/LabeledAddressValueField-nJztDWvc.js +130 -0
  185. package/dist/LabeledControlledCheckBoxField-CQtF6mdK.js +73 -0
  186. package/dist/LabeledControlledCheckBoxField-ChP21bfA.cjs +16 -0
  187. package/dist/LabeledCreatableSingleSelectField-DmB7Lmpq.cjs +204 -0
  188. package/dist/LabeledCreatableSingleSelectField-zsLpXhrQ.js +515 -0
  189. package/dist/LabeledDocumentField-CjWrflnR.cjs +41 -0
  190. package/dist/LabeledDocumentField-DxbmQ42U.js +147 -0
  191. package/dist/LabeledDropDownFormattedTextField-CK_aEstZ.js +163 -0
  192. package/dist/LabeledDropDownFormattedTextField-DWaRWojY.cjs +59 -0
  193. package/dist/LabeledEmailInputField-BKL0evvG.cjs +182 -0
  194. package/dist/LabeledEmailInputField-TISEjzh4.js +425 -0
  195. package/dist/LabeledItemWithButton-Bau76Nur.cjs +21 -0
  196. package/dist/LabeledItemWithButton-CwfFEpAg.js +74 -0
  197. package/dist/LabeledNameField-2LMOrU0a.cjs +141 -0
  198. package/dist/LabeledNameField-Be_C-UE5.js +293 -0
  199. package/dist/LabeledSingleSelectField-CAF6MJBz.js +372 -0
  200. package/dist/LabeledSingleSelectField-CiaQ0zuH.cjs +136 -0
  201. package/dist/LabeledSingleSelectWithoutClearableField-BAhlkB8q.cjs +38 -0
  202. package/dist/LabeledSingleSelectWithoutClearableField-CUuImiS8.js +103 -0
  203. package/dist/LabeledText-CrpsMzS0.js +103 -0
  204. package/dist/LabeledText-DFy1wlZ5.cjs +42 -0
  205. package/dist/LabeledUserSingleSelectWithSubtitlesField-C-GvQ5SR.cjs +229 -0
  206. package/dist/LabeledUserSingleSelectWithSubtitlesField-PtUQsRnd.js +572 -0
  207. package/dist/LabeledZeniRolesDropDownField-CqoK51P4.js +975 -0
  208. package/dist/LabeledZeniRolesDropDownField-TKrh6Vdn.cjs +297 -0
  209. package/dist/LinkJETransactionPage-CMH5WCWi.cjs +98 -0
  210. package/dist/LinkJETransactionPage-RTjLk8ZS.js +406 -0
  211. package/dist/LockCardPage-CHbw90AT.cjs +623 -0
  212. package/dist/LockCardPage-CQPzNoQC.js +2033 -0
  213. package/dist/LowBalancePopup-Z2OKHxhI.js +219 -0
  214. package/dist/LowBalancePopup-_gLu-RIC.cjs +34 -0
  215. package/dist/MagicLinkACHDetailsPage-BDbBFi1w.js +39 -0
  216. package/dist/MagicLinkACHDetailsPage-YIK5kwns.cjs +1 -0
  217. package/dist/MagicLinkDomesticWireDetailsPage-BXU5Klm_.js +44 -0
  218. package/dist/MagicLinkDomesticWireDetailsPage-CTOvYFLu.cjs +1 -0
  219. package/dist/MagicLinkInternationalWireDetailsPage-BJGDEiAP.cjs +1 -0
  220. package/dist/MagicLinkInternationalWireDetailsPage-BtAeyV5M.js +43 -0
  221. package/dist/MagicLinkSuccessPage-CSefarjq.cjs +31 -0
  222. package/dist/MagicLinkSuccessPage-ChnH4JeA.js +59 -0
  223. package/dist/MagicLinkTitleSection-Bzg4ZslG.js +40 -0
  224. package/dist/MagicLinkTitleSection-CKZ-3e1R.cjs +17 -0
  225. package/dist/MailingDetailsSection-BeHUyHDU.js +74 -0
  226. package/dist/MailingDetailsSection-DKiXsMtS.cjs +21 -0
  227. package/dist/MatchingOperatorDropdown-DFDE6oFP.cjs +130 -0
  228. package/dist/MatchingOperatorDropdown-ULvtYJvg.js +572 -0
  229. package/dist/MeetingCalenderPopup-D2nE_WUP.cjs +26 -0
  230. package/dist/MeetingCalenderPopup-DQ8b2fH0.js +60 -0
  231. package/dist/Menu-CnY53ao8.js +110 -0
  232. package/dist/Menu-DRVO3snn.cjs +17 -0
  233. package/dist/MoreMenuButton-BHMuzT5_.js +569 -0
  234. package/dist/MoreMenuButton-DQECvrm6.cjs +167 -0
  235. package/dist/MyBankConnectionsSettingsPage-Bccs6zlq.js +297 -0
  236. package/dist/MyBankConnectionsSettingsPage-DrBMVVg2.cjs +110 -0
  237. package/dist/MyPendingActivationChargeCardListPage-CbED_ZhM.cjs +6 -0
  238. package/dist/MyPendingActivationChargeCardListPage-DjSpqyoP.js +168 -0
  239. package/dist/MyProfileSettingsPage-hNhwIkmK.js +641 -0
  240. package/dist/MyProfileSettingsPage-lr8Pd-kb.cjs +85 -0
  241. package/dist/NavBarWithPicker-BFxo9NMH.cjs +30 -0
  242. package/dist/NavBarWithPicker-BPLg220N.js +106 -0
  243. package/dist/NavigationArrow-BJC8MnXP.js +88 -0
  244. package/dist/NavigationArrow-wJmYev20.cjs +47 -0
  245. package/dist/NavigationDots-B-UYW6Ko.js +44 -0
  246. package/dist/NavigationDots-BWrlAcFW.cjs +15 -0
  247. package/dist/NewGlobalMerchantPage-D-lS3-3d.cjs +160 -0
  248. package/dist/NewGlobalMerchantPage-hikSqAvX.js +543 -0
  249. package/dist/NoDataChart-Bn5tBz-K.cjs +26 -0
  250. package/dist/NoDataChart-D1DDBzgr.js +58 -0
  251. package/dist/NoDataTable-B2JZThXr.cjs +8 -0
  252. package/dist/NoDataTable-nB4naGN2.js +27 -0
  253. package/dist/NotFoundPage-B6JkJz7F.js +71 -0
  254. package/dist/NotFoundPage-Bvk1OyiL.cjs +46 -0
  255. package/dist/NotificationSettingsPage-BkfxyA7I.js +541 -0
  256. package/dist/NotificationSettingsPage-cQZYRWDx.cjs +163 -0
  257. package/dist/NotificationsListConfig-IYWp1NhJ.js +10 -0
  258. package/dist/NotificationsListConfig-xyKhJxjO.cjs +1 -0
  259. package/dist/NotificationsPage-COefHF-8.cjs +685 -0
  260. package/dist/NotificationsPage-DSBNi-Is.js +2664 -0
  261. package/dist/OpExByVendorPage-ARpf8hGq.js +1057 -0
  262. package/dist/OpExByVendorPage-C4uTIFw9.cjs +100 -0
  263. package/dist/PandLWithForecastPage-D-lk3Wvw.js +563 -0
  264. package/dist/PandLWithForecastPage-Da9pzHl2.cjs +107 -0
  265. package/dist/PaymentAccountSetupBillingAddressSection-DsQWLFnM.js +623 -0
  266. package/dist/PaymentAccountSetupBillingAddressSection-ZCwLaDhr.cjs +106 -0
  267. package/dist/PeoplePage-C8KX51og.js +1994 -0
  268. package/dist/PeoplePage-Dex3r8jj.cjs +675 -0
  269. package/dist/PortfolioAllocationFormPage-BhEJqxJF.js +440 -0
  270. package/dist/PortfolioAllocationFormPage-DOXbzVM0.cjs +207 -0
  271. package/dist/PortfolioDetails-CDDKKTSj.js +653 -0
  272. package/dist/PortfolioDetails-IfkynQCO.cjs +218 -0
  273. package/dist/ProductsCarousel-DagiUBn2.cjs +142 -0
  274. package/dist/ProductsCarousel-DhUg0Npm.js +309 -0
  275. package/dist/PromoBaseCards-CUhZFZ9k.cjs +218 -0
  276. package/dist/PromoBaseCards-Dq_zXHOP.js +356 -0
  277. package/dist/QBOConnectionDialog-D-R26YB9.js +115 -0
  278. package/dist/QBOConnectionDialog-DnDSGgGu.cjs +51 -0
  279. package/dist/QBOSetupSection-1MwqcWtM.js +167 -0
  280. package/dist/QBOSetupSection-B3uQog3E.cjs +79 -0
  281. package/dist/ReimbursementApprovalRuleDetailPage-BMHK7ysO.cjs +26 -0
  282. package/dist/ReimbursementApprovalRuleDetailPage-C5P8ndQ3.js +247 -0
  283. package/dist/ReimbursementApprovalRulesPage-BTN89GaU.cjs +237 -0
  284. package/dist/ReimbursementApprovalRulesPage-CuDCHMUB.js +410 -0
  285. package/dist/ReimbursementDetailPage-BRTqO-H6.js +1514 -0
  286. package/dist/ReimbursementDetailPage-CQMSrNCt.cjs +314 -0
  287. package/dist/ReimbursementPromoPage-CKOSTt13.cjs +84 -0
  288. package/dist/ReimbursementPromoPage-CjlQ2i0F.js +364 -0
  289. package/dist/ReimbursementSetUpPage-C5DRD4qQ.js +666 -0
  290. package/dist/ReimbursementSetUpPage-n8Wb1Wps.cjs +140 -0
  291. package/dist/ReimbursementsBulkReviewDrawerPage-BRQBQu_q.js +204 -0
  292. package/dist/ReimbursementsBulkReviewDrawerPage-Ctv4W9pY.cjs +1 -0
  293. package/dist/ReloadCard-DePaDU-N.cjs +26 -0
  294. package/dist/ReloadCard-_6kp4QY-.js +137 -0
  295. package/dist/ReloadContainer-C95K5gO4.js +2144 -0
  296. package/dist/ReloadContainer-uVHBMRl5.cjs +596 -0
  297. package/dist/ReportTableViewSelector-BM5UJOYU.js +679 -0
  298. package/dist/ReportTableViewSelector-DDo80t4B.cjs +150 -0
  299. package/dist/ReportsPage-Cpyd-5uc.js +1315 -0
  300. package/dist/ReportsPage-MNri7mlb.cjs +121 -0
  301. package/dist/RevenueChart-CLiQ_CP9.js +2239 -0
  302. package/dist/RevenueChart-NG9CIZND.cjs +280 -0
  303. package/dist/ReviewDetailsPage-BY21l4NP.cjs +290 -0
  304. package/dist/ReviewDetailsPage-CiVxW3H3.js +1073 -0
  305. package/dist/ReviewOverlay-CCwBcTF3.js +299 -0
  306. package/dist/ReviewOverlay-CN2Mdn-S.cjs +152 -0
  307. package/dist/RoleWithToolTip-6Z7cTKre.js +72 -0
  308. package/dist/RoleWithToolTip-B3Pd437z.cjs +22 -0
  309. package/dist/ScheduleDetailsFixedAssetsPage-Bkr3CVq-.js +806 -0
  310. package/dist/ScheduleDetailsFixedAssetsPage-DumXEfKJ.cjs +37 -0
  311. package/dist/ScheduleDetailsPage-2VAaAZbs.js +726 -0
  312. package/dist/ScheduleDetailsPage-ByYR4tOq.cjs +37 -0
  313. package/dist/ScheduleSequenceTable-B6yKZt0z.cjs +324 -0
  314. package/dist/ScheduleSequenceTable-C7v07He-.js +1261 -0
  315. package/dist/SetUpAccountSection-31I4dL0f.cjs +378 -0
  316. package/dist/SetUpAccountSection-DQlw_Rv7.js +1470 -0
  317. package/dist/SetUpDefaultSection-DiSnk9Et.cjs +187 -0
  318. package/dist/SetUpDefaultSection-Dxlfkyuh.js +537 -0
  319. package/dist/SignIn-C9nnn_93.js +1075 -0
  320. package/dist/SignIn-e2KA1zL0.cjs +448 -0
  321. package/dist/SpendManagementListViewPage-BRwnRN9_.cjs +122 -0
  322. package/dist/SpendManagementListViewPage-D3Tnb9EC.js +627 -0
  323. package/dist/SpendManagementPerTabPage-DnN7E71p.cjs +754 -0
  324. package/dist/SpendManagementPerTabPage-w8TOSAxH.js +2735 -0
  325. package/dist/SpendManagementSection-BgciogjK.cjs +230 -0
  326. package/dist/SpendManagementSection-CPCmlhr1.js +1043 -0
  327. package/dist/SpendMgmtSetupAccountSection-9Er5p0R0.cjs +206 -0
  328. package/dist/SpendMgmtSetupAccountSection-R7LGfv5I.js +875 -0
  329. package/dist/StatementItem-CVxRWTjp.cjs +31 -0
  330. package/dist/StatementItem-Q30pCc2e.js +81 -0
  331. package/dist/StatementsPage-Dpai6Mf1.cjs +58 -0
  332. package/dist/StatementsPage-b9Cm07JV.js +130 -0
  333. package/dist/StatusSwitcher-DjVWmszy.js +319 -0
  334. package/dist/StatusSwitcher-Z3ZPobQS.cjs +120 -0
  335. package/dist/SubTabSwitcher-B0tYWK4m.cjs +58 -0
  336. package/dist/SubTabSwitcher-CxHE8EWU.js +113 -0
  337. package/dist/SuccessAnimation-Czjy8upL.js +52 -0
  338. package/dist/SuccessAnimation-DCobuxWj.cjs +13 -0
  339. package/dist/SummaryCard-C_LtmzLK.cjs +1 -0
  340. package/dist/SummaryCard-DnB80YGn.js +25 -0
  341. package/dist/TaskDetailPage-BHmVZ-AX.js +2533 -0
  342. package/dist/TaskDetailPage-ZMjEl0Gl.cjs +775 -0
  343. package/dist/TaskListRow-Cg1US0Tb.cjs +556 -0
  344. package/dist/TaskListRow-WxwsVGcc.js +1950 -0
  345. package/dist/TaskManagementPage-DVoH4gpI.cjs +508 -0
  346. package/dist/TaskManagementPage-Mg1h4v3-.js +1935 -0
  347. package/dist/TimeRangeSwitcher-Dk8RB0Gq.cjs +64 -0
  348. package/dist/TimeRangeSwitcher-IcV1WEKM.js +265 -0
  349. package/dist/TimeframeSwitcher-CwzSoL1-.js +103 -0
  350. package/dist/TimeframeSwitcher-YlYmM29o.cjs +31 -0
  351. package/dist/TimeframeSwitcherWithToggle-DXXgFXOO.cjs +31 -0
  352. package/dist/TimeframeSwitcherWithToggle-Dp82pvBH.js +157 -0
  353. package/dist/TopExCard-CYgZcqtJ.cjs +38 -0
  354. package/dist/TopExCard-DdGdG0iN.js +568 -0
  355. package/dist/TopExDetailPage-ChqzOW5K.cjs +132 -0
  356. package/dist/TopExDetailPage-D5RJ_lxM.js +318 -0
  357. package/dist/TransactionDetailPage-B8iIxbU5.js +5238 -0
  358. package/dist/TransactionDetailPage-BX6-aVlQ.cjs +912 -0
  359. package/dist/TransactionList-BU9a_PU0.cjs +147 -0
  360. package/dist/TransactionList-DEspYS2F.js +558 -0
  361. package/dist/TransactionListBig-B9m4tYlU.js +658 -0
  362. package/dist/TransactionListBig-Bs_NkklR.cjs +284 -0
  363. package/dist/TransactionListPage-CEO8sj3n.cjs +35 -0
  364. package/dist/TransactionListPage-CxcsEynT.js +144 -0
  365. package/dist/TransactionVendorDetailPage-BrsoVsXl.js +425 -0
  366. package/dist/TransactionVendorDetailPage-mF7rL054.cjs +80 -0
  367. package/dist/TransferDrawerPage-CISb9mQR.js +1435 -0
  368. package/dist/TransferDrawerPage-DNNBBJMa.cjs +362 -0
  369. package/dist/TreasuryOverviewPage-CEX76a20.js +1890 -0
  370. package/dist/TreasuryOverviewPage-HsHYFp50.cjs +708 -0
  371. package/dist/TreasuryPromoPage-Cyr4PS7N.js +1123 -0
  372. package/dist/TreasuryPromoPage-XTWys00P.cjs +505 -0
  373. package/dist/TreasurySetupPage-CdQpxJ5s.cjs +144 -0
  374. package/dist/TreasurySetupPage-SsWklicB.js +683 -0
  375. package/dist/TreasuryStatementsPage-Bd4SjFM8.js +131 -0
  376. package/dist/TreasuryStatementsPage-Bu87OZiv.cjs +58 -0
  377. package/dist/TreasuryTaxLetterPage-C9bNsApk.cjs +58 -0
  378. package/dist/TreasuryTaxLetterPage-e6l1ij8r.js +131 -0
  379. package/dist/TreasuryTransferOrReviewPage-04u6_z5x.cjs +576 -0
  380. package/dist/TreasuryTransferOrReviewPage-DAUFPzOF.js +1938 -0
  381. package/dist/TrendChart-BWXKeP2v.cjs +16 -0
  382. package/dist/TrendChart-CrlI29V2.js +333 -0
  383. package/dist/TrendWithTransactions-BKIBnO9P.js +346 -0
  384. package/dist/TrendWithTransactions-Bbr3xGfb.cjs +116 -0
  385. package/dist/UncategorizedAccountsMappingPage-BnXejbeK.cjs +244 -0
  386. package/dist/UncategorizedAccountsMappingPage-z0RDR8KN.js +1160 -0
  387. package/dist/UnitIntegrationPage-DngXoLJF.cjs +67 -0
  388. package/dist/UnitIntegrationPage-QZZIZsz_.js +405 -0
  389. package/dist/UploadAdditionalDocumentOverlay-BO2QYMCG.cjs +38 -0
  390. package/dist/UploadAdditionalDocumentOverlay-Bc7EMHqK.js +211 -0
  391. package/dist/Vendor2FAPopup-CmsVWQta.js +69 -0
  392. package/dist/Vendor2FAPopup-Dkh_wRo7.cjs +1 -0
  393. package/dist/VendorACHDetailsPage-DuT6BkkJ.cjs +1 -0
  394. package/dist/VendorACHDetailsPage-zKsasvCy.js +43 -0
  395. package/dist/VendorDetailPage-CiB6RxYt.js +1236 -0
  396. package/dist/VendorDetailPage-CuHlg0ez.cjs +257 -0
  397. package/dist/VendorDomesticWireDetailsPage-BrpbzsYr.js +53 -0
  398. package/dist/VendorDomesticWireDetailsPage-BzEfXeNd.cjs +1 -0
  399. package/dist/VendorFiling1099EditablePage-5c1EyH6l.js +842 -0
  400. package/dist/VendorFiling1099EditablePage-L7LPIuou.cjs +175 -0
  401. package/dist/VendorFirstReviewPage-Dr5Pr8yI.cjs +730 -0
  402. package/dist/VendorFirstReviewPage-mx54RrA5.js +2748 -0
  403. package/dist/VendorInternationalWireDetailsPage-E6zrDQ-T.js +968 -0
  404. package/dist/VendorInternationalWireDetailsPage-ElPyu7Yh.cjs +152 -0
  405. package/dist/VendorInternationalWireSwiftDetailsPage-C_bZglDL.cjs +1 -0
  406. package/dist/VendorInternationalWireSwiftDetailsPage-Df2WNi0K.js +52 -0
  407. package/dist/VendorsAccountsSection-B7sotAG2.js +279 -0
  408. package/dist/VendorsAccountsSection-DlXK0nHc.cjs +68 -0
  409. package/dist/VerifyDevice-BcAJv8_d.js +298 -0
  410. package/dist/VerifyDevice-XISsTRbm.cjs +112 -0
  411. package/dist/VideoPlayer-BQfJzoU0.js +169 -0
  412. package/dist/VideoPlayer-DDjcgMGF.cjs +77 -0
  413. package/dist/VideoPopup-0WzvdzFu.js +60 -0
  414. package/dist/VideoPopup-DKo7Uspw.cjs +31 -0
  415. package/dist/WarningsDrawerPage-BLpYVZzz.js +228 -0
  416. package/dist/WarningsDrawerPage-CNZddEaw.cjs +92 -0
  417. package/dist/ZeniAccountDetailPage-CWDb78Mv.js +907 -0
  418. package/dist/ZeniAccountDetailPage-Dhsq5oMB.cjs +300 -0
  419. package/dist/ZeniAccountListViewPage-CMQqlmhj.js +1078 -0
  420. package/dist/ZeniAccountListViewPage-D6aAiqZj.cjs +441 -0
  421. package/dist/ZeniAccountNavBarPieces-CnJehvJ8.js +89 -0
  422. package/dist/ZeniAccountNavBarPieces-VgDI28fe.cjs +14 -0
  423. package/dist/ZeniAccountPromoPage-HpxM4-5q.cjs +184 -0
  424. package/dist/ZeniAccountPromoPage-O4u-_CCG.js +523 -0
  425. package/dist/ZeniAccountSetupPage-C1AqtzWS.cjs +36 -0
  426. package/dist/ZeniAccountSetupPage-DBNG6NP7.js +312 -0
  427. package/dist/ZeniAvatar-D6dRiKLa.js +34 -0
  428. package/dist/ZeniAvatar-DH4JzMFQ.cjs +13 -0
  429. package/dist/ZeniCopyright-BP7xrTbS.cjs +1 -0
  430. package/dist/ZeniCopyright-Dx30hWuw.js +9 -0
  431. package/dist/ZeniDatePicker-C1HS_5vD.cjs +187 -0
  432. package/dist/ZeniDatePicker-nA7yyWQI.js +386 -0
  433. package/dist/ZeniTransferAmountSlider-Bp0AYD7q.js +215 -0
  434. package/dist/ZeniTransferAmountSlider-DGBRVmlC.cjs +63 -0
  435. package/dist/analyticsHelper-DZnUDsZs.js +65 -0
  436. package/dist/analyticsHelper-rBbPRJHk.cjs +1 -0
  437. package/dist/calculateSize-CTS3fT3w.js +22 -0
  438. package/dist/calculateSize-DhgQuPiO.cjs +1 -0
  439. package/dist/chartTypes-CW34Cm4S.cjs +1 -0
  440. package/dist/chartTypes-DVzoIlAk.js +47 -0
  441. package/dist/cockpit.cjs.js +2 -2
  442. package/dist/cockpit.esm.js +15 -15
  443. package/dist/common-D6CXUghB.js +22 -0
  444. package/dist/common-DcnLBcTE.cjs +1 -0
  445. package/dist/commonDimensions-D7XLu17F.cjs +1 -0
  446. package/dist/commonDimensions-DzXr_xeO.js +13 -0
  447. package/dist/components/common/uploadInvoice/AttachmentView.d.ts +2 -2
  448. package/dist/components/common/uploadInvoice/InvoiceUploadSection.d.ts +3 -3
  449. package/dist/components/vendors/common.d.ts +1 -1
  450. package/dist/detailCommon-Bcdx3XJw.js +124 -0
  451. package/dist/detailCommon-CeF8MYQI.cjs +38 -0
  452. package/dist/downloadPdf-DKctcxdW.js +32 -0
  453. package/dist/downloadPdf-DrrZT4zg.cjs +1 -0
  454. package/dist/index-C8marfrT.cjs +19250 -0
  455. package/dist/index-DIy5Kjs9.js +85994 -0
  456. package/dist/index.cjs.js +1 -1
  457. package/dist/index.d.ts +4 -4
  458. package/dist/index.esm.js +1 -1
  459. package/dist/mapLoadingInProgressToTreeNode-C9FclUDb.js +25 -0
  460. package/dist/mapLoadingInProgressToTreeNode-CrggrcoD.cjs +1 -0
  461. package/dist/mapSectionWithAcOnlyToTreeNode-Bk7lAo26.cjs +1 -0
  462. package/dist/mapSectionWithAcOnlyToTreeNode-Dt-47Qde.js +388 -0
  463. package/dist/mapSpacerToTreeNode-BjfUcYqp.js +25 -0
  464. package/dist/mapSpacerToTreeNode-C8Hbozgn.cjs +1 -0
  465. package/dist/mapTimeframeBalancesToTreeNode-0AQfmiXp.cjs +1 -0
  466. package/dist/mapTimeframeBalancesToTreeNode-Btm_5WBc.js +24 -0
  467. package/dist/mapTimeframeBalancesToTreeNode-DkniUeiO.cjs +1 -0
  468. package/dist/mapTimeframeBalancesToTreeNode-k2RlJlQA.js +24 -0
  469. package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-CqiDWNWe.cjs +1 -0
  470. package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-CubCHtdR.js +32 -0
  471. package/dist/sectionColor-AfK6FbGN.cjs +1 -0
  472. package/dist/sectionColor-DJZsxxdM.js +32 -0
  473. package/dist/toCOABalancesWithID-B1zWeQr8.js +8 -0
  474. package/dist/toCOABalancesWithID-DB6ge35h.cjs +1 -0
  475. package/dist/toChartData--BYhZRWZ.js +76 -0
  476. package/dist/toChartData-DIH5LsK8.cjs +1 -0
  477. package/dist/treasuryColorHelper-R3pBNnTw.cjs +1 -0
  478. package/dist/treasuryColorHelper-sNIfJGyZ.js +60 -0
  479. package/dist/uploadAttachment-CnR2s7er.cjs +286 -0
  480. package/dist/uploadAttachment-DzXxNFyQ.js +952 -0
  481. package/dist/zeniDatePicker.helpers-DVCSbR_h.js +14 -0
  482. package/dist/zeniDatePicker.helpers-DVlK1ZPl.cjs +1 -0
  483. package/package.json +3 -3
  484. package/dist/ACHDetailsPage-BlNNaoBW.cjs +0 -21
  485. package/dist/ACHDetailsPage-DEHhAThG.js +0 -160
  486. package/dist/AIPerformancePage-B464awTI.js +0 -1333
  487. package/dist/AIPerformancePage-DTu8YTOC.cjs +0 -530
  488. package/dist/AccountInfoPage-BC0o2CFb.cjs +0 -18
  489. package/dist/AccountInfoPage-CXORyzg0.js +0 -78
  490. package/dist/AccountInfoPageContent-C9u7rHSK.js +0 -428
  491. package/dist/AccountInfoPageContent-Cej3dOGv.cjs +0 -149
  492. package/dist/AccountLockedInfoModal-CKll7MKb.js +0 -125
  493. package/dist/AccountLockedInfoModal-rhtd4Eug.cjs +0 -59
  494. package/dist/AccountReconDetailsDrawerPage-BC2fGcr2.js +0 -686
  495. package/dist/AccountReconDetailsDrawerPage-DApPpjJT.cjs +0 -239
  496. package/dist/AccountRow-DZoVzppb.cjs +0 -298
  497. package/dist/AccountRow-NUjIqQZG.js +0 -1009
  498. package/dist/AccountsPromoCardStack-D4U0Bioq.cjs +0 -207
  499. package/dist/AccountsPromoCardStack-XBi6z1zm.js +0 -664
  500. package/dist/AddAddressForCardDrawer-DQP3nz3Q.js +0 -82
  501. package/dist/AddAddressForCardDrawer-xBK0IM2e.cjs +0 -6
  502. package/dist/AddToWalletPage-Bb2oVW4b.js +0 -643
  503. package/dist/AddToWalletPage-DaHlJQ06.cjs +0 -344
  504. package/dist/AgingReportsPage-5x3oE_MS.cjs +0 -79
  505. package/dist/AgingReportsPage-CumNO7Lc.js +0 -827
  506. package/dist/AllUserItems-B3X2Yuzf.js +0 -979
  507. package/dist/AllUserItems-De8w_iFH.cjs +0 -192
  508. package/dist/ApAgingDetailPage-DO6H8pHR.js +0 -239
  509. package/dist/ApAgingDetailPage-UnpRLEGi.cjs +0 -46
  510. package/dist/AppBasePage-DK-rmsQy.cjs +0 -71
  511. package/dist/AppBasePage-xQ6xhR2M.js +0 -120
  512. package/dist/AppDrawerContent-BGJU_K_r.cjs +0 -91
  513. package/dist/AppDrawerContent-BcHjLmip.js +0 -375
  514. package/dist/ApprovalRulesSettingsPage-CwhUP5_6.cjs +0 -47
  515. package/dist/ApprovalRulesSettingsPage-DEaI5LXy.js +0 -146
  516. package/dist/ArAgingChart-BV9Rbr4I.cjs +0 -24
  517. package/dist/ArAgingChart-DzhE9mKv.js +0 -529
  518. package/dist/ArAgingDetailPage-B91ZARF-.js +0 -243
  519. package/dist/ArAgingDetailPage-Z05cbZWY.cjs +0 -46
  520. package/dist/AttachmentView-Byt_DSOn.cjs +0 -101
  521. package/dist/AttachmentView-ChgqlLZN.js +0 -260
  522. package/dist/BankAccountSection-BDRw3NWV.js +0 -398
  523. package/dist/BankAccountSection-DyCNqltk.cjs +0 -79
  524. package/dist/BankAccountWarningSection-BKoo9URq.js +0 -110
  525. package/dist/BankAccountWarningSection-DPNi3yBS.cjs +0 -51
  526. package/dist/BankConnectionsSettingsPage-CJ42ZzMq.js +0 -1695
  527. package/dist/BankConnectionsSettingsPage-DfeD238t.cjs +0 -425
  528. package/dist/BillDetailPage-DfiuLZe8.js +0 -1798
  529. package/dist/BillDetailPage-F4OK3xsO.cjs +0 -266
  530. package/dist/BillPayApprovalRuleDetailPage-5_IW6xXJ.js +0 -247
  531. package/dist/BillPayApprovalRuleDetailPage-D-g7AYRY.cjs +0 -27
  532. package/dist/BillPayApprovalRulesPage-BX7I7edv.cjs +0 -235
  533. package/dist/BillPayApprovalRulesPage-CfJZKzVl.js +0 -415
  534. package/dist/BillPayPromoPage-DDLOie6P.js +0 -293
  535. package/dist/BillPayPromoPage-DOZLE19C.cjs +0 -84
  536. package/dist/BillPaySetUpPage-CSfFU76z.js +0 -412
  537. package/dist/BillPaySetUpPage-Cuwfe0YR.cjs +0 -42
  538. package/dist/BillingSettingsPage-BeXsONDQ.js +0 -336
  539. package/dist/BillingSettingsPage-CNxFvpT6.cjs +0 -44
  540. package/dist/BillsBulkReviewDrawerPage-C19XWwEC.js +0 -216
  541. package/dist/BillsBulkReviewDrawerPage-DUGssBkL.cjs +0 -1
  542. package/dist/BoxItem-C03Wcf3o.cjs +0 -53
  543. package/dist/BoxItem-DJq5xhLi.js +0 -118
  544. package/dist/BusinessVerificationPage-BeX3N6p7.cjs +0 -138
  545. package/dist/BusinessVerificationPage-cUeJO7D8.js +0 -717
  546. package/dist/BusyIndication-C9Ud-_-D.cjs +0 -9
  547. package/dist/BusyIndication-DIKTXe0r.js +0 -18
  548. package/dist/CardNumberSubText-DCLy96yC.cjs +0 -21
  549. package/dist/CardNumberSubText-RiyeZ4Fi.js +0 -59
  550. package/dist/CashbackDetailPage-BgmrLbkm.js +0 -824
  551. package/dist/CashbackDetailPage-CAD30zqd.cjs +0 -285
  552. package/dist/ChargeCardDetailPage-BfB9DQhO.js +0 -5452
  553. package/dist/ChargeCardDetailPage-CE0V1SPc.cjs +0 -1462
  554. package/dist/ChargeCardListPage-B5FmdA4B.cjs +0 -406
  555. package/dist/ChargeCardListPage-D5hExQrJ.js +0 -1775
  556. package/dist/ChargeCardListTable-CRWWk_N3.cjs +0 -711
  557. package/dist/ChargeCardListTable-Xe0POHPI.js +0 -2872
  558. package/dist/ChargeCardPromoPage-C-QZi7WU.js +0 -806
  559. package/dist/ChargeCardPromoPage-DHpNDjB6.cjs +0 -222
  560. package/dist/ChargeCardSetupPage-Bgy6adqN.cjs +0 -36
  561. package/dist/ChargeCardSetupPage-CIaAoIaA.js +0 -362
  562. package/dist/ChargeCardStatementsPage-B4ojjuf5.cjs +0 -60
  563. package/dist/ChargeCardStatementsPage-Bta8G5rU.js +0 -243
  564. package/dist/ChargeCardUtils-BGWEjSky.cjs +0 -1
  565. package/dist/ChargeCardUtils-MXK7oeC0.js +0 -102
  566. package/dist/ChaseOverlay-CtAlmuNL.cjs +0 -170
  567. package/dist/ChaseOverlay-nKLcp0IQ.js +0 -402
  568. package/dist/CheckDepositDrawerPage-BwW2QnWG.cjs +0 -206
  569. package/dist/CheckDepositDrawerPage-DE9G4ZLn.js +0 -726
  570. package/dist/CollapsableReportTable-9Ve7EJza.js +0 -11743
  571. package/dist/CollapsableReportTable-CNVN6iF7.cjs +0 -2932
  572. package/dist/CompanyOfficerDetailsSection-Dxrw3A0v.js +0 -1633
  573. package/dist/CompanyOfficerDetailsSection-jkqoyuGH.cjs +0 -260
  574. package/dist/CompanyPassportCard-BLH9mk_K.js +0 -146
  575. package/dist/CompanyPassportCard-C2fRi61e.cjs +0 -42
  576. package/dist/CompanyPassportPage-BsAbPlcw.cjs +0 -574
  577. package/dist/CompanyPassportPage-DugSYQVz.js +0 -2160
  578. package/dist/CompleteProfile-D7TJTqRJ.cjs +0 -52
  579. package/dist/CompleteProfile-DmnsbHlq.js +0 -301
  580. package/dist/ConfettiBurst-BDREKQUf.js +0 -37
  581. package/dist/ConfettiBurst-DVOcIJEX.cjs +0 -1
  582. package/dist/CreateOrEditVendorPage-C6J3n_Mo.cjs +0 -281
  583. package/dist/CreateOrEditVendorPage-Dl6ec-s9.js +0 -755
  584. package/dist/CreditCardPaymentDrawerPage-Dj2BFQKG.cjs +0 -224
  585. package/dist/CreditCardPaymentDrawerPage-Dyb4qL_P.js +0 -1171
  586. package/dist/CreditCardPaymentPlgSection-BPV1SLmY.js +0 -196
  587. package/dist/CreditCardPaymentPlgSection-CNhEI_5n.cjs +0 -78
  588. package/dist/CurrencySelectField-CJb3Y-mb.js +0 -348
  589. package/dist/CurrencySelectField-CSDBHXvL.cjs +0 -139
  590. package/dist/CustomerOnboardingActivationPage-9iuVWGWw.js +0 -143
  591. package/dist/CustomerOnboardingActivationPage-BZl7gmBs.cjs +0 -88
  592. package/dist/CustomerOnboardingContainerPage-DVUwU_kb.cjs +0 -1
  593. package/dist/CustomerOnboardingContainerPage-Pw4kXxCj.js +0 -7
  594. package/dist/CustomerOnboardingDetailPageSkeleton-i-U_2Xdg.cjs +0 -162
  595. package/dist/CustomerOnboardingDetailPageSkeleton-jYcjJ0PW.js +0 -434
  596. package/dist/CustomerOnboardingNoStepsPage-D3634Xoo.cjs +0 -66
  597. package/dist/CustomerOnboardingNoStepsPage-X-9T5fpG.js +0 -425
  598. package/dist/CustomerOnboardingPage-3T9mu9lK.cjs +0 -107
  599. package/dist/CustomerOnboardingPage-CtBN8YfR.js +0 -1060
  600. package/dist/CustomerOnboardingProductSuitePage-bDKvS5bh.js +0 -349
  601. package/dist/CustomerOnboardingProductSuitePage-oMYaYIfw.cjs +0 -202
  602. package/dist/Dashboard-B7o2mjSh.cjs +0 -1551
  603. package/dist/Dashboard-BH5qnfQd.js +0 -5531
  604. package/dist/DashboardReportPage-CncxQ7fW.cjs +0 -371
  605. package/dist/DashboardReportPage-J1VeI2uE.js +0 -2536
  606. package/dist/DashboardSidebarBackgroundAnimation-BnJnQZ2j.cjs +0 -12
  607. package/dist/DashboardSidebarBackgroundAnimation-CXHOxSLP.js +0 -50
  608. package/dist/DepositAccTransactionItem-BGfoy6o8.js +0 -112
  609. package/dist/DepositAccTransactionItem-CrBdi6Qw.cjs +0 -76
  610. package/dist/DepositAccTransactionListPage-DGwCQi9Z.cjs +0 -66
  611. package/dist/DepositAccTransactionListPage-a69RARgv.js +0 -152
  612. package/dist/DomesticWireDetailsPage-BTSYv4Sz.cjs +0 -21
  613. package/dist/DomesticWireDetailsPage-DBt6rnIQ.js +0 -189
  614. package/dist/DownloadOverlay-CtNbjZVJ.cjs +0 -439
  615. package/dist/DownloadOverlay-DgUHpkeg.js +0 -2148
  616. package/dist/DrawerPage-B32TCGJ1.js +0 -208
  617. package/dist/DrawerPage-BznmczKX.cjs +0 -118
  618. package/dist/EditPeoplePage-BPfO6mun.js +0 -392
  619. package/dist/EditPeoplePage-D-IT_qZm.cjs +0 -55
  620. package/dist/EditReimbursementDetailPage-DKGgXOY7.js +0 -4554
  621. package/dist/EditReimbursementDetailPage-k-5js8wU.cjs +0 -865
  622. package/dist/EmptySearchResults-CHW00FVb.js +0 -70
  623. package/dist/EmptySearchResults-CJeq0gG-.cjs +0 -46
  624. package/dist/EntityDetailPage-BfHI2iuR.js +0 -82
  625. package/dist/EntityDetailPage-EKqojFGK.cjs +0 -18
  626. package/dist/EntitySummarySection-CawV1rm1.js +0 -530
  627. package/dist/EntitySummarySection-DDwmJFMf.cjs +0 -149
  628. package/dist/ExpenseAutomationOverviewPage-BsAt8A9v.js +0 -792
  629. package/dist/ExpenseAutomationOverviewPage-CjgHLmAw.cjs +0 -281
  630. package/dist/ExpenseAutomationPage-aw988_Ii.js +0 -11501
  631. package/dist/ExpenseAutomationPage-ywEpE1JC.cjs +0 -1650
  632. package/dist/ExpressPayPage-64YIj4Ar.cjs +0 -168
  633. package/dist/ExpressPayPage-CJCdxlh5.js +0 -1136
  634. package/dist/FeaturePreviewPage-CqLkGmd-.js +0 -114
  635. package/dist/FeaturePreviewPage-DURI0ayC.cjs +0 -11
  636. package/dist/FollowStepsSection-DMJdFqLV.cjs +0 -390
  637. package/dist/FollowStepsSection-Dyn5gNGd.js +0 -1313
  638. package/dist/GlobalReviewListPage-B9ijztQn.js +0 -1674
  639. package/dist/GlobalReviewListPage-C-FC0oGy.cjs +0 -291
  640. package/dist/HelpButton-C9dySN1g.cjs +0 -28
  641. package/dist/HelpButton-jlgjodRn.js +0 -81
  642. package/dist/InformationCardStack-B3F6dDpd.cjs +0 -31
  643. package/dist/InformationCardStack-BVY3WNAX.js +0 -219
  644. package/dist/InsightsCardStack-Cq1VFPv0.js +0 -305
  645. package/dist/InsightsCardStack-DDTM1Mfl.cjs +0 -79
  646. package/dist/InsightsSection-Bp2dI7sk.js +0 -97
  647. package/dist/InsightsSection-Du8kdkJ7.cjs +0 -27
  648. package/dist/IntegrationsSettingsPage-BdNn8YUO.cjs +0 -57
  649. package/dist/IntegrationsSettingsPage-McjwChqZ.js +0 -137
  650. package/dist/InternationalWireSwiftDetailsPage-BSbC9vYS.js +0 -753
  651. package/dist/InternationalWireSwiftDetailsPage-Cvf--3pB.cjs +0 -171
  652. package/dist/InternationalWireVerificationPage-CXKmxcJR.js +0 -877
  653. package/dist/InternationalWireVerificationPage-q2Il_0ql.cjs +0 -292
  654. package/dist/InviteFormPage-D1B46JK0.cjs +0 -312
  655. package/dist/InviteFormPage-UVuBwyyT.js +0 -873
  656. package/dist/InvitePageListView-D3vLBLdn.js +0 -1764
  657. package/dist/InvitePageListView-DuplLOsy.cjs +0 -739
  658. package/dist/InvitePeoplePage-Dq2c-OEI.js +0 -286
  659. package/dist/InvitePeoplePage-G_gQxiZk.cjs +0 -12
  660. package/dist/InvoiceUploadSection-7494YdJ4.cjs +0 -140
  661. package/dist/InvoiceUploadSection-CGiw1Fsl.js +0 -465
  662. package/dist/IssueChargeCardPage-DZt48WaC.js +0 -2875
  663. package/dist/IssueChargeCardPage-DdGi5K-l.cjs +0 -532
  664. package/dist/LabeledAddressValue-B1RHfI08.cjs +0 -49
  665. package/dist/LabeledAddressValue-COZIVVuQ.js +0 -115
  666. package/dist/LabeledAddressValueField-BqxCJ214.js +0 -130
  667. package/dist/LabeledAddressValueField-BxgaDFgA.cjs +0 -45
  668. package/dist/LabeledControlledCheckBoxField-Ctt5nlNb.js +0 -73
  669. package/dist/LabeledControlledCheckBoxField-DybtSqJ0.cjs +0 -16
  670. package/dist/LabeledCreatableSingleSelectField-DXxch_y1.js +0 -515
  671. package/dist/LabeledCreatableSingleSelectField-WXH8BOVw.cjs +0 -204
  672. package/dist/LabeledDocumentField--7BXDK3g.js +0 -147
  673. package/dist/LabeledDocumentField-DA-7WuDw.cjs +0 -41
  674. package/dist/LabeledDropDownFormattedTextField-Cw0FPVVu.cjs +0 -59
  675. package/dist/LabeledDropDownFormattedTextField-j62_NoR8.js +0 -163
  676. package/dist/LabeledEmailInputField-BbWVAP87.js +0 -425
  677. package/dist/LabeledEmailInputField-CMYLxrqa.cjs +0 -182
  678. package/dist/LabeledItemWithButton-67lhlyk0.js +0 -74
  679. package/dist/LabeledItemWithButton-HiJXDHJ2.cjs +0 -21
  680. package/dist/LabeledNameField-BEv5ENrZ.cjs +0 -141
  681. package/dist/LabeledNameField-C2b0uTVb.js +0 -293
  682. package/dist/LabeledSingleSelectField-9lQyD4AI.cjs +0 -136
  683. package/dist/LabeledSingleSelectField-BF6Lmhka.js +0 -372
  684. package/dist/LabeledSingleSelectWithoutClearableField-BeiGhi45.js +0 -103
  685. package/dist/LabeledSingleSelectWithoutClearableField-bgyRQFHR.cjs +0 -38
  686. package/dist/LabeledText-Fa_xlYAJ.cjs +0 -42
  687. package/dist/LabeledText-j7jn7khK.js +0 -103
  688. package/dist/LabeledUserSingleSelectWithSubtitlesField-CuCh4ObK.cjs +0 -229
  689. package/dist/LabeledUserSingleSelectWithSubtitlesField-pIek7oI7.js +0 -572
  690. package/dist/LabeledZeniRolesDropDownField-9jDM62uC.cjs +0 -297
  691. package/dist/LabeledZeniRolesDropDownField-X2qZXFaF.js +0 -975
  692. package/dist/LinkJETransactionPage-AO8zxSzB.cjs +0 -98
  693. package/dist/LinkJETransactionPage-DRC88j7z.js +0 -406
  694. package/dist/LockCardPage-BMvHSrDy.js +0 -2033
  695. package/dist/LockCardPage-Cdx3qNJB.cjs +0 -623
  696. package/dist/LowBalancePopup-BeT0x8gX.cjs +0 -34
  697. package/dist/LowBalancePopup-DVn8qbv_.js +0 -219
  698. package/dist/MagicLinkACHDetailsPage-BcuMOCKY.cjs +0 -1
  699. package/dist/MagicLinkACHDetailsPage-Bvw_kaVc.js +0 -39
  700. package/dist/MagicLinkDomesticWireDetailsPage-BZ-XEsiq.cjs +0 -1
  701. package/dist/MagicLinkDomesticWireDetailsPage-BkVZ1jpB.js +0 -44
  702. package/dist/MagicLinkInternationalWireDetailsPage-Cn11gpBc.cjs +0 -1
  703. package/dist/MagicLinkInternationalWireDetailsPage-s_vBiYar.js +0 -43
  704. package/dist/MagicLinkSuccessPage-BfC_ewro.js +0 -59
  705. package/dist/MagicLinkSuccessPage-DPSsFZuT.cjs +0 -31
  706. package/dist/MagicLinkTitleSection-BheV8eRd.js +0 -40
  707. package/dist/MagicLinkTitleSection-E7Af4oUE.cjs +0 -17
  708. package/dist/MailingDetailsSection-Cb7Fz_8i.cjs +0 -21
  709. package/dist/MailingDetailsSection-dpOFXIy_.js +0 -74
  710. package/dist/MatchingOperatorDropdown-B7HQVn0v.cjs +0 -130
  711. package/dist/MatchingOperatorDropdown-Bl84f8E1.js +0 -572
  712. package/dist/MeetingCalenderPopup-D81jNP3u.cjs +0 -26
  713. package/dist/MeetingCalenderPopup-Ma-N6si8.js +0 -60
  714. package/dist/Menu-CS4snQyL.js +0 -110
  715. package/dist/Menu-DcgnsJq-.cjs +0 -17
  716. package/dist/MoreMenuButton-C1eQKw4v.cjs +0 -167
  717. package/dist/MoreMenuButton-C2sbZeH8.js +0 -569
  718. package/dist/MyBankConnectionsSettingsPage-BNwfq3mV.js +0 -297
  719. package/dist/MyBankConnectionsSettingsPage-bOUvrzTK.cjs +0 -110
  720. package/dist/MyPendingActivationChargeCardListPage-CvtCpxZ2.js +0 -168
  721. package/dist/MyPendingActivationChargeCardListPage-uGPsyjVu.cjs +0 -6
  722. package/dist/MyProfileSettingsPage-CYHd_uJf.js +0 -641
  723. package/dist/MyProfileSettingsPage-DxrQQiL5.cjs +0 -85
  724. package/dist/NavBarWithPicker-CIwo3-bU.js +0 -106
  725. package/dist/NavBarWithPicker-DIQsJREe.cjs +0 -30
  726. package/dist/NavigationArrow-ClzWbson.cjs +0 -47
  727. package/dist/NavigationArrow-Ctsd8z-N.js +0 -88
  728. package/dist/NavigationDots-DGv77DnI.js +0 -44
  729. package/dist/NavigationDots-YzeIzlIl.cjs +0 -15
  730. package/dist/NewGlobalMerchantPage-CXSc-Zi2.cjs +0 -160
  731. package/dist/NewGlobalMerchantPage-oyu_zZde.js +0 -543
  732. package/dist/NoDataChart-CKYuL39K.cjs +0 -26
  733. package/dist/NoDataChart-CXFwQK_G.js +0 -58
  734. package/dist/NoDataTable-DrDufNQl.js +0 -27
  735. package/dist/NoDataTable-l2i6sIUx.cjs +0 -8
  736. package/dist/NotFoundPage-BGQqnSUK.cjs +0 -46
  737. package/dist/NotFoundPage-D5ZkhpVx.js +0 -71
  738. package/dist/NotificationSettingsPage-DV2O4HOU.js +0 -541
  739. package/dist/NotificationSettingsPage-Dhbk9chc.cjs +0 -163
  740. package/dist/NotificationsListConfig-Bs1EQ7un.cjs +0 -1
  741. package/dist/NotificationsListConfig-DzTt3sW7.js +0 -10
  742. package/dist/NotificationsPage-BBhzVvfc.cjs +0 -685
  743. package/dist/NotificationsPage-pIGEEWO1.js +0 -2664
  744. package/dist/OpExByVendorPage-B5udt4MV.js +0 -1057
  745. package/dist/OpExByVendorPage-Ccr_6jBS.cjs +0 -100
  746. package/dist/PandLWithForecastPage-BH4-z8YX.js +0 -563
  747. package/dist/PandLWithForecastPage-hJlHfSjZ.cjs +0 -107
  748. package/dist/PaymentAccountSetupBillingAddressSection-DXtYsHZ5.js +0 -623
  749. package/dist/PaymentAccountSetupBillingAddressSection-ljQQhIoF.cjs +0 -106
  750. package/dist/PeoplePage-3dMDpHx7.cjs +0 -675
  751. package/dist/PeoplePage-CudFyR33.js +0 -1994
  752. package/dist/PortfolioAllocationFormPage--pbBsqs1.js +0 -440
  753. package/dist/PortfolioAllocationFormPage-BahlroxL.cjs +0 -207
  754. package/dist/PortfolioDetails-BMo4nZPY.js +0 -653
  755. package/dist/PortfolioDetails-DqkKO361.cjs +0 -218
  756. package/dist/ProductsCarousel-Cc7YoRAm.cjs +0 -142
  757. package/dist/ProductsCarousel-n8JigLY0.js +0 -309
  758. package/dist/PromoBaseCards-C7Gs9HU9.js +0 -356
  759. package/dist/PromoBaseCards-CrdbkCFp.cjs +0 -218
  760. package/dist/QBOConnectionDialog-Bs4TixAR.js +0 -115
  761. package/dist/QBOConnectionDialog-Btx3EQyg.cjs +0 -51
  762. package/dist/QBOSetupSection-CmnpJttN.js +0 -167
  763. package/dist/QBOSetupSection-oDYo8LHU.cjs +0 -79
  764. package/dist/ReimbursementApprovalRuleDetailPage-JqIc8GYJ.js +0 -247
  765. package/dist/ReimbursementApprovalRuleDetailPage-x3H_81Nl.cjs +0 -26
  766. package/dist/ReimbursementApprovalRulesPage-DPXJFWic.cjs +0 -237
  767. package/dist/ReimbursementApprovalRulesPage-PnesOCg3.js +0 -410
  768. package/dist/ReimbursementDetailPage-BTgIClJS.cjs +0 -314
  769. package/dist/ReimbursementDetailPage-D22_cS36.js +0 -1514
  770. package/dist/ReimbursementPromoPage-DIbk9BFN.js +0 -364
  771. package/dist/ReimbursementPromoPage-Ydb0p14l.cjs +0 -84
  772. package/dist/ReimbursementSetUpPage-C39C8jLB.cjs +0 -140
  773. package/dist/ReimbursementSetUpPage-DS-cwKlv.js +0 -666
  774. package/dist/ReimbursementsBulkReviewDrawerPage-BLdVlRgq.js +0 -204
  775. package/dist/ReimbursementsBulkReviewDrawerPage-DPoxFHOE.cjs +0 -1
  776. package/dist/ReloadCard-Bo4Te9Li.cjs +0 -26
  777. package/dist/ReloadCard-DBa4gyKQ.js +0 -137
  778. package/dist/ReloadContainer-DS_64k-7.js +0 -2144
  779. package/dist/ReloadContainer-x--Pv02t.cjs +0 -596
  780. package/dist/ReportTableViewSelector-DuwAvmlS.js +0 -679
  781. package/dist/ReportTableViewSelector-eXa9Uuml.cjs +0 -150
  782. package/dist/ReportsPage-C1MwyGyJ.cjs +0 -121
  783. package/dist/ReportsPage-WABWxLPG.js +0 -1315
  784. package/dist/RevenueChart-B5jN8P8V.js +0 -2239
  785. package/dist/RevenueChart-x4sLGA2i.cjs +0 -280
  786. package/dist/ReviewDetailsPage-BudlDfFj.js +0 -1073
  787. package/dist/ReviewDetailsPage-CQcGugUS.cjs +0 -290
  788. package/dist/ReviewOverlay-CckOQNCd.js +0 -299
  789. package/dist/ReviewOverlay-Cp01_oX9.cjs +0 -152
  790. package/dist/RoleWithToolTip-Bur7bxOe.js +0 -72
  791. package/dist/RoleWithToolTip-CyypzbGI.cjs +0 -22
  792. package/dist/ScheduleDetailsFixedAssetsPage-CG5zcf30.cjs +0 -37
  793. package/dist/ScheduleDetailsFixedAssetsPage-Div2wWri.js +0 -806
  794. package/dist/ScheduleDetailsPage-DDYQPFGk.js +0 -726
  795. package/dist/ScheduleDetailsPage-DgMJ-NVu.cjs +0 -37
  796. package/dist/ScheduleSequenceTable-1TRzUR6V.js +0 -1261
  797. package/dist/ScheduleSequenceTable-DJvUnLea.cjs +0 -324
  798. package/dist/SetUpAccountSection-DH70Aagu.cjs +0 -378
  799. package/dist/SetUpAccountSection-Dfs_xZu7.js +0 -1470
  800. package/dist/SetUpDefaultSection-DyQ2PJlM.cjs +0 -187
  801. package/dist/SetUpDefaultSection-TtnDS5ad.js +0 -537
  802. package/dist/SignIn-D3-Ker_M.js +0 -1075
  803. package/dist/SignIn-n7LstGPm.cjs +0 -448
  804. package/dist/SpendManagementListViewPage-9IFbHt69.cjs +0 -122
  805. package/dist/SpendManagementListViewPage-D0yJ6ZZV.js +0 -627
  806. package/dist/SpendManagementPerTabPage-Dfhzyv14.js +0 -2735
  807. package/dist/SpendManagementPerTabPage-vERldMoX.cjs +0 -754
  808. package/dist/SpendManagementSection-CNgCznpS.js +0 -1043
  809. package/dist/SpendManagementSection-DBs_EcpI.cjs +0 -230
  810. package/dist/SpendMgmtSetupAccountSection-CKg4qknx.js +0 -875
  811. package/dist/SpendMgmtSetupAccountSection-DdFTum57.cjs +0 -206
  812. package/dist/StatementItem-Cv3RZsIv.js +0 -81
  813. package/dist/StatementItem-kSkCyCBh.cjs +0 -31
  814. package/dist/StatementsPage-4JEocF4A.js +0 -130
  815. package/dist/StatementsPage-BCT4jQ9C.cjs +0 -58
  816. package/dist/StatusSwitcher-DbsnK4Pn.js +0 -319
  817. package/dist/StatusSwitcher-DkytQ7Tc.cjs +0 -120
  818. package/dist/SubTabSwitcher-CcE41gZ9.cjs +0 -58
  819. package/dist/SubTabSwitcher-Di6AZRan.js +0 -113
  820. package/dist/SuccessAnimation-C5N48od3.cjs +0 -13
  821. package/dist/SuccessAnimation-DbEO-h1O.js +0 -52
  822. package/dist/SummaryCard-BbqP93PD.js +0 -25
  823. package/dist/SummaryCard-zSDd_LEj.cjs +0 -1
  824. package/dist/TaskDetailPage-CZOsth5E.js +0 -2533
  825. package/dist/TaskDetailPage-j_NruqU8.cjs +0 -775
  826. package/dist/TaskListRow-Bc9iHoJw.js +0 -1950
  827. package/dist/TaskListRow-tbULNNx9.cjs +0 -556
  828. package/dist/TaskManagementPage-BJhjliCJ.js +0 -1935
  829. package/dist/TaskManagementPage-zFnSt-DN.cjs +0 -508
  830. package/dist/TimeRangeSwitcher-MsG4Kt2X.js +0 -265
  831. package/dist/TimeRangeSwitcher-QstnLsyS.cjs +0 -64
  832. package/dist/TimeframeSwitcher-Bl07V_jx.cjs +0 -31
  833. package/dist/TimeframeSwitcher-Cv7wfQSS.js +0 -103
  834. package/dist/TimeframeSwitcherWithToggle-CXnzJ3Ip.js +0 -157
  835. package/dist/TimeframeSwitcherWithToggle-Dw9-BGgI.cjs +0 -31
  836. package/dist/TopExCard-Bb0F0Re9.js +0 -568
  837. package/dist/TopExCard-hgqLhlk9.cjs +0 -38
  838. package/dist/TopExDetailPage-BgRX-60I.js +0 -318
  839. package/dist/TopExDetailPage-EyS6x802.cjs +0 -132
  840. package/dist/TransactionDetailPage-BUPJFXvi.cjs +0 -912
  841. package/dist/TransactionDetailPage-C1clpiWS.js +0 -5238
  842. package/dist/TransactionList-DqlnGjYa.js +0 -558
  843. package/dist/TransactionList-t0rMBAGJ.cjs +0 -147
  844. package/dist/TransactionListBig-CCuDCegl.js +0 -658
  845. package/dist/TransactionListBig-f1skr0T7.cjs +0 -284
  846. package/dist/TransactionListPage-B0k_2X3R.cjs +0 -35
  847. package/dist/TransactionListPage-B1TxgyxD.js +0 -144
  848. package/dist/TransactionVendorDetailPage-BIFJoPWm.cjs +0 -80
  849. package/dist/TransactionVendorDetailPage-BYWPYZkV.js +0 -425
  850. package/dist/TransferDrawerPage-Cx4Qxlnr.js +0 -1435
  851. package/dist/TransferDrawerPage-DFwExsS-.cjs +0 -362
  852. package/dist/TreasuryOverviewPage-B0scZon9.js +0 -1890
  853. package/dist/TreasuryOverviewPage-Cz6fLFLS.cjs +0 -708
  854. package/dist/TreasuryPromoPage-Cs6MvdWT.js +0 -1123
  855. package/dist/TreasuryPromoPage-kHJv-GMP.cjs +0 -505
  856. package/dist/TreasurySetupPage-BT3fZK16.js +0 -683
  857. package/dist/TreasurySetupPage-CSfesEFX.cjs +0 -144
  858. package/dist/TreasuryStatementsPage-Cj28uTCq.js +0 -131
  859. package/dist/TreasuryStatementsPage-F1WaSnS5.cjs +0 -58
  860. package/dist/TreasuryTaxLetterPage-C6fYejXM.js +0 -131
  861. package/dist/TreasuryTaxLetterPage-wYhAHmND.cjs +0 -58
  862. package/dist/TreasuryTransferOrReviewPage-BSDXUzz1.cjs +0 -576
  863. package/dist/TreasuryTransferOrReviewPage-DMaGU-Gd.js +0 -1938
  864. package/dist/TrendChart-CJxaMYKL.cjs +0 -16
  865. package/dist/TrendChart-UOHctvPR.js +0 -333
  866. package/dist/TrendWithTransactions-DcFmfOkM.cjs +0 -116
  867. package/dist/TrendWithTransactions-DeXSoeh9.js +0 -346
  868. package/dist/UncategorizedAccountsMappingPage-BY8Y7Cfi.js +0 -1160
  869. package/dist/UncategorizedAccountsMappingPage-QI3QgWpY.cjs +0 -244
  870. package/dist/UnitIntegrationPage-4u252Ywz.cjs +0 -67
  871. package/dist/UnitIntegrationPage-TSdJXoyv.js +0 -405
  872. package/dist/UploadAdditionalDocumentOverlay-BXIBlx74.cjs +0 -38
  873. package/dist/UploadAdditionalDocumentOverlay-GdA3H_LM.js +0 -211
  874. package/dist/Vendor2FAPopup-DA6_E_ot.cjs +0 -1
  875. package/dist/Vendor2FAPopup-ga_dxJ2i.js +0 -69
  876. package/dist/VendorACHDetailsPage-B_-plgEw.cjs +0 -1
  877. package/dist/VendorACHDetailsPage-C0KPsWem.js +0 -43
  878. package/dist/VendorDetailPage-DtHbNBi2.js +0 -1236
  879. package/dist/VendorDetailPage-Eq2EqB_E.cjs +0 -257
  880. package/dist/VendorDomesticWireDetailsPage-B0X9TGQJ.cjs +0 -1
  881. package/dist/VendorDomesticWireDetailsPage-BRePkxjz.js +0 -53
  882. package/dist/VendorFiling1099EditablePage-B9lgKnIN.js +0 -842
  883. package/dist/VendorFiling1099EditablePage-lgWordid.cjs +0 -175
  884. package/dist/VendorFirstReviewPage-CCNgadyL.cjs +0 -730
  885. package/dist/VendorFirstReviewPage-fnjh1JBs.js +0 -2748
  886. package/dist/VendorInternationalWireDetailsPage-B8mSTYwi.js +0 -968
  887. package/dist/VendorInternationalWireDetailsPage-CqSan_FN.cjs +0 -152
  888. package/dist/VendorInternationalWireSwiftDetailsPage-Bhnewo3W.cjs +0 -1
  889. package/dist/VendorInternationalWireSwiftDetailsPage-D7FYPVgc.js +0 -52
  890. package/dist/VendorsAccountsSection-B5a7wuJN.js +0 -279
  891. package/dist/VendorsAccountsSection-fhDnX4W2.cjs +0 -68
  892. package/dist/VerifyDevice-CVJF9lwM.js +0 -298
  893. package/dist/VerifyDevice-DeXVEZ17.cjs +0 -112
  894. package/dist/VideoPlayer-DloIycOu.js +0 -169
  895. package/dist/VideoPlayer-DnHH3uiX.cjs +0 -77
  896. package/dist/VideoPopup-BAYUbJG6.cjs +0 -31
  897. package/dist/VideoPopup-D2oWKmZt.js +0 -60
  898. package/dist/WarningsDrawerPage-CILhyPqo.cjs +0 -92
  899. package/dist/WarningsDrawerPage-DW-8IxrS.js +0 -228
  900. package/dist/ZeniAccountDetailPage-CF5PQDtn.js +0 -907
  901. package/dist/ZeniAccountDetailPage-CJbBeou9.cjs +0 -300
  902. package/dist/ZeniAccountListViewPage-Dvzgoo-B.js +0 -1078
  903. package/dist/ZeniAccountListViewPage-k4uaT57g.cjs +0 -441
  904. package/dist/ZeniAccountNavBarPieces-CJGPe-SG.cjs +0 -14
  905. package/dist/ZeniAccountNavBarPieces-D7qqcIZ7.js +0 -89
  906. package/dist/ZeniAccountPromoPage-DD-ZYLox.js +0 -523
  907. package/dist/ZeniAccountPromoPage-dS-N6IVL.cjs +0 -184
  908. package/dist/ZeniAccountSetupPage-ChTNTxo4.js +0 -312
  909. package/dist/ZeniAccountSetupPage-Cn5tEuP2.cjs +0 -36
  910. package/dist/ZeniAvatar-C_8uO9i4.js +0 -34
  911. package/dist/ZeniAvatar-Dh0sOMYs.cjs +0 -13
  912. package/dist/ZeniCopyright-D7A5qQVt.js +0 -9
  913. package/dist/ZeniCopyright-DUNLo2t3.cjs +0 -1
  914. package/dist/ZeniDatePicker-BRRSp4J4.cjs +0 -187
  915. package/dist/ZeniDatePicker-Cp_bMmlv.js +0 -386
  916. package/dist/ZeniTransferAmountSlider-Clmv0ILZ.js +0 -215
  917. package/dist/ZeniTransferAmountSlider-DNTCBjji.cjs +0 -63
  918. package/dist/analyticsHelper-Dn0mlAnz.js +0 -65
  919. package/dist/analyticsHelper-_mHiGjm1.cjs +0 -1
  920. package/dist/calculateSize-Cez0Benx.js +0 -22
  921. package/dist/calculateSize-Eh4brc9K.cjs +0 -1
  922. package/dist/chartTypes-A8wR1KBw.js +0 -47
  923. package/dist/chartTypes-ZBxn7Y_u.cjs +0 -1
  924. package/dist/common-B9zfvrQX.js +0 -22
  925. package/dist/common-BqenmKdI.cjs +0 -1
  926. package/dist/commonDimensions-BT_as0IS.js +0 -13
  927. package/dist/commonDimensions-DE99WQCx.cjs +0 -1
  928. package/dist/detailCommon-BgmEFUA1.cjs +0 -38
  929. package/dist/detailCommon-DppzaL-S.js +0 -124
  930. package/dist/downloadPdf-BjlVeXkh.cjs +0 -1
  931. package/dist/downloadPdf-CdA_CkNA.js +0 -32
  932. package/dist/index-DWk0ezoc.cjs +0 -19250
  933. package/dist/index-Dc_o2gSy.js +0 -85994
  934. package/dist/mapLoadingInProgressToTreeNode-BsvMvxbV.cjs +0 -1
  935. package/dist/mapLoadingInProgressToTreeNode-_eXCwZ49.js +0 -25
  936. package/dist/mapSectionWithAcOnlyToTreeNode-C92nA8LS.cjs +0 -1
  937. package/dist/mapSectionWithAcOnlyToTreeNode-Ch0t_vs_.js +0 -388
  938. package/dist/mapSpacerToTreeNode-DQuLPYYu.cjs +0 -1
  939. package/dist/mapSpacerToTreeNode-DV0UxtV9.js +0 -25
  940. package/dist/mapTimeframeBalancesToTreeNode-C7H28gWw.cjs +0 -1
  941. package/dist/mapTimeframeBalancesToTreeNode-DrPXYWFJ.cjs +0 -1
  942. package/dist/mapTimeframeBalancesToTreeNode-Mxxnpeq7.js +0 -24
  943. package/dist/mapTimeframeBalancesToTreeNode-puf5eiMx.js +0 -24
  944. package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-B-W32Tm-.js +0 -32
  945. package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-DIJKBUBI.cjs +0 -1
  946. package/dist/sectionColor-DW28hDJV.js +0 -32
  947. package/dist/sectionColor-eQOt4DBe.cjs +0 -1
  948. package/dist/toCOABalancesWithID-C1oWyjNl.cjs +0 -1
  949. package/dist/toCOABalancesWithID-CibeBR5w.js +0 -8
  950. package/dist/toChartData-ChB-MhMZ.cjs +0 -1
  951. package/dist/toChartData-D_R7lWVz.js +0 -76
  952. package/dist/treasuryColorHelper-DeuFLe5I.cjs +0 -1
  953. package/dist/treasuryColorHelper-DudgBZZp.js +0 -60
  954. package/dist/uploadAttachment-CijSp9Tb.cjs +0 -286
  955. package/dist/uploadAttachment-DxrjP0NZ.js +0 -952
  956. package/dist/zeniDatePicker.helpers-BwGyBr8U.js +0 -14
  957. package/dist/zeniDatePicker.helpers-DioyhBzO.cjs +0 -1
@@ -1,1462 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./vendor-.pnpm-BW93Fnli.cjs"),i=require("react"),s=require("@emotion/styled"),Qe=require("@zeniai/client-epic-state"),t=require("./index-DWk0ezoc.cjs"),Ms=require("./MoreMenuButton-C1eQKw4v.cjs"),me=require("@emotion/react"),Is=require("./NavigationDots-YzeIzlIl.cjs"),we=require("./ChargeCardUtils-BGWEjSky.cjs"),Ye=require("./add-to-wallet-BjCX6PYO.cjs"),Ws=require("./spend-limit-K8ydp2My.cjs"),Bs=require("./CardNumberSubText-DCLy96yC.cjs"),po=require("./common-BqenmKdI.cjs"),Uo=require("react-dom"),Yo=require("./uploadReceipts-Da6E1UB3.cjs"),dt=require("./LockCardPage-Cdx3qNJB.cjs");function Hs(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const c=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(n,a,c.get?c:{enumerable:!0,get:()=>e[a]})}}return n.default=e,Object.freeze(n)}const L=Hs(i),Do=t.appLocale.getLocalizedStrings().spendManagement.chargeCard,Ns=({controllerEmails:e,classListFetchState:n,isChargeCardFeatureEnabled:a,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:d,isChargeCardSetupEnabled:h,chargeCardDetailView:l,productInformation:m,creditAccountInformation:u,debitAccountInformation:S,creditAccount:C,creditAccountRepayment:r,cardIssuedByRoles:x,cardIssuedByDepartmentName:g,cardHolderRoles:R,cardHolderDepartmentName:f,appleWalletLink:$,googleWalletLink:b,style:p,showDrawerAnimation:P,setWalletType:y,setIsAddToWalletDrawerOpen:A,isDebitCard:H})=>{const N=t.useToolkitContext().analytics,{isIPadScreen:D}=t.useIPadDeviceDetect(),{isAndroidScreen:Z}=t.useAndroidDeviceDetect(),T=t.useGlobalInfoContext(),Y=Qe.hasChargeCardAdminLevelAccess(T.loggedInUserRoleMap);return o.jsxRuntimeExports.jsx(Fs,{style:p,children:D===!0?o.jsxRuntimeExports.jsx(Pt,{onClick:()=>{we.fireCardsAddToWalletClick({chargeCardDetailView:l,classListFetchState:n,analytics:N,isDebitCard:H,isChargeCardAdmin:Y,cardIssuedByRoles:x,cardIssuedByDepartmentName:g,cardHolderRoles:R,cardHolderDepartmentName:f,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:m,creditAccountInformation:u,debitAccountInformation:S,isChargeCardFeatureEnabled:a,creditAccount:C,creditAccountRepayment:r}),window.open($,"_blank")}}):Z===!0?o.jsxRuntimeExports.jsx(kt,{onClick:()=>{we.fireCardsAddToWalletClick({chargeCardDetailView:l,classListFetchState:n,analytics:N,isDebitCard:H,isChargeCardAdmin:Y,cardIssuedByRoles:x,cardIssuedByDepartmentName:g,cardHolderRoles:R,cardHolderDepartmentName:f,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:m,creditAccountInformation:u,debitAccountInformation:S,isChargeCardFeatureEnabled:a,creditAccount:C,creditAccountRepayment:r}),window.open(b,"_blank")}}):o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsx(Pt,{onClick:()=>{y("apple"),P.current="slide-in-right-to-left-add-to-wallet",we.fireCardsAddToWalletClick({chargeCardDetailView:l,classListFetchState:n,analytics:N,isDebitCard:H,isChargeCardAdmin:Y,cardIssuedByRoles:x,cardIssuedByDepartmentName:g,cardHolderRoles:R,cardHolderDepartmentName:f,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:a,productInformation:m,creditAccountInformation:u,debitAccountInformation:S,creditAccount:C,creditAccountRepayment:r}),A(!0)}}),o.jsxRuntimeExports.jsx(kt,{onClick:()=>{y("google"),P.current="slide-in-right-to-left-add-to-wallet",we.fireCardsAddToWalletClick({chargeCardDetailView:l,classListFetchState:n,analytics:N,isDebitCard:H,isChargeCardAdmin:Y,cardIssuedByRoles:x,cardIssuedByDepartmentName:g,cardHolderRoles:R,cardHolderDepartmentName:f,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:a,productInformation:m,creditAccountInformation:u,debitAccountInformation:S,creditAccount:C,creditAccountRepayment:r}),A(!0)}})]})})},kt=({onClick:e})=>{const n=o.useTheme();return o.jsxRuntimeExports.jsx(t.Button,{prefixIcon:o.jsxRuntimeExports.jsx(Os,{}),label:Do.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:n.colors.grey1,hover:n.colors.primary,disabled:n.colors.primary},backgroundColor:{default:n.colors.grey5,hover:n.colors.grey5,disabled:n.colors.grey5},textColor:{default:n.colors.primary,hover:n.colors.primary,disabled:n.colors.grey5}},textStyle:{color:n.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":t.generateDataTestId("add-to-google-wallet-button")})},Pt=({onClick:e})=>{const n=o.useTheme();return o.jsxRuntimeExports.jsx(t.Button,{prefixIcon:o.jsxRuntimeExports.jsx(_s,{}),label:Do.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:n.colors.grey1,hover:n.colors.primary,disabled:n.colors.primary},backgroundColor:{default:n.colors.grey5,hover:n.colors.grey5,disabled:n.colors.grey5},textColor:{default:n.colors.primary,hover:n.colors.primary,disabled:n.colors.grey5}},textStyle:{color:n.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":t.generateDataTestId("add-to-apple-wallet-button")})},Fs=s.div`
2
- margin-top: ${t.Space.sp4};
3
- display: flex;
4
- justify-content: center;
5
- gap: ${t.Space.sp5};
6
- `,Os=s(Ye.SvgGoogleWallet)`
7
- height: ${t.Space.sp4};
8
- width: ${t.Space.sp5};
9
- `,_s=s(Ye.SvgAppleWallet)`
10
- height: ${t.Space.sp4};
11
- width: ${t.Space.sp5};
12
- `,Gs=[t.Colors.brandColorSapphire,t.Colors.brandColorJade,t.Colors.graphColor01,t.Colors.graphColor08,t.Colors.graphColor12,t.Colors.graphColor15,t.Colors.graphColor16Dark,t.Colors.graphColor23Dark,t.Colors.graphColor32Dark,t.Colors.graphColor34Dark,t.Colors.brandColorOpalDark,t.Colors.brandColorRuby],Zs=t.appLocale.getLocalizedStrings().spendManagement.chargeCard,qs=({isColorPaletteVisible:e,hasBorderShadow:n,leftTransitionValue:a,colorInState:c,styles:d,colorPaletteTitleStyles:h,ColorListStyles:l,coloredCircleStyles:m,closeStyles:u,tickStyles:S,toggleColorPaletteVisibility:C,handleColorClick:r})=>o.jsxRuntimeExports.jsxs(Us,{showColorPalette:e,style:d,hasBorderShadow:n,leftTransitionValue:a,children:[o.jsxRuntimeExports.jsxs(Ds,{style:h,children:[o.jsxRuntimeExports.jsx(Ks,{children:Zs.cardDetails.cardTheme}),o.jsxRuntimeExports.jsx(Xs,{style:u,"data-testid":t.generateDataTestId("close-color-palette"),onClick:x=>{x.stopPropagation(),C(!e)}})]}),o.jsxRuntimeExports.jsx(Ys,{style:l,children:Gs.map((x,g)=>o.jsxRuntimeExports.jsx(Qs,{style:m,coreColor:x,onMouseEnter:()=>r(new o.Color(x),!1),onMouseLeave:()=>c!=null?r(new o.Color(c),!1):null,"data-testid":t.generateDataTestId("color-palette-item-cards",g.toString()),onClick:()=>r(new o.Color(x),!0),children:new o.Color(x).toString()===c?.toString()?o.jsxRuntimeExports.jsx(Js,{style:S}):null},x))})]}),Us=s.div`
13
- display: flex;
14
- top: ${t.Space.sp1};
15
- max-width: 78%;
16
- left: ${e=>e.showColorPalette?e.hasBorderShadow?t.Space.sp1:t.Space.sp0:`${e.leftTransitionValue}px`};
17
- transition: left 0.3s ease-in;
18
- flex-direction: column;
19
- background: ${t.Colors.neutralGrey5Light};
20
- border-top-left-radius: ${t.Space.sp1};
21
- border-bottom-left-radius: ${t.Space.sp1};
22
- position: absolute;
23
- height: ${`calc(100% - ${t.Space.sp2})`};
24
- z-index: 1;
25
- `,Ys=s.div`
26
- display: flex;
27
- flex-wrap: wrap;
28
- padding: ${t.Space.sp0} 38px ${t.Space.sp0} 31px;
29
- `,Ds=s.div`
30
- display: flex;
31
- align-items: center;
32
- justify-content: space-between;
33
- padding: ${t.Space.sp5} ${t.Space.sp5} ${t.Space.sp2} ${t.Space.sp5};
34
- `,Ks=s(t.SmallRegular)`
35
- color: ${t.Colors.brandColorOnyx};
36
- `,Xs=s(t.SvgClose)`
37
- width: ${t.Space.sp3};
38
- height: ${t.Space.sp3};
39
- cursor: pointer;
40
- color: ${e=>e.theme.colors.hero};
41
- `,Js=s(t.SvgTick)`
42
- width: ${t.Space.sp3};
43
- color: ${t.Colors.neutralGrey5Light};
44
- `,Qs=s.div`
45
- width: ${t.Space.sp4};
46
- height: ${t.Space.sp4};
47
- display: flex;
48
- background: ${e=>e.coreColor};
49
- border-radius: 50%;
50
- margin: ${t.Space.sp2};
51
- justify-content: center;
52
- align-items: center;
53
- `,{spendManagement:Vs,common:Ue,dateFormat:en}=t.appLocale.getLocalizedStrings(),Ze=Vs.chargeCard,be={secretCardNumberWrapperWidth:280,secretCVVWrapperHeight:30,secretCVVWrapperWidth:t.sp[7],cardNumberCopiedSectionTop:54,cvvCopiedSectionTop:34,cvvCopiedSectionLeft:t.sp[3],maskedCardNumberMarginTop:new t.ResponsiveSized(-2,-2,-2,t.sp[0]),expiryCopySectionTop:34,cardNumberCopyBtnTop:21},uo={CardInfoTitleSize:new t.ResponsiveSized(t.textStyles.extraSmallRegular.fontSizeValue,t.textStyles.smallRegular.fontSizeValue),CardInfoTitleLineHeight:new t.ResponsiveSized(18,18,18,21)},Rt=e=>o.jsxRuntimeExports.jsxs(fn,{style:{...e},children:[o.jsxRuntimeExports.jsx(Cn,{}),o.jsxRuntimeExports.jsx(yn,{style:{background:t.Colors.blackColor,color:t.Colors.primaryDark,padding:`2px ${t.Space.sp2}`,borderRadius:t.Space.sp1},children:Ue.copyToClipBoard.copied})]}),mo=({isSandboxEnv:e,sourceId:n,showSecretInfo:a,secretRevealed:c,vgsVaultId:d,controllerEmails:h,isChargeCardFeatureEnabled:l,productInformation:m,cashbackInformation:u,creditAccountInformation:S,debitAccountInformation:C,chargeCardCashbackDetailState:r,creditAccount:x,creditAccountRepayment:g,isDebitCard:R,depositAccountLimitFetchState:f,isCardDetailErrored:$,isCardColorUpdating:b,cardDetailsFetchState:p,isCardColorUndefined:P,cardInfoTitleStyles:y,styles:A,cvvSecStyles:H,chargeCard:w,token:N,setSecretRevealed:D,setIsCardDetailErrored:Z,setCardDetailsFetchState:T,onFireOnClickAnalytics:Y})=>{const Q=t.useToolkitContext().analytics,[,K]=t.useCopyToClipboard(),B=t.useWindowSizeContext(),[F,V]=i.useState(!1),[X,oe]=i.useState(!1),[se,k]=i.useState(!1),ae=t.useGlobalInfoContext(),_=Qe.hasChargeCardAdminLevelAccess(ae.loggedInUserRoleMap),[G]=t.useScript("https://js.verygoodvault.com/vgs-show/2.0.0/show.js"),j=n==="addToWalletDrawer"?.75:B==="small"?.85:1,O=e?"sandbox":"live";i.useEffect(()=>{if(G&&w!=null&&a&&N!=null&&!c){const v=window.VGSShow.create(d).setEnvironment(O),le=w.cardProviderID,ee=v.request({name:"data-text",method:"GET",path:"/cards/"+le+"/secure-data/cvv2",headers:{Authorization:"Bearer "+N},htmlWrapper:"text",jsonPathSelector:"data.attributes.cvv2"});T({cvv:!0,number:!0}),ee.render(`#SecretCvv-${n}`,{"@font-face":{"font-family":t.fonts["PT Mono"],"font-style":"normal","font-weight":t.FontWeight.regular,"font-display":"swap",src:'local("PT Mono"), local("PTMono-Regular"), url(https://fonts.gstatic.com/s/ptmono/v7/9oRONYoBnWILk-9AnCszM_HxEcn7Hg.woff2) format("woff2")'},"font-family":t.fonts["PT Mono"],opacity:.7,color:t.Colors.brandColorOnyx,fontSize:`${j*t.textStyles.h6Regular.fontSizeValue}px`,fontWeight:t.textStyles.h6Regular.fontWeight,borderRadius:t.Space.sp1,cursor:"pointer",padding:`${t.Space.sp0} ${t.Space.sp1}`,lineHeight:`${j*t.textStyles.h6Regular.lineHeightValue}px`}),ee.on("requestSuccess",()=>{D(!0),Z(!1),T({...p,cvv:!1})}),ee.on("requestFail",()=>{Z(!0),T({...p,cvv:!1});const re=document.getElementById(`SecretCvv-${n}`);for(;re?.hasChildNodes()===!0;)re.removeChild(re.children[0])}),v.copyFrom(ee,{text:Ue.strings.empty},re=>{re==="success"?(oe(!0),Y("CVV copied"),r.fetchState==="Completed"&&(!l||x.fetchState==="Completed"&&g.fetchState==="Completed")&&(!(R&&_)||f==="Completed")&&Q.trackCardsCopyIconClick(h,m,"Cards Detail","Copy","copied","CVV","",u,S,C)):oe(!1)}).render(`#CvvCopyBtn-${n}`,{cursor:"pointer",height:`${j*be.secretCVVWrapperHeight}px`,width:`${j*be.secretCVVWrapperWidth}px`});const ge=v.request({name:"data-text",method:"GET",path:"/cards/"+le+"/secure-data/pan",headers:{Authorization:"Bearer "+N},htmlWrapper:"text",jsonPathSelector:"data.attributes.pan",serializers:[v.SERIALIZERS.replace("(\\d{4})(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3 $4")]});ge.render(`#SecretCardNumber-${n}`,{"@font-face":{"font-family":t.fonts["PT Mono"],"font-style":"normal","font-weight":t.FontWeight.regular,"font-display":"swap",src:'local("PT Mono"), local("PTMono-Regular"), url(https://fonts.gstatic.com/s/ptmono/v7/9oRONYoBnWILk-9AnCszM_HxEcn7Hg.woff2) format("woff2")'},"font-family":t.fonts["PT Mono"],opacity:.7,color:t.Colors.brandColorOnyx,fontSize:`${j*t.textStyles.h6Regular.fontSizeValue}px`,fontWeight:t.textStyles.h6Regular.fontWeight,borderRadius:t.Space.sp1,cursor:"pointer",padding:`${t.Space.sp0} ${t.Space.sp1}`,lineHeight:`${j*t.textStyles.h6Regular.lineHeightValue}px`}),ge.on("requestSuccess",()=>{D(!0),Z(!1),T({...p,number:!1})}),ge.on("requestFail",()=>{Z(!0),T({...p,number:!1});const re=document.getElementById(`SecretCardNumber-${n}`);for(;re?.hasChildNodes()===!0;)re.removeChild(re.children[0])}),v.copyFrom(ge,{text:Ue.strings.empty,serializers:[v.SERIALIZERS.replace(Ue.strings.space,Ue.strings.empty)]},re=>{re==="success"?(V(!0),Y("card number copied"),r.fetchState==="Completed"&&(!l||x.fetchState==="Completed"&&g.fetchState==="Completed")&&(!(R&&_)||f==="Completed")&&Q.trackCardsCopyIconClick(h,m,"Cards Detail","Copy","copied","Card Number","",u,S,C)):V(!1)}).render(`#CardNumberCopyBtn-${n}`,{cursor:"pointer",height:`${j*t.textStyles.h6Regular.lineHeightValue}px`,width:`${j*be.secretCardNumberWrapperWidth}px`})}},[G,w,a,N,c]),i.useEffect(()=>{if(a===!1){const v=document.getElementById(`SecretCvv-${n}`);for(;v?.hasChildNodes()===!0;)v.removeChild(v.children[0]);const le=document.getElementById(`CvvCopyBtn-${n}`);for(;le?.hasChildNodes()===!0;)le.removeChild(le.children[0]);const ee=document.getElementById(`SecretCardNumber-${n}`);for(;ee?.hasChildNodes()===!0;)ee.removeChild(ee.children[0]);const M=document.getElementById(`CardNumberCopyBtn-${n}`);for(;M?.hasChildNodes()===!0;)M.removeChild(M.children[0])}},[n,a]),i.useEffect(()=>{F===!0&&setTimeout(()=>{V(!1)},800),X===!0&&setTimeout(()=>{oe(!1)},800),se===!0&&setTimeout(()=>{k(!1)},800)},[F,X,se]);const ne=w!=null?Qe.dateFromYearMonthDate(w.validThru.year,w.validThru.month-1).format(en.visual.MMSlashYYFormat):Ue.strings.empty,q=v=>{a===!0&&(p.cvv!==!0||p.number!==!0)&&(Y("validity copied"),v!=null&&r.fetchState==="Completed"&&(!l||x.fetchState==="Completed"&&g.fetchState==="Completed")&&(!(R&&_)||f==="Completed")&&Q.trackCardsCopyIconClick(h,m,"Cards Detail","Copy","copied","Valid Thru",ne,u,S,C),K(ne),k(!0))};return o.jsxRuntimeExports.jsxs(cn,{style:A,children:[o.jsxRuntimeExports.jsxs(dn,{children:[o.jsxRuntimeExports.jsx(wt,{style:y,windowSize:B,children:Ze.cardDetails.cardNumber}),o.jsxRuntimeExports.jsx(pn,{sourceId:n,scaleFactor:j,showSecretInfo:a&&(p.number===!1||p.cvv===!1),isCardDetailFetching:p.number===!0||p.cvv===!0||P||b,windowSize:B,children:`${Ze.cardDetails.cardNumberHideout}
54
- ${w?.accountLast4??Ue.strings.empty}`}),o.jsxRuntimeExports.jsxs(tn,{secretRevealed:c,scaleFactor:j,showSecretInfo:a&&p.cvv===!1&&p.number===!1,sourceId:n,isCardDetailErrored:$,children:[o.jsxRuntimeExports.jsx(on,{sourceId:n,scaleFactor:j,secretRevealed:c,id:`SecretCardNumber-${n}`}),o.jsxRuntimeExports.jsx(ln,{secretRevealed:c,scaleFactor:j,id:`CardNumberCopyBtn-${n}`,sourceId:n}),F===!0?o.jsxRuntimeExports.jsx(Rt,{top:j*be.cardNumberCopiedSectionTop}):null]})]}),o.jsxRuntimeExports.jsxs(un,{children:[o.jsxRuntimeExports.jsxs(hn,{children:[o.jsxRuntimeExports.jsx(wt,{style:y,windowSize:B,children:Ze.cardDetails.expiry}),o.jsxRuntimeExports.jsxs(rn,{secretRevealed:a&&(p.cvv===!1||p.number===!1),children:[c&&a&&p.cvv===!1&&p.number===!1?o.jsxRuntimeExports.jsx(Sn,{sourceId:n,scaleFactor:j,windowSize:B,secretRevealed:c&&a,"data-testid":t.generateDataTestId("expiry-date-copy"),onClick:v=>{v.stopPropagation(),q(w)},children:c&&a&&p.cvv===!1&&p.number===!1?ne:Ze.cardDetails.expiryHideOut}):o.jsxRuntimeExports.jsx(gn,{sourceId:n,windowSize:B,scaleFactor:j,isCardDetailFetching:p.cvv===!0||p.number===!0||P||b,children:Ze.cardDetails.expiryHideOut}),se===!0?o.jsxRuntimeExports.jsx(Rt,{top:j*be.expiryCopySectionTop,width:"auto"}):null]})]}),o.jsxRuntimeExports.jsxs(mn,{style:H,children:[o.jsxRuntimeExports.jsx(wt,{style:y,windowSize:B,children:Ze.cardDetails.cvv}),o.jsxRuntimeExports.jsx(xn,{sourceId:n,scaleFactor:j,showSecretInfo:a&&p.cvv===!1&&p.number===!1,isCardDetailFetching:p.number===!0||p.cvv===!0||P||b,windowSize:B,children:Ze.cardDetails.cvvHideOut}),o.jsxRuntimeExports.jsxs(sn,{secretRevealed:c,sourceId:n,showSecretInfo:a&&p.cvv===!1&&p.number===!1,isCardDetailErrored:$,children:[o.jsxRuntimeExports.jsx(nn,{scaleFactor:j,secretRevealed:c,sourceId:n,id:`SecretCvv-${n}`}),o.jsxRuntimeExports.jsx(an,{windowSize:B,scaleFactor:j,secretRevealed:c,id:`CvvCopyBtn-${n}`,sourceId:n}),X===!0?o.jsxRuntimeExports.jsx(Rt,{top:j*be.cvvCopiedSectionTop,width:"auto"}):null]})]})]})]})},tn=s.div`
55
- display: ${e=>e.showSecretInfo?"block":"none"};
56
- height: ${e=>e.secretRevealed?"unset":t.Space.sp0};
57
- width: ${e=>e.secretRevealed?e.scaleFactor*be.secretCardNumberWrapperWidth:t.sp[0]}px;
58
- overflow: hidden;
59
- &:hover {
60
- background: ${e=>e.isCardDetailErrored?"transparent":t.Colors.neutralGrey5Light};
61
- border-radius: ${t.Space.sp1};
62
- }
63
- `,on=s.div`
64
- min-height: ${e=>e.secretRevealed?e.scaleFactor*t.textStyles.h6Regular.lineHeightValue:t.sp[0]}px;
65
- height: ${e=>e.secretRevealed?e.scaleFactor*t.textStyles.h6Regular.lineHeightValue:t.sp[0]}px;
66
- width: ${e=>e.secretRevealed?"100%":t.Space.sp0};
67
- overflow: hidden;
68
- position: relative;
69
- `,sn=s.div`
70
- display: ${e=>e.showSecretInfo?"flex":"none"};
71
- height: ${e=>e.secretRevealed?"unset":t.Space.sp0};
72
- min-height: ${e=>e.secretRevealed?"unset":t.Space.sp0};
73
- width: ${e=>e.secretRevealed?be.secretCVVWrapperWidth:t.sp[0]}px;
74
- position: relative;
75
- &:hover {
76
- background: ${e=>e.isCardDetailErrored?"transparent":t.Colors.neutralGrey5Light};
77
- border-radius: ${t.Space.sp1};
78
- }
79
- `,nn=s.div`
80
- height: ${e=>e.secretRevealed?e.scaleFactor*t.textStyles.h6Regular.lineHeightValue:t.sp[0]}px;
81
- width: ${e=>e.secretRevealed?be.secretCVVWrapperWidth*e.scaleFactor:t.Space.sp0};
82
- overflow: hidden;
83
- `,rn=s.div`
84
- position: relative;
85
- padding: ${t.Space.sp0} ${t.Space.sp1};
86
- &:hover {
87
- background: ${e=>e.secretRevealed?t.Colors.neutralGrey5Light:"transparent"};
88
- border-radius: ${t.Space.sp1};
89
- }
90
- `,an=s.div`
91
- height: ${e=>e.secretRevealed?e.scaleFactor*t.textStyles.h6Regular.lineHeightValue:t.sp[0]}px;
92
- width: ${e=>e.secretRevealed?"inherit":t.Space.sp0};
93
- position: absolute;
94
- top: ${t.Space.sp0};
95
- overflow: hidden;
96
- background: transparent;
97
- cursor: pointer;
98
- `,ln=s.div`
99
- height: ${e=>e.secretRevealed?e.scaleFactor*t.textStyles.h6Regular.lineHeightValue:t.sp[0]}px;
100
- width: ${e=>e.secretRevealed?"inherit":t.Space.sp0};
101
- position: absolute;
102
- top: ${e=>e.scaleFactor*be.cardNumberCopyBtnTop}px;
103
- overflow: hidden;
104
- background: transparent;
105
- cursor: pointer;
106
- `,cn=s.div`
107
- display: flex;
108
- flex-direction: column;
109
- padding: ${t.Space.sp4} ${t.Space.sp0} ${t.Space.sp4} ${t.Space.sp5};
110
- width: 75%;
111
- gap: ${t.Space.sp4};
112
- `,dn=s.div`
113
- position: relative;
114
- width: max-content;
115
- `,wt=s(t.SmallRegular)`
116
- padding-left: ${t.Space.sp1};
117
- color: ${t.Colors.brandColorPearl};
118
- position: relative;
119
- font-size: ${e=>uo.CardInfoTitleSize.valuePx(e.windowSize)};
120
- line-height: ${e=>uo.CardInfoTitleLineHeight.valuePx(e.windowSize)};
121
- `,pn=s(t.ChargeCardNumberText)`
122
- display: ${e=>e.showSecretInfo===!0?"none":"block"};
123
- padding-left: ${t.Space.sp1};
124
- color: ${e=>e.isCardDetailFetching?e.theme.colors.grey1:e.theme.colors.brandColorOnyx};
125
- opacity: 0.7;
126
- margin-top: ${e=>be.maskedCardNumberMarginTop.valuePx(e.windowSize)};
127
- margin-left: -2px;
128
- font-size: ${e=>e.scaleFactor*t.textStyles.chargeCardNumberText.fontSizeValue}px;
129
- line-height: ${e=>e.scaleFactor*t.textStyles.chargeCardNumberText.lineHeightValue}px;
130
- -webkit-font-smoothing: initial;
131
- -moz-osx-font-smoothing: initial;
132
- word-wrap: "break-word";
133
- `,un=s.div`
134
- position: relative;
135
- display: flex;
136
- flex-direction: row;
137
- justify-content: flex-start;
138
- gap: ${t.Space.sp4};
139
- `,mn=s.div`
140
- display: flex;
141
- flex-direction: column;
142
- margin-right: ${t.Space.sp5};
143
- `,xn=s(t.ChargeCardNumberText)`
144
- display: ${e=>e.showSecretInfo?"none":"block"};
145
- padding-left: ${t.Space.sp1};
146
- opacity: 0.7;
147
- color: ${e=>e.isCardDetailFetching?e.theme.colors.grey1:e.theme.colors.brandColorOnyx};
148
- font-size: ${e=>e.scaleFactor*t.textStyles.chargeCardNumberText.fontSizeValue}px;
149
- line-height: ${e=>e.scaleFactor*t.textStyles.chargeCardNumberText.lineHeightValue}px;
150
- -webkit-font-smoothing: initial;
151
- -moz-osx-font-smoothing: initial;
152
- word-wrap: "break-word";
153
- `,hn=s.div`
154
- display: flex;
155
- flex-direction: column;
156
- `,gn=s(t.ChargeCardNumberText)`
157
- color: ${e=>e.isCardDetailFetching?e.theme.colors.grey1:e.theme.colors.brandColorOnyx};
158
- opacity: 0.7;
159
- font-size: ${e=>e.scaleFactor*t.textStyles.chargeCardNumberText.fontSizeValue}px;
160
- line-height: ${e=>e.scaleFactor*t.textStyles.chargeCardNumberText.lineHeightValue}px;
161
- -webkit-font-smoothing: initial;
162
- -moz-osx-font-smoothing: initial;
163
- word-wrap: "break-word";
164
- `,Sn=s(t.ChargeCardNumberText)`
165
- display: ${e=>e.secretRevealed?"block":"none"};
166
- color: ${e=>e.theme.colors.brandColorOnyx};
167
- border-radius: ${t.Space.sp1};
168
- opacity: 0.7;
169
- padding-left: ${e=>e.secretRevealed===!0?t.Space.sp0:t.Space.sp1};
170
- font-size: ${e=>e.scaleFactor*t.textStyles.chargeCardNumberText.fontSizeValue}px;
171
- line-height: ${e=>e.scaleFactor*t.textStyles.chargeCardNumberText.lineHeightValue}px;
172
- -webkit-font-smoothing: initial;
173
- -moz-osx-font-smoothing: initial;
174
- word-wrap: "break-word";
175
- `,Cn=s(t.SvgTickRoundFill)`
176
- height: ${t.Space.sp3};
177
- width: ${t.Space.sp3};
178
- color: ${t.Colors.success};
179
- `,fn=s.div`
180
- position: absolute;
181
- display: flex;
182
- align-items: center;
183
- gap: ${t.Space.sp1};
184
- width: 100%;
185
- justify-content: center;
186
- z-index: 1;
187
- `,yn=s(t.SmallRegular)`
188
- color: ${t.Colors.primaryDark};
189
- padding: 2px ${t.Space.sp2};
190
- background-color: ${t.Colors.blackColor};
191
- `,{common:jn,spendManagement:{chargeCard:{cardDetails:je}}}=t.appLocale.getLocalizedStrings(),he={chargeCardWidth:384,chargeCardHeight:240,cardLoadingShineWidth:200,cardLoadingShineHeight:240,zeniLogoWidth:t.sp[6],zeniLogoHeight:t.sp[6],visaLogoWidth:t.sp[6],visaLogoHeight:13,cardTintIconWidth:277,cardTintIconHeight:242,colorPaletteLeftTransitionValue:-350,rightSectionWidth:384,rightSectionHeight:240,cardContainerContentGap:new t.ResponsiveSized(t.sp[4],t.sp[4],t.sp[4],t.sp[3])},Ko=({isChargeCardAdmin:e,chargeCardDetailView:n,productInformation:a,cashbackInformation:c,creditAccountInformation:d,debitAccountInformation:h,secretRevealed:l,isOwnCard:m,vgsVaultId:u,showSecretInfo:S,controllerEmails:C,isChargeCardFeatureEnabled:r,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:g,isChargeCardSetupEnabled:R,chargeCardCashbackDetailState:f,creditAccount:$,creditAccountRepayment:b,isShowingInDrawer:p,isSandboxEnv:P,isCardDetailErrored:y,signedInUserToken:A,selectedColor:H,cardDetailsFetchState:w,setCardDetailsFetchState:N,setIsCardDetailErrored:D,setShowSecretInfo:Z,setSecretRevealed:T,setShowPhoneNumberForOtp:Y,isCardDetailFetching:te,handleColorCodeClick:Q,onFireOnClickAnalytics:K,onUnlockChargeCard:B})=>{const[F,V]=i.useState(!1),[X,oe]=i.useState(!1),[se,k]=i.useState(!1),[ae,_]=i.useState(!1),[G,j]=i.useState(!1),[O,ne]=i.useState(!1),[q,v]=i.useState(()=>{const xe=n.chargeCard?.status.code;return xe==="locked"||xe==="closed"||xe==="closed_by_customer"}),[le,ee]=i.useState(!1),[M,ge]=i.useState(!1),ce=i.useRef(void 0),re=n.chargeCard?.type.code??"business_virtual_credit_card",{isMobileOrTabletScreen:U}=t.useDeviceDetect(),J=t.useWindowSizeContext(),I=p?.75:J==="small"?.85:1,$e=n.lockChargeCardsFetchState.fetchState,ye=t.usePrevious($e),ue=n.unlockChargeCardsFetchState.fetchState,Te=t.usePrevious(ue),Ne=n.closeChargeCardsFetchState.fetchState,De=t.usePrevious(Ne),de=n.chargeCard?.status.code==="locked",E=n.chargeCard?.status.code==="closed"||n.chargeCard?.status.code==="closed_by_customer",[ie]=t.useAnimation("UnlockCard"),[z]=t.useAnimation("LockCard"),[Fe]=t.useAnimation("CloseCard");i.useEffect(()=>{if(!(X&&de)){k(!1);return}const Ae=setTimeout(()=>{k(!0)},400);return()=>clearTimeout(Ae)},[X,de]),i.useEffect(()=>{(de||E)&&!q&&(v(!0),ee(!1))},[de,E]),i.useEffect(()=>{ye==="In-Progress"&&$e==="Completed"&&(ce.current&&clearTimeout(ce.current),_(!1),v(!1),ee(!0),setTimeout(()=>{_(!0)},0),ce.current=setTimeout(()=>{_(!1),v(!0)},1e3))},[$e,ye]),i.useEffect(()=>{Te==="In-Progress"&&ue==="Completed"&&(ce.current&&clearTimeout(ce.current),ge(!0),j(!1),setTimeout(()=>{j(!0)},0),ce.current=setTimeout(()=>{j(!1),v(!1),ge(!1)},1e3))},[ue,Te]),i.useEffect(()=>{De==="In-Progress"&&Ne==="Completed"&&(ce.current&&clearTimeout(ce.current),ne(!1),v(!1),ee(!0),setTimeout(()=>{ne(!0)},0),ce.current=setTimeout(()=>{ne(!1),v(!0)},1e3))},[Ne,De]);const Oe=U?je.tapCardCopyText:je.scanNowAndAddToWallet,et=U?je.tapCardCopyText:o.jsxRuntimeExports.jsxs(wn,{children:[o.jsxRuntimeExports.jsx(Kn,{}),je.clickTheCardToFetchDetailsText]}),ke=n.chargeCard?.isLockedByAdmin??!1,Ke=J==="small"?je.tapCardCopyText:je.clickTheCardToCopyDetailsText,nt=J==="small"?je.tapCardCopyText:je.clickTheCardToFetchDetailsText,tt=p?Oe:Ke,rt=p?et:nt,Pe=te(w)||n.updateFetchState.fetchState==="In-Progress"||n.unlockChargeCardsFetchState.fetchState==="In-Progress",_e=(w.cvv!==!0||w.number!==!0)&&m,Ge=!!n.chargeCard?.type.code.includes("debit");return o.jsxRuntimeExports.jsxs(Pn,{windowSize:J,scaleFactor:I,children:[o.jsxRuntimeExports.jsxs(An,{isCardLocked:de,isChargeCardAdmin:e,isLockedByAdmin:ke,unlockFetchState:n.unlockChargeCardsFetchState.fetchState,onClick:xe=>{xe.stopPropagation(),de&&ue!=="In-Progress"&&(e||!ke)&&B(e)},onMouseEnter:()=>{(e||!ke)&&ue!=="In-Progress"&&oe(!0)},onMouseLeave:()=>{(e||!ke)&&ue!=="In-Progress"&&oe(!1)},children:[l&&p?o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsx(qn,{}),o.jsxRuntimeExports.jsx(Un,{}),o.jsxRuntimeExports.jsx(Yn,{}),o.jsxRuntimeExports.jsx(Dn,{})]}):null,o.jsxRuntimeExports.jsx(Mn,{play:q,animate:le,fadeOut:M,unlockInProgress:ue==="In-Progress"||M||Te==="In-Progress"&&ue==="Completed"}),G&&ie!=null?o.jsxRuntimeExports.jsx(o.LottiePlayer,{style:{width:56,height:56,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",zIndex:2},animationData:ie,loop:!1,play:G,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):O&&Fe!=null?o.jsxRuntimeExports.jsx(o.LottiePlayer,{style:{width:56,height:56,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",zIndex:2},animationData:Fe,loop:!1,play:O,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):q?E?o.jsxRuntimeExports.jsx(On,{}):ue==="In-Progress"?o.jsxRuntimeExports.jsx(Bn,{}):M||Te==="In-Progress"&&ue==="Completed"?null:o.jsxRuntimeExports.jsx(Fn,{isHovered:X&&de,children:o.jsxRuntimeExports.jsxs(Nn,{isHovered:X&&de,children:[o.jsxRuntimeExports.jsx(Xo,{}),o.jsxRuntimeExports.jsx(Hn,{isVisible:X&&de,shouldEnterLayout:se,children:je.moreOptions.unlock})]})}):ae&&z!=null?o.jsxRuntimeExports.jsx(o.LottiePlayer,{style:{width:72,height:72,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",zIndex:2},animationData:z,loop:!1,play:ae,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,re.includes("virtual")?o.jsxRuntimeExports.jsxs(In,{isShowingInDrawer:p,isOwnCard:m,scaleFactor:I,bgColor:H?.toString(),showColorPalette:F,isDebitCard:Ge,"data-testid":t.generateDataTestId("virtual-charge-card-detail"),onClick:()=>{F===!1&&m===!0&&te(w)===!1&&ue!=="In-Progress"&&de===!1&&we.triggerOtpFlowToShowCardSecretInfo({signedInUserToken:A,showSecretInfo:S,setShowPhoneNumberPopup:Y,onFireOnClickAnalytics:K,setShowSecretInfo:Z})},enableClick:_e&&!de&&!E||de&&ue!=="In-Progress",cardDetailsFetchState:Pe||n.chargeCard?.cardColorCode===void 0,children:[o.jsxRuntimeExports.jsx(ho,{scaleFactor:I,shouldAppear:Pe||n.chargeCard?.cardColorCode===void 0}),o.jsxRuntimeExports.jsx(qs,{leftTransitionValue:I*he.colorPaletteLeftTransitionValue,hasBorderShadow:!1,tickStyles:{width:"12px",height:"12px"},colorInState:n.chargeCard?.cardColorCode!=null?new o.Color(n.chargeCard.cardColorCode):void 0,styles:{height:"100%",maxWidth:"78%",top:p?"unset":t.Space.sp0,left:F?t.Space.sp0:`${I*he.colorPaletteLeftTransitionValue}px`},coloredCircleStyles:{width:t.Space.sp4,height:t.Space.sp4,margin:"unset"},colorPaletteTitleStyles:{padding:`${t.Space.sp5} ${t.Space.sp7} ${t.Space.sp3} ${t.Space.sp5}`},closeStyles:{width:t.Space.sp3,height:t.Space.sp3},ColorListStyles:{gap:t.Space.sp3},isColorPaletteVisible:F,toggleColorPaletteVisibility:xe=>{V(xe)},handleColorClick:(xe,Ae)=>{Q(xe,Ae),Ae&&V(!1)}}),o.jsxRuntimeExports.jsx(Zn,{scaleFactor:I}),o.jsxRuntimeExports.jsx(mo,{productInformation:a,cashbackInformation:c,creditAccountInformation:d,debitAccountInformation:h,secretRevealed:l,setSecretRevealed:T,onFireOnClickAnalytics:K,isCardColorUndefined:n.chargeCard?.cardColorCode==null,isCardColorUpdating:n.updateFetchState.fetchState==="In-Progress",isSandboxEnv:P,cardDetailsFetchState:w,setCardDetailsFetchState:N,isCardDetailErrored:y,setIsCardDetailErrored:D,chargeCard:n.chargeCard,vgsVaultId:u,showSecretInfo:S,creditAccountRepayment:b,token:A?.token,isDebitCard:Ge,depositAccountLimitFetchState:n.depositAccountLimitFetchState.fetchState,controllerEmails:C,isChargeCardFeatureEnabled:r,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:g,isChargeCardSetupEnabled:R,creditAccount:$,chargeCardCashbackDetailState:f,cardInfoTitleStyles:{...t.textStyles.extraSmallRegular.cssObject},styles:{gap:`${t.Space.sp3}`,paddingLeft:`${t.Space.sp4}`},cvvSecStyles:{minWidth:"39px",marginRight:`${t.Space.sp3}`},sourceId:p?"addToWalletDrawer":"cardDetail"}),o.jsxRuntimeExports.jsxs(go,{children:[o.jsxRuntimeExports.jsxs(_n,{children:[o.jsxRuntimeExports.jsx(So,{scaleFactor:I}),o.jsxRuntimeExports.jsx(kn,{onClick:xe=>{xe.stopPropagation(),m&&V(!F)},"data-testid":t.generateDataTestId("card-color-selector"),children:m?o.jsxRuntimeExports.jsx(t.Tooltip,{enterDelay:600,title:je.cardColours,placement:"left",children:o.jsxRuntimeExports.jsx(xo,{isShowingInDrawer:p})}):o.jsxRuntimeExports.jsx(xo,{isShowingInDrawer:p})})]}),o.jsxRuntimeExports.jsx(bn,{scaleFactor:I})]})]}):o.jsxRuntimeExports.jsxs(Xn,{scaleFactor:I,enableClick:_e&&!de&&!E||de&&ue!=="In-Progress",isOwnCard:m,isShowingInDrawer:p,onClick:()=>{m===!0&&de===!1&&ue!=="In-Progress"&&te(w)===!1&&we.triggerOtpFlowToShowCardSecretInfo({signedInUserToken:A,showSecretInfo:S,setShowPhoneNumberPopup:Y,onFireOnClickAnalytics:K,setShowSecretInfo:Z})},"data-testid":t.generateDataTestId("physical-charge-card-detail"),children:[o.jsxRuntimeExports.jsx(ho,{scaleFactor:I,shouldAppear:Pe}),o.jsxRuntimeExports.jsxs(Jn,{flipCard:l,children:[o.jsxRuntimeExports.jsx(Qn,{children:o.jsxRuntimeExports.jsx(t.PhysicalCardView,{scaleFactor:I,isClickable:_e,isLoading:Pe,isDebitCard:Ge})}),S?o.jsxRuntimeExports.jsxs(Vn,{isDebitCard:Ge,children:[o.jsxRuntimeExports.jsx(mo,{productInformation:a,cashbackInformation:c,creditAccountInformation:d,debitAccountInformation:h,secretRevealed:l,setSecretRevealed:T,onFireOnClickAnalytics:K,isCardColorUndefined:n.chargeCard?.cardColorCode==null,isCardColorUpdating:n.updateFetchState.fetchState==="In-Progress",isSandboxEnv:P,cardDetailsFetchState:w,setCardDetailsFetchState:N,isCardDetailErrored:y,setIsCardDetailErrored:D,chargeCard:n.chargeCard,vgsVaultId:u,showSecretInfo:S,token:A?.token,isDebitCard:Ge,depositAccountLimitFetchState:n.depositAccountLimitFetchState.fetchState,controllerEmails:C,isChargeCardFeatureEnabled:r,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:g,isChargeCardSetupEnabled:R,creditAccount:n.creditAccount,creditAccountRepayment:b,chargeCardCashbackDetailState:f,cardInfoTitleStyles:{...t.textStyles.extraSmallRegular.cssObject},styles:{gap:`${t.Space.sp3}`,paddingLeft:`${t.Space.sp4}`},cvvSecStyles:{minWidth:"39px",marginRight:`${t.Space.sp3}`},sourceId:p?"addToWalletDrawer":"cardDetail"}),o.jsxRuntimeExports.jsx(go,{children:o.jsxRuntimeExports.jsx(Gn,{children:o.jsxRuntimeExports.jsx(So,{scaleFactor:I})})})]}):null]})]})]}),E?o.jsxRuntimeExports.jsx($n,{children:je.cardClosedMessage}):ke&&!e?o.jsxRuntimeExports.jsx(vn,{children:je.cardLockedByAdminMessage}):de?o.jsxRuntimeExports.jsx(bt,{children:je.cardLockedMessage}):m===!0&&!Pe?w.cvv===!0&&w.number===!0?o.jsxRuntimeExports.jsx(Wn,{children:jn.loading}):y?o.jsxRuntimeExports.jsx(Rn,{}):o.jsxRuntimeExports.jsx(bt,{children:l?tt:rt}):Pe?o.jsxRuntimeExports.jsx(bt,{children:je.loading}):null]})},$n=s(t.SmallRegular)`
192
- color: ${t.Colors.important};
193
- `,vn=s(t.SmallRegular)`
194
- color: ${e=>e.theme.colors.primary};
195
- `,Rn=()=>o.jsxRuntimeExports.jsxs(Tn,{children:[o.jsxRuntimeExports.jsx(En,{}),o.jsxRuntimeExports.jsx(Ln,{children:je.failedToFetchCardWebText})]}),wn=s.div`
196
- display: flex;
197
- align-items: center;
198
- gap: ${t.Space.sp2};
199
- `,bn=s(t.SvgVisa)`
200
- width: ${e=>e.scaleFactor*he.visaLogoWidth}px;
201
- height: ${e=>e.scaleFactor*he.visaLogoHeight}px;
202
- `,En=s(t.SvgAlertRound)`
203
- width: ${t.Space.sp3};
204
- height: ${t.Space.sp3};
205
- color: ${t.Colors.alert};
206
- `,Ln=s(t.SmallRegular)`
207
- color: ${t.Colors.alert};
208
- `,Tn=s.div`
209
- display: flex;
210
- align-items: center;
211
- gap: ${t.Space.sp1};
212
- `,kn=s.div`
213
- border-radius: 50%;
214
- display: flex;
215
- justify-content: center;
216
- align-items: center;
217
- `,xo=s.div`
218
- // These are weird number because final requirement is 9 and 12px circle.
219
- width: ${e=>e.isShowingInDrawer?7:10}px;
220
- height: ${e=>e.isShowingInDrawer?7:10}px;
221
- border: 1px solid ${t.Colors.backgroundThemeLight};
222
- border-radius: 50%;
223
- `,Pn=s.div`
224
- min-height: ${e=>`calc(${e.scaleFactor*he.rightSectionHeight}px + ${t.Space.sp2})`};
225
- min-width: ${e=>`calc(${e.scaleFactor*he.rightSectionWidth}px + ${t.Space.sp2})`};
226
- display: flex;
227
- justify-content: center;
228
- align-items: center;
229
- flex-direction: column;
230
- gap: ${e=>he.cardContainerContentGap.valuePx(e.windowSize)};
231
- `,bt=s(t.SmallRegular)`
232
- color: ${e=>e.theme.colors.primary};
233
- `,zn=me.keyframes`
234
- 0% {
235
- transform: translateX(-100%);
236
- }
237
- 100% {
238
- transform: translateX(180%);
239
- }
240
- `,An=s.div`
241
- position: relative;
242
- overflow: hidden;
243
- border-radius: ${t.Space.sp2};
244
- cursor: ${e=>e.isCardLocked&&e.unlockFetchState!=="In-Progress"&&(e.isChargeCardAdmin||!e.isLockedByAdmin)?"pointer":"default"};
245
- `,Mn=s.div`
246
- position: absolute;
247
- top: 50%;
248
- left: 50%;
249
- width: ${e=>e.play?"544px":"0"};
250
- height: ${e=>e.play?"544px":"0"};
251
- background: ${e=>e.unlockInProgress||e.fadeOut?"transparent":t.Colors.overlayDark};
252
- border-radius: 328px;
253
- pointer-events: none;
254
- z-index: 1;
255
- transform: translate(-50%, -50%);
256
- opacity: ${e=>e.fadeOut?0:e.play?1:0};
257
- transition:
258
- width 300ms ease-out,
259
- height 300ms ease-out,
260
- opacity 300ms ease-out,
261
- background 300ms ease-out;
262
- `,ho=s.div`
263
- z-index: 1;
264
- display: ${e=>e.shouldAppear?"block":"none"};
265
- content: "";
266
- width: ${e=>e.scaleFactor*he.cardLoadingShineWidth}px;
267
- height: ${e=>e.scaleFactor*he.cardLoadingShineHeight}px;
268
- position: absolute;
269
- transform: translateX(-180%);
270
- animation: ${zn} 1.5s infinite;
271
- background: ${me.css`linear-gradient(to right, transparent 0%, ${t.Colors.backgroundThemeLight} 50%, transparent 100%)`};
272
- `,go=s.div`
273
- display: flex;
274
- flex-direction: column;
275
- justify-content: space-between;
276
- align-items: center;
277
- width: 25%;
278
- padding: ${t.Space.sp4} ${t.Space.sp0};
279
- `,In=s.div`
280
- background: ${e=>e.cardDetailsFetchState?t.Colors.chargeCardFaded:e.bgColor??(e.isDebitCard?e.theme.colors.graphColor15:e.theme.colors.brandColorJade)};
281
- border-radius: ${t.Space.sp2};
282
- width: ${e=>e.scaleFactor*he.chargeCardWidth}px;
283
- height: ${e=>e.scaleFactor*he.chargeCardHeight}px;
284
- background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/PlasticCardPatternSmall.svg);
285
- background-repeat: no-repeat;
286
- background-position-y: bottom;
287
- cursor: ${e=>e.enableClick?"pointer":"not-allowed"};
288
- display: flex;
289
- flex-direction: row;
290
- position: relative;
291
- overflow: hidden;
292
- justify-content: space-between;
293
-
294
- ${e=>e.showColorPalette&&`box-shadow: ${t.Space.sp0} ${t.Space.sp0} ${t.Space.sp2} ${t.Space.sp1} ${e.theme.colors.dropShadowNormal};
295
- `}
296
-
297
- &:hover {
298
- ${e=>e.isOwnCard&&!e.isShowingInDrawer?me.css`
299
- box-shadow: 1px 3px ${t.Space.sp4} 2px
300
- ${e.theme.colors.chargeCardBackgroundShadow};
301
- transform: scale(1.003);
302
- outline: ${t.Space.sp1} solid ${t.Colors.neutralGrey5Light};
303
- `:null};
304
- }
305
-
306
- &:hover:before {
307
- ${e=>e.isOwnCard&&!e.isShowingInDrawer?me.css`
308
- box-shadow: ${t.Space.sp0} ${t.Space.sp0} ${t.Space.sp2} ${t.Space.sp1}
309
- ${e.theme.colors.dropShadowNormal};
310
- content: "";
311
- position: absolute;
312
- inset: 0;
313
- border-radius: 7px;
314
- padding: ${t.Space.sp1};
315
- -webkit-mask-composite: xor;
316
- mask-composite: exclude;
317
- pointer-events: none;
318
- `:null};
319
- }
320
- `,Wn=s(t.SmallRegular)`
321
- color: ${e=>e.theme.colors.primary};
322
- text-transform: capitalize;
323
- `,So=s(t.SvgZeniIconOnly)`
324
- height: ${e=>e.scaleFactor*he.zeniLogoHeight}px;
325
- width: ${e=>e.scaleFactor*he.zeniLogoWidth}px;
326
- color: ${t.Colors.neutralGrey5Light};
327
- `,Xo=s(t.SvgLock)`
328
- width: ${t.Space.sp5};
329
- height: ${t.Space.sp5};
330
- min-width: ${t.Space.sp5};
331
- min-height: ${t.Space.sp5};
332
- box-sizing: content-box;
333
- color: ${t.Colors.neutralGrey5Light};
334
- `,Bn=s(Xo)`
335
- position: absolute;
336
- top: 50%;
337
- left: 50%;
338
- transform: translate(-50%, -50%);
339
- z-index: 2;
340
- padding: ${t.Space.sp3};
341
- border-radius: ${t.Space.sp11};
342
- background: ${t.Colors.lockCardOverlayBackground};
343
- `,Hn=s(t.LargeRegular)`
344
- color: ${t.Colors.neutralGrey5Light};
345
- white-space: nowrap;
346
- opacity: ${e=>e.isVisible?1:0};
347
- transform: ${e=>e.isVisible?"scaleX(1)":"scaleX(0)"};
348
- transform-origin: left;
349
- position: static;
350
- flex: ${e=>e.shouldEnterLayout?"0 0 auto":"0 0 0"};
351
- min-width: 0;
352
- max-width: ${e=>e.shouldEnterLayout?t.Space.sp12:t.Space.sp0};
353
- width: ${e=>e.shouldEnterLayout?"auto":t.Space.sp0};
354
- margin: 0;
355
- margin-left: ${e=>e.shouldEnterLayout?t.Space.sp1:t.Space.sp0};
356
- padding: 0;
357
- overflow: hidden;
358
- transition:
359
- opacity 400ms cubic-bezier(0.4, 0, 0.2, 1) 400ms,
360
- transform 400ms cubic-bezier(0.4, 0, 0.2, 1) 400ms,
361
- flex 400ms cubic-bezier(0.4, 0, 0.2, 1),
362
- max-width 400ms cubic-bezier(0.4, 0, 0.2, 1),
363
- margin-left 400ms cubic-bezier(0.4, 0, 0.2, 1);
364
- `,Nn=s.div`
365
- display: flex;
366
- align-items: center;
367
- gap: 0;
368
- position: relative;
369
- `,Fn=s.div`
370
- display: flex;
371
- align-items: center;
372
- justify-content: center;
373
- padding: ${t.Space.sp3};
374
- padding-right: 20px;
375
- border-radius: ${t.Space.sp11};
376
- background: ${e=>e.isHovered?t.Colors.lockCardOverlayBackground:"transparent"};
377
- position: absolute;
378
- top: 50%;
379
- left: 50%;
380
- transform: translate(-50%, -50%);
381
- z-index: 2;
382
- transition: background 400ms ease-in-out;
383
- pointer-events: none;
384
- `,On=s(Ws.SvgCloseCard)`
385
- position: absolute;
386
- top: 50%;
387
- left: 50%;
388
- transform: translate(-50%, -50%);
389
- z-index: 2;
390
- width: ${t.Space.sp5};
391
- height: ${t.Space.sp5};
392
- color: ${t.Colors.important};
393
- background: ${t.Colors.importantLight};
394
- padding: 12px;
395
- border-radius: 50%;
396
- `,_n=s.div`
397
- display: flex;
398
- flex-direction: column;
399
- gap: 35px;
400
- `,Gn=s.div`
401
- display: flex;
402
- flex-direction: column;
403
- gap: ${t.Space.sp4};
404
- `,Zn=s(t.SvgCardTint)`
405
- position: absolute;
406
- width: ${e=>e.scaleFactor*he.cardTintIconWidth}px;
407
- height: ${e=>e.scaleFactor*he.cardTintIconHeight}px;
408
- top: -1px;
409
- `,qn=s(Ye.SvgCornerBorderTopRight)`
410
- height: 36px;
411
- width: 36px;
412
- position: absolute;
413
- right: -${t.Space.sp3};
414
- top: -${t.Space.sp3};
415
- `,Un=s(Ye.SvgCornerBorderTopLeft)`
416
- height: 36px;
417
- width: 36px;
418
- position: absolute;
419
- left: -${t.Space.sp3};
420
- top: -${t.Space.sp3};
421
- `,Yn=s(Ye.SvgCornerBorderBottomRight)`
422
- height: 36px;
423
- width: 36px;
424
- position: absolute;
425
- right: -${t.Space.sp3};
426
- bottom: -${t.Space.sp3};
427
- `,Dn=s(Ye.SvgCornerBorderBottomLeft)`
428
- height: 36px;
429
- width: 36px;
430
- position: absolute;
431
- left: -${t.Space.sp3};
432
- bottom: -${t.Space.sp3};
433
- `,Kn=s(t.SvgArrowTailTop)`
434
- color: ${e=>e.theme.colors.hero};
435
- width: ${t.Space.sp3};
436
- height: ${t.Space.sp3};
437
- `,Xn=s.div`
438
- cursor: ${e=>e.enableClick?"pointer":"not-allowed"};
439
- width: ${e=>e.scaleFactor*he.chargeCardWidth}px;
440
- height: ${e=>e.scaleFactor*he.chargeCardHeight}px;
441
- overflow: hidden;
442
- position: relative;
443
- border-radius: ${t.Space.sp2};
444
-
445
- &:hover {
446
- ${e=>e.isOwnCard&&!e.isShowingInDrawer&&e.enableClick?me.css`
447
- box-shadow: 1px 3px ${t.Space.sp4} 2px
448
- ${e.theme.colors.chargeCardBackgroundShadow};
449
- transform: scale(1.003);
450
- outline: ${t.Space.sp1} solid ${t.Colors.neutralGrey5Light};
451
- `:null};
452
- }
453
-
454
- &:hover:before {
455
- ${e=>e.isOwnCard&&!e.isShowingInDrawer&&e.enableClick?me.css`
456
- box-shadow: ${t.Space.sp0} ${t.Space.sp0} ${t.Space.sp2} ${t.Space.sp1}
457
- ${e.theme.colors.dropShadowNormal};
458
- content: "";
459
- position: absolute;
460
- inset: 0;
461
- border-radius: 7px;
462
- padding: ${t.Space.sp1};
463
- -webkit-mask-composite: xor;
464
- mask-composite: exclude;
465
- pointer-events: none;
466
- `:null};
467
- }
468
- `,Jn=s.div`
469
- position: relative;
470
- width: 100%;
471
- height: 100%;
472
- transition: transform 0.8s;
473
- transform-style: preserve-3d;
474
- transform: ${e=>e.flipCard?"rotateY(180deg)":"rotateY(0deg)"};
475
- `,Qn=s.div`
476
- position: absolute;
477
- width: 100%;
478
- height: 100%;
479
- -webkit-backface-visibility: hidden; /* Safari */
480
- backface-visibility: hidden;
481
- `,Vn=s.div`
482
- position: absolute;
483
- background: ${e=>e.isDebitCard?e.theme.colors.brandColorJadeDark:e.theme.colors.brandColorJade};
484
- width: inherit;
485
- height: inherit;
486
- border-radius: 6px;
487
- display: flex;
488
- transition-timing-function: ease-in-out;
489
- -webkit-backface-visibility: hidden;
490
- backface-visibility: hidden;
491
- background-image: url("https://storage.googleapis.com/zeni-apis.appspot.com/images/plastic-card-pattern-right-small.svg");
492
- border-radius: ${t.Space.sp2};
493
- display: flex;
494
- justify-content: center;
495
- align-items: flex-start;
496
- background-repeat: no-repeat;
497
- background-position-x: right;
498
- background-position-y: bottom;
499
- transform: rotateY(180deg);
500
- `,fe={contentContainerPadding:new t.ResponsiveSized(t.sp[3],t.sp[4],t.sp[8],t.sp[8]),bottomContentContainerPadding:new t.ResponsiveSized(t.sp[3],t.sp[8]),rightSectionWidth:new t.ResponsiveSized(343,343,343,384),rightSectionHeight:new t.ResponsiveSized(214,214,214,240),cardContainerContentGap:new t.ResponsiveSized(t.sp[2],t.sp[2],t.sp[2],t.sp[3]),ownerAddressGap:new t.ResponsiveSized(t.sp[3],t.sp[5],t.sp[5],t.sp[7]),remainingAmountContainerGap:new t.ResponsiveSized(t.sp[1],t.sp[1]),leftRightSectionGap:new t.ResponsiveSized(t.sp[0],54,54,57),styledThunderIconContainerSize:new t.ResponsiveSized(t.sp[3],t.sp[4]),emailTooltipIconContainerMarginLeft:new t.ResponsiveSized(t.sp[1],t.sp[0]),cardBalanceSectionMarginBottom:new t.ResponsiveSized(t.sp[4],t.sp[4]),barRadius:new t.ResponsiveSized(2,t.sp[2]),topSectionPaddingBottom:new t.ResponsiveSized(t.sp[4],19),rightSectionGap:new t.ResponsiveSized(t.sp[4],t.sp[3]),addressSectionHeight:new t.ResponsiveSized(109,74),addressSectionGap:new t.ResponsiveSized(t.sp[2],t.sp[4]),navigationMarginBottom:new t.ResponsiveSized(t.sp[4],t.sp[0]),addressValueGap:new t.ResponsiveSized(t.sp[0],t.sp[1]),ownerWebMinWidth:new t.ResponsiveSized(110,187)},zt={remainingAmount:new t.ResponsiveSizedStyle("largeRegular","largeMedium"),spentAmount:new t.ResponsiveSizedStyle("h5Regular","h5Regular")},{common:Be,dateFormat:ot,spendManagement:er}=t.appLocale.getLocalizedStrings(),He=er.chargeCard,tr=({chargeCardDetailView:e,spent:n,controllerEmails:a,chargeCardCashbackDetailState:c,isChargeCardFeatureEnabled:d,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:l,isChargeCardSetupEnabled:m,creditAccount:u,creditAccountRepayment:S,productInformation:C,cashbackInformation:r,creditAccountInformation:x,debitAccountInformation:g,cardIssuedByRoles:R,cardIssuedByDepartmentName:f,cardHolderRoles:$,cardHolderDepartmentName:b,classListFetchState:p,cardOwnerName:P,secretRevealed:y,appleWalletLink:A,googleWalletLink:H,isCardNotPending:w,isOwnerNameCopied:N,isAddressCopied:D,addressToShow:Z,isOwnCard:T,vgsVaultId:Y,showSecretInfo:te,isSandboxEnv:Q,isCardDetailErrored:K,signedInUserToken:B,selectedColor:F,showUpdateSpendLimitAction:V,setShowPhoneNumberPopup:X,setShowChangeSpendLimitPopup:oe,cardDetailsFetchState:se,setCardDetailsFetchState:k,setIsCardDetailErrored:ae,setShowSecretInfo:_,setSecretRevealed:G,isCardDetailFetching:j,handleColorCodeClick:O,onFireOnClickAnalytics:ne,onOwnerNameCopyClick:q,onAddressCopyClick:v,onUnlockChargeCard:le,isDebitCard:ee})=>{const M=t.useWindowSizeContext(),ce=t.useToolkitContext().analytics,re=e.chargeCardConfig.rePaymentInfo?.cardLimitResetDate!=null?e.chargeCardConfig.rePaymentInfo.cardLimitResetDate.format(ot.visual.MMMDFormat):Qe.dateNow().startOf("month").add(1,"month").format(ot.visual.MMMDFormat),U=e.chargeCard!=null?Math.round(n.amount*100/e.chargeCard.limit.amount):0,{isIPhoneScreen:J}=t.useIPhoneDeviceDetect(),I=e.chargeCard?.type.code==="business_physical_credit_card"&&(e.chargeCard?.status.code==="inactive"||e.chargeCard?.status.code==="request_on_hold"),$e=t.useGlobalInfoContext(),ye=Qe.hasChargeCardAdminLevelAccess($e?.loggedInUserRoleMap);return o.jsxRuntimeExports.jsxs(Sr,{windowSize:M,children:[o.jsxRuntimeExports.jsxs(gr,{windowSize:M,children:[o.jsxRuntimeExports.jsxs(Cr,{windowSize:M,children:[o.jsxRuntimeExports.jsx(ir,{children:Be.texts.spent}),o.jsxRuntimeExports.jsx(jo,{children:o.jsxRuntimeExports.jsx(fr,{windowSize:M,children:t.amountToString("0,0.[00]",n)})}),o.jsxRuntimeExports.jsx(Er,{windowSize:M,children:o.jsxRuntimeExports.jsx(Tr,{style:{width:`${U}%`,borderRadius:t.Space.sp1}})}),e.chargeCard!=null?o.jsxRuntimeExports.jsxs(jo,{children:[o.jsxRuntimeExports.jsxs(Lr,{children:[o.jsxRuntimeExports.jsxs(nr,{windowSize:M,children:[o.jsxRuntimeExports.jsx($o,{windowSize:M,children:t.amountToString("0,0.[00]",e.chargeCard.available)}),o.jsxRuntimeExports.jsx(vo,{windowSize:M,children:Be.texts.remaining})]}),V?o.jsxRuntimeExports.jsxs(jr,{windowSize:M,children:[o.jsxRuntimeExports.jsx($r,{children:He.updateSpendLimitPopup.unlockSpending}),o.jsxRuntimeExports.jsx(vr,{onClick:()=>{sr({chargeCardDetailView:e,classListFetchState:p,isChargeCardFeatureEnabled:d,creditAccount:u,creditAccountRepayment:S,isDebitCard:ee,productInformation:C,creditAccountInformation:x,debitAccountInformation:g,controllerEmails:a,cardIssuedByRoles:R,cardIssuedByDepartmentName:f,cardHolderRoles:$,cardHolderDepartmentName:b,analytics:ce}),oe(!0)},"data-testid":t.generateDataTestId("update-spend-limit-button"),children:He.updateSpendLimitPopup.updateSpendLimit})]}):null]}),o.jsxRuntimeExports.jsxs(yr,{windowSize:M,children:[o.jsxRuntimeExports.jsxs(ar,{children:[o.jsxRuntimeExports.jsx($o,{windowSize:M,children:t.amountToString("0,0.[00]",e.chargeCard.limit)}),o.jsxRuntimeExports.jsx(vo,{windowSize:M,children:He.cardList.slashMonth})]}),e.chargeCard.status.code!=="request_on_hold"?o.jsxRuntimeExports.jsxs(Rr,{children:[o.jsxRuntimeExports.jsx(wr,{children:Be.texts.limitReset}),o.jsxRuntimeExports.jsx(br,{children:re})]}):null]})]}):null]}),o.jsxRuntimeExports.jsx(or,{chargeCardDetailView:e,classListFetchState:p,cardOwnerName:P,addressToShow:Z,isAddressCopied:D,isOwnerNameCopied:N,onOwnerNameCopyClick:q,onAddressCopyClick:v})]}),o.jsxRuntimeExports.jsx(xr,{windowSize:M,isOwnCard:T,children:M==="small"&&!T?null:o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsx(hr,{windowSize:M,children:I?o.jsxRuntimeExports.jsx(t.PhysicalCardView,{}):o.jsxRuntimeExports.jsx(Ko,{isChargeCardAdmin:ye,chargeCardDetailView:e,productInformation:C,cashbackInformation:r,creditAccountInformation:x,debitAccountInformation:g,creditAccount:e.creditAccount,setShowSecretInfo:_,secretRevealed:y,isOwnCard:T,isShowingInDrawer:!1,vgsVaultId:Y,showSecretInfo:te,isSandboxEnv:Q,controllerEmails:a,isChargeCardFeatureEnabled:d,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:l,isChargeCardSetupEnabled:m,chargeCardCashbackDetailState:c,isCardDetailErrored:K,signedInUserToken:B,selectedColor:F,cardDetailsFetchState:se,setCardDetailsFetchState:k,setIsCardDetailErrored:ae,setSecretRevealed:G,isCardDetailFetching:j,handleColorCodeClick:O,onFireOnClickAnalytics:ne,setShowPhoneNumberForOtp:X,onUnlockChargeCard:le,creditAccountRepayment:S})}),!T&&e.chargeCard?.status.code!=="closed"&&e.chargeCard?.status.code!=="closed_by_customer"&&e.chargeCard?.status.code!=="locked"?o.jsxRuntimeExports.jsx(rr,{children:He.cardDetails.adminsCannotAccess}):null,M==="small"&&T&&w&&ee===!1?J?o.jsxRuntimeExports.jsx(Pt,{onClick:()=>{we.fireCardsAddToWalletClick({chargeCardDetailView:e,classListFetchState:p,analytics:ce,isDebitCard:ee,isChargeCardAdmin:ye,productInformation:C,creditAccountInformation:x,debitAccountInformation:g,cardIssuedByRoles:R,cardIssuedByDepartmentName:f,cardHolderRoles:$,cardHolderDepartmentName:b,controllerEmails:a,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:d,creditAccount:u,creditAccountRepayment:S}),window.open(A,"_blank")}}):o.jsxRuntimeExports.jsx(kt,{onClick:()=>{we.fireCardsAddToWalletClick({chargeCardDetailView:e,classListFetchState:p,analytics:ce,isDebitCard:ee,isChargeCardAdmin:ye,productInformation:C,creditAccountInformation:x,debitAccountInformation:g,cardIssuedByRoles:R,cardIssuedByDepartmentName:f,cardHolderRoles:$,cardHolderDepartmentName:b,controllerEmails:a,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:d,creditAccount:u,creditAccountRepayment:S}),window.open(H,"_blank")}}):null]})})]})},or=({chargeCardDetailView:e,classListFetchState:n,cardOwnerName:a,addressToShow:c,isOwnerNameCopied:d,isAddressCopied:h,onOwnerNameCopyClick:l,onAddressCopyClick:m})=>{const u=t.useWindowSizeContext(),S=o.useTheme(),[C,r]=i.useState(0),[x,g]=i.useState(!0),[R,f]=i.useState(!1),[$,b]=i.useState(!1),[p,P]=i.useState(!1);i.useEffect(()=>{const A=[setTimeout(()=>{r(1)},500),setTimeout(()=>{r(0),P(!0)},1e3),setTimeout(()=>{g(!1),P(!1)},2e3),setTimeout(()=>{g(!0),r(1)},2500),setTimeout(()=>{r(0),P(!0)},3e3),setTimeout(()=>{g(!1),P(!1)},4e3)];return()=>{A.forEach(clearTimeout)}},[]);const y=`${e.connectedAccount?.accountName} ${e.connectedAccount?.maskedAccountNumber}`;return o.jsxRuntimeExports.jsxs(lr,{children:[o.jsxRuntimeExports.jsxs(cr,{windowSize:u,children:[o.jsxRuntimeExports.jsxs(dr,{shouldBounce:p,isActive:C==0,isAutoSlide:x,windowSize:u,children:[e.chargeCard?.cardHolderUser!=null?o.jsxRuntimeExports.jsxs(Co,{windowSize:u,onClick:l,"data-testid":t.generateDataTestId("owner-name-copy-click"),onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),children:[o.jsxRuntimeExports.jsxs(pt,{children:[He.cardDetails.owner,o.jsxRuntimeExports.jsxs(Lo,{children:[o.jsxRuntimeExports.jsx(Ro,{children:d===!0?o.jsxRuntimeExports.jsx(Eo,{}):o.jsxRuntimeExports.jsx(bo,{isHover:R})}),d||R?o.jsxRuntimeExports.jsx(wo,{children:d?Be.copyToClipBoard.copied:Be.copyToClipBoard.copy}):null]})]}),o.jsxRuntimeExports.jsx(fo,{children:o.jsxRuntimeExports.jsx(Et,{children:a})})]}):null,c!=null?o.jsxRuntimeExports.jsxs(yo,{windowSize:u,onClick:m,"data-testid":t.generateDataTestId("address-copy-click"),onMouseEnter:()=>b(!0),onMouseLeave:()=>b(!1),children:[o.jsxRuntimeExports.jsxs(pt,{children:[He.cardDetails.address,o.jsxRuntimeExports.jsxs(Lo,{children:[o.jsxRuntimeExports.jsx(Ro,{children:h===!0?o.jsxRuntimeExports.jsx(Eo,{}):o.jsxRuntimeExports.jsx(bo,{isHover:$})}),h||$?o.jsxRuntimeExports.jsx(wo,{children:h?Be.copyToClipBoard.copied:Be.copyToClipBoard.copy}):null]})]}),o.jsxRuntimeExports.jsx(mr,{windowSize:u,children:o.jsxRuntimeExports.jsx(t.AddressValue,{address:c,isDisabled:"readonly",style:{padding:t.Space.sp0,...t.textStyles.smallRegular.cssObject,textTransform:"capitalize",alignItems:"flex-start",backgroundColor:S.colors.grey4,cursor:"pointer",flexDirection:u==="small"?"column":"row",gap:fe.addressValueGap.valuePx(u),textAlign:u==="small"?"left":"right"}})})]}):null]}),o.jsxRuntimeExports.jsxs(pr,{isActive:C==1,isAutoSlide:x,children:[e.chargeCard?.type.code.includes("debit")===!0?o.jsxRuntimeExports.jsxs(Co,{windowSize:u,children:[o.jsxRuntimeExports.jsx(pt,{children:He.connectedAccount}),o.jsxRuntimeExports.jsxs(ur,{children:[o.jsxRuntimeExports.jsx(kr,{children:o.jsxRuntimeExports.jsx(Pr,{})}),o.jsxRuntimeExports.jsx(Et,{children:y})]})]}):null,o.jsxRuntimeExports.jsxs(yo,{windowSize:u,children:[o.jsxRuntimeExports.jsx(pt,{children:He.department}),o.jsxRuntimeExports.jsx(fo,{children:o.jsxRuntimeExports.jsx(Et,{children:n==="In-Progress"||n==="Not-Started"?o.jsxRuntimeExports.jsx(t.ActivityIndicator,{size:"Small",start:!0}):e.chargeCard?.department?.className??Be.strings.hyphen})})]})]})]}),o.jsxRuntimeExports.jsx(Is.NavigationDots,{numberOfDots:2,activeIndex:C,handleClick:r,style:{marginTop:"12px",marginBottom:fe.navigationMarginBottom.valuePx(u)},dotStyle:{width:t.Space.sp2,height:t.Space.sp2},spendManagementPromoCardActive:!0,promoColor:S.colors.primary,promoColorHover:S.colors.grey1})]})},sr=({chargeCardDetailView:e,classListFetchState:n,isChargeCardFeatureEnabled:a,creditAccount:c,creditAccountRepayment:d,isDebitCard:h,controllerEmails:l,productInformation:m,creditAccountInformation:u,debitAccountInformation:S,cardIssuedByRoles:C,cardIssuedByDepartmentName:r,cardHolderRoles:x,cardHolderDepartmentName:g,analytics:R})=>{if(e.chargeCard!=null&&n==="Completed"&&e.transactionStatistics.fetchState==="Completed"&&(!a||c.fetchState==="Completed"&&d.fetchState==="Completed")&&(!h||e.depositAccountLimitFetchState.fetchState==="Completed")){const f=e.chargeCard.type.code.includes("physical")?e.chargeCard.cardActivationAttemptHistory[0]?.timestamp:e.chargeCard.createTime;R.trackCardsUpdateSpendLimitInitiated(l,m,{cardId:e.chargeCard.id,cardName:e.chargeCard.cardName,cardType:we.getCardTypeForAnalytics(e.chargeCard.type.code),cardCategory:e.chargeCard.type.code.includes("physical")?"physical":"virtual",cardLimit:t.roundAmountIfNeeded(e.chargeCard.limit.amount),cardLastFourDigits:e.chargeCard.accountLast4,cardStatus:e.chargeCard.status.code,cardAssignedDate:e.chargeCard.createTime?.format(ot.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:e.chargeCard.providerCardCreateTime?.format(ot.analytics.MMMDashDDDashYYYYFormat),cardActivatedDate:f?.format(ot.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:e.chargeCard.creditLimitFrequency.name,cardSpentAmount:t.roundAmountIfNeeded(e.chargeCard.balance.amount),cardAvailableLimit:t.roundAmountIfNeeded(e.chargeCard.available.amount),cardUtilizationPercent:we.calculateCardUtilizationPercent(e.chargeCard.limit.amount,e.chargeCard.available.amount),cardUtilizationAmount:t.roundAmountIfNeeded(we.getCardUtilizedAmount(e.chargeCard)),totalNumberOfDeclinedTransactions:e.transactionStatistics.statistics.totalNumberOfDeclinedTransactions,numberOfDeclinedTransactionsCurrentMonth:e.transactionStatistics.statistics.numberOfDeclinedTransactionsCurrentMonth,totalNumberOfPaidTransactions:e.transactionStatistics.statistics.totalNumberOfPaidTransactions,numberOfPaidTransactionsCurrentMonth:e.transactionStatistics.statistics.numberOfPaidTransactionsCurrentMonth,totalNumberOfCanceledTransactions:e.transactionStatistics.statistics.totalNumberOfCanceledTransactions,numberOfCanceledTransactionsCurrentMonth:e.transactionStatistics.statistics.numberOfCanceledTransactionsCurrentMonth,totalNumberOfAuthorizedTransactions:e.transactionStatistics.statistics.totalNumberOfAuthorizedTransactions,numberOfAuthorizedTransactionsCurrentMonth:e.transactionStatistics.statistics.numberOfAuthorizedTransactionsCurrentMonth,totalNumberOfTransactionsWithReceipts:e.transactionStatistics.statistics.totalNumberOfTransactionsWithReceipts,numberOfTransactionsWithReceiptsCurrentMonth:e.transactionStatistics.statistics.numberOfTransactionsWithReceiptsCurrentMonth},{cardIssuedByName:t.getFullName(e.chargeCard.cardCreatedByUser,!1),cardIssuedByEmail:e.chargeCard.cardCreatedByUser?.email,cardIssuedByUserId:e.chargeCard.cardCreatedByUser?.userId,cardIssuedByRole:C,cardIssuedByDepartment:r},{cardholderName:t.getFullName(e.chargeCard.cardHolderUser,!1),cardholderEmail:e.chargeCard.cardHolderUser?.email,cardholderRole:x,cardholderUserId:e.chargeCard.cardHolderUser?.userId,cardholderDepartment:g},"Card Detail","Hyperlink",(e?.chargeCard?.recommendations??[]).map($=>t.roundAmountIfNeeded($.creditLimit.amount)),u,S)}},nr=s.div`
501
- display: flex;
502
- align-items: ${e=>e.windowSize==="medium-compact"||e.windowSize==="medium-regular"?"flex-start":"center"};
503
- gap: ${e=>fe.remainingAmountContainerGap.valuePx(e.windowSize)};
504
- flex-direction: ${e=>e.windowSize==="medium-compact"||e.windowSize==="medium-regular"?"column":"row"};
505
- `,rr=s(t.SmallRegular)`
506
- color: ${e=>e.theme.colors.primary};
507
- `,ir=s(t.SmallRegular)`
508
- color: ${e=>e.theme.colors.hero};
509
- `,ar=s.div`
510
- display: flex;
511
- align-items: end;
512
- `,lr=s.div`
513
- width: 100%;
514
- overflow: hidden;
515
- `,cr=s.div`
516
- width: 100%;
517
- gap: ${t.Space.sp3};
518
- background-color: ${e=>e.theme.colors.grey4};
519
- border: 1px solid ${e=>e.theme.colors.background};
520
- border-radius: ${t.Space.sp2};
521
- padding: ${t.Space.sp3};
522
- box-sizing: border-box;
523
- position: relative;
524
- height: ${e=>fe.addressSectionHeight.valuePx(e.windowSize)};
525
- `,dr=s.div`
526
- display: flex;
527
- justify-content: unset;
528
- gap: ${e=>fe.addressSectionGap.valuePx(e.windowSize)};
529
- position: absolute;
530
- width: 100%;
531
- ${({isActive:e,isAutoSlide:n})=>me.css`
532
- transform: translateX(${e?"0%":n?"-10%":"-105%"});
533
- `};
534
- transition: transform
535
- ${({isAutoSlide:e,shouldBounce:n})=>`${e?"0.5s":"0.3s"} ${n?"cubic-bezier(0.175, 0.885, 0.32, 1.125)":"ease-out"}`};
536
- `,pr=s.div`
537
- display: flex;
538
- justify-content: unset;
539
- ${({isActive:e,isAutoSlide:n})=>me.css`
540
- transform: translateX(${e?n?"95%":"0%":"105%"});
541
- `};
542
- transition: transform
543
- ${({isAutoSlide:e,isActive:n})=>e&&n?"0.5s":"0.3s"}
544
- ease-out;
545
- gap: ${t.Space.sp8};
546
- `,Co=s.div`
547
- min-width: ${e=>fe.ownerWebMinWidth.valuePx(e.windowSize)};
548
- cursor: pointer;
549
- `,pt=s(t.SmallRegular)`
550
- color: ${e=>e.theme.colors.hero};
551
- display: flex;
552
- align-items: center;
553
- `,fo=s.div``,ur=s.div`
554
- display: flex;
555
- align-items: flex-start;
556
- gap: ${t.Space.sp1};
557
- `,mr=s.div`
558
- ${({windowSize:e})=>e==="small"?me.css`
559
- max-width: 220px;
560
- `:null};
561
- `,Et=s(t.SmallRegular)`
562
- color: ${e=>e.theme.colors.primary};
563
- text-transform: capitalize;
564
- `,yo=s.div`
565
- display: flex;
566
- flex-direction: column;
567
- align-items: "baseline";
568
- justify-content: center;
569
- cursor: pointer;
570
- `,xr=s.div`
571
- display: flex;
572
- flex-direction: ${e=>e.windowSize==="small"||!e.isOwnCard?"column":"row"};
573
- justify-content: center;
574
- align-items: center;
575
- gap: ${e=>fe.rightSectionGap.valuePx(e.windowSize)};
576
- width: ${e=>e.windowSize==="small"?"100%":"max-content"};
577
- `,hr=s.div`
578
- min-height: ${e=>`calc(${fe.rightSectionHeight.valuePx(e.windowSize)} + ${t.Space.sp2})`};
579
- min-width: ${e=>`calc(${fe.rightSectionWidth.valuePx(e.windowSize)} + ${t.Space.sp2})`};
580
- display: flex;
581
- justify-content: center;
582
- align-items: center;
583
- flex-direction: column;
584
- gap: ${e=>fe.cardContainerContentGap.valuePx(e.windowSize)};
585
- `,gr=s.div`
586
- width: 100%;
587
- display: flex;
588
- align-items: flex-start;
589
- flex-direction: column;
590
- justify-content: space-between;
591
- `,Sr=s.div`
592
- display: flex;
593
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
594
- align-items: center;
595
-
596
- justify-content: space-between;
597
- padding-top: ${t.Space.sp3};
598
- padding-right: ${e=>fe.contentContainerPadding.valuePx(e.windowSize)};
599
- padding-bottom: ${e=>fe.topSectionPaddingBottom.valuePx(e.windowSize)};
600
- padding-left: ${e=>fe.contentContainerPadding.valuePx(e.windowSize)};
601
- border-bottom: 1px solid ${e=>e.theme.colors.grey3};
602
- background: ${e=>e.theme.colors.grey5};
603
- gap: ${e=>fe.leftRightSectionGap.valuePx(e.windowSize)};
604
- `,Cr=s.div`
605
- display: flex;
606
- flex-direction: column;
607
- width: 100%;
608
- margin-bottom: ${({windowSize:e})=>fe.cardBalanceSectionMarginBottom.valuePx(e)};
609
- `,jo=s.div`
610
- display: flex;
611
- flex-direction: row;
612
- justify-content: space-between;
613
- align-items: flex-start;
614
- `,fr=s(t.StyledText)`
615
- color: ${e=>e.theme.colors.primary};
616
- ${e=>`${zt.spentAmount.style(e.windowSize)}`};
617
- `,yr=s.div`
618
- display: flex;
619
- align-items: flex-end;
620
- flex-direction: column;
621
- ${({windowSize:e})=>e==="small"?me.css`
622
- margin-bottom: ${t.Space.sp4};
623
- `:null};
624
- `,jr=s.div`
625
- display: flex;
626
- flex-direction: ${({windowSize:e})=>e==="small"?"column":"row"};
627
- align-items: ${({windowSize:e})=>e==="small"?"flex-start":"flex-end"};
628
- `,$r=s(t.SmallRegularSp)`
629
- color: ${e=>e.theme.colors.hero};
630
- margin-right: ${t.Space.sp1};
631
- `,vr=s(t.SmallRegularBtn)`
632
- background: none;
633
- border: none;
634
- cursor: pointer;
635
- padding: ${t.Space.sp0};
636
- color: ${t.Colors.link};
637
- &:hover {
638
- text-decoration: underline;
639
- }
640
- `,Rr=s.div`
641
- display: flex;
642
- align-items: flex-end;
643
- gap: ${t.Space.sp1};
644
- `,wr=s(t.SmallRegular)`
645
- color: ${e=>e.theme.colors.hero};
646
- `,br=s(t.SmallRegular)`
647
- color: ${e=>e.theme.colors.hero};
648
- `,Er=s.div`
649
- width: 100%;
650
- height: ${t.Space.sp1};
651
- display: flex;
652
- margin: ${t.Space.sp2} ${t.Space.sp0};
653
- border-radius: ${({windowSize:e})=>fe.barRadius.valuePx(e)};
654
- background: ${e=>e.theme.colors.grey2};
655
- `,Lr=s.div`
656
- display: flex;
657
- align-items: flex-start;
658
- flex-direction: column;
659
- color: ${e=>e.theme.colors.primary};
660
- `,$o=s(t.StyledText)`
661
- color: ${e=>e.theme.colors.primary};
662
- ${e=>`${zt.remainingAmount.style(e.windowSize)}`};
663
- `,vo=s(t.LargeMedium)`
664
- ${e=>`${zt.remainingAmount.style(e.windowSize)}`};
665
- color: ${e=>e.theme.colors.primary};
666
- `,Tr=s.div`
667
- background: ${t.Colors.success};
668
- width: 0%;
669
- height: ${t.Space.sp1};
670
- transition: width 4s ease;
671
- `,Ro=s.span`
672
- display: flex;
673
- color: ${e=>e.theme.colors.grey1};
674
- &:hover {
675
- color: ${e=>e.theme.colors.primary};
676
- }
677
- `,wo=s(t.ExtraSmallRegular)`
678
- padding: ${t.Space.sp0} 2px;
679
- color: ${t.Colors.heroDark};
680
- background: ${t.Colors.blackColor};
681
- border-radius: ${t.Space.sp1};
682
- position: absolute;
683
- left: 20px;
684
- `,bo=s(t.SvgCopy)`
685
- height: 12px;
686
- width: 12px;
687
- margin-left: ${t.Space.sp1};
688
- color: ${e=>e.isHover?e.theme.colors.primary:e.theme.colors.grey2};
689
- cursor: pointer;
690
- `,Eo=s(t.SvgTickRoundFill)`
691
- height: 12px;
692
- width: 12px;
693
- margin-left: ${t.Space.sp1};
694
- color: ${t.Colors.success};
695
- `,kr=s.div`
696
- width: 21px;
697
- height: 21px;
698
- `,Pr=s(t.SvgZeniBrandCheckingAcc)`
699
- color: ${t.Colors.brandColorOpal};
700
- width: 100%;
701
- height: 100%;
702
- `,Lo=s.div`
703
- display: flex;
704
- align-items: center;
705
- justify-content: center;
706
- position: relative;
707
- `,st=t.appLocale.getLocalizedStrings().spendManagement.chargeCard.cardDetails.header,zr={key:"merchant",value:st.merchant,sortOrder:"ascending",width:new t.ResponsiveSized(38,38)},Ar={key:"paymentDate",value:st.paymentDate,sortOrder:"ascending",width:new t.ResponsiveSized(21,21)},Mr={key:"receipts",value:st.receipts,sortOrder:"ascending",width:new t.ResponsiveSized(16,16)},Ir={key:"type",value:st.type,sortOrder:"ascending",width:new t.ResponsiveSized(14,14)},Wr={key:"amount",value:st.amount,sortOrder:"ascending",width:new t.ResponsiveSized(11,11)},Jo=()=>[zr,Ar,Mr,Ir,Wr],Je={headerLastColumnTopPadding:new t.ResponsiveSized(t.sp[0],t.sp[4]),headerLastColumnRightPadding:new t.ResponsiveSized(t.sp[3],t.sp[11]),headerLastColumnBottomPadding:new t.ResponsiveSized(t.sp[0],t.sp[4]),headerLastColumnLeftPadding:new t.ResponsiveSized(t.sp[3],t.sp[11]),headerHeight:new t.ResponsiveSized(po.HEADER_HEIGHT_MOBILE,po.HEADER_HEIGHT)};function Br({hideSorting:e,sortConfig:n,onColumnSortConfigChanged:a}){const c=o.useTheme(),d=t.useWindowSizeContext(),h=Jo(),l=(r,x)=>{let g=x;n.sortKey===r&&(g=x==="ascending"?"descending":"ascending"),a(r,g)},m=h.find(r=>r.key===n.sortKey)??h[0],u=r=>h.find(x=>x.key===r)?.value??"",S=h.map(r=>r.key),C=t.appLocale.getLocalizedStrings().spendManagement.chargeCard.cardList;return d==="small"?o.jsxRuntimeExports.jsxs(To,{windowSize:d,children:[o.jsxRuntimeExports.jsxs(Or,{children:[o.jsxRuntimeExports.jsx(Gr,{children:o.jsxRuntimeExports.jsx(_r,{})}),o.jsxRuntimeExports.jsx(t.Picker$1,{title:C.sortBy,placeholder:C.sortBy,pickerValues:S,valueToLabel:u,selectedValue:n.sortKey,onPickerSelectionChanged:r=>{l(r,"ascending")},optionTextStyle:t.textStyles.smallRegular,titleTextStyle:t.textStyles.smallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4,isDisabled:e})]}),o.jsxRuntimeExports.jsxs(Ur,{hideSorting:e,onClick:()=>{e||l(m.key,m.sortOrder)},"data-testid":t.generateDataTestId("charge-card-trxn-small-header",n.sortKey),children:[o.jsxRuntimeExports.jsx(t.SmallRegular,{children:m.value}),e?null:o.jsxRuntimeExports.jsx(ko,{sortDataValue:n.sortKey,headerData:m,children:o.jsxRuntimeExports.jsx(Po,{})})]})]}):o.jsxRuntimeExports.jsx(To,{windowSize:d,children:h.map(r=>o.jsxRuntimeExports.jsxs(Nr,{hideSorting:e,sortDataValue:n.sortKey,actualDataValue:r.key,wrapperWidth:r.width,windowSize:d,children:[o.jsxRuntimeExports.jsxs(qr,{hideSorting:e,onClick:()=>{e||l(r.key,r.sortOrder)},"data-testid":t.generateDataTestId("charge-card-trxn-header",n.sortKey),children:[o.jsxRuntimeExports.jsx(t.SmallRegular,{children:r.value}),o.jsxRuntimeExports.jsx(ko,{sortDataValue:n.sortKey,headerData:r,children:e?null:o.jsxRuntimeExports.jsx(Po,{})})]}),o.jsxRuntimeExports.jsx(Zr,{sortDataValue:n.sortKey,windowSize:d,isVisible:e?!1:n.sortKey===r.key&&r.key!=="paymentDate",children:e?null:o.jsxRuntimeExports.jsx(Fr,{onClick:()=>{e||l("paymentDate","ascending")},"data-testid":t.generateDataTestId("charge-card-trxn-close-sort",n.sortKey)})})]},r.key))})}const Hr=i.memo(Br),To=s(t.SmallRegular)`
708
- top: ${t.Space.sp0};
709
- left: ${t.Space.sp0};
710
- min-height: ${e=>Je.headerHeight.valuePx(e.windowSize)};
711
- max-height: ${e=>Je.headerHeight.valuePx(e.windowSize)};
712
- width: auto;
713
- z-index: 2;
714
- display: flex;
715
- align-items: center;
716
- box-sizing: border-box;
717
- padding: ${e=>`${Je.headerLastColumnTopPadding.valuePx(e.windowSize)} ${Je.headerLastColumnRightPadding.valuePx(e.windowSize)} ${Je.headerLastColumnBottomPadding.valuePx(e.windowSize)} ${Je.headerLastColumnLeftPadding.valuePx(e.windowSize)}`};
718
- background-color: ${e=>e.theme.colors.grey4};
719
- justify-content: space-between;
720
- position: sticky;
721
- `,Nr=s.div`
722
- color: ${e=>e.sortDataValue===e.actualDataValue&&e.hideSorting===!1?e.theme.colors.primary:e.theme.colors.grey1};
723
- width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
724
- max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
725
- padding-left: ${t.Space.sp0};
726
- display: flex;
727
- align-items: center;
728
- gap: 5px;
729
- left: ${t.Space.sp0};
730
- justify-content: ${e=>e.actualDataValue==="amount"?"flex-end":"flex-start"};
731
- ${e=>e.actualDataValue==="paymentDate"?me.css`
732
- flex: 1 1 auto;
733
- `:me.css`
734
- padding-left: ${t.Space.sp0};
735
- `};
736
- box-sizing: border-box;
737
- overflow: hidden;
738
- `,Fr=s(t.SvgCloseRound)`
739
- width: 12px;
740
- height: 12px;
741
- cursor: pointer;
742
- color: ${e=>e.theme.colors.hero};
743
- `,ko=s.div`
744
- display: flex;
745
- align-items: center;
746
- transform: ${e=>e.sortDataValue===e.headerData.key&&e.headerData.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
747
- ${e=>e.headerData.sortOrder==="ascending"?"padding-top: 2px":"padding-bottom: 2px"}
748
- `,Po=s(t.SvgArrowTailTop)`
749
- width: 12px;
750
- height: 12px;
751
- cursor: pointer;
752
- color: inherit;
753
- `,Or=s.div`
754
- gap: ${t.Space.sp1};
755
- display: flex;
756
- `,_r=s(t.SvgSortBy)`
757
- width: 12px;
758
- height: 12px;
759
- color: ${e=>e.theme.colors.grey1};
760
- `,Gr=s.div`
761
- margin-right: ${t.Space.sp1};
762
- display: flex;
763
- align-items: center;
764
- `,Zr=s.div`
765
- display: ${e=>e.isVisible?"flex":"none"};
766
- align-items: center;
767
- padding-top: 2px;
768
- `,qr=s.div`
769
- display: flex;
770
- cursor: ${e=>e.hideSorting?"default":"pointer"};
771
- gap: ${e=>e.hideSorting?t.Space.sp0:"5px"};
772
- &:hover {
773
- color: ${e=>e.hideSorting?"inherit":e.theme.colors.primary};
774
- }
775
- `,Ur=s.div`
776
- display: flex;
777
- cursor: ${e=>e.hideSorting?"default":"pointer"};
778
- gap: ${e=>e.hideSorting?t.Space.sp0:"5px"};
779
- color: ${e=>e.theme.colors.hero};
780
- &:hover {
781
- color: ${e=>e.hideSorting?e.theme.colors.hero:e.theme.colors.primary};
782
- }
783
- `;function Qo(e,n,a){return Yr(e,n,a)}async function Yr(e,n,a,c){const d=`${e}?query=${encodeURIComponent(JSON.stringify(a))}`,h=t.appLocale.getLocalizedStrings().downloadReport;try{const l=await o.fetch(d,{method:"GET",headers:{"zeni-user-id":n.userId,"zeni-tenant-id":n.tenantId,"zeni-session-id":n.sessionId}});if(l.ok){const m=c??t.getFileNameFromResponseHeaders(l.headers,"Charge Card Transaction Receipt.pdf"),u=await l.arrayBuffer();o.fileDownload(u,m)}else console.error(`${h.reportErrorMessage} ${l.statusText}`)}catch(l){console.error(`${h.reportErrorMessage} ${JSON.stringify(l)}`)}}async function Vo(e,n,a){const c=`${e}?query=${encodeURIComponent(JSON.stringify(a))}`,d=t.appLocale.getLocalizedStrings().downloadReport;try{const h=await fetch(c,{method:"GET",headers:{"zeni-user-id":n.userId,"zeni-tenant-id":n.tenantId,"zeni-session-id":n.sessionId}});if(h.ok)return await h.json();console.error(`${d.reportErrorMessage} ${h.statusText}`)}catch(h){throw console.error(`${d.reportErrorMessage} ${JSON.stringify(h)}`),h}return[]}const Dr=e=>L.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},L.createElement("path",{d:"M23.3584 10.0417L23.2319 9.30243L21.7534 9.55562L21.88 10.2949L23.3584 10.0417ZM20.3835 6.50175L20.7954 7.1285L22.0489 6.30467L21.637 5.67791L20.3835 6.50175ZM18.3213 2.36228L17.6946 1.95036L16.8707 3.20388L17.4975 3.61579L18.3213 2.36228ZM13.7044 2.11928L14.4436 2.24587L14.6968 0.767397L13.9576 0.640799L13.7044 2.11928ZM10.041 0.640799L9.30172 0.767397L9.55492 2.24587L10.2942 2.11928L10.041 0.640799ZM6.50104 3.6158L7.1278 3.20388L6.30397 1.95036L5.67721 2.36228L6.50104 3.6158ZM2.36158 5.67792L1.94966 6.30467L3.20318 7.12851L3.61509 6.50175L2.36158 5.67792ZM2.11857 10.2949L2.24517 9.55562L0.766695 9.30242L0.640097 10.0417L2.11857 10.2949ZM0.640097 13.9583L0.766695 14.6975L2.24517 14.4443L2.11857 13.7051L0.640097 13.9583ZM3.61509 17.4982L3.20318 16.8714L1.94966 17.6953L2.36158 18.322L3.61509 17.4982ZM5.67721 21.6377L6.30397 22.0496L7.1278 20.7961L6.50105 20.3842L5.67721 21.6377ZM10.2942 21.8807L9.55492 21.7541L9.30172 23.2326L10.041 23.3592L10.2942 21.8807ZM13.9576 23.3592L14.6968 23.2326L14.4436 21.7541L13.7044 21.8807L13.9576 23.3592ZM17.4975 20.3842L16.8707 20.7961L17.6946 22.0496L18.3213 21.6377L17.4975 20.3842ZM21.637 18.322L22.0489 17.6953L20.7954 16.8714L20.3835 17.4982L21.637 18.322ZM21.88 13.7051L21.7534 14.4443L23.2319 14.6975L23.3584 13.9583L21.88 13.7051ZM23.5243 12C23.5243 11.333 23.4675 10.6786 23.3584 10.0417L21.88 10.2949C21.9748 10.8485 22.0243 11.4182 22.0243 12H23.5243ZM21.637 5.67791C20.7702 4.35908 19.6402 3.22904 18.3213 2.36228L17.4975 3.61579C18.6453 4.37014 19.6291 5.35396 20.3835 6.50175L21.637 5.67791ZM13.9576 0.640799C13.3206 0.531717 12.6663 0.474976 11.9993 0.474976V1.97498C12.5811 1.97498 13.1507 2.02446 13.7044 2.11928L13.9576 0.640799ZM11.9993 0.474976C11.3323 0.474976 10.6779 0.531717 10.041 0.640799L10.2942 2.11928C10.8478 2.02446 11.4175 1.97498 11.9993 1.97498V0.474976ZM5.67721 2.36228C4.35838 3.22904 3.22833 4.35909 2.36158 5.67792L3.61509 6.50175C4.36944 5.35396 5.35326 4.37014 6.50104 3.6158L5.67721 2.36228ZM0.640097 10.0417C0.531015 10.6786 0.474274 11.333 0.474274 12H1.97427C1.97427 11.4182 2.02375 10.8485 2.11857 10.2949L0.640097 10.0417ZM0.474274 12C0.474274 12.667 0.531015 13.3213 0.640097 13.9583L2.11857 13.7051C2.02375 13.1514 1.97427 12.5818 1.97427 12H0.474274ZM2.36158 18.322C3.22834 19.6409 4.35838 20.7709 5.67721 21.6377L6.50105 20.3842C5.35326 19.6298 4.36944 18.646 3.61509 17.4982L2.36158 18.322ZM10.041 23.3592C10.6779 23.4682 11.3323 23.525 11.9993 23.525V22.025C11.4175 22.025 10.8478 21.9755 10.2942 21.8807L10.041 23.3592ZM11.9993 23.525C12.6663 23.525 13.3206 23.4682 13.9576 23.3592L13.7044 21.8807C13.1507 21.9755 12.5811 22.025 11.9993 22.025V23.525ZM18.3213 21.6377C19.6402 20.7709 20.7702 19.6409 21.637 18.322L20.3835 17.4982C19.6291 18.646 18.6453 19.6298 17.4975 20.3842L18.3213 21.6377ZM23.3584 13.9583C23.4675 13.3213 23.5243 12.667 23.5243 12H22.0243C22.0243 12.5818 21.9748 13.1514 21.88 13.7051L23.3584 13.9583Z",fill:"currentColor"}),L.createElement("path",{d:"M12 6.12244V17.8775",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),L.createElement("path",{d:"M17.8776 12H6.12245",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),es=e=>L.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},L.createElement("path",{d:"M16.7656 6.60254H8.51562C8.10142 6.60254 7.76562 6.91434 7.76562 7.29897V20.357C7.76562 20.7416 8.10142 21.0534 8.51562 21.0534H16.7656C17.1798 21.0534 17.5156 20.7416 17.5156 20.357V7.29897C17.5156 6.91434 17.1798 6.60254 16.7656 6.60254Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),L.createElement("path",{d:"M12.6875 9.5C13.1017 9.5 13.4375 9.83676 13.4375 10.251V10.416C13.7384 10.4808 13.9968 10.5753 14.2031 10.6699C14.3853 10.7536 14.5315 10.8389 14.6348 10.9053C14.6862 10.9383 14.7281 10.967 14.7588 10.9893L14.8096 11.0283C14.8112 11.0296 14.8131 11.0311 14.8145 11.0322L14.8174 11.0332L14.8184 11.0342V11.0352C15.1412 11.2946 15.1931 11.767 14.9336 12.0898C14.6742 12.4122 14.2026 12.4632 13.8799 12.2041L13.8789 12.2051L13.8779 12.2041C13.8683 12.1971 13.8493 12.1838 13.8232 12.167C13.7703 12.133 13.6869 12.0832 13.5781 12.0332C13.3579 11.9321 13.0482 11.834 12.6826 11.834C12.4165 11.8341 12.1531 11.9229 11.9727 12.0518C11.7904 12.182 11.7656 12.2912 11.7656 12.334C11.7656 12.4332 11.7869 12.4702 11.7939 12.4814C11.8035 12.4966 11.8301 12.5304 11.9082 12.5752C12.0988 12.6841 12.389 12.754 12.8398 12.8506C13.222 12.9325 13.766 13.042 14.2002 13.29C14.4338 13.4235 14.6681 13.613 14.8408 13.8877C15.0164 14.1672 15.0986 14.4883 15.0986 14.834C15.0986 15.5055 14.7062 16.0208 14.2637 16.3369C14.0193 16.5114 13.7364 16.6423 13.4375 16.7266V16.917C13.4375 17.3312 13.1017 17.667 12.6875 17.667C12.2735 17.6668 11.9375 17.3311 11.9375 16.917V16.7539C11.6322 16.689 11.3697 16.5938 11.1611 16.498C10.9789 16.4144 10.8327 16.329 10.7295 16.2627C10.678 16.2296 10.6361 16.201 10.6055 16.1787L10.5547 16.1396C10.553 16.1383 10.5512 16.1368 10.5498 16.1357L10.5479 16.1348L10.5459 16.1328C10.2233 15.8734 10.1715 15.4009 10.4307 15.0781C10.6898 14.7557 11.1615 14.7046 11.4844 14.9629L11.4814 14.96C11.4826 14.9608 11.4843 14.9624 11.4863 14.9639C11.4959 14.9708 11.5148 14.9841 11.541 15.001C11.594 15.035 11.678 15.0846 11.7871 15.1348C12.0073 15.2359 12.317 15.3339 12.6826 15.334C12.9487 15.3339 13.2121 15.245 13.3926 15.1162C13.5747 14.986 13.5986 14.8768 13.5986 14.834C13.5986 14.7337 13.5771 14.6974 13.5703 14.6865C13.5607 14.6712 13.5343 14.6375 13.4561 14.5928C13.2655 14.484 12.976 14.414 12.5254 14.3174C12.1431 14.2355 11.5983 14.1261 11.1641 13.8779C10.9306 13.7444 10.696 13.5549 10.5234 13.2803C10.3479 13.0008 10.2656 12.6796 10.2656 12.334C10.2656 11.6627 10.6582 11.1472 11.1006 10.8311C11.3477 10.6545 11.6347 10.5226 11.9375 10.4385V10.251C11.9375 9.8369 12.2735 9.50022 12.6875 9.5Z",fill:"currentColor"}),L.createElement("path",{d:"M3.27344 2.94629H20.3534C20.5381 2.94629 20.7152 3.01966 20.8459 3.15027C20.9764 3.28087 21.0498 3.45801 21.0498 3.64272V7.82129",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),L.createElement("path",{d:"M3.24994 21.5894C3.6641 21.5893 3.99994 21.2535 3.99994 20.8394V8.37549L4.72748 9.10303C5.02038 9.39591 5.49514 9.39592 5.78803 9.10303C6.08091 8.81014 6.08091 8.33537 5.78803 8.04248L3.7851 6.03955C3.49221 5.74666 3.01745 5.74667 2.72455 6.03955C2.71669 6.04741 2.70953 6.05585 2.70209 6.06396C2.68584 6.07767 2.66955 6.09163 2.65424 6.10693L0.711857 8.04932C0.418964 8.34221 0.418964 8.81795 0.711857 9.11084C1.00469 9.40341 1.47957 9.40341 1.7724 9.11084L2.49994 8.3833V20.8394C2.49994 21.2536 2.83573 21.5894 3.24994 21.5894Z",fill:"currentColor"})),ts=e=>L.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},L.createElement("path",{d:"M16.7656 6.60254H8.51562C8.10142 6.60254 7.76562 6.91434 7.76562 7.29897V20.357C7.76562 20.7416 8.10142 21.0534 8.51562 21.0534H16.7656C17.1798 21.0534 17.5156 20.7416 17.5156 20.357V7.29897C17.5156 6.91434 17.1798 6.60254 16.7656 6.60254Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),L.createElement("path",{d:"M12.6875 9.5C13.1017 9.5 13.4375 9.83676 13.4375 10.251V10.416C13.7384 10.4808 13.9968 10.5753 14.2031 10.6699C14.3853 10.7536 14.5315 10.8389 14.6348 10.9053C14.6862 10.9383 14.7281 10.967 14.7588 10.9893L14.8096 11.0283C14.8112 11.0296 14.8131 11.0311 14.8145 11.0322L14.8174 11.0332L14.8184 11.0342V11.0352C15.1412 11.2946 15.1931 11.767 14.9336 12.0898C14.6742 12.4122 14.2026 12.4632 13.8799 12.2041L13.8789 12.2051L13.8779 12.2041C13.8683 12.1971 13.8493 12.1838 13.8232 12.167C13.7703 12.133 13.6869 12.0832 13.5781 12.0332C13.3579 11.9321 13.0482 11.834 12.6826 11.834C12.4165 11.8341 12.1531 11.9229 11.9727 12.0518C11.7904 12.182 11.7656 12.2912 11.7656 12.334C11.7656 12.4332 11.7869 12.4702 11.7939 12.4814C11.8035 12.4966 11.8301 12.5304 11.9082 12.5752C12.0988 12.6841 12.389 12.754 12.8398 12.8506C13.222 12.9325 13.766 13.042 14.2002 13.29C14.4338 13.4235 14.6681 13.613 14.8408 13.8877C15.0164 14.1672 15.0986 14.4883 15.0986 14.834C15.0986 15.5055 14.7062 16.0208 14.2637 16.3369C14.0193 16.5114 13.7364 16.6423 13.4375 16.7266V16.917C13.4375 17.3312 13.1017 17.667 12.6875 17.667C12.2735 17.6668 11.9375 17.3311 11.9375 16.917V16.7539C11.6322 16.689 11.3697 16.5938 11.1611 16.498C10.9789 16.4144 10.8327 16.329 10.7295 16.2627C10.678 16.2296 10.6361 16.201 10.6055 16.1787L10.5547 16.1396C10.553 16.1383 10.5512 16.1368 10.5498 16.1357L10.5479 16.1348L10.5459 16.1328C10.2233 15.8734 10.1715 15.4009 10.4307 15.0781C10.6898 14.7557 11.1615 14.7046 11.4844 14.9629L11.4814 14.96C11.4826 14.9608 11.4843 14.9624 11.4863 14.9639C11.4959 14.9708 11.5148 14.9841 11.541 15.001C11.594 15.035 11.678 15.0846 11.7871 15.1348C12.0073 15.2359 12.317 15.3339 12.6826 15.334C12.9487 15.3339 13.2121 15.245 13.3926 15.1162C13.5747 14.986 13.5986 14.8768 13.5986 14.834C13.5986 14.7337 13.5771 14.6974 13.5703 14.6865C13.5607 14.6712 13.5343 14.6375 13.4561 14.5928C13.2655 14.484 12.976 14.414 12.5254 14.3174C12.1431 14.2355 11.5983 14.1261 11.1641 13.8779C10.9306 13.7444 10.696 13.5549 10.5234 13.2803C10.3479 13.0008 10.2656 12.6796 10.2656 12.334C10.2656 11.6627 10.6582 11.1472 11.1006 10.8311C11.3477 10.6545 11.6347 10.5226 11.9375 10.4385V10.251C11.9375 9.8369 12.2735 9.50022 12.6875 9.5Z",fill:"currentColor"}),L.createElement("path",{d:"M3.27344 2.94629H20.3534C20.5381 2.94629 20.7152 3.01966 20.8459 3.15027C20.9764 3.28087 21.0498 3.45801 21.0498 3.64272V7.82129",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),L.createElement("path",{d:"M3.24994 5.81982C3.6641 5.81989 3.99994 6.15565 3.99994 6.56982V19.0337L4.72748 18.3062C5.02038 18.0133 5.49514 18.0133 5.78803 18.3062C6.08091 18.599 6.08091 19.0738 5.78803 19.3667L3.7851 21.3696C3.49221 21.6625 3.01745 21.6625 2.72455 21.3696C2.71669 21.3618 2.70953 21.3533 2.70209 21.3452C2.68584 21.3315 2.66955 21.3175 2.65424 21.3022L0.711857 19.3599C0.418964 19.067 0.418964 18.5912 0.711857 18.2983C1.00469 18.0058 1.47957 18.0058 1.7724 18.2983L2.49994 19.0259V6.56982C2.49994 6.15561 2.83573 5.81982 3.24994 5.81982Z",fill:"currentColor"})),{dateFormat:Kr,spendManagement:{chargeCard:{cardDetails:zo}},common:{strings:{hyphen:Xr},tooltips:{addMissingReceipt:Jr,addReceipt:Qr,viewReceipt:Vr}}}=t.appLocale.getLocalizedStrings(),We={containerPaddingLeft:new t.ResponsiveSized(t.sp[3],t.sp[4]),containerPaddingRight:new t.ResponsiveSized(t.sp[3],t.sp[4]),containerPaddingTop:new t.ResponsiveSized(t.sp[2],t.sp[3]),containerPaddingBottom:new t.ResponsiveSized(t.sp[2],t.sp[3]),containerMarginLeft:new t.ResponsiveSized(t.sp[4],t.sp[8]),webkitLineClamp:new t.ResponsiveSized(2,1,1,1,1)},ei=(e,n)=>e.attachments!=null&&e.attachments.length>0?Vr:e.amount.amount<=n.amount?Qr:Jr,os=(e,n,a,c)=>e.attachments!=null&&e.attachments.length>0?o.jsxRuntimeExports.jsx(ji,{onClick:d=>{d.stopPropagation(),c()},"data-testid":t.generateDataTestId("card-transaction-row-view-receipt",e.id)}):e.amount.amount<=n.amount?o.jsxRuntimeExports.jsx(Ri,{onClick:d=>{d.stopPropagation(),a()},"data-testid":t.generateDataTestId("card-transaction-row-optional-upload-receipt",e.id)}):o.jsxRuntimeExports.jsx(vi,{onClick:d=>{d.stopPropagation(),a()},"data-testid":t.generateDataTestId("card-transaction-row-upload-receipt",e.id)}),ti=({cardsEndPoint:e,documentAiReceiptMaxSizeLimit:n,isSnackbarOpen:a,isAiCategorizationEnabledForCardsTransactions:c,transactionAttachmentsEndpointToFetch:d,transactionAttachmentEndpointToDownload:h,cardId:l,uploadReceiptsFetchState:m,uploadReceiptsShowTick:u,isViewReceiptClickedImmediatelyAfterUpload:S,authParams:C,transaction:r,receiptRequiredAboveAmount:x,updateChargeCardTransactionAttachments:g,onUploadReceiptComplete:R,updateChargeCardTransactionUploadReceiptsFetchStatus:f,updateChargeCardTransactionReceiptsShowTick:$,updateChargeCardTransactionIsViewReceiptClicked:b,removeSnackbar:p,onChargeCardTransactionRowClick:P})=>{const y=t.useWindowSizeContext(),[A,H]=i.useState(!1),[w,N]=i.useState([]),[D,Z]=i.useState(null);i.useEffect(()=>{!a&&S&&(te(T[0]),X())},[a,S]);const T=r.attachments?.filter(U=>U.contentType!=null&&t.allowedDocumentPreviewContentType.includes(U.contentType))??[],[Y,te]=i.useState(T[0]),[Q,K]=i.useState([]),[B,F]=i.useState(void 0);i.useEffect(()=>{async function U(J){Q.includes(J.attachment_id)?console.warn(`Attachment with ID ${J.attachment_id} is already getting downloaded`):(K([J.attachment_id,...Q]),await Qo(h,C,J),K(o.Remove(Q,I=>I==J.attachment_id)))}B!=null&&(U({card_id:l,transaction_id:r.id,attachment_id:B}),F(void 0))},[B]);const V=()=>{b(r.id,l,!1),H(!1),Z(null),N([]),T.length>0&&te(T[0])},X=()=>{H(!0);const U=T.map(I=>I.id);async function J(I){return await Vo(d,C,I)}J({card_id:l,transaction_id:r.id,attachment_ids:U}).then(I=>{N(I),I.length>0&&Z(I[0])})},{merchant:oe,createTime:se,transactionType:k,thirdPartyTransactionId:ae}=r,_=()=>{a?(p(),b(r.id,l,!0)):(te(T[0]),X())},G=i.useRef(null);async function j(U,J){f(r.id,l,"In-Progress"),await Yo.uploadReceipts(`${e}/1.0/cards/transactions/${r.id}/attachments`,C,U,J).then(I=>{I!=null&&g(r.id,I),f(r.id,l,"Completed"),$(r.id,l,!0),setTimeout(()=>{$(r.id,l,!1),R(!0)},2e3)}).catch(I=>{f(r.id,l,"Error"),R(!1,I)})}const O=()=>{G.current?.click()},ne=U=>{if(U.target.files!=null){const J=U.target.files,I=[],$e=[];for(let ye=0;ye<J.length;ye++)I.push(J[ye].name),$e.push(J[ye]);j?.($e,I)}},q=Jo(),v=t.getChargeCardTransactionStatus(r.transactionStatus),le=c?oe.brandName??oe.name:oe.name,ee=t.amountToString("0,0.00",r.amount),M=k.code==="transfer",ge=ae!=null&&c,ce=M&&r.direction==="debit",re=M&&r.direction==="credit";return o.jsxRuntimeExports.jsxs(ii,{windowSize:y,isClickable:ge,"data-testid":t.generateDataTestId("card-transaction-row",r.id),onClick:U=>{U.stopPropagation(),ge&&P(k.code,ae)},children:[o.jsxRuntimeExports.jsx(ai,{children:o.jsxRuntimeExports.jsxs(li,{children:[o.jsxRuntimeExports.jsxs(ci,{windowSize:y,responsiveWidth:q[0].width,children:[ce?o.jsxRuntimeExports.jsx(xi,{}):re?o.jsxRuntimeExports.jsx(hi,{}):o.jsxRuntimeExports.jsx(gi,{src:oe.logo?.url?.toString()}),o.jsxRuntimeExports.jsx(di,{windowSize:y,hasMarginRight:v.code==="paid",children:le}),v.code!=="paid"?o.jsxRuntimeExports.jsxs(si,{children:[o.jsxRuntimeExports.jsx(ri,{windowSize:y}),o.jsxRuntimeExports.jsx(ni,{color:v.color,windowSize:y,children:v.value})]}):null]}),o.jsxRuntimeExports.jsx(mi,{windowSize:y,responsiveWidth:q[1].width,children:o.jsxRuntimeExports.jsx(Si,{children:se.format(Kr.visual.MMMDCommaYYYYformat)})}),o.jsxRuntimeExports.jsx(fi,{windowSize:y,responsiveWidth:q[2].width,children:r.transactionStatus.code==="declined"||r.transactionStatus.code==="canceled"?Xr:m?.fetchState==="In-Progress"?o.jsxRuntimeExports.jsx(t.ActivityIndicator,{size:"Small",start:!0}):u?o.jsxRuntimeExports.jsx($i,{}):o.jsxRuntimeExports.jsxs(t.Tooltip,{enterDelay:600,display:"flex",placement:"bottom",title:ei(r,x),children:[o.jsxRuntimeExports.jsx(oi,{"data-testid":t.generateDataTestId("card-transaction-row-upload-receipt",r.id),onClick:U=>{U.stopPropagation()},children:o.jsxRuntimeExports.jsx(t.FileInputElement,{name:"transactionLineAttachment",fileRef:G,sizeLimit:n,isSizeLimitForEachFile:!0,onFileChange:ne,multiple:!0,onFileSizeError:(U,J)=>{U&&R(!1,{code:500,message:J===!0?zo.singleFileUploadSizeErrorMessage.replace("__maxFileSize__",t.formatFileSize(n,0)):zo.multipleFileUploadSizeErrorMessage.replace("__maxFileSize__",t.formatFileSize(n,0))})}})}),os(r,x,O,_)]})}),o.jsxRuntimeExports.jsx(Ci,{windowSize:y,responsiveWidth:q[3].width,children:o.jsxRuntimeExports.jsx(yi,{title:k.name,children:k.name})}),o.jsxRuntimeExports.jsx(pi,{windowSize:y,responsiveWidth:q[4].width,children:o.jsxRuntimeExports.jsx(ui,{windowSize:y,title:t.amountToString("0,0.[00]",r.amount),children:r.direction==="debit"?ee:`-${ee}`})})]})}),A&&T.length>0?Uo.createPortal(o.jsxRuntimeExports.jsx(t.DocumentWithThumbnailView,{allFiles:w,fileSource:D,file:Y,title:Y.fileName,attachments:T,setFileSource:Z,setShowFullScreenView:H,onCrossClick:V,setSelectedFileAttachment:te,onDownloadClick:U=>{F(U.id)},handleTouchStart:()=>{},handleTouchMove:()=>{},handleTouchEnd:()=>{}}),document.body):null]})},oi=s.div``,si=s.div`
784
- display: flex;
785
- flex-direction: row;
786
- align-items: center;
787
- gap: ${t.Space.sp2};
788
- margin-right: ${t.Space.sp4};
789
- `,ni=s(t.ExtraSmallRegular)`
790
- color: ${e=>e.color};
791
- `,ri=s.div`
792
- display: ${e=>e.windowSize==="small"?"none":"block"};
793
- width: ${t.Space.sp1};
794
- height: ${t.Space.sp1};
795
- border-radius: 100%;
796
- background-color: ${e=>e.theme.colors.grey1};
797
- `,ii=s.div`
798
- display: flex;
799
- background-color: ${e=>e.theme.colors.grey5};
800
- padding-left: ${e=>We.containerPaddingLeft.valuePx(e.windowSize)};
801
- padding-right: ${e=>We.containerPaddingRight.valuePx(e.windowSize)};
802
- padding-top: ${e=>We.containerPaddingTop.valuePx(e.windowSize)};
803
- padding-bottom: ${e=>We.containerPaddingBottom.valuePx(e.windowSize)};
804
- border: ${e=>`1px solid ${e.theme.colors.grey3}`};
805
- box-shadow: ${e=>e.theme.mode==="dark"?`${t.Colors.dropShadowNormalDark} ${t.Space.sp0} 2px ${t.Space.sp1}`:`${t.Space.sp0} 2px ${t.Space.sp1} ${t.Colors.dropShadowNormalLight}`};
806
- border-radius: ${t.Space.sp2};
807
- color: ${e=>e.theme.colors.hero};
808
- &:hover {
809
- border-color: ${e=>e.theme.colors.primary};
810
- color: ${e=>e.theme.colors.primary};
811
- }
812
- margin-right: ${e=>We.containerMarginLeft.valuePx(e.windowSize)};
813
- margin-left: ${e=>We.containerMarginLeft.valuePx(e.windowSize)};
814
- box-sizing: border-box;
815
- align-items: center;
816
- cursor: ${e=>e.isClickable?"pointer":"default"};
817
- `,ai=s.div`
818
- display: block;
819
- width: 100%;
820
- `,li=s.div`
821
- display: flex;
822
- width: 100%;
823
- justify-content: space-between;
824
- align-items: center;
825
- `,ci=s.div`
826
- display: flex;
827
- flex-direction: row;
828
- column-gap: ${t.Space.sp2};
829
- align-items: center;
830
- width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
831
- `,di=s(t.StandardRegular)`
832
- margin-right: ${e=>e.hasMarginRight?t.Space.sp3:t.Space.sp0};
833
- color: inherit;
834
- -webkit-line-clamp: ${e=>We.webkitLineClamp.value(e.windowSize)};
835
- -webkit-box-orient: vertical;
836
- overflow: hidden;
837
- max-width: 100%;
838
- overflow: hidden;
839
- text-overflow: ellipsis;
840
- white-space: nowrap;
841
- text-transform: capitalize;
842
- `,pi=s(t.StandardRegular)`
843
- display: flex;
844
- flex-direction: column;
845
- justify-content: flex-end;
846
- align-items: flex-end;
847
- width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
848
- `,ui=s(t.StandardRegular)`
849
- color: inherit;
850
- flex-grow: 1;
851
- -webkit-line-clamp: ${e=>We.webkitLineClamp.value(e.windowSize)};
852
- -webkit-box-orient: vertical;
853
- overflow: hidden;
854
- text-overflow: ellipsis;
855
- max-width: 100%;
856
- overflow: hidden;
857
- text-overflow: ellipsis;
858
- white-space: nowrap;
859
- `,mi=s.div`
860
- width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
861
- box-sizing: border-box;
862
- display: flex;
863
- align-items: flex-start;
864
- flex-direction: column;
865
- justify-content: center;
866
- `,ss=e=>me.css`
867
- width: ${t.Space.sp4};
868
- height: ${t.Space.sp4};
869
- color: ${e.colors.hero};
870
- `,xi=s(ts)`
871
- ${({theme:e})=>ss(e)}
872
- `,hi=s(es)`
873
- ${({theme:e})=>ss(e)}
874
- `,gi=s.img`
875
- display: flex;
876
- width: ${t.Space.sp4};
877
- height: ${t.Space.sp4};
878
- `,Si=s(t.StandardRegular)`
879
- color: inherit;
880
- max-width: 100%;
881
- overflow: hidden;
882
- text-overflow: ellipsis;
883
- white-space: nowrap;
884
- `,Ci=s(t.StandardRegular)`
885
- color: ${e=>e.theme.colors.hero};
886
- width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
887
- box-sizing: border-box;
888
- display: flex;
889
- align-items: center;
890
- `,fi=s.div`
891
- color: ${e=>e.theme.colors.hero};
892
- width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
893
- box-sizing: border-box;
894
- display: flex;
895
- align-items: center;
896
- `,yi=s(t.ExtraSmallRegular)`
897
- color: ${e=>e.theme.colors.hero};
898
- max-width: 100%;
899
- overflow: hidden;
900
- text-overflow: ellipsis;
901
- white-space: nowrap;
902
- padding: 1px 6px;
903
- border-radius: ${t.Space.sp1};
904
- border: 1px solid ${e=>e.theme.colors.grey1};
905
- `,ji=s(t.SvgDocuments)`
906
- height: ${t.Space.sp4};
907
- width: ${t.Space.sp4};
908
- cursor: pointer;
909
- color: ${e=>e.theme.colors.hero};
910
- &:hover {
911
- color: ${e=>e.theme.colors.primary};
912
- }
913
- `,$i=s(t.SvgTickRoundFill)`
914
- height: ${t.Space.sp4};
915
- width: ${t.Space.sp4};
916
- color: ${t.Colors.success};
917
- `,vi=s(t.SvgAddRound)`
918
- height: ${t.Space.sp4};
919
- width: ${t.Space.sp4};
920
- cursor: pointer;
921
- color: ${e=>e.theme.colors.brandColorGoldDark};
922
- &:hover {
923
- color: ${e=>e.theme.colors.primary};
924
- }
925
- `,Ri=s(Dr)`
926
- height: ${t.Space.sp4};
927
- width: ${t.Space.sp4};
928
- cursor: pointer;
929
- color: ${e=>e.theme.colors.hero};
930
- &:hover {
931
- color: ${e=>e.theme.colors.primary};
932
- }
933
- `,{dateFormat:wi,spendManagement:{chargeCard:{cardDetails:Lt}},common:{strings:{hyphen:bi}}}=t.appLocale.getLocalizedStrings(),Ei={webkitLineClamp:new t.ResponsiveSized(2,1,1,1,1)},Li=({cardsEndPoint:e,documentAiReceiptMaxSizeLimit:n,isSnackbarOpen:a,isAiCategorizationEnabledForCardsTransactions:c,transactionAttachmentsEndpointToFetch:d,transactionAttachmentEndpointToDownload:h,cardId:l,isViewReceiptClickedImmediatelyAfterUpload:m,uploadReceiptsShowTick:u,uploadReceiptsFetchState:S,authParams:C,transaction:r,receiptRequiredAboveAmount:x,onUploadReceiptComplete:g,updateChargeCardTransactionAttachments:R,updateChargeCardTransactionReceiptsShowTick:f,updateChargeCardTransactionIsViewReceiptClicked:$,updateChargeCardTransactionUploadReceiptsFetchStatus:b,removeSnackbar:p,onChargeCardTransactionRowClick:P})=>{const y=t.useWindowSizeContext(),[A,H]=i.useState(0),[w,N]=i.useState(0),[D,Z]=i.useState(0),T=E=>{Z(E),F(!0),_(k[E]),se(V[E])};function Y(E){H(E.targetTouches[0].clientX)}function te(E){N(E.targetTouches[0].clientX)}function Q(E){return E<0?k.length+E:E%k.length}function K(){A-w>50&&w!==0&&D<k.length-1?(T(Q(D+1)),H(0),N(0)):A-w<-50&&w!==0&&D>0&&(T(Q(D-1)),H(0),N(0))}const[B,F]=i.useState(!1),[V,X]=i.useState([]),[oe,se]=i.useState(null);i.useEffect(()=>{!a&&m&&(_(k[0]),v())},[a,m]);const k=r.attachments?.filter(E=>E.contentType!=null&&t.allowedDocumentPreviewContentType.includes(E.contentType))??[],[ae,_]=i.useState(k[0]),[G,j]=i.useState([]),[O,ne]=i.useState(void 0);i.useEffect(()=>{async function E(ie){G.includes(ie.attachment_id)?console.warn(`Attachment with ID ${ie.attachment_id} is already getting downloaded`):(j([ie.attachment_id,...G]),await Qo(h,C,ie),j(o.Remove(G,z=>z==ie.attachment_id)))}O!=null&&(E({card_id:l,transaction_id:r.id,attachment_id:O}),ne(void 0))},[O]);const q=()=>{$(r.id,l,!1),F(!1),se(null),X([]),k.length>0&&_(k[0])},v=()=>{F(!0);const E=k.map(z=>z.id);async function ie(z){return await Vo(d,C,z)}ie({card_id:l,transaction_id:r.id,attachment_ids:E}).then(z=>{X(z),z.length>0&&se(z[0])})},{merchant:le,createTime:ee,transactionType:M,thirdPartyTransactionId:ge}=r,ce=()=>{a?(p(),$(r.id,l,!0)):(_(k[0]),v())},re=i.useRef(null);async function U(E,ie){b(r.id,l,"In-Progress"),await Yo.uploadReceipts(`${e}/1.0/cards/transactions/${r.id}/attachments`,C,E,ie).then(z=>{z!=null&&R(r.id,z),b(r.id,l,"Completed"),g(!0),f(r.id,l,!0),setTimeout(()=>f(r.id,l,!1),2e3)}).catch(z=>{b(r.id,l,"Error"),g(!1,z)})}const J=()=>{re.current?.click()},I=E=>{if(E.target.files!=null){const ie=E.target.files,z=[],Fe=[];for(let Oe=0;Oe<ie.length;Oe++)z.push(ie[Oe].name),Fe.push(ie[Oe]);U?.(Fe,z)}},$e=t.getChargeCardTransactionStatus(r.transactionStatus),ye=c?le.brandName??le.name:le.name,ue=t.amountToString("0,0.00",r.amount),Te=M.code==="transfer",Ne=ge!=null&&c,De=Te&&r.direction==="debit",de=Te&&r.direction==="credit";return o.jsxRuntimeExports.jsxs(Ni,{windowSize:y,"data-testid":t.generateDataTestId("card-transaction-row-small",r.id),onClick:E=>{E.stopPropagation(),Ne&&P(M.code,ge)},children:[o.jsxRuntimeExports.jsx(Fi,{children:o.jsxRuntimeExports.jsxs(Oi,{children:[o.jsxRuntimeExports.jsxs(Zi,{children:[o.jsxRuntimeExports.jsx(Wi,{children:De?o.jsxRuntimeExports.jsx(Ti,{}):de?o.jsxRuntimeExports.jsx(ki,{}):o.jsxRuntimeExports.jsx(Ui,{src:le.logo?.url?.toString()})}),o.jsxRuntimeExports.jsxs(Yi,{children:[o.jsxRuntimeExports.jsxs(Pi,{children:[o.jsxRuntimeExports.jsx(_i,{windowSize:y,children:ye}),$e.code!=="paid"?o.jsxRuntimeExports.jsxs(zi,{children:[o.jsxRuntimeExports.jsx(Mi,{windowSize:y}),o.jsxRuntimeExports.jsx(Ai,{color:$e.color,windowSize:y,children:$e.value})]}):null]}),o.jsxRuntimeExports.jsx(Gi,{children:`${Lt.paymentDate} ${ee.format(wi.visual.MMMDCommaYYYYformat)}`})]})]}),o.jsxRuntimeExports.jsxs(qi,{children:[o.jsxRuntimeExports.jsx(Di,{children:r.direction==="debit"?ue:`-${ue}`}),o.jsxRuntimeExports.jsx(Hi,{title:M.name,children:M.name}),o.jsxRuntimeExports.jsx(Bi,{children:r.transactionStatus.code==="declined"||r.transactionStatus.code==="canceled"?bi:S?.fetchState==="In-Progress"?o.jsxRuntimeExports.jsx(t.ActivityIndicator,{size:"Small",start:!0}):u?o.jsxRuntimeExports.jsx(Ii,{}):o.jsxRuntimeExports.jsxs(Ao,{children:[o.jsxRuntimeExports.jsx(Ao,{"data-testid":t.generateDataTestId("card-transaction-row-small-upload-receipt",r.id),onClick:E=>{E.stopPropagation()},children:o.jsxRuntimeExports.jsx(t.FileInputElement,{name:"transactionLineAttachment",fileRef:re,sizeLimit:n,isSizeLimitForEachFile:!0,onFileChange:I,multiple:!0,onFileSizeError:(E,ie)=>{E&&g(!1,{code:500,message:ie===!0?Lt.singleFileUploadSizeErrorMessage.replace("__maxFileSize__",t.formatFileSize(n,0)):Lt.multipleFileUploadSizeErrorMessage.replace("__maxFileSize__",t.formatFileSize(n,0))})}})}),os(r,x,J,ce)]})})]})]})}),B&&k.length>0?Uo.createPortal(o.jsxRuntimeExports.jsx(t.DocumentWithThumbnailView,{allFiles:V,fileSource:oe,file:ae,title:ae.fileName,attachments:k,setFileSource:se,setShowFullScreenView:F,onCrossClick:q,setSelectedFileAttachment:_,onDownloadClick:E=>{ne(E.id)},handleTouchStart:Y,handleTouchMove:te,handleTouchEnd:K}),document.body):null]})},ns=e=>me.css`
934
- width: ${t.Space.sp4};
935
- height: ${t.Space.sp4};
936
- color: ${e.colors.hero};
937
- `,Ti=s(ts)`
938
- ${({theme:e})=>ns(e)}
939
- `,ki=s(es)`
940
- ${({theme:e})=>ns(e)}
941
- `,Ao=s.div``,Pi=s.div`
942
- display: flex;
943
- gap: ${t.Space.sp2};
944
- align-items: flex-start;
945
- `,zi=s.div`
946
- display: flex;
947
- flex-direction: row;
948
- align-items: center;
949
- gap: ${t.Space.sp2};
950
- min-height: ${t.Space.sp4};
951
- `,Ai=s(t.ExtraSmallRegular)`
952
- color: ${e=>e.color};
953
- `,Mi=s.div`
954
- display: block;
955
- width: ${t.Space.sp1};
956
- height: ${t.Space.sp1};
957
- border-radius: 100%;
958
- background-color: ${e=>e.theme.colors.grey1};
959
- `,Ii=s(t.SvgTickRoundFill)`
960
- height: ${t.Space.sp4};
961
- width: ${t.Space.sp4};
962
- color: ${t.Colors.success};
963
- `,Wi=s.div``,Bi=s.div`
964
- margin-top: ${t.Space.sp2};
965
- `,Hi=s(t.ExtraSmallRegular)`
966
- color: ${e=>e.theme.colors.hero};
967
- max-width: 100%;
968
- overflow: hidden;
969
- text-overflow: ellipsis;
970
- white-space: nowrap;
971
- padding: 1px 6px;
972
- border-radius: ${t.Space.sp1};
973
- border: 1px solid ${e=>e.theme.colors.grey1};
974
- `,Ni=s.div`
975
- display: flex;
976
- background-color: ${e=>e.theme.colors.grey5};
977
- border: ${e=>` 1px solid ${e.theme.colors.grey3}`};
978
- padding: ${t.Space.sp3};
979
- box-shadow: ${e=>`${t.Space.sp0} 1px 2px ${e.theme.colors.dropShadowNormal}`};
980
- border-radius: ${t.Space.sp2};
981
- color: ${e=>e.theme.colors.hero};
982
- &:hover {
983
- color: ${e=>e.theme.colors.primary};
984
- border-color: ${e=>e.theme.colors.primary};
985
- }
986
- margin-right: ${t.Space.sp3};
987
- margin-left: ${t.Space.sp3};
988
- `,Fi=s.div`
989
- display: block;
990
- width: 100%;
991
- `,Oi=s.div`
992
- display: flex;
993
- width: 100%;
994
- justify-content: space-between;
995
- `,_i=s(t.StandardRegular)`
996
- color: inherit;
997
- flex-grow: 1;
998
- display: -webkit-box;
999
- -webkit-line-clamp: ${e=>Ei.webkitLineClamp.value(e.windowSize)};
1000
- -webkit-box-orient: vertical;
1001
- overflow: hidden;
1002
- text-overflow: ellipsis;
1003
- max-width: 112px;
1004
- overflow: hidden;
1005
- text-overflow: ellipsis;
1006
- text-transform: capitalize;
1007
- `,Gi=s(t.ExtraSmallRegular)`
1008
- color: inherit;
1009
- min-height: 18px;
1010
- margin-top: -${t.Space.sp1};
1011
- `,Zi=s.div`
1012
- display: flex;
1013
- flex-direction: row;
1014
- gap: ${t.Space.sp2};
1015
- `,qi=s.div`
1016
- display: flex;
1017
- flex-direction: column;
1018
- align-items: flex-end;
1019
- `,Ui=s.img`
1020
- display: flex;
1021
- width: ${t.Space.sp4};
1022
- height: ${t.Space.sp4};
1023
- `,Yi=s.div`
1024
- margin-bottom: 6px;
1025
- `,Di=s(t.StandardRegular)`
1026
- color: inherit;
1027
- `,Ki=e=>L.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},L.createElement("g",{clipPath:"url(#clip0_6421_22796)"},L.createElement("mask",{id:"mask0_6421_22796",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:90,height:90},L.createElement("rect",{width:90,height:90,fill:"#D9D9D9"})),L.createElement("g",{mask:"url(#mask0_6421_22796)"},L.createElement("rect",{x:.471703,y:15.6197,width:85.2829,height:54.9872,rx:3.30192,stroke:"#97C3B9",strokeWidth:.943405}),L.createElement("rect",{opacity:.2,x:3.77344,y:18.9216,width:86.2263,height:55.9306,rx:3.77362,fill:"#97C3B9"}),L.createElement("path",{d:"M13.8672 56.8781L72.3583 56.878",stroke:"#EEBA7D",strokeWidth:.943405,strokeLinecap:"round"}),L.createElement("path",{d:"M0.945312 30.8197C34.0042 22.3291 52.539 22.3291 85.5978 30.8197",stroke:"#97C3B9",strokeWidth:.943405,strokeLinecap:"round"}),L.createElement("path",{d:"M15.688 42.7079L14.037 40.3117H15.037L16.1502 41.9154C16.1565 41.928 16.1911 41.9846 16.254 42.0853H16.2729C16.2854 42.0664 16.298 42.0444 16.3106 42.0192C16.3232 41.9878 16.3452 41.95 16.3766 41.906L17.4804 40.3117H18.4238L16.754 42.7456L18.4427 45.1796H17.4427L16.3012 43.5287C16.2886 43.5098 16.2509 43.4469 16.188 43.34H16.1691C16.1502 43.3903 16.1188 43.4501 16.0748 43.5192L14.9238 45.1796H13.9898L15.688 42.7079ZM20.3773 42.7079L18.7264 40.3117H19.7264L20.8396 41.9154C20.8459 41.928 20.8805 41.9846 20.9434 42.0853H20.9623C20.9748 42.0664 20.9874 42.0444 21 42.0192C21.0126 41.9878 21.0346 41.95 21.066 41.906L22.1698 40.3117H23.1132L21.4434 42.7456L23.1321 45.1796H22.1321L20.9906 43.5287C20.978 43.5098 20.9402 43.4469 20.8774 43.34H20.8585C20.8396 43.3903 20.8082 43.4501 20.7641 43.5192L19.6132 45.1796H18.6792L20.3773 42.7079ZM25.0667 42.7079L23.4158 40.3117H24.4158L25.529 41.9154C25.5353 41.928 25.5699 41.9846 25.6328 42.0853H25.6516C25.6642 42.0664 25.6768 42.0444 25.6894 42.0192C25.702 41.9878 25.724 41.95 25.7554 41.906L26.8592 40.3117H27.8026L26.1328 42.7456L27.8215 45.1796H26.8215L25.6799 43.5287C25.6674 43.5098 25.6296 43.4469 25.5667 43.34H25.5479C25.529 43.3903 25.4976 43.4501 25.4535 43.5192L24.3026 45.1796H23.3686L25.0667 42.7079ZM30.8057 42.2551H33.1076V42.9909H30.8057V42.2551ZM37.799 42.7079L36.1481 40.3117H37.1481L38.2613 41.9154C38.2676 41.928 38.3022 41.9846 38.3651 42.0853H38.3839C38.3965 42.0664 38.4091 42.0444 38.4217 42.0192C38.4342 41.9878 38.4563 41.95 38.4877 41.906L39.5915 40.3117H40.5349L38.8651 42.7456L40.5538 45.1796H39.5537L38.4122 43.5287C38.3996 43.5098 38.3619 43.4469 38.299 43.34H38.2802C38.2613 43.3903 38.2298 43.4501 38.1858 43.5192L37.0349 45.1796H36.1009L37.799 42.7079ZM42.4884 42.7079L40.8374 40.3117H41.8375L42.9507 41.9154C42.957 41.928 42.9916 41.9846 43.0544 42.0853H43.0733C43.0859 42.0664 43.0985 42.0444 43.111 42.0192C43.1236 41.9878 43.1456 41.95 43.1771 41.906L44.2809 40.3117H45.2243L43.5544 42.7456L45.2431 45.1796H44.2431L43.1016 43.5287C43.089 43.5098 43.0513 43.4469 42.9884 43.34H42.9695C42.9507 43.3903 42.9192 43.4501 42.8752 43.5192L41.7242 45.1796H40.7903L42.4884 42.7079ZM48.2274 42.2551H50.5293V42.9909H48.2274V42.2551ZM55.2207 42.7079L53.5697 40.3117H54.5697L55.683 41.9154C55.6892 41.928 55.7238 41.9846 55.7867 42.0853H55.8056C55.8182 42.0664 55.8308 42.0444 55.8433 42.0192C55.8559 41.9878 55.8779 41.95 55.9094 41.906L57.0132 40.3117H57.9566L56.2867 42.7456L57.9754 45.1796H56.9754L55.8339 43.5287C55.8213 43.5098 55.7836 43.4469 55.7207 43.34H55.7018C55.683 43.3903 55.6515 43.4501 55.6075 43.5192L54.4565 45.1796H53.5226L55.2207 42.7079ZM59.9101 42.7079L58.2591 40.3117H59.2591L60.3723 41.9154C60.3786 41.928 60.4132 41.9846 60.4761 42.0853H60.495C60.5076 42.0664 60.5201 42.0444 60.5327 42.0192C60.5453 41.9878 60.5673 41.95 60.5988 41.906L61.7025 40.3117H62.6459L60.9761 42.7456L62.6648 45.1796H61.6648L60.5233 43.5287C60.5107 43.5098 60.473 43.4469 60.4101 43.34H60.3912C60.3723 43.3903 60.3409 43.4501 60.2969 43.5192L59.1459 45.1796H58.2119L59.9101 42.7079ZM64.5995 42.7079L62.9485 40.3117H63.9485L65.0617 41.9154C65.068 41.928 65.1026 41.9846 65.1655 42.0853H65.1844C65.1969 42.0664 65.2095 42.0444 65.2221 42.0192C65.2347 41.9878 65.2567 41.95 65.2881 41.906L66.3919 40.3117H67.3353L65.6655 42.7456L67.3542 45.1796H66.3542L65.2127 43.5287C65.2001 43.5098 65.1624 43.4469 65.0995 43.34H65.0806C65.0617 43.3903 65.0303 43.4501 64.9863 43.5192L63.8353 45.1796H62.9013L64.5995 42.7079ZM69.2888 42.7079L67.6379 40.3117H68.6379L69.7511 41.9154C69.7574 41.928 69.792 41.9846 69.8549 42.0853H69.8738C69.8863 42.0664 69.8989 42.0444 69.9115 42.0192C69.9241 41.9878 69.9461 41.95 69.9775 41.906L71.0813 40.3117H72.0247L70.3549 42.7456L72.0436 45.1796H71.0436L69.9021 43.5287C69.8895 43.5098 69.8517 43.4469 69.7888 43.34H69.77C69.7511 43.3903 69.7197 43.4501 69.6756 43.5192L68.5247 45.1796H67.5907L69.2888 42.7079Z",fill:"#EEBA7D"}))),L.createElement("defs",null,L.createElement("clipPath",{id:"clip0_6421_22796"},L.createElement("rect",{width:90,height:90,fill:"white"})))),Xi=e=>L.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},L.createElement("g",{clipPath:"url(#clip0_6421_22782)"},L.createElement("path",{opacity:.2,d:"M46.4732 89.7815C70.4353 89.7815 89.8605 70.3564 89.8605 46.3942C89.8605 22.4321 70.4353 3.00696 46.4732 3.00696C22.5111 3.00696 3.08594 22.4321 3.08594 46.3942C3.08594 70.3564 22.5111 89.7815 46.4732 89.7815Z",fill:"#97C3B9"}),L.createElement("path",{d:"M44.0435 87.3468C68.0057 87.3468 87.4308 67.9217 87.4308 43.9595C87.4308 19.9974 68.0057 0.572266 44.0435 0.572266C20.0814 0.572266 0.65625 19.9974 0.65625 43.9595C0.65625 67.9217 20.0814 87.3468 44.0435 87.3468Z",stroke:"#97C3B9",strokeWidth:1.04046,strokeMiterlimit:10}),L.createElement("path",{d:"M5.11719 45.0781C5.11719 65.6012 21.7594 82.3006 42.2149 82.3006",stroke:"#EEBA7D",strokeWidth:1.04046,strokeMiterlimit:10,strokeLinecap:"round"}),L.createElement("path",{d:"M9.14062 45.0781C9.14062 57.3347 15.7996 68.0619 25.6788 73.8104",stroke:"#EEBA7D",strokeWidth:1.04046,strokeMiterlimit:10,strokeLinecap:"round"}),L.createElement("path",{d:"M24.0625 56.6948C24.0625 49.1878 33.0053 43.1011 44.0446 43.1011C55.0839 43.1011 64.0267 49.1878 64.0267 56.6948C64.0267 71.3861 24.0677 71.5422 24.0677 56.6948H24.0625Z",stroke:"#97C3B9",strokeWidth:.988439,strokeMiterlimit:10}),L.createElement("path",{d:"M44.0423 37.0092C48.6997 37.0092 52.4753 33.2336 52.4753 28.5763C52.4753 23.9189 48.6997 20.1433 44.0423 20.1433C39.3849 20.1433 35.6094 23.9189 35.6094 28.5763C35.6094 33.2336 39.3849 37.0092 44.0423 37.0092Z",stroke:"#97C3B9",strokeWidth:.988439,strokeMiterlimit:10}),L.createElement("path",{d:"M81.918 44.0324C81.918 23.5093 65.2758 6.80988 44.8203 6.80988",stroke:"#EEBA7D",strokeWidth:1.04046,strokeMiterlimit:10,strokeLinecap:"round"}),L.createElement("path",{d:"M77.8975 44.0324C77.8975 31.7758 71.2386 21.0486 61.3594 15.3",stroke:"#EEBA7D",strokeWidth:1.04046,strokeMiterlimit:10,strokeLinecap:"round"})),L.createElement("defs",null,L.createElement("clipPath",{id:"clip0_6421_22782"},L.createElement("rect",{width:90,height:90,fill:"white"})))),{spendManagement:{chargeCard:{cardDetails:Ve}},common:Ji}=t.appLocale.getLocalizedStrings();function Qi({transactions:e,documentAiReceiptMaxSizeLimit:n,isSnackbarOpen:a,uploadReceiptsFetchStateByTransactionId:c,uploadReceiptsShowTickByTransactionId:d,isViewReceiptClickedImmediatelyAfterUploadTransactionId:h,cardId:l,receiptRequiredAboveAmount:m,isAiCategorizationEnabledForCardsTransactions:u,transactionAttachmentsEndpointToFetch:S,transactionAttachmentEndpointToDownload:C,cardsEndPoint:r,authParams:x,hideSorting:g,isOwnCard:R,uiState:f,fetchState:$,cardHolderUser:b,cardStatusCode:p="active",cardCodeType:P="business_virtual_credit_card",onReloadTransactions:y,onFetchChargeCardTransactionList:A,onColumnSortConfigChanged:H,removeSnackbar:w,onChargeCardTransactionRowClick:N,onUploadReceiptComplete:D,onUpdateScrollYOffset:Z,updateChargeCardTransactionAttachments:T,updateChargeCardTransactionUploadReceiptsFetchStatus:Y,updateChargeCardTransactionReceiptsShowTick:te,updateChargeCardTransactionIsViewReceiptClicked:Q}){const K=t.useWindowSizeContext(),B=i.useRef(null),[F,V]=i.useState(!1);i.useEffect(()=>{B.current?.resetAfterIndex(0)},[K,B]),i.useEffect(()=>{$==="Completed"&&V(!1)},[$]);const X=()=>K!=="small"?74:128,oe=(_,G)=>{A(_,G)},se=()=>{V(!0),oe(f.pageToken,f.pageTokenType)},k=_=>_<e.length,ae=()=>{f.pageToken!=null&&$==="Completed"&&se()};return o.jsxRuntimeExports.jsxs(ia,{isOwnCard:R,windowSize:K,isEmptyTransaction:e.length===0,children:[o.jsxRuntimeExports.jsx(aa,{windowSize:K,children:$==="Error"?o.jsxRuntimeExports.jsxs(da,{children:[o.jsxRuntimeExports.jsx(pa,{onClick:y,"data-testid":t.generateDataTestId("card-transaction-list-reload"),children:o.jsxRuntimeExports.jsx(t.SvgReload,{})}),o.jsxRuntimeExports.jsx(ua,{children:Ji.reloadPage.label})]}):$==="Not-Started"||$==="In-Progress"&&e.length===0?o.jsxRuntimeExports.jsx(xa,{children:o.jsxRuntimeExports.jsx(t.ActivityIndicator,{size:"ExtraLarge",start:!0})}):$==="Completed"||$==="In-Progress"&&e.length>0?p==="request_on_hold"?o.jsxRuntimeExports.jsx(ea,{cardType:P,cardHolderUser:b}):p==="inactive"?o.jsxRuntimeExports.jsx(ta,{cardHolderUser:b}):e.length===0?o.jsxRuntimeExports.jsx(Vi,{}):o.jsxRuntimeExports.jsx(ca,{windowSize:K,children:o.jsxRuntimeExports.jsx(o.AutoSizer,{children:({height:_,width:G})=>o.jsxRuntimeExports.jsx(o.InfiniteLoader,{isItemLoaded:k,itemCount:e.length+1,loadMoreItems:ae,children:({onItemsRendered:j})=>o.jsxRuntimeExports.jsx(o.VariableSizeList,{ref:B,height:_,itemCount:e.length,onItemsRendered:j,itemSize:X,itemKey:O=>e[O].id,width:G,style:{willChange:"auto"},innerElementType:O=>ra(O,g,f,$,H),onScroll:({scrollOffset:O})=>{Z?.(O)},initialScrollOffset:f.scrollYOffset,children:O=>o.jsxRuntimeExports.jsx(oa,{...O,documentAiReceiptMaxSizeLimit:n,isSnackbarOpen:a,cardsEndPoint:r,isAiCategorizationEnabledForCardsTransactions:u,transactionAttachmentsEndpointToFetch:S,transactionAttachmentEndpointToDownload:C,uploadReceiptsFetchStateByTransactionId:c,uploadReceiptsShowTickByTransactionId:d,isViewReceiptClickedImmediatelyAfterUploadTransactionId:h,cardId:l,authParams:x,transactions:e,receiptRequiredAboveAmount:m,updateChargeCardTransactionAttachments:T,onUploadReceiptComplete:D,updateChargeCardTransactionUploadReceiptsFetchStatus:Y,updateChargeCardTransactionReceiptsShowTick:te,updateChargeCardTransactionIsViewReceiptClicked:Q,onChargeCardTransactionRowClick:N,removeSnackbar:w})})})})}):null}),F===!0?o.jsxRuntimeExports.jsx(ha,{children:o.jsxRuntimeExports.jsx(t.ActivityIndicator,{size:"Small",start:!0})}):null]})}const Vi=()=>{const e=t.useWindowSizeContext();return o.jsxRuntimeExports.jsxs(At,{children:[o.jsxRuntimeExports.jsx(Bt,{children:o.jsxRuntimeExports.jsx(is,{})}),o.jsxRuntimeExports.jsxs(Mt,{children:[o.jsxRuntimeExports.jsx(It,{children:Ve.transactionTable.emptyTransactions.title}),o.jsxRuntimeExports.jsx(Wt,{windowSize:e,children:Ve.transactionTable.emptyTransactions.subTitle})]})]})},ea=({cardType:e,cardHolderUser:n})=>{const a=n!=null?n.firstName+" "+n.lastName:"",c=t.useWindowSizeContext();return o.jsxRuntimeExports.jsxs(At,{children:[o.jsxRuntimeExports.jsx(Bt,{children:o.jsxRuntimeExports.jsx(Sa,{})}),o.jsxRuntimeExports.jsxs(Mt,{children:[o.jsxRuntimeExports.jsx(It,{children:Ve.transactionTable.pendingProfileCompletion.title}),o.jsxRuntimeExports.jsx(Wt,{windowSize:c,children:Ve.transactionTable.pendingProfileCompletion.subTitle[e].replace("__user__",a)})]})]})},ta=({cardHolderUser:e})=>{const n=t.useWindowSizeContext();return o.jsxRuntimeExports.jsxs(At,{children:[o.jsxRuntimeExports.jsx(Bt,{children:o.jsxRuntimeExports.jsx(is,{})}),o.jsxRuntimeExports.jsxs(Mt,{children:[o.jsxRuntimeExports.jsx(It,{children:Ve.transactionTable.pendingActivation.title}),o.jsxRuntimeExports.jsx(Wt,{windowSize:n,children:Ve.transactionTable.pendingActivation.subTitle.replace("__user__",e?.firstName??"")})]})]})},oa=({index:e,documentAiReceiptMaxSizeLimit:n,isSnackbarOpen:a,style:c,transactions:d,isAiCategorizationEnabledForCardsTransactions:h,uploadReceiptsFetchStateByTransactionId:l,uploadReceiptsShowTickByTransactionId:m,isViewReceiptClickedImmediatelyAfterUploadTransactionId:u,cardId:S,cardsEndPoint:C,transactionAttachmentsEndpointToFetch:r,transactionAttachmentEndpointToDownload:x,receiptRequiredAboveAmount:g,authParams:R,updateChargeCardTransactionAttachments:f,onUploadReceiptComplete:$,updateChargeCardTransactionUploadReceiptsFetchStatus:b,updateChargeCardTransactionReceiptsShowTick:p,updateChargeCardTransactionIsViewReceiptClicked:P,onChargeCardTransactionRowClick:y,removeSnackbar:A})=>o.jsxRuntimeExports.jsx(ma,{style:{...c,width:"100%"},className:"spend-management-list-item",children:o.jsxRuntimeExports.jsx(na,{documentAiReceiptMaxSizeLimit:n,isSnackbarOpen:a,cardId:S,isAiCategorizationEnabledForCardsTransactions:h,cardsEndPoint:C,transactionAttachmentsEndpointToFetch:r,transactionAttachmentEndpointToDownload:x,authParams:R,receiptRequiredAboveAmount:g,transaction:d[e],uploadReceiptsFetchState:l?.[d[e].id],uploadReceiptsShowTick:m?.[d[e].id],isViewReceiptClickedImmediatelyAfterUpload:u?.[d[e].id],updateChargeCardTransactionAttachments:f,onUploadReceiptComplete:$,updateChargeCardTransactionUploadReceiptsFetchStatus:b,updateChargeCardTransactionReceiptsShowTick:p,updateChargeCardTransactionIsViewReceiptClicked:P,onChargeCardTransactionRowClick:y,removeSnackbar:A},d[e].id)}),sa=({transaction:e,documentAiReceiptMaxSizeLimit:n,isSnackbarOpen:a,isAiCategorizationEnabledForCardsTransactions:c,uploadReceiptsFetchState:d,uploadReceiptsShowTick:h,isViewReceiptClickedImmediatelyAfterUpload:l,cardsEndPoint:m,transactionAttachmentsEndpointToFetch:u,transactionAttachmentEndpointToDownload:S,cardId:C,receiptRequiredAboveAmount:r,authParams:x,updateChargeCardTransactionAttachments:g,onUploadReceiptComplete:R,updateChargeCardTransactionUploadReceiptsFetchStatus:f,updateChargeCardTransactionReceiptsShowTick:$,updateChargeCardTransactionIsViewReceiptClicked:b,onChargeCardTransactionRowClick:p,removeSnackbar:P})=>{const A=t.useWindowSizeContext()==="small"?Li:ti;return o.jsxRuntimeExports.jsx(A,{isSnackbarOpen:a,documentAiReceiptMaxSizeLimit:n,isAiCategorizationEnabledForCardsTransactions:c,transactionAttachmentsEndpointToFetch:u,transactionAttachmentEndpointToDownload:S,uploadReceiptsFetchState:d,uploadReceiptsShowTick:h,isViewReceiptClickedImmediatelyAfterUpload:l,transaction:e,cardId:C,receiptRequiredAboveAmount:r,cardsEndPoint:m,authParams:x,updateChargeCardTransactionAttachments:g,onUploadReceiptComplete:R,updateChargeCardTransactionUploadReceiptsFetchStatus:f,updateChargeCardTransactionReceiptsShowTick:$,updateChargeCardTransactionIsViewReceiptClicked:b,onChargeCardTransactionRowClick:p,removeSnackbar:P})},na=i.memo(sa),ra=(e,n,a,c,d)=>o.jsxRuntimeExports.jsx(rs,{...e,onColumnSortConfigChanged:d,hideSorting:n,uiState:{sortKey:a.sortKey,sortOrder:a.sortOrder},fetchState:c}),rs=i.forwardRef((e,n)=>{const{children:a,style:c,uiState:d,onColumnSortConfigChanged:h,hideSorting:l,...m}=e;return o.jsxRuntimeExports.jsxs(ga,{ref:n,style:{...c,width:"auto"},...m,children:[o.jsxRuntimeExports.jsx(Hr,{onColumnSortConfigChanged:h,sortConfig:{sortKey:d.sortKey,sortOrder:d.sortOrder},hideSorting:l}),o.jsxRuntimeExports.jsx(la,{children:a})]})});rs.displayName="Charge Card Transaction list View inner element type";const ia=s.div`
1028
- display: block;
1029
- height: ${e=>e.isEmptyTransaction?"calc(100vh - 436px)":"calc(100vh - 224px)"};
1030
- width: 100%;
1031
- `,aa=s.div`
1032
- height: 100%;
1033
- `,la=s.div`
1034
- position: relative;
1035
- width: auto;
1036
- height: 100%;
1037
- `,ca=s.div`
1038
- height: 100%;
1039
- display: flex;
1040
- flex-direction: column;
1041
- max-width: 99.9%;
1042
- `,da=s.div`
1043
- display: flex;
1044
- width: 100%;
1045
- height: calc(100% - 60px);
1046
- flex-direction: column;
1047
- justify-content: center;
1048
- align-items: center;
1049
- `,pa=s.div`
1050
- height: 96px;
1051
- width: 96px;
1052
- background: ${e=>e.theme.colors.background};
1053
- border-radius: 50%;
1054
- cursor: pointer;
1055
- & svg {
1056
- margin: ${t.Space.sp5};
1057
- color: ${e=>e.theme.colors.grey1};
1058
- }
1059
- &:hover {
1060
- & svg {
1061
- color: ${e=>e.theme.colors.primary};
1062
- }
1063
- }
1064
- `,ua=s(t.SmallRegularSp)`
1065
- margin-top: ${t.Space.sp3};
1066
- color: ${e=>e.theme.colors.hero};
1067
- `,ma=s.div`
1068
- top: ${t.Space.sp0};
1069
- left: ${t.Space.sp0};
1070
- padding-bottom: ${t.Space.sp3};
1071
- box-sizing: border-box;
1072
- `,xa=s.div`
1073
- display: flex;
1074
- width: 100%;
1075
- height: 100%;
1076
- flex-direction: row;
1077
- justify-content: center;
1078
- align-items: center;
1079
- margin-top: ${t.Space.sp3};
1080
- margin-bottom: ${t.Space.sp3};
1081
- `,ha=s.div`
1082
- display: flex;
1083
- width: 100%;
1084
- height: auto;
1085
- padding-bottom: ${t.Space.sp3};
1086
- flex-direction: row;
1087
- justify-content: center;
1088
- align-items: center;
1089
- `,At=s.div`
1090
- display: flex;
1091
- justify-content: center;
1092
- align-items: center;
1093
- flex-direction: column;
1094
- gap: ${t.Space.sp2};
1095
- height: 100%;
1096
- margin: ${t.Space.sp0} ${t.Space.sp3};
1097
- `,Mt=s.div`
1098
- display: flex;
1099
- flex-direction: column;
1100
- align-items: center;
1101
- `,It=s(t.H6Regular)`
1102
- color: ${e=>e.theme.colors.brandColorJade};
1103
- `,Wt=s(t.LargeRegular)`
1104
- color: ${e=>e.theme.colors.primary};
1105
- ${e=>e.windowSize!=="small"?me.css`
1106
- white-space: pre;
1107
- `:null};
1108
- text-align: center;
1109
- `,Bt=s.div``,ga=s.div``,is=s(Ki)``,Sa=s(Xi)``,{spendManagement:Ca}=t.appLocale.getLocalizedStrings(),{cardDetails:ze}=Ca.chargeCard,fa=me.keyframes`
1110
- from {
1111
- transform: translateX(100%);
1112
- }
1113
- to {
1114
- transform: translateX(0);
1115
- }
1116
- `,ya=e=>{switch(e){case"slide-in-right-to-left-add-to-wallet":return fa;default:return null}},ja=s.div`
1117
- display: flex;
1118
- flex-direction: column;
1119
- background-color: ${e=>e.theme.colors.grey4};
1120
- height: inherit;
1121
- `,$a=s(ja)`
1122
- animation: ${e=>ya(e.className)} 0.3s forwards;
1123
- `,va=({isChargeCardAdmin:e,chargeCardDetailView:n,walletType:a,secretRevealed:c,isDrawerOpen:d,vgsVaultId:h,showSecretInfo:l,changePinInProcess:m,isSandboxEnv:u,controllerEmails:S,isChargeCardFeatureEnabled:C,isDebitCardFeatureEnabled:r,isDebitCardSetupEnabled:x,isChargeCardSetupEnabled:g,chargeCardCashbackDetailState:R,isCardDetailErrored:f,creditAccountRepayment:$,productInformation:b,creditAccountInformation:p,debitAccountInformation:P,cashbackInformation:y,signedInUserToken:A,selectedColor:H,showDrawerAnimation:w,cardDetailsFetchState:N,setCardDetailsFetchState:D,setIsCardDetailErrored:Z,setShowSecretInfo:T,setSecretRevealed:Y,setShowChangePinPopup:te,setIsAddToWalletDrawerOpen:Q,isCardDetailFetching:K,handleColorCodeClick:B,onFireOnClickAnalytics:F,onVerifyOtp:V,onVerifyOtpSuccess:X,onResendOtp:oe,onFireVerifyPopOnClickAnalytics:se,onGetOtp:k})=>{const ae=o.useTheme(),[_,G]=i.useState(!1),[j,O]=i.useState(!1),ne=w.current;return i.useEffect(()=>{d?document.body.style.overflow="hidden":document.body.style.overflow="unset"},[d,w]),o.jsxRuntimeExports.jsx(o.Drawer,{onClose:()=>{Q(!1)},anchor:"right",open:!0,PaperProps:{style:{maxWidth:"512px",boxShadow:"none",background:"transparent"}},style:{backgroundColor:t.Colors.drawerBackground,display:d?"unset":"none"},disableScrollLock:!d,transitionDuration:250,"data-testid":t.generateDataTestId("add-card-to-wallet-drawer"),children:o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsx(t.OtpPopupSection,{phoneNumberPopupDescription:ze.verifyPhoneNumberDescription,showOtpPopup:_,showPhoneNumberPopup:j,twoFactorAuthenticationView:n.twoFAView,loggedInUserPhone:n.loggedInUserPhone,onVerifyOtp:V,onVerifyOtpSuccess:q=>{X(q),m?te(!0):T(!0)},onFireVerifyPopOnClickAnalytics:se,setShowOtpPopup:G,onResendOtp:oe,setShowPhoneNumberPopup:O,onGetOtp:k}),o.jsxRuntimeExports.jsxs($a,{className:ne,children:[o.jsxRuntimeExports.jsx(t.NavBarWithClose,{title:a==="apple"?ze.addCardToAppleWallet:ze.addCardToGoogleWallet,style:{zIndex:4},backgroundColor:ae.colors.grey4,onCloseClick:()=>Q(!1)}),o.jsxRuntimeExports.jsxs(wa,{children:[o.jsxRuntimeExports.jsxs(Ta,{children:[o.jsxRuntimeExports.jsxs(ba,{children:[o.jsxRuntimeExports.jsx(Wa,{children:o.jsxRuntimeExports.jsx(Ha,{})}),o.jsxRuntimeExports.jsx(Pa,{children:ze.openWalletAppOnPhone})]}),o.jsxRuntimeExports.jsx(za,{children:a==="apple"?ze.openWalletDescriptionApple:ze.openWalletDescriptionGoogle}),o.jsxRuntimeExports.jsx(Ko,{isChargeCardAdmin:e,onUnlockChargeCard:()=>{},chargeCardDetailView:n,creditAccountRepayment:$,creditAccount:n.creditAccount,setShowSecretInfo:T,secretRevealed:c,isOwnCard:!0,controllerEmails:S,isChargeCardFeatureEnabled:C,isDebitCardFeatureEnabled:r,isDebitCardSetupEnabled:x,isChargeCardSetupEnabled:g,chargeCardCashbackDetailState:R,isShowingInDrawer:!0,vgsVaultId:h,showSecretInfo:l,isSandboxEnv:u,isCardDetailErrored:f,signedInUserToken:A,productInformation:b,creditAccountInformation:p,debitAccountInformation:P,cashbackInformation:y,selectedColor:H,cardDetailsFetchState:N,setCardDetailsFetchState:D,setIsCardDetailErrored:Z,setSecretRevealed:Y,isCardDetailFetching:K,handleColorCodeClick:B,onFireOnClickAnalytics:F,setShowPhoneNumberForOtp:O})]}),o.jsxRuntimeExports.jsx(La,{}),o.jsxRuntimeExports.jsxs(ka,{children:[o.jsxRuntimeExports.jsxs(Ea,{children:[o.jsxRuntimeExports.jsx(Ia,{children:o.jsxRuntimeExports.jsx(Ba,{})}),o.jsxRuntimeExports.jsx(Aa,{children:ze.verifyCard})]}),o.jsxRuntimeExports.jsx(Ra,{children:o.jsxRuntimeExports.jsx(Ma,{children:a==="apple"?ze.VerifyCardDescriptionApple:ze.VerifyCardDescriptionGoogle})})]})]})]})]})})},Ra=s.div`
1124
- display: flex;
1125
- justify-content: end;
1126
- `,wa=s.div`
1127
- margin: ${t.Space.sp3} ${t.Space.sp8};
1128
- `,ba=s.div`
1129
- display: flex;
1130
- align-items: center;
1131
- gap: ${t.Space.sp3};
1132
- `,Ea=s.div`
1133
- display: flex;
1134
- align-items: center;
1135
- gap: ${t.Space.sp3};
1136
- `,La=s.div`
1137
- height: ${t.Space.sp4};
1138
- border: 1px solid ${e=>e.theme.colors.grey2};
1139
- width: ${t.Space.sp0};
1140
- margin-left: ${t.Space.sp8};
1141
- `,Ta=s.div`
1142
- background-color: ${e=>e.theme.colors.grey5};
1143
- border: 1px solid ${e=>e.theme.colors.grey3};
1144
- border-radius: ${t.Space.sp2};
1145
- padding: ${t.Space.sp4} ${t.Space.sp5};
1146
- box-shadow: ${t.Space.sp0} 1px 2px
1147
- ${e=>e.theme.colors.dropShadowNormal};
1148
- `,ka=s.div`
1149
- background-color: ${e=>e.theme.colors.grey5};
1150
- border: 1px solid ${e=>e.theme.colors.grey3};
1151
- border-radius: ${t.Space.sp2};
1152
- padding: ${t.Space.sp4} ${t.Space.sp5};
1153
- box-shadow: ${t.Space.sp0} 1px 2px
1154
- ${e=>e.theme.colors.dropShadowNormal};
1155
- `,Pa=s(t.LargeSemiBold)`
1156
- color: ${e=>e.theme.colors.primary};
1157
- `,za=s(t.StandardRegular)`
1158
- color: ${e=>e.theme.colors.hero};
1159
- margin-left: ${t.Space.sp9};
1160
- padding-bottom: ${t.Space.sp4};
1161
- `,Aa=s(t.LargeSemiBold)`
1162
- color: ${e=>e.theme.colors.primary};
1163
- `,Ma=s(t.StandardRegular)`
1164
- color: ${e=>e.theme.colors.hero};
1165
- max-width: 274px;
1166
- `,Ia=s.div`
1167
- padding: 12px;
1168
- border-radius: ${t.Space.sp4};
1169
- background: ${t.Colors.successLight};
1170
- display: flex;
1171
- `,Wa=s.div`
1172
- padding: 12px;
1173
- border-radius: ${t.Space.sp4};
1174
- background: ${e=>e.theme.colors.graphColor16Light};
1175
- display: flex;
1176
- `,Ba=s(t.SvgVerified)`
1177
- width: ${t.Space.sp4};
1178
- height: ${t.Space.sp4};
1179
- `,Ha=s(Ye.SvgAddToWallet)`
1180
- width: ${t.Space.sp4};
1181
- height: ${t.Space.sp4};
1182
- color: ${e=>e.theme.colors.graphColor16Dark};
1183
- `,{spendManagement:{chargeCard:{cardDetails:qe}},common:{strings:Na}}=t.appLocale.getLocalizedStrings(),Ht={iFrameWidth:new t.ResponsiveSized(188,188)};function Fa({isSandboxEnv:e,cardProviderID:n,vgsVaultId:a,signedInUserToken:c,onCancelClick:d,onUpdateDebitCardPinAttempt:h,onChangePinSuccess:l}){const m=t.useWindowSizeContext(),u=o.useTheme(),[S,C]=i.useState({}),[r,x]=i.useState(!1),[g,R]=i.useState(!1),[f,$]=i.useState(!0),[b,p]=i.useState(!0),[P,y]=i.useState(!1),[A,H]=i.useState(!1),[w,N]=i.useState(!1),[D,Z]=i.useState(!1),[T,Y]=i.useState(!1),[te,Q]=i.useState(!1),[K,B]=i.useState(!1),[F,V]=i.useState(null),[X,oe]=i.useState(null),[se]=t.useScript("https://js.verygoodvault.com/vgs-collect/2.27.0/vgs-collect.js"),k=e?"SANDBOX":"live";i.useEffect(()=>{if(se){const G=window.VGSCollect.create(a,k,ne=>{const q=ne["data.attributes.oldPin"],v=ne["data.attributes.newPin"];q?.isTouched===!0&&q?.isValid===!1&&q?.isFocused===!1?Z(!0):(q?.isTouched===!0&&q?.isValid===!0&&q?.isFocused===!1||q?.isTouched===!0&&q?.isValid===!0&&q?.isFocused===!0)&&(Z(!1),B(!1)),v?.isTouched===!0&&v?.isValid===!1&&v?.isFocused===!1?Y(!0):(v?.isTouched===!0&&v?.isValid===!0&&v?.isFocused===!1||v?.isTouched===!0&&v?.isValid===!0&&v?.isFocused===!0)&&Y(!1)}),j=G.field("#oldPin",{type:"text",name:"data.attributes.oldPin",placeholder:"0000",autoComplete:"off",maxLength:4,hideValue:!0,validations:["required","/^([0-9]{4})$/"],css:{...t.textStyles.standardRegular.cssObject,border:"none",boxSizing:"border-box",color:u.colors.primary,height:t.Space.sp6,padding:`${t.Space.sp0} ${t.Space.sp3}`,textAlign:"right","&::placeholder":{color:u.colors.grey1,...t.textStyles.standardRegular.cssObject},"&.invalid.touched:not(.focused)":{color:t.Colors.important,background:t.Colors.importantLight},"&:focus":{background:`${u.colors.background} !important`,textAlign:"left",color:`${u.colors.primary} !important`}}}),O=G.field("#newPin",{type:"text",name:"data.attributes.newPin",placeholder:"0000",autoComplete:"off",maxLength:4,hideValue:!0,validations:["required","/^([0-9]{4})$/"],css:{...t.textStyles.standardRegular.cssObject,border:"none",boxSizing:"border-box",color:u.colors.primary,height:t.Space.sp6,padding:`${t.Space.sp0} ${t.Space.sp3}`,textAlign:"right","&::placeholder":{color:u.colors.grey1,...t.textStyles.standardRegular.cssObject},"&.invalid.touched:not(.focused)":{color:t.Colors.important,background:t.Colors.importantLight},"&:focus":{background:`${u.colors.background} !important`,textAlign:"left",color:`${u.colors.primary} !important`}}});V(j),oe(O),C(G),Promise.all([j.promise,O.promise]).then(function(){R(!0)})}},[se]),i.useEffect(()=>{F?.update({hideValue:f})},[F,f]),i.useEffect(()=>{X?.update({hideValue:b})},[X,b]);const ae=G=>{x(!0),B(!1),S.submit?.("/cards/"+n+"/secure-data/pin",{method:"PUT",mapDotToObject:"true",headers:{"Content-Type":"application/vnd.api+json",Authorization:"Bearer "+G?.token}},function(j,O){j===200?(y(!1),H(!1),l(),h("success")):(Z(!0),h("failed"),O.errors?.[0].title.toLowerCase().includes("max")?Q(!0):O.errors?.[0].title.toLowerCase().includes("invalid")&&B(!0),x(!1))},j=>{console.log("error",j),x(!1)})},_={onOkClick:()=>{if(!S.state)return;const G=S.state["data.attributes.newPin"]?.isValid,j=S.state["data.attributes.oldPin"]?.isValid;N(!0),G===!0&&j===!0&&ae(c)},onCancelClick:d};return o.jsxRuntimeExports.jsx(t.ConfirmationPopup,{titleComponent:o.jsxRuntimeExports.jsx(Oa,{children:qe.moreOptions.changePin}),descriptionComponent:o.jsxRuntimeExports.jsxs(_a,{children:[o.jsxRuntimeExports.jsxs(Ya,{children:[o.jsxRuntimeExports.jsxs(Fo,{showFieldError:D,windowSize:m,isFirstField:!0,validation:w,onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),oldPinInputHighlighted:P,children:[o.jsxRuntimeExports.jsx(Bo,{children:qe.existingPin}),o.jsxRuntimeExports.jsxs(Ho,{windowSize:m,children:[o.jsxRuntimeExports.jsx(Ua,{id:"oldPin",className:"cc-old-pin-form-field",windowSize:m}),o.jsxRuntimeExports.jsx(Mo,{onClick:()=>$(!f),"data-testid":t.generateDataTestId("cc-old-pin-show-text"),children:f?o.jsxRuntimeExports.jsx(Io,{}):o.jsxRuntimeExports.jsx(Wo,{})})]})]}),o.jsxRuntimeExports.jsx(Za,{}),o.jsxRuntimeExports.jsxs(Fo,{showFieldError:T,windowSize:m,isFirstField:!1,validation:w,onMouseEnter:()=>H(!0),onMouseLeave:()=>H(!1),newPinInputHighlighted:A,children:[o.jsxRuntimeExports.jsx(Bo,{children:qe.newPin}),o.jsxRuntimeExports.jsxs(Ho,{windowSize:m,children:[o.jsxRuntimeExports.jsx(qa,{id:"newPin",className:"cc-new-pin-form-field",windowSize:m}),o.jsxRuntimeExports.jsx(Mo,{onClick:()=>p(!b),"data-testid":t.generateDataTestId("cc-new-pin-show-text"),children:b?o.jsxRuntimeExports.jsx(Io,{}):o.jsxRuntimeExports.jsx(Wo,{})})]})]})]}),K?o.jsxRuntimeExports.jsx(No,{children:qe.incorrectCurrentPIN}):null,te?o.jsxRuntimeExports.jsx(No,{children:qe.pinAttemptsReached}):null]}),primaryButtonText:"Change",primaryButtonWidth:87,isLoading:r,isDisabled:g===!1||te,secondaryButtonWidth:87,buttonContainerStyle:{paddingTop:t.Space.sp3,paddingBottom:t.Space.sp2},secondaryButtonText:"Cancel",action:_,containerStyle:{maxWidth:"544px"},footerHelperComponent:o.jsxRuntimeExports.jsxs(t.ConfirmationPopUpFooterHelper,{children:[o.jsxRuntimeExports.jsx(Ga,{children:qe.forgotYourPin}),Na.space,qe.callTollFree]})})}const Oa=s(t.H6Medium)`
1184
- margin-top: ${t.Space.sp7};
1185
- padding-left: ${t.Space.sp8};
1186
- padding-right: ${t.Space.sp8};
1187
- color: ${e=>e.theme.colors.primary};
1188
- word-break: break-word;
1189
- `,_a=s(t.ConfirmationPopUpDescription)`
1190
- margin-top: ${t.Space.sp5};
1191
- margin-bottom: ${t.Space.sp5};
1192
- `,Ga=s.span`
1193
- color: ${e=>e.theme.colors.primary};
1194
- `,Mo=s.div`
1195
- cursor: pointer;
1196
- margin-left: ${t.Space.sp2};
1197
- `,Io=s(t.SvgVisibleOn)`
1198
- height: ${t.Space.sp4};
1199
- width: ${t.Space.sp4};
1200
- color: ${e=>e.theme.colors.hero};
1201
- `,Wo=s(t.SvgVisibleOff)`
1202
- height: ${t.Space.sp4};
1203
- width: ${t.Space.sp4};
1204
- color: ${e=>e.theme.colors.hero};
1205
- `,Bo=s.label`
1206
- margin-top: ${t.Space.sp2};
1207
- `,Ho=s.div`
1208
- display: flex;
1209
- flex-direction: row;
1210
- align-items: center;
1211
- max-width: 220px;
1212
- `,No=s(t.StandardRegular)`
1213
- color: ${t.Colors.important};
1214
- display: flex;
1215
- flex-direction: column;
1216
- align-items: center;
1217
- text-align: right;
1218
- margin-top: ${t.Space.sp3};
1219
- `,Za=s.div`
1220
- display: flex;
1221
- flex: 1;
1222
- background-color: ${e=>e.theme.colors.grey3};
1223
- min-height: 1px;
1224
- max-height: 1px;
1225
- `,qa=s.div`
1226
- border-radius: ${t.Space.sp1};
1227
- height: ${t.Space.sp6};
1228
- width: ${e=>Ht.iFrameWidth.valuePx(e.windowSize)};
1229
- `,Ua=s.div`
1230
- border-radius: ${t.Space.sp1};
1231
- height: ${t.Space.sp6};
1232
- width: ${e=>Ht.iFrameWidth.valuePx(e.windowSize)};
1233
- `,Ya=s.div`
1234
- border: 1px solid ${e=>e.theme.colors.grey3};
1235
- border-radius: ${t.Space.sp2};
1236
- `,Fo=s.div`
1237
- display: flex;
1238
- padding: ${t.Space.sp2};
1239
- padding-left: ${t.Space.sp4};
1240
- align-items: start;
1241
- box-shadow: ${e=>`${t.Space.sp0} 2px ${t.Space.sp1} ${e.theme.colors.dropShadowNormal}`};
1242
- border-radius: ${t.Space.sp2};
1243
- justify-content: space-between;
1244
- background-color: ${e=>e.theme.colors.grey5};
1245
- gap: 11px;
1246
- &:hover {
1247
- z-index: 1;
1248
- outline: ${e=>`1px solid ${e.theme.colors.primary}`};
1249
- }
1250
- iframe {
1251
- height: 100%;
1252
- width: ${e=>Ht.iFrameWidth.valuePx(e.windowSize)};
1253
- }
1254
- .cc-new-pin-form-field {
1255
- background: ${e=>e.showFieldError?t.Colors.importantLight:e.newPinInputHighlighted===!0?e.theme.colors.background:"unset"};
1256
- }
1257
- .cc-old-pin-form-field {
1258
- background: ${e=>e.showFieldError?t.Colors.importantLight:e.oldPinInputHighlighted===!0?e.theme.colors.background:"unset"};
1259
- }
1260
- ${e=>e.isFirstField?me.css`
1261
- border-bottom-left-radius: ${t.Space.sp0};
1262
- border-bottom-right-radius: ${t.Space.sp0};
1263
- `:me.css`
1264
- border-top-left-radius: ${t.Space.sp0};
1265
- border-top-right-radius: ${t.Space.sp0};
1266
- `}
1267
- ${e=>e.validation?me.css`
1268
- .vgs-collect-container__invalid:not(.vgs-collect-container__focused) {
1269
- background: ${t.Colors.importantLight};
1270
- }
1271
- .vgs-collect-container__focused) {
1272
- background: ${e.theme.colors.background};
1273
- }
1274
- `:null}
1275
- `,Ee={bottomContentContainerPadding:new t.ResponsiveSized(t.sp[3],t.sp[8]),styledAIIconContainerSize:new t.ResponsiveSized(t.sp[3],t.sp[3]),bannerWrapperMarginLeftRight:new t.ResponsiveSized(t.sp[3],t.sp[8]),payNowSectionPaddingLeftRight:new t.ResponsiveSized(t.sp[3],t.sp[0]),styledHighImportanceIconMarginRight:new t.ResponsiveSized(t.sp[0],t.sp[1])},{common:ve,spendManagement:Da,dateFormat:Ka}=t.appLocale.getLocalizedStrings(),pe=Da.chargeCard,Xa=({chargeCardDetailView:e,onUnlockChargeCard:n,onCloseChargeCard:a,cardsEndPoint:c,classListFetchState:d,transactionAttachmentsEndpointToFetch:h,transactionAttachmentEndpointToDownload:l,authParams:m,hideSorting:u,cardId:S,vgsVaultId:C,controllerEmails:r,isCardControlsEnabled:x,isChargeCardFeatureEnabled:g,isDebitCardFeatureEnabled:R,isDebitCardSetupEnabled:f,isChargeCardSetupEnabled:$,chargeCardCashbackDetailState:b,onFetchChargeCardsRecurringExpenses:p,productInformation:P,cashbackInformation:y,creditAccountInformation:A,debitAccountInformation:H,creditAccount:w,cardIssuedByRoles:N,cardIssuedByDepartmentName:D,cardHolderRoles:Z,cardHolderDepartmentName:T,loggedInUserRole:Y,appleWalletLink:te,googleWalletLink:Q,signedInUser:K,signedInUserToken:B,chargeCardsRecurringExpensesState:F,isSandboxEnv:V,isEarlyPayEnabled:X,documentAiReceiptMaxSizeLimit:oe,isSnackbarOpen:se,onFireOnClickAnalytics:k,onUpdateDebitCardPinAttempt:ae,onFireVerifyPopOnClickAnalytics:_,onBackClick:G,onReloadTransactions:j,onFetchChargeCardTransactionList:O,onGetOtp:ne,onLockChargeCard:q,onResendOtp:v,onVerifyOtp:le,updateChargeCardName:ee,onVerifyOtpSuccess:M,onColorCodeChange:ge,onColumnSortConfigChanged:ce,updateChargeCardTransactionAttachments:re,updateChargeCardTransactionUploadReceiptsFetchStatus:U,updateChargeCardTransactionReceiptsShowTick:J,updateChargeCardTransactionIsViewReceiptClicked:I,onUploadReceiptComplete:$e,removeSnackbar:ye,onChargeCardTransactionRowClick:ue,onChargeCardRevokeInviteClick:Te,onUpdateScrollYOffset:Ne,updateSpendLimit:De,shouldOpenCreditCardPaymentDrawer:de})=>{const E=i.useRef(!0),ie=o.useTheme(),z=t.useWindowSizeContext(),Fe=t.useGlobalInfoContext(),et=t.useToolkitContext().analytics,[,ke]=t.useCopyToClipboard(),[Ke,nt]=i.useState(!1),[tt,rt]=i.useState(!1),[Pe,_e]=i.useState(!1),[Ge,xe]=i.useState(!1),[Ae,Nt]=i.useState(!1),[ut,Ft]=i.useState(!1),[ls,cs]=i.useState(!1),[ds,Ot]=i.useState(!1),[ps,it]=i.useState(!1),[us,mt]=i.useState(!1),[ms,at]=i.useState(!1),[xs,lt]=i.useState(!1),[Xe,xt]=i.useState(!1),[_t,ht]=i.useState(!1),[Gt,Zt]=i.useState(!1),[hs,qt]=i.useState(!1),[gs,Ss]=i.useState("apple"),[Ut,Yt]=i.useState({number:!1,cvv:!1});i.useEffect(()=>{Xe===!1&&ht(!1)},[Xe]);const Dt=i.useRef("noAnimation"),Me=e.chargeCard?.cardHolderUserId===K.userId,gt=`${e.chargeCard?.cardHolderUser?.firstName??""} ${e.chargeCard?.cardHolderUser?.lastName??""}`,Kt=e.chargeCard?.billingAddress,Se=Qe.hasChargeCardAdminLevelAccess(Fe.loggedInUserRoleMap),{text1:Cs,text2:fs}=t.getAddressTexts(Kt),Xt=`${Cs} ${fs}`,St=e.chargeCard?.isDeclinedTransaction===!0,ys=()=>{Tt({chargeCardDetailView:e,chargeCardCashbackDetailState:b,isChargeCardFeatureEnabled:g,productInformation:P,cashbackInformation:y,creditAccountInformation:A,debitAccountInformation:H,creditAccount:w,creditAccountRepayment:e.creditAccountRepayment,isDebitCard:Re,isChargeCardAdmin:Se,analytics:et,controllerEmails:r,actionField:"Receipt Email",actionDetails:e.chargeCardConfig.receiptBotEmail}),ke(e.chargeCardConfig.receiptBotEmail),nt(!0)},js=()=>{k("card owner copied"),Tt({chargeCardDetailView:e,chargeCardCashbackDetailState:b,isChargeCardFeatureEnabled:g,productInformation:P,cashbackInformation:y,creditAccountInformation:A,debitAccountInformation:H,creditAccount:w,creditAccountRepayment:e.creditAccountRepayment,isDebitCard:Re,isChargeCardAdmin:Se,analytics:et,controllerEmails:r,actionField:"Card Owner",actionDetails:gt}),ke(gt),Nt(!0)},$s=()=>{k("billing address copied"),Tt({chargeCardDetailView:e,chargeCardCashbackDetailState:b,isChargeCardFeatureEnabled:g,productInformation:P,cashbackInformation:y,creditAccountInformation:A,debitAccountInformation:H,creditAccount:w,creditAccountRepayment:e.creditAccountRepayment,isDebitCard:Re,isChargeCardAdmin:Se,analytics:et,controllerEmails:r,actionField:"Billing Address",actionDetails:Xt}),ke(Xt),Ft(!0)};i.useEffect(()=>{Ke===!0&&setTimeout(()=>{nt(!1)},800),Ae===!0&&setTimeout(()=>{Nt(!1)},800),ut===!0&&setTimeout(()=>{Ft(!1)},800)},[Ae,ut,Ke]);const[wl,vs]=i.useState(!1),[Jt,Qt]=i.useState(e.chargeCard?.cardColorCode!=null?new o.Color(e.chargeCard.cardColorCode):void 0);i.useEffect(()=>{e.chargeCard?.cardColorCode!=null&&Qt(new o.Color(e.chargeCard.cardColorCode))},[e.chargeCard?.cardColorCode]);const Vt={amount:e.chargeCard!=null?e.chargeCard.balance.amount:0,currencyCode:e.chargeCard!=null?e.chargeCard.balance.currencyCode:ve.currency.countryCode,currencySymbol:e.chargeCard!=null?e.chargeCard.balance.currencySymbol:ve.currency.currencySymbol};i.useEffect(()=>{E.current===!0?E.current=!1:k(Xe===!1?"card details hidden":"card detail revealed")},[Xe]);const eo=(W,Ce)=>{if(Ce===!0){const Ie=we.convertRGBToHex(W.toString())??ve.strings.empty;k("color selected",Ie),ge(Ie),vs(!1)}Qt(W)},to=W=>{const{cvv:Ce,number:Ie}=W;return Ce===!0||Ie===!0},{isMobileOrTabletScreen:oo}=t.useDeviceDetect(),Ct=e.chargeCard?.status.code!=="request_on_hold"&&e.chargeCard?.status.code!=="inactive",ft=e.updateChargeCardLimitFetchState.fetchState,yt=e.updateChargeCardNameFetchState.fetchState,jt=e.lockChargeCardsFetchState.fetchState,$t=e.closeChargeCardsFetchState.fetchState,so=t.usePrevious(ft),no=t.usePrevious(yt),ro=t.usePrevious(jt),io=t.usePrevious($t);i.useEffect(()=>{so==="In-Progress"&&ft==="Completed"?it(!1):no==="In-Progress"&&yt==="Completed"?mt(!1):ro==="In-Progress"&&jt==="Completed"?at(!1):io==="In-Progress"&&$t==="Completed"&&lt(!1)},[ft,yt,jt,$t,so,no,ro,io]);const Re=e.chargeCard?.type.code==="business_physical_debit_card"||e.chargeCard?.type.code==="business_virtual_debit_card",Rs=Se&&(e.chargeCard?.status.code==="active"||e.chargeCard?.status.code==="locked")&&Vt.amount<(Re?e.depositAccountLimit?.cardLimits.dailyCardTransactionLimit.amount??0:e.creditAccount.limit.amount),ws=e.creditAccountRepayment.initiatedRepayments.amount>0&&Se&&St,bs=()=>{if(!x)return[{value:"changePin",label:pe.cardDetails.moreOptions.changePin}];const W=[{value:"changePin",label:pe.cardDetails.moreOptions.changePin},{value:"unlock",label:pe.cardDetails.moreOptions.unlock},{value:"updateSpendLimit",label:pe.cardDetails.moreOptions.updateSpendLimit},{value:"rename",label:pe.cardDetails.moreOptions.rename},{value:"lock",label:pe.cardDetails.moreOptions.lock},{value:"close",label:pe.cardDetails.moreOptions.close},{value:"revokeInvite",label:pe.cardDetails.moreOptions.revokeInvite}],Ce=e.chargeCard?.status.code,Ie=Ce==="locked",ks=Ce==="inactive",Ps=Ce==="request_on_hold",zs=e.chargeCard?.isLockedByAdmin===!0,co=Re&&Me,ct=Se;if(Ps){const Le=[];return ct&&Le.push("revokeInvite"),Le.push("rename"),W.filter(vt=>Le.includes(vt.value))}if(ks){const Le=[];return Le.push("rename"),co&&Le.push("changePin"),ct&&Le.push("close"),W.filter(vt=>Le.includes(vt.value))}const As={changePin:co&&!Ie,lock:!Ie,unlock:Ie&&(Se||!zs),rename:!0,updateSpendLimit:ct,close:ct};return W.filter(Le=>As[Le.value])},ao=o.jsxRuntimeExports.jsx("div",{children:o.jsxRuntimeExports.jsx(Ms.MoreMenuButton,{entity:"debit_cards",isDisabled:e.unlockChargeCardsFetchState.fetchState==="In-Progress"?"disabled":void 0,onOptionSelection:W=>{W==="changePin"?(B==null||B.expiry.isBefore(new Date)?ne(e.loggedInUserPhone):xe(!0),_e(!0)):W==="updateSpendLimit"?it(!0):W==="rename"?mt(!0):W==="lock"?(at(!0),p()):W==="close"?(lt(!0),p()):W==="unlock"?n(Se):W==="revokeInvite"&&Te()},isMoreOption:!0,options:bs(),customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),valueContainer:W=>({...W,display:"flex",alignItems:"center"})}})}),lo=W=>W.reasonType==="other"?W.reason:W.reasonType,Es=W=>{const Ce=lo(W);q(Se,Ce)},Ls=W=>{const Ce=lo(W);a(Ce)},Ts=()=>{const W=e.chargeCard?.status.code;if(W==="closed"||W==="closed_by_customer")return null;if(!x)return Me&&Re?ao:null;if(!Me&&!Se)return null;const Ce=e.chargeCard?.isLockedByAdmin===!0;return Me&&!Se&&Ce&&W==="locked"?null:ao};return o.jsxRuntimeExports.jsxs(dl,{children:[ms&&e.chargeCard!=null&&o.jsxRuntimeExports.jsx(dt.LockCardPage,{showLockCardDrawer:!0,onCloseLockCardDrawer:()=>at(!1),isChargeCardAdmin:Se,chargeCardsByCardId:{[e.chargeCard.id]:e.chargeCard},cardRecurringExpensesByCardId:{[e.chargeCard.id]:F.recurringExpenses},cardRecurringExpenseFetchState:F.fetchState,lockCardFetchState:e.lockChargeCardsFetchState.fetchState,onConfirmClick:Es,onDismissClick:()=>at(!1),onRemoveCardClick:()=>{}}),xs&&e.chargeCard!=null&&o.jsxRuntimeExports.jsx(dt.CloseCardPage,{showCloseCardDrawer:!0,onCloseCloseCardDrawer:()=>lt(!1),isChargeCardAdmin:Se,chargeCardsByCardId:{[e.chargeCard.id]:e.chargeCard},cardRecurringExpensesByCardId:{[e.chargeCard.id]:F.recurringExpenses},cardRecurringExpenseFetchState:F.fetchState,closeCardFetchState:e.closeChargeCardsFetchState.fetchState,onConfirmClick:Ls,onDismissClick:()=>lt(!1),onRemoveCardClick:()=>{}}),Ge&&e.chargeCard?.cardProviderID!=null?o.jsxRuntimeExports.jsx(Fa,{signedInUserToken:B,vgsVaultId:C,onCancelClick:()=>{xe(!1),_e(!0)},isSandboxEnv:!0,cardProviderID:e.chargeCard?.cardProviderID,onChangePinSuccess:()=>{xe(!1),_e(!0)},onUpdateDebitCardPinAttempt:ae}):null,oo?null:o.jsxRuntimeExports.jsx(va,{isChargeCardAdmin:Se,controllerEmails:r,isChargeCardFeatureEnabled:g,isDebitCardFeatureEnabled:R,isDebitCardSetupEnabled:f,isChargeCardSetupEnabled:$,chargeCardCashbackDetailState:b,creditAccountRepayment:e.creditAccountRepayment,productInformation:P,cashbackInformation:y,creditAccountInformation:A,debitAccountInformation:H,creditAccount:e.creditAccount,selectedColor:Jt,walletType:gs,onFireOnClickAnalytics:k,isSandboxEnv:V,chargeCardDetailView:e,vgsVaultId:C,signedInUserToken:B,showSecretInfo:Xe,changePinInProcess:Pe,setShowChangePinPopup:xe,isCardDetailErrored:Gt,cardDetailsFetchState:Ut,setCardDetailsFetchState:Yt,setIsCardDetailErrored:Zt,isCardDetailFetching:to,handleColorCodeClick:eo,isDrawerOpen:hs,setIsAddToWalletDrawerOpen:qt,onVerifyOtp:le,onVerifyOtpSuccess:M,onFireVerifyPopOnClickAnalytics:_,onResendOtp:v,setShowSecretInfo:xt,secretRevealed:_t,setSecretRevealed:ht,onGetOtp:ne,showDrawerAnimation:Dt}),o.jsxRuntimeExports.jsx(t.NavBar,{rightSideComponent:Ts(),navBarContainerStyles:{paddingTop:t.sp[2],alignItems:"center",paddingBottom:t.sp[2]},source:"ChargeCardDetailPage",title:e.chargeCard?.cardName??ve.strings.empty,subTitle:e.fetchState==="Completed"&&e.chargeCard!=null?o.jsxRuntimeExports.jsx(Bs.CardNumberSubText,{cardDetail:e.chargeCard,forDetailPage:!0}):void 0,showBackButton:!0,showMenuIcon:!1,backgroundColor:ie.colors.grey5,style:{zIndex:3},onBackClick:G,titleStyle:{marginTop:t.sp[0],...z==="small"&&{textAlign:"left"}},leftComponentStyle:z==="small"?{width:"10%"}:void 0,middleComponentStyle:z==="small"?{width:"80%"}:void 0,rightComponentStyle:z==="small"?{width:"10%"}:void 0}),o.jsxRuntimeExports.jsx(t.OtpPopupSection,{phoneNumberPopupDescription:pe.cardDetails.verifyPhoneNumberDescription,showOtpPopup:ls,showPhoneNumberPopup:ds,twoFactorAuthenticationView:e.twoFAView,loggedInUserPhone:e.loggedInUserPhone,onVerifyOtp:le,onVerifyOtpSuccess:W=>{M(W),Pe?xe(!0):xt(!0)},onFireVerifyPopOnClickAnalytics:_,setShowOtpPopup:cs,onResendOtp:v,setShowPhoneNumberPopup:Ot,onGetOtp:ne}),us&&o.jsxRuntimeExports.jsx(dt.RenamePopup,{currentCardName:e.chargeCard?.cardName??"",renameFetchState:e.updateChargeCardNameFetchState.fetchState,onCancelClick:()=>mt(!1),onSubmitClick:W=>{e.chargeCard&&ee(Se,W)}}),ps&&e.chargeCard!=null?o.jsxRuntimeExports.jsx(dt.UpdateSpendLimitPopup,{controllerEmails:r,isChargeCardFeatureEnabled:g,isDebitCardFeatureEnabled:R,isDebitCardSetupEnabled:f,isChargeCardSetupEnabled:$,productInformation:P,cashbackInformation:y,creditAccountInformation:A,debitAccountInformation:H,cardDetail:e.chargeCard,transactionStatistics:e.transactionStatistics,depositAccountLimitFetchState:e.depositAccountLimitFetchState.fetchState,creditAccount:w,creditAccountRepayment:e.creditAccountRepayment,signedInUser:K,isDebitCard:Re,cardIssuedByRoles:N,cardHolderRoles:Z,loggedInUserRole:Y,cardIssuedByDepartmentName:D,cardHolderDepartmentName:T,classListFetchState:d,currentLimitAmount:e.chargeCard?.limit??{amount:0,currencyCode:ve.currency.countryCode,currencySymbol:ve.currency.currencySymbol},currentSpentAmount:e.chargeCard?.balance??{amount:0,currencyCode:ve.currency.countryCode,currencySymbol:ve.currency.currencySymbol},maxLimitAmount:Re?e.depositAccountLimit?.cardLimits.dailyCardTransactionLimit:e.creditAccount.limit,isDisabled:Re&&e.depositAccountLimitFetchState.fetchState!=="Completed",updateLimitFetchState:e.updateChargeCardLimitFetchState.fetchState,onCancelClick:()=>it(!1),onSubmitClick:W=>{if(e.chargeCard){const Ce={amount:W,currencyCode:e.chargeCard.limit.currencyCode,currencySymbol:e.chargeCard.limit.currencySymbol};De(e.chargeCard.id,Ce,e.chargeCard.creditLimitFrequency,t.amountToString("0,0.[00]",Ce))}},recommendations:e?.chargeCard?.recommendations}):null,e.fetchState==="Error"?o.jsxRuntimeExports.jsxs(nl,{windowSize:z,children:[o.jsxRuntimeExports.jsx(al,{onClick:j,"data-testid":t.generateDataTestId("reload-card-detail"),children:o.jsxRuntimeExports.jsx(cl,{})}),o.jsxRuntimeExports.jsx(ll,{children:ve.reloadPage.label})]}):o.jsxRuntimeExports.jsxs(Ja,{children:[o.jsxRuntimeExports.jsx(tr,{controllerEmails:r,isChargeCardFeatureEnabled:g,isDebitCardFeatureEnabled:R,isDebitCardSetupEnabled:f,isChargeCardSetupEnabled:$,creditAccount:w,creditAccountRepayment:e.creditAccountRepayment,productInformation:P,cashbackInformation:y,creditAccountInformation:A,debitAccountInformation:H,isDebitCard:Re,chargeCardCashbackDetailState:b,cardIssuedByRoles:N,cardIssuedByDepartmentName:D,cardHolderRoles:Z,cardHolderDepartmentName:T,classListFetchState:d,chargeCardDetailView:e,spent:Vt,isCardNotPending:Ct,cardOwnerName:gt,appleWalletLink:te,googleWalletLink:Q,addressToShow:Kt,secretRevealed:_t,isOwnCard:Me,vgsVaultId:C,showSecretInfo:Xe,isSandboxEnv:V,isCardDetailErrored:Gt,signedInUserToken:B,selectedColor:Jt,cardDetailsFetchState:Ut,setCardDetailsFetchState:Yt,setIsCardDetailErrored:Zt,setSecretRevealed:ht,isCardDetailFetching:to,handleColorCodeClick:eo,onFireOnClickAnalytics:k,setShowPhoneNumberPopup:Ot,setShowChangeSpendLimitPopup:it,setShowSecretInfo:xt,isOwnerNameCopied:Ae,isAddressCopied:ut,onOwnerNameCopyClick:js,onAddressCopyClick:$s,showUpdateSpendLimitAction:Rs,onUnlockChargeCard:n}),X?ws?o.jsxRuntimeExports.jsxs(Va,{windowSize:z,children:[o.jsxRuntimeExports.jsx(xl,{}),o.jsxRuntimeExports.jsx(tl,{children:` ${pe.payEarly.paymentOf} ${t.amountToString("0,0.[00]",e.creditAccountRepayment.initiatedRepayments)} ${pe.payEarly.madeOn} ${e.creditAccountRepayment.initiatedRepaymentDate?.format(Ka.visual.MMMDFormat)} ${pe.payEarly.isProcessing} ${pe.payEarly.theCompanyCreditLimitWillUpdateIn23BusinessDays}`})]}):St?Se?o.jsxRuntimeExports.jsxs(as,{onClick:()=>{de(!0)},windowSize:z,children:[o.jsxRuntimeExports.jsx(Oo,{windowSize:z}),o.jsxRuntimeExports.jsxs(rl,{children:[o.jsxRuntimeExports.jsx(_o,{children:pe.payEarly.transactionsMayBeDeclinedBecauseTheCompanyCreditLimitIsRunningLow}),o.jsxRuntimeExports.jsxs(ol,{className:"pay-now-button",children:[pe.payEarly.payNow,o.jsxRuntimeExports.jsx(el,{})]})]})]}):o.jsxRuntimeExports.jsxs(Qa,{windowSize:z,children:[o.jsxRuntimeExports.jsx(Oo,{windowSize:z}),o.jsxRuntimeExports.jsx(il,{children:o.jsxRuntimeExports.jsx(_o,{children:pe.payEarly.yourTransactionsMayBeDeclinedBecauseTheCompanyCreditLimitIsRunningLowWeHaveNotifiedYourAdmin})})]}):null:null,Me&&z!=="small"&&Ct&&Re===!1?o.jsxRuntimeExports.jsx(Ns,{style:{marginTop:St?t.Space.sp5:t.Space.sp4},classListFetchState:d,controllerEmails:r,isChargeCardFeatureEnabled:g,isDebitCardFeatureEnabled:R,isDebitCardSetupEnabled:f,isChargeCardSetupEnabled:$,chargeCardDetailView:e,creditAccount:w,creditAccountRepayment:e.creditAccountRepayment,productInformation:P,cashbackInformation:y,creditAccountInformation:A,debitAccountInformation:H,cardIssuedByRoles:N,cardHolderRoles:Z,cardIssuedByDepartmentName:D,cardHolderDepartmentName:T,isDebitCard:Re,appleWalletLink:te,googleWalletLink:Q,setWalletType:Ss,setIsAddToWalletDrawerOpen:qt,showDrawerAnimation:Dt}):null,o.jsxRuntimeExports.jsxs(Rl,{windowSize:z,isOwnCard:Me,isMobileOrTabletScreen:oo,children:[Ct&&e.transactions.length>0?o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsxs(ul,{windowSize:z,children:[pe.cardDetails.transactionListTitle,o.jsxRuntimeExports.jsx(t.Tooltip,{display:"flex",placement:"right",title:o.jsxRuntimeExports.jsx(hl,{children:pe.cardDetails.transactionListTooltip.replace("__receiptRequiredAboveAmount__",e.chargeCardConfig.receiptRequiredAboveAmount.amount.toString())}),children:o.jsxRuntimeExports.jsx(ml,{})})]}),o.jsxRuntimeExports.jsxs(gl,{windowSize:z,children:[o.jsxRuntimeExports.jsx(yl,{windowSize:z,children:o.jsxRuntimeExports.jsx(jl,{})}),o.jsxRuntimeExports.jsxs(pl,{windowSize:z,children:[o.jsxRuntimeExports.jsxs(Sl,{children:[o.jsxRuntimeExports.jsx(sl,{children:pe.aiCardAgentText}),ve.strings.space,pe.receiptBotMessage,ve.strings.space]}),o.jsxRuntimeExports.jsxs(fl,{"data-testid":t.generateDataTestId("charge-card-detail-copy-email"),onClick:ys,onMouseEnter:()=>rt(!0),onMouseLeave:()=>rt(!1),children:[o.jsxRuntimeExports.jsx(Cl,{children:e.chargeCardConfig.receiptBotEmail}),Ke===!0?o.jsxRuntimeExports.jsxs(Zo,{children:[o.jsxRuntimeExports.jsx(vl,{}),o.jsxRuntimeExports.jsx(Go,{children:o.jsxRuntimeExports.jsx(qo,{shouldDisplay:tt||Ke,color:t.Colors.primaryDark,children:ve.copyToClipBoard.copied})})]}):o.jsxRuntimeExports.jsxs(Zo,{children:[o.jsxRuntimeExports.jsx($l,{color:tt?ie.colors.primary:void 0}),o.jsxRuntimeExports.jsx(Go,{children:o.jsxRuntimeExports.jsx(qo,{shouldDisplay:tt&&z!=="small",children:ve.copyToClipBoard.copy})})]})]})]})]})]}):null,o.jsxRuntimeExports.jsx(Qi,{cardStatusCode:e.chargeCard?.status.code,cardCodeType:e.chargeCard?.type.code,cardId:S,documentAiReceiptMaxSizeLimit:oe,uploadReceiptsFetchStateByTransactionId:e.uploadReceiptsFetchStateByTransactionId,isSnackbarOpen:se,uploadReceiptsShowTickByTransactionId:e.uploadReceiptsShowTickByTransactionId,isViewReceiptClickedImmediatelyAfterUploadTransactionId:e.isViewReceiptClickedImmediatelyAfterUploadTransactionId,receiptRequiredAboveAmount:e.chargeCardConfig.receiptRequiredAboveAmount,cardsEndPoint:c,transactionAttachmentsEndpointToFetch:h,transactionAttachmentEndpointToDownload:l,authParams:m,hideSorting:u,transactions:e.transactions,cardHolderUser:e.chargeCard?.cardHolderUser,uiState:e.uiState,fetchState:e.transactionListFetchState.fetchState,isAiCategorizationEnabledForCardsTransactions:e.chargeCardConfig.isAiCategorizationEnabledForCardsTransactions,onReloadTransactions:j,onFetchChargeCardTransactionList:O,isOwnCard:Me,onColumnSortConfigChanged:ce,removeSnackbar:ye,onChargeCardTransactionRowClick:ue,onUpdateScrollYOffset:Ne,onUploadReceiptComplete:$e,updateChargeCardTransactionAttachments:re,updateChargeCardTransactionUploadReceiptsFetchStatus:U,updateChargeCardTransactionReceiptsShowTick:J,updateChargeCardTransactionIsViewReceiptClicked:I})]})]})]})},Tt=({chargeCardDetailView:e,chargeCardCashbackDetailState:n,isChargeCardFeatureEnabled:a,productInformation:c,cashbackInformation:d,creditAccountInformation:h,debitAccountInformation:l,creditAccount:m,creditAccountRepayment:u,isDebitCard:S,isChargeCardAdmin:C,analytics:r,controllerEmails:x,actionDetails:g,actionField:R})=>{e.chargeCard!=null&&n.fetchState==="Completed"&&(!a||m.fetchState==="Completed"&&u.fetchState==="Completed")&&(!(S&&C)||e.depositAccountLimitFetchState.fetchState==="Completed")&&r.trackCardsCopyIconClick(x,c,"Cards Detail","Copy","copied",R,g,d,h,l)},Ja=s.div``,as=s.div`
1276
- background: ${t.Colors.important};
1277
- display: flex;
1278
- align-items: center;
1279
- justify-content: center;
1280
- padding-top: ${t.Space.sp3};
1281
- padding-bottom: ${t.Space.sp3};
1282
- padding-left: ${({windowSize:e})=>Ee.payNowSectionPaddingLeftRight.valuePx(e)};
1283
- padding-right: ${({windowSize:e})=>Ee.payNowSectionPaddingLeftRight.valuePx(e)};
1284
- gap: ${t.Space.sp1};
1285
- align-items: start;
1286
- cursor: pointer;
1287
- :hover {
1288
- .pay-now-button {
1289
- text-decoration: underline;
1290
- }
1291
- }
1292
- `,Qa=s(as)``,Va=s.div`
1293
- background: ${t.Colors.alertLight};
1294
- display: flex;
1295
- align-items: start;
1296
- justify-content: center;
1297
- padding-top: ${t.Space.sp3};
1298
- padding-bottom: ${t.Space.sp3};
1299
- padding-left: ${({windowSize:e})=>Ee.payNowSectionPaddingLeftRight.valuePx(e)};
1300
- padding-right: ${({windowSize:e})=>Ee.payNowSectionPaddingLeftRight.valuePx(e)};
1301
- gap: ${t.Space.sp2};
1302
- `,Oo=s(t.SvgHighImportanceFilled)`
1303
- color: ${e=>e.theme.colors.grey5};
1304
- margin-right: ${({windowSize:e})=>Ee.styledHighImportanceIconMarginRight.valuePx(e)};
1305
- min-width: ${t.Space.sp4};
1306
- width: ${t.Space.sp4};
1307
- height: ${t.Space.sp4};
1308
- path:nth-child(2),
1309
- path:nth-child(3) {
1310
- stroke: ${t.Colors.important};
1311
- }
1312
- `,el=s(t.SvgArrowRight)`
1313
- color: ${e=>e.theme.colors.grey5};
1314
- min-width: 12px;
1315
- width: 12px;
1316
- height: 12px;
1317
- `,_o=s(t.StandardRegularSp)`
1318
- color: ${e=>e.theme.colors.grey5};
1319
- `,tl=s(t.StandardRegularSp)`
1320
- color: ${t.Colors.brandColorGoldDark};
1321
- `,ol=s(t.StandardMediumSp)`
1322
- color: ${e=>e.theme.colors.grey5};
1323
- gap: ${t.Space.sp1};
1324
- cursor: pointer;
1325
- display: inline-flex;
1326
- align-items: center;
1327
- white-space: nowrap;
1328
- `,sl=s(t.StandardSemiBoldSp)`
1329
- color: ${e=>e.theme.colors.brandColorSapphire};
1330
- ${({theme:e})=>e.mode==="dark"&&`color: ${t.Colors.brandColorPearl};`}
1331
- `,nl=s.div`
1332
- display: flex;
1333
- width: 100%;
1334
- height: calc(100vh - ${e=>t.navBarHeight.valuePx(e.windowSize)});
1335
- flex-direction: column;
1336
- justify-content: center;
1337
- align-items: center;
1338
- background: ${e=>e.theme.colors.grey5};
1339
- `,rl=s.div``,il=s.div``,al=s.div`
1340
- height: ${t.Space.sp12};
1341
- width: ${t.Space.sp12};
1342
- background: ${e=>e.theme.colors.background};
1343
- display: flex;
1344
- justify-content: center;
1345
- align-items: center;
1346
- border-radius: 50%;
1347
- cursor: pointer;
1348
- & svg {
1349
- margin: ${t.Space.sp5};
1350
- color: ${e=>e.theme.colors.grey1};
1351
- }
1352
- &:hover {
1353
- & svg {
1354
- color: ${e=>e.theme.colors.primary};
1355
- }
1356
- }
1357
- `,ll=s(t.SmallRegularSp)`
1358
- margin-top: ${t.Space.sp3};
1359
- color: ${e=>e.theme.colors.hero};
1360
- `,cl=s(t.SvgReload)`
1361
- height: ${t.Space.sp5};
1362
- width: ${t.Space.sp5};
1363
- margin: ${t.Space.sp5};
1364
- color: ${e=>e.theme.colors.grey1};
1365
- &:hover {
1366
- color: ${e=>e.theme.colors.primary};
1367
- }
1368
- `,dl=s.div`
1369
- background: ${e=>e.theme.colors.grey4};
1370
- `,pl=s.div`
1371
- width: 100%;
1372
- max-width: ${e=>e.windowSize==="small"?"calc(100% - 20px)":"unset"};
1373
- `,ul=s(t.LargeSemiBold)`
1374
- color: ${e=>e.theme.colors.primary};
1375
- margin-bottom: ${t.Space.sp3};
1376
- display: flex;
1377
- align-items: center;
1378
- margin-right: ${e=>Ee.bottomContentContainerPadding.valuePx(e.windowSize)};
1379
- margin-left: ${e=>Ee.bottomContentContainerPadding.valuePx(e.windowSize)};
1380
- `,ml=s(t.SvgInfo)`
1381
- color: ${e=>e.theme.colors.hero};
1382
- width: ${t.Space.sp3};
1383
- height: ${t.Space.sp3};
1384
- margin-left: ${t.Space.sp2};
1385
- &:hover {
1386
- color: ${e=>e.theme.colors.primary};
1387
- }
1388
- `,xl=s(t.SvgInfo)`
1389
- color: ${t.Colors.brandColorGoldDark};
1390
- min-width: ${t.Space.sp4};
1391
- width: ${t.Space.sp4};
1392
- height: ${t.Space.sp4};
1393
- `,hl=s(t.SmallRegular)`
1394
- padding: 2px ${t.Space.sp2};
1395
- box-sizing: content-box;
1396
- color: ${e=>e.theme.colors.hero};
1397
- background: ${e=>e.theme.colors.black};
1398
- border-radius: ${t.Space.sp1};
1399
- max-width: 178px;
1400
- text-align: left;
1401
- `,gl=s.div`
1402
- display: flex;
1403
- border: 1.25px solid transparent;
1404
- background: ${e=>`linear-gradient(${e.theme.colors.grey4}, ${e.theme.colors.grey4}) padding-box,
1405
- ${t.Colors.receiptAgentLinearGradient}
1406
- border-box`};
1407
- padding: ${t.Space.sp3} ${t.Space.sp4};
1408
- border-radius: ${t.Space.sp2};
1409
- align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
1410
- gap: ${t.Space.sp1};
1411
- margin: 0
1412
- ${e=>Ee.bannerWrapperMarginLeftRight.valuePx(e.windowSize)};
1413
- `,Sl=s(t.StandardRegularSp)`
1414
- color: ${e=>e.theme.colors.primary};
1415
- `,Cl=s(t.StandardMediumSp)`
1416
- color: ${e=>e.theme.colors.primary};
1417
- `,fl=s.span`
1418
- cursor: pointer;
1419
- `,Go=s.span`
1420
- position: absolute;
1421
- bottom: -${t.Space.sp5};
1422
- z-index: 10;
1423
- left: ${t.Space.sp2};
1424
- `,Zo=s.span`
1425
- position: relative;
1426
- margin-left: ${t.Space.sp1};
1427
- top: 2px;
1428
- `,qo=s(t.SmallRegular)`
1429
- position: relative;
1430
- background: ${e=>e.theme.colors.black};
1431
- color: ${e=>e.color!=null?e.color:e.theme.colors.grey1};
1432
- padding: 2px ${t.Space.sp2};
1433
- z-index: 10;
1434
- border-radius: ${t.Space.sp1};
1435
- left: -50%;
1436
- display: ${e=>e.shouldDisplay?"block":"none"};
1437
- `,yl=s.div`
1438
- width: ${e=>Ee.styledAIIconContainerSize.valuePx(e.windowSize)};
1439
- min-width: ${e=>Ee.styledAIIconContainerSize.valuePx(e.windowSize)};
1440
- height: ${e=>Ee.styledAIIconContainerSize.valuePx(e.windowSize)};
1441
- top: ${t.Space.sp1};
1442
- position: ${e=>e.windowSize==="small"?"relative":"static"};
1443
- `,jl=s(t.SvgAiIcon)`
1444
- color: ${e=>e.theme.colors.brandColorJade};
1445
- width: 100%;
1446
- height: 100%;
1447
- `,$l=s(t.SvgCopy)`
1448
- height: ${t.Space.sp3};
1449
- width: ${t.Space.sp3};
1450
- color: ${e=>e.color!=null?e.color:e.theme.colors.hero};
1451
- cursor: pointer;
1452
- &:hover {
1453
- color: ${e=>e.theme.colors.primary};
1454
- }
1455
- `,vl=s(t.SvgTickRoundFill)`
1456
- height: ${t.Space.sp3};
1457
- width: ${t.Space.sp3};
1458
- color: ${t.Colors.success};
1459
- `,Rl=s.div`
1460
- padding-top: ${e=>e.isOwnCard?e.isMobileOrTabletScreen?t.Space.sp3:t.Space.sp4:t.Space.sp5};
1461
- padding-bottom: ${t.Space.sp4};
1462
- `;exports.default=Xa;