iking-web-ui-pro 0.2.34 → 0.2.35
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 +602 -599
- 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 +673 -670
- 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 +825 -846
- package/dist/IkDescription/ik.index.umd.js +46 -46
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +617 -614
- 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 +13188 -13214
- 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,11 +1028,11 @@ 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
|
|
@@ -1063,7 +1066,7 @@ const vt = (o, a) => {
|
|
|
1063
1066
|
}, [
|
|
1064
1067
|
b(
|
|
1065
1068
|
"div",
|
|
1066
|
-
|
|
1069
|
+
Xs,
|
|
1067
1070
|
X(D.name),
|
|
1068
1071
|
1
|
|
1069
1072
|
/* TEXT */
|
|
@@ -1093,7 +1096,7 @@ const vt = (o, a) => {
|
|
|
1093
1096
|
2
|
|
1094
1097
|
/* CLASS */
|
|
1095
1098
|
)
|
|
1096
|
-
], 12,
|
|
1099
|
+
], 12, Ys))),
|
|
1097
1100
|
256
|
|
1098
1101
|
/* UNKEYED_FRAGMENT */
|
|
1099
1102
|
)) : (k(), ve(m, { key: 1 }, {
|
|
@@ -1118,24 +1121,24 @@ const vt = (o, a) => {
|
|
|
1118
1121
|
class: "file-card",
|
|
1119
1122
|
onClick: (R) => c(D)
|
|
1120
1123
|
}, [
|
|
1121
|
-
$(x(
|
|
1124
|
+
$(x(xs), {
|
|
1122
1125
|
file: D,
|
|
1123
1126
|
style: oe({ height: `${o.iconSize}px` }),
|
|
1124
1127
|
class: "ikui-w-auto",
|
|
1125
1128
|
fields: s.value
|
|
1126
1129
|
}, null, 8, ["file", "style", "fields"]),
|
|
1127
|
-
b("div",
|
|
1130
|
+
b("div", Zs, [
|
|
1128
1131
|
b(
|
|
1129
1132
|
"div",
|
|
1130
|
-
|
|
1133
|
+
Js,
|
|
1131
1134
|
X(D.name),
|
|
1132
1135
|
1
|
|
1133
1136
|
/* TEXT */
|
|
1134
1137
|
),
|
|
1135
1138
|
b(
|
|
1136
1139
|
"div",
|
|
1137
|
-
|
|
1138
|
-
X(x(
|
|
1140
|
+
Qs,
|
|
1141
|
+
X(x(Ks)(D.size)),
|
|
1139
1142
|
1
|
|
1140
1143
|
/* TEXT */
|
|
1141
1144
|
)
|
|
@@ -1167,7 +1170,7 @@ const vt = (o, a) => {
|
|
|
1167
1170
|
2
|
|
1168
1171
|
/* CLASS */
|
|
1169
1172
|
)
|
|
1170
|
-
], 8,
|
|
1173
|
+
], 8, qs)
|
|
1171
1174
|
],
|
|
1172
1175
|
6
|
|
1173
1176
|
/* CLASS, STYLE */
|
|
@@ -1184,7 +1187,7 @@ const vt = (o, a) => {
|
|
|
1184
1187
|
64
|
|
1185
1188
|
/* STABLE_FRAGMENT */
|
|
1186
1189
|
)) : L("v-if", !0),
|
|
1187
|
-
$(x(
|
|
1190
|
+
$(x(na), {
|
|
1188
1191
|
show: u.value,
|
|
1189
1192
|
"onUpdate:show": v[0] || (v[0] = (D) => u.value = D),
|
|
1190
1193
|
loadUrl: x(t),
|
|
@@ -1200,7 +1203,7 @@ const vt = (o, a) => {
|
|
|
1200
1203
|
};
|
|
1201
1204
|
}
|
|
1202
1205
|
});
|
|
1203
|
-
const
|
|
1206
|
+
const ta = Ae(ea), ia = /* @__PURE__ */ ee({
|
|
1204
1207
|
__name: "IkPreviewFileDialog",
|
|
1205
1208
|
props: /* @__PURE__ */ Tt({
|
|
1206
1209
|
file: {
|
|
@@ -1243,7 +1246,7 @@ const ea = Ae(Qs), ta = /* @__PURE__ */ ee({
|
|
|
1243
1246
|
suffix: "suffix",
|
|
1244
1247
|
size: "fileSize",
|
|
1245
1248
|
...a.field
|
|
1246
|
-
})), e = pe(null), i = pe(null), n =
|
|
1249
|
+
})), e = pe(null), i = pe(null), n = Cn({
|
|
1247
1250
|
image: !1,
|
|
1248
1251
|
office: !1,
|
|
1249
1252
|
video: !1
|
|
@@ -1274,13 +1277,13 @@ const ea = Ae(Qs), ta = /* @__PURE__ */ ee({
|
|
|
1274
1277
|
}
|
|
1275
1278
|
},
|
|
1276
1279
|
document: {
|
|
1277
|
-
key:
|
|
1280
|
+
key: Sn(),
|
|
1278
1281
|
title: D,
|
|
1279
1282
|
url: lt(a.loadUrl, E),
|
|
1280
1283
|
fileType: w,
|
|
1281
1284
|
...((m = a.onlyOfficeConfig) == null ? void 0 : m.document) || {}
|
|
1282
1285
|
},
|
|
1283
|
-
documentType:
|
|
1286
|
+
documentType: Tr(w)
|
|
1284
1287
|
};
|
|
1285
1288
|
return;
|
|
1286
1289
|
}
|
|
@@ -1302,7 +1305,7 @@ const ea = Ae(Qs), ta = /* @__PURE__ */ ee({
|
|
|
1302
1305
|
ce,
|
|
1303
1306
|
{ key: 0 },
|
|
1304
1307
|
[
|
|
1305
|
-
(h = i.value) != null && h.url && n.image ? (k(), ve(x(
|
|
1308
|
+
(h = i.value) != null && h.url && n.image ? (k(), ve(x(Va), {
|
|
1306
1309
|
key: 0,
|
|
1307
1310
|
onClose: c[0] || (c[0] = (d) => l()),
|
|
1308
1311
|
ref: "previewImgRef",
|
|
@@ -1312,12 +1315,12 @@ const ea = Ae(Qs), ta = /* @__PURE__ */ ee({
|
|
|
1312
1315
|
}, null, 8, ["url-list"])) : L("v-if", !0),
|
|
1313
1316
|
L(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
1314
1317
|
L(" 文档类 "),
|
|
1315
|
-
$(x(
|
|
1318
|
+
$(x(su), {
|
|
1316
1319
|
modelValue: n.video,
|
|
1317
1320
|
"onUpdate:modelValue": c[1] || (c[1] = (d) => n.video = d),
|
|
1318
1321
|
url: (p = i.value) == null ? void 0 : p.url
|
|
1319
1322
|
}, null, 8, ["modelValue", "url"]),
|
|
1320
|
-
$(x(
|
|
1323
|
+
$(x(ma), {
|
|
1321
1324
|
modelValue: n.office,
|
|
1322
1325
|
"onUpdate:modelValue": c[2] || (c[2] = (d) => n.office = d),
|
|
1323
1326
|
draggable: "",
|
|
@@ -1335,7 +1338,7 @@ const ea = Ae(Qs), ta = /* @__PURE__ */ ee({
|
|
|
1335
1338
|
default: ne(() => {
|
|
1336
1339
|
var d;
|
|
1337
1340
|
return [
|
|
1338
|
-
$(x(
|
|
1341
|
+
$(x(Sa), {
|
|
1339
1342
|
"config-options": e.value,
|
|
1340
1343
|
"document-server-url": ((d = o.onlyOfficeConfig) == null ? void 0 : d.serverUrl) || o.onlyofficeServer
|
|
1341
1344
|
}, null, 8, ["config-options", "document-server-url"])
|
|
@@ -1351,18 +1354,18 @@ const ea = Ae(Qs), ta = /* @__PURE__ */ ee({
|
|
|
1351
1354
|
};
|
|
1352
1355
|
}
|
|
1353
1356
|
});
|
|
1354
|
-
const
|
|
1357
|
+
const na = Ae(ia), ra = {
|
|
1355
1358
|
key: 0,
|
|
1356
1359
|
class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
|
|
1357
|
-
},
|
|
1360
|
+
}, sa = {
|
|
1358
1361
|
key: 1,
|
|
1359
1362
|
class: "h-[1em] w-[1em]",
|
|
1360
1363
|
"aria-hidden": "true"
|
|
1361
|
-
},
|
|
1364
|
+
}, aa = ["xlink:href"], oa = ["src"], la = {
|
|
1362
1365
|
key: 1,
|
|
1363
1366
|
class: "h-[1em] w-[1em]",
|
|
1364
1367
|
"aria-hidden": "true"
|
|
1365
|
-
},
|
|
1368
|
+
}, ua = ["xlink:href"], ca = ["src"], fa = /* @__PURE__ */ ee({
|
|
1366
1369
|
name: "IkSvgIcon",
|
|
1367
1370
|
__name: "index",
|
|
1368
1371
|
props: {
|
|
@@ -1415,14 +1418,14 @@ const ia = Ae(ta), na = {
|
|
|
1415
1418
|
padding: r.value.showBg || r.value.bg ? r.value.padding : 0,
|
|
1416
1419
|
...r.value.color && t.value !== "iksig" ? {
|
|
1417
1420
|
"--ik-color-icon-dark": r.value.color,
|
|
1418
|
-
"--ik-color-icon-light": r.value.colorLight ||
|
|
1421
|
+
"--ik-color-icon-light": r.value.colorLight || _r.setOpacity(r.value.color, r.value.opacity)
|
|
1419
1422
|
} : {}
|
|
1420
1423
|
};
|
|
1421
1424
|
return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
|
|
1422
1425
|
});
|
|
1423
1426
|
return (i, n) => {
|
|
1424
1427
|
const s = Ke("el-tooltip"), l = Ke("el-button");
|
|
1425
|
-
return r.value.tableIconType === "icon" || !r.value.tableIconType ? (k(), S("span",
|
|
1428
|
+
return r.value.tableIconType === "icon" || !r.value.tableIconType ? (k(), S("span", ra, [
|
|
1426
1429
|
r.value.notip || !r.value.title ? (k(), S(
|
|
1427
1430
|
"i",
|
|
1428
1431
|
{
|
|
@@ -1454,15 +1457,15 @@ const ia = Ae(ta), na = {
|
|
|
1454
1457
|
null,
|
|
1455
1458
|
6
|
|
1456
1459
|
/* CLASS, STYLE */
|
|
1457
|
-
)) : t.value === "svg" ? (k(), S("svg",
|
|
1460
|
+
)) : t.value === "svg" ? (k(), S("svg", sa, [
|
|
1458
1461
|
b("use", {
|
|
1459
1462
|
"xlink:href": `#${r.value.name}`
|
|
1460
|
-
}, null, 8,
|
|
1463
|
+
}, null, 8, aa)
|
|
1461
1464
|
])) : t.value === "img" ? (k(), S("img", {
|
|
1462
1465
|
key: 2,
|
|
1463
1466
|
src: r.value.name,
|
|
1464
1467
|
class: "h-[1em] w-[1em]"
|
|
1465
|
-
}, null, 8,
|
|
1468
|
+
}, null, 8, oa)) : (k(), S(
|
|
1466
1469
|
"i",
|
|
1467
1470
|
{
|
|
1468
1471
|
key: 3,
|
|
@@ -1510,15 +1513,15 @@ const ia = Ae(ta), na = {
|
|
|
1510
1513
|
null,
|
|
1511
1514
|
6
|
|
1512
1515
|
/* CLASS, STYLE */
|
|
1513
|
-
)) : t.value === "svg" ? (k(), S("svg",
|
|
1516
|
+
)) : t.value === "svg" ? (k(), S("svg", la, [
|
|
1514
1517
|
b("use", {
|
|
1515
1518
|
"xlink:href": `#${r.value.name}`
|
|
1516
|
-
}, null, 8,
|
|
1519
|
+
}, null, 8, ua)
|
|
1517
1520
|
])) : t.value === "img" ? (k(), S("img", {
|
|
1518
1521
|
key: 2,
|
|
1519
1522
|
src: r.value.name,
|
|
1520
1523
|
class: "h-[1em] w-[1em]"
|
|
1521
|
-
}, null, 8,
|
|
1524
|
+
}, null, 8, ca)) : (k(), S(
|
|
1522
1525
|
"i",
|
|
1523
1526
|
{
|
|
1524
1527
|
key: 3,
|
|
@@ -1554,7 +1557,7 @@ const ia = Ae(ta), na = {
|
|
|
1554
1557
|
};
|
|
1555
1558
|
}
|
|
1556
1559
|
});
|
|
1557
|
-
const
|
|
1560
|
+
const ha = /* @__PURE__ */ vt(fa, [["__scopeId", "data-v-52806adf"]]), st = Ae(ha), da = /* @__PURE__ */ ee({
|
|
1558
1561
|
__name: "CloseIcon",
|
|
1559
1562
|
props: {
|
|
1560
1563
|
showBg: {
|
|
@@ -1585,7 +1588,7 @@ const fa = /* @__PURE__ */ vt(ca, [["__scopeId", "data-v-52806adf"]]), st = Ae(f
|
|
|
1585
1588
|
));
|
|
1586
1589
|
}
|
|
1587
1590
|
});
|
|
1588
|
-
const
|
|
1591
|
+
const ga = /* @__PURE__ */ vt(da, [["__scopeId", "data-v-da39e979"]]), pa = { class: "base-header" }, va = /* @__PURE__ */ ee({
|
|
1589
1592
|
__name: "IkBaseDialog",
|
|
1590
1593
|
props: /* @__PURE__ */ Tt({
|
|
1591
1594
|
title: { default: "" },
|
|
@@ -1610,7 +1613,7 @@ const da = /* @__PURE__ */ vt(ha, [["__scopeId", "data-v-da39e979"]]), ga = { cl
|
|
|
1610
1613
|
t.value = !t.value;
|
|
1611
1614
|
}, i = ee({
|
|
1612
1615
|
setup() {
|
|
1613
|
-
return () =>
|
|
1616
|
+
return () => or(ga, {
|
|
1614
1617
|
showBg: a.showCloseBg,
|
|
1615
1618
|
fullscreen: a.fullscreen
|
|
1616
1619
|
});
|
|
@@ -1618,7 +1621,7 @@ const da = /* @__PURE__ */ vt(ha, [["__scopeId", "data-v-da39e979"]]), ga = { cl
|
|
|
1618
1621
|
});
|
|
1619
1622
|
return (n, s) => {
|
|
1620
1623
|
const l = Ke("el-dialog");
|
|
1621
|
-
return k(), ve(l,
|
|
1624
|
+
return k(), ve(l, wn({
|
|
1622
1625
|
modelValue: r.value,
|
|
1623
1626
|
"onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u),
|
|
1624
1627
|
"align-center": ""
|
|
@@ -1627,7 +1630,7 @@ const da = /* @__PURE__ */ vt(ha, [["__scopeId", "data-v-da39e979"]]), ga = { cl
|
|
|
1627
1630
|
class: `ik-base-dialog ${n.noHeader ? "no-header" : ""} ${n.noFooter ? "no-footer" : ""}`,
|
|
1628
1631
|
fullscreen: t.value,
|
|
1629
1632
|
"modal-class": "baseDialog"
|
|
1630
|
-
}),
|
|
1633
|
+
}), lr({
|
|
1631
1634
|
icon: ne(() => [
|
|
1632
1635
|
Ne(n.$slots, "title", {}, () => [
|
|
1633
1636
|
We(
|
|
@@ -1638,7 +1641,7 @@ const da = /* @__PURE__ */ vt(ha, [["__scopeId", "data-v-da39e979"]]), ga = { cl
|
|
|
1638
1641
|
])
|
|
1639
1642
|
]),
|
|
1640
1643
|
header: ne(() => [
|
|
1641
|
-
b("div",
|
|
1644
|
+
b("div", pa, [
|
|
1642
1645
|
Ne(n.$slots, "header", {}, () => [
|
|
1643
1646
|
We(
|
|
1644
1647
|
X(n.title),
|
|
@@ -1672,12 +1675,12 @@ const da = /* @__PURE__ */ vt(ha, [["__scopeId", "data-v-da39e979"]]), ga = { cl
|
|
|
1672
1675
|
};
|
|
1673
1676
|
}
|
|
1674
1677
|
});
|
|
1675
|
-
const
|
|
1676
|
-
var
|
|
1678
|
+
const ma = Ae(va);
|
|
1679
|
+
var ya = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1677
1680
|
function gi(o) {
|
|
1678
1681
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
1679
1682
|
}
|
|
1680
|
-
function
|
|
1683
|
+
function _a(o, a, r, t) {
|
|
1681
1684
|
function e(i) {
|
|
1682
1685
|
return i instanceof r ? i : new r(function(n) {
|
|
1683
1686
|
n(i);
|
|
@@ -1704,7 +1707,7 @@ function ya(o, a, r, t) {
|
|
|
1704
1707
|
u((t = t.apply(o, a || [])).next());
|
|
1705
1708
|
});
|
|
1706
1709
|
}
|
|
1707
|
-
function
|
|
1710
|
+
function ka(o, a) {
|
|
1708
1711
|
var r = { label: 0, sent: function() {
|
|
1709
1712
|
if (i[0] & 1)
|
|
1710
1713
|
throw i[1];
|
|
@@ -1769,9 +1772,9 @@ function _a(o, a) {
|
|
|
1769
1772
|
return { value: u[0] ? u[1] : void 0, done: !0 };
|
|
1770
1773
|
}
|
|
1771
1774
|
}
|
|
1772
|
-
var
|
|
1773
|
-
return
|
|
1774
|
-
return
|
|
1775
|
+
var Ca = function(o, a) {
|
|
1776
|
+
return _a(void 0, void 0, void 0, function() {
|
|
1777
|
+
return ka(this, function(r) {
|
|
1775
1778
|
return [2, new Promise(function(t, e) {
|
|
1776
1779
|
try {
|
|
1777
1780
|
if (window.DocsAPI)
|
|
@@ -1783,12 +1786,12 @@ var ka = function(o, a) {
|
|
|
1783
1786
|
if (!l) {
|
|
1784
1787
|
if (clearInterval(n), window.DocsAPI)
|
|
1785
1788
|
return t(null);
|
|
1786
|
-
var u =
|
|
1789
|
+
var u = Bi(a, o, t, e);
|
|
1787
1790
|
i.remove(), document.body.appendChild(u);
|
|
1788
1791
|
}
|
|
1789
1792
|
}, 500);
|
|
1790
1793
|
else {
|
|
1791
|
-
var s =
|
|
1794
|
+
var s = Bi(a, o, t, e);
|
|
1792
1795
|
document.body.appendChild(s);
|
|
1793
1796
|
}
|
|
1794
1797
|
} catch (l) {
|
|
@@ -1797,7 +1800,7 @@ var ka = function(o, a) {
|
|
|
1797
1800
|
})];
|
|
1798
1801
|
});
|
|
1799
1802
|
});
|
|
1800
|
-
},
|
|
1803
|
+
}, Bi = function(o, a, r, t) {
|
|
1801
1804
|
var e = document.createElement("script");
|
|
1802
1805
|
return e.id = o, e.type = "text/javascript", e.src = a, e.async = !0, e.onload = function() {
|
|
1803
1806
|
e.removeAttribute("loading"), r(null);
|
|
@@ -1859,7 +1862,7 @@ var ka = function(o, a) {
|
|
|
1859
1862
|
var o = this, a = this.documentServerUrl;
|
|
1860
1863
|
a.endsWith("/") || (a += "/");
|
|
1861
1864
|
var r = "".concat(a, "web-apps/apps/api/documents/api.js");
|
|
1862
|
-
|
|
1865
|
+
Ca(r, "onlyoffice-api-script").then(function() {
|
|
1863
1866
|
return o.onLoad();
|
|
1864
1867
|
}).catch(function() {
|
|
1865
1868
|
o.onError(-2);
|
|
@@ -1973,13 +1976,13 @@ var ka = function(o, a) {
|
|
|
1973
1976
|
}
|
|
1974
1977
|
}
|
|
1975
1978
|
});
|
|
1976
|
-
const
|
|
1977
|
-
function
|
|
1978
|
-
return k(), S("div", { id: o.id }, null, 8,
|
|
1979
|
+
const wa = ["id"];
|
|
1980
|
+
function ba(o, a, r, t, e, i) {
|
|
1981
|
+
return k(), S("div", { id: o.id }, null, 8, wa);
|
|
1979
1982
|
}
|
|
1980
|
-
pi.render =
|
|
1983
|
+
pi.render = ba;
|
|
1981
1984
|
pi.__file = "src/components/DocumentEditor.vue";
|
|
1982
|
-
const
|
|
1985
|
+
const Ta = /* @__PURE__ */ ee({
|
|
1983
1986
|
__name: "IkOnlyOffice",
|
|
1984
1987
|
props: {
|
|
1985
1988
|
// 文件服务器的服务的地址
|
|
@@ -2027,55 +2030,55 @@ const ba = /* @__PURE__ */ ee({
|
|
|
2027
2030
|
));
|
|
2028
2031
|
}
|
|
2029
2032
|
});
|
|
2030
|
-
const
|
|
2031
|
-
var
|
|
2032
|
-
const
|
|
2033
|
+
const Ea = /* @__PURE__ */ vt(Ta, [["__scopeId", "data-v-98d51ef9"]]), Sa = Ae(Ea);
|
|
2034
|
+
var Hi;
|
|
2035
|
+
const Pn = typeof window < "u", xa = (o) => typeof o == "string", Ia = () => {
|
|
2033
2036
|
};
|
|
2034
|
-
|
|
2035
|
-
function
|
|
2037
|
+
Pn && ((Hi = window == null ? void 0 : window.navigator) != null && Hi.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
2038
|
+
function An(o) {
|
|
2036
2039
|
return typeof o == "function" ? o() : x(o);
|
|
2037
2040
|
}
|
|
2038
|
-
function Ia(o) {
|
|
2039
|
-
return o;
|
|
2040
|
-
}
|
|
2041
2041
|
function Pa(o) {
|
|
2042
|
-
return
|
|
2042
|
+
return o;
|
|
2043
2043
|
}
|
|
2044
2044
|
function Aa(o) {
|
|
2045
|
+
return ur() ? (cr(o), !0) : !1;
|
|
2046
|
+
}
|
|
2047
|
+
function La(o) {
|
|
2045
2048
|
var a;
|
|
2046
|
-
const r =
|
|
2049
|
+
const r = An(o);
|
|
2047
2050
|
return (a = r == null ? void 0 : r.$el) != null ? a : r;
|
|
2048
2051
|
}
|
|
2049
|
-
const
|
|
2052
|
+
const Da = Pn ? window : void 0;
|
|
2050
2053
|
function _t(...o) {
|
|
2051
2054
|
let a, r, t, e;
|
|
2052
|
-
if (
|
|
2053
|
-
return
|
|
2055
|
+
if (xa(o[0]) || Array.isArray(o[0]) ? ([r, t, e] = o, a = Da) : [a, r, t, e] = o, !a)
|
|
2056
|
+
return Ia;
|
|
2054
2057
|
Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
|
|
2055
2058
|
const i = [], n = () => {
|
|
2056
2059
|
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(() => [
|
|
2060
|
+
}, s = (c, h, g, p) => (c.addEventListener(h, g, p), () => c.removeEventListener(h, g, p)), l = ot(() => [La(a), An(e)], ([c, h]) => {
|
|
2058
2061
|
n(), c && i.push(...r.flatMap((g) => t.map((p) => s(c, g, p, h))));
|
|
2059
2062
|
}, { immediate: !0, flush: "post" }), u = () => {
|
|
2060
2063
|
l(), n();
|
|
2061
2064
|
};
|
|
2062
|
-
return
|
|
2065
|
+
return Aa(u), u;
|
|
2063
2066
|
}
|
|
2064
|
-
const
|
|
2065
|
-
|
|
2066
|
-
var
|
|
2067
|
+
const Ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, zi = "__vueuse_ssr_handlers__";
|
|
2068
|
+
Ui[zi] = Ui[zi] || {};
|
|
2069
|
+
var Vi;
|
|
2067
2070
|
(function(o) {
|
|
2068
2071
|
o.UP = "UP", o.RIGHT = "RIGHT", o.DOWN = "DOWN", o.LEFT = "LEFT", o.NONE = "NONE";
|
|
2069
|
-
})(
|
|
2070
|
-
var
|
|
2072
|
+
})(Vi || (Vi = {}));
|
|
2073
|
+
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
2074
|
for (var r in a || (a = {}))
|
|
2072
|
-
|
|
2073
|
-
if (
|
|
2074
|
-
for (var r of
|
|
2075
|
-
|
|
2075
|
+
Ra.call(a, r) && $i(o, r, a[r]);
|
|
2076
|
+
if (ji)
|
|
2077
|
+
for (var r of ji(a))
|
|
2078
|
+
Fa.call(a, r) && $i(o, r, a[r]);
|
|
2076
2079
|
return o;
|
|
2077
2080
|
};
|
|
2078
|
-
const
|
|
2081
|
+
const Na = {
|
|
2079
2082
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
2080
2083
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
2081
2084
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -2101,10 +2104,10 @@ const Ma = {
|
|
|
2101
2104
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
2102
2105
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
2103
2106
|
};
|
|
2104
|
-
|
|
2105
|
-
linear:
|
|
2106
|
-
},
|
|
2107
|
-
const
|
|
2107
|
+
Ma({
|
|
2108
|
+
linear: Pa
|
|
2109
|
+
}, Na);
|
|
2110
|
+
const Ba = {
|
|
2108
2111
|
/**
|
|
2109
2112
|
* @description preview link list.
|
|
2110
2113
|
*/
|
|
@@ -2174,26 +2177,26 @@ const Na = {
|
|
|
2174
2177
|
crossorigin: {
|
|
2175
2178
|
type: ["anonymous", "use-credentials", ""]
|
|
2176
2179
|
}
|
|
2177
|
-
},
|
|
2180
|
+
}, Ha = {
|
|
2178
2181
|
close: () => !0,
|
|
2179
2182
|
switch: (o) => ri.isNumber(o),
|
|
2180
2183
|
rotate: (o) => ri.isNumber(o)
|
|
2181
|
-
},
|
|
2184
|
+
}, Ua = ["src", "crossorigin"], za = /* @__PURE__ */ ee({
|
|
2182
2185
|
name: "ElImageViewer",
|
|
2183
2186
|
__name: "IkImageViewer",
|
|
2184
|
-
props:
|
|
2185
|
-
emits:
|
|
2187
|
+
props: Ba,
|
|
2188
|
+
emits: Ha,
|
|
2186
2189
|
setup(o, { expose: a, emit: r }) {
|
|
2187
2190
|
const t = (H) => Object.keys(H), e = {
|
|
2188
2191
|
CONTAIN: {
|
|
2189
2192
|
name: "contain",
|
|
2190
|
-
icon: Fi(
|
|
2193
|
+
icon: Fi(Rs)
|
|
2191
2194
|
},
|
|
2192
2195
|
ORIGINAL: {
|
|
2193
2196
|
name: "original",
|
|
2194
|
-
icon: Fi(
|
|
2197
|
+
icon: Fi(Us)
|
|
2195
2198
|
}
|
|
2196
|
-
}, i = o, n = r, { t: s } =
|
|
2199
|
+
}, 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
2200
|
scale: 1,
|
|
2198
2201
|
deg: 0,
|
|
2199
2202
|
offsetX: 0,
|
|
@@ -2342,7 +2345,7 @@ const Na = {
|
|
|
2342
2345
|
});
|
|
2343
2346
|
}), ot(d, (H) => {
|
|
2344
2347
|
Pi(), n("switch", H);
|
|
2345
|
-
}),
|
|
2348
|
+
}), bn(() => {
|
|
2346
2349
|
var H, G;
|
|
2347
2350
|
I(), (G = (H = c.value) == null ? void 0 : H.focus) == null || G.call(H);
|
|
2348
2351
|
}), a({
|
|
@@ -2350,8 +2353,8 @@ const Na = {
|
|
|
2350
2353
|
* @description manually switch image
|
|
2351
2354
|
*/
|
|
2352
2355
|
setActiveItem: Ut
|
|
2353
|
-
}), (H, G) => (k(), ve(
|
|
2354
|
-
$(
|
|
2356
|
+
}), (H, G) => (k(), ve(Tn, { to: "body" }, [
|
|
2357
|
+
$(En, {
|
|
2355
2358
|
name: "viewer-fade",
|
|
2356
2359
|
appear: ""
|
|
2357
2360
|
}, {
|
|
@@ -2386,7 +2389,7 @@ const Na = {
|
|
|
2386
2389
|
[
|
|
2387
2390
|
$(x(De), null, {
|
|
2388
2391
|
default: ne(() => [
|
|
2389
|
-
$(x(
|
|
2392
|
+
$(x(In))
|
|
2390
2393
|
]),
|
|
2391
2394
|
_: 1
|
|
2392
2395
|
/* STABLE */
|
|
@@ -2409,7 +2412,7 @@ const Na = {
|
|
|
2409
2412
|
[
|
|
2410
2413
|
$(x(De), null, {
|
|
2411
2414
|
default: ne(() => [
|
|
2412
|
-
$(x(
|
|
2415
|
+
$(x(Ps))
|
|
2413
2416
|
]),
|
|
2414
2417
|
_: 1
|
|
2415
2418
|
/* STABLE */
|
|
@@ -2427,7 +2430,7 @@ const Na = {
|
|
|
2427
2430
|
[
|
|
2428
2431
|
$(x(De), null, {
|
|
2429
2432
|
default: ne(() => [
|
|
2430
|
-
$(x(
|
|
2433
|
+
$(x(Ls))
|
|
2431
2434
|
]),
|
|
2432
2435
|
_: 1
|
|
2433
2436
|
/* STABLE */
|
|
@@ -2457,7 +2460,7 @@ const Na = {
|
|
|
2457
2460
|
onClick: G[1] || (G[1] = (J) => Ve("zoomOut"))
|
|
2458
2461
|
}, {
|
|
2459
2462
|
default: ne(() => [
|
|
2460
|
-
$(x(
|
|
2463
|
+
$(x($s))
|
|
2461
2464
|
]),
|
|
2462
2465
|
_: 1
|
|
2463
2466
|
/* STABLE */
|
|
@@ -2466,7 +2469,7 @@ const Na = {
|
|
|
2466
2469
|
onClick: G[2] || (G[2] = (J) => Ve("zoomIn"))
|
|
2467
2470
|
}, {
|
|
2468
2471
|
default: ne(() => [
|
|
2469
|
-
$(x(
|
|
2472
|
+
$(x(Vs))
|
|
2470
2473
|
]),
|
|
2471
2474
|
_: 1
|
|
2472
2475
|
/* STABLE */
|
|
@@ -2482,7 +2485,7 @@ const Na = {
|
|
|
2482
2485
|
),
|
|
2483
2486
|
$(x(De), { onClick: Ai }, {
|
|
2484
2487
|
default: ne(() => [
|
|
2485
|
-
(k(), ve(
|
|
2488
|
+
(k(), ve(dr(v.value.icon)))
|
|
2486
2489
|
]),
|
|
2487
2490
|
_: 1
|
|
2488
2491
|
/* STABLE */
|
|
@@ -2500,7 +2503,7 @@ const Na = {
|
|
|
2500
2503
|
onClick: G[3] || (G[3] = (J) => Ve("anticlockwise"))
|
|
2501
2504
|
}, {
|
|
2502
2505
|
default: ne(() => [
|
|
2503
|
-
$(x(
|
|
2506
|
+
$(x(Ms))
|
|
2504
2507
|
]),
|
|
2505
2508
|
_: 1
|
|
2506
2509
|
/* STABLE */
|
|
@@ -2509,7 +2512,7 @@ const Na = {
|
|
|
2509
2512
|
onClick: G[4] || (G[4] = (J) => Ve("clockwise"))
|
|
2510
2513
|
}, {
|
|
2511
2514
|
default: ne(() => [
|
|
2512
|
-
$(x(
|
|
2515
|
+
$(x(Bs))
|
|
2513
2516
|
]),
|
|
2514
2517
|
_: 1
|
|
2515
2518
|
/* STABLE */
|
|
@@ -2532,7 +2535,7 @@ const Na = {
|
|
|
2532
2535
|
(k(!0), S(
|
|
2533
2536
|
ce,
|
|
2534
2537
|
null,
|
|
2535
|
-
Me(H.urlList, (J, me) =>
|
|
2538
|
+
Me(H.urlList, (J, me) => gr((k(), S("img", {
|
|
2536
2539
|
ref_for: !0,
|
|
2537
2540
|
ref: (ke) => h.value[me] = ke,
|
|
2538
2541
|
key: J,
|
|
@@ -2543,8 +2546,8 @@ const Na = {
|
|
|
2543
2546
|
onLoad: se,
|
|
2544
2547
|
onError: fe,
|
|
2545
2548
|
onMousedown: Te
|
|
2546
|
-
}, null, 46,
|
|
2547
|
-
[
|
|
2549
|
+
}, null, 46, Ua)), [
|
|
2550
|
+
[pr, me === d.value]
|
|
2548
2551
|
])),
|
|
2549
2552
|
128
|
|
2550
2553
|
/* KEYED_FRAGMENT */
|
|
@@ -2564,8 +2567,8 @@ const Na = {
|
|
|
2564
2567
|
})
|
|
2565
2568
|
]));
|
|
2566
2569
|
}
|
|
2567
|
-
}),
|
|
2568
|
-
function
|
|
2570
|
+
}), Va = Ae(za);
|
|
2571
|
+
function Wi(o, a) {
|
|
2569
2572
|
var r = Object.keys(o);
|
|
2570
2573
|
if (Object.getOwnPropertySymbols) {
|
|
2571
2574
|
var t = Object.getOwnPropertySymbols(o);
|
|
@@ -2578,9 +2581,9 @@ function $i(o, a) {
|
|
|
2578
2581
|
function Q(o) {
|
|
2579
2582
|
for (var a = 1; a < arguments.length; a++) {
|
|
2580
2583
|
var r = arguments[a] != null ? arguments[a] : {};
|
|
2581
|
-
a % 2 ?
|
|
2584
|
+
a % 2 ? Wi(Object(r), !0).forEach(function(t) {
|
|
2582
2585
|
_(o, t, r[t]);
|
|
2583
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(r)) :
|
|
2586
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(r)) : Wi(Object(r)).forEach(function(t) {
|
|
2584
2587
|
Object.defineProperty(o, t, Object.getOwnPropertyDescriptor(r, t));
|
|
2585
2588
|
});
|
|
2586
2589
|
}
|
|
@@ -2598,19 +2601,19 @@ function P(o, a) {
|
|
|
2598
2601
|
if (!(o instanceof a))
|
|
2599
2602
|
throw new TypeError("Cannot call a class as a function");
|
|
2600
2603
|
}
|
|
2601
|
-
function
|
|
2604
|
+
function Gi(o, a) {
|
|
2602
2605
|
for (var r = 0; r < a.length; r++) {
|
|
2603
2606
|
var t = a[r];
|
|
2604
|
-
t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(o,
|
|
2607
|
+
t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(o, Ln(t.key), t);
|
|
2605
2608
|
}
|
|
2606
2609
|
}
|
|
2607
2610
|
function A(o, a, r) {
|
|
2608
|
-
return a &&
|
|
2611
|
+
return a && Gi(o.prototype, a), r && Gi(o, r), Object.defineProperty(o, "prototype", {
|
|
2609
2612
|
writable: !1
|
|
2610
2613
|
}), o;
|
|
2611
2614
|
}
|
|
2612
2615
|
function _(o, a, r) {
|
|
2613
|
-
return a =
|
|
2616
|
+
return a = Ln(a), a in o ? Object.defineProperty(o, a, {
|
|
2614
2617
|
value: r,
|
|
2615
2618
|
enumerable: !0,
|
|
2616
2619
|
configurable: !0,
|
|
@@ -2640,7 +2643,7 @@ function ai(o, a) {
|
|
|
2640
2643
|
return t.__proto__ = e, t;
|
|
2641
2644
|
}, ai(o, a);
|
|
2642
2645
|
}
|
|
2643
|
-
function
|
|
2646
|
+
function ja() {
|
|
2644
2647
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
2645
2648
|
return !1;
|
|
2646
2649
|
if (typeof Proxy == "function")
|
|
@@ -2665,7 +2668,7 @@ function vi(o, a) {
|
|
|
2665
2668
|
return y(o);
|
|
2666
2669
|
}
|
|
2667
2670
|
function M(o) {
|
|
2668
|
-
var a =
|
|
2671
|
+
var a = ja();
|
|
2669
2672
|
return function() {
|
|
2670
2673
|
var t = N(o), e;
|
|
2671
2674
|
if (a) {
|
|
@@ -2676,14 +2679,14 @@ function M(o) {
|
|
|
2676
2679
|
return vi(this, e);
|
|
2677
2680
|
};
|
|
2678
2681
|
}
|
|
2679
|
-
function
|
|
2682
|
+
function $a(o, a) {
|
|
2680
2683
|
for (; !Object.prototype.hasOwnProperty.call(o, a) && (o = N(o), o !== null); )
|
|
2681
2684
|
;
|
|
2682
2685
|
return o;
|
|
2683
2686
|
}
|
|
2684
2687
|
function B() {
|
|
2685
2688
|
return typeof Reflect < "u" && Reflect.get ? B = Reflect.get.bind() : B = function(a, r, t) {
|
|
2686
|
-
var e =
|
|
2689
|
+
var e = $a(a, r);
|
|
2687
2690
|
if (e) {
|
|
2688
2691
|
var i = Object.getOwnPropertyDescriptor(e, r);
|
|
2689
2692
|
return i.get ? i.get.call(arguments.length < 3 ? a : t) : i.value;
|
|
@@ -2691,17 +2694,17 @@ function B() {
|
|
|
2691
2694
|
}, B.apply(this, arguments);
|
|
2692
2695
|
}
|
|
2693
2696
|
function ye(o) {
|
|
2694
|
-
return
|
|
2697
|
+
return Wa(o) || Ga(o) || Ka(o) || Ya();
|
|
2695
2698
|
}
|
|
2696
|
-
function
|
|
2699
|
+
function Wa(o) {
|
|
2697
2700
|
if (Array.isArray(o))
|
|
2698
2701
|
return oi(o);
|
|
2699
2702
|
}
|
|
2700
|
-
function
|
|
2703
|
+
function Ga(o) {
|
|
2701
2704
|
if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null)
|
|
2702
2705
|
return Array.from(o);
|
|
2703
2706
|
}
|
|
2704
|
-
function
|
|
2707
|
+
function Ka(o, a) {
|
|
2705
2708
|
if (o) {
|
|
2706
2709
|
if (typeof o == "string")
|
|
2707
2710
|
return oi(o, a);
|
|
@@ -2718,11 +2721,11 @@ function oi(o, a) {
|
|
|
2718
2721
|
t[r] = o[r];
|
|
2719
2722
|
return t;
|
|
2720
2723
|
}
|
|
2721
|
-
function
|
|
2724
|
+
function Ya() {
|
|
2722
2725
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2723
2726
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2724
2727
|
}
|
|
2725
|
-
function
|
|
2728
|
+
function Xa(o, a) {
|
|
2726
2729
|
if (typeof o != "object" || o === null)
|
|
2727
2730
|
return o;
|
|
2728
2731
|
var r = o[Symbol.toPrimitive];
|
|
@@ -2734,11 +2737,11 @@ function Ya(o, a) {
|
|
|
2734
2737
|
}
|
|
2735
2738
|
return (a === "string" ? String : Number)(o);
|
|
2736
2739
|
}
|
|
2737
|
-
function
|
|
2738
|
-
var a =
|
|
2740
|
+
function Ln(o) {
|
|
2741
|
+
var a = Xa(o, "string");
|
|
2739
2742
|
return typeof a == "symbol" ? a : String(a);
|
|
2740
2743
|
}
|
|
2741
|
-
var
|
|
2744
|
+
var Dn = { exports: {} };
|
|
2742
2745
|
(function(o) {
|
|
2743
2746
|
var a = Object.prototype.hasOwnProperty, r = "~";
|
|
2744
2747
|
function t() {
|
|
@@ -2848,16 +2851,16 @@ var Ln = { exports: {} };
|
|
|
2848
2851
|
var c;
|
|
2849
2852
|
return u ? (c = r ? r + u : u, this._events[c] && n(this, c)) : (this._events = new t(), this._eventsCount = 0), this;
|
|
2850
2853
|
}, 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
|
|
2854
|
+
})(Dn);
|
|
2855
|
+
var On = Dn.exports;
|
|
2856
|
+
const Rn = /* @__PURE__ */ gi(On);
|
|
2857
|
+
var qa = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, jt = {
|
|
2855
2858
|
info: "color: #525252; background-color: #90ee90;",
|
|
2856
2859
|
error: "color: #525252; background-color: red;",
|
|
2857
2860
|
warn: "color: #525252; background-color: yellow; "
|
|
2858
2861
|
}, $t = "%c[xgplayer]", V = {
|
|
2859
2862
|
config: {
|
|
2860
|
-
debug:
|
|
2863
|
+
debug: qa ? 3 : 0
|
|
2861
2864
|
},
|
|
2862
2865
|
logInfo: function(a) {
|
|
2863
2866
|
for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
@@ -2878,10 +2881,10 @@ var Xa = typeof window < "u" && window.location && window.location.href.indexOf(
|
|
|
2878
2881
|
}
|
|
2879
2882
|
}
|
|
2880
2883
|
};
|
|
2881
|
-
function
|
|
2884
|
+
function Za(o) {
|
|
2882
2885
|
o.logInfo = V.logInfo.bind(o), o.logWarn = V.logWarn.bind(o), o.logError = V.logError.bind(o);
|
|
2883
2886
|
}
|
|
2884
|
-
var
|
|
2887
|
+
var Ja = /* @__PURE__ */ function() {
|
|
2885
2888
|
function o(a) {
|
|
2886
2889
|
P(this, o), this.bufferedList = a;
|
|
2887
2890
|
}
|
|
@@ -3127,7 +3130,7 @@ f.setStyleFromCsstext = function(o, a) {
|
|
|
3127
3130
|
o.style[t] = a[t];
|
|
3128
3131
|
});
|
|
3129
3132
|
};
|
|
3130
|
-
function
|
|
3133
|
+
function Qa(o, a) {
|
|
3131
3134
|
for (var r = 0, t = a.length; r < t; r++)
|
|
3132
3135
|
if (o.indexOf(a[r]) > -1)
|
|
3133
3136
|
return !0;
|
|
@@ -3141,7 +3144,7 @@ f.filterStyleFromText = function(o) {
|
|
|
3141
3144
|
return t.map(function(n) {
|
|
3142
3145
|
if (n) {
|
|
3143
3146
|
var s = n.split(":");
|
|
3144
|
-
s.length > 1 && (
|
|
3147
|
+
s.length > 1 && (Qa(s[0], a) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
|
|
3145
3148
|
}
|
|
3146
3149
|
}), o.setAttribute("style", ""), Object.keys(i).map(function(n) {
|
|
3147
3150
|
o.style[n] = i[n];
|
|
@@ -3206,7 +3209,7 @@ f.getBuffered2 = function(o) {
|
|
|
3206
3209
|
}
|
|
3207
3210
|
else
|
|
3208
3211
|
e = r;
|
|
3209
|
-
return new
|
|
3212
|
+
return new Ja(e);
|
|
3210
3213
|
};
|
|
3211
3214
|
f.getEventPos = function(o) {
|
|
3212
3215
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
@@ -3326,15 +3329,15 @@ f.getCurrentTimeByOffset = function(o, a) {
|
|
|
3326
3329
|
}
|
|
3327
3330
|
return o;
|
|
3328
3331
|
};
|
|
3329
|
-
function
|
|
3332
|
+
function Fn(o) {
|
|
3330
3333
|
var a = le(o);
|
|
3331
3334
|
return o !== null && (a === "object" || a === "function");
|
|
3332
3335
|
}
|
|
3333
|
-
function
|
|
3336
|
+
function eo(o, a, r) {
|
|
3334
3337
|
var t, e, i, n, s, l, u = 0, c = !1, h = !1, g = !0, p = !a && a !== 0 && typeof window.requestAnimationFrame == "function";
|
|
3335
3338
|
if (typeof o != "function")
|
|
3336
3339
|
throw new TypeError("Expected a function");
|
|
3337
|
-
a = +a || 0,
|
|
3340
|
+
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
3341
|
function d(I) {
|
|
3339
3342
|
var ie = t, se = e;
|
|
3340
3343
|
return t = e = void 0, u = I, n = o.apply(se, ie), n;
|
|
@@ -3389,30 +3392,30 @@ function Qa(o, a, r) {
|
|
|
3389
3392
|
}
|
|
3390
3393
|
return q.cancel = z, q.flush = R, q.pending = te, q;
|
|
3391
3394
|
}
|
|
3392
|
-
function
|
|
3395
|
+
function to(o, a, r) {
|
|
3393
3396
|
var t = !0, e = !0;
|
|
3394
3397
|
if (typeof o != "function")
|
|
3395
3398
|
throw new TypeError("Expected a function");
|
|
3396
|
-
return
|
|
3399
|
+
return Fn(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), eo(o, a, {
|
|
3397
3400
|
leading: t,
|
|
3398
3401
|
trailing: e,
|
|
3399
3402
|
maxWait: a
|
|
3400
3403
|
});
|
|
3401
3404
|
}
|
|
3402
|
-
function
|
|
3405
|
+
function io() {
|
|
3403
3406
|
var o = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
|
|
3404
3407
|
return o === "zh-cn" && (o = "zh"), o;
|
|
3405
3408
|
}
|
|
3406
|
-
function
|
|
3409
|
+
function no(o, a, r) {
|
|
3407
3410
|
if (o) {
|
|
3408
3411
|
var t = o.getAttribute(r);
|
|
3409
3412
|
return !!(t && t === a && (o.tagName === "VIDEO" || o.tagName === "AUDIO"));
|
|
3410
3413
|
}
|
|
3411
3414
|
}
|
|
3412
|
-
var
|
|
3415
|
+
var Ki = {
|
|
3413
3416
|
android: /(Android)\s([\d.]+)/,
|
|
3414
3417
|
ios: /(Version)\/([\d.]+)/
|
|
3415
|
-
},
|
|
3418
|
+
}, 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
3419
|
get device() {
|
|
3417
3420
|
var o = U.os;
|
|
3418
3421
|
return o.isPc ? "pc" : "mobile";
|
|
@@ -3451,7 +3454,7 @@ var Gi = {
|
|
|
3451
3454
|
if (typeof navigator > "u")
|
|
3452
3455
|
return 0;
|
|
3453
3456
|
var o = navigator.userAgent, a = "";
|
|
3454
|
-
/(?:iPhone)|(?:iPad|PlayBook)/.test(o) ? a =
|
|
3457
|
+
/(?:iPhone)|(?:iPad|PlayBook)/.test(o) ? a = Ki.ios : a = Ki.android;
|
|
3455
3458
|
var r = a ? a.exec(o) : [];
|
|
3456
3459
|
if (r && r.length >= 3) {
|
|
3457
3460
|
var t = r[2].split(".");
|
|
@@ -3475,7 +3478,7 @@ var Gi = {
|
|
|
3475
3478
|
if (this.supportResult)
|
|
3476
3479
|
return this.supportResult;
|
|
3477
3480
|
var r = document.createElement("video");
|
|
3478
|
-
return typeof r.canPlayType == "function" &&
|
|
3481
|
+
return typeof r.canPlayType == "function" && ro.map(function(t) {
|
|
3479
3482
|
r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (a.isSupport = !0, a.mime += "||".concat(t));
|
|
3480
3483
|
}), this.supportResult = a, r = null, a;
|
|
3481
3484
|
},
|
|
@@ -3514,14 +3517,14 @@ var Gi = {
|
|
|
3514
3517
|
return Promise.resolve(r);
|
|
3515
3518
|
}
|
|
3516
3519
|
}
|
|
3517
|
-
}, li = "3.0.18",
|
|
3520
|
+
}, li = "3.0.18", Yi = {
|
|
3518
3521
|
1: "media",
|
|
3519
3522
|
2: "media",
|
|
3520
3523
|
3: "media",
|
|
3521
3524
|
4: "media",
|
|
3522
3525
|
5: "media",
|
|
3523
3526
|
6: "media"
|
|
3524
|
-
},
|
|
3527
|
+
}, Xi = {
|
|
3525
3528
|
1: 5101,
|
|
3526
3529
|
2: 5102,
|
|
3527
3530
|
3: 5103,
|
|
@@ -3542,7 +3545,7 @@ var Gi = {
|
|
|
3542
3545
|
var t = a && a.i18n ? a.i18n.ERROR_TYPES : null;
|
|
3543
3546
|
if (a.media) {
|
|
3544
3547
|
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
|
-
|
|
3548
|
+
Xi[p] && (p = Xi[p]);
|
|
3546
3549
|
var d = {
|
|
3547
3550
|
playerVersion: li,
|
|
3548
3551
|
currentTime: n,
|
|
@@ -3570,21 +3573,21 @@ var Gi = {
|
|
|
3570
3573
|
return v.ex = t ? (t[arguments[0]] || {}).msg : "", v;
|
|
3571
3574
|
}
|
|
3572
3575
|
}
|
|
3573
|
-
), ge = "play", mi = "playing", Ye = "ended", ut = "pause", mt = "error", Ft = "seeking", Ie = "seeked", de = "timeupdate", yt = "waiting", xe = "canplay",
|
|
3576
|
+
), 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
3577
|
STATS_INFO: "stats_info",
|
|
3575
3578
|
STATS_DOWNLOAD: "stats_download",
|
|
3576
3579
|
STATS_RESET: "stats_reset"
|
|
3577
|
-
},
|
|
3578
|
-
const
|
|
3580
|
+
}, Jn = "fps_stuck";
|
|
3581
|
+
const vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3579
3582
|
__proto__: null,
|
|
3580
|
-
ABORT:
|
|
3583
|
+
ABORT: uo,
|
|
3581
3584
|
AFTER_DEFINITION_CHANGE: ci,
|
|
3582
3585
|
AUTOPLAY_PREVENTED: Ci,
|
|
3583
3586
|
AUTOPLAY_STARTED: Ge,
|
|
3584
|
-
BEFORE_DEFINITION_CHANGE:
|
|
3585
|
-
BUFFER_CHANGE:
|
|
3587
|
+
BEFORE_DEFINITION_CHANGE: fo,
|
|
3588
|
+
BUFFER_CHANGE: co,
|
|
3586
3589
|
CANPLAY: xe,
|
|
3587
|
-
CANPLAY_THROUGH:
|
|
3590
|
+
CANPLAY_THROUGH: so,
|
|
3588
3591
|
COMPLETE: Mt,
|
|
3589
3592
|
CSS_FULLSCREEN_CHANGE: xt,
|
|
3590
3593
|
DEFINITION_CHANGE: bi,
|
|
@@ -3593,55 +3596,55 @@ const po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3593
3596
|
DURATION_CHANGE: Ue,
|
|
3594
3597
|
EMPTIED: Xe,
|
|
3595
3598
|
ENDED: Ye,
|
|
3596
|
-
ENTER_PLAYER:
|
|
3599
|
+
ENTER_PLAYER: Vn,
|
|
3597
3600
|
ERROR: mt,
|
|
3598
|
-
FPS_STUCK:
|
|
3601
|
+
FPS_STUCK: Jn,
|
|
3599
3602
|
FULLSCREEN_CHANGE: Ee,
|
|
3600
|
-
LEAVE_PLAYER:
|
|
3603
|
+
LEAVE_PLAYER: zn,
|
|
3601
3604
|
LOADED_DATA: Pe,
|
|
3602
|
-
LOADED_METADATA:
|
|
3603
|
-
LOADING:
|
|
3605
|
+
LOADED_METADATA: ao,
|
|
3606
|
+
LOADING: jn,
|
|
3604
3607
|
LOAD_START: yi,
|
|
3605
3608
|
MINI_STATE_CHANGE: It,
|
|
3606
3609
|
PAUSE: ut,
|
|
3607
3610
|
PIP_CHANGE: fi,
|
|
3608
3611
|
PLAY: ge,
|
|
3609
|
-
PLAYER_BLUR:
|
|
3612
|
+
PLAYER_BLUR: Hn,
|
|
3610
3613
|
PLAYER_FOCUS: _i,
|
|
3611
3614
|
PLAYING: mi,
|
|
3612
3615
|
PLAYNEXT: Pt,
|
|
3613
|
-
PROGRESS:
|
|
3614
|
-
RATE_CHANGE:
|
|
3616
|
+
PROGRESS: Bn,
|
|
3617
|
+
RATE_CHANGE: Nn,
|
|
3615
3618
|
READY: ki,
|
|
3616
3619
|
REPLAY: St,
|
|
3617
3620
|
RESET: Bt,
|
|
3618
|
-
RETRY:
|
|
3619
|
-
ROTATE:
|
|
3620
|
-
SCREEN_SHOT:
|
|
3621
|
+
RETRY: go,
|
|
3622
|
+
ROTATE: $n,
|
|
3623
|
+
SCREEN_SHOT: Wn,
|
|
3621
3624
|
SEEKED: Ie,
|
|
3622
3625
|
SEEKING: Ft,
|
|
3623
|
-
SEI_PARSED:
|
|
3624
|
-
SHORTCUT:
|
|
3625
|
-
SOURCE_ERROR:
|
|
3626
|
-
SOURCE_SUCCESS:
|
|
3627
|
-
STALLED:
|
|
3628
|
-
STATS_EVENTS:
|
|
3629
|
-
SUSPEND:
|
|
3630
|
-
SWITCH_SUBTITLE:
|
|
3626
|
+
SEI_PARSED: ho,
|
|
3627
|
+
SHORTCUT: Gn,
|
|
3628
|
+
SOURCE_ERROR: Yn,
|
|
3629
|
+
SOURCE_SUCCESS: Xn,
|
|
3630
|
+
STALLED: oo,
|
|
3631
|
+
STATS_EVENTS: Zn,
|
|
3632
|
+
SUSPEND: lo,
|
|
3633
|
+
SWITCH_SUBTITLE: po,
|
|
3631
3634
|
TIME_UPDATE: de,
|
|
3632
3635
|
URL_CHANGE: Nt,
|
|
3633
|
-
URL_NULL:
|
|
3636
|
+
URL_NULL: Un,
|
|
3634
3637
|
USER_ACTION: At,
|
|
3635
|
-
VIDEO_EVENTS:
|
|
3638
|
+
VIDEO_EVENTS: qn,
|
|
3636
3639
|
VIDEO_RESIZE: Be,
|
|
3637
|
-
VOLUME_CHANGE:
|
|
3640
|
+
VOLUME_CHANGE: Mn,
|
|
3638
3641
|
WAITING: yt,
|
|
3639
|
-
XGLOG:
|
|
3642
|
+
XGLOG: Kn
|
|
3640
3643
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3641
3644
|
function Wt(o, a) {
|
|
3642
3645
|
!this || !this.emit || (o === "error" ? this.errorHandler(o, a.error) : this.emit(o, a));
|
|
3643
3646
|
}
|
|
3644
|
-
function
|
|
3647
|
+
function mo(o, a) {
|
|
3645
3648
|
return function(r, t) {
|
|
3646
3649
|
var e = {
|
|
3647
3650
|
player: a,
|
|
@@ -3676,7 +3679,7 @@ function vo(o, a) {
|
|
|
3676
3679
|
Wt.call(a, o, e);
|
|
3677
3680
|
};
|
|
3678
3681
|
}
|
|
3679
|
-
var
|
|
3682
|
+
var yo = /* @__PURE__ */ function(o) {
|
|
3680
3683
|
F(r, o);
|
|
3681
3684
|
var a = M(r);
|
|
3682
3685
|
function r(t) {
|
|
@@ -3718,9 +3721,9 @@ var mo = /* @__PURE__ */ function(o) {
|
|
|
3718
3721
|
key: "attachVideoEvents",
|
|
3719
3722
|
value: function() {
|
|
3720
3723
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
|
|
3721
|
-
this._evHandlers || (this._evHandlers =
|
|
3724
|
+
this._evHandlers || (this._evHandlers = qn.map(function(n) {
|
|
3722
3725
|
var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
|
|
3723
|
-
return typeof e[s] == "function" && e.on(n, e[s]), _({}, n,
|
|
3726
|
+
return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, mo(n, e));
|
|
3724
3727
|
})), this._evHandlers.forEach(function(n) {
|
|
3725
3728
|
var s = Object.keys(n)[0];
|
|
3726
3729
|
i.addEventListener(s, n[s], !1);
|
|
@@ -3752,7 +3755,7 @@ var mo = /* @__PURE__ */ function(o) {
|
|
|
3752
3755
|
var s = e.children;
|
|
3753
3756
|
if (s) {
|
|
3754
3757
|
this._videoSourceCount = s.length, this._videoSourceIndex = s.length, this._vLoadeddata = function(h) {
|
|
3755
|
-
n.emit(
|
|
3758
|
+
n.emit(Xn, {
|
|
3756
3759
|
src: h.target.currentSrc,
|
|
3757
3760
|
host: f.getHostFromUrl(h.target.currentSrc)
|
|
3758
3761
|
});
|
|
@@ -3771,8 +3774,8 @@ var mo = /* @__PURE__ */ function(o) {
|
|
|
3771
3774
|
};
|
|
3772
3775
|
l ? l.error(h, p) : n.errorHandler("error", p);
|
|
3773
3776
|
}
|
|
3774
|
-
var d =
|
|
3775
|
-
n.emit(
|
|
3777
|
+
var d = Yi[4];
|
|
3778
|
+
n.emit(Yn, new Et(n, {
|
|
3776
3779
|
errorType: d,
|
|
3777
3780
|
errorCode: 4,
|
|
3778
3781
|
errorMessage: "sources_load_error",
|
|
@@ -3805,7 +3808,7 @@ var mo = /* @__PURE__ */ function(o) {
|
|
|
3805
3808
|
value: function(e) {
|
|
3806
3809
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
3807
3810
|
if (this.media && (this.media.error || i)) {
|
|
3808
|
-
var n = this.media.error || i, s = n.code ?
|
|
3811
|
+
var n = this.media.error || i, s = n.code ? Yi[n.code] : "other", l = n.message;
|
|
3809
3812
|
this.media.currentSrc || (l = "empty_src", n = {
|
|
3810
3813
|
code: 6,
|
|
3811
3814
|
message: l
|
|
@@ -4094,7 +4097,7 @@ var mo = /* @__PURE__ */ function(o) {
|
|
|
4094
4097
|
B(N(r.prototype), "removeAllListeners", this).call(this);
|
|
4095
4098
|
}
|
|
4096
4099
|
}]), r;
|
|
4097
|
-
}(
|
|
4100
|
+
}(Rn), _o = /* @__PURE__ */ function() {
|
|
4098
4101
|
function o() {
|
|
4099
4102
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
4100
4103
|
name: "xgplayer",
|
|
@@ -4172,7 +4175,7 @@ var mo = /* @__PURE__ */ function(o) {
|
|
|
4172
4175
|
t.clear();
|
|
4173
4176
|
}
|
|
4174
4177
|
}]), o;
|
|
4175
|
-
}(),
|
|
4178
|
+
}(), qi = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], Zi = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], Ji = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], $e = "data-xgplayerid";
|
|
4176
4179
|
function kt(o, a, r) {
|
|
4177
4180
|
for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
|
|
4178
4181
|
e[i - 3] = arguments[i];
|
|
@@ -4221,14 +4224,14 @@ function Ot(o, a) {
|
|
|
4221
4224
|
var r = this.__hooks;
|
|
4222
4225
|
r && delete r[o];
|
|
4223
4226
|
}
|
|
4224
|
-
function
|
|
4227
|
+
function Qi(o) {
|
|
4225
4228
|
if (!(!this.plugins || !this.plugins[o.toLowerCase()])) {
|
|
4226
4229
|
for (var a = this.plugins[o.toLowerCase()], r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), e = 1; e < r; e++)
|
|
4227
4230
|
t[e - 1] = arguments[e];
|
|
4228
4231
|
return a.useHooks && a.useHooks.apply(a, t);
|
|
4229
4232
|
}
|
|
4230
4233
|
}
|
|
4231
|
-
function
|
|
4234
|
+
function en(o) {
|
|
4232
4235
|
if (!(!this.plugins || !this.plugins[o.toLowerCase()])) {
|
|
4233
4236
|
var a = this.plugins[o.toLowerCase()];
|
|
4234
4237
|
if (a) {
|
|
@@ -4238,7 +4241,7 @@ function Qi(o) {
|
|
|
4238
4241
|
}
|
|
4239
4242
|
}
|
|
4240
4243
|
}
|
|
4241
|
-
function
|
|
4244
|
+
function Qn(o) {
|
|
4242
4245
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
4243
4246
|
o.__hooks = {}, a && a.map(function(r) {
|
|
4244
4247
|
o.__hooks[r] = null;
|
|
@@ -4251,7 +4254,7 @@ function Jn(o) {
|
|
|
4251
4254
|
}
|
|
4252
4255
|
});
|
|
4253
4256
|
}
|
|
4254
|
-
function
|
|
4257
|
+
function er(o) {
|
|
4255
4258
|
o.__hooks = null;
|
|
4256
4259
|
}
|
|
4257
4260
|
function Se(o, a, r) {
|
|
@@ -4275,7 +4278,7 @@ function Gt(o, a) {
|
|
|
4275
4278
|
}
|
|
4276
4279
|
var He = /* @__PURE__ */ function() {
|
|
4277
4280
|
function o(a) {
|
|
4278
|
-
P(this, o), f.checkIsFunction(this.beforeCreate) && this.beforeCreate(a),
|
|
4281
|
+
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
4282
|
}
|
|
4280
4283
|
return A(o, [{
|
|
4281
4284
|
key: "beforeCreate",
|
|
@@ -4439,7 +4442,7 @@ var He = /* @__PURE__ */ function() {
|
|
|
4439
4442
|
var r = this, t = this.player, e = this.pluginName;
|
|
4440
4443
|
this.offAll(), f.clearAllTimers(this), f.checkIsFunction(this.destroy) && this.destroy(), ["player", "playerConfig", "pluginName", "logger", "__args", "__hooks"].map(function(i) {
|
|
4441
4444
|
r[i] = null;
|
|
4442
|
-
}), t.unRegisterPlugin(e),
|
|
4445
|
+
}), t.unRegisterPlugin(e), er(this);
|
|
4443
4446
|
}
|
|
4444
4447
|
}], [{
|
|
4445
4448
|
key: "defineGetterOrSetter",
|
|
@@ -4458,40 +4461,40 @@ var He = /* @__PURE__ */ function() {
|
|
|
4458
4461
|
return "pluginName";
|
|
4459
4462
|
}
|
|
4460
4463
|
}]), o;
|
|
4461
|
-
}(),
|
|
4464
|
+
}(), ko = 9;
|
|
4462
4465
|
if (typeof Element < "u" && !Element.prototype.matches) {
|
|
4463
4466
|
var Je = Element.prototype;
|
|
4464
4467
|
Je.matches = Je.matchesSelector || Je.mozMatchesSelector || Je.msMatchesSelector || Je.oMatchesSelector || Je.webkitMatchesSelector;
|
|
4465
4468
|
}
|
|
4466
|
-
function
|
|
4467
|
-
for (; o && o.nodeType !==
|
|
4469
|
+
function Co(o, a) {
|
|
4470
|
+
for (; o && o.nodeType !== ko; ) {
|
|
4468
4471
|
if (typeof o.matches == "function" && o.matches(a))
|
|
4469
4472
|
return o;
|
|
4470
4473
|
o = o.parentNode;
|
|
4471
4474
|
}
|
|
4472
4475
|
}
|
|
4473
|
-
var
|
|
4476
|
+
var wo = Co, bo = wo;
|
|
4474
4477
|
function Kt(o, a, r, t, e) {
|
|
4475
|
-
var i =
|
|
4478
|
+
var i = Eo.apply(this, arguments);
|
|
4476
4479
|
return o.addEventListener(r, i, e), {
|
|
4477
4480
|
destroy: function() {
|
|
4478
4481
|
o.removeEventListener(r, i, e);
|
|
4479
4482
|
}
|
|
4480
4483
|
};
|
|
4481
4484
|
}
|
|
4482
|
-
function
|
|
4485
|
+
function To(o, a, r, t, e) {
|
|
4483
4486
|
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
4487
|
return Kt(i, a, r, t, e);
|
|
4485
4488
|
}));
|
|
4486
4489
|
}
|
|
4487
|
-
function
|
|
4490
|
+
function Eo(o, a, r, t) {
|
|
4488
4491
|
return function(e) {
|
|
4489
|
-
e.delegateTarget =
|
|
4492
|
+
e.delegateTarget = bo(e.target, a), e.delegateTarget && t.call(o, e);
|
|
4490
4493
|
};
|
|
4491
4494
|
}
|
|
4492
|
-
var
|
|
4493
|
-
const
|
|
4494
|
-
var
|
|
4495
|
+
var So = To;
|
|
4496
|
+
const tn = /* @__PURE__ */ gi(So);
|
|
4497
|
+
var xo = {
|
|
4495
4498
|
CONTROLS: "controls",
|
|
4496
4499
|
ROOT: "root"
|
|
4497
4500
|
}, Y = {
|
|
@@ -4504,22 +4507,22 @@ var So = {
|
|
|
4504
4507
|
CONTROLS_RIGHT: "controlsRight",
|
|
4505
4508
|
CONTROLS_CENTER: "controlsCenter",
|
|
4506
4509
|
CONTROLS: "controls"
|
|
4507
|
-
},
|
|
4510
|
+
}, nn = {
|
|
4508
4511
|
ICON_DISABLE: "xg-icon-disable",
|
|
4509
4512
|
ICON_HIDE: "xg-icon-hide"
|
|
4510
4513
|
};
|
|
4511
4514
|
function Yt(o) {
|
|
4512
4515
|
return o ? o.indexOf && /^(?:http|data:|\/)/.test(o) : !1;
|
|
4513
4516
|
}
|
|
4514
|
-
function
|
|
4517
|
+
function Io(o, a) {
|
|
4515
4518
|
return le(o) === "object" && o.class && typeof o.class == "string" ? "".concat(a, " ").concat(o.class) : a;
|
|
4516
4519
|
}
|
|
4517
|
-
function
|
|
4520
|
+
function Po(o, a) {
|
|
4518
4521
|
return le(o) === "object" && o.attr && le(o.attr) === "object" && Object.keys(o.attr).map(function(r) {
|
|
4519
4522
|
a[r] = o.attr[r];
|
|
4520
4523
|
}), a;
|
|
4521
4524
|
}
|
|
4522
|
-
function
|
|
4525
|
+
function rn(o, a) {
|
|
4523
4526
|
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
4527
|
if (o instanceof window.Element)
|
|
4525
4528
|
return f.addClass(o, r), Object.keys(t).map(function(n) {
|
|
@@ -4537,14 +4540,14 @@ function nn(o, a) {
|
|
|
4537
4540
|
}
|
|
4538
4541
|
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
4542
|
}
|
|
4540
|
-
function
|
|
4543
|
+
function Ao(o, a) {
|
|
4541
4544
|
var r = a.config.icons || a.playerConfig.icons;
|
|
4542
4545
|
Object.keys(o).map(function(t) {
|
|
4543
4546
|
var e = o[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
|
|
4544
|
-
r && r[t] && (i =
|
|
4547
|
+
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
4548
|
});
|
|
4546
4549
|
}
|
|
4547
|
-
function
|
|
4550
|
+
function Lo(o, a) {
|
|
4548
4551
|
Object.keys(o).map(function(r) {
|
|
4549
4552
|
Object.defineProperty(a.langText, r, {
|
|
4550
4553
|
get: function() {
|
|
@@ -4568,9 +4571,9 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4568
4571
|
var i = e.root, n = null;
|
|
4569
4572
|
this.icons = {}, this.root = null, this.parent = null;
|
|
4570
4573
|
var s = this.registerIcons() || {};
|
|
4571
|
-
|
|
4574
|
+
Ao(s, this), this.langText = {};
|
|
4572
4575
|
var l = this.registerLanguageTexts() || {};
|
|
4573
|
-
|
|
4576
|
+
Lo(l, this);
|
|
4574
4577
|
var u = "";
|
|
4575
4578
|
try {
|
|
4576
4579
|
u = this.render();
|
|
@@ -4641,12 +4644,12 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4641
4644
|
}, {
|
|
4642
4645
|
key: "disable",
|
|
4643
4646
|
value: function() {
|
|
4644
|
-
this.config.disable = !0, f.addClass(this.find(".xgplayer-icon"),
|
|
4647
|
+
this.config.disable = !0, f.addClass(this.find(".xgplayer-icon"), nn.ICON_DISABLE);
|
|
4645
4648
|
}
|
|
4646
4649
|
}, {
|
|
4647
4650
|
key: "enable",
|
|
4648
4651
|
value: function() {
|
|
4649
|
-
this.config.disable = !1, f.removeClass(this.find(".xgplayer-icon"),
|
|
4652
|
+
this.config.disable = !1, f.removeClass(this.find(".xgplayer-icon"), nn.ICON_DISABLE);
|
|
4650
4653
|
}
|
|
4651
4654
|
}, {
|
|
4652
4655
|
key: "children",
|
|
@@ -4827,11 +4830,11 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4827
4830
|
if (e instanceof window.Node && typeof s == "function")
|
|
4828
4831
|
if (Array.isArray(n))
|
|
4829
4832
|
n.forEach(function(h) {
|
|
4830
|
-
var g =
|
|
4833
|
+
var g = tn(e, i, h, s, l);
|
|
4831
4834
|
g.key = "".concat(i, "_").concat(h), u.push(g);
|
|
4832
4835
|
});
|
|
4833
4836
|
else {
|
|
4834
|
-
var c =
|
|
4837
|
+
var c = tn(e, i, n, s, l);
|
|
4835
4838
|
c.key = "".concat(i, "_").concat(n), u.push(c);
|
|
4836
4839
|
}
|
|
4837
4840
|
return u;
|
|
@@ -4839,7 +4842,7 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4839
4842
|
}, {
|
|
4840
4843
|
key: "ROOT_TYPES",
|
|
4841
4844
|
get: function() {
|
|
4842
|
-
return
|
|
4845
|
+
return xo;
|
|
4843
4846
|
}
|
|
4844
4847
|
}, {
|
|
4845
4848
|
key: "POSITIONS",
|
|
@@ -4847,7 +4850,7 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4847
4850
|
return Y;
|
|
4848
4851
|
}
|
|
4849
4852
|
}]), r;
|
|
4850
|
-
}(He),
|
|
4853
|
+
}(He), Do = /* @__PURE__ */ function() {
|
|
4851
4854
|
function o() {
|
|
4852
4855
|
var a = this;
|
|
4853
4856
|
if (P(this, o), _(this, "__trigger", function(r) {
|
|
@@ -4857,7 +4860,7 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4857
4860
|
a.__runHandler(r[e].target);
|
|
4858
4861
|
}), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
|
|
4859
4862
|
try {
|
|
4860
|
-
this.observer = new window.ResizeObserver(
|
|
4863
|
+
this.observer = new window.ResizeObserver(to(this.__trigger, 100, {
|
|
4861
4864
|
trailing: !0
|
|
4862
4865
|
})), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
|
|
4863
4866
|
} catch (r) {
|
|
@@ -4912,17 +4915,17 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4912
4915
|
}
|
|
4913
4916
|
}]), o;
|
|
4914
4917
|
}(), dt = null;
|
|
4915
|
-
function Do(o, a) {
|
|
4916
|
-
return dt || (dt = new Lo()), dt.addObserver(o, a), dt;
|
|
4917
|
-
}
|
|
4918
4918
|
function Oo(o, a) {
|
|
4919
|
+
return dt || (dt = new Do()), dt.addObserver(o, a), dt;
|
|
4920
|
+
}
|
|
4921
|
+
function Ro(o, a) {
|
|
4919
4922
|
dt.unObserver(o, a);
|
|
4920
4923
|
}
|
|
4921
4924
|
var re = {
|
|
4922
4925
|
pluginGroup: {},
|
|
4923
4926
|
init: function(a) {
|
|
4924
4927
|
var r = a._pluginInfoId;
|
|
4925
|
-
r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver &&
|
|
4928
|
+
r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver && Oo(a.root, function() {
|
|
4926
4929
|
a.resize();
|
|
4927
4930
|
}), this.pluginGroup[r] = {
|
|
4928
4931
|
_originalOptions: a.config || {},
|
|
@@ -5108,7 +5111,7 @@ var re = {
|
|
|
5108
5111
|
destroy: function(a) {
|
|
5109
5112
|
var r = a._pluginInfoId;
|
|
5110
5113
|
if (this.pluginGroup[r]) {
|
|
5111
|
-
|
|
5114
|
+
Ro(a.root);
|
|
5112
5115
|
for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
|
|
5113
5116
|
var n = i[e];
|
|
5114
5117
|
this.unRegister(r, n);
|
|
@@ -5147,7 +5150,7 @@ var re = {
|
|
|
5147
5150
|
MOBILE: "xgplayer-mobile",
|
|
5148
5151
|
MINI: "xgplayer-mini"
|
|
5149
5152
|
};
|
|
5150
|
-
function
|
|
5153
|
+
function sn() {
|
|
5151
5154
|
return {
|
|
5152
5155
|
id: "",
|
|
5153
5156
|
el: null,
|
|
@@ -5194,7 +5197,7 @@ function rn() {
|
|
|
5194
5197
|
ignores: [],
|
|
5195
5198
|
whitelist: [],
|
|
5196
5199
|
inactive: 3e3,
|
|
5197
|
-
lang:
|
|
5200
|
+
lang: io(),
|
|
5198
5201
|
controls: !0,
|
|
5199
5202
|
marginControls: !1,
|
|
5200
5203
|
fullscreenTarget: null,
|
|
@@ -5230,7 +5233,7 @@ function rn() {
|
|
|
5230
5233
|
}
|
|
5231
5234
|
};
|
|
5232
5235
|
}
|
|
5233
|
-
var
|
|
5236
|
+
var Fo = function(a, r) {
|
|
5234
5237
|
var t, e, i;
|
|
5235
5238
|
r.preset && r.options ? i = new r.preset(r.options, a.config) : i = new r({}, a.config);
|
|
5236
5239
|
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 +5242,7 @@ var Ro = function(a, r) {
|
|
|
5239
5242
|
});
|
|
5240
5243
|
var v = a.config.i18n || [];
|
|
5241
5244
|
d.push.apply(d, ye(v)), a.config.i18n = d;
|
|
5242
|
-
},
|
|
5245
|
+
}, Mo = /* @__PURE__ */ function(o) {
|
|
5243
5246
|
F(r, o);
|
|
5244
5247
|
var a = M(r);
|
|
5245
5248
|
function r() {
|
|
@@ -5400,7 +5403,7 @@ var Ro = function(a, r) {
|
|
|
5400
5403
|
};
|
|
5401
5404
|
}
|
|
5402
5405
|
}]), r;
|
|
5403
|
-
}(W),
|
|
5406
|
+
}(W), No = {
|
|
5404
5407
|
LANG: "en",
|
|
5405
5408
|
TEXT: {
|
|
5406
5409
|
ERROR_TYPES: {
|
|
@@ -5490,12 +5493,12 @@ function pt(o, a) {
|
|
|
5490
5493
|
t === "Object" ? (e !== "Object" && (o[r] = {}), pt(o[r], a[r])) : o[r] = a[r];
|
|
5491
5494
|
}), o;
|
|
5492
5495
|
}
|
|
5493
|
-
function
|
|
5496
|
+
function tr() {
|
|
5494
5497
|
Object.keys(he.lang.en).map(function(o) {
|
|
5495
5498
|
he.textKeys[o] = o;
|
|
5496
5499
|
});
|
|
5497
5500
|
}
|
|
5498
|
-
function
|
|
5501
|
+
function Bo(o, a) {
|
|
5499
5502
|
var r = [];
|
|
5500
5503
|
if (a || (a = he), !!a.lang) {
|
|
5501
5504
|
f.typeOf(o) !== "Array" ? r = Object.keys(o).map(function(i) {
|
|
@@ -5508,17 +5511,17 @@ function No(o, a) {
|
|
|
5508
5511
|
var t = a, e = t.lang;
|
|
5509
5512
|
r.map(function(i) {
|
|
5510
5513
|
i.LANG === "zh" && (i.LANG = "zh-cn"), e[i.LANG] ? pt(e[i.LANG] || {}, i.TEXT || {}) : Ti(i, a);
|
|
5511
|
-
}),
|
|
5514
|
+
}), tr();
|
|
5512
5515
|
}
|
|
5513
5516
|
}
|
|
5514
5517
|
function Ti(o, a) {
|
|
5515
5518
|
var r = o.LANG;
|
|
5516
5519
|
if (a || (a = he), !!a.lang) {
|
|
5517
5520
|
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),
|
|
5521
|
+
r === "zh" && (r = "zh-cn"), a.lang[r] ? pt(a.lang[r], t) : (a.langKeys.push(r), a.lang[r] = t), tr();
|
|
5519
5522
|
}
|
|
5520
5523
|
}
|
|
5521
|
-
function
|
|
5524
|
+
function Ho(o) {
|
|
5522
5525
|
var a, r = {
|
|
5523
5526
|
lang: {},
|
|
5524
5527
|
langKeys: [],
|
|
@@ -5527,7 +5530,7 @@ function Bo(o) {
|
|
|
5527
5530
|
};
|
|
5528
5531
|
return pt(r.lang, he.lang), (a = r.langKeys).push.apply(a, ye(he.langKeys)), pt(r.textKeys, he.textKeys), r;
|
|
5529
5532
|
}
|
|
5530
|
-
Ti(
|
|
5533
|
+
Ti(No);
|
|
5531
5534
|
var at = {
|
|
5532
5535
|
get textKeys() {
|
|
5533
5536
|
return he.textKeys;
|
|
@@ -5541,9 +5544,9 @@ var at = {
|
|
|
5541
5544
|
o[a] = he.lang[a];
|
|
5542
5545
|
}), he.lang["zh-cn"] && (o.zh = he.lang["zh-cn"] || {}), o;
|
|
5543
5546
|
},
|
|
5544
|
-
extend:
|
|
5547
|
+
extend: Bo,
|
|
5545
5548
|
use: Ti,
|
|
5546
|
-
init:
|
|
5549
|
+
init: Ho
|
|
5547
5550
|
}, j = {
|
|
5548
5551
|
INITIAL: 1,
|
|
5549
5552
|
READY: 2,
|
|
@@ -5553,7 +5556,7 @@ var at = {
|
|
|
5553
5556
|
RUNNING: 6,
|
|
5554
5557
|
ENDED: 7,
|
|
5555
5558
|
DESTROYED: 8
|
|
5556
|
-
},
|
|
5559
|
+
}, an = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], ue = {}, Xt = null, ir = /* @__PURE__ */ function(o) {
|
|
5557
5560
|
F(r, o);
|
|
5558
5561
|
var a = M(r);
|
|
5559
5562
|
function r() {
|
|
@@ -5639,8 +5642,8 @@ var at = {
|
|
|
5639
5642
|
return Xt || (Xt = new r()), Xt;
|
|
5640
5643
|
}
|
|
5641
5644
|
}]), r;
|
|
5642
|
-
}(
|
|
5643
|
-
function
|
|
5645
|
+
}(On.EventEmitter);
|
|
5646
|
+
function Uo(o) {
|
|
5644
5647
|
for (var a = Object.keys(ue), r = 0; r < a.length; r++) {
|
|
5645
5648
|
var t = ue[a[r]];
|
|
5646
5649
|
if (t.root === o)
|
|
@@ -5648,13 +5651,13 @@ function Ho(o) {
|
|
|
5648
5651
|
}
|
|
5649
5652
|
return null;
|
|
5650
5653
|
}
|
|
5651
|
-
var
|
|
5654
|
+
var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /* @__PURE__ */ function(o) {
|
|
5652
5655
|
F(r, o);
|
|
5653
5656
|
var a = M(r);
|
|
5654
5657
|
function r(t) {
|
|
5655
5658
|
var e;
|
|
5656
5659
|
P(this, r);
|
|
5657
|
-
var i = f.deepMerge(
|
|
5660
|
+
var i = f.deepMerge(sn(), t);
|
|
5658
5661
|
e = a.call(this, i), _(y(e), "canPlayFunc", function() {
|
|
5659
5662
|
if (e.config) {
|
|
5660
5663
|
var d = e.config, v = d.autoplay, m = d.defaultPlaybackRate;
|
|
@@ -5678,7 +5681,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5678
5681
|
to: !1
|
|
5679
5682
|
}]
|
|
5680
5683
|
});
|
|
5681
|
-
var E =
|
|
5684
|
+
var E = no(C, e.playerId, $e);
|
|
5682
5685
|
if (v || C && (C === e._fullscreenEl || E))
|
|
5683
5686
|
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
5687
|
else if (e.fullscreen) {
|
|
@@ -5698,7 +5701,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5698
5701
|
e._fullscreenEl = e.media, e.onFullscreenChange(d, !0);
|
|
5699
5702
|
}), _(y(e), "_onWebkitendfullscreen", function(d) {
|
|
5700
5703
|
e.onFullscreenChange(d, !1);
|
|
5701
|
-
}),
|
|
5704
|
+
}), Qn(y(e), zo), e.config = i, e._pluginInfoId = f.generateSessionId(), Za(y(e));
|
|
5702
5705
|
var n = e.constructor.defaultPreset;
|
|
5703
5706
|
if (e.config.presets.length) {
|
|
5704
5707
|
var s = e.config.presets.indexOf("default");
|
|
@@ -5727,7 +5730,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5727
5730
|
}, e._offsetInfo = {
|
|
5728
5731
|
currentTime: -1,
|
|
5729
5732
|
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
|
|
5733
|
+
}, 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
5734
|
isActiveLocked: !1
|
|
5732
5735
|
}, e.instManager = Oe;
|
|
5733
5736
|
var l = e._initDOM();
|
|
@@ -5759,7 +5762,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5759
5762
|
msg: "container id can't be empty"
|
|
5760
5763
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
5761
5764
|
}
|
|
5762
|
-
var s =
|
|
5765
|
+
var s = Uo(this.root);
|
|
5763
5766
|
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
5767
|
var l = this.constructor.XgVideoProxy;
|
|
5765
5768
|
if (l && this.mediaConfig.mediaType === l.mediaType) {
|
|
@@ -5769,7 +5772,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5769
5772
|
this.attachVideoEvents(c), this.media = c;
|
|
5770
5773
|
}
|
|
5771
5774
|
if (this.media.setAttribute($e, this.playerId), this.config.controls) {
|
|
5772
|
-
var h = this.config.controls.root || null, g = re.register(this,
|
|
5775
|
+
var h = this.config.controls.root || null, g = re.register(this, Mo, {
|
|
5773
5776
|
root: h
|
|
5774
5777
|
});
|
|
5775
5778
|
this.controls = g;
|
|
@@ -5807,7 +5810,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5807
5810
|
var e = this;
|
|
5808
5811
|
["focus", "blur"].forEach(function(i) {
|
|
5809
5812
|
e.on(i, e["on" + i.charAt(0).toUpperCase() + i.slice(1)]);
|
|
5810
|
-
}),
|
|
5813
|
+
}), qi.forEach(function(i) {
|
|
5811
5814
|
document && document.addEventListener(i, e.onFullscreenChange);
|
|
5812
5815
|
}), U.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(Pe, this.resize), this.playFunc = function() {
|
|
5813
5816
|
e.config.closeFocusVideoFocus || e.media.focus();
|
|
@@ -5817,7 +5820,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5817
5820
|
key: "_unbindEvents",
|
|
5818
5821
|
value: function() {
|
|
5819
5822
|
var e = this;
|
|
5820
|
-
this.root.removeEventListener("mousemove", this.mousemoveFunc),
|
|
5823
|
+
this.root.removeEventListener("mousemove", this.mousemoveFunc), qi.forEach(function(i) {
|
|
5821
5824
|
document.removeEventListener(i, e.onFullscreenChange);
|
|
5822
5825
|
}), 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
5826
|
}
|
|
@@ -5830,7 +5833,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5830
5833
|
key: "_startInit",
|
|
5831
5834
|
value: function(e) {
|
|
5832
5835
|
var i = this;
|
|
5833
|
-
if (this.media && !((!e || e === "" || f.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(
|
|
5836
|
+
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
5837
|
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
5838
|
var n = this.innerContainer ? this.innerContainer : this.root;
|
|
5836
5839
|
this.media instanceof window.Element && !n.contains(this.media) && n.insertBefore(this.media, n.firstChild);
|
|
@@ -5877,7 +5880,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
5877
5880
|
value: function() {
|
|
5878
5881
|
var e = this;
|
|
5879
5882
|
this.config.presets.forEach(function(i) {
|
|
5880
|
-
|
|
5883
|
+
Fo(e, i);
|
|
5881
5884
|
});
|
|
5882
5885
|
}
|
|
5883
5886
|
}, {
|
|
@@ -6142,7 +6145,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6142
6145
|
if (s && (i.map(function(u) {
|
|
6143
6146
|
e.deregister(u);
|
|
6144
6147
|
}), n)) {
|
|
6145
|
-
var l =
|
|
6148
|
+
var l = sn();
|
|
6146
6149
|
Object.keys(this.config).keys(function(u) {
|
|
6147
6150
|
e.config[u] !== "undefined" && (u === "plugins" || u === "presets" || u === "el" || u === "id") && (e.config[u] = l[u]);
|
|
6148
6151
|
});
|
|
@@ -6153,7 +6156,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6153
6156
|
value: function() {
|
|
6154
6157
|
var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
|
|
6155
6158
|
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),
|
|
6159
|
+
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
6160
|
for (var u = n.children, c = 0; c < u.length; c++)
|
|
6158
6161
|
n.removeChild(u[c]);
|
|
6159
6162
|
!n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(g) {
|
|
@@ -6215,8 +6218,8 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6215
6218
|
if (s === this._fullscreenEl)
|
|
6216
6219
|
return this.onFullscreenChange(), Promise.resolve();
|
|
6217
6220
|
try {
|
|
6218
|
-
for (var l = 0; l <
|
|
6219
|
-
var u =
|
|
6221
|
+
for (var l = 0; l < Zi.length; l++) {
|
|
6222
|
+
var u = Zi[l];
|
|
6220
6223
|
if (e[u]) {
|
|
6221
6224
|
var c = u === "webkitRequestFullscreen" ? e.webkitRequestFullscreen(window.Element.ALLOW_KEYBOARD_INPUT) : e[u]();
|
|
6222
6225
|
return c && c.then ? c : Promise.resolve();
|
|
@@ -6235,8 +6238,8 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6235
6238
|
var i = this.media;
|
|
6236
6239
|
this._fullActionFrom = "exit";
|
|
6237
6240
|
try {
|
|
6238
|
-
for (var n = 0; n <
|
|
6239
|
-
var s =
|
|
6241
|
+
for (var n = 0; n < Ji.length; n++) {
|
|
6242
|
+
var s = Ji[n];
|
|
6240
6243
|
if (document[s]) {
|
|
6241
6244
|
var l = document[s]();
|
|
6242
6245
|
return l && l.then ? l : Promise.resolve();
|
|
@@ -6315,7 +6318,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6315
6318
|
this.onBlur(e);
|
|
6316
6319
|
return;
|
|
6317
6320
|
}
|
|
6318
|
-
this._clearUserTimer(), this.emit(
|
|
6321
|
+
this._clearUserTimer(), this.emit(Hn, Q({
|
|
6319
6322
|
paused: this.paused,
|
|
6320
6323
|
ended: this.ended
|
|
6321
6324
|
}, e));
|
|
@@ -6400,7 +6403,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6400
6403
|
value: function() {
|
|
6401
6404
|
var e = this;
|
|
6402
6405
|
this.waitTimer && f.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = f.setTimeout(this, function() {
|
|
6403
|
-
e.addClass(T.LOADING), e.emit(
|
|
6406
|
+
e.addClass(T.LOADING), e.emit(jn), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
|
|
6404
6407
|
}, this.config.minWaitDelay);
|
|
6405
6408
|
}
|
|
6406
6409
|
}, {
|
|
@@ -6560,7 +6563,7 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6560
6563
|
}, {
|
|
6561
6564
|
key: "setState",
|
|
6562
6565
|
value: function(e) {
|
|
6563
|
-
V.logInfo("setState", "state from:".concat(
|
|
6566
|
+
V.logInfo("setState", "state from:".concat(an[this.state], " to:").concat(an[e])), this._state = e;
|
|
6564
6567
|
}
|
|
6565
6568
|
}, {
|
|
6566
6569
|
key: "_preProcessUrl",
|
|
@@ -6726,18 +6729,18 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6726
6729
|
}, {
|
|
6727
6730
|
key: "avgSpeed",
|
|
6728
6731
|
get: function() {
|
|
6729
|
-
return
|
|
6732
|
+
return ln;
|
|
6730
6733
|
},
|
|
6731
6734
|
set: function(e) {
|
|
6732
|
-
|
|
6735
|
+
ln = e;
|
|
6733
6736
|
}
|
|
6734
6737
|
}, {
|
|
6735
6738
|
key: "realTimeSpeed",
|
|
6736
6739
|
get: function() {
|
|
6737
|
-
return
|
|
6740
|
+
return on;
|
|
6738
6741
|
},
|
|
6739
6742
|
set: function(e) {
|
|
6740
|
-
|
|
6743
|
+
on = e;
|
|
6741
6744
|
}
|
|
6742
6745
|
}, {
|
|
6743
6746
|
key: "offsetCurrentTime",
|
|
@@ -6775,14 +6778,14 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6775
6778
|
value: function(e, i, n) {
|
|
6776
6779
|
for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
|
|
6777
6780
|
l[u - 3] = arguments[u];
|
|
6778
|
-
return
|
|
6781
|
+
return Qi.call.apply(Qi, [this].concat(Array.prototype.slice.call(arguments)));
|
|
6779
6782
|
}
|
|
6780
6783
|
}, {
|
|
6781
6784
|
key: "removePluginHooks",
|
|
6782
6785
|
value: function(e, i, n) {
|
|
6783
6786
|
for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
|
|
6784
6787
|
l[u - 3] = arguments[u];
|
|
6785
|
-
return
|
|
6788
|
+
return en.call.apply(en, [this].concat(Array.prototype.slice.call(arguments)));
|
|
6786
6789
|
}
|
|
6787
6790
|
}, {
|
|
6788
6791
|
key: "setUserActive",
|
|
@@ -6839,10 +6842,10 @@ var Uo = ["play", "pause", "replay", "retry"], an = 0, on = 0, Oe = null, Ht = /
|
|
|
6839
6842
|
r.plugins || (r.plugins = {}), r.plugins[e] = i;
|
|
6840
6843
|
}
|
|
6841
6844
|
}]), r;
|
|
6842
|
-
}(
|
|
6845
|
+
}(yo);
|
|
6843
6846
|
_(Ht, "defaultPreset", null);
|
|
6844
6847
|
_(Ht, "XgVideoProxy", null);
|
|
6845
|
-
Ht.instManager =
|
|
6848
|
+
Ht.instManager = ir.getInstance();
|
|
6846
6849
|
function ae() {
|
|
6847
6850
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
6848
6851
|
}
|
|
@@ -6854,7 +6857,7 @@ var Re = {
|
|
|
6854
6857
|
WAIT_END: "waitingEnd",
|
|
6855
6858
|
SEEK_START: "seekStart",
|
|
6856
6859
|
SEEK_END: "seekEnd"
|
|
6857
|
-
},
|
|
6860
|
+
}, Vo = /* @__PURE__ */ function(o) {
|
|
6858
6861
|
F(r, o);
|
|
6859
6862
|
var a = M(r);
|
|
6860
6863
|
function r() {
|
|
@@ -6981,7 +6984,7 @@ var Re = {
|
|
|
6981
6984
|
key: "emitLog",
|
|
6982
6985
|
value: function(e, i) {
|
|
6983
6986
|
var n = this.player;
|
|
6984
|
-
this.emit(
|
|
6987
|
+
this.emit(Kn, Q({
|
|
6985
6988
|
t: ae(),
|
|
6986
6989
|
host: f.getHostFromUrl(n.currentSrc),
|
|
6987
6990
|
vtype: n.vtype,
|
|
@@ -7005,13 +7008,13 @@ var Re = {
|
|
|
7005
7008
|
}
|
|
7006
7009
|
}]), r;
|
|
7007
7010
|
}(W);
|
|
7008
|
-
function
|
|
7011
|
+
function jo() {
|
|
7009
7012
|
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
7013
|
<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
7014
|
</svg>
|
|
7012
7015
|
`, "image/svg+xml").firstChild;
|
|
7013
7016
|
}
|
|
7014
|
-
var
|
|
7017
|
+
var $o = /* @__PURE__ */ function(o) {
|
|
7015
7018
|
F(r, o);
|
|
7016
7019
|
var a = M(r);
|
|
7017
7020
|
function r() {
|
|
@@ -7021,7 +7024,7 @@ var jo = /* @__PURE__ */ function(o) {
|
|
|
7021
7024
|
key: "registerIcons",
|
|
7022
7025
|
value: function() {
|
|
7023
7026
|
return {
|
|
7024
|
-
replay:
|
|
7027
|
+
replay: jo
|
|
7025
7028
|
};
|
|
7026
7029
|
}
|
|
7027
7030
|
}, {
|
|
@@ -7094,7 +7097,7 @@ var jo = /* @__PURE__ */ function(o) {
|
|
|
7094
7097
|
};
|
|
7095
7098
|
}
|
|
7096
7099
|
}]), r;
|
|
7097
|
-
}(W),
|
|
7100
|
+
}(W), Wo = /* @__PURE__ */ function(o) {
|
|
7098
7101
|
F(r, o);
|
|
7099
7102
|
var a = M(r);
|
|
7100
7103
|
function r() {
|
|
@@ -7219,7 +7222,7 @@ function Si() {
|
|
|
7219
7222
|
`, "image/svg+xml").firstChild;
|
|
7220
7223
|
}
|
|
7221
7224
|
var be = {};
|
|
7222
|
-
function
|
|
7225
|
+
function Go(o, a) {
|
|
7223
7226
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
7224
7227
|
start: null,
|
|
7225
7228
|
end: null
|
|
@@ -7228,7 +7231,7 @@ function Wo(o, a) {
|
|
|
7228
7231
|
r.end && r.end(), window.clearTimeout(be[o].id), delete be[o];
|
|
7229
7232
|
}, a), be[o].id;
|
|
7230
7233
|
}
|
|
7231
|
-
function
|
|
7234
|
+
function un(o) {
|
|
7232
7235
|
if (o) {
|
|
7233
7236
|
window.clearTimeout(o);
|
|
7234
7237
|
return;
|
|
@@ -7237,7 +7240,7 @@ function ln(o) {
|
|
|
7237
7240
|
window.clearTimeout(be[a].id), delete be[a];
|
|
7238
7241
|
});
|
|
7239
7242
|
}
|
|
7240
|
-
var
|
|
7243
|
+
var Ko = /* @__PURE__ */ function(o) {
|
|
7241
7244
|
F(r, o);
|
|
7242
7245
|
var a = M(r);
|
|
7243
7246
|
function r(t) {
|
|
@@ -7329,7 +7332,7 @@ var Go = /* @__PURE__ */ function(o) {
|
|
|
7329
7332
|
key: "animate",
|
|
7330
7333
|
value: function(e) {
|
|
7331
7334
|
var i = this;
|
|
7332
|
-
this._animateId =
|
|
7335
|
+
this._animateId = Go("pauseplay", 400, {
|
|
7333
7336
|
start: function() {
|
|
7334
7337
|
f.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
|
|
7335
7338
|
},
|
|
@@ -7341,7 +7344,7 @@ var Go = /* @__PURE__ */ function(o) {
|
|
|
7341
7344
|
}, {
|
|
7342
7345
|
key: "endAnimate",
|
|
7343
7346
|
value: function() {
|
|
7344
|
-
f.removeClass(this.root, "interact"),
|
|
7347
|
+
f.removeClass(this.root, "interact"), un(this._animateId), this._animateId = null;
|
|
7345
7348
|
}
|
|
7346
7349
|
}, {
|
|
7347
7350
|
key: "switchPausePlay",
|
|
@@ -7385,7 +7388,7 @@ var Go = /* @__PURE__ */ function(o) {
|
|
|
7385
7388
|
}, {
|
|
7386
7389
|
key: "destroy",
|
|
7387
7390
|
value: function() {
|
|
7388
|
-
this.unbind(["click", "touchend"], this.clickHandler),
|
|
7391
|
+
this.unbind(["click", "touchend"], this.clickHandler), un(this._animateId);
|
|
7389
7392
|
}
|
|
7390
7393
|
}, {
|
|
7391
7394
|
key: "render",
|
|
@@ -7412,7 +7415,7 @@ var Go = /* @__PURE__ */ function(o) {
|
|
|
7412
7415
|
};
|
|
7413
7416
|
}
|
|
7414
7417
|
}]), r;
|
|
7415
|
-
}(W),
|
|
7418
|
+
}(W), Yo = /* @__PURE__ */ function(o) {
|
|
7416
7419
|
F(r, o);
|
|
7417
7420
|
var a = M(r);
|
|
7418
7421
|
function r() {
|
|
@@ -7457,7 +7460,7 @@ function ze(o, a, r) {
|
|
|
7457
7460
|
return '<div class="xg-tips hide"></div>';
|
|
7458
7461
|
}
|
|
7459
7462
|
}
|
|
7460
|
-
var
|
|
7463
|
+
var cn = /* @__PURE__ */ function(o) {
|
|
7461
7464
|
F(r, o);
|
|
7462
7465
|
var a = M(r);
|
|
7463
7466
|
function r() {
|
|
@@ -7507,12 +7510,12 @@ var un = /* @__PURE__ */ function(o) {
|
|
|
7507
7510
|
}
|
|
7508
7511
|
}]), r;
|
|
7509
7512
|
}(W);
|
|
7510
|
-
function
|
|
7513
|
+
function fn(o) {
|
|
7511
7514
|
var a = parseFloat(o), r = o.indexOf("%") === -1 && !Number.isNaN(a);
|
|
7512
7515
|
return r && a;
|
|
7513
7516
|
}
|
|
7514
|
-
var xi = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"],
|
|
7515
|
-
function
|
|
7517
|
+
var xi = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], nr = xi.length;
|
|
7518
|
+
function Xo() {
|
|
7516
7519
|
for (var o = {
|
|
7517
7520
|
width: 0,
|
|
7518
7521
|
height: 0,
|
|
@@ -7520,30 +7523,30 @@ function Yo() {
|
|
|
7520
7523
|
innerHeight: 0,
|
|
7521
7524
|
outerWidth: 0,
|
|
7522
7525
|
outerHeight: 0
|
|
7523
|
-
}, a = 0; a <
|
|
7526
|
+
}, a = 0; a < nr; a++) {
|
|
7524
7527
|
var r = xi[a];
|
|
7525
7528
|
o[r] = 0;
|
|
7526
7529
|
}
|
|
7527
7530
|
return o;
|
|
7528
7531
|
}
|
|
7529
|
-
function
|
|
7532
|
+
function qo(o) {
|
|
7530
7533
|
var a = window.getComputedStyle(o);
|
|
7531
7534
|
return a;
|
|
7532
7535
|
}
|
|
7533
|
-
function
|
|
7536
|
+
function hn(o) {
|
|
7534
7537
|
if (typeof o == "string" && (o = document.querySelector(o)), !(!o || le(o) !== "object" || !o.nodeType)) {
|
|
7535
|
-
var a =
|
|
7538
|
+
var a = qo(o);
|
|
7536
7539
|
if (a.display === "none")
|
|
7537
|
-
return
|
|
7540
|
+
return Xo();
|
|
7538
7541
|
var r = {};
|
|
7539
7542
|
r.width = o.offsetWidth, r.height = o.offsetHeight;
|
|
7540
|
-
for (var t = r.isBorderBox = a.boxSizing === "border-box", e = 0; e <
|
|
7543
|
+
for (var t = r.isBorderBox = a.boxSizing === "border-box", e = 0; e < nr; e++) {
|
|
7541
7544
|
var i = xi[e], n = a[i], s = parseFloat(n);
|
|
7542
7545
|
r[i] = Number.isNaN(s) ? 0 : s;
|
|
7543
7546
|
}
|
|
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 =
|
|
7547
|
+
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
7548
|
v !== !1 && (r.width = v + (d ? 0 : l + g));
|
|
7546
|
-
var m =
|
|
7549
|
+
var m = fn(a.height);
|
|
7547
7550
|
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
7551
|
}
|
|
7549
7552
|
}
|
|
@@ -7558,11 +7561,11 @@ var Zt = {
|
|
|
7558
7561
|
START: "dragStart",
|
|
7559
7562
|
MOVE: "dragMove",
|
|
7560
7563
|
ENDED: "dragEnded"
|
|
7561
|
-
},
|
|
7564
|
+
}, dn = {
|
|
7562
7565
|
mousedown: ["mousemove", "mouseup"],
|
|
7563
7566
|
touchstart: ["touchmove", "touchend", "touchcancel"],
|
|
7564
7567
|
pointerdown: ["pointermove", "pointerup", "pointercancel"]
|
|
7565
|
-
},
|
|
7568
|
+
}, Zo = /* @__PURE__ */ function(o) {
|
|
7566
7569
|
F(r, o);
|
|
7567
7570
|
var a = M(r);
|
|
7568
7571
|
function r(t) {
|
|
@@ -7579,7 +7582,7 @@ var Zt = {
|
|
|
7579
7582
|
key: "_bindStartEvent",
|
|
7580
7583
|
value: function() {
|
|
7581
7584
|
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)]),
|
|
7585
|
+
"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
7586
|
e["on".concat(i)] = e["on".concat(i)].bind(e);
|
|
7584
7587
|
});
|
|
7585
7588
|
}
|
|
@@ -7593,7 +7596,7 @@ var Zt = {
|
|
|
7593
7596
|
value: function(e) {
|
|
7594
7597
|
var i = this;
|
|
7595
7598
|
if (e) {
|
|
7596
|
-
var n =
|
|
7599
|
+
var n = dn[this._startKey];
|
|
7597
7600
|
n.map(function(s) {
|
|
7598
7601
|
window.addEventListener(s, i["on".concat(s)]);
|
|
7599
7602
|
}), this._boundPointerEvents = n;
|
|
@@ -7685,7 +7688,7 @@ var Zt = {
|
|
|
7685
7688
|
value: function(e, i) {
|
|
7686
7689
|
if (!(!this._root || this.isDown || !this.isEnabled)) {
|
|
7687
7690
|
this.downPoint = i, this.dragPoint.x = 0, this.dragPoint.y = 0, this._getPosition();
|
|
7688
|
-
var n =
|
|
7691
|
+
var n = hn(this._root);
|
|
7689
7692
|
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
7693
|
}
|
|
7691
7694
|
}
|
|
@@ -7766,13 +7769,13 @@ var Zt = {
|
|
|
7766
7769
|
key: "_getPositionCoord",
|
|
7767
7770
|
value: function(e, i) {
|
|
7768
7771
|
if (e.indexOf("%") !== -1) {
|
|
7769
|
-
var n =
|
|
7772
|
+
var n = hn(this._root.parentNode);
|
|
7770
7773
|
return n ? parseFloat(e) / 100 * n[i] : 0;
|
|
7771
7774
|
}
|
|
7772
7775
|
return parseInt(e, 10);
|
|
7773
7776
|
}
|
|
7774
7777
|
}]), r;
|
|
7775
|
-
}(
|
|
7778
|
+
}(Rn), Jo = /* @__PURE__ */ function(o) {
|
|
7776
7779
|
F(r, o);
|
|
7777
7780
|
var a = M(r);
|
|
7778
7781
|
function r(t) {
|
|
@@ -7825,10 +7828,10 @@ var Zt = {
|
|
|
7825
7828
|
}
|
|
7826
7829
|
}
|
|
7827
7830
|
};
|
|
7828
|
-
i.controls.registerPlugin(
|
|
7831
|
+
i.controls.registerPlugin(cn, s, cn.pluginName);
|
|
7829
7832
|
}
|
|
7830
7833
|
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
|
|
7834
|
+
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
7835
|
handle: this.root
|
|
7833
7836
|
})), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
|
|
7834
7837
|
}
|
|
@@ -7943,7 +7946,7 @@ var Zt = {
|
|
|
7943
7946
|
var l = y(t), u = l.playerConfig, c = l.player;
|
|
7944
7947
|
!u.closeFocusVideoFocus && c.media.focus(), u.closeDelayBlur ? c.focus({
|
|
7945
7948
|
autoHide: !1
|
|
7946
|
-
}) : c.focus(), t.emit(
|
|
7949
|
+
}) : c.focus(), t.emit(Vn);
|
|
7947
7950
|
}), _(y(t), "onMouseLeave", function(s) {
|
|
7948
7951
|
var l = t.playerConfig, u = l.closePlayerBlur, c = l.leavePlayerTime, h = l.closeDelayBlur;
|
|
7949
7952
|
!u && !h && (c ? t.player.focus({
|
|
@@ -7951,7 +7954,7 @@ var Zt = {
|
|
|
7951
7954
|
delay: c
|
|
7952
7955
|
}) : t.player.blur({
|
|
7953
7956
|
ignorePaused: !0
|
|
7954
|
-
})), t.emit(
|
|
7957
|
+
})), t.emit(zn);
|
|
7955
7958
|
}), _(y(t), "onVideoClick", function(s) {
|
|
7956
7959
|
var l = y(t), u = l.player, c = l.playerConfig;
|
|
7957
7960
|
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 +8045,21 @@ var Zt = {
|
|
|
8042
8045
|
TOUCH_MOVE: "touchmove",
|
|
8043
8046
|
TOUCH_START: "touchstart",
|
|
8044
8047
|
TOUCH_END: "touchend"
|
|
8045
|
-
},
|
|
8048
|
+
}, Qo = {
|
|
8046
8049
|
start: "touchstart",
|
|
8047
8050
|
end: "touchend",
|
|
8048
8051
|
move: "touchmove",
|
|
8049
8052
|
cancel: "touchcancel"
|
|
8050
|
-
},
|
|
8053
|
+
}, el = {
|
|
8051
8054
|
start: "mousedown",
|
|
8052
8055
|
end: "mouseup",
|
|
8053
8056
|
move: "mousemove",
|
|
8054
8057
|
cancel: "mouseleave"
|
|
8055
8058
|
};
|
|
8056
|
-
function
|
|
8059
|
+
function gn(o) {
|
|
8057
8060
|
return o && o.length > 0 ? o[o.length - 1] : null;
|
|
8058
8061
|
}
|
|
8059
|
-
function
|
|
8062
|
+
function tl() {
|
|
8060
8063
|
return {
|
|
8061
8064
|
pressDelay: 600,
|
|
8062
8065
|
dbClickDelay: 200,
|
|
@@ -8066,13 +8069,13 @@ function el() {
|
|
|
8066
8069
|
needPreventDefault: !0
|
|
8067
8070
|
};
|
|
8068
8071
|
}
|
|
8069
|
-
var
|
|
8072
|
+
var il = /* @__PURE__ */ function() {
|
|
8070
8073
|
function o(a) {
|
|
8071
8074
|
var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
8072
8075
|
eventType: "touch"
|
|
8073
8076
|
};
|
|
8074
8077
|
P(this, o), _(this, "onTouchStart", function(e) {
|
|
8075
|
-
var i = r._pos, n = r.root, s =
|
|
8078
|
+
var i = r._pos, n = r.root, s = gn(e.touches);
|
|
8076
8079
|
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
8080
|
}), _(this, "onTouchCancel", function(e) {
|
|
8078
8081
|
r.onTouchEnd(e);
|
|
@@ -8080,16 +8083,16 @@ var tl = /* @__PURE__ */ function() {
|
|
|
8080
8083
|
var i = r._pos, n = r.root;
|
|
8081
8084
|
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
8085
|
}), _(this, "onTouchMove", function(e) {
|
|
8083
|
-
var i = r._pos, n = r.config, s =
|
|
8086
|
+
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
8087
|
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
8088
|
}), this._pos = {
|
|
8086
8089
|
moving: !1,
|
|
8087
8090
|
start: !1,
|
|
8088
8091
|
x: 0,
|
|
8089
8092
|
y: 0
|
|
8090
|
-
}, this.config =
|
|
8093
|
+
}, this.config = tl(), Object.keys(t).map(function(e) {
|
|
8091
8094
|
r.config[e] = t[e];
|
|
8092
|
-
}), this.root = a, this.events = t.eventType === "mouse" ?
|
|
8095
|
+
}), this.root = a, this.events = t.eventType === "mouse" ? el : Qo, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
|
|
8093
8096
|
}
|
|
8094
8097
|
return A(o, [{
|
|
8095
8098
|
key: "_initEvent",
|
|
@@ -8168,7 +8171,7 @@ var tl = /* @__PURE__ */ function() {
|
|
|
8168
8171
|
}
|
|
8169
8172
|
}]), o;
|
|
8170
8173
|
}();
|
|
8171
|
-
function
|
|
8174
|
+
function nl() {
|
|
8172
8175
|
return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
8173
8176
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
8174
8177
|
<path opacity="0.54"
|
|
@@ -8182,7 +8185,7 @@ var Qe = {
|
|
|
8182
8185
|
SEEKING: "seeking",
|
|
8183
8186
|
PLAYBACK: "playbackrate",
|
|
8184
8187
|
LIGHT: ""
|
|
8185
|
-
}, ei = ["videoClick", "videoDbClick"],
|
|
8188
|
+
}, ei = ["videoClick", "videoDbClick"], rl = /* @__PURE__ */ function(o) {
|
|
8186
8189
|
F(r, o);
|
|
8187
8190
|
var a = M(r);
|
|
8188
8191
|
function r(t) {
|
|
@@ -8254,7 +8257,7 @@ var Qe = {
|
|
|
8254
8257
|
value: function() {
|
|
8255
8258
|
return {
|
|
8256
8259
|
seekTipIcon: {
|
|
8257
|
-
icon:
|
|
8260
|
+
icon: nl,
|
|
8258
8261
|
class: "xg-seek-pre"
|
|
8259
8262
|
}
|
|
8260
8263
|
};
|
|
@@ -8269,7 +8272,7 @@ var Qe = {
|
|
|
8269
8272
|
var i = this.playerConfig, n = this.config, s = this.player;
|
|
8270
8273
|
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
8274
|
var l = this.domEventType === "mouse" ? "mouse" : "touch";
|
|
8272
|
-
this.touch = new
|
|
8275
|
+
this.touch = new il(this.root, {
|
|
8273
8276
|
eventType: l,
|
|
8274
8277
|
needPreventDefault: !this.config.disableGesture
|
|
8275
8278
|
}), this.root.addEventListener("contextmenu", function(g) {
|
|
@@ -8611,14 +8614,14 @@ var Qe = {
|
|
|
8611
8614
|
}
|
|
8612
8615
|
}]), r;
|
|
8613
8616
|
}(W);
|
|
8614
|
-
function
|
|
8617
|
+
function sl(o) {
|
|
8615
8618
|
o.preventDefault(), o.returnValue = !1;
|
|
8616
8619
|
}
|
|
8617
|
-
function
|
|
8620
|
+
function pn(o) {
|
|
8618
8621
|
var a = o.tagName;
|
|
8619
8622
|
return !!(a === "INPUT" || a === "TEXTAREA" || o.isContentEditable);
|
|
8620
8623
|
}
|
|
8621
|
-
var
|
|
8624
|
+
var vn = /* @__PURE__ */ function(o) {
|
|
8622
8625
|
F(r, o);
|
|
8623
8626
|
var a = M(r);
|
|
8624
8627
|
function r() {
|
|
@@ -8629,11 +8632,11 @@ var pn = /* @__PURE__ */ function(o) {
|
|
|
8629
8632
|
return t = a.call.apply(a, [this].concat(i)), _(y(t), "onBodyKeyDown", function(s) {
|
|
8630
8633
|
if (t.player) {
|
|
8631
8634
|
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) ||
|
|
8635
|
+
if (d || v || !(g.isUserActive || m) || pn(l.target) || !t.checkIsVisible() || l.metaKey || l.altKey || l.ctrlKey) {
|
|
8633
8636
|
h.isBodyKeyDown = !1;
|
|
8634
8637
|
return;
|
|
8635
8638
|
}
|
|
8636
|
-
!s.repeat && !h.isKeyDown && ((l.target === document.body || t.config.isGlobalTrigger && !
|
|
8639
|
+
!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
8640
|
}
|
|
8638
8641
|
}), _(y(t), "onBodyKeyUp", function(s) {
|
|
8639
8642
|
t.player && (document.removeEventListener("keyup", t.onBodyKeyUp), t.handleKeyUp(s));
|
|
@@ -8854,13 +8857,13 @@ var pn = /* @__PURE__ */ function(o) {
|
|
|
8854
8857
|
if (h === e) {
|
|
8855
8858
|
if (!g && !(n && d)) {
|
|
8856
8859
|
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(
|
|
8860
|
+
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
8861
|
key: s[l],
|
|
8859
8862
|
target: i.target,
|
|
8860
8863
|
isPress: n
|
|
8861
8864
|
}, this.keyCodeMap[s[l]]));
|
|
8862
8865
|
}
|
|
8863
|
-
|
|
8866
|
+
sl(i), i.stopPropagation();
|
|
8864
8867
|
break;
|
|
8865
8868
|
}
|
|
8866
8869
|
}
|
|
@@ -8902,13 +8905,13 @@ var pn = /* @__PURE__ */ function(o) {
|
|
|
8902
8905
|
}
|
|
8903
8906
|
}]), r;
|
|
8904
8907
|
}(He);
|
|
8905
|
-
function
|
|
8908
|
+
function al() {
|
|
8906
8909
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
|
|
8907
8910
|
<path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
|
|
8908
8911
|
</svg>
|
|
8909
8912
|
`, "image/svg+xml").firstChild;
|
|
8910
8913
|
}
|
|
8911
|
-
var
|
|
8914
|
+
var ol = /* @__PURE__ */ function(o) {
|
|
8912
8915
|
F(r, o);
|
|
8913
8916
|
var a = M(r);
|
|
8914
8917
|
function r() {
|
|
@@ -8918,7 +8921,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
8918
8921
|
key: "registerIcons",
|
|
8919
8922
|
value: function() {
|
|
8920
8923
|
return {
|
|
8921
|
-
loadingIcon:
|
|
8924
|
+
loadingIcon: al
|
|
8922
8925
|
};
|
|
8923
8926
|
}
|
|
8924
8927
|
}, {
|
|
@@ -8947,7 +8950,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
8947
8950
|
};
|
|
8948
8951
|
}
|
|
8949
8952
|
}]), r;
|
|
8950
|
-
}(W),
|
|
8953
|
+
}(W), ll = [{
|
|
8951
8954
|
tag: "xg-cache",
|
|
8952
8955
|
className: "xgplayer-progress-cache",
|
|
8953
8956
|
styleKey: "cachedColor"
|
|
@@ -8955,7 +8958,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
8955
8958
|
tag: "xg-played",
|
|
8956
8959
|
className: "xgplayer-progress-played",
|
|
8957
8960
|
styleKey: "playedColor"
|
|
8958
|
-
}],
|
|
8961
|
+
}], ul = /* @__PURE__ */ function() {
|
|
8959
8962
|
function o(a) {
|
|
8960
8963
|
P(this, o), this.fragments = a.fragments || [], this.fragments.length === 0 && this.fragments.push({
|
|
8961
8964
|
percent: 1
|
|
@@ -9142,7 +9145,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9142
9145
|
var l = f.createDom("xg-inner", "", {
|
|
9143
9146
|
style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
|
|
9144
9147
|
}, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
|
|
9145
|
-
return r.root.appendChild(l),
|
|
9148
|
+
return r.root.appendChild(l), ll.forEach(function(u) {
|
|
9146
9149
|
l.appendChild(f.createDom(u.tag, "", {
|
|
9147
9150
|
style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
|
|
9148
9151
|
}, u.className));
|
|
@@ -9155,10 +9158,10 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9155
9158
|
return this.root;
|
|
9156
9159
|
}
|
|
9157
9160
|
}]), o;
|
|
9158
|
-
}(),
|
|
9161
|
+
}(), mn = {
|
|
9159
9162
|
POINT: "inner-focus-point",
|
|
9160
9163
|
HIGHLIGHT: "inner-focus-highlight"
|
|
9161
|
-
},
|
|
9164
|
+
}, cl = /* @__PURE__ */ function(o) {
|
|
9162
9165
|
F(r, o);
|
|
9163
9166
|
var a = M(r);
|
|
9164
9167
|
function r(t) {
|
|
@@ -9288,7 +9291,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9288
9291
|
e.emitUserAction("fragment_focus", "fragment_focus", u);
|
|
9289
9292
|
}
|
|
9290
9293
|
});
|
|
9291
|
-
this.innerList ? this.innerList.reset(s) : (this.innerList = new
|
|
9294
|
+
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
9295
|
e[l] = e.innerList[l].bind(e.innerList);
|
|
9293
9296
|
}));
|
|
9294
9297
|
}
|
|
@@ -9322,7 +9325,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9322
9325
|
e.onTimeupdate();
|
|
9323
9326
|
}), this.on(Ie, function() {
|
|
9324
9327
|
e.onTimeupdate(), e.onCacheUpdate();
|
|
9325
|
-
}), this.on(
|
|
9328
|
+
}), this.on(Bn, function() {
|
|
9326
9329
|
e.onCacheUpdate();
|
|
9327
9330
|
}), this.on(Ye, function() {
|
|
9328
9331
|
e.onCacheUpdate(!0), e.onTimeupdate(!0), e._state.now = 0;
|
|
@@ -9551,7 +9554,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9551
9554
|
fragments: [{
|
|
9552
9555
|
percent: 1
|
|
9553
9556
|
}],
|
|
9554
|
-
fragFocusClass:
|
|
9557
|
+
fragFocusClass: mn.POINT,
|
|
9555
9558
|
fragClass: "",
|
|
9556
9559
|
fragAutoFocus: !1,
|
|
9557
9560
|
miniMoveStep: 5,
|
|
@@ -9566,7 +9569,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9566
9569
|
}, {
|
|
9567
9570
|
key: "FRAGMENT_FOCUS_CLASS",
|
|
9568
9571
|
get: function() {
|
|
9569
|
-
return
|
|
9572
|
+
return mn;
|
|
9570
9573
|
}
|
|
9571
9574
|
}]), r;
|
|
9572
9575
|
}(W), qe = /* @__PURE__ */ function(o) {
|
|
@@ -9598,7 +9601,7 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9598
9601
|
this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
|
|
9599
9602
|
}
|
|
9600
9603
|
}]), r;
|
|
9601
|
-
}(W),
|
|
9604
|
+
}(W), fl = /* @__PURE__ */ function(o) {
|
|
9602
9605
|
F(r, o);
|
|
9603
9606
|
var a = M(r);
|
|
9604
9607
|
function r() {
|
|
@@ -9686,14 +9689,14 @@ var al = /* @__PURE__ */ function(o) {
|
|
|
9686
9689
|
}
|
|
9687
9690
|
}]), r;
|
|
9688
9691
|
}(qe);
|
|
9689
|
-
function
|
|
9692
|
+
function hl() {
|
|
9690
9693
|
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
9694
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
9692
9695
|
<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
9696
|
</g>
|
|
9694
9697
|
</svg>`, "image/svg+xml").firstChild;
|
|
9695
9698
|
}
|
|
9696
|
-
var
|
|
9699
|
+
var dl = /* @__PURE__ */ function(o) {
|
|
9697
9700
|
F(r, o);
|
|
9698
9701
|
var a = M(r);
|
|
9699
9702
|
function r() {
|
|
@@ -9712,7 +9715,7 @@ var hl = /* @__PURE__ */ function(o) {
|
|
|
9712
9715
|
value: function() {
|
|
9713
9716
|
return {
|
|
9714
9717
|
screenBack: {
|
|
9715
|
-
icon:
|
|
9718
|
+
icon: hl,
|
|
9716
9719
|
class: "xg-fullscreen-back"
|
|
9717
9720
|
}
|
|
9718
9721
|
};
|
|
@@ -9754,19 +9757,19 @@ var hl = /* @__PURE__ */ function(o) {
|
|
|
9754
9757
|
}
|
|
9755
9758
|
}]), r;
|
|
9756
9759
|
}(W);
|
|
9757
|
-
function
|
|
9760
|
+
function gl() {
|
|
9758
9761
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
9759
9762
|
<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
9763
|
</svg>
|
|
9761
9764
|
`, "image/svg+xml").firstChild;
|
|
9762
9765
|
}
|
|
9763
|
-
function
|
|
9766
|
+
function pl() {
|
|
9764
9767
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
9765
9768
|
<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
9769
|
</svg>
|
|
9767
9770
|
`, "image/svg+xml").firstChild;
|
|
9768
9771
|
}
|
|
9769
|
-
var
|
|
9772
|
+
var vl = /* @__PURE__ */ function(o) {
|
|
9770
9773
|
F(r, o);
|
|
9771
9774
|
var a = M(r);
|
|
9772
9775
|
function r() {
|
|
@@ -9801,7 +9804,7 @@ var pl = /* @__PURE__ */ function(o) {
|
|
|
9801
9804
|
var u = e.find(".xg-tips");
|
|
9802
9805
|
u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
|
|
9803
9806
|
}), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
|
|
9804
|
-
plugin:
|
|
9807
|
+
plugin: dl,
|
|
9805
9808
|
options: {
|
|
9806
9809
|
config: {
|
|
9807
9810
|
onClick: function(u) {
|
|
@@ -9817,11 +9820,11 @@ var pl = /* @__PURE__ */ function(o) {
|
|
|
9817
9820
|
value: function() {
|
|
9818
9821
|
return {
|
|
9819
9822
|
fullscreen: {
|
|
9820
|
-
icon:
|
|
9823
|
+
icon: gl,
|
|
9821
9824
|
class: "xg-get-fullscreen"
|
|
9822
9825
|
},
|
|
9823
9826
|
exitFullscreen: {
|
|
9824
|
-
icon:
|
|
9827
|
+
icon: pl,
|
|
9825
9828
|
class: "xg-exit-fullscreen"
|
|
9826
9829
|
}
|
|
9827
9830
|
};
|
|
@@ -9902,7 +9905,7 @@ var pl = /* @__PURE__ */ function(o) {
|
|
|
9902
9905
|
};
|
|
9903
9906
|
}
|
|
9904
9907
|
}]), r;
|
|
9905
|
-
}(qe),
|
|
9908
|
+
}(qe), ml = /* @__PURE__ */ function(o) {
|
|
9906
9909
|
F(r, o);
|
|
9907
9910
|
var a = M(r);
|
|
9908
9911
|
function r(t) {
|
|
@@ -10052,7 +10055,7 @@ var pl = /* @__PURE__ */ function(o) {
|
|
|
10052
10055
|
};
|
|
10053
10056
|
}
|
|
10054
10057
|
}]), r;
|
|
10055
|
-
}(W),
|
|
10058
|
+
}(W), yl = /* @__PURE__ */ function(o) {
|
|
10056
10059
|
F(r, o);
|
|
10057
10060
|
var a = M(r);
|
|
10058
10061
|
function r() {
|
|
@@ -10190,28 +10193,28 @@ var pl = /* @__PURE__ */ function(o) {
|
|
|
10190
10193
|
}
|
|
10191
10194
|
}]), r;
|
|
10192
10195
|
}(He);
|
|
10193
|
-
function
|
|
10196
|
+
function _l() {
|
|
10194
10197
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10195
10198
|
<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
10199
|
<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
10200
|
</svg>
|
|
10198
10201
|
`, "image/svg+xml").firstChild;
|
|
10199
10202
|
}
|
|
10200
|
-
function
|
|
10203
|
+
function kl() {
|
|
10201
10204
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10202
10205
|
<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
10206
|
<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
10207
|
</svg>
|
|
10205
10208
|
`, "image/svg+xml").firstChild;
|
|
10206
10209
|
}
|
|
10207
|
-
function
|
|
10210
|
+
function Cl() {
|
|
10208
10211
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10209
10212
|
<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
10213
|
<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
10214
|
</svg>
|
|
10212
10215
|
`, "image/svg+xml").firstChild;
|
|
10213
10216
|
}
|
|
10214
|
-
var
|
|
10217
|
+
var wl = /* @__PURE__ */ function(o) {
|
|
10215
10218
|
F(r, o);
|
|
10216
10219
|
var a = M(r);
|
|
10217
10220
|
function r() {
|
|
@@ -10259,15 +10262,15 @@ var Cl = /* @__PURE__ */ function(o) {
|
|
|
10259
10262
|
value: function() {
|
|
10260
10263
|
return {
|
|
10261
10264
|
volumeSmall: {
|
|
10262
|
-
icon:
|
|
10265
|
+
icon: kl,
|
|
10263
10266
|
class: "xg-volume-small"
|
|
10264
10267
|
},
|
|
10265
10268
|
volumeLarge: {
|
|
10266
|
-
icon:
|
|
10269
|
+
icon: _l,
|
|
10267
10270
|
class: "xg-volume"
|
|
10268
10271
|
},
|
|
10269
10272
|
volumeMuted: {
|
|
10270
|
-
icon:
|
|
10273
|
+
icon: Cl,
|
|
10271
10274
|
class: "xg-volume-mute"
|
|
10272
10275
|
}
|
|
10273
10276
|
};
|
|
@@ -10289,7 +10292,7 @@ var Cl = /* @__PURE__ */ function(o) {
|
|
|
10289
10292
|
pre: function(u) {
|
|
10290
10293
|
u.preventDefault(), u.stopPropagation();
|
|
10291
10294
|
}
|
|
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(
|
|
10295
|
+
}), 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
10296
|
}
|
|
10294
10297
|
}
|
|
10295
10298
|
}, {
|
|
@@ -10406,7 +10409,7 @@ var Cl = /* @__PURE__ */ function(o) {
|
|
|
10406
10409
|
}
|
|
10407
10410
|
}]), r;
|
|
10408
10411
|
}(W);
|
|
10409
|
-
function
|
|
10412
|
+
function bl() {
|
|
10410
10413
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
|
|
10411
10414
|
<g clip-path="url(#clip0)">
|
|
10412
10415
|
<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 +10423,7 @@ function wl() {
|
|
|
10420
10423
|
</svg>
|
|
10421
10424
|
`, "image/svg+xml").firstChild;
|
|
10422
10425
|
}
|
|
10423
|
-
var
|
|
10426
|
+
var Tl = /* @__PURE__ */ function(o) {
|
|
10424
10427
|
F(r, o);
|
|
10425
10428
|
var a = M(r);
|
|
10426
10429
|
function r(t) {
|
|
@@ -10477,13 +10480,13 @@ var bl = /* @__PURE__ */ function(o) {
|
|
|
10477
10480
|
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
10481
|
this.rotateDeg || (this.rotateDeg = 0);
|
|
10479
10482
|
var l = e ? 1 : -1;
|
|
10480
|
-
this.rotateDeg = (this.rotateDeg + 1 + l * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit(
|
|
10483
|
+
this.rotateDeg = (this.rotateDeg + 1 + l * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit($n, this.rotateDeg * 360);
|
|
10481
10484
|
}
|
|
10482
10485
|
}, {
|
|
10483
10486
|
key: "registerIcons",
|
|
10484
10487
|
value: function() {
|
|
10485
10488
|
return {
|
|
10486
|
-
rotate:
|
|
10489
|
+
rotate: bl
|
|
10487
10490
|
};
|
|
10488
10491
|
}
|
|
10489
10492
|
}, {
|
|
@@ -10516,14 +10519,14 @@ var bl = /* @__PURE__ */ function(o) {
|
|
|
10516
10519
|
}
|
|
10517
10520
|
}]), r;
|
|
10518
10521
|
}(qe);
|
|
10519
|
-
function
|
|
10522
|
+
function El() {
|
|
10520
10523
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10521
10524
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
10522
10525
|
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
10526
|
fill="white" />
|
|
10524
10527
|
</svg>`, "image/svg+xml").firstChild;
|
|
10525
10528
|
}
|
|
10526
|
-
function
|
|
10529
|
+
function Sl() {
|
|
10527
10530
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10528
10531
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
10529
10532
|
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 +10540,7 @@ var et = {
|
|
|
10537
10540
|
PIP: "picture-in-picture",
|
|
10538
10541
|
INLINE: "inline",
|
|
10539
10542
|
FULLSCREEN: "fullscreen"
|
|
10540
|
-
},
|
|
10543
|
+
}, xl = /* @__PURE__ */ function(o) {
|
|
10541
10544
|
F(r, o);
|
|
10542
10545
|
var a = M(r);
|
|
10543
10546
|
function r() {
|
|
@@ -10577,11 +10580,11 @@ var et = {
|
|
|
10577
10580
|
value: function() {
|
|
10578
10581
|
return {
|
|
10579
10582
|
pipIcon: {
|
|
10580
|
-
icon:
|
|
10583
|
+
icon: El,
|
|
10581
10584
|
class: "xg-get-pip"
|
|
10582
10585
|
},
|
|
10583
10586
|
pipIconExit: {
|
|
10584
|
-
icon:
|
|
10587
|
+
icon: Sl,
|
|
10585
10588
|
class: "xg-exit-pip"
|
|
10586
10589
|
}
|
|
10587
10590
|
};
|
|
@@ -10740,13 +10743,13 @@ var et = {
|
|
|
10740
10743
|
}
|
|
10741
10744
|
}]), r;
|
|
10742
10745
|
}(qe);
|
|
10743
|
-
function
|
|
10746
|
+
function Il() {
|
|
10744
10747
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
|
|
10745
10748
|
<path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
|
|
10746
10749
|
</svg>
|
|
10747
10750
|
`, "image/svg+xml").firstChild;
|
|
10748
10751
|
}
|
|
10749
|
-
var
|
|
10752
|
+
var Pl = /* @__PURE__ */ function(o) {
|
|
10750
10753
|
F(r, o);
|
|
10751
10754
|
var a = M(r);
|
|
10752
10755
|
function r(t) {
|
|
@@ -10765,7 +10768,7 @@ var Il = /* @__PURE__ */ function(o) {
|
|
|
10765
10768
|
key: "registerIcons",
|
|
10766
10769
|
value: function() {
|
|
10767
10770
|
return {
|
|
10768
|
-
playNext:
|
|
10771
|
+
playNext: Il
|
|
10769
10772
|
};
|
|
10770
10773
|
}
|
|
10771
10774
|
}, {
|
|
@@ -10814,11 +10817,11 @@ var Il = /* @__PURE__ */ function(o) {
|
|
|
10814
10817
|
};
|
|
10815
10818
|
}
|
|
10816
10819
|
}]), r;
|
|
10817
|
-
}(W),
|
|
10820
|
+
}(W), rr = { exports: {} };
|
|
10818
10821
|
(function(o, a) {
|
|
10819
10822
|
(function(r, t) {
|
|
10820
10823
|
o.exports = t();
|
|
10821
|
-
})(
|
|
10824
|
+
})(ya, function() {
|
|
10822
10825
|
return function r(t, e, i) {
|
|
10823
10826
|
var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, h = document.createElement("a"), g = function(R) {
|
|
10824
10827
|
return String(R);
|
|
@@ -10886,10 +10889,10 @@ Use Save As... to download, then click back to return to this page.`) && (locati
|
|
|
10886
10889
|
return !0;
|
|
10887
10890
|
};
|
|
10888
10891
|
});
|
|
10889
|
-
})(
|
|
10890
|
-
var
|
|
10891
|
-
const
|
|
10892
|
-
function
|
|
10892
|
+
})(rr);
|
|
10893
|
+
var Al = rr.exports;
|
|
10894
|
+
const Ll = /* @__PURE__ */ gi(Al);
|
|
10895
|
+
function Dl() {
|
|
10893
10896
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
|
|
10894
10897
|
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10895
10898
|
<g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
|
|
@@ -10906,7 +10909,7 @@ function Ll() {
|
|
|
10906
10909
|
</svg>
|
|
10907
10910
|
`, "image/svg+xml").firstChild;
|
|
10908
10911
|
}
|
|
10909
|
-
var
|
|
10912
|
+
var Ol = /* @__PURE__ */ function(o) {
|
|
10910
10913
|
F(r, o);
|
|
10911
10914
|
var a = M(r);
|
|
10912
10915
|
function r(t) {
|
|
@@ -10917,7 +10920,7 @@ var Dl = /* @__PURE__ */ function(o) {
|
|
|
10917
10920
|
var n = e.playerConfig.url, s = "";
|
|
10918
10921
|
f.typeOf(n) === "String" ? s = n : f.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
|
|
10919
10922
|
var l = e.getAbsoluteURL(s);
|
|
10920
|
-
|
|
10923
|
+
Ll(l), e.isLock = !0, e.timer = window.setTimeout(function() {
|
|
10921
10924
|
e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
|
|
10922
10925
|
}, 300);
|
|
10923
10926
|
}
|
|
@@ -10936,7 +10939,7 @@ var Dl = /* @__PURE__ */ function(o) {
|
|
|
10936
10939
|
key: "registerIcons",
|
|
10937
10940
|
value: function() {
|
|
10938
10941
|
return {
|
|
10939
|
-
download:
|
|
10942
|
+
download: Dl
|
|
10940
10943
|
};
|
|
10941
10944
|
}
|
|
10942
10945
|
}, {
|
|
@@ -10978,7 +10981,7 @@ var Dl = /* @__PURE__ */ function(o) {
|
|
|
10978
10981
|
};
|
|
10979
10982
|
}
|
|
10980
10983
|
}]), r;
|
|
10981
|
-
}(qe),
|
|
10984
|
+
}(qe), Rl = /* @__PURE__ */ function(o) {
|
|
10982
10985
|
F(r, o);
|
|
10983
10986
|
var a = M(r);
|
|
10984
10987
|
function r() {
|
|
@@ -11033,7 +11036,7 @@ var Dl = /* @__PURE__ */ function(o) {
|
|
|
11033
11036
|
e.preventDefault(), e.stopPropagation(), this.emitUserAction(e, "shot");
|
|
11034
11037
|
var n = this.config;
|
|
11035
11038
|
this.shot(n.width, n.height).then(function(s) {
|
|
11036
|
-
i.emit(
|
|
11039
|
+
i.emit(Wn, s), n.saveImg && i.saveScreenShot(s, n.name + n.format);
|
|
11037
11040
|
});
|
|
11038
11041
|
}
|
|
11039
11042
|
}, {
|
|
@@ -11104,7 +11107,7 @@ var Dl = /* @__PURE__ */ function(o) {
|
|
|
11104
11107
|
};
|
|
11105
11108
|
}
|
|
11106
11109
|
}]), r;
|
|
11107
|
-
}(qe),
|
|
11110
|
+
}(qe), Fl = /* @__PURE__ */ function() {
|
|
11108
11111
|
function o(a) {
|
|
11109
11112
|
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
11113
|
var r = this.config.maxHeight;
|
|
@@ -11184,7 +11187,7 @@ var Dl = /* @__PURE__ */ function(o) {
|
|
|
11184
11187
|
CLICK: "click",
|
|
11185
11188
|
HOVER: "hover"
|
|
11186
11189
|
};
|
|
11187
|
-
function
|
|
11190
|
+
function Ml(o, a) {
|
|
11188
11191
|
return o === we.SIDE ? a === Y.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
|
|
11189
11192
|
}
|
|
11190
11193
|
var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
@@ -11298,7 +11301,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11298
11301
|
var c = {
|
|
11299
11302
|
config: {
|
|
11300
11303
|
data: e || [],
|
|
11301
|
-
className:
|
|
11304
|
+
className: Ml(s.listType, s.position),
|
|
11302
11305
|
onItemClick: function(v, m) {
|
|
11303
11306
|
n.onItemClick(v, m);
|
|
11304
11307
|
},
|
|
@@ -11308,7 +11311,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11308
11311
|
};
|
|
11309
11312
|
if (this.config.isShowIcon) {
|
|
11310
11313
|
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
|
|
11314
|
+
p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new Fl(c), this.changeCurrentText(), this.show();
|
|
11312
11315
|
}
|
|
11313
11316
|
this._resizeList();
|
|
11314
11317
|
}
|
|
@@ -11359,7 +11362,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11359
11362
|
};
|
|
11360
11363
|
}
|
|
11361
11364
|
}]), r;
|
|
11362
|
-
}(W),
|
|
11365
|
+
}(W), Nl = /* @__PURE__ */ function(o) {
|
|
11363
11366
|
F(r, o);
|
|
11364
11367
|
var a = M(r);
|
|
11365
11368
|
function r(t) {
|
|
@@ -11460,7 +11463,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11460
11463
|
});
|
|
11461
11464
|
}
|
|
11462
11465
|
}]), r;
|
|
11463
|
-
}(Rt),
|
|
11466
|
+
}(Rt), Bl = /* @__PURE__ */ function(o) {
|
|
11464
11467
|
F(r, o);
|
|
11465
11468
|
var a = M(r);
|
|
11466
11469
|
function r(t) {
|
|
@@ -11482,7 +11485,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11482
11485
|
key: "afterCreate",
|
|
11483
11486
|
value: function() {
|
|
11484
11487
|
var e = this;
|
|
11485
|
-
B(N(r.prototype), "afterCreate", this).call(this), this.on(
|
|
11488
|
+
B(N(r.prototype), "afterCreate", this).call(this), this.on(Nn, function() {
|
|
11486
11489
|
e.curValue !== e.player.playbackRate && e.renderItemList();
|
|
11487
11490
|
}), this.renderItemList();
|
|
11488
11491
|
}
|
|
@@ -11553,19 +11556,19 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11553
11556
|
}
|
|
11554
11557
|
}]), r;
|
|
11555
11558
|
}(Rt);
|
|
11556
|
-
function
|
|
11559
|
+
function Hl() {
|
|
11557
11560
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
11558
11561
|
<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
11562
|
</svg>
|
|
11560
11563
|
`, "image/svg+xml").firstChild;
|
|
11561
11564
|
}
|
|
11562
|
-
function
|
|
11565
|
+
function Ul() {
|
|
11563
11566
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
11564
11567
|
<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
11568
|
</svg>
|
|
11566
11569
|
`, "image/svg+xml").firstChild;
|
|
11567
11570
|
}
|
|
11568
|
-
var
|
|
11571
|
+
var yn = /* @__PURE__ */ function(o) {
|
|
11569
11572
|
F(r, o);
|
|
11570
11573
|
var a = M(r);
|
|
11571
11574
|
function r() {
|
|
@@ -11619,11 +11622,11 @@ var mn = /* @__PURE__ */ function(o) {
|
|
|
11619
11622
|
value: function() {
|
|
11620
11623
|
return {
|
|
11621
11624
|
cssFullscreen: {
|
|
11622
|
-
icon:
|
|
11625
|
+
icon: Hl,
|
|
11623
11626
|
class: "xg-get-cssfull"
|
|
11624
11627
|
},
|
|
11625
11628
|
exitCssFullscreen: {
|
|
11626
|
-
icon:
|
|
11629
|
+
icon: Ul,
|
|
11627
11630
|
class: "xg-exit-cssfull"
|
|
11628
11631
|
}
|
|
11629
11632
|
};
|
|
@@ -11659,7 +11662,7 @@ var mn = /* @__PURE__ */ function(o) {
|
|
|
11659
11662
|
};
|
|
11660
11663
|
}
|
|
11661
11664
|
}]), r;
|
|
11662
|
-
}(qe),
|
|
11665
|
+
}(qe), zl = /* @__PURE__ */ function(o) {
|
|
11663
11666
|
F(r, o);
|
|
11664
11667
|
var a = M(r);
|
|
11665
11668
|
function r() {
|
|
@@ -11720,7 +11723,7 @@ var mn = /* @__PURE__ */ function(o) {
|
|
|
11720
11723
|
return "error";
|
|
11721
11724
|
}
|
|
11722
11725
|
}]), r;
|
|
11723
|
-
}(W),
|
|
11726
|
+
}(W), Vl = /* @__PURE__ */ function(o) {
|
|
11724
11727
|
F(r, o);
|
|
11725
11728
|
var a = M(r);
|
|
11726
11729
|
function r() {
|
|
@@ -11798,7 +11801,7 @@ var mn = /* @__PURE__ */ function(o) {
|
|
|
11798
11801
|
};
|
|
11799
11802
|
}
|
|
11800
11803
|
}]), r;
|
|
11801
|
-
}(W),
|
|
11804
|
+
}(W), _n = {
|
|
11802
11805
|
time: 0,
|
|
11803
11806
|
text: "",
|
|
11804
11807
|
id: 1,
|
|
@@ -11808,12 +11811,12 @@ var mn = /* @__PURE__ */ function(o) {
|
|
|
11808
11811
|
width: 6,
|
|
11809
11812
|
height: 6
|
|
11810
11813
|
};
|
|
11811
|
-
function
|
|
11812
|
-
Object.keys(
|
|
11813
|
-
o[a] === void 0 && (o[a] =
|
|
11814
|
+
function sr(o) {
|
|
11815
|
+
Object.keys(_n).map(function(a) {
|
|
11816
|
+
o[a] === void 0 && (o[a] = _n[a]);
|
|
11814
11817
|
});
|
|
11815
11818
|
}
|
|
11816
|
-
var
|
|
11819
|
+
var kn = {
|
|
11817
11820
|
_updateDotDom: function(a, r) {
|
|
11818
11821
|
if (r) {
|
|
11819
11822
|
var t = this.calcuPosition(a.time, a.duration), e = a.style || {};
|
|
@@ -11830,7 +11833,7 @@ var _n = {
|
|
|
11830
11833
|
},
|
|
11831
11834
|
createDot: function(a) {
|
|
11832
11835
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, t = this.player.plugins.progress;
|
|
11833
|
-
if (t && (r && (
|
|
11836
|
+
if (t && (r && (sr(a), this._ispots.push(a)), !(!this.ispotsInit && r))) {
|
|
11834
11837
|
var e = this.calcuPosition(a.time, a.duration), i = a.style || {};
|
|
11835
11838
|
i.left = "".concat(e.left, "%"), i.width = "".concat(e.width, "%");
|
|
11836
11839
|
var n = "xgspot_".concat(a.id, " xgplayer-spot");
|
|
@@ -11950,14 +11953,14 @@ var _n = {
|
|
|
11950
11953
|
return r.find('xg-spot[data-id="'.concat(a, '"]'));
|
|
11951
11954
|
}
|
|
11952
11955
|
};
|
|
11953
|
-
function
|
|
11956
|
+
function jl(o) {
|
|
11954
11957
|
var a = o.config, r = o.player;
|
|
11955
|
-
Object.keys(
|
|
11956
|
-
o[e] =
|
|
11958
|
+
Object.keys(kn).map(function(e) {
|
|
11959
|
+
o[e] = kn[e].bind(o);
|
|
11957
11960
|
});
|
|
11958
11961
|
var t = r.config.progressDot || a.ispots || [];
|
|
11959
11962
|
o._ispots = t.map(function(e) {
|
|
11960
|
-
return
|
|
11963
|
+
return sr(e), e;
|
|
11961
11964
|
}), o.ispotsInit = !1, o.playerSize = {
|
|
11962
11965
|
left: r.sizeInfo.left,
|
|
11963
11966
|
width: r.sizeInfo.width
|
|
@@ -11974,7 +11977,7 @@ var it = {
|
|
|
11974
11977
|
click: "onProgressClick",
|
|
11975
11978
|
mouseover: "onProgressMouseOver",
|
|
11976
11979
|
mouseenter: "onProgressMouseOver"
|
|
11977
|
-
},
|
|
11980
|
+
}, $l = /* @__PURE__ */ function(o) {
|
|
11978
11981
|
F(r, o);
|
|
11979
11982
|
var a = M(r);
|
|
11980
11983
|
function r(t) {
|
|
@@ -12025,7 +12028,7 @@ var it = {
|
|
|
12025
12028
|
n.seekTime && e.player.seek(n.seekTime);
|
|
12026
12029
|
}), this.transformTimeHook = this.hook("transformTime", function(i) {
|
|
12027
12030
|
e.setTimeContent(f.format(i));
|
|
12028
|
-
}),
|
|
12031
|
+
}), jl(this), this.on(Ue, function() {
|
|
12029
12032
|
e.show();
|
|
12030
12033
|
}), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
|
|
12031
12034
|
}
|
|
@@ -12249,7 +12252,7 @@ var it = {
|
|
|
12249
12252
|
};
|
|
12250
12253
|
}
|
|
12251
12254
|
}]), r;
|
|
12252
|
-
}(W),
|
|
12255
|
+
}(W), Wl = /* @__PURE__ */ function(o) {
|
|
12253
12256
|
F(r, o);
|
|
12254
12257
|
var a = M(r);
|
|
12255
12258
|
function r(t) {
|
|
@@ -12387,7 +12390,7 @@ var it = {
|
|
|
12387
12390
|
function ti(o) {
|
|
12388
12391
|
return o ? "background:".concat(o, ";") : "";
|
|
12389
12392
|
}
|
|
12390
|
-
var
|
|
12393
|
+
var Gl = /* @__PURE__ */ function(o) {
|
|
12391
12394
|
F(r, o);
|
|
12392
12395
|
var a = M(r);
|
|
12393
12396
|
function r() {
|
|
@@ -12475,14 +12478,14 @@ var Wl = /* @__PURE__ */ function(o) {
|
|
|
12475
12478
|
FRAME_RATE: "framerate",
|
|
12476
12479
|
POSTER: "poster"
|
|
12477
12480
|
};
|
|
12478
|
-
function
|
|
12481
|
+
function Kl() {
|
|
12479
12482
|
try {
|
|
12480
12483
|
return parseInt(window.performance.now(), 10);
|
|
12481
12484
|
} catch {
|
|
12482
12485
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
12483
12486
|
}
|
|
12484
12487
|
}
|
|
12485
|
-
function
|
|
12488
|
+
function Yl() {
|
|
12486
12489
|
try {
|
|
12487
12490
|
var o = document.createElement("canvas").getContext;
|
|
12488
12491
|
return !!o;
|
|
@@ -12490,7 +12493,7 @@ function Kl() {
|
|
|
12490
12493
|
return !1;
|
|
12491
12494
|
}
|
|
12492
12495
|
}
|
|
12493
|
-
var wt = null,
|
|
12496
|
+
var wt = null, Xl = /* @__PURE__ */ function(o) {
|
|
12494
12497
|
F(r, o);
|
|
12495
12498
|
var a = M(r);
|
|
12496
12499
|
function r() {
|
|
@@ -12511,7 +12514,7 @@ var wt = null, Yl = /* @__PURE__ */ function(o) {
|
|
|
12511
12514
|
!t.player.paused && t._checkIfCanStart() && t.start(0, l);
|
|
12512
12515
|
}
|
|
12513
12516
|
}), _(y(t), "start", function(s, l) {
|
|
12514
|
-
var u = t.player.video, c =
|
|
12517
|
+
var u = t.player.video, c = Kl(), h = t.checkVideoIsSupport(u);
|
|
12515
12518
|
!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
12519
|
}), _(y(t), "stop", function() {
|
|
12517
12520
|
t.frameId && (t._loopType === "timer" ? f.clearTimeout(y(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
|
|
@@ -12684,7 +12687,7 @@ var wt = null, Yl = /* @__PURE__ */ function(o) {
|
|
|
12684
12687
|
}, {
|
|
12685
12688
|
key: "isSupport",
|
|
12686
12689
|
get: function() {
|
|
12687
|
-
return typeof wt == "boolean" || (wt =
|
|
12690
|
+
return typeof wt == "boolean" || (wt = Yl()), wt;
|
|
12688
12691
|
}
|
|
12689
12692
|
}, {
|
|
12690
12693
|
key: "supportCanvasFilter",
|
|
@@ -12692,7 +12695,7 @@ var wt = null, Yl = /* @__PURE__ */ function(o) {
|
|
|
12692
12695
|
return !(U.browser === "safari" || U.browser === "firefox");
|
|
12693
12696
|
}
|
|
12694
12697
|
}]), r;
|
|
12695
|
-
}(W),
|
|
12698
|
+
}(W), ql = {
|
|
12696
12699
|
LANG: "zh-cn",
|
|
12697
12700
|
TEXT: {
|
|
12698
12701
|
ERROR_TYPES: {
|
|
@@ -12767,7 +12770,7 @@ var wt = null, Yl = /* @__PURE__ */ function(o) {
|
|
|
12767
12770
|
FORWARD: "快进中",
|
|
12768
12771
|
LIVE_TIP: "直播"
|
|
12769
12772
|
}
|
|
12770
|
-
}, ht = "info", ii =
|
|
12773
|
+
}, ht = "info", ii = Zn, Zl = /* @__PURE__ */ function(o) {
|
|
12771
12774
|
F(r, o);
|
|
12772
12775
|
var a = M(r);
|
|
12773
12776
|
function r() {
|
|
@@ -12911,7 +12914,7 @@ var wt = null, Yl = /* @__PURE__ */ function(o) {
|
|
|
12911
12914
|
return {};
|
|
12912
12915
|
}
|
|
12913
12916
|
}]), r;
|
|
12914
|
-
}(He),
|
|
12917
|
+
}(He), ar = /* @__PURE__ */ function(o) {
|
|
12915
12918
|
F(r, o);
|
|
12916
12919
|
var a = M(r);
|
|
12917
12920
|
function r() {
|
|
@@ -13000,8 +13003,8 @@ var wt = null, Yl = /* @__PURE__ */ function(o) {
|
|
|
13000
13003
|
}
|
|
13001
13004
|
}]), r;
|
|
13002
13005
|
}(W);
|
|
13003
|
-
|
|
13004
|
-
var
|
|
13006
|
+
ar.BROWSER_GAP_TOLERANCE = 1e-3;
|
|
13007
|
+
var Jl = /* @__PURE__ */ function(o) {
|
|
13005
13008
|
F(r, o);
|
|
13006
13009
|
var a = M(r);
|
|
13007
13010
|
function r() {
|
|
@@ -13047,7 +13050,7 @@ var Zl = /* @__PURE__ */ function(o) {
|
|
|
13047
13050
|
};
|
|
13048
13051
|
}
|
|
13049
13052
|
}]), r;
|
|
13050
|
-
}(W), rt = "cdn", bt = ["cdn"],
|
|
13053
|
+
}(W), rt = "cdn", bt = ["cdn"], Ql = /* @__PURE__ */ function(o) {
|
|
13051
13054
|
F(r, o);
|
|
13052
13055
|
var a = M(r);
|
|
13053
13056
|
function r() {
|
|
@@ -13173,7 +13176,7 @@ var Zl = /* @__PURE__ */ function(o) {
|
|
|
13173
13176
|
};
|
|
13174
13177
|
}
|
|
13175
13178
|
}]), r;
|
|
13176
|
-
}(W),
|
|
13179
|
+
}(W), eu = /* @__PURE__ */ function(o) {
|
|
13177
13180
|
F(r, o);
|
|
13178
13181
|
var a = M(r);
|
|
13179
13182
|
function r() {
|
|
@@ -13240,7 +13243,7 @@ var Zl = /* @__PURE__ */ function(o) {
|
|
|
13240
13243
|
totalVideoFrames: i,
|
|
13241
13244
|
droppedVideoFrames: n,
|
|
13242
13245
|
checkInterval: s
|
|
13243
|
-
}), this._currentStuckCount >= this.config.stuckCount && (this.emit(
|
|
13246
|
+
}), this._currentStuckCount >= this.config.stuckCount && (this.emit(Jn, this._payload), this._reset())) : this._reset());
|
|
13244
13247
|
}
|
|
13245
13248
|
}
|
|
13246
13249
|
}, {
|
|
@@ -13283,24 +13286,24 @@ var Zl = /* @__PURE__ */ function(o) {
|
|
|
13283
13286
|
}
|
|
13284
13287
|
}]), r;
|
|
13285
13288
|
}(W);
|
|
13286
|
-
at.use(
|
|
13287
|
-
var
|
|
13289
|
+
at.use(ql);
|
|
13290
|
+
var tu = /* @__PURE__ */ A(function o(a, r) {
|
|
13288
13291
|
var t, e, i;
|
|
13289
13292
|
P(this, o);
|
|
13290
|
-
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [
|
|
13291
|
-
this.plugins = [
|
|
13293
|
+
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];
|
|
13294
|
+
this.plugins = [Zl, Vo].concat(ye(u), c, [ar, Jl]);
|
|
13292
13295
|
var h = n ? "mobile" : U.device;
|
|
13293
13296
|
switch (h) {
|
|
13294
13297
|
case "pc":
|
|
13295
|
-
(t = this.plugins).push.apply(t, [
|
|
13298
|
+
(t = this.plugins).push.apply(t, [vn, Qt, yn, Ql, eu]);
|
|
13296
13299
|
break;
|
|
13297
13300
|
case "mobile":
|
|
13298
|
-
(e = this.plugins).push.apply(e, [
|
|
13301
|
+
(e = this.plugins).push.apply(e, [rl]);
|
|
13299
13302
|
break;
|
|
13300
13303
|
default:
|
|
13301
|
-
(i = this.plugins).push.apply(i, [
|
|
13304
|
+
(i = this.plugins).push.apply(i, [vn, Qt, yn]);
|
|
13302
13305
|
}
|
|
13303
|
-
(U.os.isIpad || h === "pc") && this.plugins.push(
|
|
13306
|
+
(U.os.isIpad || h === "pc") && this.plugins.push(Xl), U.os.isIpad && this.plugins.push(Qt), this.ignores = [], this.i18n = [];
|
|
13304
13307
|
}), _e = /* @__PURE__ */ function(o) {
|
|
13305
13308
|
F(r, o);
|
|
13306
13309
|
var a = M(r);
|
|
@@ -13309,17 +13312,17 @@ var eu = /* @__PURE__ */ A(function o(a, r) {
|
|
|
13309
13312
|
}
|
|
13310
13313
|
return A(r);
|
|
13311
13314
|
}(Ht);
|
|
13312
|
-
_(_e, "defaultPreset",
|
|
13315
|
+
_(_e, "defaultPreset", tu);
|
|
13313
13316
|
_(_e, "Util", f);
|
|
13314
13317
|
_(_e, "Sniffer", U);
|
|
13315
13318
|
_(_e, "Errors", Et);
|
|
13316
|
-
_(_e, "Events",
|
|
13319
|
+
_(_e, "Events", vo);
|
|
13317
13320
|
_(_e, "Plugin", W);
|
|
13318
13321
|
_(_e, "BasePlugin", He);
|
|
13319
13322
|
_(_e, "I18N", at);
|
|
13320
13323
|
_(_e, "STATE_CLASS", T);
|
|
13321
|
-
_(_e, "InstManager",
|
|
13322
|
-
const
|
|
13324
|
+
_(_e, "InstManager", ir);
|
|
13325
|
+
const iu = ["id"], nu = /* @__PURE__ */ ee({
|
|
13323
13326
|
name: "ElImageViewer",
|
|
13324
13327
|
__name: "Player",
|
|
13325
13328
|
props: /* @__PURE__ */ Tt({
|
|
@@ -13369,7 +13372,7 @@ const tu = ["id"], iu = /* @__PURE__ */ ee({
|
|
|
13369
13372
|
}, s = Z(() => ({
|
|
13370
13373
|
...n,
|
|
13371
13374
|
...t.config
|
|
13372
|
-
})), l = a, u = hi(o, "modelValue"), c =
|
|
13375
|
+
})), l = a, u = hi(o, "modelValue"), c = Sn(), h = xn("image-viewer");
|
|
13373
13376
|
function g() {
|
|
13374
13377
|
l("close"), u.value = !1, r.destroy();
|
|
13375
13378
|
}
|
|
@@ -13383,11 +13386,11 @@ const tu = ["id"], iu = /* @__PURE__ */ ee({
|
|
|
13383
13386
|
});
|
|
13384
13387
|
}), (p, d) => {
|
|
13385
13388
|
const v = Ke("el-icon");
|
|
13386
|
-
return u.value ? (k(), ve(
|
|
13389
|
+
return u.value ? (k(), ve(Tn, {
|
|
13387
13390
|
key: 0,
|
|
13388
13391
|
to: "body"
|
|
13389
13392
|
}, [
|
|
13390
|
-
$(
|
|
13393
|
+
$(En, {
|
|
13391
13394
|
name: "viewer-fade",
|
|
13392
13395
|
appear: ""
|
|
13393
13396
|
}, {
|
|
@@ -13417,7 +13420,7 @@ const tu = ["id"], iu = /* @__PURE__ */ ee({
|
|
|
13417
13420
|
class: K(x(h).e("canvas"))
|
|
13418
13421
|
},
|
|
13419
13422
|
[
|
|
13420
|
-
b("div", { id: x(c) }, null, 8,
|
|
13423
|
+
b("div", { id: x(c) }, null, 8, iu),
|
|
13421
13424
|
L(" CLOSE "),
|
|
13422
13425
|
b(
|
|
13423
13426
|
"span",
|
|
@@ -13428,7 +13431,7 @@ const tu = ["id"], iu = /* @__PURE__ */ ee({
|
|
|
13428
13431
|
[
|
|
13429
13432
|
$(v, { onClick: g }, {
|
|
13430
13433
|
default: ne(() => [
|
|
13431
|
-
$(x(
|
|
13434
|
+
$(x(In))
|
|
13432
13435
|
]),
|
|
13433
13436
|
_: 1
|
|
13434
13437
|
/* STABLE */
|
|
@@ -13454,13 +13457,13 @@ const tu = ["id"], iu = /* @__PURE__ */ ee({
|
|
|
13454
13457
|
};
|
|
13455
13458
|
}
|
|
13456
13459
|
});
|
|
13457
|
-
const
|
|
13460
|
+
const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(ru), Ii = (o) => (vr("data-v-48f27627"), o = o(), mr(), o), au = {
|
|
13458
13461
|
class: "approveProcess",
|
|
13459
13462
|
id: "approveProcess"
|
|
13460
|
-
},
|
|
13463
|
+
}, ou = ["id"], lu = { class: "topBlock" }, uu = { class: "left" }, cu = { class: "nodeBg" }, fu = ["src"], hu = { class: "right" }, du = { class: "topInfo" }, gu = { key: 0 }, pu = {
|
|
13461
13464
|
key: 0,
|
|
13462
13465
|
class: "main-text"
|
|
13463
|
-
},
|
|
13466
|
+
}, vu = { class: "name" }, mu = { key: 0 }, yu = { key: 0 }, _u = { key: 1 }, ku = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
|
|
13464
13467
|
"span",
|
|
13465
13468
|
{
|
|
13466
13469
|
class: "red",
|
|
@@ -13469,52 +13472,52 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13469
13472
|
" 退回至",
|
|
13470
13473
|
-1
|
|
13471
13474
|
/* HOISTED */
|
|
13472
|
-
)),
|
|
13475
|
+
)), Cu = { key: 0 }, wu = { key: 0 }, bu = { key: 1 }, Tu = { key: 1 }, Eu = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
|
|
13473
13476
|
"div",
|
|
13474
13477
|
{ class: "main-text" },
|
|
13475
13478
|
"抄送人员",
|
|
13476
13479
|
-1
|
|
13477
13480
|
/* HOISTED */
|
|
13478
|
-
)),
|
|
13481
|
+
)), Su = { class: "name" }, xu = { key: 0 }, Iu = { style: { color: "#000" } }, Pu = {
|
|
13479
13482
|
class: "blue",
|
|
13480
13483
|
style: { "margin-left": "5px", "font-size": "12px" }
|
|
13481
|
-
},
|
|
13484
|
+
}, Au = { key: 1 }, Lu = {
|
|
13482
13485
|
key: 0,
|
|
13483
13486
|
class: "blue",
|
|
13484
13487
|
style: { "font-size": "12px" }
|
|
13485
|
-
},
|
|
13488
|
+
}, Du = { key: 1 }, Ou = {
|
|
13486
13489
|
key: 0,
|
|
13487
13490
|
class: "blue",
|
|
13488
13491
|
style: { "font-size": "12px" }
|
|
13489
|
-
},
|
|
13492
|
+
}, Ru = {
|
|
13490
13493
|
key: 1,
|
|
13491
13494
|
class: "blue",
|
|
13492
13495
|
style: { "font-size": "12px" }
|
|
13493
|
-
},
|
|
13496
|
+
}, Fu = { class: "time" }, Mu = { key: 0 }, Nu = { key: 1 }, Bu = ["onClick"], Hu = ["onClick"], Uu = {
|
|
13494
13497
|
key: 0,
|
|
13495
13498
|
class: "opinion"
|
|
13496
|
-
},
|
|
13499
|
+
}, zu = { key: 0 }, Vu = { key: 1 }, ju = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
|
|
13497
13500
|
"span",
|
|
13498
13501
|
{ class: "ik-text-primary" },
|
|
13499
13502
|
"添加审批人",
|
|
13500
13503
|
-1
|
|
13501
13504
|
/* HOISTED */
|
|
13502
|
-
)),
|
|
13505
|
+
)), $u = { style: { color: "var(--el-text-color-primary)", "margin-left": "8px" } }, Wu = {
|
|
13503
13506
|
key: 2,
|
|
13504
13507
|
class: "annexImage"
|
|
13505
|
-
},
|
|
13508
|
+
}, Gu = {
|
|
13506
13509
|
key: 3,
|
|
13507
13510
|
class: "approveList"
|
|
13508
|
-
},
|
|
13511
|
+
}, Ku = { class: "nodeBg-list" }, Yu = ["src"], Xu = { key: 1 }, qu = {
|
|
13509
13512
|
key: 2,
|
|
13510
13513
|
class: "ikapprove ikapprove-duihao2 green read"
|
|
13511
|
-
},
|
|
13514
|
+
}, Zu = ["title"], Ju = {
|
|
13512
13515
|
key: 0,
|
|
13513
13516
|
class: "branch"
|
|
13514
|
-
},
|
|
13517
|
+
}, Qu = { class: "branch-card" }, ec = { class: "branch-name" }, tc = {
|
|
13515
13518
|
name: "IkingApprovalProcessDetail"
|
|
13516
|
-
},
|
|
13517
|
-
...
|
|
13519
|
+
}, ic = /* @__PURE__ */ ee({
|
|
13520
|
+
...tc,
|
|
13518
13521
|
props: {
|
|
13519
13522
|
// 是否本地打开
|
|
13520
13523
|
local: {
|
|
@@ -13573,7 +13576,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13573
13576
|
},
|
|
13574
13577
|
emits: ["preview"],
|
|
13575
13578
|
setup(o, { emit: a }) {
|
|
13576
|
-
const r = o, { cLoadUrl: t } = di(r), e =
|
|
13579
|
+
const r = o, { cLoadUrl: t } = di(r), e = Cn(Ws(r));
|
|
13577
13580
|
ot(
|
|
13578
13581
|
() => r.dataList,
|
|
13579
13582
|
(c) => {
|
|
@@ -13584,7 +13587,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13584
13587
|
}, 500));
|
|
13585
13588
|
},
|
|
13586
13589
|
{ deep: !0 }
|
|
13587
|
-
),
|
|
13590
|
+
), bn(() => {
|
|
13588
13591
|
r.dataList.length && (e.listData = r.dataList, setTimeout(() => {
|
|
13589
13592
|
r.returnNode.length && i();
|
|
13590
13593
|
}, 500));
|
|
@@ -13649,7 +13652,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13649
13652
|
}, u = (c) => lt(t.value, c);
|
|
13650
13653
|
return (c, h) => {
|
|
13651
13654
|
const g = Ke("el-image"), p = Ke("IkingApprovalProcessDetail");
|
|
13652
|
-
return k(), S("div",
|
|
13655
|
+
return k(), S("div", au, [
|
|
13653
13656
|
(k(!0), S(
|
|
13654
13657
|
ce,
|
|
13655
13658
|
null,
|
|
@@ -13660,9 +13663,9 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13660
13663
|
id: d[e.defaultFile.nodeId],
|
|
13661
13664
|
key: d[e.defaultFile.nodeId]
|
|
13662
13665
|
}, [
|
|
13663
|
-
b("div",
|
|
13664
|
-
b("div",
|
|
13665
|
-
b("span",
|
|
13666
|
+
b("div", lu, [
|
|
13667
|
+
b("div", uu, [
|
|
13668
|
+
b("span", cu, [
|
|
13666
13669
|
L(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
|
|
13667
13670
|
((m = d[e.defaultFile.approvePersonList]) == null ? void 0 : m.length) == 1 && d[e.defaultFile.approvePersonList][0].userAvatar ? (k(), S("img", {
|
|
13668
13671
|
key: 0,
|
|
@@ -13671,7 +13674,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13671
13674
|
d[e.defaultFile.approvePersonList][0].userAvatar
|
|
13672
13675
|
),
|
|
13673
13676
|
alt: ""
|
|
13674
|
-
}, null, 8,
|
|
13677
|
+
}, null, 8, fu)) : (k(), S(
|
|
13675
13678
|
ce,
|
|
13676
13679
|
{ key: 1 },
|
|
13677
13680
|
[
|
|
@@ -13680,7 +13683,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13680
13683
|
"i",
|
|
13681
13684
|
{
|
|
13682
13685
|
class: K(
|
|
13683
|
-
x(
|
|
13686
|
+
x(Gs)(
|
|
13684
13687
|
e,
|
|
13685
13688
|
d[e.defaultFile.nodeType],
|
|
13686
13689
|
d[e.defaultFile.approvePersonList]
|
|
@@ -13709,23 +13712,23 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13709
13712
|
)
|
|
13710
13713
|
])
|
|
13711
13714
|
]),
|
|
13712
|
-
b("div",
|
|
13713
|
-
b("div",
|
|
13715
|
+
b("div", hu, [
|
|
13716
|
+
b("div", du, [
|
|
13714
13717
|
b("div", null, [
|
|
13715
13718
|
L(" 不是抄送节点 "),
|
|
13716
|
-
e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), S("div",
|
|
13719
|
+
e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), S("div", gu, [
|
|
13717
13720
|
L(" 撤销,评论不显示节点名称 "),
|
|
13718
13721
|
d[e.defaultFile.approveStatus] != e.statusOption.撤销 && d[e.defaultFile.approveStatus] != e.statusOption.评论 && d[e.defaultFile.nodeType] !== e.nodeType.并行分支 ? (k(), S(
|
|
13719
13722
|
"div",
|
|
13720
|
-
|
|
13723
|
+
pu,
|
|
13721
13724
|
X(d[e.defaultFile.nodeTypeName]),
|
|
13722
13725
|
1
|
|
13723
13726
|
/* TEXT */
|
|
13724
13727
|
)) : L("v-if", !0),
|
|
13725
13728
|
L(" 名字+审批状态 "),
|
|
13726
|
-
b("div",
|
|
13729
|
+
b("div", vu, [
|
|
13727
13730
|
L(" 已审批节点文本 "),
|
|
13728
|
-
d[e.defaultFile.lineType] == "solid" ? (k(), S("div",
|
|
13731
|
+
d[e.defaultFile.lineType] == "solid" ? (k(), S("div", mu, [
|
|
13729
13732
|
b(
|
|
13730
13733
|
"span",
|
|
13731
13734
|
{
|
|
@@ -13740,14 +13743,14 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13740
13743
|
L(" 发起,退回不显示状态 "),
|
|
13741
13744
|
d[e.defaultFile.approveStatusName] && d[e.defaultFile.approveStatus] != e.statusOption.发起 && d[e.defaultFile.approveStatus] != e.statusOption.退回 ? (k(), S(
|
|
13742
13745
|
"span",
|
|
13743
|
-
|
|
13746
|
+
yu,
|
|
13744
13747
|
X(d[e.defaultFile.approveStatus] == e.statusOption.评论 ? " 添加了评论" : d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
|
|
13745
13748
|
1
|
|
13746
13749
|
/* TEXT */
|
|
13747
13750
|
)) : L("v-if", !0),
|
|
13748
13751
|
L(" 退回状态显示 "),
|
|
13749
|
-
d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), S("span",
|
|
13750
|
-
|
|
13752
|
+
d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), S("span", _u, [
|
|
13753
|
+
ku,
|
|
13751
13754
|
We(
|
|
13752
13755
|
" " + X(d[e.defaultFile.backToInstanceNodeName] || d[e.defaultFile.backToRecordNodeName]),
|
|
13753
13756
|
1
|
|
@@ -13760,7 +13763,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13760
13763
|
[
|
|
13761
13764
|
L(" 待审批节点 "),
|
|
13762
13765
|
b("div", null, [
|
|
13763
|
-
((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), S("span",
|
|
13766
|
+
((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), S("span", Cu, [
|
|
13764
13767
|
We(
|
|
13765
13768
|
X(d[e.defaultFile.originator]) + " ",
|
|
13766
13769
|
1
|
|
@@ -13768,14 +13771,14 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13768
13771
|
),
|
|
13769
13772
|
d[e.defaultFile.approveStatus] == e.statusOption.等待 ? (k(), S(
|
|
13770
13773
|
"span",
|
|
13771
|
-
|
|
13774
|
+
wu,
|
|
13772
13775
|
X(d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
|
|
13773
13776
|
1
|
|
13774
13777
|
/* TEXT */
|
|
13775
13778
|
)) : L("v-if", !0)
|
|
13776
13779
|
])) : d[e.defaultFile.approvePersonList] ? (k(), S(
|
|
13777
13780
|
"span",
|
|
13778
|
-
|
|
13781
|
+
bu,
|
|
13779
13782
|
X(`${(E = d[e.defaultFile.approvePersonList]) == null ? void 0 : E.length}人${d[e.defaultFile.approveTypeName]}`),
|
|
13780
13783
|
1
|
|
13781
13784
|
/* TEXT */
|
|
@@ -13786,16 +13789,16 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13786
13789
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
13787
13790
|
))
|
|
13788
13791
|
])
|
|
13789
|
-
])) : (k(), S("div",
|
|
13790
|
-
|
|
13791
|
-
b("div",
|
|
13792
|
+
])) : (k(), S("div", Tu, [
|
|
13793
|
+
Eu,
|
|
13794
|
+
b("div", Su, [
|
|
13792
13795
|
L(" 抄送一人时 "),
|
|
13793
|
-
((w = d[e.defaultFile.approvePersonList]) == null ? void 0 : w.length) == 1 ? (k(), S("span",
|
|
13796
|
+
((w = d[e.defaultFile.approvePersonList]) == null ? void 0 : w.length) == 1 ? (k(), S("span", xu, [
|
|
13794
13797
|
b("span", null, [
|
|
13795
13798
|
We("已抄送给 "),
|
|
13796
13799
|
b(
|
|
13797
13800
|
"span",
|
|
13798
|
-
|
|
13801
|
+
Iu,
|
|
13799
13802
|
X(d[e.defaultFile.approvePersonList][0].userName),
|
|
13800
13803
|
1
|
|
13801
13804
|
/* TEXT */
|
|
@@ -13803,24 +13806,24 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13803
13806
|
]),
|
|
13804
13807
|
b(
|
|
13805
13808
|
"span",
|
|
13806
|
-
|
|
13809
|
+
Pu,
|
|
13807
13810
|
X(d[e.defaultFile.approvePersonList][0].status === "END" ? "已读" : "未读"),
|
|
13808
13811
|
1
|
|
13809
13812
|
/* TEXT */
|
|
13810
13813
|
)
|
|
13811
13814
|
])) : L("v-if", !0),
|
|
13812
13815
|
L(" 抄送多人时 "),
|
|
13813
|
-
((D = d[e.defaultFile.approvePersonList]) == null ? void 0 : D.length) > 1 ? (k(), S("span",
|
|
13816
|
+
((D = d[e.defaultFile.approvePersonList]) == null ? void 0 : D.length) > 1 ? (k(), S("span", Au, [
|
|
13814
13817
|
We(
|
|
13815
13818
|
X(`已抄送${(O = d[e.defaultFile.approvePersonList]) == null ? void 0 : O.length}人`) + " ",
|
|
13816
13819
|
1
|
|
13817
13820
|
/* TEXT */
|
|
13818
13821
|
),
|
|
13819
|
-
d[e.defaultFile.allRead] ? (k(), S("span",
|
|
13820
|
-
d[e.defaultFile.read] ? L("v-if", !0) : (k(), S("span",
|
|
13822
|
+
d[e.defaultFile.allRead] ? (k(), S("span", Lu, " 全部已读 ")) : (k(), S("span", Du, [
|
|
13823
|
+
d[e.defaultFile.read] ? L("v-if", !0) : (k(), S("span", Ou, " 全部未读 ")),
|
|
13821
13824
|
d[e.defaultFile.read] ? (k(), S(
|
|
13822
13825
|
"span",
|
|
13823
|
-
|
|
13826
|
+
Ru,
|
|
13824
13827
|
X(d[e.defaultFile.read]) + "人已读 ",
|
|
13825
13828
|
1
|
|
13826
13829
|
/* TEXT */
|
|
@@ -13830,12 +13833,12 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13830
13833
|
])
|
|
13831
13834
|
]))
|
|
13832
13835
|
]),
|
|
13833
|
-
b("div",
|
|
13836
|
+
b("div", Fu, [
|
|
13834
13837
|
L(" 不是抄送节点,展示时间 "),
|
|
13835
13838
|
d[e.defaultFile.nodeType] != e.nodeType.抄送节点 && d[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (k(), S(
|
|
13836
13839
|
"span",
|
|
13837
|
-
|
|
13838
|
-
X(x(
|
|
13840
|
+
Mu,
|
|
13841
|
+
X(x(kr).toDateTime(
|
|
13839
13842
|
d[e.defaultFile.operationTime],
|
|
13840
13843
|
"MM/DD HH:mm"
|
|
13841
13844
|
)),
|
|
@@ -13843,16 +13846,16 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13843
13846
|
/* TEXT */
|
|
13844
13847
|
)) : L("v-if", !0),
|
|
13845
13848
|
L(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
|
|
13846
|
-
d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((z = d[e.defaultFile.approvePersonList]) == null ? void 0 : z.length) > 1 ? (k(), S("span",
|
|
13849
|
+
d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((z = d[e.defaultFile.approvePersonList]) == null ? void 0 : z.length) > 1 ? (k(), S("span", Nu, [
|
|
13847
13850
|
d != null && d.show ? (k(), S("i", {
|
|
13848
13851
|
key: 0,
|
|
13849
13852
|
class: "ikapprove ikapprove-a-putongjiantouzhankai",
|
|
13850
13853
|
onClick: (I) => l(d, "grid")
|
|
13851
|
-
}, null, 8,
|
|
13854
|
+
}, null, 8, Bu)) : (k(), S("i", {
|
|
13852
13855
|
key: 1,
|
|
13853
13856
|
onClick: (I) => l(d, "none"),
|
|
13854
13857
|
class: "ikapprove ikapprove-a-putongjiantoushouqi"
|
|
13855
|
-
}, null, 8,
|
|
13858
|
+
}, null, 8, Hu))
|
|
13856
13859
|
])) : L("v-if", !0)
|
|
13857
13860
|
])
|
|
13858
13861
|
])
|
|
@@ -13868,22 +13871,22 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13868
13871
|
},
|
|
13869
13872
|
[
|
|
13870
13873
|
L(" 审批意见 "),
|
|
13871
|
-
d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("div",
|
|
13874
|
+
d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("div", Uu, [
|
|
13872
13875
|
d[e.defaultFile.approveOpinion] ? (k(), S(
|
|
13873
13876
|
"span",
|
|
13874
|
-
|
|
13877
|
+
zu,
|
|
13875
13878
|
X(d[e.defaultFile.approveOpinion]),
|
|
13876
13879
|
1
|
|
13877
13880
|
/* TEXT */
|
|
13878
13881
|
)) : L("v-if", !0),
|
|
13879
|
-
d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("span",
|
|
13880
|
-
|
|
13882
|
+
d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("span", Vu, [
|
|
13883
|
+
ju,
|
|
13881
13884
|
(k(!0), S(
|
|
13882
13885
|
ce,
|
|
13883
13886
|
null,
|
|
13884
13887
|
Me(d[e.defaultFile.countersignPer], (I, ie) => (k(), S(
|
|
13885
13888
|
"span",
|
|
13886
|
-
|
|
13889
|
+
$u,
|
|
13887
13890
|
X(I == null ? void 0 : I.userName) + X(ie < d[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
|
|
13888
13891
|
1
|
|
13889
13892
|
/* TEXT */
|
|
@@ -13894,12 +13897,12 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13894
13897
|
])) : L("v-if", !0)
|
|
13895
13898
|
])) : L("v-if", !0),
|
|
13896
13899
|
L(" 附件 "),
|
|
13897
|
-
(R = d[e.defaultFile.attachment]) != null && R.length ? (k(), ve(x(
|
|
13900
|
+
(R = d[e.defaultFile.attachment]) != null && R.length ? (k(), ve(x(ta), {
|
|
13898
13901
|
key: 1,
|
|
13899
13902
|
list: d[e.defaultFile.attachment]
|
|
13900
13903
|
}, null, 8, ["list"])) : L("v-if", !0),
|
|
13901
13904
|
L(" 附件图片 "),
|
|
13902
|
-
(te = d[e.defaultFile.attachmentImg]) != null && te.length ? (k(), S("div",
|
|
13905
|
+
(te = d[e.defaultFile.attachmentImg]) != null && te.length ? (k(), S("div", Wu, [
|
|
13903
13906
|
(k(!0), S(
|
|
13904
13907
|
ce,
|
|
13905
13908
|
null,
|
|
@@ -13921,7 +13924,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13921
13924
|
))
|
|
13922
13925
|
])) : L("v-if", !0),
|
|
13923
13926
|
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",
|
|
13927
|
+
(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
13928
|
(k(!0), S(
|
|
13926
13929
|
ce,
|
|
13927
13930
|
null,
|
|
@@ -13929,25 +13932,25 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13929
13932
|
class: "perBlock",
|
|
13930
13933
|
key: I.userName
|
|
13931
13934
|
}, [
|
|
13932
|
-
b("span",
|
|
13935
|
+
b("span", Ku, [
|
|
13933
13936
|
I.userAvatar ? (k(), S("img", {
|
|
13934
13937
|
key: 0,
|
|
13935
13938
|
style: { width: "100%", height: "100%", "border-radius": "50%" },
|
|
13936
13939
|
src: u(I.userAvatar),
|
|
13937
13940
|
alt: ""
|
|
13938
|
-
}, null, 8,
|
|
13941
|
+
}, null, 8, Yu)) : (k(), S(
|
|
13939
13942
|
"span",
|
|
13940
|
-
|
|
13943
|
+
Xu,
|
|
13941
13944
|
X(I.userName.slice(-2)),
|
|
13942
13945
|
1
|
|
13943
13946
|
/* TEXT */
|
|
13944
13947
|
)),
|
|
13945
|
-
I.status === "END" ? (k(), S("i",
|
|
13948
|
+
I.status === "END" ? (k(), S("i", qu)) : L("v-if", !0)
|
|
13946
13949
|
]),
|
|
13947
13950
|
b("div", {
|
|
13948
13951
|
class: "main-text",
|
|
13949
13952
|
title: I.userName
|
|
13950
|
-
}, X(I.userName), 9,
|
|
13953
|
+
}, X(I.userName), 9, Zu)
|
|
13951
13954
|
]))),
|
|
13952
13955
|
128
|
|
13953
13956
|
/* KEYED_FRAGMENT */
|
|
@@ -13957,19 +13960,19 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13957
13960
|
4
|
|
13958
13961
|
/* STYLE */
|
|
13959
13962
|
),
|
|
13960
|
-
d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), S("div",
|
|
13963
|
+
d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), S("div", Ju, [
|
|
13961
13964
|
(k(!0), S(
|
|
13962
13965
|
ce,
|
|
13963
13966
|
null,
|
|
13964
|
-
Me(d[e.defaultFile.parallelInstances], (I) => (k(), S("div",
|
|
13967
|
+
Me(d[e.defaultFile.parallelInstances], (I) => (k(), S("div", Qu, [
|
|
13965
13968
|
b(
|
|
13966
13969
|
"div",
|
|
13967
|
-
|
|
13970
|
+
ec,
|
|
13968
13971
|
X(I.name),
|
|
13969
13972
|
1
|
|
13970
13973
|
/* TEXT */
|
|
13971
13974
|
),
|
|
13972
|
-
$(p,
|
|
13975
|
+
$(p, wn({ ref_for: !0 }, r, {
|
|
13973
13976
|
"data-list": (I == null ? void 0 : I.processInstanceNodes) || []
|
|
13974
13977
|
}), null, 16, ["data-list"])
|
|
13975
13978
|
]))),
|
|
@@ -13977,7 +13980,7 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13977
13980
|
/* UNKEYED_FRAGMENT */
|
|
13978
13981
|
))
|
|
13979
13982
|
])) : L("v-if", !0)
|
|
13980
|
-
], 8,
|
|
13983
|
+
], 8, ou);
|
|
13981
13984
|
}),
|
|
13982
13985
|
128
|
|
13983
13986
|
/* KEYED_FRAGMENT */
|
|
@@ -13986,8 +13989,8 @@ const nu = /* @__PURE__ */ vt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
|
|
|
13986
13989
|
};
|
|
13987
13990
|
}
|
|
13988
13991
|
});
|
|
13989
|
-
const
|
|
13992
|
+
const nc = /* @__PURE__ */ vt(ic, [["__scopeId", "data-v-48f27627"]]), oc = Ae(nc);
|
|
13990
13993
|
export {
|
|
13991
|
-
|
|
13992
|
-
|
|
13994
|
+
oc as IKApprovalProcessDetail,
|
|
13995
|
+
oc as default
|
|
13993
13996
|
};
|