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