@pusdn/pgz-comp-elep 0.2.6 → 0.2.7
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/lib/pgz-comp-elep.es.js +526 -521
- package/lib/pgz-comp-elep.es.js.gz +0 -0
- package/lib/pgz-comp-elep.umd.js +56 -56
- package/lib/pgz-comp-elep.umd.js.gz +0 -0
- package/lib/style.css +1 -1
- package/lib/style.css.gz +0 -0
- package/package.json +1 -1
package/lib/pgz-comp-elep.es.js
CHANGED
|
@@ -2159,7 +2159,7 @@ let fi = {
|
|
|
2159
2159
|
timeout: 5e4,
|
|
2160
2160
|
clientId: ""
|
|
2161
2161
|
};
|
|
2162
|
-
function
|
|
2162
|
+
function sx(i) {
|
|
2163
2163
|
i.baseURL && (fi.baseURL = i.baseURL), i.timeout && (fi.timeout = i.timeout), i.clientId && (fi.clientId = i.clientId), bf();
|
|
2164
2164
|
}
|
|
2165
2165
|
let Pl;
|
|
@@ -2231,7 +2231,7 @@ function dc(i, a = 500, r, t) {
|
|
|
2231
2231
|
e && clearTimeout(e), n = !1, e = null;
|
|
2232
2232
|
}, o;
|
|
2233
2233
|
}
|
|
2234
|
-
function
|
|
2234
|
+
function lx(i, a, r = { leading: !1, trailing: !0 }) {
|
|
2235
2235
|
let t = null, e = 0;
|
|
2236
2236
|
const { leading: n, trailing: o } = r, s = function(...l) {
|
|
2237
2237
|
const u = Date.now();
|
|
@@ -2248,7 +2248,7 @@ function sx(i, a, r = { leading: !1, trailing: !0 }) {
|
|
|
2248
2248
|
function Np(i) {
|
|
2249
2249
|
return i.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
2250
2250
|
}
|
|
2251
|
-
function
|
|
2251
|
+
function ux(i, a = 2, r = ",", t = ".", e = "", n = "") {
|
|
2252
2252
|
if (Number(i) === 0)
|
|
2253
2253
|
return Number(i).toFixed(a);
|
|
2254
2254
|
if (!i)
|
|
@@ -17166,7 +17166,10 @@ function wS(i) {
|
|
|
17166
17166
|
}
|
|
17167
17167
|
return null;
|
|
17168
17168
|
}
|
|
17169
|
-
const SS = {
|
|
17169
|
+
const SS = {
|
|
17170
|
+
class: "pgz-search-select-root",
|
|
17171
|
+
style: { width: "100%" }
|
|
17172
|
+
}, ES = { style: { padding: "4px 8px", cursor: "pointer" } }, CS = /* @__PURE__ */ O({
|
|
17170
17173
|
name: "PgzSearchSelect",
|
|
17171
17174
|
__name: "index",
|
|
17172
17175
|
props: {
|
|
@@ -17331,98 +17334,100 @@ const SS = { style: { padding: "4px 8px", cursor: "pointer" } }, ES = /* @__PURE
|
|
|
17331
17334
|
L.value = !1;
|
|
17332
17335
|
}), (k, R) => {
|
|
17333
17336
|
const M = se("el-option"), V = se("el-select"), H = se("el-button"), j = se("el-divider");
|
|
17334
|
-
return
|
|
17335
|
-
|
|
17336
|
-
|
|
17337
|
-
|
|
17338
|
-
|
|
17339
|
-
|
|
17340
|
-
|
|
17341
|
-
|
|
17342
|
-
|
|
17343
|
-
|
|
17344
|
-
|
|
17345
|
-
|
|
17346
|
-
|
|
17347
|
-
|
|
17348
|
-
|
|
17349
|
-
|
|
17350
|
-
|
|
17351
|
-
|
|
17352
|
-
|
|
17353
|
-
|
|
17354
|
-
|
|
17355
|
-
|
|
17356
|
-
|
|
17357
|
-
|
|
17358
|
-
|
|
17359
|
-
|
|
17360
|
-
|
|
17361
|
-
_: 1
|
|
17362
|
-
}, 8, ["modelValue", "disabled", "placeholder", "remote-method", "loading", "multiple", "size", "empty-text"])) : (m(), ne(V, {
|
|
17363
|
-
key: 1,
|
|
17364
|
-
modelValue: s.value,
|
|
17365
|
-
"onUpdate:modelValue": R[1] || (R[1] = (J) => s.value = J),
|
|
17366
|
-
disabled: k.disabled,
|
|
17367
|
-
placeholder: k.placeholder,
|
|
17368
|
-
"popper-append-to-body": !1,
|
|
17369
|
-
"popper-container": E,
|
|
17370
|
-
style: { width: "100%" },
|
|
17371
|
-
filterable: !0,
|
|
17372
|
-
loading: o.value,
|
|
17373
|
-
multiple: k.mode === "multiple",
|
|
17374
|
-
"collapse-tags": "",
|
|
17375
|
-
"collapse-tags-tooltip": "",
|
|
17376
|
-
"max-collapse-tags": 3,
|
|
17377
|
-
size: k.size,
|
|
17378
|
-
"empty-text": k.emptyText,
|
|
17379
|
-
clearable: "",
|
|
17380
|
-
onChange: I,
|
|
17381
|
-
onVisibleChange: T
|
|
17382
|
-
}, dt({
|
|
17383
|
-
default: U(() => [
|
|
17384
|
-
(m(!0), x(Re, null, Be(u.value, (J) => (m(), ne(M, {
|
|
17385
|
-
key: J.value,
|
|
17386
|
-
label: J.text,
|
|
17387
|
-
value: J.value
|
|
17388
|
-
}, null, 8, ["label", "value"]))), 128))
|
|
17389
|
-
]),
|
|
17390
|
-
_: 2
|
|
17391
|
-
}, [
|
|
17392
|
-
k.mode === "multiple" ? {
|
|
17393
|
-
name: "footer",
|
|
17394
|
-
fn: U(() => [
|
|
17395
|
-
S("div", SS, [
|
|
17396
|
-
ve(H, {
|
|
17397
|
-
type: "primary",
|
|
17398
|
-
link: "",
|
|
17399
|
-
onClick: B
|
|
17400
|
-
}, {
|
|
17401
|
-
default: U(() => R[2] || (R[2] = [
|
|
17402
|
-
Oe("\u5168\u9009")
|
|
17403
|
-
])),
|
|
17404
|
-
_: 1
|
|
17405
|
-
}),
|
|
17406
|
-
ve(H, {
|
|
17407
|
-
type: "primary",
|
|
17408
|
-
link: "",
|
|
17409
|
-
onClick: F
|
|
17410
|
-
}, {
|
|
17411
|
-
default: U(() => R[3] || (R[3] = [
|
|
17412
|
-
Oe("\u6E05\u7A7A")
|
|
17413
|
-
])),
|
|
17414
|
-
_: 1
|
|
17415
|
-
})
|
|
17416
|
-
]),
|
|
17417
|
-
ve(j, { style: { margin: "4px 0" } })
|
|
17337
|
+
return m(), x("div", SS, [
|
|
17338
|
+
k.async ? (m(), ne(V, {
|
|
17339
|
+
key: 0,
|
|
17340
|
+
modelValue: h.value,
|
|
17341
|
+
"onUpdate:modelValue": R[0] || (R[0] = (J) => h.value = J),
|
|
17342
|
+
disabled: k.disabled || y.value,
|
|
17343
|
+
placeholder: y.value ? "\u52A0\u8F7D\u4E2D..." : k.placeholder,
|
|
17344
|
+
"popper-append-to-body": !1,
|
|
17345
|
+
"popper-container": E,
|
|
17346
|
+
style: { width: "100%" },
|
|
17347
|
+
filterable: !0,
|
|
17348
|
+
remote: !0,
|
|
17349
|
+
"remote-method": he(D),
|
|
17350
|
+
loading: o.value,
|
|
17351
|
+
multiple: k.mode === "multiple",
|
|
17352
|
+
size: k.size,
|
|
17353
|
+
"empty-text": k.emptyText,
|
|
17354
|
+
clearable: "",
|
|
17355
|
+
onChange: P,
|
|
17356
|
+
onVisibleChange: T
|
|
17357
|
+
}, {
|
|
17358
|
+
default: U(() => [
|
|
17359
|
+
(m(!0), x(Re, null, Be(u.value, (J) => (m(), ne(M, {
|
|
17360
|
+
key: J.value,
|
|
17361
|
+
label: J.text,
|
|
17362
|
+
value: J.value
|
|
17363
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
17418
17364
|
]),
|
|
17419
|
-
|
|
17420
|
-
} :
|
|
17421
|
-
|
|
17365
|
+
_: 1
|
|
17366
|
+
}, 8, ["modelValue", "disabled", "placeholder", "remote-method", "loading", "multiple", "size", "empty-text"])) : (m(), ne(V, {
|
|
17367
|
+
key: 1,
|
|
17368
|
+
modelValue: s.value,
|
|
17369
|
+
"onUpdate:modelValue": R[1] || (R[1] = (J) => s.value = J),
|
|
17370
|
+
disabled: k.disabled,
|
|
17371
|
+
placeholder: k.placeholder,
|
|
17372
|
+
"popper-append-to-body": !1,
|
|
17373
|
+
"popper-container": E,
|
|
17374
|
+
style: { width: "100%" },
|
|
17375
|
+
filterable: !0,
|
|
17376
|
+
loading: o.value,
|
|
17377
|
+
multiple: k.mode === "multiple",
|
|
17378
|
+
"collapse-tags": "",
|
|
17379
|
+
"collapse-tags-tooltip": "",
|
|
17380
|
+
"max-collapse-tags": 3,
|
|
17381
|
+
size: k.size,
|
|
17382
|
+
"empty-text": k.emptyText,
|
|
17383
|
+
clearable: "",
|
|
17384
|
+
onChange: I,
|
|
17385
|
+
onVisibleChange: T
|
|
17386
|
+
}, dt({
|
|
17387
|
+
default: U(() => [
|
|
17388
|
+
(m(!0), x(Re, null, Be(u.value, (J) => (m(), ne(M, {
|
|
17389
|
+
key: J.value,
|
|
17390
|
+
label: J.text,
|
|
17391
|
+
value: J.value
|
|
17392
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
17393
|
+
]),
|
|
17394
|
+
_: 2
|
|
17395
|
+
}, [
|
|
17396
|
+
k.mode === "multiple" ? {
|
|
17397
|
+
name: "footer",
|
|
17398
|
+
fn: U(() => [
|
|
17399
|
+
S("div", ES, [
|
|
17400
|
+
ve(H, {
|
|
17401
|
+
type: "primary",
|
|
17402
|
+
link: "",
|
|
17403
|
+
onClick: B
|
|
17404
|
+
}, {
|
|
17405
|
+
default: U(() => R[2] || (R[2] = [
|
|
17406
|
+
Oe("\u5168\u9009")
|
|
17407
|
+
])),
|
|
17408
|
+
_: 1
|
|
17409
|
+
}),
|
|
17410
|
+
ve(H, {
|
|
17411
|
+
type: "primary",
|
|
17412
|
+
link: "",
|
|
17413
|
+
onClick: F
|
|
17414
|
+
}, {
|
|
17415
|
+
default: U(() => R[3] || (R[3] = [
|
|
17416
|
+
Oe("\u6E05\u7A7A")
|
|
17417
|
+
])),
|
|
17418
|
+
_: 1
|
|
17419
|
+
})
|
|
17420
|
+
]),
|
|
17421
|
+
ve(j, { style: { margin: "4px 0" } })
|
|
17422
|
+
]),
|
|
17423
|
+
key: "0"
|
|
17424
|
+
} : void 0
|
|
17425
|
+
]), 1032, ["modelValue", "disabled", "placeholder", "loading", "multiple", "size", "empty-text"]))
|
|
17426
|
+
]);
|
|
17422
17427
|
};
|
|
17423
17428
|
}
|
|
17424
17429
|
});
|
|
17425
|
-
const
|
|
17430
|
+
const TS = /* @__PURE__ */ rr(CS, [["__scopeId", "data-v-b6ef6fb1"]]), xS = xt(TS), kS = {
|
|
17426
17431
|
modelValue: {
|
|
17427
17432
|
type: Object,
|
|
17428
17433
|
default: () => ({})
|
|
@@ -17451,16 +17456,16 @@ const CS = /* @__PURE__ */ rr(ES, [["__scopeId", "data-v-f6d3c092"]]), TS = xt(C
|
|
|
17451
17456
|
type: Number,
|
|
17452
17457
|
default: 0
|
|
17453
17458
|
}
|
|
17454
|
-
},
|
|
17459
|
+
}, AS = { class: "pgz-map" }, DS = {
|
|
17455
17460
|
key: 0,
|
|
17456
17461
|
class: "dialog-footer"
|
|
17457
|
-
},
|
|
17462
|
+
}, PS = {
|
|
17458
17463
|
key: 0,
|
|
17459
17464
|
class: "pgz-map__content"
|
|
17460
|
-
},
|
|
17465
|
+
}, OS = { class: "pgz-map__content-box" }, IS = /* @__PURE__ */ O({
|
|
17461
17466
|
name: "PgzTdtMark",
|
|
17462
17467
|
__name: "index",
|
|
17463
|
-
props:
|
|
17468
|
+
props: kS,
|
|
17464
17469
|
emits: ["update:modelValue"],
|
|
17465
17470
|
setup(i, { expose: a, emit: r }) {
|
|
17466
17471
|
const t = i, e = r, n = le({
|
|
@@ -17513,9 +17518,9 @@ const CS = /* @__PURE__ */ rr(ES, [["__scopeId", "data-v-f6d3c092"]]), TS = xt(C
|
|
|
17513
17518
|
const E = [];
|
|
17514
17519
|
let D = "";
|
|
17515
17520
|
F.forEach((k, R) => {
|
|
17516
|
-
const M = k.lonlat.split(","), V = new window.T.LngLat(M[0], M[1]), H = new window.T.Marker(V);
|
|
17521
|
+
const M = k.lonlat.split(","), V = new window.rawWindow.T.LngLat(M[0], M[1]), H = new window.rawWindow.T.Marker(V);
|
|
17517
17522
|
n.value.map.addOverLay(H);
|
|
17518
|
-
const j = `\u540D\u79F0: ${k.name}<br/>\u5730\u5740: ${k.address}`, J = new window.T.InfoWindow(j, { autoPan: !0 });
|
|
17523
|
+
const j = `\u540D\u79F0: ${k.name}<br/>\u5730\u5740: ${k.address}`, J = new window.rawWindow.T.InfoWindow(j, { autoPan: !0 });
|
|
17519
17524
|
H.addEventListener("click", () => {
|
|
17520
17525
|
H.openInfoWindow(J);
|
|
17521
17526
|
}), D += `<p>${R + 1}. <a href="javascript:void(0);" @click="() => showPosition(marker, infoHtml)">${k.name}</a></p>`, E.push(V);
|
|
@@ -17534,10 +17539,10 @@ const CS = /* @__PURE__ */ rr(ES, [["__scopeId", "data-v-f6d3c092"]]), TS = xt(C
|
|
|
17534
17539
|
F.points.forEach((k) => {
|
|
17535
17540
|
const R = [];
|
|
17536
17541
|
k.region.split(",").forEach((H) => {
|
|
17537
|
-
const j = H.split(" "), J = new window.T.LngLat(j[0], j[1]);
|
|
17542
|
+
const j = H.split(" "), J = new window.rawWindow.T.LngLat(j[0], j[1]);
|
|
17538
17543
|
R.push(J), E.push(J);
|
|
17539
17544
|
});
|
|
17540
|
-
const V = new window.T.Polyline(R, {
|
|
17545
|
+
const V = new window.rawWindow.T.Polyline(R, {
|
|
17541
17546
|
color: "blue",
|
|
17542
17547
|
weight: 3,
|
|
17543
17548
|
opacity: 1,
|
|
@@ -17548,7 +17553,7 @@ const CS = /* @__PURE__ */ rr(ES, [["__scopeId", "data-v-f6d3c092"]]), TS = xt(C
|
|
|
17548
17553
|
}
|
|
17549
17554
|
if (F.lonlat) {
|
|
17550
17555
|
const E = F.lonlat.split(",");
|
|
17551
|
-
n.value.map.panTo(new window.T.LngLat(E[0], E[1]));
|
|
17556
|
+
n.value.map.panTo(new window.rawWindow.T.LngLat(E[0], E[1]));
|
|
17552
17557
|
}
|
|
17553
17558
|
}
|
|
17554
17559
|
}, w = (F) => {
|
|
@@ -17565,12 +17570,12 @@ const CS = /* @__PURE__ */ rr(ES, [["__scopeId", "data-v-f6d3c092"]]), TS = xt(C
|
|
|
17565
17570
|
n.value.box = !0;
|
|
17566
17571
|
}, P = (F, E) => {
|
|
17567
17572
|
if (n.value.map) {
|
|
17568
|
-
const D = new window.T.Icon({
|
|
17573
|
+
const D = new window.rawWindow.T.Icon({
|
|
17569
17574
|
iconUrl: "https://a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png",
|
|
17570
|
-
iconSize: new window.T.Point(19, 27),
|
|
17571
|
-
iconAnchor: new window.T.Point(10, 25)
|
|
17575
|
+
iconSize: new window.rawWindow.T.Point(19, 27),
|
|
17576
|
+
iconAnchor: new window.rawWindow.T.Point(10, 25)
|
|
17572
17577
|
});
|
|
17573
|
-
n.value.marker = new window.T.Marker(new window.T.LngLat(F, E), { icon: D }), n.value.map.addOverLay(n.value.marker);
|
|
17578
|
+
n.value.marker = new window.rawWindow.T.Marker(new window.rawWindow.T.LngLat(F, E), { icon: D }), n.value.map.addOverLay(n.value.marker);
|
|
17574
17579
|
}
|
|
17575
17580
|
}, I = (F) => {
|
|
17576
17581
|
if (n.value.loading = !0, F.getStatus() == 0) {
|
|
@@ -17579,7 +17584,7 @@ const CS = /* @__PURE__ */ rr(ES, [["__scopeId", "data-v-f6d3c092"]]), TS = xt(C
|
|
|
17579
17584
|
longitude: F.getLocationPoint().getLng(),
|
|
17580
17585
|
latitude: F.getLocationPoint().getLat()
|
|
17581
17586
|
};
|
|
17582
|
-
const E = new window.T.InfoWindow(), D = `<div class="pgz_info_content${t.ps}">
|
|
17587
|
+
const E = new window.rawWindow.T.InfoWindow(), D = `<div class="pgz_info_content${t.ps}">
|
|
17583
17588
|
<div>${F.getAddress() || ""}</div>
|
|
17584
17589
|
</div>`;
|
|
17585
17590
|
E.setContent(D), n.value.marker.openInfoWindow(E);
|
|
@@ -17588,35 +17593,35 @@ const CS = /* @__PURE__ */ rr(ES, [["__scopeId", "data-v-f6d3c092"]]), TS = xt(C
|
|
|
17588
17593
|
n.value.loading = !1;
|
|
17589
17594
|
}, B = () => {
|
|
17590
17595
|
var R;
|
|
17591
|
-
switch (n.value.loading = !1, n.value.map = new window.T.Map("map__container"), t.mapType) {
|
|
17596
|
+
switch (n.value.loading = !1, n.value.map = new window.rawWindow.T.Map("map__container"), t.mapType) {
|
|
17592
17597
|
case 1:
|
|
17593
|
-
n.value.map.setMapType(window.TMAP_SATELLITE_MAP);
|
|
17598
|
+
n.value.map.setMapType(window.rawWindow.TMAP_SATELLITE_MAP);
|
|
17594
17599
|
break;
|
|
17595
17600
|
case 2:
|
|
17596
|
-
n.value.map.setMapType(window.TMAP_HYBRID_MAP);
|
|
17601
|
+
n.value.map.setMapType(window.rawWindow.TMAP_HYBRID_MAP);
|
|
17597
17602
|
break;
|
|
17598
17603
|
case 3:
|
|
17599
|
-
n.value.map.setMapType(window.TMAP_TERRAIN_MAP);
|
|
17604
|
+
n.value.map.setMapType(window.rawWindow.TMAP_TERRAIN_MAP);
|
|
17600
17605
|
break;
|
|
17601
17606
|
case 4:
|
|
17602
|
-
n.value.map.setMapType(window.TMAP_TERRAIN_HYBRID_MAP);
|
|
17607
|
+
n.value.map.setMapType(window.rawWindow.TMAP_TERRAIN_HYBRID_MAP);
|
|
17603
17608
|
break;
|
|
17604
17609
|
default:
|
|
17605
|
-
n.value.map.setMapType(window.TMAP_NORMAL_MAP);
|
|
17610
|
+
n.value.map.setMapType(window.rawWindow.TMAP_NORMAL_MAP);
|
|
17606
17611
|
}
|
|
17607
|
-
let F = new window.T.LngLat(116.40969, 39.89945);
|
|
17608
|
-
s.value && l.value && (F = new window.T.LngLat(s.value, l.value)), n.value.map.centerAndZoom(F, t.zoom);
|
|
17612
|
+
let F = new window.rawWindow.T.LngLat(116.40969, 39.89945);
|
|
17613
|
+
s.value && l.value && (F = new window.rawWindow.T.LngLat(s.value, l.value)), n.value.map.centerAndZoom(F, t.zoom);
|
|
17609
17614
|
const E = {
|
|
17610
17615
|
pageCapacity: 10,
|
|
17611
17616
|
onSearchComplete: d
|
|
17612
17617
|
};
|
|
17613
|
-
n.value.localsearch = new window.T.LocalSearch(n.value.map, E), document.getElementsByClassName("tdt-control-copyright tdt-control")[0].style.display = "none", n.value.map.disableScrollWheelZoom(), (R = document.getElementById("map__container")) == null || R.addEventListener("wheel", (M) => {
|
|
17618
|
+
n.value.localsearch = new window.rawWindow.T.LocalSearch(n.value.map, E), document.getElementsByClassName("tdt-control-copyright tdt-control")[0].style.display = "none", n.value.map.disableScrollWheelZoom(), (R = document.getElementById("map__container")) == null || R.addEventListener("wheel", (M) => {
|
|
17614
17619
|
M.preventDefault(), (M.deltaY > 0 ? "up" : "down") === "up" ? n.value.map.zoomOut() : n.value.map.zoomIn();
|
|
17615
17620
|
});
|
|
17616
|
-
const D = new window.T.Control.Scale();
|
|
17617
|
-
D.setPosition(window.T_ANCHOR_BOTTOM_RIGHT), n.value.map.addControl(D);
|
|
17618
|
-
const k = new window.T.Control.Zoom();
|
|
17619
|
-
k.setPosition(window.T_ANCHOR_BOTTOM_RIGHT), n.value.map.addControl(k), n.value.geocode = new window.T.Geocoder(), n.value.map.addEventListener("click", (M) => {
|
|
17621
|
+
const D = new window.rawWindow.T.Control.Scale();
|
|
17622
|
+
D.setPosition(window.rawWindow.T_ANCHOR_BOTTOM_RIGHT), n.value.map.addControl(D);
|
|
17623
|
+
const k = new window.rawWindow.T.Control.Zoom();
|
|
17624
|
+
k.setPosition(window.rawWindow.T_ANCHOR_BOTTOM_RIGHT), n.value.map.addControl(k), n.value.geocode = new window.rawWindow.T.Geocoder(), n.value.map.addEventListener("click", (M) => {
|
|
17620
17625
|
y();
|
|
17621
17626
|
const V = M.lnglat, H = V.getLng(), j = V.getLat();
|
|
17622
17627
|
P(H, j), n.value.geocode.getLocation(M.lnglat, I);
|
|
@@ -17627,7 +17632,7 @@ const CS = /* @__PURE__ */ rr(ES, [["__scopeId", "data-v-f6d3c092"]]), TS = xt(C
|
|
|
17627
17632
|
(F) => {
|
|
17628
17633
|
F && (console.log("Box opened:", F), console.log("Current POI:", n.value.poi), n.value.oldPoi = n.value.poi, Er(() => {
|
|
17629
17634
|
B(), s.value && l.value && (P(s.value, l.value), n.value.geocode && n.value.geocode.getLocation(
|
|
17630
|
-
new window.T.LngLat(s.value, l.value),
|
|
17635
|
+
new window.rawWindow.T.LngLat(s.value, l.value),
|
|
17631
17636
|
I
|
|
17632
17637
|
));
|
|
17633
17638
|
}));
|
|
@@ -17639,7 +17644,7 @@ const CS = /* @__PURE__ */ rr(ES, [["__scopeId", "data-v-f6d3c092"]]), TS = xt(C
|
|
|
17639
17644
|
showDetail: w
|
|
17640
17645
|
}), (F, E) => {
|
|
17641
17646
|
const D = se("el-button"), k = se("el-input"), R = se("el-col"), M = se("el-row"), V = se("el-form"), H = se("el-dialog"), j = as("loading");
|
|
17642
|
-
return m(), x("div",
|
|
17647
|
+
return m(), x("div", AS, [
|
|
17643
17648
|
F.detail ? ee("", !0) : (m(), ne(V, {
|
|
17644
17649
|
key: 0,
|
|
17645
17650
|
ref: "formRef"
|
|
@@ -17685,7 +17690,7 @@ const CS = /* @__PURE__ */ rr(ES, [["__scopeId", "data-v-f6d3c092"]]), TS = xt(C
|
|
|
17685
17690
|
"destroy-on-close": !0
|
|
17686
17691
|
}, {
|
|
17687
17692
|
footer: U(() => [
|
|
17688
|
-
F.detail ? ee("", !0) : (m(), x("span",
|
|
17693
|
+
F.detail ? ee("", !0) : (m(), x("span", DS, [
|
|
17689
17694
|
ve(D, { onClick: T }, {
|
|
17690
17695
|
default: U(() => E[2] || (E[2] = [
|
|
17691
17696
|
Oe("\u5173\u95ED")
|
|
@@ -17705,7 +17710,7 @@ const CS = /* @__PURE__ */ rr(ES, [["__scopeId", "data-v-f6d3c092"]]), TS = xt(C
|
|
|
17705
17710
|
]),
|
|
17706
17711
|
default: U(() => [
|
|
17707
17712
|
pi((m(), x("div", null, [
|
|
17708
|
-
n.value.box ? (m(), x("div",
|
|
17713
|
+
n.value.box ? (m(), x("div", PS, [
|
|
17709
17714
|
F.detail ? ee("", !0) : (m(), ne(k, {
|
|
17710
17715
|
key: 0,
|
|
17711
17716
|
modelValue: n.value.keyWord,
|
|
@@ -17724,7 +17729,7 @@ const CS = /* @__PURE__ */ rr(ES, [["__scopeId", "data-v-f6d3c092"]]), TS = xt(C
|
|
|
17724
17729
|
]),
|
|
17725
17730
|
_: 1
|
|
17726
17731
|
}, 8, ["modelValue"])),
|
|
17727
|
-
S("div",
|
|
17732
|
+
S("div", OS, [
|
|
17728
17733
|
E[5] || (E[5] = S("div", { style: { left: "0", top: "0", "z-index": "999", position: "absolute", "padding-left": "4px", "line-height": "4px", "padding-top": "2px" } }, [
|
|
17729
17734
|
S("a", {
|
|
17730
17735
|
href: "http://geefox.pusdn.com",
|
|
@@ -17756,7 +17761,7 @@ const CS = /* @__PURE__ */ rr(ES, [["__scopeId", "data-v-f6d3c092"]]), TS = xt(C
|
|
|
17756
17761
|
};
|
|
17757
17762
|
}
|
|
17758
17763
|
});
|
|
17759
|
-
const
|
|
17764
|
+
const LS = /* @__PURE__ */ rr(IS, [["__scopeId", "data-v-5a72d187"]]), MS = xt(LS), RS = {
|
|
17760
17765
|
closable: {
|
|
17761
17766
|
type: Boolean,
|
|
17762
17767
|
default: !1
|
|
@@ -17789,19 +17794,19 @@ const IS = /* @__PURE__ */ rr(OS, [["__scopeId", "data-v-7ceed033"]]), LS = xt(I
|
|
|
17789
17794
|
type: Object,
|
|
17790
17795
|
default: () => ({})
|
|
17791
17796
|
}
|
|
17792
|
-
},
|
|
17797
|
+
}, BS = { class: "pgz-map" }, FS = { class: "dialog-title" }, NS = {
|
|
17793
17798
|
key: 0,
|
|
17794
17799
|
class: "dialog-footer"
|
|
17795
|
-
},
|
|
17800
|
+
}, HS = {
|
|
17796
17801
|
key: 0,
|
|
17797
17802
|
class: "pgz-map__content"
|
|
17798
|
-
},
|
|
17803
|
+
}, VS = {
|
|
17799
17804
|
key: 1,
|
|
17800
17805
|
class: "button-card"
|
|
17801
|
-
},
|
|
17806
|
+
}, zS = /* @__PURE__ */ O({
|
|
17802
17807
|
name: "PgzTdtPloygon",
|
|
17803
17808
|
__name: "index",
|
|
17804
|
-
props:
|
|
17809
|
+
props: RS,
|
|
17805
17810
|
emits: ["update:modelValue"],
|
|
17806
17811
|
setup(i, { expose: a, emit: r }) {
|
|
17807
17812
|
const t = i, e = r, n = le({
|
|
@@ -18052,7 +18057,7 @@ const IS = /* @__PURE__ */ rr(OS, [["__scopeId", "data-v-7ceed033"]]), LS = xt(I
|
|
|
18052
18057
|
const V = se("el-button"), H = se("el-input"), j = se("el-col"), J = se("el-row"), W = se("el-form"), ye = se("el-icon"), fe = se("el-tooltip");
|
|
18053
18058
|
se("el-input-number");
|
|
18054
18059
|
const ie = se("el-dialog"), Fe = as("loading");
|
|
18055
|
-
return m(), x("div",
|
|
18060
|
+
return m(), x("div", BS, [
|
|
18056
18061
|
t.detail ? ee("", !0) : (m(), ne(W, {
|
|
18057
18062
|
key: 0,
|
|
18058
18063
|
ref: "formRef"
|
|
@@ -18098,7 +18103,7 @@ const IS = /* @__PURE__ */ rr(OS, [["__scopeId", "data-v-7ceed033"]]), LS = xt(I
|
|
|
18098
18103
|
"destroy-on-close": !0
|
|
18099
18104
|
}, {
|
|
18100
18105
|
header: U(() => [
|
|
18101
|
-
S("div",
|
|
18106
|
+
S("div", FS, [
|
|
18102
18107
|
S("span", null, Ce(s.value), 1),
|
|
18103
18108
|
ve(fe, null, {
|
|
18104
18109
|
content: U(() => M[7] || (M[7] = [
|
|
@@ -18128,7 +18133,7 @@ const IS = /* @__PURE__ */ rr(OS, [["__scopeId", "data-v-7ceed033"]]), LS = xt(I
|
|
|
18128
18133
|
])
|
|
18129
18134
|
]),
|
|
18130
18135
|
footer: U(() => [
|
|
18131
|
-
t.detail ? ee("", !0) : (m(), x("span",
|
|
18136
|
+
t.detail ? ee("", !0) : (m(), x("span", NS, [
|
|
18132
18137
|
ve(V, { onClick: C }, {
|
|
18133
18138
|
default: U(() => M[8] || (M[8] = [
|
|
18134
18139
|
Oe("\u5173\u95ED")
|
|
@@ -18148,7 +18153,7 @@ const IS = /* @__PURE__ */ rr(OS, [["__scopeId", "data-v-7ceed033"]]), LS = xt(I
|
|
|
18148
18153
|
]),
|
|
18149
18154
|
default: U(() => [
|
|
18150
18155
|
pi((m(), x("div", null, [
|
|
18151
|
-
n.value.box ? (m(), x("div",
|
|
18156
|
+
n.value.box ? (m(), x("div", HS, [
|
|
18152
18157
|
t.detail ? ee("", !0) : (m(), ne(H, {
|
|
18153
18158
|
key: 0,
|
|
18154
18159
|
modelValue: n.value.keyWord,
|
|
@@ -18187,7 +18192,7 @@ const IS = /* @__PURE__ */ rr(OS, [["__scopeId", "data-v-7ceed033"]]), LS = xt(I
|
|
|
18187
18192
|
})
|
|
18188
18193
|
], -1))
|
|
18189
18194
|
])) : ee("", !0),
|
|
18190
|
-
t.detail ? ee("", !0) : (m(), x("div",
|
|
18195
|
+
t.detail ? ee("", !0) : (m(), x("div", VS, [
|
|
18191
18196
|
ve(V, {
|
|
18192
18197
|
size: "small",
|
|
18193
18198
|
round: "",
|
|
@@ -18259,7 +18264,7 @@ const IS = /* @__PURE__ */ rr(OS, [["__scopeId", "data-v-7ceed033"]]), LS = xt(I
|
|
|
18259
18264
|
};
|
|
18260
18265
|
}
|
|
18261
18266
|
});
|
|
18262
|
-
const
|
|
18267
|
+
const US = /* @__PURE__ */ rr(zS, [["__scopeId", "data-v-6289d9ff"]]), $S = xt(US);
|
|
18263
18268
|
function Fc(i, a) {
|
|
18264
18269
|
var r = Object.keys(i);
|
|
18265
18270
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -18334,7 +18339,7 @@ function Ul(i, a) {
|
|
|
18334
18339
|
return t.__proto__ = e, t;
|
|
18335
18340
|
}, Ul(i, a);
|
|
18336
18341
|
}
|
|
18337
|
-
function
|
|
18342
|
+
function jS() {
|
|
18338
18343
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
18339
18344
|
return !1;
|
|
18340
18345
|
if (typeof Proxy == "function")
|
|
@@ -18359,7 +18364,7 @@ function wu(i, a) {
|
|
|
18359
18364
|
return X(i);
|
|
18360
18365
|
}
|
|
18361
18366
|
function Ge(i) {
|
|
18362
|
-
var a =
|
|
18367
|
+
var a = jS();
|
|
18363
18368
|
return function() {
|
|
18364
18369
|
var t = Je(i), e;
|
|
18365
18370
|
if (a) {
|
|
@@ -18370,14 +18375,14 @@ function Ge(i) {
|
|
|
18370
18375
|
return wu(this, e);
|
|
18371
18376
|
};
|
|
18372
18377
|
}
|
|
18373
|
-
function
|
|
18378
|
+
function GS(i, a) {
|
|
18374
18379
|
for (; !Object.prototype.hasOwnProperty.call(i, a) && (i = Je(i), i !== null); )
|
|
18375
18380
|
;
|
|
18376
18381
|
return i;
|
|
18377
18382
|
}
|
|
18378
18383
|
function tt() {
|
|
18379
18384
|
return typeof Reflect < "u" && Reflect.get ? tt = Reflect.get.bind() : tt = function(a, r, t) {
|
|
18380
|
-
var e =
|
|
18385
|
+
var e = GS(a, r);
|
|
18381
18386
|
if (!!e) {
|
|
18382
18387
|
var n = Object.getOwnPropertyDescriptor(e, r);
|
|
18383
18388
|
return n.get ? n.get.call(arguments.length < 3 ? a : t) : n.value;
|
|
@@ -18385,17 +18390,17 @@ function tt() {
|
|
|
18385
18390
|
}, tt.apply(this, arguments);
|
|
18386
18391
|
}
|
|
18387
18392
|
function ln(i) {
|
|
18388
|
-
return
|
|
18393
|
+
return WS(i) || KS(i) || YS(i) || XS();
|
|
18389
18394
|
}
|
|
18390
|
-
function
|
|
18395
|
+
function WS(i) {
|
|
18391
18396
|
if (Array.isArray(i))
|
|
18392
18397
|
return $l(i);
|
|
18393
18398
|
}
|
|
18394
|
-
function
|
|
18399
|
+
function KS(i) {
|
|
18395
18400
|
if (typeof Symbol < "u" && i[Symbol.iterator] != null || i["@@iterator"] != null)
|
|
18396
18401
|
return Array.from(i);
|
|
18397
18402
|
}
|
|
18398
|
-
function
|
|
18403
|
+
function YS(i, a) {
|
|
18399
18404
|
if (!!i) {
|
|
18400
18405
|
if (typeof i == "string")
|
|
18401
18406
|
return $l(i, a);
|
|
@@ -18412,11 +18417,11 @@ function $l(i, a) {
|
|
|
18412
18417
|
t[r] = i[r];
|
|
18413
18418
|
return t;
|
|
18414
18419
|
}
|
|
18415
|
-
function
|
|
18420
|
+
function XS() {
|
|
18416
18421
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
18417
18422
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
18418
18423
|
}
|
|
18419
|
-
function
|
|
18424
|
+
function JS(i, a) {
|
|
18420
18425
|
if (typeof i != "object" || i === null)
|
|
18421
18426
|
return i;
|
|
18422
18427
|
var r = i[Symbol.toPrimitive];
|
|
@@ -18429,7 +18434,7 @@ function XS(i, a) {
|
|
|
18429
18434
|
return (a === "string" ? String : Number)(i);
|
|
18430
18435
|
}
|
|
18431
18436
|
function id(i) {
|
|
18432
|
-
var a =
|
|
18437
|
+
var a = JS(i, "string");
|
|
18433
18438
|
return typeof a == "symbol" ? a : String(a);
|
|
18434
18439
|
}
|
|
18435
18440
|
var Su = { exports: {} };
|
|
@@ -18544,13 +18549,13 @@ var Su = { exports: {} };
|
|
|
18544
18549
|
}, s.prototype.off = s.prototype.removeListener, s.prototype.addListener = s.prototype.on, s.prefixed = r, s.EventEmitter = s, i.exports = s;
|
|
18545
18550
|
})(Su);
|
|
18546
18551
|
const Ji = Su.exports;
|
|
18547
|
-
var
|
|
18552
|
+
var QS = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Xs = {
|
|
18548
18553
|
info: "color: #525252; background-color: #90ee90;",
|
|
18549
18554
|
error: "color: #525252; background-color: red;",
|
|
18550
18555
|
warn: "color: #525252; background-color: yellow; "
|
|
18551
18556
|
}, Js = "%c[xgplayer]", vt = {
|
|
18552
18557
|
config: {
|
|
18553
|
-
debug:
|
|
18558
|
+
debug: QS ? 3 : 0
|
|
18554
18559
|
},
|
|
18555
18560
|
logInfo: function(a) {
|
|
18556
18561
|
for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
@@ -18571,10 +18576,10 @@ var JS = typeof window < "u" && window.location && window.location.href.indexOf(
|
|
|
18571
18576
|
}
|
|
18572
18577
|
}
|
|
18573
18578
|
};
|
|
18574
|
-
function
|
|
18579
|
+
function ZS(i) {
|
|
18575
18580
|
i.logInfo = vt.logInfo.bind(i), i.logWarn = vt.logWarn.bind(i), i.logError = vt.logError.bind(i);
|
|
18576
18581
|
}
|
|
18577
|
-
var
|
|
18582
|
+
var qS = /* @__PURE__ */ function() {
|
|
18578
18583
|
function i(a) {
|
|
18579
18584
|
Ie(this, i), this.bufferedList = a;
|
|
18580
18585
|
}
|
|
@@ -18820,7 +18825,7 @@ A.setStyleFromCsstext = function(i, a) {
|
|
|
18820
18825
|
i.style[t] = a[t];
|
|
18821
18826
|
});
|
|
18822
18827
|
};
|
|
18823
|
-
function
|
|
18828
|
+
function e7(i, a) {
|
|
18824
18829
|
for (var r = 0, t = a.length; r < t; r++)
|
|
18825
18830
|
if (i.indexOf(a[r]) > -1)
|
|
18826
18831
|
return !0;
|
|
@@ -18834,7 +18839,7 @@ A.filterStyleFromText = function(i) {
|
|
|
18834
18839
|
return t.map(function(o) {
|
|
18835
18840
|
if (o) {
|
|
18836
18841
|
var s = o.split(":");
|
|
18837
|
-
s.length > 1 && (
|
|
18842
|
+
s.length > 1 && (e7(s[0], a) ? e[s[0]] = s[1] : n[s[0]] = s[1]);
|
|
18838
18843
|
}
|
|
18839
18844
|
}), i.setAttribute("style", ""), Object.keys(n).map(function(o) {
|
|
18840
18845
|
i.style[o] = n[o];
|
|
@@ -18899,7 +18904,7 @@ A.getBuffered2 = function(i) {
|
|
|
18899
18904
|
}
|
|
18900
18905
|
else
|
|
18901
18906
|
e = r;
|
|
18902
|
-
return new
|
|
18907
|
+
return new qS(e);
|
|
18903
18908
|
};
|
|
18904
18909
|
A.getEventPos = function(i) {
|
|
18905
18910
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
@@ -19023,7 +19028,7 @@ function ad(i) {
|
|
|
19023
19028
|
var a = Cr(i);
|
|
19024
19029
|
return i !== null && (a === "object" || a === "function");
|
|
19025
19030
|
}
|
|
19026
|
-
function
|
|
19031
|
+
function t7(i, a, r) {
|
|
19027
19032
|
var t, e, n, o, s, l, u = 0, c = !1, f = !1, d = !0, h = !a && a !== 0 && typeof window.requestAnimationFrame == "function";
|
|
19028
19033
|
if (typeof i != "function")
|
|
19029
19034
|
throw new TypeError("Expected a function");
|
|
@@ -19082,21 +19087,21 @@ function e7(i, a, r) {
|
|
|
19082
19087
|
}
|
|
19083
19088
|
return I.cancel = L, I.flush = C, I.pending = P, I;
|
|
19084
19089
|
}
|
|
19085
|
-
function
|
|
19090
|
+
function r7(i, a, r) {
|
|
19086
19091
|
var t = !0, e = !0;
|
|
19087
19092
|
if (typeof i != "function")
|
|
19088
19093
|
throw new TypeError("Expected a function");
|
|
19089
|
-
return ad(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e),
|
|
19094
|
+
return ad(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), t7(i, a, {
|
|
19090
19095
|
leading: t,
|
|
19091
19096
|
trailing: e,
|
|
19092
19097
|
maxWait: a
|
|
19093
19098
|
});
|
|
19094
19099
|
}
|
|
19095
|
-
function
|
|
19100
|
+
function n7() {
|
|
19096
19101
|
var i = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
|
|
19097
19102
|
return i === "zh-cn" && (i = "zh"), i;
|
|
19098
19103
|
}
|
|
19099
|
-
function
|
|
19104
|
+
function i7(i, a, r) {
|
|
19100
19105
|
if (!!i) {
|
|
19101
19106
|
var t = i.getAttribute(r);
|
|
19102
19107
|
return !!(t && t === a && (i.tagName === "VIDEO" || i.tagName === "AUDIO"));
|
|
@@ -19105,7 +19110,7 @@ function n7(i, a, r) {
|
|
|
19105
19110
|
var Hc = {
|
|
19106
19111
|
android: /(Android)\s([\d.]+)/,
|
|
19107
19112
|
ios: /(Version)\/([\d.]+)/
|
|
19108
|
-
},
|
|
19113
|
+
}, a7 = ["avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "avc1.42E01E", "mp4v.20.8", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], ot = {
|
|
19109
19114
|
get device() {
|
|
19110
19115
|
var i = ot.os;
|
|
19111
19116
|
return i.isPc ? "pc" : "mobile";
|
|
@@ -19170,7 +19175,7 @@ var Hc = {
|
|
|
19170
19175
|
if (this.supportResult)
|
|
19171
19176
|
return this.supportResult;
|
|
19172
19177
|
var r = document.createElement("video");
|
|
19173
|
-
return typeof r.canPlayType == "function" &&
|
|
19178
|
+
return typeof r.canPlayType == "function" && a7.map(function(t) {
|
|
19174
19179
|
r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (a.isSupport = !0, a.mime += "||".concat(t));
|
|
19175
19180
|
}), this.supportResult = a, r = null, a;
|
|
19176
19181
|
},
|
|
@@ -19265,21 +19270,21 @@ var Hc = {
|
|
|
19265
19270
|
return g.ex = t ? (t[arguments[0]] || {}).msg : "", g;
|
|
19266
19271
|
}
|
|
19267
19272
|
}
|
|
19268
|
-
), Rr = "play", Eu = "playing", yi = "ended", _i = "pause", Qi = "error", gs = "seeking", Pn = "seeked", Kr = "timeupdate", Va = "waiting", xn = "canplay",
|
|
19273
|
+
), Rr = "play", Eu = "playing", yi = "ended", _i = "pause", Qi = "error", gs = "seeking", Pn = "seeked", Kr = "timeupdate", Va = "waiting", xn = "canplay", o7 = "canplaythrough", Nn = "durationchange", od = "volumechange", Ln = "loadeddata", s7 = "loadedmetadata", sd = "ratechange", ld = "progress", Cu = "loadstart", bi = "emptied", l7 = "stalled", u7 = "suspend", c7 = "abort", f7 = "bufferedChange", Tu = "focus", ud = "blur", ms = "ready", cd = "urlNull", hi = "autoplay_started", xu = "autoplay_was_prevented", ys = "complete", ka = "replay", _s = "destroy", za = "urlchange", Gl = "download_speed_change", fd = "leaveplayer", dd = "enterplayer", hd = "loading", Tn = "fullscreen_change", Wo = "cssFullscreen_change", Ko = "mini_state_change", ku = "definition_change", d7 = "before_definition_change", Wl = "after_definition_change", h7 = "SEI_PARSED", p7 = "retry", qn = "video_resize", Kl = "pip_change", pd = "rotate", vd = "screenShot", Yo = "playnext", gd = "shortcut", md = "xglog", Xo = "user_action", bs = "reset", yd = "source_error", _d = "source_success", bd = "switch_subtitle", wd = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Sd = {
|
|
19269
19274
|
STATS_INFO: "stats_info",
|
|
19270
19275
|
STATS_DOWNLOAD: "stats_download",
|
|
19271
19276
|
STATS_RESET: "stats_reset"
|
|
19272
19277
|
}, Ed = "fps_stuck";
|
|
19273
|
-
const
|
|
19278
|
+
const v7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19274
19279
|
__proto__: null,
|
|
19275
|
-
ABORT:
|
|
19280
|
+
ABORT: c7,
|
|
19276
19281
|
AFTER_DEFINITION_CHANGE: Wl,
|
|
19277
19282
|
AUTOPLAY_PREVENTED: xu,
|
|
19278
19283
|
AUTOPLAY_STARTED: hi,
|
|
19279
|
-
BEFORE_DEFINITION_CHANGE:
|
|
19280
|
-
BUFFER_CHANGE:
|
|
19284
|
+
BEFORE_DEFINITION_CHANGE: d7,
|
|
19285
|
+
BUFFER_CHANGE: f7,
|
|
19281
19286
|
CANPLAY: xn,
|
|
19282
|
-
CANPLAY_THROUGH:
|
|
19287
|
+
CANPLAY_THROUGH: o7,
|
|
19283
19288
|
COMPLETE: ys,
|
|
19284
19289
|
CSS_FULLSCREEN_CHANGE: Wo,
|
|
19285
19290
|
DEFINITION_CHANGE: ku,
|
|
@@ -19294,7 +19299,7 @@ const p7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19294
19299
|
FULLSCREEN_CHANGE: Tn,
|
|
19295
19300
|
LEAVE_PLAYER: fd,
|
|
19296
19301
|
LOADED_DATA: Ln,
|
|
19297
|
-
LOADED_METADATA:
|
|
19302
|
+
LOADED_METADATA: s7,
|
|
19298
19303
|
LOADING: hd,
|
|
19299
19304
|
LOAD_START: Cu,
|
|
19300
19305
|
MINI_STATE_CHANGE: Ko,
|
|
@@ -19310,18 +19315,18 @@ const p7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19310
19315
|
READY: ms,
|
|
19311
19316
|
REPLAY: ka,
|
|
19312
19317
|
RESET: bs,
|
|
19313
|
-
RETRY:
|
|
19318
|
+
RETRY: p7,
|
|
19314
19319
|
ROTATE: pd,
|
|
19315
19320
|
SCREEN_SHOT: vd,
|
|
19316
19321
|
SEEKED: Pn,
|
|
19317
19322
|
SEEKING: gs,
|
|
19318
|
-
SEI_PARSED:
|
|
19323
|
+
SEI_PARSED: h7,
|
|
19319
19324
|
SHORTCUT: gd,
|
|
19320
19325
|
SOURCE_ERROR: yd,
|
|
19321
19326
|
SOURCE_SUCCESS: _d,
|
|
19322
|
-
STALLED:
|
|
19327
|
+
STALLED: l7,
|
|
19323
19328
|
STATS_EVENTS: Sd,
|
|
19324
|
-
SUSPEND:
|
|
19329
|
+
SUSPEND: u7,
|
|
19325
19330
|
SWITCH_SUBTITLE: bd,
|
|
19326
19331
|
TIME_UPDATE: Kr,
|
|
19327
19332
|
URL_CHANGE: za,
|
|
@@ -19336,7 +19341,7 @@ const p7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19336
19341
|
function Qs(i, a) {
|
|
19337
19342
|
!this || !this.emit || (i === "error" ? this.errorHandler(i, a.error) : this.emit(i, a));
|
|
19338
19343
|
}
|
|
19339
|
-
function
|
|
19344
|
+
function g7(i, a) {
|
|
19340
19345
|
return function(r, t) {
|
|
19341
19346
|
var e = {
|
|
19342
19347
|
player: a,
|
|
@@ -19371,7 +19376,7 @@ function v7(i, a) {
|
|
|
19371
19376
|
Qs.call(a, i, e);
|
|
19372
19377
|
};
|
|
19373
19378
|
}
|
|
19374
|
-
var
|
|
19379
|
+
var m7 = /* @__PURE__ */ function(i) {
|
|
19375
19380
|
je(r, i);
|
|
19376
19381
|
var a = Ge(r);
|
|
19377
19382
|
function r(t) {
|
|
@@ -19415,7 +19420,7 @@ var g7 = /* @__PURE__ */ function(i) {
|
|
|
19415
19420
|
var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
|
|
19416
19421
|
this._evHandlers || (this._evHandlers = wd.map(function(o) {
|
|
19417
19422
|
var s = "on".concat(o.charAt(0).toUpperCase()).concat(o.slice(1));
|
|
19418
|
-
return typeof e[s] == "function" && e.on(o, e[s]), q({}, o,
|
|
19423
|
+
return typeof e[s] == "function" && e.on(o, e[s]), q({}, o, g7(o, e));
|
|
19419
19424
|
})), this._evHandlers.forEach(function(o) {
|
|
19420
19425
|
var s = Object.keys(o)[0];
|
|
19421
19426
|
n.addEventListener(s, o[s], !1);
|
|
@@ -19789,7 +19794,7 @@ var g7 = /* @__PURE__ */ function(i) {
|
|
|
19789
19794
|
tt(Je(r.prototype), "removeAllListeners", this).call(this);
|
|
19790
19795
|
}
|
|
19791
19796
|
}]), r;
|
|
19792
|
-
}(Ji),
|
|
19797
|
+
}(Ji), y7 = /* @__PURE__ */ function() {
|
|
19793
19798
|
function i() {
|
|
19794
19799
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
19795
19800
|
name: "xgplayer",
|
|
@@ -20183,38 +20188,38 @@ var Sn = /* @__PURE__ */ function() {
|
|
|
20183
20188
|
return "pluginName";
|
|
20184
20189
|
}
|
|
20185
20190
|
}]), i;
|
|
20186
|
-
}(),
|
|
20191
|
+
}(), _7 = 9;
|
|
20187
20192
|
if (typeof Element < "u" && !Element.prototype.matches) {
|
|
20188
20193
|
var ki = Element.prototype;
|
|
20189
20194
|
ki.matches = ki.matchesSelector || ki.mozMatchesSelector || ki.msMatchesSelector || ki.oMatchesSelector || ki.webkitMatchesSelector;
|
|
20190
20195
|
}
|
|
20191
|
-
function
|
|
20192
|
-
for (; i && i.nodeType !==
|
|
20196
|
+
function b7(i, a) {
|
|
20197
|
+
for (; i && i.nodeType !== _7; ) {
|
|
20193
20198
|
if (typeof i.matches == "function" && i.matches(a))
|
|
20194
20199
|
return i;
|
|
20195
20200
|
i = i.parentNode;
|
|
20196
20201
|
}
|
|
20197
20202
|
}
|
|
20198
|
-
var
|
|
20203
|
+
var w7 = b7, S7 = w7;
|
|
20199
20204
|
function qs(i, a, r, t, e) {
|
|
20200
|
-
var n =
|
|
20205
|
+
var n = C7.apply(this, arguments);
|
|
20201
20206
|
return i.addEventListener(r, n, e), {
|
|
20202
20207
|
destroy: function() {
|
|
20203
20208
|
i.removeEventListener(r, n, e);
|
|
20204
20209
|
}
|
|
20205
20210
|
};
|
|
20206
20211
|
}
|
|
20207
|
-
function
|
|
20212
|
+
function E7(i, a, r, t, e) {
|
|
20208
20213
|
return typeof i.addEventListener == "function" ? qs.apply(null, arguments) : typeof r == "function" ? qs.bind(null, document).apply(null, arguments) : (typeof i == "string" && (i = document.querySelectorAll(i)), Array.prototype.map.call(i, function(n) {
|
|
20209
20214
|
return qs(n, a, r, t, e);
|
|
20210
20215
|
}));
|
|
20211
20216
|
}
|
|
20212
|
-
function
|
|
20217
|
+
function C7(i, a, r, t) {
|
|
20213
20218
|
return function(e) {
|
|
20214
|
-
e.delegateTarget =
|
|
20219
|
+
e.delegateTarget = S7(e.target, a), e.delegateTarget && t.call(i, e);
|
|
20215
20220
|
};
|
|
20216
20221
|
}
|
|
20217
|
-
var Kc =
|
|
20222
|
+
var Kc = E7, T7 = {
|
|
20218
20223
|
CONTROLS: "controls",
|
|
20219
20224
|
ROOT: "root"
|
|
20220
20225
|
}, Tt = {
|
|
@@ -20234,10 +20239,10 @@ var Kc = S7, C7 = {
|
|
|
20234
20239
|
function el(i) {
|
|
20235
20240
|
return i ? i.indexOf && /^(?:http|data:|\/)/.test(i) : !1;
|
|
20236
20241
|
}
|
|
20237
|
-
function
|
|
20242
|
+
function x7(i, a) {
|
|
20238
20243
|
return Cr(i) === "object" && i.class && typeof i.class == "string" ? "".concat(a, " ").concat(i.class) : a;
|
|
20239
20244
|
}
|
|
20240
|
-
function
|
|
20245
|
+
function k7(i, a) {
|
|
20241
20246
|
return Cr(i) === "object" && i.attr && Cr(i.attr) === "object" && Object.keys(i.attr).map(function(r) {
|
|
20242
20247
|
a[r] = i.attr[r];
|
|
20243
20248
|
}), a;
|
|
@@ -20260,14 +20265,14 @@ function Xc(i, a) {
|
|
|
20260
20265
|
}
|
|
20261
20266
|
return typeof i == "string" ? A.createDomFromHtml(i, t, r) : (vt.logWarn("warn>>icons.".concat(a, " in config of plugin named [").concat(e, "] is invalid")), null);
|
|
20262
20267
|
}
|
|
20263
|
-
function
|
|
20268
|
+
function A7(i, a) {
|
|
20264
20269
|
var r = a.config.icons || a.playerConfig.icons;
|
|
20265
20270
|
Object.keys(i).map(function(t) {
|
|
20266
20271
|
var e = i[t], n = e && e.class ? e.class : "", o = e && e.attr ? e.attr : {}, s = null;
|
|
20267
|
-
r && r[t] && (n =
|
|
20272
|
+
r && r[t] && (n = x7(r[t], n), o = k7(r[t], o), s = Xc(r[t], t, n, o, a.pluginName)), !s && e && (s = Xc(e.icon ? e.icon : e, o, n, {}, a.pluginName)), a.icons[t] = s;
|
|
20268
20273
|
});
|
|
20269
20274
|
}
|
|
20270
|
-
function
|
|
20275
|
+
function D7(i, a) {
|
|
20271
20276
|
Object.keys(i).map(function(r) {
|
|
20272
20277
|
Object.defineProperty(a.langText, r, {
|
|
20273
20278
|
get: function() {
|
|
@@ -20291,9 +20296,9 @@ var bt = /* @__PURE__ */ function(i) {
|
|
|
20291
20296
|
var n = e.root, o = null;
|
|
20292
20297
|
this.icons = {}, this.root = null, this.parent = null;
|
|
20293
20298
|
var s = this.registerIcons() || {};
|
|
20294
|
-
|
|
20299
|
+
A7(s, this), this.langText = {};
|
|
20295
20300
|
var l = this.registerLanguageTexts() || {};
|
|
20296
|
-
|
|
20301
|
+
D7(l, this);
|
|
20297
20302
|
var u = "";
|
|
20298
20303
|
try {
|
|
20299
20304
|
u = this.render();
|
|
@@ -20562,7 +20567,7 @@ var bt = /* @__PURE__ */ function(i) {
|
|
|
20562
20567
|
}, {
|
|
20563
20568
|
key: "ROOT_TYPES",
|
|
20564
20569
|
get: function() {
|
|
20565
|
-
return
|
|
20570
|
+
return T7;
|
|
20566
20571
|
}
|
|
20567
20572
|
}, {
|
|
20568
20573
|
key: "POSITIONS",
|
|
@@ -20570,7 +20575,7 @@ var bt = /* @__PURE__ */ function(i) {
|
|
|
20570
20575
|
return Tt;
|
|
20571
20576
|
}
|
|
20572
20577
|
}]), r;
|
|
20573
|
-
}(Sn),
|
|
20578
|
+
}(Sn), P7 = /* @__PURE__ */ function() {
|
|
20574
20579
|
function i() {
|
|
20575
20580
|
var a = this;
|
|
20576
20581
|
if (Ie(this, i), q(this, "__trigger", function(r) {
|
|
@@ -20580,7 +20585,7 @@ var bt = /* @__PURE__ */ function(i) {
|
|
|
20580
20585
|
a.__runHandler(r[e].target);
|
|
20581
20586
|
}), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
|
|
20582
20587
|
try {
|
|
20583
|
-
this.observer = new window.ResizeObserver(
|
|
20588
|
+
this.observer = new window.ResizeObserver(r7(this.__trigger, 100, {
|
|
20584
20589
|
trailing: !0
|
|
20585
20590
|
})), this.timeStamp = new Date().getTime();
|
|
20586
20591
|
} catch (r) {
|
|
@@ -20637,10 +20642,10 @@ var bt = /* @__PURE__ */ function(i) {
|
|
|
20637
20642
|
}
|
|
20638
20643
|
}]), i;
|
|
20639
20644
|
}(), fa = null;
|
|
20640
|
-
function P7(i, a) {
|
|
20641
|
-
return fa || (fa = new D7()), fa.addObserver(i, a), fa;
|
|
20642
|
-
}
|
|
20643
20645
|
function O7(i, a) {
|
|
20646
|
+
return fa || (fa = new P7()), fa.addObserver(i, a), fa;
|
|
20647
|
+
}
|
|
20648
|
+
function I7(i, a) {
|
|
20644
20649
|
var r;
|
|
20645
20650
|
(r = fa) === null || r === void 0 || r.unObserver(i, a);
|
|
20646
20651
|
}
|
|
@@ -20648,7 +20653,7 @@ var fr = {
|
|
|
20648
20653
|
pluginGroup: {},
|
|
20649
20654
|
init: function(a) {
|
|
20650
20655
|
var r = a._pluginInfoId;
|
|
20651
|
-
r || (r = new Date().getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver &&
|
|
20656
|
+
r || (r = new Date().getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver && O7(a.root, function() {
|
|
20652
20657
|
a.resize();
|
|
20653
20658
|
}), this.pluginGroup[r] = {
|
|
20654
20659
|
_originalOptions: a.config || {},
|
|
@@ -20834,7 +20839,7 @@ var fr = {
|
|
|
20834
20839
|
destroy: function(a) {
|
|
20835
20840
|
var r = a._pluginInfoId;
|
|
20836
20841
|
if (!!this.pluginGroup[r]) {
|
|
20837
|
-
|
|
20842
|
+
I7(a.root);
|
|
20838
20843
|
for (var t = this.pluginGroup[r]._plugins, e = 0, n = Object.keys(t); e < n.length; e++) {
|
|
20839
20844
|
var o = n[e];
|
|
20840
20845
|
this.unRegister(r, o);
|
|
@@ -20920,7 +20925,7 @@ function Jc() {
|
|
|
20920
20925
|
ignores: [],
|
|
20921
20926
|
whitelist: [],
|
|
20922
20927
|
inactive: 3e3,
|
|
20923
|
-
lang:
|
|
20928
|
+
lang: n7(),
|
|
20924
20929
|
controls: !0,
|
|
20925
20930
|
marginControls: !1,
|
|
20926
20931
|
fullscreenTarget: null,
|
|
@@ -20956,7 +20961,7 @@ function Jc() {
|
|
|
20956
20961
|
}
|
|
20957
20962
|
};
|
|
20958
20963
|
}
|
|
20959
|
-
var
|
|
20964
|
+
var L7 = function(a, r) {
|
|
20960
20965
|
var t, e, n;
|
|
20961
20966
|
r.preset && r.options ? n = new r.preset(r.options, a.config) : n = new r({}, a.config);
|
|
20962
20967
|
var o = n, s = o.plugins, l = s === void 0 ? [] : s, u = o.ignores, c = u === void 0 ? [] : u, f = o.icons, d = f === void 0 ? {} : f, h = o.i18n, p = h === void 0 ? [] : h;
|
|
@@ -20965,7 +20970,7 @@ var I7 = function(a, r) {
|
|
|
20965
20970
|
});
|
|
20966
20971
|
var g = a.config.i18n || [];
|
|
20967
20972
|
p.push.apply(p, ln(g)), a.config.i18n = p;
|
|
20968
|
-
},
|
|
20973
|
+
}, M7 = /* @__PURE__ */ function(i) {
|
|
20969
20974
|
je(r, i);
|
|
20970
20975
|
var a = Ge(r);
|
|
20971
20976
|
function r() {
|
|
@@ -21126,7 +21131,7 @@ var I7 = function(a, r) {
|
|
|
21126
21131
|
};
|
|
21127
21132
|
}
|
|
21128
21133
|
}]), r;
|
|
21129
|
-
}(bt),
|
|
21134
|
+
}(bt), R7 = {
|
|
21130
21135
|
LANG: "en",
|
|
21131
21136
|
TEXT: {
|
|
21132
21137
|
ERROR_TYPES: {
|
|
@@ -21221,7 +21226,7 @@ function kd() {
|
|
|
21221
21226
|
jr.textKeys[i] = i;
|
|
21222
21227
|
});
|
|
21223
21228
|
}
|
|
21224
|
-
function
|
|
21229
|
+
function B7(i, a) {
|
|
21225
21230
|
var r = [];
|
|
21226
21231
|
if (a || (a = jr), !!a.lang) {
|
|
21227
21232
|
A.typeOf(i) !== "Array" ? r = Object.keys(i).map(function(n) {
|
|
@@ -21244,7 +21249,7 @@ function Au(i, a) {
|
|
|
21244
21249
|
r === "zh" && (r = "zh-cn"), a.lang[r] ? Aa(a.lang[r], t) : (a.langKeys.push(r), a.lang[r] = t), kd();
|
|
21245
21250
|
}
|
|
21246
21251
|
}
|
|
21247
|
-
function
|
|
21252
|
+
function F7(i) {
|
|
21248
21253
|
var a, r = {
|
|
21249
21254
|
lang: {},
|
|
21250
21255
|
langKeys: [],
|
|
@@ -21253,7 +21258,7 @@ function B7(i) {
|
|
|
21253
21258
|
};
|
|
21254
21259
|
return Aa(r.lang, jr.lang), (a = r.langKeys).push.apply(a, ln(jr.langKeys)), Aa(r.textKeys, jr.textKeys), r;
|
|
21255
21260
|
}
|
|
21256
|
-
Au(
|
|
21261
|
+
Au(R7);
|
|
21257
21262
|
var Vi = {
|
|
21258
21263
|
get textKeys() {
|
|
21259
21264
|
return jr.textKeys;
|
|
@@ -21267,9 +21272,9 @@ var Vi = {
|
|
|
21267
21272
|
i[a] = jr.lang[a];
|
|
21268
21273
|
}), jr.lang["zh-cn"] && (i.zh = jr.lang["zh-cn"] || {}), i;
|
|
21269
21274
|
},
|
|
21270
|
-
extend:
|
|
21275
|
+
extend: B7,
|
|
21271
21276
|
use: Au,
|
|
21272
|
-
init:
|
|
21277
|
+
init: F7
|
|
21273
21278
|
}, _t = {
|
|
21274
21279
|
INITIAL: 1,
|
|
21275
21280
|
READY: 2,
|
|
@@ -21366,7 +21371,7 @@ var Vi = {
|
|
|
21366
21371
|
}
|
|
21367
21372
|
}]), r;
|
|
21368
21373
|
}(Su.exports.EventEmitter);
|
|
21369
|
-
function
|
|
21374
|
+
function N7(i) {
|
|
21370
21375
|
for (var a = Object.keys(Or), r = 0; r < a.length; r++) {
|
|
21371
21376
|
var t = Or[a[r]];
|
|
21372
21377
|
if (t.root === i)
|
|
@@ -21374,7 +21379,7 @@ function F7(i) {
|
|
|
21374
21379
|
}
|
|
21375
21380
|
return null;
|
|
21376
21381
|
}
|
|
21377
|
-
var
|
|
21382
|
+
var H7 = ["play", "pause", "replay", "retry"], Zc = 0, qc = 0, Hn = null, ws = /* @__PURE__ */ function(i) {
|
|
21378
21383
|
je(r, i);
|
|
21379
21384
|
var a = Ge(r);
|
|
21380
21385
|
function r(t) {
|
|
@@ -21404,7 +21409,7 @@ var N7 = ["play", "pause", "replay", "retry"], Zc = 0, qc = 0, Hn = null, ws = /
|
|
|
21404
21409
|
to: !1
|
|
21405
21410
|
}]
|
|
21406
21411
|
});
|
|
21407
|
-
var w =
|
|
21412
|
+
var w = i7(_, e.playerId, $n);
|
|
21408
21413
|
if (g || _ && (_ === e._fullscreenEl || w))
|
|
21409
21414
|
v(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, _, me.FULLSCREEN), e.emit(Tn, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
|
|
21410
21415
|
else if (e.fullscreen) {
|
|
@@ -21424,7 +21429,7 @@ var N7 = ["play", "pause", "replay", "retry"], Zc = 0, qc = 0, Hn = null, ws = /
|
|
|
21424
21429
|
e._fullscreenEl = e.media, e.onFullscreenChange(p, !0);
|
|
21425
21430
|
}), q(X(e), "_onWebkitendfullscreen", function(p) {
|
|
21426
21431
|
e.onFullscreenChange(p, !1);
|
|
21427
|
-
}), Td(X(e),
|
|
21432
|
+
}), Td(X(e), H7), e.config = n, e._pluginInfoId = A.generateSessionId(), ZS(X(e));
|
|
21428
21433
|
var o = e.constructor.defaultPreset;
|
|
21429
21434
|
if (e.config.presets.length) {
|
|
21430
21435
|
var s = e.config.presets.indexOf("default");
|
|
@@ -21453,7 +21458,7 @@ var N7 = ["play", "pause", "replay", "retry"], Zc = 0, qc = 0, Hn = null, ws = /
|
|
|
21453
21458
|
}, e._offsetInfo = {
|
|
21454
21459
|
currentTime: -1,
|
|
21455
21460
|
duration: 0
|
|
21456
|
-
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = Vi.init(e._pluginInfoId), ot.os.isAndroid && ot.osVersion > 0 && ot.osVersion < 6 && (e.config.autoplay = !1), e.database = new
|
|
21461
|
+
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = Vi.init(e._pluginInfoId), ot.os.isAndroid && ot.osVersion > 0 && ot.osVersion < 6 && (e.config.autoplay = !1), e.database = new y7(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
|
|
21457
21462
|
isActiveLocked: !1
|
|
21458
21463
|
}, e.instManager = Hn;
|
|
21459
21464
|
var l = e._initDOM();
|
|
@@ -21485,9 +21490,9 @@ var N7 = ["play", "pause", "replay", "retry"], Zc = 0, qc = 0, Hn = null, ws = /
|
|
|
21485
21490
|
msg: "container id can't be empty"
|
|
21486
21491
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
21487
21492
|
}
|
|
21488
|
-
var s =
|
|
21493
|
+
var s = N7(this.root);
|
|
21489
21494
|
if (s && (vt.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute($n, this.playerId), this.media.setAttribute($n, this.playerId), (e = Hn) === null || e === void 0 || e.add(this), fr.init(this), this._initBaseDoms(), this.config.controls) {
|
|
21490
|
-
var l = this.config.controls.root || null, u = fr.register(this,
|
|
21495
|
+
var l = this.config.controls.root || null, u = fr.register(this, M7, {
|
|
21491
21496
|
root: l
|
|
21492
21497
|
});
|
|
21493
21498
|
this.controls = u;
|
|
@@ -21595,7 +21600,7 @@ var N7 = ["play", "pause", "replay", "retry"], Zc = 0, qc = 0, Hn = null, ws = /
|
|
|
21595
21600
|
value: function() {
|
|
21596
21601
|
var e = this;
|
|
21597
21602
|
this.config.presets.forEach(function(n) {
|
|
21598
|
-
|
|
21603
|
+
L7(e, n);
|
|
21599
21604
|
});
|
|
21600
21605
|
}
|
|
21601
21606
|
}, {
|
|
@@ -22571,7 +22576,7 @@ var N7 = ["play", "pause", "replay", "retry"], Zc = 0, qc = 0, Hn = null, ws = /
|
|
|
22571
22576
|
r.plugins || (r.plugins = {}), r.plugins[e] = n;
|
|
22572
22577
|
}
|
|
22573
22578
|
}]), r;
|
|
22574
|
-
}(
|
|
22579
|
+
}(m7);
|
|
22575
22580
|
q(ws, "defaultPreset", null);
|
|
22576
22581
|
q(ws, "XgVideoProxy", null);
|
|
22577
22582
|
ws.instManager = Ad.getInstance();
|
|
@@ -22614,13 +22619,13 @@ var wi = /* @__PURE__ */ function(i) {
|
|
|
22614
22619
|
}
|
|
22615
22620
|
}]), r;
|
|
22616
22621
|
}(bt);
|
|
22617
|
-
function
|
|
22622
|
+
function V7() {
|
|
22618
22623
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
22619
22624
|
<path fill="#fff" transform="scale(1.3, 1.3)" class='path_full' d="M9,10v1a.9.9,0,0,1-1,1,.9.9,0,0,1-1-1V9A.9.9,0,0,1,8,8h2a.9.9,0,0,1,1,1,.9.9,0,0,1-1,1Zm6,4V13a1,1,0,0,1,2,0v2a.9.9,0,0,1-1,1H14a1,1,0,0,1,0-2Zm3-7H6V17H18Zm2,0V17a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V7A2,2,0,0,1,6,5H18A2,2,0,0,1,20,7Z"></path>
|
|
22620
22625
|
</svg>
|
|
22621
22626
|
`, "image/svg+xml").firstChild;
|
|
22622
22627
|
}
|
|
22623
|
-
function
|
|
22628
|
+
function z7() {
|
|
22624
22629
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
22625
22630
|
<path fill="#fff" transform="scale(1.3, 1.3)" d="M9,10V9a.9.9,0,0,1,1-1,.9.9,0,0,1,1,1v2a.9.9,0,0,1-1,1H8a.9.9,0,0,1-1-1,.9.9,0,0,1,1-1Zm6,4v1a1,1,0,0,1-2,0V13a.9.9,0,0,1,1-1h2a1,1,0,0,1,0,2Zm3-7H6V17H18Zm2,0V17a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V7A2,2,0,0,1,6,5H18A2,2,0,0,1,20,7Z"></path>
|
|
22626
22631
|
</svg>
|
|
@@ -22680,11 +22685,11 @@ var Yl = /* @__PURE__ */ function(i) {
|
|
|
22680
22685
|
value: function() {
|
|
22681
22686
|
return {
|
|
22682
22687
|
cssFullscreen: {
|
|
22683
|
-
icon:
|
|
22688
|
+
icon: V7,
|
|
22684
22689
|
class: "xg-get-cssfull"
|
|
22685
22690
|
},
|
|
22686
22691
|
exitCssFullscreen: {
|
|
22687
|
-
icon:
|
|
22692
|
+
icon: z7,
|
|
22688
22693
|
class: "xg-exit-cssfull"
|
|
22689
22694
|
}
|
|
22690
22695
|
};
|
|
@@ -22721,14 +22726,14 @@ var Yl = /* @__PURE__ */ function(i) {
|
|
|
22721
22726
|
}
|
|
22722
22727
|
}]), r;
|
|
22723
22728
|
}(wi);
|
|
22724
|
-
function
|
|
22729
|
+
function U7() {
|
|
22725
22730
|
return new DOMParser().parseFromString(`<svg width="32px" height="40px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
22726
22731
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
22727
22732
|
<path d="M11.2374369,14 L17.6187184,7.61871843 C17.9604272,7.27700968 17.9604272,6.72299032 17.6187184,6.38128157 C17.2770097,6.03957281 16.7229903,6.03957281 16.3812816,6.38128157 L9.38128157,13.3812816 C9.03957281,13.7229903 9.03957281,14.2770097 9.38128157,14.6187184 L16.3812816,21.6187184 C16.7229903,21.9604272 17.2770097,21.9604272 17.6187184,21.6187184 C17.9604272,21.2770097 17.9604272,20.7229903 17.6187184,20.3812816 L11.2374369,14 L11.2374369,14 Z" fill="#FFFFFF"></path>
|
|
22728
22733
|
</g>
|
|
22729
22734
|
</svg>`, "image/svg+xml").firstChild;
|
|
22730
22735
|
}
|
|
22731
|
-
var
|
|
22736
|
+
var $7 = /* @__PURE__ */ function(i) {
|
|
22732
22737
|
je(r, i);
|
|
22733
22738
|
var a = Ge(r);
|
|
22734
22739
|
function r() {
|
|
@@ -22747,7 +22752,7 @@ var U7 = /* @__PURE__ */ function(i) {
|
|
|
22747
22752
|
value: function() {
|
|
22748
22753
|
return {
|
|
22749
22754
|
screenBack: {
|
|
22750
|
-
icon:
|
|
22755
|
+
icon: U7,
|
|
22751
22756
|
class: "xg-fullscreen-back"
|
|
22752
22757
|
}
|
|
22753
22758
|
};
|
|
@@ -22789,13 +22794,13 @@ var U7 = /* @__PURE__ */ function(i) {
|
|
|
22789
22794
|
}
|
|
22790
22795
|
}]), r;
|
|
22791
22796
|
}(bt);
|
|
22792
|
-
function
|
|
22797
|
+
function j7() {
|
|
22793
22798
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
22794
22799
|
<path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M598 214h212v212h-84v-128h-128v-84zM726 726v-128h84v212h-212v-84h128zM214 426v-212h212v84h-128v128h-84zM298 598v128h128v84h-212v-212h84z"></path>
|
|
22795
22800
|
</svg>
|
|
22796
22801
|
`, "image/svg+xml").firstChild;
|
|
22797
22802
|
}
|
|
22798
|
-
function
|
|
22803
|
+
function G7() {
|
|
22799
22804
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
22800
22805
|
<path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z"></path>
|
|
22801
22806
|
</svg>
|
|
@@ -22836,7 +22841,7 @@ var Dd = /* @__PURE__ */ function(i) {
|
|
|
22836
22841
|
var u = e.find(".xg-tips");
|
|
22837
22842
|
u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
|
|
22838
22843
|
}), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
|
|
22839
|
-
plugin:
|
|
22844
|
+
plugin: $7,
|
|
22840
22845
|
options: {
|
|
22841
22846
|
config: {
|
|
22842
22847
|
onClick: function(u) {
|
|
@@ -22852,11 +22857,11 @@ var Dd = /* @__PURE__ */ function(i) {
|
|
|
22852
22857
|
value: function() {
|
|
22853
22858
|
return {
|
|
22854
22859
|
fullscreen: {
|
|
22855
|
-
icon:
|
|
22860
|
+
icon: j7,
|
|
22856
22861
|
class: "xg-get-fullscreen"
|
|
22857
22862
|
},
|
|
22858
22863
|
exitFullscreen: {
|
|
22859
|
-
icon:
|
|
22864
|
+
icon: G7,
|
|
22860
22865
|
class: "xg-exit-fullscreen"
|
|
22861
22866
|
}
|
|
22862
22867
|
};
|
|
@@ -23041,7 +23046,7 @@ var Pd = /* @__PURE__ */ function(i) {
|
|
|
23041
23046
|
};
|
|
23042
23047
|
}
|
|
23043
23048
|
}]), r;
|
|
23044
|
-
}(wi),
|
|
23049
|
+
}(wi), W7 = [{
|
|
23045
23050
|
tag: "xg-cache",
|
|
23046
23051
|
className: "xgplayer-progress-cache",
|
|
23047
23052
|
styleKey: "cachedColor"
|
|
@@ -23049,7 +23054,7 @@ var Pd = /* @__PURE__ */ function(i) {
|
|
|
23049
23054
|
tag: "xg-played",
|
|
23050
23055
|
className: "xgplayer-progress-played",
|
|
23051
23056
|
styleKey: "playedColor"
|
|
23052
|
-
}],
|
|
23057
|
+
}], K7 = /* @__PURE__ */ function() {
|
|
23053
23058
|
function i(a) {
|
|
23054
23059
|
Ie(this, i), this.fragments = a.fragments || [], this.fragments.length === 0 && this.fragments.push({
|
|
23055
23060
|
percent: 1
|
|
@@ -23236,7 +23241,7 @@ var Pd = /* @__PURE__ */ function(i) {
|
|
|
23236
23241
|
var l = A.createDom("xg-inner", "", {
|
|
23237
23242
|
style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
|
|
23238
23243
|
}, "".concat(s.isFocus ? o : "", " xgplayer-progress-inner ").concat(n));
|
|
23239
|
-
return r.root.appendChild(l),
|
|
23244
|
+
return r.root.appendChild(l), W7.forEach(function(u) {
|
|
23240
23245
|
l.appendChild(A.createDom(u.tag, "", {
|
|
23241
23246
|
style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
|
|
23242
23247
|
}, u.className));
|
|
@@ -23384,7 +23389,7 @@ var Pd = /* @__PURE__ */ function(i) {
|
|
|
23384
23389
|
e.emitUserAction("fragment_focus", "fragment_focus", u);
|
|
23385
23390
|
}
|
|
23386
23391
|
});
|
|
23387
|
-
this.innerList ? this.innerList.reset(s) : (this.innerList = new
|
|
23392
|
+
this.innerList ? this.innerList.reset(s) : (this.innerList = new K7(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
|
|
23388
23393
|
e[l] = e.innerList[l].bind(e.innerList);
|
|
23389
23394
|
}));
|
|
23390
23395
|
}
|
|
@@ -23827,21 +23832,21 @@ var Pd = /* @__PURE__ */ function(i) {
|
|
|
23827
23832
|
}
|
|
23828
23833
|
}]), r;
|
|
23829
23834
|
}(bt);
|
|
23830
|
-
function
|
|
23835
|
+
function Y7() {
|
|
23831
23836
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
23832
23837
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
23833
23838
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M940.632 837.632l-72.192-72.192c65.114-64.745 105.412-154.386 105.412-253.44s-40.299-188.695-105.396-253.424l-0.016-0.016 72.192-72.192c83.639 83.197 135.401 198.37 135.401 325.632s-51.762 242.434-135.381 325.612l-0.020 0.020zM795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021z"></path>
|
|
23834
23839
|
</svg>
|
|
23835
23840
|
`, "image/svg+xml").firstChild;
|
|
23836
23841
|
}
|
|
23837
|
-
function
|
|
23842
|
+
function X7() {
|
|
23838
23843
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
23839
23844
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
23840
23845
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021zM795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021z"></path>
|
|
23841
23846
|
</svg>
|
|
23842
23847
|
`, "image/svg+xml").firstChild;
|
|
23843
23848
|
}
|
|
23844
|
-
function
|
|
23849
|
+
function J7() {
|
|
23845
23850
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
23846
23851
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
23847
23852
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M920.4 439.808l-108.544-109.056-72.704 72.704 109.568 108.544-109.056 108.544 72.704 72.704 108.032-109.568 108.544 109.056 72.704-72.704-109.568-108.032 109.056-108.544-72.704-72.704-108.032 109.568z"></path>
|
|
@@ -23896,15 +23901,15 @@ var Ld = /* @__PURE__ */ function(i) {
|
|
|
23896
23901
|
value: function() {
|
|
23897
23902
|
return {
|
|
23898
23903
|
volumeSmall: {
|
|
23899
|
-
icon:
|
|
23904
|
+
icon: X7,
|
|
23900
23905
|
class: "xg-volume-small"
|
|
23901
23906
|
},
|
|
23902
23907
|
volumeLarge: {
|
|
23903
|
-
icon:
|
|
23908
|
+
icon: Y7,
|
|
23904
23909
|
class: "xg-volume"
|
|
23905
23910
|
},
|
|
23906
23911
|
volumeMuted: {
|
|
23907
|
-
icon:
|
|
23912
|
+
icon: J7,
|
|
23908
23913
|
class: "xg-volume-mute"
|
|
23909
23914
|
}
|
|
23910
23915
|
};
|
|
@@ -24054,7 +24059,7 @@ var Vn = {
|
|
|
24054
24059
|
WAIT_END: "waitingEnd",
|
|
24055
24060
|
SEEK_START: "seekStart",
|
|
24056
24061
|
SEEK_END: "seekEnd"
|
|
24057
|
-
},
|
|
24062
|
+
}, Q7 = /* @__PURE__ */ function(i) {
|
|
24058
24063
|
je(r, i);
|
|
24059
24064
|
var a = Ge(r);
|
|
24060
24065
|
function r() {
|
|
@@ -24205,13 +24210,13 @@ var Vn = {
|
|
|
24205
24210
|
}
|
|
24206
24211
|
}]), r;
|
|
24207
24212
|
}(bt);
|
|
24208
|
-
function
|
|
24213
|
+
function Z7() {
|
|
24209
24214
|
return new DOMParser().parseFromString(`<svg class="xgplayer-replay-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 78 78" width="78" height="78">
|
|
24210
24215
|
<path fill="#fff" transform="translate(20, 20)" d="M8.22708362,13.8757234 L11.2677371,12.6472196 C11.7798067,12.4403301 12.3626381,12.6877273 12.5695276,13.1997969 L12.9441342,14.1269807 C13.1510237,14.6390502 12.9036264,15.2218816 12.3915569,15.4287712 L6.8284538,17.6764107 L5.90126995,18.0510173 C5.38920044,18.2579068 4.80636901,18.0105096 4.5994795,17.49844 L1.97723335,11.0081531 C1.77034384,10.4960836 2.0177411,9.91325213 2.52981061,9.70636262 L3.45699446,9.33175602 C3.96906396,9.12486652 4.5518954,9.37226378 4.75878491,9.88433329 L5.67885163,12.1615783 C7.99551726,6.6766934 13.3983951,3 19.5,3 C27.7842712,3 34.5,9.71572875 34.5,18 C34.5,26.2842712 27.7842712,33 19.5,33 C15.4573596,33 11.6658607,31.3912946 8.87004692,28.5831991 C8.28554571,27.9961303 8.28762719,27.0463851 8.87469603,26.4618839 C9.46176488,25.8773827 10.4115101,25.8794641 10.9960113,26.466533 C13.2344327,28.7147875 16.263503,30 19.5,30 C26.127417,30 31.5,24.627417 31.5,18 C31.5,11.372583 26.127417,6 19.5,6 C14.4183772,6 9.94214483,9.18783811 8.22708362,13.8757234 Z"></path>
|
|
24211
24216
|
</svg>
|
|
24212
24217
|
`, "image/svg+xml").firstChild;
|
|
24213
24218
|
}
|
|
24214
|
-
var
|
|
24219
|
+
var q7 = /* @__PURE__ */ function(i) {
|
|
24215
24220
|
je(r, i);
|
|
24216
24221
|
var a = Ge(r);
|
|
24217
24222
|
function r() {
|
|
@@ -24221,7 +24226,7 @@ var Z7 = /* @__PURE__ */ function(i) {
|
|
|
24221
24226
|
key: "registerIcons",
|
|
24222
24227
|
value: function() {
|
|
24223
24228
|
return {
|
|
24224
|
-
replay:
|
|
24229
|
+
replay: Z7
|
|
24225
24230
|
};
|
|
24226
24231
|
}
|
|
24227
24232
|
}, {
|
|
@@ -24294,7 +24299,7 @@ var Z7 = /* @__PURE__ */ function(i) {
|
|
|
24294
24299
|
};
|
|
24295
24300
|
}
|
|
24296
24301
|
}]), r;
|
|
24297
|
-
}(bt),
|
|
24302
|
+
}(bt), eE = /* @__PURE__ */ function(i) {
|
|
24298
24303
|
je(r, i);
|
|
24299
24304
|
var a = Ge(r);
|
|
24300
24305
|
function r() {
|
|
@@ -24406,7 +24411,7 @@ var Z7 = /* @__PURE__ */ function(i) {
|
|
|
24406
24411
|
}
|
|
24407
24412
|
}]), r;
|
|
24408
24413
|
}(bt), pn = {};
|
|
24409
|
-
function
|
|
24414
|
+
function tE(i, a) {
|
|
24410
24415
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
24411
24416
|
start: null,
|
|
24412
24417
|
end: null
|
|
@@ -24424,7 +24429,7 @@ function t0(i) {
|
|
|
24424
24429
|
window.clearTimeout(pn[a].id), delete pn[a];
|
|
24425
24430
|
});
|
|
24426
24431
|
}
|
|
24427
|
-
var
|
|
24432
|
+
var rE = /* @__PURE__ */ function(i) {
|
|
24428
24433
|
je(r, i);
|
|
24429
24434
|
var a = Ge(r);
|
|
24430
24435
|
function r(t) {
|
|
@@ -24528,7 +24533,7 @@ var tE = /* @__PURE__ */ function(i) {
|
|
|
24528
24533
|
key: "animate",
|
|
24529
24534
|
value: function(e) {
|
|
24530
24535
|
var n = this;
|
|
24531
|
-
this._animateId =
|
|
24536
|
+
this._animateId = tE("pauseplay", 400, {
|
|
24532
24537
|
start: function() {
|
|
24533
24538
|
A.addClass(n.root, "interact"), n.show(), n.switchStatus(!0);
|
|
24534
24539
|
},
|
|
@@ -24616,7 +24621,7 @@ var tE = /* @__PURE__ */ function(i) {
|
|
|
24616
24621
|
};
|
|
24617
24622
|
}
|
|
24618
24623
|
}]), r;
|
|
24619
|
-
}(bt),
|
|
24624
|
+
}(bt), nE = /* @__PURE__ */ function(i) {
|
|
24620
24625
|
je(r, i);
|
|
24621
24626
|
var a = Ge(r);
|
|
24622
24627
|
function r() {
|
|
@@ -24706,7 +24711,7 @@ function n0(i) {
|
|
|
24706
24711
|
return r && a;
|
|
24707
24712
|
}
|
|
24708
24713
|
var Ou = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Md = Ou.length;
|
|
24709
|
-
function
|
|
24714
|
+
function iE() {
|
|
24710
24715
|
for (var i = {
|
|
24711
24716
|
width: 0,
|
|
24712
24717
|
height: 0,
|
|
@@ -24720,15 +24725,15 @@ function nE() {
|
|
|
24720
24725
|
}
|
|
24721
24726
|
return i;
|
|
24722
24727
|
}
|
|
24723
|
-
function
|
|
24728
|
+
function aE(i) {
|
|
24724
24729
|
var a = window.getComputedStyle(i);
|
|
24725
24730
|
return a;
|
|
24726
24731
|
}
|
|
24727
24732
|
function i0(i) {
|
|
24728
24733
|
if (typeof i == "string" && (i = document.querySelector(i)), !(!i || Cr(i) !== "object" || !i.nodeType)) {
|
|
24729
|
-
var a =
|
|
24734
|
+
var a = aE(i);
|
|
24730
24735
|
if (a.display === "none")
|
|
24731
|
-
return
|
|
24736
|
+
return iE();
|
|
24732
24737
|
var r = {};
|
|
24733
24738
|
r.width = i.offsetWidth, r.height = i.offsetHeight;
|
|
24734
24739
|
for (var t = r.isBorderBox = a.boxSizing === "border-box", e = 0; e < Md; e++) {
|
|
@@ -24756,7 +24761,7 @@ var nl = {
|
|
|
24756
24761
|
mousedown: ["mousemove", "mouseup"],
|
|
24757
24762
|
touchstart: ["touchmove", "touchend", "touchcancel"],
|
|
24758
24763
|
pointerdown: ["pointermove", "pointerup", "pointercancel"]
|
|
24759
|
-
},
|
|
24764
|
+
}, oE = /* @__PURE__ */ function(i) {
|
|
24760
24765
|
je(r, i);
|
|
24761
24766
|
var a = Ge(r);
|
|
24762
24767
|
function r(t) {
|
|
@@ -24966,7 +24971,7 @@ var nl = {
|
|
|
24966
24971
|
return parseInt(e, 10);
|
|
24967
24972
|
}
|
|
24968
24973
|
}]), r;
|
|
24969
|
-
}(Ji),
|
|
24974
|
+
}(Ji), sE = /* @__PURE__ */ function(i) {
|
|
24970
24975
|
je(r, i);
|
|
24971
24976
|
var a = Ge(r);
|
|
24972
24977
|
function r(t) {
|
|
@@ -25022,7 +25027,7 @@ var nl = {
|
|
|
25022
25027
|
n.controls.registerPlugin(r0, s, r0.pluginName);
|
|
25023
25028
|
}
|
|
25024
25029
|
var l = A.checkTouchSupport() ? "touchend" : "click";
|
|
25025
|
-
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new
|
|
25030
|
+
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new oE(this.player.root, {
|
|
25026
25031
|
handle: this.root
|
|
25027
25032
|
})), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
|
|
25028
25033
|
}
|
|
@@ -25241,12 +25246,12 @@ var nl = {
|
|
|
25241
25246
|
TOUCH_MOVE: "touchmove",
|
|
25242
25247
|
TOUCH_START: "touchstart",
|
|
25243
25248
|
TOUCH_END: "touchend"
|
|
25244
|
-
},
|
|
25249
|
+
}, lE = {
|
|
25245
25250
|
start: "touchstart",
|
|
25246
25251
|
end: "touchend",
|
|
25247
25252
|
move: "touchmove",
|
|
25248
25253
|
cancel: "touchcancel"
|
|
25249
|
-
},
|
|
25254
|
+
}, uE = {
|
|
25250
25255
|
start: "mousedown",
|
|
25251
25256
|
end: "mouseup",
|
|
25252
25257
|
move: "mousemove",
|
|
@@ -25255,7 +25260,7 @@ var nl = {
|
|
|
25255
25260
|
function o0(i) {
|
|
25256
25261
|
return i && i.length > 0 ? i[i.length - 1] : null;
|
|
25257
25262
|
}
|
|
25258
|
-
function
|
|
25263
|
+
function cE() {
|
|
25259
25264
|
return {
|
|
25260
25265
|
pressDelay: 600,
|
|
25261
25266
|
dbClickDelay: 200,
|
|
@@ -25265,7 +25270,7 @@ function uE() {
|
|
|
25265
25270
|
needPreventDefault: !0
|
|
25266
25271
|
};
|
|
25267
25272
|
}
|
|
25268
|
-
var
|
|
25273
|
+
var fE = /* @__PURE__ */ function() {
|
|
25269
25274
|
function i(a) {
|
|
25270
25275
|
var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
25271
25276
|
eventType: "touch"
|
|
@@ -25286,9 +25291,9 @@ var cE = /* @__PURE__ */ function() {
|
|
|
25286
25291
|
start: !1,
|
|
25287
25292
|
x: 0,
|
|
25288
25293
|
y: 0
|
|
25289
|
-
}, this.config =
|
|
25294
|
+
}, this.config = cE(), Object.keys(t).map(function(e) {
|
|
25290
25295
|
r.config[e] = t[e];
|
|
25291
|
-
}), this.root = a, this.events = t.eventType === "mouse" ?
|
|
25296
|
+
}), this.root = a, this.events = t.eventType === "mouse" ? uE : lE, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
|
|
25292
25297
|
}
|
|
25293
25298
|
return Le(i, [{
|
|
25294
25299
|
key: "_initEvent",
|
|
@@ -25367,7 +25372,7 @@ var cE = /* @__PURE__ */ function() {
|
|
|
25367
25372
|
}
|
|
25368
25373
|
}]), i;
|
|
25369
25374
|
}();
|
|
25370
|
-
function
|
|
25375
|
+
function dE() {
|
|
25371
25376
|
return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
25372
25377
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
25373
25378
|
<path opacity="0.54"
|
|
@@ -25381,7 +25386,7 @@ var Ai = {
|
|
|
25381
25386
|
SEEKING: "seeking",
|
|
25382
25387
|
PLAYBACK: "playbackrate",
|
|
25383
25388
|
LIGHT: ""
|
|
25384
|
-
}, ol = ["videoClick", "videoDbClick"],
|
|
25389
|
+
}, ol = ["videoClick", "videoDbClick"], hE = /* @__PURE__ */ function(i) {
|
|
25385
25390
|
je(r, i);
|
|
25386
25391
|
var a = Ge(r);
|
|
25387
25392
|
function r(t) {
|
|
@@ -25453,7 +25458,7 @@ var Ai = {
|
|
|
25453
25458
|
value: function() {
|
|
25454
25459
|
return {
|
|
25455
25460
|
seekTipIcon: {
|
|
25456
|
-
icon:
|
|
25461
|
+
icon: dE,
|
|
25457
25462
|
class: "xg-seek-pre"
|
|
25458
25463
|
}
|
|
25459
25464
|
};
|
|
@@ -25468,7 +25473,7 @@ var Ai = {
|
|
|
25468
25473
|
var n = this.playerConfig, o = this.config, s = this.player;
|
|
25469
25474
|
n.closeVideoDblclick === !0 && (o.closedbClick = !0), this.resetPos(), A.isUndefined(n.disableGesture) || (o.disableGesture = !!n.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = A.createDom("xg-mask", "", {}, "xgmask"), s.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
|
|
25470
25475
|
var l = this.domEventType === "mouse" ? "mouse" : "touch";
|
|
25471
|
-
this.touch = new
|
|
25476
|
+
this.touch = new fE(this.root, {
|
|
25472
25477
|
eventType: l,
|
|
25473
25478
|
needPreventDefault: !this.config.disableGesture
|
|
25474
25479
|
}), this.root.addEventListener("contextmenu", function(d) {
|
|
@@ -25813,7 +25818,7 @@ var Ai = {
|
|
|
25813
25818
|
}
|
|
25814
25819
|
}]), r;
|
|
25815
25820
|
}(bt);
|
|
25816
|
-
function
|
|
25821
|
+
function pE(i) {
|
|
25817
25822
|
i.preventDefault(), i.returnValue = !1;
|
|
25818
25823
|
}
|
|
25819
25824
|
function s0(i) {
|
|
@@ -26062,7 +26067,7 @@ var l0 = /* @__PURE__ */ function(i) {
|
|
|
26062
26067
|
isPress: o
|
|
26063
26068
|
}, this.keyCodeMap[s[l]]));
|
|
26064
26069
|
}
|
|
26065
|
-
|
|
26070
|
+
pE(n), n.stopPropagation();
|
|
26066
26071
|
break;
|
|
26067
26072
|
}
|
|
26068
26073
|
}
|
|
@@ -26104,13 +26109,13 @@ var l0 = /* @__PURE__ */ function(i) {
|
|
|
26104
26109
|
}
|
|
26105
26110
|
}]), r;
|
|
26106
26111
|
}(Sn);
|
|
26107
|
-
function
|
|
26112
|
+
function vE() {
|
|
26108
26113
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
|
|
26109
26114
|
<path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
|
|
26110
26115
|
</svg>
|
|
26111
26116
|
`, "image/svg+xml").firstChild;
|
|
26112
26117
|
}
|
|
26113
|
-
var
|
|
26118
|
+
var gE = /* @__PURE__ */ function(i) {
|
|
26114
26119
|
je(r, i);
|
|
26115
26120
|
var a = Ge(r);
|
|
26116
26121
|
function r() {
|
|
@@ -26120,7 +26125,7 @@ var vE = /* @__PURE__ */ function(i) {
|
|
|
26120
26125
|
key: "registerIcons",
|
|
26121
26126
|
value: function() {
|
|
26122
26127
|
return {
|
|
26123
|
-
loadingIcon:
|
|
26128
|
+
loadingIcon: vE
|
|
26124
26129
|
};
|
|
26125
26130
|
}
|
|
26126
26131
|
}, {
|
|
@@ -26149,7 +26154,7 @@ var vE = /* @__PURE__ */ function(i) {
|
|
|
26149
26154
|
};
|
|
26150
26155
|
}
|
|
26151
26156
|
}]), r;
|
|
26152
|
-
}(bt),
|
|
26157
|
+
}(bt), mE = /* @__PURE__ */ function(i) {
|
|
26153
26158
|
je(r, i);
|
|
26154
26159
|
var a = Ge(r);
|
|
26155
26160
|
function r() {
|
|
@@ -26287,7 +26292,7 @@ var vE = /* @__PURE__ */ function(i) {
|
|
|
26287
26292
|
}
|
|
26288
26293
|
}]), r;
|
|
26289
26294
|
}(Sn);
|
|
26290
|
-
function
|
|
26295
|
+
function yE() {
|
|
26291
26296
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
|
|
26292
26297
|
<g>
|
|
26293
26298
|
<path transform="scale(1.5 1.5)" d="M11.6665 9.16663H4.1665C2.78579 9.16663 1.6665 10.2859 1.6665 11.6666V15.8333C1.6665 17.214 2.78579 18.3333 4.1665 18.3333H11.6665C13.0472 18.3333 14.1665 17.214 14.1665 15.8333V11.6666C14.1665 10.2859 13.0472 9.16663 11.6665 9.16663Z" fill="white"/>
|
|
@@ -26301,7 +26306,7 @@ function mE() {
|
|
|
26301
26306
|
</svg>
|
|
26302
26307
|
`, "image/svg+xml").firstChild;
|
|
26303
26308
|
}
|
|
26304
|
-
var
|
|
26309
|
+
var _E = /* @__PURE__ */ function(i) {
|
|
26305
26310
|
je(r, i);
|
|
26306
26311
|
var a = Ge(r);
|
|
26307
26312
|
function r(t) {
|
|
@@ -26364,7 +26369,7 @@ var yE = /* @__PURE__ */ function(i) {
|
|
|
26364
26369
|
key: "registerIcons",
|
|
26365
26370
|
value: function() {
|
|
26366
26371
|
return {
|
|
26367
|
-
rotate:
|
|
26372
|
+
rotate: yE
|
|
26368
26373
|
};
|
|
26369
26374
|
}
|
|
26370
26375
|
}, {
|
|
@@ -26397,14 +26402,14 @@ var yE = /* @__PURE__ */ function(i) {
|
|
|
26397
26402
|
}
|
|
26398
26403
|
}]), r;
|
|
26399
26404
|
}(wi);
|
|
26400
|
-
function
|
|
26405
|
+
function bE() {
|
|
26401
26406
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
26402
26407
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
26403
26408
|
d="M16.5 4.3H3.5C3.38954 4.3 3.3 4.38954 3.3 4.5V15.5C3.3 15.6105 3.38954 15.7 3.5 15.7H8.50005L8.50006 17.5H3.5C2.39543 17.5 1.5 16.6046 1.5 15.5V4.5C1.5 3.39543 2.39543 2.5 3.5 2.5H16.5C17.6046 2.5 18.5 3.39543 18.5 4.5V8.5H16.7V4.5C16.7 4.38954 16.6105 4.3 16.5 4.3ZM12 11.5C11.4477 11.5 11 11.9477 11 12.5L11 16.5C11 17.0523 11.4478 17.5 12 17.5H17.5C18.0523 17.5 18.5 17.0523 18.5 16.5L18.5 12.5C18.5 11.9477 18.0523 11.5 17.5 11.5H12Z"
|
|
26404
26409
|
fill="white" />
|
|
26405
26410
|
</svg>`, "image/svg+xml").firstChild;
|
|
26406
26411
|
}
|
|
26407
|
-
function
|
|
26412
|
+
function wE() {
|
|
26408
26413
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
26409
26414
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
26410
26415
|
d="M16.5 4.3H3.5C3.38954 4.3 3.3 4.38954 3.3 4.5V15.5C3.3 15.6105 3.38954 15.7 3.5 15.7H8.50005L8.50006 17.5H3.5C2.39543 17.5 1.5 16.6046 1.5 15.5V4.5C1.5 3.39543 2.39543 2.5 3.5 2.5H16.5C17.6046 2.5 18.5 3.39543 18.5 4.5V8.5H16.7V4.5C16.7 4.38954 16.6105 4.3 16.5 4.3ZM12 11.5C11.4477 11.5 11 11.9477 11 12.5L11 16.5C11 17.0523 11.4478 17.5 12 17.5H17.5C18.0523 17.5 18.5 17.0523 18.5 16.5L18.5 12.5C18.5 11.9477 18.0523 11.5 17.5 11.5H12Z"
|
|
@@ -26418,7 +26423,7 @@ var Di = {
|
|
|
26418
26423
|
PIP: "picture-in-picture",
|
|
26419
26424
|
INLINE: "inline",
|
|
26420
26425
|
FULLSCREEN: "fullscreen"
|
|
26421
|
-
},
|
|
26426
|
+
}, SE = /* @__PURE__ */ function(i) {
|
|
26422
26427
|
je(r, i);
|
|
26423
26428
|
var a = Ge(r);
|
|
26424
26429
|
function r() {
|
|
@@ -26458,11 +26463,11 @@ var Di = {
|
|
|
26458
26463
|
value: function() {
|
|
26459
26464
|
return {
|
|
26460
26465
|
pipIcon: {
|
|
26461
|
-
icon:
|
|
26466
|
+
icon: bE,
|
|
26462
26467
|
class: "xg-get-pip"
|
|
26463
26468
|
},
|
|
26464
26469
|
pipIconExit: {
|
|
26465
|
-
icon:
|
|
26470
|
+
icon: wE,
|
|
26466
26471
|
class: "xg-exit-pip"
|
|
26467
26472
|
}
|
|
26468
26473
|
};
|
|
@@ -26621,13 +26626,13 @@ var Di = {
|
|
|
26621
26626
|
}
|
|
26622
26627
|
}]), r;
|
|
26623
26628
|
}(wi);
|
|
26624
|
-
function
|
|
26629
|
+
function EE() {
|
|
26625
26630
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
|
|
26626
26631
|
<path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
|
|
26627
26632
|
</svg>
|
|
26628
26633
|
`, "image/svg+xml").firstChild;
|
|
26629
26634
|
}
|
|
26630
|
-
var
|
|
26635
|
+
var CE = /* @__PURE__ */ function(i) {
|
|
26631
26636
|
je(r, i);
|
|
26632
26637
|
var a = Ge(r);
|
|
26633
26638
|
function r(t) {
|
|
@@ -26646,7 +26651,7 @@ var EE = /* @__PURE__ */ function(i) {
|
|
|
26646
26651
|
key: "registerIcons",
|
|
26647
26652
|
value: function() {
|
|
26648
26653
|
return {
|
|
26649
|
-
playNext:
|
|
26654
|
+
playNext: EE
|
|
26650
26655
|
};
|
|
26651
26656
|
}
|
|
26652
26657
|
}, {
|
|
@@ -26765,8 +26770,8 @@ Use Save As... to download, then click back to return to this page.`) && (locati
|
|
|
26765
26770
|
};
|
|
26766
26771
|
});
|
|
26767
26772
|
})(Rd);
|
|
26768
|
-
const
|
|
26769
|
-
function
|
|
26773
|
+
const TE = Rd.exports;
|
|
26774
|
+
function xE() {
|
|
26770
26775
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
|
|
26771
26776
|
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
26772
26777
|
<g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
|
|
@@ -26783,7 +26788,7 @@ function TE() {
|
|
|
26783
26788
|
</svg>
|
|
26784
26789
|
`, "image/svg+xml").firstChild;
|
|
26785
26790
|
}
|
|
26786
|
-
var
|
|
26791
|
+
var kE = /* @__PURE__ */ function(i) {
|
|
26787
26792
|
je(r, i);
|
|
26788
26793
|
var a = Ge(r);
|
|
26789
26794
|
function r(t) {
|
|
@@ -26794,7 +26799,7 @@ var xE = /* @__PURE__ */ function(i) {
|
|
|
26794
26799
|
var o = e.playerConfig.url, s = "";
|
|
26795
26800
|
A.typeOf(o) === "String" ? s = o : A.typeOf(o) === "Array" && o.length > 0 && (s = o[0].src);
|
|
26796
26801
|
var l = e.getAbsoluteURL(s);
|
|
26797
|
-
|
|
26802
|
+
TE(l), e.isLock = !0, e.timer = window.setTimeout(function() {
|
|
26798
26803
|
e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
|
|
26799
26804
|
}, 300);
|
|
26800
26805
|
}
|
|
@@ -26813,7 +26818,7 @@ var xE = /* @__PURE__ */ function(i) {
|
|
|
26813
26818
|
key: "registerIcons",
|
|
26814
26819
|
value: function() {
|
|
26815
26820
|
return {
|
|
26816
|
-
download:
|
|
26821
|
+
download: xE
|
|
26817
26822
|
};
|
|
26818
26823
|
}
|
|
26819
26824
|
}, {
|
|
@@ -26855,7 +26860,7 @@ var xE = /* @__PURE__ */ function(i) {
|
|
|
26855
26860
|
};
|
|
26856
26861
|
}
|
|
26857
26862
|
}]), r;
|
|
26858
|
-
}(wi),
|
|
26863
|
+
}(wi), AE = /* @__PURE__ */ function(i) {
|
|
26859
26864
|
je(r, i);
|
|
26860
26865
|
var a = Ge(r);
|
|
26861
26866
|
function r() {
|
|
@@ -26981,7 +26986,7 @@ var xE = /* @__PURE__ */ function(i) {
|
|
|
26981
26986
|
};
|
|
26982
26987
|
}
|
|
26983
26988
|
}]), r;
|
|
26984
|
-
}(wi),
|
|
26989
|
+
}(wi), DE = /* @__PURE__ */ function() {
|
|
26985
26990
|
function i(a) {
|
|
26986
26991
|
Ie(this, i), this.config = a.config, this.parent = a.root, this.root = A.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), a.root.appendChild(this.root);
|
|
26987
26992
|
var r = this.config.maxHeight;
|
|
@@ -27061,7 +27066,7 @@ var xE = /* @__PURE__ */ function(i) {
|
|
|
27061
27066
|
CLICK: "click",
|
|
27062
27067
|
HOVER: "hover"
|
|
27063
27068
|
};
|
|
27064
|
-
function
|
|
27069
|
+
function PE(i, a) {
|
|
27065
27070
|
return i === dn.SIDE ? a === Tt.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
|
|
27066
27071
|
}
|
|
27067
27072
|
var ai = ot.device === "mobile", qo = /* @__PURE__ */ function(i) {
|
|
@@ -27175,7 +27180,7 @@ var ai = ot.device === "mobile", qo = /* @__PURE__ */ function(i) {
|
|
|
27175
27180
|
var c = {
|
|
27176
27181
|
config: {
|
|
27177
27182
|
data: e || [],
|
|
27178
|
-
className:
|
|
27183
|
+
className: PE(s.listType, s.position),
|
|
27179
27184
|
onItemClick: function(g, v) {
|
|
27180
27185
|
o.onItemClick(g, v);
|
|
27181
27186
|
},
|
|
@@ -27185,7 +27190,7 @@ var ai = ot.device === "mobile", qo = /* @__PURE__ */ function(i) {
|
|
|
27185
27190
|
};
|
|
27186
27191
|
if (this.config.isShowIcon) {
|
|
27187
27192
|
var f = this.player.root.getBoundingClientRect(), d = f.height, h = s.listType === dn.MIDDLE ? d - 50 : d;
|
|
27188
|
-
h && s.heightLimit && (c.config.maxHeight = "".concat(h, "px")), this.optionsList = new
|
|
27193
|
+
h && s.heightLimit && (c.config.maxHeight = "".concat(h, "px")), this.optionsList = new DE(c), this.changeCurrentText(), this.show();
|
|
27189
27194
|
}
|
|
27190
27195
|
this._resizeList();
|
|
27191
27196
|
}
|
|
@@ -27236,7 +27241,7 @@ var ai = ot.device === "mobile", qo = /* @__PURE__ */ function(i) {
|
|
|
27236
27241
|
};
|
|
27237
27242
|
}
|
|
27238
27243
|
}]), r;
|
|
27239
|
-
}(bt),
|
|
27244
|
+
}(bt), OE = /* @__PURE__ */ function(i) {
|
|
27240
27245
|
je(r, i);
|
|
27241
27246
|
var a = Ge(r);
|
|
27242
27247
|
function r(t) {
|
|
@@ -27337,7 +27342,7 @@ var ai = ot.device === "mobile", qo = /* @__PURE__ */ function(i) {
|
|
|
27337
27342
|
});
|
|
27338
27343
|
}
|
|
27339
27344
|
}]), r;
|
|
27340
|
-
}(qo),
|
|
27345
|
+
}(qo), IE = /* @__PURE__ */ function(i) {
|
|
27341
27346
|
je(r, i);
|
|
27342
27347
|
var a = Ge(r);
|
|
27343
27348
|
function r(t) {
|
|
@@ -27429,7 +27434,7 @@ var ai = ot.device === "mobile", qo = /* @__PURE__ */ function(i) {
|
|
|
27429
27434
|
});
|
|
27430
27435
|
}
|
|
27431
27436
|
}]), r;
|
|
27432
|
-
}(qo),
|
|
27437
|
+
}(qo), LE = /* @__PURE__ */ function(i) {
|
|
27433
27438
|
je(r, i);
|
|
27434
27439
|
var a = Ge(r);
|
|
27435
27440
|
function r() {
|
|
@@ -27490,7 +27495,7 @@ var ai = ot.device === "mobile", qo = /* @__PURE__ */ function(i) {
|
|
|
27490
27495
|
return "error";
|
|
27491
27496
|
}
|
|
27492
27497
|
}]), r;
|
|
27493
|
-
}(bt),
|
|
27498
|
+
}(bt), ME = /* @__PURE__ */ function(i) {
|
|
27494
27499
|
je(r, i);
|
|
27495
27500
|
var a = Ge(r);
|
|
27496
27501
|
function r() {
|
|
@@ -27720,7 +27725,7 @@ var c0 = {
|
|
|
27720
27725
|
return r.find('xg-spot[data-id="'.concat(a, '"]'));
|
|
27721
27726
|
}
|
|
27722
27727
|
};
|
|
27723
|
-
function
|
|
27728
|
+
function RE(i) {
|
|
27724
27729
|
var a = i.config, r = i.player;
|
|
27725
27730
|
Object.keys(c0).map(function(e) {
|
|
27726
27731
|
i[e] = c0[e].bind(i);
|
|
@@ -27744,7 +27749,7 @@ var Oi = {
|
|
|
27744
27749
|
click: "onProgressClick",
|
|
27745
27750
|
mouseover: "onProgressMouseOver",
|
|
27746
27751
|
mouseenter: "onProgressMouseOver"
|
|
27747
|
-
},
|
|
27752
|
+
}, BE = /* @__PURE__ */ function(i) {
|
|
27748
27753
|
je(r, i);
|
|
27749
27754
|
var a = Ge(r);
|
|
27750
27755
|
function r(t) {
|
|
@@ -27795,7 +27800,7 @@ var Oi = {
|
|
|
27795
27800
|
o.seekTime && e.player.seek(o.seekTime);
|
|
27796
27801
|
}), this.transformTimeHook = this.hook("transformTime", function(n) {
|
|
27797
27802
|
e.setTimeContent(A.format(n));
|
|
27798
|
-
}),
|
|
27803
|
+
}), RE(this), this.on(Nn, function() {
|
|
27799
27804
|
e.show();
|
|
27800
27805
|
}), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
|
|
27801
27806
|
}
|
|
@@ -28019,7 +28024,7 @@ var Oi = {
|
|
|
28019
28024
|
};
|
|
28020
28025
|
}
|
|
28021
28026
|
}]), r;
|
|
28022
|
-
}(bt),
|
|
28027
|
+
}(bt), FE = /* @__PURE__ */ function(i) {
|
|
28023
28028
|
je(r, i);
|
|
28024
28029
|
var a = Ge(r);
|
|
28025
28030
|
function r(t) {
|
|
@@ -28157,7 +28162,7 @@ var Oi = {
|
|
|
28157
28162
|
function sl(i) {
|
|
28158
28163
|
return i ? "background:".concat(i, ";") : "";
|
|
28159
28164
|
}
|
|
28160
|
-
var
|
|
28165
|
+
var NE = /* @__PURE__ */ function(i) {
|
|
28161
28166
|
je(r, i);
|
|
28162
28167
|
var a = Ge(r);
|
|
28163
28168
|
function r() {
|
|
@@ -28245,14 +28250,14 @@ var FE = /* @__PURE__ */ function(i) {
|
|
|
28245
28250
|
FRAME_RATE: "framerate",
|
|
28246
28251
|
POSTER: "poster"
|
|
28247
28252
|
};
|
|
28248
|
-
function
|
|
28253
|
+
function HE() {
|
|
28249
28254
|
try {
|
|
28250
28255
|
return parseInt(window.performance.now(), 10);
|
|
28251
28256
|
} catch {
|
|
28252
28257
|
return new Date().getTime();
|
|
28253
28258
|
}
|
|
28254
28259
|
}
|
|
28255
|
-
function
|
|
28260
|
+
function VE() {
|
|
28256
28261
|
try {
|
|
28257
28262
|
var i = document.createElement("canvas").getContext;
|
|
28258
28263
|
return !!i;
|
|
@@ -28260,7 +28265,7 @@ function HE() {
|
|
|
28260
28265
|
return !1;
|
|
28261
28266
|
}
|
|
28262
28267
|
}
|
|
28263
|
-
var no = null,
|
|
28268
|
+
var no = null, zE = /* @__PURE__ */ function(i) {
|
|
28264
28269
|
je(r, i);
|
|
28265
28270
|
var a = Ge(r);
|
|
28266
28271
|
function r() {
|
|
@@ -28281,7 +28286,7 @@ var no = null, VE = /* @__PURE__ */ function(i) {
|
|
|
28281
28286
|
!t.player.paused && t._checkIfCanStart() && t.start(0, l);
|
|
28282
28287
|
}
|
|
28283
28288
|
}), q(X(t), "start", function(s, l) {
|
|
28284
|
-
var u = t.player.video, c =
|
|
28289
|
+
var u = t.player.video, c = HE(), f = t.checkVideoIsSupport(u);
|
|
28285
28290
|
!f || !t.canvasCtx || (l || (l = t.interval), t.stop(), u.videoWidth && u.videoHeight && (t.videoPI = u.videoHeight > 0 ? parseInt(u.videoWidth / u.videoHeight * 100, 10) : 0, (t.config.mode === Ii.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(f, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? A.setTimeout(X(t), t.start, l) : A.requestAnimationFrame(t.start));
|
|
28286
28291
|
}), q(X(t), "stop", function() {
|
|
28287
28292
|
t.frameId && (t._loopType === "timer" ? A.clearTimeout(X(t), t.frameId) : A.cancelAnimationFrame(t.frameId), t.frameId = null);
|
|
@@ -28454,7 +28459,7 @@ var no = null, VE = /* @__PURE__ */ function(i) {
|
|
|
28454
28459
|
}, {
|
|
28455
28460
|
key: "isSupport",
|
|
28456
28461
|
get: function() {
|
|
28457
|
-
return typeof no == "boolean" || (no =
|
|
28462
|
+
return typeof no == "boolean" || (no = VE()), no;
|
|
28458
28463
|
}
|
|
28459
28464
|
}, {
|
|
28460
28465
|
key: "supportCanvasFilter",
|
|
@@ -28462,7 +28467,7 @@ var no = null, VE = /* @__PURE__ */ function(i) {
|
|
|
28462
28467
|
return !(ot.browser === "safari" || ot.browser === "firefox");
|
|
28463
28468
|
}
|
|
28464
28469
|
}]), r;
|
|
28465
|
-
}(bt),
|
|
28470
|
+
}(bt), UE = {
|
|
28466
28471
|
LANG: "zh-cn",
|
|
28467
28472
|
TEXT: {
|
|
28468
28473
|
ERROR_TYPES: {
|
|
@@ -28537,7 +28542,7 @@ var no = null, VE = /* @__PURE__ */ function(i) {
|
|
|
28537
28542
|
FORWARD: "\u5FEB\u8FDB\u4E2D",
|
|
28538
28543
|
LIVE_TIP: "\u76F4\u64AD"
|
|
28539
28544
|
}
|
|
28540
|
-
}, ra = "info", ll = Sd,
|
|
28545
|
+
}, ra = "info", ll = Sd, $E = /* @__PURE__ */ function(i) {
|
|
28541
28546
|
je(r, i);
|
|
28542
28547
|
var a = Ge(r);
|
|
28543
28548
|
function r() {
|
|
@@ -28771,7 +28776,7 @@ var no = null, VE = /* @__PURE__ */ function(i) {
|
|
|
28771
28776
|
}]), r;
|
|
28772
28777
|
}(bt);
|
|
28773
28778
|
Fd.BROWSER_GAP_TOLERANCE = 1e-3;
|
|
28774
|
-
var
|
|
28779
|
+
var jE = /* @__PURE__ */ function(i) {
|
|
28775
28780
|
je(r, i);
|
|
28776
28781
|
var a = Ge(r);
|
|
28777
28782
|
function r() {
|
|
@@ -28817,7 +28822,7 @@ var $E = /* @__PURE__ */ function(i) {
|
|
|
28817
28822
|
};
|
|
28818
28823
|
}
|
|
28819
28824
|
}]), r;
|
|
28820
|
-
}(bt), Li = "cdn", io = ["cdn"],
|
|
28825
|
+
}(bt), Li = "cdn", io = ["cdn"], GE = /* @__PURE__ */ function(i) {
|
|
28821
28826
|
je(r, i);
|
|
28822
28827
|
var a = Ge(r);
|
|
28823
28828
|
function r() {
|
|
@@ -28943,7 +28948,7 @@ var $E = /* @__PURE__ */ function(i) {
|
|
|
28943
28948
|
};
|
|
28944
28949
|
}
|
|
28945
28950
|
}]), r;
|
|
28946
|
-
}(bt),
|
|
28951
|
+
}(bt), WE = /* @__PURE__ */ function(i) {
|
|
28947
28952
|
je(r, i);
|
|
28948
28953
|
var a = Ge(r);
|
|
28949
28954
|
function r() {
|
|
@@ -29053,24 +29058,24 @@ var $E = /* @__PURE__ */ function(i) {
|
|
|
29053
29058
|
}
|
|
29054
29059
|
}]), r;
|
|
29055
29060
|
}(bt);
|
|
29056
|
-
Vi.use(
|
|
29057
|
-
var
|
|
29061
|
+
Vi.use(UE);
|
|
29062
|
+
var KE = /* @__PURE__ */ Le(function i(a, r) {
|
|
29058
29063
|
var t, e, n;
|
|
29059
29064
|
Ie(this, i);
|
|
29060
|
-
var o = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [
|
|
29061
|
-
this.plugins = [
|
|
29065
|
+
var o = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [mE, Od, NE, BE, Id], u = [].concat(l, [Pd, Dd, _E, CE, OE, IE, kE, AE, Ld, SE]), c = [q7, eE, rE, gE, nE, LE, ME, FE, sE];
|
|
29066
|
+
this.plugins = [$E, Q7].concat(ln(u), c, [Fd, jE]);
|
|
29062
29067
|
var f = o ? "mobile" : ot.device;
|
|
29063
29068
|
switch (f) {
|
|
29064
29069
|
case "pc":
|
|
29065
|
-
(t = this.plugins).push.apply(t, [l0, al, Yl,
|
|
29070
|
+
(t = this.plugins).push.apply(t, [l0, al, Yl, GE, WE]);
|
|
29066
29071
|
break;
|
|
29067
29072
|
case "mobile":
|
|
29068
|
-
(e = this.plugins).push.apply(e, [
|
|
29073
|
+
(e = this.plugins).push.apply(e, [hE]);
|
|
29069
29074
|
break;
|
|
29070
29075
|
default:
|
|
29071
29076
|
(n = this.plugins).push.apply(n, [l0, al, Yl]);
|
|
29072
29077
|
}
|
|
29073
|
-
(ot.os.isIpad || f === "pc") && this.plugins.push(
|
|
29078
|
+
(ot.os.isIpad || f === "pc") && this.plugins.push(zE), ot.os.isIpad && this.plugins.push(al), this.ignores = [], this.i18n = [];
|
|
29074
29079
|
}), lr = /* @__PURE__ */ function(i) {
|
|
29075
29080
|
je(r, i);
|
|
29076
29081
|
var a = Ge(r);
|
|
@@ -29079,11 +29084,11 @@ var WE = /* @__PURE__ */ Le(function i(a, r) {
|
|
|
29079
29084
|
}
|
|
29080
29085
|
return Le(r);
|
|
29081
29086
|
}(ws);
|
|
29082
|
-
q(lr, "defaultPreset",
|
|
29087
|
+
q(lr, "defaultPreset", KE);
|
|
29083
29088
|
q(lr, "Util", A);
|
|
29084
29089
|
q(lr, "Sniffer", ot);
|
|
29085
29090
|
q(lr, "Errors", xa);
|
|
29086
|
-
q(lr, "Events",
|
|
29091
|
+
q(lr, "Events", v7);
|
|
29087
29092
|
q(lr, "Plugin", bt);
|
|
29088
29093
|
q(lr, "BasePlugin", Sn);
|
|
29089
29094
|
q(lr, "I18N", Vi);
|
|
@@ -29095,7 +29100,7 @@ q(lr, "Progress", Od);
|
|
|
29095
29100
|
q(lr, "FullscreenIcon", Dd);
|
|
29096
29101
|
q(lr, "CssFullscreenIcon", Yl);
|
|
29097
29102
|
q(lr, "VolumeIcon", Ld);
|
|
29098
|
-
function
|
|
29103
|
+
function YE(i, a) {
|
|
29099
29104
|
var r = i == null ? null : typeof Symbol < "u" && i[Symbol.iterator] || i["@@iterator"];
|
|
29100
29105
|
if (r != null) {
|
|
29101
29106
|
var t, e, n, o, s = [], l = !0, u = !1;
|
|
@@ -29535,7 +29540,7 @@ function Xl(i, a) {
|
|
|
29535
29540
|
return t.__proto__ = e, t;
|
|
29536
29541
|
}, Xl(i, a);
|
|
29537
29542
|
}
|
|
29538
|
-
function
|
|
29543
|
+
function XE() {
|
|
29539
29544
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
29540
29545
|
return !1;
|
|
29541
29546
|
if (typeof Proxy == "function")
|
|
@@ -29547,7 +29552,7 @@ function YE() {
|
|
|
29547
29552
|
return !1;
|
|
29548
29553
|
}
|
|
29549
29554
|
}
|
|
29550
|
-
function
|
|
29555
|
+
function JE(i, a) {
|
|
29551
29556
|
if (i == null)
|
|
29552
29557
|
return {};
|
|
29553
29558
|
var r = {}, t = Object.keys(i), e, n;
|
|
@@ -29558,7 +29563,7 @@ function XE(i, a) {
|
|
|
29558
29563
|
function Jl(i, a) {
|
|
29559
29564
|
if (i == null)
|
|
29560
29565
|
return {};
|
|
29561
|
-
var r =
|
|
29566
|
+
var r = JE(i, a), t, e;
|
|
29562
29567
|
if (Object.getOwnPropertySymbols) {
|
|
29563
29568
|
var n = Object.getOwnPropertySymbols(i);
|
|
29564
29569
|
for (e = 0; e < n.length; e++)
|
|
@@ -29571,7 +29576,7 @@ function qe(i) {
|
|
|
29571
29576
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
29572
29577
|
return i;
|
|
29573
29578
|
}
|
|
29574
|
-
function
|
|
29579
|
+
function QE(i, a) {
|
|
29575
29580
|
if (a && (typeof a == "object" || typeof a == "function"))
|
|
29576
29581
|
return a;
|
|
29577
29582
|
if (a !== void 0)
|
|
@@ -29579,7 +29584,7 @@ function JE(i, a) {
|
|
|
29579
29584
|
return qe(i);
|
|
29580
29585
|
}
|
|
29581
29586
|
function Es(i) {
|
|
29582
|
-
var a =
|
|
29587
|
+
var a = XE();
|
|
29583
29588
|
return function() {
|
|
29584
29589
|
var t = es(i), e;
|
|
29585
29590
|
if (a) {
|
|
@@ -29587,24 +29592,24 @@ function Es(i) {
|
|
|
29587
29592
|
e = Reflect.construct(t, arguments, n);
|
|
29588
29593
|
} else
|
|
29589
29594
|
e = t.apply(this, arguments);
|
|
29590
|
-
return
|
|
29595
|
+
return QE(this, e);
|
|
29591
29596
|
};
|
|
29592
29597
|
}
|
|
29593
29598
|
function Mn(i, a) {
|
|
29594
|
-
return
|
|
29595
|
-
}
|
|
29596
|
-
function QE(i) {
|
|
29597
|
-
return ZE(i) || eC(i) || Nd(i) || tC();
|
|
29599
|
+
return eC(i) || YE(i, a) || Nd(i, a) || nC();
|
|
29598
29600
|
}
|
|
29599
29601
|
function ZE(i) {
|
|
29602
|
+
return qE(i) || tC(i) || Nd(i) || rC();
|
|
29603
|
+
}
|
|
29604
|
+
function qE(i) {
|
|
29600
29605
|
if (Array.isArray(i))
|
|
29601
29606
|
return Ql(i);
|
|
29602
29607
|
}
|
|
29603
|
-
function
|
|
29608
|
+
function eC(i) {
|
|
29604
29609
|
if (Array.isArray(i))
|
|
29605
29610
|
return i;
|
|
29606
29611
|
}
|
|
29607
|
-
function
|
|
29612
|
+
function tC(i) {
|
|
29608
29613
|
if (typeof Symbol < "u" && i[Symbol.iterator] != null || i["@@iterator"] != null)
|
|
29609
29614
|
return Array.from(i);
|
|
29610
29615
|
}
|
|
@@ -29625,15 +29630,15 @@ function Ql(i, a) {
|
|
|
29625
29630
|
t[r] = i[r];
|
|
29626
29631
|
return t;
|
|
29627
29632
|
}
|
|
29628
|
-
function
|
|
29633
|
+
function rC() {
|
|
29629
29634
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
29630
29635
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
29631
29636
|
}
|
|
29632
|
-
function
|
|
29637
|
+
function nC() {
|
|
29633
29638
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
29634
29639
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
29635
29640
|
}
|
|
29636
|
-
function
|
|
29641
|
+
function iC(i, a) {
|
|
29637
29642
|
if (typeof i != "object" || i === null)
|
|
29638
29643
|
return i;
|
|
29639
29644
|
var r = i[Symbol.toPrimitive];
|
|
@@ -29646,7 +29651,7 @@ function nC(i, a) {
|
|
|
29646
29651
|
return (a === "string" ? String : Number)(i);
|
|
29647
29652
|
}
|
|
29648
29653
|
function Hd(i) {
|
|
29649
|
-
var a =
|
|
29654
|
+
var a = iC(i, "string");
|
|
29650
29655
|
return typeof a == "symbol" ? a : String(a);
|
|
29651
29656
|
}
|
|
29652
29657
|
function p0(i, a) {
|
|
@@ -30083,13 +30088,13 @@ function ko(i, a, r) {
|
|
|
30083
30088
|
return o && Oa(u, o.prototype), u;
|
|
30084
30089
|
}, ko.apply(null, arguments);
|
|
30085
30090
|
}
|
|
30086
|
-
function
|
|
30091
|
+
function aC(i) {
|
|
30087
30092
|
return Function.toString.call(i).indexOf("[native code]") !== -1;
|
|
30088
30093
|
}
|
|
30089
30094
|
function ts(i) {
|
|
30090
30095
|
var a = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
30091
30096
|
return ts = function(t) {
|
|
30092
|
-
if (t === null || !
|
|
30097
|
+
if (t === null || !aC(t))
|
|
30093
30098
|
return t;
|
|
30094
30099
|
if (typeof t != "function")
|
|
30095
30100
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -30111,7 +30116,7 @@ function ts(i) {
|
|
|
30111
30116
|
}), Oa(e, t);
|
|
30112
30117
|
}, ts(i);
|
|
30113
30118
|
}
|
|
30114
|
-
function
|
|
30119
|
+
function oC(i, a) {
|
|
30115
30120
|
if (i == null)
|
|
30116
30121
|
return {};
|
|
30117
30122
|
var r = {}, t = Object.keys(i), e, n;
|
|
@@ -30119,10 +30124,10 @@ function aC(i, a) {
|
|
|
30119
30124
|
e = t[n], !(a.indexOf(e) >= 0) && (r[e] = i[e]);
|
|
30120
30125
|
return r;
|
|
30121
30126
|
}
|
|
30122
|
-
function
|
|
30127
|
+
function sC(i, a) {
|
|
30123
30128
|
if (i == null)
|
|
30124
30129
|
return {};
|
|
30125
|
-
var r =
|
|
30130
|
+
var r = oC(i, a), t, e;
|
|
30126
30131
|
if (Object.getOwnPropertySymbols) {
|
|
30127
30132
|
var n = Object.getOwnPropertySymbols(i);
|
|
30128
30133
|
for (e = 0; e < n.length; e++)
|
|
@@ -30135,7 +30140,7 @@ function Me(i) {
|
|
|
30135
30140
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
30136
30141
|
return i;
|
|
30137
30142
|
}
|
|
30138
|
-
function
|
|
30143
|
+
function lC(i, a) {
|
|
30139
30144
|
if (a && (typeof a == "object" || typeof a == "function"))
|
|
30140
30145
|
return a;
|
|
30141
30146
|
if (a !== void 0)
|
|
@@ -30151,24 +30156,24 @@ function $a(i) {
|
|
|
30151
30156
|
e = Reflect.construct(t, arguments, n);
|
|
30152
30157
|
} else
|
|
30153
30158
|
e = t.apply(this, arguments);
|
|
30154
|
-
return
|
|
30159
|
+
return lC(this, e);
|
|
30155
30160
|
};
|
|
30156
30161
|
}
|
|
30157
|
-
function
|
|
30162
|
+
function uC(i, a) {
|
|
30158
30163
|
for (; !Object.prototype.hasOwnProperty.call(i, a) && (i = mi(i), i !== null); )
|
|
30159
30164
|
;
|
|
30160
30165
|
return i;
|
|
30161
30166
|
}
|
|
30162
30167
|
function Ao() {
|
|
30163
30168
|
return typeof Reflect < "u" && Reflect.get ? Ao = Reflect.get.bind() : Ao = function(a, r, t) {
|
|
30164
|
-
var e =
|
|
30169
|
+
var e = uC(a, r);
|
|
30165
30170
|
if (!!e) {
|
|
30166
30171
|
var n = Object.getOwnPropertyDescriptor(e, r);
|
|
30167
30172
|
return n.get ? n.get.call(arguments.length < 3 ? a : t) : n.value;
|
|
30168
30173
|
}
|
|
30169
30174
|
}, Ao.apply(this, arguments);
|
|
30170
30175
|
}
|
|
30171
|
-
function
|
|
30176
|
+
function cC(i, a) {
|
|
30172
30177
|
if (!!i) {
|
|
30173
30178
|
if (typeof i == "string")
|
|
30174
30179
|
return m0(i, a);
|
|
@@ -30185,10 +30190,10 @@ function m0(i, a) {
|
|
|
30185
30190
|
t[r] = i[r];
|
|
30186
30191
|
return t;
|
|
30187
30192
|
}
|
|
30188
|
-
function
|
|
30193
|
+
function fC(i, a) {
|
|
30189
30194
|
var r = typeof Symbol < "u" && i[Symbol.iterator] || i["@@iterator"];
|
|
30190
30195
|
if (!r) {
|
|
30191
|
-
if (Array.isArray(i) || (r =
|
|
30196
|
+
if (Array.isArray(i) || (r = cC(i)) || a && i && typeof i.length == "number") {
|
|
30192
30197
|
r && (i = r);
|
|
30193
30198
|
var t = 0, e = function() {
|
|
30194
30199
|
};
|
|
@@ -30233,7 +30238,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
30233
30238
|
}
|
|
30234
30239
|
};
|
|
30235
30240
|
}
|
|
30236
|
-
function
|
|
30241
|
+
function dC(i, a) {
|
|
30237
30242
|
if (typeof i != "object" || i === null)
|
|
30238
30243
|
return i;
|
|
30239
30244
|
var r = i[Symbol.toPrimitive];
|
|
@@ -30246,7 +30251,7 @@ function fC(i, a) {
|
|
|
30246
30251
|
return (a === "string" ? String : Number)(i);
|
|
30247
30252
|
}
|
|
30248
30253
|
function zd(i) {
|
|
30249
|
-
var a =
|
|
30254
|
+
var a = dC(i, "string");
|
|
30250
30255
|
return typeof a == "symbol" ? a : String(a);
|
|
30251
30256
|
}
|
|
30252
30257
|
var Mr = /* @__PURE__ */ function() {
|
|
@@ -30348,7 +30353,7 @@ var Mr = /* @__PURE__ */ function() {
|
|
|
30348
30353
|
return !1;
|
|
30349
30354
|
}
|
|
30350
30355
|
}]), i;
|
|
30351
|
-
}(),
|
|
30356
|
+
}(), hC = typeof window < "u", Pr, it = {
|
|
30352
30357
|
MANIFEST: "manifest",
|
|
30353
30358
|
NETWORK: "network",
|
|
30354
30359
|
NETWORK_TIMEOUT: "network_timeout",
|
|
@@ -30449,9 +30454,9 @@ var Mr = /* @__PURE__ */ function() {
|
|
|
30449
30454
|
LOG: 2,
|
|
30450
30455
|
WARN: 3,
|
|
30451
30456
|
ERROR: 4
|
|
30452
|
-
},
|
|
30457
|
+
}, pC = 200 * 1024, vC = ["Boolean", "Number", "String", "Undefined", "Null", "Date", "Object"], En = /* @__PURE__ */ function() {
|
|
30453
30458
|
function i(a, r) {
|
|
30454
|
-
Fr(this, i), this.name = a || "", this._prefix = "[".concat(this.name, "]"), this.logCacheLevel = (r == null ? void 0 : r.logCacheLevel) || 3, this.logMaxSize = (r == null ? void 0 : r.logMaxSize) ||
|
|
30459
|
+
Fr(this, i), this.name = a || "", this._prefix = "[".concat(this.name, "]"), this.logCacheLevel = (r == null ? void 0 : r.logCacheLevel) || 3, this.logMaxSize = (r == null ? void 0 : r.logMaxSize) || pC, this.logSize = 0, this.logTextArray = [];
|
|
30455
30460
|
}
|
|
30456
30461
|
return Nr(i, [{
|
|
30457
30462
|
key: "debug",
|
|
@@ -30541,7 +30546,7 @@ oe(En, "disabled", !0);
|
|
|
30541
30546
|
function na() {
|
|
30542
30547
|
return new Date().toLocaleString();
|
|
30543
30548
|
}
|
|
30544
|
-
function
|
|
30549
|
+
function gC(i) {
|
|
30545
30550
|
if (gi(i) !== "object")
|
|
30546
30551
|
return i;
|
|
30547
30552
|
var a = Object.prototype.toString.call(i).slice(8, -1);
|
|
@@ -30562,11 +30567,11 @@ function Ud(i, a, r) {
|
|
|
30562
30567
|
if (!i || gi(i) !== "object")
|
|
30563
30568
|
return i;
|
|
30564
30569
|
var e = Object.prototype.toString.call(i).slice(8, -1);
|
|
30565
|
-
if (!
|
|
30570
|
+
if (!vC.includes(e))
|
|
30566
30571
|
return e;
|
|
30567
30572
|
if (!(r > a)) {
|
|
30568
30573
|
for (var n in i)
|
|
30569
|
-
Object.prototype.hasOwnProperty.call(i, n) && (r === a ? t[n] =
|
|
30574
|
+
Object.prototype.hasOwnProperty.call(i, n) && (r === a ? t[n] = gC(i[n]) : gi(i[n]) === "object" ? t[n] = Ud(i[n], a, r + 1) : t[n] = i[n]);
|
|
30570
30575
|
return t;
|
|
30571
30576
|
}
|
|
30572
30577
|
}
|
|
@@ -30587,7 +30592,7 @@ function Mi() {
|
|
|
30587
30592
|
return new Date().getTime();
|
|
30588
30593
|
}
|
|
30589
30594
|
}
|
|
30590
|
-
var
|
|
30595
|
+
var mC = {
|
|
30591
30596
|
stringify: function(a) {
|
|
30592
30597
|
try {
|
|
30593
30598
|
return JSON.stringify(a);
|
|
@@ -30606,14 +30611,14 @@ var gC = {
|
|
|
30606
30611
|
function y0() {
|
|
30607
30612
|
var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
|
|
30608
30613
|
try {
|
|
30609
|
-
return
|
|
30614
|
+
return hC ? i && typeof ManagedMediaSource < "u" ? ManagedMediaSource : window.MediaSource : null;
|
|
30610
30615
|
} catch {
|
|
30611
30616
|
}
|
|
30612
30617
|
}
|
|
30613
30618
|
function cl(i) {
|
|
30614
30619
|
return /ManagedMediaSource/gi.test(Object.prototype.toString.call(i));
|
|
30615
30620
|
}
|
|
30616
|
-
function
|
|
30621
|
+
function yC(i) {
|
|
30617
30622
|
var a = [];
|
|
30618
30623
|
if (i instanceof TimeRanges)
|
|
30619
30624
|
for (var r = 0; r < i.length; r++)
|
|
@@ -30640,7 +30645,7 @@ var oo = {
|
|
|
30640
30645
|
var o = n[0];
|
|
30641
30646
|
if ((o == null ? void 0 : o.opName) !== oo.UPDATE_DURATION && n.shift(), o) {
|
|
30642
30647
|
var s, l, u = Mi() - t._opst;
|
|
30643
|
-
t._logger.debug("UpdateEnd(".concat(e, "/").concat(o.opName, ")"),
|
|
30648
|
+
t._logger.debug("UpdateEnd(".concat(e, "/").concat(o.opName, ")"), mC.stringify(yC((s = t._sourceBuffer[e]) === null || s === void 0 ? void 0 : s.buffered)), u, o.context), o.promise.resolve({
|
|
30644
30649
|
name: o.opName,
|
|
30645
30650
|
context: o.context,
|
|
30646
30651
|
costtime: u
|
|
@@ -31098,7 +31103,7 @@ var ci = {
|
|
|
31098
31103
|
}
|
|
31099
31104
|
return Nr(r);
|
|
31100
31105
|
}(/* @__PURE__ */ ts(Error)), $d = Object.prototype.toString;
|
|
31101
|
-
function
|
|
31106
|
+
function _C(i) {
|
|
31102
31107
|
return i !== null && gi(i) === "object";
|
|
31103
31108
|
}
|
|
31104
31109
|
function _0(i) {
|
|
@@ -31107,7 +31112,7 @@ function _0(i) {
|
|
|
31107
31112
|
var a = Object.getPrototypeOf(i);
|
|
31108
31113
|
return a === null || a === Object.prototype;
|
|
31109
31114
|
}
|
|
31110
|
-
function
|
|
31115
|
+
function bC(i) {
|
|
31111
31116
|
return $d.call(i) === "[object Date]";
|
|
31112
31117
|
}
|
|
31113
31118
|
function jd(i) {
|
|
@@ -31126,7 +31131,7 @@ function Gd(i, a) {
|
|
|
31126
31131
|
var r, t = Object.keys(a).map(function(n) {
|
|
31127
31132
|
if (r = a[n], r != null)
|
|
31128
31133
|
return Array.isArray(r) ? n = n + "[]" : r = [r], r.map(function(o) {
|
|
31129
|
-
return
|
|
31134
|
+
return bC(o) ? o = o.toISOString() : _C(o) && (o = JSON.stringify(o)), "".concat(b0(n), "=").concat(b0(o));
|
|
31130
31135
|
}).join("&");
|
|
31131
31136
|
}).filter(Boolean).join("&");
|
|
31132
31137
|
if (t) {
|
|
@@ -31468,7 +31473,7 @@ var Ne = {
|
|
|
31468
31473
|
}
|
|
31469
31474
|
}]), r;
|
|
31470
31475
|
}(Ji);
|
|
31471
|
-
function
|
|
31476
|
+
function wC(i) {
|
|
31472
31477
|
return Pa({
|
|
31473
31478
|
loaderType: ci.FETCH,
|
|
31474
31479
|
retry: 0,
|
|
@@ -31498,7 +31503,7 @@ function bC(i) {
|
|
|
31498
31503
|
onProcessMinLen: 0
|
|
31499
31504
|
}, i);
|
|
31500
31505
|
}
|
|
31501
|
-
var
|
|
31506
|
+
var SC = /* @__PURE__ */ function(i) {
|
|
31502
31507
|
Ua(r, i);
|
|
31503
31508
|
var a = $a(r);
|
|
31504
31509
|
function r() {
|
|
@@ -31667,7 +31672,7 @@ var wC = /* @__PURE__ */ function(i) {
|
|
|
31667
31672
|
key: "_getHeaders",
|
|
31668
31673
|
value: function(e) {
|
|
31669
31674
|
var n = e.getAllResponseHeaders().trim().split(`\r
|
|
31670
|
-
`), o = {}, s =
|
|
31675
|
+
`), o = {}, s = fC(n), l;
|
|
31671
31676
|
try {
|
|
31672
31677
|
for (s.s(); !(l = s.n()).done; ) {
|
|
31673
31678
|
var u = l.value, c = u.split(": ");
|
|
@@ -31686,14 +31691,14 @@ var wC = /* @__PURE__ */ function(i) {
|
|
|
31686
31691
|
return typeof XMLHttpRequest < "u";
|
|
31687
31692
|
}
|
|
31688
31693
|
}]), r;
|
|
31689
|
-
}(Ji),
|
|
31694
|
+
}(Ji), EC = ["retry", "retryDelay", "onRetryError", "transformError"], CC = /* @__PURE__ */ function() {
|
|
31690
31695
|
function i(a, r) {
|
|
31691
|
-
Fr(this, i), this.promise = Fi(), this.alive = !!r.onProgress, !r.logger && (r.logger = new En("Loader")), this._loaderType = a, this._loader = a === ci.FETCH && typeof fetch < "u" ? new eu() : new
|
|
31696
|
+
Fr(this, i), this.promise = Fi(), this.alive = !!r.onProgress, !r.logger && (r.logger = new En("Loader")), this._loaderType = a, this._loader = a === ci.FETCH && typeof fetch < "u" ? new eu() : new SC(), this._config = r, this._retryCount = 0, this._retryTimer = null, this._canceled = !1, this._retryCheckFunc = r.retryCheckFunc, this._logger = r.logger;
|
|
31692
31697
|
}
|
|
31693
31698
|
return Nr(i, [{
|
|
31694
31699
|
key: "exec",
|
|
31695
31700
|
value: function() {
|
|
31696
|
-
var r = this, t = this._config, e = t.retry, n = t.retryDelay, o = t.onRetryError, s = t.transformError, l =
|
|
31701
|
+
var r = this, t = this._config, e = t.retry, n = t.retryDelay, o = t.onRetryError, s = t.transformError, l = sC(t, EC), u = /* @__PURE__ */ function() {
|
|
31697
31702
|
var c = On(/* @__PURE__ */ tr().mark(function f() {
|
|
31698
31703
|
var d, h, p;
|
|
31699
31704
|
return tr().wrap(function(v) {
|
|
@@ -31767,10 +31772,10 @@ var wC = /* @__PURE__ */ function(i) {
|
|
|
31767
31772
|
}
|
|
31768
31773
|
}]), i;
|
|
31769
31774
|
}();
|
|
31770
|
-
function
|
|
31775
|
+
function TC(i) {
|
|
31771
31776
|
return i && !i.paused && !i.ended && i.playbackRate !== 0 && i.readyState !== 0;
|
|
31772
31777
|
}
|
|
31773
|
-
function
|
|
31778
|
+
function xC(i) {
|
|
31774
31779
|
if (!i)
|
|
31775
31780
|
return {};
|
|
31776
31781
|
if (typeof i.getVideoPlaybackQuality == "function") {
|
|
@@ -31799,7 +31804,7 @@ function Do() {
|
|
|
31799
31804
|
t.set(n, e), e += n.byteLength;
|
|
31800
31805
|
}), t;
|
|
31801
31806
|
}
|
|
31802
|
-
function
|
|
31807
|
+
function kC() {
|
|
31803
31808
|
var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
|
|
31804
31809
|
return new Promise(function(a) {
|
|
31805
31810
|
return setTimeout(a, i);
|
|
@@ -31810,7 +31815,7 @@ var $i = /* @__PURE__ */ function(i) {
|
|
|
31810
31815
|
var a = $a(r);
|
|
31811
31816
|
function r(t) {
|
|
31812
31817
|
var e;
|
|
31813
|
-
return Fr(this, r), e = a.call(this, t), oe(Me(e), "type", ci.FETCH), oe(Me(e), "_queue", []), oe(Me(e), "_alive", []), oe(Me(e), "_currentTask", null), oe(Me(e), "_finnalUrl", ""), oe(Me(e), "_config", void 0), e._config =
|
|
31818
|
+
return Fr(this, r), e = a.call(this, t), oe(Me(e), "type", ci.FETCH), oe(Me(e), "_queue", []), oe(Me(e), "_alive", []), oe(Me(e), "_currentTask", null), oe(Me(e), "_finnalUrl", ""), oe(Me(e), "_config", void 0), e._config = wC(t), (e._config.loaderType === ci.XHR || !eu.isSupported()) && (e.type = ci.XHR), e.log = t.logger, e;
|
|
31814
31819
|
}
|
|
31815
31820
|
return Nr(r, [{
|
|
31816
31821
|
key: "isFetch",
|
|
@@ -31822,7 +31827,7 @@ var $i = /* @__PURE__ */ function(i) {
|
|
|
31822
31827
|
value: function(e) {
|
|
31823
31828
|
var n = this, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
31824
31829
|
typeof e == "string" || !e ? o.url = e || o.url || this._config.url : o = e, o = Object.assign({}, this._config, o), o.params && (o.params = Object.assign({}, o.params)), o.headers && _0(o.headers) && (o.headers = Object.assign({}, o.headers)), o.body && _0(o.body) && (o.body = Object.assign({}, o.body)), o.transformRequest && (o = o.transformRequest(o) || o), o.logger = this.log;
|
|
31825
|
-
var s = new
|
|
31830
|
+
var s = new CC(this.type, o);
|
|
31826
31831
|
return s.loader.on(Ne.REAL_TIME_SPEED, function(l) {
|
|
31827
31832
|
n.emit(Ne.REAL_TIME_SPEED, l);
|
|
31828
31833
|
}), this._queue.push(s), this._queue.length === 1 && (!this._currentTask || !this._currentTask.running) && this._processTask(), s.promise;
|
|
@@ -31842,7 +31847,7 @@ var $i = /* @__PURE__ */ function(i) {
|
|
|
31842
31847
|
return u.cancel();
|
|
31843
31848
|
})), this._currentTask && o.push(this._currentTask.cancel()), this._queue = [], this._alive = [], l.next = 6, Promise.all(o);
|
|
31844
31849
|
case 6:
|
|
31845
|
-
return l.next = 8,
|
|
31850
|
+
return l.next = 8, kC();
|
|
31846
31851
|
case 8:
|
|
31847
31852
|
case "end":
|
|
31848
31853
|
return l.stop();
|
|
@@ -31876,7 +31881,7 @@ var $i = /* @__PURE__ */ function(i) {
|
|
|
31876
31881
|
return eu.isSupported();
|
|
31877
31882
|
}
|
|
31878
31883
|
}]), r;
|
|
31879
|
-
}(Ji),
|
|
31884
|
+
}(Ji), AC = /* @__PURE__ */ function() {
|
|
31880
31885
|
function i() {
|
|
31881
31886
|
Fr(this, i), oe(this, "_prevCurrentTime", 0);
|
|
31882
31887
|
}
|
|
@@ -31896,7 +31901,7 @@ var $i = /* @__PURE__ */ function(i) {
|
|
|
31896
31901
|
}
|
|
31897
31902
|
}
|
|
31898
31903
|
}]), i;
|
|
31899
|
-
}(),
|
|
31904
|
+
}(), DC = /* @__PURE__ */ function() {
|
|
31900
31905
|
function i(a) {
|
|
31901
31906
|
var r = this;
|
|
31902
31907
|
Fr(this, i), oe(this, "_seiSet", /* @__PURE__ */ new Set()), this.emitter = a, a.on(Ne.SEI, function(t) {
|
|
@@ -31924,26 +31929,26 @@ var $i = /* @__PURE__ */ function(i) {
|
|
|
31924
31929
|
this._seiSet.clear();
|
|
31925
31930
|
}
|
|
31926
31931
|
}]), i;
|
|
31927
|
-
}(),
|
|
31932
|
+
}(), PC = 1e3, OC = 50, IC = 3, LC = 3e3, MC = /* @__PURE__ */ function() {
|
|
31928
31933
|
function i(a) {
|
|
31929
31934
|
Fr(this, i), oe(this, "_chunkSpeed", 0), oe(this, "_chunkCache", []), oe(this, "_speeds", []), oe(this, "_totalSize", 0), oe(this, "_totalCost", 0), this._opts = a || {};
|
|
31930
31935
|
}
|
|
31931
31936
|
return Nr(i, [{
|
|
31932
31937
|
key: "addRecord",
|
|
31933
31938
|
value: function(r, t) {
|
|
31934
|
-
!r || !t || (this._speeds.push(8e3 * r / t), this._speeds = this._speeds.slice(-
|
|
31939
|
+
!r || !t || (this._speeds.push(8e3 * r / t), this._speeds = this._speeds.slice(-IC));
|
|
31935
31940
|
}
|
|
31936
31941
|
}, {
|
|
31937
31942
|
key: "addChunkRecord",
|
|
31938
31943
|
value: function(r, t) {
|
|
31939
31944
|
var e, n;
|
|
31940
|
-
if (!(!r || !t || r < (((e = this._opts) === null || e === void 0 ? void 0 : e.skipChunkSize) ||
|
|
31945
|
+
if (!(!r || !t || r < (((e = this._opts) === null || e === void 0 ? void 0 : e.skipChunkSize) || PC))) {
|
|
31941
31946
|
this._totalSize += r, this._totalCost += t, this._chunkSpeed = 8e3 * r / t, this._chunkCache.push({
|
|
31942
31947
|
size: r,
|
|
31943
31948
|
duration: t,
|
|
31944
31949
|
timestamp: performance.now()
|
|
31945
31950
|
});
|
|
31946
|
-
var o = ((n = this._opts) === null || n === void 0 ? void 0 : n.chunkCountForSpeed) ||
|
|
31951
|
+
var o = ((n = this._opts) === null || n === void 0 ? void 0 : n.chunkCountForSpeed) || OC;
|
|
31947
31952
|
this._chunkCache.length > o && (this._chunkCache = this._chunkCache.slice(-o));
|
|
31948
31953
|
}
|
|
31949
31954
|
}
|
|
@@ -31958,7 +31963,7 @@ var $i = /* @__PURE__ */ function(i) {
|
|
|
31958
31963
|
return s += l;
|
|
31959
31964
|
}) / this._speeds.length;
|
|
31960
31965
|
var t = this._chunkCache[this._chunkCache.length - 1], e = performance.now() - t.timestamp;
|
|
31961
|
-
e > (((r = this._opts) === null || r === void 0 ? void 0 : r.longtimeNoReceived) ||
|
|
31966
|
+
e > (((r = this._opts) === null || r === void 0 ? void 0 : r.longtimeNoReceived) || LC) && this._chunkCache.push({
|
|
31962
31967
|
size: 0,
|
|
31963
31968
|
duration: e,
|
|
31964
31969
|
timestamp: performance.now()
|
|
@@ -32058,7 +32063,7 @@ var $i = /* @__PURE__ */ function(i) {
|
|
|
32058
32063
|
});
|
|
32059
32064
|
}
|
|
32060
32065
|
}]), i;
|
|
32061
|
-
}(),
|
|
32066
|
+
}(), RC = /* @__PURE__ */ function() {
|
|
32062
32067
|
function i(a) {
|
|
32063
32068
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1e3;
|
|
32064
32069
|
Fr(this, i), oe(this, "_core", null), oe(this, "_samples", []), this._core = a, this._timescale = r, this._stats = new S0(r), this._bindEvents();
|
|
@@ -32099,7 +32104,7 @@ var $i = /* @__PURE__ */ function(i) {
|
|
|
32099
32104
|
}
|
|
32100
32105
|
}]), i;
|
|
32101
32106
|
}();
|
|
32102
|
-
function
|
|
32107
|
+
function BC(i, a) {
|
|
32103
32108
|
var r = i == null ? null : typeof Symbol < "u" && i[Symbol.iterator] || i["@@iterator"];
|
|
32104
32109
|
if (r != null) {
|
|
32105
32110
|
var t, e, n, o, s = [], l = !0, u = !1;
|
|
@@ -32148,7 +32153,7 @@ function ce(i, a, r) {
|
|
|
32148
32153
|
writable: !0
|
|
32149
32154
|
}) : i[a] = r, i;
|
|
32150
32155
|
}
|
|
32151
|
-
function
|
|
32156
|
+
function FC(i, a) {
|
|
32152
32157
|
if (typeof a != "function" && a !== null)
|
|
32153
32158
|
throw new TypeError("Super expression must either be null or a function");
|
|
32154
32159
|
i.prototype = Object.create(a && a.prototype, {
|
|
@@ -32171,7 +32176,7 @@ function tu(i, a) {
|
|
|
32171
32176
|
return t.__proto__ = e, t;
|
|
32172
32177
|
}, tu(i, a);
|
|
32173
32178
|
}
|
|
32174
|
-
function
|
|
32179
|
+
function NC() {
|
|
32175
32180
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
32176
32181
|
return !1;
|
|
32177
32182
|
if (typeof Proxy == "function")
|
|
@@ -32183,20 +32188,20 @@ function FC() {
|
|
|
32183
32188
|
return !1;
|
|
32184
32189
|
}
|
|
32185
32190
|
}
|
|
32186
|
-
function
|
|
32191
|
+
function HC(i) {
|
|
32187
32192
|
if (i === void 0)
|
|
32188
32193
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
32189
32194
|
return i;
|
|
32190
32195
|
}
|
|
32191
|
-
function
|
|
32196
|
+
function VC(i, a) {
|
|
32192
32197
|
if (a && (typeof a == "object" || typeof a == "function"))
|
|
32193
32198
|
return a;
|
|
32194
32199
|
if (a !== void 0)
|
|
32195
32200
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
32196
|
-
return
|
|
32201
|
+
return HC(i);
|
|
32197
32202
|
}
|
|
32198
|
-
function
|
|
32199
|
-
var a =
|
|
32203
|
+
function zC(i) {
|
|
32204
|
+
var a = NC();
|
|
32200
32205
|
return function() {
|
|
32201
32206
|
var t = rs(i), e;
|
|
32202
32207
|
if (a) {
|
|
@@ -32204,24 +32209,24 @@ function VC(i) {
|
|
|
32204
32209
|
e = Reflect.construct(t, arguments, n);
|
|
32205
32210
|
} else
|
|
32206
32211
|
e = t.apply(this, arguments);
|
|
32207
|
-
return
|
|
32212
|
+
return VC(this, e);
|
|
32208
32213
|
};
|
|
32209
32214
|
}
|
|
32210
|
-
function
|
|
32211
|
-
return
|
|
32215
|
+
function UC(i, a) {
|
|
32216
|
+
return jC(i) || BC(i, a) || Iu(i, a) || KC();
|
|
32212
32217
|
}
|
|
32213
32218
|
function Ir(i) {
|
|
32214
|
-
return
|
|
32219
|
+
return $C(i) || GC(i) || Iu(i) || WC();
|
|
32215
32220
|
}
|
|
32216
|
-
function
|
|
32221
|
+
function $C(i) {
|
|
32217
32222
|
if (Array.isArray(i))
|
|
32218
32223
|
return ru(i);
|
|
32219
32224
|
}
|
|
32220
|
-
function
|
|
32225
|
+
function jC(i) {
|
|
32221
32226
|
if (Array.isArray(i))
|
|
32222
32227
|
return i;
|
|
32223
32228
|
}
|
|
32224
|
-
function
|
|
32229
|
+
function GC(i) {
|
|
32225
32230
|
if (typeof Symbol < "u" && i[Symbol.iterator] != null || i["@@iterator"] != null)
|
|
32226
32231
|
return Array.from(i);
|
|
32227
32232
|
}
|
|
@@ -32242,15 +32247,15 @@ function ru(i, a) {
|
|
|
32242
32247
|
t[r] = i[r];
|
|
32243
32248
|
return t;
|
|
32244
32249
|
}
|
|
32245
|
-
function
|
|
32250
|
+
function WC() {
|
|
32246
32251
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
32247
32252
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
32248
32253
|
}
|
|
32249
|
-
function
|
|
32254
|
+
function KC() {
|
|
32250
32255
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
32251
32256
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
32252
32257
|
}
|
|
32253
|
-
function
|
|
32258
|
+
function YC(i, a) {
|
|
32254
32259
|
var r = typeof Symbol < "u" && i[Symbol.iterator] || i["@@iterator"];
|
|
32255
32260
|
if (!r) {
|
|
32256
32261
|
if (Array.isArray(i) || (r = Iu(i)) || a && i && typeof i.length == "number") {
|
|
@@ -32298,7 +32303,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
32298
32303
|
}
|
|
32299
32304
|
};
|
|
32300
32305
|
}
|
|
32301
|
-
function
|
|
32306
|
+
function XC(i, a) {
|
|
32302
32307
|
if (typeof i != "object" || i === null)
|
|
32303
32308
|
return i;
|
|
32304
32309
|
var r = i[Symbol.toPrimitive];
|
|
@@ -32311,7 +32316,7 @@ function YC(i, a) {
|
|
|
32311
32316
|
return (a === "string" ? String : Number)(i);
|
|
32312
32317
|
}
|
|
32313
32318
|
function Wd(i) {
|
|
32314
|
-
var a =
|
|
32319
|
+
var a = XC(i, "string");
|
|
32315
32320
|
return typeof a == "symbol" ? a : String(a);
|
|
32316
32321
|
}
|
|
32317
32322
|
var Qn = {
|
|
@@ -32445,18 +32450,18 @@ var Qn = {
|
|
|
32445
32450
|
isNonSyncSample: 0
|
|
32446
32451
|
}), ce(this, "keyframe", !0), this.originPts = this.pts = this.dts = a, this.data = r, this.size = r.byteLength, this.sampleOffset = e, t && (this.duration = t);
|
|
32447
32452
|
}
|
|
32448
|
-
),
|
|
32453
|
+
), JC = /* @__PURE__ */ Mt(
|
|
32449
32454
|
function i(a, r) {
|
|
32450
32455
|
Lt(this, i), ce(this, "time", 0), this.data = a, this.originPts = this.pts = r;
|
|
32451
32456
|
}
|
|
32452
|
-
),
|
|
32453
|
-
|
|
32454
|
-
var a =
|
|
32457
|
+
), QC = /* @__PURE__ */ function(i) {
|
|
32458
|
+
FC(r, i);
|
|
32459
|
+
var a = zC(r);
|
|
32455
32460
|
function r() {
|
|
32456
32461
|
return Lt(this, r), a.apply(this, arguments);
|
|
32457
32462
|
}
|
|
32458
32463
|
return Mt(r);
|
|
32459
|
-
}(
|
|
32464
|
+
}(JC), Xd = /* @__PURE__ */ function() {
|
|
32460
32465
|
function i() {
|
|
32461
32466
|
Lt(this, i), ce(this, "id", 3), ce(this, "type", Qn.METADATA), ce(this, "timescale", 0), ce(this, "flvScriptSamples", []), ce(this, "seiSamples", []);
|
|
32462
32467
|
}
|
|
@@ -32503,7 +32508,7 @@ var Qn = {
|
|
|
32503
32508
|
}]), i;
|
|
32504
32509
|
}();
|
|
32505
32510
|
ce(ns, "disabled", !0);
|
|
32506
|
-
var Cs = typeof window < "u", Lu = Cs && navigator.userAgent.toLocaleLowerCase(),
|
|
32511
|
+
var Cs = typeof window < "u", Lu = Cs && navigator.userAgent.toLocaleLowerCase(), ZC = Cs && /^((?!chrome|android).)*safari/.test(Lu), Jd = Cs && Lu.includes("firefox"), qC = Cs && Lu.includes("android"), kn = /* @__PURE__ */ function() {
|
|
32507
32512
|
function i() {
|
|
32508
32513
|
Lt(this, i);
|
|
32509
32514
|
}
|
|
@@ -32576,7 +32581,7 @@ var Cs = typeof window < "u", Lu = Cs && navigator.userAgent.toLocaleLowerCase()
|
|
|
32576
32581
|
key: "_getConfig",
|
|
32577
32582
|
value: function(r, t, e) {
|
|
32578
32583
|
var n = [], o, s;
|
|
32579
|
-
return Jd ? r >= 6 ? (o = 5, s = r - 3) : (o = 2, s = r) :
|
|
32584
|
+
return Jd ? r >= 6 ? (o = 5, s = r - 3) : (o = 2, s = r) : qC ? (o = 2, s = r) : (o = 5, s = r, r >= 6 ? s = r - 3 : t === 1 && (o = 2, s = r)), n[0] = o << 3, n[0] |= (r & 14) >> 1, n[1] = (r & 1) << 7, n[1] |= t << 3, o === 5 && (n[1] |= (s & 14) >> 1, n[2] = (s & 1) << 7, n[2] |= 2 << 2, n[3] = 0), {
|
|
32580
32585
|
config: n,
|
|
32581
32586
|
codec: "mp4a.40.".concat(o)
|
|
32582
32587
|
};
|
|
@@ -32623,12 +32628,12 @@ function $r() {
|
|
|
32623
32628
|
t.set(n, e), e += n.byteLength;
|
|
32624
32629
|
}), t;
|
|
32625
32630
|
}
|
|
32626
|
-
var
|
|
32631
|
+
var eT = Math.pow(2, 32);
|
|
32627
32632
|
function Ct(i) {
|
|
32628
32633
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
32629
32634
|
return (i[a] << 8) + (i[a + 1] || 0);
|
|
32630
32635
|
}
|
|
32631
|
-
function
|
|
32636
|
+
function tT(i) {
|
|
32632
32637
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
32633
32638
|
return (i[a] << 16) + (i[a + 1] << 8) + (i[a + 2] || 0);
|
|
32634
32639
|
}
|
|
@@ -32638,7 +32643,7 @@ function Te(i) {
|
|
|
32638
32643
|
}
|
|
32639
32644
|
function oi(i) {
|
|
32640
32645
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
32641
|
-
return Te(i, a) *
|
|
32646
|
+
return Te(i, a) * eT + Te(i, a + 4);
|
|
32642
32647
|
}
|
|
32643
32648
|
function Qd(i) {
|
|
32644
32649
|
for (var a = "avc1.", r, t = 0; t < 3; t++)
|
|
@@ -32658,7 +32663,7 @@ function C0(i) {
|
|
|
32658
32663
|
function fl(i, a) {
|
|
32659
32664
|
return Number(i + "." + a);
|
|
32660
32665
|
}
|
|
32661
|
-
function
|
|
32666
|
+
function rT(i) {
|
|
32662
32667
|
if (i.length < 5)
|
|
32663
32668
|
return 0;
|
|
32664
32669
|
var a = Math.hypot(i[0], i[3]), r = Math.hypot(i[1], i[4]);
|
|
@@ -32842,7 +32847,7 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
32842
32847
|
e !== 0 && (n = this.readEG(), e = (t + n + 256) % 256), t = e === 0 ? t : e;
|
|
32843
32848
|
}
|
|
32844
32849
|
}]), i;
|
|
32845
|
-
}(),
|
|
32850
|
+
}(), nT = /* @__PURE__ */ function() {
|
|
32846
32851
|
function i() {
|
|
32847
32852
|
Lt(this, i);
|
|
32848
32853
|
}
|
|
@@ -33071,9 +33076,9 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
33071
33076
|
s[c] !== 0 && (r.readBits(2), r.readBits(1), r.readBits(5), r.readBits(16), r.readBits(16), r.readBits(4), r.readBits(16), r.readBits(16), r.readBits(12)), l[c] !== 0 && r.readBits(8);
|
|
33072
33077
|
}
|
|
33073
33078
|
}]), i;
|
|
33074
|
-
}(),
|
|
33079
|
+
}(), iT = 9e4 / 2, x0 = 3, so = 9e4, dl = 5 * 9e4, hl = 9e4, aT = 9e4 / 2, oT = 9e4 * 5, sT = /* @__PURE__ */ function() {
|
|
33075
33080
|
function i(a, r, t, e) {
|
|
33076
|
-
Lt(this, i), this.videoTrack = a, this.audioTrack = r, this.metadataTrack = t, this._baseDts = -1, this._baseVideoDts = -1, this._baseAudioDts = -1, this._baseDtsInited = !1, this._audioNextPts = void 0, this._videoNextDts = void 0, this._audioTimestampBreak = !1, this._videoTimestampBreak = !1, this._lastAudioExceptionGapDot = 0, this._lastAudioExceptionOverlapDot = 0, this._lastAudioExceptionLargeGapDot = 0, this._needForceFixLargeGap = e == null ? void 0 : e.forceFixLargeGap, this._largeGapThreshold = (e == null ? void 0 : e.largeGapThreshold) ||
|
|
33081
|
+
Lt(this, i), this.videoTrack = a, this.audioTrack = r, this.metadataTrack = t, this._baseDts = -1, this._baseVideoDts = -1, this._baseAudioDts = -1, this._baseDtsInited = !1, this._audioNextPts = void 0, this._videoNextDts = void 0, this._audioTimestampBreak = !1, this._videoTimestampBreak = !1, this._lastAudioExceptionGapDot = 0, this._lastAudioExceptionOverlapDot = 0, this._lastAudioExceptionLargeGapDot = 0, this._needForceFixLargeGap = e == null ? void 0 : e.forceFixLargeGap, this._largeGapThreshold = (e == null ? void 0 : e.largeGapThreshold) || oT;
|
|
33077
33082
|
}
|
|
33078
33083
|
return Mt(i, [{
|
|
33079
33084
|
key: "fix",
|
|
@@ -33109,7 +33114,7 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
33109
33114
|
this._videoNextDts = n.dts;
|
|
33110
33115
|
}
|
|
33111
33116
|
var o = e.length, s = 0, l = e[0], u = e[1], c = this._videoNextDts - l.dts;
|
|
33112
|
-
if (Math.abs(c) >
|
|
33117
|
+
if (Math.abs(c) > aT) {
|
|
33113
33118
|
var f;
|
|
33114
33119
|
if (r.warnings.push({
|
|
33115
33120
|
type: Zr.LARGE_VIDEO_GAP_BETWEEN_CHUNK,
|
|
@@ -33183,7 +33188,7 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
33183
33188
|
var o = 1 / 0, s = 1 / 0;
|
|
33184
33189
|
e.length && (r.baseDts = o = e[0].pts, this._baseAudioDts = o), n.length && (t.baseDts = s = n[0].dts, this._baseVideoDts = s), this._baseDts = Math.min(o, s);
|
|
33185
33190
|
var l = s - o, u = !1;
|
|
33186
|
-
return Number.isFinite(l) && Math.abs(l) >
|
|
33191
|
+
return Number.isFinite(l) && Math.abs(l) > iT && t.warnings.push({
|
|
33187
33192
|
type: Zr.LARGE_AV_SHIFT,
|
|
33188
33193
|
videoBaseDts: s,
|
|
33189
33194
|
audioBasePts: o,
|
|
@@ -33212,7 +33217,7 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
33212
33217
|
}
|
|
33213
33218
|
for (var s = 0; s < t.length; s++) {
|
|
33214
33219
|
var l = this._audioNextPts, u = t[s], c = u.pts - l;
|
|
33215
|
-
if (!this._audioTimestampBreak && c >= x0 * n && c <= so && !
|
|
33220
|
+
if (!this._audioTimestampBreak && c >= x0 * n && c <= so && !ZC) {
|
|
33216
33221
|
var f = kn.getSilentFrame(r.codec, r.channelCount) || t[0].data.subarray(), d = Math.floor(c / n);
|
|
33217
33222
|
Math.abs(u.pts - this._lastAudioExceptionGapDot) > dl && (this._lastAudioExceptionGapDot = u.pts), r.warnings.push({
|
|
33218
33223
|
type: Zr.AUDIO_FILLED,
|
|
@@ -33246,7 +33251,7 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
33246
33251
|
}
|
|
33247
33252
|
}
|
|
33248
33253
|
}]), i;
|
|
33249
|
-
}(),
|
|
33254
|
+
}(), lT = [32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160], uT = [44100, 48e3, 32e3, 22050, 24e3, 16e3, 11025, 12e3, 8e3], cT = [
|
|
33250
33255
|
[
|
|
33251
33256
|
0,
|
|
33252
33257
|
72,
|
|
@@ -33271,7 +33276,7 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
33271
33276
|
144,
|
|
33272
33277
|
12
|
|
33273
33278
|
]
|
|
33274
|
-
],
|
|
33279
|
+
], fT = [
|
|
33275
33280
|
0,
|
|
33276
33281
|
1,
|
|
33277
33282
|
1,
|
|
@@ -33307,7 +33312,7 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
33307
33312
|
value: function(r, t) {
|
|
33308
33313
|
var e = r[t + 1] >> 3 & 3, n = r[t + 1] >> 1 & 3, o = r[t + 2] >> 4 & 15, s = r[t + 2] >> 2 & 3;
|
|
33309
33314
|
if (e !== 1 && o !== 0 && o !== 15 && s !== 3) {
|
|
33310
|
-
var l = r[t + 2] >> 1 & 1, u = r[t + 3] >> 6, c = e === 3 ? 3 - n : n === 3 ? 3 : 4, f =
|
|
33315
|
+
var l = r[t + 2] >> 1 & 1, u = r[t + 3] >> 6, c = e === 3 ? 3 - n : n === 3 ? 3 : 4, f = lT[c * 14 + o - 1] * 1e3, d = e === 3 ? 0 : e === 2 ? 1 : 2, h = uT[d * 3 + s], p = u === 3 ? 1 : 2, g = cT[e][n], v = fT[n], _ = g * 8 * v, w = Math.floor(g * f / h + l) * v;
|
|
33311
33316
|
if (lo === null) {
|
|
33312
33317
|
var y = navigator.userAgent || "", b = y.match(/Chrome\/(\d+)/i);
|
|
33313
33318
|
lo = b ? parseInt(b[1]) : 0;
|
|
@@ -33325,7 +33330,7 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
33325
33330
|
}(), Jr = new ns("TsDemuxer"), Zd = /* @__PURE__ */ function() {
|
|
33326
33331
|
function i(a, r, t) {
|
|
33327
33332
|
var e = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
33328
|
-
Lt(this, i), ce(this, "_pmtId", -1), ce(this, "_remainingPacketData", null), ce(this, "_videoPesData", []), ce(this, "_audioPesData", []), ce(this, "_gopId", 0), this.videoTrack = a || new Kd(), this.audioTrack = r || new Yd(), this.metadataTrack = t || new Xd(), this._fixer = new
|
|
33333
|
+
Lt(this, i), ce(this, "_pmtId", -1), ce(this, "_remainingPacketData", null), ce(this, "_videoPesData", []), ce(this, "_audioPesData", []), ce(this, "_gopId", 0), this.videoTrack = a || new Kd(), this.audioTrack = r || new Yd(), this.metadataTrack = t || new Xd(), this._fixer = new sT(this.videoTrack, this.audioTrack, this.metadataTrack, e);
|
|
33329
33334
|
}
|
|
33330
33335
|
return Mt(i, [{
|
|
33331
33336
|
key: "demux",
|
|
@@ -33451,7 +33456,7 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
33451
33456
|
case 40:
|
|
33452
33457
|
if (!s && c !== 6 || s && c === 6)
|
|
33453
33458
|
break;
|
|
33454
|
-
n.metadataTrack.seiSamples.push(new
|
|
33459
|
+
n.metadataTrack.seiSamples.push(new QC(Yn.parseSEI(Yn.removeEPB(u), s), t));
|
|
33455
33460
|
return;
|
|
33456
33461
|
case 32:
|
|
33457
33462
|
if (!s)
|
|
@@ -33466,7 +33471,7 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
33466
33471
|
if (!s && c !== 7 || s && c === 7)
|
|
33467
33472
|
break;
|
|
33468
33473
|
if (!o.sps.length) {
|
|
33469
|
-
var d = Yn.removeEPB(u), h = s ? T0.parseSPS(d, o.hvcC) :
|
|
33474
|
+
var d = Yn.removeEPB(u), h = s ? T0.parseSPS(d, o.hvcC) : nT.parseSPS(d);
|
|
33470
33475
|
o.sps = [u], o.hvcC = o.hvcC || h.hvcC, o.codec = h.codec, o.width = h.width, o.height = h.height, o.sarRatio = h.sarRatio, o.fpsNum = h.fpsNum, o.fpsDen = h.fpsDen;
|
|
33471
33476
|
}
|
|
33472
33477
|
break;
|
|
@@ -33723,7 +33728,7 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
33723
33728
|
return this.concatUint8s(t);
|
|
33724
33729
|
}
|
|
33725
33730
|
}]), i;
|
|
33726
|
-
}(),
|
|
33731
|
+
}(), dT = /* @__PURE__ */ function() {
|
|
33727
33732
|
function i(a, r) {
|
|
33728
33733
|
Lt(this, i), this.offset = 0, this.val = a, this.size = r;
|
|
33729
33734
|
}
|
|
@@ -33844,7 +33849,7 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
33844
33849
|
n.back(36);
|
|
33845
33850
|
for (var s = [], l = 0, u; l < 3; l++)
|
|
33846
33851
|
s.push(fl(n.readInt(2), n.readInt(2))), s.push(fl(n.readInt(2), n.readInt(2))), u = n.readInt(4), s.push(fl(u >> 30, u & 1073741823));
|
|
33847
|
-
t.rotation =
|
|
33852
|
+
t.rotation = rT(s), t.width = n.read(4), t.height = n.read(4);
|
|
33848
33853
|
});
|
|
33849
33854
|
}
|
|
33850
33855
|
}, {
|
|
@@ -34033,7 +34038,7 @@ var Yn = /* @__PURE__ */ function() {
|
|
|
34033
34038
|
value: function(r) {
|
|
34034
34039
|
return Ke(r, !1, function(t, e) {
|
|
34035
34040
|
t.data = r.data;
|
|
34036
|
-
var n = pl.fromUint8(e), o =
|
|
34041
|
+
var n = pl.fromUint8(e), o = dT.fromByte(n, 4);
|
|
34037
34042
|
t.marker = o.read(1), t.version = o.read(7), t.seqProfile = o.read(3), t.seqLevelIdx0 = o.read(5), t.seqTier0 = o.read(1), t.highBitdepth = o.read(1), t.twelveBit = o.read(1), t.monochrome = o.read(1), t.chromaSubsamplingX = o.read(1), t.chromaSubsamplingY = o.read(1), t.chromaSamplePosition = o.read(2), t.reserved = o.read(3), t.initialPresentationDelayPresent = o.read(1), t.initialPresentationDelayPresent ? t.initialPresentationDelayMinusOne = o.read(4) : t.initialPresentationDelayMinusOne = 0, t.configOBUs = n.readToUint8();
|
|
34038
34043
|
var s;
|
|
34039
34044
|
t.seqLevelIdx0 === 2 && t.highBitdepth === 1 ? s = t.twelveBit === 1 ? "12" : "10" : t.seqProfile <= 2 && (s = t.highBitdepth === 1 ? "10" : "08"), t.codec = ["av01", t.seqProfile, (t.seqLevelIdx0 < 10 ? "0" + t.seqLevelIdx0 : t.seqLevelIdx0) + (t.seqTier0 ? "H" : "M"), s].join(".");
|
|
@@ -34461,10 +34466,10 @@ function Ke(i, a, r) {
|
|
|
34461
34466
|
headerSize: i.headerSize,
|
|
34462
34467
|
type: i.type
|
|
34463
34468
|
};
|
|
34464
|
-
return a && (t.version = i.data[i.headerSize], t.flags =
|
|
34469
|
+
return a && (t.version = i.data[i.headerSize], t.flags = tT(i.data, i.headerSize + 1), t.headerSize += 4), r(t, i.data.subarray(t.headerSize), t.start + t.headerSize), t;
|
|
34465
34470
|
}
|
|
34466
34471
|
}
|
|
34467
|
-
var
|
|
34472
|
+
var hT = function(a, r, t) {
|
|
34468
34473
|
for (var e = String(t), n = r >> 0, o = Math.ceil(n / e.length), s = [], l = String(a); o--; )
|
|
34469
34474
|
s.push(e);
|
|
34470
34475
|
return s.join("").substring(0, n - l.length) + l;
|
|
@@ -34472,9 +34477,9 @@ var dT = function(a, r, t) {
|
|
|
34472
34477
|
for (var a = [], r = arguments.length, t = new Array(r), e = 0; e < r; e++)
|
|
34473
34478
|
t[e] = arguments[e];
|
|
34474
34479
|
return t.forEach(function(n) {
|
|
34475
|
-
a.push(
|
|
34480
|
+
a.push(hT(Number(n).toString(16), 2, 0));
|
|
34476
34481
|
}), a[0];
|
|
34477
|
-
},
|
|
34482
|
+
}, pT = /* @__PURE__ */ function() {
|
|
34478
34483
|
function i(a, r, t) {
|
|
34479
34484
|
Lt(this, i), ce(this, "__loadedMoofWraps", []), ce(this, "__lastRemainData", null), ce(this, "__lastRemainDataStart", 0), ce(this, "__nextMoofStart", -1), this.videoTrack = a || new Kd(), this.audioTrack = r || new Yd(), this.metadataTrack = t || new Xd();
|
|
34480
34485
|
}
|
|
@@ -34522,7 +34527,7 @@ var dT = function(a, r, t) {
|
|
|
34522
34527
|
return I.start - B.start;
|
|
34523
34528
|
});
|
|
34524
34529
|
});
|
|
34525
|
-
var y =
|
|
34530
|
+
var y = YC(this.__loadedMoofWraps), b;
|
|
34526
34531
|
try {
|
|
34527
34532
|
var T = function() {
|
|
34528
34533
|
var P = b.value;
|
|
@@ -34638,7 +34643,7 @@ var dT = function(a, r, t) {
|
|
|
34638
34643
|
}
|
|
34639
34644
|
}]), i;
|
|
34640
34645
|
}();
|
|
34641
|
-
function
|
|
34646
|
+
function vT(i) {
|
|
34642
34647
|
for (var a = 0, r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), e = 1; e < r; e++)
|
|
34643
34648
|
t[e - 1] = arguments[e];
|
|
34644
34649
|
t.forEach(function(s) {
|
|
@@ -34659,7 +34664,7 @@ var dr = /* @__PURE__ */ function() {
|
|
|
34659
34664
|
for (var r = this, t = arguments.length, e = new Array(t), n = 0; n < t; n++)
|
|
34660
34665
|
e[n] = arguments[n];
|
|
34661
34666
|
e.forEach(function(o) {
|
|
34662
|
-
o ? r.buffer =
|
|
34667
|
+
o ? r.buffer = vT(Uint8Array, r.buffer, o) : window.console.warn(o);
|
|
34663
34668
|
});
|
|
34664
34669
|
}
|
|
34665
34670
|
}], [{
|
|
@@ -35536,7 +35541,7 @@ var dr = /* @__PURE__ */ function() {
|
|
|
35536
35541
|
}, {
|
|
35537
35542
|
key: "pasp",
|
|
35538
35543
|
value: function(r) {
|
|
35539
|
-
var t =
|
|
35544
|
+
var t = UC(r, 2), e = t[0], n = t[1];
|
|
35540
35545
|
return i.box(i.types.pasp, new Uint8Array([e >> 24, e >> 16 & 255, e >> 8 & 255, e & 255, n >> 24, n >> 16 & 255, n >> 8 & 255, n & 255]));
|
|
35541
35546
|
}
|
|
35542
35547
|
}, {
|
|
@@ -36374,7 +36379,7 @@ var qd = /* @__PURE__ */ function() {
|
|
|
36374
36379
|
}]), i;
|
|
36375
36380
|
}();
|
|
36376
36381
|
ce(qd, "disabled", !0);
|
|
36377
|
-
var
|
|
36382
|
+
var gT = /* @__PURE__ */ function() {
|
|
36378
36383
|
function i(a, r, t) {
|
|
36379
36384
|
Lt(this, i), this.videoTrack = a, this.audioTrack = r;
|
|
36380
36385
|
var e = /Chrome\/([^.]+)/.exec(navigator.userAgent);
|
|
@@ -36444,7 +36449,7 @@ var vT = /* @__PURE__ */ function() {
|
|
|
36444
36449
|
this.videoTrack.reset(), this.audioTrack.reset();
|
|
36445
36450
|
}
|
|
36446
36451
|
}]), i;
|
|
36447
|
-
}(),
|
|
36452
|
+
}(), mT = /* @__PURE__ */ function() {
|
|
36448
36453
|
function i() {
|
|
36449
36454
|
Jt(this, i);
|
|
36450
36455
|
var a = window.crypto || window.msCrypto;
|
|
@@ -36553,7 +36558,7 @@ var vT = /* @__PURE__ */ function() {
|
|
|
36553
36558
|
APPEND_COST: "core.appendcost"
|
|
36554
36559
|
}), ml = new En("Transmuxer"), O0 = /* @__PURE__ */ function() {
|
|
36555
36560
|
function i(a, r, t, e) {
|
|
36556
|
-
Jt(this, i), G(this, "_initSegmentId", ""), this.hls = a, this._demuxer = r ? new
|
|
36561
|
+
Jt(this, i), G(this, "_initSegmentId", ""), this.hls = a, this._demuxer = r ? new pT() : new Zd(null, null, null, e), this._isMP4 = r, t && (this._remuxer = new gT(this._demuxer.videoTrack, this._demuxer.audioTrack));
|
|
36557
36562
|
}
|
|
36558
36563
|
return Qt(i, [{
|
|
36559
36564
|
key: "transmux",
|
|
@@ -36667,10 +36672,10 @@ var vT = /* @__PURE__ */ function() {
|
|
|
36667
36672
|
});
|
|
36668
36673
|
}
|
|
36669
36674
|
}]), i;
|
|
36670
|
-
}(),
|
|
36675
|
+
}(), yT = ["data"], _T = ["data"], I0 = new En("BufferService"), bT = /* @__PURE__ */ function() {
|
|
36671
36676
|
function i(a) {
|
|
36672
36677
|
var r = this;
|
|
36673
|
-
Jt(this, i), G(this, "_decryptor", new
|
|
36678
|
+
Jt(this, i), G(this, "_decryptor", new mT()), G(this, "_transmuxer", null), G(this, "_mse", null), G(this, "_softVideo", null), G(this, "_sourceCreated", !1), G(this, "_needInitSegment", !0), G(this, "_directAppend", !1), this.hls = a, a.config.softDecode ? this._softVideo = a.media : (this._mse = new wr(null, {
|
|
36674
36679
|
preferMMS: a.config.preferMMS
|
|
36675
36680
|
}), a.config.url && this._mse.bindMedia(a.media).then(function(t) {
|
|
36676
36681
|
r.hls.emit(Ne.MEDIASOURCE_OPENED, t);
|
|
@@ -36824,7 +36829,7 @@ var vT = /* @__PURE__ */ function() {
|
|
|
36824
36829
|
}
|
|
36825
36830
|
return y = !this._sourceCreated, y && this._createMseSource(_ == null ? void 0 : _.codec, w == null ? void 0 : w.codec, w == null ? void 0 : w.container), this._needInitSegment = !1, b = this._mse, T = [], p && !y && this._handleCodecChange(_, w).forEach(function(D) {
|
|
36826
36831
|
return T.push(D);
|
|
36827
|
-
}), _ && (L = _.data, C = Jl(_,
|
|
36832
|
+
}), _ && (L = _.data, C = Jl(_, yT), T.push(b.append(wr.VIDEO, L, C))), w && (P = w.data, I = Jl(w, _T), T.push(b.append(wr.AUDIO, P, I))), B = Promise.all(T), B.then(d), E.abrupt("return", B);
|
|
36828
36833
|
case 32:
|
|
36829
36834
|
case "end":
|
|
36830
36835
|
return E.stop();
|
|
@@ -37105,7 +37110,7 @@ var vT = /* @__PURE__ */ function() {
|
|
|
37105
37110
|
}
|
|
37106
37111
|
}]), i;
|
|
37107
37112
|
}();
|
|
37108
|
-
function
|
|
37113
|
+
function wT(i) {
|
|
37109
37114
|
var a = (i == null ? void 0 : i.media) || document.createElement("video");
|
|
37110
37115
|
return yt(yt({
|
|
37111
37116
|
maxPlaylistSize: 50,
|
|
@@ -37137,7 +37142,7 @@ function bT(i) {
|
|
|
37137
37142
|
media: a
|
|
37138
37143
|
});
|
|
37139
37144
|
}
|
|
37140
|
-
var
|
|
37145
|
+
var ST = /* @__PURE__ */ Qt(function i() {
|
|
37141
37146
|
Jt(this, i), G(this, "version", 0), G(this, "streams", []), G(this, "isMaster", !0);
|
|
37142
37147
|
}), eh = {
|
|
37143
37148
|
Audio: "AUDIO",
|
|
@@ -37157,7 +37162,7 @@ function th(i) {
|
|
|
37157
37162
|
}
|
|
37158
37163
|
var Mu = /* @__PURE__ */ Qt(function i() {
|
|
37159
37164
|
Jt(this, i), G(this, "id", 0), G(this, "url", ""), G(this, "default", !1), G(this, "autoSelect", !1), G(this, "forced", !1), G(this, "group", ""), G(this, "name", ""), G(this, "lang", ""), G(this, "segments", []), G(this, "endSN", 0);
|
|
37160
|
-
}),
|
|
37165
|
+
}), ET = /* @__PURE__ */ function(i) {
|
|
37161
37166
|
Ss(r, i);
|
|
37162
37167
|
var a = Es(r);
|
|
37163
37168
|
function r() {
|
|
@@ -37168,7 +37173,7 @@ var Mu = /* @__PURE__ */ Qt(function i() {
|
|
|
37168
37173
|
return t = a.call.apply(a, [this].concat(n)), G(qe(t), "mediaType", eh.Audio), G(qe(t), "channels", 0), t;
|
|
37169
37174
|
}
|
|
37170
37175
|
return Qt(r);
|
|
37171
|
-
}(Mu),
|
|
37176
|
+
}(Mu), CT = /* @__PURE__ */ function(i) {
|
|
37172
37177
|
Ss(r, i);
|
|
37173
37178
|
var a = Es(r);
|
|
37174
37179
|
function r() {
|
|
@@ -37179,9 +37184,9 @@ var Mu = /* @__PURE__ */ Qt(function i() {
|
|
|
37179
37184
|
return t = a.call.apply(a, [this].concat(n)), G(qe(t), "mediaType", eh.SubTitle), t;
|
|
37180
37185
|
}
|
|
37181
37186
|
return Qt(r);
|
|
37182
|
-
}(Mu),
|
|
37187
|
+
}(Mu), TT = /* @__PURE__ */ Qt(function i() {
|
|
37183
37188
|
Jt(this, i), G(this, "id", 0), G(this, "bitrate", 0), G(this, "width", 0), G(this, "height", 0), G(this, "name", ""), G(this, "url", ""), G(this, "audioCodec", ""), G(this, "videoCodec", ""), G(this, "textCodec", ""), G(this, "audioGroup", ""), G(this, "audioStreams", []), G(this, "subtitleStreams", []), G(this, "closedCaptionsStream", []);
|
|
37184
|
-
}),
|
|
37189
|
+
}), xT = /* @__PURE__ */ Qt(function i() {
|
|
37185
37190
|
Jt(this, i), G(this, "version", 0), G(this, "url", ""), G(this, "type", ""), G(this, "startCC", 0), G(this, "endCC", 0), G(this, "startSN", 0), G(this, "endSN", 0), G(this, "totalDuration", 0), G(this, "targetDuration", 0), G(this, "partTargetDuration", 0), G(this, "canSkipUntil", 0), G(this, "canSkipDateRanges", !1), G(this, "skippedSegments", 0), G(this, "canBlockReload", !1), G(this, "partHoldBack", 0), G(this, "live", !0), G(this, "lowLatency", !1), G(this, "endPartIndex", 0), G(this, "segments", []), G(this, "dateRanges", {}), G(this, "skippedSegments", 0);
|
|
37186
37191
|
}), co = /* @__PURE__ */ function() {
|
|
37187
37192
|
function i(a) {
|
|
@@ -37205,7 +37210,7 @@ var Mu = /* @__PURE__ */ Qt(function i() {
|
|
|
37205
37210
|
e.length === 1 && t && t.byteRange ? (this.byteRange[0] = t.byteRange[1] || 0, this.byteRange[0] && (this.byteRange[0] += 1)) : this.byteRange[0] = parseInt(e[1]), this.byteRange[1] = this.byteRange[0] + parseInt(e[0]) - 1;
|
|
37206
37211
|
}
|
|
37207
37212
|
}]), i;
|
|
37208
|
-
}(),
|
|
37213
|
+
}(), kT = /* @__PURE__ */ function() {
|
|
37209
37214
|
function i(a) {
|
|
37210
37215
|
Jt(this, i), G(this, "method", ""), G(this, "url", ""), G(this, "iv", null), G(this, "keyFormat", ""), G(this, "keyFormatVersions", ""), a instanceof i && (this.method = a.method, this.url = a.url, this.keyFormat = a.keyFormat, this.keyFormatVersions = a.keyFormatVersions, a.iv && (this.iv = new Uint8Array(a.iv)));
|
|
37211
37216
|
}
|
|
@@ -37245,7 +37250,7 @@ var Mu = /* @__PURE__ */ Qt(function i() {
|
|
|
37245
37250
|
return this.method ? this.isSegmentEncrypted() ? !0 : !!this.isValidKeySystem() : !1;
|
|
37246
37251
|
}
|
|
37247
37252
|
}]), i;
|
|
37248
|
-
}(),
|
|
37253
|
+
}(), AT = /* @__PURE__ */ function() {
|
|
37249
37254
|
function i(a, r, t) {
|
|
37250
37255
|
Jt(this, i), this.msn = a, this.part = r, this.skip = t;
|
|
37251
37256
|
}
|
|
@@ -37256,14 +37261,14 @@ var Mu = /* @__PURE__ */ Qt(function i() {
|
|
|
37256
37261
|
return this.msn !== void 0 && t.searchParams.set("_HLS_msn", this.msn.toString()), this.part && t.searchParams.set("_HLS_part", this.part.toString()), this.skip && t.searchParams.set("_HLS_skip", this.skip), t.href;
|
|
37257
37262
|
}
|
|
37258
37263
|
}]), i;
|
|
37259
|
-
}(),
|
|
37260
|
-
function
|
|
37264
|
+
}(), DT = /^#(EXT[^:]*)(?::(.*))?$/, L0 = /([^=]+)=(?:"([^"]*)"|([^",]*))(?:,|$)/g, PT = /^(?:[a-zA-Z0-9+\-.]+:)?\/\//, OT = /^((?:[a-zA-Z0-9+\-.]+:)?\/\/[^/?#]*)?([^?#]*\/)?/;
|
|
37265
|
+
function IT(i) {
|
|
37261
37266
|
return i.split(/[\r\n]/).map(function(a) {
|
|
37262
37267
|
return a.trim();
|
|
37263
37268
|
}).filter(Boolean);
|
|
37264
37269
|
}
|
|
37265
37270
|
function rh(i) {
|
|
37266
|
-
var a = i.match(
|
|
37271
|
+
var a = i.match(DT);
|
|
37267
37272
|
if (!(!a || !a[1]))
|
|
37268
37273
|
return [a[1].replace("EXT-X-", ""), a[2]];
|
|
37269
37274
|
}
|
|
@@ -37273,18 +37278,18 @@ function hn(i) {
|
|
|
37273
37278
|
return a;
|
|
37274
37279
|
}
|
|
37275
37280
|
function zi(i, a) {
|
|
37276
|
-
if (!a || !i ||
|
|
37281
|
+
if (!a || !i || PT.test(i))
|
|
37277
37282
|
return i;
|
|
37278
|
-
var r =
|
|
37283
|
+
var r = OT.exec(a);
|
|
37279
37284
|
return r ? i[0] === "/" ? r[1] + i : r[1] + r[2] + i : i;
|
|
37280
37285
|
}
|
|
37281
|
-
var
|
|
37286
|
+
var LT = {
|
|
37282
37287
|
audio: [/^mp4a/, /^vorbis$/, /^opus$/, /^flac$/, /^[ae]c-3$/],
|
|
37283
37288
|
video: [/^avc/, /^hev/, /^hvc/, /^vp0?[89]/, /^av1$/],
|
|
37284
37289
|
text: [/^vtt$/, /^wvtt/, /^stpp/]
|
|
37285
37290
|
};
|
|
37286
37291
|
function yl(i, a) {
|
|
37287
|
-
var r =
|
|
37292
|
+
var r = LT[i];
|
|
37288
37293
|
if (!(!r || !a || !a.length)) {
|
|
37289
37294
|
for (var t = 0; t < r.length; t++)
|
|
37290
37295
|
for (var e = 0; e < a.length; e++)
|
|
@@ -37292,7 +37297,7 @@ function yl(i, a) {
|
|
|
37292
37297
|
return a[e];
|
|
37293
37298
|
}
|
|
37294
37299
|
}
|
|
37295
|
-
function
|
|
37300
|
+
function MT(i, a) {
|
|
37296
37301
|
var r;
|
|
37297
37302
|
if (a) {
|
|
37298
37303
|
for (var t in a)
|
|
@@ -37303,20 +37308,20 @@ function LT(i, a) {
|
|
|
37303
37308
|
}
|
|
37304
37309
|
var e = null;
|
|
37305
37310
|
i.DURATION && (e = parseFloat(i.DURATION), Number.isFinite(e) ? i._endDate && (e = (i._endDate.getTime() - i._startDate.getTime()) / 1e3) : e = null);
|
|
37306
|
-
var n =
|
|
37311
|
+
var n = RT(i.CUE || i["X-CUE"], {
|
|
37307
37312
|
pre: !1,
|
|
37308
37313
|
post: !1,
|
|
37309
37314
|
once: !1
|
|
37310
37315
|
});
|
|
37311
37316
|
return !!i.ID && !r && Number.isFinite(i._startDate.getTime()) && (e === null || e >= 0) && (i.END_ON_NEXT !== "YES" || !!i.CLASS) && (!i.CUE || !n.pre && !n.post || n.pre !== n.post) && (i.CLASS !== "com.apple.hls.interstitial" || "X-ASSET-URI" in i || "X-ASSET-LIST" in i);
|
|
37312
37317
|
}
|
|
37313
|
-
function
|
|
37318
|
+
function RT(i, a) {
|
|
37314
37319
|
return (i ? i.split(/[ ,]+/) : []).reduce(function(r, t) {
|
|
37315
37320
|
return r[t.toLowerCase()] = !0, r;
|
|
37316
37321
|
}, a);
|
|
37317
37322
|
}
|
|
37318
|
-
function
|
|
37319
|
-
for (var r = new
|
|
37323
|
+
function BT(i, a) {
|
|
37324
|
+
for (var r = new ST(), t = 0, e, n = [], o = []; e = i[t++]; ) {
|
|
37320
37325
|
var s = rh(e);
|
|
37321
37326
|
if (!!s) {
|
|
37322
37327
|
var l = Mn(s, 2), u = l[0], c = l[1];
|
|
@@ -37326,17 +37331,17 @@ function RT(i, a) {
|
|
|
37326
37331
|
var f = hn(c), d = void 0;
|
|
37327
37332
|
switch (f.TYPE) {
|
|
37328
37333
|
case "AUDIO":
|
|
37329
|
-
d = new
|
|
37334
|
+
d = new ET();
|
|
37330
37335
|
break;
|
|
37331
37336
|
case "SUBTITLES":
|
|
37332
|
-
d = new
|
|
37337
|
+
d = new CT();
|
|
37333
37338
|
break;
|
|
37334
37339
|
default:
|
|
37335
37340
|
d = new Mu();
|
|
37336
37341
|
}
|
|
37337
37342
|
d.url = zi(f.URI, a), d.default = f.DEFAULT === "YES", d.autoSelect = f.AUTOSELECT === "YES", d.group = f["GROUP-ID"], d.name = f.NAME, d.lang = f.LANGUAGE, f.CHANNELS && (d.channels = Number(f.CHANNELS.split("/")[0]), Number.isNaN(d.channels) && (d.channels = 0)), f.TYPE === "AUDIO" && f.URI && n.push(d), f.TYPE === "SUBTITLES" && o.push(d);
|
|
37338
37343
|
} else if (u === "STREAM-INF" && c) {
|
|
37339
|
-
var h = new
|
|
37344
|
+
var h = new TT(), p = hn(c);
|
|
37340
37345
|
if (h.bitrate = parseInt(p["AVERAGE-BANDWIDTH"] || p.BANDWIDTH), h.name = p.NAME, h.url = zi(i[t++], a), p.RESOLUTION) {
|
|
37341
37346
|
var g = p.RESOLUTION.split("x"), v = Mn(g, 2), _ = v[0], w = v[1];
|
|
37342
37347
|
h.width = parseInt(_), h.height = parseInt(w);
|
|
@@ -37365,8 +37370,8 @@ function RT(i, a) {
|
|
|
37365
37370
|
}));
|
|
37366
37371
|
})), r;
|
|
37367
37372
|
}
|
|
37368
|
-
function
|
|
37369
|
-
var t = new
|
|
37373
|
+
function FT(i, a, r) {
|
|
37374
|
+
var t = new xT();
|
|
37370
37375
|
t.url = a;
|
|
37371
37376
|
for (var e = new co(a), n = null, o = null, s = 0, l = 0, u = 0, c = 0, f, d = !1, h = 0; f = i[c++]; ) {
|
|
37372
37377
|
if (f[0] !== "#") {
|
|
@@ -37455,7 +37460,7 @@ function BT(i, a, r) {
|
|
|
37455
37460
|
o = null;
|
|
37456
37461
|
break;
|
|
37457
37462
|
}
|
|
37458
|
-
if (o = new
|
|
37463
|
+
if (o = new kT(), o.method = F.METHOD, o.url = /^blob:/.test(F.URI) ? F.URI : zi(F.URI, a), o.keyFormat = F.KEYFORMAT || "identity", o.keyFormatVersions = F.KEYFORMATVERSIONS, !o.isSupported())
|
|
37459
37464
|
throw new Error("encrypt ".concat(F.METHOD, "/").concat(F.KEYFORMAT, " is not supported"));
|
|
37460
37465
|
if (F.IV) {
|
|
37461
37466
|
var E = F.IV.slice(2);
|
|
@@ -37482,7 +37487,7 @@ function BT(i, a, r) {
|
|
|
37482
37487
|
var H = hn(_), j = t.dateRanges[H.ID];
|
|
37483
37488
|
H._startDate = j ? j._startDate : new Date(H["START-DATE"]);
|
|
37484
37489
|
var J = (j == null ? void 0 : j._endDate) || new Date(H.END_DATE);
|
|
37485
|
-
Number.isFinite(J) && (H._endDate = J), (
|
|
37490
|
+
Number.isFinite(J) && (H._endDate = J), (MT(H, j) || t.skippedSegments) && (t.dateRanges[H.ID] = H);
|
|
37486
37491
|
}
|
|
37487
37492
|
break;
|
|
37488
37493
|
}
|
|
@@ -37504,8 +37509,8 @@ var fo = /* @__PURE__ */ function() {
|
|
|
37504
37509
|
var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 ? arguments[1] : void 0, e = arguments.length > 2 ? arguments[2] : void 0;
|
|
37505
37510
|
if (!r.includes("#EXTM3U"))
|
|
37506
37511
|
throw new Error("Invalid m3u8 file");
|
|
37507
|
-
var n =
|
|
37508
|
-
return i.isMediaPlaylist(r) ?
|
|
37512
|
+
var n = IT(r);
|
|
37513
|
+
return i.isMediaPlaylist(r) ? FT(n, t, e) : BT(n, t);
|
|
37509
37514
|
}
|
|
37510
37515
|
}, {
|
|
37511
37516
|
key: "isMediaPlaylist",
|
|
@@ -37513,7 +37518,7 @@ var fo = /* @__PURE__ */ function() {
|
|
|
37513
37518
|
return r.includes("#EXTINF:") || r.includes("#EXT-X-TARGETDURATION:");
|
|
37514
37519
|
}
|
|
37515
37520
|
}]), i;
|
|
37516
|
-
}(),
|
|
37521
|
+
}(), NT = /* @__PURE__ */ function() {
|
|
37517
37522
|
function i(a) {
|
|
37518
37523
|
var r = this;
|
|
37519
37524
|
Jt(this, i), G(this, "_emitOnLoaded", function(l, u) {
|
|
@@ -37595,7 +37600,7 @@ var fo = /* @__PURE__ */ function() {
|
|
|
37595
37600
|
case 35:
|
|
37596
37601
|
return C && (C.isMaster ? this.hls.emit(ft.HLS_MANIFEST_LOADED, {
|
|
37597
37602
|
playlist: C
|
|
37598
|
-
}) : (this._useLowLatency && (C.canBlockReload ? this.deliveryDirectives = new
|
|
37603
|
+
}) : (this._useLowLatency && (C.canBlockReload ? this.deliveryDirectives = new AT(C.nextSN, C.nextIndex, "") : this.deliveryDirectives = null), this.hls.emit(ft.HLS_LEVEL_LOADED, {
|
|
37599
37604
|
playlist: C
|
|
37600
37605
|
}))), E.abrupt("return", [C, P, I]);
|
|
37601
37606
|
case 37:
|
|
@@ -37818,7 +37823,7 @@ var _l = new En("playlist"), M0 = /* @__PURE__ */ function() {
|
|
|
37818
37823
|
t.segments = r.segments;
|
|
37819
37824
|
}
|
|
37820
37825
|
}]), i;
|
|
37821
|
-
}(),
|
|
37826
|
+
}(), HT = /* @__PURE__ */ function() {
|
|
37822
37827
|
function i(a) {
|
|
37823
37828
|
Jt(this, i), G(this, "streams", []), G(this, "currentStream", null), G(this, "dvrWindow", 0), G(this, "_segmentPointer", -1), this.hls = a;
|
|
37824
37829
|
}
|
|
@@ -38043,7 +38048,7 @@ var _l = new En("playlist"), M0 = /* @__PURE__ */ function() {
|
|
|
38043
38048
|
}
|
|
38044
38049
|
}
|
|
38045
38050
|
}]), i;
|
|
38046
|
-
}(),
|
|
38051
|
+
}(), VT = /* @__PURE__ */ function() {
|
|
38047
38052
|
function i(a) {
|
|
38048
38053
|
var r = this;
|
|
38049
38054
|
Jt(this, i), G(this, "error", null), G(this, "_emitOnLoaded", function(l, u) {
|
|
@@ -38068,7 +38073,7 @@ var _l = new En("playlist"), M0 = /* @__PURE__ */ function() {
|
|
|
38068
38073
|
error: Ot.network(l),
|
|
38069
38074
|
retryTime: u
|
|
38070
38075
|
});
|
|
38071
|
-
}), this.hls = a, this._bandwidthService = new
|
|
38076
|
+
}), this.hls = a, this._bandwidthService = new MC(), this._mapCache = {}, this._keyCache = {};
|
|
38072
38077
|
var t = this.hls.config, e = t.retryCount, n = t.retryDelay, o = t.loadTimeout, s = t.fetchOptions;
|
|
38073
38078
|
this._segmentLoader = new $i(yt(yt({}, s), {}, {
|
|
38074
38079
|
responseType: "arraybuffer",
|
|
@@ -38364,9 +38369,9 @@ var _l = new En("playlist"), M0 = /* @__PURE__ */ function() {
|
|
|
38364
38369
|
(!n.readyState || e.bufferInfo(s).remaining < 1) && (o.fatal = !0, e._emitError(Ot.network(o)));
|
|
38365
38370
|
return;
|
|
38366
38371
|
}
|
|
38367
|
-
n.readyState && (
|
|
38372
|
+
n.readyState && (TC(n) ? (e._loadSegment(), e._gapService && e._gapService.do(n, e.config.maxJumpDistance, e.isLive)) : n.readyState < 2 && e._gapService && e._gapService.do(n, e.config.maxJumpDistance, n.currentTime ? e.isLive : !0)), e.isLive || e._tryEos();
|
|
38368
38373
|
}
|
|
38369
|
-
}), e.config = t =
|
|
38374
|
+
}), e.config = t = wT(t), e.media = e.config.media, e._manifestLoader = new NT(qe(e)), e._segmentLoader = new VT(qe(e)), e._playlist = new HT(qe(e)), e._bufferService = new bT(qe(e)), t.seiInTime && (e._seiService = new DC(qe(e))), t.softDecode || (e._gapService = new AC()), e._stats = new RC(qe(e), 9e4), e.media.addEventListener("loadeddata", e._onLoadeddata), e.media.addEventListener("play", e._onPlay), e.media.addEventListener("pause", e._onPause), e.media.addEventListener("seeking", e._onSeeking), e.media.addEventListener("timeupdate", e._onTimeupdate), e;
|
|
38370
38375
|
}
|
|
38371
38376
|
return Qt(r, [{
|
|
38372
38377
|
key: "isLive",
|
|
@@ -38424,7 +38429,7 @@ var _l = new En("playlist"), M0 = /* @__PURE__ */ function() {
|
|
|
38424
38429
|
}, {
|
|
38425
38430
|
key: "playbackQuality",
|
|
38426
38431
|
value: function() {
|
|
38427
|
-
return
|
|
38432
|
+
return xC(this.media);
|
|
38428
38433
|
}
|
|
38429
38434
|
}, {
|
|
38430
38435
|
key: "load",
|
|
@@ -38986,7 +38991,7 @@ var _l = new En("playlist"), M0 = /* @__PURE__ */ function() {
|
|
|
38986
38991
|
}
|
|
38987
38992
|
return b.abrupt("return");
|
|
38988
38993
|
case 16:
|
|
38989
|
-
return b.next = 18, (l = this._bufferService).decryptBuffer.apply(l,
|
|
38994
|
+
return b.next = 18, (l = this._bufferService).decryptBuffer.apply(l, ZE(f));
|
|
38990
38995
|
case 18:
|
|
38991
38996
|
if (d = b.sent, d) {
|
|
38992
38997
|
b.next = 21;
|
|
@@ -39182,7 +39187,7 @@ try {
|
|
|
39182
39187
|
localStorage.getItem("xgd") ? Wi.enableLogger() : Wi.disableLogger();
|
|
39183
39188
|
} catch {
|
|
39184
39189
|
}
|
|
39185
|
-
var
|
|
39190
|
+
var zT = /* @__PURE__ */ function() {
|
|
39186
39191
|
function i(a, r) {
|
|
39187
39192
|
var t = this;
|
|
39188
39193
|
Jt(this, i), G(this, "_opts", null), G(this, "_plugin", null), G(this, "_onLowDecode", function() {
|
|
@@ -39232,8 +39237,8 @@ var VT = /* @__PURE__ */ function() {
|
|
|
39232
39237
|
(r = this._opts) === null || r === void 0 || (t = r.media) === null || t === void 0 || t.removeEventListener("lowdecode", this._onLowDecode), this._plugin = null;
|
|
39233
39238
|
}
|
|
39234
39239
|
}]), i;
|
|
39235
|
-
}(),
|
|
39236
|
-
function
|
|
39240
|
+
}(), UT = ["currentTime"];
|
|
39241
|
+
function $T(i, a) {
|
|
39237
39242
|
var r = a.player, t = r.currentTime, e = {
|
|
39238
39243
|
startTime: t
|
|
39239
39244
|
};
|
|
@@ -39242,7 +39247,7 @@ function UT(i, a) {
|
|
|
39242
39247
|
e.seamless = i;
|
|
39243
39248
|
break;
|
|
39244
39249
|
case "object": {
|
|
39245
|
-
var n = i.currentTime, o = Jl(i,
|
|
39250
|
+
var n = i.currentTime, o = Jl(i, UT);
|
|
39246
39251
|
Object.assign(e, o), typeof n == "number" && (e.startTime = n);
|
|
39247
39252
|
break;
|
|
39248
39253
|
}
|
|
@@ -39298,7 +39303,7 @@ var Ru = /* @__PURE__ */ function(i) {
|
|
|
39298
39303
|
return new Promise(function(h, p) {
|
|
39299
39304
|
var g = e.player, v = e.hls;
|
|
39300
39305
|
if (v) {
|
|
39301
|
-
var _, w, y =
|
|
39306
|
+
var _, w, y = $T(d, e);
|
|
39302
39307
|
g.config.url = f, v.switchURL(f, y).then(function() {
|
|
39303
39308
|
return h(!0);
|
|
39304
39309
|
}).catch(p), !y.seamless && (_ = e.player.config) !== null && _ !== void 0 && (w = _.hls) !== null && w !== void 0 && w.keepStatusAfterSwitch && e._keepPauseStatus();
|
|
@@ -39321,7 +39326,7 @@ var Ru = /* @__PURE__ */ function(i) {
|
|
|
39321
39326
|
},
|
|
39322
39327
|
configurable: !0
|
|
39323
39328
|
}
|
|
39324
|
-
}), this.softDecode && (this.pluginExtension = new
|
|
39329
|
+
}), this.softDecode && (this.pluginExtension = new zT(yt({
|
|
39325
39330
|
isLive: n.isLive,
|
|
39326
39331
|
media: o
|
|
39327
39332
|
}, s), this), this.player.forceDegradeToVideo = function() {
|
|
@@ -39395,16 +39400,16 @@ var Ru = /* @__PURE__ */ function(i) {
|
|
|
39395
39400
|
}(Sn);
|
|
39396
39401
|
G(Ru, "Hls", Wi);
|
|
39397
39402
|
G(Ru, "EVENT", ft);
|
|
39398
|
-
const
|
|
39403
|
+
const jT = { class: "video-container" }, GT = {
|
|
39399
39404
|
key: 0,
|
|
39400
39405
|
class: "video-list"
|
|
39401
|
-
},
|
|
39406
|
+
}, WT = ["onClick"], KT = { class: "video-item-title" }, YT = { class: "video-player" }, XT = { key: 0 }, JT = { class: "dialog-footer" }, QT = {
|
|
39402
39407
|
key: 0,
|
|
39403
39408
|
class: "video-controls"
|
|
39404
|
-
},
|
|
39409
|
+
}, ZT = { class: "video-counter" }, qT = {
|
|
39405
39410
|
key: 1,
|
|
39406
39411
|
class: "spacer"
|
|
39407
|
-
},
|
|
39412
|
+
}, ex = /* @__PURE__ */ O({
|
|
39408
39413
|
__name: "index",
|
|
39409
39414
|
props: {
|
|
39410
39415
|
isLive: { type: Boolean, default: !0 },
|
|
@@ -39557,8 +39562,8 @@ const $T = { class: "video-container" }, jT = {
|
|
|
39557
39562
|
"destroy-on-close": ""
|
|
39558
39563
|
}, {
|
|
39559
39564
|
footer: U(() => [
|
|
39560
|
-
S("div",
|
|
39561
|
-
c.value && c.value.length > 1 ? (m(), x("div",
|
|
39565
|
+
S("div", JT, [
|
|
39566
|
+
c.value && c.value.length > 1 ? (m(), x("div", QT, [
|
|
39562
39567
|
ve(C, {
|
|
39563
39568
|
onClick: w,
|
|
39564
39569
|
disabled: c.value.length <= 1
|
|
@@ -39568,7 +39573,7 @@ const $T = { class: "video-container" }, jT = {
|
|
|
39568
39573
|
])),
|
|
39569
39574
|
_: 1
|
|
39570
39575
|
}, 8, ["disabled"]),
|
|
39571
|
-
S("span",
|
|
39576
|
+
S("span", ZT, Ce(f.value + 1) + "/" + Ce(c.value.length), 1),
|
|
39572
39577
|
ve(C, {
|
|
39573
39578
|
onClick: _,
|
|
39574
39579
|
disabled: c.value.length <= 1
|
|
@@ -39578,7 +39583,7 @@ const $T = { class: "video-container" }, jT = {
|
|
|
39578
39583
|
])),
|
|
39579
39584
|
_: 1
|
|
39580
39585
|
}, 8, ["disabled"])
|
|
39581
|
-
])) : (m(), x("div",
|
|
39586
|
+
])) : (m(), x("div", qT)),
|
|
39582
39587
|
ve(C, { onClick: v }, {
|
|
39583
39588
|
default: U(() => b[6] || (b[6] = [
|
|
39584
39589
|
Oe("\u5173\u95ED")
|
|
@@ -39593,8 +39598,8 @@ const $T = { class: "video-container" }, jT = {
|
|
|
39593
39598
|
class: "video-card"
|
|
39594
39599
|
}, {
|
|
39595
39600
|
default: U(() => [
|
|
39596
|
-
S("div",
|
|
39597
|
-
c.value && c.value.length > 1 ? (m(), x("div",
|
|
39601
|
+
S("div", jT, [
|
|
39602
|
+
c.value && c.value.length > 1 ? (m(), x("div", GT, [
|
|
39598
39603
|
b[1] || (b[1] = S("div", { class: "list-title" }, "\u64AD\u653E\u5217\u8868", -1)),
|
|
39599
39604
|
ve(T, { height: "calc(100% - 40px)" }, {
|
|
39600
39605
|
default: U(() => [
|
|
@@ -39603,13 +39608,13 @@ const $T = { class: "video-container" }, jT = {
|
|
|
39603
39608
|
class: Tr(["video-item", { active: B === f.value }]),
|
|
39604
39609
|
onClick: (F) => p(B)
|
|
39605
39610
|
}, [
|
|
39606
|
-
S("div",
|
|
39607
|
-
], 10,
|
|
39611
|
+
S("div", KT, Ce(d(I, B)), 1)
|
|
39612
|
+
], 10, WT))), 128))
|
|
39608
39613
|
]),
|
|
39609
39614
|
_: 1
|
|
39610
39615
|
})
|
|
39611
39616
|
])) : ee("", !0),
|
|
39612
|
-
S("div",
|
|
39617
|
+
S("div", YT, [
|
|
39613
39618
|
b[2] || (b[2] = S("div", {
|
|
39614
39619
|
class: "prism-player",
|
|
39615
39620
|
id: "player-con"
|
|
@@ -39620,7 +39625,7 @@ const $T = { class: "video-container" }, jT = {
|
|
|
39620
39625
|
ref: l
|
|
39621
39626
|
}, null, 512),
|
|
39622
39627
|
b[3] || (b[3] = S("div", { id: "mse" }, null, -1)),
|
|
39623
|
-
!c.value || c.value.length === 0 ? (m(), x("p",
|
|
39628
|
+
!c.value || c.value.length === 0 ? (m(), x("p", XT, Ce(o.value), 1)) : ee("", !0)
|
|
39624
39629
|
])
|
|
39625
39630
|
])
|
|
39626
39631
|
]),
|
|
@@ -39632,7 +39637,7 @@ const $T = { class: "video-container" }, jT = {
|
|
|
39632
39637
|
};
|
|
39633
39638
|
}
|
|
39634
39639
|
});
|
|
39635
|
-
const
|
|
39640
|
+
const tx = /* @__PURE__ */ rr(ex, [["__scopeId", "data-v-ff2620d5"]]), rx = xt(tx), nx = {
|
|
39636
39641
|
TLayoutPage: C5,
|
|
39637
39642
|
TLayoutPageItem: x5,
|
|
39638
39643
|
TQueryCondition: R5,
|
|
@@ -39655,13 +39660,13 @@ const ex = /* @__PURE__ */ rr(qT, [["__scopeId", "data-v-ff2620d5"]]), tx = xt(e
|
|
|
39655
39660
|
TInput: fS,
|
|
39656
39661
|
PgzCheckbox: pS,
|
|
39657
39662
|
PgzHtmlPreviewModal: _S,
|
|
39658
|
-
PgzSearchSelect:
|
|
39659
|
-
PgzTdtMark:
|
|
39660
|
-
PgzVideoXgModal:
|
|
39661
|
-
PgzTdtPloygon:
|
|
39662
|
-
},
|
|
39663
|
+
PgzSearchSelect: xS,
|
|
39664
|
+
PgzTdtMark: MS,
|
|
39665
|
+
PgzVideoXgModal: rx,
|
|
39666
|
+
PgzTdtPloygon: $S
|
|
39667
|
+
}, ix = {
|
|
39663
39668
|
install(i) {
|
|
39664
|
-
Object.entries(
|
|
39669
|
+
Object.entries(nx).forEach(([a, r]) => {
|
|
39665
39670
|
i.component(a, r);
|
|
39666
39671
|
});
|
|
39667
39672
|
}
|
|
@@ -39670,19 +39675,19 @@ if (typeof window < "u" && window.Vue) {
|
|
|
39670
39675
|
const i = window.Vue, a = i.createApp;
|
|
39671
39676
|
i.createApp = function(...r) {
|
|
39672
39677
|
const t = a.apply(this, r);
|
|
39673
|
-
return
|
|
39678
|
+
return ix.install(t), window.ElementPlus && t.use(window.ElementPlus), t;
|
|
39674
39679
|
};
|
|
39675
39680
|
}
|
|
39676
|
-
function
|
|
39681
|
+
function cx(i) {
|
|
39677
39682
|
typeof window < "u" && (window.pgzHttpConfig = window.pgzHttpConfig || {}, window.pgzHttpConfig.clientId = i);
|
|
39678
39683
|
}
|
|
39679
39684
|
export {
|
|
39680
39685
|
pS as PgzCheckbox,
|
|
39681
39686
|
_S as PgzHtmlPreviewModal,
|
|
39682
|
-
|
|
39683
|
-
|
|
39684
|
-
|
|
39685
|
-
|
|
39687
|
+
xS as PgzSearchSelect,
|
|
39688
|
+
MS as PgzTdtMark,
|
|
39689
|
+
$S as PgzTdtPloygon,
|
|
39690
|
+
rx as PgzVideoXgModal,
|
|
39686
39691
|
Vw as TAdaptivePage,
|
|
39687
39692
|
sw as TButton,
|
|
39688
39693
|
Qw as TChart,
|
|
@@ -39704,9 +39709,9 @@ export {
|
|
|
39704
39709
|
tS as TTabs,
|
|
39705
39710
|
ww as TTimerBtn,
|
|
39706
39711
|
dc as debounce,
|
|
39707
|
-
|
|
39708
|
-
|
|
39709
|
-
|
|
39710
|
-
|
|
39711
|
-
|
|
39712
|
+
ix as default,
|
|
39713
|
+
ux as formatNumber,
|
|
39714
|
+
cx as setupClientId,
|
|
39715
|
+
sx as setupHttp,
|
|
39716
|
+
lx as throttle
|
|
39712
39717
|
};
|