iking-web-ui-pro 0.2.34 → 0.2.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IKPreviewFile/ik.index.es.js +612 -605
- package/dist/IKPreviewFile/ik.index.umd.js +46 -46
- package/dist/IKSearch/ik.index.es.js +623 -623
- package/dist/IKSearch/ik.index.umd.js +2 -2
- package/dist/IKSearch/style.css +1 -1
- package/dist/IkApprovalProcess/ik.index.es.js +463 -463
- package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +683 -676
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +46 -46
- package/dist/IkCalendar/ik.index.es.js +1583 -1583
- package/dist/IkCalendar/ik.index.umd.js +1 -1
- package/dist/IkCalendar/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +835 -852
- package/dist/IkDescription/ik.index.umd.js +46 -46
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +864 -857
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +46 -46
- package/dist/IkPageFull/ik.index.es.js +689 -689
- package/dist/IkPageFull/ik.index.umd.js +3 -3
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPickerUser/ik.index.es.js +317 -317
- package/dist/IkPickerUser/ik.index.umd.js +1 -1
- package/dist/IkPickerUser/style.css +1 -1
- package/dist/IkPlayer/ik.index.es.js +342 -339
- package/dist/IkPlayer/ik.index.umd.js +45 -45
- package/dist/IkPreviewFileDialog/ik.index.es.js +509 -506
- package/dist/IkPreviewFileDialog/ik.index.umd.js +46 -46
- package/dist/IkUploadFile/ik.index.es.js +1719 -1718
- package/dist/IkUploadFile/ik.index.umd.js +56 -56
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +273 -270
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/index.es.js +13879 -13901
- package/dist/index.umd.js +106 -106
- package/dist/src/components/IkDescription/index.d.ts +0 -76
- package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +0 -36
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as ee, computed as Z, openBlock as k, createElementBlock as S, createElementVNode as b, inject as ft, ref as pe, resolveComponent as Ke, Fragment as ce, renderList as Me, normalizeStyle as oe, toDisplayString as X, normalizeClass as K, createVNode as $, unref as x, withModifiers as ni, createBlock as ve, createCommentVNode as L, renderSlot as Ne, withCtx as ne, mergeModels as Tt, useModel as hi, reactive as
|
|
2
|
-
import { paramType as ri, ikFile as
|
|
3
|
-
import { useLocale as
|
|
1
|
+
import { defineComponent as ee, computed as Z, openBlock as k, createElementBlock as S, createElementVNode as b, inject as ft, ref as pe, resolveComponent as Ke, Fragment as ce, renderList as Me, normalizeStyle as oe, toDisplayString as X, normalizeClass as K, createVNode as $, unref as x, withModifiers as ni, createBlock as ve, createCommentVNode as L, renderSlot as Ne, withCtx as ne, mergeModels as Tt, useModel as hi, reactive as Cn, watch as ot, nextTick as gt, createTextVNode as We, h as or, mergeProps as wn, createSlots as lr, getCurrentScope as ur, onScopeDispose as cr, markRaw as Fi, effectScope as fr, shallowRef as hr, onMounted as bn, Teleport as Tn, Transition as En, resolveDynamicComponent as dr, withDirectives as gr, vShow as pr, pushScopeId as vr, popScopeId as mr } from "vue";
|
|
2
|
+
import { paramType as ri, ikFile as yr, buildUUID as Sn, ikColor as _r, _ as Vt, ikDate as kr } from "iking-utils-pro";
|
|
3
|
+
import { useLocale as Cr, useNamespace as xn, useZIndex as wr, ElIcon as De, EVENT_CODE as Ze } from "element-plus";
|
|
4
4
|
const Ae = (o, a) => {
|
|
5
5
|
if (o.install = (r) => {
|
|
6
6
|
for (const t of [o, ...Object.values(a ?? {})])
|
|
@@ -31,7 +31,7 @@ const Ae = (o, a) => {
|
|
|
31
31
|
if (typeof t == "string" && (t.includes(u) || t === u))
|
|
32
32
|
return e[u];
|
|
33
33
|
return "unknown";
|
|
34
|
-
},
|
|
34
|
+
}, br = {
|
|
35
35
|
".doc": "word",
|
|
36
36
|
".docx": "word",
|
|
37
37
|
".docxf": "word",
|
|
@@ -118,11 +118,11 @@ const Ae = (o, a) => {
|
|
|
118
118
|
".pdf": "pdf"
|
|
119
119
|
}, Mi = (o) => {
|
|
120
120
|
const a = o == null ? void 0 : o.toLocaleLowerCase(), r = a != null && a.startsWith(".") ? a : `.${a}`;
|
|
121
|
-
return r &&
|
|
122
|
-
},
|
|
121
|
+
return r && br[r] || "unknow";
|
|
122
|
+
}, Tr = (o) => {
|
|
123
123
|
let a = "", r = ["doc", "docx"], t = ["xls", "xlsx"], e = ["ppt", "pptx"], i = ["pdf"];
|
|
124
124
|
return r.includes(o) && (a = "word"), t.includes(o) && (a = "cell"), e.includes(o) && (a = "slide"), i.includes(o) && (a = "text-pdf"), a;
|
|
125
|
-
},
|
|
125
|
+
}, Er = {
|
|
126
126
|
key: 0,
|
|
127
127
|
t: "1686300059786",
|
|
128
128
|
class: "icon",
|
|
@@ -132,7 +132,7 @@ const Ae = (o, a) => {
|
|
|
132
132
|
"p-id": "7671",
|
|
133
133
|
width: "200",
|
|
134
134
|
height: "200"
|
|
135
|
-
},
|
|
135
|
+
}, Sr = /* @__PURE__ */ b(
|
|
136
136
|
"path",
|
|
137
137
|
{
|
|
138
138
|
d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
|
|
@@ -142,7 +142,7 @@ const Ae = (o, a) => {
|
|
|
142
142
|
null,
|
|
143
143
|
-1
|
|
144
144
|
/* HOISTED */
|
|
145
|
-
),
|
|
145
|
+
), xr = /* @__PURE__ */ b(
|
|
146
146
|
"path",
|
|
147
147
|
{
|
|
148
148
|
d: "M258.528 742.0672L351.8336 604.928a14.5024 14.5024 0 0 1 22.1696-2.1824l61.664 60.416 135.296-212.064a14.5024 14.5024 0 0 1 24.8064 0.5568l168.1024 291.328a14.5024 14.5024 0 0 1-12.5696 21.7664H270.528a14.5024 14.5024 0 0 1-12.0064-22.6816z",
|
|
@@ -152,7 +152,7 @@ const Ae = (o, a) => {
|
|
|
152
152
|
null,
|
|
153
153
|
-1
|
|
154
154
|
/* HOISTED */
|
|
155
|
-
),
|
|
155
|
+
), Ir = /* @__PURE__ */ b(
|
|
156
156
|
"path",
|
|
157
157
|
{
|
|
158
158
|
d: "M359.616 431.5456m-73.1456 0a73.1456 73.1456 0 1 0 146.2912 0 73.1456 73.1456 0 1 0-146.2912 0Z",
|
|
@@ -162,7 +162,7 @@ const Ae = (o, a) => {
|
|
|
162
162
|
null,
|
|
163
163
|
-1
|
|
164
164
|
/* HOISTED */
|
|
165
|
-
),
|
|
165
|
+
), Pr = /* @__PURE__ */ b(
|
|
166
166
|
"path",
|
|
167
167
|
{
|
|
168
168
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -172,12 +172,12 @@ const Ae = (o, a) => {
|
|
|
172
172
|
null,
|
|
173
173
|
-1
|
|
174
174
|
/* HOISTED */
|
|
175
|
-
),
|
|
176
|
-
Er,
|
|
175
|
+
), Ar = [
|
|
177
176
|
Sr,
|
|
178
177
|
xr,
|
|
179
|
-
Ir
|
|
180
|
-
|
|
178
|
+
Ir,
|
|
179
|
+
Pr
|
|
180
|
+
], Lr = {
|
|
181
181
|
key: 1,
|
|
182
182
|
t: "1686301531714",
|
|
183
183
|
class: "icon",
|
|
@@ -187,7 +187,7 @@ const Ae = (o, a) => {
|
|
|
187
187
|
"p-id": "9067",
|
|
188
188
|
width: "200",
|
|
189
189
|
height: "200"
|
|
190
|
-
},
|
|
190
|
+
}, Dr = /* @__PURE__ */ b(
|
|
191
191
|
"path",
|
|
192
192
|
{
|
|
193
193
|
d: "M409.6 0v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133334H409.6v68.266666h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133334s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333h68.266666c20.48 0 34.133333-13.653333 34.133334-34.133333V477.866667h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133334S532.48 409.6 512 409.6H477.866667V341.333333h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 273.066667 512 273.066667H477.866667V204.8h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 136.533333 512 136.533333H477.866667V0h204.8l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0h204.8z m0 682.666667h68.266667v68.266666H409.6v-68.266666z m-34.133333-68.266667c-20.48 0-34.133333 13.653333-34.133334 34.133333v136.533334c0 20.48 13.653333 34.133333 34.133334 34.133333h136.533333c20.48 0 34.133333-13.653333 34.133333-34.133333v-136.533334c0-20.48-13.653333-34.133333-34.133333-34.133333h-136.533333z",
|
|
@@ -197,7 +197,7 @@ const Ae = (o, a) => {
|
|
|
197
197
|
null,
|
|
198
198
|
-1
|
|
199
199
|
/* HOISTED */
|
|
200
|
-
),
|
|
200
|
+
), Or = /* @__PURE__ */ b(
|
|
201
201
|
"path",
|
|
202
202
|
{
|
|
203
203
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -207,10 +207,10 @@ const Ae = (o, a) => {
|
|
|
207
207
|
null,
|
|
208
208
|
-1
|
|
209
209
|
/* HOISTED */
|
|
210
|
-
),
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
],
|
|
210
|
+
), Rr = [
|
|
211
|
+
Dr,
|
|
212
|
+
Or
|
|
213
|
+
], Fr = {
|
|
214
214
|
key: 2,
|
|
215
215
|
t: "1686300141125",
|
|
216
216
|
class: "icon",
|
|
@@ -220,7 +220,7 @@ const Ae = (o, a) => {
|
|
|
220
220
|
"p-id": "8137",
|
|
221
221
|
width: "200",
|
|
222
222
|
height: "200"
|
|
223
|
-
},
|
|
223
|
+
}, Mr = /* @__PURE__ */ b(
|
|
224
224
|
"path",
|
|
225
225
|
{
|
|
226
226
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m204.8 546.133333V443.733333h204.8v136.533334H409.6V546.133333z m0 102.4h204.8c40.96 0 68.266667-27.306667 68.266667-68.266666v-136.533334c0-40.96-27.306667-68.266667-68.266667-68.266666H409.6c-40.96 0-68.266667 27.306667-68.266667 68.266666V819.2c0 20.48 13.653333 34.133333 34.133334 34.133333s34.133333-13.653333 34.133333-34.133333V648.533333z",
|
|
@@ -230,7 +230,7 @@ const Ae = (o, a) => {
|
|
|
230
230
|
null,
|
|
231
231
|
-1
|
|
232
232
|
/* HOISTED */
|
|
233
|
-
),
|
|
233
|
+
), Nr = /* @__PURE__ */ b(
|
|
234
234
|
"path",
|
|
235
235
|
{
|
|
236
236
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -240,10 +240,10 @@ const Ae = (o, a) => {
|
|
|
240
240
|
null,
|
|
241
241
|
-1
|
|
242
242
|
/* HOISTED */
|
|
243
|
-
),
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
],
|
|
243
|
+
), Br = [
|
|
244
|
+
Mr,
|
|
245
|
+
Nr
|
|
246
|
+
], Hr = {
|
|
247
247
|
key: 3,
|
|
248
248
|
t: "1686300157181",
|
|
249
249
|
class: "icon",
|
|
@@ -253,7 +253,7 @@ const Ae = (o, a) => {
|
|
|
253
253
|
"p-id": "8292",
|
|
254
254
|
width: "200",
|
|
255
255
|
height: "200"
|
|
256
|
-
},
|
|
256
|
+
}, Ur = /* @__PURE__ */ b(
|
|
257
257
|
"path",
|
|
258
258
|
{
|
|
259
259
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 607.573333l68.266667 191.146667c13.653333 27.306667 54.613333 27.306667 61.44 0l102.4-273.066667c6.826667-20.48 0-34.133333-20.48-40.96s-34.133333 0-40.96 13.653334l-68.266667 191.146666-68.266667-191.146666c-13.653333-27.306667-54.613333-27.306667-68.266666 0l-68.266667 191.146666-68.266667-191.146666c-6.826667-13.653333-27.306667-27.306667-47.786666-20.48s-27.306667 27.306667-20.48 47.786666l102.4 273.066667c13.653333 27.306667 54.613333 27.306667 61.44 0l75.093333-191.146667z",
|
|
@@ -263,7 +263,7 @@ const Ae = (o, a) => {
|
|
|
263
263
|
null,
|
|
264
264
|
-1
|
|
265
265
|
/* HOISTED */
|
|
266
|
-
),
|
|
266
|
+
), zr = /* @__PURE__ */ b(
|
|
267
267
|
"path",
|
|
268
268
|
{
|
|
269
269
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -273,10 +273,10 @@ const Ae = (o, a) => {
|
|
|
273
273
|
null,
|
|
274
274
|
-1
|
|
275
275
|
/* HOISTED */
|
|
276
|
-
),
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
],
|
|
276
|
+
), Vr = [
|
|
277
|
+
Ur,
|
|
278
|
+
zr
|
|
279
|
+
], jr = {
|
|
280
280
|
key: 4,
|
|
281
281
|
t: "1686300180947",
|
|
282
282
|
class: "icon",
|
|
@@ -286,7 +286,7 @@ const Ae = (o, a) => {
|
|
|
286
286
|
"p-id": "8447",
|
|
287
287
|
width: "200",
|
|
288
288
|
height: "200"
|
|
289
|
-
},
|
|
289
|
+
}, $r = /* @__PURE__ */ b(
|
|
290
290
|
"path",
|
|
291
291
|
{
|
|
292
292
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m477.866667 730.453333c20.48 0 68.266667 0 68.266666-47.786666 0-20.48-6.826667-47.786667-68.266666-47.786667-27.306667 0-54.613333 6.826667-81.92 6.826667-34.133333-27.306667-68.266667-61.44-88.746667-102.4 20.48-75.093333 20.48-122.88 6.826667-150.186667-6.826667-6.826667-20.48-13.653333-34.133334-13.653333-20.48 0-34.133333 6.826667-40.96 20.48-20.48 40.96 13.653333 116.053333 27.306667 150.186666-20.48 54.613333-40.96 109.226667-68.266667 163.84C273.066667 764.586667 273.066667 798.72 273.066667 812.373333c0 13.653333 6.826667 27.306667 20.48 34.133334 6.826667 6.826667 13.653333 6.826667 20.48 6.826666 34.133333 0 68.266667-34.133333 116.053333-109.226666 54.613333-20.48 102.4-40.96 157.013333-47.786667 27.306667 20.48 61.44 34.133333 95.573334 34.133333zM491.52 416.426667c6.826667 20.48 6.826667 47.786667 0 68.266666-13.653333-20.48-13.653333-40.96-13.653333-68.266666h13.653333z m-177.493333 395.946666c13.653333-20.48 27.306667-27.306667 47.786666-40.96-13.653333 20.48-27.306667 34.133333-47.786666 40.96z m184.32-204.8c13.653333 20.48 34.133333 47.786667 54.613333 68.266667H546.133333c-27.306667 6.826667-61.44 13.653333-88.746666 27.306667 13.653333-34.133333 27.306667-61.44 40.96-95.573334z m177.493333 68.266667c27.306667 0 34.133333 6.826667 34.133333 13.653333-6.826667 0-20.48 6.826667-27.306666 0-13.653333 0-27.306667-6.826667-40.96-13.653333h34.133333z",
|
|
@@ -296,7 +296,7 @@ const Ae = (o, a) => {
|
|
|
296
296
|
null,
|
|
297
297
|
-1
|
|
298
298
|
/* HOISTED */
|
|
299
|
-
),
|
|
299
|
+
), Wr = /* @__PURE__ */ b(
|
|
300
300
|
"path",
|
|
301
301
|
{
|
|
302
302
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -306,10 +306,10 @@ const Ae = (o, a) => {
|
|
|
306
306
|
null,
|
|
307
307
|
-1
|
|
308
308
|
/* HOISTED */
|
|
309
|
-
),
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
],
|
|
309
|
+
), Gr = [
|
|
310
|
+
$r,
|
|
311
|
+
Wr
|
|
312
|
+
], Kr = {
|
|
313
313
|
key: 5,
|
|
314
314
|
t: "1686300195363",
|
|
315
315
|
class: "icon",
|
|
@@ -319,7 +319,7 @@ const Ae = (o, a) => {
|
|
|
319
319
|
"p-id": "8602",
|
|
320
320
|
width: "200",
|
|
321
321
|
height: "200"
|
|
322
|
-
},
|
|
322
|
+
}, Yr = /* @__PURE__ */ b(
|
|
323
323
|
"path",
|
|
324
324
|
{
|
|
325
325
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m341.333333 512h136.533334c20.48 0 34.133333-13.653333 34.133333-34.133333s-13.653333-34.133333-34.133333-34.133334H341.333333c-20.48 0-34.133333 13.653333-34.133333 34.133334s13.653333 34.133333 34.133333 34.133333h136.533334V819.2c0 20.48 13.653333 34.133333 34.133333 34.133333s34.133333-13.653333 34.133333-34.133333V512z",
|
|
@@ -329,7 +329,7 @@ const Ae = (o, a) => {
|
|
|
329
329
|
null,
|
|
330
330
|
-1
|
|
331
331
|
/* HOISTED */
|
|
332
|
-
),
|
|
332
|
+
), Xr = /* @__PURE__ */ b(
|
|
333
333
|
"path",
|
|
334
334
|
{
|
|
335
335
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -339,10 +339,10 @@ const Ae = (o, a) => {
|
|
|
339
339
|
null,
|
|
340
340
|
-1
|
|
341
341
|
/* HOISTED */
|
|
342
|
-
),
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
],
|
|
342
|
+
), qr = [
|
|
343
|
+
Yr,
|
|
344
|
+
Xr
|
|
345
|
+
], Zr = {
|
|
346
346
|
key: 6,
|
|
347
347
|
t: "1686300209288",
|
|
348
348
|
class: "icon",
|
|
@@ -352,7 +352,7 @@ const Ae = (o, a) => {
|
|
|
352
352
|
"p-id": "8757",
|
|
353
353
|
width: "200",
|
|
354
354
|
height: "200"
|
|
355
|
-
},
|
|
355
|
+
}, Jr = /* @__PURE__ */ b(
|
|
356
356
|
"path",
|
|
357
357
|
{
|
|
358
358
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m464.213333 375.466667l-232.106666 61.44c-27.306667 13.653333-47.786667 34.133333-47.786667 61.44v218.453333s-20.48-13.653333-54.613333-6.826667c-47.786667 6.826667-95.573333 47.786667-95.573334 88.746667 0 40.96 47.786667 61.44 95.573334 54.613333 54.613333-6.826667 95.573333-40.96 95.573333-81.92V559.786667c0-13.653333 27.306667-27.306667 27.306667-27.306667L655.36 477.866667s20.48-6.826667 20.48 13.653333v170.666667s-20.48-13.653333-54.613333-6.826667c-54.613333 6.826667-95.573333 40.96-95.573334 81.92s47.786667 68.266667 95.573334 61.44 95.573333-40.96 95.573333-81.92V409.6c0-27.306667-27.306667-40.96-47.786667-34.133333z",
|
|
@@ -362,7 +362,7 @@ const Ae = (o, a) => {
|
|
|
362
362
|
null,
|
|
363
363
|
-1
|
|
364
364
|
/* HOISTED */
|
|
365
|
-
),
|
|
365
|
+
), Qr = /* @__PURE__ */ b(
|
|
366
366
|
"path",
|
|
367
367
|
{
|
|
368
368
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -372,10 +372,10 @@ const Ae = (o, a) => {
|
|
|
372
372
|
null,
|
|
373
373
|
-1
|
|
374
374
|
/* HOISTED */
|
|
375
|
-
),
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
],
|
|
375
|
+
), es = [
|
|
376
|
+
Jr,
|
|
377
|
+
Qr
|
|
378
|
+
], ts = {
|
|
379
379
|
key: 7,
|
|
380
380
|
t: "1686300225262",
|
|
381
381
|
class: "icon",
|
|
@@ -385,7 +385,7 @@ const Ae = (o, a) => {
|
|
|
385
385
|
"p-id": "8912",
|
|
386
386
|
width: "200",
|
|
387
387
|
height: "200"
|
|
388
|
-
},
|
|
388
|
+
}, is = /* @__PURE__ */ b(
|
|
389
389
|
"path",
|
|
390
390
|
{
|
|
391
391
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 853.333333c150.186667 0 273.066667-122.88 273.066667-273.066666s-122.88-273.066667-273.066667-273.066667-273.066667 122.88-273.066667 273.066667 122.88 273.066667 273.066667 273.066666z m0-68.266666c-116.053333 0-204.8-88.746667-204.8-204.8s88.746667-204.8 204.8-204.8 204.8 88.746667 204.8 204.8-88.746667 204.8-204.8 204.8zM614.4 600.746667l6.826667-6.826667c6.826667-13.653333 6.826667-27.306667-6.826667-34.133333L484.693333 471.04s-6.826667-6.826667-13.653333-6.826667c-13.653333 0-27.306667 13.653333-27.306667 27.306667v170.666667c0 6.826667 0 13.653333 6.826667 13.653333 6.826667 13.653333 27.306667 13.653333 40.96 6.826667L614.4 600.746667z",
|
|
@@ -395,7 +395,7 @@ const Ae = (o, a) => {
|
|
|
395
395
|
null,
|
|
396
396
|
-1
|
|
397
397
|
/* HOISTED */
|
|
398
|
-
),
|
|
398
|
+
), ns = /* @__PURE__ */ b(
|
|
399
399
|
"path",
|
|
400
400
|
{
|
|
401
401
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -405,10 +405,10 @@ const Ae = (o, a) => {
|
|
|
405
405
|
null,
|
|
406
406
|
-1
|
|
407
407
|
/* HOISTED */
|
|
408
|
-
),
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
],
|
|
408
|
+
), rs = [
|
|
409
|
+
is,
|
|
410
|
+
ns
|
|
411
|
+
], ss = {
|
|
412
412
|
key: 8,
|
|
413
413
|
t: "1692251753690",
|
|
414
414
|
class: "icon",
|
|
@@ -418,7 +418,7 @@ const Ae = (o, a) => {
|
|
|
418
418
|
"p-id": "4336",
|
|
419
419
|
width: "200",
|
|
420
420
|
height: "200"
|
|
421
|
-
},
|
|
421
|
+
}, as = /* @__PURE__ */ b(
|
|
422
422
|
"path",
|
|
423
423
|
{
|
|
424
424
|
d: "M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",
|
|
@@ -428,7 +428,7 @@ const Ae = (o, a) => {
|
|
|
428
428
|
null,
|
|
429
429
|
-1
|
|
430
430
|
/* HOISTED */
|
|
431
|
-
),
|
|
431
|
+
), os = /* @__PURE__ */ b(
|
|
432
432
|
"path",
|
|
433
433
|
{
|
|
434
434
|
d: "M388.5056 631.261867H307.541333v54.852266h95.095467v33.8944H265.3184v-204.765866h136.977067v34.167466H307.5072v48.810667h80.9984v33.041067z m112.093867-45.397334l38.4-70.621866h48.503466l-59.630933 101.546666 61.201067 103.2192h-49.117867l-39.355733-71.714133-39.389867 71.68h-49.0496l61.166933-103.185067-59.630933-101.546666h48.503467l38.4 70.587733z m266.922666 65.9456c-0.648533 9.898667-3.037867 19.592533-7.0656 28.672-3.7888 8.533333-9.352533 16.1792-16.315733 22.4256-6.929067 6.2464-15.36 11.127467-25.258667 14.6432-9.864533 3.4816-21.128533 5.256533-33.792 5.256534-13.1072 0-24.917333-2.286933-35.362133-6.826667a72.260267 72.260267 0 0 1-26.555733-19.626667 89.019733 89.019733 0 0 1-16.725334-30.993066 133.597867 133.597867 0 0 1-5.870933-40.8576v-13.482667c0-15.121067 2.048-28.740267 6.0416-40.925867 4.061867-12.1856 9.728-22.528 17.1008-31.061333 7.338667-8.533333 16.4864-15.2576 26.794667-19.694933 10.478933-4.608 22.186667-6.894933 35.157333-6.894934 12.731733 0 24.029867 1.809067 33.792 5.393067 9.8304 3.618133 18.1248 8.635733 24.9856 15.0528 6.826667 6.485333 12.288 14.267733 16.042667 22.9376 3.822933 8.874667 6.2464 18.466133 7.304533 28.8768h-42.1888a63.829333 63.829333 0 0 0-3.1744-16.145067 31.744 31.744 0 0 0-7.099733-11.810133 29.354667 29.354667 0 0 0-11.946667-7.2704 55.944533 55.944533 0 0 0-17.749333-2.4576c-14.2336 0-24.849067 5.188267-31.812267 15.5648-6.997333 10.3424-10.478933 26.385067-10.478933 48.128v13.789867c0 10.581333 0.750933 19.899733 2.321066 27.8528 1.536 7.953067 3.959467 14.609067 7.304534 19.968a32.221867 32.221867 0 0 0 12.970666 12.014933c5.256533 2.696533 11.639467 4.027733 19.182934 4.027733 6.656 0 12.3904-0.750933 17.2032-2.2528a30.549333 30.549333 0 0 0 12.0832-6.826666 30.685867 30.685867 0 0 0 7.509333-11.4688c1.809067-4.573867 2.935467-9.898667 3.413333-16.042667h42.154667z",
|
|
@@ -439,7 +439,7 @@ const Ae = (o, a) => {
|
|
|
439
439
|
null,
|
|
440
440
|
-1
|
|
441
441
|
/* HOISTED */
|
|
442
|
-
),
|
|
442
|
+
), ls = /* @__PURE__ */ b(
|
|
443
443
|
"path",
|
|
444
444
|
{
|
|
445
445
|
d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
|
|
@@ -449,11 +449,11 @@ const Ae = (o, a) => {
|
|
|
449
449
|
null,
|
|
450
450
|
-1
|
|
451
451
|
/* HOISTED */
|
|
452
|
-
),
|
|
453
|
-
ss,
|
|
452
|
+
), us = [
|
|
454
453
|
as,
|
|
455
|
-
os
|
|
456
|
-
|
|
454
|
+
os,
|
|
455
|
+
ls
|
|
456
|
+
], cs = {
|
|
457
457
|
key: 9,
|
|
458
458
|
t: "1692251753690",
|
|
459
459
|
class: "icon",
|
|
@@ -463,7 +463,7 @@ const Ae = (o, a) => {
|
|
|
463
463
|
"p-id": "4336",
|
|
464
464
|
width: "200",
|
|
465
465
|
height: "200"
|
|
466
|
-
},
|
|
466
|
+
}, fs = /* @__PURE__ */ b(
|
|
467
467
|
"path",
|
|
468
468
|
{
|
|
469
469
|
d: "M145.6 0C100.8 0 64 36.8 64 81.6v860.8C64 987.2 100.8 1024 145.6 1024h732.8c44.8 0 81.6-36.8 81.6-81.6V324.8L657.6 0h-512z",
|
|
@@ -473,7 +473,7 @@ const Ae = (o, a) => {
|
|
|
473
473
|
null,
|
|
474
474
|
-1
|
|
475
475
|
/* HOISTED */
|
|
476
|
-
),
|
|
476
|
+
), hs = /* @__PURE__ */ b(
|
|
477
477
|
"path",
|
|
478
478
|
{
|
|
479
479
|
d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
|
|
@@ -483,7 +483,7 @@ const Ae = (o, a) => {
|
|
|
483
483
|
null,
|
|
484
484
|
-1
|
|
485
485
|
/* HOISTED */
|
|
486
|
-
),
|
|
486
|
+
), ds = /* @__PURE__ */ b(
|
|
487
487
|
"path",
|
|
488
488
|
{
|
|
489
489
|
d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
|
|
@@ -494,7 +494,7 @@ const Ae = (o, a) => {
|
|
|
494
494
|
null,
|
|
495
495
|
-1
|
|
496
496
|
/* HOISTED */
|
|
497
|
-
),
|
|
497
|
+
), gs = /* @__PURE__ */ b(
|
|
498
498
|
"path",
|
|
499
499
|
{
|
|
500
500
|
d: "M344 862.4h-100.8c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h100.8c4.8 0 9.6 4.8 9.6 11.2 0 6.4-4.8 9.6-9.6 9.6h-94.4v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h94.4c4.8 0 9.6 4.8 9.6 9.6 0 6.4-4.8 11.2-9.6 11.2z m193.6 1.6c-4.8 0-8 0-9.6-3.2l-59.2-80-60.8 80c-1.6 3.2-4.8 3.2-8 3.2-6.4 0-11.2-4.8-11.2-11.2 0-1.6 0-4.8 1.6-6.4l62.4-81.6-57.6-78.4c-1.6-1.6-3.2-3.2-3.2-6.4 0-4.8 4.8-11.2 12.8-11.2 3.2 0 6.4 1.6 8 4.8l56 73.6 54.4-73.6c1.6-3.2 4.8-4.8 9.6-4.8s11.2 4.8 11.2 11.2c0 3.2 0 4.8-1.6 6.4l-57.6 76.8 60.8 83.2c1.6 1.6 3.2 4.8 3.2 6.4 0 6.4-6.4 11.2-11.2 11.2z m171.2-1.6h-99.2c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h99.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-92.8v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h92.8c6.4 0 11.2 4.8 11.2 9.6 0 6.4-4.8 11.2-11.2 11.2z",
|
|
@@ -504,12 +504,12 @@ const Ae = (o, a) => {
|
|
|
504
504
|
null,
|
|
505
505
|
-1
|
|
506
506
|
/* HOISTED */
|
|
507
|
-
),
|
|
508
|
-
cs,
|
|
507
|
+
), ps = [
|
|
509
508
|
fs,
|
|
510
509
|
hs,
|
|
511
|
-
ds
|
|
512
|
-
|
|
510
|
+
ds,
|
|
511
|
+
gs
|
|
512
|
+
], vs = {
|
|
513
513
|
key: 10,
|
|
514
514
|
t: "1714099890925",
|
|
515
515
|
class: "icon",
|
|
@@ -519,7 +519,7 @@ const Ae = (o, a) => {
|
|
|
519
519
|
"p-id": "2271",
|
|
520
520
|
width: "200",
|
|
521
521
|
height: "200"
|
|
522
|
-
},
|
|
522
|
+
}, ms = /* @__PURE__ */ b(
|
|
523
523
|
"path",
|
|
524
524
|
{
|
|
525
525
|
d: "M227.555556 28.444444h389.404444a19.911111 19.911111 0 0 1 14.734222 6.542223l271.132445 298.211555a28.444444 28.444444 0 0 1 7.395555 19.143111V938.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H227.555556a56.888889 56.888889 0 0 1-56.888889-56.888889V85.333333a56.888889 56.888889 0 0 1 56.888889-56.888889z",
|
|
@@ -529,7 +529,7 @@ const Ae = (o, a) => {
|
|
|
529
529
|
null,
|
|
530
530
|
-1
|
|
531
531
|
/* HOISTED */
|
|
532
|
-
),
|
|
532
|
+
), ys = /* @__PURE__ */ b(
|
|
533
533
|
"path",
|
|
534
534
|
{
|
|
535
535
|
d: "M625.777778 30.492444a19.911111 19.911111 0 0 1 5.916444 4.465778l271.132445 298.24a28.444444 28.444444 0 0 1 5.176889 8.135111H682.666667a56.888889 56.888889 0 0 1-56.888889-56.888889V30.492444z",
|
|
@@ -540,7 +540,7 @@ const Ae = (o, a) => {
|
|
|
540
540
|
null,
|
|
541
541
|
-1
|
|
542
542
|
/* HOISTED */
|
|
543
|
-
),
|
|
543
|
+
), _s = /* @__PURE__ */ b(
|
|
544
544
|
"path",
|
|
545
545
|
{
|
|
546
546
|
d: "M396.288 645.176889c0 5.461333-0.796444 10.865778-2.389333 16.156444-1.592889 5.319111-4.266667 10.069333-7.964445 14.222223-3.697778 4.181333-8.647111 7.509333-14.791111 10.012444a60.871111 60.871111 0 0 1-22.869333 3.754667c-15.160889 0-26.851556-3.982222-35.043556-11.946667-8.192-7.964444-12.288-19.683556-12.288-35.157333v-10.012445h21.617778v6.826667c0 4.721778 0.369778 9.045333 1.137778 12.970667a28.074667 28.074667 0 0 0 3.982222 10.24 18.773333 18.773333 0 0 0 7.964444 6.712888c3.413333 1.592889 7.765333 2.389333 13.084445 2.389334 9.870222 0 16.64-2.645333 20.366222-7.964445 3.697778-5.290667 5.575111-12.430222 5.575111-21.390222v-118.784h21.617778v121.969778z m44.145778 3.413333c0.142222 4.266667 1.137778 7.850667 2.958222 10.808889a20.593778 20.593778 0 0 0 7.168 7.054222c2.958222 1.763556 6.286222 3.015111 10.012444 3.754667 3.697778 0.768 7.537778 1.137778 11.491556 1.137778 3.043556 0 6.229333-0.227556 9.557333-0.682667 3.328-0.455111 6.4-1.28 9.216-2.503111a17.294222 17.294222 0 0 0 6.940445-5.347556 14.250667 14.250667 0 0 0 2.730666-8.988444 12.885333 12.885333 0 0 0-5.688888-11.377778c-3.783111-2.56-8.533333-4.664889-14.222223-6.257778a232.561778 232.561778 0 0 0-18.545777-4.323555 96.227556 96.227556 0 0 1-18.545778-5.461333 38.4 38.4 0 0 1-14.222222-9.898667c-3.783111-4.266667-5.688889-10.154667-5.688889-17.749333a28.16 28.16 0 0 1 3.982222-15.246223c2.645333-4.266667 6.058667-7.68 10.24-10.353777 4.181333-2.645333 8.874667-4.608 14.108444-5.916445 5.233778-1.28 10.439111-1.934222 15.587556-1.934222 6.684444 0 12.8 0.568889 18.432 1.706667 5.603556 1.137778 10.581333 3.128889 14.904889 5.916444 4.323556 2.816 7.765333 6.599111 10.353778 11.377778 2.56 4.778667 4.096 10.752 4.551111 17.863111h-19.342223a19.569778 19.569778 0 0 0-2.958222-9.443556 19.370667 19.370667 0 0 0-6.371555-6.030222 28.956444 28.956444 0 0 0-8.533334-3.299555 43.918222 43.918222 0 0 0-9.443555-1.024c-2.872889 0-5.802667 0.227556-8.760889 0.682666a29.496889 29.496889 0 0 0-8.078222 2.389334 16.270222 16.270222 0 0 0-5.916445 4.551111 11.463111 11.463111 0 0 0-2.275555 7.395555c0 3.356444 1.166222 6.115556 3.527111 8.305778a28.16 28.16 0 0 0 8.988444 5.461333c3.640889 1.422222 7.736889 2.673778 12.288 3.640889 4.551111 0.995556 9.102222 1.991111 13.653334 3.072 4.835556 1.080889 9.585778 2.360889 14.222222 3.868445 4.636444 1.536 8.732444 3.527111 12.288 6.030222s6.456889 5.660444 8.647111 9.443555a27.733333 27.733333 0 0 1 3.299555 14.108445c0 7.111111-1.479111 13.056-4.437333 17.749333a34.702222 34.702222 0 0 1-11.605333 11.377778 48.497778 48.497778 0 0 1-16.156445 6.030222c-5.973333 1.137778-11.946667 1.706667-17.863111 1.706667a82.773333 82.773333 0 0 1-18.659555-2.048 45.795556 45.795556 0 0 1-15.701334-6.712889 34.218667 34.218667 0 0 1-10.922666-12.288 42.581333 42.581333 0 0 1-4.551111-18.545778h19.342222z m116.053333-21.617778c0 7.111111 0.938667 13.482667 2.844445 19.000889 1.905778 5.546667 4.522667 10.183111 7.850666 13.880889a34.076444 34.076444 0 0 0 25.941334 11.491556 34.076444 34.076444 0 0 0 25.941333-11.491556c3.328-3.697778 5.973333-8.334222 7.850667-13.880889 1.905778-5.518222 2.844444-11.861333 2.844444-19.000889 0-7.111111-0.938667-13.454222-2.844444-19.000888a41.016889 41.016889 0 0 0-7.850667-13.994667 33.422222 33.422222 0 0 0-11.719111-8.647111 34.872889 34.872889 0 0 0-14.222222-2.958222c-5.006222 0-9.756444 0.995556-14.222223 2.958222-4.465778 1.991111-8.391111 4.835556-11.719111 8.647111-3.328 3.811556-5.973333 8.476444-7.850666 13.994667-1.905778 5.546667-2.844444 11.889778-2.844445 19.000888z m-20.48 0c0-8.647111 1.223111-16.725333 3.640889-24.234666a54.897778 54.897778 0 0 1 10.922667-19.569778c4.835556-5.518222 10.837333-9.898667 17.976889-13.084444 7.111111-3.185778 15.331556-4.778667 24.576-4.778667 9.386667 0 17.635556 1.592889 24.689777 4.778667 7.054222 3.185778 12.999111 7.566222 17.863111 13.084444 4.835556 5.546667 8.504889 12.060444 10.922667 19.569778 2.417778 7.509333 3.640889 15.587556 3.640889 24.234666 0 8.647111-1.223111 16.696889-3.640889 24.120889-2.417778 7.452444-6.058667 13.937778-10.922667 19.456-4.835556 5.546667-10.808889 9.870222-17.863111 12.970667-7.054222 3.128889-15.274667 4.664889-24.689777 4.664889-9.244444 0-17.436444-1.536-24.576-4.664889a50.261333 50.261333 0 0 1-17.976889-12.970667 55.068444 55.068444 0 0 1-10.922667-19.456 77.283556 77.283556 0 0 1-3.640889-24.120889z m136.988445-58.936888h18.204444v18.659555h0.455111c8.049778-14.250667 20.764444-21.390222 38.229333-21.390222 7.736889 0 14.193778 1.080889 19.342223 3.185778 5.148444 2.133333 9.329778 5.091556 12.515555 8.874666 3.185778 3.811556 5.404444 8.305778 6.712889 13.539556 1.28 5.233778 1.934222 11.036444 1.934222 17.408v77.368889h-19.342222v-79.644445c0-7.281778-2.133333-13.027556-6.371555-17.294222-4.266667-4.266667-10.097778-6.371556-17.521778-6.371555-5.916444 0-11.036444 0.910222-15.36 2.730666a28.814222 28.814222 0 0 0-10.808889 7.736889 33.336889 33.336889 0 0 0-6.485333 11.719111c-1.422222 4.494222-2.161778 9.386667-2.161778 14.677334v66.446222h-19.342222V568.035556z",
|
|
@@ -550,11 +550,11 @@ const Ae = (o, a) => {
|
|
|
550
550
|
null,
|
|
551
551
|
-1
|
|
552
552
|
/* HOISTED */
|
|
553
|
-
),
|
|
554
|
-
vs,
|
|
553
|
+
), ks = [
|
|
555
554
|
ms,
|
|
556
|
-
ys
|
|
557
|
-
|
|
555
|
+
ys,
|
|
556
|
+
_s
|
|
557
|
+
], Cs = {
|
|
558
558
|
key: 11,
|
|
559
559
|
t: "1686300037564",
|
|
560
560
|
class: "icon",
|
|
@@ -564,7 +564,7 @@ const Ae = (o, a) => {
|
|
|
564
564
|
"p-id": "7515",
|
|
565
565
|
width: "200",
|
|
566
566
|
height: "200"
|
|
567
|
-
},
|
|
567
|
+
}, ws = /* @__PURE__ */ b(
|
|
568
568
|
"path",
|
|
569
569
|
{
|
|
570
570
|
d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
|
|
@@ -574,7 +574,7 @@ const Ae = (o, a) => {
|
|
|
574
574
|
null,
|
|
575
575
|
-1
|
|
576
576
|
/* HOISTED */
|
|
577
|
-
),
|
|
577
|
+
), bs = /* @__PURE__ */ b(
|
|
578
578
|
"path",
|
|
579
579
|
{
|
|
580
580
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -584,7 +584,7 @@ const Ae = (o, a) => {
|
|
|
584
584
|
null,
|
|
585
585
|
-1
|
|
586
586
|
/* HOISTED */
|
|
587
|
-
),
|
|
587
|
+
), Ts = /* @__PURE__ */ b(
|
|
588
588
|
"path",
|
|
589
589
|
{
|
|
590
590
|
d: "M384 499.2c0-25.6 5.12-46.08 10.24-58.88 5.12-12.8 15.36-25.6 28.16-35.84 12.8-12.8 25.6-20.48 43.52-25.6 15.36-5.12 30.72-7.68 48.64-7.68 35.84 0 64 10.24 89.6 30.72C627.2 422.4 640 448 640 481.28c0 15.36-5.12 28.16-10.24 40.96s-17.92 28.16-38.4 46.08-28.16 30.72-35.84 38.4c-7.68 7.68-10.24 17.92-15.36 28.16-5.12 10.24-2.56 17.92-2.56 43.52h-51.2c0-25.6 2.56-38.4 5.12-51.2s7.68-23.04 15.36-33.28 15.36-23.04 33.28-40.96c17.92-17.92 30.72-30.72 35.84-38.4 5.12-7.68 10.24-20.48 10.24-38.4s-7.68-30.72-20.48-43.52-30.72-20.48-53.76-20.48c-51.2 0-76.8 35.84-76.8 87.04h-51.2z m153.6 281.6h-51.2v-51.2h51.2v51.2z",
|
|
@@ -594,11 +594,11 @@ const Ae = (o, a) => {
|
|
|
594
594
|
null,
|
|
595
595
|
-1
|
|
596
596
|
/* HOISTED */
|
|
597
|
-
),
|
|
598
|
-
Cs,
|
|
597
|
+
), Es = [
|
|
599
598
|
ws,
|
|
600
|
-
bs
|
|
601
|
-
|
|
599
|
+
bs,
|
|
600
|
+
Ts
|
|
601
|
+
], Ss = /* @__PURE__ */ ee({
|
|
602
602
|
__name: "IkFileIcon",
|
|
603
603
|
props: {
|
|
604
604
|
type: {
|
|
@@ -620,11 +620,11 @@ const Ae = (o, a) => {
|
|
|
620
620
|
},
|
|
621
621
|
setup(o) {
|
|
622
622
|
const a = o, r = Z(() => a.file ? si(a.file, a.fields) : a.type);
|
|
623
|
-
return (t, e) => r.value === "image" ? (k(), S("svg",
|
|
623
|
+
return (t, e) => r.value === "image" ? (k(), S("svg", Er, Ar)) : r.value === "zip" ? (k(), S("svg", Lr, Rr)) : r.value === "ppt" ? (k(), S("svg", Fr, Br)) : r.value === "word" ? (k(), S("svg", Hr, Vr)) : r.value === "pdf" ? (k(), S("svg", jr, Gr)) : r.value === "txt" ? (k(), S("svg", Kr, qr)) : r.value === "audio" ? (k(), S("svg", Zr, es)) : r.value === "video" ? (k(), S("svg", ts, rs)) : r.value === "excel" ? (k(), S("svg", ss, us)) : r.value === "exe" ? (k(), S("svg", cs, ps)) : r.value === "json" ? (k(), S("svg", vs, ks)) : (k(), S("svg", Cs, Es));
|
|
624
624
|
}
|
|
625
|
-
}),
|
|
625
|
+
}), xs = Ae(Ss);
|
|
626
626
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
627
|
-
var
|
|
627
|
+
var Is = /* @__PURE__ */ ee({
|
|
628
628
|
name: "ArrowLeft",
|
|
629
629
|
__name: "arrow-left",
|
|
630
630
|
setup(o) {
|
|
@@ -638,7 +638,7 @@ var xs = /* @__PURE__ */ ee({
|
|
|
638
638
|
})
|
|
639
639
|
]));
|
|
640
640
|
}
|
|
641
|
-
}),
|
|
641
|
+
}), Ps = Is, As = /* @__PURE__ */ ee({
|
|
642
642
|
name: "ArrowRight",
|
|
643
643
|
__name: "arrow-right",
|
|
644
644
|
setup(o) {
|
|
@@ -652,7 +652,7 @@ var xs = /* @__PURE__ */ ee({
|
|
|
652
652
|
})
|
|
653
653
|
]));
|
|
654
654
|
}
|
|
655
|
-
}),
|
|
655
|
+
}), Ls = As, Ds = /* @__PURE__ */ ee({
|
|
656
656
|
name: "Close",
|
|
657
657
|
__name: "close",
|
|
658
658
|
setup(o) {
|
|
@@ -666,7 +666,7 @@ var xs = /* @__PURE__ */ ee({
|
|
|
666
666
|
})
|
|
667
667
|
]));
|
|
668
668
|
}
|
|
669
|
-
}),
|
|
669
|
+
}), In = Ds, Os = /* @__PURE__ */ ee({
|
|
670
670
|
name: "FullScreen",
|
|
671
671
|
__name: "full-screen",
|
|
672
672
|
setup(o) {
|
|
@@ -680,7 +680,7 @@ var xs = /* @__PURE__ */ ee({
|
|
|
680
680
|
})
|
|
681
681
|
]));
|
|
682
682
|
}
|
|
683
|
-
}),
|
|
683
|
+
}), Rs = Os, Fs = /* @__PURE__ */ ee({
|
|
684
684
|
name: "RefreshLeft",
|
|
685
685
|
__name: "refresh-left",
|
|
686
686
|
setup(o) {
|
|
@@ -694,7 +694,7 @@ var xs = /* @__PURE__ */ ee({
|
|
|
694
694
|
})
|
|
695
695
|
]));
|
|
696
696
|
}
|
|
697
|
-
}),
|
|
697
|
+
}), Ms = Fs, Ns = /* @__PURE__ */ ee({
|
|
698
698
|
name: "RefreshRight",
|
|
699
699
|
__name: "refresh-right",
|
|
700
700
|
setup(o) {
|
|
@@ -708,7 +708,7 @@ var xs = /* @__PURE__ */ ee({
|
|
|
708
708
|
})
|
|
709
709
|
]));
|
|
710
710
|
}
|
|
711
|
-
}),
|
|
711
|
+
}), Bs = Ns, Hs = /* @__PURE__ */ ee({
|
|
712
712
|
name: "ScaleToOriginal",
|
|
713
713
|
__name: "scale-to-original",
|
|
714
714
|
setup(o) {
|
|
@@ -722,7 +722,7 @@ var xs = /* @__PURE__ */ ee({
|
|
|
722
722
|
})
|
|
723
723
|
]));
|
|
724
724
|
}
|
|
725
|
-
}),
|
|
725
|
+
}), Us = Hs, zs = /* @__PURE__ */ ee({
|
|
726
726
|
name: "ZoomIn",
|
|
727
727
|
__name: "zoom-in",
|
|
728
728
|
setup(o) {
|
|
@@ -736,7 +736,7 @@ var xs = /* @__PURE__ */ ee({
|
|
|
736
736
|
})
|
|
737
737
|
]));
|
|
738
738
|
}
|
|
739
|
-
}),
|
|
739
|
+
}), Vs = zs, js = /* @__PURE__ */ ee({
|
|
740
740
|
name: "ZoomOut",
|
|
741
741
|
__name: "zoom-out",
|
|
742
742
|
setup(o) {
|
|
@@ -750,13 +750,13 @@ var xs = /* @__PURE__ */ ee({
|
|
|
750
750
|
})
|
|
751
751
|
]));
|
|
752
752
|
}
|
|
753
|
-
}),
|
|
753
|
+
}), $s = js;
|
|
754
754
|
const vt = (o, a) => {
|
|
755
755
|
const r = o.__vccOpts || o;
|
|
756
756
|
for (const [t, e] of a)
|
|
757
757
|
r[t] = e;
|
|
758
758
|
return r;
|
|
759
|
-
},
|
|
759
|
+
}, Ws = (o) => ({
|
|
760
760
|
// ================all================
|
|
761
761
|
nodeType: {
|
|
762
762
|
发起人节点: "INITIATOR",
|
|
@@ -844,7 +844,7 @@ const vt = (o, a) => {
|
|
|
844
844
|
...o.defaultStatus
|
|
845
845
|
},
|
|
846
846
|
listData: []
|
|
847
|
-
}),
|
|
847
|
+
}), Gs = (o, a, r) => {
|
|
848
848
|
let t = "";
|
|
849
849
|
switch (a) {
|
|
850
850
|
case o.nodeType.审批节点:
|
|
@@ -866,69 +866,72 @@ const vt = (o, a) => {
|
|
|
866
866
|
t = "ikapprove-ziyuan";
|
|
867
867
|
}
|
|
868
868
|
return `ikapprove ${t}`;
|
|
869
|
-
},
|
|
870
|
-
|
|
869
|
+
}, Ni = [
|
|
870
|
+
"csv",
|
|
871
|
+
"djvu",
|
|
872
|
+
"doc",
|
|
873
|
+
"docm",
|
|
874
|
+
"docx",
|
|
875
|
+
"docxf",
|
|
876
|
+
"dot",
|
|
877
|
+
"dotm",
|
|
878
|
+
"dotx",
|
|
879
|
+
"epub",
|
|
880
|
+
"fb2",
|
|
881
|
+
"fodp",
|
|
882
|
+
"fods",
|
|
883
|
+
"fodt",
|
|
884
|
+
"htm",
|
|
885
|
+
"html",
|
|
886
|
+
"mht",
|
|
887
|
+
"odp",
|
|
888
|
+
"ods",
|
|
889
|
+
"odt",
|
|
890
|
+
"oform",
|
|
891
|
+
"otp",
|
|
892
|
+
"ots",
|
|
893
|
+
"ott",
|
|
894
|
+
"oxps",
|
|
895
|
+
"pdf",
|
|
896
|
+
"pot",
|
|
897
|
+
"potm",
|
|
898
|
+
"potx",
|
|
899
|
+
"pps",
|
|
900
|
+
"ppsm",
|
|
901
|
+
"ppsx",
|
|
902
|
+
"ppt",
|
|
903
|
+
"pptm",
|
|
904
|
+
"pptx",
|
|
905
|
+
"rtf",
|
|
906
|
+
"txt",
|
|
907
|
+
"xls",
|
|
908
|
+
"xlsb",
|
|
909
|
+
"xlsm",
|
|
910
|
+
"xlsx",
|
|
911
|
+
"xlt",
|
|
912
|
+
"xltm",
|
|
913
|
+
"xltx",
|
|
914
|
+
"xml",
|
|
915
|
+
"xps",
|
|
916
|
+
"png",
|
|
917
|
+
"jpeg",
|
|
918
|
+
"jpg",
|
|
919
|
+
"webp",
|
|
920
|
+
"video",
|
|
921
|
+
"mp4",
|
|
922
|
+
"flv",
|
|
923
|
+
"tls"
|
|
924
|
+
], di = (o) => {
|
|
925
|
+
const a = ft("loadUrl"), r = Z(() => o.loadUrl || o.fileUrl || (a == null ? void 0 : a.value)), t = ft("uploadUrl"), e = Z(() => o.action || o.uploadUrl || (t == null ? void 0 : t.value)), i = ft("token"), n = Z(() => o.token || (i == null ? void 0 : i.value)), s = ft("onlyofficeConfig"), l = Z(() => o.onlyofficeConfig || (s == null ? void 0 : s.value)), u = ft("userInfo"), c = Z(() => o.userInfo || (u == null ? void 0 : u.value)), h = [...Ni, ...Ni.map((g) => g.toLocaleUpperCase())];
|
|
871
926
|
return {
|
|
872
927
|
cLoadUrl: r,
|
|
873
928
|
cUploadUrl: e,
|
|
874
929
|
cToken: n,
|
|
875
930
|
cOnlyofficeConfig: l,
|
|
876
931
|
cUserInfo: c,
|
|
877
|
-
cOnlyofficePreviewType:
|
|
878
|
-
"csv",
|
|
879
|
-
"djvu",
|
|
880
|
-
"doc",
|
|
881
|
-
"docm",
|
|
882
|
-
"docx",
|
|
883
|
-
"docxf",
|
|
884
|
-
"dot",
|
|
885
|
-
"dotm",
|
|
886
|
-
"dotx",
|
|
887
|
-
"epub",
|
|
888
|
-
"fb2",
|
|
889
|
-
"fodp",
|
|
890
|
-
"fods",
|
|
891
|
-
"fodt",
|
|
892
|
-
"htm",
|
|
893
|
-
"html",
|
|
894
|
-
"mht",
|
|
895
|
-
"odp",
|
|
896
|
-
"ods",
|
|
897
|
-
"odt",
|
|
898
|
-
"oform",
|
|
899
|
-
"otp",
|
|
900
|
-
"ots",
|
|
901
|
-
"ott",
|
|
902
|
-
"oxps",
|
|
903
|
-
"pdf",
|
|
904
|
-
"pot",
|
|
905
|
-
"potm",
|
|
906
|
-
"potx",
|
|
907
|
-
"pps",
|
|
908
|
-
"ppsm",
|
|
909
|
-
"ppsx",
|
|
910
|
-
"ppt",
|
|
911
|
-
"pptm",
|
|
912
|
-
"pptx",
|
|
913
|
-
"rtf",
|
|
914
|
-
"txt",
|
|
915
|
-
"xls",
|
|
916
|
-
"xlsb",
|
|
917
|
-
"xlsm",
|
|
918
|
-
"xlsx",
|
|
919
|
-
"xlt",
|
|
920
|
-
"xltm",
|
|
921
|
-
"xltx",
|
|
922
|
-
"xml",
|
|
923
|
-
"xps",
|
|
924
|
-
"png",
|
|
925
|
-
"jpeg",
|
|
926
|
-
"jpg",
|
|
927
|
-
"video",
|
|
928
|
-
"mp4"
|
|
929
|
-
]
|
|
932
|
+
cOnlyofficePreviewType: h
|
|
930
933
|
};
|
|
931
|
-
},
|
|
934
|
+
}, Ks = (o, a = 2) => {
|
|
932
935
|
if (o === void 0)
|
|
933
936
|
return "";
|
|
934
937
|
if (o === 0)
|
|
@@ -936,7 +939,7 @@ const vt = (o, a) => {
|
|
|
936
939
|
const r = ["B", "KB", "MB", "GB", "TB"], t = Math.floor(Math.log(o) / Math.log(1024));
|
|
937
940
|
let e = o / Math.pow(1024, t);
|
|
938
941
|
return (e % 1 === 0 ? e.toFixed(a || 0) : e.toFixed(a)) + " " + r[t];
|
|
939
|
-
}, lt = (o, a) => a ? a.startsWith("http") ? a : `${o || location.origin}${a}` : "",
|
|
942
|
+
}, lt = (o, a) => a ? a.startsWith("http") ? a : `${o || location.origin}${a}` : "", Ys = ["onClick"], Xs = { class: "fileName simple" }, qs = ["onClick"], Zs = { class: "text" }, Js = { class: "fileName" }, Qs = { class: "size" }, ea = /* @__PURE__ */ ee({
|
|
940
943
|
__name: "IkPreviewFile",
|
|
941
944
|
props: {
|
|
942
945
|
list: {
|
|
@@ -1025,23 +1028,27 @@ const vt = (o, a) => {
|
|
|
1025
1028
|
name: d.name,
|
|
1026
1029
|
url: lt(
|
|
1027
1030
|
t.value,
|
|
1028
|
-
d.url || ((m = (v = d == null ? void 0 : d.response) == null ? void 0 : v.data) == null ? void 0 : m.id) || (d == null ? void 0 : d.id)
|
|
1031
|
+
(d == null ? void 0 : d.url) || ((m = (v = d == null ? void 0 : d.response) == null ? void 0 : v.data) == null ? void 0 : m.id) || (d == null ? void 0 : d.id)
|
|
1029
1032
|
)
|
|
1030
1033
|
}, r.isOnlyOfficePreview && (u.value = !0), n("handPreview", l.value);
|
|
1031
1034
|
}, h = (d) => {
|
|
1032
|
-
|
|
1035
|
+
yr.downloadFile(
|
|
1033
1036
|
lt(
|
|
1034
1037
|
t.value,
|
|
1035
1038
|
d[s.value.url] || d.attachmentId || d.id
|
|
1036
1039
|
),
|
|
1037
1040
|
d[s.value.name] || d.attachmentName
|
|
1038
1041
|
);
|
|
1039
|
-
}, g = Z(() => ri.isNumber(r.width) ? `${r.width}px` : r.width), p = Z(() => r.list.map((d) =>
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1042
|
+
}, g = Z(() => ri.isNumber(r.width) ? `${r.width}px` : r.width), p = Z(() => r.list.map((d) => {
|
|
1043
|
+
var m;
|
|
1044
|
+
const v = d[s.value.name] || d.attachmentName;
|
|
1045
|
+
return {
|
|
1046
|
+
...d,
|
|
1047
|
+
name: v,
|
|
1048
|
+
size: d[s.value.size] || (d == null ? void 0 : d.fileSize) || (d == null ? void 0 : d.attachmentSize),
|
|
1049
|
+
suffix: d[s.value.suffix] || (d == null ? void 0 : d.attachmentSuffix) || ((m = v.split(".")) == null ? void 0 : m.at(-1))
|
|
1050
|
+
};
|
|
1051
|
+
}));
|
|
1045
1052
|
return (d, v) => {
|
|
1046
1053
|
var C, E, w;
|
|
1047
1054
|
const m = Ke("tmplate");
|
|
@@ -1063,7 +1070,7 @@ const vt = (o, a) => {
|
|
|
1063
1070
|
}, [
|
|
1064
1071
|
b(
|
|
1065
1072
|
"div",
|
|
1066
|
-
|
|
1073
|
+
Xs,
|
|
1067
1074
|
X(D.name),
|
|
1068
1075
|
1
|
|
1069
1076
|
/* TEXT */
|
|
@@ -1093,7 +1100,7 @@ const vt = (o, a) => {
|
|
|
1093
1100
|
2
|
|
1094
1101
|
/* CLASS */
|
|
1095
1102
|
)
|
|
1096
|
-
], 12,
|
|
1103
|
+
], 12, Ys))),
|
|
1097
1104
|
256
|
|
1098
1105
|
/* UNKEYED_FRAGMENT */
|
|
1099
1106
|
)) : (k(), ve(m, { key: 1 }, {
|
|
@@ -1118,24 +1125,24 @@ const vt = (o, a) => {
|
|
|
1118
1125
|
class: "file-card",
|
|
1119
1126
|
onClick: (R) => c(D)
|
|
1120
1127
|
}, [
|
|
1121
|
-
$(x(
|
|
1128
|
+
$(x(xs), {
|
|
1122
1129
|
file: D,
|
|
1123
1130
|
style: oe({ height: `${o.iconSize}px` }),
|
|
1124
1131
|
class: "ikui-w-auto",
|
|
1125
1132
|
fields: s.value
|
|
1126
1133
|
}, null, 8, ["file", "style", "fields"]),
|
|
1127
|
-
b("div",
|
|
1134
|
+
b("div", Zs, [
|
|
1128
1135
|
b(
|
|
1129
1136
|
"div",
|
|
1130
|
-
|
|
1137
|
+
Js,
|
|
1131
1138
|
X(D.name),
|
|
1132
1139
|
1
|
|
1133
1140
|
/* TEXT */
|
|
1134
1141
|
),
|
|
1135
1142
|
b(
|
|
1136
1143
|
"div",
|
|
1137
|
-
|
|
1138
|
-
X(x(
|
|
1144
|
+
Qs,
|
|
1145
|
+
X(x(Ks)(D.size)),
|
|
1139
1146
|
1
|
|
1140
1147
|
/* TEXT */
|
|
1141
1148
|
)
|
|
@@ -1167,7 +1174,7 @@ const vt = (o, a) => {
|
|
|
1167
1174
|
2
|
|
1168
1175
|
/* CLASS */
|
|
1169
1176
|
)
|
|
1170
|
-
], 8,
|
|
1177
|
+
], 8, qs)
|
|
1171
1178
|
],
|
|
1172
1179
|
6
|
|
1173
1180
|
/* CLASS, STYLE */
|
|
@@ -1184,7 +1191,7 @@ const vt = (o, a) => {
|
|
|
1184
1191
|
64
|
|
1185
1192
|
/* STABLE_FRAGMENT */
|
|
1186
1193
|
)) : L("v-if", !0),
|
|
1187
|
-
$(x(
|
|
1194
|
+
$(x(na), {
|
|
1188
1195
|
show: u.value,
|
|
1189
1196
|
"onUpdate:show": v[0] || (v[0] = (D) => u.value = D),
|
|
1190
1197
|
loadUrl: x(t),
|
|
@@ -1200,7 +1207,7 @@ const vt = (o, a) => {
|
|
|
1200
1207
|
};
|
|
1201
1208
|
}
|
|
1202
1209
|
});
|
|
1203
|
-
const
|
|
1210
|
+
const ta = Ae(ea), ia = /* @__PURE__ */ ee({
|
|
1204
1211
|
__name: "IkPreviewFileDialog",
|
|
1205
1212
|
props: /* @__PURE__ */ Tt({
|
|
1206
1213
|
file: {
|
|
@@ -1243,7 +1250,7 @@ const ea = Ae(Qs), ta = /* @__PURE__ */ ee({
|
|
|
1243
1250
|
suffix: "suffix",
|
|
1244
1251
|
size: "fileSize",
|
|
1245
1252
|
...a.field
|
|
1246
|
-
})), e = pe(null), i = pe(null), n =
|
|
1253
|
+
})), e = pe(null), i = pe(null), n = Cn({
|
|
1247
1254
|
image: !1,
|
|
1248
1255
|
office: !1,
|
|
1249
1256
|
video: !1
|
|
@@ -1274,13 +1281,13 @@ const ea = Ae(Qs), ta = /* @__PURE__ */ ee({
|
|
|
1274
1281
|
}
|
|
1275
1282
|
},
|
|
1276
1283
|
document: {
|
|
1277
|
-
key:
|
|
1284
|
+
key: Sn(),
|
|
1278
1285
|
title: D,
|
|
1279
1286
|
url: lt(a.loadUrl, E),
|
|
1280
1287
|
fileType: w,
|
|
1281
1288
|
...((m = a.onlyOfficeConfig) == null ? void 0 : m.document) || {}
|
|
1282
1289
|
},
|
|
1283
|
-
documentType:
|
|
1290
|
+
documentType: Tr(w)
|
|
1284
1291
|
};
|
|
1285
1292
|
return;
|
|
1286
1293
|
}
|
|
@@ -1302,7 +1309,7 @@ const ea = Ae(Qs), ta = /* @__PURE__ */ ee({
|
|
|
1302
1309
|
ce,
|
|
1303
1310
|
{ key: 0 },
|
|
1304
1311
|
[
|
|
1305
|
-
(h = i.value) != null && h.url && n.image ? (k(), ve(x(
|
|
1312
|
+
(h = i.value) != null && h.url && n.image ? (k(), ve(x(Va), {
|
|
1306
1313
|
key: 0,
|
|
1307
1314
|
onClose: c[0] || (c[0] = (d) => l()),
|
|
1308
1315
|
ref: "previewImgRef",
|
|
@@ -1312,12 +1319,12 @@ const ea = Ae(Qs), ta = /* @__PURE__ */ ee({
|
|
|
1312
1319
|
}, null, 8, ["url-list"])) : L("v-if", !0),
|
|
1313
1320
|
L(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
1314
1321
|
L(" 文档类 "),
|
|
1315
|
-
$(x(
|
|
1322
|
+
$(x(su), {
|
|
1316
1323
|
modelValue: n.video,
|
|
1317
1324
|
"onUpdate:modelValue": c[1] || (c[1] = (d) => n.video = d),
|
|
1318
1325
|
url: (p = i.value) == null ? void 0 : p.url
|
|
1319
1326
|
}, null, 8, ["modelValue", "url"]),
|
|
1320
|
-
$(x(
|
|
1327
|
+
$(x(ma), {
|
|
1321
1328
|
modelValue: n.office,
|
|
1322
1329
|
"onUpdate:modelValue": c[2] || (c[2] = (d) => n.office = d),
|
|
1323
1330
|
draggable: "",
|
|
@@ -1335,7 +1342,7 @@ const ea = Ae(Qs), ta = /* @__PURE__ */ ee({
|
|
|
1335
1342
|
default: ne(() => {
|
|
1336
1343
|
var d;
|
|
1337
1344
|
return [
|
|
1338
|
-
$(x(
|
|
1345
|
+
$(x(Sa), {
|
|
1339
1346
|
"config-options": e.value,
|
|
1340
1347
|
"document-server-url": ((d = o.onlyOfficeConfig) == null ? void 0 : d.serverUrl) || o.onlyofficeServer
|
|
1341
1348
|
}, null, 8, ["config-options", "document-server-url"])
|
|
@@ -1351,18 +1358,18 @@ const ea = Ae(Qs), ta = /* @__PURE__ */ ee({
|
|
|
1351
1358
|
};
|
|
1352
1359
|
}
|
|
1353
1360
|
});
|
|
1354
|
-
const
|
|
1361
|
+
const na = Ae(ia), ra = {
|
|
1355
1362
|
key: 0,
|
|
1356
1363
|
class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
|
|
1357
|
-
},
|
|
1364
|
+
}, sa = {
|
|
1358
1365
|
key: 1,
|
|
1359
1366
|
class: "h-[1em] w-[1em]",
|
|
1360
1367
|
"aria-hidden": "true"
|
|
1361
|
-
},
|
|
1368
|
+
}, aa = ["xlink:href"], oa = ["src"], la = {
|
|
1362
1369
|
key: 1,
|
|
1363
1370
|
class: "h-[1em] w-[1em]",
|
|
1364
1371
|
"aria-hidden": "true"
|
|
1365
|
-
},
|
|
1372
|
+
}, ua = ["xlink:href"], ca = ["src"], fa = /* @__PURE__ */ ee({
|
|
1366
1373
|
name: "IkSvgIcon",
|
|
1367
1374
|
__name: "index",
|
|
1368
1375
|
props: {
|
|
@@ -1415,14 +1422,14 @@ const ia = Ae(ta), na = {
|
|
|
1415
1422
|
padding: r.value.showBg || r.value.bg ? r.value.padding : 0,
|
|
1416
1423
|
...r.value.color && t.value !== "iksig" ? {
|
|
1417
1424
|
"--ik-color-icon-dark": r.value.color,
|
|
1418
|
-
"--ik-color-icon-light": r.value.colorLight ||
|
|
1425
|
+
"--ik-color-icon-light": r.value.colorLight || _r.setOpacity(r.value.color, r.value.opacity)
|
|
1419
1426
|
} : {}
|
|
1420
1427
|
};
|
|
1421
1428
|
return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
|
|
1422
1429
|
});
|
|
1423
1430
|
return (i, n) => {
|
|
1424
1431
|
const s = Ke("el-tooltip"), l = Ke("el-button");
|
|
1425
|
-
return r.value.tableIconType === "icon" || !r.value.tableIconType ? (k(), S("span",
|
|
1432
|
+
return r.value.tableIconType === "icon" || !r.value.tableIconType ? (k(), S("span", ra, [
|
|
1426
1433
|
r.value.notip || !r.value.title ? (k(), S(
|
|
1427
1434
|
"i",
|
|
1428
1435
|
{
|
|
@@ -1454,15 +1461,15 @@ const ia = Ae(ta), na = {
|
|
|
1454
1461
|
null,
|
|
1455
1462
|
6
|
|
1456
1463
|
/* CLASS, STYLE */
|
|
1457
|
-
)) : t.value === "svg" ? (k(), S("svg",
|
|
1464
|
+
)) : t.value === "svg" ? (k(), S("svg", sa, [
|
|
1458
1465
|
b("use", {
|
|
1459
1466
|
"xlink:href": `#${r.value.name}`
|
|
1460
|
-
}, null, 8,
|
|
1467
|
+
}, null, 8, aa)
|
|
1461
1468
|
])) : t.value === "img" ? (k(), S("img", {
|
|
1462
1469
|
key: 2,
|
|
1463
1470
|
src: r.value.name,
|
|
1464
1471
|
class: "h-[1em] w-[1em]"
|
|
1465
|
-
}, null, 8,
|
|
1472
|
+
}, null, 8, oa)) : (k(), S(
|
|
1466
1473
|
"i",
|
|
1467
1474
|
{
|
|
1468
1475
|
key: 3,
|
|
@@ -1510,15 +1517,15 @@ const ia = Ae(ta), na = {
|
|
|
1510
1517
|
null,
|
|
1511
1518
|
6
|
|
1512
1519
|
/* CLASS, STYLE */
|
|
1513
|
-
)) : t.value === "svg" ? (k(), S("svg",
|
|
1520
|
+
)) : t.value === "svg" ? (k(), S("svg", la, [
|
|
1514
1521
|
b("use", {
|
|
1515
1522
|
"xlink:href": `#${r.value.name}`
|
|
1516
|
-
}, null, 8,
|
|
1523
|
+
}, null, 8, ua)
|
|
1517
1524
|
])) : t.value === "img" ? (k(), S("img", {
|
|
1518
1525
|
key: 2,
|
|
1519
1526
|
src: r.value.name,
|
|
1520
1527
|
class: "h-[1em] w-[1em]"
|
|
1521
|
-
}, null, 8,
|
|
1528
|
+
}, null, 8, ca)) : (k(), S(
|
|
1522
1529
|
"i",
|
|
1523
1530
|
{
|
|
1524
1531
|
key: 3,
|
|
@@ -1554,7 +1561,7 @@ const ia = Ae(ta), na = {
|
|
|
1554
1561
|
};
|
|
1555
1562
|
}
|
|
1556
1563
|
});
|
|
1557
|
-
const
|
|
1564
|
+
const ha = /* @__PURE__ */ vt(fa, [["__scopeId", "data-v-52806adf"]]), st = Ae(ha), da = /* @__PURE__ */ ee({
|
|
1558
1565
|
__name: "CloseIcon",
|
|
1559
1566
|
props: {
|
|
1560
1567
|
showBg: {
|
|
@@ -1585,7 +1592,7 @@ const fa = /* @__PURE__ */ vt(ca, [["__scopeId", "data-v-52806adf"]]), st = Ae(f
|
|
|
1585
1592
|
));
|
|
1586
1593
|
}
|
|
1587
1594
|
});
|
|
1588
|
-
const
|
|
1595
|
+
const ga = /* @__PURE__ */ vt(da, [["__scopeId", "data-v-da39e979"]]), pa = { class: "base-header" }, va = /* @__PURE__ */ ee({
|
|
1589
1596
|
__name: "IkBaseDialog",
|
|
1590
1597
|
props: /* @__PURE__ */ Tt({
|
|
1591
1598
|
title: { default: "" },
|
|
@@ -1610,7 +1617,7 @@ const da = /* @__PURE__ */ vt(ha, [["__scopeId", "data-v-da39e979"]]), ga = { cl
|
|
|
1610
1617
|
t.value = !t.value;
|
|
1611
1618
|
}, i = ee({
|
|
1612
1619
|
setup() {
|
|
1613
|
-
return () =>
|
|
1620
|
+
return () => or(ga, {
|
|
1614
1621
|
showBg: a.showCloseBg,
|
|
1615
1622
|
fullscreen: a.fullscreen
|
|
1616
1623
|
});
|
|
@@ -1618,7 +1625,7 @@ const da = /* @__PURE__ */ vt(ha, [["__scopeId", "data-v-da39e979"]]), ga = { cl
|
|
|
1618
1625
|
});
|
|
1619
1626
|
return (n, s) => {
|
|
1620
1627
|
const l = Ke("el-dialog");
|
|
1621
|
-
return k(), ve(l,
|
|
1628
|
+
return k(), ve(l, wn({
|
|
1622
1629
|
modelValue: r.value,
|
|
1623
1630
|
"onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u),
|
|
1624
1631
|
"align-center": ""
|
|
@@ -1627,7 +1634,7 @@ const da = /* @__PURE__ */ vt(ha, [["__scopeId", "data-v-da39e979"]]), ga = { cl
|
|
|
1627
1634
|
class: `ik-base-dialog ${n.noHeader ? "no-header" : ""} ${n.noFooter ? "no-footer" : ""}`,
|
|
1628
1635
|
fullscreen: t.value,
|
|
1629
1636
|
"modal-class": "baseDialog"
|
|
1630
|
-
}),
|
|
1637
|
+
}), lr({
|
|
1631
1638
|
icon: ne(() => [
|
|
1632
1639
|
Ne(n.$slots, "title", {}, () => [
|
|
1633
1640
|
We(
|
|
@@ -1638,7 +1645,7 @@ const da = /* @__PURE__ */ vt(ha, [["__scopeId", "data-v-da39e979"]]), ga = { cl
|
|
|
1638
1645
|
])
|
|
1639
1646
|
]),
|
|
1640
1647
|
header: ne(() => [
|
|
1641
|
-
b("div",
|
|
1648
|
+
b("div", pa, [
|
|
1642
1649
|
Ne(n.$slots, "header", {}, () => [
|
|
1643
1650
|
We(
|
|
1644
1651
|
X(n.title),
|
|
@@ -1672,12 +1679,12 @@ const da = /* @__PURE__ */ vt(ha, [["__scopeId", "data-v-da39e979"]]), ga = { cl
|
|
|
1672
1679
|
};
|
|
1673
1680
|
}
|
|
1674
1681
|
});
|
|
1675
|
-
const
|
|
1676
|
-
var
|
|
1682
|
+
const ma = Ae(va);
|
|
1683
|
+
var ya = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1677
1684
|
function gi(o) {
|
|
1678
1685
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
1679
1686
|
}
|
|
1680
|
-
function
|
|
1687
|
+
function _a(o, a, r, t) {
|
|
1681
1688
|
function e(i) {
|
|
1682
1689
|
return i instanceof r ? i : new r(function(n) {
|
|
1683
1690
|
n(i);
|
|
@@ -1704,7 +1711,7 @@ function ya(o, a, r, t) {
|
|
|
1704
1711
|
u((t = t.apply(o, a || [])).next());
|
|
1705
1712
|
});
|
|
1706
1713
|
}
|
|
1707
|
-
function
|
|
1714
|
+
function ka(o, a) {
|
|
1708
1715
|
var r = { label: 0, sent: function() {
|
|
1709
1716
|
if (i[0] & 1)
|
|
1710
1717
|
throw i[1];
|
|
@@ -1769,9 +1776,9 @@ function _a(o, a) {
|
|
|
1769
1776
|
return { value: u[0] ? u[1] : void 0, done: !0 };
|
|
1770
1777
|
}
|
|
1771
1778
|
}
|
|
1772
|
-
var
|
|
1773
|
-
return
|
|
1774
|
-
return
|
|
1779
|
+
var Ca = function(o, a) {
|
|
1780
|
+
return _a(void 0, void 0, void 0, function() {
|
|
1781
|
+
return ka(this, function(r) {
|
|
1775
1782
|
return [2, new Promise(function(t, e) {
|
|
1776
1783
|
try {
|
|
1777
1784
|
if (window.DocsAPI)
|
|
@@ -1783,12 +1790,12 @@ var ka = function(o, a) {
|
|
|
1783
1790
|
if (!l) {
|
|
1784
1791
|
if (clearInterval(n), window.DocsAPI)
|
|
1785
1792
|
return t(null);
|
|
1786
|
-
var u =
|
|
1793
|
+
var u = Bi(a, o, t, e);
|
|
1787
1794
|
i.remove(), document.body.appendChild(u);
|
|
1788
1795
|
}
|
|
1789
1796
|
}, 500);
|
|
1790
1797
|
else {
|
|
1791
|
-
var s =
|
|
1798
|
+
var s = Bi(a, o, t, e);
|
|
1792
1799
|
document.body.appendChild(s);
|
|
1793
1800
|
}
|
|
1794
1801
|
} catch (l) {
|
|
@@ -1797,7 +1804,7 @@ var ka = function(o, a) {
|
|
|
1797
1804
|
})];
|
|
1798
1805
|
});
|
|
1799
1806
|
});
|
|
1800
|
-
},
|
|
1807
|
+
}, Bi = function(o, a, r, t) {
|
|
1801
1808
|
var e = document.createElement("script");
|
|
1802
1809
|
return e.id = o, e.type = "text/javascript", e.src = a, e.async = !0, e.onload = function() {
|
|
1803
1810
|
e.removeAttribute("loading"), r(null);
|
|
@@ -1859,7 +1866,7 @@ var ka = function(o, a) {
|
|
|
1859
1866
|
var o = this, a = this.documentServerUrl;
|
|
1860
1867
|
a.endsWith("/") || (a += "/");
|
|
1861
1868
|
var r = "".concat(a, "web-apps/apps/api/documents/api.js");
|
|
1862
|
-
|
|
1869
|
+
Ca(r, "onlyoffice-api-script").then(function() {
|
|
1863
1870
|
return o.onLoad();
|
|
1864
1871
|
}).catch(function() {
|
|
1865
1872
|
o.onError(-2);
|
|
@@ -1973,13 +1980,13 @@ var ka = function(o, a) {
|
|
|
1973
1980
|
}
|
|
1974
1981
|
}
|
|
1975
1982
|
});
|
|
1976
|
-
const
|
|
1977
|
-
function
|
|
1978
|
-
return k(), S("div", { id: o.id }, null, 8,
|
|
1983
|
+
const wa = ["id"];
|
|
1984
|
+
function ba(o, a, r, t, e, i) {
|
|
1985
|
+
return k(), S("div", { id: o.id }, null, 8, wa);
|
|
1979
1986
|
}
|
|
1980
|
-
pi.render =
|
|
1987
|
+
pi.render = ba;
|
|
1981
1988
|
pi.__file = "src/components/DocumentEditor.vue";
|
|
1982
|
-
const
|
|
1989
|
+
const Ta = /* @__PURE__ */ ee({
|
|
1983
1990
|
__name: "IkOnlyOffice",
|
|
1984
1991
|
props: {
|
|
1985
1992
|
// 文件服务器的服务的地址
|
|
@@ -2027,55 +2034,55 @@ const ba = /* @__PURE__ */ ee({
|
|
|
2027
2034
|
));
|
|
2028
2035
|
}
|
|
2029
2036
|
});
|
|
2030
|
-
const
|
|
2031
|
-
var
|
|
2032
|
-
const
|
|
2037
|
+
const Ea = /* @__PURE__ */ vt(Ta, [["__scopeId", "data-v-98d51ef9"]]), Sa = Ae(Ea);
|
|
2038
|
+
var Hi;
|
|
2039
|
+
const Pn = typeof window < "u", xa = (o) => typeof o == "string", Ia = () => {
|
|
2033
2040
|
};
|
|
2034
|
-
|
|
2035
|
-
function
|
|
2041
|
+
Pn && ((Hi = window == null ? void 0 : window.navigator) != null && Hi.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
2042
|
+
function An(o) {
|
|
2036
2043
|
return typeof o == "function" ? o() : x(o);
|
|
2037
2044
|
}
|
|
2038
|
-
function Ia(o) {
|
|
2039
|
-
return o;
|
|
2040
|
-
}
|
|
2041
2045
|
function Pa(o) {
|
|
2042
|
-
return
|
|
2046
|
+
return o;
|
|
2043
2047
|
}
|
|
2044
2048
|
function Aa(o) {
|
|
2049
|
+
return ur() ? (cr(o), !0) : !1;
|
|
2050
|
+
}
|
|
2051
|
+
function La(o) {
|
|
2045
2052
|
var a;
|
|
2046
|
-
const r =
|
|
2053
|
+
const r = An(o);
|
|
2047
2054
|
return (a = r == null ? void 0 : r.$el) != null ? a : r;
|
|
2048
2055
|
}
|
|
2049
|
-
const
|
|
2056
|
+
const Da = Pn ? window : void 0;
|
|
2050
2057
|
function _t(...o) {
|
|
2051
2058
|
let a, r, t, e;
|
|
2052
|
-
if (
|
|
2053
|
-
return
|
|
2059
|
+
if (xa(o[0]) || Array.isArray(o[0]) ? ([r, t, e] = o, a = Da) : [a, r, t, e] = o, !a)
|
|
2060
|
+
return Ia;
|
|
2054
2061
|
Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
|
|
2055
2062
|
const i = [], n = () => {
|
|
2056
2063
|
i.forEach((c) => c()), i.length = 0;
|
|
2057
|
-
}, s = (c, h, g, p) => (c.addEventListener(h, g, p), () => c.removeEventListener(h, g, p)), l = ot(() => [
|
|
2064
|
+
}, s = (c, h, g, p) => (c.addEventListener(h, g, p), () => c.removeEventListener(h, g, p)), l = ot(() => [La(a), An(e)], ([c, h]) => {
|
|
2058
2065
|
n(), c && i.push(...r.flatMap((g) => t.map((p) => s(c, g, p, h))));
|
|
2059
2066
|
}, { immediate: !0, flush: "post" }), u = () => {
|
|
2060
2067
|
l(), n();
|
|
2061
2068
|
};
|
|
2062
|
-
return
|
|
2069
|
+
return Aa(u), u;
|
|
2063
2070
|
}
|
|
2064
|
-
const
|
|
2065
|
-
|
|
2066
|
-
var
|
|
2071
|
+
const Ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, zi = "__vueuse_ssr_handlers__";
|
|
2072
|
+
Ui[zi] = Ui[zi] || {};
|
|
2073
|
+
var Vi;
|
|
2067
2074
|
(function(o) {
|
|
2068
2075
|
o.UP = "UP", o.RIGHT = "RIGHT", o.DOWN = "DOWN", o.LEFT = "LEFT", o.NONE = "NONE";
|
|
2069
|
-
})(
|
|
2070
|
-
var
|
|
2076
|
+
})(Vi || (Vi = {}));
|
|
2077
|
+
var Oa = Object.defineProperty, ji = Object.getOwnPropertySymbols, Ra = Object.prototype.hasOwnProperty, Fa = Object.prototype.propertyIsEnumerable, $i = (o, a, r) => a in o ? Oa(o, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[a] = r, Ma = (o, a) => {
|
|
2071
2078
|
for (var r in a || (a = {}))
|
|
2072
|
-
|
|
2073
|
-
if (
|
|
2074
|
-
for (var r of
|
|
2075
|
-
|
|
2079
|
+
Ra.call(a, r) && $i(o, r, a[r]);
|
|
2080
|
+
if (ji)
|
|
2081
|
+
for (var r of ji(a))
|
|
2082
|
+
Fa.call(a, r) && $i(o, r, a[r]);
|
|
2076
2083
|
return o;
|
|
2077
2084
|
};
|
|
2078
|
-
const
|
|
2085
|
+
const Na = {
|
|
2079
2086
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
2080
2087
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
2081
2088
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -2101,10 +2108,10 @@ const Ma = {
|
|
|
2101
2108
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
2102
2109
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
2103
2110
|
};
|
|
2104
|
-
|
|
2105
|
-
linear:
|
|
2106
|
-
},
|
|
2107
|
-
const
|
|
2111
|
+
Ma({
|
|
2112
|
+
linear: Pa
|
|
2113
|
+
}, Na);
|
|
2114
|
+
const Ba = {
|
|
2108
2115
|
/**
|
|
2109
2116
|
* @description preview link list.
|
|
2110
2117
|
*/
|
|
@@ -2174,26 +2181,26 @@ const Na = {
|
|
|
2174
2181
|
crossorigin: {
|
|
2175
2182
|
type: ["anonymous", "use-credentials", ""]
|
|
2176
2183
|
}
|
|
2177
|
-
},
|
|
2184
|
+
}, Ha = {
|
|
2178
2185
|
close: () => !0,
|
|
2179
2186
|
switch: (o) => ri.isNumber(o),
|
|
2180
2187
|
rotate: (o) => ri.isNumber(o)
|
|
2181
|
-
},
|
|
2188
|
+
}, Ua = ["src", "crossorigin"], za = /* @__PURE__ */ ee({
|
|
2182
2189
|
name: "ElImageViewer",
|
|
2183
2190
|
__name: "IkImageViewer",
|
|
2184
|
-
props:
|
|
2185
|
-
emits:
|
|
2191
|
+
props: Ba,
|
|
2192
|
+
emits: Ha,
|
|
2186
2193
|
setup(o, { expose: a, emit: r }) {
|
|
2187
2194
|
const t = (H) => Object.keys(H), e = {
|
|
2188
2195
|
CONTAIN: {
|
|
2189
2196
|
name: "contain",
|
|
2190
|
-
icon: Fi(
|
|
2197
|
+
icon: Fi(Rs)
|
|
2191
2198
|
},
|
|
2192
2199
|
ORIGINAL: {
|
|
2193
2200
|
name: "original",
|
|
2194
|
-
icon: Fi(
|
|
2201
|
+
icon: Fi(Us)
|
|
2195
2202
|
}
|
|
2196
|
-
}, i = o, n = r, { t: s } =
|
|
2203
|
+
}, i = o, n = r, { t: s } = Cr(), l = xn("image-viewer"), { nextZIndex: u } = wr(), c = pe(), h = pe([]), g = fr(), p = pe(!0), d = pe(i.initialIndex), v = hr(e.CONTAIN), m = pe({
|
|
2197
2204
|
scale: 1,
|
|
2198
2205
|
deg: 0,
|
|
2199
2206
|
offsetX: 0,
|
|
@@ -2342,7 +2349,7 @@ const Na = {
|
|
|
2342
2349
|
});
|
|
2343
2350
|
}), ot(d, (H) => {
|
|
2344
2351
|
Pi(), n("switch", H);
|
|
2345
|
-
}),
|
|
2352
|
+
}), bn(() => {
|
|
2346
2353
|
var H, G;
|
|
2347
2354
|
I(), (G = (H = c.value) == null ? void 0 : H.focus) == null || G.call(H);
|
|
2348
2355
|
}), a({
|
|
@@ -2350,8 +2357,8 @@ const Na = {
|
|
|
2350
2357
|
* @description manually switch image
|
|
2351
2358
|
*/
|
|
2352
2359
|
setActiveItem: Ut
|
|
2353
|
-
}), (H, G) => (k(), ve(
|
|
2354
|
-
$(
|
|
2360
|
+
}), (H, G) => (k(), ve(Tn, { to: "body" }, [
|
|
2361
|
+
$(En, {
|
|
2355
2362
|
name: "viewer-fade",
|
|
2356
2363
|
appear: ""
|
|
2357
2364
|
}, {
|
|
@@ -2386,7 +2393,7 @@ const Na = {
|
|
|
2386
2393
|
[
|
|
2387
2394
|
$(x(De), null, {
|
|
2388
2395
|
default: ne(() => [
|
|
2389
|
-
$(x(
|
|
2396
|
+
$(x(In))
|
|
2390
2397
|
]),
|
|
2391
2398
|
_: 1
|
|
2392
2399
|
/* STABLE */
|
|
@@ -2409,7 +2416,7 @@ const Na = {
|
|
|
2409
2416
|
[
|
|
2410
2417
|
$(x(De), null, {
|
|
2411
2418
|
default: ne(() => [
|
|
2412
|
-
$(x(
|
|
2419
|
+
$(x(Ps))
|
|
2413
2420
|
]),
|
|
2414
2421
|
_: 1
|
|
2415
2422
|
/* STABLE */
|
|
@@ -2427,7 +2434,7 @@ const Na = {
|
|
|
2427
2434
|
[
|
|
2428
2435
|
$(x(De), null, {
|
|
2429
2436
|
default: ne(() => [
|
|
2430
|
-
$(x(
|
|
2437
|
+
$(x(Ls))
|
|
2431
2438
|
]),
|
|
2432
2439
|
_: 1
|
|
2433
2440
|
/* STABLE */
|
|
@@ -2457,7 +2464,7 @@ const Na = {
|
|
|
2457
2464
|
onClick: G[1] || (G[1] = (J) => Ve("zoomOut"))
|
|
2458
2465
|
}, {
|
|
2459
2466
|
default: ne(() => [
|
|
2460
|
-
$(x(
|
|
2467
|
+
$(x($s))
|
|
2461
2468
|
]),
|
|
2462
2469
|
_: 1
|
|
2463
2470
|
/* STABLE */
|
|
@@ -2466,7 +2473,7 @@ const Na = {
|
|
|
2466
2473
|
onClick: G[2] || (G[2] = (J) => Ve("zoomIn"))
|
|
2467
2474
|
}, {
|
|
2468
2475
|
default: ne(() => [
|
|
2469
|
-
$(x(
|
|
2476
|
+
$(x(Vs))
|
|
2470
2477
|
]),
|
|
2471
2478
|
_: 1
|
|
2472
2479
|
/* STABLE */
|
|
@@ -2482,7 +2489,7 @@ const Na = {
|
|
|
2482
2489
|
),
|
|
2483
2490
|
$(x(De), { onClick: Ai }, {
|
|
2484
2491
|
default: ne(() => [
|
|
2485
|
-
(k(), ve(
|
|
2492
|
+
(k(), ve(dr(v.value.icon)))
|
|
2486
2493
|
]),
|
|
2487
2494
|
_: 1
|
|
2488
2495
|
/* STABLE */
|
|
@@ -2500,7 +2507,7 @@ const Na = {
|
|
|
2500
2507
|
onClick: G[3] || (G[3] = (J) => Ve("anticlockwise"))
|
|
2501
2508
|
}, {
|
|
2502
2509
|
default: ne(() => [
|
|
2503
|
-
$(x(
|
|
2510
|
+
$(x(Ms))
|
|
2504
2511
|
]),
|
|
2505
2512
|
_: 1
|
|
2506
2513
|
/* STABLE */
|
|
@@ -2509,7 +2516,7 @@ const Na = {
|
|
|
2509
2516
|
onClick: G[4] || (G[4] = (J) => Ve("clockwise"))
|
|
2510
2517
|
}, {
|
|
2511
2518
|
default: ne(() => [
|
|
2512
|
-
$(x(
|
|
2519
|
+
$(x(Bs))
|
|
2513
2520
|
]),
|
|
2514
2521
|
_: 1
|
|
2515
2522
|
/* STABLE */
|
|
@@ -2532,7 +2539,7 @@ const Na = {
|
|
|
2532
2539
|
(k(!0), S(
|
|
2533
2540
|
ce,
|
|
2534
2541
|
null,
|
|
2535
|
-
Me(H.urlList, (J, me) =>
|
|
2542
|
+
Me(H.urlList, (J, me) => gr((k(), S("img", {
|
|
2536
2543
|
ref_for: !0,
|
|
2537
2544
|
ref: (ke) => h.value[me] = ke,
|
|
2538
2545
|
key: J,
|
|
@@ -2543,8 +2550,8 @@ const Na = {
|
|
|
2543
2550
|
onLoad: se,
|
|
2544
2551
|
onError: fe,
|
|
2545
2552
|
onMousedown: Te
|
|
2546
|
-
}, null, 46,
|
|
2547
|
-
[
|
|
2553
|
+
}, null, 46, Ua)), [
|
|
2554
|
+
[pr, me === d.value]
|
|
2548
2555
|
])),
|
|
2549
2556
|
128
|
|
2550
2557
|
/* KEYED_FRAGMENT */
|
|
@@ -2564,8 +2571,8 @@ const Na = {
|
|
|
2564
2571
|
})
|
|
2565
2572
|
]));
|
|
2566
2573
|
}
|
|
2567
|
-
}),
|
|
2568
|
-
function
|
|
2574
|
+
}), Va = Ae(za);
|
|
2575
|
+
function Wi(o, a) {
|
|
2569
2576
|
var r = Object.keys(o);
|
|
2570
2577
|
if (Object.getOwnPropertySymbols) {
|
|
2571
2578
|
var t = Object.getOwnPropertySymbols(o);
|
|
@@ -2578,9 +2585,9 @@ function $i(o, a) {
|
|
|
2578
2585
|
function Q(o) {
|
|
2579
2586
|
for (var a = 1; a < arguments.length; a++) {
|
|
2580
2587
|
var r = arguments[a] != null ? arguments[a] : {};
|
|
2581
|
-
a % 2 ?
|
|
2588
|
+
a % 2 ? Wi(Object(r), !0).forEach(function(t) {
|
|
2582
2589
|
_(o, t, r[t]);
|
|
2583
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(r)) :
|
|
2590
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(r)) : Wi(Object(r)).forEach(function(t) {
|
|
2584
2591
|
Object.defineProperty(o, t, Object.getOwnPropertyDescriptor(r, t));
|
|
2585
2592
|
});
|
|
2586
2593
|
}
|
|
@@ -2598,19 +2605,19 @@ function P(o, a) {
|
|
|
2598
2605
|
if (!(o instanceof a))
|
|
2599
2606
|
throw new TypeError("Cannot call a class as a function");
|
|
2600
2607
|
}
|
|
2601
|
-
function
|
|
2608
|
+
function Gi(o, a) {
|
|
2602
2609
|
for (var r = 0; r < a.length; r++) {
|
|
2603
2610
|
var t = a[r];
|
|
2604
|
-
t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(o,
|
|
2611
|
+
t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(o, Ln(t.key), t);
|
|
2605
2612
|
}
|
|
2606
2613
|
}
|
|
2607
2614
|
function A(o, a, r) {
|
|
2608
|
-
return a &&
|
|
2615
|
+
return a && Gi(o.prototype, a), r && Gi(o, r), Object.defineProperty(o, "prototype", {
|
|
2609
2616
|
writable: !1
|
|
2610
2617
|
}), o;
|
|
2611
2618
|
}
|
|
2612
2619
|
function _(o, a, r) {
|
|
2613
|
-
return a =
|
|
2620
|
+
return a = Ln(a), a in o ? Object.defineProperty(o, a, {
|
|
2614
2621
|
value: r,
|
|
2615
2622
|
enumerable: !0,
|
|
2616
2623
|
configurable: !0,
|
|
@@ -2640,7 +2647,7 @@ function ai(o, a) {
|
|
|
2640
2647
|
return t.__proto__ = e, t;
|
|
2641
2648
|
}, ai(o, a);
|
|
2642
2649
|
}
|
|
2643
|
-
function
|
|
2650
|
+
function ja() {
|
|
2644
2651
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
2645
2652
|
return !1;
|
|
2646
2653
|
if (typeof Proxy == "function")
|
|
@@ -2665,7 +2672,7 @@ function vi(o, a) {
|
|
|
2665
2672
|
return y(o);
|
|
2666
2673
|
}
|
|
2667
2674
|
function M(o) {
|
|
2668
|
-
var a =
|
|
2675
|
+
var a = ja();
|
|
2669
2676
|
return function() {
|
|
2670
2677
|
var t = N(o), e;
|
|
2671
2678
|
if (a) {
|
|
@@ -2676,14 +2683,14 @@ function M(o) {
|
|
|
2676
2683
|
return vi(this, e);
|
|
2677
2684
|
};
|
|
2678
2685
|
}
|
|
2679
|
-
function
|
|
2686
|
+
function $a(o, a) {
|
|
2680
2687
|
for (; !Object.prototype.hasOwnProperty.call(o, a) && (o = N(o), o !== null); )
|
|
2681
2688
|
;
|
|
2682
2689
|
return o;
|
|
2683
2690
|
}
|
|
2684
2691
|
function B() {
|
|
2685
2692
|
return typeof Reflect < "u" && Reflect.get ? B = Reflect.get.bind() : B = function(a, r, t) {
|
|
2686
|
-
var e =
|
|
2693
|
+
var e = $a(a, r);
|
|
2687
2694
|
if (e) {
|
|
2688
2695
|
var i = Object.getOwnPropertyDescriptor(e, r);
|
|
2689
2696
|
return i.get ? i.get.call(arguments.length < 3 ? a : t) : i.value;
|
|
@@ -2691,17 +2698,17 @@ function B() {
|
|
|
2691
2698
|
}, B.apply(this, arguments);
|
|
2692
2699
|
}
|
|
2693
2700
|
function ye(o) {
|
|
2694
|
-
return
|
|
2701
|
+
return Wa(o) || Ga(o) || Ka(o) || Ya();
|
|
2695
2702
|
}
|
|
2696
|
-
function
|
|
2703
|
+
function Wa(o) {
|
|
2697
2704
|
if (Array.isArray(o))
|
|
2698
2705
|
return oi(o);
|
|
2699
2706
|
}
|
|
2700
|
-
function
|
|
2707
|
+
function Ga(o) {
|
|
2701
2708
|
if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null)
|
|
2702
2709
|
return Array.from(o);
|
|
2703
2710
|
}
|
|
2704
|
-
function
|
|
2711
|
+
function Ka(o, a) {
|
|
2705
2712
|
if (o) {
|
|
2706
2713
|
if (typeof o == "string")
|
|
2707
2714
|
return oi(o, a);
|
|
@@ -2718,11 +2725,11 @@ function oi(o, a) {
|
|
|
2718
2725
|
t[r] = o[r];
|
|
2719
2726
|
return t;
|
|
2720
2727
|
}
|
|
2721
|
-
function
|
|
2728
|
+
function Ya() {
|
|
2722
2729
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2723
2730
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2724
2731
|
}
|
|
2725
|
-
function
|
|
2732
|
+
function Xa(o, a) {
|
|
2726
2733
|
if (typeof o != "object" || o === null)
|
|
2727
2734
|
return o;
|
|
2728
2735
|
var r = o[Symbol.toPrimitive];
|
|
@@ -2734,11 +2741,11 @@ function Ya(o, a) {
|
|
|
2734
2741
|
}
|
|
2735
2742
|
return (a === "string" ? String : Number)(o);
|
|
2736
2743
|
}
|
|
2737
|
-
function
|
|
2738
|
-
var a =
|
|
2744
|
+
function Ln(o) {
|
|
2745
|
+
var a = Xa(o, "string");
|
|
2739
2746
|
return typeof a == "symbol" ? a : String(a);
|
|
2740
2747
|
}
|
|
2741
|
-
var
|
|
2748
|
+
var Dn = { exports: {} };
|
|
2742
2749
|
(function(o) {
|
|
2743
2750
|
var a = Object.prototype.hasOwnProperty, r = "~";
|
|
2744
2751
|
function t() {
|
|
@@ -2848,16 +2855,16 @@ var Ln = { exports: {} };
|
|
|
2848
2855
|
var c;
|
|
2849
2856
|
return u ? (c = r ? r + u : u, this._events[c] && n(this, c)) : (this._events = new t(), this._eventsCount = 0), this;
|
|
2850
2857
|
}, s.prototype.off = s.prototype.removeListener, s.prototype.addListener = s.prototype.on, s.prefixed = r, s.EventEmitter = s, o.exports = s;
|
|
2851
|
-
})(
|
|
2852
|
-
var
|
|
2853
|
-
const
|
|
2854
|
-
var
|
|
2858
|
+
})(Dn);
|
|
2859
|
+
var On = Dn.exports;
|
|
2860
|
+
const Rn = /* @__PURE__ */ gi(On);
|
|
2861
|
+
var qa = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, jt = {
|
|
2855
2862
|
info: "color: #525252; background-color: #90ee90;",
|
|
2856
2863
|
error: "color: #525252; background-color: red;",
|
|
2857
2864
|
warn: "color: #525252; background-color: yellow; "
|
|
2858
2865
|
}, $t = "%c[xgplayer]", V = {
|
|
2859
2866
|
config: {
|
|
2860
|
-
debug:
|
|
2867
|
+
debug: qa ? 3 : 0
|
|
2861
2868
|
},
|
|
2862
2869
|
logInfo: function(a) {
|
|
2863
2870
|
for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
@@ -2878,10 +2885,10 @@ var Xa = typeof window < "u" && window.location && window.location.href.indexOf(
|
|
|
2878
2885
|
}
|
|
2879
2886
|
}
|
|
2880
2887
|
};
|
|
2881
|
-
function
|
|
2888
|
+
function Za(o) {
|
|
2882
2889
|
o.logInfo = V.logInfo.bind(o), o.logWarn = V.logWarn.bind(o), o.logError = V.logError.bind(o);
|
|
2883
2890
|
}
|
|
2884
|
-
var
|
|
2891
|
+
var Ja = /* @__PURE__ */ function() {
|
|
2885
2892
|
function o(a) {
|
|
2886
2893
|
P(this, o), this.bufferedList = a;
|
|
2887
2894
|
}
|
|
@@ -3127,7 +3134,7 @@ f.setStyleFromCsstext = function(o, a) {
|
|
|
3127
3134
|
o.style[t] = a[t];
|
|
3128
3135
|
});
|
|
3129
3136
|
};
|
|
3130
|
-
function
|
|
3137
|
+
function Qa(o, a) {
|
|
3131
3138
|
for (var r = 0, t = a.length; r < t; r++)
|
|
3132
3139
|
if (o.indexOf(a[r]) > -1)
|
|
3133
3140
|
return !0;
|
|
@@ -3141,7 +3148,7 @@ f.filterStyleFromText = function(o) {
|
|
|
3141
3148
|
return t.map(function(n) {
|
|
3142
3149
|
if (n) {
|
|
3143
3150
|
var s = n.split(":");
|
|
3144
|
-
s.length > 1 && (
|
|
3151
|
+
s.length > 1 && (Qa(s[0], a) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
|
|
3145
3152
|
}
|
|
3146
3153
|
}), o.setAttribute("style", ""), Object.keys(i).map(function(n) {
|
|
3147
3154
|
o.style[n] = i[n];
|
|
@@ -3206,7 +3213,7 @@ f.getBuffered2 = function(o) {
|
|
|
3206
3213
|
}
|
|
3207
3214
|
else
|
|
3208
3215
|
e = r;
|
|
3209
|
-
return new
|
|
3216
|
+
return new Ja(e);
|
|
3210
3217
|
};
|
|
3211
3218
|
f.getEventPos = function(o) {
|
|
3212
3219
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
@@ -3326,15 +3333,15 @@ f.getCurrentTimeByOffset = function(o, a) {
|
|
|
3326
3333
|
}
|
|
3327
3334
|
return o;
|
|
3328
3335
|
};
|
|
3329
|
-
function
|
|
3336
|
+
function Fn(o) {
|
|
3330
3337
|
var a = le(o);
|
|
3331
3338
|
return o !== null && (a === "object" || a === "function");
|
|
3332
3339
|
}
|
|
3333
|
-
function
|
|
3340
|
+
function eo(o, a, r) {
|
|
3334
3341
|
var t, e, i, n, s, l, u = 0, c = !1, h = !1, g = !0, p = !a && a !== 0 && typeof window.requestAnimationFrame == "function";
|
|
3335
3342
|
if (typeof o != "function")
|
|
3336
3343
|
throw new TypeError("Expected a function");
|
|
3337
|
-
a = +a || 0,
|
|
3344
|
+
a = +a || 0, Fn(r) && (c = !!r.leading, h = "maxWait" in r, i = h ? Math.max(+r.maxWait || 0, a) : i, g = "trailing" in r ? !!r.trailing : g);
|
|
3338
3345
|
function d(I) {
|
|
3339
3346
|
var ie = t, se = e;
|
|
3340
3347
|
return t = e = void 0, u = I, n = o.apply(se, ie), n;
|
|
@@ -3389,30 +3396,30 @@ function Qa(o, a, r) {
|
|
|
3389
3396
|
}
|
|
3390
3397
|
return q.cancel = z, q.flush = R, q.pending = te, q;
|
|
3391
3398
|
}
|
|
3392
|
-
function
|
|
3399
|
+
function to(o, a, r) {
|
|
3393
3400
|
var t = !0, e = !0;
|
|
3394
3401
|
if (typeof o != "function")
|
|
3395
3402
|
throw new TypeError("Expected a function");
|
|
3396
|
-
return
|
|
3403
|
+
return Fn(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), eo(o, a, {
|
|
3397
3404
|
leading: t,
|
|
3398
3405
|
trailing: e,
|
|
3399
3406
|
maxWait: a
|
|
3400
3407
|
});
|
|
3401
3408
|
}
|
|
3402
|
-
function
|
|
3409
|
+
function io() {
|
|
3403
3410
|
var o = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
|
|
3404
3411
|
return o === "zh-cn" && (o = "zh"), o;
|
|
3405
3412
|
}
|
|
3406
|
-
function
|
|
3413
|
+
function no(o, a, r) {
|
|
3407
3414
|
if (o) {
|
|
3408
3415
|
var t = o.getAttribute(r);
|
|
3409
3416
|
return !!(t && t === a && (o.tagName === "VIDEO" || o.tagName === "AUDIO"));
|
|
3410
3417
|
}
|
|
3411
3418
|
}
|
|
3412
|
-
var
|
|
3419
|
+
var Ki = {
|
|
3413
3420
|
android: /(Android)\s([\d.]+)/,
|
|
3414
3421
|
ios: /(Version)\/([\d.]+)/
|
|
3415
|
-
},
|
|
3422
|
+
}, ro = ["avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "avc1.42E01E", "mp4v.20.8", "avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], U = {
|
|
3416
3423
|
get device() {
|
|
3417
3424
|
var o = U.os;
|
|
3418
3425
|
return o.isPc ? "pc" : "mobile";
|
|
@@ -3451,7 +3458,7 @@ var Gi = {
|
|
|
3451
3458
|
if (typeof navigator > "u")
|
|
3452
3459
|
return 0;
|
|
3453
3460
|
var o = navigator.userAgent, a = "";
|
|
3454
|
-
/(?:iPhone)|(?:iPad|PlayBook)/.test(o) ? a =
|
|
3461
|
+
/(?:iPhone)|(?:iPad|PlayBook)/.test(o) ? a = Ki.ios : a = Ki.android;
|
|
3455
3462
|
var r = a ? a.exec(o) : [];
|
|
3456
3463
|
if (r && r.length >= 3) {
|
|
3457
3464
|
var t = r[2].split(".");
|
|
@@ -3475,7 +3482,7 @@ var Gi = {
|
|
|
3475
3482
|
if (this.supportResult)
|
|
3476
3483
|
return this.supportResult;
|
|
3477
3484
|
var r = document.createElement("video");
|
|
3478
|
-
return typeof r.canPlayType == "function" &&
|
|
3485
|
+
return typeof r.canPlayType == "function" && ro.map(function(t) {
|
|
3479
3486
|
r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (a.isSupport = !0, a.mime += "||".concat(t));
|
|
3480
3487
|
}), this.supportResult = a, r = null, a;
|
|
3481
3488
|
},
|
|
@@ -3514,14 +3521,14 @@ var Gi = {
|
|
|
3514
3521
|
return Promise.resolve(r);
|
|
3515
3522
|
}
|
|
3516
3523
|
}
|
|
3517
|
-
}, li = "3.0.18",
|
|
3524
|
+
}, li = "3.0.18", Yi = {
|
|
3518
3525
|
1: "media",
|
|
3519
3526
|
2: "media",
|
|
3520
3527
|
3: "media",
|
|
3521
3528
|
4: "media",
|
|
3522
3529
|
5: "media",
|
|
3523
3530
|
6: "media"
|
|
3524
|
-
},
|
|
3531
|
+
}, Xi = {
|
|
3525
3532
|
1: 5101,
|
|
3526
3533
|
2: 5102,
|
|
3527
3534
|
3: 5103,
|
|
@@ -3542,7 +3549,7 @@ var Gi = {
|
|
|
3542
3549
|
var t = a && a.i18n ? a.i18n.ERROR_TYPES : null;
|
|
3543
3550
|
if (a.media) {
|
|
3544
3551
|
var e = r.mediaError ? r.mediaError : a.media.error || {}, i = a.duration, n = a.currentTime, s = a.ended, l = a.src, u = a.currentSrc, c = a.media, h = c.readyState, g = c.networkState, p = r.errorCode || e.code;
|
|
3545
|
-
|
|
3552
|
+
Xi[p] && (p = Xi[p]);
|
|
3546
3553
|
var d = {
|
|
3547
3554
|
playerVersion: li,
|
|
3548
3555
|
currentTime: n,
|
|
@@ -3570,21 +3577,21 @@ var Gi = {
|
|
|
3570
3577
|
return v.ex = t ? (t[arguments[0]] || {}).msg : "", v;
|
|
3571
3578
|
}
|
|
3572
3579
|
}
|
|
3573
|
-
), ge = "play", mi = "playing", Ye = "ended", ut = "pause", mt = "error", Ft = "seeking", Ie = "seeked", de = "timeupdate", yt = "waiting", xe = "canplay",
|
|
3580
|
+
), ge = "play", mi = "playing", Ye = "ended", ut = "pause", mt = "error", Ft = "seeking", Ie = "seeked", de = "timeupdate", yt = "waiting", xe = "canplay", so = "canplaythrough", Ue = "durationchange", Mn = "volumechange", Pe = "loadeddata", ao = "loadedmetadata", Nn = "ratechange", Bn = "progress", yi = "loadstart", Xe = "emptied", oo = "stalled", lo = "suspend", uo = "abort", co = "bufferedChange", _i = "focus", Hn = "blur", ki = "ready", Un = "urlNull", Ge = "autoplay_started", Ci = "autoplay_was_prevented", Mt = "complete", St = "replay", wi = "destroy", Nt = "urlchange", ui = "download_speed_change", zn = "leaveplayer", Vn = "enterplayer", jn = "loading", Ee = "fullscreen_change", xt = "cssFullscreen_change", It = "mini_state_change", bi = "definition_change", fo = "before_definition_change", ci = "after_definition_change", ho = "SEI_PARSED", go = "retry", Be = "video_resize", fi = "pip_change", $n = "rotate", Wn = "screenShot", Pt = "playnext", Gn = "shortcut", Kn = "xglog", At = "user_action", Bt = "reset", Yn = "source_error", Xn = "source_success", po = "switch_subtitle", qn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Zn = {
|
|
3574
3581
|
STATS_INFO: "stats_info",
|
|
3575
3582
|
STATS_DOWNLOAD: "stats_download",
|
|
3576
3583
|
STATS_RESET: "stats_reset"
|
|
3577
|
-
},
|
|
3578
|
-
const
|
|
3584
|
+
}, Jn = "fps_stuck";
|
|
3585
|
+
const vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3579
3586
|
__proto__: null,
|
|
3580
|
-
ABORT:
|
|
3587
|
+
ABORT: uo,
|
|
3581
3588
|
AFTER_DEFINITION_CHANGE: ci,
|
|
3582
3589
|
AUTOPLAY_PREVENTED: Ci,
|
|
3583
3590
|
AUTOPLAY_STARTED: Ge,
|
|
3584
|
-
BEFORE_DEFINITION_CHANGE:
|
|
3585
|
-
BUFFER_CHANGE:
|
|
3591
|
+
BEFORE_DEFINITION_CHANGE: fo,
|
|
3592
|
+
BUFFER_CHANGE: co,
|
|
3586
3593
|
CANPLAY: xe,
|
|
3587
|
-
CANPLAY_THROUGH:
|
|
3594
|
+
CANPLAY_THROUGH: so,
|
|
3588
3595
|
COMPLETE: Mt,
|
|
3589
3596
|
CSS_FULLSCREEN_CHANGE: xt,
|
|
3590
3597
|
DEFINITION_CHANGE: bi,
|
|
@@ -3593,55 +3600,55 @@ const po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3593
3600
|
DURATION_CHANGE: Ue,
|
|
3594
3601
|
EMPTIED: Xe,
|
|
3595
3602
|
ENDED: Ye,
|
|
3596
|
-
ENTER_PLAYER:
|
|
3603
|
+
ENTER_PLAYER: Vn,
|
|
3597
3604
|
ERROR: mt,
|
|
3598
|
-
FPS_STUCK:
|
|
3605
|
+
FPS_STUCK: Jn,
|
|
3599
3606
|
FULLSCREEN_CHANGE: Ee,
|
|
3600
|
-
LEAVE_PLAYER:
|
|
3607
|
+
LEAVE_PLAYER: zn,
|
|
3601
3608
|
LOADED_DATA: Pe,
|
|
3602
|
-
LOADED_METADATA:
|
|
3603
|
-
LOADING:
|
|
3609
|
+
LOADED_METADATA: ao,
|
|
3610
|
+
LOADING: jn,
|
|
3604
3611
|
LOAD_START: yi,
|
|
3605
3612
|
MINI_STATE_CHANGE: It,
|
|
3606
3613
|
PAUSE: ut,
|
|
3607
3614
|
PIP_CHANGE: fi,
|
|
3608
3615
|
PLAY: ge,
|
|
3609
|
-
PLAYER_BLUR:
|
|
3616
|
+
PLAYER_BLUR: Hn,
|
|
3610
3617
|
PLAYER_FOCUS: _i,
|
|
3611
3618
|
PLAYING: mi,
|
|
3612
3619
|
PLAYNEXT: Pt,
|
|
3613
|
-
PROGRESS:
|
|
3614
|
-
RATE_CHANGE:
|
|
3620
|
+
PROGRESS: Bn,
|
|
3621
|
+
RATE_CHANGE: Nn,
|
|
3615
3622
|
READY: ki,
|
|
3616
3623
|
REPLAY: St,
|
|
3617
3624
|
RESET: Bt,
|
|
3618
|
-
RETRY:
|
|
3619
|
-
ROTATE:
|
|
3620
|
-
SCREEN_SHOT:
|
|
3625
|
+
RETRY: go,
|
|
3626
|
+
ROTATE: $n,
|
|
3627
|
+
SCREEN_SHOT: Wn,
|
|
3621
3628
|
SEEKED: Ie,
|
|
3622
3629
|
SEEKING: Ft,
|
|
3623
|
-
SEI_PARSED:
|
|
3624
|
-
SHORTCUT:
|
|
3625
|
-
SOURCE_ERROR:
|
|
3626
|
-
SOURCE_SUCCESS:
|
|
3627
|
-
STALLED:
|
|
3628
|
-
STATS_EVENTS:
|
|
3629
|
-
SUSPEND:
|
|
3630
|
-
SWITCH_SUBTITLE:
|
|
3630
|
+
SEI_PARSED: ho,
|
|
3631
|
+
SHORTCUT: Gn,
|
|
3632
|
+
SOURCE_ERROR: Yn,
|
|
3633
|
+
SOURCE_SUCCESS: Xn,
|
|
3634
|
+
STALLED: oo,
|
|
3635
|
+
STATS_EVENTS: Zn,
|
|
3636
|
+
SUSPEND: lo,
|
|
3637
|
+
SWITCH_SUBTITLE: po,
|
|
3631
3638
|
TIME_UPDATE: de,
|
|
3632
3639
|
URL_CHANGE: Nt,
|
|
3633
|
-
URL_NULL:
|
|
3640
|
+
URL_NULL: Un,
|
|
3634
3641
|
USER_ACTION: At,
|
|
3635
|
-
VIDEO_EVENTS:
|
|
3642
|
+
VIDEO_EVENTS: qn,
|
|
3636
3643
|
VIDEO_RESIZE: Be,
|
|
3637
|
-
VOLUME_CHANGE:
|
|
3644
|
+
VOLUME_CHANGE: Mn,
|
|
3638
3645
|
WAITING: yt,
|
|
3639
|
-
XGLOG:
|
|
3646
|
+
XGLOG: Kn
|
|
3640
3647
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3641
3648
|
function Wt(o, a) {
|
|
3642
3649
|
!this || !this.emit || (o === "error" ? this.errorHandler(o, a.error) : this.emit(o, a));
|
|
3643
3650
|
}
|
|
3644
|
-
function
|
|
3651
|
+
function mo(o, a) {
|
|
3645
3652
|
return function(r, t) {
|
|
3646
3653
|
var e = {
|
|
3647
3654
|
player: a,
|
|
@@ -3676,7 +3683,7 @@ function vo(o, a) {
|
|
|
3676
3683
|
Wt.call(a, o, e);
|
|
3677
3684
|
};
|
|
3678
3685
|
}
|
|
3679
|
-
var
|
|
3686
|
+
var yo = /* @__PURE__ */ function(o) {
|
|
3680
3687
|
F(r, o);
|
|
3681
3688
|
var a = M(r);
|
|
3682
3689
|
function r(t) {
|
|
@@ -3718,9 +3725,9 @@ var mo = /* @__PURE__ */ function(o) {
|
|
|
3718
3725
|
key: "attachVideoEvents",
|
|
3719
3726
|
value: function() {
|
|
3720
3727
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
|
|
3721
|
-
this._evHandlers || (this._evHandlers =
|
|
3728
|
+
this._evHandlers || (this._evHandlers = qn.map(function(n) {
|
|
3722
3729
|
var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
|
|
3723
|
-
return typeof e[s] == "function" && e.on(n, e[s]), _({}, n,
|
|
3730
|
+
return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, mo(n, e));
|
|
3724
3731
|
})), this._evHandlers.forEach(function(n) {
|
|
3725
3732
|
var s = Object.keys(n)[0];
|
|
3726
3733
|
i.addEventListener(s, n[s], !1);
|
|
@@ -3752,7 +3759,7 @@ var mo = /* @__PURE__ */ function(o) {
|
|
|
3752
3759
|
var s = e.children;
|
|
3753
3760
|
if (s) {
|
|
3754
3761
|
this._videoSourceCount = s.length, this._videoSourceIndex = s.length, this._vLoadeddata = function(h) {
|
|
3755
|
-
n.emit(
|
|
3762
|
+
n.emit(Xn, {
|
|
3756
3763
|
src: h.target.currentSrc,
|
|
3757
3764
|
host: f.getHostFromUrl(h.target.currentSrc)
|
|
3758
3765
|
});
|
|
@@ -3771,8 +3778,8 @@ var mo = /* @__PURE__ */ function(o) {
|
|
|
3771
3778
|
};
|
|
3772
3779
|
l ? l.error(h, p) : n.errorHandler("error", p);
|
|
3773
3780
|
}
|
|
3774
|
-
var d =
|
|
3775
|
-
n.emit(
|
|
3781
|
+
var d = Yi[4];
|
|
3782
|
+
n.emit(Yn, new Et(n, {
|
|
3776
3783
|
errorType: d,
|
|
3777
3784
|
errorCode: 4,
|
|
3778
3785
|
errorMessage: "sources_load_error",
|
|
@@ -3805,7 +3812,7 @@ var mo = /* @__PURE__ */ function(o) {
|
|
|
3805
3812
|
value: function(e) {
|
|
3806
3813
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
3807
3814
|
if (this.media && (this.media.error || i)) {
|
|
3808
|
-
var n = this.media.error || i, s = n.code ?
|
|
3815
|
+
var n = this.media.error || i, s = n.code ? Yi[n.code] : "other", l = n.message;
|
|
3809
3816
|
this.media.currentSrc || (l = "empty_src", n = {
|
|
3810
3817
|
code: 6,
|
|
3811
3818
|
message: l
|
|
@@ -4094,7 +4101,7 @@ var mo = /* @__PURE__ */ function(o) {
|
|
|
4094
4101
|
B(N(r.prototype), "removeAllListeners", this).call(this);
|
|
4095
4102
|
}
|
|
4096
4103
|
}]), r;
|
|
4097
|
-
}(
|
|
4104
|
+
}(Rn), _o = /* @__PURE__ */ function() {
|
|
4098
4105
|
function o() {
|
|
4099
4106
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
4100
4107
|
name: "xgplayer",
|
|
@@ -4172,7 +4179,7 @@ var mo = /* @__PURE__ */ function(o) {
|
|
|
4172
4179
|
t.clear();
|
|
4173
4180
|
}
|
|
4174
4181
|
}]), o;
|
|
4175
|
-
}(),
|
|
4182
|
+
}(), qi = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], Zi = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], Ji = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], $e = "data-xgplayerid";
|
|
4176
4183
|
function kt(o, a, r) {
|
|
4177
4184
|
for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
|
|
4178
4185
|
e[i - 3] = arguments[i];
|
|
@@ -4221,14 +4228,14 @@ function Ot(o, a) {
|
|
|
4221
4228
|
var r = this.__hooks;
|
|
4222
4229
|
r && delete r[o];
|
|
4223
4230
|
}
|
|
4224
|
-
function
|
|
4231
|
+
function Qi(o) {
|
|
4225
4232
|
if (!(!this.plugins || !this.plugins[o.toLowerCase()])) {
|
|
4226
4233
|
for (var a = this.plugins[o.toLowerCase()], r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), e = 1; e < r; e++)
|
|
4227
4234
|
t[e - 1] = arguments[e];
|
|
4228
4235
|
return a.useHooks && a.useHooks.apply(a, t);
|
|
4229
4236
|
}
|
|
4230
4237
|
}
|
|
4231
|
-
function
|
|
4238
|
+
function en(o) {
|
|
4232
4239
|
if (!(!this.plugins || !this.plugins[o.toLowerCase()])) {
|
|
4233
4240
|
var a = this.plugins[o.toLowerCase()];
|
|
4234
4241
|
if (a) {
|
|
@@ -4238,7 +4245,7 @@ function Qi(o) {
|
|
|
4238
4245
|
}
|
|
4239
4246
|
}
|
|
4240
4247
|
}
|
|
4241
|
-
function
|
|
4248
|
+
function Qn(o) {
|
|
4242
4249
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
4243
4250
|
o.__hooks = {}, a && a.map(function(r) {
|
|
4244
4251
|
o.__hooks[r] = null;
|
|
@@ -4251,7 +4258,7 @@ function Jn(o) {
|
|
|
4251
4258
|
}
|
|
4252
4259
|
});
|
|
4253
4260
|
}
|
|
4254
|
-
function
|
|
4261
|
+
function er(o) {
|
|
4255
4262
|
o.__hooks = null;
|
|
4256
4263
|
}
|
|
4257
4264
|
function Se(o, a, r) {
|
|
@@ -4275,7 +4282,7 @@ function Gt(o, a) {
|
|
|
4275
4282
|
}
|
|
4276
4283
|
var He = /* @__PURE__ */ function() {
|
|
4277
4284
|
function o(a) {
|
|
4278
|
-
P(this, o), f.checkIsFunction(this.beforeCreate) && this.beforeCreate(a),
|
|
4285
|
+
P(this, o), f.checkIsFunction(this.beforeCreate) && this.beforeCreate(a), Qn(this), this.__args = a, this.__events = {}, this.__onceEvents = {}, this.config = a.config || {}, this.player = null, this.playerConfig = {}, this.pluginName = "", this.__init(a);
|
|
4279
4286
|
}
|
|
4280
4287
|
return A(o, [{
|
|
4281
4288
|
key: "beforeCreate",
|
|
@@ -4439,7 +4446,7 @@ var He = /* @__PURE__ */ function() {
|
|
|
4439
4446
|
var r = this, t = this.player, e = this.pluginName;
|
|
4440
4447
|
this.offAll(), f.clearAllTimers(this), f.checkIsFunction(this.destroy) && this.destroy(), ["player", "playerConfig", "pluginName", "logger", "__args", "__hooks"].map(function(i) {
|
|
4441
4448
|
r[i] = null;
|
|
4442
|
-
}), t.unRegisterPlugin(e),
|
|
4449
|
+
}), t.unRegisterPlugin(e), er(this);
|
|
4443
4450
|
}
|
|
4444
4451
|
}], [{
|
|
4445
4452
|
key: "defineGetterOrSetter",
|
|
@@ -4458,40 +4465,40 @@ var He = /* @__PURE__ */ function() {
|
|
|
4458
4465
|
return "pluginName";
|
|
4459
4466
|
}
|
|
4460
4467
|
}]), o;
|
|
4461
|
-
}(),
|
|
4468
|
+
}(), ko = 9;
|
|
4462
4469
|
if (typeof Element < "u" && !Element.prototype.matches) {
|
|
4463
4470
|
var Je = Element.prototype;
|
|
4464
4471
|
Je.matches = Je.matchesSelector || Je.mozMatchesSelector || Je.msMatchesSelector || Je.oMatchesSelector || Je.webkitMatchesSelector;
|
|
4465
4472
|
}
|
|
4466
|
-
function
|
|
4467
|
-
for (; o && o.nodeType !==
|
|
4473
|
+
function Co(o, a) {
|
|
4474
|
+
for (; o && o.nodeType !== ko; ) {
|
|
4468
4475
|
if (typeof o.matches == "function" && o.matches(a))
|
|
4469
4476
|
return o;
|
|
4470
4477
|
o = o.parentNode;
|
|
4471
4478
|
}
|
|
4472
4479
|
}
|
|
4473
|
-
var
|
|
4480
|
+
var wo = Co, bo = wo;
|
|
4474
4481
|
function Kt(o, a, r, t, e) {
|
|
4475
|
-
var i =
|
|
4482
|
+
var i = Eo.apply(this, arguments);
|
|
4476
4483
|
return o.addEventListener(r, i, e), {
|
|
4477
4484
|
destroy: function() {
|
|
4478
4485
|
o.removeEventListener(r, i, e);
|
|
4479
4486
|
}
|
|
4480
4487
|
};
|
|
4481
4488
|
}
|
|
4482
|
-
function
|
|
4489
|
+
function To(o, a, r, t, e) {
|
|
4483
4490
|
return typeof o.addEventListener == "function" ? Kt.apply(null, arguments) : typeof r == "function" ? Kt.bind(null, document).apply(null, arguments) : (typeof o == "string" && (o = document.querySelectorAll(o)), Array.prototype.map.call(o, function(i) {
|
|
4484
4491
|
return Kt(i, a, r, t, e);
|
|
4485
4492
|
}));
|
|
4486
4493
|
}
|
|
4487
|
-
function
|
|
4494
|
+
function Eo(o, a, r, t) {
|
|
4488
4495
|
return function(e) {
|
|
4489
|
-
e.delegateTarget =
|
|
4496
|
+
e.delegateTarget = bo(e.target, a), e.delegateTarget && t.call(o, e);
|
|
4490
4497
|
};
|
|
4491
4498
|
}
|
|
4492
|
-
var
|
|
4493
|
-
const
|
|
4494
|
-
var
|
|
4499
|
+
var So = To;
|
|
4500
|
+
const tn = /* @__PURE__ */ gi(So);
|
|
4501
|
+
var xo = {
|
|
4495
4502
|
CONTROLS: "controls",
|
|
4496
4503
|
ROOT: "root"
|
|
4497
4504
|
}, Y = {
|
|
@@ -4504,22 +4511,22 @@ var So = {
|
|
|
4504
4511
|
CONTROLS_RIGHT: "controlsRight",
|
|
4505
4512
|
CONTROLS_CENTER: "controlsCenter",
|
|
4506
4513
|
CONTROLS: "controls"
|
|
4507
|
-
},
|
|
4514
|
+
}, nn = {
|
|
4508
4515
|
ICON_DISABLE: "xg-icon-disable",
|
|
4509
4516
|
ICON_HIDE: "xg-icon-hide"
|
|
4510
4517
|
};
|
|
4511
4518
|
function Yt(o) {
|
|
4512
4519
|
return o ? o.indexOf && /^(?:http|data:|\/)/.test(o) : !1;
|
|
4513
4520
|
}
|
|
4514
|
-
function
|
|
4521
|
+
function Io(o, a) {
|
|
4515
4522
|
return le(o) === "object" && o.class && typeof o.class == "string" ? "".concat(a, " ").concat(o.class) : a;
|
|
4516
4523
|
}
|
|
4517
|
-
function
|
|
4524
|
+
function Po(o, a) {
|
|
4518
4525
|
return le(o) === "object" && o.attr && le(o.attr) === "object" && Object.keys(o.attr).map(function(r) {
|
|
4519
4526
|
a[r] = o.attr[r];
|
|
4520
4527
|
}), a;
|
|
4521
4528
|
}
|
|
4522
|
-
function
|
|
4529
|
+
function rn(o, a) {
|
|
4523
4530
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "", t = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, e = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : "", i = null;
|
|
4524
4531
|
if (o instanceof window.Element)
|
|
4525
4532
|
return f.addClass(o, r), Object.keys(t).map(function(n) {
|
|
@@ -4537,14 +4544,14 @@ function nn(o, a) {
|
|
|
4537
4544
|
}
|
|
4538
4545
|
return typeof o == "string" ? f.createDomFromHtml(o, t, r) : (V.logWarn("warn>>icons.".concat(a, " in config of plugin named [").concat(e, "] is invalid")), null);
|
|
4539
4546
|
}
|
|
4540
|
-
function
|
|
4547
|
+
function Ao(o, a) {
|
|
4541
4548
|
var r = a.config.icons || a.playerConfig.icons;
|
|
4542
4549
|
Object.keys(o).map(function(t) {
|
|
4543
4550
|
var e = o[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
|
|
4544
|
-
r && r[t] && (i =
|
|
4551
|
+
r && r[t] && (i = Io(r[t], i), n = Po(r[t], n), s = rn(r[t], t, i, n, a.pluginName)), !s && e && (s = rn(e.icon ? e.icon : e, n, i, {}, a.pluginName)), a.icons[t] = s;
|
|
4545
4552
|
});
|
|
4546
4553
|
}
|
|
4547
|
-
function
|
|
4554
|
+
function Lo(o, a) {
|
|
4548
4555
|
Object.keys(o).map(function(r) {
|
|
4549
4556
|
Object.defineProperty(a.langText, r, {
|
|
4550
4557
|
get: function() {
|
|
@@ -4568,9 +4575,9 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4568
4575
|
var i = e.root, n = null;
|
|
4569
4576
|
this.icons = {}, this.root = null, this.parent = null;
|
|
4570
4577
|
var s = this.registerIcons() || {};
|
|
4571
|
-
|
|
4578
|
+
Ao(s, this), this.langText = {};
|
|
4572
4579
|
var l = this.registerLanguageTexts() || {};
|
|
4573
|
-
|
|
4580
|
+
Lo(l, this);
|
|
4574
4581
|
var u = "";
|
|
4575
4582
|
try {
|
|
4576
4583
|
u = this.render();
|
|
@@ -4641,12 +4648,12 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4641
4648
|
}, {
|
|
4642
4649
|
key: "disable",
|
|
4643
4650
|
value: function() {
|
|
4644
|
-
this.config.disable = !0, f.addClass(this.find(".xgplayer-icon"),
|
|
4651
|
+
this.config.disable = !0, f.addClass(this.find(".xgplayer-icon"), nn.ICON_DISABLE);
|
|
4645
4652
|
}
|
|
4646
4653
|
}, {
|
|
4647
4654
|
key: "enable",
|
|
4648
4655
|
value: function() {
|
|
4649
|
-
this.config.disable = !1, f.removeClass(this.find(".xgplayer-icon"),
|
|
4656
|
+
this.config.disable = !1, f.removeClass(this.find(".xgplayer-icon"), nn.ICON_DISABLE);
|
|
4650
4657
|
}
|
|
4651
4658
|
}, {
|
|
4652
4659
|
key: "children",
|
|
@@ -4827,11 +4834,11 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4827
4834
|
if (e instanceof window.Node && typeof s == "function")
|
|
4828
4835
|
if (Array.isArray(n))
|
|
4829
4836
|
n.forEach(function(h) {
|
|
4830
|
-
var g =
|
|
4837
|
+
var g = tn(e, i, h, s, l);
|
|
4831
4838
|
g.key = "".concat(i, "_").concat(h), u.push(g);
|
|
4832
4839
|
});
|
|
4833
4840
|
else {
|
|
4834
|
-
var c =
|
|
4841
|
+
var c = tn(e, i, n, s, l);
|
|
4835
4842
|
c.key = "".concat(i, "_").concat(n), u.push(c);
|
|
4836
4843
|
}
|
|
4837
4844
|
return u;
|
|
@@ -4839,7 +4846,7 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4839
4846
|
}, {
|
|
4840
4847
|
key: "ROOT_TYPES",
|
|
4841
4848
|
get: function() {
|
|
4842
|
-
return
|
|
4849
|
+
return xo;
|
|
4843
4850
|
}
|
|
4844
4851
|
}, {
|
|
4845
4852
|
key: "POSITIONS",
|
|
@@ -4847,7 +4854,7 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4847
4854
|
return Y;
|
|
4848
4855
|
}
|
|
4849
4856
|
}]), r;
|
|
4850
|
-
}(He),
|
|
4857
|
+
}(He), Do = /* @__PURE__ */ function() {
|
|
4851
4858
|
function o() {
|
|
4852
4859
|
var a = this;
|
|
4853
4860
|
if (P(this, o), _(this, "__trigger", function(r) {
|
|
@@ -4857,7 +4864,7 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4857
4864
|
a.__runHandler(r[e].target);
|
|
4858
4865
|
}), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
|
|
4859
4866
|
try {
|
|
4860
|
-
this.observer = new window.ResizeObserver(
|
|
4867
|
+
this.observer = new window.ResizeObserver(to(this.__trigger, 100, {
|
|
4861
4868
|
trailing: !0
|
|
4862
4869
|
})), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
|
|
4863
4870
|
} catch (r) {
|
|
@@ -4912,17 +4919,17 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4912
4919
|
}
|
|
4913
4920
|
}]), o;
|
|
4914
4921
|
}(), dt = null;
|
|
4915
|
-
function Do(o, a) {
|
|
4916
|
-
return dt || (dt = new Lo()), dt.addObserver(o, a), dt;
|
|
4917
|
-
}
|
|
4918
4922
|
function Oo(o, a) {
|
|
4923
|
+
return dt || (dt = new Do()), dt.addObserver(o, a), dt;
|
|
4924
|
+
}
|
|
4925
|
+
function Ro(o, a) {
|
|
4919
4926
|
dt.unObserver(o, a);
|
|
4920
4927
|
}
|
|
4921
4928
|
var re = {
|
|
4922
4929
|
pluginGroup: {},
|
|
4923
4930
|
init: function(a) {
|
|
4924
4931
|
var r = a._pluginInfoId;
|
|
4925
|
-
r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver &&
|
|
4932
|
+
r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver && Oo(a.root, function() {
|
|
4926
4933
|
a.resize();
|
|
4927
4934
|
}), this.pluginGroup[r] = {
|
|
4928
4935
|
_originalOptions: a.config || {},
|
|
@@ -5108,7 +5115,7 @@ var re = {
|
|
|
5108
5115
|
destroy: function(a) {
|
|
5109
5116
|
var r = a._pluginInfoId;
|
|
5110
5117
|
if (this.pluginGroup[r]) {
|
|
5111
|
-
|
|
5118
|
+
Ro(a.root);
|
|
5112
5119
|
for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
|
|
5113
5120
|
var n = i[e];
|
|
5114
5121
|
this.unRegister(r, n);
|
|
@@ -5147,7 +5154,7 @@ var re = {
|
|
|
5147
5154
|
MOBILE: "xgplayer-mobile",
|
|
5148
5155
|
MINI: "xgplayer-mini"
|
|
5149
5156
|
};
|
|
5150
|
-
function
|
|
5157
|
+
function sn() {
|
|
5151
5158
|
return {
|
|
5152
5159
|
id: "",
|
|
5153
5160
|
el: null,
|
|
@@ -5194,7 +5201,7 @@ function rn() {
|
|
|
5194
5201
|
ignores: [],
|
|
5195
5202
|
whitelist: [],
|
|
5196
5203
|
inactive: 3e3,
|
|
5197
|
-
lang:
|
|
5204
|
+
lang: io(),
|
|
5198
5205
|
controls: !0,
|
|
5199
5206
|
marginControls: !1,
|
|
5200
5207
|
fullscreenTarget: null,
|
|
@@ -5230,7 +5237,7 @@ function rn() {
|
|
|
5230
5237
|
}
|
|
5231
5238
|
};
|
|
5232
5239
|
}
|
|
5233
|
-
var
|
|
5240
|
+
var Fo = function(a, r) {
|
|
5234
5241
|
var t, e, i;
|
|
5235
5242
|
r.preset && r.options ? i = new r.preset(r.options, a.config) : i = new r({}, a.config);
|
|
5236
5243
|
var n = i, s = n.plugins, l = s === void 0 ? [] : s, u = n.ignores, c = u === void 0 ? [] : u, h = n.icons, g = h === void 0 ? {} : h, p = n.i18n, d = p === void 0 ? [] : p;
|
|
@@ -5239,7 +5246,7 @@ var Ro = function(a, r) {
|
|
|
5239
5246
|
});
|
|
5240
5247
|
var v = a.config.i18n || [];
|
|
5241
5248
|
d.push.apply(d, ye(v)), a.config.i18n = d;
|
|
5242
|
-
},
|
|
5249
|
+
}, Mo = /* @__PURE__ */ function(o) {
|
|
5243
5250
|
F(r, o);
|
|
5244
5251
|
var a = M(r);
|
|
5245
5252
|
function r() {
|
|
@@ -5400,7 +5407,7 @@ var Ro = function(a, r) {
|
|
|
5400
5407
|
};
|
|
5401
5408
|
}
|
|
5402
5409
|
}]), r;
|
|
5403
|
-
}(W),
|
|
5410
|
+
}(W), No = {
|
|
5404
5411
|
LANG: "en",
|
|
5405
5412
|
TEXT: {
|
|
5406
5413
|
ERROR_TYPES: {
|
|
@@ -5490,12 +5497,12 @@ function pt(o, a) {
|
|
|
5490
5497
|
t === "Object" ? (e !== "Object" && (o[r] = {}), pt(o[r], a[r])) : o[r] = a[r];
|
|
5491
5498
|
}), o;
|
|
5492
5499
|
}
|
|
5493
|
-
function
|
|
5500
|
+
function tr() {
|
|
5494
5501
|
Object.keys(he.lang.en).map(function(o) {
|
|
5495
5502
|
he.textKeys[o] = o;
|
|
5496
5503
|
});
|
|
5497
5504
|
}
|
|
5498
|
-
function
|
|
5505
|
+
function Bo(o, a) {
|
|
5499
5506
|
var r = [];
|
|
5500
5507
|
if (a || (a = he), !!a.lang) {
|
|
5501
5508
|
f.typeOf(o) !== "Array" ? r = Object.keys(o).map(function(i) {
|
|
@@ -5508,17 +5515,17 @@ function No(o, a) {
|
|
|
5508
5515
|
var t = a, e = t.lang;
|
|
5509
5516
|
r.map(function(i) {
|
|
5510
5517
|
i.LANG === "zh" && (i.LANG = "zh-cn"), e[i.LANG] ? pt(e[i.LANG] || {}, i.TEXT || {}) : Ti(i, a);
|
|
5511
|
-
}),
|
|
5518
|
+
}), tr();
|
|
5512
5519
|
}
|
|
5513
5520
|
}
|
|
5514
5521
|
function Ti(o, a) {
|
|
5515
5522
|
var r = o.LANG;
|
|
5516
5523
|
if (a || (a = he), !!a.lang) {
|
|
5517
5524
|
var t = o.TEXT || {};
|
|
5518
|
-
r === "zh" && (r = "zh-cn"), a.lang[r] ? pt(a.lang[r], t) : (a.langKeys.push(r), a.lang[r] = t),
|
|
5525
|
+
r === "zh" && (r = "zh-cn"), a.lang[r] ? pt(a.lang[r], t) : (a.langKeys.push(r), a.lang[r] = t), tr();
|
|
5519
5526
|
}
|
|
5520
5527
|
}
|
|
5521
|
-
function
|
|
5528
|
+
function Ho(o) {
|
|
5522
5529
|
var a, r = {
|
|
5523
5530
|
lang: {},
|
|
5524
5531
|
langKeys: [],
|
|
@@ -5527,7 +5534,7 @@ function Bo(o) {
|
|
|
5527
5534
|
};
|
|
5528
5535
|
return pt(r.lang, he.lang), (a = r.langKeys).push.apply(a, ye(he.langKeys)), pt(r.textKeys, he.textKeys), r;
|
|
5529
5536
|
}
|
|
5530
|
-
Ti(
|
|
5537
|
+
Ti(No);
|
|
5531
5538
|
var at = {
|
|
5532
5539
|
get textKeys() {
|
|
5533
5540
|
return he.textKeys;
|
|
@@ -5541,9 +5548,9 @@ var at = {
|
|
|
5541
5548
|
o[a] = he.lang[a];
|
|
5542
5549
|
}), he.lang["zh-cn"] && (o.zh = he.lang["zh-cn"] || {}), o;
|
|
5543
5550
|
},
|
|
5544
|
-
extend:
|
|
5551
|
+
extend: Bo,
|
|
5545
5552
|
use: Ti,
|
|
5546
|
-
init:
|
|
5553
|
+
init: Ho
|
|
5547
5554
|
}, j = {
|
|
5548
5555
|
INITIAL: 1,
|
|
5549
5556
|
READY: 2,
|
|
@@ -5553,7 +5560,7 @@ var at = {
|
|
|
5553
5560
|
RUNNING: 6,
|
|
5554
5561
|
ENDED: 7,
|
|
5555
5562
|
DESTROYED: 8
|
|
5556
|
-
},
|
|
5563
|
+
}, an = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], ue = {}, Xt = null, ir = /* @__PURE__ */ function(o) {
|
|
5557
5564
|
F(r, o);
|
|
5558
5565
|
var a = M(r);
|
|
5559
5566
|
function r() {
|
|
@@ -5639,8 +5646,8 @@ var at = {
|
|
|
5639
5646
|
return Xt || (Xt = new r()), Xt;
|
|
5640
5647
|
}
|
|
5641
5648
|
}]), r;
|
|
5642
|
-
}(
|
|
5643
|
-
function
|
|
5649
|
+
}(On.EventEmitter);
|
|
5650
|
+
function Uo(o) {
|
|
5644
5651
|
for (var a = Object.keys(ue), r = 0; r < a.length; r++) {
|
|
5645
5652
|
var t = ue[a[r]];
|
|
5646
5653
|
if (t.root === o)
|
|
@@ -5648,13 +5655,13 @@ function Ho(o) {
|
|
|
5648
5655
|
}
|
|
5649
5656
|
return null;
|
|
5650
5657
|
}
|
|
5651
|
-
var
|
|
5658
|
+
var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /* @__PURE__ */ function(o) {
|
|
5652
5659
|
F(r, o);
|
|
5653
5660
|
var a = M(r);
|
|
5654
5661
|
function r(t) {
|
|
5655
5662
|
var e;
|
|
5656
5663
|
P(this, r);
|
|
5657
|
-
var i = f.deepMerge(
|
|
5664
|
+
var i = f.deepMerge(sn(), t);
|
|
5658
5665
|
e = a.call(this, i), _(y(e), "canPlayFunc", function() {
|
|
5659
5666
|
if (e.config) {
|
|
5660
5667
|
var d = e.config, v = d.autoplay, m = d.defaultPlaybackRate;
|
|
@@ -5678,7 +5685,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5678
5685
|
to: !1
|
|
5679
5686
|
}]
|
|
5680
5687
|
});
|
|
5681
|
-
var E =
|
|
5688
|
+
var E = no(C, e.playerId, $e);
|
|
5682
5689
|
if (v || C && (C === e._fullscreenEl || E))
|
|
5683
5690
|
m(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, T.FULLSCREEN), e.emit(Ee, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
|
|
5684
5691
|
else if (e.fullscreen) {
|
|
@@ -5698,7 +5705,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5698
5705
|
e._fullscreenEl = e.media, e.onFullscreenChange(d, !0);
|
|
5699
5706
|
}), _(y(e), "_onWebkitendfullscreen", function(d) {
|
|
5700
5707
|
e.onFullscreenChange(d, !1);
|
|
5701
|
-
}),
|
|
5708
|
+
}), Qn(y(e), zo), e.config = i, e._pluginInfoId = f.generateSessionId(), Za(y(e));
|
|
5702
5709
|
var n = e.constructor.defaultPreset;
|
|
5703
5710
|
if (e.config.presets.length) {
|
|
5704
5711
|
var s = e.config.presets.indexOf("default");
|
|
@@ -5727,7 +5734,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5727
5734
|
}, e._offsetInfo = {
|
|
5728
5735
|
currentTime: -1,
|
|
5729
5736
|
duration: 0
|
|
5730
|
-
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = at.init(e._pluginInfoId), U.os.isAndroid && U.osVersion > 0 && U.osVersion < 6 && (e.config.autoplay = !1), e.database = new
|
|
5737
|
+
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = at.init(e._pluginInfoId), U.os.isAndroid && U.osVersion > 0 && U.osVersion < 6 && (e.config.autoplay = !1), e.database = new _o(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
|
|
5731
5738
|
isActiveLocked: !1
|
|
5732
5739
|
}, e.instManager = Oe;
|
|
5733
5740
|
var l = e._initDOM();
|
|
@@ -5759,7 +5766,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5759
5766
|
msg: "container id can't be empty"
|
|
5760
5767
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
5761
5768
|
}
|
|
5762
|
-
var s =
|
|
5769
|
+
var s = Uo(this.root);
|
|
5763
5770
|
s && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute($e, this.playerId), (e = Oe) === null || e === void 0 || e.add(this), re.init(this), this._initBaseDoms();
|
|
5764
5771
|
var l = this.constructor.XgVideoProxy;
|
|
5765
5772
|
if (l && this.mediaConfig.mediaType === l.mediaType) {
|
|
@@ -5769,7 +5776,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5769
5776
|
this.attachVideoEvents(c), this.media = c;
|
|
5770
5777
|
}
|
|
5771
5778
|
if (this.media.setAttribute($e, this.playerId), this.config.controls) {
|
|
5772
|
-
var h = this.config.controls.root || null, g = re.register(this,
|
|
5779
|
+
var h = this.config.controls.root || null, g = re.register(this, Mo, {
|
|
5773
5780
|
root: h
|
|
5774
5781
|
});
|
|
5775
5782
|
this.controls = g;
|
|
@@ -5807,7 +5814,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5807
5814
|
var e = this;
|
|
5808
5815
|
["focus", "blur"].forEach(function(i) {
|
|
5809
5816
|
e.on(i, e["on" + i.charAt(0).toUpperCase() + i.slice(1)]);
|
|
5810
|
-
}),
|
|
5817
|
+
}), qi.forEach(function(i) {
|
|
5811
5818
|
document && document.addEventListener(i, e.onFullscreenChange);
|
|
5812
5819
|
}), U.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(Pe, this.resize), this.playFunc = function() {
|
|
5813
5820
|
e.config.closeFocusVideoFocus || e.media.focus();
|
|
@@ -5817,7 +5824,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5817
5824
|
key: "_unbindEvents",
|
|
5818
5825
|
value: function() {
|
|
5819
5826
|
var e = this;
|
|
5820
|
-
this.root.removeEventListener("mousemove", this.mousemoveFunc),
|
|
5827
|
+
this.root.removeEventListener("mousemove", this.mousemoveFunc), qi.forEach(function(i) {
|
|
5821
5828
|
document.removeEventListener(i, e.onFullscreenChange);
|
|
5822
5829
|
}), this.playFunc && this.off(ge, this.playFunc), this.off(xe, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
|
|
5823
5830
|
}
|
|
@@ -5830,7 +5837,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5830
5837
|
key: "_startInit",
|
|
5831
5838
|
value: function(e) {
|
|
5832
5839
|
var i = this;
|
|
5833
|
-
if (this.media && !((!e || e === "" || f.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(
|
|
5840
|
+
if (this.media && !((!e || e === "" || f.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(Un), V.logWarn("config.url is null, please get url and run player._startInit(url)"), this.config.nullUrlStart))) {
|
|
5834
5841
|
this.handleSource && (this._detachSourceEvents(this.media), f.typeOf(e) === "Array" && e.length > 0 ? this._attachSourceEvents(this.media, e) : !this.media.src || this.media.src !== e ? this.media.src = e : e || this.media.removeAttribute("src")), f.typeOf(this.config.volume) === "Number" && (this.volume = this.config.volume);
|
|
5835
5842
|
var n = this.innerContainer ? this.innerContainer : this.root;
|
|
5836
5843
|
this.media instanceof window.Element && !n.contains(this.media) && n.insertBefore(this.media, n.firstChild);
|
|
@@ -5877,7 +5884,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5877
5884
|
value: function() {
|
|
5878
5885
|
var e = this;
|
|
5879
5886
|
this.config.presets.forEach(function(i) {
|
|
5880
|
-
|
|
5887
|
+
Fo(e, i);
|
|
5881
5888
|
});
|
|
5882
5889
|
}
|
|
5883
5890
|
}, {
|
|
@@ -6142,7 +6149,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6142
6149
|
if (s && (i.map(function(u) {
|
|
6143
6150
|
e.deregister(u);
|
|
6144
6151
|
}), n)) {
|
|
6145
|
-
var l =
|
|
6152
|
+
var l = sn();
|
|
6146
6153
|
Object.keys(this.config).keys(function(u) {
|
|
6147
6154
|
e.config[u] !== "undefined" && (u === "plugins" || u === "presets" || u === "el" || u === "id") && (e.config[u] = l[u]);
|
|
6148
6155
|
});
|
|
@@ -6153,7 +6160,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6153
6160
|
value: function() {
|
|
6154
6161
|
var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
|
|
6155
6162
|
if (!(!s || !l)) {
|
|
6156
|
-
if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute($e), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(wi), (e = Oe) === null || e === void 0 || e.remove(this), re.destroy(this),
|
|
6163
|
+
if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute($e), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(wi), (e = Oe) === null || e === void 0 || e.remove(this), re.destroy(this), er(this), B(N(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
|
|
6157
6164
|
for (var u = n.children, c = 0; c < u.length; c++)
|
|
6158
6165
|
n.removeChild(u[c]);
|
|
6159
6166
|
!n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(g) {
|
|
@@ -6215,8 +6222,8 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6215
6222
|
if (s === this._fullscreenEl)
|
|
6216
6223
|
return this.onFullscreenChange(), Promise.resolve();
|
|
6217
6224
|
try {
|
|
6218
|
-
for (var l = 0; l <
|
|
6219
|
-
var u =
|
|
6225
|
+
for (var l = 0; l < Zi.length; l++) {
|
|
6226
|
+
var u = Zi[l];
|
|
6220
6227
|
if (e[u]) {
|
|
6221
6228
|
var c = u === "webkitRequestFullscreen" ? e.webkitRequestFullscreen(window.Element.ALLOW_KEYBOARD_INPUT) : e[u]();
|
|
6222
6229
|
return c && c.then ? c : Promise.resolve();
|
|
@@ -6235,8 +6242,8 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6235
6242
|
var i = this.media;
|
|
6236
6243
|
this._fullActionFrom = "exit";
|
|
6237
6244
|
try {
|
|
6238
|
-
for (var n = 0; n <
|
|
6239
|
-
var s =
|
|
6245
|
+
for (var n = 0; n < Ji.length; n++) {
|
|
6246
|
+
var s = Ji[n];
|
|
6240
6247
|
if (document[s]) {
|
|
6241
6248
|
var l = document[s]();
|
|
6242
6249
|
return l && l.then ? l : Promise.resolve();
|
|
@@ -6315,7 +6322,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6315
6322
|
this.onBlur(e);
|
|
6316
6323
|
return;
|
|
6317
6324
|
}
|
|
6318
|
-
this._clearUserTimer(), this.emit(
|
|
6325
|
+
this._clearUserTimer(), this.emit(Hn, Q({
|
|
6319
6326
|
paused: this.paused,
|
|
6320
6327
|
ended: this.ended
|
|
6321
6328
|
}, e));
|
|
@@ -6400,7 +6407,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6400
6407
|
value: function() {
|
|
6401
6408
|
var e = this;
|
|
6402
6409
|
this.waitTimer && f.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = f.setTimeout(this, function() {
|
|
6403
|
-
e.addClass(T.LOADING), e.emit(
|
|
6410
|
+
e.addClass(T.LOADING), e.emit(jn), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
|
|
6404
6411
|
}, this.config.minWaitDelay);
|
|
6405
6412
|
}
|
|
6406
6413
|
}, {
|
|
@@ -6560,7 +6567,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6560
6567
|
}, {
|
|
6561
6568
|
key: "setState",
|
|
6562
6569
|
value: function(e) {
|
|
6563
|
-
V.logInfo("setState", "state from:".concat(
|
|
6570
|
+
V.logInfo("setState", "state from:".concat(an[this.state], " to:").concat(an[e])), this._state = e;
|
|
6564
6571
|
}
|
|
6565
6572
|
}, {
|
|
6566
6573
|
key: "_preProcessUrl",
|
|
@@ -6726,18 +6733,18 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6726
6733
|
}, {
|
|
6727
6734
|
key: "avgSpeed",
|
|
6728
6735
|
get: function() {
|
|
6729
|
-
return
|
|
6736
|
+
return ln;
|
|
6730
6737
|
},
|
|
6731
6738
|
set: function(e) {
|
|
6732
|
-
|
|
6739
|
+
ln = e;
|
|
6733
6740
|
}
|
|
6734
6741
|
}, {
|
|
6735
6742
|
key: "realTimeSpeed",
|
|
6736
6743
|
get: function() {
|
|
6737
|
-
return
|
|
6744
|
+
return on;
|
|
6738
6745
|
},
|
|
6739
6746
|
set: function(e) {
|
|
6740
|
-
|
|
6747
|
+
on = e;
|
|
6741
6748
|
}
|
|
6742
6749
|
}, {
|
|
6743
6750
|
key: "offsetCurrentTime",
|
|
@@ -6775,14 +6782,14 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6775
6782
|
value: function(e, i, n) {
|
|
6776
6783
|
for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
|
|
6777
6784
|
l[u - 3] = arguments[u];
|
|
6778
|
-
return
|
|
6785
|
+
return Qi.call.apply(Qi, [this].concat(Array.prototype.slice.call(arguments)));
|
|
6779
6786
|
}
|
|
6780
6787
|
}, {
|
|
6781
6788
|
key: "removePluginHooks",
|
|
6782
6789
|
value: function(e, i, n) {
|
|
6783
6790
|
for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
|
|
6784
6791
|
l[u - 3] = arguments[u];
|
|
6785
|
-
return
|
|
6792
|
+
return en.call.apply(en, [this].concat(Array.prototype.slice.call(arguments)));
|
|
6786
6793
|
}
|
|
6787
6794
|
}, {
|
|
6788
6795
|
key: "setUserActive",
|
|
@@ -6839,10 +6846,10 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6839
6846
|
r.plugins || (r.plugins = {}), r.plugins[e] = i;
|
|
6840
6847
|
}
|
|
6841
6848
|
}]), r;
|
|
6842
|
-
}(
|
|
6849
|
+
}(yo);
|
|
6843
6850
|
_(Ht, "defaultPreset", null);
|
|
6844
6851
|
_(Ht, "XgVideoProxy", null);
|
|
6845
|
-
Ht.instManager =
|
|
6852
|
+
Ht.instManager = ir.getInstance();
|
|
6846
6853
|
function ae() {
|
|
6847
6854
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
6848
6855
|
}
|
|
@@ -6854,7 +6861,7 @@ var Re = {
|
|
|
6854
6861
|
WAIT_END: "waitingEnd",
|
|
6855
6862
|
SEEK_START: "seekStart",
|
|
6856
6863
|
SEEK_END: "seekEnd"
|
|
6857
|
-
},
|
|
6864
|
+
}, Vo = /* @__PURE__ */ function(o) {
|
|
6858
6865
|
F(r, o);
|
|
6859
6866
|
var a = M(r);
|
|
6860
6867
|
function r() {
|
|
@@ -6981,7 +6988,7 @@ var Re = {
|
|
|
6981
6988
|
key: "emitLog",
|
|
6982
6989
|
value: function(e, i) {
|
|
6983
6990
|
var n = this.player;
|
|
6984
|
-
this.emit(
|
|
6991
|
+
this.emit(Kn, Q({
|
|
6985
6992
|
t: ae(),
|
|
6986
6993
|
host: f.getHostFromUrl(n.currentSrc),
|
|
6987
6994
|
vtype: n.vtype,
|
|
@@ -7005,13 +7012,13 @@ var Re = {
|
|
|
7005
7012
|
}
|
|
7006
7013
|
}]), r;
|
|
7007
7014
|
}(W);
|
|
7008
|
-
function
|
|
7015
|
+
function jo() {
|
|
7009
7016
|
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">
|
|
7010
7017
|
<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>
|
|
7011
7018
|
</svg>
|
|
7012
7019
|
`, "image/svg+xml").firstChild;
|
|
7013
7020
|
}
|
|
7014
|
-
var
|
|
7021
|
+
var $o = /* @__PURE__ */ function(o) {
|
|
7015
7022
|
F(r, o);
|
|
7016
7023
|
var a = M(r);
|
|
7017
7024
|
function r() {
|
|
@@ -7021,7 +7028,7 @@ var jo = /* @__PURE__ */ function(o) {
|
|
|
7021
7028
|
key: "registerIcons",
|
|
7022
7029
|
value: function() {
|
|
7023
7030
|
return {
|
|
7024
|
-
replay:
|
|
7031
|
+
replay: jo
|
|
7025
7032
|
};
|
|
7026
7033
|
}
|
|
7027
7034
|
}, {
|
|
@@ -7094,7 +7101,7 @@ var jo = /* @__PURE__ */ function(o) {
|
|
|
7094
7101
|
};
|
|
7095
7102
|
}
|
|
7096
7103
|
}]), r;
|
|
7097
|
-
}(W),
|
|
7104
|
+
}(W), Wo = /* @__PURE__ */ function(o) {
|
|
7098
7105
|
F(r, o);
|
|
7099
7106
|
var a = M(r);
|
|
7100
7107
|
function r() {
|
|
@@ -7219,7 +7226,7 @@ function Si() {
|
|
|
7219
7226
|
`, "image/svg+xml").firstChild;
|
|
7220
7227
|
}
|
|
7221
7228
|
var be = {};
|
|
7222
|
-
function
|
|
7229
|
+
function Go(o, a) {
|
|
7223
7230
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
7224
7231
|
start: null,
|
|
7225
7232
|
end: null
|
|
@@ -7228,7 +7235,7 @@ function Wo(o, a) {
|
|
|
7228
7235
|
r.end && r.end(), window.clearTimeout(be[o].id), delete be[o];
|
|
7229
7236
|
}, a), be[o].id;
|
|
7230
7237
|
}
|
|
7231
|
-
function
|
|
7238
|
+
function un(o) {
|
|
7232
7239
|
if (o) {
|
|
7233
7240
|
window.clearTimeout(o);
|
|
7234
7241
|
return;
|
|
@@ -7237,7 +7244,7 @@ function ln(o) {
|
|
|
7237
7244
|
window.clearTimeout(be[a].id), delete be[a];
|
|
7238
7245
|
});
|
|
7239
7246
|
}
|
|
7240
|
-
var
|
|
7247
|
+
var Ko = /* @__PURE__ */ function(o) {
|
|
7241
7248
|
F(r, o);
|
|
7242
7249
|
var a = M(r);
|
|
7243
7250
|
function r(t) {
|
|
@@ -7329,7 +7336,7 @@ var Go = /* @__PURE__ */ function(o) {
|
|
|
7329
7336
|
key: "animate",
|
|
7330
7337
|
value: function(e) {
|
|
7331
7338
|
var i = this;
|
|
7332
|
-
this._animateId =
|
|
7339
|
+
this._animateId = Go("pauseplay", 400, {
|
|
7333
7340
|
start: function() {
|
|
7334
7341
|
f.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
|
|
7335
7342
|
},
|
|
@@ -7341,7 +7348,7 @@ var Go = /* @__PURE__ */ function(o) {
|
|
|
7341
7348
|
}, {
|
|
7342
7349
|
key: "endAnimate",
|
|
7343
7350
|
value: function() {
|
|
7344
|
-
f.removeClass(this.root, "interact"),
|
|
7351
|
+
f.removeClass(this.root, "interact"), un(this._animateId), this._animateId = null;
|
|
7345
7352
|
}
|
|
7346
7353
|
}, {
|
|
7347
7354
|
key: "switchPausePlay",
|
|
@@ -7385,7 +7392,7 @@ var Go = /* @__PURE__ */ function(o) {
|
|
|
7385
7392
|
}, {
|
|
7386
7393
|
key: "destroy",
|
|
7387
7394
|
value: function() {
|
|
7388
|
-
this.unbind(["click", "touchend"], this.clickHandler),
|
|
7395
|
+
this.unbind(["click", "touchend"], this.clickHandler), un(this._animateId);
|
|
7389
7396
|
}
|
|
7390
7397
|
}, {
|
|
7391
7398
|
key: "render",
|
|
@@ -7412,7 +7419,7 @@ var Go = /* @__PURE__ */ function(o) {
|
|
|
7412
7419
|
};
|
|
7413
7420
|
}
|
|
7414
7421
|
}]), r;
|
|
7415
|
-
}(W),
|
|
7422
|
+
}(W), Yo = /* @__PURE__ */ function(o) {
|
|
7416
7423
|
F(r, o);
|
|
7417
7424
|
var a = M(r);
|
|
7418
7425
|
function r() {
|
|
@@ -7457,7 +7464,7 @@ function ze(o, a, r) {
|
|
|
7457
7464
|
return '<div class="xg-tips hide"></div>';
|
|
7458
7465
|
}
|
|
7459
7466
|
}
|
|
7460
|
-
var
|
|
7467
|
+
var cn = /* @__PURE__ */ function(o) {
|
|
7461
7468
|
F(r, o);
|
|
7462
7469
|
var a = M(r);
|
|
7463
7470
|
function r() {
|
|
@@ -7507,12 +7514,12 @@ var un = /* @__PURE__ */ function(o) {
|
|
|
7507
7514
|
}
|
|
7508
7515
|
}]), r;
|
|
7509
7516
|
}(W);
|
|
7510
|
-
function
|
|
7517
|
+
function fn(o) {
|
|
7511
7518
|
var a = parseFloat(o), r = o.indexOf("%") === -1 && !Number.isNaN(a);
|
|
7512
7519
|
return r && a;
|
|
7513
7520
|
}
|
|
7514
|
-
var xi = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"],
|
|
7515
|
-
function
|
|
7521
|
+
var xi = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], nr = xi.length;
|
|
7522
|
+
function Xo() {
|
|
7516
7523
|
for (var o = {
|
|
7517
7524
|
width: 0,
|
|
7518
7525
|
height: 0,
|
|
@@ -7520,30 +7527,30 @@ function Yo() {
|
|
|
7520
7527
|
innerHeight: 0,
|
|
7521
7528
|
outerWidth: 0,
|
|
7522
7529
|
outerHeight: 0
|
|
7523
|
-
}, a = 0; a <
|
|
7530
|
+
}, a = 0; a < nr; a++) {
|
|
7524
7531
|
var r = xi[a];
|
|
7525
7532
|
o[r] = 0;
|
|
7526
7533
|
}
|
|
7527
7534
|
return o;
|
|
7528
7535
|
}
|
|
7529
|
-
function
|
|
7536
|
+
function qo(o) {
|
|
7530
7537
|
var a = window.getComputedStyle(o);
|
|
7531
7538
|
return a;
|
|
7532
7539
|
}
|
|
7533
|
-
function
|
|
7540
|
+
function hn(o) {
|
|
7534
7541
|
if (typeof o == "string" && (o = document.querySelector(o)), !(!o || le(o) !== "object" || !o.nodeType)) {
|
|
7535
|
-
var a =
|
|
7542
|
+
var a = qo(o);
|
|
7536
7543
|
if (a.display === "none")
|
|
7537
|
-
return
|
|
7544
|
+
return Xo();
|
|
7538
7545
|
var r = {};
|
|
7539
7546
|
r.width = o.offsetWidth, r.height = o.offsetHeight;
|
|
7540
|
-
for (var t = r.isBorderBox = a.boxSizing === "border-box", e = 0; e <
|
|
7547
|
+
for (var t = r.isBorderBox = a.boxSizing === "border-box", e = 0; e < nr; e++) {
|
|
7541
7548
|
var i = xi[e], n = a[i], s = parseFloat(n);
|
|
7542
7549
|
r[i] = Number.isNaN(s) ? 0 : s;
|
|
7543
7550
|
}
|
|
7544
|
-
var l = r.paddingLeft + r.paddingRight, u = r.paddingTop + r.paddingBottom, c = r.marginLeft + r.marginRight, h = r.marginTop + r.marginBottom, g = r.borderLeftWidth + r.borderRightWidth, p = r.borderTopWidth + r.borderBottomWidth, d = t, v =
|
|
7551
|
+
var l = r.paddingLeft + r.paddingRight, u = r.paddingTop + r.paddingBottom, c = r.marginLeft + r.marginRight, h = r.marginTop + r.marginBottom, g = r.borderLeftWidth + r.borderRightWidth, p = r.borderTopWidth + r.borderBottomWidth, d = t, v = fn(a.width);
|
|
7545
7552
|
v !== !1 && (r.width = v + (d ? 0 : l + g));
|
|
7546
|
-
var m =
|
|
7553
|
+
var m = fn(a.height);
|
|
7547
7554
|
return m !== !1 && (r.height = m + (d ? 0 : u + p)), r.innerWidth = r.width - (l + g), r.innerHeight = r.height - (u + p), r.outerWidth = r.width + c, r.outerHeight = r.height + h, r;
|
|
7548
7555
|
}
|
|
7549
7556
|
}
|
|
@@ -7558,11 +7565,11 @@ var Zt = {
|
|
|
7558
7565
|
START: "dragStart",
|
|
7559
7566
|
MOVE: "dragMove",
|
|
7560
7567
|
ENDED: "dragEnded"
|
|
7561
|
-
},
|
|
7568
|
+
}, dn = {
|
|
7562
7569
|
mousedown: ["mousemove", "mouseup"],
|
|
7563
7570
|
touchstart: ["touchmove", "touchend", "touchcancel"],
|
|
7564
7571
|
pointerdown: ["pointermove", "pointerup", "pointercancel"]
|
|
7565
|
-
},
|
|
7572
|
+
}, Zo = /* @__PURE__ */ function(o) {
|
|
7566
7573
|
F(r, o);
|
|
7567
7574
|
var a = M(r);
|
|
7568
7575
|
function r(t) {
|
|
@@ -7579,7 +7586,7 @@ var Zt = {
|
|
|
7579
7586
|
key: "_bindStartEvent",
|
|
7580
7587
|
value: function() {
|
|
7581
7588
|
var e = this;
|
|
7582
|
-
"ontouchstart" in window ? this._startKey = "touchstart" : this._startKey = "mousedown", this["on".concat(this._startKey)] = this["on".concat(this._startKey)].bind(this), this._handlerDom.addEventListener(this._startKey, this["on".concat(this._startKey)]),
|
|
7589
|
+
"ontouchstart" in window ? this._startKey = "touchstart" : this._startKey = "mousedown", this["on".concat(this._startKey)] = this["on".concat(this._startKey)].bind(this), this._handlerDom.addEventListener(this._startKey, this["on".concat(this._startKey)]), dn[this._startKey].map(function(i) {
|
|
7583
7590
|
e["on".concat(i)] = e["on".concat(i)].bind(e);
|
|
7584
7591
|
});
|
|
7585
7592
|
}
|
|
@@ -7593,7 +7600,7 @@ var Zt = {
|
|
|
7593
7600
|
value: function(e) {
|
|
7594
7601
|
var i = this;
|
|
7595
7602
|
if (e) {
|
|
7596
|
-
var n =
|
|
7603
|
+
var n = dn[this._startKey];
|
|
7597
7604
|
n.map(function(s) {
|
|
7598
7605
|
window.addEventListener(s, i["on".concat(s)]);
|
|
7599
7606
|
}), this._boundPointerEvents = n;
|
|
@@ -7685,7 +7692,7 @@ var Zt = {
|
|
|
7685
7692
|
value: function(e, i) {
|
|
7686
7693
|
if (!(!this._root || this.isDown || !this.isEnabled)) {
|
|
7687
7694
|
this.downPoint = i, this.dragPoint.x = 0, this.dragPoint.y = 0, this._getPosition();
|
|
7688
|
-
var n =
|
|
7695
|
+
var n = hn(this._root);
|
|
7689
7696
|
this.startPos.x = this.position.x, this.startPos.y = this.position.y, this.startPos.maxY = window.innerHeight - n.height, this.startPos.maxX = window.innerWidth - n.width, this.setLeftTop(), this.isDown = !0, this._bindPostStartEvents(e);
|
|
7690
7697
|
}
|
|
7691
7698
|
}
|
|
@@ -7766,13 +7773,13 @@ var Zt = {
|
|
|
7766
7773
|
key: "_getPositionCoord",
|
|
7767
7774
|
value: function(e, i) {
|
|
7768
7775
|
if (e.indexOf("%") !== -1) {
|
|
7769
|
-
var n =
|
|
7776
|
+
var n = hn(this._root.parentNode);
|
|
7770
7777
|
return n ? parseFloat(e) / 100 * n[i] : 0;
|
|
7771
7778
|
}
|
|
7772
7779
|
return parseInt(e, 10);
|
|
7773
7780
|
}
|
|
7774
7781
|
}]), r;
|
|
7775
|
-
}(
|
|
7782
|
+
}(Rn), Jo = /* @__PURE__ */ function(o) {
|
|
7776
7783
|
F(r, o);
|
|
7777
7784
|
var a = M(r);
|
|
7778
7785
|
function r(t) {
|
|
@@ -7825,10 +7832,10 @@ var Zt = {
|
|
|
7825
7832
|
}
|
|
7826
7833
|
}
|
|
7827
7834
|
};
|
|
7828
|
-
i.controls.registerPlugin(
|
|
7835
|
+
i.controls.registerPlugin(cn, s, cn.pluginName);
|
|
7829
7836
|
}
|
|
7830
7837
|
var l = f.checkTouchSupport() ? "touchend" : "click";
|
|
7831
|
-
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new
|
|
7838
|
+
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Zo(this.player.root, {
|
|
7832
7839
|
handle: this.root
|
|
7833
7840
|
})), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
|
|
7834
7841
|
}
|
|
@@ -7943,7 +7950,7 @@ var Zt = {
|
|
|
7943
7950
|
var l = y(t), u = l.playerConfig, c = l.player;
|
|
7944
7951
|
!u.closeFocusVideoFocus && c.media.focus(), u.closeDelayBlur ? c.focus({
|
|
7945
7952
|
autoHide: !1
|
|
7946
|
-
}) : c.focus(), t.emit(
|
|
7953
|
+
}) : c.focus(), t.emit(Vn);
|
|
7947
7954
|
}), _(y(t), "onMouseLeave", function(s) {
|
|
7948
7955
|
var l = t.playerConfig, u = l.closePlayerBlur, c = l.leavePlayerTime, h = l.closeDelayBlur;
|
|
7949
7956
|
!u && !h && (c ? t.player.focus({
|
|
@@ -7951,7 +7958,7 @@ var Zt = {
|
|
|
7951
7958
|
delay: c
|
|
7952
7959
|
}) : t.player.blur({
|
|
7953
7960
|
ignorePaused: !0
|
|
7954
|
-
})), t.emit(
|
|
7961
|
+
})), t.emit(zn);
|
|
7955
7962
|
}), _(y(t), "onVideoClick", function(s) {
|
|
7956
7963
|
var l = y(t), u = l.player, c = l.playerConfig;
|
|
7957
7964
|
s.target && c.closeVideoClick || (s.target === u.root || s.target === u.media || s.target === u.innerContainer || s.target === u.media.__canvas) && (s.preventDefault(), c.closeVideoStopPropagation || s.stopPropagation(), t._clickCount++, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), t.clickTimer = setTimeout(function() {
|
|
@@ -8042,21 +8049,21 @@ var Zt = {
|
|
|
8042
8049
|
TOUCH_MOVE: "touchmove",
|
|
8043
8050
|
TOUCH_START: "touchstart",
|
|
8044
8051
|
TOUCH_END: "touchend"
|
|
8045
|
-
},
|
|
8052
|
+
}, Qo = {
|
|
8046
8053
|
start: "touchstart",
|
|
8047
8054
|
end: "touchend",
|
|
8048
8055
|
move: "touchmove",
|
|
8049
8056
|
cancel: "touchcancel"
|
|
8050
|
-
},
|
|
8057
|
+
}, el = {
|
|
8051
8058
|
start: "mousedown",
|
|
8052
8059
|
end: "mouseup",
|
|
8053
8060
|
move: "mousemove",
|
|
8054
8061
|
cancel: "mouseleave"
|
|
8055
8062
|
};
|
|
8056
|
-
function
|
|
8063
|
+
function gn(o) {
|
|
8057
8064
|
return o && o.length > 0 ? o[o.length - 1] : null;
|
|
8058
8065
|
}
|
|
8059
|
-
function
|
|
8066
|
+
function tl() {
|
|
8060
8067
|
return {
|
|
8061
8068
|
pressDelay: 600,
|
|
8062
8069
|
dbClickDelay: 200,
|
|
@@ -8066,13 +8073,13 @@ function el() {
|
|
|
8066
8073
|
needPreventDefault: !0
|
|
8067
8074
|
};
|
|
8068
8075
|
}
|
|
8069
|
-
var
|
|
8076
|
+
var il = /* @__PURE__ */ function() {
|
|
8070
8077
|
function o(a) {
|
|
8071
8078
|
var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
8072
8079
|
eventType: "touch"
|
|
8073
8080
|
};
|
|
8074
8081
|
P(this, o), _(this, "onTouchStart", function(e) {
|
|
8075
|
-
var i = r._pos, n = r.root, s =
|
|
8082
|
+
var i = r._pos, n = r.root, s = gn(e.touches);
|
|
8076
8083
|
i.x = s ? parseInt(s.pageX, 10) : e.pageX, i.y = s ? parseInt(s.pageX, 10) : e.pageX, i.start = !0, r.__setPress(e), n.addEventListener(r.events.end, r.onTouchEnd), n.addEventListener(r.events.cancel, r.onTouchCancel), n.addEventListener(r.events.move, r.onTouchMove), r.trigger(Fe.TOUCH_START, e);
|
|
8077
8084
|
}), _(this, "onTouchCancel", function(e) {
|
|
8078
8085
|
r.onTouchEnd(e);
|
|
@@ -8080,16 +8087,16 @@ var tl = /* @__PURE__ */ function() {
|
|
|
8080
8087
|
var i = r._pos, n = r.root;
|
|
8081
8088
|
r.__clearPress(), n.removeEventListener(r.events.cancel, r.onTouchCancel), n.removeEventListener(r.events.end, r.onTouchEnd), n.removeEventListener(r.events.move, r.onTouchMove), e.moving = i.moving, e.press = i.press, i.press && r.trigger(Fe.PRESS_END, e), r.trigger(Fe.TOUCH_END, e), !i.press && !i.moving && r.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
|
|
8082
8089
|
}), _(this, "onTouchMove", function(e) {
|
|
8083
|
-
var i = r._pos, n = r.config, s =
|
|
8090
|
+
var i = r._pos, n = r.config, s = gn(e.touches), l = s ? parseInt(s.pageX, 10) : e.pageX, u = s ? parseInt(s.pageY, 10) : e.pageX, c = l - i.x, h = u - i.y;
|
|
8084
8091
|
Math.abs(h) < n.miniStep && Math.abs(c) < n.miniStep || (r.__clearPress(), i.press && r.trigger(Fe.PRESS_END, e), i.press = !1, i.moving = !0, r.trigger(Fe.TOUCH_MOVE, e));
|
|
8085
8092
|
}), this._pos = {
|
|
8086
8093
|
moving: !1,
|
|
8087
8094
|
start: !1,
|
|
8088
8095
|
x: 0,
|
|
8089
8096
|
y: 0
|
|
8090
|
-
}, this.config =
|
|
8097
|
+
}, this.config = tl(), Object.keys(t).map(function(e) {
|
|
8091
8098
|
r.config[e] = t[e];
|
|
8092
|
-
}), this.root = a, this.events = t.eventType === "mouse" ?
|
|
8099
|
+
}), this.root = a, this.events = t.eventType === "mouse" ? el : Qo, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
|
|
8093
8100
|
}
|
|
8094
8101
|
return A(o, [{
|
|
8095
8102
|
key: "_initEvent",
|
|
@@ -8168,7 +8175,7 @@ var tl = /* @__PURE__ */ function() {
|
|
|
8168
8175
|
}
|
|
8169
8176
|
}]), o;
|
|
8170
8177
|
}();
|
|
8171
|
-
function
|
|
8178
|
+
function nl() {
|
|
8172
8179
|
return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
8173
8180
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
8174
8181
|
<path opacity="0.54"
|
|
@@ -8182,7 +8189,7 @@ var Qe = {
|
|
|
8182
8189
|
SEEKING: "seeking",
|
|
8183
8190
|
PLAYBACK: "playbackrate",
|
|
8184
8191
|
LIGHT: ""
|
|
8185
|
-
}, ei = ["videoClick", "videoDbClick"],
|
|
8192
|
+
}, ei = ["videoClick", "videoDbClick"], rl = /* @__PURE__ */ function(o) {
|
|
8186
8193
|
F(r, o);
|
|
8187
8194
|
var a = M(r);
|
|
8188
8195
|
function r(t) {
|
|
@@ -8254,7 +8261,7 @@ var Qe = {
|
|
|
8254
8261
|
value: function() {
|
|
8255
8262
|
return {
|
|
8256
8263
|
seekTipIcon: {
|
|
8257
|
-
icon:
|
|
8264
|
+
icon: nl,
|
|
8258
8265
|
class: "xg-seek-pre"
|
|
8259
8266
|
}
|
|
8260
8267
|
};
|
|
@@ -8269,7 +8276,7 @@ var Qe = {
|
|
|
8269
8276
|
var i = this.playerConfig, n = this.config, s = this.player;
|
|
8270
8277
|
i.closeVideoDblclick === !0 && (n.closedbClick = !0), this.resetPos(), f.isUndefined(i.disableGesture) || (n.disableGesture = !!i.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = f.createDom("xg-mask", "", {}, "xgmask"), s.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
|
|
8271
8278
|
var l = this.domEventType === "mouse" ? "mouse" : "touch";
|
|
8272
|
-
this.touch = new
|
|
8279
|
+
this.touch = new il(this.root, {
|
|
8273
8280
|
eventType: l,
|
|
8274
8281
|
needPreventDefault: !this.config.disableGesture
|
|
8275
8282
|
}), this.root.addEventListener("contextmenu", function(g) {
|
|
@@ -8611,14 +8618,14 @@ var Qe = {
|
|
|
8611
8618
|
}
|
|
8612
8619
|
}]), r;
|
|
8613
8620
|
}(W);
|
|
8614
|
-
function
|
|
8621
|
+
function sl(o) {
|
|
8615
8622
|
o.preventDefault(), o.returnValue = !1;
|
|
8616
8623
|
}
|
|
8617
|
-
function
|
|
8624
|
+
function pn(o) {
|
|
8618
8625
|
var a = o.tagName;
|
|
8619
8626
|
return !!(a === "INPUT" || a === "TEXTAREA" || o.isContentEditable);
|
|
8620
8627
|
}
|
|
8621
|
-
var
|
|
8628
|
+
var vn = /* @__PURE__ */ function(o) {
|
|
8622
8629
|
F(r, o);
|
|
8623
8630
|
var a = M(r);
|
|
8624
8631
|
function r() {
|
|
@@ -8629,11 +8636,11 @@ var pn = /* @__PURE__ */ function(o) {
|
|
|
8629
8636
|
return t = a.call.apply(a, [this].concat(i)), _(y(t), "onBodyKeyDown", function(s) {
|
|
8630
8637
|
if (t.player) {
|
|
8631
8638
|
var l = s || window.event, u = l.keyCode, c = y(t), h = c._keyState, g = c.player, p = t.config, d = p.disable, v = p.disableBodyTrigger, m = p.isIgnoreUserActive;
|
|
8632
|
-
if (d || v || !(g.isUserActive || m) ||
|
|
8639
|
+
if (d || v || !(g.isUserActive || m) || pn(l.target) || !t.checkIsVisible() || l.metaKey || l.altKey || l.ctrlKey) {
|
|
8633
8640
|
h.isBodyKeyDown = !1;
|
|
8634
8641
|
return;
|
|
8635
8642
|
}
|
|
8636
|
-
!s.repeat && !h.isKeyDown && ((l.target === document.body || t.config.isGlobalTrigger && !
|
|
8643
|
+
!s.repeat && !h.isKeyDown && ((l.target === document.body || t.config.isGlobalTrigger && !pn(l.target)) && t.checkCode(u, !0) && (h.isBodyKeyDown = !0), document.addEventListener("keyup", t.onBodyKeyUp)), h.isBodyKeyDown && t.handleKeyDown(l);
|
|
8637
8644
|
}
|
|
8638
8645
|
}), _(y(t), "onBodyKeyUp", function(s) {
|
|
8639
8646
|
t.player && (document.removeEventListener("keyup", t.onBodyKeyUp), t.handleKeyUp(s));
|
|
@@ -8854,13 +8861,13 @@ var pn = /* @__PURE__ */ function(o) {
|
|
|
8854
8861
|
if (h === e) {
|
|
8855
8862
|
if (!g && !(n && d)) {
|
|
8856
8863
|
var v = n && p || c;
|
|
8857
|
-
typeof v == "function" ? c(i, this.player, n) : typeof v == "string" && typeof this[v] == "function" && this[v](i, this.player, n), this.emit(
|
|
8864
|
+
typeof v == "function" ? c(i, this.player, n) : typeof v == "string" && typeof this[v] == "function" && this[v](i, this.player, n), this.emit(Gn, Q({
|
|
8858
8865
|
key: s[l],
|
|
8859
8866
|
target: i.target,
|
|
8860
8867
|
isPress: n
|
|
8861
8868
|
}, this.keyCodeMap[s[l]]));
|
|
8862
8869
|
}
|
|
8863
|
-
|
|
8870
|
+
sl(i), i.stopPropagation();
|
|
8864
8871
|
break;
|
|
8865
8872
|
}
|
|
8866
8873
|
}
|
|
@@ -8902,13 +8909,13 @@ var pn = /* @__PURE__ */ function(o) {
|
|
|
8902
8909
|
}
|
|
8903
8910
|
}]), r;
|
|
8904
8911
|
}(He);
|
|
8905
|
-
function
|
|
8912
|
+
function al() {
|
|
8906
8913
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
|
|
8907
8914
|
<path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
|
|
8908
8915
|
</svg>
|
|
8909
8916
|
`, "image/svg+xml").firstChild;
|
|
8910
8917
|
}
|
|
8911
|
-
var
|
|
8918
|
+
var ol = /* @__PURE__ */ function(o) {
|
|
8912
8919
|
F(r, o);
|
|
8913
8920
|
var a = M(r);
|
|
8914
8921
|
function r() {
|
|
@@ -8918,7 +8925,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
8918
8925
|
key: "registerIcons",
|
|
8919
8926
|
value: function() {
|
|
8920
8927
|
return {
|
|
8921
|
-
loadingIcon:
|
|
8928
|
+
loadingIcon: al
|
|
8922
8929
|
};
|
|
8923
8930
|
}
|
|
8924
8931
|
}, {
|
|
@@ -8947,7 +8954,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
8947
8954
|
};
|
|
8948
8955
|
}
|
|
8949
8956
|
}]), r;
|
|
8950
|
-
}(W),
|
|
8957
|
+
}(W), ll = [{
|
|
8951
8958
|
tag: "xg-cache",
|
|
8952
8959
|
className: "xgplayer-progress-cache",
|
|
8953
8960
|
styleKey: "cachedColor"
|
|
@@ -8955,7 +8962,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
8955
8962
|
tag: "xg-played",
|
|
8956
8963
|
className: "xgplayer-progress-played",
|
|
8957
8964
|
styleKey: "playedColor"
|
|
8958
|
-
}],
|
|
8965
|
+
}], ul = /* @__PURE__ */ function() {
|
|
8959
8966
|
function o(a) {
|
|
8960
8967
|
P(this, o), this.fragments = a.fragments || [], this.fragments.length === 0 && this.fragments.push({
|
|
8961
8968
|
percent: 1
|
|
@@ -9142,7 +9149,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9142
9149
|
var l = f.createDom("xg-inner", "", {
|
|
9143
9150
|
style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
|
|
9144
9151
|
}, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
|
|
9145
|
-
return r.root.appendChild(l),
|
|
9152
|
+
return r.root.appendChild(l), ll.forEach(function(u) {
|
|
9146
9153
|
l.appendChild(f.createDom(u.tag, "", {
|
|
9147
9154
|
style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
|
|
9148
9155
|
}, u.className));
|
|
@@ -9155,10 +9162,10 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9155
9162
|
return this.root;
|
|
9156
9163
|
}
|
|
9157
9164
|
}]), o;
|
|
9158
|
-
}(),
|
|
9165
|
+
}(), mn = {
|
|
9159
9166
|
POINT: "inner-focus-point",
|
|
9160
9167
|
HIGHLIGHT: "inner-focus-highlight"
|
|
9161
|
-
},
|
|
9168
|
+
}, cl = /* @__PURE__ */ function(o) {
|
|
9162
9169
|
F(r, o);
|
|
9163
9170
|
var a = M(r);
|
|
9164
9171
|
function r(t) {
|
|
@@ -9288,7 +9295,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9288
9295
|
e.emitUserAction("fragment_focus", "fragment_focus", u);
|
|
9289
9296
|
}
|
|
9290
9297
|
});
|
|
9291
|
-
this.innerList ? this.innerList.reset(s) : (this.innerList = new
|
|
9298
|
+
this.innerList ? this.innerList.reset(s) : (this.innerList = new ul(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
|
|
9292
9299
|
e[l] = e.innerList[l].bind(e.innerList);
|
|
9293
9300
|
}));
|
|
9294
9301
|
}
|
|
@@ -9322,7 +9329,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9322
9329
|
e.onTimeupdate();
|
|
9323
9330
|
}), this.on(Ie, function() {
|
|
9324
9331
|
e.onTimeupdate(), e.onCacheUpdate();
|
|
9325
|
-
}), this.on(
|
|
9332
|
+
}), this.on(Bn, function() {
|
|
9326
9333
|
e.onCacheUpdate();
|
|
9327
9334
|
}), this.on(Ye, function() {
|
|
9328
9335
|
e.onCacheUpdate(!0), e.onTimeupdate(!0), e._state.now = 0;
|
|
@@ -9551,7 +9558,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9551
9558
|
fragments: [{
|
|
9552
9559
|
percent: 1
|
|
9553
9560
|
}],
|
|
9554
|
-
fragFocusClass:
|
|
9561
|
+
fragFocusClass: mn.POINT,
|
|
9555
9562
|
fragClass: "",
|
|
9556
9563
|
fragAutoFocus: !1,
|
|
9557
9564
|
miniMoveStep: 5,
|
|
@@ -9566,7 +9573,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9566
9573
|
}, {
|
|
9567
9574
|
key: "FRAGMENT_FOCUS_CLASS",
|
|
9568
9575
|
get: function() {
|
|
9569
|
-
return
|
|
9576
|
+
return mn;
|
|
9570
9577
|
}
|
|
9571
9578
|
}]), r;
|
|
9572
9579
|
}(W), qe = /* @__PURE__ */ function(o) {
|
|
@@ -9598,7 +9605,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9598
9605
|
this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
|
|
9599
9606
|
}
|
|
9600
9607
|
}]), r;
|
|
9601
|
-
}(W),
|
|
9608
|
+
}(W), fl = /* @__PURE__ */ function(o) {
|
|
9602
9609
|
F(r, o);
|
|
9603
9610
|
var a = M(r);
|
|
9604
9611
|
function r() {
|
|
@@ -9686,14 +9693,14 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9686
9693
|
}
|
|
9687
9694
|
}]), r;
|
|
9688
9695
|
}(qe);
|
|
9689
|
-
function
|
|
9696
|
+
function hl() {
|
|
9690
9697
|
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">
|
|
9691
9698
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
9692
9699
|
<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>
|
|
9693
9700
|
</g>
|
|
9694
9701
|
</svg>`, "image/svg+xml").firstChild;
|
|
9695
9702
|
}
|
|
9696
|
-
var
|
|
9703
|
+
var dl = /* @__PURE__ */ function(o) {
|
|
9697
9704
|
F(r, o);
|
|
9698
9705
|
var a = M(r);
|
|
9699
9706
|
function r() {
|
|
@@ -9712,7 +9719,7 @@ var hl = /* @__PURE__ */ function(o) {
|
|
|
9712
9719
|
value: function() {
|
|
9713
9720
|
return {
|
|
9714
9721
|
screenBack: {
|
|
9715
|
-
icon:
|
|
9722
|
+
icon: hl,
|
|
9716
9723
|
class: "xg-fullscreen-back"
|
|
9717
9724
|
}
|
|
9718
9725
|
};
|
|
@@ -9754,19 +9761,19 @@ var hl = /* @__PURE__ */ function(o) {
|
|
|
9754
9761
|
}
|
|
9755
9762
|
}]), r;
|
|
9756
9763
|
}(W);
|
|
9757
|
-
function
|
|
9764
|
+
function gl() {
|
|
9758
9765
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
9759
9766
|
<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>
|
|
9760
9767
|
</svg>
|
|
9761
9768
|
`, "image/svg+xml").firstChild;
|
|
9762
9769
|
}
|
|
9763
|
-
function
|
|
9770
|
+
function pl() {
|
|
9764
9771
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
9765
9772
|
<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>
|
|
9766
9773
|
</svg>
|
|
9767
9774
|
`, "image/svg+xml").firstChild;
|
|
9768
9775
|
}
|
|
9769
|
-
var
|
|
9776
|
+
var vl = /* @__PURE__ */ function(o) {
|
|
9770
9777
|
F(r, o);
|
|
9771
9778
|
var a = M(r);
|
|
9772
9779
|
function r() {
|
|
@@ -9801,7 +9808,7 @@ var pl = /* @__PURE__ */ function(o) {
|
|
|
9801
9808
|
var u = e.find(".xg-tips");
|
|
9802
9809
|
u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
|
|
9803
9810
|
}), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
|
|
9804
|
-
plugin:
|
|
9811
|
+
plugin: dl,
|
|
9805
9812
|
options: {
|
|
9806
9813
|
config: {
|
|
9807
9814
|
onClick: function(u) {
|
|
@@ -9817,11 +9824,11 @@ var pl = /* @__PURE__ */ function(o) {
|
|
|
9817
9824
|
value: function() {
|
|
9818
9825
|
return {
|
|
9819
9826
|
fullscreen: {
|
|
9820
|
-
icon:
|
|
9827
|
+
icon: gl,
|
|
9821
9828
|
class: "xg-get-fullscreen"
|
|
9822
9829
|
},
|
|
9823
9830
|
exitFullscreen: {
|
|
9824
|
-
icon:
|
|
9831
|
+
icon: pl,
|
|
9825
9832
|
class: "xg-exit-fullscreen"
|
|
9826
9833
|
}
|
|
9827
9834
|
};
|
|
@@ -9902,7 +9909,7 @@ var pl = /* @__PURE__ */ function(o) {
|
|
|
9902
9909
|
};
|
|
9903
9910
|
}
|
|
9904
9911
|
}]), r;
|
|
9905
|
-
}(qe),
|
|
9912
|
+
}(qe), ml = /* @__PURE__ */ function(o) {
|
|
9906
9913
|
F(r, o);
|
|
9907
9914
|
var a = M(r);
|
|
9908
9915
|
function r(t) {
|
|
@@ -10052,7 +10059,7 @@ var pl = /* @__PURE__ */ function(o) {
|
|
|
10052
10059
|
};
|
|
10053
10060
|
}
|
|
10054
10061
|
}]), r;
|
|
10055
|
-
}(W),
|
|
10062
|
+
}(W), yl = /* @__PURE__ */ function(o) {
|
|
10056
10063
|
F(r, o);
|
|
10057
10064
|
var a = M(r);
|
|
10058
10065
|
function r() {
|
|
@@ -10190,28 +10197,28 @@ var pl = /* @__PURE__ */ function(o) {
|
|
|
10190
10197
|
}
|
|
10191
10198
|
}]), r;
|
|
10192
10199
|
}(He);
|
|
10193
|
-
function
|
|
10200
|
+
function _l() {
|
|
10194
10201
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10195
10202
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
10196
10203
|
<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>
|
|
10197
10204
|
</svg>
|
|
10198
10205
|
`, "image/svg+xml").firstChild;
|
|
10199
10206
|
}
|
|
10200
|
-
function
|
|
10207
|
+
function kl() {
|
|
10201
10208
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10202
10209
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
10203
10210
|
<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>
|
|
10204
10211
|
</svg>
|
|
10205
10212
|
`, "image/svg+xml").firstChild;
|
|
10206
10213
|
}
|
|
10207
|
-
function
|
|
10214
|
+
function Cl() {
|
|
10208
10215
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10209
10216
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
10210
10217
|
<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>
|
|
10211
10218
|
</svg>
|
|
10212
10219
|
`, "image/svg+xml").firstChild;
|
|
10213
10220
|
}
|
|
10214
|
-
var
|
|
10221
|
+
var wl = /* @__PURE__ */ function(o) {
|
|
10215
10222
|
F(r, o);
|
|
10216
10223
|
var a = M(r);
|
|
10217
10224
|
function r() {
|
|
@@ -10259,15 +10266,15 @@ var Cl = /* @__PURE__ */ function(o) {
|
|
|
10259
10266
|
value: function() {
|
|
10260
10267
|
return {
|
|
10261
10268
|
volumeSmall: {
|
|
10262
|
-
icon:
|
|
10269
|
+
icon: kl,
|
|
10263
10270
|
class: "xg-volume-small"
|
|
10264
10271
|
},
|
|
10265
10272
|
volumeLarge: {
|
|
10266
|
-
icon:
|
|
10273
|
+
icon: _l,
|
|
10267
10274
|
class: "xg-volume"
|
|
10268
10275
|
},
|
|
10269
10276
|
volumeMuted: {
|
|
10270
|
-
icon:
|
|
10277
|
+
icon: Cl,
|
|
10271
10278
|
class: "xg-volume-mute"
|
|
10272
10279
|
}
|
|
10273
10280
|
};
|
|
@@ -10289,7 +10296,7 @@ var Cl = /* @__PURE__ */ function(o) {
|
|
|
10289
10296
|
pre: function(u) {
|
|
10290
10297
|
u.preventDefault(), u.stopPropagation();
|
|
10291
10298
|
}
|
|
10292
|
-
}), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), U.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(
|
|
10299
|
+
}), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), U.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(Mn, this.onVolumeChange), this.once(Pe, this.onVolumeChange), f.typeOf(s) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
|
|
10293
10300
|
}
|
|
10294
10301
|
}
|
|
10295
10302
|
}, {
|
|
@@ -10406,7 +10413,7 @@ var Cl = /* @__PURE__ */ function(o) {
|
|
|
10406
10413
|
}
|
|
10407
10414
|
}]), r;
|
|
10408
10415
|
}(W);
|
|
10409
|
-
function
|
|
10416
|
+
function bl() {
|
|
10410
10417
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
|
|
10411
10418
|
<g clip-path="url(#clip0)">
|
|
10412
10419
|
<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"/>
|
|
@@ -10420,7 +10427,7 @@ function wl() {
|
|
|
10420
10427
|
</svg>
|
|
10421
10428
|
`, "image/svg+xml").firstChild;
|
|
10422
10429
|
}
|
|
10423
|
-
var
|
|
10430
|
+
var Tl = /* @__PURE__ */ function(o) {
|
|
10424
10431
|
F(r, o);
|
|
10425
10432
|
var a = M(r);
|
|
10426
10433
|
function r(t) {
|
|
@@ -10477,13 +10484,13 @@ var bl = /* @__PURE__ */ function(o) {
|
|
|
10477
10484
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, s = this.player;
|
|
10478
10485
|
this.rotateDeg || (this.rotateDeg = 0);
|
|
10479
10486
|
var l = e ? 1 : -1;
|
|
10480
|
-
this.rotateDeg = (this.rotateDeg + 1 + l * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit(
|
|
10487
|
+
this.rotateDeg = (this.rotateDeg + 1 + l * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit($n, this.rotateDeg * 360);
|
|
10481
10488
|
}
|
|
10482
10489
|
}, {
|
|
10483
10490
|
key: "registerIcons",
|
|
10484
10491
|
value: function() {
|
|
10485
10492
|
return {
|
|
10486
|
-
rotate:
|
|
10493
|
+
rotate: bl
|
|
10487
10494
|
};
|
|
10488
10495
|
}
|
|
10489
10496
|
}, {
|
|
@@ -10516,14 +10523,14 @@ var bl = /* @__PURE__ */ function(o) {
|
|
|
10516
10523
|
}
|
|
10517
10524
|
}]), r;
|
|
10518
10525
|
}(qe);
|
|
10519
|
-
function
|
|
10526
|
+
function El() {
|
|
10520
10527
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10521
10528
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
10522
10529
|
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"
|
|
10523
10530
|
fill="white" />
|
|
10524
10531
|
</svg>`, "image/svg+xml").firstChild;
|
|
10525
10532
|
}
|
|
10526
|
-
function
|
|
10533
|
+
function Sl() {
|
|
10527
10534
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10528
10535
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
10529
10536
|
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"
|
|
@@ -10537,7 +10544,7 @@ var et = {
|
|
|
10537
10544
|
PIP: "picture-in-picture",
|
|
10538
10545
|
INLINE: "inline",
|
|
10539
10546
|
FULLSCREEN: "fullscreen"
|
|
10540
|
-
},
|
|
10547
|
+
}, xl = /* @__PURE__ */ function(o) {
|
|
10541
10548
|
F(r, o);
|
|
10542
10549
|
var a = M(r);
|
|
10543
10550
|
function r() {
|
|
@@ -10577,11 +10584,11 @@ var et = {
|
|
|
10577
10584
|
value: function() {
|
|
10578
10585
|
return {
|
|
10579
10586
|
pipIcon: {
|
|
10580
|
-
icon:
|
|
10587
|
+
icon: El,
|
|
10581
10588
|
class: "xg-get-pip"
|
|
10582
10589
|
},
|
|
10583
10590
|
pipIconExit: {
|
|
10584
|
-
icon:
|
|
10591
|
+
icon: Sl,
|
|
10585
10592
|
class: "xg-exit-pip"
|
|
10586
10593
|
}
|
|
10587
10594
|
};
|
|
@@ -10740,13 +10747,13 @@ var et = {
|
|
|
10740
10747
|
}
|
|
10741
10748
|
}]), r;
|
|
10742
10749
|
}(qe);
|
|
10743
|
-
function
|
|
10750
|
+
function Il() {
|
|
10744
10751
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
|
|
10745
10752
|
<path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
|
|
10746
10753
|
</svg>
|
|
10747
10754
|
`, "image/svg+xml").firstChild;
|
|
10748
10755
|
}
|
|
10749
|
-
var
|
|
10756
|
+
var Pl = /* @__PURE__ */ function(o) {
|
|
10750
10757
|
F(r, o);
|
|
10751
10758
|
var a = M(r);
|
|
10752
10759
|
function r(t) {
|
|
@@ -10765,7 +10772,7 @@ var Il = /* @__PURE__ */ function(o) {
|
|
|
10765
10772
|
key: "registerIcons",
|
|
10766
10773
|
value: function() {
|
|
10767
10774
|
return {
|
|
10768
|
-
playNext:
|
|
10775
|
+
playNext: Il
|
|
10769
10776
|
};
|
|
10770
10777
|
}
|
|
10771
10778
|
}, {
|
|
@@ -10814,11 +10821,11 @@ var Il = /* @__PURE__ */ function(o) {
|
|
|
10814
10821
|
};
|
|
10815
10822
|
}
|
|
10816
10823
|
}]), r;
|
|
10817
|
-
}(W),
|
|
10824
|
+
}(W), rr = { exports: {} };
|
|
10818
10825
|
(function(o, a) {
|
|
10819
10826
|
(function(r, t) {
|
|
10820
10827
|
o.exports = t();
|
|
10821
|
-
})(
|
|
10828
|
+
})(ya, function() {
|
|
10822
10829
|
return function r(t, e, i) {
|
|
10823
10830
|
var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, h = document.createElement("a"), g = function(R) {
|
|
10824
10831
|
return String(R);
|
|
@@ -10886,10 +10893,10 @@ Use Save As... to download, then click back to return to this page.`) && (locati
|
|
|
10886
10893
|
return !0;
|
|
10887
10894
|
};
|
|
10888
10895
|
});
|
|
10889
|
-
})(
|
|
10890
|
-
var
|
|
10891
|
-
const
|
|
10892
|
-
function
|
|
10896
|
+
})(rr);
|
|
10897
|
+
var Al = rr.exports;
|
|
10898
|
+
const Ll = /* @__PURE__ */ gi(Al);
|
|
10899
|
+
function Dl() {
|
|
10893
10900
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
|
|
10894
10901
|
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10895
10902
|
<g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
|
|
@@ -10906,7 +10913,7 @@ function Ll() {
|
|
|
10906
10913
|
</svg>
|
|
10907
10914
|
`, "image/svg+xml").firstChild;
|
|
10908
10915
|
}
|
|
10909
|
-
var
|
|
10916
|
+
var Ol = /* @__PURE__ */ function(o) {
|
|
10910
10917
|
F(r, o);
|
|
10911
10918
|
var a = M(r);
|
|
10912
10919
|
function r(t) {
|
|
@@ -10917,7 +10924,7 @@ var Dl = /* @__PURE__ */ function(o) {
|
|
|
10917
10924
|
var n = e.playerConfig.url, s = "";
|
|
10918
10925
|
f.typeOf(n) === "String" ? s = n : f.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
|
|
10919
10926
|
var l = e.getAbsoluteURL(s);
|
|
10920
|
-
|
|
10927
|
+
Ll(l), e.isLock = !0, e.timer = window.setTimeout(function() {
|
|
10921
10928
|
e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
|
|
10922
10929
|
}, 300);
|
|
10923
10930
|
}
|
|
@@ -10936,7 +10943,7 @@ var Dl = /* @__PURE__ */ function(o) {
|
|
|
10936
10943
|
key: "registerIcons",
|
|
10937
10944
|
value: function() {
|
|
10938
10945
|
return {
|
|
10939
|
-
download:
|
|
10946
|
+
download: Dl
|
|
10940
10947
|
};
|
|
10941
10948
|
}
|
|
10942
10949
|
}, {
|
|
@@ -10978,7 +10985,7 @@ var Dl = /* @__PURE__ */ function(o) {
|
|
|
10978
10985
|
};
|
|
10979
10986
|
}
|
|
10980
10987
|
}]), r;
|
|
10981
|
-
}(qe),
|
|
10988
|
+
}(qe), Rl = /* @__PURE__ */ function(o) {
|
|
10982
10989
|
F(r, o);
|
|
10983
10990
|
var a = M(r);
|
|
10984
10991
|
function r() {
|
|
@@ -11033,7 +11040,7 @@ var Dl = /* @__PURE__ */ function(o) {
|
|
|
11033
11040
|
e.preventDefault(), e.stopPropagation(), this.emitUserAction(e, "shot");
|
|
11034
11041
|
var n = this.config;
|
|
11035
11042
|
this.shot(n.width, n.height).then(function(s) {
|
|
11036
|
-
i.emit(
|
|
11043
|
+
i.emit(Wn, s), n.saveImg && i.saveScreenShot(s, n.name + n.format);
|
|
11037
11044
|
});
|
|
11038
11045
|
}
|
|
11039
11046
|
}, {
|
|
@@ -11104,7 +11111,7 @@ var Dl = /* @__PURE__ */ function(o) {
|
|
|
11104
11111
|
};
|
|
11105
11112
|
}
|
|
11106
11113
|
}]), r;
|
|
11107
|
-
}(qe),
|
|
11114
|
+
}(qe), Fl = /* @__PURE__ */ function() {
|
|
11108
11115
|
function o(a) {
|
|
11109
11116
|
P(this, o), this.config = a.config, this.parent = a.root, this.root = f.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), a.root.appendChild(this.root);
|
|
11110
11117
|
var r = this.config.maxHeight;
|
|
@@ -11184,7 +11191,7 @@ var Dl = /* @__PURE__ */ function(o) {
|
|
|
11184
11191
|
CLICK: "click",
|
|
11185
11192
|
HOVER: "hover"
|
|
11186
11193
|
};
|
|
11187
|
-
function
|
|
11194
|
+
function Ml(o, a) {
|
|
11188
11195
|
return o === we.SIDE ? a === Y.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
|
|
11189
11196
|
}
|
|
11190
11197
|
var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
@@ -11298,7 +11305,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11298
11305
|
var c = {
|
|
11299
11306
|
config: {
|
|
11300
11307
|
data: e || [],
|
|
11301
|
-
className:
|
|
11308
|
+
className: Ml(s.listType, s.position),
|
|
11302
11309
|
onItemClick: function(v, m) {
|
|
11303
11310
|
n.onItemClick(v, m);
|
|
11304
11311
|
},
|
|
@@ -11308,7 +11315,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11308
11315
|
};
|
|
11309
11316
|
if (this.config.isShowIcon) {
|
|
11310
11317
|
var h = this.player.root.getBoundingClientRect(), g = h.height, p = s.listType === we.MIDDLE ? g - 50 : g;
|
|
11311
|
-
p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new
|
|
11318
|
+
p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new Fl(c), this.changeCurrentText(), this.show();
|
|
11312
11319
|
}
|
|
11313
11320
|
this._resizeList();
|
|
11314
11321
|
}
|
|
@@ -11359,7 +11366,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11359
11366
|
};
|
|
11360
11367
|
}
|
|
11361
11368
|
}]), r;
|
|
11362
|
-
}(W),
|
|
11369
|
+
}(W), Nl = /* @__PURE__ */ function(o) {
|
|
11363
11370
|
F(r, o);
|
|
11364
11371
|
var a = M(r);
|
|
11365
11372
|
function r(t) {
|
|
@@ -11460,7 +11467,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11460
11467
|
});
|
|
11461
11468
|
}
|
|
11462
11469
|
}]), r;
|
|
11463
|
-
}(Rt),
|
|
11470
|
+
}(Rt), Bl = /* @__PURE__ */ function(o) {
|
|
11464
11471
|
F(r, o);
|
|
11465
11472
|
var a = M(r);
|
|
11466
11473
|
function r(t) {
|
|
@@ -11482,7 +11489,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11482
11489
|
key: "afterCreate",
|
|
11483
11490
|
value: function() {
|
|
11484
11491
|
var e = this;
|
|
11485
|
-
B(N(r.prototype), "afterCreate", this).call(this), this.on(
|
|
11492
|
+
B(N(r.prototype), "afterCreate", this).call(this), this.on(Nn, function() {
|
|
11486
11493
|
e.curValue !== e.player.playbackRate && e.renderItemList();
|
|
11487
11494
|
}), this.renderItemList();
|
|
11488
11495
|
}
|
|
@@ -11553,19 +11560,19 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11553
11560
|
}
|
|
11554
11561
|
}]), r;
|
|
11555
11562
|
}(Rt);
|
|
11556
|
-
function
|
|
11563
|
+
function Hl() {
|
|
11557
11564
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
11558
11565
|
<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>
|
|
11559
11566
|
</svg>
|
|
11560
11567
|
`, "image/svg+xml").firstChild;
|
|
11561
11568
|
}
|
|
11562
|
-
function
|
|
11569
|
+
function Ul() {
|
|
11563
11570
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
11564
11571
|
<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>
|
|
11565
11572
|
</svg>
|
|
11566
11573
|
`, "image/svg+xml").firstChild;
|
|
11567
11574
|
}
|
|
11568
|
-
var
|
|
11575
|
+
var yn = /* @__PURE__ */ function(o) {
|
|
11569
11576
|
F(r, o);
|
|
11570
11577
|
var a = M(r);
|
|
11571
11578
|
function r() {
|
|
@@ -11619,11 +11626,11 @@ var mn = /* @__PURE__ */ function(o) {
|
|
|
11619
11626
|
value: function() {
|
|
11620
11627
|
return {
|
|
11621
11628
|
cssFullscreen: {
|
|
11622
|
-
icon:
|
|
11629
|
+
icon: Hl,
|
|
11623
11630
|
class: "xg-get-cssfull"
|
|
11624
11631
|
},
|
|
11625
11632
|
exitCssFullscreen: {
|
|
11626
|
-
icon:
|
|
11633
|
+
icon: Ul,
|
|
11627
11634
|
class: "xg-exit-cssfull"
|
|
11628
11635
|
}
|
|
11629
11636
|
};
|
|
@@ -11659,7 +11666,7 @@ var mn = /* @__PURE__ */ function(o) {
|
|
|
11659
11666
|
};
|
|
11660
11667
|
}
|
|
11661
11668
|
}]), r;
|
|
11662
|
-
}(qe),
|
|
11669
|
+
}(qe), zl = /* @__PURE__ */ function(o) {
|
|
11663
11670
|
F(r, o);
|
|
11664
11671
|
var a = M(r);
|
|
11665
11672
|
function r() {
|
|
@@ -11720,7 +11727,7 @@ var mn = /* @__PURE__ */ function(o) {
|
|
|
11720
11727
|
return "error";
|
|
11721
11728
|
}
|
|
11722
11729
|
}]), r;
|
|
11723
|
-
}(W),
|
|
11730
|
+
}(W), Vl = /* @__PURE__ */ function(o) {
|
|
11724
11731
|
F(r, o);
|
|
11725
11732
|
var a = M(r);
|
|
11726
11733
|
function r() {
|
|
@@ -11798,7 +11805,7 @@ var mn = /* @__PURE__ */ function(o) {
|
|
|
11798
11805
|
};
|
|
11799
11806
|
}
|
|
11800
11807
|
}]), r;
|
|
11801
|
-
}(W),
|
|
11808
|
+
}(W), _n = {
|
|
11802
11809
|
time: 0,
|
|
11803
11810
|
text: "",
|
|
11804
11811
|
id: 1,
|
|
@@ -11808,12 +11815,12 @@ var mn = /* @__PURE__ */ function(o) {
|
|
|
11808
11815
|
width: 6,
|
|
11809
11816
|
height: 6
|
|
11810
11817
|
};
|
|
11811
|
-
function
|
|
11812
|
-
Object.keys(
|
|
11813
|
-
o[a] === void 0 && (o[a] =
|
|
11818
|
+
function sr(o) {
|
|
11819
|
+
Object.keys(_n).map(function(a) {
|
|
11820
|
+
o[a] === void 0 && (o[a] = _n[a]);
|
|
11814
11821
|
});
|
|
11815
11822
|
}
|
|
11816
|
-
var
|
|
11823
|
+
var kn = {
|
|
11817
11824
|
_updateDotDom: function(a, r) {
|
|
11818
11825
|
if (r) {
|
|
11819
11826
|
var t = this.calcuPosition(a.time, a.duration), e = a.style || {};
|
|
@@ -11830,7 +11837,7 @@ var _n = {
|
|
|
11830
11837
|
},
|
|
11831
11838
|
createDot: function(a) {
|
|
11832
11839
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, t = this.player.plugins.progress;
|
|
11833
|
-
if (t && (r && (
|
|
11840
|
+
if (t && (r && (sr(a), this._ispots.push(a)), !(!this.ispotsInit && r))) {
|
|
11834
11841
|
var e = this.calcuPosition(a.time, a.duration), i = a.style || {};
|
|
11835
11842
|
i.left = "".concat(e.left, "%"), i.width = "".concat(e.width, "%");
|
|
11836
11843
|
var n = "xgspot_".concat(a.id, " xgplayer-spot");
|
|
@@ -11950,14 +11957,14 @@ var _n = {
|
|
|
11950
11957
|
return r.find('xg-spot[data-id="'.concat(a, '"]'));
|
|
11951
11958
|
}
|
|
11952
11959
|
};
|
|
11953
|
-
function
|
|
11960
|
+
function jl(o) {
|
|
11954
11961
|
var a = o.config, r = o.player;
|
|
11955
|
-
Object.keys(
|
|
11956
|
-
o[e] =
|
|
11962
|
+
Object.keys(kn).map(function(e) {
|
|
11963
|
+
o[e] = kn[e].bind(o);
|
|
11957
11964
|
});
|
|
11958
11965
|
var t = r.config.progressDot || a.ispots || [];
|
|
11959
11966
|
o._ispots = t.map(function(e) {
|
|
11960
|
-
return
|
|
11967
|
+
return sr(e), e;
|
|
11961
11968
|
}), o.ispotsInit = !1, o.playerSize = {
|
|
11962
11969
|
left: r.sizeInfo.left,
|
|
11963
11970
|
width: r.sizeInfo.width
|
|
@@ -11974,7 +11981,7 @@ var it = {
|
|
|
11974
11981
|
click: "onProgressClick",
|
|
11975
11982
|
mouseover: "onProgressMouseOver",
|
|
11976
11983
|
mouseenter: "onProgressMouseOver"
|
|
11977
|
-
},
|
|
11984
|
+
}, $l = /* @__PURE__ */ function(o) {
|
|
11978
11985
|
F(r, o);
|
|
11979
11986
|
var a = M(r);
|
|
11980
11987
|
function r(t) {
|
|
@@ -12025,7 +12032,7 @@ var it = {
|
|
|
12025
12032
|
n.seekTime && e.player.seek(n.seekTime);
|
|
12026
12033
|
}), this.transformTimeHook = this.hook("transformTime", function(i) {
|
|
12027
12034
|
e.setTimeContent(f.format(i));
|
|
12028
|
-
}),
|
|
12035
|
+
}), jl(this), this.on(Ue, function() {
|
|
12029
12036
|
e.show();
|
|
12030
12037
|
}), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
|
|
12031
12038
|
}
|
|
@@ -12249,7 +12256,7 @@ var it = {
|
|
|
12249
12256
|
};
|
|
12250
12257
|
}
|
|
12251
12258
|
}]), r;
|
|
12252
|
-
}(W),
|
|
12259
|
+
}(W), Wl = /* @__PURE__ */ function(o) {
|
|
12253
12260
|
F(r, o);
|
|
12254
12261
|
var a = M(r);
|
|
12255
12262
|
function r(t) {
|
|
@@ -12387,7 +12394,7 @@ var it = {
|
|
|
12387
12394
|
function ti(o) {
|
|
12388
12395
|
return o ? "background:".concat(o, ";") : "";
|
|
12389
12396
|
}
|
|
12390
|
-
var
|
|
12397
|
+
var Gl = /* @__PURE__ */ function(o) {
|
|
12391
12398
|
F(r, o);
|
|
12392
12399
|
var a = M(r);
|
|
12393
12400
|
function r() {
|
|
@@ -12475,14 +12482,14 @@ var Wl = /* @__PURE__ */ function(o) {
|
|
|
12475
12482
|
FRAME_RATE: "framerate",
|
|
12476
12483
|
POSTER: "poster"
|
|
12477
12484
|
};
|
|
12478
|
-
function
|
|
12485
|
+
function Kl() {
|
|
12479
12486
|
try {
|
|
12480
12487
|
return parseInt(window.performance.now(), 10);
|
|
12481
12488
|
} catch {
|
|
12482
12489
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
12483
12490
|
}
|
|
12484
12491
|
}
|
|
12485
|
-
function
|
|
12492
|
+
function Yl() {
|
|
12486
12493
|
try {
|
|
12487
12494
|
var o = document.createElement("canvas").getContext;
|
|
12488
12495
|
return !!o;
|
|
@@ -12490,7 +12497,7 @@ function Kl() {
|
|
|
12490
12497
|
return !1;
|
|
12491
12498
|
}
|
|
12492
12499
|
}
|
|
12493
|
-
var wt = null,
|
|
12500
|
+
var wt = null, Xl = /* @__PURE__ */ function(o) {
|
|
12494
12501
|
F(r, o);
|
|
12495
12502
|
var a = M(r);
|
|
12496
12503
|
function r() {
|
|
@@ -12511,7 +12518,7 @@ var wt = null, Yl = /* @__PURE__ */ function(o) {
|
|
|
12511
12518
|
!t.player.paused && t._checkIfCanStart() && t.start(0, l);
|
|
12512
12519
|
}
|
|
12513
12520
|
}), _(y(t), "start", function(s, l) {
|
|
12514
|
-
var u = t.player.video, c =
|
|
12521
|
+
var u = t.player.video, c = Kl(), h = t.checkVideoIsSupport(u);
|
|
12515
12522
|
!h || !t.canvasCtx || (l || (l = t.interval), t.stop(), u.videoWidth && u.videoHeight && (t.videoPI = u.videoHeight > 0 ? parseInt(u.videoWidth / u.videoHeight * 100, 10) : 0, (t.config.mode === nt.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(h, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? f.setTimeout(y(t), t.start, l) : f.requestAnimationFrame(t.start));
|
|
12516
12523
|
}), _(y(t), "stop", function() {
|
|
12517
12524
|
t.frameId && (t._loopType === "timer" ? f.clearTimeout(y(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
|
|
@@ -12684,7 +12691,7 @@ var wt = null, Yl = /* @__PURE__ */ function(o) {
|
|
|
12684
12691
|
}, {
|
|
12685
12692
|
key: "isSupport",
|
|
12686
12693
|
get: function() {
|
|
12687
|
-
return typeof wt == "boolean" || (wt =
|
|
12694
|
+
return typeof wt == "boolean" || (wt = Yl()), wt;
|
|
12688
12695
|
}
|
|
12689
12696
|
}, {
|
|
12690
12697
|
key: "supportCanvasFilter",
|
|
@@ -12692,7 +12699,7 @@ var wt = null, Yl = /* @__PURE__ */ function(o) {
|
|
|
12692
12699
|
return !(U.browser === "safari" || U.browser === "firefox");
|
|
12693
12700
|
}
|
|
12694
12701
|
}]), r;
|
|
12695
|
-
}(W),
|
|
12702
|
+
}(W), ql = {
|
|
12696
12703
|
LANG: "zh-cn",
|
|
12697
12704
|
TEXT: {
|
|
12698
12705
|
ERROR_TYPES: {
|
|
@@ -12767,7 +12774,7 @@ var wt = null, Yl = /* @__PURE__ */ function(o) {
|
|
|
12767
12774
|
FORWARD: "快进中",
|
|
12768
12775
|
LIVE_TIP: "直播"
|
|
12769
12776
|
}
|
|
12770
|
-
}, ht = "info", ii =
|
|
12777
|
+
}, ht = "info", ii = Zn, Zl = /* @__PURE__ */ function(o) {
|
|
12771
12778
|
F(r, o);
|
|
12772
12779
|
var a = M(r);
|
|
12773
12780
|
function r() {
|
|
@@ -12911,7 +12918,7 @@ var wt = null, Yl = /* @__PURE__ */ function(o) {
|
|
|
12911
12918
|
return {};
|
|
12912
12919
|
}
|
|
12913
12920
|
}]), r;
|
|
12914
|
-
}(He),
|
|
12921
|
+
}(He), ar = /* @__PURE__ */ function(o) {
|
|
12915
12922
|
F(r, o);
|
|
12916
12923
|
var a = M(r);
|
|
12917
12924
|
function r() {
|
|
@@ -13000,8 +13007,8 @@ var wt = null, Yl = /* @__PURE__ */ function(o) {
|
|
|
13000
13007
|
}
|
|
13001
13008
|
}]), r;
|
|
13002
13009
|
}(W);
|
|
13003
|
-
|
|
13004
|
-
var
|
|
13010
|
+
ar.BROWSER_GAP_TOLERANCE = 1e-3;
|
|
13011
|
+
var Jl = /* @__PURE__ */ function(o) {
|
|
13005
13012
|
F(r, o);
|
|
13006
13013
|
var a = M(r);
|
|
13007
13014
|
function r() {
|
|
@@ -13047,7 +13054,7 @@ var Zl = /* @__PURE__ */ function(o) {
|
|
|
13047
13054
|
};
|
|
13048
13055
|
}
|
|
13049
13056
|
}]), r;
|
|
13050
|
-
}(W), rt = "cdn", bt = ["cdn"],
|
|
13057
|
+
}(W), rt = "cdn", bt = ["cdn"], Ql = /* @__PURE__ */ function(o) {
|
|
13051
13058
|
F(r, o);
|
|
13052
13059
|
var a = M(r);
|
|
13053
13060
|
function r() {
|
|
@@ -13173,7 +13180,7 @@ var Zl = /* @__PURE__ */ function(o) {
|
|
|
13173
13180
|
};
|
|
13174
13181
|
}
|
|
13175
13182
|
}]), r;
|
|
13176
|
-
}(W),
|
|
13183
|
+
}(W), eu = /* @__PURE__ */ function(o) {
|
|
13177
13184
|
F(r, o);
|
|
13178
13185
|
var a = M(r);
|
|
13179
13186
|
function r() {
|
|
@@ -13240,7 +13247,7 @@ var Zl = /* @__PURE__ */ function(o) {
|
|
|
13240
13247
|
totalVideoFrames: i,
|
|
13241
13248
|
droppedVideoFrames: n,
|
|
13242
13249
|
checkInterval: s
|
|
13243
|
-
}), this._currentStuckCount >= this.config.stuckCount && (this.emit(
|
|
13250
|
+
}), this._currentStuckCount >= this.config.stuckCount && (this.emit(Jn, this._payload), this._reset())) : this._reset());
|
|
13244
13251
|
}
|
|
13245
13252
|
}
|
|
13246
13253
|
}, {
|
|
@@ -13283,24 +13290,24 @@ var Zl = /* @__PURE__ */ function(o) {
|
|
|
13283
13290
|
}
|
|
13284
13291
|
}]), r;
|
|
13285
13292
|
}(W);
|
|
13286
|
-
at.use(
|
|
13287
|
-
var
|
|
13293
|
+
at.use(ql);
|
|
13294
|
+
var tu = /* @__PURE__ */ A(function o(a, r) {
|
|
13288
13295
|
var t, e, i;
|
|
13289
13296
|
P(this, o);
|
|
13290
|
-
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [
|
|
13291
|
-
this.plugins = [
|
|
13297
|
+
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [yl, cl, Gl, $l, ml], u = [].concat(l, [fl, vl, Tl, Pl, Nl, Bl, Ol, Rl, wl, xl]), c = [$o, Wo, Ko, ol, Yo, zl, Vl, Wl, Jo];
|
|
13298
|
+
this.plugins = [Zl, Vo].concat(ye(u), c, [ar, Jl]);
|
|
13292
13299
|
var h = n ? "mobile" : U.device;
|
|
13293
13300
|
switch (h) {
|
|
13294
13301
|
case "pc":
|
|
13295
|
-
(t = this.plugins).push.apply(t, [
|
|
13302
|
+
(t = this.plugins).push.apply(t, [vn, Qt, yn, Ql, eu]);
|
|
13296
13303
|
break;
|
|
13297
13304
|
case "mobile":
|
|
13298
|
-
(e = this.plugins).push.apply(e, [
|
|
13305
|
+
(e = this.plugins).push.apply(e, [rl]);
|
|
13299
13306
|
break;
|
|
13300
13307
|
default:
|
|
13301
|
-
(i = this.plugins).push.apply(i, [
|
|
13308
|
+
(i = this.plugins).push.apply(i, [vn, Qt, yn]);
|
|
13302
13309
|
}
|
|
13303
|
-
(U.os.isIpad || h === "pc") && this.plugins.push(
|
|
13310
|
+
(U.os.isIpad || h === "pc") && this.plugins.push(Xl), U.os.isIpad && this.plugins.push(Qt), this.ignores = [], this.i18n = [];
|
|
13304
13311
|
}), _e = /* @__PURE__ */ function(o) {
|
|
13305
13312
|
F(r, o);
|
|
13306
13313
|
var a = M(r);
|
|
@@ -13309,17 +13316,17 @@ var eu = /* @__PURE__ */ A(function o(a, r) {
|
|
|
13309
13316
|
}
|
|
13310
13317
|
return A(r);
|
|
13311
13318
|
}(Ht);
|
|
13312
|
-
_(_e, "defaultPreset",
|
|
13319
|
+
_(_e, "defaultPreset", tu);
|
|
13313
13320
|
_(_e, "Util", f);
|
|
13314
13321
|
_(_e, "Sniffer", U);
|
|
13315
13322
|
_(_e, "Errors", Et);
|
|
13316
|
-
_(_e, "Events",
|
|
13323
|
+
_(_e, "Events", vo);
|
|
13317
13324
|
_(_e, "Plugin", W);
|
|
13318
13325
|
_(_e, "BasePlugin", He);
|
|
13319
13326
|
_(_e, "I18N", at);
|
|
13320
13327
|
_(_e, "STATE_CLASS", T);
|
|
13321
|
-
_(_e, "InstManager",
|
|
13322
|
-
const
|
|
13328
|
+
_(_e, "InstManager", ir);
|
|
13329
|
+
const iu = ["id"], nu = /* @__PURE__ */ ee({
|
|
13323
13330
|
name: "ElImageViewer",
|
|
13324
13331
|
__name: "Player",
|
|
13325
13332
|
props: /* @__PURE__ */ Tt({
|
|
@@ -13369,7 +13376,7 @@ const tu = ["id"], iu = /* @__PURE__ */ ee({
|
|
|
13369
13376
|
}, s = Z(() => ({
|
|
13370
13377
|
...n,
|
|
13371
13378
|
...t.config
|
|
13372
|
-
})), l = a, u = hi(o, "modelValue"), c =
|
|
13379
|
+
})), l = a, u = hi(o, "modelValue"), c = Sn(), h = xn("image-viewer");
|
|
13373
13380
|
function g() {
|
|
13374
13381
|
l("close"), u.value = !1, r.destroy();
|
|
13375
13382
|
}
|
|
@@ -13383,11 +13390,11 @@ const tu = ["id"], iu = /* @__PURE__ */ ee({
|
|
|
13383
13390
|
});
|
|
13384
13391
|
}), (p, d) => {
|
|
13385
13392
|
const v = Ke("el-icon");
|
|
13386
|
-
return u.value ? (k(), ve(
|
|
13393
|
+
return u.value ? (k(), ve(Tn, {
|
|
13387
13394
|
key: 0,
|
|
13388
13395
|
to: "body"
|
|
13389
13396
|
}, [
|
|
13390
|
-
$(
|
|
13397
|
+
$(En, {
|
|
13391
13398
|
name: "viewer-fade",
|
|
13392
13399
|
appear: ""
|
|
13393
13400
|
}, {
|
|
@@ -13417,7 +13424,7 @@ const tu = ["id"], iu = /* @__PURE__ */ ee({
|
|
|
13417
13424
|
class: K(x(h).e("canvas"))
|
|
13418
13425
|
},
|
|
13419
13426
|
[
|
|
13420
|
-
b("div", { id: x(c) }, null, 8,
|
|
13427
|
+
b("div", { id: x(c) }, null, 8, iu),
|
|
13421
13428
|
L(" CLOSE "),
|
|
13422
13429
|
b(
|
|
13423
13430
|
"span",
|
|
@@ -13428,7 +13435,7 @@ const tu = ["id"], iu = /* @__PURE__ */ ee({
|
|
|
13428
13435
|
[
|
|
13429
13436
|
$(v, { onClick: g }, {
|
|
13430
13437
|
default: ne(() => [
|
|
13431
|
-
$(x(
|
|
13438
|
+
$(x(In))
|
|
13432
13439
|
]),
|
|
13433
13440
|
_: 1
|
|
13434
13441
|
/* STABLE */
|
|
@@ -13454,13 +13461,13 @@ const tu = ["id"], iu = /* @__PURE__ */ ee({
|
|
|
13454
13461
|
};
|
|
13455
13462
|
}
|
|
13456
13463
|
});
|
|
13457
|
-
const
|
|
13464
|
+
const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(ru), Ii = (o) => (vr("data-v-48f27627"), o = o(), mr(), o), au = {
|
|
13458
13465
|
class: "approveProcess",
|
|
13459
13466
|
id: "approveProcess"
|
|
13460
|
-
},
|
|
13467
|
+
}, ou = ["id"], lu = { class: "topBlock" }, uu = { class: "left" }, cu = { class: "nodeBg" }, fu = ["src"], hu = { class: "right" }, du = { class: "topInfo" }, gu = { key: 0 }, pu = {
|
|
13461
13468
|
key: 0,
|
|
13462
13469
|
class: "main-text"
|
|
13463
|
-
},
|
|
13470
|
+
}, vu = { class: "name" }, mu = { key: 0 }, yu = { key: 0 }, _u = { key: 1 }, ku = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
|
|
13464
13471
|
"span",
|
|
13465
13472
|
{
|
|
13466
13473
|
class: "red",
|
|
@@ -13469,52 +13476,52 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13469
13476
|
" 退回至",
|
|
13470
13477
|
-1
|
|
13471
13478
|
/* HOISTED */
|
|
13472
|
-
)),
|
|
13479
|
+
)), Cu = { key: 0 }, wu = { key: 0 }, bu = { key: 1 }, Tu = { key: 1 }, Eu = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
|
|
13473
13480
|
"div",
|
|
13474
13481
|
{ class: "main-text" },
|
|
13475
13482
|
"抄送人员",
|
|
13476
13483
|
-1
|
|
13477
13484
|
/* HOISTED */
|
|
13478
|
-
)),
|
|
13485
|
+
)), Su = { class: "name" }, xu = { key: 0 }, Iu = { style: { color: "#000" } }, Pu = {
|
|
13479
13486
|
class: "blue",
|
|
13480
13487
|
style: { "margin-left": "5px", "font-size": "12px" }
|
|
13481
|
-
},
|
|
13488
|
+
}, Au = { key: 1 }, Lu = {
|
|
13482
13489
|
key: 0,
|
|
13483
13490
|
class: "blue",
|
|
13484
13491
|
style: { "font-size": "12px" }
|
|
13485
|
-
},
|
|
13492
|
+
}, Du = { key: 1 }, Ou = {
|
|
13486
13493
|
key: 0,
|
|
13487
13494
|
class: "blue",
|
|
13488
13495
|
style: { "font-size": "12px" }
|
|
13489
|
-
},
|
|
13496
|
+
}, Ru = {
|
|
13490
13497
|
key: 1,
|
|
13491
13498
|
class: "blue",
|
|
13492
13499
|
style: { "font-size": "12px" }
|
|
13493
|
-
},
|
|
13500
|
+
}, Fu = { class: "time" }, Mu = { key: 0 }, Nu = { key: 1 }, Bu = ["onClick"], Hu = ["onClick"], Uu = {
|
|
13494
13501
|
key: 0,
|
|
13495
13502
|
class: "opinion"
|
|
13496
|
-
},
|
|
13503
|
+
}, zu = { key: 0 }, Vu = { key: 1 }, ju = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
|
|
13497
13504
|
"span",
|
|
13498
13505
|
{ class: "ik-text-primary" },
|
|
13499
13506
|
"添加审批人",
|
|
13500
13507
|
-1
|
|
13501
13508
|
/* HOISTED */
|
|
13502
|
-
)),
|
|
13509
|
+
)), $u = { style: { color: "var(--el-text-color-primary)", "margin-left": "8px" } }, Wu = {
|
|
13503
13510
|
key: 2,
|
|
13504
13511
|
class: "annexImage"
|
|
13505
|
-
},
|
|
13512
|
+
}, Gu = {
|
|
13506
13513
|
key: 3,
|
|
13507
13514
|
class: "approveList"
|
|
13508
|
-
},
|
|
13515
|
+
}, Ku = { class: "nodeBg-list" }, Yu = ["src"], Xu = { key: 1 }, qu = {
|
|
13509
13516
|
key: 2,
|
|
13510
13517
|
class: "ikapprove ikapprove-duihao2 green read"
|
|
13511
|
-
},
|
|
13518
|
+
}, Zu = ["title"], Ju = {
|
|
13512
13519
|
key: 0,
|
|
13513
13520
|
class: "branch"
|
|
13514
|
-
},
|
|
13521
|
+
}, Qu = { class: "branch-card" }, ec = { class: "branch-name" }, tc = {
|
|
13515
13522
|
name: "IkingApprovalProcessDetail"
|
|
13516
|
-
},
|
|
13517
|
-
...
|
|
13523
|
+
}, ic = /* @__PURE__ */ ee({
|
|
13524
|
+
...tc,
|
|
13518
13525
|
props: {
|
|
13519
13526
|
// 是否本地打开
|
|
13520
13527
|
local: {
|
|
@@ -13573,7 +13580,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13573
13580
|
},
|
|
13574
13581
|
emits: ["preview"],
|
|
13575
13582
|
setup(o, { emit: a }) {
|
|
13576
|
-
const r = o, { cLoadUrl: t } = di(r), e =
|
|
13583
|
+
const r = o, { cLoadUrl: t } = di(r), e = Cn(Ws(r));
|
|
13577
13584
|
ot(
|
|
13578
13585
|
() => r.dataList,
|
|
13579
13586
|
(c) => {
|
|
@@ -13584,7 +13591,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13584
13591
|
}, 500));
|
|
13585
13592
|
},
|
|
13586
13593
|
{ deep: !0 }
|
|
13587
|
-
),
|
|
13594
|
+
), bn(() => {
|
|
13588
13595
|
r.dataList.length && (e.listData = r.dataList, setTimeout(() => {
|
|
13589
13596
|
r.returnNode.length && i();
|
|
13590
13597
|
}, 500));
|
|
@@ -13649,7 +13656,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13649
13656
|
}, u = (c) => lt(t.value, c);
|
|
13650
13657
|
return (c, h) => {
|
|
13651
13658
|
const g = Ke("el-image"), p = Ke("IkingApprovalProcessDetail");
|
|
13652
|
-
return k(), S("div",
|
|
13659
|
+
return k(), S("div", au, [
|
|
13653
13660
|
(k(!0), S(
|
|
13654
13661
|
ce,
|
|
13655
13662
|
null,
|
|
@@ -13660,9 +13667,9 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13660
13667
|
id: d[e.defaultFile.nodeId],
|
|
13661
13668
|
key: d[e.defaultFile.nodeId]
|
|
13662
13669
|
}, [
|
|
13663
|
-
b("div",
|
|
13664
|
-
b("div",
|
|
13665
|
-
b("span",
|
|
13670
|
+
b("div", lu, [
|
|
13671
|
+
b("div", uu, [
|
|
13672
|
+
b("span", cu, [
|
|
13666
13673
|
L(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
|
|
13667
13674
|
((m = d[e.defaultFile.approvePersonList]) == null ? void 0 : m.length) == 1 && d[e.defaultFile.approvePersonList][0].userAvatar ? (k(), S("img", {
|
|
13668
13675
|
key: 0,
|
|
@@ -13671,7 +13678,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13671
13678
|
d[e.defaultFile.approvePersonList][0].userAvatar
|
|
13672
13679
|
),
|
|
13673
13680
|
alt: ""
|
|
13674
|
-
}, null, 8,
|
|
13681
|
+
}, null, 8, fu)) : (k(), S(
|
|
13675
13682
|
ce,
|
|
13676
13683
|
{ key: 1 },
|
|
13677
13684
|
[
|
|
@@ -13680,7 +13687,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13680
13687
|
"i",
|
|
13681
13688
|
{
|
|
13682
13689
|
class: K(
|
|
13683
|
-
x(
|
|
13690
|
+
x(Gs)(
|
|
13684
13691
|
e,
|
|
13685
13692
|
d[e.defaultFile.nodeType],
|
|
13686
13693
|
d[e.defaultFile.approvePersonList]
|
|
@@ -13709,23 +13716,23 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13709
13716
|
)
|
|
13710
13717
|
])
|
|
13711
13718
|
]),
|
|
13712
|
-
b("div",
|
|
13713
|
-
b("div",
|
|
13719
|
+
b("div", hu, [
|
|
13720
|
+
b("div", du, [
|
|
13714
13721
|
b("div", null, [
|
|
13715
13722
|
L(" 不是抄送节点 "),
|
|
13716
|
-
e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), S("div",
|
|
13723
|
+
e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), S("div", gu, [
|
|
13717
13724
|
L(" 撤销,评论不显示节点名称 "),
|
|
13718
13725
|
d[e.defaultFile.approveStatus] != e.statusOption.撤销 && d[e.defaultFile.approveStatus] != e.statusOption.评论 && d[e.defaultFile.nodeType] !== e.nodeType.并行分支 ? (k(), S(
|
|
13719
13726
|
"div",
|
|
13720
|
-
|
|
13727
|
+
pu,
|
|
13721
13728
|
X(d[e.defaultFile.nodeTypeName]),
|
|
13722
13729
|
1
|
|
13723
13730
|
/* TEXT */
|
|
13724
13731
|
)) : L("v-if", !0),
|
|
13725
13732
|
L(" 名字+审批状态 "),
|
|
13726
|
-
b("div",
|
|
13733
|
+
b("div", vu, [
|
|
13727
13734
|
L(" 已审批节点文本 "),
|
|
13728
|
-
d[e.defaultFile.lineType] == "solid" ? (k(), S("div",
|
|
13735
|
+
d[e.defaultFile.lineType] == "solid" ? (k(), S("div", mu, [
|
|
13729
13736
|
b(
|
|
13730
13737
|
"span",
|
|
13731
13738
|
{
|
|
@@ -13740,14 +13747,14 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13740
13747
|
L(" 发起,退回不显示状态 "),
|
|
13741
13748
|
d[e.defaultFile.approveStatusName] && d[e.defaultFile.approveStatus] != e.statusOption.发起 && d[e.defaultFile.approveStatus] != e.statusOption.退回 ? (k(), S(
|
|
13742
13749
|
"span",
|
|
13743
|
-
|
|
13750
|
+
yu,
|
|
13744
13751
|
X(d[e.defaultFile.approveStatus] == e.statusOption.评论 ? " 添加了评论" : d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
|
|
13745
13752
|
1
|
|
13746
13753
|
/* TEXT */
|
|
13747
13754
|
)) : L("v-if", !0),
|
|
13748
13755
|
L(" 退回状态显示 "),
|
|
13749
|
-
d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), S("span",
|
|
13750
|
-
|
|
13756
|
+
d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), S("span", _u, [
|
|
13757
|
+
ku,
|
|
13751
13758
|
We(
|
|
13752
13759
|
" " + X(d[e.defaultFile.backToInstanceNodeName] || d[e.defaultFile.backToRecordNodeName]),
|
|
13753
13760
|
1
|
|
@@ -13760,7 +13767,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13760
13767
|
[
|
|
13761
13768
|
L(" 待审批节点 "),
|
|
13762
13769
|
b("div", null, [
|
|
13763
|
-
((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), S("span",
|
|
13770
|
+
((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), S("span", Cu, [
|
|
13764
13771
|
We(
|
|
13765
13772
|
X(d[e.defaultFile.originator]) + " ",
|
|
13766
13773
|
1
|
|
@@ -13768,14 +13775,14 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13768
13775
|
),
|
|
13769
13776
|
d[e.defaultFile.approveStatus] == e.statusOption.等待 ? (k(), S(
|
|
13770
13777
|
"span",
|
|
13771
|
-
|
|
13778
|
+
wu,
|
|
13772
13779
|
X(d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
|
|
13773
13780
|
1
|
|
13774
13781
|
/* TEXT */
|
|
13775
13782
|
)) : L("v-if", !0)
|
|
13776
13783
|
])) : d[e.defaultFile.approvePersonList] ? (k(), S(
|
|
13777
13784
|
"span",
|
|
13778
|
-
|
|
13785
|
+
bu,
|
|
13779
13786
|
X(`${(E = d[e.defaultFile.approvePersonList]) == null ? void 0 : E.length}人${d[e.defaultFile.approveTypeName]}`),
|
|
13780
13787
|
1
|
|
13781
13788
|
/* TEXT */
|
|
@@ -13786,16 +13793,16 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13786
13793
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
13787
13794
|
))
|
|
13788
13795
|
])
|
|
13789
|
-
])) : (k(), S("div",
|
|
13790
|
-
|
|
13791
|
-
b("div",
|
|
13796
|
+
])) : (k(), S("div", Tu, [
|
|
13797
|
+
Eu,
|
|
13798
|
+
b("div", Su, [
|
|
13792
13799
|
L(" 抄送一人时 "),
|
|
13793
|
-
((w = d[e.defaultFile.approvePersonList]) == null ? void 0 : w.length) == 1 ? (k(), S("span",
|
|
13800
|
+
((w = d[e.defaultFile.approvePersonList]) == null ? void 0 : w.length) == 1 ? (k(), S("span", xu, [
|
|
13794
13801
|
b("span", null, [
|
|
13795
13802
|
We("已抄送给 "),
|
|
13796
13803
|
b(
|
|
13797
13804
|
"span",
|
|
13798
|
-
|
|
13805
|
+
Iu,
|
|
13799
13806
|
X(d[e.defaultFile.approvePersonList][0].userName),
|
|
13800
13807
|
1
|
|
13801
13808
|
/* TEXT */
|
|
@@ -13803,24 +13810,24 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13803
13810
|
]),
|
|
13804
13811
|
b(
|
|
13805
13812
|
"span",
|
|
13806
|
-
|
|
13813
|
+
Pu,
|
|
13807
13814
|
X(d[e.defaultFile.approvePersonList][0].status === "END" ? "已读" : "未读"),
|
|
13808
13815
|
1
|
|
13809
13816
|
/* TEXT */
|
|
13810
13817
|
)
|
|
13811
13818
|
])) : L("v-if", !0),
|
|
13812
13819
|
L(" 抄送多人时 "),
|
|
13813
|
-
((D = d[e.defaultFile.approvePersonList]) == null ? void 0 : D.length) > 1 ? (k(), S("span",
|
|
13820
|
+
((D = d[e.defaultFile.approvePersonList]) == null ? void 0 : D.length) > 1 ? (k(), S("span", Au, [
|
|
13814
13821
|
We(
|
|
13815
13822
|
X(`已抄送${(O = d[e.defaultFile.approvePersonList]) == null ? void 0 : O.length}人`) + " ",
|
|
13816
13823
|
1
|
|
13817
13824
|
/* TEXT */
|
|
13818
13825
|
),
|
|
13819
|
-
d[e.defaultFile.allRead] ? (k(), S("span",
|
|
13820
|
-
d[e.defaultFile.read] ? L("v-if", !0) : (k(), S("span",
|
|
13826
|
+
d[e.defaultFile.allRead] ? (k(), S("span", Lu, " 全部已读 ")) : (k(), S("span", Du, [
|
|
13827
|
+
d[e.defaultFile.read] ? L("v-if", !0) : (k(), S("span", Ou, " 全部未读 ")),
|
|
13821
13828
|
d[e.defaultFile.read] ? (k(), S(
|
|
13822
13829
|
"span",
|
|
13823
|
-
|
|
13830
|
+
Ru,
|
|
13824
13831
|
X(d[e.defaultFile.read]) + "人已读 ",
|
|
13825
13832
|
1
|
|
13826
13833
|
/* TEXT */
|
|
@@ -13830,12 +13837,12 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13830
13837
|
])
|
|
13831
13838
|
]))
|
|
13832
13839
|
]),
|
|
13833
|
-
b("div",
|
|
13840
|
+
b("div", Fu, [
|
|
13834
13841
|
L(" 不是抄送节点,展示时间 "),
|
|
13835
13842
|
d[e.defaultFile.nodeType] != e.nodeType.抄送节点 && d[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (k(), S(
|
|
13836
13843
|
"span",
|
|
13837
|
-
|
|
13838
|
-
X(x(
|
|
13844
|
+
Mu,
|
|
13845
|
+
X(x(kr).toDateTime(
|
|
13839
13846
|
d[e.defaultFile.operationTime],
|
|
13840
13847
|
"MM/DD HH:mm"
|
|
13841
13848
|
)),
|
|
@@ -13843,16 +13850,16 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13843
13850
|
/* TEXT */
|
|
13844
13851
|
)) : L("v-if", !0),
|
|
13845
13852
|
L(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
|
|
13846
|
-
d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((z = d[e.defaultFile.approvePersonList]) == null ? void 0 : z.length) > 1 ? (k(), S("span",
|
|
13853
|
+
d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((z = d[e.defaultFile.approvePersonList]) == null ? void 0 : z.length) > 1 ? (k(), S("span", Nu, [
|
|
13847
13854
|
d != null && d.show ? (k(), S("i", {
|
|
13848
13855
|
key: 0,
|
|
13849
13856
|
class: "ikapprove ikapprove-a-putongjiantouzhankai",
|
|
13850
13857
|
onClick: (I) => l(d, "grid")
|
|
13851
|
-
}, null, 8,
|
|
13858
|
+
}, null, 8, Bu)) : (k(), S("i", {
|
|
13852
13859
|
key: 1,
|
|
13853
13860
|
onClick: (I) => l(d, "none"),
|
|
13854
13861
|
class: "ikapprove ikapprove-a-putongjiantoushouqi"
|
|
13855
|
-
}, null, 8,
|
|
13862
|
+
}, null, 8, Hu))
|
|
13856
13863
|
])) : L("v-if", !0)
|
|
13857
13864
|
])
|
|
13858
13865
|
])
|
|
@@ -13868,22 +13875,22 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13868
13875
|
},
|
|
13869
13876
|
[
|
|
13870
13877
|
L(" 审批意见 "),
|
|
13871
|
-
d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("div",
|
|
13878
|
+
d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("div", Uu, [
|
|
13872
13879
|
d[e.defaultFile.approveOpinion] ? (k(), S(
|
|
13873
13880
|
"span",
|
|
13874
|
-
|
|
13881
|
+
zu,
|
|
13875
13882
|
X(d[e.defaultFile.approveOpinion]),
|
|
13876
13883
|
1
|
|
13877
13884
|
/* TEXT */
|
|
13878
13885
|
)) : L("v-if", !0),
|
|
13879
|
-
d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("span",
|
|
13880
|
-
|
|
13886
|
+
d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("span", Vu, [
|
|
13887
|
+
ju,
|
|
13881
13888
|
(k(!0), S(
|
|
13882
13889
|
ce,
|
|
13883
13890
|
null,
|
|
13884
13891
|
Me(d[e.defaultFile.countersignPer], (I, ie) => (k(), S(
|
|
13885
13892
|
"span",
|
|
13886
|
-
|
|
13893
|
+
$u,
|
|
13887
13894
|
X(I == null ? void 0 : I.userName) + X(ie < d[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
|
|
13888
13895
|
1
|
|
13889
13896
|
/* TEXT */
|
|
@@ -13894,12 +13901,12 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13894
13901
|
])) : L("v-if", !0)
|
|
13895
13902
|
])) : L("v-if", !0),
|
|
13896
13903
|
L(" 附件 "),
|
|
13897
|
-
(R = d[e.defaultFile.attachment]) != null && R.length ? (k(), ve(x(
|
|
13904
|
+
(R = d[e.defaultFile.attachment]) != null && R.length ? (k(), ve(x(ta), {
|
|
13898
13905
|
key: 1,
|
|
13899
13906
|
list: d[e.defaultFile.attachment]
|
|
13900
13907
|
}, null, 8, ["list"])) : L("v-if", !0),
|
|
13901
13908
|
L(" 附件图片 "),
|
|
13902
|
-
(te = d[e.defaultFile.attachmentImg]) != null && te.length ? (k(), S("div",
|
|
13909
|
+
(te = d[e.defaultFile.attachmentImg]) != null && te.length ? (k(), S("div", Wu, [
|
|
13903
13910
|
(k(!0), S(
|
|
13904
13911
|
ce,
|
|
13905
13912
|
null,
|
|
@@ -13921,7 +13928,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13921
13928
|
))
|
|
13922
13929
|
])) : L("v-if", !0),
|
|
13923
13930
|
L(" 抄送节点或是等待审批状态并且列表长度大于1 "),
|
|
13924
|
-
(d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((q = d[e.defaultFile.approvePersonList]) == null ? void 0 : q.length) > 1 ? (k(), S("div",
|
|
13931
|
+
(d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((q = d[e.defaultFile.approvePersonList]) == null ? void 0 : q.length) > 1 ? (k(), S("div", Gu, [
|
|
13925
13932
|
(k(!0), S(
|
|
13926
13933
|
ce,
|
|
13927
13934
|
null,
|
|
@@ -13929,25 +13936,25 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13929
13936
|
class: "perBlock",
|
|
13930
13937
|
key: I.userName
|
|
13931
13938
|
}, [
|
|
13932
|
-
b("span",
|
|
13939
|
+
b("span", Ku, [
|
|
13933
13940
|
I.userAvatar ? (k(), S("img", {
|
|
13934
13941
|
key: 0,
|
|
13935
13942
|
style: { width: "100%", height: "100%", "border-radius": "50%" },
|
|
13936
13943
|
src: u(I.userAvatar),
|
|
13937
13944
|
alt: ""
|
|
13938
|
-
}, null, 8,
|
|
13945
|
+
}, null, 8, Yu)) : (k(), S(
|
|
13939
13946
|
"span",
|
|
13940
|
-
|
|
13947
|
+
Xu,
|
|
13941
13948
|
X(I.userName.slice(-2)),
|
|
13942
13949
|
1
|
|
13943
13950
|
/* TEXT */
|
|
13944
13951
|
)),
|
|
13945
|
-
I.status === "END" ? (k(), S("i",
|
|
13952
|
+
I.status === "END" ? (k(), S("i", qu)) : L("v-if", !0)
|
|
13946
13953
|
]),
|
|
13947
13954
|
b("div", {
|
|
13948
13955
|
class: "main-text",
|
|
13949
13956
|
title: I.userName
|
|
13950
|
-
}, X(I.userName), 9,
|
|
13957
|
+
}, X(I.userName), 9, Zu)
|
|
13951
13958
|
]))),
|
|
13952
13959
|
128
|
|
13953
13960
|
/* KEYED_FRAGMENT */
|
|
@@ -13957,19 +13964,19 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13957
13964
|
4
|
|
13958
13965
|
/* STYLE */
|
|
13959
13966
|
),
|
|
13960
|
-
d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), S("div",
|
|
13967
|
+
d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), S("div", Ju, [
|
|
13961
13968
|
(k(!0), S(
|
|
13962
13969
|
ce,
|
|
13963
13970
|
null,
|
|
13964
|
-
Me(d[e.defaultFile.parallelInstances], (I) => (k(), S("div",
|
|
13971
|
+
Me(d[e.defaultFile.parallelInstances], (I) => (k(), S("div", Qu, [
|
|
13965
13972
|
b(
|
|
13966
13973
|
"div",
|
|
13967
|
-
|
|
13974
|
+
ec,
|
|
13968
13975
|
X(I.name),
|
|
13969
13976
|
1
|
|
13970
13977
|
/* TEXT */
|
|
13971
13978
|
),
|
|
13972
|
-
$(p,
|
|
13979
|
+
$(p, wn({ ref_for: !0 }, r, {
|
|
13973
13980
|
"data-list": (I == null ? void 0 : I.processInstanceNodes) || []
|
|
13974
13981
|
}), null, 16, ["data-list"])
|
|
13975
13982
|
]))),
|
|
@@ -13977,7 +13984,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13977
13984
|
/* UNKEYED_FRAGMENT */
|
|
13978
13985
|
))
|
|
13979
13986
|
])) : L("v-if", !0)
|
|
13980
|
-
], 8,
|
|
13987
|
+
], 8, ou);
|
|
13981
13988
|
}),
|
|
13982
13989
|
128
|
|
13983
13990
|
/* KEYED_FRAGMENT */
|
|
@@ -13986,8 +13993,8 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13986
13993
|
};
|
|
13987
13994
|
}
|
|
13988
13995
|
});
|
|
13989
|
-
const
|
|
13996
|
+
const nc = /* @__PURE__ */ vt(ic, [["__scopeId", "data-v-48f27627"]]), oc = Ae(nc);
|
|
13990
13997
|
export {
|
|
13991
|
-
|
|
13992
|
-
|
|
13998
|
+
oc as IKApprovalProcessDetail,
|
|
13999
|
+
oc as default
|
|
13993
14000
|
};
|