iking-web-ui-pro 0.2.20 → 0.2.22
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/IKExpandCollapse/ik.index.es.js +67 -64
- package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
- package/dist/IKExpandCollapse/style.css +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +279 -276
- package/dist/IKPreviewFile/ik.index.umd.js +16 -16
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IKVerticalStepBar/ik.index.es.js +102 -99
- package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
- package/dist/IKVerticalStepBar/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +279 -276
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +113 -110
- package/dist/IkBaseDialog/ik.index.umd.js +1 -1
- package/dist/IkBaseDialog/style.css +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +208 -205
- package/dist/IkBtnSetting/ik.index.umd.js +1 -1
- package/dist/IkBtnSetting/style.css +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +75 -72
- package/dist/IkCollapseCard/ik.index.umd.js +1 -1
- package/dist/IkCollapseCard/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +413 -410
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +272 -269
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IkDetailPreviewFiles/style.css +1 -1
- package/dist/IkIconPicker/ik.index.es.js +146 -143
- package/dist/IkIconPicker/ik.index.umd.js +1 -1
- package/dist/IkIconPicker/style.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +156 -153
- package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
- package/dist/IkMonacoEditor/style.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +1129 -1126
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +556 -553
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/style.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +1432 -1429
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/IkSchedule/style.css +1 -1
- package/dist/IkSideText/ik.index.es.js +99 -96
- package/dist/IkSideText/ik.index.umd.js +1 -1
- package/dist/IkSideText/style.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +54 -51
- package/dist/IkSvgIcon/ik.index.umd.js +1 -1
- package/dist/IkSvgIcon/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +697 -694
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +204 -201
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/Provider/ik.index.es.js +10 -14
- package/dist/Provider/ik.index.umd.js +1 -1
- package/dist/index.es.js +4121 -4122
- package/dist/index.umd.js +2 -2
- package/dist/src/components/IkSvgIcon/index.d.ts +6 -2
- package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +6 -2
- package/dist/src/components/Provider/ProviderConfig.vue.d.ts +0 -9
- package/dist/src/components/Provider/index.d.ts +0 -19
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as ne, openBlock as E, createElementBlock as D, createElementVNode as A, computed as ue, inject as
|
|
2
|
-
import { useNamespace as
|
|
3
|
-
import { buildUUID as
|
|
1
|
+
import { defineComponent as ne, openBlock as E, createElementBlock as D, createElementVNode as A, computed as ue, inject as it, mergeModels as Qe, useModel as At, ref as Pe, reactive as On, watch as Qi, nextTick as pt, resolveComponent as st, Fragment as Ne, createBlock as ee, createCommentVNode as Z, createVNode as K, unref as T, withCtx as q, withModifiers as Rt, normalizeClass as pe, normalizeStyle as Ie, createTextVNode as He, toDisplayString as ce, h as Fn, mergeProps as qt, createSlots as en, renderSlot as we, Teleport as Mn, Transition as Nn, renderList as Bn, withDirectives as Hn, vShow as Un, pushScopeId as zn, popScopeId as Vn } from "vue";
|
|
2
|
+
import { useNamespace as jn, ElUpload as mi, ElButton as Wn, ElProgress as yi, ElTooltip as _i, ElIcon as Fe, ElMessage as Ot } from "element-plus";
|
|
3
|
+
import { buildUUID as tn, ikColor as Gn, ikFile as $n } from "iking-utils-pro";
|
|
4
4
|
const ze = (o, a) => {
|
|
5
5
|
if (o.install = (r) => {
|
|
6
6
|
for (const t of [o, ...Object.values(a ?? {})])
|
|
@@ -9,9 +9,9 @@ const ze = (o, a) => {
|
|
|
9
9
|
for (const [r, t] of Object.entries(a))
|
|
10
10
|
o[r] = t;
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
12
|
+
}, Kn = "data:image/webp;base64,UklGRnoEAABXRUJQVlA4WAoAAAAwAAAALwAALwAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZBTFBImAAAAA2AYm3bsuhFm7u72wZoTrbGIcoKaKyAROJQbQmW2IVb/WkW3ZmPd3ymRMQEwJfV56QRo5pHErkUkFdQWRJpeGW6SoL9EvaWxAdbAeiVd5gyAK5NAdOtv4uNfsT21TUukBVjgFubBOQS+Ip7G/k2LpatkF2hAuBI5siAdsL2j3DHQrJ7NKDbUIyOj3bhqADBsgNPUqUlgncLVlA4IOwBAABwDQCdASowADAAPm0yk0ckIyGhJzgMkIANiWwArDM9tzexcZ3vwYZdKHIB749Ap5gP1E/YD34/QB6AH+A9F//S+w1z2/sz/5DzdDABM7ldHg1iMkeWX8LH9T1VzicAWGJgnNq4e/5P/NObJOBUhFC8dPnhmAD+9wGzP9Zfeg5ENi90xn4awZvrlCLnfwvZX//s4u6n2Pa2TF/r8wh0GtdNNJIBMRbrMaCBwyl6z86DqQgvpixbIdOVbwZFf/7KjC+uzJ5nNRyJ1Rpab8pIf2m1+SBOfX9w7EFXUErK8NSCsePMPazMXKH5y9Wl+nfiSrmsv079Fk6NkDF3Dxr+C+Rp4UdG/f3kP8PZfd/FyRupWURiDOrAjLamuF4OPo2BylwD7ulmdgDn4BEMXuvpYCACy4yCVjgsOzqToG2rSfJOtxy6Hh1/B2gu7X1MdJpHsdHdUrlRzTLKyV3wZG5a64SKKB2/QGk8IRZT0veUdDeo579/WyTU3ujQZeKNBS9ANlv1muyN9Kf5bm1f3UoPm/KnDkqf/1f2jf6aQJ7IYNod25fVfhRX+l1u9qBzs/bVezF7ZgC2LOuuJl1Tvwgeujpg9Uc/m0A9X878DzEkgxP/sPGviOfCElM1J/Kr3TTCwCkfW+K3oZuMB7HAAAA=";
|
|
13
13
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
14
|
-
var
|
|
14
|
+
var Yn = /* @__PURE__ */ ne({
|
|
15
15
|
name: "Close",
|
|
16
16
|
__name: "close",
|
|
17
17
|
setup(o) {
|
|
@@ -25,7 +25,7 @@ var Kn = /* @__PURE__ */ ne({
|
|
|
25
25
|
})
|
|
26
26
|
]));
|
|
27
27
|
}
|
|
28
|
-
}),
|
|
28
|
+
}), Xn = Yn, qn = /* @__PURE__ */ ne({
|
|
29
29
|
name: "Delete",
|
|
30
30
|
__name: "delete",
|
|
31
31
|
setup(o) {
|
|
@@ -39,7 +39,7 @@ var Kn = /* @__PURE__ */ ne({
|
|
|
39
39
|
})
|
|
40
40
|
]));
|
|
41
41
|
}
|
|
42
|
-
}),
|
|
42
|
+
}), Zn = qn, Jn = /* @__PURE__ */ ne({
|
|
43
43
|
name: "Download",
|
|
44
44
|
__name: "download",
|
|
45
45
|
setup(o) {
|
|
@@ -53,7 +53,7 @@ var Kn = /* @__PURE__ */ ne({
|
|
|
53
53
|
})
|
|
54
54
|
]));
|
|
55
55
|
}
|
|
56
|
-
}),
|
|
56
|
+
}), Qn = Jn, er = /* @__PURE__ */ ne({
|
|
57
57
|
name: "QuestionFilled",
|
|
58
58
|
__name: "question-filled",
|
|
59
59
|
setup(o) {
|
|
@@ -67,7 +67,7 @@ var Kn = /* @__PURE__ */ ne({
|
|
|
67
67
|
})
|
|
68
68
|
]));
|
|
69
69
|
}
|
|
70
|
-
}),
|
|
70
|
+
}), ki = er, tr = /* @__PURE__ */ ne({
|
|
71
71
|
name: "Refresh",
|
|
72
72
|
__name: "refresh",
|
|
73
73
|
setup(o) {
|
|
@@ -81,7 +81,7 @@ var Kn = /* @__PURE__ */ ne({
|
|
|
81
81
|
})
|
|
82
82
|
]));
|
|
83
83
|
}
|
|
84
|
-
}),
|
|
84
|
+
}), ir = tr, nr = /* @__PURE__ */ ne({
|
|
85
85
|
name: "View",
|
|
86
86
|
__name: "view",
|
|
87
87
|
setup(o) {
|
|
@@ -95,7 +95,7 @@ var Kn = /* @__PURE__ */ ne({
|
|
|
95
95
|
})
|
|
96
96
|
]));
|
|
97
97
|
}
|
|
98
|
-
}),
|
|
98
|
+
}), rr = nr, sr = /* @__PURE__ */ ne({
|
|
99
99
|
name: "WarningFilled",
|
|
100
100
|
__name: "warning-filled",
|
|
101
101
|
setup(o) {
|
|
@@ -109,10 +109,10 @@ var Kn = /* @__PURE__ */ ne({
|
|
|
109
109
|
})
|
|
110
110
|
]));
|
|
111
111
|
}
|
|
112
|
-
}),
|
|
112
|
+
}), or = sr;
|
|
113
113
|
const te = (o, a) => {
|
|
114
114
|
var i, n, s, l;
|
|
115
|
-
const r = (i = o == null ? void 0 : o.response) != null && i.data ?
|
|
115
|
+
const r = (i = o == null ? void 0 : o.response) != null && i.data ? Ci((s = (n = o == null ? void 0 : o.response) == null ? void 0 : n.data) == null ? void 0 : s.suffix) : ((l = o.raw) == null ? void 0 : l.type) || Ci(o[a.suffix]), t = r == null ? void 0 : r.toLowerCase(), e = {
|
|
116
116
|
sheet: "excel",
|
|
117
117
|
excel: "excel",
|
|
118
118
|
zip: "zip",
|
|
@@ -132,7 +132,7 @@ const te = (o, a) => {
|
|
|
132
132
|
if (typeof t == "string" && (t.includes(u) || t === u))
|
|
133
133
|
return e[u];
|
|
134
134
|
return "unknown";
|
|
135
|
-
},
|
|
135
|
+
}, ar = {
|
|
136
136
|
".doc": "word",
|
|
137
137
|
".docx": "word",
|
|
138
138
|
".docxf": "word",
|
|
@@ -217,13 +217,13 @@ const te = (o, a) => {
|
|
|
217
217
|
".vob": "video",
|
|
218
218
|
".txt": "txt",
|
|
219
219
|
".pdf": "pdf"
|
|
220
|
-
},
|
|
220
|
+
}, Ci = (o) => {
|
|
221
221
|
const a = o == null ? void 0 : o.toLocaleLowerCase(), r = a != null && a.startsWith(".") ? a : `.${a}`;
|
|
222
|
-
return r &&
|
|
223
|
-
},
|
|
222
|
+
return r && ar[r] || "unknow";
|
|
223
|
+
}, lr = (o) => {
|
|
224
224
|
let a = "", r = ["doc", "docx"], t = ["xls", "xlsx"], e = ["ppt", "pptx"], i = ["pdf"];
|
|
225
225
|
return r.includes(o) && (a = "word"), t.includes(o) && (a = "cell"), e.includes(o) && (a = "slide"), i.includes(o) && (a = "text-pdf"), a;
|
|
226
|
-
},
|
|
226
|
+
}, ur = {
|
|
227
227
|
key: 0,
|
|
228
228
|
t: "1686300059786",
|
|
229
229
|
class: "icon",
|
|
@@ -233,7 +233,7 @@ const te = (o, a) => {
|
|
|
233
233
|
"p-id": "7671",
|
|
234
234
|
width: "200",
|
|
235
235
|
height: "200"
|
|
236
|
-
},
|
|
236
|
+
}, cr = /* @__PURE__ */ A(
|
|
237
237
|
"path",
|
|
238
238
|
{
|
|
239
239
|
d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
|
|
@@ -243,7 +243,7 @@ const te = (o, a) => {
|
|
|
243
243
|
null,
|
|
244
244
|
-1
|
|
245
245
|
/* HOISTED */
|
|
246
|
-
),
|
|
246
|
+
), fr = /* @__PURE__ */ A(
|
|
247
247
|
"path",
|
|
248
248
|
{
|
|
249
249
|
d: "M258.528 742.0672L351.8336 604.928a14.5024 14.5024 0 0 1 22.1696-2.1824l61.664 60.416 135.296-212.064a14.5024 14.5024 0 0 1 24.8064 0.5568l168.1024 291.328a14.5024 14.5024 0 0 1-12.5696 21.7664H270.528a14.5024 14.5024 0 0 1-12.0064-22.6816z",
|
|
@@ -253,7 +253,7 @@ const te = (o, a) => {
|
|
|
253
253
|
null,
|
|
254
254
|
-1
|
|
255
255
|
/* HOISTED */
|
|
256
|
-
),
|
|
256
|
+
), hr = /* @__PURE__ */ A(
|
|
257
257
|
"path",
|
|
258
258
|
{
|
|
259
259
|
d: "M359.616 431.5456m-73.1456 0a73.1456 73.1456 0 1 0 146.2912 0 73.1456 73.1456 0 1 0-146.2912 0Z",
|
|
@@ -263,7 +263,7 @@ const te = (o, a) => {
|
|
|
263
263
|
null,
|
|
264
264
|
-1
|
|
265
265
|
/* HOISTED */
|
|
266
|
-
),
|
|
266
|
+
), dr = /* @__PURE__ */ A(
|
|
267
267
|
"path",
|
|
268
268
|
{
|
|
269
269
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -273,12 +273,12 @@ const te = (o, a) => {
|
|
|
273
273
|
null,
|
|
274
274
|
-1
|
|
275
275
|
/* HOISTED */
|
|
276
|
-
),
|
|
277
|
-
ur,
|
|
276
|
+
), gr = [
|
|
278
277
|
cr,
|
|
279
278
|
fr,
|
|
280
|
-
hr
|
|
281
|
-
|
|
279
|
+
hr,
|
|
280
|
+
dr
|
|
281
|
+
], pr = {
|
|
282
282
|
key: 1,
|
|
283
283
|
t: "1686301531714",
|
|
284
284
|
class: "icon",
|
|
@@ -288,7 +288,7 @@ const te = (o, a) => {
|
|
|
288
288
|
"p-id": "9067",
|
|
289
289
|
width: "200",
|
|
290
290
|
height: "200"
|
|
291
|
-
},
|
|
291
|
+
}, vr = /* @__PURE__ */ A(
|
|
292
292
|
"path",
|
|
293
293
|
{
|
|
294
294
|
d: "M409.6 0v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133334H409.6v68.266666h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133334s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333h68.266666c20.48 0 34.133333-13.653333 34.133334-34.133333V477.866667h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133334S532.48 409.6 512 409.6H477.866667V341.333333h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 273.066667 512 273.066667H477.866667V204.8h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 136.533333 512 136.533333H477.866667V0h204.8l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0h204.8z m0 682.666667h68.266667v68.266666H409.6v-68.266666z m-34.133333-68.266667c-20.48 0-34.133333 13.653333-34.133334 34.133333v136.533334c0 20.48 13.653333 34.133333 34.133334 34.133333h136.533333c20.48 0 34.133333-13.653333 34.133333-34.133333v-136.533334c0-20.48-13.653333-34.133333-34.133333-34.133333h-136.533333z",
|
|
@@ -298,7 +298,7 @@ const te = (o, a) => {
|
|
|
298
298
|
null,
|
|
299
299
|
-1
|
|
300
300
|
/* HOISTED */
|
|
301
|
-
),
|
|
301
|
+
), mr = /* @__PURE__ */ A(
|
|
302
302
|
"path",
|
|
303
303
|
{
|
|
304
304
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -308,10 +308,10 @@ const te = (o, a) => {
|
|
|
308
308
|
null,
|
|
309
309
|
-1
|
|
310
310
|
/* HOISTED */
|
|
311
|
-
),
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
],
|
|
311
|
+
), yr = [
|
|
312
|
+
vr,
|
|
313
|
+
mr
|
|
314
|
+
], _r = {
|
|
315
315
|
key: 2,
|
|
316
316
|
t: "1686300141125",
|
|
317
317
|
class: "icon",
|
|
@@ -321,7 +321,7 @@ const te = (o, a) => {
|
|
|
321
321
|
"p-id": "8137",
|
|
322
322
|
width: "200",
|
|
323
323
|
height: "200"
|
|
324
|
-
},
|
|
324
|
+
}, kr = /* @__PURE__ */ A(
|
|
325
325
|
"path",
|
|
326
326
|
{
|
|
327
327
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m204.8 546.133333V443.733333h204.8v136.533334H409.6V546.133333z m0 102.4h204.8c40.96 0 68.266667-27.306667 68.266667-68.266666v-136.533334c0-40.96-27.306667-68.266667-68.266667-68.266666H409.6c-40.96 0-68.266667 27.306667-68.266667 68.266666V819.2c0 20.48 13.653333 34.133333 34.133334 34.133333s34.133333-13.653333 34.133333-34.133333V648.533333z",
|
|
@@ -331,7 +331,7 @@ const te = (o, a) => {
|
|
|
331
331
|
null,
|
|
332
332
|
-1
|
|
333
333
|
/* HOISTED */
|
|
334
|
-
),
|
|
334
|
+
), Cr = /* @__PURE__ */ A(
|
|
335
335
|
"path",
|
|
336
336
|
{
|
|
337
337
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -341,10 +341,10 @@ const te = (o, a) => {
|
|
|
341
341
|
null,
|
|
342
342
|
-1
|
|
343
343
|
/* HOISTED */
|
|
344
|
-
),
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
],
|
|
344
|
+
), wr = [
|
|
345
|
+
kr,
|
|
346
|
+
Cr
|
|
347
|
+
], br = {
|
|
348
348
|
key: 3,
|
|
349
349
|
t: "1686300157181",
|
|
350
350
|
class: "icon",
|
|
@@ -354,7 +354,7 @@ const te = (o, a) => {
|
|
|
354
354
|
"p-id": "8292",
|
|
355
355
|
width: "200",
|
|
356
356
|
height: "200"
|
|
357
|
-
},
|
|
357
|
+
}, Tr = /* @__PURE__ */ A(
|
|
358
358
|
"path",
|
|
359
359
|
{
|
|
360
360
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 607.573333l68.266667 191.146667c13.653333 27.306667 54.613333 27.306667 61.44 0l102.4-273.066667c6.826667-20.48 0-34.133333-20.48-40.96s-34.133333 0-40.96 13.653334l-68.266667 191.146666-68.266667-191.146666c-13.653333-27.306667-54.613333-27.306667-68.266666 0l-68.266667 191.146666-68.266667-191.146666c-6.826667-13.653333-27.306667-27.306667-47.786666-20.48s-27.306667 27.306667-20.48 47.786666l102.4 273.066667c13.653333 27.306667 54.613333 27.306667 61.44 0l75.093333-191.146667z",
|
|
@@ -364,7 +364,7 @@ const te = (o, a) => {
|
|
|
364
364
|
null,
|
|
365
365
|
-1
|
|
366
366
|
/* HOISTED */
|
|
367
|
-
),
|
|
367
|
+
), Er = /* @__PURE__ */ A(
|
|
368
368
|
"path",
|
|
369
369
|
{
|
|
370
370
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -374,10 +374,10 @@ const te = (o, a) => {
|
|
|
374
374
|
null,
|
|
375
375
|
-1
|
|
376
376
|
/* HOISTED */
|
|
377
|
-
),
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
],
|
|
377
|
+
), Sr = [
|
|
378
|
+
Tr,
|
|
379
|
+
Er
|
|
380
|
+
], Ar = {
|
|
381
381
|
key: 4,
|
|
382
382
|
t: "1686300180947",
|
|
383
383
|
class: "icon",
|
|
@@ -387,7 +387,7 @@ const te = (o, a) => {
|
|
|
387
387
|
"p-id": "8447",
|
|
388
388
|
width: "200",
|
|
389
389
|
height: "200"
|
|
390
|
-
},
|
|
390
|
+
}, xr = /* @__PURE__ */ A(
|
|
391
391
|
"path",
|
|
392
392
|
{
|
|
393
393
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m477.866667 730.453333c20.48 0 68.266667 0 68.266666-47.786666 0-20.48-6.826667-47.786667-68.266666-47.786667-27.306667 0-54.613333 6.826667-81.92 6.826667-34.133333-27.306667-68.266667-61.44-88.746667-102.4 20.48-75.093333 20.48-122.88 6.826667-150.186667-6.826667-6.826667-20.48-13.653333-34.133334-13.653333-20.48 0-34.133333 6.826667-40.96 20.48-20.48 40.96 13.653333 116.053333 27.306667 150.186666-20.48 54.613333-40.96 109.226667-68.266667 163.84C273.066667 764.586667 273.066667 798.72 273.066667 812.373333c0 13.653333 6.826667 27.306667 20.48 34.133334 6.826667 6.826667 13.653333 6.826667 20.48 6.826666 34.133333 0 68.266667-34.133333 116.053333-109.226666 54.613333-20.48 102.4-40.96 157.013333-47.786667 27.306667 20.48 61.44 34.133333 95.573334 34.133333zM491.52 416.426667c6.826667 20.48 6.826667 47.786667 0 68.266666-13.653333-20.48-13.653333-40.96-13.653333-68.266666h13.653333z m-177.493333 395.946666c13.653333-20.48 27.306667-27.306667 47.786666-40.96-13.653333 20.48-27.306667 34.133333-47.786666 40.96z m184.32-204.8c13.653333 20.48 34.133333 47.786667 54.613333 68.266667H546.133333c-27.306667 6.826667-61.44 13.653333-88.746666 27.306667 13.653333-34.133333 27.306667-61.44 40.96-95.573334z m177.493333 68.266667c27.306667 0 34.133333 6.826667 34.133333 13.653333-6.826667 0-20.48 6.826667-27.306666 0-13.653333 0-27.306667-6.826667-40.96-13.653333h34.133333z",
|
|
@@ -397,7 +397,7 @@ const te = (o, a) => {
|
|
|
397
397
|
null,
|
|
398
398
|
-1
|
|
399
399
|
/* HOISTED */
|
|
400
|
-
),
|
|
400
|
+
), Ir = /* @__PURE__ */ A(
|
|
401
401
|
"path",
|
|
402
402
|
{
|
|
403
403
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -407,10 +407,10 @@ const te = (o, a) => {
|
|
|
407
407
|
null,
|
|
408
408
|
-1
|
|
409
409
|
/* HOISTED */
|
|
410
|
-
),
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
],
|
|
410
|
+
), Pr = [
|
|
411
|
+
xr,
|
|
412
|
+
Ir
|
|
413
|
+
], Dr = {
|
|
414
414
|
key: 5,
|
|
415
415
|
t: "1686300195363",
|
|
416
416
|
class: "icon",
|
|
@@ -420,7 +420,7 @@ const te = (o, a) => {
|
|
|
420
420
|
"p-id": "8602",
|
|
421
421
|
width: "200",
|
|
422
422
|
height: "200"
|
|
423
|
-
},
|
|
423
|
+
}, Lr = /* @__PURE__ */ A(
|
|
424
424
|
"path",
|
|
425
425
|
{
|
|
426
426
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m341.333333 512h136.533334c20.48 0 34.133333-13.653333 34.133333-34.133333s-13.653333-34.133333-34.133333-34.133334H341.333333c-20.48 0-34.133333 13.653333-34.133333 34.133334s13.653333 34.133333 34.133333 34.133333h136.533334V819.2c0 20.48 13.653333 34.133333 34.133333 34.133333s34.133333-13.653333 34.133333-34.133333V512z",
|
|
@@ -430,7 +430,7 @@ const te = (o, a) => {
|
|
|
430
430
|
null,
|
|
431
431
|
-1
|
|
432
432
|
/* HOISTED */
|
|
433
|
-
),
|
|
433
|
+
), Rr = /* @__PURE__ */ A(
|
|
434
434
|
"path",
|
|
435
435
|
{
|
|
436
436
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -440,10 +440,10 @@ const te = (o, a) => {
|
|
|
440
440
|
null,
|
|
441
441
|
-1
|
|
442
442
|
/* HOISTED */
|
|
443
|
-
),
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
],
|
|
443
|
+
), Or = [
|
|
444
|
+
Lr,
|
|
445
|
+
Rr
|
|
446
|
+
], Fr = {
|
|
447
447
|
key: 6,
|
|
448
448
|
t: "1686300209288",
|
|
449
449
|
class: "icon",
|
|
@@ -453,7 +453,7 @@ const te = (o, a) => {
|
|
|
453
453
|
"p-id": "8757",
|
|
454
454
|
width: "200",
|
|
455
455
|
height: "200"
|
|
456
|
-
},
|
|
456
|
+
}, Mr = /* @__PURE__ */ A(
|
|
457
457
|
"path",
|
|
458
458
|
{
|
|
459
459
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m464.213333 375.466667l-232.106666 61.44c-27.306667 13.653333-47.786667 34.133333-47.786667 61.44v218.453333s-20.48-13.653333-54.613333-6.826667c-47.786667 6.826667-95.573333 47.786667-95.573334 88.746667 0 40.96 47.786667 61.44 95.573334 54.613333 54.613333-6.826667 95.573333-40.96 95.573333-81.92V559.786667c0-13.653333 27.306667-27.306667 27.306667-27.306667L655.36 477.866667s20.48-6.826667 20.48 13.653333v170.666667s-20.48-13.653333-54.613333-6.826667c-54.613333 6.826667-95.573333 40.96-95.573334 81.92s47.786667 68.266667 95.573334 61.44 95.573333-40.96 95.573333-81.92V409.6c0-27.306667-27.306667-40.96-47.786667-34.133333z",
|
|
@@ -463,7 +463,7 @@ const te = (o, a) => {
|
|
|
463
463
|
null,
|
|
464
464
|
-1
|
|
465
465
|
/* HOISTED */
|
|
466
|
-
),
|
|
466
|
+
), Nr = /* @__PURE__ */ A(
|
|
467
467
|
"path",
|
|
468
468
|
{
|
|
469
469
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -473,10 +473,10 @@ const te = (o, a) => {
|
|
|
473
473
|
null,
|
|
474
474
|
-1
|
|
475
475
|
/* HOISTED */
|
|
476
|
-
),
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
],
|
|
476
|
+
), Br = [
|
|
477
|
+
Mr,
|
|
478
|
+
Nr
|
|
479
|
+
], Hr = {
|
|
480
480
|
key: 7,
|
|
481
481
|
t: "1686300225262",
|
|
482
482
|
class: "icon",
|
|
@@ -486,7 +486,7 @@ const te = (o, a) => {
|
|
|
486
486
|
"p-id": "8912",
|
|
487
487
|
width: "200",
|
|
488
488
|
height: "200"
|
|
489
|
-
},
|
|
489
|
+
}, Ur = /* @__PURE__ */ A(
|
|
490
490
|
"path",
|
|
491
491
|
{
|
|
492
492
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 853.333333c150.186667 0 273.066667-122.88 273.066667-273.066666s-122.88-273.066667-273.066667-273.066667-273.066667 122.88-273.066667 273.066667 122.88 273.066667 273.066667 273.066666z m0-68.266666c-116.053333 0-204.8-88.746667-204.8-204.8s88.746667-204.8 204.8-204.8 204.8 88.746667 204.8 204.8-88.746667 204.8-204.8 204.8zM614.4 600.746667l6.826667-6.826667c6.826667-13.653333 6.826667-27.306667-6.826667-34.133333L484.693333 471.04s-6.826667-6.826667-13.653333-6.826667c-13.653333 0-27.306667 13.653333-27.306667 27.306667v170.666667c0 6.826667 0 13.653333 6.826667 13.653333 6.826667 13.653333 27.306667 13.653333 40.96 6.826667L614.4 600.746667z",
|
|
@@ -496,7 +496,7 @@ const te = (o, a) => {
|
|
|
496
496
|
null,
|
|
497
497
|
-1
|
|
498
498
|
/* HOISTED */
|
|
499
|
-
),
|
|
499
|
+
), zr = /* @__PURE__ */ A(
|
|
500
500
|
"path",
|
|
501
501
|
{
|
|
502
502
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -506,10 +506,10 @@ const te = (o, a) => {
|
|
|
506
506
|
null,
|
|
507
507
|
-1
|
|
508
508
|
/* HOISTED */
|
|
509
|
-
),
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
],
|
|
509
|
+
), Vr = [
|
|
510
|
+
Ur,
|
|
511
|
+
zr
|
|
512
|
+
], jr = {
|
|
513
513
|
key: 8,
|
|
514
514
|
t: "1692251753690",
|
|
515
515
|
class: "icon",
|
|
@@ -519,7 +519,7 @@ const te = (o, a) => {
|
|
|
519
519
|
"p-id": "4336",
|
|
520
520
|
width: "200",
|
|
521
521
|
height: "200"
|
|
522
|
-
},
|
|
522
|
+
}, Wr = /* @__PURE__ */ A(
|
|
523
523
|
"path",
|
|
524
524
|
{
|
|
525
525
|
d: "M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",
|
|
@@ -529,7 +529,7 @@ const te = (o, a) => {
|
|
|
529
529
|
null,
|
|
530
530
|
-1
|
|
531
531
|
/* HOISTED */
|
|
532
|
-
),
|
|
532
|
+
), Gr = /* @__PURE__ */ A(
|
|
533
533
|
"path",
|
|
534
534
|
{
|
|
535
535
|
d: "M388.5056 631.261867H307.541333v54.852266h95.095467v33.8944H265.3184v-204.765866h136.977067v34.167466H307.5072v48.810667h80.9984v33.041067z m112.093867-45.397334l38.4-70.621866h48.503466l-59.630933 101.546666 61.201067 103.2192h-49.117867l-39.355733-71.714133-39.389867 71.68h-49.0496l61.166933-103.185067-59.630933-101.546666h48.503467l38.4 70.587733z m266.922666 65.9456c-0.648533 9.898667-3.037867 19.592533-7.0656 28.672-3.7888 8.533333-9.352533 16.1792-16.315733 22.4256-6.929067 6.2464-15.36 11.127467-25.258667 14.6432-9.864533 3.4816-21.128533 5.256533-33.792 5.256534-13.1072 0-24.917333-2.286933-35.362133-6.826667a72.260267 72.260267 0 0 1-26.555733-19.626667 89.019733 89.019733 0 0 1-16.725334-30.993066 133.597867 133.597867 0 0 1-5.870933-40.8576v-13.482667c0-15.121067 2.048-28.740267 6.0416-40.925867 4.061867-12.1856 9.728-22.528 17.1008-31.061333 7.338667-8.533333 16.4864-15.2576 26.794667-19.694933 10.478933-4.608 22.186667-6.894933 35.157333-6.894934 12.731733 0 24.029867 1.809067 33.792 5.393067 9.8304 3.618133 18.1248 8.635733 24.9856 15.0528 6.826667 6.485333 12.288 14.267733 16.042667 22.9376 3.822933 8.874667 6.2464 18.466133 7.304533 28.8768h-42.1888a63.829333 63.829333 0 0 0-3.1744-16.145067 31.744 31.744 0 0 0-7.099733-11.810133 29.354667 29.354667 0 0 0-11.946667-7.2704 55.944533 55.944533 0 0 0-17.749333-2.4576c-14.2336 0-24.849067 5.188267-31.812267 15.5648-6.997333 10.3424-10.478933 26.385067-10.478933 48.128v13.789867c0 10.581333 0.750933 19.899733 2.321066 27.8528 1.536 7.953067 3.959467 14.609067 7.304534 19.968a32.221867 32.221867 0 0 0 12.970666 12.014933c5.256533 2.696533 11.639467 4.027733 19.182934 4.027733 6.656 0 12.3904-0.750933 17.2032-2.2528a30.549333 30.549333 0 0 0 12.0832-6.826666 30.685867 30.685867 0 0 0 7.509333-11.4688c1.809067-4.573867 2.935467-9.898667 3.413333-16.042667h42.154667z",
|
|
@@ -540,7 +540,7 @@ const te = (o, a) => {
|
|
|
540
540
|
null,
|
|
541
541
|
-1
|
|
542
542
|
/* HOISTED */
|
|
543
|
-
),
|
|
543
|
+
), $r = /* @__PURE__ */ A(
|
|
544
544
|
"path",
|
|
545
545
|
{
|
|
546
546
|
d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
|
|
@@ -550,11 +550,11 @@ const te = (o, a) => {
|
|
|
550
550
|
null,
|
|
551
551
|
-1
|
|
552
552
|
/* HOISTED */
|
|
553
|
-
),
|
|
554
|
-
jr,
|
|
553
|
+
), Kr = [
|
|
555
554
|
Wr,
|
|
556
|
-
Gr
|
|
557
|
-
|
|
555
|
+
Gr,
|
|
556
|
+
$r
|
|
557
|
+
], Yr = {
|
|
558
558
|
key: 9,
|
|
559
559
|
t: "1692251753690",
|
|
560
560
|
class: "icon",
|
|
@@ -564,7 +564,7 @@ const te = (o, a) => {
|
|
|
564
564
|
"p-id": "4336",
|
|
565
565
|
width: "200",
|
|
566
566
|
height: "200"
|
|
567
|
-
},
|
|
567
|
+
}, Xr = /* @__PURE__ */ A(
|
|
568
568
|
"path",
|
|
569
569
|
{
|
|
570
570
|
d: "M145.6 0C100.8 0 64 36.8 64 81.6v860.8C64 987.2 100.8 1024 145.6 1024h732.8c44.8 0 81.6-36.8 81.6-81.6V324.8L657.6 0h-512z",
|
|
@@ -574,7 +574,7 @@ const te = (o, a) => {
|
|
|
574
574
|
null,
|
|
575
575
|
-1
|
|
576
576
|
/* HOISTED */
|
|
577
|
-
),
|
|
577
|
+
), qr = /* @__PURE__ */ A(
|
|
578
578
|
"path",
|
|
579
579
|
{
|
|
580
580
|
d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
|
|
@@ -584,7 +584,7 @@ const te = (o, a) => {
|
|
|
584
584
|
null,
|
|
585
585
|
-1
|
|
586
586
|
/* HOISTED */
|
|
587
|
-
),
|
|
587
|
+
), Zr = /* @__PURE__ */ A(
|
|
588
588
|
"path",
|
|
589
589
|
{
|
|
590
590
|
d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
|
|
@@ -595,7 +595,7 @@ const te = (o, a) => {
|
|
|
595
595
|
null,
|
|
596
596
|
-1
|
|
597
597
|
/* HOISTED */
|
|
598
|
-
),
|
|
598
|
+
), Jr = /* @__PURE__ */ A(
|
|
599
599
|
"path",
|
|
600
600
|
{
|
|
601
601
|
d: "M344 862.4h-100.8c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h100.8c4.8 0 9.6 4.8 9.6 11.2 0 6.4-4.8 9.6-9.6 9.6h-94.4v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h94.4c4.8 0 9.6 4.8 9.6 9.6 0 6.4-4.8 11.2-9.6 11.2z m193.6 1.6c-4.8 0-8 0-9.6-3.2l-59.2-80-60.8 80c-1.6 3.2-4.8 3.2-8 3.2-6.4 0-11.2-4.8-11.2-11.2 0-1.6 0-4.8 1.6-6.4l62.4-81.6-57.6-78.4c-1.6-1.6-3.2-3.2-3.2-6.4 0-4.8 4.8-11.2 12.8-11.2 3.2 0 6.4 1.6 8 4.8l56 73.6 54.4-73.6c1.6-3.2 4.8-4.8 9.6-4.8s11.2 4.8 11.2 11.2c0 3.2 0 4.8-1.6 6.4l-57.6 76.8 60.8 83.2c1.6 1.6 3.2 4.8 3.2 6.4 0 6.4-6.4 11.2-11.2 11.2z m171.2-1.6h-99.2c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h99.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-92.8v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h92.8c6.4 0 11.2 4.8 11.2 9.6 0 6.4-4.8 11.2-11.2 11.2z",
|
|
@@ -605,12 +605,12 @@ const te = (o, a) => {
|
|
|
605
605
|
null,
|
|
606
606
|
-1
|
|
607
607
|
/* HOISTED */
|
|
608
|
-
),
|
|
609
|
-
Yr,
|
|
608
|
+
), Qr = [
|
|
610
609
|
Xr,
|
|
611
610
|
qr,
|
|
612
|
-
Zr
|
|
613
|
-
|
|
611
|
+
Zr,
|
|
612
|
+
Jr
|
|
613
|
+
], es = {
|
|
614
614
|
key: 10,
|
|
615
615
|
t: "1714099890925",
|
|
616
616
|
class: "icon",
|
|
@@ -620,7 +620,7 @@ const te = (o, a) => {
|
|
|
620
620
|
"p-id": "2271",
|
|
621
621
|
width: "200",
|
|
622
622
|
height: "200"
|
|
623
|
-
},
|
|
623
|
+
}, ts = /* @__PURE__ */ A(
|
|
624
624
|
"path",
|
|
625
625
|
{
|
|
626
626
|
d: "M227.555556 28.444444h389.404444a19.911111 19.911111 0 0 1 14.734222 6.542223l271.132445 298.211555a28.444444 28.444444 0 0 1 7.395555 19.143111V938.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H227.555556a56.888889 56.888889 0 0 1-56.888889-56.888889V85.333333a56.888889 56.888889 0 0 1 56.888889-56.888889z",
|
|
@@ -630,7 +630,7 @@ const te = (o, a) => {
|
|
|
630
630
|
null,
|
|
631
631
|
-1
|
|
632
632
|
/* HOISTED */
|
|
633
|
-
),
|
|
633
|
+
), is = /* @__PURE__ */ A(
|
|
634
634
|
"path",
|
|
635
635
|
{
|
|
636
636
|
d: "M625.777778 30.492444a19.911111 19.911111 0 0 1 5.916444 4.465778l271.132445 298.24a28.444444 28.444444 0 0 1 5.176889 8.135111H682.666667a56.888889 56.888889 0 0 1-56.888889-56.888889V30.492444z",
|
|
@@ -641,7 +641,7 @@ const te = (o, a) => {
|
|
|
641
641
|
null,
|
|
642
642
|
-1
|
|
643
643
|
/* HOISTED */
|
|
644
|
-
),
|
|
644
|
+
), ns = /* @__PURE__ */ A(
|
|
645
645
|
"path",
|
|
646
646
|
{
|
|
647
647
|
d: "M396.288 645.176889c0 5.461333-0.796444 10.865778-2.389333 16.156444-1.592889 5.319111-4.266667 10.069333-7.964445 14.222223-3.697778 4.181333-8.647111 7.509333-14.791111 10.012444a60.871111 60.871111 0 0 1-22.869333 3.754667c-15.160889 0-26.851556-3.982222-35.043556-11.946667-8.192-7.964444-12.288-19.683556-12.288-35.157333v-10.012445h21.617778v6.826667c0 4.721778 0.369778 9.045333 1.137778 12.970667a28.074667 28.074667 0 0 0 3.982222 10.24 18.773333 18.773333 0 0 0 7.964444 6.712888c3.413333 1.592889 7.765333 2.389333 13.084445 2.389334 9.870222 0 16.64-2.645333 20.366222-7.964445 3.697778-5.290667 5.575111-12.430222 5.575111-21.390222v-118.784h21.617778v121.969778z m44.145778 3.413333c0.142222 4.266667 1.137778 7.850667 2.958222 10.808889a20.593778 20.593778 0 0 0 7.168 7.054222c2.958222 1.763556 6.286222 3.015111 10.012444 3.754667 3.697778 0.768 7.537778 1.137778 11.491556 1.137778 3.043556 0 6.229333-0.227556 9.557333-0.682667 3.328-0.455111 6.4-1.28 9.216-2.503111a17.294222 17.294222 0 0 0 6.940445-5.347556 14.250667 14.250667 0 0 0 2.730666-8.988444 12.885333 12.885333 0 0 0-5.688888-11.377778c-3.783111-2.56-8.533333-4.664889-14.222223-6.257778a232.561778 232.561778 0 0 0-18.545777-4.323555 96.227556 96.227556 0 0 1-18.545778-5.461333 38.4 38.4 0 0 1-14.222222-9.898667c-3.783111-4.266667-5.688889-10.154667-5.688889-17.749333a28.16 28.16 0 0 1 3.982222-15.246223c2.645333-4.266667 6.058667-7.68 10.24-10.353777 4.181333-2.645333 8.874667-4.608 14.108444-5.916445 5.233778-1.28 10.439111-1.934222 15.587556-1.934222 6.684444 0 12.8 0.568889 18.432 1.706667 5.603556 1.137778 10.581333 3.128889 14.904889 5.916444 4.323556 2.816 7.765333 6.599111 10.353778 11.377778 2.56 4.778667 4.096 10.752 4.551111 17.863111h-19.342223a19.569778 19.569778 0 0 0-2.958222-9.443556 19.370667 19.370667 0 0 0-6.371555-6.030222 28.956444 28.956444 0 0 0-8.533334-3.299555 43.918222 43.918222 0 0 0-9.443555-1.024c-2.872889 0-5.802667 0.227556-8.760889 0.682666a29.496889 29.496889 0 0 0-8.078222 2.389334 16.270222 16.270222 0 0 0-5.916445 4.551111 11.463111 11.463111 0 0 0-2.275555 7.395555c0 3.356444 1.166222 6.115556 3.527111 8.305778a28.16 28.16 0 0 0 8.988444 5.461333c3.640889 1.422222 7.736889 2.673778 12.288 3.640889 4.551111 0.995556 9.102222 1.991111 13.653334 3.072 4.835556 1.080889 9.585778 2.360889 14.222222 3.868445 4.636444 1.536 8.732444 3.527111 12.288 6.030222s6.456889 5.660444 8.647111 9.443555a27.733333 27.733333 0 0 1 3.299555 14.108445c0 7.111111-1.479111 13.056-4.437333 17.749333a34.702222 34.702222 0 0 1-11.605333 11.377778 48.497778 48.497778 0 0 1-16.156445 6.030222c-5.973333 1.137778-11.946667 1.706667-17.863111 1.706667a82.773333 82.773333 0 0 1-18.659555-2.048 45.795556 45.795556 0 0 1-15.701334-6.712889 34.218667 34.218667 0 0 1-10.922666-12.288 42.581333 42.581333 0 0 1-4.551111-18.545778h19.342222z m116.053333-21.617778c0 7.111111 0.938667 13.482667 2.844445 19.000889 1.905778 5.546667 4.522667 10.183111 7.850666 13.880889a34.076444 34.076444 0 0 0 25.941334 11.491556 34.076444 34.076444 0 0 0 25.941333-11.491556c3.328-3.697778 5.973333-8.334222 7.850667-13.880889 1.905778-5.518222 2.844444-11.861333 2.844444-19.000889 0-7.111111-0.938667-13.454222-2.844444-19.000888a41.016889 41.016889 0 0 0-7.850667-13.994667 33.422222 33.422222 0 0 0-11.719111-8.647111 34.872889 34.872889 0 0 0-14.222222-2.958222c-5.006222 0-9.756444 0.995556-14.222223 2.958222-4.465778 1.991111-8.391111 4.835556-11.719111 8.647111-3.328 3.811556-5.973333 8.476444-7.850666 13.994667-1.905778 5.546667-2.844444 11.889778-2.844445 19.000888z m-20.48 0c0-8.647111 1.223111-16.725333 3.640889-24.234666a54.897778 54.897778 0 0 1 10.922667-19.569778c4.835556-5.518222 10.837333-9.898667 17.976889-13.084444 7.111111-3.185778 15.331556-4.778667 24.576-4.778667 9.386667 0 17.635556 1.592889 24.689777 4.778667 7.054222 3.185778 12.999111 7.566222 17.863111 13.084444 4.835556 5.546667 8.504889 12.060444 10.922667 19.569778 2.417778 7.509333 3.640889 15.587556 3.640889 24.234666 0 8.647111-1.223111 16.696889-3.640889 24.120889-2.417778 7.452444-6.058667 13.937778-10.922667 19.456-4.835556 5.546667-10.808889 9.870222-17.863111 12.970667-7.054222 3.128889-15.274667 4.664889-24.689777 4.664889-9.244444 0-17.436444-1.536-24.576-4.664889a50.261333 50.261333 0 0 1-17.976889-12.970667 55.068444 55.068444 0 0 1-10.922667-19.456 77.283556 77.283556 0 0 1-3.640889-24.120889z m136.988445-58.936888h18.204444v18.659555h0.455111c8.049778-14.250667 20.764444-21.390222 38.229333-21.390222 7.736889 0 14.193778 1.080889 19.342223 3.185778 5.148444 2.133333 9.329778 5.091556 12.515555 8.874666 3.185778 3.811556 5.404444 8.305778 6.712889 13.539556 1.28 5.233778 1.934222 11.036444 1.934222 17.408v77.368889h-19.342222v-79.644445c0-7.281778-2.133333-13.027556-6.371555-17.294222-4.266667-4.266667-10.097778-6.371556-17.521778-6.371555-5.916444 0-11.036444 0.910222-15.36 2.730666a28.814222 28.814222 0 0 0-10.808889 7.736889 33.336889 33.336889 0 0 0-6.485333 11.719111c-1.422222 4.494222-2.161778 9.386667-2.161778 14.677334v66.446222h-19.342222V568.035556z",
|
|
@@ -651,11 +651,11 @@ const te = (o, a) => {
|
|
|
651
651
|
null,
|
|
652
652
|
-1
|
|
653
653
|
/* HOISTED */
|
|
654
|
-
),
|
|
655
|
-
es,
|
|
654
|
+
), rs = [
|
|
656
655
|
ts,
|
|
657
|
-
is
|
|
658
|
-
|
|
656
|
+
is,
|
|
657
|
+
ns
|
|
658
|
+
], ss = {
|
|
659
659
|
key: 11,
|
|
660
660
|
t: "1686300037564",
|
|
661
661
|
class: "icon",
|
|
@@ -665,7 +665,7 @@ const te = (o, a) => {
|
|
|
665
665
|
"p-id": "7515",
|
|
666
666
|
width: "200",
|
|
667
667
|
height: "200"
|
|
668
|
-
},
|
|
668
|
+
}, os = /* @__PURE__ */ A(
|
|
669
669
|
"path",
|
|
670
670
|
{
|
|
671
671
|
d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
|
|
@@ -675,7 +675,7 @@ const te = (o, a) => {
|
|
|
675
675
|
null,
|
|
676
676
|
-1
|
|
677
677
|
/* HOISTED */
|
|
678
|
-
),
|
|
678
|
+
), as = /* @__PURE__ */ A(
|
|
679
679
|
"path",
|
|
680
680
|
{
|
|
681
681
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -685,7 +685,7 @@ const te = (o, a) => {
|
|
|
685
685
|
null,
|
|
686
686
|
-1
|
|
687
687
|
/* HOISTED */
|
|
688
|
-
),
|
|
688
|
+
), ls = /* @__PURE__ */ A(
|
|
689
689
|
"path",
|
|
690
690
|
{
|
|
691
691
|
d: "M384 499.2c0-25.6 5.12-46.08 10.24-58.88 5.12-12.8 15.36-25.6 28.16-35.84 12.8-12.8 25.6-20.48 43.52-25.6 15.36-5.12 30.72-7.68 48.64-7.68 35.84 0 64 10.24 89.6 30.72C627.2 422.4 640 448 640 481.28c0 15.36-5.12 28.16-10.24 40.96s-17.92 28.16-38.4 46.08-28.16 30.72-35.84 38.4c-7.68 7.68-10.24 17.92-15.36 28.16-5.12 10.24-2.56 17.92-2.56 43.52h-51.2c0-25.6 2.56-38.4 5.12-51.2s7.68-23.04 15.36-33.28 15.36-23.04 33.28-40.96c17.92-17.92 30.72-30.72 35.84-38.4 5.12-7.68 10.24-20.48 10.24-38.4s-7.68-30.72-20.48-43.52-30.72-20.48-53.76-20.48c-51.2 0-76.8 35.84-76.8 87.04h-51.2z m153.6 281.6h-51.2v-51.2h51.2v51.2z",
|
|
@@ -695,11 +695,11 @@ const te = (o, a) => {
|
|
|
695
695
|
null,
|
|
696
696
|
-1
|
|
697
697
|
/* HOISTED */
|
|
698
|
-
),
|
|
699
|
-
ss,
|
|
698
|
+
), us = [
|
|
700
699
|
os,
|
|
701
|
-
as
|
|
702
|
-
|
|
700
|
+
as,
|
|
701
|
+
ls
|
|
702
|
+
], cs = /* @__PURE__ */ ne({
|
|
703
703
|
__name: "IkFileIcon",
|
|
704
704
|
props: {
|
|
705
705
|
type: {
|
|
@@ -721,15 +721,15 @@ const te = (o, a) => {
|
|
|
721
721
|
},
|
|
722
722
|
setup(o) {
|
|
723
723
|
const a = o, r = ue(() => a.file ? te(a.file, a.fields) : a.type);
|
|
724
|
-
return (t, e) => r.value === "image" ? (E(), D("svg",
|
|
724
|
+
return (t, e) => r.value === "image" ? (E(), D("svg", ur, gr)) : r.value === "zip" ? (E(), D("svg", pr, yr)) : r.value === "ppt" ? (E(), D("svg", _r, wr)) : r.value === "word" ? (E(), D("svg", br, Sr)) : r.value === "pdf" ? (E(), D("svg", Ar, Pr)) : r.value === "txt" ? (E(), D("svg", Dr, Or)) : r.value === "audio" ? (E(), D("svg", Fr, Br)) : r.value === "video" ? (E(), D("svg", Hr, Vr)) : r.value === "excel" ? (E(), D("svg", jr, Kr)) : r.value === "exe" ? (E(), D("svg", Yr, Qr)) : r.value === "json" ? (E(), D("svg", es, rs)) : (E(), D("svg", ss, us));
|
|
725
725
|
}
|
|
726
|
-
}),
|
|
726
|
+
}), wi = ze(cs), at = (o, a) => {
|
|
727
727
|
const r = o.__vccOpts || o;
|
|
728
728
|
for (const [t, e] of a)
|
|
729
729
|
r[t] = e;
|
|
730
730
|
return r;
|
|
731
|
-
},
|
|
732
|
-
const a =
|
|
731
|
+
}, Ft = (o) => o % 1 === 0 ? o.toString() : o.toFixed(2), vt = (o, a) => a ? a.startsWith("http") ? a : `${o || location.origin}${a}` : "", fs = (o) => {
|
|
732
|
+
const a = it("loadUrl"), r = ue(() => o.loadUrl || o.fileUrl || (a == null ? void 0 : a.value)), t = it("uploadUrl"), e = ue(() => o.action || o.uploadUrl || (t == null ? void 0 : t.value)), i = it("token"), n = ue(() => o.token || (i == null ? void 0 : i.value)), s = it("onlyofficeConfig"), l = ue(() => o.onlyofficeConfig || (s == null ? void 0 : s.value)), u = it("userInfo"), c = ue(() => o.userInfo || (u == null ? void 0 : u.value));
|
|
733
733
|
return {
|
|
734
734
|
cLoadUrl: r,
|
|
735
735
|
cUploadUrl: e,
|
|
@@ -737,9 +737,9 @@ const te = (o, a) => {
|
|
|
737
737
|
cOnlyofficeConfig: l,
|
|
738
738
|
cUserInfo: c
|
|
739
739
|
};
|
|
740
|
-
},
|
|
740
|
+
}, nn = fs, hs = /* @__PURE__ */ ne({
|
|
741
741
|
__name: "IkPreviewFileDialog",
|
|
742
|
-
props: /* @__PURE__ */
|
|
742
|
+
props: /* @__PURE__ */ Qe({
|
|
743
743
|
file: {
|
|
744
744
|
type: Object,
|
|
745
745
|
default: () => []
|
|
@@ -780,7 +780,7 @@ const te = (o, a) => {
|
|
|
780
780
|
suffix: "suffix",
|
|
781
781
|
size: "fileSize",
|
|
782
782
|
...a.field
|
|
783
|
-
})), e = Pe(null), i = Pe(null), n =
|
|
783
|
+
})), e = Pe(null), i = Pe(null), n = On({
|
|
784
784
|
image: !1,
|
|
785
785
|
office: !1,
|
|
786
786
|
video: !1
|
|
@@ -811,13 +811,13 @@ const te = (o, a) => {
|
|
|
811
811
|
}
|
|
812
812
|
},
|
|
813
813
|
document: {
|
|
814
|
-
key:
|
|
814
|
+
key: tn(),
|
|
815
815
|
title: V,
|
|
816
816
|
url: vt(a.loadUrl, b),
|
|
817
817
|
fileType: w,
|
|
818
818
|
...((_ = a.onlyOfficeConfig) == null ? void 0 : _.document) || {}
|
|
819
819
|
},
|
|
820
|
-
documentType:
|
|
820
|
+
documentType: lr(w)
|
|
821
821
|
};
|
|
822
822
|
return;
|
|
823
823
|
}
|
|
@@ -825,7 +825,7 @@ const te = (o, a) => {
|
|
|
825
825
|
console.info("预览错误: ", C);
|
|
826
826
|
}
|
|
827
827
|
};
|
|
828
|
-
|
|
828
|
+
Qi([r, a.file], ([u, c]) => {
|
|
829
829
|
u && pt(() => {
|
|
830
830
|
s(a.file);
|
|
831
831
|
});
|
|
@@ -849,12 +849,12 @@ const te = (o, a) => {
|
|
|
849
849
|
}, null, 8, ["url-list"])) : Z("v-if", !0),
|
|
850
850
|
Z(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
851
851
|
Z(" 文档类 "),
|
|
852
|
-
K(T(
|
|
852
|
+
K(T(el), {
|
|
853
853
|
modelValue: n.video,
|
|
854
854
|
"onUpdate:modelValue": c[1] || (c[1] = (m) => n.video = m),
|
|
855
855
|
url: (p = i.value) == null ? void 0 : p.url
|
|
856
856
|
}, null, 8, ["modelValue", "url"]),
|
|
857
|
-
K(T(
|
|
857
|
+
K(T(xs), {
|
|
858
858
|
modelValue: n.office,
|
|
859
859
|
"onUpdate:modelValue": c[2] || (c[2] = (m) => n.office = m),
|
|
860
860
|
draggable: "",
|
|
@@ -872,7 +872,7 @@ const te = (o, a) => {
|
|
|
872
872
|
default: q(() => {
|
|
873
873
|
var m;
|
|
874
874
|
return [
|
|
875
|
-
K(T(
|
|
875
|
+
K(T(Ns), {
|
|
876
876
|
"config-options": e.value,
|
|
877
877
|
"document-server-url": ((m = o.onlyOfficeConfig) == null ? void 0 : m.serverUrl) || o.onlyofficeServer
|
|
878
878
|
}, null, 8, ["config-options", "document-server-url"])
|
|
@@ -888,18 +888,18 @@ const te = (o, a) => {
|
|
|
888
888
|
};
|
|
889
889
|
}
|
|
890
890
|
});
|
|
891
|
-
const
|
|
891
|
+
const ds = ze(hs), gs = {
|
|
892
892
|
key: 0,
|
|
893
893
|
class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
|
|
894
|
-
},
|
|
894
|
+
}, ps = {
|
|
895
895
|
key: 1,
|
|
896
896
|
class: "h-[1em] w-[1em]",
|
|
897
897
|
"aria-hidden": "true"
|
|
898
|
-
},
|
|
898
|
+
}, vs = ["xlink:href"], ms = ["src"], ys = {
|
|
899
899
|
key: 1,
|
|
900
900
|
class: "h-[1em] w-[1em]",
|
|
901
901
|
"aria-hidden": "true"
|
|
902
|
-
},
|
|
902
|
+
}, _s = ["xlink:href"], ks = ["src"], Cs = /* @__PURE__ */ ne({
|
|
903
903
|
name: "IkSvgIcon",
|
|
904
904
|
__name: "index",
|
|
905
905
|
props: {
|
|
@@ -925,56 +925,57 @@ const hs = ze(fs), ds = {
|
|
|
925
925
|
warning: { type: Boolean },
|
|
926
926
|
width: {}
|
|
927
927
|
},
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
const { name: n } = t.value;
|
|
934
|
-
return /^http?:\/\//.test(n) ? "img" : /i-[^:]+:[^:]+/.test(n) ? "unocss" : n != null && n.startsWith("iksig") ? "iksig" : n != null && n.includes(":") ? "iconify" : n != null && n.startsWith("iksvg") ? "svg" : "i";
|
|
928
|
+
emits: ["click"],
|
|
929
|
+
setup(o, { emit: a }) {
|
|
930
|
+
const r = o, t = ue(() => r), e = ue(() => {
|
|
931
|
+
const { name: l } = t.value;
|
|
932
|
+
return /^http?:\/\//.test(l) ? "img" : /i-[^:]+:[^:]+/.test(l) ? "unocss" : l != null && l.startsWith("iksig") ? "iksig" : l != null && l.includes(":") ? "iconify" : l != null && l.startsWith("iksvg") ? "svg" : "i";
|
|
935
933
|
}), i = ue(() => {
|
|
936
|
-
const
|
|
934
|
+
const l = [];
|
|
937
935
|
if (t.value.flip)
|
|
938
936
|
switch (t.value.flip) {
|
|
939
937
|
case "horizontal":
|
|
940
|
-
|
|
938
|
+
l.push("rotateY(180deg)");
|
|
941
939
|
break;
|
|
942
940
|
case "vertical":
|
|
943
|
-
|
|
941
|
+
l.push("rotateX(180deg)");
|
|
944
942
|
break;
|
|
945
943
|
case "both":
|
|
946
|
-
|
|
944
|
+
l.push("rotateX(180deg)"), l.push("rotateY(180deg)");
|
|
947
945
|
break;
|
|
948
946
|
}
|
|
949
|
-
t.value.rotate &&
|
|
950
|
-
const
|
|
947
|
+
t.value.rotate && l.push(`rotate(${t.value.rotate % 360}deg)`);
|
|
948
|
+
const u = {
|
|
951
949
|
...t.value.color && { color: t.value.color },
|
|
952
950
|
...t.value.size && { fontSize: typeof t.value.size == "number" ? `${t.value.size}px` : t.value.size },
|
|
953
|
-
...
|
|
951
|
+
...l.length && { transform: l.join(" ") },
|
|
954
952
|
padding: t.value.showBg || t.value.bg ? t.value.padding : 0,
|
|
955
953
|
...t.value.color && e.value !== "iksig" ? {
|
|
956
954
|
"--ik-color-icon-dark": t.value.color,
|
|
957
|
-
"--ik-color-icon-light": t.value.colorLight ||
|
|
955
|
+
"--ik-color-icon-light": t.value.colorLight || Gn.setOpacity(t.value.color, t.value.opacity)
|
|
958
956
|
} : {}
|
|
959
957
|
};
|
|
960
|
-
return t.value.width && (
|
|
961
|
-
})
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
958
|
+
return t.value.width && (u.width = u.height = typeof t.value.width == "number" ? `${t.value.width}px` : t.value.width), u;
|
|
959
|
+
}), n = a, s = (l) => {
|
|
960
|
+
t.value.disabled || n("click", l);
|
|
961
|
+
};
|
|
962
|
+
return (l, u) => {
|
|
963
|
+
const c = st("el-tooltip"), h = st("el-button");
|
|
964
|
+
return t.value.tableIconType === "icon" || !t.value.tableIconType ? (E(), D("span", gs, [
|
|
965
965
|
t.value.notip || !t.value.title ? (E(), D(
|
|
966
966
|
"i",
|
|
967
967
|
{
|
|
968
968
|
key: 0,
|
|
969
|
+
onClick: Rt(s, ["stop"]),
|
|
969
970
|
class: pe(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
970
|
-
[
|
|
971
|
+
[l.name]: e.value === "unocss",
|
|
971
972
|
"show-bg": t.value.showBg || t.value.bg,
|
|
972
973
|
default: t.value.size === "default",
|
|
973
974
|
small: t.value.size === "small",
|
|
974
975
|
big: t.value.size === "big",
|
|
975
976
|
warning: t.value.warning || t.value.type === "warning",
|
|
976
977
|
primary: t.value.primary || t.value.type === "primary",
|
|
977
|
-
success:
|
|
978
|
+
success: l.success || t.value.type === "success",
|
|
978
979
|
error: t.value.error || t.value.type === "error",
|
|
979
980
|
active: t.value.active,
|
|
980
981
|
disabled: t.value.disabled
|
|
@@ -993,15 +994,15 @@ const hs = ze(fs), ds = {
|
|
|
993
994
|
null,
|
|
994
995
|
6
|
|
995
996
|
/* CLASS, STYLE */
|
|
996
|
-
)) : e.value === "svg" ? (E(), D("svg",
|
|
997
|
+
)) : e.value === "svg" ? (E(), D("svg", ps, [
|
|
997
998
|
A("use", {
|
|
998
999
|
"xlink:href": `#${t.value.name}`
|
|
999
|
-
}, null, 8,
|
|
1000
|
+
}, null, 8, vs)
|
|
1000
1001
|
])) : e.value === "img" ? (E(), D("img", {
|
|
1001
1002
|
key: 2,
|
|
1002
1003
|
src: t.value.name,
|
|
1003
1004
|
class: "h-[1em] w-[1em]"
|
|
1004
|
-
}, null, 8,
|
|
1005
|
+
}, null, 8, ms)) : (E(), D(
|
|
1005
1006
|
"i",
|
|
1006
1007
|
{
|
|
1007
1008
|
key: 3,
|
|
@@ -1015,7 +1016,7 @@ const hs = ze(fs), ds = {
|
|
|
1015
1016
|
],
|
|
1016
1017
|
6
|
|
1017
1018
|
/* CLASS, STYLE */
|
|
1018
|
-
)) : (E(), ee(
|
|
1019
|
+
)) : (E(), ee(c, {
|
|
1019
1020
|
key: 1,
|
|
1020
1021
|
content: t.value.title,
|
|
1021
1022
|
placement: "top"
|
|
@@ -1025,17 +1026,18 @@ const hs = ze(fs), ds = {
|
|
|
1025
1026
|
"i",
|
|
1026
1027
|
{
|
|
1027
1028
|
class: pe(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1028
|
-
[
|
|
1029
|
+
[l.name]: e.value === "unocss",
|
|
1029
1030
|
"show-bg": t.value.showBg || t.value.bg,
|
|
1030
1031
|
default: t.value.size === "default",
|
|
1031
1032
|
small: t.value.size === "small",
|
|
1032
1033
|
big: t.value.size === "big",
|
|
1033
1034
|
warning: t.value.warning || t.value.type === "warning",
|
|
1034
|
-
primary:
|
|
1035
|
-
success:
|
|
1035
|
+
primary: l.primary || t.value.type === "primary",
|
|
1036
|
+
success: l.success || t.value.type === "success",
|
|
1036
1037
|
error: t.value.error || t.value.type === "error",
|
|
1037
1038
|
active: t.value.active
|
|
1038
1039
|
}]),
|
|
1040
|
+
onClick: Rt(s, ["stop"]),
|
|
1039
1041
|
style: Ie(i.value)
|
|
1040
1042
|
},
|
|
1041
1043
|
[
|
|
@@ -1049,15 +1051,15 @@ const hs = ze(fs), ds = {
|
|
|
1049
1051
|
null,
|
|
1050
1052
|
6
|
|
1051
1053
|
/* CLASS, STYLE */
|
|
1052
|
-
)) : e.value === "svg" ? (E(), D("svg",
|
|
1054
|
+
)) : e.value === "svg" ? (E(), D("svg", ys, [
|
|
1053
1055
|
A("use", {
|
|
1054
1056
|
"xlink:href": `#${t.value.name}`
|
|
1055
|
-
}, null, 8,
|
|
1057
|
+
}, null, 8, _s)
|
|
1056
1058
|
])) : e.value === "img" ? (E(), D("img", {
|
|
1057
1059
|
key: 2,
|
|
1058
1060
|
src: t.value.name,
|
|
1059
1061
|
class: "h-[1em] w-[1em]"
|
|
1060
|
-
}, null, 8,
|
|
1062
|
+
}, null, 8, ks)) : (E(), D(
|
|
1061
1063
|
"i",
|
|
1062
1064
|
{
|
|
1063
1065
|
key: 3,
|
|
@@ -1076,9 +1078,10 @@ const hs = ze(fs), ds = {
|
|
|
1076
1078
|
_: 1
|
|
1077
1079
|
/* STABLE */
|
|
1078
1080
|
}, 8, ["content"]))
|
|
1079
|
-
])) : (E(), ee(
|
|
1081
|
+
])) : (E(), ee(h, {
|
|
1080
1082
|
key: 1,
|
|
1081
|
-
type: ["warning", "error"].includes(t.value.type) ? "danger" : ""
|
|
1083
|
+
type: ["warning", "error"].includes(t.value.type) ? "danger" : "",
|
|
1084
|
+
onClick: Rt(s, ["stop"])
|
|
1082
1085
|
}, {
|
|
1083
1086
|
default: q(() => [
|
|
1084
1087
|
He(
|
|
@@ -1093,10 +1096,10 @@ const hs = ze(fs), ds = {
|
|
|
1093
1096
|
};
|
|
1094
1097
|
}
|
|
1095
1098
|
});
|
|
1096
|
-
const
|
|
1099
|
+
const ws = /* @__PURE__ */ at(Cs, [["__scopeId", "data-v-4a1004b9"]]), ge = ze(ws), bs = {
|
|
1097
1100
|
key: 0,
|
|
1098
1101
|
class: "exit-main-page-maximize"
|
|
1099
|
-
},
|
|
1102
|
+
}, Ts = /* @__PURE__ */ ne({
|
|
1100
1103
|
__name: "CloseIcon",
|
|
1101
1104
|
props: {
|
|
1102
1105
|
showBg: {
|
|
@@ -1110,7 +1113,7 @@ const Cs = /* @__PURE__ */ at(ks, [["__scopeId", "data-v-ec9fdc8a"]]), ge = ze(C
|
|
|
1110
1113
|
},
|
|
1111
1114
|
setup(o) {
|
|
1112
1115
|
return (a, r) => (E(), D("div", null, [
|
|
1113
|
-
o.showBg && o.fullscreen ? (E(), D("div",
|
|
1116
|
+
o.showBg && o.fullscreen ? (E(), D("div", bs, [
|
|
1114
1117
|
K(T(ge), {
|
|
1115
1118
|
name: "iksvg_guanbidanchuang",
|
|
1116
1119
|
title: "关闭",
|
|
@@ -1127,9 +1130,9 @@ const Cs = /* @__PURE__ */ at(ks, [["__scopeId", "data-v-ec9fdc8a"]]), ge = ze(C
|
|
|
1127
1130
|
]));
|
|
1128
1131
|
}
|
|
1129
1132
|
});
|
|
1130
|
-
const
|
|
1133
|
+
const Es = /* @__PURE__ */ at(Ts, [["__scopeId", "data-v-79f49df8"]]), Ss = { class: "base-header" }, As = /* @__PURE__ */ ne({
|
|
1131
1134
|
__name: "IkBaseDialog",
|
|
1132
|
-
props: /* @__PURE__ */
|
|
1135
|
+
props: /* @__PURE__ */ Qe({
|
|
1133
1136
|
title: { default: "" },
|
|
1134
1137
|
cancelText: { default: "取消" },
|
|
1135
1138
|
confirmText: { default: "确认" },
|
|
@@ -1152,7 +1155,7 @@ const Ts = /* @__PURE__ */ at(bs, [["__scopeId", "data-v-79f49df8"]]), Es = { cl
|
|
|
1152
1155
|
t.value = !t.value;
|
|
1153
1156
|
}, i = ne({
|
|
1154
1157
|
setup() {
|
|
1155
|
-
return () =>
|
|
1158
|
+
return () => Fn(Es, {
|
|
1156
1159
|
showBg: a.showCloseBg,
|
|
1157
1160
|
fullscreen: a.fullscreen
|
|
1158
1161
|
});
|
|
@@ -1160,7 +1163,7 @@ const Ts = /* @__PURE__ */ at(bs, [["__scopeId", "data-v-79f49df8"]]), Es = { cl
|
|
|
1160
1163
|
});
|
|
1161
1164
|
return (n, s) => {
|
|
1162
1165
|
const l = st("el-dialog");
|
|
1163
|
-
return E(), ee(l,
|
|
1166
|
+
return E(), ee(l, qt({
|
|
1164
1167
|
modelValue: r.value,
|
|
1165
1168
|
"onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u)
|
|
1166
1169
|
}, n.$attrs, {
|
|
@@ -1168,7 +1171,7 @@ const Ts = /* @__PURE__ */ at(bs, [["__scopeId", "data-v-79f49df8"]]), Es = { cl
|
|
|
1168
1171
|
class: `ik-base-dialog ${n.noHeader ? "no-header" : ""} ${n.noFooter ? "no-footer" : ""}`,
|
|
1169
1172
|
fullscreen: t.value,
|
|
1170
1173
|
"modal-class": "baseDialog"
|
|
1171
|
-
}),
|
|
1174
|
+
}), en({
|
|
1172
1175
|
icon: q(() => [
|
|
1173
1176
|
we(n.$slots, "title", {}, () => [
|
|
1174
1177
|
He(
|
|
@@ -1179,7 +1182,7 @@ const Ts = /* @__PURE__ */ at(bs, [["__scopeId", "data-v-79f49df8"]]), Es = { cl
|
|
|
1179
1182
|
])
|
|
1180
1183
|
]),
|
|
1181
1184
|
header: q(() => [
|
|
1182
|
-
A("div",
|
|
1185
|
+
A("div", Ss, [
|
|
1183
1186
|
we(n.$slots, "header", {}, () => [
|
|
1184
1187
|
He(
|
|
1185
1188
|
ce(n.title),
|
|
@@ -1213,12 +1216,12 @@ const Ts = /* @__PURE__ */ at(bs, [["__scopeId", "data-v-79f49df8"]]), Es = { cl
|
|
|
1213
1216
|
};
|
|
1214
1217
|
}
|
|
1215
1218
|
});
|
|
1216
|
-
const
|
|
1217
|
-
var
|
|
1218
|
-
function
|
|
1219
|
+
const xs = ze(As);
|
|
1220
|
+
var Is = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1221
|
+
function ni(o) {
|
|
1219
1222
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
1220
1223
|
}
|
|
1221
|
-
function
|
|
1224
|
+
function Ps(o, a, r, t) {
|
|
1222
1225
|
function e(i) {
|
|
1223
1226
|
return i instanceof r ? i : new r(function(n) {
|
|
1224
1227
|
n(i);
|
|
@@ -1245,7 +1248,7 @@ function Is(o, a, r, t) {
|
|
|
1245
1248
|
u((t = t.apply(o, a || [])).next());
|
|
1246
1249
|
});
|
|
1247
1250
|
}
|
|
1248
|
-
function
|
|
1251
|
+
function Ds(o, a) {
|
|
1249
1252
|
var r = { label: 0, sent: function() {
|
|
1250
1253
|
if (i[0] & 1)
|
|
1251
1254
|
throw i[1];
|
|
@@ -1310,9 +1313,9 @@ function Ps(o, a) {
|
|
|
1310
1313
|
return { value: u[0] ? u[1] : void 0, done: !0 };
|
|
1311
1314
|
}
|
|
1312
1315
|
}
|
|
1313
|
-
var
|
|
1314
|
-
return
|
|
1315
|
-
return
|
|
1316
|
+
var Ls = function(o, a) {
|
|
1317
|
+
return Ps(void 0, void 0, void 0, function() {
|
|
1318
|
+
return Ds(this, function(r) {
|
|
1316
1319
|
return [2, new Promise(function(t, e) {
|
|
1317
1320
|
try {
|
|
1318
1321
|
if (window.DocsAPI)
|
|
@@ -1324,12 +1327,12 @@ var Ds = function(o, a) {
|
|
|
1324
1327
|
if (!l) {
|
|
1325
1328
|
if (clearInterval(n), window.DocsAPI)
|
|
1326
1329
|
return t(null);
|
|
1327
|
-
var u =
|
|
1330
|
+
var u = bi(a, o, t, e);
|
|
1328
1331
|
i.remove(), document.body.appendChild(u);
|
|
1329
1332
|
}
|
|
1330
1333
|
}, 500);
|
|
1331
1334
|
else {
|
|
1332
|
-
var s =
|
|
1335
|
+
var s = bi(a, o, t, e);
|
|
1333
1336
|
document.body.appendChild(s);
|
|
1334
1337
|
}
|
|
1335
1338
|
} catch (l) {
|
|
@@ -1338,14 +1341,14 @@ var Ds = function(o, a) {
|
|
|
1338
1341
|
})];
|
|
1339
1342
|
});
|
|
1340
1343
|
});
|
|
1341
|
-
},
|
|
1344
|
+
}, bi = function(o, a, r, t) {
|
|
1342
1345
|
var e = document.createElement("script");
|
|
1343
1346
|
return e.id = o, e.type = "text/javascript", e.src = a, e.async = !0, e.onload = function() {
|
|
1344
1347
|
e.removeAttribute("loading"), r(null);
|
|
1345
1348
|
}, e.onerror = function(i) {
|
|
1346
1349
|
e.removeAttribute("loading"), t(i);
|
|
1347
1350
|
}, e.setAttribute("loading", ""), e;
|
|
1348
|
-
},
|
|
1351
|
+
}, ri = ne({
|
|
1349
1352
|
name: "DocumentEditor",
|
|
1350
1353
|
props: {
|
|
1351
1354
|
id: {
|
|
@@ -1400,7 +1403,7 @@ var Ds = function(o, a) {
|
|
|
1400
1403
|
var o = this, a = this.documentServerUrl;
|
|
1401
1404
|
a.endsWith("/") || (a += "/");
|
|
1402
1405
|
var r = "".concat(a, "web-apps/apps/api/documents/api.js");
|
|
1403
|
-
|
|
1406
|
+
Ls(r, "onlyoffice-api-script").then(function() {
|
|
1404
1407
|
return o.onLoad();
|
|
1405
1408
|
}).catch(function() {
|
|
1406
1409
|
o.onError(-2);
|
|
@@ -1514,13 +1517,13 @@ var Ds = function(o, a) {
|
|
|
1514
1517
|
}
|
|
1515
1518
|
}
|
|
1516
1519
|
});
|
|
1517
|
-
const
|
|
1518
|
-
function
|
|
1519
|
-
return E(), D("div", { id: o.id }, null, 8,
|
|
1520
|
+
const Rs = ["id"];
|
|
1521
|
+
function Os(o, a, r, t, e, i) {
|
|
1522
|
+
return E(), D("div", { id: o.id }, null, 8, Rs);
|
|
1520
1523
|
}
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
const
|
|
1524
|
+
ri.render = Os;
|
|
1525
|
+
ri.__file = "src/components/DocumentEditor.vue";
|
|
1526
|
+
const Fs = /* @__PURE__ */ ne({
|
|
1524
1527
|
__name: "IkOnlyOffice",
|
|
1525
1528
|
props: {
|
|
1526
1529
|
// 文件服务器的服务的地址
|
|
@@ -1555,7 +1558,7 @@ const Os = /* @__PURE__ */ ne({
|
|
|
1555
1558
|
style: Ie({ height: a.officeHeight })
|
|
1556
1559
|
},
|
|
1557
1560
|
[
|
|
1558
|
-
K(T(
|
|
1561
|
+
K(T(ri), {
|
|
1559
1562
|
id: `${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
1560
1563
|
ref: "editorRef",
|
|
1561
1564
|
"document-server-url": o.documentServerUrl,
|
|
@@ -1568,8 +1571,8 @@ const Os = /* @__PURE__ */ ne({
|
|
|
1568
1571
|
));
|
|
1569
1572
|
}
|
|
1570
1573
|
});
|
|
1571
|
-
const
|
|
1572
|
-
function
|
|
1574
|
+
const Ms = /* @__PURE__ */ at(Fs, [["__scopeId", "data-v-98d51ef9"]]), Ns = ze(Ms);
|
|
1575
|
+
function Ti(o, a) {
|
|
1573
1576
|
var r = Object.keys(o);
|
|
1574
1577
|
if (Object.getOwnPropertySymbols) {
|
|
1575
1578
|
var t = Object.getOwnPropertySymbols(o);
|
|
@@ -1582,9 +1585,9 @@ function bi(o, a) {
|
|
|
1582
1585
|
function Q(o) {
|
|
1583
1586
|
for (var a = 1; a < arguments.length; a++) {
|
|
1584
1587
|
var r = arguments[a] != null ? arguments[a] : {};
|
|
1585
|
-
a % 2 ?
|
|
1588
|
+
a % 2 ? Ti(Object(r), !0).forEach(function(t) {
|
|
1586
1589
|
y(o, t, r[t]);
|
|
1587
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(r)) :
|
|
1590
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(r)) : Ti(Object(r)).forEach(function(t) {
|
|
1588
1591
|
Object.defineProperty(o, t, Object.getOwnPropertyDescriptor(r, t));
|
|
1589
1592
|
});
|
|
1590
1593
|
}
|
|
@@ -1602,19 +1605,19 @@ function I(o, a) {
|
|
|
1602
1605
|
if (!(o instanceof a))
|
|
1603
1606
|
throw new TypeError("Cannot call a class as a function");
|
|
1604
1607
|
}
|
|
1605
|
-
function
|
|
1608
|
+
function Ei(o, a) {
|
|
1606
1609
|
for (var r = 0; r < a.length; r++) {
|
|
1607
1610
|
var t = a[r];
|
|
1608
|
-
t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(o,
|
|
1611
|
+
t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(o, rn(t.key), t);
|
|
1609
1612
|
}
|
|
1610
1613
|
}
|
|
1611
1614
|
function P(o, a, r) {
|
|
1612
|
-
return a &&
|
|
1615
|
+
return a && Ei(o.prototype, a), r && Ei(o, r), Object.defineProperty(o, "prototype", {
|
|
1613
1616
|
writable: !1
|
|
1614
1617
|
}), o;
|
|
1615
1618
|
}
|
|
1616
1619
|
function y(o, a, r) {
|
|
1617
|
-
return a =
|
|
1620
|
+
return a = rn(a), a in o ? Object.defineProperty(o, a, {
|
|
1618
1621
|
value: r,
|
|
1619
1622
|
enumerable: !0,
|
|
1620
1623
|
configurable: !0,
|
|
@@ -1632,19 +1635,19 @@ function L(o, a) {
|
|
|
1632
1635
|
}
|
|
1633
1636
|
}), Object.defineProperty(o, "prototype", {
|
|
1634
1637
|
writable: !1
|
|
1635
|
-
}), a &&
|
|
1638
|
+
}), a && Zt(o, a);
|
|
1636
1639
|
}
|
|
1637
1640
|
function O(o) {
|
|
1638
1641
|
return O = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
|
|
1639
1642
|
return r.__proto__ || Object.getPrototypeOf(r);
|
|
1640
1643
|
}, O(o);
|
|
1641
1644
|
}
|
|
1642
|
-
function
|
|
1643
|
-
return
|
|
1645
|
+
function Zt(o, a) {
|
|
1646
|
+
return Zt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
1644
1647
|
return t.__proto__ = e, t;
|
|
1645
|
-
},
|
|
1648
|
+
}, Zt(o, a);
|
|
1646
1649
|
}
|
|
1647
|
-
function
|
|
1650
|
+
function Bs() {
|
|
1648
1651
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
1649
1652
|
return !1;
|
|
1650
1653
|
if (typeof Proxy == "function")
|
|
@@ -1661,7 +1664,7 @@ function v(o) {
|
|
|
1661
1664
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1662
1665
|
return o;
|
|
1663
1666
|
}
|
|
1664
|
-
function
|
|
1667
|
+
function si(o, a) {
|
|
1665
1668
|
if (a && (typeof a == "object" || typeof a == "function"))
|
|
1666
1669
|
return a;
|
|
1667
1670
|
if (a !== void 0)
|
|
@@ -1669,7 +1672,7 @@ function ri(o, a) {
|
|
|
1669
1672
|
return v(o);
|
|
1670
1673
|
}
|
|
1671
1674
|
function R(o) {
|
|
1672
|
-
var a =
|
|
1675
|
+
var a = Bs();
|
|
1673
1676
|
return function() {
|
|
1674
1677
|
var t = O(o), e;
|
|
1675
1678
|
if (a) {
|
|
@@ -1677,17 +1680,17 @@ function R(o) {
|
|
|
1677
1680
|
e = Reflect.construct(t, arguments, i);
|
|
1678
1681
|
} else
|
|
1679
1682
|
e = t.apply(this, arguments);
|
|
1680
|
-
return
|
|
1683
|
+
return si(this, e);
|
|
1681
1684
|
};
|
|
1682
1685
|
}
|
|
1683
|
-
function
|
|
1686
|
+
function Hs(o, a) {
|
|
1684
1687
|
for (; !Object.prototype.hasOwnProperty.call(o, a) && (o = O(o), o !== null); )
|
|
1685
1688
|
;
|
|
1686
1689
|
return o;
|
|
1687
1690
|
}
|
|
1688
1691
|
function F() {
|
|
1689
1692
|
return typeof Reflect < "u" && Reflect.get ? F = Reflect.get.bind() : F = function(a, r, t) {
|
|
1690
|
-
var e =
|
|
1693
|
+
var e = Hs(a, r);
|
|
1691
1694
|
if (e) {
|
|
1692
1695
|
var i = Object.getOwnPropertyDescriptor(e, r);
|
|
1693
1696
|
return i.get ? i.get.call(arguments.length < 3 ? a : t) : i.value;
|
|
@@ -1695,38 +1698,38 @@ function F() {
|
|
|
1695
1698
|
}, F.apply(this, arguments);
|
|
1696
1699
|
}
|
|
1697
1700
|
function ve(o) {
|
|
1698
|
-
return
|
|
1701
|
+
return Us(o) || zs(o) || Vs(o) || js();
|
|
1699
1702
|
}
|
|
1700
|
-
function
|
|
1703
|
+
function Us(o) {
|
|
1701
1704
|
if (Array.isArray(o))
|
|
1702
|
-
return
|
|
1705
|
+
return Jt(o);
|
|
1703
1706
|
}
|
|
1704
|
-
function
|
|
1707
|
+
function zs(o) {
|
|
1705
1708
|
if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null)
|
|
1706
1709
|
return Array.from(o);
|
|
1707
1710
|
}
|
|
1708
|
-
function
|
|
1711
|
+
function Vs(o, a) {
|
|
1709
1712
|
if (o) {
|
|
1710
1713
|
if (typeof o == "string")
|
|
1711
|
-
return
|
|
1714
|
+
return Jt(o, a);
|
|
1712
1715
|
var r = Object.prototype.toString.call(o).slice(8, -1);
|
|
1713
1716
|
if (r === "Object" && o.constructor && (r = o.constructor.name), r === "Map" || r === "Set")
|
|
1714
1717
|
return Array.from(o);
|
|
1715
1718
|
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
|
|
1716
|
-
return
|
|
1719
|
+
return Jt(o, a);
|
|
1717
1720
|
}
|
|
1718
1721
|
}
|
|
1719
|
-
function
|
|
1722
|
+
function Jt(o, a) {
|
|
1720
1723
|
(a == null || a > o.length) && (a = o.length);
|
|
1721
1724
|
for (var r = 0, t = new Array(a); r < a; r++)
|
|
1722
1725
|
t[r] = o[r];
|
|
1723
1726
|
return t;
|
|
1724
1727
|
}
|
|
1725
|
-
function
|
|
1728
|
+
function js() {
|
|
1726
1729
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1727
1730
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1728
1731
|
}
|
|
1729
|
-
function
|
|
1732
|
+
function Ws(o, a) {
|
|
1730
1733
|
if (typeof o != "object" || o === null)
|
|
1731
1734
|
return o;
|
|
1732
1735
|
var r = o[Symbol.toPrimitive];
|
|
@@ -1738,11 +1741,11 @@ function js(o, a) {
|
|
|
1738
1741
|
}
|
|
1739
1742
|
return (a === "string" ? String : Number)(o);
|
|
1740
1743
|
}
|
|
1741
|
-
function
|
|
1742
|
-
var a =
|
|
1744
|
+
function rn(o) {
|
|
1745
|
+
var a = Ws(o, "string");
|
|
1743
1746
|
return typeof a == "symbol" ? a : String(a);
|
|
1744
1747
|
}
|
|
1745
|
-
var
|
|
1748
|
+
var sn = { exports: {} };
|
|
1746
1749
|
(function(o) {
|
|
1747
1750
|
var a = Object.prototype.hasOwnProperty, r = "~";
|
|
1748
1751
|
function t() {
|
|
@@ -1852,40 +1855,40 @@ var rn = { exports: {} };
|
|
|
1852
1855
|
var c;
|
|
1853
1856
|
return u ? (c = r ? r + u : u, this._events[c] && n(this, c)) : (this._events = new t(), this._eventsCount = 0), this;
|
|
1854
1857
|
}, s.prototype.off = s.prototype.removeListener, s.prototype.addListener = s.prototype.on, s.prefixed = r, s.EventEmitter = s, o.exports = s;
|
|
1855
|
-
})(
|
|
1856
|
-
var
|
|
1857
|
-
const
|
|
1858
|
-
var
|
|
1858
|
+
})(sn);
|
|
1859
|
+
var on = sn.exports;
|
|
1860
|
+
const an = /* @__PURE__ */ ni(on);
|
|
1861
|
+
var Gs = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Mt = {
|
|
1859
1862
|
info: "color: #525252; background-color: #90ee90;",
|
|
1860
1863
|
error: "color: #525252; background-color: red;",
|
|
1861
1864
|
warn: "color: #525252; background-color: yellow; "
|
|
1862
|
-
},
|
|
1865
|
+
}, Nt = "%c[xgplayer]", U = {
|
|
1863
1866
|
config: {
|
|
1864
|
-
debug:
|
|
1867
|
+
debug: Gs ? 3 : 0
|
|
1865
1868
|
},
|
|
1866
1869
|
logInfo: function(a) {
|
|
1867
1870
|
for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
1868
1871
|
e[i - 1] = arguments[i];
|
|
1869
|
-
this.config.debug >= 3 && (r = console).log.apply(r, [
|
|
1872
|
+
this.config.debug >= 3 && (r = console).log.apply(r, [Nt, Mt.info, a].concat(e));
|
|
1870
1873
|
},
|
|
1871
1874
|
logWarn: function(a) {
|
|
1872
1875
|
for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
1873
1876
|
e[i - 1] = arguments[i];
|
|
1874
|
-
this.config.debug >= 1 && (r = console).warn.apply(r, [
|
|
1877
|
+
this.config.debug >= 1 && (r = console).warn.apply(r, [Nt, Mt.warn, a].concat(e));
|
|
1875
1878
|
},
|
|
1876
1879
|
logError: function(a) {
|
|
1877
1880
|
var r;
|
|
1878
1881
|
if (!(this.config.debug < 1)) {
|
|
1879
1882
|
for (var t = this.config.debug >= 2 ? "trace" : "error", e = arguments.length, i = new Array(e > 1 ? e - 1 : 0), n = 1; n < e; n++)
|
|
1880
1883
|
i[n - 1] = arguments[n];
|
|
1881
|
-
(r = console)[t].apply(r, [
|
|
1884
|
+
(r = console)[t].apply(r, [Nt, Mt.error, a].concat(i));
|
|
1882
1885
|
}
|
|
1883
1886
|
}
|
|
1884
1887
|
};
|
|
1885
|
-
function
|
|
1888
|
+
function $s(o) {
|
|
1886
1889
|
o.logInfo = U.logInfo.bind(o), o.logWarn = U.logWarn.bind(o), o.logError = U.logError.bind(o);
|
|
1887
1890
|
}
|
|
1888
|
-
var
|
|
1891
|
+
var Ks = /* @__PURE__ */ function() {
|
|
1889
1892
|
function o(a) {
|
|
1890
1893
|
I(this, o), this.bufferedList = a;
|
|
1891
1894
|
}
|
|
@@ -2131,7 +2134,7 @@ f.setStyleFromCsstext = function(o, a) {
|
|
|
2131
2134
|
o.style[t] = a[t];
|
|
2132
2135
|
});
|
|
2133
2136
|
};
|
|
2134
|
-
function
|
|
2137
|
+
function Ys(o, a) {
|
|
2135
2138
|
for (var r = 0, t = a.length; r < t; r++)
|
|
2136
2139
|
if (o.indexOf(a[r]) > -1)
|
|
2137
2140
|
return !0;
|
|
@@ -2145,7 +2148,7 @@ f.filterStyleFromText = function(o) {
|
|
|
2145
2148
|
return t.map(function(n) {
|
|
2146
2149
|
if (n) {
|
|
2147
2150
|
var s = n.split(":");
|
|
2148
|
-
s.length > 1 && (
|
|
2151
|
+
s.length > 1 && (Ys(s[0], a) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
|
|
2149
2152
|
}
|
|
2150
2153
|
}), o.setAttribute("style", ""), Object.keys(i).map(function(n) {
|
|
2151
2154
|
o.style[n] = i[n];
|
|
@@ -2210,7 +2213,7 @@ f.getBuffered2 = function(o) {
|
|
|
2210
2213
|
}
|
|
2211
2214
|
else
|
|
2212
2215
|
e = r;
|
|
2213
|
-
return new
|
|
2216
|
+
return new Ks(e);
|
|
2214
2217
|
};
|
|
2215
2218
|
f.getEventPos = function(o) {
|
|
2216
2219
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
@@ -2330,15 +2333,15 @@ f.getCurrentTimeByOffset = function(o, a) {
|
|
|
2330
2333
|
}
|
|
2331
2334
|
return o;
|
|
2332
2335
|
};
|
|
2333
|
-
function
|
|
2336
|
+
function ln(o) {
|
|
2334
2337
|
var a = ae(o);
|
|
2335
2338
|
return o !== null && (a === "object" || a === "function");
|
|
2336
2339
|
}
|
|
2337
|
-
function
|
|
2340
|
+
function Xs(o, a, r) {
|
|
2338
2341
|
var t, e, i, n, s, l, u = 0, c = !1, h = !1, d = !0, g = !a && a !== 0 && typeof window.requestAnimationFrame == "function";
|
|
2339
2342
|
if (typeof o != "function")
|
|
2340
2343
|
throw new TypeError("Expected a function");
|
|
2341
|
-
a = +a || 0,
|
|
2344
|
+
a = +a || 0, ln(r) && (c = !!r.leading, h = "maxWait" in r, i = h ? Math.max(+r.maxWait || 0, a) : i, d = "trailing" in r ? !!r.trailing : d);
|
|
2342
2345
|
function p(z) {
|
|
2343
2346
|
var ie = t, x = e;
|
|
2344
2347
|
return t = e = void 0, u = z, n = o.apply(x, ie), n;
|
|
@@ -2393,30 +2396,30 @@ function Ys(o, a, r) {
|
|
|
2393
2396
|
}
|
|
2394
2397
|
return J.cancel = W, J.flush = M, J.pending = re, J;
|
|
2395
2398
|
}
|
|
2396
|
-
function
|
|
2399
|
+
function qs(o, a, r) {
|
|
2397
2400
|
var t = !0, e = !0;
|
|
2398
2401
|
if (typeof o != "function")
|
|
2399
2402
|
throw new TypeError("Expected a function");
|
|
2400
|
-
return
|
|
2403
|
+
return ln(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Xs(o, a, {
|
|
2401
2404
|
leading: t,
|
|
2402
2405
|
trailing: e,
|
|
2403
2406
|
maxWait: a
|
|
2404
2407
|
});
|
|
2405
2408
|
}
|
|
2406
|
-
function
|
|
2409
|
+
function Zs() {
|
|
2407
2410
|
var o = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
|
|
2408
2411
|
return o === "zh-cn" && (o = "zh"), o;
|
|
2409
2412
|
}
|
|
2410
|
-
function
|
|
2413
|
+
function Js(o, a, r) {
|
|
2411
2414
|
if (o) {
|
|
2412
2415
|
var t = o.getAttribute(r);
|
|
2413
2416
|
return !!(t && t === a && (o.tagName === "VIDEO" || o.tagName === "AUDIO"));
|
|
2414
2417
|
}
|
|
2415
2418
|
}
|
|
2416
|
-
var
|
|
2419
|
+
var Si = {
|
|
2417
2420
|
android: /(Android)\s([\d.]+)/,
|
|
2418
2421
|
ios: /(Version)\/([\d.]+)/
|
|
2419
|
-
},
|
|
2422
|
+
}, Qs = ["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"], B = {
|
|
2420
2423
|
get device() {
|
|
2421
2424
|
var o = B.os;
|
|
2422
2425
|
return o.isPc ? "pc" : "mobile";
|
|
@@ -2455,7 +2458,7 @@ var Ei = {
|
|
|
2455
2458
|
if (typeof navigator > "u")
|
|
2456
2459
|
return 0;
|
|
2457
2460
|
var o = navigator.userAgent, a = "";
|
|
2458
|
-
/(?:iPhone)|(?:iPad|PlayBook)/.test(o) ? a =
|
|
2461
|
+
/(?:iPhone)|(?:iPad|PlayBook)/.test(o) ? a = Si.ios : a = Si.android;
|
|
2459
2462
|
var r = a ? a.exec(o) : [];
|
|
2460
2463
|
if (r && r.length >= 3) {
|
|
2461
2464
|
var t = r[2].split(".");
|
|
@@ -2479,7 +2482,7 @@ var Ei = {
|
|
|
2479
2482
|
if (this.supportResult)
|
|
2480
2483
|
return this.supportResult;
|
|
2481
2484
|
var r = document.createElement("video");
|
|
2482
|
-
return typeof r.canPlayType == "function" &&
|
|
2485
|
+
return typeof r.canPlayType == "function" && Qs.map(function(t) {
|
|
2483
2486
|
r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (a.isSupport = !0, a.mime += "||".concat(t));
|
|
2484
2487
|
}), this.supportResult = a, r = null, a;
|
|
2485
2488
|
},
|
|
@@ -2518,14 +2521,14 @@ var Ei = {
|
|
|
2518
2521
|
return Promise.resolve(r);
|
|
2519
2522
|
}
|
|
2520
2523
|
}
|
|
2521
|
-
},
|
|
2524
|
+
}, Qt = "3.0.18", Ai = {
|
|
2522
2525
|
1: "media",
|
|
2523
2526
|
2: "media",
|
|
2524
2527
|
3: "media",
|
|
2525
2528
|
4: "media",
|
|
2526
2529
|
5: "media",
|
|
2527
2530
|
6: "media"
|
|
2528
|
-
},
|
|
2531
|
+
}, xi = {
|
|
2529
2532
|
1: 5101,
|
|
2530
2533
|
2: 5102,
|
|
2531
2534
|
3: 5103,
|
|
@@ -2546,9 +2549,9 @@ var Ei = {
|
|
|
2546
2549
|
var t = a && a.i18n ? a.i18n.ERROR_TYPES : null;
|
|
2547
2550
|
if (a.media) {
|
|
2548
2551
|
var e = r.mediaError ? r.mediaError : a.media.error || {}, i = a.duration, n = a.currentTime, s = a.ended, l = a.src, u = a.currentSrc, c = a.media, h = c.readyState, d = c.networkState, g = r.errorCode || e.code;
|
|
2549
|
-
|
|
2552
|
+
xi[g] && (g = xi[g]);
|
|
2550
2553
|
var p = {
|
|
2551
|
-
playerVersion:
|
|
2554
|
+
playerVersion: Qt,
|
|
2552
2555
|
currentTime: n,
|
|
2553
2556
|
duration: i,
|
|
2554
2557
|
ended: s,
|
|
@@ -2567,85 +2570,85 @@ var Ei = {
|
|
|
2567
2570
|
}), p;
|
|
2568
2571
|
} else if (arguments.length > 1) {
|
|
2569
2572
|
for (var m = {
|
|
2570
|
-
playerVersion:
|
|
2573
|
+
playerVersion: Qt,
|
|
2571
2574
|
domain: document.domain
|
|
2572
2575
|
}, _ = ["errorType", "currentTime", "duration", "networkState", "readyState", "src", "currentSrc", "ended", "errd", "errorCode", "mediaError"], C = 0; C < arguments.length; C++)
|
|
2573
2576
|
m[_[C]] = arguments[C];
|
|
2574
2577
|
return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
|
|
2575
2578
|
}
|
|
2576
2579
|
}
|
|
2577
|
-
), de = "play",
|
|
2580
|
+
), de = "play", oi = "playing", Ve = "ended", et = "pause", lt = "error", xt = "seeking", Te = "seeked", he = "timeupdate", ut = "waiting", be = "canplay", eo = "canplaythrough", Re = "durationchange", un = "volumechange", Ee = "loadeddata", to = "loadedmetadata", cn = "ratechange", fn = "progress", ai = "loadstart", je = "emptied", io = "stalled", no = "suspend", ro = "abort", so = "bufferedChange", li = "focus", hn = "blur", ui = "ready", dn = "urlNull", Ue = "autoplay_started", ci = "autoplay_was_prevented", It = "complete", yt = "replay", fi = "destroy", Pt = "urlchange", ei = "download_speed_change", gn = "leaveplayer", pn = "enterplayer", vn = "loading", ke = "fullscreen_change", _t = "cssFullscreen_change", kt = "mini_state_change", hi = "definition_change", oo = "before_definition_change", ti = "after_definition_change", ao = "SEI_PARSED", lo = "retry", De = "video_resize", ii = "pip_change", mn = "rotate", yn = "screenShot", Ct = "playnext", _n = "shortcut", kn = "xglog", wt = "user_action", Dt = "reset", Cn = "source_error", wn = "source_success", uo = "switch_subtitle", bn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Tn = {
|
|
2578
2581
|
STATS_INFO: "stats_info",
|
|
2579
2582
|
STATS_DOWNLOAD: "stats_download",
|
|
2580
2583
|
STATS_RESET: "stats_reset"
|
|
2581
|
-
},
|
|
2582
|
-
const
|
|
2584
|
+
}, En = "fps_stuck";
|
|
2585
|
+
const co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2583
2586
|
__proto__: null,
|
|
2584
|
-
ABORT:
|
|
2585
|
-
AFTER_DEFINITION_CHANGE:
|
|
2586
|
-
AUTOPLAY_PREVENTED:
|
|
2587
|
+
ABORT: ro,
|
|
2588
|
+
AFTER_DEFINITION_CHANGE: ti,
|
|
2589
|
+
AUTOPLAY_PREVENTED: ci,
|
|
2587
2590
|
AUTOPLAY_STARTED: Ue,
|
|
2588
|
-
BEFORE_DEFINITION_CHANGE:
|
|
2589
|
-
BUFFER_CHANGE:
|
|
2591
|
+
BEFORE_DEFINITION_CHANGE: oo,
|
|
2592
|
+
BUFFER_CHANGE: so,
|
|
2590
2593
|
CANPLAY: be,
|
|
2591
|
-
CANPLAY_THROUGH:
|
|
2594
|
+
CANPLAY_THROUGH: eo,
|
|
2592
2595
|
COMPLETE: It,
|
|
2593
2596
|
CSS_FULLSCREEN_CHANGE: _t,
|
|
2594
|
-
DEFINITION_CHANGE:
|
|
2595
|
-
DESTROY:
|
|
2596
|
-
DOWNLOAD_SPEED_CHANGE:
|
|
2597
|
+
DEFINITION_CHANGE: hi,
|
|
2598
|
+
DESTROY: fi,
|
|
2599
|
+
DOWNLOAD_SPEED_CHANGE: ei,
|
|
2597
2600
|
DURATION_CHANGE: Re,
|
|
2598
2601
|
EMPTIED: je,
|
|
2599
2602
|
ENDED: Ve,
|
|
2600
|
-
ENTER_PLAYER:
|
|
2603
|
+
ENTER_PLAYER: pn,
|
|
2601
2604
|
ERROR: lt,
|
|
2602
|
-
FPS_STUCK:
|
|
2605
|
+
FPS_STUCK: En,
|
|
2603
2606
|
FULLSCREEN_CHANGE: ke,
|
|
2604
|
-
LEAVE_PLAYER:
|
|
2607
|
+
LEAVE_PLAYER: gn,
|
|
2605
2608
|
LOADED_DATA: Ee,
|
|
2606
|
-
LOADED_METADATA:
|
|
2607
|
-
LOADING:
|
|
2608
|
-
LOAD_START:
|
|
2609
|
+
LOADED_METADATA: to,
|
|
2610
|
+
LOADING: vn,
|
|
2611
|
+
LOAD_START: ai,
|
|
2609
2612
|
MINI_STATE_CHANGE: kt,
|
|
2610
|
-
PAUSE:
|
|
2611
|
-
PIP_CHANGE:
|
|
2613
|
+
PAUSE: et,
|
|
2614
|
+
PIP_CHANGE: ii,
|
|
2612
2615
|
PLAY: de,
|
|
2613
|
-
PLAYER_BLUR:
|
|
2614
|
-
PLAYER_FOCUS:
|
|
2615
|
-
PLAYING:
|
|
2616
|
+
PLAYER_BLUR: hn,
|
|
2617
|
+
PLAYER_FOCUS: li,
|
|
2618
|
+
PLAYING: oi,
|
|
2616
2619
|
PLAYNEXT: Ct,
|
|
2617
|
-
PROGRESS:
|
|
2618
|
-
RATE_CHANGE:
|
|
2619
|
-
READY:
|
|
2620
|
+
PROGRESS: fn,
|
|
2621
|
+
RATE_CHANGE: cn,
|
|
2622
|
+
READY: ui,
|
|
2620
2623
|
REPLAY: yt,
|
|
2621
2624
|
RESET: Dt,
|
|
2622
|
-
RETRY:
|
|
2623
|
-
ROTATE:
|
|
2624
|
-
SCREEN_SHOT:
|
|
2625
|
+
RETRY: lo,
|
|
2626
|
+
ROTATE: mn,
|
|
2627
|
+
SCREEN_SHOT: yn,
|
|
2625
2628
|
SEEKED: Te,
|
|
2626
2629
|
SEEKING: xt,
|
|
2627
|
-
SEI_PARSED:
|
|
2628
|
-
SHORTCUT:
|
|
2629
|
-
SOURCE_ERROR:
|
|
2630
|
-
SOURCE_SUCCESS:
|
|
2631
|
-
STALLED:
|
|
2632
|
-
STATS_EVENTS:
|
|
2633
|
-
SUSPEND:
|
|
2634
|
-
SWITCH_SUBTITLE:
|
|
2630
|
+
SEI_PARSED: ao,
|
|
2631
|
+
SHORTCUT: _n,
|
|
2632
|
+
SOURCE_ERROR: Cn,
|
|
2633
|
+
SOURCE_SUCCESS: wn,
|
|
2634
|
+
STALLED: io,
|
|
2635
|
+
STATS_EVENTS: Tn,
|
|
2636
|
+
SUSPEND: no,
|
|
2637
|
+
SWITCH_SUBTITLE: uo,
|
|
2635
2638
|
TIME_UPDATE: he,
|
|
2636
2639
|
URL_CHANGE: Pt,
|
|
2637
|
-
URL_NULL:
|
|
2640
|
+
URL_NULL: dn,
|
|
2638
2641
|
USER_ACTION: wt,
|
|
2639
|
-
VIDEO_EVENTS:
|
|
2642
|
+
VIDEO_EVENTS: bn,
|
|
2640
2643
|
VIDEO_RESIZE: De,
|
|
2641
|
-
VOLUME_CHANGE:
|
|
2644
|
+
VOLUME_CHANGE: un,
|
|
2642
2645
|
WAITING: ut,
|
|
2643
|
-
XGLOG:
|
|
2646
|
+
XGLOG: kn
|
|
2644
2647
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2645
|
-
function
|
|
2648
|
+
function Bt(o, a) {
|
|
2646
2649
|
!this || !this.emit || (o === "error" ? this.errorHandler(o, a.error) : this.emit(o, a));
|
|
2647
2650
|
}
|
|
2648
|
-
function
|
|
2651
|
+
function fo(o, a) {
|
|
2649
2652
|
return function(r, t) {
|
|
2650
2653
|
var e = {
|
|
2651
2654
|
player: a,
|
|
@@ -2670,17 +2673,17 @@ function co(o, a) {
|
|
|
2670
2673
|
a._rate = a.media && a.media.playbackRate;
|
|
2671
2674
|
}
|
|
2672
2675
|
if (o === "durationchange" && (a._duration = a.media.duration), o === "volumechange" && (e.isMutedChange = a._lastMuted !== a.muted, a._lastMuted = a.muted), o === "error" && (e.error = t || a.video.error), a.mediaEventMiddleware[o]) {
|
|
2673
|
-
var n =
|
|
2676
|
+
var n = Bt.bind(a, o, e);
|
|
2674
2677
|
try {
|
|
2675
2678
|
a.mediaEventMiddleware[o].call(a, e, n);
|
|
2676
2679
|
} catch (s) {
|
|
2677
|
-
throw
|
|
2680
|
+
throw Bt.call(a, o, e), s;
|
|
2678
2681
|
}
|
|
2679
2682
|
} else
|
|
2680
|
-
|
|
2683
|
+
Bt.call(a, o, e);
|
|
2681
2684
|
};
|
|
2682
2685
|
}
|
|
2683
|
-
var
|
|
2686
|
+
var ho = /* @__PURE__ */ function(o) {
|
|
2684
2687
|
L(r, o);
|
|
2685
2688
|
var a = R(r);
|
|
2686
2689
|
function r(t) {
|
|
@@ -2722,9 +2725,9 @@ var fo = /* @__PURE__ */ function(o) {
|
|
|
2722
2725
|
key: "attachVideoEvents",
|
|
2723
2726
|
value: function() {
|
|
2724
2727
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
|
|
2725
|
-
this._evHandlers || (this._evHandlers =
|
|
2728
|
+
this._evHandlers || (this._evHandlers = bn.map(function(n) {
|
|
2726
2729
|
var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
|
|
2727
|
-
return typeof e[s] == "function" && e.on(n, e[s]), y({}, n,
|
|
2730
|
+
return typeof e[s] == "function" && e.on(n, e[s]), y({}, n, fo(n, e));
|
|
2728
2731
|
})), this._evHandlers.forEach(function(n) {
|
|
2729
2732
|
var s = Object.keys(n)[0];
|
|
2730
2733
|
i.addEventListener(s, n[s], !1);
|
|
@@ -2756,7 +2759,7 @@ var fo = /* @__PURE__ */ function(o) {
|
|
|
2756
2759
|
var s = e.children;
|
|
2757
2760
|
if (s) {
|
|
2758
2761
|
this._videoSourceCount = s.length, this._videoSourceIndex = s.length, this._vLoadeddata = function(h) {
|
|
2759
|
-
n.emit(
|
|
2762
|
+
n.emit(wn, {
|
|
2760
2763
|
src: h.target.currentSrc,
|
|
2761
2764
|
host: f.getHostFromUrl(h.target.currentSrc)
|
|
2762
2765
|
});
|
|
@@ -2775,8 +2778,8 @@ var fo = /* @__PURE__ */ function(o) {
|
|
|
2775
2778
|
};
|
|
2776
2779
|
l ? l.error(h, g) : n.errorHandler("error", g);
|
|
2777
2780
|
}
|
|
2778
|
-
var p =
|
|
2779
|
-
n.emit(
|
|
2781
|
+
var p = Ai[4];
|
|
2782
|
+
n.emit(Cn, new mt(n, {
|
|
2780
2783
|
errorType: p,
|
|
2781
2784
|
errorCode: 4,
|
|
2782
2785
|
errorMessage: "sources_load_error",
|
|
@@ -2809,7 +2812,7 @@ var fo = /* @__PURE__ */ function(o) {
|
|
|
2809
2812
|
value: function(e) {
|
|
2810
2813
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2811
2814
|
if (this.media && (this.media.error || i)) {
|
|
2812
|
-
var n = this.media.error || i, s = n.code ?
|
|
2815
|
+
var n = this.media.error || i, s = n.code ? Ai[n.code] : "other", l = n.message;
|
|
2813
2816
|
this.media.currentSrc || (l = "empty_src", n = {
|
|
2814
2817
|
code: 6,
|
|
2815
2818
|
message: l
|
|
@@ -3098,7 +3101,7 @@ var fo = /* @__PURE__ */ function(o) {
|
|
|
3098
3101
|
F(O(r.prototype), "removeAllListeners", this).call(this);
|
|
3099
3102
|
}
|
|
3100
3103
|
}]), r;
|
|
3101
|
-
}(
|
|
3104
|
+
}(an), go = /* @__PURE__ */ function() {
|
|
3102
3105
|
function o() {
|
|
3103
3106
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
3104
3107
|
name: "xgplayer",
|
|
@@ -3176,7 +3179,7 @@ var fo = /* @__PURE__ */ function(o) {
|
|
|
3176
3179
|
t.clear();
|
|
3177
3180
|
}
|
|
3178
3181
|
}]), o;
|
|
3179
|
-
}(),
|
|
3182
|
+
}(), Ii = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], Pi = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], Di = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], Be = "data-xgplayerid";
|
|
3180
3183
|
function ft(o, a, r) {
|
|
3181
3184
|
for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
|
|
3182
3185
|
e[i - 3] = arguments[i];
|
|
@@ -3225,14 +3228,14 @@ function Et(o, a) {
|
|
|
3225
3228
|
var r = this.__hooks;
|
|
3226
3229
|
r && delete r[o];
|
|
3227
3230
|
}
|
|
3228
|
-
function
|
|
3231
|
+
function Li(o) {
|
|
3229
3232
|
if (!(!this.plugins || !this.plugins[o.toLowerCase()])) {
|
|
3230
3233
|
for (var a = this.plugins[o.toLowerCase()], r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), e = 1; e < r; e++)
|
|
3231
3234
|
t[e - 1] = arguments[e];
|
|
3232
3235
|
return a.useHooks && a.useHooks.apply(a, t);
|
|
3233
3236
|
}
|
|
3234
3237
|
}
|
|
3235
|
-
function
|
|
3238
|
+
function Ri(o) {
|
|
3236
3239
|
if (!(!this.plugins || !this.plugins[o.toLowerCase()])) {
|
|
3237
3240
|
var a = this.plugins[o.toLowerCase()];
|
|
3238
3241
|
if (a) {
|
|
@@ -3242,7 +3245,7 @@ function Li(o) {
|
|
|
3242
3245
|
}
|
|
3243
3246
|
}
|
|
3244
3247
|
}
|
|
3245
|
-
function
|
|
3248
|
+
function Sn(o) {
|
|
3246
3249
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
3247
3250
|
o.__hooks = {}, a && a.map(function(r) {
|
|
3248
3251
|
o.__hooks[r] = null;
|
|
@@ -3255,7 +3258,7 @@ function En(o) {
|
|
|
3255
3258
|
}
|
|
3256
3259
|
});
|
|
3257
3260
|
}
|
|
3258
|
-
function
|
|
3261
|
+
function An(o) {
|
|
3259
3262
|
o.__hooks = null;
|
|
3260
3263
|
}
|
|
3261
3264
|
function Ce(o, a, r) {
|
|
@@ -3274,12 +3277,12 @@ function Ce(o, a, r) {
|
|
|
3274
3277
|
} else
|
|
3275
3278
|
return r.call.apply(r, [o, o].concat(e));
|
|
3276
3279
|
}
|
|
3277
|
-
function
|
|
3280
|
+
function Ht(o, a) {
|
|
3278
3281
|
U.logError("[".concat(o, "] event or callback cant be undefined or null when call ").concat(a));
|
|
3279
3282
|
}
|
|
3280
3283
|
var Le = /* @__PURE__ */ function() {
|
|
3281
3284
|
function o(a) {
|
|
3282
|
-
I(this, o), f.checkIsFunction(this.beforeCreate) && this.beforeCreate(a),
|
|
3285
|
+
I(this, o), f.checkIsFunction(this.beforeCreate) && this.beforeCreate(a), Sn(this), this.__args = a, this.__events = {}, this.__onceEvents = {}, this.config = a.config || {}, this.player = null, this.playerConfig = {}, this.pluginName = "", this.__init(a);
|
|
3283
3286
|
}
|
|
3284
3287
|
return P(o, [{
|
|
3285
3288
|
key: "beforeCreate",
|
|
@@ -3341,7 +3344,7 @@ var Le = /* @__PURE__ */ function() {
|
|
|
3341
3344
|
value: function(r, t) {
|
|
3342
3345
|
var e = this;
|
|
3343
3346
|
if (!r || !t || !this.player) {
|
|
3344
|
-
|
|
3347
|
+
Ht(this.pluginName, "plugin.on(event, callback)");
|
|
3345
3348
|
return;
|
|
3346
3349
|
}
|
|
3347
3350
|
typeof r == "string" ? (this.__events[r] = t, this.player.on(r, t)) : Array.isArray(r) && r.forEach(function(i) {
|
|
@@ -3353,7 +3356,7 @@ var Le = /* @__PURE__ */ function() {
|
|
|
3353
3356
|
value: function(r, t) {
|
|
3354
3357
|
var e = this;
|
|
3355
3358
|
if (!r || !t || !this.player) {
|
|
3356
|
-
|
|
3359
|
+
Ht(this.pluginName, "plugin.once(event, callback)");
|
|
3357
3360
|
return;
|
|
3358
3361
|
}
|
|
3359
3362
|
typeof r == "string" ? (this.__onceEvents[r] = t, this.player.once(r, t)) : Array.isArray(r) && r.forEach(function(i) {
|
|
@@ -3365,7 +3368,7 @@ var Le = /* @__PURE__ */ function() {
|
|
|
3365
3368
|
value: function(r, t) {
|
|
3366
3369
|
var e = this;
|
|
3367
3370
|
if (!r || !t || !this.player) {
|
|
3368
|
-
|
|
3371
|
+
Ht(this.pluginName, "plugin.off(event, callback)");
|
|
3369
3372
|
return;
|
|
3370
3373
|
}
|
|
3371
3374
|
typeof r == "string" ? (delete this.__events[r], this.player.off(r, t)) : Array.isArray(r) && r.forEach(function(i) {
|
|
@@ -3443,7 +3446,7 @@ var Le = /* @__PURE__ */ function() {
|
|
|
3443
3446
|
var r = this, t = this.player, e = this.pluginName;
|
|
3444
3447
|
this.offAll(), f.clearAllTimers(this), f.checkIsFunction(this.destroy) && this.destroy(), ["player", "playerConfig", "pluginName", "logger", "__args", "__hooks"].map(function(i) {
|
|
3445
3448
|
r[i] = null;
|
|
3446
|
-
}), t.unRegisterPlugin(e),
|
|
3449
|
+
}), t.unRegisterPlugin(e), An(this);
|
|
3447
3450
|
}
|
|
3448
3451
|
}], [{
|
|
3449
3452
|
key: "defineGetterOrSetter",
|
|
@@ -3462,40 +3465,40 @@ var Le = /* @__PURE__ */ function() {
|
|
|
3462
3465
|
return "pluginName";
|
|
3463
3466
|
}
|
|
3464
3467
|
}]), o;
|
|
3465
|
-
}(),
|
|
3468
|
+
}(), po = 9;
|
|
3466
3469
|
if (typeof Element < "u" && !Element.prototype.matches) {
|
|
3467
3470
|
var Ge = Element.prototype;
|
|
3468
3471
|
Ge.matches = Ge.matchesSelector || Ge.mozMatchesSelector || Ge.msMatchesSelector || Ge.oMatchesSelector || Ge.webkitMatchesSelector;
|
|
3469
3472
|
}
|
|
3470
|
-
function
|
|
3471
|
-
for (; o && o.nodeType !==
|
|
3473
|
+
function vo(o, a) {
|
|
3474
|
+
for (; o && o.nodeType !== po; ) {
|
|
3472
3475
|
if (typeof o.matches == "function" && o.matches(a))
|
|
3473
3476
|
return o;
|
|
3474
3477
|
o = o.parentNode;
|
|
3475
3478
|
}
|
|
3476
3479
|
}
|
|
3477
|
-
var
|
|
3478
|
-
function
|
|
3479
|
-
var i =
|
|
3480
|
+
var mo = vo, yo = mo;
|
|
3481
|
+
function Ut(o, a, r, t, e) {
|
|
3482
|
+
var i = ko.apply(this, arguments);
|
|
3480
3483
|
return o.addEventListener(r, i, e), {
|
|
3481
3484
|
destroy: function() {
|
|
3482
3485
|
o.removeEventListener(r, i, e);
|
|
3483
3486
|
}
|
|
3484
3487
|
};
|
|
3485
3488
|
}
|
|
3486
|
-
function
|
|
3487
|
-
return typeof o.addEventListener == "function" ?
|
|
3488
|
-
return
|
|
3489
|
+
function _o(o, a, r, t, e) {
|
|
3490
|
+
return typeof o.addEventListener == "function" ? Ut.apply(null, arguments) : typeof r == "function" ? Ut.bind(null, document).apply(null, arguments) : (typeof o == "string" && (o = document.querySelectorAll(o)), Array.prototype.map.call(o, function(i) {
|
|
3491
|
+
return Ut(i, a, r, t, e);
|
|
3489
3492
|
}));
|
|
3490
3493
|
}
|
|
3491
|
-
function
|
|
3494
|
+
function ko(o, a, r, t) {
|
|
3492
3495
|
return function(e) {
|
|
3493
|
-
e.delegateTarget =
|
|
3496
|
+
e.delegateTarget = yo(e.target, a), e.delegateTarget && t.call(o, e);
|
|
3494
3497
|
};
|
|
3495
3498
|
}
|
|
3496
|
-
var
|
|
3497
|
-
const
|
|
3498
|
-
var
|
|
3499
|
+
var Co = _o;
|
|
3500
|
+
const Oi = /* @__PURE__ */ ni(Co);
|
|
3501
|
+
var wo = {
|
|
3499
3502
|
CONTROLS: "controls",
|
|
3500
3503
|
ROOT: "root"
|
|
3501
3504
|
}, X = {
|
|
@@ -3508,29 +3511,29 @@ var Co = {
|
|
|
3508
3511
|
CONTROLS_RIGHT: "controlsRight",
|
|
3509
3512
|
CONTROLS_CENTER: "controlsCenter",
|
|
3510
3513
|
CONTROLS: "controls"
|
|
3511
|
-
},
|
|
3514
|
+
}, Fi = {
|
|
3512
3515
|
ICON_DISABLE: "xg-icon-disable",
|
|
3513
3516
|
ICON_HIDE: "xg-icon-hide"
|
|
3514
3517
|
};
|
|
3515
|
-
function
|
|
3518
|
+
function zt(o) {
|
|
3516
3519
|
return o ? o.indexOf && /^(?:http|data:|\/)/.test(o) : !1;
|
|
3517
3520
|
}
|
|
3518
|
-
function
|
|
3521
|
+
function bo(o, a) {
|
|
3519
3522
|
return ae(o) === "object" && o.class && typeof o.class == "string" ? "".concat(a, " ").concat(o.class) : a;
|
|
3520
3523
|
}
|
|
3521
|
-
function
|
|
3524
|
+
function To(o, a) {
|
|
3522
3525
|
return ae(o) === "object" && o.attr && ae(o.attr) === "object" && Object.keys(o.attr).map(function(r) {
|
|
3523
3526
|
a[r] = o.attr[r];
|
|
3524
3527
|
}), a;
|
|
3525
3528
|
}
|
|
3526
|
-
function
|
|
3529
|
+
function Mi(o, a) {
|
|
3527
3530
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "", t = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, e = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : "", i = null;
|
|
3528
3531
|
if (o instanceof window.Element)
|
|
3529
3532
|
return f.addClass(o, r), Object.keys(t).map(function(n) {
|
|
3530
3533
|
o.setAttribute(n, t[n]);
|
|
3531
3534
|
}), o;
|
|
3532
|
-
if (
|
|
3533
|
-
return t.src =
|
|
3535
|
+
if (zt(o) || zt(o.url))
|
|
3536
|
+
return t.src = zt(o) ? o : o.url || "", i = f.createDom(o.tag || "img", "", t, "xg-img ".concat(r)), i;
|
|
3534
3537
|
if (typeof o == "function")
|
|
3535
3538
|
try {
|
|
3536
3539
|
return i = o(), i instanceof window.Element ? (f.addClass(i, r), Object.keys(t).map(function(n) {
|
|
@@ -3541,14 +3544,14 @@ function Fi(o, a) {
|
|
|
3541
3544
|
}
|
|
3542
3545
|
return typeof o == "string" ? f.createDomFromHtml(o, t, r) : (U.logWarn("warn>>icons.".concat(a, " in config of plugin named [").concat(e, "] is invalid")), null);
|
|
3543
3546
|
}
|
|
3544
|
-
function
|
|
3547
|
+
function Eo(o, a) {
|
|
3545
3548
|
var r = a.config.icons || a.playerConfig.icons;
|
|
3546
3549
|
Object.keys(o).map(function(t) {
|
|
3547
3550
|
var e = o[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
|
|
3548
|
-
r && r[t] && (i =
|
|
3551
|
+
r && r[t] && (i = bo(r[t], i), n = To(r[t], n), s = Mi(r[t], t, i, n, a.pluginName)), !s && e && (s = Mi(e.icon ? e.icon : e, n, i, {}, a.pluginName)), a.icons[t] = s;
|
|
3549
3552
|
});
|
|
3550
3553
|
}
|
|
3551
|
-
function
|
|
3554
|
+
function So(o, a) {
|
|
3552
3555
|
Object.keys(o).map(function(r) {
|
|
3553
3556
|
Object.defineProperty(a.langText, r, {
|
|
3554
3557
|
get: function() {
|
|
@@ -3572,9 +3575,9 @@ var $ = /* @__PURE__ */ function(o) {
|
|
|
3572
3575
|
var i = e.root, n = null;
|
|
3573
3576
|
this.icons = {}, this.root = null, this.parent = null;
|
|
3574
3577
|
var s = this.registerIcons() || {};
|
|
3575
|
-
|
|
3578
|
+
Eo(s, this), this.langText = {};
|
|
3576
3579
|
var l = this.registerLanguageTexts() || {};
|
|
3577
|
-
|
|
3580
|
+
So(l, this);
|
|
3578
3581
|
var u = "";
|
|
3579
3582
|
try {
|
|
3580
3583
|
u = this.render();
|
|
@@ -3645,12 +3648,12 @@ var $ = /* @__PURE__ */ function(o) {
|
|
|
3645
3648
|
}, {
|
|
3646
3649
|
key: "disable",
|
|
3647
3650
|
value: function() {
|
|
3648
|
-
this.config.disable = !0, f.addClass(this.find(".xgplayer-icon"),
|
|
3651
|
+
this.config.disable = !0, f.addClass(this.find(".xgplayer-icon"), Fi.ICON_DISABLE);
|
|
3649
3652
|
}
|
|
3650
3653
|
}, {
|
|
3651
3654
|
key: "enable",
|
|
3652
3655
|
value: function() {
|
|
3653
|
-
this.config.disable = !1, f.removeClass(this.find(".xgplayer-icon"),
|
|
3656
|
+
this.config.disable = !1, f.removeClass(this.find(".xgplayer-icon"), Fi.ICON_DISABLE);
|
|
3654
3657
|
}
|
|
3655
3658
|
}, {
|
|
3656
3659
|
key: "children",
|
|
@@ -3831,11 +3834,11 @@ var $ = /* @__PURE__ */ function(o) {
|
|
|
3831
3834
|
if (e instanceof window.Node && typeof s == "function")
|
|
3832
3835
|
if (Array.isArray(n))
|
|
3833
3836
|
n.forEach(function(h) {
|
|
3834
|
-
var d =
|
|
3837
|
+
var d = Oi(e, i, h, s, l);
|
|
3835
3838
|
d.key = "".concat(i, "_").concat(h), u.push(d);
|
|
3836
3839
|
});
|
|
3837
3840
|
else {
|
|
3838
|
-
var c =
|
|
3841
|
+
var c = Oi(e, i, n, s, l);
|
|
3839
3842
|
c.key = "".concat(i, "_").concat(n), u.push(c);
|
|
3840
3843
|
}
|
|
3841
3844
|
return u;
|
|
@@ -3843,7 +3846,7 @@ var $ = /* @__PURE__ */ function(o) {
|
|
|
3843
3846
|
}, {
|
|
3844
3847
|
key: "ROOT_TYPES",
|
|
3845
3848
|
get: function() {
|
|
3846
|
-
return
|
|
3849
|
+
return wo;
|
|
3847
3850
|
}
|
|
3848
3851
|
}, {
|
|
3849
3852
|
key: "POSITIONS",
|
|
@@ -3851,7 +3854,7 @@ var $ = /* @__PURE__ */ function(o) {
|
|
|
3851
3854
|
return X;
|
|
3852
3855
|
}
|
|
3853
3856
|
}]), r;
|
|
3854
|
-
}(Le),
|
|
3857
|
+
}(Le), Ao = /* @__PURE__ */ function() {
|
|
3855
3858
|
function o() {
|
|
3856
3859
|
var a = this;
|
|
3857
3860
|
if (I(this, o), y(this, "__trigger", function(r) {
|
|
@@ -3861,7 +3864,7 @@ var $ = /* @__PURE__ */ function(o) {
|
|
|
3861
3864
|
a.__runHandler(r[e].target);
|
|
3862
3865
|
}), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
|
|
3863
3866
|
try {
|
|
3864
|
-
this.observer = new window.ResizeObserver(
|
|
3867
|
+
this.observer = new window.ResizeObserver(qs(this.__trigger, 100, {
|
|
3865
3868
|
trailing: !0
|
|
3866
3869
|
})), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
|
|
3867
3870
|
} catch (r) {
|
|
@@ -3916,17 +3919,17 @@ var $ = /* @__PURE__ */ function(o) {
|
|
|
3916
3919
|
}
|
|
3917
3920
|
}]), o;
|
|
3918
3921
|
}(), rt = null;
|
|
3919
|
-
function Ao(o, a) {
|
|
3920
|
-
return rt || (rt = new So()), rt.addObserver(o, a), rt;
|
|
3921
|
-
}
|
|
3922
3922
|
function xo(o, a) {
|
|
3923
|
+
return rt || (rt = new Ao()), rt.addObserver(o, a), rt;
|
|
3924
|
+
}
|
|
3925
|
+
function Io(o, a) {
|
|
3923
3926
|
rt.unObserver(o, a);
|
|
3924
3927
|
}
|
|
3925
3928
|
var se = {
|
|
3926
3929
|
pluginGroup: {},
|
|
3927
3930
|
init: function(a) {
|
|
3928
3931
|
var r = a._pluginInfoId;
|
|
3929
|
-
r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver &&
|
|
3932
|
+
r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver && xo(a.root, function() {
|
|
3930
3933
|
a.resize();
|
|
3931
3934
|
}), this.pluginGroup[r] = {
|
|
3932
3935
|
_originalOptions: a.config || {},
|
|
@@ -4112,7 +4115,7 @@ var se = {
|
|
|
4112
4115
|
destroy: function(a) {
|
|
4113
4116
|
var r = a._pluginInfoId;
|
|
4114
4117
|
if (this.pluginGroup[r]) {
|
|
4115
|
-
|
|
4118
|
+
Io(a.root);
|
|
4116
4119
|
for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
|
|
4117
4120
|
var n = i[e];
|
|
4118
4121
|
this.unRegister(r, n);
|
|
@@ -4151,7 +4154,7 @@ var se = {
|
|
|
4151
4154
|
MOBILE: "xgplayer-mobile",
|
|
4152
4155
|
MINI: "xgplayer-mini"
|
|
4153
4156
|
};
|
|
4154
|
-
function
|
|
4157
|
+
function Ni() {
|
|
4155
4158
|
return {
|
|
4156
4159
|
id: "",
|
|
4157
4160
|
el: null,
|
|
@@ -4198,7 +4201,7 @@ function Mi() {
|
|
|
4198
4201
|
ignores: [],
|
|
4199
4202
|
whitelist: [],
|
|
4200
4203
|
inactive: 3e3,
|
|
4201
|
-
lang:
|
|
4204
|
+
lang: Zs(),
|
|
4202
4205
|
controls: !0,
|
|
4203
4206
|
marginControls: !1,
|
|
4204
4207
|
fullscreenTarget: null,
|
|
@@ -4234,7 +4237,7 @@ function Mi() {
|
|
|
4234
4237
|
}
|
|
4235
4238
|
};
|
|
4236
4239
|
}
|
|
4237
|
-
var
|
|
4240
|
+
var Po = function(a, r) {
|
|
4238
4241
|
var t, e, i;
|
|
4239
4242
|
r.preset && r.options ? i = new r.preset(r.options, a.config) : i = new r({}, a.config);
|
|
4240
4243
|
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;
|
|
@@ -4243,7 +4246,7 @@ var Io = function(a, r) {
|
|
|
4243
4246
|
});
|
|
4244
4247
|
var m = a.config.i18n || [];
|
|
4245
4248
|
p.push.apply(p, ve(m)), a.config.i18n = p;
|
|
4246
|
-
},
|
|
4249
|
+
}, Do = /* @__PURE__ */ function(o) {
|
|
4247
4250
|
L(r, o);
|
|
4248
4251
|
var a = R(r);
|
|
4249
4252
|
function r() {
|
|
@@ -4404,7 +4407,7 @@ var Io = function(a, r) {
|
|
|
4404
4407
|
};
|
|
4405
4408
|
}
|
|
4406
4409
|
}]), r;
|
|
4407
|
-
}($),
|
|
4410
|
+
}($), Lo = {
|
|
4408
4411
|
LANG: "en",
|
|
4409
4412
|
TEXT: {
|
|
4410
4413
|
ERROR_TYPES: {
|
|
@@ -4494,12 +4497,12 @@ function ot(o, a) {
|
|
|
4494
4497
|
t === "Object" ? (e !== "Object" && (o[r] = {}), ot(o[r], a[r])) : o[r] = a[r];
|
|
4495
4498
|
}), o;
|
|
4496
4499
|
}
|
|
4497
|
-
function
|
|
4500
|
+
function xn() {
|
|
4498
4501
|
Object.keys(fe.lang.en).map(function(o) {
|
|
4499
4502
|
fe.textKeys[o] = o;
|
|
4500
4503
|
});
|
|
4501
4504
|
}
|
|
4502
|
-
function
|
|
4505
|
+
function Ro(o, a) {
|
|
4503
4506
|
var r = [];
|
|
4504
4507
|
if (a || (a = fe), !!a.lang) {
|
|
4505
4508
|
f.typeOf(o) !== "Array" ? r = Object.keys(o).map(function(i) {
|
|
@@ -4511,18 +4514,18 @@ function Lo(o, a) {
|
|
|
4511
4514
|
}) : r = o;
|
|
4512
4515
|
var t = a, e = t.lang;
|
|
4513
4516
|
r.map(function(i) {
|
|
4514
|
-
i.LANG === "zh" && (i.LANG = "zh-cn"), e[i.LANG] ? ot(e[i.LANG] || {}, i.TEXT || {}) :
|
|
4515
|
-
}),
|
|
4517
|
+
i.LANG === "zh" && (i.LANG = "zh-cn"), e[i.LANG] ? ot(e[i.LANG] || {}, i.TEXT || {}) : di(i, a);
|
|
4518
|
+
}), xn();
|
|
4516
4519
|
}
|
|
4517
4520
|
}
|
|
4518
|
-
function
|
|
4521
|
+
function di(o, a) {
|
|
4519
4522
|
var r = o.LANG;
|
|
4520
4523
|
if (a || (a = fe), !!a.lang) {
|
|
4521
4524
|
var t = o.TEXT || {};
|
|
4522
|
-
r === "zh" && (r = "zh-cn"), a.lang[r] ? ot(a.lang[r], t) : (a.langKeys.push(r), a.lang[r] = t),
|
|
4525
|
+
r === "zh" && (r = "zh-cn"), a.lang[r] ? ot(a.lang[r], t) : (a.langKeys.push(r), a.lang[r] = t), xn();
|
|
4523
4526
|
}
|
|
4524
4527
|
}
|
|
4525
|
-
function
|
|
4528
|
+
function Oo(o) {
|
|
4526
4529
|
var a, r = {
|
|
4527
4530
|
lang: {},
|
|
4528
4531
|
langKeys: [],
|
|
@@ -4531,8 +4534,8 @@ function Ro(o) {
|
|
|
4531
4534
|
};
|
|
4532
4535
|
return ot(r.lang, fe.lang), (a = r.langKeys).push.apply(a, ve(fe.langKeys)), ot(r.textKeys, fe.textKeys), r;
|
|
4533
4536
|
}
|
|
4534
|
-
|
|
4535
|
-
var
|
|
4537
|
+
di(Lo);
|
|
4538
|
+
var Je = {
|
|
4536
4539
|
get textKeys() {
|
|
4537
4540
|
return fe.textKeys;
|
|
4538
4541
|
},
|
|
@@ -4545,9 +4548,9 @@ var Qe = {
|
|
|
4545
4548
|
o[a] = fe.lang[a];
|
|
4546
4549
|
}), fe.lang["zh-cn"] && (o.zh = fe.lang["zh-cn"] || {}), o;
|
|
4547
4550
|
},
|
|
4548
|
-
extend:
|
|
4549
|
-
use:
|
|
4550
|
-
init:
|
|
4551
|
+
extend: Ro,
|
|
4552
|
+
use: di,
|
|
4553
|
+
init: Oo
|
|
4551
4554
|
}, j = {
|
|
4552
4555
|
INITIAL: 1,
|
|
4553
4556
|
READY: 2,
|
|
@@ -4557,7 +4560,7 @@ var Qe = {
|
|
|
4557
4560
|
RUNNING: 6,
|
|
4558
4561
|
ENDED: 7,
|
|
4559
4562
|
DESTROYED: 8
|
|
4560
|
-
},
|
|
4563
|
+
}, Bi = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], le = {}, Vt = null, In = /* @__PURE__ */ function(o) {
|
|
4561
4564
|
L(r, o);
|
|
4562
4565
|
var a = R(r);
|
|
4563
4566
|
function r() {
|
|
@@ -4640,11 +4643,11 @@ var Qe = {
|
|
|
4640
4643
|
}], [{
|
|
4641
4644
|
key: "getInstance",
|
|
4642
4645
|
value: function() {
|
|
4643
|
-
return
|
|
4646
|
+
return Vt || (Vt = new r()), Vt;
|
|
4644
4647
|
}
|
|
4645
4648
|
}]), r;
|
|
4646
|
-
}(
|
|
4647
|
-
function
|
|
4649
|
+
}(on.EventEmitter);
|
|
4650
|
+
function Fo(o) {
|
|
4648
4651
|
for (var a = Object.keys(le), r = 0; r < a.length; r++) {
|
|
4649
4652
|
var t = le[a[r]];
|
|
4650
4653
|
if (t.root === o)
|
|
@@ -4652,13 +4655,13 @@ function Oo(o) {
|
|
|
4652
4655
|
}
|
|
4653
4656
|
return null;
|
|
4654
4657
|
}
|
|
4655
|
-
var
|
|
4658
|
+
var Mo = ["play", "pause", "replay", "retry"], Hi = 0, Ui = 0, Se = null, Lt = /* @__PURE__ */ function(o) {
|
|
4656
4659
|
L(r, o);
|
|
4657
4660
|
var a = R(r);
|
|
4658
4661
|
function r(t) {
|
|
4659
4662
|
var e;
|
|
4660
4663
|
I(this, r);
|
|
4661
|
-
var i = f.deepMerge(
|
|
4664
|
+
var i = f.deepMerge(Ni(), t);
|
|
4662
4665
|
e = a.call(this, i), y(v(e), "canPlayFunc", function() {
|
|
4663
4666
|
if (e.config) {
|
|
4664
4667
|
var p = e.config, m = p.autoplay, _ = p.defaultPlaybackRate;
|
|
@@ -4682,7 +4685,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
4682
4685
|
to: !1
|
|
4683
4686
|
}]
|
|
4684
4687
|
});
|
|
4685
|
-
var b =
|
|
4688
|
+
var b = Js(C, e.playerId, Be);
|
|
4686
4689
|
if (m || C && (C === e._fullscreenEl || b))
|
|
4687
4690
|
_(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, k.FULLSCREEN), e.emit(ke, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
|
|
4688
4691
|
else if (e.fullscreen) {
|
|
@@ -4702,7 +4705,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
4702
4705
|
e._fullscreenEl = e.media, e.onFullscreenChange(p, !0);
|
|
4703
4706
|
}), y(v(e), "_onWebkitendfullscreen", function(p) {
|
|
4704
4707
|
e.onFullscreenChange(p, !1);
|
|
4705
|
-
}),
|
|
4708
|
+
}), Sn(v(e), Mo), e.config = i, e._pluginInfoId = f.generateSessionId(), $s(v(e));
|
|
4706
4709
|
var n = e.constructor.defaultPreset;
|
|
4707
4710
|
if (e.config.presets.length) {
|
|
4708
4711
|
var s = e.config.presets.indexOf("default");
|
|
@@ -4731,12 +4734,12 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
4731
4734
|
}, e._offsetInfo = {
|
|
4732
4735
|
currentTime: -1,
|
|
4733
4736
|
duration: 0
|
|
4734
|
-
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n =
|
|
4737
|
+
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = Je.init(e._pluginInfoId), B.os.isAndroid && B.osVersion > 0 && B.osVersion < 6 && (e.config.autoplay = !1), e.database = new go(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
|
|
4735
4738
|
isActiveLocked: !1
|
|
4736
4739
|
}, e.instManager = Se;
|
|
4737
4740
|
var l = e._initDOM();
|
|
4738
4741
|
if (!l)
|
|
4739
|
-
return console.error(new Error("can't find the dom which id is ".concat(e.config.id, " or this.config.el does not exist"))),
|
|
4742
|
+
return console.error(new Error("can't find the dom which id is ".concat(e.config.id, " or this.config.el does not exist"))), si(e);
|
|
4740
4743
|
var u = e.config, c = u.definition, h = c === void 0 ? {} : c, d = u.url;
|
|
4741
4744
|
if (!d && h.list && h.list.length > 0) {
|
|
4742
4745
|
var g = h.list.find(function(p) {
|
|
@@ -4745,7 +4748,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
4745
4748
|
g || (h.defaultDefinition = h.list[0].definition, g = h.list[0]), e.config.url = g.url, e.curDefinition = g;
|
|
4746
4749
|
}
|
|
4747
4750
|
return e._bindEvents(), e._registerPresets(), e._registerPlugins(), se.onPluginsReady(v(e)), e.getInitDefinition(), e.setState(j.READY), f.setTimeout(v(e), function() {
|
|
4748
|
-
e.emit(
|
|
4751
|
+
e.emit(ui);
|
|
4749
4752
|
}, 0), e.onReady && e.onReady(), (e.config.videoInit || e.config.autoplay) && (!e.hasStart || e.state < j.ATTACHED) && e.start(), e;
|
|
4750
4753
|
}
|
|
4751
4754
|
return P(r, [{
|
|
@@ -4763,7 +4766,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
4763
4766
|
msg: "container id can't be empty"
|
|
4764
4767
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
4765
4768
|
}
|
|
4766
|
-
var s =
|
|
4769
|
+
var s = Fo(this.root);
|
|
4767
4770
|
s && (U.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(Be, this.playerId), (e = Se) === null || e === void 0 || e.add(this), se.init(this), this._initBaseDoms();
|
|
4768
4771
|
var l = this.constructor.XgVideoProxy;
|
|
4769
4772
|
if (l && this.mediaConfig.mediaType === l.mediaType) {
|
|
@@ -4773,7 +4776,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
4773
4776
|
this.attachVideoEvents(c), this.media = c;
|
|
4774
4777
|
}
|
|
4775
4778
|
if (this.media.setAttribute(Be, this.playerId), this.config.controls) {
|
|
4776
|
-
var h = this.config.controls.root || null, d = se.register(this,
|
|
4779
|
+
var h = this.config.controls.root || null, d = se.register(this, Do, {
|
|
4777
4780
|
root: h
|
|
4778
4781
|
});
|
|
4779
4782
|
this.controls = d;
|
|
@@ -4811,7 +4814,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
4811
4814
|
var e = this;
|
|
4812
4815
|
["focus", "blur"].forEach(function(i) {
|
|
4813
4816
|
e.on(i, e["on" + i.charAt(0).toUpperCase() + i.slice(1)]);
|
|
4814
|
-
}),
|
|
4817
|
+
}), Ii.forEach(function(i) {
|
|
4815
4818
|
document && document.addEventListener(i, e.onFullscreenChange);
|
|
4816
4819
|
}), B.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(Ee, this.resize), this.playFunc = function() {
|
|
4817
4820
|
e.config.closeFocusVideoFocus || e.media.focus();
|
|
@@ -4821,7 +4824,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
4821
4824
|
key: "_unbindEvents",
|
|
4822
4825
|
value: function() {
|
|
4823
4826
|
var e = this;
|
|
4824
|
-
this.root.removeEventListener("mousemove", this.mousemoveFunc),
|
|
4827
|
+
this.root.removeEventListener("mousemove", this.mousemoveFunc), Ii.forEach(function(i) {
|
|
4825
4828
|
document.removeEventListener(i, e.onFullscreenChange);
|
|
4826
4829
|
}), this.playFunc && this.off(de, this.playFunc), this.off(be, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
|
|
4827
4830
|
}
|
|
@@ -4834,7 +4837,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
4834
4837
|
key: "_startInit",
|
|
4835
4838
|
value: function(e) {
|
|
4836
4839
|
var i = this;
|
|
4837
|
-
if (this.media && !((!e || e === "" || f.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(
|
|
4840
|
+
if (this.media && !((!e || e === "" || f.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(dn), U.logWarn("config.url is null, please get url and run player._startInit(url)"), this.config.nullUrlStart))) {
|
|
4838
4841
|
this.handleSource && (this._detachSourceEvents(this.media), f.typeOf(e) === "Array" && e.length > 0 ? this._attachSourceEvents(this.media, e) : !this.media.src || this.media.src !== e ? this.media.src = e : e || this.media.removeAttribute("src")), f.typeOf(this.config.volume) === "Number" && (this.volume = this.config.volume);
|
|
4839
4842
|
var n = this.innerContainer ? this.innerContainer : this.root;
|
|
4840
4843
|
this.media instanceof window.Element && !n.contains(this.media) && n.insertBefore(this.media, n.firstChild);
|
|
@@ -4852,7 +4855,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
4852
4855
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
|
|
4853
4856
|
this._loadingPlugins = [];
|
|
4854
4857
|
var n = this.config.ignores || [], s = this.config.plugins || [], l = this.config.i18n || [];
|
|
4855
|
-
i &&
|
|
4858
|
+
i && Je.extend(l, this.__i18n);
|
|
4856
4859
|
var u = n.join("||").toLowerCase().split("||"), c = this.plugins;
|
|
4857
4860
|
s.forEach(function(h) {
|
|
4858
4861
|
try {
|
|
@@ -4881,7 +4884,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
4881
4884
|
value: function() {
|
|
4882
4885
|
var e = this;
|
|
4883
4886
|
this.config.presets.forEach(function(i) {
|
|
4884
|
-
|
|
4887
|
+
Po(e, i);
|
|
4885
4888
|
});
|
|
4886
4889
|
}
|
|
4887
4890
|
}, {
|
|
@@ -5037,7 +5040,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5037
5040
|
return;
|
|
5038
5041
|
}
|
|
5039
5042
|
n.name === "NotAllowedError" && (e._errorTimer = f.setTimeout(e, function() {
|
|
5040
|
-
e._errorTimer = null, e.emit(
|
|
5043
|
+
e._errorTimer = null, e.emit(ci), e.addClass(k.NOT_ALLOW_AUTOPLAY), e.removeClass(k.ENTER), e.pause(), e.setState(j.NOTALLOW);
|
|
5041
5044
|
}, 0));
|
|
5042
5045
|
}) : (U.logWarn("video.play not return promise"), this.state < j.RUNNING && (this.setState(j.RUNNING), this.removeClass(k.NOT_ALLOW_AUTOPLAY), this.removeClass(k.NO_START), this.removeClass(k.ENTER), this.addClass(k.PLAYING), this.emit(Ue))), i;
|
|
5043
5046
|
}
|
|
@@ -5102,7 +5105,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5102
5105
|
var n = this, s = this.config.definition;
|
|
5103
5106
|
if (Array.isArray(s == null ? void 0 : s.list) && s.list.forEach(function(u) {
|
|
5104
5107
|
(e == null ? void 0 : e.definition) === u.definition && (n.curDefinition = u);
|
|
5105
|
-
}), e != null && e.bitrate && typeof e.bitrate != "number" && (e.bitrate = parseInt(e.bitrate, 10) || 0), this.emit(
|
|
5108
|
+
}), e != null && e.bitrate && typeof e.bitrate != "number" && (e.bitrate = parseInt(e.bitrate, 10) || 0), this.emit(hi, {
|
|
5106
5109
|
from: i,
|
|
5107
5110
|
to: e
|
|
5108
5111
|
}), !this.hasStart) {
|
|
@@ -5113,11 +5116,11 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5113
5116
|
seamless: s.seamless !== !1 && typeof MediaSource < "u" && typeof MediaSource.isTypeSupported == "function"
|
|
5114
5117
|
}, e));
|
|
5115
5118
|
l && l.then ? l.then(function() {
|
|
5116
|
-
n.emit(
|
|
5119
|
+
n.emit(ti, {
|
|
5117
5120
|
from: i,
|
|
5118
5121
|
to: e
|
|
5119
5122
|
});
|
|
5120
|
-
}) : this.emit(
|
|
5123
|
+
}) : this.emit(ti, {
|
|
5121
5124
|
from: i,
|
|
5122
5125
|
to: e
|
|
5123
5126
|
});
|
|
@@ -5146,7 +5149,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5146
5149
|
if (s && (i.map(function(u) {
|
|
5147
5150
|
e.deregister(u);
|
|
5148
5151
|
}), n)) {
|
|
5149
|
-
var l =
|
|
5152
|
+
var l = Ni();
|
|
5150
5153
|
Object.keys(this.config).keys(function(u) {
|
|
5151
5154
|
e.config[u] !== "undefined" && (u === "plugins" || u === "presets" || u === "el" || u === "id") && (e.config[u] = l[u]);
|
|
5152
5155
|
});
|
|
@@ -5157,7 +5160,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5157
5160
|
value: function() {
|
|
5158
5161
|
var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
|
|
5159
5162
|
if (!(!s || !l)) {
|
|
5160
|
-
if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(Be), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(
|
|
5163
|
+
if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(Be), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(fi), (e = Se) === null || e === void 0 || e.remove(this), se.destroy(this), An(this), F(O(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
|
|
5161
5164
|
for (var u = n.children, c = 0; c < u.length; c++)
|
|
5162
5165
|
n.removeChild(u[c]);
|
|
5163
5166
|
!n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(d) {
|
|
@@ -5219,8 +5222,8 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5219
5222
|
if (s === this._fullscreenEl)
|
|
5220
5223
|
return this.onFullscreenChange(), Promise.resolve();
|
|
5221
5224
|
try {
|
|
5222
|
-
for (var l = 0; l <
|
|
5223
|
-
var u =
|
|
5225
|
+
for (var l = 0; l < Pi.length; l++) {
|
|
5226
|
+
var u = Pi[l];
|
|
5224
5227
|
if (e[u]) {
|
|
5225
5228
|
var c = u === "webkitRequestFullscreen" ? e.webkitRequestFullscreen(window.Element.ALLOW_KEYBOARD_INPUT) : e[u]();
|
|
5226
5229
|
return c && c.then ? c : Promise.resolve();
|
|
@@ -5239,8 +5242,8 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5239
5242
|
var i = this.media;
|
|
5240
5243
|
this._fullActionFrom = "exit";
|
|
5241
5244
|
try {
|
|
5242
|
-
for (var n = 0; n <
|
|
5243
|
-
var s =
|
|
5245
|
+
for (var n = 0; n < Di.length; n++) {
|
|
5246
|
+
var s = Di[n];
|
|
5244
5247
|
if (document[s]) {
|
|
5245
5248
|
var l = document[s]();
|
|
5246
5249
|
return l && l.then ? l : Promise.resolve();
|
|
@@ -5304,7 +5307,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5304
5307
|
this.onFocus(e);
|
|
5305
5308
|
return;
|
|
5306
5309
|
}
|
|
5307
|
-
this.emit(
|
|
5310
|
+
this.emit(li, Q({
|
|
5308
5311
|
paused: this.paused,
|
|
5309
5312
|
ended: this.ended
|
|
5310
5313
|
}, e));
|
|
@@ -5319,7 +5322,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5319
5322
|
this.onBlur(e);
|
|
5320
5323
|
return;
|
|
5321
5324
|
}
|
|
5322
|
-
this._clearUserTimer(), this.emit(
|
|
5325
|
+
this._clearUserTimer(), this.emit(hn, Q({
|
|
5323
5326
|
paused: this.paused,
|
|
5324
5327
|
ended: this.ended
|
|
5325
5328
|
}, e));
|
|
@@ -5404,7 +5407,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5404
5407
|
value: function() {
|
|
5405
5408
|
var e = this;
|
|
5406
5409
|
this.waitTimer && f.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = f.setTimeout(this, function() {
|
|
5407
|
-
e.addClass(k.LOADING), e.emit(
|
|
5410
|
+
e.addClass(k.LOADING), e.emit(vn), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
|
|
5408
5411
|
}, this.config.minWaitDelay);
|
|
5409
5412
|
}
|
|
5410
5413
|
}, {
|
|
@@ -5564,7 +5567,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5564
5567
|
}, {
|
|
5565
5568
|
key: "setState",
|
|
5566
5569
|
value: function(e) {
|
|
5567
|
-
U.logInfo("setState", "state from:".concat(
|
|
5570
|
+
U.logInfo("setState", "state from:".concat(Bi[this.state], " to:").concat(Bi[e])), this._state = e;
|
|
5568
5571
|
}
|
|
5569
5572
|
}, {
|
|
5570
5573
|
key: "_preProcessUrl",
|
|
@@ -5638,11 +5641,11 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5638
5641
|
return this.config.lang;
|
|
5639
5642
|
},
|
|
5640
5643
|
set: function(e) {
|
|
5641
|
-
var i =
|
|
5644
|
+
var i = Je.langKeys.filter(function(n) {
|
|
5642
5645
|
return n === e;
|
|
5643
5646
|
});
|
|
5644
5647
|
if (i.length === 0 && e !== "zh") {
|
|
5645
|
-
console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(
|
|
5648
|
+
console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(Je.langKeys.join(), "] "));
|
|
5646
5649
|
return;
|
|
5647
5650
|
}
|
|
5648
5651
|
this.config.lang = e, se.setLang(e, this);
|
|
@@ -5661,7 +5664,7 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5661
5664
|
}, {
|
|
5662
5665
|
key: "version",
|
|
5663
5666
|
get: function() {
|
|
5664
|
-
return
|
|
5667
|
+
return Qt;
|
|
5665
5668
|
}
|
|
5666
5669
|
}, {
|
|
5667
5670
|
key: "playerId",
|
|
@@ -5730,18 +5733,18 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5730
5733
|
}, {
|
|
5731
5734
|
key: "avgSpeed",
|
|
5732
5735
|
get: function() {
|
|
5733
|
-
return
|
|
5736
|
+
return Ui;
|
|
5734
5737
|
},
|
|
5735
5738
|
set: function(e) {
|
|
5736
|
-
|
|
5739
|
+
Ui = e;
|
|
5737
5740
|
}
|
|
5738
5741
|
}, {
|
|
5739
5742
|
key: "realTimeSpeed",
|
|
5740
5743
|
get: function() {
|
|
5741
|
-
return
|
|
5744
|
+
return Hi;
|
|
5742
5745
|
},
|
|
5743
5746
|
set: function(e) {
|
|
5744
|
-
|
|
5747
|
+
Hi = e;
|
|
5745
5748
|
}
|
|
5746
5749
|
}, {
|
|
5747
5750
|
key: "offsetCurrentTime",
|
|
@@ -5779,14 +5782,14 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5779
5782
|
value: function(e, i, n) {
|
|
5780
5783
|
for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
|
|
5781
5784
|
l[u - 3] = arguments[u];
|
|
5782
|
-
return
|
|
5785
|
+
return Li.call.apply(Li, [this].concat(Array.prototype.slice.call(arguments)));
|
|
5783
5786
|
}
|
|
5784
5787
|
}, {
|
|
5785
5788
|
key: "removePluginHooks",
|
|
5786
5789
|
value: function(e, i, n) {
|
|
5787
5790
|
for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
|
|
5788
5791
|
l[u - 3] = arguments[u];
|
|
5789
|
-
return
|
|
5792
|
+
return Ri.call.apply(Ri, [this].concat(Array.prototype.slice.call(arguments)));
|
|
5790
5793
|
}
|
|
5791
5794
|
}, {
|
|
5792
5795
|
key: "setUserActive",
|
|
@@ -5843,10 +5846,10 @@ var Fo = ["play", "pause", "replay", "retry"], Bi = 0, Hi = 0, Se = null, Lt = /
|
|
|
5843
5846
|
r.plugins || (r.plugins = {}), r.plugins[e] = i;
|
|
5844
5847
|
}
|
|
5845
5848
|
}]), r;
|
|
5846
|
-
}(
|
|
5849
|
+
}(ho);
|
|
5847
5850
|
y(Lt, "defaultPreset", null);
|
|
5848
5851
|
y(Lt, "XgVideoProxy", null);
|
|
5849
|
-
Lt.instManager =
|
|
5852
|
+
Lt.instManager = In.getInstance();
|
|
5850
5853
|
function oe() {
|
|
5851
5854
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
5852
5855
|
}
|
|
@@ -5858,7 +5861,7 @@ var Ae = {
|
|
|
5858
5861
|
WAIT_END: "waitingEnd",
|
|
5859
5862
|
SEEK_START: "seekStart",
|
|
5860
5863
|
SEEK_END: "seekEnd"
|
|
5861
|
-
},
|
|
5864
|
+
}, No = /* @__PURE__ */ function(o) {
|
|
5862
5865
|
L(r, o);
|
|
5863
5866
|
var a = R(r);
|
|
5864
5867
|
function r() {
|
|
@@ -5910,18 +5913,18 @@ var Ae = {
|
|
|
5910
5913
|
key: "afterCreate",
|
|
5911
5914
|
value: function() {
|
|
5912
5915
|
var e = this;
|
|
5913
|
-
this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = oe(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(
|
|
5916
|
+
this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = oe(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(ai, function() {
|
|
5914
5917
|
var i = e._state, n = i.autoplayStart, s = i.isFFSend;
|
|
5915
5918
|
e.startCostTime = oe() - e.newPointTime, U.logInfo("[xgLogger]".concat(e.player.playerId, " LOAD_START"), "autoplayStart:".concat(n, " isFFSend:").concat(s, " startCostTime:").concat(e.startCostTime, " newPointTime").concat(e.newPointTime)), !s && (!i.isLs && e.emitLog(Ae.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = oe(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
|
|
5916
5919
|
}), this.on(Ee, function() {
|
|
5917
5920
|
e.vt = oe(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
|
|
5918
5921
|
var i = e._state, n = i.isTimeUpdate, s = i.isFFSend, l = i.autoplayStart;
|
|
5919
5922
|
U.logInfo("[xgLogger]".concat(e.player.playerId, " LOADED_DATA"), "fvt:".concat(e.fvt, " isTimeUpdate:").concat(e._state.isTimeUpdate, " loadedCostTime:").concat(e.loadedCostTime)), (n || l) && e._sendFF("loadedData"), s || e.emitLog(Ae.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
|
|
5920
|
-
}), this.on(xt, this._onSeeking), this.on(Te, this._onSeeked), this.on(
|
|
5923
|
+
}), this.on(xt, this._onSeeking), this.on(Te, this._onSeeked), this.on(fi, function() {
|
|
5921
5924
|
e.endState("destroy");
|
|
5922
5925
|
}), this.on(Pt, function() {
|
|
5923
5926
|
e.endState("urlChange"), U.logInfo("[xgLogger]".concat(e.player.playerId, " URL_CHANGE")), e._state.isFFSend && e._onReset();
|
|
5924
|
-
}), this.on([
|
|
5927
|
+
}), this.on([oi, be], this._onPlaying), this.on(ut, this._onWaiting), this.on(lt, this._onError), this.on(Dt, function() {
|
|
5925
5928
|
U.logInfo("[xgLogger]".concat(e.player.playerId, " RESET")), e.endState("reset"), e._initOnceEvents(), e._onReset();
|
|
5926
5929
|
});
|
|
5927
5930
|
}
|
|
@@ -5985,7 +5988,7 @@ var Ae = {
|
|
|
5985
5988
|
key: "emitLog",
|
|
5986
5989
|
value: function(e, i) {
|
|
5987
5990
|
var n = this.player;
|
|
5988
|
-
this.emit(
|
|
5991
|
+
this.emit(kn, Q({
|
|
5989
5992
|
t: oe(),
|
|
5990
5993
|
host: f.getHostFromUrl(n.currentSrc),
|
|
5991
5994
|
vtype: n.vtype,
|
|
@@ -6009,13 +6012,13 @@ var Ae = {
|
|
|
6009
6012
|
}
|
|
6010
6013
|
}]), r;
|
|
6011
6014
|
}($);
|
|
6012
|
-
function
|
|
6015
|
+
function Bo() {
|
|
6013
6016
|
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">
|
|
6014
6017
|
<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>
|
|
6015
6018
|
</svg>
|
|
6016
6019
|
`, "image/svg+xml").firstChild;
|
|
6017
6020
|
}
|
|
6018
|
-
var
|
|
6021
|
+
var Ho = /* @__PURE__ */ function(o) {
|
|
6019
6022
|
L(r, o);
|
|
6020
6023
|
var a = R(r);
|
|
6021
6024
|
function r() {
|
|
@@ -6025,7 +6028,7 @@ var Bo = /* @__PURE__ */ function(o) {
|
|
|
6025
6028
|
key: "registerIcons",
|
|
6026
6029
|
value: function() {
|
|
6027
6030
|
return {
|
|
6028
|
-
replay:
|
|
6031
|
+
replay: Bo
|
|
6029
6032
|
};
|
|
6030
6033
|
}
|
|
6031
6034
|
}, {
|
|
@@ -6098,7 +6101,7 @@ var Bo = /* @__PURE__ */ function(o) {
|
|
|
6098
6101
|
};
|
|
6099
6102
|
}
|
|
6100
6103
|
}]), r;
|
|
6101
|
-
}($),
|
|
6104
|
+
}($), Uo = /* @__PURE__ */ function(o) {
|
|
6102
6105
|
L(r, o);
|
|
6103
6106
|
var a = R(r);
|
|
6104
6107
|
function r() {
|
|
@@ -6210,20 +6213,20 @@ var Bo = /* @__PURE__ */ function(o) {
|
|
|
6210
6213
|
}
|
|
6211
6214
|
}]), r;
|
|
6212
6215
|
}($);
|
|
6213
|
-
function
|
|
6216
|
+
function gi() {
|
|
6214
6217
|
return new DOMParser().parseFromString(`<svg class="play" xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="3 -4 28 40">
|
|
6215
6218
|
<path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M576,363L810,512L576,661zM342,214L576,363L576,661L342,810z"></path>
|
|
6216
6219
|
</svg>
|
|
6217
6220
|
`, "image/svg+xml").firstChild;
|
|
6218
6221
|
}
|
|
6219
|
-
function
|
|
6222
|
+
function pi() {
|
|
6220
6223
|
return new DOMParser().parseFromString(`<svg class="pause" xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="3 -4 28 40">
|
|
6221
6224
|
<path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M598,214h170v596h-170v-596zM256 810v-596h170v596h-170z"></path>
|
|
6222
6225
|
</svg>
|
|
6223
6226
|
`, "image/svg+xml").firstChild;
|
|
6224
6227
|
}
|
|
6225
6228
|
var _e = {};
|
|
6226
|
-
function
|
|
6229
|
+
function zo(o, a) {
|
|
6227
6230
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
6228
6231
|
start: null,
|
|
6229
6232
|
end: null
|
|
@@ -6232,7 +6235,7 @@ function Uo(o, a) {
|
|
|
6232
6235
|
r.end && r.end(), window.clearTimeout(_e[o].id), delete _e[o];
|
|
6233
6236
|
}, a), _e[o].id;
|
|
6234
6237
|
}
|
|
6235
|
-
function
|
|
6238
|
+
function zi(o) {
|
|
6236
6239
|
if (o) {
|
|
6237
6240
|
window.clearTimeout(o);
|
|
6238
6241
|
return;
|
|
@@ -6241,7 +6244,7 @@ function Ui(o) {
|
|
|
6241
6244
|
window.clearTimeout(_e[a].id), delete _e[a];
|
|
6242
6245
|
});
|
|
6243
6246
|
}
|
|
6244
|
-
var
|
|
6247
|
+
var Vo = /* @__PURE__ */ function(o) {
|
|
6245
6248
|
L(r, o);
|
|
6246
6249
|
var a = R(r);
|
|
6247
6250
|
function r(t) {
|
|
@@ -6261,14 +6264,14 @@ var zo = /* @__PURE__ */ function(o) {
|
|
|
6261
6264
|
key: "afterCreate",
|
|
6262
6265
|
value: function() {
|
|
6263
6266
|
var e = this, i = this.player, n = this.playerConfig;
|
|
6264
|
-
this.initIcons(), this.once(
|
|
6267
|
+
this.initIcons(), this.once(ui, function() {
|
|
6265
6268
|
n && (n.lang && n.lang === "en" ? f.addClass(i.root, "lang-is-en") : n.lang === "jp" && f.addClass(i.root, "lang-is-jp"));
|
|
6266
|
-
}), this.on(Ue, this.onAutoplayStart), n.autoplay || this.show(), this.on(
|
|
6269
|
+
}), this.on(Ue, this.onAutoplayStart), n.autoplay || this.show(), this.on(ci, function() {
|
|
6267
6270
|
var s = e.config.mode === "auto" ? "auto-hide" : "hide";
|
|
6268
6271
|
e.setAttr("data-state", "play"), f.removeClass(e.root, s), e.show();
|
|
6269
6272
|
}), this.on(de, function() {
|
|
6270
6273
|
e.onPlayPause("play");
|
|
6271
|
-
}), this.on(
|
|
6274
|
+
}), this.on(et, function() {
|
|
6272
6275
|
e.onPlayPause("pause");
|
|
6273
6276
|
}), this.on(Dt, function() {
|
|
6274
6277
|
e.onPlayerReset();
|
|
@@ -6289,11 +6292,11 @@ var zo = /* @__PURE__ */ function(o) {
|
|
|
6289
6292
|
value: function() {
|
|
6290
6293
|
return {
|
|
6291
6294
|
startPlay: {
|
|
6292
|
-
icon:
|
|
6295
|
+
icon: gi,
|
|
6293
6296
|
class: "xg-icon-play"
|
|
6294
6297
|
},
|
|
6295
6298
|
startPause: {
|
|
6296
|
-
icon:
|
|
6299
|
+
icon: pi,
|
|
6297
6300
|
class: "xg-icon-pause"
|
|
6298
6301
|
}
|
|
6299
6302
|
};
|
|
@@ -6333,7 +6336,7 @@ var zo = /* @__PURE__ */ function(o) {
|
|
|
6333
6336
|
key: "animate",
|
|
6334
6337
|
value: function(e) {
|
|
6335
6338
|
var i = this;
|
|
6336
|
-
this._animateId =
|
|
6339
|
+
this._animateId = zo("pauseplay", 400, {
|
|
6337
6340
|
start: function() {
|
|
6338
6341
|
f.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
|
|
6339
6342
|
},
|
|
@@ -6345,7 +6348,7 @@ var zo = /* @__PURE__ */ function(o) {
|
|
|
6345
6348
|
}, {
|
|
6346
6349
|
key: "endAnimate",
|
|
6347
6350
|
value: function() {
|
|
6348
|
-
f.removeClass(this.root, "interact"),
|
|
6351
|
+
f.removeClass(this.root, "interact"), zi(this._animateId), this._animateId = null;
|
|
6349
6352
|
}
|
|
6350
6353
|
}, {
|
|
6351
6354
|
key: "switchPausePlay",
|
|
@@ -6389,7 +6392,7 @@ var zo = /* @__PURE__ */ function(o) {
|
|
|
6389
6392
|
}, {
|
|
6390
6393
|
key: "destroy",
|
|
6391
6394
|
value: function() {
|
|
6392
|
-
this.unbind(["click", "touchend"], this.clickHandler),
|
|
6395
|
+
this.unbind(["click", "touchend"], this.clickHandler), zi(this._animateId);
|
|
6393
6396
|
}
|
|
6394
6397
|
}, {
|
|
6395
6398
|
key: "render",
|
|
@@ -6416,7 +6419,7 @@ var zo = /* @__PURE__ */ function(o) {
|
|
|
6416
6419
|
};
|
|
6417
6420
|
}
|
|
6418
6421
|
}]), r;
|
|
6419
|
-
}($),
|
|
6422
|
+
}($), jo = /* @__PURE__ */ function(o) {
|
|
6420
6423
|
L(r, o);
|
|
6421
6424
|
var a = R(r);
|
|
6422
6425
|
function r() {
|
|
@@ -6461,7 +6464,7 @@ function Oe(o, a, r) {
|
|
|
6461
6464
|
return '<div class="xg-tips hide"></div>';
|
|
6462
6465
|
}
|
|
6463
6466
|
}
|
|
6464
|
-
var
|
|
6467
|
+
var Vi = /* @__PURE__ */ function(o) {
|
|
6465
6468
|
L(r, o);
|
|
6466
6469
|
var a = R(r);
|
|
6467
6470
|
function r() {
|
|
@@ -6511,12 +6514,12 @@ var zi = /* @__PURE__ */ function(o) {
|
|
|
6511
6514
|
}
|
|
6512
6515
|
}]), r;
|
|
6513
6516
|
}($);
|
|
6514
|
-
function
|
|
6517
|
+
function ji(o) {
|
|
6515
6518
|
var a = parseFloat(o), r = o.indexOf("%") === -1 && !Number.isNaN(a);
|
|
6516
6519
|
return r && a;
|
|
6517
6520
|
}
|
|
6518
|
-
var
|
|
6519
|
-
function
|
|
6521
|
+
var vi = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Pn = vi.length;
|
|
6522
|
+
function Wo() {
|
|
6520
6523
|
for (var o = {
|
|
6521
6524
|
width: 0,
|
|
6522
6525
|
height: 0,
|
|
@@ -6524,49 +6527,49 @@ function jo() {
|
|
|
6524
6527
|
innerHeight: 0,
|
|
6525
6528
|
outerWidth: 0,
|
|
6526
6529
|
outerHeight: 0
|
|
6527
|
-
}, a = 0; a <
|
|
6528
|
-
var r =
|
|
6530
|
+
}, a = 0; a < Pn; a++) {
|
|
6531
|
+
var r = vi[a];
|
|
6529
6532
|
o[r] = 0;
|
|
6530
6533
|
}
|
|
6531
6534
|
return o;
|
|
6532
6535
|
}
|
|
6533
|
-
function
|
|
6536
|
+
function Go(o) {
|
|
6534
6537
|
var a = window.getComputedStyle(o);
|
|
6535
6538
|
return a;
|
|
6536
6539
|
}
|
|
6537
|
-
function
|
|
6540
|
+
function Wi(o) {
|
|
6538
6541
|
if (typeof o == "string" && (o = document.querySelector(o)), !(!o || ae(o) !== "object" || !o.nodeType)) {
|
|
6539
|
-
var a =
|
|
6542
|
+
var a = Go(o);
|
|
6540
6543
|
if (a.display === "none")
|
|
6541
|
-
return
|
|
6544
|
+
return Wo();
|
|
6542
6545
|
var r = {};
|
|
6543
6546
|
r.width = o.offsetWidth, r.height = o.offsetHeight;
|
|
6544
|
-
for (var t = r.isBorderBox = a.boxSizing === "border-box", e = 0; e <
|
|
6545
|
-
var i =
|
|
6547
|
+
for (var t = r.isBorderBox = a.boxSizing === "border-box", e = 0; e < Pn; e++) {
|
|
6548
|
+
var i = vi[e], n = a[i], s = parseFloat(n);
|
|
6546
6549
|
r[i] = Number.isNaN(s) ? 0 : s;
|
|
6547
6550
|
}
|
|
6548
|
-
var l = r.paddingLeft + r.paddingRight, u = r.paddingTop + r.paddingBottom, c = r.marginLeft + r.marginRight, h = r.marginTop + r.marginBottom, d = r.borderLeftWidth + r.borderRightWidth, g = r.borderTopWidth + r.borderBottomWidth, p = t, m =
|
|
6551
|
+
var l = r.paddingLeft + r.paddingRight, u = r.paddingTop + r.paddingBottom, c = r.marginLeft + r.marginRight, h = r.marginTop + r.marginBottom, d = r.borderLeftWidth + r.borderRightWidth, g = r.borderTopWidth + r.borderBottomWidth, p = t, m = ji(a.width);
|
|
6549
6552
|
m !== !1 && (r.width = m + (p ? 0 : l + d));
|
|
6550
|
-
var _ =
|
|
6553
|
+
var _ = ji(a.height);
|
|
6551
6554
|
return _ !== !1 && (r.height = _ + (p ? 0 : u + g)), r.innerWidth = r.width - (l + d), r.innerHeight = r.height - (u + g), r.outerWidth = r.width + c, r.outerHeight = r.height + h, r;
|
|
6552
6555
|
}
|
|
6553
6556
|
}
|
|
6554
|
-
function
|
|
6557
|
+
function jt(o, a) {
|
|
6555
6558
|
for (var r = 0; r < o.length; r++) {
|
|
6556
6559
|
var t = o[r];
|
|
6557
6560
|
if (t.identifier === a)
|
|
6558
6561
|
return t;
|
|
6559
6562
|
}
|
|
6560
6563
|
}
|
|
6561
|
-
var
|
|
6564
|
+
var Wt = {
|
|
6562
6565
|
START: "dragStart",
|
|
6563
6566
|
MOVE: "dragMove",
|
|
6564
6567
|
ENDED: "dragEnded"
|
|
6565
|
-
},
|
|
6568
|
+
}, Gi = {
|
|
6566
6569
|
mousedown: ["mousemove", "mouseup"],
|
|
6567
6570
|
touchstart: ["touchmove", "touchend", "touchcancel"],
|
|
6568
6571
|
pointerdown: ["pointermove", "pointerup", "pointercancel"]
|
|
6569
|
-
},
|
|
6572
|
+
}, $o = /* @__PURE__ */ function(o) {
|
|
6570
6573
|
L(r, o);
|
|
6571
6574
|
var a = R(r);
|
|
6572
6575
|
function r(t) {
|
|
@@ -6577,13 +6580,13 @@ var jt = {
|
|
|
6577
6580
|
}, e.startPos = {
|
|
6578
6581
|
x: 0,
|
|
6579
6582
|
y: 0
|
|
6580
|
-
}, e._root = t instanceof Element ? t : document.querySelector(t), e._handlerDom = i.handle instanceof Element ? i.handle : document.querySelector(i.handle), !e._root || !e._handlerDom ?
|
|
6583
|
+
}, e._root = t instanceof Element ? t : document.querySelector(t), e._handlerDom = i.handle instanceof Element ? i.handle : document.querySelector(i.handle), !e._root || !e._handlerDom ? si(e) : (e._bindStartEvent(), e);
|
|
6581
6584
|
}
|
|
6582
6585
|
return P(r, [{
|
|
6583
6586
|
key: "_bindStartEvent",
|
|
6584
6587
|
value: function() {
|
|
6585
6588
|
var e = this;
|
|
6586
|
-
"ontouchstart" in window ? this._startKey = "touchstart" : this._startKey = "mousedown", this["on".concat(this._startKey)] = this["on".concat(this._startKey)].bind(this), this._handlerDom.addEventListener(this._startKey, this["on".concat(this._startKey)]),
|
|
6589
|
+
"ontouchstart" in window ? this._startKey = "touchstart" : this._startKey = "mousedown", this["on".concat(this._startKey)] = this["on".concat(this._startKey)].bind(this), this._handlerDom.addEventListener(this._startKey, this["on".concat(this._startKey)]), Gi[this._startKey].map(function(i) {
|
|
6587
6590
|
e["on".concat(i)] = e["on".concat(i)].bind(e);
|
|
6588
6591
|
});
|
|
6589
6592
|
}
|
|
@@ -6597,7 +6600,7 @@ var jt = {
|
|
|
6597
6600
|
value: function(e) {
|
|
6598
6601
|
var i = this;
|
|
6599
6602
|
if (e) {
|
|
6600
|
-
var n =
|
|
6603
|
+
var n = Gi[this._startKey];
|
|
6601
6604
|
n.map(function(s) {
|
|
6602
6605
|
window.addEventListener(s, i["on".concat(s)]);
|
|
6603
6606
|
}), this._boundPointerEvents = n;
|
|
@@ -6669,19 +6672,19 @@ var jt = {
|
|
|
6669
6672
|
}, {
|
|
6670
6673
|
key: "ontouchmove",
|
|
6671
6674
|
value: function(e) {
|
|
6672
|
-
var i =
|
|
6675
|
+
var i = jt(e.changedTouches, this.touchIdentifier);
|
|
6673
6676
|
i && this.dragMove(e, i);
|
|
6674
6677
|
}
|
|
6675
6678
|
}, {
|
|
6676
6679
|
key: "ontouchend",
|
|
6677
6680
|
value: function(e) {
|
|
6678
|
-
var i =
|
|
6681
|
+
var i = jt(e.changedTouches, this.touchIdentifier);
|
|
6679
6682
|
i && this.dragEnd(e, i), e.preventDefault();
|
|
6680
6683
|
}
|
|
6681
6684
|
}, {
|
|
6682
6685
|
key: "ontouchcancel",
|
|
6683
6686
|
value: function(e) {
|
|
6684
|
-
var i =
|
|
6687
|
+
var i = jt(e.changedTouches, this.touchIdentifier);
|
|
6685
6688
|
i && this.dragCancel(e, i);
|
|
6686
6689
|
}
|
|
6687
6690
|
}, {
|
|
@@ -6689,19 +6692,19 @@ var jt = {
|
|
|
6689
6692
|
value: function(e, i) {
|
|
6690
6693
|
if (!(!this._root || this.isDown || !this.isEnabled)) {
|
|
6691
6694
|
this.downPoint = i, this.dragPoint.x = 0, this.dragPoint.y = 0, this._getPosition();
|
|
6692
|
-
var n =
|
|
6695
|
+
var n = Wi(this._root);
|
|
6693
6696
|
this.startPos.x = this.position.x, this.startPos.y = this.position.y, this.startPos.maxY = window.innerHeight - n.height, this.startPos.maxX = window.innerWidth - n.width, this.setLeftTop(), this.isDown = !0, this._bindPostStartEvents(e);
|
|
6694
6697
|
}
|
|
6695
6698
|
}
|
|
6696
6699
|
}, {
|
|
6697
6700
|
key: "dragRealStart",
|
|
6698
6701
|
value: function(e, i) {
|
|
6699
|
-
this.isDragging = !0, this.animate(), this.emit(
|
|
6702
|
+
this.isDragging = !0, this.animate(), this.emit(Wt.START, this.startPos);
|
|
6700
6703
|
}
|
|
6701
6704
|
}, {
|
|
6702
6705
|
key: "dragEnd",
|
|
6703
6706
|
value: function(e, i) {
|
|
6704
|
-
this._root && (this._unbindPostStartEvents(), this.isDragging && (this._root.style.transform = "", this.setLeftTop(), this.emit(
|
|
6707
|
+
this._root && (this._unbindPostStartEvents(), this.isDragging && (this._root.style.transform = "", this.setLeftTop(), this.emit(Wt.ENDED)), this.presetInfo());
|
|
6705
6708
|
}
|
|
6706
6709
|
}, {
|
|
6707
6710
|
key: "_dragPointerMove",
|
|
@@ -6717,7 +6720,7 @@ var jt = {
|
|
|
6717
6720
|
value: function(e, i) {
|
|
6718
6721
|
if (e = e || window.event, !!this.isDown) {
|
|
6719
6722
|
var n = this.startPos, s = n.x, l = n.y, u = this._dragPointerMove(e, i), c = u.x, h = u.y;
|
|
6720
|
-
c = this.checkContain("x", c, s), h = this.checkContain("y", h, l), this.position.x = s + c, this.position.y = l + h, this.dragPoint.x = c, this.dragPoint.y = h, this.emit(
|
|
6723
|
+
c = this.checkContain("x", c, s), h = this.checkContain("y", h, l), this.position.x = s + c, this.position.y = l + h, this.dragPoint.x = c, this.dragPoint.y = h, this.emit(Wt.MOVE, this.position);
|
|
6721
6724
|
}
|
|
6722
6725
|
}
|
|
6723
6726
|
}, {
|
|
@@ -6770,13 +6773,13 @@ var jt = {
|
|
|
6770
6773
|
key: "_getPositionCoord",
|
|
6771
6774
|
value: function(e, i) {
|
|
6772
6775
|
if (e.indexOf("%") !== -1) {
|
|
6773
|
-
var n =
|
|
6776
|
+
var n = Wi(this._root.parentNode);
|
|
6774
6777
|
return n ? parseFloat(e) / 100 * n[i] : 0;
|
|
6775
6778
|
}
|
|
6776
6779
|
return parseInt(e, 10);
|
|
6777
6780
|
}
|
|
6778
6781
|
}]), r;
|
|
6779
|
-
}(
|
|
6782
|
+
}(an), Ko = /* @__PURE__ */ function(o) {
|
|
6780
6783
|
L(r, o);
|
|
6781
6784
|
var a = R(r);
|
|
6782
6785
|
function r(t) {
|
|
@@ -6810,7 +6813,7 @@ var jt = {
|
|
|
6810
6813
|
key: "afterCreate",
|
|
6811
6814
|
value: function() {
|
|
6812
6815
|
var e = this;
|
|
6813
|
-
this.initIcons(), this.on(
|
|
6816
|
+
this.initIcons(), this.on(et, function() {
|
|
6814
6817
|
e.setAttr("data-state", "pause");
|
|
6815
6818
|
}), this.on(de, function() {
|
|
6816
6819
|
e.setAttr("data-state", "play");
|
|
@@ -6829,10 +6832,10 @@ var jt = {
|
|
|
6829
6832
|
}
|
|
6830
6833
|
}
|
|
6831
6834
|
};
|
|
6832
|
-
i.controls.registerPlugin(
|
|
6835
|
+
i.controls.registerPlugin(Vi, s, Vi.pluginName);
|
|
6833
6836
|
}
|
|
6834
6837
|
var l = f.checkTouchSupport() ? "touchend" : "click";
|
|
6835
|
-
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new
|
|
6838
|
+
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new $o(this.player.root, {
|
|
6836
6839
|
handle: this.root
|
|
6837
6840
|
})), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
|
|
6838
6841
|
}
|
|
@@ -6842,11 +6845,11 @@ var jt = {
|
|
|
6842
6845
|
value: function() {
|
|
6843
6846
|
return {
|
|
6844
6847
|
play: {
|
|
6845
|
-
icon:
|
|
6848
|
+
icon: gi,
|
|
6846
6849
|
class: "xg-icon-play"
|
|
6847
6850
|
},
|
|
6848
6851
|
pause: {
|
|
6849
|
-
icon:
|
|
6852
|
+
icon: pi,
|
|
6850
6853
|
class: "xg-icon-pause"
|
|
6851
6854
|
}
|
|
6852
6855
|
};
|
|
@@ -6930,7 +6933,7 @@ var jt = {
|
|
|
6930
6933
|
mouseenter: "onMouseEnter",
|
|
6931
6934
|
mouseleave: "onMouseLeave",
|
|
6932
6935
|
mousemove: "onMouseMove"
|
|
6933
|
-
},
|
|
6936
|
+
}, Gt = ["videoClick", "videoDbClick"], $t = /* @__PURE__ */ function(o) {
|
|
6934
6937
|
L(r, o);
|
|
6935
6938
|
var a = R(r);
|
|
6936
6939
|
function r() {
|
|
@@ -6947,7 +6950,7 @@ var jt = {
|
|
|
6947
6950
|
var l = v(t), u = l.playerConfig, c = l.player;
|
|
6948
6951
|
!u.closeFocusVideoFocus && c.media.focus(), u.closeDelayBlur ? c.focus({
|
|
6949
6952
|
autoHide: !1
|
|
6950
|
-
}) : c.focus(), t.emit(
|
|
6953
|
+
}) : c.focus(), t.emit(pn);
|
|
6951
6954
|
}), y(v(t), "onMouseLeave", function(s) {
|
|
6952
6955
|
var l = t.playerConfig, u = l.closePlayerBlur, c = l.leavePlayerTime, h = l.closeDelayBlur;
|
|
6953
6956
|
!u && !h && (c ? t.player.focus({
|
|
@@ -6955,11 +6958,11 @@ var jt = {
|
|
|
6955
6958
|
delay: c
|
|
6956
6959
|
}) : t.player.blur({
|
|
6957
6960
|
ignorePaused: !0
|
|
6958
|
-
})), t.emit(
|
|
6961
|
+
})), t.emit(gn);
|
|
6959
6962
|
}), y(v(t), "onVideoClick", function(s) {
|
|
6960
6963
|
var l = v(t), u = l.player, c = l.playerConfig;
|
|
6961
6964
|
s.target && c.closeVideoClick || (s.target === u.root || s.target === u.media || s.target === u.innerContainer || s.target === u.media.__canvas) && (s.preventDefault(), c.closeVideoStopPropagation || s.stopPropagation(), t._clickCount++, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), t.clickTimer = setTimeout(function() {
|
|
6962
|
-
t._clickCount && (t._clickCount--, Ce(v(t),
|
|
6965
|
+
t._clickCount && (t._clickCount--, Ce(v(t), Gt[0], function(h, d) {
|
|
6963
6966
|
t.switchPlayPause(d.e);
|
|
6964
6967
|
}, {
|
|
6965
6968
|
e: s,
|
|
@@ -6973,7 +6976,7 @@ var jt = {
|
|
|
6973
6976
|
t._clickCount = 0;
|
|
6974
6977
|
return;
|
|
6975
6978
|
}
|
|
6976
|
-
t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), s.preventDefault(), s.stopPropagation(), Ce(v(t),
|
|
6979
|
+
t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), s.preventDefault(), s.stopPropagation(), Ce(v(t), Gt[1], function(h, d) {
|
|
6977
6980
|
t.emitUserAction(d.e, "switch_fullscreen", {
|
|
6978
6981
|
props: "fullscreen",
|
|
6979
6982
|
from: u.fullscreen,
|
|
@@ -6990,7 +6993,7 @@ var jt = {
|
|
|
6990
6993
|
key: "afterCreate",
|
|
6991
6994
|
value: function() {
|
|
6992
6995
|
var e = this;
|
|
6993
|
-
this._clickCount = 0,
|
|
6996
|
+
this._clickCount = 0, Gt.map(function(n) {
|
|
6994
6997
|
e.__hooks[n] = null;
|
|
6995
6998
|
});
|
|
6996
6999
|
var i = this.playerConfig.isMobileSimulateMode;
|
|
@@ -7046,21 +7049,21 @@ var jt = {
|
|
|
7046
7049
|
TOUCH_MOVE: "touchmove",
|
|
7047
7050
|
TOUCH_START: "touchstart",
|
|
7048
7051
|
TOUCH_END: "touchend"
|
|
7049
|
-
},
|
|
7052
|
+
}, Yo = {
|
|
7050
7053
|
start: "touchstart",
|
|
7051
7054
|
end: "touchend",
|
|
7052
7055
|
move: "touchmove",
|
|
7053
7056
|
cancel: "touchcancel"
|
|
7054
|
-
},
|
|
7057
|
+
}, Xo = {
|
|
7055
7058
|
start: "mousedown",
|
|
7056
7059
|
end: "mouseup",
|
|
7057
7060
|
move: "mousemove",
|
|
7058
7061
|
cancel: "mouseleave"
|
|
7059
7062
|
};
|
|
7060
|
-
function
|
|
7063
|
+
function $i(o) {
|
|
7061
7064
|
return o && o.length > 0 ? o[o.length - 1] : null;
|
|
7062
7065
|
}
|
|
7063
|
-
function
|
|
7066
|
+
function qo() {
|
|
7064
7067
|
return {
|
|
7065
7068
|
pressDelay: 600,
|
|
7066
7069
|
dbClickDelay: 200,
|
|
@@ -7070,13 +7073,13 @@ function Xo() {
|
|
|
7070
7073
|
needPreventDefault: !0
|
|
7071
7074
|
};
|
|
7072
7075
|
}
|
|
7073
|
-
var
|
|
7076
|
+
var Zo = /* @__PURE__ */ function() {
|
|
7074
7077
|
function o(a) {
|
|
7075
7078
|
var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
7076
7079
|
eventType: "touch"
|
|
7077
7080
|
};
|
|
7078
7081
|
I(this, o), y(this, "onTouchStart", function(e) {
|
|
7079
|
-
var i = r._pos, n = r.root, s =
|
|
7082
|
+
var i = r._pos, n = r.root, s = $i(e.touches);
|
|
7080
7083
|
i.x = s ? parseInt(s.pageX, 10) : e.pageX, i.y = s ? parseInt(s.pageX, 10) : e.pageX, i.start = !0, r.__setPress(e), n.addEventListener(r.events.end, r.onTouchEnd), n.addEventListener(r.events.cancel, r.onTouchCancel), n.addEventListener(r.events.move, r.onTouchMove), r.trigger(xe.TOUCH_START, e);
|
|
7081
7084
|
}), y(this, "onTouchCancel", function(e) {
|
|
7082
7085
|
r.onTouchEnd(e);
|
|
@@ -7084,16 +7087,16 @@ var qo = /* @__PURE__ */ function() {
|
|
|
7084
7087
|
var i = r._pos, n = r.root;
|
|
7085
7088
|
r.__clearPress(), n.removeEventListener(r.events.cancel, r.onTouchCancel), n.removeEventListener(r.events.end, r.onTouchEnd), n.removeEventListener(r.events.move, r.onTouchMove), e.moving = i.moving, e.press = i.press, i.press && r.trigger(xe.PRESS_END, e), r.trigger(xe.TOUCH_END, e), !i.press && !i.moving && r.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
|
|
7086
7089
|
}), y(this, "onTouchMove", function(e) {
|
|
7087
|
-
var i = r._pos, n = r.config, s =
|
|
7090
|
+
var i = r._pos, n = r.config, s = $i(e.touches), l = s ? parseInt(s.pageX, 10) : e.pageX, u = s ? parseInt(s.pageY, 10) : e.pageX, c = l - i.x, h = u - i.y;
|
|
7088
7091
|
Math.abs(h) < n.miniStep && Math.abs(c) < n.miniStep || (r.__clearPress(), i.press && r.trigger(xe.PRESS_END, e), i.press = !1, i.moving = !0, r.trigger(xe.TOUCH_MOVE, e));
|
|
7089
7092
|
}), this._pos = {
|
|
7090
7093
|
moving: !1,
|
|
7091
7094
|
start: !1,
|
|
7092
7095
|
x: 0,
|
|
7093
7096
|
y: 0
|
|
7094
|
-
}, this.config =
|
|
7097
|
+
}, this.config = qo(), Object.keys(t).map(function(e) {
|
|
7095
7098
|
r.config[e] = t[e];
|
|
7096
|
-
}), this.root = a, this.events = t.eventType === "mouse" ?
|
|
7099
|
+
}), this.root = a, this.events = t.eventType === "mouse" ? Xo : Yo, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
|
|
7097
7100
|
}
|
|
7098
7101
|
return P(o, [{
|
|
7099
7102
|
key: "_initEvent",
|
|
@@ -7172,7 +7175,7 @@ var qo = /* @__PURE__ */ function() {
|
|
|
7172
7175
|
}
|
|
7173
7176
|
}]), o;
|
|
7174
7177
|
}();
|
|
7175
|
-
function
|
|
7178
|
+
function Jo() {
|
|
7176
7179
|
return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
7177
7180
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
7178
7181
|
<path opacity="0.54"
|
|
@@ -7186,7 +7189,7 @@ var $e = {
|
|
|
7186
7189
|
SEEKING: "seeking",
|
|
7187
7190
|
PLAYBACK: "playbackrate",
|
|
7188
7191
|
LIGHT: ""
|
|
7189
|
-
},
|
|
7192
|
+
}, Kt = ["videoClick", "videoDbClick"], Qo = /* @__PURE__ */ function(o) {
|
|
7190
7193
|
L(r, o);
|
|
7191
7194
|
var a = R(r);
|
|
7192
7195
|
function r(t) {
|
|
@@ -7258,7 +7261,7 @@ var $e = {
|
|
|
7258
7261
|
value: function() {
|
|
7259
7262
|
return {
|
|
7260
7263
|
seekTipIcon: {
|
|
7261
|
-
icon:
|
|
7264
|
+
icon: Jo,
|
|
7262
7265
|
class: "xg-seek-pre"
|
|
7263
7266
|
}
|
|
7264
7267
|
};
|
|
@@ -7267,13 +7270,13 @@ var $e = {
|
|
|
7267
7270
|
key: "afterCreate",
|
|
7268
7271
|
value: function() {
|
|
7269
7272
|
var e = this;
|
|
7270
|
-
|
|
7273
|
+
Kt.map(function(d) {
|
|
7271
7274
|
e.__hooks[d] = null;
|
|
7272
7275
|
});
|
|
7273
7276
|
var i = this.playerConfig, n = this.config, s = this.player;
|
|
7274
7277
|
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();
|
|
7275
7278
|
var l = this.domEventType === "mouse" ? "mouse" : "touch";
|
|
7276
|
-
this.touch = new
|
|
7279
|
+
this.touch = new Zo(this.root, {
|
|
7277
7280
|
eventType: l,
|
|
7278
7281
|
needPreventDefault: !this.config.disableGesture
|
|
7279
7282
|
}), this.root.addEventListener("contextmenu", function(d) {
|
|
@@ -7450,7 +7453,7 @@ var $e = {
|
|
|
7450
7453
|
key: "onClick",
|
|
7451
7454
|
value: function(e) {
|
|
7452
7455
|
var i = this, n = this.player;
|
|
7453
|
-
Ce(this,
|
|
7456
|
+
Ce(this, Kt[0], function(s, l) {
|
|
7454
7457
|
i.clickHandler(l.e);
|
|
7455
7458
|
}, {
|
|
7456
7459
|
e,
|
|
@@ -7461,7 +7464,7 @@ var $e = {
|
|
|
7461
7464
|
key: "onDbClick",
|
|
7462
7465
|
value: function(e) {
|
|
7463
7466
|
var i = this, n = this.player;
|
|
7464
|
-
Ce(this,
|
|
7467
|
+
Ce(this, Kt[1], function(s, l) {
|
|
7465
7468
|
i.dbClickHandler(l.e);
|
|
7466
7469
|
}, {
|
|
7467
7470
|
e,
|
|
@@ -7615,14 +7618,14 @@ var $e = {
|
|
|
7615
7618
|
}
|
|
7616
7619
|
}]), r;
|
|
7617
7620
|
}($);
|
|
7618
|
-
function
|
|
7621
|
+
function ea(o) {
|
|
7619
7622
|
o.preventDefault(), o.returnValue = !1;
|
|
7620
7623
|
}
|
|
7621
|
-
function
|
|
7624
|
+
function Ki(o) {
|
|
7622
7625
|
var a = o.tagName;
|
|
7623
7626
|
return !!(a === "INPUT" || a === "TEXTAREA" || o.isContentEditable);
|
|
7624
7627
|
}
|
|
7625
|
-
var
|
|
7628
|
+
var Yi = /* @__PURE__ */ function(o) {
|
|
7626
7629
|
L(r, o);
|
|
7627
7630
|
var a = R(r);
|
|
7628
7631
|
function r() {
|
|
@@ -7633,11 +7636,11 @@ var Ki = /* @__PURE__ */ function(o) {
|
|
|
7633
7636
|
return t = a.call.apply(a, [this].concat(i)), y(v(t), "onBodyKeyDown", function(s) {
|
|
7634
7637
|
if (t.player) {
|
|
7635
7638
|
var l = s || window.event, u = l.keyCode, c = v(t), h = c._keyState, d = c.player, g = t.config, p = g.disable, m = g.disableBodyTrigger, _ = g.isIgnoreUserActive;
|
|
7636
|
-
if (p || m || !(d.isUserActive || _) ||
|
|
7639
|
+
if (p || m || !(d.isUserActive || _) || Ki(l.target) || !t.checkIsVisible() || l.metaKey || l.altKey || l.ctrlKey) {
|
|
7637
7640
|
h.isBodyKeyDown = !1;
|
|
7638
7641
|
return;
|
|
7639
7642
|
}
|
|
7640
|
-
!s.repeat && !h.isKeyDown && ((l.target === document.body || t.config.isGlobalTrigger &&
|
|
7643
|
+
!s.repeat && !h.isKeyDown && ((l.target === document.body || t.config.isGlobalTrigger && !Ki(l.target)) && t.checkCode(u, !0) && (h.isBodyKeyDown = !0), document.addEventListener("keyup", t.onBodyKeyUp)), h.isBodyKeyDown && t.handleKeyDown(l);
|
|
7641
7644
|
}
|
|
7642
7645
|
}), y(v(t), "onBodyKeyUp", function(s) {
|
|
7643
7646
|
t.player && (document.removeEventListener("keyup", t.onBodyKeyUp), t.handleKeyUp(s));
|
|
@@ -7858,13 +7861,13 @@ var Ki = /* @__PURE__ */ function(o) {
|
|
|
7858
7861
|
if (h === e) {
|
|
7859
7862
|
if (!d && !(n && p)) {
|
|
7860
7863
|
var m = n && g || c;
|
|
7861
|
-
typeof m == "function" ? c(i, this.player, n) : typeof m == "string" && typeof this[m] == "function" && this[m](i, this.player, n), this.emit(
|
|
7864
|
+
typeof m == "function" ? c(i, this.player, n) : typeof m == "string" && typeof this[m] == "function" && this[m](i, this.player, n), this.emit(_n, Q({
|
|
7862
7865
|
key: s[l],
|
|
7863
7866
|
target: i.target,
|
|
7864
7867
|
isPress: n
|
|
7865
7868
|
}, this.keyCodeMap[s[l]]));
|
|
7866
7869
|
}
|
|
7867
|
-
|
|
7870
|
+
ea(i), i.stopPropagation();
|
|
7868
7871
|
break;
|
|
7869
7872
|
}
|
|
7870
7873
|
}
|
|
@@ -7906,13 +7909,13 @@ var Ki = /* @__PURE__ */ function(o) {
|
|
|
7906
7909
|
}
|
|
7907
7910
|
}]), r;
|
|
7908
7911
|
}(Le);
|
|
7909
|
-
function
|
|
7912
|
+
function ta() {
|
|
7910
7913
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
|
|
7911
7914
|
<path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
|
|
7912
7915
|
</svg>
|
|
7913
7916
|
`, "image/svg+xml").firstChild;
|
|
7914
7917
|
}
|
|
7915
|
-
var
|
|
7918
|
+
var ia = /* @__PURE__ */ function(o) {
|
|
7916
7919
|
L(r, o);
|
|
7917
7920
|
var a = R(r);
|
|
7918
7921
|
function r() {
|
|
@@ -7922,7 +7925,7 @@ var ta = /* @__PURE__ */ function(o) {
|
|
|
7922
7925
|
key: "registerIcons",
|
|
7923
7926
|
value: function() {
|
|
7924
7927
|
return {
|
|
7925
|
-
loadingIcon:
|
|
7928
|
+
loadingIcon: ta
|
|
7926
7929
|
};
|
|
7927
7930
|
}
|
|
7928
7931
|
}, {
|
|
@@ -7951,7 +7954,7 @@ var ta = /* @__PURE__ */ function(o) {
|
|
|
7951
7954
|
};
|
|
7952
7955
|
}
|
|
7953
7956
|
}]), r;
|
|
7954
|
-
}($),
|
|
7957
|
+
}($), na = [{
|
|
7955
7958
|
tag: "xg-cache",
|
|
7956
7959
|
className: "xgplayer-progress-cache",
|
|
7957
7960
|
styleKey: "cachedColor"
|
|
@@ -7959,7 +7962,7 @@ var ta = /* @__PURE__ */ function(o) {
|
|
|
7959
7962
|
tag: "xg-played",
|
|
7960
7963
|
className: "xgplayer-progress-played",
|
|
7961
7964
|
styleKey: "playedColor"
|
|
7962
|
-
}],
|
|
7965
|
+
}], ra = /* @__PURE__ */ function() {
|
|
7963
7966
|
function o(a) {
|
|
7964
7967
|
I(this, o), this.fragments = a.fragments || [], this.fragments.length === 0 && this.fragments.push({
|
|
7965
7968
|
percent: 1
|
|
@@ -8146,7 +8149,7 @@ var ta = /* @__PURE__ */ function(o) {
|
|
|
8146
8149
|
var l = f.createDom("xg-inner", "", {
|
|
8147
8150
|
style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
|
|
8148
8151
|
}, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
|
|
8149
|
-
return r.root.appendChild(l),
|
|
8152
|
+
return r.root.appendChild(l), na.forEach(function(u) {
|
|
8150
8153
|
l.appendChild(f.createDom(u.tag, "", {
|
|
8151
8154
|
style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
|
|
8152
8155
|
}, u.className));
|
|
@@ -8159,10 +8162,10 @@ var ta = /* @__PURE__ */ function(o) {
|
|
|
8159
8162
|
return this.root;
|
|
8160
8163
|
}
|
|
8161
8164
|
}]), o;
|
|
8162
|
-
}(),
|
|
8165
|
+
}(), Xi = {
|
|
8163
8166
|
POINT: "inner-focus-point",
|
|
8164
8167
|
HIGHLIGHT: "inner-focus-highlight"
|
|
8165
|
-
},
|
|
8168
|
+
}, sa = /* @__PURE__ */ function(o) {
|
|
8166
8169
|
L(r, o);
|
|
8167
8170
|
var a = R(r);
|
|
8168
8171
|
function r(t) {
|
|
@@ -8292,7 +8295,7 @@ var ta = /* @__PURE__ */ function(o) {
|
|
|
8292
8295
|
e.emitUserAction("fragment_focus", "fragment_focus", u);
|
|
8293
8296
|
}
|
|
8294
8297
|
});
|
|
8295
|
-
this.innerList ? this.innerList.reset(s) : (this.innerList = new
|
|
8298
|
+
this.innerList ? this.innerList.reset(s) : (this.innerList = new ra(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
|
|
8296
8299
|
e[l] = e.innerList[l].bind(e.innerList);
|
|
8297
8300
|
}));
|
|
8298
8301
|
}
|
|
@@ -8326,7 +8329,7 @@ var ta = /* @__PURE__ */ function(o) {
|
|
|
8326
8329
|
e.onTimeupdate();
|
|
8327
8330
|
}), this.on(Te, function() {
|
|
8328
8331
|
e.onTimeupdate(), e.onCacheUpdate();
|
|
8329
|
-
}), this.on(
|
|
8332
|
+
}), this.on(fn, function() {
|
|
8330
8333
|
e.onCacheUpdate();
|
|
8331
8334
|
}), this.on(Ve, function() {
|
|
8332
8335
|
e.onCacheUpdate(!0), e.onTimeupdate(!0), e._state.now = 0;
|
|
@@ -8555,7 +8558,7 @@ var ta = /* @__PURE__ */ function(o) {
|
|
|
8555
8558
|
fragments: [{
|
|
8556
8559
|
percent: 1
|
|
8557
8560
|
}],
|
|
8558
|
-
fragFocusClass:
|
|
8561
|
+
fragFocusClass: Xi.POINT,
|
|
8559
8562
|
fragClass: "",
|
|
8560
8563
|
fragAutoFocus: !1,
|
|
8561
8564
|
miniMoveStep: 5,
|
|
@@ -8570,7 +8573,7 @@ var ta = /* @__PURE__ */ function(o) {
|
|
|
8570
8573
|
}, {
|
|
8571
8574
|
key: "FRAGMENT_FOCUS_CLASS",
|
|
8572
8575
|
get: function() {
|
|
8573
|
-
return
|
|
8576
|
+
return Xi;
|
|
8574
8577
|
}
|
|
8575
8578
|
}]), r;
|
|
8576
8579
|
}($), We = /* @__PURE__ */ function(o) {
|
|
@@ -8602,7 +8605,7 @@ var ta = /* @__PURE__ */ function(o) {
|
|
|
8602
8605
|
this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
|
|
8603
8606
|
}
|
|
8604
8607
|
}]), r;
|
|
8605
|
-
}($),
|
|
8608
|
+
}($), oa = /* @__PURE__ */ function(o) {
|
|
8606
8609
|
L(r, o);
|
|
8607
8610
|
var a = R(r);
|
|
8608
8611
|
function r() {
|
|
@@ -8614,7 +8617,7 @@ var ta = /* @__PURE__ */ function(o) {
|
|
|
8614
8617
|
var e = this;
|
|
8615
8618
|
F(O(r.prototype), "afterCreate", this).call(this);
|
|
8616
8619
|
var i = this.player, n = this.config;
|
|
8617
|
-
n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([
|
|
8620
|
+
n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([et, lt, je], function() {
|
|
8618
8621
|
e.animate(i.paused);
|
|
8619
8622
|
}), this.on(de, function() {
|
|
8620
8623
|
e.animate(i.paused);
|
|
@@ -8625,11 +8628,11 @@ var ta = /* @__PURE__ */ function(o) {
|
|
|
8625
8628
|
value: function() {
|
|
8626
8629
|
return {
|
|
8627
8630
|
play: {
|
|
8628
|
-
icon:
|
|
8631
|
+
icon: gi,
|
|
8629
8632
|
class: "xg-icon-play"
|
|
8630
8633
|
},
|
|
8631
8634
|
pause: {
|
|
8632
|
-
icon:
|
|
8635
|
+
icon: pi,
|
|
8633
8636
|
class: "xg-icon-pause"
|
|
8634
8637
|
}
|
|
8635
8638
|
};
|
|
@@ -8690,14 +8693,14 @@ var ta = /* @__PURE__ */ function(o) {
|
|
|
8690
8693
|
}
|
|
8691
8694
|
}]), r;
|
|
8692
8695
|
}(We);
|
|
8693
|
-
function
|
|
8696
|
+
function aa() {
|
|
8694
8697
|
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">
|
|
8695
8698
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
8696
8699
|
<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>
|
|
8697
8700
|
</g>
|
|
8698
8701
|
</svg>`, "image/svg+xml").firstChild;
|
|
8699
8702
|
}
|
|
8700
|
-
var
|
|
8703
|
+
var la = /* @__PURE__ */ function(o) {
|
|
8701
8704
|
L(r, o);
|
|
8702
8705
|
var a = R(r);
|
|
8703
8706
|
function r() {
|
|
@@ -8716,7 +8719,7 @@ var aa = /* @__PURE__ */ function(o) {
|
|
|
8716
8719
|
value: function() {
|
|
8717
8720
|
return {
|
|
8718
8721
|
screenBack: {
|
|
8719
|
-
icon:
|
|
8722
|
+
icon: aa,
|
|
8720
8723
|
class: "xg-fullscreen-back"
|
|
8721
8724
|
}
|
|
8722
8725
|
};
|
|
@@ -8758,19 +8761,19 @@ var aa = /* @__PURE__ */ function(o) {
|
|
|
8758
8761
|
}
|
|
8759
8762
|
}]), r;
|
|
8760
8763
|
}($);
|
|
8761
|
-
function
|
|
8764
|
+
function ua() {
|
|
8762
8765
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
8763
8766
|
<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>
|
|
8764
8767
|
</svg>
|
|
8765
8768
|
`, "image/svg+xml").firstChild;
|
|
8766
8769
|
}
|
|
8767
|
-
function
|
|
8770
|
+
function ca() {
|
|
8768
8771
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
8769
8772
|
<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>
|
|
8770
8773
|
</svg>
|
|
8771
8774
|
`, "image/svg+xml").firstChild;
|
|
8772
8775
|
}
|
|
8773
|
-
var
|
|
8776
|
+
var fa = /* @__PURE__ */ function(o) {
|
|
8774
8777
|
L(r, o);
|
|
8775
8778
|
var a = R(r);
|
|
8776
8779
|
function r() {
|
|
@@ -8805,7 +8808,7 @@ var ca = /* @__PURE__ */ function(o) {
|
|
|
8805
8808
|
var u = e.find(".xg-tips");
|
|
8806
8809
|
u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
|
|
8807
8810
|
}), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
|
|
8808
|
-
plugin:
|
|
8811
|
+
plugin: la,
|
|
8809
8812
|
options: {
|
|
8810
8813
|
config: {
|
|
8811
8814
|
onClick: function(u) {
|
|
@@ -8821,11 +8824,11 @@ var ca = /* @__PURE__ */ function(o) {
|
|
|
8821
8824
|
value: function() {
|
|
8822
8825
|
return {
|
|
8823
8826
|
fullscreen: {
|
|
8824
|
-
icon:
|
|
8827
|
+
icon: ua,
|
|
8825
8828
|
class: "xg-get-fullscreen"
|
|
8826
8829
|
},
|
|
8827
8830
|
exitFullscreen: {
|
|
8828
|
-
icon:
|
|
8831
|
+
icon: ca,
|
|
8829
8832
|
class: "xg-exit-fullscreen"
|
|
8830
8833
|
}
|
|
8831
8834
|
};
|
|
@@ -8906,7 +8909,7 @@ var ca = /* @__PURE__ */ function(o) {
|
|
|
8906
8909
|
};
|
|
8907
8910
|
}
|
|
8908
8911
|
}]), r;
|
|
8909
|
-
}(We),
|
|
8912
|
+
}(We), ha = /* @__PURE__ */ function(o) {
|
|
8910
8913
|
L(r, o);
|
|
8911
8914
|
var a = R(r);
|
|
8912
8915
|
function r(t) {
|
|
@@ -9056,7 +9059,7 @@ var ca = /* @__PURE__ */ function(o) {
|
|
|
9056
9059
|
};
|
|
9057
9060
|
}
|
|
9058
9061
|
}]), r;
|
|
9059
|
-
}($),
|
|
9062
|
+
}($), da = /* @__PURE__ */ function(o) {
|
|
9060
9063
|
L(r, o);
|
|
9061
9064
|
var a = R(r);
|
|
9062
9065
|
function r() {
|
|
@@ -9194,28 +9197,28 @@ var ca = /* @__PURE__ */ function(o) {
|
|
|
9194
9197
|
}
|
|
9195
9198
|
}]), r;
|
|
9196
9199
|
}(Le);
|
|
9197
|
-
function
|
|
9200
|
+
function ga() {
|
|
9198
9201
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9199
9202
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9200
9203
|
<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>
|
|
9201
9204
|
</svg>
|
|
9202
9205
|
`, "image/svg+xml").firstChild;
|
|
9203
9206
|
}
|
|
9204
|
-
function
|
|
9207
|
+
function pa() {
|
|
9205
9208
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9206
9209
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9207
9210
|
<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>
|
|
9208
9211
|
</svg>
|
|
9209
9212
|
`, "image/svg+xml").firstChild;
|
|
9210
9213
|
}
|
|
9211
|
-
function
|
|
9214
|
+
function va() {
|
|
9212
9215
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9213
9216
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9214
9217
|
<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>
|
|
9215
9218
|
</svg>
|
|
9216
9219
|
`, "image/svg+xml").firstChild;
|
|
9217
9220
|
}
|
|
9218
|
-
var
|
|
9221
|
+
var ma = /* @__PURE__ */ function(o) {
|
|
9219
9222
|
L(r, o);
|
|
9220
9223
|
var a = R(r);
|
|
9221
9224
|
function r() {
|
|
@@ -9263,15 +9266,15 @@ var va = /* @__PURE__ */ function(o) {
|
|
|
9263
9266
|
value: function() {
|
|
9264
9267
|
return {
|
|
9265
9268
|
volumeSmall: {
|
|
9266
|
-
icon:
|
|
9269
|
+
icon: pa,
|
|
9267
9270
|
class: "xg-volume-small"
|
|
9268
9271
|
},
|
|
9269
9272
|
volumeLarge: {
|
|
9270
|
-
icon:
|
|
9273
|
+
icon: ga,
|
|
9271
9274
|
class: "xg-volume"
|
|
9272
9275
|
},
|
|
9273
9276
|
volumeMuted: {
|
|
9274
|
-
icon:
|
|
9277
|
+
icon: va,
|
|
9275
9278
|
class: "xg-volume-mute"
|
|
9276
9279
|
}
|
|
9277
9280
|
};
|
|
@@ -9293,7 +9296,7 @@ var va = /* @__PURE__ */ function(o) {
|
|
|
9293
9296
|
pre: function(u) {
|
|
9294
9297
|
u.preventDefault(), u.stopPropagation();
|
|
9295
9298
|
}
|
|
9296
|
-
}), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), B.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(
|
|
9299
|
+
}), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), B.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(un, this.onVolumeChange), this.once(Ee, this.onVolumeChange), f.typeOf(s) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
|
|
9297
9300
|
}
|
|
9298
9301
|
}
|
|
9299
9302
|
}, {
|
|
@@ -9410,7 +9413,7 @@ var va = /* @__PURE__ */ function(o) {
|
|
|
9410
9413
|
}
|
|
9411
9414
|
}]), r;
|
|
9412
9415
|
}($);
|
|
9413
|
-
function
|
|
9416
|
+
function ya() {
|
|
9414
9417
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
|
|
9415
9418
|
<g clip-path="url(#clip0)">
|
|
9416
9419
|
<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"/>
|
|
@@ -9424,7 +9427,7 @@ function ma() {
|
|
|
9424
9427
|
</svg>
|
|
9425
9428
|
`, "image/svg+xml").firstChild;
|
|
9426
9429
|
}
|
|
9427
|
-
var
|
|
9430
|
+
var _a = /* @__PURE__ */ function(o) {
|
|
9428
9431
|
L(r, o);
|
|
9429
9432
|
var a = R(r);
|
|
9430
9433
|
function r(t) {
|
|
@@ -9481,13 +9484,13 @@ var ya = /* @__PURE__ */ function(o) {
|
|
|
9481
9484
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, s = this.player;
|
|
9482
9485
|
this.rotateDeg || (this.rotateDeg = 0);
|
|
9483
9486
|
var l = e ? 1 : -1;
|
|
9484
|
-
this.rotateDeg = (this.rotateDeg + 1 + l * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit(
|
|
9487
|
+
this.rotateDeg = (this.rotateDeg + 1 + l * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit(mn, this.rotateDeg * 360);
|
|
9485
9488
|
}
|
|
9486
9489
|
}, {
|
|
9487
9490
|
key: "registerIcons",
|
|
9488
9491
|
value: function() {
|
|
9489
9492
|
return {
|
|
9490
|
-
rotate:
|
|
9493
|
+
rotate: ya
|
|
9491
9494
|
};
|
|
9492
9495
|
}
|
|
9493
9496
|
}, {
|
|
@@ -9520,14 +9523,14 @@ var ya = /* @__PURE__ */ function(o) {
|
|
|
9520
9523
|
}
|
|
9521
9524
|
}]), r;
|
|
9522
9525
|
}(We);
|
|
9523
|
-
function
|
|
9526
|
+
function ka() {
|
|
9524
9527
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
9525
9528
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
9526
9529
|
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"
|
|
9527
9530
|
fill="white" />
|
|
9528
9531
|
</svg>`, "image/svg+xml").firstChild;
|
|
9529
9532
|
}
|
|
9530
|
-
function
|
|
9533
|
+
function Ca() {
|
|
9531
9534
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
9532
9535
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
9533
9536
|
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"
|
|
@@ -9541,7 +9544,7 @@ var Ke = {
|
|
|
9541
9544
|
PIP: "picture-in-picture",
|
|
9542
9545
|
INLINE: "inline",
|
|
9543
9546
|
FULLSCREEN: "fullscreen"
|
|
9544
|
-
},
|
|
9547
|
+
}, wa = /* @__PURE__ */ function(o) {
|
|
9545
9548
|
L(r, o);
|
|
9546
9549
|
var a = R(r);
|
|
9547
9550
|
function r() {
|
|
@@ -9581,11 +9584,11 @@ var Ke = {
|
|
|
9581
9584
|
value: function() {
|
|
9582
9585
|
return {
|
|
9583
9586
|
pipIcon: {
|
|
9584
|
-
icon:
|
|
9587
|
+
icon: ka,
|
|
9585
9588
|
class: "xg-get-pip"
|
|
9586
9589
|
},
|
|
9587
9590
|
pipIconExit: {
|
|
9588
|
-
icon:
|
|
9591
|
+
icon: Ca,
|
|
9589
9592
|
class: "xg-exit-pip"
|
|
9590
9593
|
}
|
|
9591
9594
|
};
|
|
@@ -9604,9 +9607,9 @@ var Ke = {
|
|
|
9604
9607
|
var n = i.paused;
|
|
9605
9608
|
f.setTimeout(e, function() {
|
|
9606
9609
|
!n && i.mediaPlay();
|
|
9607
|
-
}, 0), !n && i.mediaPlay(), e.setAttr("data-state", "normal"), e.pipWindow = null, i.emit(
|
|
9610
|
+
}, 0), !n && i.mediaPlay(), e.setAttr("data-state", "normal"), e.pipWindow = null, i.emit(ii, !1);
|
|
9608
9611
|
}, this.enterPIPCallback = function(n) {
|
|
9609
|
-
i.emit(
|
|
9612
|
+
i.emit(ii, !0), n != null && n.pictureInPictureWindow && (e.pipWindow = n.pictureInPictureWindow), e.setAttr("data-state", "pip");
|
|
9610
9613
|
}, this.onWebkitpresentationmodechanged = function(n) {
|
|
9611
9614
|
var s = i.media.webkitPresentationMode;
|
|
9612
9615
|
e.pMode === Ke.FULLSCREEN && s !== Ke.FULLSCREEN && i.onFullscreenChange(null, !1), e.pMode = s, s === Ke.PIP ? e.enterPIPCallback(n) : s === Ke.INLINE && e.leavePIPCallback(n);
|
|
@@ -9744,13 +9747,13 @@ var Ke = {
|
|
|
9744
9747
|
}
|
|
9745
9748
|
}]), r;
|
|
9746
9749
|
}(We);
|
|
9747
|
-
function
|
|
9750
|
+
function ba() {
|
|
9748
9751
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
|
|
9749
9752
|
<path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
|
|
9750
9753
|
</svg>
|
|
9751
9754
|
`, "image/svg+xml").firstChild;
|
|
9752
9755
|
}
|
|
9753
|
-
var
|
|
9756
|
+
var Ta = /* @__PURE__ */ function(o) {
|
|
9754
9757
|
L(r, o);
|
|
9755
9758
|
var a = R(r);
|
|
9756
9759
|
function r(t) {
|
|
@@ -9769,7 +9772,7 @@ var ba = /* @__PURE__ */ function(o) {
|
|
|
9769
9772
|
key: "registerIcons",
|
|
9770
9773
|
value: function() {
|
|
9771
9774
|
return {
|
|
9772
|
-
playNext:
|
|
9775
|
+
playNext: ba
|
|
9773
9776
|
};
|
|
9774
9777
|
}
|
|
9775
9778
|
}, {
|
|
@@ -9818,11 +9821,11 @@ var ba = /* @__PURE__ */ function(o) {
|
|
|
9818
9821
|
};
|
|
9819
9822
|
}
|
|
9820
9823
|
}]), r;
|
|
9821
|
-
}($),
|
|
9824
|
+
}($), Dn = { exports: {} };
|
|
9822
9825
|
(function(o, a) {
|
|
9823
9826
|
(function(r, t) {
|
|
9824
9827
|
o.exports = t();
|
|
9825
|
-
})(
|
|
9828
|
+
})(Is, function() {
|
|
9826
9829
|
return function r(t, e, i) {
|
|
9827
9830
|
var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, h = document.createElement("a"), d = function(M) {
|
|
9828
9831
|
return String(M);
|
|
@@ -9890,10 +9893,10 @@ Use Save As... to download, then click back to return to this page.`) && (locati
|
|
|
9890
9893
|
return !0;
|
|
9891
9894
|
};
|
|
9892
9895
|
});
|
|
9893
|
-
})(
|
|
9894
|
-
var
|
|
9895
|
-
const
|
|
9896
|
-
function
|
|
9896
|
+
})(Dn);
|
|
9897
|
+
var Ea = Dn.exports;
|
|
9898
|
+
const Sa = /* @__PURE__ */ ni(Ea);
|
|
9899
|
+
function Aa() {
|
|
9897
9900
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
|
|
9898
9901
|
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
9899
9902
|
<g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
|
|
@@ -9910,7 +9913,7 @@ function Sa() {
|
|
|
9910
9913
|
</svg>
|
|
9911
9914
|
`, "image/svg+xml").firstChild;
|
|
9912
9915
|
}
|
|
9913
|
-
var
|
|
9916
|
+
var xa = /* @__PURE__ */ function(o) {
|
|
9914
9917
|
L(r, o);
|
|
9915
9918
|
var a = R(r);
|
|
9916
9919
|
function r(t) {
|
|
@@ -9921,7 +9924,7 @@ var Aa = /* @__PURE__ */ function(o) {
|
|
|
9921
9924
|
var n = e.playerConfig.url, s = "";
|
|
9922
9925
|
f.typeOf(n) === "String" ? s = n : f.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
|
|
9923
9926
|
var l = e.getAbsoluteURL(s);
|
|
9924
|
-
|
|
9927
|
+
Sa(l), e.isLock = !0, e.timer = window.setTimeout(function() {
|
|
9925
9928
|
e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
|
|
9926
9929
|
}, 300);
|
|
9927
9930
|
}
|
|
@@ -9940,7 +9943,7 @@ var Aa = /* @__PURE__ */ function(o) {
|
|
|
9940
9943
|
key: "registerIcons",
|
|
9941
9944
|
value: function() {
|
|
9942
9945
|
return {
|
|
9943
|
-
download:
|
|
9946
|
+
download: Aa
|
|
9944
9947
|
};
|
|
9945
9948
|
}
|
|
9946
9949
|
}, {
|
|
@@ -9982,7 +9985,7 @@ var Aa = /* @__PURE__ */ function(o) {
|
|
|
9982
9985
|
};
|
|
9983
9986
|
}
|
|
9984
9987
|
}]), r;
|
|
9985
|
-
}(We),
|
|
9988
|
+
}(We), Ia = /* @__PURE__ */ function(o) {
|
|
9986
9989
|
L(r, o);
|
|
9987
9990
|
var a = R(r);
|
|
9988
9991
|
function r() {
|
|
@@ -10037,7 +10040,7 @@ var Aa = /* @__PURE__ */ function(o) {
|
|
|
10037
10040
|
e.preventDefault(), e.stopPropagation(), this.emitUserAction(e, "shot");
|
|
10038
10041
|
var n = this.config;
|
|
10039
10042
|
this.shot(n.width, n.height).then(function(s) {
|
|
10040
|
-
i.emit(
|
|
10043
|
+
i.emit(yn, s), n.saveImg && i.saveScreenShot(s, n.name + n.format);
|
|
10041
10044
|
});
|
|
10042
10045
|
}
|
|
10043
10046
|
}, {
|
|
@@ -10108,7 +10111,7 @@ var Aa = /* @__PURE__ */ function(o) {
|
|
|
10108
10111
|
};
|
|
10109
10112
|
}
|
|
10110
10113
|
}]), r;
|
|
10111
|
-
}(We),
|
|
10114
|
+
}(We), Pa = /* @__PURE__ */ function() {
|
|
10112
10115
|
function o(a) {
|
|
10113
10116
|
I(this, o), this.config = a.config, this.parent = a.root, this.root = f.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), a.root.appendChild(this.root);
|
|
10114
10117
|
var r = this.config.maxHeight;
|
|
@@ -10188,7 +10191,7 @@ var Aa = /* @__PURE__ */ function(o) {
|
|
|
10188
10191
|
CLICK: "click",
|
|
10189
10192
|
HOVER: "hover"
|
|
10190
10193
|
};
|
|
10191
|
-
function
|
|
10194
|
+
function Da(o, a) {
|
|
10192
10195
|
return o === ye.SIDE ? a === X.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
|
|
10193
10196
|
}
|
|
10194
10197
|
var Me = B.device === "mobile", St = /* @__PURE__ */ function(o) {
|
|
@@ -10227,7 +10230,7 @@ var Me = B.device === "mobile", St = /* @__PURE__ */ function(o) {
|
|
|
10227
10230
|
e._resizeList();
|
|
10228
10231
|
}), this.once(be, function() {
|
|
10229
10232
|
i.list && i.list.length > 0 && (e.renderItemList(i.list), e.show());
|
|
10230
|
-
}), Me && this.on(
|
|
10233
|
+
}), Me && this.on(li, function() {
|
|
10231
10234
|
e.isActive && (e.optionsList && e.optionsList.hide(), e.isActive = !1);
|
|
10232
10235
|
}), Me ? (i.toggleMode = Ye.CLICK, this.activeEvent = "touchend") : this.activeEvent = i.toggleMode === Ye.CLICK ? "click" : "mouseenter", i.toggleMode === Ye.CLICK ? this.bind(this.activeEvent, this.switchActiveState) : (this.bind(this.activeEvent, this.onEnter), this.bind("mouseleave", this.onLeave)), this.isIcons && this.bind("click", this.onIconClick);
|
|
10233
10236
|
}
|
|
@@ -10302,7 +10305,7 @@ var Me = B.device === "mobile", St = /* @__PURE__ */ function(o) {
|
|
|
10302
10305
|
var c = {
|
|
10303
10306
|
config: {
|
|
10304
10307
|
data: e || [],
|
|
10305
|
-
className:
|
|
10308
|
+
className: Da(s.listType, s.position),
|
|
10306
10309
|
onItemClick: function(m, _) {
|
|
10307
10310
|
n.onItemClick(m, _);
|
|
10308
10311
|
},
|
|
@@ -10312,7 +10315,7 @@ var Me = B.device === "mobile", St = /* @__PURE__ */ function(o) {
|
|
|
10312
10315
|
};
|
|
10313
10316
|
if (this.config.isShowIcon) {
|
|
10314
10317
|
var h = this.player.root.getBoundingClientRect(), d = h.height, g = s.listType === ye.MIDDLE ? d - 50 : d;
|
|
10315
|
-
g && s.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new
|
|
10318
|
+
g && s.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new Pa(c), this.changeCurrentText(), this.show();
|
|
10316
10319
|
}
|
|
10317
10320
|
this._resizeList();
|
|
10318
10321
|
}
|
|
@@ -10363,7 +10366,7 @@ var Me = B.device === "mobile", St = /* @__PURE__ */ function(o) {
|
|
|
10363
10366
|
};
|
|
10364
10367
|
}
|
|
10365
10368
|
}]), r;
|
|
10366
|
-
}($),
|
|
10369
|
+
}($), La = /* @__PURE__ */ function(o) {
|
|
10367
10370
|
L(r, o);
|
|
10368
10371
|
var a = R(r);
|
|
10369
10372
|
function r(t) {
|
|
@@ -10384,7 +10387,7 @@ var Me = B.device === "mobile", St = /* @__PURE__ */ function(o) {
|
|
|
10384
10387
|
var e = this;
|
|
10385
10388
|
F(O(r.prototype), "afterCreate", this).call(this), this.on("resourceReady", function(i) {
|
|
10386
10389
|
e.changeDefinitionList(i);
|
|
10387
|
-
}), this.on(
|
|
10390
|
+
}), this.on(hi, function(i) {
|
|
10388
10391
|
e.renderItemList(e.config.list, i.to);
|
|
10389
10392
|
}), this.player.definitionList.length < 2 && this.hide();
|
|
10390
10393
|
}
|
|
@@ -10464,7 +10467,7 @@ var Me = B.device === "mobile", St = /* @__PURE__ */ function(o) {
|
|
|
10464
10467
|
});
|
|
10465
10468
|
}
|
|
10466
10469
|
}]), r;
|
|
10467
|
-
}(St),
|
|
10470
|
+
}(St), Ra = /* @__PURE__ */ function(o) {
|
|
10468
10471
|
L(r, o);
|
|
10469
10472
|
var a = R(r);
|
|
10470
10473
|
function r(t) {
|
|
@@ -10486,7 +10489,7 @@ var Me = B.device === "mobile", St = /* @__PURE__ */ function(o) {
|
|
|
10486
10489
|
key: "afterCreate",
|
|
10487
10490
|
value: function() {
|
|
10488
10491
|
var e = this;
|
|
10489
|
-
F(O(r.prototype), "afterCreate", this).call(this), this.on(
|
|
10492
|
+
F(O(r.prototype), "afterCreate", this).call(this), this.on(cn, function() {
|
|
10490
10493
|
e.curValue !== e.player.playbackRate && e.renderItemList();
|
|
10491
10494
|
}), this.renderItemList();
|
|
10492
10495
|
}
|
|
@@ -10557,19 +10560,19 @@ var Me = B.device === "mobile", St = /* @__PURE__ */ function(o) {
|
|
|
10557
10560
|
}
|
|
10558
10561
|
}]), r;
|
|
10559
10562
|
}(St);
|
|
10560
|
-
function
|
|
10563
|
+
function Oa() {
|
|
10561
10564
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
10562
10565
|
<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>
|
|
10563
10566
|
</svg>
|
|
10564
10567
|
`, "image/svg+xml").firstChild;
|
|
10565
10568
|
}
|
|
10566
|
-
function
|
|
10569
|
+
function Fa() {
|
|
10567
10570
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
10568
10571
|
<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>
|
|
10569
10572
|
</svg>
|
|
10570
10573
|
`, "image/svg+xml").firstChild;
|
|
10571
10574
|
}
|
|
10572
|
-
var
|
|
10575
|
+
var qi = /* @__PURE__ */ function(o) {
|
|
10573
10576
|
L(r, o);
|
|
10574
10577
|
var a = R(r);
|
|
10575
10578
|
function r() {
|
|
@@ -10623,11 +10626,11 @@ var Xi = /* @__PURE__ */ function(o) {
|
|
|
10623
10626
|
value: function() {
|
|
10624
10627
|
return {
|
|
10625
10628
|
cssFullscreen: {
|
|
10626
|
-
icon:
|
|
10629
|
+
icon: Oa,
|
|
10627
10630
|
class: "xg-get-cssfull"
|
|
10628
10631
|
},
|
|
10629
10632
|
exitCssFullscreen: {
|
|
10630
|
-
icon:
|
|
10633
|
+
icon: Fa,
|
|
10631
10634
|
class: "xg-exit-cssfull"
|
|
10632
10635
|
}
|
|
10633
10636
|
};
|
|
@@ -10663,7 +10666,7 @@ var Xi = /* @__PURE__ */ function(o) {
|
|
|
10663
10666
|
};
|
|
10664
10667
|
}
|
|
10665
10668
|
}]), r;
|
|
10666
|
-
}(We),
|
|
10669
|
+
}(We), Ma = /* @__PURE__ */ function(o) {
|
|
10667
10670
|
L(r, o);
|
|
10668
10671
|
var a = R(r);
|
|
10669
10672
|
function r() {
|
|
@@ -10724,7 +10727,7 @@ var Xi = /* @__PURE__ */ function(o) {
|
|
|
10724
10727
|
return "error";
|
|
10725
10728
|
}
|
|
10726
10729
|
}]), r;
|
|
10727
|
-
}($),
|
|
10730
|
+
}($), Na = /* @__PURE__ */ function(o) {
|
|
10728
10731
|
L(r, o);
|
|
10729
10732
|
var a = R(r);
|
|
10730
10733
|
function r() {
|
|
@@ -10802,7 +10805,7 @@ var Xi = /* @__PURE__ */ function(o) {
|
|
|
10802
10805
|
};
|
|
10803
10806
|
}
|
|
10804
10807
|
}]), r;
|
|
10805
|
-
}($),
|
|
10808
|
+
}($), Zi = {
|
|
10806
10809
|
time: 0,
|
|
10807
10810
|
text: "",
|
|
10808
10811
|
id: 1,
|
|
@@ -10812,12 +10815,12 @@ var Xi = /* @__PURE__ */ function(o) {
|
|
|
10812
10815
|
width: 6,
|
|
10813
10816
|
height: 6
|
|
10814
10817
|
};
|
|
10815
|
-
function
|
|
10816
|
-
Object.keys(
|
|
10817
|
-
o[a] === void 0 && (o[a] =
|
|
10818
|
+
function Ln(o) {
|
|
10819
|
+
Object.keys(Zi).map(function(a) {
|
|
10820
|
+
o[a] === void 0 && (o[a] = Zi[a]);
|
|
10818
10821
|
});
|
|
10819
10822
|
}
|
|
10820
|
-
var
|
|
10823
|
+
var Ji = {
|
|
10821
10824
|
_updateDotDom: function(a, r) {
|
|
10822
10825
|
if (r) {
|
|
10823
10826
|
var t = this.calcuPosition(a.time, a.duration), e = a.style || {};
|
|
@@ -10834,7 +10837,7 @@ var Zi = {
|
|
|
10834
10837
|
},
|
|
10835
10838
|
createDot: function(a) {
|
|
10836
10839
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, t = this.player.plugins.progress;
|
|
10837
|
-
if (t && (r && (
|
|
10840
|
+
if (t && (r && (Ln(a), this._ispots.push(a)), !(!this.ispotsInit && r))) {
|
|
10838
10841
|
var e = this.calcuPosition(a.time, a.duration), i = a.style || {};
|
|
10839
10842
|
i.left = "".concat(e.left, "%"), i.width = "".concat(e.width, "%");
|
|
10840
10843
|
var n = "xgspot_".concat(a.id, " xgplayer-spot");
|
|
@@ -10954,14 +10957,14 @@ var Zi = {
|
|
|
10954
10957
|
return r.find('xg-spot[data-id="'.concat(a, '"]'));
|
|
10955
10958
|
}
|
|
10956
10959
|
};
|
|
10957
|
-
function
|
|
10960
|
+
function Ba(o) {
|
|
10958
10961
|
var a = o.config, r = o.player;
|
|
10959
|
-
Object.keys(
|
|
10960
|
-
o[e] =
|
|
10962
|
+
Object.keys(Ji).map(function(e) {
|
|
10963
|
+
o[e] = Ji[e].bind(o);
|
|
10961
10964
|
});
|
|
10962
10965
|
var t = r.config.progressDot || a.ispots || [];
|
|
10963
10966
|
o._ispots = t.map(function(e) {
|
|
10964
|
-
return
|
|
10967
|
+
return Ln(e), e;
|
|
10965
10968
|
}), o.ispotsInit = !1, o.playerSize = {
|
|
10966
10969
|
left: r.sizeInfo.left,
|
|
10967
10970
|
width: r.sizeInfo.width
|
|
@@ -10978,7 +10981,7 @@ var Xe = {
|
|
|
10978
10981
|
click: "onProgressClick",
|
|
10979
10982
|
mouseover: "onProgressMouseOver",
|
|
10980
10983
|
mouseenter: "onProgressMouseOver"
|
|
10981
|
-
},
|
|
10984
|
+
}, Ha = /* @__PURE__ */ function(o) {
|
|
10982
10985
|
L(r, o);
|
|
10983
10986
|
var a = R(r);
|
|
10984
10987
|
function r(t) {
|
|
@@ -11029,7 +11032,7 @@ var Xe = {
|
|
|
11029
11032
|
n.seekTime && e.player.seek(n.seekTime);
|
|
11030
11033
|
}), this.transformTimeHook = this.hook("transformTime", function(i) {
|
|
11031
11034
|
e.setTimeContent(f.format(i));
|
|
11032
|
-
}),
|
|
11035
|
+
}), Ba(this), this.on(Re, function() {
|
|
11033
11036
|
e.show();
|
|
11034
11037
|
}), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
|
|
11035
11038
|
}
|
|
@@ -11253,7 +11256,7 @@ var Xe = {
|
|
|
11253
11256
|
};
|
|
11254
11257
|
}
|
|
11255
11258
|
}]), r;
|
|
11256
|
-
}($),
|
|
11259
|
+
}($), Ua = /* @__PURE__ */ function(o) {
|
|
11257
11260
|
L(r, o);
|
|
11258
11261
|
var a = R(r);
|
|
11259
11262
|
function r(t) {
|
|
@@ -11388,10 +11391,10 @@ var Xe = {
|
|
|
11388
11391
|
}
|
|
11389
11392
|
}]), r;
|
|
11390
11393
|
}($);
|
|
11391
|
-
function
|
|
11394
|
+
function Yt(o) {
|
|
11392
11395
|
return o ? "background:".concat(o, ";") : "";
|
|
11393
11396
|
}
|
|
11394
|
-
var
|
|
11397
|
+
var za = /* @__PURE__ */ function(o) {
|
|
11395
11398
|
L(r, o);
|
|
11396
11399
|
var a = R(r);
|
|
11397
11400
|
function r() {
|
|
@@ -11448,9 +11451,9 @@ var Ua = /* @__PURE__ */ function(o) {
|
|
|
11448
11451
|
var e = this.playerConfig, i = e.commonStyle, n = e.miniprogress;
|
|
11449
11452
|
if (n) {
|
|
11450
11453
|
var s = this.config, l = s.mode, u = s.height, c = {
|
|
11451
|
-
cached:
|
|
11452
|
-
played:
|
|
11453
|
-
progress:
|
|
11454
|
+
cached: Yt(i.cachedColor),
|
|
11455
|
+
played: Yt(i.playedColor),
|
|
11456
|
+
progress: Yt(i.progressColor),
|
|
11454
11457
|
height: u > 0 && u !== 2 ? "height: ".concat(u, "px;") : ""
|
|
11455
11458
|
}, h = l === "show" ? "xg-mini-progress-show" : "";
|
|
11456
11459
|
return '<xg-mini-progress class="xg-mini-progress '.concat(h, '" style="').concat(c.progress, " ").concat(c.height, `">
|
|
@@ -11479,14 +11482,14 @@ var Ua = /* @__PURE__ */ function(o) {
|
|
|
11479
11482
|
FRAME_RATE: "framerate",
|
|
11480
11483
|
POSTER: "poster"
|
|
11481
11484
|
};
|
|
11482
|
-
function
|
|
11485
|
+
function Va() {
|
|
11483
11486
|
try {
|
|
11484
11487
|
return parseInt(window.performance.now(), 10);
|
|
11485
11488
|
} catch {
|
|
11486
11489
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
11487
11490
|
}
|
|
11488
11491
|
}
|
|
11489
|
-
function
|
|
11492
|
+
function ja() {
|
|
11490
11493
|
try {
|
|
11491
11494
|
var o = document.createElement("canvas").getContext;
|
|
11492
11495
|
return !!o;
|
|
@@ -11494,7 +11497,7 @@ function Va() {
|
|
|
11494
11497
|
return !1;
|
|
11495
11498
|
}
|
|
11496
11499
|
}
|
|
11497
|
-
var dt = null,
|
|
11500
|
+
var dt = null, Wa = /* @__PURE__ */ function(o) {
|
|
11498
11501
|
L(r, o);
|
|
11499
11502
|
var a = R(r);
|
|
11500
11503
|
function r() {
|
|
@@ -11515,7 +11518,7 @@ var dt = null, ja = /* @__PURE__ */ function(o) {
|
|
|
11515
11518
|
!t.player.paused && t._checkIfCanStart() && t.start(0, l);
|
|
11516
11519
|
}
|
|
11517
11520
|
}), y(v(t), "start", function(s, l) {
|
|
11518
|
-
var u = t.player.video, c =
|
|
11521
|
+
var u = t.player.video, c = Va(), h = t.checkVideoIsSupport(u);
|
|
11519
11522
|
!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 === qe.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));
|
|
11520
11523
|
}), y(v(t), "stop", function() {
|
|
11521
11524
|
t.frameId && (t._loopType === "timer" ? f.clearTimeout(v(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
|
|
@@ -11542,9 +11545,9 @@ var dt = null, ja = /* @__PURE__ */ function(o) {
|
|
|
11542
11545
|
}), this.on(de, function() {
|
|
11543
11546
|
var u = e.config.startInterval;
|
|
11544
11547
|
e._checkIfCanStart() && e.start(0, u);
|
|
11545
|
-
}), this.on(
|
|
11548
|
+
}), this.on(et, function() {
|
|
11546
11549
|
e.stop();
|
|
11547
|
-
})), this.on(Ee, this.onLoadedData), this.on(
|
|
11550
|
+
})), this.on(Ee, this.onLoadedData), this.on(ai, function() {
|
|
11548
11551
|
e._isLoaded = !1, e.stop();
|
|
11549
11552
|
}), document.addEventListener("visibilitychange", this.onVisibilitychange)));
|
|
11550
11553
|
}
|
|
@@ -11688,7 +11691,7 @@ var dt = null, ja = /* @__PURE__ */ function(o) {
|
|
|
11688
11691
|
}, {
|
|
11689
11692
|
key: "isSupport",
|
|
11690
11693
|
get: function() {
|
|
11691
|
-
return typeof dt == "boolean" || (dt =
|
|
11694
|
+
return typeof dt == "boolean" || (dt = ja()), dt;
|
|
11692
11695
|
}
|
|
11693
11696
|
}, {
|
|
11694
11697
|
key: "supportCanvasFilter",
|
|
@@ -11696,7 +11699,7 @@ var dt = null, ja = /* @__PURE__ */ function(o) {
|
|
|
11696
11699
|
return !(B.browser === "safari" || B.browser === "firefox");
|
|
11697
11700
|
}
|
|
11698
11701
|
}]), r;
|
|
11699
|
-
}($),
|
|
11702
|
+
}($), Ga = {
|
|
11700
11703
|
LANG: "zh-cn",
|
|
11701
11704
|
TEXT: {
|
|
11702
11705
|
ERROR_TYPES: {
|
|
@@ -11771,7 +11774,7 @@ var dt = null, ja = /* @__PURE__ */ function(o) {
|
|
|
11771
11774
|
FORWARD: "快进中",
|
|
11772
11775
|
LIVE_TIP: "直播"
|
|
11773
11776
|
}
|
|
11774
|
-
}, nt = "info",
|
|
11777
|
+
}, nt = "info", Xt = Tn, $a = /* @__PURE__ */ function(o) {
|
|
11775
11778
|
L(r, o);
|
|
11776
11779
|
var a = R(r);
|
|
11777
11780
|
function r() {
|
|
@@ -11810,7 +11813,7 @@ var dt = null, ja = /* @__PURE__ */ function(o) {
|
|
|
11810
11813
|
}, {
|
|
11811
11814
|
key: "afterCreate",
|
|
11812
11815
|
value: function() {
|
|
11813
|
-
this.reset(), this.on(wt, this._recordUserActions), this.on(
|
|
11816
|
+
this.reset(), this.on(wt, this._recordUserActions), this.on(Xt.STATS_INFO, this._recordInfo), this.on(Xt.STATS_DOWNLOAD, this._downloadStats), this.on(Xt.STATS_RESET, this._onReset);
|
|
11814
11817
|
}
|
|
11815
11818
|
}, {
|
|
11816
11819
|
key: "destroy",
|
|
@@ -11915,7 +11918,7 @@ var dt = null, ja = /* @__PURE__ */ function(o) {
|
|
|
11915
11918
|
return {};
|
|
11916
11919
|
}
|
|
11917
11920
|
}]), r;
|
|
11918
|
-
}(Le),
|
|
11921
|
+
}(Le), Rn = /* @__PURE__ */ function(o) {
|
|
11919
11922
|
L(r, o);
|
|
11920
11923
|
var a = R(r);
|
|
11921
11924
|
function r() {
|
|
@@ -12004,8 +12007,8 @@ var dt = null, ja = /* @__PURE__ */ function(o) {
|
|
|
12004
12007
|
}
|
|
12005
12008
|
}]), r;
|
|
12006
12009
|
}($);
|
|
12007
|
-
|
|
12008
|
-
var
|
|
12010
|
+
Rn.BROWSER_GAP_TOLERANCE = 1e-3;
|
|
12011
|
+
var Ka = /* @__PURE__ */ function(o) {
|
|
12009
12012
|
L(r, o);
|
|
12010
12013
|
var a = R(r);
|
|
12011
12014
|
function r() {
|
|
@@ -12029,7 +12032,7 @@ var $a = /* @__PURE__ */ function(o) {
|
|
|
12029
12032
|
key: "afterCreate",
|
|
12030
12033
|
value: function() {
|
|
12031
12034
|
var e = this, i = this.config, n = i.useWaitingTimeoutJump, s = i.jumpSize;
|
|
12032
|
-
n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(ut, this.onWaiting), this.on([
|
|
12035
|
+
n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(ut, this.onWaiting), this.on([oi, be], function() {
|
|
12033
12036
|
clearTimeout(e.timer), e.timer = null, e.jumpSize = e.config.jumpSize;
|
|
12034
12037
|
}), this.on(de, function() {
|
|
12035
12038
|
e.hasPlayed = !0;
|
|
@@ -12051,7 +12054,7 @@ var $a = /* @__PURE__ */ function(o) {
|
|
|
12051
12054
|
};
|
|
12052
12055
|
}
|
|
12053
12056
|
}]), r;
|
|
12054
|
-
}($), Ze = "cdn", gt = ["cdn"],
|
|
12057
|
+
}($), Ze = "cdn", gt = ["cdn"], Ya = /* @__PURE__ */ function(o) {
|
|
12055
12058
|
L(r, o);
|
|
12056
12059
|
var a = R(r);
|
|
12057
12060
|
function r() {
|
|
@@ -12110,13 +12113,13 @@ var $a = /* @__PURE__ */ function(o) {
|
|
|
12110
12113
|
var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ze, l = t.getSpeed(s), u = v(t), c = u.player;
|
|
12111
12114
|
if (c)
|
|
12112
12115
|
if (s === Ze)
|
|
12113
|
-
(!c.avgSpeed || l !== c.avgSpeed) && (c.avgSpeed = l, c.emit(
|
|
12116
|
+
(!c.avgSpeed || l !== c.avgSpeed) && (c.avgSpeed = l, c.emit(ei, {
|
|
12114
12117
|
speed: l,
|
|
12115
12118
|
realTimeSpeed: c.realTimeSpeed
|
|
12116
12119
|
}));
|
|
12117
12120
|
else {
|
|
12118
12121
|
var h = t.getSpeedName("avg", s);
|
|
12119
|
-
(!c[h] || l !== c[h]) && (c[h] = l, c.emit(
|
|
12122
|
+
(!c[h] || l !== c[h]) && (c[h] = l, c.emit(ei, {
|
|
12120
12123
|
speed: l,
|
|
12121
12124
|
realTimeSpeed: c.realTimeSpeed
|
|
12122
12125
|
}));
|
|
@@ -12177,7 +12180,7 @@ var $a = /* @__PURE__ */ function(o) {
|
|
|
12177
12180
|
};
|
|
12178
12181
|
}
|
|
12179
12182
|
}]), r;
|
|
12180
|
-
}($),
|
|
12183
|
+
}($), Xa = /* @__PURE__ */ function(o) {
|
|
12181
12184
|
L(r, o);
|
|
12182
12185
|
var a = R(r);
|
|
12183
12186
|
function r() {
|
|
@@ -12191,7 +12194,7 @@ var $a = /* @__PURE__ */ function(o) {
|
|
|
12191
12194
|
var l = s.getVideoPlaybackQuality;
|
|
12192
12195
|
l && (this.on(de, function() {
|
|
12193
12196
|
e._startTick();
|
|
12194
|
-
}), this.on(
|
|
12197
|
+
}), this.on(et, function() {
|
|
12195
12198
|
e._stopTick();
|
|
12196
12199
|
}), this.on(Ve, function() {
|
|
12197
12200
|
e._stopTick();
|
|
@@ -12244,7 +12247,7 @@ var $a = /* @__PURE__ */ function(o) {
|
|
|
12244
12247
|
totalVideoFrames: i,
|
|
12245
12248
|
droppedVideoFrames: n,
|
|
12246
12249
|
checkInterval: s
|
|
12247
|
-
}), this._currentStuckCount >= this.config.stuckCount && (this.emit(
|
|
12250
|
+
}), this._currentStuckCount >= this.config.stuckCount && (this.emit(En, this._payload), this._reset())) : this._reset());
|
|
12248
12251
|
}
|
|
12249
12252
|
}
|
|
12250
12253
|
}, {
|
|
@@ -12287,24 +12290,24 @@ var $a = /* @__PURE__ */ function(o) {
|
|
|
12287
12290
|
}
|
|
12288
12291
|
}]), r;
|
|
12289
12292
|
}($);
|
|
12290
|
-
|
|
12291
|
-
var
|
|
12293
|
+
Je.use(Ga);
|
|
12294
|
+
var qa = /* @__PURE__ */ P(function o(a, r) {
|
|
12292
12295
|
var t, e, i;
|
|
12293
12296
|
I(this, o);
|
|
12294
|
-
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [
|
|
12295
|
-
this.plugins = [
|
|
12297
|
+
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [da, sa, za, Ha, ha], u = [].concat(l, [oa, fa, _a, Ta, La, Ra, xa, Ia, ma, wa]), c = [Ho, Uo, Vo, ia, jo, Ma, Na, Ua, Ko];
|
|
12298
|
+
this.plugins = [$a, No].concat(ve(u), c, [Rn, Ka]);
|
|
12296
12299
|
var h = n ? "mobile" : B.device;
|
|
12297
12300
|
switch (h) {
|
|
12298
12301
|
case "pc":
|
|
12299
|
-
(t = this.plugins).push.apply(t, [
|
|
12302
|
+
(t = this.plugins).push.apply(t, [Yi, $t, qi, Ya, Xa]);
|
|
12300
12303
|
break;
|
|
12301
12304
|
case "mobile":
|
|
12302
|
-
(e = this.plugins).push.apply(e, [
|
|
12305
|
+
(e = this.plugins).push.apply(e, [Qo]);
|
|
12303
12306
|
break;
|
|
12304
12307
|
default:
|
|
12305
|
-
(i = this.plugins).push.apply(i, [
|
|
12308
|
+
(i = this.plugins).push.apply(i, [Yi, $t, qi]);
|
|
12306
12309
|
}
|
|
12307
|
-
(B.os.isIpad || h === "pc") && this.plugins.push(
|
|
12310
|
+
(B.os.isIpad || h === "pc") && this.plugins.push(Wa), B.os.isIpad && this.plugins.push($t), this.ignores = [], this.i18n = [];
|
|
12308
12311
|
}), me = /* @__PURE__ */ function(o) {
|
|
12309
12312
|
L(r, o);
|
|
12310
12313
|
var a = R(r);
|
|
@@ -12313,20 +12316,20 @@ var Xa = /* @__PURE__ */ P(function o(a, r) {
|
|
|
12313
12316
|
}
|
|
12314
12317
|
return P(r);
|
|
12315
12318
|
}(Lt);
|
|
12316
|
-
y(me, "defaultPreset",
|
|
12319
|
+
y(me, "defaultPreset", qa);
|
|
12317
12320
|
y(me, "Util", f);
|
|
12318
12321
|
y(me, "Sniffer", B);
|
|
12319
12322
|
y(me, "Errors", mt);
|
|
12320
|
-
y(me, "Events",
|
|
12323
|
+
y(me, "Events", co);
|
|
12321
12324
|
y(me, "Plugin", $);
|
|
12322
12325
|
y(me, "BasePlugin", Le);
|
|
12323
|
-
y(me, "I18N",
|
|
12326
|
+
y(me, "I18N", Je);
|
|
12324
12327
|
y(me, "STATE_CLASS", k);
|
|
12325
|
-
y(me, "InstManager",
|
|
12326
|
-
const
|
|
12328
|
+
y(me, "InstManager", In);
|
|
12329
|
+
const Za = ["id"], Ja = /* @__PURE__ */ ne({
|
|
12327
12330
|
name: "ElImageViewer",
|
|
12328
12331
|
__name: "Player",
|
|
12329
|
-
props: /* @__PURE__ */
|
|
12332
|
+
props: /* @__PURE__ */ Qe({
|
|
12330
12333
|
url: {
|
|
12331
12334
|
type: String,
|
|
12332
12335
|
default: ""
|
|
@@ -12347,12 +12350,12 @@ const qa = ["id"], Za = /* @__PURE__ */ ne({
|
|
|
12347
12350
|
},
|
|
12348
12351
|
modelModifiers: {}
|
|
12349
12352
|
}),
|
|
12350
|
-
emits: /* @__PURE__ */
|
|
12353
|
+
emits: /* @__PURE__ */ Qe({
|
|
12351
12354
|
close: () => !0
|
|
12352
12355
|
}, ["update:modelValue"]),
|
|
12353
12356
|
setup(o, { emit: a }) {
|
|
12354
12357
|
let r = null;
|
|
12355
|
-
const t = o, { cLoadUrl: e } =
|
|
12358
|
+
const t = o, { cLoadUrl: e } = nn(t), i = ue(() => vt(e.value, t.url)), n = {
|
|
12356
12359
|
width: "100%",
|
|
12357
12360
|
height: "100%",
|
|
12358
12361
|
// 是否自动播放
|
|
@@ -12373,11 +12376,11 @@ const qa = ["id"], Za = /* @__PURE__ */ ne({
|
|
|
12373
12376
|
}, s = ue(() => ({
|
|
12374
12377
|
...n,
|
|
12375
12378
|
...t.config
|
|
12376
|
-
})), l = a, u = At(o, "modelValue"), c =
|
|
12379
|
+
})), l = a, u = At(o, "modelValue"), c = tn(), h = jn("image-viewer");
|
|
12377
12380
|
function d() {
|
|
12378
12381
|
l("close"), u.value = !1, r.destroy();
|
|
12379
12382
|
}
|
|
12380
|
-
return
|
|
12383
|
+
return Qi(() => u.value, (g) => {
|
|
12381
12384
|
g && pt(() => {
|
|
12382
12385
|
r = new me({
|
|
12383
12386
|
id: c,
|
|
@@ -12387,11 +12390,11 @@ const qa = ["id"], Za = /* @__PURE__ */ ne({
|
|
|
12387
12390
|
});
|
|
12388
12391
|
}), (g, p) => {
|
|
12389
12392
|
const m = st("el-icon");
|
|
12390
|
-
return u.value ? (E(), ee(
|
|
12393
|
+
return u.value ? (E(), ee(Mn, {
|
|
12391
12394
|
key: 0,
|
|
12392
12395
|
to: "body"
|
|
12393
12396
|
}, [
|
|
12394
|
-
K(
|
|
12397
|
+
K(Nn, {
|
|
12395
12398
|
name: "viewer-fade",
|
|
12396
12399
|
appear: ""
|
|
12397
12400
|
}, {
|
|
@@ -12421,7 +12424,7 @@ const qa = ["id"], Za = /* @__PURE__ */ ne({
|
|
|
12421
12424
|
class: pe(T(h).e("canvas"))
|
|
12422
12425
|
},
|
|
12423
12426
|
[
|
|
12424
|
-
A("div", { id: T(c) }, null, 8,
|
|
12427
|
+
A("div", { id: T(c) }, null, 8, Za),
|
|
12425
12428
|
Z(" CLOSE "),
|
|
12426
12429
|
A(
|
|
12427
12430
|
"span",
|
|
@@ -12432,7 +12435,7 @@ const qa = ["id"], Za = /* @__PURE__ */ ne({
|
|
|
12432
12435
|
[
|
|
12433
12436
|
K(m, { onClick: d }, {
|
|
12434
12437
|
default: q(() => [
|
|
12435
|
-
K(T(
|
|
12438
|
+
K(T(Xn))
|
|
12436
12439
|
]),
|
|
12437
12440
|
_: 1
|
|
12438
12441
|
/* STABLE */
|
|
@@ -12458,24 +12461,24 @@ const qa = ["id"], Za = /* @__PURE__ */ ne({
|
|
|
12458
12461
|
};
|
|
12459
12462
|
}
|
|
12460
12463
|
});
|
|
12461
|
-
const
|
|
12464
|
+
const Qa = /* @__PURE__ */ at(Ja, [["__scopeId", "data-v-b301aa7d"]]), el = ze(Qa), tl = (o) => (zn("data-v-8973743d"), o = o(), Vn(), o), il = { class: "ik-flie-list" }, nl = { class: "name" }, rl = { key: 1 }, sl = ["src"], ol = { class: "file-icon" }, al = { class: "file-name-loading" }, ll = { class: "file-name" }, ul = { key: 0 }, cl = {
|
|
12462
12465
|
key: 0,
|
|
12463
12466
|
class: "file-size"
|
|
12464
|
-
},
|
|
12467
|
+
}, fl = { class: "name" }, hl = { class: "file-name-loading" }, dl = { class: "file-name" }, gl = { class: "file-size" }, pl = { class: "operate-btn" }, vl = { class: "card" }, ml = { class: "title" }, yl = /* @__PURE__ */ tl(() => /* @__PURE__ */ A(
|
|
12465
12468
|
"img",
|
|
12466
12469
|
{
|
|
12467
|
-
src:
|
|
12470
|
+
src: Kn,
|
|
12468
12471
|
class: "w-[48px] h-[48px]"
|
|
12469
12472
|
},
|
|
12470
12473
|
null,
|
|
12471
12474
|
-1
|
|
12472
12475
|
/* HOISTED */
|
|
12473
|
-
)),
|
|
12476
|
+
)), _l = { class: "ik-flie-list" }, kl = { class: "name" }, Cl = { key: 1 }, wl = ["src"], bl = { class: "file-icon" }, Tl = { class: "file-name-loading" }, El = { class: "file-name" }, Sl = { key: 0 }, Al = {
|
|
12474
12477
|
key: 0,
|
|
12475
12478
|
class: "file-size"
|
|
12476
|
-
},
|
|
12479
|
+
}, xl = { key: 0 }, Il = /* @__PURE__ */ ne({
|
|
12477
12480
|
__name: "index",
|
|
12478
|
-
props: /* @__PURE__ */
|
|
12481
|
+
props: /* @__PURE__ */ Qe({
|
|
12479
12482
|
// 显示图标
|
|
12480
12483
|
showIcon: {
|
|
12481
12484
|
type: Boolean,
|
|
@@ -12615,7 +12618,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12615
12618
|
},
|
|
12616
12619
|
modelModifiers: {}
|
|
12617
12620
|
}),
|
|
12618
|
-
emits: /* @__PURE__ */
|
|
12621
|
+
emits: /* @__PURE__ */ Qe(["delete", "exceed", "success", "error", "outSize"], ["update:modelValue"]),
|
|
12619
12622
|
setup(o, { emit: a }) {
|
|
12620
12623
|
const r = o, t = a, e = At(o, "modelValue"), n = {
|
|
12621
12624
|
...{
|
|
@@ -12625,9 +12628,9 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12625
12628
|
size: "size"
|
|
12626
12629
|
},
|
|
12627
12630
|
...r.defaultFileds
|
|
12628
|
-
}, { cLoadUrl: s, cUploadUrl: l, cOnlyofficeConfig: u } =
|
|
12631
|
+
}, { cLoadUrl: s, cUploadUrl: l, cOnlyofficeConfig: u } = nn(r), c = ue(() => r.size), h = Pe(null), d = Pe([]), g = Pe({}), p = Pe(!1), m = (x) => {
|
|
12629
12632
|
const N = x.size / 1024 / 1024;
|
|
12630
|
-
return N < c.value ? !0 : (t("outSize"),
|
|
12633
|
+
return N < c.value ? !0 : (t("outSize"), Ot({
|
|
12631
12634
|
message: `上传文件大小(${N.toFixed(4)}MB)超出允许最大值(${r.size}MB),请重新选择`,
|
|
12632
12635
|
type: "warning",
|
|
12633
12636
|
showClose: !0,
|
|
@@ -12637,7 +12640,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12637
12640
|
var Y;
|
|
12638
12641
|
x.size / 1024 / 1024 < c.value || pt(() => {
|
|
12639
12642
|
e.value.pop();
|
|
12640
|
-
}), r.accept !== "*" && !r.accept.split(",").includes((Y = x == null ? void 0 : x.raw) == null ? void 0 : Y.type) && !r.accept.split(",").includes(`.${x.name.split(".").pop()}`) && (
|
|
12643
|
+
}), r.accept !== "*" && !r.accept.split(",").includes((Y = x == null ? void 0 : x.raw) == null ? void 0 : Y.type) && !r.accept.split(",").includes(`.${x.name.split(".").pop()}`) && (Ot({
|
|
12641
12644
|
message: `不允许的上传文件格式(${x.name}),请重新选择`,
|
|
12642
12645
|
type: "warning",
|
|
12643
12646
|
showClose: !0,
|
|
@@ -12649,12 +12652,12 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12649
12652
|
var G, S;
|
|
12650
12653
|
x.status = "ready", N !== void 0 && d.value.splice(N, 1), (G = h.value) == null || G.handleStart(x.raw), (S = h.value) == null || S.submit();
|
|
12651
12654
|
}, w = (x, N) => {
|
|
12652
|
-
var
|
|
12655
|
+
var tt, ct;
|
|
12653
12656
|
const G = e.value.length, S = r.limit - G;
|
|
12654
12657
|
let Y = 0;
|
|
12655
12658
|
for (; Y < S && Y < x.length; )
|
|
12656
|
-
(
|
|
12657
|
-
|
|
12659
|
+
(tt = h.value) == null || tt.handleStart(x[Y]), (ct = h.value) == null || ct.submit(), Y++;
|
|
12660
|
+
Ot({
|
|
12658
12661
|
message: (r == null ? void 0 : r.limitText) || `最大可上传${r.limit}个文件,已忽略超出文件`,
|
|
12659
12662
|
type: "warning",
|
|
12660
12663
|
showClose: !0,
|
|
@@ -12675,7 +12678,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12675
12678
|
)
|
|
12676
12679
|
}, p.value = !0;
|
|
12677
12680
|
}, M = (x) => {
|
|
12678
|
-
|
|
12681
|
+
$n.downloadByOnlineUrl(
|
|
12679
12682
|
x[n.url],
|
|
12680
12683
|
x[n.name]
|
|
12681
12684
|
);
|
|
@@ -12704,7 +12707,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12704
12707
|
Ne,
|
|
12705
12708
|
{ key: 0 },
|
|
12706
12709
|
[
|
|
12707
|
-
o.type === "button" ? (E(), ee(T(
|
|
12710
|
+
o.type === "button" ? (E(), ee(T(mi), qt({
|
|
12708
12711
|
key: 0,
|
|
12709
12712
|
class: "ik-file-upload"
|
|
12710
12713
|
}, x.$attrs, {
|
|
@@ -12725,10 +12728,10 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12725
12728
|
"on-error": H
|
|
12726
12729
|
}), {
|
|
12727
12730
|
trigger: q(() => [
|
|
12728
|
-
x.$slots.trigger ? we(x.$slots, "trigger", { key: 0 }, void 0, !0) : (E(), ee(T(
|
|
12731
|
+
x.$slots.trigger ? we(x.$slots, "trigger", { key: 0 }, void 0, !0) : (E(), ee(T(Wn), {
|
|
12729
12732
|
key: 1,
|
|
12730
12733
|
disabled: ie.value
|
|
12731
|
-
},
|
|
12734
|
+
}, en({
|
|
12732
12735
|
default: q(() => [
|
|
12733
12736
|
He(
|
|
12734
12737
|
" " + ce(o.title),
|
|
@@ -12752,18 +12755,18 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12752
12755
|
]), 1032, ["disabled"]))
|
|
12753
12756
|
]),
|
|
12754
12757
|
file: q(({ file: S }) => [
|
|
12755
|
-
A("div",
|
|
12756
|
-
A("div",
|
|
12757
|
-
!x.$slots.fileIcon && (!o.customIconData[T(te)(S, n)] || !o.customIconData[T(te)(S, n)][o.customIconFields.icon]) ? (E(), ee(T(
|
|
12758
|
+
A("div", il, [
|
|
12759
|
+
A("div", nl, [
|
|
12760
|
+
!x.$slots.fileIcon && (!o.customIconData[T(te)(S, n)] || !o.customIconData[T(te)(S, n)][o.customIconFields.icon]) ? (E(), ee(T(wi), {
|
|
12758
12761
|
key: 0,
|
|
12759
12762
|
type: T(te)(S, n)
|
|
12760
|
-
}, null, 8, ["type"])) : !x.$slots.fileIcon && o.customIconData[T(te)(S, n)] && o.customIconData[T(te)(S, n)][o.customIconFields.icon] ? (E(), D("div",
|
|
12763
|
+
}, null, 8, ["type"])) : !x.$slots.fileIcon && o.customIconData[T(te)(S, n)] && o.customIconData[T(te)(S, n)][o.customIconFields.icon] ? (E(), D("div", rl, [
|
|
12761
12764
|
o.customIconData[T(te)(S, n)][o.customIconFields.type] === "img" ? (E(), D("img", {
|
|
12762
12765
|
key: 0,
|
|
12763
12766
|
src: o.customIconData[T(te)(S, n)][o.customIconFields.icon],
|
|
12764
12767
|
alt: "",
|
|
12765
12768
|
class: "file-img-icon"
|
|
12766
|
-
}, null, 8,
|
|
12769
|
+
}, null, 8, sl)) : (E(), D(
|
|
12767
12770
|
"span",
|
|
12768
12771
|
{
|
|
12769
12772
|
key: 1,
|
|
@@ -12777,11 +12780,11 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12777
12780
|
/* CLASS */
|
|
12778
12781
|
))
|
|
12779
12782
|
])) : Z("v-if", !0),
|
|
12780
|
-
A("div",
|
|
12783
|
+
A("div", ol, [
|
|
12781
12784
|
we(x.$slots, "fileIcon", { file: S }, void 0, !0)
|
|
12782
12785
|
]),
|
|
12783
|
-
A("div",
|
|
12784
|
-
A("p",
|
|
12786
|
+
A("div", al, [
|
|
12787
|
+
A("p", ll, [
|
|
12785
12788
|
He(
|
|
12786
12789
|
ce(S[n.name] || S.name) + " ",
|
|
12787
12790
|
1
|
|
@@ -12789,7 +12792,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12789
12792
|
),
|
|
12790
12793
|
S.percentage && S.status === "uploading" ? (E(), D(
|
|
12791
12794
|
"span",
|
|
12792
|
-
|
|
12795
|
+
ul,
|
|
12793
12796
|
"(" + ce(S.percentage) + "%)",
|
|
12794
12797
|
1
|
|
12795
12798
|
/* TEXT */
|
|
@@ -12797,12 +12800,12 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12797
12800
|
]),
|
|
12798
12801
|
S.status === "success" ? (E(), D(
|
|
12799
12802
|
"p",
|
|
12800
|
-
|
|
12801
|
-
ce(T(
|
|
12803
|
+
cl,
|
|
12804
|
+
ce(T(Ft)(S.size / 1024 / 1024)) + "MB ",
|
|
12802
12805
|
1
|
|
12803
12806
|
/* TEXT */
|
|
12804
12807
|
)) : Z("v-if", !0),
|
|
12805
|
-
S.percentage && S.status === "uploading" ? (E(), ee(T(
|
|
12808
|
+
S.percentage && S.status === "uploading" ? (E(), ee(T(yi), {
|
|
12806
12809
|
key: 1,
|
|
12807
12810
|
"text-inside": "",
|
|
12808
12811
|
percentage: S.percentage,
|
|
@@ -12849,7 +12852,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12849
12852
|
default: q(() => {
|
|
12850
12853
|
var S;
|
|
12851
12854
|
return [
|
|
12852
|
-
!o.preview && o.tip ? (E(), ee(T(
|
|
12855
|
+
!o.preview && o.tip ? (E(), ee(T(_i), {
|
|
12853
12856
|
key: 0,
|
|
12854
12857
|
effect: "dark",
|
|
12855
12858
|
content: r.tipText || "",
|
|
@@ -12861,7 +12864,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12861
12864
|
class: "_ik_web_ui_file_help_icon"
|
|
12862
12865
|
}, {
|
|
12863
12866
|
default: q(() => [
|
|
12864
|
-
K(T(
|
|
12867
|
+
K(T(ki))
|
|
12865
12868
|
]),
|
|
12866
12869
|
_: 1
|
|
12867
12870
|
/* STABLE */
|
|
@@ -12873,62 +12876,62 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12873
12876
|
(S = d.value) != null && S.length ? (E(!0), D(
|
|
12874
12877
|
Ne,
|
|
12875
12878
|
{ key: 1 },
|
|
12876
|
-
|
|
12879
|
+
Bn(d.value, (Y, tt) => (E(), D("div", {
|
|
12877
12880
|
class: "ik-error-flie-list",
|
|
12878
12881
|
key: Y.uid
|
|
12879
12882
|
}, [
|
|
12880
|
-
A("div",
|
|
12883
|
+
A("div", fl, [
|
|
12881
12884
|
K(T(Fe), {
|
|
12882
12885
|
size: 32,
|
|
12883
12886
|
class: "info",
|
|
12884
12887
|
style: { "vertical-align": "middle" }
|
|
12885
12888
|
}, {
|
|
12886
12889
|
default: q(() => [
|
|
12887
|
-
K(T(
|
|
12890
|
+
K(T(or))
|
|
12888
12891
|
]),
|
|
12889
12892
|
_: 1
|
|
12890
12893
|
/* STABLE */
|
|
12891
12894
|
}),
|
|
12892
|
-
A("div",
|
|
12895
|
+
A("div", hl, [
|
|
12893
12896
|
A(
|
|
12894
12897
|
"p",
|
|
12895
|
-
|
|
12898
|
+
dl,
|
|
12896
12899
|
ce(Y[n.name] || Y.name),
|
|
12897
12900
|
1
|
|
12898
12901
|
/* TEXT */
|
|
12899
12902
|
),
|
|
12900
12903
|
A(
|
|
12901
12904
|
"p",
|
|
12902
|
-
|
|
12903
|
-
ce(T(
|
|
12905
|
+
gl,
|
|
12906
|
+
ce(T(Ft)(Y.size / 1024 / 1024)) + "MB ",
|
|
12904
12907
|
1
|
|
12905
12908
|
/* TEXT */
|
|
12906
12909
|
)
|
|
12907
12910
|
])
|
|
12908
12911
|
]),
|
|
12909
|
-
|
|
12912
|
+
Hn(A(
|
|
12910
12913
|
"div",
|
|
12911
|
-
|
|
12914
|
+
pl,
|
|
12912
12915
|
[
|
|
12913
12916
|
K(T(Fe), {
|
|
12914
12917
|
style: { "vertical-align": "middle" },
|
|
12915
|
-
onClick: (ct) => b(Y,
|
|
12918
|
+
onClick: (ct) => b(Y, tt),
|
|
12916
12919
|
title: "重新上传",
|
|
12917
12920
|
class: "primary"
|
|
12918
12921
|
}, {
|
|
12919
12922
|
default: q(() => [
|
|
12920
|
-
K(T(
|
|
12923
|
+
K(T(ir))
|
|
12921
12924
|
]),
|
|
12922
12925
|
_: 2
|
|
12923
12926
|
/* DYNAMIC */
|
|
12924
12927
|
}, 1032, ["onClick"]),
|
|
12925
12928
|
K(T(Fe), {
|
|
12926
12929
|
class: "error",
|
|
12927
|
-
onClick: (ct) => z(Y,
|
|
12930
|
+
onClick: (ct) => z(Y, tt),
|
|
12928
12931
|
title: "删除"
|
|
12929
12932
|
}, {
|
|
12930
12933
|
default: q(() => [
|
|
12931
|
-
K(T(
|
|
12934
|
+
K(T(Zn))
|
|
12932
12935
|
]),
|
|
12933
12936
|
_: 2
|
|
12934
12937
|
/* DYNAMIC */
|
|
@@ -12937,7 +12940,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12937
12940
|
512
|
|
12938
12941
|
/* NEED_PATCH */
|
|
12939
12942
|
), [
|
|
12940
|
-
[
|
|
12943
|
+
[Un, (Y == null ? void 0 : Y.status) === "fail"]
|
|
12941
12944
|
])
|
|
12942
12945
|
]))),
|
|
12943
12946
|
128
|
|
@@ -12947,7 +12950,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12947
12950
|
}),
|
|
12948
12951
|
_: 3
|
|
12949
12952
|
/* FORWARDED */
|
|
12950
|
-
}, 16, ["accept", "action", "file-list", "multiple", "headers", "limit"])) : (E(), ee(T(
|
|
12953
|
+
}, 16, ["accept", "action", "file-list", "multiple", "headers", "limit"])) : (E(), ee(T(mi), qt({
|
|
12951
12954
|
key: 1,
|
|
12952
12955
|
"file-list": e.value,
|
|
12953
12956
|
"onUpdate:fileList": N[1] || (N[1] = (S) => e.value = S),
|
|
@@ -12969,18 +12972,18 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12969
12972
|
"on-change": _
|
|
12970
12973
|
}), {
|
|
12971
12974
|
file: q(({ file: S }) => [
|
|
12972
|
-
A("div",
|
|
12973
|
-
A("div",
|
|
12974
|
-
!x.$slots.fileIcon && (!o.customIconData[T(te)(S, n)] || !o.customIconData[T(te)(S, n)][o.customIconFields.icon]) ? (E(), ee(T(
|
|
12975
|
+
A("div", _l, [
|
|
12976
|
+
A("div", kl, [
|
|
12977
|
+
!x.$slots.fileIcon && (!o.customIconData[T(te)(S, n)] || !o.customIconData[T(te)(S, n)][o.customIconFields.icon]) ? (E(), ee(T(wi), {
|
|
12975
12978
|
key: 0,
|
|
12976
12979
|
type: T(te)(S, n)
|
|
12977
|
-
}, null, 8, ["type"])) : !x.$slots.fileIcon && o.customIconData[T(te)(S, n)] && o.customIconData[T(te)(S, n)][o.customIconFields.icon] ? (E(), D("div",
|
|
12980
|
+
}, null, 8, ["type"])) : !x.$slots.fileIcon && o.customIconData[T(te)(S, n)] && o.customIconData[T(te)(S, n)][o.customIconFields.icon] ? (E(), D("div", Cl, [
|
|
12978
12981
|
o.customIconData[T(te)(S, n)][o.customIconFields.type] === "img" ? (E(), D("img", {
|
|
12979
12982
|
key: 0,
|
|
12980
12983
|
src: o.customIconData[T(te)(S, n)][o.customIconFields.icon],
|
|
12981
12984
|
alt: "",
|
|
12982
12985
|
class: "file-img-icon"
|
|
12983
|
-
}, null, 8,
|
|
12986
|
+
}, null, 8, wl)) : (E(), D(
|
|
12984
12987
|
"span",
|
|
12985
12988
|
{
|
|
12986
12989
|
key: 1,
|
|
@@ -12994,11 +12997,11 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
12994
12997
|
/* CLASS */
|
|
12995
12998
|
))
|
|
12996
12999
|
])) : Z("v-if", !0),
|
|
12997
|
-
A("div",
|
|
13000
|
+
A("div", bl, [
|
|
12998
13001
|
we(x.$slots, "fileIcon", { file: S }, void 0, !0)
|
|
12999
13002
|
]),
|
|
13000
|
-
A("div",
|
|
13001
|
-
A("p",
|
|
13003
|
+
A("div", Tl, [
|
|
13004
|
+
A("p", El, [
|
|
13002
13005
|
He(
|
|
13003
13006
|
ce(S[n.name] || S.name) + " ",
|
|
13004
13007
|
1
|
|
@@ -13006,7 +13009,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
13006
13009
|
),
|
|
13007
13010
|
S.percentage && S.status === "uploading" ? (E(), D(
|
|
13008
13011
|
"span",
|
|
13009
|
-
|
|
13012
|
+
Sl,
|
|
13010
13013
|
"(" + ce(S.percentage) + "%)",
|
|
13011
13014
|
1
|
|
13012
13015
|
/* TEXT */
|
|
@@ -13014,12 +13017,12 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
13014
13017
|
]),
|
|
13015
13018
|
S.status === "success" ? (E(), D(
|
|
13016
13019
|
"p",
|
|
13017
|
-
|
|
13018
|
-
ce(T(
|
|
13020
|
+
Al,
|
|
13021
|
+
ce(T(Ft)(S.size / 1024 / 1024)) + "MB ",
|
|
13019
13022
|
1
|
|
13020
13023
|
/* TEXT */
|
|
13021
13024
|
)) : Z("v-if", !0),
|
|
13022
|
-
S.percentage && S.status === "uploading" ? (E(), ee(T(
|
|
13025
|
+
S.percentage && S.status === "uploading" ? (E(), ee(T(yi), {
|
|
13023
13026
|
key: 1,
|
|
13024
13027
|
"text-inside": "",
|
|
13025
13028
|
percentage: S.percentage,
|
|
@@ -13041,7 +13044,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
13041
13044
|
},
|
|
13042
13045
|
{
|
|
13043
13046
|
default: q(() => [
|
|
13044
|
-
K(T(
|
|
13047
|
+
K(T(rr), {
|
|
13045
13048
|
onClick: (Y) => W(S)
|
|
13046
13049
|
}, null, 8, ["onClick"])
|
|
13047
13050
|
]),
|
|
@@ -13059,7 +13062,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
13059
13062
|
},
|
|
13060
13063
|
{
|
|
13061
13064
|
default: q(() => [
|
|
13062
|
-
K(T(
|
|
13065
|
+
K(T(Qn), {
|
|
13063
13066
|
onClick: (Y) => M(S)
|
|
13064
13067
|
}, null, 8, ["onClick"])
|
|
13065
13068
|
]),
|
|
@@ -13072,7 +13075,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
13072
13075
|
],
|
|
13073
13076
|
64
|
|
13074
13077
|
/* STABLE_FRAGMENT */
|
|
13075
|
-
)) : (E(), D("div",
|
|
13078
|
+
)) : (E(), D("div", xl, [
|
|
13076
13079
|
S.status === "success" ? (E(), D(
|
|
13077
13080
|
Ne,
|
|
13078
13081
|
{ key: 0 },
|
|
@@ -13108,10 +13111,10 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
13108
13111
|
])
|
|
13109
13112
|
]),
|
|
13110
13113
|
default: q(() => [
|
|
13111
|
-
A("div",
|
|
13112
|
-
A("div",
|
|
13114
|
+
A("div", vl, [
|
|
13115
|
+
A("div", ml, [
|
|
13113
13116
|
o.imageMode ? we(x.$slots, "image", { key: 0 }, () => [
|
|
13114
|
-
|
|
13117
|
+
yl
|
|
13115
13118
|
], !0) : o.showIcon ? (E(), ee(T(ge), {
|
|
13116
13119
|
key: 1,
|
|
13117
13120
|
name: "iksvg_img_shangchuanhetongfujianbeifen",
|
|
@@ -13125,7 +13128,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
13125
13128
|
1
|
|
13126
13129
|
/* TEXT */
|
|
13127
13130
|
),
|
|
13128
|
-
!o.preview && o.tip ? (E(), ee(T(
|
|
13131
|
+
!o.preview && o.tip ? (E(), ee(T(_i), {
|
|
13129
13132
|
key: 0,
|
|
13130
13133
|
effect: "dark",
|
|
13131
13134
|
content: r.tipText || "",
|
|
@@ -13137,7 +13140,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
13137
13140
|
class: "_ik_web_ui_file_help_icon"
|
|
13138
13141
|
}, {
|
|
13139
13142
|
default: q(() => [
|
|
13140
|
-
K(T(
|
|
13143
|
+
K(T(ki))
|
|
13141
13144
|
]),
|
|
13142
13145
|
_: 1
|
|
13143
13146
|
/* STABLE */
|
|
@@ -13164,7 +13167,7 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
13164
13167
|
64
|
|
13165
13168
|
/* STABLE_FRAGMENT */
|
|
13166
13169
|
)),
|
|
13167
|
-
K(T(
|
|
13170
|
+
K(T(ds), {
|
|
13168
13171
|
show: p.value,
|
|
13169
13172
|
"onUpdate:show": N[2] || (N[2] = (S) => p.value = S),
|
|
13170
13173
|
loadUrl: T(s),
|
|
@@ -13179,8 +13182,8 @@ const Ja = /* @__PURE__ */ at(Za, [["__scopeId", "data-v-b301aa7d"]]), Qa = ze(J
|
|
|
13179
13182
|
};
|
|
13180
13183
|
}
|
|
13181
13184
|
});
|
|
13182
|
-
const
|
|
13185
|
+
const Pl = /* @__PURE__ */ at(Il, [["__scopeId", "data-v-8973743d"]]), Ol = ze(Pl);
|
|
13183
13186
|
export {
|
|
13184
|
-
|
|
13185
|
-
|
|
13187
|
+
Ol as IkUploadFile,
|
|
13188
|
+
Ol as default
|
|
13186
13189
|
};
|