@opendesign-plus-test/components 0.0.1-rc.94 → 0.0.1-rc.96
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/header-search/OHeaderSearch.vue.d.ts +6 -6
- package/dist/components/header-search/index.d.ts +3 -3
- package/dist/components/header-user/OHeaderUser.vue.d.ts +1 -1
- package/dist/components/header-user/index.d.ts +3 -3
- package/dist/components/search/OSearchInput.vue.d.ts +6 -6
- package/dist/components/search/index.d.ts +3 -3
- package/dist/components/search/internal/SearchImageInput.vue.d.ts +1 -1
- package/dist/components.cjs.js +20 -20
- package/dist/components.css +1 -1
- package/dist/components.es.js +427 -427
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +9 -15
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +10 -10
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.css +3 -0
- package/package.json +1 -1
package/dist/components.es.js
CHANGED
|
@@ -383,7 +383,7 @@ const j0 = { name: "meeting-icon-summit", render: o2 }, cl = {
|
|
|
383
383
|
activity_type: H,
|
|
384
384
|
register_url: R,
|
|
385
385
|
content_url: U,
|
|
386
|
-
address:
|
|
386
|
+
address: j,
|
|
387
387
|
start: ne,
|
|
388
388
|
end: ie,
|
|
389
389
|
is_publish: ee,
|
|
@@ -401,7 +401,7 @@ const j0 = { name: "meeting-icon-summit", render: o2 }, cl = {
|
|
|
401
401
|
activity_type: H,
|
|
402
402
|
register_url: R,
|
|
403
403
|
content_url: U,
|
|
404
|
-
address:
|
|
404
|
+
address: j,
|
|
405
405
|
start: ne,
|
|
406
406
|
end: ie,
|
|
407
407
|
is_publish: ee,
|
|
@@ -428,11 +428,11 @@ const j0 = { name: "meeting-icon-summit", render: o2 }, cl = {
|
|
|
428
428
|
return;
|
|
429
429
|
n.success({
|
|
430
430
|
content: a("meeting.activityActionSuccess", [g.value.title, D.toLowerCase()])
|
|
431
|
-
}),
|
|
431
|
+
}), G(), i("confirm");
|
|
432
432
|
} finally {
|
|
433
433
|
b.value = !1;
|
|
434
434
|
}
|
|
435
|
-
},
|
|
435
|
+
}, G = () => {
|
|
436
436
|
g.value = {}, i("close");
|
|
437
437
|
};
|
|
438
438
|
return e({
|
|
@@ -734,7 +734,7 @@ const j0 = { name: "meeting-icon-summit", render: o2 }, cl = {
|
|
|
734
734
|
variant: "outline",
|
|
735
735
|
size: "large",
|
|
736
736
|
round: "pill",
|
|
737
|
-
onClick:
|
|
737
|
+
onClick: G
|
|
738
738
|
}, {
|
|
739
739
|
default: w(() => [
|
|
740
740
|
Oe(z(h(a)("meeting.cancelBtn")), 1)
|
|
@@ -920,14 +920,14 @@ function Y0() {
|
|
|
920
920
|
var O = i.createElement("template");
|
|
921
921
|
O.content && O.content.ownerDocument && (i = O.content.ownerDocument);
|
|
922
922
|
}
|
|
923
|
-
var F = U2(b, t),
|
|
923
|
+
var F = U2(b, t), G = F ? F.createHTML("") : "", W = i, D = W.implementation, X = W.createNodeIterator, S = W.createDocumentFragment, I = W.getElementsByTagName, B = t.importNode, H = {};
|
|
924
924
|
try {
|
|
925
925
|
H = ln(i).documentMode ? i.documentMode : {};
|
|
926
926
|
} catch {
|
|
927
927
|
}
|
|
928
928
|
var R = {};
|
|
929
929
|
e.isSupported = typeof L == "function" && D && D.createHTMLDocument !== void 0 && H !== 9;
|
|
930
|
-
var U = I2,
|
|
930
|
+
var U = I2, j = P2, ne = O2, ie = L2, ee = V2, ae = R2, te = q2, se = B2, Q = M2, pe = null, re = ht({}, [].concat(as(wd), as(fl), as(pl), as(ml), as(kd))), le = null, de = ht({}, [].concat(as(Dd), as(gl), as(Ad), as(Ra))), ye = Object.seal(Object.create(null, {
|
|
931
931
|
tagNameCheck: {
|
|
932
932
|
writable: !0,
|
|
933
933
|
configurable: !1,
|
|
@@ -985,7 +985,7 @@ function Y0() {
|
|
|
985
985
|
oe.parentNode.removeChild(oe);
|
|
986
986
|
} catch {
|
|
987
987
|
try {
|
|
988
|
-
oe.outerHTML =
|
|
988
|
+
oe.outerHTML = G;
|
|
989
989
|
} catch {
|
|
990
990
|
oe.remove();
|
|
991
991
|
}
|
|
@@ -1031,7 +1031,7 @@ function Y0() {
|
|
|
1031
1031
|
if (!Pe || !Pe.documentElement) {
|
|
1032
1032
|
Pe = D.createDocument(li, "template", null);
|
|
1033
1033
|
try {
|
|
1034
|
-
Pe.documentElement.innerHTML = Ai ?
|
|
1034
|
+
Pe.documentElement.innerHTML = Ai ? G : pi;
|
|
1035
1035
|
} catch {
|
|
1036
1036
|
}
|
|
1037
1037
|
}
|
|
@@ -1077,7 +1077,7 @@ function Y0() {
|
|
|
1077
1077
|
}
|
|
1078
1078
|
return mt(oe), !0;
|
|
1079
1079
|
}
|
|
1080
|
-
return oe instanceof o && !Ii(oe) || (je === "noscript" || je === "noembed" || je === "noframes") && di(/<\/no(script|embed|frames)/i, oe.innerHTML) ? (mt(oe), !0) : (lt && oe.nodeType === 3 && (Pe = oe.textContent, Pe = rs(Pe, U, " "), Pe = rs(Pe,
|
|
1080
|
+
return oe instanceof o && !Ii(oe) || (je === "noscript" || je === "noembed" || je === "noframes") && di(/<\/no(script|embed|frames)/i, oe.innerHTML) ? (mt(oe), !0) : (lt && oe.nodeType === 3 && (Pe = oe.textContent, Pe = rs(Pe, U, " "), Pe = rs(Pe, j, " "), Pe = rs(Pe, ne, " "), oe.textContent !== Pe && (Pr(e.removed, {
|
|
1081
1081
|
element: oe.cloneNode()
|
|
1082
1082
|
}), oe.textContent = Pe)), dt("afterSanitizeElements", oe, null), !1);
|
|
1083
1083
|
}, ds = function(oe, Pe, je) {
|
|
@@ -1128,7 +1128,7 @@ function Y0() {
|
|
|
1128
1128
|
Pi(qt, oe);
|
|
1129
1129
|
continue;
|
|
1130
1130
|
}
|
|
1131
|
-
lt && (je = rs(je, U, " "), je = rs(je,
|
|
1131
|
+
lt && (je = rs(je, U, " "), je = rs(je, j, " "), je = rs(je, ne, " "));
|
|
1132
1132
|
var ma = V(oe.nodeName);
|
|
1133
1133
|
if (ds(ma, vt, je)) {
|
|
1134
1134
|
if (Ce && (vt === "id" || vt === "name") && (Pi(qt, oe), je = Ie + je), It && di(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, je)) {
|
|
@@ -1191,7 +1191,7 @@ function Y0() {
|
|
|
1191
1191
|
Fe.indexOf("<") === -1)
|
|
1192
1192
|
return F && we ? F.createHTML(Fe) : Fe;
|
|
1193
1193
|
if (Pe = bi(Fe), !Pe)
|
|
1194
|
-
return We ? null : we ?
|
|
1194
|
+
return We ? null : we ? G : "";
|
|
1195
1195
|
}
|
|
1196
1196
|
Pe && pt && mt(Pe.firstChild);
|
|
1197
1197
|
for (var ts = Ti(xe ? Fe : Pe); vt = ts.nextNode(); )
|
|
@@ -1208,7 +1208,7 @@ function Y0() {
|
|
|
1208
1208
|
}
|
|
1209
1209
|
var qt = at ? Pe.outerHTML : Pe.innerHTML;
|
|
1210
1210
|
return at && pe["!doctype"] && Pe.ownerDocument && Pe.ownerDocument.doctype && Pe.ownerDocument.doctype.name && di(N2, Pe.ownerDocument.doctype.name) && (qt = "<!DOCTYPE " + Pe.ownerDocument.doctype.name + `>
|
|
1211
|
-
` + qt), lt && (qt = rs(qt, U, " "), qt = rs(qt,
|
|
1211
|
+
` + qt), lt && (qt = rs(qt, U, " "), qt = rs(qt, j, " "), qt = rs(qt, ne, " ")), F && we ? F.createHTML(qt) : qt;
|
|
1212
1212
|
}, e.setConfig = function(Fe) {
|
|
1213
1213
|
tt(Fe), Lt = !0;
|
|
1214
1214
|
}, e.clearConfig = function() {
|
|
@@ -1282,17 +1282,17 @@ const z2 = {
|
|
|
1282
1282
|
emits: ["update:model-value", "confirm"],
|
|
1283
1283
|
setup(s, { emit: e }) {
|
|
1284
1284
|
const t = Do(), { t: i } = oi(), n = s, r = e, a = Ae(() => n.list.some((F) => {
|
|
1285
|
-
var
|
|
1286
|
-
return (
|
|
1285
|
+
var G;
|
|
1286
|
+
return (G = F.children) == null ? void 0 : G.length;
|
|
1287
1287
|
})), o = Ae(() => n.list.map((F) => {
|
|
1288
|
-
const
|
|
1288
|
+
const G = (F.children || []).map((W) => ({
|
|
1289
1289
|
label: W.label,
|
|
1290
1290
|
value: W.value
|
|
1291
1291
|
}));
|
|
1292
1292
|
return {
|
|
1293
1293
|
label: F.label,
|
|
1294
1294
|
value: F.value,
|
|
1295
|
-
children: a.value ?
|
|
1295
|
+
children: a.value ? G : void 0
|
|
1296
1296
|
};
|
|
1297
1297
|
})), u = ue(!1);
|
|
1298
1298
|
bt(
|
|
@@ -1314,12 +1314,12 @@ const z2 = {
|
|
|
1314
1314
|
});
|
|
1315
1315
|
}, T = Ae(() => c.value.length || g.value.length || E.value || n.modelValue), A = ue(null), L = async (F) => {
|
|
1316
1316
|
var D, X;
|
|
1317
|
-
const
|
|
1317
|
+
const G = F.target.parentElement.parentElement;
|
|
1318
1318
|
await $t();
|
|
1319
|
-
const W =
|
|
1319
|
+
const W = G.querySelector("input");
|
|
1320
1320
|
W.click(), await $t(), (D = W.change) == null || D.call(W, W), await $t(), (X = A.value) == null || X.$forceUpdate(), g.value = JSON.parse(JSON.stringify(g.value));
|
|
1321
1321
|
}, O = ({ data: F }) => wg("span", { onclick: L }, F.label);
|
|
1322
|
-
return (F,
|
|
1322
|
+
return (F, G) => {
|
|
1323
1323
|
const W = Eg("ElCascaderPanel");
|
|
1324
1324
|
return x(), M("div", z2, [
|
|
1325
1325
|
C("span", null, [
|
|
@@ -1353,7 +1353,7 @@ const z2 = {
|
|
|
1353
1353
|
expandTrigger: "hover",
|
|
1354
1354
|
renderLabel: O,
|
|
1355
1355
|
modelValue: g.value,
|
|
1356
|
-
"onUpdate:modelValue":
|
|
1356
|
+
"onUpdate:modelValue": G[1] || (G[1] = (D) => g.value = D),
|
|
1357
1357
|
style: { width: "fit-content" },
|
|
1358
1358
|
options: o.value,
|
|
1359
1359
|
props: { multiple: !0, expandTrigger: "hover" }
|
|
@@ -1369,7 +1369,7 @@ const z2 = {
|
|
|
1369
1369
|
direction: "v",
|
|
1370
1370
|
onChange: m,
|
|
1371
1371
|
modelValue: c.value,
|
|
1372
|
-
"onUpdate:modelValue":
|
|
1372
|
+
"onUpdate:modelValue": G[0] || (G[0] = (D) => c.value = D)
|
|
1373
1373
|
}, {
|
|
1374
1374
|
default: w(() => [
|
|
1375
1375
|
(x(!0), M(De, null, ze(o.value, (D) => (x(), ge(h(Mg), {
|
|
@@ -1411,7 +1411,7 @@ const z2 = {
|
|
|
1411
1411
|
optionPosition: "bottom",
|
|
1412
1412
|
optionWrapClass: "th-filter-dropdown",
|
|
1413
1413
|
modelValue: E.value,
|
|
1414
|
-
"onUpdate:modelValue":
|
|
1414
|
+
"onUpdate:modelValue": G[3] || (G[3] = (D) => E.value = D)
|
|
1415
1415
|
}, {
|
|
1416
1416
|
dropdown: w(() => [
|
|
1417
1417
|
o.value.length ? (x(), ge(h(xs), {
|
|
@@ -1428,7 +1428,7 @@ const z2 = {
|
|
|
1428
1428
|
class: Ne([{ "is-active": s.modelValue === "" }]),
|
|
1429
1429
|
value: "''",
|
|
1430
1430
|
label: h(i)("common.all"),
|
|
1431
|
-
onClick:
|
|
1431
|
+
onClick: G[2] || (G[2] = (D) => b(""))
|
|
1432
1432
|
}, null, 8, ["style", "class", "label"]),
|
|
1433
1433
|
(x(!0), M(De, null, ze(o.value, (D) => (x(), ge(h(Kr), {
|
|
1434
1434
|
style: gt({
|
|
@@ -1562,17 +1562,17 @@ function ev() {
|
|
|
1562
1562
|
s.exports = i();
|
|
1563
1563
|
})(Z2, (function() {
|
|
1564
1564
|
var t = 1e3, i = 6e4, n = 36e5, r = "millisecond", a = "second", o = "minute", u = "hour", c = "day", m = "week", g = "month", E = "quarter", b = "year", P = "date", v = "Invalid Date", T = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, A = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, L = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(U) {
|
|
1565
|
-
var
|
|
1566
|
-
return "[" + U + (
|
|
1567
|
-
} }, O = function(U,
|
|
1565
|
+
var j = ["th", "st", "nd", "rd"], ne = U % 100;
|
|
1566
|
+
return "[" + U + (j[(ne - 20) % 10] || j[ne] || j[0]) + "]";
|
|
1567
|
+
} }, O = function(U, j, ne) {
|
|
1568
1568
|
var ie = String(U);
|
|
1569
|
-
return !ie || ie.length >=
|
|
1569
|
+
return !ie || ie.length >= j ? U : "" + Array(j + 1 - ie.length).join(ne) + U;
|
|
1570
1570
|
}, F = { s: O, z: function(U) {
|
|
1571
|
-
var
|
|
1572
|
-
return (
|
|
1573
|
-
}, m: function U(
|
|
1574
|
-
if (
|
|
1575
|
-
var ie = 12 * (ne.year() -
|
|
1571
|
+
var j = -U.utcOffset(), ne = Math.abs(j), ie = Math.floor(ne / 60), ee = ne % 60;
|
|
1572
|
+
return (j <= 0 ? "+" : "-") + O(ie, 2, "0") + ":" + O(ee, 2, "0");
|
|
1573
|
+
}, m: function U(j, ne) {
|
|
1574
|
+
if (j.date() < ne.date()) return -U(ne, j);
|
|
1575
|
+
var ie = 12 * (ne.year() - j.year()) + (ne.month() - j.month()), ee = j.clone().add(ie, g), ae = ne - ee < 0, te = j.clone().add(ie + (ae ? -1 : 1), g);
|
|
1576
1576
|
return +(-(ie + (ne - ee) / (ae ? ee - te : te - ee)) || 0);
|
|
1577
1577
|
}, a: function(U) {
|
|
1578
1578
|
return U < 0 ? Math.ceil(U) || 0 : Math.floor(U);
|
|
@@ -1580,37 +1580,37 @@ function ev() {
|
|
|
1580
1580
|
return { M: g, y: b, w: m, d: c, D: P, h: u, m: o, s: a, ms: r, Q: E }[U] || String(U || "").toLowerCase().replace(/s$/, "");
|
|
1581
1581
|
}, u: function(U) {
|
|
1582
1582
|
return U === void 0;
|
|
1583
|
-
} },
|
|
1584
|
-
W[
|
|
1583
|
+
} }, G = "en", W = {};
|
|
1584
|
+
W[G] = L;
|
|
1585
1585
|
var D = "$isDayjsObject", X = function(U) {
|
|
1586
1586
|
return U instanceof H || !(!U || !U[D]);
|
|
1587
|
-
}, S = function U(
|
|
1587
|
+
}, S = function U(j, ne, ie) {
|
|
1588
1588
|
var ee;
|
|
1589
|
-
if (!
|
|
1590
|
-
if (typeof
|
|
1591
|
-
var ae =
|
|
1589
|
+
if (!j) return G;
|
|
1590
|
+
if (typeof j == "string") {
|
|
1591
|
+
var ae = j.toLowerCase();
|
|
1592
1592
|
W[ae] && (ee = ae), ne && (W[ae] = ne, ee = ae);
|
|
1593
|
-
var te =
|
|
1593
|
+
var te = j.split("-");
|
|
1594
1594
|
if (!ee && te.length > 1) return U(te[0]);
|
|
1595
1595
|
} else {
|
|
1596
|
-
var se =
|
|
1597
|
-
W[se] =
|
|
1596
|
+
var se = j.name;
|
|
1597
|
+
W[se] = j, ee = se;
|
|
1598
1598
|
}
|
|
1599
|
-
return !ie && ee && (
|
|
1600
|
-
}, I = function(U,
|
|
1599
|
+
return !ie && ee && (G = ee), ee || !ie && G;
|
|
1600
|
+
}, I = function(U, j) {
|
|
1601
1601
|
if (X(U)) return U.clone();
|
|
1602
|
-
var ne = typeof
|
|
1602
|
+
var ne = typeof j == "object" ? j : {};
|
|
1603
1603
|
return ne.date = U, ne.args = arguments, new H(ne);
|
|
1604
1604
|
}, B = F;
|
|
1605
|
-
B.l = S, B.i = X, B.w = function(U,
|
|
1606
|
-
return I(U, { locale:
|
|
1605
|
+
B.l = S, B.i = X, B.w = function(U, j) {
|
|
1606
|
+
return I(U, { locale: j.$L, utc: j.$u, x: j.$x, $offset: j.$offset });
|
|
1607
1607
|
};
|
|
1608
1608
|
var H = (function() {
|
|
1609
1609
|
function U(ne) {
|
|
1610
1610
|
this.$L = S(ne.locale, null, !0), this.parse(ne), this.$x = this.$x || ne.x || {}, this[D] = !0;
|
|
1611
1611
|
}
|
|
1612
|
-
var
|
|
1613
|
-
return
|
|
1612
|
+
var j = U.prototype;
|
|
1613
|
+
return j.parse = function(ne) {
|
|
1614
1614
|
this.$d = (function(ie) {
|
|
1615
1615
|
var ee = ie.date, ae = ie.utc;
|
|
1616
1616
|
if (ee === null) return /* @__PURE__ */ new Date(NaN);
|
|
@@ -1625,27 +1625,27 @@ function ev() {
|
|
|
1625
1625
|
}
|
|
1626
1626
|
return new Date(ee);
|
|
1627
1627
|
})(ne), this.init();
|
|
1628
|
-
},
|
|
1628
|
+
}, j.init = function() {
|
|
1629
1629
|
var ne = this.$d;
|
|
1630
1630
|
this.$y = ne.getFullYear(), this.$M = ne.getMonth(), this.$D = ne.getDate(), this.$W = ne.getDay(), this.$H = ne.getHours(), this.$m = ne.getMinutes(), this.$s = ne.getSeconds(), this.$ms = ne.getMilliseconds();
|
|
1631
|
-
},
|
|
1631
|
+
}, j.$utils = function() {
|
|
1632
1632
|
return B;
|
|
1633
|
-
},
|
|
1633
|
+
}, j.isValid = function() {
|
|
1634
1634
|
return this.$d.toString() !== v;
|
|
1635
|
-
},
|
|
1635
|
+
}, j.isSame = function(ne, ie) {
|
|
1636
1636
|
var ee = I(ne);
|
|
1637
1637
|
return this.startOf(ie) <= ee && ee <= this.endOf(ie);
|
|
1638
|
-
},
|
|
1638
|
+
}, j.isAfter = function(ne, ie) {
|
|
1639
1639
|
return I(ne) < this.startOf(ie);
|
|
1640
|
-
},
|
|
1640
|
+
}, j.isBefore = function(ne, ie) {
|
|
1641
1641
|
return this.endOf(ie) < I(ne);
|
|
1642
|
-
},
|
|
1642
|
+
}, j.$g = function(ne, ie, ee) {
|
|
1643
1643
|
return B.u(ne) ? this[ie] : this.set(ee, ne);
|
|
1644
|
-
},
|
|
1644
|
+
}, j.unix = function() {
|
|
1645
1645
|
return Math.floor(this.valueOf() / 1e3);
|
|
1646
|
-
},
|
|
1646
|
+
}, j.valueOf = function() {
|
|
1647
1647
|
return this.$d.getTime();
|
|
1648
|
-
},
|
|
1648
|
+
}, j.startOf = function(ne, ie) {
|
|
1649
1649
|
var ee = this, ae = !!B.u(ie) || ie, te = B.p(ne), se = function(Te, Ue) {
|
|
1650
1650
|
var nt = B.w(ee.$u ? Date.UTC(ee.$y, Ue, Te) : new Date(ee.$y, Ue, Te), ee);
|
|
1651
1651
|
return ae ? nt : nt.endOf(c);
|
|
@@ -1672,20 +1672,20 @@ function ev() {
|
|
|
1672
1672
|
default:
|
|
1673
1673
|
return this.clone();
|
|
1674
1674
|
}
|
|
1675
|
-
},
|
|
1675
|
+
}, j.endOf = function(ne) {
|
|
1676
1676
|
return this.startOf(ne, !1);
|
|
1677
|
-
},
|
|
1677
|
+
}, j.$set = function(ne, ie) {
|
|
1678
1678
|
var ee, ae = B.p(ne), te = "set" + (this.$u ? "UTC" : ""), se = (ee = {}, ee[c] = te + "Date", ee[P] = te + "Date", ee[g] = te + "Month", ee[b] = te + "FullYear", ee[u] = te + "Hours", ee[o] = te + "Minutes", ee[a] = te + "Seconds", ee[r] = te + "Milliseconds", ee)[ae], Q = ae === c ? this.$D + (ie - this.$W) : ie;
|
|
1679
1679
|
if (ae === g || ae === b) {
|
|
1680
1680
|
var pe = this.clone().set(P, 1);
|
|
1681
1681
|
pe.$d[se](Q), pe.init(), this.$d = pe.set(P, Math.min(this.$D, pe.daysInMonth())).$d;
|
|
1682
1682
|
} else se && this.$d[se](Q);
|
|
1683
1683
|
return this.init(), this;
|
|
1684
|
-
},
|
|
1684
|
+
}, j.set = function(ne, ie) {
|
|
1685
1685
|
return this.clone().$set(ne, ie);
|
|
1686
|
-
},
|
|
1686
|
+
}, j.get = function(ne) {
|
|
1687
1687
|
return this[B.p(ne)]();
|
|
1688
|
-
},
|
|
1688
|
+
}, j.add = function(ne, ie) {
|
|
1689
1689
|
var ee, ae = this;
|
|
1690
1690
|
ne = Number(ne);
|
|
1691
1691
|
var te = B.p(ie), se = function(re) {
|
|
@@ -1698,9 +1698,9 @@ function ev() {
|
|
|
1698
1698
|
if (te === m) return se(7);
|
|
1699
1699
|
var Q = (ee = {}, ee[o] = i, ee[u] = n, ee[a] = t, ee)[te] || 1, pe = this.$d.getTime() + ne * Q;
|
|
1700
1700
|
return B.w(pe, this);
|
|
1701
|
-
},
|
|
1701
|
+
}, j.subtract = function(ne, ie) {
|
|
1702
1702
|
return this.add(-1 * ne, ie);
|
|
1703
|
-
},
|
|
1703
|
+
}, j.format = function(ne) {
|
|
1704
1704
|
var ie = this, ee = this.$locale();
|
|
1705
1705
|
if (!this.isValid()) return ee.invalidDate || v;
|
|
1706
1706
|
var ae = ne || "YYYY-MM-DDTHH:mm:ssZ", te = B.z(this), se = this.$H, Q = this.$m, pe = this.$M, re = ee.weekdays, le = ee.months, de = ee.meridiem, ye = function(Ue, nt, Qe, Ke) {
|
|
@@ -1766,9 +1766,9 @@ function ev() {
|
|
|
1766
1766
|
return null;
|
|
1767
1767
|
})(Ue) || te.replace(":", "");
|
|
1768
1768
|
}));
|
|
1769
|
-
},
|
|
1769
|
+
}, j.utcOffset = function() {
|
|
1770
1770
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1771
|
-
},
|
|
1771
|
+
}, j.diff = function(ne, ie, ee) {
|
|
1772
1772
|
var ae, te = this, se = B.p(ie), Q = I(ne), pe = (Q.utcOffset() - this.utcOffset()) * i, re = this - Q, le = function() {
|
|
1773
1773
|
return B.m(te, Q);
|
|
1774
1774
|
};
|
|
@@ -1801,35 +1801,35 @@ function ev() {
|
|
|
1801
1801
|
ae = re;
|
|
1802
1802
|
}
|
|
1803
1803
|
return ee ? ae : B.a(ae);
|
|
1804
|
-
},
|
|
1804
|
+
}, j.daysInMonth = function() {
|
|
1805
1805
|
return this.endOf(g).$D;
|
|
1806
|
-
},
|
|
1806
|
+
}, j.$locale = function() {
|
|
1807
1807
|
return W[this.$L];
|
|
1808
|
-
},
|
|
1808
|
+
}, j.locale = function(ne, ie) {
|
|
1809
1809
|
if (!ne) return this.$L;
|
|
1810
1810
|
var ee = this.clone(), ae = S(ne, ie, !0);
|
|
1811
1811
|
return ae && (ee.$L = ae), ee;
|
|
1812
|
-
},
|
|
1812
|
+
}, j.clone = function() {
|
|
1813
1813
|
return B.w(this.$d, this);
|
|
1814
|
-
},
|
|
1814
|
+
}, j.toDate = function() {
|
|
1815
1815
|
return new Date(this.valueOf());
|
|
1816
|
-
},
|
|
1816
|
+
}, j.toJSON = function() {
|
|
1817
1817
|
return this.isValid() ? this.toISOString() : null;
|
|
1818
|
-
},
|
|
1818
|
+
}, j.toISOString = function() {
|
|
1819
1819
|
return this.$d.toISOString();
|
|
1820
|
-
},
|
|
1820
|
+
}, j.toString = function() {
|
|
1821
1821
|
return this.$d.toUTCString();
|
|
1822
1822
|
}, U;
|
|
1823
1823
|
})(), R = H.prototype;
|
|
1824
1824
|
return I.prototype = R, [["$ms", r], ["$s", a], ["$m", o], ["$H", u], ["$W", c], ["$M", g], ["$y", b], ["$D", P]].forEach((function(U) {
|
|
1825
|
-
R[U[1]] = function(
|
|
1826
|
-
return this.$g(
|
|
1825
|
+
R[U[1]] = function(j) {
|
|
1826
|
+
return this.$g(j, U[0], U[1]);
|
|
1827
1827
|
};
|
|
1828
|
-
})), I.extend = function(U,
|
|
1829
|
-
return U.$i || (U(
|
|
1828
|
+
})), I.extend = function(U, j) {
|
|
1829
|
+
return U.$i || (U(j, H, I), U.$i = !0), I;
|
|
1830
1830
|
}, I.locale = S, I.isDayjs = X, I.unix = function(U) {
|
|
1831
1831
|
return I(1e3 * U);
|
|
1832
|
-
}, I.en = W[
|
|
1832
|
+
}, I.en = W[G], I.Ls = W, I.p = {}, I;
|
|
1833
1833
|
}));
|
|
1834
1834
|
})(Ka)), Ka.exports;
|
|
1835
1835
|
}
|
|
@@ -2002,7 +2002,7 @@ const Ve = /* @__PURE__ */ rr(tv), Ct = (s = /* @__PURE__ */ new Date(), e = "YY
|
|
|
2002
2002
|
}
|
|
2003
2003
|
} }), (v, T) => (x(), M("div", rv, [
|
|
2004
2004
|
(x(!0), M(De, null, ze(g.value, (A, L) => {
|
|
2005
|
-
var O, F,
|
|
2005
|
+
var O, F, G;
|
|
2006
2006
|
return x(), M("div", {
|
|
2007
2007
|
ref_for: !0,
|
|
2008
2008
|
ref_key: "domRef",
|
|
@@ -2041,7 +2041,7 @@ const Ve = /* @__PURE__ */ rr(tv), Ct = (s = /* @__PURE__ */ new Date(), e = "YY
|
|
|
2041
2041
|
C("span", cv, z(m(A.key) || "-"), 1)
|
|
2042
2042
|
]))
|
|
2043
2043
|
], 64)) : he("", !0),
|
|
2044
|
-
A.isRecord && ((
|
|
2044
|
+
A.isRecord && ((G = m(A.key)) != null && G.length) ? (x(), M(De, { key: 1 }, [
|
|
2045
2045
|
C("span", dv, z(A.label), 1),
|
|
2046
2046
|
C("div", null, [
|
|
2047
2047
|
(x(!0), M(De, null, ze(m(A.key), (W) => (x(), M("p", {
|
|
@@ -2202,7 +2202,7 @@ const qr = { name: "components-icon-chevron-right", render: mv }, K0 = /* @__PUR
|
|
|
2202
2202
|
};
|
|
2203
2203
|
}
|
|
2204
2204
|
const {
|
|
2205
|
-
is_cycle:
|
|
2205
|
+
is_cycle: G,
|
|
2206
2206
|
date: W,
|
|
2207
2207
|
start: D,
|
|
2208
2208
|
end: X,
|
|
@@ -2212,16 +2212,16 @@ const qr = { name: "components-icon-chevron-right", render: mv }, K0 = /* @__PUR
|
|
|
2212
2212
|
cycle_end: H,
|
|
2213
2213
|
cycle_type: R,
|
|
2214
2214
|
cycle_interval: U,
|
|
2215
|
-
cycle_point:
|
|
2215
|
+
cycle_point: j
|
|
2216
2216
|
} = v;
|
|
2217
|
-
A = t.disableFormat ? W : Ct(W), D && X ? A += `${A ? " " : ""}${D} - ${X}` : (D || X) && (A += `${A ? " " : ""}${D || X}`),
|
|
2217
|
+
A = t.disableFormat ? W : Ct(W), D && X ? A += `${A ? " " : ""}${D} - ${X}` : (D || X) && (A += `${A ? " " : ""}${D || X}`), G && (A = `${t.disableFormat ? S : Ct(S)} - ${t.disableFormat ? I : Ct(I)}`);
|
|
2218
2218
|
let ne = "";
|
|
2219
2219
|
D && X ? ne = `${D} - ${X}` : (D && (ne = D), X && (ne = X));
|
|
2220
2220
|
let ie = null, ee = !1;
|
|
2221
2221
|
const ae = ((se = v.obs_data) == null ? void 0 : se.filter((Q) => Q.text_video_url)) || [];
|
|
2222
|
-
if (
|
|
2222
|
+
if (G) {
|
|
2223
2223
|
let Q = "";
|
|
2224
|
-
R === Qs && (Q = i("meeting.cycleDay")), R === Js && (U > 1 ? Q = i("meeting.cycleWeek.other", [a(R,
|
|
2224
|
+
R === Qs && (Q = i("meeting.cycleDay")), R === Js && (U > 1 ? Q = i("meeting.cycleWeek.other", [a(R, j), U]) : Q = i("meeting.cycleWeek.one", [a(R, j)])), R === Vs && (Q = i("meeting.cycleMonth", [a(R, j)])), ne = i("meeting.cycleMeetingText2", {
|
|
2225
2225
|
startDate: Ct(S),
|
|
2226
2226
|
endDate: Ct(I),
|
|
2227
2227
|
startTime: B,
|
|
@@ -2415,7 +2415,7 @@ const qr = { name: "components-icon-chevron-right", render: mv }, K0 = /* @__PUR
|
|
|
2415
2415
|
show: m.value.includes(O.id),
|
|
2416
2416
|
data: O,
|
|
2417
2417
|
ref_for: !0,
|
|
2418
|
-
ref: (
|
|
2418
|
+
ref: (G) => o.value[F] = G,
|
|
2419
2419
|
from: "home"
|
|
2420
2420
|
}, null, 8, ["show", "data"])
|
|
2421
2421
|
])
|
|
@@ -2454,7 +2454,7 @@ const qr = { name: "components-icon-chevron-right", render: mv }, K0 = /* @__PUR
|
|
|
2454
2454
|
var de;
|
|
2455
2455
|
P.value = ((de = v.value[0]) == null ? void 0 : de.value) ?? Ye.MEETING;
|
|
2456
2456
|
});
|
|
2457
|
-
const T = ue(), A = ue("407px"), L = ue(!1), O = ue(""), F = ue(!1),
|
|
2457
|
+
const T = ue(), A = ue("407px"), L = ue(!1), O = ue(""), F = ue(!1), G = ue(""), W = async (de) => {
|
|
2458
2458
|
if (t.getSummitListRequest) {
|
|
2459
2459
|
c.value = [];
|
|
2460
2460
|
const ye = await t.getSummitListRequest(de);
|
|
@@ -2475,7 +2475,7 @@ const qr = { name: "components-icon-chevron-right", render: mv }, K0 = /* @__PUR
|
|
|
2475
2475
|
} else
|
|
2476
2476
|
g.value = [];
|
|
2477
2477
|
}, X = ue([!1, !1, !1]), S = Ae(() => X.value.every((de) => !!de)), I = async (de) => {
|
|
2478
|
-
t.getDateListRequest && t.getDateListRequest(de,
|
|
2478
|
+
t.getDateListRequest && t.getDateListRequest(de, G.value || "").then((ye) => {
|
|
2479
2479
|
u.value = ye;
|
|
2480
2480
|
}).finally(() => {
|
|
2481
2481
|
X.value[0] = !0;
|
|
@@ -2491,7 +2491,7 @@ const qr = { name: "components-icon-chevron-right", render: mv }, K0 = /* @__PUR
|
|
|
2491
2491
|
}, B = async (de) => {
|
|
2492
2492
|
if (t.getMeetingListRequest && de.date)
|
|
2493
2493
|
try {
|
|
2494
|
-
const ye = await t.getMeetingListRequest(de.date,
|
|
2494
|
+
const ye = await t.getMeetingListRequest(de.date, G.value, "");
|
|
2495
2495
|
b.value = ye.map((Ee) => ({
|
|
2496
2496
|
...Ee,
|
|
2497
2497
|
time: `${Ee.start}-${Ee.end}`,
|
|
@@ -2516,9 +2516,9 @@ const qr = { name: "components-icon-chevron-right", render: mv }, K0 = /* @__PUR
|
|
|
2516
2516
|
date: ye,
|
|
2517
2517
|
type: P.value
|
|
2518
2518
|
});
|
|
2519
|
-
}, U = Ae(() => S.value ? [.../* @__PURE__ */ new Set([...u.value, ...m.value, ...E.value])].flat().sort((de, ye) => Ve(de).isAfter(Ve(ye)) ? 1 : -1) : []),
|
|
2520
|
-
if (
|
|
2521
|
-
return
|
|
2519
|
+
}, U = Ae(() => S.value ? [.../* @__PURE__ */ new Set([...u.value, ...m.value, ...E.value])].flat().sort((de, ye) => Ve(de).isAfter(Ve(ye)) ? 1 : -1) : []), j = ue(""), ne = Ae(() => {
|
|
2520
|
+
if (j.value)
|
|
2521
|
+
return j.value;
|
|
2522
2522
|
const de = U.value;
|
|
2523
2523
|
if (!de.length) return null;
|
|
2524
2524
|
const ye = Ve().format("YYYY-MM-DD");
|
|
@@ -2543,7 +2543,7 @@ const qr = { name: "components-icon-chevron-right", render: mv }, K0 = /* @__PUR
|
|
|
2543
2543
|
() => ne.value,
|
|
2544
2544
|
() => {
|
|
2545
2545
|
var de;
|
|
2546
|
-
ne.value ? (
|
|
2546
|
+
ne.value ? (j.value = ne.value, (de = T.value) == null || de.pickDay(Ve(ne.value)), ie(ne.value)) : ie(Ct());
|
|
2547
2547
|
},
|
|
2548
2548
|
{
|
|
2549
2549
|
immediate: !0
|
|
@@ -2623,8 +2623,8 @@ const qr = { name: "components-icon-chevron-right", render: mv }, K0 = /* @__PUR
|
|
|
2623
2623
|
]),
|
|
2624
2624
|
((Te = s.groups) == null ? void 0 : Te.length) > 0 ? (x(), ge(h(bs), {
|
|
2625
2625
|
key: 0,
|
|
2626
|
-
modelValue:
|
|
2627
|
-
"onUpdate:modelValue": ye[0] || (ye[0] = (Ue) =>
|
|
2626
|
+
modelValue: G.value,
|
|
2627
|
+
"onUpdate:modelValue": ye[0] || (ye[0] = (Ue) => G.value = Ue),
|
|
2628
2628
|
placeholder: h(i)(s.groupType === h(os).GROUP ? "meeting.allGroups" : "meeting.allSigs"),
|
|
2629
2629
|
clearable: "",
|
|
2630
2630
|
onChange: ae
|
|
@@ -2712,8 +2712,8 @@ const qr = { name: "components-icon-chevron-right", render: mv }, K0 = /* @__PUR
|
|
|
2712
2712
|
C("div", Mv, [
|
|
2713
2713
|
C("div", Rv, [
|
|
2714
2714
|
q(h(bs), {
|
|
2715
|
-
modelValue:
|
|
2716
|
-
"onUpdate:modelValue": ye[1] || (ye[1] = (Ee) =>
|
|
2715
|
+
modelValue: G.value,
|
|
2716
|
+
"onUpdate:modelValue": ye[1] || (ye[1] = (Ee) => G.value = Ee),
|
|
2717
2717
|
placeholder: h(i)(s.groupType === h(os).GROUP ? "meeting.allGroups" : "meeting.allSigs"),
|
|
2718
2718
|
clearable: "",
|
|
2719
2719
|
onChange: ae
|
|
@@ -3112,11 +3112,11 @@ const Rd = { name: "meeting-icon-tip", render: Uv }, $v = /* @__PURE__ */ ut({
|
|
|
3112
3112
|
triggers: ["blur", "change"]
|
|
3113
3113
|
}
|
|
3114
3114
|
]
|
|
3115
|
-
})),
|
|
3115
|
+
})), G = ue([]), W = async () => {
|
|
3116
3116
|
if (!u.getGroupsRequest)
|
|
3117
3117
|
return;
|
|
3118
3118
|
const te = await u.getGroupsRequest();
|
|
3119
|
-
|
|
3119
|
+
G.value = te.map((se) => ({ ...se, label: se.group_name, value: se.group_name })), u.data && ie(T.value.group_name);
|
|
3120
3120
|
}, D = ue([]), X = async () => {
|
|
3121
3121
|
if (!u.getPlatformsRequest)
|
|
3122
3122
|
return;
|
|
@@ -3152,7 +3152,7 @@ const Rd = { name: "meeting-icon-tip", render: Uv }, $v = /* @__PURE__ */ ut({
|
|
|
3152
3152
|
};
|
|
3153
3153
|
};
|
|
3154
3154
|
bt(
|
|
3155
|
-
[() => u.data, () =>
|
|
3155
|
+
[() => u.data, () => G.value],
|
|
3156
3156
|
([te]) => {
|
|
3157
3157
|
var se;
|
|
3158
3158
|
if (te) {
|
|
@@ -3169,7 +3169,7 @@ const Rd = { name: "meeting-icon-tip", render: Uv }, $v = /* @__PURE__ */ ut({
|
|
|
3169
3169
|
sub_id: Ee
|
|
3170
3170
|
} : {}
|
|
3171
3171
|
);
|
|
3172
|
-
const Te =
|
|
3172
|
+
const Te = G.value.find((Ue) => Ue.value === T.value.group_name);
|
|
3173
3173
|
L.value = (Te == null ? void 0 : Te.private_enable) ?? !1;
|
|
3174
3174
|
} else {
|
|
3175
3175
|
const Q = Ve().format("YYYY-MM-DD"), pe = Ve().format("HH:mm");
|
|
@@ -3202,7 +3202,7 @@ const Rd = { name: "meeting-icon-tip", render: Uv }, $v = /* @__PURE__ */ ut({
|
|
|
3202
3202
|
if (T.value.is_private)
|
|
3203
3203
|
T.value.is_cycle = !1, T.value.email_list = "", U();
|
|
3204
3204
|
else {
|
|
3205
|
-
const te =
|
|
3205
|
+
const te = G.value.find((se) => se.value === T.value.group_name);
|
|
3206
3206
|
T.value.email_list = (te == null ? void 0 : te.email_list) || "";
|
|
3207
3207
|
}
|
|
3208
3208
|
}, R = () => {
|
|
@@ -3210,7 +3210,7 @@ const Rd = { name: "meeting-icon-tip", render: Uv }, $v = /* @__PURE__ */ ut({
|
|
|
3210
3210
|
}, U = () => {
|
|
3211
3211
|
var te;
|
|
3212
3212
|
T.value.platform = ((te = D.value.find((se) => se.value.toLowerCase() === "welink")) == null ? void 0 : te.value) || "WeLink";
|
|
3213
|
-
}, { lePadV:
|
|
3213
|
+
}, { lePadV: j } = qi(), ne = async () => {
|
|
3214
3214
|
var se;
|
|
3215
3215
|
let te = E.value ? i("meeting.editSuccess") : i("meeting.booSuccess");
|
|
3216
3216
|
try {
|
|
@@ -3303,7 +3303,7 @@ const Rd = { name: "meeting-icon-tip", render: Uv }, $v = /* @__PURE__ */ ut({
|
|
|
3303
3303
|
W(), X();
|
|
3304
3304
|
});
|
|
3305
3305
|
const ie = (te) => {
|
|
3306
|
-
const se =
|
|
3306
|
+
const se = G.value.find((Q) => Q.value === te);
|
|
3307
3307
|
L.value = u.enablePrivate && ((se == null ? void 0 : se.private_enable) ?? !1), E.value || (T.value.etherpad = (se == null ? void 0 : se.etherpad) || "", T.value.email_list = (se == null ? void 0 : se.email_list) || "");
|
|
3308
3308
|
}, ee = (te) => te.getTime() < Date.now() - 1440 * 60 * 1e3, ae = () => {
|
|
3309
3309
|
T.value.start && T.value.end ? T.value.time = `${T.value.start}-${T.value.end}` : T.value.time = "";
|
|
@@ -3316,7 +3316,7 @@ const Rd = { name: "meeting-icon-tip", render: Uv }, $v = /* @__PURE__ */ ut({
|
|
|
3316
3316
|
ref_key: "formRef",
|
|
3317
3317
|
ref: A,
|
|
3318
3318
|
"has-required": "",
|
|
3319
|
-
layout: h(
|
|
3319
|
+
layout: h(j) ? "v" : "h",
|
|
3320
3320
|
class: "form-wrapper"
|
|
3321
3321
|
}, {
|
|
3322
3322
|
default: w(() => {
|
|
@@ -3355,7 +3355,7 @@ const Rd = { name: "meeting-icon-tip", render: Uv }, $v = /* @__PURE__ */ ut({
|
|
|
3355
3355
|
onChange: ie
|
|
3356
3356
|
}, {
|
|
3357
3357
|
default: w(() => [
|
|
3358
|
-
(x(!0), M(De, null, ze(
|
|
3358
|
+
(x(!0), M(De, null, ze(G.value, (Te) => (x(), ge(h(Ts), {
|
|
3359
3359
|
key: Te.value,
|
|
3360
3360
|
value: Te.value
|
|
3361
3361
|
}, {
|
|
@@ -3710,7 +3710,7 @@ const Rd = { name: "meeting-icon-tip", render: Uv }, $v = /* @__PURE__ */ ut({
|
|
|
3710
3710
|
class: "record-item full-width-item"
|
|
3711
3711
|
}, {
|
|
3712
3712
|
default: w(() => [
|
|
3713
|
-
h(
|
|
3713
|
+
h(j) ? (x(), ge(h(eo), {
|
|
3714
3714
|
key: 0,
|
|
3715
3715
|
modelValue: T.value.is_record,
|
|
3716
3716
|
"onUpdate:modelValue": se[15] || (se[15] = (Te) => T.value.is_record = Te),
|
|
@@ -3740,7 +3740,7 @@ const Rd = { name: "meeting-icon-tip", render: Uv }, $v = /* @__PURE__ */ ut({
|
|
|
3740
3740
|
]),
|
|
3741
3741
|
_: 1
|
|
3742
3742
|
}, 8, ["label"]),
|
|
3743
|
-
h(
|
|
3743
|
+
h(j) ? (x(), M("div", ey, [
|
|
3744
3744
|
C("div", ty, [
|
|
3745
3745
|
q(h(Re), null, {
|
|
3746
3746
|
default: w(() => [
|
|
@@ -3970,8 +3970,8 @@ const Ty = { name: "meeting-icon-speaker", render: by }, xy = { class: "o-meetin
|
|
|
3970
3970
|
}
|
|
3971
3971
|
);
|
|
3972
3972
|
const m = (R) => `00:${R.split(".")[0]}`.slice(-8), g = (R) => {
|
|
3973
|
-
const U = R.split(":"),
|
|
3974
|
-
return
|
|
3973
|
+
const U = R.split(":"), j = U[U.length - 3] ? parseInt(U[U.length - 3]) : 0, ne = parseInt(U[U.length - 2]), ie = parseFloat(U[U.length - 1]);
|
|
3974
|
+
return j * 60 * 60 + ne * 60 + ie;
|
|
3975
3975
|
};
|
|
3976
3976
|
Di(() => {
|
|
3977
3977
|
var R;
|
|
@@ -3988,8 +3988,8 @@ const Ty = { name: "meeting-icon-speaker", render: by }, xy = { class: "o-meetin
|
|
|
3988
3988
|
const U = t.instance;
|
|
3989
3989
|
if (!U)
|
|
3990
3990
|
return;
|
|
3991
|
-
const
|
|
3992
|
-
U.currentTime(
|
|
3991
|
+
const j = g(R);
|
|
3992
|
+
U.currentTime(j);
|
|
3993
3993
|
}, v = ue(""), T = ue(0), A = ue(0), L = ue([]), O = i("common.all"), F = Ae(() => [
|
|
3994
3994
|
...new Set(
|
|
3995
3995
|
t.captions.map((R) => R.speakerLabel).sort().reverse()
|
|
@@ -3998,11 +3998,11 @@ const Ty = { name: "meeting-icon-speaker", render: by }, xy = { class: "o-meetin
|
|
|
3998
3998
|
bt(
|
|
3999
3999
|
() => n.value,
|
|
4000
4000
|
() => {
|
|
4001
|
-
var U,
|
|
4001
|
+
var U, j;
|
|
4002
4002
|
if (a.value && v.value)
|
|
4003
4003
|
return;
|
|
4004
4004
|
const R = (U = r.value) == null ? void 0 : U.querySelectorAll(".captions-item")[n.value - 1];
|
|
4005
|
-
(
|
|
4005
|
+
(j = r.value) == null || j.scrollTo({
|
|
4006
4006
|
top: (R == null ? void 0 : R.offsetTop) - 16,
|
|
4007
4007
|
behavior: "smooth"
|
|
4008
4008
|
});
|
|
@@ -4010,27 +4010,27 @@ const Ty = { name: "meeting-icon-speaker", render: by }, xy = { class: "o-meetin
|
|
|
4010
4010
|
), tn(() => {
|
|
4011
4011
|
r.value && r.value.removeEventListener("wheel", o);
|
|
4012
4012
|
});
|
|
4013
|
-
const
|
|
4013
|
+
const G = (R, U) => {
|
|
4014
4014
|
var ae, te, se, Q, pe, re;
|
|
4015
|
-
const
|
|
4016
|
-
ne == null || ne.classList.remove("light-keyword-active"),
|
|
4017
|
-
const ie =
|
|
4015
|
+
const j = document.getElementsByClassName("light-keyword")[R - 1], ne = document.getElementsByClassName("light-keyword")[R - U];
|
|
4016
|
+
ne == null || ne.classList.remove("light-keyword-active"), j == null || j.classList.add("light-keyword-active");
|
|
4017
|
+
const ie = j.offsetTop + j.offsetHeight < ((ae = r.value) == null ? void 0 : ae.scrollTop), ee = j.offsetTop > ((te = r.value) == null ? void 0 : te.offsetHeight) + ((se = r.value) == null ? void 0 : se.scrollTop);
|
|
4018
4018
|
(ie || ee) && ((re = r.value) == null || re.scrollTo({
|
|
4019
|
-
top: (pe = (Q =
|
|
4019
|
+
top: (pe = (Q = j.parentElement) == null ? void 0 : Q.parentElement) == null ? void 0 : pe.offsetTop,
|
|
4020
4020
|
behavior: "smooth"
|
|
4021
4021
|
}));
|
|
4022
4022
|
}, W = () => {
|
|
4023
|
-
!T.value || A.value === 1 || (A.value--,
|
|
4023
|
+
!T.value || A.value === 1 || (A.value--, G(A.value, 0));
|
|
4024
4024
|
}, D = (R) => {
|
|
4025
|
-
R != null && R.shiftKey || !T.value || A.value === T.value || (A.value++,
|
|
4025
|
+
R != null && R.shiftKey || !T.value || A.value === T.value || (A.value++, G(A.value, 2));
|
|
4026
4026
|
}, S = Ss((R) => {
|
|
4027
4027
|
c.value = t.captions.filter((U) => L.value.includes(U.speakerLabel)).map((U) => ({
|
|
4028
4028
|
...U,
|
|
4029
4029
|
contentHtml: R ? U.contentHtml.replaceAll(R, `<span class="light-keyword">${R}</span>`) : U.contentHtml
|
|
4030
4030
|
})), $t(() => {
|
|
4031
|
-
var
|
|
4031
|
+
var j;
|
|
4032
4032
|
const U = document.getElementsByClassName("light-keyword");
|
|
4033
|
-
T.value = U.length, T.value ? D() : (
|
|
4033
|
+
T.value = U.length, T.value ? D() : (j = r.value) == null || j.scrollTo({
|
|
4034
4034
|
top: 0,
|
|
4035
4035
|
behavior: "smooth"
|
|
4036
4036
|
});
|
|
@@ -4061,7 +4061,7 @@ const Ty = { name: "meeting-icon-speaker", render: by }, xy = { class: "o-meetin
|
|
|
4061
4061
|
C("div", Sy, [
|
|
4062
4062
|
q(h(Ls), {
|
|
4063
4063
|
modelValue: v.value,
|
|
4064
|
-
"onUpdate:modelValue": U[1] || (U[1] = (
|
|
4064
|
+
"onUpdate:modelValue": U[1] || (U[1] = (j) => v.value = j),
|
|
4065
4065
|
onKeydown: [
|
|
4066
4066
|
cd(D, ["enter"]),
|
|
4067
4067
|
cd(Zt(W, ["shift", "stop"]), ["enter"])
|
|
@@ -4096,7 +4096,7 @@ const Ty = { name: "meeting-icon-speaker", render: by }, xy = { class: "o-meetin
|
|
|
4096
4096
|
q(h(Gi), { direction: "v" }),
|
|
4097
4097
|
q(h(Re), {
|
|
4098
4098
|
class: "hover-close",
|
|
4099
|
-
onClick: U[0] || (U[0] = (
|
|
4099
|
+
onClick: U[0] || (U[0] = (j) => v.value = "")
|
|
4100
4100
|
}, {
|
|
4101
4101
|
default: w(() => [
|
|
4102
4102
|
q(h(Nu))
|
|
@@ -4111,7 +4111,7 @@ const Ty = { name: "meeting-icon-speaker", render: by }, xy = { class: "o-meetin
|
|
|
4111
4111
|
q(h(F0), {
|
|
4112
4112
|
multiple: "",
|
|
4113
4113
|
modelValue: L.value,
|
|
4114
|
-
"onUpdate:modelValue": U[3] || (U[3] = (
|
|
4114
|
+
"onUpdate:modelValue": U[3] || (U[3] = (j) => L.value = j),
|
|
4115
4115
|
"popper-class": "speakers-selector-popper",
|
|
4116
4116
|
class: "speakers-selector",
|
|
4117
4117
|
placement: "bottom"
|
|
@@ -4127,7 +4127,7 @@ const Ty = { name: "meeting-icon-speaker", render: by }, xy = { class: "o-meetin
|
|
|
4127
4127
|
header: w(() => [
|
|
4128
4128
|
q(h(_d), {
|
|
4129
4129
|
modelValue: I.value,
|
|
4130
|
-
"onUpdate:modelValue": U[2] || (U[2] = (
|
|
4130
|
+
"onUpdate:modelValue": U[2] || (U[2] = (j) => I.value = j),
|
|
4131
4131
|
indeterminate: B.value,
|
|
4132
4132
|
onChange: H
|
|
4133
4133
|
}, {
|
|
@@ -4138,17 +4138,17 @@ const Ty = { name: "meeting-icon-speaker", render: by }, xy = { class: "o-meetin
|
|
|
4138
4138
|
}, 8, ["modelValue", "indeterminate"])
|
|
4139
4139
|
]),
|
|
4140
4140
|
default: w(() => [
|
|
4141
|
-
(x(!0), M(De, null, ze(F.value, (
|
|
4142
|
-
key:
|
|
4143
|
-
label:
|
|
4144
|
-
value:
|
|
4141
|
+
(x(!0), M(De, null, ze(F.value, (j) => (x(), ge(h(U0), {
|
|
4142
|
+
key: j,
|
|
4143
|
+
label: j,
|
|
4144
|
+
value: j
|
|
4145
4145
|
}, {
|
|
4146
4146
|
default: w(() => [
|
|
4147
4147
|
q(h(_d), {
|
|
4148
|
-
"model-value": L.value.includes(
|
|
4148
|
+
"model-value": L.value.includes(j)
|
|
4149
4149
|
}, {
|
|
4150
4150
|
default: w(() => [
|
|
4151
|
-
Oe(z(
|
|
4151
|
+
Oe(z(j), 1)
|
|
4152
4152
|
]),
|
|
4153
4153
|
_: 2
|
|
4154
4154
|
}, 1032, ["model-value"])
|
|
@@ -4162,7 +4162,7 @@ const Ty = { name: "meeting-icon-speaker", render: by }, xy = { class: "o-meetin
|
|
|
4162
4162
|
]),
|
|
4163
4163
|
q(h(Jr), {
|
|
4164
4164
|
modelValue: E.value,
|
|
4165
|
-
"onUpdate:modelValue": U[4] || (U[4] = (
|
|
4165
|
+
"onUpdate:modelValue": U[4] || (U[4] = (j) => E.value = j),
|
|
4166
4166
|
variant: "text",
|
|
4167
4167
|
class: "captions-tab",
|
|
4168
4168
|
onChange: b,
|
|
@@ -4188,19 +4188,19 @@ const Ty = { name: "meeting-icon-speaker", render: by }, xy = { class: "o-meetin
|
|
|
4188
4188
|
wrap: "wrap"
|
|
4189
4189
|
}, {
|
|
4190
4190
|
default: w(() => [
|
|
4191
|
-
(x(!0), M(De, null, ze(c.value, (
|
|
4191
|
+
(x(!0), M(De, null, ze(c.value, (j, ne) => (x(), ge(h(Fg), {
|
|
4192
4192
|
flex: "0 0 100%",
|
|
4193
4193
|
key: ne
|
|
4194
4194
|
}, {
|
|
4195
4195
|
default: w(() => [
|
|
4196
4196
|
C("div", {
|
|
4197
4197
|
class: Ne(["captions-item", { "captions-item-active": n.value === ne + 1 }]),
|
|
4198
|
-
onClick: (ie) => P(
|
|
4198
|
+
onClick: (ie) => P(j.start_time)
|
|
4199
4199
|
}, [
|
|
4200
4200
|
C("div", ky, [
|
|
4201
|
-
C("div", Dy, z(
|
|
4202
|
-
C("div", Ay, z(
|
|
4203
|
-
C("div", Iy, z(m(
|
|
4201
|
+
C("div", Dy, z(j.speakerIdx), 1),
|
|
4202
|
+
C("div", Ay, z(j.speakerLabel), 1),
|
|
4203
|
+
C("div", Iy, z(m(j.start_time)), 1),
|
|
4204
4204
|
n.value === ne + 1 ? (x(), ge(h(Re), {
|
|
4205
4205
|
key: 0,
|
|
4206
4206
|
class: "playing initial-fill"
|
|
@@ -4212,7 +4212,7 @@ const Ty = { name: "meeting-icon-speaker", render: by }, xy = { class: "o-meetin
|
|
|
4212
4212
|
})) : he("", !0)
|
|
4213
4213
|
]),
|
|
4214
4214
|
Ms(C("div", Py, null, 512), [
|
|
4215
|
-
[h(e),
|
|
4215
|
+
[h(e), j.contentHtml]
|
|
4216
4216
|
])
|
|
4217
4217
|
], 10, wy)
|
|
4218
4218
|
]),
|
|
@@ -4523,7 +4523,7 @@ function Xy() {
|
|
|
4523
4523
|
T || (T = !0, b.callback(ee, ae, te));
|
|
4524
4524
|
};
|
|
4525
4525
|
function L() {
|
|
4526
|
-
W.readyState === 4 && !c.responseInterceptorsStorage.getIsEnabled() && setTimeout(
|
|
4526
|
+
W.readyState === 4 && !c.responseInterceptorsStorage.getIsEnabled() && setTimeout(G, 0);
|
|
4527
4527
|
}
|
|
4528
4528
|
function O() {
|
|
4529
4529
|
var ie = void 0;
|
|
@@ -4535,7 +4535,7 @@ function Xy() {
|
|
|
4535
4535
|
return ie;
|
|
4536
4536
|
}
|
|
4537
4537
|
function F(ie) {
|
|
4538
|
-
if (clearTimeout(
|
|
4538
|
+
if (clearTimeout(j), clearTimeout(b.retryTimeout), ie instanceof Error || (ie = new Error("" + (ie || "Unknown XMLHttpRequest Error"))), ie.statusCode = 0, !X && c.retryManager.getIsEnabled() && b.retry && b.retry.shouldRetry()) {
|
|
4539
4539
|
b.retryTimeout = setTimeout(function() {
|
|
4540
4540
|
b.retry.moveToNextAttempt(), b.xhr = W, m(b);
|
|
4541
4541
|
}, b.retry.getCurrentFuzzedDelay());
|
|
@@ -4552,10 +4552,10 @@ function Xy() {
|
|
|
4552
4552
|
}
|
|
4553
4553
|
return A(ie, ne);
|
|
4554
4554
|
}
|
|
4555
|
-
function
|
|
4555
|
+
function G() {
|
|
4556
4556
|
if (!X) {
|
|
4557
4557
|
var ie;
|
|
4558
|
-
clearTimeout(
|
|
4558
|
+
clearTimeout(j), clearTimeout(b.retryTimeout), b.useXDR && W.status === void 0 ? ie = 200 : ie = W.status === 1223 ? 204 : W.status;
|
|
4559
4559
|
var ee = ne, ae = null;
|
|
4560
4560
|
if (ie !== 0 ? (ee = {
|
|
4561
4561
|
body: O(),
|
|
@@ -4578,7 +4578,7 @@ function Xy() {
|
|
|
4578
4578
|
}
|
|
4579
4579
|
var W = b.xhr || null;
|
|
4580
4580
|
W || (b.cors || b.useXDR ? W = new c.XDomainRequest() : W = new c.XMLHttpRequest());
|
|
4581
|
-
var D, X, S = W.url = b.uri || b.url, I = W.method = b.method || "GET", B = b.body || b.data, H = W.headers = b.headers || {}, R = !!b.sync, U = !1,
|
|
4581
|
+
var D, X, S = W.url = b.uri || b.url, I = W.method = b.method || "GET", B = b.body || b.data, H = W.headers = b.headers || {}, R = !!b.sync, U = !1, j, ne = {
|
|
4582
4582
|
body: void 0,
|
|
4583
4583
|
headers: {},
|
|
4584
4584
|
statusCode: 0,
|
|
@@ -4586,10 +4586,10 @@ function Xy() {
|
|
|
4586
4586
|
url: S,
|
|
4587
4587
|
rawRequest: W
|
|
4588
4588
|
};
|
|
4589
|
-
if ("json" in b && b.json !== !1 && (U = !0, H.accept || H.Accept || (H.Accept = "application/json"), I !== "GET" && I !== "HEAD" && (H["content-type"] || H["Content-Type"] || (H["Content-Type"] = "application/json"), B = JSON.stringify(b.json === !0 ? B : b.json))), W.onreadystatechange = L, W.onload =
|
|
4589
|
+
if ("json" in b && b.json !== !1 && (U = !0, H.accept || H.Accept || (H.Accept = "application/json"), I !== "GET" && I !== "HEAD" && (H["content-type"] || H["Content-Type"] || (H["Content-Type"] = "application/json"), B = JSON.stringify(b.json === !0 ? B : b.json))), W.onreadystatechange = L, W.onload = G, W.onerror = F, W.onprogress = function() {
|
|
4590
4590
|
}, W.onabort = function() {
|
|
4591
4591
|
X = !0, clearTimeout(b.retryTimeout);
|
|
4592
|
-
}, W.ontimeout = F, W.open(I, S, !R, b.username, b.password), R || (W.withCredentials = !!b.withCredentials), !R && b.timeout > 0 && (
|
|
4592
|
+
}, W.ontimeout = F, W.open(I, S, !R, b.username, b.password), R || (W.withCredentials = !!b.withCredentials), !R && b.timeout > 0 && (j = setTimeout(function() {
|
|
4593
4593
|
if (!X) {
|
|
4594
4594
|
X = !0, W.abort("timeout");
|
|
4595
4595
|
var ie = new Error("XMLHttpRequest timeout");
|
|
@@ -4646,8 +4646,8 @@ function jy() {
|
|
|
4646
4646
|
}
|
|
4647
4647
|
};
|
|
4648
4648
|
function i(S) {
|
|
4649
|
-
function I(H, R, U,
|
|
4650
|
-
return (H | 0) * 3600 + (R | 0) * 60 + (U | 0) + (
|
|
4649
|
+
function I(H, R, U, j) {
|
|
4650
|
+
return (H | 0) * 3600 + (R | 0) * 60 + (U | 0) + (j | 0) / 1e3;
|
|
4651
4651
|
}
|
|
4652
4652
|
var B = S.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);
|
|
4653
4653
|
return B ? B[3] ? I(B[1], B[2], B[3].replace(":", ""), B[4]) : B[1] > 59 ? I(B[1], B[2], 0, B[4]) : I(0, B[1], B[2], B[4]) : null;
|
|
@@ -4693,9 +4693,9 @@ function jy() {
|
|
|
4693
4693
|
var R = H ? S.split(H) : [S];
|
|
4694
4694
|
for (var U in R)
|
|
4695
4695
|
if (typeof R[U] == "string") {
|
|
4696
|
-
var
|
|
4697
|
-
if (
|
|
4698
|
-
var ne =
|
|
4696
|
+
var j = R[U].split(B);
|
|
4697
|
+
if (j.length === 2) {
|
|
4698
|
+
var ne = j[0].trim(), ie = j[1].trim();
|
|
4699
4699
|
I(ne, ie);
|
|
4700
4700
|
}
|
|
4701
4701
|
}
|
|
@@ -4771,15 +4771,15 @@ function jy() {
|
|
|
4771
4771
|
right: "end"
|
|
4772
4772
|
}, ie.align);
|
|
4773
4773
|
}
|
|
4774
|
-
function
|
|
4774
|
+
function j() {
|
|
4775
4775
|
S = S.replace(/^\s+/, "");
|
|
4776
4776
|
}
|
|
4777
|
-
if (
|
|
4777
|
+
if (j(), I.startTime = R(), j(), S.substr(0, 3) !== "-->")
|
|
4778
4778
|
throw new t(
|
|
4779
4779
|
t.Errors.BadTimeStamp,
|
|
4780
4780
|
"Malformed time stamp (time stamps must be separated by '-->'): " + H
|
|
4781
4781
|
);
|
|
4782
|
-
S = S.substr(3),
|
|
4782
|
+
S = S.substr(3), j(), I.endTime = R(), j(), U(S, I);
|
|
4783
4783
|
}
|
|
4784
4784
|
var o = s.createElement && s.createElement("textarea"), u = {
|
|
4785
4785
|
c: "span",
|
|
@@ -4828,7 +4828,7 @@ function jy() {
|
|
|
4828
4828
|
var de = S.document.createElement(le), ye = m[pe];
|
|
4829
4829
|
return ye && re && (de[ye] = re.trim()), de;
|
|
4830
4830
|
}
|
|
4831
|
-
for (var
|
|
4831
|
+
for (var j = S.document.createElement("div"), ne = j, ie, ee = []; (ie = B()) !== null; ) {
|
|
4832
4832
|
if (ie[0] === "<") {
|
|
4833
4833
|
if (ie[1] === "/") {
|
|
4834
4834
|
ee.length && ee[ee.length - 1] === ie.substr(2).replace(">", "") && (ee.pop(), ne = ne.parentNode);
|
|
@@ -4857,7 +4857,7 @@ function jy() {
|
|
|
4857
4857
|
}
|
|
4858
4858
|
ne.appendChild(S.document.createTextNode(H(ie)));
|
|
4859
4859
|
}
|
|
4860
|
-
return
|
|
4860
|
+
return j;
|
|
4861
4861
|
}
|
|
4862
4862
|
var b = [
|
|
4863
4863
|
[1470, 1470],
|
|
@@ -4996,8 +4996,8 @@ function jy() {
|
|
|
4996
4996
|
return R(ne, ie), U(ne);
|
|
4997
4997
|
}
|
|
4998
4998
|
for (R(I, S); B = U(I); )
|
|
4999
|
-
for (var
|
|
5000
|
-
if (H = B.charCodeAt(
|
|
4999
|
+
for (var j = 0; j < B.length; j++)
|
|
5000
|
+
if (H = B.charCodeAt(j), P(H))
|
|
5001
5001
|
return "rtl";
|
|
5002
5002
|
return "ltr";
|
|
5003
5003
|
}
|
|
@@ -5155,10 +5155,10 @@ function jy() {
|
|
|
5155
5155
|
}
|
|
5156
5156
|
return ye || Ee;
|
|
5157
5157
|
}
|
|
5158
|
-
var U = new O(I),
|
|
5159
|
-
if (
|
|
5158
|
+
var U = new O(I), j = I.cue, ne = T(j), ie = [];
|
|
5159
|
+
if (j.snapToLines) {
|
|
5160
5160
|
var ee;
|
|
5161
|
-
switch (
|
|
5161
|
+
switch (j.vertical) {
|
|
5162
5162
|
case "":
|
|
5163
5163
|
ie = ["+y", "-y"], ee = "height";
|
|
5164
5164
|
break;
|
|
@@ -5170,10 +5170,10 @@ function jy() {
|
|
|
5170
5170
|
break;
|
|
5171
5171
|
}
|
|
5172
5172
|
var ae = U.lineHeight, te = ae * Math.round(ne), se = B[ee] + ae, Q = ie[0];
|
|
5173
|
-
Math.abs(te) > se && (te = te < 0 ? -1 : 1, te *= Math.ceil(se / ae) * ae), ne < 0 && (te +=
|
|
5173
|
+
Math.abs(te) > se && (te = te < 0 ? -1 : 1, te *= Math.ceil(se / ae) * ae), ne < 0 && (te += j.vertical === "" ? B.height : B.width, ie = ie.reverse()), U.move(Q, te);
|
|
5174
5174
|
} else {
|
|
5175
5175
|
var pe = U.lineHeight / B.height * 100;
|
|
5176
|
-
switch (
|
|
5176
|
+
switch (j.lineAlign) {
|
|
5177
5177
|
case "center":
|
|
5178
5178
|
ne -= pe / 2;
|
|
5179
5179
|
break;
|
|
@@ -5181,7 +5181,7 @@ function jy() {
|
|
|
5181
5181
|
ne -= pe;
|
|
5182
5182
|
break;
|
|
5183
5183
|
}
|
|
5184
|
-
switch (
|
|
5184
|
+
switch (j.vertical) {
|
|
5185
5185
|
case "":
|
|
5186
5186
|
I.applyStyles({
|
|
5187
5187
|
top: I.formatStyle(ne, "%")
|
|
@@ -5203,9 +5203,9 @@ function jy() {
|
|
|
5203
5203
|
var re = R(U, ie);
|
|
5204
5204
|
I.move(re.toCSSCompatValues(B));
|
|
5205
5205
|
}
|
|
5206
|
-
function
|
|
5206
|
+
function G() {
|
|
5207
5207
|
}
|
|
5208
|
-
|
|
5208
|
+
G.StringDecoder = function() {
|
|
5209
5209
|
return {
|
|
5210
5210
|
decode: function(S) {
|
|
5211
5211
|
if (!S)
|
|
@@ -5215,11 +5215,11 @@ function jy() {
|
|
|
5215
5215
|
return decodeURIComponent(encodeURIComponent(S));
|
|
5216
5216
|
}
|
|
5217
5217
|
};
|
|
5218
|
-
},
|
|
5218
|
+
}, G.convertCueToDOMTree = function(S, I) {
|
|
5219
5219
|
return !S || !I ? null : E(S, I);
|
|
5220
5220
|
};
|
|
5221
5221
|
var W = 0.05, D = "sans-serif", X = "1.5%";
|
|
5222
|
-
return
|
|
5222
|
+
return G.processCues = function(S, I, B) {
|
|
5223
5223
|
if (!S || !I || !B)
|
|
5224
5224
|
return null;
|
|
5225
5225
|
for (; B.firstChild; )
|
|
@@ -5237,16 +5237,16 @@ function jy() {
|
|
|
5237
5237
|
H.appendChild(I[U].displayState);
|
|
5238
5238
|
return;
|
|
5239
5239
|
}
|
|
5240
|
-
var
|
|
5240
|
+
var j = [], ne = O.getSimpleBoxPosition(H), ie = Math.round(ne.height * W * 100) / 100, ee = {
|
|
5241
5241
|
font: ie + "px " + D
|
|
5242
5242
|
};
|
|
5243
5243
|
(function() {
|
|
5244
5244
|
for (var ae, te, se = 0; se < I.length; se++)
|
|
5245
|
-
te = I[se], ae = new L(S, te, ee), H.appendChild(ae.div), F(S, ae, ne,
|
|
5245
|
+
te = I[se], ae = new L(S, te, ee), H.appendChild(ae.div), F(S, ae, ne, j), te.displayState = ae.div, j.push(O.getSimpleBoxPosition(ae));
|
|
5246
5246
|
})();
|
|
5247
|
-
},
|
|
5247
|
+
}, G.Parser = function(S, I, B) {
|
|
5248
5248
|
B || (B = I, I = {}), I || (I = {}), this.window = S, this.vttjs = I, this.state = "INITIAL", this.buffer = "", this.decoder = B || new TextDecoder("utf8"), this.regionList = [];
|
|
5249
|
-
},
|
|
5249
|
+
}, G.Parser.prototype = {
|
|
5250
5250
|
// If the error is a ParsingError then report it to the consumer if
|
|
5251
5251
|
// possible. If it's not a ParsingError then throw it like normal.
|
|
5252
5252
|
reportOrThrowError: function(S) {
|
|
@@ -5333,12 +5333,12 @@ function jy() {
|
|
|
5333
5333
|
}, /:/);
|
|
5334
5334
|
}
|
|
5335
5335
|
try {
|
|
5336
|
-
var
|
|
5336
|
+
var j;
|
|
5337
5337
|
if (I.state === "INITIAL") {
|
|
5338
5338
|
if (!/\r\n|\n/.test(I.buffer))
|
|
5339
5339
|
return this;
|
|
5340
|
-
|
|
5341
|
-
var ne =
|
|
5340
|
+
j = B();
|
|
5341
|
+
var ne = j.match(/^WEBVTT([ \t].*)?$/);
|
|
5342
5342
|
if (!ne || !ne[0])
|
|
5343
5343
|
throw new t(t.Errors.BadSignature);
|
|
5344
5344
|
I.state = "HEADER";
|
|
@@ -5346,19 +5346,19 @@ function jy() {
|
|
|
5346
5346
|
for (var ie = !1; I.buffer; ) {
|
|
5347
5347
|
if (!/\r\n|\n/.test(I.buffer))
|
|
5348
5348
|
return this;
|
|
5349
|
-
switch (ie ? ie = !1 :
|
|
5349
|
+
switch (ie ? ie = !1 : j = B(), I.state) {
|
|
5350
5350
|
case "HEADER":
|
|
5351
|
-
/:/.test(
|
|
5351
|
+
/:/.test(j) ? U(j) : j || (I.state = "ID");
|
|
5352
5352
|
continue;
|
|
5353
5353
|
case "NOTE":
|
|
5354
|
-
|
|
5354
|
+
j || (I.state = "ID");
|
|
5355
5355
|
continue;
|
|
5356
5356
|
case "ID":
|
|
5357
|
-
if (/^NOTE($|[ \t])/.test(
|
|
5357
|
+
if (/^NOTE($|[ \t])/.test(j)) {
|
|
5358
5358
|
I.state = "NOTE";
|
|
5359
5359
|
break;
|
|
5360
5360
|
}
|
|
5361
|
-
if (!
|
|
5361
|
+
if (!j)
|
|
5362
5362
|
continue;
|
|
5363
5363
|
I.cue = new (I.vttjs.VTTCue || I.window.VTTCue)(0, 0, "");
|
|
5364
5364
|
try {
|
|
@@ -5366,15 +5366,15 @@ function jy() {
|
|
|
5366
5366
|
} catch {
|
|
5367
5367
|
I.cue.align = "middle";
|
|
5368
5368
|
}
|
|
5369
|
-
if (I.state = "CUE",
|
|
5370
|
-
I.cue.id =
|
|
5369
|
+
if (I.state = "CUE", j.indexOf("-->") === -1) {
|
|
5370
|
+
I.cue.id = j;
|
|
5371
5371
|
continue;
|
|
5372
5372
|
}
|
|
5373
5373
|
// Process line as start of a cue.
|
|
5374
5374
|
/*falls through*/
|
|
5375
5375
|
case "CUE":
|
|
5376
5376
|
try {
|
|
5377
|
-
a(
|
|
5377
|
+
a(j, I.cue, I.regionList);
|
|
5378
5378
|
} catch (ae) {
|
|
5379
5379
|
I.reportOrThrowError(ae), I.cue = null, I.state = "BADCUE";
|
|
5380
5380
|
continue;
|
|
@@ -5382,18 +5382,18 @@ function jy() {
|
|
|
5382
5382
|
I.state = "CUETEXT";
|
|
5383
5383
|
continue;
|
|
5384
5384
|
case "CUETEXT":
|
|
5385
|
-
var ee =
|
|
5386
|
-
if (!
|
|
5385
|
+
var ee = j.indexOf("-->") !== -1;
|
|
5386
|
+
if (!j || ee && (ie = !0)) {
|
|
5387
5387
|
I.oncue && I.oncue(I.cue), I.cue = null, I.state = "ID";
|
|
5388
5388
|
continue;
|
|
5389
5389
|
}
|
|
5390
5390
|
I.cue.text && (I.cue.text += `
|
|
5391
|
-
`), I.cue.text +=
|
|
5391
|
+
`), I.cue.text += j.replace(/\u2028/g, `
|
|
5392
5392
|
`).replace(/u2029/g, `
|
|
5393
5393
|
`);
|
|
5394
5394
|
continue;
|
|
5395
5395
|
case "BADCUE":
|
|
5396
|
-
|
|
5396
|
+
j || (I.state = "ID");
|
|
5397
5397
|
continue;
|
|
5398
5398
|
}
|
|
5399
5399
|
}
|
|
@@ -5414,7 +5414,7 @@ function jy() {
|
|
|
5414
5414
|
}
|
|
5415
5415
|
return S.onflush && S.onflush(), this;
|
|
5416
5416
|
}
|
|
5417
|
-
}, wl =
|
|
5417
|
+
}, wl = G, wl;
|
|
5418
5418
|
}
|
|
5419
5419
|
var kl, Gd;
|
|
5420
5420
|
function Gy() {
|
|
@@ -5448,7 +5448,7 @@ function Gy() {
|
|
|
5448
5448
|
}
|
|
5449
5449
|
function r(a, o, u) {
|
|
5450
5450
|
this.hasBeenReset = !1;
|
|
5451
|
-
var c = "", m = !1, g = a, E = o, b = u, P = null, v = "", T = !0, A = "auto", L = "start", O = "auto", F = "auto",
|
|
5451
|
+
var c = "", m = !1, g = a, E = o, b = u, P = null, v = "", T = !0, A = "auto", L = "start", O = "auto", F = "auto", G = 100, W = "center";
|
|
5452
5452
|
Object.defineProperties(this, {
|
|
5453
5453
|
id: {
|
|
5454
5454
|
enumerable: !0,
|
|
@@ -5574,12 +5574,12 @@ function Gy() {
|
|
|
5574
5574
|
size: {
|
|
5575
5575
|
enumerable: !0,
|
|
5576
5576
|
get: function() {
|
|
5577
|
-
return
|
|
5577
|
+
return G;
|
|
5578
5578
|
},
|
|
5579
5579
|
set: function(D) {
|
|
5580
5580
|
if (D < 0 || D > 100)
|
|
5581
5581
|
throw new Error("Size must be between 0 and 100.");
|
|
5582
|
-
|
|
5582
|
+
G = D, this.hasBeenReset = !0;
|
|
5583
5583
|
}
|
|
5584
5584
|
},
|
|
5585
5585
|
align: {
|
|
@@ -6403,8 +6403,8 @@ class s_ extends Bu {
|
|
|
6403
6403
|
const L = this.manifest.segments.length, O = $s(v.attributes);
|
|
6404
6404
|
n.parts = n.parts || [], n.parts.push(O), O.byterange && (O.byterange.hasOwnProperty("offset") || (O.byterange.offset = b), b = O.byterange.offset + O.byterange.length);
|
|
6405
6405
|
const F = n.parts.length - 1;
|
|
6406
|
-
this.warnOnMissingAttributes_(`#EXT-X-PART #${F} for segment #${L}`, v.attributes, ["URI", "DURATION"]), this.manifest.renditionReports && this.manifest.renditionReports.forEach((
|
|
6407
|
-
|
|
6406
|
+
this.warnOnMissingAttributes_(`#EXT-X-PART #${F} for segment #${L}`, v.attributes, ["URI", "DURATION"]), this.manifest.renditionReports && this.manifest.renditionReports.forEach((G, W) => {
|
|
6407
|
+
G.hasOwnProperty("lastPart") || this.trigger("warn", {
|
|
6408
6408
|
message: `#EXT-X-RENDITION-REPORT #${W} lacks required attribute(s): LAST-PART`
|
|
6409
6409
|
});
|
|
6410
6410
|
});
|
|
@@ -6420,12 +6420,12 @@ class s_ extends Bu {
|
|
|
6420
6420
|
"preload-hint"() {
|
|
6421
6421
|
const L = this.manifest.segments.length, O = $s(v.attributes), F = O.type && O.type === "PART";
|
|
6422
6422
|
n.preloadHints = n.preloadHints || [], n.preloadHints.push(O), O.byterange && (O.byterange.hasOwnProperty("offset") || (O.byterange.offset = F ? b : 0, F && (b = O.byterange.offset + O.byterange.length)));
|
|
6423
|
-
const
|
|
6424
|
-
if (this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${
|
|
6423
|
+
const G = n.preloadHints.length - 1;
|
|
6424
|
+
if (this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${G} for segment #${L}`, v.attributes, ["TYPE", "URI"]), !!O.type)
|
|
6425
6425
|
for (let W = 0; W < n.preloadHints.length - 1; W++) {
|
|
6426
6426
|
const D = n.preloadHints[W];
|
|
6427
6427
|
D.type && D.type === O.type && this.trigger("warn", {
|
|
6428
|
-
message: `#EXT-X-PRELOAD-HINT #${
|
|
6428
|
+
message: `#EXT-X-PRELOAD-HINT #${G} for segment #${L} has the same TYPE ${O.type} as preload hint #${W}`
|
|
6429
6429
|
});
|
|
6430
6430
|
}
|
|
6431
6431
|
},
|
|
@@ -6469,8 +6469,8 @@ class s_ extends Bu {
|
|
|
6469
6469
|
});
|
|
6470
6470
|
break;
|
|
6471
6471
|
}
|
|
6472
|
-
const
|
|
6473
|
-
this.manifest.dateRanges[
|
|
6472
|
+
const G = this.manifest.dateRanges.findIndex((W) => W.id === O.id);
|
|
6473
|
+
this.manifest.dateRanges[G] = Ut(this.manifest.dateRanges[G], O), P[O.id] = Ut(P[O.id], O), this.manifest.dateRanges.pop();
|
|
6474
6474
|
}
|
|
6475
6475
|
},
|
|
6476
6476
|
"independent-segments"() {
|
|
@@ -6935,7 +6935,7 @@ function lf() {
|
|
|
6935
6935
|
}
|
|
6936
6936
|
Z.constructor != k && (typeof k != "function" && console.error("unknown Class:" + k), Z.constructor = k);
|
|
6937
6937
|
}
|
|
6938
|
-
var m = {}, g = m.ELEMENT_NODE = 1, E = m.ATTRIBUTE_NODE = 2, b = m.TEXT_NODE = 3, P = m.CDATA_SECTION_NODE = 4, v = m.ENTITY_REFERENCE_NODE = 5, T = m.ENTITY_NODE = 6, A = m.PROCESSING_INSTRUCTION_NODE = 7, L = m.COMMENT_NODE = 8, O = m.DOCUMENT_NODE = 9, F = m.DOCUMENT_TYPE_NODE = 10,
|
|
6938
|
+
var m = {}, g = m.ELEMENT_NODE = 1, E = m.ATTRIBUTE_NODE = 2, b = m.TEXT_NODE = 3, P = m.CDATA_SECTION_NODE = 4, v = m.ENTITY_REFERENCE_NODE = 5, T = m.ENTITY_NODE = 6, A = m.PROCESSING_INSTRUCTION_NODE = 7, L = m.COMMENT_NODE = 8, O = m.DOCUMENT_NODE = 9, F = m.DOCUMENT_TYPE_NODE = 10, G = m.DOCUMENT_FRAGMENT_NODE = 11, W = m.NOTATION_NODE = 12, D = {}, X = {};
|
|
6939
6939
|
D.INDEX_SIZE_ERR = (X[1] = "Index size error", 1), D.DOMSTRING_SIZE_ERR = (X[2] = "DOMString size error", 2);
|
|
6940
6940
|
var S = D.HIERARCHY_REQUEST_ERR = (X[3] = "Hierarchy request error", 3);
|
|
6941
6941
|
D.WRONG_DOCUMENT_ERR = (X[4] = "Wrong document", 4);
|
|
@@ -6994,7 +6994,7 @@ function lf() {
|
|
|
6994
6994
|
return Array.prototype.indexOf.call(this, k);
|
|
6995
6995
|
}
|
|
6996
6996
|
};
|
|
6997
|
-
function
|
|
6997
|
+
function j(k, V) {
|
|
6998
6998
|
this._node = k, this._refresh = V, ne(this);
|
|
6999
6999
|
}
|
|
7000
7000
|
function ne(k) {
|
|
@@ -7007,9 +7007,9 @@ function lf() {
|
|
|
7007
7007
|
u(Z, k), k._inc = V;
|
|
7008
7008
|
}
|
|
7009
7009
|
}
|
|
7010
|
-
|
|
7010
|
+
j.prototype.item = function(k) {
|
|
7011
7011
|
return ne(this), this[k] || null;
|
|
7012
|
-
}, c(
|
|
7012
|
+
}, c(j, U);
|
|
7013
7013
|
function ie() {
|
|
7014
7014
|
}
|
|
7015
7015
|
function ee(k, V) {
|
|
@@ -7386,7 +7386,7 @@ function lf() {
|
|
|
7386
7386
|
function Be(k, V, Z, me) {
|
|
7387
7387
|
Lt(k, V, Z), k.nodeType === Q.DOCUMENT_NODE && (me || pt)(k, V, Z);
|
|
7388
7388
|
var qe = V.parentNode;
|
|
7389
|
-
if (qe && qe.removeChild(V), V.nodeType ===
|
|
7389
|
+
if (qe && qe.removeChild(V), V.nodeType === G) {
|
|
7390
7390
|
var tt = V.firstChild;
|
|
7391
7391
|
if (tt == null)
|
|
7392
7392
|
return V;
|
|
@@ -7400,7 +7400,7 @@ function lf() {
|
|
|
7400
7400
|
var _i = k.ownerDocument || k;
|
|
7401
7401
|
we(tt, _i);
|
|
7402
7402
|
} while (tt !== _t && (tt = tt.nextSibling));
|
|
7403
|
-
return Ee(k.ownerDocument || k, k), V.nodeType ==
|
|
7403
|
+
return Ee(k.ownerDocument || k, k), V.nodeType == G && (V.firstChild = V.lastChild = null), V;
|
|
7404
7404
|
}
|
|
7405
7405
|
function we(k, V) {
|
|
7406
7406
|
if (k.ownerDocument !== V) {
|
|
@@ -7432,7 +7432,7 @@ function lf() {
|
|
|
7432
7432
|
documentElement: null,
|
|
7433
7433
|
_inc: 1,
|
|
7434
7434
|
insertBefore: function(k, V) {
|
|
7435
|
-
if (k.nodeType ==
|
|
7435
|
+
if (k.nodeType == G) {
|
|
7436
7436
|
for (var Z = k.firstChild; Z; ) {
|
|
7437
7437
|
var me = Z.nextSibling;
|
|
7438
7438
|
this.insertBefore(Z, V), Z = me;
|
|
@@ -7478,7 +7478,7 @@ function lf() {
|
|
|
7478
7478
|
*/
|
|
7479
7479
|
getElementsByClassName: function(k) {
|
|
7480
7480
|
var V = a(k);
|
|
7481
|
-
return new
|
|
7481
|
+
return new j(this, function(Z) {
|
|
7482
7482
|
var me = [];
|
|
7483
7483
|
return V.length > 0 && re(Z.documentElement, function(qe) {
|
|
7484
7484
|
if (qe !== Z && qe.nodeType === g) {
|
|
@@ -7580,7 +7580,7 @@ function lf() {
|
|
|
7580
7580
|
},
|
|
7581
7581
|
//four real opeartion method
|
|
7582
7582
|
appendChild: function(k) {
|
|
7583
|
-
return k.nodeType ===
|
|
7583
|
+
return k.nodeType === G ? this.insertBefore(k, null) : st(this, k);
|
|
7584
7584
|
},
|
|
7585
7585
|
setAttributeNode: function(k) {
|
|
7586
7586
|
return this.attributes.setNamedItem(k);
|
|
@@ -7611,7 +7611,7 @@ function lf() {
|
|
|
7611
7611
|
return this.attributes.getNamedItemNS(k, V);
|
|
7612
7612
|
},
|
|
7613
7613
|
getElementsByTagName: function(k) {
|
|
7614
|
-
return new
|
|
7614
|
+
return new j(this, function(V) {
|
|
7615
7615
|
var Z = [];
|
|
7616
7616
|
return re(V, function(me) {
|
|
7617
7617
|
me !== V && me.nodeType == g && (k === "*" || me.tagName == k) && Z.push(me);
|
|
@@ -7619,7 +7619,7 @@ function lf() {
|
|
|
7619
7619
|
});
|
|
7620
7620
|
},
|
|
7621
7621
|
getElementsByTagNameNS: function(k, V) {
|
|
7622
|
-
return new
|
|
7622
|
+
return new j(this, function(Z) {
|
|
7623
7623
|
var me = [];
|
|
7624
7624
|
return re(Z, function(qe) {
|
|
7625
7625
|
qe !== Z && qe.nodeType === g && (k === "*" || qe.namespaceURI === k) && (V === "*" || qe.localName == V) && me.push(qe);
|
|
@@ -7692,7 +7692,7 @@ function lf() {
|
|
|
7692
7692
|
Ze.prototype.nodeType = v, c(Ze, Q);
|
|
7693
7693
|
function ei() {
|
|
7694
7694
|
}
|
|
7695
|
-
ei.prototype.nodeName = "#document-fragment", ei.prototype.nodeType =
|
|
7695
|
+
ei.prototype.nodeName = "#document-fragment", ei.prototype.nodeType = G, c(ei, Q);
|
|
7696
7696
|
function Vt() {
|
|
7697
7697
|
}
|
|
7698
7698
|
Vt.prototype.nodeType = A, c(Vt, Q);
|
|
@@ -7793,7 +7793,7 @@ function lf() {
|
|
|
7793
7793
|
V.push("/>");
|
|
7794
7794
|
return;
|
|
7795
7795
|
case O:
|
|
7796
|
-
case
|
|
7796
|
+
case G:
|
|
7797
7797
|
for (var wt = k.firstChild; wt; )
|
|
7798
7798
|
ui(wt, V, Z, me, qe.slice()), wt = wt.nextSibling;
|
|
7799
7799
|
return;
|
|
@@ -7838,7 +7838,7 @@ function lf() {
|
|
|
7838
7838
|
//for(var i=0;i<len;i++){
|
|
7839
7839
|
//node2.setAttributeNodeNS(importNode(doc,attrs.item(i),deep));
|
|
7840
7840
|
//}
|
|
7841
|
-
case
|
|
7841
|
+
case G:
|
|
7842
7842
|
break;
|
|
7843
7843
|
case E:
|
|
7844
7844
|
Z = !0;
|
|
@@ -7879,7 +7879,7 @@ function lf() {
|
|
|
7879
7879
|
let k = function(V) {
|
|
7880
7880
|
switch (V.nodeType) {
|
|
7881
7881
|
case g:
|
|
7882
|
-
case
|
|
7882
|
+
case G:
|
|
7883
7883
|
var Z = [];
|
|
7884
7884
|
for (V = V.firstChild; V; )
|
|
7885
7885
|
V.nodeType !== 7 && V.nodeType !== 8 && Z.push(k(V)), V = V.nextSibling;
|
|
@@ -7888,7 +7888,7 @@ function lf() {
|
|
|
7888
7888
|
return V.nodeValue;
|
|
7889
7889
|
}
|
|
7890
7890
|
};
|
|
7891
|
-
Object.defineProperty(
|
|
7891
|
+
Object.defineProperty(j.prototype, "length", {
|
|
7892
7892
|
get: function() {
|
|
7893
7893
|
return ne(this), this.$$length;
|
|
7894
7894
|
}
|
|
@@ -7899,7 +7899,7 @@ function lf() {
|
|
|
7899
7899
|
set: function(V) {
|
|
7900
7900
|
switch (this.nodeType) {
|
|
7901
7901
|
case g:
|
|
7902
|
-
case
|
|
7902
|
+
case G:
|
|
7903
7903
|
for (; this.firstChild; )
|
|
7904
7904
|
this.removeChild(this.firstChild);
|
|
7905
7905
|
(V || String(V)) && this.appendChild(this.ownerDocument.createTextNode(V));
|
|
@@ -10088,13 +10088,13 @@ function y_() {
|
|
|
10088
10088
|
} else
|
|
10089
10089
|
return String.fromCharCode(we);
|
|
10090
10090
|
}
|
|
10091
|
-
function
|
|
10091
|
+
function j(we) {
|
|
10092
10092
|
var st = we.slice(1, -1);
|
|
10093
10093
|
return Object.hasOwnProperty.call(B, st) ? B[st] : st.charAt(0) === "#" ? U(parseInt(st.substr(1).replace("x", "0x"))) : (R.error("entity not found:" + we), we);
|
|
10094
10094
|
}
|
|
10095
10095
|
function ne(we) {
|
|
10096
10096
|
if (we > re) {
|
|
10097
|
-
var st = S.substring(re, we).replace(/&#?\w+;/g,
|
|
10097
|
+
var st = S.substring(re, we).replace(/&#?\w+;/g, j);
|
|
10098
10098
|
se && ie(re), H.characters(st, 0, we - re), re = we;
|
|
10099
10099
|
}
|
|
10100
10100
|
}
|
|
@@ -10132,11 +10132,11 @@ function y_() {
|
|
|
10132
10132
|
se && ie(le), at = W(S, le, H);
|
|
10133
10133
|
break;
|
|
10134
10134
|
case "!":
|
|
10135
|
-
se && ie(le), at =
|
|
10135
|
+
se && ie(le), at = G(S, le, H, R);
|
|
10136
10136
|
break;
|
|
10137
10137
|
default:
|
|
10138
10138
|
se && ie(le);
|
|
10139
|
-
var lt = new D(), It = Q[Q.length - 1].currentNSMap, at = T(S, le, lt, It,
|
|
10139
|
+
var lt = new D(), It = Q[Q.length - 1].currentNSMap, at = T(S, le, lt, It, j, R), Lt = lt.length;
|
|
10140
10140
|
if (!lt.closed && O(S, at, lt.tagName, pe) && (lt.closed = !0, B.nbsp || R.warning("unclosed xml attribute")), se && Lt) {
|
|
10141
10141
|
for (var pt = v(se, {}), We = 0; We < Lt; We++) {
|
|
10142
10142
|
var Be = lt[We];
|
|
@@ -10145,7 +10145,7 @@ function y_() {
|
|
|
10145
10145
|
H.locator = pt, A(lt, H, It) && Q.push(lt), H.locator = se;
|
|
10146
10146
|
} else
|
|
10147
10147
|
A(lt, H, It) && Q.push(lt);
|
|
10148
|
-
s.isHTML(lt.uri) && !lt.closed ? at = L(S, at, lt.tagName,
|
|
10148
|
+
s.isHTML(lt.uri) && !lt.closed ? at = L(S, at, lt.tagName, j, H) : at++;
|
|
10149
10149
|
}
|
|
10150
10150
|
} catch (we) {
|
|
10151
10151
|
if (we instanceof E)
|
|
@@ -10159,7 +10159,7 @@ function y_() {
|
|
|
10159
10159
|
return I.lineNumber = S.lineNumber, I.columnNumber = S.columnNumber, I;
|
|
10160
10160
|
}
|
|
10161
10161
|
function T(S, I, B, H, R, U) {
|
|
10162
|
-
function
|
|
10162
|
+
function j(se, Q, pe) {
|
|
10163
10163
|
B.attributeNames.hasOwnProperty(se) && U.fatalError("Attribute " + se + " redefined"), B.addValue(
|
|
10164
10164
|
se,
|
|
10165
10165
|
// @see https://www.w3.org/TR/xml/#AVNormalize
|
|
@@ -10185,11 +10185,11 @@ function y_() {
|
|
|
10185
10185
|
case '"':
|
|
10186
10186
|
if (ae === o || ae === r)
|
|
10187
10187
|
if (ae === r && (U.warning('attribute value must after "="'), ne = S.slice(I, ee)), I = ee + 1, ee = S.indexOf(te, I), ee > 0)
|
|
10188
|
-
ie = S.slice(I, ee),
|
|
10188
|
+
ie = S.slice(I, ee), j(ne, ie, I - 1), ae = c;
|
|
10189
10189
|
else
|
|
10190
10190
|
throw new Error("attribute value no end '" + te + "' match");
|
|
10191
10191
|
else if (ae == u)
|
|
10192
|
-
ie = S.slice(I, ee),
|
|
10192
|
+
ie = S.slice(I, ee), j(ne, ie, I), U.warning('attribute "' + ne + '" missed start quot(' + te + ")!!"), I = ee + 1, ae = c;
|
|
10193
10193
|
else
|
|
10194
10194
|
throw new Error('attribute value must after "="');
|
|
10195
10195
|
break;
|
|
@@ -10228,7 +10228,7 @@ function y_() {
|
|
|
10228
10228
|
case r:
|
|
10229
10229
|
ie = S.slice(I, ee), ie.slice(-1) === "/" && (B.closed = !0, ie = ie.slice(0, -1));
|
|
10230
10230
|
case a:
|
|
10231
|
-
ae === a && (ie = ne), ae == u ? (U.warning('attribute "' + ie + '" missed quot(")!'),
|
|
10231
|
+
ae === a && (ie = ne), ae == u ? (U.warning('attribute "' + ie + '" missed quot(")!'), j(ne, ie, I)) : ((!s.isHTML(H[""]) || !ie.match(/^(?:disabled|checked|selected)$/i)) && U.warning('attribute "' + ie + '" missed value!! "' + ie + '" instead!!'), j(ie, ie, I));
|
|
10232
10232
|
break;
|
|
10233
10233
|
case o:
|
|
10234
10234
|
throw new Error("attribute value missed!!");
|
|
@@ -10248,7 +10248,7 @@ function y_() {
|
|
|
10248
10248
|
break;
|
|
10249
10249
|
case u:
|
|
10250
10250
|
var ie = S.slice(I, ee);
|
|
10251
|
-
U.warning('attribute "' + ie + '" missed quot(")!!'),
|
|
10251
|
+
U.warning('attribute "' + ie + '" missed quot(")!!'), j(ne, ie, I);
|
|
10252
10252
|
case c:
|
|
10253
10253
|
ae = m;
|
|
10254
10254
|
break;
|
|
@@ -10259,7 +10259,7 @@ function y_() {
|
|
|
10259
10259
|
//case S_ATTR:void();break;
|
|
10260
10260
|
//case S_ATTR_NOQUOT_VALUE:void();break;
|
|
10261
10261
|
case a:
|
|
10262
|
-
B.tagName, (!s.isHTML(H[""]) || !ne.match(/^(?:disabled|checked|selected)$/i)) && U.warning('attribute "' + ne + '" missed value!! "' + ne + '" instead2!!'),
|
|
10262
|
+
B.tagName, (!s.isHTML(H[""]) || !ne.match(/^(?:disabled|checked|selected)$/i)) && U.warning('attribute "' + ne + '" missed value!! "' + ne + '" instead2!!'), j(ne, ne, I), I = ee, ae = r;
|
|
10263
10263
|
break;
|
|
10264
10264
|
case c:
|
|
10265
10265
|
U.warning('attribute space is required"' + ne + '"!!');
|
|
@@ -10278,11 +10278,11 @@ function y_() {
|
|
|
10278
10278
|
}
|
|
10279
10279
|
function A(S, I, B) {
|
|
10280
10280
|
for (var H = S.tagName, R = null, te = S.length; te--; ) {
|
|
10281
|
-
var U = S[te],
|
|
10281
|
+
var U = S[te], j = U.qName, ne = U.value, se = j.indexOf(":");
|
|
10282
10282
|
if (se > 0)
|
|
10283
|
-
var ie = U.prefix =
|
|
10283
|
+
var ie = U.prefix = j.slice(0, se), ee = j.slice(se + 1), ae = ie === "xmlns" && ee;
|
|
10284
10284
|
else
|
|
10285
|
-
ee =
|
|
10285
|
+
ee = j, ie = null, ae = j === "xmlns" && "";
|
|
10286
10286
|
U.localName = ee, ae !== !1 && (R == null && (R = {}, F(B, B = {})), B[ae] = R[ae] = ne, U.uri = s.XMLNS, I.startPrefixMapping(ae, ne));
|
|
10287
10287
|
}
|
|
10288
10288
|
for (var te = S.length; te--; ) {
|
|
@@ -10302,9 +10302,9 @@ function y_() {
|
|
|
10302
10302
|
}
|
|
10303
10303
|
function L(S, I, B, H, R) {
|
|
10304
10304
|
if (/^(?:script|textarea)$/i.test(B)) {
|
|
10305
|
-
var U = S.indexOf("</" + B + ">", I),
|
|
10306
|
-
if (/[&<]/.test(
|
|
10307
|
-
return /^script$/i.test(B) ? (R.characters(
|
|
10305
|
+
var U = S.indexOf("</" + B + ">", I), j = S.substring(I + 1, U);
|
|
10306
|
+
if (/[&<]/.test(j))
|
|
10307
|
+
return /^script$/i.test(B) ? (R.characters(j, 0, j.length), U) : (j = j.replace(/&#?\w+;/g, H), R.characters(j, 0, j.length), U);
|
|
10308
10308
|
}
|
|
10309
10309
|
return I + 1;
|
|
10310
10310
|
}
|
|
@@ -10316,7 +10316,7 @@ function y_() {
|
|
|
10316
10316
|
for (var B in S)
|
|
10317
10317
|
Object.prototype.hasOwnProperty.call(S, B) && (I[B] = S[B]);
|
|
10318
10318
|
}
|
|
10319
|
-
function
|
|
10319
|
+
function G(S, I, B, H) {
|
|
10320
10320
|
var R = S.charAt(I + 2);
|
|
10321
10321
|
switch (R) {
|
|
10322
10322
|
case "-":
|
|
@@ -10330,11 +10330,11 @@ function y_() {
|
|
|
10330
10330
|
var U = S.indexOf("]]>", I + 9);
|
|
10331
10331
|
return B.startCDATA(), B.characters(S, I + 9, U - I - 9), B.endCDATA(), U + 3;
|
|
10332
10332
|
}
|
|
10333
|
-
var
|
|
10334
|
-
if (ne > 1 && /!doctype/i.test(
|
|
10335
|
-
var ie =
|
|
10336
|
-
ne > 3 && (/^public$/i.test(
|
|
10337
|
-
var te =
|
|
10333
|
+
var j = X(S, I), ne = j.length;
|
|
10334
|
+
if (ne > 1 && /!doctype/i.test(j[0][0])) {
|
|
10335
|
+
var ie = j[1][0], ee = !1, ae = !1;
|
|
10336
|
+
ne > 3 && (/^public$/i.test(j[2][0]) ? (ee = j[3][0], ae = ne > 4 && j[4][0]) : /^system$/i.test(j[2][0]) && (ae = j[3][0]));
|
|
10337
|
+
var te = j[ne - 1];
|
|
10338
10338
|
return B.startDTD(ie, ee, ae), B.endDTD(), te.index + te[0].length;
|
|
10339
10339
|
}
|
|
10340
10340
|
}
|
|
@@ -10410,8 +10410,8 @@ function __() {
|
|
|
10410
10410
|
this.options = T || { locator: {} };
|
|
10411
10411
|
}
|
|
10412
10412
|
c.prototype.parseFromString = function(T, A) {
|
|
10413
|
-
var L = this.options, O = new o(), F = L.domBuilder || new g(),
|
|
10414
|
-
W && F.setDocumentLocator(W), O.errorHandler = m(
|
|
10413
|
+
var L = this.options, O = new o(), F = L.domBuilder || new g(), G = L.errorHandler, W = L.locator, D = L.xmlns || {}, X = /\/x?html?$/.test(A), S = X ? t.HTML_ENTITIES : t.XML_ENTITIES;
|
|
10414
|
+
W && F.setDocumentLocator(W), O.errorHandler = m(G, F, W), O.domBuilder = L.domBuilder || F, X && (D[""] = r.HTML), D.xml = D.xml || r.XML;
|
|
10415
10415
|
var I = L.normalizeLineEndings || u;
|
|
10416
10416
|
return T && typeof T == "string" ? O.parse(
|
|
10417
10417
|
I(T),
|
|
@@ -10427,7 +10427,7 @@ function __() {
|
|
|
10427
10427
|
}
|
|
10428
10428
|
var O = {}, F = T instanceof Function;
|
|
10429
10429
|
L = L || {};
|
|
10430
|
-
function
|
|
10430
|
+
function G(W) {
|
|
10431
10431
|
var D = T[W];
|
|
10432
10432
|
!D && F && (D = T.length == 2 ? function(X) {
|
|
10433
10433
|
T(W, X);
|
|
@@ -10436,7 +10436,7 @@ function __() {
|
|
|
10436
10436
|
} || function() {
|
|
10437
10437
|
};
|
|
10438
10438
|
}
|
|
10439
|
-
return
|
|
10439
|
+
return G("warning"), G("error"), G("fatalError"), O;
|
|
10440
10440
|
}
|
|
10441
10441
|
function g() {
|
|
10442
10442
|
this.cdata = !1;
|
|
@@ -10449,11 +10449,11 @@ function __() {
|
|
|
10449
10449
|
this.doc = new n().createDocument(null, null, null), this.locator && (this.doc.documentURI = this.locator.systemId);
|
|
10450
10450
|
},
|
|
10451
10451
|
startElement: function(T, A, L, O) {
|
|
10452
|
-
var F = this.doc,
|
|
10453
|
-
v(this,
|
|
10452
|
+
var F = this.doc, G = F.createElementNS(T, L || A), W = O.length;
|
|
10453
|
+
v(this, G), this.currentElement = G, this.locator && E(this.locator, G);
|
|
10454
10454
|
for (var D = 0; D < W; D++) {
|
|
10455
10455
|
var T = O.getURI(D), X = O.getValue(D), L = O.getQName(D), S = F.createAttributeNS(T, L);
|
|
10456
|
-
this.locator && E(O.getLocator(D), S), S.value = S.nodeValue = X,
|
|
10456
|
+
this.locator && E(O.getLocator(D), S), S.value = S.nodeValue = X, G.setAttributeNode(S);
|
|
10457
10457
|
}
|
|
10458
10458
|
},
|
|
10459
10459
|
endElement: function(T, A, L) {
|
|
@@ -10711,7 +10711,7 @@ const ta = ({
|
|
|
10711
10711
|
const A = e.references[T], L = A.referencedSize, O = A.subsegmentDuration;
|
|
10712
10712
|
let F;
|
|
10713
10713
|
typeof v == "bigint" ? F = v + K.BigInt(L) - K.BigInt(1) : F = v + L - 1;
|
|
10714
|
-
const
|
|
10714
|
+
const G = `${v}-${F}`, D = df({
|
|
10715
10715
|
baseUrl: t,
|
|
10716
10716
|
timescale: u,
|
|
10717
10717
|
timeline: r,
|
|
@@ -10720,7 +10720,7 @@ const ta = ({
|
|
|
10720
10720
|
number: P,
|
|
10721
10721
|
duration: O,
|
|
10722
10722
|
sourceDuration: n,
|
|
10723
|
-
indexRange:
|
|
10723
|
+
indexRange: G,
|
|
10724
10724
|
type: g
|
|
10725
10725
|
})[0];
|
|
10726
10726
|
i && (D.map = i), m.push(D), typeof v == "bigint" ? v += K.BigInt(L) : v += L, b += O / u, P++;
|
|
@@ -28897,7 +28897,7 @@ browserWorkerPolyFill(self);
|
|
|
28897
28897
|
}, r = {
|
|
28898
28898
|
getUint64: n,
|
|
28899
28899
|
MAX_UINT32: i
|
|
28900
|
-
}, a = r.MAX_UINT32, o, u, c, m, g, E, b, P, v, T, A, L, O, F,
|
|
28900
|
+
}, a = r.MAX_UINT32, o, u, c, m, g, E, b, P, v, T, A, L, O, F, G, W, D, X, S, I, B, H, R, U, j, ne, ie, ee, ae, te, se, Q, pe, re, le, de;
|
|
28901
28901
|
(function() {
|
|
28902
28902
|
var l;
|
|
28903
28903
|
if (R = {
|
|
@@ -28942,7 +28942,7 @@ browserWorkerPolyFill(self);
|
|
|
28942
28942
|
}, !(typeof Uint8Array > "u")) {
|
|
28943
28943
|
for (l in R)
|
|
28944
28944
|
R.hasOwnProperty(l) && (R[l] = [l.charCodeAt(0), l.charCodeAt(1), l.charCodeAt(2), l.charCodeAt(3)]);
|
|
28945
|
-
U = new Uint8Array([105, 115, 111, 109]), ne = new Uint8Array([97, 118, 99, 49]),
|
|
28945
|
+
U = new Uint8Array([105, 115, 111, 109]), ne = new Uint8Array([97, 118, 99, 49]), j = new Uint8Array([0, 0, 0, 1]), ie = new Uint8Array([
|
|
28946
28946
|
0,
|
|
28947
28947
|
// version 0
|
|
28948
28948
|
0,
|
|
@@ -29193,12 +29193,12 @@ browserWorkerPolyFill(self);
|
|
|
29193
29193
|
// GASpecificConfig
|
|
29194
29194
|
]));
|
|
29195
29195
|
}, m = function() {
|
|
29196
|
-
return o(R.ftyp, U,
|
|
29196
|
+
return o(R.ftyp, U, j, U, ne);
|
|
29197
29197
|
}, W = function(l) {
|
|
29198
29198
|
return o(R.hdlr, ae[l]);
|
|
29199
29199
|
}, g = function(l) {
|
|
29200
29200
|
return o(R.mdat, l);
|
|
29201
|
-
},
|
|
29201
|
+
}, G = function(l) {
|
|
29202
29202
|
var d = new Uint8Array([
|
|
29203
29203
|
0,
|
|
29204
29204
|
// version 0
|
|
@@ -29234,7 +29234,7 @@ browserWorkerPolyFill(self);
|
|
|
29234
29234
|
]);
|
|
29235
29235
|
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(R.mdhd, d);
|
|
29236
29236
|
}, F = function(l) {
|
|
29237
|
-
return o(R.mdia,
|
|
29237
|
+
return o(R.mdia, G(l), W(l.type), b(l));
|
|
29238
29238
|
}, E = function(l) {
|
|
29239
29239
|
return o(R.mfhd, new Uint8Array([
|
|
29240
29240
|
0,
|
|
@@ -32652,9 +32652,9 @@ const e8 = (s, e, t) => {
|
|
|
32652
32652
|
} = s, F = {
|
|
32653
32653
|
buffer: []
|
|
32654
32654
|
};
|
|
32655
|
-
let
|
|
32655
|
+
let G = A;
|
|
32656
32656
|
const W = (X) => {
|
|
32657
|
-
e.currentTransmux === s && (X.data.action === "data" && e8(X, F, a), X.data.action === "trackinfo" && o(X.data.trackInfo), X.data.action === "gopInfo" && i8(X, F), X.data.action === "audioTimingInfo" && u(X.data.audioTimingInfo), X.data.action === "videoTimingInfo" && c(X.data.videoTimingInfo), X.data.action === "videoSegmentTimingInfo" && m(X.data.videoSegmentTimingInfo), X.data.action === "audioSegmentTimingInfo" && g(X.data.audioSegmentTimingInfo), X.data.action === "id3Frame" && E([X.data.id3Frame], X.data.id3Frame.dispatchType), X.data.action === "caption" && b(X.data.caption), X.data.action === "endedtimeline" && (
|
|
32657
|
+
e.currentTransmux === s && (X.data.action === "data" && e8(X, F, a), X.data.action === "trackinfo" && o(X.data.trackInfo), X.data.action === "gopInfo" && i8(X, F), X.data.action === "audioTimingInfo" && u(X.data.audioTimingInfo), X.data.action === "videoTimingInfo" && c(X.data.videoTimingInfo), X.data.action === "videoSegmentTimingInfo" && m(X.data.videoSegmentTimingInfo), X.data.action === "audioSegmentTimingInfo" && g(X.data.audioSegmentTimingInfo), X.data.action === "id3Frame" && E([X.data.id3Frame], X.data.id3Frame.dispatchType), X.data.action === "caption" && b(X.data.caption), X.data.action === "endedtimeline" && (G = !1, v()), X.data.action === "log" && T(X.data.log), X.data.type === "transmuxed" && (G || (e.onmessage = null, t8({
|
|
32658
32658
|
transmuxedData: F,
|
|
32659
32659
|
callback: P
|
|
32660
32660
|
}), pm(e))));
|
|
@@ -32937,68 +32937,68 @@ const Xn = function(s) {
|
|
|
32937
32937
|
audioAppendStart: s.audioAppendStart,
|
|
32938
32938
|
gopsToAlignWith: s.gopsToAlignWith,
|
|
32939
32939
|
remux: v,
|
|
32940
|
-
onData: (
|
|
32941
|
-
|
|
32940
|
+
onData: (G) => {
|
|
32941
|
+
G.type = G.type === "combined" ? "video" : G.type, m(s, G);
|
|
32942
32942
|
},
|
|
32943
|
-
onTrackInfo: (
|
|
32944
|
-
t && (v && (
|
|
32943
|
+
onTrackInfo: (G) => {
|
|
32944
|
+
t && (v && (G.isMuxed = !0), t(s, G));
|
|
32945
32945
|
},
|
|
32946
|
-
onAudioTimingInfo: (
|
|
32947
|
-
T && typeof
|
|
32946
|
+
onAudioTimingInfo: (G) => {
|
|
32947
|
+
T && typeof G.start < "u" && (T(G.start), T = null), A && typeof G.end < "u" && A(G.end);
|
|
32948
32948
|
},
|
|
32949
|
-
onVideoTimingInfo: (
|
|
32950
|
-
L && typeof
|
|
32949
|
+
onVideoTimingInfo: (G) => {
|
|
32950
|
+
L && typeof G.start < "u" && (L(G.start), L = null), O && typeof G.end < "u" && O(G.end);
|
|
32951
32951
|
},
|
|
32952
|
-
onVideoSegmentTimingInfo: (
|
|
32952
|
+
onVideoSegmentTimingInfo: (G) => {
|
|
32953
32953
|
const W = {
|
|
32954
32954
|
pts: {
|
|
32955
|
-
start:
|
|
32956
|
-
end:
|
|
32955
|
+
start: G.start.presentation,
|
|
32956
|
+
end: G.end.presentation
|
|
32957
32957
|
},
|
|
32958
32958
|
dts: {
|
|
32959
|
-
start:
|
|
32960
|
-
end:
|
|
32959
|
+
start: G.start.decode,
|
|
32960
|
+
end: G.end.decode
|
|
32961
32961
|
}
|
|
32962
32962
|
};
|
|
32963
32963
|
b({
|
|
32964
32964
|
type: "segmenttransmuxingtiminginfoavailable",
|
|
32965
32965
|
segment: s,
|
|
32966
32966
|
timingInfo: W
|
|
32967
|
-
}), n(
|
|
32967
|
+
}), n(G);
|
|
32968
32968
|
},
|
|
32969
|
-
onAudioSegmentTimingInfo: (
|
|
32969
|
+
onAudioSegmentTimingInfo: (G) => {
|
|
32970
32970
|
const W = {
|
|
32971
32971
|
pts: {
|
|
32972
|
-
start:
|
|
32973
|
-
end:
|
|
32972
|
+
start: G.start.pts,
|
|
32973
|
+
end: G.end.pts
|
|
32974
32974
|
},
|
|
32975
32975
|
dts: {
|
|
32976
|
-
start:
|
|
32977
|
-
end:
|
|
32976
|
+
start: G.start.dts,
|
|
32977
|
+
end: G.end.dts
|
|
32978
32978
|
}
|
|
32979
32979
|
};
|
|
32980
32980
|
b({
|
|
32981
32981
|
type: "segmenttransmuxingtiminginfoavailable",
|
|
32982
32982
|
segment: s,
|
|
32983
32983
|
timingInfo: W
|
|
32984
|
-
}), r(
|
|
32984
|
+
}), r(G);
|
|
32985
32985
|
},
|
|
32986
|
-
onId3: (
|
|
32987
|
-
a(s,
|
|
32986
|
+
onId3: (G, W) => {
|
|
32987
|
+
a(s, G, W);
|
|
32988
32988
|
},
|
|
32989
|
-
onCaptions: (
|
|
32990
|
-
o(s, [
|
|
32989
|
+
onCaptions: (G) => {
|
|
32990
|
+
o(s, [G]);
|
|
32991
32991
|
},
|
|
32992
32992
|
isEndOfTimeline: u,
|
|
32993
32993
|
onEndedTimeline: () => {
|
|
32994
32994
|
c();
|
|
32995
32995
|
},
|
|
32996
32996
|
onTransmuxerLog: E,
|
|
32997
|
-
onDone: (
|
|
32998
|
-
g && (
|
|
32997
|
+
onDone: (G, W) => {
|
|
32998
|
+
g && (G.type = G.type === "combined" ? "video" : G.type, b({
|
|
32999
32999
|
type: "segmenttransmuxingcomplete",
|
|
33000
33000
|
segment: s
|
|
33001
|
-
}), g(W, s,
|
|
33001
|
+
}), g(W, s, G));
|
|
33002
33002
|
},
|
|
33003
33003
|
segment: s,
|
|
33004
33004
|
triggerSegmentEventFn: b
|
|
@@ -33008,9 +33008,9 @@ const Xn = function(s) {
|
|
|
33008
33008
|
transmuxer: s.transmuxer,
|
|
33009
33009
|
data: e,
|
|
33010
33010
|
baseStartTime: s.baseStartTime,
|
|
33011
|
-
callback: (
|
|
33012
|
-
s.bytes = e =
|
|
33013
|
-
const W =
|
|
33011
|
+
callback: (G) => {
|
|
33012
|
+
s.bytes = e = G.data;
|
|
33013
|
+
const W = G.result;
|
|
33014
33014
|
W && (t(s, {
|
|
33015
33015
|
hasAudio: W.hasAudio,
|
|
33016
33016
|
hasVideo: W.hasVideo,
|
|
@@ -33074,10 +33074,10 @@ const Xn = function(s) {
|
|
|
33074
33074
|
transmuxer: s.transmuxer,
|
|
33075
33075
|
offset: F,
|
|
33076
33076
|
callback: ({
|
|
33077
|
-
emsgData:
|
|
33077
|
+
emsgData: G,
|
|
33078
33078
|
id3Frames: W
|
|
33079
33079
|
}) => {
|
|
33080
|
-
if (e =
|
|
33080
|
+
if (e = G.buffer, s.bytes = P = G, !v.video || !G.byteLength || !s.transmuxer) {
|
|
33081
33081
|
L(void 0, W);
|
|
33082
33082
|
return;
|
|
33083
33083
|
}
|
|
@@ -33386,8 +33386,8 @@ const Xn = function(s) {
|
|
|
33386
33386
|
segment: i,
|
|
33387
33387
|
keyInfo: U
|
|
33388
33388
|
});
|
|
33389
|
-
const
|
|
33390
|
-
L.push(
|
|
33389
|
+
const j = s(H, R);
|
|
33390
|
+
L.push(j);
|
|
33391
33391
|
}
|
|
33392
33392
|
const S = xt(e, {
|
|
33393
33393
|
uri: i.map.resolvedUri,
|
|
@@ -33411,7 +33411,7 @@ const Xn = function(s) {
|
|
|
33411
33411
|
responseType: "arraybuffer",
|
|
33412
33412
|
headers: Su(i),
|
|
33413
33413
|
requestType: "segment"
|
|
33414
|
-
}),
|
|
33414
|
+
}), G = d8({
|
|
33415
33415
|
segment: i,
|
|
33416
33416
|
finishProcessingFn: O,
|
|
33417
33417
|
responseType: F.responseType,
|
|
@@ -33421,7 +33421,7 @@ const Xn = function(s) {
|
|
|
33421
33421
|
type: "segmentloadstart",
|
|
33422
33422
|
segment: i
|
|
33423
33423
|
});
|
|
33424
|
-
const W = s(F,
|
|
33424
|
+
const W = s(F, G);
|
|
33425
33425
|
W.addEventListener("progress", g8({
|
|
33426
33426
|
segment: i,
|
|
33427
33427
|
progressFn: r,
|
|
@@ -33522,15 +33522,15 @@ let Tm = function(s) {
|
|
|
33522
33522
|
const A = T.filter((D) => D.bandwidth === b.bandwidth)[0];
|
|
33523
33523
|
let L, O, F;
|
|
33524
33524
|
A || (L = v.filter((D) => r === "cover" ? D.width > i && D.height > n : D.width > i || D.height > n), O = L.filter((D) => D.width === L[0].width && D.height === L[0].height), b = O[O.length - 1], F = O.filter((D) => D.bandwidth === b.bandwidth)[0]);
|
|
33525
|
-
let
|
|
33525
|
+
let G;
|
|
33526
33526
|
if (o.leastPixelDiffSelector) {
|
|
33527
33527
|
const D = v.map((X) => (X.pixelDiff = Math.abs(X.width - i) + Math.abs(X.height - n), X));
|
|
33528
|
-
jn(D, (X, S) => X.pixelDiff === S.pixelDiff ? S.bandwidth - X.bandwidth : X.pixelDiff - S.pixelDiff),
|
|
33528
|
+
jn(D, (X, S) => X.pixelDiff === S.pixelDiff ? S.bandwidth - X.bandwidth : X.pixelDiff - S.pixelDiff), G = D[0];
|
|
33529
33529
|
}
|
|
33530
|
-
const W =
|
|
33530
|
+
const W = G || F || A || P || g[0] || m[0];
|
|
33531
33531
|
if (W && W.playlist) {
|
|
33532
33532
|
let D = "sortedPlaylistReps";
|
|
33533
|
-
return
|
|
33533
|
+
return G ? D = "leastPixelDiffRep" : F ? D = "resolutionPlusOneRep" : A ? D = "resolutionBestRep" : P ? D = "bandwidthBestRep" : g[0] && (D = "enabledPlaylistReps"), $a(`choosing ${Zh(W)} using ${D} with options`, u), W.playlist;
|
|
33534
33534
|
}
|
|
33535
33535
|
return $a("could not choose a playlist with options", u), null;
|
|
33536
33536
|
};
|
|
@@ -36212,14 +36212,14 @@ class wm {
|
|
|
36212
36212
|
u.syncInfo = P;
|
|
36213
36213
|
let v = a;
|
|
36214
36214
|
const T = (u.parts || []).map((A, L) => {
|
|
36215
|
-
const O = v, F = v + A.duration,
|
|
36215
|
+
const O = v, F = v + A.duration, G = !!(m && m.partsSyncInfo && m.partsSyncInfo[L] && m.partsSyncInfo[L].isAppended), W = new l0({
|
|
36216
36216
|
start: O,
|
|
36217
36217
|
end: F,
|
|
36218
|
-
appended:
|
|
36218
|
+
appended: G,
|
|
36219
36219
|
segmentIndex: c,
|
|
36220
36220
|
partIndex: L
|
|
36221
36221
|
});
|
|
36222
|
-
return v = F, r += `Media Sequence: ${o}.${L} | Range: ${O} --> ${F} | Appended: ${
|
|
36222
|
+
return v = F, r += `Media Sequence: ${o}.${L} | Range: ${O} --> ${F} | Appended: ${G}
|
|
36223
36223
|
`, A.syncInfo = W, W;
|
|
36224
36224
|
});
|
|
36225
36225
|
n.set(o, new Q8(P, T)), r += `${xm(u.resolvedUri)} | Media Sequence: ${o} | Range: ${g} --> ${E} | Appended: ${b}
|
|
@@ -36727,8 +36727,8 @@ const tT = dm(hm(function() {
|
|
|
36727
36727
|
var O = this.listeners[L];
|
|
36728
36728
|
if (O)
|
|
36729
36729
|
if (arguments.length === 2)
|
|
36730
|
-
for (var F = O.length,
|
|
36731
|
-
O[
|
|
36730
|
+
for (var F = O.length, G = 0; G < F; ++G)
|
|
36731
|
+
O[G].call(this, arguments[1]);
|
|
36732
36732
|
else
|
|
36733
36733
|
for (var W = Array.prototype.slice.call(arguments, 1), D = O.length, X = 0; X < D; ++X)
|
|
36734
36734
|
O[X].apply(this, W);
|
|
@@ -36747,14 +36747,14 @@ const tT = dm(hm(function() {
|
|
|
36747
36747
|
/*! @name aes-decrypter @version 4.0.2 @license Apache-2.0 */
|
|
36748
36748
|
const t = function() {
|
|
36749
36749
|
const v = [[[], [], [], [], []], [[], [], [], [], []]], T = v[0], A = v[1], L = T[4], O = A[4];
|
|
36750
|
-
let F,
|
|
36750
|
+
let F, G, W;
|
|
36751
36751
|
const D = [], X = [];
|
|
36752
36752
|
let S, I, B, H, R, U;
|
|
36753
36753
|
for (F = 0; F < 256; F++)
|
|
36754
36754
|
X[(D[F] = F << 1 ^ (F >> 7) * 283) ^ F] = F;
|
|
36755
|
-
for (
|
|
36756
|
-
for (H = W ^ W << 1 ^ W << 2 ^ W << 3 ^ W << 4, H = H >> 8 ^ H & 255 ^ 99, L[
|
|
36757
|
-
T[F][
|
|
36755
|
+
for (G = W = 0; !L[G]; G ^= S || 1, W = X[W] || 1)
|
|
36756
|
+
for (H = W ^ W << 1 ^ W << 2 ^ W << 3 ^ W << 4, H = H >> 8 ^ H & 255 ^ 99, L[G] = H, O[H] = G, B = D[I = D[S = D[G]]], U = B * 16843009 ^ I * 65537 ^ S * 257 ^ G * 16843008, R = D[H] * 257 ^ H * 16843008, F = 0; F < 4; F++)
|
|
36757
|
+
T[F][G] = R = R << 24 ^ R >>> 8, A[F][H] = U = U << 24 ^ U >>> 8;
|
|
36758
36758
|
for (F = 0; F < 5; F++)
|
|
36759
36759
|
T[F] = T[F].slice(0), A[F] = A[F].slice(0);
|
|
36760
36760
|
return v;
|
|
@@ -36764,7 +36764,7 @@ const tT = dm(hm(function() {
|
|
|
36764
36764
|
constructor(T) {
|
|
36765
36765
|
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()]];
|
|
36766
36766
|
let A, L, O;
|
|
36767
|
-
const F = this._tables[0][4],
|
|
36767
|
+
const F = this._tables[0][4], G = this._tables[1], W = T.length;
|
|
36768
36768
|
let D = 1;
|
|
36769
36769
|
if (W !== 4 && W !== 6 && W !== 8)
|
|
36770
36770
|
throw new Error("Invalid aes key size");
|
|
@@ -36772,7 +36772,7 @@ const tT = dm(hm(function() {
|
|
|
36772
36772
|
for (this._key = [X, S], A = W; A < 4 * W + 28; A++)
|
|
36773
36773
|
O = X[A - 1], (A % W === 0 || W === 8 && A % W === 4) && (O = F[O >>> 24] << 24 ^ F[O >> 16 & 255] << 16 ^ F[O >> 8 & 255] << 8 ^ F[O & 255], A % W === 0 && (O = O << 8 ^ O >>> 24 ^ D << 24, D = D << 1 ^ (D >> 7) * 283)), X[A] = X[A - W] ^ O;
|
|
36774
36774
|
for (L = 0; A; L++, A--)
|
|
36775
|
-
O = X[L & 3 ? A : A - 4], A <= 4 || L < 4 ? S[L] = O : S[L] =
|
|
36775
|
+
O = X[L & 3 ? A : A - 4], A <= 4 || L < 4 ? S[L] = O : S[L] = G[0][F[O >>> 24]] ^ G[1][F[O >> 16 & 255]] ^ G[2][F[O >> 8 & 255]] ^ G[3][F[O & 255]];
|
|
36776
36776
|
}
|
|
36777
36777
|
/**
|
|
36778
36778
|
* Decrypt 16 bytes, specified as four 32-bit words.
|
|
@@ -36787,16 +36787,16 @@ const tT = dm(hm(function() {
|
|
|
36787
36787
|
* writing results
|
|
36788
36788
|
* @return {Array} The plaintext.
|
|
36789
36789
|
*/
|
|
36790
|
-
decrypt(T, A, L, O, F,
|
|
36790
|
+
decrypt(T, A, L, O, F, G) {
|
|
36791
36791
|
const W = this._key[1];
|
|
36792
36792
|
let D = T ^ W[0], X = O ^ W[1], S = L ^ W[2], I = A ^ W[3], B, H, R;
|
|
36793
36793
|
const U = W.length / 4 - 2;
|
|
36794
|
-
let
|
|
36794
|
+
let j, ne = 4;
|
|
36795
36795
|
const ie = this._tables[1], ee = ie[0], ae = ie[1], te = ie[2], se = ie[3], Q = ie[4];
|
|
36796
|
-
for (
|
|
36796
|
+
for (j = 0; j < U; j++)
|
|
36797
36797
|
B = ee[D >>> 24] ^ ae[X >> 16 & 255] ^ te[S >> 8 & 255] ^ se[I & 255] ^ W[ne], H = ee[X >>> 24] ^ ae[S >> 16 & 255] ^ te[I >> 8 & 255] ^ se[D & 255] ^ W[ne + 1], R = ee[S >>> 24] ^ ae[I >> 16 & 255] ^ te[D >> 8 & 255] ^ se[X & 255] ^ W[ne + 2], I = ee[I >>> 24] ^ ae[D >> 16 & 255] ^ te[X >> 8 & 255] ^ se[S & 255] ^ W[ne + 3], ne += 4, D = B, X = H, S = R;
|
|
36798
|
-
for (
|
|
36799
|
-
F[(3 & -
|
|
36798
|
+
for (j = 0; j < 4; j++)
|
|
36799
|
+
F[(3 & -j) + G] = Q[D >>> 24] << 24 ^ Q[X >> 16 & 255] << 16 ^ Q[S >> 8 & 255] << 8 ^ Q[I & 255] ^ W[ne++], B = D, D = X, X = S, S = I, I = B;
|
|
36800
36800
|
}
|
|
36801
36801
|
}
|
|
36802
36802
|
class r extends s {
|
|
@@ -36823,18 +36823,18 @@ const tT = dm(hm(function() {
|
|
|
36823
36823
|
const a = function(v) {
|
|
36824
36824
|
return v << 24 | (v & 65280) << 8 | (v & 16711680) >> 8 | v >>> 24;
|
|
36825
36825
|
}, o = function(v, T, A) {
|
|
36826
|
-
const L = new Int32Array(v.buffer, v.byteOffset, v.byteLength >> 2), O = new n(Array.prototype.slice.call(T)), F = new Uint8Array(v.byteLength),
|
|
36826
|
+
const L = new Int32Array(v.buffer, v.byteOffset, v.byteLength >> 2), O = new n(Array.prototype.slice.call(T)), F = new Uint8Array(v.byteLength), G = new Int32Array(F.buffer);
|
|
36827
36827
|
let W, D, X, S, I, B, H, R, U;
|
|
36828
36828
|
for (W = A[0], D = A[1], X = A[2], S = A[3], U = 0; U < L.length; U += 4)
|
|
36829
|
-
I = a(L[U]), B = a(L[U + 1]), H = a(L[U + 2]), R = a(L[U + 3]), O.decrypt(I, B, H, R,
|
|
36829
|
+
I = a(L[U]), B = a(L[U + 1]), H = a(L[U + 2]), R = a(L[U + 3]), O.decrypt(I, B, H, R, G, U), G[U] = a(G[U] ^ W), G[U + 1] = a(G[U + 1] ^ D), G[U + 2] = a(G[U + 2] ^ X), G[U + 3] = a(G[U + 3] ^ S), W = I, D = B, X = H, S = R;
|
|
36830
36830
|
return F;
|
|
36831
36831
|
};
|
|
36832
36832
|
class u {
|
|
36833
36833
|
constructor(T, A, L, O) {
|
|
36834
|
-
const F = u.STEP,
|
|
36834
|
+
const F = u.STEP, G = new Int32Array(T.buffer), W = new Uint8Array(T.byteLength);
|
|
36835
36835
|
let D = 0;
|
|
36836
|
-
for (this.asyncStream_ = new r(), this.asyncStream_.push(this.decryptChunk_(
|
|
36837
|
-
L = new Uint32Array([a(
|
|
36836
|
+
for (this.asyncStream_ = new r(), this.asyncStream_.push(this.decryptChunk_(G.subarray(D, D + F), A, L, W)), D = F; D < G.length; D += F)
|
|
36837
|
+
L = new Uint32Array([a(G[D - 4]), a(G[D - 3]), a(G[D - 2]), a(G[D - 1])]), this.asyncStream_.push(this.decryptChunk_(G.subarray(D, D + F), A, L, W));
|
|
36838
36838
|
this.asyncStream_.push(function() {
|
|
36839
36839
|
O(null, e(W));
|
|
36840
36840
|
});
|
|
@@ -36879,11 +36879,11 @@ const tT = dm(hm(function() {
|
|
|
36879
36879
|
};
|
|
36880
36880
|
self.onmessage = function(v) {
|
|
36881
36881
|
const T = v.data, A = new Uint8Array(T.encrypted.bytes, T.encrypted.byteOffset, T.encrypted.byteLength), L = new Uint32Array(T.key.bytes, T.key.byteOffset, T.key.byteLength / 4), O = new Uint32Array(T.iv.bytes, T.iv.byteOffset, T.iv.byteLength / 4);
|
|
36882
|
-
new u(A, L, O, function(F,
|
|
36882
|
+
new u(A, L, O, function(F, G) {
|
|
36883
36883
|
self.postMessage(P({
|
|
36884
36884
|
source: T.source,
|
|
36885
|
-
decrypted:
|
|
36886
|
-
}), [
|
|
36885
|
+
decrypted: G
|
|
36886
|
+
}), [G.buffer]);
|
|
36887
36887
|
});
|
|
36888
36888
|
};
|
|
36889
36889
|
}));
|
|
@@ -37780,12 +37780,12 @@ class _T extends fe.EventTarget {
|
|
|
37780
37780
|
}), e), this.subtitleSegmentLoader_ = new W8(xt(A, {
|
|
37781
37781
|
loaderType: "vtt",
|
|
37782
37782
|
featuresNativeTextTracks: this.tech_.featuresNativeTextTracks,
|
|
37783
|
-
loadVttJs: () => new Promise((F,
|
|
37783
|
+
loadVttJs: () => new Promise((F, G) => {
|
|
37784
37784
|
function W() {
|
|
37785
37785
|
n.off("vttjserror", D), F();
|
|
37786
37786
|
}
|
|
37787
37787
|
function D() {
|
|
37788
|
-
n.off("vttjsloaded", W),
|
|
37788
|
+
n.off("vttjsloaded", W), G();
|
|
37789
37789
|
}
|
|
37790
37790
|
n.one("vttjsloaded", W), n.one("vttjserror", D), n.addWebVttScript_();
|
|
37791
37791
|
})
|
|
@@ -39814,19 +39814,19 @@ const BT = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
39814
39814
|
const L = (O = v.activeCues) == null ? void 0 : O[0];
|
|
39815
39815
|
if (n.value && clearInterval(n.value), L) {
|
|
39816
39816
|
L.text = ((F = L == null ? void 0 : L.text) == null ? void 0 : F.replace(/\[(SPEAKER_)\d+]: /g, "")) || "";
|
|
39817
|
-
const
|
|
39818
|
-
`), W =
|
|
39817
|
+
const G = L.text.split(`
|
|
39818
|
+
`), W = G.length, D = L.endTime - L.startTime, X = parseFloat((D / W).toFixed(3));
|
|
39819
39819
|
let S = 0;
|
|
39820
39820
|
if (T) {
|
|
39821
39821
|
const H = (A.currentTime() - L.startTime) / (L.endTime - L.startTime);
|
|
39822
39822
|
for (; (S + 1) / W < H; )
|
|
39823
39823
|
S++;
|
|
39824
39824
|
}
|
|
39825
|
-
S < W ? L.text =
|
|
39825
|
+
S < W ? L.text = G.length ? G[S] : L == null ? void 0 : L.text : L.text = G.length ? G[0] : L == null ? void 0 : L.text;
|
|
39826
39826
|
let I = X * 1e3;
|
|
39827
39827
|
const B = () => {
|
|
39828
39828
|
n.value = setInterval(() => {
|
|
39829
|
-
v.mode = "hidden", S++, S >
|
|
39829
|
+
v.mode = "hidden", S++, S > G.length - 1 ? clearInterval(n.value) : S === G.length - 1 ? (L.text = G[S], clearInterval(n.value), I = X * (W - S) * 1e3, B()) : L.text = G[S], v.mode = "showing";
|
|
39830
39830
|
}, I);
|
|
39831
39831
|
};
|
|
39832
39832
|
B();
|
|
@@ -39996,7 +39996,7 @@ const BT = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
39996
39996
|
}, F = (ee) => {
|
|
39997
39997
|
let ae = O(ee.target);
|
|
39998
39998
|
ae && (T.value = nv(L(ee, ae)));
|
|
39999
|
-
},
|
|
39999
|
+
}, G = () => {
|
|
40000
40000
|
T.value = "";
|
|
40001
40001
|
}, W = (ee) => {
|
|
40002
40002
|
var te;
|
|
@@ -40029,16 +40029,16 @@ const BT = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
40029
40029
|
const B = (ee) => {
|
|
40030
40030
|
i("change-date", ee);
|
|
40031
40031
|
}, H = ue(null), R = ue("auto");
|
|
40032
|
-
let U = null,
|
|
40032
|
+
let U = null, j = null;
|
|
40033
40033
|
const ne = () => {
|
|
40034
40034
|
H.value && (R.value = `${H.value.offsetHeight}px`);
|
|
40035
40035
|
}, ie = () => {
|
|
40036
|
-
cancelAnimationFrame(
|
|
40036
|
+
cancelAnimationFrame(j), j = requestAnimationFrame(ne);
|
|
40037
40037
|
};
|
|
40038
40038
|
return Di(() => {
|
|
40039
40039
|
H.value && (U = new ResizeObserver(ie), U.observe(H.value), ne());
|
|
40040
40040
|
}), tn(() => {
|
|
40041
|
-
cancelAnimationFrame(
|
|
40041
|
+
cancelAnimationFrame(j), U == null || U.disconnect();
|
|
40042
40042
|
}), (ee, ae) => {
|
|
40043
40043
|
var te, se, Q, pe;
|
|
40044
40044
|
return x(), M("div", HT, [
|
|
@@ -40142,7 +40142,7 @@ const BT = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
40142
40142
|
class: "subject-progress-item",
|
|
40143
40143
|
onClick: W,
|
|
40144
40144
|
onMousemove: F,
|
|
40145
|
-
onMouseleave:
|
|
40145
|
+
onMouseleave: G,
|
|
40146
40146
|
"data-start": le.startTime,
|
|
40147
40147
|
"data-end": le.endTime,
|
|
40148
40148
|
style: gt({
|
|
@@ -40287,11 +40287,14 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
40287
40287
|
}), p7 = {
|
|
40288
40288
|
class: "o-sig-meeting-calendar",
|
|
40289
40289
|
style: { "--height": 400 }
|
|
40290
|
-
}, m7 = {
|
|
40290
|
+
}, m7 = {
|
|
40291
|
+
key: 0,
|
|
40292
|
+
class: "meeting-card-header"
|
|
40293
|
+
}, g7 = {
|
|
40291
40294
|
key: 0,
|
|
40292
40295
|
class: "header-left"
|
|
40293
40296
|
}, v7 = {
|
|
40294
|
-
key:
|
|
40297
|
+
key: 1,
|
|
40295
40298
|
class: "phone-filter-wrapper"
|
|
40296
40299
|
}, y7 = { class: "date-select" }, _7 = { class: "meeting-card-content" }, p0 = /* @__PURE__ */ ut({
|
|
40297
40300
|
__name: "OMeetingSigCalendar",
|
|
@@ -40333,36 +40336,36 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
40333
40336
|
}, F = (H) => {
|
|
40334
40337
|
const R = Ve(H).format("YYYY-MM-DD");
|
|
40335
40338
|
return [R.slice(0, 7), R.slice(8, 10)];
|
|
40336
|
-
},
|
|
40339
|
+
}, G = Ae(() => {
|
|
40337
40340
|
let H;
|
|
40338
40341
|
return L.value === Ye.ALL ? H = [...m.value || [], ...g.value] : L.value === Ye.MEETING ? H = m.value || [] : L.value === Ye.EVENTS ? H = g.value || [] : H = [], [...new Set(H)].sort((R, U) => Ve(R).isAfter(Ve(U)) ? 1 : -1).map((R) => Ve(R).format("YYYY-MM-DD"));
|
|
40339
40342
|
}), W = () => {
|
|
40340
|
-
let H =
|
|
40341
|
-
H || (H =
|
|
40342
|
-
[...
|
|
40343
|
+
let H = G.value.find((R) => R === Ve().format("YYYY-MM-DD"));
|
|
40344
|
+
H || (H = G.value.find((R) => !Ve().isAfter(Ve(R))) || // 未来日期最近日期
|
|
40345
|
+
[...G.value].reverse().find((R) => !Ve(R).isAfter(Ve()))), c.value = H;
|
|
40343
40346
|
};
|
|
40344
|
-
bt(() =>
|
|
40347
|
+
bt(() => G.value, (H) => {
|
|
40345
40348
|
H.length && (W(), $t(() => {
|
|
40346
40349
|
T(c.value);
|
|
40347
40350
|
}));
|
|
40348
40351
|
});
|
|
40349
40352
|
const D = Ae(() => {
|
|
40350
|
-
const H =
|
|
40353
|
+
const H = G.value.reduce((R, U) => {
|
|
40351
40354
|
var ie;
|
|
40352
|
-
const [
|
|
40353
|
-
return R[
|
|
40354
|
-
days: [...((ie = R[
|
|
40355
|
+
const [j, ne] = F(U);
|
|
40356
|
+
return R[j] = {
|
|
40357
|
+
days: [...((ie = R[j]) == null ? void 0 : ie.days) || [], ne]
|
|
40355
40358
|
}, R;
|
|
40356
40359
|
}, {});
|
|
40357
40360
|
return Object.keys(H).map((R) => {
|
|
40358
|
-
var
|
|
40361
|
+
var j, ne;
|
|
40359
40362
|
let U = [];
|
|
40360
|
-
return (ne = (
|
|
40363
|
+
return (ne = (j = H[R]) == null ? void 0 : j.days) == null || ne.map((ie) => {
|
|
40361
40364
|
U.push({ month: R, day: ie });
|
|
40362
40365
|
}), U;
|
|
40363
40366
|
});
|
|
40364
40367
|
}), X = Ae(() => D.value.map((H) => {
|
|
40365
|
-
const R = H.reduce((U,
|
|
40368
|
+
const R = H.reduce((U, j) => (U[j.month] = U[j.month] || [], U[j.month].push(j.day), U), {});
|
|
40366
40369
|
return Object.keys(R).map((U) => ({
|
|
40367
40370
|
month: U,
|
|
40368
40371
|
days: R[U] || []
|
|
@@ -40388,7 +40391,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
40388
40391
|
return L.value === Ye.ALL ? H = [...o.value || [], ...E.value] : L.value === Ye.MEETING ? H = o.value || [] : L.value === Ye.EVENTS ? H = E.value || [] : H = [], H;
|
|
40389
40392
|
});
|
|
40390
40393
|
return (H, R) => (x(), M("div", p7, [
|
|
40391
|
-
|
|
40394
|
+
h(n) ? he("", !0) : (x(), M("div", m7, [
|
|
40392
40395
|
c.value ? (x(), M("div", g7, [
|
|
40393
40396
|
C("span", null, z(h(t)("meeting.latestMeeting")), 1),
|
|
40394
40397
|
C("span", null, z(h(Ve)(c.value).format("YYYY/MM/DD")), 1),
|
|
@@ -40435,8 +40438,8 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
40435
40438
|
]),
|
|
40436
40439
|
_: 1
|
|
40437
40440
|
}, 8, ["modelValue"])
|
|
40438
|
-
]),
|
|
40439
|
-
h(n)
|
|
40441
|
+
])),
|
|
40442
|
+
h(n) ? (x(), M("div", v7, [
|
|
40440
40443
|
C("div", y7, [
|
|
40441
40444
|
q(h(bs), {
|
|
40442
40445
|
modelValue: r.value,
|
|
@@ -40444,7 +40447,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
40444
40447
|
onChange: v
|
|
40445
40448
|
}, {
|
|
40446
40449
|
default: w(() => [
|
|
40447
|
-
(x(!0), M(De, null, ze(
|
|
40450
|
+
(x(!0), M(De, null, ze(G.value, (U) => (x(), ge(h(Ts), {
|
|
40448
40451
|
key: U,
|
|
40449
40452
|
value: U,
|
|
40450
40453
|
label: h(Ct)(U)
|
|
@@ -40476,10 +40479,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
40476
40479
|
}, 8, ["modelValue"])
|
|
40477
40480
|
])
|
|
40478
40481
|
])) : he("", !0),
|
|
40479
|
-
|
|
40480
|
-
key: 1,
|
|
40481
|
-
class: "meeting-divider"
|
|
40482
|
-
})) : he("", !0),
|
|
40482
|
+
q(h(Gi), { class: "meeting-divider" }),
|
|
40483
40483
|
C("div", _7, [
|
|
40484
40484
|
!h(n) && b.value !== -1 ? (x(), ge(f7, {
|
|
40485
40485
|
key: 0,
|
|
@@ -40551,7 +40551,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
40551
40551
|
},
|
|
40552
40552
|
emits: ["edit"],
|
|
40553
40553
|
setup(s, { emit: e }) {
|
|
40554
|
-
const t = nr(null), i = ue(!1), n = ue(1), r = ue(50), a = ue(null), o = ue([]), u = ue([]), c = Ae(() => a.value === null || u.value.length < a.value), m = ue(!1), { t: g, locale: E, getPointStr: b, getConfig: P, getWeekFromDate: v } = sn(), T = Ae(() => E.value === Mu.EN), A = s, L = ue(!1), { isPhone: O } = qi(), F = ue([]),
|
|
40554
|
+
const t = nr(null), i = ue(!1), n = ue(1), r = ue(50), a = ue(null), o = ue([]), u = ue([]), c = Ae(() => a.value === null || u.value.length < a.value), m = ue(!1), { t: g, locale: E, getPointStr: b, getConfig: P, getWeekFromDate: v } = sn(), T = Ae(() => E.value === Mu.EN), A = s, L = ue(!1), { isPhone: O } = qi(), F = ue([]), G = e, W = ue(!1), D = ue(!1), X = async () => {
|
|
40555
40555
|
if (A.getMeetingListRequest && !W.value)
|
|
40556
40556
|
try {
|
|
40557
40557
|
if (a.value !== null && a.value > 0 && (n.value - 1) * r.value > a.value)
|
|
@@ -40636,14 +40636,14 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
40636
40636
|
Le + ve >= xe && S();
|
|
40637
40637
|
}, R = () => {
|
|
40638
40638
|
pt.value.getContainerEl().addEventListener("scroll", H);
|
|
40639
|
-
}, U = ue({}),
|
|
40639
|
+
}, U = ue({}), j = (Ce, Ie) => {
|
|
40640
40640
|
Ce && Ie && (U.value[Ie] = Ce);
|
|
40641
40641
|
}, ne = async (Ce) => {
|
|
40642
40642
|
await U.value[Ce].copyInfo(), t.success({
|
|
40643
40643
|
content: g("common.copySuccess")
|
|
40644
40644
|
});
|
|
40645
40645
|
}, ie = ue(!1), ee = ue(null), ae = (Ce) => {
|
|
40646
|
-
|
|
40646
|
+
G("edit", Ce, "whole");
|
|
40647
40647
|
}, te = (Ce) => {
|
|
40648
40648
|
ee.value = Ce, ie.value = !0;
|
|
40649
40649
|
}, se = async () => {
|
|
@@ -40696,7 +40696,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
40696
40696
|
L.value = !1;
|
|
40697
40697
|
}
|
|
40698
40698
|
else
|
|
40699
|
-
|
|
40699
|
+
G("edit", Ce, de.value), Ee();
|
|
40700
40700
|
}, Ue = ue(), nt = Ae(() => [...new Set(o.value.map((Ce) => Ce.date))].sort((Ce, Ie) => Ve(Ce).isBefore(Ve(Ie)) ? -1 : 1)), Qe = Ae(
|
|
40701
40701
|
() => [...new Set(o.value.filter((Ce) => !Ce.isExpired && !Ce.is_delete).map((Ce) => Ce.date))].sort((Ce, Ie) => Ve(Ce).isBefore(Ve(Ie)) ? -1 : 1)
|
|
40702
40702
|
), Ke = ue(), lt = () => {
|
|
@@ -41081,7 +41081,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41081
41081
|
show: F.value.includes(ve.sub_id || ve.id),
|
|
41082
41082
|
data: ve,
|
|
41083
41083
|
ref_for: !0,
|
|
41084
|
-
ref: (Je) =>
|
|
41084
|
+
ref: (Je) => j(Je, ve.sub_id || ve.id),
|
|
41085
41085
|
from: "my"
|
|
41086
41086
|
}, null, 8, ["show", "data"]),
|
|
41087
41087
|
!ve.isExpired && !ve.is_delete ? (x(), M("div", F7, [
|
|
@@ -41250,7 +41250,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41250
41250
|
}), We.slice(1);
|
|
41251
41251
|
}), O = () => {
|
|
41252
41252
|
g.status = A.value, A.value === "cancel" ? g.is_delete = 1 : g.is_delete = 0;
|
|
41253
|
-
}, F = ue([]),
|
|
41253
|
+
}, F = ue([]), G = ue(0), W = [10, 20, 30, 40], D = async () => {
|
|
41254
41254
|
const { page: We, size: Be, status: we, sponsor: st, order_by: Ce, search: Ie, is_delete: Le } = g;
|
|
41255
41255
|
let xe = { page: We, size: Be, sponsor: st, order_by: Ce, search: Ie };
|
|
41256
41256
|
if (we !== "all" && we !== "" && (xe.is_delete = Le), we === "cancel" ? xe.status = "" : xe.status = we, !m.getTableDataRequest)
|
|
@@ -41270,12 +41270,12 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41270
41270
|
activity_type: (Vt = a.value.get(ei)) == null ? void 0 : Vt.label
|
|
41271
41271
|
}
|
|
41272
41272
|
];
|
|
41273
|
-
}).flat(),
|
|
41273
|
+
}).flat(), G.value = ve.total;
|
|
41274
41274
|
}, X = (We) => {
|
|
41275
41275
|
We.pageSize !== g.size ? g.page = 1 : g.page = We.page, g.size = We.pageSize, D();
|
|
41276
41276
|
}, S = ue({
|
|
41277
41277
|
reason: ""
|
|
41278
|
-
}), I = ue(), B = ue(!1), H = ue(null), R = ue(""), U = ue(0),
|
|
41278
|
+
}), I = ue(), B = ue(!1), H = ue(null), R = ue(""), U = ue(0), j = ue(!1), ne = ue({
|
|
41279
41279
|
reason: [{ required: !0, message: e("meeting.enterReviewNotes") }]
|
|
41280
41280
|
}), ie = async () => {
|
|
41281
41281
|
var We, Be, we, st;
|
|
@@ -41291,10 +41291,10 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41291
41291
|
content: e("meeting.reviewSuccess", [(st = H.value) == null ? void 0 : st.title])
|
|
41292
41292
|
});
|
|
41293
41293
|
} finally {
|
|
41294
|
-
|
|
41294
|
+
j.value = !1, B.value = !1;
|
|
41295
41295
|
}
|
|
41296
41296
|
}, ee = () => {
|
|
41297
|
-
|
|
41297
|
+
j.value = !1, te.value = !1, B.value = !1, S.value.reason = "";
|
|
41298
41298
|
}, ae = async () => {
|
|
41299
41299
|
var We;
|
|
41300
41300
|
if (m.deleteActivityRequest && m.cancelActivityRequest)
|
|
@@ -41310,9 +41310,9 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41310
41310
|
}, le = (We) => {
|
|
41311
41311
|
se.value = e("meeting.cancelActivity"), Q.value = e("common.cancel").toLowerCase(), H.value = We, pe.value = 1, te.value = !0;
|
|
41312
41312
|
}, de = (We) => {
|
|
41313
|
-
H.value = We, R.value = e("meeting.approveReview"), U.value = 1,
|
|
41313
|
+
H.value = We, R.value = e("meeting.approveReview"), U.value = 1, j.value = !0;
|
|
41314
41314
|
}, ye = (We) => {
|
|
41315
|
-
H.value = We, R.value = e("meeting.rejectReview"), U.value = 0,
|
|
41315
|
+
H.value = We, R.value = e("meeting.rejectReview"), U.value = 0, j.value = !0;
|
|
41316
41316
|
}, Ee = ue([]), Te = ue([]), Ue = (We) => {
|
|
41317
41317
|
const Be = We.toString();
|
|
41318
41318
|
if (!m.getActivityDetailRequest)
|
|
@@ -41500,9 +41500,9 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41500
41500
|
]),
|
|
41501
41501
|
_: 1
|
|
41502
41502
|
}, 8, ["modelValue", "accordion"]),
|
|
41503
|
-
|
|
41503
|
+
G.value > W[0] ? (x(), M("div", i6, [
|
|
41504
41504
|
q(h(Jl), {
|
|
41505
|
-
total:
|
|
41505
|
+
total: G.value,
|
|
41506
41506
|
page: g.page,
|
|
41507
41507
|
"page-size": g.size,
|
|
41508
41508
|
"page-sizes": W,
|
|
@@ -41681,9 +41681,9 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41681
41681
|
]),
|
|
41682
41682
|
_: 3
|
|
41683
41683
|
}, 8, ["data", "expand-row-keys"]),
|
|
41684
|
-
|
|
41684
|
+
G.value > W[0] ? (x(), M("div", W7, [
|
|
41685
41685
|
q(h(Jl), {
|
|
41686
|
-
total:
|
|
41686
|
+
total: G.value,
|
|
41687
41687
|
page: g.page,
|
|
41688
41688
|
"page-size": g.size,
|
|
41689
41689
|
"page-sizes": W,
|
|
@@ -41694,8 +41694,8 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41694
41694
|
])) : he("", !0)
|
|
41695
41695
|
])),
|
|
41696
41696
|
q(h(Cn), {
|
|
41697
|
-
visible:
|
|
41698
|
-
"onUpdate:visible": Be[4] || (Be[4] = (we) =>
|
|
41697
|
+
visible: j.value,
|
|
41698
|
+
"onUpdate:visible": Be[4] || (Be[4] = (we) => j.value = we),
|
|
41699
41699
|
"phone-half-full": h(c),
|
|
41700
41700
|
"main-class": "handle-dialog-approval review-dialog",
|
|
41701
41701
|
actions: pt.value
|
|
@@ -41786,7 +41786,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41786
41786
|
const { t, locale: i } = oi(), n = Ae(() => i.value === Mu.ZH), { statusMap: r, activityTypeMap: a } = ko(), { getConfig: o } = sn(), u = (xe) => {
|
|
41787
41787
|
const ve = Ve(xe || /* @__PURE__ */ new Date());
|
|
41788
41788
|
return n.value ? ve.format("YYYY MM月") : ve.format("MMMM YYYY");
|
|
41789
|
-
}, c = nr(null), { isPhone: m } = qi(), g = s, E = e, b = ue([]), P = ue([]), v = ue(1), T = ue(50), A = ue(null), L = ue(!1), O = ue([]), F = ue(!1),
|
|
41789
|
+
}, c = nr(null), { isPhone: m } = qi(), g = s, E = e, b = ue([]), P = ue([]), v = ue(1), T = ue(50), A = ue(null), L = ue(!1), O = ue([]), F = ue(!1), G = ue(!1), W = Ae(() => A.value === null || P.value.length < A.value), D = async () => {
|
|
41790
41790
|
if (g.getListRequest && !F.value)
|
|
41791
41791
|
try {
|
|
41792
41792
|
if (A.value !== null && A.value > 0 && (v.value - 1) * T.value > A.value)
|
|
@@ -41799,7 +41799,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41799
41799
|
const xe = await g.getListRequest({
|
|
41800
41800
|
page: v.value,
|
|
41801
41801
|
size: T.value,
|
|
41802
|
-
start_date:
|
|
41802
|
+
start_date: j.value
|
|
41803
41803
|
}), ve = (xe.data || []).map((ke) => {
|
|
41804
41804
|
const { start_date: Je, end_date: Xe, start: Dt, end: Ze } = ke;
|
|
41805
41805
|
return [
|
|
@@ -41813,12 +41813,12 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41813
41813
|
isExpired: Ve(`${Je} ${Dt}`).isBefore(Ve())
|
|
41814
41814
|
}
|
|
41815
41815
|
];
|
|
41816
|
-
}).flat().filter((ke) => ke.start_date.slice(0, 7) === Ct(
|
|
41816
|
+
}).flat().filter((ke) => ke.start_date.slice(0, 7) === Ct(j.value, "YYYY-MM-DD").slice(0, 7));
|
|
41817
41817
|
L.value ? (P.value = xe.data || [], b.value = ve) : v.value === 1 && !m.value ? (P.value = xe.data || [], b.value = ve) : (P.value = [...P.value, ...xe.data || []], b.value = [...b.value, ...ve]), b.value.sort((ke, Je) => ke.start_date === Je.start_date ? gn(ke.start) > gn(Je.start) ? 1 : -1 : Ve(ke.start_date).isAfter(Ve(Je.start_date)) ? 1 : -1), A.value = (xe == null ? void 0 : xe.total) || 0, $t(() => {
|
|
41818
41818
|
ee(), le.value && !m.value && R();
|
|
41819
41819
|
});
|
|
41820
41820
|
} finally {
|
|
41821
|
-
F.value = !1,
|
|
41821
|
+
F.value = !1, G.value = !1, L.value = !1;
|
|
41822
41822
|
}
|
|
41823
41823
|
}, X = ue([]), S = (xe) => {
|
|
41824
41824
|
g.getActivityDetailRequest && (X.value.includes(xe) || (X.value.push(xe), g.getActivityDetailRequest(xe).then((ve) => {
|
|
@@ -41841,13 +41841,13 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41841
41841
|
ke + Xe >= Je && ye();
|
|
41842
41842
|
}, R = () => {
|
|
41843
41843
|
le.value.getContainerEl().addEventListener("scroll", H);
|
|
41844
|
-
}, U = ue(),
|
|
41844
|
+
}, U = ue(), j = ue(Ve().format("YYYY-MM-DD")), ne = Ae(() => [...new Set(b.value.map((xe) => xe.start_date))].sort((xe, ve) => Ve(xe).isBefore(Ve(ve)) ? -1 : 1)), ie = Ae(
|
|
41845
41845
|
() => [...new Set(b.value.filter((xe) => !xe.isExpired && !xe.is_delete).map((xe) => xe.start_date))].sort((xe, ve) => Ve(xe).isBefore(Ve(ve)) ? -1 : 1)
|
|
41846
41846
|
), ee = () => {
|
|
41847
41847
|
var ke;
|
|
41848
41848
|
const xe = ie.value.find((Je) => !Ve(Je).isBefore(Ve(/* @__PURE__ */ new Date()).format("YYYY-MM-DD")));
|
|
41849
|
-
xe ?
|
|
41850
|
-
const ve = b.value.find((Je) => Je.start_date ===
|
|
41849
|
+
xe ? j.value = xe : j.value || (j.value = Ve().format("YYYY-MM-DD")), (ke = U.value) == null || ke.pickDay(Ve(j.value)), j.value = Ve(j.value).format("YYYY-MM-DD");
|
|
41850
|
+
const ve = b.value.find((Je) => Je.start_date === j.value && !Je.isExpired && !Je.is_delete);
|
|
41851
41851
|
ve && (S(ve.id), O.value = [ve.id]);
|
|
41852
41852
|
}, ae = (xe, ve) => {
|
|
41853
41853
|
var ke;
|
|
@@ -41857,7 +41857,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41857
41857
|
top: 0,
|
|
41858
41858
|
behavior: "smooth"
|
|
41859
41859
|
}), U.value.selectDate(xe), L.value = !0, $t(() => {
|
|
41860
|
-
|
|
41860
|
+
j.value = Ve(U.value.selectedDay).format("YYYY-MM-DD"), D();
|
|
41861
41861
|
}));
|
|
41862
41862
|
}, se = Ae(() => b.value.reduce((xe, ve) => {
|
|
41863
41863
|
if (xe.length) {
|
|
@@ -41891,13 +41891,13 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41891
41891
|
}));
|
|
41892
41892
|
};
|
|
41893
41893
|
bt(
|
|
41894
|
-
() =>
|
|
41894
|
+
() => j.value,
|
|
41895
41895
|
() => {
|
|
41896
|
-
de(
|
|
41896
|
+
de(j.value);
|
|
41897
41897
|
}
|
|
41898
41898
|
);
|
|
41899
41899
|
const ye = Ss(() => {
|
|
41900
|
-
W.value && (m.value || (
|
|
41900
|
+
W.value && (m.value || (G.value = !0, v.value++, D()));
|
|
41901
41901
|
}, 200), Ee = ue(!1), Te = ue(null), Ue = ue(!1), nt = (xe) => {
|
|
41902
41902
|
Te.value = xe, Ue.value = !0;
|
|
41903
41903
|
}, Qe = () => {
|
|
@@ -41971,7 +41971,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
41971
41971
|
}, Ce = Ss(() => {
|
|
41972
41972
|
if (!W.value || !m.value) return;
|
|
41973
41973
|
const xe = window.scrollY || window.pageYOffset, ve = window.innerHeight;
|
|
41974
|
-
document.documentElement.scrollHeight - (xe + ve) <= 300 && !F.value && (
|
|
41974
|
+
document.documentElement.scrollHeight - (xe + ve) <= 300 && !F.value && (G.value = !0, v.value++, D());
|
|
41975
41975
|
}, 200);
|
|
41976
41976
|
Di(() => {
|
|
41977
41977
|
D(), window.addEventListener("scroll", Ce), window.addEventListener("resize", Ce), st(), window.addEventListener("resize", st);
|
|
@@ -42028,7 +42028,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
42028
42028
|
C("div", r6, [
|
|
42029
42029
|
C("div", a6, [
|
|
42030
42030
|
h(m) ? (x(), M("div", o6, [
|
|
42031
|
-
C("span", null, z(u(
|
|
42031
|
+
C("span", null, z(u(j.value)), 1),
|
|
42032
42032
|
C("span", null, [
|
|
42033
42033
|
q(h(Re), {
|
|
42034
42034
|
onClick: ve[0] || (ve[0] = (ke) => te("prev-month"))
|
|
@@ -42052,11 +42052,11 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
42052
42052
|
q(h(Vu), {
|
|
42053
42053
|
ref_key: "calendarRef",
|
|
42054
42054
|
ref: U,
|
|
42055
|
-
modelValue:
|
|
42056
|
-
"onUpdate:modelValue": ve[4] || (ve[4] = (ke) =>
|
|
42055
|
+
modelValue: j.value,
|
|
42056
|
+
"onUpdate:modelValue": ve[4] || (ve[4] = (ke) => j.value = ke)
|
|
42057
42057
|
}, {
|
|
42058
42058
|
header: w(() => [
|
|
42059
|
-
C("span", null, z(u(
|
|
42059
|
+
C("span", null, z(u(j.value)), 1),
|
|
42060
42060
|
C("div", null, [
|
|
42061
42061
|
q(h(Re), {
|
|
42062
42062
|
onClick: ve[2] || (ve[2] = (ke) => te("prev-month"))
|
|
@@ -42137,7 +42137,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
42137
42137
|
C("div", {
|
|
42138
42138
|
class: Ne({
|
|
42139
42139
|
"act-bar": !0,
|
|
42140
|
-
"is-active": h(Ve)(
|
|
42140
|
+
"is-active": h(Ve)(j.value).format("YYYY-MM-DD") === ke.start_date,
|
|
42141
42141
|
"is-end": ke.list.every((Xe) => Xe.isExpired),
|
|
42142
42142
|
approved: ke.list.every((Xe) => Xe.status === 3 || Xe.status === 4)
|
|
42143
42143
|
})
|
|
@@ -42312,7 +42312,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
42312
42312
|
ve[11] || (ve[11] = C("div", { class: "height-placeholder" }, null, -1))
|
|
42313
42313
|
], 2),
|
|
42314
42314
|
Je === se.value.length - 1 ? (x(), M(De, { key: 1 }, [
|
|
42315
|
-
|
|
42315
|
+
G.value ? (x(), M("div", S6, z(h(t)("meeting.loading")), 1)) : he("", !0),
|
|
42316
42316
|
C("div", {
|
|
42317
42317
|
class: "list-month-change next-month",
|
|
42318
42318
|
onClick: ve[6] || (ve[6] = (Xe) => te("next-month"))
|
|
@@ -42851,16 +42851,16 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
42851
42851
|
const i = s, n = t, { lePadV: r, leLaptop: a, isPhone: o } = qi(), { locale: u, t: c } = oi(), m = Ae(() => u.value === "zh"), g = ue(), E = Ae(() => g.value ? !!getComputedStyle(g.value).getPropertyValue("--grid-content-width") : !1), b = Ae(() => m.value ? d5 : h5), P = ue(!1), v = Jg(i, "visible", n, { defaultValue: !1 }), T = (H) => {
|
|
42852
42852
|
const R = document.cookie.split(";").find((U) => U.split("=")[0].trim() === encodeURIComponent(H));
|
|
42853
42853
|
return R ? decodeURIComponent(R.split("=")[1]) : null;
|
|
42854
|
-
}, A = (H, R, U,
|
|
42854
|
+
}, A = (H, R, U, j) => {
|
|
42855
42855
|
const ne = `; max-age=${U * 24 * 60 * 60}`;
|
|
42856
|
-
document.cookie = `${encodeURIComponent(H)}=${encodeURIComponent(R)}${ne}; path=/; domain=${
|
|
42856
|
+
document.cookie = `${encodeURIComponent(H)}=${encodeURIComponent(R)}${ne}; path=/; domain=${j}`;
|
|
42857
42857
|
}, L = (H, R) => {
|
|
42858
42858
|
document.cookie = `${encodeURIComponent(H)}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${R}`;
|
|
42859
42859
|
}, O = (H) => {
|
|
42860
42860
|
typeof H == "boolean" ? v.value = H : v.value = !v.value, $t(() => {
|
|
42861
42861
|
!v.value && m.value && T(b.value) !== za && A(b.value, za, 180, i.cookieDomain ?? location.hostname);
|
|
42862
42862
|
});
|
|
42863
|
-
}, F = ue(!1),
|
|
42863
|
+
}, F = ue(!1), G = (H) => {
|
|
42864
42864
|
typeof H == "boolean" ? F.value = H : F.value = !F.value;
|
|
42865
42865
|
}, W = () => m.value ? T(b.value) !== za : (T(b.value) ?? "0") === u5, D = () => m.value ? T(b.value) === za : T(b.value) === _0;
|
|
42866
42866
|
Di(() => {
|
|
@@ -42878,7 +42878,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
42878
42878
|
label: c("cookie.saveSetting"),
|
|
42879
42879
|
variant: "text",
|
|
42880
42880
|
onClick: () => {
|
|
42881
|
-
P.value ? X() : S(),
|
|
42881
|
+
P.value ? X() : S(), G(!1);
|
|
42882
42882
|
}
|
|
42883
42883
|
},
|
|
42884
42884
|
{
|
|
@@ -42886,7 +42886,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
42886
42886
|
label: c("cookie.acceptAll"),
|
|
42887
42887
|
variant: "text",
|
|
42888
42888
|
onClick: () => {
|
|
42889
|
-
P.value = !0, X(),
|
|
42889
|
+
P.value = !0, X(), G(!1);
|
|
42890
42890
|
}
|
|
42891
42891
|
}
|
|
42892
42892
|
] : [
|
|
@@ -42898,7 +42898,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
42898
42898
|
size: "medium",
|
|
42899
42899
|
round: "pill",
|
|
42900
42900
|
onClick: () => {
|
|
42901
|
-
P.value ? X() : S(),
|
|
42901
|
+
P.value ? X() : S(), G(!1);
|
|
42902
42902
|
}
|
|
42903
42903
|
},
|
|
42904
42904
|
{
|
|
@@ -42909,7 +42909,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
42909
42909
|
size: "medium",
|
|
42910
42910
|
round: "pill",
|
|
42911
42911
|
onClick: () => {
|
|
42912
|
-
P.value = !0, X(),
|
|
42912
|
+
P.value = !0, X(), G(!1);
|
|
42913
42913
|
}
|
|
42914
42914
|
}
|
|
42915
42915
|
]), B = (H) => {
|
|
@@ -43008,7 +43008,7 @@ const r7 = { name: "components-icon-tips", render: n7 }, a7 = { class: "o-sig-me
|
|
|
43008
43008
|
round: "pill",
|
|
43009
43009
|
variant: "outline",
|
|
43010
43010
|
color: "primary",
|
|
43011
|
-
onClick: R[1] || (R[1] = (U) =>
|
|
43011
|
+
onClick: R[1] || (R[1] = (U) => G(!0))
|
|
43012
43012
|
}, {
|
|
43013
43013
|
default: w(() => [
|
|
43014
43014
|
Oe(z(h(c)("cookie.manage")), 1)
|
|
@@ -44021,8 +44021,8 @@ const mx = { name: "components-icon-caret-right", render: px }, gx = { class: "h
|
|
|
44021
44021
|
},
|
|
44022
44022
|
emits: ["handle-mouseenter", "handle-mouseleave", "handle-click"],
|
|
44023
44023
|
setup(s, { emit: e }) {
|
|
44024
|
-
const t = e, i = s, n = ue(), r = ue(), a = ue(null), o = ue(!1), u = ue(!1), c = ue(), m = Ss((F,
|
|
44025
|
-
c.value = F == null ? void 0 : F.id,
|
|
44024
|
+
const t = e, i = s, n = ue(), r = ue(), a = ue(null), o = ue(!1), u = ue(!1), c = ue(), m = Ss((F, G) => {
|
|
44025
|
+
c.value = F == null ? void 0 : F.id, G === "mouseenter" && t("handle-mouseenter", F), G === "mouseleave" && (c.value = "", t("handle-mouseleave", F));
|
|
44026
44026
|
}, 100), g = (F) => {
|
|
44027
44027
|
t("handle-click", F);
|
|
44028
44028
|
}, E = () => {
|
|
@@ -44038,8 +44038,8 @@ const mx = { name: "components-icon-caret-right", render: px }, gx = { class: "h
|
|
|
44038
44038
|
behavior: "smooth"
|
|
44039
44039
|
}), u.value = !1;
|
|
44040
44040
|
}, P = () => {
|
|
44041
|
-
var F,
|
|
44042
|
-
((F = n.value) == null ? void 0 : F.clientWidth) < ((
|
|
44041
|
+
var F, G;
|
|
44042
|
+
((F = n.value) == null ? void 0 : F.clientWidth) < ((G = r.value) == null ? void 0 : G.clientWidth) ? o.value = !0 : o.value = !1;
|
|
44043
44043
|
};
|
|
44044
44044
|
let v = 0, T = 0;
|
|
44045
44045
|
const A = () => T = 0, L = (F) => T > 0 ? void T++ : (T++, v = Date.now(), {
|
|
@@ -44067,7 +44067,7 @@ const mx = { name: "components-icon-caret-right", render: px }, gx = { class: "h
|
|
|
44067
44067
|
});
|
|
44068
44068
|
}), tn(() => {
|
|
44069
44069
|
window.removeEventListener("resize", P), clearTimeout(a.value);
|
|
44070
|
-
}), (F,
|
|
44070
|
+
}), (F, G) => {
|
|
44071
44071
|
const W = N0("analytics");
|
|
44072
44072
|
return x(), M("div", gx, [
|
|
44073
44073
|
C("div", {
|
|
@@ -44229,7 +44229,7 @@ const mx = { name: "components-icon-caret-right", render: px }, gx = { class: "h
|
|
|
44229
44229
|
"disabled-y": ""
|
|
44230
44230
|
}, {
|
|
44231
44231
|
default: w(() => {
|
|
44232
|
-
var O, F,
|
|
44232
|
+
var O, F, G, W, D, X, S, I;
|
|
44233
44233
|
return [
|
|
44234
44234
|
C("div", wx, [
|
|
44235
44235
|
C("div", kx, [
|
|
@@ -44282,7 +44282,7 @@ const mx = { name: "components-icon-caret-right", render: px }, gx = { class: "h
|
|
|
44282
44282
|
])
|
|
44283
44283
|
]))), 128))
|
|
44284
44284
|
]),
|
|
44285
|
-
(
|
|
44285
|
+
(G = (F = i.itemData) == null ? void 0 : F.shortcut) != null && G.length ? (x(), M("div", Vx)) : he("", !0),
|
|
44286
44286
|
(D = (W = i.itemData) == null ? void 0 : W.shortcut) != null && D.length ? (x(), M("div", Mx, [
|
|
44287
44287
|
C("span", Rx, z(h(n) === "zh" ? "快捷链接" : "Quick Link"), 1),
|
|
44288
44288
|
(X = i.itemData) != null && X.withPicture ? (x(!0), M(De, { key: 1 }, ze((I = i.itemData) == null ? void 0 : I.shortcut, (B) => Ms((x(), M("a", {
|
|
@@ -44364,7 +44364,7 @@ const mx = { name: "components-icon-caret-right", render: px }, gx = { class: "h
|
|
|
44364
44364
|
}, b = () => {
|
|
44365
44365
|
g && (document.removeEventListener("mousemove", g), g = null);
|
|
44366
44366
|
}, P = (D, X, S, I, B, H, R, U) => {
|
|
44367
|
-
const
|
|
44367
|
+
const j = (D - B) * (I - H) - (S - B) * (X - H), ne = (D - R) * (H - U) - (B - R) * (X - U), ie = (D - S) * (U - I) - (R - S) * (X - I), ee = j < 0 || ne < 0 || ie < 0, ae = j > 0 || ne > 0 || ie > 0;
|
|
44368
44368
|
return !(ee && ae);
|
|
44369
44369
|
}, v = (D = !0) => {
|
|
44370
44370
|
E();
|
|
@@ -44396,7 +44396,7 @@ const mx = { name: "components-icon-caret-right", render: px }, gx = { class: "h
|
|
|
44396
44396
|
v(!0);
|
|
44397
44397
|
}, F = (D) => {
|
|
44398
44398
|
t("handle-click", D);
|
|
44399
|
-
},
|
|
44399
|
+
}, G = (D) => {
|
|
44400
44400
|
E(), r.value = D;
|
|
44401
44401
|
}, W = (D) => {
|
|
44402
44402
|
r.value = D, v(!1);
|
|
@@ -44456,7 +44456,7 @@ const mx = { name: "components-icon-caret-right", render: px }, gx = { class: "h
|
|
|
44456
44456
|
"bg-right": i.bgRight,
|
|
44457
44457
|
community: i.community,
|
|
44458
44458
|
"hover-index": n.value,
|
|
44459
|
-
onHandleMouseenterSub:
|
|
44459
|
+
onHandleMouseenterSub: G,
|
|
44460
44460
|
onHandleMouseleaveSub: W
|
|
44461
44461
|
}, null, 8, ["itemData", "item-visible", "bg-left", "bg-right", "community", "hover-index"])
|
|
44462
44462
|
], 544)
|
|
@@ -44877,9 +44877,9 @@ function qS(s) {
|
|
|
44877
44877
|
const e = ue(""), t = ue(null), i = ue(""), n = ue(!1);
|
|
44878
44878
|
let r = null;
|
|
44879
44879
|
const a = (T) => {
|
|
44880
|
-
var O, F,
|
|
44880
|
+
var O, F, G, W;
|
|
44881
44881
|
const A = (O = s.allowedImageTypes) == null ? void 0 : O.value, L = A && A.length > 0 ? A.includes(T.type) : (F = T.type) == null ? void 0 : F.startsWith("image/");
|
|
44882
|
-
return !T.type || !L ? ((
|
|
44882
|
+
return !T.type || !L ? ((G = s.onValidationError) == null || G.call(s, "type", T), !1) : s.maxImageSize.value > 0 && T.size > s.maxImageSize.value ? ((W = s.onValidationError) == null || W.call(s, "size", T), !1) : !0;
|
|
44883
44883
|
}, o = () => {
|
|
44884
44884
|
if (e.value)
|
|
44885
44885
|
try {
|
|
@@ -44906,11 +44906,11 @@ function qS(s) {
|
|
|
44906
44906
|
o(), t.value = T, e.value = URL.createObjectURL(T), (L = s.onUploadStart) == null || L.call(s, T);
|
|
44907
44907
|
const A = (O = s.uploadImage) == null ? void 0 : O.value;
|
|
44908
44908
|
A && (n.value = !0, r = Promise.resolve().then(() => A(T)).then((F) => {
|
|
44909
|
-
var
|
|
44910
|
-
F && t.value === T && (i.value = F, (
|
|
44909
|
+
var G;
|
|
44910
|
+
F && t.value === T && (i.value = F, (G = s.onUploadSuccess) == null || G.call(s, F, T));
|
|
44911
44911
|
}).catch((F) => {
|
|
44912
|
-
var
|
|
44913
|
-
(
|
|
44912
|
+
var G;
|
|
44913
|
+
(G = s.onUploadError) == null || G.call(s, F, T);
|
|
44914
44914
|
}).finally(() => {
|
|
44915
44915
|
n.value = !1;
|
|
44916
44916
|
}));
|
|
@@ -44921,8 +44921,8 @@ function qS(s) {
|
|
|
44921
44921
|
for (let O = 0; O < A.length; O++) {
|
|
44922
44922
|
const F = A[O];
|
|
44923
44923
|
if (F.type.startsWith("image/")) {
|
|
44924
|
-
const
|
|
44925
|
-
|
|
44924
|
+
const G = F.getAsFile();
|
|
44925
|
+
G && c(G);
|
|
44926
44926
|
break;
|
|
44927
44927
|
}
|
|
44928
44928
|
}
|
|
@@ -45089,7 +45089,7 @@ const D0 = { name: "components-icon-image-zoomin", render: jS }, GS = { class: "
|
|
|
45089
45089
|
var H, R;
|
|
45090
45090
|
return (R = (H = E.value) == null ? void 0 : H.focus) == null ? void 0 : R.call(H);
|
|
45091
45091
|
});
|
|
45092
|
-
},
|
|
45092
|
+
}, G = (B) => {
|
|
45093
45093
|
i.enableImageSearch && m.onPaste(B);
|
|
45094
45094
|
}, W = (B) => {
|
|
45095
45095
|
i.enableImageSearch && m.onDragOver(B);
|
|
@@ -45131,7 +45131,7 @@ const D0 = { name: "components-icon-image-zoomin", render: jS }, GS = { class: "
|
|
|
45131
45131
|
onPressEnter: H[4] || (H[4] = (R) => n("enter")),
|
|
45132
45132
|
onFocus: H[5] || (H[5] = (R) => n("focus", R)),
|
|
45133
45133
|
onBlur: H[6] || (H[6] = (R) => n("blur", R)),
|
|
45134
|
-
onPaste:
|
|
45134
|
+
onPaste: G
|
|
45135
45135
|
}, xn({
|
|
45136
45136
|
prefix: w(() => [
|
|
45137
45137
|
He(B.$slots, "prefix", {}, () => [
|
|
@@ -45618,8 +45618,8 @@ const BC = { name: "components-icon-header-back", render: NC }, FC = {
|
|
|
45618
45618
|
storeHistory: A,
|
|
45619
45619
|
maxHistoryCount: L,
|
|
45620
45620
|
onChange: (re) => n("update:historyItems", re)
|
|
45621
|
-
}), F = Ae(() => 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")),
|
|
45622
|
-
bt(P, (re) =>
|
|
45621
|
+
}), F = Ae(() => 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")), G = Ss((re) => n("input", re), () => i.debounce);
|
|
45622
|
+
bt(P, (re) => G(re)), H0(u, () => {
|
|
45623
45623
|
o.value || D();
|
|
45624
45624
|
});
|
|
45625
45625
|
const W = () => {
|
|
@@ -45649,7 +45649,7 @@ const BC = { name: "components-icon-header-back", render: NC }, FC = {
|
|
|
45649
45649
|
n("recommend-click", re), I(re);
|
|
45650
45650
|
}, U = (re) => {
|
|
45651
45651
|
n("onestep-click", re), re.path && typeof window < "u" && window.open(re.path, "_blank", "noopener,noreferrer");
|
|
45652
|
-
},
|
|
45652
|
+
}, j = (re) => {
|
|
45653
45653
|
n("history-click", re), I(re);
|
|
45654
45654
|
}, ne = (re) => {
|
|
45655
45655
|
n("hot-click", re), I(re);
|
|
@@ -45784,7 +45784,7 @@ const BC = { name: "components-icon-header-back", render: NC }, FC = {
|
|
|
45784
45784
|
onOnestepClick: U,
|
|
45785
45785
|
onSuggestClick: H,
|
|
45786
45786
|
onRecommendClick: R,
|
|
45787
|
-
onHistoryClick:
|
|
45787
|
+
onHistoryClick: j,
|
|
45788
45788
|
onHistoryRemove: ie,
|
|
45789
45789
|
onHistoryClear: ee,
|
|
45790
45790
|
onHotClick: ne,
|
|
@@ -46304,7 +46304,7 @@ const oE = { name: "components-icon-avatar-line", render: aE }, lE = { class: "h
|
|
|
46304
46304
|
onChange: (Q) => n("update:historyItems", Q)
|
|
46305
46305
|
});
|
|
46306
46306
|
let F = !1;
|
|
46307
|
-
const
|
|
46307
|
+
const G = Ss((Q) => {
|
|
46308
46308
|
if (F) {
|
|
46309
46309
|
F = !1;
|
|
46310
46310
|
return;
|
|
@@ -46312,7 +46312,7 @@ const oE = { name: "components-icon-avatar-line", render: aE }, lE = { class: "h
|
|
|
46312
46312
|
n("input", Q);
|
|
46313
46313
|
}, () => i.debounce);
|
|
46314
46314
|
bt(c, (Q) => {
|
|
46315
|
-
|
|
46315
|
+
G(Q);
|
|
46316
46316
|
}), H0(u, () => {
|
|
46317
46317
|
i.closeOnClickOutside && (g.value || E.value || (m.value = !1));
|
|
46318
46318
|
});
|
|
@@ -46340,7 +46340,7 @@ const oE = { name: "components-icon-avatar-line", render: aE }, lE = { class: "h
|
|
|
46340
46340
|
n("hot-click", Q), X(Q);
|
|
46341
46341
|
}, U = (Q) => {
|
|
46342
46342
|
O.remove(Q), n("delete-history-item", Q);
|
|
46343
|
-
},
|
|
46343
|
+
}, j = () => {
|
|
46344
46344
|
const Q = [...O.items.value];
|
|
46345
46345
|
O.clearAll(), n("delete-history", Q);
|
|
46346
46346
|
}, ne = (Q) => {
|
|
@@ -46447,7 +46447,7 @@ const oE = { name: "components-icon-avatar-line", render: aE }, lE = { class: "h
|
|
|
46447
46447
|
onSuggestClick: I,
|
|
46448
46448
|
onHistoryClick: H,
|
|
46449
46449
|
onHistoryRemove: U,
|
|
46450
|
-
onHistoryClear:
|
|
46450
|
+
onHistoryClear: j,
|
|
46451
46451
|
onHotClick: R
|
|
46452
46452
|
}, xn({ _: 2 }, [
|
|
46453
46453
|
Q.$slots["onestep-header"] ? {
|