@webitel/ui-sdk 26.4.56 → 26.4.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-B8uu3HCG.js → index-Df3_k3NF.js} +1 -1
- package/dist/{index-rctF23bo.js → index-zWPKR1ZP.js} +1 -1
- package/dist/{install-CWTO-pUl.js → install-Sbp7aowq.js} +37 -37
- package/dist/{isObject-D-VfzobZ.js → isObject-ClehCu-l.js} +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +1 -1
- package/dist/{useVidstackSrc-CuVEfjHt.js → useVidstackSrc-ClO9wg8K.js} +1 -1
- package/dist/{vidstack-Bq6c3Bam-Cy2CxGIU.js → vidstack-Bq6c3Bam-BlM-7O48.js} +3 -3
- package/dist/{vidstack-D2pY00kU-CkuczmHF.js → vidstack-D2pY00kU-BtzWINpM.js} +3 -3
- package/dist/{vidstack-DDXt6fpN-Dzn05oCd.js → vidstack-DDXt6fpN-C5yRKA6_.js} +2 -2
- package/dist/{vidstack-D_-9AA6_-pcom8VxP.js → vidstack-D_-9AA6_-B95XIo3A.js} +2 -2
- package/dist/{vidstack-DqAw8m9J-Bu5RKaAM.js → vidstack-DqAw8m9J-DYmsrmBA.js} +1 -1
- package/dist/{vidstack-audio-CUprbLLi.js → vidstack-audio-CunZzuoA.js} +2 -2
- package/dist/{vidstack-dash-D_Dc0Q9b.js → vidstack-dash-CAayip9g.js} +4 -4
- package/dist/{vidstack-google-cast-ioFZMQ4m.js → vidstack-google-cast-BhQBxTy2.js} +4 -4
- package/dist/{vidstack-hls-CpuPBnp6.js → vidstack-hls-Bz2R-jGA.js} +4 -4
- package/dist/{vidstack-video-BoKxFvDa.js → vidstack-video-B5GT5ihH.js} +3 -3
- package/dist/{vidstack-vimeo-D_1_z3Ro.js → vidstack-vimeo-D5gofr3Q.js} +4 -4
- package/dist/{vidstack-youtube-aJmMeQgI.js → vidstack-youtube-DbpdP00r.js} +3 -3
- package/dist/{wt-action-bar-9zvLlAt-.js → wt-action-bar-K9OWJpOL.js} +1 -1
- package/dist/{wt-button-select-x9AAytVC.js → wt-button-select-DLTqAJeJ.js} +1 -1
- package/dist/{wt-call-media-action-D4435-Ke.js → wt-call-media-action-cLMdvpkk.js} +1 -1
- package/dist/{wt-chat-emoji-BaDigRYo.js → wt-chat-emoji-BMQfL9X3.js} +2 -2
- package/dist/{wt-confirm-dialog-Cqkb032H.js → wt-confirm-dialog-CvyV8msD.js} +1 -1
- package/dist/{wt-context-menu-BfQ2PKIT.js → wt-context-menu-CpZ2CzY0.js} +1 -1
- package/dist/{wt-copy-action-E7U1jVaj.js → wt-copy-action-C33Rf1SF.js} +1 -1
- package/dist/{wt-datepicker-_KueScup.js → wt-datepicker-CNFoZn3e.js} +1 -1
- package/dist/{wt-display-chip-items-CYMFBJgX.js → wt-display-chip-items-GWB6Q8dy.js} +1 -1
- package/dist/{wt-dual-panel-Ct8_taN9.js → wt-dual-panel-DmRI5XiN.js} +1 -1
- package/dist/{wt-dummy-C2aEuVqm.js → wt-dummy-Btmg48Xk.js} +1 -1
- package/dist/{wt-error-page-B7gPk7DD.js → wt-error-page-zL3IkviW.js} +1 -1
- package/dist/{wt-expansion-card-c6NOlFGJ.js → wt-expansion-card-CTzjc-1W.js} +1 -1
- package/dist/{wt-expansion-panel-uthnUrMd.js → wt-expansion-panel-D9yaIL8F.js} +1 -1
- package/dist/{wt-filters-panel-wrapper-BxBggj5F.js → wt-filters-panel-wrapper-BOBOOdd7.js} +1 -1
- package/dist/{wt-galleria-C7FfZ8_9.js → wt-galleria-BowpxD9N.js} +1 -1
- package/dist/{wt-inline-add-panel-CZbmrk-H.js → wt-inline-add-panel-BJyEtl_1.js} +1 -1
- package/dist/{wt-navigation-menu-CJA6HtI2.js → wt-navigation-menu-BA-D1Ftl.js} +1 -1
- package/dist/{wt-notifications-bar-C25Il3Nr.js → wt-notifications-bar-7YTH7-WG.js} +2 -2
- package/dist/{wt-pagination-32qDY1oa.js → wt-pagination-pL2i5l-m.js} +1 -1
- package/dist/{wt-player-C28zc2Uv.js → wt-player-B89hXXhe.js} +2 -2
- package/dist/{wt-screen-recordings-action-Ac7uh_ZK.js → wt-screen-recordings-action-DfKtQy3U.js} +1 -1
- package/dist/{wt-search-bar-Cd7LGTao.js → wt-search-bar-Ce09h1wL.js} +1 -1
- package/dist/{wt-selection-popup-DkJE4AOc.js → wt-selection-popup-DHk5d0XG.js} +1 -1
- package/dist/{wt-start-page-C-HrzciV.js → wt-start-page-B5tNQh7b.js} +1 -1
- package/dist/{wt-status-select-COi8eNE7.js → wt-status-select-BFVtbXHt.js} +1 -1
- package/dist/{wt-stepper-5luJYzx3.js → wt-stepper-Dch5zqwf.js} +1 -1
- package/dist/{wt-table-Be4iV5NL.js → wt-table-DZsynLod.js} +1 -1
- package/dist/{wt-table-actions-BUg3lMIr.js → wt-table-actions-B_wgsJiY.js} +1 -1
- package/dist/{wt-table-column-select-TYUbysDN.js → wt-table-column-select-D2niYDeI.js} +2 -2
- package/dist/{wt-tabs-DncYE6wM.js → wt-tabs-CUDtNLN7.js} +1 -1
- package/dist/{wt-tags-input-CjJfyyNS.js → wt-tags-input-Dp1kXte5.js} +2 -2
- package/dist/{wt-timepicker-BfShY4UJ.js → wt-timepicker-DvGBVwy0.js} +1 -1
- package/dist/{wt-tree-pMseCygd.js → wt-tree-B8O0F8aU.js} +2 -2
- package/dist/{wt-tree-table-7IVpIxuI.js → wt-tree-table-BWK5cUXK.js} +1 -1
- package/dist/{wt-type-extension-value-input-CTBNgZiS.js → wt-type-extension-value-input-CYzHcmqX.js} +4 -3
- package/dist/{wt-vidstack-player-DwVI19sF.js → wt-vidstack-player-BZfPWV-j.js} +10 -10
- package/package.json +1 -1
- package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +15 -14
- package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +1 -0
|
@@ -19476,81 +19476,81 @@ const a4 = {
|
|
|
19476
19476
|
};
|
|
19477
19477
|
}
|
|
19478
19478
|
}, tT = /* @__PURE__ */ Ze(eT, [["__scopeId", "data-v-72aa56d0"]]), nT = Te(
|
|
19479
|
-
() => import("./wt-action-bar-
|
|
19479
|
+
() => import("./wt-action-bar-K9OWJpOL.js")
|
|
19480
19480
|
), rT = Te(
|
|
19481
|
-
() => import("./wt-button-select-
|
|
19481
|
+
() => import("./wt-button-select-DLTqAJeJ.js")
|
|
19482
19482
|
), oT = Te(
|
|
19483
|
-
() => import("./wt-confirm-dialog-
|
|
19483
|
+
() => import("./wt-confirm-dialog-CvyV8msD.js")
|
|
19484
19484
|
), iT = Te(
|
|
19485
|
-
() => import("./wt-context-menu-
|
|
19485
|
+
() => import("./wt-context-menu-CpZ2CzY0.js")
|
|
19486
19486
|
), aT = Te(
|
|
19487
|
-
() => import("./wt-copy-action-
|
|
19487
|
+
() => import("./wt-copy-action-C33Rf1SF.js")
|
|
19488
19488
|
), lT = Te(
|
|
19489
|
-
() => import("./wt-datepicker-
|
|
19489
|
+
() => import("./wt-datepicker-CNFoZn3e.js")
|
|
19490
19490
|
), sT = Te(
|
|
19491
|
-
() => import("./wt-dual-panel-
|
|
19492
|
-
), cT = Te(() => import("./wt-dummy-
|
|
19493
|
-
() => import("./wt-error-page-
|
|
19491
|
+
() => import("./wt-dual-panel-DmRI5XiN.js")
|
|
19492
|
+
), cT = Te(() => import("./wt-dummy-Btmg48Xk.js")), dT = Te(
|
|
19493
|
+
() => import("./wt-error-page-zL3IkviW.js")
|
|
19494
19494
|
), uT = Te(
|
|
19495
|
-
() => import("./wt-expansion-panel-
|
|
19495
|
+
() => import("./wt-expansion-panel-D9yaIL8F.js")
|
|
19496
19496
|
), fT = Te(
|
|
19497
|
-
() => import("./wt-expansion-card-
|
|
19497
|
+
() => import("./wt-expansion-card-CTzjc-1W.js")
|
|
19498
19498
|
), pT = Te(
|
|
19499
|
-
() => import("./wt-filters-panel-wrapper-
|
|
19499
|
+
() => import("./wt-filters-panel-wrapper-BOBOOdd7.js")
|
|
19500
19500
|
), hT = Te(
|
|
19501
|
-
() => import("./wt-galleria-
|
|
19501
|
+
() => import("./wt-galleria-BowpxD9N.js")
|
|
19502
19502
|
), gT = Te(
|
|
19503
|
-
() => import("./wt-notifications-bar-
|
|
19503
|
+
() => import("./wt-notifications-bar-7YTH7-WG.js")
|
|
19504
19504
|
), mT = Te(
|
|
19505
19505
|
() => import("./wt-page-header-DdsnoLgd.js")
|
|
19506
19506
|
), bT = Te(
|
|
19507
|
-
() => import("./wt-pagination-
|
|
19507
|
+
() => import("./wt-pagination-pL2i5l-m.js")
|
|
19508
19508
|
), CT = Te(
|
|
19509
|
-
() => import("./wt-player-
|
|
19509
|
+
() => import("./wt-player-B89hXXhe.js")
|
|
19510
19510
|
), vT = Te(
|
|
19511
19511
|
() => import("./wt-popover-U7JE0uoX.js")
|
|
19512
19512
|
), yT = Te(
|
|
19513
|
-
() => import("./wt-search-bar-
|
|
19513
|
+
() => import("./wt-search-bar-Ce09h1wL.js")
|
|
19514
19514
|
), wT = Te(
|
|
19515
19515
|
() => import("./wt-slider-BEkw4KGp.js")
|
|
19516
19516
|
), xT = Te(
|
|
19517
|
-
() => import("./wt-status-select-
|
|
19517
|
+
() => import("./wt-status-select-BFVtbXHt.js")
|
|
19518
19518
|
), kT = Te(
|
|
19519
|
-
() => import("./wt-stepper-
|
|
19520
|
-
), ST = Te(() => import("./wt-table-
|
|
19521
|
-
() => import("./wt-table-actions-
|
|
19519
|
+
() => import("./wt-stepper-Dch5zqwf.js")
|
|
19520
|
+
), ST = Te(() => import("./wt-table-DZsynLod.js")), LT = Te(
|
|
19521
|
+
() => import("./wt-table-actions-B_wgsJiY.js")
|
|
19522
19522
|
), IT = Te(
|
|
19523
|
-
() => import("./wt-table-column-select-
|
|
19524
|
-
), ET = Te(() => import("./wt-tabs-
|
|
19525
|
-
() => import("./wt-tags-input-
|
|
19523
|
+
() => import("./wt-table-column-select-D2niYDeI.js")
|
|
19524
|
+
), ET = Te(() => import("./wt-tabs-CUDtNLN7.js")), OT = Te(
|
|
19525
|
+
() => import("./wt-tags-input-Dp1kXte5.js")
|
|
19526
19526
|
), $T = Te(
|
|
19527
19527
|
() => import("./wt-time-input-DYiW0ijt.js")
|
|
19528
19528
|
), AT = Te(
|
|
19529
|
-
() => import("./wt-timepicker-
|
|
19530
|
-
), BT = Te(() => import("./wt-tree-
|
|
19531
|
-
() => import("./wt-tree-table-
|
|
19529
|
+
() => import("./wt-timepicker-DvGBVwy0.js")
|
|
19530
|
+
), BT = Te(() => import("./wt-tree-B8O0F8aU.js")), MT = Te(
|
|
19531
|
+
() => import("./wt-tree-table-BWK5cUXK.js")
|
|
19532
19532
|
), TT = Te(
|
|
19533
|
-
() => import("./wt-vidstack-player-
|
|
19533
|
+
() => import("./wt-vidstack-player-BZfPWV-j.js").then((e) => e.w)
|
|
19534
19534
|
), _T = Te(
|
|
19535
|
-
() => import("./wt-call-media-action-
|
|
19535
|
+
() => import("./wt-call-media-action-cLMdvpkk.js")
|
|
19536
19536
|
), PT = Te(
|
|
19537
|
-
() => import("./wt-chat-emoji-
|
|
19537
|
+
() => import("./wt-chat-emoji-BMQfL9X3.js")
|
|
19538
19538
|
), RT = Te(
|
|
19539
|
-
() => import("./wt-display-chip-items-
|
|
19539
|
+
() => import("./wt-display-chip-items-GWB6Q8dy.js")
|
|
19540
19540
|
), DT = Te(
|
|
19541
|
-
() => import("./wt-navigation-menu-
|
|
19541
|
+
() => import("./wt-navigation-menu-BA-D1Ftl.js")
|
|
19542
19542
|
), FT = Te(
|
|
19543
|
-
() => import("./wt-selection-popup-
|
|
19543
|
+
() => import("./wt-selection-popup-DHk5d0XG.js")
|
|
19544
19544
|
), HT = Te(
|
|
19545
|
-
() => import("./wt-start-page-
|
|
19545
|
+
() => import("./wt-start-page-B5tNQh7b.js")
|
|
19546
19546
|
);
|
|
19547
19547
|
Te(
|
|
19548
|
-
() => import("./wt-type-extension-value-input-
|
|
19548
|
+
() => import("./wt-type-extension-value-input-CYzHcmqX.js")
|
|
19549
19549
|
);
|
|
19550
19550
|
const VT = Te(
|
|
19551
|
-
() => import("./wt-screen-recordings-action-
|
|
19551
|
+
() => import("./wt-screen-recordings-action-DfKtQy3U.js")
|
|
19552
19552
|
), NT = Te(
|
|
19553
|
-
() => import("./wt-inline-add-panel-
|
|
19553
|
+
() => import("./wt-inline-add-panel-BJyEtl_1.js")
|
|
19554
19554
|
), s4 = {
|
|
19555
19555
|
WtActionBar: nT,
|
|
19556
19556
|
WtImage: N6,
|
package/dist/ui-sdk.js
CHANGED
package/dist/ui-sdk.umd.cjs
CHANGED
|
@@ -9434,7 +9434,7 @@ and pagination metadata.`),e.object({thread_id:e.string(),member_id:e.string()})
|
|
|
9434
9434
|
- PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
|
|
9435
9435
|
- PROVIDER_STATUS_INACTIVE: Manually disabled by user
|
|
9436
9436
|
- PROVIDER_STATUS_ERROR: Connection or authentication failed`),updatedAt:e.string().optional(),wabaId:e.string().optional()}).optional()}).describe("/ ProviderUpdateWhatsAppGateResponse returns the updated WhatsApp provider."),e.object({thread_id_1:e.string()}),e.object({fields:e.array(e.string()).optional(),ids:e.array(e.string()).optional(),senderIds:e.array(e.string()).optional(),types:e.array(e.number()).optional(),domainId:e.number().optional(),cursorId:e.string().optional(),cursorBefore:e.boolean().optional(),size:e.number().optional()}),e.object({from:e.array(e.object({contactId:e.string().optional().describe("Contact ID of the thread member."),id:e.string().optional(),permissions:e.object({canAddMembers:e.boolean().optional(),canChangeMembersPermissions:e.boolean().optional(),canChangeThreadInfo:e.boolean().optional(),canRemoveMembers:e.boolean().optional(),canSendMessages:e.boolean().optional(),createdAt:e.string().optional(),id:e.string().optional(),memberId:e.string().optional(),threadId:e.string().optional(),updatedAt:e.string().optional()}).optional().describe("User rights in the thread, determined by their role."),role:e.enum(["ROLE_UNSPECIFIED","ROLE_MEMBER","ROLE_ADMIN","ROLE_OWNER","ROLE_SUPERVISOR"]).default("ROLE_UNSPECIFIED").describe("Role of the member in the thread, determining their permissions.")}).describe(`ThreadMember represents a thread participant
|
|
9437
|
-
with optional type-specific settings.`)).optional(),items:e.array(e.object({body:e.string().optional(),createdAt:e.string().optional(),documents:e.array(e.object({createdAt:e.string().optional(),fileId:e.string().optional(),id:e.string().optional(),messageId:e.string().optional(),mime:e.string().optional(),name:e.string().optional(),size:e.string().optional(),url:e.string().optional()})).optional(),id:e.string().optional(),images:e.array(e.object({createdAt:e.string().optional(),fileId:e.string().optional(),height:e.number().optional(),id:e.string().optional(),messageId:e.string().optional(),mime:e.string().optional(),url:e.string().optional(),width:e.number().optional()})).optional(),metadata:e.looseObject({}).optional(),senderId:e.string().optional(),threadId:e.string().optional(),type:e.number().optional(),updatedAt:e.string().optional()})).optional(),nextCursor:e.object({id:e.string().optional()}).optional(),prevCursor:e.object({id:e.string().optional()}).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({"item.id":e.string()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({q:e.string().optional(),page:e.number().optional(),size:e.number().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional()}),e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional()}),e.object({id:e.string(),agent_id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({dateFrom:e.string().optional(),dateTo:e.string().optional()}),e.object({items:e.record(e.string(),e.object({forecast:e.array(e.object({agents:e.string().optional(),hour:e.string().optional()})).optional()})).optional()}),e.object({"item.id":e.string()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),Ct(),_t(),Ct(),_t(),Ct(),_t(),{...EO("/contacts/groups")},Ct(),_t(),Ct(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),localStorage.getItem("access-token"),Xt.create({headers:{"content-type":"multipart/form-data"}}),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),{...EO("/users")};const bje=Ct(),AO=async({path:n,display:o,primary:i,...r})=>{const l=["page","size","q","sort","fields","id","ids"],s=mi(r,[W0(iO()),SO("search"),c=>({...c,q:c.search}),c=>({...c,ids:c.id}),xO(l),lb(),wO(n)]);try{const c=await bje.get(s),{data:d,items:p,next:u}=mi(c.data,[W0(nO())]);return{items:mi(d||p,[])??[],next:u}}catch(c){throw mi(c,[db])}},yje={getList:AO,getLookup:n=>AO({...n,fields:n.fields||["id","name"]})};Ct(),_t(),Ct(),_t(),Ct(),_t();const vje=Object.freeze(Object.defineProperty({__proto__:null,default:a.defineComponent({__name:"wt-type-extension-value-input",props:a.mergeModels({field:{},required:{type:Boolean},v:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const o=a.useModel(n,"modelValue"),i=n,{t:r}=Pn(),l=a.computed(()=>r(i.field?.name||"vocabulary.labels")),s=a.computed(()=>i.required||i.field.required),c=a.computed(()=>o.value),d=a.computed(()=>({label:l.value,required:s.value,v:i.v})),p=a.computed(()=>({clearable:!0,trackBy:"id",searchMethod:()=>f(i.field.lookup)})),u=a.computed(()=>({...p.value,multiple:!0})),g=v=>{o.value=v},f=({path:v,display:k,primary:y})=>C=>yje.getSysTypeRecordsLookup({...C,path:v,display:k,primary:y}),m=v=>{if(Object.values(v).length===0)return g(null);g({id:v.id,name:v.name})},h=v=>{g(v.map(k=>({id:k.id,name:k.name})))};return(v,k)=>{const y=a.resolveComponent("wt-input-text"),C=a.resolveComponent("wt-input-number");return n.field.kind===a.unref(ki).Text?(a.openBlock(),a.createBlock(y,a.mergeProps({key:0},d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])):n.field.kind===a.unref(ki).Number?(a.openBlock(),a.createBlock(C,a.mergeProps({key:1},d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])):n.field.kind===a.unref(ki).Boolean?a.renderSlot(v.$slots,a.unref(ki).Boolean,{key:2,defaultProps:{...d.value}},()=>[a.createVNode(a.unref(tC),a.mergeProps(d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])]):n.field.kind===a.unref(ki).Select?a.renderSlot(v.$slots,a.unref(ki).Select,{key:3,defaultProps:{...d.value,...p.value,value:c.value}},()=>[a.createVNode(a.unref(sg),a.mergeProps(d.value,{value:c.value,"search-method":f(n.field.lookup),"track-by":"id",clearable:"",onInput:m}),null,16,["value","search-method"])]):n.field.kind===a.unref(ki).Multiselect?a.renderSlot(v.$slots,a.unref(ki).Multiselect,{key:4,defaultProps:{...d.value,...u.value,value:c.value}},()=>[a.createVNode(a.unref(sg),a.mergeProps({...d.value,...u.value},{value:c.value,onInput:h}),null,16,["value"])]):n.field.kind===a.unref(ki).Calendar?a.renderSlot(v.$slots,a.unref(ki).Calendar,{key:5,defaultProps:{...d.value,value:c.value}},()=>[a.createVNode(a.unref(RC),a.mergeProps(d.value,{value:c.value,mode:"datetime",onInput:g}),null,16,["value"])]):a.createCommentVNode("",!0)}}})},Symbol.toStringTag,{value:"Module"})),Cje={class:"wt-screen-recordings-action"},wje={class:"wt-screen-recordings-action__option"},kje=Object.freeze(Object.defineProperty({__proto__:null,default:xe(a.defineComponent({__name:"wt-screen-recordings-action",props:{files:{}},emits:["set-video"],setup(n,{emit:o}){const i=n,r=o,l=a.computed(()=>i?.files?.[$d.FileTypeScreensharing]?.map(({name:c,id:d,mimeType:p,type:u})=>({text:c,id:d,mimeType:p,type:u}))),s=({option:c})=>{c.id&&c.type===$d.FileTypeScreensharing&&r("set-video",c)};return(c,d)=>{const p=a.resolveComponent("wt-icon-btn"),u=a.resolveComponent("wt-icon"),g=a.resolveComponent("wt-context-menu");return a.openBlock(),a.createElementBlock("div",Cje,[a.createVNode(g,{options:l.value,"max-width":"400px",onClick:s},{activator:a.withCtx(({toggle:f})=>[l.value?.length?(a.openBlock(),a.createBlock(p,{key:0,icon:"preview-tag-video",onClick:f},null,8,["onClick"])):a.createCommentVNode("",!0)]),option:a.withCtx(({text:f})=>[a.createElementVNode("div",wje,[a.createVNode(u,{icon:"preview-tag-video"}),a.createTextVNode(" "+a.toDisplayString(f),1)])]),_:1},8,["options"]),a.createElementVNode("p",null,a.toDisplayString(l.value?.length||a.unref(Rp)),1)])}}}),[["__scopeId","data-v-a1fa5099"]])},Symbol.toStringTag,{value:"Module"})),jje={class:"wt-inline-add-panel__actions"},xje=Object.freeze(Object.defineProperty({__proto__:null,default:xe(a.defineComponent({__name:"wt-inline-add-panel",props:{disabledAddAction:{type:Boolean,default:!1},direction:{default:"row"}},emits:["submit","reset"],setup(n,{emit:o}){const i=n,r=o;function l(){r("submit")}function s(){r("reset")}return(c,d)=>{const p=a.resolveComponent("wt-button");return a.openBlock(),a.createElementBlock("form",{class:a.normalizeClass(["wt-inline-add-panel",[`wt-inline-add-panel--${i.direction}`]]),onSubmit:a.withModifiers(l,["prevent"])},[a.renderSlot(c.$slots,"default",{},void 0,!0),a.createElementVNode("div",jje,[a.createVNode(p,{disabled:i.disabledAddAction,icon:"tick",color:"secondary",outlined:"",onClick:l},null,8,["disabled"]),a.createVNode(p,{icon:"close",outlined:"",color:"secondary",onClick:s})])],34)}}}),[["__scopeId","data-v-c6373132"]])},Symbol.toStringTag,{value:"Module"})),Yi={LoadFail:0,BadSignature:1,BadTimestamp:2,BadSettingValue:3,BadFormat:4,UnknownSetting:5};class Xi extends Error{code;line;constructor(o){super(o.reason),this.code=o.code,this.line=o.line}}const LO=/\r?\n|\r/gm;class Ije{writable;readable;constructor(o){const i=new Sje(o);this.writable=new WritableStream({write(r){i.transform(r)},close(){i.close()}}),this.readable=new ReadableStream({start(r){i.onLine=l=>r.enqueue(l),i.onClose=()=>r.close()}})}}class Sje{a="";b;onLine;onClose;constructor(o){this.b=new TextDecoder(o)}transform(o){this.a+=this.b.decode(o,{stream:!0});const i=this.a.split(LO);this.a=i.pop()||"";for(let r=0;r<i.length;r++)this.onLine(i[r].trim())}close(){this.a&&this.onLine(this.a.trim()),this.a="",this.onClose()}}async function Tje(n,o){const i=new ReadableStream({start(r){const l=n.split(LO);for(const s of l)r.enqueue(s);r.close()}});return pb(i,o)}async function pb(n,o){const i=o?.type??"vtt";let r;if(typeof i=="string")switch(i){case"srt":r=(await Promise.resolve().then(()=>kIe)).default;break;case"ssa":case"ass":r=(await Promise.resolve().then(()=>xIe)).default;break;default:r=(await Promise.resolve().then(function(){return Gje})).default}else r=i;let l;const s=n.getReader(),c=r(),d=!!o?.strict||!!o?.errors;await c.init({strict:!1,...o,errors:d,type:i,cancel(){s.cancel(),l=c.done(!0)}});let p=1;for(;;){const{value:u,done:g}=await s.read();if(g){c.parse("",p),l=c.done(!1);break}c.parse(u,p),p++}return l}async function Eje(n,o){const i=await n;if(!i.ok||!i.body)return{metadata:{},cues:[],regions:[],errors:[void 0]};const r=i.headers.get("content-type")||"",l=r.match(/text\/(.*?)(?:;|$)/)?.[1],s=r.match(/charset=(.*?)(?:;|$)/)?.[1];return OO(i.body,{type:l,encoding:s,...o})}async function OO(n,{encoding:o="utf-8",...i}={}){const r=n.pipeThrough(new Ije(o));return pb(r,i)}class DO extends EventTarget{id="";startTime;endTime;text;pauseOnExit=!1;constructor(o,i,r){super(),this.startTime=o,this.endTime=i,this.text=r}addEventListener(o,i,r){super.addEventListener(o,i,r)}removeEventListener(o,i,r){super.removeEventListener(o,i,r)}}const ub=typeof document>"u",Aje=ub?DO:window.VTTCue;class Y0 extends Aje{region=null;vertical="";snapToLines=!0;line="auto";lineAlign="start";position="auto";positionAlign="auto";size=100;align="center";style}class RO{id="";width=100;lines=3;regionAnchorX=0;regionAnchorY=100;viewportAnchorX=0;viewportAnchorY=100;scroll=""}const _O=",",Lje="%";function Oje(n){const o=parseInt(n,10);return Number.isNaN(o)?null:o}function Zd(n){const o=parseInt(n.replace(Lje,""),10);return!Number.isNaN(o)&&o>=0&&o<=100?o:null}function BO(n){if(!n.includes(_O))return null;const[o,i]=n.split(_O).map(Zd);return o!==null&&i!==null?[o,i]:null}function Dje(n){const o=parseFloat(n);return Number.isNaN(o)?null:o}const Rje="WEBVTT",PO=",",_je="%",hl=/[:=]/,Bje=/^[\s\t]*(region|vertical|line|position|size|align)[:=]/,Pje="NOTE",Mje="REGION",$je=/^REGION:?[\s\t]+/,Gd=/[\s\t]+/,Nje="-->",Fje=/[\s\t]*-->[\s\t]+/,qje=/start|center|end|left|right/,Uje=/start|center|end/,Hje=/line-(?:left|right)|center|auto/,zje=/^(?:(\d{1,2}):)?(\d{2}):(\d{2})(?:\.(\d{1,3}))?$/;var Kd=(n=>(n[n.None=0]="None",n[n.Header=1]="Header",n[n.Cue=2]="Cue",n[n.Region=3]="Region",n[n.Note=4]="Note",n))(Kd||{});class gb{h;e=0;i={};j={};l=[];c=null;d=null;m=[];f;n="";async init(o){this.h=o,o.strict&&(this.e=1),o.errors&&(this.f=(await Promise.resolve().then(()=>pD)).ParseErrorBuilder)}parse(o,i){if(o==="")this.c?(this.l.push(this.c),this.h.onCue?.(this.c),this.c=null):this.d?(this.j[this.d.id]=this.d,this.h.onRegion?.(this.d),this.d=null):this.e===1&&(this.k(o,i),this.h.onHeaderMetadata?.(this.i)),this.e=0;else if(this.e)switch(this.e){case 1:this.k(o,i);break;case 2:if(this.c){const r=this.c.text.length>0;!r&&Bje.test(o)?this.o(o.split(Gd),i):this.c.text+=(r?`
|
|
9437
|
+
with optional type-specific settings.`)).optional(),items:e.array(e.object({body:e.string().optional(),createdAt:e.string().optional(),documents:e.array(e.object({createdAt:e.string().optional(),fileId:e.string().optional(),id:e.string().optional(),messageId:e.string().optional(),mime:e.string().optional(),name:e.string().optional(),size:e.string().optional(),url:e.string().optional()})).optional(),id:e.string().optional(),images:e.array(e.object({createdAt:e.string().optional(),fileId:e.string().optional(),height:e.number().optional(),id:e.string().optional(),messageId:e.string().optional(),mime:e.string().optional(),url:e.string().optional(),width:e.number().optional()})).optional(),metadata:e.looseObject({}).optional(),senderId:e.string().optional(),threadId:e.string().optional(),type:e.number().optional(),updatedAt:e.string().optional()})).optional(),nextCursor:e.object({id:e.string().optional()}).optional(),prevCursor:e.object({id:e.string().optional()}).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({"item.id":e.string()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({q:e.string().optional(),page:e.number().optional(),size:e.number().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional()}),e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional()}),e.object({id:e.string(),agent_id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({dateFrom:e.string().optional(),dateTo:e.string().optional()}),e.object({items:e.record(e.string(),e.object({forecast:e.array(e.object({agents:e.string().optional(),hour:e.string().optional()})).optional()})).optional()}),e.object({"item.id":e.string()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),Ct(),_t(),Ct(),_t(),Ct(),_t(),{...EO("/contacts/groups")},Ct(),_t(),Ct(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),localStorage.getItem("access-token"),Xt.create({headers:{"content-type":"multipart/form-data"}}),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),{...EO("/users")};const bje=Ct(),AO=async({path:n,display:o,primary:i,...r})=>{const l=["page","size","q","sort","fields","id","ids"],s=mi(r,[W0(iO()),SO("search"),c=>({...c,q:c.search}),c=>({...c,ids:c.id}),xO(l),lb(),wO(n)]);try{const c=await bje.get(s),{data:d,items:p,next:u}=mi(c.data,[W0(nO())]);return{items:mi(d||p,[])??[],next:u}}catch(c){throw mi(c,[db])}},yje={getList:AO,getLookup:n=>AO({...n,fields:n.fields||["id","name"]})};Ct(),_t(),Ct(),_t(),Ct(),_t();const vje=Object.freeze(Object.defineProperty({__proto__:null,default:a.defineComponent({__name:"wt-type-extension-value-input",props:a.mergeModels({field:{},label:{},required:{type:Boolean},v:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const o=a.useModel(n,"modelValue"),i=n,{t:r}=Pn(),l=a.computed(()=>i.label||r(i.field?.name||"vocabulary.labels")),s=a.computed(()=>i.required??i.field.required),c=a.computed(()=>o.value),d=a.computed(()=>({label:l.value,required:s.value,v:i.v})),p=a.computed(()=>({clearable:!0,trackBy:"id",searchMethod:()=>f(i.field.lookup)})),u=a.computed(()=>({...p.value,multiple:!0})),g=v=>{o.value=v},f=({path:v,display:k,primary:y})=>C=>yje.getSysTypeRecordsLookup({...C,path:v,display:k,primary:y}),m=v=>{if(Object.values(v).length===0)return g(null);g({id:v.id,name:v.name})},h=v=>{g(v.map(k=>({id:k.id,name:k.name})))};return(v,k)=>{const y=a.resolveComponent("wt-input-text"),C=a.resolveComponent("wt-input-number");return n.field.kind===a.unref(ki).Text?(a.openBlock(),a.createBlock(y,a.mergeProps({key:0},d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])):n.field.kind===a.unref(ki).Number?(a.openBlock(),a.createBlock(C,a.mergeProps({key:1},d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])):n.field.kind===a.unref(ki).Boolean?a.renderSlot(v.$slots,a.unref(ki).Boolean,{key:2,defaultProps:{...d.value}},()=>[a.createVNode(a.unref(tC),a.mergeProps(d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])]):n.field.kind===a.unref(ki).Select?a.renderSlot(v.$slots,a.unref(ki).Select,{key:3,defaultProps:{...d.value,...p.value,value:c.value}},()=>[a.createVNode(a.unref(sg),a.mergeProps(d.value,{value:c.value,"search-method":f(n.field.lookup),"track-by":"id",clearable:"",onInput:m}),null,16,["value","search-method"])]):n.field.kind===a.unref(ki).Multiselect?a.renderSlot(v.$slots,a.unref(ki).Multiselect,{key:4,defaultProps:{...d.value,...u.value,value:c.value}},()=>[a.createVNode(a.unref(sg),a.mergeProps({...d.value,...u.value},{value:c.value,onInput:h}),null,16,["value"])]):n.field.kind===a.unref(ki).Calendar?a.renderSlot(v.$slots,a.unref(ki).Calendar,{key:5,defaultProps:{...d.value,value:c.value}},()=>[a.createVNode(a.unref(RC),a.mergeProps(d.value,{value:c.value,mode:"datetime",onInput:g}),null,16,["value"])]):a.createCommentVNode("",!0)}}})},Symbol.toStringTag,{value:"Module"})),Cje={class:"wt-screen-recordings-action"},wje={class:"wt-screen-recordings-action__option"},kje=Object.freeze(Object.defineProperty({__proto__:null,default:xe(a.defineComponent({__name:"wt-screen-recordings-action",props:{files:{}},emits:["set-video"],setup(n,{emit:o}){const i=n,r=o,l=a.computed(()=>i?.files?.[$d.FileTypeScreensharing]?.map(({name:c,id:d,mimeType:p,type:u})=>({text:c,id:d,mimeType:p,type:u}))),s=({option:c})=>{c.id&&c.type===$d.FileTypeScreensharing&&r("set-video",c)};return(c,d)=>{const p=a.resolveComponent("wt-icon-btn"),u=a.resolveComponent("wt-icon"),g=a.resolveComponent("wt-context-menu");return a.openBlock(),a.createElementBlock("div",Cje,[a.createVNode(g,{options:l.value,"max-width":"400px",onClick:s},{activator:a.withCtx(({toggle:f})=>[l.value?.length?(a.openBlock(),a.createBlock(p,{key:0,icon:"preview-tag-video",onClick:f},null,8,["onClick"])):a.createCommentVNode("",!0)]),option:a.withCtx(({text:f})=>[a.createElementVNode("div",wje,[a.createVNode(u,{icon:"preview-tag-video"}),a.createTextVNode(" "+a.toDisplayString(f),1)])]),_:1},8,["options"]),a.createElementVNode("p",null,a.toDisplayString(l.value?.length||a.unref(Rp)),1)])}}}),[["__scopeId","data-v-a1fa5099"]])},Symbol.toStringTag,{value:"Module"})),jje={class:"wt-inline-add-panel__actions"},xje=Object.freeze(Object.defineProperty({__proto__:null,default:xe(a.defineComponent({__name:"wt-inline-add-panel",props:{disabledAddAction:{type:Boolean,default:!1},direction:{default:"row"}},emits:["submit","reset"],setup(n,{emit:o}){const i=n,r=o;function l(){r("submit")}function s(){r("reset")}return(c,d)=>{const p=a.resolveComponent("wt-button");return a.openBlock(),a.createElementBlock("form",{class:a.normalizeClass(["wt-inline-add-panel",[`wt-inline-add-panel--${i.direction}`]]),onSubmit:a.withModifiers(l,["prevent"])},[a.renderSlot(c.$slots,"default",{},void 0,!0),a.createElementVNode("div",jje,[a.createVNode(p,{disabled:i.disabledAddAction,icon:"tick",color:"secondary",outlined:"",onClick:l},null,8,["disabled"]),a.createVNode(p,{icon:"close",outlined:"",color:"secondary",onClick:s})])],34)}}}),[["__scopeId","data-v-c6373132"]])},Symbol.toStringTag,{value:"Module"})),Yi={LoadFail:0,BadSignature:1,BadTimestamp:2,BadSettingValue:3,BadFormat:4,UnknownSetting:5};class Xi extends Error{code;line;constructor(o){super(o.reason),this.code=o.code,this.line=o.line}}const LO=/\r?\n|\r/gm;class Ije{writable;readable;constructor(o){const i=new Sje(o);this.writable=new WritableStream({write(r){i.transform(r)},close(){i.close()}}),this.readable=new ReadableStream({start(r){i.onLine=l=>r.enqueue(l),i.onClose=()=>r.close()}})}}class Sje{a="";b;onLine;onClose;constructor(o){this.b=new TextDecoder(o)}transform(o){this.a+=this.b.decode(o,{stream:!0});const i=this.a.split(LO);this.a=i.pop()||"";for(let r=0;r<i.length;r++)this.onLine(i[r].trim())}close(){this.a&&this.onLine(this.a.trim()),this.a="",this.onClose()}}async function Tje(n,o){const i=new ReadableStream({start(r){const l=n.split(LO);for(const s of l)r.enqueue(s);r.close()}});return pb(i,o)}async function pb(n,o){const i=o?.type??"vtt";let r;if(typeof i=="string")switch(i){case"srt":r=(await Promise.resolve().then(()=>kIe)).default;break;case"ssa":case"ass":r=(await Promise.resolve().then(()=>xIe)).default;break;default:r=(await Promise.resolve().then(function(){return Gje})).default}else r=i;let l;const s=n.getReader(),c=r(),d=!!o?.strict||!!o?.errors;await c.init({strict:!1,...o,errors:d,type:i,cancel(){s.cancel(),l=c.done(!0)}});let p=1;for(;;){const{value:u,done:g}=await s.read();if(g){c.parse("",p),l=c.done(!1);break}c.parse(u,p),p++}return l}async function Eje(n,o){const i=await n;if(!i.ok||!i.body)return{metadata:{},cues:[],regions:[],errors:[void 0]};const r=i.headers.get("content-type")||"",l=r.match(/text\/(.*?)(?:;|$)/)?.[1],s=r.match(/charset=(.*?)(?:;|$)/)?.[1];return OO(i.body,{type:l,encoding:s,...o})}async function OO(n,{encoding:o="utf-8",...i}={}){const r=n.pipeThrough(new Ije(o));return pb(r,i)}class DO extends EventTarget{id="";startTime;endTime;text;pauseOnExit=!1;constructor(o,i,r){super(),this.startTime=o,this.endTime=i,this.text=r}addEventListener(o,i,r){super.addEventListener(o,i,r)}removeEventListener(o,i,r){super.removeEventListener(o,i,r)}}const ub=typeof document>"u",Aje=ub?DO:window.VTTCue;class Y0 extends Aje{region=null;vertical="";snapToLines=!0;line="auto";lineAlign="start";position="auto";positionAlign="auto";size=100;align="center";style}class RO{id="";width=100;lines=3;regionAnchorX=0;regionAnchorY=100;viewportAnchorX=0;viewportAnchorY=100;scroll=""}const _O=",",Lje="%";function Oje(n){const o=parseInt(n,10);return Number.isNaN(o)?null:o}function Zd(n){const o=parseInt(n.replace(Lje,""),10);return!Number.isNaN(o)&&o>=0&&o<=100?o:null}function BO(n){if(!n.includes(_O))return null;const[o,i]=n.split(_O).map(Zd);return o!==null&&i!==null?[o,i]:null}function Dje(n){const o=parseFloat(n);return Number.isNaN(o)?null:o}const Rje="WEBVTT",PO=",",_je="%",hl=/[:=]/,Bje=/^[\s\t]*(region|vertical|line|position|size|align)[:=]/,Pje="NOTE",Mje="REGION",$je=/^REGION:?[\s\t]+/,Gd=/[\s\t]+/,Nje="-->",Fje=/[\s\t]*-->[\s\t]+/,qje=/start|center|end|left|right/,Uje=/start|center|end/,Hje=/line-(?:left|right)|center|auto/,zje=/^(?:(\d{1,2}):)?(\d{2}):(\d{2})(?:\.(\d{1,3}))?$/;var Kd=(n=>(n[n.None=0]="None",n[n.Header=1]="Header",n[n.Cue=2]="Cue",n[n.Region=3]="Region",n[n.Note=4]="Note",n))(Kd||{});class gb{h;e=0;i={};j={};l=[];c=null;d=null;m=[];f;n="";async init(o){this.h=o,o.strict&&(this.e=1),o.errors&&(this.f=(await Promise.resolve().then(()=>pD)).ParseErrorBuilder)}parse(o,i){if(o==="")this.c?(this.l.push(this.c),this.h.onCue?.(this.c),this.c=null):this.d?(this.j[this.d.id]=this.d,this.h.onRegion?.(this.d),this.d=null):this.e===1&&(this.k(o,i),this.h.onHeaderMetadata?.(this.i)),this.e=0;else if(this.e)switch(this.e){case 1:this.k(o,i);break;case 2:if(this.c){const r=this.c.text.length>0;!r&&Bje.test(o)?this.o(o.split(Gd),i):this.c.text+=(r?`
|
|
9438
9438
|
`:"")+o}break;case 3:this.p(o.split(Gd),i);break}else if(o.startsWith(Pje))this.e=4;else if(o.startsWith(Mje))this.e=3,this.d=new RO,this.p(o.replace($je,"").split(Gd),i);else if(o.includes(Nje)){const r=this.q(o,i);r&&(this.c=new Y0(r[0],r[1],""),this.c.id=this.n,this.o(r[2],i)),this.e=2}else i===1&&this.k(o,i);this.n=o}done(){return{metadata:this.i,cues:this.l,regions:Object.values(this.j),errors:this.m}}k(o,i){if(i>1){if(hl.test(o)){const[r,l]=o.split(hl);r&&(this.i[r]=(l||"").replace(Gd,""))}}else o.startsWith(Rje)?this.e=1:this.g(this.f?.r())}q(o,i){const[r,l=""]=o.split(Fje),[s,...c]=l.split(Gd),d=ls(r),p=ls(s);if(d!==null&&p!==null&&p>d)return[d,p,c];d===null&&this.g(this.f?.s(r,i)),p===null&&this.g(this.f?.t(s,i)),d!=null&&p!==null&&p>d&&this.g(this.f?.u(d,p,i))}p(o,i){let r;for(let l=0;l<o.length;l++)if(hl.test(o[l])){r=!1;const[s,c]=o[l].split(hl);switch(s){case"id":this.d.id=c;break;case"width":const d=Zd(c);d!==null?this.d.width=d:r=!0;break;case"lines":const p=Oje(c);p!==null?this.d.lines=p:r=!0;break;case"regionanchor":const u=BO(c);u!==null?(this.d.regionAnchorX=u[0],this.d.regionAnchorY=u[1]):r=!0;break;case"viewportanchor":const g=BO(c);g!==null?(this.d.viewportAnchorX=g[0],this.d.viewportAnchorY=g[1]):r=!0;break;case"scroll":c==="up"?this.d.scroll="up":r=!0;break;default:this.g(this.f?.v(s,c,i))}r&&this.g(this.f?.w(s,c,i))}}o(o,i){let r;for(let l=0;l<o.length;l++)if(r=!1,hl.test(o[l])){const[s,c]=o[l].split(hl);switch(s){case"region":const d=this.j[c];d&&(this.c.region=d);break;case"vertical":c==="lr"||c==="rl"?(this.c.vertical=c,this.c.region=null):r=!0;break;case"line":const[p,u]=c.split(PO);if(p.includes(_je)){const v=Zd(p);v!==null?(this.c.line=v,this.c.snapToLines=!1):r=!0}else{const v=Dje(p);v!==null?this.c.line=v:r=!0}Uje.test(u)?this.c.lineAlign=u:u&&(r=!0),this.c.line!=="auto"&&(this.c.region=null);break;case"position":const[g,f]=c.split(PO),m=Zd(g);m!==null?this.c.position=m:r=!0,f&&Hje.test(f)?this.c.positionAlign=f:f&&(r=!0);break;case"size":const h=Zd(c);h!==null?(this.c.size=h,h<100&&(this.c.region=null)):r=!0;break;case"align":qje.test(c)?this.c.align=c:r=!0;break;default:this.g(this.f?.x(s,c,i))}r&&this.g(this.f?.y(s,c,i))}}g(o){if(o){if(this.m.push(o),this.h.strict)throw this.h.cancel(),o;this.h.onError?.(o)}}}function ls(n){const o=n.match(zje);if(!o)return null;const i=o[1]?parseInt(o[1],10):0,r=parseInt(o[2],10),l=parseInt(o[3],10),s=o[4]?parseInt(o[4].padEnd(3,"0"),10):0,c=i*3600+r*60+l+s/1e3;return i<0||r<0||l<0||s<0||r>59||l>59?null:c}function Zje(){return new gb}var Gje=Object.freeze({__proto__:null,VTTBlock:Kd,VTTParser:gb,default:Zje,parseVTTTimestamp:ls});const Kje=/[0-9]/,Wje=/[\s\t]+/,MO={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span",timestamp:"span"},Yje={"&":"&","<":"<",">":">",""":'"',"'":"'"," ":" ","‎":"","‏":""},Xje=/&(?:amp|lt|gt|quot|#(0+)?39|nbsp|lrm|rlm);/g,Qje=new Set(["white","lime","cyan","red","yellow","magenta","blue","black"]),Jje=new Set(Object.keys(MO));function $O(n){let o="",i=1,r=[],l=[],s;for(let u=0;u<n.text.length;u++){const g=n.text[u];switch(i){case 1:g==="<"?(p(),i=2):o+=g;break;case 2:switch(g){case`
|
|
9439
9439
|
`:case" ":case" ":c(),i=4;break;case".":c(),i=3;break;case"/":i=5;break;case">":c(),i=1;break;default:!o&&Kje.test(g)&&(i=6),o+=g;break}break;case 3:switch(g){case" ":case" ":case`
|
|
9440
9440
|
`:d(),s&&s.class?.trim(),i=4;break;case".":d();break;case">":d(),s&&s.class?.trim(),i=1;break;default:o+=g}break;case 4:g===">"?(o=o.replace(Wje," "),s?.type==="v"?s.voice=fb(o):s?.type==="lang"&&(s.lang=fb(o)),o="",i=1):o+=g;break;case 5:g===">"&&(o="",s=l.pop(),i=1);break;case 6:if(g===">"){const f=ls(o);f!==null&&f>=n.startTime&&f<=n.endTime&&(o="timestamp",c(),s.time=f),o="",i=1}else o+=g;break}}function c(){if(Jje.has(o)){const u=s;s=Vje(o),u?(l[l.length-1]!==u&&l.push(u),u.children.push(s)):r.push(s)}o="",i=1}function d(){if(s&&o){const u=o.replace("bg_","");Qje.has(u)?s[o.startsWith("bg_")?"bgColor":"color"]=u:s.class=s.class?s.class+" "+o:o}o=""}function p(){if(!o)return;const u={type:"text",data:fb(o)};s?s.children.push(u):r.push(u),o=""}return i===1&&p(),r}function Vje(n){return{tagName:MO[n],type:n,children:[]}}function fb(n){return n.replace(Xje,o=>Yje[o]||"'")}function on(n,o,i){n.style.setProperty(`--${o}`,i+"")}function ra(n,o,i=!0){n.setAttribute(`data-${o}`,i===!0?"":i+"")}function X0(n,o){n.setAttribute("data-part",o)}function exe(n){return parseFloat(getComputedStyle(n).lineHeight)||0}function txe(n){if(ub)throw Error("[media-captions] called `createVTTCueTemplate` on the server - use `renderVTTCueString`");const o=document.createElement("template");return o.innerHTML=mb(n),{cue:n,content:o.content}}function mb(n,o=0){return hb($O(n),o)}function hb(n,o=0){let i,r="";for(const l of n)if(l.type==="text")r+=l.data;else{const s=l.type==="timestamp";i={},i.class=l.class,i.title=l.type==="v"&&l.voice,i.lang=l.type==="lang"&&l.lang,i["data-part"]=l.type==="v"&&"voice",s&&(i["data-part"]="timed",i["data-time"]=l.time,i["data-future"]=l.time>o,i["data-past"]=l.time<o),i.style=`${l.color?`color: ${l.color};`:""}${l.bgColor?`background-color: ${l.bgColor};`:""}`;const c=Object.entries(i).filter(d=>d[1]).map(d=>`${d[0]}="${d[1]===!0?"":d[1]}"`).join(" ");r+=`<${l.tagName}${c?" "+c:""}>${hb(l.children)}</${l.tagName}>`}return r}function NO(n,o){if(!ub)for(const i of n.querySelectorAll('[data-part="timed"]')){const r=Number(i.getAttribute("data-time"));Number.isNaN(r)||(r>o?ra(i,"future"):i.removeAttribute("data-future"),r<o?ra(i,"past"):i.removeAttribute("data-past"))}}function oxe(n,o){let i=null,r;function l(){s(),n(...r),r=void 0}function s(){clearTimeout(i),i=null}function c(){r=[].slice.call(arguments),s(),i=setTimeout(l,o)}return c}const aa=Symbol(0);function bb(n){return n instanceof HTMLElement?{top:n.offsetTop,width:n.clientWidth,height:n.clientHeight,left:n.offsetLeft,right:n.offsetLeft+n.clientWidth,bottom:n.offsetTop+n.clientHeight}:{...n}}function Q0(n,o,i){switch(o){case"+x":n.left+=i,n.right+=i;break;case"-x":n.left-=i,n.right-=i;break;case"+y":n.top+=i,n.bottom+=i;break;case"-y":n.top-=i,n.bottom-=i;break}}function nxe(n,o){return n.left<=o.right&&n.right>=o.left&&n.top<=o.bottom&&n.bottom>=o.top}function ixe(n,o){for(let i=0;i<o.length;i++)if(nxe(n,o[i]))return o[i];return null}function FO(n,o){return o.top>=0&&o.bottom<=n.height&&o.left>=0&&o.right<=n.width}function rxe(n,o,i){switch(i){case"+x":return o.left<0;case"-x":return o.right>n.width;case"+y":return o.top<0;case"-y":return o.bottom>n.height}}function axe(n,o){const i=Math.max(0,Math.min(n.width,o.right)-Math.max(0,o.left)),r=Math.max(0,Math.min(n.height,o.bottom)-Math.max(0,o.top));return i*r/(n.height*n.width)}function yb(n,o){return{top:o.top/n.height,left:o.left/n.width,right:(n.width-o.right)/n.width,bottom:(n.height-o.bottom)/n.height}}function qO(n,o){return o.top=o.top*n.height,o.left=o.left*n.width,o.right=n.width-o.right*n.width,o.bottom=n.height-o.bottom*n.height,o}const UO=["top","left","right","bottom"];function HO(n,o,i,r){const l=yb(o,i);for(const s of UO)on(n,`${r}-${s}`,l[s]*100+"%")}function zO(n,o,i,r){let l=1,s,c={...o};for(let d=0;d<r.length;d++){for(;rxe(n,o,r[d])||FO(n,o)&&ixe(o,i);)Q0(o,r[d],1);if(FO(n,o))return o;const p=axe(n,o);l>p&&(s={...o},l=p),o={...c}}return s||c}const Wd=Symbol(0);function sxe(n,o,i,r){let l=i.firstElementChild,s=dxe(o),c,d=[];if(i[aa]||(i[aa]=lxe(n,i)),c=qO(n,{...i[aa]}),i[Wd])d=[i[Wd]==="top"?"+y":"-y","+x","-x"];else if(o.snapToLines){let p;switch(o.vertical){case"":d=["+y","-y"],p="height";break;case"rl":d=["+x","-x"],p="width";break;case"lr":d=["-x","+x"],p="width";break}let u=exe(l),g=u*Math.round(s),f=n[p]+u,m=d[0];Math.abs(g)>f&&(g=g<0?-1:1,g*=Math.ceil(f/u)*u),s<0&&(g+=o.vertical===""?n.height:n.width,d=d.reverse()),Q0(c,m,g)}else{const p=o.vertical==="",u=p?"+y":"+x",g=p?c.height:c.width;Q0(c,u,(p?n.height:n.width)*s/100),Q0(c,u,o.lineAlign==="center"?g/2:o.lineAlign==="end"?g:0),d=p?["-y","+y","-x","+x"]:["-x","+x","-y","+y"]}return c=zO(n,c,r,d),HO(i,n,c,"cue"),c}function lxe(n,o){const i=bb(o),r=cxe(o);if(o[Wd]=!1,r.top&&(i.top=r.top,i.bottom=r.top+i.height,o[Wd]="top"),r.bottom){const l=n.height-r.bottom;i.top=l-i.height,i.bottom=l,o[Wd]="bottom"}return r.left&&(i.left=r.left),r.right&&(i.right=n.width-r.right),yb(n,i)}function cxe(n){const o={};for(const i of UO)o[i]=parseFloat(n.style.getPropertyValue(`--cue-${i}`));return o}function dxe(n){return n.line==="auto"?n.snapToLines?-1:100:n.line}function pxe(n){if(n.position==="auto")switch(n.align){case"start":case"left":return 0;case"right":case"end":return 100;default:return 50}return n.position}function uxe(n,o){if(n.positionAlign==="auto")switch(n.align){case"start":return o==="ltr"?"line-left":"line-right";case"end":return o==="ltr"?"line-right":"line-left";case"center":return"center";default:return`line-${n.align}`}return n.positionAlign}const gxe=["-y","+y","-x","+x"];function fxe(n,o,i,r){let l=Array.from(i.querySelectorAll('[data-part="cue-display"]')),s=0,c=Math.max(0,l.length-o.lines);for(let p=l.length-1;p>=c;p--)s+=l[p].offsetHeight;on(i,"region-height",s+"px"),i[aa]||(i[aa]=yb(n,bb(i)));let d={...i[aa]};return d=qO(n,d),d.width=i.clientWidth,d.height=s,d.right=d.left+d.width,d.bottom=d.top+s,d=zO(n,d,r,gxe),HO(i,n,d,"region"),d}class mxe{overlay;z;A=0;C="ltr";B=[];D=!1;E;j=new Map;l=new Map;get dir(){return this.C}set dir(o){this.C=o,ra(this.overlay,"dir",o)}get currentTime(){return this.A}set currentTime(o){this.A=o,this.update()}constructor(o,i){this.overlay=o,this.dir=i?.dir??"ltr",o.setAttribute("translate","yes"),o.setAttribute("aria-live","off"),o.setAttribute("aria-atomic","true"),X0(o,"captions"),this.G(),this.E=new ResizeObserver(this.I.bind(this)),this.E.observe(o)}changeTrack({regions:o,cues:i}){this.reset(),this.J(o);for(const r of i)this.l.set(r,null);this.update()}addCue(o){this.l.set(o,null),this.update()}removeCue(o){this.l.delete(o),this.update()}update(o=!1){this.H(o)}reset(){this.l.clear(),this.j.clear(),this.B=[],this.overlay.textContent=""}destroy(){this.reset(),this.E.disconnect()}I(){this.D=!0,this.K()}K=oxe(()=>{this.D=!1,this.G();for(const o of this.j.values())o[aa]=null;for(const o of this.l.values())o&&(o[aa]=null);this.H(!0)},50);G(){this.z=bb(this.overlay),on(this.overlay,"overlay-width",this.z.width+"px"),on(this.overlay,"overlay-height",this.z.height+"px")}H(o=!1){if(!this.l.size||this.D)return;let i,r=[...this.l.keys()].filter(s=>this.A>=s.startTime&&this.A<=s.endTime).sort((s,c)=>s.startTime!==c.startTime?s.startTime-c.startTime:s.endTime-c.endTime),l=r.map(s=>s.region);for(let s=0;s<this.B.length;s++){if(i=this.B[s],r[s]===i)continue;if(i.region&&!l.includes(i.region)){const d=this.j.get(i.region.id);d&&(d.removeAttribute("data-active"),o=!0)}const c=this.l.get(i);c&&(c.remove(),o=!0)}for(let s=0;s<r.length;s++){i=r[s];let c=this.l.get(i);c||this.l.set(i,c=this.L(i));const d=this.F(i)&&this.j.get(i.region.id);d&&!d.hasAttribute("data-active")&&(requestAnimationFrame(()=>ra(d,"active")),o=!0),c.isConnected||((d||this.overlay).append(c),o=!0)}if(o){const s=[],c=new Set;for(let d=r.length-1;d>=0;d--){if(i=r[d],c.has(i.region||i))continue;const p=this.F(i),u=p?this.j.get(i.region.id):this.l.get(i);p?s.push(fxe(this.z,i.region,u,s)):s.push(sxe(this.z,i,u,s)),c.add(p?i.region:i)}}NO(this.overlay,this.A),this.B=r}J(o){if(o)for(const i of o){const r=this.M(i);this.j.set(i.id,r),this.overlay.append(r)}}M(o){const i=document.createElement("div");return X0(i,"region"),ra(i,"id",o.id),ra(i,"scroll",o.scroll),on(i,"region-width",o.width+"%"),on(i,"region-anchor-x",o.regionAnchorX),on(i,"region-anchor-y",o.regionAnchorY),on(i,"region-viewport-anchor-x",o.viewportAnchorX),on(i,"region-viewport-anchor-y",o.viewportAnchorY),on(i,"region-lines",o.lines),i}L(o){const i=document.createElement("div"),r=pxe(o),l=uxe(o,this.C);if(X0(i,"cue-display"),o.vertical!==""&&ra(i,"vertical"),on(i,"cue-text-align",o.align),o.style)for(const c of Object.keys(o.style))i.style.setProperty(c,o.style[c]);if(this.F(o))on(i,"cue-offset",`${r-(l==="line-right"?100:l==="center"?50:0)}%`);else if(on(i,"cue-writing-mode",o.vertical===""?"horizontal-tb":o.vertical==="lr"?"vertical-lr":"vertical-rl"),!o.style?.["--cue-width"]){let c=r;l==="line-left"?c=100-r:l==="center"&&r<=50?c=r*2:l==="center"&&r>50&&(c=(100-r)*2);const d=o.size<c?o.size:c;o.vertical===""?on(i,"cue-width",d+"%"):on(i,"cue-height",d+"%")}const s=document.createElement("div");return X0(s,"cue"),o.id&&ra(s,"id",o.id),s.innerHTML=mb(o),i.append(s),i}F(o){return o.region&&o.size===100&&o.vertical===""&&o.line==="auto"}}const J0=Object.freeze(Object.defineProperty({__proto__:null,CaptionsRenderer:mxe,ParseError:Xi,ParseErrorCode:Yi,TextCue:DO,VTTCue:Y0,VTTRegion:RO,createVTTCueTemplate:txe,parseByteStream:OO,parseResponse:Eje,parseText:Tje,parseTextStream:pb,parseVTTTimestamp:ls,renderVTTCueString:mb,renderVTTTokensString:hb,tokenizeVTTCue:$O,updateTimedVTTCueNodes:NO},Symbol.toStringTag,{value:"Module"}));class Yd{#e;#t;constructor(o){this.#t=o}start(){To(this.#e)&&this.#o()}stop(){go(this.#e)&&window.cancelAnimationFrame(this.#e),this.#e=void 0}#o(){this.#e=window.requestAnimationFrame(()=>{To(this.#e)||(this.#t(),this.#o())})}}let V0=null,ep=[],tp=[];function vb(){return V0??=new AudioContext}function hxe(){const n=vb(),o=n.createGain();return o.connect(n.destination),ep.push(o),o}function bxe(n,o){const i=vb(),r=i.createMediaElementSource(n);return o&&r.connect(o),tp.push(r),r}function yxe(n){const o=ep.indexOf(n);o!==-1&&(ep.splice(o,1),n.disconnect(),ZO())}function vxe(n){const o=tp.indexOf(n);o!==-1&&(tp.splice(o,1),n.disconnect(),ZO())}function ZO(){V0&&ep.length===0&&tp.length===0&&V0.close().then(()=>{V0=null})}class Cxe{#e;#t;#o=null;#n=null;get currentGain(){return this.#o?.gain?.value??null}get supported(){return!0}constructor(o,i){this.#e=o,this.#t=i}setGain(o){const i=this.currentGain;if(o!==this.currentGain){if(o===1&&i!==1){this.removeGain();return}this.#o||(this.#o=hxe(),this.#n&&this.#n.connect(this.#o)),this.#n||(this.#n=bxe(this.#e,this.#o)),this.#o.gain.value=o,this.#t(o)}}removeGain(){this.#o&&(this.#n&&this.#n.connect(vb().destination),this.#r(),this.#t(null))}destroy(){this.#i(),this.#r()}#i(){if(this.#n)try{vxe(this.#n)}catch{}finally{this.#n=null}}#r(){if(this.#o)try{yxe(this.#o)}catch{}finally{this.#o=null}}}const wxe=["focus","blur","visibilitychange","pageshow","pagehide"];class kxe{#e=Ge(GO());#t=Ge(document.visibilityState);#o;connect(){const o=new xt(window),i=this.#n.bind(this);for(const r of wxe)o.add(r,i);h0&&o.add("beforeunload",r=>{this.#o=setTimeout(()=>{r.defaultPrevented||r.returnValue.length>0||(this.#e.set("hidden"),this.#t.set("hidden"))},0)})}get pageState(){return this.#e()}get visibility(){return this.#t()}#n(o){h0&&window.clearTimeout(this.#o),(o.type!=="blur"||this.#e()==="active")&&(this.#e.set(GO(o)),this.#t.set(document.visibilityState=="hidden"?"hidden":"visible"))}}function GO(n){return n?.type==="blur"||document.visibilityState==="hidden"?"hidden":document.hasFocus()?"active":"passive"}class jxe{#e;#t;#o=!1;#n=!1;#i=!1;#r=new Yd(this.#p.bind(this));#a=new kxe;#l;get#s(){return this.#e.media}constructor(o,i){this.#e=o,this.#t=i,this.#l=new xt(o.media),this.#g(),this.#a.connect(),oe(this.#D.bind(this)),it(this.#c.bind(this))}#c(){this.#n=!1,this.#i=!1,this.#r.stop(),this.#l.abort(),this.#h?.clear()}#d=0;#u=-1;#p(){const o=this.#s.currentTime;!(h0&&o-this.#u<.35)&&this.#d!==o&&(this.#v(o),this.#d=o)}#g(){this.#f("loadstart",this.#k),this.#f("abort",this.#b),this.#f("emptied",this.#x),this.#f("error",this.#z),this.#f("volumechange",this.#$)}#m(){this.#n||(this.#f("loadeddata",this.#I),this.#f("loadedmetadata",this.#S),this.#f("canplay",this.#L),this.#f("canplaythrough",this.#O),this.#f("durationchange",this.#j),this.#f("play",this.#A),this.#f("progress",this.#q),this.#f("stalled",this.#E),this.#f("suspend",this.#U),this.#f("ratechange",this.#H),this.#n=!0)}#y(){this.#i||(this.#f("pause",this.#R),this.#f("playing",this.#_),this.#f("seeked",this.#N),this.#f("seeking",this.#F),this.#f("ended",this.#P),this.#f("waiting",this.#B),this.#i=!0)}#h=void 0;#w=void 0;#f(o,i){this.#l.add(o,i.bind(this))}#C(o){}#v(o,i){const r=Math.min(o,this.#t.$state.seekableEnd());this.#t.notify("time-change",r,i)}#k(o){if(this.#s.networkState===3){this.#b(o);return}this.#m(),this.#t.notify("load-start",void 0,o)}#b(o){this.#t.notify("abort",void 0,o)}#x(){this.#t.notify("emptied",void 0,event)}#I(o){this.#t.notify("loaded-data",void 0,o)}#S(o){this.#d=0,this.#u=-1,this.#y(),this.#t.notify("loaded-metadata",void 0,o),(f0||h0&&rl(this.#t.$state.source()))&&this.#t.delegate.ready(this.#T(),o)}#T(){return{provider:je(this.#t.$provider),duration:this.#s.duration,buffered:this.#s.buffered,seekable:this.#s.seekable}}#A(o){this.#t.$state.canPlay&&this.#t.notify("play",void 0,o)}#R(o){this.#s.readyState===1&&!this.#o||(this.#o=!1,this.#r.stop(),this.#t.notify("pause",void 0,o))}#L(o){this.#t.delegate.ready(this.#T(),o)}#O(o){this.#t.$state.started()||this.#t.notify("can-play-through",this.#T(),o)}#_(o){this.#s.paused||(this.#o=!1,this.#t.notify("playing",void 0,o),this.#r.start())}#E(o){this.#t.notify("stalled",void 0,o),this.#s.readyState<3&&(this.#o=!0,this.#t.notify("waiting",void 0,o))}#B(o){this.#s.readyState<3&&(this.#o=!0,this.#t.notify("waiting",void 0,o))}#P(o){this.#r.stop(),this.#v(this.#s.duration,o),this.#t.notify("end",void 0,o),this.#t.$state.loop()&&Jme(this.#s.controls)&&(this.#s.controls=!1)}#D(){const o=this.#t.$state.paused(),i=this.#a.visibility==="hidden";(o||i)&&vt(this.#s,"timeupdate",this.#M.bind(this))}#M(o){this.#v(this.#s.currentTime,o)}#j(o){this.#t.$state.ended()&&this.#v(this.#s.duration,o),this.#t.notify("duration-change",this.#s.duration,o)}#$(o){const i={volume:this.#s.volume,muted:this.#s.muted};this.#t.notify("volume-change",i,o)}#N(o){this.#u=this.#s.currentTime,this.#v(this.#s.currentTime,o),this.#t.notify("seeked",this.#s.currentTime,o),Math.trunc(this.#s.currentTime)===Math.trunc(this.#s.duration)&&q9(this.#s.duration)>q9(this.#s.currentTime)&&(this.#v(this.#s.duration,o),this.#s.ended||this.#t.player.dispatch(new st("media-play-request",{trigger:o})))}#F(o){this.#t.notify("seeking",this.#s.currentTime,o)}#q(o){const i={buffered:this.#s.buffered,seekable:this.#s.seekable};this.#t.notify("progress",i,o)}#U(o){this.#t.notify("suspend",void 0,o)}#H(o){this.#t.notify("rate-change",this.#s.playbackRate,o)}#z(o){const i=this.#s.error;if(!i)return;const r={message:i.message,code:i.code,mediaError:i};this.#t.notify("error",r,o)}}class xxe{#e;#t;get#o(){return this.#e.media.audioTracks}constructor(o,i){this.#e=o,this.#t=i,this.#o.onaddtrack=this.#n.bind(this),this.#o.onremovetrack=this.#i.bind(this),this.#o.onchange=this.#r.bind(this),vt(this.#t.audioTracks,"change",this.#l.bind(this))}#n(o){const i=o.track;if(i.label==="")return;const r=i.id.toString()||`native-audio-${this.#t.audioTracks.length}`,l={id:r,label:i.label,language:i.language,kind:i.kind,selected:!1};this.#t.audioTracks[Xe.add](l,o),i.enabled&&(l.selected=!0)}#i(o){const i=this.#t.audioTracks.getById(o.track.id);i&&this.#t.audioTracks[Xe.remove](i,o)}#r(o){let i=this.#a();if(!i)return;const r=this.#t.audioTracks.getById(i.id);r&&this.#t.audioTracks[Xe.select](r,!0,o)}#a(){return Array.from(this.#o).find(o=>o.enabled)}#l(o){const{current:i}=o.detail;if(!i)return;const r=this.#o.getTrackById(i.id);if(r){const l=this.#a();l&&(l.enabled=!1),r.enabled=!0}}}class KO{constructor(o,i){this.media=o,this.ctx=i,this.audioGain=new Cxe(o,r=>{this.ctx.notify("audio-gain-change",r)})}scope=Yr();currentSrc=null;audioGain;setup(){new jxe(this,this.ctx),"audioTracks"in this.media&&new xxe(this,this.ctx),it(()=>{this.audioGain.destroy(),this.media.srcObject=null,this.media.removeAttribute("src");for(const o of this.media.querySelectorAll("source"))o.remove();this.media.load()})}get type(){return""}setPlaybackRate(o){this.media.playbackRate=o}async play(){return this.media.play()}async pause(){return this.media.pause()}setMuted(o){this.media.muted=o}setVolume(o){this.media.volume=o}setCurrentTime(o){this.media.currentTime=o}setPlaysInline(o){Ae(this.media,"playsinline",o)}async loadSource({src:o,type:i},r){this.media.preload=r||"",Ghe(o)?(this.removeSource(),this.media.srcObject=o):(this.media.srcObject=null,Me(o)?i!=="?"?this.appendSource({src:o,type:i}):(this.removeSource(),this.media.src=this.#e(o)):(this.removeSource(),this.media.src=window.URL.createObjectURL(o))),this.media.load(),this.currentSrc={src:o,type:i}}appendSource(o,i){const r=this.media.querySelector("source[data-vds]"),l=r??document.createElement("source");Ae(l,"src",this.#e(o.src)),Ae(l,"type",o.type!=="?"?o.type:i),Ae(l,"data-vds",""),r||this.media.append(l)}removeSource(){this.media.querySelector("source[data-vds]")?.remove()}#e(o){const{clipStartTime:i,clipEndTime:r}=this.ctx.$state,l=i(),s=r();return l>0&&s>0?`${o}#t=${l},${s}`:l>0?`${o}#t=${l}`:s>0?`${o}#t=0,${s}`:o}}class Ixe{#e;#t;#o;#n=Ge(!1);get supported(){return this.#n()}constructor(o,i){this.#e=o,this.#t=i,this.#i()}#i(){!this.#e?.remote||!this.canPrompt||(this.#e.remote.watchAvailability(o=>{this.#n.set(o)}).catch(()=>{this.#n.set(!1)}),oe(this.#r.bind(this)))}#r(){if(!this.#n())return;const o=["connecting","connect","disconnect"],i=this.#a.bind(this);i(),vt(this.#e,"playing",i);const r=new xt(this.#e.remote);for(const l of o)r.add(l,i)}async prompt(){if(!this.supported)throw Error("Not supported on this platform.");return this.type==="airplay"&&this.#e.webkitShowPlaybackTargetPicker?this.#e.webkitShowPlaybackTargetPicker():this.#e.remote.prompt()}#a(o){const i=this.#e.remote.state;if(i===this.#o)return;const r={type:this.type,state:i};this.#t.notify("remote-playback-change",r,o),this.#o=i}}class WO extends Ixe{type="airplay";get canPrompt(){return"WebKitPlaybackTargetAvailabilityEvent"in window}}class Sxe extends KO{$$PROVIDER_TYPE="AUDIO";get type(){return"audio"}airPlay;constructor(o,i){super(o,i),No(()=>{this.airPlay=new WO(this.media,i)},this.scope)}setup(){super.setup(),this.type==="audio"&&this.ctx.notify("provider-setup",this)}get audio(){return this.media}}const Txe=Object.freeze(Object.defineProperty({__proto__:null,AudioProvider:Sxe},Symbol.toStringTag,{value:"Module"}));class Exe{#e;#t;constructor(o,i){this.#e=o,this.#t=i,o.textTracks.onaddtrack=this.#o.bind(this),it(this.#n.bind(this))}#o(o){const i=o.track;if(!i||Axe(this.#e,i))return;const r=new Vr({id:i.id,kind:i.kind,label:i.label??"",language:i.language,type:"vtt"});r[ot.native]={track:i},r[ot.readyState]=2,r[ot.nativeHLS]=!0;let l=0;const s=c=>{if(i.cues)for(let d=l;d<i.cues.length;d++)r.addCue(i.cues[d],c),l++};s(o),i.oncuechange=s,this.#t.textTracks.add(r,o),r.setMode(i.mode,o)}#n(){this.#e.textTracks.onaddtrack=null;for(const o of this.#t.textTracks){const i=o[ot.native]?.track;i?.oncuechange&&(i.oncuechange=null)}}}function Axe(n,o){return Array.from(n.children).find(i=>i.track===o)}class Lxe{#e;#t;constructor(o,i){this.#e=o,this.#t=i,new xt(o).add("enterpictureinpicture",this.#o.bind(this)).add("leavepictureinpicture",this.#n.bind(this))}get active(){return document.pictureInPictureElement===this.#e}get supported(){return PI(this.#e)}async enter(){return this.#e.requestPictureInPicture()}exit(){return document.exitPictureInPicture()}#o(o){this.#i(!0,o)}#n(o){this.#i(!1,o)}#i=(o,i)=>{this.#t.notify("picture-in-picture-change",o,i)}}class Oxe{#e;#t;#o="inline";get mode(){return this.#o}constructor(o,i){this.#e=o,this.#t=i,vt(o,"webkitpresentationmodechanged",this.#n.bind(this))}get supported(){return MI(this.#e)}async setPresentationMode(o){this.#o!==o&&this.#e.webkitSetPresentationMode(o)}#n(o){const i=this.#o;this.#o=this.#e.webkitPresentationMode,this.#t.player?.dispatch(new st("video-presentation-change",{detail:this.#o,trigger:o})),["fullscreen","picture-in-picture"].forEach(r=>{(this.#o===r||i===r)&&this.#t.notify(`${r}-change`,this.#o===r,o)})}}class Dxe{#e;get active(){return this.#e.mode==="fullscreen"}get supported(){return this.#e.supported}constructor(o){this.#e=o}async enter(){this.#e.setPresentationMode("fullscreen")}async exit(){this.#e.setPresentationMode("inline")}}class Rxe{#e;get active(){return this.#e.mode==="picture-in-picture"}get supported(){return this.#e.supported}constructor(o){this.#e=o}async enter(){this.#e.setPresentationMode("picture-in-picture")}async exit(){this.#e.setPresentationMode("inline")}}class Cb extends KO{$$PROVIDER_TYPE="VIDEO";get type(){return"video"}airPlay;fullscreen;pictureInPicture;constructor(o,i){super(o,i),No(()=>{if(this.airPlay=new WO(o,i),MI(o)){const r=new Oxe(o,i);this.fullscreen=new Dxe(r),this.pictureInPicture=new Rxe(r)}else PI(o)&&(this.pictureInPicture=new Lxe(o,i))},this.scope)}setup(){super.setup(),BI(this.video)&&new Exe(this.video,this.ctx),this.ctx.textRenderers.attachVideo(this.video),it(()=>{this.ctx.textRenderers.attachVideo(null)}),this.type==="video"&&this.ctx.notify("provider-setup",this)}get video(){return this.media}}const _xe=Object.freeze(Object.defineProperty({__proto__:null,VideoProvider:Cb},Symbol.toStringTag,{value:"Module"})),Bxe=n=>d0(n);class Pxe{#e;#t;#o=null;#n=null;config={};#i=new Set;get instance(){return this.#o}constructor(o,i){this.#e=o,this.#t=i}setup(o){const{streamType:i}=this.#t.$state,r=je(i).includes("live"),l=je(i).includes("ll-");this.#o=new o({lowLatencyMode:l,backBufferLength:l?4:r?8:void 0,renderTextTracksNatively:!1,...this.config});const s=this.#s.bind(this);for(const c of Object.values(o.Events))this.#o.on(c,s);this.#o.on(o.Events.ERROR,this.#y.bind(this));for(const c of this.#i)c(this.#o);this.#t.player.dispatch("hls-instance",{detail:this.#o}),this.#o.attachMedia(this.#e),this.#o.on(o.Events.AUDIO_TRACK_SWITCHED,this.#u.bind(this)),this.#o.on(o.Events.LEVEL_SWITCHED,this.#p.bind(this)),this.#o.on(o.Events.LEVEL_LOADED,this.#m.bind(this)),this.#o.on(o.Events.LEVEL_UPDATED,this.#g.bind(this)),this.#o.on(o.Events.NON_NATIVE_TEXT_TRACKS_FOUND,this.#c.bind(this)),this.#o.on(o.Events.CUES_PARSED,this.#d.bind(this)),this.#t.qualities[Ao.enableAuto]=this.#w.bind(this),vt(this.#t.qualities,"change",this.#f.bind(this)),vt(this.#t.audioTracks,"change",this.#C.bind(this)),this.#n=oe(this.#a.bind(this))}#r(o,i){return new st(Bxe(o),{detail:i})}#a(){if(!this.#t.$state.live())return;const o=new Yd(this.#l.bind(this));return o.start(),o.stop.bind(o)}#l(){this.#t.$state.liveSyncPosition.set(this.#o?.liveSyncPosition??1/0)}#s(o,i){this.#t.player?.dispatch(this.#r(o,i))}#c(o,i){const r=this.#r(o,i);let l=-1;for(let s=0;s<i.tracks.length;s++){const c=i.tracks[s],d=c.subtitleTrack??c.closedCaptions,p=new Vr({id:`hls-${c.kind}-${s}`,src:d?.url,label:c.label,language:d?.lang,kind:c.kind,default:c.default});p[ot.readyState]=2,p[ot.onModeChange]=()=>{p.mode==="showing"?(this.#o.subtitleTrack=s,l=s):l===s&&(this.#o.subtitleTrack=-1,l=-1)},this.#t.textTracks.add(p,r)}}#d(o,i){const r=this.#o?.subtitleTrack,l=this.#t.textTracks.getById(`hls-${i.type}-${r}`);if(!l)return;const s=this.#r(o,i);for(const c of i.cues)c.positionAlign="auto",l.addCue(c,s)}#u(o,i){const r=this.#t.audioTracks[i.id];if(r){const l=this.#r(o,i);this.#t.audioTracks[Xe.select](r,!0,l)}}#p(o,i){const r=this.#t.qualities[i.level];if(r){const l=this.#r(o,i);this.#t.qualities[Xe.select](r,!0,l)}}#g(o,i){i.details.totalduration>0&&this.#t.$state.inferredLiveDVRWindow.set(i.details.totalduration)}#m(o,i){if(this.#t.$state.canPlay())return;const{type:r,live:l,totalduration:s,targetduration:c}=i.details,d=this.#r(o,i);this.#t.notify("stream-type-change",l?r==="EVENT"&&Number.isFinite(s)&&c>=10?"live:dvr":"live":"on-demand",d),this.#t.notify("duration-change",s,d);const p=this.#o.media;this.#o.currentLevel===-1&&this.#t.qualities[Ao.setAuto](!0,d);for(const u of this.#o.audioTracks){const g={id:u.id.toString(),label:u.name,language:u.lang||"",kind:"main"};this.#t.audioTracks[Xe.add](g,d)}for(const u of this.#o.levels){const g={id:u.id?.toString()??u.height+"p",width:u.width,height:u.height,codec:u.codecSet,bitrate:u.bitrate};this.#t.qualities[Xe.add](g,d)}p.dispatchEvent(new st("canplay",{trigger:d}))}#y(o,i){i.fatal&&(i.type==="mediaError"?this.#o?.recoverMediaError():this.#h(i.error))}#h(o){this.#t.notify("error",{message:o.message,code:1,error:o})}#w(){this.#o&&(this.#o.currentLevel=-1)}#f(){const{qualities:o}=this.#t;!this.#o||o.auto||(this.#o[o.switch+"Level"]=o.selectedIndex,m0&&(this.#e.currentTime=this.#e.currentTime))}#C(){const{audioTracks:o}=this.#t;this.#o&&this.#o.audioTrack!==o.selectedIndex&&(this.#o.audioTrack=o.selectedIndex)}onInstance(o){return this.#i.add(o),()=>this.#i.delete(o)}loadSource(o){Me(o.src)&&this.#o?.loadSource(o.src)}destroy(){this.#o?.destroy(),this.#o=null,this.#n?.(),this.#n=null}}class Mxe{#e;#t;#o;constructor(o,i,r){this.#e=o,this.#t=i,this.#o=r,this.#n()}async#n(){const o={onLoadStart:this.#i.bind(this),onLoaded:this.#r.bind(this),onLoadError:this.#a.bind(this)};let i=await Nxe(this.#e,o);if(To(i)&&!Me(this.#e)&&(i=await $xe(this.#e,o)),!i)return null;if(!i.isSupported()){const r="[vidstack] `hls.js` is not supported in this environment";return this.#t.player.dispatch(new st("hls-unsupported")),this.#t.notify("error",{message:r,code:4}),null}return i}#i(){this.#t.player.dispatch(new st("hls-lib-load-start"))}#r(o){this.#t.player.dispatch(new st("hls-lib-loaded",{detail:o})),this.#o(o)}#a(o){const i=jd(o);this.#t.player.dispatch(new st("hls-lib-load-error",{detail:i})),this.#t.notify("error",{message:i.message,code:4,error:i})}}async function $xe(n,o={}){if(!To(n)){if(o.onLoadStart?.(),n.prototype&&n.prototype!==Function)return o.onLoaded?.(n),n;try{const i=(await n())?.default;if(i&&i.isSupported)o.onLoaded?.(i);else throw Error("");return i}catch(i){o.onLoadError?.(i)}}}async function Nxe(n,o={}){if(Me(n)){o.onLoadStart?.();try{if(await _9(n),!ui(window.Hls))throw Error("");const i=window.Hls;return o.onLoaded?.(i),i}catch(i){o.onLoadError?.(i)}}}const Fxe="https://cdn.jsdelivr.net";class qxe extends Cb{$$PROVIDER_TYPE="HLS";#e=null;#t=new Pxe(this.video,this.ctx);get ctor(){return this.#e}get instance(){return this.#t.instance}static supported=b0();get type(){return"hls"}get canLiveSync(){return!0}#o=`${Fxe}/npm/hls.js@^1.5.0/dist/hls.min.js`;get config(){return this.#t.config}set config(o){this.#t.config=o}get library(){return this.#o}set library(o){this.#o=o}preconnect(){Me(this.#o)&&hr(this.#o)}setup(){super.setup(),new Mxe(this.#o,this.ctx,o=>{this.#e=o,this.#t.setup(o),this.ctx.notify("provider-setup",this);const i=je(this.ctx.$state.source);i&&this.loadSource(i)})}async loadSource(o,i){if(!Me(o.src)){this.removeSource();return}this.media.preload=i||"",this.appendSource(o,"application/x-mpegurl"),this.#t.loadSource(o),this.currentSrc=o}onInstance(o){const i=this.#t.instance;return i&&o(i),this.#t.onInstance(o)}destroy(){this.#t.destroy()}}const Uxe=Object.freeze(Object.defineProperty({__proto__:null,HLSProvider:qxe},Symbol.toStringTag,{value:"Module"}));function YO(n){try{return new Intl.DisplayNames(navigator.languages,{type:"language"}).of(n)??null}catch{return null}}const Hxe=n=>`dash-${d0(n)}`;class zxe{#e;#t;#o=null;#n=new Set;#i=null;config={};get instance(){return this.#o}constructor(o,i){this.#e=o,this.#t=i}setup(o){this.#o=o().create();const i=this.#s.bind(this);for(const r of Object.values(o.events))this.#o.on(r,i);this.#o.on(o.events.ERROR,this.#h.bind(this));for(const r of this.#n)r(this.#o);this.#t.player.dispatch("dash-instance",{detail:this.#o}),this.#o.initialize(this.#e,void 0,!1),this.#o.updateSettings({streaming:{text:{defaultEnabled:!1,dispatchForManualRendering:!0},buffer:{fastSwitchEnabled:!0}},...this.config}),this.#o.on(o.events.FRAGMENT_LOADING_STARTED,this.#w.bind(this)),this.#o.on(o.events.FRAGMENT_LOADING_COMPLETED,this.#f.bind(this)),this.#o.on(o.events.MANIFEST_LOADED,this.#y.bind(this)),this.#o.on(o.events.QUALITY_CHANGE_RENDERED,this.#m.bind(this)),this.#o.on(o.events.TEXT_TRACKS_ADDED,this.#p.bind(this)),this.#o.on(o.events.TRACK_CHANGE_RENDERED,this.#g.bind(this)),this.#t.qualities[Ao.enableAuto]=this.#x.bind(this),vt(this.#t.qualities,"change",this.#S.bind(this)),vt(this.#t.audioTracks,"change",this.#T.bind(this)),this.#i=oe(this.#a.bind(this))}#r(o){return new st(Hxe(o.type),{detail:o})}#a(){if(!this.#t.$state.live())return;const o=new Yd(this.#l.bind(this));return o.start(),o.stop.bind(o)}#l(){if(!this.#o)return;const o=this.#o.duration()-this.#o.time();this.#t.$state.liveSyncPosition.set(isNaN(o)?1/0:o)}#s(o){this.#t.player?.dispatch(this.#r(o))}#c=null;#d={};#u(o){const i=this.#c?.[ot.native],r=(i?.track).cues;if(!i||!r)return;const l=this.#c.id,s=this.#d[l]??0,c=this.#r(o);for(let d=s;d<r.length;d++){const p=r[d];p.positionAlign||(p.positionAlign="auto"),this.#c.addCue(p,c)}this.#d[l]=r.length}#p(o){if(!this.#o)return;const i=o.tracks,r=[...this.#e.textTracks].filter(s=>"manualMode"in s),l=this.#r(o);for(let s=0;s<r.length;s++){const c=i[s],d=r[s],p=`dash-${c.kind}-${s}`,u=new Vr({id:p,label:c?.label??c.labels.find(g=>g.text)?.text??(c?.lang&&YO(c.lang))??c?.lang??void 0,language:c.lang??void 0,kind:c.kind,default:c.defaultTrack});u[ot.native]={managed:!0,track:d},u[ot.readyState]=2,u[ot.onModeChange]=()=>{this.#o&&(u.mode==="showing"?(this.#o.setTextTrack(s),this.#c=u):(this.#o.setTextTrack(-1),this.#c=null))},this.#t.textTracks.add(u,l)}}#g(o){const{mediaType:i,newMediaInfo:r}=o;if(i==="audio"){const l=this.#t.audioTracks.getById(`dash-audio-${r.index}`);if(l){const s=this.#r(o);this.#t.audioTracks[Xe.select](l,!0,s)}}}#m(o){if(o.mediaType!=="video")return;const i=this.#t.qualities[o.newQuality];if(i){const r=this.#r(o);this.#t.qualities[Xe.select](i,!0,r)}}#y(o){if(this.#t.$state.canPlay()||!this.#o)return;const{type:i,mediaPresentationDuration:r}=o.data,l=this.#r(o);this.#t.notify("stream-type-change",i!=="static"?"live":"on-demand",l),this.#t.notify("duration-change",r,l),this.#t.qualities[Ao.setAuto](!0,l);const s=this.#o.getVideoElement(),c=this.#o.getTracksForTypeFromManifest("video",o.data),d=[...new Set(c.map(f=>f.mimeType))].find(f=>f&&_I(s,f)),p=c.filter(f=>d===f.mimeType)[0];let u=this.#o.getTracksForTypeFromManifest("audio",o.data);const g=[...new Set(u.map(f=>f.mimeType))].find(f=>f&&RI(s,f));if(u=u.filter(f=>g===f.mimeType),p.bitrateList.forEach((f,m)=>{const h={id:f.id?.toString()??`dash-bitrate-${m}`,width:f.width??0,height:f.height??0,bitrate:f.bandwidth??0,codec:p.codec,index:m};this.#t.qualities[Xe.add](h,l)}),go(p.index)){const f=this.#t.qualities[p.index];f&&this.#t.qualities[Xe.select](f,!0,l)}u.forEach((f,m)=>{const v=f.labels.find(y=>navigator.languages.some(C=>y.lang&&C.toLowerCase().startsWith(y.lang.toLowerCase())))||f.labels[0],k={id:`dash-audio-${f?.index}`,label:v?.text??(f.lang&&YO(f.lang))??f.lang??"",language:f.lang??"",kind:"main",mimeType:f.mimeType,codec:f.codec,index:m};this.#t.audioTracks[Xe.add](k,l)}),s.dispatchEvent(new st("canplay",{trigger:l}))}#h(o){const{type:i,error:r}=o;r.code===27?this.#v(r):this.#b(r)}#w(){this.#C>=0&&this.#k()}#f(o){o.mediaType==="text"&&requestAnimationFrame(this.#u.bind(this,o))}#C=-1;#v(o){this.#k(),this.#o?.play(),this.#C=window.setTimeout(()=>{this.#C=-1,this.#b(o)},5e3)}#k(){clearTimeout(this.#C),this.#C=-1}#b(o){this.#t.notify("error",{message:o.message??"",code:1,error:o})}#x(){this.#I("video",!0);const{qualities:o}=this.#t;this.#o?.setQualityFor("video",o.selectedIndex,!0)}#I(o,i){this.#o?.updateSettings({streaming:{abr:{autoSwitchBitrate:{[o]:i}}}})}#S(){const{qualities:o}=this.#t;!this.#o||o.auto||!o.selected||(this.#I("video",!1),this.#o.setQualityFor("video",o.selectedIndex,o.switch==="current"),m0&&(this.#e.currentTime=this.#e.currentTime))}#T(){if(!this.#o)return;const{audioTracks:o}=this.#t,i=this.#o.getTracksFor("audio").find(r=>o.selected&&o.selected.id===`dash-audio-${r.index}`);i&&this.#o.setCurrentTrack(i)}#A(){this.#k(),this.#c=null,this.#d={}}onInstance(o){return this.#n.add(o),()=>this.#n.delete(o)}loadSource(o){this.#A(),Me(o.src)&&this.#o?.attachSource(o.src)}destroy(){this.#A(),this.#o?.destroy(),this.#o=null,this.#i?.(),this.#i=null}}class Zxe{#e;#t;#o;constructor(o,i,r){this.#e=o,this.#t=i,this.#o=r,this.#n()}async#n(){const o={onLoadStart:this.#i.bind(this),onLoaded:this.#r.bind(this),onLoadError:this.#a.bind(this)};let i=await Kxe(this.#e,o);if(To(i)&&!Me(this.#e)&&(i=await Gxe(this.#e,o)),!i)return null;if(!window.dashjs.supportsMediaSource()){const r="[vidstack] `dash.js` is not supported in this environment";return this.#t.player.dispatch(new st("dash-unsupported")),this.#t.notify("error",{message:r,code:4}),null}return i}#i(){this.#t.player.dispatch(new st("dash-lib-load-start"))}#r(o){this.#t.player.dispatch(new st("dash-lib-loaded",{detail:o})),this.#o(o)}#a(o){const i=jd(o);this.#t.player.dispatch(new st("dash-lib-load-error",{detail:i})),this.#t.notify("error",{message:i.message,code:4,error:i})}}async function Gxe(n,o={}){if(!To(n)){if(o.onLoadStart?.(),Wxe(n))return o.onLoaded?.(n),n;if(XO(n)){const i=n.MediaPlayer;return o.onLoaded?.(i),i}try{const i=(await n())?.default;if(XO(i))return o.onLoaded?.(i.MediaPlayer),i.MediaPlayer;if(i)o.onLoaded?.(i);else throw Error("");return i}catch(i){o.onLoadError?.(i)}}}async function Kxe(n,o={}){if(Me(n)){o.onLoadStart?.();try{if(await _9(n),!ui(window.dashjs.MediaPlayer))throw Error("");const i=window.dashjs.MediaPlayer;return o.onLoaded?.(i),i}catch(i){o.onLoadError?.(i)}}}function Wxe(n){return n&&n.prototype&&n.prototype!==Function}function XO(n){return n&&"MediaPlayer"in n}const Yxe="https://cdn.jsdelivr.net";class Xxe extends Cb{$$PROVIDER_TYPE="DASH";#e=null;#t=new zxe(this.video,this.ctx);get ctor(){return this.#e}get instance(){return this.#t.instance}static supported=$I();get type(){return"dash"}get canLiveSync(){return!0}#o=`${Yxe}/npm/dashjs@4.7.4/dist/dash.all.min.js`;get config(){return this.#t.config}set config(o){this.#t.config=o}get library(){return this.#o}set library(o){this.#o=o}preconnect(){Me(this.#o)&&hr(this.#o)}setup(){super.setup(),new Zxe(this.#o,this.ctx,o=>{this.#e=o,this.#t.setup(o),this.ctx.notify("provider-setup",this);const i=je(this.ctx.$state.source);i&&this.loadSource(i)})}async loadSource(o,i){if(!Me(o.src)){this.removeSource();return}this.media.preload=i||"",this.appendSource(o,"application/x-mpegurl"),this.#t.loadSource(o),this.currentSrc=o}onInstance(o){const i=this.#t.instance;return i&&o(i),this.#t.onInstance(o)}destroy(){this.#t.destroy()}}const Qxe=Object.freeze(Object.defineProperty({__proto__:null,DASHProvider:Xxe},Symbol.toStringTag,{value:"Module"}));class QO{#e;src=Ge("");referrerPolicy=null;get iframe(){return this.#e}constructor(o){this.#e=o,o.setAttribute("frameBorder","0"),o.setAttribute("aria-hidden","true"),o.setAttribute("allow","autoplay; fullscreen; encrypted-media; picture-in-picture; accelerometer; gyroscope"),this.referrerPolicy!==null&&o.setAttribute("referrerpolicy",this.referrerPolicy)}setup(){vt(window,"message",this.#o.bind(this)),vt(this.#e,"load",this.onLoad.bind(this)),oe(this.#t.bind(this))}#t(){const o=this.src();if(!o.length){this.#e.setAttribute("src","");return}const i=je(()=>this.buildParams());this.#e.setAttribute("src",Yhe(o,i))}postMessage(o,i){this.#e.contentWindow?.postMessage(JSON.stringify(o),i??"*")}#o(o){const i=this.getOrigin();if((o.source===null||o.source===this.#e?.contentWindow)&&(!Me(i)||i===o.origin)){try{const l=JSON.parse(o.data);l&&this.onMessage(l,o);return}catch{}o.data&&this.onMessage(o.data,o)}}}const Jxe=/(?:https:\/\/)?(?:player\.)?vimeo(?:\.com)?\/(?:video\/)?(\d+)(?:(?:\?hash=|\?h=|\/)(.*))?/,wb=new Map,op=new Map;function JO(n){const o=n.match(Jxe);return{videoId:o?.[1],hash:o?.[2]}}async function VO(n,o,i){if(wb.has(n))return wb.get(n);if(op.has(n))return op.get(n);let r=`https://vimeo.com/api/oembed.json?url=https://player.vimeo.com/video/${n}`;i&&(r=r.concat(`?h=${i}`));const l=window.fetch(r,{mode:"cors",signal:o.signal}).then(s=>s.json()).then(s=>{const c=/vimeocdn.com\/video\/(.*)?_/,d=s?.thumbnail_url?.match(c)?.[1],p=d?`https://i.vimeocdn.com/video/${d}_1920x1080.webp`:"",u={title:s?.title??"",duration:s?.duration??0,poster:p,pro:s.account_type!=="basic"};return wb.set(n,u),u}).finally(()=>op.delete(n));return op.set(n,l),l}const Vxe=Object.freeze(Object.defineProperty({__proto__:null,getVimeoVideoInfo:VO,resolveVimeoVideoId:JO},Symbol.toStringTag,{value:"Module"})),eIe=["bufferend","bufferstart","durationchange","ended","enterpictureinpicture","error","fullscreenchange","leavepictureinpicture","loaded","playProgress","loadProgress","pause","play","playbackratechange","qualitychange","seeked","seeking","timeupdate","volumechange","waiting"];class tIe extends QO{$$PROVIDER_TYPE="VIMEO";scope=Yr();fullscreen;#e;#t=Ge("");#o=Ge(!1);#n=null;#i=null;#r=!1;#a=new lo(0,0);#l=new Yd(this.#y.bind(this));#s=null;#c=null;#d=new Map;#u=null;constructor(o,i){super(o),this.#e=i;const r=this;this.fullscreen={get active(){return r.#r},supported:!0,enter:()=>this.#j("requestFullscreen"),exit:()=>this.#j("exitFullscreen")}}cookies=!1;title=!0;byline=!0;portrait=!0;color="00ADEF";get type(){return"vimeo"}get currentSrc(){return this.#i}get videoId(){return this.#t()}get hash(){return this.#n}get isPro(){return this.#o()}preconnect(){hr(this.getOrigin())}setup(){super.setup(),oe(this.#p.bind(this)),oe(this.#g.bind(this)),oe(this.#m.bind(this)),this.#e.notify("provider-setup",this)}destroy(){this.#$(),this.fullscreen=void 0;const o="provider destroyed";for(const i of this.#d.values())for(const{reject:r}of i)r(o);this.#d.clear(),this.#j("destroy")}async play(){return this.#j("play")}async pause(){return this.#j("pause")}setMuted(o){this.#j("setMuted",o)}setCurrentTime(o){this.#j("seekTo",o),this.#e.notify("seeking",o)}setVolume(o){this.#j("setVolume",o),this.#j("setMuted",je(this.#e.$state.muted))}setPlaybackRate(o){this.#j("setPlaybackRate",o)}async loadSource(o){if(!Me(o.src)){this.#i=null,this.#n=null,this.#t.set("");return}const{videoId:i,hash:r}=JO(o.src);this.#t.set(i??""),this.#n=r??null,this.#i=o}#p(){this.#$();const o=this.#t();if(!o){this.src.set("");return}this.src.set(`${this.getOrigin()}/video/${o}`),this.#e.notify("load-start")}#g(){const o=this.#t();if(!o)return;const i=nl(),r=new AbortController;return this.#u=i,VO(o,r,this.#n).then(l=>{i.resolve(l)}).catch(l=>{i.reject()}),()=>{i.reject(),r.abort()}}#m(){const o=this.#o(),{$state:i,qualities:r}=this.#e;if(i.canSetPlaybackRate.set(o),r[Xe.setReadonly](!o),o)return vt(r,"change",()=>{if(r.auto)return;const l=r.selected?.id;l&&this.#j("setQuality",l)})}getOrigin(){return"https://player.vimeo.com"}buildParams(){const{keyDisabled:o}=this.#e.$props,{playsInline:i,nativeControls:r}=this.#e.$state,l=r();return{title:this.title,byline:this.byline,color:this.color,portrait:this.portrait,controls:l,h:this.hash,keyboard:l&&!o(),transparent:!0,playsinline:i(),dnt:!this.cookies}}#y(){this.#j("getCurrentTime")}#h=!1;#w(o,i){if(this.#h&&o===0)return;const{realCurrentTime:r,paused:l,bufferedEnd:s,seekableEnd:c,live:d}=this.#e.$state;if(r()===o)return;const p=r();this.#e.notify("time-change",o,i),Math.abs(p-o)>1.5&&(this.#e.notify("seeking",o,i),!l()&&s()<o&&this.#e.notify("waiting",void 0,i)),!d()&&c()-o<.01&&(this.#e.notify("end",void 0,i),this.#h=!0,setTimeout(()=>{this.#h=!1},500))}#f(o,i){this.#e.notify("seeked",o,i)}#C(o){const i=this.#t();this.#u?.promise.then(r=>{if(!r)return;const{title:l,poster:s,duration:c,pro:d}=r;this.#o.set(d),this.#e.notify("title-change",l,o),this.#e.notify("poster-change",s,o),this.#e.notify("duration-change",c,o),this.#v(c,o)}).catch(()=>{i===this.#t()&&(this.#j("getVideoTitle"),this.#j("getDuration"))})}#v(o,i){const{nativeControls:r}=this.#e.$state,l=r();this.#a=new lo(0,o);const s={buffered:new lo(0,0),seekable:this.#a,duration:o};this.#e.delegate.ready(s,i),l||this.#j("_hideOverlay"),this.#j("getQualities"),this.#j("getChapters")}#k(o,i,r){switch(o){case"getVideoTitle":const l=i;this.#e.notify("title-change",l,r);break;case"getDuration":const s=i;this.#e.$state.canPlay()?this.#e.notify("duration-change",s,r):this.#v(s,r);break;case"getCurrentTime":this.#w(i,r);break;case"getBuffered":Eo(i)&&i.length&&this.#T(i[i.length-1][1],r);break;case"setMuted":this.#O(je(this.#e.$state.volume),i,r);break;case"getChapters":this.#_(i);break;case"getQualities":this.#B(i,r);break}this.#N(o)?.resolve()}#b(){for(const o of eIe)this.#j("addEventListener",o)}#x(o){this.#l.stop(),this.#e.notify("pause",void 0,o)}#I(o){this.#l.start(),this.#e.notify("play",void 0,o)}#S(o){const{paused:i}=this.#e.$state;!i()&&!this.#h&&this.#e.notify("playing",void 0,o)}#T(o,i){const r={buffered:new lo(0,o),seekable:this.#a};this.#e.notify("progress",r,i)}#A(o){this.#e.notify("waiting",void 0,o)}#R(o){const{paused:i}=this.#e.$state;i()||this.#e.notify("playing",void 0,o)}#L(o){const{paused:i}=this.#e.$state;i()&&this.#e.notify("play",void 0,o),this.#e.notify("waiting",void 0,o)}#O(o,i,r){const l={volume:o,muted:i};this.#e.notify("volume-change",l,r)}#_(o){if(this.#E(),!o.length)return;const i=new Vr({kind:"chapters",default:!0}),{seekableEnd:r}=this.#e.$state;for(let l=0;l<o.length;l++){const s=o[l],c=o[l+1];i.addCue(new window.VTTCue(s.startTime,c?.startTime??r(),s.title))}this.#c=i,this.#e.textTracks.add(i)}#E(){this.#c&&(this.#e.textTracks.remove(this.#c),this.#c=null)}#B(o,i){this.#e.qualities[Ao.enableAuto]=o.some(r=>r.id==="auto")?()=>this.#j("setQuality","auto"):void 0;for(const r of o){if(r.id==="auto")continue;const l=+r.id.slice(0,-1);isNaN(l)||this.#e.qualities[Xe.add]({id:r.id,width:l*(16/9),height:l,codec:"avc1,h.264",bitrate:-1},i)}this.#P(o.find(r=>r.active),i)}#P({id:o}={},i){if(!o)return;const r=o==="auto",l=this.#e.qualities.getById(o);r?(this.#e.qualities[Ao.setAuto](r,i),this.#e.qualities[Xe.select](void 0,!0,i)):this.#e.qualities[Xe.select](l??void 0,!0,i)}#D(o,i,r){switch(o){case"ready":this.#b();break;case"loaded":this.#C(r);break;case"play":this.#I(r);break;case"playProgress":this.#S(r);break;case"pause":this.#x(r);break;case"loadProgress":this.#T(i.seconds,r);break;case"waiting":this.#L(r);break;case"bufferstart":this.#A(r);break;case"bufferend":this.#R(r);break;case"volumechange":this.#O(i.volume,je(this.#e.$state.muted),r);break;case"durationchange":this.#a=new lo(0,i.duration),this.#e.notify("duration-change",i.duration,r);break;case"playbackratechange":this.#e.notify("rate-change",i.playbackRate,r);break;case"qualitychange":this.#P(i,r);break;case"fullscreenchange":this.#r=i.fullscreen,this.#e.notify("fullscreen-change",i.fullscreen,r);break;case"enterpictureinpicture":this.#e.notify("picture-in-picture-change",!0,r);break;case"leavepictureinpicture":this.#e.notify("picture-in-picture-change",!1,r);break;case"ended":this.#e.notify("end",void 0,r);break;case"error":this.#M(i,r);break;case"seek":case"seeked":this.#f(i.seconds,r);break}}#M(o,i){const{message:r,method:l}=o;l==="setPlaybackRate"&&this.#o.set(!1),l&&this.#N(l)?.reject(r)}onMessage(o,i){o.event?this.#D(o.event,o.data,i):o.method&&this.#k(o.method,o.value,i)}onLoad(){}async#j(o,i){let r=nl(),l=this.#d.get(o);return l||this.#d.set(o,l=[]),l.push(r),this.postMessage({method:o,value:i}),r.promise}#$(){this.#l.stop(),this.#a=new lo(0,0),this.#u=null,this.#s=null,this.#o.set(!1),this.#E()}#N(o){return this.#d.get(o)?.shift()}}const oIe=Object.freeze(Object.defineProperty({__proto__:null,VimeoProvider:tIe},Symbol.toStringTag,{value:"Module"})),nIe=/(?:youtu\.be|youtube|youtube\.com|youtube-nocookie\.com)(?:\/shorts)?\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=|)((?:\w|-){11})/,kb=new Map,np=new Map;function eD(n){return n.match(nIe)?.[1]}async function iIe(n,o){if(kb.has(n))return kb.get(n);if(np.has(n))return np.get(n);const i=new Promise(async r=>{const l=["maxresdefault","sddefault","hqdefault"];for(const s of l)for(const c of[!0,!1]){const d=rIe(n,s,c);if((await fetch(d,{mode:"no-cors",signal:o.signal})).status<400){kb.set(n,d),r(d);return}}}).catch(()=>"").finally(()=>np.delete(n));return np.set(n,i),i}function rIe(n,o,i){return`https://i.ytimg.com/${i?"vi_webp":"vi"}/${n}/${o}.${i?"webp":"jpg"}`}const aIe=Object.freeze(Object.defineProperty({__proto__:null,findYouTubePoster:iIe,resolveYouTubeVideoId:eD},Symbol.toStringTag,{value:"Module"})),cs={Ended:0,Playing:1,Paused:2,Buffering:3,Cued:5};class sIe extends QO{$$PROVIDER_TYPE="YOUTUBE";scope=Yr();#e;#t=Ge("");#o=-1;#n=null;#i=-1;#r=!1;#a=new Map;constructor(o,i){super(o),this.#e=i}language="en";color="red";cookies=!1;get currentSrc(){return this.#n}get type(){return"youtube"}get videoId(){return this.#t()}preconnect(){hr(this.getOrigin())}setup(){super.setup(),oe(this.#c.bind(this)),this.#e.notify("provider-setup",this)}destroy(){this.#f();const o="provider destroyed";for(const i of this.#a.values())for(const{reject:r}of i)r(o);this.#a.clear()}async play(){return this.#d("playVideo")}#l(o){this.#C("playVideo")?.reject(o)}async pause(){return this.#d("pauseVideo")}#s(o){this.#C("pauseVideo")?.reject(o)}setMuted(o){o?this.#d("mute"):this.#d("unMute")}setCurrentTime(o){this.#d("seekTo",o),this.#e.notify("seeking",o)}setVolume(o){this.#d("setVolume",o*100)}setPlaybackRate(o){this.#d("setPlaybackRate",o)}async loadSource(o){if(!Me(o.src)){this.#n=null,this.#t.set("");return}const i=eD(o.src);this.#t.set(i??""),this.#n=o}getOrigin(){return this.cookies?"https://www.youtube.com":"https://www.youtube-nocookie.com"}#c(){this.#f();const o=this.#t();if(!o){this.src.set("");return}this.src.set(`${this.getOrigin()}/embed/${o}`),this.#e.notify("load-start")}buildParams(){const{keyDisabled:o}=this.#e.$props,{muted:i,playsInline:r,nativeControls:l}=this.#e.$state,s=l();return{rel:0,autoplay:0,cc_lang_pref:this.language,cc_load_policy:s?1:void 0,color:this.color,controls:s?1:0,disablekb:!s||o()?1:0,enablejsapi:1,fs:1,hl:this.language,iv_load_policy:s?1:3,mute:i()?1:0,playsinline:r()?1:0}}#d(o,i){let r=nl(),l=this.#a.get(o);return l||this.#a.set(o,l=[]),l.push(r),this.postMessage({event:"command",func:o,args:i?[i]:void 0}),r.promise}onLoad(){window.setTimeout(()=>this.postMessage({event:"listening"}),100)}#u(o){this.#e.notify("loaded-metadata"),this.#e.notify("loaded-data"),this.#e.delegate.ready(void 0,o)}#p(o){this.#C("pauseVideo")?.resolve(),this.#e.notify("pause",void 0,o)}#g(o,i){const{duration:r,realCurrentTime:l}=this.#e.$state,s=this.#o===cs.Ended,c=s?r():o;this.#e.notify("time-change",c,i),!s&&Math.abs(c-l())>1&&this.#e.notify("seeking",c,i)}#m(o,i,r){const l={buffered:new lo(0,o),seekable:i};this.#e.notify("progress",l,r);const{seeking:s,realCurrentTime:c}=this.#e.$state;s()&&o>c()&&this.#y(r)}#y(o){const{paused:i,realCurrentTime:r}=this.#e.$state;window.clearTimeout(this.#i),this.#i=window.setTimeout(()=>{this.#e.notify("seeked",r(),o),this.#i=-1},i()?100:0)}#h(o){const{seeking:i}=this.#e.$state;i()&&this.#y(o),this.#e.notify("pause",void 0,o),this.#e.notify("end",void 0,o)}#w(o,i){const{paused:r,seeking:l}=this.#e.$state,s=o===cs.Playing,c=o===cs.Buffering,d=this.#v("playVideo"),p=r()&&(c||s);if(c&&this.#e.notify("waiting",void 0,i),l()&&s&&this.#y(i),this.#r&&s){this.pause(),this.#r=!1,this.setMuted(this.#e.$state.muted());return}if(!d&&p){this.#r=!0,this.setMuted(!0);return}switch(p&&(this.#C("playVideo")?.resolve(),this.#e.notify("play",void 0,i)),o){case cs.Cued:this.#u(i);break;case cs.Playing:this.#e.notify("playing",void 0,i);break;case cs.Paused:this.#p(i);break;case cs.Ended:this.#h(i);break}this.#o=o}onMessage({info:o},i){if(!o)return;const{title:r,intrinsicDuration:l,playbackRate:s}=this.#e.$state;if(fI(o.videoData)&&o.videoData.title!==r()&&this.#e.notify("title-change",o.videoData.title,i),go(o.duration)&&o.duration!==l()){if(go(o.videoLoadedFraction)){const c=o.progressState?.loaded??o.videoLoadedFraction*o.duration,d=new lo(0,o.duration);this.#m(c,d,i)}this.#e.notify("duration-change",o.duration,i)}if(go(o.playbackRate)&&o.playbackRate!==s()&&this.#e.notify("rate-change",o.playbackRate,i),o.progressState){const{current:c,seekableStart:d,seekableEnd:p,loaded:u,duration:g}=o.progressState;this.#g(c,i),this.#m(u,new lo(d,p),i),g!==l()&&this.#e.notify("duration-change",g,i)}if(go(o.volume)&&mI(o.muted)&&!this.#r){const c={muted:o.muted,volume:o.volume/100};this.#e.notify("volume-change",c,i)}go(o.playerState)&&o.playerState!==this.#o&&this.#w(o.playerState,i)}#f(){this.#o=-1,this.#i=-1,this.#r=!1}#C(o){return this.#a.get(o)?.shift()}#v(o){return!!this.#a.get(o)?.length}}const lIe=Object.freeze(Object.defineProperty({__proto__:null,YouTubeProvider:sIe},Symbol.toStringTag,{value:"Module"}));function cIe(){return"https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"}function dIe(){return!!window.cast?.framework}function pIe(){return!!window.chrome?.cast?.isAvailable}function tD(){return Xd().getCastState()===cast.framework.CastState.CONNECTED}function Xd(){return window.cast.framework.CastContext.getInstance()}function jb(){return Xd().getCurrentSession()}function xb(){return jb()?.getSessionObj().media[0]}function oD(n){return xb()?.media.contentId===n?.src}function uIe(){return{language:"en-US",autoJoinPolicy:chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED,receiverApplicationId:chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,resumeSavedSession:!0,androidReceiverCompatible:!0}}function nD(n){return`Google Cast Error Code: ${n}`}function gIe(n,o){return vt(Xd(),n,o)}class fIe{name="google-cast";target;#e;get cast(){return Xd()}mediaType(){return"video"}canPlay(o){return m0&&!f0&&NI(o)}async prompt(o){let i,r,l;try{i=await this.#t(o),this.#e||(this.#e=new cast.framework.RemotePlayer,new cast.framework.RemotePlayerController(this.#e)),r=o.player.createEvent("google-cast-prompt-open",{trigger:i}),o.player.dispatchEvent(r),this.#i(o,"connecting",r),await this.#o(je(o.$props.googleCast)),o.$state.remotePlaybackInfo.set({deviceName:jb()?.getCastDevice().friendlyName}),tD()&&this.#i(o,"connected",r)}catch(s){const c=s instanceof Error?s:this.#r((s+"").toUpperCase(),"Prompt failed.");throw l=o.player.createEvent("google-cast-prompt-error",{detail:c,trigger:r??i,cancelable:!0}),o.player.dispatch(l),this.#i(o,tD()?"connected":"disconnected",l),c}finally{o.player.dispatch("google-cast-prompt-close",{trigger:l??r??i})}}async load(o){if(!this.#e)throw Error("[vidstack] google cast player was not initialized");return new(await Promise.resolve().then(()=>EIe)).GoogleCastProvider(this.#e,o)}async#t(o){if(dIe())return;const i=o.player.createEvent("google-cast-load-start");o.player.dispatch(i),await _9(cIe()),await customElements.whenDefined("google-cast-launcher");const r=o.player.createEvent("google-cast-loaded",{trigger:i});if(o.player.dispatch(r),!pIe())throw this.#r("CAST_NOT_AVAILABLE","Google Cast not available on this platform.");return r}async#o(o){this.#n(o);const i=await this.cast.requestSession();if(i)throw this.#r(i.toUpperCase(),nD(i))}#n(o){this.cast?.setOptions({...uIe(),...o})}#i(o,i,r){const l={type:"google-cast",state:i};o.notify("remote-playback-change",l,r)}#r(o,i){const r=Error(i);return r.code=o,r}}const mIe=Object.freeze(Object.defineProperty({__proto__:null,GoogleCastLoader:fIe},Symbol.toStringTag,{value:"Module"})),hIe=N9('<svg viewBox="0 0 32 32" fill="none" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"></svg>');function bIe(n,o){const i=F9(hIe);i.innerHTML=Dhe,n.append(i);const r=document.createElement("span");r.classList.add("vds-google-cast-info"),n.append(r);const l=document.createElement("span");l.classList.add("vds-google-cast-device-name"),oe(()=>{const{remotePlaybackInfo:s}=o,c=s();return c?.deviceName&&(l.textContent=c.deviceName,r.append("Google Cast on ",l)),()=>{r.textContent=""}})}const yIe=Object.freeze(Object.defineProperty({__proto__:null,insertContent:bIe},Symbol.toStringTag,{value:"Module"})),vIe=/,/g,CIe="-->";class iD extends gb{parse(o,i){if(o==="")this.c&&(this.l.push(this.c),this.h.onCue?.(this.c),this.c=null),this.e=Kd.None;else if(this.e===Kd.Cue)this.c.text+=(this.c.text?`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Ee, createElementBlock as Ct, openBlock as kt, Fragment as Ce, createElementVNode as Yt, createTextVNode as ke, toRef as Ot, computed as Tt } from "vue";
|
|
2
|
-
import { _ as Oe } from "./install-
|
|
2
|
+
import { _ as Oe } from "./install-Sbp7aowq.js";
|
|
3
3
|
const Te = { class: "time-group" }, Ae = {
|
|
4
4
|
key: 0,
|
|
5
5
|
type: "current",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ab as k, o as v, k as r, ak as S, d as w, n as f, m as b, al as o, U as P, G as C, x as E, am as A, l as m, D as x, v as l } from "./useVidstackSrc-
|
|
2
|
-
import { R as L } from "./vidstack-DqAw8m9J-
|
|
3
|
-
import { g as y, L as u } from "./wt-vidstack-player-
|
|
1
|
+
import { ab as k, o as v, k as r, ak as S, d as w, n as f, m as b, al as o, U as P, G as C, x as E, am as A, l as m, D as x, v as l } from "./useVidstackSrc-ClO9wg8K.js";
|
|
2
|
+
import { R as L } from "./vidstack-DqAw8m9J-DYmsrmBA.js";
|
|
3
|
+
import { g as y, L as u } from "./wt-vidstack-player-BZfPWV-j.js";
|
|
4
4
|
let h = null, d = [], c = [];
|
|
5
5
|
function p() {
|
|
6
6
|
return h ??= new AudioContext();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as d, R as g, W as p, U as u, x as m } from "./useVidstackSrc-
|
|
2
|
-
import { l as C } from "./wt-vidstack-player-
|
|
1
|
+
import { l as d, R as g, W as p, U as u, x as m } from "./useVidstackSrc-ClO9wg8K.js";
|
|
2
|
+
import { l as C } from "./wt-vidstack-player-BZfPWV-j.js";
|
|
3
3
|
function h() {
|
|
4
4
|
return "https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1";
|
|
5
5
|
}
|
|
@@ -86,7 +86,7 @@ class S {
|
|
|
86
86
|
async load(e) {
|
|
87
87
|
if (!this.#e)
|
|
88
88
|
throw Error("[vidstack] google cast player was not initialized");
|
|
89
|
-
return new (await import("./vidstack-google-cast-
|
|
89
|
+
return new (await import("./vidstack-google-cast-BhQBxTy2.js")).GoogleCastProvider(this.#e, e);
|
|
90
90
|
}
|
|
91
91
|
async #r(e) {
|
|
92
92
|
if (f()) return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as e, l as i, m as a, x as o, d as n } from "./useVidstackSrc-
|
|
2
|
-
import { f as c } from "./wt-vidstack-player-
|
|
1
|
+
import { v as e, l as i, m as a, x as o, d as n } from "./useVidstackSrc-ClO9wg8K.js";
|
|
2
|
+
import { f as c } from "./wt-vidstack-player-BZfPWV-j.js";
|
|
3
3
|
class g {
|
|
4
4
|
#t;
|
|
5
5
|
src = e("");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aj as i, m } from "./useVidstackSrc-
|
|
2
|
-
import { c as d, a as l } from "./wt-vidstack-player-
|
|
1
|
+
import { aj as i, m } from "./useVidstackSrc-ClO9wg8K.js";
|
|
2
|
+
import { c as d, a as l } from "./wt-vidstack-player-BZfPWV-j.js";
|
|
3
3
|
const p = /* @__PURE__ */ l(
|
|
4
4
|
'<svg viewBox="0 0 32 32" fill="none" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"></svg>'
|
|
5
5
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as t } from "./useVidstackSrc-
|
|
2
|
-
import { H as r, a as s } from "./vidstack-Bq6c3Bam-
|
|
1
|
+
import { s as t } from "./useVidstackSrc-ClO9wg8K.js";
|
|
2
|
+
import { H as r, a as s } from "./vidstack-Bq6c3Bam-BlM-7O48.js";
|
|
3
3
|
class d extends r {
|
|
4
4
|
$$PROVIDER_TYPE = "AUDIO";
|
|
5
5
|
get type() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as x, Q as S, b as g, T as k, L as u, d as M, l as C } from "./wt-vidstack-player-
|
|
2
|
-
import { a0 as N, d as p, x as R, l as b, m as F, D as l, B as I, Z as P, $, h as _, R as q, b as E, j as H } from "./useVidstackSrc-
|
|
3
|
-
import { VideoProvider as j } from "./vidstack-video-
|
|
4
|
-
import { R as O } from "./vidstack-DqAw8m9J-
|
|
1
|
+
import { p as x, Q as S, b as g, T as k, L as u, d as M, l as C } from "./wt-vidstack-player-BZfPWV-j.js";
|
|
2
|
+
import { a0 as N, d as p, x as R, l as b, m as F, D as l, B as I, Z as P, $, h as _, R as q, b as E, j as H } from "./useVidstackSrc-ClO9wg8K.js";
|
|
3
|
+
import { VideoProvider as j } from "./vidstack-video-B5GT5ihH.js";
|
|
4
|
+
import { R as O } from "./vidstack-DqAw8m9J-DYmsrmBA.js";
|
|
5
5
|
function v(n) {
|
|
6
6
|
try {
|
|
7
7
|
return new Intl.DisplayNames(navigator.languages, { type: "language" }).of(n) ?? null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ab as g, aq as l, o as k, D as u, x as h, l as m, m as y, O as p } from "./useVidstackSrc-
|
|
2
|
-
import { e as n, L as C } from "./wt-vidstack-player-
|
|
3
|
-
import { R as E } from "./vidstack-DqAw8m9J-
|
|
4
|
-
import { g as v, a as L, b as f, h as T, l as S, c as A } from "./vidstack-D2pY00kU-
|
|
1
|
+
import { ab as g, aq as l, o as k, D as u, x as h, l as m, m as y, O as p } from "./useVidstackSrc-ClO9wg8K.js";
|
|
2
|
+
import { e as n, L as C } from "./wt-vidstack-player-BZfPWV-j.js";
|
|
3
|
+
import { R as E } from "./vidstack-DqAw8m9J-DYmsrmBA.js";
|
|
4
|
+
import { g as v, a as L, b as f, h as T, l as S, c as A } from "./vidstack-D2pY00kU-BtzWINpM.js";
|
|
5
5
|
class I {
|
|
6
6
|
#t;
|
|
7
7
|
constructor(t) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as S, Q as v, T as E, b as y, L as u, d as b, l as T } from "./wt-vidstack-player-
|
|
2
|
-
import { H as m, d as l, x as f, l as g, m as k, D as d, B as w, R as x, b as L, j as D } from "./useVidstackSrc-
|
|
3
|
-
import { VideoProvider as C } from "./vidstack-video-
|
|
4
|
-
import { R as H } from "./vidstack-DqAw8m9J-
|
|
1
|
+
import { p as S, Q as v, T as E, b as y, L as u, d as b, l as T } from "./wt-vidstack-player-BZfPWV-j.js";
|
|
2
|
+
import { H as m, d as l, x as f, l as g, m as k, D as d, B as w, R as x, b as L, j as D } from "./useVidstackSrc-ClO9wg8K.js";
|
|
3
|
+
import { VideoProvider as C } from "./vidstack-video-B5GT5ihH.js";
|
|
4
|
+
import { R as H } from "./vidstack-DqAw8m9J-DYmsrmBA.js";
|
|
5
5
|
const I = (r) => w(r);
|
|
6
6
|
class A {
|
|
7
7
|
#e;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as l, an as o, ao as u, ap as p, o as h, l as P, D as f, n as g } from "./useVidstackSrc-
|
|
2
|
-
import { H as k, a as m } from "./vidstack-Bq6c3Bam-
|
|
3
|
-
import { T as x, b as n } from "./wt-vidstack-player-
|
|
1
|
+
import { s as l, an as o, ao as u, ap as p, o as h, l as P, D as f, n as g } from "./useVidstackSrc-ClO9wg8K.js";
|
|
2
|
+
import { H as k, a as m } from "./vidstack-Bq6c3Bam-BlM-7O48.js";
|
|
3
|
+
import { T as x, b as n } from "./wt-vidstack-player-BZfPWV-j.js";
|
|
4
4
|
class T {
|
|
5
5
|
#t;
|
|
6
6
|
#i;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ab as y, v as u, m as c, x as l, d as b, f as d, l as v, i as k } from "./useVidstackSrc-
|
|
2
|
-
import { e as o, p as m, L as r, T as w, Q as f } from "./wt-vidstack-player-
|
|
3
|
-
import { R as P } from "./vidstack-DqAw8m9J-
|
|
4
|
-
import { E as T } from "./vidstack-DDXt6fpN-
|
|
1
|
+
import { ab as y, v as u, m as c, x as l, d as b, f as d, l as v, i as k } from "./useVidstackSrc-ClO9wg8K.js";
|
|
2
|
+
import { e as o, p as m, L as r, T as w, Q as f } from "./wt-vidstack-player-BZfPWV-j.js";
|
|
3
|
+
import { R as P } from "./vidstack-DqAw8m9J-DYmsrmBA.js";
|
|
4
|
+
import { E as T } from "./vidstack-DDXt6fpN-C5yRKA6_.js";
|
|
5
5
|
import { resolveVimeoVideoId as C, getVimeoVideoInfo as g } from "./vidstack-krOAtKMi-C50BTxmn.js";
|
|
6
6
|
const $ = [
|
|
7
7
|
"bufferend",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ab as p, v as y, m, d as f, f as g, aa as b, h as d, ai as v } from "./useVidstackSrc-
|
|
2
|
-
import { p as k, e as u } from "./wt-vidstack-player-
|
|
3
|
-
import { E as P } from "./vidstack-DDXt6fpN-
|
|
1
|
+
import { ab as p, v as y, m, d as f, f as g, aa as b, h as d, ai as v } from "./useVidstackSrc-ClO9wg8K.js";
|
|
2
|
+
import { p as k, e as u } from "./wt-vidstack-player-BZfPWV-j.js";
|
|
3
|
+
import { E as P } from "./vidstack-DDXt6fpN-C5yRKA6_.js";
|
|
4
4
|
import { resolveYouTubeVideoId as w } from "./vidstack-Dm1xEU9Q-CXHNvShT.js";
|
|
5
5
|
const r = {
|
|
6
6
|
Ended: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as O, createElementBlock as u, openBlock as f, renderSlot as a, normalizeProps as i, guardReactiveProps as c, Fragment as S, renderList as D, createVNode as k, mergeProps as v, unref as y } from "vue";
|
|
2
|
-
import { I as e, _ as g, a as C, k as $, S as h } from "./install-
|
|
2
|
+
import { I as e, _ as g, a as C, k as $, S as h } from "./install-Sbp7aowq.js";
|
|
3
3
|
const b = [
|
|
4
4
|
e.ADD,
|
|
5
5
|
e.ADD_CONTACT,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as y, useTemplateRef as C, resolveComponent as s, resolveDirective as g, withDirectives as S, createElementBlock as B, openBlock as $, createVNode as n, mergeProps as d, withCtx as i, renderSlot as x, normalizeClass as h } from "vue";
|
|
2
|
-
import { _ as D } from "./install-
|
|
2
|
+
import { _ as D } from "./install-Sbp7aowq.js";
|
|
3
3
|
const O = {
|
|
4
4
|
__name: "wt-button-select",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as h, computed as i, resolveComponent as a, createBlock as m, openBlock as _, withCtx as u, createElementVNode as k, createVNode as I, createTextVNode as V, toDisplayString as N, createCommentVNode as T } from "vue";
|
|
2
2
|
import { E as s } from "./engineCallFileType-yaadA7-2.js";
|
|
3
|
-
import { _ as b } from "./install-
|
|
3
|
+
import { _ as b } from "./install-Sbp7aowq.js";
|
|
4
4
|
const E = { class: "wt-call-media-action__option" }, O = /* @__PURE__ */ h({
|
|
5
5
|
__name: "wt-call-media-action",
|
|
6
6
|
props: {
|