iking-web-ui-pro 1.2.7 → 1.2.9
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/IkApprovalProcessDetail/ik.index.es.js +609 -614
- package/dist/IkDescription/ik.index.es.js +445 -450
- package/dist/IkDetailPreviewFiles/ik.index.es.js +451 -456
- package/dist/IkPreviewFile/ik.index.es.js +443 -448
- package/dist/IkUploadFile/ik.index.es.js +143 -139
- package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
- package/dist/iking-web-ui-pro.css +1 -1
- package/dist/{index-CughgR_O.mjs → index-skQr1Jxv.mjs} +1406 -1407
- package/dist/{index.es-DgqPc8il.mjs → index.es--LLk46rW.mjs} +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/{jspdf.es.min-CVLIg3IF.mjs → jspdf.es.min-DW3hZMv2.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as ae, computed as ie, openBlock as k, createElementBlock as S, createElementVNode as T, inject as dt, ref as ye, Fragment as oe, createCommentVNode as I, renderList as Fe, normalizeStyle as _e, toDisplayString as J, unref as P, normalizeClass as Q, createBlock as ge, withModifiers as tt, renderSlot as Ke, createVNode as K, useModel as Qr, reactive as yl, watch as kt, nextTick as Ft, withCtx as se, mergeModels as Mt, resolveComponent as wt, mergeProps as ea, createTextVNode as rt, h as Ru, createSlots as Ou, getCurrentScope as Du, onScopeDispose as Fu, markRaw as Pa, effectScope as Mu, shallowRef as Nu, onMounted as _l, Teleport as bl, Transition as Cl, resolveDynamicComponent as Bu, withDirectives as Hu, vShow as Uu } from "vue";
|
|
2
2
|
import { paramType as Gr, ikFile as ju, buildUUID as kl, ikColor as zu, _ as Ii, ikDate as Vu } from "iking-utils-pro";
|
|
3
|
-
import {
|
|
3
|
+
import { ElMessage as qu, useLocale as Gu, useNamespace as wl, useZIndex as Wu, ElIcon as Ve, EVENT_CODE as gt } from "element-plus";
|
|
4
4
|
const He = (a, s) => (a.install = (r) => {
|
|
5
5
|
for (const t of [a, ...Object.values({})])
|
|
6
6
|
r.component(t.name, t);
|
|
@@ -26,7 +26,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
26
26
|
if (typeof t == "string" && (t.includes(u) || t === u))
|
|
27
27
|
return e[u];
|
|
28
28
|
return "unknown";
|
|
29
|
-
},
|
|
29
|
+
}, $u = {
|
|
30
30
|
".doc": "word",
|
|
31
31
|
".docx": "word",
|
|
32
32
|
".docxf": "word",
|
|
@@ -113,11 +113,11 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
113
113
|
".pdf": "pdf"
|
|
114
114
|
}, Aa = (a) => {
|
|
115
115
|
const s = a == null ? void 0 : a.toLocaleLowerCase(), r = s != null && s.startsWith(".") ? s : `.${s}`;
|
|
116
|
-
return r &&
|
|
117
|
-
},
|
|
116
|
+
return r && $u[r] || "unknow";
|
|
117
|
+
}, Ku = (a) => {
|
|
118
118
|
let s = "", r = ["doc", "docx"], t = ["xls", "xlsx"], e = ["ppt", "pptx"], i = ["pdf"];
|
|
119
119
|
return r.includes(a) && (s = "word"), t.includes(a) && (s = "cell"), e.includes(a) && (s = "slide"), i.includes(a) && (s = "text-pdf"), s;
|
|
120
|
-
},
|
|
120
|
+
}, Yu = {
|
|
121
121
|
key: 0,
|
|
122
122
|
t: "1686300059786",
|
|
123
123
|
class: "icon",
|
|
@@ -127,7 +127,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
127
127
|
"p-id": "7671",
|
|
128
128
|
width: "200",
|
|
129
129
|
height: "200"
|
|
130
|
-
},
|
|
130
|
+
}, Xu = {
|
|
131
131
|
key: 1,
|
|
132
132
|
t: "1686301531714",
|
|
133
133
|
class: "icon",
|
|
@@ -137,7 +137,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
137
137
|
"p-id": "9067",
|
|
138
138
|
width: "200",
|
|
139
139
|
height: "200"
|
|
140
|
-
},
|
|
140
|
+
}, Ju = {
|
|
141
141
|
key: 2,
|
|
142
142
|
t: "1686300141125",
|
|
143
143
|
class: "icon",
|
|
@@ -147,7 +147,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
147
147
|
"p-id": "8137",
|
|
148
148
|
width: "200",
|
|
149
149
|
height: "200"
|
|
150
|
-
},
|
|
150
|
+
}, Zu = {
|
|
151
151
|
key: 3,
|
|
152
152
|
t: "1686300157181",
|
|
153
153
|
class: "icon",
|
|
@@ -157,7 +157,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
157
157
|
"p-id": "8292",
|
|
158
158
|
width: "200",
|
|
159
159
|
height: "200"
|
|
160
|
-
},
|
|
160
|
+
}, Qu = {
|
|
161
161
|
key: 4,
|
|
162
162
|
t: "1686300180947",
|
|
163
163
|
class: "icon",
|
|
@@ -167,7 +167,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
167
167
|
"p-id": "8447",
|
|
168
168
|
width: "200",
|
|
169
169
|
height: "200"
|
|
170
|
-
},
|
|
170
|
+
}, ec = {
|
|
171
171
|
key: 5,
|
|
172
172
|
t: "1686300195363",
|
|
173
173
|
class: "icon",
|
|
@@ -177,7 +177,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
177
177
|
"p-id": "8602",
|
|
178
178
|
width: "200",
|
|
179
179
|
height: "200"
|
|
180
|
-
},
|
|
180
|
+
}, tc = {
|
|
181
181
|
key: 6,
|
|
182
182
|
t: "1686300209288",
|
|
183
183
|
class: "icon",
|
|
@@ -187,7 +187,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
187
187
|
"p-id": "8757",
|
|
188
188
|
width: "200",
|
|
189
189
|
height: "200"
|
|
190
|
-
},
|
|
190
|
+
}, ic = {
|
|
191
191
|
key: 7,
|
|
192
192
|
t: "1686300225262",
|
|
193
193
|
class: "icon",
|
|
@@ -197,7 +197,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
197
197
|
"p-id": "8912",
|
|
198
198
|
width: "200",
|
|
199
199
|
height: "200"
|
|
200
|
-
},
|
|
200
|
+
}, nc = {
|
|
201
201
|
key: 8,
|
|
202
202
|
t: "1692251753690",
|
|
203
203
|
class: "icon",
|
|
@@ -207,7 +207,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
207
207
|
"p-id": "4336",
|
|
208
208
|
width: "200",
|
|
209
209
|
height: "200"
|
|
210
|
-
},
|
|
210
|
+
}, rc = {
|
|
211
211
|
key: 9,
|
|
212
212
|
t: "1692251753690",
|
|
213
213
|
class: "icon",
|
|
@@ -217,7 +217,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
217
217
|
"p-id": "4336",
|
|
218
218
|
width: "200",
|
|
219
219
|
height: "200"
|
|
220
|
-
},
|
|
220
|
+
}, ac = {
|
|
221
221
|
key: 10,
|
|
222
222
|
t: "1714099890925",
|
|
223
223
|
class: "icon",
|
|
@@ -227,7 +227,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
227
227
|
"p-id": "2271",
|
|
228
228
|
width: "200",
|
|
229
229
|
height: "200"
|
|
230
|
-
},
|
|
230
|
+
}, sc = {
|
|
231
231
|
key: 11,
|
|
232
232
|
t: "1686300037564",
|
|
233
233
|
class: "icon",
|
|
@@ -237,7 +237,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
237
237
|
"p-id": "7515",
|
|
238
238
|
width: "200",
|
|
239
239
|
height: "200"
|
|
240
|
-
},
|
|
240
|
+
}, oc = /* @__PURE__ */ ae({
|
|
241
241
|
__name: "IkFileIcon",
|
|
242
242
|
props: {
|
|
243
243
|
type: {
|
|
@@ -259,7 +259,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
259
259
|
},
|
|
260
260
|
setup(a) {
|
|
261
261
|
const s = a, r = ie(() => s.file ? ni(s.file, s.fields) : s.type);
|
|
262
|
-
return (t, e) => r.value === "image" ? (k(), S("svg",
|
|
262
|
+
return (t, e) => r.value === "image" ? (k(), S("svg", Yu, [...e[0] || (e[0] = [
|
|
263
263
|
T(
|
|
264
264
|
"path",
|
|
265
265
|
{
|
|
@@ -304,7 +304,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
304
304
|
-1
|
|
305
305
|
/* CACHED */
|
|
306
306
|
)
|
|
307
|
-
])])) : r.value === "zip" ? (k(), S("svg",
|
|
307
|
+
])])) : r.value === "zip" ? (k(), S("svg", Xu, [...e[1] || (e[1] = [
|
|
308
308
|
T(
|
|
309
309
|
"path",
|
|
310
310
|
{
|
|
@@ -327,7 +327,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
327
327
|
-1
|
|
328
328
|
/* CACHED */
|
|
329
329
|
)
|
|
330
|
-
])])) : r.value === "ppt" ? (k(), S("svg",
|
|
330
|
+
])])) : r.value === "ppt" ? (k(), S("svg", Ju, [...e[2] || (e[2] = [
|
|
331
331
|
T(
|
|
332
332
|
"path",
|
|
333
333
|
{
|
|
@@ -350,7 +350,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
350
350
|
-1
|
|
351
351
|
/* CACHED */
|
|
352
352
|
)
|
|
353
|
-
])])) : r.value === "word" ? (k(), S("svg",
|
|
353
|
+
])])) : r.value === "word" ? (k(), S("svg", Zu, [...e[3] || (e[3] = [
|
|
354
354
|
T(
|
|
355
355
|
"path",
|
|
356
356
|
{
|
|
@@ -373,7 +373,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
373
373
|
-1
|
|
374
374
|
/* CACHED */
|
|
375
375
|
)
|
|
376
|
-
])])) : r.value === "pdf" ? (k(), S("svg",
|
|
376
|
+
])])) : r.value === "pdf" ? (k(), S("svg", Qu, [...e[4] || (e[4] = [
|
|
377
377
|
T(
|
|
378
378
|
"path",
|
|
379
379
|
{
|
|
@@ -396,7 +396,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
396
396
|
-1
|
|
397
397
|
/* CACHED */
|
|
398
398
|
)
|
|
399
|
-
])])) : r.value === "txt" ? (k(), S("svg",
|
|
399
|
+
])])) : r.value === "txt" ? (k(), S("svg", ec, [...e[5] || (e[5] = [
|
|
400
400
|
T(
|
|
401
401
|
"path",
|
|
402
402
|
{
|
|
@@ -419,7 +419,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
419
419
|
-1
|
|
420
420
|
/* CACHED */
|
|
421
421
|
)
|
|
422
|
-
])])) : r.value === "audio" ? (k(), S("svg",
|
|
422
|
+
])])) : r.value === "audio" ? (k(), S("svg", tc, [...e[6] || (e[6] = [
|
|
423
423
|
T(
|
|
424
424
|
"path",
|
|
425
425
|
{
|
|
@@ -442,7 +442,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
442
442
|
-1
|
|
443
443
|
/* CACHED */
|
|
444
444
|
)
|
|
445
|
-
])])) : r.value === "video" ? (k(), S("svg",
|
|
445
|
+
])])) : r.value === "video" ? (k(), S("svg", ic, [...e[7] || (e[7] = [
|
|
446
446
|
T(
|
|
447
447
|
"path",
|
|
448
448
|
{
|
|
@@ -465,7 +465,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
465
465
|
-1
|
|
466
466
|
/* CACHED */
|
|
467
467
|
)
|
|
468
|
-
])])) : r.value === "excel" ? (k(), S("svg",
|
|
468
|
+
])])) : r.value === "excel" ? (k(), S("svg", nc, [...e[8] || (e[8] = [
|
|
469
469
|
T(
|
|
470
470
|
"path",
|
|
471
471
|
{
|
|
@@ -500,7 +500,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
500
500
|
-1
|
|
501
501
|
/* CACHED */
|
|
502
502
|
)
|
|
503
|
-
])])) : r.value === "exe" ? (k(), S("svg",
|
|
503
|
+
])])) : r.value === "exe" ? (k(), S("svg", rc, [...e[9] || (e[9] = [
|
|
504
504
|
T(
|
|
505
505
|
"path",
|
|
506
506
|
{
|
|
@@ -546,7 +546,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
546
546
|
-1
|
|
547
547
|
/* CACHED */
|
|
548
548
|
)
|
|
549
|
-
])])) : r.value === "json" ? (k(), S("svg",
|
|
549
|
+
])])) : r.value === "json" ? (k(), S("svg", ac, [...e[10] || (e[10] = [
|
|
550
550
|
T(
|
|
551
551
|
"path",
|
|
552
552
|
{
|
|
@@ -581,7 +581,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
581
581
|
-1
|
|
582
582
|
/* CACHED */
|
|
583
583
|
)
|
|
584
|
-
])])) : (k(), S("svg",
|
|
584
|
+
])])) : (k(), S("svg", sc, [...e[11] || (e[11] = [
|
|
585
585
|
T(
|
|
586
586
|
"path",
|
|
587
587
|
{
|
|
@@ -617,9 +617,9 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
617
617
|
)
|
|
618
618
|
])]));
|
|
619
619
|
}
|
|
620
|
-
}), La = He(
|
|
620
|
+
}), La = He(oc);
|
|
621
621
|
/*! Element Plus Icons Vue v2.3.2 */
|
|
622
|
-
var
|
|
622
|
+
var lc = /* @__PURE__ */ ae({
|
|
623
623
|
name: "ArrowLeft",
|
|
624
624
|
__name: "arrow-left",
|
|
625
625
|
setup(a) {
|
|
@@ -633,7 +633,7 @@ var oc = /* @__PURE__ */ ae({
|
|
|
633
633
|
})
|
|
634
634
|
]));
|
|
635
635
|
}
|
|
636
|
-
}),
|
|
636
|
+
}), uc = lc, cc = /* @__PURE__ */ ae({
|
|
637
637
|
name: "ArrowRight",
|
|
638
638
|
__name: "arrow-right",
|
|
639
639
|
setup(a) {
|
|
@@ -647,7 +647,7 @@ var oc = /* @__PURE__ */ ae({
|
|
|
647
647
|
})
|
|
648
648
|
]));
|
|
649
649
|
}
|
|
650
|
-
}),
|
|
650
|
+
}), fc = cc, hc = /* @__PURE__ */ ae({
|
|
651
651
|
name: "Close",
|
|
652
652
|
__name: "close",
|
|
653
653
|
setup(a) {
|
|
@@ -661,7 +661,7 @@ var oc = /* @__PURE__ */ ae({
|
|
|
661
661
|
})
|
|
662
662
|
]));
|
|
663
663
|
}
|
|
664
|
-
}), Tl =
|
|
664
|
+
}), Tl = hc, dc = /* @__PURE__ */ ae({
|
|
665
665
|
name: "FullScreen",
|
|
666
666
|
__name: "full-screen",
|
|
667
667
|
setup(a) {
|
|
@@ -675,7 +675,7 @@ var oc = /* @__PURE__ */ ae({
|
|
|
675
675
|
})
|
|
676
676
|
]));
|
|
677
677
|
}
|
|
678
|
-
}),
|
|
678
|
+
}), gc = dc, pc = /* @__PURE__ */ ae({
|
|
679
679
|
name: "RefreshLeft",
|
|
680
680
|
__name: "refresh-left",
|
|
681
681
|
setup(a) {
|
|
@@ -689,7 +689,7 @@ var oc = /* @__PURE__ */ ae({
|
|
|
689
689
|
})
|
|
690
690
|
]));
|
|
691
691
|
}
|
|
692
|
-
}),
|
|
692
|
+
}), vc = pc, mc = /* @__PURE__ */ ae({
|
|
693
693
|
name: "RefreshRight",
|
|
694
694
|
__name: "refresh-right",
|
|
695
695
|
setup(a) {
|
|
@@ -703,7 +703,7 @@ var oc = /* @__PURE__ */ ae({
|
|
|
703
703
|
})
|
|
704
704
|
]));
|
|
705
705
|
}
|
|
706
|
-
}),
|
|
706
|
+
}), yc = mc, _c = /* @__PURE__ */ ae({
|
|
707
707
|
name: "ScaleToOriginal",
|
|
708
708
|
__name: "scale-to-original",
|
|
709
709
|
setup(a) {
|
|
@@ -717,7 +717,7 @@ var oc = /* @__PURE__ */ ae({
|
|
|
717
717
|
})
|
|
718
718
|
]));
|
|
719
719
|
}
|
|
720
|
-
}),
|
|
720
|
+
}), bc = _c, Cc = /* @__PURE__ */ ae({
|
|
721
721
|
name: "ZoomIn",
|
|
722
722
|
__name: "zoom-in",
|
|
723
723
|
setup(a) {
|
|
@@ -731,7 +731,7 @@ var oc = /* @__PURE__ */ ae({
|
|
|
731
731
|
})
|
|
732
732
|
]));
|
|
733
733
|
}
|
|
734
|
-
}),
|
|
734
|
+
}), kc = Cc, wc = /* @__PURE__ */ ae({
|
|
735
735
|
name: "ZoomOut",
|
|
736
736
|
__name: "zoom-out",
|
|
737
737
|
setup(a) {
|
|
@@ -745,13 +745,13 @@ var oc = /* @__PURE__ */ ae({
|
|
|
745
745
|
})
|
|
746
746
|
]));
|
|
747
747
|
}
|
|
748
|
-
}),
|
|
748
|
+
}), Tc = wc;
|
|
749
749
|
const pi = (a, s) => {
|
|
750
750
|
const r = a.__vccOpts || a;
|
|
751
751
|
for (const [t, e] of s)
|
|
752
752
|
r[t] = e;
|
|
753
753
|
return r;
|
|
754
|
-
},
|
|
754
|
+
}, Sc = (a) => ({
|
|
755
755
|
// ================all================
|
|
756
756
|
nodeType: {
|
|
757
757
|
发起人节点: "INITIATOR",
|
|
@@ -839,7 +839,7 @@ const pi = (a, s) => {
|
|
|
839
839
|
...a.defaultStatus
|
|
840
840
|
},
|
|
841
841
|
listData: []
|
|
842
|
-
}),
|
|
842
|
+
}), Ec = (a, s, r) => {
|
|
843
843
|
let t = "";
|
|
844
844
|
switch (s) {
|
|
845
845
|
case a.nodeType.审批节点:
|
|
@@ -939,18 +939,18 @@ const pi = (a, s) => {
|
|
|
939
939
|
if (!s) return "";
|
|
940
940
|
const r = /(\/api\/server\/oss\/download\?fileUrl=)(.*)(\/api\/server\/oss\/download\?fileUrl=)/;
|
|
941
941
|
return s.startsWith("http") ? s.replace(r, "$1$2") : `${a || location.origin}${s}`.replace(r, "$1$2");
|
|
942
|
-
},
|
|
942
|
+
}, xc = ["onClick"], Ic = {
|
|
943
943
|
class: "flex align-center",
|
|
944
944
|
style: { width: "100%" }
|
|
945
|
-
},
|
|
945
|
+
}, Pc = ["title"], Ac = {
|
|
946
946
|
key: 0,
|
|
947
947
|
class: "size",
|
|
948
948
|
style: { "padding-right": "20px", "white-space": "nowrap" }
|
|
949
|
-
},
|
|
949
|
+
}, Lc = ["onClick"], Rc = { class: "file-list" }, Oc = ["title"], Dc = {
|
|
950
950
|
key: 0,
|
|
951
951
|
class: "size",
|
|
952
952
|
style: { "padding-right": "20px", "white-space": "nowrap" }
|
|
953
|
-
},
|
|
953
|
+
}, Fc = ["onClick"], Mc = { class: "text" }, Nc = ["title"], Bc = { class: "size" }, Hc = /* @__PURE__ */ ae({
|
|
954
954
|
__name: "IkPreviewFile",
|
|
955
955
|
props: {
|
|
956
956
|
list: {
|
|
@@ -1068,7 +1068,11 @@ const pi = (a, s) => {
|
|
|
1068
1068
|
)
|
|
1069
1069
|
}, r.isOnlyOfficePreview && (c.value = !0), o("handPreview", u.value);
|
|
1070
1070
|
}, g = (v) => {
|
|
1071
|
-
|
|
1071
|
+
qu({
|
|
1072
|
+
message: "已发送下载请求,即将开始下载",
|
|
1073
|
+
type: "info",
|
|
1074
|
+
duration: 3e3
|
|
1075
|
+
}), r.customDownload ? o("download", v) : ju.downloadFile(
|
|
1072
1076
|
Tt(
|
|
1073
1077
|
e.value,
|
|
1074
1078
|
v[l.value.url] || v.attachmentId || v.id
|
|
@@ -1101,24 +1105,21 @@ const pi = (a, s) => {
|
|
|
1101
1105
|
t.value === "simple" ? (k(!0), S(
|
|
1102
1106
|
oe,
|
|
1103
1107
|
{ key: 0 },
|
|
1104
|
-
Fe(m.value, (
|
|
1108
|
+
Fe(m.value, (E, L) => (k(), S("div", {
|
|
1105
1109
|
class: "iking-privew-annex simple",
|
|
1106
1110
|
key: L,
|
|
1107
|
-
onClick: (z) => f(
|
|
1111
|
+
onClick: (z) => f(E),
|
|
1108
1112
|
style: _e({ width: d.value })
|
|
1109
1113
|
}, [
|
|
1110
|
-
T("div",
|
|
1111
|
-
T(
|
|
1112
|
-
"
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
1
|
|
1116
|
-
/* TEXT */
|
|
1117
|
-
),
|
|
1114
|
+
T("div", Ic, [
|
|
1115
|
+
T("div", {
|
|
1116
|
+
class: "fileName simple",
|
|
1117
|
+
title: E.name
|
|
1118
|
+
}, J(E.name), 9, Pc),
|
|
1118
1119
|
a.showFileSize ? (k(), S(
|
|
1119
1120
|
"div",
|
|
1120
|
-
|
|
1121
|
-
J(
|
|
1121
|
+
Ac,
|
|
1122
|
+
J(E.size ? `(${P(Pi)(E.size)})` : ""),
|
|
1122
1123
|
1
|
|
1123
1124
|
/* TEXT */
|
|
1124
1125
|
)) : I("v-if", !0)
|
|
@@ -1132,23 +1133,23 @@ const pi = (a, s) => {
|
|
|
1132
1133
|
a.showDownloadBtn ? (k(), ge(P(it), {
|
|
1133
1134
|
key: 0,
|
|
1134
1135
|
name: "iksvg_daochu",
|
|
1135
|
-
onClick: tt((z) => g(
|
|
1136
|
+
onClick: tt((z) => g(E), ["stop"]),
|
|
1136
1137
|
size: 20
|
|
1137
1138
|
}, null, 8, ["onClick"])) : I("v-if", !0),
|
|
1138
|
-
P(n).includes(
|
|
1139
|
+
P(n).includes(E.suffix) && a.showPreviewBtn ? (k(), ge(P(it), {
|
|
1139
1140
|
key: 1,
|
|
1140
1141
|
name: "iksvg_yulan",
|
|
1141
1142
|
size: 20,
|
|
1142
|
-
onClick: tt((z) => f(
|
|
1143
|
+
onClick: tt((z) => f(E), ["stop"])
|
|
1143
1144
|
}, null, 8, ["onClick"])) : I("v-if", !0),
|
|
1144
1145
|
Ke(v.$slots, "operation", {
|
|
1145
|
-
data: { ...
|
|
1146
|
+
data: { ...E, findex: L }
|
|
1146
1147
|
})
|
|
1147
1148
|
],
|
|
1148
1149
|
2
|
|
1149
1150
|
/* CLASS */
|
|
1150
1151
|
)
|
|
1151
|
-
], 12,
|
|
1152
|
+
], 12, xc))),
|
|
1152
1153
|
128
|
|
1153
1154
|
/* KEYED_FRAGMENT */
|
|
1154
1155
|
)) : t.value === "simple-icon" ? (k(), S(
|
|
@@ -1159,16 +1160,16 @@ const pi = (a, s) => {
|
|
|
1159
1160
|
(k(!0), S(
|
|
1160
1161
|
oe,
|
|
1161
1162
|
null,
|
|
1162
|
-
Fe(m.value, (
|
|
1163
|
+
Fe(m.value, (E, L) => (k(), S("div", {
|
|
1163
1164
|
class: "iking-privew-annex simple-icon",
|
|
1164
1165
|
key: L,
|
|
1165
|
-
onClick: (z) => f(
|
|
1166
|
+
onClick: (z) => f(E),
|
|
1166
1167
|
style: _e({ width: d.value })
|
|
1167
1168
|
}, [
|
|
1168
|
-
T("div",
|
|
1169
|
+
T("div", Rc, [
|
|
1169
1170
|
I(" 若为默认40,则simple-icon设置为20,否则设置为iconSize "),
|
|
1170
1171
|
K(P(La), {
|
|
1171
|
-
file:
|
|
1172
|
+
file: E,
|
|
1172
1173
|
style: _e({
|
|
1173
1174
|
height: `${a.iconSize === 40 ? 20 : a.iconSize}px`,
|
|
1174
1175
|
marginRight: "10px"
|
|
@@ -1183,17 +1184,14 @@ const pi = (a, s) => {
|
|
|
1183
1184
|
style: _e({ width: `calc(100% - ${a.iconSize + 10}px)` })
|
|
1184
1185
|
},
|
|
1185
1186
|
[
|
|
1186
|
-
T(
|
|
1187
|
-
"
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
1
|
|
1191
|
-
/* TEXT */
|
|
1192
|
-
),
|
|
1187
|
+
T("p", {
|
|
1188
|
+
class: "fileName simple",
|
|
1189
|
+
title: E.name
|
|
1190
|
+
}, J(E.name), 9, Oc),
|
|
1193
1191
|
a.showFileSize ? (k(), S(
|
|
1194
1192
|
"p",
|
|
1195
|
-
|
|
1196
|
-
J(
|
|
1193
|
+
Dc,
|
|
1194
|
+
J(E.size ? `(${P(Pi)(E.size)})` : ""),
|
|
1197
1195
|
1
|
|
1198
1196
|
/* TEXT */
|
|
1199
1197
|
)) : I("v-if", !0)
|
|
@@ -1207,16 +1205,16 @@ const pi = (a, s) => {
|
|
|
1207
1205
|
name: "iksvg_daochu",
|
|
1208
1206
|
size: 20,
|
|
1209
1207
|
title: "下载",
|
|
1210
|
-
onClick: tt((z) => g(
|
|
1208
|
+
onClick: tt((z) => g(E), ["stop"])
|
|
1211
1209
|
}, null, 8, ["onClick"])) : I("v-if", !0),
|
|
1212
|
-
P(n).includes(
|
|
1210
|
+
P(n).includes(E.suffix) && a.showPreviewBtn ? (k(), ge(P(it), {
|
|
1213
1211
|
key: 1,
|
|
1214
1212
|
name: "iksvg_yulan",
|
|
1215
1213
|
size: 20,
|
|
1216
|
-
onClick: tt((z) => f(
|
|
1214
|
+
onClick: tt((z) => f(E), ["stop"]),
|
|
1217
1215
|
title: "预览"
|
|
1218
1216
|
}, null, 8, ["onClick"])) : I("v-if", !0)
|
|
1219
|
-
], 12,
|
|
1217
|
+
], 12, Lc))),
|
|
1220
1218
|
128
|
|
1221
1219
|
/* KEYED_FRAGMENT */
|
|
1222
1220
|
))
|
|
@@ -1231,7 +1229,7 @@ const pi = (a, s) => {
|
|
|
1231
1229
|
(k(!0), S(
|
|
1232
1230
|
oe,
|
|
1233
1231
|
null,
|
|
1234
|
-
Fe(m.value, (
|
|
1232
|
+
Fe(m.value, (E, L) => {
|
|
1235
1233
|
var z;
|
|
1236
1234
|
return k(), S(
|
|
1237
1235
|
"div",
|
|
@@ -1246,26 +1244,23 @@ const pi = (a, s) => {
|
|
|
1246
1244
|
[
|
|
1247
1245
|
T("div", {
|
|
1248
1246
|
class: "file-card",
|
|
1249
|
-
onClick: (G) => f(
|
|
1247
|
+
onClick: (G) => f(E)
|
|
1250
1248
|
}, [
|
|
1251
1249
|
K(P(La), {
|
|
1252
|
-
file:
|
|
1250
|
+
file: E,
|
|
1253
1251
|
style: _e({ height: `${a.iconSize}px` }),
|
|
1254
1252
|
class: "ikui-w-auto",
|
|
1255
1253
|
fields: l.value
|
|
1256
1254
|
}, null, 8, ["file", "style", "fields"]),
|
|
1257
|
-
T("div",
|
|
1258
|
-
T(
|
|
1259
|
-
"
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
1
|
|
1263
|
-
/* TEXT */
|
|
1264
|
-
),
|
|
1255
|
+
T("div", Mc, [
|
|
1256
|
+
T("div", {
|
|
1257
|
+
class: "fileName",
|
|
1258
|
+
title: E.name
|
|
1259
|
+
}, J(E.name), 9, Nc),
|
|
1265
1260
|
T(
|
|
1266
1261
|
"div",
|
|
1267
|
-
|
|
1268
|
-
J(P(Pi)(
|
|
1262
|
+
Bc,
|
|
1263
|
+
J(P(Pi)(E.size)),
|
|
1269
1264
|
1
|
|
1270
1265
|
/* TEXT */
|
|
1271
1266
|
)
|
|
@@ -1279,27 +1274,27 @@ const pi = (a, s) => {
|
|
|
1279
1274
|
a.showDownloadBtn ? (k(), ge(P(it), {
|
|
1280
1275
|
key: 0,
|
|
1281
1276
|
name: "iksvg_daochu",
|
|
1282
|
-
onClick: tt((G) => g(
|
|
1277
|
+
onClick: tt((G) => g(E), ["stop"]),
|
|
1283
1278
|
bg: a.showBg,
|
|
1284
1279
|
size: a.showBg ? "default" : 20,
|
|
1285
1280
|
title: "下载"
|
|
1286
1281
|
}, null, 8, ["onClick", "bg", "size"])) : I("v-if", !0),
|
|
1287
|
-
P(n).includes(
|
|
1282
|
+
P(n).includes(E.suffix) && a.showPreviewBtn ? (k(), ge(P(it), {
|
|
1288
1283
|
key: 1,
|
|
1289
1284
|
name: "iksvg_yulan",
|
|
1290
1285
|
bg: a.showBg,
|
|
1291
1286
|
size: a.showBg ? "default" : 20,
|
|
1292
1287
|
title: "预览",
|
|
1293
|
-
onClick: tt((G) => f(
|
|
1288
|
+
onClick: tt((G) => f(E), ["stop"])
|
|
1294
1289
|
}, null, 8, ["bg", "size", "onClick"])) : I("v-if", !0),
|
|
1295
1290
|
Ke(v.$slots, "operation", {
|
|
1296
|
-
data: { ...
|
|
1291
|
+
data: { ...E, findex: L }
|
|
1297
1292
|
})
|
|
1298
1293
|
],
|
|
1299
1294
|
2
|
|
1300
1295
|
/* CLASS */
|
|
1301
1296
|
)
|
|
1302
|
-
], 8,
|
|
1297
|
+
], 8, Fc)
|
|
1303
1298
|
],
|
|
1304
1299
|
6
|
|
1305
1300
|
/* CLASS, STYLE */
|
|
@@ -1316,10 +1311,10 @@ const pi = (a, s) => {
|
|
|
1316
1311
|
64
|
|
1317
1312
|
/* STABLE_FRAGMENT */
|
|
1318
1313
|
)) : I("v-if", !0),
|
|
1319
|
-
K(P(
|
|
1314
|
+
K(P(Kc), {
|
|
1320
1315
|
onClose: p,
|
|
1321
1316
|
show: c.value,
|
|
1322
|
-
"onUpdate:show": w[0] || (w[0] = (
|
|
1317
|
+
"onUpdate:show": w[0] || (w[0] = (E) => c.value = E),
|
|
1323
1318
|
loadUrl: P(e),
|
|
1324
1319
|
file: u.value,
|
|
1325
1320
|
onlyofficeServer: ((C = P(i)) == null ? void 0 : C.serverUrl) || a.onlyofficeServer,
|
|
@@ -1332,7 +1327,7 @@ const pi = (a, s) => {
|
|
|
1332
1327
|
);
|
|
1333
1328
|
};
|
|
1334
1329
|
}
|
|
1335
|
-
}),
|
|
1330
|
+
}), Uc = He(Hc), jc = { class: "head-logo" }, zc = ["src"], Vc = { class: "text-preview-container" }, qc = { class: "text-preview-header" }, Gc = { class: "file-name" }, Wc = { class: "text-preview-content" }, $c = /* @__PURE__ */ ae({
|
|
1336
1331
|
__name: "IkPreviewFileDialog",
|
|
1337
1332
|
props: /* @__PURE__ */ Mt({
|
|
1338
1333
|
file: {
|
|
@@ -1381,7 +1376,7 @@ const pi = (a, s) => {
|
|
|
1381
1376
|
video: !1,
|
|
1382
1377
|
text: !1
|
|
1383
1378
|
}), c = (d) => {
|
|
1384
|
-
var m, v, w, b, C, R,
|
|
1379
|
+
var m, v, w, b, C, R, E;
|
|
1385
1380
|
try {
|
|
1386
1381
|
const L = ((m = d == null ? void 0 : d.response) == null ? void 0 : m.data) || d, z = L[i.value.url] || (L == null ? void 0 : L.id) || L.attachmentId, G = (v = L[i.value.suffix] || L.attachmentSuffix) == null ? void 0 : v.toLowerCase(), V = L[i.value.name] || (L == null ? void 0 : L.attachmentName) || (L == null ? void 0 : L.originName);
|
|
1387
1382
|
if (o.value = {
|
|
@@ -1414,9 +1409,9 @@ const pi = (a, s) => {
|
|
|
1414
1409
|
title: V,
|
|
1415
1410
|
url: Tt(r.loadUrl, z),
|
|
1416
1411
|
fileType: G,
|
|
1417
|
-
...((
|
|
1412
|
+
...((E = r.onlyOfficeConfig) == null ? void 0 : E.document) || {}
|
|
1418
1413
|
},
|
|
1419
|
-
documentType:
|
|
1414
|
+
documentType: Ku(G)
|
|
1420
1415
|
// document_fileType: getFileTypes(suffix),
|
|
1421
1416
|
}, console.log("config", n.value);
|
|
1422
1417
|
return;
|
|
@@ -1452,7 +1447,7 @@ const pi = (a, s) => {
|
|
|
1452
1447
|
oe,
|
|
1453
1448
|
{ key: 0 },
|
|
1454
1449
|
[
|
|
1455
|
-
(v = o.value) != null && v.url && u.image ? (k(), ge(P(
|
|
1450
|
+
(v = o.value) != null && v.url && u.image ? (k(), ge(P(Xh), {
|
|
1456
1451
|
key: 0,
|
|
1457
1452
|
onClose: m[0] || (m[0] = (C) => g()),
|
|
1458
1453
|
ref: "previewImgRef",
|
|
@@ -1462,7 +1457,7 @@ const pi = (a, s) => {
|
|
|
1462
1457
|
}, null, 8, ["url-list"])) : I("v-if", !0),
|
|
1463
1458
|
I(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
1464
1459
|
I(" 文档类 "),
|
|
1465
|
-
K(P(
|
|
1460
|
+
K(P(sp), {
|
|
1466
1461
|
modelValue: u.video,
|
|
1467
1462
|
"onUpdate:modelValue": m[1] || (m[1] = (C) => u.video = C),
|
|
1468
1463
|
url: (b = o.value) == null ? void 0 : b.url,
|
|
@@ -1484,18 +1479,18 @@ const pi = (a, s) => {
|
|
|
1484
1479
|
"modal-class": "ik-only-preview-dialog"
|
|
1485
1480
|
}, {
|
|
1486
1481
|
default: se(() => {
|
|
1487
|
-
var C, R,
|
|
1482
|
+
var C, R, E;
|
|
1488
1483
|
return [
|
|
1489
|
-
T("div",
|
|
1484
|
+
T("div", jc, [
|
|
1490
1485
|
T("img", {
|
|
1491
1486
|
src: (R = (C = n.value.editorConfig.customization) == null ? void 0 : C.logo) == null ? void 0 : R.image,
|
|
1492
1487
|
onClick: p,
|
|
1493
1488
|
alt: ""
|
|
1494
|
-
}, null, 8,
|
|
1489
|
+
}, null, 8, zc)
|
|
1495
1490
|
]),
|
|
1496
|
-
K(P(
|
|
1491
|
+
K(P(Dh), {
|
|
1497
1492
|
"config-options": n.value,
|
|
1498
|
-
"document-server-url": ((
|
|
1493
|
+
"document-server-url": ((E = a.onlyOfficeConfig) == null ? void 0 : E.serverUrl) || a.onlyofficeServer
|
|
1499
1494
|
}, null, 8, ["config-options", "document-server-url"])
|
|
1500
1495
|
];
|
|
1501
1496
|
}),
|
|
@@ -1521,11 +1516,11 @@ const pi = (a, s) => {
|
|
|
1521
1516
|
default: se(() => {
|
|
1522
1517
|
var C;
|
|
1523
1518
|
return [
|
|
1524
|
-
T("div",
|
|
1525
|
-
T("div",
|
|
1519
|
+
T("div", Vc, [
|
|
1520
|
+
T("div", qc, [
|
|
1526
1521
|
T(
|
|
1527
1522
|
"span",
|
|
1528
|
-
|
|
1523
|
+
Gc,
|
|
1529
1524
|
J((C = o.value) == null ? void 0 : C.name),
|
|
1530
1525
|
1
|
|
1531
1526
|
/* TEXT */
|
|
@@ -1533,7 +1528,7 @@ const pi = (a, s) => {
|
|
|
1533
1528
|
]),
|
|
1534
1529
|
T(
|
|
1535
1530
|
"pre",
|
|
1536
|
-
|
|
1531
|
+
Wc,
|
|
1537
1532
|
J(l.value),
|
|
1538
1533
|
1
|
|
1539
1534
|
/* TEXT */
|
|
@@ -1550,19 +1545,19 @@ const pi = (a, s) => {
|
|
|
1550
1545
|
)) : I("v-if", !0);
|
|
1551
1546
|
};
|
|
1552
1547
|
}
|
|
1553
|
-
}),
|
|
1548
|
+
}), Kc = He($c);
|
|
1554
1549
|
function Sl(a) {
|
|
1555
1550
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
1556
1551
|
}
|
|
1557
|
-
const
|
|
1552
|
+
const Yc = {
|
|
1558
1553
|
key: 1,
|
|
1559
1554
|
class: "h-[1em] w-[1em]",
|
|
1560
1555
|
"aria-hidden": "true"
|
|
1561
|
-
},
|
|
1556
|
+
}, Xc = ["xlink:href"], Jc = ["src"], Zc = {
|
|
1562
1557
|
key: 1,
|
|
1563
1558
|
class: "h-[1em] w-[1em]",
|
|
1564
1559
|
"aria-hidden": "true"
|
|
1565
|
-
},
|
|
1560
|
+
}, Qc = ["xlink:href"], ef = ["src"], tf = /* @__PURE__ */ ae({
|
|
1566
1561
|
name: "IkSvgIcon",
|
|
1567
1562
|
__name: "index",
|
|
1568
1563
|
props: {
|
|
@@ -1672,15 +1667,15 @@ const Kc = {
|
|
|
1672
1667
|
null,
|
|
1673
1668
|
2
|
|
1674
1669
|
/* CLASS */
|
|
1675
|
-
)) : e.value === "svg" ? (k(), S("svg",
|
|
1670
|
+
)) : e.value === "svg" ? (k(), S("svg", Yc, [
|
|
1676
1671
|
T("use", {
|
|
1677
1672
|
"xlink:href": `#${t.value.name}`
|
|
1678
|
-
}, null, 8,
|
|
1673
|
+
}, null, 8, Xc)
|
|
1679
1674
|
])) : e.value === "img" ? (k(), S("img", {
|
|
1680
1675
|
key: 2,
|
|
1681
1676
|
src: t.value.name,
|
|
1682
1677
|
class: "h-[1em] w-[1em]"
|
|
1683
|
-
}, null, 8,
|
|
1678
|
+
}, null, 8, Jc)) : (k(), S(
|
|
1684
1679
|
"i",
|
|
1685
1680
|
{
|
|
1686
1681
|
key: 3,
|
|
@@ -1710,15 +1705,15 @@ const Kc = {
|
|
|
1710
1705
|
null,
|
|
1711
1706
|
2
|
|
1712
1707
|
/* CLASS */
|
|
1713
|
-
)) : e.value === "svg" ? (k(), S("svg",
|
|
1708
|
+
)) : e.value === "svg" ? (k(), S("svg", Zc, [
|
|
1714
1709
|
T("use", {
|
|
1715
1710
|
"xlink:href": `#${t.value.name}`
|
|
1716
|
-
}, null, 8,
|
|
1711
|
+
}, null, 8, Qc)
|
|
1717
1712
|
])) : e.value === "img" ? (k(), S("img", {
|
|
1718
1713
|
key: 2,
|
|
1719
1714
|
src: t.value.name,
|
|
1720
1715
|
class: "h-[1em] w-[1em]"
|
|
1721
|
-
}, null, 8,
|
|
1716
|
+
}, null, 8, ef)) : (k(), S(
|
|
1722
1717
|
"i",
|
|
1723
1718
|
{
|
|
1724
1719
|
key: 3,
|
|
@@ -1754,7 +1749,7 @@ const Kc = {
|
|
|
1754
1749
|
);
|
|
1755
1750
|
};
|
|
1756
1751
|
}
|
|
1757
|
-
}),
|
|
1752
|
+
}), nf = /* @__PURE__ */ pi(tf, [["__scopeId", "data-v-9ebb0a94"]]), it = He(nf), rf = /* @__PURE__ */ ae({
|
|
1758
1753
|
__name: "CloseIcon",
|
|
1759
1754
|
props: {
|
|
1760
1755
|
showBg: {
|
|
@@ -1784,7 +1779,7 @@ const Kc = {
|
|
|
1784
1779
|
/* CLASS */
|
|
1785
1780
|
));
|
|
1786
1781
|
}
|
|
1787
|
-
}),
|
|
1782
|
+
}), af = /* @__PURE__ */ pi(rf, [["__scopeId", "data-v-da9210e2"]]), sf = { class: "base-header" }, of = /* @__PURE__ */ ae({
|
|
1788
1783
|
__name: "IkBaseDialog",
|
|
1789
1784
|
props: /* @__PURE__ */ Mt({
|
|
1790
1785
|
title: { default: "" },
|
|
@@ -1808,7 +1803,7 @@ const Kc = {
|
|
|
1808
1803
|
setup(a) {
|
|
1809
1804
|
const s = a, r = Qr(a, "modelValue"), t = ye(s.fullscreen), e = ae({
|
|
1810
1805
|
setup() {
|
|
1811
|
-
return () => Ru(
|
|
1806
|
+
return () => Ru(af, {
|
|
1812
1807
|
showBg: s.showCloseBg,
|
|
1813
1808
|
fullscreen: s.fullscreen
|
|
1814
1809
|
});
|
|
@@ -1837,7 +1832,7 @@ const Kc = {
|
|
|
1837
1832
|
])
|
|
1838
1833
|
]),
|
|
1839
1834
|
header: se(() => [
|
|
1840
|
-
T("div",
|
|
1835
|
+
T("div", sf, [
|
|
1841
1836
|
Ke(i.$slots, "header", {}, () => [
|
|
1842
1837
|
rt(
|
|
1843
1838
|
J(a.title),
|
|
@@ -1866,8 +1861,8 @@ const Kc = {
|
|
|
1866
1861
|
]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
|
|
1867
1862
|
};
|
|
1868
1863
|
}
|
|
1869
|
-
}), Oa = He(
|
|
1870
|
-
function
|
|
1864
|
+
}), Oa = He(of);
|
|
1865
|
+
function lf(a, s, r, t) {
|
|
1871
1866
|
function e(i) {
|
|
1872
1867
|
return i instanceof r ? i : new r(function(n) {
|
|
1873
1868
|
n(i);
|
|
@@ -1894,7 +1889,7 @@ function of(a, s, r, t) {
|
|
|
1894
1889
|
u((t = t.apply(a, [])).next());
|
|
1895
1890
|
});
|
|
1896
1891
|
}
|
|
1897
|
-
function
|
|
1892
|
+
function uf(a, s) {
|
|
1898
1893
|
var r = { label: 0, sent: function() {
|
|
1899
1894
|
if (i[0] & 1) throw i[1];
|
|
1900
1895
|
return i[1];
|
|
@@ -1954,9 +1949,9 @@ function lf(a, s) {
|
|
|
1954
1949
|
return { value: u[0] ? u[1] : void 0, done: !0 };
|
|
1955
1950
|
}
|
|
1956
1951
|
}
|
|
1957
|
-
var
|
|
1958
|
-
return
|
|
1959
|
-
return
|
|
1952
|
+
var cf = function(a, s) {
|
|
1953
|
+
return lf(void 0, void 0, void 0, function() {
|
|
1954
|
+
return uf(this, function(r) {
|
|
1960
1955
|
return [2, new Promise(function(t, e) {
|
|
1961
1956
|
try {
|
|
1962
1957
|
if (window.DocsAPI)
|
|
@@ -1990,11 +1985,11 @@ var uf = function(a, s) {
|
|
|
1990
1985
|
e.removeAttribute("loading"), t(i);
|
|
1991
1986
|
}, e.setAttribute("loading", ""), e;
|
|
1992
1987
|
}, Jt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1993
|
-
function
|
|
1988
|
+
function ff(a) {
|
|
1994
1989
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
1995
1990
|
}
|
|
1996
1991
|
var Ai, Fa;
|
|
1997
|
-
function
|
|
1992
|
+
function hf() {
|
|
1998
1993
|
if (Fa) return Ai;
|
|
1999
1994
|
Fa = 1;
|
|
2000
1995
|
function a() {
|
|
@@ -2025,7 +2020,7 @@ function vi() {
|
|
|
2025
2020
|
return Ri = s, Ri;
|
|
2026
2021
|
}
|
|
2027
2022
|
var Oi, Ba;
|
|
2028
|
-
function
|
|
2023
|
+
function df() {
|
|
2029
2024
|
if (Ba) return Oi;
|
|
2030
2025
|
Ba = 1;
|
|
2031
2026
|
var a = vi(), s = Array.prototype, r = s.splice;
|
|
@@ -2039,7 +2034,7 @@ function hf() {
|
|
|
2039
2034
|
return Oi = t, Oi;
|
|
2040
2035
|
}
|
|
2041
2036
|
var Di, Ha;
|
|
2042
|
-
function
|
|
2037
|
+
function gf() {
|
|
2043
2038
|
if (Ha) return Di;
|
|
2044
2039
|
Ha = 1;
|
|
2045
2040
|
var a = vi();
|
|
@@ -2050,7 +2045,7 @@ function df() {
|
|
|
2050
2045
|
return Di = s, Di;
|
|
2051
2046
|
}
|
|
2052
2047
|
var Fi, Ua;
|
|
2053
|
-
function
|
|
2048
|
+
function pf() {
|
|
2054
2049
|
if (Ua) return Fi;
|
|
2055
2050
|
Ua = 1;
|
|
2056
2051
|
var a = vi();
|
|
@@ -2060,7 +2055,7 @@ function gf() {
|
|
|
2060
2055
|
return Fi = s, Fi;
|
|
2061
2056
|
}
|
|
2062
2057
|
var Mi, ja;
|
|
2063
|
-
function
|
|
2058
|
+
function vf() {
|
|
2064
2059
|
if (ja) return Mi;
|
|
2065
2060
|
ja = 1;
|
|
2066
2061
|
var a = vi();
|
|
@@ -2074,7 +2069,7 @@ var Ni, za;
|
|
|
2074
2069
|
function mi() {
|
|
2075
2070
|
if (za) return Ni;
|
|
2076
2071
|
za = 1;
|
|
2077
|
-
var a =
|
|
2072
|
+
var a = hf(), s = df(), r = gf(), t = pf(), e = vf();
|
|
2078
2073
|
function i(n) {
|
|
2079
2074
|
var o = -1, l = n == null ? 0 : n.length;
|
|
2080
2075
|
for (this.clear(); ++o < l; ) {
|
|
@@ -2085,7 +2080,7 @@ function mi() {
|
|
|
2085
2080
|
return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, Ni = i, Ni;
|
|
2086
2081
|
}
|
|
2087
2082
|
var Bi, Va;
|
|
2088
|
-
function
|
|
2083
|
+
function mf() {
|
|
2089
2084
|
if (Va) return Bi;
|
|
2090
2085
|
Va = 1;
|
|
2091
2086
|
var a = mi();
|
|
@@ -2095,7 +2090,7 @@ function vf() {
|
|
|
2095
2090
|
return Bi = s, Bi;
|
|
2096
2091
|
}
|
|
2097
2092
|
var Hi, qa;
|
|
2098
|
-
function
|
|
2093
|
+
function yf() {
|
|
2099
2094
|
if (qa) return Hi;
|
|
2100
2095
|
qa = 1;
|
|
2101
2096
|
function a(s) {
|
|
@@ -2105,7 +2100,7 @@ function mf() {
|
|
|
2105
2100
|
return Hi = a, Hi;
|
|
2106
2101
|
}
|
|
2107
2102
|
var Ui, Ga;
|
|
2108
|
-
function
|
|
2103
|
+
function _f() {
|
|
2109
2104
|
if (Ga) return Ui;
|
|
2110
2105
|
Ga = 1;
|
|
2111
2106
|
function a(s) {
|
|
@@ -2114,7 +2109,7 @@ function yf() {
|
|
|
2114
2109
|
return Ui = a, Ui;
|
|
2115
2110
|
}
|
|
2116
2111
|
var ji, Wa;
|
|
2117
|
-
function
|
|
2112
|
+
function bf() {
|
|
2118
2113
|
if (Wa) return ji;
|
|
2119
2114
|
Wa = 1;
|
|
2120
2115
|
function a(s) {
|
|
@@ -2144,7 +2139,7 @@ function ia() {
|
|
|
2144
2139
|
return qi = s, qi;
|
|
2145
2140
|
}
|
|
2146
2141
|
var Gi, Xa;
|
|
2147
|
-
function
|
|
2142
|
+
function Cf() {
|
|
2148
2143
|
if (Xa) return Gi;
|
|
2149
2144
|
Xa = 1;
|
|
2150
2145
|
var a = ia(), s = Object.prototype, r = s.hasOwnProperty, t = s.toString, e = a ? a.toStringTag : void 0;
|
|
@@ -2161,7 +2156,7 @@ function bf() {
|
|
|
2161
2156
|
return Gi = i, Gi;
|
|
2162
2157
|
}
|
|
2163
2158
|
var Wi, Ja;
|
|
2164
|
-
function
|
|
2159
|
+
function kf() {
|
|
2165
2160
|
if (Ja) return Wi;
|
|
2166
2161
|
Ja = 1;
|
|
2167
2162
|
var a = Object.prototype, s = a.toString;
|
|
@@ -2174,7 +2169,7 @@ var $i, Za;
|
|
|
2174
2169
|
function yi() {
|
|
2175
2170
|
if (Za) return $i;
|
|
2176
2171
|
Za = 1;
|
|
2177
|
-
var a = ia(), s =
|
|
2172
|
+
var a = ia(), s = Cf(), r = kf(), t = "[object Null]", e = "[object Undefined]", i = a ? a.toStringTag : void 0;
|
|
2178
2173
|
function n(o) {
|
|
2179
2174
|
return o == null ? o === void 0 ? e : t : i && i in Object(o) ? s(o) : r(o);
|
|
2180
2175
|
}
|
|
@@ -2204,17 +2199,17 @@ function Il() {
|
|
|
2204
2199
|
return Yi = n, Yi;
|
|
2205
2200
|
}
|
|
2206
2201
|
var Xi, ts;
|
|
2207
|
-
function
|
|
2202
|
+
function wf() {
|
|
2208
2203
|
if (ts) return Xi;
|
|
2209
2204
|
ts = 1;
|
|
2210
2205
|
var a = Ae(), s = a["__core-js_shared__"];
|
|
2211
2206
|
return Xi = s, Xi;
|
|
2212
2207
|
}
|
|
2213
2208
|
var Ji, is;
|
|
2214
|
-
function
|
|
2209
|
+
function Tf() {
|
|
2215
2210
|
if (is) return Ji;
|
|
2216
2211
|
is = 1;
|
|
2217
|
-
var a =
|
|
2212
|
+
var a = wf(), s = (function() {
|
|
2218
2213
|
var t = /[^.]+$/.exec(a && a.keys && a.keys.IE_PROTO || "");
|
|
2219
2214
|
return t ? "Symbol(src)_1." + t : "";
|
|
2220
2215
|
})();
|
|
@@ -2244,10 +2239,10 @@ function Pl() {
|
|
|
2244
2239
|
return Zi = r, Zi;
|
|
2245
2240
|
}
|
|
2246
2241
|
var Qi, rs;
|
|
2247
|
-
function
|
|
2242
|
+
function Sf() {
|
|
2248
2243
|
if (rs) return Qi;
|
|
2249
2244
|
rs = 1;
|
|
2250
|
-
var a = Il(), s =
|
|
2245
|
+
var a = Il(), s = Tf(), r = Bt(), t = Pl(), e = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, n = Function.prototype, o = Object.prototype, l = n.toString, u = o.hasOwnProperty, c = RegExp(
|
|
2251
2246
|
"^" + l.call(u).replace(e, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
2252
2247
|
);
|
|
2253
2248
|
function f(g) {
|
|
@@ -2259,7 +2254,7 @@ function Tf() {
|
|
|
2259
2254
|
return Qi = f, Qi;
|
|
2260
2255
|
}
|
|
2261
2256
|
var en, as;
|
|
2262
|
-
function
|
|
2257
|
+
function Ef() {
|
|
2263
2258
|
if (as) return en;
|
|
2264
2259
|
as = 1;
|
|
2265
2260
|
function a(s, r) {
|
|
@@ -2271,7 +2266,7 @@ var tn, ss;
|
|
|
2271
2266
|
function st() {
|
|
2272
2267
|
if (ss) return tn;
|
|
2273
2268
|
ss = 1;
|
|
2274
|
-
var a =
|
|
2269
|
+
var a = Sf(), s = Ef();
|
|
2275
2270
|
function r(t, e) {
|
|
2276
2271
|
var i = s(t, e);
|
|
2277
2272
|
return a(i) ? i : void 0;
|
|
@@ -2293,7 +2288,7 @@ function _i() {
|
|
|
2293
2288
|
return rn = s, rn;
|
|
2294
2289
|
}
|
|
2295
2290
|
var an, us;
|
|
2296
|
-
function
|
|
2291
|
+
function xf() {
|
|
2297
2292
|
if (us) return an;
|
|
2298
2293
|
us = 1;
|
|
2299
2294
|
var a = _i();
|
|
@@ -2303,7 +2298,7 @@ function Ef() {
|
|
|
2303
2298
|
return an = s, an;
|
|
2304
2299
|
}
|
|
2305
2300
|
var sn, cs;
|
|
2306
|
-
function
|
|
2301
|
+
function If() {
|
|
2307
2302
|
if (cs) return sn;
|
|
2308
2303
|
cs = 1;
|
|
2309
2304
|
function a(s) {
|
|
@@ -2313,7 +2308,7 @@ function xf() {
|
|
|
2313
2308
|
return sn = a, sn;
|
|
2314
2309
|
}
|
|
2315
2310
|
var on, fs;
|
|
2316
|
-
function
|
|
2311
|
+
function Pf() {
|
|
2317
2312
|
if (fs) return on;
|
|
2318
2313
|
fs = 1;
|
|
2319
2314
|
var a = _i(), s = "__lodash_hash_undefined__", r = Object.prototype, t = r.hasOwnProperty;
|
|
@@ -2328,7 +2323,7 @@ function If() {
|
|
|
2328
2323
|
return on = e, on;
|
|
2329
2324
|
}
|
|
2330
2325
|
var ln, hs;
|
|
2331
|
-
function
|
|
2326
|
+
function Af() {
|
|
2332
2327
|
if (hs) return ln;
|
|
2333
2328
|
hs = 1;
|
|
2334
2329
|
var a = _i(), s = Object.prototype, r = s.hasOwnProperty;
|
|
@@ -2339,7 +2334,7 @@ function Pf() {
|
|
|
2339
2334
|
return ln = t, ln;
|
|
2340
2335
|
}
|
|
2341
2336
|
var un, ds;
|
|
2342
|
-
function
|
|
2337
|
+
function Lf() {
|
|
2343
2338
|
if (ds) return un;
|
|
2344
2339
|
ds = 1;
|
|
2345
2340
|
var a = _i(), s = "__lodash_hash_undefined__";
|
|
@@ -2350,10 +2345,10 @@ function Af() {
|
|
|
2350
2345
|
return un = r, un;
|
|
2351
2346
|
}
|
|
2352
2347
|
var cn, gs;
|
|
2353
|
-
function
|
|
2348
|
+
function Rf() {
|
|
2354
2349
|
if (gs) return cn;
|
|
2355
2350
|
gs = 1;
|
|
2356
|
-
var a =
|
|
2351
|
+
var a = xf(), s = If(), r = Pf(), t = Af(), e = Lf();
|
|
2357
2352
|
function i(n) {
|
|
2358
2353
|
var o = -1, l = n == null ? 0 : n.length;
|
|
2359
2354
|
for (this.clear(); ++o < l; ) {
|
|
@@ -2364,10 +2359,10 @@ function Lf() {
|
|
|
2364
2359
|
return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, cn = i, cn;
|
|
2365
2360
|
}
|
|
2366
2361
|
var fn, ps;
|
|
2367
|
-
function
|
|
2362
|
+
function Of() {
|
|
2368
2363
|
if (ps) return fn;
|
|
2369
2364
|
ps = 1;
|
|
2370
|
-
var a =
|
|
2365
|
+
var a = Rf(), s = mi(), r = na();
|
|
2371
2366
|
function t() {
|
|
2372
2367
|
this.size = 0, this.__data__ = {
|
|
2373
2368
|
hash: new a(),
|
|
@@ -2378,7 +2373,7 @@ function Rf() {
|
|
|
2378
2373
|
return fn = t, fn;
|
|
2379
2374
|
}
|
|
2380
2375
|
var hn, vs;
|
|
2381
|
-
function
|
|
2376
|
+
function Df() {
|
|
2382
2377
|
if (vs) return hn;
|
|
2383
2378
|
vs = 1;
|
|
2384
2379
|
function a(s) {
|
|
@@ -2391,7 +2386,7 @@ var dn, ms;
|
|
|
2391
2386
|
function bi() {
|
|
2392
2387
|
if (ms) return dn;
|
|
2393
2388
|
ms = 1;
|
|
2394
|
-
var a =
|
|
2389
|
+
var a = Df();
|
|
2395
2390
|
function s(r, t) {
|
|
2396
2391
|
var e = r.__data__;
|
|
2397
2392
|
return a(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
|
|
@@ -2399,7 +2394,7 @@ function bi() {
|
|
|
2399
2394
|
return dn = s, dn;
|
|
2400
2395
|
}
|
|
2401
2396
|
var gn, ys;
|
|
2402
|
-
function
|
|
2397
|
+
function Ff() {
|
|
2403
2398
|
if (ys) return gn;
|
|
2404
2399
|
ys = 1;
|
|
2405
2400
|
var a = bi();
|
|
@@ -2410,7 +2405,7 @@ function Df() {
|
|
|
2410
2405
|
return gn = s, gn;
|
|
2411
2406
|
}
|
|
2412
2407
|
var pn, _s;
|
|
2413
|
-
function
|
|
2408
|
+
function Mf() {
|
|
2414
2409
|
if (_s) return pn;
|
|
2415
2410
|
_s = 1;
|
|
2416
2411
|
var a = bi();
|
|
@@ -2420,7 +2415,7 @@ function Ff() {
|
|
|
2420
2415
|
return pn = s, pn;
|
|
2421
2416
|
}
|
|
2422
2417
|
var vn, bs;
|
|
2423
|
-
function
|
|
2418
|
+
function Nf() {
|
|
2424
2419
|
if (bs) return vn;
|
|
2425
2420
|
bs = 1;
|
|
2426
2421
|
var a = bi();
|
|
@@ -2430,7 +2425,7 @@ function Mf() {
|
|
|
2430
2425
|
return vn = s, vn;
|
|
2431
2426
|
}
|
|
2432
2427
|
var mn, Cs;
|
|
2433
|
-
function
|
|
2428
|
+
function Bf() {
|
|
2434
2429
|
if (Cs) return mn;
|
|
2435
2430
|
Cs = 1;
|
|
2436
2431
|
var a = bi();
|
|
@@ -2441,10 +2436,10 @@ function Nf() {
|
|
|
2441
2436
|
return mn = s, mn;
|
|
2442
2437
|
}
|
|
2443
2438
|
var yn, ks;
|
|
2444
|
-
function
|
|
2439
|
+
function Hf() {
|
|
2445
2440
|
if (ks) return yn;
|
|
2446
2441
|
ks = 1;
|
|
2447
|
-
var a =
|
|
2442
|
+
var a = Of(), s = Ff(), r = Mf(), t = Nf(), e = Bf();
|
|
2448
2443
|
function i(n) {
|
|
2449
2444
|
var o = -1, l = n == null ? 0 : n.length;
|
|
2450
2445
|
for (this.clear(); ++o < l; ) {
|
|
@@ -2455,10 +2450,10 @@ function Bf() {
|
|
|
2455
2450
|
return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, yn = i, yn;
|
|
2456
2451
|
}
|
|
2457
2452
|
var _n, ws;
|
|
2458
|
-
function
|
|
2453
|
+
function Uf() {
|
|
2459
2454
|
if (ws) return _n;
|
|
2460
2455
|
ws = 1;
|
|
2461
|
-
var a = mi(), s = na(), r =
|
|
2456
|
+
var a = mi(), s = na(), r = Hf(), t = 200;
|
|
2462
2457
|
function e(i, n) {
|
|
2463
2458
|
var o = this.__data__;
|
|
2464
2459
|
if (o instanceof a) {
|
|
@@ -2472,10 +2467,10 @@ function Hf() {
|
|
|
2472
2467
|
return _n = e, _n;
|
|
2473
2468
|
}
|
|
2474
2469
|
var bn, Ts;
|
|
2475
|
-
function
|
|
2470
|
+
function jf() {
|
|
2476
2471
|
if (Ts) return bn;
|
|
2477
2472
|
Ts = 1;
|
|
2478
|
-
var a = mi(), s =
|
|
2473
|
+
var a = mi(), s = mf(), r = yf(), t = _f(), e = bf(), i = Uf();
|
|
2479
2474
|
function n(o) {
|
|
2480
2475
|
var l = this.__data__ = new a(o);
|
|
2481
2476
|
this.size = l.size;
|
|
@@ -2483,7 +2478,7 @@ function Uf() {
|
|
|
2483
2478
|
return n.prototype.clear = s, n.prototype.delete = r, n.prototype.get = t, n.prototype.has = e, n.prototype.set = i, bn = n, bn;
|
|
2484
2479
|
}
|
|
2485
2480
|
var Cn, Ss;
|
|
2486
|
-
function
|
|
2481
|
+
function zf() {
|
|
2487
2482
|
if (Ss) return Cn;
|
|
2488
2483
|
Ss = 1;
|
|
2489
2484
|
function a(s, r) {
|
|
@@ -2494,7 +2489,7 @@ function jf() {
|
|
|
2494
2489
|
return Cn = a, Cn;
|
|
2495
2490
|
}
|
|
2496
2491
|
var kn, Es;
|
|
2497
|
-
function
|
|
2492
|
+
function Vf() {
|
|
2498
2493
|
if (Es) return kn;
|
|
2499
2494
|
Es = 1;
|
|
2500
2495
|
var a = st(), s = (function() {
|
|
@@ -2510,7 +2505,7 @@ var wn, xs;
|
|
|
2510
2505
|
function Al() {
|
|
2511
2506
|
if (xs) return wn;
|
|
2512
2507
|
xs = 1;
|
|
2513
|
-
var a =
|
|
2508
|
+
var a = Vf();
|
|
2514
2509
|
function s(r, t, e) {
|
|
2515
2510
|
t == "__proto__" && a ? a(r, t, {
|
|
2516
2511
|
configurable: !0,
|
|
@@ -2549,7 +2544,7 @@ function Ci() {
|
|
|
2549
2544
|
return Sn = r, Sn;
|
|
2550
2545
|
}
|
|
2551
2546
|
var En, As;
|
|
2552
|
-
function
|
|
2547
|
+
function qf() {
|
|
2553
2548
|
if (As) return En;
|
|
2554
2549
|
As = 1;
|
|
2555
2550
|
function a(s, r) {
|
|
@@ -2569,7 +2564,7 @@ function Ht() {
|
|
|
2569
2564
|
return xn = a, xn;
|
|
2570
2565
|
}
|
|
2571
2566
|
var In, Rs;
|
|
2572
|
-
function
|
|
2567
|
+
function Gf() {
|
|
2573
2568
|
if (Rs) return In;
|
|
2574
2569
|
Rs = 1;
|
|
2575
2570
|
var a = yi(), s = Ht(), r = "[object Arguments]";
|
|
@@ -2579,10 +2574,10 @@ function qf() {
|
|
|
2579
2574
|
return In = t, In;
|
|
2580
2575
|
}
|
|
2581
2576
|
var Pn, Os;
|
|
2582
|
-
function
|
|
2577
|
+
function Wf() {
|
|
2583
2578
|
if (Os) return Pn;
|
|
2584
2579
|
Os = 1;
|
|
2585
|
-
var a =
|
|
2580
|
+
var a = Gf(), s = Ht(), r = Object.prototype, t = r.hasOwnProperty, e = r.propertyIsEnumerable, i = a(/* @__PURE__ */ (function() {
|
|
2586
2581
|
return arguments;
|
|
2587
2582
|
})()) ? a : function(n) {
|
|
2588
2583
|
return s(n) && t.call(n, "callee") && !e.call(n, "callee");
|
|
@@ -2597,7 +2592,7 @@ function ra() {
|
|
|
2597
2592
|
return An = a, An;
|
|
2598
2593
|
}
|
|
2599
2594
|
var Lt = { exports: {} }, Ln, Fs;
|
|
2600
|
-
function
|
|
2595
|
+
function $f() {
|
|
2601
2596
|
if (Fs) return Ln;
|
|
2602
2597
|
Fs = 1;
|
|
2603
2598
|
function a() {
|
|
@@ -2609,12 +2604,12 @@ Lt.exports;
|
|
|
2609
2604
|
var Ms;
|
|
2610
2605
|
function Rl() {
|
|
2611
2606
|
return Ms || (Ms = 1, (function(a, s) {
|
|
2612
|
-
var r = Ae(), t =
|
|
2607
|
+
var r = Ae(), t = $f(), e = s && !s.nodeType && s, i = e && !0 && a && !a.nodeType && a, n = i && i.exports === e, o = n ? r.Buffer : void 0, l = o ? o.isBuffer : void 0, u = l || t;
|
|
2613
2608
|
a.exports = u;
|
|
2614
2609
|
})(Lt, Lt.exports)), Lt.exports;
|
|
2615
2610
|
}
|
|
2616
2611
|
var Rn, Ns;
|
|
2617
|
-
function
|
|
2612
|
+
function Kf() {
|
|
2618
2613
|
if (Ns) return Rn;
|
|
2619
2614
|
Ns = 1;
|
|
2620
2615
|
var a = 9007199254740991, s = /^(?:0|[1-9]\d*)$/;
|
|
@@ -2635,11 +2630,11 @@ function Ol() {
|
|
|
2635
2630
|
return On = s, On;
|
|
2636
2631
|
}
|
|
2637
2632
|
var Dn, Hs;
|
|
2638
|
-
function
|
|
2633
|
+
function Yf() {
|
|
2639
2634
|
if (Hs) return Dn;
|
|
2640
2635
|
Hs = 1;
|
|
2641
|
-
var a = yi(), s = Ol(), r = Ht(), t = "[object Arguments]", e = "[object Array]", i = "[object Boolean]", n = "[object Date]", o = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", f = "[object Object]", g = "[object RegExp]", p = "[object Set]", d = "[object String]", m = "[object WeakMap]", v = "[object ArrayBuffer]", w = "[object DataView]", b = "[object Float32Array]", C = "[object Float64Array]", R = "[object Int8Array]",
|
|
2642
|
-
F[b] = F[C] = F[R] = F[
|
|
2636
|
+
var a = yi(), s = Ol(), r = Ht(), t = "[object Arguments]", e = "[object Array]", i = "[object Boolean]", n = "[object Date]", o = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", f = "[object Object]", g = "[object RegExp]", p = "[object Set]", d = "[object String]", m = "[object WeakMap]", v = "[object ArrayBuffer]", w = "[object DataView]", b = "[object Float32Array]", C = "[object Float64Array]", R = "[object Int8Array]", E = "[object Int16Array]", L = "[object Int32Array]", z = "[object Uint8Array]", G = "[object Uint8ClampedArray]", V = "[object Uint16Array]", A = "[object Uint32Array]", F = {};
|
|
2637
|
+
F[b] = F[C] = F[R] = F[E] = F[L] = F[z] = F[G] = F[V] = F[A] = !0, F[t] = F[e] = F[v] = F[i] = F[w] = F[n] = F[o] = F[l] = F[u] = F[c] = F[f] = F[g] = F[p] = F[d] = F[m] = !1;
|
|
2643
2638
|
function re(pe) {
|
|
2644
2639
|
return r(pe) && s(pe.length) && !!F[a(pe)];
|
|
2645
2640
|
}
|
|
@@ -2672,17 +2667,17 @@ function sa() {
|
|
|
2672
2667
|
})(Rt, Rt.exports)), Rt.exports;
|
|
2673
2668
|
}
|
|
2674
2669
|
var Mn, zs;
|
|
2675
|
-
function
|
|
2670
|
+
function Xf() {
|
|
2676
2671
|
if (zs) return Mn;
|
|
2677
2672
|
zs = 1;
|
|
2678
|
-
var a =
|
|
2673
|
+
var a = Yf(), s = aa(), r = sa(), t = r && r.isTypedArray, e = t ? s(t) : a;
|
|
2679
2674
|
return Mn = e, Mn;
|
|
2680
2675
|
}
|
|
2681
2676
|
var Nn, Vs;
|
|
2682
2677
|
function Dl() {
|
|
2683
2678
|
if (Vs) return Nn;
|
|
2684
2679
|
Vs = 1;
|
|
2685
|
-
var a =
|
|
2680
|
+
var a = qf(), s = Wf(), r = ra(), t = Rl(), e = Kf(), i = Xf(), n = Object.prototype, o = n.hasOwnProperty;
|
|
2686
2681
|
function l(u, c) {
|
|
2687
2682
|
var f = r(u), g = !f && s(u), p = !f && !g && t(u), d = !f && !g && !p && i(u), m = f || g || p || d, v = m ? a(u.length, String) : [], w = v.length;
|
|
2688
2683
|
for (var b in u)
|
|
@@ -2718,17 +2713,17 @@ function Fl() {
|
|
|
2718
2713
|
return Hn = a, Hn;
|
|
2719
2714
|
}
|
|
2720
2715
|
var Un, Ws;
|
|
2721
|
-
function
|
|
2716
|
+
function Jf() {
|
|
2722
2717
|
if (Ws) return Un;
|
|
2723
2718
|
Ws = 1;
|
|
2724
2719
|
var a = Fl(), s = a(Object.keys, Object);
|
|
2725
2720
|
return Un = s, Un;
|
|
2726
2721
|
}
|
|
2727
2722
|
var jn, $s;
|
|
2728
|
-
function
|
|
2723
|
+
function Zf() {
|
|
2729
2724
|
if ($s) return jn;
|
|
2730
2725
|
$s = 1;
|
|
2731
|
-
var a = oa(), s =
|
|
2726
|
+
var a = oa(), s = Jf(), r = Object.prototype, t = r.hasOwnProperty;
|
|
2732
2727
|
function e(i) {
|
|
2733
2728
|
if (!a(i))
|
|
2734
2729
|
return s(i);
|
|
@@ -2753,14 +2748,14 @@ var Vn, Ys;
|
|
|
2753
2748
|
function la() {
|
|
2754
2749
|
if (Ys) return Vn;
|
|
2755
2750
|
Ys = 1;
|
|
2756
|
-
var a = Dl(), s =
|
|
2751
|
+
var a = Dl(), s = Zf(), r = Ml();
|
|
2757
2752
|
function t(e) {
|
|
2758
2753
|
return r(e) ? a(e) : s(e);
|
|
2759
2754
|
}
|
|
2760
2755
|
return Vn = t, Vn;
|
|
2761
2756
|
}
|
|
2762
2757
|
var qn, Xs;
|
|
2763
|
-
function
|
|
2758
|
+
function Qf() {
|
|
2764
2759
|
if (Xs) return qn;
|
|
2765
2760
|
Xs = 1;
|
|
2766
2761
|
var a = Ci(), s = la();
|
|
@@ -2770,7 +2765,7 @@ function Zf() {
|
|
|
2770
2765
|
return qn = r, qn;
|
|
2771
2766
|
}
|
|
2772
2767
|
var Gn, Js;
|
|
2773
|
-
function
|
|
2768
|
+
function eh() {
|
|
2774
2769
|
if (Js) return Gn;
|
|
2775
2770
|
Js = 1;
|
|
2776
2771
|
function a(s) {
|
|
@@ -2783,10 +2778,10 @@ function Qf() {
|
|
|
2783
2778
|
return Gn = a, Gn;
|
|
2784
2779
|
}
|
|
2785
2780
|
var Wn, Zs;
|
|
2786
|
-
function
|
|
2781
|
+
function th() {
|
|
2787
2782
|
if (Zs) return Wn;
|
|
2788
2783
|
Zs = 1;
|
|
2789
|
-
var a = Bt(), s = oa(), r =
|
|
2784
|
+
var a = Bt(), s = oa(), r = eh(), t = Object.prototype, e = t.hasOwnProperty;
|
|
2790
2785
|
function i(n) {
|
|
2791
2786
|
if (!a(n))
|
|
2792
2787
|
return r(n);
|
|
@@ -2801,14 +2796,14 @@ var $n, Qs;
|
|
|
2801
2796
|
function ua() {
|
|
2802
2797
|
if (Qs) return $n;
|
|
2803
2798
|
Qs = 1;
|
|
2804
|
-
var a = Dl(), s =
|
|
2799
|
+
var a = Dl(), s = th(), r = Ml();
|
|
2805
2800
|
function t(e) {
|
|
2806
2801
|
return r(e) ? a(e, !0) : s(e);
|
|
2807
2802
|
}
|
|
2808
2803
|
return $n = t, $n;
|
|
2809
2804
|
}
|
|
2810
2805
|
var Kn, eo;
|
|
2811
|
-
function
|
|
2806
|
+
function ih() {
|
|
2812
2807
|
if (eo) return Kn;
|
|
2813
2808
|
eo = 1;
|
|
2814
2809
|
var a = Ci(), s = ua();
|
|
@@ -2820,7 +2815,7 @@ function th() {
|
|
|
2820
2815
|
var Ot = { exports: {} };
|
|
2821
2816
|
Ot.exports;
|
|
2822
2817
|
var to;
|
|
2823
|
-
function
|
|
2818
|
+
function nh() {
|
|
2824
2819
|
return to || (to = 1, (function(a, s) {
|
|
2825
2820
|
var r = Ae(), t = s && !s.nodeType && s, e = t && !0 && a && !a.nodeType && a, i = e && e.exports === t, n = i ? r.Buffer : void 0, o = n ? n.allocUnsafe : void 0;
|
|
2826
2821
|
function l(u, c) {
|
|
@@ -2833,7 +2828,7 @@ function ih() {
|
|
|
2833
2828
|
})(Ot, Ot.exports)), Ot.exports;
|
|
2834
2829
|
}
|
|
2835
2830
|
var Yn, io;
|
|
2836
|
-
function
|
|
2831
|
+
function rh() {
|
|
2837
2832
|
if (io) return Yn;
|
|
2838
2833
|
io = 1;
|
|
2839
2834
|
function a(s, r) {
|
|
@@ -2845,7 +2840,7 @@ function nh() {
|
|
|
2845
2840
|
return Yn = a, Yn;
|
|
2846
2841
|
}
|
|
2847
2842
|
var Xn, no;
|
|
2848
|
-
function
|
|
2843
|
+
function ah() {
|
|
2849
2844
|
if (no) return Xn;
|
|
2850
2845
|
no = 1;
|
|
2851
2846
|
function a(s, r) {
|
|
@@ -2870,7 +2865,7 @@ var Zn, ao;
|
|
|
2870
2865
|
function ca() {
|
|
2871
2866
|
if (ao) return Zn;
|
|
2872
2867
|
ao = 1;
|
|
2873
|
-
var a =
|
|
2868
|
+
var a = ah(), s = Nl(), r = Object.prototype, t = r.propertyIsEnumerable, e = Object.getOwnPropertySymbols, i = e ? function(n) {
|
|
2874
2869
|
return n == null ? [] : (n = Object(n), a(e(n), function(o) {
|
|
2875
2870
|
return t.call(n, o);
|
|
2876
2871
|
}));
|
|
@@ -2878,7 +2873,7 @@ function ca() {
|
|
|
2878
2873
|
return Zn = i, Zn;
|
|
2879
2874
|
}
|
|
2880
2875
|
var Qn, so;
|
|
2881
|
-
function
|
|
2876
|
+
function sh() {
|
|
2882
2877
|
if (so) return Qn;
|
|
2883
2878
|
so = 1;
|
|
2884
2879
|
var a = Ci(), s = ca();
|
|
@@ -2917,7 +2912,7 @@ function Ul() {
|
|
|
2917
2912
|
return ir = i, ir;
|
|
2918
2913
|
}
|
|
2919
2914
|
var nr, co;
|
|
2920
|
-
function
|
|
2915
|
+
function oh() {
|
|
2921
2916
|
if (co) return nr;
|
|
2922
2917
|
co = 1;
|
|
2923
2918
|
var a = Ci(), s = Ul();
|
|
@@ -2938,7 +2933,7 @@ function jl() {
|
|
|
2938
2933
|
return rr = r, rr;
|
|
2939
2934
|
}
|
|
2940
2935
|
var ar, ho;
|
|
2941
|
-
function
|
|
2936
|
+
function lh() {
|
|
2942
2937
|
if (ho) return ar;
|
|
2943
2938
|
ho = 1;
|
|
2944
2939
|
var a = jl(), s = ca(), r = la();
|
|
@@ -2948,7 +2943,7 @@ function oh() {
|
|
|
2948
2943
|
return ar = t, ar;
|
|
2949
2944
|
}
|
|
2950
2945
|
var sr, go;
|
|
2951
|
-
function
|
|
2946
|
+
function uh() {
|
|
2952
2947
|
if (go) return sr;
|
|
2953
2948
|
go = 1;
|
|
2954
2949
|
var a = jl(), s = Ul(), r = ua();
|
|
@@ -2958,28 +2953,28 @@ function lh() {
|
|
|
2958
2953
|
return sr = t, sr;
|
|
2959
2954
|
}
|
|
2960
2955
|
var or, po;
|
|
2961
|
-
function
|
|
2956
|
+
function ch() {
|
|
2962
2957
|
if (po) return or;
|
|
2963
2958
|
po = 1;
|
|
2964
2959
|
var a = st(), s = Ae(), r = a(s, "DataView");
|
|
2965
2960
|
return or = r, or;
|
|
2966
2961
|
}
|
|
2967
2962
|
var lr, vo;
|
|
2968
|
-
function
|
|
2963
|
+
function fh() {
|
|
2969
2964
|
if (vo) return lr;
|
|
2970
2965
|
vo = 1;
|
|
2971
2966
|
var a = st(), s = Ae(), r = a(s, "Promise");
|
|
2972
2967
|
return lr = r, lr;
|
|
2973
2968
|
}
|
|
2974
2969
|
var ur, mo;
|
|
2975
|
-
function
|
|
2970
|
+
function hh() {
|
|
2976
2971
|
if (mo) return ur;
|
|
2977
2972
|
mo = 1;
|
|
2978
2973
|
var a = st(), s = Ae(), r = a(s, "Set");
|
|
2979
2974
|
return ur = r, ur;
|
|
2980
2975
|
}
|
|
2981
2976
|
var cr, yo;
|
|
2982
|
-
function
|
|
2977
|
+
function dh() {
|
|
2983
2978
|
if (yo) return cr;
|
|
2984
2979
|
yo = 1;
|
|
2985
2980
|
var a = st(), s = Ae(), r = a(s, "WeakMap");
|
|
@@ -2989,9 +2984,9 @@ var fr, _o;
|
|
|
2989
2984
|
function fa() {
|
|
2990
2985
|
if (_o) return fr;
|
|
2991
2986
|
_o = 1;
|
|
2992
|
-
var a =
|
|
2987
|
+
var a = ch(), s = na(), r = fh(), t = hh(), e = dh(), i = yi(), n = Pl(), o = "[object Map]", l = "[object Object]", u = "[object Promise]", c = "[object Set]", f = "[object WeakMap]", g = "[object DataView]", p = n(a), d = n(s), m = n(r), v = n(t), w = n(e), b = i;
|
|
2993
2988
|
return (a && b(new a(new ArrayBuffer(1))) != g || s && b(new s()) != o || r && b(r.resolve()) != u || t && b(new t()) != c || e && b(new e()) != f) && (b = function(C) {
|
|
2994
|
-
var R = i(C),
|
|
2989
|
+
var R = i(C), E = R == l ? C.constructor : void 0, L = E ? n(E) : "";
|
|
2995
2990
|
if (L)
|
|
2996
2991
|
switch (L) {
|
|
2997
2992
|
case p:
|
|
@@ -3009,7 +3004,7 @@ function fa() {
|
|
|
3009
3004
|
}), fr = b, fr;
|
|
3010
3005
|
}
|
|
3011
3006
|
var hr, bo;
|
|
3012
|
-
function
|
|
3007
|
+
function gh() {
|
|
3013
3008
|
if (bo) return hr;
|
|
3014
3009
|
bo = 1;
|
|
3015
3010
|
var a = Object.prototype, s = a.hasOwnProperty;
|
|
@@ -3020,7 +3015,7 @@ function dh() {
|
|
|
3020
3015
|
return hr = r, hr;
|
|
3021
3016
|
}
|
|
3022
3017
|
var dr, Co;
|
|
3023
|
-
function
|
|
3018
|
+
function ph() {
|
|
3024
3019
|
if (Co) return dr;
|
|
3025
3020
|
Co = 1;
|
|
3026
3021
|
var a = Ae(), s = a.Uint8Array;
|
|
@@ -3030,7 +3025,7 @@ var gr, ko;
|
|
|
3030
3025
|
function ha() {
|
|
3031
3026
|
if (ko) return gr;
|
|
3032
3027
|
ko = 1;
|
|
3033
|
-
var a =
|
|
3028
|
+
var a = ph();
|
|
3034
3029
|
function s(r) {
|
|
3035
3030
|
var t = new r.constructor(r.byteLength);
|
|
3036
3031
|
return new a(t).set(new a(r)), t;
|
|
@@ -3038,7 +3033,7 @@ function ha() {
|
|
|
3038
3033
|
return gr = s, gr;
|
|
3039
3034
|
}
|
|
3040
3035
|
var pr, wo;
|
|
3041
|
-
function
|
|
3036
|
+
function vh() {
|
|
3042
3037
|
if (wo) return pr;
|
|
3043
3038
|
wo = 1;
|
|
3044
3039
|
var a = ha();
|
|
@@ -3049,7 +3044,7 @@ function ph() {
|
|
|
3049
3044
|
return pr = s, pr;
|
|
3050
3045
|
}
|
|
3051
3046
|
var vr, To;
|
|
3052
|
-
function
|
|
3047
|
+
function mh() {
|
|
3053
3048
|
if (To) return vr;
|
|
3054
3049
|
To = 1;
|
|
3055
3050
|
var a = /\w*$/;
|
|
@@ -3060,7 +3055,7 @@ function vh() {
|
|
|
3060
3055
|
return vr = s, vr;
|
|
3061
3056
|
}
|
|
3062
3057
|
var mr, So;
|
|
3063
|
-
function
|
|
3058
|
+
function yh() {
|
|
3064
3059
|
if (So) return mr;
|
|
3065
3060
|
So = 1;
|
|
3066
3061
|
var a = ia(), s = a ? a.prototype : void 0, r = s ? s.valueOf : void 0;
|
|
@@ -3070,7 +3065,7 @@ function mh() {
|
|
|
3070
3065
|
return mr = t, mr;
|
|
3071
3066
|
}
|
|
3072
3067
|
var yr, Eo;
|
|
3073
|
-
function
|
|
3068
|
+
function _h() {
|
|
3074
3069
|
if (Eo) return yr;
|
|
3075
3070
|
Eo = 1;
|
|
3076
3071
|
var a = ha();
|
|
@@ -3081,10 +3076,10 @@ function yh() {
|
|
|
3081
3076
|
return yr = s, yr;
|
|
3082
3077
|
}
|
|
3083
3078
|
var _r, xo;
|
|
3084
|
-
function
|
|
3079
|
+
function bh() {
|
|
3085
3080
|
if (xo) return _r;
|
|
3086
3081
|
xo = 1;
|
|
3087
|
-
var a = ha(), s =
|
|
3082
|
+
var a = ha(), s = vh(), r = mh(), t = yh(), e = _h(), i = "[object Boolean]", n = "[object Date]", o = "[object Map]", l = "[object Number]", u = "[object RegExp]", c = "[object Set]", f = "[object String]", g = "[object Symbol]", p = "[object ArrayBuffer]", d = "[object DataView]", m = "[object Float32Array]", v = "[object Float64Array]", w = "[object Int8Array]", b = "[object Int16Array]", C = "[object Int32Array]", R = "[object Uint8Array]", E = "[object Uint8ClampedArray]", L = "[object Uint16Array]", z = "[object Uint32Array]";
|
|
3088
3083
|
function G(V, A, F) {
|
|
3089
3084
|
var re = V.constructor;
|
|
3090
3085
|
switch (A) {
|
|
@@ -3101,7 +3096,7 @@ function _h() {
|
|
|
3101
3096
|
case b:
|
|
3102
3097
|
case C:
|
|
3103
3098
|
case R:
|
|
3104
|
-
case
|
|
3099
|
+
case E:
|
|
3105
3100
|
case L:
|
|
3106
3101
|
case z:
|
|
3107
3102
|
return e(V, F);
|
|
@@ -3121,7 +3116,7 @@ function _h() {
|
|
|
3121
3116
|
return _r = G, _r;
|
|
3122
3117
|
}
|
|
3123
3118
|
var br, Io;
|
|
3124
|
-
function
|
|
3119
|
+
function Ch() {
|
|
3125
3120
|
if (Io) return br;
|
|
3126
3121
|
Io = 1;
|
|
3127
3122
|
var a = Bt(), s = Object.create, r = /* @__PURE__ */ (function() {
|
|
@@ -3140,17 +3135,17 @@ function bh() {
|
|
|
3140
3135
|
return br = r, br;
|
|
3141
3136
|
}
|
|
3142
3137
|
var Cr, Po;
|
|
3143
|
-
function
|
|
3138
|
+
function kh() {
|
|
3144
3139
|
if (Po) return Cr;
|
|
3145
3140
|
Po = 1;
|
|
3146
|
-
var a =
|
|
3141
|
+
var a = Ch(), s = Hl(), r = oa();
|
|
3147
3142
|
function t(e) {
|
|
3148
3143
|
return typeof e.constructor == "function" && !r(e) ? a(s(e)) : {};
|
|
3149
3144
|
}
|
|
3150
3145
|
return Cr = t, Cr;
|
|
3151
3146
|
}
|
|
3152
3147
|
var kr, Ao;
|
|
3153
|
-
function
|
|
3148
|
+
function wh() {
|
|
3154
3149
|
if (Ao) return kr;
|
|
3155
3150
|
Ao = 1;
|
|
3156
3151
|
var a = fa(), s = Ht(), r = "[object Map]";
|
|
@@ -3160,14 +3155,14 @@ function kh() {
|
|
|
3160
3155
|
return kr = t, kr;
|
|
3161
3156
|
}
|
|
3162
3157
|
var wr, Lo;
|
|
3163
|
-
function
|
|
3158
|
+
function Th() {
|
|
3164
3159
|
if (Lo) return wr;
|
|
3165
3160
|
Lo = 1;
|
|
3166
|
-
var a =
|
|
3161
|
+
var a = wh(), s = aa(), r = sa(), t = r && r.isMap, e = t ? s(t) : a;
|
|
3167
3162
|
return wr = e, wr;
|
|
3168
3163
|
}
|
|
3169
3164
|
var Tr, Ro;
|
|
3170
|
-
function
|
|
3165
|
+
function Sh() {
|
|
3171
3166
|
if (Ro) return Tr;
|
|
3172
3167
|
Ro = 1;
|
|
3173
3168
|
var a = fa(), s = Ht(), r = "[object Set]";
|
|
@@ -3177,17 +3172,17 @@ function Th() {
|
|
|
3177
3172
|
return Tr = t, Tr;
|
|
3178
3173
|
}
|
|
3179
3174
|
var Sr, Oo;
|
|
3180
|
-
function
|
|
3175
|
+
function Eh() {
|
|
3181
3176
|
if (Oo) return Sr;
|
|
3182
3177
|
Oo = 1;
|
|
3183
|
-
var a =
|
|
3178
|
+
var a = Sh(), s = aa(), r = sa(), t = r && r.isSet, e = t ? s(t) : a;
|
|
3184
3179
|
return Sr = e, Sr;
|
|
3185
3180
|
}
|
|
3186
3181
|
var Er, Do;
|
|
3187
|
-
function
|
|
3182
|
+
function xh() {
|
|
3188
3183
|
if (Do) return Er;
|
|
3189
3184
|
Do = 1;
|
|
3190
|
-
var a =
|
|
3185
|
+
var a = jf(), s = zf(), r = Ll(), t = Qf(), e = ih(), i = nh(), n = rh(), o = sh(), l = oh(), u = lh(), c = uh(), f = fa(), g = gh(), p = bh(), d = kh(), m = ra(), v = Rl(), w = Th(), b = Bt(), C = Eh(), R = la(), E = ua(), L = 1, z = 2, G = 4, V = "[object Arguments]", A = "[object Array]", F = "[object Boolean]", re = "[object Date]", pe = "[object Error]", Le = "[object Function]", zt = "[object GeneratorFunction]", Vt = "[object Map]", Et = "[object Number]", xt = "[object Object]", qt = "[object RegExp]", Re = "[object Set]", H = "[object String]", $ = "[object Symbol]", ne = "[object WeakMap]", ve = "[object ArrayBuffer]", we = "[object DataView]", Te = "[object Float32Array]", xe = "[object Float64Array]", Ze = "[object Int8Array]", Gt = "[object Int16Array]", Wt = "[object Int32Array]", It = "[object Uint8Array]", Eu = "[object Uint8ClampedArray]", xu = "[object Uint16Array]", Iu = "[object Uint32Array]", Z = {};
|
|
3191
3186
|
Z[V] = Z[A] = Z[ve] = Z[we] = Z[F] = Z[re] = Z[Te] = Z[xe] = Z[Ze] = Z[Gt] = Z[Wt] = Z[Vt] = Z[Et] = Z[xt] = Z[qt] = Z[Re] = Z[H] = Z[$] = Z[It] = Z[Eu] = Z[xu] = Z[Iu] = !0, Z[pe] = Z[Le] = Z[ne] = !1;
|
|
3192
3187
|
function $t(X, ct, ft, Pu, Kt, je) {
|
|
3193
3188
|
var he, Yt = ct & L, Xt = ct & z, Au = ct & G;
|
|
@@ -3221,7 +3216,7 @@ function Eh() {
|
|
|
3221
3216
|
}) : w(X) && X.forEach(function(ze, Qe) {
|
|
3222
3217
|
he.set(Qe, $t(ze, ct, ft, Qe, X, je));
|
|
3223
3218
|
});
|
|
3224
|
-
var Lu = Au ? Xt ? c : u : Xt ?
|
|
3219
|
+
var Lu = Au ? Xt ? c : u : Xt ? E : R, Ia = Sa ? void 0 : Lu(X);
|
|
3225
3220
|
return s(Ia || X, function(ze, Qe) {
|
|
3226
3221
|
Ia && (Qe = ze, ze = X[Qe]), r(he, Qe, $t(ze, ct, ft, Qe, X, je));
|
|
3227
3222
|
}), he;
|
|
@@ -3229,16 +3224,16 @@ function Eh() {
|
|
|
3229
3224
|
return Er = $t, Er;
|
|
3230
3225
|
}
|
|
3231
3226
|
var xr, Fo;
|
|
3232
|
-
function
|
|
3227
|
+
function Ih() {
|
|
3233
3228
|
if (Fo) return xr;
|
|
3234
3229
|
Fo = 1;
|
|
3235
|
-
var a =
|
|
3230
|
+
var a = xh(), s = 1, r = 4;
|
|
3236
3231
|
function t(e) {
|
|
3237
3232
|
return a(e, s | r);
|
|
3238
3233
|
}
|
|
3239
3234
|
return xr = t, xr;
|
|
3240
3235
|
}
|
|
3241
|
-
var
|
|
3236
|
+
var Ph = Ih(), Ah = /* @__PURE__ */ ff(Ph), da = ae({
|
|
3242
3237
|
name: "DocumentEditor",
|
|
3243
3238
|
props: {
|
|
3244
3239
|
id: {
|
|
@@ -3298,7 +3293,7 @@ var Ih = xh(), Ph = /* @__PURE__ */ cf(Ih), da = ae({
|
|
|
3298
3293
|
var a = this, s, r = this.documentServerUrl;
|
|
3299
3294
|
r.endsWith("/") || (r += "/");
|
|
3300
3295
|
var t = "".concat(r, "web-apps/apps/api/documents/api.js");
|
|
3301
|
-
this.shardkey && (typeof this.shardkey == "boolean" ? t += "?shardkey=".concat((s = this.config.document) === null || s === void 0 ? void 0 : s.key) : t += "?shardkey=".concat(this.shardkey)),
|
|
3296
|
+
this.shardkey && (typeof this.shardkey == "boolean" ? t += "?shardkey=".concat((s = this.config.document) === null || s === void 0 ? void 0 : s.key) : t += "?shardkey=".concat(this.shardkey)), cf(t, "onlyoffice-api-script").then(function() {
|
|
3302
3297
|
return a.onLoad();
|
|
3303
3298
|
}).catch(function() {
|
|
3304
3299
|
a.onError(-2);
|
|
@@ -3347,7 +3342,7 @@ var Ih = xh(), Ph = /* @__PURE__ */ cf(Ih), da = ae({
|
|
|
3347
3342
|
return;
|
|
3348
3343
|
}
|
|
3349
3344
|
!((s = window == null ? void 0 : window.DocEditor) === null || s === void 0) && s.instances || (window.DocEditor = { instances: {} });
|
|
3350
|
-
var t =
|
|
3345
|
+
var t = Ah(this.config), e = {
|
|
3351
3346
|
documentType: this.documentType,
|
|
3352
3347
|
events: {
|
|
3353
3348
|
onAppReady: this.onAppReady,
|
|
@@ -3416,13 +3411,13 @@ var Ih = xh(), Ph = /* @__PURE__ */ cf(Ih), da = ae({
|
|
|
3416
3411
|
}
|
|
3417
3412
|
}
|
|
3418
3413
|
});
|
|
3419
|
-
const
|
|
3420
|
-
function
|
|
3421
|
-
return k(), S("div", { id: a.id }, null, 8,
|
|
3414
|
+
const Lh = ["id"];
|
|
3415
|
+
function Rh(a, s, r, t, e, i) {
|
|
3416
|
+
return k(), S("div", { id: a.id }, null, 8, Lh);
|
|
3422
3417
|
}
|
|
3423
|
-
da.render =
|
|
3418
|
+
da.render = Rh;
|
|
3424
3419
|
da.__file = "src/components/DocumentEditor.vue";
|
|
3425
|
-
const
|
|
3420
|
+
const Oh = /* @__PURE__ */ ae({
|
|
3426
3421
|
__name: "IkOnlyOffice",
|
|
3427
3422
|
props: {
|
|
3428
3423
|
// 文件服务器的服务的地址
|
|
@@ -3469,39 +3464,39 @@ const Rh = /* @__PURE__ */ ae({
|
|
|
3469
3464
|
/* STYLE */
|
|
3470
3465
|
));
|
|
3471
3466
|
}
|
|
3472
|
-
}),
|
|
3467
|
+
}), Dh = He(Oh);
|
|
3473
3468
|
var Mo;
|
|
3474
|
-
const zl = typeof window < "u",
|
|
3469
|
+
const zl = typeof window < "u", Fh = (a) => typeof a == "string", Mh = () => {
|
|
3475
3470
|
};
|
|
3476
3471
|
zl && ((Mo = window == null ? void 0 : window.navigator) != null && Mo.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
3477
3472
|
function Vl(a) {
|
|
3478
3473
|
return typeof a == "function" ? a() : P(a);
|
|
3479
3474
|
}
|
|
3480
|
-
function
|
|
3475
|
+
function Nh(a) {
|
|
3481
3476
|
return a;
|
|
3482
3477
|
}
|
|
3483
|
-
function
|
|
3478
|
+
function Bh(a) {
|
|
3484
3479
|
return Du() ? (Fu(a), !0) : !1;
|
|
3485
3480
|
}
|
|
3486
|
-
function
|
|
3481
|
+
function Hh(a) {
|
|
3487
3482
|
var s;
|
|
3488
3483
|
const r = Vl(a);
|
|
3489
3484
|
return (s = r == null ? void 0 : r.$el) != null ? s : r;
|
|
3490
3485
|
}
|
|
3491
|
-
const
|
|
3486
|
+
const Uh = zl ? window : void 0;
|
|
3492
3487
|
function Zt(...a) {
|
|
3493
3488
|
let s, r, t, e;
|
|
3494
|
-
if (
|
|
3495
|
-
return
|
|
3489
|
+
if (Fh(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, s = Uh) : [s, r, t, e] = a, !s)
|
|
3490
|
+
return Mh;
|
|
3496
3491
|
Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
|
|
3497
3492
|
const i = [], n = () => {
|
|
3498
3493
|
i.forEach((c) => c()), i.length = 0;
|
|
3499
|
-
}, o = (c, f, g, p) => (c.addEventListener(f, g, p), () => c.removeEventListener(f, g, p)), l = kt(() => [
|
|
3494
|
+
}, o = (c, f, g, p) => (c.addEventListener(f, g, p), () => c.removeEventListener(f, g, p)), l = kt(() => [Hh(s), Vl(e)], ([c, f]) => {
|
|
3500
3495
|
n(), c && i.push(...r.flatMap((g) => t.map((p) => o(c, g, p, f))));
|
|
3501
3496
|
}, { immediate: !0, flush: "post" }), u = () => {
|
|
3502
3497
|
l(), n();
|
|
3503
3498
|
};
|
|
3504
|
-
return
|
|
3499
|
+
return Bh(u), u;
|
|
3505
3500
|
}
|
|
3506
3501
|
const No = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Bo = "__vueuse_ssr_handlers__";
|
|
3507
3502
|
No[Bo] = No[Bo] || {};
|
|
@@ -3509,15 +3504,15 @@ var Ho;
|
|
|
3509
3504
|
(function(a) {
|
|
3510
3505
|
a.UP = "UP", a.RIGHT = "RIGHT", a.DOWN = "DOWN", a.LEFT = "LEFT", a.NONE = "NONE";
|
|
3511
3506
|
})(Ho || (Ho = {}));
|
|
3512
|
-
var
|
|
3507
|
+
var jh = Object.defineProperty, Uo = Object.getOwnPropertySymbols, zh = Object.prototype.hasOwnProperty, Vh = Object.prototype.propertyIsEnumerable, jo = (a, s, r) => s in a ? jh(a, s, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[s] = r, qh = (a, s) => {
|
|
3513
3508
|
for (var r in s || (s = {}))
|
|
3514
|
-
|
|
3509
|
+
zh.call(s, r) && jo(a, r, s[r]);
|
|
3515
3510
|
if (Uo)
|
|
3516
3511
|
for (var r of Uo(s))
|
|
3517
|
-
|
|
3512
|
+
Vh.call(s, r) && jo(a, r, s[r]);
|
|
3518
3513
|
return a;
|
|
3519
3514
|
};
|
|
3520
|
-
const
|
|
3515
|
+
const Gh = {
|
|
3521
3516
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
3522
3517
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
3523
3518
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -3543,10 +3538,10 @@ const qh = {
|
|
|
3543
3538
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
3544
3539
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
3545
3540
|
};
|
|
3546
|
-
|
|
3547
|
-
linear:
|
|
3548
|
-
},
|
|
3549
|
-
const
|
|
3541
|
+
qh({
|
|
3542
|
+
linear: Nh
|
|
3543
|
+
}, Gh);
|
|
3544
|
+
const Wh = {
|
|
3550
3545
|
/**
|
|
3551
3546
|
* @description preview link list.
|
|
3552
3547
|
*/
|
|
@@ -3616,26 +3611,26 @@ const Gh = {
|
|
|
3616
3611
|
crossorigin: {
|
|
3617
3612
|
type: ["anonymous", "use-credentials", ""]
|
|
3618
3613
|
}
|
|
3619
|
-
},
|
|
3614
|
+
}, $h = {
|
|
3620
3615
|
close: () => !0,
|
|
3621
3616
|
switch: (a) => Gr.isNumber(a),
|
|
3622
3617
|
rotate: (a) => Gr.isNumber(a)
|
|
3623
|
-
},
|
|
3618
|
+
}, Kh = ["src", "crossorigin"], Yh = /* @__PURE__ */ ae({
|
|
3624
3619
|
name: "ElImageViewer",
|
|
3625
3620
|
__name: "IkImageViewer",
|
|
3626
|
-
props:
|
|
3627
|
-
emits:
|
|
3621
|
+
props: Wh,
|
|
3622
|
+
emits: $h,
|
|
3628
3623
|
setup(a, { expose: s, emit: r }) {
|
|
3629
3624
|
const t = (H) => Object.keys(H), e = {
|
|
3630
3625
|
CONTAIN: {
|
|
3631
3626
|
name: "contain",
|
|
3632
|
-
icon: Pa(
|
|
3627
|
+
icon: Pa(gc)
|
|
3633
3628
|
},
|
|
3634
3629
|
ORIGINAL: {
|
|
3635
3630
|
name: "original",
|
|
3636
|
-
icon: Pa(
|
|
3631
|
+
icon: Pa(bc)
|
|
3637
3632
|
}
|
|
3638
|
-
}, i = a, n = r, { t: o } =
|
|
3633
|
+
}, i = a, n = r, { t: o } = Gu(), l = wl("image-viewer"), { nextZIndex: u } = Wu(), c = ye(), f = ye([]), g = Mu(), p = ye(!0), d = ye(i.initialIndex), m = Nu(e.CONTAIN), v = ye({
|
|
3639
3634
|
scale: 1,
|
|
3640
3635
|
deg: 0,
|
|
3641
3636
|
offsetX: 0,
|
|
@@ -3644,7 +3639,7 @@ const Gh = {
|
|
|
3644
3639
|
}), w = ye(i.zIndex ?? u()), b = ie(() => {
|
|
3645
3640
|
const { urlList: H } = i;
|
|
3646
3641
|
return H.length <= 1;
|
|
3647
|
-
}), C = ie(() => d.value === 0), R = ie(() => d.value === i.urlList.length - 1),
|
|
3642
|
+
}), C = ie(() => d.value === 0), R = ie(() => d.value === i.urlList.length - 1), E = ie(() => i.urlList[d.value]), L = ie(() => [
|
|
3648
3643
|
l.e("btn"),
|
|
3649
3644
|
l.e("prev"),
|
|
3650
3645
|
l.is("disabled", !i.infinite && C.value)
|
|
@@ -3780,7 +3775,7 @@ const Gh = {
|
|
|
3780
3775
|
}
|
|
3781
3776
|
v.value.enableTransition = xe;
|
|
3782
3777
|
}
|
|
3783
|
-
return kt(
|
|
3778
|
+
return kt(E, () => {
|
|
3784
3779
|
Ft(() => {
|
|
3785
3780
|
const H = f.value[0];
|
|
3786
3781
|
H != null && H.complete || (p.value = !0);
|
|
@@ -3854,7 +3849,7 @@ const Gh = {
|
|
|
3854
3849
|
[
|
|
3855
3850
|
K(P(Ve), null, {
|
|
3856
3851
|
default: se(() => [
|
|
3857
|
-
K(P(
|
|
3852
|
+
K(P(uc))
|
|
3858
3853
|
]),
|
|
3859
3854
|
_: 1
|
|
3860
3855
|
/* STABLE */
|
|
@@ -3872,7 +3867,7 @@ const Gh = {
|
|
|
3872
3867
|
[
|
|
3873
3868
|
K(P(Ve), null, {
|
|
3874
3869
|
default: se(() => [
|
|
3875
|
-
K(P(
|
|
3870
|
+
K(P(fc))
|
|
3876
3871
|
]),
|
|
3877
3872
|
_: 1
|
|
3878
3873
|
/* STABLE */
|
|
@@ -3902,7 +3897,7 @@ const Gh = {
|
|
|
3902
3897
|
onClick: $[1] || ($[1] = (ne) => Re("zoomOut"))
|
|
3903
3898
|
}, {
|
|
3904
3899
|
default: se(() => [
|
|
3905
|
-
K(P(
|
|
3900
|
+
K(P(Tc))
|
|
3906
3901
|
]),
|
|
3907
3902
|
_: 1
|
|
3908
3903
|
/* STABLE */
|
|
@@ -3911,7 +3906,7 @@ const Gh = {
|
|
|
3911
3906
|
onClick: $[2] || ($[2] = (ne) => Re("zoomIn"))
|
|
3912
3907
|
}, {
|
|
3913
3908
|
default: se(() => [
|
|
3914
|
-
K(P(
|
|
3909
|
+
K(P(kc))
|
|
3915
3910
|
]),
|
|
3916
3911
|
_: 1
|
|
3917
3912
|
/* STABLE */
|
|
@@ -3945,7 +3940,7 @@ const Gh = {
|
|
|
3945
3940
|
onClick: $[3] || ($[3] = (ne) => Re("anticlockwise"))
|
|
3946
3941
|
}, {
|
|
3947
3942
|
default: se(() => [
|
|
3948
|
-
K(P(
|
|
3943
|
+
K(P(vc))
|
|
3949
3944
|
]),
|
|
3950
3945
|
_: 1
|
|
3951
3946
|
/* STABLE */
|
|
@@ -3954,7 +3949,7 @@ const Gh = {
|
|
|
3954
3949
|
onClick: $[4] || ($[4] = (ne) => Re("clockwise"))
|
|
3955
3950
|
}, {
|
|
3956
3951
|
default: se(() => [
|
|
3957
|
-
K(P(
|
|
3952
|
+
K(P(yc))
|
|
3958
3953
|
]),
|
|
3959
3954
|
_: 1
|
|
3960
3955
|
/* STABLE */
|
|
@@ -3988,7 +3983,7 @@ const Gh = {
|
|
|
3988
3983
|
onLoad: re,
|
|
3989
3984
|
onError: pe,
|
|
3990
3985
|
onMousedown: Le
|
|
3991
|
-
}, null, 46,
|
|
3986
|
+
}, null, 46, Kh)), [
|
|
3992
3987
|
[Uu, ve === d.value]
|
|
3993
3988
|
])),
|
|
3994
3989
|
128
|
|
@@ -4009,8 +4004,8 @@ const Gh = {
|
|
|
4009
4004
|
})
|
|
4010
4005
|
]));
|
|
4011
4006
|
}
|
|
4012
|
-
}),
|
|
4013
|
-
function
|
|
4007
|
+
}), Xh = He(Yh);
|
|
4008
|
+
function Jh(a, s) {
|
|
4014
4009
|
var r = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
|
|
4015
4010
|
if (r != null) {
|
|
4016
4011
|
var t, e, i, n, o = [], l = !0, u = !1;
|
|
@@ -4106,7 +4101,7 @@ function Wr(a, s) {
|
|
|
4106
4101
|
return t.__proto__ = e, t;
|
|
4107
4102
|
}, Wr(a, s);
|
|
4108
4103
|
}
|
|
4109
|
-
function
|
|
4104
|
+
function Zh() {
|
|
4110
4105
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
4111
4106
|
return !1;
|
|
4112
4107
|
if (typeof Proxy == "function")
|
|
@@ -4131,7 +4126,7 @@ function ga(a, s) {
|
|
|
4131
4126
|
return y(a);
|
|
4132
4127
|
}
|
|
4133
4128
|
function N(a) {
|
|
4134
|
-
var s =
|
|
4129
|
+
var s = Zh();
|
|
4135
4130
|
return function() {
|
|
4136
4131
|
var t = B(a), e;
|
|
4137
4132
|
if (s) {
|
|
@@ -4142,35 +4137,35 @@ function N(a) {
|
|
|
4142
4137
|
return ga(this, e);
|
|
4143
4138
|
};
|
|
4144
4139
|
}
|
|
4145
|
-
function
|
|
4140
|
+
function Qh(a, s) {
|
|
4146
4141
|
for (; !Object.prototype.hasOwnProperty.call(a, s) && (a = B(a), a !== null); )
|
|
4147
4142
|
;
|
|
4148
4143
|
return a;
|
|
4149
4144
|
}
|
|
4150
4145
|
function U() {
|
|
4151
4146
|
return typeof Reflect < "u" && Reflect.get ? U = Reflect.get.bind() : U = function(s, r, t) {
|
|
4152
|
-
var e =
|
|
4147
|
+
var e = Qh(s, r);
|
|
4153
4148
|
if (e) {
|
|
4154
4149
|
var i = Object.getOwnPropertyDescriptor(e, r);
|
|
4155
4150
|
return i.get ? i.get.call(arguments.length < 3 ? s : t) : i.value;
|
|
4156
4151
|
}
|
|
4157
4152
|
}, U.apply(this, arguments);
|
|
4158
4153
|
}
|
|
4159
|
-
function
|
|
4160
|
-
return
|
|
4154
|
+
function ed(a, s) {
|
|
4155
|
+
return id(a) || Jh(a, s) || ql(a, s) || ad();
|
|
4161
4156
|
}
|
|
4162
4157
|
function Ee(a) {
|
|
4163
|
-
return
|
|
4158
|
+
return td(a) || nd(a) || ql(a) || rd();
|
|
4164
4159
|
}
|
|
4165
|
-
function
|
|
4160
|
+
function td(a) {
|
|
4166
4161
|
if (Array.isArray(a))
|
|
4167
4162
|
return $r(a);
|
|
4168
4163
|
}
|
|
4169
|
-
function
|
|
4164
|
+
function id(a) {
|
|
4170
4165
|
if (Array.isArray(a))
|
|
4171
4166
|
return a;
|
|
4172
4167
|
}
|
|
4173
|
-
function
|
|
4168
|
+
function nd(a) {
|
|
4174
4169
|
if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
|
|
4175
4170
|
return Array.from(a);
|
|
4176
4171
|
}
|
|
@@ -4191,15 +4186,15 @@ function $r(a, s) {
|
|
|
4191
4186
|
t[r] = a[r];
|
|
4192
4187
|
return t;
|
|
4193
4188
|
}
|
|
4194
|
-
function
|
|
4189
|
+
function rd() {
|
|
4195
4190
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4196
4191
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4197
4192
|
}
|
|
4198
|
-
function
|
|
4193
|
+
function ad() {
|
|
4199
4194
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4200
4195
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4201
4196
|
}
|
|
4202
|
-
function
|
|
4197
|
+
function sd(a, s) {
|
|
4203
4198
|
if (typeof a != "object" || a === null)
|
|
4204
4199
|
return a;
|
|
4205
4200
|
var r = a[Symbol.toPrimitive];
|
|
@@ -4212,11 +4207,11 @@ function ad(a, s) {
|
|
|
4212
4207
|
return (s === "string" ? String : Number)(a);
|
|
4213
4208
|
}
|
|
4214
4209
|
function Gl(a) {
|
|
4215
|
-
var s =
|
|
4210
|
+
var s = sd(a, "string");
|
|
4216
4211
|
return typeof s == "symbol" ? s : String(s);
|
|
4217
4212
|
}
|
|
4218
4213
|
var Ir = { exports: {} }, qo;
|
|
4219
|
-
function
|
|
4214
|
+
function od() {
|
|
4220
4215
|
return qo || (qo = 1, (function(a) {
|
|
4221
4216
|
var s = Object.prototype.hasOwnProperty, r = "~";
|
|
4222
4217
|
function t() {
|
|
@@ -4276,7 +4271,7 @@ function sd() {
|
|
|
4276
4271
|
b[C - 1] = arguments[C];
|
|
4277
4272
|
v.fn.apply(v.context, b);
|
|
4278
4273
|
} else {
|
|
4279
|
-
var R = v.length,
|
|
4274
|
+
var R = v.length, E;
|
|
4280
4275
|
for (C = 0; C < R; C++)
|
|
4281
4276
|
switch (v[C].once && this.removeListener(u, v[C].fn, void 0, !0), w) {
|
|
4282
4277
|
case 1:
|
|
@@ -4292,8 +4287,8 @@ function sd() {
|
|
|
4292
4287
|
v[C].fn.call(v[C].context, c, f, g);
|
|
4293
4288
|
break;
|
|
4294
4289
|
default:
|
|
4295
|
-
if (!b) for (
|
|
4296
|
-
b[
|
|
4290
|
+
if (!b) for (E = 1, b = new Array(w - 1); E < w; E++)
|
|
4291
|
+
b[E - 1] = arguments[E];
|
|
4297
4292
|
v[C].fn.apply(v[C].context, b);
|
|
4298
4293
|
}
|
|
4299
4294
|
}
|
|
@@ -4322,15 +4317,15 @@ function sd() {
|
|
|
4322
4317
|
}, o.prototype.off = o.prototype.removeListener, o.prototype.addListener = o.prototype.on, o.prefixed = r, o.EventEmitter = o, a.exports = o;
|
|
4323
4318
|
})(Ir)), Ir.exports;
|
|
4324
4319
|
}
|
|
4325
|
-
var Wl =
|
|
4320
|
+
var Wl = od();
|
|
4326
4321
|
const $l = /* @__PURE__ */ Sl(Wl);
|
|
4327
|
-
var
|
|
4322
|
+
var ld = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Pr = {
|
|
4328
4323
|
info: "color: #525252; background-color: #90ee90;",
|
|
4329
4324
|
error: "color: #525252; background-color: red;",
|
|
4330
4325
|
warn: "color: #525252; background-color: yellow; "
|
|
4331
4326
|
}, Ar = "%c[xgplayer]", q = {
|
|
4332
4327
|
config: {
|
|
4333
|
-
debug:
|
|
4328
|
+
debug: ld ? 3 : 0
|
|
4334
4329
|
},
|
|
4335
4330
|
logInfo: function(s) {
|
|
4336
4331
|
for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
@@ -4351,10 +4346,10 @@ var od = typeof window < "u" && window.location && window.location.href.indexOf(
|
|
|
4351
4346
|
}
|
|
4352
4347
|
}
|
|
4353
4348
|
};
|
|
4354
|
-
function
|
|
4349
|
+
function ud(a) {
|
|
4355
4350
|
a.logInfo = q.logInfo.bind(a), a.logWarn = q.logWarn.bind(a), a.logError = q.logError.bind(a);
|
|
4356
4351
|
}
|
|
4357
|
-
var
|
|
4352
|
+
var cd = /* @__PURE__ */ (function() {
|
|
4358
4353
|
function a(s) {
|
|
4359
4354
|
O(this, a), this.bufferedList = s;
|
|
4360
4355
|
}
|
|
@@ -4599,7 +4594,7 @@ h.setStyleFromCsstext = function(a, s) {
|
|
|
4599
4594
|
a.style[t] = s[t];
|
|
4600
4595
|
});
|
|
4601
4596
|
};
|
|
4602
|
-
function
|
|
4597
|
+
function fd(a, s) {
|
|
4603
4598
|
for (var r = 0, t = s.length; r < t; r++)
|
|
4604
4599
|
if (a.indexOf(s[r]) > -1)
|
|
4605
4600
|
return !0;
|
|
@@ -4613,7 +4608,7 @@ h.filterStyleFromText = function(a) {
|
|
|
4613
4608
|
return t.map(function(n) {
|
|
4614
4609
|
if (n) {
|
|
4615
4610
|
var o = n.split(":");
|
|
4616
|
-
o.length > 1 && (
|
|
4611
|
+
o.length > 1 && (fd(o[0], s) ? e[o[0]] = o[1] : i[o[0]] = o[1]);
|
|
4617
4612
|
}
|
|
4618
4613
|
}), a.setAttribute("style", ""), Object.keys(i).map(function(n) {
|
|
4619
4614
|
a.style[n] = i[n];
|
|
@@ -4678,7 +4673,7 @@ h.getBuffered2 = function(a) {
|
|
|
4678
4673
|
}
|
|
4679
4674
|
else
|
|
4680
4675
|
e = r;
|
|
4681
|
-
return new
|
|
4676
|
+
return new cd(e);
|
|
4682
4677
|
};
|
|
4683
4678
|
h.getEventPos = function(a) {
|
|
4684
4679
|
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
@@ -4802,7 +4797,7 @@ function Kl(a) {
|
|
|
4802
4797
|
var s = ce(a);
|
|
4803
4798
|
return a !== null && (s === "object" || s === "function");
|
|
4804
4799
|
}
|
|
4805
|
-
function
|
|
4800
|
+
function hd(a, s, r) {
|
|
4806
4801
|
var t, e, i, n, o, l, u = 0, c = !1, f = !1, g = !0, p = !s && s !== 0 && typeof window.requestAnimationFrame == "function";
|
|
4807
4802
|
if (typeof a != "function")
|
|
4808
4803
|
throw new TypeError("Expected a function");
|
|
@@ -4833,17 +4828,17 @@ function fd(a, s, r) {
|
|
|
4833
4828
|
function R() {
|
|
4834
4829
|
var A = Date.now();
|
|
4835
4830
|
if (C(A))
|
|
4836
|
-
return
|
|
4831
|
+
return E(A);
|
|
4837
4832
|
o = m(R, b(A));
|
|
4838
4833
|
}
|
|
4839
|
-
function
|
|
4834
|
+
function E(A) {
|
|
4840
4835
|
return o = void 0, g && t ? d(A) : (t = e = void 0, n);
|
|
4841
4836
|
}
|
|
4842
4837
|
function L() {
|
|
4843
4838
|
o !== void 0 && v(o), u = 0, t = l = e = o = void 0;
|
|
4844
4839
|
}
|
|
4845
4840
|
function z() {
|
|
4846
|
-
return o === void 0 ? n :
|
|
4841
|
+
return o === void 0 ? n : E(Date.now());
|
|
4847
4842
|
}
|
|
4848
4843
|
function G() {
|
|
4849
4844
|
return o !== void 0;
|
|
@@ -4861,21 +4856,21 @@ function fd(a, s, r) {
|
|
|
4861
4856
|
}
|
|
4862
4857
|
return V.cancel = L, V.flush = z, V.pending = G, V;
|
|
4863
4858
|
}
|
|
4864
|
-
function
|
|
4859
|
+
function dd(a, s, r) {
|
|
4865
4860
|
var t = !0, e = !0;
|
|
4866
4861
|
if (typeof a != "function")
|
|
4867
4862
|
throw new TypeError("Expected a function");
|
|
4868
|
-
return Kl(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e),
|
|
4863
|
+
return Kl(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), hd(a, s, {
|
|
4869
4864
|
leading: t,
|
|
4870
4865
|
trailing: e,
|
|
4871
4866
|
maxWait: s
|
|
4872
4867
|
});
|
|
4873
4868
|
}
|
|
4874
|
-
function
|
|
4869
|
+
function gd() {
|
|
4875
4870
|
var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
|
|
4876
4871
|
return a === "zh-cn" && (a = "zh"), a;
|
|
4877
4872
|
}
|
|
4878
|
-
function
|
|
4873
|
+
function pd(a, s, r) {
|
|
4879
4874
|
if (a) {
|
|
4880
4875
|
var t = a.getAttribute(r);
|
|
4881
4876
|
return !!(t && t === s && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
|
|
@@ -4885,7 +4880,7 @@ var Lr = {
|
|
|
4885
4880
|
android: /(Android)\s([\d.]+)/,
|
|
4886
4881
|
harmony: /(OpenHarmony|HarmonyOS)\s([\d.]+)/,
|
|
4887
4882
|
ios: /(Version)\/([\d.]+)/
|
|
4888
|
-
},
|
|
4883
|
+
}, vd = ["avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "avc1.42E01E", "mp4v.20.8", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], j = {
|
|
4889
4884
|
get device() {
|
|
4890
4885
|
var a = j.os;
|
|
4891
4886
|
return a.isPc ? "pc" : "mobile";
|
|
@@ -4951,7 +4946,7 @@ var Lr = {
|
|
|
4951
4946
|
if (this.supportResult)
|
|
4952
4947
|
return this.supportResult;
|
|
4953
4948
|
var r = document.createElement("video");
|
|
4954
|
-
return typeof r.canPlayType == "function" &&
|
|
4949
|
+
return typeof r.canPlayType == "function" && vd.map(function(t) {
|
|
4955
4950
|
r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (s.isSupport = !0, s.mime += "||".concat(t));
|
|
4956
4951
|
}), this.supportResult = s, r = null, s;
|
|
4957
4952
|
},
|
|
@@ -5046,21 +5041,21 @@ var Lr = {
|
|
|
5046
5041
|
return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
|
|
5047
5042
|
}
|
|
5048
5043
|
}
|
|
5049
|
-
), ke = "play", ki = "playing", ot = "ended", St = "pause", Ut = "error", wi = "seeking", Ne = "seeked", Ce = "timeupdate", jt = "waiting", Me = "canplay",
|
|
5044
|
+
), ke = "play", ki = "playing", ot = "ended", St = "pause", Ut = "error", wi = "seeking", Ne = "seeked", Ce = "timeupdate", jt = "waiting", Me = "canplay", md = "canplaythrough", Ue = "durationchange", Yl = "volumechange", Be = "loadeddata", yd = "loadedmetadata", Xl = "ratechange", Jl = "progress", pa = "loadstart", lt = "emptied", _d = "stalled", bd = "suspend", Cd = "abort", kd = "bufferedChange", va = "focus", Zl = "blur", ma = "ready", Ql = "urlNull", at = "autoplay_started", ya = "autoplay_was_prevented", Ti = "complete", ai = "replay", _a = "destroy", Si = "urlchange", Yr = "download_speed_change", eu = "leaveplayer", tu = "enterplayer", iu = "loading", De = "fullscreen_change", si = "cssFullscreen_change", oi = "mini_state_change", ba = "definition_change", wd = "before_definition_change", Xr = "after_definition_change", Td = "SEI_PARSED", Sd = "retry", Ye = "video_resize", Jr = "pip_change", nu = "rotate", ru = "screenShot", li = "playnext", au = "shortcut", su = "xglog", ui = "user_action", Ei = "reset", ou = "source_error", lu = "source_success", Ed = "switch_subtitle", uu = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], cu = {
|
|
5050
5045
|
STATS_INFO: "stats_info",
|
|
5051
5046
|
STATS_DOWNLOAD: "stats_download",
|
|
5052
5047
|
STATS_RESET: "stats_reset"
|
|
5053
5048
|
}, fu = "fps_stuck";
|
|
5054
|
-
const
|
|
5049
|
+
const xd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5055
5050
|
__proto__: null,
|
|
5056
|
-
ABORT:
|
|
5051
|
+
ABORT: Cd,
|
|
5057
5052
|
AFTER_DEFINITION_CHANGE: Xr,
|
|
5058
5053
|
AUTOPLAY_PREVENTED: ya,
|
|
5059
5054
|
AUTOPLAY_STARTED: at,
|
|
5060
|
-
BEFORE_DEFINITION_CHANGE:
|
|
5061
|
-
BUFFER_CHANGE:
|
|
5055
|
+
BEFORE_DEFINITION_CHANGE: wd,
|
|
5056
|
+
BUFFER_CHANGE: kd,
|
|
5062
5057
|
CANPLAY: Me,
|
|
5063
|
-
CANPLAY_THROUGH:
|
|
5058
|
+
CANPLAY_THROUGH: md,
|
|
5064
5059
|
COMPLETE: Ti,
|
|
5065
5060
|
CSS_FULLSCREEN_CHANGE: si,
|
|
5066
5061
|
DEFINITION_CHANGE: ba,
|
|
@@ -5075,7 +5070,7 @@ const Ed = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5075
5070
|
FULLSCREEN_CHANGE: De,
|
|
5076
5071
|
LEAVE_PLAYER: eu,
|
|
5077
5072
|
LOADED_DATA: Be,
|
|
5078
|
-
LOADED_METADATA:
|
|
5073
|
+
LOADED_METADATA: yd,
|
|
5079
5074
|
LOADING: iu,
|
|
5080
5075
|
LOAD_START: pa,
|
|
5081
5076
|
MINI_STATE_CHANGE: oi,
|
|
@@ -5091,19 +5086,19 @@ const Ed = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5091
5086
|
READY: ma,
|
|
5092
5087
|
REPLAY: ai,
|
|
5093
5088
|
RESET: Ei,
|
|
5094
|
-
RETRY:
|
|
5089
|
+
RETRY: Sd,
|
|
5095
5090
|
ROTATE: nu,
|
|
5096
5091
|
SCREEN_SHOT: ru,
|
|
5097
5092
|
SEEKED: Ne,
|
|
5098
5093
|
SEEKING: wi,
|
|
5099
|
-
SEI_PARSED:
|
|
5094
|
+
SEI_PARSED: Td,
|
|
5100
5095
|
SHORTCUT: au,
|
|
5101
5096
|
SOURCE_ERROR: ou,
|
|
5102
5097
|
SOURCE_SUCCESS: lu,
|
|
5103
|
-
STALLED:
|
|
5098
|
+
STALLED: _d,
|
|
5104
5099
|
STATS_EVENTS: cu,
|
|
5105
|
-
SUSPEND:
|
|
5106
|
-
SWITCH_SUBTITLE:
|
|
5100
|
+
SUSPEND: bd,
|
|
5101
|
+
SWITCH_SUBTITLE: Ed,
|
|
5107
5102
|
TIME_UPDATE: Ce,
|
|
5108
5103
|
URL_CHANGE: Si,
|
|
5109
5104
|
URL_NULL: Ql,
|
|
@@ -5117,7 +5112,7 @@ const Ed = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5117
5112
|
function Rr(a, s) {
|
|
5118
5113
|
!this || !this.emit || (a === "error" ? this.errorHandler(a, s.error) : this.emit(a, s));
|
|
5119
5114
|
}
|
|
5120
|
-
function
|
|
5115
|
+
function Id(a, s) {
|
|
5121
5116
|
return function(r, t) {
|
|
5122
5117
|
var e = {
|
|
5123
5118
|
player: s,
|
|
@@ -5152,7 +5147,7 @@ function xd(a, s) {
|
|
|
5152
5147
|
Rr.call(s, a, e);
|
|
5153
5148
|
};
|
|
5154
5149
|
}
|
|
5155
|
-
var
|
|
5150
|
+
var Pd = /* @__PURE__ */ (function(a) {
|
|
5156
5151
|
M(r, a);
|
|
5157
5152
|
var s = N(r);
|
|
5158
5153
|
function r(t) {
|
|
@@ -5196,7 +5191,7 @@ var Id = /* @__PURE__ */ (function(a) {
|
|
|
5196
5191
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
|
|
5197
5192
|
this._evHandlers || (this._evHandlers = uu.map(function(n) {
|
|
5198
5193
|
var o = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
|
|
5199
|
-
return typeof e[o] == "function" && e.on(n, e[o]), _({}, n,
|
|
5194
|
+
return typeof e[o] == "function" && e.on(n, e[o]), _({}, n, Id(n, e));
|
|
5200
5195
|
})), this._evHandlers.forEach(function(n) {
|
|
5201
5196
|
var o = Object.keys(n)[0];
|
|
5202
5197
|
i.addEventListener(o, n[o], !1);
|
|
@@ -5570,7 +5565,7 @@ var Id = /* @__PURE__ */ (function(a) {
|
|
|
5570
5565
|
U(B(r.prototype), "removeAllListeners", this).call(this);
|
|
5571
5566
|
}
|
|
5572
5567
|
}]), r;
|
|
5573
|
-
})($l),
|
|
5568
|
+
})($l), Ad = /* @__PURE__ */ (function() {
|
|
5574
5569
|
function a() {
|
|
5575
5570
|
var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
5576
5571
|
name: "xgplayer",
|
|
@@ -5966,7 +5961,7 @@ var Xe = /* @__PURE__ */ (function() {
|
|
|
5966
5961
|
}
|
|
5967
5962
|
}]), a;
|
|
5968
5963
|
})(), Dr, Zo;
|
|
5969
|
-
function
|
|
5964
|
+
function Ld() {
|
|
5970
5965
|
if (Zo) return Dr;
|
|
5971
5966
|
Zo = 1;
|
|
5972
5967
|
var a = 9;
|
|
@@ -5984,10 +5979,10 @@ function Ad() {
|
|
|
5984
5979
|
return Dr = r, Dr;
|
|
5985
5980
|
}
|
|
5986
5981
|
var Fr, Qo;
|
|
5987
|
-
function
|
|
5982
|
+
function Rd() {
|
|
5988
5983
|
if (Qo) return Fr;
|
|
5989
5984
|
Qo = 1;
|
|
5990
|
-
var a =
|
|
5985
|
+
var a = Ld();
|
|
5991
5986
|
function s(e, i, n, o, l) {
|
|
5992
5987
|
var u = t.apply(this, arguments);
|
|
5993
5988
|
return e.addEventListener(n, u, l), {
|
|
@@ -6008,9 +6003,9 @@ function Ld() {
|
|
|
6008
6003
|
}
|
|
6009
6004
|
return Fr = r, Fr;
|
|
6010
6005
|
}
|
|
6011
|
-
var
|
|
6012
|
-
const el = /* @__PURE__ */ Sl(
|
|
6013
|
-
var
|
|
6006
|
+
var Od = Rd();
|
|
6007
|
+
const el = /* @__PURE__ */ Sl(Od);
|
|
6008
|
+
var Dd = {
|
|
6014
6009
|
CONTROLS: "controls",
|
|
6015
6010
|
ROOT: "root"
|
|
6016
6011
|
}, ee = {
|
|
@@ -6029,10 +6024,10 @@ var Od = {
|
|
|
6029
6024
|
function Mr(a) {
|
|
6030
6025
|
return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
|
|
6031
6026
|
}
|
|
6032
|
-
function
|
|
6027
|
+
function Fd(a, s) {
|
|
6033
6028
|
return ce(a) === "object" && a.class && typeof a.class == "string" ? "".concat(s, " ").concat(a.class) : s;
|
|
6034
6029
|
}
|
|
6035
|
-
function
|
|
6030
|
+
function Md(a, s) {
|
|
6036
6031
|
return ce(a) === "object" && a.attr && ce(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
|
|
6037
6032
|
s[r] = a.attr[r];
|
|
6038
6033
|
}), s;
|
|
@@ -6055,14 +6050,14 @@ function il(a, s) {
|
|
|
6055
6050
|
}
|
|
6056
6051
|
return typeof a == "string" ? h.createDomFromHtml(a, t, r) : (q.logWarn("warn>>icons.".concat(s, " in config of plugin named [").concat(e, "] is invalid")), null);
|
|
6057
6052
|
}
|
|
6058
|
-
function
|
|
6053
|
+
function Nd(a, s) {
|
|
6059
6054
|
var r = s.config.icons || s.playerConfig.icons;
|
|
6060
6055
|
Object.keys(a).map(function(t) {
|
|
6061
6056
|
var e = a[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, o = null;
|
|
6062
|
-
r && r[t] && (i =
|
|
6057
|
+
r && r[t] && (i = Fd(r[t], i), n = Md(r[t], n), o = il(r[t], t, i, n, s.pluginName)), !o && e && (o = il(e.icon ? e.icon : e, n, i, {}, s.pluginName)), s.icons[t] = o;
|
|
6063
6058
|
});
|
|
6064
6059
|
}
|
|
6065
|
-
function
|
|
6060
|
+
function Bd(a, s) {
|
|
6066
6061
|
Object.keys(a).map(function(r) {
|
|
6067
6062
|
Object.defineProperty(s.langText, r, {
|
|
6068
6063
|
get: function() {
|
|
@@ -6086,9 +6081,9 @@ var Y = /* @__PURE__ */ (function(a) {
|
|
|
6086
6081
|
var i = e.root, n = null;
|
|
6087
6082
|
this.icons = {}, this.root = null, this.parent = null, this.extraEls = [];
|
|
6088
6083
|
var o = this.registerIcons() || {};
|
|
6089
|
-
|
|
6084
|
+
Nd(o, this), this.langText = {};
|
|
6090
6085
|
var l = this.registerLanguageTexts() || {};
|
|
6091
|
-
|
|
6086
|
+
Bd(l, this);
|
|
6092
6087
|
var u = "";
|
|
6093
6088
|
try {
|
|
6094
6089
|
u = this.render();
|
|
@@ -6356,7 +6351,7 @@ var Y = /* @__PURE__ */ (function(a) {
|
|
|
6356
6351
|
}, {
|
|
6357
6352
|
key: "ROOT_TYPES",
|
|
6358
6353
|
get: function() {
|
|
6359
|
-
return
|
|
6354
|
+
return Dd;
|
|
6360
6355
|
}
|
|
6361
6356
|
}, {
|
|
6362
6357
|
key: "POSITIONS",
|
|
@@ -6364,7 +6359,7 @@ var Y = /* @__PURE__ */ (function(a) {
|
|
|
6364
6359
|
return ee;
|
|
6365
6360
|
}
|
|
6366
6361
|
}]), r;
|
|
6367
|
-
})(Xe),
|
|
6362
|
+
})(Xe), Hd = /* @__PURE__ */ (function() {
|
|
6368
6363
|
function a() {
|
|
6369
6364
|
var s = this;
|
|
6370
6365
|
if (O(this, a), _(this, "__trigger", function(r) {
|
|
@@ -6374,7 +6369,7 @@ var Y = /* @__PURE__ */ (function(a) {
|
|
|
6374
6369
|
s.__runHandler(r[e].target);
|
|
6375
6370
|
}), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
|
|
6376
6371
|
try {
|
|
6377
|
-
this.observer = new window.ResizeObserver(
|
|
6372
|
+
this.observer = new window.ResizeObserver(dd(this.__trigger, 100, {
|
|
6378
6373
|
trailing: !0
|
|
6379
6374
|
})), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
|
|
6380
6375
|
} catch (r) {
|
|
@@ -6431,10 +6426,10 @@ var Y = /* @__PURE__ */ (function(a) {
|
|
|
6431
6426
|
}
|
|
6432
6427
|
}]), a;
|
|
6433
6428
|
})(), Dt = null;
|
|
6434
|
-
function Hd(a, s) {
|
|
6435
|
-
return Dt || (Dt = new Bd()), Dt.addObserver(a, s), Dt;
|
|
6436
|
-
}
|
|
6437
6429
|
function Ud(a, s) {
|
|
6430
|
+
return Dt || (Dt = new Hd()), Dt.addObserver(a, s), Dt;
|
|
6431
|
+
}
|
|
6432
|
+
function jd(a, s) {
|
|
6438
6433
|
var r;
|
|
6439
6434
|
(r = Dt) === null || r === void 0 || r.unObserver(a, s);
|
|
6440
6435
|
}
|
|
@@ -6442,7 +6437,7 @@ var ue = {
|
|
|
6442
6437
|
pluginGroup: {},
|
|
6443
6438
|
init: function(s) {
|
|
6444
6439
|
var r = s._pluginInfoId;
|
|
6445
|
-
r || (r = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = r), !s.config.closeResizeObserver &&
|
|
6440
|
+
r || (r = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = r), !s.config.closeResizeObserver && Ud(s.root, function() {
|
|
6446
6441
|
s.resize();
|
|
6447
6442
|
}), this.pluginGroup[r] = {
|
|
6448
6443
|
_originalOptions: s.config || {},
|
|
@@ -6628,7 +6623,7 @@ var ue = {
|
|
|
6628
6623
|
destroy: function(s) {
|
|
6629
6624
|
var r = s._pluginInfoId;
|
|
6630
6625
|
if (this.pluginGroup[r]) {
|
|
6631
|
-
|
|
6626
|
+
jd(s.root);
|
|
6632
6627
|
for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
|
|
6633
6628
|
var n = i[e];
|
|
6634
6629
|
this.unRegister(r, n);
|
|
@@ -6636,7 +6631,7 @@ var ue = {
|
|
|
6636
6631
|
delete this.pluginGroup[r], delete s._pluginInfoId;
|
|
6637
6632
|
}
|
|
6638
6633
|
}
|
|
6639
|
-
},
|
|
6634
|
+
}, x = {
|
|
6640
6635
|
DEFAULT: "xgplayer",
|
|
6641
6636
|
DEFAULT_SKIN: "xgplayer-skin-default",
|
|
6642
6637
|
ENTER: "xgplayer-is-enter",
|
|
@@ -6714,7 +6709,7 @@ function nl() {
|
|
|
6714
6709
|
ignores: [],
|
|
6715
6710
|
whitelist: [],
|
|
6716
6711
|
inactive: 3e3,
|
|
6717
|
-
lang:
|
|
6712
|
+
lang: gd(),
|
|
6718
6713
|
controls: !0,
|
|
6719
6714
|
marginControls: !1,
|
|
6720
6715
|
fullscreenTarget: null,
|
|
@@ -6750,7 +6745,7 @@ function nl() {
|
|
|
6750
6745
|
}
|
|
6751
6746
|
};
|
|
6752
6747
|
}
|
|
6753
|
-
var
|
|
6748
|
+
var zd = function(s, r) {
|
|
6754
6749
|
var t, e, i;
|
|
6755
6750
|
r.preset && r.options ? i = new r.preset(r.options, s.config) : i = new r({}, s.config);
|
|
6756
6751
|
var n = i, o = n.plugins, l = o === void 0 ? [] : o, u = n.ignores, c = u === void 0 ? [] : u, f = n.icons, g = f === void 0 ? {} : f, p = n.i18n, d = p === void 0 ? [] : p;
|
|
@@ -6759,7 +6754,7 @@ var jd = function(s, r) {
|
|
|
6759
6754
|
});
|
|
6760
6755
|
var m = s.config.i18n || [];
|
|
6761
6756
|
d.push.apply(d, Ee(m)), s.config.i18n = d;
|
|
6762
|
-
},
|
|
6757
|
+
}, Vd = /* @__PURE__ */ (function(a) {
|
|
6763
6758
|
M(r, a);
|
|
6764
6759
|
var s = N(r);
|
|
6765
6760
|
function r() {
|
|
@@ -6787,7 +6782,7 @@ var jd = function(s, r) {
|
|
|
6787
6782
|
value: function() {
|
|
6788
6783
|
var e = this, i = this.config, n = i.disable, o = i.height, l = i.mode;
|
|
6789
6784
|
if (!n) {
|
|
6790
|
-
l === "flex" && this.player.addClass(
|
|
6785
|
+
l === "flex" && this.player.addClass(x.FLEX_CONTROLS);
|
|
6791
6786
|
var u = {
|
|
6792
6787
|
height: "".concat(o, "px")
|
|
6793
6788
|
};
|
|
@@ -6824,12 +6819,12 @@ var jd = function(s, r) {
|
|
|
6824
6819
|
}, {
|
|
6825
6820
|
key: "recoverAutoHide",
|
|
6826
6821
|
value: function() {
|
|
6827
|
-
this.config.autoHide && h.addClass(this.root,
|
|
6822
|
+
this.config.autoHide && h.addClass(this.root, x.CONTROLS_AUTOHIDE);
|
|
6828
6823
|
}
|
|
6829
6824
|
}, {
|
|
6830
6825
|
key: "pauseAutoHide",
|
|
6831
6826
|
value: function() {
|
|
6832
|
-
h.removeClass(this.root,
|
|
6827
|
+
h.removeClass(this.root, x.CONTROLS_AUTOHIDE);
|
|
6833
6828
|
}
|
|
6834
6829
|
}, {
|
|
6835
6830
|
key: "show",
|
|
@@ -6890,7 +6885,7 @@ var jd = function(s, r) {
|
|
|
6890
6885
|
"flex-controls": i === "flex"
|
|
6891
6886
|
}, {
|
|
6892
6887
|
"bottom-controls": i === "bottom"
|
|
6893
|
-
}, _({},
|
|
6888
|
+
}, _({}, x.CONTROLS_AUTOHIDE, n), {
|
|
6894
6889
|
"xgplayer-controls-initshow": o || !n
|
|
6895
6890
|
});
|
|
6896
6891
|
return '<xg-controls class="'.concat(u, `" unselectable="on">
|
|
@@ -6920,7 +6915,7 @@ var jd = function(s, r) {
|
|
|
6920
6915
|
};
|
|
6921
6916
|
}
|
|
6922
6917
|
}]), r;
|
|
6923
|
-
})(Y),
|
|
6918
|
+
})(Y), qd = {
|
|
6924
6919
|
LANG: "en",
|
|
6925
6920
|
TEXT: {
|
|
6926
6921
|
ERROR_TYPES: {
|
|
@@ -7015,7 +7010,7 @@ function pu() {
|
|
|
7015
7010
|
be.textKeys[a] = a;
|
|
7016
7011
|
});
|
|
7017
7012
|
}
|
|
7018
|
-
function
|
|
7013
|
+
function Gd(a, s) {
|
|
7019
7014
|
var r = [];
|
|
7020
7015
|
if (s || (s = be), !!s.lang) {
|
|
7021
7016
|
h.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
|
|
@@ -7038,7 +7033,7 @@ function Ca(a, s) {
|
|
|
7038
7033
|
r === "zh" && (r = "zh-cn"), s.lang[r] ? Nt(s.lang[r], t) : (s.langKeys.push(r), s.lang[r] = t), pu();
|
|
7039
7034
|
}
|
|
7040
7035
|
}
|
|
7041
|
-
function
|
|
7036
|
+
function Wd(a) {
|
|
7042
7037
|
var s, r = {
|
|
7043
7038
|
lang: {},
|
|
7044
7039
|
langKeys: [],
|
|
@@ -7047,7 +7042,7 @@ function Gd(a) {
|
|
|
7047
7042
|
};
|
|
7048
7043
|
return Nt(r.lang, be.lang), (s = r.langKeys).push.apply(s, Ee(be.langKeys)), Nt(r.textKeys, be.textKeys), r;
|
|
7049
7044
|
}
|
|
7050
|
-
Ca(
|
|
7045
|
+
Ca(qd);
|
|
7051
7046
|
var Ct = {
|
|
7052
7047
|
get textKeys() {
|
|
7053
7048
|
return be.textKeys;
|
|
@@ -7061,9 +7056,9 @@ var Ct = {
|
|
|
7061
7056
|
a[s] = be.lang[s];
|
|
7062
7057
|
}), be.lang["zh-cn"] && (a.zh = be.lang["zh-cn"] || {}), a;
|
|
7063
7058
|
},
|
|
7064
|
-
extend:
|
|
7059
|
+
extend: Gd,
|
|
7065
7060
|
use: Ca,
|
|
7066
|
-
init:
|
|
7061
|
+
init: Wd
|
|
7067
7062
|
}, W = {
|
|
7068
7063
|
INITIAL: 1,
|
|
7069
7064
|
READY: 2,
|
|
@@ -7159,7 +7154,7 @@ var Ct = {
|
|
|
7159
7154
|
}
|
|
7160
7155
|
}]), r;
|
|
7161
7156
|
})(Wl.EventEmitter);
|
|
7162
|
-
function
|
|
7157
|
+
function $d(a) {
|
|
7163
7158
|
for (var s = Object.keys(de), r = 0; r < s.length; r++) {
|
|
7164
7159
|
var t = de[s[r]];
|
|
7165
7160
|
if (t.root === a)
|
|
@@ -7167,7 +7162,7 @@ function Wd(a) {
|
|
|
7167
7162
|
}
|
|
7168
7163
|
return null;
|
|
7169
7164
|
}
|
|
7170
|
-
var
|
|
7165
|
+
var Kd = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /* @__PURE__ */ (function(a) {
|
|
7171
7166
|
M(r, a);
|
|
7172
7167
|
var s = N(r);
|
|
7173
7168
|
function r(t) {
|
|
@@ -7177,7 +7172,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7177
7172
|
n = s.call(this, o), _(y(n), "canPlayFunc", function() {
|
|
7178
7173
|
if (n.config) {
|
|
7179
7174
|
var v = n.config, w = v.autoplay, b = v.defaultPlaybackRate;
|
|
7180
|
-
q.logInfo("player", "canPlayFunc, startTime", n.__startTime), n._seekToStartTime(), n.playbackRate = b, (w || n._useAutoplay) && n.mediaPlay(), n.off(Me, n.canPlayFunc), n.removeClass(
|
|
7175
|
+
q.logInfo("player", "canPlayFunc, startTime", n.__startTime), n._seekToStartTime(), n.playbackRate = b, (w || n._useAutoplay) && n.mediaPlay(), n.off(Me, n.canPlayFunc), n.removeClass(x.ENTER);
|
|
7181
7176
|
}
|
|
7182
7177
|
}), _(y(n), "onFullscreenChange", function(v, w) {
|
|
7183
7178
|
var b = function() {
|
|
@@ -7197,19 +7192,19 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7197
7192
|
to: !1
|
|
7198
7193
|
}]
|
|
7199
7194
|
});
|
|
7200
|
-
var R =
|
|
7195
|
+
var R = pd(C, n.playerId, $e);
|
|
7201
7196
|
if (w || C && (C === n._fullscreenEl || R))
|
|
7202
|
-
b(), !n.config.closeFocusVideoFocus && n.media.focus(), n.fullscreen = !0, n.changeFullStyle(n.root, C,
|
|
7197
|
+
b(), !n.config.closeFocusVideoFocus && n.media.focus(), n.fullscreen = !0, n.changeFullStyle(n.root, C, x.FULLSCREEN), n.emit(De, !0, n._fullScreenOffset), n.cssfullscreen && n.exitCssFullscreen();
|
|
7203
7198
|
else if (n.fullscreen) {
|
|
7204
7199
|
b();
|
|
7205
|
-
var
|
|
7200
|
+
var E = y(n), L = E._fullScreenOffset, z = E.config;
|
|
7206
7201
|
if (z.needFullscreenScroll ? (window.scrollTo(L.left, L.top), h.setTimeout(y(n), function() {
|
|
7207
7202
|
n.fullscreen = !1, n._fullScreenOffset = null;
|
|
7208
7203
|
}, 100)) : (!n.config.closeFocusVideoFocus && n.media.focus(), n.fullscreen = !1, n._fullScreenOffset = null), n.cssfullscreen)
|
|
7209
|
-
n.removeClass(
|
|
7204
|
+
n.removeClass(x.FULLSCREEN);
|
|
7210
7205
|
else {
|
|
7211
7206
|
var G = n._fullscreenEl;
|
|
7212
|
-
!G && (n.root.contains(v.target) || v.target === n.root) && (G = v.target), n.recoverFullStyle(n.root, G,
|
|
7207
|
+
!G && (n.root.contains(v.target) || v.target === n.root) && (G = v.target), n.recoverFullStyle(n.root, G, x.FULLSCREEN);
|
|
7213
7208
|
}
|
|
7214
7209
|
n._fullscreenEl = null, n.emit(De, !1);
|
|
7215
7210
|
}
|
|
@@ -7217,7 +7212,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7217
7212
|
n._fullscreenEl = n.media, n.onFullscreenChange(v, !0);
|
|
7218
7213
|
}), _(y(n), "_onWebkitendfullscreen", function(v) {
|
|
7219
7214
|
n.onFullscreenChange(v, !1);
|
|
7220
|
-
}), du(y(n),
|
|
7215
|
+
}), du(y(n), Kd), n.config = o, n._pluginInfoId = h.generateSessionId(), ud(y(n));
|
|
7221
7216
|
var l = n.constructor.defaultPreset;
|
|
7222
7217
|
if (n.config.presets.length) {
|
|
7223
7218
|
var u = n.config.presets.indexOf("default");
|
|
@@ -7245,7 +7240,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7245
7240
|
}, n._offsetInfo = {
|
|
7246
7241
|
currentTime: -1,
|
|
7247
7242
|
duration: 0
|
|
7248
|
-
}, n.innerContainer = null, n.controls = null, n.topBar = null, n.root = null, n.__i18n = Ct.init(n._pluginInfoId), j.os.isAndroid && j.osVersion > 0 && j.osVersion < 6 && (n.config.autoplay = !1), n.database = new
|
|
7243
|
+
}, n.innerContainer = null, n.controls = null, n.topBar = null, n.root = null, n.__i18n = Ct.init(n._pluginInfoId), j.os.isAndroid && j.osVersion > 0 && j.osVersion < 6 && (n.config.autoplay = !1), n.database = new Ad(), n.isUserActive = !1, n._onceSeekCanplay = null, n._isPauseBeforeSeek = 0, n.innerStates = {
|
|
7249
7244
|
isActiveLocked: !1
|
|
7250
7245
|
}, n.instManager = qe;
|
|
7251
7246
|
var c = n._initDOM();
|
|
@@ -7277,15 +7272,15 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7277
7272
|
msg: "container id can't be empty"
|
|
7278
7273
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
7279
7274
|
}
|
|
7280
|
-
var o =
|
|
7275
|
+
var o = $d(this.root);
|
|
7281
7276
|
if (o && (q.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), o.destroy()), this.root.setAttribute($e, this.playerId), this.media.setAttribute($e, this.playerId), (e = qe) === null || e === void 0 || e.add(this), ue.init(this), this._initBaseDoms(), this.config.controls) {
|
|
7282
|
-
var l = this.config.controls.root || null, u = ue.register(this,
|
|
7277
|
+
var l = this.config.controls.root || null, u = ue.register(this, Vd, {
|
|
7283
7278
|
root: l
|
|
7284
7279
|
});
|
|
7285
7280
|
this.controls = u;
|
|
7286
7281
|
}
|
|
7287
7282
|
var c = this.config.isMobileSimulateMode === "mobile" ? "mobile" : j.device;
|
|
7288
|
-
if (this.addClass("".concat(
|
|
7283
|
+
if (this.addClass("".concat(x.DEFAULT, " ").concat(x.INACTIVE, " xgplayer-").concat(c, " ").concat(this.config.controls ? "" : x.NO_CONTROLS)), this.config.autoplay ? this.addClass(x.ENTER) : this.addClass(x.NO_START), this.config.fluid) {
|
|
7289
7284
|
var f = this.config, g = f.width, p = f.height;
|
|
7290
7285
|
(typeof g != "number" || typeof p != "number") && (g = 600, p = 337.5);
|
|
7291
7286
|
var d = {
|
|
@@ -7387,7 +7382,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7387
7382
|
value: function() {
|
|
7388
7383
|
var e = this;
|
|
7389
7384
|
this.config.presets.forEach(function(i) {
|
|
7390
|
-
|
|
7385
|
+
zd(e, i);
|
|
7391
7386
|
});
|
|
7392
7387
|
}
|
|
7393
7388
|
}, {
|
|
@@ -7402,7 +7397,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7402
7397
|
this.leftBar || (this.leftBar = h.createPositionBar("xg-left-bar", this.root)), i = this.leftBar;
|
|
7403
7398
|
break;
|
|
7404
7399
|
case ee.ROOT_TOP:
|
|
7405
|
-
this.topBar || (this.topBar = h.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && h.addClass(this.topBar,
|
|
7400
|
+
this.topBar || (this.topBar = h.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && h.addClass(this.topBar, x.TOP_BAR_AUTOHIDE)), i = this.topBar;
|
|
7406
7401
|
break;
|
|
7407
7402
|
default:
|
|
7408
7403
|
i = this.innerContainer || this.root;
|
|
@@ -7538,22 +7533,22 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7538
7533
|
value: function() {
|
|
7539
7534
|
var e = this;
|
|
7540
7535
|
if (!this.hasStart && this.state < W.ATTACHED) {
|
|
7541
|
-
this.removeClass(
|
|
7536
|
+
this.removeClass(x.NO_START), this.addClass(x.ENTER), this.start(), this._useAutoplay = !0;
|
|
7542
7537
|
return;
|
|
7543
7538
|
}
|
|
7544
|
-
this.state < W.RUNNING && (this.removeClass(
|
|
7539
|
+
this.state < W.RUNNING && (this.removeClass(x.NO_START), !this.isCanplay && this.addClass(x.ENTER));
|
|
7545
7540
|
var i = U(B(r.prototype), "play", this).call(this);
|
|
7546
7541
|
return i !== void 0 && i && i.then ? i.then(function() {
|
|
7547
|
-
e.removeClass(
|
|
7542
|
+
e.removeClass(x.NOT_ALLOW_AUTOPLAY), e.addClass(x.PLAYING), e.state < W.RUNNING && (q.logInfo(">>>>playPromise.then"), e.setState(W.RUNNING), e.emit(at));
|
|
7548
7543
|
}).catch(function(n) {
|
|
7549
7544
|
if (q.logWarn(">>>>playPromise.catch", n.name), e.media && e.media.error) {
|
|
7550
|
-
e.onError(), e.removeClass(
|
|
7545
|
+
e.onError(), e.removeClass(x.ENTER);
|
|
7551
7546
|
return;
|
|
7552
7547
|
}
|
|
7553
7548
|
n.name === "NotAllowedError" && (e._errorTimer = h.setTimeout(e, function() {
|
|
7554
|
-
e._errorTimer = null, e.emit(ya), e.addClass(
|
|
7549
|
+
e._errorTimer = null, e.emit(ya), e.addClass(x.NOT_ALLOW_AUTOPLAY), e.removeClass(x.ENTER), e.pause(), e.setState(W.NOTALLOW);
|
|
7555
7550
|
}, 0));
|
|
7556
|
-
}) : (q.logWarn("video.play not return promise"), this.state < W.RUNNING && (this.setState(W.RUNNING), this.removeClass(
|
|
7551
|
+
}) : (q.logWarn("video.play not return promise"), this.state < W.RUNNING && (this.setState(W.RUNNING), this.removeClass(x.NOT_ALLOW_AUTOPLAY), this.removeClass(x.NO_START), this.removeClass(x.ENTER), this.addClass(x.PLAYING), this.emit(at))), i;
|
|
7557
7552
|
}
|
|
7558
7553
|
}, {
|
|
7559
7554
|
key: "mediaPause",
|
|
@@ -7569,7 +7564,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7569
7564
|
key: "play",
|
|
7570
7565
|
value: function() {
|
|
7571
7566
|
var e = this;
|
|
7572
|
-
return this.removeClass(
|
|
7567
|
+
return this.removeClass(x.PAUSED), Se(this, "play", function() {
|
|
7573
7568
|
return e.mediaPlay();
|
|
7574
7569
|
});
|
|
7575
7570
|
}
|
|
@@ -7588,7 +7583,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7588
7583
|
if (!(!this.media || Number.isNaN(Number(e)) || !this.hasStart)) {
|
|
7589
7584
|
var o = this.config, l = o.isSeekedPlay, u = o.seekedStatus, c = i || (l ? "play" : u);
|
|
7590
7585
|
e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(Ne, this._onceSeekCanplay), this._onceSeekCanplay = function() {
|
|
7591
|
-
switch (n.removeClass(
|
|
7586
|
+
switch (n.removeClass(x.ENTER), n.isSeeking = !1, c) {
|
|
7592
7587
|
case "play":
|
|
7593
7588
|
n.play();
|
|
7594
7589
|
break;
|
|
@@ -7599,7 +7594,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7599
7594
|
n._isPauseBeforeSeek > 1 || n.paused ? n.pause() : n.play();
|
|
7600
7595
|
}
|
|
7601
7596
|
n._isPauseBeforeSeek = 0, n._onceSeekCanplay = null;
|
|
7602
|
-
}, this.once(Ne, this._onceSeekCanplay), this.state < W.RUNNING ? (this.removeClass(
|
|
7597
|
+
}, this.once(Ne, this._onceSeekCanplay), this.state < W.RUNNING ? (this.removeClass(x.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
|
|
7603
7598
|
}
|
|
7604
7599
|
}
|
|
7605
7600
|
}, {
|
|
@@ -7646,10 +7641,10 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7646
7641
|
}, {
|
|
7647
7642
|
key: "resetState",
|
|
7648
7643
|
value: function() {
|
|
7649
|
-
var e = this, i =
|
|
7644
|
+
var e = this, i = x.NOT_ALLOW_AUTOPLAY, n = x.PLAYING, o = x.NO_START, l = x.PAUSED, u = x.REPLAY, c = x.ENTER, f = x.ENDED, g = x.ERROR, p = x.LOADING, d = [i, n, o, l, u, c, f, g, p];
|
|
7650
7645
|
this.hasStart = !1, this.isError = !1, this._useAutoplay = !1, this.mediaPause(), this._accPlayed.acc = 0, this._accPlayed.t = 0, this._accPlayed.loopAcc = 0, d.forEach(function(m) {
|
|
7651
7646
|
e.removeClass(m);
|
|
7652
|
-
}), this.addClass(
|
|
7647
|
+
}), this.addClass(x.NO_START), this.emit(Ei);
|
|
7653
7648
|
}
|
|
7654
7649
|
}, {
|
|
7655
7650
|
key: "reset",
|
|
@@ -7689,7 +7684,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7689
7684
|
key: "replay",
|
|
7690
7685
|
value: function() {
|
|
7691
7686
|
var e = this;
|
|
7692
|
-
this.removeClass(
|
|
7687
|
+
this.removeClass(x.ENDED), this.currentTime = 0, this.isSeeking = !1, Se(this, "replay", function() {
|
|
7693
7688
|
e.once(Ne, function() {
|
|
7694
7689
|
var i = e.mediaPlay();
|
|
7695
7690
|
i && i.catch && i.catch(function(n) {
|
|
@@ -7702,7 +7697,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7702
7697
|
key: "retry",
|
|
7703
7698
|
value: function() {
|
|
7704
7699
|
var e = this;
|
|
7705
|
-
this.removeClass(
|
|
7700
|
+
this.removeClass(x.ERROR), this.addClass(x.LOADING), Se(this, "retry", function() {
|
|
7706
7701
|
var i = e.currentTime, n = e.config.url, o = h.isMSE(e.media) ? {
|
|
7707
7702
|
url: n
|
|
7708
7703
|
} : e.preProcessUrl(n);
|
|
@@ -7714,12 +7709,12 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7714
7709
|
}, {
|
|
7715
7710
|
key: "changeFullStyle",
|
|
7716
7711
|
value: function(e, i, n, o) {
|
|
7717
|
-
e && (o || (o =
|
|
7712
|
+
e && (o || (o = x.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = h.filterStyleFromText(e)), h.addClass(e, n), i && i !== e && !this._orgPCss && (this._orgPCss = h.filterStyleFromText(i), h.addClass(i, o), i.setAttribute($e, this.playerId)));
|
|
7718
7713
|
}
|
|
7719
7714
|
}, {
|
|
7720
7715
|
key: "recoverFullStyle",
|
|
7721
7716
|
value: function(e, i, n, o) {
|
|
7722
|
-
o || (o =
|
|
7717
|
+
o || (o = x.PARENT_FULLSCREEN), this._orgCss && (h.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), h.removeClass(e, n), i && i !== e && this._orgPCss && (h.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", h.removeClass(i, o), i.removeAttribute($e));
|
|
7723
7718
|
}
|
|
7724
7719
|
}, {
|
|
7725
7720
|
key: "getFullscreen",
|
|
@@ -7777,7 +7772,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7777
7772
|
value: function() {
|
|
7778
7773
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
|
|
7779
7774
|
this.isRotateFullscreen ? this.exitRotateFullscreen() : this.fullscreen && this.exitFullscreen();
|
|
7780
|
-
var i = e ? "".concat(
|
|
7775
|
+
var i = e ? "".concat(x.INNER_FULLSCREEN, " ").concat(x.CSS_FULLSCREEN) : x.CSS_FULLSCREEN;
|
|
7781
7776
|
this.changeFullStyle(this.root, e, i);
|
|
7782
7777
|
var n = this.config.fullscreen, o = n === void 0 ? {} : n, l = o.useCssFullscreen === !0 || typeof o.useCssFullscreen == "function" && o.useCssFullscreen();
|
|
7783
7778
|
l && (this.fullscreen = !0, this.emit(De, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(si, !0);
|
|
@@ -7785,7 +7780,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7785
7780
|
}, {
|
|
7786
7781
|
key: "exitCssFullscreen",
|
|
7787
7782
|
value: function() {
|
|
7788
|
-
var e = this._cssfullscreenEl ? "".concat(
|
|
7783
|
+
var e = this._cssfullscreenEl ? "".concat(x.INNER_FULLSCREEN, " ").concat(x.CSS_FULLSCREEN) : x.CSS_FULLSCREEN;
|
|
7789
7784
|
if (!this.fullscreen)
|
|
7790
7785
|
this.recoverFullStyle(this.root, this._cssfullscreenEl, e);
|
|
7791
7786
|
else {
|
|
@@ -7799,16 +7794,16 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7799
7794
|
value: function() {
|
|
7800
7795
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
|
|
7801
7796
|
this.cssfullscreen && this.exitCssFullscreen(e);
|
|
7802
|
-
var i = e ? "".concat(
|
|
7803
|
-
this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i,
|
|
7797
|
+
var i = e ? "".concat(x.INNER_FULLSCREEN, " ").concat(x.ROTATE_FULLSCREEN) : x.ROTATE_FULLSCREEN;
|
|
7798
|
+
this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, x.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style");
|
|
7804
7799
|
var n = Math.abs(window.orientation) === 90 || Math.abs(screen.orientation.angle) === 90;
|
|
7805
7800
|
this.root.style.width = n ? "".concat(window.innerWidth, "px") : "".concat(window.innerHeight, "px"), this.emit(De, !0);
|
|
7806
7801
|
}
|
|
7807
7802
|
}, {
|
|
7808
7803
|
key: "exitRotateFullscreen",
|
|
7809
7804
|
value: function(e) {
|
|
7810
|
-
var i = this._fullscreenEl !== this.root ? "".concat(
|
|
7811
|
-
this.recoverFullStyle(this.root, this._fullscreenEl, i,
|
|
7805
|
+
var i = this._fullscreenEl !== this.root ? "".concat(x.INNER_FULLSCREEN, " ").concat(x.ROTATE_FULLSCREEN) : x.ROTATE_FULLSCREEN;
|
|
7806
|
+
this.recoverFullStyle(this.root, this._fullscreenEl, i, x.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(De, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
|
|
7812
7807
|
}
|
|
7813
7808
|
}, {
|
|
7814
7809
|
key: "setRotateDeg",
|
|
@@ -7853,7 +7848,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7853
7848
|
autoHide: !0,
|
|
7854
7849
|
delay: 3e3
|
|
7855
7850
|
}, n = this.innerStates;
|
|
7856
|
-
if (this.isActive = !0, this.removeClass(
|
|
7851
|
+
if (this.isActive = !0, this.removeClass(x.INACTIVE), this._clearUserTimer(), i.isLock !== void 0 && (n.isActiveLocked = i.isLock), i.autoHide === !1 || i.isLock === !0 || n.isActiveLocked) {
|
|
7857
7852
|
this._clearUserTimer();
|
|
7858
7853
|
return;
|
|
7859
7854
|
}
|
|
@@ -7868,7 +7863,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7868
7863
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = e.ignorePaused, n = i === void 0 ? !1 : i;
|
|
7869
7864
|
if (!this.innerStates.isActiveLocked) {
|
|
7870
7865
|
var o = this.config.closePauseVideoFocus;
|
|
7871
|
-
this.isActive = !1, (n || o || !this.paused && !this.ended) && this.addClass(
|
|
7866
|
+
this.isActive = !1, (n || o || !this.paused && !this.ended) && this.addClass(x.INACTIVE);
|
|
7872
7867
|
}
|
|
7873
7868
|
}
|
|
7874
7869
|
}, {
|
|
@@ -7879,7 +7874,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7879
7874
|
}, {
|
|
7880
7875
|
key: "onCanplay",
|
|
7881
7876
|
value: function() {
|
|
7882
|
-
this.removeClass(
|
|
7877
|
+
this.removeClass(x.ENTER), this.removeClass(x.ERROR), this.removeClass(x.LOADING), this.isCanplay = !0, this.waitTimer && h.clearTimeout(this, this.waitTimer);
|
|
7883
7878
|
}
|
|
7884
7879
|
}, {
|
|
7885
7880
|
key: "onLoadeddata",
|
|
@@ -7892,44 +7887,44 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7892
7887
|
}, {
|
|
7893
7888
|
key: "onLoadstart",
|
|
7894
7889
|
value: function() {
|
|
7895
|
-
this.removeClass(
|
|
7890
|
+
this.removeClass(x.ERROR), this.isCanplay = !1;
|
|
7896
7891
|
}
|
|
7897
7892
|
}, {
|
|
7898
7893
|
key: "onPlay",
|
|
7899
7894
|
value: function() {
|
|
7900
|
-
this.state === W.ENDED && this.setState(W.RUNNING), this.removeClass(
|
|
7895
|
+
this.state === W.ENDED && this.setState(W.RUNNING), this.removeClass(x.PAUSED), this.ended && this.removeClass(x.ENDED), !this.config.closePlayVideoFocus && this.focus();
|
|
7901
7896
|
}
|
|
7902
7897
|
}, {
|
|
7903
7898
|
key: "onPause",
|
|
7904
7899
|
value: function() {
|
|
7905
|
-
this.addClass(
|
|
7900
|
+
this.addClass(x.PAUSED), this.updateAcc("pause"), this.config.closePauseVideoFocus || (this._clearUserTimer(), this.focus());
|
|
7906
7901
|
}
|
|
7907
7902
|
}, {
|
|
7908
7903
|
key: "onEnded",
|
|
7909
7904
|
value: function() {
|
|
7910
|
-
this.updateAcc("ended"), this.addClass(
|
|
7905
|
+
this.updateAcc("ended"), this.addClass(x.ENDED), this.setState(W.ENDED);
|
|
7911
7906
|
}
|
|
7912
7907
|
}, {
|
|
7913
7908
|
key: "onError",
|
|
7914
7909
|
value: function() {
|
|
7915
|
-
this.isError = !0, this.updateAcc("error"), this.removeClass(
|
|
7910
|
+
this.isError = !0, this.updateAcc("error"), this.removeClass(x.NOT_ALLOW_AUTOPLAY), this.removeClass(x.NO_START), this.removeClass(x.ENTER), this.removeClass(x.LOADING), this.addClass(x.ERROR);
|
|
7916
7911
|
}
|
|
7917
7912
|
}, {
|
|
7918
7913
|
key: "onSeeking",
|
|
7919
7914
|
value: function() {
|
|
7920
|
-
this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(
|
|
7915
|
+
this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(x.SEEKING);
|
|
7921
7916
|
}
|
|
7922
7917
|
}, {
|
|
7923
7918
|
key: "onSeeked",
|
|
7924
7919
|
value: function() {
|
|
7925
|
-
this.isSeeking = !1, this.waitTimer && h.clearTimeout(this, this.waitTimer), this.removeClass(
|
|
7920
|
+
this.isSeeking = !1, this.waitTimer && h.clearTimeout(this, this.waitTimer), this.removeClass(x.LOADING), this.removeClass(x.SEEKING);
|
|
7926
7921
|
}
|
|
7927
7922
|
}, {
|
|
7928
7923
|
key: "onWaiting",
|
|
7929
7924
|
value: function() {
|
|
7930
7925
|
var e = this;
|
|
7931
7926
|
this.waitTimer && h.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = h.setTimeout(this, function() {
|
|
7932
|
-
e.addClass(
|
|
7927
|
+
e.addClass(x.LOADING), e.emit(iu), h.clearTimeout(e, e.waitTimer), e.waitTimer = null;
|
|
7933
7928
|
}, this.config.minWaitDelay);
|
|
7934
7929
|
}
|
|
7935
7930
|
}, {
|
|
@@ -7937,7 +7932,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7937
7932
|
value: function() {
|
|
7938
7933
|
var e = this;
|
|
7939
7934
|
this.isError = !1;
|
|
7940
|
-
var i =
|
|
7935
|
+
var i = x.NO_START, n = x.PAUSED, o = x.ENDED, l = x.ERROR, u = x.REPLAY, c = x.LOADING, f = [i, n, o, l, u, c];
|
|
7941
7936
|
f.forEach(function(g) {
|
|
7942
7937
|
e.removeClass(g);
|
|
7943
7938
|
}), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
|
|
@@ -7945,7 +7940,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
7945
7940
|
}, {
|
|
7946
7941
|
key: "onTimeupdate",
|
|
7947
7942
|
value: function() {
|
|
7948
|
-
!this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(
|
|
7943
|
+
!this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(x.LOADING)) && this.media.readyState > 2 && (this.removeClass(x.LOADING), h.clearTimeout(this, this.waitTimer), this.waitTimer = null), !this.paused && this.state === W.NOTALLOW && this.duration && (this.setState(W.RUNNING), this.emit(at)), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
|
|
7949
7944
|
}
|
|
7950
7945
|
}, {
|
|
7951
7946
|
key: "onVolumechange",
|
|
@@ -8004,17 +7999,17 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
8004
7999
|
this.videoPos.pi = f, c = c < 0 ? 0 : c;
|
|
8005
8000
|
var g = {
|
|
8006
8001
|
rotate: c
|
|
8007
|
-
}, p = 0, d = 0, m = 1, v = Math.abs(c / 90), w = this.root, b = this.innerContainer, C = w.offsetWidth, R = b ? b.offsetHeight : w.offsetHeight,
|
|
8002
|
+
}, p = 0, d = 0, m = 1, v = Math.abs(c / 90), w = this.root, b = this.innerContainer, C = w.offsetWidth, R = b ? b.offsetHeight : w.offsetHeight, E = {}, L = R, z = C;
|
|
8008
8003
|
if (v % 2 === 0)
|
|
8009
|
-
m = l > 0 ? 100 / l : u > 0 ? 100 / u : 1, g.scale = m, p = n > 0 ? (100 - l) / 2 - n : 0, g.y = v === 2 ? 0 - p : p, d = o > 0 ? (100 - u) / 2 - o : 0, g.x = v === 2 ? 0 - d : d,
|
|
8004
|
+
m = l > 0 ? 100 / l : u > 0 ? 100 / u : 1, g.scale = m, p = n > 0 ? (100 - l) / 2 - n : 0, g.y = v === 2 ? 0 - p : p, d = o > 0 ? (100 - u) / 2 - o : 0, g.x = v === 2 ? 0 - d : d, E.width = "".concat(z, "px"), E.height = "".concat(L, "px"), E.maxWidth = "", E.maxHeight = "";
|
|
8010
8005
|
else if (v % 2 === 1) {
|
|
8011
8006
|
z = R, L = C;
|
|
8012
8007
|
var G = R - C;
|
|
8013
|
-
d = -G / 2 / z * 100, g.x = v === 3 ? d + n / 2 : d - n / 2, p = G / 2 / L * 100, g.y = v === 3 ? p + o / 2 : p - o / 2, g.scale = m,
|
|
8008
|
+
d = -G / 2 / z * 100, g.x = v === 3 ? d + n / 2 : d - n / 2, p = G / 2 / L * 100, g.y = v === 3 ? p + o / 2 : p - o / 2, g.scale = m, E.width = "".concat(z, "px"), E.maxWidth = "".concat(z, "px"), E.height = "".concat(L, "px"), E.maxHeight = "".concat(L, "px");
|
|
8014
8009
|
}
|
|
8015
8010
|
var V = h.getTransformStyle(g, this.media.style.transform || this.media.style.webkitTransform);
|
|
8016
|
-
|
|
8017
|
-
e.media.style[A] =
|
|
8011
|
+
E.transform = V, E.webkitTransform = V, Object.keys(E).map(function(A) {
|
|
8012
|
+
e.media.style[A] = E[A];
|
|
8018
8013
|
});
|
|
8019
8014
|
}
|
|
8020
8015
|
}
|
|
@@ -8064,8 +8059,8 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
8064
8059
|
if ((f === "fill" || f === "cover" || f === "contain") && this.setAttribute("data-xgfill", f), !(!l || !o)) {
|
|
8065
8060
|
this._videoHeight = l, this._videoWidth = o;
|
|
8066
8061
|
var g = this.controls && this.innerContainer ? this.controls.root.getBoundingClientRect().height : 0, p = i.width, d = i.height - g, m = parseInt(o / l * 1e3, 10), v = parseInt(p / d * 1e3, 10), w = p, b = d, C = {};
|
|
8067
|
-
c === "auto" && v > m || c === "fixWidth" ? (b = p / m * 1e3, this.config.fluid ? C.paddingTop = "".concat(b * 100 / w, "%") : C.height = "".concat(b + g, "px")) : (c === "auto" && v < m || c === "fixHeight") && (w = m * d / 1e3, C.width = "".concat(w, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(C).forEach(function(
|
|
8068
|
-
e.root.style[
|
|
8062
|
+
c === "auto" && v > m || c === "fixWidth" ? (b = p / m * 1e3, this.config.fluid ? C.paddingTop = "".concat(b * 100 / w, "%") : C.height = "".concat(b + g, "px")) : (c === "auto" && v < m || c === "fixHeight") && (w = m * d / 1e3, C.width = "".concat(w, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(C).forEach(function(E) {
|
|
8063
|
+
e.root.style[E] = C[E];
|
|
8069
8064
|
}), (f === "fillHeight" && v < m || f === "fillWidth" && v > m) && this.setAttribute("data-xgfill", "cover");
|
|
8070
8065
|
var R = {
|
|
8071
8066
|
videoScale: m,
|
|
@@ -8382,7 +8377,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
|
|
|
8382
8377
|
r.plugins || (r.plugins = {}), r.plugins[e] = i;
|
|
8383
8378
|
}
|
|
8384
8379
|
}]), r;
|
|
8385
|
-
})(
|
|
8380
|
+
})(Pd);
|
|
8386
8381
|
_(xi, "defaultPreset", null);
|
|
8387
8382
|
_(xi, "XgVideoProxy", null);
|
|
8388
8383
|
xi.instManager = vu.getInstance();
|
|
@@ -8425,13 +8420,13 @@ var ut = /* @__PURE__ */ (function(a) {
|
|
|
8425
8420
|
}
|
|
8426
8421
|
}]), r;
|
|
8427
8422
|
})(Y);
|
|
8428
|
-
function
|
|
8423
|
+
function Yd() {
|
|
8429
8424
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
8430
8425
|
<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>
|
|
8431
8426
|
</svg>
|
|
8432
8427
|
`, "image/svg+xml").firstChild;
|
|
8433
8428
|
}
|
|
8434
|
-
function
|
|
8429
|
+
function Xd() {
|
|
8435
8430
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
8436
8431
|
<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>
|
|
8437
8432
|
</svg>
|
|
@@ -8491,11 +8486,11 @@ var Zr = /* @__PURE__ */ (function(a) {
|
|
|
8491
8486
|
value: function() {
|
|
8492
8487
|
return {
|
|
8493
8488
|
cssFullscreen: {
|
|
8494
|
-
icon:
|
|
8489
|
+
icon: Yd,
|
|
8495
8490
|
class: "xg-get-cssfull"
|
|
8496
8491
|
},
|
|
8497
8492
|
exitCssFullscreen: {
|
|
8498
|
-
icon:
|
|
8493
|
+
icon: Xd,
|
|
8499
8494
|
class: "xg-exit-cssfull"
|
|
8500
8495
|
}
|
|
8501
8496
|
};
|
|
@@ -8532,14 +8527,14 @@ var Zr = /* @__PURE__ */ (function(a) {
|
|
|
8532
8527
|
}
|
|
8533
8528
|
}]), r;
|
|
8534
8529
|
})(ut);
|
|
8535
|
-
function
|
|
8530
|
+
function Jd() {
|
|
8536
8531
|
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">
|
|
8537
8532
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
8538
8533
|
<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>
|
|
8539
8534
|
</g>
|
|
8540
8535
|
</svg>`, "image/svg+xml").firstChild;
|
|
8541
8536
|
}
|
|
8542
|
-
var
|
|
8537
|
+
var Zd = /* @__PURE__ */ (function(a) {
|
|
8543
8538
|
M(r, a);
|
|
8544
8539
|
var s = N(r);
|
|
8545
8540
|
function r() {
|
|
@@ -8558,7 +8553,7 @@ var Jd = /* @__PURE__ */ (function(a) {
|
|
|
8558
8553
|
value: function() {
|
|
8559
8554
|
return {
|
|
8560
8555
|
screenBack: {
|
|
8561
|
-
icon:
|
|
8556
|
+
icon: Jd,
|
|
8562
8557
|
class: "xg-fullscreen-back"
|
|
8563
8558
|
}
|
|
8564
8559
|
};
|
|
@@ -8600,13 +8595,13 @@ var Jd = /* @__PURE__ */ (function(a) {
|
|
|
8600
8595
|
}
|
|
8601
8596
|
}]), r;
|
|
8602
8597
|
})(Y);
|
|
8603
|
-
function
|
|
8598
|
+
function Qd() {
|
|
8604
8599
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
8605
8600
|
<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>
|
|
8606
8601
|
</svg>
|
|
8607
8602
|
`, "image/svg+xml").firstChild;
|
|
8608
8603
|
}
|
|
8609
|
-
function
|
|
8604
|
+
function eg() {
|
|
8610
8605
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
8611
8606
|
<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>
|
|
8612
8607
|
</svg>
|
|
@@ -8647,7 +8642,7 @@ var mu = /* @__PURE__ */ (function(a) {
|
|
|
8647
8642
|
var u = e.find(".xg-tips");
|
|
8648
8643
|
u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
|
|
8649
8644
|
}), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
|
|
8650
|
-
plugin:
|
|
8645
|
+
plugin: Zd,
|
|
8651
8646
|
options: {
|
|
8652
8647
|
config: {
|
|
8653
8648
|
onClick: function(u) {
|
|
@@ -8663,11 +8658,11 @@ var mu = /* @__PURE__ */ (function(a) {
|
|
|
8663
8658
|
value: function() {
|
|
8664
8659
|
return {
|
|
8665
8660
|
fullscreen: {
|
|
8666
|
-
icon:
|
|
8661
|
+
icon: Qd,
|
|
8667
8662
|
class: "xg-get-fullscreen"
|
|
8668
8663
|
},
|
|
8669
8664
|
exitFullscreen: {
|
|
8670
|
-
icon:
|
|
8665
|
+
icon: eg,
|
|
8671
8666
|
class: "xg-exit-fullscreen"
|
|
8672
8667
|
}
|
|
8673
8668
|
};
|
|
@@ -8852,7 +8847,7 @@ var yu = /* @__PURE__ */ (function(a) {
|
|
|
8852
8847
|
};
|
|
8853
8848
|
}
|
|
8854
8849
|
}]), r;
|
|
8855
|
-
})(ut),
|
|
8850
|
+
})(ut), tg = [{
|
|
8856
8851
|
tag: "xg-cache",
|
|
8857
8852
|
className: "xgplayer-progress-cache",
|
|
8858
8853
|
styleKey: "cachedColor"
|
|
@@ -8860,7 +8855,7 @@ var yu = /* @__PURE__ */ (function(a) {
|
|
|
8860
8855
|
tag: "xg-played",
|
|
8861
8856
|
className: "xgplayer-progress-played",
|
|
8862
8857
|
styleKey: "playedColor"
|
|
8863
|
-
}],
|
|
8858
|
+
}], ig = /* @__PURE__ */ (function() {
|
|
8864
8859
|
function a(s) {
|
|
8865
8860
|
O(this, a), this.fragments = s.fragments || [], this.fragments.length === 0 && this.fragments.push({
|
|
8866
8861
|
percent: 1
|
|
@@ -9047,7 +9042,7 @@ var yu = /* @__PURE__ */ (function(a) {
|
|
|
9047
9042
|
var l = h.createDom("xg-inner", "", {
|
|
9048
9043
|
style: t ? "background:".concat(t, "; flex: ").concat(o.percent) : "flex: ".concat(o.percent)
|
|
9049
9044
|
}, "".concat(o.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
|
|
9050
|
-
return r.root.appendChild(l),
|
|
9045
|
+
return r.root.appendChild(l), tg.forEach(function(u) {
|
|
9051
9046
|
l.appendChild(h.createDom(u.tag, "", {
|
|
9052
9047
|
style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
|
|
9053
9048
|
}, u.className));
|
|
@@ -9195,7 +9190,7 @@ var yu = /* @__PURE__ */ (function(a) {
|
|
|
9195
9190
|
e.emitUserAction("fragment_focus", "fragment_focus", u);
|
|
9196
9191
|
}
|
|
9197
9192
|
});
|
|
9198
|
-
this.innerList ? this.innerList.reset(o) : (this.innerList = new
|
|
9193
|
+
this.innerList ? this.innerList.reset(o) : (this.innerList = new ig(o), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
|
|
9199
9194
|
e[l] = e.innerList[l].bind(e.innerList);
|
|
9200
9195
|
}));
|
|
9201
9196
|
}
|
|
@@ -9638,21 +9633,21 @@ var yu = /* @__PURE__ */ (function(a) {
|
|
|
9638
9633
|
}
|
|
9639
9634
|
}]), r;
|
|
9640
9635
|
})(Y);
|
|
9641
|
-
function
|
|
9636
|
+
function ng() {
|
|
9642
9637
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9643
9638
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9644
9639
|
<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>
|
|
9645
9640
|
</svg>
|
|
9646
9641
|
`, "image/svg+xml").firstChild;
|
|
9647
9642
|
}
|
|
9648
|
-
function
|
|
9643
|
+
function rg() {
|
|
9649
9644
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9650
9645
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9651
9646
|
<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>
|
|
9652
9647
|
</svg>
|
|
9653
9648
|
`, "image/svg+xml").firstChild;
|
|
9654
9649
|
}
|
|
9655
|
-
function
|
|
9650
|
+
function ag() {
|
|
9656
9651
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9657
9652
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9658
9653
|
<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>
|
|
@@ -9707,15 +9702,15 @@ var Cu = /* @__PURE__ */ (function(a) {
|
|
|
9707
9702
|
value: function() {
|
|
9708
9703
|
return {
|
|
9709
9704
|
volumeSmall: {
|
|
9710
|
-
icon:
|
|
9705
|
+
icon: rg,
|
|
9711
9706
|
class: "xg-volume-small"
|
|
9712
9707
|
},
|
|
9713
9708
|
volumeLarge: {
|
|
9714
|
-
icon:
|
|
9709
|
+
icon: ng,
|
|
9715
9710
|
class: "xg-volume"
|
|
9716
9711
|
},
|
|
9717
9712
|
volumeMuted: {
|
|
9718
|
-
icon:
|
|
9713
|
+
icon: ag,
|
|
9719
9714
|
class: "xg-volume-mute"
|
|
9720
9715
|
}
|
|
9721
9716
|
};
|
|
@@ -9865,7 +9860,7 @@ var Ge = {
|
|
|
9865
9860
|
WAIT_END: "waitingEnd",
|
|
9866
9861
|
SEEK_START: "seekStart",
|
|
9867
9862
|
SEEK_END: "seekEnd"
|
|
9868
|
-
},
|
|
9863
|
+
}, sg = /* @__PURE__ */ (function(a) {
|
|
9869
9864
|
M(r, a);
|
|
9870
9865
|
var s = N(r);
|
|
9871
9866
|
function r() {
|
|
@@ -10016,13 +10011,13 @@ var Ge = {
|
|
|
10016
10011
|
}
|
|
10017
10012
|
}]), r;
|
|
10018
10013
|
})(Y);
|
|
10019
|
-
function
|
|
10014
|
+
function og() {
|
|
10020
10015
|
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">
|
|
10021
10016
|
<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>
|
|
10022
10017
|
</svg>
|
|
10023
10018
|
`, "image/svg+xml").firstChild;
|
|
10024
10019
|
}
|
|
10025
|
-
var
|
|
10020
|
+
var lg = /* @__PURE__ */ (function(a) {
|
|
10026
10021
|
M(r, a);
|
|
10027
10022
|
var s = N(r);
|
|
10028
10023
|
function r() {
|
|
@@ -10032,7 +10027,7 @@ var og = /* @__PURE__ */ (function(a) {
|
|
|
10032
10027
|
key: "registerIcons",
|
|
10033
10028
|
value: function() {
|
|
10034
10029
|
return {
|
|
10035
|
-
replay:
|
|
10030
|
+
replay: og
|
|
10036
10031
|
};
|
|
10037
10032
|
}
|
|
10038
10033
|
}, {
|
|
@@ -10105,7 +10100,7 @@ var og = /* @__PURE__ */ (function(a) {
|
|
|
10105
10100
|
};
|
|
10106
10101
|
}
|
|
10107
10102
|
}]), r;
|
|
10108
|
-
})(Y),
|
|
10103
|
+
})(Y), ug = /* @__PURE__ */ (function(a) {
|
|
10109
10104
|
M(r, a);
|
|
10110
10105
|
var s = N(r);
|
|
10111
10106
|
function r() {
|
|
@@ -10223,7 +10218,7 @@ var og = /* @__PURE__ */ (function(a) {
|
|
|
10223
10218
|
}
|
|
10224
10219
|
}]), r;
|
|
10225
10220
|
})(Y), Pe = {};
|
|
10226
|
-
function
|
|
10221
|
+
function cg(a, s) {
|
|
10227
10222
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
10228
10223
|
start: null,
|
|
10229
10224
|
end: null
|
|
@@ -10241,7 +10236,7 @@ function ll(a) {
|
|
|
10241
10236
|
window.clearTimeout(Pe[s].id), delete Pe[s];
|
|
10242
10237
|
});
|
|
10243
10238
|
}
|
|
10244
|
-
var
|
|
10239
|
+
var fg = /* @__PURE__ */ (function(a) {
|
|
10245
10240
|
M(r, a);
|
|
10246
10241
|
var s = N(r);
|
|
10247
10242
|
function r(t) {
|
|
@@ -10345,7 +10340,7 @@ var cg = /* @__PURE__ */ (function(a) {
|
|
|
10345
10340
|
key: "animate",
|
|
10346
10341
|
value: function(e) {
|
|
10347
10342
|
var i = this;
|
|
10348
|
-
this._animateId =
|
|
10343
|
+
this._animateId = cg("pauseplay", 400, {
|
|
10349
10344
|
start: function() {
|
|
10350
10345
|
h.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
|
|
10351
10346
|
},
|
|
@@ -10433,7 +10428,7 @@ var cg = /* @__PURE__ */ (function(a) {
|
|
|
10433
10428
|
};
|
|
10434
10429
|
}
|
|
10435
10430
|
}]), r;
|
|
10436
|
-
})(Y),
|
|
10431
|
+
})(Y), hg = /* @__PURE__ */ (function(a) {
|
|
10437
10432
|
M(r, a);
|
|
10438
10433
|
var s = N(r);
|
|
10439
10434
|
function r() {
|
|
@@ -10523,7 +10518,7 @@ function cl(a) {
|
|
|
10523
10518
|
return r && s;
|
|
10524
10519
|
}
|
|
10525
10520
|
var Ta = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], ku = Ta.length;
|
|
10526
|
-
function
|
|
10521
|
+
function dg() {
|
|
10527
10522
|
for (var a = {
|
|
10528
10523
|
width: 0,
|
|
10529
10524
|
height: 0,
|
|
@@ -10537,15 +10532,15 @@ function hg() {
|
|
|
10537
10532
|
}
|
|
10538
10533
|
return a;
|
|
10539
10534
|
}
|
|
10540
|
-
function
|
|
10535
|
+
function gg(a) {
|
|
10541
10536
|
var s = window.getComputedStyle(a);
|
|
10542
10537
|
return s;
|
|
10543
10538
|
}
|
|
10544
10539
|
function fl(a) {
|
|
10545
10540
|
if (typeof a == "string" && (a = document.querySelector(a)), !(!a || ce(a) !== "object" || !a.nodeType)) {
|
|
10546
|
-
var s =
|
|
10541
|
+
var s = gg(a);
|
|
10547
10542
|
if (s.display === "none")
|
|
10548
|
-
return
|
|
10543
|
+
return dg();
|
|
10549
10544
|
var r = {};
|
|
10550
10545
|
r.width = a.offsetWidth, r.height = a.offsetHeight;
|
|
10551
10546
|
for (var t = r.isBorderBox = s.boxSizing === "border-box", e = 0; e < ku; e++) {
|
|
@@ -10573,7 +10568,7 @@ var Hr = {
|
|
|
10573
10568
|
mousedown: ["mousemove", "mouseup"],
|
|
10574
10569
|
touchstart: ["touchmove", "touchend", "touchcancel"],
|
|
10575
10570
|
pointerdown: ["pointermove", "pointerup", "pointercancel"]
|
|
10576
|
-
},
|
|
10571
|
+
}, pg = /* @__PURE__ */ (function(a) {
|
|
10577
10572
|
M(r, a);
|
|
10578
10573
|
var s = N(r);
|
|
10579
10574
|
function r(t) {
|
|
@@ -10783,7 +10778,7 @@ var Hr = {
|
|
|
10783
10778
|
return parseInt(e, 10);
|
|
10784
10779
|
}
|
|
10785
10780
|
}]), r;
|
|
10786
|
-
})($l),
|
|
10781
|
+
})($l), vg = /* @__PURE__ */ (function(a) {
|
|
10787
10782
|
M(r, a);
|
|
10788
10783
|
var s = N(r);
|
|
10789
10784
|
function r(t) {
|
|
@@ -10839,7 +10834,7 @@ var Hr = {
|
|
|
10839
10834
|
i.controls.registerPlugin(ul, o, ul.pluginName);
|
|
10840
10835
|
}
|
|
10841
10836
|
var l = h.checkTouchSupport() ? "touchend" : "click";
|
|
10842
|
-
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new
|
|
10837
|
+
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new pg(this.player.root, {
|
|
10843
10838
|
handle: this.root
|
|
10844
10839
|
})), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
|
|
10845
10840
|
}
|
|
@@ -11076,12 +11071,12 @@ var Hr = {
|
|
|
11076
11071
|
TOUCH_MOVE: "touchmove",
|
|
11077
11072
|
TOUCH_START: "touchstart",
|
|
11078
11073
|
TOUCH_END: "touchend"
|
|
11079
|
-
},
|
|
11074
|
+
}, mg = {
|
|
11080
11075
|
start: "touchstart",
|
|
11081
11076
|
end: "touchend",
|
|
11082
11077
|
move: "touchmove",
|
|
11083
11078
|
cancel: "touchcancel"
|
|
11084
|
-
},
|
|
11079
|
+
}, yg = {
|
|
11085
11080
|
start: "mousedown",
|
|
11086
11081
|
end: "mouseup",
|
|
11087
11082
|
move: "mousemove",
|
|
@@ -11090,7 +11085,7 @@ var Hr = {
|
|
|
11090
11085
|
function dl(a) {
|
|
11091
11086
|
return a && a.length > 0 ? a[a.length - 1] : null;
|
|
11092
11087
|
}
|
|
11093
|
-
function
|
|
11088
|
+
function _g() {
|
|
11094
11089
|
return {
|
|
11095
11090
|
pressDelay: 600,
|
|
11096
11091
|
dbClickDelay: 200,
|
|
@@ -11100,7 +11095,7 @@ function yg() {
|
|
|
11100
11095
|
needPreventDefault: !0
|
|
11101
11096
|
};
|
|
11102
11097
|
}
|
|
11103
|
-
var
|
|
11098
|
+
var bg = /* @__PURE__ */ (function() {
|
|
11104
11099
|
function a(s) {
|
|
11105
11100
|
var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
11106
11101
|
eventType: "touch"
|
|
@@ -11121,9 +11116,9 @@ var _g = /* @__PURE__ */ (function() {
|
|
|
11121
11116
|
start: !1,
|
|
11122
11117
|
x: 0,
|
|
11123
11118
|
y: 0
|
|
11124
|
-
}, this.config =
|
|
11119
|
+
}, this.config = _g(), Object.keys(t).map(function(e) {
|
|
11125
11120
|
r.config[e] = t[e];
|
|
11126
|
-
}), this.root = s, this.events = t.eventType === "mouse" ?
|
|
11121
|
+
}), this.root = s, this.events = t.eventType === "mouse" ? yg : mg, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
|
|
11127
11122
|
}
|
|
11128
11123
|
return D(a, [{
|
|
11129
11124
|
key: "_initEvent",
|
|
@@ -11202,7 +11197,7 @@ var _g = /* @__PURE__ */ (function() {
|
|
|
11202
11197
|
}
|
|
11203
11198
|
}]), a;
|
|
11204
11199
|
})();
|
|
11205
|
-
function
|
|
11200
|
+
function Cg() {
|
|
11206
11201
|
return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
11207
11202
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
11208
11203
|
<path opacity="0.54"
|
|
@@ -11215,7 +11210,7 @@ var pt = {
|
|
|
11215
11210
|
AUTO: "auto",
|
|
11216
11211
|
SEEKING: "seeking",
|
|
11217
11212
|
PLAYBACK: "playbackrate"
|
|
11218
|
-
}, zr = ["videoClick", "videoDbClick"],
|
|
11213
|
+
}, zr = ["videoClick", "videoDbClick"], kg = /* @__PURE__ */ (function(a) {
|
|
11219
11214
|
M(r, a);
|
|
11220
11215
|
var s = N(r);
|
|
11221
11216
|
function r(t) {
|
|
@@ -11289,7 +11284,7 @@ var pt = {
|
|
|
11289
11284
|
value: function() {
|
|
11290
11285
|
return {
|
|
11291
11286
|
seekTipIcon: {
|
|
11292
|
-
icon:
|
|
11287
|
+
icon: Cg,
|
|
11293
11288
|
class: "xg-seek-pre"
|
|
11294
11289
|
}
|
|
11295
11290
|
};
|
|
@@ -11304,7 +11299,7 @@ var pt = {
|
|
|
11304
11299
|
var i = this.playerConfig, n = this.config, o = this.player;
|
|
11305
11300
|
i.closeVideoDblclick === !0 && (n.closedbClick = !0), this.resetPos(), h.isUndefined(i.disableGesture) || (n.disableGesture = !!i.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = h.createDom("xg-mask", "", {}, "xgmask"), o.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
|
|
11306
11301
|
var l = this.domEventType === "mouse" ? "mouse" : "touch";
|
|
11307
|
-
this.touch = new
|
|
11302
|
+
this.touch = new bg(this.root, {
|
|
11308
11303
|
eventType: l,
|
|
11309
11304
|
needPreventDefault: !this.config.disableGesture
|
|
11310
11305
|
}), this.root.addEventListener("contextmenu", function(g) {
|
|
@@ -11649,7 +11644,7 @@ var pt = {
|
|
|
11649
11644
|
}
|
|
11650
11645
|
}]), r;
|
|
11651
11646
|
})(Y);
|
|
11652
|
-
function
|
|
11647
|
+
function wg(a) {
|
|
11653
11648
|
a.preventDefault(), a.returnValue = !1;
|
|
11654
11649
|
}
|
|
11655
11650
|
function gl(a) {
|
|
@@ -11898,7 +11893,7 @@ var pl = /* @__PURE__ */ (function(a) {
|
|
|
11898
11893
|
isPress: n
|
|
11899
11894
|
}, this.keyCodeMap[o[l]]));
|
|
11900
11895
|
}
|
|
11901
|
-
|
|
11896
|
+
wg(i), i.stopPropagation();
|
|
11902
11897
|
break;
|
|
11903
11898
|
}
|
|
11904
11899
|
}
|
|
@@ -11940,13 +11935,13 @@ var pl = /* @__PURE__ */ (function(a) {
|
|
|
11940
11935
|
}
|
|
11941
11936
|
}]), r;
|
|
11942
11937
|
})(Xe);
|
|
11943
|
-
function
|
|
11938
|
+
function Tg() {
|
|
11944
11939
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
|
|
11945
11940
|
<path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
|
|
11946
11941
|
</svg>
|
|
11947
11942
|
`, "image/svg+xml").firstChild;
|
|
11948
11943
|
}
|
|
11949
|
-
var
|
|
11944
|
+
var Sg = /* @__PURE__ */ (function(a) {
|
|
11950
11945
|
M(r, a);
|
|
11951
11946
|
var s = N(r);
|
|
11952
11947
|
function r() {
|
|
@@ -11956,7 +11951,7 @@ var Tg = /* @__PURE__ */ (function(a) {
|
|
|
11956
11951
|
key: "registerIcons",
|
|
11957
11952
|
value: function() {
|
|
11958
11953
|
return {
|
|
11959
|
-
loadingIcon:
|
|
11954
|
+
loadingIcon: Tg
|
|
11960
11955
|
};
|
|
11961
11956
|
}
|
|
11962
11957
|
}, {
|
|
@@ -11985,7 +11980,7 @@ var Tg = /* @__PURE__ */ (function(a) {
|
|
|
11985
11980
|
};
|
|
11986
11981
|
}
|
|
11987
11982
|
}]), r;
|
|
11988
|
-
})(Y),
|
|
11983
|
+
})(Y), Eg = /* @__PURE__ */ (function(a) {
|
|
11989
11984
|
M(r, a);
|
|
11990
11985
|
var s = N(r);
|
|
11991
11986
|
function r() {
|
|
@@ -12123,7 +12118,7 @@ var Tg = /* @__PURE__ */ (function(a) {
|
|
|
12123
12118
|
}
|
|
12124
12119
|
}]), r;
|
|
12125
12120
|
})(Xe);
|
|
12126
|
-
function
|
|
12121
|
+
function xg() {
|
|
12127
12122
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
|
|
12128
12123
|
<g>
|
|
12129
12124
|
<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"/>
|
|
@@ -12137,7 +12132,7 @@ function Eg() {
|
|
|
12137
12132
|
</svg>
|
|
12138
12133
|
`, "image/svg+xml").firstChild;
|
|
12139
12134
|
}
|
|
12140
|
-
var
|
|
12135
|
+
var Ig = /* @__PURE__ */ (function(a) {
|
|
12141
12136
|
M(r, a);
|
|
12142
12137
|
var s = N(r);
|
|
12143
12138
|
function r(t) {
|
|
@@ -12183,9 +12178,9 @@ var xg = /* @__PURE__ */ (function(a) {
|
|
|
12183
12178
|
webKitTransform: b,
|
|
12184
12179
|
height: m,
|
|
12185
12180
|
width: d
|
|
12186
|
-
}, R = i ? f : u,
|
|
12181
|
+
}, R = i ? f : u, E = i ? n.getPlugin("poster") : null;
|
|
12187
12182
|
Object.keys(C).map(function(L) {
|
|
12188
|
-
R.style[L] = C[L],
|
|
12183
|
+
R.style[L] = C[L], E && E.root && (E.root.style[L] = C[L]);
|
|
12189
12184
|
});
|
|
12190
12185
|
}
|
|
12191
12186
|
}, {
|
|
@@ -12200,7 +12195,7 @@ var xg = /* @__PURE__ */ (function(a) {
|
|
|
12200
12195
|
key: "registerIcons",
|
|
12201
12196
|
value: function() {
|
|
12202
12197
|
return {
|
|
12203
|
-
rotate:
|
|
12198
|
+
rotate: xg
|
|
12204
12199
|
};
|
|
12205
12200
|
}
|
|
12206
12201
|
}, {
|
|
@@ -12233,14 +12228,14 @@ var xg = /* @__PURE__ */ (function(a) {
|
|
|
12233
12228
|
}
|
|
12234
12229
|
}]), r;
|
|
12235
12230
|
})(ut);
|
|
12236
|
-
function
|
|
12231
|
+
function Pg() {
|
|
12237
12232
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
12238
12233
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
12239
12234
|
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"
|
|
12240
12235
|
fill="white" />
|
|
12241
12236
|
</svg>`, "image/svg+xml").firstChild;
|
|
12242
12237
|
}
|
|
12243
|
-
function
|
|
12238
|
+
function Ag() {
|
|
12244
12239
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
12245
12240
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
12246
12241
|
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"
|
|
@@ -12254,7 +12249,7 @@ var vt = {
|
|
|
12254
12249
|
PIP: "picture-in-picture",
|
|
12255
12250
|
INLINE: "inline",
|
|
12256
12251
|
FULLSCREEN: "fullscreen"
|
|
12257
|
-
},
|
|
12252
|
+
}, Lg = /* @__PURE__ */ (function(a) {
|
|
12258
12253
|
M(r, a);
|
|
12259
12254
|
var s = N(r);
|
|
12260
12255
|
function r() {
|
|
@@ -12294,11 +12289,11 @@ var vt = {
|
|
|
12294
12289
|
value: function() {
|
|
12295
12290
|
return {
|
|
12296
12291
|
pipIcon: {
|
|
12297
|
-
icon:
|
|
12292
|
+
icon: Pg,
|
|
12298
12293
|
class: "xg-get-pip"
|
|
12299
12294
|
},
|
|
12300
12295
|
pipIconExit: {
|
|
12301
|
-
icon:
|
|
12296
|
+
icon: Ag,
|
|
12302
12297
|
class: "xg-exit-pip"
|
|
12303
12298
|
}
|
|
12304
12299
|
};
|
|
@@ -12455,13 +12450,13 @@ var vt = {
|
|
|
12455
12450
|
}
|
|
12456
12451
|
}]), r;
|
|
12457
12452
|
})(ut);
|
|
12458
|
-
function
|
|
12453
|
+
function Rg() {
|
|
12459
12454
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
|
|
12460
12455
|
<path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
|
|
12461
12456
|
</svg>
|
|
12462
12457
|
`, "image/svg+xml").firstChild;
|
|
12463
12458
|
}
|
|
12464
|
-
var
|
|
12459
|
+
var Og = /* @__PURE__ */ (function(a) {
|
|
12465
12460
|
M(r, a);
|
|
12466
12461
|
var s = N(r);
|
|
12467
12462
|
function r(t) {
|
|
@@ -12480,7 +12475,7 @@ var Rg = /* @__PURE__ */ (function(a) {
|
|
|
12480
12475
|
key: "registerIcons",
|
|
12481
12476
|
value: function() {
|
|
12482
12477
|
return {
|
|
12483
|
-
playNext:
|
|
12478
|
+
playNext: Rg
|
|
12484
12479
|
};
|
|
12485
12480
|
}
|
|
12486
12481
|
}, {
|
|
@@ -12530,7 +12525,7 @@ var Rg = /* @__PURE__ */ (function(a) {
|
|
|
12530
12525
|
}
|
|
12531
12526
|
}]), r;
|
|
12532
12527
|
})(Y);
|
|
12533
|
-
function
|
|
12528
|
+
function Dg() {
|
|
12534
12529
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
|
|
12535
12530
|
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
12536
12531
|
<g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
|
|
@@ -12640,7 +12635,7 @@ Use Save As... to download, then click back to return to this page.`);
|
|
|
12640
12635
|
setHeaders: function(s) {
|
|
12641
12636
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
12642
12637
|
Object.entries(r).forEach(function(t) {
|
|
12643
|
-
var e =
|
|
12638
|
+
var e = ed(t, 2), i = e[0], n = e[1];
|
|
12644
12639
|
s.setRequestHeader(i, n);
|
|
12645
12640
|
});
|
|
12646
12641
|
},
|
|
@@ -12719,11 +12714,11 @@ function wu(a, s, r) {
|
|
|
12719
12714
|
Oe.downloadWithAnchor(C.target.result, e);
|
|
12720
12715
|
}, b.readAsDataURL(p), Oe.downloadWithIframe(p, e);
|
|
12721
12716
|
}
|
|
12722
|
-
function
|
|
12717
|
+
function Fg(a) {
|
|
12723
12718
|
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = te(te({}, me), s), t = r.fileName || a.split("/").pop().split("?")[0] || "download";
|
|
12724
12719
|
return di.downloadFromURL(a, t, r);
|
|
12725
12720
|
}
|
|
12726
|
-
var
|
|
12721
|
+
var Mg = /* @__PURE__ */ (function(a) {
|
|
12727
12722
|
M(r, a);
|
|
12728
12723
|
var s = N(r);
|
|
12729
12724
|
function r(t) {
|
|
@@ -12734,7 +12729,7 @@ var Fg = /* @__PURE__ */ (function(a) {
|
|
|
12734
12729
|
var n = e.playerConfig.url, o = "";
|
|
12735
12730
|
h.typeOf(n) === "String" ? o = n : h.typeOf(n) === "Array" && n.length > 0 && (o = n[0].src);
|
|
12736
12731
|
var l = e.getAbsoluteURL(o);
|
|
12737
|
-
|
|
12732
|
+
Fg(l, Object.assign({}, e.config.saveAsOptions || {})), e.isLock = !0, e.timer = window.setTimeout(function() {
|
|
12738
12733
|
e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
|
|
12739
12734
|
}, 300);
|
|
12740
12735
|
}
|
|
@@ -12753,7 +12748,7 @@ var Fg = /* @__PURE__ */ (function(a) {
|
|
|
12753
12748
|
key: "registerIcons",
|
|
12754
12749
|
value: function() {
|
|
12755
12750
|
return {
|
|
12756
|
-
download:
|
|
12751
|
+
download: Dg
|
|
12757
12752
|
};
|
|
12758
12753
|
}
|
|
12759
12754
|
}, {
|
|
@@ -12796,7 +12791,7 @@ var Fg = /* @__PURE__ */ (function(a) {
|
|
|
12796
12791
|
};
|
|
12797
12792
|
}
|
|
12798
12793
|
}]), r;
|
|
12799
|
-
})(ut),
|
|
12794
|
+
})(ut), Ng = /* @__PURE__ */ (function(a) {
|
|
12800
12795
|
M(r, a);
|
|
12801
12796
|
var s = N(r);
|
|
12802
12797
|
function r() {
|
|
@@ -12867,8 +12862,8 @@ var Fg = /* @__PURE__ */ (function(a) {
|
|
|
12867
12862
|
d = u.media.canvas;
|
|
12868
12863
|
else {
|
|
12869
12864
|
n.canvas ? (n.canvas.width = e || l.width, n.canvas.height = i || l.height) : n.createCanvas(e, i), d = n.canvas, m = n.canvasCtx;
|
|
12870
|
-
var v = u.media.videoWidth / u.media.videoHeight, w = d.width / d.height, b = 0, C = 0, R = u.media.videoWidth,
|
|
12871
|
-
v > w ? (G = d.width, V = d.width / v, L = 0, z = Math.round((d.height - V) / 2)) : v === w ? (G = d.width, V = d.height, L = 0, z = 0) : v < w && (G = d.height * v, V = d.height, L = Math.round((d.width - G) / 2), z = 0), m.drawImage(u.media, b, C, R,
|
|
12865
|
+
var v = u.media.videoWidth / u.media.videoHeight, w = d.width / d.height, b = 0, C = 0, R = u.media.videoWidth, E = u.media.videoHeight, L, z, G, V;
|
|
12866
|
+
v > w ? (G = d.width, V = d.width / v, L = 0, z = Math.round((d.height - V) / 2)) : v === w ? (G = d.width, V = d.height, L = 0, z = 0) : v < w && (G = d.height * v, V = d.height, L = Math.round((d.width - G) / 2), z = 0), m.drawImage(u.media, b, C, R, E, L, z, G, V);
|
|
12872
12867
|
}
|
|
12873
12868
|
var A = d.toDataURL(f, c).replace(f, "image/octet-stream");
|
|
12874
12869
|
A = A.replace(/^data:image\/[^;]+/, "data:application/octet-stream"), g(A);
|
|
@@ -12922,7 +12917,7 @@ var Fg = /* @__PURE__ */ (function(a) {
|
|
|
12922
12917
|
};
|
|
12923
12918
|
}
|
|
12924
12919
|
}]), r;
|
|
12925
|
-
})(ut),
|
|
12920
|
+
})(ut), Bg = /* @__PURE__ */ (function() {
|
|
12926
12921
|
function a(s) {
|
|
12927
12922
|
O(this, a), this.config = s.config, this.parent = s.root, this.root = h.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), s.root.appendChild(this.root);
|
|
12928
12923
|
var r = this.config.maxHeight;
|
|
@@ -13002,7 +12997,7 @@ var Fg = /* @__PURE__ */ (function(a) {
|
|
|
13002
12997
|
CLICK: "click",
|
|
13003
12998
|
HOVER: "hover"
|
|
13004
12999
|
};
|
|
13005
|
-
function
|
|
13000
|
+
function Hg(a, s) {
|
|
13006
13001
|
return a === Ie.SIDE ? s === ee.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
|
|
13007
13002
|
}
|
|
13008
13003
|
var et = j.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
@@ -13116,7 +13111,7 @@ var et = j.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13116
13111
|
var c = {
|
|
13117
13112
|
config: {
|
|
13118
13113
|
data: e || [],
|
|
13119
|
-
className:
|
|
13114
|
+
className: Hg(o.listType, o.position),
|
|
13120
13115
|
onItemClick: function(m, v) {
|
|
13121
13116
|
n.onItemClick(m, v);
|
|
13122
13117
|
},
|
|
@@ -13126,7 +13121,7 @@ var et = j.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13126
13121
|
};
|
|
13127
13122
|
if (this.config.isShowIcon) {
|
|
13128
13123
|
var f = this.player.root.getBoundingClientRect(), g = f.height, p = o.listType === Ie.MIDDLE ? g - 50 : g;
|
|
13129
|
-
p && o.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new
|
|
13124
|
+
p && o.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new Bg(c), this.changeCurrentText(), this.show();
|
|
13130
13125
|
}
|
|
13131
13126
|
this._resizeList();
|
|
13132
13127
|
}
|
|
@@ -13177,7 +13172,7 @@ var et = j.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13177
13172
|
};
|
|
13178
13173
|
}
|
|
13179
13174
|
}]), r;
|
|
13180
|
-
})(Y),
|
|
13175
|
+
})(Y), Ug = /* @__PURE__ */ (function(a) {
|
|
13181
13176
|
M(r, a);
|
|
13182
13177
|
var s = N(r);
|
|
13183
13178
|
function r(t) {
|
|
@@ -13278,7 +13273,7 @@ var et = j.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13278
13273
|
});
|
|
13279
13274
|
}
|
|
13280
13275
|
}]), r;
|
|
13281
|
-
})(gi),
|
|
13276
|
+
})(gi), jg = /* @__PURE__ */ (function(a) {
|
|
13282
13277
|
M(r, a);
|
|
13283
13278
|
var s = N(r);
|
|
13284
13279
|
function r(t) {
|
|
@@ -13370,7 +13365,7 @@ var et = j.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13370
13365
|
});
|
|
13371
13366
|
}
|
|
13372
13367
|
}]), r;
|
|
13373
|
-
})(gi),
|
|
13368
|
+
})(gi), zg = /* @__PURE__ */ (function(a) {
|
|
13374
13369
|
M(r, a);
|
|
13375
13370
|
var s = N(r);
|
|
13376
13371
|
function r() {
|
|
@@ -13431,7 +13426,7 @@ var et = j.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13431
13426
|
return "error";
|
|
13432
13427
|
}
|
|
13433
13428
|
}]), r;
|
|
13434
|
-
})(Y),
|
|
13429
|
+
})(Y), Vg = /* @__PURE__ */ (function(a) {
|
|
13435
13430
|
M(r, a);
|
|
13436
13431
|
var s = N(r);
|
|
13437
13432
|
function r() {
|
|
@@ -13483,7 +13478,7 @@ var et = j.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13483
13478
|
}, {
|
|
13484
13479
|
key: "render",
|
|
13485
13480
|
value: function() {
|
|
13486
|
-
return '<xg-prompt class="xgplayer-prompt '.concat(
|
|
13481
|
+
return '<xg-prompt class="xgplayer-prompt '.concat(x.CONTROLS_FOLLOW, `">
|
|
13487
13482
|
<span class="xgplayer-prompt-detail"></span>
|
|
13488
13483
|
</xg-prompt>`);
|
|
13489
13484
|
}
|
|
@@ -13661,7 +13656,7 @@ var ml = {
|
|
|
13661
13656
|
return r.find('xg-spot[data-id="'.concat(s, '"]'));
|
|
13662
13657
|
}
|
|
13663
13658
|
};
|
|
13664
|
-
function
|
|
13659
|
+
function qg(a) {
|
|
13665
13660
|
var s = a.config, r = a.player;
|
|
13666
13661
|
Object.keys(ml).map(function(e) {
|
|
13667
13662
|
a[e] = ml[e].bind(a);
|
|
@@ -13685,7 +13680,7 @@ var yt = {
|
|
|
13685
13680
|
click: "onProgressClick",
|
|
13686
13681
|
mouseover: "onProgressMouseOver",
|
|
13687
13682
|
mouseenter: "onProgressMouseOver"
|
|
13688
|
-
},
|
|
13683
|
+
}, Gg = /* @__PURE__ */ (function(a) {
|
|
13689
13684
|
M(r, a);
|
|
13690
13685
|
var s = N(r);
|
|
13691
13686
|
function r(t) {
|
|
@@ -13736,7 +13731,7 @@ var yt = {
|
|
|
13736
13731
|
n.seekTime && e.player.seek(n.seekTime);
|
|
13737
13732
|
}), this.transformTimeHook = this.hook("transformTime", function(i) {
|
|
13738
13733
|
e.setTimeContent(h.format(i));
|
|
13739
|
-
}),
|
|
13734
|
+
}), qg(this), this.on(Ue, function() {
|
|
13740
13735
|
e.show();
|
|
13741
13736
|
}), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
|
|
13742
13737
|
}
|
|
@@ -13960,7 +13955,7 @@ var yt = {
|
|
|
13960
13955
|
};
|
|
13961
13956
|
}
|
|
13962
13957
|
}]), r;
|
|
13963
|
-
})(Y),
|
|
13958
|
+
})(Y), Wg = /* @__PURE__ */ (function(a) {
|
|
13964
13959
|
M(r, a);
|
|
13965
13960
|
var s = N(r);
|
|
13966
13961
|
function r(t) {
|
|
@@ -14029,16 +14024,16 @@ var yt = {
|
|
|
14029
14024
|
var R = i / n;
|
|
14030
14025
|
R < f / g ? (C = n, b = C * (f / g)) : (b = i, C = b / (f / g));
|
|
14031
14026
|
} else n ? i || (C = n || g, b = C * (f / g)) : (b = i || f, C = b / (f / g));
|
|
14032
|
-
var
|
|
14027
|
+
var E = this.getUrlByIndex(d);
|
|
14033
14028
|
return {
|
|
14034
14029
|
urlIndex: d,
|
|
14035
14030
|
rowIndex: v,
|
|
14036
14031
|
colIndex: w,
|
|
14037
|
-
url:
|
|
14032
|
+
url: E,
|
|
14038
14033
|
height: C,
|
|
14039
14034
|
width: b,
|
|
14040
14035
|
style: {
|
|
14041
|
-
backgroundImage: "url(".concat(
|
|
14036
|
+
backgroundImage: "url(".concat(E, ")"),
|
|
14042
14037
|
backgroundSize: "".concat(b * c, "px auto"),
|
|
14043
14038
|
backgroundPosition: "-".concat(w * b, "px -").concat(v * C, "px"),
|
|
14044
14039
|
width: "".concat(b, "px"),
|
|
@@ -14097,7 +14092,7 @@ var yt = {
|
|
|
14097
14092
|
function Vr(a) {
|
|
14098
14093
|
return a ? "background:".concat(a, ";") : "";
|
|
14099
14094
|
}
|
|
14100
|
-
var
|
|
14095
|
+
var $g = /* @__PURE__ */ (function(a) {
|
|
14101
14096
|
M(r, a);
|
|
14102
14097
|
var s = N(r);
|
|
14103
14098
|
function r() {
|
|
@@ -14184,14 +14179,14 @@ var Wg = /* @__PURE__ */ (function(a) {
|
|
|
14184
14179
|
FIRST_FRAME: "firstframe",
|
|
14185
14180
|
POSTER: "poster"
|
|
14186
14181
|
};
|
|
14187
|
-
function
|
|
14182
|
+
function Kg() {
|
|
14188
14183
|
try {
|
|
14189
14184
|
return parseInt(window.performance.now(), 10);
|
|
14190
14185
|
} catch {
|
|
14191
14186
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
14192
14187
|
}
|
|
14193
14188
|
}
|
|
14194
|
-
function
|
|
14189
|
+
function Yg() {
|
|
14195
14190
|
try {
|
|
14196
14191
|
var a = document.createElement("canvas").getContext;
|
|
14197
14192
|
return !!a;
|
|
@@ -14199,7 +14194,7 @@ function Kg() {
|
|
|
14199
14194
|
return !1;
|
|
14200
14195
|
}
|
|
14201
14196
|
}
|
|
14202
|
-
var ti = null,
|
|
14197
|
+
var ti = null, Xg = /* @__PURE__ */ (function(a) {
|
|
14203
14198
|
M(r, a);
|
|
14204
14199
|
var s = N(r);
|
|
14205
14200
|
function r() {
|
|
@@ -14220,7 +14215,7 @@ var ti = null, Yg = /* @__PURE__ */ (function(a) {
|
|
|
14220
14215
|
!t.player.paused && t._checkIfCanStart() && t.start(0, l);
|
|
14221
14216
|
}
|
|
14222
14217
|
}), _(y(t), "start", function(o, l) {
|
|
14223
|
-
var u = t.player.video, c =
|
|
14218
|
+
var u = t.player.video, c = Kg(), f = t.checkVideoIsSupport(u);
|
|
14224
14219
|
!f || !t.canvasCtx || (l || (l = t.interval), t.stop(), u.videoWidth && u.videoHeight && (t.videoPI = u.videoHeight > 0 ? parseInt(u.videoWidth / u.videoHeight * 100, 10) : 0, (t.config.mode === _t.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(f, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? h.setTimeout(y(t), t.start, l) : h.requestAnimationFrame(t.start));
|
|
14225
14220
|
}), _(y(t), "stop", function() {
|
|
14226
14221
|
t.frameId && (t._loopType === "timer" ? h.clearTimeout(y(t), t.frameId) : h.cancelAnimationFrame(t.frameId), t.frameId = null);
|
|
@@ -14393,7 +14388,7 @@ var ti = null, Yg = /* @__PURE__ */ (function(a) {
|
|
|
14393
14388
|
}, {
|
|
14394
14389
|
key: "isSupport",
|
|
14395
14390
|
get: function() {
|
|
14396
|
-
return typeof ti == "boolean" || (ti =
|
|
14391
|
+
return typeof ti == "boolean" || (ti = Yg()), ti;
|
|
14397
14392
|
}
|
|
14398
14393
|
}, {
|
|
14399
14394
|
key: "supportCanvasFilter",
|
|
@@ -14401,7 +14396,7 @@ var ti = null, Yg = /* @__PURE__ */ (function(a) {
|
|
|
14401
14396
|
return !(j.browser === "safari" || j.browser === "firefox");
|
|
14402
14397
|
}
|
|
14403
14398
|
}]), r;
|
|
14404
|
-
})(Y),
|
|
14399
|
+
})(Y), Jg = {
|
|
14405
14400
|
LANG: "zh-cn",
|
|
14406
14401
|
TEXT: {
|
|
14407
14402
|
ERROR_TYPES: {
|
|
@@ -14477,7 +14472,7 @@ var ti = null, Yg = /* @__PURE__ */ (function(a) {
|
|
|
14477
14472
|
FORWARD: "快进中",
|
|
14478
14473
|
LIVE_TIP: "直播"
|
|
14479
14474
|
}
|
|
14480
|
-
}, At = "info", qr = cu,
|
|
14475
|
+
}, At = "info", qr = cu, Zg = /* @__PURE__ */ (function(a) {
|
|
14481
14476
|
M(r, a);
|
|
14482
14477
|
var s = N(r);
|
|
14483
14478
|
function r() {
|
|
@@ -14711,7 +14706,7 @@ var ti = null, Yg = /* @__PURE__ */ (function(a) {
|
|
|
14711
14706
|
}]), r;
|
|
14712
14707
|
})(Y);
|
|
14713
14708
|
Su.BROWSER_GAP_TOLERANCE = 1e-3;
|
|
14714
|
-
var
|
|
14709
|
+
var Qg = /* @__PURE__ */ (function(a) {
|
|
14715
14710
|
M(r, a);
|
|
14716
14711
|
var s = N(r);
|
|
14717
14712
|
function r() {
|
|
@@ -14757,7 +14752,7 @@ var Zg = /* @__PURE__ */ (function(a) {
|
|
|
14757
14752
|
};
|
|
14758
14753
|
}
|
|
14759
14754
|
}]), r;
|
|
14760
|
-
})(Y), bt = "cdn", ii = ["cdn"],
|
|
14755
|
+
})(Y), bt = "cdn", ii = ["cdn"], ep = /* @__PURE__ */ (function(a) {
|
|
14761
14756
|
M(r, a);
|
|
14762
14757
|
var s = N(r);
|
|
14763
14758
|
function r() {
|
|
@@ -14883,7 +14878,7 @@ var Zg = /* @__PURE__ */ (function(a) {
|
|
|
14883
14878
|
};
|
|
14884
14879
|
}
|
|
14885
14880
|
}]), r;
|
|
14886
|
-
})(Y),
|
|
14881
|
+
})(Y), tp = /* @__PURE__ */ (function(a) {
|
|
14887
14882
|
M(r, a);
|
|
14888
14883
|
var s = N(r);
|
|
14889
14884
|
function r() {
|
|
@@ -14993,24 +14988,24 @@ var Zg = /* @__PURE__ */ (function(a) {
|
|
|
14993
14988
|
}
|
|
14994
14989
|
}]), r;
|
|
14995
14990
|
})(Y);
|
|
14996
|
-
Ct.use(
|
|
14997
|
-
var
|
|
14991
|
+
Ct.use(Jg);
|
|
14992
|
+
var ip = /* @__PURE__ */ D(function a(s, r) {
|
|
14998
14993
|
var t, e, i;
|
|
14999
14994
|
O(this, a);
|
|
15000
|
-
var n = r && r.isMobileSimulateMode === "mobile", o = r.isLive, l = o ? [] : [
|
|
15001
|
-
this.plugins = [
|
|
14995
|
+
var n = r && r.isMobileSimulateMode === "mobile", o = r.isLive, l = o ? [] : [Eg, _u, $g, Gg, bu], u = [].concat(l, [yu, mu, Ig, Og, Ug, jg, Mg, Ng, Cu, Lg]), c = [lg, ug, fg, Sg, hg, zg, Vg, Wg, vg];
|
|
14996
|
+
this.plugins = [Zg, sg].concat(Ee(u), c, [Su, Qg]);
|
|
15002
14997
|
var f = n ? "mobile" : j.device;
|
|
15003
14998
|
switch (f) {
|
|
15004
14999
|
case "pc":
|
|
15005
|
-
(t = this.plugins).push.apply(t, [pl, jr, Zr,
|
|
15000
|
+
(t = this.plugins).push.apply(t, [pl, jr, Zr, ep, tp]);
|
|
15006
15001
|
break;
|
|
15007
15002
|
case "mobile":
|
|
15008
|
-
(e = this.plugins).push.apply(e, [
|
|
15003
|
+
(e = this.plugins).push.apply(e, [kg]);
|
|
15009
15004
|
break;
|
|
15010
15005
|
default:
|
|
15011
15006
|
(i = this.plugins).push.apply(i, [pl, jr, Zr]);
|
|
15012
15007
|
}
|
|
15013
|
-
(j.os.isIpad || f === "pc") && this.plugins.push(
|
|
15008
|
+
(j.os.isIpad || f === "pc") && this.plugins.push(Xg), j.os.isIpad && this.plugins.push(jr), this.ignores = [], this.i18n = [];
|
|
15014
15009
|
}), le = /* @__PURE__ */ (function(a) {
|
|
15015
15010
|
M(r, a);
|
|
15016
15011
|
var s = N(r);
|
|
@@ -15019,15 +15014,15 @@ var tp = /* @__PURE__ */ D(function a(s, r) {
|
|
|
15019
15014
|
}
|
|
15020
15015
|
return D(r);
|
|
15021
15016
|
})(xi);
|
|
15022
|
-
_(le, "defaultPreset",
|
|
15017
|
+
_(le, "defaultPreset", ip);
|
|
15023
15018
|
_(le, "Util", h);
|
|
15024
15019
|
_(le, "Sniffer", j);
|
|
15025
15020
|
_(le, "Errors", ri);
|
|
15026
|
-
_(le, "Events",
|
|
15021
|
+
_(le, "Events", xd);
|
|
15027
15022
|
_(le, "Plugin", Y);
|
|
15028
15023
|
_(le, "BasePlugin", Xe);
|
|
15029
15024
|
_(le, "I18N", Ct);
|
|
15030
|
-
_(le, "STATE_CLASS",
|
|
15025
|
+
_(le, "STATE_CLASS", x);
|
|
15031
15026
|
_(le, "InstManager", vu);
|
|
15032
15027
|
_(le, "PlayIcon", yu);
|
|
15033
15028
|
_(le, "TimeIcon", bu);
|
|
@@ -15035,7 +15030,7 @@ _(le, "Progress", _u);
|
|
|
15035
15030
|
_(le, "FullscreenIcon", mu);
|
|
15036
15031
|
_(le, "CssFullscreenIcon", Zr);
|
|
15037
15032
|
_(le, "VolumeIcon", Cu);
|
|
15038
|
-
const
|
|
15033
|
+
const np = ["id"], rp = /* @__PURE__ */ ae({
|
|
15039
15034
|
name: "ElImageViewer",
|
|
15040
15035
|
__name: "Player",
|
|
15041
15036
|
props: /* @__PURE__ */ Mt({
|
|
@@ -15133,7 +15128,7 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15133
15128
|
class: Q(P(f).e("canvas"))
|
|
15134
15129
|
},
|
|
15135
15130
|
[
|
|
15136
|
-
T("div", { id: P(c) }, null, 8,
|
|
15131
|
+
T("div", { id: P(c) }, null, 8, np),
|
|
15137
15132
|
I(" CLOSE "),
|
|
15138
15133
|
T(
|
|
15139
15134
|
"span",
|
|
@@ -15169,46 +15164,46 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15169
15164
|
])) : I("v-if", !0);
|
|
15170
15165
|
};
|
|
15171
15166
|
}
|
|
15172
|
-
}),
|
|
15167
|
+
}), ap = /* @__PURE__ */ pi(rp, [["__scopeId", "data-v-b301aa7d"]]), sp = He(ap), op = {
|
|
15173
15168
|
class: "approveProcess",
|
|
15174
15169
|
id: "approveProcess"
|
|
15175
|
-
},
|
|
15170
|
+
}, lp = ["id"], up = { class: "topBlock" }, cp = { class: "left" }, fp = { class: "nodeBg" }, hp = ["src"], dp = { class: "right" }, gp = { class: "topInfo" }, pp = { key: 0 }, vp = {
|
|
15176
15171
|
key: 0,
|
|
15177
15172
|
class: "main-text"
|
|
15178
|
-
},
|
|
15173
|
+
}, mp = { class: "name" }, yp = { key: 0 }, _p = { key: 0 }, bp = { key: 1 }, Cp = { key: 0 }, kp = { key: 0 }, wp = { key: 1 }, Tp = { key: 1 }, Sp = { class: "name" }, Ep = { key: 0 }, xp = { style: { color: "#000" } }, Ip = {
|
|
15179
15174
|
class: "blue",
|
|
15180
15175
|
style: { "margin-left": "5px", "font-size": "12px" }
|
|
15181
|
-
},
|
|
15176
|
+
}, Pp = { key: 1 }, Ap = {
|
|
15182
15177
|
key: 0,
|
|
15183
15178
|
class: "blue",
|
|
15184
15179
|
style: { "font-size": "12px" }
|
|
15185
|
-
},
|
|
15180
|
+
}, Lp = { key: 1 }, Rp = {
|
|
15186
15181
|
key: 0,
|
|
15187
15182
|
class: "blue",
|
|
15188
15183
|
style: { "font-size": "12px" }
|
|
15189
|
-
},
|
|
15184
|
+
}, Op = {
|
|
15190
15185
|
key: 1,
|
|
15191
15186
|
class: "blue",
|
|
15192
15187
|
style: { "font-size": "12px" }
|
|
15193
|
-
},
|
|
15188
|
+
}, Dp = { class: "time" }, Fp = { key: 0 }, Mp = { key: 1 }, Np = ["onClick"], Bp = ["onClick"], Hp = {
|
|
15194
15189
|
key: 0,
|
|
15195
15190
|
class: "opinion"
|
|
15196
|
-
},
|
|
15191
|
+
}, Up = { key: 0 }, jp = { key: 1 }, zp = { style: { color: "var(--el-text-color-primary)", "margin-left": "8px" } }, Vp = {
|
|
15197
15192
|
key: 2,
|
|
15198
15193
|
class: "annexImage"
|
|
15199
|
-
},
|
|
15194
|
+
}, qp = {
|
|
15200
15195
|
key: 3,
|
|
15201
15196
|
class: "approveList"
|
|
15202
|
-
},
|
|
15197
|
+
}, Gp = { class: "nodeBg-list" }, Wp = ["src"], $p = { key: 1 }, Kp = {
|
|
15203
15198
|
key: 2,
|
|
15204
15199
|
class: "ikapprove ikapprove-duihao2 green read"
|
|
15205
|
-
},
|
|
15200
|
+
}, Yp = ["title"], Xp = {
|
|
15206
15201
|
key: 0,
|
|
15207
15202
|
class: "branch"
|
|
15208
|
-
},
|
|
15203
|
+
}, Jp = { class: "branch-card" }, Zp = { class: "branch-name" }, Qp = {
|
|
15209
15204
|
name: "IkingApprovalProcessDetail"
|
|
15210
|
-
},
|
|
15211
|
-
...
|
|
15205
|
+
}, ev = /* @__PURE__ */ ae({
|
|
15206
|
+
...Qp,
|
|
15212
15207
|
props: {
|
|
15213
15208
|
// 是否本地打开
|
|
15214
15209
|
local: {
|
|
@@ -15267,7 +15262,7 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15267
15262
|
},
|
|
15268
15263
|
emits: ["preview"],
|
|
15269
15264
|
setup(a, { emit: s }) {
|
|
15270
|
-
const r = a, { cLoadUrl: t } = ta(r), e = yl(
|
|
15265
|
+
const r = a, { cLoadUrl: t } = ta(r), e = yl(Sc(r));
|
|
15271
15266
|
kt(
|
|
15272
15267
|
() => r.dataList,
|
|
15273
15268
|
(c) => {
|
|
@@ -15297,8 +15292,8 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15297
15292
|
var w, b, C;
|
|
15298
15293
|
let f = document.createElement("div"), g = document.getElementById("approveProcess"), p = 0, d = (w = document.getElementById(`${c[0]}`)) == null ? void 0 : w.offsetWidth, m = (b = document.getElementById(`${c[0]}`)) == null ? void 0 : b.offsetLeft, v = (C = document.getElementById(`${c[0]}`)) == null ? void 0 : C.offsetTop;
|
|
15299
15294
|
c.forEach((R) => {
|
|
15300
|
-
let
|
|
15301
|
-
p +=
|
|
15295
|
+
let E = document.getElementById(`${R}`);
|
|
15296
|
+
p += E.offsetHeight;
|
|
15302
15297
|
}), setTimeout(() => {
|
|
15303
15298
|
f.style.width = d + 32 + "px", f.style.height = p + "px", f.style.background = "#f9f9f9", f.style.position = "absolute", f.style.top = v - 16 + "px", f.style.left = m - 16 + "px", f.style.zIndex = -1, g == null || g.appendChild(f);
|
|
15304
15299
|
});
|
|
@@ -15342,20 +15337,20 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15342
15337
|
}, u = (c) => Tt(t.value, c);
|
|
15343
15338
|
return (c, f) => {
|
|
15344
15339
|
const g = wt("el-image"), p = wt("IkingApprovalProcessDetail");
|
|
15345
|
-
return k(), S("div",
|
|
15340
|
+
return k(), S("div", op, [
|
|
15346
15341
|
(k(!0), S(
|
|
15347
15342
|
oe,
|
|
15348
15343
|
null,
|
|
15349
15344
|
Fe(e.listData, (d, m) => {
|
|
15350
|
-
var v, w, b, C, R,
|
|
15345
|
+
var v, w, b, C, R, E, L, z, G, V;
|
|
15351
15346
|
return k(), S("div", {
|
|
15352
15347
|
class: "approveBlock",
|
|
15353
15348
|
id: d[e.defaultFile.nodeId],
|
|
15354
15349
|
key: d[e.defaultFile.nodeId]
|
|
15355
15350
|
}, [
|
|
15356
|
-
T("div",
|
|
15357
|
-
T("div",
|
|
15358
|
-
T("span",
|
|
15351
|
+
T("div", up, [
|
|
15352
|
+
T("div", cp, [
|
|
15353
|
+
T("span", fp, [
|
|
15359
15354
|
I(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
|
|
15360
15355
|
((v = d[e.defaultFile.approvePersonList]) == null ? void 0 : v.length) == 1 && d[e.defaultFile.approvePersonList][0].userAvatar ? (k(), S("img", {
|
|
15361
15356
|
key: 0,
|
|
@@ -15364,7 +15359,7 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15364
15359
|
d[e.defaultFile.approvePersonList][0].userAvatar
|
|
15365
15360
|
),
|
|
15366
15361
|
alt: ""
|
|
15367
|
-
}, null, 8,
|
|
15362
|
+
}, null, 8, hp)) : (k(), S(
|
|
15368
15363
|
oe,
|
|
15369
15364
|
{ key: 1 },
|
|
15370
15365
|
[
|
|
@@ -15373,7 +15368,7 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15373
15368
|
"i",
|
|
15374
15369
|
{
|
|
15375
15370
|
class: Q(
|
|
15376
|
-
P(
|
|
15371
|
+
P(Ec)(
|
|
15377
15372
|
e,
|
|
15378
15373
|
d[e.defaultFile.nodeType],
|
|
15379
15374
|
d[e.defaultFile.approvePersonList]
|
|
@@ -15402,23 +15397,23 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15402
15397
|
)
|
|
15403
15398
|
])
|
|
15404
15399
|
]),
|
|
15405
|
-
T("div",
|
|
15406
|
-
T("div",
|
|
15400
|
+
T("div", dp, [
|
|
15401
|
+
T("div", gp, [
|
|
15407
15402
|
T("div", null, [
|
|
15408
15403
|
I(" 不是抄送节点 "),
|
|
15409
|
-
e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), S("div",
|
|
15404
|
+
e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), S("div", pp, [
|
|
15410
15405
|
I(" 撤销,评论不显示节点名称 "),
|
|
15411
15406
|
d[e.defaultFile.approveStatus] != e.statusOption.撤销 && d[e.defaultFile.approveStatus] != e.statusOption.评论 && d[e.defaultFile.nodeType] !== e.nodeType.并行分支 ? (k(), S(
|
|
15412
15407
|
"div",
|
|
15413
|
-
|
|
15408
|
+
vp,
|
|
15414
15409
|
J(d[e.defaultFile.nodeTypeName]),
|
|
15415
15410
|
1
|
|
15416
15411
|
/* TEXT */
|
|
15417
15412
|
)) : I("v-if", !0),
|
|
15418
15413
|
I(" 名字+审批状态 "),
|
|
15419
|
-
T("div",
|
|
15414
|
+
T("div", mp, [
|
|
15420
15415
|
I(" 已审批节点文本 "),
|
|
15421
|
-
d[e.defaultFile.lineType] == "solid" ? (k(), S("div",
|
|
15416
|
+
d[e.defaultFile.lineType] == "solid" ? (k(), S("div", yp, [
|
|
15422
15417
|
T(
|
|
15423
15418
|
"span",
|
|
15424
15419
|
{
|
|
@@ -15433,13 +15428,13 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15433
15428
|
I(" 发起,退回不显示状态 "),
|
|
15434
15429
|
d[e.defaultFile.approveStatusName] && d[e.defaultFile.approveStatus] != e.statusOption.发起 && d[e.defaultFile.approveStatus] != e.statusOption.退回 ? (k(), S(
|
|
15435
15430
|
"span",
|
|
15436
|
-
|
|
15431
|
+
_p,
|
|
15437
15432
|
J(d[e.defaultFile.approveStatus] == e.statusOption.评论 ? " 添加了评论" : d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
|
|
15438
15433
|
1
|
|
15439
15434
|
/* TEXT */
|
|
15440
15435
|
)) : I("v-if", !0),
|
|
15441
15436
|
I(" 退回状态显示 "),
|
|
15442
|
-
d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), S("span",
|
|
15437
|
+
d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), S("span", bp, [
|
|
15443
15438
|
f[0] || (f[0] = T(
|
|
15444
15439
|
"span",
|
|
15445
15440
|
{
|
|
@@ -15462,7 +15457,7 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15462
15457
|
[
|
|
15463
15458
|
I(" 待审批节点 "),
|
|
15464
15459
|
T("div", null, [
|
|
15465
|
-
((w = d[e.defaultFile.approvePersonList]) == null ? void 0 : w.length) == 1 ? (k(), S("span",
|
|
15460
|
+
((w = d[e.defaultFile.approvePersonList]) == null ? void 0 : w.length) == 1 ? (k(), S("span", Cp, [
|
|
15466
15461
|
rt(
|
|
15467
15462
|
J(d[e.defaultFile.originator]) + " ",
|
|
15468
15463
|
1
|
|
@@ -15470,14 +15465,14 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15470
15465
|
),
|
|
15471
15466
|
d[e.defaultFile.approveStatus] == e.statusOption.等待 ? (k(), S(
|
|
15472
15467
|
"span",
|
|
15473
|
-
|
|
15468
|
+
kp,
|
|
15474
15469
|
J(d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
|
|
15475
15470
|
1
|
|
15476
15471
|
/* TEXT */
|
|
15477
15472
|
)) : I("v-if", !0)
|
|
15478
15473
|
])) : d[e.defaultFile.approvePersonList] ? (k(), S(
|
|
15479
15474
|
"span",
|
|
15480
|
-
|
|
15475
|
+
wp,
|
|
15481
15476
|
J(`${(b = d[e.defaultFile.approvePersonList]) == null ? void 0 : b.length}人${d[e.defaultFile.approveTypeName]}`),
|
|
15482
15477
|
1
|
|
15483
15478
|
/* TEXT */
|
|
@@ -15488,7 +15483,7 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15488
15483
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
15489
15484
|
))
|
|
15490
15485
|
])
|
|
15491
|
-
])) : (k(), S("div",
|
|
15486
|
+
])) : (k(), S("div", Tp, [
|
|
15492
15487
|
f[2] || (f[2] = T(
|
|
15493
15488
|
"div",
|
|
15494
15489
|
{ class: "main-text" },
|
|
@@ -15496,9 +15491,9 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15496
15491
|
-1
|
|
15497
15492
|
/* CACHED */
|
|
15498
15493
|
)),
|
|
15499
|
-
T("div",
|
|
15494
|
+
T("div", Sp, [
|
|
15500
15495
|
I(" 抄送一人时 "),
|
|
15501
|
-
((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), S("span",
|
|
15496
|
+
((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), S("span", Ep, [
|
|
15502
15497
|
T("span", null, [
|
|
15503
15498
|
f[1] || (f[1] = rt(
|
|
15504
15499
|
"已抄送给 ",
|
|
@@ -15507,7 +15502,7 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15507
15502
|
)),
|
|
15508
15503
|
T(
|
|
15509
15504
|
"span",
|
|
15510
|
-
|
|
15505
|
+
xp,
|
|
15511
15506
|
J(d[e.defaultFile.approvePersonList][0].userName),
|
|
15512
15507
|
1
|
|
15513
15508
|
/* TEXT */
|
|
@@ -15515,24 +15510,24 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15515
15510
|
]),
|
|
15516
15511
|
T(
|
|
15517
15512
|
"span",
|
|
15518
|
-
|
|
15513
|
+
Ip,
|
|
15519
15514
|
J(d[e.defaultFile.approvePersonList][0].status === "END" ? "已读" : "未读"),
|
|
15520
15515
|
1
|
|
15521
15516
|
/* TEXT */
|
|
15522
15517
|
)
|
|
15523
15518
|
])) : I("v-if", !0),
|
|
15524
15519
|
I(" 抄送多人时 "),
|
|
15525
|
-
((R = d[e.defaultFile.approvePersonList]) == null ? void 0 : R.length) > 1 ? (k(), S("span",
|
|
15520
|
+
((R = d[e.defaultFile.approvePersonList]) == null ? void 0 : R.length) > 1 ? (k(), S("span", Pp, [
|
|
15526
15521
|
rt(
|
|
15527
|
-
J(`已抄送${(
|
|
15522
|
+
J(`已抄送${(E = d[e.defaultFile.approvePersonList]) == null ? void 0 : E.length}人`) + " ",
|
|
15528
15523
|
1
|
|
15529
15524
|
/* TEXT */
|
|
15530
15525
|
),
|
|
15531
|
-
d[e.defaultFile.allRead] ? (k(), S("span",
|
|
15532
|
-
d[e.defaultFile.read] ? I("v-if", !0) : (k(), S("span",
|
|
15526
|
+
d[e.defaultFile.allRead] ? (k(), S("span", Ap, " 全部已读 ")) : (k(), S("span", Lp, [
|
|
15527
|
+
d[e.defaultFile.read] ? I("v-if", !0) : (k(), S("span", Rp, " 全部未读 ")),
|
|
15533
15528
|
d[e.defaultFile.read] ? (k(), S(
|
|
15534
15529
|
"span",
|
|
15535
|
-
|
|
15530
|
+
Op,
|
|
15536
15531
|
J(d[e.defaultFile.read]) + "人已读 ",
|
|
15537
15532
|
1
|
|
15538
15533
|
/* TEXT */
|
|
@@ -15542,11 +15537,11 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15542
15537
|
])
|
|
15543
15538
|
]))
|
|
15544
15539
|
]),
|
|
15545
|
-
T("div",
|
|
15540
|
+
T("div", Dp, [
|
|
15546
15541
|
I(" 不是抄送节点,展示时间 "),
|
|
15547
15542
|
d[e.defaultFile.nodeType] != e.nodeType.抄送节点 && d[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (k(), S(
|
|
15548
15543
|
"span",
|
|
15549
|
-
|
|
15544
|
+
Fp,
|
|
15550
15545
|
J(P(Vu).toDateTime(
|
|
15551
15546
|
d[e.defaultFile.operationTime],
|
|
15552
15547
|
"MM/DD HH:mm"
|
|
@@ -15555,16 +15550,16 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15555
15550
|
/* TEXT */
|
|
15556
15551
|
)) : I("v-if", !0),
|
|
15557
15552
|
I(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
|
|
15558
|
-
d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((L = d[e.defaultFile.approvePersonList]) == null ? void 0 : L.length) > 1 ? (k(), S("span",
|
|
15553
|
+
d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((L = d[e.defaultFile.approvePersonList]) == null ? void 0 : L.length) > 1 ? (k(), S("span", Mp, [
|
|
15559
15554
|
d != null && d.show ? (k(), S("i", {
|
|
15560
15555
|
key: 0,
|
|
15561
15556
|
class: "ikapprove ikapprove-a-putongjiantouzhankai",
|
|
15562
15557
|
onClick: (A) => l(d, "grid")
|
|
15563
|
-
}, null, 8,
|
|
15558
|
+
}, null, 8, Np)) : (k(), S("i", {
|
|
15564
15559
|
key: 1,
|
|
15565
15560
|
onClick: (A) => l(d, "none"),
|
|
15566
15561
|
class: "ikapprove ikapprove-a-putongjiantoushouqi"
|
|
15567
|
-
}, null, 8,
|
|
15562
|
+
}, null, 8, Bp))
|
|
15568
15563
|
])) : I("v-if", !0)
|
|
15569
15564
|
])
|
|
15570
15565
|
])
|
|
@@ -15580,15 +15575,15 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15580
15575
|
},
|
|
15581
15576
|
[
|
|
15582
15577
|
I(" 审批意见 "),
|
|
15583
|
-
d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("div",
|
|
15578
|
+
d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("div", Hp, [
|
|
15584
15579
|
d[e.defaultFile.approveOpinion] ? (k(), S(
|
|
15585
15580
|
"span",
|
|
15586
|
-
|
|
15581
|
+
Up,
|
|
15587
15582
|
J(d[e.defaultFile.approveOpinion]),
|
|
15588
15583
|
1
|
|
15589
15584
|
/* TEXT */
|
|
15590
15585
|
)) : I("v-if", !0),
|
|
15591
|
-
d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("span",
|
|
15586
|
+
d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("span", jp, [
|
|
15592
15587
|
f[3] || (f[3] = T(
|
|
15593
15588
|
"span",
|
|
15594
15589
|
{ class: "ik-text-primary" },
|
|
@@ -15601,7 +15596,7 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15601
15596
|
null,
|
|
15602
15597
|
Fe(d[e.defaultFile.countersignPer], (A, F) => (k(), S(
|
|
15603
15598
|
"span",
|
|
15604
|
-
|
|
15599
|
+
zp,
|
|
15605
15600
|
J(A == null ? void 0 : A.userName) + J(F < d[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
|
|
15606
15601
|
1
|
|
15607
15602
|
/* TEXT */
|
|
@@ -15612,12 +15607,12 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15612
15607
|
])) : I("v-if", !0)
|
|
15613
15608
|
])) : I("v-if", !0),
|
|
15614
15609
|
I(" 附件 "),
|
|
15615
|
-
(z = d[e.defaultFile.attachment]) != null && z.length ? (k(), ge(P(
|
|
15610
|
+
(z = d[e.defaultFile.attachment]) != null && z.length ? (k(), ge(P(Uc), {
|
|
15616
15611
|
key: 1,
|
|
15617
15612
|
list: d[e.defaultFile.attachment]
|
|
15618
15613
|
}, null, 8, ["list"])) : I("v-if", !0),
|
|
15619
15614
|
I(" 附件图片 "),
|
|
15620
|
-
(G = d[e.defaultFile.attachmentImg]) != null && G.length ? (k(), S("div",
|
|
15615
|
+
(G = d[e.defaultFile.attachmentImg]) != null && G.length ? (k(), S("div", Vp, [
|
|
15621
15616
|
(k(!0), S(
|
|
15622
15617
|
oe,
|
|
15623
15618
|
null,
|
|
@@ -15640,7 +15635,7 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15640
15635
|
))
|
|
15641
15636
|
])) : I("v-if", !0),
|
|
15642
15637
|
I(" 抄送节点或是等待审批状态并且列表长度大于1 "),
|
|
15643
|
-
(d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((V = d[e.defaultFile.approvePersonList]) == null ? void 0 : V.length) > 1 ? (k(), S("div",
|
|
15638
|
+
(d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((V = d[e.defaultFile.approvePersonList]) == null ? void 0 : V.length) > 1 ? (k(), S("div", qp, [
|
|
15644
15639
|
(k(!0), S(
|
|
15645
15640
|
oe,
|
|
15646
15641
|
null,
|
|
@@ -15650,25 +15645,25 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15650
15645
|
class: "perBlock",
|
|
15651
15646
|
key: A.userName
|
|
15652
15647
|
}, [
|
|
15653
|
-
T("span",
|
|
15648
|
+
T("span", Gp, [
|
|
15654
15649
|
A.userAvatar ? (k(), S("img", {
|
|
15655
15650
|
key: 0,
|
|
15656
15651
|
style: { width: "100%", height: "100%", "border-radius": "50%" },
|
|
15657
15652
|
src: u(A.userAvatar),
|
|
15658
15653
|
alt: ""
|
|
15659
|
-
}, null, 8,
|
|
15654
|
+
}, null, 8, Wp)) : (k(), S(
|
|
15660
15655
|
"span",
|
|
15661
|
-
|
|
15656
|
+
$p,
|
|
15662
15657
|
J((F = A.userName) == null ? void 0 : F.slice(-2)),
|
|
15663
15658
|
1
|
|
15664
15659
|
/* TEXT */
|
|
15665
15660
|
)),
|
|
15666
|
-
A.status === "END" ? (k(), S("i",
|
|
15661
|
+
A.status === "END" ? (k(), S("i", Kp)) : I("v-if", !0)
|
|
15667
15662
|
]),
|
|
15668
15663
|
T("div", {
|
|
15669
15664
|
class: "main-text",
|
|
15670
15665
|
title: A.userName
|
|
15671
|
-
}, J(A.userName), 9,
|
|
15666
|
+
}, J(A.userName), 9, Yp)
|
|
15672
15667
|
]);
|
|
15673
15668
|
}),
|
|
15674
15669
|
128
|
|
@@ -15679,14 +15674,14 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15679
15674
|
4
|
|
15680
15675
|
/* STYLE */
|
|
15681
15676
|
),
|
|
15682
|
-
d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), S("div",
|
|
15677
|
+
d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), S("div", Xp, [
|
|
15683
15678
|
(k(!0), S(
|
|
15684
15679
|
oe,
|
|
15685
15680
|
null,
|
|
15686
|
-
Fe(d[e.defaultFile.parallelInstances], (A) => (k(), S("div",
|
|
15681
|
+
Fe(d[e.defaultFile.parallelInstances], (A) => (k(), S("div", Jp, [
|
|
15687
15682
|
T(
|
|
15688
15683
|
"div",
|
|
15689
|
-
|
|
15684
|
+
Zp,
|
|
15690
15685
|
J(A.name),
|
|
15691
15686
|
1
|
|
15692
15687
|
/* TEXT */
|
|
@@ -15699,7 +15694,7 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15699
15694
|
/* UNKEYED_FRAGMENT */
|
|
15700
15695
|
))
|
|
15701
15696
|
])) : I("v-if", !0)
|
|
15702
|
-
], 8,
|
|
15697
|
+
], 8, lp);
|
|
15703
15698
|
}),
|
|
15704
15699
|
128
|
|
15705
15700
|
/* KEYED_FRAGMENT */
|
|
@@ -15707,8 +15702,8 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
|
|
|
15707
15702
|
]);
|
|
15708
15703
|
};
|
|
15709
15704
|
}
|
|
15710
|
-
}),
|
|
15705
|
+
}), tv = /* @__PURE__ */ pi(ev, [["__scopeId", "data-v-dbdbb339"]]), av = He(tv);
|
|
15711
15706
|
export {
|
|
15712
|
-
|
|
15713
|
-
|
|
15707
|
+
av as IkApprovalProcessDetail,
|
|
15708
|
+
av as default
|
|
15714
15709
|
};
|