iking-web-ui-pro 0.2.43 → 0.2.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IKPreviewFile/ik.index.es.js +352 -354
- package/dist/IKPreviewFile/ik.index.umd.js +44 -44
- package/dist/IKSearch/ik.index.es.js +111 -109
- package/dist/IKSearch/ik.index.umd.js +2 -2
- package/dist/IkApprovalProcess/ik.index.es.js +167 -158
- package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +359 -361
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +44 -44
- package/dist/IkCalendar/ik.index.es.js +355 -353
- package/dist/IkCalendar/ik.index.umd.js +1 -1
- package/dist/IkDescription/ik.index.es.js +299 -301
- package/dist/IkDescription/ik.index.umd.js +44 -44
- package/dist/IkDetailPreviewFiles/ik.index.es.js +307 -309
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +44 -44
- package/dist/IkOnlyOffice/ik.index.es.js +13 -19
- package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
- package/dist/IkPageFull/ik.index.es.js +154 -152
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPickerUser/ik.index.es.js +119 -117
- package/dist/IkPickerUser/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +343 -345
- package/dist/IkPreviewFileDialog/ik.index.umd.js +44 -44
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +77 -78
- package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
- package/dist/IkTinymce/ik.index.es.js +8803 -8741
- package/dist/IkTinymce/ik.index.umd.js +38 -38
- package/dist/IkTinymce/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +333 -335
- package/dist/IkUploadFile/ik.index.umd.js +46 -46
- package/dist/index.es.js +6738 -6729
- package/dist/index.umd.js +106 -106
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/IkOnlyOffice/style.css +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as te, openBlock as T, createElementBlock as I, createElementVNode as E, computed as se, inject as gt, mergeModels as ft, useModel as
|
|
1
|
+
import { defineComponent as te, openBlock as T, createElementBlock as I, createElementVNode as E, computed as se, inject as gt, mergeModels as ft, useModel as Ut, ref as ve, reactive as hr, watch as yt, nextTick as _t, Fragment as Re, createBlock as ne, unref as k, createCommentVNode as Z, createVNode as B, withCtx as Y, resolveComponent as xt, normalizeClass as ee, normalizeStyle as Le, createTextVNode as qe, toDisplayString as _e, h as dr, mergeProps as fi, createSlots as Sn, renderSlot as De, getCurrentScope as gr, onScopeDispose as pr, markRaw as Oi, effectScope as vr, shallowRef as mr, onMounted as yr, Teleport as An, Transition as xn, withModifiers as vt, resolveDynamicComponent as _r, renderList as In, withDirectives as kr, vShow as Cr, pushScopeId as wr, popScopeId as br } from "vue";
|
|
2
2
|
import { useLocale as Tr, useNamespace as Pn, useZIndex as Er, ElIcon as ke, EVENT_CODE as it, ElUpload as Mi, ElButton as Sr, ElProgress as Fi, ElTooltip as Ni, ElMessage as Yt } from "element-plus";
|
|
3
3
|
import { buildUUID as Ln, ikColor as Ar, paramType as Bi, _ as Xt, ikFile as xr } from "iking-utils-pro";
|
|
4
4
|
import Ir from "axios";
|
|
@@ -808,12 +808,12 @@ const ue = (a, o) => {
|
|
|
808
808
|
const o = a, r = se(() => o.file ? ue(o.file, o.fields) : o.type);
|
|
809
809
|
return (t, e) => r.value === "image" ? (T(), I("svg", ns, ls)) : r.value === "zip" ? (T(), I("svg", us, hs)) : r.value === "ppt" ? (T(), I("svg", ds, vs)) : r.value === "word" ? (T(), I("svg", ms, ks)) : r.value === "pdf" ? (T(), I("svg", Cs, Ts)) : r.value === "txt" ? (T(), I("svg", Es, xs)) : r.value === "audio" ? (T(), I("svg", Is, Ds)) : r.value === "video" ? (T(), I("svg", Rs, Fs)) : r.value === "excel" ? (T(), I("svg", Ns, zs)) : r.value === "exe" ? (T(), I("svg", Vs, Ks)) : r.value === "json" ? (T(), I("svg", Ys, Js)) : (T(), I("svg", Qs, na));
|
|
810
810
|
}
|
|
811
|
-
}), zi = Ge(ra),
|
|
811
|
+
}), zi = Ge(ra), zt = (a, o) => {
|
|
812
812
|
const r = a.__vccOpts || a;
|
|
813
813
|
for (const [t, e] of o)
|
|
814
814
|
r[t] = e;
|
|
815
815
|
return r;
|
|
816
|
-
}, qt = (a) => a % 1 === 0 ? a.toString() : a.toFixed(2),
|
|
816
|
+
}, qt = (a) => a % 1 === 0 ? a.toString() : a.toFixed(2), It = (a, o) => o ? o.startsWith("http") ? o : `${a || location.origin}${o}` : "", Vi = [
|
|
817
817
|
"csv",
|
|
818
818
|
"djvu",
|
|
819
819
|
"doc",
|
|
@@ -915,7 +915,7 @@ const ue = (a, o) => {
|
|
|
915
915
|
}),
|
|
916
916
|
emits: ["update:show"],
|
|
917
917
|
setup(a) {
|
|
918
|
-
const o = a, r =
|
|
918
|
+
const o = a, r = Ut(a, "show"), t = se(() => ({
|
|
919
919
|
name: "name",
|
|
920
920
|
url: "url",
|
|
921
921
|
suffix: "suffix",
|
|
@@ -929,11 +929,10 @@ const ue = (a, o) => {
|
|
|
929
929
|
var c, h, d, g, p, m, y;
|
|
930
930
|
try {
|
|
931
931
|
const w = ((c = u == null ? void 0 : u.response) == null ? void 0 : c.data) || u, A = w[t.value.url] || (w == null ? void 0 : w.id) || w.attachmentId, b = (h = w[t.value.suffix] || w.attachmentSuffix) == null ? void 0 : h.toLowerCase(), W = w[t.value.name] || (w == null ? void 0 : w.attachmentName) || (w == null ? void 0 : w.originName);
|
|
932
|
-
debugger;
|
|
933
932
|
if (i.value = {
|
|
934
933
|
...u,
|
|
935
934
|
name: u[t.value.name],
|
|
936
|
-
url:
|
|
935
|
+
url: It(o.loadUrl, A)
|
|
937
936
|
}, u && ue(u, t.value) === "image") {
|
|
938
937
|
n.image = !0;
|
|
939
938
|
return;
|
|
@@ -955,7 +954,7 @@ const ue = (a, o) => {
|
|
|
955
954
|
document: {
|
|
956
955
|
key: Ln(),
|
|
957
956
|
title: W,
|
|
958
|
-
url:
|
|
957
|
+
url: It(o.loadUrl, A),
|
|
959
958
|
fileType: b,
|
|
960
959
|
...((y = o.onlyOfficeConfig) == null ? void 0 : y.document) || {}
|
|
961
960
|
},
|
|
@@ -982,7 +981,7 @@ const ue = (a, o) => {
|
|
|
982
981
|
Re,
|
|
983
982
|
{ key: 0 },
|
|
984
983
|
[
|
|
985
|
-
(h = i.value) != null && h.url && n.image ? (T(), ne(k(
|
|
984
|
+
(h = i.value) != null && h.url && n.image ? (T(), ne(k(Ga), {
|
|
986
985
|
key: 0,
|
|
987
986
|
onClose: c[0] || (c[0] = (p) => l()),
|
|
988
987
|
ref: "previewImgRef",
|
|
@@ -990,9 +989,9 @@ const ue = (a, o) => {
|
|
|
990
989
|
teleported: "",
|
|
991
990
|
"z-index": 9999
|
|
992
991
|
}, null, 8, ["url-list"])) : Z("v-if", !0),
|
|
993
|
-
Z('
|
|
992
|
+
Z(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
994
993
|
Z(" 文档类 "),
|
|
995
|
-
B(k(
|
|
994
|
+
B(k(lu), {
|
|
996
995
|
modelValue: n.video,
|
|
997
996
|
"onUpdate:modelValue": c[1] || (c[1] = (p) => n.video = p),
|
|
998
997
|
url: (g = i.value) == null ? void 0 : g.url
|
|
@@ -1015,7 +1014,7 @@ const ue = (a, o) => {
|
|
|
1015
1014
|
default: Y(() => {
|
|
1016
1015
|
var p;
|
|
1017
1016
|
return [
|
|
1018
|
-
B(k(
|
|
1017
|
+
B(k(Ia), {
|
|
1019
1018
|
"config-options": e.value,
|
|
1020
1019
|
"document-server-url": ((p = a.onlyOfficeConfig) == null ? void 0 : p.serverUrl) || a.onlyofficeServer
|
|
1021
1020
|
}, null, 8, ["config-options", "document-server-url"])
|
|
@@ -1101,7 +1100,7 @@ const oa = Ge(aa), la = {
|
|
|
1101
1100
|
return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
|
|
1102
1101
|
});
|
|
1103
1102
|
return (i, n) => {
|
|
1104
|
-
const s =
|
|
1103
|
+
const s = xt("el-tooltip"), l = xt("el-button");
|
|
1105
1104
|
return r.value.tableIconType === "icon" || !r.value.tableIconType ? (T(), I("span", la, [
|
|
1106
1105
|
r.value.notip || !r.value.title ? (T(), I(
|
|
1107
1106
|
"i",
|
|
@@ -1234,7 +1233,7 @@ const oa = Ge(aa), la = {
|
|
|
1234
1233
|
};
|
|
1235
1234
|
}
|
|
1236
1235
|
});
|
|
1237
|
-
const va = /* @__PURE__ */
|
|
1236
|
+
const va = /* @__PURE__ */ zt(pa, [["__scopeId", "data-v-52806adf"]]), ye = Ge(va), ma = /* @__PURE__ */ te({
|
|
1238
1237
|
__name: "CloseIcon",
|
|
1239
1238
|
props: {
|
|
1240
1239
|
showBg: {
|
|
@@ -1265,7 +1264,7 @@ const va = /* @__PURE__ */ Ct(pa, [["__scopeId", "data-v-52806adf"]]), ye = Ge(v
|
|
|
1265
1264
|
));
|
|
1266
1265
|
}
|
|
1267
1266
|
});
|
|
1268
|
-
const ya = /* @__PURE__ */
|
|
1267
|
+
const ya = /* @__PURE__ */ zt(ma, [["__scopeId", "data-v-da39e979"]]), _a = { class: "base-header" }, ka = /* @__PURE__ */ te({
|
|
1269
1268
|
__name: "IkBaseDialog",
|
|
1270
1269
|
props: /* @__PURE__ */ ft({
|
|
1271
1270
|
title: { default: "" },
|
|
@@ -1286,7 +1285,7 @@ const ya = /* @__PURE__ */ Ct(ma, [["__scopeId", "data-v-da39e979"]]), _a = { cl
|
|
|
1286
1285
|
}),
|
|
1287
1286
|
emits: ["update:modelValue"],
|
|
1288
1287
|
setup(a) {
|
|
1289
|
-
const o = a, r =
|
|
1288
|
+
const o = a, r = Ut(a, "modelValue"), t = ve(o.fullscreen), e = () => {
|
|
1290
1289
|
t.value = !t.value;
|
|
1291
1290
|
}, i = te({
|
|
1292
1291
|
setup() {
|
|
@@ -1297,7 +1296,7 @@ const ya = /* @__PURE__ */ Ct(ma, [["__scopeId", "data-v-da39e979"]]), _a = { cl
|
|
|
1297
1296
|
}
|
|
1298
1297
|
});
|
|
1299
1298
|
return (n, s) => {
|
|
1300
|
-
const l =
|
|
1299
|
+
const l = xt("el-dialog");
|
|
1301
1300
|
return T(), ne(l, fi({
|
|
1302
1301
|
modelValue: r.value,
|
|
1303
1302
|
"onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u),
|
|
@@ -1706,40 +1705,39 @@ const xa = /* @__PURE__ */ te({
|
|
|
1706
1705
|
/* STYLE */
|
|
1707
1706
|
));
|
|
1708
1707
|
}
|
|
1709
|
-
});
|
|
1710
|
-
const Ia = /* @__PURE__ */ Ct(xa, [["__scopeId", "data-v-98d51ef9"]]), Pa = Ge(Ia);
|
|
1708
|
+
}), Ia = Ge(xa);
|
|
1711
1709
|
var Wi;
|
|
1712
|
-
const On = typeof window < "u",
|
|
1710
|
+
const On = typeof window < "u", Pa = (a) => typeof a == "string", La = () => {
|
|
1713
1711
|
};
|
|
1714
1712
|
On && ((Wi = window == null ? void 0 : window.navigator) != null && Wi.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
1715
1713
|
function Mn(a) {
|
|
1716
1714
|
return typeof a == "function" ? a() : k(a);
|
|
1717
1715
|
}
|
|
1718
|
-
function
|
|
1716
|
+
function Da(a) {
|
|
1719
1717
|
return a;
|
|
1720
1718
|
}
|
|
1721
|
-
function
|
|
1719
|
+
function Ra(a) {
|
|
1722
1720
|
return gr() ? (pr(a), !0) : !1;
|
|
1723
1721
|
}
|
|
1724
|
-
function
|
|
1722
|
+
function Oa(a) {
|
|
1725
1723
|
var o;
|
|
1726
1724
|
const r = Mn(a);
|
|
1727
1725
|
return (o = r == null ? void 0 : r.$el) != null ? o : r;
|
|
1728
1726
|
}
|
|
1729
|
-
const
|
|
1730
|
-
function
|
|
1727
|
+
const Ma = On ? window : void 0;
|
|
1728
|
+
function bt(...a) {
|
|
1731
1729
|
let o, r, t, e;
|
|
1732
|
-
if (
|
|
1733
|
-
return
|
|
1730
|
+
if (Pa(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, o = Ma) : [o, r, t, e] = a, !o)
|
|
1731
|
+
return La;
|
|
1734
1732
|
Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
|
|
1735
1733
|
const i = [], n = () => {
|
|
1736
1734
|
i.forEach((c) => c()), i.length = 0;
|
|
1737
|
-
}, s = (c, h, d, g) => (c.addEventListener(h, d, g), () => c.removeEventListener(h, d, g)), l = yt(() => [
|
|
1735
|
+
}, s = (c, h, d, g) => (c.addEventListener(h, d, g), () => c.removeEventListener(h, d, g)), l = yt(() => [Oa(o), Mn(e)], ([c, h]) => {
|
|
1738
1736
|
n(), c && i.push(...r.flatMap((d) => t.map((g) => s(c, d, g, h))));
|
|
1739
1737
|
}, { immediate: !0, flush: "post" }), u = () => {
|
|
1740
1738
|
l(), n();
|
|
1741
1739
|
};
|
|
1742
|
-
return
|
|
1740
|
+
return Ra(u), u;
|
|
1743
1741
|
}
|
|
1744
1742
|
const Gi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, $i = "__vueuse_ssr_handlers__";
|
|
1745
1743
|
Gi[$i] = Gi[$i] || {};
|
|
@@ -1747,15 +1745,15 @@ var Ki;
|
|
|
1747
1745
|
(function(a) {
|
|
1748
1746
|
a.UP = "UP", a.RIGHT = "RIGHT", a.DOWN = "DOWN", a.LEFT = "LEFT", a.NONE = "NONE";
|
|
1749
1747
|
})(Ki || (Ki = {}));
|
|
1750
|
-
var
|
|
1748
|
+
var Fa = Object.defineProperty, Yi = Object.getOwnPropertySymbols, Na = Object.prototype.hasOwnProperty, Ba = Object.prototype.propertyIsEnumerable, Xi = (a, o, r) => o in a ? Fa(a, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[o] = r, Ha = (a, o) => {
|
|
1751
1749
|
for (var r in o || (o = {}))
|
|
1752
|
-
|
|
1750
|
+
Na.call(o, r) && Xi(a, r, o[r]);
|
|
1753
1751
|
if (Yi)
|
|
1754
1752
|
for (var r of Yi(o))
|
|
1755
|
-
|
|
1753
|
+
Ba.call(o, r) && Xi(a, r, o[r]);
|
|
1756
1754
|
return a;
|
|
1757
1755
|
};
|
|
1758
|
-
const
|
|
1756
|
+
const Ua = {
|
|
1759
1757
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
1760
1758
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
1761
1759
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -1781,10 +1779,10 @@ const za = {
|
|
|
1781
1779
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
1782
1780
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
1783
1781
|
};
|
|
1784
|
-
|
|
1785
|
-
linear:
|
|
1786
|
-
},
|
|
1787
|
-
const
|
|
1782
|
+
Ha({
|
|
1783
|
+
linear: Da
|
|
1784
|
+
}, Ua);
|
|
1785
|
+
const za = {
|
|
1788
1786
|
/**
|
|
1789
1787
|
* @description preview link list.
|
|
1790
1788
|
*/
|
|
@@ -1854,15 +1852,15 @@ const Va = {
|
|
|
1854
1852
|
crossorigin: {
|
|
1855
1853
|
type: ["anonymous", "use-credentials", ""]
|
|
1856
1854
|
}
|
|
1857
|
-
},
|
|
1855
|
+
}, Va = {
|
|
1858
1856
|
close: () => !0,
|
|
1859
1857
|
switch: (a) => Bi.isNumber(a),
|
|
1860
1858
|
rotate: (a) => Bi.isNumber(a)
|
|
1861
|
-
},
|
|
1859
|
+
}, ja = ["src", "crossorigin"], Wa = /* @__PURE__ */ te({
|
|
1862
1860
|
name: "ElImageViewer",
|
|
1863
1861
|
__name: "IkImageViewer",
|
|
1864
|
-
props:
|
|
1865
|
-
emits:
|
|
1862
|
+
props: za,
|
|
1863
|
+
emits: Va,
|
|
1866
1864
|
setup(a, { expose: o, emit: r }) {
|
|
1867
1865
|
const t = (D) => Object.keys(D), e = {
|
|
1868
1866
|
CONTAIN: {
|
|
@@ -1934,7 +1932,7 @@ const Va = {
|
|
|
1934
1932
|
});
|
|
1935
1933
|
});
|
|
1936
1934
|
d.run(() => {
|
|
1937
|
-
|
|
1935
|
+
bt(document, "keydown", D), bt(document, "wheel", U);
|
|
1938
1936
|
});
|
|
1939
1937
|
}
|
|
1940
1938
|
function ce() {
|
|
@@ -1956,8 +1954,8 @@ const Va = {
|
|
|
1956
1954
|
offsetX: U + dt.pageX - Te,
|
|
1957
1955
|
offsetY: ie + dt.pageY - Ae
|
|
1958
1956
|
};
|
|
1959
|
-
}), He =
|
|
1960
|
-
|
|
1957
|
+
}), He = bt(document, "mousemove", xe);
|
|
1958
|
+
bt(document, "mouseup", () => {
|
|
1961
1959
|
He();
|
|
1962
1960
|
}), D.preventDefault();
|
|
1963
1961
|
}
|
|
@@ -2223,7 +2221,7 @@ const Va = {
|
|
|
2223
2221
|
onLoad: le,
|
|
2224
2222
|
onError: he,
|
|
2225
2223
|
onMousedown: me
|
|
2226
|
-
}, null, 46,
|
|
2224
|
+
}, null, 46, ja)), [
|
|
2227
2225
|
[Cr, Te === p.value]
|
|
2228
2226
|
])),
|
|
2229
2227
|
128
|
|
@@ -2244,7 +2242,7 @@ const Va = {
|
|
|
2244
2242
|
})
|
|
2245
2243
|
]));
|
|
2246
2244
|
}
|
|
2247
|
-
}),
|
|
2245
|
+
}), Ga = Ge(Wa);
|
|
2248
2246
|
function qi(a, o) {
|
|
2249
2247
|
var r = Object.keys(a);
|
|
2250
2248
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -2320,7 +2318,7 @@ function hi(a, o) {
|
|
|
2320
2318
|
return t.__proto__ = e, t;
|
|
2321
2319
|
}, hi(a, o);
|
|
2322
2320
|
}
|
|
2323
|
-
function
|
|
2321
|
+
function $a() {
|
|
2324
2322
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
2325
2323
|
return !1;
|
|
2326
2324
|
if (typeof Proxy == "function")
|
|
@@ -2345,7 +2343,7 @@ function ki(a, o) {
|
|
|
2345
2343
|
return v(a);
|
|
2346
2344
|
}
|
|
2347
2345
|
function O(a) {
|
|
2348
|
-
var o =
|
|
2346
|
+
var o = $a();
|
|
2349
2347
|
return function() {
|
|
2350
2348
|
var t = F(a), e;
|
|
2351
2349
|
if (o) {
|
|
@@ -2356,14 +2354,14 @@ function O(a) {
|
|
|
2356
2354
|
return ki(this, e);
|
|
2357
2355
|
};
|
|
2358
2356
|
}
|
|
2359
|
-
function
|
|
2357
|
+
function Ka(a, o) {
|
|
2360
2358
|
for (; !Object.prototype.hasOwnProperty.call(a, o) && (a = F(a), a !== null); )
|
|
2361
2359
|
;
|
|
2362
2360
|
return a;
|
|
2363
2361
|
}
|
|
2364
2362
|
function N() {
|
|
2365
2363
|
return typeof Reflect < "u" && Reflect.get ? N = Reflect.get.bind() : N = function(o, r, t) {
|
|
2366
|
-
var e =
|
|
2364
|
+
var e = Ka(o, r);
|
|
2367
2365
|
if (e) {
|
|
2368
2366
|
var i = Object.getOwnPropertyDescriptor(e, r);
|
|
2369
2367
|
return i.get ? i.get.call(arguments.length < 3 ? o : t) : i.value;
|
|
@@ -2371,17 +2369,17 @@ function N() {
|
|
|
2371
2369
|
}, N.apply(this, arguments);
|
|
2372
2370
|
}
|
|
2373
2371
|
function Ee(a) {
|
|
2374
|
-
return
|
|
2372
|
+
return Ya(a) || Xa(a) || qa(a) || Za();
|
|
2375
2373
|
}
|
|
2376
|
-
function
|
|
2374
|
+
function Ya(a) {
|
|
2377
2375
|
if (Array.isArray(a))
|
|
2378
2376
|
return di(a);
|
|
2379
2377
|
}
|
|
2380
|
-
function
|
|
2378
|
+
function Xa(a) {
|
|
2381
2379
|
if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
|
|
2382
2380
|
return Array.from(a);
|
|
2383
2381
|
}
|
|
2384
|
-
function
|
|
2382
|
+
function qa(a, o) {
|
|
2385
2383
|
if (a) {
|
|
2386
2384
|
if (typeof a == "string")
|
|
2387
2385
|
return di(a, o);
|
|
@@ -2398,11 +2396,11 @@ function di(a, o) {
|
|
|
2398
2396
|
t[r] = a[r];
|
|
2399
2397
|
return t;
|
|
2400
2398
|
}
|
|
2401
|
-
function
|
|
2399
|
+
function Za() {
|
|
2402
2400
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2403
2401
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2404
2402
|
}
|
|
2405
|
-
function
|
|
2403
|
+
function Ja(a, o) {
|
|
2406
2404
|
if (typeof a != "object" || a === null)
|
|
2407
2405
|
return a;
|
|
2408
2406
|
var r = a[Symbol.toPrimitive];
|
|
@@ -2415,7 +2413,7 @@ function Qa(a, o) {
|
|
|
2415
2413
|
return (o === "string" ? String : Number)(a);
|
|
2416
2414
|
}
|
|
2417
2415
|
function Fn(a) {
|
|
2418
|
-
var o =
|
|
2416
|
+
var o = Ja(a, "string");
|
|
2419
2417
|
return typeof o == "symbol" ? o : String(o);
|
|
2420
2418
|
}
|
|
2421
2419
|
var Nn = { exports: {} };
|
|
@@ -2531,13 +2529,13 @@ var Nn = { exports: {} };
|
|
|
2531
2529
|
})(Nn);
|
|
2532
2530
|
var Bn = Nn.exports;
|
|
2533
2531
|
const Hn = /* @__PURE__ */ yi(Bn);
|
|
2534
|
-
var
|
|
2532
|
+
var Qa = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Zt = {
|
|
2535
2533
|
info: "color: #525252; background-color: #90ee90;",
|
|
2536
2534
|
error: "color: #525252; background-color: red;",
|
|
2537
2535
|
warn: "color: #525252; background-color: yellow; "
|
|
2538
2536
|
}, Jt = "%c[xgplayer]", $ = {
|
|
2539
2537
|
config: {
|
|
2540
|
-
debug:
|
|
2538
|
+
debug: Qa ? 3 : 0
|
|
2541
2539
|
},
|
|
2542
2540
|
logInfo: function(o) {
|
|
2543
2541
|
for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
@@ -2558,10 +2556,10 @@ var eo = typeof window < "u" && window.location && window.location.href.indexOf(
|
|
|
2558
2556
|
}
|
|
2559
2557
|
}
|
|
2560
2558
|
};
|
|
2561
|
-
function
|
|
2559
|
+
function eo(a) {
|
|
2562
2560
|
a.logInfo = $.logInfo.bind(a), a.logWarn = $.logWarn.bind(a), a.logError = $.logError.bind(a);
|
|
2563
2561
|
}
|
|
2564
|
-
var
|
|
2562
|
+
var to = /* @__PURE__ */ function() {
|
|
2565
2563
|
function a(o) {
|
|
2566
2564
|
P(this, a), this.bufferedList = o;
|
|
2567
2565
|
}
|
|
@@ -2807,7 +2805,7 @@ f.setStyleFromCsstext = function(a, o) {
|
|
|
2807
2805
|
a.style[t] = o[t];
|
|
2808
2806
|
});
|
|
2809
2807
|
};
|
|
2810
|
-
function
|
|
2808
|
+
function io(a, o) {
|
|
2811
2809
|
for (var r = 0, t = o.length; r < t; r++)
|
|
2812
2810
|
if (a.indexOf(o[r]) > -1)
|
|
2813
2811
|
return !0;
|
|
@@ -2821,7 +2819,7 @@ f.filterStyleFromText = function(a) {
|
|
|
2821
2819
|
return t.map(function(n) {
|
|
2822
2820
|
if (n) {
|
|
2823
2821
|
var s = n.split(":");
|
|
2824
|
-
s.length > 1 && (
|
|
2822
|
+
s.length > 1 && (io(s[0], o) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
|
|
2825
2823
|
}
|
|
2826
2824
|
}), a.setAttribute("style", ""), Object.keys(i).map(function(n) {
|
|
2827
2825
|
a.style[n] = i[n];
|
|
@@ -2886,7 +2884,7 @@ f.getBuffered2 = function(a) {
|
|
|
2886
2884
|
}
|
|
2887
2885
|
else
|
|
2888
2886
|
e = r;
|
|
2889
|
-
return new
|
|
2887
|
+
return new to(e);
|
|
2890
2888
|
};
|
|
2891
2889
|
f.getEventPos = function(a) {
|
|
2892
2890
|
var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
@@ -3010,7 +3008,7 @@ function Un(a) {
|
|
|
3010
3008
|
var o = ge(a);
|
|
3011
3009
|
return a !== null && (o === "object" || o === "function");
|
|
3012
3010
|
}
|
|
3013
|
-
function
|
|
3011
|
+
function no(a, o, r) {
|
|
3014
3012
|
var t, e, i, n, s, l, u = 0, c = !1, h = !1, d = !0, g = !o && o !== 0 && typeof window.requestAnimationFrame == "function";
|
|
3015
3013
|
if (typeof a != "function")
|
|
3016
3014
|
throw new TypeError("Expected a function");
|
|
@@ -3069,21 +3067,21 @@ function ro(a, o, r) {
|
|
|
3069
3067
|
}
|
|
3070
3068
|
return re.cancel = X, re.flush = M, re.pending = oe, re;
|
|
3071
3069
|
}
|
|
3072
|
-
function
|
|
3070
|
+
function ro(a, o, r) {
|
|
3073
3071
|
var t = !0, e = !0;
|
|
3074
3072
|
if (typeof a != "function")
|
|
3075
3073
|
throw new TypeError("Expected a function");
|
|
3076
|
-
return Un(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e),
|
|
3074
|
+
return Un(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), no(a, o, {
|
|
3077
3075
|
leading: t,
|
|
3078
3076
|
trailing: e,
|
|
3079
3077
|
maxWait: o
|
|
3080
3078
|
});
|
|
3081
3079
|
}
|
|
3082
|
-
function
|
|
3080
|
+
function so() {
|
|
3083
3081
|
var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
|
|
3084
3082
|
return a === "zh-cn" && (a = "zh"), a;
|
|
3085
3083
|
}
|
|
3086
|
-
function
|
|
3084
|
+
function ao(a, o, r) {
|
|
3087
3085
|
if (a) {
|
|
3088
3086
|
var t = a.getAttribute(r);
|
|
3089
3087
|
return !!(t && t === o && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
|
|
@@ -3092,7 +3090,7 @@ function oo(a, o, r) {
|
|
|
3092
3090
|
var Ji = {
|
|
3093
3091
|
android: /(Android)\s([\d.]+)/,
|
|
3094
3092
|
ios: /(Version)\/([\d.]+)/
|
|
3095
|
-
},
|
|
3093
|
+
}, oo = ["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", "avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], z = {
|
|
3096
3094
|
get device() {
|
|
3097
3095
|
var a = z.os;
|
|
3098
3096
|
return a.isPc ? "pc" : "mobile";
|
|
@@ -3155,7 +3153,7 @@ var Ji = {
|
|
|
3155
3153
|
if (this.supportResult)
|
|
3156
3154
|
return this.supportResult;
|
|
3157
3155
|
var r = document.createElement("video");
|
|
3158
|
-
return typeof r.canPlayType == "function" &&
|
|
3156
|
+
return typeof r.canPlayType == "function" && oo.map(function(t) {
|
|
3159
3157
|
r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (o.isSupport = !0, o.mime += "||".concat(t));
|
|
3160
3158
|
}), this.supportResult = o, r = null, o;
|
|
3161
3159
|
},
|
|
@@ -3208,7 +3206,7 @@ var Ji = {
|
|
|
3208
3206
|
4: 5104,
|
|
3209
3207
|
5: 5105,
|
|
3210
3208
|
6: 5106
|
|
3211
|
-
},
|
|
3209
|
+
}, Pt = /* @__PURE__ */ L(
|
|
3212
3210
|
function a(o) {
|
|
3213
3211
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
3214
3212
|
errorType: "",
|
|
@@ -3250,23 +3248,23 @@ var Ji = {
|
|
|
3250
3248
|
return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
|
|
3251
3249
|
}
|
|
3252
3250
|
}
|
|
3253
|
-
), be = "play", Ci = "playing", Je = "ended", ht = "pause",
|
|
3251
|
+
), be = "play", Ci = "playing", Je = "ended", ht = "pause", Ct = "error", Vt = "seeking", Ne = "seeked", we = "timeupdate", wt = "waiting", Fe = "canplay", lo = "canplaythrough", $e = "durationchange", zn = "volumechange", Be = "loadeddata", uo = "loadedmetadata", Vn = "ratechange", jn = "progress", wi = "loadstart", Qe = "emptied", co = "stalled", fo = "suspend", ho = "abort", go = "bufferedChange", bi = "focus", Wn = "blur", Ti = "ready", Gn = "urlNull", Ze = "autoplay_started", Ei = "autoplay_was_prevented", jt = "complete", Lt = "replay", Si = "destroy", Wt = "urlchange", pi = "download_speed_change", $n = "leaveplayer", Kn = "enterplayer", Yn = "loading", Oe = "fullscreen_change", Dt = "cssFullscreen_change", Rt = "mini_state_change", Ai = "definition_change", po = "before_definition_change", vi = "after_definition_change", vo = "SEI_PARSED", mo = "retry", je = "video_resize", mi = "pip_change", Xn = "rotate", qn = "screenShot", Ot = "playnext", Zn = "shortcut", Jn = "xglog", Mt = "user_action", Gt = "reset", Qn = "source_error", er = "source_success", yo = "switch_subtitle", tr = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], ir = {
|
|
3254
3252
|
STATS_INFO: "stats_info",
|
|
3255
3253
|
STATS_DOWNLOAD: "stats_download",
|
|
3256
3254
|
STATS_RESET: "stats_reset"
|
|
3257
3255
|
}, nr = "fps_stuck";
|
|
3258
|
-
const
|
|
3256
|
+
const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3259
3257
|
__proto__: null,
|
|
3260
|
-
ABORT:
|
|
3258
|
+
ABORT: ho,
|
|
3261
3259
|
AFTER_DEFINITION_CHANGE: vi,
|
|
3262
3260
|
AUTOPLAY_PREVENTED: Ei,
|
|
3263
3261
|
AUTOPLAY_STARTED: Ze,
|
|
3264
|
-
BEFORE_DEFINITION_CHANGE:
|
|
3265
|
-
BUFFER_CHANGE:
|
|
3262
|
+
BEFORE_DEFINITION_CHANGE: po,
|
|
3263
|
+
BUFFER_CHANGE: go,
|
|
3266
3264
|
CANPLAY: Fe,
|
|
3267
|
-
CANPLAY_THROUGH:
|
|
3265
|
+
CANPLAY_THROUGH: lo,
|
|
3268
3266
|
COMPLETE: jt,
|
|
3269
|
-
CSS_FULLSCREEN_CHANGE:
|
|
3267
|
+
CSS_FULLSCREEN_CHANGE: Dt,
|
|
3270
3268
|
DEFINITION_CHANGE: Ai,
|
|
3271
3269
|
DESTROY: Si,
|
|
3272
3270
|
DOWNLOAD_SPEED_CHANGE: pi,
|
|
@@ -3274,54 +3272,54 @@ const ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3274
3272
|
EMPTIED: Qe,
|
|
3275
3273
|
ENDED: Je,
|
|
3276
3274
|
ENTER_PLAYER: Kn,
|
|
3277
|
-
ERROR:
|
|
3275
|
+
ERROR: Ct,
|
|
3278
3276
|
FPS_STUCK: nr,
|
|
3279
3277
|
FULLSCREEN_CHANGE: Oe,
|
|
3280
3278
|
LEAVE_PLAYER: $n,
|
|
3281
3279
|
LOADED_DATA: Be,
|
|
3282
|
-
LOADED_METADATA:
|
|
3280
|
+
LOADED_METADATA: uo,
|
|
3283
3281
|
LOADING: Yn,
|
|
3284
3282
|
LOAD_START: wi,
|
|
3285
|
-
MINI_STATE_CHANGE:
|
|
3283
|
+
MINI_STATE_CHANGE: Rt,
|
|
3286
3284
|
PAUSE: ht,
|
|
3287
3285
|
PIP_CHANGE: mi,
|
|
3288
3286
|
PLAY: be,
|
|
3289
3287
|
PLAYER_BLUR: Wn,
|
|
3290
3288
|
PLAYER_FOCUS: bi,
|
|
3291
3289
|
PLAYING: Ci,
|
|
3292
|
-
PLAYNEXT:
|
|
3290
|
+
PLAYNEXT: Ot,
|
|
3293
3291
|
PROGRESS: jn,
|
|
3294
3292
|
RATE_CHANGE: Vn,
|
|
3295
3293
|
READY: Ti,
|
|
3296
|
-
REPLAY:
|
|
3294
|
+
REPLAY: Lt,
|
|
3297
3295
|
RESET: Gt,
|
|
3298
|
-
RETRY:
|
|
3296
|
+
RETRY: mo,
|
|
3299
3297
|
ROTATE: Xn,
|
|
3300
3298
|
SCREEN_SHOT: qn,
|
|
3301
3299
|
SEEKED: Ne,
|
|
3302
3300
|
SEEKING: Vt,
|
|
3303
|
-
SEI_PARSED:
|
|
3301
|
+
SEI_PARSED: vo,
|
|
3304
3302
|
SHORTCUT: Zn,
|
|
3305
3303
|
SOURCE_ERROR: Qn,
|
|
3306
3304
|
SOURCE_SUCCESS: er,
|
|
3307
|
-
STALLED:
|
|
3305
|
+
STALLED: co,
|
|
3308
3306
|
STATS_EVENTS: ir,
|
|
3309
|
-
SUSPEND:
|
|
3310
|
-
SWITCH_SUBTITLE:
|
|
3307
|
+
SUSPEND: fo,
|
|
3308
|
+
SWITCH_SUBTITLE: yo,
|
|
3311
3309
|
TIME_UPDATE: we,
|
|
3312
3310
|
URL_CHANGE: Wt,
|
|
3313
3311
|
URL_NULL: Gn,
|
|
3314
|
-
USER_ACTION:
|
|
3312
|
+
USER_ACTION: Mt,
|
|
3315
3313
|
VIDEO_EVENTS: tr,
|
|
3316
3314
|
VIDEO_RESIZE: je,
|
|
3317
3315
|
VOLUME_CHANGE: zn,
|
|
3318
|
-
WAITING:
|
|
3316
|
+
WAITING: wt,
|
|
3319
3317
|
XGLOG: Jn
|
|
3320
3318
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3321
3319
|
function Qt(a, o) {
|
|
3322
3320
|
!this || !this.emit || (a === "error" ? this.errorHandler(a, o.error) : this.emit(a, o));
|
|
3323
3321
|
}
|
|
3324
|
-
function
|
|
3322
|
+
function ko(a, o) {
|
|
3325
3323
|
return function(r, t) {
|
|
3326
3324
|
var e = {
|
|
3327
3325
|
player: o,
|
|
@@ -3356,7 +3354,7 @@ function Co(a, o) {
|
|
|
3356
3354
|
Qt.call(o, a, e);
|
|
3357
3355
|
};
|
|
3358
3356
|
}
|
|
3359
|
-
var
|
|
3357
|
+
var Co = /* @__PURE__ */ function(a) {
|
|
3360
3358
|
R(r, a);
|
|
3361
3359
|
var o = O(r);
|
|
3362
3360
|
function r(t) {
|
|
@@ -3400,7 +3398,7 @@ var wo = /* @__PURE__ */ function(a) {
|
|
|
3400
3398
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
|
|
3401
3399
|
this._evHandlers || (this._evHandlers = tr.map(function(n) {
|
|
3402
3400
|
var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
|
|
3403
|
-
return typeof e[s] == "function" && e.on(n, e[s]), _({}, n,
|
|
3401
|
+
return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, ko(n, e));
|
|
3404
3402
|
})), this._evHandlers.forEach(function(n) {
|
|
3405
3403
|
var s = Object.keys(n)[0];
|
|
3406
3404
|
i.addEventListener(s, n[s], !1);
|
|
@@ -3452,7 +3450,7 @@ var wo = /* @__PURE__ */ function(a) {
|
|
|
3452
3450
|
l ? l.error(h, g) : n.errorHandler("error", g);
|
|
3453
3451
|
}
|
|
3454
3452
|
var p = Qi[4];
|
|
3455
|
-
n.emit(Qn, new
|
|
3453
|
+
n.emit(Qn, new Pt(n, {
|
|
3456
3454
|
errorType: p,
|
|
3457
3455
|
errorCode: 4,
|
|
3458
3456
|
errorMessage: "sources_load_error",
|
|
@@ -3489,7 +3487,7 @@ var wo = /* @__PURE__ */ function(a) {
|
|
|
3489
3487
|
this.media.currentSrc || (l = "empty_src", n = {
|
|
3490
3488
|
code: 6,
|
|
3491
3489
|
message: l
|
|
3492
|
-
}), this.emit(e, new
|
|
3490
|
+
}), this.emit(e, new Pt(this, {
|
|
3493
3491
|
errorType: s,
|
|
3494
3492
|
errorCode: n.code,
|
|
3495
3493
|
errorMessage: n.message || "",
|
|
@@ -3710,7 +3708,7 @@ var wo = /* @__PURE__ */ function(a) {
|
|
|
3710
3708
|
},
|
|
3711
3709
|
set: function(e) {
|
|
3712
3710
|
if (this.media) {
|
|
3713
|
-
if (this.emit(Wt, e), this.emit(
|
|
3711
|
+
if (this.emit(Wt, e), this.emit(wt), this._currentTime = 0, this._duration = 0, f.isMSE(this.media)) {
|
|
3714
3712
|
this.onWaiting();
|
|
3715
3713
|
return;
|
|
3716
3714
|
}
|
|
@@ -3774,7 +3772,7 @@ var wo = /* @__PURE__ */ function(a) {
|
|
|
3774
3772
|
N(F(r.prototype), "removeAllListeners", this).call(this);
|
|
3775
3773
|
}
|
|
3776
3774
|
}]), r;
|
|
3777
|
-
}(Hn),
|
|
3775
|
+
}(Hn), wo = /* @__PURE__ */ function() {
|
|
3778
3776
|
function a() {
|
|
3779
3777
|
var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
3780
3778
|
name: "xgplayer",
|
|
@@ -3853,7 +3851,7 @@ var wo = /* @__PURE__ */ function(a) {
|
|
|
3853
3851
|
}
|
|
3854
3852
|
}]), a;
|
|
3855
3853
|
}(), tn = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], nn = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], rn = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], Xe = "data-xgplayerid";
|
|
3856
|
-
function
|
|
3854
|
+
function Tt(a, o, r) {
|
|
3857
3855
|
for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
|
|
3858
3856
|
e[i - 3] = arguments[i];
|
|
3859
3857
|
var n = o.call.apply(o, [a].concat(e));
|
|
@@ -3863,7 +3861,7 @@ function Et(a, o, r) {
|
|
|
3863
3861
|
r.call.apply(r, [a].concat(l));
|
|
3864
3862
|
}) : r.call.apply(r, [a].concat(e)));
|
|
3865
3863
|
}
|
|
3866
|
-
function
|
|
3864
|
+
function Ft(a, o) {
|
|
3867
3865
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
3868
3866
|
pre: null,
|
|
3869
3867
|
next: null
|
|
@@ -3881,23 +3879,23 @@ function Nt(a, o) {
|
|
|
3881
3879
|
try {
|
|
3882
3880
|
var n, s = (n = this.__hooks[a]).call.apply(n, [this, this].concat(Array.prototype.slice.call(arguments)));
|
|
3883
3881
|
s ? s.then ? s.then(function(l) {
|
|
3884
|
-
l !== !1 &&
|
|
3882
|
+
l !== !1 && Tt.apply(void 0, [e, o, r.next].concat(Ee(t)));
|
|
3885
3883
|
}).catch(function(l) {
|
|
3886
3884
|
throw l;
|
|
3887
|
-
}) :
|
|
3885
|
+
}) : Tt.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments))) : s === void 0 && Tt.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments)));
|
|
3888
3886
|
} catch (l) {
|
|
3889
3887
|
throw l.message = "[pluginName: ".concat(this.pluginName, ":").concat(a, "] >> ").concat(l.message), l;
|
|
3890
3888
|
}
|
|
3891
3889
|
else
|
|
3892
|
-
|
|
3890
|
+
Tt.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments)));
|
|
3893
3891
|
}).bind(this);
|
|
3894
3892
|
}
|
|
3895
|
-
function
|
|
3893
|
+
function Nt(a, o) {
|
|
3896
3894
|
var r = this.__hooks;
|
|
3897
3895
|
if (r)
|
|
3898
3896
|
return r.hasOwnProperty(a) ? (r && (r[a] = o), !0) : (console.warn("has no supported hook which name [".concat(a, "]")), !1);
|
|
3899
3897
|
}
|
|
3900
|
-
function
|
|
3898
|
+
function Bt(a, o) {
|
|
3901
3899
|
var r = this.__hooks;
|
|
3902
3900
|
r && delete r[a];
|
|
3903
3901
|
}
|
|
@@ -4082,21 +4080,21 @@ var We = /* @__PURE__ */ function() {
|
|
|
4082
4080
|
}, {
|
|
4083
4081
|
key: "hook",
|
|
4084
4082
|
value: function(r, t) {
|
|
4085
|
-
return
|
|
4083
|
+
return Ft.call.apply(Ft, [this].concat(Array.prototype.slice.call(arguments)));
|
|
4086
4084
|
}
|
|
4087
4085
|
}, {
|
|
4088
4086
|
key: "useHooks",
|
|
4089
4087
|
value: function(r, t) {
|
|
4090
4088
|
for (var e = arguments.length, i = new Array(e > 2 ? e - 2 : 0), n = 2; n < e; n++)
|
|
4091
4089
|
i[n - 2] = arguments[n];
|
|
4092
|
-
return
|
|
4090
|
+
return Nt.call.apply(Nt, [this].concat(Array.prototype.slice.call(arguments)));
|
|
4093
4091
|
}
|
|
4094
4092
|
}, {
|
|
4095
4093
|
key: "removeHooks",
|
|
4096
4094
|
value: function(r, t) {
|
|
4097
4095
|
for (var e = arguments.length, i = new Array(e > 2 ? e - 2 : 0), n = 2; n < e; n++)
|
|
4098
4096
|
i[n - 2] = arguments[n];
|
|
4099
|
-
return
|
|
4097
|
+
return Bt.call.apply(Bt, [this].concat(Array.prototype.slice.call(arguments)));
|
|
4100
4098
|
}
|
|
4101
4099
|
}, {
|
|
4102
4100
|
key: "registerPlugin",
|
|
@@ -4138,40 +4136,40 @@ var We = /* @__PURE__ */ function() {
|
|
|
4138
4136
|
return "pluginName";
|
|
4139
4137
|
}
|
|
4140
4138
|
}]), a;
|
|
4141
|
-
}(),
|
|
4139
|
+
}(), bo = 9;
|
|
4142
4140
|
if (typeof Element < "u" && !Element.prototype.matches) {
|
|
4143
4141
|
var nt = Element.prototype;
|
|
4144
4142
|
nt.matches = nt.matchesSelector || nt.mozMatchesSelector || nt.msMatchesSelector || nt.oMatchesSelector || nt.webkitMatchesSelector;
|
|
4145
4143
|
}
|
|
4146
|
-
function
|
|
4147
|
-
for (; a && a.nodeType !==
|
|
4144
|
+
function To(a, o) {
|
|
4145
|
+
for (; a && a.nodeType !== bo; ) {
|
|
4148
4146
|
if (typeof a.matches == "function" && a.matches(o))
|
|
4149
4147
|
return a;
|
|
4150
4148
|
a = a.parentNode;
|
|
4151
4149
|
}
|
|
4152
4150
|
}
|
|
4153
|
-
var
|
|
4151
|
+
var Eo = To, So = Eo;
|
|
4154
4152
|
function ti(a, o, r, t, e) {
|
|
4155
|
-
var i =
|
|
4153
|
+
var i = xo.apply(this, arguments);
|
|
4156
4154
|
return a.addEventListener(r, i, e), {
|
|
4157
4155
|
destroy: function() {
|
|
4158
4156
|
a.removeEventListener(r, i, e);
|
|
4159
4157
|
}
|
|
4160
4158
|
};
|
|
4161
4159
|
}
|
|
4162
|
-
function
|
|
4160
|
+
function Ao(a, o, r, t, e) {
|
|
4163
4161
|
return typeof a.addEventListener == "function" ? ti.apply(null, arguments) : typeof r == "function" ? ti.bind(null, document).apply(null, arguments) : (typeof a == "string" && (a = document.querySelectorAll(a)), Array.prototype.map.call(a, function(i) {
|
|
4164
4162
|
return ti(i, o, r, t, e);
|
|
4165
4163
|
}));
|
|
4166
4164
|
}
|
|
4167
|
-
function
|
|
4165
|
+
function xo(a, o, r, t) {
|
|
4168
4166
|
return function(e) {
|
|
4169
|
-
e.delegateTarget =
|
|
4167
|
+
e.delegateTarget = So(e.target, o), e.delegateTarget && t.call(a, e);
|
|
4170
4168
|
};
|
|
4171
4169
|
}
|
|
4172
|
-
var
|
|
4173
|
-
const on = /* @__PURE__ */ yi(
|
|
4174
|
-
var
|
|
4170
|
+
var Io = Ao;
|
|
4171
|
+
const on = /* @__PURE__ */ yi(Io);
|
|
4172
|
+
var Po = {
|
|
4175
4173
|
CONTROLS: "controls",
|
|
4176
4174
|
ROOT: "root"
|
|
4177
4175
|
}, Q = {
|
|
@@ -4191,10 +4189,10 @@ var Lo = {
|
|
|
4191
4189
|
function ii(a) {
|
|
4192
4190
|
return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
|
|
4193
4191
|
}
|
|
4194
|
-
function
|
|
4192
|
+
function Lo(a, o) {
|
|
4195
4193
|
return ge(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
|
|
4196
4194
|
}
|
|
4197
|
-
function
|
|
4195
|
+
function Do(a, o) {
|
|
4198
4196
|
return ge(a) === "object" && a.attr && ge(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
|
|
4199
4197
|
o[r] = a.attr[r];
|
|
4200
4198
|
}), o;
|
|
@@ -4217,14 +4215,14 @@ function un(a, o) {
|
|
|
4217
4215
|
}
|
|
4218
4216
|
return typeof a == "string" ? f.createDomFromHtml(a, t, r) : ($.logWarn("warn>>icons.".concat(o, " in config of plugin named [").concat(e, "] is invalid")), null);
|
|
4219
4217
|
}
|
|
4220
|
-
function
|
|
4218
|
+
function Ro(a, o) {
|
|
4221
4219
|
var r = o.config.icons || o.playerConfig.icons;
|
|
4222
4220
|
Object.keys(a).map(function(t) {
|
|
4223
4221
|
var e = a[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
|
|
4224
|
-
r && r[t] && (i =
|
|
4222
|
+
r && r[t] && (i = Lo(r[t], i), n = Do(r[t], n), s = un(r[t], t, i, n, o.pluginName)), !s && e && (s = un(e.icon ? e.icon : e, n, i, {}, o.pluginName)), o.icons[t] = s;
|
|
4225
4223
|
});
|
|
4226
4224
|
}
|
|
4227
|
-
function
|
|
4225
|
+
function Oo(a, o) {
|
|
4228
4226
|
Object.keys(a).map(function(r) {
|
|
4229
4227
|
Object.defineProperty(o.langText, r, {
|
|
4230
4228
|
get: function() {
|
|
@@ -4248,9 +4246,9 @@ var J = /* @__PURE__ */ function(a) {
|
|
|
4248
4246
|
var i = e.root, n = null;
|
|
4249
4247
|
this.icons = {}, this.root = null, this.parent = null;
|
|
4250
4248
|
var s = this.registerIcons() || {};
|
|
4251
|
-
|
|
4249
|
+
Ro(s, this), this.langText = {};
|
|
4252
4250
|
var l = this.registerLanguageTexts() || {};
|
|
4253
|
-
|
|
4251
|
+
Oo(l, this);
|
|
4254
4252
|
var u = "";
|
|
4255
4253
|
try {
|
|
4256
4254
|
u = this.render();
|
|
@@ -4519,7 +4517,7 @@ var J = /* @__PURE__ */ function(a) {
|
|
|
4519
4517
|
}, {
|
|
4520
4518
|
key: "ROOT_TYPES",
|
|
4521
4519
|
get: function() {
|
|
4522
|
-
return
|
|
4520
|
+
return Po;
|
|
4523
4521
|
}
|
|
4524
4522
|
}, {
|
|
4525
4523
|
key: "POSITIONS",
|
|
@@ -4527,7 +4525,7 @@ var J = /* @__PURE__ */ function(a) {
|
|
|
4527
4525
|
return Q;
|
|
4528
4526
|
}
|
|
4529
4527
|
}]), r;
|
|
4530
|
-
}(We),
|
|
4528
|
+
}(We), Mo = /* @__PURE__ */ function() {
|
|
4531
4529
|
function a() {
|
|
4532
4530
|
var o = this;
|
|
4533
4531
|
if (P(this, a), _(this, "__trigger", function(r) {
|
|
@@ -4537,7 +4535,7 @@ var J = /* @__PURE__ */ function(a) {
|
|
|
4537
4535
|
o.__runHandler(r[e].target);
|
|
4538
4536
|
}), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
|
|
4539
4537
|
try {
|
|
4540
|
-
this.observer = new window.ResizeObserver(
|
|
4538
|
+
this.observer = new window.ResizeObserver(ro(this.__trigger, 100, {
|
|
4541
4539
|
trailing: !0
|
|
4542
4540
|
})), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
|
|
4543
4541
|
} catch (r) {
|
|
@@ -4592,17 +4590,17 @@ var J = /* @__PURE__ */ function(a) {
|
|
|
4592
4590
|
}
|
|
4593
4591
|
}]), a;
|
|
4594
4592
|
}(), mt = null;
|
|
4595
|
-
function
|
|
4596
|
-
return mt || (mt = new
|
|
4593
|
+
function Fo(a, o) {
|
|
4594
|
+
return mt || (mt = new Mo()), mt.addObserver(a, o), mt;
|
|
4597
4595
|
}
|
|
4598
|
-
function
|
|
4596
|
+
function No(a, o) {
|
|
4599
4597
|
mt.unObserver(a, o);
|
|
4600
4598
|
}
|
|
4601
4599
|
var fe = {
|
|
4602
4600
|
pluginGroup: {},
|
|
4603
4601
|
init: function(o) {
|
|
4604
4602
|
var r = o._pluginInfoId;
|
|
4605
|
-
r || (r = (/* @__PURE__ */ new Date()).getTime(), o._pluginInfoId = r), !o.config.closeResizeObserver &&
|
|
4603
|
+
r || (r = (/* @__PURE__ */ new Date()).getTime(), o._pluginInfoId = r), !o.config.closeResizeObserver && Fo(o.root, function() {
|
|
4606
4604
|
o.resize();
|
|
4607
4605
|
}), this.pluginGroup[r] = {
|
|
4608
4606
|
_originalOptions: o.config || {},
|
|
@@ -4788,7 +4786,7 @@ var fe = {
|
|
|
4788
4786
|
destroy: function(o) {
|
|
4789
4787
|
var r = o._pluginInfoId;
|
|
4790
4788
|
if (this.pluginGroup[r]) {
|
|
4791
|
-
|
|
4789
|
+
No(o.root);
|
|
4792
4790
|
for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
|
|
4793
4791
|
var n = i[e];
|
|
4794
4792
|
this.unRegister(r, n);
|
|
@@ -4874,7 +4872,7 @@ function cn() {
|
|
|
4874
4872
|
ignores: [],
|
|
4875
4873
|
whitelist: [],
|
|
4876
4874
|
inactive: 3e3,
|
|
4877
|
-
lang:
|
|
4875
|
+
lang: so(),
|
|
4878
4876
|
controls: !0,
|
|
4879
4877
|
marginControls: !1,
|
|
4880
4878
|
fullscreenTarget: null,
|
|
@@ -4910,7 +4908,7 @@ function cn() {
|
|
|
4910
4908
|
}
|
|
4911
4909
|
};
|
|
4912
4910
|
}
|
|
4913
|
-
var
|
|
4911
|
+
var Bo = function(o, r) {
|
|
4914
4912
|
var t, e, i;
|
|
4915
4913
|
r.preset && r.options ? i = new r.preset(r.options, o.config) : i = new r({}, o.config);
|
|
4916
4914
|
var n = i, s = n.plugins, l = s === void 0 ? [] : s, u = n.ignores, c = u === void 0 ? [] : u, h = n.icons, d = h === void 0 ? {} : h, g = n.i18n, p = g === void 0 ? [] : g;
|
|
@@ -4919,7 +4917,7 @@ var Ho = function(o, r) {
|
|
|
4919
4917
|
});
|
|
4920
4918
|
var m = o.config.i18n || [];
|
|
4921
4919
|
p.push.apply(p, Ee(m)), o.config.i18n = p;
|
|
4922
|
-
},
|
|
4920
|
+
}, Ho = /* @__PURE__ */ function(a) {
|
|
4923
4921
|
R(r, a);
|
|
4924
4922
|
var o = O(r);
|
|
4925
4923
|
function r() {
|
|
@@ -4953,7 +4951,7 @@ var Ho = function(o, r) {
|
|
|
4953
4951
|
};
|
|
4954
4952
|
Object.keys(u).map(function(h) {
|
|
4955
4953
|
e.root.style[h] = u[h];
|
|
4956
|
-
}), this.left = this.find("xg-left-grid"), this.center = this.find("xg-center-grid"), this.right = this.find("xg-right-grid"), this.innerRoot = this.find("xg-inner-controls"), this.on(
|
|
4954
|
+
}), this.left = this.find("xg-left-grid"), this.center = this.find("xg-center-grid"), this.right = this.find("xg-right-grid"), this.innerRoot = this.find("xg-inner-controls"), this.on(Rt, function(h) {
|
|
4957
4955
|
h ? f.addClass(e.root, "mini-controls") : f.removeClass(e.root, "mini-controls");
|
|
4958
4956
|
});
|
|
4959
4957
|
var c = this.playerConfig.isMobileSimulateMode;
|
|
@@ -5080,7 +5078,7 @@ var Ho = function(o, r) {
|
|
|
5080
5078
|
};
|
|
5081
5079
|
}
|
|
5082
5080
|
}]), r;
|
|
5083
|
-
}(J),
|
|
5081
|
+
}(J), Uo = {
|
|
5084
5082
|
LANG: "en",
|
|
5085
5083
|
TEXT: {
|
|
5086
5084
|
ERROR_TYPES: {
|
|
@@ -5175,7 +5173,7 @@ function ar() {
|
|
|
5175
5173
|
Ce.textKeys[a] = a;
|
|
5176
5174
|
});
|
|
5177
5175
|
}
|
|
5178
|
-
function
|
|
5176
|
+
function zo(a, o) {
|
|
5179
5177
|
var r = [];
|
|
5180
5178
|
if (o || (o = Ce), !!o.lang) {
|
|
5181
5179
|
f.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
|
|
@@ -5198,7 +5196,7 @@ function xi(a, o) {
|
|
|
5198
5196
|
r === "zh" && (r = "zh-cn"), o.lang[r] ? kt(o.lang[r], t) : (o.langKeys.push(r), o.lang[r] = t), ar();
|
|
5199
5197
|
}
|
|
5200
5198
|
}
|
|
5201
|
-
function
|
|
5199
|
+
function Vo(a) {
|
|
5202
5200
|
var o, r = {
|
|
5203
5201
|
lang: {},
|
|
5204
5202
|
langKeys: [],
|
|
@@ -5207,7 +5205,7 @@ function jo(a) {
|
|
|
5207
5205
|
};
|
|
5208
5206
|
return kt(r.lang, Ce.lang), (o = r.langKeys).push.apply(o, Ee(Ce.langKeys)), kt(r.textKeys, Ce.textKeys), r;
|
|
5209
5207
|
}
|
|
5210
|
-
xi(
|
|
5208
|
+
xi(Uo);
|
|
5211
5209
|
var ct = {
|
|
5212
5210
|
get textKeys() {
|
|
5213
5211
|
return Ce.textKeys;
|
|
@@ -5221,9 +5219,9 @@ var ct = {
|
|
|
5221
5219
|
a[o] = Ce.lang[o];
|
|
5222
5220
|
}), Ce.lang["zh-cn"] && (a.zh = Ce.lang["zh-cn"] || {}), a;
|
|
5223
5221
|
},
|
|
5224
|
-
extend:
|
|
5222
|
+
extend: zo,
|
|
5225
5223
|
use: xi,
|
|
5226
|
-
init:
|
|
5224
|
+
init: Vo
|
|
5227
5225
|
}, K = {
|
|
5228
5226
|
INITIAL: 1,
|
|
5229
5227
|
READY: 2,
|
|
@@ -5320,7 +5318,7 @@ var ct = {
|
|
|
5320
5318
|
}
|
|
5321
5319
|
}]), r;
|
|
5322
5320
|
}(Bn.EventEmitter);
|
|
5323
|
-
function
|
|
5321
|
+
function jo(a) {
|
|
5324
5322
|
for (var o = Object.keys(pe), r = 0; r < o.length; r++) {
|
|
5325
5323
|
var t = pe[o[r]];
|
|
5326
5324
|
if (t.root === a)
|
|
@@ -5328,7 +5326,7 @@ function Wo(a) {
|
|
|
5328
5326
|
}
|
|
5329
5327
|
return null;
|
|
5330
5328
|
}
|
|
5331
|
-
var
|
|
5329
|
+
var Wo = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /* @__PURE__ */ function(a) {
|
|
5332
5330
|
R(r, a);
|
|
5333
5331
|
var o = O(r);
|
|
5334
5332
|
function r(t) {
|
|
@@ -5346,7 +5344,7 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
5346
5344
|
e.resize();
|
|
5347
5345
|
}, 100);
|
|
5348
5346
|
}, w = f.getFullScreenEl();
|
|
5349
|
-
e._fullActionFrom ? e._fullActionFrom = "" : e.emit(
|
|
5347
|
+
e._fullActionFrom ? e._fullActionFrom = "" : e.emit(Mt, {
|
|
5350
5348
|
eventType: "system",
|
|
5351
5349
|
action: "switch_fullscreen",
|
|
5352
5350
|
pluginName: "player",
|
|
@@ -5358,7 +5356,7 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
5358
5356
|
to: !1
|
|
5359
5357
|
}]
|
|
5360
5358
|
});
|
|
5361
|
-
var A =
|
|
5359
|
+
var A = ao(w, e.playerId, Xe);
|
|
5362
5360
|
if (m || w && (w === e._fullscreenEl || A))
|
|
5363
5361
|
y(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, w, C.FULLSCREEN), e.emit(Oe, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
|
|
5364
5362
|
else if (e.fullscreen) {
|
|
@@ -5378,7 +5376,7 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
5378
5376
|
e._fullscreenEl = e.media, e.onFullscreenChange(p, !0);
|
|
5379
5377
|
}), _(v(e), "_onWebkitendfullscreen", function(p) {
|
|
5380
5378
|
e.onFullscreenChange(p, !1);
|
|
5381
|
-
}), rr(v(e),
|
|
5379
|
+
}), rr(v(e), Wo), e.config = i, e._pluginInfoId = f.generateSessionId(), eo(v(e));
|
|
5382
5380
|
var n = e.constructor.defaultPreset;
|
|
5383
5381
|
if (e.config.presets.length) {
|
|
5384
5382
|
var s = e.config.presets.indexOf("default");
|
|
@@ -5407,7 +5405,7 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
5407
5405
|
}, e._offsetInfo = {
|
|
5408
5406
|
currentTime: -1,
|
|
5409
5407
|
duration: 0
|
|
5410
|
-
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = ct.init(e._pluginInfoId), z.os.isAndroid && z.osVersion > 0 && z.osVersion < 6 && (e.config.autoplay = !1), e.database = new
|
|
5408
|
+
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = ct.init(e._pluginInfoId), z.os.isAndroid && z.osVersion > 0 && z.osVersion < 6 && (e.config.autoplay = !1), e.database = new wo(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
|
|
5411
5409
|
isActiveLocked: !1
|
|
5412
5410
|
}, e.instManager = Ue;
|
|
5413
5411
|
var l = e._initDOM();
|
|
@@ -5433,13 +5431,13 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
5433
5431
|
if (n && n.nodeType === 1)
|
|
5434
5432
|
this.root = n;
|
|
5435
5433
|
else
|
|
5436
|
-
return this.emit(
|
|
5434
|
+
return this.emit(Ct, new Pt("use", this.config.vid, {
|
|
5437
5435
|
line: 32,
|
|
5438
5436
|
handle: "Constructor",
|
|
5439
5437
|
msg: "container id can't be empty"
|
|
5440
5438
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
5441
5439
|
}
|
|
5442
|
-
var s =
|
|
5440
|
+
var s = jo(this.root);
|
|
5443
5441
|
s && ($.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(Xe, this.playerId), (e = Ue) === null || e === void 0 || e.add(this), fe.init(this), this._initBaseDoms();
|
|
5444
5442
|
var l = this.constructor.XgVideoProxy;
|
|
5445
5443
|
if (l && this.mediaConfig.mediaType === l.mediaType) {
|
|
@@ -5449,7 +5447,7 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
5449
5447
|
this.attachVideoEvents(c), this.media = c;
|
|
5450
5448
|
}
|
|
5451
5449
|
if (this.media.setAttribute(Xe, this.playerId), this.config.controls) {
|
|
5452
|
-
var h = this.config.controls.root || null, d = fe.register(this,
|
|
5450
|
+
var h = this.config.controls.root || null, d = fe.register(this, Ho, {
|
|
5453
5451
|
root: h
|
|
5454
5452
|
});
|
|
5455
5453
|
this.controls = d;
|
|
@@ -5557,7 +5555,7 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
5557
5555
|
value: function() {
|
|
5558
5556
|
var e = this;
|
|
5559
5557
|
this.config.presets.forEach(function(i) {
|
|
5560
|
-
|
|
5558
|
+
Bo(e, i);
|
|
5561
5559
|
});
|
|
5562
5560
|
}
|
|
5563
5561
|
}, {
|
|
@@ -5857,7 +5855,7 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
5857
5855
|
i && i.catch && i.catch(function(n) {
|
|
5858
5856
|
console.log(n);
|
|
5859
5857
|
});
|
|
5860
|
-
}), e.emit(
|
|
5858
|
+
}), e.emit(Lt), e.onPlay();
|
|
5861
5859
|
});
|
|
5862
5860
|
}
|
|
5863
5861
|
}, {
|
|
@@ -5936,7 +5934,7 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
5936
5934
|
var i = e ? "".concat(C.INNER_FULLSCREEN, " ").concat(C.CSS_FULLSCREEN) : C.CSS_FULLSCREEN;
|
|
5937
5935
|
this.changeFullStyle(this.root, e, i);
|
|
5938
5936
|
var n = this.config.fullscreen, s = n === void 0 ? {} : n, l = s.useCssFullscreen === !0 || typeof s.useCssFullscreen == "function" && s.useCssFullscreen();
|
|
5939
|
-
l && (this.fullscreen = !0, this.emit(Oe, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(
|
|
5937
|
+
l && (this.fullscreen = !0, this.emit(Oe, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(Dt, !0);
|
|
5940
5938
|
}
|
|
5941
5939
|
}, {
|
|
5942
5940
|
key: "exitCssFullscreen",
|
|
@@ -5948,7 +5946,7 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
5948
5946
|
var i = this.config.fullscreen, n = i === void 0 ? {} : i, s = n.useCssFullscreen === !0 || typeof n.useCssFullscreen == "function" && n.useCssFullscreen();
|
|
5949
5947
|
s ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(Oe, !1)) : this.removeClass(e);
|
|
5950
5948
|
}
|
|
5951
|
-
this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(
|
|
5949
|
+
this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(Dt, !1);
|
|
5952
5950
|
}
|
|
5953
5951
|
}, {
|
|
5954
5952
|
key: "getRotateFullscreen",
|
|
@@ -6113,7 +6111,7 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
6113
6111
|
value: function(e, i, n) {
|
|
6114
6112
|
if (!(!this.media || !i || !e)) {
|
|
6115
6113
|
var s = f.typeOf(e) === "String" ? e : e.type || "";
|
|
6116
|
-
n.props && f.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(
|
|
6114
|
+
n.props && f.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(Mt, ae({
|
|
6117
6115
|
eventType: s,
|
|
6118
6116
|
action: i,
|
|
6119
6117
|
currentTime: this.currentTime,
|
|
@@ -6199,7 +6197,7 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
6199
6197
|
value: function(e) {
|
|
6200
6198
|
var i = this;
|
|
6201
6199
|
this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, Me(this, "playnext", function() {
|
|
6202
|
-
i.start(), i.emit(
|
|
6200
|
+
i.start(), i.emit(Ot, e);
|
|
6203
6201
|
});
|
|
6204
6202
|
}
|
|
6205
6203
|
}, {
|
|
@@ -6438,17 +6436,17 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
6438
6436
|
}, {
|
|
6439
6437
|
key: "hook",
|
|
6440
6438
|
value: function(e, i) {
|
|
6441
|
-
return
|
|
6439
|
+
return Ft.call.apply(Ft, [this].concat(Array.prototype.slice.call(arguments)));
|
|
6442
6440
|
}
|
|
6443
6441
|
}, {
|
|
6444
6442
|
key: "useHooks",
|
|
6445
6443
|
value: function(e, i) {
|
|
6446
|
-
return
|
|
6444
|
+
return Nt.call.apply(Nt, [this].concat(Array.prototype.slice.call(arguments)));
|
|
6447
6445
|
}
|
|
6448
6446
|
}, {
|
|
6449
6447
|
key: "removeHooks",
|
|
6450
6448
|
value: function(e, i) {
|
|
6451
|
-
return
|
|
6449
|
+
return Bt.call.apply(Bt, [this].concat(Array.prototype.slice.call(arguments)));
|
|
6452
6450
|
}
|
|
6453
6451
|
}, {
|
|
6454
6452
|
key: "usePluginHooks",
|
|
@@ -6519,7 +6517,7 @@ var Go = ["play", "pause", "replay", "retry"], hn = 0, dn = 0, Ue = null, $t = /
|
|
|
6519
6517
|
r.plugins || (r.plugins = {}), r.plugins[e] = i;
|
|
6520
6518
|
}
|
|
6521
6519
|
}]), r;
|
|
6522
|
-
}(
|
|
6520
|
+
}(Co);
|
|
6523
6521
|
_($t, "defaultPreset", null);
|
|
6524
6522
|
_($t, "XgVideoProxy", null);
|
|
6525
6523
|
$t.instManager = or.getInstance();
|
|
@@ -6534,7 +6532,7 @@ var ze = {
|
|
|
6534
6532
|
WAIT_END: "waitingEnd",
|
|
6535
6533
|
SEEK_START: "seekStart",
|
|
6536
6534
|
SEEK_END: "seekEnd"
|
|
6537
|
-
},
|
|
6535
|
+
}, Go = /* @__PURE__ */ function(a) {
|
|
6538
6536
|
R(r, a);
|
|
6539
6537
|
var o = O(r);
|
|
6540
6538
|
function r() {
|
|
@@ -6597,7 +6595,7 @@ var ze = {
|
|
|
6597
6595
|
e.endState("destroy");
|
|
6598
6596
|
}), this.on(Wt, function() {
|
|
6599
6597
|
e.endState("urlChange"), $.logInfo("[xgLogger]".concat(e.player.playerId, " URL_CHANGE")), e._state.isFFSend && e._onReset();
|
|
6600
|
-
}), this.on([Ci, Fe], this._onPlaying), this.on(
|
|
6598
|
+
}), this.on([Ci, Fe], this._onPlaying), this.on(wt, this._onWaiting), this.on(Ct, this._onError), this.on(Gt, function() {
|
|
6601
6599
|
$.logInfo("[xgLogger]".concat(e.player.playerId, " RESET")), e.endState("reset"), e._initOnceEvents(), e._onReset();
|
|
6602
6600
|
});
|
|
6603
6601
|
}
|
|
@@ -6685,13 +6683,13 @@ var ze = {
|
|
|
6685
6683
|
}
|
|
6686
6684
|
}]), r;
|
|
6687
6685
|
}(J);
|
|
6688
|
-
function
|
|
6686
|
+
function $o() {
|
|
6689
6687
|
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">
|
|
6690
6688
|
<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>
|
|
6691
6689
|
</svg>
|
|
6692
6690
|
`, "image/svg+xml").firstChild;
|
|
6693
6691
|
}
|
|
6694
|
-
var
|
|
6692
|
+
var Ko = /* @__PURE__ */ function(a) {
|
|
6695
6693
|
R(r, a);
|
|
6696
6694
|
var o = O(r);
|
|
6697
6695
|
function r() {
|
|
@@ -6701,7 +6699,7 @@ var Yo = /* @__PURE__ */ function(a) {
|
|
|
6701
6699
|
key: "registerIcons",
|
|
6702
6700
|
value: function() {
|
|
6703
6701
|
return {
|
|
6704
|
-
replay:
|
|
6702
|
+
replay: $o
|
|
6705
6703
|
};
|
|
6706
6704
|
}
|
|
6707
6705
|
}, {
|
|
@@ -6774,7 +6772,7 @@ var Yo = /* @__PURE__ */ function(a) {
|
|
|
6774
6772
|
};
|
|
6775
6773
|
}
|
|
6776
6774
|
}]), r;
|
|
6777
|
-
}(J),
|
|
6775
|
+
}(J), Yo = /* @__PURE__ */ function(a) {
|
|
6778
6776
|
R(r, a);
|
|
6779
6777
|
var o = O(r);
|
|
6780
6778
|
function r() {
|
|
@@ -6899,7 +6897,7 @@ function Pi() {
|
|
|
6899
6897
|
`, "image/svg+xml").firstChild;
|
|
6900
6898
|
}
|
|
6901
6899
|
var Pe = {};
|
|
6902
|
-
function
|
|
6900
|
+
function Xo(a, o) {
|
|
6903
6901
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
6904
6902
|
start: null,
|
|
6905
6903
|
end: null
|
|
@@ -6917,7 +6915,7 @@ function gn(a) {
|
|
|
6917
6915
|
window.clearTimeout(Pe[o].id), delete Pe[o];
|
|
6918
6916
|
});
|
|
6919
6917
|
}
|
|
6920
|
-
var
|
|
6918
|
+
var qo = /* @__PURE__ */ function(a) {
|
|
6921
6919
|
R(r, a);
|
|
6922
6920
|
var o = O(r);
|
|
6923
6921
|
function r(t) {
|
|
@@ -7009,7 +7007,7 @@ var Zo = /* @__PURE__ */ function(a) {
|
|
|
7009
7007
|
key: "animate",
|
|
7010
7008
|
value: function(e) {
|
|
7011
7009
|
var i = this;
|
|
7012
|
-
this._animateId =
|
|
7010
|
+
this._animateId = Xo("pauseplay", 400, {
|
|
7013
7011
|
start: function() {
|
|
7014
7012
|
f.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
|
|
7015
7013
|
},
|
|
@@ -7092,7 +7090,7 @@ var Zo = /* @__PURE__ */ function(a) {
|
|
|
7092
7090
|
};
|
|
7093
7091
|
}
|
|
7094
7092
|
}]), r;
|
|
7095
|
-
}(J),
|
|
7093
|
+
}(J), Zo = /* @__PURE__ */ function(a) {
|
|
7096
7094
|
R(r, a);
|
|
7097
7095
|
var o = O(r);
|
|
7098
7096
|
function r() {
|
|
@@ -7192,7 +7190,7 @@ function vn(a) {
|
|
|
7192
7190
|
return r && o;
|
|
7193
7191
|
}
|
|
7194
7192
|
var Li = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], lr = Li.length;
|
|
7195
|
-
function
|
|
7193
|
+
function Jo() {
|
|
7196
7194
|
for (var a = {
|
|
7197
7195
|
width: 0,
|
|
7198
7196
|
height: 0,
|
|
@@ -7206,15 +7204,15 @@ function Qo() {
|
|
|
7206
7204
|
}
|
|
7207
7205
|
return a;
|
|
7208
7206
|
}
|
|
7209
|
-
function
|
|
7207
|
+
function Qo(a) {
|
|
7210
7208
|
var o = window.getComputedStyle(a);
|
|
7211
7209
|
return o;
|
|
7212
7210
|
}
|
|
7213
7211
|
function mn(a) {
|
|
7214
7212
|
if (typeof a == "string" && (a = document.querySelector(a)), !(!a || ge(a) !== "object" || !a.nodeType)) {
|
|
7215
|
-
var o =
|
|
7213
|
+
var o = Qo(a);
|
|
7216
7214
|
if (o.display === "none")
|
|
7217
|
-
return
|
|
7215
|
+
return Jo();
|
|
7218
7216
|
var r = {};
|
|
7219
7217
|
r.width = a.offsetWidth, r.height = a.offsetHeight;
|
|
7220
7218
|
for (var t = r.isBorderBox = o.boxSizing === "border-box", e = 0; e < lr; e++) {
|
|
@@ -7242,7 +7240,7 @@ var si = {
|
|
|
7242
7240
|
mousedown: ["mousemove", "mouseup"],
|
|
7243
7241
|
touchstart: ["touchmove", "touchend", "touchcancel"],
|
|
7244
7242
|
pointerdown: ["pointermove", "pointerup", "pointercancel"]
|
|
7245
|
-
},
|
|
7243
|
+
}, el = /* @__PURE__ */ function(a) {
|
|
7246
7244
|
R(r, a);
|
|
7247
7245
|
var o = O(r);
|
|
7248
7246
|
function r(t) {
|
|
@@ -7452,7 +7450,7 @@ var si = {
|
|
|
7452
7450
|
return parseInt(e, 10);
|
|
7453
7451
|
}
|
|
7454
7452
|
}]), r;
|
|
7455
|
-
}(Hn),
|
|
7453
|
+
}(Hn), tl = /* @__PURE__ */ function(a) {
|
|
7456
7454
|
R(r, a);
|
|
7457
7455
|
var o = O(r);
|
|
7458
7456
|
function r(t) {
|
|
@@ -7508,7 +7506,7 @@ var si = {
|
|
|
7508
7506
|
i.controls.registerPlugin(pn, s, pn.pluginName);
|
|
7509
7507
|
}
|
|
7510
7508
|
var l = f.checkTouchSupport() ? "touchend" : "click";
|
|
7511
|
-
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new
|
|
7509
|
+
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new el(this.player.root, {
|
|
7512
7510
|
handle: this.root
|
|
7513
7511
|
})), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
|
|
7514
7512
|
}
|
|
@@ -7541,7 +7539,7 @@ var si = {
|
|
|
7541
7539
|
var i = this.player, n = this.playerConfig, s = this.config.target || this.player.root;
|
|
7542
7540
|
this.lastStyle = {}, f.addClass(i.root, "xgplayer-mini"), ["width", "height", "top", "left"].map(function(l) {
|
|
7543
7541
|
e.lastStyle[l] = s.style[l], s.style[l] = "".concat(e.pos[l], "px");
|
|
7544
|
-
}), n.fluid && (s.style["padding-top"] = ""), this.emit(
|
|
7542
|
+
}), n.fluid && (s.style["padding-top"] = ""), this.emit(Rt, !0), i.isMini = this.isMini = !0;
|
|
7545
7543
|
}
|
|
7546
7544
|
}
|
|
7547
7545
|
}, {
|
|
@@ -7553,7 +7551,7 @@ var si = {
|
|
|
7553
7551
|
var i = this.player, n = this.playerConfig, s = this.config.target || this.player.root;
|
|
7554
7552
|
f.removeClass(i.root, "xgplayer-mini"), this.lastStyle && Object.keys(this.lastStyle).map(function(l) {
|
|
7555
7553
|
s.style[l] = e.lastStyle[l];
|
|
7556
|
-
}), this.lastStyle = null, n.fluid && (i.root.style.width = "100%", i.root.style.height = "0", i.root.style["padding-top"] = "".concat(n.height * 100 / n.width, "%")), this.emit(
|
|
7554
|
+
}), this.lastStyle = null, n.fluid && (i.root.style.width = "100%", i.root.style.height = "0", i.root.style["padding-top"] = "".concat(n.height * 100 / n.width, "%")), this.emit(Rt, !1), this.isMini = i.isMini = !1;
|
|
7557
7555
|
}
|
|
7558
7556
|
}, {
|
|
7559
7557
|
key: "destroy",
|
|
@@ -7602,7 +7600,7 @@ var si = {
|
|
|
7602
7600
|
};
|
|
7603
7601
|
}
|
|
7604
7602
|
}]), r;
|
|
7605
|
-
}(J),
|
|
7603
|
+
}(J), Et = {
|
|
7606
7604
|
mouseenter: "onMouseEnter",
|
|
7607
7605
|
mouseleave: "onMouseLeave",
|
|
7608
7606
|
mousemove: "onMouseMove"
|
|
@@ -7676,8 +7674,8 @@ var si = {
|
|
|
7676
7674
|
key: "initEvents",
|
|
7677
7675
|
value: function() {
|
|
7678
7676
|
var e = this, i = this.player, n = i.media, s = i.root, l = this.playerConfig.enableContextmenu;
|
|
7679
|
-
s && s.addEventListener("click", this.onVideoClick, !1), s && s.addEventListener("dblclick", this.onVideoDblClick, !1), Object.keys(
|
|
7680
|
-
s.addEventListener(u, e[
|
|
7677
|
+
s && s.addEventListener("click", this.onVideoClick, !1), s && s.addEventListener("dblclick", this.onVideoDblClick, !1), Object.keys(Et).map(function(u) {
|
|
7678
|
+
s.addEventListener(u, e[Et[u]], !1);
|
|
7681
7679
|
}), !l && n && n.addEventListener("contextmenu", this.onContextmenu, !1);
|
|
7682
7680
|
}
|
|
7683
7681
|
}, {
|
|
@@ -7699,8 +7697,8 @@ var si = {
|
|
|
7699
7697
|
key: "destroy",
|
|
7700
7698
|
value: function() {
|
|
7701
7699
|
var e = this, i = this.player, n = i.video, s = i.root;
|
|
7702
|
-
this.clickTimer && clearTimeout(this.clickTimer), s.removeEventListener("click", this.onVideoClick, !1), s.removeEventListener("dblclick", this.onVideoDblClick, !1), n.removeEventListener("contextmenu", this.onContextmenu, !1), Object.keys(
|
|
7703
|
-
s.removeEventListener(l, e[
|
|
7700
|
+
this.clickTimer && clearTimeout(this.clickTimer), s.removeEventListener("click", this.onVideoClick, !1), s.removeEventListener("dblclick", this.onVideoDblClick, !1), n.removeEventListener("contextmenu", this.onContextmenu, !1), Object.keys(Et).map(function(l) {
|
|
7701
|
+
s.removeEventListener(l, e[Et[l]], !1);
|
|
7704
7702
|
});
|
|
7705
7703
|
}
|
|
7706
7704
|
}], [{
|
|
@@ -7722,12 +7720,12 @@ var si = {
|
|
|
7722
7720
|
TOUCH_MOVE: "touchmove",
|
|
7723
7721
|
TOUCH_START: "touchstart",
|
|
7724
7722
|
TOUCH_END: "touchend"
|
|
7725
|
-
},
|
|
7723
|
+
}, il = {
|
|
7726
7724
|
start: "touchstart",
|
|
7727
7725
|
end: "touchend",
|
|
7728
7726
|
move: "touchmove",
|
|
7729
7727
|
cancel: "touchcancel"
|
|
7730
|
-
},
|
|
7728
|
+
}, nl = {
|
|
7731
7729
|
start: "mousedown",
|
|
7732
7730
|
end: "mouseup",
|
|
7733
7731
|
move: "mousemove",
|
|
@@ -7736,7 +7734,7 @@ var si = {
|
|
|
7736
7734
|
function _n(a) {
|
|
7737
7735
|
return a && a.length > 0 ? a[a.length - 1] : null;
|
|
7738
7736
|
}
|
|
7739
|
-
function
|
|
7737
|
+
function rl() {
|
|
7740
7738
|
return {
|
|
7741
7739
|
pressDelay: 600,
|
|
7742
7740
|
dbClickDelay: 200,
|
|
@@ -7746,7 +7744,7 @@ function sl() {
|
|
|
7746
7744
|
needPreventDefault: !0
|
|
7747
7745
|
};
|
|
7748
7746
|
}
|
|
7749
|
-
var
|
|
7747
|
+
var sl = /* @__PURE__ */ function() {
|
|
7750
7748
|
function a(o) {
|
|
7751
7749
|
var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
7752
7750
|
eventType: "touch"
|
|
@@ -7767,9 +7765,9 @@ var al = /* @__PURE__ */ function() {
|
|
|
7767
7765
|
start: !1,
|
|
7768
7766
|
x: 0,
|
|
7769
7767
|
y: 0
|
|
7770
|
-
}, this.config =
|
|
7768
|
+
}, this.config = rl(), Object.keys(t).map(function(e) {
|
|
7771
7769
|
r.config[e] = t[e];
|
|
7772
|
-
}), this.root = o, this.events = t.eventType === "mouse" ?
|
|
7770
|
+
}), this.root = o, this.events = t.eventType === "mouse" ? nl : il, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
|
|
7773
7771
|
}
|
|
7774
7772
|
return L(a, [{
|
|
7775
7773
|
key: "_initEvent",
|
|
@@ -7848,7 +7846,7 @@ var al = /* @__PURE__ */ function() {
|
|
|
7848
7846
|
}
|
|
7849
7847
|
}]), a;
|
|
7850
7848
|
}();
|
|
7851
|
-
function
|
|
7849
|
+
function al() {
|
|
7852
7850
|
return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
7853
7851
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
7854
7852
|
<path opacity="0.54"
|
|
@@ -7862,7 +7860,7 @@ var rt = {
|
|
|
7862
7860
|
SEEKING: "seeking",
|
|
7863
7861
|
PLAYBACK: "playbackrate",
|
|
7864
7862
|
LIGHT: ""
|
|
7865
|
-
}, li = ["videoClick", "videoDbClick"],
|
|
7863
|
+
}, li = ["videoClick", "videoDbClick"], ol = /* @__PURE__ */ function(a) {
|
|
7866
7864
|
R(r, a);
|
|
7867
7865
|
var o = O(r);
|
|
7868
7866
|
function r(t) {
|
|
@@ -7934,7 +7932,7 @@ var rt = {
|
|
|
7934
7932
|
value: function() {
|
|
7935
7933
|
return {
|
|
7936
7934
|
seekTipIcon: {
|
|
7937
|
-
icon:
|
|
7935
|
+
icon: al,
|
|
7938
7936
|
class: "xg-seek-pre"
|
|
7939
7937
|
}
|
|
7940
7938
|
};
|
|
@@ -7949,7 +7947,7 @@ var rt = {
|
|
|
7949
7947
|
var i = this.playerConfig, n = this.config, s = this.player;
|
|
7950
7948
|
i.closeVideoDblclick === !0 && (n.closedbClick = !0), this.resetPos(), f.isUndefined(i.disableGesture) || (n.disableGesture = !!i.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = f.createDom("xg-mask", "", {}, "xgmask"), s.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
|
|
7951
7949
|
var l = this.domEventType === "mouse" ? "mouse" : "touch";
|
|
7952
|
-
this.touch = new
|
|
7950
|
+
this.touch = new sl(this.root, {
|
|
7953
7951
|
eventType: l,
|
|
7954
7952
|
needPreventDefault: !this.config.disableGesture
|
|
7955
7953
|
}), this.root.addEventListener("contextmenu", function(d) {
|
|
@@ -8291,7 +8289,7 @@ var rt = {
|
|
|
8291
8289
|
}
|
|
8292
8290
|
}]), r;
|
|
8293
8291
|
}(J);
|
|
8294
|
-
function
|
|
8292
|
+
function ll(a) {
|
|
8295
8293
|
a.preventDefault(), a.returnValue = !1;
|
|
8296
8294
|
}
|
|
8297
8295
|
function kn(a) {
|
|
@@ -8540,7 +8538,7 @@ var Cn = /* @__PURE__ */ function(a) {
|
|
|
8540
8538
|
isPress: n
|
|
8541
8539
|
}, this.keyCodeMap[s[l]]));
|
|
8542
8540
|
}
|
|
8543
|
-
|
|
8541
|
+
ll(i), i.stopPropagation();
|
|
8544
8542
|
break;
|
|
8545
8543
|
}
|
|
8546
8544
|
}
|
|
@@ -8582,13 +8580,13 @@ var Cn = /* @__PURE__ */ function(a) {
|
|
|
8582
8580
|
}
|
|
8583
8581
|
}]), r;
|
|
8584
8582
|
}(We);
|
|
8585
|
-
function
|
|
8583
|
+
function ul() {
|
|
8586
8584
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
|
|
8587
8585
|
<path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
|
|
8588
8586
|
</svg>
|
|
8589
8587
|
`, "image/svg+xml").firstChild;
|
|
8590
8588
|
}
|
|
8591
|
-
var
|
|
8589
|
+
var cl = /* @__PURE__ */ function(a) {
|
|
8592
8590
|
R(r, a);
|
|
8593
8591
|
var o = O(r);
|
|
8594
8592
|
function r() {
|
|
@@ -8598,7 +8596,7 @@ var fl = /* @__PURE__ */ function(a) {
|
|
|
8598
8596
|
key: "registerIcons",
|
|
8599
8597
|
value: function() {
|
|
8600
8598
|
return {
|
|
8601
|
-
loadingIcon:
|
|
8599
|
+
loadingIcon: ul
|
|
8602
8600
|
};
|
|
8603
8601
|
}
|
|
8604
8602
|
}, {
|
|
@@ -8627,7 +8625,7 @@ var fl = /* @__PURE__ */ function(a) {
|
|
|
8627
8625
|
};
|
|
8628
8626
|
}
|
|
8629
8627
|
}]), r;
|
|
8630
|
-
}(J),
|
|
8628
|
+
}(J), fl = [{
|
|
8631
8629
|
tag: "xg-cache",
|
|
8632
8630
|
className: "xgplayer-progress-cache",
|
|
8633
8631
|
styleKey: "cachedColor"
|
|
@@ -8635,7 +8633,7 @@ var fl = /* @__PURE__ */ function(a) {
|
|
|
8635
8633
|
tag: "xg-played",
|
|
8636
8634
|
className: "xgplayer-progress-played",
|
|
8637
8635
|
styleKey: "playedColor"
|
|
8638
|
-
}],
|
|
8636
|
+
}], hl = /* @__PURE__ */ function() {
|
|
8639
8637
|
function a(o) {
|
|
8640
8638
|
P(this, a), this.fragments = o.fragments || [], this.fragments.length === 0 && this.fragments.push({
|
|
8641
8639
|
percent: 1
|
|
@@ -8822,7 +8820,7 @@ var fl = /* @__PURE__ */ function(a) {
|
|
|
8822
8820
|
var l = f.createDom("xg-inner", "", {
|
|
8823
8821
|
style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
|
|
8824
8822
|
}, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
|
|
8825
|
-
return r.root.appendChild(l),
|
|
8823
|
+
return r.root.appendChild(l), fl.forEach(function(u) {
|
|
8826
8824
|
l.appendChild(f.createDom(u.tag, "", {
|
|
8827
8825
|
style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
|
|
8828
8826
|
}, u.className));
|
|
@@ -8838,7 +8836,7 @@ var fl = /* @__PURE__ */ function(a) {
|
|
|
8838
8836
|
}(), wn = {
|
|
8839
8837
|
POINT: "inner-focus-point",
|
|
8840
8838
|
HIGHLIGHT: "inner-focus-highlight"
|
|
8841
|
-
},
|
|
8839
|
+
}, dl = /* @__PURE__ */ function(a) {
|
|
8842
8840
|
R(r, a);
|
|
8843
8841
|
var o = O(r);
|
|
8844
8842
|
function r(t) {
|
|
@@ -8968,7 +8966,7 @@ var fl = /* @__PURE__ */ function(a) {
|
|
|
8968
8966
|
e.emitUserAction("fragment_focus", "fragment_focus", u);
|
|
8969
8967
|
}
|
|
8970
8968
|
});
|
|
8971
|
-
this.innerList ? this.innerList.reset(s) : (this.innerList = new
|
|
8969
|
+
this.innerList ? this.innerList.reset(s) : (this.innerList = new hl(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
|
|
8972
8970
|
e[l] = e.innerList[l].bind(e.innerList);
|
|
8973
8971
|
}));
|
|
8974
8972
|
}
|
|
@@ -9278,7 +9276,7 @@ var fl = /* @__PURE__ */ function(a) {
|
|
|
9278
9276
|
this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
|
|
9279
9277
|
}
|
|
9280
9278
|
}]), r;
|
|
9281
|
-
}(J),
|
|
9279
|
+
}(J), gl = /* @__PURE__ */ function(a) {
|
|
9282
9280
|
R(r, a);
|
|
9283
9281
|
var o = O(r);
|
|
9284
9282
|
function r() {
|
|
@@ -9290,7 +9288,7 @@ var fl = /* @__PURE__ */ function(a) {
|
|
|
9290
9288
|
var e = this;
|
|
9291
9289
|
N(F(r.prototype), "afterCreate", this).call(this);
|
|
9292
9290
|
var i = this.player, n = this.config;
|
|
9293
|
-
n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([ht,
|
|
9291
|
+
n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([ht, Ct, Qe], function() {
|
|
9294
9292
|
e.animate(i.paused);
|
|
9295
9293
|
}), this.on(be, function() {
|
|
9296
9294
|
e.animate(i.paused);
|
|
@@ -9366,14 +9364,14 @@ var fl = /* @__PURE__ */ function(a) {
|
|
|
9366
9364
|
}
|
|
9367
9365
|
}]), r;
|
|
9368
9366
|
}(et);
|
|
9369
|
-
function
|
|
9367
|
+
function pl() {
|
|
9370
9368
|
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">
|
|
9371
9369
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
9372
9370
|
<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>
|
|
9373
9371
|
</g>
|
|
9374
9372
|
</svg>`, "image/svg+xml").firstChild;
|
|
9375
9373
|
}
|
|
9376
|
-
var
|
|
9374
|
+
var vl = /* @__PURE__ */ function(a) {
|
|
9377
9375
|
R(r, a);
|
|
9378
9376
|
var o = O(r);
|
|
9379
9377
|
function r() {
|
|
@@ -9392,7 +9390,7 @@ var ml = /* @__PURE__ */ function(a) {
|
|
|
9392
9390
|
value: function() {
|
|
9393
9391
|
return {
|
|
9394
9392
|
screenBack: {
|
|
9395
|
-
icon:
|
|
9393
|
+
icon: pl,
|
|
9396
9394
|
class: "xg-fullscreen-back"
|
|
9397
9395
|
}
|
|
9398
9396
|
};
|
|
@@ -9434,19 +9432,19 @@ var ml = /* @__PURE__ */ function(a) {
|
|
|
9434
9432
|
}
|
|
9435
9433
|
}]), r;
|
|
9436
9434
|
}(J);
|
|
9437
|
-
function
|
|
9435
|
+
function ml() {
|
|
9438
9436
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
9439
9437
|
<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>
|
|
9440
9438
|
</svg>
|
|
9441
9439
|
`, "image/svg+xml").firstChild;
|
|
9442
9440
|
}
|
|
9443
|
-
function
|
|
9441
|
+
function yl() {
|
|
9444
9442
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
9445
9443
|
<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>
|
|
9446
9444
|
</svg>
|
|
9447
9445
|
`, "image/svg+xml").firstChild;
|
|
9448
9446
|
}
|
|
9449
|
-
var
|
|
9447
|
+
var _l = /* @__PURE__ */ function(a) {
|
|
9450
9448
|
R(r, a);
|
|
9451
9449
|
var o = O(r);
|
|
9452
9450
|
function r() {
|
|
@@ -9481,7 +9479,7 @@ var kl = /* @__PURE__ */ function(a) {
|
|
|
9481
9479
|
var u = e.find(".xg-tips");
|
|
9482
9480
|
u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
|
|
9483
9481
|
}), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
|
|
9484
|
-
plugin:
|
|
9482
|
+
plugin: vl,
|
|
9485
9483
|
options: {
|
|
9486
9484
|
config: {
|
|
9487
9485
|
onClick: function(u) {
|
|
@@ -9497,11 +9495,11 @@ var kl = /* @__PURE__ */ function(a) {
|
|
|
9497
9495
|
value: function() {
|
|
9498
9496
|
return {
|
|
9499
9497
|
fullscreen: {
|
|
9500
|
-
icon:
|
|
9498
|
+
icon: ml,
|
|
9501
9499
|
class: "xg-get-fullscreen"
|
|
9502
9500
|
},
|
|
9503
9501
|
exitFullscreen: {
|
|
9504
|
-
icon:
|
|
9502
|
+
icon: yl,
|
|
9505
9503
|
class: "xg-exit-fullscreen"
|
|
9506
9504
|
}
|
|
9507
9505
|
};
|
|
@@ -9582,7 +9580,7 @@ var kl = /* @__PURE__ */ function(a) {
|
|
|
9582
9580
|
};
|
|
9583
9581
|
}
|
|
9584
9582
|
}]), r;
|
|
9585
|
-
}(et),
|
|
9583
|
+
}(et), kl = /* @__PURE__ */ function(a) {
|
|
9586
9584
|
R(r, a);
|
|
9587
9585
|
var o = O(r);
|
|
9588
9586
|
function r(t) {
|
|
@@ -9732,7 +9730,7 @@ var kl = /* @__PURE__ */ function(a) {
|
|
|
9732
9730
|
};
|
|
9733
9731
|
}
|
|
9734
9732
|
}]), r;
|
|
9735
|
-
}(J),
|
|
9733
|
+
}(J), Cl = /* @__PURE__ */ function(a) {
|
|
9736
9734
|
R(r, a);
|
|
9737
9735
|
var o = O(r);
|
|
9738
9736
|
function r() {
|
|
@@ -9870,28 +9868,28 @@ var kl = /* @__PURE__ */ function(a) {
|
|
|
9870
9868
|
}
|
|
9871
9869
|
}]), r;
|
|
9872
9870
|
}(We);
|
|
9873
|
-
function
|
|
9871
|
+
function wl() {
|
|
9874
9872
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9875
9873
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9876
9874
|
<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>
|
|
9877
9875
|
</svg>
|
|
9878
9876
|
`, "image/svg+xml").firstChild;
|
|
9879
9877
|
}
|
|
9880
|
-
function
|
|
9878
|
+
function bl() {
|
|
9881
9879
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9882
9880
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9883
9881
|
<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>
|
|
9884
9882
|
</svg>
|
|
9885
9883
|
`, "image/svg+xml").firstChild;
|
|
9886
9884
|
}
|
|
9887
|
-
function
|
|
9885
|
+
function Tl() {
|
|
9888
9886
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9889
9887
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9890
9888
|
<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>
|
|
9891
9889
|
</svg>
|
|
9892
9890
|
`, "image/svg+xml").firstChild;
|
|
9893
9891
|
}
|
|
9894
|
-
var
|
|
9892
|
+
var El = /* @__PURE__ */ function(a) {
|
|
9895
9893
|
R(r, a);
|
|
9896
9894
|
var o = O(r);
|
|
9897
9895
|
function r() {
|
|
@@ -9939,15 +9937,15 @@ var Sl = /* @__PURE__ */ function(a) {
|
|
|
9939
9937
|
value: function() {
|
|
9940
9938
|
return {
|
|
9941
9939
|
volumeSmall: {
|
|
9942
|
-
icon:
|
|
9940
|
+
icon: bl,
|
|
9943
9941
|
class: "xg-volume-small"
|
|
9944
9942
|
},
|
|
9945
9943
|
volumeLarge: {
|
|
9946
|
-
icon:
|
|
9944
|
+
icon: wl,
|
|
9947
9945
|
class: "xg-volume"
|
|
9948
9946
|
},
|
|
9949
9947
|
volumeMuted: {
|
|
9950
|
-
icon:
|
|
9948
|
+
icon: Tl,
|
|
9951
9949
|
class: "xg-volume-mute"
|
|
9952
9950
|
}
|
|
9953
9951
|
};
|
|
@@ -10086,7 +10084,7 @@ var Sl = /* @__PURE__ */ function(a) {
|
|
|
10086
10084
|
}
|
|
10087
10085
|
}]), r;
|
|
10088
10086
|
}(J);
|
|
10089
|
-
function
|
|
10087
|
+
function Sl() {
|
|
10090
10088
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
|
|
10091
10089
|
<g clip-path="url(#clip0)">
|
|
10092
10090
|
<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"/>
|
|
@@ -10100,7 +10098,7 @@ function Al() {
|
|
|
10100
10098
|
</svg>
|
|
10101
10099
|
`, "image/svg+xml").firstChild;
|
|
10102
10100
|
}
|
|
10103
|
-
var
|
|
10101
|
+
var Al = /* @__PURE__ */ function(a) {
|
|
10104
10102
|
R(r, a);
|
|
10105
10103
|
var o = O(r);
|
|
10106
10104
|
function r(t) {
|
|
@@ -10163,7 +10161,7 @@ var xl = /* @__PURE__ */ function(a) {
|
|
|
10163
10161
|
key: "registerIcons",
|
|
10164
10162
|
value: function() {
|
|
10165
10163
|
return {
|
|
10166
|
-
rotate:
|
|
10164
|
+
rotate: Sl
|
|
10167
10165
|
};
|
|
10168
10166
|
}
|
|
10169
10167
|
}, {
|
|
@@ -10196,14 +10194,14 @@ var xl = /* @__PURE__ */ function(a) {
|
|
|
10196
10194
|
}
|
|
10197
10195
|
}]), r;
|
|
10198
10196
|
}(et);
|
|
10199
|
-
function
|
|
10197
|
+
function xl() {
|
|
10200
10198
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10201
10199
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
10202
10200
|
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"
|
|
10203
10201
|
fill="white" />
|
|
10204
10202
|
</svg>`, "image/svg+xml").firstChild;
|
|
10205
10203
|
}
|
|
10206
|
-
function
|
|
10204
|
+
function Il() {
|
|
10207
10205
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10208
10206
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
10209
10207
|
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"
|
|
@@ -10217,7 +10215,7 @@ var st = {
|
|
|
10217
10215
|
PIP: "picture-in-picture",
|
|
10218
10216
|
INLINE: "inline",
|
|
10219
10217
|
FULLSCREEN: "fullscreen"
|
|
10220
|
-
},
|
|
10218
|
+
}, Pl = /* @__PURE__ */ function(a) {
|
|
10221
10219
|
R(r, a);
|
|
10222
10220
|
var o = O(r);
|
|
10223
10221
|
function r() {
|
|
@@ -10257,11 +10255,11 @@ var st = {
|
|
|
10257
10255
|
value: function() {
|
|
10258
10256
|
return {
|
|
10259
10257
|
pipIcon: {
|
|
10260
|
-
icon:
|
|
10258
|
+
icon: xl,
|
|
10261
10259
|
class: "xg-get-pip"
|
|
10262
10260
|
},
|
|
10263
10261
|
pipIconExit: {
|
|
10264
|
-
icon:
|
|
10262
|
+
icon: Il,
|
|
10265
10263
|
class: "xg-exit-pip"
|
|
10266
10264
|
}
|
|
10267
10265
|
};
|
|
@@ -10420,20 +10418,20 @@ var st = {
|
|
|
10420
10418
|
}
|
|
10421
10419
|
}]), r;
|
|
10422
10420
|
}(et);
|
|
10423
|
-
function
|
|
10421
|
+
function Ll() {
|
|
10424
10422
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
|
|
10425
10423
|
<path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
|
|
10426
10424
|
</svg>
|
|
10427
10425
|
`, "image/svg+xml").firstChild;
|
|
10428
10426
|
}
|
|
10429
|
-
var
|
|
10427
|
+
var Dl = /* @__PURE__ */ function(a) {
|
|
10430
10428
|
R(r, a);
|
|
10431
10429
|
var o = O(r);
|
|
10432
10430
|
function r(t) {
|
|
10433
10431
|
var e;
|
|
10434
10432
|
return P(this, r), e = o.call(this, t), _(v(e), "playNext", function(i) {
|
|
10435
10433
|
var n = v(e), s = n.player;
|
|
10436
|
-
i.preventDefault(), i.stopPropagation(), e.idx + 1 < e.config.urlList.length ? (e.idx++, e.nextHandler(e.config.urlList[e.idx], e.idx), s.emit(
|
|
10434
|
+
i.preventDefault(), i.stopPropagation(), e.idx + 1 < e.config.urlList.length ? (e.idx++, e.nextHandler(e.config.urlList[e.idx], e.idx), s.emit(Ot, e.idx + 1)) : (e.nextHandler(), s.emit(Ot));
|
|
10437
10435
|
}), e.idx = -1, e;
|
|
10438
10436
|
}
|
|
10439
10437
|
return L(r, [{
|
|
@@ -10445,7 +10443,7 @@ var Rl = /* @__PURE__ */ function(a) {
|
|
|
10445
10443
|
key: "registerIcons",
|
|
10446
10444
|
value: function() {
|
|
10447
10445
|
return {
|
|
10448
|
-
playNext:
|
|
10446
|
+
playNext: Ll
|
|
10449
10447
|
};
|
|
10450
10448
|
}
|
|
10451
10449
|
}, {
|
|
@@ -10567,9 +10565,9 @@ Use Save As... to download, then click back to return to this page.`) && (locati
|
|
|
10567
10565
|
};
|
|
10568
10566
|
});
|
|
10569
10567
|
})(ur);
|
|
10570
|
-
var
|
|
10571
|
-
const
|
|
10572
|
-
function
|
|
10568
|
+
var Rl = ur.exports;
|
|
10569
|
+
const Ol = /* @__PURE__ */ yi(Rl);
|
|
10570
|
+
function Ml() {
|
|
10573
10571
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
|
|
10574
10572
|
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10575
10573
|
<g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
|
|
@@ -10586,7 +10584,7 @@ function Fl() {
|
|
|
10586
10584
|
</svg>
|
|
10587
10585
|
`, "image/svg+xml").firstChild;
|
|
10588
10586
|
}
|
|
10589
|
-
var
|
|
10587
|
+
var Fl = /* @__PURE__ */ function(a) {
|
|
10590
10588
|
R(r, a);
|
|
10591
10589
|
var o = O(r);
|
|
10592
10590
|
function r(t) {
|
|
@@ -10597,7 +10595,7 @@ var Nl = /* @__PURE__ */ function(a) {
|
|
|
10597
10595
|
var n = e.playerConfig.url, s = "";
|
|
10598
10596
|
f.typeOf(n) === "String" ? s = n : f.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
|
|
10599
10597
|
var l = e.getAbsoluteURL(s);
|
|
10600
|
-
|
|
10598
|
+
Ol(l), e.isLock = !0, e.timer = window.setTimeout(function() {
|
|
10601
10599
|
e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
|
|
10602
10600
|
}, 300);
|
|
10603
10601
|
}
|
|
@@ -10616,7 +10614,7 @@ var Nl = /* @__PURE__ */ function(a) {
|
|
|
10616
10614
|
key: "registerIcons",
|
|
10617
10615
|
value: function() {
|
|
10618
10616
|
return {
|
|
10619
|
-
download:
|
|
10617
|
+
download: Ml
|
|
10620
10618
|
};
|
|
10621
10619
|
}
|
|
10622
10620
|
}, {
|
|
@@ -10658,7 +10656,7 @@ var Nl = /* @__PURE__ */ function(a) {
|
|
|
10658
10656
|
};
|
|
10659
10657
|
}
|
|
10660
10658
|
}]), r;
|
|
10661
|
-
}(et),
|
|
10659
|
+
}(et), Nl = /* @__PURE__ */ function(a) {
|
|
10662
10660
|
R(r, a);
|
|
10663
10661
|
var o = O(r);
|
|
10664
10662
|
function r() {
|
|
@@ -10784,7 +10782,7 @@ var Nl = /* @__PURE__ */ function(a) {
|
|
|
10784
10782
|
};
|
|
10785
10783
|
}
|
|
10786
10784
|
}]), r;
|
|
10787
|
-
}(et),
|
|
10785
|
+
}(et), Bl = /* @__PURE__ */ function() {
|
|
10788
10786
|
function a(o) {
|
|
10789
10787
|
P(this, a), this.config = o.config, this.parent = o.root, this.root = f.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), o.root.appendChild(this.root);
|
|
10790
10788
|
var r = this.config.maxHeight;
|
|
@@ -10864,10 +10862,10 @@ var Nl = /* @__PURE__ */ function(a) {
|
|
|
10864
10862
|
CLICK: "click",
|
|
10865
10863
|
HOVER: "hover"
|
|
10866
10864
|
};
|
|
10867
|
-
function
|
|
10865
|
+
function Hl(a, o) {
|
|
10868
10866
|
return a === Ie.SIDE ? o === Q.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
|
|
10869
10867
|
}
|
|
10870
|
-
var Ye = z.device === "mobile",
|
|
10868
|
+
var Ye = z.device === "mobile", Ht = /* @__PURE__ */ function(a) {
|
|
10871
10869
|
R(r, a);
|
|
10872
10870
|
var o = O(r);
|
|
10873
10871
|
function r(t) {
|
|
@@ -10978,7 +10976,7 @@ var Ye = z.device === "mobile", Ut = /* @__PURE__ */ function(a) {
|
|
|
10978
10976
|
var c = {
|
|
10979
10977
|
config: {
|
|
10980
10978
|
data: e || [],
|
|
10981
|
-
className:
|
|
10979
|
+
className: Hl(s.listType, s.position),
|
|
10982
10980
|
onItemClick: function(m, y) {
|
|
10983
10981
|
n.onItemClick(m, y);
|
|
10984
10982
|
},
|
|
@@ -10988,7 +10986,7 @@ var Ye = z.device === "mobile", Ut = /* @__PURE__ */ function(a) {
|
|
|
10988
10986
|
};
|
|
10989
10987
|
if (this.config.isShowIcon) {
|
|
10990
10988
|
var h = this.player.root.getBoundingClientRect(), d = h.height, g = s.listType === Ie.MIDDLE ? d - 50 : d;
|
|
10991
|
-
g && s.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new
|
|
10989
|
+
g && s.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new Bl(c), this.changeCurrentText(), this.show();
|
|
10992
10990
|
}
|
|
10993
10991
|
this._resizeList();
|
|
10994
10992
|
}
|
|
@@ -11039,7 +11037,7 @@ var Ye = z.device === "mobile", Ut = /* @__PURE__ */ function(a) {
|
|
|
11039
11037
|
};
|
|
11040
11038
|
}
|
|
11041
11039
|
}]), r;
|
|
11042
|
-
}(J),
|
|
11040
|
+
}(J), Ul = /* @__PURE__ */ function(a) {
|
|
11043
11041
|
R(r, a);
|
|
11044
11042
|
var o = O(r);
|
|
11045
11043
|
function r(t) {
|
|
@@ -11128,7 +11126,7 @@ var Ye = z.device === "mobile", Ut = /* @__PURE__ */ function(a) {
|
|
|
11128
11126
|
}, {
|
|
11129
11127
|
key: "defaultConfig",
|
|
11130
11128
|
get: function() {
|
|
11131
|
-
return ae(ae({},
|
|
11129
|
+
return ae(ae({}, Ht.defaultConfig), {}, {
|
|
11132
11130
|
position: Q.CONTROLS_RIGHT,
|
|
11133
11131
|
index: 3,
|
|
11134
11132
|
list: [],
|
|
@@ -11140,7 +11138,7 @@ var Ye = z.device === "mobile", Ut = /* @__PURE__ */ function(a) {
|
|
|
11140
11138
|
});
|
|
11141
11139
|
}
|
|
11142
11140
|
}]), r;
|
|
11143
|
-
}(
|
|
11141
|
+
}(Ht), zl = /* @__PURE__ */ function(a) {
|
|
11144
11142
|
R(r, a);
|
|
11145
11143
|
var o = O(r);
|
|
11146
11144
|
function r(t) {
|
|
@@ -11222,7 +11220,7 @@ var Ye = z.device === "mobile", Ut = /* @__PURE__ */ function(a) {
|
|
|
11222
11220
|
}, {
|
|
11223
11221
|
key: "defaultConfig",
|
|
11224
11222
|
get: function() {
|
|
11225
|
-
return ae(ae({},
|
|
11223
|
+
return ae(ae({}, Ht.defaultConfig), {}, {
|
|
11226
11224
|
position: Q.CONTROLS_RIGHT,
|
|
11227
11225
|
index: 4,
|
|
11228
11226
|
list: [2, 1.5, 1, 0.75, 0.5],
|
|
@@ -11232,14 +11230,14 @@ var Ye = z.device === "mobile", Ut = /* @__PURE__ */ function(a) {
|
|
|
11232
11230
|
});
|
|
11233
11231
|
}
|
|
11234
11232
|
}]), r;
|
|
11235
|
-
}(
|
|
11236
|
-
function
|
|
11233
|
+
}(Ht);
|
|
11234
|
+
function Vl() {
|
|
11237
11235
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
11238
11236
|
<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>
|
|
11239
11237
|
</svg>
|
|
11240
11238
|
`, "image/svg+xml").firstChild;
|
|
11241
11239
|
}
|
|
11242
|
-
function
|
|
11240
|
+
function jl() {
|
|
11243
11241
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
11244
11242
|
<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>
|
|
11245
11243
|
</svg>
|
|
@@ -11260,7 +11258,7 @@ var bn = /* @__PURE__ */ function(a) {
|
|
|
11260
11258
|
key: "afterCreate",
|
|
11261
11259
|
value: function() {
|
|
11262
11260
|
var e = this;
|
|
11263
|
-
N(F(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(
|
|
11261
|
+
N(F(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(Dt, function(i) {
|
|
11264
11262
|
e.animate(i);
|
|
11265
11263
|
}), this.btnClick = this.btnClick.bind(this), this.handleCssFullscreen = this.hook("cssFullscreen_change", this.btnClick, {
|
|
11266
11264
|
pre: function(n) {
|
|
@@ -11299,11 +11297,11 @@ var bn = /* @__PURE__ */ function(a) {
|
|
|
11299
11297
|
value: function() {
|
|
11300
11298
|
return {
|
|
11301
11299
|
cssFullscreen: {
|
|
11302
|
-
icon:
|
|
11300
|
+
icon: Vl,
|
|
11303
11301
|
class: "xg-get-cssfull"
|
|
11304
11302
|
},
|
|
11305
11303
|
exitCssFullscreen: {
|
|
11306
|
-
icon:
|
|
11304
|
+
icon: jl,
|
|
11307
11305
|
class: "xg-exit-cssfull"
|
|
11308
11306
|
}
|
|
11309
11307
|
};
|
|
@@ -11339,7 +11337,7 @@ var bn = /* @__PURE__ */ function(a) {
|
|
|
11339
11337
|
};
|
|
11340
11338
|
}
|
|
11341
11339
|
}]), r;
|
|
11342
|
-
}(et),
|
|
11340
|
+
}(et), Wl = /* @__PURE__ */ function(a) {
|
|
11343
11341
|
R(r, a);
|
|
11344
11342
|
var o = O(r);
|
|
11345
11343
|
function r() {
|
|
@@ -11353,7 +11351,7 @@ var bn = /* @__PURE__ */ function(a) {
|
|
|
11353
11351
|
pre: function(n) {
|
|
11354
11352
|
n.preventDefault(), n.stopPropagation();
|
|
11355
11353
|
}
|
|
11356
|
-
}), this.onError = this.hook("showError", this.handleError), this.bind(".xgplayer-error-refresh", "click", this.clickHandler), this.on(
|
|
11354
|
+
}), this.onError = this.hook("showError", this.handleError), this.bind(".xgplayer-error-refresh", "click", this.clickHandler), this.on(Ct, function(i) {
|
|
11357
11355
|
e.onError(i);
|
|
11358
11356
|
});
|
|
11359
11357
|
}
|
|
@@ -11400,7 +11398,7 @@ var bn = /* @__PURE__ */ function(a) {
|
|
|
11400
11398
|
return "error";
|
|
11401
11399
|
}
|
|
11402
11400
|
}]), r;
|
|
11403
|
-
}(J),
|
|
11401
|
+
}(J), Gl = /* @__PURE__ */ function(a) {
|
|
11404
11402
|
R(r, a);
|
|
11405
11403
|
var o = O(r);
|
|
11406
11404
|
function r() {
|
|
@@ -11630,7 +11628,7 @@ var En = {
|
|
|
11630
11628
|
return r.find('xg-spot[data-id="'.concat(o, '"]'));
|
|
11631
11629
|
}
|
|
11632
11630
|
};
|
|
11633
|
-
function
|
|
11631
|
+
function $l(a) {
|
|
11634
11632
|
var o = a.config, r = a.player;
|
|
11635
11633
|
Object.keys(En).map(function(e) {
|
|
11636
11634
|
a[e] = En[e].bind(a);
|
|
@@ -11654,7 +11652,7 @@ var ot = {
|
|
|
11654
11652
|
click: "onProgressClick",
|
|
11655
11653
|
mouseover: "onProgressMouseOver",
|
|
11656
11654
|
mouseenter: "onProgressMouseOver"
|
|
11657
|
-
},
|
|
11655
|
+
}, Kl = /* @__PURE__ */ function(a) {
|
|
11658
11656
|
R(r, a);
|
|
11659
11657
|
var o = O(r);
|
|
11660
11658
|
function r(t) {
|
|
@@ -11705,7 +11703,7 @@ var ot = {
|
|
|
11705
11703
|
n.seekTime && e.player.seek(n.seekTime);
|
|
11706
11704
|
}), this.transformTimeHook = this.hook("transformTime", function(i) {
|
|
11707
11705
|
e.setTimeContent(f.format(i));
|
|
11708
|
-
}),
|
|
11706
|
+
}), $l(this), this.on($e, function() {
|
|
11709
11707
|
e.show();
|
|
11710
11708
|
}), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
|
|
11711
11709
|
}
|
|
@@ -11929,7 +11927,7 @@ var ot = {
|
|
|
11929
11927
|
};
|
|
11930
11928
|
}
|
|
11931
11929
|
}]), r;
|
|
11932
|
-
}(J),
|
|
11930
|
+
}(J), Yl = /* @__PURE__ */ function(a) {
|
|
11933
11931
|
R(r, a);
|
|
11934
11932
|
var o = O(r);
|
|
11935
11933
|
function r(t) {
|
|
@@ -12067,7 +12065,7 @@ var ot = {
|
|
|
12067
12065
|
function ui(a) {
|
|
12068
12066
|
return a ? "background:".concat(a, ";") : "";
|
|
12069
12067
|
}
|
|
12070
|
-
var
|
|
12068
|
+
var Xl = /* @__PURE__ */ function(a) {
|
|
12071
12069
|
R(r, a);
|
|
12072
12070
|
var o = O(r);
|
|
12073
12071
|
function r() {
|
|
@@ -12155,14 +12153,14 @@ var ql = /* @__PURE__ */ function(a) {
|
|
|
12155
12153
|
FRAME_RATE: "framerate",
|
|
12156
12154
|
POSTER: "poster"
|
|
12157
12155
|
};
|
|
12158
|
-
function
|
|
12156
|
+
function ql() {
|
|
12159
12157
|
try {
|
|
12160
12158
|
return parseInt(window.performance.now(), 10);
|
|
12161
12159
|
} catch {
|
|
12162
12160
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
12163
12161
|
}
|
|
12164
12162
|
}
|
|
12165
|
-
function
|
|
12163
|
+
function Zl() {
|
|
12166
12164
|
try {
|
|
12167
12165
|
var a = document.createElement("canvas").getContext;
|
|
12168
12166
|
return !!a;
|
|
@@ -12170,7 +12168,7 @@ function Jl() {
|
|
|
12170
12168
|
return !1;
|
|
12171
12169
|
}
|
|
12172
12170
|
}
|
|
12173
|
-
var
|
|
12171
|
+
var St = null, Jl = /* @__PURE__ */ function(a) {
|
|
12174
12172
|
R(r, a);
|
|
12175
12173
|
var o = O(r);
|
|
12176
12174
|
function r() {
|
|
@@ -12191,7 +12189,7 @@ var At = null, Ql = /* @__PURE__ */ function(a) {
|
|
|
12191
12189
|
!t.player.paused && t._checkIfCanStart() && t.start(0, l);
|
|
12192
12190
|
}
|
|
12193
12191
|
}), _(v(t), "start", function(s, l) {
|
|
12194
|
-
var u = t.player.video, c =
|
|
12192
|
+
var u = t.player.video, c = ql(), h = t.checkVideoIsSupport(u);
|
|
12195
12193
|
!h || !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 === lt.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(h, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? f.setTimeout(v(t), t.start, l) : f.requestAnimationFrame(t.start));
|
|
12196
12194
|
}), _(v(t), "stop", function() {
|
|
12197
12195
|
t.frameId && (t._loopType === "timer" ? f.clearTimeout(v(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
|
|
@@ -12364,7 +12362,7 @@ var At = null, Ql = /* @__PURE__ */ function(a) {
|
|
|
12364
12362
|
}, {
|
|
12365
12363
|
key: "isSupport",
|
|
12366
12364
|
get: function() {
|
|
12367
|
-
return typeof
|
|
12365
|
+
return typeof St == "boolean" || (St = Zl()), St;
|
|
12368
12366
|
}
|
|
12369
12367
|
}, {
|
|
12370
12368
|
key: "supportCanvasFilter",
|
|
@@ -12372,7 +12370,7 @@ var At = null, Ql = /* @__PURE__ */ function(a) {
|
|
|
12372
12370
|
return !(z.browser === "safari" || z.browser === "firefox");
|
|
12373
12371
|
}
|
|
12374
12372
|
}]), r;
|
|
12375
|
-
}(J),
|
|
12373
|
+
}(J), Ql = {
|
|
12376
12374
|
LANG: "zh-cn",
|
|
12377
12375
|
TEXT: {
|
|
12378
12376
|
ERROR_TYPES: {
|
|
@@ -12447,7 +12445,7 @@ var At = null, Ql = /* @__PURE__ */ function(a) {
|
|
|
12447
12445
|
FORWARD: "快进中",
|
|
12448
12446
|
LIVE_TIP: "直播"
|
|
12449
12447
|
}
|
|
12450
|
-
}, pt = "info", ci = ir,
|
|
12448
|
+
}, pt = "info", ci = ir, eu = /* @__PURE__ */ function(a) {
|
|
12451
12449
|
R(r, a);
|
|
12452
12450
|
var o = O(r);
|
|
12453
12451
|
function r() {
|
|
@@ -12486,7 +12484,7 @@ var At = null, Ql = /* @__PURE__ */ function(a) {
|
|
|
12486
12484
|
}, {
|
|
12487
12485
|
key: "afterCreate",
|
|
12488
12486
|
value: function() {
|
|
12489
|
-
this.reset(), this.on(
|
|
12487
|
+
this.reset(), this.on(Mt, this._recordUserActions), this.on(ci.STATS_INFO, this._recordInfo), this.on(ci.STATS_DOWNLOAD, this._downloadStats), this.on(ci.STATS_RESET, this._onReset);
|
|
12490
12488
|
}
|
|
12491
12489
|
}, {
|
|
12492
12490
|
key: "destroy",
|
|
@@ -12632,7 +12630,7 @@ var At = null, Ql = /* @__PURE__ */ function(a) {
|
|
|
12632
12630
|
key: "afterCreate",
|
|
12633
12631
|
value: function() {
|
|
12634
12632
|
var e = this, i = this.config.useGapJump;
|
|
12635
|
-
i !== !1 && (this.hasPlayed = !1, this.seekingEventReceived = !1, this.isSafari = /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), this.on(
|
|
12633
|
+
i !== !1 && (this.hasPlayed = !1, this.seekingEventReceived = !1, this.isSafari = /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), this.on(wt, this.onGapJump), this.on(be, function() {
|
|
12636
12634
|
e.hasPlayed = !0;
|
|
12637
12635
|
}), this.on(Vt, function() {
|
|
12638
12636
|
e.seekingEventReceived = !0;
|
|
@@ -12681,7 +12679,7 @@ var At = null, Ql = /* @__PURE__ */ function(a) {
|
|
|
12681
12679
|
}]), r;
|
|
12682
12680
|
}(J);
|
|
12683
12681
|
fr.BROWSER_GAP_TOLERANCE = 1e-3;
|
|
12684
|
-
var
|
|
12682
|
+
var tu = /* @__PURE__ */ function(a) {
|
|
12685
12683
|
R(r, a);
|
|
12686
12684
|
var o = O(r);
|
|
12687
12685
|
function r() {
|
|
@@ -12705,7 +12703,7 @@ var iu = /* @__PURE__ */ function(a) {
|
|
|
12705
12703
|
key: "afterCreate",
|
|
12706
12704
|
value: function() {
|
|
12707
12705
|
var e = this, i = this.config, n = i.useWaitingTimeoutJump, s = i.jumpSize;
|
|
12708
|
-
n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(
|
|
12706
|
+
n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(wt, this.onWaiting), this.on([Ci, Fe], function() {
|
|
12709
12707
|
clearTimeout(e.timer), e.timer = null, e.jumpSize = e.config.jumpSize;
|
|
12710
12708
|
}), this.on(be, function() {
|
|
12711
12709
|
e.hasPlayed = !0;
|
|
@@ -12727,7 +12725,7 @@ var iu = /* @__PURE__ */ function(a) {
|
|
|
12727
12725
|
};
|
|
12728
12726
|
}
|
|
12729
12727
|
}]), r;
|
|
12730
|
-
}(J), ut = "cdn",
|
|
12728
|
+
}(J), ut = "cdn", At = ["cdn"], iu = /* @__PURE__ */ function(a) {
|
|
12731
12729
|
R(r, a);
|
|
12732
12730
|
var o = O(r);
|
|
12733
12731
|
function r() {
|
|
@@ -12746,7 +12744,7 @@ var iu = /* @__PURE__ */ function(a) {
|
|
|
12746
12744
|
}), _(v(t), "startTimer", function() {
|
|
12747
12745
|
f.isMSE(t.player.video) || (t.initSpeedList(), t.cnt = 0, t.timer = setTimeout(t.testSpeed, t.config.testTimeStep));
|
|
12748
12746
|
}), _(v(t), "initSpeedList", function() {
|
|
12749
|
-
t.speedListCache = {},
|
|
12747
|
+
t.speedListCache = {}, At.forEach(function(s) {
|
|
12750
12748
|
t.speedListCache[s] = [];
|
|
12751
12749
|
});
|
|
12752
12750
|
}), _(v(t), "_onRealSpeedChange", function(s) {
|
|
@@ -12803,7 +12801,7 @@ var iu = /* @__PURE__ */ function(a) {
|
|
|
12803
12801
|
key: "afterCreate",
|
|
12804
12802
|
value: function() {
|
|
12805
12803
|
var e = this.config, i = e.openSpeed, n = e.addSpeedTypeList;
|
|
12806
|
-
(n == null ? void 0 : n.length) > 0 &&
|
|
12804
|
+
(n == null ? void 0 : n.length) > 0 && At.push.apply(At, Ee(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Be, Lt], this.startTimer);
|
|
12807
12805
|
}
|
|
12808
12806
|
}, {
|
|
12809
12807
|
key: "getSpeedName",
|
|
@@ -12830,7 +12828,7 @@ var iu = /* @__PURE__ */ function(a) {
|
|
|
12830
12828
|
key: "destroy",
|
|
12831
12829
|
value: function() {
|
|
12832
12830
|
var e = this;
|
|
12833
|
-
this.off("real_time_speed", this._onRealSpeedChange), this.off([Be,
|
|
12831
|
+
this.off("real_time_speed", this._onRealSpeedChange), this.off([Be, Lt], this.startTimer), At.forEach(function(i) {
|
|
12834
12832
|
e.speedListCache && e.speedListCache[i] && (e.speedListCache[i] = []);
|
|
12835
12833
|
}), this.speedListCache && (this.speedListCache = {}), clearTimeout(this.timer), this.timer = null, this.xhr && this.xhr.readyState !== 4 && (this.xhr.cancel && this.xhr.cancel(), this.xhr = null);
|
|
12836
12834
|
}
|
|
@@ -12853,7 +12851,7 @@ var iu = /* @__PURE__ */ function(a) {
|
|
|
12853
12851
|
};
|
|
12854
12852
|
}
|
|
12855
12853
|
}]), r;
|
|
12856
|
-
}(J),
|
|
12854
|
+
}(J), nu = /* @__PURE__ */ function(a) {
|
|
12857
12855
|
R(r, a);
|
|
12858
12856
|
var o = O(r);
|
|
12859
12857
|
function r() {
|
|
@@ -12963,24 +12961,24 @@ var iu = /* @__PURE__ */ function(a) {
|
|
|
12963
12961
|
}
|
|
12964
12962
|
}]), r;
|
|
12965
12963
|
}(J);
|
|
12966
|
-
ct.use(
|
|
12967
|
-
var
|
|
12964
|
+
ct.use(Ql);
|
|
12965
|
+
var ru = /* @__PURE__ */ L(function a(o, r) {
|
|
12968
12966
|
var t, e, i;
|
|
12969
12967
|
P(this, a);
|
|
12970
|
-
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [
|
|
12971
|
-
this.plugins = [
|
|
12968
|
+
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [Cl, dl, Xl, Kl, kl], u = [].concat(l, [gl, _l, Al, Dl, Ul, zl, Fl, Nl, El, Pl]), c = [Ko, Yo, qo, cl, Zo, Wl, Gl, Yl, tl];
|
|
12969
|
+
this.plugins = [eu, Go].concat(Ee(u), c, [fr, tu]);
|
|
12972
12970
|
var h = n ? "mobile" : z.device;
|
|
12973
12971
|
switch (h) {
|
|
12974
12972
|
case "pc":
|
|
12975
|
-
(t = this.plugins).push.apply(t, [Cn, oi, bn,
|
|
12973
|
+
(t = this.plugins).push.apply(t, [Cn, oi, bn, iu, nu]);
|
|
12976
12974
|
break;
|
|
12977
12975
|
case "mobile":
|
|
12978
|
-
(e = this.plugins).push.apply(e, [
|
|
12976
|
+
(e = this.plugins).push.apply(e, [ol]);
|
|
12979
12977
|
break;
|
|
12980
12978
|
default:
|
|
12981
12979
|
(i = this.plugins).push.apply(i, [Cn, oi, bn]);
|
|
12982
12980
|
}
|
|
12983
|
-
(z.os.isIpad || h === "pc") && this.plugins.push(
|
|
12981
|
+
(z.os.isIpad || h === "pc") && this.plugins.push(Jl), z.os.isIpad && this.plugins.push(oi), this.ignores = [], this.i18n = [];
|
|
12984
12982
|
}), Se = /* @__PURE__ */ function(a) {
|
|
12985
12983
|
R(r, a);
|
|
12986
12984
|
var o = O(r);
|
|
@@ -12989,17 +12987,17 @@ var su = /* @__PURE__ */ L(function a(o, r) {
|
|
|
12989
12987
|
}
|
|
12990
12988
|
return L(r);
|
|
12991
12989
|
}($t);
|
|
12992
|
-
_(Se, "defaultPreset",
|
|
12990
|
+
_(Se, "defaultPreset", ru);
|
|
12993
12991
|
_(Se, "Util", f);
|
|
12994
12992
|
_(Se, "Sniffer", z);
|
|
12995
|
-
_(Se, "Errors",
|
|
12996
|
-
_(Se, "Events",
|
|
12993
|
+
_(Se, "Errors", Pt);
|
|
12994
|
+
_(Se, "Events", _o);
|
|
12997
12995
|
_(Se, "Plugin", J);
|
|
12998
12996
|
_(Se, "BasePlugin", We);
|
|
12999
12997
|
_(Se, "I18N", ct);
|
|
13000
12998
|
_(Se, "STATE_CLASS", C);
|
|
13001
12999
|
_(Se, "InstManager", or);
|
|
13002
|
-
const
|
|
13000
|
+
const su = ["id"], au = /* @__PURE__ */ te({
|
|
13003
13001
|
name: "ElImageViewer",
|
|
13004
13002
|
__name: "Player",
|
|
13005
13003
|
props: /* @__PURE__ */ ft({
|
|
@@ -13028,7 +13026,7 @@ const au = ["id"], ou = /* @__PURE__ */ te({
|
|
|
13028
13026
|
}, ["update:modelValue"]),
|
|
13029
13027
|
setup(a, { emit: o }) {
|
|
13030
13028
|
let r = null;
|
|
13031
|
-
const t = a, { cLoadUrl: e } = Rn(t), i = se(() =>
|
|
13029
|
+
const t = a, { cLoadUrl: e } = Rn(t), i = se(() => It(e.value, t.url)), n = {
|
|
13032
13030
|
width: "100%",
|
|
13033
13031
|
height: "100%",
|
|
13034
13032
|
// 是否自动播放
|
|
@@ -13049,7 +13047,7 @@ const au = ["id"], ou = /* @__PURE__ */ te({
|
|
|
13049
13047
|
}, s = se(() => ({
|
|
13050
13048
|
...n,
|
|
13051
13049
|
...t.config
|
|
13052
|
-
})), l = o, u =
|
|
13050
|
+
})), l = o, u = Ut(a, "modelValue"), c = Ln(), h = Pn("image-viewer");
|
|
13053
13051
|
function d() {
|
|
13054
13052
|
l("close"), u.value = !1, r.destroy();
|
|
13055
13053
|
}
|
|
@@ -13062,7 +13060,7 @@ const au = ["id"], ou = /* @__PURE__ */ te({
|
|
|
13062
13060
|
});
|
|
13063
13061
|
});
|
|
13064
13062
|
}), (g, p) => {
|
|
13065
|
-
const m =
|
|
13063
|
+
const m = xt("el-icon");
|
|
13066
13064
|
return u.value ? (T(), ne(An, {
|
|
13067
13065
|
key: 0,
|
|
13068
13066
|
to: "body"
|
|
@@ -13097,7 +13095,7 @@ const au = ["id"], ou = /* @__PURE__ */ te({
|
|
|
13097
13095
|
class: ee(k(h).e("canvas"))
|
|
13098
13096
|
},
|
|
13099
13097
|
[
|
|
13100
|
-
E("div", { id: k(c) }, null, 8,
|
|
13098
|
+
E("div", { id: k(c) }, null, 8, su),
|
|
13101
13099
|
Z(" CLOSE "),
|
|
13102
13100
|
E(
|
|
13103
13101
|
"span",
|
|
@@ -13134,10 +13132,10 @@ const au = ["id"], ou = /* @__PURE__ */ te({
|
|
|
13134
13132
|
};
|
|
13135
13133
|
}
|
|
13136
13134
|
});
|
|
13137
|
-
const
|
|
13135
|
+
const ou = /* @__PURE__ */ zt(au, [["__scopeId", "data-v-b301aa7d"]]), lu = Ge(ou), uu = (a) => (wr("data-v-6aec3725"), a = a(), br(), a), cu = { class: "ik-flie-list" }, fu = { class: "name" }, hu = { key: 1 }, du = ["src"], gu = { class: "file-icon" }, pu = { class: "file-name-loading" }, vu = { class: "file-name" }, mu = { key: 0 }, yu = {
|
|
13138
13136
|
key: 0,
|
|
13139
13137
|
class: "file-size"
|
|
13140
|
-
},
|
|
13138
|
+
}, _u = { class: "name" }, ku = { class: "file-name-loading" }, Cu = { class: "file-name" }, wu = { class: "file-size" }, bu = { class: "operate-btn" }, Tu = { class: "card" }, Eu = { class: "title" }, Su = /* @__PURE__ */ uu(() => /* @__PURE__ */ E(
|
|
13141
13139
|
"img",
|
|
13142
13140
|
{
|
|
13143
13141
|
src: Pr,
|
|
@@ -13146,10 +13144,10 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13146
13144
|
null,
|
|
13147
13145
|
-1
|
|
13148
13146
|
/* HOISTED */
|
|
13149
|
-
)),
|
|
13147
|
+
)), Au = { class: "ik-flie-list" }, xu = { class: "name" }, Iu = { key: 1 }, Pu = ["src"], Lu = { class: "file-icon" }, Du = { class: "file-name-loading" }, Ru = { class: "file-name" }, Ou = { key: 0 }, Mu = {
|
|
13150
13148
|
key: 0,
|
|
13151
13149
|
class: "file-size"
|
|
13152
|
-
},
|
|
13150
|
+
}, Fu = { key: 0 }, Nu = /* @__PURE__ */ te({
|
|
13153
13151
|
__name: "index",
|
|
13154
13152
|
props: /* @__PURE__ */ ft({
|
|
13155
13153
|
// 显示图标
|
|
@@ -13298,7 +13296,7 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13298
13296
|
}),
|
|
13299
13297
|
emits: /* @__PURE__ */ ft(["delete", "exceed", "handPreview", "success", "error", "outSize"], ["update:modelValue"]),
|
|
13300
13298
|
setup(a, { emit: o }) {
|
|
13301
|
-
const r = a, t = o, e =
|
|
13299
|
+
const r = a, t = o, e = Ut(a, "modelValue"), n = {
|
|
13302
13300
|
...{
|
|
13303
13301
|
name: "name",
|
|
13304
13302
|
url: "url",
|
|
@@ -13355,7 +13353,7 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13355
13353
|
p.value = {
|
|
13356
13354
|
...S,
|
|
13357
13355
|
name: S[n.name],
|
|
13358
|
-
url:
|
|
13356
|
+
url: It(
|
|
13359
13357
|
s.value,
|
|
13360
13358
|
S[n.url] || ((q = (V = S == null ? void 0 : S.response) == null ? void 0 : V.data) == null ? void 0 : q.id)
|
|
13361
13359
|
)
|
|
@@ -13451,18 +13449,18 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13451
13449
|
]), 1032, ["disabled"]))
|
|
13452
13450
|
]),
|
|
13453
13451
|
file: Y(({ file: x }) => [
|
|
13454
|
-
E("div",
|
|
13455
|
-
E("div",
|
|
13452
|
+
E("div", cu, [
|
|
13453
|
+
E("div", fu, [
|
|
13456
13454
|
!S.$slots.fileIcon && (!a.customIconData[k(ue)(x, n)] || !a.customIconData[k(ue)(x, n)][a.customIconFields.icon]) ? (T(), ne(k(zi), {
|
|
13457
13455
|
key: 0,
|
|
13458
13456
|
type: k(ue)(x, n)
|
|
13459
|
-
}, null, 8, ["type"])) : !S.$slots.fileIcon && a.customIconData[k(ue)(x, n)] && a.customIconData[k(ue)(x, n)][a.customIconFields.icon] ? (T(), I("div",
|
|
13457
|
+
}, null, 8, ["type"])) : !S.$slots.fileIcon && a.customIconData[k(ue)(x, n)] && a.customIconData[k(ue)(x, n)][a.customIconFields.icon] ? (T(), I("div", hu, [
|
|
13460
13458
|
a.customIconData[k(ue)(x, n)][a.customIconFields.type] === "img" ? (T(), I("img", {
|
|
13461
13459
|
key: 0,
|
|
13462
13460
|
src: a.customIconData[k(ue)(x, n)][a.customIconFields.icon],
|
|
13463
13461
|
alt: "",
|
|
13464
13462
|
class: "file-img-icon"
|
|
13465
|
-
}, null, 8,
|
|
13463
|
+
}, null, 8, du)) : (T(), I(
|
|
13466
13464
|
"span",
|
|
13467
13465
|
{
|
|
13468
13466
|
key: 1,
|
|
@@ -13476,11 +13474,11 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13476
13474
|
/* CLASS */
|
|
13477
13475
|
))
|
|
13478
13476
|
])) : Z("v-if", !0),
|
|
13479
|
-
E("div",
|
|
13477
|
+
E("div", gu, [
|
|
13480
13478
|
De(S.$slots, "fileIcon", { file: x }, void 0, !0)
|
|
13481
13479
|
]),
|
|
13482
|
-
E("div",
|
|
13483
|
-
E("p",
|
|
13480
|
+
E("div", pu, [
|
|
13481
|
+
E("p", vu, [
|
|
13484
13482
|
qe(
|
|
13485
13483
|
_e(x[n.name] || x.name) + " ",
|
|
13486
13484
|
1
|
|
@@ -13488,7 +13486,7 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13488
13486
|
),
|
|
13489
13487
|
x.percentage && x.status === "uploading" ? (T(), I(
|
|
13490
13488
|
"span",
|
|
13491
|
-
|
|
13489
|
+
mu,
|
|
13492
13490
|
"(" + _e(x.percentage) + "%)",
|
|
13493
13491
|
1
|
|
13494
13492
|
/* TEXT */
|
|
@@ -13496,7 +13494,7 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13496
13494
|
]),
|
|
13497
13495
|
x.status === "success" ? (T(), I(
|
|
13498
13496
|
"p",
|
|
13499
|
-
|
|
13497
|
+
yu,
|
|
13500
13498
|
_e(k(qt)((x[n.size] || x.size) / 1024 / 1024)) + "MB ",
|
|
13501
13499
|
1
|
|
13502
13500
|
/* TEXT */
|
|
@@ -13577,7 +13575,7 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13577
13575
|
class: "ik-error-flie-list",
|
|
13578
13576
|
key: G.uid
|
|
13579
13577
|
}, [
|
|
13580
|
-
E("div",
|
|
13578
|
+
E("div", _u, [
|
|
13581
13579
|
B(k(ke), {
|
|
13582
13580
|
size: 32,
|
|
13583
13581
|
class: "info",
|
|
@@ -13589,24 +13587,24 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13589
13587
|
_: 1
|
|
13590
13588
|
/* STABLE */
|
|
13591
13589
|
}),
|
|
13592
|
-
E("div",
|
|
13590
|
+
E("div", ku, [
|
|
13593
13591
|
E(
|
|
13594
13592
|
"p",
|
|
13595
|
-
|
|
13593
|
+
Cu,
|
|
13596
13594
|
_e(G[n.name] || G.name),
|
|
13597
13595
|
1
|
|
13598
13596
|
/* TEXT */
|
|
13599
13597
|
),
|
|
13600
13598
|
E(
|
|
13601
13599
|
"p",
|
|
13602
|
-
|
|
13600
|
+
wu,
|
|
13603
13601
|
_e(k(qt)(G.size / 1024 / 1024)) + "MB ",
|
|
13604
13602
|
1
|
|
13605
13603
|
/* TEXT */
|
|
13606
13604
|
)
|
|
13607
13605
|
])
|
|
13608
13606
|
]),
|
|
13609
|
-
E("div",
|
|
13607
|
+
E("div", bu, [
|
|
13610
13608
|
B(k(ye), {
|
|
13611
13609
|
onClick: vt((U) => W(G, D), ["stop"]),
|
|
13612
13610
|
name: "iksvg_zhongzhi",
|
|
@@ -13654,18 +13652,18 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13654
13652
|
"on-change": A
|
|
13655
13653
|
}), {
|
|
13656
13654
|
file: Y(({ file: x }) => [
|
|
13657
|
-
E("div",
|
|
13658
|
-
E("div",
|
|
13655
|
+
E("div", Au, [
|
|
13656
|
+
E("div", xu, [
|
|
13659
13657
|
!S.$slots.fileIcon && (!a.customIconData[k(ue)(x, n)] || !a.customIconData[k(ue)(x, n)][a.customIconFields.icon]) ? (T(), ne(k(zi), {
|
|
13660
13658
|
key: 0,
|
|
13661
13659
|
type: k(ue)(x, n)
|
|
13662
|
-
}, null, 8, ["type"])) : !S.$slots.fileIcon && a.customIconData[k(ue)(x, n)] && a.customIconData[k(ue)(x, n)][a.customIconFields.icon] ? (T(), I("div",
|
|
13660
|
+
}, null, 8, ["type"])) : !S.$slots.fileIcon && a.customIconData[k(ue)(x, n)] && a.customIconData[k(ue)(x, n)][a.customIconFields.icon] ? (T(), I("div", Iu, [
|
|
13663
13661
|
a.customIconData[k(ue)(x, n)][a.customIconFields.type] === "img" ? (T(), I("img", {
|
|
13664
13662
|
key: 0,
|
|
13665
13663
|
src: a.customIconData[k(ue)(x, n)][a.customIconFields.icon],
|
|
13666
13664
|
alt: "",
|
|
13667
13665
|
class: "file-img-icon"
|
|
13668
|
-
}, null, 8,
|
|
13666
|
+
}, null, 8, Pu)) : (T(), I(
|
|
13669
13667
|
"span",
|
|
13670
13668
|
{
|
|
13671
13669
|
key: 1,
|
|
@@ -13679,11 +13677,11 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13679
13677
|
/* CLASS */
|
|
13680
13678
|
))
|
|
13681
13679
|
])) : Z("v-if", !0),
|
|
13682
|
-
E("div",
|
|
13680
|
+
E("div", Lu, [
|
|
13683
13681
|
De(S.$slots, "fileIcon", { file: x }, void 0, !0)
|
|
13684
13682
|
]),
|
|
13685
|
-
E("div",
|
|
13686
|
-
E("p",
|
|
13683
|
+
E("div", Du, [
|
|
13684
|
+
E("p", Ru, [
|
|
13687
13685
|
qe(
|
|
13688
13686
|
_e(x[n.name] || x.name) + " ",
|
|
13689
13687
|
1
|
|
@@ -13691,7 +13689,7 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13691
13689
|
),
|
|
13692
13690
|
x.percentage && x.status === "uploading" ? (T(), I(
|
|
13693
13691
|
"span",
|
|
13694
|
-
|
|
13692
|
+
Ou,
|
|
13695
13693
|
"(" + _e(x.percentage) + "%)",
|
|
13696
13694
|
1
|
|
13697
13695
|
/* TEXT */
|
|
@@ -13699,7 +13697,7 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13699
13697
|
]),
|
|
13700
13698
|
x.status === "success" ? (T(), I(
|
|
13701
13699
|
"p",
|
|
13702
|
-
|
|
13700
|
+
Mu,
|
|
13703
13701
|
_e(k(qt)((x[n.size] || x.size) / 1024 / 1024)) + "MB ",
|
|
13704
13702
|
1
|
|
13705
13703
|
/* TEXT */
|
|
@@ -13757,7 +13755,7 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13757
13755
|
],
|
|
13758
13756
|
64
|
|
13759
13757
|
/* STABLE_FRAGMENT */
|
|
13760
|
-
)) : (T(), I("div",
|
|
13758
|
+
)) : (T(), I("div", Fu, [
|
|
13761
13759
|
x.status === "success" ? (T(), I(
|
|
13762
13760
|
Re,
|
|
13763
13761
|
{ key: 0 },
|
|
@@ -13794,10 +13792,10 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13794
13792
|
])
|
|
13795
13793
|
]),
|
|
13796
13794
|
default: Y(() => [
|
|
13797
|
-
E("div",
|
|
13798
|
-
E("div",
|
|
13795
|
+
E("div", Tu, [
|
|
13796
|
+
E("div", Eu, [
|
|
13799
13797
|
a.imageMode ? De(S.$slots, "image", { key: 0 }, () => [
|
|
13800
|
-
|
|
13798
|
+
Su
|
|
13801
13799
|
], !0) : a.showIcon ? (T(), ne(k(ye), {
|
|
13802
13800
|
key: 1,
|
|
13803
13801
|
name: "iksvg_img_shangchuanhetongfujianbeifen",
|
|
@@ -13865,8 +13863,8 @@ const lu = /* @__PURE__ */ Ct(ou, [["__scopeId", "data-v-b301aa7d"]]), uu = Ge(l
|
|
|
13865
13863
|
};
|
|
13866
13864
|
}
|
|
13867
13865
|
});
|
|
13868
|
-
const
|
|
13866
|
+
const Bu = /* @__PURE__ */ zt(Nu, [["__scopeId", "data-v-6aec3725"]]), ju = Ge(Bu);
|
|
13869
13867
|
export {
|
|
13870
|
-
|
|
13871
|
-
|
|
13868
|
+
ju as IkUploadFile,
|
|
13869
|
+
ju as default
|
|
13872
13870
|
};
|