@zeniai/web-cockpit-ui 1.14.90-qa → 1.14.91-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ACHDetailsPage-B6sY0jN6-B0gf8H4B.js +21 -0
- package/dist/assets/{AIPerformancePage-DHF_70JI-Byb0JaRY.js → AIPerformancePage-BWK9fXrz-DKsZ1mo0.js} +43 -43
- package/dist/assets/AccountInfoPage-DfT5DDiZ-fWZyYCg5.js +18 -0
- package/dist/assets/AccountInfoPageContent-nUi26Aww-BYypek4H.js +149 -0
- package/dist/assets/AccountLockedInfoModal-BROj4bmE-BVM1T1YI.js +59 -0
- package/dist/assets/AccountReconDetailsDrawerPage-C-3FFCQZ-sRbxt9OR.js +239 -0
- package/dist/assets/{AccountRow-D2Ypckgj-BVuVsxAI.js → AccountRow-BM2kGWyR-T6iB2hx_.js} +24 -24
- package/dist/assets/AccountsPromoCardStack-CNCG5uPJ-CVvmiGCx.js +207 -0
- package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-BFBt3SFQ.js +6 -0
- package/dist/assets/{AddToWalletPage-CmT5jSb5-BtE7INh2.js → AddToWalletPage-DyrcWdBZ-CvPiU8kF.js} +32 -32
- package/dist/assets/{AgingReportsPage-BeUGvj3b-BnHb3lWK.js → AgingReportsPage-CmluxKG3-A44UbSFN.js} +9 -9
- package/dist/assets/{AllUserItems-CmlMyz-f-BE3QXVOa.js → AllUserItems-CVZZU-J3-TfKbUj2d.js} +9 -9
- package/dist/assets/ApAgingDetailPage-CoNxqskm-DFDFQfze.js +46 -0
- package/dist/assets/AppBasePage-CTGNzUtN-DSfPwIJw.js +71 -0
- package/dist/assets/AppDrawerContent-59dQVUxu-C64nAWzc.js +91 -0
- package/dist/assets/ApprovalRulesSettingsPage-XEW5sdNg-BbhudnSk.js +47 -0
- package/dist/assets/ArAgingChart-D3Ym4gVE-BqVBnPwY.js +24 -0
- package/dist/assets/ArAgingDetailPage-BLEJSLJJ-DwMAtZnW.js +46 -0
- package/dist/assets/AttachmentView-DSP80cjm-UNIl1Ai8.js +101 -0
- package/dist/assets/{BankAccountSection-BVZK5jmO-CjTZMznk.js → BankAccountSection-DRrNcA79-hP-Vs5m_.js} +8 -8
- package/dist/assets/BankAccountWarningSection-Ub-gsfhE-CrMug0PW.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-BN3lAARB-B0yEFHuK.js → BankConnectionsSettingsPage-BcTtJTbg-algC_RED.js} +29 -29
- package/dist/assets/BillDetailPage-D7AQyxwr-Cr5mMjBH.js +266 -0
- package/dist/assets/BillPayApprovalRuleDetailPage-BQWGENO8-OS81cubl.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-B8HbVvc9-CNKY0-NR.js → BillPayApprovalRulesPage-BbA1Nwqe-BwMbtGVn.js} +17 -17
- package/dist/assets/BillPayPromoPage-DSTS_vBW-BNfdixF0.js +84 -0
- package/dist/assets/BillPaySetUpPage-CvlVPVCA-C-Yq8DpY.js +42 -0
- package/dist/assets/BillingSettingsPage-nKpHtd4C-Bnbrb4t9.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DNHAoceL-Dw8wGAVZ.js +1 -0
- package/dist/assets/BoxItem-Bjv3WNXO-DVhc5wWw.js +53 -0
- package/dist/assets/BusinessVerificationPage-Bj4D9bX2-BIO97DuN.js +138 -0
- package/dist/assets/CardNumberSubText-BYY-Inxd-BdlFsn4_.js +21 -0
- package/dist/assets/{CashbackDetailPage-D3WylWVP-D9Vs2ft8.js → CashbackDetailPage-D9UiTqp9-zR6MfAmm.js} +23 -23
- package/dist/assets/{ChargeCardDetailPage-BUsGBwBf-B-LmCTsN.js → ChargeCardDetailPage-C5EdiIyl-DLQH13JM.js} +24 -24
- package/dist/assets/{ChargeCardListPage-Jhx05dVV-CgbSqG5e.js → ChargeCardListPage-DZwz1qoD-C4LK4t_r.js} +17 -17
- package/dist/assets/{ChargeCardListTable-D-eYWaxh-OyS_l2le.js → ChargeCardListTable-D5B05Z1F-BFq9lu6-.js} +21 -21
- package/dist/assets/ChargeCardPromoPage-CDJMtGJb-BonChypf.js +222 -0
- package/dist/assets/ChargeCardSetupPage-CVV24gS9-Bz9Vbd0f.js +36 -0
- package/dist/assets/ChargeCardStatementsPage-CmjBoi5e-CP137h_S.js +60 -0
- package/dist/assets/CheckDepositDrawerPage-CYOhT5Qz-Ctri9wNN.js +206 -0
- package/dist/assets/{CollapsableReportTable-I40BZv7o-d2_h6r8O.js → CollapsableReportTable-hL_Ycouc-B8J7Q_nq.js} +81 -81
- package/dist/assets/{CompanyOfficerDetailsSection-ChsNKXbx-BF5MOIbR.js → CompanyOfficerDetailsSection-DR_6TlQa-eD8A7jcO.js} +23 -23
- package/dist/assets/CompanyPassportCard-B4chn7-Q-D5SPmBv_.js +42 -0
- package/dist/assets/{CompanyPassportPage-DG1Fa_Uw-Dkbt-nxV.js → CompanyPassportPage-oT9HnnPQ-SX0lC40Z.js} +136 -136
- package/dist/assets/CompleteProfile-BgH4v76Z-8UAVvvgt.js +52 -0
- package/dist/assets/ConfettiBurst-Cl6jHJ8H-LC2meCe-.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-DVzMO96w-D2_PioHE.js → CreateOrEditVendorPage-CW-u7pJU-p324jU3k.js} +16 -16
- package/dist/assets/CreditCardPaymentDrawerPage-D30M7ol4-DoXJ5bDN.js +224 -0
- package/dist/assets/CurrencySelectField-DOCEstMc-DZU689ma.js +139 -0
- package/dist/assets/CustomerOnboardingActivationPage-DMPNjFL_-ku4Vuy0S.js +88 -0
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-DTgF2r26.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-BqoeEQuE.js → CustomerOnboardingDetailPageSkeleton-CBYo4VQn-Dn7fU-s8.js} +20 -20
- package/dist/assets/CustomerOnboardingNoStepsPage-EBVRCYfJ-CfvYqECa.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-C3FgZjAN-BMoiiOVQ.js → CustomerOnboardingPage-TJK6s-LM-BKRL2lJB.js} +10 -10
- package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-PR2itKHa.js +202 -0
- package/dist/assets/{Dashboard-D_oTtu1--DmU_Kxzw.js → Dashboard-WiE9IRrh-Cv0kOt8p.js} +63 -63
- package/dist/assets/{DashboardReportPage-Dprj3eUQ-BvCOtKTf.js → DashboardReportPage-BKHl_IVD-C4Ea2qys.js} +21 -21
- package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-BrrhB9xn.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-C2oP415b-fO_vukRP.js → DepositAccTransactionItem-C8tChaJS-DUssbHtI.js} +12 -12
- package/dist/assets/DepositAccTransactionListPage-B6px7upV-CeIhvwtb.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-RX-JpFy3.js +21 -0
- package/dist/assets/{DownloadOverlay-BwddFmV2-TXwTh2dm.js → DownloadOverlay-DB-qx46O-j8z4pSob.js} +90 -90
- package/dist/assets/DrawerPage-Bha9ElcW-B8Be3mMf.js +118 -0
- package/dist/assets/EditPeoplePage-B6QD5Vld-jl0Ywq6s.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DwCiVkeu-CHb4Vx_R.js → EditReimbursementDetailPage-EplOf2mP-0BJtsB6D.js} +20 -20
- package/dist/assets/EntityDetailPage-5Cu1qehd-DbU14HUf.js +18 -0
- package/dist/assets/EntitySummarySection-D6z6-dM7-CxR6H9p6.js +149 -0
- package/dist/assets/{ExpenseAutomationOverviewPage-hl_3Pc0g-DYxAAMa6.js → ExpenseAutomationOverviewPage-DkoxczRc-Nhh5EsPg.js} +27 -27
- package/dist/assets/ExpenseAutomationPage-Na3XKgcg-v_T_dNPC.js +1650 -0
- package/dist/assets/{ExpressPayPage-BpfkmJ_I-Cr6J8360.js → ExpressPayPage-DWGl_gml-BK4q9z9-.js} +19 -19
- package/dist/assets/FeaturePreviewPage-BgkpUPMm-CjuE-Vy6.js +11 -0
- package/dist/assets/{FollowStepsSection-Bu3RG_GH-1o9BWCUV.js → FollowStepsSection-64oy2OLD-mYi4qCkY.js} +23 -23
- package/dist/assets/{GlobalReviewListPage-D4BD7q-I-IVn_04O3.js → GlobalReviewListPage-DHfTyj2C-jQOPvWvS.js} +48 -48
- package/dist/assets/{InformationCardStack-B9wnkR3p-InW9f_7k.js → InformationCardStack-Dw3lhl2I-7einUDdd.js} +8 -8
- package/dist/assets/InsightsCardStack-BiEswY1Z-B0ppu_rT.js +79 -0
- package/dist/assets/InsightsSection-DvqCilqy-J94KiGaL.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-DzVYf5ff-EFzWzTcS.js +57 -0
- package/dist/assets/InternationalWireSwiftDetailsPage-DTHcuQsH-DCnTBpNn.js +171 -0
- package/dist/assets/{InternationalWireVerificationPage-B8AOwcSX-O5d4_jx5.js → InternationalWireVerificationPage-BzyRqd-m-CtMekcQE.js} +13 -13
- package/dist/assets/InviteFormPage-CaJB3ss1-BX5i7EqT.js +312 -0
- package/dist/assets/{InvitePageListView-Dw8kwEFd-BOBOJq-T.js → InvitePageListView-8Ltt8tHx-CtYoDyrk.js} +49 -49
- package/dist/assets/InvitePeoplePage-A7oKAD7M-BQc_PdIV.js +12 -0
- package/dist/assets/InvoiceUploadSection-DomquLut-e92SA0tf.js +140 -0
- package/dist/assets/{IssueChargeCardPage-fumweN4Y-CbGa-1Sy.js → IssueChargeCardPage-DtIQ1Buk-DjM4t17X.js} +8 -8
- package/dist/assets/LabeledAddressValue-B_9lh-_a-DIizmhzb.js +49 -0
- package/dist/assets/LabeledAddressValueField-CC7T3qZQ-m9gvzhHo.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-mZLzoQGL.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-CnQsTYWe-BNKI3sBW.js → LabeledCreatableSingleSelectField-DKD0oEl8-gq-eDRMt.js} +12 -12
- package/dist/assets/LabeledDocumentField-Dy3jwAiL-49YAoImC.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-DDzM3r6s-ECrfBFdw.js +59 -0
- package/dist/assets/LabeledText-axaAGyUS-Dng_AeMD.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CSEiKb8M-DUVObrd4.js → LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-Bns3vXLL.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-CS_oKjBG-BYrCH7sg.js → LabeledZeniRolesDropDownField-dpz7g9jK-BS9FUIQq.js} +26 -26
- package/dist/assets/LinkJETransactionPage-CJniqVcu-DlmRVmek.js +98 -0
- package/dist/assets/{LockCardPage-DqQGGac2-DNRrTsHA.js → LockCardPage-CjO8cr2a-_f0132IP.js} +42 -42
- package/dist/assets/LowBalancePopup-DVS-w3b7-DP0lgN2T.js +34 -0
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-B4JK6Tsk.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-CjkHVZHo.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BFgoRuDp.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-DAAoq3iT-c3oKtr_f.js +31 -0
- package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-BOWrScDm.js +17 -0
- package/dist/assets/MailingDetailsSection-CiJ5JLA6-DddwOxAo.js +21 -0
- package/dist/assets/Menu-wpP8R1br-CxnIQs8p.js +17 -0
- package/dist/assets/MyBankConnectionsSettingsPage-DIIFgnkE-CogNLqVY.js +110 -0
- package/dist/assets/MyPendingActivationChargeCardListPage-Di_KYRgS-DRNBLhDG.js +6 -0
- package/dist/assets/MyProfileSettingsPage-m6vaeGgZ-chnTYzOu.js +85 -0
- package/dist/assets/NavBarWithPicker-C_qO8mgD-DUpFfabv.js +30 -0
- package/dist/assets/{NavigationArrow-Z9PgxZ-c-2tqZ4Fw-.js → NavigationArrow-BXYIj6Wz-DziJLhPd.js} +7 -7
- package/dist/assets/NavigationDots-BvKSgdgh-LQiuRx4x.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-YsnX4uQU-D0h-bx1p.js → NewGlobalMerchantPage-Dc3xEoiZ-C2aDiu95.js} +19 -19
- package/dist/assets/NoDataChart-C5ZP32zB-Co6FSXzL.js +26 -0
- package/dist/assets/NoDataTable-BnBYE8p_-CiELOEE2.js +8 -0
- package/dist/assets/NotFoundPage-CZ25GWwU-BIBXUzqs.js +46 -0
- package/dist/assets/{NotificationSettingsPage-DlU2NxiC-Dm2QaTZo.js → NotificationSettingsPage-DHvgj7Hu-D3suXG--.js} +28 -28
- package/dist/assets/NotificationsListConfig-BBLSv0sd-C4KCM8pw.js +1 -0
- package/dist/assets/{NotificationsPage-q0bK_5gs-jK6e_Uyw.js → NotificationsPage-CGVEC-Zc-C8fq9c_9.js} +34 -34
- package/dist/assets/{OpExByVendorPage-Boc7U8eu-CVJq9vF2.js → OpExByVendorPage-D55JZne--D9xmj7rz.js} +24 -24
- package/dist/assets/OverlayContainerPage-Daz3A7cI-D6qPPmeQ.js +11 -0
- package/dist/assets/{PandLWithForecastPage-B2eGvFPp-BaY0fBnf.js → PandLWithForecastPage-fVmttEKP-D6Evs_k0.js} +12 -12
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BP-_59EO-hGRsM6bI.js → PaymentAccountSetupBillingAddressSection-BiU8tQnm-4Kl9uXwr.js} +22 -22
- package/dist/assets/{PeoplePage-YMfZIga6-BEib8XAV.js → PeoplePage-QuuuX2AS-CUwuNLCQ.js} +13 -13
- package/dist/assets/Preview-D0lKYz6_.js +1 -0
- package/dist/assets/ProductsCarousel-zdZkfaiY-CKycG9Wt.js +142 -0
- package/dist/assets/{PromoBaseCards-CmOYEhSO-bExxN6kp.js → PromoBaseCards-flFtcbIg-iLyc6jwq.js} +14 -14
- package/dist/assets/QBOConnectionDialog-DNB2C1vQ-B6h7mZJt.js +51 -0
- package/dist/assets/QBOSetupSection-B59etoGz-Dx4Hkrje.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D7do3o0A-DaR0xdJA.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-BkuYJ6qb-7dFuSzMb.js → ReimbursementApprovalRulesPage-BJ6GewQ2-D7efVmkv.js} +33 -33
- package/dist/assets/ReimbursementDetailPage-DKAtYSOy-C-uqjyM_.js +314 -0
- package/dist/assets/ReimbursementPromoPage-DKcSHlHp-XcrUKScH.js +84 -0
- package/dist/assets/ReimbursementSetUpPage-Y1e_hna--rh2VyUST.js +140 -0
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-fgz8s4w9-CzZAxGly.js +1 -0
- package/dist/assets/ReloadCard-DjtdPHq5-BoSxtWCb.js +26 -0
- package/dist/assets/ReportTableViewSelector-C8e6IEWt-BJN3fro7.js +150 -0
- package/dist/assets/{ReportsPage-iJDifG6q-CYAyIPrv.js → ReportsPage-BIe0eDLC-D5ygJVqP.js} +12 -12
- package/dist/assets/{RevenueChart-BbOK-HCB-C8qpvMvb.js → RevenueChart-Cc0XrxLL-BB6kfchw.js} +35 -35
- package/dist/assets/ReviewDetailsPage-CU1AYWgR--SOiatSS.js +290 -0
- package/dist/assets/ReviewOverlay-CruJ9O84-BdMFQyaH.js +152 -0
- package/dist/assets/RoleWithToolTip-fC3byzzv-DteZC2-q.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-CE3tUYhk-Aj3mnuFr.js +37 -0
- package/dist/assets/ScheduleDetailsPage-BhAqJ1Of-BNYzMpaE.js +37 -0
- package/dist/assets/{ScheduleSequenceTable-Bb7MJ-zJ-BYUE2OMk.js → ScheduleSequenceTable-NSt1juSD-BtySotUK.js} +21 -21
- package/dist/assets/ScreenRoutes-Ofrn7XPK.js +201 -0
- package/dist/assets/SetUpAccountSection-C1EnJv1V-nWkvB51T.js +378 -0
- package/dist/assets/SignIn-BhIof_Cm-Stp0fHNQ.js +463 -0
- package/dist/assets/SignInScreen-ApNcuhAj.js +1 -0
- package/dist/assets/SpendManagementListViewPage-BEWNNX_Z-Qf8TDCkQ.js +123 -0
- package/dist/assets/{SpendManagementPerTabPage-HzCmGr0--xZeoOzCY.js → SpendManagementPerTabPage-Vs1Eoxgd-DGhcXeqs.js} +43 -43
- package/dist/assets/{SpendManagementSection-LzT-Bnhy-7KIDrHzn.js → SpendManagementSection-C38Zpi1z-Hvu4v5m7.js} +16 -16
- package/dist/assets/StatementItem-bHInVThd-BfGU3kqj.js +31 -0
- package/dist/assets/StatementsPage-CGQhmaXx-CVtkQqM2.js +58 -0
- package/dist/assets/{StatusSwitcher-BPKr5BUW-iZy1SY4R.js → StatusSwitcher-7fiKLb5g-cQtYU__8.js} +10 -10
- package/dist/assets/{SubTabSwitcher-4dvyyQSv-B0aTRMDP.js → SubTabSwitcher-9AnfZiNy-CobTdTqd.js} +8 -8
- package/dist/assets/SummaryCard-DOycYLs1-BLeRuOD7.js +1 -0
- package/dist/assets/{TaskManagementPage-BiyyDIWi-DOn8-w1u.js → TaskManagementPage-CehyMnY0-BwJtO-U4.js} +29 -29
- package/dist/assets/TimeRangeSwitcher-Dq2FEgFR-DmMi5La_.js +64 -0
- package/dist/assets/{TimeframeSwitcher-u606tI8Z-CLiEbUCN.js → TimeframeSwitcher-By3xz_-m-1CBF6COV.js} +4 -4
- package/dist/assets/TimeframeSwitcherWithToggle-a3fmbzNR-B9R7QlVw.js +31 -0
- package/dist/assets/TopExCard-GEQpp_KY-74e79UYx.js +38 -0
- package/dist/assets/{TopExDetailPage-Cla8Hd-1-DK-xuoZs.js → TopExDetailPage-hid1dQYl-WgHXC6hE.js} +31 -31
- package/dist/assets/{TransactionDetailPage-BbjtQvBr-FXHAHiFr.js → TransactionDetailPage-CX4JW9WM-DyZTJ1bq.js} +44 -44
- package/dist/assets/TransactionList-BixeXh4Y-Il163hc_.js +147 -0
- package/dist/assets/{TransactionListBig-BOeu4-R4-o6UH9k2V.js → TransactionListBig-CGMMJQBd-KQNhkGbE.js} +25 -25
- package/dist/assets/TransactionListPage-CBVUTX4y-DWsla1LN.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-CEbHH_0r-CS6QQqEG.js +80 -0
- package/dist/assets/{TransferDrawerPage-BTqCR3Hb-BWfDRvEr.js → TransferDrawerPage-BFd7uQnF-AGu3EQB7.js} +19 -19
- package/dist/assets/{TreasuryOverviewPage-CDJtsQsC-BAM2Gg0T.js → TreasuryOverviewPage-Bd58hOy8-P3TIcDYG.js} +50 -50
- package/dist/assets/{TreasuryPromoPage-Bqt6DcqL-CXIyIitA.js → TreasuryPromoPage-BvArufHi-B6OSOn5z.js} +10 -10
- package/dist/assets/TreasuryStatementsPage-YLCEBbRh-BeAedV0-.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D_6mgQqi-CO3HXioV.js +58 -0
- package/dist/assets/TrendChart-D3dT6hUb-CRyvw86n.js +16 -0
- package/dist/assets/TrendWithTransactions-Gj-u5KXi-CpckXM1N.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-CFx4P194-BZZ4iMs4.js → UncategorizedAccountsMappingPage-B3eRYolj-D-Jwo7-l.js} +10 -10
- package/dist/assets/UnitIntegrationPage-DpjR9hUu-BIdCIf5k.js +67 -0
- package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-DBj80beJ.js +38 -0
- package/dist/assets/Vendor2FAPopup-C85mhuSb-SCWhQlz7.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-CvETHK8j.js +1 -0
- package/dist/assets/{VendorDetailPage-Dy9McuGu-d-ZpZ6aU.js → VendorDetailPage-BrbKfsL4-BYuDBwtU.js} +100 -100
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-4iWeRYsC.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Y0hGO4RH-BToJSlm-.js → VendorFiling1099EditablePage-DgBLn3fd-DyXTQ39Q.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-C-pT1M36-D4-Nv1Fg.js → VendorFirstReviewPage-jc7-OExI-CcNlKzIr.js} +66 -66
- package/dist/assets/{VendorInternationalWireDetailsPage-CCMramET-BwYsNdGo.js → VendorInternationalWireDetailsPage-c6isgwH2-CfXEdhbK.js} +11 -11
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-BWyYdePs.js +1 -0
- package/dist/assets/VendorsAccountsSection--VfdAF3H-aooc9xax.js +68 -0
- package/dist/assets/VerifyDevice-CaifjdR8-CqDImdvA.js +112 -0
- package/dist/assets/VideoPlayer-BVR9LPmm-Cf1X7mgb.js +78 -0
- package/dist/assets/VideoPopup-BEXc8o78-CxvDyO3n.js +31 -0
- package/dist/assets/WarningsDrawerPage-CboqfxzC-BsdL63Q1.js +92 -0
- package/dist/assets/{ZeniAccountDetailPage-BF8cg2oa-Df5W17bc.js → ZeniAccountDetailPage-Dujj0-XC-Bs0_mCxO.js} +33 -33
- package/dist/assets/{ZeniAccountListViewPage-BkdkYY8j-Bvi6PCOk.js → ZeniAccountListViewPage--SMJDGvC-B9VB-g9k.js} +18 -18
- package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-B6EqVL37.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-COAOIU03-B_FVyXMi.js → ZeniAccountPromoPage-BVjJvWsA-D_izrQ3u.js} +29 -29
- package/dist/assets/ZeniAccountSetupPage-Dvxst8RT-Dw_0q67c.js +36 -0
- package/dist/assets/ZeniCopyright-B88k3pkr-D_GBhPtz.js +1 -0
- package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-D_vM8ORb.js +63 -0
- package/dist/assets/add-to-wallet-DgdBD8_G-DvwlYBb0.js +1 -0
- package/dist/assets/agingReportHelper-ovKP-qSS-Cx4Hdid-.js +1 -0
- package/dist/assets/{analytics-DGBWhVbe.js → analytics-CHPpxU3b.js} +2 -2
- package/dist/assets/analyticsHelper-D88-Oppk.js +1 -0
- package/dist/assets/analyticsHelper-DmujELNG-B2_5NV-p.js +1 -0
- package/dist/assets/arrow-south-east-round-PEovUgvH-D9klpzRU.js +1 -0
- package/dist/assets/auto-transfer-rule-mbafm5D3-CHCjFoIN.js +1 -0
- package/dist/assets/chartTypes-DRiSljvE-CN4L62GH.js +1 -0
- package/dist/assets/commonDimensions-BDftm0gJ-DyUDFvZC.js +1 -0
- package/dist/assets/constants-B4Ak6U9p.js +1 -0
- package/dist/assets/{core-B-FNbYlu.js → core-CA3j8Axi.js} +13 -13
- package/dist/assets/{dash.all.min-BBsvkPzr.js → dash.all.min-Bzta_mrR.js} +11 -11
- package/dist/assets/detailCommon-BGgE4mE3-D-w4kHC7.js +38 -0
- package/dist/assets/downloadPdf-DCQ9vVZs-Be80rXL-.js +1 -0
- package/dist/assets/empty-CrPfQgao.js +1 -0
- package/dist/assets/empty-Dn000SHy.js +1 -0
- package/dist/assets/epic-C_I3d-Sx.js +2 -0
- package/dist/assets/getReferrerType-DjPOy76W-DRP5VHem.js +1 -0
- package/dist/assets/gift-box-Cmt9OgIZ-eSACml6z.js +1 -0
- package/dist/assets/graphic-no-data-l-DU4J8fDt-BzIPOWHn.js +1 -0
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-CtBcTNoa.js +1 -0
- package/dist/assets/handshake-BPg58FML-DvA7MfJg.js +1 -0
- package/dist/assets/{hls-BA0yQjS5.js → hls-SyH7Grr1.js} +1 -1
- package/dist/assets/{index-piC0sJHK.js → index-BG_bOyH4.js} +57 -57
- package/dist/assets/index-BWZriWwb.js +1 -0
- package/dist/assets/index-BiiqfeFx.js +39 -0
- package/dist/assets/index-C-ypGNlB.js +1 -0
- package/dist/assets/index-C4-PHmb9.js +1 -0
- package/dist/assets/index-C5fdNIhc.js +1 -0
- package/dist/assets/{index-Dm9r1f6s.js → index-DJLrbf0F.js} +4190 -4191
- package/dist/assets/lexical-dZFDzIA1.js +21 -0
- package/dist/assets/{liveblocks-BBTLClA6.js → liveblocks-C2I4vRCJ.js} +15 -15
- package/dist/assets/{lottie-gmZDfwf4.js → lottie-B7mXQ-R-.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CXP8ZZTG-DkaL-N2A.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-BZSP-VcP-BuUbTOqM.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-Bc1S_1ej-BOT7FVTB.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-ClgcHX26-Cs9gyyXd.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cwp98PMa-tz5P0V5W.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-Bmf8af15.js +1 -0
- package/dist/assets/{mixin-D3UDm--6.js → mixin-BPAPQfSE.js} +3 -3
- package/dist/assets/{mui-DLNyBjYF.js → mui-DpJXlk4t.js} +5 -5
- package/dist/assets/page-detail-CWX5S47F-Byx36A1h.js +1 -0
- package/dist/assets/radio-default-CiSgisfh-HcY1qXLg.js +1 -0
- package/dist/assets/react-B2Dtpj08.js +29 -0
- package/dist/assets/react-B7zczQTC.js +17 -0
- package/dist/assets/react-BuuImry8.js +44 -0
- package/dist/assets/react-C5CamjHm.js +16 -0
- package/dist/assets/react-CurU10nF.js +37 -0
- package/dist/assets/{react-BiH01iGK.js → react-D9gRIIQJ.js} +3 -3
- package/dist/assets/react-KsUvriAa.js +31 -0
- package/dist/assets/{react-2VG2yH4x.js → react-PdDuKQQV.js} +2 -2
- package/dist/assets/{recharts-Cnl2EvUV.js → recharts-BGdJnVo5.js} +1 -1
- package/dist/assets/{sentry-EYLV4XmG.js → sentry-BA4piVNf.js} +19 -19
- package/dist/assets/shield-DOlUxcFf-DciCHlJY.js +1 -0
- package/dist/assets/toCOABalancesWithID--oEGymMJ-DrPkDPTu.js +1 -0
- package/dist/assets/toChartData-CavJzP6f-B2iIF7nP.js +1 -0
- package/dist/assets/transaction-placeholder-CpOwZAMG-2yCTNaDx.js +1 -0
- package/dist/assets/types-DyvtCprH-NFPm5TaG.js +1 -0
- package/dist/assets/{uploadAttachment-CeUHLpzO-C_J8w5W4.js → uploadAttachment-BuVCsq0Q-BB-5S1Qg.js} +12 -12
- package/dist/assets/uploadReceipts-CPw64UYa-DU-gRzOR.js +1 -0
- package/dist/assets/url-Bq2XNMnM.js +1 -0
- package/dist/assets/url-RUB1rBsd.js +6 -0
- package/dist/assets/useLongPress-GCK2COYQ-Ch-mrcwO.js +1 -0
- package/dist/assets/usp-line-BBd1wKwW-BZdA9pHf.js +1 -0
- package/dist/assets/{utils-D1zwltK3.js → utils-DUsHM-Uc.js} +1 -1
- package/dist/assets/{zeni-epic-state-HWtMOH-U.js → zeni-epic-state-CQt4n3Xe.js} +32 -32
- package/dist/index.html +1 -1
- package/package.json +15 -13
- package/dist/assets/ACHDetailsPage-BUP-_2-W-gKUKs0Pb.js +0 -21
- package/dist/assets/AccountInfoPage-pmUIckJ9-CAlO-FHB.js +0 -18
- package/dist/assets/AccountInfoPageContent-DLSL1NNm-CTMQNQY3.js +0 -149
- package/dist/assets/AccountLockedInfoModal-Bq3y0K0F-Caep-eEi.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-CGcZO_qz-DphTR8AG.js +0 -239
- package/dist/assets/AccountsPromoCardStack-BVVDCW1H-CHjSEilj.js +0 -207
- package/dist/assets/AddAddressForCardDrawer-C8aENofu-_B3noxtJ.js +0 -6
- package/dist/assets/ApAgingDetailPage-Dz1_N0Yw-TUc4-BfW.js +0 -46
- package/dist/assets/AppBasePage-DX4EGGcT-CA5JIcq8.js +0 -71
- package/dist/assets/AppDrawerContent-Brg3Rw4K-Du3ev71U.js +0 -91
- package/dist/assets/ApprovalRulesSettingsPage-Bn7KrUl2-C_CZXQYN.js +0 -47
- package/dist/assets/ArAgingChart-DQZtCsHS-zcjxKJqm.js +0 -24
- package/dist/assets/ArAgingDetailPage-BtF6K5dA-CM34YcdM.js +0 -46
- package/dist/assets/AttachmentView-DgPySmB8-B41pIkR9.js +0 -101
- package/dist/assets/BankAccountWarningSection-DHdeDi15-M9LQMU5u.js +0 -51
- package/dist/assets/BillDetailPage-BuUm6vdf-BEfZuL72.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-BXSdsF2E-BZdDia51.js +0 -27
- package/dist/assets/BillPayPromoPage-DkoqXDNt-Jx7NR9vs.js +0 -84
- package/dist/assets/BillPaySetUpPage-BommXkLS-CxAPQ6nt.js +0 -42
- package/dist/assets/BillingSettingsPage-gHbc5Kq3-6eOgIWo-.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-C541rBnx-CpMaFNun.js +0 -1
- package/dist/assets/BoxItem-usHxaONy-yqmV2_EE.js +0 -53
- package/dist/assets/BusinessVerificationPage-CLsxXy9d-ThEm2-hv.js +0 -138
- package/dist/assets/CardNumberSubText-D_fWhc_K-C63mXt5C.js +0 -21
- package/dist/assets/ChargeCardPromoPage-CzR82VtA-C4AU7pmq.js +0 -222
- package/dist/assets/ChargeCardSetupPage-Ctz8PCuu-CQ_qZ7MK.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-EUtRTAX2-C_GDwTRC.js +0 -60
- package/dist/assets/CheckDepositDrawerPage-B7DC0HAi-p07KcTOW.js +0 -206
- package/dist/assets/CompanyPassportCard-82bbFwk--CB88G7Qo.js +0 -42
- package/dist/assets/CompleteProfile-B7bQqLQH-3BvSCHX1.js +0 -52
- package/dist/assets/ConfettiBurst-DUyIBnw4-Bzth-g3m.js +0 -1
- package/dist/assets/CreditCardPaymentDrawerPage-C03hfKGc-CNfSxnSZ.js +0 -224
- package/dist/assets/CurrencySelectField-2hU3oIp_-C4bLV2kj.js +0 -139
- package/dist/assets/CustomerOnboardingActivationPage-Dt-Nml2t-B6WqU8lr.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-Dt-_tVOQ-UhKf7bOm.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CwI8nL61-fFJJ4fRN.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-BOYu-82S-CVVsk6ik.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-C6SQaB7q-Dxl5QlMk.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-DCvdqAz1-B_wb_nSG.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-Da_3EveP-BRE1nKx5.js +0 -21
- package/dist/assets/DrawerPage-CGrnrvf2-C0F2USa4.js +0 -118
- package/dist/assets/EditPeoplePage-DMgxG2Gd-CCtVDE58.js +0 -55
- package/dist/assets/EntityDetailPage-BcRVEfi5-CepotlTP.js +0 -18
- package/dist/assets/EntitySummarySection-BaHHLLkE-Drrfo_tg.js +0 -149
- package/dist/assets/ExpenseAutomationPage-D70ghitX-sSwqGXv6.js +0 -1650
- package/dist/assets/FeaturePreviewPage-Bzi8Bpk3-Drk_uxAx.js +0 -11
- package/dist/assets/InsightsCardStack-C1_rd2Sb-Dhs19DDG.js +0 -79
- package/dist/assets/InsightsSection-7-T67WeF-R1I0UTTj.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-C9YpvDgg-q-aOCVtI.js +0 -57
- package/dist/assets/InternationalWireSwiftDetailsPage-C5mI8dEh-B0sOCS9F.js +0 -171
- package/dist/assets/InviteFormPage-DuBhhnre-BDO1iW13.js +0 -312
- package/dist/assets/InvitePeoplePage-BI_vd7xw-BK1DYXv5.js +0 -12
- package/dist/assets/InvoiceUploadSection-9DaovMq8-nY-DuZwJ.js +0 -140
- package/dist/assets/LabeledAddressValue-cNf6hI1l-BswrPJcJ.js +0 -49
- package/dist/assets/LabeledAddressValueField-CoTtV0RQ-oEM2MjQO.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-DQwUvKR2-CCQx34pM.js +0 -16
- package/dist/assets/LabeledDocumentField-MkryOLQ8-DH1KAWxk.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-B-yUtgxR-Svg2dZ6s.js +0 -59
- package/dist/assets/LabeledText-BJ3Zvb5p-ndTmW7U8.js +0 -42
- package/dist/assets/LinkJETransactionPage-BsszwFNq-CVlh2hC9.js +0 -98
- package/dist/assets/LowBalancePopup-BFo5zRk3-mdHe1dcy.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-wYa3cyyZ-tz2BvffR.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CW4RNKOV-CtiYd2c1.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CX9SeCLl-HVNLuX22.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-Dipq1-St-CbeB13LZ.js +0 -31
- package/dist/assets/MagicLinkTitleSection-DnN52Uwb-Cs_fy5V9.js +0 -17
- package/dist/assets/MailingDetailsSection-DwNF-L2Y-DrhhdeyV.js +0 -21
- package/dist/assets/Menu-D0jF6uaE-063ttLpF.js +0 -17
- package/dist/assets/MyBankConnectionsSettingsPage-DpM6MKBq-E1-nhC0K.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-BaT55Pwg-Ag6G6vZu.js +0 -6
- package/dist/assets/MyProfileSettingsPage-kD1dY6P6-BfZFNoxD.js +0 -85
- package/dist/assets/NavBarWithPicker-D-WQJ-tG-Cy7zBv5q.js +0 -30
- package/dist/assets/NavigationDots-BT-m0FmS-COkqBkfX.js +0 -15
- package/dist/assets/NoDataChart-DMivligx-CY99ibCB.js +0 -26
- package/dist/assets/NoDataTable-DwOJY23X-0CWxLk-0.js +0 -8
- package/dist/assets/NotFoundPage-DuKXpHos-CG3u4rQy.js +0 -46
- package/dist/assets/NotificationsListConfig-BQCb9x9X-CKZiM7oL.js +0 -1
- package/dist/assets/OverlayContainerPage-CrZuT2Jj-CY2cJwH_.js +0 -11
- package/dist/assets/Preview-BszQHI_F.js +0 -1
- package/dist/assets/ProductsCarousel-CUaU5-V7-DTCkPx2F.js +0 -142
- package/dist/assets/QBOConnectionDialog-BNiXUEAk-O1EeGUUa.js +0 -51
- package/dist/assets/QBOSetupSection-CjjNFfgF-hqHet92Q.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-tP7WcKvd-47DORnA2.js +0 -26
- package/dist/assets/ReimbursementDetailPage-D5IzqJS5-B19mA4vu.js +0 -314
- package/dist/assets/ReimbursementPromoPage-D7n6lZNo-CgdMqXow.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-E1elWU5Z-D7O-pf9b.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-HzYNji-G-BjLwNAB4.js +0 -1
- package/dist/assets/ReloadCard-DMWwNZ1z-D31XYoZn.js +0 -26
- package/dist/assets/ReportTableViewSelector-EU36E1lv-CLM26q4e.js +0 -150
- package/dist/assets/ReviewDetailsPage-Bk2vvBn3-CMASDCWv.js +0 -290
- package/dist/assets/ReviewOverlay-CJlk2MNH-DksHT3Bn.js +0 -152
- package/dist/assets/RoleWithToolTip-B7woUKhj-tuSqaaK3.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-B-WjqQN_-lrt0yIGR.js +0 -37
- package/dist/assets/ScheduleDetailsPage-ocFBINM3-BDslid8Y.js +0 -37
- package/dist/assets/ScreenRoutes-DoE2zy1N.js +0 -201
- package/dist/assets/SetUpAccountSection-9zELif-q-jAntwqfL.js +0 -378
- package/dist/assets/SignIn-BHHUcLal-B9B7yu5c.js +0 -448
- package/dist/assets/SignInScreen-Czg-Wlkz.js +0 -1
- package/dist/assets/SpendManagementListViewPage-BAdSW-49-Cy3aFFuZ.js +0 -123
- package/dist/assets/StatementItem-BnxTFgdM-BUy1CSEA.js +0 -31
- package/dist/assets/StatementsPage-B8X2un5p-Ao0DiWwm.js +0 -58
- package/dist/assets/SummaryCard-CiNkV7uy-CyUPIfT8.js +0 -1
- package/dist/assets/TimeRangeSwitcher-DEEhq2Us-DC70llJC.js +0 -64
- package/dist/assets/TimeframeSwitcherWithToggle-D2sBGHXQ-ChLeBSSB.js +0 -31
- package/dist/assets/TopExCard-DbPlohSJ-Dhp9OZxf.js +0 -38
- package/dist/assets/TransactionList-BRiHadkm-DPpaSQ1Y.js +0 -147
- package/dist/assets/TransactionListPage-ByVvx6ON-CwQjGljA.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-DMweGn3b-Dq7toltd.js +0 -80
- package/dist/assets/TreasuryStatementsPage-2PsC-PWa-D70yhjS2.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D6MoHMAo-DmesESI8.js +0 -58
- package/dist/assets/TrendChart-DiutckSt-D94T5IZh.js +0 -16
- package/dist/assets/TrendWithTransactions-rPwZKHfV-Dtp5jwDW.js +0 -116
- package/dist/assets/UnitIntegrationPage-DO8dMzVg-Cd3rb01x.js +0 -67
- package/dist/assets/UploadAdditionalDocumentOverlay-Ug3kL02_-DKI6OhwV.js +0 -38
- package/dist/assets/Vendor2FAPopup-BdG-Ywma-CO_da9UG.js +0 -1
- package/dist/assets/VendorACHDetailsPage-BUNmE_s6-DPSp4E23.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DvACrh7C-BLzpieuI.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-lxD_Z5W--961yvZRp.js +0 -1
- package/dist/assets/VendorsAccountsSection-D-3fhQvy-CbP2SER5.js +0 -68
- package/dist/assets/VerifyDevice-DDZdWfa8-H5PbdKsY.js +0 -112
- package/dist/assets/VideoPlayer-D0GZ_Yml-gee9OAo-.js +0 -78
- package/dist/assets/VideoPopup-CEdhfU31-8qrMVIxi.js +0 -31
- package/dist/assets/WarningsDrawerPage-CIK9lkT2-D5cDBgQm.js +0 -92
- package/dist/assets/ZeniAccountNavBarPieces-FAxN1QDY-C5pMry9_.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-QMBiVius-DueIhJzT.js +0 -36
- package/dist/assets/ZeniCopyright-CgfP-kcy-DUMhOisg.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-B1fmc3f9-DSYZgQje.js +0 -63
- package/dist/assets/add-to-wallet-DgdBD8_G-BctcirlU.js +0 -1
- package/dist/assets/agingReportHelper-ovKP-qSS-BPG0U4uX.js +0 -1
- package/dist/assets/analyticsHelper-BKtlFOJm-CcPLbTK6.js +0 -1
- package/dist/assets/analyticsHelper-BV9ovV44.js +0 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-DFZl4BUT.js +0 -1
- package/dist/assets/auto-transfer-rule-mbafm5D3-BCnmjSj0.js +0 -1
- package/dist/assets/chartTypes-BZYC5y5J-CVmMioA0.js +0 -1
- package/dist/assets/commonDimensions-B-aZt-hB-CP54iB8v.js +0 -1
- package/dist/assets/detailCommon-DCtkwfR8-Dr2vx6ZY.js +0 -38
- package/dist/assets/downloadPdf-BhQlJMh0-DeqZGQ39.js +0 -1
- package/dist/assets/empty-CnIz-OQ7.js +0 -1
- package/dist/assets/empty-TjEo4rDg.js +0 -1
- package/dist/assets/epic-DMZtehrN.js +0 -2
- package/dist/assets/getReferrerType-DjPOy76W-Cm31g4vJ.js +0 -1
- package/dist/assets/gift-box-Cmt9OgIZ-aujv_noX.js +0 -1
- package/dist/assets/graphic-no-data-l-DU4J8fDt-DTSR9TM8.js +0 -1
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-Bw4ambPw.js +0 -1
- package/dist/assets/handshake-BPg58FML-BjSDfVm7.js +0 -1
- package/dist/assets/index-CFi0iD-l.js +0 -1
- package/dist/assets/index-CL_7G35J.js +0 -1
- package/dist/assets/index-DdJI4MMd.js +0 -1
- package/dist/assets/index-dPPP2cWo.js +0 -1
- package/dist/assets/lexical-DPEnH3HH.js +0 -21
- package/dist/assets/mapLoadingInProgressToTreeNode-B8iO-fIh-DwG7e-RM.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-PLUfKBDd-BfmC19Y6.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BPbkmHFY-BZPeecIF.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-B-kK0AfR-0kzYcFSC.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BvN4m9TA-DSQ0LTze.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BiRfdc4g-C5Cp6P0a.js +0 -1
- package/dist/assets/page-detail-CWX5S47F-Dn7FEY9U.js +0 -1
- package/dist/assets/radio-default-CiSgisfh-B6CtarQ8.js +0 -1
- package/dist/assets/react-Bqj7JUF5.js +0 -29
- package/dist/assets/react-CeCWo9lx.js +0 -44
- package/dist/assets/react-CwPTei9W.js +0 -17
- package/dist/assets/react-CxPSrq5B.js +0 -16
- package/dist/assets/react-VfkIuzgx.js +0 -37
- package/dist/assets/react-sPv488Z5.js +0 -31
- package/dist/assets/shield-DOlUxcFf-DYYbm8md.js +0 -1
- package/dist/assets/toCOABalancesWithID-ChMShONK-Cq-mLDe3.js +0 -1
- package/dist/assets/toChartData-BUweupH8-sZruIW4t.js +0 -1
- package/dist/assets/transaction-placeholder-CpOwZAMG-R9RAntKW.js +0 -1
- package/dist/assets/types-DyvtCprH-BcZYcgaq.js +0 -1
- package/dist/assets/uploadReceipts-Bkf_PaOH-qo0cBRii.js +0 -1
- package/dist/assets/url-DzcuVjHh.js +0 -6
- package/dist/assets/url-dmxYLsoS.js +0 -1
- package/dist/assets/useLongPress-GCK2COYQ-BC43nxgO.js +0 -1
- package/dist/assets/usp-line-BBd1wKwW-_aHpaGit.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{B as ct}from"./zeni-epic-state-HWtMOH-U.js";var Ai={},_r={},Rt={},Ns;function fc(){if(Ns)return Rt;Ns=1,Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.EVENTS_WITHOUT_SUPER_PROPERTIES=Rt.Event=void 0;var t;return function(n){n.dashboard="Dashboard",n.cashBalance="Cash Balance",n.cardBalance="Card Balance",n.cashPosition="Cash Position",n.revenues="Revenues",n.operatingExpenses="Operating Expenses",n.topExpenses="Top Expenses",n.burnRate="Burn Rate",n.cashInCashOut="Cash In, Cash Out",n.howItWorks="How It Works",n.insights="Insights",n.brexAd="Brex Ad",n.companyPassport="Company Passport",n.addAddress="Add Address",n.editAddress="Edit Address",n.saveAddressClicked="Save Address Clicked",n.reports="Reports",n.profitAndLoss="Profit & Loss",n.balanceSheet="Balance Sheet",n.cashFlow="Cash Flow",n.profitAndLossWithForecast="Profit & Loss with Forecast",n.balanceSheetWithForecast="Balance Sheet with Forecast",n.cashFlowWithForecast="Cash Flow with Forecast",n.sidePanelClicked="Side Panel Clicked",n.transactionList="Transaction List",n.transactionDetails="Transaction Details",n.transactionDetailsSave="Transaction Details Save",n.transactionDetailReceiptOpened="Transaction Details Receipt Opened",n.transactionDetailReceiptDeleted="Attachment Deleted",n.transactionDetailReceiptAdded="Transaction Details Receipt Added",n.compareMode="Compare Mode",n.compareFilterChange="Compare Filter Change",n.compareFilterTimeframe="Compare Filter Timeframe",n.dateRangeFilter="Date Range Filter",n.timeframeSwitch="Timeframe Switch",n.graphBar="Graph Bar",n.cardStatementCloseDateClicked="Card Statement Close Date Clicked",n.cardStatementCloseDateSaved="Card Statement Close Date Saved",n.forecast="Forecast",n.forecastSwitch="Forecast Switch",n.forecastVsActualMode="Forecast vs Actual Mode",n.members="Members",n.inviteSent="Invite Sent",n.roleChanged="Role Changed",n.removeUserAccess="Remove User Access",n.resendInvite="Resend Invite",n.companySwitch="Company Switch",n.download="Download",n.sort="Sort",n.incomeTrend="Income Trend",n.spendTrend="Spend Trend",n.search="Search",n.login="Login",n.loginButton="Login Button",n.signInClick="Sign In click",n.signInViaGoogleMicrosoft="Sign In Via Google Microsoft",n.signInViaEmail="Sign In Via Email",n.signInLinkSent="Sign In Link Sent",n.loginSuccess="Login Success",n.loginFailure="Login Fail",n.logoutButton="Logout Button",n.logoutSuccess="Logout Success",n.logoutFailure="Logout Fail",n.reportGenerated="Report Generated",n.aiCFOPage="AI CFO Page",n.aiCFOChatScreenStateChanged="AI CFO Chat Screen State Changed",n.aiCFOChatSessionChanged="AI CFO Chat Session Changed",n.aiCFOChatSubmitted="AI CFO Chat Submitted",n.aiCFOChatFeedbackGiven="AI CFO Chat Feedback Given",n.aiCFOChatResponseGenerated="AI CFO Chat Response Generated",n.aiCFOChatAnswerGenerated="AI CFO Chat Answer Generated",n.aiCFOOnboardingScreenStateChanged="AI CFO Onboarding Screen State Changed",n.onboardingLinkClicked="Onboarding Invite Link Click",n.onboardingNeedHelp="Onboarding Need Help",n.onboardingInterimNeedHelp="Onboarding Interim Page Need Help",n.onboardingLandingNeedHelp="Onboarding Landing Page Need Help",n.onboardingPage="Onboarding Page",n.onboardingInterimPage="Onboarding Interim Page",n.onboardingLandingPage="Onboarding Landing Page",n.onboardingQBOConnect="Onboarding QBO Connect Clicked",n.onboardingSaveQBOConnection="Onboarding Save QBO Connection",n.onboardingClickUpdatePaymentDetails="Onboarding Landing Page Update Payment Details",n.onboardingSkipAndSave="Onboarding skip (save details if any) and activate dashboard",n.onboardingCompanyOfficerSave="Onboarding Company Officer Save",n.onboardingCompanyDetailsSave="Onboarding Company Details Save",n.onboardingDashboardActivation="Onboarding Dashboard Activation",n.onboardingConnectBank="Onboarding Connect Bank",n.onboardingConnectBankSuccess="Onboarding Connect Bank Success",n.onboardingConnectBankFailure="Onboarding Connect Bank Failure",n.onboardingConnectBankLink="Onboarding Connect Bank Link",n.onboardingConnectBankGetBalance="Onboarding Connect Bank Get Balance",n.onboardingNewCustomerStarted="Onboarding New Customer Started",n.onboardingNewCustomerGroupCreationCheck="Onboarding New Customer Group Creation Check",n.onboardingZeniManagedQBOConnectionSelected="Onboarding Zeni Managed QBO Connection Selected",n.onboardingCustomerManagedQBOConnectionSelected="Onboarding Customer Managed Connection QBO Selected",n.onboardingZeniManagedQBOConnectionSuccess="Onboarding Zeni Managed QBO Connection Successful",n.onboardingZeniManagedQBOConnectionUnsuccess="Onboarding Zeni Managed QBO Connection Unsuccessful",n.onboardingSendInvite="Onboarding Send Invite",n.onboardingResendInvite="Onboarding Resend Invite",n.onboardingSave="Onboarding Save",n.onboardingBillingAddress="Onboarding Billing Address Clicked",n.onboardingBillingAddressSave="Onboarding Billing Address Save",n.onboardingNext="Onboarding Next",n.onboardingBack="Onboarding Back",n.onboardingActiveStep="Onboarding Active Step",n.onboardingLinkBankAccount="Onboarding Link A Bank Account",n.onboardingLinkBankAccountSuccess="Onboarding Link A Bank Account Success",n.onboardingLinkBankAccountFailure="Onboarding Link A Bank Account Failure",n.onboardingLinkANewBankAccount="Onboarding Link A New Bank Account",n.onboardingLinkANewBankAccountSuccess="Onboarding Link A New Bank Account Success",n.onboardingLinkANewBankAccountFailure="Onboarding Link A New Bank Account Failure",n.onboardingLinkCreditCard="Onboarding Link Credit Card",n.onboardingLinkCreditCardSuccess="Onboarding Link Credit Card Success",n.onboardingLinkCreditCardFailure="Onboarding Link Credit Card Failure",n.onboardingLinkNewCard="Onboarding Link a New Credit Card",n.onboardingLinkNewCardSuccess="Onboarding Link a New Credit Card Success",n.onboardingLinkNewCardFailure="Onboarding Link a New Credit Card Failure",n.onboardingBankAccountPendingVerification="Onboarding Bank Account Pending Verification",n.onboardingBankAccountVerified="Onboarding Bank Account Verified",n.onboardingSwitchToBankAccount="Onboarding Switch To Bank Account",n.onboardingSwitchToBankAccountSuccess="Onboarding Switch To Bank Account Success",n.onboardingSwitchToBankAccountFailure="Onboarding Switch To Bank Account Failure",n.onboardingSwitchToCreditCard="Onboarding Switch To Credit Card",n.onboardingSwitchToCreditCardSuccess="Onboarding Switch To Credit Card Success",n.onboardingSwitchToCreditCardFailure="Onboarding Switch To Credit Card Failure",n.onboardingInterimCardClick="Onboarding Interim Page Card Click",n.onboardingLandingPageCardClick="Onboarding Landing Page Card Click",n.billingLinkNewBankAccount="Billing Link a New Bank Account",n.billingLinkNewBankAccountSuccess="Billing Link a New Bank Account Success",n.billingLinkNewBankAccountFailure="Billing Link a New Bank Account Failure",n.billingSwitchToCreditCard="Billing Switch To Credit Card",n.billingSwitchToCreditCardSuccess="Billing Switch To Credit Card Success",n.billingSwitchToCreditCardFailure="Billing Switch To Credit Card Failure",n.billingSwitchToBankAccount="Billing Switch To Bank Account",n.billingSwitchToBankAccountSuccess="Billing Switch To Bank Account Success",n.billingSwitchToBankAccountFailure="Billing Switch To Bank Account Failure",n.billingLinkNewCard="Billing Link a New Card",n.billingLinkNewCardSuccess="Billing Link a New Card Success",n.billingLinkNewCardFailure="Billing Link a New Card Failure",n.billPayHome="Bill Pay Home",n.billPaySetup="Bill Pay Setup",n.billPayPromoPage="Bill Pay Promo",n.billPayNeedHelp="Bill Pay Need Help",n.billPayBusinessVerification="Bill Pay Business Verification",n.billPayBusinessVerificationSave="Bill Pay Business Verification Save",n.billPayBusinessVerificationSend="Bill Pay Business Verification Send",n.billPayBusinessVerificationAddOfficer="Bill Pay Business Verification Add Officer",n.billPayConnectBank="Bill Pay Connect Bank",n.billPayConnectBankSuccess="Bill Pay Connect Bank Success",n.billPayConnectBankFailure="Bill Pay Connect Bank Failure",n.billPayConnectBankLink="Bill Pay Connect Bank Link",n.billPayConnectBankGetBalance="Bill Pay Connect Bank Get Balance",n.enableBillPay="Enable Bill Pay",n.billPayDrafts="Bill Pay Drafts",n.billPayDraftsOverdue="Bill Pay Drafts Overdue",n.billPayApprovals="Bill Pay Approvals",n.billPayApprovalsAwaitingApproval="Bill Pay Approvals Awaiting Approval",n.billPayApprovalsAwaitingMyApproval="Bill Pay Approvals Awaiting My Approval",n.billPayApprovalsOverdue="Bill Pay Approvals Overdue",n.billPayApprovalsRejected="Bill Pay Approvals Rejected",n.billPayApprovalsDeleted="Bill Pay Approvals Deleted",n.billPayScheduled="Bill Pay Scheduled",n.billPayScheduledFailed="Bill Pay Scheduled Failed",n.billPayScheduledCancelled="Bill Pay Scheduled Cancelled",n.billPayScheduledDeleted="Bill Pay Scheduled Deleted",n.billPayPaid="Bill Pay Paid",n.billPayPaidACH="Bill Pay Paid ACH",n.billPayPaidWire="Bill Pay Paid Wire",n.billPayPaidDeleted="Bill Pay Paid Deleted",n.billPayPaidOffline="Bill Pay Paid Offline",n.billPayNewBill="Bill Pay New Bill",n.billPayInvoiceUpload="Bill Pay Invoice Upload",n.billPaySkipAutofill="Bill Pay Skip Autofill",n.billPayInvoiceActionClick="Bill Pay Invoice Action Click",n.billPayBillDetails="Bill Pay Bill Details",n.billPayEditBill="Bill Pay Edit Bill",n.billPayDeleteBill="Bill Pay Delete Bill",n.billPayCancelBill="Bill Pay Cancel Bill",n.billPayCancelAndDeleteBill="Bill Pay Cancel And Delete Bill",n.billPayReviewBill="Bill Pay Review Bill",n.billPaySendForApproval="Bill Pay Send For Approval",n.billPayMagicLinkPreviewEmail="Bill Pay MagicLink Preview Email",n.billPayMagicLinkPageLoad="Bill Pay MagicLink Page Load",n.billPayMagicLinkSubmitBankAccountDetails="Bill Pay MagicLink Submit Bank Account Details",n.billPayFilterClick="Bill Pay Filter Click",n.billPayFilterChange="Bill Pay Filter Change",n.billPayDownloadClick="Bill Pay Download Click",n.billPayNewVendor="Bill Pay New Vendor",n.billPayEditVendor="Bill Pay Edit Vendor",n.billPayExpandVendor="Bill Pay Expand Vendor",n.billPayChooseNewVendor="Bill Pay Choose New Vendor",n.billPayCreateNewVendorFromDropdown="Bill Pay Create New Vendor From Dropdown",n.billPayAutoDateChange="Book Close - Auto Date Change",n.billPayPrivacyPolicy="Bill Pay Privacy Policy",n.billPayAgreement="Bill Pay Agreement",n.billPayPromoSchedule="Bill Pay Schedule Demo",n.billPayPromoVideo="Bill Pay Promo Video",n.billPayTaskCard="Bill Pay Task Card",n.billPayCard="Bill Pay Card",n.enableIntlWire="Enable International Wire",n.submitIntlWire="International Wire Submit",n.intlWirePaymentMethod="International Wire Payment Method",n.zeniAssistClick="Zeni Assist Click",n.retryClick="Retry Click",n.retryConfirmClick="Retry Confirm Click",n.refundClick="Refund Click",n.refundConfirmClick="Refund Confirm Click",n.billPayBulkSelectAll="Bill Pay Bulk Select All",n.billPayBulkDeleted="Bill Pay Bulk Deleted",n.billPayBulkSubmit="Bill Pay Bulk Submit",n.billPayBulkSelection="Bill Pay Bulk Selection",n.billPayBulkPopupConfirm="Bill Pay Bulk Popup Confirm",n.billPayMarkAsPaid="Mark As Paid",n.billPayMarkAsPaidSubmit="Mark As Paid Submit",n.lowBalanceAccountSelected="Low Balance Account Selected",n.lowBalanceAccountSentForApproval="Low Balance Account Sent for Approval",n.lowBalanceAccountApprove="Low Balance Account Approve",n.lowBalanceAccountReject="Low Balance Account Reject",n.lowBalanceAccountChange="Low Balance Account Change",n.lowBalanceAccountSchedule="Low Balance Account Schedule",n.cockpitTabClicked="Cockpit Tab Clicked",n.cockpitHealthMonitorRowClicked="Cockpit Health Monitor Row Clicked",n.cockpitHealthMonitorChurnFormClicked="Cockpit Health Monitor Churn Form Click",n.cockpitHealthMonitorNotificationAlertClicked="Cockpit Health Monitor Notification Alert Clicked",n.reimbursementHome="Reimbursement Home",n.reimbursementSetup="Reimbursement Setup",n.reimbursementPromoPage="Reimbursement Promo",n.reimbursementTaskCard="Reimbursement Task Card",n.reimbursementFilterClick="Reimbursement Filter Click",n.reimbursementFilterChange="Reimbursement Filter Change",n.reimbursementDownloadClick="Reimbursement Download Click",n.reimbursementBulkSelectAll="Reimbursement Bulk Select All",n.reimbursementBulkDeleted="Reimbursement Bulk Deleted",n.reimbursementBulkSubmit="Reimbursement Bulk Submit",n.reimbursementBulkSelection="Reimbursement Bulk Selection",n.reimbursementBulkPopupConfirm="Reimbursement Bulk Popup Confirm",n.accountsListPageViewed="Accounts List Page Viewed",n.zeniAccountsSetup="Zeni Accounts Setup",n.accountsPromoPageViewed="Accounts Promo Page Viewed",n.zeniAccountsPromoCardClick="Zeni Accounts Promo Card Click",n.zeniAccountsCashBalancePromoClicked="Zeni Accounts Cash Balance Promo Clicked",n.zeniAccountsNeedHelp="Zeni Accounts Need Help",n.zeniAccountsBusinessVerification="Zeni Accounts Business Verification",n.zeniAccountsBusinessVerificationSave="Zeni Accounts Business Verification Save",n.zeniAccountsBusinessVerificationSend="Zeni Accounts Business Verification Send",n.plgPromoActionTaken="Promo Action Taken",n.cardsPromoPage="Cards Promo Page Viewed",n.cardsPromoPageClick="Cards Promo Page Clicked",n.cardsListPage="Cards List Page Viewed",n.cardsListPageClick="Cards List Page Clicked",n.cardsIssueNewCardFormClick="Issue New Card Form Clicked",n.cardsListRowClick="Cards List Row Clicked",n.cardsDetailPage="Cards Detail Page Viewed",n.cardsDetailPageClick="Cards Detail Page Clicked",n.cardsVerifyPopUpClick="Cards Verify Pop-Up Clicked",n.cardsSetupVisited="Cards Setup Page Visited",n.cardsPromoView="Cards Promo View",n.cardsSetupCardsClick="Cards Set Up Cards Click",n.cardsEnableCardsClick="Cards Enable Cards Click",n.cardsScheduleDemoClick="Cards Schedule Demo Click",n.cardsCardListView="Cards Card List View",n.cardsCardListSearchClick="Cards Card List Search Click",n.cardsCardListMoreMenuClick="Cards Card List More Menu Click",n.cardsSettingsClick="Cards Settings Click",n.cardsCardSetupView="Cards Card Setup View",n.cardsVerifyIdentityCompanyDetailsClick="Cards Verify Identity & Company Details Click",n.cardsPaymentAccountChangeClick="Cards Payment Account Change Click",n.cardsZeniCashAccountChangeClick="Cards Zeni Cash Account Change Click",n.cardsStatementsClick="Cards Statements Click",n.cardsCreditCardStatementsView="Cards Credit Card Statements View",n.cardsDownloadClick="Cards Download Click",n.cardsNewCardClick="Cards New Card Click",n.cardsCashbackOverviewClick="Cards Cashback Overview Click",n.cardsCardListRowClick="Cards Card List Row Click",n.cardsCopyIconClick="Cards Copy Icon Click",n.cardsCardListSortClick="Cards Card List Sort Click",n.cardsCardDetailView="Cards Card Detail View",n.cardsUpdateSpendLimitInitiated="Cards Update Spend Limit Initiated",n.cardsUpdateSpendLimitClick="Cards Update Spend Limit Click",n.cardsAddToWalletClick="Cards Add to Wallet Click",n.cardsNeedHelp="Cards Need Help",n.cardsBusinessVerification="Cards Business Verification",n.cardsBusinessVerificationSave="Cards Business Verification Save",n.cardsBusinessVerificationSend="Cards Business Verification Send",n.cardsConnectBank="Cards Connect Bank",n.cardsConnectBankSuccess="Cards Connect Bank Success",n.cardsConnectBankFailure="Cards Connect Bank Failure",n.cardsConnectBankGetBalance="Cards Connect Bank Get Balance",n.cardsConnectBankLink="Cards Connect Bank Link",n.zeniCardsPromoCardClicked="Zeni Cards Promo Card Click",n.cardsPayEarlyClick="Cards Pay Early Click",n.cardsPayEarlyFormView="Cards Pay Early Form View",n.cardsPayEarlyFormClick="Cards Pay Early Form Click",n.cardsPayEarlyPayNowClick="Cards Pay Early Pay Now Click",n.accountsListPageClicked="Accounts List Page Clicked",n.zeniAccountsTransferFormViewed="Transfer Between Accounts Form Viewed",n.zeniAccountsTransferFormClicked="Transfer Between Accounts Form Clicked",n.accountsDepositCheckFormViewed="Accounts Deposit Check Form Viewed",n.accountsDepositCheckFormClicked="Accounts Deposit Check Form Clicked",n.accountsPromoPageClicked="Accounts Promo Page Clicked",n.zeniAccountsSettingPageVisited="Zeni Accounts Setting Page Visited",n.zeniAccountsConnectBank="Zeni Accounts Connect Bank",n.zeniAccountsConnectBankSuccess="Zeni Accounts Connect Bank Success",n.zeniAccountsConnectBankFailure="Zeni Accounts Connect Bank Failure",n.zeniAccountsConnectBankGetBalance="Zeni Accounts Connect Bank Get Balance",n.zeniAccountsConnectBankLink="Zeni Accounts Connect Bank Link",n.enableZeniAccounts="Enable Zeni Accounts",n.reimbursementNeedHelp="Reimbursement Need Help",n.reimbursementBusinessVerification="Reimbursement Business Verification",n.reimbursementBusinessVerificationSave="Reimbursement Business Verification Save",n.reimbursementBusinessVerificationSend="Reimbursement Business Verification Send",n.reimbursementBusinessVerificationAddOfficer="Reimbursement Business Verification Add Officer",n.reimbursementConnectBank="Reimbursement Connect Bank",n.reimbursementConnectBankSuccess="Reimbursement Connect Bank Success",n.reimbursementConnectBankFailure="Reimbursement Connect Bank Failure",n.reimbursementConnectBankLink="Reimbursement Connect Bank Link",n.reimbursementConnectBankGetBalance="Reimbursement Connect Bank Get Balance",n.enableReimbursement="Enable Reimbursement",n.reimbursementMileageRateSave="Reimbursement Mileage Rate Save",n.reimbursementMileageRateEdit="Reimbursement Mileage Rate Edit",n.reimbursementPrivacyPolicy="Reimbursement Privacy Policy",n.reimbursementAgreement="Reimbursement Agreement",n.reimbursementPromoSchedule="Reimbursement Schedule Demo",n.reimbursementPromoVideo="Reimbursement Promo Video",n.reimbursementCard="Reimbursement Card",n.reimbursementDrafts="Reimbursement Drafts",n.reimbursementMyDrafts="Reimbursement My Drafts",n.reimbursementApprovals="Reimbursement Approvals",n.reimbursementApprovalsAwaitingApproval="Reimbursement Approvals Awaiting Approval",n.reimbursementApprovalsAwaitingAllApproval="Reimbursement Approvals Awaiting All Approval",n.reimbursementApprovalsAwaitingMyApproval="Reimbursement Approvals Awaiting My Approval",n.reimbursementApprovalsRejected="Reimbursement Approvals Rejected",n.reimbursementApprovalsDeleted="Reimbursement Approvals Deleted",n.reimbursementScheduled="Reimbursement Scheduled",n.reimbursementScheduledFailed="Reimbursement Scheduled Failed",n.reimbursementScheduledCancelled="Reimbursement Scheduled Cancelled",n.reimbursementScheduledDeleted="Reimbursement Scheduled Deleted",n.reimbursementPaid="Reimbursement Paid",n.reimbursementPaidACH="Reimbursement Paid ACH",n.reimbursementPaidDeleted="Reimbursement Paid Deleted",n.reimbursementListSort="Reimbursement List Sort",n.reimbursementNewReimbursement="Reimbursement New Reimbursement",n.reimbursementInvoiceUpload="Reimbursement Invoice Upload",n.reimbursementSkipAutofill="Reimbursement Skip Autofill",n.reimbursementSubmitReimbursement="Reimbursement Submit Reimbursement",n.reimbursementReimbursementDetails="Reimbursement Reimbursement Details",n.reimbursementEditReimbursement="Reimbursement Edit Reimbursement",n.reimbursementDeleteReimbursement="Reimbursement Delete Reimbursement",n.reimbursementCancelReimbursement="Reimbursement Cancel Reimbursement",n.reimbursementCancelAndDeleteReimbursement="Reimbursement Cancel And Delete Reimbursement",n.reimbursementSubmitAnywayDuplicateReimbursement="Reimbursement Submit Anyway Duplicate Reimbursement",n.reimbursementReviewDuplicateReportReimbursement="Reimbursement Review Duplicate Report Reimbursement",n.reimbursementDeleteReimbursementLine="Reimbursement Delete Reimbursement Line",n.reimbursementViewDuplicateExpense="Reimbursement View Duplicate Expense",n.groupBySwitch="Group By Switch",n.burnRateCalculatorSettings="Burn Rate Calculator Settings",n.vendorList="Vendor List",n.vendorListSort="Vendor List Sort",n.vendorListSpendTrendSelection="Vendor List Spend Trend Selection",n.vendorListSearch="Vendor List Search",n.vendorDetails="Vendor Details",n.vendorDetailsSave="Vendor Details Save",n.vendorDetailsCancel="Vendor Details Cancel",n.vendorDetailsSpendTrendHotlinkClicked="Vendor Details Spend Trend Hotlink Clicked",n.vendorOperatingExpenses="Operating Expenses By Vendor",n.vendorOperatingExpensesPageLoaded="Operating Expenses By Vendor Page Loaded",n.agingReport="Aging Report",n.agingReportDateChange="Aging Report Date Change",n.apAgingDetail="AP Aging Detail",n.arAgingDetail="AR Aging Detail",n.vendorTenantReviewListPage="Vendor Dedupe Tenant Review List Page",n.vendorGlobalReviewListPage="Vendor Dedupe Global Review List Page",n.vendorReviewList="Vendor Dedupe Review List Loaded",n.vendorReviewTenantSave="Vendor Dedupe First Review",n.vendorReviewTenantMergeInQBORedirect="Vendor Dedupe Merge in QBO Redirected",n.vendorReviewTenantMergeInQBOCancel="Vendor Dedupe Merge in QBO Canceled",n.vendorReviewTenantRecommendationUpdateContinue="Vendor Dedupe Recommendation Update Continued",n.vendorReviewTenantRecommendationUpdateCancel="Vendor Dedupe Recommendation Update Canceled",n.vendorReviewTenantUpdateCancel="Vendor Dedupe Update Canceled",n.vendorReviewTenantWebsiteOpened="Vendor Dedupe Website Opened",n.vendorReviewGlobalApproveRequest="Vendor Dedupe Approve Requested",n.vendorReviewGlobalNewVendorRequest="Vendor Dedupe New Vendor Requested",n.vendorReviewGlobalNewVendorSave="Vendor Dedupe New Vendor Saved",n.vendorReviewGlobalNewVendorCancel="Vendor Dedupe New Vendor Canceled",n.vendor1099ListPage="Vendors 1099",n.vendor1099TabSettingsSave="1099 Settings Save",n.vendor1099AccountingSettingsSave="Settings Accounting 1099 Save",n.vendor1099W9DocumentUpload="1099 Vendor W9 Upload",n.vendor1099DetailsSave="1099 Vendor Save",n.vendor1099ReportDownload="1099 Download",n.scheduleReviewList="Schedule Review List Loaded",n.scheduleReviewListDownload="Schedule Review List Download",n.scheduleDetailsPage="Schedule Details Loaded",n.scheduleDetailsNewRequested="Schedule Details New Requested",n.scheduleDetailsPreview="Schedule Details Previewed",n.scheduleDetailsSave="Schedule Details Saved",n.scheduleDetailsCancel="Schedule Details Canceled",n.scheduleDetailsLinkJournalEntry="Schedule Details Link Journal Entry",n.scheduleDetailsViewJournalEntry="Schedule Details View Journal Entry",n.scheduleDetailsJournalEntryViewLinkedExpense="Schedule Details Journal Entry View Linked Expense",n.scheduleDetailsJournalEntryLinkedSaved="Schedule Details Journal Entry Linked Saved",n.scheduleDetailsJournalEntryQBOFetched="Schedule Details Journal Entry QBO Fetched",n.scheduleDetailsJournalEntryLinkCancel="Schedule Details Journal Entry Link Canceled",n.scheduleDetailsEntryCanceled="Schedule Details Entry Canceled",n.scheduleDetailsJournalEntryLinkExpense="Schedule Details Journal Entry Link Expense",n.scheduleDetailsJournalEntryLinkExpenseLoaded="Schedule Details Journal Entry Link Expense Loaded",n.scheduleDetailsJournalEntryLinkExpenseCanceled="Schedule Details Journal Entry Link Expense Canceled",n.scheduleDetailsJounralEntryLinkExpenseSaved="Schedule Details Journal Entry Linked Expense Saved",n.scheduleDetailsDelete="Schedule Details Deleted",n.scheduleDetailsMarkComplete="Schedule Details Marked As Complete",n.taskListPage="Task List Page",n.taskDetailPage="Task Detail Page",n.cockpitTaskCardClicked="Cockpit Task Card Clicked",n.taskEdited="Task Edited",n.newTaskRequested="New Task Requested",n.healthMonitorFilterApplied="Health Monitor Filter Applied",n.error="Error",n.rewardsPageViewed="Rewards Page Viewed",n.rewardsPageClicked="Rewards Page Clicked",n.dashboardCardClicked="Dashboard Card Clicked",n.inviteEmailViewed="Rewards Invite Email Viewed",n.inviteEmailClicked="Rewards Invite Email Clicked",n.getAuditScore="Get Score",n.auditScorePercentage="Score %",n.auditIssueType="Issue Type",n.auditIssuesClicked="Issue Clicked",n.commentAdded="Comment Added",n.commentActivity="Comment Activity",n.monthCloseClicked="Month Close Clicked",n.monthCloseAuditPage="Month Close: Audit Page",n.transactionsReview="Transactions: Review",n.transactionsAutoCategorised="Transactions: Autocategorised",n.monthCloseScheduleList="Month Close: Schedule List",n.fluxAnalysis="Flux Analysis",n.fluxAnalysisReviewed="Flux Analysis: Reviewed",n.missingReceipts="Missing Receipts",n.receiptsAttached="Receipt Attached",n.insightsEmail="Insights Email",n.sendMoneyClick="Send Money Click",n.expressPayNextClick="Express Pay Next Click",n.expressPayScheduleClick="Express Pay Schedule Click",n.aiCFOPrivacyPolicy="AI CFO Privacy Policy",n.aiCFOAgreement="AI CFO Agreement",n.treasuryNavPromoClick="Treasury Nav Promo Click",n.treasuryPromoView="Treasury Promo View",n.treasurySetupActionClick="Treasury Setup Action Click",n.treasuryProspectusClick="Treasury Prospectus Click",n.treasuryCalculatorClick="Treasury Calculator Click",n.treasuryAgreementView="Treasury Agreement View",n.treasuryAllocationAction="Treasury Allocation Action",n.treasuryRiskAction="Treasury Risk Action",n.treasuryVerificationNavigation="Treasury Verification Navigation",n.treasuryTransferAction="Treasury Transfer Action",n.treasuryDashboardInteraction="Treasury Dashboard Interaction",n.treasuryPortfolioConfirm="Treasury Portfolio Confirm",n.treasuryPromoCards="Treasury Promo Cards",n.treasuryPromoVideo="Treasury Promo Video",n.transactionCotView="Transaction Cot View",n.transactionCotDropdownView="Transaction Cot Dropdown View",n.transactionCotViewAlternative="Transaction Cot View Alternative",n.transactionCotViewRecommended="Transaction Cot View Recommended",n.aiPerfHome="AI Perf Home",n.aiPerfRefresh="AI Perf Refresh",n.aiPerfTimePeriodSelect="AI Perf Time Period Select",n.otherConnectionConnectBank="Other Connection Connect Bank",n.otherConnectionConnectBankSuccess="Other Connections Connect Bank Success",n.otherConnectionConnectBankFailure="Other Connections Connect Bank Failure",n.otherConnectionsConnectBankLink="Other Connections Connect Bank Link",n.otherConnectionConnectBankGetBalance="Other Connection Connect Bank Get Balance"}(t||(Rt.Event=t={})),Rt.EVENTS_WITHOUT_SUPER_PROPERTIES=new Set([t.signInClick,t.signInViaGoogleMicrosoft,t.signInViaEmail,t.signInLinkSent]),Rt}var Fs;function ed(){if(Fs)return _r;Fs=1,Object.defineProperty(_r,"__esModule",{value:!0}),_r.Analytics=void 0;const t=fc();class n{constructor(e){this.provider=e,this.superProperties={},this.userProperties={},this.userAndSuperProperties={}}static splitUserAndSuperProperties(e){const r={$distinct_id:e.$distinct_id??"",user_id:e.user_id??"",role_at_company:e.role_at_company??"",$email:e.$email??"",user_email_domain:e.user_email_domain??"",$first_name:e.$first_name??"",$last_name:e.$last_name??"",company_ids:e.company_ids??[],company_names:e.company_names??[],user_roles:e.user_roles??[],app_type:e.app_type??"web",app_version:e.app_version??"",app_short_version:e.app_short_version??"",profile_type:e.profile_type??void 0,chargebee_customer_id:e.chargebee_customer_id??"",is_zeni:e.is_zeni??void 0},i={appearance:e.appearance??void 0,company_id:e.company_id??"",company_name:e.company_name??"",user_role:e.user_role??[],tenant_id:e.tenant_id??"",tenant_email_domain:e.tenant_email_domain??""};return{userProperties:r,superProperties:i}}identify(e,r){const i=r??{};this.userAndSuperProperties=Object.assign({},this.userAndSuperProperties,i,{$distinct_id:e,profile_type:"user"});const s=n.splitUserAndSuperProperties(this.userAndSuperProperties);this.userProperties=s.userProperties,this.superProperties=s.superProperties,this.provider.identify(e,this.userProperties)}identifyUserAndCompany(e,r,i,s,o){const c=s??{};this.userAndSuperProperties=Object.assign({},this.userAndSuperProperties,c,{$distinct_id:e==="company"?i:r,user_id:r,company_id:i,profile_type:e});const u=n.splitUserAndSuperProperties(this.userAndSuperProperties);this.userProperties=u.userProperties,this.superProperties=u.superProperties,this.provider.identifyUserAndCompany(e,r,i,this.userProperties,o)}resetUserIdentity(){console.warn("Resetting user identity"),this.superProperties={},this.userProperties={},this.userAndSuperProperties={},this.provider.reset()}track(e){this.fireTrack(e)}trackLogin(e,r,i,s,o){this.fireTrack(e,{login_type:r,customer_type:i,utm_source:s,utm_medium:o})}trackSignInClick(e){const i={login_type:e.charAt(0).toUpperCase()+e.slice(1)};this.fireTrack(t.Event.signInClick,i)}trackSignInViaGoogleMicrosoft(){this.fireTrack(t.Event.signInViaGoogleMicrosoft)}trackSignInViaEmail(){this.fireTrack(t.Event.signInViaEmail)}trackSignInLinkSent(){this.fireTrack(t.Event.signInLinkSent)}trackError(e,r,i,s){this.fireTrack(e,{error_referrer:r,error_description:i,error_code:s})}trackSidePanelClicked(e,r){this.fireTrack(t.Event.sidePanelClicked,{sidepanel_click_type:e,sidepanel_click_group_type:r})}trackLogout(e){this.fireTrack(e)}trackPageLoaded(e,r,i){this.fireTrack(e,{referrer_card:r,customer_type:i})}trackTransactionList(e,r,i,s,o,c){this.fireTrack(t.Event.transactionList,{account_id:e,account_name:r,referrer_card:i,referrer_account:s,referrer_account_group:o,load_more:c})}trackTransactionDetails(e,r,i,s,o,c,u,l,d,f,m){this.fireTrack(t.Event.transactionDetails,{account_id:e,account_name:r,transaction_id:i,transaction_name:s,category:o,class:c,transaction_type:u,transaction_amount:l,transaction_memo:d,line_item_count:f,receipt_file_names:m})}trackCompareMode(e,r,i){this.fireTrack(t.Event.compareMode,{is_turned_on:e,referrer_card:r,graph_filter:i})}trackCompareFilterChange(e,r,i,s){this.fireTrack(t.Event.compareFilterChange,{value:e,referrer_card:r,graph_filter:i,clicked_on:s})}trackCompareFilterTimeFrame(e,r,i,s){this.fireTrack(t.Event.compareFilterTimeframe,{referrer_card:e,graph_filter:r,clicked_on:i,value:s})}trackDateRangeFilterChange(e,r,i,s,o){this.fireTrack(t.Event.dateRangeFilter,{parent_card:e,clicked_on:r,compare_mode:i,value:s,bar_name:o})}trackTimeframeSwitch(e,r,i){this.fireTrack(t.Event.timeframeSwitch,{value:e,parent_card:r,referrer_card:i})}trackGraphBar(e,r,i,s){this.fireTrack(t.Event.graphBar,{referrer_card:e,graph_filter:r,compare_mode:i,bar_name:s})}trackInviteSent(e,r,i){this.fireTrack(t.Event.inviteSent,{role:e,count:r,emails:i})}trackRoleChanged(e,r,i){this.fireTrack(t.Event.roleChanged,{old_role:e,new_role:r,member_email:i})}trackRemoveUserAccess(e,r){this.fireTrack(t.Event.removeUserAccess,{role:e,member_email:r})}trackResendInvite(e,r){this.fireTrack(t.Event.resendInvite,{role:e,member_email:r})}trackCompanySwitch(e,r,i){this.fireTrack(t.Event.companySwitch,{new_company_id:e,new_company_name:r,new_user_role:i})}trackDownload(e,r,i,s){this.fireTrack(t.Event.download,{referrer_card:e,graph_filter:r,file_type:i,compare_mode:s})}trackSpendIncomeTrendForTransaction(e,r,i,s,o,c,u,l,d,f){this.fireTrack(e,{referrer_card:r,transaction_id:i,transaction_type:s,transaction_name:o,account_ids:c,account_names:u,class_ids:l,class_names:d,bar_name:f})}trackSpendIncomeTrend(e,r,i,s,o){this.fireTrack(e,{referrer_card:r,bar_name:o,entity_name:s,entity_type:i})}trackSearch(e,r,i,s,o){this.fireTrack(e,{referrer_card:r,entity_type:i,entity_name:s,search_term:o})}trackTransactionDetailReceipt(e,r,i,s,o,c,u){this.fireTrack(e,{attachment_id:r,transaction_id:i,transaction_name:s,transaction_type:o,account_ids:c,account_names:u})}trackTransactionDetailReceiptUpload(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.transactionDetailReceiptAdded,{account_id:e,account_name:r,transaction_id:i,transaction_name:s,transaction_type:o,transaction_memo:c,file_name:u,file_type:l})}trackCardStatementCloseDate(e,r,i,s,o){this.fireTrack(e,{referrer_card:s,account_id:r,account_name:i,value:o})}trackReportGenerated(e,r,i,s,o,c,u,l){const d={report_id:e,file_type:r,time_taken_rest_api:i,time_taken_data_transform:s,time_taken_rendering:o,time_taken_total:c};Object.assign(d,u!=null?{time_taken_pdf_merge:u}:{}),Object.assign(d,l!=null?{time_taken_sub_report_total_max:l}:{}),this.fireTrack(t.Event.reportGenerated,d)}trackInsightsNavigation(e,r){this.fireTrack(e,{referrer_view:r})}trackForecast(){this.fireTrack(t.Event.forecast)}trackForecastSwitch(e,r){this.fireTrack(t.Event.forecastSwitch,{parent_card:e,forecast_name:r})}trackForecastVsActualMode(e,r,i){this.fireTrack(t.Event.forecastVsActualMode,{parent_card:e,forecast_name:r,is_turned_on:i})}trackSpendManagmentFilterClick(e){switch(e){case"bill_pay":{this.fireTrack(t.Event.billPayFilterClick);break}case"reimbursement":{this.fireTrack(t.Event.reimbursementFilterClick);break}}}trackSpendManagmentFilterChange(e,r){switch(e){case"bill_pay":{this.fireTrack(t.Event.billPayFilterChange,{filter_categories:r});break}case"reimbursement":{this.fireTrack(t.Event.reimbursementFilterChange,{filter_categories:r});break}}}trackSpendManagementDownloadClick(e){switch(e){case"bill_pay":{this.fireTrack(t.Event.billPayDownloadClick);break}case"reimbursement":{this.fireTrack(t.Event.reimbursementDownloadClick);break}}}trackBillPayPrivacyPolicy(){this.fireTrack(t.Event.billPayPrivacyPolicy)}trackBillPayAgreement(){this.fireTrack(t.Event.billPayAgreement)}trackReimbursementPrivacyPolicy(){this.fireTrack(t.Event.reimbursementPrivacyPolicy)}trackReimbursementAgreement(){this.fireTrack(t.Event.reimbursementAgreement)}trackReimbursementMileageRateSave(e){const r={mileage_unit_amount:e};this.fireTrack(t.Event.reimbursementMileageRateSave,r)}trackReimbursementMileageRateEdit(){this.fireTrack(t.Event.reimbursementMileageRateEdit)}trackReimbursementPromoScheduleDemo(){this.fireTrack(t.Event.reimbursementPromoSchedule)}trackReimbursementPromoVideo(){this.fireTrack(t.Event.reimbursementPromoVideo)}trackBillPayPromoScheduleDemo(){this.fireTrack(t.Event.billPayPromoSchedule)}trackBillPayPromoVideo(){this.fireTrack(t.Event.billPayPromoVideo)}trackBillPayTaskCard(e){const r={count:e};this.fireTrack(t.Event.billPayTaskCard,r)}trackBillPayCard(e,r){const i={transaction_amount:r,bill_pay_tab_subtab:e};this.fireTrack(t.Event.billPayCard,i)}trackReimbursementCard(e,r){const i={transaction_amount:r,reimbursement_tab_subtab:e};this.fireTrack(t.Event.reimbursementCard,i)}trackReimbursementTaskCard(e){const r={count:e};this.fireTrack(t.Event.reimbursementTaskCard,r)}trackOnboardingConnectQBO(){this.fireTrack(t.Event.onboardingQBOConnect)}trackOnboardingSaveQBOConnection(e,r){const i={qbo_realm_id:e,qbo_connection_id:r};this.fireTrack(t.Event.onboardingSaveQBOConnection,i)}trackOnboardingClickUpdatePaymentDetails(e,r){const i={payment_method:e,customer_type:r};this.fireTrack(t.Event.onboardingClickUpdatePaymentDetails,i)}trackOnboardingCurrentStep(e,r){const i={onboarding_current_step:e,onboarding_previous_step:r};this.fireTrack(t.Event.onboardingActiveStep,i)}trackOnboardingBankAccountPendingVerification(e,r){const i={verification_type:e,plaid_session_id:r};this.fireTrack(t.Event.onboardingBankAccountPendingVerification,i)}trackOnboardingBankAccountVerified(e){const r={verification_type:e};this.fireTrack(t.Event.onboardingBankAccountVerified,r)}trackOnboardingBillingAddress(e){const r={billing_address_field:e};this.fireTrack(t.Event.onboardingBillingAddress,r)}trackOnboardingBillingAddressSave(e){const r={address:{street:e.street,suite:e.suite,city:e.city,state:e.state,country:e.country,postal_code:e.postalCode,secondary_info:e.secondaryInfo}};this.fireTrack(t.Event.onboardingBillingAddressSave,r)}trackOnboardingBack(e,r){const i={onboarding_current_step:e,onboarding_previous_step:r};this.fireTrack(t.Event.onboardingBack,i)}trackOnboardingNext(e,r){const i={onboarding_current_step:r,onboarding_previous_step:e};this.fireTrack(t.Event.onboardingNext,i)}trackSaveAddressClicked(e,r){const i={address:{street:r?.street??"",suite:r?.suite??"",city:r?.city??"",state:r?.state??"",country:r?.country??"",postal_code:r?.postalCode??"",secondary_info:r?.secondaryInfo??""}};this.fireTrack(e,i)}trackOnboardingCompanyOfficerSave(e,r,i){const s={company_officer_email:e.email,company_officer_birthday:e.birthday,company_officer_ownership:e.companyOwnership,company_officer_first_name:e.firstName,company_officer_last_name:e.lastName,company_officer_role:e.companyRole,company_officer_document_type_for_verification:e.documentTypeForVerification,company_officer_phone:e.phone,company_officer_address:e.formattedAddress,company_legal_name:r.legalName,completed_fields:i?.completedFields??[],completed_fields_status:i?.status??"not_started"};this.fireTrack(t.Event.onboardingCompanyOfficerSave,s)}trackOnboardingCompanyDetailsSave(e,r,i){const s={company_description:e.companyDescription,company_legal_name:e.legalName,company_industry:e.industry,company_phone:e.phone,company_website:e.website,company_address:e.formattedAddress,inc_date:e.incDate,primary_contact_first_name:i.firstName,primary_contact_last_name:i.lastName,primary_contact_email:i.email,completed_fields:r.completedFields,completed_fields_status:r.status};this.fireTrack(t.Event.onboardingCompanyDetailsSave,s)}trackOnboardingDashboardActivation(e){const r={time_since_quote_sign:e.timeSinceQuoteSign,time_since_quote_sign_in_minutes:e.timeSinceQuoteSignInMinutes,is_kyc_done:e.isKycDone,is_kyb_done:e.isKybDone,payment_type:e.paymentType,payment_source:e.paymentSource,qbo_connection_source:e.qboConnectionSource};this.fireTrack(t.Event.onboardingDashboardActivation,r)}trackOnboardingNewCustomerStarted(){this.fireTrack(t.Event.onboardingNewCustomerStarted)}trackOnboardingNewCustomerGroupCreationCheck(e,r){const i={company_email_domain:e.companyEmailDomain,primary_contact_email:e.primaryContactEmail,group_name:r.groupName,group_email:r.groupEmail,group_description:r.groupDescription,is_company_email_domain_available:r.isCompanyEmailDomainAvailable};this.fireTrack(t.Event.onboardingNewCustomerGroupCreationCheck,i)}trackOnboardingQBOConnectionSelected(e){const r={first_name:e.firstName,last_name:e.lastName,customer_email:e.customerEmail};switch(e.isZeniOrCustomer){case"customer":this.fireTrack(t.Event.onboardingCustomerManagedQBOConnectionSelected,r);break;default:this.fireTrack(t.Event.onboardingZeniManagedQBOConnectionSelected,r);break}}trackOnboardingZeniManagedQBOConnection(e){const r={first_name:e.firstName,last_name:e.lastName,customer_email:e.customerEmail,qbo_connection_response_message:e.qboConnectionResponseMessage};e.isSuccess?this.fireTrack(t.Event.onboardingZeniManagedQBOConnectionSuccess,r):this.fireTrack(t.Event.onboardingZeniManagedQBOConnectionUnsuccess,r)}trackOnboardingSaveOrSendInvite(e,r,i,s){const o={company_domain:e.companyDomain,primary_contact_email:e.primaryContactEmail,group_name:r.groupName,group_email:r.groupEmail,group_description:r.groupDescription,first_name:i.firstName,last_name:i.lastName,customer_email:i.customerEmail,company_name:i.companyName,entitty_type:i.entittyType,qbo_realm_id:i.qboRealmId,hubspot_id:i.hubSpotId,chargebee_id:i.chargebeeId,products:i.products,is_zeni_managed_qbo_connection_selected:s.isZeniManagedQboConnectionSelected,is_customer_managed_qbo_connection_selected:s.isCustomerManagedQboConnectionSelected,qbo_connection_status:s.qboConnectionStatus};s.isSendInvite?s.isInviteAlreadySent?this.fireTrack(t.Event.onboardingResendInvite,o):this.fireTrack(t.Event.onboardingSendInvite,o):this.fireTrack(t.Event.onboardingSave,o)}trackOnboardingInterimCard(e){const r={card_click:e};this.fireTrack(t.Event.onboardingInterimCardClick,r)}trackOnboardingLandingPageCardClick(e){const r={card_click:e};this.fireTrack(t.Event.onboardingLandingPageCardClick,r)}trackBusinessVerificationSave(e,r,i,s,o){const c={company_officer_email:e.email,company_officer_birthday:e.birthday,company_officer_ownership:e.companyOwnership,company_officer_first_name:e.firstName,company_officer_last_name:e.lastName,company_officer_role:e.companyRole,company_officer_document_type_for_verification:e.documentTypeForVerification,company_officer_phone:e.phone,company_officer_address:e.formattedAddress,company_description:r.companyDescription,company_legal_name:r.legalName,company_industry:r.industry,company_phone:r.phone,company_website:r.website,company_address:r.formattedAddress,inc_date:r.incDate,primary_contact_first_name:i.firstName,primary_contact_last_name:i.lastName,primary_contact_email:i.email,referrer_card:o};switch(s){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsBusinessVerificationSave,c);break;case"reimbursement":this.fireTrack(t.Event.reimbursementBusinessVerificationSave,c);break;case"onboarding":this.fireTrack(t.Event.onboardingSkipAndSave,c);break;case"charge_cards":this.fireTrack(t.Event.cardsBusinessVerification,c);break;case"bill_pay":default:this.fireTrack(t.Event.billPayBusinessVerificationSave,c);break}}trackBusinessVerificationSend(e,r,i,s,o){const c={company_officer_email:e.email,company_officer_birthday:e.birthday,company_officer_ownership:e.companyOwnership,company_officer_first_name:e.firstName,company_officer_last_name:e.lastName,company_officer_role:e.companyRole,company_officer_document_type_for_verification:e.documentTypeForVerification,company_officer_phone:e.phone,company_officer_address:e.formattedAddress,company_description:r.companyDescription,company_legal_name:r.legalName,company_industry:r.industry,company_phone:r.phone,company_website:r.website,company_address:r.formattedAddress,inc_date:r.incDate,primary_contact_first_name:i.firstName,primary_contact_last_name:i.lastName,primary_contact_email:i.email,referrer_card:o};switch(s){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsBusinessVerificationSend,c);break;case"reimbursement":this.fireTrack(t.Event.reimbursementBusinessVerificationSend,c);break;case"charge_cards":this.fireTrack(t.Event.cardsBusinessVerificationSend,c);break;case"bill_pay":default:this.fireTrack(t.Event.billPayBusinessVerificationSend,c);break}}onboardingConnectBankEventsByEventSource(e,r){if(r!=null&&e!=null)switch(r){case"link_bank_account":this.fireTrack(t.Event.onboardingLinkBankAccount,{referrer_card:e});break;case"switch_to_bank_account":this.fireTrack(t.Event.onboardingSwitchToBankAccount,{referrer_card:e});break;case"link_new_bank_account":this.fireTrack(t.Event.onboardingLinkANewBankAccount,{referrer_card:e});break}}onboardingConnectBankEventsByEventSourceSuccess(e,r,i,s,o,c){if(c!=null&&o!=null)switch(c){case"link_bank_account":this.fireTrack(t.Event.onboardingLinkBankAccountSuccess,{referrer_card:o,plaid_session_id:e,plaid_account_id:r,is_micro_deposit_verification_done:i??!1,plaid_institution_name:s});break;case"switch_to_bank_account":this.fireTrack(t.Event.onboardingSwitchToBankAccountSuccess,{referrer_card:o,plaid_session_id:e,plaid_account_id:r,is_micro_deposit_verification_done:i??!1,plaid_institution_name:s});break;case"link_new_bank_account":this.fireTrack(t.Event.onboardingLinkANewBankAccountSuccess,{referrer_card:o,plaid_session_id:e,plaid_account_id:r,is_micro_deposit_verification_done:i??!1,plaid_institution_name:s});break}}onboardingConnectBankEventsByEventSourceFailure(e,r,i,s,o,c,u){if(u!=null&&c!=null)switch(u){case"link_bank_account":this.fireTrack(t.Event.onboardingLinkBankAccountFailure,{referrer_card:c,error_description:e,error_code:o,plaid_session_id:r,plaid_request_id:i,plaid_institution_name:s});break;case"switch_to_bank_account":this.fireTrack(t.Event.onboardingSwitchToBankAccountFailure,{referrer_card:c,error_description:e,error_code:o,plaid_session_id:r,plaid_request_id:i,plaid_institution_name:s});break;case"link_new_bank_account":this.fireTrack(t.Event.onboardingLinkANewBankAccountFailure,{referrer_card:c,error_description:e,error_code:o,plaid_session_id:r,plaid_request_id:i,plaid_institution_name:s});break}}onboardingCreditCardEventsConnectByEventSource(e,r){if(r!=null&&e!=null)switch(r){case"switch_to_credit_card":this.fireTrack(t.Event.onboardingSwitchToCreditCard,{referrer_card:e});break;case"link_new_credit_card":this.fireTrack(t.Event.onboardingLinkNewCard,{referrer_card:e});break;case"link_credit_card":this.fireTrack(t.Event.onboardingLinkCreditCard,{referrer_card:e});break}}onboardingCreditCardConnectEventsByEventSourceSuccess(e,r){if(r!=null&&e!=null)switch(r){case"switch_to_credit_card":this.fireTrack(t.Event.onboardingSwitchToCreditCardSuccess,{referrer_card:e});break;case"link_new_credit_card":this.fireTrack(t.Event.onboardingLinkNewCardSuccess,{referrer_card:e});break;case"link_credit_card":this.fireTrack(t.Event.onboardingLinkCreditCardSuccess,{referrer_card:e});break}}onboardingCreditCardConnectEventsByEventSourceFailure(e,r,i,s){if(s!=null&&i!=null)switch(s){case"switch_to_credit_card":this.fireTrack(t.Event.onboardingSwitchToCreditCardFailure,{referrer_card:i,error_description:e,error_code:r});break;case"link_new_credit_card":this.fireTrack(t.Event.onboardingLinkANewBankAccountFailure,{referrer_card:i,error_description:e,error_code:r});break;case"link_credit_card":this.fireTrack(t.Event.onboardingLinkCreditCardFailure,{referrer_card:i,error_description:e,error_code:r});break}}billingConnectBankEventsByEventSource(e,r){if(r!=null&&e!=null)switch(r){case"link_new_bank_account":this.fireTrack(t.Event.billingLinkNewBankAccount,{referrer_card:e});break;case"switch_to_bank_account":this.fireTrack(t.Event.billingSwitchToBankAccount,{referrer_card:e});break}}billingConnectBankEventsByEventSourceSuccess(e,r){if(r!=null&&e!=null)switch(r){case"link_new_bank_account":this.fireTrack(t.Event.billingLinkNewBankAccountSuccess,{referrer_card:e});break;case"switch_to_bank_account":this.fireTrack(t.Event.billingSwitchToBankAccountSuccess,{referrer_card:e});break}}billingConnectBankEventsByEventSourceFailure(e,r,i,s){if(s!=null&&i!=null)switch(s){case"link_new_bank_account":this.fireTrack(t.Event.billingLinkNewBankAccountFailure,{referrer_card:i,error_description:e,error_code:r});break;case"switch_to_bank_account":this.fireTrack(t.Event.billingSwitchToBankAccountFailure,{referrer_card:i,error_description:e,error_code:r});break}}billingConnectCreditCardEventsByEventSource(e,r){if(r!=null&&e!=null)switch(r){case"switch_to_credit_card":this.fireTrack(t.Event.billingSwitchToCreditCard,{referrer_card:e});break;case"link_new_credit_card":this.fireTrack(t.Event.billingLinkNewCard,{referrer_card:e});break}}billingConnectCreditCardEventsByEventSourceSuccess(e,r){if(r!=null&&e!=null)switch(r){case"switch_to_credit_card":this.fireTrack(t.Event.billingSwitchToCreditCardSuccess,{referrer_card:e});break;case"link_new_credit_card":this.fireTrack(t.Event.billingLinkNewCardSuccess,{referrer_card:e});break}}billingConnectCreditCardEventsByEventSourceFailure(e,r,i,s){if(s!=null&&i!=null)switch(s){case"switch_to_credit_card":this.fireTrack(t.Event.billingSwitchToCreditCardFailure,{referrer_card:i,error_description:e,error_code:r});break;case"link_new_credit_card":this.fireTrack(t.Event.billingLinkNewCardFailure,{referrer_card:i,error_description:e,error_code:r});break}}trackConnectBank(e,r,i){switch(e){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsConnectBank,{referrer_card:r});break;case"charge_cards":this.fireTrack(t.Event.cardsConnectBank,{referrer_card:r});break;case"reimbursement":this.fireTrack(t.Event.reimbursementConnectBank,{referrer_card:r});break;case"onboarding":this.onboardingConnectBankEventsByEventSource(r,i);break;case"billing":this.billingConnectBankEventsByEventSource(r,i);break;case"bill_pay":this.fireTrack(t.Event.billPayConnectBank,{referrer_card:r});break;case"other_connection":default:this.fireTrack(t.Event.otherConnectionConnectBank,{referrer_card:r});break}}trackConnectBankSuccess(e,r,i,s,o,c,u){switch(e){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsConnectBankSuccess,{referrer_card:r});break;case"charge_cards":this.fireTrack(t.Event.cardsConnectBankSuccess,{referrer_card:r});break;case"reimbursement":this.fireTrack(t.Event.reimbursementConnectBankSuccess,{referrer_card:r});break;case"onboarding":this.onboardingConnectBankEventsByEventSourceSuccess(s??null,o??null,c??null,u??null,r,i);break;case"billing":this.billingConnectBankEventsByEventSourceSuccess(r,i);break;case"bill_pay":this.fireTrack(t.Event.billPayConnectBankSuccess,{referrer_card:r});break;case"other_connection":default:this.fireTrack(t.Event.otherConnectionConnectBankSuccess,{referrer_card:r});break}}trackConnectBankFailure(e,r,i,s,o,c,u,l){switch(e){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsConnectBankFailure,{error_code:o,error_description:r,referrer_card:i});break;case"charge_cards":this.fireTrack(t.Event.cardsConnectBankFailure,{error_code:o,error_description:r,referrer_card:i});break;case"reimbursement":this.fireTrack(t.Event.reimbursementConnectBankFailure,{error_code:o,error_description:r,referrer_card:i});break;case"onboarding":this.onboardingConnectBankEventsByEventSourceFailure(r,c??null,u??null,l??null,o,i,s);break;case"billing":this.billingConnectBankEventsByEventSourceFailure(r,o,i,s);break;case"bill_pay":this.fireTrack(t.Event.billPayConnectBankFailure,{error_code:o,error_description:r,referrer_card:i});break;case"other_connection":default:this.fireTrack(t.Event.otherConnectionConnectBankFailure,{error_code:o,error_description:r,referrer_card:i});break}}trackCreditCardConnect(e,r,i){if(i!=null&&r!=null)switch(e){case"onboarding":this.onboardingCreditCardEventsConnectByEventSource(i,r);break;case"billing":this.billingConnectCreditCardEventsByEventSource(i,r);break}}trackCreditCardConnectSuccess(e,r,i){if(r!=null&&i!=null)switch(e){case"onboarding":this.onboardingCreditCardConnectEventsByEventSourceSuccess(r,i);break;case"billing":this.billingConnectCreditCardEventsByEventSourceSuccess(r,i);break}}trackCreditCardConnectFailure(e,r,i,s,o){if(i!=null&&s!=null)switch(e){case"onboarding":this.onboardingCreditCardConnectEventsByEventSourceFailure(r,o,i,s);break;case"billing":this.billingConnectCreditCardEventsByEventSourceFailure(r,o,i,s);break}}trackConnectBankLink(e,r,i,s){switch(i){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsConnectBankLink,{account_name:r,account_id:e,referrer_card:s});break;case"charge_cards":this.fireTrack(t.Event.cardsConnectBankLink,{account_name:r,account_id:e,referrer_card:s});break;case"reimbursement":this.fireTrack(t.Event.reimbursementConnectBankLink,{account_name:r,account_id:e,referrer_card:s});break;case"onboarding":this.fireTrack(t.Event.onboardingConnectBankLink,{account_name:r,account_id:e,referrer_card:s});break;case"bill_pay":this.fireTrack(t.Event.billPayConnectBankLink,{account_name:r,account_id:e,referrer_card:s});break;case"other_connection":default:this.fireTrack(t.Event.otherConnectionsConnectBankLink,{account_name:r,account_id:e,referrer_card:s});break}}trackConnectBankGetBalance(e,r){switch(e){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsConnectBankGetBalance,{referrer_card:r});break;case"charge_cards":this.fireTrack(t.Event.cardsConnectBankGetBalance,{referrer_card:r});break;case"reimbursement":this.fireTrack(t.Event.reimbursementConnectBankGetBalance,{referrer_card:r});break;case"onboarding":this.fireTrack(t.Event.onboardingConnectBankGetBalance,{referrer_card:r});break;case"bill_pay":this.fireTrack(t.Event.billPayConnectBankGetBalance,{referrer_card:r});break;case"other_connection":default:this.fireTrack(t.Event.otherConnectionConnectBankGetBalance,{referrer_card:r});break}}trackNeedHelp(e){switch(e){case"onboarding":this.fireTrack(t.Event.onboardingNeedHelp,{});break;case"onboarding_interim":this.fireTrack(t.Event.onboardingInterimNeedHelp,{});break;case"onboarding_landing":this.fireTrack(t.Event.onboardingLandingNeedHelp,{});break;case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsNeedHelp,{});break;case"charge_cards":this.fireTrack(t.Event.cardsNeedHelp,{});break;case"reimbursement":this.fireTrack(t.Event.reimbursementNeedHelp,{});break;case"bill_pay":default:this.fireTrack(t.Event.billPayNeedHelp,{});break}}trackAccountsListPageViewed(e,r,i,s,o){this.fireTrack(t.Event.accountsListPageViewed,{zeni_accounts_count:e,external_accounts_count:r,zeni_accounts_available_balance:i,total_yield_earned:s,current_average_yield:o})}trackAccountsListPageClicked(e,r,i){this.fireTrack(t.Event.accountsListPageClicked,{click_type:e,account_name:r,account_status:i})}trackAccountsPromoPageClicked(e){this.fireTrack(t.Event.accountsPromoPageClicked,{click_type:e})}trackTransferBetweenAccountsFormClicked(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.zeniAccountsTransferFormClicked,{click_type:e,current_screen:r,transfer_from_bank_name:i,transfer_to_bank_name:s,amount:o,is_split_transfer:c,split_days_count:u,APY_slider_moved:l})}trackAccountsDepositCheckFormClicked(e,r,i,s,o,c){this.fireTrack(t.Event.accountsDepositCheckFormClicked,{click_type:e,amount:r,source_of_deposit:i,deposited_to:s,front_photo:o,back_photo:c})}trackAccountsDepositCheckFormViewed(){this.fireTrack(t.Event.accountsDepositCheckFormViewed)}trackZeniTransferBetweenAccountsFormViewed(){this.fireTrack(t.Event.zeniAccountsTransferFormViewed)}trackEnableZeniAccounts(){this.fireTrack(t.Event.enableZeniAccounts)}trackZeniAccountsPromoCardClick(e,r){this.fireTrack(t.Event.zeniAccountsPromoCardClick,{card_position:e,click_type:r})}trackZeniAccountsCashBalancePromoClicked(e){this.fireTrack(t.Event.zeniAccountsCashBalancePromoClicked,{click_type:e})}trackPlgPromoClicked(e,r){this.fireTrack(t.Event.plgPromoActionTaken,{page_name:e,clicked_on:r})}getBaseCardProperties(e,r,i,s){return{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,credit_account_id:i?.creditAccountId,credit_account_limit:i?.creditAccountLimit,credit_account_available_amount:i?.creditAccountAvailableAmount,credit_account_spent_amount:i?.creditAccountSpentAmount,credit_account_status:i?.creditAccountStatus,credit_account_outstanding_balance:i?.outstandingBalance,deposit_account_id:s?.debitAccountId,deposit_account_name:s?.debitAccountName,deposit_account_balance:s?.debitAccountBalance,debit_cards_spend:s?.debitCardsSpend,deposit_account_status:s?.debitAccountStatus}}getBaseCardPropertiesWithCashback(e,r,i,s,o){return{...this.getBaseCardProperties(e,r,s,o),credit_card_cashback_offer:i?.creditCardCashbackOffer,debit_card_cashback_offer:i?.debitCardCashbackOffer,total_earned_cashback:i?.totalEarnedCashback,redeemed_cashback:i?.redeemedCashback,available_cashback:i?.availableCashback,credit_card_cashback_redemption_mode:i?.creditCardCashbackRedemptionMode,debit_card_cashback_redemption_mode:i?.debitCardCashbackRedemptionMode}}getPaymentSourceProperties(e){return{is_zeni_checking_enabled:e.isZeniCheckingEnabled,is_zeni_checking_payment_source:e.isZeniCheckingPaymentSource,credit_card_payment_source_account_name:e.creditCardPaymentSourceAccountName,credit_card_payment_source_account_type:e.creditCardPaymentSourceAccountType,credit_card_payment_source_last_four_digits:e.creditCardPaymentSourceLastFourDigits,credit_card_payment_source_balance:e.creditCardPaymentSourceBalance}}getCardPaymentProperties(e){return{payment_amount:e.paymentAmount,payment_account_name:e.paymentAccountName,payment_account_type:e.paymentAccountType,payment_account_last_four_digits:e.paymentAccountLastFourDigits,payment_complete_eta:e.paymentCompleteEta,payment_initiated_date:e.paymentInitiatedDate}}trackCardsPromoPageClicked(e){this.fireTrack(t.Event.cardsPromoPageClick,{cards_click_type:e})}trackCardsListPageClicked(e){this.fireTrack(t.Event.cardsListPageClick,{cards_click_type:e})}trackCardsNewCardFormClicked(e,r,i,s,o){this.fireTrack(t.Event.cardsIssueNewCardFormClick,{cards_click_type:o,card_owner:e,card_name:r,amount:s,frequency:i})}trackCardsListRowClicked(e,r,i,s,o,c,u){this.fireTrack(t.Event.cardsListRowClick,{card_owner:e,card_name:r,department:i,utilisation:s,limit:o,frequency:c,is_self_card:u})}trackCardsDetailPageViewed(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.cardsDetailPage,{card_id:e,is_self_card:l,card_owner:r,card_name:i,utilisation:s,limit:o,frequency:c,card_color:u})}trackCardsVerifyPopUpClick(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsVerifyPopUpClick,{cards_click_type:u,is_self_card:l,card_owner:r,card_name:i,utilisation:s,limit:o,frequency:c,card_id:e,selected_color:d})}trackCardsDetailPageClicked(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsDetailPageClick,{cards_click_type:u,is_self_card:l,card_owner:r,card_name:i,utilisation:s,limit:o,frequency:c,card_id:e,selected_color:d})}trackZeniCardsPromoCardClicked(e,r,i,s,o){this.fireTrack(t.Event.zeniCardsPromoCardClicked,{card_position:i,click_type:r,is_cards_setup:e,user_name:s,credit_limit:o??"NA"})}trackCardsSetupCardsClick(e,r,i){this.fireTrack(t.Event.cardsSetupCardsClick,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,page_name:i})}trackCardsPromoView(e,r,i,s,o){this.fireTrack(t.Event.cardsPromoView,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,promo_format:i,promo_product:s,page_name:o})}trackCardsEnableCardsClick(e,r,i){this.fireTrack(t.Event.cardsEnableCardsClick,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,page_name:i})}trackCardsScheduleDemoClick(e,r,i){this.fireTrack(t.Event.cardsScheduleDemoClick,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,page_name:i})}trackCardsCardListView(e,r,i,s,o){this.fireTrack(t.Event.cardsCardListView,{...this.getBaseCardPropertiesWithCashback(e,r,i,s,o)})}trackCardsCardListSearchClick(e,r,i,s,o){this.fireTrack(t.Event.cardsCardListSearchClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,s,o)})}trackCardsCardListMoreMenuClick(e,r,i,s,o){this.fireTrack(t.Event.cardsCardListMoreMenuClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,s,o)})}trackCardsSettingsClick(e,r,i,s,o){this.fireTrack(t.Event.cardsSettingsClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,s,o)})}trackCardsCardSetupView(e,r,i){this.fireTrack(t.Event.cardsCardSetupView,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,source:i})}trackCardsVerifyIdentityCompanyDetailsClick(e,r,i){this.fireTrack(t.Event.cardsVerifyIdentityCompanyDetailsClick,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,status:i})}trackCardsPaymentAccountChangeClick(e,r,i){this.fireTrack(t.Event.cardsPaymentAccountChangeClick,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,old_payment_account_name:i.oldPaymentAccountName,old_payment_account_balance:i.oldPaymentAccountBalance,new_payment_account_name:i.newPaymentAccountName,new_payment_account_balance:i.newPaymentAccountBalance,is_old_payment_account_recommended:i.isOldPaymentAccountRecommended,is_new_payment_account_recommended:i.isNewPaymentAccountRecommended,old_payment_account_position:i.oldPaymentAccountPosition,new_payment_account_position:i.newPaymentAccountPosition,number_of_payment_accounts:i.numberOfPaymentAccounts})}trackCardsZeniCashAccountChangeClick(e,r,i){this.fireTrack(t.Event.cardsZeniCashAccountChangeClick,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,old_zeni_cash_account:i.oldZeniCashAccount,new_zeni_cash_account:i.newZeniCashAccount,old_zeni_cash_account_position:i.oldZeniCashAccountPosition,new_zeni_cash_account_position:i.newZeniCashAccountPosition,number_of_cash_accounts:i.numberOfCashAccounts})}trackCardsStatementsClick(e,r,i,s,o){this.fireTrack(t.Event.cardsStatementsClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,s,o)})}trackCardsCreditCardStatementsView(e,r,i,s,o){this.fireTrack(t.Event.cardsCreditCardStatementsView,{...this.getBaseCardProperties(e,r,s,o),number_of_statements:i.numberOfStatements,oldest_statement_month_year:i.oldestStatementMonthYear,latest_statement_month_year:i.latestStatementMonthYear})}trackCardsDownloadClick(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.cardsDownloadClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,u,l),page_name:o,position:c,file_category:s.fileCategory,file_type:s.fileType,file_name:s.fileName,file_month_year:s.fileMonthYear})}trackCardsNewCardClick(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.cardsNewCardClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,u,l),click_item:s,action:o,page_name:c})}trackCardsCashbackOverviewClick(e,r,i,s,o,c,u){this.fireTrack(t.Event.cardsCashbackOverviewClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,c,u),click_item:s,action:o})}trackCardsCardListRowClick(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsCardListRowClick,{...this.getBaseCardPropertiesWithCashback(e,r,u,l,d),click_item:i,action:s,position:o,card_name:c.cardName,card_owner:c.cardOwner,card_type:c.cardType,card_status:c.cardStatus,card_utilization_amount:c.cardUtilizationAmount,card_utilization_percent:c.cardUtilizationPercent,card_limit:c.cardLimit})}trackCardsCopyIconClick(e,r,i,s,o,c,u,l,d,f){this.fireTrack(t.Event.cardsCopyIconClick,{...this.getBaseCardPropertiesWithCashback(e,r,l,d,f),click_item:s,action:o,action_field:c,action_details:u,page_name:i})}trackCardsCardListSortClick(e,r,i,s,o,c,u,l,d,f){this.fireTrack(t.Event.cardsCardListSortClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,d,f),click_item:s,action:o,action_field:c,action_details:u,page_name:l})}trackCardsCardDetailView(e,r,i,s,o,c,u){this.fireTrack(t.Event.cardsCardDetailView,{...this.getBaseCardProperties(e,r,c,u),card_name:i.cardName,card_type:i.cardType,card_category:i.cardCategory,card_limit:i.cardLimit,card_last_four_digits:i.cardLastFourDigits,card_status:i.cardStatus,card_utilization_percent:i.cardUtilizationPercent,card_id:i.cardId,card_assigned_date:i.cardAssignedDate,card_issued_date:i.cardIssuedDate,card_activated_date:i.cardActivatedDate,card_limit_frequency:i.cardLimitFrequency,card_spent_amount:i.cardSpentAmount,card_available_limit:i.cardAvailableLimit,card_utilization_amount:i.cardUtilizationAmount,total_number_of_declined_transactions:i.totalNumberOfDeclinedTransactions,number_of_declined_transactions_current_month:i.numberOfDeclinedTransactionsCurrentMonth,total_number_of_paid_transactions:i.totalNumberOfPaidTransactions,number_of_paid_transactions_current_month:i.numberOfPaidTransactionsCurrentMonth,total_number_of_canceled_transactions:i.totalNumberOfCanceledTransactions,number_of_canceled_transactions_current_month:i.numberOfCanceledTransactionsCurrentMonth,total_number_of_authorized_transactions:i.totalNumberOfAuthorizedTransactions,number_of_authorized_transactions_current_month:i.numberOfAuthorizedTransactionsCurrentMonth,total_number_of_transactions_with_receipts:i.totalNumberOfTransactionsWithReceipts,number_of_transactions_with_receipts_current_month:i.numberOfTransactionsWithReceiptsCurrentMonth,card_issued_by_name:s.cardIssuedByName,card_issued_by_email:s.cardIssuedByEmail,card_issued_by_user_id:s.cardIssuedByUserId,card_issued_by_role:s.cardIssuedByRole,card_issued_by_department:s.cardIssuedByDepartment,cardholder_name:o.cardholderName,cardholder_email:o.cardholderEmail,cardholder_role:o.cardholderRole,cardholder_user_id:o.cardholderUserId,cardholder_department:o.cardholderDepartment})}trackCardsUpdateSpendLimitInitiated(e,r,i,s,o,c,u,l,d,f){this.fireTrack(t.Event.cardsUpdateSpendLimitInitiated,{...this.getBaseCardProperties(e,r,d,f),card_name:i.cardName,card_type:i.cardType,card_category:i.cardCategory,card_limit:i.cardLimit,card_last_four_digits:i.cardLastFourDigits,card_status:i.cardStatus,card_utilization_amount:i.cardUtilizationAmount,card_utilization_percent:i.cardUtilizationPercent,card_id:i.cardId,card_assigned_date:i.cardAssignedDate,card_issued_date:i.cardIssuedDate,card_activated_date:i.cardActivatedDate,card_limit_frequency:i.cardLimitFrequency,card_spent_amount:i.cardSpentAmount,card_available_limit:i.cardAvailableLimit,total_number_of_declined_transactions:i.totalNumberOfDeclinedTransactions,number_of_declined_transactions_current_month:i.numberOfDeclinedTransactionsCurrentMonth,total_number_of_paid_transactions:i.totalNumberOfPaidTransactions,number_of_paid_transactions_current_month:i.numberOfPaidTransactionsCurrentMonth,total_number_of_canceled_transactions:i.totalNumberOfCanceledTransactions,number_of_canceled_transactions_current_month:i.numberOfCanceledTransactionsCurrentMonth,total_number_of_authorized_transactions:i.totalNumberOfAuthorizedTransactions,number_of_authorized_transactions_current_month:i.numberOfAuthorizedTransactionsCurrentMonth,total_number_of_transactions_with_receipts:i.totalNumberOfTransactionsWithReceipts,number_of_transactions_with_receipts_current_month:i.numberOfTransactionsWithReceiptsCurrentMonth,card_issued_by_name:s.cardIssuedByName,card_issued_by_email:s.cardIssuedByEmail,card_issued_by_user_id:s.cardIssuedByUserId,card_issued_by_role:s.cardIssuedByRole,card_issued_by_department:s.cardIssuedByDepartment,cardholder_name:o.cardholderName,cardholder_email:o.cardholderEmail,cardholder_role:o.cardholderRole,cardholder_user_id:o.cardholderUserId,cardholder_department:o.cardholderDepartment,page_name:c,source:u,recommended_limits:l})}trackCardsUpdateSpendLimitClick(e,r,i,s,o,c,u,l,d,f,m,_,g){this.fireTrack(t.Event.cardsUpdateSpendLimitClick,{...this.getBaseCardProperties(e,r,_,g),card_name:i.cardName,card_type:i.cardType,card_category:i.cardCategory,card_limit:i.cardLimit,card_last_four_digits:i.cardLastFourDigits,card_status:i.cardStatus,card_utilization_amount:i.cardUtilizationAmount,card_utilization_percent:i.cardUtilizationPercent,card_id:i.cardId,card_assigned_date:i.cardAssignedDate,card_issued_date:i.cardIssuedDate,card_activated_date:i.cardActivatedDate,card_limit_frequency:i.cardLimitFrequency,card_spent_amount:i.cardSpentAmount,card_available_limit:i.cardAvailableLimit,total_number_of_declined_transactions:i.totalNumberOfDeclinedTransactions,number_of_declined_transactions_current_month:i.numberOfDeclinedTransactionsCurrentMonth,total_number_of_paid_transactions:i.totalNumberOfPaidTransactions,number_of_paid_transactions_current_month:i.numberOfPaidTransactionsCurrentMonth,total_number_of_canceled_transactions:i.totalNumberOfCanceledTransactions,number_of_canceled_transactions_current_month:i.numberOfCanceledTransactionsCurrentMonth,total_number_of_authorized_transactions:i.totalNumberOfAuthorizedTransactions,number_of_authorized_transactions_current_month:i.numberOfAuthorizedTransactionsCurrentMonth,total_number_of_transactions_with_receipts:i.totalNumberOfTransactionsWithReceipts,number_of_transactions_with_receipts_current_month:i.numberOfTransactionsWithReceiptsCurrentMonth,card_issued_by_name:s.cardIssuedByName,card_issued_by_email:s.cardIssuedByEmail,card_issued_by_user_id:s.cardIssuedByUserId,card_issued_by_role:s.cardIssuedByRole,card_issued_by_department:s.cardIssuedByDepartment,cardholder_name:o.cardholderName,cardholder_email:o.cardholderEmail,cardholder_role:o.cardholderRole,cardholder_user_id:o.cardholderUserId,cardholder_department:o.cardholderDepartment,click_item:u,current_limit:l,new_limit:m,recommended_limits:d,was_recommended_limit_selected:f,card_limit_updated_by_name:c.cardLimitUpdatedByName,card_limit_updated_by_email:c.cardLimitUpdatedByEmail,card_limit_updated_by_role:c.cardLimitUpdatedByRole,card_limit_updated_by_user_id:c.cardLimitUpdatedByUserId})}trackCardsAddToWalletClick(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsAddToWalletClick,{...this.getBaseCardProperties(e,r,l,d),card_id:i.cardId,card_name:i.cardName,card_type:i.cardType,card_category:i.cardCategory,card_limit:i.cardLimit,card_last_four_digits:i.cardLastFourDigits,card_status:i.cardStatus,card_assigned_date:i.cardAssignedDate,card_issued_date:i.cardIssuedDate,card_limit_frequency:i.cardLimitFrequency,card_issued_by_name:s.cardIssuedByName,card_issued_by_email:s.cardIssuedByEmail,card_issued_by_user_id:s.cardIssuedByUserId,card_issued_by_role:s.cardIssuedByRole,card_issued_by_department:s.cardIssuedByDepartment,cardholder_name:o.cardholderName,cardholder_email:o.cardholderEmail,cardholder_role:o.cardholderRole,cardholder_user_id:o.cardholderUserId,cardholder_department:o.cardholderDepartment,page_name:c,click_item:u})}trackCardsPayEarlyClick(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsPayEarlyClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,l,d),...this.getPaymentSourceProperties(u),click_item:c,page_name:s,source:o})}trackCardsPayEarlyFormView(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsPayEarlyFormView,{...this.getBaseCardPropertiesWithCashback(e,r,i,l,d),...this.getPaymentSourceProperties(u),is_autopay_selected:o,payment_amount:c,page_name:s})}trackCardsPayEarlyFormClick(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsPayEarlyFormClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,l,d),...this.getPaymentSourceProperties(u),is_autopay_selected:o,...this.getCardPaymentProperties(c),click_item:s})}trackCardsPayEarlyPayNowClick(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.cardsPayEarlyPayNowClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,u,l),...this.getPaymentSourceProperties(c),is_autopay_selected:s,...this.getCardPaymentProperties(o)})}trackEnableBillPay(){this.fireTrack(t.Event.enableBillPay)}trackEnableReimbursement(){this.fireTrack(t.Event.enableReimbursement)}trackUploadInvoice(e,r,i){switch(r){case"w9":this.fireTrack(t.Event.vendor1099W9DocumentUpload,{invoice_upload_method:e,vendor_legal_name:i??""});break;case"reimbursement":this.fireTrack(t.Event.reimbursementInvoiceUpload,{invoice_upload_method:e});break;case"bill_pay":default:this.fireTrack(t.Event.billPayInvoiceUpload,{invoice_upload_method:e});break}}trackInvoiceActionClick(e,r,i,s){this.fireTrack(t.Event.billPayInvoiceActionClick,{bill_stage:e,action_clicked:r,user_name:i,override_data_click:s})}trackBillPaySkipAutofill(){this.fireTrack(t.Event.billPaySkipAutofill)}trackReimbursementSkipAutofill(){this.fireTrack(t.Event.reimbursementSkipAutofill)}trackBillPayNewBill(){this.fireTrack(t.Event.billPayNewBill)}trackReimbursementNewReimbursement(){this.fireTrack(t.Event.reimbursementNewReimbursement)}trackBillPayEditBill(e,r){this.fireTrack(t.Event.billPayEditBill,{bill_id:e,is_recurring_bill:r})}trackReimbursementEditReimbursement(e){this.fireTrack(t.Event.reimbursementEditReimbursement,{reimbursement_id:e})}trackBillPayBillDetails(e,r){this.fireTrack(t.Event.billPayBillDetails,{bill_id:e,is_recurring_bill:r})}trackReimbursementReimbursementDetails(e){this.fireTrack(t.Event.reimbursementReimbursementDetails,{reimbursement_id:e})}trackBillPayReviewBill(e,r,i,s,o,c,u,l,d,f,m,_,g,p){const v={final_vendor_name:c,zeni_rec_vendor_name:u,document_ai_rec_vendor_name:l,bill_id:d,invoice_number:f,invoice_date:r,bill_due_date:m,memo:_,currency:i,collect_from_vendor:s,international_transfer_fee_bearer_payment_method:g,is_recurring_bill:o,payment_method:e};o&&p!=null&&(v.recurring_bill_config={bill_value:p.totalAmount,start_date:p.startDate,end_date:p.endDate,frequency:p.frequency,total_payment_cycles:p.totalPaymentCycles,is_approval_required:p.isApprovalRequired}),this.fireTrack(t.Event.billPayReviewBill,v)}trackReimbursementSubmitReimbursement(e,r,i,s){this.fireTrack(t.Event.reimbursementSubmitReimbursement,{create_date:e,currency:r,total_amount:i,reimbursement_id:s})}trackBillPaySendForApproval(e,r,i,s,o,c,u){const l={bill_id:o,payment_method:e,scheduled_date:r,collect_from_vendor:i,international_transfer_fee_bearer_payment_method:c,is_recurring_bill:s};s&&u!=null&&(l.recurring_bill_config={bill_value:u.totalAmount,start_date:u.startDate,end_date:u.endDate,frequency:u.frequency,total_payment_cycles:u.totalPaymentCycles,is_approval_required:u.isApprovalRequired,is_update_current_bill:u.updateCurrentBill,is_update_future_bills:u.updateFutureRecurringBills}),this.fireTrack(t.Event.billPaySendForApproval,l)}trackBillPayDeleteBill(e,r){this.fireTrack(t.Event.billPayDeleteBill,{bill_id:e,is_recurring_bill:r})}trackBillPayCancelBill(e){this.fireTrack(t.Event.billPayCancelBill,{bill_id:e})}trackBillPayCancelAndDeleteBill(e,r){this.fireTrack(t.Event.billPayCancelAndDeleteBill,{bill_id:e,is_recurring_bill:r})}trackReimbursementListSort(e,r){this.fireTrack(t.Event.reimbursementListSort,{sort_key:e,sort_order:r})}trackReimbursementDeleteReimbursement(e){this.fireTrack(t.Event.reimbursementDeleteReimbursement,{reimbursement_id:e})}trackReimbursementCancelReimbursement(e){this.fireTrack(t.Event.reimbursementCancelReimbursement,{reimbursement_id:e})}trackReimbursementCancelAndDeleteReimbursement(e){this.fireTrack(t.Event.reimbursementCancelAndDeleteReimbursement,{reimbursement_id:e})}trackReimbursementDeleteReimbursementLine(e,r){this.fireTrack(t.Event.reimbursementDeleteReimbursementLine,{reimbursement_id:r,line_id:e})}trackReimbursementSubmitAnywayDuplicateReimbursement(e,r){this.fireTrack(t.Event.reimbursementSubmitAnywayDuplicateReimbursement,{reimbursement_id:r,number_of_duplicate_expenses:e})}trackReimbursementViewDuplicateExpense(e,r){this.fireTrack(t.Event.reimbursementViewDuplicateExpense,{reimbursement_id:r,is_duplicate_within_transaction:e})}trackReimbursementReviewDuplicateReportReimbursement(e,r){this.fireTrack(t.Event.reimbursementReviewDuplicateReportReimbursement,{reimbursement_id:r,number_of_duplicate_expenses:e})}trackReimbursementBulkSelectAll(e,r,i){this.fireTrack(t.Event.reimbursementBulkSelectAll,{report_stage:e,report_status:r,report_type:i})}trackReimbursementBulkDeleted(e,r,i,s){this.fireTrack(t.Event.reimbursementBulkDeleted,{total_reports_deleted:e,report_stage:r,report_status:i,report_type:s})}trackReimbursementBulkSubmit(e,r,i){this.fireTrack(t.Event.reimbursementBulkSubmit,{operation_type:e,report_stage:r,report_status:i})}trackReimbursementBulkSelection(e,r,i,s){this.fireTrack(t.Event.reimbursementBulkSelection,{total_reports_selected:e,report_stage:r,report_status:i,report_type:s})}trackReimbursementBulkPopupConfirm(e,r,i,s){this.fireTrack(t.Event.reimbursementBulkPopupConfirm,{operation_type:e,report_stage:r,report_status:i,report_type:s})}trackBillPayNewVendor(e,r,i,s,o,c,u){this.fireTrack(t.Event.billPayNewVendor,{vendor_name:e,vendor_category:r,vendor_class_name:i,vendor_type:s,vendor_contact_email:o,venfor_contact_name:c,vendor_contact_phone:u})}trackBillPayEditVendor(e){this.fireTrack(t.Event.billPayEditVendor,{vendor_id:e})}trackBillPayExpandVendor(e){this.fireTrack(t.Event.billPayExpandVendor,{vendor_id:e})}trackBillPayChooseNewVendor(){this.fireTrack(t.Event.billPayChooseNewVendor)}trackBillPayCreateNewVendorFromRecDropdown(e){this.fireTrack(t.Event.billPayCreateNewVendorFromDropdown,{vendor_name:e})}trackBillPayMagicLinkPreviewEmail(e){this.fireTrack(t.Event.billPayMagicLinkPreviewEmail,{on_page:e})}trackBillPayMagicLinkSubmitBankAccountDetails(e){this.fireTrack(t.Event.billPayMagicLinkSubmitBankAccountDetails,{bill_id:e})}trackBillPayMagicLinkPageLoad(e,r,i,s,o,c,u){this.fireTrack(t.Event.billPayMagicLinkPageLoad,{tenant_email_domain:e,vendor_id:r,company_name:i,bill_id:s,payment_method:o,currency:c,total_amount:u})}trackBillPayAutoDateChange(e){this.fireTrack(t.Event.billPayAutoDateChange,{bill_id:e})}trackBillPayBulkSelectAll(e,r,i){this.fireTrack(t.Event.billPayBulkSelectAll,{bill_stage:e,bill_status:r,bill_type:i})}trackBillPayBulkDeleted(e,r,i,s){this.fireTrack(t.Event.billPayBulkDeleted,{total_bills_deleted:e,bill_stage:r,bill_status:i,bill_type:s})}trackBillPayBulkSubmit(e,r,i){this.fireTrack(t.Event.billPayBulkSubmit,{operation_type:e,bill_stage:r,bill_status:i})}trackBillPayBulkSelection(e,r,i,s){this.fireTrack(t.Event.billPayBulkSelection,{total_bills_selected:e,bill_stage:r,bill_status:i,bill_type:s})}trackBillPayBulkPopupConfirm(e,r,i,s){this.fireTrack(t.Event.billPayBulkPopupConfirm,{operation_type:e,bill_stage:r,bill_status:i,bill_type:s})}trackBillPayMarkAsPaid(e,r){this.fireTrack(t.Event.billPayMarkAsPaid,{bill_stage:e,bill_status:r})}trackBillPayMarkAsPaidSubmit(e,r,i){this.fireTrack(t.Event.billPayMarkAsPaidSubmit,{payment_mode:e,bill_stage:r,bill_status:i})}trackGroupBySwitch(e,r){this.fireTrack(t.Event.groupBySwitch,{view:e,parent_card:r})}trackUpdateBurnRateCalculatorSettings(e,r,i){this.fireTrack(t.Event.burnRateCalculatorSettings,{accounting_method:e,time_span_id_for_avg_net_burn:r,number_of_months_for_average:i})}trackTransactionDetailsSave(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.transactionDetailsSave,{account_id:e,account_name:r,transaction_id:i,transaction_name:s,transaction_type:o,changed_line_item_count:c,transaction_memo:u,receipt_file_names:l})}trackVendorList(e,r,i,s,o){this.fireTrack(t.Event.vendorList,{vendor_count:i,sort_key:s,spend_trend_key:o,current_tab:e,previous_tab:r})}trackVendorListSort(e,r,i){this.fireTrack(t.Event.vendorListSort,{vendor_count:e,sort_key:r,spend_trend_key:i})}trackVendorListSearch(e){this.fireTrack(t.Event.vendorListSearch,{search_term:e})}trackVendorListSpendTrendSelection(e,r,i){this.fireTrack(t.Event.vendorListSpendTrendSelection,{vendor_count:e,sort_key:r,spend_trend_key:i})}trackVendorDetails(e,r,i,s,o,c,u,l,d,f){this.fireTrack(t.Event.vendorDetails,{vendor_id:e,vendor_name:r,referrer_card:i,vendor_category:s,vendor_class_name:o,spend_trend_indicator_value:u,vendor_spend_last_30days:l,vendor_spend_last_90days:d,vendor_spend_ytd:f,vendor_owner:c})}trackVendorDetailsSave(e,r,i,s,o,c,u,l,d,f,m,_){this.fireTrack(t.Event.vendorDetailsSave,{vendor_id:e,vendor_name:r,vendor_category:i,vendor_class_name:s,vendor_owner:o,saved_vendor_category:c,saved_vendor_class:u,saved_vendor_owner:l,is_recommended_category_selected:d,is_recommended_class_selected:f,category_recommendation_used:m,class_recommendation_used:_})}trackVendorDetailsCancel(e,r,i,s,o){this.fireTrack(t.Event.vendorDetailsCancel,{vendor_id:e,vendor_name:r,vendor_category:i,vendor_class_name:s,vendor_owner:o})}trackVendorDetailsSpendTrendHotlinkClicked(e,r,i,s,o){this.fireTrack(t.Event.vendorDetailsSpendTrendHotlinkClicked,{vendor_id:e,vendor_name:r,vendor_category:i,vendor_class_name:s,vendor_owner:o})}trackAgingReportDownloadClick(e,r,i){this.fireTrack(t.Event.download,{referrer_card:e,sort_key:r,sort_order:i})}trackAgingReportDateChange(e,r,i,s){this.fireTrack(t.Event.agingReportDateChange,{referrer_card:e,current_report_date:r,new_report_date:i,new_report_date_selection:s})}trackAgingReportSortChange(e,r,i){this.fireTrack(t.Event.sort,{referrer_card:e,sort_key:r,sort_order:i})}trackApAgingDetail(e,r,i,s){this.fireTrack(t.Event.apAgingDetail,{referrer_card:e,vendor_id:i,vendor_name:s,current_report_date:r})}trackArAgingDetail(e,r,i,s){this.fireTrack(t.Event.arAgingDetail,{referrer_card:e,customer_id:i,customer_name:s,current_report_date:r})}trackApAgingDetailReportSortChange(e,r,i,s,o){this.fireTrack(t.Event.sort,{referrer_card:"AP Aging Detail",sort_key:e,sort_order:r,vendor_id:s,vendor_name:o,current_report_date:i})}trackArAgingDetailReportSortChange(e,r,i,s,o){this.fireTrack(t.Event.sort,{referrer_card:"AR Aging Detail",sort_key:e,sort_order:r,customer_id:s,customer_name:o,current_report_date:i})}trackApAgingDetailReportDownload(e,r,i,s,o){this.fireTrack(t.Event.download,{referrer_card:"AP Aging Detail",sort_key:e,sort_order:r,vendor_id:s,vendor_name:o,current_report_date:i})}trackArAgingDetailReportDownload(e,r,i,s,o){this.fireTrack(t.Event.download,{referrer_card:"AR Aging Detail",sort_key:e,sort_order:r,customer_id:s,customer_name:o,current_report_date:i})}trackVendorReviewPage(e,r){this.fireTrack(t.Event.vendorReviewList,{vendor_review_source:e,vendor_review_count_total:r})}trackVendorReviewApproveRequested({reviewSource:e,tenantName:r,requestedVendorName:i,originalVendorName:s,approveVendorName:o,approveVendorNameSelectionSource:c,approveVendorReason:u,isGlobalVendorRequested:l,isNewCreatedVendorRequested:d,isVendorNameRecommendationSelected:f,isVendorNameChangedAndSelected:m,wasRecommendationAvailable:_,recommendedVendorName:g,recommendedVendorReason:p}){this.fireTrack(t.Event.vendorReviewGlobalApproveRequest,{vendor_review_source:e,vendor_review_tenant_name:r,old_vendor_name_requested:i,old_vendor_name_original:s,approve_vendor_name_requested:o,approve_vendor_name_recommendation_reason:u,approve_vendor_name_selection_source:c,vendor_name_recommendation:g,vendor_name_recommendation_reason:p,is_vendor_recommended:_,is_recommended_vendor_name_selected:f,is_vendor_renamed:m,is_global_vendor_selected:l,is_vendor_name_new_created_and_selected:d})}trackVendorReviewNewVendorRequested({reviewSource:e,tenantName:r,newRequestedVendorName:i,newRequestedVendorNameSource:s,isVendorNameRecommendationSelected:o,recommendedVendorName:c,recommendedVendorReason:u}){this.fireTrack(t.Event.vendorReviewGlobalNewVendorRequest,{vendor_review_source:e,vendor_review_tenant_name:r,new_vendor_name_requested:i,new_vendor_name_selection_source:s,new_vendor_recommendation_vendor_name:c,new_vendor_recommendation_vendor_name_reason:u,is_recommended_vendor_name_selected:o})}trackVendorReviewNewVendorSaved({reviewSource:e,saveRequestedVendorName:r,saveRequestedVendorSource:i,isVendorNameRecommendationSelected:s,tenantName:o,recommendedVendorName:c,recommendedVendorReason:u}){this.fireTrack(t.Event.vendorReviewGlobalNewVendorSave,{vendor_review_source:e,vendor_review_tenant_name:o,saved_vendor_name:r,saved_vendor_name_selection_source:i,new_vendor_recommendation_vendor_name:c,new_vendor_recommendation_vendor_name_reason:u,is_recommended_vendor_name_selected:s})}trackVendorReviewNewVendorCanceled({reviewSource:e,newRequestedVendorName:r,tenantName:i,recommendedVendorName:s,recommendedVendorReason:o}){this.fireTrack(t.Event.vendorReviewGlobalNewVendorCancel,{vendor_review_source:e,vendor_review_tenant_name:i,new_vendor_name_requested:r,new_vendor_recommendation_vendor_name:s,new_vendor_recommendation_vendor_name_reason:o})}trackVendorReviewSaveVendorRequested({reviewSource:e,vendorName:r,vendorReviewStatus:i,saveRequestedVendorName:s,saveRequestedVendorReason:o,saveRequestedVendorSource:c,isGlobalVendorRequested:u,isVendorNameRetainSelected:l,isVendorNameRecommendationSelected:d,isVendorNameChangedAndSelected:f,wasRecommendationAvailable:m,isVendorNameMarkedAsEmployee:_,isVendorNameMarkedAsLocalContractor:g,recommendedVendorName:p,recommendedVendorReason:v}){this.fireTrack(t.Event.vendorReviewTenantSave,{vendor_review_source:e,old_vendor_name:r,review_status:i,saved_vendor_name:s,save_vendor_name_recommendation_reason:o,saved_vendor_name_source:c,vendor_name_recommendation:p,vendor_name_recommendation_reason:v,is_vendor_name_retain_selected:l,is_recommended_vendor_name_selected:d,is_global_vendor_selected:u,is_vendor_renamed:f,is_vendor_recommended:m,is_vendor_employee:_,is_vendor_contractor:g})}trackVendorReviewMergeInQBORedirectedOrCanceled({reviewSource:e,event:r,vendorName:i,vendorReviewStatus:s,saveRequestedVendorName:o,saveRequestedVendorReason:c,saveRequestedVendorSource:u,isVendorNameRetainSelected:l,isVendorNameRecommendationSelected:d,isVendorNameChangedAndSelected:f,wasRecommendationAvailable:m,recommendedVendorName:_,recommendedVendorReason:g}){this.fireTrack(r,{vendor_review_source:e,old_vendor_name:i,review_status:s,saved_vendor_name:o,save_vendor_name_recommendation_reason:c,saved_vendor_name_source:u,vendor_name_recommendation:_,vendor_name_recommendation_reason:g,is_vendor_name_retain_selected:l,is_recommended_vendor_name_selected:d,is_vendor_renamed:f,is_vendor_recommended:m})}trackVendorReviewRecommendationUpdateContinuedOrCanceled({reviewSource:e,event:r,vendorName:i,vendorReviewStatus:s,saveRequestedVendorName:o,saveRequestedVendorReason:c,saveRequestedVendorSource:u,isVendorNameRetainSelected:l,isVendorNameRecommendationSelected:d,isVendorNameChangedAndSelected:f,wasRecommendationAvailable:m,updatedRecommendedVendorName:_,updatedRecommendedVendorReason:g,recommendedVendorName:p,recommendedVendorReason:v}){this.fireTrack(r,{vendor_review_source:e,old_vendor_name:i,review_status:s,saved_vendor_name:o,save_vendor_name_recommendation_reason:c,saved_vendor_name_source:u,updated_recommendation_vendor_name:_,updated_recommendation_vendor_name_reason:g,vendor_name_recommendation:p,vendor_name_recommendation_reason:v,is_vendor_name_retain_selected:l,is_recommended_vendor_name_selected:d,is_vendor_renamed:f,is_vendor_recommended:m})}trackVendorReviewUpdateVendorCanceled({reviewSource:e,vendorName:r,vendorReviewStatus:i,wasRecommendationAvailable:s,recommendedVendorName:o,recommendedVendorReason:c}){this.fireTrack(t.Event.vendorReviewTenantUpdateCancel,{vendor_review_source:e,old_vendor_name:r,review_status:i,vendor_name_recommendation:o,vendor_name_recommendation_reason:c,is_vendor_recommended:s})}trackVendorReviewWebsiteOpened({reviewSource:e,vendorName:r,wasRecommendationAvailable:i,recommendedVendorName:s,recommendedVendorReason:o,vendorWebsite:c}){this.fireTrack(t.Event.vendorReviewTenantWebsiteOpened,{vendor_review_source:e,old_vendor_name:r,vendor_name_recommendation:s,vendor_name_recommendation_reason:o,is_vendor_recommended:i,vendor_website:c})}trackCockpitTabClicked(e){const r={tab_name:e};this.fireTrack(t.Event.cockpitTabClicked,r)}trackCockpitHealthMonitorRowClicked(e,r,i,s,o,c){const u={company_id:e,company_name:r,churn_percent:c,controller_name:i,nps:s,csat:o};this.fireTrack(t.Event.cockpitHealthMonitorRowClicked,u)}trackHealthMonitorFiltersApplied({filterSelection:e}){this.fireTrack(t.Event.healthMonitorFilterApplied,{parameter:e.parameter,condition:e.condition,logic:e.logic})}trackCockpitHealthMonitorNotificationAlertClicked(e,r){const i={utm_source:e,company_id:r.companyId,company_name:r.companyName,churn_percent:r.churnProbability};this.fireTrack(t.Event.cockpitHealthMonitorNotificationAlertClicked,i)}trackCockpitHealthMonitorChurnFormClicked(e,r){const i={click_type:e,company_id:r.companyId,company_name:r.companyName,zeni_products_and_services:r.zeniProductAndServicesCount,days_to_renewal:r.daysToRenewal,nps:r.netPromoterScore,csat:r.customerSatisfactionScore,external_services_exposure:r.externalServicesExposure,runway_months:r.runwayMonths,dashboard_last_seen:r.dashBoardLastSeen,last_report_sent:r.lastReportSent,churn_percent:r.churnProbability};this.fireTrack(t.Event.cockpitHealthMonitorChurnFormClicked,i)}trackScheduleReviewListLoaded({scheduleType:e,scheduleTab:r,currentTab:i,previousTab:s,scheduleCountTotal:o,categories:c,startMonth:u,endMonth:l,controllerEmails:d,controllerUserIds:f}){this.fireTrack(t.Event.scheduleReviewList,{schedule_type:e,schedule_list_tab:r,schedule_count_total:o,current_tab:i,previous_tab:s,schedule_account_categories_selected:c,schedule_period_start_month:u,schedule_period_end_month:l,controller_emails:d,controller_user_ids:f})}trackScheduleDetailsLoaded({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,scheduledTransaction:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f,scheduleCategory:m,scheduleClass:_,description:g}=r,{currentBalance:p,currentStatus:v,startMonth:y,endMonth:b,period:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsPage,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,schedule_current_balance:p,schedule_category:m,schedule_class:_,schedule_description:g,schedule_current_status:v,schedule_start_month:y,schedule_end_month:b,schedule_number_of_months:k,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsSaved({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,scheduledTransaction:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f,scheduleCategory:m,scheduleClass:_,description:g}=r,{currentBalance:p,currentStatus:v,startMonth:y,endMonth:b,period:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsSave,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,schedule_current_balance:p,schedule_category:m,schedule_class:_,schedule_description:g,schedule_current_status:v,schedule_start_month:y,schedule_end_month:b,schedule_number_of_months:k,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsCanceled({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,scheduledTransaction:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f,scheduleCategory:m,scheduleClass:_,description:g}=r,{currentBalance:p,currentStatus:v,startMonth:y,endMonth:b,period:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsCancel,{schedule_type:e,vendor_name:o??"",transaction_date:d,transaction_amount:f,schedule_current_balance:p,schedule_category:m,schedule_class:_,schedule_description:g,schedule_current_status:v,schedule_start_month:y,schedule_end_month:b,schedule_number_of_months:k,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsLinkJournalEntry({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,journalEntryDetails:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f,scheduleCategory:m,scheduleClass:_}=r,{journalEntryMonth:g,journalEntryPostingDate:p,journalEntryTransactionAmount:v,journalEntryPostingStatus:y,journalEntryMemo:b}=s,{expenseCategory:k,expenseClass:w}=i;this.fireTrack(t.Event.scheduleDetailsLinkJournalEntry,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,schedule_category:m,schedule_class:_,journal_entry_month:g,journal_entry_posting_date:p,journal_entry_transaction_amount:v,journal_entry_posting_status:y,journal_entry_memo:b,expense_category:k,expense_class:w,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsViewJournalEntry({scheduleType:e,scheduleExpenseCategoryAndClass:r,journalEntryDetails:i,fixedAssetsDetails:s,controllerEmails:o,controllerUserIds:c}){const{journalEntryMonth:u,journalEntryPostingDate:l,journalEntryTransactionAmount:d,journalEntryPostingStatus:f,journalEntryMemo:m}=i,{expenseCategory:_,expenseClass:g}=r;this.fireTrack(t.Event.scheduleDetailsViewJournalEntry,{schedule_type:e,journal_entry_month:u,journal_entry_posting_date:l,journal_entry_transaction_amount:d,journal_entry_posting_status:f,journal_entry_memo:m,expense_category:_,expense_class:g,accumulated_depreciation_category:s?.accumulatedDepreciationCategory??null,asset_id:s?.assetId??null,controller_emails:o,controller_user_ids:c})}trackScheduleDetailsDeleted({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,scheduledTransaction:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f,scheduleCategory:m,scheduleClass:_,description:g}=r,{currentBalance:p,currentStatus:v,startMonth:y,endMonth:b,period:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsDelete,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,schedule_current_balance:p,schedule_category:m,schedule_class:_,schedule_description:g,schedule_current_status:v,schedule_start_month:y,schedule_end_month:b,schedule_number_of_months:k,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsMarkedAsCompleted({scheduleType:e,transaction:r,scheduledTransaction:i,scheduleExpenseCategoryAndClass:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f,scheduleCategory:m,scheduleClass:_,description:g}=r,{currentBalance:p,currentStatus:v,startMonth:y,endMonth:b,period:k}=i,{expenseCategory:w,expenseClass:S}=s;this.fireTrack(t.Event.scheduleDetailsMarkComplete,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,schedule_current_balance:p,schedule_category:m,schedule_class:_,schedule_description:g,schedule_current_status:v,schedule_start_month:y,schedule_end_month:b,schedule_number_of_months:k,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,journalEntryDetails:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f}=r,{journalEntryMonth:m,journalEntryPostingDate:_,journalEntryTransactionAmount:g,journalEntryPostingStatus:p,journalEntryMemo:v,journalEntryQBOLink:y,wasRecommendationAvailable:b,wasRecommendationSelected:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsJournalEntryLinkedSaved,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,journal_entry_month:m,journal_entry_posting_date:_,journal_entry_transaction_amount:g,journal_entry_posting_status:p,journal_entry_qbo_link:y,journal_entry_memo:v,is_vendor_recommended:b,was_recommendation_selected:k,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsJournalEntryQBOFetched({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,journalEntryDetails:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f}=r,{journalEntryMonth:m,journalEntryPostingDate:_,journalEntryTransactionAmount:g,journalEntryPostingStatus:p,journalEntryMemo:v,wasRecommendationAvailable:y,wasRecommendationSelected:b,journalEntryQBOLink:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsJournalEntryQBOFetched,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,journal_entry_month:m,journal_entry_posting_date:_,journal_entry_transaction_amount:g,journal_entry_posting_status:p,journal_entry_qbo_link:k,journal_entry_memo:v,is_vendor_recommended:y,was_recommendation_selected:b,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,journalEntryDetails:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f}=r,{journalEntryMonth:m,journalEntryPostingDate:_,journalEntryTransactionAmount:g,journalEntryPostingStatus:p,journalEntryMemo:v,wasRecommendationAvailable:y,wasRecommendationSelected:b,journalEntryQBOLink:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsJournalEntryLinkCancel,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,journal_entry_month:m,journal_entry_posting_date:_,journal_entry_transaction_amount:g,journal_entry_posting_status:p,journal_entry_qbo_link:k,journal_entry_memo:v,is_vendor_recommended:y,was_recommendation_selected:b,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleAccruedDetailsNewRequested({scheduleType:e}){this.fireTrack(t.Event.scheduleDetailsNewRequested,{schedule_type:e})}trackScheduleAccruedDetailsLoaded({scheduleType:e,scheduleExpenseCategoryAndClass:r,vendorName:i,controllerEmails:s,schedule:o,controllerUserIds:c}){const{startingBalance:u,scheduleAccountCategory:l,description:d,scheduleCreateDate:f,scheduleMonthlyAmount:m,runningBalance:_,currentStatus:g,startMonth:p,endMonth:v,period:y}=o,{expenseCategory:b,expenseClass:k}=r;this.fireTrack(t.Event.scheduleDetailsPage,{schedule_type:e,controller_emails:s,controller_user_ids:c,schedule_expense_category:b,schedule_expense_class:k,schedule_account_category:l,schedule_create_date:f,schedule_current_balance:_,schedule_current_status:g,schedule_description:d,schedule_end_month:v,schedule_monthly_amount:m,schedule_number_of_months:y,schedule_start_month:p,schedule_starting_balance:u,vendor_name:i})}trackScheduleAccruedDetailsSaved({scheduleType:e,scheduleExpenseCategoryAndClass:r,vendorName:i,controllerEmails:s,schedule:o,controllerUserIds:c}){const{startingBalance:u,scheduleAccountCategory:l,description:d,scheduleCreateDate:f,scheduleMonthlyAmount:m,runningBalance:_,currentStatus:g,startMonth:p,endMonth:v,period:y}=o,{expenseCategory:b,expenseClass:k}=r;this.fireTrack(t.Event.scheduleDetailsSave,{schedule_type:e,controller_emails:s,controller_user_ids:c,schedule_expense_category:b,schedule_expense_class:k,schedule_account_category:l,schedule_create_date:f,schedule_current_balance:_,schedule_current_status:g,schedule_description:d,schedule_end_month:v,schedule_monthly_amount:m,schedule_number_of_months:y,schedule_start_month:p,schedule_starting_balance:u,vendor_name:i})}trackScheduleAccruedDetailsCanceled({scheduleType:e,scheduleExpenseCategoryAndClass:r,vendorName:i,controllerEmails:s,schedule:o,controllerUserIds:c,lastPostedScheduleMonth:u}){const{startingBalance:l,scheduleAccountCategory:d,description:f,scheduleCreateDate:m,scheduleMonthlyAmount:_,runningBalance:g,currentStatus:p,startMonth:v,endMonth:y,period:b}=o,{expenseCategory:k,expenseClass:w}=r;this.fireTrack(t.Event.scheduleDetailsCancel,{schedule_type:e,controller_emails:s,controller_user_ids:c,schedule_expense_category:k,schedule_expense_class:w,schedule_account_category:d,schedule_create_date:m,schedule_current_balance:g,schedule_current_status:p,schedule_description:f,schedule_end_month:y,schedule_monthly_amount:_,schedule_number_of_months:b,schedule_start_month:v,schedule_starting_balance:l,vendor_name:i,schedule_last_month_with_posted_status:u})}trackScheduleAccruedDetailsDeleted({scheduleType:e,scheduleExpenseCategoryAndClass:r,vendorName:i,controllerEmails:s,schedule:o,controllerUserIds:c,scheduleNonPendingLastMonth:u,scheduleNonPendingLastMonthStatus:l}){const{startingBalance:d,scheduleAccountCategory:f,description:m,scheduleCreateDate:_,scheduleMonthlyAmount:g,runningBalance:p,currentStatus:v,startMonth:y,endMonth:b,period:k}=o,{expenseCategory:w,expenseClass:S}=r;this.fireTrack(t.Event.scheduleDetailsDelete,{schedule_type:e,controller_emails:s,controller_user_ids:c,schedule_expense_category:w,schedule_expense_class:S,schedule_account_category:f,schedule_create_date:_,schedule_current_balance:p,schedule_current_status:v,schedule_description:m,schedule_end_month:b,schedule_monthly_amount:g,schedule_number_of_months:k,schedule_start_month:y,schedule_starting_balance:d,vendor_name:i,schedule_non_pending_last_month:u,schedule_non_pending_last_month_status:l})}trackScheduleAccruedDetailsLinkJournalEntry({scheduleType:e,scheduleExpenseCategoryAndClass:r,schedule:i,vendorName:s,journalEntryDetails:o,controllerEmails:c,controllerUserIds:u}){const{journalEntryMonth:l,journalEntryAmount:d,journalEntryBalance:f,journalEntryPostingStatus:m}=o,{scheduleCreateDate:_,scheduleMonthlyAmount:g,currentStatus:p,description:v,endMonth:y,period:b,runningBalance:k,scheduleAccountCategory:w,startMonth:S,startingBalance:R}=i,{expenseCategory:P,expenseClass:O}=r;this.fireTrack(t.Event.scheduleDetailsJournalEntryLinkExpense,{schedule_type:e,schedule_create_date:_,vendor_name:s,schedule_monthly_amount:g,schedule_description:v,schedule_current_status:p,schedule_start_month:S,schedule_end_month:y,schedule_number_of_months:b,schedule_current_balance:k,schedule_starting_balance:R,schedule_account_category:w,schedule_entry_expense_link_amount:d,schedule_entry_expense_link_balance:f,schedule_entry_expense_link_month:l,schedule_entry_current_status:m,schedule_expense_category:P,schedule_expense_class:O,controller_emails:c,controller_user_ids:u})}trackScheduleAccruedDetailsViewJournalEntry({scheduleType:e,scheduleJournalEntryType:r,scheduleExpenseCategoryAndClass:i,schedule:s,vendorName:o,journalEntryDetails:c,controllerEmails:u,controllerUserIds:l}){const{journalEntryMonth:d,journalEntryAmount:f,journalEntryBalance:m,journalEntryPostingStatus:_}=c,{scheduleCreateDate:g,scheduleMonthlyAmount:p,currentStatus:v,description:y,endMonth:b,period:k,runningBalance:w,scheduleAccountCategory:S,startMonth:R,startingBalance:P}=s,{expenseCategory:O,expenseClass:L}=i;this.fireTrack(t.Event.scheduleDetailsViewJournalEntry,{schedule_type:e,schedule_journal_entry_type:r,schedule_create_date:g,vendor_name:o,schedule_monthly_amount:p,schedule_account_category:S,schedule_description:y,schedule_current_status:v,schedule_start_month:R,schedule_end_month:b,schedule_number_of_months:k,schedule_expense_category:O,schedule_expense_class:L,schedule_current_balance:w,schedule_starting_balance:P,schedule_entry_current_status:_,schedule_entry_expense_link_amount:f,schedule_entry_expense_link_balance:m,schedule_entry_expense_link_month:d,controller_emails:u,controller_user_ids:l})}trackScheduleAccruedDetailsJournalEntryViewLinkedExpense({scheduleType:e,scheduleExpenseCategoryAndClass:r,schedule:i,vendorName:s,journalEntryDetails:o,controllerEmails:c,controllerUserIds:u}){const{journalEntryMonth:l,journalEntryAmount:d,journalEntryBalance:f,journalEntryPostingStatus:m}=o,{scheduleCreateDate:_,scheduleMonthlyAmount:g,currentStatus:p,description:v,endMonth:y,period:b,runningBalance:k,scheduleAccountCategory:w,startMonth:S,startingBalance:R}=i,{expenseCategory:P,expenseClass:O}=r;this.fireTrack(t.Event.scheduleDetailsJournalEntryViewLinkedExpense,{schedule_type:e,schedule_create_date:_,vendor_name:s,schedule_monthly_amount:g,schedule_account_category:w,schedule_description:v,schedule_current_status:p,schedule_start_month:S,schedule_end_month:y,schedule_number_of_months:b,schedule_expense_category:P,schedule_expense_class:O,schedule_current_balance:k,schedule_starting_balance:R,schedule_entry_current_status:m,schedule_entry_expense_link_amount:d,schedule_entry_expense_link_balance:f,schedule_entry_expense_link_month:l,controller_emails:c,controller_user_ids:u})}trackScheduleAccruedDetailsJournalEntryLinkCanceled({scheduleType:e,scheduleExpenseCategoryAndClass:r,schedule:i,vendorName:s,journalEntryDetails:o,controllerEmails:c,controllerUserIds:u}){const{journalEntryMonth:l,journalEntryAmount:d,journalEntryBalance:f,journalEntryPostingStatus:m}=o,{scheduleCreateDate:_,scheduleMonthlyAmount:g,currentStatus:p,description:v,endMonth:y,period:b,runningBalance:k,scheduleAccountCategory:w,startMonth:S,startingBalance:R}=i,{expenseCategory:P,expenseClass:O}=r;this.fireTrack(t.Event.scheduleDetailsEntryCanceled,{schedule_type:e,schedule_create_date:_,vendor_name:s,schedule_monthly_amount:g,schedule_description:v,schedule_current_status:p,schedule_start_month:S,schedule_end_month:y,schedule_number_of_months:b,schedule_current_balance:k,schedule_starting_balance:R,schedule_account_category:w,schedule_entry_expense_link_month:l,schedule_expense_category:P,schedule_expense_class:O,schedule_entry_current_status:m,schedule_entry_expense_link_amount:d,schedule_entry_expense_link_balance:f,controller_emails:c,controller_user_ids:u})}trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:e,scheduleExpenseCategoryAndClass:r,schedule:i,vendorName:s,journalEntryDetails:o,controllerEmails:c,controllerUserIds:u}){const{currentStatus:l,description:d,endMonth:f,period:m,runningBalance:_,scheduleAccountCategory:g,scheduleCreateDate:p,scheduleMonthlyAmount:v,startMonth:y,startingBalance:b}=i,{wasRecommendationAvailable:k,journalEntryPostingStatus:w}=o,{expenseCategory:S,expenseClass:R}=r;this.fireTrack(t.Event.scheduleDetailsJournalEntryLinkExpenseLoaded,{schedule_type:e,vendor_name:s,schedule_create_date:p,schedule_monthly_amount:v,schedule_description:d,schedule_current_status:l,schedule_start_month:y,schedule_end_month:f,schedule_number_of_months:m,schedule_current_balance:_,schedule_starting_balance:b,schedule_account_category:g,schedule_expense_category:S,schedule_expense_class:R,controller_emails:c,schedule_entry_current_status:w,controller_user_ids:u,is_vendor_recommended:k})}trackScheduleAccruedDetailsJournalEntryLinkedSaved({scheduleType:e,scheduleExpenseCategoryAndClass:r,schedule:i,vendorName:s,transactionDetails:o,journalEntryDetails:c,controllerEmails:u,controllerUserIds:l}){const{currentStatus:d,description:f,endMonth:m,period:_,runningBalance:g,scheduleAccountCategory:p,scheduleCreateDate:v,scheduleMonthlyAmount:y,startMonth:b,startingBalance:k}=i,{wasRecommendationAvailable:w,wasRecommendationSelected:S,journalEntryPostingStatus:R}=c,{linkedTransactionAmount:P,linkedTransactionDate:O,linkedTransactionDescription:L,linkedTransactionType:x}=o,{expenseCategory:F,expenseClass:J}=r;this.fireTrack(t.Event.scheduleDetailsJounralEntryLinkExpenseSaved,{schedule_type:e,vendor_name:s,schedule_create_date:v,schedule_monthly_amount:y,schedule_description:f,schedule_current_status:d,schedule_start_month:b,schedule_end_month:m,schedule_number_of_months:_,schedule_current_balance:g,schedule_starting_balance:k,schedule_account_category:p,schedule_expense_category:F,schedule_expense_class:J,controller_emails:u,controller_user_ids:l,is_vendor_recommended:w,was_recommendation_selected:S,linked_transaction_amount:P,linked_transaction_date:O,schedule_entry_current_status:R,linked_transaction_description:L,linked_transaction_type:x})}trackScheduleAccruedDetailsJournalEntryLinkedCanceled({scheduleType:e,scheduleExpenseCategoryAndClass:r,schedule:i,vendorName:s,journalEntryDetails:o,controllerEmails:c,controllerUserIds:u}){const{currentStatus:l,description:d,endMonth:f,period:m,runningBalance:_,scheduleAccountCategory:g,scheduleCreateDate:p,scheduleMonthlyAmount:v,startMonth:y,startingBalance:b}=i,{wasRecommendationAvailable:k,journalEntryPostingStatus:w}=o,{expenseCategory:S,expenseClass:R}=r;this.fireTrack(t.Event.scheduleDetailsJournalEntryLinkExpenseCanceled,{schedule_type:e,vendor_name:s,schedule_create_date:p,schedule_monthly_amount:v,schedule_description:d,schedule_current_status:l,schedule_start_month:y,schedule_end_month:f,schedule_number_of_months:m,schedule_current_balance:_,schedule_starting_balance:b,schedule_account_category:g,schedule_expense_category:S,schedule_expense_class:R,controller_emails:c,controller_user_ids:u,schedule_entry_current_status:w,is_vendor_recommended:k})}trackCockpitTaskCardClicked({tenantName:e,tenantId:r,user:i,controllerEmails:s}){this.fireTrack(t.Event.cockpitTaskCardClicked,{tenant_name:e,tenant_id:r,user_name:i.name,user_email:i.email,user_role:i.role,controller_emails:s})}trackTaskEdited({tenantName:e,taskId:r,activity:i,createdBy:s,commentsCreated:o}){const{name:c,description:u,status:l,priority:d,assignees:f,numberOfAttachments:m,tags:_,dueDate:g}=i.details;this.fireTrack(t.Event.taskEdited,{tenant_name:e,task_id:r,created_by:s,activity_count:i.count,activity_type:{name:c,description:u,status:l,priority:d,assignees:f,file_attached_count:m,tags:_,due_date:g},activity_by_user:i.byUser,comment_created:o})}trackTaskCreated({tenantName:e,taskId:r,newButtonClicked:i,activity:s,createdBy:o}){const{name:c,description:u,status:l,priority:d,assignees:f,numberOfAttachments:m,tags:_,dueDate:g}=s.details;this.fireTrack(t.Event.newTaskRequested,{tenant_name:e,task_id:r,created_by:o,new_task_button_clicked:i,file_attached_count:m,assignees:f,priority_set:d,task_name:c,task_description:u,task_status:l,tag_name:_?_.join(","):null,task_due_date:g})}trackRewardsPageClicked(e){this.fireTrack(t.Event.rewardsPageClicked,{click_type:e})}trackDashboardCardClicked(e,r){this.fireTrack(t.Event.dashboardCardClicked,{click_type:e,card_position:r})}trackInviteEmailClicked(e,r,i,s){this.fireTrack(t.Event.inviteEmailClicked,{click_type:e,referred_company:r,referred_email:i,invitee_count:s})}trackGetAuditScore(e,r,i,s,o){this.fireTrack(t.Event.getAuditScore,{clicked:e,tenant:r,report_month:i,controller_name:s,report_timestamp:o})}trackAuditScorePercentage(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.auditScorePercentage,{report_timestamp:e,report_month:r,score_percentage:i,issue_type:o,tenant:s,controller_name:u,customer_group:l,no_of_issues:c})}trackAuditIssuesClicked(e,r,i,s){this.fireTrack(t.Event.auditIssuesClicked,{clicked_issue:e,tenant:r,controller_name:i,created_at:s})}trackZeniAssistClick(e,r,i,s,o){this.fireTrack(t.Event.zeniAssistClick,{bill_stage:r,bill_status:e,bill_type:s,error_description:i,invoice_number:o})}trackRetryClick(e,r,i,s,o){this.fireTrack(t.Event.retryClick,{bill_stage:r,bill_status:e,bill_type:s,error_description:i,invoice_number:o})}trackRetryConfirmClick(e,r,i,s,o){this.fireTrack(t.Event.retryConfirmClick,{bill_stage:r,bill_status:e,bill_type:s,error_description:i,invoice_number:o})}trackRefundClick(e,r,i,s,o){this.fireTrack(t.Event.refundClick,{bill_stage:r,bill_status:e,bill_type:s,error_description:i,invoice_number:o})}trackRefundConfirmClick(e,r,i,s,o){this.fireTrack(t.Event.refundConfirmClick,{bill_stage:r,bill_status:e,bill_type:s,error_description:i,invoice_number:o})}trackVendor1099DetailSave(e){this.fireTrack(t.Event.vendor1099DetailsSave,{vendor_legal_name:e})}trackVendor1099ReportDownload(e){this.fireTrack(t.Event.vendor1099ReportDownload,{report:e.includes("All")?"All":e.toUpperCase()})}trackEnableIntlWire(e){this.fireTrack(t.Event.enableIntlWire,{local_currency_enabled:e})}trackSubmitIntlWire(e){this.fireTrack(t.Event.submitIntlWire,{local_currency_enabled:e})}trackIntlWirePaymentSelect(e,r,i,s,o){this.fireTrack(t.Event.intlWirePaymentMethod,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,local_currency_enabled:o})}trackMonthEndCloseClicked(e,r,i){this.fireTrack(t.Event.monthCloseClicked,{month_year:`${e}-${r}`,source:i})}trackMonthCloseAuditPage(e,r,i,s,o,c){this.fireTrack(t.Event.monthCloseAuditPage,{month_year:`${e}-${r}`,audit_score:s,refresh_clicked:o,status:i,source:c})}trackTransactionsReviewPage(e,r,i,s,o,c){this.fireTrack(t.Event.transactionsReview,{month_year:`${e}-${r}`,refresh_clicked:o,number_of_transactions:i,transaction_updates:s,source:c})}trackTransactionsAutoCategorisedPage(e,r,i,s,o,c){this.fireTrack(t.Event.transactionsAutoCategorised,{month_year:`${e}-${r}`,refresh_clicked:o,number_of_transactions:i,transaction_updates:s,source:c})}trackMonthCloseScheduleListPage(e,r,i,s,o,c){this.fireTrack(t.Event.monthCloseScheduleList,{month_year:`${e}-${r}`,refresh_clicked:i,number_of_recommendations:s,failed_postings:o,source:c})}trackFluxAnalysisPage(e,r,i,s,o){this.fireTrack(t.Event.fluxAnalysis,{month_year:`${e}-${r}`,refresh_clicked:i,open_items:s,source:o})}trackFluxAnalysisReviewed(e,r,i,s){this.fireTrack(t.Event.fluxAnalysisReviewed,{month_year:`${e}-${r}`,number_of_items_reviewed:s.length,is_bulk_update:i})}trackMissingReceiptsPage(e,r,i,s,o){this.fireTrack(t.Event.missingReceipts,{month_year:`${e}-${r}`,number_of_transactions:s,refresh_clicked:i,source:o})}trackMissingReceiptAttached(e,r){this.fireTrack(t.Event.missingReceipts,{month_year:`${e}-${r}`,is_attached:!0})}trackInsightsEmailPage(e,r,i,s,o,c,u){this.fireTrack(t.Event.insightsEmail,{month_year:`${e}-${r}`,refresh_clicked:i,email_status:s,audit_score:o,date:c,source:u})}trackCommentAdded(e,r,i,s,o,c){this.fireTrack(t.Event.commentAdded,{page_name:e,commented_on:r,comment_type:i,tenant:s,controller_name:o,created_by:c})}trackCommentActivity(e,r,i,s,o,c,u){this.fireTrack(t.Event.commentActivity,{page_name:e,comment_activity_type:r,tenant:i,controller_name:s,status:o,created_by:c,comment_activity_source:u})}trackSendMoneyClick(){this.fireTrack(t.Event.sendMoneyClick)}trackExpressPayNextClick(e){this.fireTrack(t.Event.expressPayNextClick,{stage:e})}trackExpressPayScheduleClick(){this.fireTrack(t.Event.expressPayScheduleClick)}trackLowBalanceAccountSelected(e,r,i,s,o,c){this.fireTrack(t.Event.lowBalanceAccountSelected,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,user_name:o,account_type:c})}trackLowBalanceAccountSentForApproval(e,r,i,s,o,c){this.fireTrack(t.Event.lowBalanceAccountSentForApproval,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,user_name:o,account_type:c})}trackLowBalanceAccountApprove(e,r,i,s,o,c){this.fireTrack(t.Event.lowBalanceAccountApprove,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,user_name:o,account_type:c})}trackLowBalanceAccountReject(e,r,i,s,o,c){this.fireTrack(t.Event.lowBalanceAccountReject,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,user_name:o,account_type:c})}trackLowBalanceAccountChange(e,r,i,s,o,c){this.fireTrack(t.Event.lowBalanceAccountChange,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,user_name:o,account_type:c})}trackLowBalanceAccountSchedule(e,r,i,s,o,c){this.fireTrack(t.Event.lowBalanceAccountSchedule,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,user_name:o,account_type:c})}trackVendorOperatingExpenses(e,r){this.fireTrack(t.Event.vendorOperatingExpenses,{current_tab:e,previous_tab:r})}trackVendorOperatingExpensesPageLoaded(e){this.fireTrack(t.Event.vendorOperatingExpensesPageLoaded,{source:e})}trackAICFOChatScreenStateChanged(e,r,i,s){this.fireTrack(t.Event.aiCFOChatScreenStateChanged,{action:e,chat_source:r,chat_session_id:i,chat_session_title:s})}trackAICFOChatSessionChanged(e,r,i,s){this.fireTrack(t.Event.aiCFOChatSessionChanged,{action:e,chat_source:r,chat_session_id:i,chat_session_title:s})}trackAICFOChatSubmitted(e,r,i,s,o,c){this.fireTrack(t.Event.aiCFOChatSubmitted,{question_text:e,chat_source:r,chat_session_id:i,chat_message_id:o,chat_session_title:s,index:c})}trackAICFOChatFeedbackGiven(e,r,i,s,o){this.fireTrack(t.Event.aiCFOChatFeedbackGiven,{feedback_type:e,question_text:r,chat_session_id:i,chat_message_id:o,chat_session_title:s})}trackAICFOChatResponseGenerated(e,r,i,s,o,c){this.fireTrack(t.Event.aiCFOChatResponseGenerated,{response_type:e,question_text:r,response_text:i,chat_session_id:s,chat_message_id:c,chat_session_title:o})}trackAICFOChatAnswerGenerated(e,r,i,s,o,c,u,l,d,f){this.fireTrack(t.Event.aiCFOChatAnswerGenerated,{has_visualization:c,visualization_type:u,has_follow_up_questions:i,has_assumptions:s,response_text:e,has_insights:o,question_text:r,chat_session_id:l,chat_message_id:f,chat_session_title:d})}trackAICFOOnboardingScreenStateChanged(e,r){this.fireTrack(t.Event.aiCFOOnboardingScreenStateChanged,{action:e,ai_cfo_onboarding_source:r})}trackAICFOPrivacyPolicy(){this.fireTrack(t.Event.aiCFOPrivacyPolicy)}trackAICFOAgreement(){this.fireTrack(t.Event.aiCFOAgreement)}trackTreasuryNavPromoClick(e){this.fireTrack(t.Event.treasuryNavPromoClick,{clicked_on:e})}trackTreasuryPromoView(e){this.fireTrack(t.Event.treasuryPromoView,{page_name:e})}trackTreasurySetupActionClick(e){this.fireTrack(t.Event.treasurySetupActionClick,{action_type:e})}trackTreasuryProspectusClick(e,r,i){this.fireTrack(t.Event.treasuryProspectusClick,{fund_name:e,fund_ticker:r,page_name:i})}trackTreasuryCalculatorClick(e,r){this.fireTrack(t.Event.treasuryCalculatorClick,{page_name:e,amount:r})}trackTreasuryAgreementView(){this.fireTrack(t.Event.treasuryAgreementView)}trackTreasuryAllocationAction(e,r){this.fireTrack(t.Event.treasuryAllocationAction,{action_type:e,fund_percentage:r})}trackTreasuryRiskAction(e,r,i){this.fireTrack(t.Event.treasuryRiskAction,{action_type:e,risk_score:r,fund_percentage:i})}trackTreasuryVerificationNavigation(e,r){this.fireTrack(t.Event.treasuryVerificationNavigation,{clicked_on:e,verification_status:r})}trackTreasuryTransferAction(e,r,i,s,o,c){this.fireTrack(t.Event.treasuryTransferAction,{clicked_on:e,from_account:r,to_account:i,amount:s,fund_percentage:o,page_name:c})}trackTreasuryDashboardInteraction(e){this.fireTrack(t.Event.treasuryDashboardInteraction,{clicked_on:e})}trackTreasuryPortfolioConfirm(e,r){this.fireTrack(t.Event.treasuryPortfolioConfirm,{risk_score:e,fund_percentage:r})}trackTreasuryPromoCards(e){this.fireTrack(t.Event.treasuryPromoCards,{card_clicked:e})}trackTreasuryPromoVideo(e){this.fireTrack(t.Event.treasuryPromoVideo,{page_name:e})}trackTransactionCotView({recommendationFor:e,currentValue:r,recommendation:i,recommendationCot:s,isRecommendationCotAvailable:o,recommendationReason:c,recommendationConfidenceLevel:u,alternativeRecommendation:l,alternativeRecommendationCot:d,isAlternativeRecommendationCotAvailable:f,alternativeRecommendationReason:m,alternativeRecommendationConfidenceLevel:_,transactionPage:g,transactionCurrentStatus:p,recommendationConfidencePercentage:v,alternativeRecommendationConfidencePercentage:y}){this.fireTrack(t.Event.transactionCotView,{recommendation_for:e,current_value:r,recommendation:i,recommendation_cot:s,is_recommendation_cot_available:o,recommendation_reason:c,recommendation_confidence_percentage:v,recommendation_confidence_level:u,alternative_recommendation:l,alternative_recommendation_cot:d,is_alternative_recommendation_cot_available:f,alternative_recommendation_reason:m,alternative_recommendation_confidence_percentage:y,alternative_recommendation_confidence_level:_,transaction_page:g,transaction_current_status:p})}trackTransactionCotDropdownView({recommendationType:e,recommendationFor:r,currentValue:i,recommendation:s,recommendationCot:o,isRecommendationCotAvailable:c,recommendationReason:u,recommendationConfidenceLevel:l,transactionPage:d,transactionCurrentStatus:f,recommendationConfidencePercentage:m}){this.fireTrack(t.Event.transactionCotDropdownView,{recommendation_type:e,recommendation_for:r,current_value:i,recommendation:s,recommendation_cot:o,is_recommendation_cot_available:c,recommendation_reason:u,recommendation_confidence_percentage:m,recommendation_confidence_level:l,transaction_current_status:f,transaction_page:d})}trackTransactionCotViewAlternative({alternativeRecommendationFor:e,alternativeRecommendation:r,alternativeRecommendationCot:i,isAlternativeRecommendationCotAvailable:s,alternativeRecommendationReason:o,alternativeRecommendationConfidenceLevel:c,transactionPage:u,transactionCurrentStatus:l,alternativeRecommendationConfidencePercentage:d}){this.fireTrack(t.Event.transactionCotViewAlternative,{alternative_recommendation_for:e,alternative_recommendation:r,alternative_recommendation_cot:i,is_alternative_recommendation_cot_available:s,alternative_recommendation_reason:o,alternative_recommendation_confidence_percentage:d,alternative_recommendation_confidence_level:c,transaction_current_status:l,transaction_page:u})}trackTransactionCotViewRecommended({recommendationFor:e,currentValue:r,recommendation:i,recommendationCot:s,isRecommendationCotAvailable:o,recommendationReason:c,recommendationConfidenceLevel:u,recommendationConfidencePercentage:l}){this.fireTrack(t.Event.transactionCotViewRecommended,{recommendation_for:e,current_value:r,recommendation:i,recommendation_cot:s,is_recommendation_cot_available:o,recommendation_reason:c,recommendation_confidence_percentage:l,recommendation_confidence_level:u})}trackAIPerfHome(e){this.fireTrack(t.Event.aiPerfHome,{perf_snapshot:e})}trackAIPerfRefresh(e){this.fireTrack(t.Event.aiPerfRefresh,{perf_snapshot:e})}trackAIPerfTimePeriodSelect(e){this.fireTrack(t.Event.aiPerfTimePeriodSelect,{perf_snapshot:e})}fireTrack(e,r){if(t.EVENTS_WITHOUT_SUPER_PROPERTIES.has(e)===!0){this.provider.track(e,r);return}const i=Object.assign({},this.superProperties,r);this.provider.track(e,i)}}return _r.Analytics=n,_r}var $s;function nv(){return $s||($s=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.EVENTS_WITHOUT_SUPER_PROPERTIES=t.Event=t.Analytics=void 0;const n=ed();Object.defineProperty(t,"Analytics",{enumerable:!0,get:function(){return n.Analytics}});const a=fc();Object.defineProperty(t,"EVENTS_WITHOUT_SUPER_PROPERTIES",{enumerable:!0,get:function(){return a.EVENTS_WITHOUT_SUPER_PROPERTIES}}),Object.defineProperty(t,"Event",{enumerable:!0,get:function(){return a.Event}})}(Ai)),Ai}var In={},A;if(typeof window>"u"){var Us={hostname:""};A={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:Us,referrer:""},screen:{width:0,height:0},location:Us,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else A=window;function Vs(t,n){(n==null||n>t.length)&&(n=t.length);for(var a=0,e=new Array(n);a<n;a++)e[a]=t[a];return e}function zs(t,n,a,e,r,i,s){try{var o=t[i](s),c=o.value}catch(u){a(u);return}o.done?n(c):Promise.resolve(c).then(e,r)}function qa(t){return function(){var n=this,a=arguments;return new Promise(function(e,r){var i=t.apply(n,a);function s(c){zs(i,e,r,s,o,"next",c)}function o(c){zs(i,e,r,s,o,"throw",c)}s(void 0)})}}function Sn(t,n,a){return hc()?Sn=Reflect.construct:Sn=function(r,i,s){var o=[null];o.push.apply(o,i);var c=Function.bind.apply(r,o),u=new c;return s&&Pr(u,s.prototype),u},Sn.apply(null,arguments)}function td(t,n){for(var a=0;a<n.length;a++){var e=n[a];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function ve(t,n,a){return n&&td(t.prototype,n),t}function H(){return H=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(t[e]=a[e])}return t},H.apply(this,arguments)}function Zi(t){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)},Zi(t)}function Ce(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&Pr(t,n)}function M(t,n){return n!=null&&typeof Symbol<"u"&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](t):t instanceof n}function rd(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Rr(t,n){if(t==null)return{};var a={},e=Object.keys(t),r,i;for(i=0;i<e.length;i++)r=e[i],!(n.indexOf(r)>=0)&&(a[r]=t[r]);return a}function Pr(t,n){return Pr=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e},Pr(t,n)}function $(t){"@swc/helpers - typeof";return t&&typeof Symbol<"u"&&t.constructor===Symbol?"symbol":typeof t}function nd(t,n){if(t){if(typeof t=="string")return Vs(t,n);var a=Object.prototype.toString.call(t).slice(8,-1);if(a==="Object"&&t.constructor&&(a=t.constructor.name),a==="Map"||a==="Set")return Array.from(a);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Vs(t,n)}}function xn(t){var n=typeof Map=="function"?new Map:void 0;return xn=function(e){if(e===null||!rd(e))return e;if(typeof e!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(e))return n.get(e);n.set(e,r)}function r(){return Sn(e,arguments,Zi(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Pr(r,e)},xn(t)}function hc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(hc=function(){return!!t})()}function T(t,n){var a=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(a)return(a=a.call(t)).next.bind(a);if(Array.isArray(t)||(a=nd(t))||n){a&&(t=a);var e=0;return function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Or(t,n){var a,e,r,i,s={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(u){return function(l){return c([u,l])}}function c(u){if(a)throw new TypeError("Generator is already executing.");for(;s;)try{if(a=1,e&&(r=u[0]&2?e.return:u[0]?e.throw||((r=e.return)&&r.call(e),0):e.next)&&!(r=r.call(e,u[1])).done)return r;switch(e=0,r&&(u=[u[0]&2,r.value]),u[0]){case 0:case 1:r=u;break;case 4:return s.label++,{value:u[1],done:!1};case 5:s.label++,e=u[1],u=[0];continue;case 7:u=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(u[0]===6||u[0]===2)){s=0;continue}if(u[0]===3&&(!r||u[1]>r[0]&&u[1]<r[3])){s.label=u[1];break}if(u[0]===6&&s.label<r[1]){s.label=r[1],r=u;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(u);break}r[2]&&s.ops.pop(),s.trys.pop();continue}u=n.call(t,s)}catch(l){u=[6,l],e=0}finally{a=r=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function pc(t){var n=typeof Symbol=="function"&&Symbol.iterator,a=n&&t[n],e=0;if(a)return a.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}var id=Object.defineProperty,ad=function(t,n,a){return n in t?id(t,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[n]=a},E=function(t,n,a){return ad(t,(typeof n>"u"?"undefined":$(n))!=="symbol"?n+"":n,a)},Ws,sd=Object.defineProperty,od=function(t,n,a){return n in t?sd(t,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[n]=a},qs=function(t,n,a){return od(t,(typeof n>"u"?"undefined":$(n))!=="symbol"?n+"":n,a)},_e=function(t){return t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment",t}(_e||{}),Gs={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},js={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Xr={},cd=function(){return!!globalThis.Zone};function Ga(t){if(Xr[t])return Xr[t];var n=globalThis[t],a=n.prototype,e=t in Gs?Gs[t]:void 0,r=!!(e&&e.every(function(l){var d,f;return!!((f=(d=Object.getOwnPropertyDescriptor(a,l))==null?void 0:d.get)!=null&&f.toString().includes("[native code]"))})),i=t in js?js[t]:void 0,s=!!(i&&i.every(function(l){var d;return typeof a[l]=="function"&&((d=a[l])==null?void 0:d.toString().includes("[native code]"))}));if(r&&s&&!cd())return Xr[t]=n.prototype,n.prototype;try{var o=document.createElement("iframe");document.body.appendChild(o);var c=o.contentWindow;if(!c)return n.prototype;var u=c[t].prototype;return document.body.removeChild(o),u?Xr[t]=u:a}catch{return a}}var Ei={};function dt(t,n,a){var e,r=t+"."+String(a);if(Ei[r])return Ei[r].call(n);var i=Ga(t),s=(e=Object.getOwnPropertyDescriptor(i,a))==null?void 0:e.get;return s?(Ei[r]=s,s.call(n)):n[a]}var Ti={};function _c(t,n,a){var e=t+"."+String(a);if(Ti[e])return Ti[e].bind(n);var r=Ga(t),i=r[a];return typeof i!="function"?n[a]:(Ti[e]=i,i.bind(n))}function ud(t){return dt("Node",t,"childNodes")}function ld(t){return dt("Node",t,"parentNode")}function dd(t){return dt("Node",t,"parentElement")}function fd(t){return dt("Node",t,"textContent")}function hd(t,n){return _c("Node",t,"contains")(n)}function pd(t){return _c("Node",t,"getRootNode")()}function _d(t){return!t||!("host"in t)?null:dt("ShadowRoot",t,"host")}function md(t){return t.styleSheets}function gd(t){return!t||!("shadowRoot"in t)?null:dt("Element",t,"shadowRoot")}function vd(t,n){return dt("Element",t,"querySelector")(n)}function yd(t,n){return dt("Element",t,"querySelectorAll")(n)}function bd(){return Ga("MutationObserver").constructor}function Cd(t,n,a){try{if(!(n in t))return function(){};var e=t[n],r=a(e);return typeof r=="function"&&(r.prototype=r.prototype||{},Object.defineProperties(r,{__rrweb_original__:{enumerable:!1,value:e}})),t[n]=r,function(){t[n]=e}}catch{return function(){}}}var be={childNodes:ud,parentNode:ld,parentElement:dd,textContent:fd,contains:hd,getRootNode:pd,host:_d,styleSheets:md,shadowRoot:gd,querySelector:vd,querySelectorAll:yd,mutationObserver:bd,patch:Cd};function mc(t){return t.nodeType===t.ELEMENT_NODE}function Cr(t){var n=t&&"host"in t&&"mode"in t&&be.host(t)||null;return!!(n&&"shadowRoot"in n&&be.shadowRoot(n)===t)}function kr(t){return Object.prototype.toString.call(t)==="[object ShadowRoot]"}function kd(t){return t.includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t}function wd(t){var n=t.cssText;if(n.split('"').length<3)return n;var a=["@import","url("+JSON.stringify(t.href)+")"];return t.layerName===""?a.push("layer"):t.layerName&&a.push("layer("+t.layerName+")"),t.supportsText&&a.push("supports("+t.supportsText+")"),t.media.length&&a.push(t.media.mediaText),a.join(" ")+";"}function Yi(t){try{var n=t.rules||t.cssRules;if(!n)return null;var a=t.href;!a&&t.ownerNode&&t.ownerNode.ownerDocument&&(a=t.ownerNode.ownerDocument.location.href);var e=Array.from(n,function(r){return gc(r,a)}).join("");return kd(e)}catch{return null}}function gc(t,n){if(Ad(t)){var a;try{a=Yi(t.styleSheet)||wd(t)}catch{a=t.cssText}return t.styleSheet.href?Bn(a,t.styleSheet.href):a}else{var e=t.cssText;return Ed(t)&&t.selectorText.includes(":")&&(e=Sd(e)),n?Bn(e,n):e}}function Sd(t){var n=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return t.replace(n,"$1\\$2")}function Ad(t){return"styleSheet"in t}function Ed(t){return"selectorText"in t}var vc=function(){function t(){qs(this,"idNodeMap",new Map),qs(this,"nodeMetaMap",new WeakMap)}var n=t.prototype;return n.getId=function(e){var r;if(!e)return-1;var i=(r=this.getMeta(e))==null?void 0:r.id;return i??-1},n.getNode=function(e){return this.idNodeMap.get(e)||null},n.getIds=function(){return Array.from(this.idNodeMap.keys())},n.getMeta=function(e){return this.nodeMetaMap.get(e)||null},n.removeNodeFromMap=function(e){var r=this,i=this.getId(e);this.idNodeMap.delete(i),e.childNodes&&e.childNodes.forEach(function(s){return r.removeNodeFromMap(s)})},n.has=function(e){return this.idNodeMap.has(e)},n.hasNode=function(e){return this.nodeMetaMap.has(e)},n.add=function(e,r){var i=r.id;this.idNodeMap.set(i,e),this.nodeMetaMap.set(e,r)},n.replace=function(e,r){var i=this.getNode(e);if(i){var s=this.nodeMetaMap.get(i);s&&this.nodeMetaMap.set(r,s)}this.idNodeMap.set(e,r)},n.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},t}();function Td(){return new vc}function Mn(t){var n=t.element,a=t.maskInputOptions,e=t.tagName,r=t.type,i=t.value,s=t.maskInputFn,o=i||"",c=r&&Ot(r);return(a[e.toLowerCase()]||c&&a[c])&&(s?o=s(o,n):o="*".repeat(o.length)),o}function Ot(t){return t.toLowerCase()}var Hs="__rrweb_original__";function Rd(t){var n=t.getContext("2d");if(!n)return!0;for(var a=50,e=0;e<t.width;e+=a)for(var r=0;r<t.height;r+=a){var i=n.getImageData,s=Hs in i?i[Hs]:i,o=new Uint32Array(s.call(n,e,r,Math.min(a,t.width-e),Math.min(a,t.height-r)).data.buffer);if(o.some(function(c){return c!==0}))return!1}return!0}function Dn(t){var n=t.type;return t.hasAttribute("data-rr-is-password")?"password":n?Ot(n):null}function yc(t,n){var a;try{a=new URL(t,n??window.location.href)}catch{return null}var e=/\.([0-9a-z]+)(?:$)/i,r=a.pathname.match(e),i;return(i=r?.[1])!=null?i:null}function Pd(t){var n="";return t.indexOf("//")>-1?n=t.split("/").slice(0,3).join("/"):n=t.split("/")[0],n=n.split("?")[0],n}var Od=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Id=/^(?:[a-z+]+:)?\/\//i,xd=/^www\..*/i,Md=/^(data:)([^,]*),(.*)/i;function Bn(t,n){return(t||"").replace(Od,function(a,e,r,i,s,o){var c=r||s||o,u=e||i||"";if(!c)return a;if(Id.test(c)||xd.test(c)||Md.test(c))return"url("+u+c+u+")";if(c[0]==="/")return"url("+u+(Pd(n)+c)+u+")";var l=n.split("/"),d=c.split("/");l.pop();for(var f=T(d),m;!(m=f()).done;){var _=m.value;_!=="."&&(_===".."?l.pop():l.push(_))}return"url("+u+l.join("/")+u+")"})}function Qr(t,n){return n===void 0&&(n=!1),n?t.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):t.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function Dd(t,n,a){a===void 0&&(a=!1);var e=Array.from(n.childNodes),r=[],i=0;if(e.length>1&&t&&typeof t=="string"){for(var s=Qr(t,a),o=s.length/t.length,c=1;c<e.length;c++)if(e[c].textContent&&typeof e[c].textContent=="string"){for(var u=Qr(e[c].textContent,a),l=100,d=3;d<u.length&&(u[d].match(/[a-zA-Z0-9]/)||u.indexOf(u.substring(0,d),1)!==-1);d++);for(;d<u.length;d++){var f=u.substring(0,d),m=s.split(f),_=-1;if(m.length===2)_=m[0].length;else if(m.length>2&&m[0]===""&&e[c-1].textContent!=="")_=s.indexOf(f,1);else if(m.length===1){if(f=f.substring(0,f.length-1),m=s.split(f),m.length<=1)return r.push(t),r;d=l+1}else d===u.length-1&&(_=s.indexOf(f));if(m.length>=2&&d>l){var g=e[c-1].textContent;if(g&&typeof g=="string"){var p=Qr(g).length;_=s.indexOf(f,p)}_===-1&&(_=m[0].length)}if(_!==-1){for(var v=Math.floor(_/o);v>0&&v<t.length;){if(i+=1,i>50*e.length)return r.push(t),r;var y=Qr(t.substring(0,v),a);if(y.length===_){r.push(t.substring(0,v)),t=t.substring(v),s=s.substring(_);break}else y.length<_?v+=Math.max(1,Math.floor((_-y.length)/o)):v-=Math.max(1,Math.floor((y.length-_)*o))}break}}}}return r.push(t),r}function Bd(t,n){return Dd(t,n).join("/* rr_split */")}var Ld=1,Nd=new RegExp("[^a-z0-9-_:]"),Ir=-2;function bc(){return Ld++}function Fd(t){if(M(t,HTMLFormElement))return"form";var n=Ot(t.tagName);return Nd.test(n)?"div":n}var Vt,Js,$d=/^[^ \t\n\r\u000c]+/,Ud=/^[, \t\n\r\u000c]+/;function Vd(t,n){if(n.trim()==="")return n;var a=0;function e(u){var l,d=u.exec(n.substring(a));return d?(l=d[0],a+=l.length,l):""}for(var r=[];e(Ud),!(a>=n.length);){var i=e($d);if(i.slice(-1)===",")i=jt(t,i.substring(0,i.length-1)),r.push(i);else{var s="";i=jt(t,i);for(var o=!1;;){var c=n.charAt(a);if(c===""){r.push((i+s).trim());break}else if(o)c===")"&&(o=!1);else if(c===","){a+=1,r.push((i+s).trim());break}else c==="("&&(o=!0);s+=c,a+=1}}}return r.join(", ")}var Zs=new WeakMap;function jt(t,n){return!n||n.trim()===""?n:ja(t,n)}function zd(t){return!!(t.tagName==="svg"||t.ownerSVGElement)}function ja(t,n){var a=Zs.get(t);if(a||(a=t.createElement("a"),Zs.set(t,a)),!n)n="";else if(n.startsWith("blob:")||n.startsWith("data:"))return n;return a.setAttribute("href",n),a.href}function Cc(t,n,a,e){return e&&(a==="src"||a==="href"&&!(n==="use"&&e[0]==="#")||a==="xlink:href"&&e[0]!=="#"||a==="background"&&(n==="table"||n==="td"||n==="th")?jt(t,e):a==="srcset"?Vd(t,e):a==="style"?Bn(e,ja(t)):n==="object"&&a==="data"?jt(t,e):e)}function kc(t,n,a){return(t==="video"||t==="audio")&&n==="autoplay"}function Wd(t,n,a){try{if(typeof n=="string"){if(t.classList.contains(n))return!0}else for(var e=t.classList.length;e--;){var r=t.classList[e];if(n.test(r))return!0}if(a)return t.matches(a)}catch{}return!1}function Ln(t,n,a){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return a?Ln(be.parentNode(t),n,a):!1;for(var e=t.classList.length;e--;){var r=t.classList[e];if(n.test(r))return!0}return a?Ln(be.parentNode(t),n,a):!1}function wc(t,n,a,e){var r;if(mc(t)){if(r=t,!be.childNodes(r).length)return!1}else{if(be.parentElement(t)===null)return!1;r=be.parentElement(t)}try{if(typeof n=="string"){if(e){if(r.closest("."+n))return!0}else if(r.classList.contains(n))return!0}else if(Ln(r,n,e))return!0;if(a){if(e){if(r.closest(a))return!0}else if(r.matches(a))return!0}}catch{}return!1}function qd(t,n,a){var e=t.contentWindow;if(e){var r=!1,i;try{i=e.document.readyState}catch{return}if(i!=="complete"){var s=setTimeout(function(){r||(n(),r=!0)},a);t.addEventListener("load",function(){clearTimeout(s),r=!0,n()});return}var o="about:blank";if(e.location.href!==o||t.src===o||t.src==="")return setTimeout(n,0),t.addEventListener("load",n);t.addEventListener("load",n)}}function Gd(t,n,a){var e=!1,r;try{r=t.sheet}catch{return}if(!r){var i=setTimeout(function(){e||(n(),e=!0)},a);t.addEventListener("load",function(){clearTimeout(i),e=!0,n()})}}function jd(t,n){var a=n.doc,e=n.mirror,r=n.blockClass,i=n.blockSelector,s=n.needsMask,o=n.inlineStylesheet,c=n.maskInputOptions,u=c===void 0?{}:c,l=n.maskTextFn,d=n.maskInputFn,f=n.dataURLOptions,m=f===void 0?{}:f,_=n.inlineImages,g=n.recordCanvas,p=n.keepIframeSrcFn,v=n.newlyAddedElement,y=v===void 0?!1:v,b=n.cssCaptured,k=b===void 0?!1:b,w=Hd(a,e);switch(t.nodeType){case t.DOCUMENT_NODE:return t.compatMode!=="CSS1Compat"?{type:_e.Document,childNodes:[],compatMode:t.compatMode}:{type:_e.Document,childNodes:[]};case t.DOCUMENT_TYPE_NODE:return{type:_e.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:w};case t.ELEMENT_NODE:return Zd(t,{doc:a,blockClass:r,blockSelector:i,inlineStylesheet:o,maskInputOptions:u,maskInputFn:d,dataURLOptions:m,inlineImages:_,recordCanvas:g,keepIframeSrcFn:p,newlyAddedElement:y,rootId:w});case t.TEXT_NODE:return Jd(t,{doc:a,needsMask:s,maskTextFn:l,rootId:w,cssCaptured:k});case t.CDATA_SECTION_NODE:return{type:_e.CDATA,textContent:"",rootId:w};case t.COMMENT_NODE:return{type:_e.Comment,textContent:be.textContent(t)||"",rootId:w};default:return!1}}function Hd(t,n){if(n.hasNode(t)){var a=n.getId(t);return a===1?void 0:a}}function Jd(t,n){var a=n.needsMask,e=n.maskTextFn,r=n.rootId,i=n.cssCaptured,s=be.parentNode(t),o=s&&s.tagName,c="",u=o==="STYLE"?!0:void 0,l=o==="SCRIPT"?!0:void 0;return l?c="SCRIPT_PLACEHOLDER":i||(c=be.textContent(t),u&&c&&(c=Bn(c,ja(n.doc)))),!u&&!l&&c&&a&&(c=e?e(c,be.parentElement(t)):c.replace(/[\S]/g,"*")),{type:_e.Text,textContent:c||"",rootId:r}}function Zd(t,n){for(var a=n.doc,e=n.blockClass,r=n.blockSelector,i=n.inlineStylesheet,s=n.maskInputOptions,o=s===void 0?{}:s,c=n.maskInputFn,u=n.dataURLOptions,l=u===void 0?{}:u,d=n.inlineImages,f=n.recordCanvas,m=n.keepIframeSrcFn,_=n.newlyAddedElement,g=_===void 0?!1:_,p=n.rootId,v=Wd(t,e,r),y=Fd(t),b={},k=t.attributes.length,w=0;w<k;w++){var S=t.attributes[w];kc(y,S.name,S.value)||(b[S.name]=Cc(a,y,Ot(S.name),S.value))}if(y==="link"&&i){var R=Array.from(a.styleSheets).find(function(Ie){return Ie.href===t.href}),P=null;R&&(P=Yi(R)),P&&(delete b.rel,delete b.href,b._cssText=P)}if(y==="style"&&t.sheet){var O=Yi(t.sheet);O&&(t.childNodes.length>1&&(O=Bd(O,t)),b._cssText=O)}if(y==="input"||y==="textarea"||y==="select"){var L=t.value,x=t.checked;b.type!=="radio"&&b.type!=="checkbox"&&b.type!=="submit"&&b.type!=="button"&&L?b.value=Mn({element:t,type:Dn(t),tagName:y,value:L,maskInputOptions:o,maskInputFn:c}):x&&(b.checked=x)}if(y==="option"&&(t.selected&&!o.select?b.selected=!0:delete b.selected),y==="dialog"&&t.open&&(b.rr_open_mode=t.matches("dialog:modal")?"modal":"non-modal"),y==="canvas"&&f){if(t.__context==="2d")Rd(t)||(b.rr_dataURL=t.toDataURL(l.type,l.quality));else if(!("__context"in t)){var F=t.toDataURL(l.type,l.quality),J=a.createElement("canvas");J.width=t.width,J.height=t.height;var Ee=J.toDataURL(l.type,l.quality);F!==Ee&&(b.rr_dataURL=F)}}if(y==="img"&&d){Vt||(Vt=a.createElement("canvas"),Js=Vt.getContext("2d"));var Y=t,Pe=Y.currentSrc||Y.getAttribute("src")||"<unknown-src>",ke=Y.crossOrigin,oe=function(){Y.removeEventListener("load",oe);try{Vt.width=Y.naturalWidth,Vt.height=Y.naturalHeight,Js.drawImage(Y,0,0),b.rr_dataURL=Vt.toDataURL(l.type,l.quality)}catch(Ie){if(Y.crossOrigin!=="anonymous"){Y.crossOrigin="anonymous",Y.complete&&Y.naturalWidth!==0?oe():Y.addEventListener("load",oe);return}else console.warn("Cannot inline img src="+Pe+"! Error: "+Ie)}Y.crossOrigin==="anonymous"&&(ke?b.crossOrigin=ke:Y.removeAttribute("crossorigin"))};Y.complete&&Y.naturalWidth!==0?oe():Y.addEventListener("load",oe)}if(y==="audio"||y==="video"){var ge=b;ge.rr_mediaState=t.paused?"paused":"played",ge.rr_mediaCurrentTime=t.currentTime,ge.rr_mediaPlaybackRate=t.playbackRate,ge.rr_mediaMuted=t.muted,ge.rr_mediaLoop=t.loop,ge.rr_mediaVolume=t.volume}if(g||(t.scrollLeft&&(b.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(b.rr_scrollTop=t.scrollTop)),v){var Oe=t.getBoundingClientRect(),yt=Oe.width,$e=Oe.height;b={class:b.class,rr_width:""+yt+"px",rr_height:""+$e+"px"}}y==="iframe"&&!m(b.src)&&(t.contentDocument||(b.rr_src=b.src),delete b.src);var Nt;try{customElements.get(y)&&(Nt=!0)}catch{}return{type:_e.Element,tagName:y,attributes:b,childNodes:[],isSVG:zd(t)||void 0,needBlock:v,rootId:p,isCustom:Nt}}function ee(t){return t==null?"":t.toLowerCase()}function Yd(t,n){if(n.comment&&t.type===_e.Comment)return!0;if(t.type===_e.Element){if(n.script&&(t.tagName==="script"||t.tagName==="link"&&(t.attributes.rel==="preload"&&t.attributes.as==="script"||t.attributes.rel==="modulepreload")||t.tagName==="link"&&t.attributes.rel==="prefetch"&&typeof t.attributes.href=="string"&&yc(t.attributes.href)==="js"))return!0;if(n.headFavicon&&(t.tagName==="link"&&t.attributes.rel==="shortcut icon"||t.tagName==="meta"&&(ee(t.attributes.name).match(/^msapplication-tile(image|color)$/)||ee(t.attributes.name)==="application-name"||ee(t.attributes.rel)==="icon"||ee(t.attributes.rel)==="apple-touch-icon"||ee(t.attributes.rel)==="shortcut icon")))return!0;if(t.tagName==="meta"){if(n.headMetaDescKeywords&&ee(t.attributes.name).match(/^description|keywords$/))return!0;if(n.headMetaSocial&&(ee(t.attributes.property).match(/^(og|twitter|fb):/)||ee(t.attributes.name).match(/^(og|twitter):/)||ee(t.attributes.name)==="pinterest"))return!0;if(n.headMetaRobots&&(ee(t.attributes.name)==="robots"||ee(t.attributes.name)==="googlebot"||ee(t.attributes.name)==="bingbot"))return!0;if(n.headMetaHttpEquiv&&t.attributes["http-equiv"]!==void 0)return!0;if(n.headMetaAuthorship&&(ee(t.attributes.name)==="author"||ee(t.attributes.name)==="generator"||ee(t.attributes.name)==="framework"||ee(t.attributes.name)==="publisher"||ee(t.attributes.name)==="progid"||ee(t.attributes.property).match(/^article:/)||ee(t.attributes.property).match(/^product:/)))return!0;if(n.headMetaVerification&&(ee(t.attributes.name)==="google-site-verification"||ee(t.attributes.name)==="yandex-verification"||ee(t.attributes.name)==="csrf-token"||ee(t.attributes.name)==="p:domain_verify"||ee(t.attributes.name)==="verify-v1"||ee(t.attributes.name)==="verification"||ee(t.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Ht(t,n){var a=n.doc,e=n.mirror,r=n.blockClass,i=n.blockSelector,s=n.maskTextClass,o=n.maskTextSelector,c=n.skipChild,u=c===void 0?!1:c,l=n.inlineStylesheet,d=l===void 0?!0:l,f=n.maskInputOptions,m=f===void 0?{}:f,_=n.maskTextFn,g=n.maskInputFn,p=n.slimDOMOptions,v=n.dataURLOptions,y=v===void 0?{}:v,b=n.inlineImages,k=b===void 0?!1:b,w=n.recordCanvas,S=w===void 0?!1:w,R=n.onSerialize,P=n.onIframeLoad,O=n.iframeLoadTimeout,L=O===void 0?5e3:O,x=n.onStylesheetLoad,F=n.stylesheetLoadTimeout,J=F===void 0?5e3:F,Ee=n.keepIframeSrcFn,Y=Ee===void 0?function(){return!1}:Ee,Pe=n.newlyAddedElement,ke=Pe===void 0?!1:Pe,oe=n.cssCaptured,ge=oe===void 0?!1:oe,Oe=n.needsMask,yt=n.preserveWhiteSpace,$e=yt===void 0?!0:yt;if(!Oe){var Nt=Oe===void 0;Oe=wc(t,s,o,Nt)}var Ie=jd(t,{doc:a,mirror:e,blockClass:r,blockSelector:i,needsMask:Oe,inlineStylesheet:d,maskInputOptions:m,maskTextFn:_,maskInputFn:g,dataURLOptions:y,inlineImages:k,recordCanvas:S,keepIframeSrcFn:Y,newlyAddedElement:ke,cssCaptured:ge});if(!Ie)return console.warn(t,"not serialized"),null;var bt;e.hasNode(t)?bt=e.getId(t):Yd(Ie,p)||!$e&&Ie.type===_e.Text&&!Ie.textContent.replace(/^\s+|\s+$/gm,"").length?bt=Ir:bt=bc();var Z=Object.assign(Ie,{id:bt});if(e.add(t,Z),bt===Ir)return null;R&&R(t);var Ct=!u;if(Z.type===_e.Element){Ct=Ct&&!Z.needBlock,delete Z.needBlock;var kt=be.shadowRoot(t);kt&&kr(kt)&&(Z.isShadowHost=!0)}if((Z.type===_e.Document||Z.type===_e.Element)&&Ct){p.headWhitespace&&Z.type===_e.Element&&Z.tagName==="head"&&($e=!1);var Ft={doc:a,mirror:e,blockClass:r,blockSelector:i,needsMask:Oe,maskTextClass:s,maskTextSelector:o,skipChild:u,inlineStylesheet:d,maskInputOptions:m,maskTextFn:_,maskInputFn:g,slimDOMOptions:p,dataURLOptions:y,inlineImages:k,recordCanvas:S,preserveWhiteSpace:$e,onSerialize:R,onIframeLoad:P,iframeLoadTimeout:L,onStylesheetLoad:x,stylesheetLoadTimeout:J,keepIframeSrcFn:Y,cssCaptured:!1};if(!(Z.type===_e.Element&&Z.tagName==="textarea"&&Z.attributes.value!==void 0)){Z.type===_e.Element&&Z.attributes._cssText!==void 0&&typeof Z.attributes._cssText=="string"&&(Ft.cssCaptured=!0);for(var dr=T(Array.from(be.childNodes(t))),fr;!(fr=dr()).done;){var ki=fr.value,Yr=Ht(ki,Ft);Yr&&Z.childNodes.push(Yr)}}var nt=null;if(mc(t)&&(nt=be.shadowRoot(t)))for(var wt=T(Array.from(be.childNodes(nt))),$t;!($t=wt()).done;){var hr=$t.value,Ut=Ht(hr,Ft);Ut&&(kr(nt)&&(Ut.isShadow=!0),Z.childNodes.push(Ut))}}var St=be.parentNode(t);return St&&Cr(St)&&kr(St)&&(Z.isShadow=!0),Z.type===_e.Element&&Z.tagName==="iframe"&&qd(t,function(){var He=t.contentDocument;if(He&&P){var At=Ht(He,{doc:He,mirror:e,blockClass:r,blockSelector:i,needsMask:Oe,maskTextClass:s,maskTextSelector:o,skipChild:!1,inlineStylesheet:d,maskInputOptions:m,maskTextFn:_,maskInputFn:g,slimDOMOptions:p,dataURLOptions:y,inlineImages:k,recordCanvas:S,preserveWhiteSpace:$e,onSerialize:R,onIframeLoad:P,iframeLoadTimeout:L,onStylesheetLoad:x,stylesheetLoadTimeout:J,keepIframeSrcFn:Y});At&&P(t,At)}},L),Z.type===_e.Element&&Z.tagName==="link"&&typeof Z.attributes.rel=="string"&&(Z.attributes.rel==="stylesheet"||Z.attributes.rel==="preload"&&typeof Z.attributes.href=="string"&&yc(Z.attributes.href)==="css")&&Gd(t,function(){if(x){var He=Ht(t,{doc:a,mirror:e,blockClass:r,blockSelector:i,needsMask:Oe,maskTextClass:s,maskTextSelector:o,skipChild:!1,inlineStylesheet:d,maskInputOptions:m,maskTextFn:_,maskInputFn:g,slimDOMOptions:p,dataURLOptions:y,inlineImages:k,recordCanvas:S,preserveWhiteSpace:$e,onSerialize:R,onIframeLoad:P,iframeLoadTimeout:L,onStylesheetLoad:x,stylesheetLoadTimeout:J,keepIframeSrcFn:Y});He&&x(t,He)}},J),Z}function Kd(t,n){var a=n||{},e=a.mirror,r=e===void 0?new vc:e,i=a.blockClass,s=i===void 0?"rr-block":i,o=a.blockSelector,c=o===void 0?null:o,u=a.maskTextClass,l=u===void 0?"rr-mask":u,d=a.maskTextSelector,f=d===void 0?null:d,m=a.inlineStylesheet,_=m===void 0?!0:m,g=a.inlineImages,p=g===void 0?!1:g,v=a.recordCanvas,y=v===void 0?!1:v,b=a.maskAllInputs,k=b===void 0?!1:b,w=a.maskTextFn,S=a.maskInputFn,R=a.slimDOM,P=R===void 0?!1:R,O=a.dataURLOptions,L=a.preserveWhiteSpace,x=a.onSerialize,F=a.onIframeLoad,J=a.iframeLoadTimeout,Ee=a.onStylesheetLoad,Y=a.stylesheetLoadTimeout,Pe=a.keepIframeSrcFn,ke=Pe===void 0?function(){return!1}:Pe,oe=k===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:k===!1?{password:!0}:k,ge=P===!0||P==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:P==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:P===!1?{}:P;return Ht(t,{doc:t,mirror:r,blockClass:s,blockSelector:c,maskTextClass:l,maskTextSelector:f,skipChild:!1,inlineStylesheet:_,maskInputOptions:oe,maskTextFn:w,maskInputFn:S,slimDOMOptions:ge,dataURLOptions:O,inlineImages:p,recordCanvas:y,preserveWhiteSpace:L,onSerialize:x,onIframeLoad:F,iframeLoadTimeout:J,onStylesheetLoad:Ee,stylesheetLoadTimeout:Y,keepIframeSrcFn:ke,newlyAddedElement:!1})}function Xd(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Qd(t){if(t.__esModule)return t;var n=t.default;if(typeof n=="function"){var a=function e(){return M(this,e)?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};a.prototype=n.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(a,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}),a}var Ha={exports:{}},re=String,Sc=function(){return{isColorSupported:!1,reset:re,bold:re,dim:re,italic:re,underline:re,inverse:re,hidden:re,strikethrough:re,black:re,red:re,green:re,yellow:re,blue:re,magenta:re,cyan:re,white:re,gray:re,bgBlack:re,bgRed:re,bgGreen:re,bgYellow:re,bgBlue:re,bgMagenta:re,bgCyan:re,bgWhite:re}};Ha.exports=Sc();Ha.exports.createColors=Sc;var ef=Ha.exports,tf={},rf=Object.freeze(Object.defineProperty({__proto__:null,default:tf},Symbol.toStringTag,{value:"Module"})),le=Qd(rf),Ys=ef,Ks=le,Ki=function(t){Ce(n,t);function n(e,r,i,s,o,c){var u;return u=t.call(this,e)||this,u.name="CssSyntaxError",u.reason=e,o&&(u.file=o),s&&(u.source=s),c&&(u.plugin=c),typeof r<"u"&&typeof i<"u"&&(typeof r=="number"?(u.line=r,u.column=i):(u.line=r.line,u.column=r.column,u.endLine=i.line,u.endColumn=i.column)),u.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(u,n),u}var a=n.prototype;return a.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},a.showSourceCode=function(r){var i=this;if(!this.source)return"";var s=this.source;r==null&&(r=Ys.isColorSupported),Ks&&r&&(s=Ks(s));var o=s.split(/\r?\n/),c=Math.max(this.line-3,0),u=Math.min(this.line+2,o.length),l=String(u).length,d,f;if(r){var m=Ys.createColors(!0),_=m.bold,g=m.gray,p=m.red;d=function(v){return _(p(v))},f=function(v){return g(v)}}else d=f=function(v){return v};return o.slice(c,u).map(function(v,y){var b=c+1+y,k=" "+(" "+b).slice(-l)+" | ";if(b===i.line){var w=f(k.replace(/\d/g," "))+v.slice(0,i.column-1).replace(/[^\t]/g," ");return d(">")+f(k)+v+`
|
|
1
|
+
import"./core-CA3j8Axi.js";import{B as ct}from"./zeni-epic-state-CQt4n3Xe.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="7988e232-cc8f-4bd5-931c-e879d2be2dfd",t._sentryDebugIdIdentifier="sentry-dbid-7988e232-cc8f-4bd5-931c-e879d2be2dfd")}catch{}})();var Ai={},_r={},Rt={},Ns;function fc(){if(Ns)return Rt;Ns=1,Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.EVENTS_WITHOUT_SUPER_PROPERTIES=Rt.Event=void 0;var t;return function(n){n.dashboard="Dashboard",n.cashBalance="Cash Balance",n.cardBalance="Card Balance",n.cashPosition="Cash Position",n.revenues="Revenues",n.operatingExpenses="Operating Expenses",n.topExpenses="Top Expenses",n.burnRate="Burn Rate",n.cashInCashOut="Cash In, Cash Out",n.howItWorks="How It Works",n.insights="Insights",n.brexAd="Brex Ad",n.companyPassport="Company Passport",n.addAddress="Add Address",n.editAddress="Edit Address",n.saveAddressClicked="Save Address Clicked",n.reports="Reports",n.profitAndLoss="Profit & Loss",n.balanceSheet="Balance Sheet",n.cashFlow="Cash Flow",n.profitAndLossWithForecast="Profit & Loss with Forecast",n.balanceSheetWithForecast="Balance Sheet with Forecast",n.cashFlowWithForecast="Cash Flow with Forecast",n.sidePanelClicked="Side Panel Clicked",n.transactionList="Transaction List",n.transactionDetails="Transaction Details",n.transactionDetailsSave="Transaction Details Save",n.transactionDetailReceiptOpened="Transaction Details Receipt Opened",n.transactionDetailReceiptDeleted="Attachment Deleted",n.transactionDetailReceiptAdded="Transaction Details Receipt Added",n.compareMode="Compare Mode",n.compareFilterChange="Compare Filter Change",n.compareFilterTimeframe="Compare Filter Timeframe",n.dateRangeFilter="Date Range Filter",n.timeframeSwitch="Timeframe Switch",n.graphBar="Graph Bar",n.cardStatementCloseDateClicked="Card Statement Close Date Clicked",n.cardStatementCloseDateSaved="Card Statement Close Date Saved",n.forecast="Forecast",n.forecastSwitch="Forecast Switch",n.forecastVsActualMode="Forecast vs Actual Mode",n.members="Members",n.inviteSent="Invite Sent",n.roleChanged="Role Changed",n.removeUserAccess="Remove User Access",n.resendInvite="Resend Invite",n.companySwitch="Company Switch",n.download="Download",n.sort="Sort",n.incomeTrend="Income Trend",n.spendTrend="Spend Trend",n.search="Search",n.login="Login",n.loginButton="Login Button",n.signInClick="Sign In click",n.signInViaGoogleMicrosoft="Sign In Via Google Microsoft",n.signInViaEmail="Sign In Via Email",n.signInLinkSent="Sign In Link Sent",n.loginSuccess="Login Success",n.loginFailure="Login Fail",n.logoutButton="Logout Button",n.logoutSuccess="Logout Success",n.logoutFailure="Logout Fail",n.reportGenerated="Report Generated",n.aiCFOPage="AI CFO Page",n.aiCFOChatScreenStateChanged="AI CFO Chat Screen State Changed",n.aiCFOChatSessionChanged="AI CFO Chat Session Changed",n.aiCFOChatSubmitted="AI CFO Chat Submitted",n.aiCFOChatFeedbackGiven="AI CFO Chat Feedback Given",n.aiCFOChatResponseGenerated="AI CFO Chat Response Generated",n.aiCFOChatAnswerGenerated="AI CFO Chat Answer Generated",n.aiCFOOnboardingScreenStateChanged="AI CFO Onboarding Screen State Changed",n.onboardingLinkClicked="Onboarding Invite Link Click",n.onboardingNeedHelp="Onboarding Need Help",n.onboardingInterimNeedHelp="Onboarding Interim Page Need Help",n.onboardingLandingNeedHelp="Onboarding Landing Page Need Help",n.onboardingPage="Onboarding Page",n.onboardingInterimPage="Onboarding Interim Page",n.onboardingLandingPage="Onboarding Landing Page",n.onboardingQBOConnect="Onboarding QBO Connect Clicked",n.onboardingSaveQBOConnection="Onboarding Save QBO Connection",n.onboardingClickUpdatePaymentDetails="Onboarding Landing Page Update Payment Details",n.onboardingSkipAndSave="Onboarding skip (save details if any) and activate dashboard",n.onboardingCompanyOfficerSave="Onboarding Company Officer Save",n.onboardingCompanyDetailsSave="Onboarding Company Details Save",n.onboardingDashboardActivation="Onboarding Dashboard Activation",n.onboardingConnectBank="Onboarding Connect Bank",n.onboardingConnectBankSuccess="Onboarding Connect Bank Success",n.onboardingConnectBankFailure="Onboarding Connect Bank Failure",n.onboardingConnectBankLink="Onboarding Connect Bank Link",n.onboardingConnectBankGetBalance="Onboarding Connect Bank Get Balance",n.onboardingNewCustomerStarted="Onboarding New Customer Started",n.onboardingNewCustomerGroupCreationCheck="Onboarding New Customer Group Creation Check",n.onboardingZeniManagedQBOConnectionSelected="Onboarding Zeni Managed QBO Connection Selected",n.onboardingCustomerManagedQBOConnectionSelected="Onboarding Customer Managed Connection QBO Selected",n.onboardingZeniManagedQBOConnectionSuccess="Onboarding Zeni Managed QBO Connection Successful",n.onboardingZeniManagedQBOConnectionUnsuccess="Onboarding Zeni Managed QBO Connection Unsuccessful",n.onboardingSendInvite="Onboarding Send Invite",n.onboardingResendInvite="Onboarding Resend Invite",n.onboardingSave="Onboarding Save",n.onboardingBillingAddress="Onboarding Billing Address Clicked",n.onboardingBillingAddressSave="Onboarding Billing Address Save",n.onboardingNext="Onboarding Next",n.onboardingBack="Onboarding Back",n.onboardingActiveStep="Onboarding Active Step",n.onboardingLinkBankAccount="Onboarding Link A Bank Account",n.onboardingLinkBankAccountSuccess="Onboarding Link A Bank Account Success",n.onboardingLinkBankAccountFailure="Onboarding Link A Bank Account Failure",n.onboardingLinkANewBankAccount="Onboarding Link A New Bank Account",n.onboardingLinkANewBankAccountSuccess="Onboarding Link A New Bank Account Success",n.onboardingLinkANewBankAccountFailure="Onboarding Link A New Bank Account Failure",n.onboardingLinkCreditCard="Onboarding Link Credit Card",n.onboardingLinkCreditCardSuccess="Onboarding Link Credit Card Success",n.onboardingLinkCreditCardFailure="Onboarding Link Credit Card Failure",n.onboardingLinkNewCard="Onboarding Link a New Credit Card",n.onboardingLinkNewCardSuccess="Onboarding Link a New Credit Card Success",n.onboardingLinkNewCardFailure="Onboarding Link a New Credit Card Failure",n.onboardingBankAccountPendingVerification="Onboarding Bank Account Pending Verification",n.onboardingBankAccountVerified="Onboarding Bank Account Verified",n.onboardingSwitchToBankAccount="Onboarding Switch To Bank Account",n.onboardingSwitchToBankAccountSuccess="Onboarding Switch To Bank Account Success",n.onboardingSwitchToBankAccountFailure="Onboarding Switch To Bank Account Failure",n.onboardingSwitchToCreditCard="Onboarding Switch To Credit Card",n.onboardingSwitchToCreditCardSuccess="Onboarding Switch To Credit Card Success",n.onboardingSwitchToCreditCardFailure="Onboarding Switch To Credit Card Failure",n.onboardingInterimCardClick="Onboarding Interim Page Card Click",n.onboardingLandingPageCardClick="Onboarding Landing Page Card Click",n.billingLinkNewBankAccount="Billing Link a New Bank Account",n.billingLinkNewBankAccountSuccess="Billing Link a New Bank Account Success",n.billingLinkNewBankAccountFailure="Billing Link a New Bank Account Failure",n.billingSwitchToCreditCard="Billing Switch To Credit Card",n.billingSwitchToCreditCardSuccess="Billing Switch To Credit Card Success",n.billingSwitchToCreditCardFailure="Billing Switch To Credit Card Failure",n.billingSwitchToBankAccount="Billing Switch To Bank Account",n.billingSwitchToBankAccountSuccess="Billing Switch To Bank Account Success",n.billingSwitchToBankAccountFailure="Billing Switch To Bank Account Failure",n.billingLinkNewCard="Billing Link a New Card",n.billingLinkNewCardSuccess="Billing Link a New Card Success",n.billingLinkNewCardFailure="Billing Link a New Card Failure",n.billPayHome="Bill Pay Home",n.billPaySetup="Bill Pay Setup",n.billPayPromoPage="Bill Pay Promo",n.billPayNeedHelp="Bill Pay Need Help",n.billPayBusinessVerification="Bill Pay Business Verification",n.billPayBusinessVerificationSave="Bill Pay Business Verification Save",n.billPayBusinessVerificationSend="Bill Pay Business Verification Send",n.billPayBusinessVerificationAddOfficer="Bill Pay Business Verification Add Officer",n.billPayConnectBank="Bill Pay Connect Bank",n.billPayConnectBankSuccess="Bill Pay Connect Bank Success",n.billPayConnectBankFailure="Bill Pay Connect Bank Failure",n.billPayConnectBankLink="Bill Pay Connect Bank Link",n.billPayConnectBankGetBalance="Bill Pay Connect Bank Get Balance",n.enableBillPay="Enable Bill Pay",n.billPayDrafts="Bill Pay Drafts",n.billPayDraftsOverdue="Bill Pay Drafts Overdue",n.billPayApprovals="Bill Pay Approvals",n.billPayApprovalsAwaitingApproval="Bill Pay Approvals Awaiting Approval",n.billPayApprovalsAwaitingMyApproval="Bill Pay Approvals Awaiting My Approval",n.billPayApprovalsOverdue="Bill Pay Approvals Overdue",n.billPayApprovalsRejected="Bill Pay Approvals Rejected",n.billPayApprovalsDeleted="Bill Pay Approvals Deleted",n.billPayScheduled="Bill Pay Scheduled",n.billPayScheduledFailed="Bill Pay Scheduled Failed",n.billPayScheduledCancelled="Bill Pay Scheduled Cancelled",n.billPayScheduledDeleted="Bill Pay Scheduled Deleted",n.billPayPaid="Bill Pay Paid",n.billPayPaidACH="Bill Pay Paid ACH",n.billPayPaidWire="Bill Pay Paid Wire",n.billPayPaidDeleted="Bill Pay Paid Deleted",n.billPayPaidOffline="Bill Pay Paid Offline",n.billPayNewBill="Bill Pay New Bill",n.billPayInvoiceUpload="Bill Pay Invoice Upload",n.billPaySkipAutofill="Bill Pay Skip Autofill",n.billPayInvoiceActionClick="Bill Pay Invoice Action Click",n.billPayBillDetails="Bill Pay Bill Details",n.billPayEditBill="Bill Pay Edit Bill",n.billPayDeleteBill="Bill Pay Delete Bill",n.billPayCancelBill="Bill Pay Cancel Bill",n.billPayCancelAndDeleteBill="Bill Pay Cancel And Delete Bill",n.billPayReviewBill="Bill Pay Review Bill",n.billPaySendForApproval="Bill Pay Send For Approval",n.billPayMagicLinkPreviewEmail="Bill Pay MagicLink Preview Email",n.billPayMagicLinkPageLoad="Bill Pay MagicLink Page Load",n.billPayMagicLinkSubmitBankAccountDetails="Bill Pay MagicLink Submit Bank Account Details",n.billPayFilterClick="Bill Pay Filter Click",n.billPayFilterChange="Bill Pay Filter Change",n.billPayDownloadClick="Bill Pay Download Click",n.billPayNewVendor="Bill Pay New Vendor",n.billPayEditVendor="Bill Pay Edit Vendor",n.billPayExpandVendor="Bill Pay Expand Vendor",n.billPayChooseNewVendor="Bill Pay Choose New Vendor",n.billPayCreateNewVendorFromDropdown="Bill Pay Create New Vendor From Dropdown",n.billPayAutoDateChange="Book Close - Auto Date Change",n.billPayPrivacyPolicy="Bill Pay Privacy Policy",n.billPayAgreement="Bill Pay Agreement",n.billPayPromoSchedule="Bill Pay Schedule Demo",n.billPayPromoVideo="Bill Pay Promo Video",n.billPayTaskCard="Bill Pay Task Card",n.billPayCard="Bill Pay Card",n.enableIntlWire="Enable International Wire",n.submitIntlWire="International Wire Submit",n.intlWirePaymentMethod="International Wire Payment Method",n.zeniAssistClick="Zeni Assist Click",n.retryClick="Retry Click",n.retryConfirmClick="Retry Confirm Click",n.refundClick="Refund Click",n.refundConfirmClick="Refund Confirm Click",n.billPayBulkSelectAll="Bill Pay Bulk Select All",n.billPayBulkDeleted="Bill Pay Bulk Deleted",n.billPayBulkSubmit="Bill Pay Bulk Submit",n.billPayBulkSelection="Bill Pay Bulk Selection",n.billPayBulkPopupConfirm="Bill Pay Bulk Popup Confirm",n.billPayMarkAsPaid="Mark As Paid",n.billPayMarkAsPaidSubmit="Mark As Paid Submit",n.lowBalanceAccountSelected="Low Balance Account Selected",n.lowBalanceAccountSentForApproval="Low Balance Account Sent for Approval",n.lowBalanceAccountApprove="Low Balance Account Approve",n.lowBalanceAccountReject="Low Balance Account Reject",n.lowBalanceAccountChange="Low Balance Account Change",n.lowBalanceAccountSchedule="Low Balance Account Schedule",n.cockpitTabClicked="Cockpit Tab Clicked",n.cockpitHealthMonitorRowClicked="Cockpit Health Monitor Row Clicked",n.cockpitHealthMonitorChurnFormClicked="Cockpit Health Monitor Churn Form Click",n.cockpitHealthMonitorNotificationAlertClicked="Cockpit Health Monitor Notification Alert Clicked",n.reimbursementHome="Reimbursement Home",n.reimbursementSetup="Reimbursement Setup",n.reimbursementPromoPage="Reimbursement Promo",n.reimbursementTaskCard="Reimbursement Task Card",n.reimbursementFilterClick="Reimbursement Filter Click",n.reimbursementFilterChange="Reimbursement Filter Change",n.reimbursementDownloadClick="Reimbursement Download Click",n.reimbursementBulkSelectAll="Reimbursement Bulk Select All",n.reimbursementBulkDeleted="Reimbursement Bulk Deleted",n.reimbursementBulkSubmit="Reimbursement Bulk Submit",n.reimbursementBulkSelection="Reimbursement Bulk Selection",n.reimbursementBulkPopupConfirm="Reimbursement Bulk Popup Confirm",n.accountsListPageViewed="Accounts List Page Viewed",n.zeniAccountsSetup="Zeni Accounts Setup",n.accountsPromoPageViewed="Accounts Promo Page Viewed",n.zeniAccountsPromoCardClick="Zeni Accounts Promo Card Click",n.zeniAccountsCashBalancePromoClicked="Zeni Accounts Cash Balance Promo Clicked",n.zeniAccountsNeedHelp="Zeni Accounts Need Help",n.zeniAccountsBusinessVerification="Zeni Accounts Business Verification",n.zeniAccountsBusinessVerificationSave="Zeni Accounts Business Verification Save",n.zeniAccountsBusinessVerificationSend="Zeni Accounts Business Verification Send",n.plgPromoActionTaken="Promo Action Taken",n.cardsPromoPage="Cards Promo Page Viewed",n.cardsPromoPageClick="Cards Promo Page Clicked",n.cardsListPage="Cards List Page Viewed",n.cardsListPageClick="Cards List Page Clicked",n.cardsIssueNewCardFormClick="Issue New Card Form Clicked",n.cardsListRowClick="Cards List Row Clicked",n.cardsDetailPage="Cards Detail Page Viewed",n.cardsDetailPageClick="Cards Detail Page Clicked",n.cardsVerifyPopUpClick="Cards Verify Pop-Up Clicked",n.cardsSetupVisited="Cards Setup Page Visited",n.cardsPromoView="Cards Promo View",n.cardsSetupCardsClick="Cards Set Up Cards Click",n.cardsEnableCardsClick="Cards Enable Cards Click",n.cardsScheduleDemoClick="Cards Schedule Demo Click",n.cardsCardListView="Cards Card List View",n.cardsCardListSearchClick="Cards Card List Search Click",n.cardsCardListMoreMenuClick="Cards Card List More Menu Click",n.cardsSettingsClick="Cards Settings Click",n.cardsCardSetupView="Cards Card Setup View",n.cardsVerifyIdentityCompanyDetailsClick="Cards Verify Identity & Company Details Click",n.cardsPaymentAccountChangeClick="Cards Payment Account Change Click",n.cardsZeniCashAccountChangeClick="Cards Zeni Cash Account Change Click",n.cardsStatementsClick="Cards Statements Click",n.cardsCreditCardStatementsView="Cards Credit Card Statements View",n.cardsDownloadClick="Cards Download Click",n.cardsNewCardClick="Cards New Card Click",n.cardsCashbackOverviewClick="Cards Cashback Overview Click",n.cardsCardListRowClick="Cards Card List Row Click",n.cardsCopyIconClick="Cards Copy Icon Click",n.cardsCardListSortClick="Cards Card List Sort Click",n.cardsCardDetailView="Cards Card Detail View",n.cardsUpdateSpendLimitInitiated="Cards Update Spend Limit Initiated",n.cardsUpdateSpendLimitClick="Cards Update Spend Limit Click",n.cardsAddToWalletClick="Cards Add to Wallet Click",n.cardsNeedHelp="Cards Need Help",n.cardsBusinessVerification="Cards Business Verification",n.cardsBusinessVerificationSave="Cards Business Verification Save",n.cardsBusinessVerificationSend="Cards Business Verification Send",n.cardsConnectBank="Cards Connect Bank",n.cardsConnectBankSuccess="Cards Connect Bank Success",n.cardsConnectBankFailure="Cards Connect Bank Failure",n.cardsConnectBankGetBalance="Cards Connect Bank Get Balance",n.cardsConnectBankLink="Cards Connect Bank Link",n.zeniCardsPromoCardClicked="Zeni Cards Promo Card Click",n.cardsPayEarlyClick="Cards Pay Early Click",n.cardsPayEarlyFormView="Cards Pay Early Form View",n.cardsPayEarlyFormClick="Cards Pay Early Form Click",n.cardsPayEarlyPayNowClick="Cards Pay Early Pay Now Click",n.accountsListPageClicked="Accounts List Page Clicked",n.zeniAccountsTransferFormViewed="Transfer Between Accounts Form Viewed",n.zeniAccountsTransferFormClicked="Transfer Between Accounts Form Clicked",n.accountsDepositCheckFormViewed="Accounts Deposit Check Form Viewed",n.accountsDepositCheckFormClicked="Accounts Deposit Check Form Clicked",n.accountsPromoPageClicked="Accounts Promo Page Clicked",n.zeniAccountsSettingPageVisited="Zeni Accounts Setting Page Visited",n.zeniAccountsConnectBank="Zeni Accounts Connect Bank",n.zeniAccountsConnectBankSuccess="Zeni Accounts Connect Bank Success",n.zeniAccountsConnectBankFailure="Zeni Accounts Connect Bank Failure",n.zeniAccountsConnectBankGetBalance="Zeni Accounts Connect Bank Get Balance",n.zeniAccountsConnectBankLink="Zeni Accounts Connect Bank Link",n.enableZeniAccounts="Enable Zeni Accounts",n.reimbursementNeedHelp="Reimbursement Need Help",n.reimbursementBusinessVerification="Reimbursement Business Verification",n.reimbursementBusinessVerificationSave="Reimbursement Business Verification Save",n.reimbursementBusinessVerificationSend="Reimbursement Business Verification Send",n.reimbursementBusinessVerificationAddOfficer="Reimbursement Business Verification Add Officer",n.reimbursementConnectBank="Reimbursement Connect Bank",n.reimbursementConnectBankSuccess="Reimbursement Connect Bank Success",n.reimbursementConnectBankFailure="Reimbursement Connect Bank Failure",n.reimbursementConnectBankLink="Reimbursement Connect Bank Link",n.reimbursementConnectBankGetBalance="Reimbursement Connect Bank Get Balance",n.enableReimbursement="Enable Reimbursement",n.reimbursementMileageRateSave="Reimbursement Mileage Rate Save",n.reimbursementMileageRateEdit="Reimbursement Mileage Rate Edit",n.reimbursementPrivacyPolicy="Reimbursement Privacy Policy",n.reimbursementAgreement="Reimbursement Agreement",n.reimbursementPromoSchedule="Reimbursement Schedule Demo",n.reimbursementPromoVideo="Reimbursement Promo Video",n.reimbursementCard="Reimbursement Card",n.reimbursementDrafts="Reimbursement Drafts",n.reimbursementMyDrafts="Reimbursement My Drafts",n.reimbursementApprovals="Reimbursement Approvals",n.reimbursementApprovalsAwaitingApproval="Reimbursement Approvals Awaiting Approval",n.reimbursementApprovalsAwaitingAllApproval="Reimbursement Approvals Awaiting All Approval",n.reimbursementApprovalsAwaitingMyApproval="Reimbursement Approvals Awaiting My Approval",n.reimbursementApprovalsRejected="Reimbursement Approvals Rejected",n.reimbursementApprovalsDeleted="Reimbursement Approvals Deleted",n.reimbursementScheduled="Reimbursement Scheduled",n.reimbursementScheduledFailed="Reimbursement Scheduled Failed",n.reimbursementScheduledCancelled="Reimbursement Scheduled Cancelled",n.reimbursementScheduledDeleted="Reimbursement Scheduled Deleted",n.reimbursementPaid="Reimbursement Paid",n.reimbursementPaidACH="Reimbursement Paid ACH",n.reimbursementPaidDeleted="Reimbursement Paid Deleted",n.reimbursementListSort="Reimbursement List Sort",n.reimbursementNewReimbursement="Reimbursement New Reimbursement",n.reimbursementInvoiceUpload="Reimbursement Invoice Upload",n.reimbursementSkipAutofill="Reimbursement Skip Autofill",n.reimbursementSubmitReimbursement="Reimbursement Submit Reimbursement",n.reimbursementReimbursementDetails="Reimbursement Reimbursement Details",n.reimbursementEditReimbursement="Reimbursement Edit Reimbursement",n.reimbursementDeleteReimbursement="Reimbursement Delete Reimbursement",n.reimbursementCancelReimbursement="Reimbursement Cancel Reimbursement",n.reimbursementCancelAndDeleteReimbursement="Reimbursement Cancel And Delete Reimbursement",n.reimbursementSubmitAnywayDuplicateReimbursement="Reimbursement Submit Anyway Duplicate Reimbursement",n.reimbursementReviewDuplicateReportReimbursement="Reimbursement Review Duplicate Report Reimbursement",n.reimbursementDeleteReimbursementLine="Reimbursement Delete Reimbursement Line",n.reimbursementViewDuplicateExpense="Reimbursement View Duplicate Expense",n.groupBySwitch="Group By Switch",n.burnRateCalculatorSettings="Burn Rate Calculator Settings",n.vendorList="Vendor List",n.vendorListSort="Vendor List Sort",n.vendorListSpendTrendSelection="Vendor List Spend Trend Selection",n.vendorListSearch="Vendor List Search",n.vendorDetails="Vendor Details",n.vendorDetailsSave="Vendor Details Save",n.vendorDetailsCancel="Vendor Details Cancel",n.vendorDetailsSpendTrendHotlinkClicked="Vendor Details Spend Trend Hotlink Clicked",n.vendorOperatingExpenses="Operating Expenses By Vendor",n.vendorOperatingExpensesPageLoaded="Operating Expenses By Vendor Page Loaded",n.agingReport="Aging Report",n.agingReportDateChange="Aging Report Date Change",n.apAgingDetail="AP Aging Detail",n.arAgingDetail="AR Aging Detail",n.vendorTenantReviewListPage="Vendor Dedupe Tenant Review List Page",n.vendorGlobalReviewListPage="Vendor Dedupe Global Review List Page",n.vendorReviewList="Vendor Dedupe Review List Loaded",n.vendorReviewTenantSave="Vendor Dedupe First Review",n.vendorReviewTenantMergeInQBORedirect="Vendor Dedupe Merge in QBO Redirected",n.vendorReviewTenantMergeInQBOCancel="Vendor Dedupe Merge in QBO Canceled",n.vendorReviewTenantRecommendationUpdateContinue="Vendor Dedupe Recommendation Update Continued",n.vendorReviewTenantRecommendationUpdateCancel="Vendor Dedupe Recommendation Update Canceled",n.vendorReviewTenantUpdateCancel="Vendor Dedupe Update Canceled",n.vendorReviewTenantWebsiteOpened="Vendor Dedupe Website Opened",n.vendorReviewGlobalApproveRequest="Vendor Dedupe Approve Requested",n.vendorReviewGlobalNewVendorRequest="Vendor Dedupe New Vendor Requested",n.vendorReviewGlobalNewVendorSave="Vendor Dedupe New Vendor Saved",n.vendorReviewGlobalNewVendorCancel="Vendor Dedupe New Vendor Canceled",n.vendor1099ListPage="Vendors 1099",n.vendor1099TabSettingsSave="1099 Settings Save",n.vendor1099AccountingSettingsSave="Settings Accounting 1099 Save",n.vendor1099W9DocumentUpload="1099 Vendor W9 Upload",n.vendor1099DetailsSave="1099 Vendor Save",n.vendor1099ReportDownload="1099 Download",n.scheduleReviewList="Schedule Review List Loaded",n.scheduleReviewListDownload="Schedule Review List Download",n.scheduleDetailsPage="Schedule Details Loaded",n.scheduleDetailsNewRequested="Schedule Details New Requested",n.scheduleDetailsPreview="Schedule Details Previewed",n.scheduleDetailsSave="Schedule Details Saved",n.scheduleDetailsCancel="Schedule Details Canceled",n.scheduleDetailsLinkJournalEntry="Schedule Details Link Journal Entry",n.scheduleDetailsViewJournalEntry="Schedule Details View Journal Entry",n.scheduleDetailsJournalEntryViewLinkedExpense="Schedule Details Journal Entry View Linked Expense",n.scheduleDetailsJournalEntryLinkedSaved="Schedule Details Journal Entry Linked Saved",n.scheduleDetailsJournalEntryQBOFetched="Schedule Details Journal Entry QBO Fetched",n.scheduleDetailsJournalEntryLinkCancel="Schedule Details Journal Entry Link Canceled",n.scheduleDetailsEntryCanceled="Schedule Details Entry Canceled",n.scheduleDetailsJournalEntryLinkExpense="Schedule Details Journal Entry Link Expense",n.scheduleDetailsJournalEntryLinkExpenseLoaded="Schedule Details Journal Entry Link Expense Loaded",n.scheduleDetailsJournalEntryLinkExpenseCanceled="Schedule Details Journal Entry Link Expense Canceled",n.scheduleDetailsJounralEntryLinkExpenseSaved="Schedule Details Journal Entry Linked Expense Saved",n.scheduleDetailsDelete="Schedule Details Deleted",n.scheduleDetailsMarkComplete="Schedule Details Marked As Complete",n.taskListPage="Task List Page",n.taskDetailPage="Task Detail Page",n.cockpitTaskCardClicked="Cockpit Task Card Clicked",n.taskEdited="Task Edited",n.newTaskRequested="New Task Requested",n.healthMonitorFilterApplied="Health Monitor Filter Applied",n.error="Error",n.rewardsPageViewed="Rewards Page Viewed",n.rewardsPageClicked="Rewards Page Clicked",n.dashboardCardClicked="Dashboard Card Clicked",n.inviteEmailViewed="Rewards Invite Email Viewed",n.inviteEmailClicked="Rewards Invite Email Clicked",n.getAuditScore="Get Score",n.auditScorePercentage="Score %",n.auditIssueType="Issue Type",n.auditIssuesClicked="Issue Clicked",n.commentAdded="Comment Added",n.commentActivity="Comment Activity",n.monthCloseClicked="Month Close Clicked",n.monthCloseAuditPage="Month Close: Audit Page",n.transactionsReview="Transactions: Review",n.transactionsAutoCategorised="Transactions: Autocategorised",n.monthCloseScheduleList="Month Close: Schedule List",n.fluxAnalysis="Flux Analysis",n.fluxAnalysisReviewed="Flux Analysis: Reviewed",n.missingReceipts="Missing Receipts",n.receiptsAttached="Receipt Attached",n.insightsEmail="Insights Email",n.sendMoneyClick="Send Money Click",n.expressPayNextClick="Express Pay Next Click",n.expressPayScheduleClick="Express Pay Schedule Click",n.aiCFOPrivacyPolicy="AI CFO Privacy Policy",n.aiCFOAgreement="AI CFO Agreement",n.treasuryNavPromoClick="Treasury Nav Promo Click",n.treasuryPromoView="Treasury Promo View",n.treasurySetupActionClick="Treasury Setup Action Click",n.treasuryProspectusClick="Treasury Prospectus Click",n.treasuryCalculatorClick="Treasury Calculator Click",n.treasuryAgreementView="Treasury Agreement View",n.treasuryAllocationAction="Treasury Allocation Action",n.treasuryRiskAction="Treasury Risk Action",n.treasuryVerificationNavigation="Treasury Verification Navigation",n.treasuryTransferAction="Treasury Transfer Action",n.treasuryDashboardInteraction="Treasury Dashboard Interaction",n.treasuryPortfolioConfirm="Treasury Portfolio Confirm",n.treasuryPromoCards="Treasury Promo Cards",n.treasuryPromoVideo="Treasury Promo Video",n.transactionCotView="Transaction Cot View",n.transactionCotDropdownView="Transaction Cot Dropdown View",n.transactionCotViewAlternative="Transaction Cot View Alternative",n.transactionCotViewRecommended="Transaction Cot View Recommended",n.aiPerfHome="AI Perf Home",n.aiPerfRefresh="AI Perf Refresh",n.aiPerfTimePeriodSelect="AI Perf Time Period Select",n.otherConnectionConnectBank="Other Connection Connect Bank",n.otherConnectionConnectBankSuccess="Other Connections Connect Bank Success",n.otherConnectionConnectBankFailure="Other Connections Connect Bank Failure",n.otherConnectionsConnectBankLink="Other Connections Connect Bank Link",n.otherConnectionConnectBankGetBalance="Other Connection Connect Bank Get Balance"}(t||(Rt.Event=t={})),Rt.EVENTS_WITHOUT_SUPER_PROPERTIES=new Set([t.signInClick,t.signInViaGoogleMicrosoft,t.signInViaEmail,t.signInLinkSent]),Rt}var Fs;function ed(){if(Fs)return _r;Fs=1,Object.defineProperty(_r,"__esModule",{value:!0}),_r.Analytics=void 0;const t=fc();class n{constructor(e){this.provider=e,this.superProperties={},this.userProperties={},this.userAndSuperProperties={}}static splitUserAndSuperProperties(e){const r={$distinct_id:e.$distinct_id??"",user_id:e.user_id??"",role_at_company:e.role_at_company??"",$email:e.$email??"",user_email_domain:e.user_email_domain??"",$first_name:e.$first_name??"",$last_name:e.$last_name??"",company_ids:e.company_ids??[],company_names:e.company_names??[],user_roles:e.user_roles??[],app_type:e.app_type??"web",app_version:e.app_version??"",app_short_version:e.app_short_version??"",profile_type:e.profile_type??void 0,chargebee_customer_id:e.chargebee_customer_id??"",is_zeni:e.is_zeni??void 0},i={appearance:e.appearance??void 0,company_id:e.company_id??"",company_name:e.company_name??"",user_role:e.user_role??[],tenant_id:e.tenant_id??"",tenant_email_domain:e.tenant_email_domain??""};return{userProperties:r,superProperties:i}}identify(e,r){const i=r??{};this.userAndSuperProperties=Object.assign({},this.userAndSuperProperties,i,{$distinct_id:e,profile_type:"user"});const s=n.splitUserAndSuperProperties(this.userAndSuperProperties);this.userProperties=s.userProperties,this.superProperties=s.superProperties,this.provider.identify(e,this.userProperties)}identifyUserAndCompany(e,r,i,s,o){const c=s??{};this.userAndSuperProperties=Object.assign({},this.userAndSuperProperties,c,{$distinct_id:e==="company"?i:r,user_id:r,company_id:i,profile_type:e});const u=n.splitUserAndSuperProperties(this.userAndSuperProperties);this.userProperties=u.userProperties,this.superProperties=u.superProperties,this.provider.identifyUserAndCompany(e,r,i,this.userProperties,o)}resetUserIdentity(){console.warn("Resetting user identity"),this.superProperties={},this.userProperties={},this.userAndSuperProperties={},this.provider.reset()}track(e){this.fireTrack(e)}trackLogin(e,r,i,s,o){this.fireTrack(e,{login_type:r,customer_type:i,utm_source:s,utm_medium:o})}trackSignInClick(e){const i={login_type:e.charAt(0).toUpperCase()+e.slice(1)};this.fireTrack(t.Event.signInClick,i)}trackSignInViaGoogleMicrosoft(){this.fireTrack(t.Event.signInViaGoogleMicrosoft)}trackSignInViaEmail(){this.fireTrack(t.Event.signInViaEmail)}trackSignInLinkSent(){this.fireTrack(t.Event.signInLinkSent)}trackError(e,r,i,s){this.fireTrack(e,{error_referrer:r,error_description:i,error_code:s})}trackSidePanelClicked(e,r){this.fireTrack(t.Event.sidePanelClicked,{sidepanel_click_type:e,sidepanel_click_group_type:r})}trackLogout(e){this.fireTrack(e)}trackPageLoaded(e,r,i){this.fireTrack(e,{referrer_card:r,customer_type:i})}trackTransactionList(e,r,i,s,o,c){this.fireTrack(t.Event.transactionList,{account_id:e,account_name:r,referrer_card:i,referrer_account:s,referrer_account_group:o,load_more:c})}trackTransactionDetails(e,r,i,s,o,c,u,l,d,f,m){this.fireTrack(t.Event.transactionDetails,{account_id:e,account_name:r,transaction_id:i,transaction_name:s,category:o,class:c,transaction_type:u,transaction_amount:l,transaction_memo:d,line_item_count:f,receipt_file_names:m})}trackCompareMode(e,r,i){this.fireTrack(t.Event.compareMode,{is_turned_on:e,referrer_card:r,graph_filter:i})}trackCompareFilterChange(e,r,i,s){this.fireTrack(t.Event.compareFilterChange,{value:e,referrer_card:r,graph_filter:i,clicked_on:s})}trackCompareFilterTimeFrame(e,r,i,s){this.fireTrack(t.Event.compareFilterTimeframe,{referrer_card:e,graph_filter:r,clicked_on:i,value:s})}trackDateRangeFilterChange(e,r,i,s,o){this.fireTrack(t.Event.dateRangeFilter,{parent_card:e,clicked_on:r,compare_mode:i,value:s,bar_name:o})}trackTimeframeSwitch(e,r,i){this.fireTrack(t.Event.timeframeSwitch,{value:e,parent_card:r,referrer_card:i})}trackGraphBar(e,r,i,s){this.fireTrack(t.Event.graphBar,{referrer_card:e,graph_filter:r,compare_mode:i,bar_name:s})}trackInviteSent(e,r,i){this.fireTrack(t.Event.inviteSent,{role:e,count:r,emails:i})}trackRoleChanged(e,r,i){this.fireTrack(t.Event.roleChanged,{old_role:e,new_role:r,member_email:i})}trackRemoveUserAccess(e,r){this.fireTrack(t.Event.removeUserAccess,{role:e,member_email:r})}trackResendInvite(e,r){this.fireTrack(t.Event.resendInvite,{role:e,member_email:r})}trackCompanySwitch(e,r,i){this.fireTrack(t.Event.companySwitch,{new_company_id:e,new_company_name:r,new_user_role:i})}trackDownload(e,r,i,s){this.fireTrack(t.Event.download,{referrer_card:e,graph_filter:r,file_type:i,compare_mode:s})}trackSpendIncomeTrendForTransaction(e,r,i,s,o,c,u,l,d,f){this.fireTrack(e,{referrer_card:r,transaction_id:i,transaction_type:s,transaction_name:o,account_ids:c,account_names:u,class_ids:l,class_names:d,bar_name:f})}trackSpendIncomeTrend(e,r,i,s,o){this.fireTrack(e,{referrer_card:r,bar_name:o,entity_name:s,entity_type:i})}trackSearch(e,r,i,s,o){this.fireTrack(e,{referrer_card:r,entity_type:i,entity_name:s,search_term:o})}trackTransactionDetailReceipt(e,r,i,s,o,c,u){this.fireTrack(e,{attachment_id:r,transaction_id:i,transaction_name:s,transaction_type:o,account_ids:c,account_names:u})}trackTransactionDetailReceiptUpload(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.transactionDetailReceiptAdded,{account_id:e,account_name:r,transaction_id:i,transaction_name:s,transaction_type:o,transaction_memo:c,file_name:u,file_type:l})}trackCardStatementCloseDate(e,r,i,s,o){this.fireTrack(e,{referrer_card:s,account_id:r,account_name:i,value:o})}trackReportGenerated(e,r,i,s,o,c,u,l){const d={report_id:e,file_type:r,time_taken_rest_api:i,time_taken_data_transform:s,time_taken_rendering:o,time_taken_total:c};Object.assign(d,u!=null?{time_taken_pdf_merge:u}:{}),Object.assign(d,l!=null?{time_taken_sub_report_total_max:l}:{}),this.fireTrack(t.Event.reportGenerated,d)}trackInsightsNavigation(e,r){this.fireTrack(e,{referrer_view:r})}trackForecast(){this.fireTrack(t.Event.forecast)}trackForecastSwitch(e,r){this.fireTrack(t.Event.forecastSwitch,{parent_card:e,forecast_name:r})}trackForecastVsActualMode(e,r,i){this.fireTrack(t.Event.forecastVsActualMode,{parent_card:e,forecast_name:r,is_turned_on:i})}trackSpendManagmentFilterClick(e){switch(e){case"bill_pay":{this.fireTrack(t.Event.billPayFilterClick);break}case"reimbursement":{this.fireTrack(t.Event.reimbursementFilterClick);break}}}trackSpendManagmentFilterChange(e,r){switch(e){case"bill_pay":{this.fireTrack(t.Event.billPayFilterChange,{filter_categories:r});break}case"reimbursement":{this.fireTrack(t.Event.reimbursementFilterChange,{filter_categories:r});break}}}trackSpendManagementDownloadClick(e){switch(e){case"bill_pay":{this.fireTrack(t.Event.billPayDownloadClick);break}case"reimbursement":{this.fireTrack(t.Event.reimbursementDownloadClick);break}}}trackBillPayPrivacyPolicy(){this.fireTrack(t.Event.billPayPrivacyPolicy)}trackBillPayAgreement(){this.fireTrack(t.Event.billPayAgreement)}trackReimbursementPrivacyPolicy(){this.fireTrack(t.Event.reimbursementPrivacyPolicy)}trackReimbursementAgreement(){this.fireTrack(t.Event.reimbursementAgreement)}trackReimbursementMileageRateSave(e){const r={mileage_unit_amount:e};this.fireTrack(t.Event.reimbursementMileageRateSave,r)}trackReimbursementMileageRateEdit(){this.fireTrack(t.Event.reimbursementMileageRateEdit)}trackReimbursementPromoScheduleDemo(){this.fireTrack(t.Event.reimbursementPromoSchedule)}trackReimbursementPromoVideo(){this.fireTrack(t.Event.reimbursementPromoVideo)}trackBillPayPromoScheduleDemo(){this.fireTrack(t.Event.billPayPromoSchedule)}trackBillPayPromoVideo(){this.fireTrack(t.Event.billPayPromoVideo)}trackBillPayTaskCard(e){const r={count:e};this.fireTrack(t.Event.billPayTaskCard,r)}trackBillPayCard(e,r){const i={transaction_amount:r,bill_pay_tab_subtab:e};this.fireTrack(t.Event.billPayCard,i)}trackReimbursementCard(e,r){const i={transaction_amount:r,reimbursement_tab_subtab:e};this.fireTrack(t.Event.reimbursementCard,i)}trackReimbursementTaskCard(e){const r={count:e};this.fireTrack(t.Event.reimbursementTaskCard,r)}trackOnboardingConnectQBO(){this.fireTrack(t.Event.onboardingQBOConnect)}trackOnboardingSaveQBOConnection(e,r){const i={qbo_realm_id:e,qbo_connection_id:r};this.fireTrack(t.Event.onboardingSaveQBOConnection,i)}trackOnboardingClickUpdatePaymentDetails(e,r){const i={payment_method:e,customer_type:r};this.fireTrack(t.Event.onboardingClickUpdatePaymentDetails,i)}trackOnboardingCurrentStep(e,r){const i={onboarding_current_step:e,onboarding_previous_step:r};this.fireTrack(t.Event.onboardingActiveStep,i)}trackOnboardingBankAccountPendingVerification(e,r){const i={verification_type:e,plaid_session_id:r};this.fireTrack(t.Event.onboardingBankAccountPendingVerification,i)}trackOnboardingBankAccountVerified(e){const r={verification_type:e};this.fireTrack(t.Event.onboardingBankAccountVerified,r)}trackOnboardingBillingAddress(e){const r={billing_address_field:e};this.fireTrack(t.Event.onboardingBillingAddress,r)}trackOnboardingBillingAddressSave(e){const r={address:{street:e.street,suite:e.suite,city:e.city,state:e.state,country:e.country,postal_code:e.postalCode,secondary_info:e.secondaryInfo}};this.fireTrack(t.Event.onboardingBillingAddressSave,r)}trackOnboardingBack(e,r){const i={onboarding_current_step:e,onboarding_previous_step:r};this.fireTrack(t.Event.onboardingBack,i)}trackOnboardingNext(e,r){const i={onboarding_current_step:r,onboarding_previous_step:e};this.fireTrack(t.Event.onboardingNext,i)}trackSaveAddressClicked(e,r){const i={address:{street:r?.street??"",suite:r?.suite??"",city:r?.city??"",state:r?.state??"",country:r?.country??"",postal_code:r?.postalCode??"",secondary_info:r?.secondaryInfo??""}};this.fireTrack(e,i)}trackOnboardingCompanyOfficerSave(e,r,i){const s={company_officer_email:e.email,company_officer_birthday:e.birthday,company_officer_ownership:e.companyOwnership,company_officer_first_name:e.firstName,company_officer_last_name:e.lastName,company_officer_role:e.companyRole,company_officer_document_type_for_verification:e.documentTypeForVerification,company_officer_phone:e.phone,company_officer_address:e.formattedAddress,company_legal_name:r.legalName,completed_fields:i?.completedFields??[],completed_fields_status:i?.status??"not_started"};this.fireTrack(t.Event.onboardingCompanyOfficerSave,s)}trackOnboardingCompanyDetailsSave(e,r,i){const s={company_description:e.companyDescription,company_legal_name:e.legalName,company_industry:e.industry,company_phone:e.phone,company_website:e.website,company_address:e.formattedAddress,inc_date:e.incDate,primary_contact_first_name:i.firstName,primary_contact_last_name:i.lastName,primary_contact_email:i.email,completed_fields:r.completedFields,completed_fields_status:r.status};this.fireTrack(t.Event.onboardingCompanyDetailsSave,s)}trackOnboardingDashboardActivation(e){const r={time_since_quote_sign:e.timeSinceQuoteSign,time_since_quote_sign_in_minutes:e.timeSinceQuoteSignInMinutes,is_kyc_done:e.isKycDone,is_kyb_done:e.isKybDone,payment_type:e.paymentType,payment_source:e.paymentSource,qbo_connection_source:e.qboConnectionSource};this.fireTrack(t.Event.onboardingDashboardActivation,r)}trackOnboardingNewCustomerStarted(){this.fireTrack(t.Event.onboardingNewCustomerStarted)}trackOnboardingNewCustomerGroupCreationCheck(e,r){const i={company_email_domain:e.companyEmailDomain,primary_contact_email:e.primaryContactEmail,group_name:r.groupName,group_email:r.groupEmail,group_description:r.groupDescription,is_company_email_domain_available:r.isCompanyEmailDomainAvailable};this.fireTrack(t.Event.onboardingNewCustomerGroupCreationCheck,i)}trackOnboardingQBOConnectionSelected(e){const r={first_name:e.firstName,last_name:e.lastName,customer_email:e.customerEmail};switch(e.isZeniOrCustomer){case"customer":this.fireTrack(t.Event.onboardingCustomerManagedQBOConnectionSelected,r);break;default:this.fireTrack(t.Event.onboardingZeniManagedQBOConnectionSelected,r);break}}trackOnboardingZeniManagedQBOConnection(e){const r={first_name:e.firstName,last_name:e.lastName,customer_email:e.customerEmail,qbo_connection_response_message:e.qboConnectionResponseMessage};e.isSuccess?this.fireTrack(t.Event.onboardingZeniManagedQBOConnectionSuccess,r):this.fireTrack(t.Event.onboardingZeniManagedQBOConnectionUnsuccess,r)}trackOnboardingSaveOrSendInvite(e,r,i,s){const o={company_domain:e.companyDomain,primary_contact_email:e.primaryContactEmail,group_name:r.groupName,group_email:r.groupEmail,group_description:r.groupDescription,first_name:i.firstName,last_name:i.lastName,customer_email:i.customerEmail,company_name:i.companyName,entitty_type:i.entittyType,qbo_realm_id:i.qboRealmId,hubspot_id:i.hubSpotId,chargebee_id:i.chargebeeId,products:i.products,is_zeni_managed_qbo_connection_selected:s.isZeniManagedQboConnectionSelected,is_customer_managed_qbo_connection_selected:s.isCustomerManagedQboConnectionSelected,qbo_connection_status:s.qboConnectionStatus};s.isSendInvite?s.isInviteAlreadySent?this.fireTrack(t.Event.onboardingResendInvite,o):this.fireTrack(t.Event.onboardingSendInvite,o):this.fireTrack(t.Event.onboardingSave,o)}trackOnboardingInterimCard(e){const r={card_click:e};this.fireTrack(t.Event.onboardingInterimCardClick,r)}trackOnboardingLandingPageCardClick(e){const r={card_click:e};this.fireTrack(t.Event.onboardingLandingPageCardClick,r)}trackBusinessVerificationSave(e,r,i,s,o){const c={company_officer_email:e.email,company_officer_birthday:e.birthday,company_officer_ownership:e.companyOwnership,company_officer_first_name:e.firstName,company_officer_last_name:e.lastName,company_officer_role:e.companyRole,company_officer_document_type_for_verification:e.documentTypeForVerification,company_officer_phone:e.phone,company_officer_address:e.formattedAddress,company_description:r.companyDescription,company_legal_name:r.legalName,company_industry:r.industry,company_phone:r.phone,company_website:r.website,company_address:r.formattedAddress,inc_date:r.incDate,primary_contact_first_name:i.firstName,primary_contact_last_name:i.lastName,primary_contact_email:i.email,referrer_card:o};switch(s){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsBusinessVerificationSave,c);break;case"reimbursement":this.fireTrack(t.Event.reimbursementBusinessVerificationSave,c);break;case"onboarding":this.fireTrack(t.Event.onboardingSkipAndSave,c);break;case"charge_cards":this.fireTrack(t.Event.cardsBusinessVerification,c);break;case"bill_pay":default:this.fireTrack(t.Event.billPayBusinessVerificationSave,c);break}}trackBusinessVerificationSend(e,r,i,s,o){const c={company_officer_email:e.email,company_officer_birthday:e.birthday,company_officer_ownership:e.companyOwnership,company_officer_first_name:e.firstName,company_officer_last_name:e.lastName,company_officer_role:e.companyRole,company_officer_document_type_for_verification:e.documentTypeForVerification,company_officer_phone:e.phone,company_officer_address:e.formattedAddress,company_description:r.companyDescription,company_legal_name:r.legalName,company_industry:r.industry,company_phone:r.phone,company_website:r.website,company_address:r.formattedAddress,inc_date:r.incDate,primary_contact_first_name:i.firstName,primary_contact_last_name:i.lastName,primary_contact_email:i.email,referrer_card:o};switch(s){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsBusinessVerificationSend,c);break;case"reimbursement":this.fireTrack(t.Event.reimbursementBusinessVerificationSend,c);break;case"charge_cards":this.fireTrack(t.Event.cardsBusinessVerificationSend,c);break;case"bill_pay":default:this.fireTrack(t.Event.billPayBusinessVerificationSend,c);break}}onboardingConnectBankEventsByEventSource(e,r){if(r!=null&&e!=null)switch(r){case"link_bank_account":this.fireTrack(t.Event.onboardingLinkBankAccount,{referrer_card:e});break;case"switch_to_bank_account":this.fireTrack(t.Event.onboardingSwitchToBankAccount,{referrer_card:e});break;case"link_new_bank_account":this.fireTrack(t.Event.onboardingLinkANewBankAccount,{referrer_card:e});break}}onboardingConnectBankEventsByEventSourceSuccess(e,r,i,s,o,c){if(c!=null&&o!=null)switch(c){case"link_bank_account":this.fireTrack(t.Event.onboardingLinkBankAccountSuccess,{referrer_card:o,plaid_session_id:e,plaid_account_id:r,is_micro_deposit_verification_done:i??!1,plaid_institution_name:s});break;case"switch_to_bank_account":this.fireTrack(t.Event.onboardingSwitchToBankAccountSuccess,{referrer_card:o,plaid_session_id:e,plaid_account_id:r,is_micro_deposit_verification_done:i??!1,plaid_institution_name:s});break;case"link_new_bank_account":this.fireTrack(t.Event.onboardingLinkANewBankAccountSuccess,{referrer_card:o,plaid_session_id:e,plaid_account_id:r,is_micro_deposit_verification_done:i??!1,plaid_institution_name:s});break}}onboardingConnectBankEventsByEventSourceFailure(e,r,i,s,o,c,u){if(u!=null&&c!=null)switch(u){case"link_bank_account":this.fireTrack(t.Event.onboardingLinkBankAccountFailure,{referrer_card:c,error_description:e,error_code:o,plaid_session_id:r,plaid_request_id:i,plaid_institution_name:s});break;case"switch_to_bank_account":this.fireTrack(t.Event.onboardingSwitchToBankAccountFailure,{referrer_card:c,error_description:e,error_code:o,plaid_session_id:r,plaid_request_id:i,plaid_institution_name:s});break;case"link_new_bank_account":this.fireTrack(t.Event.onboardingLinkANewBankAccountFailure,{referrer_card:c,error_description:e,error_code:o,plaid_session_id:r,plaid_request_id:i,plaid_institution_name:s});break}}onboardingCreditCardEventsConnectByEventSource(e,r){if(r!=null&&e!=null)switch(r){case"switch_to_credit_card":this.fireTrack(t.Event.onboardingSwitchToCreditCard,{referrer_card:e});break;case"link_new_credit_card":this.fireTrack(t.Event.onboardingLinkNewCard,{referrer_card:e});break;case"link_credit_card":this.fireTrack(t.Event.onboardingLinkCreditCard,{referrer_card:e});break}}onboardingCreditCardConnectEventsByEventSourceSuccess(e,r){if(r!=null&&e!=null)switch(r){case"switch_to_credit_card":this.fireTrack(t.Event.onboardingSwitchToCreditCardSuccess,{referrer_card:e});break;case"link_new_credit_card":this.fireTrack(t.Event.onboardingLinkNewCardSuccess,{referrer_card:e});break;case"link_credit_card":this.fireTrack(t.Event.onboardingLinkCreditCardSuccess,{referrer_card:e});break}}onboardingCreditCardConnectEventsByEventSourceFailure(e,r,i,s){if(s!=null&&i!=null)switch(s){case"switch_to_credit_card":this.fireTrack(t.Event.onboardingSwitchToCreditCardFailure,{referrer_card:i,error_description:e,error_code:r});break;case"link_new_credit_card":this.fireTrack(t.Event.onboardingLinkANewBankAccountFailure,{referrer_card:i,error_description:e,error_code:r});break;case"link_credit_card":this.fireTrack(t.Event.onboardingLinkCreditCardFailure,{referrer_card:i,error_description:e,error_code:r});break}}billingConnectBankEventsByEventSource(e,r){if(r!=null&&e!=null)switch(r){case"link_new_bank_account":this.fireTrack(t.Event.billingLinkNewBankAccount,{referrer_card:e});break;case"switch_to_bank_account":this.fireTrack(t.Event.billingSwitchToBankAccount,{referrer_card:e});break}}billingConnectBankEventsByEventSourceSuccess(e,r){if(r!=null&&e!=null)switch(r){case"link_new_bank_account":this.fireTrack(t.Event.billingLinkNewBankAccountSuccess,{referrer_card:e});break;case"switch_to_bank_account":this.fireTrack(t.Event.billingSwitchToBankAccountSuccess,{referrer_card:e});break}}billingConnectBankEventsByEventSourceFailure(e,r,i,s){if(s!=null&&i!=null)switch(s){case"link_new_bank_account":this.fireTrack(t.Event.billingLinkNewBankAccountFailure,{referrer_card:i,error_description:e,error_code:r});break;case"switch_to_bank_account":this.fireTrack(t.Event.billingSwitchToBankAccountFailure,{referrer_card:i,error_description:e,error_code:r});break}}billingConnectCreditCardEventsByEventSource(e,r){if(r!=null&&e!=null)switch(r){case"switch_to_credit_card":this.fireTrack(t.Event.billingSwitchToCreditCard,{referrer_card:e});break;case"link_new_credit_card":this.fireTrack(t.Event.billingLinkNewCard,{referrer_card:e});break}}billingConnectCreditCardEventsByEventSourceSuccess(e,r){if(r!=null&&e!=null)switch(r){case"switch_to_credit_card":this.fireTrack(t.Event.billingSwitchToCreditCardSuccess,{referrer_card:e});break;case"link_new_credit_card":this.fireTrack(t.Event.billingLinkNewCardSuccess,{referrer_card:e});break}}billingConnectCreditCardEventsByEventSourceFailure(e,r,i,s){if(s!=null&&i!=null)switch(s){case"switch_to_credit_card":this.fireTrack(t.Event.billingSwitchToCreditCardFailure,{referrer_card:i,error_description:e,error_code:r});break;case"link_new_credit_card":this.fireTrack(t.Event.billingLinkNewCardFailure,{referrer_card:i,error_description:e,error_code:r});break}}trackConnectBank(e,r,i){switch(e){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsConnectBank,{referrer_card:r});break;case"charge_cards":this.fireTrack(t.Event.cardsConnectBank,{referrer_card:r});break;case"reimbursement":this.fireTrack(t.Event.reimbursementConnectBank,{referrer_card:r});break;case"onboarding":this.onboardingConnectBankEventsByEventSource(r,i);break;case"billing":this.billingConnectBankEventsByEventSource(r,i);break;case"bill_pay":this.fireTrack(t.Event.billPayConnectBank,{referrer_card:r});break;case"other_connection":default:this.fireTrack(t.Event.otherConnectionConnectBank,{referrer_card:r});break}}trackConnectBankSuccess(e,r,i,s,o,c,u){switch(e){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsConnectBankSuccess,{referrer_card:r});break;case"charge_cards":this.fireTrack(t.Event.cardsConnectBankSuccess,{referrer_card:r});break;case"reimbursement":this.fireTrack(t.Event.reimbursementConnectBankSuccess,{referrer_card:r});break;case"onboarding":this.onboardingConnectBankEventsByEventSourceSuccess(s??null,o??null,c??null,u??null,r,i);break;case"billing":this.billingConnectBankEventsByEventSourceSuccess(r,i);break;case"bill_pay":this.fireTrack(t.Event.billPayConnectBankSuccess,{referrer_card:r});break;case"other_connection":default:this.fireTrack(t.Event.otherConnectionConnectBankSuccess,{referrer_card:r});break}}trackConnectBankFailure(e,r,i,s,o,c,u,l){switch(e){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsConnectBankFailure,{error_code:o,error_description:r,referrer_card:i});break;case"charge_cards":this.fireTrack(t.Event.cardsConnectBankFailure,{error_code:o,error_description:r,referrer_card:i});break;case"reimbursement":this.fireTrack(t.Event.reimbursementConnectBankFailure,{error_code:o,error_description:r,referrer_card:i});break;case"onboarding":this.onboardingConnectBankEventsByEventSourceFailure(r,c??null,u??null,l??null,o,i,s);break;case"billing":this.billingConnectBankEventsByEventSourceFailure(r,o,i,s);break;case"bill_pay":this.fireTrack(t.Event.billPayConnectBankFailure,{error_code:o,error_description:r,referrer_card:i});break;case"other_connection":default:this.fireTrack(t.Event.otherConnectionConnectBankFailure,{error_code:o,error_description:r,referrer_card:i});break}}trackCreditCardConnect(e,r,i){if(i!=null&&r!=null)switch(e){case"onboarding":this.onboardingCreditCardEventsConnectByEventSource(i,r);break;case"billing":this.billingConnectCreditCardEventsByEventSource(i,r);break}}trackCreditCardConnectSuccess(e,r,i){if(r!=null&&i!=null)switch(e){case"onboarding":this.onboardingCreditCardConnectEventsByEventSourceSuccess(r,i);break;case"billing":this.billingConnectCreditCardEventsByEventSourceSuccess(r,i);break}}trackCreditCardConnectFailure(e,r,i,s,o){if(i!=null&&s!=null)switch(e){case"onboarding":this.onboardingCreditCardConnectEventsByEventSourceFailure(r,o,i,s);break;case"billing":this.billingConnectCreditCardEventsByEventSourceFailure(r,o,i,s);break}}trackConnectBankLink(e,r,i,s){switch(i){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsConnectBankLink,{account_name:r,account_id:e,referrer_card:s});break;case"charge_cards":this.fireTrack(t.Event.cardsConnectBankLink,{account_name:r,account_id:e,referrer_card:s});break;case"reimbursement":this.fireTrack(t.Event.reimbursementConnectBankLink,{account_name:r,account_id:e,referrer_card:s});break;case"onboarding":this.fireTrack(t.Event.onboardingConnectBankLink,{account_name:r,account_id:e,referrer_card:s});break;case"bill_pay":this.fireTrack(t.Event.billPayConnectBankLink,{account_name:r,account_id:e,referrer_card:s});break;case"other_connection":default:this.fireTrack(t.Event.otherConnectionsConnectBankLink,{account_name:r,account_id:e,referrer_card:s});break}}trackConnectBankGetBalance(e,r){switch(e){case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsConnectBankGetBalance,{referrer_card:r});break;case"charge_cards":this.fireTrack(t.Event.cardsConnectBankGetBalance,{referrer_card:r});break;case"reimbursement":this.fireTrack(t.Event.reimbursementConnectBankGetBalance,{referrer_card:r});break;case"onboarding":this.fireTrack(t.Event.onboardingConnectBankGetBalance,{referrer_card:r});break;case"bill_pay":this.fireTrack(t.Event.billPayConnectBankGetBalance,{referrer_card:r});break;case"other_connection":default:this.fireTrack(t.Event.otherConnectionConnectBankGetBalance,{referrer_card:r});break}}trackNeedHelp(e){switch(e){case"onboarding":this.fireTrack(t.Event.onboardingNeedHelp,{});break;case"onboarding_interim":this.fireTrack(t.Event.onboardingInterimNeedHelp,{});break;case"onboarding_landing":this.fireTrack(t.Event.onboardingLandingNeedHelp,{});break;case"zeni_accounts":this.fireTrack(t.Event.zeniAccountsNeedHelp,{});break;case"charge_cards":this.fireTrack(t.Event.cardsNeedHelp,{});break;case"reimbursement":this.fireTrack(t.Event.reimbursementNeedHelp,{});break;case"bill_pay":default:this.fireTrack(t.Event.billPayNeedHelp,{});break}}trackAccountsListPageViewed(e,r,i,s,o){this.fireTrack(t.Event.accountsListPageViewed,{zeni_accounts_count:e,external_accounts_count:r,zeni_accounts_available_balance:i,total_yield_earned:s,current_average_yield:o})}trackAccountsListPageClicked(e,r,i){this.fireTrack(t.Event.accountsListPageClicked,{click_type:e,account_name:r,account_status:i})}trackAccountsPromoPageClicked(e){this.fireTrack(t.Event.accountsPromoPageClicked,{click_type:e})}trackTransferBetweenAccountsFormClicked(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.zeniAccountsTransferFormClicked,{click_type:e,current_screen:r,transfer_from_bank_name:i,transfer_to_bank_name:s,amount:o,is_split_transfer:c,split_days_count:u,APY_slider_moved:l})}trackAccountsDepositCheckFormClicked(e,r,i,s,o,c){this.fireTrack(t.Event.accountsDepositCheckFormClicked,{click_type:e,amount:r,source_of_deposit:i,deposited_to:s,front_photo:o,back_photo:c})}trackAccountsDepositCheckFormViewed(){this.fireTrack(t.Event.accountsDepositCheckFormViewed)}trackZeniTransferBetweenAccountsFormViewed(){this.fireTrack(t.Event.zeniAccountsTransferFormViewed)}trackEnableZeniAccounts(){this.fireTrack(t.Event.enableZeniAccounts)}trackZeniAccountsPromoCardClick(e,r){this.fireTrack(t.Event.zeniAccountsPromoCardClick,{card_position:e,click_type:r})}trackZeniAccountsCashBalancePromoClicked(e){this.fireTrack(t.Event.zeniAccountsCashBalancePromoClicked,{click_type:e})}trackPlgPromoClicked(e,r){this.fireTrack(t.Event.plgPromoActionTaken,{page_name:e,clicked_on:r})}getBaseCardProperties(e,r,i,s){return{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,credit_account_id:i?.creditAccountId,credit_account_limit:i?.creditAccountLimit,credit_account_available_amount:i?.creditAccountAvailableAmount,credit_account_spent_amount:i?.creditAccountSpentAmount,credit_account_status:i?.creditAccountStatus,credit_account_outstanding_balance:i?.outstandingBalance,deposit_account_id:s?.debitAccountId,deposit_account_name:s?.debitAccountName,deposit_account_balance:s?.debitAccountBalance,debit_cards_spend:s?.debitCardsSpend,deposit_account_status:s?.debitAccountStatus}}getBaseCardPropertiesWithCashback(e,r,i,s,o){return{...this.getBaseCardProperties(e,r,s,o),credit_card_cashback_offer:i?.creditCardCashbackOffer,debit_card_cashback_offer:i?.debitCardCashbackOffer,total_earned_cashback:i?.totalEarnedCashback,redeemed_cashback:i?.redeemedCashback,available_cashback:i?.availableCashback,credit_card_cashback_redemption_mode:i?.creditCardCashbackRedemptionMode,debit_card_cashback_redemption_mode:i?.debitCardCashbackRedemptionMode}}getPaymentSourceProperties(e){return{is_zeni_checking_enabled:e.isZeniCheckingEnabled,is_zeni_checking_payment_source:e.isZeniCheckingPaymentSource,credit_card_payment_source_account_name:e.creditCardPaymentSourceAccountName,credit_card_payment_source_account_type:e.creditCardPaymentSourceAccountType,credit_card_payment_source_last_four_digits:e.creditCardPaymentSourceLastFourDigits,credit_card_payment_source_balance:e.creditCardPaymentSourceBalance}}getCardPaymentProperties(e){return{payment_amount:e.paymentAmount,payment_account_name:e.paymentAccountName,payment_account_type:e.paymentAccountType,payment_account_last_four_digits:e.paymentAccountLastFourDigits,payment_complete_eta:e.paymentCompleteEta,payment_initiated_date:e.paymentInitiatedDate}}trackCardsPromoPageClicked(e){this.fireTrack(t.Event.cardsPromoPageClick,{cards_click_type:e})}trackCardsListPageClicked(e){this.fireTrack(t.Event.cardsListPageClick,{cards_click_type:e})}trackCardsNewCardFormClicked(e,r,i,s,o){this.fireTrack(t.Event.cardsIssueNewCardFormClick,{cards_click_type:o,card_owner:e,card_name:r,amount:s,frequency:i})}trackCardsListRowClicked(e,r,i,s,o,c,u){this.fireTrack(t.Event.cardsListRowClick,{card_owner:e,card_name:r,department:i,utilisation:s,limit:o,frequency:c,is_self_card:u})}trackCardsDetailPageViewed(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.cardsDetailPage,{card_id:e,is_self_card:l,card_owner:r,card_name:i,utilisation:s,limit:o,frequency:c,card_color:u})}trackCardsVerifyPopUpClick(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsVerifyPopUpClick,{cards_click_type:u,is_self_card:l,card_owner:r,card_name:i,utilisation:s,limit:o,frequency:c,card_id:e,selected_color:d})}trackCardsDetailPageClicked(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsDetailPageClick,{cards_click_type:u,is_self_card:l,card_owner:r,card_name:i,utilisation:s,limit:o,frequency:c,card_id:e,selected_color:d})}trackZeniCardsPromoCardClicked(e,r,i,s,o){this.fireTrack(t.Event.zeniCardsPromoCardClicked,{card_position:i,click_type:r,is_cards_setup:e,user_name:s,credit_limit:o??"NA"})}trackCardsSetupCardsClick(e,r,i){this.fireTrack(t.Event.cardsSetupCardsClick,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,page_name:i})}trackCardsPromoView(e,r,i,s,o){this.fireTrack(t.Event.cardsPromoView,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,promo_format:i,promo_product:s,page_name:o})}trackCardsEnableCardsClick(e,r,i){this.fireTrack(t.Event.cardsEnableCardsClick,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,page_name:i})}trackCardsScheduleDemoClick(e,r,i){this.fireTrack(t.Event.cardsScheduleDemoClick,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,page_name:i})}trackCardsCardListView(e,r,i,s,o){this.fireTrack(t.Event.cardsCardListView,{...this.getBaseCardPropertiesWithCashback(e,r,i,s,o)})}trackCardsCardListSearchClick(e,r,i,s,o){this.fireTrack(t.Event.cardsCardListSearchClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,s,o)})}trackCardsCardListMoreMenuClick(e,r,i,s,o){this.fireTrack(t.Event.cardsCardListMoreMenuClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,s,o)})}trackCardsSettingsClick(e,r,i,s,o){this.fireTrack(t.Event.cardsSettingsClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,s,o)})}trackCardsCardSetupView(e,r,i){this.fireTrack(t.Event.cardsCardSetupView,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,source:i})}trackCardsVerifyIdentityCompanyDetailsClick(e,r,i){this.fireTrack(t.Event.cardsVerifyIdentityCompanyDetailsClick,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,status:i})}trackCardsPaymentAccountChangeClick(e,r,i){this.fireTrack(t.Event.cardsPaymentAccountChangeClick,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,old_payment_account_name:i.oldPaymentAccountName,old_payment_account_balance:i.oldPaymentAccountBalance,new_payment_account_name:i.newPaymentAccountName,new_payment_account_balance:i.newPaymentAccountBalance,is_old_payment_account_recommended:i.isOldPaymentAccountRecommended,is_new_payment_account_recommended:i.isNewPaymentAccountRecommended,old_payment_account_position:i.oldPaymentAccountPosition,new_payment_account_position:i.newPaymentAccountPosition,number_of_payment_accounts:i.numberOfPaymentAccounts})}trackCardsZeniCashAccountChangeClick(e,r,i){this.fireTrack(t.Event.cardsZeniCashAccountChangeClick,{controller_emails:e,is_credit_card_offered:r.isCreditCardOffered,is_debit_card_offered:r.isDebitCardOffered,is_debit_card_enabled:r.isDebitCardEnabled,is_credit_card_enabled:r.isCreditCardEnabled,old_zeni_cash_account:i.oldZeniCashAccount,new_zeni_cash_account:i.newZeniCashAccount,old_zeni_cash_account_position:i.oldZeniCashAccountPosition,new_zeni_cash_account_position:i.newZeniCashAccountPosition,number_of_cash_accounts:i.numberOfCashAccounts})}trackCardsStatementsClick(e,r,i,s,o){this.fireTrack(t.Event.cardsStatementsClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,s,o)})}trackCardsCreditCardStatementsView(e,r,i,s,o){this.fireTrack(t.Event.cardsCreditCardStatementsView,{...this.getBaseCardProperties(e,r,s,o),number_of_statements:i.numberOfStatements,oldest_statement_month_year:i.oldestStatementMonthYear,latest_statement_month_year:i.latestStatementMonthYear})}trackCardsDownloadClick(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.cardsDownloadClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,u,l),page_name:o,position:c,file_category:s.fileCategory,file_type:s.fileType,file_name:s.fileName,file_month_year:s.fileMonthYear})}trackCardsNewCardClick(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.cardsNewCardClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,u,l),click_item:s,action:o,page_name:c})}trackCardsCashbackOverviewClick(e,r,i,s,o,c,u){this.fireTrack(t.Event.cardsCashbackOverviewClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,c,u),click_item:s,action:o})}trackCardsCardListRowClick(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsCardListRowClick,{...this.getBaseCardPropertiesWithCashback(e,r,u,l,d),click_item:i,action:s,position:o,card_name:c.cardName,card_owner:c.cardOwner,card_type:c.cardType,card_status:c.cardStatus,card_utilization_amount:c.cardUtilizationAmount,card_utilization_percent:c.cardUtilizationPercent,card_limit:c.cardLimit})}trackCardsCopyIconClick(e,r,i,s,o,c,u,l,d,f){this.fireTrack(t.Event.cardsCopyIconClick,{...this.getBaseCardPropertiesWithCashback(e,r,l,d,f),click_item:s,action:o,action_field:c,action_details:u,page_name:i})}trackCardsCardListSortClick(e,r,i,s,o,c,u,l,d,f){this.fireTrack(t.Event.cardsCardListSortClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,d,f),click_item:s,action:o,action_field:c,action_details:u,page_name:l})}trackCardsCardDetailView(e,r,i,s,o,c,u){this.fireTrack(t.Event.cardsCardDetailView,{...this.getBaseCardProperties(e,r,c,u),card_name:i.cardName,card_type:i.cardType,card_category:i.cardCategory,card_limit:i.cardLimit,card_last_four_digits:i.cardLastFourDigits,card_status:i.cardStatus,card_utilization_percent:i.cardUtilizationPercent,card_id:i.cardId,card_assigned_date:i.cardAssignedDate,card_issued_date:i.cardIssuedDate,card_activated_date:i.cardActivatedDate,card_limit_frequency:i.cardLimitFrequency,card_spent_amount:i.cardSpentAmount,card_available_limit:i.cardAvailableLimit,card_utilization_amount:i.cardUtilizationAmount,total_number_of_declined_transactions:i.totalNumberOfDeclinedTransactions,number_of_declined_transactions_current_month:i.numberOfDeclinedTransactionsCurrentMonth,total_number_of_paid_transactions:i.totalNumberOfPaidTransactions,number_of_paid_transactions_current_month:i.numberOfPaidTransactionsCurrentMonth,total_number_of_canceled_transactions:i.totalNumberOfCanceledTransactions,number_of_canceled_transactions_current_month:i.numberOfCanceledTransactionsCurrentMonth,total_number_of_authorized_transactions:i.totalNumberOfAuthorizedTransactions,number_of_authorized_transactions_current_month:i.numberOfAuthorizedTransactionsCurrentMonth,total_number_of_transactions_with_receipts:i.totalNumberOfTransactionsWithReceipts,number_of_transactions_with_receipts_current_month:i.numberOfTransactionsWithReceiptsCurrentMonth,card_issued_by_name:s.cardIssuedByName,card_issued_by_email:s.cardIssuedByEmail,card_issued_by_user_id:s.cardIssuedByUserId,card_issued_by_role:s.cardIssuedByRole,card_issued_by_department:s.cardIssuedByDepartment,cardholder_name:o.cardholderName,cardholder_email:o.cardholderEmail,cardholder_role:o.cardholderRole,cardholder_user_id:o.cardholderUserId,cardholder_department:o.cardholderDepartment})}trackCardsUpdateSpendLimitInitiated(e,r,i,s,o,c,u,l,d,f){this.fireTrack(t.Event.cardsUpdateSpendLimitInitiated,{...this.getBaseCardProperties(e,r,d,f),card_name:i.cardName,card_type:i.cardType,card_category:i.cardCategory,card_limit:i.cardLimit,card_last_four_digits:i.cardLastFourDigits,card_status:i.cardStatus,card_utilization_amount:i.cardUtilizationAmount,card_utilization_percent:i.cardUtilizationPercent,card_id:i.cardId,card_assigned_date:i.cardAssignedDate,card_issued_date:i.cardIssuedDate,card_activated_date:i.cardActivatedDate,card_limit_frequency:i.cardLimitFrequency,card_spent_amount:i.cardSpentAmount,card_available_limit:i.cardAvailableLimit,total_number_of_declined_transactions:i.totalNumberOfDeclinedTransactions,number_of_declined_transactions_current_month:i.numberOfDeclinedTransactionsCurrentMonth,total_number_of_paid_transactions:i.totalNumberOfPaidTransactions,number_of_paid_transactions_current_month:i.numberOfPaidTransactionsCurrentMonth,total_number_of_canceled_transactions:i.totalNumberOfCanceledTransactions,number_of_canceled_transactions_current_month:i.numberOfCanceledTransactionsCurrentMonth,total_number_of_authorized_transactions:i.totalNumberOfAuthorizedTransactions,number_of_authorized_transactions_current_month:i.numberOfAuthorizedTransactionsCurrentMonth,total_number_of_transactions_with_receipts:i.totalNumberOfTransactionsWithReceipts,number_of_transactions_with_receipts_current_month:i.numberOfTransactionsWithReceiptsCurrentMonth,card_issued_by_name:s.cardIssuedByName,card_issued_by_email:s.cardIssuedByEmail,card_issued_by_user_id:s.cardIssuedByUserId,card_issued_by_role:s.cardIssuedByRole,card_issued_by_department:s.cardIssuedByDepartment,cardholder_name:o.cardholderName,cardholder_email:o.cardholderEmail,cardholder_role:o.cardholderRole,cardholder_user_id:o.cardholderUserId,cardholder_department:o.cardholderDepartment,page_name:c,source:u,recommended_limits:l})}trackCardsUpdateSpendLimitClick(e,r,i,s,o,c,u,l,d,f,m,_,g){this.fireTrack(t.Event.cardsUpdateSpendLimitClick,{...this.getBaseCardProperties(e,r,_,g),card_name:i.cardName,card_type:i.cardType,card_category:i.cardCategory,card_limit:i.cardLimit,card_last_four_digits:i.cardLastFourDigits,card_status:i.cardStatus,card_utilization_amount:i.cardUtilizationAmount,card_utilization_percent:i.cardUtilizationPercent,card_id:i.cardId,card_assigned_date:i.cardAssignedDate,card_issued_date:i.cardIssuedDate,card_activated_date:i.cardActivatedDate,card_limit_frequency:i.cardLimitFrequency,card_spent_amount:i.cardSpentAmount,card_available_limit:i.cardAvailableLimit,total_number_of_declined_transactions:i.totalNumberOfDeclinedTransactions,number_of_declined_transactions_current_month:i.numberOfDeclinedTransactionsCurrentMonth,total_number_of_paid_transactions:i.totalNumberOfPaidTransactions,number_of_paid_transactions_current_month:i.numberOfPaidTransactionsCurrentMonth,total_number_of_canceled_transactions:i.totalNumberOfCanceledTransactions,number_of_canceled_transactions_current_month:i.numberOfCanceledTransactionsCurrentMonth,total_number_of_authorized_transactions:i.totalNumberOfAuthorizedTransactions,number_of_authorized_transactions_current_month:i.numberOfAuthorizedTransactionsCurrentMonth,total_number_of_transactions_with_receipts:i.totalNumberOfTransactionsWithReceipts,number_of_transactions_with_receipts_current_month:i.numberOfTransactionsWithReceiptsCurrentMonth,card_issued_by_name:s.cardIssuedByName,card_issued_by_email:s.cardIssuedByEmail,card_issued_by_user_id:s.cardIssuedByUserId,card_issued_by_role:s.cardIssuedByRole,card_issued_by_department:s.cardIssuedByDepartment,cardholder_name:o.cardholderName,cardholder_email:o.cardholderEmail,cardholder_role:o.cardholderRole,cardholder_user_id:o.cardholderUserId,cardholder_department:o.cardholderDepartment,click_item:u,current_limit:l,new_limit:m,recommended_limits:d,was_recommended_limit_selected:f,card_limit_updated_by_name:c.cardLimitUpdatedByName,card_limit_updated_by_email:c.cardLimitUpdatedByEmail,card_limit_updated_by_role:c.cardLimitUpdatedByRole,card_limit_updated_by_user_id:c.cardLimitUpdatedByUserId})}trackCardsAddToWalletClick(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsAddToWalletClick,{...this.getBaseCardProperties(e,r,l,d),card_id:i.cardId,card_name:i.cardName,card_type:i.cardType,card_category:i.cardCategory,card_limit:i.cardLimit,card_last_four_digits:i.cardLastFourDigits,card_status:i.cardStatus,card_assigned_date:i.cardAssignedDate,card_issued_date:i.cardIssuedDate,card_limit_frequency:i.cardLimitFrequency,card_issued_by_name:s.cardIssuedByName,card_issued_by_email:s.cardIssuedByEmail,card_issued_by_user_id:s.cardIssuedByUserId,card_issued_by_role:s.cardIssuedByRole,card_issued_by_department:s.cardIssuedByDepartment,cardholder_name:o.cardholderName,cardholder_email:o.cardholderEmail,cardholder_role:o.cardholderRole,cardholder_user_id:o.cardholderUserId,cardholder_department:o.cardholderDepartment,page_name:c,click_item:u})}trackCardsPayEarlyClick(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsPayEarlyClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,l,d),...this.getPaymentSourceProperties(u),click_item:c,page_name:s,source:o})}trackCardsPayEarlyFormView(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsPayEarlyFormView,{...this.getBaseCardPropertiesWithCashback(e,r,i,l,d),...this.getPaymentSourceProperties(u),is_autopay_selected:o,payment_amount:c,page_name:s})}trackCardsPayEarlyFormClick(e,r,i,s,o,c,u,l,d){this.fireTrack(t.Event.cardsPayEarlyFormClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,l,d),...this.getPaymentSourceProperties(u),is_autopay_selected:o,...this.getCardPaymentProperties(c),click_item:s})}trackCardsPayEarlyPayNowClick(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.cardsPayEarlyPayNowClick,{...this.getBaseCardPropertiesWithCashback(e,r,i,u,l),...this.getPaymentSourceProperties(c),is_autopay_selected:s,...this.getCardPaymentProperties(o)})}trackEnableBillPay(){this.fireTrack(t.Event.enableBillPay)}trackEnableReimbursement(){this.fireTrack(t.Event.enableReimbursement)}trackUploadInvoice(e,r,i){switch(r){case"w9":this.fireTrack(t.Event.vendor1099W9DocumentUpload,{invoice_upload_method:e,vendor_legal_name:i??""});break;case"reimbursement":this.fireTrack(t.Event.reimbursementInvoiceUpload,{invoice_upload_method:e});break;case"bill_pay":default:this.fireTrack(t.Event.billPayInvoiceUpload,{invoice_upload_method:e});break}}trackInvoiceActionClick(e,r,i,s){this.fireTrack(t.Event.billPayInvoiceActionClick,{bill_stage:e,action_clicked:r,user_name:i,override_data_click:s})}trackBillPaySkipAutofill(){this.fireTrack(t.Event.billPaySkipAutofill)}trackReimbursementSkipAutofill(){this.fireTrack(t.Event.reimbursementSkipAutofill)}trackBillPayNewBill(){this.fireTrack(t.Event.billPayNewBill)}trackReimbursementNewReimbursement(){this.fireTrack(t.Event.reimbursementNewReimbursement)}trackBillPayEditBill(e,r){this.fireTrack(t.Event.billPayEditBill,{bill_id:e,is_recurring_bill:r})}trackReimbursementEditReimbursement(e){this.fireTrack(t.Event.reimbursementEditReimbursement,{reimbursement_id:e})}trackBillPayBillDetails(e,r){this.fireTrack(t.Event.billPayBillDetails,{bill_id:e,is_recurring_bill:r})}trackReimbursementReimbursementDetails(e){this.fireTrack(t.Event.reimbursementReimbursementDetails,{reimbursement_id:e})}trackBillPayReviewBill(e,r,i,s,o,c,u,l,d,f,m,_,g,p){const v={final_vendor_name:c,zeni_rec_vendor_name:u,document_ai_rec_vendor_name:l,bill_id:d,invoice_number:f,invoice_date:r,bill_due_date:m,memo:_,currency:i,collect_from_vendor:s,international_transfer_fee_bearer_payment_method:g,is_recurring_bill:o,payment_method:e};o&&p!=null&&(v.recurring_bill_config={bill_value:p.totalAmount,start_date:p.startDate,end_date:p.endDate,frequency:p.frequency,total_payment_cycles:p.totalPaymentCycles,is_approval_required:p.isApprovalRequired}),this.fireTrack(t.Event.billPayReviewBill,v)}trackReimbursementSubmitReimbursement(e,r,i,s){this.fireTrack(t.Event.reimbursementSubmitReimbursement,{create_date:e,currency:r,total_amount:i,reimbursement_id:s})}trackBillPaySendForApproval(e,r,i,s,o,c,u){const l={bill_id:o,payment_method:e,scheduled_date:r,collect_from_vendor:i,international_transfer_fee_bearer_payment_method:c,is_recurring_bill:s};s&&u!=null&&(l.recurring_bill_config={bill_value:u.totalAmount,start_date:u.startDate,end_date:u.endDate,frequency:u.frequency,total_payment_cycles:u.totalPaymentCycles,is_approval_required:u.isApprovalRequired,is_update_current_bill:u.updateCurrentBill,is_update_future_bills:u.updateFutureRecurringBills}),this.fireTrack(t.Event.billPaySendForApproval,l)}trackBillPayDeleteBill(e,r){this.fireTrack(t.Event.billPayDeleteBill,{bill_id:e,is_recurring_bill:r})}trackBillPayCancelBill(e){this.fireTrack(t.Event.billPayCancelBill,{bill_id:e})}trackBillPayCancelAndDeleteBill(e,r){this.fireTrack(t.Event.billPayCancelAndDeleteBill,{bill_id:e,is_recurring_bill:r})}trackReimbursementListSort(e,r){this.fireTrack(t.Event.reimbursementListSort,{sort_key:e,sort_order:r})}trackReimbursementDeleteReimbursement(e){this.fireTrack(t.Event.reimbursementDeleteReimbursement,{reimbursement_id:e})}trackReimbursementCancelReimbursement(e){this.fireTrack(t.Event.reimbursementCancelReimbursement,{reimbursement_id:e})}trackReimbursementCancelAndDeleteReimbursement(e){this.fireTrack(t.Event.reimbursementCancelAndDeleteReimbursement,{reimbursement_id:e})}trackReimbursementDeleteReimbursementLine(e,r){this.fireTrack(t.Event.reimbursementDeleteReimbursementLine,{reimbursement_id:r,line_id:e})}trackReimbursementSubmitAnywayDuplicateReimbursement(e,r){this.fireTrack(t.Event.reimbursementSubmitAnywayDuplicateReimbursement,{reimbursement_id:r,number_of_duplicate_expenses:e})}trackReimbursementViewDuplicateExpense(e,r){this.fireTrack(t.Event.reimbursementViewDuplicateExpense,{reimbursement_id:r,is_duplicate_within_transaction:e})}trackReimbursementReviewDuplicateReportReimbursement(e,r){this.fireTrack(t.Event.reimbursementReviewDuplicateReportReimbursement,{reimbursement_id:r,number_of_duplicate_expenses:e})}trackReimbursementBulkSelectAll(e,r,i){this.fireTrack(t.Event.reimbursementBulkSelectAll,{report_stage:e,report_status:r,report_type:i})}trackReimbursementBulkDeleted(e,r,i,s){this.fireTrack(t.Event.reimbursementBulkDeleted,{total_reports_deleted:e,report_stage:r,report_status:i,report_type:s})}trackReimbursementBulkSubmit(e,r,i){this.fireTrack(t.Event.reimbursementBulkSubmit,{operation_type:e,report_stage:r,report_status:i})}trackReimbursementBulkSelection(e,r,i,s){this.fireTrack(t.Event.reimbursementBulkSelection,{total_reports_selected:e,report_stage:r,report_status:i,report_type:s})}trackReimbursementBulkPopupConfirm(e,r,i,s){this.fireTrack(t.Event.reimbursementBulkPopupConfirm,{operation_type:e,report_stage:r,report_status:i,report_type:s})}trackBillPayNewVendor(e,r,i,s,o,c,u){this.fireTrack(t.Event.billPayNewVendor,{vendor_name:e,vendor_category:r,vendor_class_name:i,vendor_type:s,vendor_contact_email:o,venfor_contact_name:c,vendor_contact_phone:u})}trackBillPayEditVendor(e){this.fireTrack(t.Event.billPayEditVendor,{vendor_id:e})}trackBillPayExpandVendor(e){this.fireTrack(t.Event.billPayExpandVendor,{vendor_id:e})}trackBillPayChooseNewVendor(){this.fireTrack(t.Event.billPayChooseNewVendor)}trackBillPayCreateNewVendorFromRecDropdown(e){this.fireTrack(t.Event.billPayCreateNewVendorFromDropdown,{vendor_name:e})}trackBillPayMagicLinkPreviewEmail(e){this.fireTrack(t.Event.billPayMagicLinkPreviewEmail,{on_page:e})}trackBillPayMagicLinkSubmitBankAccountDetails(e){this.fireTrack(t.Event.billPayMagicLinkSubmitBankAccountDetails,{bill_id:e})}trackBillPayMagicLinkPageLoad(e,r,i,s,o,c,u){this.fireTrack(t.Event.billPayMagicLinkPageLoad,{tenant_email_domain:e,vendor_id:r,company_name:i,bill_id:s,payment_method:o,currency:c,total_amount:u})}trackBillPayAutoDateChange(e){this.fireTrack(t.Event.billPayAutoDateChange,{bill_id:e})}trackBillPayBulkSelectAll(e,r,i){this.fireTrack(t.Event.billPayBulkSelectAll,{bill_stage:e,bill_status:r,bill_type:i})}trackBillPayBulkDeleted(e,r,i,s){this.fireTrack(t.Event.billPayBulkDeleted,{total_bills_deleted:e,bill_stage:r,bill_status:i,bill_type:s})}trackBillPayBulkSubmit(e,r,i){this.fireTrack(t.Event.billPayBulkSubmit,{operation_type:e,bill_stage:r,bill_status:i})}trackBillPayBulkSelection(e,r,i,s){this.fireTrack(t.Event.billPayBulkSelection,{total_bills_selected:e,bill_stage:r,bill_status:i,bill_type:s})}trackBillPayBulkPopupConfirm(e,r,i,s){this.fireTrack(t.Event.billPayBulkPopupConfirm,{operation_type:e,bill_stage:r,bill_status:i,bill_type:s})}trackBillPayMarkAsPaid(e,r){this.fireTrack(t.Event.billPayMarkAsPaid,{bill_stage:e,bill_status:r})}trackBillPayMarkAsPaidSubmit(e,r,i){this.fireTrack(t.Event.billPayMarkAsPaidSubmit,{payment_mode:e,bill_stage:r,bill_status:i})}trackGroupBySwitch(e,r){this.fireTrack(t.Event.groupBySwitch,{view:e,parent_card:r})}trackUpdateBurnRateCalculatorSettings(e,r,i){this.fireTrack(t.Event.burnRateCalculatorSettings,{accounting_method:e,time_span_id_for_avg_net_burn:r,number_of_months_for_average:i})}trackTransactionDetailsSave(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.transactionDetailsSave,{account_id:e,account_name:r,transaction_id:i,transaction_name:s,transaction_type:o,changed_line_item_count:c,transaction_memo:u,receipt_file_names:l})}trackVendorList(e,r,i,s,o){this.fireTrack(t.Event.vendorList,{vendor_count:i,sort_key:s,spend_trend_key:o,current_tab:e,previous_tab:r})}trackVendorListSort(e,r,i){this.fireTrack(t.Event.vendorListSort,{vendor_count:e,sort_key:r,spend_trend_key:i})}trackVendorListSearch(e){this.fireTrack(t.Event.vendorListSearch,{search_term:e})}trackVendorListSpendTrendSelection(e,r,i){this.fireTrack(t.Event.vendorListSpendTrendSelection,{vendor_count:e,sort_key:r,spend_trend_key:i})}trackVendorDetails(e,r,i,s,o,c,u,l,d,f){this.fireTrack(t.Event.vendorDetails,{vendor_id:e,vendor_name:r,referrer_card:i,vendor_category:s,vendor_class_name:o,spend_trend_indicator_value:u,vendor_spend_last_30days:l,vendor_spend_last_90days:d,vendor_spend_ytd:f,vendor_owner:c})}trackVendorDetailsSave(e,r,i,s,o,c,u,l,d,f,m,_){this.fireTrack(t.Event.vendorDetailsSave,{vendor_id:e,vendor_name:r,vendor_category:i,vendor_class_name:s,vendor_owner:o,saved_vendor_category:c,saved_vendor_class:u,saved_vendor_owner:l,is_recommended_category_selected:d,is_recommended_class_selected:f,category_recommendation_used:m,class_recommendation_used:_})}trackVendorDetailsCancel(e,r,i,s,o){this.fireTrack(t.Event.vendorDetailsCancel,{vendor_id:e,vendor_name:r,vendor_category:i,vendor_class_name:s,vendor_owner:o})}trackVendorDetailsSpendTrendHotlinkClicked(e,r,i,s,o){this.fireTrack(t.Event.vendorDetailsSpendTrendHotlinkClicked,{vendor_id:e,vendor_name:r,vendor_category:i,vendor_class_name:s,vendor_owner:o})}trackAgingReportDownloadClick(e,r,i){this.fireTrack(t.Event.download,{referrer_card:e,sort_key:r,sort_order:i})}trackAgingReportDateChange(e,r,i,s){this.fireTrack(t.Event.agingReportDateChange,{referrer_card:e,current_report_date:r,new_report_date:i,new_report_date_selection:s})}trackAgingReportSortChange(e,r,i){this.fireTrack(t.Event.sort,{referrer_card:e,sort_key:r,sort_order:i})}trackApAgingDetail(e,r,i,s){this.fireTrack(t.Event.apAgingDetail,{referrer_card:e,vendor_id:i,vendor_name:s,current_report_date:r})}trackArAgingDetail(e,r,i,s){this.fireTrack(t.Event.arAgingDetail,{referrer_card:e,customer_id:i,customer_name:s,current_report_date:r})}trackApAgingDetailReportSortChange(e,r,i,s,o){this.fireTrack(t.Event.sort,{referrer_card:"AP Aging Detail",sort_key:e,sort_order:r,vendor_id:s,vendor_name:o,current_report_date:i})}trackArAgingDetailReportSortChange(e,r,i,s,o){this.fireTrack(t.Event.sort,{referrer_card:"AR Aging Detail",sort_key:e,sort_order:r,customer_id:s,customer_name:o,current_report_date:i})}trackApAgingDetailReportDownload(e,r,i,s,o){this.fireTrack(t.Event.download,{referrer_card:"AP Aging Detail",sort_key:e,sort_order:r,vendor_id:s,vendor_name:o,current_report_date:i})}trackArAgingDetailReportDownload(e,r,i,s,o){this.fireTrack(t.Event.download,{referrer_card:"AR Aging Detail",sort_key:e,sort_order:r,customer_id:s,customer_name:o,current_report_date:i})}trackVendorReviewPage(e,r){this.fireTrack(t.Event.vendorReviewList,{vendor_review_source:e,vendor_review_count_total:r})}trackVendorReviewApproveRequested({reviewSource:e,tenantName:r,requestedVendorName:i,originalVendorName:s,approveVendorName:o,approveVendorNameSelectionSource:c,approveVendorReason:u,isGlobalVendorRequested:l,isNewCreatedVendorRequested:d,isVendorNameRecommendationSelected:f,isVendorNameChangedAndSelected:m,wasRecommendationAvailable:_,recommendedVendorName:g,recommendedVendorReason:p}){this.fireTrack(t.Event.vendorReviewGlobalApproveRequest,{vendor_review_source:e,vendor_review_tenant_name:r,old_vendor_name_requested:i,old_vendor_name_original:s,approve_vendor_name_requested:o,approve_vendor_name_recommendation_reason:u,approve_vendor_name_selection_source:c,vendor_name_recommendation:g,vendor_name_recommendation_reason:p,is_vendor_recommended:_,is_recommended_vendor_name_selected:f,is_vendor_renamed:m,is_global_vendor_selected:l,is_vendor_name_new_created_and_selected:d})}trackVendorReviewNewVendorRequested({reviewSource:e,tenantName:r,newRequestedVendorName:i,newRequestedVendorNameSource:s,isVendorNameRecommendationSelected:o,recommendedVendorName:c,recommendedVendorReason:u}){this.fireTrack(t.Event.vendorReviewGlobalNewVendorRequest,{vendor_review_source:e,vendor_review_tenant_name:r,new_vendor_name_requested:i,new_vendor_name_selection_source:s,new_vendor_recommendation_vendor_name:c,new_vendor_recommendation_vendor_name_reason:u,is_recommended_vendor_name_selected:o})}trackVendorReviewNewVendorSaved({reviewSource:e,saveRequestedVendorName:r,saveRequestedVendorSource:i,isVendorNameRecommendationSelected:s,tenantName:o,recommendedVendorName:c,recommendedVendorReason:u}){this.fireTrack(t.Event.vendorReviewGlobalNewVendorSave,{vendor_review_source:e,vendor_review_tenant_name:o,saved_vendor_name:r,saved_vendor_name_selection_source:i,new_vendor_recommendation_vendor_name:c,new_vendor_recommendation_vendor_name_reason:u,is_recommended_vendor_name_selected:s})}trackVendorReviewNewVendorCanceled({reviewSource:e,newRequestedVendorName:r,tenantName:i,recommendedVendorName:s,recommendedVendorReason:o}){this.fireTrack(t.Event.vendorReviewGlobalNewVendorCancel,{vendor_review_source:e,vendor_review_tenant_name:i,new_vendor_name_requested:r,new_vendor_recommendation_vendor_name:s,new_vendor_recommendation_vendor_name_reason:o})}trackVendorReviewSaveVendorRequested({reviewSource:e,vendorName:r,vendorReviewStatus:i,saveRequestedVendorName:s,saveRequestedVendorReason:o,saveRequestedVendorSource:c,isGlobalVendorRequested:u,isVendorNameRetainSelected:l,isVendorNameRecommendationSelected:d,isVendorNameChangedAndSelected:f,wasRecommendationAvailable:m,isVendorNameMarkedAsEmployee:_,isVendorNameMarkedAsLocalContractor:g,recommendedVendorName:p,recommendedVendorReason:v}){this.fireTrack(t.Event.vendorReviewTenantSave,{vendor_review_source:e,old_vendor_name:r,review_status:i,saved_vendor_name:s,save_vendor_name_recommendation_reason:o,saved_vendor_name_source:c,vendor_name_recommendation:p,vendor_name_recommendation_reason:v,is_vendor_name_retain_selected:l,is_recommended_vendor_name_selected:d,is_global_vendor_selected:u,is_vendor_renamed:f,is_vendor_recommended:m,is_vendor_employee:_,is_vendor_contractor:g})}trackVendorReviewMergeInQBORedirectedOrCanceled({reviewSource:e,event:r,vendorName:i,vendorReviewStatus:s,saveRequestedVendorName:o,saveRequestedVendorReason:c,saveRequestedVendorSource:u,isVendorNameRetainSelected:l,isVendorNameRecommendationSelected:d,isVendorNameChangedAndSelected:f,wasRecommendationAvailable:m,recommendedVendorName:_,recommendedVendorReason:g}){this.fireTrack(r,{vendor_review_source:e,old_vendor_name:i,review_status:s,saved_vendor_name:o,save_vendor_name_recommendation_reason:c,saved_vendor_name_source:u,vendor_name_recommendation:_,vendor_name_recommendation_reason:g,is_vendor_name_retain_selected:l,is_recommended_vendor_name_selected:d,is_vendor_renamed:f,is_vendor_recommended:m})}trackVendorReviewRecommendationUpdateContinuedOrCanceled({reviewSource:e,event:r,vendorName:i,vendorReviewStatus:s,saveRequestedVendorName:o,saveRequestedVendorReason:c,saveRequestedVendorSource:u,isVendorNameRetainSelected:l,isVendorNameRecommendationSelected:d,isVendorNameChangedAndSelected:f,wasRecommendationAvailable:m,updatedRecommendedVendorName:_,updatedRecommendedVendorReason:g,recommendedVendorName:p,recommendedVendorReason:v}){this.fireTrack(r,{vendor_review_source:e,old_vendor_name:i,review_status:s,saved_vendor_name:o,save_vendor_name_recommendation_reason:c,saved_vendor_name_source:u,updated_recommendation_vendor_name:_,updated_recommendation_vendor_name_reason:g,vendor_name_recommendation:p,vendor_name_recommendation_reason:v,is_vendor_name_retain_selected:l,is_recommended_vendor_name_selected:d,is_vendor_renamed:f,is_vendor_recommended:m})}trackVendorReviewUpdateVendorCanceled({reviewSource:e,vendorName:r,vendorReviewStatus:i,wasRecommendationAvailable:s,recommendedVendorName:o,recommendedVendorReason:c}){this.fireTrack(t.Event.vendorReviewTenantUpdateCancel,{vendor_review_source:e,old_vendor_name:r,review_status:i,vendor_name_recommendation:o,vendor_name_recommendation_reason:c,is_vendor_recommended:s})}trackVendorReviewWebsiteOpened({reviewSource:e,vendorName:r,wasRecommendationAvailable:i,recommendedVendorName:s,recommendedVendorReason:o,vendorWebsite:c}){this.fireTrack(t.Event.vendorReviewTenantWebsiteOpened,{vendor_review_source:e,old_vendor_name:r,vendor_name_recommendation:s,vendor_name_recommendation_reason:o,is_vendor_recommended:i,vendor_website:c})}trackCockpitTabClicked(e){const r={tab_name:e};this.fireTrack(t.Event.cockpitTabClicked,r)}trackCockpitHealthMonitorRowClicked(e,r,i,s,o,c){const u={company_id:e,company_name:r,churn_percent:c,controller_name:i,nps:s,csat:o};this.fireTrack(t.Event.cockpitHealthMonitorRowClicked,u)}trackHealthMonitorFiltersApplied({filterSelection:e}){this.fireTrack(t.Event.healthMonitorFilterApplied,{parameter:e.parameter,condition:e.condition,logic:e.logic})}trackCockpitHealthMonitorNotificationAlertClicked(e,r){const i={utm_source:e,company_id:r.companyId,company_name:r.companyName,churn_percent:r.churnProbability};this.fireTrack(t.Event.cockpitHealthMonitorNotificationAlertClicked,i)}trackCockpitHealthMonitorChurnFormClicked(e,r){const i={click_type:e,company_id:r.companyId,company_name:r.companyName,zeni_products_and_services:r.zeniProductAndServicesCount,days_to_renewal:r.daysToRenewal,nps:r.netPromoterScore,csat:r.customerSatisfactionScore,external_services_exposure:r.externalServicesExposure,runway_months:r.runwayMonths,dashboard_last_seen:r.dashBoardLastSeen,last_report_sent:r.lastReportSent,churn_percent:r.churnProbability};this.fireTrack(t.Event.cockpitHealthMonitorChurnFormClicked,i)}trackScheduleReviewListLoaded({scheduleType:e,scheduleTab:r,currentTab:i,previousTab:s,scheduleCountTotal:o,categories:c,startMonth:u,endMonth:l,controllerEmails:d,controllerUserIds:f}){this.fireTrack(t.Event.scheduleReviewList,{schedule_type:e,schedule_list_tab:r,schedule_count_total:o,current_tab:i,previous_tab:s,schedule_account_categories_selected:c,schedule_period_start_month:u,schedule_period_end_month:l,controller_emails:d,controller_user_ids:f})}trackScheduleDetailsLoaded({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,scheduledTransaction:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f,scheduleCategory:m,scheduleClass:_,description:g}=r,{currentBalance:p,currentStatus:v,startMonth:y,endMonth:b,period:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsPage,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,schedule_current_balance:p,schedule_category:m,schedule_class:_,schedule_description:g,schedule_current_status:v,schedule_start_month:y,schedule_end_month:b,schedule_number_of_months:k,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsSaved({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,scheduledTransaction:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f,scheduleCategory:m,scheduleClass:_,description:g}=r,{currentBalance:p,currentStatus:v,startMonth:y,endMonth:b,period:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsSave,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,schedule_current_balance:p,schedule_category:m,schedule_class:_,schedule_description:g,schedule_current_status:v,schedule_start_month:y,schedule_end_month:b,schedule_number_of_months:k,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsCanceled({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,scheduledTransaction:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f,scheduleCategory:m,scheduleClass:_,description:g}=r,{currentBalance:p,currentStatus:v,startMonth:y,endMonth:b,period:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsCancel,{schedule_type:e,vendor_name:o??"",transaction_date:d,transaction_amount:f,schedule_current_balance:p,schedule_category:m,schedule_class:_,schedule_description:g,schedule_current_status:v,schedule_start_month:y,schedule_end_month:b,schedule_number_of_months:k,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsLinkJournalEntry({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,journalEntryDetails:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f,scheduleCategory:m,scheduleClass:_}=r,{journalEntryMonth:g,journalEntryPostingDate:p,journalEntryTransactionAmount:v,journalEntryPostingStatus:y,journalEntryMemo:b}=s,{expenseCategory:k,expenseClass:w}=i;this.fireTrack(t.Event.scheduleDetailsLinkJournalEntry,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,schedule_category:m,schedule_class:_,journal_entry_month:g,journal_entry_posting_date:p,journal_entry_transaction_amount:v,journal_entry_posting_status:y,journal_entry_memo:b,expense_category:k,expense_class:w,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsViewJournalEntry({scheduleType:e,scheduleExpenseCategoryAndClass:r,journalEntryDetails:i,fixedAssetsDetails:s,controllerEmails:o,controllerUserIds:c}){const{journalEntryMonth:u,journalEntryPostingDate:l,journalEntryTransactionAmount:d,journalEntryPostingStatus:f,journalEntryMemo:m}=i,{expenseCategory:_,expenseClass:g}=r;this.fireTrack(t.Event.scheduleDetailsViewJournalEntry,{schedule_type:e,journal_entry_month:u,journal_entry_posting_date:l,journal_entry_transaction_amount:d,journal_entry_posting_status:f,journal_entry_memo:m,expense_category:_,expense_class:g,accumulated_depreciation_category:s?.accumulatedDepreciationCategory??null,asset_id:s?.assetId??null,controller_emails:o,controller_user_ids:c})}trackScheduleDetailsDeleted({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,scheduledTransaction:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f,scheduleCategory:m,scheduleClass:_,description:g}=r,{currentBalance:p,currentStatus:v,startMonth:y,endMonth:b,period:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsDelete,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,schedule_current_balance:p,schedule_category:m,schedule_class:_,schedule_description:g,schedule_current_status:v,schedule_start_month:y,schedule_end_month:b,schedule_number_of_months:k,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsMarkedAsCompleted({scheduleType:e,transaction:r,scheduledTransaction:i,scheduleExpenseCategoryAndClass:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f,scheduleCategory:m,scheduleClass:_,description:g}=r,{currentBalance:p,currentStatus:v,startMonth:y,endMonth:b,period:k}=i,{expenseCategory:w,expenseClass:S}=s;this.fireTrack(t.Event.scheduleDetailsMarkComplete,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,schedule_current_balance:p,schedule_category:m,schedule_class:_,schedule_description:g,schedule_current_status:v,schedule_start_month:y,schedule_end_month:b,schedule_number_of_months:k,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,journalEntryDetails:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f}=r,{journalEntryMonth:m,journalEntryPostingDate:_,journalEntryTransactionAmount:g,journalEntryPostingStatus:p,journalEntryMemo:v,journalEntryQBOLink:y,wasRecommendationAvailable:b,wasRecommendationSelected:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsJournalEntryLinkedSaved,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,journal_entry_month:m,journal_entry_posting_date:_,journal_entry_transaction_amount:g,journal_entry_posting_status:p,journal_entry_qbo_link:y,journal_entry_memo:v,is_vendor_recommended:b,was_recommendation_selected:k,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsJournalEntryQBOFetched({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,journalEntryDetails:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f}=r,{journalEntryMonth:m,journalEntryPostingDate:_,journalEntryTransactionAmount:g,journalEntryPostingStatus:p,journalEntryMemo:v,wasRecommendationAvailable:y,wasRecommendationSelected:b,journalEntryQBOLink:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsJournalEntryQBOFetched,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,journal_entry_month:m,journal_entry_posting_date:_,journal_entry_transaction_amount:g,journal_entry_posting_status:p,journal_entry_qbo_link:k,journal_entry_memo:v,is_vendor_recommended:y,was_recommendation_selected:b,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:e,transaction:r,scheduleExpenseCategoryAndClass:i,journalEntryDetails:s,vendorName:o,fixedAssetsDetails:c,controllerEmails:u,controllerUserIds:l}){const{transactionDate:d,transactionAmount:f}=r,{journalEntryMonth:m,journalEntryPostingDate:_,journalEntryTransactionAmount:g,journalEntryPostingStatus:p,journalEntryMemo:v,wasRecommendationAvailable:y,wasRecommendationSelected:b,journalEntryQBOLink:k}=s,{expenseCategory:w,expenseClass:S}=i;this.fireTrack(t.Event.scheduleDetailsJournalEntryLinkCancel,{schedule_type:e,vendor_name:o,transaction_date:d,transaction_amount:f,journal_entry_month:m,journal_entry_posting_date:_,journal_entry_transaction_amount:g,journal_entry_posting_status:p,journal_entry_qbo_link:k,journal_entry_memo:v,is_vendor_recommended:y,was_recommendation_selected:b,expense_category:w,expense_class:S,accumulated_depreciation_category:c?.accumulatedDepreciationCategory??null,asset_id:c?.assetId??null,controller_emails:u,controller_user_ids:l})}trackScheduleAccruedDetailsNewRequested({scheduleType:e}){this.fireTrack(t.Event.scheduleDetailsNewRequested,{schedule_type:e})}trackScheduleAccruedDetailsLoaded({scheduleType:e,scheduleExpenseCategoryAndClass:r,vendorName:i,controllerEmails:s,schedule:o,controllerUserIds:c}){const{startingBalance:u,scheduleAccountCategory:l,description:d,scheduleCreateDate:f,scheduleMonthlyAmount:m,runningBalance:_,currentStatus:g,startMonth:p,endMonth:v,period:y}=o,{expenseCategory:b,expenseClass:k}=r;this.fireTrack(t.Event.scheduleDetailsPage,{schedule_type:e,controller_emails:s,controller_user_ids:c,schedule_expense_category:b,schedule_expense_class:k,schedule_account_category:l,schedule_create_date:f,schedule_current_balance:_,schedule_current_status:g,schedule_description:d,schedule_end_month:v,schedule_monthly_amount:m,schedule_number_of_months:y,schedule_start_month:p,schedule_starting_balance:u,vendor_name:i})}trackScheduleAccruedDetailsSaved({scheduleType:e,scheduleExpenseCategoryAndClass:r,vendorName:i,controllerEmails:s,schedule:o,controllerUserIds:c}){const{startingBalance:u,scheduleAccountCategory:l,description:d,scheduleCreateDate:f,scheduleMonthlyAmount:m,runningBalance:_,currentStatus:g,startMonth:p,endMonth:v,period:y}=o,{expenseCategory:b,expenseClass:k}=r;this.fireTrack(t.Event.scheduleDetailsSave,{schedule_type:e,controller_emails:s,controller_user_ids:c,schedule_expense_category:b,schedule_expense_class:k,schedule_account_category:l,schedule_create_date:f,schedule_current_balance:_,schedule_current_status:g,schedule_description:d,schedule_end_month:v,schedule_monthly_amount:m,schedule_number_of_months:y,schedule_start_month:p,schedule_starting_balance:u,vendor_name:i})}trackScheduleAccruedDetailsCanceled({scheduleType:e,scheduleExpenseCategoryAndClass:r,vendorName:i,controllerEmails:s,schedule:o,controllerUserIds:c,lastPostedScheduleMonth:u}){const{startingBalance:l,scheduleAccountCategory:d,description:f,scheduleCreateDate:m,scheduleMonthlyAmount:_,runningBalance:g,currentStatus:p,startMonth:v,endMonth:y,period:b}=o,{expenseCategory:k,expenseClass:w}=r;this.fireTrack(t.Event.scheduleDetailsCancel,{schedule_type:e,controller_emails:s,controller_user_ids:c,schedule_expense_category:k,schedule_expense_class:w,schedule_account_category:d,schedule_create_date:m,schedule_current_balance:g,schedule_current_status:p,schedule_description:f,schedule_end_month:y,schedule_monthly_amount:_,schedule_number_of_months:b,schedule_start_month:v,schedule_starting_balance:l,vendor_name:i,schedule_last_month_with_posted_status:u})}trackScheduleAccruedDetailsDeleted({scheduleType:e,scheduleExpenseCategoryAndClass:r,vendorName:i,controllerEmails:s,schedule:o,controllerUserIds:c,scheduleNonPendingLastMonth:u,scheduleNonPendingLastMonthStatus:l}){const{startingBalance:d,scheduleAccountCategory:f,description:m,scheduleCreateDate:_,scheduleMonthlyAmount:g,runningBalance:p,currentStatus:v,startMonth:y,endMonth:b,period:k}=o,{expenseCategory:w,expenseClass:S}=r;this.fireTrack(t.Event.scheduleDetailsDelete,{schedule_type:e,controller_emails:s,controller_user_ids:c,schedule_expense_category:w,schedule_expense_class:S,schedule_account_category:f,schedule_create_date:_,schedule_current_balance:p,schedule_current_status:v,schedule_description:m,schedule_end_month:b,schedule_monthly_amount:g,schedule_number_of_months:k,schedule_start_month:y,schedule_starting_balance:d,vendor_name:i,schedule_non_pending_last_month:u,schedule_non_pending_last_month_status:l})}trackScheduleAccruedDetailsLinkJournalEntry({scheduleType:e,scheduleExpenseCategoryAndClass:r,schedule:i,vendorName:s,journalEntryDetails:o,controllerEmails:c,controllerUserIds:u}){const{journalEntryMonth:l,journalEntryAmount:d,journalEntryBalance:f,journalEntryPostingStatus:m}=o,{scheduleCreateDate:_,scheduleMonthlyAmount:g,currentStatus:p,description:v,endMonth:y,period:b,runningBalance:k,scheduleAccountCategory:w,startMonth:S,startingBalance:R}=i,{expenseCategory:P,expenseClass:O}=r;this.fireTrack(t.Event.scheduleDetailsJournalEntryLinkExpense,{schedule_type:e,schedule_create_date:_,vendor_name:s,schedule_monthly_amount:g,schedule_description:v,schedule_current_status:p,schedule_start_month:S,schedule_end_month:y,schedule_number_of_months:b,schedule_current_balance:k,schedule_starting_balance:R,schedule_account_category:w,schedule_entry_expense_link_amount:d,schedule_entry_expense_link_balance:f,schedule_entry_expense_link_month:l,schedule_entry_current_status:m,schedule_expense_category:P,schedule_expense_class:O,controller_emails:c,controller_user_ids:u})}trackScheduleAccruedDetailsViewJournalEntry({scheduleType:e,scheduleJournalEntryType:r,scheduleExpenseCategoryAndClass:i,schedule:s,vendorName:o,journalEntryDetails:c,controllerEmails:u,controllerUserIds:l}){const{journalEntryMonth:d,journalEntryAmount:f,journalEntryBalance:m,journalEntryPostingStatus:_}=c,{scheduleCreateDate:g,scheduleMonthlyAmount:p,currentStatus:v,description:y,endMonth:b,period:k,runningBalance:w,scheduleAccountCategory:S,startMonth:R,startingBalance:P}=s,{expenseCategory:O,expenseClass:L}=i;this.fireTrack(t.Event.scheduleDetailsViewJournalEntry,{schedule_type:e,schedule_journal_entry_type:r,schedule_create_date:g,vendor_name:o,schedule_monthly_amount:p,schedule_account_category:S,schedule_description:y,schedule_current_status:v,schedule_start_month:R,schedule_end_month:b,schedule_number_of_months:k,schedule_expense_category:O,schedule_expense_class:L,schedule_current_balance:w,schedule_starting_balance:P,schedule_entry_current_status:_,schedule_entry_expense_link_amount:f,schedule_entry_expense_link_balance:m,schedule_entry_expense_link_month:d,controller_emails:u,controller_user_ids:l})}trackScheduleAccruedDetailsJournalEntryViewLinkedExpense({scheduleType:e,scheduleExpenseCategoryAndClass:r,schedule:i,vendorName:s,journalEntryDetails:o,controllerEmails:c,controllerUserIds:u}){const{journalEntryMonth:l,journalEntryAmount:d,journalEntryBalance:f,journalEntryPostingStatus:m}=o,{scheduleCreateDate:_,scheduleMonthlyAmount:g,currentStatus:p,description:v,endMonth:y,period:b,runningBalance:k,scheduleAccountCategory:w,startMonth:S,startingBalance:R}=i,{expenseCategory:P,expenseClass:O}=r;this.fireTrack(t.Event.scheduleDetailsJournalEntryViewLinkedExpense,{schedule_type:e,schedule_create_date:_,vendor_name:s,schedule_monthly_amount:g,schedule_account_category:w,schedule_description:v,schedule_current_status:p,schedule_start_month:S,schedule_end_month:y,schedule_number_of_months:b,schedule_expense_category:P,schedule_expense_class:O,schedule_current_balance:k,schedule_starting_balance:R,schedule_entry_current_status:m,schedule_entry_expense_link_amount:d,schedule_entry_expense_link_balance:f,schedule_entry_expense_link_month:l,controller_emails:c,controller_user_ids:u})}trackScheduleAccruedDetailsJournalEntryLinkCanceled({scheduleType:e,scheduleExpenseCategoryAndClass:r,schedule:i,vendorName:s,journalEntryDetails:o,controllerEmails:c,controllerUserIds:u}){const{journalEntryMonth:l,journalEntryAmount:d,journalEntryBalance:f,journalEntryPostingStatus:m}=o,{scheduleCreateDate:_,scheduleMonthlyAmount:g,currentStatus:p,description:v,endMonth:y,period:b,runningBalance:k,scheduleAccountCategory:w,startMonth:S,startingBalance:R}=i,{expenseCategory:P,expenseClass:O}=r;this.fireTrack(t.Event.scheduleDetailsEntryCanceled,{schedule_type:e,schedule_create_date:_,vendor_name:s,schedule_monthly_amount:g,schedule_description:v,schedule_current_status:p,schedule_start_month:S,schedule_end_month:y,schedule_number_of_months:b,schedule_current_balance:k,schedule_starting_balance:R,schedule_account_category:w,schedule_entry_expense_link_month:l,schedule_expense_category:P,schedule_expense_class:O,schedule_entry_current_status:m,schedule_entry_expense_link_amount:d,schedule_entry_expense_link_balance:f,controller_emails:c,controller_user_ids:u})}trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:e,scheduleExpenseCategoryAndClass:r,schedule:i,vendorName:s,journalEntryDetails:o,controllerEmails:c,controllerUserIds:u}){const{currentStatus:l,description:d,endMonth:f,period:m,runningBalance:_,scheduleAccountCategory:g,scheduleCreateDate:p,scheduleMonthlyAmount:v,startMonth:y,startingBalance:b}=i,{wasRecommendationAvailable:k,journalEntryPostingStatus:w}=o,{expenseCategory:S,expenseClass:R}=r;this.fireTrack(t.Event.scheduleDetailsJournalEntryLinkExpenseLoaded,{schedule_type:e,vendor_name:s,schedule_create_date:p,schedule_monthly_amount:v,schedule_description:d,schedule_current_status:l,schedule_start_month:y,schedule_end_month:f,schedule_number_of_months:m,schedule_current_balance:_,schedule_starting_balance:b,schedule_account_category:g,schedule_expense_category:S,schedule_expense_class:R,controller_emails:c,schedule_entry_current_status:w,controller_user_ids:u,is_vendor_recommended:k})}trackScheduleAccruedDetailsJournalEntryLinkedSaved({scheduleType:e,scheduleExpenseCategoryAndClass:r,schedule:i,vendorName:s,transactionDetails:o,journalEntryDetails:c,controllerEmails:u,controllerUserIds:l}){const{currentStatus:d,description:f,endMonth:m,period:_,runningBalance:g,scheduleAccountCategory:p,scheduleCreateDate:v,scheduleMonthlyAmount:y,startMonth:b,startingBalance:k}=i,{wasRecommendationAvailable:w,wasRecommendationSelected:S,journalEntryPostingStatus:R}=c,{linkedTransactionAmount:P,linkedTransactionDate:O,linkedTransactionDescription:L,linkedTransactionType:x}=o,{expenseCategory:F,expenseClass:J}=r;this.fireTrack(t.Event.scheduleDetailsJounralEntryLinkExpenseSaved,{schedule_type:e,vendor_name:s,schedule_create_date:v,schedule_monthly_amount:y,schedule_description:f,schedule_current_status:d,schedule_start_month:b,schedule_end_month:m,schedule_number_of_months:_,schedule_current_balance:g,schedule_starting_balance:k,schedule_account_category:p,schedule_expense_category:F,schedule_expense_class:J,controller_emails:u,controller_user_ids:l,is_vendor_recommended:w,was_recommendation_selected:S,linked_transaction_amount:P,linked_transaction_date:O,schedule_entry_current_status:R,linked_transaction_description:L,linked_transaction_type:x})}trackScheduleAccruedDetailsJournalEntryLinkedCanceled({scheduleType:e,scheduleExpenseCategoryAndClass:r,schedule:i,vendorName:s,journalEntryDetails:o,controllerEmails:c,controllerUserIds:u}){const{currentStatus:l,description:d,endMonth:f,period:m,runningBalance:_,scheduleAccountCategory:g,scheduleCreateDate:p,scheduleMonthlyAmount:v,startMonth:y,startingBalance:b}=i,{wasRecommendationAvailable:k,journalEntryPostingStatus:w}=o,{expenseCategory:S,expenseClass:R}=r;this.fireTrack(t.Event.scheduleDetailsJournalEntryLinkExpenseCanceled,{schedule_type:e,vendor_name:s,schedule_create_date:p,schedule_monthly_amount:v,schedule_description:d,schedule_current_status:l,schedule_start_month:y,schedule_end_month:f,schedule_number_of_months:m,schedule_current_balance:_,schedule_starting_balance:b,schedule_account_category:g,schedule_expense_category:S,schedule_expense_class:R,controller_emails:c,controller_user_ids:u,schedule_entry_current_status:w,is_vendor_recommended:k})}trackCockpitTaskCardClicked({tenantName:e,tenantId:r,user:i,controllerEmails:s}){this.fireTrack(t.Event.cockpitTaskCardClicked,{tenant_name:e,tenant_id:r,user_name:i.name,user_email:i.email,user_role:i.role,controller_emails:s})}trackTaskEdited({tenantName:e,taskId:r,activity:i,createdBy:s,commentsCreated:o}){const{name:c,description:u,status:l,priority:d,assignees:f,numberOfAttachments:m,tags:_,dueDate:g}=i.details;this.fireTrack(t.Event.taskEdited,{tenant_name:e,task_id:r,created_by:s,activity_count:i.count,activity_type:{name:c,description:u,status:l,priority:d,assignees:f,file_attached_count:m,tags:_,due_date:g},activity_by_user:i.byUser,comment_created:o})}trackTaskCreated({tenantName:e,taskId:r,newButtonClicked:i,activity:s,createdBy:o}){const{name:c,description:u,status:l,priority:d,assignees:f,numberOfAttachments:m,tags:_,dueDate:g}=s.details;this.fireTrack(t.Event.newTaskRequested,{tenant_name:e,task_id:r,created_by:o,new_task_button_clicked:i,file_attached_count:m,assignees:f,priority_set:d,task_name:c,task_description:u,task_status:l,tag_name:_?_.join(","):null,task_due_date:g})}trackRewardsPageClicked(e){this.fireTrack(t.Event.rewardsPageClicked,{click_type:e})}trackDashboardCardClicked(e,r){this.fireTrack(t.Event.dashboardCardClicked,{click_type:e,card_position:r})}trackInviteEmailClicked(e,r,i,s){this.fireTrack(t.Event.inviteEmailClicked,{click_type:e,referred_company:r,referred_email:i,invitee_count:s})}trackGetAuditScore(e,r,i,s,o){this.fireTrack(t.Event.getAuditScore,{clicked:e,tenant:r,report_month:i,controller_name:s,report_timestamp:o})}trackAuditScorePercentage(e,r,i,s,o,c,u,l){this.fireTrack(t.Event.auditScorePercentage,{report_timestamp:e,report_month:r,score_percentage:i,issue_type:o,tenant:s,controller_name:u,customer_group:l,no_of_issues:c})}trackAuditIssuesClicked(e,r,i,s){this.fireTrack(t.Event.auditIssuesClicked,{clicked_issue:e,tenant:r,controller_name:i,created_at:s})}trackZeniAssistClick(e,r,i,s,o){this.fireTrack(t.Event.zeniAssistClick,{bill_stage:r,bill_status:e,bill_type:s,error_description:i,invoice_number:o})}trackRetryClick(e,r,i,s,o){this.fireTrack(t.Event.retryClick,{bill_stage:r,bill_status:e,bill_type:s,error_description:i,invoice_number:o})}trackRetryConfirmClick(e,r,i,s,o){this.fireTrack(t.Event.retryConfirmClick,{bill_stage:r,bill_status:e,bill_type:s,error_description:i,invoice_number:o})}trackRefundClick(e,r,i,s,o){this.fireTrack(t.Event.refundClick,{bill_stage:r,bill_status:e,bill_type:s,error_description:i,invoice_number:o})}trackRefundConfirmClick(e,r,i,s,o){this.fireTrack(t.Event.refundConfirmClick,{bill_stage:r,bill_status:e,bill_type:s,error_description:i,invoice_number:o})}trackVendor1099DetailSave(e){this.fireTrack(t.Event.vendor1099DetailsSave,{vendor_legal_name:e})}trackVendor1099ReportDownload(e){this.fireTrack(t.Event.vendor1099ReportDownload,{report:e.includes("All")?"All":e.toUpperCase()})}trackEnableIntlWire(e){this.fireTrack(t.Event.enableIntlWire,{local_currency_enabled:e})}trackSubmitIntlWire(e){this.fireTrack(t.Event.submitIntlWire,{local_currency_enabled:e})}trackIntlWirePaymentSelect(e,r,i,s,o){this.fireTrack(t.Event.intlWirePaymentMethod,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,local_currency_enabled:o})}trackMonthEndCloseClicked(e,r,i){this.fireTrack(t.Event.monthCloseClicked,{month_year:`${e}-${r}`,source:i})}trackMonthCloseAuditPage(e,r,i,s,o,c){this.fireTrack(t.Event.monthCloseAuditPage,{month_year:`${e}-${r}`,audit_score:s,refresh_clicked:o,status:i,source:c})}trackTransactionsReviewPage(e,r,i,s,o,c){this.fireTrack(t.Event.transactionsReview,{month_year:`${e}-${r}`,refresh_clicked:o,number_of_transactions:i,transaction_updates:s,source:c})}trackTransactionsAutoCategorisedPage(e,r,i,s,o,c){this.fireTrack(t.Event.transactionsAutoCategorised,{month_year:`${e}-${r}`,refresh_clicked:o,number_of_transactions:i,transaction_updates:s,source:c})}trackMonthCloseScheduleListPage(e,r,i,s,o,c){this.fireTrack(t.Event.monthCloseScheduleList,{month_year:`${e}-${r}`,refresh_clicked:i,number_of_recommendations:s,failed_postings:o,source:c})}trackFluxAnalysisPage(e,r,i,s,o){this.fireTrack(t.Event.fluxAnalysis,{month_year:`${e}-${r}`,refresh_clicked:i,open_items:s,source:o})}trackFluxAnalysisReviewed(e,r,i,s){this.fireTrack(t.Event.fluxAnalysisReviewed,{month_year:`${e}-${r}`,number_of_items_reviewed:s.length,is_bulk_update:i})}trackMissingReceiptsPage(e,r,i,s,o){this.fireTrack(t.Event.missingReceipts,{month_year:`${e}-${r}`,number_of_transactions:s,refresh_clicked:i,source:o})}trackMissingReceiptAttached(e,r){this.fireTrack(t.Event.missingReceipts,{month_year:`${e}-${r}`,is_attached:!0})}trackInsightsEmailPage(e,r,i,s,o,c,u){this.fireTrack(t.Event.insightsEmail,{month_year:`${e}-${r}`,refresh_clicked:i,email_status:s,audit_score:o,date:c,source:u})}trackCommentAdded(e,r,i,s,o,c){this.fireTrack(t.Event.commentAdded,{page_name:e,commented_on:r,comment_type:i,tenant:s,controller_name:o,created_by:c})}trackCommentActivity(e,r,i,s,o,c,u){this.fireTrack(t.Event.commentActivity,{page_name:e,comment_activity_type:r,tenant:i,controller_name:s,status:o,created_by:c,comment_activity_source:u})}trackSendMoneyClick(){this.fireTrack(t.Event.sendMoneyClick)}trackExpressPayNextClick(e){this.fireTrack(t.Event.expressPayNextClick,{stage:e})}trackExpressPayScheduleClick(){this.fireTrack(t.Event.expressPayScheduleClick)}trackLowBalanceAccountSelected(e,r,i,s,o,c){this.fireTrack(t.Event.lowBalanceAccountSelected,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,user_name:o,account_type:c})}trackLowBalanceAccountSentForApproval(e,r,i,s,o,c){this.fireTrack(t.Event.lowBalanceAccountSentForApproval,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,user_name:o,account_type:c})}trackLowBalanceAccountApprove(e,r,i,s,o,c){this.fireTrack(t.Event.lowBalanceAccountApprove,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,user_name:o,account_type:c})}trackLowBalanceAccountReject(e,r,i,s,o,c){this.fireTrack(t.Event.lowBalanceAccountReject,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,user_name:o,account_type:c})}trackLowBalanceAccountChange(e,r,i,s,o,c){this.fireTrack(t.Event.lowBalanceAccountChange,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,user_name:o,account_type:c})}trackLowBalanceAccountSchedule(e,r,i,s,o,c){this.fireTrack(t.Event.lowBalanceAccountSchedule,{bill_stage:e,bill_status:r,bill_type:i,invoice_number:s,user_name:o,account_type:c})}trackVendorOperatingExpenses(e,r){this.fireTrack(t.Event.vendorOperatingExpenses,{current_tab:e,previous_tab:r})}trackVendorOperatingExpensesPageLoaded(e){this.fireTrack(t.Event.vendorOperatingExpensesPageLoaded,{source:e})}trackAICFOChatScreenStateChanged(e,r,i,s){this.fireTrack(t.Event.aiCFOChatScreenStateChanged,{action:e,chat_source:r,chat_session_id:i,chat_session_title:s})}trackAICFOChatSessionChanged(e,r,i,s){this.fireTrack(t.Event.aiCFOChatSessionChanged,{action:e,chat_source:r,chat_session_id:i,chat_session_title:s})}trackAICFOChatSubmitted(e,r,i,s,o,c){this.fireTrack(t.Event.aiCFOChatSubmitted,{question_text:e,chat_source:r,chat_session_id:i,chat_message_id:o,chat_session_title:s,index:c})}trackAICFOChatFeedbackGiven(e,r,i,s,o){this.fireTrack(t.Event.aiCFOChatFeedbackGiven,{feedback_type:e,question_text:r,chat_session_id:i,chat_message_id:o,chat_session_title:s})}trackAICFOChatResponseGenerated(e,r,i,s,o,c){this.fireTrack(t.Event.aiCFOChatResponseGenerated,{response_type:e,question_text:r,response_text:i,chat_session_id:s,chat_message_id:c,chat_session_title:o})}trackAICFOChatAnswerGenerated(e,r,i,s,o,c,u,l,d,f){this.fireTrack(t.Event.aiCFOChatAnswerGenerated,{has_visualization:c,visualization_type:u,has_follow_up_questions:i,has_assumptions:s,response_text:e,has_insights:o,question_text:r,chat_session_id:l,chat_message_id:f,chat_session_title:d})}trackAICFOOnboardingScreenStateChanged(e,r){this.fireTrack(t.Event.aiCFOOnboardingScreenStateChanged,{action:e,ai_cfo_onboarding_source:r})}trackAICFOPrivacyPolicy(){this.fireTrack(t.Event.aiCFOPrivacyPolicy)}trackAICFOAgreement(){this.fireTrack(t.Event.aiCFOAgreement)}trackTreasuryNavPromoClick(e){this.fireTrack(t.Event.treasuryNavPromoClick,{clicked_on:e})}trackTreasuryPromoView(e){this.fireTrack(t.Event.treasuryPromoView,{page_name:e})}trackTreasurySetupActionClick(e){this.fireTrack(t.Event.treasurySetupActionClick,{action_type:e})}trackTreasuryProspectusClick(e,r,i){this.fireTrack(t.Event.treasuryProspectusClick,{fund_name:e,fund_ticker:r,page_name:i})}trackTreasuryCalculatorClick(e,r){this.fireTrack(t.Event.treasuryCalculatorClick,{page_name:e,amount:r})}trackTreasuryAgreementView(){this.fireTrack(t.Event.treasuryAgreementView)}trackTreasuryAllocationAction(e,r){this.fireTrack(t.Event.treasuryAllocationAction,{action_type:e,fund_percentage:r})}trackTreasuryRiskAction(e,r,i){this.fireTrack(t.Event.treasuryRiskAction,{action_type:e,risk_score:r,fund_percentage:i})}trackTreasuryVerificationNavigation(e,r){this.fireTrack(t.Event.treasuryVerificationNavigation,{clicked_on:e,verification_status:r})}trackTreasuryTransferAction(e,r,i,s,o,c){this.fireTrack(t.Event.treasuryTransferAction,{clicked_on:e,from_account:r,to_account:i,amount:s,fund_percentage:o,page_name:c})}trackTreasuryDashboardInteraction(e){this.fireTrack(t.Event.treasuryDashboardInteraction,{clicked_on:e})}trackTreasuryPortfolioConfirm(e,r){this.fireTrack(t.Event.treasuryPortfolioConfirm,{risk_score:e,fund_percentage:r})}trackTreasuryPromoCards(e){this.fireTrack(t.Event.treasuryPromoCards,{card_clicked:e})}trackTreasuryPromoVideo(e){this.fireTrack(t.Event.treasuryPromoVideo,{page_name:e})}trackTransactionCotView({recommendationFor:e,currentValue:r,recommendation:i,recommendationCot:s,isRecommendationCotAvailable:o,recommendationReason:c,recommendationConfidenceLevel:u,alternativeRecommendation:l,alternativeRecommendationCot:d,isAlternativeRecommendationCotAvailable:f,alternativeRecommendationReason:m,alternativeRecommendationConfidenceLevel:_,transactionPage:g,transactionCurrentStatus:p,recommendationConfidencePercentage:v,alternativeRecommendationConfidencePercentage:y}){this.fireTrack(t.Event.transactionCotView,{recommendation_for:e,current_value:r,recommendation:i,recommendation_cot:s,is_recommendation_cot_available:o,recommendation_reason:c,recommendation_confidence_percentage:v,recommendation_confidence_level:u,alternative_recommendation:l,alternative_recommendation_cot:d,is_alternative_recommendation_cot_available:f,alternative_recommendation_reason:m,alternative_recommendation_confidence_percentage:y,alternative_recommendation_confidence_level:_,transaction_page:g,transaction_current_status:p})}trackTransactionCotDropdownView({recommendationType:e,recommendationFor:r,currentValue:i,recommendation:s,recommendationCot:o,isRecommendationCotAvailable:c,recommendationReason:u,recommendationConfidenceLevel:l,transactionPage:d,transactionCurrentStatus:f,recommendationConfidencePercentage:m}){this.fireTrack(t.Event.transactionCotDropdownView,{recommendation_type:e,recommendation_for:r,current_value:i,recommendation:s,recommendation_cot:o,is_recommendation_cot_available:c,recommendation_reason:u,recommendation_confidence_percentage:m,recommendation_confidence_level:l,transaction_current_status:f,transaction_page:d})}trackTransactionCotViewAlternative({alternativeRecommendationFor:e,alternativeRecommendation:r,alternativeRecommendationCot:i,isAlternativeRecommendationCotAvailable:s,alternativeRecommendationReason:o,alternativeRecommendationConfidenceLevel:c,transactionPage:u,transactionCurrentStatus:l,alternativeRecommendationConfidencePercentage:d}){this.fireTrack(t.Event.transactionCotViewAlternative,{alternative_recommendation_for:e,alternative_recommendation:r,alternative_recommendation_cot:i,is_alternative_recommendation_cot_available:s,alternative_recommendation_reason:o,alternative_recommendation_confidence_percentage:d,alternative_recommendation_confidence_level:c,transaction_current_status:l,transaction_page:u})}trackTransactionCotViewRecommended({recommendationFor:e,currentValue:r,recommendation:i,recommendationCot:s,isRecommendationCotAvailable:o,recommendationReason:c,recommendationConfidenceLevel:u,recommendationConfidencePercentage:l}){this.fireTrack(t.Event.transactionCotViewRecommended,{recommendation_for:e,current_value:r,recommendation:i,recommendation_cot:s,is_recommendation_cot_available:o,recommendation_reason:c,recommendation_confidence_percentage:l,recommendation_confidence_level:u})}trackAIPerfHome(e){this.fireTrack(t.Event.aiPerfHome,{perf_snapshot:e})}trackAIPerfRefresh(e){this.fireTrack(t.Event.aiPerfRefresh,{perf_snapshot:e})}trackAIPerfTimePeriodSelect(e){this.fireTrack(t.Event.aiPerfTimePeriodSelect,{perf_snapshot:e})}fireTrack(e,r){if(t.EVENTS_WITHOUT_SUPER_PROPERTIES.has(e)===!0){this.provider.track(e,r);return}const i=Object.assign({},this.superProperties,r);this.provider.track(e,i)}}return _r.Analytics=n,_r}var $s;function iv(){return $s||($s=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.EVENTS_WITHOUT_SUPER_PROPERTIES=t.Event=t.Analytics=void 0;const n=ed();Object.defineProperty(t,"Analytics",{enumerable:!0,get:function(){return n.Analytics}});const a=fc();Object.defineProperty(t,"EVENTS_WITHOUT_SUPER_PROPERTIES",{enumerable:!0,get:function(){return a.EVENTS_WITHOUT_SUPER_PROPERTIES}}),Object.defineProperty(t,"Event",{enumerable:!0,get:function(){return a.Event}})}(Ai)),Ai}var In={},A;if(typeof window>"u"){var Us={hostname:""};A={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:Us,referrer:""},screen:{width:0,height:0},location:Us,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else A=window;function Vs(t,n){(n==null||n>t.length)&&(n=t.length);for(var a=0,e=new Array(n);a<n;a++)e[a]=t[a];return e}function zs(t,n,a,e,r,i,s){try{var o=t[i](s),c=o.value}catch(u){a(u);return}o.done?n(c):Promise.resolve(c).then(e,r)}function qa(t){return function(){var n=this,a=arguments;return new Promise(function(e,r){var i=t.apply(n,a);function s(c){zs(i,e,r,s,o,"next",c)}function o(c){zs(i,e,r,s,o,"throw",c)}s(void 0)})}}function Sn(t,n,a){return hc()?Sn=Reflect.construct:Sn=function(r,i,s){var o=[null];o.push.apply(o,i);var c=Function.bind.apply(r,o),u=new c;return s&&Pr(u,s.prototype),u},Sn.apply(null,arguments)}function td(t,n){for(var a=0;a<n.length;a++){var e=n[a];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function ve(t,n,a){return n&&td(t.prototype,n),t}function H(){return H=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(t[e]=a[e])}return t},H.apply(this,arguments)}function Zi(t){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)},Zi(t)}function Ce(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&Pr(t,n)}function M(t,n){return n!=null&&typeof Symbol<"u"&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](t):t instanceof n}function rd(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Rr(t,n){if(t==null)return{};var a={},e=Object.keys(t),r,i;for(i=0;i<e.length;i++)r=e[i],!(n.indexOf(r)>=0)&&(a[r]=t[r]);return a}function Pr(t,n){return Pr=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e},Pr(t,n)}function $(t){"@swc/helpers - typeof";return t&&typeof Symbol<"u"&&t.constructor===Symbol?"symbol":typeof t}function nd(t,n){if(t){if(typeof t=="string")return Vs(t,n);var a=Object.prototype.toString.call(t).slice(8,-1);if(a==="Object"&&t.constructor&&(a=t.constructor.name),a==="Map"||a==="Set")return Array.from(a);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Vs(t,n)}}function xn(t){var n=typeof Map=="function"?new Map:void 0;return xn=function(e){if(e===null||!rd(e))return e;if(typeof e!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(e))return n.get(e);n.set(e,r)}function r(){return Sn(e,arguments,Zi(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Pr(r,e)},xn(t)}function hc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(hc=function(){return!!t})()}function T(t,n){var a=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(a)return(a=a.call(t)).next.bind(a);if(Array.isArray(t)||(a=nd(t))||n){a&&(t=a);var e=0;return function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Or(t,n){var a,e,r,i,s={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(u){return function(l){return c([u,l])}}function c(u){if(a)throw new TypeError("Generator is already executing.");for(;s;)try{if(a=1,e&&(r=u[0]&2?e.return:u[0]?e.throw||((r=e.return)&&r.call(e),0):e.next)&&!(r=r.call(e,u[1])).done)return r;switch(e=0,r&&(u=[u[0]&2,r.value]),u[0]){case 0:case 1:r=u;break;case 4:return s.label++,{value:u[1],done:!1};case 5:s.label++,e=u[1],u=[0];continue;case 7:u=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(u[0]===6||u[0]===2)){s=0;continue}if(u[0]===3&&(!r||u[1]>r[0]&&u[1]<r[3])){s.label=u[1];break}if(u[0]===6&&s.label<r[1]){s.label=r[1],r=u;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(u);break}r[2]&&s.ops.pop(),s.trys.pop();continue}u=n.call(t,s)}catch(l){u=[6,l],e=0}finally{a=r=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function pc(t){var n=typeof Symbol=="function"&&Symbol.iterator,a=n&&t[n],e=0;if(a)return a.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}var id=Object.defineProperty,ad=function(t,n,a){return n in t?id(t,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[n]=a},E=function(t,n,a){return ad(t,(typeof n>"u"?"undefined":$(n))!=="symbol"?n+"":n,a)},Ws,sd=Object.defineProperty,od=function(t,n,a){return n in t?sd(t,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[n]=a},qs=function(t,n,a){return od(t,(typeof n>"u"?"undefined":$(n))!=="symbol"?n+"":n,a)},_e=function(t){return t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment",t}(_e||{}),Gs={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},js={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Xr={},cd=function(){return!!globalThis.Zone};function Ga(t){if(Xr[t])return Xr[t];var n=globalThis[t],a=n.prototype,e=t in Gs?Gs[t]:void 0,r=!!(e&&e.every(function(l){var d,f;return!!((f=(d=Object.getOwnPropertyDescriptor(a,l))==null?void 0:d.get)!=null&&f.toString().includes("[native code]"))})),i=t in js?js[t]:void 0,s=!!(i&&i.every(function(l){var d;return typeof a[l]=="function"&&((d=a[l])==null?void 0:d.toString().includes("[native code]"))}));if(r&&s&&!cd())return Xr[t]=n.prototype,n.prototype;try{var o=document.createElement("iframe");document.body.appendChild(o);var c=o.contentWindow;if(!c)return n.prototype;var u=c[t].prototype;return document.body.removeChild(o),u?Xr[t]=u:a}catch{return a}}var Ei={};function dt(t,n,a){var e,r=t+"."+String(a);if(Ei[r])return Ei[r].call(n);var i=Ga(t),s=(e=Object.getOwnPropertyDescriptor(i,a))==null?void 0:e.get;return s?(Ei[r]=s,s.call(n)):n[a]}var Ti={};function _c(t,n,a){var e=t+"."+String(a);if(Ti[e])return Ti[e].bind(n);var r=Ga(t),i=r[a];return typeof i!="function"?n[a]:(Ti[e]=i,i.bind(n))}function ud(t){return dt("Node",t,"childNodes")}function ld(t){return dt("Node",t,"parentNode")}function dd(t){return dt("Node",t,"parentElement")}function fd(t){return dt("Node",t,"textContent")}function hd(t,n){return _c("Node",t,"contains")(n)}function pd(t){return _c("Node",t,"getRootNode")()}function _d(t){return!t||!("host"in t)?null:dt("ShadowRoot",t,"host")}function md(t){return t.styleSheets}function gd(t){return!t||!("shadowRoot"in t)?null:dt("Element",t,"shadowRoot")}function vd(t,n){return dt("Element",t,"querySelector")(n)}function yd(t,n){return dt("Element",t,"querySelectorAll")(n)}function bd(){return Ga("MutationObserver").constructor}function Cd(t,n,a){try{if(!(n in t))return function(){};var e=t[n],r=a(e);return typeof r=="function"&&(r.prototype=r.prototype||{},Object.defineProperties(r,{__rrweb_original__:{enumerable:!1,value:e}})),t[n]=r,function(){t[n]=e}}catch{return function(){}}}var be={childNodes:ud,parentNode:ld,parentElement:dd,textContent:fd,contains:hd,getRootNode:pd,host:_d,styleSheets:md,shadowRoot:gd,querySelector:vd,querySelectorAll:yd,mutationObserver:bd,patch:Cd};function mc(t){return t.nodeType===t.ELEMENT_NODE}function Cr(t){var n=t&&"host"in t&&"mode"in t&&be.host(t)||null;return!!(n&&"shadowRoot"in n&&be.shadowRoot(n)===t)}function kr(t){return Object.prototype.toString.call(t)==="[object ShadowRoot]"}function kd(t){return t.includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t}function wd(t){var n=t.cssText;if(n.split('"').length<3)return n;var a=["@import","url("+JSON.stringify(t.href)+")"];return t.layerName===""?a.push("layer"):t.layerName&&a.push("layer("+t.layerName+")"),t.supportsText&&a.push("supports("+t.supportsText+")"),t.media.length&&a.push(t.media.mediaText),a.join(" ")+";"}function Yi(t){try{var n=t.rules||t.cssRules;if(!n)return null;var a=t.href;!a&&t.ownerNode&&t.ownerNode.ownerDocument&&(a=t.ownerNode.ownerDocument.location.href);var e=Array.from(n,function(r){return gc(r,a)}).join("");return kd(e)}catch{return null}}function gc(t,n){if(Ad(t)){var a;try{a=Yi(t.styleSheet)||wd(t)}catch{a=t.cssText}return t.styleSheet.href?Bn(a,t.styleSheet.href):a}else{var e=t.cssText;return Ed(t)&&t.selectorText.includes(":")&&(e=Sd(e)),n?Bn(e,n):e}}function Sd(t){var n=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return t.replace(n,"$1\\$2")}function Ad(t){return"styleSheet"in t}function Ed(t){return"selectorText"in t}var vc=function(){function t(){qs(this,"idNodeMap",new Map),qs(this,"nodeMetaMap",new WeakMap)}var n=t.prototype;return n.getId=function(e){var r;if(!e)return-1;var i=(r=this.getMeta(e))==null?void 0:r.id;return i??-1},n.getNode=function(e){return this.idNodeMap.get(e)||null},n.getIds=function(){return Array.from(this.idNodeMap.keys())},n.getMeta=function(e){return this.nodeMetaMap.get(e)||null},n.removeNodeFromMap=function(e){var r=this,i=this.getId(e);this.idNodeMap.delete(i),e.childNodes&&e.childNodes.forEach(function(s){return r.removeNodeFromMap(s)})},n.has=function(e){return this.idNodeMap.has(e)},n.hasNode=function(e){return this.nodeMetaMap.has(e)},n.add=function(e,r){var i=r.id;this.idNodeMap.set(i,e),this.nodeMetaMap.set(e,r)},n.replace=function(e,r){var i=this.getNode(e);if(i){var s=this.nodeMetaMap.get(i);s&&this.nodeMetaMap.set(r,s)}this.idNodeMap.set(e,r)},n.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},t}();function Td(){return new vc}function Mn(t){var n=t.element,a=t.maskInputOptions,e=t.tagName,r=t.type,i=t.value,s=t.maskInputFn,o=i||"",c=r&&Ot(r);return(a[e.toLowerCase()]||c&&a[c])&&(s?o=s(o,n):o="*".repeat(o.length)),o}function Ot(t){return t.toLowerCase()}var Hs="__rrweb_original__";function Rd(t){var n=t.getContext("2d");if(!n)return!0;for(var a=50,e=0;e<t.width;e+=a)for(var r=0;r<t.height;r+=a){var i=n.getImageData,s=Hs in i?i[Hs]:i,o=new Uint32Array(s.call(n,e,r,Math.min(a,t.width-e),Math.min(a,t.height-r)).data.buffer);if(o.some(function(c){return c!==0}))return!1}return!0}function Dn(t){var n=t.type;return t.hasAttribute("data-rr-is-password")?"password":n?Ot(n):null}function yc(t,n){var a;try{a=new URL(t,n??window.location.href)}catch{return null}var e=/\.([0-9a-z]+)(?:$)/i,r=a.pathname.match(e),i;return(i=r?.[1])!=null?i:null}function Pd(t){var n="";return t.indexOf("//")>-1?n=t.split("/").slice(0,3).join("/"):n=t.split("/")[0],n=n.split("?")[0],n}var Od=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Id=/^(?:[a-z+]+:)?\/\//i,xd=/^www\..*/i,Md=/^(data:)([^,]*),(.*)/i;function Bn(t,n){return(t||"").replace(Od,function(a,e,r,i,s,o){var c=r||s||o,u=e||i||"";if(!c)return a;if(Id.test(c)||xd.test(c)||Md.test(c))return"url("+u+c+u+")";if(c[0]==="/")return"url("+u+(Pd(n)+c)+u+")";var l=n.split("/"),d=c.split("/");l.pop();for(var f=T(d),m;!(m=f()).done;){var _=m.value;_!=="."&&(_===".."?l.pop():l.push(_))}return"url("+u+l.join("/")+u+")"})}function Qr(t,n){return n===void 0&&(n=!1),n?t.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):t.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function Dd(t,n,a){a===void 0&&(a=!1);var e=Array.from(n.childNodes),r=[],i=0;if(e.length>1&&t&&typeof t=="string"){for(var s=Qr(t,a),o=s.length/t.length,c=1;c<e.length;c++)if(e[c].textContent&&typeof e[c].textContent=="string"){for(var u=Qr(e[c].textContent,a),l=100,d=3;d<u.length&&(u[d].match(/[a-zA-Z0-9]/)||u.indexOf(u.substring(0,d),1)!==-1);d++);for(;d<u.length;d++){var f=u.substring(0,d),m=s.split(f),_=-1;if(m.length===2)_=m[0].length;else if(m.length>2&&m[0]===""&&e[c-1].textContent!=="")_=s.indexOf(f,1);else if(m.length===1){if(f=f.substring(0,f.length-1),m=s.split(f),m.length<=1)return r.push(t),r;d=l+1}else d===u.length-1&&(_=s.indexOf(f));if(m.length>=2&&d>l){var g=e[c-1].textContent;if(g&&typeof g=="string"){var p=Qr(g).length;_=s.indexOf(f,p)}_===-1&&(_=m[0].length)}if(_!==-1){for(var v=Math.floor(_/o);v>0&&v<t.length;){if(i+=1,i>50*e.length)return r.push(t),r;var y=Qr(t.substring(0,v),a);if(y.length===_){r.push(t.substring(0,v)),t=t.substring(v),s=s.substring(_);break}else y.length<_?v+=Math.max(1,Math.floor((_-y.length)/o)):v-=Math.max(1,Math.floor((y.length-_)*o))}break}}}}return r.push(t),r}function Bd(t,n){return Dd(t,n).join("/* rr_split */")}var Ld=1,Nd=new RegExp("[^a-z0-9-_:]"),Ir=-2;function bc(){return Ld++}function Fd(t){if(M(t,HTMLFormElement))return"form";var n=Ot(t.tagName);return Nd.test(n)?"div":n}var Vt,Js,$d=/^[^ \t\n\r\u000c]+/,Ud=/^[, \t\n\r\u000c]+/;function Vd(t,n){if(n.trim()==="")return n;var a=0;function e(u){var l,d=u.exec(n.substring(a));return d?(l=d[0],a+=l.length,l):""}for(var r=[];e(Ud),!(a>=n.length);){var i=e($d);if(i.slice(-1)===",")i=jt(t,i.substring(0,i.length-1)),r.push(i);else{var s="";i=jt(t,i);for(var o=!1;;){var c=n.charAt(a);if(c===""){r.push((i+s).trim());break}else if(o)c===")"&&(o=!1);else if(c===","){a+=1,r.push((i+s).trim());break}else c==="("&&(o=!0);s+=c,a+=1}}}return r.join(", ")}var Zs=new WeakMap;function jt(t,n){return!n||n.trim()===""?n:ja(t,n)}function zd(t){return!!(t.tagName==="svg"||t.ownerSVGElement)}function ja(t,n){var a=Zs.get(t);if(a||(a=t.createElement("a"),Zs.set(t,a)),!n)n="";else if(n.startsWith("blob:")||n.startsWith("data:"))return n;return a.setAttribute("href",n),a.href}function Cc(t,n,a,e){return e&&(a==="src"||a==="href"&&!(n==="use"&&e[0]==="#")||a==="xlink:href"&&e[0]!=="#"||a==="background"&&(n==="table"||n==="td"||n==="th")?jt(t,e):a==="srcset"?Vd(t,e):a==="style"?Bn(e,ja(t)):n==="object"&&a==="data"?jt(t,e):e)}function kc(t,n,a){return(t==="video"||t==="audio")&&n==="autoplay"}function Wd(t,n,a){try{if(typeof n=="string"){if(t.classList.contains(n))return!0}else for(var e=t.classList.length;e--;){var r=t.classList[e];if(n.test(r))return!0}if(a)return t.matches(a)}catch{}return!1}function Ln(t,n,a){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return a?Ln(be.parentNode(t),n,a):!1;for(var e=t.classList.length;e--;){var r=t.classList[e];if(n.test(r))return!0}return a?Ln(be.parentNode(t),n,a):!1}function wc(t,n,a,e){var r;if(mc(t)){if(r=t,!be.childNodes(r).length)return!1}else{if(be.parentElement(t)===null)return!1;r=be.parentElement(t)}try{if(typeof n=="string"){if(e){if(r.closest("."+n))return!0}else if(r.classList.contains(n))return!0}else if(Ln(r,n,e))return!0;if(a){if(e){if(r.closest(a))return!0}else if(r.matches(a))return!0}}catch{}return!1}function qd(t,n,a){var e=t.contentWindow;if(e){var r=!1,i;try{i=e.document.readyState}catch{return}if(i!=="complete"){var s=setTimeout(function(){r||(n(),r=!0)},a);t.addEventListener("load",function(){clearTimeout(s),r=!0,n()});return}var o="about:blank";if(e.location.href!==o||t.src===o||t.src==="")return setTimeout(n,0),t.addEventListener("load",n);t.addEventListener("load",n)}}function Gd(t,n,a){var e=!1,r;try{r=t.sheet}catch{return}if(!r){var i=setTimeout(function(){e||(n(),e=!0)},a);t.addEventListener("load",function(){clearTimeout(i),e=!0,n()})}}function jd(t,n){var a=n.doc,e=n.mirror,r=n.blockClass,i=n.blockSelector,s=n.needsMask,o=n.inlineStylesheet,c=n.maskInputOptions,u=c===void 0?{}:c,l=n.maskTextFn,d=n.maskInputFn,f=n.dataURLOptions,m=f===void 0?{}:f,_=n.inlineImages,g=n.recordCanvas,p=n.keepIframeSrcFn,v=n.newlyAddedElement,y=v===void 0?!1:v,b=n.cssCaptured,k=b===void 0?!1:b,w=Hd(a,e);switch(t.nodeType){case t.DOCUMENT_NODE:return t.compatMode!=="CSS1Compat"?{type:_e.Document,childNodes:[],compatMode:t.compatMode}:{type:_e.Document,childNodes:[]};case t.DOCUMENT_TYPE_NODE:return{type:_e.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:w};case t.ELEMENT_NODE:return Zd(t,{doc:a,blockClass:r,blockSelector:i,inlineStylesheet:o,maskInputOptions:u,maskInputFn:d,dataURLOptions:m,inlineImages:_,recordCanvas:g,keepIframeSrcFn:p,newlyAddedElement:y,rootId:w});case t.TEXT_NODE:return Jd(t,{doc:a,needsMask:s,maskTextFn:l,rootId:w,cssCaptured:k});case t.CDATA_SECTION_NODE:return{type:_e.CDATA,textContent:"",rootId:w};case t.COMMENT_NODE:return{type:_e.Comment,textContent:be.textContent(t)||"",rootId:w};default:return!1}}function Hd(t,n){if(n.hasNode(t)){var a=n.getId(t);return a===1?void 0:a}}function Jd(t,n){var a=n.needsMask,e=n.maskTextFn,r=n.rootId,i=n.cssCaptured,s=be.parentNode(t),o=s&&s.tagName,c="",u=o==="STYLE"?!0:void 0,l=o==="SCRIPT"?!0:void 0;return l?c="SCRIPT_PLACEHOLDER":i||(c=be.textContent(t),u&&c&&(c=Bn(c,ja(n.doc)))),!u&&!l&&c&&a&&(c=e?e(c,be.parentElement(t)):c.replace(/[\S]/g,"*")),{type:_e.Text,textContent:c||"",rootId:r}}function Zd(t,n){for(var a=n.doc,e=n.blockClass,r=n.blockSelector,i=n.inlineStylesheet,s=n.maskInputOptions,o=s===void 0?{}:s,c=n.maskInputFn,u=n.dataURLOptions,l=u===void 0?{}:u,d=n.inlineImages,f=n.recordCanvas,m=n.keepIframeSrcFn,_=n.newlyAddedElement,g=_===void 0?!1:_,p=n.rootId,v=Wd(t,e,r),y=Fd(t),b={},k=t.attributes.length,w=0;w<k;w++){var S=t.attributes[w];kc(y,S.name,S.value)||(b[S.name]=Cc(a,y,Ot(S.name),S.value))}if(y==="link"&&i){var R=Array.from(a.styleSheets).find(function(Ie){return Ie.href===t.href}),P=null;R&&(P=Yi(R)),P&&(delete b.rel,delete b.href,b._cssText=P)}if(y==="style"&&t.sheet){var O=Yi(t.sheet);O&&(t.childNodes.length>1&&(O=Bd(O,t)),b._cssText=O)}if(y==="input"||y==="textarea"||y==="select"){var L=t.value,x=t.checked;b.type!=="radio"&&b.type!=="checkbox"&&b.type!=="submit"&&b.type!=="button"&&L?b.value=Mn({element:t,type:Dn(t),tagName:y,value:L,maskInputOptions:o,maskInputFn:c}):x&&(b.checked=x)}if(y==="option"&&(t.selected&&!o.select?b.selected=!0:delete b.selected),y==="dialog"&&t.open&&(b.rr_open_mode=t.matches("dialog:modal")?"modal":"non-modal"),y==="canvas"&&f){if(t.__context==="2d")Rd(t)||(b.rr_dataURL=t.toDataURL(l.type,l.quality));else if(!("__context"in t)){var F=t.toDataURL(l.type,l.quality),J=a.createElement("canvas");J.width=t.width,J.height=t.height;var Ee=J.toDataURL(l.type,l.quality);F!==Ee&&(b.rr_dataURL=F)}}if(y==="img"&&d){Vt||(Vt=a.createElement("canvas"),Js=Vt.getContext("2d"));var Y=t,Pe=Y.currentSrc||Y.getAttribute("src")||"<unknown-src>",ke=Y.crossOrigin,oe=function(){Y.removeEventListener("load",oe);try{Vt.width=Y.naturalWidth,Vt.height=Y.naturalHeight,Js.drawImage(Y,0,0),b.rr_dataURL=Vt.toDataURL(l.type,l.quality)}catch(Ie){if(Y.crossOrigin!=="anonymous"){Y.crossOrigin="anonymous",Y.complete&&Y.naturalWidth!==0?oe():Y.addEventListener("load",oe);return}else console.warn("Cannot inline img src="+Pe+"! Error: "+Ie)}Y.crossOrigin==="anonymous"&&(ke?b.crossOrigin=ke:Y.removeAttribute("crossorigin"))};Y.complete&&Y.naturalWidth!==0?oe():Y.addEventListener("load",oe)}if(y==="audio"||y==="video"){var ge=b;ge.rr_mediaState=t.paused?"paused":"played",ge.rr_mediaCurrentTime=t.currentTime,ge.rr_mediaPlaybackRate=t.playbackRate,ge.rr_mediaMuted=t.muted,ge.rr_mediaLoop=t.loop,ge.rr_mediaVolume=t.volume}if(g||(t.scrollLeft&&(b.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(b.rr_scrollTop=t.scrollTop)),v){var Oe=t.getBoundingClientRect(),yt=Oe.width,$e=Oe.height;b={class:b.class,rr_width:""+yt+"px",rr_height:""+$e+"px"}}y==="iframe"&&!m(b.src)&&(t.contentDocument||(b.rr_src=b.src),delete b.src);var Nt;try{customElements.get(y)&&(Nt=!0)}catch{}return{type:_e.Element,tagName:y,attributes:b,childNodes:[],isSVG:zd(t)||void 0,needBlock:v,rootId:p,isCustom:Nt}}function ee(t){return t==null?"":t.toLowerCase()}function Yd(t,n){if(n.comment&&t.type===_e.Comment)return!0;if(t.type===_e.Element){if(n.script&&(t.tagName==="script"||t.tagName==="link"&&(t.attributes.rel==="preload"&&t.attributes.as==="script"||t.attributes.rel==="modulepreload")||t.tagName==="link"&&t.attributes.rel==="prefetch"&&typeof t.attributes.href=="string"&&yc(t.attributes.href)==="js"))return!0;if(n.headFavicon&&(t.tagName==="link"&&t.attributes.rel==="shortcut icon"||t.tagName==="meta"&&(ee(t.attributes.name).match(/^msapplication-tile(image|color)$/)||ee(t.attributes.name)==="application-name"||ee(t.attributes.rel)==="icon"||ee(t.attributes.rel)==="apple-touch-icon"||ee(t.attributes.rel)==="shortcut icon")))return!0;if(t.tagName==="meta"){if(n.headMetaDescKeywords&&ee(t.attributes.name).match(/^description|keywords$/))return!0;if(n.headMetaSocial&&(ee(t.attributes.property).match(/^(og|twitter|fb):/)||ee(t.attributes.name).match(/^(og|twitter):/)||ee(t.attributes.name)==="pinterest"))return!0;if(n.headMetaRobots&&(ee(t.attributes.name)==="robots"||ee(t.attributes.name)==="googlebot"||ee(t.attributes.name)==="bingbot"))return!0;if(n.headMetaHttpEquiv&&t.attributes["http-equiv"]!==void 0)return!0;if(n.headMetaAuthorship&&(ee(t.attributes.name)==="author"||ee(t.attributes.name)==="generator"||ee(t.attributes.name)==="framework"||ee(t.attributes.name)==="publisher"||ee(t.attributes.name)==="progid"||ee(t.attributes.property).match(/^article:/)||ee(t.attributes.property).match(/^product:/)))return!0;if(n.headMetaVerification&&(ee(t.attributes.name)==="google-site-verification"||ee(t.attributes.name)==="yandex-verification"||ee(t.attributes.name)==="csrf-token"||ee(t.attributes.name)==="p:domain_verify"||ee(t.attributes.name)==="verify-v1"||ee(t.attributes.name)==="verification"||ee(t.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Ht(t,n){var a=n.doc,e=n.mirror,r=n.blockClass,i=n.blockSelector,s=n.maskTextClass,o=n.maskTextSelector,c=n.skipChild,u=c===void 0?!1:c,l=n.inlineStylesheet,d=l===void 0?!0:l,f=n.maskInputOptions,m=f===void 0?{}:f,_=n.maskTextFn,g=n.maskInputFn,p=n.slimDOMOptions,v=n.dataURLOptions,y=v===void 0?{}:v,b=n.inlineImages,k=b===void 0?!1:b,w=n.recordCanvas,S=w===void 0?!1:w,R=n.onSerialize,P=n.onIframeLoad,O=n.iframeLoadTimeout,L=O===void 0?5e3:O,x=n.onStylesheetLoad,F=n.stylesheetLoadTimeout,J=F===void 0?5e3:F,Ee=n.keepIframeSrcFn,Y=Ee===void 0?function(){return!1}:Ee,Pe=n.newlyAddedElement,ke=Pe===void 0?!1:Pe,oe=n.cssCaptured,ge=oe===void 0?!1:oe,Oe=n.needsMask,yt=n.preserveWhiteSpace,$e=yt===void 0?!0:yt;if(!Oe){var Nt=Oe===void 0;Oe=wc(t,s,o,Nt)}var Ie=jd(t,{doc:a,mirror:e,blockClass:r,blockSelector:i,needsMask:Oe,inlineStylesheet:d,maskInputOptions:m,maskTextFn:_,maskInputFn:g,dataURLOptions:y,inlineImages:k,recordCanvas:S,keepIframeSrcFn:Y,newlyAddedElement:ke,cssCaptured:ge});if(!Ie)return console.warn(t,"not serialized"),null;var bt;e.hasNode(t)?bt=e.getId(t):Yd(Ie,p)||!$e&&Ie.type===_e.Text&&!Ie.textContent.replace(/^\s+|\s+$/gm,"").length?bt=Ir:bt=bc();var Z=Object.assign(Ie,{id:bt});if(e.add(t,Z),bt===Ir)return null;R&&R(t);var Ct=!u;if(Z.type===_e.Element){Ct=Ct&&!Z.needBlock,delete Z.needBlock;var kt=be.shadowRoot(t);kt&&kr(kt)&&(Z.isShadowHost=!0)}if((Z.type===_e.Document||Z.type===_e.Element)&&Ct){p.headWhitespace&&Z.type===_e.Element&&Z.tagName==="head"&&($e=!1);var Ft={doc:a,mirror:e,blockClass:r,blockSelector:i,needsMask:Oe,maskTextClass:s,maskTextSelector:o,skipChild:u,inlineStylesheet:d,maskInputOptions:m,maskTextFn:_,maskInputFn:g,slimDOMOptions:p,dataURLOptions:y,inlineImages:k,recordCanvas:S,preserveWhiteSpace:$e,onSerialize:R,onIframeLoad:P,iframeLoadTimeout:L,onStylesheetLoad:x,stylesheetLoadTimeout:J,keepIframeSrcFn:Y,cssCaptured:!1};if(!(Z.type===_e.Element&&Z.tagName==="textarea"&&Z.attributes.value!==void 0)){Z.type===_e.Element&&Z.attributes._cssText!==void 0&&typeof Z.attributes._cssText=="string"&&(Ft.cssCaptured=!0);for(var dr=T(Array.from(be.childNodes(t))),fr;!(fr=dr()).done;){var ki=fr.value,Yr=Ht(ki,Ft);Yr&&Z.childNodes.push(Yr)}}var nt=null;if(mc(t)&&(nt=be.shadowRoot(t)))for(var wt=T(Array.from(be.childNodes(nt))),$t;!($t=wt()).done;){var hr=$t.value,Ut=Ht(hr,Ft);Ut&&(kr(nt)&&(Ut.isShadow=!0),Z.childNodes.push(Ut))}}var St=be.parentNode(t);return St&&Cr(St)&&kr(St)&&(Z.isShadow=!0),Z.type===_e.Element&&Z.tagName==="iframe"&&qd(t,function(){var He=t.contentDocument;if(He&&P){var At=Ht(He,{doc:He,mirror:e,blockClass:r,blockSelector:i,needsMask:Oe,maskTextClass:s,maskTextSelector:o,skipChild:!1,inlineStylesheet:d,maskInputOptions:m,maskTextFn:_,maskInputFn:g,slimDOMOptions:p,dataURLOptions:y,inlineImages:k,recordCanvas:S,preserveWhiteSpace:$e,onSerialize:R,onIframeLoad:P,iframeLoadTimeout:L,onStylesheetLoad:x,stylesheetLoadTimeout:J,keepIframeSrcFn:Y});At&&P(t,At)}},L),Z.type===_e.Element&&Z.tagName==="link"&&typeof Z.attributes.rel=="string"&&(Z.attributes.rel==="stylesheet"||Z.attributes.rel==="preload"&&typeof Z.attributes.href=="string"&&yc(Z.attributes.href)==="css")&&Gd(t,function(){if(x){var He=Ht(t,{doc:a,mirror:e,blockClass:r,blockSelector:i,needsMask:Oe,maskTextClass:s,maskTextSelector:o,skipChild:!1,inlineStylesheet:d,maskInputOptions:m,maskTextFn:_,maskInputFn:g,slimDOMOptions:p,dataURLOptions:y,inlineImages:k,recordCanvas:S,preserveWhiteSpace:$e,onSerialize:R,onIframeLoad:P,iframeLoadTimeout:L,onStylesheetLoad:x,stylesheetLoadTimeout:J,keepIframeSrcFn:Y});He&&x(t,He)}},J),Z}function Kd(t,n){var a=n||{},e=a.mirror,r=e===void 0?new vc:e,i=a.blockClass,s=i===void 0?"rr-block":i,o=a.blockSelector,c=o===void 0?null:o,u=a.maskTextClass,l=u===void 0?"rr-mask":u,d=a.maskTextSelector,f=d===void 0?null:d,m=a.inlineStylesheet,_=m===void 0?!0:m,g=a.inlineImages,p=g===void 0?!1:g,v=a.recordCanvas,y=v===void 0?!1:v,b=a.maskAllInputs,k=b===void 0?!1:b,w=a.maskTextFn,S=a.maskInputFn,R=a.slimDOM,P=R===void 0?!1:R,O=a.dataURLOptions,L=a.preserveWhiteSpace,x=a.onSerialize,F=a.onIframeLoad,J=a.iframeLoadTimeout,Ee=a.onStylesheetLoad,Y=a.stylesheetLoadTimeout,Pe=a.keepIframeSrcFn,ke=Pe===void 0?function(){return!1}:Pe,oe=k===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:k===!1?{password:!0}:k,ge=P===!0||P==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:P==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:P===!1?{}:P;return Ht(t,{doc:t,mirror:r,blockClass:s,blockSelector:c,maskTextClass:l,maskTextSelector:f,skipChild:!1,inlineStylesheet:_,maskInputOptions:oe,maskTextFn:w,maskInputFn:S,slimDOMOptions:ge,dataURLOptions:O,inlineImages:p,recordCanvas:y,preserveWhiteSpace:L,onSerialize:x,onIframeLoad:F,iframeLoadTimeout:J,onStylesheetLoad:Ee,stylesheetLoadTimeout:Y,keepIframeSrcFn:ke,newlyAddedElement:!1})}function Xd(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Qd(t){if(t.__esModule)return t;var n=t.default;if(typeof n=="function"){var a=function e(){return M(this,e)?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};a.prototype=n.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(a,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}),a}var Ha={exports:{}},re=String,Sc=function(){return{isColorSupported:!1,reset:re,bold:re,dim:re,italic:re,underline:re,inverse:re,hidden:re,strikethrough:re,black:re,red:re,green:re,yellow:re,blue:re,magenta:re,cyan:re,white:re,gray:re,bgBlack:re,bgRed:re,bgGreen:re,bgYellow:re,bgBlue:re,bgMagenta:re,bgCyan:re,bgWhite:re}};Ha.exports=Sc();Ha.exports.createColors=Sc;var ef=Ha.exports,tf={},rf=Object.freeze(Object.defineProperty({__proto__:null,default:tf},Symbol.toStringTag,{value:"Module"})),le=Qd(rf),Ys=ef,Ks=le,Ki=function(t){Ce(n,t);function n(e,r,i,s,o,c){var u;return u=t.call(this,e)||this,u.name="CssSyntaxError",u.reason=e,o&&(u.file=o),s&&(u.source=s),c&&(u.plugin=c),typeof r<"u"&&typeof i<"u"&&(typeof r=="number"?(u.line=r,u.column=i):(u.line=r.line,u.column=r.column,u.endLine=i.line,u.endColumn=i.column)),u.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(u,n),u}var a=n.prototype;return a.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},a.showSourceCode=function(r){var i=this;if(!this.source)return"";var s=this.source;r==null&&(r=Ys.isColorSupported),Ks&&r&&(s=Ks(s));var o=s.split(/\r?\n/),c=Math.max(this.line-3,0),u=Math.min(this.line+2,o.length),l=String(u).length,d,f;if(r){var m=Ys.createColors(!0),_=m.bold,g=m.gray,p=m.red;d=function(v){return _(p(v))},f=function(v){return g(v)}}else d=f=function(v){return v};return o.slice(c,u).map(function(v,y){var b=c+1+y,k=" "+(" "+b).slice(-l)+" | ";if(b===i.line){var w=f(k.replace(/\d/g," "))+v.slice(0,i.column-1).replace(/[^\t]/g," ");return d(">")+f(k)+v+`
|
|
2
2
|
`+w+d("^")}return" "+f(k)+v}).join(`
|
|
3
3
|
`)},a.toString=function(){var r=this.showSourceCode();return r&&(r=`
|
|
4
4
|
|
|
@@ -65,4 +65,4 @@ End of stack for Error object`:c.name+": "+c.message}return c});function i(o){re
|
|
|
65
65
|
`+f+"]":"["+m.join(",")+"]",s=f,l}for(u in _)vi.call(_,u)&&(l=e(u,_),l&&m.push(a(u)+(s?": ":":")+l));return l=m.length===0?"{}":s?"{"+m.join(",")+f+"}":"{"+m.join(",")+"}",s=f,l}};return e("",{"":n})}}();h.JSONDecode=function(){var t,n,a={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
|
|
66
66
|
`,r:"\r",t:" "},e,r=function(m){var _=new SyntaxError(m);throw _.at=t,_.text=e,_},i=function(m){return m&&m!==n&&r("Expected '"+m+"' instead of '"+n+"'"),n=e.charAt(t),t+=1,n},s=function(){var m,_="";for(n==="-"&&(_="-",i("-"));n>="0"&&n<="9";)_+=n,i();if(n===".")for(_+=".";i()&&n>="0"&&n<="9";)_+=n;if(n==="e"||n==="E")for(_+=n,i(),(n==="-"||n==="+")&&(_+=n,i());n>="0"&&n<="9";)_+=n,i();if(m=+_,!isFinite(m))r("Bad number");else return m},o=function(){var m,_,g="",p;if(n==='"')for(;i();){if(n==='"')return i(),g;if(n==="\\")if(i(),n==="u"){for(p=0,_=0;_<4&&(m=parseInt(i(),16),!!isFinite(m));_+=1)p=p*16+m;g+=String.fromCharCode(p)}else if(typeof a[n]=="string")g+=a[n];else break;else g+=n}r("Bad string")},c=function(){for(;n&&n<=" ";)i()},u=function(){switch(n){case"t":return i("t"),i("r"),i("u"),i("e"),!0;case"f":return i("f"),i("a"),i("l"),i("s"),i("e"),!1;case"n":return i("n"),i("u"),i("l"),i("l"),null}r('Unexpected "'+n+'"')},l,d=function(){var m=[];if(n==="["){if(i("["),c(),n==="]")return i("]"),m;for(;n;){if(m.push(l()),c(),n==="]")return i("]"),m;i(","),c()}}r("Bad array")},f=function(){var m,_={};if(n==="{"){if(i("{"),c(),n==="}")return i("}"),_;for(;n;){if(m=o(),c(),i(":"),Object.hasOwnProperty.call(_,m)&&r('Duplicate key "'+m+'"'),_[m]=l(),c(),n==="}")return i("}"),_;i(","),c()}}r("Bad object")};return l=function(){switch(c(),n){case"{":return f();case"[":return d();case'"':return o();case"-":return s();default:return n>="0"&&n<="9"?s():u()}},function(m){var _;return e=m,t=0,n=" ",_=l(),c(),n&&r("Syntax error"),_}}();h.base64Encode=function(t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a,e,r,i,s,o,c,u,l=0,d=0,f="",m=[];if(!t)return t;t=h.utf8Encode(t);do a=t.charCodeAt(l++),e=t.charCodeAt(l++),r=t.charCodeAt(l++),u=a<<16|e<<8|r,i=u>>18&63,s=u>>12&63,o=u>>6&63,c=u&63,m[d++]=n.charAt(i)+n.charAt(s)+n.charAt(o)+n.charAt(c);while(l<t.length);switch(f=m.join(""),t.length%3){case 1:f=f.slice(0,-2)+"==";break;case 2:f=f.slice(0,-1)+"=";break}return f};h.utf8Encode=function(t){t=(t+"").replace(/\r\n/g,`
|
|
67
67
|
`).replace(/\r/g,`
|
|
68
|
-
`);var n="",a,e,r=0,i;for(a=e=0,r=t.length,i=0;i<r;i++){var s=t.charCodeAt(i),o=null;s<128?e++:s>127&&s<2048?o=String.fromCharCode(s>>6|192,s&63|128):o=String.fromCharCode(s>>12|224,s>>6&63|128,s&63|128),o!==null&&(e>a&&(n+=t.substring(a,e)),n+=o,a=e=i+1)}return e>a&&(n+=t.substring(a,t.length)),n};h.UUID=function(){try{return A.crypto.randomUUID()}catch{for(var t=new Array(36),n=0;n<36;n++)t[n]=Math.floor(Math.random()*16);return t[14]=4,t[19]=t[19]&=-5,t[19]=t[19]|=8,t[8]=t[13]=t[18]=t[23]="-",h.map(t,function(e){return e.toString(16)}).join("")}};var Ko=["ahrefsbot","ahrefssiteaudit","amazonbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandex","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];h.isBlockedUA=function(t){var n;for(t=t.toLowerCase(),n=0;n<Ko.length;n++)if(t.indexOf(Ko[n])!==-1)return!0;return!1};h.HTTPBuildQuery=function(t,n){var a,e,r=[];return h.isUndefined(n)&&(n="&"),h.each(t,function(i,s){a=encodeURIComponent(i.toString()),e=encodeURIComponent(s),r[r.length]=e+"="+a}),r.join(n)};h.getQueryParam=function(t,n){n=n.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var a="[\\?&]"+n+"=([^&#]*)",e=new RegExp(a),r=e.exec(t);if(r===null||r&&typeof r[1]!="string"&&r[1].length)return"";var i=r[1];try{i=decodeURIComponent(i)}catch{V.error("Skipping decoding for malformed query param: "+i)}return i.replace(/\+/g," ")};h.cookie={get:function(t){for(var n=t+"=",a=B.cookie.split(";"),e=0;e<a.length;e++){for(var r=a[e];r.charAt(0)==" ";)r=r.substring(1,r.length);if(r.indexOf(n)===0)return decodeURIComponent(r.substring(n.length,r.length))}return null},parse:function(t){var n;try{n=h.JSONDecode(h.cookie.get(t))||{}}catch{}return n},set_seconds:function(t,n,a,e,r,i,s){var o="",c="",u="";if(s)o="; domain="+s;else if(e){var l=Xo(B.location.hostname);o=l?"; domain=."+l:""}if(a){var d=new Date;d.setTime(d.getTime()+a*1e3),c="; expires="+d.toGMTString()}i&&(r=!0,u="; SameSite=None"),r&&(u+="; secure"),B.cookie=t+"="+encodeURIComponent(n)+c+"; path=/"+o+u},set:function(t,n,a,e,r,i,s){var o="",c="",u="";if(s)o="; domain="+s;else if(e){var l=Xo(B.location.hostname);o=l?"; domain=."+l:""}if(a){var d=new Date;d.setTime(d.getTime()+a*24*60*60*1e3),c="; expires="+d.toGMTString()}i&&(r=!0,u="; SameSite=None"),r&&(u+="; secure");var f=t+"="+encodeURIComponent(n)+c+"; path=/"+o+u;return B.cookie=f,f},remove:function(t,n,a){h.cookie.set(t,"",-1,n,!1,!1,a)}};var ll=function(t){var n=!0;try{var a="__mplss_"+_s(8),e="xyz";t.setItem(a,e),t.getItem(a)!==e&&(n=!1),t.removeItem(a)}catch{n=!1}return n},Gi=null,zr=function(t,n){return Gi!==null&&!n?Gi:Gi=ll(t||A.localStorage)},ji=null,Vm=function(t,n){return ji!==null&&!n?ji:ji=ll(t||A.sessionStorage)};function dl(t,n,a){var e=function(r){V.error(n+" error: "+r)};return{is_supported:function(r){var i=a(t,r);return i||V.error(n+" unsupported"),i},error:e,get:function(r){try{return t.getItem(r)}catch(i){e(i)}return null},parse:function(r){try{return h.JSONDecode(t.getItem(r))||{}}catch{}return null},set:function(r,i){try{t.setItem(r,i)}catch(s){e(s)}},remove:function(r){try{t.removeItem(r)}catch(i){e(i)}}}}h.localStorage=dl(A.localStorage,"localStorage",zr);h.sessionStorage=dl(A.sessionStorage,"sessionStorage",Vm);h.register_event=function(){var t=function(e,r,i,s,o){if(!e){V.error("No valid element provided to register_event");return}if(e.addEventListener&&!s)e.addEventListener(r,i,!!o);else{var c="on"+r,u=e[c];e[c]=n(e,i,u)}};function n(e,r,i){var s=function(o){if(o=o||a(A.event),!!o){var c=!0,u,l;return h.isFunction(i)&&(u=i(o)),l=r.call(e,o),(u===!1||l===!1)&&(c=!1),c}};return s}function a(e){return e&&(e.preventDefault=a.preventDefault,e.stopPropagation=a.stopPropagation),e}return a.preventDefault=function(){this.returnValue=!1},a.stopPropagation=function(){this.cancelBubble=!0},t}();var zm=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');h.dom_query=function(){function t(r){return r.all?r.all:r.getElementsByTagName("*")}var n=/[\t\r\n]/g;function a(r,i){var s=" "+i+" ";return(" "+r.className+" ").replace(n," ").indexOf(s)>=0}function e(r){if(!B.getElementsByTagName)return[];var i=r.split(" "),s,o,c,u,l,d,f,m,_,g,p=[B];for(d=0;d<i.length;d++){if(s=i[d].replace(/^\s+/,"").replace(/\s+$/,""),s.indexOf("#")>-1){o=s.split("#"),c=o[0];var v=o[1],y=B.getElementById(v);if(!y||c&&y.nodeName.toLowerCase()!=c)return[];p=[y];continue}if(s.indexOf(".")>-1){o=s.split("."),c=o[0];var b=o[1];for(c||(c="*"),u=[],l=0,f=0;f<p.length;f++)for(c=="*"?_=t(p[f]):_=p[f].getElementsByTagName(c),m=0;m<_.length;m++)u[l++]=_[m];for(p=[],g=0,f=0;f<u.length;f++)u[f].className&&h.isString(u[f].className)&&a(u[f],b)&&(p[g++]=u[f]);continue}var k=s.match(zm);if(k){c=k[1];var w=k[2],S=k[3],R=k[4];for(c||(c="*"),u=[],l=0,f=0;f<p.length;f++)for(c=="*"?_=t(p[f]):_=p[f].getElementsByTagName(c),m=0;m<_.length;m++)u[l++]=_[m];p=[],g=0;var P;switch(S){case"=":P=function(O){return O.getAttribute(w)==R};break;case"~":P=function(O){return O.getAttribute(w).match(new RegExp("\\b"+R+"\\b"))};break;case"|":P=function(O){return O.getAttribute(w).match(new RegExp("^"+R+"-?"))};break;case"^":P=function(O){return O.getAttribute(w).indexOf(R)===0};break;case"$":P=function(O){return O.getAttribute(w).lastIndexOf(R)==O.getAttribute(w).length-R.length};break;case"*":P=function(O){return O.getAttribute(w).indexOf(R)>-1};break;default:P=function(O){return O.getAttribute(w)}}for(p=[],g=0,f=0;f<u.length;f++)P(u[f])&&(p[g++]=u[f]);continue}for(c=s,u=[],l=0,f=0;f<p.length;f++)for(_=p[f].getElementsByTagName(c),m=0;m<_.length;m++)u[l++]=_[m];p=u}return p}return function(r){return h.isElement(r)?[r]:h.isObject(r)&&!h.isUndefined(r.length)?r:e.call(this,r)}}();var Wm=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],qm=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];h.info={campaignParams:function(t){var n="",a={};return h.each(Wm,function(e){n=h.getQueryParam(B.URL,e),n.length?a[e]=n:t!==void 0&&(a[e]=t)}),a},clickParams:function(){var t="",n={};return h.each(qm,function(a){t=h.getQueryParam(B.URL,a),t.length&&(n[a]=t)}),n},marketingParams:function(){return h.extend(h.info.campaignParams(),h.info.clickParams())},searchEngine:function(t){return t.search("https?://(.*)google.([^/?]*)")===0?"google":t.search("https?://(.*)bing.com")===0?"bing":t.search("https?://(.*)yahoo.com")===0?"yahoo":t.search("https?://(.*)duckduckgo.com")===0?"duckduckgo":null},searchInfo:function(t){var n=h.info.searchEngine(t),a=n!="yahoo"?"q":"p",e={};if(n!==null){e.$search_engine=n;var r=h.getQueryParam(t,a);r.length&&(e.mp_keyword=r)}return e},browser:function(t,n,a){return n=n||"",a||h.includes(t," OPR/")?h.includes(t,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":h.includes(t,"IEMobile")||h.includes(t,"WPDesktop")?"Internet Explorer Mobile":h.includes(t,"SamsungBrowser/")?"Samsung Internet":h.includes(t,"Edge")||h.includes(t,"Edg/")?"Microsoft Edge":h.includes(t,"FBIOS")?"Facebook Mobile":h.includes(t,"Whale/")?"Whale Browser":h.includes(t,"Chrome")?"Chrome":h.includes(t,"CriOS")?"Chrome iOS":h.includes(t,"UCWEB")||h.includes(t,"UCBrowser")?"UC Browser":h.includes(t,"FxiOS")?"Firefox iOS":h.includes(n,"Apple")?h.includes(t,"Mobile")?"Mobile Safari":"Safari":h.includes(t,"Android")?"Android Mobile":h.includes(t,"Konqueror")?"Konqueror":h.includes(t,"Firefox")?"Firefox":h.includes(t,"MSIE")||h.includes(t,"Trident/")?"Internet Explorer":h.includes(t,"Gecko")?"Mozilla":""},browserVersion:function(t,n,a){var e=h.info.browser(t,n,a),r={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/},i=r[e];if(i===void 0)return null;var s=t.match(i);return s?parseFloat(s[s.length-2]):null},os:function(){var t=ze;return/Windows/i.test(t)?/Phone/.test(t)||/WPDesktop/.test(t)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(t)?"iOS":/Android/.test(t)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Mac/i.test(t)?"Mac OS X":/Linux/.test(t)?"Linux":/CrOS/.test(t)?"Chrome OS":""},device:function(t){return/Windows Phone/i.test(t)||/WPDesktop/.test(t)?"Windows Phone":/iPad/.test(t)?"iPad":/iPod/.test(t)?"iPod Touch":/iPhone/.test(t)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Android/.test(t)?"Android":""},referringDomain:function(t){var n=t.split("/");return n.length>=3?n[2]:""},currentUrl:function(){return A.location.href},properties:function(t){return typeof t!="object"&&(t={}),h.extend(h.strip_empty_properties({$os:h.info.os(),$browser:h.info.browser(ze,Ze.vendor,br),$referrer:B.referrer,$referring_domain:h.info.referringDomain(B.referrer),$device:h.info.device(ze)}),{$current_url:h.info.currentUrl(),$browser_version:h.info.browserVersion(ze,Ze.vendor,br),$screen_height:Ho.height,$screen_width:Ho.width,mp_lib:"web",$lib_version:De.LIB_VERSION,$insert_id:_s(),time:h.timestamp()/1e3},h.strip_empty_properties(t))},people_properties:function(){return h.extend(h.strip_empty_properties({$os:h.info.os(),$browser:h.info.browser(ze,Ze.vendor,br)}),{$browser_version:h.info.browserVersion(ze,Ze.vendor,br)})},mpPageViewProperties:function(){return h.strip_empty_properties({current_page_title:B.title,current_domain:A.location.hostname,current_url_path:A.location.pathname,current_url_protocol:A.location.protocol,current_url_search:A.location.search})}};var Gm=function(t,n){var a=null,e=[];return function(r){var i=this;return e.push(r),a||(a=new G(function(s){setTimeout(function(){var o=t.apply(i,[e]);a=null,e=[],s(o)},n)})),a}},_s=function(t){var n=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return t?n.substring(0,t):n},jm=function(){var t=h.UUID().replace(/-/g,""),n=h.UUID().replace(/-/g,"").substring(0,16),a="01";return"00-"+t+"-"+n+"-"+a},Hm=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,Jm=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Xo=function(t){var n=Jm,a=t.split("."),e=a[a.length-1];(e.length>4||e==="com"||e==="org")&&(n=Hm);var r=t.match(n);return r?r[0]:""},Zm=function(){var t=A.navigator.onLine;return h.isUndefined(t)||t},ot=function(){},ar=null,Zn=null;typeof JSON<"u"&&(ar=JSON.stringify,Zn=JSON.parse);ar=ar||h.JSONEncode;Zn=Zn||h.JSONDecode;var Ym=function(t,n,a){if(!A.CompressionStream)return!1;var e=h.info.browser(t,n,a),r=h.info.browserVersion(t,n,a);return!((e==="Safari"||e==="Mobile Safari")&&r>=16.4&&r<16.6)};h.info=h.info;h.info.browser=h.info.browser;h.info.browserVersion=h.info.browserVersion;h.info.device=h.info.device;h.info.properties=h.info.properties;h.isBlockedUA=h.isBlockedUA;h.isEmptyObject=h.isEmptyObject;h.isObject=h.isObject;h.JSONDecode=h.JSONDecode;h.JSONEncode=h.JSONEncode;h.toArray=h.toArray;h.NPO=mt;var Km="mixpanelBrowserDb",fl="mixpanelRecordingEvents",ms="mixpanelRecordingRegistry",Xm=1,Qm=[fl,ms],Fe=function(t){this.dbPromise=null,this.storeName=t};Fe.prototype._openDb=function(){return new G(function(t,n){var a=A.indexedDB.open(Km,Xm);a.onerror=function(){n(a.error)},a.onsuccess=function(){t(a.result)},a.onupgradeneeded=function(e){var r=e.target.result;Qm.forEach(function(i){r.createObjectStore(i)})}})};Fe.prototype.init=function(){return A.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(t){return t instanceof A.IDBDatabase?G.resolve():G.reject(t)})):G.reject("indexedDB is not supported in this browser")};Fe.prototype.isInitialized=function(){return!!this.dbPromise};Fe.prototype.makeTransaction=function(t,n){var a=this.storeName,e=function(r){return new G(function(i,s){var o=r.transaction(a,t);o.oncomplete=function(){i(o)},o.onabort=o.onerror=function(){s(o.error)},n(o.objectStore(a))})};return this.dbPromise.then(e).catch((function(r){return r&&r.name==="InvalidStateError"?(this.dbPromise=this._openDb(),this.dbPromise.then(e)):G.reject(r)}).bind(this))};Fe.prototype.setItem=function(t,n){return this.makeTransaction("readwrite",function(a){a.put(n,t)})};Fe.prototype.getItem=function(t){var n;return this.makeTransaction("readonly",function(a){n=a.get(t)}).then(function(){return n.result})};Fe.prototype.removeItem=function(t){return this.makeTransaction("readwrite",function(n){n.delete(t)})};Fe.prototype.getAll=function(){var t;return this.makeTransaction("readonly",function(n){t=n.getAll()}).then(function(){return t.result})};var eg="__mp_opt_in_out_";function tg(t,n){_l(!0,t,n)}function rg(t,n){_l(!1,t,n)}function ng(t,n){return pl(t,n)==="1"}function hl(t,n){if(ag(n))return V.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var a=pl(t,n)==="0";return a&&V.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),a}function gt(t){return ys(t,function(n){return this.get_config(n)})}function vt(t){return ys(t,function(n){return this._get_config(n)})}function cr(t){return ys(t,function(n){return this._get_config(n)})}function ig(t,n){n=n||{},gs(n).remove(vs(t,n),!!n.crossSubdomainCookie,n.cookieDomain)}function gs(t){return t=t||{},t.persistenceType==="localStorage"?h.localStorage:h.cookie}function vs(t,n){return n=n||{},(n.persistencePrefix||eg)+t}function pl(t,n){return gs(n).get(vs(t,n))}function ag(t){if(t&&t.ignoreDnt)return!1;var n=t&&t.window||A,a=n.navigator||{},e=!1;return h.each([a.doNotTrack,a.msDoNotTrack,n.doNotTrack],function(r){h.includes([!0,1,"1","yes"],r)&&(e=!0)}),e}function _l(t,n,a){if(!h.isString(n)||!n.length){V.error("gdpr."+(t?"optIn":"optOut")+" called with an invalid token");return}a=a||{},gs(a).set(vs(n,a),t?1:0,h.isNumber(a.cookieExpiration)?a.cookieExpiration:null,!!a.crossSubdomainCookie,!!a.secureCookie,!!a.crossSiteCookie,a.cookieDomain),a.track&&t&&a.track(a.trackEventName||"$opt_in",a.trackProperties,{send_immediately:!0})}function ys(t,n){return function(){var a=!1;try{var e=n.call(this,"token"),r=n.call(this,"ignore_dnt"),i=n.call(this,"opt_out_tracking_persistence_type"),s=n.call(this,"opt_out_tracking_cookie_prefix"),o=n.call(this,"window");e&&(a=hl(e,{ignoreDnt:r,persistenceType:i,persistencePrefix:s,window:o}))}catch(u){V.error("Unexpected error when checking tracking opt-out status: "+u)}if(!a)return t.apply(this,arguments);var c=arguments[arguments.length-1];typeof c=="function"&&c(0)}}var sg=Lt("lock"),ml=function(t,n){n=n||{},this.storageKey=t,this.storage=n.storage||A.localStorage,this.pollIntervalMS=n.pollIntervalMS||100,this.timeoutMS=n.timeoutMS||2e3,this.promiseImpl=n.promiseImpl||G};ml.prototype.withLock=function(t,n){var a=this.promiseImpl;return new a(h.bind(function(e,r){var i=n||new Date().getTime()+"|"+Math.random(),s=new Date().getTime(),o=this.storageKey,c=this.pollIntervalMS,u=this.timeoutMS,l=this.storage,d=o+":X",f=o+":Y",m=o+":Z",_=function(b){if(new Date().getTime()-s>u){sg.error("Timeout waiting for mutex on "+o+"; clearing lock. ["+i+"]"),l.removeItem(m),l.removeItem(f),v();return}setTimeout(function(){try{b()}catch(k){r(k)}},c*(Math.random()+.1))},g=function(b,k){b()?k():_(function(){g(b,k)})},p=function(){var b=l.getItem(f);return b&&b!==i?!1:(l.setItem(f,i),l.getItem(f)===i?!0:(zr(l,!0)||r(new Error("localStorage support dropped while acquiring lock")),!1))},v=function(){l.setItem(d,i),g(p,function(){if(l.getItem(d)===i){y();return}_(function(){if(l.getItem(f)!==i){v();return}g(function(){return!l.getItem(m)},y)})})},y=function(){l.setItem(m,"1");var b=function(){l.removeItem(m),l.getItem(f)===i&&l.removeItem(f),l.getItem(d)===i&&l.removeItem(d)};t().then(function(k){b(),e(k)}).catch(function(k){b(),r(k)})};try{if(zr(l,!0))v();else throw new Error("localStorage support check failed")}catch(b){r(b)}},this))};var ur=function(t){this.storage=t||A.localStorage};ur.prototype.init=function(){return G.resolve()};ur.prototype.isInitialized=function(){return!0};ur.prototype.setItem=function(t,n){return new G(h.bind(function(a,e){try{this.storage.setItem(t,ar(n))}catch(r){e(r)}a()},this))};ur.prototype.getItem=function(t){return new G(h.bind(function(n,a){var e;try{e=Zn(this.storage.getItem(t))}catch(r){a(r)}n(e)},this))};ur.prototype.removeItem=function(t){return new G(h.bind(function(n,a){try{this.storage.removeItem(t)}catch(e){a(e)}n()},this))};var Qo=Lt("batch"),Ge=function(t,n){n=n||{},this.storageKey=t,this.usePersistence=n.usePersistence,this.usePersistence&&(this.queueStorage=n.queueStorage||new ur,this.lock=new ml(t,{storage:n.sharedLockStorage||A.localStorage,timeoutMS:n.sharedLockTimeoutMS})),this.reportError=n.errorReporter||h.bind(Qo.error,Qo),this.pid=n.pid||null,this.memQueue=[],this.initialized=!1,n.enqueueThrottleMs?this.enqueuePersisted=Gm(h.bind(this._enqueuePersisted,this),n.enqueueThrottleMs):this.enqueuePersisted=h.bind(function(a){return this._enqueuePersisted([a])},this)};Ge.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?G.resolve():this.queueStorage.init().then(h.bind(function(){this.initialized=!0},this)).catch(h.bind(function(t){this.reportError("Error initializing queue persistence. Disabling persistence",t),this.initialized=!0,this.usePersistence=!1},this))};Ge.prototype.enqueue=function(t,n){var a={id:_s(),flushAfter:new Date().getTime()+n*2,payload:t};return this.usePersistence?this.enqueuePersisted(a):(this.memQueue.push(a),G.resolve(!0))};Ge.prototype._enqueuePersisted=function(t){var n=h.bind(function(){return this.ensureInit().then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(a){return this.saveToStorage(a.concat(t))},this)).then(h.bind(function(a){return a&&(this.memQueue=this.memQueue.concat(t)),a},this)).catch(h.bind(function(a){return this.reportError("Error enqueueing items",a,t),!1},this))},this);return this.lock.withLock(n,this.pid).catch(h.bind(function(a){return this.reportError("Error acquiring storage lock",a),!1},this))};Ge.prototype.fillBatch=function(t){var n=this.memQueue.slice(0,t);return this.usePersistence&&n.length<t?this.ensureInit().then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(a){if(a.length){var e={};h.each(n,function(s){e[s.id]=!0});for(var r=0;r<a.length;r++){var i=a[r];if(new Date().getTime()>i.flushAfter&&!e[i.id]&&(i.orphaned=!0,n.push(i),n.length>=t))break}}return n},this)):G.resolve(n)};var ec=function(t,n){var a=[];return h.each(t,function(e){e.id&&!n[e.id]&&a.push(e)}),a};Ge.prototype.removeItemsByID=function(t){var n={};if(h.each(t,function(e){n[e]=!0}),this.memQueue=ec(this.memQueue,n),this.usePersistence){var a=h.bind(function(){return this.ensureInit().then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(e){return e=ec(e,n),this.saveToStorage(e)},this)).then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(e){for(var r=0;r<e.length;r++){var i=e[r];if(i.id&&n[i.id])throw new Error("Item not removed from storage")}return!0},this)).catch(h.bind(function(e){return this.reportError("Error removing items",e,t),!1},this))},this);return this.lock.withLock(a,this.pid).catch(h.bind(function(e){return this.reportError("Error acquiring storage lock",e),zr(this.lock.storage,!0)?!1:a().then(h.bind(function(r){return r||this.queueStorage.removeItem(this.storageKey).then(function(){return r})},this)).catch(h.bind(function(r){return this.reportError("Error clearing queue",r),!1},this))},this))}else return G.resolve(!0)};var tc=function(t,n){var a=[];return h.each(t,function(e){var r=e.id;if(r in n){var i=n[r];i!==null&&(e.payload=i,a.push(e))}else a.push(e)}),a};Ge.prototype.updatePayloads=function(t){return this.memQueue=tc(this.memQueue,t),this.usePersistence?this.lock.withLock(h.bind(function(){return this.ensureInit().then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(a){return a=tc(a,t),this.saveToStorage(a)},this)).catch(h.bind(function(a){return this.reportError("Error updating items",t,a),!1},this))},this),this.pid).catch(h.bind(function(n){return this.reportError("Error acquiring storage lock",n),!1},this)):G.resolve(!0)};Ge.prototype.readFromStorage=function(){return this.ensureInit().then(h.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(h.bind(function(t){return t&&(h.isArray(t)||(this.reportError("Invalid storage entry:",t),t=null)),t||[]},this)).catch(h.bind(function(t){return this.reportError("Error retrieving queue",t),[]},this))};Ge.prototype.saveToStorage=function(t){return this.ensureInit().then(h.bind(function(){return this.queueStorage.setItem(this.storageKey,t)},this)).then(function(){return!0}).catch(h.bind(function(n){return this.reportError("Error saving queue",n),!1},this))};Ge.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(h.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):G.resolve()};var og=10*60*1e3,Er=Lt("batch"),Be=function(t,n){this.errorReporter=n.errorReporter,this.queue=new Ge(t,{errorReporter:h.bind(this.reportError,this),queueStorage:n.queueStorage,sharedLockStorage:n.sharedLockStorage,sharedLockTimeoutMS:n.sharedLockTimeoutMS,usePersistence:n.usePersistence,enqueueThrottleMs:n.enqueueThrottleMs}),this.libConfig=n.libConfig,this.sendRequest=n.sendRequestFunc,this.beforeSendHook=n.beforeSendHook,this.stopAllBatching=n.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=n.flushOnlyOnInterval||!1,this._flushPromise=null};Be.prototype.enqueue=function(t){return this.queue.enqueue(t,this.flushInterval)};Be.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()};Be.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)};Be.prototype.clear=function(){return this.queue.clear()};Be.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size};Be.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)};Be.prototype.scheduleFlush=function(t){this.flushInterval=t,this.stopped||(this.timeoutID=setTimeout(h.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))};Be.prototype.sendRequestPromise=function(t,n){return new G(h.bind(function(a){this.sendRequest(t,n,a)},this))};Be.prototype.flush=function(t){if(this.requestInProgress)return Er.log("Flush: Request already in progress"),G.resolve();this.requestInProgress=!0,t=t||{};var n=this.libConfig.batch_request_timeout_ms,a=new Date().getTime(),e=this.batchSize;return this.queue.fillBatch(e).then(h.bind(function(r){var i=r.length===e,s=[],o={};if(h.each(r,function(d){var f=d.payload;if(this.beforeSendHook&&!d.orphaned&&(f=this.beforeSendHook(f)),f){f.event&&f.properties&&(f.properties=h.extend({},f.properties,{mp_sent_by_lib_version:De.LIB_VERSION}));var m=!0,_=d.id;_?(this.itemIdsSentSuccessfully[_]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:d,batchSize:r.length,timesSent:this.itemIdsSentSuccessfully[_]}),m=!1):this.reportError("[dupe] found item with no ID",{item:d}),m&&s.push(f)}o[d.id]=f},this),s.length<1)return this.requestInProgress=!1,this.resetFlush(),G.resolve();var c=h.bind(function(){return this.queue.removeItemsByID(h.map(r,function(d){return d.id})).then(h.bind(function(d){return h.each(r,h.bind(function(f){var m=f.id;m?(this.itemIdsSentSuccessfully[m]=this.itemIdsSentSuccessfully[m]||0,this.itemIdsSentSuccessfully[m]++,this.itemIdsSentSuccessfully[m]>5&&this.reportError("[dupe] item ID sent too many times",{item:f,batchSize:r.length,timesSent:this.itemIdsSentSuccessfully[m]})):this.reportError("[dupe] found item with no ID while removing",{item:f})},this)),d?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!i?(this.resetFlush(),G.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),G.resolve())},this))},this),u=h.bind(function(d){this.requestInProgress=!1;try{if(t.unloading)return this.queue.updatePayloads(o);if(h.isObject(d)&&d.error==="timeout"&&new Date().getTime()-a>=n)return this.reportError("Network timeout; retrying"),this.flush();if(h.isObject(d)&&(d.httpStatusCode>=500||d.httpStatusCode===429||d.httpStatusCode<=0&&!Zm()||d.error==="timeout")){var f=this.flushInterval*2;return d.retryAfter&&(f=parseInt(d.retryAfter,10)*1e3||f),f=Math.min(og,f),this.reportError("Error; retry in "+f+" ms"),this.scheduleFlush(f),G.resolve()}else if(h.isObject(d)&&d.httpStatusCode===413)if(r.length>1){var m=Math.max(1,Math.floor(e/2));return this.batchSize=Math.min(this.batchSize,m,r.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),G.resolve()}else return this.reportError("Single-event request too large; dropping",r),this.resetBatchSize(),c();else return c()}catch(_){this.reportError("Error handling API response",_),this.resetFlush()}},this),l={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:n};return t.unloading&&(l.transport="sendBeacon"),Er.log("MIXPANEL REQUEST:",s),this.sendRequestPromise(s,l).then(u)},this)).catch(h.bind(function(r){this.reportError("Error flushing request queue",r),this.resetFlush()},this))};Be.prototype.reportError=function(t,n){if(Er.error.apply(Er.error,arguments),this.errorReporter)try{n instanceof Error||(n=new Error(t)),this.errorReporter(t,n)}catch(a){Er.error(a)}};var bs=function(t){var n=Date.now();return!t||n>t.maxExpires||n>t.idleExpires},cg=250,Yt=Lt("recorder"),ug=A.CompressionStream,lg={batch_size:1e3,batch_flush_interval_ms:10*1e3,batch_request_timeout_ms:90*1e3,batch_autostart:!0},dg=new Set([D.MouseMove,D.MouseInteraction,D.Scroll,D.ViewportResize,D.Input,D.TouchMove,D.MediaInteraction,D.Drag,D.Selection]);function fg(t){return t.type===q.IncrementalSnapshot&&dg.has(t.data.source)}var me=function(t){this._mixpanel=t.mixpanelInstance,this._onIdleTimeout=t.onIdleTimeout||ot,this._onMaxLengthReached=t.onMaxLengthReached||ot,this._onBatchSent=t.onBatchSent||ot,this._rrwebRecord=t.rrwebRecord||null,this._stopRecording=null,this.replayId=t.replayId,this.batchStartUrl=t.batchStartUrl||null,this.replayStartUrl=t.replayStartUrl||null,this.idleExpires=t.idleExpires||null,this.maxExpires=t.maxExpires||null,this.replayStartTime=t.replayStartTime||null,this.lastEventTimestamp=t.lastEventTimestamp||null,this.seqNo=t.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=Ar,this.recordMinMs=0;var n=zr(t.sharedLockStorage,!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new Fe(fl),this.batcher=new Be(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:lg,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:t.sharedLockStorage,usePersistence:n,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:cg,sharedLockTimeoutMS:10*1e3})};me.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var t={distinct_id:String(this._mixpanel.get_distinct_id())},n=this._mixpanel.get_property("$device_id");n&&(t.$device_id=n);var a=this._mixpanel.get_property("$user_id");return a&&(t.$user_id=a),t};me.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init().catch((function(){this.reportError("Error initializing IndexedDB storage for unloading persisted data.")}).bind(this)).then((function(){return this.getDurationMs()<this._getRecordMinMs()?this.queueStorage.removeItem(this.batcherKey):this.batcher.flush().then((function(){return this.queueStorage.removeItem(this.batcherKey)}).bind(this))}).bind(this))};me.prototype.getConfig=function(t){return this._mixpanel.get_config(t)};me.prototype.get_config=function(t){return this.getConfig(t)};me.prototype.startRecording=function(t){if(this._rrwebRecord===null){this.reportError("rrweb record function not provided. ");return}if(this._stopRecording!==null){Yt.log("Recording already in progress, skipping startRecording.");return}this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>Ar&&(this.recordMaxMs=Ar,Yt.critical("record_max_ms cannot be greater than "+Ar+"ms. Capping value.")),this.maxExpires||(this.maxExpires=new Date().getTime()+this.recordMaxMs),this.recordMinMs=this._getRecordMinMs(),this.replayStartTime||(this.replayStartTime=new Date().getTime(),this.batchStartUrl=h.info.currentUrl(),this.replayStartUrl=h.info.currentUrl()),t||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var n=(function(){clearTimeout(this.idleTimeoutId);var r=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,r),this.idleExpires=new Date().getTime()+r}).bind(this);n();var a=this.getConfig("record_block_selector");(a===""||a===null)&&(a=void 0);try{this._stopRecording=this._rrwebRecord({emit:(function(r){if(this.idleExpires&&this.idleExpires<r.timestamp){this._onIdleTimeout();return}fg(r)&&(this.batcher.stopped&&new Date().getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),n()),this.__enqueuePromise=this.batcher.enqueue(r),(this.lastEventTimestamp===null||r.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=r.timestamp)}).bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:a,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextClass:this.getConfig("record_mask_text_class"),maskTextSelector:this.getConfig("record_mask_text_selector"),recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:this.getConfig("record_console")?[Bm({stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}})]:[]})}catch(r){this.reportError("Unexpected error when starting rrweb recording.",r)}if(typeof this._stopRecording!="function"){this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,this.stopRecording();return}var e=this.maxExpires-new Date().getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),e)};me.prototype.stopRecording=function(t){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(a){this.reportError("Error with rrweb stopRecording",a)}this._stopRecording=null}var n;return this.batcher.stopped?n=this.batcher.clear():t||(n=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),n};me.prototype.isRrwebStopped=function(){return this._stopRecording===null};me.prototype.flushEventsWithOptOut=function(t,n,a){var e=(function(r){r===0&&(this.stopRecording(),a({error:"Tracking has been opted out, stopping recording."}))}).bind(this);this._flushEvents(t,n,a,e)};me.prototype.serialize=function(){var t;try{t=this._mixpanel.get_tab_id()}catch(n){this.reportError("Error getting tab ID for serialization ",n),t=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,lastEventTimestamp:this.lastEventTimestamp,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:t}};me.deserialize=function(t,n){var a=new me(h.extend({},n,{replayId:t.replayId,batchStartUrl:t.batchStartUrl,replayStartUrl:t.replayStartUrl,idleExpires:t.idleExpires,maxExpires:t.maxExpires,replayStartTime:t.replayStartTime,lastEventTimestamp:t.lastEventTimestamp,seqNo:t.seqNo,sharedLockStorage:n.sharedLockStorage}));return a};me.prototype._sendRequest=function(t,n,a,e){var r=(function(s,o){s.status===200&&this.replayId===t&&(this.seqNo++,this.batchStartUrl=h.info.currentUrl()),this._onBatchSent(),e({status:0,httpStatusCode:s.status,responseBody:o,retryAfter:s.headers.get("Retry-After")})}).bind(this),i=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");A.fetch(i+"/"+this.getConfig("api_routes").record+"?"+new URLSearchParams(n),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:a}).then(function(s){s.json().then(function(o){r(s,o)}).catch(function(o){e({error:o})})}).catch(function(s){e({error:s,httpStatusCode:0})})};me.prototype._flushEvents=gt(function(t,n,a){var e=t.length;if(e>0){for(var r=this.replayId,i=1/0,s=-1/0,o=!1,c=0;c<e;c++)i=Math.min(i,t[c].timestamp),s=Math.max(s,t[c].timestamp),t[c].type===q.FullSnapshot&&(o=!0);if(this.seqNo===0){if(!o){a({error:"First batch does not contain a full snapshot. Aborting recording."}),this.stopRecording(!0);return}this.replayStartTime=i}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=i);var u=s-this.replayStartTime,l={$current_url:this.batchStartUrl,$lib_version:De.LIB_VERSION,batch_start_time:i/1e3,mp_lib:"web",replay_id:r,replay_length_ms:u,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},d=JSON.stringify(t);if(Object.assign(l,this.getUserIdInfo()),Ym(ze,Ze.vendor,br)){var f=new Blob([d],{type:"application/json"}).stream(),m=f.pipeThrough(new ug("gzip"));new Response(m).blob().then((function(_){l.format="gzip",this._sendRequest(r,l,_,a)}).bind(this))}else l.format="body",this._sendRequest(r,l,d,a)}});me.prototype.reportError=function(t,n){Yt.error.apply(Yt.error,arguments);try{!n&&!(t instanceof Error)&&(t=new Error(t)),this.getConfig("error_reporter")(t,n)}catch(a){Yt.error(a)}};me.prototype.getDurationMs=function(){return this.replayStartTime===null?0:this.lastEventTimestamp===null?new Date().getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime};me.prototype._getRecordMinMs=function(){var t=this.getConfig("record_min_ms");return t>zi?(Yt.critical("record_min_ms cannot be greater than "+zi+"ms. Capping value."),zi):t};var et=function(t){this.idb=new Fe(ms),this.errorReporter=t.errorReporter,this.mixpanelInstance=t.mixpanelInstance,this.sharedLockStorage=t.sharedLockStorage};et.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")};et.prototype.handleError=function(t){this.errorReporter("IndexedDB error: ",t)};et.prototype.setActiveRecording=function(t){if(!this.isPersistenceEnabled())return G.resolve();var n=t.tabId;return n?this.idb.init().then((function(){return this.idb.setItem(n,t)}).bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),G.resolve())};et.prototype.getActiveRecording=function(){return this.isPersistenceEnabled()?this.idb.init().then((function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}).bind(this)).then((function(t){return bs(t)?null:t}).bind(this)).catch(this.handleError.bind(this)):G.resolve(null)};et.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()};et.prototype.markActiveRecordingExpired=function(){return this.getActiveRecording().then((function(t){if(t)return t.maxExpires=0,this.setActiveRecording(t)}).bind(this)).catch(this.handleError.bind(this))};et.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):G.resolve()};et.prototype.flushInactiveRecordings=function(){return this.isPersistenceEnabled()?this.idb.init().then((function(){return this.idb.getAll()}).bind(this)).then((function(t){var n=t.filter(function(a){return bs(a)}).map((function(a){var e=me.deserialize(a,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage});return e.unloadPersistedData().then((function(){return this.idb.removeItem(a.tabId)}).bind(this)).catch(this.handleError.bind(this))}).bind(this));return G.all(n)}).bind(this)).catch(this.handleError.bind(this)):G.resolve([])};var Tr=Lt("recorder"),tt=function(t,n,a){this.mixpanelInstance=t,this.rrwebRecord=n||_t,this.sharedLockStorage=a,this.recordingRegistry=new et({mixpanelInstance:this.mixpanelInstance,errorReporter:Tr.error,sharedLockStorage:a}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};tt.prototype.startRecording=function(t){if(t=t||{},this.activeRecording&&!this.activeRecording.isRrwebStopped()){Tr.log("Recording already in progress, skipping startRecording.");return}var n=(function(){Tr.log("Idle timeout reached, restarting recording."),this.resetRecording()}).bind(this),a=(function(){Tr.log("Max recording length reached, stopping recording."),this.resetRecording()}).bind(this),e=(function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}).bind(this),r={mixpanelInstance:this.mixpanelInstance,onBatchSent:e,onIdleTimeout:n,onMaxLengthReached:a,replayId:h.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return t.activeSerializedRecording?this.activeRecording=me.deserialize(t.activeSerializedRecording,r):this.activeRecording=new me(r),this.activeRecording.startRecording(t.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())};tt.prototype.stopRecording=function(){return this.stopRecordingInProgress=!0,this._stopCurrentRecording(!1,!0).then((function(){return this.recordingRegistry.clearActiveRecording()}).bind(this)).then((function(){this.stopRecordingInProgress=!1}).bind(this))};tt.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)};tt.prototype._stopCurrentRecording=function(t,n){if(this.activeRecording){var a=this.activeRecording.stopRecording(t);return n&&(this.activeRecording=null),a}return G.resolve()};tt.prototype.resumeRecording=function(t){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),G.resolve(null)):this.recordingRegistry.getActiveRecording().then((function(n){return n&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:n}):t?this.startRecording({shouldStopBatcher:!1}):(Tr.log("No resumable recording found."),null)}).bind(this))};tt.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})};tt.prototype.getActiveReplayId=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()?this.activeRecording.replayId:null};Object.defineProperty(tt.prototype,"replayId",{get:function(){return this.getActiveReplayId()}});A.__mp_recorder=tt;var Wr="change",Qe="click",Da="hashchange",hg="input",rc="load",st="mp_locationchange",nc="popstate",yi="scrollend",Cs="scroll",pg="select",Yn="submit",_g="toggle",ic="visibilitychange",mg=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],ac=["mp-include"],Ba=["mp-no-track"],sc=Ba.concat(["mp-sensitive"]),gg=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],vg={button:!0,checkbox:!0,combobox:!0,grid:!0,link:!0,listbox:!0,menu:!0,menubar:!0,menuitem:!0,menuitemcheckbox:!0,menuitemradio:!0,navigation:!0,option:!0,radio:!0,radiogroup:!0,searchbox:!0,slider:!0,spinbutton:!0,switch:!0,tab:!0,tablist:!0,textbox:!0,tree:!0,treegrid:!0,treeitem:!0},yg={base:!0,head:!0,html:!0,link:!0,meta:!0,script:!0,style:!0,title:!0,br:!0,hr:!0,wbr:!0,noscript:!0,picture:!0,source:!0,template:!0,track:!0},bg={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},oc=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],Cg=5,te=Lt("autocapture");function La(t){for(var n={},a=gl(t).split(" "),e=0;e<a.length;e++){var r=a[e];r&&(n[r]=!0)}return n}function gl(t){switch(typeof t.className){case"string":return t.className;case"object":return t.className.baseVal||t.getAttribute("class")||"";default:return""}}function kg(t){if(t.previousElementSibling)return t.previousElementSibling;do t=t.previousSibling;while(t&&!vl(t));return t}function cc(t,n,a,e,r,i){var s={$classes:gl(t).split(" "),$tag_name:t.tagName.toLowerCase()},o=t.id;o&&(s.$id=o),ks(t,n,r,i)&&h.each(gg.concat(e),function(d){if(t.hasAttribute(d)&&!a[d]){var f=t.getAttribute(d);Kn(f)&&(s["$attr-"+d]=f)}});for(var c=1,u=1,l=t;l=kg(l);)c++,l.tagName===t.tagName&&u++;return s.$nth_child=c,s.$nth_of_type=u,s}function wg(t,n){var a=n.allowElementCallback,e=n.allowSelectors||[],r=n.blockAttrs||[],i=n.blockElementCallback,s=n.blockSelectors||[],o=n.captureTextContent||!1,c=n.captureExtraAttrs||[],u=n.capturedForHeatMap||!1,l={};h.each(r,function(w){l[w]=!0});var d=null,f=typeof t.target>"u"?t.srcElement:t.target;if(yl(f)&&(f=f.parentNode),Tg(f,t)&&Na(f,t,a,e)&&!Hi(f,t,i,s)){for(var m=[f],_=f;_.parentNode&&!We(_,"body");)m.push(_.parentNode),_=_.parentNode;var g=[],p,v=!1;if(h.each(m,function(w){var S=ks(w,t,a,e);!l.href&&w.tagName.toLowerCase()==="a"&&(p=w.getAttribute("href"),p=S&&Kn(p)&&p),Hi(w,t,i,s)&&(v=!0),g.push(cc(w,t,l,c,a,e))},this),!v){var y=B.documentElement;if(d={$event_type:t.type,$host:A.location.host,$pathname:A.location.pathname,$elements:g,$el_attr__href:p,$viewportHeight:Math.max(y.clientHeight,A.innerHeight||0),$viewportWidth:Math.max(y.clientWidth,A.innerWidth||0),$pageHeight:B.body.offsetHeight||0,$pageWidth:B.body.offsetWidth||0},h.each(c,function(w){if(!l[w]&&f.hasAttribute(w)){var S=f.getAttribute(w);Kn(S)&&(d["$el_attr__"+w]=S)}}),o&&(b=uc(f,t,a,e),b&&b.length&&(d.$el_text=b)),t.type===Qe&&(h.each(mg,function(w){w in t&&(d["$"+w]=t[w])}),u&&(d.$captured_for_heatmap=!0),f=Sg(t)),o){var b=uc(f,t,a,e);b&&b.length&&(d.$el_text=b)}if(f){if(!Na(f,t,a,e)||Hi(f,t,i,s))return null;var k=cc(f,t,l,c,a,e);d.$target=k,d.$el_classes=k.$classes,h.extend(d,h.strip_empty_properties({$el_id:k.$id,$el_tag_name:k.$tag_name}))}}}return d}function uc(t,n,a,e){var r="";return ks(t,n,a,e)&&t.childNodes&&t.childNodes.length&&h.each(t.childNodes,function(i){yl(i)&&i.textContent&&(r+=h.trim(i.textContent).split(/(\s+)/).filter(Kn).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),h.trim(r)}function Sg(t){for(var n=t.target,a=t.composedPath(),e=0;e<a.length;e++){var r=a[e];if(We(r,"a")||We(r,"button")||We(r,"input")||We(r,"select")||r.getAttribute&&r.getAttribute("role")==="button"){n=r;break}if(r===n)break}return n}function Na(t,n,a,e){if(a)try{if(!a(t,n))return!1}catch(s){return te.critical("Error while checking element in allowElementCallback",s),!1}if(!e.length)return!0;for(var r=0;r<e.length;r++){var i=e[r];try{if(t.matches(i))return!0}catch(s){te.critical("Error while checking selector: "+i,s)}}return!1}function Hi(t,n,a,e){var r;if(a)try{if(a(t,n))return!0}catch(o){return te.critical("Error while checking element in blockElementCallback",o),!0}if(e&&e.length)for(r=0;r<e.length;r++){var i=e[r];try{if(t.matches(i))return!0}catch(o){te.critical("Error while checking selector: "+i,o)}}var s=La(t);for(r=0;r<Ba.length;r++)if(s[Ba[r]])return!0;return!1}function vl(t){return t&&t.nodeType===1}function We(t,n){return t&&t.tagName&&t.tagName.toLowerCase()===n.toLowerCase()}function yl(t){return t&&t.nodeType===3}function Ag(){try{var t=B.createElement("div");return!!t.matches}catch{return!1}}function Eg(){return typeof WeakSet<"u"}function Tg(t,n){if(!t||We(t,"html")||!vl(t))return!1;var a=t.tagName.toLowerCase();switch(a){case"form":return n.type===Yn;case"input":return["button","submit"].indexOf(t.getAttribute("type"))===-1?n.type===Wr:n.type===Qe;case"select":case"textarea":return n.type===Wr;default:return n.type===Qe}}function ks(t,n,a,e){var r;if(!Na(t,n,a,e))return!1;for(var i=t;i.parentNode&&!We(i,"body");i=i.parentNode){var s=La(i);for(r=0;r<sc.length;r++)if(s[sc[r]])return!1}var o=La(t);for(r=0;r<ac.length;r++)if(o[ac[r]])return!0;if(We(t,"input")||We(t,"select")||We(t,"textarea")||t.getAttribute("contenteditable")==="true")return!1;var c=t.type||"";if(typeof c=="string")switch(c.toLowerCase()){case"hidden":return!1;case"password":return!1}var u=t.name||t.id||"";if(typeof u=="string"){var l=/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i;if(l.test(u.replace(/[^a-zA-Z0-9]/g,"")))return!1}return!0}function Kn(t){if(t===null||h.isUndefined(t))return!1;if(typeof t=="string"){t=h.trim(t);var n=/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/;if(n.test((t||"").replace(/[- ]/g,"")))return!1;var a=/(^\d{3}-?\d{2}-?\d{4}$)/;if(a.test(t))return!1}return!0}function bl(t){var n="onscrollend"in A,a=Vr(t),e=yi;if(!n){var r=null,i=100;a=Vr(function(){clearTimeout(r),r=setTimeout(t,i)}),e=Cs}return{listener:a,eventType:e}}function Rg(t){for(var n=0;n<oc.length;n++)if(t.hasAttribute(oc[n]))return!0;return!1}function Pg(t){var n=t.getAttribute("role");if(!n)return!1;var a=n.trim().split(/\s+/)[0].toLowerCase();return vg[a]}function Ji(t){var n=t.tagName.toLowerCase();return!!(n==="button"||n==="input"||n==="select"||n==="textarea"||n==="details"||n==="dialog"||t.isContentEditable||t.onclick||t.onmousedown||t.onmouseup||t.ontouchstart||t.ontouchend||Rg(t)||Pg(t)||n==="a"&&t.hasAttribute("href")||t.hasAttribute("tabindex"))}function Cl(t){if(!t||!t.tagName)return!0;var n=t.tagName.toLowerCase();if(yg[n])return!0;if(Ji(t))return!1;for(var a=t.parentElement,e=0;a&&e<Cg;){if(Ji(a))return!1;if(a.getRootNode&&a.getRootNode()!==B){var r=a.getRootNode();if(r.host&&Ji(r.host))return!1}a=a.parentElement,e++}return!!bg[n]}function kl(t){return"composedPath"in t?t.composedPath():[]}function wl(t){var n=kl(t);return n&&n.length>0?n[0]:t.target||t.srcElement}var Og=30,Ig=1e3,xg=4,Mg=!1;function Sl(){this.clicks=[]}Sl.prototype.isRageClick=function(t,n){n=n||{};var a=n.threshold_px||Og,e=n.timeout_ms||Ig,r=n.click_count||xg,i=n.interactive_elements_only||Mg;if(i){var s=wl(t);if(!s||Cl(s))return!1}var o=Date.now(),c=t.pageX,u=t.pageY,l=this.clicks[this.clicks.length-1];if(l&&o-l.timestamp<e&&Math.sqrt(Math.pow(c-l.x,2)+Math.pow(u-l.y,2))<a){if(this.clicks.push({x:c,y:u,timestamp:o}),this.clicks.length>=r)return this.clicks=[],!0}else this.clicks=[{x:c,y:u,timestamp:o}];return!1};function lr(t,n){this.changeCallback=t||function(){},this.observerConfig=n,this.observedShadowRoots=null,this.shadowObservers=[]}lr.prototype.getEventTarget=function(t){if(this.observedShadowRoots)return wl(t)};lr.prototype.observeFromEvent=function(t){if(this.observedShadowRoots)for(var n=kl(t),a=0;a<n.length;a++){var e=n[a];e&&e.shadowRoot&&this.observeShadowRoot(e.shadowRoot)}};lr.prototype.observeShadowRoot=function(t){if(!(!this.observedShadowRoots||this.observedShadowRoots.has(t))){var n=this;try{this.observedShadowRoots.add(t);var a=new window.MutationObserver(function(){n.changeCallback()});a.observe(t,this.observerConfig),this.shadowObservers.push(a)}catch(e){te.critical("Error while observing shadow root",e)}}};lr.prototype.start=function(){if(!this.observedShadowRoots){if(!Eg()){te.critical("Shadow DOM observation unavailable: WeakSet not supported");return}this.observedShadowRoots=new WeakSet}};lr.prototype.stop=function(){if(this.observedShadowRoots){for(var t=0;t<this.shadowObservers.length;t++)try{this.shadowObservers[t].disconnect()}catch(n){te.critical("Error while disconnecting shadow DOM observer",n)}this.shadowObservers=[],this.observedShadowRoots=null}};var Dg=500,Bg=[Wr,hg,Yn,pg,_g],Lg=[yi],Ng=[Da],lc={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function je(t){this.eventListeners=[],this.mutationObserver=null,this.shadowDOMObserver=null,this.isTracking=!1,this.lastChangeEventTimestamp=0,this.pendingClicks=[],this.onDeadClickCallback=t,this.processingActive=!1,this.processingTimeout=null}je.prototype.addClick=function(t){var n=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(t);return n||(n=t.target||t.srcElement),!n||Cl(n)?!1:(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(t),this.pendingClicks.push({element:n,event:t,timestamp:Date.now()}),!0)};je.prototype.trackClick=function(t,n){if(!this.isTracking)return!1;var a=this.addClick(t);return a&&this.triggerProcessing(n),a};je.prototype.getDeadClicks=function(t){if(this.pendingClicks.length===0)return[];var n=t.timeout_ms,a=Date.now(),e=this.pendingClicks.slice();this.pendingClicks=[];for(var r=[],i=0;i<e.length;i++){var s=e[i];a-s.timestamp>=n?this.hasChangesAfter(s.timestamp)||r.push(s):this.pendingClicks.push(s)}return r};je.prototype.hasChangesAfter=function(t){return this.lastChangeEventTimestamp>=t-100};je.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()};je.prototype.triggerProcessing=function(t){this.processingActive||(this.processingActive=!0,this.processRecursively(t))};je.prototype.processRecursively=function(t){if(!this.isTracking||!this.onDeadClickCallback){this.processingActive=!1;return}var n=t.timeout_ms,a=this;this.processingTimeout=setTimeout(function(){if(a.processingActive){for(var e=a.getDeadClicks(t),r=0;r<e.length;r++)a.onDeadClickCallback(e[r].event);a.pendingClicks.length>0?a.processRecursively(t):a.processingActive=!1}},n)};je.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var t=this;Bg.forEach(function(a){var e=function(){t.recordChangeEvent()};document.addEventListener(a,e,{capture:!0,passive:!0}),t.eventListeners.push({target:document,event:a,handler:e,options:{capture:!0,passive:!0}})}),Ng.forEach(function(a){var e=function(){t.recordChangeEvent()};window.addEventListener(a,e),t.eventListeners.push({target:window,event:a,handler:e})}),Lg.forEach(function(a){var e=function(){t.recordChangeEvent()};window.addEventListener(a,e,{passive:!0}),t.eventListeners.push({target:window,event:a,handler:e,options:{passive:!0}})});var n=function(){t.recordChangeEvent()};if(document.addEventListener("selectionchange",n),t.eventListeners.push({target:document,event:"selectionchange",handler:n}),window.MutationObserver)try{this.mutationObserver=new window.MutationObserver(function(){t.recordChangeEvent()}),this.mutationObserver.observe(document.body||document.documentElement,lc)}catch(a){te.critical("Error while setting up mutation observer",a)}if(window.customElements)try{this.shadowDOMObserver=new lr(function(){t.recordChangeEvent()},lc),this.shadowDOMObserver.start()}catch(a){te.critical("Error while setting up shadow DOM observer",a),this.shadowDOMObserver=null}}};je.prototype.stopTracking=function(){if(this.isTracking){this.isTracking=!1,this.pendingClicks=[],this.lastChangeEventTimestamp=0,this.processingActive=!1,this.processingTimeout&&(clearTimeout(this.processingTimeout),this.processingTimeout=null);for(var t=0;t<this.eventListeners.length;t++){var n=this.eventListeners[t];try{n.target.removeEventListener(n.event,n.handler,n.options)}catch(a){te.critical("Error while removing event listener",a)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(a){te.critical("Error while disconnecting mutation observer",a)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(a){te.critical("Error while stopping shadow DOM observer",a)}this.shadowDOMObserver=null}}};var Al="autocapture",Fg="track_pageview",El="full-url",$g="url-with-path-and-query-string",Ug="url-with-path",Vg="allow_element_callback",Tl="allow_selectors",Rl="allow_url_regexes",Pl="block_attrs",Ol="block_element_callback",Il="block_selectors",xl="block_url_regexes",Ml="capture_extra_attrs",Dl="capture_text_content",Bl="scroll_capture_all",Ll="scroll_depth_percent_checkpoints",Xn="click",Qn="dead_click",Fa="input",Nl="pageview",ei="rage_click",$a="scroll",bi="page_leave",Ua="submit",pe={};pe[Tl]=[];pe[Rl]=[];pe[Pl]=[];pe[Ol]=null;pe[Il]=[];pe[xl]=[];pe[Ml]=[];pe[Dl]=!1;pe[Bl]=!1;pe[Ll]=[25,50,75,100];pe[Xn]=!0;pe[Qn]=!0;pe[Fa]=!0;pe[Nl]=El;pe[ei]=!0;pe[$a]=!0;pe[bi]=!1;pe[Ua]=!0;var qr={$mp_autocapture:!0},Fl="$mp_click",$l="$mp_dead_click",zg="$mp_input_change",Ul="$mp_rage_click",Wg="$mp_scroll",qg="$mp_submit",Gg="$mp_page_leave",fe=function(t){this.mp=t,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};fe.prototype.init=function(){if(!Ag()){te.critical("Autocapture unavailable: missing required DOM APIs");return}this.initPageListeners(),this.initPageviewTracking(),this.initClickTracking(),this.initDeadClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking(),this.initRageClickTracking(),this.initPageLeaveTracking()};fe.prototype.getFullConfig=function(){var t=this.mp.get_config(Al);return t?h.isObject(t)?h.extend({},pe,t):pe:{}};fe.prototype.getConfig=function(t){return this.getFullConfig()[t]};fe.prototype.currentUrlBlocked=function(){var t,n=h.info.currentUrl(),a=this.getConfig(Rl)||[];if(a.length){var e=!1;for(t=0;t<a.length;t++){var r=a[t];try{if(n.match(r)){e=!0;break}}catch(s){return te.critical("Error while checking block URL regex: "+r,s),!0}}if(!e)return!0}var i=this.getConfig(xl)||[];if(!i||!i.length)return!1;for(t=0;t<i.length;t++)try{if(n.match(i[t]))return!0}catch(s){return te.critical("Error while checking block URL regex: "+i[t],s),!0}return!1};fe.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(Al)?this.getConfig(Nl):this.mp.get_config(Fg)};fe.prototype.trackDomEvent=function(t,n){if(!this.currentUrlBlocked()){var a=this.mp.is_recording_heatmap_data()&&(n===Fl&&!this.getConfig(Xn)||n===Ul&&!this._getClickTrackingConfig(ei)||n===$l&&!this._getClickTrackingConfig(Qn)),e=wg(t,{allowElementCallback:this.getConfig(Vg),allowSelectors:this.getConfig(Tl),blockAttrs:this.getConfig(Pl),blockElementCallback:this.getConfig(Ol),blockSelectors:this.getConfig(Il),captureExtraAttrs:this.getConfig(Ml),captureTextContent:this.getConfig(Dl),capturedForHeatMap:a});e&&(h.extend(e,qr),this.mp.track(n,e))}};fe.prototype.initPageListeners=function(){if(A.removeEventListener(nc,this.listenerPopstate),A.removeEventListener(Da,this.listenerHashchange),!(!this.pageviewTrackingConfig()&&!this.getConfig(bi)&&!this.mp.get_config("record_heatmap_data"))){this.listenerPopstate=function(){A.dispatchEvent(new Event(st))},this.listenerHashchange=function(){A.dispatchEvent(new Event(st))},A.addEventListener(nc,this.listenerPopstate),A.addEventListener(Da,this.listenerHashchange);var t=A.history.pushState;typeof t=="function"&&(A.history.pushState=function(a,e,r){t.call(A.history,a,e,r),A.dispatchEvent(new Event(st))});var n=A.history.replaceState;typeof n=="function"&&(A.history.replaceState=function(a,e,r){n.call(A.history,a,e,r),A.dispatchEvent(new Event(st))})}};fe.prototype._getClickTrackingConfig=function(t){var n=this.getConfig(t);return n?n===!0?{}:typeof n=="object"?n:{}:null};fe.prototype._trackPageLeave=function(t,n,a){if(!this.hasTrackedScrollSession&&!(!this.getConfig(bi)&&!this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var e=Math.max(B.documentElement.clientHeight,A.innerHeight||0),r=Math.round(Math.max(this.maxScrollViewDepth-e,0)/(a-e)*100),i=Math.round(e/a*100);a<=e&&(r=100,i=100);var s=h.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:r,$fold_line_percentage:i,$scroll_height:a,$event_type:t.type,$current_url:n||h.info.currentUrl(),$viewportHeight:e,$viewportWidth:Math.max(B.documentElement.clientWidth,A.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},qr);this.mp.track(Gg,s,{transport:"sendBeacon"})}};fe.prototype._initScrollDepthTracking=function(){if(A.removeEventListener(Cs,this.listenerScrollDepth),A.removeEventListener(yi,this.listenerScrollDepth),!!this.mp.get_config("record_heatmap_data")){te.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(B.documentElement.clientHeight,A.innerHeight||0);var t=(function(){if(!this.currentUrlBlocked()){var a=Math.max(B.documentElement.clientHeight,A.innerHeight||0)+A.scrollY;a>this.maxScrollViewDepth&&(this.maxScrollViewDepth=a),this.previousScrollHeight=B.body.scrollHeight}}).bind(this),n=bl(t);this.listenerScrollDepth=n.listener,A.addEventListener(n.eventType,this.listenerScrollDepth)}};fe.prototype.initClickTracking=function(){A.removeEventListener(Qe,this.listenerClick),!(!this.getConfig(Xn)&&!this.mp.get_config("record_heatmap_data"))&&(te.log("Initializing click tracking"),this.listenerClick=(function(t){!this.getConfig(Xn)&&!this.mp.is_recording_heatmap_data()||this.trackDomEvent(t,Fl)}).bind(this),A.addEventListener(Qe,this.listenerClick))};fe.prototype.initDeadClickTracking=function(){var t=this._getClickTrackingConfig(Qn);if(!t&&!this.mp.get_config("record_heatmap_data")){this.stopDeadClickTracking();return}te.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new je((function(n){this.trackDomEvent(n,$l)}).bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=(function(n){var a=this._getClickTrackingConfig(Qn);if(!(!a&&!this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var e=a||{};e.timeout_ms||(e.timeout_ms=Dg),this._deadClickTracker.trackClick(n,e)}}).bind(this),A.addEventListener(Qe,this.listenerDeadClick))};fe.prototype.initInputTracking=function(){A.removeEventListener(Wr,this.listenerChange),this.getConfig(Fa)&&(te.log("Initializing input tracking"),this.listenerChange=(function(t){this.getConfig(Fa)&&this.trackDomEvent(t,zg)}).bind(this),A.addEventListener(Wr,this.listenerChange))};fe.prototype.initPageviewTracking=function(){if(A.removeEventListener(st,this.listenerLocationchange),!!this.pageviewTrackingConfig()){te.log("Initializing pageview tracking");var t="",n=!1;this.currentUrlBlocked()||(n=this.mp.track_pageview(qr)),n&&(t=h.info.currentUrl()),this.listenerLocationchange=Vr((function(){if(!this.currentUrlBlocked()){var a=h.info.currentUrl(),e=!1,r=a.split("#")[0].split("?")[0]!==t.split("#")[0].split("?")[0],i=this.pageviewTrackingConfig();if(i===El?e=a!==t:i===$g?e=a.split("#")[0]!==t.split("#")[0]:i===Ug&&(e=r),e){var s=this.mp.track_pageview(qr);s&&(t=a),r&&(this.lastScrollCheckpoint=0,te.log("Path change: re-initializing scroll depth checkpoints"))}}}).bind(this)),A.addEventListener(st,this.listenerLocationchange)}};fe.prototype.initRageClickTracking=function(){A.removeEventListener(Qe,this.listenerRageClick);var t=this._getClickTrackingConfig(ei);!t&&!this.mp.get_config("record_heatmap_data")||(te.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new Sl),this.listenerRageClick=(function(n){var a=this._getClickTrackingConfig(ei);!a&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked()||this._rageClickTracker.isRageClick(n,a)&&this.trackDomEvent(n,Ul)}).bind(this),A.addEventListener(Qe,this.listenerRageClick))};fe.prototype.initScrollTracking=function(){if(A.removeEventListener(yi,this.listenerScroll),A.removeEventListener(Cs,this.listenerScroll),!!this.getConfig($a)){te.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var t=(function(){if(this.getConfig($a)&&!this.currentUrlBlocked()){var a=this.getConfig(Bl),e=(this.getConfig(Ll)||[]).slice().sort(function(l,d){return l-d}),r=A.scrollY,i=h.extend({$scroll_top:r},qr);try{var s=B.body.scrollHeight,o=Math.round(r/(s-A.innerHeight)*100);if(i.$scroll_height=s,i.$scroll_percentage=o,o>this.lastScrollCheckpoint)for(var c=0;c<e.length;c++){var u=e[c];o>=u&&this.lastScrollCheckpoint<u&&(i.$scroll_checkpoint=u,this.lastScrollCheckpoint=u,a=!0)}}catch(l){te.critical("Error while calculating scroll percentage",l)}a&&this.mp.track(Wg,i)}}).bind(this),n=bl(t);this.listenerScroll=n.listener,A.addEventListener(n.eventType,this.listenerScroll)}};fe.prototype.initSubmitTracking=function(){A.removeEventListener(Yn,this.listenerSubmit),this.getConfig(Ua)&&(te.log("Initializing submit tracking"),this.listenerSubmit=(function(t){this.getConfig(Ua)&&this.trackDomEvent(t,qg)}).bind(this),A.addEventListener(Yn,this.listenerSubmit))};fe.prototype.initPageLeaveTracking=function(){if(B.removeEventListener(ic,this.listenerPageLeaveVisibilitychange),A.removeEventListener(st,this.listenerPageLeaveLocationchange),A.removeEventListener(rc,this.listenerPageLoad),!(!this.getConfig(bi)&&!this.mp.get_config("record_heatmap_data"))){te.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var t=h.info.currentUrl();this.listenerPageLoad=(function(){this.previousScrollHeight=B.body.scrollHeight}).bind(this),A.addEventListener(rc,this.listenerPageLoad),this.listenerPageLeaveLocationchange=Vr((function(n){if(!this.currentUrlBlocked()){var a=h.info.currentUrl(),e=a!==t;e&&(this._trackPageLeave(n,t,this.previousScrollHeight),t=a,this.maxScrollViewDepth=Math.max(B.documentElement.clientHeight,A.innerHeight||0),this.previousScrollHeight=B.body.scrollHeight,this.hasTrackedScrollSession=!1)}}).bind(this)),A.addEventListener(st,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=(function(n){B.hidden&&this._trackPageLeave(n,t,this.previousScrollHeight)}).bind(this),B.addEventListener(ic,this.listenerPageLeaveVisibilitychange)}};fe.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(A.removeEventListener(Qe,this.listenerDeadClick),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)};ul(fe);var Ae=Lt("flags"),ti="flags",ri="context",Va={};Va[ri]={};var z=function(t){this.fetch=A.fetch,this.getFullApiRoute=t.getFullApiRoute,this.getMpConfig=t.getConfigFunc,this.setMpConfig=t.setConfigFunc,this.getMpProperty=t.getPropertyFunc,this.track=t.trackingFunc};z.prototype.init=function(){if(!this.minApisSupported()){Ae.critical("Feature Flags unavailable: missing minimum required APIs");return}this.flags=null,this.fetchFlags(),this.trackedFeatures=new Set};z.prototype.getFullConfig=function(){var t=this.getMpConfig(ti);return t?h.isObject(t)?h.extend({},Va,t):Va:{}};z.prototype.getConfig=function(t){return this.getFullConfig()[t]};z.prototype.isSystemEnabled=function(){return!!this.getMpConfig(ti)};z.prototype.updateContext=function(t,n){if(!this.isSystemEnabled())return Ae.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var a=this.getMpConfig(ti);h.isObject(a)||(a={});var e=n&&n.replace?{}:this.getConfig(ri);return a[ri]=h.extend({},e,t),this.setMpConfig(ti,a),this.fetchFlags()};z.prototype.areFlagsReady=function(){return this.isSystemEnabled()||Ae.error("Feature Flags not enabled"),!!this.flags};z.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var t=this.getMpProperty("distinct_id"),n=this.getMpProperty("$device_id"),a=jm();Ae.log("Fetching flags for distinct ID: "+t);var e=h.extend({distinct_id:t,device_id:n},this.getConfig(ri)),r=new URLSearchParams;r.set("context",JSON.stringify(e)),r.set("token",this.getMpConfig("token")),r.set("mp_lib","web"),r.set("$lib_version",De.LIB_VERSION);var i=this.getFullApiRoute()+"?"+r.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(A,i,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:a}}).then((function(s){return this.markFetchComplete(),s.json().then((function(o){var c=o.flags;if(!c)throw new Error("No flags in API response");var u=new Map;h.each(c,function(l,d){u.set(d,{key:l.variant_key,value:l.variant_value,experiment_id:l.experiment_id,is_experiment_active:l.is_experiment_active,is_qa_tester:l.is_qa_tester})}),this.flags=u,this._traceparent=a}).bind(this)).catch((function(o){this.markFetchComplete(),Ae.error(o)}).bind(this))}).bind(this)).catch((function(s){this.markFetchComplete(),Ae.error(s)}).bind(this)),this.fetchPromise};z.prototype.markFetchComplete=function(){if(!this._fetchInProgressStartTime){Ae.error("Fetch in progress started time not set, cannot mark fetch complete");return}this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null};z.prototype.getVariant=function(t,n){return this.fetchPromise?this.fetchPromise.then((function(){return this.getVariantSync(t,n)}).bind(this)).catch(function(a){return Ae.error(a),n}):new Promise(function(a){Ae.critical("Feature Flags not initialized"),a(n)})};z.prototype.getVariantSync=function(t,n){if(!this.areFlagsReady())return Ae.log("Flags not loaded yet"),n;var a=this.flags.get(t);return a?(this.trackFeatureCheck(t,a),a):(Ae.log('No flag found: "'+t+'"'),n)};z.prototype.getVariantValue=function(t,n){return this.getVariant(t,{value:n}).then(function(a){return a.value}).catch(function(a){return Ae.error(a),n})};z.prototype.getFeatureData=function(t,n){return Ae.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value() instead."),this.getVariantValue(t,n)};z.prototype.getVariantValueSync=function(t,n){return this.getVariantSync(t,{value:n}).value};z.prototype.isEnabled=function(t,n){return this.getVariantValue(t).then((function(){return this.isEnabledSync(t,n)}).bind(this)).catch(function(a){return Ae.error(a),n})};z.prototype.isEnabledSync=function(t,n){n=n||!1;var a=this.getVariantValueSync(t,n);return a!==!0&&a!==!1&&(Ae.error('Feature flag "'+t+'" value: '+a+" is not a boolean; returning fallback value: "+n),a=n),a};z.prototype.trackFeatureCheck=function(t,n){if(!this.trackedFeatures.has(t)){this.trackedFeatures.add(t);var a={"Experiment name":t,"Variant name":n.key,$experiment_type:"feature_flag","Variant fetch start time":new Date(this._fetchStartTime).toISOString(),"Variant fetch complete time":new Date(this._fetchCompleteTime).toISOString(),"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};n.experiment_id!=="undefined"&&(a.$experiment_id=n.experiment_id),n.is_experiment_active!=="undefined"&&(a.$is_experiment_active=n.is_experiment_active),n.is_qa_tester!=="undefined"&&(a.$is_qa_tester=n.is_qa_tester),this.track("$experiment_started",a)}};z.prototype.minApisSupported=function(){return!!this.fetch&&typeof Promise<"u"&&typeof Map<"u"&&typeof Set<"u"};ul(z);z.prototype.are_flags_ready=z.prototype.areFlagsReady;z.prototype.get_variant=z.prototype.getVariant;z.prototype.get_variant_sync=z.prototype.getVariantSync;z.prototype.get_variant_value=z.prototype.getVariantValue;z.prototype.get_variant_value_sync=z.prototype.getVariantValueSync;z.prototype.is_enabled=z.prototype.isEnabled;z.prototype.is_enabled_sync=z.prototype.isEnabledSync;z.prototype.update_context=z.prototype.updateContext;z.prototype.get_feature_data=z.prototype.getFeatureData;var rt=function(){};rt.prototype.create_properties=function(){};rt.prototype.event_handler=function(){};rt.prototype.after_track_handler=function(){};rt.prototype.init=function(t){return this.mp=t,this};rt.prototype.track=function(t,n,a,e){var r=this,i=h.dom_query(t);if(i.length===0){V.error("The DOM query ("+t+") returned 0 elements");return}return h.each(i,function(s){h.register_event(s,this.override_event,function(o){var c={},u=r.create_properties(a,this),l=r.mp.get_config("track_links_timeout");r.event_handler(o,this,c),window.setTimeout(r.track_callback(e,u,c,!0),l),r.mp.track(n,u,r.track_callback(e,u,c))})},this),!0};rt.prototype.track_callback=function(t,n,a,e){e=e||!1;var r=this;return function(){a.callback_fired||(a.callback_fired=!0,!(t&&t(e,n)===!1)&&r.after_track_handler(n,a,e))}};rt.prototype.create_properties=function(t,n){var a;return typeof t=="function"?a=t(n):a=h.extend({},t),a};var sr=function(){this.override_event="click"};h.inherit(sr,rt);sr.prototype.create_properties=function(t,n){var a=sr.superclass.create_properties.apply(this,arguments);return n.href&&(a.url=n.href),a};sr.prototype.event_handler=function(t,n,a){a.new_tab=t.which===2||t.metaKey||t.ctrlKey||n.target==="_blank",a.href=n.href,a.new_tab||t.preventDefault()};sr.prototype.after_track_handler=function(t,n){n.new_tab||setTimeout(function(){window.location=n.href},0)};var Ci=function(){this.override_event="submit"};h.inherit(Ci,rt);Ci.prototype.event_handler=function(t,n,a){a.element=n,t.preventDefault()};Ci.prototype.after_track_handler=function(t,n){setTimeout(function(){n.element.submit()},0)};var lt="$set",or="$set_once",Ne="$unset",It="$add",qe="$append",xt="$union",Ye="$remove",jg="$delete",Vl={set_action:function(t,n){var a={},e={};return h.isObject(t)?h.each(t,function(r,i){this._is_reserved_property(i)||(e[i]=r)},this):e[t]=n,a[lt]=e,a},unset_action:function(t){var n={},a=[];return h.isArray(t)||(t=[t]),h.each(t,function(e){this._is_reserved_property(e)||a.push(e)},this),n[Ne]=a,n},set_once_action:function(t,n){var a={},e={};return h.isObject(t)?h.each(t,function(r,i){this._is_reserved_property(i)||(e[i]=r)},this):e[t]=n,a[or]=e,a},union_action:function(t,n){var a={},e={};return h.isObject(t)?h.each(t,function(r,i){this._is_reserved_property(i)||(e[i]=h.isArray(r)?r:[r])},this):e[t]=h.isArray(n)?n:[n],a[xt]=e,a},append_action:function(t,n){var a={},e={};return h.isObject(t)?h.each(t,function(r,i){this._is_reserved_property(i)||(e[i]=r)},this):e[t]=n,a[qe]=e,a},remove_action:function(t,n){var a={},e={};return h.isObject(t)?h.each(t,function(r,i){this._is_reserved_property(i)||(e[i]=r)},this):e[t]=n,a[Ye]=e,a},delete_action:function(){var t={};return t[jg]="",t}},ie=function(){};h.extend(ie.prototype,Vl);ie.prototype._init=function(t,n,a){this._mixpanel=t,this._group_key=n,this._group_id=a};ie.prototype.set=cr(function(t,n,a){var e=this.set_action(t,n);return h.isObject(t)&&(a=n),this._send_request(e,a)});ie.prototype.set_once=cr(function(t,n,a){var e=this.set_once_action(t,n);return h.isObject(t)&&(a=n),this._send_request(e,a)});ie.prototype.unset=cr(function(t,n){var a=this.unset_action(t);return this._send_request(a,n)});ie.prototype.union=cr(function(t,n,a){h.isObject(t)&&(a=n);var e=this.union_action(t,n);return this._send_request(e,a)});ie.prototype.delete=cr(function(t){var n=this.delete_action();return this._send_request(n,t)});ie.prototype.remove=cr(function(t,n,a){var e=this.remove_action(t,n);return this._send_request(e,a)});ie.prototype._send_request=function(t,n){t.$group_key=this._group_key,t.$group_id=this._group_id,t.$token=this._get_config("token");var a=h.encodeDates(t);return this._mixpanel._track_or_batch({type:"groups",data:a,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},n)};ie.prototype._is_reserved_property=function(t){return t==="$group_key"||t==="$group_id"};ie.prototype._get_config=function(t){return this._mixpanel.get_config(t)};ie.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id};ie.prototype.remove=ie.prototype.remove;ie.prototype.set=ie.prototype.set;ie.prototype.set_once=ie.prototype.set_once;ie.prototype.union=ie.prototype.union;ie.prototype.unset=ie.prototype.unset;ie.prototype.toString=ie.prototype.toString;var N=function(){};h.extend(N.prototype,Vl);N.prototype._init=function(t){this._mixpanel=t};N.prototype.set=vt(function(t,n,a){var e=this.set_action(t,n);return h.isObject(t)&&(a=n),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),e[lt]=h.extend({},h.info.people_properties(),e[lt]),this._send_request(e,a)});N.prototype.set_once=vt(function(t,n,a){var e=this.set_once_action(t,n);return h.isObject(t)&&(a=n),this._send_request(e,a)});N.prototype.unset=vt(function(t,n){var a=this.unset_action(t);return this._send_request(a,n)});N.prototype.increment=vt(function(t,n,a){var e={},r={};return h.isObject(t)?(h.each(t,function(i,s){if(!this._is_reserved_property(s))if(isNaN(parseFloat(i))){V.error("Invalid increment value passed to mixpanel.people.increment - must be a number");return}else r[s]=i},this),a=n):(h.isUndefined(n)&&(n=1),r[t]=n),e[It]=r,this._send_request(e,a)});N.prototype.append=vt(function(t,n,a){h.isObject(t)&&(a=n);var e=this.append_action(t,n);return this._send_request(e,a)});N.prototype.remove=vt(function(t,n,a){h.isObject(t)&&(a=n);var e=this.remove_action(t,n);return this._send_request(e,a)});N.prototype.union=vt(function(t,n,a){h.isObject(t)&&(a=n);var e=this.union_action(t,n);return this._send_request(e,a)});N.prototype.track_charge=vt(function(){V.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")});N.prototype.clear_charges=function(t){return this.set("$transactions",[],t)};N.prototype.delete_user=function(){if(!this._identify_called()){V.error("mixpanel.people.delete_user() requires you to call identify() first");return}var t={$delete:this._mixpanel.get_distinct_id()};return this._send_request(t)};N.prototype.toString=function(){return this._mixpanel.toString()+".people"};N.prototype._send_request=function(t,n){t.$token=this._get_config("token"),t.$distinct_id=this._mixpanel.get_distinct_id();var a=this._mixpanel.get_property("$device_id"),e=this._mixpanel.get_property("$user_id"),r=this._mixpanel.get_property("$had_persisted_distinct_id");a&&(t.$device_id=a),e&&(t.$user_id=e),r&&(t.$had_persisted_distinct_id=r);var i=h.encodeDates(t);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:i,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},n):(this._enqueue(t),h.isUndefined(n)||(this._get_config("verbose")?n({status:-1,error:null}):n(-1)),h.truncate(i,255))};N.prototype._get_config=function(t){return this._mixpanel.get_config(t)};N.prototype._identify_called=function(){return this._mixpanel._flags.identify_called===!0};N.prototype._enqueue=function(t){lt in t?this._mixpanel.persistence._add_to_people_queue(lt,t):or in t?this._mixpanel.persistence._add_to_people_queue(or,t):Ne in t?this._mixpanel.persistence._add_to_people_queue(Ne,t):It in t?this._mixpanel.persistence._add_to_people_queue(It,t):qe in t?this._mixpanel.persistence._add_to_people_queue(qe,t):Ye in t?this._mixpanel.persistence._add_to_people_queue(Ye,t):xt in t?this._mixpanel.persistence._add_to_people_queue(xt,t):V.error("Invalid call to _enqueue():",t)};N.prototype._flush_one_queue=function(t,n,a,e){var r=this,i=h.extend({},this._mixpanel.persistence.load_queue(t)),s=i;!h.isUndefined(i)&&h.isObject(i)&&!h.isEmptyObject(i)&&(r._mixpanel.persistence._pop_from_people_queue(t,i),r._mixpanel.persistence.save(),e&&(s=e(i)),n.call(r,s,function(o,c){o===0&&r._mixpanel.persistence._add_to_people_queue(t,i),h.isUndefined(a)||a(o,c)}))};N.prototype._flush=function(t,n,a,e,r,i,s){var o=this;this._flush_one_queue(lt,this.set,t),this._flush_one_queue(or,this.set_once,e),this._flush_one_queue(Ne,this.unset,i,function(p){return h.keys(p)}),this._flush_one_queue(It,this.increment,n),this._flush_one_queue(xt,this.union,r);var c=this._mixpanel.persistence.load_queue(qe);if(!h.isUndefined(c)&&h.isArray(c)&&c.length)for(var u,l=function(p,v){p===0&&o._mixpanel.persistence._add_to_people_queue(qe,u),h.isUndefined(a)||a(p,v)},d=c.length-1;d>=0;d--)c=this._mixpanel.persistence.load_queue(qe),u=c.pop(),o._mixpanel.persistence.save(),h.isEmptyObject(u)||o.append(u,l);var f=this._mixpanel.persistence.load_queue(Ye);if(!h.isUndefined(f)&&h.isArray(f)&&f.length)for(var m,_=function(p,v){p===0&&o._mixpanel.persistence._add_to_people_queue(Ye,m),h.isUndefined(s)||s(p,v)},g=f.length-1;g>=0;g--)f=this._mixpanel.persistence.load_queue(Ye),m=f.pop(),o._mixpanel.persistence.save(),h.isEmptyObject(m)||o.remove(m,_)};N.prototype._is_reserved_property=function(t){return t==="$distinct_id"||t==="$token"||t==="$device_id"||t==="$user_id"||t==="$had_persisted_distinct_id"};N.prototype.set=N.prototype.set;N.prototype.set_once=N.prototype.set_once;N.prototype.unset=N.prototype.unset;N.prototype.increment=N.prototype.increment;N.prototype.append=N.prototype.append;N.prototype.remove=N.prototype.remove;N.prototype.union=N.prototype.union;N.prototype.track_charge=N.prototype.track_charge;N.prototype.clear_charges=N.prototype.clear_charges;N.prototype.delete_user=N.prototype.delete_user;N.prototype.toString=N.prototype.toString;var ws="__mps",Ss="__mpso",As="__mpus",Es="__mpa",Ts="__mpap",Rs="__mpr",Ps="__mpu",zl="$people_distinct_id",ni="__alias",Gr="__timers",Hg=[ws,Ss,As,Es,Ts,Rs,Ps,zl,ni,Gr],U=function(t){this.props={},this.campaign_params_saved=!1,t.persistence_name?this.name="mp_"+t.persistence_name:this.name="mp_"+t.token+"_mixpanel";var n=t.persistence;n!=="cookie"&&n!=="localStorage"&&(V.critical("Unknown persistence type "+n+"; falling back to cookie"),n=t.persistence="cookie"),n==="localStorage"&&h.localStorage.is_supported()?this.storage=h.localStorage:this.storage=h.cookie,this.load(),this.update_config(t),this.upgrade(),this.save()};U.prototype.properties=function(){var t={};return this.load(),h.each(this.props,function(n,a){h.include(Hg,a)||(t[a]=n)}),t};U.prototype.load=function(){if(!this.disabled){var t=this.storage.parse(this.name);t&&(this.props=h.extend({},t))}};U.prototype.upgrade=function(){var t,n;this.storage===h.localStorage?(t=h.cookie.parse(this.name),h.cookie.remove(this.name),h.cookie.remove(this.name,!0),t&&this.register_once(t)):this.storage===h.cookie&&(n=h.localStorage.parse(this.name),h.localStorage.remove(this.name),n&&this.register_once(n))};U.prototype.save=function(){this.disabled||this.storage.set(this.name,ar(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)};U.prototype.load_prop=function(t){return this.load(),this.props[t]};U.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)};U.prototype.clear=function(){this.remove(),this.props={}};U.prototype.register_once=function(t,n,a){return h.isObject(t)?(typeof n>"u"&&(n="None"),this.expire_days=typeof a>"u"?this.default_expiry:a,this.load(),h.each(t,function(e,r){(!this.props.hasOwnProperty(r)||this.props[r]===n)&&(this.props[r]=e)},this),this.save(),!0):!1};U.prototype.register=function(t,n){return h.isObject(t)?(this.expire_days=typeof n>"u"?this.default_expiry:n,this.load(),h.extend(this.props,t),this.save(),!0):!1};U.prototype.unregister=function(t){this.load(),t in this.props&&(delete this.props[t],this.save())};U.prototype.update_search_keyword=function(t){this.register(h.info.searchInfo(t))};U.prototype.update_referrer_info=function(t){this.register_once({$initial_referrer:t||"$direct",$initial_referring_domain:h.info.referringDomain(t)||"$direct"},"")};U.prototype.get_referrer_info=function(){return h.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})};U.prototype.update_config=function(t){this.default_expiry=this.expire_days=t.cookie_expiration,this.set_disabled(t.disable_persistence),this.set_cookie_domain(t.cookie_domain),this.set_cross_site(t.cross_site_cookie),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie)};U.prototype.set_disabled=function(t){this.disabled=t,this.disabled?this.remove():this.save()};U.prototype.set_cookie_domain=function(t){t!==this.cookie_domain&&(this.remove(),this.cookie_domain=t,this.save())};U.prototype.set_cross_site=function(t){t!==this.cross_site&&(this.cross_site=t,this.remove(),this.save())};U.prototype.set_cross_subdomain=function(t){t!==this.cross_subdomain&&(this.cross_subdomain=t,this.remove(),this.save())};U.prototype.get_cross_subdomain=function(){return this.cross_subdomain};U.prototype.set_secure=function(t){t!==this.secure&&(this.secure=!!t,this.remove(),this.save())};U.prototype._add_to_people_queue=function(t,n){var a=this._get_queue_key(t),e=n[t],r=this._get_or_create_queue(lt),i=this._get_or_create_queue(or),s=this._get_or_create_queue(Ne),o=this._get_or_create_queue(It),c=this._get_or_create_queue(xt),u=this._get_or_create_queue(Ye,[]),l=this._get_or_create_queue(qe,[]);a===ws?(h.extend(r,e),this._pop_from_people_queue(It,e),this._pop_from_people_queue(xt,e),this._pop_from_people_queue(Ne,e)):a===Ss?(h.each(e,function(d,f){f in i||(i[f]=d)}),this._pop_from_people_queue(Ne,e)):a===As?h.each(e,function(d){h.each([r,i,o,c],function(f){d in f&&delete f[d]}),h.each(l,function(f){d in f&&delete f[d]}),s[d]=!0}):a===Es?(h.each(e,function(d,f){f in r?r[f]+=d:(f in o||(o[f]=0),o[f]+=d)},this),this._pop_from_people_queue(Ne,e)):a===Ps?(h.each(e,function(d,f){h.isArray(d)&&(f in c||(c[f]=[]),h.each(d,function(m){h.include(c[f],m)||c[f].push(m)}))}),this._pop_from_people_queue(Ne,e)):a===Rs?(u.push(e),this._pop_from_people_queue(qe,e)):a===Ts&&(l.push(e),this._pop_from_people_queue(Ne,e)),V.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),V.log(n),this.save()};U.prototype._pop_from_people_queue=function(t,n){var a=this.props[this._get_queue_key(t)];h.isUndefined(a)||h.each(n,function(e,r){t===qe||t===Ye?h.each(a,function(i){i[r]===e&&delete i[r]}):delete a[r]},this)};U.prototype.load_queue=function(t){return this.load_prop(this._get_queue_key(t))};U.prototype._get_queue_key=function(t){if(t===lt)return ws;if(t===or)return Ss;if(t===Ne)return As;if(t===It)return Es;if(t===qe)return Ts;if(t===Ye)return Rs;if(t===xt)return Ps;V.error("Invalid queue:",t)};U.prototype._get_or_create_queue=function(t,n){var a=this._get_queue_key(t);return n=h.isUndefined(n)?{}:n,this.props[a]||(this.props[a]=n)};U.prototype.set_event_timer=function(t,n){var a=this.load_prop(Gr)||{};a[t]=n,this.props[Gr]=a,this.save()};U.prototype.remove_event_timer=function(t){var n=this.load_prop(Gr)||{},a=n[t];return h.isUndefined(a)||(delete this.props[Gr][t],this.save()),a};var ii,Wl=function(t,n){throw new Error(t+" not available in this build.")},ye,za=0,Jg=1,Me="mixpanel",ql="base64",Zg="json",Os="$device:",Kt=A.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,Gl=!Kt&&ze.indexOf("MSIE")===-1&&ze.indexOf("Mozilla")===-1,ai=null;Ze.sendBeacon&&(ai=function(){return Ze.sendBeacon.apply(Ze,arguments)});var jl={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/"},dc={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:jl,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:ql,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:ot,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:ot,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video, audio",record_canvas:!1,record_collect_fonts:!1,record_console:!0,record_heatmap_data:!1,record_idle_timeout_ms:30*60*1e3,record_mask_text_class:new RegExp("^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$"),record_mask_text_selector:"*",record_max_ms:Ar,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},Hl=!1,C=function(){},Wa=function(t,n,a){var e,r=a===Me?ye:ye[a];if(r&&ii===za)e=r;else{if(r&&!h.isArray(r)){V.error("You have already initialized "+a);return}e=new C}if(e._cached_groups={},e._init(t,n,a),e.people=new N,e.people._init(e),!e.get_config("skip_first_touch_marketing")){var i=h.info.campaignParams(null),s={},o=!1;h.each(i,function(u,l){s["initial_"+l]=u,u&&(o=!0)}),o&&e.people.set_once(s)}De.DEBUG=De.DEBUG||e.get_config("debug");var c=ii===za?"module":"snippet";return A.dispatchEvent(new A.CustomEvent("$mp_sdk_to_extension_event",{detail:{instance:e,source:c,token:t,name:a,info:h.info}})),!h.isUndefined(r)&&h.isArray(r)&&(e._execute_array.call(e.people,r.people),e._execute_array(r)),e};C.prototype.init=function(t,n,a){if(h.isUndefined(a)){this.report_error("You must name your new library: init(token, config, name)");return}if(a===Me){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var e=Wa(t,n,a);return ye[a]=e,e._loaded(),e};C.prototype._init=function(t,n,a){n=n||{},this.__loaded=!0,this.config={};var e={};if(!("api_payload_format"in n)){var r=n.api_host||dc.api_host;r.match(/\.mixpanel\.com/)&&(e.api_payload_format=Zg)}if(this.hooks={},this.set_config(h.extend({},dc,e,n,{name:a,token:t,callback_fn:(a===Me?a:Me+"."+a)+"._jsc"})),this._jsc=ot,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests){if(!h.localStorage.is_supported(!0)||!Kt)this._batch_requests=!1,V.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),h.each(this.get_batcher_configs(),function(o){V.log("Clearing batch queue "+o.queue_key),h.localStorage.remove(o.queue_key)});else if(this.init_batchers(),ai&&A.addEventListener){var i=h.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);A.addEventListener("pagehide",function(o){o.persisted&&i()}),A.addEventListener("visibilitychange",function(){B.visibilityState==="hidden"&&i()})}}this.persistence=this.cookie=new U(this.config),this.unpersisted_superprops={},this._gdpr_init();var s=h.UUID();this.get_distinct_id()||this.register_once({distinct_id:Os+s,$device_id:s},""),this.flags=new z({getFullApiRoute:h.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:h.bind(this.get_config,this),setConfigFunc:h.bind(this.set_config,this),getPropertyFunc:h.bind(this.get_property,this),trackingFunc:h.bind(this.track,this)}),this.flags.init(),this.flags=this.flags,this.autocapture=new fe(this),this.autocapture.init(),this._init_tab_id(),this._check_and_start_session_recording()};C.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))V.log("Tab ID initialization skipped due to disable_persistence config");else if(h.sessionStorage.is_supported())try{var t=this.get_config("name")+"_"+this.get_config("token"),n="mp_tab_id_"+t,a="mp_gen_new_tab_id_"+t;(h.sessionStorage.get(a)||!h.sessionStorage.get(n))&&h.sessionStorage.set(n,"$tab-"+h.UUID()),h.sessionStorage.set(a,"1"),this.tab_id=h.sessionStorage.get(n),A.addEventListener("beforeunload",function(){h.sessionStorage.remove(a)})}catch(e){this.report_error("Error initializing tab id",e)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")};C.prototype.get_tab_id=function(){return this.tab_id||null};C.prototype._should_load_recorder=function(){if(this.get_config("disable_persistence"))return V.log("Load recorder check skipped due to disable_persistence config"),Promise.resolve(!1);var t=new Fe(ms),n=this.get_tab_id();return t.init().then(function(){return t.getAll()}).then(function(a){for(var e=0;e<a.length;e++)if(bs(a[e])||a[e].tabId===n)return!0;return!1}).catch(h.bind(function(a){this.report_error("Error checking recording registry",a)},this))};C.prototype._check_and_start_session_recording=gt(function(t){if(!A.MutationObserver){V.critical("Browser does not support MutationObserver; skipping session recording");return}var n=h.bind(function(e){var r=h.bind(function(){this._recorder=this._recorder||new A.__mp_recorder(this),this._recorder.resumeRecording(e)},this);h.isUndefined(A.__mp_recorder)?Wl(this.get_config("recorder_src"),r):r()},this),a=this.get_config("record_sessions_percent")>0&&Math.random()*100<=this.get_config("record_sessions_percent");t||a?n(!0):this._should_load_recorder().then(function(e){e&&n(!1)})});C.prototype.start_session_recording=function(){this._check_and_start_session_recording(!0)};C.prototype.stop_session_recording=function(){return this._recorder?this._recorder.stopRecording():Promise.resolve()};C.prototype.pause_session_recording=function(){return this._recorder?this._recorder.pauseRecording():Promise.resolve()};C.prototype.resume_session_recording=function(){return this._recorder?this._recorder.resumeRecording():Promise.resolve()};C.prototype.is_recording_heatmap_data=function(){return this._get_session_replay_id()&&this.get_config("record_heatmap_data")};C.prototype.get_session_recording_properties=function(){var t={},n=this._get_session_replay_id();return n&&(t.$mp_replay_id=n),t};C.prototype.get_session_replay_url=function(){var t=null,n=this._get_session_replay_id();if(n){var a=h.HTTPBuildQuery({replay_id:n,distinct_id:this.get_distinct_id(),token:this.get_config("token")});t="https://mixpanel.com/projects/replay-redirect?"+a}return t};C.prototype._get_session_replay_id=function(){var t=null;return this._recorder&&(t=this._recorder.replayId),t||null};C.prototype.__get_recorder=function(){return this._recorder};C.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var t=h.info.campaignParams(null);h.each(t,(function(n,a){this.unregister(a)}).bind(this))}};C.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(B.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(h.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(B.referrer)};C.prototype._dom_loaded=function(){h.each(this.__dom_loaded_queue,function(t){this._track_dom.apply(this,t)},this),this.has_opted_out_tracking()||h.each(this.__request_queue,function(t){this._send_request.apply(this,t)},this),delete this.__dom_loaded_queue,delete this.__request_queue};C.prototype._track_dom=function(t,n){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!Hl)return this.__dom_loaded_queue.push([t,n]),!1;var a=new t().init(this);return a.track.apply(a,n)};C.prototype._prepare_callback=function(t,n){if(h.isUndefined(t))return null;if(Kt){var a=function(s){t(s,n)};return a}else{var e=this._jsc,r=""+Math.floor(Math.random()*1e8),i=this.get_config("callback_fn")+"["+r+"]";return e[r]=function(s){delete e[r],t(s,n)},i}};C.prototype._send_request=function(t,n,a,e){var r=!0;if(Gl)return this.__request_queue.push(arguments),r;var i={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},s=null;!e&&(h.isFunction(a)||typeof a=="string")&&(e=a,a=null),a=h.extend(i,a||{}),Kt||(a.method="GET");var o=a.method==="POST",c=ai&&o&&a.transport.toLowerCase()==="sendbeacon",u=a.verbose;n.verbose&&(u=!0),this.get_config("test")&&(n.test=1),u&&(n.verbose=1),this.get_config("img")&&(n.img=1),Kt||(e?n.callback=e:(u||this.get_config("test"))&&(n.callback="(function(){})")),n.ip=this.get_config("ip")?1:0,n._=new Date().getTime().toString(),o&&(s="data="+encodeURIComponent(n.data),delete n.data),h.extend(n,this.get_config("api_extra_query_params")),t+="?"+h.HTTPBuildQuery(n);var l=this;if("img"in n){var d=B.createElement("img");d.src=t,B.body.appendChild(d)}else if(c){try{r=ai(t,s)}catch(v){l.report_error(v),r=!1}try{e&&e(r?1:0)}catch(v){l.report_error(v)}}else if(Kt)try{var f=new XMLHttpRequest;f.open(a.method,t,!0);var m=this.get_config("xhr_headers");if(o&&(m["Content-Type"]="application/x-www-form-urlencoded"),h.each(m,function(v,y){f.setRequestHeader(y,v)}),a.timeout_ms&&typeof f.timeout<"u"){f.timeout=a.timeout_ms;var _=new Date().getTime()}f.withCredentials=!0,f.onreadystatechange=function(){if(f.readyState===4)if(f.status===200){if(e)if(u){var v;try{v=h.JSONDecode(f.responseText)}catch(k){if(l.report_error(k),a.ignore_json_errors)v=f.responseText;else return}e(v)}else e(Number(f.responseText))}else{var y;if(f.timeout&&!f.status&&new Date().getTime()-_>=f.timeout?y="timeout":y="Bad HTTP status: "+f.status+" "+f.statusText,l.report_error(y),e)if(u){var b=f.responseHeaders||{};e({status:0,httpStatusCode:f.status,error:y,retryAfter:b["Retry-After"]})}else e(0)}},f.send(s)}catch(v){l.report_error(v),r=!1}else{var g=B.createElement("script");g.type="text/javascript",g.async=!0,g.defer=!0,g.src=t;var p=B.getElementsByTagName("script")[0];p.parentNode.insertBefore(g,p)}return r};C.prototype._execute_array=function(t){var n,a=[],e=[],r=[];h.each(t,function(s){s&&(n=s[0],h.isArray(n)?r.push(s):typeof s=="function"?s.call(this):h.isArray(s)&&n==="alias"?a.push(s):h.isArray(s)&&n.indexOf("track")!==-1&&typeof this[n]=="function"?r.push(s):e.push(s))},this);var i=function(s,o){h.each(s,function(c){if(h.isArray(c[0])){var u=o;h.each(c,function(l){u=u[l[0]].apply(u,l.slice(1))})}else this[c[0]].apply(this,c.slice(1))},o)};i(a,this),i(e,this),i(r,this)};C.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events};C.prototype.get_batcher_configs=function(){var t="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",api_name:"track",queue_key:t+"_ev"},people:{type:"people",api_name:"engage",queue_key:t+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:t+"_gr"}},this._batcher_configs};C.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var t=h.bind(function(a){return new Be(a.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:h.bind(function(e,r,i){var s=this.get_config("api_routes");this._send_request(this.get_api_host(a.api_name)+"/"+s[a.api_name],this._encode_data_for_request(e),r,this._prepare_callback(i,e))},this),beforeSendHook:h.bind(function(e){var r=this._run_hook("before_send_"+a.type,e);return r?r[0]:null},this),stopAllBatchingFunc:h.bind(this.stop_batch_senders,this),usePersistence:!0})},this),n=this.get_batcher_configs();this.request_batchers={events:t(n.events),people:t(n.people),groups:t(n.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()};C.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,h.each(this.request_batchers,function(t){t.start()}))};C.prototype.stop_batch_senders=function(){this._batch_requests=!1,h.each(this.request_batchers,function(t){t.stop(),t.clear()})};C.prototype.push=function(t){this._execute_array([t])};C.prototype.disable=function(t){typeof t>"u"?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(t)};C.prototype._encode_data_for_request=function(t){var n=ar(t);return this.get_config("api_payload_format")===ql&&(n=h.base64Encode(n)),{data:n}};C.prototype._track_or_batch=function(t,n){var a=h.truncate(t.data,255),e=t.endpoint,r=t.batcher,i=t.should_send_immediately,s=t.send_request_options||{};n=n||ot;var o=!0,c=h.bind(function(){return s.skip_hooks||(a=this._run_hook("before_send_"+t.type,a),a&&(a=a[0])),a?(V.log("MIXPANEL REQUEST:"),V.log(a),this._send_request(e,this._encode_data_for_request(a),s,this._prepare_callback(n,a))):null},this);return this._batch_requests&&!i?r.enqueue(a).then(function(u){u?n(1,a):c()}):o=c(),o&&a};C.prototype.track=gt(function(t,n,a,e){var r;if(!(a&&a.skip_hooks)){if(r=this._run_hook("before_track",t,n),r===null)return;t=r[0],n=r[1]}!e&&typeof a=="function"&&(e=a,a=null),a=a||{};var i=a.transport;i&&(a.transport=i);var s=a.send_immediately;if(typeof e!="function"&&(e=ot),h.isUndefined(t)){this.report_error("No event name provided to mixpanel.track");return}if(this._event_is_disabled(t)){e(0);return}n=h.extend({},n),n.token=this.get_config("token");var o=this.persistence.remove_event_timer(t);if(!h.isUndefined(o)){var c=new Date().getTime()-o;n.$duration=parseFloat((c/1e3).toFixed(3))}this._set_default_superprops();var u=this.get_config("track_marketing")?h.info.marketingParams():{};n=h.extend({},h.info.properties({mp_loader:this.get_config("mp_loader")}),u,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),n);var l=this.get_config("property_blacklist");h.isArray(l)?h.each(l,function(f){delete n[f]}):this.report_error("Invalid value for property_blacklist config: "+l);var d={event:t,properties:n};return r=this._track_or_batch({type:"events",data:d,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:s,send_request_options:a},e),r});C.prototype.set_group=gt(function(t,n,a){h.isArray(n)||(n=[n]);var e={};return e[t]=n,this.register(e),this.people.set(t,n,a)});C.prototype.add_group=gt(function(t,n,a){var e=this.get_property(t),r={};return e===void 0?(r[t]=[n],this.register(r)):e.indexOf(n)===-1&&(e.push(n),r[t]=e,this.register(r)),this.people.union(t,n,a)});C.prototype.remove_group=gt(function(t,n,a){var e=this.get_property(t);if(e!==void 0){var r=e.indexOf(n);r>-1&&(e.splice(r,1),this.register({group_key:e})),e.length===0&&this.unregister(t)}return this.people.remove(t,n,a)});C.prototype.track_with_groups=gt(function(t,n,a,e){var r=h.extend({},n||{});return h.each(a,function(i,s){i!=null&&(r[s]=i)}),this.track(t,r,e)});C.prototype._create_map_key=function(t,n){return t+"_"+JSON.stringify(n)};C.prototype._remove_group_from_cache=function(t,n){delete this._cached_groups[this._create_map_key(t,n)]};C.prototype.get_group=function(t,n){var a=this._create_map_key(t,n),e=this._cached_groups[a];return(e===void 0||e._group_key!==t||e._group_id!==n)&&(e=new ie,e._init(this,t,n),this._cached_groups[a]=e),e};C.prototype.track_pageview=gt(function(t,n){typeof t!="object"&&(t={}),n=n||{};var a=n.event_name||"$mp_web_page_view",e=h.extend(h.info.mpPageViewProperties(),h.info.campaignParams(),h.info.clickParams()),r=h.extend({},e,t);return this.track(a,r)});C.prototype.track_links=function(){return this._track_dom.call(this,sr,arguments)};C.prototype.track_forms=function(){return this._track_dom.call(this,Ci,arguments)};C.prototype.time_event=function(t){if(h.isUndefined(t)){this.report_error("No event name provided to mixpanel.time_event");return}this._event_is_disabled(t)||this.persistence.set_event_timer(t,new Date().getTime())};var Yg={persistent:!0},Is=function(t){var n;return h.isObject(t)?n=t:h.isUndefined(t)?n={}:n={days:t},h.extend({},Yg,n)};C.prototype.register=function(t,n){var a=this._run_hook("before_register",t,n);if(a!==null){t=a[0],n=a[1];var e=Is(n);e.persistent?this.persistence.register(t,e.days):h.extend(this.unpersisted_superprops,t)}};C.prototype.register_once=function(t,n,a){var e=this._run_hook("before_register_once",t,n,a);if(e!==null){t=e[0],n=e[1],a=e[2];var r=Is(a);r.persistent?this.persistence.register_once(t,n,r.days):(typeof n>"u"&&(n="None"),h.each(t,function(i,s){(!this.unpersisted_superprops.hasOwnProperty(s)||this.unpersisted_superprops[s]===n)&&(this.unpersisted_superprops[s]=i)},this))}};C.prototype.unregister=function(t,n){var a=this._run_hook("before_unregister",t,n);a!==null&&(t=a[0],n=a[1],n=Is(n),n.persistent?this.persistence.unregister(t):delete this.unpersisted_superprops[t])};C.prototype._register_single=function(t,n){var a={};a[t]=n,this.register(a)};C.prototype.identify=function(t,n,a,e,r,i,s,o){var c=this._run_hook("before_identify",t);if(c===null)return-1;t=c[0];var u=this.get_distinct_id();if(t&&u!==t){if(typeof t=="string"&&t.indexOf(Os)===0)return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:t})}if(!this.get_property("$device_id")){var l=u;this.register_once({$had_persisted_distinct_id:!0,$device_id:l},"")}t!==u&&t!==this.get_property(ni)&&(this.unregister(ni),this.register({distinct_id:t})),this._flags.identify_called=!0,this.people._flush(n,a,e,r,i,s,o),t!==u&&this.track("$identify",{distinct_id:t,$anon_distinct_id:u},{skip_hooks:!0}),t!==u&&this.flags.fetchFlags()};C.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var t=h.UUID();this.register_once({distinct_id:Os+t,$device_id:t},""),this._check_and_start_session_recording()};C.prototype.get_distinct_id=function(){return this.get_property("distinct_id")};C.prototype.alias=function(t,n){if(t===this.get_property(zl))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var a=this;return h.isUndefined(n)&&(n=this.get_distinct_id()),t!==n?(this._register_single(ni,t),this.track("$create_alias",{alias:t,distinct_id:n},{skip_hooks:!0},function(){a.identify(t)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(t),-1)};C.prototype.name_tag=function(t){this._register_single("mp_name_tag",t)};C.prototype.set_config=function(t){if(h.isObject(t)){h.extend(this.config,t);var n=t.batch_size;n&&h.each(this.request_batchers,function(a){a.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),De.DEBUG=De.DEBUG||this.get_config("debug"),("autocapture"in t||"record_heatmap_data"in t)&&this.autocapture&&this.autocapture.init(),h.isObject(t.hooks)&&(this.hooks={},h.each(t.hooks,function(a,e){if(h.isFunction(a))this.hooks[e]=[a];else if(h.isArray(a)){this.hooks[e]=[];for(var r=0;r<a.length;r++)h.isFunction(a[r])||V.critical("Invalid hook added. Hook is not a function"),this.hooks[e].push(a[r])}else V.critical("Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.")},this))}};C.prototype.get_config=function(t){return this.config[t]};C.prototype._run_hook=function(t){var n=at.call(arguments,1);return h.each(this.hooks[t],function(a){if(n===null)return null;var e=a.apply(this,n);typeof e>"u"?(this.report_error(t+" hook did not return a valid value"),n=null):(h.isArray(e)||(e=[e]),n.splice.apply(n,[0,e.length].concat(e)))},this),n};C.prototype.get_property=function(t){return this.persistence.load_prop([t])};C.prototype.get_api_host=function(t){return this.get_config("api_hosts")[t]||this.get_config("api_host")};C.prototype.toString=function(){var t=this.get_config("name");return t!==Me&&(t=Me+"."+t),t};C.prototype._event_is_disabled=function(t){return h.isBlockedUA(ze)||this._flags.disable_all_events||h.include(this.__disabled_events,t)};C.prototype._gdpr_init=function(){var t=this.get_config("opt_out_tracking_persistence_type")==="localStorage";t&&h.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):!this.has_opted_in_tracking()&&(this.get_config("opt_out_tracking_by_default")||h.cookie.get("mp_optout"))&&(h.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))};C.prototype._gdpr_update_persistence=function(t){var n;if(t&&t.clear_persistence)n=!0;else if(t&&t.enable_persistence)n=!1;else return;!this.get_config("disable_persistence")&&this.persistence.disabled!==n&&this.persistence.set_disabled(n),n?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()};C.prototype._gdpr_call_func=function(t,n){return n=h.extend({track:h.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},n),h.localStorage.is_supported()||(n.persistence_type="cookie"),t(this.get_config("token"),{track:n.track,trackEventName:n.track_event_name,trackProperties:n.track_properties,persistenceType:n.persistence_type,persistencePrefix:n.cookie_prefix,cookieDomain:n.cookie_domain,cookieExpiration:n.cookie_expiration,crossSiteCookie:n.cross_site_cookie,crossSubdomainCookie:n.cross_subdomain_cookie,secureCookie:n.secure_cookie,ignoreDnt:n.ignore_dnt})};C.prototype.opt_in_tracking=function(t){t=h.extend({enable_persistence:!0},t),this._gdpr_call_func(tg,t),this._gdpr_update_persistence(t)};C.prototype.opt_out_tracking=function(t){t=h.extend({clear_persistence:!0,delete_user:!0},t),t.delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(rg,t),this._gdpr_update_persistence(t)};C.prototype.has_opted_in_tracking=function(t){return this._gdpr_call_func(ng,t)};C.prototype.has_opted_out_tracking=function(t){return this._gdpr_call_func(hl,t)};C.prototype.clear_opt_in_out_tracking=function(t){t=h.extend({enable_persistence:!0},t),this._gdpr_call_func(ig,t),this._gdpr_update_persistence(t)};C.prototype.report_error=function(t,n){V.error.apply(V.error,arguments);try{!n&&!(t instanceof Error)&&(t=new Error(t)),this.get_config("error_reporter")(t,n)}catch(a){V.error(a)}};C.prototype.add_hook=function(t,n){this.hooks[t]||(this.hooks[t]=[]),this.hooks[t].push(n)};C.prototype.remove_hook=function(t,n){var a;this.hooks[t]&&(a=this.hooks[t].indexOf(n),a!==-1?this.hooks[t].splice(a,1):V.log("remove_hook failed. Matching hook was not found"))};C.prototype.init=C.prototype.init;C.prototype.reset=C.prototype.reset;C.prototype.disable=C.prototype.disable;C.prototype.time_event=C.prototype.time_event;C.prototype.track=C.prototype.track;C.prototype.track_links=C.prototype.track_links;C.prototype.track_forms=C.prototype.track_forms;C.prototype.track_pageview=C.prototype.track_pageview;C.prototype.register=C.prototype.register;C.prototype.register_once=C.prototype.register_once;C.prototype.unregister=C.prototype.unregister;C.prototype.identify=C.prototype.identify;C.prototype.alias=C.prototype.alias;C.prototype.name_tag=C.prototype.name_tag;C.prototype.set_config=C.prototype.set_config;C.prototype.get_config=C.prototype.get_config;C.prototype.get_api_host=C.prototype.get_api_host;C.prototype.get_property=C.prototype.get_property;C.prototype.get_distinct_id=C.prototype.get_distinct_id;C.prototype.toString=C.prototype.toString;C.prototype.opt_out_tracking=C.prototype.opt_out_tracking;C.prototype.opt_in_tracking=C.prototype.opt_in_tracking;C.prototype.has_opted_out_tracking=C.prototype.has_opted_out_tracking;C.prototype.has_opted_in_tracking=C.prototype.has_opted_in_tracking;C.prototype.clear_opt_in_out_tracking=C.prototype.clear_opt_in_out_tracking;C.prototype.get_group=C.prototype.get_group;C.prototype.set_group=C.prototype.set_group;C.prototype.add_group=C.prototype.add_group;C.prototype.remove_group=C.prototype.remove_group;C.prototype.add_hook=C.prototype.add_hook;C.prototype.remove_hook=C.prototype.remove_hook;C.prototype.track_with_groups=C.prototype.track_with_groups;C.prototype.start_batch_senders=C.prototype.start_batch_senders;C.prototype.stop_batch_senders=C.prototype.stop_batch_senders;C.prototype.start_session_recording=C.prototype.start_session_recording;C.prototype.stop_session_recording=C.prototype.stop_session_recording;C.prototype.pause_session_recording=C.prototype.pause_session_recording;C.prototype.resume_session_recording=C.prototype.resume_session_recording;C.prototype.get_session_recording_properties=C.prototype.get_session_recording_properties;C.prototype.get_session_replay_url=C.prototype.get_session_replay_url;C.prototype.get_tab_id=C.prototype.get_tab_id;C.prototype.DEFAULT_API_ROUTES=jl;C.prototype.__get_recorder=C.prototype.__get_recorder;U.prototype.properties=U.prototype.properties;U.prototype.update_search_keyword=U.prototype.update_search_keyword;U.prototype.update_referrer_info=U.prototype.update_referrer_info;U.prototype.get_cross_subdomain=U.prototype.get_cross_subdomain;U.prototype.clear=U.prototype.clear;var Zt={},Kg=function(){h.each(Zt,function(t,n){n!==Me&&(ye[n]=t)}),ye._=h},Xg=function(){ye.init=function(t,n,a){if(a)return ye[a]||(ye[a]=Zt[a]=Wa(t,n,a),ye[a]._loaded()),ye[a];var e=ye;Zt[Me]?e=Zt[Me]:t&&(e=Wa(t,n,Me),e._loaded(),Zt[Me]=e),ye=e,ii===Jg&&(A[Me]=ye),Kg()}},Qg=function(){function t(){t.done||(t.done=!0,Hl=!0,Gl=!1,h.each(Zt,function(e){e._dom_loaded()}))}function n(){try{B.documentElement.doScroll("left")}catch{setTimeout(n,1);return}t()}if(B.addEventListener)B.readyState==="complete"?t():B.addEventListener("DOMContentLoaded",t,!1);else if(B.attachEvent){B.attachEvent("onreadystatechange",t);var a=!1;try{a=A.frameElement===null}catch{}B.documentElement.doScroll&&a&&n()}h.register_event(A,"load",t,!0)};function ev(t){return Wl=t,ii=za,ye=new C,Xg(),ye.init(),Qg(),ye}function tv(t,n){n()}var iv=ev(tv);export{iv as m,nv as r};
|
|
68
|
+
`);var n="",a,e,r=0,i;for(a=e=0,r=t.length,i=0;i<r;i++){var s=t.charCodeAt(i),o=null;s<128?e++:s>127&&s<2048?o=String.fromCharCode(s>>6|192,s&63|128):o=String.fromCharCode(s>>12|224,s>>6&63|128,s&63|128),o!==null&&(e>a&&(n+=t.substring(a,e)),n+=o,a=e=i+1)}return e>a&&(n+=t.substring(a,t.length)),n};h.UUID=function(){try{return A.crypto.randomUUID()}catch{for(var t=new Array(36),n=0;n<36;n++)t[n]=Math.floor(Math.random()*16);return t[14]=4,t[19]=t[19]&=-5,t[19]=t[19]|=8,t[8]=t[13]=t[18]=t[23]="-",h.map(t,function(e){return e.toString(16)}).join("")}};var Ko=["ahrefsbot","ahrefssiteaudit","amazonbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandex","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];h.isBlockedUA=function(t){var n;for(t=t.toLowerCase(),n=0;n<Ko.length;n++)if(t.indexOf(Ko[n])!==-1)return!0;return!1};h.HTTPBuildQuery=function(t,n){var a,e,r=[];return h.isUndefined(n)&&(n="&"),h.each(t,function(i,s){a=encodeURIComponent(i.toString()),e=encodeURIComponent(s),r[r.length]=e+"="+a}),r.join(n)};h.getQueryParam=function(t,n){n=n.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var a="[\\?&]"+n+"=([^&#]*)",e=new RegExp(a),r=e.exec(t);if(r===null||r&&typeof r[1]!="string"&&r[1].length)return"";var i=r[1];try{i=decodeURIComponent(i)}catch{V.error("Skipping decoding for malformed query param: "+i)}return i.replace(/\+/g," ")};h.cookie={get:function(t){for(var n=t+"=",a=B.cookie.split(";"),e=0;e<a.length;e++){for(var r=a[e];r.charAt(0)==" ";)r=r.substring(1,r.length);if(r.indexOf(n)===0)return decodeURIComponent(r.substring(n.length,r.length))}return null},parse:function(t){var n;try{n=h.JSONDecode(h.cookie.get(t))||{}}catch{}return n},set_seconds:function(t,n,a,e,r,i,s){var o="",c="",u="";if(s)o="; domain="+s;else if(e){var l=Xo(B.location.hostname);o=l?"; domain=."+l:""}if(a){var d=new Date;d.setTime(d.getTime()+a*1e3),c="; expires="+d.toGMTString()}i&&(r=!0,u="; SameSite=None"),r&&(u+="; secure"),B.cookie=t+"="+encodeURIComponent(n)+c+"; path=/"+o+u},set:function(t,n,a,e,r,i,s){var o="",c="",u="";if(s)o="; domain="+s;else if(e){var l=Xo(B.location.hostname);o=l?"; domain=."+l:""}if(a){var d=new Date;d.setTime(d.getTime()+a*24*60*60*1e3),c="; expires="+d.toGMTString()}i&&(r=!0,u="; SameSite=None"),r&&(u+="; secure");var f=t+"="+encodeURIComponent(n)+c+"; path=/"+o+u;return B.cookie=f,f},remove:function(t,n,a){h.cookie.set(t,"",-1,n,!1,!1,a)}};var ll=function(t){var n=!0;try{var a="__mplss_"+_s(8),e="xyz";t.setItem(a,e),t.getItem(a)!==e&&(n=!1),t.removeItem(a)}catch{n=!1}return n},Gi=null,zr=function(t,n){return Gi!==null&&!n?Gi:Gi=ll(t||A.localStorage)},ji=null,Vm=function(t,n){return ji!==null&&!n?ji:ji=ll(t||A.sessionStorage)};function dl(t,n,a){var e=function(r){V.error(n+" error: "+r)};return{is_supported:function(r){var i=a(t,r);return i||V.error(n+" unsupported"),i},error:e,get:function(r){try{return t.getItem(r)}catch(i){e(i)}return null},parse:function(r){try{return h.JSONDecode(t.getItem(r))||{}}catch{}return null},set:function(r,i){try{t.setItem(r,i)}catch(s){e(s)}},remove:function(r){try{t.removeItem(r)}catch(i){e(i)}}}}h.localStorage=dl(A.localStorage,"localStorage",zr);h.sessionStorage=dl(A.sessionStorage,"sessionStorage",Vm);h.register_event=function(){var t=function(e,r,i,s,o){if(!e){V.error("No valid element provided to register_event");return}if(e.addEventListener&&!s)e.addEventListener(r,i,!!o);else{var c="on"+r,u=e[c];e[c]=n(e,i,u)}};function n(e,r,i){var s=function(o){if(o=o||a(A.event),!!o){var c=!0,u,l;return h.isFunction(i)&&(u=i(o)),l=r.call(e,o),(u===!1||l===!1)&&(c=!1),c}};return s}function a(e){return e&&(e.preventDefault=a.preventDefault,e.stopPropagation=a.stopPropagation),e}return a.preventDefault=function(){this.returnValue=!1},a.stopPropagation=function(){this.cancelBubble=!0},t}();var zm=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');h.dom_query=function(){function t(r){return r.all?r.all:r.getElementsByTagName("*")}var n=/[\t\r\n]/g;function a(r,i){var s=" "+i+" ";return(" "+r.className+" ").replace(n," ").indexOf(s)>=0}function e(r){if(!B.getElementsByTagName)return[];var i=r.split(" "),s,o,c,u,l,d,f,m,_,g,p=[B];for(d=0;d<i.length;d++){if(s=i[d].replace(/^\s+/,"").replace(/\s+$/,""),s.indexOf("#")>-1){o=s.split("#"),c=o[0];var v=o[1],y=B.getElementById(v);if(!y||c&&y.nodeName.toLowerCase()!=c)return[];p=[y];continue}if(s.indexOf(".")>-1){o=s.split("."),c=o[0];var b=o[1];for(c||(c="*"),u=[],l=0,f=0;f<p.length;f++)for(c=="*"?_=t(p[f]):_=p[f].getElementsByTagName(c),m=0;m<_.length;m++)u[l++]=_[m];for(p=[],g=0,f=0;f<u.length;f++)u[f].className&&h.isString(u[f].className)&&a(u[f],b)&&(p[g++]=u[f]);continue}var k=s.match(zm);if(k){c=k[1];var w=k[2],S=k[3],R=k[4];for(c||(c="*"),u=[],l=0,f=0;f<p.length;f++)for(c=="*"?_=t(p[f]):_=p[f].getElementsByTagName(c),m=0;m<_.length;m++)u[l++]=_[m];p=[],g=0;var P;switch(S){case"=":P=function(O){return O.getAttribute(w)==R};break;case"~":P=function(O){return O.getAttribute(w).match(new RegExp("\\b"+R+"\\b"))};break;case"|":P=function(O){return O.getAttribute(w).match(new RegExp("^"+R+"-?"))};break;case"^":P=function(O){return O.getAttribute(w).indexOf(R)===0};break;case"$":P=function(O){return O.getAttribute(w).lastIndexOf(R)==O.getAttribute(w).length-R.length};break;case"*":P=function(O){return O.getAttribute(w).indexOf(R)>-1};break;default:P=function(O){return O.getAttribute(w)}}for(p=[],g=0,f=0;f<u.length;f++)P(u[f])&&(p[g++]=u[f]);continue}for(c=s,u=[],l=0,f=0;f<p.length;f++)for(_=p[f].getElementsByTagName(c),m=0;m<_.length;m++)u[l++]=_[m];p=u}return p}return function(r){return h.isElement(r)?[r]:h.isObject(r)&&!h.isUndefined(r.length)?r:e.call(this,r)}}();var Wm=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],qm=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];h.info={campaignParams:function(t){var n="",a={};return h.each(Wm,function(e){n=h.getQueryParam(B.URL,e),n.length?a[e]=n:t!==void 0&&(a[e]=t)}),a},clickParams:function(){var t="",n={};return h.each(qm,function(a){t=h.getQueryParam(B.URL,a),t.length&&(n[a]=t)}),n},marketingParams:function(){return h.extend(h.info.campaignParams(),h.info.clickParams())},searchEngine:function(t){return t.search("https?://(.*)google.([^/?]*)")===0?"google":t.search("https?://(.*)bing.com")===0?"bing":t.search("https?://(.*)yahoo.com")===0?"yahoo":t.search("https?://(.*)duckduckgo.com")===0?"duckduckgo":null},searchInfo:function(t){var n=h.info.searchEngine(t),a=n!="yahoo"?"q":"p",e={};if(n!==null){e.$search_engine=n;var r=h.getQueryParam(t,a);r.length&&(e.mp_keyword=r)}return e},browser:function(t,n,a){return n=n||"",a||h.includes(t," OPR/")?h.includes(t,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":h.includes(t,"IEMobile")||h.includes(t,"WPDesktop")?"Internet Explorer Mobile":h.includes(t,"SamsungBrowser/")?"Samsung Internet":h.includes(t,"Edge")||h.includes(t,"Edg/")?"Microsoft Edge":h.includes(t,"FBIOS")?"Facebook Mobile":h.includes(t,"Whale/")?"Whale Browser":h.includes(t,"Chrome")?"Chrome":h.includes(t,"CriOS")?"Chrome iOS":h.includes(t,"UCWEB")||h.includes(t,"UCBrowser")?"UC Browser":h.includes(t,"FxiOS")?"Firefox iOS":h.includes(n,"Apple")?h.includes(t,"Mobile")?"Mobile Safari":"Safari":h.includes(t,"Android")?"Android Mobile":h.includes(t,"Konqueror")?"Konqueror":h.includes(t,"Firefox")?"Firefox":h.includes(t,"MSIE")||h.includes(t,"Trident/")?"Internet Explorer":h.includes(t,"Gecko")?"Mozilla":""},browserVersion:function(t,n,a){var e=h.info.browser(t,n,a),r={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/},i=r[e];if(i===void 0)return null;var s=t.match(i);return s?parseFloat(s[s.length-2]):null},os:function(){var t=ze;return/Windows/i.test(t)?/Phone/.test(t)||/WPDesktop/.test(t)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(t)?"iOS":/Android/.test(t)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Mac/i.test(t)?"Mac OS X":/Linux/.test(t)?"Linux":/CrOS/.test(t)?"Chrome OS":""},device:function(t){return/Windows Phone/i.test(t)||/WPDesktop/.test(t)?"Windows Phone":/iPad/.test(t)?"iPad":/iPod/.test(t)?"iPod Touch":/iPhone/.test(t)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Android/.test(t)?"Android":""},referringDomain:function(t){var n=t.split("/");return n.length>=3?n[2]:""},currentUrl:function(){return A.location.href},properties:function(t){return typeof t!="object"&&(t={}),h.extend(h.strip_empty_properties({$os:h.info.os(),$browser:h.info.browser(ze,Ze.vendor,br),$referrer:B.referrer,$referring_domain:h.info.referringDomain(B.referrer),$device:h.info.device(ze)}),{$current_url:h.info.currentUrl(),$browser_version:h.info.browserVersion(ze,Ze.vendor,br),$screen_height:Ho.height,$screen_width:Ho.width,mp_lib:"web",$lib_version:De.LIB_VERSION,$insert_id:_s(),time:h.timestamp()/1e3},h.strip_empty_properties(t))},people_properties:function(){return h.extend(h.strip_empty_properties({$os:h.info.os(),$browser:h.info.browser(ze,Ze.vendor,br)}),{$browser_version:h.info.browserVersion(ze,Ze.vendor,br)})},mpPageViewProperties:function(){return h.strip_empty_properties({current_page_title:B.title,current_domain:A.location.hostname,current_url_path:A.location.pathname,current_url_protocol:A.location.protocol,current_url_search:A.location.search})}};var Gm=function(t,n){var a=null,e=[];return function(r){var i=this;return e.push(r),a||(a=new G(function(s){setTimeout(function(){var o=t.apply(i,[e]);a=null,e=[],s(o)},n)})),a}},_s=function(t){var n=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return t?n.substring(0,t):n},jm=function(){var t=h.UUID().replace(/-/g,""),n=h.UUID().replace(/-/g,"").substring(0,16),a="01";return"00-"+t+"-"+n+"-"+a},Hm=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,Jm=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Xo=function(t){var n=Jm,a=t.split("."),e=a[a.length-1];(e.length>4||e==="com"||e==="org")&&(n=Hm);var r=t.match(n);return r?r[0]:""},Zm=function(){var t=A.navigator.onLine;return h.isUndefined(t)||t},ot=function(){},ar=null,Zn=null;typeof JSON<"u"&&(ar=JSON.stringify,Zn=JSON.parse);ar=ar||h.JSONEncode;Zn=Zn||h.JSONDecode;var Ym=function(t,n,a){if(!A.CompressionStream)return!1;var e=h.info.browser(t,n,a),r=h.info.browserVersion(t,n,a);return!((e==="Safari"||e==="Mobile Safari")&&r>=16.4&&r<16.6)};h.info=h.info;h.info.browser=h.info.browser;h.info.browserVersion=h.info.browserVersion;h.info.device=h.info.device;h.info.properties=h.info.properties;h.isBlockedUA=h.isBlockedUA;h.isEmptyObject=h.isEmptyObject;h.isObject=h.isObject;h.JSONDecode=h.JSONDecode;h.JSONEncode=h.JSONEncode;h.toArray=h.toArray;h.NPO=mt;var Km="mixpanelBrowserDb",fl="mixpanelRecordingEvents",ms="mixpanelRecordingRegistry",Xm=1,Qm=[fl,ms],Fe=function(t){this.dbPromise=null,this.storeName=t};Fe.prototype._openDb=function(){return new G(function(t,n){var a=A.indexedDB.open(Km,Xm);a.onerror=function(){n(a.error)},a.onsuccess=function(){t(a.result)},a.onupgradeneeded=function(e){var r=e.target.result;Qm.forEach(function(i){r.createObjectStore(i)})}})};Fe.prototype.init=function(){return A.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(t){return t instanceof A.IDBDatabase?G.resolve():G.reject(t)})):G.reject("indexedDB is not supported in this browser")};Fe.prototype.isInitialized=function(){return!!this.dbPromise};Fe.prototype.makeTransaction=function(t,n){var a=this.storeName,e=function(r){return new G(function(i,s){var o=r.transaction(a,t);o.oncomplete=function(){i(o)},o.onabort=o.onerror=function(){s(o.error)},n(o.objectStore(a))})};return this.dbPromise.then(e).catch((function(r){return r&&r.name==="InvalidStateError"?(this.dbPromise=this._openDb(),this.dbPromise.then(e)):G.reject(r)}).bind(this))};Fe.prototype.setItem=function(t,n){return this.makeTransaction("readwrite",function(a){a.put(n,t)})};Fe.prototype.getItem=function(t){var n;return this.makeTransaction("readonly",function(a){n=a.get(t)}).then(function(){return n.result})};Fe.prototype.removeItem=function(t){return this.makeTransaction("readwrite",function(n){n.delete(t)})};Fe.prototype.getAll=function(){var t;return this.makeTransaction("readonly",function(n){t=n.getAll()}).then(function(){return t.result})};var eg="__mp_opt_in_out_";function tg(t,n){_l(!0,t,n)}function rg(t,n){_l(!1,t,n)}function ng(t,n){return pl(t,n)==="1"}function hl(t,n){if(ag(n))return V.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var a=pl(t,n)==="0";return a&&V.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),a}function gt(t){return ys(t,function(n){return this.get_config(n)})}function vt(t){return ys(t,function(n){return this._get_config(n)})}function cr(t){return ys(t,function(n){return this._get_config(n)})}function ig(t,n){n=n||{},gs(n).remove(vs(t,n),!!n.crossSubdomainCookie,n.cookieDomain)}function gs(t){return t=t||{},t.persistenceType==="localStorage"?h.localStorage:h.cookie}function vs(t,n){return n=n||{},(n.persistencePrefix||eg)+t}function pl(t,n){return gs(n).get(vs(t,n))}function ag(t){if(t&&t.ignoreDnt)return!1;var n=t&&t.window||A,a=n.navigator||{},e=!1;return h.each([a.doNotTrack,a.msDoNotTrack,n.doNotTrack],function(r){h.includes([!0,1,"1","yes"],r)&&(e=!0)}),e}function _l(t,n,a){if(!h.isString(n)||!n.length){V.error("gdpr."+(t?"optIn":"optOut")+" called with an invalid token");return}a=a||{},gs(a).set(vs(n,a),t?1:0,h.isNumber(a.cookieExpiration)?a.cookieExpiration:null,!!a.crossSubdomainCookie,!!a.secureCookie,!!a.crossSiteCookie,a.cookieDomain),a.track&&t&&a.track(a.trackEventName||"$opt_in",a.trackProperties,{send_immediately:!0})}function ys(t,n){return function(){var a=!1;try{var e=n.call(this,"token"),r=n.call(this,"ignore_dnt"),i=n.call(this,"opt_out_tracking_persistence_type"),s=n.call(this,"opt_out_tracking_cookie_prefix"),o=n.call(this,"window");e&&(a=hl(e,{ignoreDnt:r,persistenceType:i,persistencePrefix:s,window:o}))}catch(u){V.error("Unexpected error when checking tracking opt-out status: "+u)}if(!a)return t.apply(this,arguments);var c=arguments[arguments.length-1];typeof c=="function"&&c(0)}}var sg=Lt("lock"),ml=function(t,n){n=n||{},this.storageKey=t,this.storage=n.storage||A.localStorage,this.pollIntervalMS=n.pollIntervalMS||100,this.timeoutMS=n.timeoutMS||2e3,this.promiseImpl=n.promiseImpl||G};ml.prototype.withLock=function(t,n){var a=this.promiseImpl;return new a(h.bind(function(e,r){var i=n||new Date().getTime()+"|"+Math.random(),s=new Date().getTime(),o=this.storageKey,c=this.pollIntervalMS,u=this.timeoutMS,l=this.storage,d=o+":X",f=o+":Y",m=o+":Z",_=function(b){if(new Date().getTime()-s>u){sg.error("Timeout waiting for mutex on "+o+"; clearing lock. ["+i+"]"),l.removeItem(m),l.removeItem(f),v();return}setTimeout(function(){try{b()}catch(k){r(k)}},c*(Math.random()+.1))},g=function(b,k){b()?k():_(function(){g(b,k)})},p=function(){var b=l.getItem(f);return b&&b!==i?!1:(l.setItem(f,i),l.getItem(f)===i?!0:(zr(l,!0)||r(new Error("localStorage support dropped while acquiring lock")),!1))},v=function(){l.setItem(d,i),g(p,function(){if(l.getItem(d)===i){y();return}_(function(){if(l.getItem(f)!==i){v();return}g(function(){return!l.getItem(m)},y)})})},y=function(){l.setItem(m,"1");var b=function(){l.removeItem(m),l.getItem(f)===i&&l.removeItem(f),l.getItem(d)===i&&l.removeItem(d)};t().then(function(k){b(),e(k)}).catch(function(k){b(),r(k)})};try{if(zr(l,!0))v();else throw new Error("localStorage support check failed")}catch(b){r(b)}},this))};var ur=function(t){this.storage=t||A.localStorage};ur.prototype.init=function(){return G.resolve()};ur.prototype.isInitialized=function(){return!0};ur.prototype.setItem=function(t,n){return new G(h.bind(function(a,e){try{this.storage.setItem(t,ar(n))}catch(r){e(r)}a()},this))};ur.prototype.getItem=function(t){return new G(h.bind(function(n,a){var e;try{e=Zn(this.storage.getItem(t))}catch(r){a(r)}n(e)},this))};ur.prototype.removeItem=function(t){return new G(h.bind(function(n,a){try{this.storage.removeItem(t)}catch(e){a(e)}n()},this))};var Qo=Lt("batch"),Ge=function(t,n){n=n||{},this.storageKey=t,this.usePersistence=n.usePersistence,this.usePersistence&&(this.queueStorage=n.queueStorage||new ur,this.lock=new ml(t,{storage:n.sharedLockStorage||A.localStorage,timeoutMS:n.sharedLockTimeoutMS})),this.reportError=n.errorReporter||h.bind(Qo.error,Qo),this.pid=n.pid||null,this.memQueue=[],this.initialized=!1,n.enqueueThrottleMs?this.enqueuePersisted=Gm(h.bind(this._enqueuePersisted,this),n.enqueueThrottleMs):this.enqueuePersisted=h.bind(function(a){return this._enqueuePersisted([a])},this)};Ge.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?G.resolve():this.queueStorage.init().then(h.bind(function(){this.initialized=!0},this)).catch(h.bind(function(t){this.reportError("Error initializing queue persistence. Disabling persistence",t),this.initialized=!0,this.usePersistence=!1},this))};Ge.prototype.enqueue=function(t,n){var a={id:_s(),flushAfter:new Date().getTime()+n*2,payload:t};return this.usePersistence?this.enqueuePersisted(a):(this.memQueue.push(a),G.resolve(!0))};Ge.prototype._enqueuePersisted=function(t){var n=h.bind(function(){return this.ensureInit().then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(a){return this.saveToStorage(a.concat(t))},this)).then(h.bind(function(a){return a&&(this.memQueue=this.memQueue.concat(t)),a},this)).catch(h.bind(function(a){return this.reportError("Error enqueueing items",a,t),!1},this))},this);return this.lock.withLock(n,this.pid).catch(h.bind(function(a){return this.reportError("Error acquiring storage lock",a),!1},this))};Ge.prototype.fillBatch=function(t){var n=this.memQueue.slice(0,t);return this.usePersistence&&n.length<t?this.ensureInit().then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(a){if(a.length){var e={};h.each(n,function(s){e[s.id]=!0});for(var r=0;r<a.length;r++){var i=a[r];if(new Date().getTime()>i.flushAfter&&!e[i.id]&&(i.orphaned=!0,n.push(i),n.length>=t))break}}return n},this)):G.resolve(n)};var ec=function(t,n){var a=[];return h.each(t,function(e){e.id&&!n[e.id]&&a.push(e)}),a};Ge.prototype.removeItemsByID=function(t){var n={};if(h.each(t,function(e){n[e]=!0}),this.memQueue=ec(this.memQueue,n),this.usePersistence){var a=h.bind(function(){return this.ensureInit().then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(e){return e=ec(e,n),this.saveToStorage(e)},this)).then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(e){for(var r=0;r<e.length;r++){var i=e[r];if(i.id&&n[i.id])throw new Error("Item not removed from storage")}return!0},this)).catch(h.bind(function(e){return this.reportError("Error removing items",e,t),!1},this))},this);return this.lock.withLock(a,this.pid).catch(h.bind(function(e){return this.reportError("Error acquiring storage lock",e),zr(this.lock.storage,!0)?!1:a().then(h.bind(function(r){return r||this.queueStorage.removeItem(this.storageKey).then(function(){return r})},this)).catch(h.bind(function(r){return this.reportError("Error clearing queue",r),!1},this))},this))}else return G.resolve(!0)};var tc=function(t,n){var a=[];return h.each(t,function(e){var r=e.id;if(r in n){var i=n[r];i!==null&&(e.payload=i,a.push(e))}else a.push(e)}),a};Ge.prototype.updatePayloads=function(t){return this.memQueue=tc(this.memQueue,t),this.usePersistence?this.lock.withLock(h.bind(function(){return this.ensureInit().then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(a){return a=tc(a,t),this.saveToStorage(a)},this)).catch(h.bind(function(a){return this.reportError("Error updating items",t,a),!1},this))},this),this.pid).catch(h.bind(function(n){return this.reportError("Error acquiring storage lock",n),!1},this)):G.resolve(!0)};Ge.prototype.readFromStorage=function(){return this.ensureInit().then(h.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(h.bind(function(t){return t&&(h.isArray(t)||(this.reportError("Invalid storage entry:",t),t=null)),t||[]},this)).catch(h.bind(function(t){return this.reportError("Error retrieving queue",t),[]},this))};Ge.prototype.saveToStorage=function(t){return this.ensureInit().then(h.bind(function(){return this.queueStorage.setItem(this.storageKey,t)},this)).then(function(){return!0}).catch(h.bind(function(n){return this.reportError("Error saving queue",n),!1},this))};Ge.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(h.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):G.resolve()};var og=10*60*1e3,Er=Lt("batch"),Be=function(t,n){this.errorReporter=n.errorReporter,this.queue=new Ge(t,{errorReporter:h.bind(this.reportError,this),queueStorage:n.queueStorage,sharedLockStorage:n.sharedLockStorage,sharedLockTimeoutMS:n.sharedLockTimeoutMS,usePersistence:n.usePersistence,enqueueThrottleMs:n.enqueueThrottleMs}),this.libConfig=n.libConfig,this.sendRequest=n.sendRequestFunc,this.beforeSendHook=n.beforeSendHook,this.stopAllBatching=n.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=n.flushOnlyOnInterval||!1,this._flushPromise=null};Be.prototype.enqueue=function(t){return this.queue.enqueue(t,this.flushInterval)};Be.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()};Be.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)};Be.prototype.clear=function(){return this.queue.clear()};Be.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size};Be.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)};Be.prototype.scheduleFlush=function(t){this.flushInterval=t,this.stopped||(this.timeoutID=setTimeout(h.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))};Be.prototype.sendRequestPromise=function(t,n){return new G(h.bind(function(a){this.sendRequest(t,n,a)},this))};Be.prototype.flush=function(t){if(this.requestInProgress)return Er.log("Flush: Request already in progress"),G.resolve();this.requestInProgress=!0,t=t||{};var n=this.libConfig.batch_request_timeout_ms,a=new Date().getTime(),e=this.batchSize;return this.queue.fillBatch(e).then(h.bind(function(r){var i=r.length===e,s=[],o={};if(h.each(r,function(d){var f=d.payload;if(this.beforeSendHook&&!d.orphaned&&(f=this.beforeSendHook(f)),f){f.event&&f.properties&&(f.properties=h.extend({},f.properties,{mp_sent_by_lib_version:De.LIB_VERSION}));var m=!0,_=d.id;_?(this.itemIdsSentSuccessfully[_]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:d,batchSize:r.length,timesSent:this.itemIdsSentSuccessfully[_]}),m=!1):this.reportError("[dupe] found item with no ID",{item:d}),m&&s.push(f)}o[d.id]=f},this),s.length<1)return this.requestInProgress=!1,this.resetFlush(),G.resolve();var c=h.bind(function(){return this.queue.removeItemsByID(h.map(r,function(d){return d.id})).then(h.bind(function(d){return h.each(r,h.bind(function(f){var m=f.id;m?(this.itemIdsSentSuccessfully[m]=this.itemIdsSentSuccessfully[m]||0,this.itemIdsSentSuccessfully[m]++,this.itemIdsSentSuccessfully[m]>5&&this.reportError("[dupe] item ID sent too many times",{item:f,batchSize:r.length,timesSent:this.itemIdsSentSuccessfully[m]})):this.reportError("[dupe] found item with no ID while removing",{item:f})},this)),d?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!i?(this.resetFlush(),G.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),G.resolve())},this))},this),u=h.bind(function(d){this.requestInProgress=!1;try{if(t.unloading)return this.queue.updatePayloads(o);if(h.isObject(d)&&d.error==="timeout"&&new Date().getTime()-a>=n)return this.reportError("Network timeout; retrying"),this.flush();if(h.isObject(d)&&(d.httpStatusCode>=500||d.httpStatusCode===429||d.httpStatusCode<=0&&!Zm()||d.error==="timeout")){var f=this.flushInterval*2;return d.retryAfter&&(f=parseInt(d.retryAfter,10)*1e3||f),f=Math.min(og,f),this.reportError("Error; retry in "+f+" ms"),this.scheduleFlush(f),G.resolve()}else if(h.isObject(d)&&d.httpStatusCode===413)if(r.length>1){var m=Math.max(1,Math.floor(e/2));return this.batchSize=Math.min(this.batchSize,m,r.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),G.resolve()}else return this.reportError("Single-event request too large; dropping",r),this.resetBatchSize(),c();else return c()}catch(_){this.reportError("Error handling API response",_),this.resetFlush()}},this),l={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:n};return t.unloading&&(l.transport="sendBeacon"),Er.log("MIXPANEL REQUEST:",s),this.sendRequestPromise(s,l).then(u)},this)).catch(h.bind(function(r){this.reportError("Error flushing request queue",r),this.resetFlush()},this))};Be.prototype.reportError=function(t,n){if(Er.error.apply(Er.error,arguments),this.errorReporter)try{n instanceof Error||(n=new Error(t)),this.errorReporter(t,n)}catch(a){Er.error(a)}};var bs=function(t){var n=Date.now();return!t||n>t.maxExpires||n>t.idleExpires},cg=250,Yt=Lt("recorder"),ug=A.CompressionStream,lg={batch_size:1e3,batch_flush_interval_ms:10*1e3,batch_request_timeout_ms:90*1e3,batch_autostart:!0},dg=new Set([D.MouseMove,D.MouseInteraction,D.Scroll,D.ViewportResize,D.Input,D.TouchMove,D.MediaInteraction,D.Drag,D.Selection]);function fg(t){return t.type===q.IncrementalSnapshot&&dg.has(t.data.source)}var me=function(t){this._mixpanel=t.mixpanelInstance,this._onIdleTimeout=t.onIdleTimeout||ot,this._onMaxLengthReached=t.onMaxLengthReached||ot,this._onBatchSent=t.onBatchSent||ot,this._rrwebRecord=t.rrwebRecord||null,this._stopRecording=null,this.replayId=t.replayId,this.batchStartUrl=t.batchStartUrl||null,this.replayStartUrl=t.replayStartUrl||null,this.idleExpires=t.idleExpires||null,this.maxExpires=t.maxExpires||null,this.replayStartTime=t.replayStartTime||null,this.lastEventTimestamp=t.lastEventTimestamp||null,this.seqNo=t.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=Ar,this.recordMinMs=0;var n=zr(t.sharedLockStorage,!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new Fe(fl),this.batcher=new Be(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:lg,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:t.sharedLockStorage,usePersistence:n,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:cg,sharedLockTimeoutMS:10*1e3})};me.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var t={distinct_id:String(this._mixpanel.get_distinct_id())},n=this._mixpanel.get_property("$device_id");n&&(t.$device_id=n);var a=this._mixpanel.get_property("$user_id");return a&&(t.$user_id=a),t};me.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init().catch((function(){this.reportError("Error initializing IndexedDB storage for unloading persisted data.")}).bind(this)).then((function(){return this.getDurationMs()<this._getRecordMinMs()?this.queueStorage.removeItem(this.batcherKey):this.batcher.flush().then((function(){return this.queueStorage.removeItem(this.batcherKey)}).bind(this))}).bind(this))};me.prototype.getConfig=function(t){return this._mixpanel.get_config(t)};me.prototype.get_config=function(t){return this.getConfig(t)};me.prototype.startRecording=function(t){if(this._rrwebRecord===null){this.reportError("rrweb record function not provided. ");return}if(this._stopRecording!==null){Yt.log("Recording already in progress, skipping startRecording.");return}this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>Ar&&(this.recordMaxMs=Ar,Yt.critical("record_max_ms cannot be greater than "+Ar+"ms. Capping value.")),this.maxExpires||(this.maxExpires=new Date().getTime()+this.recordMaxMs),this.recordMinMs=this._getRecordMinMs(),this.replayStartTime||(this.replayStartTime=new Date().getTime(),this.batchStartUrl=h.info.currentUrl(),this.replayStartUrl=h.info.currentUrl()),t||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var n=(function(){clearTimeout(this.idleTimeoutId);var r=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,r),this.idleExpires=new Date().getTime()+r}).bind(this);n();var a=this.getConfig("record_block_selector");(a===""||a===null)&&(a=void 0);try{this._stopRecording=this._rrwebRecord({emit:(function(r){if(this.idleExpires&&this.idleExpires<r.timestamp){this._onIdleTimeout();return}fg(r)&&(this.batcher.stopped&&new Date().getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),n()),this.__enqueuePromise=this.batcher.enqueue(r),(this.lastEventTimestamp===null||r.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=r.timestamp)}).bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:a,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextClass:this.getConfig("record_mask_text_class"),maskTextSelector:this.getConfig("record_mask_text_selector"),recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:this.getConfig("record_console")?[Bm({stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}})]:[]})}catch(r){this.reportError("Unexpected error when starting rrweb recording.",r)}if(typeof this._stopRecording!="function"){this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,this.stopRecording();return}var e=this.maxExpires-new Date().getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),e)};me.prototype.stopRecording=function(t){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(a){this.reportError("Error with rrweb stopRecording",a)}this._stopRecording=null}var n;return this.batcher.stopped?n=this.batcher.clear():t||(n=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),n};me.prototype.isRrwebStopped=function(){return this._stopRecording===null};me.prototype.flushEventsWithOptOut=function(t,n,a){var e=(function(r){r===0&&(this.stopRecording(),a({error:"Tracking has been opted out, stopping recording."}))}).bind(this);this._flushEvents(t,n,a,e)};me.prototype.serialize=function(){var t;try{t=this._mixpanel.get_tab_id()}catch(n){this.reportError("Error getting tab ID for serialization ",n),t=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,lastEventTimestamp:this.lastEventTimestamp,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:t}};me.deserialize=function(t,n){var a=new me(h.extend({},n,{replayId:t.replayId,batchStartUrl:t.batchStartUrl,replayStartUrl:t.replayStartUrl,idleExpires:t.idleExpires,maxExpires:t.maxExpires,replayStartTime:t.replayStartTime,lastEventTimestamp:t.lastEventTimestamp,seqNo:t.seqNo,sharedLockStorage:n.sharedLockStorage}));return a};me.prototype._sendRequest=function(t,n,a,e){var r=(function(s,o){s.status===200&&this.replayId===t&&(this.seqNo++,this.batchStartUrl=h.info.currentUrl()),this._onBatchSent(),e({status:0,httpStatusCode:s.status,responseBody:o,retryAfter:s.headers.get("Retry-After")})}).bind(this),i=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");A.fetch(i+"/"+this.getConfig("api_routes").record+"?"+new URLSearchParams(n),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:a}).then(function(s){s.json().then(function(o){r(s,o)}).catch(function(o){e({error:o})})}).catch(function(s){e({error:s,httpStatusCode:0})})};me.prototype._flushEvents=gt(function(t,n,a){var e=t.length;if(e>0){for(var r=this.replayId,i=1/0,s=-1/0,o=!1,c=0;c<e;c++)i=Math.min(i,t[c].timestamp),s=Math.max(s,t[c].timestamp),t[c].type===q.FullSnapshot&&(o=!0);if(this.seqNo===0){if(!o){a({error:"First batch does not contain a full snapshot. Aborting recording."}),this.stopRecording(!0);return}this.replayStartTime=i}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=i);var u=s-this.replayStartTime,l={$current_url:this.batchStartUrl,$lib_version:De.LIB_VERSION,batch_start_time:i/1e3,mp_lib:"web",replay_id:r,replay_length_ms:u,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},d=JSON.stringify(t);if(Object.assign(l,this.getUserIdInfo()),Ym(ze,Ze.vendor,br)){var f=new Blob([d],{type:"application/json"}).stream(),m=f.pipeThrough(new ug("gzip"));new Response(m).blob().then((function(_){l.format="gzip",this._sendRequest(r,l,_,a)}).bind(this))}else l.format="body",this._sendRequest(r,l,d,a)}});me.prototype.reportError=function(t,n){Yt.error.apply(Yt.error,arguments);try{!n&&!(t instanceof Error)&&(t=new Error(t)),this.getConfig("error_reporter")(t,n)}catch(a){Yt.error(a)}};me.prototype.getDurationMs=function(){return this.replayStartTime===null?0:this.lastEventTimestamp===null?new Date().getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime};me.prototype._getRecordMinMs=function(){var t=this.getConfig("record_min_ms");return t>zi?(Yt.critical("record_min_ms cannot be greater than "+zi+"ms. Capping value."),zi):t};var et=function(t){this.idb=new Fe(ms),this.errorReporter=t.errorReporter,this.mixpanelInstance=t.mixpanelInstance,this.sharedLockStorage=t.sharedLockStorage};et.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")};et.prototype.handleError=function(t){this.errorReporter("IndexedDB error: ",t)};et.prototype.setActiveRecording=function(t){if(!this.isPersistenceEnabled())return G.resolve();var n=t.tabId;return n?this.idb.init().then((function(){return this.idb.setItem(n,t)}).bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),G.resolve())};et.prototype.getActiveRecording=function(){return this.isPersistenceEnabled()?this.idb.init().then((function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}).bind(this)).then((function(t){return bs(t)?null:t}).bind(this)).catch(this.handleError.bind(this)):G.resolve(null)};et.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()};et.prototype.markActiveRecordingExpired=function(){return this.getActiveRecording().then((function(t){if(t)return t.maxExpires=0,this.setActiveRecording(t)}).bind(this)).catch(this.handleError.bind(this))};et.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):G.resolve()};et.prototype.flushInactiveRecordings=function(){return this.isPersistenceEnabled()?this.idb.init().then((function(){return this.idb.getAll()}).bind(this)).then((function(t){var n=t.filter(function(a){return bs(a)}).map((function(a){var e=me.deserialize(a,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage});return e.unloadPersistedData().then((function(){return this.idb.removeItem(a.tabId)}).bind(this)).catch(this.handleError.bind(this))}).bind(this));return G.all(n)}).bind(this)).catch(this.handleError.bind(this)):G.resolve([])};var Tr=Lt("recorder"),tt=function(t,n,a){this.mixpanelInstance=t,this.rrwebRecord=n||_t,this.sharedLockStorage=a,this.recordingRegistry=new et({mixpanelInstance:this.mixpanelInstance,errorReporter:Tr.error,sharedLockStorage:a}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};tt.prototype.startRecording=function(t){if(t=t||{},this.activeRecording&&!this.activeRecording.isRrwebStopped()){Tr.log("Recording already in progress, skipping startRecording.");return}var n=(function(){Tr.log("Idle timeout reached, restarting recording."),this.resetRecording()}).bind(this),a=(function(){Tr.log("Max recording length reached, stopping recording."),this.resetRecording()}).bind(this),e=(function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}).bind(this),r={mixpanelInstance:this.mixpanelInstance,onBatchSent:e,onIdleTimeout:n,onMaxLengthReached:a,replayId:h.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return t.activeSerializedRecording?this.activeRecording=me.deserialize(t.activeSerializedRecording,r):this.activeRecording=new me(r),this.activeRecording.startRecording(t.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())};tt.prototype.stopRecording=function(){return this.stopRecordingInProgress=!0,this._stopCurrentRecording(!1,!0).then((function(){return this.recordingRegistry.clearActiveRecording()}).bind(this)).then((function(){this.stopRecordingInProgress=!1}).bind(this))};tt.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)};tt.prototype._stopCurrentRecording=function(t,n){if(this.activeRecording){var a=this.activeRecording.stopRecording(t);return n&&(this.activeRecording=null),a}return G.resolve()};tt.prototype.resumeRecording=function(t){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),G.resolve(null)):this.recordingRegistry.getActiveRecording().then((function(n){return n&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:n}):t?this.startRecording({shouldStopBatcher:!1}):(Tr.log("No resumable recording found."),null)}).bind(this))};tt.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})};tt.prototype.getActiveReplayId=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()?this.activeRecording.replayId:null};Object.defineProperty(tt.prototype,"replayId",{get:function(){return this.getActiveReplayId()}});A.__mp_recorder=tt;var Wr="change",Qe="click",Da="hashchange",hg="input",rc="load",st="mp_locationchange",nc="popstate",yi="scrollend",Cs="scroll",pg="select",Yn="submit",_g="toggle",ic="visibilitychange",mg=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],ac=["mp-include"],Ba=["mp-no-track"],sc=Ba.concat(["mp-sensitive"]),gg=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],vg={button:!0,checkbox:!0,combobox:!0,grid:!0,link:!0,listbox:!0,menu:!0,menubar:!0,menuitem:!0,menuitemcheckbox:!0,menuitemradio:!0,navigation:!0,option:!0,radio:!0,radiogroup:!0,searchbox:!0,slider:!0,spinbutton:!0,switch:!0,tab:!0,tablist:!0,textbox:!0,tree:!0,treegrid:!0,treeitem:!0},yg={base:!0,head:!0,html:!0,link:!0,meta:!0,script:!0,style:!0,title:!0,br:!0,hr:!0,wbr:!0,noscript:!0,picture:!0,source:!0,template:!0,track:!0},bg={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},oc=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],Cg=5,te=Lt("autocapture");function La(t){for(var n={},a=gl(t).split(" "),e=0;e<a.length;e++){var r=a[e];r&&(n[r]=!0)}return n}function gl(t){switch(typeof t.className){case"string":return t.className;case"object":return t.className.baseVal||t.getAttribute("class")||"";default:return""}}function kg(t){if(t.previousElementSibling)return t.previousElementSibling;do t=t.previousSibling;while(t&&!vl(t));return t}function cc(t,n,a,e,r,i){var s={$classes:gl(t).split(" "),$tag_name:t.tagName.toLowerCase()},o=t.id;o&&(s.$id=o),ks(t,n,r,i)&&h.each(gg.concat(e),function(d){if(t.hasAttribute(d)&&!a[d]){var f=t.getAttribute(d);Kn(f)&&(s["$attr-"+d]=f)}});for(var c=1,u=1,l=t;l=kg(l);)c++,l.tagName===t.tagName&&u++;return s.$nth_child=c,s.$nth_of_type=u,s}function wg(t,n){var a=n.allowElementCallback,e=n.allowSelectors||[],r=n.blockAttrs||[],i=n.blockElementCallback,s=n.blockSelectors||[],o=n.captureTextContent||!1,c=n.captureExtraAttrs||[],u=n.capturedForHeatMap||!1,l={};h.each(r,function(w){l[w]=!0});var d=null,f=typeof t.target>"u"?t.srcElement:t.target;if(yl(f)&&(f=f.parentNode),Tg(f,t)&&Na(f,t,a,e)&&!Hi(f,t,i,s)){for(var m=[f],_=f;_.parentNode&&!We(_,"body");)m.push(_.parentNode),_=_.parentNode;var g=[],p,v=!1;if(h.each(m,function(w){var S=ks(w,t,a,e);!l.href&&w.tagName.toLowerCase()==="a"&&(p=w.getAttribute("href"),p=S&&Kn(p)&&p),Hi(w,t,i,s)&&(v=!0),g.push(cc(w,t,l,c,a,e))},this),!v){var y=B.documentElement;if(d={$event_type:t.type,$host:A.location.host,$pathname:A.location.pathname,$elements:g,$el_attr__href:p,$viewportHeight:Math.max(y.clientHeight,A.innerHeight||0),$viewportWidth:Math.max(y.clientWidth,A.innerWidth||0),$pageHeight:B.body.offsetHeight||0,$pageWidth:B.body.offsetWidth||0},h.each(c,function(w){if(!l[w]&&f.hasAttribute(w)){var S=f.getAttribute(w);Kn(S)&&(d["$el_attr__"+w]=S)}}),o&&(b=uc(f,t,a,e),b&&b.length&&(d.$el_text=b)),t.type===Qe&&(h.each(mg,function(w){w in t&&(d["$"+w]=t[w])}),u&&(d.$captured_for_heatmap=!0),f=Sg(t)),o){var b=uc(f,t,a,e);b&&b.length&&(d.$el_text=b)}if(f){if(!Na(f,t,a,e)||Hi(f,t,i,s))return null;var k=cc(f,t,l,c,a,e);d.$target=k,d.$el_classes=k.$classes,h.extend(d,h.strip_empty_properties({$el_id:k.$id,$el_tag_name:k.$tag_name}))}}}return d}function uc(t,n,a,e){var r="";return ks(t,n,a,e)&&t.childNodes&&t.childNodes.length&&h.each(t.childNodes,function(i){yl(i)&&i.textContent&&(r+=h.trim(i.textContent).split(/(\s+)/).filter(Kn).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),h.trim(r)}function Sg(t){for(var n=t.target,a=t.composedPath(),e=0;e<a.length;e++){var r=a[e];if(We(r,"a")||We(r,"button")||We(r,"input")||We(r,"select")||r.getAttribute&&r.getAttribute("role")==="button"){n=r;break}if(r===n)break}return n}function Na(t,n,a,e){if(a)try{if(!a(t,n))return!1}catch(s){return te.critical("Error while checking element in allowElementCallback",s),!1}if(!e.length)return!0;for(var r=0;r<e.length;r++){var i=e[r];try{if(t.matches(i))return!0}catch(s){te.critical("Error while checking selector: "+i,s)}}return!1}function Hi(t,n,a,e){var r;if(a)try{if(a(t,n))return!0}catch(o){return te.critical("Error while checking element in blockElementCallback",o),!0}if(e&&e.length)for(r=0;r<e.length;r++){var i=e[r];try{if(t.matches(i))return!0}catch(o){te.critical("Error while checking selector: "+i,o)}}var s=La(t);for(r=0;r<Ba.length;r++)if(s[Ba[r]])return!0;return!1}function vl(t){return t&&t.nodeType===1}function We(t,n){return t&&t.tagName&&t.tagName.toLowerCase()===n.toLowerCase()}function yl(t){return t&&t.nodeType===3}function Ag(){try{var t=B.createElement("div");return!!t.matches}catch{return!1}}function Eg(){return typeof WeakSet<"u"}function Tg(t,n){if(!t||We(t,"html")||!vl(t))return!1;var a=t.tagName.toLowerCase();switch(a){case"form":return n.type===Yn;case"input":return["button","submit"].indexOf(t.getAttribute("type"))===-1?n.type===Wr:n.type===Qe;case"select":case"textarea":return n.type===Wr;default:return n.type===Qe}}function ks(t,n,a,e){var r;if(!Na(t,n,a,e))return!1;for(var i=t;i.parentNode&&!We(i,"body");i=i.parentNode){var s=La(i);for(r=0;r<sc.length;r++)if(s[sc[r]])return!1}var o=La(t);for(r=0;r<ac.length;r++)if(o[ac[r]])return!0;if(We(t,"input")||We(t,"select")||We(t,"textarea")||t.getAttribute("contenteditable")==="true")return!1;var c=t.type||"";if(typeof c=="string")switch(c.toLowerCase()){case"hidden":return!1;case"password":return!1}var u=t.name||t.id||"";if(typeof u=="string"){var l=/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i;if(l.test(u.replace(/[^a-zA-Z0-9]/g,"")))return!1}return!0}function Kn(t){if(t===null||h.isUndefined(t))return!1;if(typeof t=="string"){t=h.trim(t);var n=/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/;if(n.test((t||"").replace(/[- ]/g,"")))return!1;var a=/(^\d{3}-?\d{2}-?\d{4}$)/;if(a.test(t))return!1}return!0}function bl(t){var n="onscrollend"in A,a=Vr(t),e=yi;if(!n){var r=null,i=100;a=Vr(function(){clearTimeout(r),r=setTimeout(t,i)}),e=Cs}return{listener:a,eventType:e}}function Rg(t){for(var n=0;n<oc.length;n++)if(t.hasAttribute(oc[n]))return!0;return!1}function Pg(t){var n=t.getAttribute("role");if(!n)return!1;var a=n.trim().split(/\s+/)[0].toLowerCase();return vg[a]}function Ji(t){var n=t.tagName.toLowerCase();return!!(n==="button"||n==="input"||n==="select"||n==="textarea"||n==="details"||n==="dialog"||t.isContentEditable||t.onclick||t.onmousedown||t.onmouseup||t.ontouchstart||t.ontouchend||Rg(t)||Pg(t)||n==="a"&&t.hasAttribute("href")||t.hasAttribute("tabindex"))}function Cl(t){if(!t||!t.tagName)return!0;var n=t.tagName.toLowerCase();if(yg[n])return!0;if(Ji(t))return!1;for(var a=t.parentElement,e=0;a&&e<Cg;){if(Ji(a))return!1;if(a.getRootNode&&a.getRootNode()!==B){var r=a.getRootNode();if(r.host&&Ji(r.host))return!1}a=a.parentElement,e++}return!!bg[n]}function kl(t){return"composedPath"in t?t.composedPath():[]}function wl(t){var n=kl(t);return n&&n.length>0?n[0]:t.target||t.srcElement}var Og=30,Ig=1e3,xg=4,Mg=!1;function Sl(){this.clicks=[]}Sl.prototype.isRageClick=function(t,n){n=n||{};var a=n.threshold_px||Og,e=n.timeout_ms||Ig,r=n.click_count||xg,i=n.interactive_elements_only||Mg;if(i){var s=wl(t);if(!s||Cl(s))return!1}var o=Date.now(),c=t.pageX,u=t.pageY,l=this.clicks[this.clicks.length-1];if(l&&o-l.timestamp<e&&Math.sqrt(Math.pow(c-l.x,2)+Math.pow(u-l.y,2))<a){if(this.clicks.push({x:c,y:u,timestamp:o}),this.clicks.length>=r)return this.clicks=[],!0}else this.clicks=[{x:c,y:u,timestamp:o}];return!1};function lr(t,n){this.changeCallback=t||function(){},this.observerConfig=n,this.observedShadowRoots=null,this.shadowObservers=[]}lr.prototype.getEventTarget=function(t){if(this.observedShadowRoots)return wl(t)};lr.prototype.observeFromEvent=function(t){if(this.observedShadowRoots)for(var n=kl(t),a=0;a<n.length;a++){var e=n[a];e&&e.shadowRoot&&this.observeShadowRoot(e.shadowRoot)}};lr.prototype.observeShadowRoot=function(t){if(!(!this.observedShadowRoots||this.observedShadowRoots.has(t))){var n=this;try{this.observedShadowRoots.add(t);var a=new window.MutationObserver(function(){n.changeCallback()});a.observe(t,this.observerConfig),this.shadowObservers.push(a)}catch(e){te.critical("Error while observing shadow root",e)}}};lr.prototype.start=function(){if(!this.observedShadowRoots){if(!Eg()){te.critical("Shadow DOM observation unavailable: WeakSet not supported");return}this.observedShadowRoots=new WeakSet}};lr.prototype.stop=function(){if(this.observedShadowRoots){for(var t=0;t<this.shadowObservers.length;t++)try{this.shadowObservers[t].disconnect()}catch(n){te.critical("Error while disconnecting shadow DOM observer",n)}this.shadowObservers=[],this.observedShadowRoots=null}};var Dg=500,Bg=[Wr,hg,Yn,pg,_g],Lg=[yi],Ng=[Da],lc={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function je(t){this.eventListeners=[],this.mutationObserver=null,this.shadowDOMObserver=null,this.isTracking=!1,this.lastChangeEventTimestamp=0,this.pendingClicks=[],this.onDeadClickCallback=t,this.processingActive=!1,this.processingTimeout=null}je.prototype.addClick=function(t){var n=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(t);return n||(n=t.target||t.srcElement),!n||Cl(n)?!1:(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(t),this.pendingClicks.push({element:n,event:t,timestamp:Date.now()}),!0)};je.prototype.trackClick=function(t,n){if(!this.isTracking)return!1;var a=this.addClick(t);return a&&this.triggerProcessing(n),a};je.prototype.getDeadClicks=function(t){if(this.pendingClicks.length===0)return[];var n=t.timeout_ms,a=Date.now(),e=this.pendingClicks.slice();this.pendingClicks=[];for(var r=[],i=0;i<e.length;i++){var s=e[i];a-s.timestamp>=n?this.hasChangesAfter(s.timestamp)||r.push(s):this.pendingClicks.push(s)}return r};je.prototype.hasChangesAfter=function(t){return this.lastChangeEventTimestamp>=t-100};je.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()};je.prototype.triggerProcessing=function(t){this.processingActive||(this.processingActive=!0,this.processRecursively(t))};je.prototype.processRecursively=function(t){if(!this.isTracking||!this.onDeadClickCallback){this.processingActive=!1;return}var n=t.timeout_ms,a=this;this.processingTimeout=setTimeout(function(){if(a.processingActive){for(var e=a.getDeadClicks(t),r=0;r<e.length;r++)a.onDeadClickCallback(e[r].event);a.pendingClicks.length>0?a.processRecursively(t):a.processingActive=!1}},n)};je.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var t=this;Bg.forEach(function(a){var e=function(){t.recordChangeEvent()};document.addEventListener(a,e,{capture:!0,passive:!0}),t.eventListeners.push({target:document,event:a,handler:e,options:{capture:!0,passive:!0}})}),Ng.forEach(function(a){var e=function(){t.recordChangeEvent()};window.addEventListener(a,e),t.eventListeners.push({target:window,event:a,handler:e})}),Lg.forEach(function(a){var e=function(){t.recordChangeEvent()};window.addEventListener(a,e,{passive:!0}),t.eventListeners.push({target:window,event:a,handler:e,options:{passive:!0}})});var n=function(){t.recordChangeEvent()};if(document.addEventListener("selectionchange",n),t.eventListeners.push({target:document,event:"selectionchange",handler:n}),window.MutationObserver)try{this.mutationObserver=new window.MutationObserver(function(){t.recordChangeEvent()}),this.mutationObserver.observe(document.body||document.documentElement,lc)}catch(a){te.critical("Error while setting up mutation observer",a)}if(window.customElements)try{this.shadowDOMObserver=new lr(function(){t.recordChangeEvent()},lc),this.shadowDOMObserver.start()}catch(a){te.critical("Error while setting up shadow DOM observer",a),this.shadowDOMObserver=null}}};je.prototype.stopTracking=function(){if(this.isTracking){this.isTracking=!1,this.pendingClicks=[],this.lastChangeEventTimestamp=0,this.processingActive=!1,this.processingTimeout&&(clearTimeout(this.processingTimeout),this.processingTimeout=null);for(var t=0;t<this.eventListeners.length;t++){var n=this.eventListeners[t];try{n.target.removeEventListener(n.event,n.handler,n.options)}catch(a){te.critical("Error while removing event listener",a)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(a){te.critical("Error while disconnecting mutation observer",a)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(a){te.critical("Error while stopping shadow DOM observer",a)}this.shadowDOMObserver=null}}};var Al="autocapture",Fg="track_pageview",El="full-url",$g="url-with-path-and-query-string",Ug="url-with-path",Vg="allow_element_callback",Tl="allow_selectors",Rl="allow_url_regexes",Pl="block_attrs",Ol="block_element_callback",Il="block_selectors",xl="block_url_regexes",Ml="capture_extra_attrs",Dl="capture_text_content",Bl="scroll_capture_all",Ll="scroll_depth_percent_checkpoints",Xn="click",Qn="dead_click",Fa="input",Nl="pageview",ei="rage_click",$a="scroll",bi="page_leave",Ua="submit",pe={};pe[Tl]=[];pe[Rl]=[];pe[Pl]=[];pe[Ol]=null;pe[Il]=[];pe[xl]=[];pe[Ml]=[];pe[Dl]=!1;pe[Bl]=!1;pe[Ll]=[25,50,75,100];pe[Xn]=!0;pe[Qn]=!0;pe[Fa]=!0;pe[Nl]=El;pe[ei]=!0;pe[$a]=!0;pe[bi]=!1;pe[Ua]=!0;var qr={$mp_autocapture:!0},Fl="$mp_click",$l="$mp_dead_click",zg="$mp_input_change",Ul="$mp_rage_click",Wg="$mp_scroll",qg="$mp_submit",Gg="$mp_page_leave",fe=function(t){this.mp=t,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};fe.prototype.init=function(){if(!Ag()){te.critical("Autocapture unavailable: missing required DOM APIs");return}this.initPageListeners(),this.initPageviewTracking(),this.initClickTracking(),this.initDeadClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking(),this.initRageClickTracking(),this.initPageLeaveTracking()};fe.prototype.getFullConfig=function(){var t=this.mp.get_config(Al);return t?h.isObject(t)?h.extend({},pe,t):pe:{}};fe.prototype.getConfig=function(t){return this.getFullConfig()[t]};fe.prototype.currentUrlBlocked=function(){var t,n=h.info.currentUrl(),a=this.getConfig(Rl)||[];if(a.length){var e=!1;for(t=0;t<a.length;t++){var r=a[t];try{if(n.match(r)){e=!0;break}}catch(s){return te.critical("Error while checking block URL regex: "+r,s),!0}}if(!e)return!0}var i=this.getConfig(xl)||[];if(!i||!i.length)return!1;for(t=0;t<i.length;t++)try{if(n.match(i[t]))return!0}catch(s){return te.critical("Error while checking block URL regex: "+i[t],s),!0}return!1};fe.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(Al)?this.getConfig(Nl):this.mp.get_config(Fg)};fe.prototype.trackDomEvent=function(t,n){if(!this.currentUrlBlocked()){var a=this.mp.is_recording_heatmap_data()&&(n===Fl&&!this.getConfig(Xn)||n===Ul&&!this._getClickTrackingConfig(ei)||n===$l&&!this._getClickTrackingConfig(Qn)),e=wg(t,{allowElementCallback:this.getConfig(Vg),allowSelectors:this.getConfig(Tl),blockAttrs:this.getConfig(Pl),blockElementCallback:this.getConfig(Ol),blockSelectors:this.getConfig(Il),captureExtraAttrs:this.getConfig(Ml),captureTextContent:this.getConfig(Dl),capturedForHeatMap:a});e&&(h.extend(e,qr),this.mp.track(n,e))}};fe.prototype.initPageListeners=function(){if(A.removeEventListener(nc,this.listenerPopstate),A.removeEventListener(Da,this.listenerHashchange),!(!this.pageviewTrackingConfig()&&!this.getConfig(bi)&&!this.mp.get_config("record_heatmap_data"))){this.listenerPopstate=function(){A.dispatchEvent(new Event(st))},this.listenerHashchange=function(){A.dispatchEvent(new Event(st))},A.addEventListener(nc,this.listenerPopstate),A.addEventListener(Da,this.listenerHashchange);var t=A.history.pushState;typeof t=="function"&&(A.history.pushState=function(a,e,r){t.call(A.history,a,e,r),A.dispatchEvent(new Event(st))});var n=A.history.replaceState;typeof n=="function"&&(A.history.replaceState=function(a,e,r){n.call(A.history,a,e,r),A.dispatchEvent(new Event(st))})}};fe.prototype._getClickTrackingConfig=function(t){var n=this.getConfig(t);return n?n===!0?{}:typeof n=="object"?n:{}:null};fe.prototype._trackPageLeave=function(t,n,a){if(!this.hasTrackedScrollSession&&!(!this.getConfig(bi)&&!this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var e=Math.max(B.documentElement.clientHeight,A.innerHeight||0),r=Math.round(Math.max(this.maxScrollViewDepth-e,0)/(a-e)*100),i=Math.round(e/a*100);a<=e&&(r=100,i=100);var s=h.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:r,$fold_line_percentage:i,$scroll_height:a,$event_type:t.type,$current_url:n||h.info.currentUrl(),$viewportHeight:e,$viewportWidth:Math.max(B.documentElement.clientWidth,A.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},qr);this.mp.track(Gg,s,{transport:"sendBeacon"})}};fe.prototype._initScrollDepthTracking=function(){if(A.removeEventListener(Cs,this.listenerScrollDepth),A.removeEventListener(yi,this.listenerScrollDepth),!!this.mp.get_config("record_heatmap_data")){te.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(B.documentElement.clientHeight,A.innerHeight||0);var t=(function(){if(!this.currentUrlBlocked()){var a=Math.max(B.documentElement.clientHeight,A.innerHeight||0)+A.scrollY;a>this.maxScrollViewDepth&&(this.maxScrollViewDepth=a),this.previousScrollHeight=B.body.scrollHeight}}).bind(this),n=bl(t);this.listenerScrollDepth=n.listener,A.addEventListener(n.eventType,this.listenerScrollDepth)}};fe.prototype.initClickTracking=function(){A.removeEventListener(Qe,this.listenerClick),!(!this.getConfig(Xn)&&!this.mp.get_config("record_heatmap_data"))&&(te.log("Initializing click tracking"),this.listenerClick=(function(t){!this.getConfig(Xn)&&!this.mp.is_recording_heatmap_data()||this.trackDomEvent(t,Fl)}).bind(this),A.addEventListener(Qe,this.listenerClick))};fe.prototype.initDeadClickTracking=function(){var t=this._getClickTrackingConfig(Qn);if(!t&&!this.mp.get_config("record_heatmap_data")){this.stopDeadClickTracking();return}te.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new je((function(n){this.trackDomEvent(n,$l)}).bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=(function(n){var a=this._getClickTrackingConfig(Qn);if(!(!a&&!this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var e=a||{};e.timeout_ms||(e.timeout_ms=Dg),this._deadClickTracker.trackClick(n,e)}}).bind(this),A.addEventListener(Qe,this.listenerDeadClick))};fe.prototype.initInputTracking=function(){A.removeEventListener(Wr,this.listenerChange),this.getConfig(Fa)&&(te.log("Initializing input tracking"),this.listenerChange=(function(t){this.getConfig(Fa)&&this.trackDomEvent(t,zg)}).bind(this),A.addEventListener(Wr,this.listenerChange))};fe.prototype.initPageviewTracking=function(){if(A.removeEventListener(st,this.listenerLocationchange),!!this.pageviewTrackingConfig()){te.log("Initializing pageview tracking");var t="",n=!1;this.currentUrlBlocked()||(n=this.mp.track_pageview(qr)),n&&(t=h.info.currentUrl()),this.listenerLocationchange=Vr((function(){if(!this.currentUrlBlocked()){var a=h.info.currentUrl(),e=!1,r=a.split("#")[0].split("?")[0]!==t.split("#")[0].split("?")[0],i=this.pageviewTrackingConfig();if(i===El?e=a!==t:i===$g?e=a.split("#")[0]!==t.split("#")[0]:i===Ug&&(e=r),e){var s=this.mp.track_pageview(qr);s&&(t=a),r&&(this.lastScrollCheckpoint=0,te.log("Path change: re-initializing scroll depth checkpoints"))}}}).bind(this)),A.addEventListener(st,this.listenerLocationchange)}};fe.prototype.initRageClickTracking=function(){A.removeEventListener(Qe,this.listenerRageClick);var t=this._getClickTrackingConfig(ei);!t&&!this.mp.get_config("record_heatmap_data")||(te.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new Sl),this.listenerRageClick=(function(n){var a=this._getClickTrackingConfig(ei);!a&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked()||this._rageClickTracker.isRageClick(n,a)&&this.trackDomEvent(n,Ul)}).bind(this),A.addEventListener(Qe,this.listenerRageClick))};fe.prototype.initScrollTracking=function(){if(A.removeEventListener(yi,this.listenerScroll),A.removeEventListener(Cs,this.listenerScroll),!!this.getConfig($a)){te.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var t=(function(){if(this.getConfig($a)&&!this.currentUrlBlocked()){var a=this.getConfig(Bl),e=(this.getConfig(Ll)||[]).slice().sort(function(l,d){return l-d}),r=A.scrollY,i=h.extend({$scroll_top:r},qr);try{var s=B.body.scrollHeight,o=Math.round(r/(s-A.innerHeight)*100);if(i.$scroll_height=s,i.$scroll_percentage=o,o>this.lastScrollCheckpoint)for(var c=0;c<e.length;c++){var u=e[c];o>=u&&this.lastScrollCheckpoint<u&&(i.$scroll_checkpoint=u,this.lastScrollCheckpoint=u,a=!0)}}catch(l){te.critical("Error while calculating scroll percentage",l)}a&&this.mp.track(Wg,i)}}).bind(this),n=bl(t);this.listenerScroll=n.listener,A.addEventListener(n.eventType,this.listenerScroll)}};fe.prototype.initSubmitTracking=function(){A.removeEventListener(Yn,this.listenerSubmit),this.getConfig(Ua)&&(te.log("Initializing submit tracking"),this.listenerSubmit=(function(t){this.getConfig(Ua)&&this.trackDomEvent(t,qg)}).bind(this),A.addEventListener(Yn,this.listenerSubmit))};fe.prototype.initPageLeaveTracking=function(){if(B.removeEventListener(ic,this.listenerPageLeaveVisibilitychange),A.removeEventListener(st,this.listenerPageLeaveLocationchange),A.removeEventListener(rc,this.listenerPageLoad),!(!this.getConfig(bi)&&!this.mp.get_config("record_heatmap_data"))){te.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var t=h.info.currentUrl();this.listenerPageLoad=(function(){this.previousScrollHeight=B.body.scrollHeight}).bind(this),A.addEventListener(rc,this.listenerPageLoad),this.listenerPageLeaveLocationchange=Vr((function(n){if(!this.currentUrlBlocked()){var a=h.info.currentUrl(),e=a!==t;e&&(this._trackPageLeave(n,t,this.previousScrollHeight),t=a,this.maxScrollViewDepth=Math.max(B.documentElement.clientHeight,A.innerHeight||0),this.previousScrollHeight=B.body.scrollHeight,this.hasTrackedScrollSession=!1)}}).bind(this)),A.addEventListener(st,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=(function(n){B.hidden&&this._trackPageLeave(n,t,this.previousScrollHeight)}).bind(this),B.addEventListener(ic,this.listenerPageLeaveVisibilitychange)}};fe.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(A.removeEventListener(Qe,this.listenerDeadClick),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)};ul(fe);var Ae=Lt("flags"),ti="flags",ri="context",Va={};Va[ri]={};var z=function(t){this.fetch=A.fetch,this.getFullApiRoute=t.getFullApiRoute,this.getMpConfig=t.getConfigFunc,this.setMpConfig=t.setConfigFunc,this.getMpProperty=t.getPropertyFunc,this.track=t.trackingFunc};z.prototype.init=function(){if(!this.minApisSupported()){Ae.critical("Feature Flags unavailable: missing minimum required APIs");return}this.flags=null,this.fetchFlags(),this.trackedFeatures=new Set};z.prototype.getFullConfig=function(){var t=this.getMpConfig(ti);return t?h.isObject(t)?h.extend({},Va,t):Va:{}};z.prototype.getConfig=function(t){return this.getFullConfig()[t]};z.prototype.isSystemEnabled=function(){return!!this.getMpConfig(ti)};z.prototype.updateContext=function(t,n){if(!this.isSystemEnabled())return Ae.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var a=this.getMpConfig(ti);h.isObject(a)||(a={});var e=n&&n.replace?{}:this.getConfig(ri);return a[ri]=h.extend({},e,t),this.setMpConfig(ti,a),this.fetchFlags()};z.prototype.areFlagsReady=function(){return this.isSystemEnabled()||Ae.error("Feature Flags not enabled"),!!this.flags};z.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var t=this.getMpProperty("distinct_id"),n=this.getMpProperty("$device_id"),a=jm();Ae.log("Fetching flags for distinct ID: "+t);var e=h.extend({distinct_id:t,device_id:n},this.getConfig(ri)),r=new URLSearchParams;r.set("context",JSON.stringify(e)),r.set("token",this.getMpConfig("token")),r.set("mp_lib","web"),r.set("$lib_version",De.LIB_VERSION);var i=this.getFullApiRoute()+"?"+r.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(A,i,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:a}}).then((function(s){return this.markFetchComplete(),s.json().then((function(o){var c=o.flags;if(!c)throw new Error("No flags in API response");var u=new Map;h.each(c,function(l,d){u.set(d,{key:l.variant_key,value:l.variant_value,experiment_id:l.experiment_id,is_experiment_active:l.is_experiment_active,is_qa_tester:l.is_qa_tester})}),this.flags=u,this._traceparent=a}).bind(this)).catch((function(o){this.markFetchComplete(),Ae.error(o)}).bind(this))}).bind(this)).catch((function(s){this.markFetchComplete(),Ae.error(s)}).bind(this)),this.fetchPromise};z.prototype.markFetchComplete=function(){if(!this._fetchInProgressStartTime){Ae.error("Fetch in progress started time not set, cannot mark fetch complete");return}this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null};z.prototype.getVariant=function(t,n){return this.fetchPromise?this.fetchPromise.then((function(){return this.getVariantSync(t,n)}).bind(this)).catch(function(a){return Ae.error(a),n}):new Promise(function(a){Ae.critical("Feature Flags not initialized"),a(n)})};z.prototype.getVariantSync=function(t,n){if(!this.areFlagsReady())return Ae.log("Flags not loaded yet"),n;var a=this.flags.get(t);return a?(this.trackFeatureCheck(t,a),a):(Ae.log('No flag found: "'+t+'"'),n)};z.prototype.getVariantValue=function(t,n){return this.getVariant(t,{value:n}).then(function(a){return a.value}).catch(function(a){return Ae.error(a),n})};z.prototype.getFeatureData=function(t,n){return Ae.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value() instead."),this.getVariantValue(t,n)};z.prototype.getVariantValueSync=function(t,n){return this.getVariantSync(t,{value:n}).value};z.prototype.isEnabled=function(t,n){return this.getVariantValue(t).then((function(){return this.isEnabledSync(t,n)}).bind(this)).catch(function(a){return Ae.error(a),n})};z.prototype.isEnabledSync=function(t,n){n=n||!1;var a=this.getVariantValueSync(t,n);return a!==!0&&a!==!1&&(Ae.error('Feature flag "'+t+'" value: '+a+" is not a boolean; returning fallback value: "+n),a=n),a};z.prototype.trackFeatureCheck=function(t,n){if(!this.trackedFeatures.has(t)){this.trackedFeatures.add(t);var a={"Experiment name":t,"Variant name":n.key,$experiment_type:"feature_flag","Variant fetch start time":new Date(this._fetchStartTime).toISOString(),"Variant fetch complete time":new Date(this._fetchCompleteTime).toISOString(),"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};n.experiment_id!=="undefined"&&(a.$experiment_id=n.experiment_id),n.is_experiment_active!=="undefined"&&(a.$is_experiment_active=n.is_experiment_active),n.is_qa_tester!=="undefined"&&(a.$is_qa_tester=n.is_qa_tester),this.track("$experiment_started",a)}};z.prototype.minApisSupported=function(){return!!this.fetch&&typeof Promise<"u"&&typeof Map<"u"&&typeof Set<"u"};ul(z);z.prototype.are_flags_ready=z.prototype.areFlagsReady;z.prototype.get_variant=z.prototype.getVariant;z.prototype.get_variant_sync=z.prototype.getVariantSync;z.prototype.get_variant_value=z.prototype.getVariantValue;z.prototype.get_variant_value_sync=z.prototype.getVariantValueSync;z.prototype.is_enabled=z.prototype.isEnabled;z.prototype.is_enabled_sync=z.prototype.isEnabledSync;z.prototype.update_context=z.prototype.updateContext;z.prototype.get_feature_data=z.prototype.getFeatureData;var rt=function(){};rt.prototype.create_properties=function(){};rt.prototype.event_handler=function(){};rt.prototype.after_track_handler=function(){};rt.prototype.init=function(t){return this.mp=t,this};rt.prototype.track=function(t,n,a,e){var r=this,i=h.dom_query(t);if(i.length===0){V.error("The DOM query ("+t+") returned 0 elements");return}return h.each(i,function(s){h.register_event(s,this.override_event,function(o){var c={},u=r.create_properties(a,this),l=r.mp.get_config("track_links_timeout");r.event_handler(o,this,c),window.setTimeout(r.track_callback(e,u,c,!0),l),r.mp.track(n,u,r.track_callback(e,u,c))})},this),!0};rt.prototype.track_callback=function(t,n,a,e){e=e||!1;var r=this;return function(){a.callback_fired||(a.callback_fired=!0,!(t&&t(e,n)===!1)&&r.after_track_handler(n,a,e))}};rt.prototype.create_properties=function(t,n){var a;return typeof t=="function"?a=t(n):a=h.extend({},t),a};var sr=function(){this.override_event="click"};h.inherit(sr,rt);sr.prototype.create_properties=function(t,n){var a=sr.superclass.create_properties.apply(this,arguments);return n.href&&(a.url=n.href),a};sr.prototype.event_handler=function(t,n,a){a.new_tab=t.which===2||t.metaKey||t.ctrlKey||n.target==="_blank",a.href=n.href,a.new_tab||t.preventDefault()};sr.prototype.after_track_handler=function(t,n){n.new_tab||setTimeout(function(){window.location=n.href},0)};var Ci=function(){this.override_event="submit"};h.inherit(Ci,rt);Ci.prototype.event_handler=function(t,n,a){a.element=n,t.preventDefault()};Ci.prototype.after_track_handler=function(t,n){setTimeout(function(){n.element.submit()},0)};var lt="$set",or="$set_once",Ne="$unset",It="$add",qe="$append",xt="$union",Ye="$remove",jg="$delete",Vl={set_action:function(t,n){var a={},e={};return h.isObject(t)?h.each(t,function(r,i){this._is_reserved_property(i)||(e[i]=r)},this):e[t]=n,a[lt]=e,a},unset_action:function(t){var n={},a=[];return h.isArray(t)||(t=[t]),h.each(t,function(e){this._is_reserved_property(e)||a.push(e)},this),n[Ne]=a,n},set_once_action:function(t,n){var a={},e={};return h.isObject(t)?h.each(t,function(r,i){this._is_reserved_property(i)||(e[i]=r)},this):e[t]=n,a[or]=e,a},union_action:function(t,n){var a={},e={};return h.isObject(t)?h.each(t,function(r,i){this._is_reserved_property(i)||(e[i]=h.isArray(r)?r:[r])},this):e[t]=h.isArray(n)?n:[n],a[xt]=e,a},append_action:function(t,n){var a={},e={};return h.isObject(t)?h.each(t,function(r,i){this._is_reserved_property(i)||(e[i]=r)},this):e[t]=n,a[qe]=e,a},remove_action:function(t,n){var a={},e={};return h.isObject(t)?h.each(t,function(r,i){this._is_reserved_property(i)||(e[i]=r)},this):e[t]=n,a[Ye]=e,a},delete_action:function(){var t={};return t[jg]="",t}},ie=function(){};h.extend(ie.prototype,Vl);ie.prototype._init=function(t,n,a){this._mixpanel=t,this._group_key=n,this._group_id=a};ie.prototype.set=cr(function(t,n,a){var e=this.set_action(t,n);return h.isObject(t)&&(a=n),this._send_request(e,a)});ie.prototype.set_once=cr(function(t,n,a){var e=this.set_once_action(t,n);return h.isObject(t)&&(a=n),this._send_request(e,a)});ie.prototype.unset=cr(function(t,n){var a=this.unset_action(t);return this._send_request(a,n)});ie.prototype.union=cr(function(t,n,a){h.isObject(t)&&(a=n);var e=this.union_action(t,n);return this._send_request(e,a)});ie.prototype.delete=cr(function(t){var n=this.delete_action();return this._send_request(n,t)});ie.prototype.remove=cr(function(t,n,a){var e=this.remove_action(t,n);return this._send_request(e,a)});ie.prototype._send_request=function(t,n){t.$group_key=this._group_key,t.$group_id=this._group_id,t.$token=this._get_config("token");var a=h.encodeDates(t);return this._mixpanel._track_or_batch({type:"groups",data:a,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},n)};ie.prototype._is_reserved_property=function(t){return t==="$group_key"||t==="$group_id"};ie.prototype._get_config=function(t){return this._mixpanel.get_config(t)};ie.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id};ie.prototype.remove=ie.prototype.remove;ie.prototype.set=ie.prototype.set;ie.prototype.set_once=ie.prototype.set_once;ie.prototype.union=ie.prototype.union;ie.prototype.unset=ie.prototype.unset;ie.prototype.toString=ie.prototype.toString;var N=function(){};h.extend(N.prototype,Vl);N.prototype._init=function(t){this._mixpanel=t};N.prototype.set=vt(function(t,n,a){var e=this.set_action(t,n);return h.isObject(t)&&(a=n),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),e[lt]=h.extend({},h.info.people_properties(),e[lt]),this._send_request(e,a)});N.prototype.set_once=vt(function(t,n,a){var e=this.set_once_action(t,n);return h.isObject(t)&&(a=n),this._send_request(e,a)});N.prototype.unset=vt(function(t,n){var a=this.unset_action(t);return this._send_request(a,n)});N.prototype.increment=vt(function(t,n,a){var e={},r={};return h.isObject(t)?(h.each(t,function(i,s){if(!this._is_reserved_property(s))if(isNaN(parseFloat(i))){V.error("Invalid increment value passed to mixpanel.people.increment - must be a number");return}else r[s]=i},this),a=n):(h.isUndefined(n)&&(n=1),r[t]=n),e[It]=r,this._send_request(e,a)});N.prototype.append=vt(function(t,n,a){h.isObject(t)&&(a=n);var e=this.append_action(t,n);return this._send_request(e,a)});N.prototype.remove=vt(function(t,n,a){h.isObject(t)&&(a=n);var e=this.remove_action(t,n);return this._send_request(e,a)});N.prototype.union=vt(function(t,n,a){h.isObject(t)&&(a=n);var e=this.union_action(t,n);return this._send_request(e,a)});N.prototype.track_charge=vt(function(){V.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")});N.prototype.clear_charges=function(t){return this.set("$transactions",[],t)};N.prototype.delete_user=function(){if(!this._identify_called()){V.error("mixpanel.people.delete_user() requires you to call identify() first");return}var t={$delete:this._mixpanel.get_distinct_id()};return this._send_request(t)};N.prototype.toString=function(){return this._mixpanel.toString()+".people"};N.prototype._send_request=function(t,n){t.$token=this._get_config("token"),t.$distinct_id=this._mixpanel.get_distinct_id();var a=this._mixpanel.get_property("$device_id"),e=this._mixpanel.get_property("$user_id"),r=this._mixpanel.get_property("$had_persisted_distinct_id");a&&(t.$device_id=a),e&&(t.$user_id=e),r&&(t.$had_persisted_distinct_id=r);var i=h.encodeDates(t);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:i,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},n):(this._enqueue(t),h.isUndefined(n)||(this._get_config("verbose")?n({status:-1,error:null}):n(-1)),h.truncate(i,255))};N.prototype._get_config=function(t){return this._mixpanel.get_config(t)};N.prototype._identify_called=function(){return this._mixpanel._flags.identify_called===!0};N.prototype._enqueue=function(t){lt in t?this._mixpanel.persistence._add_to_people_queue(lt,t):or in t?this._mixpanel.persistence._add_to_people_queue(or,t):Ne in t?this._mixpanel.persistence._add_to_people_queue(Ne,t):It in t?this._mixpanel.persistence._add_to_people_queue(It,t):qe in t?this._mixpanel.persistence._add_to_people_queue(qe,t):Ye in t?this._mixpanel.persistence._add_to_people_queue(Ye,t):xt in t?this._mixpanel.persistence._add_to_people_queue(xt,t):V.error("Invalid call to _enqueue():",t)};N.prototype._flush_one_queue=function(t,n,a,e){var r=this,i=h.extend({},this._mixpanel.persistence.load_queue(t)),s=i;!h.isUndefined(i)&&h.isObject(i)&&!h.isEmptyObject(i)&&(r._mixpanel.persistence._pop_from_people_queue(t,i),r._mixpanel.persistence.save(),e&&(s=e(i)),n.call(r,s,function(o,c){o===0&&r._mixpanel.persistence._add_to_people_queue(t,i),h.isUndefined(a)||a(o,c)}))};N.prototype._flush=function(t,n,a,e,r,i,s){var o=this;this._flush_one_queue(lt,this.set,t),this._flush_one_queue(or,this.set_once,e),this._flush_one_queue(Ne,this.unset,i,function(p){return h.keys(p)}),this._flush_one_queue(It,this.increment,n),this._flush_one_queue(xt,this.union,r);var c=this._mixpanel.persistence.load_queue(qe);if(!h.isUndefined(c)&&h.isArray(c)&&c.length)for(var u,l=function(p,v){p===0&&o._mixpanel.persistence._add_to_people_queue(qe,u),h.isUndefined(a)||a(p,v)},d=c.length-1;d>=0;d--)c=this._mixpanel.persistence.load_queue(qe),u=c.pop(),o._mixpanel.persistence.save(),h.isEmptyObject(u)||o.append(u,l);var f=this._mixpanel.persistence.load_queue(Ye);if(!h.isUndefined(f)&&h.isArray(f)&&f.length)for(var m,_=function(p,v){p===0&&o._mixpanel.persistence._add_to_people_queue(Ye,m),h.isUndefined(s)||s(p,v)},g=f.length-1;g>=0;g--)f=this._mixpanel.persistence.load_queue(Ye),m=f.pop(),o._mixpanel.persistence.save(),h.isEmptyObject(m)||o.remove(m,_)};N.prototype._is_reserved_property=function(t){return t==="$distinct_id"||t==="$token"||t==="$device_id"||t==="$user_id"||t==="$had_persisted_distinct_id"};N.prototype.set=N.prototype.set;N.prototype.set_once=N.prototype.set_once;N.prototype.unset=N.prototype.unset;N.prototype.increment=N.prototype.increment;N.prototype.append=N.prototype.append;N.prototype.remove=N.prototype.remove;N.prototype.union=N.prototype.union;N.prototype.track_charge=N.prototype.track_charge;N.prototype.clear_charges=N.prototype.clear_charges;N.prototype.delete_user=N.prototype.delete_user;N.prototype.toString=N.prototype.toString;var ws="__mps",Ss="__mpso",As="__mpus",Es="__mpa",Ts="__mpap",Rs="__mpr",Ps="__mpu",zl="$people_distinct_id",ni="__alias",Gr="__timers",Hg=[ws,Ss,As,Es,Ts,Rs,Ps,zl,ni,Gr],U=function(t){this.props={},this.campaign_params_saved=!1,t.persistence_name?this.name="mp_"+t.persistence_name:this.name="mp_"+t.token+"_mixpanel";var n=t.persistence;n!=="cookie"&&n!=="localStorage"&&(V.critical("Unknown persistence type "+n+"; falling back to cookie"),n=t.persistence="cookie"),n==="localStorage"&&h.localStorage.is_supported()?this.storage=h.localStorage:this.storage=h.cookie,this.load(),this.update_config(t),this.upgrade(),this.save()};U.prototype.properties=function(){var t={};return this.load(),h.each(this.props,function(n,a){h.include(Hg,a)||(t[a]=n)}),t};U.prototype.load=function(){if(!this.disabled){var t=this.storage.parse(this.name);t&&(this.props=h.extend({},t))}};U.prototype.upgrade=function(){var t,n;this.storage===h.localStorage?(t=h.cookie.parse(this.name),h.cookie.remove(this.name),h.cookie.remove(this.name,!0),t&&this.register_once(t)):this.storage===h.cookie&&(n=h.localStorage.parse(this.name),h.localStorage.remove(this.name),n&&this.register_once(n))};U.prototype.save=function(){this.disabled||this.storage.set(this.name,ar(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)};U.prototype.load_prop=function(t){return this.load(),this.props[t]};U.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)};U.prototype.clear=function(){this.remove(),this.props={}};U.prototype.register_once=function(t,n,a){return h.isObject(t)?(typeof n>"u"&&(n="None"),this.expire_days=typeof a>"u"?this.default_expiry:a,this.load(),h.each(t,function(e,r){(!this.props.hasOwnProperty(r)||this.props[r]===n)&&(this.props[r]=e)},this),this.save(),!0):!1};U.prototype.register=function(t,n){return h.isObject(t)?(this.expire_days=typeof n>"u"?this.default_expiry:n,this.load(),h.extend(this.props,t),this.save(),!0):!1};U.prototype.unregister=function(t){this.load(),t in this.props&&(delete this.props[t],this.save())};U.prototype.update_search_keyword=function(t){this.register(h.info.searchInfo(t))};U.prototype.update_referrer_info=function(t){this.register_once({$initial_referrer:t||"$direct",$initial_referring_domain:h.info.referringDomain(t)||"$direct"},"")};U.prototype.get_referrer_info=function(){return h.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})};U.prototype.update_config=function(t){this.default_expiry=this.expire_days=t.cookie_expiration,this.set_disabled(t.disable_persistence),this.set_cookie_domain(t.cookie_domain),this.set_cross_site(t.cross_site_cookie),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie)};U.prototype.set_disabled=function(t){this.disabled=t,this.disabled?this.remove():this.save()};U.prototype.set_cookie_domain=function(t){t!==this.cookie_domain&&(this.remove(),this.cookie_domain=t,this.save())};U.prototype.set_cross_site=function(t){t!==this.cross_site&&(this.cross_site=t,this.remove(),this.save())};U.prototype.set_cross_subdomain=function(t){t!==this.cross_subdomain&&(this.cross_subdomain=t,this.remove(),this.save())};U.prototype.get_cross_subdomain=function(){return this.cross_subdomain};U.prototype.set_secure=function(t){t!==this.secure&&(this.secure=!!t,this.remove(),this.save())};U.prototype._add_to_people_queue=function(t,n){var a=this._get_queue_key(t),e=n[t],r=this._get_or_create_queue(lt),i=this._get_or_create_queue(or),s=this._get_or_create_queue(Ne),o=this._get_or_create_queue(It),c=this._get_or_create_queue(xt),u=this._get_or_create_queue(Ye,[]),l=this._get_or_create_queue(qe,[]);a===ws?(h.extend(r,e),this._pop_from_people_queue(It,e),this._pop_from_people_queue(xt,e),this._pop_from_people_queue(Ne,e)):a===Ss?(h.each(e,function(d,f){f in i||(i[f]=d)}),this._pop_from_people_queue(Ne,e)):a===As?h.each(e,function(d){h.each([r,i,o,c],function(f){d in f&&delete f[d]}),h.each(l,function(f){d in f&&delete f[d]}),s[d]=!0}):a===Es?(h.each(e,function(d,f){f in r?r[f]+=d:(f in o||(o[f]=0),o[f]+=d)},this),this._pop_from_people_queue(Ne,e)):a===Ps?(h.each(e,function(d,f){h.isArray(d)&&(f in c||(c[f]=[]),h.each(d,function(m){h.include(c[f],m)||c[f].push(m)}))}),this._pop_from_people_queue(Ne,e)):a===Rs?(u.push(e),this._pop_from_people_queue(qe,e)):a===Ts&&(l.push(e),this._pop_from_people_queue(Ne,e)),V.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),V.log(n),this.save()};U.prototype._pop_from_people_queue=function(t,n){var a=this.props[this._get_queue_key(t)];h.isUndefined(a)||h.each(n,function(e,r){t===qe||t===Ye?h.each(a,function(i){i[r]===e&&delete i[r]}):delete a[r]},this)};U.prototype.load_queue=function(t){return this.load_prop(this._get_queue_key(t))};U.prototype._get_queue_key=function(t){if(t===lt)return ws;if(t===or)return Ss;if(t===Ne)return As;if(t===It)return Es;if(t===qe)return Ts;if(t===Ye)return Rs;if(t===xt)return Ps;V.error("Invalid queue:",t)};U.prototype._get_or_create_queue=function(t,n){var a=this._get_queue_key(t);return n=h.isUndefined(n)?{}:n,this.props[a]||(this.props[a]=n)};U.prototype.set_event_timer=function(t,n){var a=this.load_prop(Gr)||{};a[t]=n,this.props[Gr]=a,this.save()};U.prototype.remove_event_timer=function(t){var n=this.load_prop(Gr)||{},a=n[t];return h.isUndefined(a)||(delete this.props[Gr][t],this.save()),a};var ii,Wl=function(t,n){throw new Error(t+" not available in this build.")},ye,za=0,Jg=1,Me="mixpanel",ql="base64",Zg="json",Os="$device:",Kt=A.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,Gl=!Kt&&ze.indexOf("MSIE")===-1&&ze.indexOf("Mozilla")===-1,ai=null;Ze.sendBeacon&&(ai=function(){return Ze.sendBeacon.apply(Ze,arguments)});var jl={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/"},dc={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:jl,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:ql,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:ot,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:ot,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video, audio",record_canvas:!1,record_collect_fonts:!1,record_console:!0,record_heatmap_data:!1,record_idle_timeout_ms:30*60*1e3,record_mask_text_class:new RegExp("^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$"),record_mask_text_selector:"*",record_max_ms:Ar,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},Hl=!1,C=function(){},Wa=function(t,n,a){var e,r=a===Me?ye:ye[a];if(r&&ii===za)e=r;else{if(r&&!h.isArray(r)){V.error("You have already initialized "+a);return}e=new C}if(e._cached_groups={},e._init(t,n,a),e.people=new N,e.people._init(e),!e.get_config("skip_first_touch_marketing")){var i=h.info.campaignParams(null),s={},o=!1;h.each(i,function(u,l){s["initial_"+l]=u,u&&(o=!0)}),o&&e.people.set_once(s)}De.DEBUG=De.DEBUG||e.get_config("debug");var c=ii===za?"module":"snippet";return A.dispatchEvent(new A.CustomEvent("$mp_sdk_to_extension_event",{detail:{instance:e,source:c,token:t,name:a,info:h.info}})),!h.isUndefined(r)&&h.isArray(r)&&(e._execute_array.call(e.people,r.people),e._execute_array(r)),e};C.prototype.init=function(t,n,a){if(h.isUndefined(a)){this.report_error("You must name your new library: init(token, config, name)");return}if(a===Me){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var e=Wa(t,n,a);return ye[a]=e,e._loaded(),e};C.prototype._init=function(t,n,a){n=n||{},this.__loaded=!0,this.config={};var e={};if(!("api_payload_format"in n)){var r=n.api_host||dc.api_host;r.match(/\.mixpanel\.com/)&&(e.api_payload_format=Zg)}if(this.hooks={},this.set_config(h.extend({},dc,e,n,{name:a,token:t,callback_fn:(a===Me?a:Me+"."+a)+"._jsc"})),this._jsc=ot,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests){if(!h.localStorage.is_supported(!0)||!Kt)this._batch_requests=!1,V.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),h.each(this.get_batcher_configs(),function(o){V.log("Clearing batch queue "+o.queue_key),h.localStorage.remove(o.queue_key)});else if(this.init_batchers(),ai&&A.addEventListener){var i=h.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);A.addEventListener("pagehide",function(o){o.persisted&&i()}),A.addEventListener("visibilitychange",function(){B.visibilityState==="hidden"&&i()})}}this.persistence=this.cookie=new U(this.config),this.unpersisted_superprops={},this._gdpr_init();var s=h.UUID();this.get_distinct_id()||this.register_once({distinct_id:Os+s,$device_id:s},""),this.flags=new z({getFullApiRoute:h.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:h.bind(this.get_config,this),setConfigFunc:h.bind(this.set_config,this),getPropertyFunc:h.bind(this.get_property,this),trackingFunc:h.bind(this.track,this)}),this.flags.init(),this.flags=this.flags,this.autocapture=new fe(this),this.autocapture.init(),this._init_tab_id(),this._check_and_start_session_recording()};C.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))V.log("Tab ID initialization skipped due to disable_persistence config");else if(h.sessionStorage.is_supported())try{var t=this.get_config("name")+"_"+this.get_config("token"),n="mp_tab_id_"+t,a="mp_gen_new_tab_id_"+t;(h.sessionStorage.get(a)||!h.sessionStorage.get(n))&&h.sessionStorage.set(n,"$tab-"+h.UUID()),h.sessionStorage.set(a,"1"),this.tab_id=h.sessionStorage.get(n),A.addEventListener("beforeunload",function(){h.sessionStorage.remove(a)})}catch(e){this.report_error("Error initializing tab id",e)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")};C.prototype.get_tab_id=function(){return this.tab_id||null};C.prototype._should_load_recorder=function(){if(this.get_config("disable_persistence"))return V.log("Load recorder check skipped due to disable_persistence config"),Promise.resolve(!1);var t=new Fe(ms),n=this.get_tab_id();return t.init().then(function(){return t.getAll()}).then(function(a){for(var e=0;e<a.length;e++)if(bs(a[e])||a[e].tabId===n)return!0;return!1}).catch(h.bind(function(a){this.report_error("Error checking recording registry",a)},this))};C.prototype._check_and_start_session_recording=gt(function(t){if(!A.MutationObserver){V.critical("Browser does not support MutationObserver; skipping session recording");return}var n=h.bind(function(e){var r=h.bind(function(){this._recorder=this._recorder||new A.__mp_recorder(this),this._recorder.resumeRecording(e)},this);h.isUndefined(A.__mp_recorder)?Wl(this.get_config("recorder_src"),r):r()},this),a=this.get_config("record_sessions_percent")>0&&Math.random()*100<=this.get_config("record_sessions_percent");t||a?n(!0):this._should_load_recorder().then(function(e){e&&n(!1)})});C.prototype.start_session_recording=function(){this._check_and_start_session_recording(!0)};C.prototype.stop_session_recording=function(){return this._recorder?this._recorder.stopRecording():Promise.resolve()};C.prototype.pause_session_recording=function(){return this._recorder?this._recorder.pauseRecording():Promise.resolve()};C.prototype.resume_session_recording=function(){return this._recorder?this._recorder.resumeRecording():Promise.resolve()};C.prototype.is_recording_heatmap_data=function(){return this._get_session_replay_id()&&this.get_config("record_heatmap_data")};C.prototype.get_session_recording_properties=function(){var t={},n=this._get_session_replay_id();return n&&(t.$mp_replay_id=n),t};C.prototype.get_session_replay_url=function(){var t=null,n=this._get_session_replay_id();if(n){var a=h.HTTPBuildQuery({replay_id:n,distinct_id:this.get_distinct_id(),token:this.get_config("token")});t="https://mixpanel.com/projects/replay-redirect?"+a}return t};C.prototype._get_session_replay_id=function(){var t=null;return this._recorder&&(t=this._recorder.replayId),t||null};C.prototype.__get_recorder=function(){return this._recorder};C.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var t=h.info.campaignParams(null);h.each(t,(function(n,a){this.unregister(a)}).bind(this))}};C.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(B.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(h.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(B.referrer)};C.prototype._dom_loaded=function(){h.each(this.__dom_loaded_queue,function(t){this._track_dom.apply(this,t)},this),this.has_opted_out_tracking()||h.each(this.__request_queue,function(t){this._send_request.apply(this,t)},this),delete this.__dom_loaded_queue,delete this.__request_queue};C.prototype._track_dom=function(t,n){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!Hl)return this.__dom_loaded_queue.push([t,n]),!1;var a=new t().init(this);return a.track.apply(a,n)};C.prototype._prepare_callback=function(t,n){if(h.isUndefined(t))return null;if(Kt){var a=function(s){t(s,n)};return a}else{var e=this._jsc,r=""+Math.floor(Math.random()*1e8),i=this.get_config("callback_fn")+"["+r+"]";return e[r]=function(s){delete e[r],t(s,n)},i}};C.prototype._send_request=function(t,n,a,e){var r=!0;if(Gl)return this.__request_queue.push(arguments),r;var i={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},s=null;!e&&(h.isFunction(a)||typeof a=="string")&&(e=a,a=null),a=h.extend(i,a||{}),Kt||(a.method="GET");var o=a.method==="POST",c=ai&&o&&a.transport.toLowerCase()==="sendbeacon",u=a.verbose;n.verbose&&(u=!0),this.get_config("test")&&(n.test=1),u&&(n.verbose=1),this.get_config("img")&&(n.img=1),Kt||(e?n.callback=e:(u||this.get_config("test"))&&(n.callback="(function(){})")),n.ip=this.get_config("ip")?1:0,n._=new Date().getTime().toString(),o&&(s="data="+encodeURIComponent(n.data),delete n.data),h.extend(n,this.get_config("api_extra_query_params")),t+="?"+h.HTTPBuildQuery(n);var l=this;if("img"in n){var d=B.createElement("img");d.src=t,B.body.appendChild(d)}else if(c){try{r=ai(t,s)}catch(v){l.report_error(v),r=!1}try{e&&e(r?1:0)}catch(v){l.report_error(v)}}else if(Kt)try{var f=new XMLHttpRequest;f.open(a.method,t,!0);var m=this.get_config("xhr_headers");if(o&&(m["Content-Type"]="application/x-www-form-urlencoded"),h.each(m,function(v,y){f.setRequestHeader(y,v)}),a.timeout_ms&&typeof f.timeout<"u"){f.timeout=a.timeout_ms;var _=new Date().getTime()}f.withCredentials=!0,f.onreadystatechange=function(){if(f.readyState===4)if(f.status===200){if(e)if(u){var v;try{v=h.JSONDecode(f.responseText)}catch(k){if(l.report_error(k),a.ignore_json_errors)v=f.responseText;else return}e(v)}else e(Number(f.responseText))}else{var y;if(f.timeout&&!f.status&&new Date().getTime()-_>=f.timeout?y="timeout":y="Bad HTTP status: "+f.status+" "+f.statusText,l.report_error(y),e)if(u){var b=f.responseHeaders||{};e({status:0,httpStatusCode:f.status,error:y,retryAfter:b["Retry-After"]})}else e(0)}},f.send(s)}catch(v){l.report_error(v),r=!1}else{var g=B.createElement("script");g.type="text/javascript",g.async=!0,g.defer=!0,g.src=t;var p=B.getElementsByTagName("script")[0];p.parentNode.insertBefore(g,p)}return r};C.prototype._execute_array=function(t){var n,a=[],e=[],r=[];h.each(t,function(s){s&&(n=s[0],h.isArray(n)?r.push(s):typeof s=="function"?s.call(this):h.isArray(s)&&n==="alias"?a.push(s):h.isArray(s)&&n.indexOf("track")!==-1&&typeof this[n]=="function"?r.push(s):e.push(s))},this);var i=function(s,o){h.each(s,function(c){if(h.isArray(c[0])){var u=o;h.each(c,function(l){u=u[l[0]].apply(u,l.slice(1))})}else this[c[0]].apply(this,c.slice(1))},o)};i(a,this),i(e,this),i(r,this)};C.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events};C.prototype.get_batcher_configs=function(){var t="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",api_name:"track",queue_key:t+"_ev"},people:{type:"people",api_name:"engage",queue_key:t+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:t+"_gr"}},this._batcher_configs};C.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var t=h.bind(function(a){return new Be(a.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:h.bind(function(e,r,i){var s=this.get_config("api_routes");this._send_request(this.get_api_host(a.api_name)+"/"+s[a.api_name],this._encode_data_for_request(e),r,this._prepare_callback(i,e))},this),beforeSendHook:h.bind(function(e){var r=this._run_hook("before_send_"+a.type,e);return r?r[0]:null},this),stopAllBatchingFunc:h.bind(this.stop_batch_senders,this),usePersistence:!0})},this),n=this.get_batcher_configs();this.request_batchers={events:t(n.events),people:t(n.people),groups:t(n.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()};C.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,h.each(this.request_batchers,function(t){t.start()}))};C.prototype.stop_batch_senders=function(){this._batch_requests=!1,h.each(this.request_batchers,function(t){t.stop(),t.clear()})};C.prototype.push=function(t){this._execute_array([t])};C.prototype.disable=function(t){typeof t>"u"?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(t)};C.prototype._encode_data_for_request=function(t){var n=ar(t);return this.get_config("api_payload_format")===ql&&(n=h.base64Encode(n)),{data:n}};C.prototype._track_or_batch=function(t,n){var a=h.truncate(t.data,255),e=t.endpoint,r=t.batcher,i=t.should_send_immediately,s=t.send_request_options||{};n=n||ot;var o=!0,c=h.bind(function(){return s.skip_hooks||(a=this._run_hook("before_send_"+t.type,a),a&&(a=a[0])),a?(V.log("MIXPANEL REQUEST:"),V.log(a),this._send_request(e,this._encode_data_for_request(a),s,this._prepare_callback(n,a))):null},this);return this._batch_requests&&!i?r.enqueue(a).then(function(u){u?n(1,a):c()}):o=c(),o&&a};C.prototype.track=gt(function(t,n,a,e){var r;if(!(a&&a.skip_hooks)){if(r=this._run_hook("before_track",t,n),r===null)return;t=r[0],n=r[1]}!e&&typeof a=="function"&&(e=a,a=null),a=a||{};var i=a.transport;i&&(a.transport=i);var s=a.send_immediately;if(typeof e!="function"&&(e=ot),h.isUndefined(t)){this.report_error("No event name provided to mixpanel.track");return}if(this._event_is_disabled(t)){e(0);return}n=h.extend({},n),n.token=this.get_config("token");var o=this.persistence.remove_event_timer(t);if(!h.isUndefined(o)){var c=new Date().getTime()-o;n.$duration=parseFloat((c/1e3).toFixed(3))}this._set_default_superprops();var u=this.get_config("track_marketing")?h.info.marketingParams():{};n=h.extend({},h.info.properties({mp_loader:this.get_config("mp_loader")}),u,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),n);var l=this.get_config("property_blacklist");h.isArray(l)?h.each(l,function(f){delete n[f]}):this.report_error("Invalid value for property_blacklist config: "+l);var d={event:t,properties:n};return r=this._track_or_batch({type:"events",data:d,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:s,send_request_options:a},e),r});C.prototype.set_group=gt(function(t,n,a){h.isArray(n)||(n=[n]);var e={};return e[t]=n,this.register(e),this.people.set(t,n,a)});C.prototype.add_group=gt(function(t,n,a){var e=this.get_property(t),r={};return e===void 0?(r[t]=[n],this.register(r)):e.indexOf(n)===-1&&(e.push(n),r[t]=e,this.register(r)),this.people.union(t,n,a)});C.prototype.remove_group=gt(function(t,n,a){var e=this.get_property(t);if(e!==void 0){var r=e.indexOf(n);r>-1&&(e.splice(r,1),this.register({group_key:e})),e.length===0&&this.unregister(t)}return this.people.remove(t,n,a)});C.prototype.track_with_groups=gt(function(t,n,a,e){var r=h.extend({},n||{});return h.each(a,function(i,s){i!=null&&(r[s]=i)}),this.track(t,r,e)});C.prototype._create_map_key=function(t,n){return t+"_"+JSON.stringify(n)};C.prototype._remove_group_from_cache=function(t,n){delete this._cached_groups[this._create_map_key(t,n)]};C.prototype.get_group=function(t,n){var a=this._create_map_key(t,n),e=this._cached_groups[a];return(e===void 0||e._group_key!==t||e._group_id!==n)&&(e=new ie,e._init(this,t,n),this._cached_groups[a]=e),e};C.prototype.track_pageview=gt(function(t,n){typeof t!="object"&&(t={}),n=n||{};var a=n.event_name||"$mp_web_page_view",e=h.extend(h.info.mpPageViewProperties(),h.info.campaignParams(),h.info.clickParams()),r=h.extend({},e,t);return this.track(a,r)});C.prototype.track_links=function(){return this._track_dom.call(this,sr,arguments)};C.prototype.track_forms=function(){return this._track_dom.call(this,Ci,arguments)};C.prototype.time_event=function(t){if(h.isUndefined(t)){this.report_error("No event name provided to mixpanel.time_event");return}this._event_is_disabled(t)||this.persistence.set_event_timer(t,new Date().getTime())};var Yg={persistent:!0},Is=function(t){var n;return h.isObject(t)?n=t:h.isUndefined(t)?n={}:n={days:t},h.extend({},Yg,n)};C.prototype.register=function(t,n){var a=this._run_hook("before_register",t,n);if(a!==null){t=a[0],n=a[1];var e=Is(n);e.persistent?this.persistence.register(t,e.days):h.extend(this.unpersisted_superprops,t)}};C.prototype.register_once=function(t,n,a){var e=this._run_hook("before_register_once",t,n,a);if(e!==null){t=e[0],n=e[1],a=e[2];var r=Is(a);r.persistent?this.persistence.register_once(t,n,r.days):(typeof n>"u"&&(n="None"),h.each(t,function(i,s){(!this.unpersisted_superprops.hasOwnProperty(s)||this.unpersisted_superprops[s]===n)&&(this.unpersisted_superprops[s]=i)},this))}};C.prototype.unregister=function(t,n){var a=this._run_hook("before_unregister",t,n);a!==null&&(t=a[0],n=a[1],n=Is(n),n.persistent?this.persistence.unregister(t):delete this.unpersisted_superprops[t])};C.prototype._register_single=function(t,n){var a={};a[t]=n,this.register(a)};C.prototype.identify=function(t,n,a,e,r,i,s,o){var c=this._run_hook("before_identify",t);if(c===null)return-1;t=c[0];var u=this.get_distinct_id();if(t&&u!==t){if(typeof t=="string"&&t.indexOf(Os)===0)return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:t})}if(!this.get_property("$device_id")){var l=u;this.register_once({$had_persisted_distinct_id:!0,$device_id:l},"")}t!==u&&t!==this.get_property(ni)&&(this.unregister(ni),this.register({distinct_id:t})),this._flags.identify_called=!0,this.people._flush(n,a,e,r,i,s,o),t!==u&&this.track("$identify",{distinct_id:t,$anon_distinct_id:u},{skip_hooks:!0}),t!==u&&this.flags.fetchFlags()};C.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var t=h.UUID();this.register_once({distinct_id:Os+t,$device_id:t},""),this._check_and_start_session_recording()};C.prototype.get_distinct_id=function(){return this.get_property("distinct_id")};C.prototype.alias=function(t,n){if(t===this.get_property(zl))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var a=this;return h.isUndefined(n)&&(n=this.get_distinct_id()),t!==n?(this._register_single(ni,t),this.track("$create_alias",{alias:t,distinct_id:n},{skip_hooks:!0},function(){a.identify(t)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(t),-1)};C.prototype.name_tag=function(t){this._register_single("mp_name_tag",t)};C.prototype.set_config=function(t){if(h.isObject(t)){h.extend(this.config,t);var n=t.batch_size;n&&h.each(this.request_batchers,function(a){a.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),De.DEBUG=De.DEBUG||this.get_config("debug"),("autocapture"in t||"record_heatmap_data"in t)&&this.autocapture&&this.autocapture.init(),h.isObject(t.hooks)&&(this.hooks={},h.each(t.hooks,function(a,e){if(h.isFunction(a))this.hooks[e]=[a];else if(h.isArray(a)){this.hooks[e]=[];for(var r=0;r<a.length;r++)h.isFunction(a[r])||V.critical("Invalid hook added. Hook is not a function"),this.hooks[e].push(a[r])}else V.critical("Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.")},this))}};C.prototype.get_config=function(t){return this.config[t]};C.prototype._run_hook=function(t){var n=at.call(arguments,1);return h.each(this.hooks[t],function(a){if(n===null)return null;var e=a.apply(this,n);typeof e>"u"?(this.report_error(t+" hook did not return a valid value"),n=null):(h.isArray(e)||(e=[e]),n.splice.apply(n,[0,e.length].concat(e)))},this),n};C.prototype.get_property=function(t){return this.persistence.load_prop([t])};C.prototype.get_api_host=function(t){return this.get_config("api_hosts")[t]||this.get_config("api_host")};C.prototype.toString=function(){var t=this.get_config("name");return t!==Me&&(t=Me+"."+t),t};C.prototype._event_is_disabled=function(t){return h.isBlockedUA(ze)||this._flags.disable_all_events||h.include(this.__disabled_events,t)};C.prototype._gdpr_init=function(){var t=this.get_config("opt_out_tracking_persistence_type")==="localStorage";t&&h.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):!this.has_opted_in_tracking()&&(this.get_config("opt_out_tracking_by_default")||h.cookie.get("mp_optout"))&&(h.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))};C.prototype._gdpr_update_persistence=function(t){var n;if(t&&t.clear_persistence)n=!0;else if(t&&t.enable_persistence)n=!1;else return;!this.get_config("disable_persistence")&&this.persistence.disabled!==n&&this.persistence.set_disabled(n),n?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()};C.prototype._gdpr_call_func=function(t,n){return n=h.extend({track:h.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},n),h.localStorage.is_supported()||(n.persistence_type="cookie"),t(this.get_config("token"),{track:n.track,trackEventName:n.track_event_name,trackProperties:n.track_properties,persistenceType:n.persistence_type,persistencePrefix:n.cookie_prefix,cookieDomain:n.cookie_domain,cookieExpiration:n.cookie_expiration,crossSiteCookie:n.cross_site_cookie,crossSubdomainCookie:n.cross_subdomain_cookie,secureCookie:n.secure_cookie,ignoreDnt:n.ignore_dnt})};C.prototype.opt_in_tracking=function(t){t=h.extend({enable_persistence:!0},t),this._gdpr_call_func(tg,t),this._gdpr_update_persistence(t)};C.prototype.opt_out_tracking=function(t){t=h.extend({clear_persistence:!0,delete_user:!0},t),t.delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(rg,t),this._gdpr_update_persistence(t)};C.prototype.has_opted_in_tracking=function(t){return this._gdpr_call_func(ng,t)};C.prototype.has_opted_out_tracking=function(t){return this._gdpr_call_func(hl,t)};C.prototype.clear_opt_in_out_tracking=function(t){t=h.extend({enable_persistence:!0},t),this._gdpr_call_func(ig,t),this._gdpr_update_persistence(t)};C.prototype.report_error=function(t,n){V.error.apply(V.error,arguments);try{!n&&!(t instanceof Error)&&(t=new Error(t)),this.get_config("error_reporter")(t,n)}catch(a){V.error(a)}};C.prototype.add_hook=function(t,n){this.hooks[t]||(this.hooks[t]=[]),this.hooks[t].push(n)};C.prototype.remove_hook=function(t,n){var a;this.hooks[t]&&(a=this.hooks[t].indexOf(n),a!==-1?this.hooks[t].splice(a,1):V.log("remove_hook failed. Matching hook was not found"))};C.prototype.init=C.prototype.init;C.prototype.reset=C.prototype.reset;C.prototype.disable=C.prototype.disable;C.prototype.time_event=C.prototype.time_event;C.prototype.track=C.prototype.track;C.prototype.track_links=C.prototype.track_links;C.prototype.track_forms=C.prototype.track_forms;C.prototype.track_pageview=C.prototype.track_pageview;C.prototype.register=C.prototype.register;C.prototype.register_once=C.prototype.register_once;C.prototype.unregister=C.prototype.unregister;C.prototype.identify=C.prototype.identify;C.prototype.alias=C.prototype.alias;C.prototype.name_tag=C.prototype.name_tag;C.prototype.set_config=C.prototype.set_config;C.prototype.get_config=C.prototype.get_config;C.prototype.get_api_host=C.prototype.get_api_host;C.prototype.get_property=C.prototype.get_property;C.prototype.get_distinct_id=C.prototype.get_distinct_id;C.prototype.toString=C.prototype.toString;C.prototype.opt_out_tracking=C.prototype.opt_out_tracking;C.prototype.opt_in_tracking=C.prototype.opt_in_tracking;C.prototype.has_opted_out_tracking=C.prototype.has_opted_out_tracking;C.prototype.has_opted_in_tracking=C.prototype.has_opted_in_tracking;C.prototype.clear_opt_in_out_tracking=C.prototype.clear_opt_in_out_tracking;C.prototype.get_group=C.prototype.get_group;C.prototype.set_group=C.prototype.set_group;C.prototype.add_group=C.prototype.add_group;C.prototype.remove_group=C.prototype.remove_group;C.prototype.add_hook=C.prototype.add_hook;C.prototype.remove_hook=C.prototype.remove_hook;C.prototype.track_with_groups=C.prototype.track_with_groups;C.prototype.start_batch_senders=C.prototype.start_batch_senders;C.prototype.stop_batch_senders=C.prototype.stop_batch_senders;C.prototype.start_session_recording=C.prototype.start_session_recording;C.prototype.stop_session_recording=C.prototype.stop_session_recording;C.prototype.pause_session_recording=C.prototype.pause_session_recording;C.prototype.resume_session_recording=C.prototype.resume_session_recording;C.prototype.get_session_recording_properties=C.prototype.get_session_recording_properties;C.prototype.get_session_replay_url=C.prototype.get_session_replay_url;C.prototype.get_tab_id=C.prototype.get_tab_id;C.prototype.DEFAULT_API_ROUTES=jl;C.prototype.__get_recorder=C.prototype.__get_recorder;U.prototype.properties=U.prototype.properties;U.prototype.update_search_keyword=U.prototype.update_search_keyword;U.prototype.update_referrer_info=U.prototype.update_referrer_info;U.prototype.get_cross_subdomain=U.prototype.get_cross_subdomain;U.prototype.clear=U.prototype.clear;var Zt={},Kg=function(){h.each(Zt,function(t,n){n!==Me&&(ye[n]=t)}),ye._=h},Xg=function(){ye.init=function(t,n,a){if(a)return ye[a]||(ye[a]=Zt[a]=Wa(t,n,a),ye[a]._loaded()),ye[a];var e=ye;Zt[Me]?e=Zt[Me]:t&&(e=Wa(t,n,Me),e._loaded(),Zt[Me]=e),ye=e,ii===Jg&&(A[Me]=ye),Kg()}},Qg=function(){function t(){t.done||(t.done=!0,Hl=!0,Gl=!1,h.each(Zt,function(e){e._dom_loaded()}))}function n(){try{B.documentElement.doScroll("left")}catch{setTimeout(n,1);return}t()}if(B.addEventListener)B.readyState==="complete"?t():B.addEventListener("DOMContentLoaded",t,!1);else if(B.attachEvent){B.attachEvent("onreadystatechange",t);var a=!1;try{a=A.frameElement===null}catch{}B.documentElement.doScroll&&a&&n()}h.register_event(A,"load",t,!0)};function ev(t){return Wl=t,ii=za,ye=new C,Xg(),ye.init(),Qg(),ye}function tv(t,n){n()}var av=ev(tv);export{av as m,iv as r};
|