@webitel/ui-sdk 25.10.97 → 25.10.98
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/{install-Bpa6DT7M.js → install-Dq0Lm0I9.js} +334 -326
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +5 -5
- package/dist/{vidstack-Bq6c3Bam-lhgdacan.js → vidstack-Bq6c3Bam-DkyyXAwo.js} +2 -2
- package/dist/{vidstack-D2pY00kU-g140a2PT.js → vidstack-D2pY00kU-Dk2nPGS-.js} +2 -2
- package/dist/{vidstack-DDXt6fpN-B60Ps1sl.js → vidstack-DDXt6fpN-BDtEYq5x.js} +1 -1
- package/dist/{vidstack-D_-9AA6_-0I8lNOun.js → vidstack-D_-9AA6_-CyEDvryK.js} +1 -1
- package/dist/{vidstack-DqAw8m9J-DGjQMjtu.js → vidstack-DqAw8m9J-MiDSjIWF.js} +1 -1
- package/dist/{vidstack-audio-DOuZRfiy.js → vidstack-audio-D_eLF80B.js} +2 -2
- package/dist/{vidstack-dash-D6p2XG3a.js → vidstack-dash-Djuu18NL.js} +3 -3
- package/dist/{vidstack-google-cast-Dp4TleWN.js → vidstack-google-cast-DQyBY_sd.js} +3 -3
- package/dist/{vidstack-hls-bog_GtW2.js → vidstack-hls-D16ReaTx.js} +3 -3
- package/dist/{vidstack-video-Cmd3MW4O.js → vidstack-video-Cy44pHC0.js} +2 -2
- package/dist/{vidstack-vimeo-B_G2kMhX.js → vidstack-vimeo-DSooRKEh.js} +3 -3
- package/dist/{vidstack-youtube-DGX4CUEn.js → vidstack-youtube-CXQ7CUgz.js} +2 -2
- package/package.json +2 -2
- package/src/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue +11 -5
- package/src/locale/en/en.js +27 -0
- package/src/locale/es/es.js +27 -0
- package/src/locale/kz/kz.js +27 -0
- package/src/locale/pl/pl.js +27 -0
- package/src/locale/ro/ro.js +27 -0
- package/src/locale/ru/ru.js +27 -0
- package/src/locale/uk/uk.js +27 -0
- package/src/locale/uz/uz.js +27 -1
- package/src/locale/vi/vi.js +27 -0
- package/types/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue.d.ts +10 -1
- package/types/locale/en/en.d.ts +27 -0
- package/types/locale/es/es.d.ts +33 -0
- package/types/locale/i18n.d.ts +243 -0
- package/types/locale/index.d.ts +243 -0
- package/types/locale/kz/kz.d.ts +33 -0
- package/types/locale/pl/pl.d.ts +33 -0
- package/types/locale/ro/ro.d.ts +33 -0
- package/types/locale/ru/ru.d.ts +33 -0
- package/types/locale/uk/uk.d.ts +33 -0
- package/types/locale/uz/uz.d.ts +33 -0
- package/types/locale/vi/vi.d.ts +33 -0
|
@@ -13,7 +13,7 @@ var TC = (o, i, n, a) => ({
|
|
|
13
13
|
return v(o, i, a);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import { ref as Pe, onBeforeUnmount as zf, resolveComponent as he, resolveDirective as no, withDirectives as st, createElementBlock as L, openBlock as k, createVNode as ke, createCommentVNode as N, nextTick as _a, defineComponent as Lt, computed as ge, renderSlot as Q, toDisplayString as Ie, createTextVNode as Ke, unref as se, withCtx as ce, Fragment as Be, renderList as tt, createElementVNode as U, normalizeClass as Ae, vShow as Ii, getCurrentInstance as cu, inject as Ou, shallowRef as gd, watch as to, onMounted as
|
|
16
|
+
import { ref as Pe, onBeforeUnmount as zf, resolveComponent as he, resolveDirective as no, withDirectives as st, createElementBlock as L, openBlock as k, createVNode as ke, createCommentVNode as N, nextTick as _a, defineComponent as Lt, computed as ge, renderSlot as Q, toDisplayString as Ie, createTextVNode as Ke, unref as se, withCtx as ce, Fragment as Be, renderList as tt, createElementVNode as U, normalizeClass as Ae, vShow as Ii, getCurrentInstance as cu, inject as Ou, shallowRef as gd, watch as to, onMounted as Ho, onUnmounted as ds, h as X_, Text as UV, createBlock as oe, mergeProps as B, Transition as Si, normalizeProps as ut, guardReactiveProps as St, withModifiers as Mt, normalizeStyle as Bo, effectScope as VV, reactive as yp, useAttrs as Q3, useTemplateRef as hd, mergeModels as pu, useModel as uu, useSlots as cs, toRef as fu, isRef as Xd, createSlots as Lo, resolveDynamicComponent as et, Teleport as Q_, withKeys as xt, getCurrentScope as Q7, onScopeDispose as J7, onBeforeUpdate as HV, readonly as J_, customRef as KV, toValue as Tn, isReactive as GV, toRefs as J3, TransitionGroup as eO, toHandlers as tr, shallowReadonly as qp, provide as WV, useId as ZV } from "vue";
|
|
17
17
|
import "@aliasedDeps/api-services/axios";
|
|
18
18
|
const YV = (o) => o.replace(
|
|
19
19
|
/([a-z])([_])([a-z])/g,
|
|
@@ -10740,7 +10740,7 @@ function mae(o, i = !1) {
|
|
|
10740
10740
|
}
|
|
10741
10741
|
function bae(o, i, n) {
|
|
10742
10742
|
let a = null;
|
|
10743
|
-
|
|
10743
|
+
Ho(() => {
|
|
10744
10744
|
if (Xe.env.NODE_ENV !== "production" && i.vnode.el) {
|
|
10745
10745
|
i.vnode.el.__VUE_I18N__ = n, a = kie();
|
|
10746
10746
|
const s = n;
|
|
@@ -11250,7 +11250,7 @@ const Jae = [
|
|
|
11250
11250
|
], ere = [
|
|
11251
11251
|
(o) => o,
|
|
11252
11252
|
(o) => (o.response && o.response.status === 401 && (console.warn("intercepted 401"), localStorage.removeItem("access-token")), Promise.reject(o))
|
|
11253
|
-
],
|
|
11253
|
+
], go = () => {
|
|
11254
11254
|
const o = {
|
|
11255
11255
|
arrayFormat: "repeat"
|
|
11256
11256
|
};
|
|
@@ -12329,7 +12329,7 @@ class kre {
|
|
|
12329
12329
|
this.apiKey = i.apiKey, this.username = i.username, this.password = i.password, this.accessToken = i.accessToken, this.basePath = i.basePath, this.baseOptions = i.baseOptions;
|
|
12330
12330
|
}
|
|
12331
12331
|
}
|
|
12332
|
-
const
|
|
12332
|
+
const Mo = () => new kre({
|
|
12333
12333
|
basePath: "/api",
|
|
12334
12334
|
apiKey: localStorage.getItem("access-key") || "",
|
|
12335
12335
|
accessToken: localStorage.getItem("access-key") || ""
|
|
@@ -12813,7 +12813,7 @@ const tse = (o = "search") => (i) => {
|
|
|
12813
12813
|
}
|
|
12814
12814
|
}
|
|
12815
12815
|
})), CR = (o) => {
|
|
12816
|
-
const i =
|
|
12816
|
+
const i = go();
|
|
12817
12817
|
return {
|
|
12818
12818
|
getPermissionsList: async ({ parentId: s, ...l }) => {
|
|
12819
12819
|
const d = ["page", "size", "q", "sort", "fields", "id"], p = {
|
|
@@ -57116,74 +57116,76 @@ r({
|
|
|
57116
57116
|
}).optional()
|
|
57117
57117
|
}).optional()
|
|
57118
57118
|
});
|
|
57119
|
-
|
|
57120
|
-
|
|
57121
|
-
|
|
57122
|
-
|
|
57123
|
-
|
|
57124
|
-
|
|
57125
|
-
|
|
57126
|
-
|
|
57127
|
-
|
|
57128
|
-
|
|
57129
|
-
|
|
57130
|
-
|
|
57131
|
-
|
|
57132
|
-
|
|
57133
|
-
|
|
57134
|
-
|
|
57135
|
-
|
|
57136
|
-
|
|
57137
|
-
|
|
57138
|
-
|
|
57139
|
-
|
|
57140
|
-
|
|
57141
|
-
|
|
57142
|
-
|
|
57143
|
-
|
|
57119
|
+
go();
|
|
57120
|
+
Mo();
|
|
57121
|
+
go();
|
|
57122
|
+
Mo();
|
|
57123
|
+
go();
|
|
57124
|
+
Mo();
|
|
57125
|
+
go();
|
|
57126
|
+
Mo();
|
|
57127
|
+
go();
|
|
57128
|
+
Mo();
|
|
57129
|
+
go();
|
|
57130
|
+
Mo();
|
|
57131
|
+
go();
|
|
57132
|
+
Mo();
|
|
57133
|
+
go();
|
|
57134
|
+
Mo();
|
|
57135
|
+
go();
|
|
57136
|
+
Mo();
|
|
57137
|
+
go();
|
|
57138
|
+
go();
|
|
57139
|
+
Mo();
|
|
57140
|
+
go();
|
|
57141
|
+
Mo();
|
|
57142
|
+
go();
|
|
57143
|
+
Mo();
|
|
57144
57144
|
const due = "/contacts/groups";
|
|
57145
57145
|
({
|
|
57146
57146
|
...CR(due)
|
|
57147
57147
|
});
|
|
57148
|
-
|
|
57149
|
-
|
|
57150
|
-
|
|
57151
|
-
|
|
57152
|
-
|
|
57153
|
-
|
|
57154
|
-
|
|
57155
|
-
|
|
57156
|
-
|
|
57157
|
-
|
|
57158
|
-
|
|
57148
|
+
go();
|
|
57149
|
+
Mo();
|
|
57150
|
+
go();
|
|
57151
|
+
go();
|
|
57152
|
+
Mo();
|
|
57153
|
+
go();
|
|
57154
|
+
Mo();
|
|
57155
|
+
go();
|
|
57156
|
+
Mo();
|
|
57157
|
+
go();
|
|
57158
|
+
Mo();
|
|
57159
57159
|
localStorage.getItem("access-token");
|
|
57160
57160
|
ci.create({
|
|
57161
57161
|
headers: {
|
|
57162
57162
|
"content-type": "multipart/form-data"
|
|
57163
57163
|
}
|
|
57164
57164
|
});
|
|
57165
|
-
|
|
57166
|
-
|
|
57167
|
-
|
|
57168
|
-
|
|
57169
|
-
|
|
57170
|
-
|
|
57171
|
-
|
|
57172
|
-
|
|
57173
|
-
|
|
57174
|
-
|
|
57175
|
-
|
|
57165
|
+
go();
|
|
57166
|
+
Mo();
|
|
57167
|
+
go();
|
|
57168
|
+
Mo();
|
|
57169
|
+
go();
|
|
57170
|
+
Mo();
|
|
57171
|
+
go();
|
|
57172
|
+
Mo();
|
|
57173
|
+
go();
|
|
57174
|
+
Mo();
|
|
57175
|
+
go();
|
|
57176
57176
|
const cue = "/users";
|
|
57177
57177
|
({
|
|
57178
57178
|
...CR(cue)
|
|
57179
57179
|
});
|
|
57180
|
-
|
|
57181
|
-
|
|
57182
|
-
|
|
57183
|
-
|
|
57184
|
-
|
|
57185
|
-
|
|
57186
|
-
|
|
57180
|
+
go();
|
|
57181
|
+
go();
|
|
57182
|
+
Mo();
|
|
57183
|
+
go();
|
|
57184
|
+
Mo();
|
|
57185
|
+
go();
|
|
57186
|
+
Mo();
|
|
57187
|
+
go();
|
|
57188
|
+
Mo();
|
|
57187
57189
|
const pue = {
|
|
57188
57190
|
__name: "wt-transition",
|
|
57189
57191
|
props: {
|
|
@@ -60474,13 +60476,13 @@ function ffe(o, i) {
|
|
|
60474
60476
|
function Hl(o, i) {
|
|
60475
60477
|
return Rt(o, i == null ? void 0 : i.in).getMinutes();
|
|
60476
60478
|
}
|
|
60477
|
-
function
|
|
60479
|
+
function No(o, i) {
|
|
60478
60480
|
return Rt(o, i == null ? void 0 : i.in).getMonth();
|
|
60479
60481
|
}
|
|
60480
60482
|
function yu(o) {
|
|
60481
60483
|
return Rt(o).getSeconds();
|
|
60482
60484
|
}
|
|
60483
|
-
function
|
|
60485
|
+
function zo(o, i) {
|
|
60484
60486
|
return Rt(o, i == null ? void 0 : i.in).getFullYear();
|
|
60485
60487
|
}
|
|
60486
60488
|
function Wv(o, i) {
|
|
@@ -60536,7 +60538,7 @@ class yfe extends YR {
|
|
|
60536
60538
|
return a.timestampIsSet ? n : Eo(n, hfe(n, this.context));
|
|
60537
60539
|
}
|
|
60538
60540
|
}
|
|
60539
|
-
class
|
|
60541
|
+
class yo {
|
|
60540
60542
|
run(i, n, a, s) {
|
|
60541
60543
|
const l = this.parse(i, n, a, s);
|
|
60542
60544
|
return l ? {
|
|
@@ -60554,7 +60556,7 @@ class go {
|
|
|
60554
60556
|
return !0;
|
|
60555
60557
|
}
|
|
60556
60558
|
}
|
|
60557
|
-
class vfe extends
|
|
60559
|
+
class vfe extends yo {
|
|
60558
60560
|
constructor() {
|
|
60559
60561
|
super(...arguments);
|
|
60560
60562
|
ee(this, "priority", 140);
|
|
@@ -60715,7 +60717,7 @@ function QR(o, i) {
|
|
|
60715
60717
|
function JR(o) {
|
|
60716
60718
|
return o % 400 === 0 || o % 4 === 0 && o % 100 !== 0;
|
|
60717
60719
|
}
|
|
60718
|
-
class wfe extends
|
|
60720
|
+
class wfe extends yo {
|
|
60719
60721
|
constructor() {
|
|
60720
60722
|
super(...arguments);
|
|
60721
60723
|
ee(this, "priority", 130);
|
|
@@ -60756,7 +60758,7 @@ class wfe extends go {
|
|
|
60756
60758
|
return n.setFullYear(d, 0, 1), n.setHours(0, 0, 0, 0), n;
|
|
60757
60759
|
}
|
|
60758
60760
|
}
|
|
60759
|
-
class Cfe extends
|
|
60761
|
+
class Cfe extends yo {
|
|
60760
60762
|
constructor() {
|
|
60761
60763
|
super(...arguments);
|
|
60762
60764
|
ee(this, "priority", 130);
|
|
@@ -60815,7 +60817,7 @@ class Cfe extends go {
|
|
|
60815
60817
|
return n.setFullYear(p, 0, l.firstWeekContainsDate), n.setHours(0, 0, 0, 0), Xr(n, l);
|
|
60816
60818
|
}
|
|
60817
60819
|
}
|
|
60818
|
-
class kfe extends
|
|
60820
|
+
class kfe extends yo {
|
|
60819
60821
|
constructor() {
|
|
60820
60822
|
super(...arguments);
|
|
60821
60823
|
ee(this, "priority", 130);
|
|
@@ -60845,7 +60847,7 @@ class kfe extends go {
|
|
|
60845
60847
|
return l.setFullYear(s, 0, 4), l.setHours(0, 0, 0, 0), gu(l);
|
|
60846
60848
|
}
|
|
60847
60849
|
}
|
|
60848
|
-
class xfe extends
|
|
60850
|
+
class xfe extends yo {
|
|
60849
60851
|
constructor() {
|
|
60850
60852
|
super(...arguments);
|
|
60851
60853
|
ee(this, "priority", 130);
|
|
@@ -60858,7 +60860,7 @@ class xfe extends go {
|
|
|
60858
60860
|
return n.setFullYear(s, 0, 1), n.setHours(0, 0, 0, 0), n;
|
|
60859
60861
|
}
|
|
60860
60862
|
}
|
|
60861
|
-
class Ife extends
|
|
60863
|
+
class Ife extends yo {
|
|
60862
60864
|
constructor() {
|
|
60863
60865
|
super(...arguments);
|
|
60864
60866
|
ee(this, "priority", 120);
|
|
@@ -60925,7 +60927,7 @@ class Ife extends go {
|
|
|
60925
60927
|
return n.setMonth((s - 1) * 3, 1), n.setHours(0, 0, 0, 0), n;
|
|
60926
60928
|
}
|
|
60927
60929
|
}
|
|
60928
|
-
class Sfe extends
|
|
60930
|
+
class Sfe extends yo {
|
|
60929
60931
|
constructor() {
|
|
60930
60932
|
super(...arguments);
|
|
60931
60933
|
ee(this, "priority", 120);
|
|
@@ -60992,7 +60994,7 @@ class Sfe extends go {
|
|
|
60992
60994
|
return n.setMonth((s - 1) * 3, 1), n.setHours(0, 0, 0, 0), n;
|
|
60993
60995
|
}
|
|
60994
60996
|
}
|
|
60995
|
-
class Afe extends
|
|
60997
|
+
class Afe extends yo {
|
|
60996
60998
|
constructor() {
|
|
60997
60999
|
super(...arguments);
|
|
60998
61000
|
ee(this, "incompatibleTokens", [
|
|
@@ -61060,7 +61062,7 @@ class Afe extends go {
|
|
|
61060
61062
|
return n.setMonth(s, 1), n.setHours(0, 0, 0, 0), n;
|
|
61061
61063
|
}
|
|
61062
61064
|
}
|
|
61063
|
-
class Tfe extends
|
|
61065
|
+
class Tfe extends yo {
|
|
61064
61066
|
constructor() {
|
|
61065
61067
|
super(...arguments);
|
|
61066
61068
|
ee(this, "priority", 110);
|
|
@@ -61132,7 +61134,7 @@ function Efe(o, i, n) {
|
|
|
61132
61134
|
const a = Rt(o, n == null ? void 0 : n.in), s = Gv(a, n) - i;
|
|
61133
61135
|
return a.setDate(a.getDate() - s * 7), Rt(a, n == null ? void 0 : n.in);
|
|
61134
61136
|
}
|
|
61135
|
-
class _fe extends
|
|
61137
|
+
class _fe extends yo {
|
|
61136
61138
|
constructor() {
|
|
61137
61139
|
super(...arguments);
|
|
61138
61140
|
ee(this, "priority", 100);
|
|
@@ -61173,7 +61175,7 @@ function Ofe(o, i, n) {
|
|
|
61173
61175
|
const a = Rt(o, n == null ? void 0 : n.in), s = Hv(a, n) - i;
|
|
61174
61176
|
return a.setDate(a.getDate() - s * 7), a;
|
|
61175
61177
|
}
|
|
61176
|
-
class Dfe extends
|
|
61178
|
+
class Dfe extends yo {
|
|
61177
61179
|
constructor() {
|
|
61178
61180
|
super(...arguments);
|
|
61179
61181
|
ee(this, "priority", 100);
|
|
@@ -61225,7 +61227,7 @@ const Rfe = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Lfe = [
|
|
|
61225
61227
|
30,
|
|
61226
61228
|
31
|
|
61227
61229
|
];
|
|
61228
|
-
class Pfe extends
|
|
61230
|
+
class Pfe extends yo {
|
|
61229
61231
|
constructor() {
|
|
61230
61232
|
super(...arguments);
|
|
61231
61233
|
ee(this, "priority", 90);
|
|
@@ -61263,7 +61265,7 @@ class Pfe extends go {
|
|
|
61263
61265
|
return n.setDate(s), n.setHours(0, 0, 0, 0), n;
|
|
61264
61266
|
}
|
|
61265
61267
|
}
|
|
61266
|
-
class Bfe extends
|
|
61268
|
+
class Bfe extends yo {
|
|
61267
61269
|
constructor() {
|
|
61268
61270
|
super(...arguments);
|
|
61269
61271
|
ee(this, "priority", 90);
|
|
@@ -61310,7 +61312,7 @@ function Xv(o, i, n) {
|
|
|
61310
61312
|
const a = Ap(), s = (n == null ? void 0 : n.weekStartsOn) ?? ((y = (g = n == null ? void 0 : n.locale) == null ? void 0 : g.options) == null ? void 0 : y.weekStartsOn) ?? a.weekStartsOn ?? ((S = (w = a.locale) == null ? void 0 : w.options) == null ? void 0 : S.weekStartsOn) ?? 0, l = Rt(o, n == null ? void 0 : n.in), d = l.getDay(), u = (i % 7 + 7) % 7, h = 7 - s, b = i < 0 || i > 6 ? i - (d + h) % 7 : (u + h) % 7 - (d + h) % 7;
|
|
61311
61313
|
return Kr(l, b, n);
|
|
61312
61314
|
}
|
|
61313
|
-
class $fe extends
|
|
61315
|
+
class $fe extends yo {
|
|
61314
61316
|
constructor() {
|
|
61315
61317
|
super(...arguments);
|
|
61316
61318
|
ee(this, "priority", 90);
|
|
@@ -61351,7 +61353,7 @@ class $fe extends go {
|
|
|
61351
61353
|
return n = Xv(n, s, l), n.setHours(0, 0, 0, 0), n;
|
|
61352
61354
|
}
|
|
61353
61355
|
}
|
|
61354
|
-
class Mfe extends
|
|
61356
|
+
class Mfe extends yo {
|
|
61355
61357
|
constructor() {
|
|
61356
61358
|
super(...arguments);
|
|
61357
61359
|
ee(this, "priority", 90);
|
|
@@ -61422,7 +61424,7 @@ class Mfe extends go {
|
|
|
61422
61424
|
return n = Xv(n, s, l), n.setHours(0, 0, 0, 0), n;
|
|
61423
61425
|
}
|
|
61424
61426
|
}
|
|
61425
|
-
class jfe extends
|
|
61427
|
+
class jfe extends yo {
|
|
61426
61428
|
constructor() {
|
|
61427
61429
|
super(...arguments);
|
|
61428
61430
|
ee(this, "priority", 90);
|
|
@@ -61497,7 +61499,7 @@ function qfe(o, i, n) {
|
|
|
61497
61499
|
const a = Rt(o, n == null ? void 0 : n.in), s = ffe(a, n), l = i - s;
|
|
61498
61500
|
return Kr(a, l, n);
|
|
61499
61501
|
}
|
|
61500
|
-
class Ffe extends
|
|
61502
|
+
class Ffe extends yo {
|
|
61501
61503
|
constructor() {
|
|
61502
61504
|
super(...arguments);
|
|
61503
61505
|
ee(this, "priority", 90);
|
|
@@ -61593,7 +61595,7 @@ class Ffe extends go {
|
|
|
61593
61595
|
return n = qfe(n, s), n.setHours(0, 0, 0, 0), n;
|
|
61594
61596
|
}
|
|
61595
61597
|
}
|
|
61596
|
-
class Nfe extends
|
|
61598
|
+
class Nfe extends yo {
|
|
61597
61599
|
constructor() {
|
|
61598
61600
|
super(...arguments);
|
|
61599
61601
|
ee(this, "priority", 80);
|
|
@@ -61634,7 +61636,7 @@ class Nfe extends go {
|
|
|
61634
61636
|
return n.setHours(Yv(s), 0, 0, 0), n;
|
|
61635
61637
|
}
|
|
61636
61638
|
}
|
|
61637
|
-
class zfe extends
|
|
61639
|
+
class zfe extends yo {
|
|
61638
61640
|
constructor() {
|
|
61639
61641
|
super(...arguments);
|
|
61640
61642
|
ee(this, "priority", 80);
|
|
@@ -61675,7 +61677,7 @@ class zfe extends go {
|
|
|
61675
61677
|
return n.setHours(Yv(s), 0, 0, 0), n;
|
|
61676
61678
|
}
|
|
61677
61679
|
}
|
|
61678
|
-
class Ufe extends
|
|
61680
|
+
class Ufe extends yo {
|
|
61679
61681
|
constructor() {
|
|
61680
61682
|
super(...arguments);
|
|
61681
61683
|
ee(this, "priority", 80);
|
|
@@ -61716,7 +61718,7 @@ class Ufe extends go {
|
|
|
61716
61718
|
return n.setHours(Yv(s), 0, 0, 0), n;
|
|
61717
61719
|
}
|
|
61718
61720
|
}
|
|
61719
|
-
class Vfe extends
|
|
61721
|
+
class Vfe extends yo {
|
|
61720
61722
|
constructor() {
|
|
61721
61723
|
super(...arguments);
|
|
61722
61724
|
ee(this, "priority", 70);
|
|
@@ -61740,7 +61742,7 @@ class Vfe extends go {
|
|
|
61740
61742
|
return l && s < 12 ? n.setHours(s + 12, 0, 0, 0) : !l && s === 12 ? n.setHours(0, 0, 0, 0) : n.setHours(s, 0, 0, 0), n;
|
|
61741
61743
|
}
|
|
61742
61744
|
}
|
|
61743
|
-
class Hfe extends
|
|
61745
|
+
class Hfe extends yo {
|
|
61744
61746
|
constructor() {
|
|
61745
61747
|
super(...arguments);
|
|
61746
61748
|
ee(this, "priority", 70);
|
|
@@ -61763,7 +61765,7 @@ class Hfe extends go {
|
|
|
61763
61765
|
return n.setHours(s, 0, 0, 0), n;
|
|
61764
61766
|
}
|
|
61765
61767
|
}
|
|
61766
|
-
class Kfe extends
|
|
61768
|
+
class Kfe extends yo {
|
|
61767
61769
|
constructor() {
|
|
61768
61770
|
super(...arguments);
|
|
61769
61771
|
ee(this, "priority", 70);
|
|
@@ -61786,7 +61788,7 @@ class Kfe extends go {
|
|
|
61786
61788
|
return n.getHours() >= 12 && s < 12 ? n.setHours(s + 12, 0, 0, 0) : n.setHours(s, 0, 0, 0), n;
|
|
61787
61789
|
}
|
|
61788
61790
|
}
|
|
61789
|
-
class Gfe extends
|
|
61791
|
+
class Gfe extends yo {
|
|
61790
61792
|
constructor() {
|
|
61791
61793
|
super(...arguments);
|
|
61792
61794
|
ee(this, "priority", 70);
|
|
@@ -61810,7 +61812,7 @@ class Gfe extends go {
|
|
|
61810
61812
|
return n.setHours(l, 0, 0, 0), n;
|
|
61811
61813
|
}
|
|
61812
61814
|
}
|
|
61813
|
-
class Wfe extends
|
|
61815
|
+
class Wfe extends yo {
|
|
61814
61816
|
constructor() {
|
|
61815
61817
|
super(...arguments);
|
|
61816
61818
|
ee(this, "priority", 60);
|
|
@@ -61833,7 +61835,7 @@ class Wfe extends go {
|
|
|
61833
61835
|
return n.setMinutes(s, 0, 0), n;
|
|
61834
61836
|
}
|
|
61835
61837
|
}
|
|
61836
|
-
class Zfe extends
|
|
61838
|
+
class Zfe extends yo {
|
|
61837
61839
|
constructor() {
|
|
61838
61840
|
super(...arguments);
|
|
61839
61841
|
ee(this, "priority", 50);
|
|
@@ -61856,7 +61858,7 @@ class Zfe extends go {
|
|
|
61856
61858
|
return n.setSeconds(s, 0), n;
|
|
61857
61859
|
}
|
|
61858
61860
|
}
|
|
61859
|
-
class Yfe extends
|
|
61861
|
+
class Yfe extends yo {
|
|
61860
61862
|
constructor() {
|
|
61861
61863
|
super(...arguments);
|
|
61862
61864
|
ee(this, "priority", 30);
|
|
@@ -61870,7 +61872,7 @@ class Yfe extends go {
|
|
|
61870
61872
|
return n.setMilliseconds(s), n;
|
|
61871
61873
|
}
|
|
61872
61874
|
}
|
|
61873
|
-
class Xfe extends
|
|
61875
|
+
class Xfe extends yo {
|
|
61874
61876
|
constructor() {
|
|
61875
61877
|
super(...arguments);
|
|
61876
61878
|
ee(this, "priority", 10);
|
|
@@ -61907,7 +61909,7 @@ class Xfe extends go {
|
|
|
61907
61909
|
);
|
|
61908
61910
|
}
|
|
61909
61911
|
}
|
|
61910
|
-
class Qfe extends
|
|
61912
|
+
class Qfe extends yo {
|
|
61911
61913
|
constructor() {
|
|
61912
61914
|
super(...arguments);
|
|
61913
61915
|
ee(this, "priority", 10);
|
|
@@ -61944,7 +61946,7 @@ class Qfe extends go {
|
|
|
61944
61946
|
);
|
|
61945
61947
|
}
|
|
61946
61948
|
}
|
|
61947
|
-
class Jfe extends
|
|
61949
|
+
class Jfe extends yo {
|
|
61948
61950
|
constructor() {
|
|
61949
61951
|
super(...arguments);
|
|
61950
61952
|
ee(this, "priority", 40);
|
|
@@ -61957,7 +61959,7 @@ class Jfe extends go {
|
|
|
61957
61959
|
return [Eo(n, s * 1e3), { timestampIsSet: !0 }];
|
|
61958
61960
|
}
|
|
61959
61961
|
}
|
|
61960
|
-
class ehe extends
|
|
61962
|
+
class ehe extends yo {
|
|
61961
61963
|
constructor() {
|
|
61962
61964
|
super(...arguments);
|
|
61963
61965
|
ee(this, "priority", 20);
|
|
@@ -62938,7 +62940,7 @@ const ime = (o, i = 3) => {
|
|
|
62938
62940
|
var de;
|
|
62939
62941
|
return (de = o.hideNavigation) == null ? void 0 : de.includes(P);
|
|
62940
62942
|
}), b = (P) => {
|
|
62941
|
-
const de = o.maxDate ? An(p(P), p(qe(o.maxDate))) : !1, K = o.minDate ? cn(p(P), p(qe(o.minDate))) : !1, le = E(P, o.disabledDates), Se = n.value.filters.months.map((Fe) => +Fe).includes(
|
|
62943
|
+
const de = o.maxDate ? An(p(P), p(qe(o.maxDate))) : !1, K = o.minDate ? cn(p(P), p(qe(o.minDate))) : !1, le = E(P, o.disabledDates), Se = n.value.filters.months.map((Fe) => +Fe).includes(No(P)), Me = o.disabledWeekDays.length ? o.disabledWeekDays.some((Fe) => +Fe === cfe(P)) : !1, Le = o.allowedDates.length ? !o.allowedDates.some((Fe) => So(p(qe(Fe)), p(P))) : !1, $ = zo(P), pe = $ < +o.yearRange[0] || $ > +o.yearRange[1];
|
|
62942
62944
|
return !(de || K || le || Se || pe || Me || Le);
|
|
62943
62945
|
}, g = (P) => {
|
|
62944
62946
|
const de = {
|
|
@@ -62980,7 +62982,7 @@ const ime = (o, i = 3) => {
|
|
|
62980
62982
|
}, q = (P, de) => {
|
|
62981
62983
|
const K = qe(JSON.parse(JSON.stringify(P))), le = [];
|
|
62982
62984
|
for (let Se = 0; Se < 7; Se++) {
|
|
62983
|
-
const Me = Kr(K, Se), Le =
|
|
62985
|
+
const Me = Kr(K, Se), Le = No(Me) !== de;
|
|
62984
62986
|
le.push({
|
|
62985
62987
|
text: o.hideOffsetDates && Le ? "" : Me.getDate(),
|
|
62986
62988
|
value: Me,
|
|
@@ -63002,7 +63004,7 @@ const ime = (o, i = 3) => {
|
|
|
63002
63004
|
if (Le(Me), o.sixWeeks && K.length < 6) {
|
|
63003
63005
|
const $ = 6 - K.length;
|
|
63004
63006
|
for (let pe = 1; pe <= $; pe++) {
|
|
63005
|
-
const Fe = K[K.length - 1], ze = Fe.days[Fe.days.length - 1], He = q(Kr(ze.value, 1),
|
|
63007
|
+
const Fe = K[K.length - 1], ze = Fe.days[Fe.days.length - 1], He = q(Kr(ze.value, 1), No(le));
|
|
63006
63008
|
K.push({ days: He });
|
|
63007
63009
|
}
|
|
63008
63010
|
}
|
|
@@ -63038,7 +63040,7 @@ const ime = (o, i = 3) => {
|
|
|
63038
63040
|
defaults: n,
|
|
63039
63041
|
hideNavigationButtons: h
|
|
63040
63042
|
};
|
|
63041
|
-
},
|
|
63043
|
+
}, jo = yp({
|
|
63042
63044
|
monthYear: [],
|
|
63043
63045
|
calendar: [],
|
|
63044
63046
|
time: [],
|
|
@@ -63050,12 +63052,12 @@ const ime = (o, i = 3) => {
|
|
|
63050
63052
|
},
|
|
63051
63053
|
monthPicker: []
|
|
63052
63054
|
}), K5 = Pe(null), Ch = Pe(!1), G5 = Pe(!1), W5 = Pe(!1), Z5 = Pe(!1), yn = Pe(0), Gi = Pe(0), _d = () => {
|
|
63053
|
-
const o = ge(() => Ch.value ? [...
|
|
63054
|
-
...
|
|
63055
|
-
...
|
|
63055
|
+
const o = ge(() => Ch.value ? [...jo.selectionGrid, jo.actionRow].filter((g) => g.length) : G5.value ? [
|
|
63056
|
+
...jo.timePicker[0],
|
|
63057
|
+
...jo.timePicker[1],
|
|
63056
63058
|
Z5.value ? [] : [K5.value],
|
|
63057
|
-
|
|
63058
|
-
].filter((g) => g.length) : W5.value ? [...
|
|
63059
|
+
jo.actionRow
|
|
63060
|
+
].filter((g) => g.length) : W5.value ? [...jo.monthPicker, jo.actionRow] : [jo.monthYear, ...jo.calendar, jo.time, jo.actionRow].filter((g) => g.length)), i = (g) => {
|
|
63059
63061
|
yn.value = g ? yn.value + 1 : yn.value - 1;
|
|
63060
63062
|
let y = null;
|
|
63061
63063
|
o.value[Gi.value] && (y = o.value[Gi.value][yn.value]), y || (yn.value = g ? yn.value - 1 : yn.value + 1);
|
|
@@ -63073,9 +63075,9 @@ const ime = (o, i = 3) => {
|
|
|
63073
63075
|
}, p = () => {
|
|
63074
63076
|
n(!0), a(!0);
|
|
63075
63077
|
}, u = (g, y) => {
|
|
63076
|
-
|
|
63078
|
+
jo[y] = g;
|
|
63077
63079
|
}, h = (g, y) => {
|
|
63078
|
-
|
|
63080
|
+
jo[y] = g;
|
|
63079
63081
|
}, b = () => {
|
|
63080
63082
|
yn.value = 0, Gi.value = 0;
|
|
63081
63083
|
};
|
|
@@ -63086,25 +63088,25 @@ const ime = (o, i = 3) => {
|
|
|
63086
63088
|
K5.value = g;
|
|
63087
63089
|
},
|
|
63088
63090
|
setSelectionGrid: (g) => {
|
|
63089
|
-
Ch.value = g, b(), g || (
|
|
63091
|
+
Ch.value = g, b(), g || (jo.selectionGrid = []);
|
|
63090
63092
|
},
|
|
63091
63093
|
setTimePicker: (g, y = !1) => {
|
|
63092
|
-
G5.value = g, Z5.value = y, b(), g || (
|
|
63094
|
+
G5.value = g, Z5.value = y, b(), g || (jo.timePicker[0] = [], jo.timePicker[1] = []);
|
|
63093
63095
|
},
|
|
63094
63096
|
setTimePickerElements: (g, y = 0) => {
|
|
63095
|
-
|
|
63097
|
+
jo.timePicker[y] = g;
|
|
63096
63098
|
},
|
|
63097
63099
|
arrowRight: s,
|
|
63098
63100
|
arrowLeft: l,
|
|
63099
63101
|
arrowUp: d,
|
|
63100
63102
|
arrowDown: p,
|
|
63101
63103
|
clearArrowNav: () => {
|
|
63102
|
-
|
|
63104
|
+
jo.monthYear = [], jo.calendar = [], jo.time = [], jo.actionRow = [], jo.selectionGrid = [], jo.timePicker[0] = [], jo.timePicker[1] = [], Ch.value = !1, G5.value = !1, Z5.value = !1, W5.value = !1, b(), K5.value = null;
|
|
63103
63105
|
},
|
|
63104
63106
|
setMonthPicker: (g) => {
|
|
63105
63107
|
W5.value = g, b();
|
|
63106
63108
|
},
|
|
63107
|
-
refSets:
|
|
63109
|
+
refSets: jo
|
|
63108
63110
|
// exposed for testing
|
|
63109
63111
|
};
|
|
63110
63112
|
}, zI = (o) => Array.isArray(o), qd = (o) => Array.isArray(o), UI = (o) => Array.isArray(o) && o.length === 2, mme = (o, i, n, a, s) => {
|
|
@@ -63129,7 +63131,7 @@ const ime = (o, i = 3) => {
|
|
|
63129
63131
|
to(S, () => {
|
|
63130
63132
|
fe(0);
|
|
63131
63133
|
});
|
|
63132
|
-
const T = Pe([{ month:
|
|
63134
|
+
const T = Pe([{ month: No(qe()), year: zo(qe()) }]), _ = yp({
|
|
63133
63135
|
hours: o.range ? [Vl(qe()), Vl(qe())] : Vl(qe()),
|
|
63134
63136
|
minutes: o.range ? [Hl(qe()), Hl(qe())] : Hl(qe()),
|
|
63135
63137
|
seconds: o.range ? [0, 0] : 0
|
|
@@ -63143,8 +63145,8 @@ const ime = (o, i = 3) => {
|
|
|
63143
63145
|
}, M = (C, I) => {
|
|
63144
63146
|
_[C] = I;
|
|
63145
63147
|
};
|
|
63146
|
-
|
|
63147
|
-
y.value || (o.startDate && (O(0,
|
|
63148
|
+
Ho(() => {
|
|
63149
|
+
y.value || (o.startDate && (O(0, No(qe(o.startDate)), zo(qe(o.startDate))), g.value.multiCalendars && fe(0)), g.value.startTime && ye()), Z(!0);
|
|
63148
63150
|
});
|
|
63149
63151
|
const Z = (C = !1) => {
|
|
63150
63152
|
if (y.value)
|
|
@@ -63158,10 +63160,10 @@ const ime = (o, i = 3) => {
|
|
|
63158
63160
|
if (g.value.multiCalendars && C && !o.startDate)
|
|
63159
63161
|
return V(qe(), C);
|
|
63160
63162
|
}, V = (C, I = !1) => {
|
|
63161
|
-
if ((!g.value.multiCalendars || !o.multiStatic || I) && O(0,
|
|
63163
|
+
if ((!g.value.multiCalendars || !o.multiStatic || I) && O(0, No(C), zo(C)), g.value.multiCalendars)
|
|
63162
63164
|
for (let z = 1; z < g.value.multiCalendars; z++) {
|
|
63163
63165
|
const re = on(qe(), { month: E.value(z - 1), year: A.value(z - 1) }), we = qR(re, { months: 1 });
|
|
63164
|
-
T.value[z] = { month:
|
|
63166
|
+
T.value[z] = { month: No(we), year: zo(we) };
|
|
63165
63167
|
}
|
|
63166
63168
|
}, W = (C) => {
|
|
63167
63169
|
V(C), M("hours", Vl(C)), M("minutes", Hl(C)), M("seconds", yu(C));
|
|
@@ -63206,14 +63208,14 @@ const ime = (o, i = 3) => {
|
|
|
63206
63208
|
if (Array.isArray(y.value) && y.value.length === 2) {
|
|
63207
63209
|
const C = qe(
|
|
63208
63210
|
qe(y.value[1] ? y.value[1] : Hr(y.value[0], 1))
|
|
63209
|
-
), [I, z] = [
|
|
63210
|
-
(I !== re || I === re && z !== we) && o.multiCalendarsSolo && O(1,
|
|
63211
|
+
), [I, z] = [No(y.value[0]), zo(y.value[0])], [re, we] = [No(y.value[1]), zo(y.value[1])];
|
|
63212
|
+
(I !== re || I === re && z !== we) && o.multiCalendarsSolo && O(1, No(C), zo(C));
|
|
63211
63213
|
}
|
|
63212
63214
|
}, K = (C) => {
|
|
63213
63215
|
const I = Hr(C, 1);
|
|
63214
|
-
return { month:
|
|
63216
|
+
return { month: No(I), year: zo(I) };
|
|
63215
63217
|
}, le = (C) => {
|
|
63216
|
-
const I =
|
|
63218
|
+
const I = No(qe(C)), z = zo(qe(C));
|
|
63217
63219
|
if (O(0, I, z), g.value.multiCalendars > 0)
|
|
63218
63220
|
for (let re = 1; re < g.value.multiCalendars; re++) {
|
|
63219
63221
|
const we = K(
|
|
@@ -63287,11 +63289,11 @@ const ime = (o, i = 3) => {
|
|
|
63287
63289
|
}, fe = (C) => {
|
|
63288
63290
|
for (let I = C - 1; I >= 0; I--) {
|
|
63289
63291
|
const z = a0(on(qe(), { month: E.value(I + 1), year: A.value(I + 1) }), 1);
|
|
63290
|
-
O(I,
|
|
63292
|
+
O(I, No(z), zo(z));
|
|
63291
63293
|
}
|
|
63292
63294
|
for (let I = C + 1; I <= g.value.multiCalendars - 1; I++) {
|
|
63293
63295
|
const z = Hr(on(qe(), { month: E.value(I - 1), year: A.value(I - 1) }), 1);
|
|
63294
|
-
O(I,
|
|
63296
|
+
O(I, No(z), zo(z));
|
|
63295
63297
|
}
|
|
63296
63298
|
}, _e = (C) => h(qe(), E.value(C), A.value(C)), Ye = (C) => Ca(C, _.hours, _.minutes, xe()), Wt = (C) => {
|
|
63297
63299
|
Se(_e(C));
|
|
@@ -63317,7 +63319,7 @@ const ime = (o, i = 3) => {
|
|
|
63317
63319
|
n();
|
|
63318
63320
|
}, Te = (C, I) => {
|
|
63319
63321
|
const z = on(qe(), { month: E.value(I), year: A.value(I) }), re = C < 0 ? Hr(z, 1) : a0(z, 1);
|
|
63320
|
-
b(
|
|
63322
|
+
b(No(re), zo(re), C < 0, o.preventMinMaxNavigation) && (O(I, No(re), zo(re)), g.value.multiCalendars && !o.multiCalendarsSolo && fe(I), i("update-month-year", { instance: I, month: No(re), year: zo(re) }), a());
|
|
63321
63323
|
}, $e = (C) => {
|
|
63322
63324
|
zI(C) && zI(y.value) && qd(_.hours) && qd(_.minutes) ? (C[0] && y.value[0] && (y.value[0] = Ca(C[0], _.hours[0], _.minutes[0], xe())), C[1] && y.value[1] && (y.value[1] = Ca(C[1], _.hours[1], _.minutes[1], xe(!1)))) : o.multiDates && Array.isArray(y.value) ? y.value[y.value.length - 1] = Ye(C) : !o.range && !UI(C) && (y.value = Ye(C)), i("time-update");
|
|
63323
63325
|
}, Bt = (C, I = !0, z = !1) => {
|
|
@@ -63390,7 +63392,7 @@ const ime = (o, i = 3) => {
|
|
|
63390
63392
|
minutes: Hl(pe),
|
|
63391
63393
|
seconds: i.enableSeconds ? yu(pe) : 0
|
|
63392
63394
|
};
|
|
63393
|
-
}, _ = ($) => i.modelType ? le($) : { month:
|
|
63395
|
+
}, _ = ($) => i.modelType ? le($) : { month: No($), year: zo($) }, E = ($) => Array.isArray($) ? u(() => [
|
|
63394
63396
|
ep(qe(), $[0]),
|
|
63395
63397
|
$[1] ? ep(qe(), $[1]) : h()
|
|
63396
63398
|
]) : ep(qe(), +$), A = ($, pe) => (typeof $ == "string" || typeof $ == "number") && i.modelType ? K($) : pe, D = ($) => Array.isArray($) ? [
|
|
@@ -63463,25 +63465,25 @@ const ime = (o, i = 3) => {
|
|
|
63463
63465
|
checkBeforeEmit: () => a.value ? i.range ? i.partialRange ? a.value.length >= 1 : a.value.length === 2 : !!a.value : !1,
|
|
63464
63466
|
parseExternalModelValue: be,
|
|
63465
63467
|
formatInputValue: de,
|
|
63466
|
-
emitModelValue: () => (de(), i.monthPicker ? Le(_) : i.timePicker ? Le(T) : i.yearPicker ? Le(
|
|
63468
|
+
emitModelValue: () => (de(), i.monthPicker ? Le(_) : i.timePicker ? Le(T) : i.yearPicker ? Le(zo) : i.weekPicker ? Se(a.value) : Se(H()))
|
|
63467
63469
|
};
|
|
63468
63470
|
}, gme = (o, i) => {
|
|
63469
63471
|
const { validateMonthYearInRange: n, validateMaxDate: a, validateMinDate: s, defaults: l } = ga(o), d = (g, y) => {
|
|
63470
63472
|
let w = g;
|
|
63471
|
-
return l.value.filters.months.includes(
|
|
63473
|
+
return l.value.filters.months.includes(No(w)) ? (w = y ? Hr(g, 1) : a0(g, 1), d(w, y)) : w;
|
|
63472
63474
|
}, p = (g, y) => {
|
|
63473
63475
|
let w = g;
|
|
63474
|
-
return l.value.filters.years.includes(
|
|
63476
|
+
return l.value.filters.years.includes(zo(w)) ? (w = y ? UR(g, 1) : The(g), p(w, y)) : w;
|
|
63475
63477
|
}, u = (g) => {
|
|
63476
63478
|
const y = on(/* @__PURE__ */ new Date(), { month: o.month, year: o.year });
|
|
63477
|
-
let w = g ? Hr(y, 1) : a0(y, 1), S =
|
|
63478
|
-
l.value.filters.months.includes(S) && (w = d(w, g), S =
|
|
63479
|
+
let w = g ? Hr(y, 1) : a0(y, 1), S = No(w), T = zo(w);
|
|
63480
|
+
l.value.filters.months.includes(S) && (w = d(w, g), S = No(w), T = zo(w)), l.value.filters.years.includes(T) && (w = p(w, g), T = zo(w)), n(S, T, g, o.preventMinMaxNavigation) && h(S, T);
|
|
63479
63481
|
}, h = (g, y) => {
|
|
63480
63482
|
i("update-month-year", { month: g, year: y });
|
|
63481
63483
|
}, b = ge(() => (g) => {
|
|
63482
63484
|
if (!o.preventMinMaxNavigation || g && !o.maxDate || !g && !o.minDate)
|
|
63483
63485
|
return !1;
|
|
63484
|
-
const y = on(/* @__PURE__ */ new Date(), { month: o.month, year: o.year }), w = g ? Hr(y, 1) : a0(y, 1), S = [
|
|
63486
|
+
const y = on(/* @__PURE__ */ new Date(), { month: o.month, year: o.year }), w = g ? Hr(y, 1) : a0(y, 1), S = [No(w), zo(w)];
|
|
63485
63487
|
return g ? !a(...S) : !s(...S);
|
|
63486
63488
|
});
|
|
63487
63489
|
return { handleMonthYearChange: u, isDisabled: b, updateMonthYear: h };
|
|
@@ -63927,7 +63929,7 @@ const yme = (o, i, n, a) => {
|
|
|
63927
63929
|
emits: ["close-picker", "select-date", "invalid-select"],
|
|
63928
63930
|
setup(o, { emit: i }) {
|
|
63929
63931
|
const n = o, { formatDate: a, isValidTime: s, defaults: l } = ga(n), { buildMatrix: d } = _d(), p = Pe(null), u = Pe(null);
|
|
63930
|
-
|
|
63932
|
+
Ho(() => {
|
|
63931
63933
|
n.arrowNavigation && d([_i(p), _i(u)], "actionRow");
|
|
63932
63934
|
});
|
|
63933
63935
|
const h = ge(() => n.range && !n.partialRange && n.internalModelValue ? n.internalModelValue.length === 2 : !0), b = ge(() => !g.value || !y.value || !h.value), g = ge(() => !n.enableTimePicker || n.ignoreTimeValidation ? !0 : s(n.internalModelValue)), y = ge(() => n.monthPicker ? n.range && Array.isArray(n.internalModelValue) ? !n.internalModelValue.filter((A) => !_(A)).length : _(n.internalModelValue) : !0), w = () => {
|
|
@@ -64057,7 +64059,7 @@ const yme = (o, i, n, a) => {
|
|
|
64057
64059
|
left: "",
|
|
64058
64060
|
transform: ""
|
|
64059
64061
|
}), h = Pe([]), b = Pe(null), g = Pe(!0), y = Pe(""), w = Pe({ startX: 0, endX: 0, startY: 0, endY: 0 }), S = Pe([]), T = Pe({ left: "50%" }), _ = ge(() => a.dayNames ? Array.isArray(a.dayNames) ? a.dayNames : a.dayNames(a.locale, +a.weekStart) : nme(a.locale, +a.weekStart));
|
|
64060
|
-
|
|
64062
|
+
Ho(() => {
|
|
64061
64063
|
n("mount", { cmp: "calendar", refs: h }), a.noSwipe || b.value && (b.value.addEventListener("touchstart", q, { passive: !1 }), b.value.addEventListener("touchend", H, { passive: !1 }), b.value.addEventListener("touchmove", ne, { passive: !1 })), a.monthChangeOnScroll && b.value && b.value.addEventListener("wheel", ye, { passive: !1 });
|
|
64062
64064
|
});
|
|
64063
64065
|
const E = (P) => P ? a.vertical ? "vNext" : "next" : a.vertical ? "vPrevious" : "previous", A = (P, de) => {
|
|
@@ -64269,7 +64271,7 @@ const yme = (o, i, n, a) => {
|
|
|
64269
64271
|
emits: ["activate", "set-ref"],
|
|
64270
64272
|
setup(o, { emit: i }) {
|
|
64271
64273
|
const n = Pe(null);
|
|
64272
|
-
return
|
|
64274
|
+
return Ho(() => i("set-ref", n)), (a, s) => (k(), L("div", {
|
|
64273
64275
|
class: "dp__month_year_col_nav",
|
|
64274
64276
|
onClick: s[0] || (s[0] = (l) => a.$emit("activate")),
|
|
64275
64277
|
onKeydown: [
|
|
@@ -64318,7 +64320,7 @@ const yme = (o, i, n, a) => {
|
|
|
64318
64320
|
const a = o, { setSelectionGrid: s, buildMultiLevelMatrix: l, setMonthPicker: d } = _d(), { hideNavigationButtons: p } = ga(a), u = Pe(!1), h = Pe(null), b = Pe(null), g = Pe([]), y = Pe(), w = Pe(null), S = Pe(0), T = Pe(null);
|
|
64319
64321
|
HV(() => {
|
|
64320
64322
|
h.value = null;
|
|
64321
|
-
}),
|
|
64323
|
+
}), Ho(() => {
|
|
64322
64324
|
_a().then(() => J()), E(), _(!0);
|
|
64323
64325
|
}), ds(() => _(!1));
|
|
64324
64326
|
const _ = (ye) => {
|
|
@@ -64497,7 +64499,7 @@ const yme = (o, i, n, a) => {
|
|
|
64497
64499
|
emits: ["update:model-value", "toggle", "set-ref"],
|
|
64498
64500
|
setup(o, { emit: i }) {
|
|
64499
64501
|
const n = o, { transitionName: a, showTransition: s } = Ib(n.transitions), l = Pe(null);
|
|
64500
|
-
return
|
|
64502
|
+
return Ho(() => i("set-ref", l)), (d, p) => (k(), L(Be, null, [
|
|
64501
64503
|
U("div", {
|
|
64502
64504
|
class: "dp__month_year_select",
|
|
64503
64505
|
onClick: p[0] || (p[0] = (u) => d.$emit("toggle")),
|
|
@@ -64583,7 +64585,7 @@ const yme = (o, i, n, a) => {
|
|
|
64583
64585
|
emits: ["update-month-year", "month-year-select", "mount", "reset-flow", "overlay-closed"],
|
|
64584
64586
|
setup(o, { expose: i, emit: n }) {
|
|
64585
64587
|
const a = o, { defaults: s } = ga(a), { transitionName: l, showTransition: d } = Ib(s.value.transitions), { buildMatrix: p } = _d(), { handleMonthYearChange: u, isDisabled: h, updateMonthYear: b } = gme(a, n), g = Pe(!1), y = Pe(!1), w = Pe([null, null, null, null]), S = Pe(null), T = Pe(null), _ = Pe(null);
|
|
64586
|
-
|
|
64588
|
+
Ho(() => {
|
|
64587
64589
|
n("mount");
|
|
64588
64590
|
});
|
|
64589
64591
|
const E = ($) => ({
|
|
@@ -64593,9 +64595,9 @@ const yme = (o, i, n, a) => {
|
|
|
64593
64595
|
n("update-month-year", { [$]: pe, [Fe]: a[Fe] }), n("month-year-select", $ === "year"), $ === "month" ? K(!0) : le(!0);
|
|
64594
64596
|
}
|
|
64595
64597
|
}), A = ge(E("month")), D = ge(E("year")), O = ($) => {
|
|
64596
|
-
const pe =
|
|
64598
|
+
const pe = zo(qe($));
|
|
64597
64599
|
return a.year === pe;
|
|
64598
|
-
}, M = ge(() => a.monthPicker ? Array.isArray(a.disabledDates) ? a.disabledDates.map(($) => qe($)).filter(($) => O($)).map(($) =>
|
|
64600
|
+
}, M = ge(() => a.monthPicker ? Array.isArray(a.disabledDates) ? a.disabledDates.map(($) => qe($)).filter(($) => O($)).map(($) => No($)) : [] : []), Z = ge(() => ($) => {
|
|
64599
64601
|
const pe = $ === "month";
|
|
64600
64602
|
return {
|
|
64601
64603
|
showSelectionGrid: (pe ? g : y).value,
|
|
@@ -64619,15 +64621,15 @@ const yme = (o, i, n, a) => {
|
|
|
64619
64621
|
instance: a.instance,
|
|
64620
64622
|
updateMonthYear: b,
|
|
64621
64623
|
toggle: $ === "month" ? K : le
|
|
64622
|
-
})), W = ge(() => a.minDate ?
|
|
64624
|
+
})), W = ge(() => a.minDate ? zo(qe(a.minDate)) : null), J = ge(() => a.maxDate ? zo(qe(a.maxDate)) : null), te = ge(() => {
|
|
64623
64625
|
if (a.minDate && W.value) {
|
|
64624
64626
|
if (W.value > a.year)
|
|
64625
64627
|
return 12;
|
|
64626
64628
|
if (W.value === a.year)
|
|
64627
|
-
return
|
|
64629
|
+
return No(qe(a.minDate));
|
|
64628
64630
|
}
|
|
64629
64631
|
return null;
|
|
64630
|
-
}), q = ge(() => a.maxDate && J.value ? J.value < a.year ? -1 : J.value === a.year ?
|
|
64632
|
+
}), q = ge(() => a.maxDate && J.value ? J.value < a.year ? -1 : J.value === a.year ? No(qe(a.maxDate)) : null : null), H = ge(() => (a.range || a.multiDates) && a.internalModelValue && (a.monthPicker || a.yearPicker) ? a.internalModelValue : []), ne = ($) => {
|
|
64631
64633
|
const pe = [], Fe = (ze) => ze;
|
|
64632
64634
|
for (let ze = 0; ze < $.length; ze += 3) {
|
|
64633
64635
|
const He = [$[ze], $[ze + 1], $[ze + 2]];
|
|
@@ -64972,7 +64974,7 @@ const yme = (o, i, n, a) => {
|
|
|
64972
64974
|
minutes: !1,
|
|
64973
64975
|
seconds: !1
|
|
64974
64976
|
}), b = Pe("AM"), g = Pe(null), y = Pe([]);
|
|
64975
|
-
|
|
64977
|
+
Ho(() => {
|
|
64976
64978
|
n("mounted");
|
|
64977
64979
|
});
|
|
64978
64980
|
const w = ge(() => (P) => !!(a.maxTime && a.maxTime[P] && +a.maxTime[P] < +a[P] + +a[`${P}Increment`])), S = ge(() => (P) => !!(a.minTime && a.minTime[P] && +a.minTime[P] > +a[P] - +a[`${P}Increment`])), T = (P, de) => qR(on(qe(), P), de), _ = (P, de) => Ahe(on(qe(), P), de), E = ge(
|
|
@@ -65187,7 +65189,7 @@ const yme = (o, i, n, a) => {
|
|
|
65187
65189
|
],
|
|
65188
65190
|
setup(o, { expose: i, emit: n }) {
|
|
65189
65191
|
const a = o, { buildMatrix: s, setTimePicker: l } = _d(), d = cs(), { hideNavigationButtons: p, defaults: u } = ga(a), { transitionName: h, showTransition: b } = Ib(u.value.transitions), g = Pe(null), y = Pe(null), w = Pe([]), S = Pe(null);
|
|
65190
|
-
|
|
65192
|
+
Ho(() => {
|
|
65191
65193
|
n("mount"), !a.timePicker && a.arrowNavigation ? s([_i(g.value)], "time") : l(!0, a.timePicker);
|
|
65192
65194
|
});
|
|
65193
65195
|
const T = ge(() => a.range && a.modelAuto ? pL(a.internalModelValue) : !0), _ = Pe(!1), E = (q) => ({
|
|
@@ -65457,7 +65459,7 @@ const yme = (o, i, n, a) => {
|
|
|
65457
65459
|
monthYearInput: !!a.timePicker,
|
|
65458
65460
|
calendar: !1
|
|
65459
65461
|
}), y = Pe([]), w = Pe([]), S = Pe(null), T = Pe(null), _ = Pe(0), E = Pe(!1), A = Pe(0);
|
|
65460
|
-
|
|
65462
|
+
Ho(() => {
|
|
65461
65463
|
var G;
|
|
65462
65464
|
E.value = !0, !((G = a.presetRanges) != null && G.length) && !h["left-sidebar"] && !h["right-sidebar"] && (dt(), window.addEventListener("resize", dt));
|
|
65463
65465
|
const Re = _i(T);
|
|
@@ -65833,7 +65835,7 @@ const yme = (o, i, n, a) => {
|
|
|
65833
65835
|
],
|
|
65834
65836
|
setup(o, { expose: i, emit: n }) {
|
|
65835
65837
|
const a = o, s = cs(), l = Pe(!1), d = fu(a, "modelValue"), p = fu(a, "timezone"), u = Pe(null), h = Pe(null), b = Pe(!1), g = Pe(null), { setMenuFocused: y, setShiftKey: w } = sL(), { clearArrowNav: S } = _d(), { validateDate: T, isValidTime: _ } = ga(a);
|
|
65836
|
-
|
|
65838
|
+
Ho(() => {
|
|
65837
65839
|
te(a.modelValue), a.inline || (V(g.value).addEventListener("scroll", P), window.addEventListener("resize", de)), a.inline && (l.value = !0);
|
|
65838
65840
|
}), ds(() => {
|
|
65839
65841
|
if (!a.inline) {
|
|
@@ -66086,7 +66088,7 @@ function HI(...o) {
|
|
|
66086
66088
|
}
|
|
66087
66089
|
function _3e() {
|
|
66088
66090
|
const o = gd(!1), i = cu();
|
|
66089
|
-
return i &&
|
|
66091
|
+
return i && Ho(() => {
|
|
66090
66092
|
o.value = !0;
|
|
66091
66093
|
}, i), o;
|
|
66092
66094
|
}
|
|
@@ -66924,12 +66926,18 @@ const aw = /* @__PURE__ */ Ze(Ibe, [["render", Sbe]]), Abe = { class: "wt-expans
|
|
|
66924
66926
|
tableActionIcons: {
|
|
66925
66927
|
type: Array,
|
|
66926
66928
|
default: () => ["filter-reset", "settings"]
|
|
66929
|
+
},
|
|
66930
|
+
isOpened: {
|
|
66931
|
+
type: Boolean,
|
|
66932
|
+
default: !1
|
|
66927
66933
|
}
|
|
66928
66934
|
},
|
|
66929
|
-
data
|
|
66930
|
-
|
|
66931
|
-
|
|
66932
|
-
|
|
66935
|
+
data() {
|
|
66936
|
+
return {
|
|
66937
|
+
localIsOpened: this.isOpened,
|
|
66938
|
+
filtersCount: 0
|
|
66939
|
+
};
|
|
66940
|
+
},
|
|
66933
66941
|
methods: {
|
|
66934
66942
|
tableActionsHandler(o) {
|
|
66935
66943
|
switch (o) {
|
|
@@ -66942,7 +66950,7 @@ const aw = /* @__PURE__ */ Ze(Ibe, [["render", Sbe]]), Abe = { class: "wt-expans
|
|
|
66942
66950
|
}
|
|
66943
66951
|
},
|
|
66944
66952
|
toggleFiltersExpansion() {
|
|
66945
|
-
this.
|
|
66953
|
+
this.localIsOpened = !this.localIsOpened;
|
|
66946
66954
|
},
|
|
66947
66955
|
resetFilters() {
|
|
66948
66956
|
this.$emit("reset");
|
|
@@ -66952,7 +66960,7 @@ const aw = /* @__PURE__ */ Ze(Ibe, [["render", Sbe]]), Abe = { class: "wt-expans
|
|
|
66952
66960
|
function Lbe(o, i, n, a, s, l) {
|
|
66953
66961
|
const d = he("wt-table-actions");
|
|
66954
66962
|
return k(), L("article", {
|
|
66955
|
-
class: Ae([{ "filters-panel-wrapper--opened":
|
|
66963
|
+
class: Ae([{ "filters-panel-wrapper--opened": n.isOpened }, "filters-panel-wrapper"])
|
|
66956
66964
|
}, [
|
|
66957
66965
|
U("div", Dbe, [
|
|
66958
66966
|
Q(o.$slots, "default", {}, void 0, !0)
|
|
@@ -66965,7 +66973,7 @@ function Lbe(o, i, n, a, s, l) {
|
|
|
66965
66973
|
])
|
|
66966
66974
|
], 2);
|
|
66967
66975
|
}
|
|
66968
|
-
const Pbe = /* @__PURE__ */ Ze(Obe, [["render", Lbe], ["__scopeId", "data-v-
|
|
66976
|
+
const Pbe = /* @__PURE__ */ Ze(Obe, [["render", Lbe], ["__scopeId", "data-v-5696028f"]]), Bbe = () => {
|
|
66969
66977
|
const o = Pe(!1), i = Pe(null), n = Pe(null);
|
|
66970
66978
|
function a({ deleted: l, callback: d }) {
|
|
66971
66979
|
Array.isArray(l) ? i.value = l.length : i.value = 1, o.value = !0, n.value = d;
|
|
@@ -68740,7 +68748,7 @@ const G4e = () => {
|
|
|
68740
68748
|
}, d = () => {
|
|
68741
68749
|
document.removeEventListener("fullscreenchange", n), document.removeEventListener("mozfullscreenchange", n), document.removeEventListener("webkitfullscreenchange", n), document.removeEventListener("msfullscreenchange", n);
|
|
68742
68750
|
};
|
|
68743
|
-
return
|
|
68751
|
+
return Ho(() => {
|
|
68744
68752
|
l();
|
|
68745
68753
|
}), ds(() => {
|
|
68746
68754
|
d();
|
|
@@ -68940,7 +68948,7 @@ const G4e = () => {
|
|
|
68940
68948
|
}) : (l.value = 0, y());
|
|
68941
68949
|
}), to(() => n.value, () => {
|
|
68942
68950
|
n.value.length || (s.value = !1);
|
|
68943
|
-
}),
|
|
68951
|
+
}), Ho(() => {
|
|
68944
68952
|
s.value && g();
|
|
68945
68953
|
}), ds(() => {
|
|
68946
68954
|
y();
|
|
@@ -69244,7 +69252,7 @@ const C5e = /* @__PURE__ */ Ze(y5e, [["render", w5e], ["__scopeId", "data-v-ad16
|
|
|
69244
69252
|
function W() {
|
|
69245
69253
|
S.value.focus();
|
|
69246
69254
|
}
|
|
69247
|
-
return
|
|
69255
|
+
return Ho(() => {
|
|
69248
69256
|
V();
|
|
69249
69257
|
}), i({
|
|
69250
69258
|
focus: W
|
|
@@ -69332,7 +69340,7 @@ const C5e = /* @__PURE__ */ Ze(y5e, [["render", w5e], ["__scopeId", "data-v-ad16
|
|
|
69332
69340
|
setup(o, { emit: i }) {
|
|
69333
69341
|
const n = o, a = i, s = Pe(null);
|
|
69334
69342
|
let l;
|
|
69335
|
-
return
|
|
69343
|
+
return Ho(() => {
|
|
69336
69344
|
const { stop: d } = D3e(
|
|
69337
69345
|
s.value,
|
|
69338
69346
|
([{ isIntersecting: p }]) => {
|
|
@@ -73200,7 +73208,7 @@ const j6e = /* @__PURE__ */ Ze($6e, [["render", M6e], ["__scopeId", "data-v-03d2
|
|
|
73200
73208
|
// Number of items to pre-render outside visible area
|
|
73201
73209
|
};
|
|
73202
73210
|
});
|
|
73203
|
-
return
|
|
73211
|
+
return Ho(() => {
|
|
73204
73212
|
h();
|
|
73205
73213
|
}), ds(() => {
|
|
73206
73214
|
b();
|
|
@@ -76876,7 +76884,7 @@ const rT = {
|
|
|
76876
76884
|
});
|
|
76877
76885
|
})(o.value, i);
|
|
76878
76886
|
};
|
|
76879
|
-
|
|
76887
|
+
Ho(() => s()), zf(() => l());
|
|
76880
76888
|
}, Q8e = {
|
|
76881
76889
|
__name: "wt-tooltip-floating",
|
|
76882
76890
|
props: {
|
|
@@ -76975,7 +76983,7 @@ const rT = {
|
|
|
76975
76983
|
(T) => {
|
|
76976
76984
|
T ? h() : b();
|
|
76977
76985
|
}
|
|
76978
|
-
),
|
|
76986
|
+
), Ho(() => {
|
|
76979
76987
|
n.visible && h();
|
|
76980
76988
|
}), zf(() => {
|
|
76981
76989
|
w();
|
|
@@ -77113,7 +77121,7 @@ const rT = {
|
|
|
77113
77121
|
}, _ = () => {
|
|
77114
77122
|
S.value = !1, T();
|
|
77115
77123
|
};
|
|
77116
|
-
return
|
|
77124
|
+
return Ho(() => {
|
|
77117
77125
|
p.value && T(), n.data[n.searchedProp] && T();
|
|
77118
77126
|
}), to(
|
|
77119
77127
|
() => n.modelValue,
|
|
@@ -77287,7 +77295,7 @@ const rT = {
|
|
|
77287
77295
|
}
|
|
77288
77296
|
return !1;
|
|
77289
77297
|
};
|
|
77290
|
-
return
|
|
77298
|
+
return Ho(() => {
|
|
77291
77299
|
n.searchedProp && h(n.data) && u();
|
|
77292
77300
|
}), (b, g) => {
|
|
77293
77301
|
const y = he("wt-tree-table-row", !0);
|
|
@@ -77964,7 +77972,7 @@ function pa(o, i, n = Mb()) {
|
|
|
77964
77972
|
const a = !ar(i);
|
|
77965
77973
|
R7e(o.id, a ? i : (s = o.provide) == null ? void 0 : s.call(o), n);
|
|
77966
77974
|
}
|
|
77967
|
-
function
|
|
77975
|
+
function Uo(o) {
|
|
77968
77976
|
return TP(o.id);
|
|
77969
77977
|
}
|
|
77970
77978
|
function ua(o) {
|
|
@@ -78220,7 +78228,7 @@ class Rd {
|
|
|
78220
78228
|
}
|
|
78221
78229
|
m0 = new WeakMap();
|
|
78222
78230
|
function ju(o) {
|
|
78223
|
-
return
|
|
78231
|
+
return Uo(o);
|
|
78224
78232
|
}
|
|
78225
78233
|
function X7e(o, i) {
|
|
78226
78234
|
for (const n of o) n(i);
|
|
@@ -78641,7 +78649,7 @@ function vt(o, i = !1) {
|
|
|
78641
78649
|
var IVe = '<path fill-rule="evenodd" clip-rule="evenodd" d="M6 7C5.63181 7 5.33333 7.29848 5.33333 7.66667V14.8667C5.33333 14.9403 5.39361 14.9999 5.46724 15.0009C10.8844 15.0719 15.2614 19.449 15.3325 24.8661C15.3334 24.9397 15.393 25 15.4667 25H26C26.3682 25 26.6667 24.7015 26.6667 24.3333V7.66667C26.6667 7.29848 26.3682 7 26 7H6ZM17.0119 22.2294C17.0263 22.29 17.0802 22.3333 17.1425 22.3333H23.3333C23.7015 22.3333 24 22.0349 24 21.6667V10.3333C24 9.96514 23.7015 9.66667 23.3333 9.66667H8.66667C8.29848 9.66667 8 9.96514 8 10.3333V13.1909C8 13.2531 8.04332 13.3071 8.10392 13.3214C12.5063 14.3618 15.9715 17.827 17.0119 22.2294Z" fill="currentColor"/> <path d="M13.2 25C13.2736 25 13.3334 24.9398 13.3322 24.8661C13.2615 20.5544 9.77889 17.0718 5.46718 17.0011C5.39356 16.9999 5.33333 17.0597 5.33333 17.1333V18.8667C5.33333 18.9403 5.39348 18.9999 5.4671 19.0015C8.67465 19.0716 11.2617 21.6587 11.3319 24.8662C11.3335 24.9399 11.393 25 11.4667 25H13.2Z" fill="currentColor"/> <path d="M5.33333 21.1333C5.33333 21.0597 5.39332 20.9998 5.46692 21.0022C7.57033 21.0712 9.26217 22.763 9.33114 24.8664C9.33356 24.94 9.27364 25 9.2 25H6C5.63181 25 5.33333 24.7015 5.33333 24.3333V21.1333Z" fill="currentColor"/>';
|
|
78642
78650
|
const HP = Dd();
|
|
78643
78651
|
function Ut() {
|
|
78644
|
-
return
|
|
78652
|
+
return Uo(HP);
|
|
78645
78653
|
}
|
|
78646
78654
|
const gve = (navigator == null ? void 0 : navigator.userAgent.toLowerCase()) || "", KP = /iphone|ipad|ipod|ios|crios|fxios/i.test(gve), GP = /(iphone|ipod)/gi.test((navigator == null ? void 0 : navigator.platform) || ""), yve = !!window.chrome, SVe = !!window.safari || KP;
|
|
78647
78655
|
function WP() {
|
|
@@ -79678,7 +79686,7 @@ function mB(o, i) {
|
|
|
79678
79686
|
const n = o + i.clipStartTime(), a = Math.floor(o) === Math.floor(i.seekableStart()), s = Math.floor(n) === Math.floor(i.seekableEnd());
|
|
79679
79687
|
return a ? i.seekableStart() : s ? i.seekableEnd() : i.isLiveDVR() && i.liveDVRWindow() > 0 && n < i.seekableEnd() - i.liveDVRWindow() ? i.bufferedStart() : Math.min(Math.max(i.seekableStart() + 0.1, n), i.seekableEnd() - 0.1);
|
|
79680
79688
|
}
|
|
79681
|
-
var gc, ia, g0, S3, po,
|
|
79689
|
+
var gc, ia, g0, S3, po, vo, hwe;
|
|
79682
79690
|
class fwe {
|
|
79683
79691
|
constructor(i = void 0) {
|
|
79684
79692
|
F(this, po);
|
|
@@ -79734,7 +79742,7 @@ class fwe {
|
|
|
79734
79742
|
* @docs {@link https://www.vidstack.io/docs/player/core-concepts/loading#load-strategies}
|
|
79735
79743
|
*/
|
|
79736
79744
|
startLoading(i) {
|
|
79737
|
-
x(this, po,
|
|
79745
|
+
x(this, po, vo).call(this, "media-start-loading", i);
|
|
79738
79746
|
}
|
|
79739
79747
|
/**
|
|
79740
79748
|
* Dispatch a request to start the poster loading process. This will only work if the media
|
|
@@ -79743,7 +79751,7 @@ class fwe {
|
|
|
79743
79751
|
* @docs {@link https://www.vidstack.io/docs/player/core-concepts/loading#load-strategies}
|
|
79744
79752
|
*/
|
|
79745
79753
|
startLoadingPoster(i) {
|
|
79746
|
-
x(this, po,
|
|
79754
|
+
x(this, po, vo).call(this, "media-poster-start-loading", i);
|
|
79747
79755
|
}
|
|
79748
79756
|
/**
|
|
79749
79757
|
* Dispatch a request to connect to AirPlay.
|
|
@@ -79751,7 +79759,7 @@ class fwe {
|
|
|
79751
79759
|
* @see {@link https://www.apple.com/au/airplay}
|
|
79752
79760
|
*/
|
|
79753
79761
|
requestAirPlay(i) {
|
|
79754
|
-
x(this, po,
|
|
79762
|
+
x(this, po, vo).call(this, "media-airplay-request", i);
|
|
79755
79763
|
}
|
|
79756
79764
|
/**
|
|
79757
79765
|
* Dispatch a request to connect to Google Cast.
|
|
@@ -79759,31 +79767,31 @@ class fwe {
|
|
|
79759
79767
|
* @see {@link https://developers.google.com/cast/docs/overview}
|
|
79760
79768
|
*/
|
|
79761
79769
|
requestGoogleCast(i) {
|
|
79762
|
-
x(this, po,
|
|
79770
|
+
x(this, po, vo).call(this, "media-google-cast-request", i);
|
|
79763
79771
|
}
|
|
79764
79772
|
/**
|
|
79765
79773
|
* Dispatch a request to begin/resume media playback.
|
|
79766
79774
|
*/
|
|
79767
79775
|
play(i) {
|
|
79768
|
-
x(this, po,
|
|
79776
|
+
x(this, po, vo).call(this, "media-play-request", i);
|
|
79769
79777
|
}
|
|
79770
79778
|
/**
|
|
79771
79779
|
* Dispatch a request to pause media playback.
|
|
79772
79780
|
*/
|
|
79773
79781
|
pause(i) {
|
|
79774
|
-
x(this, po,
|
|
79782
|
+
x(this, po, vo).call(this, "media-pause-request", i);
|
|
79775
79783
|
}
|
|
79776
79784
|
/**
|
|
79777
79785
|
* Dispatch a request to set the media volume to mute (0).
|
|
79778
79786
|
*/
|
|
79779
79787
|
mute(i) {
|
|
79780
|
-
x(this, po,
|
|
79788
|
+
x(this, po, vo).call(this, "media-mute-request", i);
|
|
79781
79789
|
}
|
|
79782
79790
|
/**
|
|
79783
79791
|
* Dispatch a request to unmute the media volume and set it back to it's previous state.
|
|
79784
79792
|
*/
|
|
79785
79793
|
unmute(i) {
|
|
79786
|
-
x(this, po,
|
|
79794
|
+
x(this, po, vo).call(this, "media-unmute-request", i);
|
|
79787
79795
|
}
|
|
79788
79796
|
/**
|
|
79789
79797
|
* Dispatch a request to enter fullscreen.
|
|
@@ -79791,7 +79799,7 @@ class fwe {
|
|
|
79791
79799
|
* @docs {@link https://www.vidstack.io/docs/player/api/fullscreen#remote-control}
|
|
79792
79800
|
*/
|
|
79793
79801
|
enterFullscreen(i, n) {
|
|
79794
|
-
x(this, po,
|
|
79802
|
+
x(this, po, vo).call(this, "media-enter-fullscreen-request", n, i);
|
|
79795
79803
|
}
|
|
79796
79804
|
/**
|
|
79797
79805
|
* Dispatch a request to exit fullscreen.
|
|
@@ -79799,7 +79807,7 @@ class fwe {
|
|
|
79799
79807
|
* @docs {@link https://www.vidstack.io/docs/player/api/fullscreen#remote-control}
|
|
79800
79808
|
*/
|
|
79801
79809
|
exitFullscreen(i, n) {
|
|
79802
|
-
x(this, po,
|
|
79810
|
+
x(this, po, vo).call(this, "media-exit-fullscreen-request", n, i);
|
|
79803
79811
|
}
|
|
79804
79812
|
/**
|
|
79805
79813
|
* Dispatch a request to lock the screen orientation.
|
|
@@ -79807,7 +79815,7 @@ class fwe {
|
|
|
79807
79815
|
* @docs {@link https://www.vidstack.io/docs/player/screen-orientation#remote-control}
|
|
79808
79816
|
*/
|
|
79809
79817
|
lockScreenOrientation(i, n) {
|
|
79810
|
-
x(this, po,
|
|
79818
|
+
x(this, po, vo).call(this, "media-orientation-lock-request", n, i);
|
|
79811
79819
|
}
|
|
79812
79820
|
/**
|
|
79813
79821
|
* Dispatch a request to unlock the screen orientation.
|
|
@@ -79815,7 +79823,7 @@ class fwe {
|
|
|
79815
79823
|
* @docs {@link https://www.vidstack.io/docs/player/api/screen-orientation#remote-control}
|
|
79816
79824
|
*/
|
|
79817
79825
|
unlockScreenOrientation(i) {
|
|
79818
|
-
x(this, po,
|
|
79826
|
+
x(this, po, vo).call(this, "media-orientation-unlock-request", i);
|
|
79819
79827
|
}
|
|
79820
79828
|
/**
|
|
79821
79829
|
* Dispatch a request to enter picture-in-picture mode.
|
|
@@ -79823,7 +79831,7 @@ class fwe {
|
|
|
79823
79831
|
* @docs {@link https://www.vidstack.io/docs/player/api/picture-in-picture#remote-control}
|
|
79824
79832
|
*/
|
|
79825
79833
|
enterPictureInPicture(i) {
|
|
79826
|
-
x(this, po,
|
|
79834
|
+
x(this, po, vo).call(this, "media-enter-pip-request", i);
|
|
79827
79835
|
}
|
|
79828
79836
|
/**
|
|
79829
79837
|
* Dispatch a request to exit picture-in-picture mode.
|
|
@@ -79831,23 +79839,23 @@ class fwe {
|
|
|
79831
79839
|
* @docs {@link https://www.vidstack.io/docs/player/api/picture-in-picture#remote-control}
|
|
79832
79840
|
*/
|
|
79833
79841
|
exitPictureInPicture(i) {
|
|
79834
|
-
x(this, po,
|
|
79842
|
+
x(this, po, vo).call(this, "media-exit-pip-request", i);
|
|
79835
79843
|
}
|
|
79836
79844
|
/**
|
|
79837
79845
|
* Notify the media player that a seeking process is happening and to seek to the given `time`.
|
|
79838
79846
|
*/
|
|
79839
79847
|
seeking(i, n) {
|
|
79840
|
-
x(this, po,
|
|
79848
|
+
x(this, po, vo).call(this, "media-seeking-request", n, i);
|
|
79841
79849
|
}
|
|
79842
79850
|
/**
|
|
79843
79851
|
* Notify the media player that a seeking operation has completed and to seek to the given `time`.
|
|
79844
79852
|
* This is generally called after a series of `remote.seeking()` calls.
|
|
79845
79853
|
*/
|
|
79846
79854
|
seek(i, n) {
|
|
79847
|
-
x(this, po,
|
|
79855
|
+
x(this, po, vo).call(this, "media-seek-request", n, i);
|
|
79848
79856
|
}
|
|
79849
79857
|
seekToLiveEdge(i) {
|
|
79850
|
-
x(this, po,
|
|
79858
|
+
x(this, po, vo).call(this, "media-live-edge-request", i);
|
|
79851
79859
|
}
|
|
79852
79860
|
/**
|
|
79853
79861
|
* Dispatch a request to update the length of the media in seconds.
|
|
@@ -79858,7 +79866,7 @@ class fwe {
|
|
|
79858
79866
|
* ```
|
|
79859
79867
|
*/
|
|
79860
79868
|
changeDuration(i, n) {
|
|
79861
|
-
x(this, po,
|
|
79869
|
+
x(this, po, vo).call(this, "media-duration-change-request", n, i);
|
|
79862
79870
|
}
|
|
79863
79871
|
/**
|
|
79864
79872
|
* Dispatch a request to update the clip start time. This is the time at which media playback
|
|
@@ -79870,7 +79878,7 @@ class fwe {
|
|
|
79870
79878
|
* ```
|
|
79871
79879
|
*/
|
|
79872
79880
|
changeClipStart(i, n) {
|
|
79873
|
-
x(this, po,
|
|
79881
|
+
x(this, po, vo).call(this, "media-clip-start-change-request", n, i);
|
|
79874
79882
|
}
|
|
79875
79883
|
/**
|
|
79876
79884
|
* Dispatch a request to update the clip end time. This is the time at which media playback
|
|
@@ -79882,7 +79890,7 @@ class fwe {
|
|
|
79882
79890
|
* ```
|
|
79883
79891
|
*/
|
|
79884
79892
|
changeClipEnd(i, n) {
|
|
79885
|
-
x(this, po,
|
|
79893
|
+
x(this, po, vo).call(this, "media-clip-end-change-request", n, i);
|
|
79886
79894
|
}
|
|
79887
79895
|
/**
|
|
79888
79896
|
* Dispatch a request to update the media volume to the given `volume` level which is a value
|
|
@@ -79899,7 +79907,7 @@ class fwe {
|
|
|
79899
79907
|
* ```
|
|
79900
79908
|
*/
|
|
79901
79909
|
changeVolume(i, n) {
|
|
79902
|
-
x(this, po,
|
|
79910
|
+
x(this, po, vo).call(this, "media-volume-change-request", n, Math.max(0, Math.min(1, i)));
|
|
79903
79911
|
}
|
|
79904
79912
|
/**
|
|
79905
79913
|
* Dispatch a request to change the current audio track.
|
|
@@ -79910,7 +79918,7 @@ class fwe {
|
|
|
79910
79918
|
* ```
|
|
79911
79919
|
*/
|
|
79912
79920
|
changeAudioTrack(i, n) {
|
|
79913
|
-
x(this, po,
|
|
79921
|
+
x(this, po, vo).call(this, "media-audio-track-change-request", n, i);
|
|
79914
79922
|
}
|
|
79915
79923
|
/**
|
|
79916
79924
|
* Dispatch a request to change the video quality. The special value `-1` represents auto quality
|
|
@@ -79923,7 +79931,7 @@ class fwe {
|
|
|
79923
79931
|
* ```
|
|
79924
79932
|
*/
|
|
79925
79933
|
changeQuality(i, n) {
|
|
79926
|
-
x(this, po,
|
|
79934
|
+
x(this, po, vo).call(this, "media-quality-change-request", n, i);
|
|
79927
79935
|
}
|
|
79928
79936
|
/**
|
|
79929
79937
|
* Request auto quality selection.
|
|
@@ -79940,7 +79948,7 @@ class fwe {
|
|
|
79940
79948
|
* ```
|
|
79941
79949
|
*/
|
|
79942
79950
|
changeTextTrackMode(i, n, a) {
|
|
79943
|
-
x(this, po,
|
|
79951
|
+
x(this, po, vo).call(this, "media-text-track-change-request", a, {
|
|
79944
79952
|
index: i,
|
|
79945
79953
|
mode: n
|
|
79946
79954
|
});
|
|
@@ -79957,7 +79965,7 @@ class fwe {
|
|
|
79957
79965
|
* ```
|
|
79958
79966
|
*/
|
|
79959
79967
|
changePlaybackRate(i, n) {
|
|
79960
|
-
x(this, po,
|
|
79968
|
+
x(this, po, vo).call(this, "media-rate-change-request", n, i);
|
|
79961
79969
|
}
|
|
79962
79970
|
/**
|
|
79963
79971
|
* Dispatch a request to change the media audio gain.
|
|
@@ -79970,13 +79978,13 @@ class fwe {
|
|
|
79970
79978
|
* ```
|
|
79971
79979
|
*/
|
|
79972
79980
|
changeAudioGain(i, n) {
|
|
79973
|
-
x(this, po,
|
|
79981
|
+
x(this, po, vo).call(this, "media-audio-gain-change-request", n, i);
|
|
79974
79982
|
}
|
|
79975
79983
|
/**
|
|
79976
79984
|
* Dispatch a request to resume idle tracking on controls.
|
|
79977
79985
|
*/
|
|
79978
79986
|
resumeControls(i) {
|
|
79979
|
-
x(this, po,
|
|
79987
|
+
x(this, po, vo).call(this, "media-resume-controls-request", i);
|
|
79980
79988
|
}
|
|
79981
79989
|
/**
|
|
79982
79990
|
* Dispatch a request to pause controls idle tracking. Pausing tracking will result in the
|
|
@@ -79997,7 +80005,7 @@ class fwe {
|
|
|
79997
80005
|
* ```
|
|
79998
80006
|
*/
|
|
79999
80007
|
pauseControls(i) {
|
|
80000
|
-
x(this, po,
|
|
80008
|
+
x(this, po, vo).call(this, "media-pause-controls-request", i);
|
|
80001
80009
|
}
|
|
80002
80010
|
/**
|
|
80003
80011
|
* Dispatch a request to toggle the media playback state.
|
|
@@ -80069,10 +80077,10 @@ class fwe {
|
|
|
80069
80077
|
n && (n.state.textTrack ? this.disableCaptions() : this.showCaptions());
|
|
80070
80078
|
}
|
|
80071
80079
|
userPrefersLoopChange(i, n) {
|
|
80072
|
-
x(this, po,
|
|
80080
|
+
x(this, po, vo).call(this, "media-user-loop-change-request", n, i);
|
|
80073
80081
|
}
|
|
80074
80082
|
}
|
|
80075
|
-
gc = new WeakMap(), ia = new WeakMap(), g0 = new WeakMap(), S3 = new WeakMap(), po = new WeakSet(),
|
|
80083
|
+
gc = new WeakMap(), ia = new WeakMap(), g0 = new WeakMap(), S3 = new WeakMap(), po = new WeakSet(), vo = function(i, n, a) {
|
|
80076
80084
|
var p, u;
|
|
80077
80085
|
const s = new Po(i, {
|
|
80078
80086
|
bubbles: !0,
|
|
@@ -80836,7 +80844,7 @@ class Dwe {
|
|
|
80836
80844
|
return "audio";
|
|
80837
80845
|
}
|
|
80838
80846
|
async load(i) {
|
|
80839
|
-
return new (await import("./vidstack-audio-
|
|
80847
|
+
return new (await import("./vidstack-audio-D_eLF80B.js")).AudioProvider(this.target, i);
|
|
80840
80848
|
}
|
|
80841
80849
|
}
|
|
80842
80850
|
class Pw {
|
|
@@ -80851,7 +80859,7 @@ class Pw {
|
|
|
80851
80859
|
return "video";
|
|
80852
80860
|
}
|
|
80853
80861
|
async load(i) {
|
|
80854
|
-
return new (await import("./vidstack-video-
|
|
80862
|
+
return new (await import("./vidstack-video-Cy44pHC0.js")).VideoProvider(this.target, i);
|
|
80855
80863
|
}
|
|
80856
80864
|
}
|
|
80857
80865
|
const A3 = class A3 extends Pw {
|
|
@@ -80863,7 +80871,7 @@ const A3 = class A3 extends Pw {
|
|
|
80863
80871
|
return A3.supported && Jf(n);
|
|
80864
80872
|
}
|
|
80865
80873
|
async load(n) {
|
|
80866
|
-
return new (await import("./vidstack-hls-
|
|
80874
|
+
return new (await import("./vidstack-hls-D16ReaTx.js")).HLSProvider(this.target, n);
|
|
80867
80875
|
}
|
|
80868
80876
|
};
|
|
80869
80877
|
ee(A3, "supported", _w());
|
|
@@ -80877,7 +80885,7 @@ const T3 = class T3 extends Pw {
|
|
|
80877
80885
|
return T3.supported && Ow(n);
|
|
80878
80886
|
}
|
|
80879
80887
|
async load(n) {
|
|
80880
|
-
return new (await import("./vidstack-dash-
|
|
80888
|
+
return new (await import("./vidstack-dash-Djuu18NL.js")).DASHProvider(this.target, n);
|
|
80881
80889
|
}
|
|
80882
80890
|
};
|
|
80883
80891
|
ee(T3, "supported", Ave());
|
|
@@ -80903,7 +80911,7 @@ class Rwe {
|
|
|
80903
80911
|
return "video";
|
|
80904
80912
|
}
|
|
80905
80913
|
async load(i) {
|
|
80906
|
-
return new (await import("./vidstack-vimeo-
|
|
80914
|
+
return new (await import("./vidstack-vimeo-DSooRKEh.js")).VimeoProvider(this.target, i);
|
|
80907
80915
|
}
|
|
80908
80916
|
async loadPoster(i, n, a) {
|
|
80909
80917
|
const { resolveVimeoVideoId: s, getVimeoVideoInfo: l } = await import("./vidstack-krOAtKMi-B4IZWKdc.js");
|
|
@@ -80937,7 +80945,7 @@ class Lwe {
|
|
|
80937
80945
|
return "video";
|
|
80938
80946
|
}
|
|
80939
80947
|
async load(i) {
|
|
80940
|
-
return new (await import("./vidstack-youtube-
|
|
80948
|
+
return new (await import("./vidstack-youtube-CXQ7CUgz.js")).YouTubeProvider(this.target, i);
|
|
80941
80949
|
}
|
|
80942
80950
|
async loadPoster(i, n, a) {
|
|
80943
80951
|
const { findYouTubePoster: s, resolveYouTubeVideoId: l } = await import("./vidstack-Dm1xEU9Q-qSXq3AI-.js"), d = jt(i.src) && l(i.src);
|
|
@@ -81221,7 +81229,7 @@ js = new WeakMap(), x0 = new WeakMap(), Ua = new WeakMap(), xd = new WeakSet(),
|
|
|
81221
81229
|
}, jy = function() {
|
|
81222
81230
|
v(this, x0).resolve(), Y(this, x0, my());
|
|
81223
81231
|
};
|
|
81224
|
-
var xl, Dt, Il, Ic, Sl,
|
|
81232
|
+
var xl, Dt, Il, Ic, Sl, qo, qs, Xt, NB, zB, UB, qy, I0, Fy, Ny, VB, HB, KB, GB, WB, ZB, Sc, YB, zy, Uy, qwe;
|
|
81225
81233
|
class jwe extends Rp {
|
|
81226
81234
|
constructor(n, a, s) {
|
|
81227
81235
|
super();
|
|
@@ -81232,11 +81240,11 @@ class jwe extends Rp {
|
|
|
81232
81240
|
ee(this, "controls");
|
|
81233
81241
|
F(this, Ic);
|
|
81234
81242
|
F(this, Sl);
|
|
81235
|
-
F(this,
|
|
81243
|
+
F(this, qo);
|
|
81236
81244
|
F(this, qs, new FB());
|
|
81237
81245
|
F(this, I0, !1);
|
|
81238
81246
|
F(this, Sc);
|
|
81239
|
-
Y(this, xl, n), Y(this, Dt, a), Y(this, Il, s), Y(this,
|
|
81247
|
+
Y(this, xl, n), Y(this, Dt, a), Y(this, Il, s), Y(this, qo, s.$provider), this.controls = new Owe(), Y(this, Ic, new pwe()), Y(this, Sl, new d3());
|
|
81240
81248
|
}
|
|
81241
81249
|
onAttach() {
|
|
81242
81250
|
this.listen("fullscreen-change", x(this, Xt, YB).bind(this));
|
|
@@ -81261,7 +81269,7 @@ class jwe extends Rp {
|
|
|
81261
81269
|
n && v(this, Dt).queue.enqueue("media-play-request", n);
|
|
81262
81270
|
const d = We(l);
|
|
81263
81271
|
try {
|
|
81264
|
-
const p = We(v(this,
|
|
81272
|
+
const p = We(v(this, qo));
|
|
81265
81273
|
return a6(p, We(a)), Fwe(d), await p.play();
|
|
81266
81274
|
} catch (p) {
|
|
81267
81275
|
const u = this.createEvent("play-fail", {
|
|
@@ -81276,7 +81284,7 @@ class jwe extends Rp {
|
|
|
81276
81284
|
if (!We(s)) {
|
|
81277
81285
|
n && v(this, Dt).queue.enqueue("media-pause-request", n);
|
|
81278
81286
|
try {
|
|
81279
|
-
const l = We(v(this,
|
|
81287
|
+
const l = We(v(this, qo));
|
|
81280
81288
|
return a6(l, We(a)), await l.pause();
|
|
81281
81289
|
} catch (l) {
|
|
81282
81290
|
throw v(this, Dt).queue.delete("media-pause-request"), l;
|
|
@@ -81286,7 +81294,7 @@ class jwe extends Rp {
|
|
|
81286
81294
|
setAudioGain(n, a) {
|
|
81287
81295
|
const { audioGain: s, canSetAudioGain: l } = this.$state;
|
|
81288
81296
|
if (s() === n) return;
|
|
81289
|
-
const d = v(this,
|
|
81297
|
+
const d = v(this, qo).call(this);
|
|
81290
81298
|
if (!(d != null && d.audioGain) || !l())
|
|
81291
81299
|
throw Error("[vidstack] audio gain api not available");
|
|
81292
81300
|
a && v(this, Dt).queue.enqueue("media-audio-gain-change-request", a), d.audioGain.setGain(n);
|
|
@@ -81294,7 +81302,7 @@ class jwe extends Rp {
|
|
|
81294
81302
|
seekToLiveEdge(n) {
|
|
81295
81303
|
const { canPlay: a, live: s, liveEdge: l, canSeek: d, liveSyncPosition: p, seekableEnd: u, userBehindLiveEdge: h } = this.$state;
|
|
81296
81304
|
if (h.set(!1), We(() => !s() || l() || !d())) return;
|
|
81297
|
-
const b = We(v(this,
|
|
81305
|
+
const b = We(v(this, qo));
|
|
81298
81306
|
a6(b, We(a)), n && v(this, Dt).queue.enqueue("media-seek-request", n);
|
|
81299
81307
|
const g = u() - 2;
|
|
81300
81308
|
b.setCurrentTime(Math.min(g, p() ?? g));
|
|
@@ -81318,11 +81326,11 @@ class jwe extends Rp {
|
|
|
81318
81326
|
}
|
|
81319
81327
|
async enterPictureInPicture(n) {
|
|
81320
81328
|
if (x(this, Xt, Ny).call(this), !this.$state.pictureInPicture())
|
|
81321
|
-
return n && v(this, Dt).queue.enqueue("media-enter-pip-request", n), await v(this,
|
|
81329
|
+
return n && v(this, Dt).queue.enqueue("media-enter-pip-request", n), await v(this, qo).call(this).pictureInPicture.enter();
|
|
81322
81330
|
}
|
|
81323
81331
|
async exitPictureInPicture(n) {
|
|
81324
81332
|
if (x(this, Xt, Ny).call(this), !!this.$state.pictureInPicture())
|
|
81325
|
-
return n && v(this, Dt).queue.enqueue("media-exit-pip-request", n), await v(this,
|
|
81333
|
+
return n && v(this, Dt).queue.enqueue("media-exit-pip-request", n), await v(this, qo).call(this).pictureInPicture.exit();
|
|
81326
81334
|
}
|
|
81327
81335
|
async "media-airplay-request"(n) {
|
|
81328
81336
|
try {
|
|
@@ -81333,7 +81341,7 @@ class jwe extends Rp {
|
|
|
81333
81341
|
async requestAirPlay(n) {
|
|
81334
81342
|
var a;
|
|
81335
81343
|
try {
|
|
81336
|
-
const s = (a = v(this,
|
|
81344
|
+
const s = (a = v(this, qo).call(this)) == null ? void 0 : a.airPlay;
|
|
81337
81345
|
if (!(s != null && s.supported))
|
|
81338
81346
|
throw Error("No AirPlay adapter.");
|
|
81339
81347
|
return n && v(this, Dt).queue.enqueue("media-airplay-request", n), await s.prompt();
|
|
@@ -81357,7 +81365,7 @@ class jwe extends Rp {
|
|
|
81357
81365
|
throw l.code = "CAST_NOT_AVAILABLE", l;
|
|
81358
81366
|
}
|
|
81359
81367
|
if (eh("https://www.gstatic.com"), !v(this, Sc)) {
|
|
81360
|
-
const l = await import("./vidstack-D2pY00kU-
|
|
81368
|
+
const l = await import("./vidstack-D2pY00kU-Dk2nPGS-.js").then((d) => d.v);
|
|
81361
81369
|
Y(this, Sc, new l.GoogleCastLoader());
|
|
81362
81370
|
}
|
|
81363
81371
|
await v(this, Sc).prompt(v(this, Il)), n && v(this, Dt).queue.enqueue("media-google-cast-request", n);
|
|
@@ -81480,7 +81488,7 @@ class jwe extends Rp {
|
|
|
81480
81488
|
"media-rate-change-request"(n) {
|
|
81481
81489
|
const { playbackRate: a, canSetPlaybackRate: s } = this.$state;
|
|
81482
81490
|
if (a() === n.detail || !s()) return;
|
|
81483
|
-
const l = v(this,
|
|
81491
|
+
const l = v(this, qo).call(this);
|
|
81484
81492
|
l != null && l.setPlaybackRate && (v(this, Dt).queue.enqueue("media-rate-change-request", n), l.setPlaybackRate(n.detail));
|
|
81485
81493
|
}
|
|
81486
81494
|
"media-audio-gain-change-request"(n) {
|
|
@@ -81522,7 +81530,7 @@ class jwe extends Rp {
|
|
|
81522
81530
|
const h = n.type;
|
|
81523
81531
|
v(this, Dt).seeking = !1, v(this, Dt).queue.delete(h);
|
|
81524
81532
|
const b = mB(u, this.$state);
|
|
81525
|
-
!Number.isFinite(b) || !a() || (v(this, Dt).queue.enqueue(h, n), v(this,
|
|
81533
|
+
!Number.isFinite(b) || !a() || (v(this, Dt).queue.enqueue(h, n), v(this, qo).call(this).setCurrentTime(b), l() && n.isOriginTrusted && Math.abs(d() - b) >= 2 && p.set(!0));
|
|
81526
81534
|
}
|
|
81527
81535
|
"media-seeking-request"(n) {
|
|
81528
81536
|
const a = n.type;
|
|
@@ -81548,35 +81556,35 @@ class jwe extends Rp {
|
|
|
81548
81556
|
"media-mute-request"(n) {
|
|
81549
81557
|
if (this.$state.muted()) return;
|
|
81550
81558
|
const a = n.type;
|
|
81551
|
-
v(this, Dt).queue.enqueue(a, n), v(this,
|
|
81559
|
+
v(this, Dt).queue.enqueue(a, n), v(this, qo).call(this).setMuted(!0);
|
|
81552
81560
|
}
|
|
81553
81561
|
"media-unmute-request"(n) {
|
|
81554
81562
|
const { muted: a, volume: s } = this.$state;
|
|
81555
81563
|
if (!a()) return;
|
|
81556
81564
|
const l = n.type;
|
|
81557
|
-
v(this, Dt).queue.enqueue(l, n), v(this, Il).$provider().setMuted(!1), s() === 0 && (v(this, Dt).queue.enqueue(l, n), v(this,
|
|
81565
|
+
v(this, Dt).queue.enqueue(l, n), v(this, Il).$provider().setMuted(!1), s() === 0 && (v(this, Dt).queue.enqueue(l, n), v(this, qo).call(this).setVolume(0.25));
|
|
81558
81566
|
}
|
|
81559
81567
|
"media-volume-change-request"(n) {
|
|
81560
81568
|
const { muted: a, volume: s } = this.$state, l = n.detail;
|
|
81561
81569
|
if (s() === l) return;
|
|
81562
81570
|
const d = n.type;
|
|
81563
|
-
v(this, Dt).queue.enqueue(d, n), v(this,
|
|
81571
|
+
v(this, Dt).queue.enqueue(d, n), v(this, qo).call(this).setVolume(l), l > 0 && a() && (v(this, Dt).queue.enqueue(d, n), v(this, qo).call(this).setMuted(!1));
|
|
81564
81572
|
}
|
|
81565
81573
|
}
|
|
81566
|
-
xl = new WeakMap(), Dt = new WeakMap(), Il = new WeakMap(), Ic = new WeakMap(), Sl = new WeakMap(),
|
|
81574
|
+
xl = new WeakMap(), Dt = new WeakMap(), Il = new WeakMap(), Ic = new WeakMap(), Sl = new WeakMap(), qo = new WeakMap(), qs = new WeakMap(), Xt = new WeakSet(), NB = function() {
|
|
81567
81575
|
const { load: n } = this.$props, { canLoad: a } = this.$state;
|
|
81568
81576
|
if (n() !== "play" || a()) return;
|
|
81569
81577
|
const s = this.listen("media-play-request", (l) => {
|
|
81570
81578
|
x(this, Xt, qy).call(this, l), s();
|
|
81571
81579
|
});
|
|
81572
81580
|
}, zB = function() {
|
|
81573
|
-
const n = v(this,
|
|
81581
|
+
const n = v(this, qo).call(this), a = this.$state.canPlay();
|
|
81574
81582
|
return n && a && v(this, qs).start(), () => {
|
|
81575
81583
|
v(this, qs).stop();
|
|
81576
81584
|
};
|
|
81577
81585
|
}, UB = function(n) {
|
|
81578
|
-
n.stopPropagation(), !n.defaultPrevented && this[n.type] && (We(v(this,
|
|
81579
|
-
We(v(this,
|
|
81586
|
+
n.stopPropagation(), !n.defaultPrevented && this[n.type] && (We(v(this, qo)) ? this[n.type](n) : v(this, qs).enqueue(n.type, () => {
|
|
81587
|
+
We(v(this, qo)) && this[n.type](n);
|
|
81580
81588
|
}));
|
|
81581
81589
|
}, qy = function(n) {
|
|
81582
81590
|
const { load: a } = this.$props, { canLoad: s } = this.$state;
|
|
@@ -81591,7 +81599,7 @@ xl = new WeakMap(), Dt = new WeakMap(), Il = new WeakMap(), Ic = new WeakMap(),
|
|
|
81591
81599
|
}
|
|
81592
81600
|
return !1;
|
|
81593
81601
|
}, I0 = new WeakMap(), Fy = function(n) {
|
|
81594
|
-
const a = We(v(this,
|
|
81602
|
+
const a = We(v(this, qo));
|
|
81595
81603
|
return n === "prefer-media" && v(this, Ic).supported || n === "media" ? v(this, Ic) : a == null ? void 0 : a.fullscreen;
|
|
81596
81604
|
}, Ny = function() {
|
|
81597
81605
|
if (!this.$state.canPictureInPicture())
|
|
@@ -81602,22 +81610,22 @@ xl = new WeakMap(), Dt = new WeakMap(), Il = new WeakMap(), Ic = new WeakMap(),
|
|
|
81602
81610
|
this.controls.defaultDelay = this.$props.controlsDelay();
|
|
81603
81611
|
}, HB = function() {
|
|
81604
81612
|
var s, l;
|
|
81605
|
-
const { canSetAudioGain: n } = this.$state, a = !!((l = (s = v(this,
|
|
81613
|
+
const { canSetAudioGain: n } = this.$state, a = !!((l = (s = v(this, qo).call(this)) == null ? void 0 : s.audioGain) != null && l.supported);
|
|
81606
81614
|
n.set(a);
|
|
81607
81615
|
}, KB = function() {
|
|
81608
81616
|
var s, l;
|
|
81609
|
-
const { canAirPlay: n } = this.$state, a = !!((l = (s = v(this,
|
|
81617
|
+
const { canAirPlay: n } = this.$state, a = !!((l = (s = v(this, qo).call(this)) == null ? void 0 : s.airPlay) != null && l.supported);
|
|
81610
81618
|
n.set(a);
|
|
81611
81619
|
}, GB = function() {
|
|
81612
81620
|
const { canGoogleCast: n, source: a } = this.$state, s = yve && !KP && Bve(a());
|
|
81613
81621
|
n.set(s);
|
|
81614
81622
|
}, WB = function() {
|
|
81615
81623
|
var s, l;
|
|
81616
|
-
const { canFullscreen: n } = this.$state, a = v(this, Ic).supported || !!((l = (s = v(this,
|
|
81624
|
+
const { canFullscreen: n } = this.$state, a = v(this, Ic).supported || !!((l = (s = v(this, qo).call(this)) == null ? void 0 : s.fullscreen) != null && l.supported);
|
|
81617
81625
|
n.set(a);
|
|
81618
81626
|
}, ZB = function() {
|
|
81619
81627
|
var s, l;
|
|
81620
|
-
const { canPictureInPicture: n } = this.$state, a = !!((l = (s = v(this,
|
|
81628
|
+
const { canPictureInPicture: n } = this.$state, a = !!((l = (s = v(this, qo).call(this)) == null ? void 0 : s.pictureInPicture) != null && l.supported);
|
|
81621
81629
|
n.set(a);
|
|
81622
81630
|
}, Sc = new WeakMap(), YB = async function(n) {
|
|
81623
81631
|
const a = We(this.$props.fullscreenOrientation), s = n.detail;
|
|
@@ -83078,7 +83086,7 @@ El = new WeakMap(), Qi = new WeakMap(), Pn = new WeakMap(), al = new WeakSet(),
|
|
|
83078
83086
|
if ((a = v(this, Qi)) != null && a.classList.contains("vds-google-cast"))
|
|
83079
83087
|
return v(this, Qi);
|
|
83080
83088
|
const n = document.createElement("div");
|
|
83081
|
-
return n.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-
|
|
83089
|
+
return n.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-CyEDvryK.js").then(({ insertContent: s }) => {
|
|
83082
83090
|
s(n, v(this, El).$state);
|
|
83083
83091
|
}), n;
|
|
83084
83092
|
}, ee(J$, "tagName", "media-provider");
|
|
@@ -83619,7 +83627,7 @@ class aCe extends Ma {
|
|
|
83619
83627
|
Y(this, Ji, n), Y(this, Ks, a);
|
|
83620
83628
|
}
|
|
83621
83629
|
onSetup() {
|
|
83622
|
-
ua(U2) && Y(this, P0,
|
|
83630
|
+
ua(U2) && Y(this, P0, Uo(U2));
|
|
83623
83631
|
}
|
|
83624
83632
|
onConnect(n) {
|
|
83625
83633
|
Ce(x(this, ft, FM).bind(this, n)), Ce(x(this, ft, NM).bind(this, n)), v(this, Ji).swipeGesture && Ce(x(this, ft, MM).bind(this));
|
|
@@ -84139,7 +84147,7 @@ class $w extends wt {
|
|
|
84139
84147
|
F(this, bf);
|
|
84140
84148
|
}
|
|
84141
84149
|
onSetup() {
|
|
84142
|
-
Y(this, bf, ju(hp.state)), Y(this, Ws,
|
|
84150
|
+
Y(this, bf, ju(hp.state)), Y(this, Ws, Uo(xu)), Y(this, P3, pr(this.getValueText.bind(this)));
|
|
84143
84151
|
}
|
|
84144
84152
|
/**
|
|
84145
84153
|
* Returns the current value formatted as text based on prop settings.
|
|
@@ -84194,7 +84202,7 @@ class wj extends wt {
|
|
|
84194
84202
|
}));
|
|
84195
84203
|
}
|
|
84196
84204
|
onSetup() {
|
|
84197
|
-
Y(this, q0,
|
|
84205
|
+
Y(this, q0, Uo(Bw));
|
|
84198
84206
|
const { active: n } = ju(hp.state);
|
|
84199
84207
|
this.setAttributes({
|
|
84200
84208
|
"data-visible": n
|
|
@@ -84319,12 +84327,12 @@ xa = new WeakMap(), Hi = new WeakSet(), Cj = function() {
|
|
|
84319
84327
|
keyStep: 5,
|
|
84320
84328
|
shiftKeyMultiplier: 2
|
|
84321
84329
|
}), ee(O8, "state", Lp);
|
|
84322
|
-
var
|
|
84330
|
+
var Fo, F0, vf, bt, _j, Oj, Dj, Rj, Lj, D8, Pj, N0, Bj, $j, R8, Mj, L8, jj, qj, Fj, Nj, zj, Uj, Gd, Vj, Hj, Kj;
|
|
84323
84331
|
class f3 extends wt {
|
|
84324
84332
|
constructor() {
|
|
84325
84333
|
super();
|
|
84326
84334
|
F(this, bt);
|
|
84327
|
-
F(this,
|
|
84335
|
+
F(this, Fo);
|
|
84328
84336
|
F(this, F0);
|
|
84329
84337
|
F(this, vf, qt(null));
|
|
84330
84338
|
F(this, N0, !1);
|
|
@@ -84347,7 +84355,7 @@ class f3 extends wt {
|
|
|
84347
84355
|
});
|
|
84348
84356
|
}
|
|
84349
84357
|
onSetup() {
|
|
84350
|
-
Y(this,
|
|
84358
|
+
Y(this, Fo, Ut()), pa(xu, {
|
|
84351
84359
|
default: "time",
|
|
84352
84360
|
value: x(this, bt, Hj).bind(this),
|
|
84353
84361
|
time: x(this, bt, Kj).bind(this)
|
|
@@ -84361,15 +84369,15 @@ class f3 extends wt {
|
|
|
84361
84369
|
n.setAttribute("data-media-time-slider", ""), bo(n, "aria-label", "Seek");
|
|
84362
84370
|
}
|
|
84363
84371
|
onConnect(n) {
|
|
84364
|
-
Ce(x(this, bt, Lj).bind(this)), Fb(v(this,
|
|
84372
|
+
Ce(x(this, bt, Lj).bind(this)), Fb(v(this, Fo).textTracks, "chapters", v(this, vf).set);
|
|
84365
84373
|
}
|
|
84366
84374
|
}
|
|
84367
|
-
|
|
84368
|
-
const { bufferedEnd: n, duration: a } = v(this,
|
|
84375
|
+
Fo = new WeakMap(), F0 = new WeakMap(), vf = new WeakMap(), bt = new WeakSet(), _j = function() {
|
|
84376
|
+
const { bufferedEnd: n, duration: a } = v(this, Fo).$state;
|
|
84369
84377
|
return Ri(Math.min(n() / Math.max(a(), 1), 1) * 100, 3) + "%";
|
|
84370
84378
|
}, Oj = function() {
|
|
84371
84379
|
var a;
|
|
84372
|
-
const { duration: n } = v(this,
|
|
84380
|
+
const { duration: n } = v(this, Fo).$state;
|
|
84373
84381
|
return ((a = v(this, vf).call(this)) == null ? void 0 : a.cues.length) && Number.isFinite(n()) && n() > 0;
|
|
84374
84382
|
}, Dj = function() {
|
|
84375
84383
|
Y(this, F0, Dp(
|
|
@@ -84381,33 +84389,33 @@ qo = new WeakMap(), F0 = new WeakMap(), vf = new WeakMap(), bt = new WeakSet(),
|
|
|
84381
84389
|
const { value: n, dragging: a } = this.$state, s = x(this, bt, L8).call(this);
|
|
84382
84390
|
We(a) || (n.set(s), this.dispatch("value-change", { detail: s }));
|
|
84383
84391
|
}, Lj = function() {
|
|
84384
|
-
const n = v(this,
|
|
84392
|
+
const n = v(this, Fo).player.el, { preview: a } = Uo(Bw);
|
|
84385
84393
|
n && a() && rt(n, "data-preview", this.$state.active());
|
|
84386
84394
|
}, D8 = function(n, a) {
|
|
84387
|
-
v(this,
|
|
84395
|
+
v(this, Fo).remote.seeking(n, a);
|
|
84388
84396
|
}, Pj = function(n, a, s) {
|
|
84389
84397
|
v(this, F0).cancel();
|
|
84390
|
-
const { live: l } = v(this,
|
|
84398
|
+
const { live: l } = v(this, Fo).$state;
|
|
84391
84399
|
if (l() && a >= 99) {
|
|
84392
|
-
v(this,
|
|
84400
|
+
v(this, Fo).remote.seekToLiveEdge(s);
|
|
84393
84401
|
return;
|
|
84394
84402
|
}
|
|
84395
|
-
v(this,
|
|
84403
|
+
v(this, Fo).remote.seek(n, s);
|
|
84396
84404
|
}, N0 = new WeakMap(), Bj = function(n) {
|
|
84397
84405
|
const { pauseWhileDragging: a } = this.$props;
|
|
84398
84406
|
if (a()) {
|
|
84399
|
-
const { paused: s } = v(this,
|
|
84400
|
-
Y(this, N0, !s()), v(this,
|
|
84407
|
+
const { paused: s } = v(this, Fo).$state;
|
|
84408
|
+
Y(this, N0, !s()), v(this, Fo).remote.pause(n);
|
|
84401
84409
|
}
|
|
84402
84410
|
}, $j = function(n) {
|
|
84403
84411
|
v(this, F0).call(this, x(this, bt, Gd).call(this, n.detail), n);
|
|
84404
84412
|
}, R8 = function(n) {
|
|
84405
|
-
const { seeking: a } = v(this,
|
|
84413
|
+
const { seeking: a } = v(this, Fo).$state;
|
|
84406
84414
|
We(a) || x(this, bt, D8).call(this, x(this, bt, Gd).call(this, n.detail), n);
|
|
84407
84415
|
const s = n.detail;
|
|
84408
84416
|
x(this, bt, Pj).call(this, x(this, bt, Gd).call(this, s), s, n);
|
|
84409
84417
|
const { pauseWhileDragging: l } = this.$props;
|
|
84410
|
-
l() && v(this, N0) && (v(this,
|
|
84418
|
+
l() && v(this, N0) && (v(this, Fo).remote.play(n), Y(this, N0, !1));
|
|
84411
84419
|
}, Mj = function(n) {
|
|
84412
84420
|
const { dragging: a } = this.$state;
|
|
84413
84421
|
a() || !n.trigger || x(this, bt, R8).call(this, n);
|
|
@@ -84415,18 +84423,18 @@ qo = new WeakMap(), F0 = new WeakMap(), vf = new WeakMap(), bt = new WeakSet(),
|
|
|
84415
84423
|
// Props
|
|
84416
84424
|
// -------------------------------------------------------------------------------------------
|
|
84417
84425
|
L8 = function() {
|
|
84418
|
-
const { currentTime: n } = v(this,
|
|
84426
|
+
const { currentTime: n } = v(this, Fo).$state;
|
|
84419
84427
|
return x(this, bt, Vj).call(this, n());
|
|
84420
84428
|
}, jj = function() {
|
|
84421
|
-
const n = this.$props.step() / v(this,
|
|
84429
|
+
const n = this.$props.step() / v(this, Fo).$state.duration() * 100;
|
|
84422
84430
|
return Number.isFinite(n) ? n : 1;
|
|
84423
84431
|
}, qj = function() {
|
|
84424
|
-
const n = this.$props.keyStep() / v(this,
|
|
84432
|
+
const n = this.$props.keyStep() / v(this, Fo).$state.duration() * 100;
|
|
84425
84433
|
return Number.isFinite(n) ? n : 1;
|
|
84426
84434
|
}, Fj = function(n) {
|
|
84427
84435
|
return Ri(n, 3);
|
|
84428
84436
|
}, Nj = function() {
|
|
84429
|
-
const { disabled: n } = this.$props, { canSeek: a } = v(this,
|
|
84437
|
+
const { disabled: n } = this.$props, { canSeek: a } = v(this, Fo).$state;
|
|
84430
84438
|
return n() || !a();
|
|
84431
84439
|
}, // -------------------------------------------------------------------------------------------
|
|
84432
84440
|
// ARIA
|
|
@@ -84435,22 +84443,22 @@ zj = function() {
|
|
|
84435
84443
|
const { value: n } = this.$state;
|
|
84436
84444
|
return Math.round(n());
|
|
84437
84445
|
}, Uj = function() {
|
|
84438
|
-
const n = x(this, bt, Gd).call(this, this.$state.value()), { duration: a } = v(this,
|
|
84446
|
+
const n = x(this, bt, Gd).call(this, this.$state.value()), { duration: a } = v(this, Fo).$state;
|
|
84439
84447
|
return Number.isFinite(n) ? `${u3(n)} out of ${u3(a())}` : "live";
|
|
84440
84448
|
}, // -------------------------------------------------------------------------------------------
|
|
84441
84449
|
// Format
|
|
84442
84450
|
// -------------------------------------------------------------------------------------------
|
|
84443
84451
|
Gd = function(n) {
|
|
84444
|
-
const { duration: a } = v(this,
|
|
84452
|
+
const { duration: a } = v(this, Fo).$state;
|
|
84445
84453
|
return Ri(n / 100 * a(), 5);
|
|
84446
84454
|
}, Vj = function(n) {
|
|
84447
|
-
const { liveEdge: a, duration: s } = v(this,
|
|
84455
|
+
const { liveEdge: a, duration: s } = v(this, Fo).$state, l = Math.max(0, Math.min(1, a() ? 1 : Math.min(n, s()) / s()));
|
|
84448
84456
|
return Number.isNaN(l) ? 0 : Number.isFinite(l) ? l * 100 : 100;
|
|
84449
84457
|
}, Hj = function(n) {
|
|
84450
|
-
const a = x(this, bt, Gd).call(this, n), { live: s, duration: l } = v(this,
|
|
84458
|
+
const a = x(this, bt, Gd).call(this, n), { live: s, duration: l } = v(this, Fo).$state;
|
|
84451
84459
|
return Number.isFinite(a) ? (s() ? a - l() : a).toFixed(0) : "LIVE";
|
|
84452
84460
|
}, Kj = function(n, a) {
|
|
84453
|
-
const s = x(this, bt, Gd).call(this, n), { live: l, duration: d } = v(this,
|
|
84461
|
+
const s = x(this, bt, Gd).call(this, n), { live: l, duration: d } = v(this, Fo).$state, p = l() ? s - d() : s;
|
|
84454
84462
|
return Number.isFinite(s) ? `${p < 0 ? "-" : ""}${Nb(Math.abs(p), a)}` : "LIVE";
|
|
84455
84463
|
}, ee(f3, "props", {
|
|
84456
84464
|
...fa.props,
|
|
@@ -84673,7 +84681,7 @@ class Pp extends wt {
|
|
|
84673
84681
|
const n = ++mCe;
|
|
84674
84682
|
Y(this, z0, `media-menu-${n}`), Y(this, U0, `media-menu-button-${n}`), Y(this, Ll, new uCe({
|
|
84675
84683
|
closeMenu: this.close.bind(this)
|
|
84676
|
-
})), ua(Li) && Y(this, Ys,
|
|
84684
|
+
})), ua(Li) && Y(this, Ys, Uo(Li)), x(this, Tt, Xj).call(this), this.setAttributes({
|
|
84677
84685
|
"data-open": v(this, kn),
|
|
84678
84686
|
"data-root": !this.isSubmenu,
|
|
84679
84687
|
"data-submenu": this.isSubmenu,
|
|
@@ -84715,7 +84723,7 @@ class Pp extends wt {
|
|
|
84715
84723
|
}
|
|
84716
84724
|
}
|
|
84717
84725
|
Wa = new WeakMap(), z0 = new WeakMap(), U0 = new WeakMap(), kn = new WeakMap(), Cf = new WeakMap(), Dr = new WeakMap(), ji = new WeakMap(), Ys = new WeakMap(), Xs = new WeakMap(), Mc = new WeakMap(), jc = new WeakMap(), Ll = new WeakMap(), qc = new WeakMap(), kf = new WeakMap(), Fc = new WeakMap(), Tt = new WeakSet(), Xj = function() {
|
|
84718
|
-
let n = -1, a = ua(U2) ?
|
|
84726
|
+
let n = -1, a = ua(U2) ? Uo(U2) : null;
|
|
84719
84727
|
pa(U2, {
|
|
84720
84728
|
onDragStart: () => {
|
|
84721
84729
|
var s;
|
|
@@ -84872,7 +84880,7 @@ class zb extends wt {
|
|
|
84872
84880
|
return ((n = v(this, Qs)) == null ? void 0 : n.expanded()) ?? !1;
|
|
84873
84881
|
}
|
|
84874
84882
|
onSetup() {
|
|
84875
|
-
Y(this, Qs,
|
|
84883
|
+
Y(this, Qs, Uo(Li));
|
|
84876
84884
|
}
|
|
84877
84885
|
onAttach(n) {
|
|
84878
84886
|
v(this, Qs).attachMenuButton(this), Ce(x(this, rs, mq).bind(this)), bo(n, "type", "button");
|
|
@@ -84964,8 +84972,8 @@ class Cq extends wt {
|
|
|
84964
84972
|
});
|
|
84965
84973
|
}
|
|
84966
84974
|
onAttach(n) {
|
|
84967
|
-
if (Y(this, Nc,
|
|
84968
|
-
const a =
|
|
84975
|
+
if (Y(this, Nc, Uo(Li)), v(this, Nc).attachMenuItems(this), ua(gm)) {
|
|
84976
|
+
const a = Uo(gm);
|
|
84969
84977
|
a && (pa(gm, null), a.attach(n), Yt(() => a.attach(null)));
|
|
84970
84978
|
}
|
|
84971
84979
|
}
|
|
@@ -85086,10 +85094,10 @@ class Mw extends wt {
|
|
|
85086
85094
|
}
|
|
85087
85095
|
Rr = new WeakMap(), zc = new WeakMap(), an = new WeakSet(), Tq = function() {
|
|
85088
85096
|
Un(() => {
|
|
85089
|
-
|
|
85097
|
+
Uo(F8).remove(v(this, zc));
|
|
85090
85098
|
}, this.connectScope);
|
|
85091
85099
|
}, Eq = function() {
|
|
85092
|
-
|
|
85100
|
+
Uo(F8).add(v(this, zc));
|
|
85093
85101
|
}, _q = function() {
|
|
85094
85102
|
var s, l;
|
|
85095
85103
|
const { value: n } = this.$props, a = n();
|
|
@@ -85126,7 +85134,7 @@ class jw extends wt {
|
|
|
85126
85134
|
return n().length <= 1;
|
|
85127
85135
|
}
|
|
85128
85136
|
onSetup() {
|
|
85129
|
-
Y(this, Za, Ut()), ua(Li) && Y(this, W0,
|
|
85137
|
+
Y(this, Za, Ut()), ua(Li) && Y(this, W0, Uo(Li));
|
|
85130
85138
|
}
|
|
85131
85139
|
onConnect(n) {
|
|
85132
85140
|
Ce(x(this, Ra, Lq).bind(this)), Ce(x(this, Ra, Bq).bind(this)), Ce(x(this, Ra, Pq).bind(this));
|
|
@@ -85184,7 +85192,7 @@ class Fw extends wt {
|
|
|
85184
85192
|
return !n();
|
|
85185
85193
|
}
|
|
85186
85194
|
onSetup() {
|
|
85187
|
-
Y(this, jn, Ut()), ua(Li) && Y(this, Z0,
|
|
85195
|
+
Y(this, jn, Ut()), ua(Li) && Y(this, Z0, Uo(Li));
|
|
85188
85196
|
}
|
|
85189
85197
|
onConnect(n) {
|
|
85190
85198
|
var a;
|
|
@@ -85259,7 +85267,7 @@ class zw extends wt {
|
|
|
85259
85267
|
return !a() || n().length === 0;
|
|
85260
85268
|
}
|
|
85261
85269
|
onSetup() {
|
|
85262
|
-
Y(this, ed, Ut()), ua(Li) && Y(this, Y0,
|
|
85270
|
+
Y(this, ed, Ut()), ua(Li) && Y(this, Y0, Uo(Li));
|
|
85263
85271
|
}
|
|
85264
85272
|
onConnect(n) {
|
|
85265
85273
|
Ce(x(this, La, Uq).bind(this)), Ce(x(this, La, Vq).bind(this)), Ce(x(this, La, Hq).bind(this));
|
|
@@ -85318,7 +85326,7 @@ class Vw extends wt {
|
|
|
85318
85326
|
return !n() || a().length <= 1;
|
|
85319
85327
|
}
|
|
85320
85328
|
onSetup() {
|
|
85321
|
-
Y(this, Ya, Ut()), ua(Li) && Y(this, X0,
|
|
85329
|
+
Y(this, Ya, Ut()), ua(Li) && Y(this, X0, Uo(Li));
|
|
85322
85330
|
}
|
|
85323
85331
|
onConnect(n) {
|
|
85324
85332
|
Ce(x(this, mn, Wq).bind(this)), Ce(x(this, mn, Yq).bind(this)), Ce(x(this, mn, Zq).bind(this));
|
|
@@ -85647,7 +85655,7 @@ class xCe extends wt {
|
|
|
85647
85655
|
is(() => {
|
|
85648
85656
|
if (!this.connectScope) return;
|
|
85649
85657
|
x(this, gp, wF).call(this);
|
|
85650
|
-
const a =
|
|
85658
|
+
const a = Uo(pc);
|
|
85651
85659
|
Yt(() => {
|
|
85652
85660
|
const s = x(this, gp, Z8).call(this);
|
|
85653
85661
|
s && a.detachTrigger(s);
|
|
@@ -85657,7 +85665,7 @@ class xCe extends wt {
|
|
|
85657
85665
|
}
|
|
85658
85666
|
}
|
|
85659
85667
|
gp = new WeakSet(), wF = function() {
|
|
85660
|
-
const n = x(this, gp, Z8).call(this), a =
|
|
85668
|
+
const n = x(this, gp, Z8).call(this), a = Uo(pc);
|
|
85661
85669
|
n && a.attachTrigger(n);
|
|
85662
85670
|
}, Z8 = function() {
|
|
85663
85671
|
const n = this.el.firstElementChild;
|
|
@@ -85684,7 +85692,7 @@ class CF extends wt {
|
|
|
85684
85692
|
}
|
|
85685
85693
|
onConnect(n) {
|
|
85686
85694
|
x(this, ss, Y8).call(this, n);
|
|
85687
|
-
const a =
|
|
85695
|
+
const a = Uo(pc);
|
|
85688
85696
|
Yt(() => a.detachContent(n)), Yt(
|
|
85689
85697
|
is(() => {
|
|
85690
85698
|
this.connectScope && Ce(x(this, ss, kF).bind(this));
|
|
@@ -85693,9 +85701,9 @@ class CF extends wt {
|
|
|
85693
85701
|
}
|
|
85694
85702
|
}
|
|
85695
85703
|
ss = new WeakSet(), Y8 = function(n) {
|
|
85696
|
-
|
|
85704
|
+
Uo(pc).attachContent(n);
|
|
85697
85705
|
}, kF = function() {
|
|
85698
|
-
const { showing: n } =
|
|
85706
|
+
const { showing: n } = Uo(pc);
|
|
85699
85707
|
if (!n()) return;
|
|
85700
85708
|
const { placement: a, offset: s, alignOffset: l } = this.$props;
|
|
85701
85709
|
return iB(this.el, x(this, ss, xF).call(this), a(), {
|
|
@@ -85704,7 +85712,7 @@ ss = new WeakSet(), Y8 = function(n) {
|
|
|
85704
85712
|
yOffset: s()
|
|
85705
85713
|
});
|
|
85706
85714
|
}, xF = function() {
|
|
85707
|
-
return
|
|
85715
|
+
return Uo(pc).trigger();
|
|
85708
85716
|
}, ee(CF, "props", {
|
|
85709
85717
|
placement: "top center",
|
|
85710
85718
|
offset: 0,
|
|
@@ -85768,11 +85776,11 @@ $l = new WeakMap(), cl = new WeakSet(), AF = function(n) {
|
|
|
85768
85776
|
const { remotePlaybackState: n } = v(this, $l).$state;
|
|
85769
85777
|
return `Google Cast ${n()}`;
|
|
85770
85778
|
}, ee(SF, "props", bn.props);
|
|
85771
|
-
var ad, _f,
|
|
85779
|
+
var ad, _f, Vo, OF, DF, X8, RF, Q8, LF, PF, J8, BF, $F;
|
|
85772
85780
|
class h3 extends wt {
|
|
85773
85781
|
constructor() {
|
|
85774
85782
|
super(...arguments);
|
|
85775
|
-
F(this,
|
|
85783
|
+
F(this, Vo);
|
|
85776
85784
|
F(this, ad);
|
|
85777
85785
|
F(this, _f);
|
|
85778
85786
|
}
|
|
@@ -85780,20 +85788,20 @@ class h3 extends wt {
|
|
|
85780
85788
|
return this.$state.video();
|
|
85781
85789
|
}
|
|
85782
85790
|
onSetup() {
|
|
85783
|
-
Y(this, ad, Ut()), Y(this, _f, ju(hp.state)), x(this,
|
|
85784
|
-
"data-loading": x(this,
|
|
85791
|
+
Y(this, ad, Ut()), Y(this, _f, ju(hp.state)), x(this, Vo, X8).call(this), this.setAttributes({
|
|
85792
|
+
"data-loading": x(this, Vo, RF).bind(this),
|
|
85785
85793
|
"data-hidden": this.$state.hidden,
|
|
85786
|
-
"data-error": x(this,
|
|
85794
|
+
"data-error": x(this, Vo, Q8).bind(this),
|
|
85787
85795
|
"aria-hidden": nn(this.$state.hidden)
|
|
85788
85796
|
});
|
|
85789
85797
|
}
|
|
85790
85798
|
onAttach(n) {
|
|
85791
|
-
Ce(x(this,
|
|
85799
|
+
Ce(x(this, Vo, OF).bind(this)), Ce(x(this, Vo, DF).bind(this)), Ce(x(this, Vo, X8).bind(this)), Ce(x(this, Vo, LF).bind(this)), Ce(x(this, Vo, PF).bind(this)), Ce(x(this, Vo, $F).bind(this));
|
|
85792
85800
|
}
|
|
85793
85801
|
}
|
|
85794
|
-
ad = new WeakMap(), _f = new WeakMap(),
|
|
85802
|
+
ad = new WeakMap(), _f = new WeakMap(), Vo = new WeakSet(), OF = function() {
|
|
85795
85803
|
const n = this.$state.video();
|
|
85796
|
-
n && (n.readyState >= 2 && x(this,
|
|
85804
|
+
n && (n.readyState >= 2 && x(this, Vo, J8).call(this), new $o(n).add("canplay", x(this, Vo, J8).bind(this)).add("error", x(this, Vo, BF).bind(this)));
|
|
85797
85805
|
}, DF = function() {
|
|
85798
85806
|
const { src: n } = this.$state, { canLoad: a } = v(this, ad).$state;
|
|
85799
85807
|
n.set(a() ? this.$props.src() : null);
|
|
@@ -85808,7 +85816,7 @@ ad = new WeakMap(), _f = new WeakMap(), Uo = new WeakSet(), OF = function() {
|
|
|
85808
85816
|
return !Zr(n);
|
|
85809
85817
|
}, LF = function() {
|
|
85810
85818
|
const { src: n, hidden: a } = this.$state, { canLoad: s, duration: l } = v(this, ad).$state;
|
|
85811
|
-
a.set(s() && (!n() || x(this,
|
|
85819
|
+
a.set(s() && (!n() || x(this, Vo, Q8).call(this) || !Number.isFinite(l())));
|
|
85812
85820
|
}, PF = function() {
|
|
85813
85821
|
const { src: n, canPlay: a, error: s } = this.$state;
|
|
85814
85822
|
n(), a.set(!1), s.set(null);
|
|
@@ -86274,7 +86282,7 @@ class oh extends wt {
|
|
|
86274
86282
|
return !((n = v(this, $r).call(this)) != null && n.length);
|
|
86275
86283
|
}
|
|
86276
86284
|
onSetup() {
|
|
86277
|
-
Y(this, Br, Ut()), ua(Li) && Y(this, Yc,
|
|
86285
|
+
Y(this, Br, Ut()), ua(Li) && Y(this, Yc, Uo(Li));
|
|
86278
86286
|
const { thumbnails: n } = this.$props;
|
|
86279
86287
|
this.setAttributes({
|
|
86280
86288
|
"data-thumbnails": () => !!n()
|
|
@@ -86367,7 +86375,7 @@ class Zw extends wt {
|
|
|
86367
86375
|
return !a() || n().length === 0;
|
|
86368
86376
|
}
|
|
86369
86377
|
onSetup() {
|
|
86370
|
-
Y(this, dd, Ut()), ua(Li) && Y(this, au,
|
|
86378
|
+
Y(this, dd, Ut()), ua(Li) && Y(this, au, Uo(Li));
|
|
86371
86379
|
}
|
|
86372
86380
|
onConnect(n) {
|
|
86373
86381
|
Ce(x(this, Ba, _N).bind(this)), Ce(x(this, Ba, ON).bind(this)), Ce(x(this, Ba, DN).bind(this));
|
|
@@ -87297,32 +87305,32 @@ Qc = new WeakMap(), X3 = new WeakSet(), oU = function() {
|
|
|
87297
87305
|
const { min: n, max: a, step: s } = ju(Lp), l = (a() - n()) / s();
|
|
87298
87306
|
Rw(v(this, Qc), Math.floor(l) + 1);
|
|
87299
87307
|
}, ee(tU, "tagName", "media-slider-steps");
|
|
87300
|
-
var Ia,
|
|
87308
|
+
var Ia, Co, C7, iU, k7, nU, aU, Nf, x7, I7, S7, rU, A7, lU;
|
|
87301
87309
|
class w7 extends wt {
|
|
87302
87310
|
constructor() {
|
|
87303
87311
|
super(...arguments);
|
|
87304
|
-
F(this,
|
|
87312
|
+
F(this, Co);
|
|
87305
87313
|
F(this, Ia);
|
|
87306
87314
|
F(this, Nf, "");
|
|
87307
87315
|
}
|
|
87308
87316
|
onSetup() {
|
|
87309
|
-
Y(this, Ia, Ut()), x(this,
|
|
87317
|
+
Y(this, Ia, Ut()), x(this, Co, x7).call(this), x(this, Co, I7).call(this), x(this, Co, S7).call(this), x(this, Co, k7).call(this);
|
|
87310
87318
|
}
|
|
87311
87319
|
onAttach(n) {
|
|
87312
|
-
n.style.setProperty("pointer-events", "none"), Ce(x(this,
|
|
87320
|
+
n.style.setProperty("pointer-events", "none"), Ce(x(this, Co, aU).bind(this)), Ce(x(this, Co, x7).bind(this)), Ce(x(this, Co, I7).bind(this)), Ce(x(this, Co, S7).bind(this)), Ce(x(this, Co, k7).bind(this));
|
|
87313
87321
|
const { started: a } = v(this, Ia).$state;
|
|
87314
87322
|
this.setAttributes({
|
|
87315
87323
|
"data-visible": () => !a() && !this.$state.hidden(),
|
|
87316
|
-
"data-loading": x(this,
|
|
87317
|
-
"data-error": x(this,
|
|
87324
|
+
"data-loading": x(this, Co, nU).bind(this),
|
|
87325
|
+
"data-error": x(this, Co, C7).bind(this),
|
|
87318
87326
|
"data-hidden": this.$state.hidden
|
|
87319
87327
|
});
|
|
87320
87328
|
}
|
|
87321
87329
|
onConnect(n) {
|
|
87322
|
-
Ce(x(this,
|
|
87330
|
+
Ce(x(this, Co, iU).bind(this)), Ce(x(this, Co, rU).bind(this));
|
|
87323
87331
|
}
|
|
87324
87332
|
}
|
|
87325
|
-
Ia = new WeakMap(),
|
|
87333
|
+
Ia = new WeakMap(), Co = new WeakSet(), C7 = function() {
|
|
87326
87334
|
const { error: n } = this.$state;
|
|
87327
87335
|
return !Zr(n());
|
|
87328
87336
|
}, iU = function() {
|
|
@@ -87330,13 +87338,13 @@ Ia = new WeakMap(), wo = new WeakSet(), C7 = function() {
|
|
|
87330
87338
|
!n() && a() && eh(a(), "preconnect");
|
|
87331
87339
|
}, k7 = function() {
|
|
87332
87340
|
const { src: n } = this.$props, { poster: a, nativeControls: s } = v(this, Ia).$state;
|
|
87333
|
-
this.el && rt(this.el, "display", s() ? "none" : null), this.$state.hidden.set(x(this,
|
|
87341
|
+
this.el && rt(this.el, "display", s() ? "none" : null), this.$state.hidden.set(x(this, Co, C7).call(this) || !(n() || a()) || s());
|
|
87334
87342
|
}, nU = function() {
|
|
87335
87343
|
const { loading: n, hidden: a } = this.$state;
|
|
87336
87344
|
return !a() && n();
|
|
87337
87345
|
}, aU = function() {
|
|
87338
87346
|
const n = this.$state.img();
|
|
87339
|
-
n && (new $o(n).add("load", x(this,
|
|
87347
|
+
n && (new $o(n).add("load", x(this, Co, A7).bind(this)).add("error", x(this, Co, lU).bind(this)), n.complete && x(this, Co, A7).call(this));
|
|
87340
87348
|
}, Nf = new WeakMap(), x7 = function() {
|
|
87341
87349
|
const { poster: n } = v(this, Ia).$props, { canLoadPoster: a, providedPoster: s, inferredPoster: l } = v(this, Ia).$state, d = this.$props.src() || "", p = d || n() || l();
|
|
87342
87350
|
v(this, Nf) === s() && s.set(d), this.$state.src.set(a() && p.length ? p : null), Y(this, Nf, d);
|
|
@@ -87601,7 +87609,7 @@ const KCe = { class: "screen-sharing-control-panel__actions" }, GCe = {
|
|
|
87601
87609
|
}, h = (b) => {
|
|
87602
87610
|
b.key === "Escape" && d(!1);
|
|
87603
87611
|
};
|
|
87604
|
-
return
|
|
87612
|
+
return Ho(() => {
|
|
87605
87613
|
document.addEventListener("fullscreenchange", () => {
|
|
87606
87614
|
document.fullscreenElement || d(!1);
|
|
87607
87615
|
}), zf(() => {
|
|
@@ -87704,7 +87712,7 @@ const KCe = { class: "screen-sharing-control-panel__actions" }, GCe = {
|
|
|
87704
87712
|
type: ((b = n.src) == null ? void 0 : b.type) || p.value
|
|
87705
87713
|
};
|
|
87706
87714
|
});
|
|
87707
|
-
return
|
|
87715
|
+
return Ho(() => {
|
|
87708
87716
|
if (s.value && n.mode === "stream" && n.stream) {
|
|
87709
87717
|
const h = s.value.querySelector("video");
|
|
87710
87718
|
h.addEventListener("loadedmetadata", async () => {
|
|
@@ -88199,7 +88207,7 @@ function pn(o, i) {
|
|
|
88199
88207
|
function Ni(o, i) {
|
|
88200
88208
|
return Pd(o) ? o.matches(i) ? o : o.querySelector(i) : null;
|
|
88201
88209
|
}
|
|
88202
|
-
function
|
|
88210
|
+
function wo(o, i) {
|
|
88203
88211
|
o && document.activeElement !== o && o.focus(i);
|
|
88204
88212
|
}
|
|
88205
88213
|
function Ao(o, i) {
|
|
@@ -89489,7 +89497,7 @@ function uxe(o, i) {
|
|
|
89489
89497
|
}
|
|
89490
89498
|
function fxe(o) {
|
|
89491
89499
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
89492
|
-
cu() && cu().components ?
|
|
89500
|
+
cu() && cu().components ? Ho(o) : i ? o() : _a(o);
|
|
89493
89501
|
}
|
|
89494
89502
|
var hxe = 0;
|
|
89495
89503
|
function mxe(o) {
|
|
@@ -92750,12 +92758,12 @@ var DU = {
|
|
|
92750
92758
|
}).length : i) + 1;
|
|
92751
92759
|
},
|
|
92752
92760
|
show: function(i) {
|
|
92753
|
-
this.$emit("before-show"), this.dirty = !0, this.overlayVisible = !0, this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1, i &&
|
|
92761
|
+
this.$emit("before-show"), this.dirty = !0, this.overlayVisible = !0, this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1, i && wo(this.multiple ? this.$refs.focusInput : this.$refs.focusInput.$el);
|
|
92754
92762
|
},
|
|
92755
92763
|
hide: function(i) {
|
|
92756
92764
|
var n = this, a = function() {
|
|
92757
92765
|
var l;
|
|
92758
|
-
n.$emit("before-hide"), n.dirty = i, n.overlayVisible = !1, n.clicked = !1, n.focusedOptionIndex = -1, i &&
|
|
92766
|
+
n.$emit("before-hide"), n.dirty = i, n.overlayVisible = !1, n.clicked = !1, n.focusedOptionIndex = -1, i && wo(n.multiple ? n.$refs.focusInput : (l = n.$refs.focusInput) === null || l === void 0 ? void 0 : l.$el);
|
|
92759
92767
|
};
|
|
92760
92768
|
setTimeout(function() {
|
|
92761
92769
|
a();
|
|
@@ -92876,7 +92884,7 @@ var DU = {
|
|
|
92876
92884
|
}
|
|
92877
92885
|
},
|
|
92878
92886
|
onContainerClick: function(i) {
|
|
92879
|
-
this.clicked = !0, !(this.disabled || this.searching || this.loading || this.isDropdownClicked(i)) && (!this.overlay || !this.overlay.contains(i.target)) &&
|
|
92887
|
+
this.clicked = !0, !(this.disabled || this.searching || this.loading || this.isDropdownClicked(i)) && (!this.overlay || !this.overlay.contains(i.target)) && wo(this.multiple ? this.$refs.focusInput : this.$refs.focusInput.$el);
|
|
92880
92888
|
},
|
|
92881
92889
|
onDropdownClick: function(i) {
|
|
92882
92890
|
var n = void 0;
|
|
@@ -92884,7 +92892,7 @@ var DU = {
|
|
|
92884
92892
|
this.hide(!0);
|
|
92885
92893
|
else {
|
|
92886
92894
|
var a = this.multiple ? this.$refs.focusInput : this.$refs.focusInput.$el;
|
|
92887
|
-
|
|
92895
|
+
wo(a), n = a.value, this.dropdownMode === "blank" ? this.search(i, "", "dropdown") : this.dropdownMode === "current" && this.search(i, n, "dropdown");
|
|
92888
92896
|
}
|
|
92889
92897
|
this.$emit("dropdown-click", {
|
|
92890
92898
|
originalEvent: i,
|
|
@@ -92945,7 +92953,7 @@ var DU = {
|
|
|
92945
92953
|
},
|
|
92946
92954
|
onArrowLeftKey: function(i) {
|
|
92947
92955
|
var n = i.currentTarget;
|
|
92948
|
-
this.focusedOptionIndex = -1, this.multiple && (Di(n.value) && this.$filled ? (
|
|
92956
|
+
this.focusedOptionIndex = -1, this.multiple && (Di(n.value) && this.$filled ? (wo(this.$refs.multiContainer), this.focusedMultipleOptionIndex = this.d_value.length) : i.stopPropagation());
|
|
92949
92957
|
},
|
|
92950
92958
|
onArrowRightKey: function(i) {
|
|
92951
92959
|
this.focusedOptionIndex = -1, this.multiple && i.stopPropagation();
|
|
@@ -92998,7 +93006,7 @@ var DU = {
|
|
|
92998
93006
|
this.focusedMultipleOptionIndex = this.focusedMultipleOptionIndex < 1 ? 0 : this.focusedMultipleOptionIndex - 1;
|
|
92999
93007
|
},
|
|
93000
93008
|
onArrowRightKeyOnMultiple: function() {
|
|
93001
|
-
this.focusedMultipleOptionIndex++, this.focusedMultipleOptionIndex > this.d_value.length - 1 && (this.focusedMultipleOptionIndex = -1,
|
|
93009
|
+
this.focusedMultipleOptionIndex++, this.focusedMultipleOptionIndex > this.d_value.length - 1 && (this.focusedMultipleOptionIndex = -1, wo(this.$refs.focusInput));
|
|
93002
93010
|
},
|
|
93003
93011
|
onBackspaceKeyOnMultiple: function(i) {
|
|
93004
93012
|
this.focusedMultipleOptionIndex !== -1 && this.removeOption(i, this.focusedMultipleOptionIndex);
|
|
@@ -93133,7 +93141,7 @@ var DU = {
|
|
|
93133
93141
|
}), this.$emit("option-unselect", {
|
|
93134
93142
|
originalEvent: i,
|
|
93135
93143
|
value: s
|
|
93136
|
-
}), this.dirty = !0,
|
|
93144
|
+
}), this.dirty = !0, wo(this.multiple ? this.$refs.focusInput : this.$refs.focusInput.$el);
|
|
93137
93145
|
},
|
|
93138
93146
|
changeFocusedOptionIndex: function(i, n) {
|
|
93139
93147
|
this.focusedOptionIndex !== n && (this.focusedOptionIndex = n, this.scrollInView(), this.selectOnFocus && this.onOptionSelect(i, this.visibleOptions[n], !1));
|
|
@@ -97342,11 +97350,11 @@ var Jb = {
|
|
|
97342
97350
|
}).length : i) + 1;
|
|
97343
97351
|
},
|
|
97344
97352
|
show: function(i) {
|
|
97345
|
-
this.$emit("before-show"), this.overlayVisible = !0, this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.editable ? -1 : this.findSelectedOptionIndex(), i &&
|
|
97353
|
+
this.$emit("before-show"), this.overlayVisible = !0, this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.editable ? -1 : this.findSelectedOptionIndex(), i && wo(this.$refs.focusInput);
|
|
97346
97354
|
},
|
|
97347
97355
|
hide: function(i) {
|
|
97348
97356
|
var n = this, a = function() {
|
|
97349
|
-
n.$emit("before-hide"), n.overlayVisible = !1, n.clicked = !1, n.focusedOptionIndex = -1, n.searchValue = "", n.resetFilterOnHide && (n.filterValue = null), i &&
|
|
97357
|
+
n.$emit("before-hide"), n.overlayVisible = !1, n.clicked = !1, n.focusedOptionIndex = -1, n.searchValue = "", n.resetFilterOnHide && (n.filterValue = null), i && wo(n.$refs.focusInput);
|
|
97350
97358
|
};
|
|
97351
97359
|
setTimeout(function() {
|
|
97352
97360
|
a();
|
|
@@ -97443,11 +97451,11 @@ var Jb = {
|
|
|
97443
97451
|
},
|
|
97444
97452
|
onFirstHiddenFocus: function(i) {
|
|
97445
97453
|
var n = i.relatedTarget === this.$refs.focusInput ? Jd(this.overlay, ':not([data-p-hidden-focusable="true"])') : this.$refs.focusInput;
|
|
97446
|
-
|
|
97454
|
+
wo(n);
|
|
97447
97455
|
},
|
|
97448
97456
|
onLastHiddenFocus: function(i) {
|
|
97449
97457
|
var n = i.relatedTarget === this.$refs.focusInput ? hU(this.overlay, ':not([data-p-hidden-focusable="true"])') : this.$refs.focusInput;
|
|
97450
|
-
|
|
97458
|
+
wo(n);
|
|
97451
97459
|
},
|
|
97452
97460
|
onOptionSelect: function(i, n) {
|
|
97453
97461
|
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, s = this.getOptionValue(n);
|
|
@@ -97576,7 +97584,7 @@ var Jb = {
|
|
|
97576
97584
|
},
|
|
97577
97585
|
onTabKey: function(i) {
|
|
97578
97586
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
97579
|
-
n || (this.overlayVisible && this.hasFocusableElements() ? (
|
|
97587
|
+
n || (this.overlayVisible && this.hasFocusableElements() ? (wo(this.$refs.firstHiddenFocusableElementOnOverlay), i.preventDefault()) : (this.focusedOptionIndex !== -1 && this.onOptionSelect(i, this.visibleOptions[this.focusedOptionIndex]), this.overlayVisible && this.hide(this.filter)));
|
|
97580
97588
|
},
|
|
97581
97589
|
onBackspaceKey: function(i) {
|
|
97582
97590
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
@@ -97588,7 +97596,7 @@ var Jb = {
|
|
|
97588
97596
|
position: "absolute",
|
|
97589
97597
|
top: "0"
|
|
97590
97598
|
}), this.alignOverlay(), this.scrollInView(), this.$attrSelector && i.setAttribute(this.$attrSelector, ""), setTimeout(function() {
|
|
97591
|
-
n.autoFilterFocus && n.filter &&
|
|
97599
|
+
n.autoFilterFocus && n.filter && wo(n.$refs.filterInput.$el), n.autoUpdateModel();
|
|
97592
97600
|
}, 1);
|
|
97593
97601
|
},
|
|
97594
97602
|
onOverlayAfterEnter: function() {
|
|
@@ -97597,7 +97605,7 @@ var Jb = {
|
|
|
97597
97605
|
onOverlayLeave: function() {
|
|
97598
97606
|
var i = this;
|
|
97599
97607
|
this.unbindOutsideClickListener(), this.unbindScrollListener(), this.unbindResizeListener(), this.autoFilterFocus && this.filter && !this.editable && this.$nextTick(function() {
|
|
97600
|
-
i.$refs.filterInput &&
|
|
97608
|
+
i.$refs.filterInput && wo(i.$refs.filterInput.$el);
|
|
97601
97609
|
}), this.$emit("hide"), this.overlay = null;
|
|
97602
97610
|
},
|
|
97603
97611
|
onOverlayAfterLeave: function(i) {
|
|
@@ -97639,7 +97647,7 @@ var Jb = {
|
|
|
97639
97647
|
if (!this.editable && !this.labelClickListener) {
|
|
97640
97648
|
var n = document.querySelector('label[for="'.concat(this.labelId, '"]'));
|
|
97641
97649
|
n && v3(n) && (this.labelClickListener = function() {
|
|
97642
|
-
|
|
97650
|
+
wo(i.$refs.focusInput);
|
|
97643
97651
|
}, n.addEventListener("click", this.labelClickListener));
|
|
97644
97652
|
}
|
|
97645
97653
|
},
|
|
@@ -101571,7 +101579,7 @@ var e4 = sEe.extend("focustrap", {
|
|
|
101571
101579
|
var y = zT(g) ? zT(g, a.getComputedSelector(i.$_pfocustrap_focusableselector)) ? g : Jd(i, a.getComputedSelector(i.$_pfocustrap_focusableselector)) : Jd(g);
|
|
101572
101580
|
return mt(y) ? y : g.nextSibling && h(g.nextSibling);
|
|
101573
101581
|
};
|
|
101574
|
-
|
|
101582
|
+
wo(h(u.nextSibling));
|
|
101575
101583
|
}
|
|
101576
101584
|
});
|
|
101577
101585
|
}), i.$_pfocustrap_mutationobserver.disconnect(), i.$_pfocustrap_mutationobserver.observe(i, {
|
|
@@ -101594,15 +101602,15 @@ var e4 = sEe.extend("focustrap", {
|
|
|
101594
101602
|
},
|
|
101595
101603
|
autoElementFocus: function(i, n) {
|
|
101596
101604
|
var a = n.value || {}, s = a.autoFocusSelector, l = s === void 0 ? "" : s, d = a.firstFocusableSelector, p = d === void 0 ? "" : d, u = a.autoFocus, h = u === void 0 ? !1 : u, b = Jd(i, "[autofocus]".concat(this.getComputedSelector(l)));
|
|
101597
|
-
h && !b && (b = Jd(i, this.getComputedSelector(p))),
|
|
101605
|
+
h && !b && (b = Jd(i, this.getComputedSelector(p))), wo(b);
|
|
101598
101606
|
},
|
|
101599
101607
|
onFirstHiddenElementFocus: function(i) {
|
|
101600
101608
|
var n, a = i.currentTarget, s = i.relatedTarget, l = s === a.$_pfocustrap_lasthiddenfocusableelement || !((n = this.$el) !== null && n !== void 0 && n.contains(s)) ? Jd(a.parentElement, this.getComputedSelector(a.$_pfocustrap_focusableselector)) : a.$_pfocustrap_lasthiddenfocusableelement;
|
|
101601
|
-
|
|
101609
|
+
wo(l);
|
|
101602
101610
|
},
|
|
101603
101611
|
onLastHiddenElementFocus: function(i) {
|
|
101604
101612
|
var n, a = i.currentTarget, s = i.relatedTarget, l = s === a.$_pfocustrap_firsthiddenfocusableelement || !((n = this.$el) !== null && n !== void 0 && n.contains(s)) ? hU(a.parentElement, this.getComputedSelector(a.$_pfocustrap_focusableselector)) : a.$_pfocustrap_firsthiddenfocusableelement;
|
|
101605
|
-
|
|
101613
|
+
wo(l);
|
|
101606
101614
|
},
|
|
101607
101615
|
createHiddenFocusableElements: function(i, n) {
|
|
101608
101616
|
var a = this, s = n.value || {}, l = s.tabIndex, d = l === void 0 ? 0 : l, p = s.firstFocusableSelector, u = p === void 0 ? "" : p, h = s.lastFocusableSelector, b = h === void 0 ? "" : h, g = function(T) {
|
|
@@ -104807,7 +104815,7 @@ var fC = {
|
|
|
104807
104815
|
return n ? Ao(n, "data-pc-section") === "filterconstraintseparator" ? this.findPrevItem(n) : n : i.parentElement.lastElementChild;
|
|
104808
104816
|
},
|
|
104809
104817
|
hide: function() {
|
|
104810
|
-
this.overlayVisible = !1, this.showMenuButton &&
|
|
104818
|
+
this.overlayVisible = !1, this.showMenuButton && wo(this.$refs.icon.$el);
|
|
104811
104819
|
},
|
|
104812
104820
|
onContentClick: function(i) {
|
|
104813
104821
|
this.selfClick = !0, da.emit("overlay-click", {
|
|
@@ -107028,7 +107036,7 @@ var vV = {
|
|
|
107028
107036
|
return i ? i[i.length - 1] : null;
|
|
107029
107037
|
},
|
|
107030
107038
|
focusRowChange: function(i, n) {
|
|
107031
|
-
i.tabIndex = "-1", n.tabIndex = "0",
|
|
107039
|
+
i.tabIndex = "-1", n.tabIndex = "0", wo(n);
|
|
107032
107040
|
},
|
|
107033
107041
|
toggleRowWithRadio: function(i) {
|
|
107034
107042
|
var n = i.data;
|
|
@@ -110160,7 +110168,7 @@ var AV = {
|
|
|
110160
110168
|
!this.isUnstyled && Ea(this.mask, "p-overlay-mask-leave");
|
|
110161
110169
|
},
|
|
110162
110170
|
onLeave: function() {
|
|
110163
|
-
|
|
110171
|
+
wo(this.target), this.target = null;
|
|
110164
110172
|
},
|
|
110165
110173
|
onAfterLeave: function(i) {
|
|
110166
110174
|
oi.clear(i), this.containerVisible = !1, x3(), this.unbindGlobalListeners();
|
|
@@ -110594,7 +110602,7 @@ var UOe = _o`
|
|
|
110594
110602
|
switch (i.code) {
|
|
110595
110603
|
case "Escape":
|
|
110596
110604
|
this.hidePreview(), setTimeout(function() {
|
|
110597
|
-
|
|
110605
|
+
wo(n.$refs.previewButton);
|
|
110598
110606
|
}, 200), i.preventDefault();
|
|
110599
110607
|
break;
|
|
110600
110608
|
}
|
|
@@ -111544,17 +111552,17 @@ var PV = {
|
|
|
111544
111552
|
}, 1)), this.bindOutsideClickListener(), i.preventDefault();
|
|
111545
111553
|
},
|
|
111546
111554
|
show: function() {
|
|
111547
|
-
|
|
111555
|
+
wo(this.menubar);
|
|
111548
111556
|
},
|
|
111549
111557
|
hide: function(i, n) {
|
|
111550
111558
|
var a = this;
|
|
111551
111559
|
this.mobileActive && (this.mobileActive = !1, setTimeout(function() {
|
|
111552
|
-
|
|
111560
|
+
wo(a.$refs.menubutton);
|
|
111553
111561
|
}, 0)), this.activeItemPath = [], this.focusedItemInfo = {
|
|
111554
111562
|
index: -1,
|
|
111555
111563
|
level: 0,
|
|
111556
111564
|
parentKey: ""
|
|
111557
|
-
}, n &&
|
|
111565
|
+
}, n && wo(this.menubar), this.dirty = !1;
|
|
111558
111566
|
},
|
|
111559
111567
|
onFocus: function(i) {
|
|
111560
111568
|
this.focused = !0, this.focusedItemInfo = this.focusedItemInfo.index !== -1 ? this.focusedItemInfo : {
|
|
@@ -111625,7 +111633,7 @@ var PV = {
|
|
|
111625
111633
|
index: l,
|
|
111626
111634
|
level: p,
|
|
111627
111635
|
parentKey: u
|
|
111628
|
-
}, b && (this.dirty = !0), s &&
|
|
111636
|
+
}, b && (this.dirty = !0), s && wo(this.menubar), !(n === "hover" && this.queryMatches) && (this.activeItemPath = g);
|
|
111629
111637
|
}
|
|
111630
111638
|
},
|
|
111631
111639
|
onItemClick: function(i) {
|
|
@@ -111638,14 +111646,14 @@ var PV = {
|
|
|
111638
111646
|
index: p,
|
|
111639
111647
|
level: h,
|
|
111640
111648
|
parentKey: b
|
|
111641
|
-
}, this.dirty = !l,
|
|
111649
|
+
}, this.dirty = !l, wo(this.menubar);
|
|
111642
111650
|
} else if (s)
|
|
111643
111651
|
this.onItemChange(i);
|
|
111644
111652
|
else {
|
|
111645
111653
|
var g = l ? a : this.activeItemPath.find(function(y) {
|
|
111646
111654
|
return y.parentKey === "";
|
|
111647
111655
|
});
|
|
111648
|
-
this.hide(n), this.changeFocusedItemIndex(n, g ? g.index : -1), this.mobileActive = !1,
|
|
111656
|
+
this.hide(n), this.changeFocusedItemIndex(n, g ? g.index : -1), this.mobileActive = !1, wo(this.menubar);
|
|
111649
111657
|
}
|
|
111650
111658
|
},
|
|
111651
111659
|
onItemMouseEnter: function(i) {
|
|
@@ -112234,7 +112242,7 @@ var CDe = _o`
|
|
|
112234
112242
|
i.left < n.left && (a = n.left - i.left), this.container.style.setProperty(aC("popover.arrow.left").name, "".concat(a, "px")), i.top < n.top && (this.container.setAttribute("data-p-popover-flipped", "true"), !this.isUnstyled && Ea(this.container, "p-popover-flipped"));
|
|
112235
112243
|
},
|
|
112236
112244
|
onContentKeydown: function(i) {
|
|
112237
|
-
i.code === "Escape" && this.closeOnEscape && (this.hide(),
|
|
112245
|
+
i.code === "Escape" && this.closeOnEscape && (this.hide(), wo(this.target));
|
|
112238
112246
|
},
|
|
112239
112247
|
onButtonKeydown: function(i) {
|
|
112240
112248
|
switch (i.code) {
|