@opendesign-plus-test/components 0.0.1-rc.58 → 0.0.1-rc.59
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/components.es.js
CHANGED
|
@@ -44,8 +44,8 @@ const F1 = { class: "cookie-notice-content" }, U1 = ["type"], V1 = { class: "coo
|
|
|
44
44
|
typeof K == "boolean" ? y.value = K : y.value = !y.value, qt(() => {
|
|
45
45
|
!y.value && m.value && T(b.value) !== Oa && O(b.value, Oa, 180, i.cookieDomain ?? location.hostname);
|
|
46
46
|
});
|
|
47
|
-
},
|
|
48
|
-
typeof K == "boolean" ?
|
|
47
|
+
}, j = ce(!1), q = (K) => {
|
|
48
|
+
typeof K == "boolean" ? j.value = K : j.value = !j.value;
|
|
49
49
|
}, X = () => m.value ? T(b.value) !== Oa : (T(b.value) ?? "0") === l2, R = () => m.value ? T(b.value) === Oa : T(b.value) === Td;
|
|
50
50
|
Mi(() => {
|
|
51
51
|
X() && I(!0);
|
|
@@ -204,8 +204,8 @@ const F1 = { class: "cookie-notice-content" }, U1 = ["type"], V1 = { class: "coo
|
|
|
204
204
|
], 10, U1)
|
|
205
205
|
]),
|
|
206
206
|
$(p(bn), {
|
|
207
|
-
visible:
|
|
208
|
-
"onUpdate:visible": B[3] || (B[3] = (z) =>
|
|
207
|
+
visible: j.value,
|
|
208
|
+
"onUpdate:visible": B[3] || (B[3] = (z) => j.value = z),
|
|
209
209
|
size: p(a) ? "medium" : "large",
|
|
210
210
|
"phone-half-full": p(r),
|
|
211
211
|
"main-class": E.value ? "o-cookie-notice-dlg-main" : "",
|
|
@@ -549,8 +549,8 @@ function av(s) {
|
|
|
549
549
|
const e = ce(""), t = ce(null), i = ce(""), n = ce(!1);
|
|
550
550
|
let r = null;
|
|
551
551
|
const a = (T) => {
|
|
552
|
-
var I,
|
|
553
|
-
const O = (I = s.allowedImageTypes) == null ? void 0 : I.value, M = O && O.length > 0 ? O.includes(T.type) : (
|
|
552
|
+
var I, j, q, X;
|
|
553
|
+
const O = (I = s.allowedImageTypes) == null ? void 0 : I.value, M = O && O.length > 0 ? O.includes(T.type) : (j = T.type) == null ? void 0 : j.startsWith("image/");
|
|
554
554
|
return !T.type || !M ? ((q = s.onValidationError) == null || q.call(s, "type", T), !1) : s.maxImageSize.value > 0 && T.size > s.maxImageSize.value ? ((X = s.onValidationError) == null || X.call(s, "size", T), !1) : !0;
|
|
555
555
|
}, o = () => {
|
|
556
556
|
if (e.value)
|
|
@@ -577,12 +577,12 @@ function av(s) {
|
|
|
577
577
|
if (!a(T)) return;
|
|
578
578
|
o(), t.value = T, e.value = URL.createObjectURL(T), (M = s.onUploadStart) == null || M.call(s, T);
|
|
579
579
|
const O = (I = s.uploadImage) == null ? void 0 : I.value;
|
|
580
|
-
O && (n.value = !0, r = Promise.resolve().then(() => O(T)).then((
|
|
580
|
+
O && (n.value = !0, r = Promise.resolve().then(() => O(T)).then((j) => {
|
|
581
581
|
var q;
|
|
582
|
-
|
|
583
|
-
}).catch((
|
|
582
|
+
j && t.value === T && (i.value = j, (q = s.onUploadSuccess) == null || q.call(s, j, T));
|
|
583
|
+
}).catch((j) => {
|
|
584
584
|
var q;
|
|
585
|
-
(q = s.onUploadError) == null || q.call(s,
|
|
585
|
+
(q = s.onUploadError) == null || q.call(s, j, T);
|
|
586
586
|
}).finally(() => {
|
|
587
587
|
n.value = !1;
|
|
588
588
|
}));
|
|
@@ -591,9 +591,9 @@ function av(s) {
|
|
|
591
591
|
const O = (M = T.clipboardData) == null ? void 0 : M.items;
|
|
592
592
|
if (O)
|
|
593
593
|
for (let I = 0; I < O.length; I++) {
|
|
594
|
-
const
|
|
595
|
-
if (
|
|
596
|
-
const q =
|
|
594
|
+
const j = O[I];
|
|
595
|
+
if (j.type.startsWith("image/")) {
|
|
596
|
+
const q = j.getAsFile();
|
|
597
597
|
q && c(q);
|
|
598
598
|
break;
|
|
599
599
|
}
|
|
@@ -771,7 +771,7 @@ const xd = { name: "components-icon-image-zoomin", render: vv }, yv = { class: "
|
|
|
771
771
|
var P, K;
|
|
772
772
|
return (K = (P = E.value) == null ? void 0 : P.focus) == null ? void 0 : K.call(P);
|
|
773
773
|
});
|
|
774
|
-
},
|
|
774
|
+
}, j = (P) => {
|
|
775
775
|
m.onFileChange(P), qt(() => {
|
|
776
776
|
var K, B;
|
|
777
777
|
return (B = (K = E.value) == null ? void 0 : K.focus) == null ? void 0 : B.call(K);
|
|
@@ -952,7 +952,7 @@ const xd = { name: "components-icon-image-zoomin", render: vv }, yv = { class: "
|
|
|
952
952
|
type: "file",
|
|
953
953
|
accept: c.value,
|
|
954
954
|
class: "o-search-image-input-file",
|
|
955
|
-
onChange:
|
|
955
|
+
onChange: j
|
|
956
956
|
}, null, 40, Sv)) : pe("", !0)
|
|
957
957
|
], 34));
|
|
958
958
|
}
|
|
@@ -1305,7 +1305,7 @@ const cy = { name: "components-icon-header-back", render: uy }, dy = {
|
|
|
1305
1305
|
storeHistory: O,
|
|
1306
1306
|
maxHistoryCount: M,
|
|
1307
1307
|
onChange: (se) => n("update:historyItems", se)
|
|
1308
|
-
}),
|
|
1308
|
+
}), j = De(() => i.imageUrl ? i.imagePlaceholder ?? a("search.extendedPlaceholder") : m.value && i.enableImageSearch ? i.imagePlaceholder ?? a("search.imagePlaceholder") : m.value ? i.expandedPlaceholder ?? a("search.expandedPlaceholder") : i.placeholder ?? a("search.placeholder")), q = _s((se) => n("input", se), () => i.debounce);
|
|
1309
1309
|
xt(k, (se) => q(se)), O0(u, () => {
|
|
1310
1310
|
o.value || R();
|
|
1311
1311
|
});
|
|
@@ -1345,7 +1345,7 @@ const cy = { name: "components-icon-header-back", render: uy }, dy = {
|
|
|
1345
1345
|
}, Q = () => {
|
|
1346
1346
|
const se = [...I.items.value];
|
|
1347
1347
|
I.clearAll(), n("delete-history", se);
|
|
1348
|
-
},
|
|
1348
|
+
}, H = () => {
|
|
1349
1349
|
k.value = "", g.value = !1, n("update:imageUrl", ""), m.value = !1;
|
|
1350
1350
|
}, G = (se) => {
|
|
1351
1351
|
g.value = !0, E.value = "", n("image-upload-start", se);
|
|
@@ -1386,7 +1386,7 @@ const cy = { name: "components-icon-header-back", render: uy }, dy = {
|
|
|
1386
1386
|
o.value && m.value ? (x(), ye(p(Pe), {
|
|
1387
1387
|
key: 0,
|
|
1388
1388
|
class: "o-header-search-back-icon",
|
|
1389
|
-
onClick:
|
|
1389
|
+
onClick: H
|
|
1390
1390
|
}, {
|
|
1391
1391
|
default: D(() => [
|
|
1392
1392
|
$(p(cy))
|
|
@@ -1399,7 +1399,7 @@ const cy = { name: "components-icon-header-back", render: uy }, dy = {
|
|
|
1399
1399
|
modelValue: k.value,
|
|
1400
1400
|
"onUpdate:modelValue": te[0] || (te[0] = (Te) => k.value = Te),
|
|
1401
1401
|
"image-url": s.imageUrl,
|
|
1402
|
-
placeholder:
|
|
1402
|
+
placeholder: j.value,
|
|
1403
1403
|
"enable-image-search": s.enableImageSearch,
|
|
1404
1404
|
"upload-image": s.uploadImage,
|
|
1405
1405
|
"max-image-size": s.maxImageSize,
|
|
@@ -2561,7 +2561,7 @@ const V0 = { name: "meeting-icon-summit", render: y_ }, cl = {
|
|
|
2561
2561
|
start: ae,
|
|
2562
2562
|
end: re,
|
|
2563
2563
|
is_publish: Q,
|
|
2564
|
-
approver:
|
|
2564
|
+
approver: H,
|
|
2565
2565
|
update_activity_id: G,
|
|
2566
2566
|
synopsis: ge,
|
|
2567
2567
|
email_list: ne,
|
|
@@ -2579,7 +2579,7 @@ const V0 = { name: "meeting-icon-summit", render: y_ }, cl = {
|
|
|
2579
2579
|
start: ae,
|
|
2580
2580
|
end: re,
|
|
2581
2581
|
is_publish: Q,
|
|
2582
|
-
approver:
|
|
2582
|
+
approver: H,
|
|
2583
2583
|
update_activity_id: G,
|
|
2584
2584
|
synopsis: ge,
|
|
2585
2585
|
email_list: ne,
|
|
@@ -2590,7 +2590,7 @@ const V0 = { name: "meeting-icon-summit", render: y_ }, cl = {
|
|
|
2590
2590
|
},
|
|
2591
2591
|
{ immediate: !0, deep: !0 }
|
|
2592
2592
|
);
|
|
2593
|
-
const
|
|
2593
|
+
const j = async (X) => {
|
|
2594
2594
|
var W, S, A, P, K, B, z;
|
|
2595
2595
|
let R = m.value ? a("meeting.modifyActivity") : a(X ? "meeting.create" : "meeting.saveDraft");
|
|
2596
2596
|
try {
|
|
@@ -2610,7 +2610,7 @@ const V0 = { name: "meeting-icon-summit", render: y_ }, cl = {
|
|
|
2610
2610
|
g.value = {}, i("close");
|
|
2611
2611
|
};
|
|
2612
2612
|
return e({
|
|
2613
|
-
confirm:
|
|
2613
|
+
confirm: j
|
|
2614
2614
|
}), (X, R) => (x(), N("div", b_, [
|
|
2615
2615
|
$(p(Ru), {
|
|
2616
2616
|
model: g.value,
|
|
@@ -2881,7 +2881,7 @@ const V0 = { name: "meeting-icon-summit", render: y_ }, cl = {
|
|
|
2881
2881
|
variant: "solid",
|
|
2882
2882
|
size: "large",
|
|
2883
2883
|
round: "pill",
|
|
2884
|
-
onClick: R[12] || (R[12] = (W) =>
|
|
2884
|
+
onClick: R[12] || (R[12] = (W) => j(!0)),
|
|
2885
2885
|
loading: b.value
|
|
2886
2886
|
}, {
|
|
2887
2887
|
default: D(() => [
|
|
@@ -2895,7 +2895,7 @@ const V0 = { name: "meeting-icon-summit", render: y_ }, cl = {
|
|
|
2895
2895
|
variant: "outline",
|
|
2896
2896
|
round: "pill",
|
|
2897
2897
|
size: "large",
|
|
2898
|
-
onClick: R[13] || (R[13] = (W) =>
|
|
2898
|
+
onClick: R[13] || (R[13] = (W) => j(!1)),
|
|
2899
2899
|
loading: b.value
|
|
2900
2900
|
}, {
|
|
2901
2901
|
default: D(() => [
|
|
@@ -3094,14 +3094,14 @@ function j0() {
|
|
|
3094
3094
|
var I = i.createElement("template");
|
|
3095
3095
|
I.content && I.content.ownerDocument && (i = I.content.ownerDocument);
|
|
3096
3096
|
}
|
|
3097
|
-
var
|
|
3097
|
+
var j = Z_(b, t), q = j ? j.createHTML("") : "", X = i, R = X.implementation, W = X.createNodeIterator, S = X.createDocumentFragment, A = X.getElementsByTagName, P = t.importNode, K = {};
|
|
3098
3098
|
try {
|
|
3099
3099
|
K = on(i).documentMode ? i.documentMode : {};
|
|
3100
3100
|
} catch {
|
|
3101
3101
|
}
|
|
3102
3102
|
var B = {};
|
|
3103
3103
|
e.isSupported = typeof M == "function" && R && R.createHTMLDocument !== void 0 && K !== 9;
|
|
3104
|
-
var z = V_, U = q_, ae = H_, re = j_, Q = z_,
|
|
3104
|
+
var z = V_, U = q_, ae = H_, re = j_, Q = z_, H = W_, G = Y_, ge = K_, ne = G_, oe = null, se = lt({}, [].concat(ns(Id), ns(fl), ns(pl), ns(ml), ns(Ld))), te = null, Te = lt({}, [].concat(ns(Od), ns(gl), ns(Pd), ns(Ma))), we = Object.seal(Object.create(null, {
|
|
3105
3105
|
tagNameCheck: {
|
|
3106
3106
|
writable: !0,
|
|
3107
3107
|
configurable: !1,
|
|
@@ -3196,7 +3196,7 @@ function j0() {
|
|
|
3196
3196
|
$e = mt && mt[0];
|
|
3197
3197
|
}
|
|
3198
3198
|
di === "application/xhtml+xml" && vi === Jt && (le = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + le + "</body></html>");
|
|
3199
|
-
var fi =
|
|
3199
|
+
var fi = j ? j.createHTML(le) : le;
|
|
3200
3200
|
if (vi === Jt)
|
|
3201
3201
|
try {
|
|
3202
3202
|
ke = new E().parseFromString(fi, di);
|
|
@@ -3271,7 +3271,7 @@ function j0() {
|
|
|
3271
3271
|
} else if (!We[ke]) {
|
|
3272
3272
|
if (!oi(ne, ss($e, G, ""))) {
|
|
3273
3273
|
if (!((ke === "src" || ke === "xlink:href" || ke === "href") && le !== "script" && N_($e, "data:") === 0 && Se[le])) {
|
|
3274
|
-
if (!(ut && !oi(
|
|
3274
|
+
if (!(ut && !oi(H, ss($e, G, "")))) {
|
|
3275
3275
|
if ($e)
|
|
3276
3276
|
return !1;
|
|
3277
3277
|
}
|
|
@@ -3309,14 +3309,14 @@ function j0() {
|
|
|
3309
3309
|
Ai(Nt, le);
|
|
3310
3310
|
continue;
|
|
3311
3311
|
}
|
|
3312
|
-
if (
|
|
3312
|
+
if (j && Xs(b) === "object" && typeof b.getAttributeType == "function" && !ur)
|
|
3313
3313
|
switch (b.getAttributeType(ha, mt)) {
|
|
3314
3314
|
case "TrustedHTML": {
|
|
3315
|
-
$e =
|
|
3315
|
+
$e = j.createHTML($e);
|
|
3316
3316
|
break;
|
|
3317
3317
|
}
|
|
3318
3318
|
case "TrustedScriptURL": {
|
|
3319
|
-
$e =
|
|
3319
|
+
$e = j.createScriptURL($e);
|
|
3320
3320
|
break;
|
|
3321
3321
|
}
|
|
3322
3322
|
}
|
|
@@ -3363,7 +3363,7 @@ function j0() {
|
|
|
3363
3363
|
else {
|
|
3364
3364
|
if (!qe && !dt && !ze && // eslint-disable-next-line unicorn/prefer-includes
|
|
3365
3365
|
Ne.indexOf("<") === -1)
|
|
3366
|
-
return
|
|
3366
|
+
return j && Ce ? j.createHTML(Ne) : Ne;
|
|
3367
3367
|
if (ke = _i(Ne), !ke)
|
|
3368
3368
|
return qe ? null : Ce ? q : "";
|
|
3369
3369
|
}
|
|
@@ -3382,7 +3382,7 @@ function j0() {
|
|
|
3382
3382
|
}
|
|
3383
3383
|
var Nt = ze ? ke.outerHTML : ke.innerHTML;
|
|
3384
3384
|
return ze && oe["!doctype"] && ke.ownerDocument && ke.ownerDocument.doctype && ke.ownerDocument.doctype.name && oi(X_, ke.ownerDocument.doctype.name) && (Nt = "<!DOCTYPE " + ke.ownerDocument.doctype.name + `>
|
|
3385
|
-
` + Nt), dt && (Nt = ss(Nt, z, " "), Nt = ss(Nt, U, " "), Nt = ss(Nt, ae, " ")),
|
|
3385
|
+
` + Nt), dt && (Nt = ss(Nt, z, " "), Nt = ss(Nt, U, " "), Nt = ss(Nt, ae, " ")), j && Ce ? j.createHTML(Nt) : Nt;
|
|
3386
3386
|
}, e.setConfig = function(Ne) {
|
|
3387
3387
|
Ge(Ne), Ht = !0;
|
|
3388
3388
|
}, e.clearConfig = function() {
|
|
@@ -3455,49 +3455,49 @@ const i3 = {
|
|
|
3455
3455
|
},
|
|
3456
3456
|
emits: ["update:model-value", "confirm"],
|
|
3457
3457
|
setup(s, { emit: e }) {
|
|
3458
|
-
const t = Do(), { t: i } = ci(), n = s, r = e, a = De(() => n.list.some((
|
|
3458
|
+
const t = Do(), { t: i } = ci(), n = s, r = e, a = De(() => n.list.some((j) => {
|
|
3459
3459
|
var q;
|
|
3460
|
-
return (q =
|
|
3461
|
-
})), o = De(() => n.list.map((
|
|
3462
|
-
const q = (
|
|
3460
|
+
return (q = j.children) == null ? void 0 : q.length;
|
|
3461
|
+
})), o = De(() => n.list.map((j) => {
|
|
3462
|
+
const q = (j.children || []).map((X) => ({
|
|
3463
3463
|
label: X.label,
|
|
3464
3464
|
value: X.value
|
|
3465
3465
|
}));
|
|
3466
3466
|
return {
|
|
3467
|
-
label:
|
|
3468
|
-
value:
|
|
3467
|
+
label: j.label,
|
|
3468
|
+
value: j.value,
|
|
3469
3469
|
children: a.value ? q : void 0
|
|
3470
3470
|
};
|
|
3471
3471
|
})), u = ce(!1);
|
|
3472
3472
|
xt(
|
|
3473
3473
|
() => n.modelValue,
|
|
3474
|
-
(
|
|
3475
|
-
n.multiple ? c.value =
|
|
3474
|
+
(j) => {
|
|
3475
|
+
n.multiple ? c.value = j : E.value = j;
|
|
3476
3476
|
}
|
|
3477
3477
|
);
|
|
3478
|
-
const c = ce([]), m = (
|
|
3479
|
-
c.value =
|
|
3480
|
-
}, g = ce([]), E = ce(null), b = (
|
|
3481
|
-
E.value ===
|
|
3478
|
+
const c = ce([]), m = (j) => {
|
|
3479
|
+
c.value = j;
|
|
3480
|
+
}, g = ce([]), E = ce(null), b = (j) => {
|
|
3481
|
+
E.value === j ? E.value = null : E.value = j, y();
|
|
3482
3482
|
}, k = () => {
|
|
3483
3483
|
c.value = [], g.value = [], E.value = null, y();
|
|
3484
3484
|
}, y = () => {
|
|
3485
|
-
let
|
|
3486
|
-
n.multiple ? a.value ?
|
|
3485
|
+
let j = null;
|
|
3486
|
+
n.multiple ? a.value ? j = g.value : j = c.value : j = E.value, r("update:model-value", j), u.value = !0, qt(() => {
|
|
3487
3487
|
r("confirm"), u.value = !1;
|
|
3488
3488
|
});
|
|
3489
|
-
}, T = De(() => c.value.length || g.value.length || E.value || n.modelValue), O = ce(null), M = async (
|
|
3489
|
+
}, T = De(() => c.value.length || g.value.length || E.value || n.modelValue), O = ce(null), M = async (j) => {
|
|
3490
3490
|
var R, W;
|
|
3491
|
-
const q =
|
|
3491
|
+
const q = j.target.parentElement.parentElement;
|
|
3492
3492
|
await qt();
|
|
3493
3493
|
const X = q.querySelector("input");
|
|
3494
3494
|
X.click(), await qt(), (R = X.change) == null || R.call(X, X), await qt(), (W = O.value) == null || W.$forceUpdate(), g.value = JSON.parse(JSON.stringify(g.value));
|
|
3495
|
-
}, I = ({ data:
|
|
3496
|
-
return (
|
|
3495
|
+
}, I = ({ data: j }) => y1("span", { onclick: M }, j.label);
|
|
3496
|
+
return (j, q) => {
|
|
3497
3497
|
const X = Zl("ElCascaderPanel");
|
|
3498
3498
|
return x(), N("div", i3, [
|
|
3499
3499
|
C("span", null, [
|
|
3500
|
-
Fe(
|
|
3500
|
+
Fe(j.$slots, "default")
|
|
3501
3501
|
]),
|
|
3502
3502
|
s.multiple ? (x(), ye(p(Gr), {
|
|
3503
3503
|
key: 0,
|
|
@@ -3623,7 +3623,7 @@ const i3 = {
|
|
|
3623
3623
|
]),
|
|
3624
3624
|
_: 1
|
|
3625
3625
|
})) : pe("", !0),
|
|
3626
|
-
o.value.length ? pe("", !0) : Fe(
|
|
3626
|
+
o.value.length ? pe("", !0) : Fe(j.$slots, "empty", { key: 1 })
|
|
3627
3627
|
]),
|
|
3628
3628
|
default: D(() => [
|
|
3629
3629
|
C("div", {
|
|
@@ -3741,13 +3741,13 @@ function h3() {
|
|
|
3741
3741
|
} }, I = function(z, U, ae) {
|
|
3742
3742
|
var re = String(z);
|
|
3743
3743
|
return !re || re.length >= U ? z : "" + Array(U + 1 - re.length).join(ae) + z;
|
|
3744
|
-
},
|
|
3744
|
+
}, j = { s: I, z: function(z) {
|
|
3745
3745
|
var U = -z.utcOffset(), ae = Math.abs(U), re = Math.floor(ae / 60), Q = ae % 60;
|
|
3746
3746
|
return (U <= 0 ? "+" : "-") + I(re, 2, "0") + ":" + I(Q, 2, "0");
|
|
3747
3747
|
}, m: function z(U, ae) {
|
|
3748
3748
|
if (U.date() < ae.date()) return -z(ae, U);
|
|
3749
|
-
var re = 12 * (ae.year() - U.year()) + (ae.month() - U.month()), Q = U.clone().add(re, g),
|
|
3750
|
-
return +(-(re + (ae - Q) / (
|
|
3749
|
+
var re = 12 * (ae.year() - U.year()) + (ae.month() - U.month()), Q = U.clone().add(re, g), H = ae - Q < 0, G = U.clone().add(re + (H ? -1 : 1), g);
|
|
3750
|
+
return +(-(re + (ae - Q) / (H ? Q - G : G - Q)) || 0);
|
|
3751
3751
|
}, a: function(z) {
|
|
3752
3752
|
return z < 0 ? Math.ceil(z) || 0 : Math.floor(z);
|
|
3753
3753
|
}, p: function(z) {
|
|
@@ -3762,8 +3762,8 @@ function h3() {
|
|
|
3762
3762
|
var Q;
|
|
3763
3763
|
if (!U) return q;
|
|
3764
3764
|
if (typeof U == "string") {
|
|
3765
|
-
var
|
|
3766
|
-
X[
|
|
3765
|
+
var H = U.toLowerCase();
|
|
3766
|
+
X[H] && (Q = H), ae && (X[H] = ae, Q = H);
|
|
3767
3767
|
var G = U.split("-");
|
|
3768
3768
|
if (!Q && G.length > 1) return z(G[0]);
|
|
3769
3769
|
} else {
|
|
@@ -3775,7 +3775,7 @@ function h3() {
|
|
|
3775
3775
|
if (W(z)) return z.clone();
|
|
3776
3776
|
var ae = typeof U == "object" ? U : {};
|
|
3777
3777
|
return ae.date = z, ae.args = arguments, new K(ae);
|
|
3778
|
-
}, P =
|
|
3778
|
+
}, P = j;
|
|
3779
3779
|
P.l = S, P.i = W, P.w = function(z, U) {
|
|
3780
3780
|
return A(z, { locale: U.$L, utc: U.$u, x: U.$x, $offset: U.$offset });
|
|
3781
3781
|
};
|
|
@@ -3786,7 +3786,7 @@ function h3() {
|
|
|
3786
3786
|
var U = z.prototype;
|
|
3787
3787
|
return U.parse = function(ae) {
|
|
3788
3788
|
this.$d = (function(re) {
|
|
3789
|
-
var Q = re.date,
|
|
3789
|
+
var Q = re.date, H = re.utc;
|
|
3790
3790
|
if (Q === null) return /* @__PURE__ */ new Date(NaN);
|
|
3791
3791
|
if (P.u(Q)) return /* @__PURE__ */ new Date();
|
|
3792
3792
|
if (Q instanceof Date) return new Date(Q);
|
|
@@ -3794,7 +3794,7 @@ function h3() {
|
|
|
3794
3794
|
var G = Q.match(T);
|
|
3795
3795
|
if (G) {
|
|
3796
3796
|
var ge = G[2] - 1 || 0, ne = (G[7] || "0").substring(0, 3);
|
|
3797
|
-
return
|
|
3797
|
+
return H ? new Date(Date.UTC(G[1], ge, G[3] || 1, G[4] || 0, G[5] || 0, G[6] || 0, ne)) : new Date(G[1], ge, G[3] || 1, G[4] || 0, G[5] || 0, G[6] || 0, ne);
|
|
3798
3798
|
}
|
|
3799
3799
|
}
|
|
3800
3800
|
return new Date(Q);
|
|
@@ -3820,20 +3820,20 @@ function h3() {
|
|
|
3820
3820
|
}, U.valueOf = function() {
|
|
3821
3821
|
return this.$d.getTime();
|
|
3822
3822
|
}, U.startOf = function(ae, re) {
|
|
3823
|
-
var Q = this,
|
|
3823
|
+
var Q = this, H = !!P.u(re) || re, G = P.p(ae), ge = function(je, Ke) {
|
|
3824
3824
|
var tt = P.w(Q.$u ? Date.UTC(Q.$y, Ke, je) : new Date(Q.$y, Ke, je), Q);
|
|
3825
|
-
return
|
|
3825
|
+
return H ? tt : tt.endOf(c);
|
|
3826
3826
|
}, ne = function(je, Ke) {
|
|
3827
|
-
return P.w(Q.toDate()[je].apply(Q.toDate("s"), (
|
|
3827
|
+
return P.w(Q.toDate()[je].apply(Q.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ke)), Q);
|
|
3828
3828
|
}, oe = this.$W, se = this.$M, te = this.$D, Te = "set" + (this.$u ? "UTC" : "");
|
|
3829
3829
|
switch (G) {
|
|
3830
3830
|
case b:
|
|
3831
|
-
return
|
|
3831
|
+
return H ? ge(1, 0) : ge(31, 11);
|
|
3832
3832
|
case g:
|
|
3833
|
-
return
|
|
3833
|
+
return H ? ge(1, se) : ge(0, se + 1);
|
|
3834
3834
|
case m:
|
|
3835
3835
|
var we = this.$locale().weekStart || 0, Ye = (oe < we ? oe + 7 : oe) - we;
|
|
3836
|
-
return ge(
|
|
3836
|
+
return ge(H ? te - Ye : te + (6 - Ye), se);
|
|
3837
3837
|
case c:
|
|
3838
3838
|
case k:
|
|
3839
3839
|
return ne(Te + "Hours", 0);
|
|
@@ -3849,8 +3849,8 @@ function h3() {
|
|
|
3849
3849
|
}, U.endOf = function(ae) {
|
|
3850
3850
|
return this.startOf(ae, !1);
|
|
3851
3851
|
}, U.$set = function(ae, re) {
|
|
3852
|
-
var Q,
|
|
3853
|
-
if (
|
|
3852
|
+
var Q, H = P.p(ae), G = "set" + (this.$u ? "UTC" : ""), ge = (Q = {}, Q[c] = G + "Date", Q[k] = G + "Date", Q[g] = G + "Month", Q[b] = G + "FullYear", Q[u] = G + "Hours", Q[o] = G + "Minutes", Q[a] = G + "Seconds", Q[r] = G + "Milliseconds", Q)[H], ne = H === c ? this.$D + (re - this.$W) : re;
|
|
3853
|
+
if (H === g || H === b) {
|
|
3854
3854
|
var oe = this.clone().set(k, 1);
|
|
3855
3855
|
oe.$d[ge](ne), oe.init(), this.$d = oe.set(k, Math.min(this.$D, oe.daysInMonth())).$d;
|
|
3856
3856
|
} else ge && this.$d[ge](ne);
|
|
@@ -3860,11 +3860,11 @@ function h3() {
|
|
|
3860
3860
|
}, U.get = function(ae) {
|
|
3861
3861
|
return this[P.p(ae)]();
|
|
3862
3862
|
}, U.add = function(ae, re) {
|
|
3863
|
-
var Q,
|
|
3863
|
+
var Q, H = this;
|
|
3864
3864
|
ae = Number(ae);
|
|
3865
3865
|
var G = P.p(re), ge = function(se) {
|
|
3866
|
-
var te = A(
|
|
3867
|
-
return P.w(te.date(te.date() + Math.round(se * ae)),
|
|
3866
|
+
var te = A(H);
|
|
3867
|
+
return P.w(te.date(te.date() + Math.round(se * ae)), H);
|
|
3868
3868
|
};
|
|
3869
3869
|
if (G === g) return this.set(g, this.$M + ae);
|
|
3870
3870
|
if (G === b) return this.set(b, this.$y + ae);
|
|
@@ -3877,15 +3877,15 @@ function h3() {
|
|
|
3877
3877
|
}, U.format = function(ae) {
|
|
3878
3878
|
var re = this, Q = this.$locale();
|
|
3879
3879
|
if (!this.isValid()) return Q.invalidDate || y;
|
|
3880
|
-
var
|
|
3881
|
-
return Ke && (Ke[tt] || Ke(re,
|
|
3880
|
+
var H = ae || "YYYY-MM-DDTHH:mm:ssZ", G = P.z(this), ge = this.$H, ne = this.$m, oe = this.$M, se = Q.weekdays, te = Q.months, Te = Q.meridiem, we = function(Ke, tt, ut, st) {
|
|
3881
|
+
return Ke && (Ke[tt] || Ke(re, H)) || ut[tt].slice(0, st);
|
|
3882
3882
|
}, Ye = function(Ke) {
|
|
3883
3883
|
return P.s(ge % 12 || 12, Ke, "0");
|
|
3884
3884
|
}, je = Te || function(Ke, tt, ut) {
|
|
3885
3885
|
var st = Ke < 12 ? "AM" : "PM";
|
|
3886
3886
|
return ut ? st.toLowerCase() : st;
|
|
3887
3887
|
};
|
|
3888
|
-
return
|
|
3888
|
+
return H.replace(O, (function(Ke, tt) {
|
|
3889
3889
|
return tt || (function(ut) {
|
|
3890
3890
|
switch (ut) {
|
|
3891
3891
|
case "YY":
|
|
@@ -3943,46 +3943,46 @@ function h3() {
|
|
|
3943
3943
|
}, U.utcOffset = function() {
|
|
3944
3944
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
3945
3945
|
}, U.diff = function(ae, re, Q) {
|
|
3946
|
-
var
|
|
3946
|
+
var H, G = this, ge = P.p(re), ne = A(ae), oe = (ne.utcOffset() - this.utcOffset()) * i, se = this - ne, te = function() {
|
|
3947
3947
|
return P.m(G, ne);
|
|
3948
3948
|
};
|
|
3949
3949
|
switch (ge) {
|
|
3950
3950
|
case b:
|
|
3951
|
-
|
|
3951
|
+
H = te() / 12;
|
|
3952
3952
|
break;
|
|
3953
3953
|
case g:
|
|
3954
|
-
|
|
3954
|
+
H = te();
|
|
3955
3955
|
break;
|
|
3956
3956
|
case E:
|
|
3957
|
-
|
|
3957
|
+
H = te() / 3;
|
|
3958
3958
|
break;
|
|
3959
3959
|
case m:
|
|
3960
|
-
|
|
3960
|
+
H = (se - oe) / 6048e5;
|
|
3961
3961
|
break;
|
|
3962
3962
|
case c:
|
|
3963
|
-
|
|
3963
|
+
H = (se - oe) / 864e5;
|
|
3964
3964
|
break;
|
|
3965
3965
|
case u:
|
|
3966
|
-
|
|
3966
|
+
H = se / n;
|
|
3967
3967
|
break;
|
|
3968
3968
|
case o:
|
|
3969
|
-
|
|
3969
|
+
H = se / i;
|
|
3970
3970
|
break;
|
|
3971
3971
|
case a:
|
|
3972
|
-
|
|
3972
|
+
H = se / t;
|
|
3973
3973
|
break;
|
|
3974
3974
|
default:
|
|
3975
|
-
|
|
3975
|
+
H = se;
|
|
3976
3976
|
}
|
|
3977
|
-
return Q ?
|
|
3977
|
+
return Q ? H : P.a(H);
|
|
3978
3978
|
}, U.daysInMonth = function() {
|
|
3979
3979
|
return this.endOf(g).$D;
|
|
3980
3980
|
}, U.$locale = function() {
|
|
3981
3981
|
return X[this.$L];
|
|
3982
3982
|
}, U.locale = function(ae, re) {
|
|
3983
3983
|
if (!ae) return this.$L;
|
|
3984
|
-
var Q = this.clone(),
|
|
3985
|
-
return
|
|
3984
|
+
var Q = this.clone(), H = S(ae, re, !0);
|
|
3985
|
+
return H && (Q.$L = H), Q;
|
|
3986
3986
|
}, U.clone = function() {
|
|
3987
3987
|
return P.w(this.$d, this);
|
|
3988
3988
|
}, U.toDate = function() {
|
|
@@ -4167,7 +4167,7 @@ const Ae = /* @__PURE__ */ tr(f3), wt = (s = /* @__PURE__ */ new Date(), e = "YY
|
|
|
4167
4167
|
}
|
|
4168
4168
|
} }), (k, y) => (x(), N("div", v3, [
|
|
4169
4169
|
(x(!0), N(Ee, null, Ue(g.value, (T, O) => {
|
|
4170
|
-
var M, I,
|
|
4170
|
+
var M, I, j;
|
|
4171
4171
|
return x(), N("div", {
|
|
4172
4172
|
ref_for: !0,
|
|
4173
4173
|
ref_key: "domRef",
|
|
@@ -4205,7 +4205,7 @@ const Ae = /* @__PURE__ */ tr(f3), wt = (s = /* @__PURE__ */ new Date(), e = "YY
|
|
|
4205
4205
|
Oe(" " + Y(m(T.key) || "-"), 1)
|
|
4206
4206
|
]))
|
|
4207
4207
|
], 64)) : pe("", !0),
|
|
4208
|
-
T.isRecord && ((
|
|
4208
|
+
T.isRecord && ((j = m(T.key)) != null && j.length) ? (x(), N(Ee, { key: 1 }, [
|
|
4209
4209
|
C("span", x3, Y(T.label), 1),
|
|
4210
4210
|
C("div", null, [
|
|
4211
4211
|
(x(!0), N(Ee, null, Ue(m(T.key), (q) => (x(), N("p", {
|
|
@@ -4279,17 +4279,17 @@ const Uu = { name: "meeting-icon-copy", render: C3 }, E3 = { class: "meet-title-
|
|
|
4279
4279
|
const T = y.type;
|
|
4280
4280
|
let O = "";
|
|
4281
4281
|
if (T !== Xe.MEETING) {
|
|
4282
|
-
let
|
|
4282
|
+
let H = (re = e.value.get(y.activity_type)) == null ? void 0 : re.label;
|
|
4283
4283
|
return y.start && y.end ? y.end_date === y.start_date ? O = `${wt(y.start_date)} ${y.start}-${y.end}` : O = `${wt(y.start_date)} ${y.start}-${wt(y.end_date)} ${y.end}` : y.start_date === y.end_date ? O = wt(y.start_date, "YYYY/MM/DD") : O = `${wt(y.start_date, "YYYY/MM/DD")}-${wt(y.end_date, "YYYY/MM/DD")}`, {
|
|
4284
4284
|
...y,
|
|
4285
|
-
activity_type:
|
|
4285
|
+
activity_type: H,
|
|
4286
4286
|
dateRange: O
|
|
4287
4287
|
};
|
|
4288
4288
|
}
|
|
4289
4289
|
const {
|
|
4290
4290
|
is_cycle: M,
|
|
4291
4291
|
date: I,
|
|
4292
|
-
start:
|
|
4292
|
+
start: j,
|
|
4293
4293
|
end: q,
|
|
4294
4294
|
cycle_start_date: X,
|
|
4295
4295
|
cycle_end_date: R,
|
|
@@ -4299,17 +4299,17 @@ const Uu = { name: "meeting-icon-copy", render: C3 }, E3 = { class: "meet-title-
|
|
|
4299
4299
|
cycle_interval: P,
|
|
4300
4300
|
cycle_point: K
|
|
4301
4301
|
} = y;
|
|
4302
|
-
O = `${wt(I)} ${
|
|
4303
|
-
let B = `${
|
|
4304
|
-
const ae = ((Q = y.obs_data) == null ? void 0 : Q.filter((
|
|
4302
|
+
O = `${wt(I)} ${j} - ${q}`, M && (O = `${wt(X)} - ${wt(R)}`);
|
|
4303
|
+
let B = `${j} - ${q}`, z = null, U = !1;
|
|
4304
|
+
const ae = ((Q = y.obs_data) == null ? void 0 : Q.filter((H) => H.text_video_url)) || [];
|
|
4305
4305
|
if (M) {
|
|
4306
|
-
let
|
|
4307
|
-
A === Qs && (
|
|
4306
|
+
let H = "";
|
|
4307
|
+
A === Qs && (H = i("meeting.cycleDay")), A === Zs && (P > 1 ? H = i("meeting.cycleWeek.other", [a(A, K), P]) : H = i("meeting.cycleWeek.one", [a(A, K)])), A === Ls && (H = i("meeting.cycleMonth", [a(A, K)])), B = i("meeting.cycleMeetingText2", {
|
|
4308
4308
|
startDate: X,
|
|
4309
4309
|
endDate: R,
|
|
4310
4310
|
startTime: W,
|
|
4311
4311
|
endTime: S,
|
|
4312
|
-
cycleType:
|
|
4312
|
+
cycleType: H
|
|
4313
4313
|
}), U = ae.some((G) => {
|
|
4314
4314
|
var ge;
|
|
4315
4315
|
return G.sub_id === ((ge = y.cycle_sub.find((ne) => ne.date === I)) == null ? void 0 : ge.sub_id);
|
|
@@ -4335,7 +4335,7 @@ const Uu = { name: "meeting-icon-copy", render: C3 }, E3 = { class: "meet-title-
|
|
|
4335
4335
|
style: { "--collapse-padding": "0" }
|
|
4336
4336
|
}, {
|
|
4337
4337
|
default: D(() => [
|
|
4338
|
-
(x(!0), N(Ee, null, Ue(k.value, (I,
|
|
4338
|
+
(x(!0), N(Ee, null, Ue(k.value, (I, j) => (x(), ye(p(na), {
|
|
4339
4339
|
key: I.id,
|
|
4340
4340
|
value: I.id
|
|
4341
4341
|
}, {
|
|
@@ -4469,7 +4469,7 @@ const Uu = { name: "meeting-icon-copy", render: C3 }, E3 = { class: "meet-title-
|
|
|
4469
4469
|
}, 8, ["href"])) : pe("", !0)
|
|
4470
4470
|
]),
|
|
4471
4471
|
$(p(Pe), {
|
|
4472
|
-
onClick: Qt(() => c(
|
|
4472
|
+
onClick: Qt(() => c(j), ["stop"]),
|
|
4473
4473
|
class: "copy-icon"
|
|
4474
4474
|
}, {
|
|
4475
4475
|
default: D(() => [
|
|
@@ -4484,7 +4484,7 @@ const Uu = { name: "meeting-icon-copy", render: C3 }, E3 = { class: "meet-title-
|
|
|
4484
4484
|
show: m.value.includes(I.id),
|
|
4485
4485
|
data: I,
|
|
4486
4486
|
ref_for: !0,
|
|
4487
|
-
ref: (q) => o.value[
|
|
4487
|
+
ref: (q) => o.value[j] = q,
|
|
4488
4488
|
from: "home"
|
|
4489
4489
|
}, null, 8, ["show", "data"])
|
|
4490
4490
|
])
|
|
@@ -4520,7 +4520,7 @@ const Uu = { name: "meeting-icon-copy", render: C3 }, E3 = { class: "meet-title-
|
|
|
4520
4520
|
var oe;
|
|
4521
4521
|
T.value = ((oe = O.value[0]) == null ? void 0 : oe.value) ?? Xe.MEETING;
|
|
4522
4522
|
});
|
|
4523
|
-
const M = ce(), I = ce("407px"),
|
|
4523
|
+
const M = ce(), I = ce("407px"), j = ce(!1), q = ce(""), X = ce(!1), R = ce(""), W = async (oe) => {
|
|
4524
4524
|
if (t.getSummitListRequest) {
|
|
4525
4525
|
const se = await t.getSummitListRequest(oe);
|
|
4526
4526
|
m.value = (se || []).map((te) => ({
|
|
@@ -4601,10 +4601,10 @@ const Uu = { name: "meeting-icon-copy", render: C3 }, E3 = { class: "meet-title-
|
|
|
4601
4601
|
B(oe);
|
|
4602
4602
|
}, 300), U = (oe, se) => {
|
|
4603
4603
|
if (wt(se) === wt(j3) && oe === "prev-month") {
|
|
4604
|
-
|
|
4604
|
+
j.value = !0;
|
|
4605
4605
|
return;
|
|
4606
4606
|
}
|
|
4607
|
-
|
|
4607
|
+
j.value = !1, M.value.selectDate(oe), z(wt(M.value.selectedDay));
|
|
4608
4608
|
}, ae = () => {
|
|
4609
4609
|
qt(() => {
|
|
4610
4610
|
P({
|
|
@@ -4620,12 +4620,12 @@ const Uu = { name: "meeting-icon-copy", render: C3 }, E3 = { class: "meet-title-
|
|
|
4620
4620
|
subtree: !0,
|
|
4621
4621
|
characterData: !0
|
|
4622
4622
|
});
|
|
4623
|
-
},
|
|
4623
|
+
}, H = async () => {
|
|
4624
4624
|
const oe = document.querySelector(".calendar-body .el-calendar__body");
|
|
4625
4625
|
oe && (Q(oe), I.value = `${oe.offsetHeight - 2}px`);
|
|
4626
4626
|
};
|
|
4627
4627
|
Mi(() => {
|
|
4628
|
-
|
|
4628
|
+
H(), B();
|
|
4629
4629
|
});
|
|
4630
4630
|
const G = xt(
|
|
4631
4631
|
() => k.value.length,
|
|
@@ -4653,7 +4653,7 @@ const Uu = { name: "meeting-icon-copy", render: C3 }, E3 = { class: "meet-title-
|
|
|
4653
4653
|
}, {
|
|
4654
4654
|
default: D(() => [
|
|
4655
4655
|
$(p(Xr), {
|
|
4656
|
-
class: Re({ disable:
|
|
4656
|
+
class: Re({ disable: j.value })
|
|
4657
4657
|
}, null, 8, ["class"])
|
|
4658
4658
|
]),
|
|
4659
4659
|
_: 1
|
|
@@ -5026,8 +5026,8 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5026
5026
|
{
|
|
5027
5027
|
validator: (Q) => {
|
|
5028
5028
|
var Te;
|
|
5029
|
-
const { is_cycle:
|
|
5030
|
-
if (
|
|
5029
|
+
const { is_cycle: H, cycle_type: G, cycle_interval: ge, cycle_point: ne, date: oe, date_range: se } = T.value;
|
|
5030
|
+
if (H) {
|
|
5031
5031
|
const we = i("meeting.finishMeetingConfig");
|
|
5032
5032
|
if (G === Qs && !ge)
|
|
5033
5033
|
return {
|
|
@@ -5105,14 +5105,14 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5105
5105
|
validator: (Q) => {
|
|
5106
5106
|
if (E.value)
|
|
5107
5107
|
return {};
|
|
5108
|
-
const
|
|
5109
|
-
if (
|
|
5110
|
-
if (
|
|
5108
|
+
const H = Q.replaceAll(" ", "").replaceAll(",", ";") || "";
|
|
5109
|
+
if (H.length) {
|
|
5110
|
+
if (H.length > 1020)
|
|
5111
5111
|
return {
|
|
5112
5112
|
type: "danger",
|
|
5113
5113
|
message: i("meeting.emailTooLong")
|
|
5114
5114
|
};
|
|
5115
|
-
const G =
|
|
5115
|
+
const G = H.split(";") || [];
|
|
5116
5116
|
if (G.some((ge) => !q0.test(ge)))
|
|
5117
5117
|
return {
|
|
5118
5118
|
type: "danger",
|
|
@@ -5133,22 +5133,22 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5133
5133
|
triggers: ["blur", "change"]
|
|
5134
5134
|
}
|
|
5135
5135
|
]
|
|
5136
|
-
})),
|
|
5136
|
+
})), j = ce([]), q = async () => {
|
|
5137
5137
|
if (!u.getGroupsRequest)
|
|
5138
5138
|
return;
|
|
5139
5139
|
const Q = await u.getGroupsRequest();
|
|
5140
|
-
|
|
5140
|
+
j.value = Q.map((H) => ({ ...H, label: H.group_name, value: H.group_name })), u.data && U(T.value.group_name);
|
|
5141
5141
|
}, X = ce([]), R = async () => {
|
|
5142
5142
|
if (!u.getPlatformsRequest)
|
|
5143
5143
|
return;
|
|
5144
5144
|
const Q = await u.getPlatformsRequest();
|
|
5145
|
-
X.value = Q.map((
|
|
5145
|
+
X.value = Q.map((H) => ({ label: o(H), value: H })), u.data || (T.value.platform = X.value[0].value);
|
|
5146
5146
|
}, W = t, S = () => {
|
|
5147
5147
|
if (!u.data)
|
|
5148
5148
|
return {};
|
|
5149
5149
|
const {
|
|
5150
5150
|
start: Q,
|
|
5151
|
-
end:
|
|
5151
|
+
end: H,
|
|
5152
5152
|
is_cycle: G,
|
|
5153
5153
|
cycle_start_date: ge,
|
|
5154
5154
|
cycle_end_date: ne,
|
|
@@ -5159,7 +5159,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5159
5159
|
} = u.data;
|
|
5160
5160
|
return {
|
|
5161
5161
|
...u.data,
|
|
5162
|
-
time: `${Q}-${
|
|
5162
|
+
time: `${Q}-${H}`,
|
|
5163
5163
|
...G ? {
|
|
5164
5164
|
date_range: [ge, ne],
|
|
5165
5165
|
cycle_point: (oe == null ? void 0 : oe.map((we) => parseInt(we))) || [],
|
|
@@ -5173,9 +5173,9 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5173
5173
|
xt(
|
|
5174
5174
|
() => u.data,
|
|
5175
5175
|
(Q) => {
|
|
5176
|
-
var
|
|
5176
|
+
var H;
|
|
5177
5177
|
if (Q) {
|
|
5178
|
-
const G = S(), ge = ((
|
|
5178
|
+
const G = S(), ge = ((H = G == null ? void 0 : G.cycle_sub) == null ? void 0 : H.find((we) => we.sub_id === u.subId)) || {}, { mid: ne, date: oe, start: se, end: te, sub_id: Te } = ge;
|
|
5179
5179
|
Object.assign(
|
|
5180
5180
|
T.value,
|
|
5181
5181
|
G,
|
|
@@ -5213,14 +5213,15 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5213
5213
|
{ immediate: !0, deep: !0 }
|
|
5214
5214
|
);
|
|
5215
5215
|
const A = () => {
|
|
5216
|
-
var Q,
|
|
5217
|
-
T.value = Object.assign({}, y), (
|
|
5216
|
+
var Q, H, G, ge;
|
|
5217
|
+
T.value = Object.assign({}, y), (H = (Q = O.value) == null ? void 0 : Q.clearValidate) == null || H.call(Q), (ge = (G = O.value) == null ? void 0 : G.resetFields) == null || ge.call(G), W("cancel");
|
|
5218
5218
|
}, P = () => {
|
|
5219
5219
|
T.value.cycle_point = [], T.value.cycle_interval = 1;
|
|
5220
5220
|
}, K = () => {
|
|
5221
|
-
|
|
5221
|
+
var Q;
|
|
5222
|
+
T.value.platform = ((Q = X.value.find((H) => H.value.toLowerCase() === "welink")) == null ? void 0 : Q.value) || "WeLink";
|
|
5222
5223
|
}, { lePadV: B } = Ri(), z = async () => {
|
|
5223
|
-
var
|
|
5224
|
+
var H;
|
|
5224
5225
|
let Q = E.value ? i("meeting.editSuccess") : i("meeting.booSuccess");
|
|
5225
5226
|
try {
|
|
5226
5227
|
M.value = !0;
|
|
@@ -5286,7 +5287,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5286
5287
|
etherpad: Ce,
|
|
5287
5288
|
...Ze
|
|
5288
5289
|
} = gt;
|
|
5289
|
-
ze = await (u == null ? void 0 : u.editMeetingRequest((
|
|
5290
|
+
ze = await (u == null ? void 0 : u.editMeetingRequest((H = u.data) == null ? void 0 : H.id, {
|
|
5290
5291
|
...Ze,
|
|
5291
5292
|
is_notify: !0
|
|
5292
5293
|
}));
|
|
@@ -5310,14 +5311,14 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5310
5311
|
q(), R();
|
|
5311
5312
|
});
|
|
5312
5313
|
const U = (Q) => {
|
|
5313
|
-
const
|
|
5314
|
-
E.value || (T.value.etherpad = (
|
|
5314
|
+
const H = j.value.find((G) => G.value === Q);
|
|
5315
|
+
E.value || (T.value.etherpad = (H == null ? void 0 : H.etherpad) || "", T.value.email_list = (H == null ? void 0 : H.email_list) || "");
|
|
5315
5316
|
}, ae = (Q) => Q.getTime() < Date.now() - 1440 * 60 * 1e3, re = () => {
|
|
5316
5317
|
T.value.start && T.value.end ? T.value.time = `${T.value.start}-${T.value.end}` : T.value.time = "";
|
|
5317
5318
|
};
|
|
5318
5319
|
return e({
|
|
5319
5320
|
confirm: z
|
|
5320
|
-
}), (Q,
|
|
5321
|
+
}), (Q, H) => (x(), N("div", K3, [
|
|
5321
5322
|
$(p(Ru), {
|
|
5322
5323
|
model: T.value,
|
|
5323
5324
|
ref_key: "formRef",
|
|
@@ -5339,7 +5340,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5339
5340
|
placeholder: p(i)("meeting.enterMeetingName"),
|
|
5340
5341
|
style: { width: "100%" },
|
|
5341
5342
|
modelValue: T.value.topic,
|
|
5342
|
-
"onUpdate:modelValue":
|
|
5343
|
+
"onUpdate:modelValue": H[0] || (H[0] = (G) => T.value.topic = G)
|
|
5343
5344
|
}, null, 8, ["disabled", "placeholder", "modelValue"])
|
|
5344
5345
|
]),
|
|
5345
5346
|
_: 1
|
|
@@ -5356,11 +5357,11 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5356
5357
|
size: "large",
|
|
5357
5358
|
style: { width: "100%" },
|
|
5358
5359
|
modelValue: T.value.group_name,
|
|
5359
|
-
"onUpdate:modelValue":
|
|
5360
|
+
"onUpdate:modelValue": H[1] || (H[1] = (G) => T.value.group_name = G),
|
|
5360
5361
|
onChange: U
|
|
5361
5362
|
}, {
|
|
5362
5363
|
default: D(() => [
|
|
5363
|
-
(x(!0), N(Ee, null, Ue(
|
|
5364
|
+
(x(!0), N(Ee, null, Ue(j.value, (G) => (x(), ye(p(Ms), {
|
|
5364
5365
|
key: G.value,
|
|
5365
5366
|
value: G.value
|
|
5366
5367
|
}, {
|
|
@@ -5407,7 +5408,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5407
5408
|
placeholder: p(i)("meeting.enterEtherpad"),
|
|
5408
5409
|
style: { width: "100%" },
|
|
5409
5410
|
modelValue: T.value.etherpad,
|
|
5410
|
-
"onUpdate:modelValue":
|
|
5411
|
+
"onUpdate:modelValue": H[2] || (H[2] = (G) => T.value.etherpad = G)
|
|
5411
5412
|
}, null, 8, ["disabled", "placeholder", "modelValue"])
|
|
5412
5413
|
]),
|
|
5413
5414
|
_: 1
|
|
@@ -5429,7 +5430,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5429
5430
|
default: D(() => [
|
|
5430
5431
|
$(p(Za), {
|
|
5431
5432
|
modelValue: T.value.is_cycle,
|
|
5432
|
-
"onUpdate:modelValue":
|
|
5433
|
+
"onUpdate:modelValue": H[3] || (H[3] = (G) => T.value.is_cycle = G),
|
|
5433
5434
|
onChange: K,
|
|
5434
5435
|
disabled: E.value
|
|
5435
5436
|
}, {
|
|
@@ -5465,7 +5466,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5465
5466
|
$(p(B1), {
|
|
5466
5467
|
size: "large",
|
|
5467
5468
|
modelValue: T.value.cycle_interval,
|
|
5468
|
-
"onUpdate:modelValue":
|
|
5469
|
+
"onUpdate:modelValue": H[4] || (H[4] = (G) => T.value.cycle_interval = G),
|
|
5469
5470
|
min: 1,
|
|
5470
5471
|
max: k.value
|
|
5471
5472
|
}, null, 8, ["modelValue", "max"])
|
|
@@ -5477,7 +5478,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5477
5478
|
$(p(Ps), {
|
|
5478
5479
|
size: "large",
|
|
5479
5480
|
modelValue: T.value.cycle_type,
|
|
5480
|
-
"onUpdate:modelValue":
|
|
5481
|
+
"onUpdate:modelValue": H[5] || (H[5] = (G) => T.value.cycle_type = G),
|
|
5481
5482
|
class: "interval-select",
|
|
5482
5483
|
optionWrapClass: "o-meeting-form-interval-select-options",
|
|
5483
5484
|
onChange: P
|
|
@@ -5510,7 +5511,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5510
5511
|
size: "large",
|
|
5511
5512
|
multiple: "",
|
|
5512
5513
|
modelValue: T.value.cycle_point,
|
|
5513
|
-
"onUpdate:modelValue":
|
|
5514
|
+
"onUpdate:modelValue": H[6] || (H[6] = (G) => T.value.cycle_point = G),
|
|
5514
5515
|
placeholder: p(i)("meeting.selectRepeatDate"),
|
|
5515
5516
|
"max-tag-count": 1
|
|
5516
5517
|
}, {
|
|
@@ -5526,7 +5527,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5526
5527
|
T.value.cycle_type === p(Ls) ? (x(), ye(X3, {
|
|
5527
5528
|
key: 1,
|
|
5528
5529
|
modelValue: T.value.cycle_point,
|
|
5529
|
-
"onUpdate:modelValue":
|
|
5530
|
+
"onUpdate:modelValue": H[7] || (H[7] = (G) => T.value.cycle_point = G)
|
|
5530
5531
|
}, null, 8, ["modelValue"])) : pe("", !0)
|
|
5531
5532
|
]),
|
|
5532
5533
|
_: 1
|
|
@@ -5539,7 +5540,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5539
5540
|
$(p($r), {
|
|
5540
5541
|
size: "large",
|
|
5541
5542
|
modelValue: T.value.date_range,
|
|
5542
|
-
"onUpdate:modelValue":
|
|
5543
|
+
"onUpdate:modelValue": H[8] || (H[8] = (G) => T.value.date_range = G),
|
|
5543
5544
|
"start-placeholder": p(i)("meeting.startDate"),
|
|
5544
5545
|
"end-placeholder": p(i)("meeting.endDate"),
|
|
5545
5546
|
style: { width: "100%" },
|
|
@@ -5562,7 +5563,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5562
5563
|
"popper-class": "o-meeting-form-date-picker-popper",
|
|
5563
5564
|
size: "large",
|
|
5564
5565
|
modelValue: T.value.date,
|
|
5565
|
-
"onUpdate:modelValue":
|
|
5566
|
+
"onUpdate:modelValue": H[9] || (H[9] = (G) => T.value.date = G),
|
|
5566
5567
|
placeholder: p(i)("meeting.selectDate"),
|
|
5567
5568
|
style: { width: "100%" },
|
|
5568
5569
|
"value-format": "YYYY-MM-DD",
|
|
@@ -5586,7 +5587,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5586
5587
|
end: "22:45",
|
|
5587
5588
|
placeholder: p(i)("meeting.startTime"),
|
|
5588
5589
|
modelValue: T.value.start,
|
|
5589
|
-
"onUpdate:modelValue":
|
|
5590
|
+
"onUpdate:modelValue": H[10] || (H[10] = (G) => T.value.start = G),
|
|
5590
5591
|
size: "large",
|
|
5591
5592
|
clearable: !1,
|
|
5592
5593
|
onChange: re
|
|
@@ -5594,7 +5595,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5594
5595
|
]),
|
|
5595
5596
|
_: 1
|
|
5596
5597
|
}),
|
|
5597
|
-
|
|
5598
|
+
H[17] || (H[17] = C("span", null, "-", -1)),
|
|
5598
5599
|
$(p(yt), { field: "end" }, {
|
|
5599
5600
|
default: D(() => [
|
|
5600
5601
|
$(p(_d), {
|
|
@@ -5604,7 +5605,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5604
5605
|
end: "22:45",
|
|
5605
5606
|
placeholder: p(i)("meeting.endTime"),
|
|
5606
5607
|
modelValue: T.value.end,
|
|
5607
|
-
"onUpdate:modelValue":
|
|
5608
|
+
"onUpdate:modelValue": H[11] || (H[11] = (G) => T.value.end = G),
|
|
5608
5609
|
size: "large",
|
|
5609
5610
|
clearable: !1,
|
|
5610
5611
|
onChange: re
|
|
@@ -5632,7 +5633,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5632
5633
|
s.data ? (x(), N("span", sb, Y(p(o)(T.value.platform)), 1)) : (x(), ye(p(Za), {
|
|
5633
5634
|
key: 0,
|
|
5634
5635
|
modelValue: T.value.platform,
|
|
5635
|
-
"onUpdate:modelValue":
|
|
5636
|
+
"onUpdate:modelValue": H[12] || (H[12] = (G) => T.value.platform = G),
|
|
5636
5637
|
disabled: T.value.is_cycle
|
|
5637
5638
|
}, {
|
|
5638
5639
|
default: D(() => [
|
|
@@ -5664,7 +5665,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5664
5665
|
style: { width: "100%" },
|
|
5665
5666
|
rows: 4,
|
|
5666
5667
|
modelValue: T.value.agenda,
|
|
5667
|
-
"onUpdate:modelValue":
|
|
5668
|
+
"onUpdate:modelValue": H[13] || (H[13] = (G) => T.value.agenda = G)
|
|
5668
5669
|
}, null, 8, ["disabled", "placeholder", "modelValue"])
|
|
5669
5670
|
]),
|
|
5670
5671
|
_: 1
|
|
@@ -5678,12 +5679,12 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5678
5679
|
p(B) ? (x(), ye(p(Qa), {
|
|
5679
5680
|
key: 0,
|
|
5680
5681
|
modelValue: T.value.is_record,
|
|
5681
|
-
"onUpdate:modelValue":
|
|
5682
|
+
"onUpdate:modelValue": H[14] || (H[14] = (G) => T.value.is_record = G),
|
|
5682
5683
|
disabled: b.value
|
|
5683
5684
|
}, null, 8, ["modelValue", "disabled"])) : (x(), N("div", nb, [
|
|
5684
5685
|
$(p(Qa), {
|
|
5685
5686
|
modelValue: T.value.is_record,
|
|
5686
|
-
"onUpdate:modelValue":
|
|
5687
|
+
"onUpdate:modelValue": H[15] || (H[15] = (G) => T.value.is_record = G),
|
|
5687
5688
|
disabled: b.value
|
|
5688
5689
|
}, null, 8, ["modelValue", "disabled"]),
|
|
5689
5690
|
C("div", rb, [
|
|
@@ -5695,7 +5696,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5695
5696
|
}),
|
|
5696
5697
|
C("div", null, [
|
|
5697
5698
|
C("span", null, Y(p(i)("meeting.meetingRecordDesc1")), 1),
|
|
5698
|
-
|
|
5699
|
+
H[18] || (H[18] = C("br", null, null, -1)),
|
|
5699
5700
|
C("span", null, Y(p(i)("meeting.meetingRecordDesc2")), 1)
|
|
5700
5701
|
])
|
|
5701
5702
|
])
|
|
@@ -5713,7 +5714,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5713
5714
|
}),
|
|
5714
5715
|
C("div", null, [
|
|
5715
5716
|
C("span", null, Y(p(i)("meeting.meetingRecordDesc1")), 1),
|
|
5716
|
-
|
|
5717
|
+
H[19] || (H[19] = C("br", null, null, -1)),
|
|
5717
5718
|
C("span", null, Y(p(i)("meeting.meetingRecordDesc2")), 1)
|
|
5718
5719
|
])
|
|
5719
5720
|
])
|
|
@@ -5755,7 +5756,7 @@ const Ud = { name: "meeting-icon-tip", render: Y3 }, X3 = /* @__PURE__ */ at({
|
|
|
5755
5756
|
style: { width: "100%" },
|
|
5756
5757
|
rows: 4,
|
|
5757
5758
|
modelValue: T.value.email_list,
|
|
5758
|
-
"onUpdate:modelValue":
|
|
5759
|
+
"onUpdate:modelValue": H[16] || (H[16] = (G) => T.value.email_list = G)
|
|
5759
5760
|
}, null, 8, ["disabled", "placeholder", "modelValue"])
|
|
5760
5761
|
]),
|
|
5761
5762
|
_: 1
|
|
@@ -5917,7 +5918,7 @@ const Sb = { name: "meeting-icon-speaker", render: xb }, Cb = { class: "o-meetin
|
|
|
5917
5918
|
return;
|
|
5918
5919
|
const U = g(B);
|
|
5919
5920
|
z.currentTime(U);
|
|
5920
|
-
}, y = ce(""), T = ce(0), O = ce(0), M = ce([]), I = i("common.all"),
|
|
5921
|
+
}, y = ce(""), T = ce(0), O = ce(0), M = ce([]), I = i("common.all"), j = De(() => [
|
|
5921
5922
|
...new Set(
|
|
5922
5923
|
t.captions.map((B) => B.speakerLabel).sort().reverse()
|
|
5923
5924
|
)
|
|
@@ -5938,10 +5939,10 @@ const Sb = { name: "meeting-icon-speaker", render: xb }, Cb = { class: "o-meetin
|
|
|
5938
5939
|
r.value && r.value.removeEventListener("wheel", o);
|
|
5939
5940
|
});
|
|
5940
5941
|
const q = (B, z) => {
|
|
5941
|
-
var
|
|
5942
|
+
var H, G, ge, ne, oe, se;
|
|
5942
5943
|
const U = document.getElementsByClassName("light-keyword")[B - 1], ae = document.getElementsByClassName("light-keyword")[B - z];
|
|
5943
5944
|
ae == null || ae.classList.remove("light-keyword-active"), U == null || U.classList.add("light-keyword-active");
|
|
5944
|
-
const re = U.offsetTop + U.offsetHeight < ((
|
|
5945
|
+
const re = U.offsetTop + U.offsetHeight < ((H = r.value) == null ? void 0 : H.scrollTop), Q = U.offsetTop > ((G = r.value) == null ? void 0 : G.offsetHeight) + ((ge = r.value) == null ? void 0 : ge.scrollTop);
|
|
5945
5946
|
(re || Q) && ((se = r.value) == null || se.scrollTo({
|
|
5946
5947
|
top: (oe = (ne = U.parentElement) == null ? void 0 : ne.parentElement) == null ? void 0 : oe.offsetTop,
|
|
5947
5948
|
behavior: "smooth"
|
|
@@ -5969,19 +5970,19 @@ const Sb = { name: "meeting-icon-speaker", render: xb }, Cb = { class: "o-meetin
|
|
|
5969
5970
|
O.value = 0, S(B);
|
|
5970
5971
|
}
|
|
5971
5972
|
), xt(
|
|
5972
|
-
() =>
|
|
5973
|
+
() => j.value,
|
|
5973
5974
|
(B) => {
|
|
5974
5975
|
M.value = B;
|
|
5975
5976
|
},
|
|
5976
5977
|
{ immediate: !0 }
|
|
5977
5978
|
);
|
|
5978
5979
|
const A = ce(!1), P = ce(!1), K = (B) => {
|
|
5979
|
-
P.value = !1, B ? M.value =
|
|
5980
|
+
P.value = !1, B ? M.value = j.value : M.value = [];
|
|
5980
5981
|
};
|
|
5981
5982
|
return xt(
|
|
5982
5983
|
() => M.value,
|
|
5983
5984
|
(B) => {
|
|
5984
|
-
B.length === 0 ? (A.value = !1, P.value = !1) : B.length ===
|
|
5985
|
+
B.length === 0 ? (A.value = !1, P.value = !1) : B.length === j.value.length ? (A.value = !0, P.value = !1) : P.value = !0, S(y.value);
|
|
5985
5986
|
},
|
|
5986
5987
|
{ deep: !0 }
|
|
5987
5988
|
), (B, z) => (x(), N("div", Cb, [
|
|
@@ -6065,7 +6066,7 @@ const Sb = { name: "meeting-icon-speaker", render: xb }, Cb = { class: "o-meetin
|
|
|
6065
6066
|
}, 8, ["modelValue", "indeterminate"])
|
|
6066
6067
|
]),
|
|
6067
6068
|
default: D(() => [
|
|
6068
|
-
(x(!0), N(Ee, null, Ue(
|
|
6069
|
+
(x(!0), N(Ee, null, Ue(j.value, (U) => (x(), ye(p(M0), {
|
|
6069
6070
|
key: U,
|
|
6070
6071
|
label: U,
|
|
6071
6072
|
value: U
|
|
@@ -6446,8 +6447,8 @@ function Gb() {
|
|
|
6446
6447
|
}, y = c.requestInterceptorsStorage.execute(b.requestType, k);
|
|
6447
6448
|
b.uri = y.uri, b.headers = y.headers, b.body = y.body, b.metadata = y.metadata, b.retry = y.retry, b.timeout = y.timeout;
|
|
6448
6449
|
}
|
|
6449
|
-
var T = !1, O = function(Q,
|
|
6450
|
-
T || (T = !0, b.callback(Q,
|
|
6450
|
+
var T = !1, O = function(Q, H, G) {
|
|
6451
|
+
T || (T = !0, b.callback(Q, H, G));
|
|
6451
6452
|
};
|
|
6452
6453
|
function M() {
|
|
6453
6454
|
X.readyState === 4 && !c.responseInterceptorsStorage.getIsEnabled() && setTimeout(q, 0);
|
|
@@ -6461,7 +6462,7 @@ function Gb() {
|
|
|
6461
6462
|
}
|
|
6462
6463
|
return re;
|
|
6463
6464
|
}
|
|
6464
|
-
function
|
|
6465
|
+
function j(re) {
|
|
6465
6466
|
if (clearTimeout(U), clearTimeout(b.retryTimeout), re instanceof Error || (re = new Error("" + (re || "Unknown XMLHttpRequest Error"))), re.statusCode = 0, !W && c.retryManager.getIsEnabled() && b.retry && b.retry.shouldRetry()) {
|
|
6466
6467
|
b.retryTimeout = setTimeout(function() {
|
|
6467
6468
|
b.retry.moveToNextAttempt(), b.xhr = X, m(b);
|
|
@@ -6474,8 +6475,8 @@ function Gb() {
|
|
|
6474
6475
|
body: ae.body,
|
|
6475
6476
|
responseUrl: X.responseURL,
|
|
6476
6477
|
responseType: X.responseType
|
|
6477
|
-
},
|
|
6478
|
-
ae.body =
|
|
6478
|
+
}, H = c.responseInterceptorsStorage.execute(b.requestType, Q);
|
|
6479
|
+
ae.body = H.body, ae.headers = H.headers;
|
|
6479
6480
|
}
|
|
6480
6481
|
return O(re, ae);
|
|
6481
6482
|
}
|
|
@@ -6483,7 +6484,7 @@ function Gb() {
|
|
|
6483
6484
|
if (!W) {
|
|
6484
6485
|
var re;
|
|
6485
6486
|
clearTimeout(U), clearTimeout(b.retryTimeout), b.useXDR && X.status === void 0 ? re = 200 : re = X.status === 1223 ? 204 : X.status;
|
|
6486
|
-
var Q = ae,
|
|
6487
|
+
var Q = ae, H = null;
|
|
6487
6488
|
if (re !== 0 ? (Q = {
|
|
6488
6489
|
body: I(),
|
|
6489
6490
|
statusCode: re,
|
|
@@ -6491,7 +6492,7 @@ function Gb() {
|
|
|
6491
6492
|
headers: {},
|
|
6492
6493
|
url: S,
|
|
6493
6494
|
rawRequest: X
|
|
6494
|
-
}, X.getAllResponseHeaders && (Q.headers = r(X.getAllResponseHeaders()))) :
|
|
6495
|
+
}, X.getAllResponseHeaders && (Q.headers = r(X.getAllResponseHeaders()))) : H = new Error("Internal XMLHttpRequest Error"), b.requestType && c.responseInterceptorsStorage.getIsEnabled()) {
|
|
6495
6496
|
var G = {
|
|
6496
6497
|
headers: Q.headers || {},
|
|
6497
6498
|
body: Q.body,
|
|
@@ -6500,7 +6501,7 @@ function Gb() {
|
|
|
6500
6501
|
}, ge = c.responseInterceptorsStorage.execute(b.requestType, G);
|
|
6501
6502
|
Q.body = ge.body, Q.headers = ge.headers;
|
|
6502
6503
|
}
|
|
6503
|
-
return O(
|
|
6504
|
+
return O(H, Q, Q.body);
|
|
6504
6505
|
}
|
|
6505
6506
|
}
|
|
6506
6507
|
var X = b.xhr || null;
|
|
@@ -6513,14 +6514,14 @@ function Gb() {
|
|
|
6513
6514
|
url: S,
|
|
6514
6515
|
rawRequest: X
|
|
6515
6516
|
};
|
|
6516
|
-
if ("json" in b && b.json !== !1 && (z = !0, K.accept || K.Accept || (K.Accept = "application/json"), A !== "GET" && A !== "HEAD" && (K["content-type"] || K["Content-Type"] || (K["Content-Type"] = "application/json"), P = JSON.stringify(b.json === !0 ? P : b.json))), X.onreadystatechange = M, X.onload = q, X.onerror =
|
|
6517
|
+
if ("json" in b && b.json !== !1 && (z = !0, K.accept || K.Accept || (K.Accept = "application/json"), A !== "GET" && A !== "HEAD" && (K["content-type"] || K["Content-Type"] || (K["Content-Type"] = "application/json"), P = JSON.stringify(b.json === !0 ? P : b.json))), X.onreadystatechange = M, X.onload = q, X.onerror = j, X.onprogress = function() {
|
|
6517
6518
|
}, X.onabort = function() {
|
|
6518
6519
|
W = !0, clearTimeout(b.retryTimeout);
|
|
6519
|
-
}, X.ontimeout =
|
|
6520
|
+
}, X.ontimeout = j, X.open(A, S, !B, b.username, b.password), B || (X.withCredentials = !!b.withCredentials), !B && b.timeout > 0 && (U = setTimeout(function() {
|
|
6520
6521
|
if (!W) {
|
|
6521
6522
|
W = !0, X.abort("timeout");
|
|
6522
6523
|
var re = new Error("XMLHttpRequest timeout");
|
|
6523
|
-
re.code = "ETIMEDOUT",
|
|
6524
|
+
re.code = "ETIMEDOUT", j(re);
|
|
6524
6525
|
}
|
|
6525
6526
|
}, b.timeout)), X.setRequestHeader)
|
|
6526
6527
|
for (R in K)
|
|
@@ -6640,30 +6641,30 @@ function Yb() {
|
|
|
6640
6641
|
}
|
|
6641
6642
|
function z(ae, re) {
|
|
6642
6643
|
var Q = new n();
|
|
6643
|
-
r(ae, function(
|
|
6644
|
-
switch (
|
|
6644
|
+
r(ae, function(H, G) {
|
|
6645
|
+
switch (H) {
|
|
6645
6646
|
case "region":
|
|
6646
6647
|
for (var ge = P.length - 1; ge >= 0; ge--)
|
|
6647
6648
|
if (P[ge].id === G) {
|
|
6648
|
-
Q.set(
|
|
6649
|
+
Q.set(H, P[ge].region);
|
|
6649
6650
|
break;
|
|
6650
6651
|
}
|
|
6651
6652
|
break;
|
|
6652
6653
|
case "vertical":
|
|
6653
|
-
Q.alt(
|
|
6654
|
+
Q.alt(H, G, ["rl", "lr"]);
|
|
6654
6655
|
break;
|
|
6655
6656
|
case "line":
|
|
6656
6657
|
var ne = G.split(","), oe = ne[0];
|
|
6657
|
-
Q.integer(
|
|
6658
|
+
Q.integer(H, oe), Q.percent(H, oe) && Q.set("snapToLines", !1), Q.alt(H, oe, ["auto"]), ne.length === 2 && Q.alt("lineAlign", ne[1], ["start", "center", "end"]);
|
|
6658
6659
|
break;
|
|
6659
6660
|
case "position":
|
|
6660
|
-
ne = G.split(","), Q.percent(
|
|
6661
|
+
ne = G.split(","), Q.percent(H, ne[0]), ne.length === 2 && Q.alt("positionAlign", ne[1], ["start", "center", "end"]);
|
|
6661
6662
|
break;
|
|
6662
6663
|
case "size":
|
|
6663
|
-
Q.percent(
|
|
6664
|
+
Q.percent(H, G);
|
|
6664
6665
|
break;
|
|
6665
6666
|
case "align":
|
|
6666
|
-
Q.alt(
|
|
6667
|
+
Q.alt(H, G, ["start", "center", "end", "left", "right"]);
|
|
6667
6668
|
break;
|
|
6668
6669
|
}
|
|
6669
6670
|
}, /:/, /\s/), re.region = Q.get("region", null), re.vertical = Q.get("vertical", "");
|
|
@@ -6761,9 +6762,9 @@ function Yb() {
|
|
|
6761
6762
|
Q.length && Q[Q.length - 1] === re.substr(2).replace(">", "") && (Q.pop(), ae = ae.parentNode);
|
|
6762
6763
|
continue;
|
|
6763
6764
|
}
|
|
6764
|
-
var
|
|
6765
|
-
if (
|
|
6766
|
-
G = S.document.createProcessingInstruction("timestamp",
|
|
6765
|
+
var H = i(re.substr(1, re.length - 2)), G;
|
|
6766
|
+
if (H) {
|
|
6767
|
+
G = S.document.createProcessingInstruction("timestamp", H), ae.appendChild(G);
|
|
6767
6768
|
continue;
|
|
6768
6769
|
}
|
|
6769
6770
|
var ge = re.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);
|
|
@@ -6914,8 +6915,8 @@ function Yb() {
|
|
|
6914
6915
|
return null;
|
|
6915
6916
|
var re = ae.pop(), Q = re.textContent || re.innerText;
|
|
6916
6917
|
if (Q) {
|
|
6917
|
-
var
|
|
6918
|
-
return
|
|
6918
|
+
var H = Q.match(/^.*(\n|\r)/);
|
|
6919
|
+
return H ? (ae.length = 0, H[0]) : Q;
|
|
6919
6920
|
}
|
|
6920
6921
|
if (re.tagName === "ruby")
|
|
6921
6922
|
return z(ae);
|
|
@@ -7070,7 +7071,7 @@ function Yb() {
|
|
|
7070
7071
|
};
|
|
7071
7072
|
return B;
|
|
7072
7073
|
};
|
|
7073
|
-
function
|
|
7074
|
+
function j(S, A, P, K) {
|
|
7074
7075
|
function B(te, Te) {
|
|
7075
7076
|
for (var we, Ye = new I(te), je = 1, Ke = 0; Ke < Te.length; Ke++) {
|
|
7076
7077
|
for (; te.overlapsOppositeAxis(P, Te[Ke]) || te.within(P) && te.overlapsAny(K); )
|
|
@@ -7096,8 +7097,8 @@ function Yb() {
|
|
|
7096
7097
|
re = ["-x", "+x"], Q = "width";
|
|
7097
7098
|
break;
|
|
7098
7099
|
}
|
|
7099
|
-
var
|
|
7100
|
-
Math.abs(G) > ge && (G = G < 0 ? -1 : 1, G *= Math.ceil(ge /
|
|
7100
|
+
var H = z.lineHeight, G = H * Math.round(ae), ge = P[Q] + H, ne = re[0];
|
|
7101
|
+
Math.abs(G) > ge && (G = G < 0 ? -1 : 1, G *= Math.ceil(ge / H) * H), ae < 0 && (G += U.vertical === "" ? P.height : P.width, re = re.reverse()), z.move(ne, G);
|
|
7101
7102
|
} else {
|
|
7102
7103
|
var oe = z.lineHeight / P.height * 100;
|
|
7103
7104
|
switch (U.lineAlign) {
|
|
@@ -7153,9 +7154,9 @@ function Yb() {
|
|
|
7153
7154
|
P.removeChild(P.firstChild);
|
|
7154
7155
|
var K = S.document.createElement("div");
|
|
7155
7156
|
K.style.position = "absolute", K.style.left = "0", K.style.right = "0", K.style.top = "0", K.style.bottom = "0", K.style.margin = W, P.appendChild(K);
|
|
7156
|
-
function B(
|
|
7157
|
-
for (var G = 0; G <
|
|
7158
|
-
if (
|
|
7157
|
+
function B(H) {
|
|
7158
|
+
for (var G = 0; G < H.length; G++)
|
|
7159
|
+
if (H[G].hasBeenReset || !H[G].displayState)
|
|
7159
7160
|
return !0;
|
|
7160
7161
|
return !1;
|
|
7161
7162
|
}
|
|
@@ -7168,8 +7169,8 @@ function Yb() {
|
|
|
7168
7169
|
font: re + "px " + R
|
|
7169
7170
|
};
|
|
7170
7171
|
(function() {
|
|
7171
|
-
for (var
|
|
7172
|
-
G = A[ge],
|
|
7172
|
+
for (var H, G, ge = 0; ge < A.length; ge++)
|
|
7173
|
+
G = A[ge], H = new M(S, G, Q), K.appendChild(H.div), j(S, H, ae, U), G.displayState = H.div, U.push(I.getSimpleBoxPosition(H));
|
|
7173
7174
|
})();
|
|
7174
7175
|
}, q.Parser = function(S, A, P) {
|
|
7175
7176
|
P || (P = A, A = {}), A || (A = {}), this.window = S, this.vttjs = A, this.state = "INITIAL", this.buffer = "", this.decoder = P || new TextDecoder("utf8"), this.regionList = [];
|
|
@@ -7186,16 +7187,16 @@ function Yb() {
|
|
|
7186
7187
|
var A = this;
|
|
7187
7188
|
S && (A.buffer += A.decoder.decode(S, { stream: !0 }));
|
|
7188
7189
|
function P() {
|
|
7189
|
-
for (var
|
|
7190
|
+
for (var H = A.buffer, G = 0; G < H.length && H[G] !== "\r" && H[G] !== `
|
|
7190
7191
|
`; )
|
|
7191
7192
|
++G;
|
|
7192
|
-
var ge =
|
|
7193
|
-
return
|
|
7194
|
-
` && ++G, A.buffer =
|
|
7193
|
+
var ge = H.substr(0, G);
|
|
7194
|
+
return H[G] === "\r" && ++G, H[G] === `
|
|
7195
|
+
` && ++G, A.buffer = H.substr(G), ge;
|
|
7195
7196
|
}
|
|
7196
|
-
function K(
|
|
7197
|
+
function K(H) {
|
|
7197
7198
|
var G = new n();
|
|
7198
|
-
if (r(
|
|
7199
|
+
if (r(H, function(ne, oe) {
|
|
7199
7200
|
switch (ne) {
|
|
7200
7201
|
case "id":
|
|
7201
7202
|
G.set(ne, oe);
|
|
@@ -7228,9 +7229,9 @@ function Yb() {
|
|
|
7228
7229
|
});
|
|
7229
7230
|
}
|
|
7230
7231
|
}
|
|
7231
|
-
function B(
|
|
7232
|
+
function B(H) {
|
|
7232
7233
|
var G = new n();
|
|
7233
|
-
r(
|
|
7234
|
+
r(H, function(ge, ne) {
|
|
7234
7235
|
switch (ge) {
|
|
7235
7236
|
case "MPEGT":
|
|
7236
7237
|
G.integer(ge + "S", ne);
|
|
@@ -7244,14 +7245,14 @@ function Yb() {
|
|
|
7244
7245
|
LOCAL: G.get("LOCAL")
|
|
7245
7246
|
});
|
|
7246
7247
|
}
|
|
7247
|
-
function z(
|
|
7248
|
-
|
|
7248
|
+
function z(H) {
|
|
7249
|
+
H.match(/X-TIMESTAMP-MAP/) ? r(H, function(G, ge) {
|
|
7249
7250
|
switch (G) {
|
|
7250
7251
|
case "X-TIMESTAMP-MAP":
|
|
7251
7252
|
B(ge);
|
|
7252
7253
|
break;
|
|
7253
7254
|
}
|
|
7254
|
-
}, /=/) : r(
|
|
7255
|
+
}, /=/) : r(H, function(G, ge) {
|
|
7255
7256
|
switch (G) {
|
|
7256
7257
|
case "Region":
|
|
7257
7258
|
K(ge);
|
|
@@ -7302,8 +7303,8 @@ function Yb() {
|
|
|
7302
7303
|
case "CUE":
|
|
7303
7304
|
try {
|
|
7304
7305
|
a(U, A.cue, A.regionList);
|
|
7305
|
-
} catch (
|
|
7306
|
-
A.reportOrThrowError(
|
|
7306
|
+
} catch (H) {
|
|
7307
|
+
A.reportOrThrowError(H), A.cue = null, A.state = "BADCUE";
|
|
7307
7308
|
continue;
|
|
7308
7309
|
}
|
|
7309
7310
|
A.state = "CUETEXT";
|
|
@@ -7324,8 +7325,8 @@ function Yb() {
|
|
|
7324
7325
|
continue;
|
|
7325
7326
|
}
|
|
7326
7327
|
}
|
|
7327
|
-
} catch (
|
|
7328
|
-
A.reportOrThrowError(
|
|
7328
|
+
} catch (H) {
|
|
7329
|
+
A.reportOrThrowError(H), A.state === "CUETEXT" && A.cue && A.oncue && A.oncue(A.cue), A.cue = null, A.state = A.state === "INITIAL" ? "BADWEBVTT" : "BADCUE";
|
|
7329
7330
|
}
|
|
7330
7331
|
return this;
|
|
7331
7332
|
},
|
|
@@ -7375,7 +7376,7 @@ function Xb() {
|
|
|
7375
7376
|
}
|
|
7376
7377
|
function r(a, o, u) {
|
|
7377
7378
|
this.hasBeenReset = !1;
|
|
7378
|
-
var c = "", m = !1, g = a, E = o, b = u, k = null, y = "", T = !0, O = "auto", M = "start", I = "auto",
|
|
7379
|
+
var c = "", m = !1, g = a, E = o, b = u, k = null, y = "", T = !0, O = "auto", M = "start", I = "auto", j = "auto", q = 100, X = "center";
|
|
7379
7380
|
Object.defineProperties(this, {
|
|
7380
7381
|
id: {
|
|
7381
7382
|
enumerable: !0,
|
|
@@ -7491,11 +7492,11 @@ function Xb() {
|
|
|
7491
7492
|
positionAlign: {
|
|
7492
7493
|
enumerable: !0,
|
|
7493
7494
|
get: function() {
|
|
7494
|
-
return
|
|
7495
|
+
return j;
|
|
7495
7496
|
},
|
|
7496
7497
|
set: function(R) {
|
|
7497
7498
|
var W = n(R);
|
|
7498
|
-
W ? (
|
|
7499
|
+
W ? (j = W, this.hasBeenReset = !0) : console.warn("positionAlign: an invalid or illegal string was specified.");
|
|
7499
7500
|
}
|
|
7500
7501
|
},
|
|
7501
7502
|
size: {
|
|
@@ -8290,7 +8291,7 @@ class r4 extends Vu {
|
|
|
8290
8291
|
const {
|
|
8291
8292
|
lastProgramDateTime: M
|
|
8292
8293
|
} = this;
|
|
8293
|
-
this.lastProgramDateTime = new Date(y.dateTimeString).getTime(), M === null && this.manifest.segments.reduceRight((I,
|
|
8294
|
+
this.lastProgramDateTime = new Date(y.dateTimeString).getTime(), M === null && this.manifest.segments.reduceRight((I, j) => (j.programDateTime = I - j.duration * 1e3, j.programDateTime), this.lastProgramDateTime);
|
|
8294
8295
|
},
|
|
8295
8296
|
targetduration() {
|
|
8296
8297
|
if (!isFinite(y.duration) || y.duration < 0) {
|
|
@@ -8329,8 +8330,8 @@ class r4 extends Vu {
|
|
|
8329
8330
|
o = !0;
|
|
8330
8331
|
const M = this.manifest.segments.length, I = qs(y.attributes);
|
|
8331
8332
|
n.parts = n.parts || [], n.parts.push(I), I.byterange && (I.byterange.hasOwnProperty("offset") || (I.byterange.offset = b), b = I.byterange.offset + I.byterange.length);
|
|
8332
|
-
const
|
|
8333
|
-
this.warnOnMissingAttributes_(`#EXT-X-PART #${
|
|
8333
|
+
const j = n.parts.length - 1;
|
|
8334
|
+
this.warnOnMissingAttributes_(`#EXT-X-PART #${j} for segment #${M}`, y.attributes, ["URI", "DURATION"]), this.manifest.renditionReports && this.manifest.renditionReports.forEach((q, X) => {
|
|
8334
8335
|
q.hasOwnProperty("lastPart") || this.trigger("warn", {
|
|
8335
8336
|
message: `#EXT-X-RENDITION-REPORT #${X} lacks required attribute(s): LAST-PART`
|
|
8336
8337
|
});
|
|
@@ -8345,8 +8346,8 @@ class r4 extends Vu {
|
|
|
8345
8346
|
});
|
|
8346
8347
|
},
|
|
8347
8348
|
"preload-hint"() {
|
|
8348
|
-
const M = this.manifest.segments.length, I = qs(y.attributes),
|
|
8349
|
-
n.preloadHints = n.preloadHints || [], n.preloadHints.push(I), I.byterange && (I.byterange.hasOwnProperty("offset") || (I.byterange.offset =
|
|
8349
|
+
const M = this.manifest.segments.length, I = qs(y.attributes), j = I.type && I.type === "PART";
|
|
8350
|
+
n.preloadHints = n.preloadHints || [], n.preloadHints.push(I), I.byterange && (I.byterange.hasOwnProperty("offset") || (I.byterange.offset = j ? b : 0, j && (b = I.byterange.offset + I.byterange.length)));
|
|
8350
8351
|
const q = n.preloadHints.length - 1;
|
|
8351
8352
|
if (this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${q} for segment #${M}`, y.attributes, ["TYPE", "URI"]), !!I.type)
|
|
8352
8353
|
for (let X = 0; X < n.preloadHints.length - 1; X++) {
|
|
@@ -8359,8 +8360,8 @@ class r4 extends Vu {
|
|
|
8359
8360
|
"rendition-report"() {
|
|
8360
8361
|
const M = qs(y.attributes);
|
|
8361
8362
|
this.manifest.renditionReports = this.manifest.renditionReports || [], this.manifest.renditionReports.push(M);
|
|
8362
|
-
const I = this.manifest.renditionReports.length - 1,
|
|
8363
|
-
o &&
|
|
8363
|
+
const I = this.manifest.renditionReports.length - 1, j = ["LAST-MSN", "URI"];
|
|
8364
|
+
o && j.push("LAST-PART"), this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${I}`, y.attributes, j);
|
|
8364
8365
|
},
|
|
8365
8366
|
"part-inf"() {
|
|
8366
8367
|
this.manifest.partInf = qs(y.attributes), this.warnOnMissingAttributes_("#EXT-X-PART-INF", y.attributes, ["PART-TARGET"]), this.manifest.partInf.partTarget && (this.manifest.partTargetDuration = this.manifest.partInf.partTarget), Il.call(this, this.manifest);
|
|
@@ -8377,10 +8378,10 @@ class r4 extends Vu {
|
|
|
8377
8378
|
}), I.plannedDuration && I.plannedDuration < 0 && this.trigger("warn", {
|
|
8378
8379
|
message: "EXT-X-DATERANGE PLANNED-DURATION must not be negative"
|
|
8379
8380
|
});
|
|
8380
|
-
const
|
|
8381
|
-
if (
|
|
8381
|
+
const j = !!I.endOnNext;
|
|
8382
|
+
if (j && !I.class && this.trigger("warn", {
|
|
8382
8383
|
message: "EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must have a CLASS attribute"
|
|
8383
|
-
}),
|
|
8384
|
+
}), j && (I.duration || I.endDate) && this.trigger("warn", {
|
|
8384
8385
|
message: "EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must not contain DURATION or END-DATE attributes"
|
|
8385
8386
|
}), I.duration && I.endDate) {
|
|
8386
8387
|
const X = I.startDate.getTime() + I.duration * 1e3;
|
|
@@ -8412,14 +8413,14 @@ class r4 extends Vu {
|
|
|
8412
8413
|
/** @this {Parser} */
|
|
8413
8414
|
define() {
|
|
8414
8415
|
this.manifest.definitions = this.manifest.definitions || {};
|
|
8415
|
-
const M = (I,
|
|
8416
|
+
const M = (I, j) => {
|
|
8416
8417
|
if (I in this.manifest.definitions) {
|
|
8417
8418
|
this.trigger("error", {
|
|
8418
8419
|
message: `EXT-X-DEFINE: Duplicate name ${I}`
|
|
8419
8420
|
});
|
|
8420
8421
|
return;
|
|
8421
8422
|
}
|
|
8422
|
-
this.manifest.definitions[I] =
|
|
8423
|
+
this.manifest.definitions[I] = j;
|
|
8423
8424
|
};
|
|
8424
8425
|
if ("QUERYPARAM" in y.attributes) {
|
|
8425
8426
|
if ("NAME" in y.attributes || "IMPORT" in y.attributes) {
|
|
@@ -8862,7 +8863,7 @@ function ef() {
|
|
|
8862
8863
|
}
|
|
8863
8864
|
ie.constructor != w && (typeof w != "function" && console.error("unknown Class:" + w), ie.constructor = w);
|
|
8864
8865
|
}
|
|
8865
|
-
var m = {}, g = m.ELEMENT_NODE = 1, E = m.ATTRIBUTE_NODE = 2, b = m.TEXT_NODE = 3, k = m.CDATA_SECTION_NODE = 4, y = m.ENTITY_REFERENCE_NODE = 5, T = m.ENTITY_NODE = 6, O = m.PROCESSING_INSTRUCTION_NODE = 7, M = m.COMMENT_NODE = 8, I = m.DOCUMENT_NODE = 9,
|
|
8866
|
+
var m = {}, g = m.ELEMENT_NODE = 1, E = m.ATTRIBUTE_NODE = 2, b = m.TEXT_NODE = 3, k = m.CDATA_SECTION_NODE = 4, y = m.ENTITY_REFERENCE_NODE = 5, T = m.ENTITY_NODE = 6, O = m.PROCESSING_INSTRUCTION_NODE = 7, M = m.COMMENT_NODE = 8, I = m.DOCUMENT_NODE = 9, j = m.DOCUMENT_TYPE_NODE = 10, q = m.DOCUMENT_FRAGMENT_NODE = 11, X = m.NOTATION_NODE = 12, R = {}, W = {};
|
|
8866
8867
|
R.INDEX_SIZE_ERR = (W[1] = "Index size error", 1), R.DOMSTRING_SIZE_ERR = (W[2] = "DOMString size error", 2);
|
|
8867
8868
|
var S = R.HIERARCHY_REQUEST_ERR = (W[3] = "Hierarchy request error", 3);
|
|
8868
8869
|
R.WRONG_DOCUMENT_ERR = (W[4] = "Wrong document", 4);
|
|
@@ -8944,7 +8945,7 @@ function ef() {
|
|
|
8944
8945
|
if (w[ie] === L)
|
|
8945
8946
|
return ie;
|
|
8946
8947
|
}
|
|
8947
|
-
function
|
|
8948
|
+
function H(w, L, ie, ve) {
|
|
8948
8949
|
if (ve ? L[Q(L, ve)] = ie : L[L.length++] = ie, w) {
|
|
8949
8950
|
ie.ownerElement = w;
|
|
8950
8951
|
var Ie = w.ownerDocument;
|
|
@@ -8978,14 +8979,14 @@ function ef() {
|
|
|
8978
8979
|
if (L && L != this._ownerElement)
|
|
8979
8980
|
throw new B(K);
|
|
8980
8981
|
var ie = this.getNamedItem(w.nodeName);
|
|
8981
|
-
return
|
|
8982
|
+
return H(this._ownerElement, this, w, ie), ie;
|
|
8982
8983
|
},
|
|
8983
8984
|
/* returns Node */
|
|
8984
8985
|
setNamedItemNS: function(w) {
|
|
8985
8986
|
var L = w.ownerElement, ie;
|
|
8986
8987
|
if (L && L != this._ownerElement)
|
|
8987
8988
|
throw new B(K);
|
|
8988
|
-
return ie = this.getNamedItemNS(w.namespaceURI, w.localName),
|
|
8989
|
+
return ie = this.getNamedItemNS(w.namespaceURI, w.localName), H(this._ownerElement, this, w, ie), ie;
|
|
8989
8990
|
},
|
|
8990
8991
|
/* returns Node */
|
|
8991
8992
|
removeNamedItem: function(w) {
|
|
@@ -9607,7 +9608,7 @@ function ef() {
|
|
|
9607
9608
|
}, c(fe, Wt);
|
|
9608
9609
|
function Ve() {
|
|
9609
9610
|
}
|
|
9610
|
-
Ve.prototype.nodeType =
|
|
9611
|
+
Ve.prototype.nodeType = j, c(Ve, ne);
|
|
9611
9612
|
function Se() {
|
|
9612
9613
|
}
|
|
9613
9614
|
Se.prototype.nodeType = X, c(Se, ne);
|
|
@@ -9734,7 +9735,7 @@ function ef() {
|
|
|
9734
9735
|
return L.push("<![CDATA[", w.data.replace(/]]>/g, "]]]]><![CDATA[>"), "]]>");
|
|
9735
9736
|
case M:
|
|
9736
9737
|
return L.push("<!--", w.data, "-->");
|
|
9737
|
-
case
|
|
9738
|
+
case j:
|
|
9738
9739
|
var ot = w.publicId, Zi = w.systemId;
|
|
9739
9740
|
if (L.push("<!DOCTYPE ", w.name), ot)
|
|
9740
9741
|
L.push(" PUBLIC ", ot), Zi && Zi != "." && L.push(" ", Zi), L.push(">");
|
|
@@ -11997,7 +11998,7 @@ function b4() {
|
|
|
11997
11998
|
b.prototype = {
|
|
11998
11999
|
parse: function(S, A, P) {
|
|
11999
12000
|
var K = this.domBuilder;
|
|
12000
|
-
K.startDocument(),
|
|
12001
|
+
K.startDocument(), j(A, A = {}), k(
|
|
12001
12002
|
S,
|
|
12002
12003
|
A,
|
|
12003
12004
|
P,
|
|
@@ -12026,11 +12027,11 @@ function b4() {
|
|
|
12026
12027
|
}
|
|
12027
12028
|
}
|
|
12028
12029
|
function re(Ce, Ze) {
|
|
12029
|
-
for (; Ce >=
|
|
12030
|
-
Q = Ze.index,
|
|
12030
|
+
for (; Ce >= H && (Ze = G.exec(S)); )
|
|
12031
|
+
Q = Ze.index, H = Q + Ze[0].length, ge.lineNumber++;
|
|
12031
12032
|
ge.columnNumber = Ce - Q + 1;
|
|
12032
12033
|
}
|
|
12033
|
-
for (var Q = 0,
|
|
12034
|
+
for (var Q = 0, H = 0, G = /.*(?:\r\n?|\n)|.*$/g, ge = K.locator, ne = [{ currentNSMap: A }], oe = {}, se = 0; ; ) {
|
|
12034
12035
|
try {
|
|
12035
12036
|
var te = S.indexOf("<", se);
|
|
12036
12037
|
if (te < 0) {
|
|
@@ -12097,37 +12098,37 @@ function b4() {
|
|
|
12097
12098
|
oe
|
|
12098
12099
|
);
|
|
12099
12100
|
}
|
|
12100
|
-
for (var ae, re, Q = ++A,
|
|
12101
|
+
for (var ae, re, Q = ++A, H = n; ; ) {
|
|
12101
12102
|
var G = S.charAt(Q);
|
|
12102
12103
|
switch (G) {
|
|
12103
12104
|
case "=":
|
|
12104
|
-
if (
|
|
12105
|
-
ae = S.slice(A, Q),
|
|
12106
|
-
else if (
|
|
12107
|
-
|
|
12105
|
+
if (H === r)
|
|
12106
|
+
ae = S.slice(A, Q), H = o;
|
|
12107
|
+
else if (H === a)
|
|
12108
|
+
H = o;
|
|
12108
12109
|
else
|
|
12109
12110
|
throw new Error("attribute equal must after attrName");
|
|
12110
12111
|
break;
|
|
12111
12112
|
case "'":
|
|
12112
12113
|
case '"':
|
|
12113
|
-
if (
|
|
12114
|
-
if (
|
|
12115
|
-
re = S.slice(A, Q), U(ae, re, A - 1),
|
|
12114
|
+
if (H === o || H === r)
|
|
12115
|
+
if (H === r && (z.warning('attribute value must after "="'), ae = S.slice(A, Q)), A = Q + 1, Q = S.indexOf(G, A), Q > 0)
|
|
12116
|
+
re = S.slice(A, Q), U(ae, re, A - 1), H = c;
|
|
12116
12117
|
else
|
|
12117
12118
|
throw new Error("attribute value no end '" + G + "' match");
|
|
12118
|
-
else if (
|
|
12119
|
-
re = S.slice(A, Q), U(ae, re, A), z.warning('attribute "' + ae + '" missed start quot(' + G + ")!!"), A = Q + 1,
|
|
12119
|
+
else if (H == u)
|
|
12120
|
+
re = S.slice(A, Q), U(ae, re, A), z.warning('attribute "' + ae + '" missed start quot(' + G + ")!!"), A = Q + 1, H = c;
|
|
12120
12121
|
else
|
|
12121
12122
|
throw new Error('attribute value must after "="');
|
|
12122
12123
|
break;
|
|
12123
12124
|
case "/":
|
|
12124
|
-
switch (
|
|
12125
|
+
switch (H) {
|
|
12125
12126
|
case n:
|
|
12126
12127
|
P.setTagName(S.slice(A, Q));
|
|
12127
12128
|
case c:
|
|
12128
12129
|
case m:
|
|
12129
12130
|
case g:
|
|
12130
|
-
|
|
12131
|
+
H = g, P.closed = !0;
|
|
12131
12132
|
case u:
|
|
12132
12133
|
case r:
|
|
12133
12134
|
break;
|
|
@@ -12140,9 +12141,9 @@ function b4() {
|
|
|
12140
12141
|
}
|
|
12141
12142
|
break;
|
|
12142
12143
|
case "":
|
|
12143
|
-
return z.error("unexpected end of input"),
|
|
12144
|
+
return z.error("unexpected end of input"), H == n && P.setTagName(S.slice(A, Q)), Q;
|
|
12144
12145
|
case ">":
|
|
12145
|
-
switch (
|
|
12146
|
+
switch (H) {
|
|
12146
12147
|
case n:
|
|
12147
12148
|
P.setTagName(S.slice(A, Q));
|
|
12148
12149
|
case c:
|
|
@@ -12155,7 +12156,7 @@ function b4() {
|
|
|
12155
12156
|
case r:
|
|
12156
12157
|
re = S.slice(A, Q), re.slice(-1) === "/" && (P.closed = !0, re = re.slice(0, -1));
|
|
12157
12158
|
case a:
|
|
12158
|
-
|
|
12159
|
+
H === a && (re = ae), H == u ? (z.warning('attribute "' + re + '" missed quot(")!'), U(ae, re, A)) : ((!s.isHTML(K[""]) || !re.match(/^(?:disabled|checked|selected)$/i)) && z.warning('attribute "' + re + '" missed value!! "' + re + '" instead!!'), U(re, re, A));
|
|
12159
12160
|
break;
|
|
12160
12161
|
case o:
|
|
12161
12162
|
throw new Error("attribute value missed!!");
|
|
@@ -12166,35 +12167,35 @@ function b4() {
|
|
|
12166
12167
|
G = " ";
|
|
12167
12168
|
default:
|
|
12168
12169
|
if (G <= " ")
|
|
12169
|
-
switch (
|
|
12170
|
+
switch (H) {
|
|
12170
12171
|
case n:
|
|
12171
|
-
P.setTagName(S.slice(A, Q)),
|
|
12172
|
+
P.setTagName(S.slice(A, Q)), H = m;
|
|
12172
12173
|
break;
|
|
12173
12174
|
case r:
|
|
12174
|
-
ae = S.slice(A, Q),
|
|
12175
|
+
ae = S.slice(A, Q), H = a;
|
|
12175
12176
|
break;
|
|
12176
12177
|
case u:
|
|
12177
12178
|
var re = S.slice(A, Q);
|
|
12178
12179
|
z.warning('attribute "' + re + '" missed quot(")!!'), U(ae, re, A);
|
|
12179
12180
|
case c:
|
|
12180
|
-
|
|
12181
|
+
H = m;
|
|
12181
12182
|
break;
|
|
12182
12183
|
}
|
|
12183
12184
|
else
|
|
12184
|
-
switch (
|
|
12185
|
+
switch (H) {
|
|
12185
12186
|
//case S_TAG:void();break;
|
|
12186
12187
|
//case S_ATTR:void();break;
|
|
12187
12188
|
//case S_ATTR_NOQUOT_VALUE:void();break;
|
|
12188
12189
|
case a:
|
|
12189
|
-
P.tagName, (!s.isHTML(K[""]) || !ae.match(/^(?:disabled|checked|selected)$/i)) && z.warning('attribute "' + ae + '" missed value!! "' + ae + '" instead2!!'), U(ae, ae, A), A = Q,
|
|
12190
|
+
P.tagName, (!s.isHTML(K[""]) || !ae.match(/^(?:disabled|checked|selected)$/i)) && z.warning('attribute "' + ae + '" missed value!! "' + ae + '" instead2!!'), U(ae, ae, A), A = Q, H = r;
|
|
12190
12191
|
break;
|
|
12191
12192
|
case c:
|
|
12192
12193
|
z.warning('attribute space is required"' + ae + '"!!');
|
|
12193
12194
|
case m:
|
|
12194
|
-
|
|
12195
|
+
H = r, A = Q;
|
|
12195
12196
|
break;
|
|
12196
12197
|
case o:
|
|
12197
|
-
|
|
12198
|
+
H = u, A = Q;
|
|
12198
12199
|
break;
|
|
12199
12200
|
case g:
|
|
12200
12201
|
throw new Error("elements closed character '/' and '>' must be connected to");
|
|
@@ -12207,10 +12208,10 @@ function b4() {
|
|
|
12207
12208
|
for (var K = S.tagName, B = null, G = S.length; G--; ) {
|
|
12208
12209
|
var z = S[G], U = z.qName, ae = z.value, ge = U.indexOf(":");
|
|
12209
12210
|
if (ge > 0)
|
|
12210
|
-
var re = z.prefix = U.slice(0, ge), Q = U.slice(ge + 1),
|
|
12211
|
+
var re = z.prefix = U.slice(0, ge), Q = U.slice(ge + 1), H = re === "xmlns" && Q;
|
|
12211
12212
|
else
|
|
12212
|
-
Q = U, re = null,
|
|
12213
|
-
z.localName = Q,
|
|
12213
|
+
Q = U, re = null, H = U === "xmlns" && "";
|
|
12214
|
+
z.localName = Q, H !== !1 && (B == null && (B = {}, j(P, P = {})), P[H] = B[H] = ae, z.uri = s.XMLNS, A.startPrefixMapping(H, ae));
|
|
12214
12215
|
}
|
|
12215
12216
|
for (var G = S.length; G--; ) {
|
|
12216
12217
|
z = S[G];
|
|
@@ -12239,7 +12240,7 @@ function b4() {
|
|
|
12239
12240
|
var B = K[P];
|
|
12240
12241
|
return B == null && (B = S.lastIndexOf("</" + P + ">"), B < A && (B = S.lastIndexOf("</" + P)), K[P] = B), B < A;
|
|
12241
12242
|
}
|
|
12242
|
-
function
|
|
12243
|
+
function j(S, A) {
|
|
12243
12244
|
for (var P in S)
|
|
12244
12245
|
Object.prototype.hasOwnProperty.call(S, P) && (A[P] = S[P]);
|
|
12245
12246
|
}
|
|
@@ -12259,10 +12260,10 @@ function b4() {
|
|
|
12259
12260
|
}
|
|
12260
12261
|
var U = W(S, A), ae = U.length;
|
|
12261
12262
|
if (ae > 1 && /!doctype/i.test(U[0][0])) {
|
|
12262
|
-
var re = U[1][0], Q = !1,
|
|
12263
|
-
ae > 3 && (/^public$/i.test(U[2][0]) ? (Q = U[3][0],
|
|
12263
|
+
var re = U[1][0], Q = !1, H = !1;
|
|
12264
|
+
ae > 3 && (/^public$/i.test(U[2][0]) ? (Q = U[3][0], H = ae > 4 && U[4][0]) : /^system$/i.test(U[2][0]) && (H = U[3][0]));
|
|
12264
12265
|
var G = U[ae - 1];
|
|
12265
|
-
return P.startDTD(re, Q,
|
|
12266
|
+
return P.startDTD(re, Q, H), P.endDTD(), G.index + G[0].length;
|
|
12266
12267
|
}
|
|
12267
12268
|
}
|
|
12268
12269
|
return -1;
|
|
@@ -12337,14 +12338,14 @@ function T4() {
|
|
|
12337
12338
|
this.options = T || { locator: {} };
|
|
12338
12339
|
}
|
|
12339
12340
|
c.prototype.parseFromString = function(T, O) {
|
|
12340
|
-
var M = this.options, I = new o(),
|
|
12341
|
-
X &&
|
|
12341
|
+
var M = this.options, I = new o(), j = M.domBuilder || new g(), q = M.errorHandler, X = M.locator, R = M.xmlns || {}, W = /\/x?html?$/.test(O), S = W ? t.HTML_ENTITIES : t.XML_ENTITIES;
|
|
12342
|
+
X && j.setDocumentLocator(X), I.errorHandler = m(q, j, X), I.domBuilder = M.domBuilder || j, W && (R[""] = r.HTML), R.xml = R.xml || r.XML;
|
|
12342
12343
|
var A = M.normalizeLineEndings || u;
|
|
12343
12344
|
return T && typeof T == "string" ? I.parse(
|
|
12344
12345
|
A(T),
|
|
12345
12346
|
R,
|
|
12346
12347
|
S
|
|
12347
|
-
) : I.errorHandler.error("invalid doc source"),
|
|
12348
|
+
) : I.errorHandler.error("invalid doc source"), j.doc;
|
|
12348
12349
|
};
|
|
12349
12350
|
function m(T, O, M) {
|
|
12350
12351
|
if (!T) {
|
|
@@ -12352,11 +12353,11 @@ function T4() {
|
|
|
12352
12353
|
return O;
|
|
12353
12354
|
T = O;
|
|
12354
12355
|
}
|
|
12355
|
-
var I = {},
|
|
12356
|
+
var I = {}, j = T instanceof Function;
|
|
12356
12357
|
M = M || {};
|
|
12357
12358
|
function q(X) {
|
|
12358
12359
|
var R = T[X];
|
|
12359
|
-
!R &&
|
|
12360
|
+
!R && j && (R = T.length == 2 ? function(W) {
|
|
12360
12361
|
T(X, W);
|
|
12361
12362
|
} : T), I[X] = R && function(W) {
|
|
12362
12363
|
R("[xmldom " + X + "] " + W + b(M));
|
|
@@ -12376,10 +12377,10 @@ function T4() {
|
|
|
12376
12377
|
this.doc = new n().createDocument(null, null, null), this.locator && (this.doc.documentURI = this.locator.systemId);
|
|
12377
12378
|
},
|
|
12378
12379
|
startElement: function(T, O, M, I) {
|
|
12379
|
-
var
|
|
12380
|
+
var j = this.doc, q = j.createElementNS(T, M || O), X = I.length;
|
|
12380
12381
|
y(this, q), this.currentElement = q, this.locator && E(this.locator, q);
|
|
12381
12382
|
for (var R = 0; R < X; R++) {
|
|
12382
|
-
var T = I.getURI(R), W = I.getValue(R), M = I.getQName(R), S =
|
|
12383
|
+
var T = I.getURI(R), W = I.getValue(R), M = I.getQName(R), S = j.createAttributeNS(T, M);
|
|
12383
12384
|
this.locator && E(I.getLocator(R), S), S.value = S.nodeValue = W, q.setAttributeNode(S);
|
|
12384
12385
|
}
|
|
12385
12386
|
},
|
|
@@ -12429,8 +12430,8 @@ function T4() {
|
|
|
12429
12430
|
startDTD: function(T, O, M) {
|
|
12430
12431
|
var I = this.doc.implementation;
|
|
12431
12432
|
if (I && I.createDocumentType) {
|
|
12432
|
-
var
|
|
12433
|
-
this.locator && E(this.locator,
|
|
12433
|
+
var j = I.createDocumentType(T, O, M);
|
|
12434
|
+
this.locator && E(this.locator, j), y(this, j), this.doc.doctype = j;
|
|
12434
12435
|
}
|
|
12435
12436
|
},
|
|
12436
12437
|
/**
|
|
@@ -12636,9 +12637,9 @@ const Qr = ({
|
|
|
12636
12637
|
typeof e.firstOffset == "bigint" ? y = J.BigInt(o) + e.firstOffset : y = o + e.firstOffset;
|
|
12637
12638
|
for (let T = 0; T < c.length; T++) {
|
|
12638
12639
|
const O = e.references[T], M = O.referencedSize, I = O.subsegmentDuration;
|
|
12639
|
-
let
|
|
12640
|
-
typeof y == "bigint" ?
|
|
12641
|
-
const q = `${y}-${
|
|
12640
|
+
let j;
|
|
12641
|
+
typeof y == "bigint" ? j = y + J.BigInt(M) - J.BigInt(1) : j = y + M - 1;
|
|
12642
|
+
const q = `${y}-${j}`, R = nf({
|
|
12642
12643
|
baseUrl: t,
|
|
12643
12644
|
timescale: u,
|
|
12644
12645
|
timeline: r,
|
|
@@ -12905,7 +12906,7 @@ const Qr = ({
|
|
|
12905
12906
|
type: o,
|
|
12906
12907
|
suggestedPresentationDelay: u,
|
|
12907
12908
|
minimumUpdatePeriod: c
|
|
12908
|
-
} = s[0].attributes, m = Pl(s.filter(q4)).map(V4), g = Pl(s.filter(H4)), E = Pl(s.filter(j4)), b = s.map((
|
|
12909
|
+
} = s[0].attributes, m = Pl(s.filter(q4)).map(V4), g = Pl(s.filter(H4)), E = Pl(s.filter(j4)), b = s.map((j) => j.attributes.captionServices).filter(Boolean), k = {
|
|
12909
12910
|
allowCache: !0,
|
|
12910
12911
|
discontinuityStarts: [],
|
|
12911
12912
|
segments: [],
|
|
@@ -12922,8 +12923,8 @@ const Qr = ({
|
|
|
12922
12923
|
};
|
|
12923
12924
|
c >= 0 && (k.minimumUpdatePeriod = c * 1e3), e && (k.locations = e), t && (k.contentSteering = t), o === "dynamic" && (k.suggestedPresentationDelay = u), r && r.length > 0 && (k.eventStream = r);
|
|
12924
12925
|
const y = k.playlists.length === 0, T = g.length ? $4(g, i, y) : null, O = E.length ? F4(E, i) : null, M = m.concat(mh(T), mh(O)), I = M.map(({
|
|
12925
|
-
timelineStarts:
|
|
12926
|
-
}) =>
|
|
12926
|
+
timelineStarts: j
|
|
12927
|
+
}) => j);
|
|
12927
12928
|
return k.timelineStarts = rf(I), z4(M, k.timelineStarts), T && (k.mediaGroups.AUDIO.audio = T), O && (k.mediaGroups.SUBTITLES.subs = O), b.length && (k.mediaGroups["CLOSED-CAPTIONS"].cc = U4(b)), n ? M4({
|
|
12928
12929
|
oldManifest: n,
|
|
12929
12930
|
newManifest: k
|
|
@@ -30824,7 +30825,7 @@ browserWorkerPolyFill(self);
|
|
|
30824
30825
|
}, r = {
|
|
30825
30826
|
getUint64: n,
|
|
30826
30827
|
MAX_UINT32: i
|
|
30827
|
-
}, a = r.MAX_UINT32, o, u, c, m, g, E, b, k, y, T, O, M, I,
|
|
30828
|
+
}, a = r.MAX_UINT32, o, u, c, m, g, E, b, k, y, T, O, M, I, j, q, X, R, W, S, A, P, K, B, z, U, ae, re, Q, H, G, ge, ne, oe, se, te, Te;
|
|
30828
30829
|
(function() {
|
|
30829
30830
|
var l;
|
|
30830
30831
|
if (B = {
|
|
@@ -30961,7 +30962,7 @@ browserWorkerPolyFill(self);
|
|
|
30961
30962
|
114,
|
|
30962
30963
|
0
|
|
30963
30964
|
// name: 'SoundHandler'
|
|
30964
|
-
]),
|
|
30965
|
+
]), H = {
|
|
30965
30966
|
video: re,
|
|
30966
30967
|
audio: Q
|
|
30967
30968
|
}, ne = new Uint8Array([
|
|
@@ -31122,7 +31123,7 @@ browserWorkerPolyFill(self);
|
|
|
31122
31123
|
}, m = function() {
|
|
31123
31124
|
return o(B.ftyp, z, U, z, ae);
|
|
31124
31125
|
}, X = function(l) {
|
|
31125
|
-
return o(B.hdlr,
|
|
31126
|
+
return o(B.hdlr, H[l]);
|
|
31126
31127
|
}, g = function(l) {
|
|
31127
31128
|
return o(B.mdat, l);
|
|
31128
31129
|
}, q = function(l) {
|
|
@@ -31160,7 +31161,7 @@ browserWorkerPolyFill(self);
|
|
|
31160
31161
|
0
|
|
31161
31162
|
]);
|
|
31162
31163
|
return l.samplerate && (d[12] = l.samplerate >>> 24 & 255, d[13] = l.samplerate >>> 16 & 255, d[14] = l.samplerate >>> 8 & 255, d[15] = l.samplerate & 255), o(B.mdhd, d);
|
|
31163
|
-
},
|
|
31164
|
+
}, j = function(l) {
|
|
31164
31165
|
return o(B.mdia, q(l), X(l.type), b(l));
|
|
31165
31166
|
}, E = function(l) {
|
|
31166
31167
|
return o(B.mfhd, new Uint8Array([
|
|
@@ -31668,7 +31669,7 @@ browserWorkerPolyFill(self);
|
|
|
31668
31669
|
V & 255
|
|
31669
31670
|
])), _ = 92, l.type === "audio" ? (h = K(l, _), o(B.traf, d, f, h)) : (v = R(l), h = K(l, v.length + _), o(B.traf, d, f, h, v));
|
|
31670
31671
|
}, M = function(l) {
|
|
31671
|
-
return l.duration = l.duration || 4294967295, o(B.trak, I(l),
|
|
31672
|
+
return l.duration = l.duration || 4294967295, o(B.trak, I(l), j(l));
|
|
31672
31673
|
}, P = function(l) {
|
|
31673
31674
|
var d = new Uint8Array([
|
|
31674
31675
|
0,
|
|
@@ -34576,13 +34577,13 @@ const i7 = (s, e, t) => {
|
|
|
34576
34577
|
isEndOfTimeline: O,
|
|
34577
34578
|
segment: M,
|
|
34578
34579
|
triggerSegmentEventFn: I
|
|
34579
|
-
} = s,
|
|
34580
|
+
} = s, j = {
|
|
34580
34581
|
buffer: []
|
|
34581
34582
|
};
|
|
34582
34583
|
let q = O;
|
|
34583
34584
|
const X = (W) => {
|
|
34584
|
-
e.currentTransmux === s && (W.data.action === "data" && i7(W,
|
|
34585
|
-
transmuxedData:
|
|
34585
|
+
e.currentTransmux === s && (W.data.action === "data" && i7(W, j, a), W.data.action === "trackinfo" && o(W.data.trackInfo), W.data.action === "gopInfo" && n7(W, j), W.data.action === "audioTimingInfo" && u(W.data.audioTimingInfo), W.data.action === "videoTimingInfo" && c(W.data.videoTimingInfo), W.data.action === "videoSegmentTimingInfo" && m(W.data.videoSegmentTimingInfo), W.data.action === "audioSegmentTimingInfo" && g(W.data.audioSegmentTimingInfo), W.data.action === "id3Frame" && E([W.data.id3Frame], W.data.id3Frame.dispatchType), W.data.action === "caption" && b(W.data.caption), W.data.action === "endedtimeline" && (q = !1, y()), W.data.action === "log" && T(W.data.log), W.data.type === "transmuxed" && (q || (e.onmessage = null, s7({
|
|
34586
|
+
transmuxedData: j,
|
|
34586
34587
|
callback: k
|
|
34587
34588
|
}), om(e))));
|
|
34588
34589
|
}, R = () => {
|
|
@@ -34858,7 +34859,7 @@ const Fn = function(s) {
|
|
|
34858
34859
|
let T = i.bind(null, s, "audio", "start");
|
|
34859
34860
|
const O = i.bind(null, s, "audio", "end");
|
|
34860
34861
|
let M = i.bind(null, s, "video", "start");
|
|
34861
|
-
const I = i.bind(null, s, "video", "end"),
|
|
34862
|
+
const I = i.bind(null, s, "video", "end"), j = () => um({
|
|
34862
34863
|
bytes: e,
|
|
34863
34864
|
transmuxer: s.transmuxer,
|
|
34864
34865
|
audioAppendStart: s.audioAppendStart,
|
|
@@ -34942,7 +34943,7 @@ const Fn = function(s) {
|
|
|
34942
34943
|
hasAudio: X.hasAudio,
|
|
34943
34944
|
hasVideo: X.hasVideo,
|
|
34944
34945
|
isMuxed: y
|
|
34945
|
-
}), t = null),
|
|
34946
|
+
}), t = null), j();
|
|
34946
34947
|
}
|
|
34947
34948
|
});
|
|
34948
34949
|
}, hm = ({
|
|
@@ -34980,11 +34981,11 @@ const Fn = function(s) {
|
|
|
34980
34981
|
hasAudio: !!y.audio
|
|
34981
34982
|
};
|
|
34982
34983
|
y.audio && y.audio.codec && y.audio.codec !== "enca" && (O.audioCodec = y.audio.codec), y.video && y.video.codec && y.video.codec !== "encv" && (O.videoCodec = y.video.codec), y.video && y.audio && (O.isMuxed = !0), t(s, O);
|
|
34983
|
-
const M = (I,
|
|
34984
|
+
const M = (I, j) => {
|
|
34984
34985
|
m(s, {
|
|
34985
34986
|
data: k,
|
|
34986
34987
|
type: O.hasAudio && !O.isMuxed ? "audio" : "video"
|
|
34987
|
-
}),
|
|
34988
|
+
}), j && j.length && a(s, j), I && I.length && o(s, I), g(null, s, {});
|
|
34988
34989
|
};
|
|
34989
34990
|
Fn({
|
|
34990
34991
|
action: "probeMp4StartTime",
|
|
@@ -34993,13 +34994,13 @@ const Fn = function(s) {
|
|
|
34993
34994
|
transmuxer: s.transmuxer,
|
|
34994
34995
|
callback: ({
|
|
34995
34996
|
data: I,
|
|
34996
|
-
startTime:
|
|
34997
|
+
startTime: j
|
|
34997
34998
|
}) => {
|
|
34998
|
-
e = I.buffer, s.bytes = k = I, O.hasAudio && !O.isMuxed && i(s, "audio", "start",
|
|
34999
|
+
e = I.buffer, s.bytes = k = I, O.hasAudio && !O.isMuxed && i(s, "audio", "start", j), O.hasVideo && i(s, "video", "start", j), Fn({
|
|
34999
35000
|
action: "probeEmsgID3",
|
|
35000
35001
|
data: k,
|
|
35001
35002
|
transmuxer: s.transmuxer,
|
|
35002
|
-
offset:
|
|
35003
|
+
offset: j,
|
|
35003
35004
|
callback: ({
|
|
35004
35005
|
emsgData: q,
|
|
35005
35006
|
id3Frames: X
|
|
@@ -35215,9 +35216,9 @@ const Fn = function(s) {
|
|
|
35215
35216
|
O.map.bytes = I, b({
|
|
35216
35217
|
type: "segmentdecryptioncomplete",
|
|
35217
35218
|
segment: O
|
|
35218
|
-
}), dm(O, (
|
|
35219
|
-
if (
|
|
35220
|
-
return Du(s), g(
|
|
35219
|
+
}), dm(O, (j) => {
|
|
35220
|
+
if (j)
|
|
35221
|
+
return Du(s), g(j, O);
|
|
35221
35222
|
M();
|
|
35222
35223
|
});
|
|
35223
35224
|
});
|
|
@@ -35333,7 +35334,7 @@ const Fn = function(s) {
|
|
|
35333
35334
|
const P = s(S, A);
|
|
35334
35335
|
M.push(P);
|
|
35335
35336
|
}
|
|
35336
|
-
const
|
|
35337
|
+
const j = bt(e, {
|
|
35337
35338
|
uri: i.part && i.part.resolvedUri || i.resolvedUri,
|
|
35338
35339
|
responseType: "arraybuffer",
|
|
35339
35340
|
headers: wu(i),
|
|
@@ -35341,14 +35342,14 @@ const Fn = function(s) {
|
|
|
35341
35342
|
}), q = f7({
|
|
35342
35343
|
segment: i,
|
|
35343
35344
|
finishProcessingFn: I,
|
|
35344
|
-
responseType:
|
|
35345
|
+
responseType: j.responseType,
|
|
35345
35346
|
triggerSegmentEventFn: O
|
|
35346
35347
|
});
|
|
35347
35348
|
O({
|
|
35348
35349
|
type: "segmentloadstart",
|
|
35349
35350
|
segment: i
|
|
35350
35351
|
});
|
|
35351
|
-
const X = s(
|
|
35352
|
+
const X = s(j, q);
|
|
35352
35353
|
X.addEventListener("progress", y7({
|
|
35353
35354
|
segment: i,
|
|
35354
35355
|
progressFn: r,
|
|
@@ -35447,17 +35448,17 @@ let pm = function(s) {
|
|
|
35447
35448
|
const T = y.filter((R) => R.width === i && R.height === n);
|
|
35448
35449
|
b = T[T.length - 1];
|
|
35449
35450
|
const O = T.filter((R) => R.bandwidth === b.bandwidth)[0];
|
|
35450
|
-
let M, I,
|
|
35451
|
-
O || (M = y.filter((R) => r === "cover" ? R.width > i && R.height > n : R.width > i || R.height > n), I = M.filter((R) => R.width === M[0].width && R.height === M[0].height), b = I[I.length - 1],
|
|
35451
|
+
let M, I, j;
|
|
35452
|
+
O || (M = y.filter((R) => r === "cover" ? R.width > i && R.height > n : R.width > i || R.height > n), I = M.filter((R) => R.width === M[0].width && R.height === M[0].height), b = I[I.length - 1], j = I.filter((R) => R.bandwidth === b.bandwidth)[0]);
|
|
35452
35453
|
let q;
|
|
35453
35454
|
if (o.leastPixelDiffSelector) {
|
|
35454
35455
|
const R = y.map((W) => (W.pixelDiff = Math.abs(W.width - i) + Math.abs(W.height - n), W));
|
|
35455
35456
|
Vn(R, (W, S) => W.pixelDiff === S.pixelDiff ? S.bandwidth - W.bandwidth : W.pixelDiff - S.pixelDiff), q = R[0];
|
|
35456
35457
|
}
|
|
35457
|
-
const X = q ||
|
|
35458
|
+
const X = q || j || O || k || g[0] || m[0];
|
|
35458
35459
|
if (X && X.playlist) {
|
|
35459
35460
|
let R = "sortedPlaylistReps";
|
|
35460
|
-
return q ? R = "leastPixelDiffRep" :
|
|
35461
|
+
return q ? R = "leastPixelDiffRep" : j ? R = "resolutionPlusOneRep" : O ? R = "resolutionBestRep" : k ? R = "bandwidthBestRep" : g[0] && (R = "enabledPlaylistReps"), Ua(`choosing ${s0(X)} using ${R} with options`, u), X.playlist;
|
|
35461
35462
|
}
|
|
35462
35463
|
return Ua("could not choose a playlist with options", u), null;
|
|
35463
35464
|
};
|
|
@@ -38139,14 +38140,14 @@ class _m {
|
|
|
38139
38140
|
u.syncInfo = k;
|
|
38140
38141
|
let y = a;
|
|
38141
38142
|
const T = (u.parts || []).map((O, M) => {
|
|
38142
|
-
const I = y,
|
|
38143
|
+
const I = y, j = y + O.duration, q = !!(m && m.partsSyncInfo && m.partsSyncInfo[M] && m.partsSyncInfo[M].isAppended), X = new h0({
|
|
38143
38144
|
start: I,
|
|
38144
|
-
end:
|
|
38145
|
+
end: j,
|
|
38145
38146
|
appended: q,
|
|
38146
38147
|
segmentIndex: c,
|
|
38147
38148
|
partIndex: M
|
|
38148
38149
|
});
|
|
38149
|
-
return y =
|
|
38150
|
+
return y = j, r += `Media Sequence: ${o}.${M} | Range: ${I} --> ${j} | Appended: ${q}
|
|
38150
38151
|
`, O.syncInfo = X, X;
|
|
38151
38152
|
});
|
|
38152
38153
|
n.set(o, new J7(k, T)), r += `${mm(u.resolvedUri)} | Media Sequence: ${o} | Range: ${g} --> ${E} | Appended: ${b}
|
|
@@ -38648,13 +38649,13 @@ const sx = nm(rm(function() {
|
|
|
38648
38649
|
}, T.off = function(M, I) {
|
|
38649
38650
|
if (!this.listeners[M])
|
|
38650
38651
|
return !1;
|
|
38651
|
-
var
|
|
38652
|
-
return this.listeners[M] = this.listeners[M].slice(0), this.listeners[M].splice(
|
|
38652
|
+
var j = this.listeners[M].indexOf(I);
|
|
38653
|
+
return this.listeners[M] = this.listeners[M].slice(0), this.listeners[M].splice(j, 1), j > -1;
|
|
38653
38654
|
}, T.trigger = function(M) {
|
|
38654
38655
|
var I = this.listeners[M];
|
|
38655
38656
|
if (I)
|
|
38656
38657
|
if (arguments.length === 2)
|
|
38657
|
-
for (var
|
|
38658
|
+
for (var j = I.length, q = 0; q < j; ++q)
|
|
38658
38659
|
I[q].call(this, arguments[1]);
|
|
38659
38660
|
else
|
|
38660
38661
|
for (var X = Array.prototype.slice.call(arguments, 1), R = I.length, W = 0; W < R; ++W)
|
|
@@ -38674,16 +38675,16 @@ const sx = nm(rm(function() {
|
|
|
38674
38675
|
/*! @name aes-decrypter @version 4.0.2 @license Apache-2.0 */
|
|
38675
38676
|
const t = function() {
|
|
38676
38677
|
const y = [[[], [], [], [], []], [[], [], [], [], []]], T = y[0], O = y[1], M = T[4], I = O[4];
|
|
38677
|
-
let
|
|
38678
|
+
let j, q, X;
|
|
38678
38679
|
const R = [], W = [];
|
|
38679
38680
|
let S, A, P, K, B, z;
|
|
38680
|
-
for (
|
|
38681
|
-
W[(R[
|
|
38681
|
+
for (j = 0; j < 256; j++)
|
|
38682
|
+
W[(R[j] = j << 1 ^ (j >> 7) * 283) ^ j] = j;
|
|
38682
38683
|
for (q = X = 0; !M[q]; q ^= S || 1, X = W[X] || 1)
|
|
38683
|
-
for (K = X ^ X << 1 ^ X << 2 ^ X << 3 ^ X << 4, K = K >> 8 ^ K & 255 ^ 99, M[q] = K, I[K] = q, P = R[A = R[S = R[q]]], z = P * 16843009 ^ A * 65537 ^ S * 257 ^ q * 16843008, B = R[K] * 257 ^ K * 16843008,
|
|
38684
|
-
T[
|
|
38685
|
-
for (
|
|
38686
|
-
T[
|
|
38684
|
+
for (K = X ^ X << 1 ^ X << 2 ^ X << 3 ^ X << 4, K = K >> 8 ^ K & 255 ^ 99, M[q] = K, I[K] = q, P = R[A = R[S = R[q]]], z = P * 16843009 ^ A * 65537 ^ S * 257 ^ q * 16843008, B = R[K] * 257 ^ K * 16843008, j = 0; j < 4; j++)
|
|
38685
|
+
T[j][q] = B = B << 24 ^ B >>> 8, O[j][K] = z = z << 24 ^ z >>> 8;
|
|
38686
|
+
for (j = 0; j < 5; j++)
|
|
38687
|
+
T[j] = T[j].slice(0), O[j] = O[j].slice(0);
|
|
38687
38688
|
return y;
|
|
38688
38689
|
};
|
|
38689
38690
|
let i = null;
|
|
@@ -38691,15 +38692,15 @@ const sx = nm(rm(function() {
|
|
|
38691
38692
|
constructor(T) {
|
|
38692
38693
|
i || (i = t()), this._tables = [[i[0][0].slice(), i[0][1].slice(), i[0][2].slice(), i[0][3].slice(), i[0][4].slice()], [i[1][0].slice(), i[1][1].slice(), i[1][2].slice(), i[1][3].slice(), i[1][4].slice()]];
|
|
38693
38694
|
let O, M, I;
|
|
38694
|
-
const
|
|
38695
|
+
const j = this._tables[0][4], q = this._tables[1], X = T.length;
|
|
38695
38696
|
let R = 1;
|
|
38696
38697
|
if (X !== 4 && X !== 6 && X !== 8)
|
|
38697
38698
|
throw new Error("Invalid aes key size");
|
|
38698
38699
|
const W = T.slice(0), S = [];
|
|
38699
38700
|
for (this._key = [W, S], O = X; O < 4 * X + 28; O++)
|
|
38700
|
-
I = W[O - 1], (O % X === 0 || X === 8 && O % X === 4) && (I =
|
|
38701
|
+
I = W[O - 1], (O % X === 0 || X === 8 && O % X === 4) && (I = j[I >>> 24] << 24 ^ j[I >> 16 & 255] << 16 ^ j[I >> 8 & 255] << 8 ^ j[I & 255], O % X === 0 && (I = I << 8 ^ I >>> 24 ^ R << 24, R = R << 1 ^ (R >> 7) * 283)), W[O] = W[O - X] ^ I;
|
|
38701
38702
|
for (M = 0; O; M++, O--)
|
|
38702
|
-
I = W[M & 3 ? O : O - 4], O <= 4 || M < 4 ? S[M] = I : S[M] = q[0][
|
|
38703
|
+
I = W[M & 3 ? O : O - 4], O <= 4 || M < 4 ? S[M] = I : S[M] = q[0][j[I >>> 24]] ^ q[1][j[I >> 16 & 255]] ^ q[2][j[I >> 8 & 255]] ^ q[3][j[I & 255]];
|
|
38703
38704
|
}
|
|
38704
38705
|
/**
|
|
38705
38706
|
* Decrypt 16 bytes, specified as four 32-bit words.
|
|
@@ -38714,16 +38715,16 @@ const sx = nm(rm(function() {
|
|
|
38714
38715
|
* writing results
|
|
38715
38716
|
* @return {Array} The plaintext.
|
|
38716
38717
|
*/
|
|
38717
|
-
decrypt(T, O, M, I,
|
|
38718
|
+
decrypt(T, O, M, I, j, q) {
|
|
38718
38719
|
const X = this._key[1];
|
|
38719
38720
|
let R = T ^ X[0], W = I ^ X[1], S = M ^ X[2], A = O ^ X[3], P, K, B;
|
|
38720
38721
|
const z = X.length / 4 - 2;
|
|
38721
38722
|
let U, ae = 4;
|
|
38722
|
-
const re = this._tables[1], Q = re[0],
|
|
38723
|
+
const re = this._tables[1], Q = re[0], H = re[1], G = re[2], ge = re[3], ne = re[4];
|
|
38723
38724
|
for (U = 0; U < z; U++)
|
|
38724
|
-
P = Q[R >>> 24] ^
|
|
38725
|
+
P = Q[R >>> 24] ^ H[W >> 16 & 255] ^ G[S >> 8 & 255] ^ ge[A & 255] ^ X[ae], K = Q[W >>> 24] ^ H[S >> 16 & 255] ^ G[A >> 8 & 255] ^ ge[R & 255] ^ X[ae + 1], B = Q[S >>> 24] ^ H[A >> 16 & 255] ^ G[R >> 8 & 255] ^ ge[W & 255] ^ X[ae + 2], A = Q[A >>> 24] ^ H[R >> 16 & 255] ^ G[W >> 8 & 255] ^ ge[S & 255] ^ X[ae + 3], ae += 4, R = P, W = K, S = B;
|
|
38725
38726
|
for (U = 0; U < 4; U++)
|
|
38726
|
-
|
|
38727
|
+
j[(3 & -U) + q] = ne[R >>> 24] << 24 ^ ne[W >> 16 & 255] << 16 ^ ne[S >> 8 & 255] << 8 ^ ne[A & 255] ^ X[ae++], P = R, R = W, W = S, S = A, A = P;
|
|
38727
38728
|
}
|
|
38728
38729
|
}
|
|
38729
38730
|
class r extends s {
|
|
@@ -38750,18 +38751,18 @@ const sx = nm(rm(function() {
|
|
|
38750
38751
|
const a = function(y) {
|
|
38751
38752
|
return y << 24 | (y & 65280) << 8 | (y & 16711680) >> 8 | y >>> 24;
|
|
38752
38753
|
}, o = function(y, T, O) {
|
|
38753
|
-
const M = new Int32Array(y.buffer, y.byteOffset, y.byteLength >> 2), I = new n(Array.prototype.slice.call(T)),
|
|
38754
|
+
const M = new Int32Array(y.buffer, y.byteOffset, y.byteLength >> 2), I = new n(Array.prototype.slice.call(T)), j = new Uint8Array(y.byteLength), q = new Int32Array(j.buffer);
|
|
38754
38755
|
let X, R, W, S, A, P, K, B, z;
|
|
38755
38756
|
for (X = O[0], R = O[1], W = O[2], S = O[3], z = 0; z < M.length; z += 4)
|
|
38756
38757
|
A = a(M[z]), P = a(M[z + 1]), K = a(M[z + 2]), B = a(M[z + 3]), I.decrypt(A, P, K, B, q, z), q[z] = a(q[z] ^ X), q[z + 1] = a(q[z + 1] ^ R), q[z + 2] = a(q[z + 2] ^ W), q[z + 3] = a(q[z + 3] ^ S), X = A, R = P, W = K, S = B;
|
|
38757
|
-
return
|
|
38758
|
+
return j;
|
|
38758
38759
|
};
|
|
38759
38760
|
class u {
|
|
38760
38761
|
constructor(T, O, M, I) {
|
|
38761
|
-
const
|
|
38762
|
+
const j = u.STEP, q = new Int32Array(T.buffer), X = new Uint8Array(T.byteLength);
|
|
38762
38763
|
let R = 0;
|
|
38763
|
-
for (this.asyncStream_ = new r(), this.asyncStream_.push(this.decryptChunk_(q.subarray(R, R +
|
|
38764
|
-
M = new Uint32Array([a(q[R - 4]), a(q[R - 3]), a(q[R - 2]), a(q[R - 1])]), this.asyncStream_.push(this.decryptChunk_(q.subarray(R, R +
|
|
38764
|
+
for (this.asyncStream_ = new r(), this.asyncStream_.push(this.decryptChunk_(q.subarray(R, R + j), O, M, X)), R = j; R < q.length; R += j)
|
|
38765
|
+
M = new Uint32Array([a(q[R - 4]), a(q[R - 3]), a(q[R - 2]), a(q[R - 1])]), this.asyncStream_.push(this.decryptChunk_(q.subarray(R, R + j), O, M, X));
|
|
38765
38766
|
this.asyncStream_.push(function() {
|
|
38766
38767
|
I(null, e(X));
|
|
38767
38768
|
});
|
|
@@ -38779,8 +38780,8 @@ const sx = nm(rm(function() {
|
|
|
38779
38780
|
*/
|
|
38780
38781
|
decryptChunk_(T, O, M, I) {
|
|
38781
38782
|
return function() {
|
|
38782
|
-
const
|
|
38783
|
-
I.set(
|
|
38783
|
+
const j = o(T, O, M);
|
|
38784
|
+
I.set(j, T.byteOffset);
|
|
38784
38785
|
};
|
|
38785
38786
|
}
|
|
38786
38787
|
}
|
|
@@ -38806,7 +38807,7 @@ const sx = nm(rm(function() {
|
|
|
38806
38807
|
};
|
|
38807
38808
|
self.onmessage = function(y) {
|
|
38808
38809
|
const T = y.data, O = new Uint8Array(T.encrypted.bytes, T.encrypted.byteOffset, T.encrypted.byteLength), M = new Uint32Array(T.key.bytes, T.key.byteOffset, T.key.byteLength / 4), I = new Uint32Array(T.iv.bytes, T.iv.byteOffset, T.iv.byteLength / 4);
|
|
38809
|
-
new u(O, M, I, function(
|
|
38810
|
+
new u(O, M, I, function(j, q) {
|
|
38810
38811
|
self.postMessage(k({
|
|
38811
38812
|
source: T.source,
|
|
38812
38813
|
decrypted: q
|
|
@@ -39707,9 +39708,9 @@ class Tx extends me.EventTarget {
|
|
|
39707
39708
|
}), e), this.subtitleSegmentLoader_ = new K7(bt(O, {
|
|
39708
39709
|
loaderType: "vtt",
|
|
39709
39710
|
featuresNativeTextTracks: this.tech_.featuresNativeTextTracks,
|
|
39710
|
-
loadVttJs: () => new Promise((
|
|
39711
|
+
loadVttJs: () => new Promise((j, q) => {
|
|
39711
39712
|
function X() {
|
|
39712
|
-
n.off("vttjserror", R),
|
|
39713
|
+
n.off("vttjserror", R), j();
|
|
39713
39714
|
}
|
|
39714
39715
|
function R() {
|
|
39715
39716
|
n.off("vttjsloaded", X), q();
|
|
@@ -39718,16 +39719,16 @@ class Tx extends me.EventTarget {
|
|
|
39718
39719
|
})
|
|
39719
39720
|
}), e);
|
|
39720
39721
|
const M = () => this.mainSegmentLoader_.bandwidth;
|
|
39721
|
-
this.contentSteeringController_ = new mx(this.vhs_.xhr, M), this.setupSegmentLoaderListeners_(), this.bufferBasedABR && (this.mainPlaylistLoader_.one("loadedplaylist", () => this.startABRTimer_()), this.tech_.on("pause", () => this.stopABRTimer_()), this.tech_.on("play", () => this.startABRTimer_())), yx.forEach((
|
|
39722
|
-
this[
|
|
39722
|
+
this.contentSteeringController_ = new mx(this.vhs_.xhr, M), this.setupSegmentLoaderListeners_(), this.bufferBasedABR && (this.mainPlaylistLoader_.one("loadedplaylist", () => this.startABRTimer_()), this.tech_.on("pause", () => this.stopABRTimer_()), this.tech_.on("play", () => this.startABRTimer_())), yx.forEach((j) => {
|
|
39723
|
+
this[j + "_"] = _x.bind(this, j);
|
|
39723
39724
|
}), this.logger_ = Qi("pc"), this.triggeredFmp4Usage = !1, this.tech_.preload() === "none" ? (this.loadOnPlay_ = () => {
|
|
39724
39725
|
this.loadOnPlay_ = null, this.mainPlaylistLoader_.load();
|
|
39725
39726
|
}, this.tech_.one("play", this.loadOnPlay_)) : this.mainPlaylistLoader_.load(), this.timeToLoadedData__ = -1, this.mainAppendsToLoadedData__ = -1, this.audioAppendsToLoadedData__ = -1;
|
|
39726
39727
|
const I = this.tech_.preload() === "none" ? "play" : "loadstart";
|
|
39727
39728
|
this.tech_.one(I, () => {
|
|
39728
|
-
const
|
|
39729
|
+
const j = Date.now();
|
|
39729
39730
|
this.tech_.one("loadeddata", () => {
|
|
39730
|
-
this.timeToLoadedData__ = Date.now() -
|
|
39731
|
+
this.timeToLoadedData__ = Date.now() - j, this.mainAppendsToLoadedData__ = this.mainSegmentLoader_.mediaAppends, this.audioAppendsToLoadedData__ = this.audioSegmentLoader_.mediaAppends;
|
|
39731
39732
|
});
|
|
39732
39733
|
});
|
|
39733
39734
|
}
|
|
@@ -41735,12 +41736,12 @@ const Vx = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
41735
41736
|
const i = s, n = ce(), r = ce(), a = ce(), o = t, u = ce(!1), c = () => {
|
|
41736
41737
|
u.value = !1;
|
|
41737
41738
|
}, m = (y, T = !1) => {
|
|
41738
|
-
var I,
|
|
41739
|
+
var I, j;
|
|
41739
41740
|
const O = i.instance;
|
|
41740
41741
|
if (!O) return;
|
|
41741
41742
|
const M = (I = y.activeCues) == null ? void 0 : I[0];
|
|
41742
41743
|
if (n.value && clearInterval(n.value), M) {
|
|
41743
|
-
M.text = ((
|
|
41744
|
+
M.text = ((j = M == null ? void 0 : M.text) == null ? void 0 : j.replace(/\[(SPEAKER_)\d+]: /g, "")) || "";
|
|
41744
41745
|
const q = M.text.split(`
|
|
41745
41746
|
`), X = q.length, R = M.endTime - M.startTime, W = parseFloat((R / X).toFixed(3));
|
|
41746
41747
|
let S = 0;
|
|
@@ -41816,16 +41817,16 @@ const Vx = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
41816
41817
|
default: !1
|
|
41817
41818
|
}), E.value = !0;
|
|
41818
41819
|
class T extends me.getComponent("Button") {
|
|
41819
|
-
constructor(I,
|
|
41820
|
-
super(I,
|
|
41820
|
+
constructor(I, j) {
|
|
41821
|
+
super(I, j), this.addClass("vjs-subtitle-toggle-button", "vjs-subtitle-hidden"), this.controlText("Toggle Subtitles");
|
|
41821
41822
|
}
|
|
41822
41823
|
buildCSSClass() {
|
|
41823
41824
|
return `vjs-subtitle-toggle-button ${super.buildCSSClass()}`;
|
|
41824
41825
|
}
|
|
41825
41826
|
handleClick() {
|
|
41826
41827
|
const I = this.player().textTracks();
|
|
41827
|
-
for (let
|
|
41828
|
-
I[
|
|
41828
|
+
for (let j = 0; j < I.length; j++)
|
|
41829
|
+
I[j].kind === "subtitles" && (m(I[j], !0), I[j].mode = I[j].mode === "showing" ? "hidden" : "showing", I[j].mode === "showing" ? (this.removeClass("vjs-subtitle-hidden"), this.addClass("vjs-subtitle-showing")) : (this.removeClass("vjs-subtitle-showing"), this.addClass("vjs-subtitle-hidden")));
|
|
41829
41830
|
}
|
|
41830
41831
|
}
|
|
41831
41832
|
i.vtt && (me.registerComponent("SubtitleToggleButton", T), y.controlBar.children_.some((M) => M.name_ === "SubtitleToggleButton") || y.controlBar.addChild("SubtitleToggleButton", {}, 8)), (y == null ? void 0 : y.textTracks().tracks_).forEach((M) => {
|
|
@@ -41835,7 +41836,7 @@ const Vx = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
41835
41836
|
}), y.on("play", () => {
|
|
41836
41837
|
b.value = "playing";
|
|
41837
41838
|
}), y.on("timeupdate", () => {
|
|
41838
|
-
const M = y.currentTime() || 0, I = i.captions.findIndex((
|
|
41839
|
+
const M = y.currentTime() || 0, I = i.captions.findIndex((j) => ru(j.start_time) > M);
|
|
41839
41840
|
o("setTrackIdx", I);
|
|
41840
41841
|
}), y.one("loadedmetadata", () => {
|
|
41841
41842
|
o("getDuration", y.duration());
|
|
@@ -41911,24 +41912,24 @@ const Vx = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
41911
41912
|
}, g = ce([]), E = (Q) => __[Q % 3], b = ce(0), k = (Q) => {
|
|
41912
41913
|
b.value = Q;
|
|
41913
41914
|
}, y = ce(), T = ce(""), O = ce([0, 0]);
|
|
41914
|
-
function M(Q,
|
|
41915
|
-
const G =
|
|
41916
|
-
return O.value[1] = `${
|
|
41915
|
+
function M(Q, H) {
|
|
41916
|
+
const G = H.getBoundingClientRect(), ne = (Q.clientX - G.left) / G.width;
|
|
41917
|
+
return O.value[1] = `${H.offsetTop + H.parentElement.offsetTop}px`, O.value[0] = `${ne * 100}%`, ne * b.value;
|
|
41917
41918
|
}
|
|
41918
41919
|
const I = (Q) => {
|
|
41919
|
-
let
|
|
41920
|
-
for (;
|
|
41921
|
-
|
|
41922
|
-
return
|
|
41923
|
-
},
|
|
41924
|
-
let
|
|
41925
|
-
|
|
41920
|
+
let H = Q;
|
|
41921
|
+
for (; H && H.className !== "subject-progress"; )
|
|
41922
|
+
H = H.parentElement;
|
|
41923
|
+
return H;
|
|
41924
|
+
}, j = (Q) => {
|
|
41925
|
+
let H = I(Q.target);
|
|
41926
|
+
H && (T.value = g3(M(Q, H)));
|
|
41926
41927
|
}, q = () => {
|
|
41927
41928
|
T.value = "";
|
|
41928
41929
|
}, X = (Q) => {
|
|
41929
41930
|
var G;
|
|
41930
|
-
let
|
|
41931
|
-
|
|
41931
|
+
let H = I(Q.target);
|
|
41932
|
+
H && ((G = y.value) == null || G.changeTime(M(Q, H)));
|
|
41932
41933
|
}, R = async (Q) => {
|
|
41933
41934
|
const G = await (await fetch(Q)).json();
|
|
41934
41935
|
g.value = (G || []).map((ge) => ({
|
|
@@ -41966,7 +41967,7 @@ const Vx = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
41966
41967
|
K.value && (z = new ResizeObserver(re), z.observe(K.value), ae());
|
|
41967
41968
|
}), Jn(() => {
|
|
41968
41969
|
cancelAnimationFrame(U), z == null || z.disconnect();
|
|
41969
|
-
}), (Q,
|
|
41970
|
+
}), (Q, H) => {
|
|
41970
41971
|
var G, ge, ne, oe;
|
|
41971
41972
|
return x(), N("div", zx, [
|
|
41972
41973
|
C("div", {
|
|
@@ -42013,7 +42014,7 @@ const Vx = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
42013
42014
|
C("div", Xx, [
|
|
42014
42015
|
$(p(Co), {
|
|
42015
42016
|
modelValue: W.value,
|
|
42016
|
-
"onUpdate:modelValue":
|
|
42017
|
+
"onUpdate:modelValue": H[0] || (H[0] = (se) => W.value = se),
|
|
42017
42018
|
"max-show": 9999
|
|
42018
42019
|
}, {
|
|
42019
42020
|
default: D(() => [
|
|
@@ -42068,7 +42069,7 @@ const Vx = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
42068
42069
|
C("div", {
|
|
42069
42070
|
class: "subject-progress-item",
|
|
42070
42071
|
onClick: X,
|
|
42071
|
-
onMousemove:
|
|
42072
|
+
onMousemove: j,
|
|
42072
42073
|
onMouseleave: q,
|
|
42073
42074
|
"data-start": te.startTime,
|
|
42074
42075
|
"data-end": te.endTime,
|
|
@@ -42253,7 +42254,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
42253
42254
|
n.value && (M.value = Xe.ALL, I());
|
|
42254
42255
|
}
|
|
42255
42256
|
);
|
|
42256
|
-
const
|
|
42257
|
+
const j = (P) => {
|
|
42257
42258
|
const K = Ae(P).format("YYYY-MM-DD");
|
|
42258
42259
|
return [K.slice(0, 7), K.slice(8, 10)];
|
|
42259
42260
|
}, q = De(() => {
|
|
@@ -42271,10 +42272,10 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
42271
42272
|
});
|
|
42272
42273
|
const R = De(() => {
|
|
42273
42274
|
const P = q.value.reduce((U, ae) => {
|
|
42274
|
-
var
|
|
42275
|
-
const [re, Q] =
|
|
42275
|
+
var H, G;
|
|
42276
|
+
const [re, Q] = j(ae);
|
|
42276
42277
|
return U[re] = {
|
|
42277
|
-
count: (((
|
|
42278
|
+
count: (((H = U[re]) == null ? void 0 : H.count) || 0) + 1,
|
|
42278
42279
|
days: [...((G = U[re]) == null ? void 0 : G.days) || [], Q]
|
|
42279
42280
|
}, U;
|
|
42280
42281
|
}, {}), K = Object.keys(P).map((U) => ({
|
|
@@ -42457,7 +42458,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
42457
42458
|
},
|
|
42458
42459
|
emits: ["edit"],
|
|
42459
42460
|
setup(s, { emit: e }) {
|
|
42460
|
-
const t = er(null), i = ce(!1), n = ce(1), r = ce(50), a = ce(null), o = ce([]), u = ce([]), c = De(() => a.value === null || u.value.length < a.value), m = ce(!1), { t: g, locale: E, getPointStr: b, getConfig: k, getWeekFromDate: y } = tn(), T = De(() => E.value === Mu.EN), O = s, M = ce(!1), { isPhone: I } = Ri(),
|
|
42461
|
+
const t = er(null), i = ce(!1), n = ce(1), r = ce(50), a = ce(null), o = ce([]), u = ce([]), c = De(() => a.value === null || u.value.length < a.value), m = ce(!1), { t: g, locale: E, getPointStr: b, getConfig: k, getWeekFromDate: y } = tn(), T = De(() => E.value === Mu.EN), O = s, M = ce(!1), { isPhone: I } = Ri(), j = ce([]), q = e, X = ce(!1), R = ce(!1), W = ce(), S = ce(0), A = () => {
|
|
42461
42462
|
var de;
|
|
42462
42463
|
S.value = ((de = W.value) == null ? void 0 : de.clientHeight) || 0;
|
|
42463
42464
|
}, P = async () => {
|
|
@@ -42547,7 +42548,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
42547
42548
|
Ce.value.getContainerEl().addEventListener("scroll", U);
|
|
42548
42549
|
}, re = ce({}), Q = (de, he) => {
|
|
42549
42550
|
de && he && (re.value[he] = de);
|
|
42550
|
-
},
|
|
42551
|
+
}, H = async (de) => {
|
|
42551
42552
|
await re.value[de].copyInfo(), t.success({
|
|
42552
42553
|
content: g("common.copySuccess")
|
|
42553
42554
|
});
|
|
@@ -42613,7 +42614,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
42613
42614
|
const de = gt.value.find((Ve) => !Ae(Ve).isBefore(Ae(/* @__PURE__ */ new Date()).format("YYYY-MM-DD")));
|
|
42614
42615
|
de ? ze.value = de : ze.value || (ze.value = Ae().format("YYYY-MM-DD")), (fe = st.value) == null || fe.pickDay(Ae(ze.value)), ze.value = Ae(ze.value).format("YYYY-MM-DD");
|
|
42615
42616
|
const he = o.value.find((Ve) => Ve.date === ze.value && !Ve.isExpired && !Ve.is_delete);
|
|
42616
|
-
he && (
|
|
42617
|
+
he && (j.value = [he.sub_id || he.id]);
|
|
42617
42618
|
}, Ct = (de, he) => {
|
|
42618
42619
|
var fe;
|
|
42619
42620
|
(!he || !((fe = de.target) != null && fe.className.includes("date-cell-text"))) && (de.stopPropagation(), de.preventDefault());
|
|
@@ -42803,8 +42804,8 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
42803
42804
|
default: D(() => [
|
|
42804
42805
|
C("div", k6, [
|
|
42805
42806
|
$(p(sa), {
|
|
42806
|
-
modelValue:
|
|
42807
|
-
"onUpdate:modelValue": he[7] || (he[7] = (fe) =>
|
|
42807
|
+
modelValue: j.value,
|
|
42808
|
+
"onUpdate:modelValue": he[7] || (he[7] = (fe) => j.value = fe),
|
|
42808
42809
|
accordion: p(I)
|
|
42809
42810
|
}, {
|
|
42810
42811
|
default: D(() => [
|
|
@@ -42959,7 +42960,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
42959
42960
|
}, 8, ["href"]))
|
|
42960
42961
|
])),
|
|
42961
42962
|
$(p(Pe), {
|
|
42962
|
-
onClick: Qt(() =>
|
|
42963
|
+
onClick: Qt(() => H(ft), ["stop"]),
|
|
42963
42964
|
class: "copy-icon"
|
|
42964
42965
|
}, {
|
|
42965
42966
|
default: D(() => [
|
|
@@ -42971,7 +42972,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
42971
42972
|
default: D(() => [
|
|
42972
42973
|
C("div", B6, [
|
|
42973
42974
|
$(Kr, {
|
|
42974
|
-
show:
|
|
42975
|
+
show: j.value.includes(Se.sub_id || Se.id),
|
|
42975
42976
|
data: Se,
|
|
42976
42977
|
ref_for: !0,
|
|
42977
42978
|
ref: (We) => Q(We, Se.id),
|
|
@@ -43143,13 +43144,13 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
43143
43144
|
}), qe.slice(1);
|
|
43144
43145
|
}), I = () => {
|
|
43145
43146
|
g.status = O.value, O.value === "cancel" ? g.is_delete = 1 : g.is_delete = 0;
|
|
43146
|
-
},
|
|
43147
|
+
}, j = ce([]), q = ce(0), X = [10, 20, 30, 40], R = async () => {
|
|
43147
43148
|
const { page: qe, size: Me, status: Ce, sponsor: Ze, order_by: nt, search: Rt, is_delete: Wt } = g;
|
|
43148
43149
|
let de = { page: qe, size: Me, sponsor: Ze, order_by: nt, search: Rt };
|
|
43149
43150
|
if (Ce !== "all" && Ce !== "" && (de.is_delete = Wt), Ce === "cancel" ? de.status = "" : de.status = Ce, !m.getTableDataRequest)
|
|
43150
43151
|
return;
|
|
43151
43152
|
const he = await m.getTableDataRequest(de);
|
|
43152
|
-
|
|
43153
|
+
j.value = (he.data || []).map((fe) => {
|
|
43153
43154
|
var Ot;
|
|
43154
43155
|
const { start_date: Ve, end_date: Se, start: ft, end: We, activity_type: Zt } = fe;
|
|
43155
43156
|
return [
|
|
@@ -43188,7 +43189,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
43188
43189
|
}
|
|
43189
43190
|
}, Q = () => {
|
|
43190
43191
|
U.value = !1, G.value = !1, P.value = !1, S.value.reason = "";
|
|
43191
|
-
},
|
|
43192
|
+
}, H = async () => {
|
|
43192
43193
|
var qe;
|
|
43193
43194
|
if (m.deleteActivityRequest && m.cancelActivityRequest)
|
|
43194
43195
|
try {
|
|
@@ -43212,7 +43213,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
43212
43213
|
return;
|
|
43213
43214
|
Ye.value.includes(Me) || (Ye.value.push(Me), m.getActivityDetailRequest(Me).then((Ze) => {
|
|
43214
43215
|
var nt;
|
|
43215
|
-
(nt =
|
|
43216
|
+
(nt = j.value) == null || nt.forEach((Rt) => {
|
|
43216
43217
|
Rt.id === Ze.id && (Rt.approve_record = Ze.approve_record, Rt.approver = Ze.approver);
|
|
43217
43218
|
});
|
|
43218
43219
|
}));
|
|
@@ -43245,7 +43246,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
43245
43246
|
size: "large",
|
|
43246
43247
|
label: e("meeting.confirmBtn"),
|
|
43247
43248
|
onClick: () => {
|
|
43248
|
-
|
|
43249
|
+
H();
|
|
43249
43250
|
}
|
|
43250
43251
|
}, {
|
|
43251
43252
|
id: "cancel",
|
|
@@ -43288,7 +43289,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
43288
43289
|
onChange: dt
|
|
43289
43290
|
}, {
|
|
43290
43291
|
default: D(() => [
|
|
43291
|
-
(x(!0), N(Ee, null, Ue(
|
|
43292
|
+
(x(!0), N(Ee, null, Ue(j.value, (Ce) => {
|
|
43292
43293
|
var Ze;
|
|
43293
43294
|
return x(), N(Ee, {
|
|
43294
43295
|
key: Ce.id
|
|
@@ -43407,7 +43408,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
43407
43408
|
])) : pe("", !0)
|
|
43408
43409
|
])) : (x(), N("div", q6, [
|
|
43409
43410
|
$(p($1), {
|
|
43410
|
-
data:
|
|
43411
|
+
data: j.value,
|
|
43411
43412
|
onExpandChange: tt,
|
|
43412
43413
|
"row-key": ut,
|
|
43413
43414
|
"expand-row-keys": je.value
|
|
@@ -43679,8 +43680,8 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
43679
43680
|
const { t, locale: i } = ci(), n = De(() => i.value === Mu.ZH), { statusMap: r, activityTypeMap: a } = ko(), { getConfig: o } = tn(), u = (de) => {
|
|
43680
43681
|
const he = Ae(de || /* @__PURE__ */ new Date());
|
|
43681
43682
|
return n.value ? he.format("YYYY MM月") : he.format("MMMM YYYY");
|
|
43682
|
-
}, c = er(null), { isPhone: m } = Ri(), g = s, E = e, b = ce([]), k = ce([]), y = ce(1), T = ce(50), O = ce(null), M = ce(!1), I = ce([]),
|
|
43683
|
-
if (g.getListRequest && !
|
|
43683
|
+
}, c = er(null), { isPhone: m } = Ri(), g = s, E = e, b = ce([]), k = ce([]), y = ce(1), T = ce(50), O = ce(null), M = ce(!1), I = ce([]), j = ce(!1), q = ce(!1), X = De(() => O.value === null || k.value.length < O.value), R = async () => {
|
|
43684
|
+
if (g.getListRequest && !j.value)
|
|
43684
43685
|
try {
|
|
43685
43686
|
if (O.value !== null && O.value > 0 && (y.value - 1) * T.value > O.value)
|
|
43686
43687
|
return;
|
|
@@ -43688,7 +43689,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
43688
43689
|
G("next-month");
|
|
43689
43690
|
return;
|
|
43690
43691
|
}
|
|
43691
|
-
|
|
43692
|
+
j.value = !0;
|
|
43692
43693
|
const de = await g.getListRequest({
|
|
43693
43694
|
page: y.value,
|
|
43694
43695
|
size: T.value,
|
|
@@ -43711,7 +43712,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
43711
43712
|
Q(), te.value && !m.value && B();
|
|
43712
43713
|
});
|
|
43713
43714
|
} finally {
|
|
43714
|
-
|
|
43715
|
+
j.value = !1, q.value = !1, M.value = !1;
|
|
43715
43716
|
}
|
|
43716
43717
|
}, W = ce([]), S = (de) => {
|
|
43717
43718
|
g.getActivityDetailRequest && (W.value.includes(de) || (W.value.push(de), g.getActivityDetailRequest(de).then((he) => {
|
|
@@ -43742,7 +43743,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
43742
43743
|
de ? U.value = de : U.value || (U.value = Ae().format("YYYY-MM-DD")), (fe = z.value) == null || fe.pickDay(Ae(U.value)), U.value = Ae(U.value).format("YYYY-MM-DD");
|
|
43743
43744
|
const he = b.value.find((Ve) => Ve.start_date === U.value && !Ve.isExpired && !Ve.is_delete);
|
|
43744
43745
|
he && (S(he.id), I.value = [he.id]);
|
|
43745
|
-
},
|
|
43746
|
+
}, H = (de, he) => {
|
|
43746
43747
|
var fe;
|
|
43747
43748
|
(!he || !((fe = de.target) != null && fe.className.includes("date-cell-text"))) && (de.stopPropagation(), de.preventDefault());
|
|
43748
43749
|
}, G = (de) => {
|
|
@@ -43864,7 +43865,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
43864
43865
|
}, nt = _s(() => {
|
|
43865
43866
|
if (!X.value || !m.value) return;
|
|
43866
43867
|
const de = window.scrollY || window.pageYOffset, he = window.innerHeight;
|
|
43867
|
-
document.documentElement.scrollHeight - (de + he) <= 300 && !
|
|
43868
|
+
document.documentElement.scrollHeight - (de + he) <= 300 && !j.value && (q.value = !0, y.value++, R());
|
|
43868
43869
|
}, 200);
|
|
43869
43870
|
Mi(() => {
|
|
43870
43871
|
R(), window.addEventListener("scroll", nt), window.addEventListener("resize", nt), Ze(), window.addEventListener("resize", Ze);
|
|
@@ -43971,7 +43972,7 @@ const o6 = { name: "components-icon-tips", render: a6 }, l6 = { class: "o-sig-me
|
|
|
43971
43972
|
]),
|
|
43972
43973
|
"date-cell": D(({ data: fe }) => [
|
|
43973
43974
|
C("div", {
|
|
43974
|
-
onClick: (Ve) =>
|
|
43975
|
+
onClick: (Ve) => H(Ve, ae.value.includes(fe.day)),
|
|
43975
43976
|
class: Re({
|
|
43976
43977
|
"date-cell": !0,
|
|
43977
43978
|
"is-selected": fe.isSelected,
|
|
@@ -44660,11 +44661,11 @@ const zS = { name: "events-icon-release", render: jS }, GS = {
|
|
|
44660
44661
|
return g.forEach((k, y) => {
|
|
44661
44662
|
const [T, O] = Array.isArray(k.date) ? [a(k.date[0]), a(k.date[1])] : [a(k.date), a(k.date)];
|
|
44662
44663
|
let M = 0;
|
|
44663
|
-
for (let
|
|
44664
|
-
M = Math.max(M, E[
|
|
44664
|
+
for (let j = T - 1; j < O; j++)
|
|
44665
|
+
M = Math.max(M, E[j]);
|
|
44665
44666
|
const I = M + 1;
|
|
44666
|
-
for (let
|
|
44667
|
-
E[
|
|
44667
|
+
for (let j = T - 1; j < O; j++)
|
|
44668
|
+
E[j] = I;
|
|
44668
44669
|
b.push({
|
|
44669
44670
|
event: k,
|
|
44670
44671
|
row: I,
|
|
@@ -45158,7 +45159,7 @@ const HC = { name: "components-icon-caret-right", render: qC }, jC = { class: "h
|
|
|
45158
45159
|
level1: q,
|
|
45159
45160
|
target: q
|
|
45160
45161
|
}
|
|
45161
|
-
}),
|
|
45162
|
+
}), j = (q) => ({
|
|
45162
45163
|
properties: {
|
|
45163
45164
|
module: "navigation",
|
|
45164
45165
|
level1: q.label,
|
|
@@ -45242,7 +45243,7 @@ const HC = { name: "components-icon-caret-right", render: qC }, jC = { class: "h
|
|
|
45242
45243
|
[R, I(W.label), "mouseenter"],
|
|
45243
45244
|
[
|
|
45244
45245
|
R,
|
|
45245
|
-
|
|
45246
|
+
j(W),
|
|
45246
45247
|
void 0,
|
|
45247
45248
|
{ catchBubble: !0 }
|
|
45248
45249
|
]
|
|
@@ -45338,7 +45339,7 @@ const HC = { name: "components-icon-caret-right", render: qC }, jC = { class: "h
|
|
|
45338
45339
|
"disabled-y": ""
|
|
45339
45340
|
}, {
|
|
45340
45341
|
default: D(() => {
|
|
45341
|
-
var I,
|
|
45342
|
+
var I, j, q, X, R, W, S, A;
|
|
45342
45343
|
return [
|
|
45343
45344
|
C("div", e9, [
|
|
45344
45345
|
C("div", t9, [
|
|
@@ -45391,7 +45392,7 @@ const HC = { name: "components-icon-caret-right", render: qC }, jC = { class: "h
|
|
|
45391
45392
|
])
|
|
45392
45393
|
]))), 128))
|
|
45393
45394
|
]),
|
|
45394
|
-
(q = (
|
|
45395
|
+
(q = (j = i.itemData) == null ? void 0 : j.shortcut) != null && q.length ? (x(), N("div", l9)) : pe("", !0),
|
|
45395
45396
|
(R = (X = i.itemData) == null ? void 0 : X.shortcut) != null && R.length ? (x(), N("div", u9, [
|
|
45396
45397
|
C("span", c9, Y(p(n) === "zh" ? "快捷链接" : "Quick Link"), 1),
|
|
45397
45398
|
(W = i.itemData) != null && W.withPicture ? (x(!0), N(Ee, { key: 1 }, Ue((A = i.itemData) == null ? void 0 : A.shortcut, (P) => Os((x(), N("a", {
|
|
@@ -45895,10 +45896,10 @@ const W9 = { name: "components-icon-header-menu", render: G9 }, Y9 = { class: "h
|
|
|
45895
45896
|
maxHistoryCount: M,
|
|
45896
45897
|
onChange: (ne) => n("update:historyItems", ne)
|
|
45897
45898
|
});
|
|
45898
|
-
let
|
|
45899
|
+
let j = !1;
|
|
45899
45900
|
const q = _s((ne) => {
|
|
45900
|
-
if (
|
|
45901
|
-
|
|
45901
|
+
if (j) {
|
|
45902
|
+
j = !1;
|
|
45902
45903
|
return;
|
|
45903
45904
|
}
|
|
45904
45905
|
n("input", ne);
|
|
@@ -45920,7 +45921,7 @@ const W9 = { name: "components-icon-header-menu", render: G9 }, Y9 = { class: "h
|
|
|
45920
45921
|
}, S = () => {
|
|
45921
45922
|
c.value = "", n("clear");
|
|
45922
45923
|
}, A = (ne) => {
|
|
45923
|
-
n("recommend-click", ne),
|
|
45924
|
+
n("recommend-click", ne), j = !0, c.value = ne.key, W();
|
|
45924
45925
|
}, P = (ne) => {
|
|
45925
45926
|
if (n("onestep-click", ne), ne.path) {
|
|
45926
45927
|
const oe = ne.path;
|
|
@@ -45937,14 +45938,14 @@ const W9 = { name: "components-icon-header-menu", render: G9 }, Y9 = { class: "h
|
|
|
45937
45938
|
I.clearAll(), n("delete-history", ne);
|
|
45938
45939
|
}, ae = (ne) => {
|
|
45939
45940
|
const oe = ne.replace(/<[^>]+>/g, "");
|
|
45940
|
-
n("suggest-list-click", oe),
|
|
45941
|
+
n("suggest-list-click", oe), j = !0, c.value = oe, W();
|
|
45941
45942
|
}, re = (ne) => {
|
|
45942
45943
|
g.value = ne, ne || (E.value = !0, setTimeout(() => {
|
|
45943
45944
|
E.value = !1;
|
|
45944
45945
|
}, 100));
|
|
45945
45946
|
}, Q = De(
|
|
45946
45947
|
() => !!i.imageUrl && (i.alwaysInlineThumbnail || !m.value)
|
|
45947
|
-
),
|
|
45948
|
+
), H = (ne) => {
|
|
45948
45949
|
b.value = !0, n("image-upload-start", ne);
|
|
45949
45950
|
}, G = (ne, oe) => {
|
|
45950
45951
|
b.value = !1, n("image-upload-success", ne, oe);
|
|
@@ -45994,7 +45995,7 @@ const W9 = { name: "components-icon-header-menu", render: G9 }, Y9 = { class: "h
|
|
|
45994
45995
|
onEnter: W,
|
|
45995
45996
|
onClear: S,
|
|
45996
45997
|
onImageClear: ge,
|
|
45997
|
-
onImageUploadStart:
|
|
45998
|
+
onImageUploadStart: H,
|
|
45998
45999
|
onImageUploadSuccess: G,
|
|
45999
46000
|
onImageUploadError: oe[2] || (oe[2] = (te, Te) => n("image-upload-error", te, Te)),
|
|
46000
46001
|
onImageValidateError: oe[3] || (oe[3] = (te, Te) => n("image-validate-error", te, Te)),
|