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