@zeniai/web-cockpit-ui 1.14.83-dev → 1.14.84-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-BXgsd50c-BuCiUEId.js +21 -0
- package/dist/assets/AIPerformancePage-BdDTidCL-D-IQ6p36.js +539 -0
- package/dist/assets/AccountInfoPage-w0STaK9a-BfMIBiEJ.js +18 -0
- package/dist/assets/AccountInfoPageContent-CsuUhHXU-DgiU-I5H.js +149 -0
- package/dist/assets/AccountLockedInfoModal-iYb31wv7-CEyp2zKM.js +59 -0
- package/dist/assets/AccountReconDetailsDrawerPage-DmkLTIkW-DxChexc_.js +239 -0
- package/dist/assets/AccountRow-BObEIy6l-CsCw-i7a.js +298 -0
- package/dist/assets/AccountsPromoCardStack-B8gJFsYh-DpzT8FNB.js +207 -0
- package/dist/assets/AddAddressForCardDrawer-vOgzMYWA-Bo72mQ01.js +6 -0
- package/dist/assets/AddToWalletPage-BhphXgem-DR4-yAJW.js +344 -0
- package/dist/assets/AgingReportsPage-DEgupWct-SJsZmYxE.js +79 -0
- package/dist/assets/AllUserItems-S2DAZpO6-Zcx2jN6k.js +192 -0
- package/dist/assets/ApAgingDetailPage-CvDD8-s7-k2W-N5me.js +46 -0
- package/dist/assets/AppBasePage-C4z5I-xG-vGdvNBYI.js +71 -0
- package/dist/assets/AppDrawerContent-Dka5HlPs-BfBKKeHh.js +91 -0
- package/dist/assets/ApprovalRulesSettingsPage-BOJE5Fb_-DykJvECT.js +47 -0
- package/dist/assets/ArAgingChart-CJ7XKU9h-BSixtgVA.js +24 -0
- package/dist/assets/ArAgingDetailPage-ZjaiAH-C-DY8qSTjK.js +46 -0
- package/dist/assets/AttachmentView-Dg6PizI7-BzoqKbZ4.js +101 -0
- package/dist/assets/BankAccountSection-Chay7X-G-vPiVizDl.js +79 -0
- package/dist/assets/BankAccountWarningSection-CSChi1lw-BVD5BCv3.js +51 -0
- package/dist/assets/BankConnectionsSettingsPage-DJV7q1Kp-DcUIdQZo.js +425 -0
- package/dist/assets/BillDetailPage-DM06uZnD-BOk9lw2_.js +266 -0
- package/dist/assets/BillPayApprovalRuleDetailPage-MsPIxgUt-r4h6U7BK.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-BCoXLnmv-Aq-Dw7YV.js → BillPayApprovalRulesPage-BhDdco2x-B1oZ9jjD.js} +27 -27
- package/dist/assets/BillPayPromoPage-Dy-opG76-CZ2iWLB7.js +84 -0
- package/dist/assets/BillPaySetUpPage-DUvwWlaD-Bg_qNGFx.js +42 -0
- package/dist/assets/BillingSettingsPage-wj_sIJgc-Dy0iglvP.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DbC84oxR-CV4aNHIq.js +1 -0
- package/dist/assets/{BoxItem-B6Qj2tSj-aLWYhGMW.js → BoxItem-CdqDzfZN-BxmSstzM.js} +2 -2
- package/dist/assets/BusinessVerificationPage-BMtHNNcG-CKxF3KMp.js +138 -0
- package/dist/assets/CardNumberSubText-lh7fQJis-CKFkz1Hy.js +21 -0
- package/dist/assets/CashbackDetailPage-KRbsYA09-DzsJTodf.js +285 -0
- package/dist/assets/ChargeCardDetailPage--WP6KTfb-BgNGsK6v.js +1462 -0
- package/dist/assets/ChargeCardListPage-knAPmob6-CgVyQmJQ.js +412 -0
- package/dist/assets/ChargeCardListTable-DsfnKX3P-D0-TBhcC.js +711 -0
- package/dist/assets/ChargeCardPromoPage-C9610LtW-GRwSeJ82.js +222 -0
- package/dist/assets/ChargeCardSetupPage-Cy4JhjJW-BnQWcnli.js +36 -0
- package/dist/assets/ChargeCardStatementsPage-C7uS1jEO-7cO1LhgS.js +60 -0
- package/dist/assets/CheckDepositDrawerPage-TfiJwtqN-CwfCisTT.js +206 -0
- package/dist/assets/CollapsableReportTable-NYu8Bq-g-CCeLwwka.js +2844 -0
- package/dist/assets/CompanyOfficerDetailsSection-CiVliExW-DzmWuQm0.js +260 -0
- package/dist/assets/CompanyPassportCard-8zvCdmxt-CxjPiS1u.js +42 -0
- package/dist/assets/CompanyPassportPage-AS4N7oT2-Bv10VeId.js +574 -0
- package/dist/assets/CompleteProfile-Dj080UdJ-B2qMa6vk.js +52 -0
- package/dist/assets/ConfettiBurst-DcCUSSaX-yciACYT1.js +1 -0
- package/dist/assets/CreateOrEditVendorPage-flCFtC2N-Dsf2hlMT.js +281 -0
- package/dist/assets/CreditCardPaymentDrawerPage-BKvqMwnt-BuHB8ode.js +224 -0
- package/dist/assets/CurrencySelectField-ksMvik33-CjY_Sqhm.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-DPghXiES-Be3J744M.js → CustomerOnboardingActivationPage-DfT_gkE4-Dk7tFjjw.js} +12 -12
- package/dist/assets/CustomerOnboardingContainerPage-DZ9vkiEO-ah6dg727.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DImhzWZN-BU1ePL5b.js → CustomerOnboardingDetailPageSkeleton-DfOtXgss-1gud75px.js} +26 -26
- package/dist/assets/CustomerOnboardingNoStepsPage-61UorFvn-DF0b8zE7.js +66 -0
- package/dist/assets/CustomerOnboardingPage-C12XXjv0-mi5gJ6u3.js +107 -0
- package/dist/assets/CustomerOnboardingProductSuitePage-CTowHB2X-DUFAd8wB.js +202 -0
- package/dist/assets/Dashboard-2RpETnqH-Dgva4ZAW.js +1551 -0
- package/dist/assets/DashboardReportPage-DRRWpGiJ-Z6RP-3ZH.js +371 -0
- package/dist/assets/DashboardSidebarBackgroundAnimation-0cCKM3E9-DV5Ukn4W.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-C36JnddA-CD1u3HOE.js → DepositAccTransactionItem-DjbheijR-B7o468tr.js} +11 -11
- package/dist/assets/DepositAccTransactionListPage-keSFBKDU-qnysSla9.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-DuKrVIAL-BzRIhYO3.js +21 -0
- package/dist/assets/DownloadOverlay-f6SOW8iK-DORigjXi.js +439 -0
- package/dist/assets/{DrawerPage-BdYS_9Mt-BL0llqyf.js → DrawerPage-BkIQ6mLJ-DU9u6eQ0.js} +21 -21
- package/dist/assets/EditPeoplePage-lZcM4Zfw-CzhpHcfF.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-WO3U-vVY-CTjbkhIP.js +865 -0
- package/dist/assets/EntityDetailPage-AP27Niqu-DwUEbyHL.js +18 -0
- package/dist/assets/EntitySummarySection-B6khdAJg-7W3j7WRI.js +149 -0
- package/dist/assets/ExpenseAutomationOverviewPage-CcTGou9x-D6xWlI6r.js +281 -0
- package/dist/assets/ExpenseAutomationPage-DEleaYKs-SFko_-SO.js +1650 -0
- package/dist/assets/ExpressPayPage-CLYzefaM-CHfIN-TO.js +168 -0
- package/dist/assets/{FeaturePreviewPage-Brau5064-B_mFzC9F.js → FeaturePreviewPage-T78A34---Cfgg_jhN.js} +4 -4
- package/dist/assets/FollowStepsSection-B_mTbqHf-CcoWV2SW.js +390 -0
- package/dist/assets/GlobalReviewListPage-XfxDC9vP-Bi-7QMiL.js +291 -0
- package/dist/assets/InformationCardStack-Buibt8cT-DzjFUhjp.js +31 -0
- package/dist/assets/InsightsCardStack-Cj5iIm_T-CnLFxYVI.js +79 -0
- package/dist/assets/InsightsSection-DuPqQb5Z-C8m7clcN.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-VZDSLMHK--2kEd_Ab.js +57 -0
- package/dist/assets/InternationalWireSwiftDetailsPage-BUa1svL--BjPRjytS.js +171 -0
- package/dist/assets/InternationalWireVerificationPage-C1qKNhqJ-D8-rYzvp.js +292 -0
- package/dist/assets/InviteFormPage-GPXu2hLn-Dlxczoo1.js +312 -0
- package/dist/assets/InvitePageListView-FEFeEFZJ-fGYpyL6r.js +739 -0
- package/dist/assets/InvitePeoplePage-C6E594rf-DZBpEScz.js +12 -0
- package/dist/assets/InvoiceUploadSection-uvB-_dyl-BnrUYuvf.js +140 -0
- package/dist/assets/IssueChargeCardPage-DSPlu840-3aXsgWJG.js +532 -0
- package/dist/assets/LabeledAddressValue-CzDn9ZY4-bnEz1Jxt.js +49 -0
- package/dist/assets/LabeledAddressValueField-C_8kPzjy-5OUHMeqd.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-LwfkGeF--D4JaYe7v.js +16 -0
- package/dist/assets/LabeledCreatableSingleSelectField-sEf-9BOE-pPbJFdXC.js +204 -0
- package/dist/assets/LabeledDocumentField-rGzXpShn-Cfh7MC5-.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-CIQk7Jhu-BODJHkfO.js +59 -0
- package/dist/assets/{LabeledText-iHeu8MCf-BqC7UtSs.js → LabeledText-Dc-697nR-dyJ4TshB.js} +10 -10
- package/dist/assets/LabeledUserSingleSelectWithSubtitlesField-B0D7IWfA-CLizobZu.js +229 -0
- package/dist/assets/LabeledZeniRolesDropDownField-BO8f1yqV-POb2k_D_.js +297 -0
- package/dist/assets/LinkJETransactionPage-DDSo8zJn-CupLOAYQ.js +98 -0
- package/dist/assets/LockCardPage-CvZcUUc8-B6VLJ-gr.js +623 -0
- package/dist/assets/LowBalancePopup-DJQCz0Ed-B8IDUNee.js +34 -0
- package/dist/assets/MagicLinkACHDetailsPage-CEtaoWk8-CST49L9m.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-qdgMQR3_-DWvT9O1j.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DNwtPZ-u-Bk0G3IwE.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-60TBVrSw-CKgQ4p6j.js +31 -0
- package/dist/assets/MagicLinkTitleSection-D2fXbnDV-CA6SEdmn.js +17 -0
- package/dist/assets/MailingDetailsSection-C6cVooC3-CCSD5vtq.js +21 -0
- package/dist/assets/{Menu-pyYbFxsT-C1MdlXRT.js → Menu-D_6Dje0H-Ar5SwcnV.js} +4 -4
- package/dist/assets/MyBankConnectionsSettingsPage-D2EPH9WZ-DhQP4OT2.js +110 -0
- package/dist/assets/MyPendingActivationChargeCardListPage-Bidsd2bk-DJBBvD6g.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BH2ZVQTk-DMG3qFrn.js +85 -0
- package/dist/assets/NavBarWithPicker-Cg2TZjBi-DZVc5NBz.js +30 -0
- package/dist/assets/NavigationArrow-CYserS2B-DdYPXfvg.js +47 -0
- package/dist/assets/{NavigationDots-DO5y6mdV-DGnlFBBn.js → NavigationDots-CT_oO_7z-Bt9KzB5Z.js} +3 -3
- package/dist/assets/NewGlobalMerchantPage-D3MQU5Sh-BUpZMSnV.js +160 -0
- package/dist/assets/{NoDataChart-C0lCeeVH-BiooJKO2.js → NoDataChart-BItQZAQ9-a5HKjWqu.js} +5 -5
- package/dist/assets/NoDataTable-R8OCdB2c-cDhvp6Rg.js +8 -0
- package/dist/assets/{NotFoundPage-DGkjOhKP-kjD5UcP7.js → NotFoundPage-DLHYdRdN-xXzpa00n.js} +9 -9
- package/dist/assets/NotificationSettingsPage-CIwxb6c9-FsYdgXX7.js +163 -0
- package/dist/assets/NotificationsListConfig-DSgUS0hE-mwmsOI0p.js +1 -0
- package/dist/assets/NotificationsPage-W5ZhprRe-DZn-eWsJ.js +685 -0
- package/dist/assets/OpExByVendorPage-DIi58wXa-nKCVWs3g.js +100 -0
- package/dist/assets/OverlayContainerPage-BsY9_22w-CFGZ7LWs.js +11 -0
- package/dist/assets/PandLWithForecastPage-BvMxFrqo-D4f9n7Zm.js +107 -0
- package/dist/assets/PaymentAccountSetupBillingAddressSection-kUAm-v-A-BSna9XIu.js +107 -0
- package/dist/assets/PeoplePage-CtnWc0LE-B3_lhERY.js +675 -0
- package/dist/assets/Preview-Bnbo8Nq1.js +1 -0
- package/dist/assets/ProductsCarousel-n0ZNrr7--DQIbkMZp.js +142 -0
- package/dist/assets/{PromoBaseCards-38oPeuBR-DNrev2WE.js → PromoBaseCards-CeS0HoCZ-CICve0tH.js} +25 -25
- package/dist/assets/QBOConnectionDialog-BxSTc99Z-DVq4lO-s.js +51 -0
- package/dist/assets/QBOSetupSection-FrO9rgct-B0n-bnvz.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BjtdatXs-DvpYlYpI.js +26 -0
- package/dist/assets/ReimbursementApprovalRulesPage-B0_FgpJf-BSGUtiNs.js +237 -0
- package/dist/assets/ReimbursementDetailPage-BWhPxHY--DgkbtFUt.js +314 -0
- package/dist/assets/ReimbursementPromoPage-CFG0yxOE-CNHt16Bv.js +84 -0
- package/dist/assets/ReimbursementSetUpPage-BmUdLEa9-uEaDyTyL.js +140 -0
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CkJqhXEf-B4qPeVNR.js +1 -0
- package/dist/assets/ReloadCard-CNKwqjPJ-C6w7GHJG.js +26 -0
- package/dist/assets/ReportTableViewSelector-B0DXgLgJ-B3X9gS-3.js +150 -0
- package/dist/assets/ReportsPage-C5iOQU55-DamkEztw.js +121 -0
- package/dist/assets/RevenueChart-C2CMFAQ--BirLMW85.js +280 -0
- package/dist/assets/ReviewDetailsPage-5vOZ0rd7-B41AzmWH.js +290 -0
- package/dist/assets/ReviewOverlay-BAG_6iyV-B2w-MEIV.js +152 -0
- package/dist/assets/RoleWithToolTip-GUYLjJwW-DVSFtUus.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-sPjMfOtt-m5JvZNFh.js +37 -0
- package/dist/assets/ScheduleDetailsPage-DI4C0o6b-B7Dooc-N.js +37 -0
- package/dist/assets/ScheduleSequenceTable-DhXwtG-x-C20E6-vV.js +324 -0
- package/dist/assets/ScreenRoutes-B_yySVlk.js +201 -0
- package/dist/assets/{SetUpAccountSection-DQMufunh-D76vpY_K.js → SetUpAccountSection-DOavnCkG-CmcaONdQ.js} +87 -87
- package/dist/assets/SignIn-DqrG5nEJ-8MVRrbiA.js +448 -0
- package/dist/assets/SignInScreen-CSh4OzXN.js +1 -0
- package/dist/assets/SpendManagementListViewPage-DHY_hZQm-C3jihmoK.js +123 -0
- package/dist/assets/SpendManagementPerTabPage-CoKTIQ2b-D2j2J6zW.js +754 -0
- package/dist/assets/SpendManagementSection-UkTY6qX0-CST6kY6m.js +230 -0
- package/dist/assets/StatementItem-Bx6mxa3U-C42zKfqY.js +31 -0
- package/dist/assets/StatementsPage-ULjFE30P-BGU6QX6B.js +58 -0
- package/dist/assets/{StatusSwitcher-BFs1Anoq-B4RP8Uzy.js → StatusSwitcher-DlBY_FC1-C1Bsm00T.js} +8 -8
- package/dist/assets/SubTabSwitcher-DjEElTWE-5Wo1Obau.js +58 -0
- package/dist/assets/SummaryCard-BNESDUnN-ChwTCNZM.js +1 -0
- package/dist/assets/TaskManagementPage-BFF3ATPV-BYvPz4hv.js +508 -0
- package/dist/assets/TimeRangeSwitcher-xILz-EO6-DqqNb5IN.js +64 -0
- package/dist/assets/TimeframeSwitcher-CZhQm7rH-D5h04PEF.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-CduB3ZjN-PiqhKHhY.js +31 -0
- package/dist/assets/TopExCard-C_HWsAL1-DphCzqA5.js +38 -0
- package/dist/assets/TopExDetailPage-BEKo6juU-CUrrRqCk.js +132 -0
- package/dist/assets/TransactionDetailPage-Bzgtmi3U-DCXvClem.js +912 -0
- package/dist/assets/TransactionList-Dw78Q0Sx-BHAN7axA.js +147 -0
- package/dist/assets/TransactionListBig-BofakL17-k36ZTqo_.js +284 -0
- package/dist/assets/TransactionListPage-tpOg0ax5-aeL9weeE.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-BqIcXz6b-tGgvKqD0.js +80 -0
- package/dist/assets/TransferDrawerPage-DnnZBOyK-y1PDtTFY.js +362 -0
- package/dist/assets/TreasuryOverviewPage-C9ROzNHl-Cn6eazlN.js +708 -0
- package/dist/assets/TreasuryPromoPage--j_2YjQn-DHIwXCO0.js +505 -0
- package/dist/assets/TreasuryStatementsPage-BLrceDQm-vMicHzmk.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-BoqkgdLm-DAQeQUTC.js +58 -0
- package/dist/assets/TrendChart-KnFi8NXQ-DHzaDtQY.js +16 -0
- package/dist/assets/TrendWithTransactions-C_T0I9xe-DqS7m8LH.js +116 -0
- package/dist/assets/UncategorizedAccountsMappingPage-DOuzy2aS-DnfCgWVE.js +244 -0
- package/dist/assets/UnitIntegrationPage-DxhlNHvt-CHN5Qw88.js +67 -0
- package/dist/assets/UploadAdditionalDocumentOverlay-BAvSyhDW-D4KE1Kke.js +38 -0
- package/dist/assets/Vendor2FAPopup-BFjVFON8-Dl6jzAdP.js +1 -0
- package/dist/assets/VendorACHDetailsPage-8BG5DD-0-p3vm6zDD.js +1 -0
- package/dist/assets/VendorDetailPage-C16CrNJo-D86vTvj2.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-DXhugXZa-DeVAnksE.js +1 -0
- package/dist/assets/VendorFiling1099EditablePage-2QPpdbuN-ozpxZwEp.js +175 -0
- package/dist/assets/VendorFirstReviewPage-DLshEh_s-DbpLTolM.js +730 -0
- package/dist/assets/VendorInternationalWireDetailsPage-_WoNgw66-DANrlPFU.js +152 -0
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Dyt1ZPOh-DoVwF0sT.js +1 -0
- package/dist/assets/{VendorsAccountsSection-tcJAh1A7-COfHef35.js → VendorsAccountsSection-Dxq0YSgP-Bt8xoh_f.js} +8 -8
- package/dist/assets/VerifyDevice-DEwEqoHA-CylVN9FP.js +112 -0
- package/dist/assets/VideoPlayer-_1Msrww9-DaiS1R42.js +78 -0
- package/dist/assets/{VideoPopup-CPW65Ljn-Mlf95YHy.js → VideoPopup-BzQ_Dl9b-mwrODjDA.js} +4 -4
- package/dist/assets/WarningsDrawerPage-CMBST3p1-ujIyTaCb.js +92 -0
- package/dist/assets/ZeniAccountDetailPage-DVLYYC-q-DeZb5ud9.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-BHkoMOx5-CtDb7Bzx.js +441 -0
- package/dist/assets/ZeniAccountNavBarPieces-CCFzNOcx-CuAvs6Mv.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-C0xo5aaW-EZZNv-KJ.js → ZeniAccountPromoPage-C3Rl-hWL-DwIvVxTo.js} +42 -42
- package/dist/assets/ZeniAccountSetupPage-Bf1OOF0Q-DBu-8Ie5.js +36 -0
- package/dist/assets/ZeniCopyright-CdqD8vO4-DYRLQn9Q.js +1 -0
- package/dist/assets/ZeniTransferAmountSlider-BTudpQjV-CvoGRB0t.js +63 -0
- package/dist/assets/{add-to-wallet-D7W5Y5Hm-zBGkMLf1.js → add-to-wallet-DgdBD8_G-CmJT13gp.js} +1 -1
- package/dist/assets/agingReportHelper-ovKP-qSS-BPG0U4uX.js +1 -0
- package/dist/assets/{analytics-CeQu-r45.js → analytics-zoE7Zcxt.js} +1 -1
- package/dist/assets/{analyticsHelper-DQrzJx-G.js → analyticsHelper-D23HZgYu.js} +1 -1
- package/dist/assets/analyticsHelper-_u1yj9ge-DxpjUhrt.js +1 -0
- package/dist/assets/{arrow-south-east-round-D5pI7KCC-DyTRFc-f.js → arrow-south-east-round-PEovUgvH-7DsZUZDF.js} +1 -1
- package/dist/assets/{auto-transfer-rule-D1bNopxW-BXcmbJh5.js → auto-transfer-rule-mbafm5D3-iFkTgScT.js} +1 -1
- package/dist/assets/chartTypes-vQ8GTDEq-DTt3gea6.js +1 -0
- package/dist/assets/commonDimensions-znFHURNY-BydE4i8M.js +1 -0
- package/dist/assets/{core-tlHkQPPu.js → core-3dlyNYRL.js} +13 -13
- package/dist/assets/dash.all.min-Ba2vGpbn.js +21 -0
- package/dist/assets/detailCommon-DmLhlrjU-ShYTQ7m2.js +38 -0
- package/dist/assets/downloadPdf-CCUPfpyu-Cq1M0ik1.js +1 -0
- package/dist/assets/empty-CnIz-OQ7.js +1 -0
- package/dist/assets/empty-DeBX16Fq.js +1 -0
- package/dist/assets/{epic-CxjM8IKD.js → epic-vmWV05sm.js} +1 -1
- package/dist/assets/{getReferrerType-D1egX4iL-cWt5sFuQ.js → getReferrerType-DjPOy76W-Cm31g4vJ.js} +1 -1
- package/dist/assets/{gift-box-DZx81G9E-DbnUGiwi.js → gift-box-Cmt9OgIZ-CvUdutGd.js} +1 -1
- package/dist/assets/{graphic-no-data-l-CfhD7tYw-SmhQgAdh.js → graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-BWv8w-Qm-31atyJKo.js → graphic-no-data-net-burn-l-CzmycA0m-DcAe6xm4.js} +1 -1
- package/dist/assets/{handshake-D4b9T-E0-BvZJz7M_.js → handshake-BPg58FML-D7G7L1P7.js} +1 -1
- package/dist/assets/hls-BA0yQjS5.js +40 -0
- package/dist/assets/index-A3ojUHL_.js +1 -0
- package/dist/assets/index-BQbbCzKZ.js +1 -0
- package/dist/assets/index-CHOIEdDW.js +1 -0
- package/dist/assets/index-DQmBF4-D.js +3310 -0
- package/dist/assets/index-XNBiWrYj.js +29300 -0
- package/dist/assets/index-jNlf8Zjb.js +1 -0
- package/dist/assets/index-t8y498Dk.css +1 -0
- package/dist/assets/lexical-DPEnH3HH.js +21 -0
- package/dist/assets/{liveblocks-BrzOBACZ.js → liveblocks-DIep7fJd.js} +1 -1
- package/dist/assets/lottie-DEE24l2z.js +9 -0
- package/dist/assets/mapLoadingInProgressToTreeNode-Cw74bTou-BDMlWcL7.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CWFxnMpB-BCzyYlDf.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-JUrBuZAz-wZclqNi-.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-B2iYfeF3-B53qunPl.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CreSrgeo-D32OjiRY.js → mapTimeframeBalancesToTreeNode-BbQHYZk7-DpCyCcLg.js} +1 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BeqGSN9x-CoS9pLIE.js +1 -0
- package/dist/assets/mixin-D3UDm--6.js +43 -0
- package/dist/assets/mui-bYXq4XMS.js +25 -0
- package/dist/assets/{page-detail-L_-1iNMr-DCxtcaOg.js → page-detail-CWX5S47F-Bc8Xpsuq.js} +1 -1
- package/dist/assets/{radio-default-H1PowEcP-lvG8v5I_.js → radio-default-CiSgisfh-Clpw2LWj.js} +1 -1
- package/dist/assets/react-B5y9n_ef.js +17 -0
- package/dist/assets/react-B84192hO.js +32 -0
- package/dist/assets/react-BpmEXSTM.js +27 -0
- package/dist/assets/react-BuvI16A0.js +37 -0
- package/dist/assets/react-BvHTyLQY.js +29 -0
- package/dist/assets/react-CA3XI5Yc.js +16 -0
- package/dist/assets/react-Cz0zQhlY.js +31 -0
- package/dist/assets/react-Egsc5mMa.js +44 -0
- package/dist/assets/recharts-BHhx6CLo.js +73 -0
- package/dist/assets/{sentry-Dhk5jNhq.js → sentry-o6h_D-9x.js} +2 -2
- package/dist/assets/{shield-E_rJ2OWj-kTEIYW8Q.js → shield-DOlUxcFf-BXuToJ7O.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DeZfEmbT-vM-pgltN.js +1 -0
- package/dist/assets/toChartData-KibzV7pa-DRJVLoY0.js +1 -0
- package/dist/assets/{transaction-placeholder-BDef7K0p-Dqvh6We2.js → transaction-placeholder-CpOwZAMG-0pwHfQC6.js} +1 -1
- package/dist/assets/types-DyvtCprH-BcZYcgaq.js +1 -0
- package/dist/assets/uploadAttachment-U9nX0Ka9-1qW3wdO3.js +286 -0
- package/dist/assets/uploadReceipts-CDPM7zcb-DEOGBGdq.js +1 -0
- package/dist/assets/url-BdYIjepo.js +1 -0
- package/dist/assets/url-BxQKeS2R.js +6 -0
- package/dist/assets/useLongPress-GCK2COYQ-8uipnze8.js +1 -0
- package/dist/assets/{usp-line-4JsxsMjK-mCxwNowe.js → usp-line-BBd1wKwW-ClwDS-nj.js} +1 -1
- package/dist/assets/utils-uDUqNRFY.js +70 -0
- package/dist/assets/{zeni-epic-state-Bo1aGezX.js → zeni-epic-state-LPACxnXP.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-StkGXn1c-DnerZ6yw.js +0 -21
- package/dist/assets/AIPerformancePage-cGtd6TYJ-Cp-PQoT7.js +0 -539
- package/dist/assets/AccountInfoPage-BnHC_Y3E-ByMcEeMx.js +0 -18
- package/dist/assets/AccountInfoPageContent-9hQV-QKt-DIbr8exN.js +0 -149
- package/dist/assets/AccountLockedInfoModal-BS5pz9ze-B8_cH9pi.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-D_348I-1-wLi2j7Hz.js +0 -239
- package/dist/assets/AccountRow-DbyUdPZG-D3G-oWRQ.js +0 -298
- package/dist/assets/AccountsPromoCardStack-CeGcTU8h-CiwKEYdC.js +0 -207
- package/dist/assets/AddAddressForCardDrawer-D5EnX225-LqDDXshB.js +0 -6
- package/dist/assets/AddToWalletPage-D45TGyNS-FyEeS4ax.js +0 -344
- package/dist/assets/AgingReportsPage-Cxe-3oBx-BYtw6E86.js +0 -79
- package/dist/assets/AllUserItems-Cc_-o3gE-BoV9oLkk.js +0 -192
- package/dist/assets/ApAgingDetailPage-DoaKW48m-OHK-ezBl.js +0 -46
- package/dist/assets/AppBasePage-BUE60uZt-eqCd5DKr.js +0 -71
- package/dist/assets/AppDrawerContent-P20acbi4-B9KrqH0V.js +0 -91
- package/dist/assets/ApprovalRulesSettingsPage-C5KUTjie-BXW85Fbu.js +0 -47
- package/dist/assets/ArAgingChart-DIABTV5P-DnLiVsos.js +0 -24
- package/dist/assets/ArAgingDetailPage-CA4JP8HZ-DZ9wu-cb.js +0 -46
- package/dist/assets/Area-Sl30rGq6-WMXLxt2t.js +0 -1
- package/dist/assets/AreaChart-2AgE74bB-juQGB2-h.js +0 -1
- package/dist/assets/AttachmentView-DRBK6aiE-DxR-B_-8.js +0 -101
- package/dist/assets/BankAccountSection-CwPIXA5w-DE6FMEHD.js +0 -79
- package/dist/assets/BankAccountWarningSection-DGSw5Uvq-4-yHVJQf.js +0 -51
- package/dist/assets/BankConnectionsSettingsPage-bk8eOcuj-7VKzOuZH.js +0 -425
- package/dist/assets/BillDetailPage-CQ8iqo9y-D1hvEdQD.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-B8LMww_O-C3Z44ei8.js +0 -27
- package/dist/assets/BillPayPromoPage-CIUhDNjJ-D6Jrrfcx.js +0 -84
- package/dist/assets/BillPaySetUpPage-CrfwREgO-oxkPqY3f.js +0 -42
- package/dist/assets/BillingSettingsPage-CitBvGaR-nwEc2ngU.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-Cal9oN8I-BL6vOdpc.js +0 -1
- package/dist/assets/BusinessVerificationPage-aj1YPi-U-D08S06Tj.js +0 -138
- package/dist/assets/CardNumberSubText-COZ0PEHK-CGMTIPNh.js +0 -21
- package/dist/assets/CashbackDetailPage-BloaeO12-DkRvSRPk.js +0 -285
- package/dist/assets/ChargeCardDetailPage-CjW48x_w-DZEJnmps.js +0 -1462
- package/dist/assets/ChargeCardListPage-CiUoFBZq-BBkjDTTQ.js +0 -412
- package/dist/assets/ChargeCardListTable-BGdEyXLV-BJk1B__-.js +0 -711
- package/dist/assets/ChargeCardPromoPage-BYgvGdtQ-jQVVK6Po.js +0 -222
- package/dist/assets/ChargeCardSetupPage-B0L57e-5-DfN8lydv.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-CB76MDoV-B8r9tvXY.js +0 -60
- package/dist/assets/CheckDepositDrawerPage-Cr_oz-BZ-B8n362Tm.js +0 -206
- package/dist/assets/CollapsableReportTable-B3_in9eE-D8gjZt8q.js +0 -2844
- package/dist/assets/CompanyOfficerDetailsSection-K0bu4TF7-zO2jQ48g.js +0 -260
- package/dist/assets/CompanyPassportCard-Bn50f4y5-D-A9Krsj.js +0 -42
- package/dist/assets/CompanyPassportPage-CamFfvAV-lyA9J8un.js +0 -574
- package/dist/assets/CompleteProfile-2jFR92oO-DA0X1epS.js +0 -52
- package/dist/assets/ComposedChart-Cot0K7Et-DQrzoGG2.js +0 -1
- package/dist/assets/ConfettiBurst-D34cviSS-Z_WPGmrN.js +0 -1
- package/dist/assets/CreateOrEditVendorPage-Abz0ijRD-C8cSnLG_.js +0 -281
- package/dist/assets/CreditCardPaymentDrawerPage-BRcbxJYU-DxBcUp2U.js +0 -224
- package/dist/assets/CurrencySelectField-DR8cDrIS-TTiuldkA.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CiLsQ_pQ-BpWpryzi.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-B0y5uw1X-DTSY3wEk.js +0 -66
- package/dist/assets/CustomerOnboardingPage-BheJqVUY-DnAWhFCF.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-BaYYKqZ9-C13CIlQM.js +0 -202
- package/dist/assets/Dashboard-DJs11vgV-CqS9vdTt.js +0 -1551
- package/dist/assets/DashboardReportPage-CL0RrJ4A-FEfXS09v.js +0 -371
- package/dist/assets/DashboardSidebarBackgroundAnimation-DHlKExbg-wP92oaCm.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-Db5EpWjl-D4uYWawD.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-C_flRkmQ-DX47g_ws.js +0 -21
- package/dist/assets/DownloadOverlay-CLWNXGnb-DS0DZTJ1.js +0 -439
- package/dist/assets/EditPeoplePage-B7bjXrqC-Bm6qgPK0.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-BRYd6JMC-BudgCO3p.js +0 -865
- package/dist/assets/EntityDetailPage-B1aKw_1J-DOXQOxN6.js +0 -18
- package/dist/assets/EntitySummarySection-Cp-CFb9j-NVB6pHEa.js +0 -149
- package/dist/assets/ExpenseAutomationOverviewPage-C7tY6mua-BYHSgS-c.js +0 -281
- package/dist/assets/ExpenseAutomationPage-CeP8I1tB-C-mlsXcM.js +0 -1650
- package/dist/assets/ExpressPayPage-DYUtczg7-BDKERlx3.js +0 -168
- package/dist/assets/FollowStepsSection-Dhf67oqf-CptFWIJS.js +0 -390
- package/dist/assets/GlobalReviewListPage-C89Tsajc-e0Pd9wZo.js +0 -291
- package/dist/assets/InformationCardStack-BLD4XmMT-Dp1BbBqU.js +0 -31
- package/dist/assets/InsightsCardStack-CAwTWreO-DWsXatY7.js +0 -79
- package/dist/assets/InsightsSection-DJrMi3DN-DUYhJ5vl.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-LAjqcDLQ-BjUKkE_z.js +0 -57
- package/dist/assets/InternationalWireSwiftDetailsPage-_4BMP68N-DzpoTdAd.js +0 -171
- package/dist/assets/InternationalWireVerificationPage-BiDh0ost-o29PWd-q.js +0 -292
- package/dist/assets/InviteFormPage-DN2uvROT-Dfc30Liy.js +0 -312
- package/dist/assets/InvitePageListView-DDi1bLaG-BIsQyZAc.js +0 -739
- package/dist/assets/InvitePeoplePage-D4bsu9K1-CnzfbNDf.js +0 -12
- package/dist/assets/InvoiceUploadSection-BducuHAy-CwGoLvBS.js +0 -140
- package/dist/assets/IssueChargeCardPage-C2I9mUTD-8YcF3Lm8.js +0 -532
- package/dist/assets/LabeledAddressValue-mLMacnQu-BhboedQp.js +0 -49
- package/dist/assets/LabeledAddressValueField-C74ZzWQ3-j8ky07qz.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-D7yxgfu0-DldJVWKR.js +0 -16
- package/dist/assets/LabeledCreatableSingleSelectField-BoymBi06-CmNh4XiF.js +0 -204
- package/dist/assets/LabeledDocumentField-BEg2KNOF-CXhVMSrJ.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-B4_WiAaD-BNmJ6YJs.js +0 -59
- package/dist/assets/LabeledUserSingleSelectWithSubtitlesField-O_tz5mgs-3DtmJ9nC.js +0 -229
- package/dist/assets/LabeledZeniRolesDropDownField-DoF6cXd_-NHc4m6ED.js +0 -297
- package/dist/assets/LinkJETransactionPage-C1FL0hR6-BhDC9P29.js +0 -98
- package/dist/assets/LockCardPage-Do7WCHaW-DegBv6L_.js +0 -623
- package/dist/assets/LowBalancePopup-CEiTKqxT-F00svkBR.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-C7xvzxN5-Dc6R7yOX.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D8iNxVu6-BUAijWLq.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DNmvv77I-BpwPqLdA.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-BO-k4XK1-MGQVRHRk.js +0 -31
- package/dist/assets/MagicLinkTitleSection-CzGvBYzB-DMlmyXfy.js +0 -17
- package/dist/assets/MailingDetailsSection-C_TtoLpj-DODfBmzp.js +0 -21
- package/dist/assets/MyBankConnectionsSettingsPage-BP6RBO_Y-CehX8chf.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-CBwy21Ec-BLf4vWlb.js +0 -6
- package/dist/assets/MyProfileSettingsPage-yHoOgEgo-DBI4IsMo.js +0 -85
- package/dist/assets/NavBarWithPicker-FYZ2a05o-CmU_pgV6.js +0 -30
- package/dist/assets/NavigationArrow-DlO0Lww9-Ct543iDt.js +0 -47
- package/dist/assets/NewGlobalMerchantPage-FW6_Vbee-CfGEofWn.js +0 -160
- package/dist/assets/NoDataTable-Mkdamra1-CCnSaZtC.js +0 -8
- package/dist/assets/NotificationSettingsPage-BhlKl9Ll-BUY5FCkq.js +0 -163
- package/dist/assets/NotificationsListConfig-DsgxTfdY-t5wE01Ro.js +0 -1
- package/dist/assets/NotificationsPage-ZeNj-N6e-Bg1RwKL7.js +0 -685
- package/dist/assets/OpExByVendorPage-BFHzD656-CkhDsmtK.js +0 -100
- package/dist/assets/OverlayContainerPage-C0a1XRUE-Coei_22L.js +0 -11
- package/dist/assets/PandLWithForecastPage-Ccd2Dj3E-BSp6SVyg.js +0 -107
- package/dist/assets/PaymentAccountSetupBillingAddressSection-NPYLXD6--Bula2_j9.js +0 -107
- package/dist/assets/PeoplePage-Dzl5Uh33-C_9NQRDZ.js +0 -675
- package/dist/assets/Preview-Ciq7dXYi-CJfe3XpZ.js +0 -1
- package/dist/assets/ProductsCarousel-B7wcRg4N-MgqN7eQE.js +0 -142
- package/dist/assets/QBOConnectionDialog-Bn425Vnl-D7-SW8Tv.js +0 -51
- package/dist/assets/QBOSetupSection-BqbiJ_dk-CZU6Pjgx.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DmhPPX4d-DMO5czP7.js +0 -26
- package/dist/assets/ReimbursementApprovalRulesPage-DwaZeT8t-Ds2HMmHz.js +0 -237
- package/dist/assets/ReimbursementDetailPage-D2tg-yOT-C3XwZ7Pf.js +0 -314
- package/dist/assets/ReimbursementPromoPage-kn4Die2q-BNaLqm9R.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-D4FP9co3-fxCiVZhE.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-hhvxZzxC-BXtCzSIP.js +0 -1
- package/dist/assets/ReloadCard-CreyuBvN-CLMqgpFk.js +0 -26
- package/dist/assets/ReportTableViewSelector-BeCqfOU9-DQYZGv2r.js +0 -150
- package/dist/assets/ReportsPage-CZpFSu1Y-DlpOcAya.js +0 -121
- package/dist/assets/RevenueChart-CI7LXu5--DgnFQndd.js +0 -280
- package/dist/assets/ReviewDetailsPage-DaTETUBT-PWso5Dab.js +0 -290
- package/dist/assets/ReviewOverlay-De5_nrll-D6fwtyEd.js +0 -152
- package/dist/assets/RoleWithToolTip-CWH-iJqI-DmzPBpda.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-Bq9TnStX-DDHnOsNU.js +0 -37
- package/dist/assets/ScheduleDetailsPage-CkpwjK55-BLiF70NF.js +0 -37
- package/dist/assets/ScheduleSequenceTable-3IZuZOPj-CeUyJkl1.js +0 -324
- package/dist/assets/ScreenRoutes-B29orzq3.js +0 -206
- package/dist/assets/SignIn-xXGNpo08-CUzVPK00.js +0 -450
- package/dist/assets/SignInScreen-CDr9y3Na.js +0 -1
- package/dist/assets/SpendManagementListViewPage-BnfCoW19-BZB7Hw4I.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-CqbhJrUj-DTu-7Bk6.js +0 -754
- package/dist/assets/SpendManagementSection-ajHIu1O8-Cq9RGBsG.js +0 -230
- package/dist/assets/StatementItem-GE_8ctAq-DDQXsDRX.js +0 -31
- package/dist/assets/StatementsPage-C3NFPx6M-jgAzPQMr.js +0 -58
- package/dist/assets/SubTabSwitcher-D66ATBlk-cmQvyV1w.js +0 -58
- package/dist/assets/SummaryCard-Bm1IRZgD-Bll-orHR.js +0 -1
- package/dist/assets/Switch-0GHq7mOt-Dq45hGqf.js +0 -1
- package/dist/assets/TaskManagementPage-BGrBiImq-E6_WY2ZU.js +0 -508
- package/dist/assets/TimeRangeSwitcher-BLZFMJtQ-wzd2C_JZ.js +0 -66
- package/dist/assets/TimeframeSwitcher-BsjH-yMO-V_f8h8uY.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-Cu3G5WXl-BNaAKXj3.js +0 -31
- package/dist/assets/TopExCard-ZSEsgTG--BNm-M2ne.js +0 -38
- package/dist/assets/TopExDetailPage-0MGEdNiZ-CVCWUWVh.js +0 -132
- package/dist/assets/TransactionDetailPage-C7wPASNo-BTqu7QgN.js +0 -912
- package/dist/assets/TransactionList-Brm_EWed-DwQzznTi.js +0 -147
- package/dist/assets/TransactionListBig-Br5XrVkF-BW7DnMvS.js +0 -284
- package/dist/assets/TransactionListPage-BE_E_82V-SHPPjUOF.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-CtVIgF01-3kEoBcmO.js +0 -80
- package/dist/assets/TransferDrawerPage-CCKQSH2d-21ckGGxB.js +0 -362
- package/dist/assets/TreasuryOverviewPage-D7OhHT_I-DWU8OjtE.js +0 -708
- package/dist/assets/TreasuryPromoPage-ssGWinby-BKoFmxRZ.js +0 -505
- package/dist/assets/TreasuryStatementsPage-CB4g45eo-D4tAMGAJ.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-CixtQrG2-DyQ3GU2a.js +0 -58
- package/dist/assets/TrendChart-ZXja3Lv--B4yGBgeP.js +0 -16
- package/dist/assets/TrendWithTransactions-Bacaqvbc-CDzpSeHr.js +0 -116
- package/dist/assets/UncategorizedAccountsMappingPage-DgSFpzWV-Bo91RVO4.js +0 -244
- package/dist/assets/UnitIntegrationPage-B2KxkPGT-Cj7aVov9.js +0 -67
- package/dist/assets/UploadAdditionalDocumentOverlay-DCq4eMPQ-0xv-e5Z1.js +0 -38
- package/dist/assets/Vendor2FAPopup-DyQl5kF8-BPyop29n.js +0 -1
- package/dist/assets/VendorACHDetailsPage-NEsVAzoZ-DqBD51QK.js +0 -1
- package/dist/assets/VendorDetailPage-gDnCoaGz-Bq_C256n.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BeqPYONY-C4JA1J7T.js +0 -1
- package/dist/assets/VendorFiling1099EditablePage-UIV2Tn2v-dXlu2VP0.js +0 -175
- package/dist/assets/VendorFirstReviewPage-DiNHrTKs--rE1SgmE.js +0 -730
- package/dist/assets/VendorInternationalWireDetailsPage-X2xViJmq-BLoiZ84q.js +0 -152
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DUjY1sSV-xU4diICn.js +0 -1
- package/dist/assets/VerifyDevice-BpRkPdzL-DdjhGhQl.js +0 -112
- package/dist/assets/VideoPlayer-DVIeTdLq-CMw9Re6n.js +0 -78
- package/dist/assets/WarningsDrawerPage-DmT71mwN-DESwOtN_.js +0 -92
- package/dist/assets/ZeniAccountDetailPage-BDnKHtXx-DnCgg11y.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-D1I68D9x-zovkBtXJ.js +0 -441
- package/dist/assets/ZeniAccountNavBarPieces-2a3O6Mrv-CEltxOUL.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-BfUwEF_n-Cb98B4Sd.js +0 -36
- package/dist/assets/ZeniCopyright-DPuPyAW5-BSJS_xPn.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-CPHnjZJx-BmCI7vMf.js +0 -63
- package/dist/assets/__vite-browser-external-FmFgRqLi-FmFgRqLi.js +0 -1
- package/dist/assets/_baseUnset-WRwI4F7w-C17FI5GR.js +0 -1
- package/dist/assets/agingReportHelper-Cf__8gug-B4Tesv9Z.js +0 -1
- package/dist/assets/analyticsHelper-QM8g-I4_-BsSO6wHs.js +0 -1
- package/dist/assets/chartTypes-BADtYh4F-X-tWlUJq.js +0 -1
- package/dist/assets/commonDimensions-B2oTTz3C-DxkHqcKn.js +0 -1
- package/dist/assets/dash.all.min-UPr31zh1-ZEpa15jK.js +0 -21
- package/dist/assets/detailCommon-B2986coM-C1gDOjW1.js +0 -38
- package/dist/assets/downloadPdf-C0_jxUh_-bREzf3Cq.js +0 -1
- package/dist/assets/flatten-CIVR5K8J-DvOZeE7b.js +0 -1
- package/dist/assets/groupBy-LtwzERV9-C02NtlDV.js +0 -1
- package/dist/assets/hls-CsNM3rq8-NlJdpMmx.js +0 -40
- package/dist/assets/index-2CdI-B2B.js +0 -29301
- package/dist/assets/index-BR5-Z2ox.css +0 -1
- package/dist/assets/index-BYRTFU-W-YvTg_8TB.js +0 -3305
- package/dist/assets/lexical-l0sNRNKZ.js +0 -1
- package/dist/assets/lottie-B4xjt4lE.js +0 -1
- package/dist/assets/map-CnboTxlt-CZn0FfBt.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-wIyHFu9f-XNeJbueD.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CPOj7SUJ-C7GfKtaE.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-D35gt6vK-B3lOm-Wx.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cv8OFsQz-CIsvQJMh.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CJ8hkVjB-DOWHQg2-.js +0 -1
- package/dist/assets/mixin-XJuHfVsL-Dozz_ZkW.js +0 -43
- package/dist/assets/mui-kiGMfX4-.js +0 -25
- package/dist/assets/omit-5LZGrM3q-cCGLyNB9.js +0 -1
- package/dist/assets/orderBy-D3W4CDe6-BoPe-dQB.js +0 -1
- package/dist/assets/react-6Tvfe2S2-C3CHfLw_.js +0 -19
- package/dist/assets/react-B2-P-PS--DYmRygxV.js +0 -19
- package/dist/assets/react-CWXWcDMY-C8y3pdCP.js +0 -17
- package/dist/assets/react-CWt3gw2R-CPQu_93E.js +0 -21
- package/dist/assets/react-CvWP22DQ-DgwH1WE1.js +0 -7
- package/dist/assets/react-CytUn6Kg-Dh6LSVZI.js +0 -22
- package/dist/assets/react-DBTaojCw-BTbEMBGt.js +0 -6
- package/dist/assets/react-G6j-OGKl--ofewKrH.js +0 -34
- package/dist/assets/recharts-Diw77Kjb.js +0 -1
- package/dist/assets/remove-ADLCpWJf-CcDvT7jc.js +0 -1
- package/dist/assets/toCOABalancesWithID-C_Swao_b-2UkzUVnC.js +0 -1
- package/dist/assets/toChartData-DfujfQ7D-nillWsTs.js +0 -1
- package/dist/assets/types-DRnhtDPC-CEIiK5pR.js +0 -1
- package/dist/assets/uploadAttachment-Wnp0PZFn-CVVetHUv.js +0 -286
- package/dist/assets/uploadReceipts-BkHrFC8j-DevoCqHx.js +0 -1
- package/dist/assets/useFormControl-DPydD0oc-BkCU7DyG.js +0 -1
- package/dist/assets/useLongPress-7jtiD2hr-B6uZ6RFc.js +0 -1
- package/dist/assets/utils-BLUF9kAp.js +0 -70
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import{w as Le}from"./core-3dlyNYRL.js";import{g as ee}from"./mui-bYXq4XMS.js";/*! @vimeo/player v2.29.0 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function fe(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),t.push.apply(t,n)}return t}function he(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(t),!0).forEach(function(n){X(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):fe(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function R(){R=function(){return r};var r={},e=Object.prototype,t=e.hasOwnProperty,n=Object.defineProperty||function(l,c,d){l[c]=d.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function h(l,c,d){return Object.defineProperty(l,c,{value:d,enumerable:!0,configurable:!0,writable:!0}),l[c]}try{h({},"")}catch{h=function(c,d,M){return c[d]=M}}function o(l,c,d,M){var w=c&&c.prototype instanceof T?c:T,C=Object.create(w.prototype),A=new j(M||[]);return n(C,"_invoke",{value:v(l,d,A)}),C}function b(l,c,d){try{return{type:"normal",arg:l.call(c,d)}}catch(M){return{type:"throw",arg:M}}}r.wrap=o;var k={};function T(){}function P(){}function g(){}var _={};h(_,a,function(){return this});var O=Object.getPrototypeOf,N=O&&O(O(q([])));N&&N!==e&&t.call(N,a)&&(_=N);var m=g.prototype=T.prototype=Object.create(_);function p(l){["next","throw","return"].forEach(function(c){h(l,c,function(d){return this._invoke(c,d)})})}function f(l,c){function d(w,C,A,I){var F=b(l[w],l,C);if(F.type!=="throw"){var H=F.arg,U=H.value;return U&&typeof U=="object"&&t.call(U,"__await")?c.resolve(U.__await).then(function($){d("next",$,A,I)},function($){d("throw",$,A,I)}):c.resolve(U).then(function($){H.value=$,A(H)},function($){return d("throw",$,A,I)})}I(F.arg)}var M;n(this,"_invoke",{value:function(w,C){function A(){return new c(function(I,F){d(w,C,I,F)})}return M=M?M.then(A,A):A()}})}function v(l,c,d){var M="suspendedStart";return function(w,C){if(M==="executing")throw new Error("Generator is already running");if(M==="completed"){if(w==="throw")throw C;return ie()}for(d.method=w,d.arg=C;;){var A=d.delegate;if(A){var I=E(A,d);if(I){if(I===k)continue;return I}}if(d.method==="next")d.sent=d._sent=d.arg;else if(d.method==="throw"){if(M==="suspendedStart")throw M="completed",d.arg;d.dispatchException(d.arg)}else d.method==="return"&&d.abrupt("return",d.arg);M="executing";var F=b(l,c,d);if(F.type==="normal"){if(M=d.done?"completed":"suspendedYield",F.arg===k)continue;return{value:F.arg,done:d.done}}F.type==="throw"&&(M="completed",d.method="throw",d.arg=F.arg)}}}function E(l,c){var d=c.method,M=l.iterator[d];if(M===void 0)return c.delegate=null,d==="throw"&&l.iterator.return&&(c.method="return",c.arg=void 0,E(l,c),c.method==="throw")||d!=="return"&&(c.method="throw",c.arg=new TypeError("The iterator does not provide a '"+d+"' method")),k;var w=b(M,l.iterator,c.arg);if(w.type==="throw")return c.method="throw",c.arg=w.arg,c.delegate=null,k;var C=w.arg;return C?C.done?(c[l.resultName]=C.value,c.next=l.nextLoc,c.method!=="return"&&(c.method="next",c.arg=void 0),c.delegate=null,k):C:(c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,k)}function S(l){var c={tryLoc:l[0]};1 in l&&(c.catchLoc=l[1]),2 in l&&(c.finallyLoc=l[2],c.afterLoc=l[3]),this.tryEntries.push(c)}function y(l){var c=l.completion||{};c.type="normal",delete c.arg,l.completion=c}function j(l){this.tryEntries=[{tryLoc:"root"}],l.forEach(S,this),this.reset(!0)}function q(l){if(l){var c=l[a];if(c)return c.call(l);if(typeof l.next=="function")return l;if(!isNaN(l.length)){var d=-1,M=function w(){for(;++d<l.length;)if(t.call(l,d))return w.value=l[d],w.done=!1,w;return w.value=void 0,w.done=!0,w};return M.next=M}}return{next:ie}}function ie(){return{value:void 0,done:!0}}return P.prototype=g,n(m,"constructor",{value:g,configurable:!0}),n(g,"constructor",{value:P,configurable:!0}),P.displayName=h(g,s,"GeneratorFunction"),r.isGeneratorFunction=function(l){var c=typeof l=="function"&&l.constructor;return!!c&&(c===P||(c.displayName||c.name)==="GeneratorFunction")},r.mark=function(l){return Object.setPrototypeOf?Object.setPrototypeOf(l,g):(l.__proto__=g,h(l,s,"GeneratorFunction")),l.prototype=Object.create(m),l},r.awrap=function(l){return{__await:l}},p(f.prototype),h(f.prototype,u,function(){return this}),r.AsyncIterator=f,r.async=function(l,c,d,M,w){w===void 0&&(w=Promise);var C=new f(o(l,c,d,M),w);return r.isGeneratorFunction(c)?C:C.next().then(function(A){return A.done?A.value:C.next()})},p(m),h(m,s,"Generator"),h(m,a,function(){return this}),h(m,"toString",function(){return"[object Generator]"}),r.keys=function(l){var c=Object(l),d=[];for(var M in c)d.push(M);return d.reverse(),function w(){for(;d.length;){var C=d.pop();if(C in c)return w.value=C,w.done=!1,w}return w.done=!0,w}},r.values=q,j.prototype={constructor:j,reset:function(l){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(y),!l)for(var c in this)c.charAt(0)==="t"&&t.call(this,c)&&!isNaN(+c.slice(1))&&(this[c]=void 0)},stop:function(){this.done=!0;var l=this.tryEntries[0].completion;if(l.type==="throw")throw l.arg;return this.rval},dispatchException:function(l){if(this.done)throw l;var c=this;function d(F,H){return C.type="throw",C.arg=l,c.next=F,H&&(c.method="next",c.arg=void 0),!!H}for(var M=this.tryEntries.length-1;M>=0;--M){var w=this.tryEntries[M],C=w.completion;if(w.tryLoc==="root")return d("end");if(w.tryLoc<=this.prev){var A=t.call(w,"catchLoc"),I=t.call(w,"finallyLoc");if(A&&I){if(this.prev<w.catchLoc)return d(w.catchLoc,!0);if(this.prev<w.finallyLoc)return d(w.finallyLoc)}else if(A){if(this.prev<w.catchLoc)return d(w.catchLoc,!0)}else{if(!I)throw new Error("try statement without catch or finally");if(this.prev<w.finallyLoc)return d(w.finallyLoc)}}}},abrupt:function(l,c){for(var d=this.tryEntries.length-1;d>=0;--d){var M=this.tryEntries[d];if(M.tryLoc<=this.prev&&t.call(M,"finallyLoc")&&this.prev<M.finallyLoc){var w=M;break}}w&&(l==="break"||l==="continue")&&w.tryLoc<=c&&c<=w.finallyLoc&&(w=null);var C=w?w.completion:{};return C.type=l,C.arg=c,w?(this.method="next",this.next=w.finallyLoc,k):this.complete(C)},complete:function(l,c){if(l.type==="throw")throw l.arg;return l.type==="break"||l.type==="continue"?this.next=l.arg:l.type==="return"?(this.rval=this.arg=l.arg,this.method="return",this.next="end"):l.type==="normal"&&c&&(this.next=c),k},finish:function(l){for(var c=this.tryEntries.length-1;c>=0;--c){var d=this.tryEntries[c];if(d.finallyLoc===l)return this.complete(d.completion,d.afterLoc),y(d),k}},catch:function(l){for(var c=this.tryEntries.length-1;c>=0;--c){var d=this.tryEntries[c];if(d.tryLoc===l){var M=d.completion;if(M.type==="throw"){var w=M.arg;y(d)}return w}}throw new Error("illegal catch attempt")},delegateYield:function(l,c,d){return this.delegate={iterator:q(l),resultName:c,nextLoc:d},this.method==="next"&&(this.arg=void 0),k}},r}function de(r,e,t,n,i,a,u){try{var s=r[a](u),h=s.value}catch(o){t(o);return}s.done?e(h):Promise.resolve(h).then(n,i)}function W(r){return function(){var e=this,t=arguments;return new Promise(function(n,i){var a=r.apply(e,t);function u(h){de(a,n,i,u,s,"next",h)}function s(h){de(a,n,i,u,s,"throw",h)}u(void 0)})}}function ke(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function je(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,Me(n.key),n)}}function Pe(r,e,t){return e&&je(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function X(r,e,t){return e=Me(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Ie(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&J(r,e)}function Y(r){return Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Y(r)}function J(r,e){return J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},J(r,e)}function Te(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function K(r,e,t){return Te()?K=Reflect.construct.bind():K=function(i,a,u){var s=[null];s.push.apply(s,a);var h=Function.bind.apply(i,s),o=new h;return u&&J(o,u.prototype),o},K.apply(null,arguments)}function Fe(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function se(r){var e=typeof Map=="function"?new Map:void 0;return se=function(n){if(n===null||!Fe(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return K(n,arguments,Y(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),J(i,n)},se(r)}function Z(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function qe(r,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Z(r)}function Ve(r){var e=Te();return function(){var n=Y(r),i;if(e){var a=Y(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return qe(this,i)}}function De(r,e){if(typeof r!="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}function Me(r){var e=De(r,"string");return typeof e=="symbol"?e:String(e)}var Se=typeof ee<"u"&&{}.toString.call(ee)==="[object global]";function pe(r,e){return r.indexOf(e.toLowerCase())===0?r:"".concat(e.toLowerCase()).concat(r.substr(0,1).toUpperCase()).concat(r.substr(1))}function $e(r){return!!(r&&r.nodeType===1&&"nodeName"in r&&r.ownerDocument&&r.ownerDocument.defaultView)}function xe(r){return!isNaN(parseFloat(r))&&isFinite(r)&&Math.floor(r)==r}function z(r){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(r)}function Ce(r){var e=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return e.test(r)}function We(r){for(var e=(r||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),t=(e&&e[1]||"").replace("player.",""),n=[".videoji.hk",".vimeo.work",".videoji.cn"],i=0,a=n;i<a.length;i++){var u=a[i];if(t.endsWith(u))return t}return"vimeo.com"}function Oe(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.id,t=r.url,n=e||t;if(!n)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(xe(n))return"https://vimeo.com/".concat(n);if(z(n))return n.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(n,"” is not a vimeo.com url."))}var ve=function(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",u=typeof t=="string"?[t]:t;return u.forEach(function(s){e[i](s,n)}),{cancel:function(){return u.forEach(function(h){return e[a](h,n)})}}},ze=typeof Array.prototype.indexOf<"u",He=typeof window<"u"&&typeof window.postMessage<"u";if(!Se&&(!ze||!He))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var G=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof ee<"u"?ee:typeof self<"u"?self:{};function Be(r,e){return e={exports:{}},r(e,e.exports),e.exports}/*!
|
|
2
|
+
* weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
|
|
3
|
+
* https://github.com/polygonplanet/weakmap-polyfill
|
|
4
|
+
* Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/(function(r){if(r.WeakMap)return;var e=Object.prototype.hasOwnProperty,t=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),n=function(a,u,s){t?Object.defineProperty(a,u,{configurable:!0,writable:!0,value:s}):a[u]=s};r.WeakMap=function(){function a(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",s("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(a.prototype,"delete",function(o){if(u(this,"delete"),!i(o))return!1;var b=o[this._id];return b&&b[0]===o?(delete o[this._id],!0):!1}),n(a.prototype,"get",function(o){if(u(this,"get"),!!i(o)){var b=o[this._id];if(b&&b[0]===o)return b[1]}}),n(a.prototype,"has",function(o){if(u(this,"has"),!i(o))return!1;var b=o[this._id];return!!(b&&b[0]===o)}),n(a.prototype,"set",function(o,b){if(u(this,"set"),!i(o))throw new TypeError("Invalid value used as weak map key");var k=o[this._id];return k&&k[0]===o?(k[1]=b,this):(n(o,this._id,[o,b]),this)});function u(o,b){if(!i(o)||!e.call(o,"_id"))throw new TypeError(b+" method called on incompatible receiver "+typeof o)}function s(o){return o+"_"+h()+"."+h()}function h(){return Math.random().toString().substring(2)}return n(a,"_polyfill",!0),a}();function i(a){return Object(a)===a}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:G);var V=Be(function(r){/*! Native Promise Only
|
|
7
|
+
v0.8.1 (c) Kyle Simpson
|
|
8
|
+
MIT License: http://getify.mit-license.org
|
|
9
|
+
*/(function(t,n,i){n[t]=n[t]||i(),r.exports&&(r.exports=n[t])})("Promise",G,function(){var t,n,i,a=Object.prototype.toString,u=typeof setImmediate<"u"?function(p){return setImmediate(p)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(p,f,v,E){return Object.defineProperty(p,f,{value:v,writable:!0,configurable:E!==!1})}}catch{t=function(f,v,E){return f[v]=E,f}}i=function(){var p,f,v;function E(S,y){this.fn=S,this.self=y,this.next=void 0}return{add:function(y,j){v=new E(y,j),f?f.next=v:p=v,f=v,v=void 0},drain:function(){var y=p;for(p=f=n=void 0;y;)y.fn.call(y.self),y=y.next}}}();function s(m,p){i.add(m,p),n||(n=u(i.drain))}function h(m){var p,f=typeof m;return m!=null&&(f=="object"||f=="function")&&(p=m.then),typeof p=="function"?p:!1}function o(){for(var m=0;m<this.chain.length;m++)b(this,this.state===1?this.chain[m].success:this.chain[m].failure,this.chain[m]);this.chain.length=0}function b(m,p,f){var v,E;try{p===!1?f.reject(m.msg):(p===!0?v=m.msg:v=p.call(void 0,m.msg),v===f.promise?f.reject(TypeError("Promise-chain cycle")):(E=h(v))?E.call(v,f.resolve,f.reject):f.resolve(v))}catch(S){f.reject(S)}}function k(m){var p,f=this;if(!f.triggered){f.triggered=!0,f.def&&(f=f.def);try{(p=h(m))?s(function(){var v=new g(f);try{p.call(m,function(){k.apply(v,arguments)},function(){T.apply(v,arguments)})}catch(E){T.call(v,E)}}):(f.msg=m,f.state=1,f.chain.length>0&&s(o,f))}catch(v){T.call(new g(f),v)}}}function T(m){var p=this;p.triggered||(p.triggered=!0,p.def&&(p=p.def),p.msg=m,p.state=2,p.chain.length>0&&s(o,p))}function P(m,p,f,v){for(var E=0;E<p.length;E++)(function(y){m.resolve(p[y]).then(function(q){f(y,q)},v)})(E)}function g(m){this.def=m,this.triggered=!1}function _(m){this.promise=m,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function O(m){if(typeof m!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var p=new _(this);this.then=function(v,E){var S={success:typeof v=="function"?v:!0,failure:typeof E=="function"?E:!1};return S.promise=new this.constructor(function(j,q){if(typeof j!="function"||typeof q!="function")throw TypeError("Not a function");S.resolve=j,S.reject=q}),p.chain.push(S),p.state!==0&&s(o,p),S.promise},this.catch=function(v){return this.then(void 0,v)};try{m.call(void 0,function(v){k.call(p,v)},function(v){T.call(p,v)})}catch(f){T.call(p,f)}}var N=t({},"constructor",O,!1);return O.prototype=N,t(N,"__NPO__",0,!1),t(O,"resolve",function(p){var f=this;return p&&typeof p=="object"&&p.__NPO__===1?p:new f(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");E(p)})}),t(O,"reject",function(p){return new this(function(v,E){if(typeof v!="function"||typeof E!="function")throw TypeError("Not a function");E(p)})}),t(O,"all",function(p){var f=this;return a.call(p)!="[object Array]"?f.reject(TypeError("Not an array")):p.length===0?f.resolve([]):new f(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");var y=p.length,j=Array(y),q=0;P(f,p,function(l,c){j[l]=c,++q===y&&E(j)},S)})}),t(O,"race",function(p){var f=this;return a.call(p)!="[object Array]"?f.reject(TypeError("Not an array")):new f(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");P(f,p,function(j,q){E(q)},S)})}),O})}),D=new WeakMap;function Q(r,e,t){var n=D.get(r.element)||{};e in n||(n[e]=[]),n[e].push(t),D.set(r.element,n)}function te(r,e){var t=D.get(r.element)||{};return t[e]||[]}function re(r,e,t){var n=D.get(r.element)||{};if(!n[e])return!0;if(!t)return n[e]=[],D.set(r.element,n),!0;var i=n[e].indexOf(t);return i!==-1&&n[e].splice(i,1),D.set(r.element,n),n[e]&&n[e].length===0}function Ge(r,e){var t=te(r,e);if(t.length<1)return!1;var n=t.shift();return re(r,e,n),n}function Ue(r,e){var t=D.get(r);D.set(e,t),D.delete(r)}function ne(r){if(typeof r=="string")try{r=JSON.parse(r)}catch(e){return console.warn(e),{}}return r}function x(r,e,t){if(!(!r.element.contentWindow||!r.element.contentWindow.postMessage)){var n={method:e};t!==void 0&&(n.value=t);var i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(n=JSON.stringify(n)),r.element.contentWindow.postMessage(n,r.origin)}}function Qe(r,e){e=ne(e);var t=[],n;if(e.event){if(e.event==="error"){var i=te(r,e.data.method);i.forEach(function(u){var s=new Error(e.data.message);s.name=e.data.name,u.reject(s),re(r,e.data.method,u)})}t=te(r,"event:".concat(e.event)),n=e.data}else if(e.method){var a=Ge(r,e.method);a&&(t.push(a),n=e.value)}t.forEach(function(u){try{if(typeof u=="function"){u.call(r,n);return}u.resolve(n)}catch{}})}var Ye=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function _e(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ye.reduce(function(t,n){var i=r.getAttribute("data-vimeo-".concat(n));return(i||i==="")&&(t[n]=i===""?1:i),t},e)}function ce(r,e){var t=r.html;if(!e)throw new TypeError("An element must be provided");if(e.getAttribute("data-vimeo-initialized")!==null)return e.querySelector("iframe");var n=document.createElement("div");return n.innerHTML=t,e.appendChild(n.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function Ae(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return new Promise(function(n,i){if(!z(r))throw new TypeError("“".concat(r,"” is not a vimeo.com url."));var a=We(r),u="https://".concat(a,"/api/oembed.json?url=").concat(encodeURIComponent(r));for(var s in e)e.hasOwnProperty(s)&&(u+="&".concat(s,"=").concat(encodeURIComponent(e[s])));var h="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;h.open("GET",u,!0),h.onload=function(){if(h.status===404){i(new Error("“".concat(r,"” was not found.")));return}if(h.status===403){i(new Error("“".concat(r,"” is not embeddable.")));return}try{var o=JSON.parse(h.responseText);if(o.domain_status_code===403){ce(o,t),i(new Error("“".concat(r,"” is not embeddable.")));return}n(o)}catch(b){i(b)}},h.onerror=function(){var o=h.status?" (".concat(h.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(o,".")))},h.send()})}function Je(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,e=[].slice.call(r.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),t=function(i){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(i))};e.forEach(function(n){try{if(n.getAttribute("data-vimeo-defer")!==null)return;var i=_e(n),a=Oe(i);Ae(a,i,n).then(function(u){return ce(u,n)}).catch(t)}catch(u){t(u)}})}function Xe(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var e=function(n){if(z(n.origin)&&!(!n.data||n.data.event!=="spacechange")){for(var i=r.querySelectorAll("iframe"),a=0;a<i.length;a++)if(i[a].contentWindow===n.source){var u=i[a].parentElement;u.style.paddingBottom="".concat(n.data.data[0].bottom,"px");break}}};window.addEventListener("message",e)}}function Ke(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var e=function(n){if(z(n.origin)){var i=ne(n.data);if(!(!i||i.event!=="ready"))for(var a=r.querySelectorAll("iframe"),u=0;u<a.length;u++){var s=a[u],h=s.contentWindow===n.source;if(Ce(s.src)&&h){var o=new le(s);o.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",e)}}function Ze(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var e=function(i){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(i))},t=function(i){if(z(i.origin)){var a=ne(i.data);if(!(!a||a.event!=="ready"))for(var u=r.querySelectorAll("iframe"),s=function(){var b=u[h],k=b.contentWindow===i.source;if(Ce(b.src)&&k){var T=new le(b);T.getVideoId().then(function(P){var g=new RegExp("[?&]vimeo_t_".concat(P,"=([^&#]*)")).exec(window.location.href);if(g&&g[1]){var _=decodeURI(g[1]);T.setCurrentTime(_)}}).catch(e)}},h=0;h<u.length;h++)s()}};window.addEventListener("message",t)}}function et(){var r=function(){for(var n,i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],a=0,u=i.length,s={};a<u;a++)if(n=i[a],n&&n[1]in document){for(a=0;a<n.length;a++)s[i[0][a]]=n[a];return s}return!1}(),e={fullscreenchange:r.fullscreenchange,fullscreenerror:r.fullscreenerror},t={request:function(i){return new Promise(function(a,u){var s=function o(){t.off("fullscreenchange",o),a()};t.on("fullscreenchange",s),i=i||document.documentElement;var h=i[r.requestFullscreen]();h instanceof Promise&&h.then(s).catch(u)})},exit:function(){return new Promise(function(i,a){if(!t.isFullscreen){i();return}var u=function h(){t.off("fullscreenchange",h),i()};t.on("fullscreenchange",u);var s=document[r.exitFullscreen]();s instanceof Promise&&s.then(u).catch(a)})},on:function(i,a){var u=e[i];u&&document.addEventListener(u,a)},off:function(i,a){var u=e[i];u&&document.removeEventListener(u,a)}};return Object.defineProperties(t,{isFullscreen:{get:function(){return!!document[r.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[r.fullscreenEnabled]}}}),t}var tt={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},rt=function(r){Ie(t,r);var e=Ve(t);function t(n,i){var a,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;return ke(this,t),a=e.call(this),X(Z(a),"logger",void 0),X(Z(a),"speedAdjustment",0),X(Z(a),"adjustSpeed",function(){var h=W(R().mark(function o(b,k){var T;return R().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(a.speedAdjustment!==k){g.next=2;break}return g.abrupt("return");case 2:return g.next=4,b.getPlaybackRate();case 4:return g.t0=g.sent,g.t1=a.speedAdjustment,g.t2=g.t0-g.t1,g.t3=k,T=g.t2+g.t3,a.log("New playbackRate: ".concat(T)),g.next=12,b.setPlaybackRate(T);case 12:a.speedAdjustment=k;case 13:case"end":return g.stop()}},o)}));return function(o,b){return h.apply(this,arguments)}}()),a.logger=s,a.init(i,n,he(he({},tt),u)),a}return Pe(t,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var n=W(R().mark(function a(u,s,h){var o=this,b,k,T;return R().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,this.waitForTOReadyState(u,"open");case 2:if(h.role!=="viewer"){g.next=10;break}return g.next=5,this.updatePlayer(u,s,h);case 5:b=ve(u,"change",function(){return o.updatePlayer(u,s,h)}),k=this.maintainPlaybackPosition(u,s,h),this.addEventListener("disconnect",function(){k.cancel(),b.cancel()}),g.next=14;break;case 10:return g.next=12,this.updateTimingObject(u,s);case 12:T=ve(s,["seeked","play","pause","ratechange"],function(){return o.updateTimingObject(u,s)},"on","off"),this.addEventListener("disconnect",function(){return T.cancel()});case 14:case"end":return g.stop()}},a,this)}));function i(a,u,s){return n.apply(this,arguments)}return i}()},{key:"updateTimingObject",value:function(){var n=W(R().mark(function a(u,s){return R().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.t0=u,o.next=3,s.getCurrentTime();case 3:return o.t1=o.sent,o.next=6,s.getPaused();case 6:if(!o.sent){o.next=10;break}o.t2=0,o.next=13;break;case 10:return o.next=12,s.getPlaybackRate();case 12:o.t2=o.sent;case 13:o.t3=o.t2,o.t4={position:o.t1,velocity:o.t3},o.t0.update.call(o.t0,o.t4);case 16:case"end":return o.stop()}},a)}));function i(a,u){return n.apply(this,arguments)}return i}()},{key:"updatePlayer",value:function(){var n=W(R().mark(function a(u,s,h){var o,b,k;return R().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(o=u.query(),b=o.position,k=o.velocity,typeof b=="number"&&s.setCurrentTime(b),typeof k!="number"){P.next=25;break}if(k!==0){P.next=11;break}return P.next=6,s.getPaused();case 6:if(P.t0=P.sent,P.t0!==!1){P.next=9;break}s.pause();case 9:P.next=25;break;case 11:if(!(k>0)){P.next=25;break}return P.next=14,s.getPaused();case 14:if(P.t1=P.sent,P.t1!==!0){P.next=19;break}return P.next=18,s.play().catch(function(){var g=W(R().mark(function _(O){return R().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(!(O.name==="NotAllowedError"&&h.autoPlayMuted)){m.next=5;break}return m.next=3,s.setMuted(!0);case 3:return m.next=5,s.play().catch(function(p){return console.error("Couldn't play the video from TimingSrcConnector. Error:",p)});case 5:case"end":return m.stop()}},_)}));return function(_){return g.apply(this,arguments)}}());case 18:this.updatePlayer(u,s,h);case 19:return P.next=21,s.getPlaybackRate();case 21:if(P.t2=P.sent,P.t3=k,P.t2===P.t3){P.next=25;break}s.setPlaybackRate(k);case 25:case"end":return P.stop()}},a,this)}));function i(a,u,s){return n.apply(this,arguments)}return i}()},{key:"maintainPlaybackPosition",value:function(i,a,u){var s=this,h=u.allowedDrift,o=u.maxAllowedDrift,b=u.minCheckInterval,k=u.maxRateAdjustment,T=u.maxTimeToCatchUp,P=Math.min(T,Math.max(b,o))*1e3,g=function(){var O=W(R().mark(function N(){var m,p,f,v,E;return R().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(y.t0=i.query().velocity===0,y.t0){y.next=6;break}return y.next=4,a.getPaused();case 4:y.t1=y.sent,y.t0=y.t1===!0;case 6:if(!y.t0){y.next=8;break}return y.abrupt("return");case 8:return y.t2=i.query().position,y.next=11,a.getCurrentTime();case 11:if(y.t3=y.sent,m=y.t2-y.t3,p=Math.abs(m),s.log("Drift: ".concat(m)),!(p>o)){y.next=22;break}return y.next=18,s.adjustSpeed(a,0);case 18:a.setCurrentTime(i.query().position),s.log("Resync by currentTime"),y.next=29;break;case 22:if(!(p>h)){y.next=29;break}return f=p/T,v=k,E=f<v?(v-f)/2:v,y.next=28,s.adjustSpeed(a,E*Math.sign(m));case 28:s.log("Resync by playbackRate");case 29:case"end":return y.stop()}},N)}));return function(){return O.apply(this,arguments)}}(),_=setInterval(function(){return g()},P);return{cancel:function(){return clearInterval(_)}}}},{key:"log",value:function(i){var a;(a=this.logger)===null||a===void 0||a.call(this,"TimingSrcConnector: ".concat(i))}},{key:"waitForTOReadyState",value:function(i,a){return new Promise(function(u){var s=function h(){i.readyState===a?u():i.addEventListener("readystatechange",h,{once:!0})};s()})}}]),t}(se(EventTarget)),B=new WeakMap,ae=new WeakMap,L={},le=function(){function r(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(ke(this,r),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),typeof document<"u"&&typeof e=="string"&&(e=document.getElementById(e)),!$e(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var i=e.querySelector("iframe");i&&(e=i)}if(e.nodeName==="IFRAME"&&!z(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(B.has(e))return B.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var a=new V(function(s,h){if(t._onMessage=function(k){if(!(!z(k.origin)||t.element.contentWindow!==k.source)){t.origin==="*"&&(t.origin=k.origin);var T=ne(k.data),P=T&&T.event==="error",g=P&&T.data&&T.data.method==="ready";if(g){var _=new Error(T.data.message);_.name=T.data.name,h(_);return}var O=T&&T.event==="ready",N=T&&T.method==="ping";if(O||N){t.element.setAttribute("data-ready","true"),s();return}Qe(t,T)}},t._window.addEventListener("message",t._onMessage),t.element.nodeName!=="IFRAME"){var o=_e(e,n),b=Oe(o);Ae(b,o,e).then(function(k){var T=ce(k,e);return t.element=T,t._originalElement=e,Ue(e,T),B.set(t.element,t),k}).catch(h)}});if(ae.set(this,a),B.set(this.element,this),this.element.nodeName==="IFRAME"&&x(this,"ping"),L.isEnabled){var u=function(){return L.exit()};this.fullscreenchangeHandler=function(){L.isFullscreen?Q(t,"event:exitFullscreen",u):re(t,"event:exitFullscreen",u),t.ready().then(function(){x(t,"fullscreenchange",L.isFullscreen)})},L.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Pe(r,[{key:"callMethod",value:function(t){for(var n=this,i=arguments.length,a=new Array(i>1?i-1:0),u=1;u<i;u++)a[u-1]=arguments[u];if(t==null)throw new TypeError("You must pass a method name.");return new V(function(s,h){return n.ready().then(function(){Q(n,t,{resolve:s,reject:h}),x(n,t,a)}).catch(h)})}},{key:"get",value:function(t){var n=this;return new V(function(i,a){return t=pe(t,"get"),n.ready().then(function(){Q(n,t,{resolve:i,reject:a}),x(n,t)}).catch(a)})}},{key:"set",value:function(t,n){var i=this;return new V(function(a,u){if(t=pe(t,"set"),n==null)throw new TypeError("There must be a value to set.");return i.ready().then(function(){Q(i,t,{resolve:a,reject:u}),x(i,t,n)}).catch(u)})}},{key:"on",value:function(t,n){if(!t)throw new TypeError("You must pass an event name.");if(!n)throw new TypeError("You must pass a callback function.");if(typeof n!="function")throw new TypeError("The callback must be a function.");var i=te(this,"event:".concat(t));i.length===0&&this.callMethod("addEventListener",t).catch(function(){}),Q(this,"event:".concat(t),n)}},{key:"off",value:function(t,n){if(!t)throw new TypeError("You must pass an event name.");if(n&&typeof n!="function")throw new TypeError("The callback must be a function.");var i=re(this,"event:".concat(t),n);i&&this.callMethod("removeEventListener",t).catch(function(a){})}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=ae.get(this)||new V(function(n,i){i(new Error("Unknown player. Probably unloaded."))});return V.resolve(t)}},{key:"addCuePoint",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:n})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,n){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:n})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return L.isEnabled?L.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return L.isEnabled?L.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return L.isEnabled?V.resolve(L.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new V(function(n){if(ae.delete(t),B.delete(t.element),t._originalElement&&(B.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&t.element.nodeName==="IFRAME"&&t.element.parentNode&&(t.element.parentNode.parentNode&&t._originalElement&&t._originalElement!==t.element.parentNode?t.element.parentNode.parentNode.removeChild(t.element.parentNode):t.element.parentNode.removeChild(t.element)),t.element&&t.element.nodeName==="DIV"&&t.element.parentNode){t.element.removeAttribute("data-vimeo-initialized");var i=t.element.querySelector("iframe");i&&i.parentNode&&(i.parentNode.parentNode&&t._originalElement&&t._originalElement!==i.parentNode?i.parentNode.parentNode.removeChild(i.parentNode):i.parentNode.removeChild(i))}t._window.removeEventListener("message",t._onMessage),L.isEnabled&&L.off("fullscreenchange",t.fullscreenchangeHandler),n()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(t){return this.set("cameraProps",t)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return V.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"setColors",value:function(t){if(!Array.isArray(t))return new V(function(a,u){return u(new TypeError("Argument must be an array."))});var n=new V(function(a){return a(null)}),i=[t[0]?this.set("colorOne",t[0]):n,t[1]?this.set("colorTwo",t[1]):n,t[2]?this.set("colorThree",t[2]):n,t[3]?this.set("colorFour",t[3]):n];return V.all(i)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"setMuted",value:function(t){return this.set("muted",t)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(t){return this.set("quality",t)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}},{key:"setTimingSrc",value:function(){var e=W(R().mark(function n(i,a){var u=this,s;return R().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(i){o.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return o.next=4,this.ready();case 4:return s=new rt(this,i,a),x(this,"notifyTimingObjectConnect"),s.addEventListener("disconnect",function(){return x(u,"notifyTimingObjectDisconnect")}),o.abrupt("return",s);case 8:case"end":return o.stop()}},n,this)}));function t(n,i){return e.apply(this,arguments)}return t}()}]),r}();Se||(L=et(),Je(),Xe(),Ke(),Ze());const nt="https://player.vimeo.com/video",it="https://vimeo.com/event",at=/vimeo\.com\/(video\/|event\/)?(\d+)(?:\/([\w-]+))?/;function me(r,e={}){const t={src:ot(r,e),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return e.config&&(t["data-config"]=JSON.stringify(e.config)),`
|
|
10
|
+
<style>
|
|
11
|
+
:host {
|
|
12
|
+
display: inline-block;
|
|
13
|
+
min-width: 300px;
|
|
14
|
+
min-height: 150px;
|
|
15
|
+
position: relative;
|
|
16
|
+
}
|
|
17
|
+
iframe {
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 0;
|
|
20
|
+
left: 0;
|
|
21
|
+
}
|
|
22
|
+
:host(:not([controls])) {
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
}
|
|
25
|
+
</style>
|
|
26
|
+
<iframe${ut(t)}></iframe>
|
|
27
|
+
`}function ot(r,e){if(!r.src)return;let t=new URL(r.src);const n=r.src.match(at),i=n&&n[1],a=n&&n[2],u=t.searchParams.get("h")||void 0,s={controls:r.controls===""?null:0,autoplay:r.autoplay,loop:r.loop,muted:r.muted,playsinline:r.playsinline,preload:r.preload??"metadata",transparent:!1,autopause:r.autopause,h:u,...e.config};return i==="event/"?`${it}/${a}/embed?${ge(s)}`:`${nt}/${a}?${ge(s)}`}class Ne extends(globalThis.HTMLElement??class{}){static getTemplateHTML=me;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"];loadComplete=new ye;#l;#f;#p;#t=0;#r=NaN;#n=!1;#e=!this.autoplay;#o=1;#u=0;#i=0;#s=!1;#a=1;#h=NaN;#d=NaN;#c=null;constructor(){super(),this.#v("config")}requestFullscreen(){var e,t;return(t=(e=this.api)==null?void 0:e.requestFullscreen)==null?void 0:t.call(e)}exitFullscreen(){var e,t;return(t=(e=this.api)==null?void 0:e.exitFullscreen)==null?void 0:t.call(e)}requestPictureInPicture(){var e,t;return(t=(e=this.api)==null?void 0:e.requestPictureInPicture)==null?void 0:t.call(e)}exitPictureInPicture(){var e,t;return(t=(e=this.api)==null?void 0:e.exitPictureInPicture)==null?void 0:t.call(e)}get config(){return this.#c}set config(e){this.#c=e}async load(){var e;if(this.#l)return;const t=!this.#f;this.#f&&(this.loadComplete=new ye),this.#f=!0,await(this.#l=Promise.resolve()),this.#l=null,this.#t=0,this.#r=NaN,this.#n=!1,this.#e=!this.autoplay,this.#o=1,this.#u=0,this.#i=0,this.#s=!1,this.#a=1,this.#i=0,this.#h=NaN,this.#d=NaN,this.dispatchEvent(new Event("emptied"));let n=this.api;if(this.api=null,!this.src)return;this.dispatchEvent(new Event("loadstart"));const i={autoplay:this.autoplay,controls:this.controls,loop:this.loop,muted:this.defaultMuted,playsinline:this.playsInline,preload:this.preload??"metadata",transparent:!1,autopause:this.hasAttribute("autopause"),...this.#c},a=async()=>{this.#i=1,this.dispatchEvent(new Event("loadedmetadata")),this.api&&(this.#n=await this.api.getMuted(),this.#a=await this.api.getVolume(),this.dispatchEvent(new Event("volumechange")),this.#r=await this.api.getDuration(),this.dispatchEvent(new Event("durationchange"))),this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve()};if(this.#p){this.api=n,await this.api.loadVideo({...i,url:this.src}),await a(),await this.loadComplete;return}this.#p=!0;let u=(e=this.shadowRoot)==null?void 0:e.querySelector("iframe");t&&u&&(this.#c=JSON.parse(u.getAttribute("data-config")||"{}")),this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=me(ct(this.attributes),this),u=this.shadowRoot.querySelector("iframe")),this.api=new le(u);const s=document.createElement("video");this.textTracks=s.textTracks,this.api.getTextTracks().then(o=>{o.forEach(b=>{s.addTextTrack(b.kind,b.label,b.language)})}),this.textTracks.addEventListener("change",()=>{const o=Array.from(this.textTracks).find(b=>b.mode==="showing");o?this.api.enableTextTrack(o.language,o.kind):this.api.disableTextTrack()});const h=()=>{this.api.off("loaded",h),a()};this.api.on("loaded",h),this.api.on("bufferstart",()=>{this.#e&&(this.#e=!1,this.dispatchEvent(new Event("play"))),this.dispatchEvent(new Event("waiting"))}),this.api.on("play",()=>{this.#e&&(this.#e=!1,this.dispatchEvent(new Event("play")))}),this.api.on("playing",()=>{this.#i=3,this.#e=!1,this.dispatchEvent(new Event("playing"))}),this.api.on("seeking",()=>{this.#s=!0,this.dispatchEvent(new Event("seeking"))}),this.api.on("seeked",()=>{this.#s=!1,this.dispatchEvent(new Event("seeked"))}),this.api.on("pause",()=>{this.#e=!0,this.dispatchEvent(new Event("pause"))}),this.api.on("ended",()=>{this.#e=!0,this.dispatchEvent(new Event("ended"))}),this.api.on("ratechange",({playbackRate:o})=>{this.#o=o,this.dispatchEvent(new Event("ratechange"))}),this.api.on("volumechange",async({volume:o})=>{this.#a=o,this.api&&(this.#n=await this.api.getMuted()),this.dispatchEvent(new Event("volumechange"))}),this.api.on("durationchange",({duration:o})=>{this.#r=o,this.dispatchEvent(new Event("durationchange"))}),this.api.on("timeupdate",({seconds:o})=>{this.#t=o,this.dispatchEvent(new Event("timeupdate"))}),this.api.on("progress",({seconds:o})=>{this.#u=o,this.dispatchEvent(new Event("progress"))}),this.api.on("resize",({videoWidth:o,videoHeight:b})=>{this.#h=o,this.#d=b,this.dispatchEvent(new Event("resize"))}),await this.loadComplete}async attributeChangedCallback(e,t,n){if(t!==n){switch(e){case"autoplay":case"controls":case"src":{this.load();return}}switch(await this.loadComplete,e){case"loop":{this.api.setLoop(this.loop);break}}}}async play(){var e;this.#e=!1,this.dispatchEvent(new Event("play")),await this.loadComplete;try{await((e=this.api)==null?void 0:e.play())}catch(t){throw this.#e=!0,this.dispatchEvent(new Event("pause")),t}}async pause(){var e;return await this.loadComplete,(e=this.api)==null?void 0:e.pause()}get ended(){return this.#t>=this.#r}get seeking(){return this.#s}get readyState(){return this.#i}get videoWidth(){return this.#h}get videoHeight(){return this.#d}get src(){return this.getAttribute("src")}set src(e){this.src!=e&&this.setAttribute("src",e)}get paused(){return this.#e}get duration(){return this.#r}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(e){this.autoplay!=e&&this.toggleAttribute("autoplay",!!e)}get buffered(){return this.#u>0?we(0,this.#u):we()}get controls(){return this.hasAttribute("controls")}set controls(e){this.controls!=e&&this.toggleAttribute("controls",!!e)}get currentTime(){return this.#t}set currentTime(e){this.currentTime!=e&&(this.#t=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setCurrentTime(e).catch(()=>{})}))}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(e){this.defaultMuted!=e&&this.toggleAttribute("muted",!!e)}get loop(){return this.hasAttribute("loop")}set loop(e){this.loop!=e&&this.toggleAttribute("loop",!!e)}get muted(){return this.#n}set muted(e){this.muted!=e&&(this.#n=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setMuted(e).catch(()=>{})}))}get playbackRate(){return this.#o}set playbackRate(e){this.playbackRate!=e&&(this.#o=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setPlaybackRate(e).catch(()=>{})}))}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(e){this.playsInline!=e&&this.toggleAttribute("playsinline",!!e)}get poster(){return this.getAttribute("poster")}set poster(e){this.poster!=e&&this.setAttribute("poster",`${e}`)}get volume(){return this.#a}set volume(e){this.volume!=e&&(this.#a=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setVolume(e).catch(()=>{})}))}#v(e){if(Object.prototype.hasOwnProperty.call(this,e)){const t=this[e];delete this[e],this[e]=t}}}function ut(r){let e="";for(const t in r){const n=r[t];n===""?e+=` ${oe(t)}`:e+=` ${oe(t)}="${oe(`${n}`)}"`}return e}function oe(r){return r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}function ge(r){return String(new URLSearchParams(st(r)))}function st(r){let e={};for(let t in r){let n=r[t];n===!0||n===""?e[t]=1:n===!1?e[t]=0:n!=null&&(e[t]=n)}return e}function ct(r){let e={};for(let t of r)e[t.name]=t.value;return e}class ye extends Promise{constructor(e=()=>{}){let t,n;super((i,a)=>{e(i,a),t=i,n=a}),this.resolve=t,this.reject=n}}function we(r,e){return Array.isArray(r)?ue(r):r==null||e==null||r===0&&e===0?ue([[0,0]]):ue([[r,e]])}function ue(r){return Object.defineProperties(r,{start:{value:e=>r[e][0]},end:{value:e=>r[e][1]}}),r}globalThis.customElements&&!globalThis.customElements.get("vimeo-video")&&globalThis.customElements.define("vimeo-video",Ne);var lt=Ne,ft=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),ht={className:"class",htmlFor:"for"};function Re(r){return r.toLowerCase()}function be(r){if(typeof r=="boolean")return r?"":void 0;if(typeof r!="function"&&!(typeof r=="object"&&r!==null))return r}function dt({react:r,tagName:e,elementClass:t,events:n,displayName:i,defaultProps:a,toAttributeName:u=Re,toAttributeValue:s=be}){const h=Number.parseInt(r.version)>=19,o=r.forwardRef((b,k)=>{var T,P;const g=r.useRef(null),_=r.useRef(new Map),O={},N={},m={},p={};for(const[f,v]of Object.entries(b)){if(ft.has(f)){m[f]=v;continue}const E=u(ht[f]??f);if(t.prototype&&f in t.prototype&&!(f in(((T=globalThis.HTMLElement)==null?void 0:T.prototype)??{}))&&!((P=t.observedAttributes)!=null&&P.some(y=>y===E))){p[f]=v;continue}if(f.startsWith("on")){O[f]=v;continue}const S=s(v);if(E&&S!=null&&(N[E]=String(S),h||(m[E]=S)),E&&h){const y=be(v);S!==y?m[E]=S:m[E]=v}}if(typeof window<"u"){for(const f in O){const v=O[f],E=f.endsWith("Capture"),S=(n?.[f]??f.slice(2).toLowerCase()).slice(0,E?-7:void 0);r.useLayoutEffect(()=>{const y=g?.current;if(!(!y||typeof v!="function"))return y.addEventListener(S,v,E),()=>{y.removeEventListener(S,v,E)}},[g?.current,v])}r.useLayoutEffect(()=>{if(g.current===null)return;const f=new Map;for(const v in p)Ee(g.current,v,p[v]),_.current.delete(v),f.set(v,p[v]);for(const[v,E]of _.current)Ee(g.current,v,void 0);_.current=f})}if(typeof window>"u"&&t?.getTemplateHTML&&t?.shadowRootOptions){const{mode:f,delegatesFocus:v}=t.shadowRootOptions,E=r.createElement("template",{shadowrootmode:f,shadowrootdelegatesfocus:v,dangerouslySetInnerHTML:{__html:t.getTemplateHTML(N,b)},key:"ce-la-react-ssr-template-shadow-root"});m.children=[E,m.children]}return r.createElement(e,{...a,...m,ref:r.useCallback(f=>{g.current=f,typeof k=="function"?k(f):k!==null&&(k.current=f)},[k])},m.children)});return o.displayName=i??t.name,o}function Ee(r,e,t){var n;r[e]=t,t==null&&e in(((n=globalThis.HTMLElement)==null?void 0:n.prototype)??{})&&r.removeAttribute(e)}var mt=dt({react:Le,tagName:"vimeo-video",elementClass:lt,toAttributeName(r){return r==="muted"?"":r==="defaultMuted"?"muted":Re(r)}});/*! Bundled license information:
|
|
28
|
+
|
|
29
|
+
ce-la-react/dist/ce-la-react.js:
|
|
30
|
+
(**
|
|
31
|
+
* @license
|
|
32
|
+
* Copyright 2018 Google LLC
|
|
33
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
34
|
+
*
|
|
35
|
+
* Modified version of `@lit/react` for vanilla custom elements with support for SSR.
|
|
36
|
+
*)
|
|
37
|
+
*/export{mt as default};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import{w as H}from"./core-3dlyNYRL.js";const D="https://www.tiktok.com/player/v1",O=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,d={INIT:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3},x={[d.INIT]:"emptied",[d.PAUSED]:"pause",[d.ENDED]:"ended",[d.PLAYING]:"play",[d.BUFFERING]:"waiting"};function N(o,t={}){const e={src:R(o,t),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; autoplay; fullscreen; encrypted-media; gyroscope; picture-in-picture"};return t.config&&(e["data-config"]=JSON.stringify(t.config)),`
|
|
2
|
+
<style>
|
|
3
|
+
:host {
|
|
4
|
+
display:inline-block;
|
|
5
|
+
min-width: 300px;
|
|
6
|
+
min-height: 150px;
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
iframe {
|
|
10
|
+
position:absolute;
|
|
11
|
+
top:0;
|
|
12
|
+
left:0;
|
|
13
|
+
width:100%;
|
|
14
|
+
height:100%;
|
|
15
|
+
border:0;
|
|
16
|
+
}
|
|
17
|
+
</style>
|
|
18
|
+
<iframe ${$(e)} title="TikTok video"></iframe>
|
|
19
|
+
`}function R(o,t={}){if(!o.src)return;const e=o.src.match(O),i=e&&e[1],a={controls:o.controls===""?null:0,autoplay:o.autoplay,muted:o.muted,loop:o.loop,rel:0,...t.config};return`${D}/${i}?${W(a)}`}class v extends(globalThis.HTMLElement??class{}){static getTemplateHTML=N;static shadowRootOptions={mode:"open"};static get observedAttributes(){return["src","controls","loop","autoplay","muted"]}loadComplete=new A;#s;#r;#e=!1;#n=0;#a=!0;#l=null;#o=100;#u=0;#i;constructor(){super(),this.#m("config")}async load(){if(this.#s)return;this.shadowRoot||this.attachShadow(v.shadowRootOptions);const t=!this.#r;if(this.#r&&(this.loadComplete=new A),this.#r=!0,await(this.#s=Promise.resolve()),this.#s=null,this.#n=0,this.#e=!1,this.#a=!0,!this.src){this.shadowRoot.innerHTML="",globalThis.removeEventListener("message",this.#c);return}let e=this.shadowRoot.querySelector("iframe");const i=F(this.attributes);t&&e&&(this.#l=JSON.parse(e.getAttribute("data-config")||"{}")),(!e?.src||e.src!==R(i,this))&&(this.shadowRoot.innerHTML=N(i,this),e=this.shadowRoot.querySelector("iframe")),this.#i=e,globalThis.addEventListener("message",this.#c)}async attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"muted":{await this.loadComplete,this.muted=i!=null;break}case"autoplay":case"controls":case"loop":case"src":{this.load();return}}}get config(){return this.#l}set config(t){this.#l=t}#c=t=>{var e;if(t.source!==((e=this.#i)==null?void 0:e.contentWindow))return;const i=t.data;if(i?.["x-tiktok-player"])switch(i.type){case"onPlayerReady":this.loadComplete.resolve();break;case"onStateChange":{this.#a=[d.INIT,d.PAUSED,d.ENDED].includes(i.value);const a=x[i.value];a&&this.dispatchEvent(new Event(a));break}case"onCurrentTime":this.#n=i.value.currentTime,this.#u=i.value.duration,this.dispatchEvent(new Event("durationchange")),this.dispatchEvent(new Event("timeupdate"));break;case"onVolumeChange":this.#o=i.value,this.dispatchEvent(new Event("volumechange"));break;case"onMute":this.#e=!!i.value,this.#o=i.value?0:this.#o,this.dispatchEvent(new Event("volumechange"));break;case"onError":this.dispatchEvent(new Event("error"));break;default:console.warn("Unhandled TikTok player message:",i);break}};#t(t,e){var i;if(!((i=this.#i)!=null&&i.contentWindow))return;const a={"x-tiktok-player":!0,type:t,...e!==void 0?{value:e}:{}};this.#i.contentWindow.postMessage(a,"*")}async play(){await this.loadComplete,this.#t("play")}async pause(){await this.loadComplete,this.#t("pause")}async#d(t){await this.loadComplete,this.#t("seekTo",Number(t))}async#h(){await this.loadComplete,this.#t("mute")}async#f(){await this.loadComplete,this.#t("unMute")}get volume(){return this.#o/100}set volume(t){console.warn("Volume control is not supported for TikTok videos.")}get currentTime(){return this.#n}set currentTime(t){this.#d(t)}get muted(){return this.#e}set muted(t){this.#e=t,t?this.#h():this.#f()}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(t){this.toggleAttribute("muted",!!t)}get paused(){return this.#a}get duration(){return this.#u}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",t??"")}#m(t){if(Object.prototype.hasOwnProperty.call(this,t)){const e=this[t];delete this[t],this[t]=e}}}class A extends Promise{constructor(t=()=>{}){let e,i;super((a,m)=>{t(a,m),e=a,i=m}),this.resolve=e,this.reject=i}}function F(o){let t={};for(let e of o)t[e.name]=e.value;return t}function U(o){let t={};for(let e in o){let i=o[e];i===!0||i===""?t[e]=1:i===!1?t[e]=0:i!=null&&(t[e]=i)}return t}function W(o){return String(new URLSearchParams(U(o)))}function $(o){let t="";for(const e in o){const i=o[e];i===""?t+=` ${w(e)}`:t+=` ${w(e)}="${w(`${i}`)}"`}return t}function w(o){return o.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}globalThis.customElements&&!globalThis.customElements.get("tiktok-video")&&globalThis.customElements.define("tiktok-video",v);var j=v,B=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),q={className:"class",htmlFor:"for"};function _(o){return o.toLowerCase()}function P(o){if(typeof o=="boolean")return o?"":void 0;if(typeof o!="function"&&!(typeof o=="object"&&o!==null))return o}function G({react:o,tagName:t,elementClass:e,events:i,displayName:a,defaultProps:m,toAttributeName:C=_,toAttributeValue:I=P}){const b=Number.parseInt(o.version)>=19,E=o.forwardRef((T,f)=>{var k,M;const l=o.useRef(null),g=o.useRef(new Map),y={},L={},u={},p={};for(const[s,r]of Object.entries(T)){if(B.has(s)){u[s]=r;continue}const n=C(q[s]??s);if(e.prototype&&s in e.prototype&&!(s in(((k=globalThis.HTMLElement)==null?void 0:k.prototype)??{}))&&!((M=e.observedAttributes)!=null&&M.some(h=>h===n))){p[s]=r;continue}if(s.startsWith("on")){y[s]=r;continue}const c=I(r);if(n&&c!=null&&(L[n]=String(c),b||(u[n]=c)),n&&b){const h=P(r);c!==h?u[n]=c:u[n]=r}}if(typeof window<"u"){for(const s in y){const r=y[s],n=s.endsWith("Capture"),c=(i?.[s]??s.slice(2).toLowerCase()).slice(0,n?-7:void 0);o.useLayoutEffect(()=>{const h=l?.current;if(!(!h||typeof r!="function"))return h.addEventListener(c,r,n),()=>{h.removeEventListener(c,r,n)}},[l?.current,r])}o.useLayoutEffect(()=>{if(l.current===null)return;const s=new Map;for(const r in p)S(l.current,r,p[r]),g.current.delete(r),s.set(r,p[r]);for(const[r,n]of g.current)S(l.current,r,void 0);g.current=s})}if(typeof window>"u"&&e?.getTemplateHTML&&e?.shadowRootOptions){const{mode:s,delegatesFocus:r}=e.shadowRootOptions,n=o.createElement("template",{shadowrootmode:s,shadowrootdelegatesfocus:r,dangerouslySetInnerHTML:{__html:e.getTemplateHTML(L,T)},key:"ce-la-react-ssr-template-shadow-root"});u.children=[n,u.children]}return o.createElement(t,{...m,...u,ref:o.useCallback(s=>{l.current=s,typeof f=="function"?f(s):f!==null&&(f.current=s)},[f])},u.children)});return E.displayName=a??e.name,E}function S(o,t,e){var i;o[t]=e,e==null&&t in(((i=globalThis.HTMLElement)==null?void 0:i.prototype)??{})&&o.removeAttribute(t)}var J=G({react:H,tagName:"tiktok-video",elementClass:j,toAttributeName(o){return o==="muted"?"":o==="defaultMuted"?"muted":_(o)}});/*! Bundled license information:
|
|
20
|
+
|
|
21
|
+
ce-la-react/dist/ce-la-react.js:
|
|
22
|
+
(**
|
|
23
|
+
* @license
|
|
24
|
+
* Copyright 2018 Google LLC
|
|
25
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
26
|
+
*
|
|
27
|
+
* Modified version of `@lit/react` for vanilla custom elements with support for SSR.
|
|
28
|
+
*)
|
|
29
|
+
*/export{J as default};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import{w as O}from"./core-3dlyNYRL.js";import{M as P,C as A}from"./mixin-D3UDm--6.js";import{H as h}from"./hls-BA0yQjS5.js";const x=t=>class extends t{static shadowRootOptions={...t.shadowRootOptions};static getTemplateHTML=(e,s={})=>{const{src:f,...T}=e;return`
|
|
2
|
+
<script type="application/json" id="config">
|
|
3
|
+
${JSON.stringify(s.config||{})}
|
|
4
|
+
<\/script>
|
|
5
|
+
${t.getTemplateHTML(T)}
|
|
6
|
+
`};#e=null;#t=null;constructor(){super(),this.#o("config")}get config(){return this.#t}set config(e){this.#t=e}attributeChangedCallback(e,s,f){e!=="src"&&super.attributeChangedCallback(e,s,f),e==="src"&&s!=f&&this.load()}#n(){var e,s;(e=this.#e)==null||e.remove(),(s=this.nativeEl)==null||s.removeEventListener("webkitcurrentplaybacktargetiswirelesschanged",this.#i),this.api&&(this.api.detachMedia(),this.api.destroy(),this.api=null)}async load(){var e,s;const f=!this.api;if(this.#n(),!!this.src){if(f&&!this.#t&&(this.#t=JSON.parse(((e=this.shadowRoot.getElementById("config"))==null?void 0:e.textContent)||"{}")),h.isSupported()){switch(await Promise.resolve(),this.api=new h({liveDurationInfinity:!0,autoStartLoad:!1,...this.config}),this.api.loadSource(this.src),this.api.attachMedia(this.nativeEl),this.nativeEl.preload){case"none":{const r=()=>this.api.startLoad();this.nativeEl.addEventListener("play",r,{once:!0}),this.api.on(h.Events.DESTROYING,()=>{this.nativeEl.removeEventListener("play",r)});break}case"metadata":{const r=this.api.config.maxBufferLength,o=this.api.config.maxBufferSize;this.api.config.maxBufferLength=1,this.api.config.maxBufferSize=1;const i=()=>{this.api.config.maxBufferLength=r,this.api.config.maxBufferSize=o};this.nativeEl.addEventListener("play",i,{once:!0}),this.api.on(h.Events.DESTROYING,()=>{this.nativeEl.removeEventListener("play",i)}),this.api.startLoad();break}default:this.api.startLoad()}this.nativeEl.webkitCurrentPlaybackTargetIsWireless&&this.api.stopLoad(),this.nativeEl.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",this.#i),this.#e=document.createElement("source"),this.#e.setAttribute("type","application/x-mpegURL"),this.#e.setAttribute("src",this.src),this.nativeEl.disableRemotePlayback=!1,this.nativeEl.append(this.#e);const T=new WeakMap;this.api.on(h.Events.MANIFEST_PARSED,(r,o)=>{this.nativeEl.autoplay&&this.nativeEl.paused&&this.nativeEl.play().catch(d=>{console.warn("Autoplay failed:",d)}),k();let i=this.videoTracks.getTrackById("main");i||(i=this.addVideoTrack("main"),i.id="main",i.selected=!0);for(const[d,l]of o.levels.entries()){const u=i.addRendition(l.url[0],l.width,l.height,l.videoCodec,l.bitrate);T.set(l,`${d}`),u.id=`${d}`}for(let[d,l]of o.audioTracks.entries()){const u=l.default?"main":"alternative",y=this.addAudioTrack(u,l.name,l.lang);y.id=`${d}`,l.default&&(y.enabled=!0)}}),this.audioTracks.addEventListener("change",()=>{var r;const o=+((r=[...this.audioTracks].find(d=>d.enabled))==null?void 0:r.id),i=this.api.audioTracks.map(d=>d.id);o!=this.api.audioTrack&&i.includes(o)&&(this.api.audioTrack=o)}),this.api.on(h.Events.LEVELS_UPDATED,(r,o)=>{const i=this.videoTracks[this.videoTracks.selectedIndex??0];if(!i)return;const d=o.levels.map(l=>T.get(l));for(const l of this.videoRenditions)l.id&&!d.includes(l.id)&&i.removeRendition(l)});let m=null;this.api.on(h.Events.ERROR,(r,o)=>{o.type===h.ErrorTypes.NETWORK_ERROR&&o.details===h.ErrorDetails.FRAG_LOAD_ERROR&&(m=o.frag.level)}),this.api.on(h.Events.LEVEL_SWITCHED,(r,o)=>{const i=o.level;m!==null&&i<m&&(console.warn(`⚠️ hls.js downgraded quality from level ${m} to ${i} due to fragment load failure.`),this.videoRenditions.selectedIndex=i,m=null)});const L=r=>{const o=r.target.selectedIndex;o!=this.api.nextLevel&&(this.api.nextLevel=o)};(s=this.videoRenditions)==null||s.addEventListener("change",L);const k=()=>{for(const r of this.videoTracks)this.removeVideoTrack(r);for(const r of this.audioTracks)this.removeAudioTrack(r)};this.api.once(h.Events.DESTROYING,k);return}await Promise.resolve(),this.nativeEl.canPlayType("application/vnd.apple.mpegurl")&&(this.nativeEl.src=this.src)}}#i=()=>{var e,s,f;(e=this.nativeEl)!=null&&e.webkitCurrentPlaybackTargetIsWireless?(s=this.api)==null||s.stopLoad():(f=this.api)==null||f.startLoad()};#o(e){if(Object.prototype.hasOwnProperty.call(this,e)){const s=this[e];delete this[e],this[e]=s}}},M=x(P(A));globalThis.customElements&&!globalThis.customElements.get("hls-video")&&globalThis.customElements.define("hls-video",M);var H=M,N=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),C={className:"class",htmlFor:"for"};function I(t){return t.toLowerCase()}function _(t){if(typeof t=="boolean")return t?"":void 0;if(typeof t!="function"&&!(typeof t=="object"&&t!==null))return t}function D({react:t,tagName:g,elementClass:e,events:s,displayName:f,defaultProps:T,toAttributeName:m=I,toAttributeValue:L=_}){const k=Number.parseInt(t.version)>=19,r=t.forwardRef((o,i)=>{var d,l;const u=t.useRef(null),y=t.useRef(new Map),w={},R={},v={},b={};for(const[n,a]of Object.entries(o)){if(N.has(n)){v[n]=a;continue}const c=m(C[n]??n);if(e.prototype&&n in e.prototype&&!(n in(((d=globalThis.HTMLElement)==null?void 0:d.prototype)??{}))&&!((l=e.observedAttributes)!=null&&l.some(E=>E===c))){b[n]=a;continue}if(n.startsWith("on")){w[n]=a;continue}const p=L(a);if(c&&p!=null&&(R[c]=String(p),k||(v[c]=p)),c&&k){const E=_(a);p!==E?v[c]=p:v[c]=a}}if(typeof window<"u"){for(const n in w){const a=w[n],c=n.endsWith("Capture"),p=(s?.[n]??n.slice(2).toLowerCase()).slice(0,c?-7:void 0);t.useLayoutEffect(()=>{const E=u?.current;if(!(!E||typeof a!="function"))return E.addEventListener(p,a,c),()=>{E.removeEventListener(p,a,c)}},[u?.current,a])}t.useLayoutEffect(()=>{if(u.current===null)return;const n=new Map;for(const a in b)S(u.current,a,b[a]),y.current.delete(a),n.set(a,b[a]);for(const[a,c]of y.current)S(u.current,a,void 0);y.current=n})}if(typeof window>"u"&&e?.getTemplateHTML&&e?.shadowRootOptions){const{mode:n,delegatesFocus:a}=e.shadowRootOptions,c=t.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:a,dangerouslySetInnerHTML:{__html:e.getTemplateHTML(R,o)},key:"ce-la-react-ssr-template-shadow-root"});v.children=[c,v.children]}return t.createElement(g,{...T,...v,ref:t.useCallback(n=>{u.current=n,typeof i=="function"?i(n):i!==null&&(i.current=n)},[i])},v.children)});return r.displayName=f??e.name,r}function S(t,g,e){var s;t[g]=e,e==null&&g in(((s=globalThis.HTMLElement)==null?void 0:s.prototype)??{})&&t.removeAttribute(g)}var j=D({react:O,tagName:"hls-video",elementClass:H,toAttributeName(t){return t==="muted"?"":t==="defaultMuted"?"muted":I(t)}});/*! Bundled license information:
|
|
7
|
+
|
|
8
|
+
ce-la-react/dist/ce-la-react.js:
|
|
9
|
+
(**
|
|
10
|
+
* @license
|
|
11
|
+
* Copyright 2018 Google LLC
|
|
12
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
+
*
|
|
14
|
+
* Modified version of `@lit/react` for vanilla custom elements with support for SSR.
|
|
15
|
+
*)
|
|
16
|
+
*/export{j as default};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import{w as W}from"./core-3dlyNYRL.js";const L="https://player.twitch.tv",x=/(?:www\.|go\.)?twitch\.tv\/(?:videos?\/|\?video=)(\d+)($|\?)/,U=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,N={IDLE:"Idle",ENDED:"Ended"},v={PAUSE:2,PLAY:3,SEEK:4,SET_MUTED:10,SET_VOLUME:11};function k(e,t={}){const i={src:D(e,t),frameborder:"0",width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; picture-in-picture;",sandbox:"allow-modals allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox",scrolling:"no"};return t.config&&(i["data-config"]=JSON.stringify(t.config)),`
|
|
2
|
+
<style>
|
|
3
|
+
:host {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
min-width: 300px;
|
|
6
|
+
min-height: 150px;
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
iframe {
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 0;
|
|
12
|
+
left: 0;
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
}
|
|
16
|
+
:host(:not([controls])) {
|
|
17
|
+
pointer-events: none;
|
|
18
|
+
}
|
|
19
|
+
</style>
|
|
20
|
+
<iframe${B(i)}></iframe>
|
|
21
|
+
`}function D(e,t){var i;if(!e.src)return;const s=e.src.match(x),l=e.src.match(U),u={parent:(i=globalThis.location)==null?void 0:i.hostname,controls:e.controls===""?null:!1,autoplay:e.autoplay===""?null:!1,muted:e.muted,preload:e.preload,...t.config};if(s){const r=s[1];return`${L}/?video=v${r}&${H(u)}`}else if(l){const r=l[1];return`${L}/?channel=${r}&${H(u)}`}return""}class $ extends(globalThis.HTMLElement??class{}){static getTemplateHTML=k;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","loop","muted","playsinline","preload","src"];loadComplete=new C;#o;#r;#e;#t={};#h=0;#a=!1;#l=1;#u=!this.autoplay;#s=!1;#n=0;#c=null;constructor(){super(),this.#f("config")}get config(){return this.#c}set config(t){this.#c=t}async load(){if(this.#o)return;this.shadowRoot||this.attachShadow({mode:"open"});const t=!this.#r;if(this.#r&&(this.loadComplete=new C),this.#r=!0,await(this.#o=Promise.resolve()),this.#o=null,this.#n=0,this.dispatchEvent(new Event("emptied")),!this.src){this.shadowRoot.innerHTML="",globalThis.removeEventListener("message",this.#d);return}this.dispatchEvent(new Event("loadstart"));let i=this.shadowRoot.querySelector("iframe");const s=j(this.attributes);t&&i&&(this.#c=JSON.parse(i.getAttribute("data-config")||"{}")),(!i?.src||i.src!==D(s,this))&&(this.shadowRoot.innerHTML=k(s,this),i=this.shadowRoot.querySelector("iframe")),this.#e=i,globalThis.addEventListener("message",this.#d)}attributeChangedCallback(t,i,s){if(i!==s)switch(t){case"src":case"controls":{this.load();break}}}getVideoPlaybackQuality(){return this.#t.stats.videoStats}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",t)}get readyState(){return this.#n}get seeking(){return this.#s}get buffered(){var t,i;return F(0,((i=(t=this.#t.stats)==null?void 0:t.videoStats)==null?void 0:i.bufferSize)??0)}get paused(){return this.#t.playback?this.#t.playback===N.IDLE:this.#u}get ended(){return this.#t.playback?this.#t.playback===N.ENDED:!1}get duration(){return this.#t.duration??NaN}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(t){this.autoplay!=t&&this.toggleAttribute("autoplay",!!t)}get controls(){return this.hasAttribute("controls")}set controls(t){this.controls!=t&&this.toggleAttribute("controls",!!t)}get currentTime(){return this.#t.currentTime?this.#t.currentTime:this.#h}set currentTime(t){this.#h=t,this.loadComplete.then(()=>{this.#i(v.SEEK,t)})}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(t){this.toggleAttribute("muted",!!t)}get loop(){return this.hasAttribute("loop")}set loop(t){this.toggleAttribute("loop",!!t)}get muted(){return this.#a}set muted(t){this.#a=t,this.loadComplete.then(()=>{this.#i(v.SET_MUTED,t)})}get volume(){return this.#l}set volume(t){this.#l=t,this.loadComplete.then(()=>{this.#i(v.SET_VOLUME,t)})}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(t){this.toggleAttribute("playsinline",!!t)}play(){this.#u=!1,this.#i(v.PLAY)}pause(){this.#u=!0,this.#i(v.PAUSE)}#d=async t=>{var i,s,l,u;if(!this.#e.contentWindow)return;const{data:r,source:b}=t;if(b===this.#e.contentWindow){if(r.namespace==="twitch-embed")await new Promise(p=>setTimeout(p,10)),r.eventName==="ready"?(this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve(),this.#n=1,this.dispatchEvent(new Event("loadedmetadata"))):r.eventName==="seek"?(this.#s=!0,this.dispatchEvent(new Event("seeking"))):r.eventName==="playing"?(this.#s&&(this.#s=!1,this.dispatchEvent(new Event("seeked"))),this.#n=3,this.dispatchEvent(new Event("playing"))):this.dispatchEvent(new Event(r.eventName));else if(r.namespace==="twitch-embed-player-proxy"&&r.eventName==="UPDATE_STATE"){const p=this.#t.duration,g=this.#t.currentTime,f=this.#t.volume,w=this.#t.muted,E=(s=(i=this.#t.stats)==null?void 0:i.videoStats)==null?void 0:s.bufferSize;this.#t={...this.#t,...r.params},p!==this.#t.duration&&this.dispatchEvent(new Event("durationchange")),g!==this.#t.currentTime&&this.dispatchEvent(new Event("timeupdate")),(f!==this.#t.volume||w!==this.#t.muted)&&(this.#t.volume!==void 0&&(this.#l=this.#t.volume),this.#t.muted!==void 0&&(this.#a=this.#t.muted),this.dispatchEvent(new Event("volumechange"))),E!==((u=(l=this.#t.stats)==null?void 0:l.videoStats)==null?void 0:u.bufferSize)&&this.dispatchEvent(new Event("progress"))}}};#i(t,i){if(!this.#e.contentWindow)return;const s={eventName:t,params:i,namespace:"twitch-embed-player-proxy"};this.#e.contentWindow.postMessage(s,L)}#f(t){if(Object.prototype.hasOwnProperty.call(this,t)){const i=this[t];delete this[t],this[t]=i}}}function j(e){let t={};for(let i of e)t[i.name]=i.value;return t}function B(e){let t="";for(const i in e){const s=e[i];s===""?t+=` ${M(i)}`:t+=` ${M(i)}="${M(`${s}`)}"`}return t}function M(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}function H(e){return String(new URLSearchParams(z(e)))}function z(e){let t={};for(let i in e){let s=e[i];s===!0||s===""?t[i]=!0:s===!1?t[i]=!1:s!=null&&(t[i]=s)}return t}class C extends Promise{constructor(t=()=>{}){let i,s;super((l,u)=>{t(l,u),i=l,s=u}),this.resolve=i,this.reject=s}}function F(e,t){return Array.isArray(e)?_(e):t==null||t===0?_([[0,0]]):_([[e,t]])}function _(e){return Object.defineProperties(e,{start:{value:t=>e[t][0]},end:{value:t=>e[t][1]}}),e}globalThis.customElements&&!globalThis.customElements.get("twitch-video")&&globalThis.customElements.define("twitch-video",$);var q=$,V=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),J={className:"class",htmlFor:"for"};function I(e){return e.toLowerCase()}function O(e){if(typeof e=="boolean")return e?"":void 0;if(typeof e!="function"&&!(typeof e=="object"&&e!==null))return e}function K({react:e,tagName:t,elementClass:i,events:s,displayName:l,defaultProps:u,toAttributeName:r=I,toAttributeValue:b=O}){const T=Number.parseInt(e.version)>=19,p=e.forwardRef((g,f)=>{var w,E;const c=e.useRef(null),A=e.useRef(new Map),S={},P={},h={},y={};for(const[n,o]of Object.entries(g)){if(V.has(n)){h[n]=o;continue}const a=r(J[n]??n);if(i.prototype&&n in i.prototype&&!(n in(((w=globalThis.HTMLElement)==null?void 0:w.prototype)??{}))&&!((E=i.observedAttributes)!=null&&E.some(m=>m===a))){y[n]=o;continue}if(n.startsWith("on")){S[n]=o;continue}const d=b(o);if(a&&d!=null&&(P[a]=String(d),T||(h[a]=d)),a&&T){const m=O(o);d!==m?h[a]=d:h[a]=o}}if(typeof window<"u"){for(const n in S){const o=S[n],a=n.endsWith("Capture"),d=(s?.[n]??n.slice(2).toLowerCase()).slice(0,a?-7:void 0);e.useLayoutEffect(()=>{const m=c?.current;if(!(!m||typeof o!="function"))return m.addEventListener(d,o,a),()=>{m.removeEventListener(d,o,a)}},[c?.current,o])}e.useLayoutEffect(()=>{if(c.current===null)return;const n=new Map;for(const o in y)R(c.current,o,y[o]),A.current.delete(o),n.set(o,y[o]);for(const[o,a]of A.current)R(c.current,o,void 0);A.current=n})}if(typeof window>"u"&&i?.getTemplateHTML&&i?.shadowRootOptions){const{mode:n,delegatesFocus:o}=i.shadowRootOptions,a=e.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:o,dangerouslySetInnerHTML:{__html:i.getTemplateHTML(P,g)},key:"ce-la-react-ssr-template-shadow-root"});h.children=[a,h.children]}return e.createElement(t,{...u,...h,ref:e.useCallback(n=>{c.current=n,typeof f=="function"?f(n):f!==null&&(f.current=n)},[f])},h.children)});return p.displayName=l??i.name,p}function R(e,t,i){var s;e[t]=i,i==null&&t in(((s=globalThis.HTMLElement)==null?void 0:s.prototype)??{})&&e.removeAttribute(t)}var Q=K({react:W,tagName:"twitch-video",elementClass:q,toAttributeName(e){return e==="muted"?"":e==="defaultMuted"?"muted":I(e)}});/*! Bundled license information:
|
|
22
|
+
|
|
23
|
+
ce-la-react/dist/ce-la-react.js:
|
|
24
|
+
(**
|
|
25
|
+
* @license
|
|
26
|
+
* Copyright 2018 Google LLC
|
|
27
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
28
|
+
*
|
|
29
|
+
* Modified version of `@lit/react` for vanilla custom elements with support for SSR.
|
|
30
|
+
*)
|
|
31
|
+
*/export{Q as default};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import{w as W}from"./core-3dlyNYRL.js";const $=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"],A=globalThis.document?.createElement("template");A&&(A.innerHTML=`
|
|
2
|
+
<style>
|
|
3
|
+
:host {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
line-height: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
video,
|
|
9
|
+
audio {
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
max-height: 100%;
|
|
12
|
+
min-width: 100%;
|
|
13
|
+
min-height: 100%;
|
|
14
|
+
}
|
|
15
|
+
</style>
|
|
16
|
+
<slot></slot>
|
|
17
|
+
`);const j=(e,{tag:i,is:o})=>{const d=globalThis.document?.createElement(i,{is:o}),c=d?S(d):[];return class g extends e{static Events=$;static template=A;static skipAttributes=[];static#s;static get observedAttributes(){return g.#l(),[...d?.constructor?.observedAttributes??[],"autopictureinpicture","disablepictureinpicture","disableremoteplayback","autoplay","controls","controlslist","crossorigin","loop","muted","playsinline","poster","preload","src"]}static#l(){if(this.#s)return;this.#s=!0;const t=new Set(this.observedAttributes);t.delete("muted");for(let s of c){if(s in this.prototype)continue;if(typeof d[s]=="function")this.prototype[s]=function(...r){this.#t();const a=()=>this.call?this.call(s,...r):this.nativeEl[s].apply(this.nativeEl,r);return this.loadComplete&&!this.isLoaded?this.loadComplete.then(a):a()};else{let r={get(){this.#t();let a=s.toLowerCase();if(t.has(a)){const p=this.getAttribute(a);return p===null?!1:p===""?!0:p}return this.get?.(s)??this.nativeEl?.[s]??this.#i[s]}};s!==s.toUpperCase()&&(r.set=async function(a){this.#t();let p=s.toLowerCase();if(t.has(p)){a===!0||a===!1||a==null?this.toggleAttribute(p,!!a):this.setAttribute(p,a);return}if(this.loadComplete&&!this.isLoaded&&await this.loadComplete,this.set){this.set(s,a);return}this.nativeEl[s]=a}),Object.defineProperty(this.prototype,s,r)}}}#o;#n;#r=!1;#e=!1;#a;#i;constructor(){super(),this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.append(this.constructor.template.content.cloneNode(!0))),this.load!==g.prototype.load&&(this.loadComplete=new O)}get loadComplete(){return this.#n}set loadComplete(t){this.#e=!1,this.#n=t,t?.then(()=>{this.#e=!0})}get isLoaded(){return this.#e}get nativeEl(){return this.#a??this.shadowRoot.querySelector(i)??this.querySelector(i)}set nativeEl(t){this.#a=t}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(t){this.toggleAttribute("muted",!!t)}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",`${t}`)}get preload(){return this.getAttribute("preload")??this.nativeEl?.preload}set preload(t){this.setAttribute("preload",`${t}`)}async#t(){if(this.#o)return;this.#o=!0,this.#u(),this.#c();for(let u of c)this.#d(u);const t=new Map,s=this.shadowRoot.querySelector("slot:not([name])");s?.addEventListener("slotchange",()=>{const u=new Map(t);s.assignedElements().filter(r=>["track","source"].includes(r.localName)).forEach(async r=>{u.delete(r);let a=t.get(r);a||(a=r.cloneNode(),t.set(r,a)),this.loadComplete&&!this.isLoaded&&await this.loadComplete,this.nativeEl.append?.(a)}),u.forEach(r=>r.remove())});for(let u of this.constructor.Events)this.shadowRoot.addEventListener?.(u,r=>{r.target===this.nativeEl&&this.dispatchEvent(new CustomEvent(r.type,{detail:r.detail}))},!0)}#d(t){if(Object.prototype.hasOwnProperty.call(this,t)){const s=this[t];delete this[t],this[t]=s}}#u(){const t=document.createElement(i,{is:o});t.muted=this.hasAttribute("muted");for(let{name:s,value:u}of this.attributes)t.setAttribute(s,u);this.#i={};for(let s of S(t))this.#i[s]=t[s];t.removeAttribute("src"),t.load()}async#c(){if(this.loadComplete&&!this.isLoaded&&await this.loadComplete,!this.nativeEl){const t=document.createElement(i,{is:o});t.part=i,this.shadowRoot.append(t)}this.nativeEl.muted=this.hasAttribute("muted")}attributeChangedCallback(t,s,u){this.#t(),t==="src"&&this.load!==g.prototype.load&&this.#h(),this.#p(t,s,u)}async#h(){this.#r&&(this.loadComplete=new O),this.#r=!0,await Promise.resolve(),await this.load(),this.loadComplete?.resolve(),await this.loadComplete}async#p(t,s,u){this.loadComplete&&!this.isLoaded&&await this.loadComplete,!["id","class",...this.constructor.skipAttributes].includes(t)&&(u===null?this.nativeEl.removeAttribute?.(t):this.nativeEl.setAttribute?.(t,u))}connectedCallback(){this.#t()}}};function S(e){let i=[];for(let o=Object.getPrototypeOf(e);o&&o!==HTMLElement.prototype;o=Object.getPrototypeOf(o))i.push(...Object.getOwnPropertyNames(o));return i}class O extends Promise{constructor(i=()=>{}){let o,d;super((c,f)=>{i(c,f),o=c,d=f}),this.resolve=o,this.reject=d}}const B=globalThis.document?j(HTMLElement,{tag:"video"}):class{};globalThis.document&&j(HTMLElement,{tag:"audio"});var H,R;const L=(H=globalThis.document)==null?void 0:H.createElement("template");L&&(L.innerHTML=`
|
|
18
|
+
<div class="wistia_embed"></div>
|
|
19
|
+
`);const M=(R=globalThis.document)==null?void 0:R.createElement("template");M&&(M.innerHTML=`
|
|
20
|
+
<style>
|
|
21
|
+
:host {
|
|
22
|
+
display: inline-block;
|
|
23
|
+
min-width: 300px;
|
|
24
|
+
min-height: 150px;
|
|
25
|
+
position: relative;
|
|
26
|
+
}
|
|
27
|
+
::slotted(.wistia_embed) {
|
|
28
|
+
position: absolute;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
}
|
|
32
|
+
</style>
|
|
33
|
+
<slot></slot>
|
|
34
|
+
`);class q extends B{static template=M;static skipAttributes=["src"];get nativeEl(){var i;return((i=this.api)==null?void 0:i.elem())??this.querySelector("video")}async load(){var i;if((i=this.querySelector(".wistia_embed"))==null||i.remove(),!this.src)return;await new Promise(s=>setTimeout(s,50));const o=/(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/i,d=this.src.match(o)[1],c={autoPlay:this.autoplay,preload:this.preload??"metadata",playsinline:this.playsInline,endVideoBehavior:this.loop&&"loop",chromeless:!this.controls,playButton:this.controls,muted:this.defaultMuted};this.append(L.content.cloneNode(!0));const f=this.querySelector(".wistia_embed");f.id||(f.id=U(d)),f.classList.add(`wistia_async_${d}`),await D("https://fast.wistia.com/assets/external/E-v1.js","Wistia"),this.api=await new Promise(s=>{globalThis._wq.push({id:f.id,onReady:s,options:c})})}async attributeChangedCallback(i,o,d){if(i==="controls"){switch(await this.loadComplete,i){case"controls":this.api.bigPlayButtonEnabled(this.controls),this.controls?this.api.releaseChromeless():this.api.requestChromeless();break}return}super.attributeChangedCallback(i,o,d)}get duration(){var i;return(i=this.api)==null?void 0:i.duration()}async play(){return await this.loadComplete,this.api.play(),new Promise(i=>this.addEventListener("playing",i))}}const T={};async function D(e,i){return T[e]?T[e]:self[i]?self[i]:T[e]=new Promise((o,d)=>{const c=document.createElement("script");c.defer=!0,c.src=e,c.onload=()=>o(self[i]),c.onerror=d,document.head.append(c)})}let F=0;function U(e){const i=++F;return`${e}${i}`}globalThis.customElements&&!globalThis.customElements.get("wistia-video")&&globalThis.customElements.define("wistia-video",q);var z=q,V=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),G={className:"class",htmlFor:"for"};function I(e){return e.toLowerCase()}function x(e){if(typeof e=="boolean")return e?"":void 0;if(typeof e!="function"&&!(typeof e=="object"&&e!==null))return e}function J({react:e,tagName:i,elementClass:o,events:d,displayName:c,defaultProps:f,toAttributeName:t=I,toAttributeValue:s=x}){const u=Number.parseInt(e.version)>=19,r=e.forwardRef((a,p)=>{var P,k;const m=e.useRef(null),E=e.useRef(new Map),C={},_={},v={},w={};for(const[n,l]of Object.entries(a)){if(V.has(n)){v[n]=l;continue}const h=t(G[n]??n);if(o.prototype&&n in o.prototype&&!(n in(((P=globalThis.HTMLElement)==null?void 0:P.prototype)??{}))&&!((k=o.observedAttributes)!=null&&k.some(b=>b===h))){w[n]=l;continue}if(n.startsWith("on")){C[n]=l;continue}const y=s(l);if(h&&y!=null&&(_[h]=String(y),u||(v[h]=y)),h&&u){const b=x(l);y!==b?v[h]=y:v[h]=l}}if(typeof window<"u"){for(const n in C){const l=C[n],h=n.endsWith("Capture"),y=(d?.[n]??n.slice(2).toLowerCase()).slice(0,h?-7:void 0);e.useLayoutEffect(()=>{const b=m?.current;if(!(!b||typeof l!="function"))return b.addEventListener(y,l,h),()=>{b.removeEventListener(y,l,h)}},[m?.current,l])}e.useLayoutEffect(()=>{if(m.current===null)return;const n=new Map;for(const l in w)N(m.current,l,w[l]),E.current.delete(l),n.set(l,w[l]);for(const[l,h]of E.current)N(m.current,l,void 0);E.current=n})}if(typeof window>"u"&&o?.getTemplateHTML&&o?.shadowRootOptions){const{mode:n,delegatesFocus:l}=o.shadowRootOptions,h=e.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:l,dangerouslySetInnerHTML:{__html:o.getTemplateHTML(_,a)},key:"ce-la-react-ssr-template-shadow-root"});v.children=[h,v.children]}return e.createElement(i,{...f,...v,ref:e.useCallback(n=>{m.current=n,typeof p=="function"?p(n):p!==null&&(p.current=n)},[p])},v.children)});return r.displayName=c??o.name,r}function N(e,i,o){var d;e[i]=o,o==null&&i in(((d=globalThis.HTMLElement)==null?void 0:d.prototype)??{})&&e.removeAttribute(i)}var Q=J({react:W,tagName:"wistia-video",elementClass:z,toAttributeName(e){return e==="muted"?"":e==="defaultMuted"?"muted":I(e)}});/*! Bundled license information:
|
|
35
|
+
|
|
36
|
+
ce-la-react/dist/ce-la-react.js:
|
|
37
|
+
(**
|
|
38
|
+
* @license
|
|
39
|
+
* Copyright 2018 Google LLC
|
|
40
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
+
*
|
|
42
|
+
* Modified version of `@lit/react` for vanilla custom elements with support for SSR.
|
|
43
|
+
*)
|
|
44
|
+
*/export{Q as default};
|