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 Z, computed as Y, openBlock as E, createElementBlock as P, createElementVNode as T, inject as lt, ref as se, resolveComponent as rt, Fragment as Ee, renderList as ft, normalizeStyle as oe, toDisplayString as Ne, normalizeClass as K, createVNode as j, unref as S, withModifiers as ti, createBlock as pe, createCommentVNode as ee, renderSlot as Fe, withCtx as Q, mergeModels as wt, useModel as fi, reactive as
|
|
2
|
-
import { paramType as ni, ikFile as
|
|
3
|
-
import { useLocale as
|
|
1
|
+
import { defineComponent as Z, computed as Y, openBlock as E, createElementBlock as P, createElementVNode as T, inject as lt, ref as se, resolveComponent as rt, Fragment as Ee, renderList as ft, normalizeStyle as oe, toDisplayString as Ne, normalizeClass as K, createVNode as j, unref as S, withModifiers as ti, createBlock as pe, createCommentVNode as ee, renderSlot as Fe, withCtx as Q, mergeModels as wt, useModel as fi, reactive as nr, watch as st, nextTick as hi, createTextVNode as ii, h as rr, mergeProps as sr, createSlots as or, getCurrentScope as ar, onScopeDispose as lr, markRaw as Oi, effectScope as ur, shallowRef as cr, onMounted as fr, Teleport as _n, Transition as kn, resolveDynamicComponent as hr, withDirectives as dr, vShow as gr, pushScopeId as pr, popScopeId as vr } from "vue";
|
|
2
|
+
import { paramType as ni, ikFile as mr, buildUUID as Cn, ikColor as yr, _ as Ut, ikUrl as _r } from "iking-utils-pro";
|
|
3
|
+
import { useLocale as kr, useNamespace as wn, useZIndex as Cr, ElIcon as Ae, EVENT_CODE as Xe } from "element-plus";
|
|
4
4
|
const Pe = (a, o) => {
|
|
5
5
|
if (a.install = (r) => {
|
|
6
6
|
for (const t of [a, ...Object.values(o ?? {})])
|
|
@@ -31,7 +31,7 @@ const Pe = (a, o) => {
|
|
|
31
31
|
if (typeof t == "string" && (t.includes(u) || t === u))
|
|
32
32
|
return e[u];
|
|
33
33
|
return "unknown";
|
|
34
|
-
},
|
|
34
|
+
}, wr = {
|
|
35
35
|
".doc": "word",
|
|
36
36
|
".docx": "word",
|
|
37
37
|
".docxf": "word",
|
|
@@ -118,11 +118,11 @@ const Pe = (a, o) => {
|
|
|
118
118
|
".pdf": "pdf"
|
|
119
119
|
}, Ri = (a) => {
|
|
120
120
|
const o = a == null ? void 0 : a.toLocaleLowerCase(), r = o != null && o.startsWith(".") ? o : `.${o}`;
|
|
121
|
-
return r &&
|
|
122
|
-
},
|
|
121
|
+
return r && wr[r] || "unknow";
|
|
122
|
+
}, br = (a) => {
|
|
123
123
|
let o = "", r = ["doc", "docx"], t = ["xls", "xlsx"], e = ["ppt", "pptx"], i = ["pdf"];
|
|
124
124
|
return r.includes(a) && (o = "word"), t.includes(a) && (o = "cell"), e.includes(a) && (o = "slide"), i.includes(a) && (o = "text-pdf"), o;
|
|
125
|
-
},
|
|
125
|
+
}, Tr = {
|
|
126
126
|
key: 0,
|
|
127
127
|
t: "1686300059786",
|
|
128
128
|
class: "icon",
|
|
@@ -132,7 +132,7 @@ const Pe = (a, o) => {
|
|
|
132
132
|
"p-id": "7671",
|
|
133
133
|
width: "200",
|
|
134
134
|
height: "200"
|
|
135
|
-
},
|
|
135
|
+
}, Er = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
142
142
|
null,
|
|
143
143
|
-1
|
|
144
144
|
/* HOISTED */
|
|
145
|
-
),
|
|
145
|
+
), Sr = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
152
152
|
null,
|
|
153
153
|
-1
|
|
154
154
|
/* HOISTED */
|
|
155
|
-
),
|
|
155
|
+
), xr = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
162
162
|
null,
|
|
163
163
|
-1
|
|
164
164
|
/* HOISTED */
|
|
165
|
-
),
|
|
165
|
+
), Ir = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
172
172
|
null,
|
|
173
173
|
-1
|
|
174
174
|
/* HOISTED */
|
|
175
|
-
),
|
|
176
|
-
Tr,
|
|
175
|
+
), Pr = [
|
|
177
176
|
Er,
|
|
178
177
|
Sr,
|
|
179
|
-
xr
|
|
180
|
-
|
|
178
|
+
xr,
|
|
179
|
+
Ir
|
|
180
|
+
], Lr = {
|
|
181
181
|
key: 1,
|
|
182
182
|
t: "1686301531714",
|
|
183
183
|
class: "icon",
|
|
@@ -187,7 +187,7 @@ const Pe = (a, o) => {
|
|
|
187
187
|
"p-id": "9067",
|
|
188
188
|
width: "200",
|
|
189
189
|
height: "200"
|
|
190
|
-
},
|
|
190
|
+
}, Ar = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
197
197
|
null,
|
|
198
198
|
-1
|
|
199
199
|
/* HOISTED */
|
|
200
|
-
),
|
|
200
|
+
), Dr = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
207
207
|
null,
|
|
208
208
|
-1
|
|
209
209
|
/* HOISTED */
|
|
210
|
-
),
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
],
|
|
210
|
+
), Or = [
|
|
211
|
+
Ar,
|
|
212
|
+
Dr
|
|
213
|
+
], Rr = {
|
|
214
214
|
key: 2,
|
|
215
215
|
t: "1686300141125",
|
|
216
216
|
class: "icon",
|
|
@@ -220,7 +220,7 @@ const Pe = (a, o) => {
|
|
|
220
220
|
"p-id": "8137",
|
|
221
221
|
width: "200",
|
|
222
222
|
height: "200"
|
|
223
|
-
},
|
|
223
|
+
}, Fr = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
230
230
|
null,
|
|
231
231
|
-1
|
|
232
232
|
/* HOISTED */
|
|
233
|
-
),
|
|
233
|
+
), Mr = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
240
240
|
null,
|
|
241
241
|
-1
|
|
242
242
|
/* HOISTED */
|
|
243
|
-
),
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
],
|
|
243
|
+
), Nr = [
|
|
244
|
+
Fr,
|
|
245
|
+
Mr
|
|
246
|
+
], Br = {
|
|
247
247
|
key: 3,
|
|
248
248
|
t: "1686300157181",
|
|
249
249
|
class: "icon",
|
|
@@ -253,7 +253,7 @@ const Pe = (a, o) => {
|
|
|
253
253
|
"p-id": "8292",
|
|
254
254
|
width: "200",
|
|
255
255
|
height: "200"
|
|
256
|
-
},
|
|
256
|
+
}, Hr = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
263
263
|
null,
|
|
264
264
|
-1
|
|
265
265
|
/* HOISTED */
|
|
266
|
-
),
|
|
266
|
+
), Ur = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
273
273
|
null,
|
|
274
274
|
-1
|
|
275
275
|
/* HOISTED */
|
|
276
|
-
),
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
],
|
|
276
|
+
), zr = [
|
|
277
|
+
Hr,
|
|
278
|
+
Ur
|
|
279
|
+
], Vr = {
|
|
280
280
|
key: 4,
|
|
281
281
|
t: "1686300180947",
|
|
282
282
|
class: "icon",
|
|
@@ -286,7 +286,7 @@ const Pe = (a, o) => {
|
|
|
286
286
|
"p-id": "8447",
|
|
287
287
|
width: "200",
|
|
288
288
|
height: "200"
|
|
289
|
-
},
|
|
289
|
+
}, jr = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
296
296
|
null,
|
|
297
297
|
-1
|
|
298
298
|
/* HOISTED */
|
|
299
|
-
),
|
|
299
|
+
), Wr = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
306
306
|
null,
|
|
307
307
|
-1
|
|
308
308
|
/* HOISTED */
|
|
309
|
-
),
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
],
|
|
309
|
+
), Gr = [
|
|
310
|
+
jr,
|
|
311
|
+
Wr
|
|
312
|
+
], $r = {
|
|
313
313
|
key: 5,
|
|
314
314
|
t: "1686300195363",
|
|
315
315
|
class: "icon",
|
|
@@ -319,7 +319,7 @@ const Pe = (a, o) => {
|
|
|
319
319
|
"p-id": "8602",
|
|
320
320
|
width: "200",
|
|
321
321
|
height: "200"
|
|
322
|
-
},
|
|
322
|
+
}, Kr = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
329
329
|
null,
|
|
330
330
|
-1
|
|
331
331
|
/* HOISTED */
|
|
332
|
-
),
|
|
332
|
+
), Yr = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
339
339
|
null,
|
|
340
340
|
-1
|
|
341
341
|
/* HOISTED */
|
|
342
|
-
),
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
],
|
|
342
|
+
), Xr = [
|
|
343
|
+
Kr,
|
|
344
|
+
Yr
|
|
345
|
+
], qr = {
|
|
346
346
|
key: 6,
|
|
347
347
|
t: "1686300209288",
|
|
348
348
|
class: "icon",
|
|
@@ -352,7 +352,7 @@ const Pe = (a, o) => {
|
|
|
352
352
|
"p-id": "8757",
|
|
353
353
|
width: "200",
|
|
354
354
|
height: "200"
|
|
355
|
-
},
|
|
355
|
+
}, Zr = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
362
362
|
null,
|
|
363
363
|
-1
|
|
364
364
|
/* HOISTED */
|
|
365
|
-
),
|
|
365
|
+
), Jr = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
372
372
|
null,
|
|
373
373
|
-1
|
|
374
374
|
/* HOISTED */
|
|
375
|
-
),
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
],
|
|
375
|
+
), Qr = [
|
|
376
|
+
Zr,
|
|
377
|
+
Jr
|
|
378
|
+
], es = {
|
|
379
379
|
key: 7,
|
|
380
380
|
t: "1686300225262",
|
|
381
381
|
class: "icon",
|
|
@@ -385,7 +385,7 @@ const Pe = (a, o) => {
|
|
|
385
385
|
"p-id": "8912",
|
|
386
386
|
width: "200",
|
|
387
387
|
height: "200"
|
|
388
|
-
},
|
|
388
|
+
}, ts = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
395
395
|
null,
|
|
396
396
|
-1
|
|
397
397
|
/* HOISTED */
|
|
398
|
-
),
|
|
398
|
+
), is = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
405
405
|
null,
|
|
406
406
|
-1
|
|
407
407
|
/* HOISTED */
|
|
408
|
-
),
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
],
|
|
408
|
+
), ns = [
|
|
409
|
+
ts,
|
|
410
|
+
is
|
|
411
|
+
], rs = {
|
|
412
412
|
key: 8,
|
|
413
413
|
t: "1692251753690",
|
|
414
414
|
class: "icon",
|
|
@@ -418,7 +418,7 @@ const Pe = (a, o) => {
|
|
|
418
418
|
"p-id": "4336",
|
|
419
419
|
width: "200",
|
|
420
420
|
height: "200"
|
|
421
|
-
},
|
|
421
|
+
}, ss = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
428
428
|
null,
|
|
429
429
|
-1
|
|
430
430
|
/* HOISTED */
|
|
431
|
-
),
|
|
431
|
+
), os = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
439
439
|
null,
|
|
440
440
|
-1
|
|
441
441
|
/* HOISTED */
|
|
442
|
-
),
|
|
442
|
+
), as = /* @__PURE__ */ T(
|
|
443
443
|
"path",
|
|
444
444
|
{
|
|
445
445
|
d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
|
|
@@ -449,11 +449,11 @@ const Pe = (a, o) => {
|
|
|
449
449
|
null,
|
|
450
450
|
-1
|
|
451
451
|
/* HOISTED */
|
|
452
|
-
),
|
|
453
|
-
rs,
|
|
452
|
+
), ls = [
|
|
454
453
|
ss,
|
|
455
|
-
os
|
|
456
|
-
|
|
454
|
+
os,
|
|
455
|
+
as
|
|
456
|
+
], us = {
|
|
457
457
|
key: 9,
|
|
458
458
|
t: "1692251753690",
|
|
459
459
|
class: "icon",
|
|
@@ -463,7 +463,7 @@ const Pe = (a, o) => {
|
|
|
463
463
|
"p-id": "4336",
|
|
464
464
|
width: "200",
|
|
465
465
|
height: "200"
|
|
466
|
-
},
|
|
466
|
+
}, cs = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
473
473
|
null,
|
|
474
474
|
-1
|
|
475
475
|
/* HOISTED */
|
|
476
|
-
),
|
|
476
|
+
), fs = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
483
483
|
null,
|
|
484
484
|
-1
|
|
485
485
|
/* HOISTED */
|
|
486
|
-
),
|
|
486
|
+
), hs = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
494
494
|
null,
|
|
495
495
|
-1
|
|
496
496
|
/* HOISTED */
|
|
497
|
-
),
|
|
497
|
+
), ds = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
504
504
|
null,
|
|
505
505
|
-1
|
|
506
506
|
/* HOISTED */
|
|
507
|
-
),
|
|
508
|
-
us,
|
|
507
|
+
), gs = [
|
|
509
508
|
cs,
|
|
510
509
|
fs,
|
|
511
|
-
hs
|
|
512
|
-
|
|
510
|
+
hs,
|
|
511
|
+
ds
|
|
512
|
+
], ps = {
|
|
513
513
|
key: 10,
|
|
514
514
|
t: "1714099890925",
|
|
515
515
|
class: "icon",
|
|
@@ -519,7 +519,7 @@ const Pe = (a, o) => {
|
|
|
519
519
|
"p-id": "2271",
|
|
520
520
|
width: "200",
|
|
521
521
|
height: "200"
|
|
522
|
-
},
|
|
522
|
+
}, vs = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
529
529
|
null,
|
|
530
530
|
-1
|
|
531
531
|
/* HOISTED */
|
|
532
|
-
),
|
|
532
|
+
), ms = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
540
540
|
null,
|
|
541
541
|
-1
|
|
542
542
|
/* HOISTED */
|
|
543
|
-
),
|
|
543
|
+
), ys = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
550
550
|
null,
|
|
551
551
|
-1
|
|
552
552
|
/* HOISTED */
|
|
553
|
-
),
|
|
554
|
-
ps,
|
|
553
|
+
), _s = [
|
|
555
554
|
vs,
|
|
556
|
-
ms
|
|
557
|
-
|
|
555
|
+
ms,
|
|
556
|
+
ys
|
|
557
|
+
], ks = {
|
|
558
558
|
key: 11,
|
|
559
559
|
t: "1686300037564",
|
|
560
560
|
class: "icon",
|
|
@@ -564,7 +564,7 @@ const Pe = (a, o) => {
|
|
|
564
564
|
"p-id": "7515",
|
|
565
565
|
width: "200",
|
|
566
566
|
height: "200"
|
|
567
|
-
},
|
|
567
|
+
}, Cs = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
574
574
|
null,
|
|
575
575
|
-1
|
|
576
576
|
/* HOISTED */
|
|
577
|
-
),
|
|
577
|
+
), ws = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
584
584
|
null,
|
|
585
585
|
-1
|
|
586
586
|
/* HOISTED */
|
|
587
|
-
),
|
|
587
|
+
), bs = /* @__PURE__ */ T(
|
|
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 Pe = (a, o) => {
|
|
|
594
594
|
null,
|
|
595
595
|
-1
|
|
596
596
|
/* HOISTED */
|
|
597
|
-
),
|
|
598
|
-
ks,
|
|
597
|
+
), Ts = [
|
|
599
598
|
Cs,
|
|
600
|
-
ws
|
|
601
|
-
|
|
599
|
+
ws,
|
|
600
|
+
bs
|
|
601
|
+
], Es = /* @__PURE__ */ Z({
|
|
602
602
|
__name: "IkFileIcon",
|
|
603
603
|
props: {
|
|
604
604
|
type: {
|
|
@@ -620,11 +620,11 @@ const Pe = (a, o) => {
|
|
|
620
620
|
},
|
|
621
621
|
setup(a) {
|
|
622
622
|
const o = a, r = Y(() => o.file ? ri(o.file, o.fields) : o.type);
|
|
623
|
-
return (t, e) => r.value === "image" ? (E(), P("svg",
|
|
623
|
+
return (t, e) => r.value === "image" ? (E(), P("svg", Tr, Pr)) : r.value === "zip" ? (E(), P("svg", Lr, Or)) : r.value === "ppt" ? (E(), P("svg", Rr, Nr)) : r.value === "word" ? (E(), P("svg", Br, zr)) : r.value === "pdf" ? (E(), P("svg", Vr, Gr)) : r.value === "txt" ? (E(), P("svg", $r, Xr)) : r.value === "audio" ? (E(), P("svg", qr, Qr)) : r.value === "video" ? (E(), P("svg", es, ns)) : r.value === "excel" ? (E(), P("svg", rs, ls)) : r.value === "exe" ? (E(), P("svg", us, gs)) : r.value === "json" ? (E(), P("svg", ps, _s)) : (E(), P("svg", ks, Ts));
|
|
624
624
|
}
|
|
625
|
-
}),
|
|
625
|
+
}), Ss = Pe(Es);
|
|
626
626
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
627
|
-
var
|
|
627
|
+
var xs = /* @__PURE__ */ Z({
|
|
628
628
|
name: "ArrowLeft",
|
|
629
629
|
__name: "arrow-left",
|
|
630
630
|
setup(a) {
|
|
@@ -638,7 +638,7 @@ var Ss = /* @__PURE__ */ Z({
|
|
|
638
638
|
})
|
|
639
639
|
]));
|
|
640
640
|
}
|
|
641
|
-
}),
|
|
641
|
+
}), Is = xs, Ps = /* @__PURE__ */ Z({
|
|
642
642
|
name: "ArrowRight",
|
|
643
643
|
__name: "arrow-right",
|
|
644
644
|
setup(a) {
|
|
@@ -652,7 +652,7 @@ var Ss = /* @__PURE__ */ Z({
|
|
|
652
652
|
})
|
|
653
653
|
]));
|
|
654
654
|
}
|
|
655
|
-
}),
|
|
655
|
+
}), Ls = Ps, As = /* @__PURE__ */ Z({
|
|
656
656
|
name: "Close",
|
|
657
657
|
__name: "close",
|
|
658
658
|
setup(a) {
|
|
@@ -666,7 +666,7 @@ var Ss = /* @__PURE__ */ Z({
|
|
|
666
666
|
})
|
|
667
667
|
]));
|
|
668
668
|
}
|
|
669
|
-
}),
|
|
669
|
+
}), bn = As, Ds = /* @__PURE__ */ Z({
|
|
670
670
|
name: "FullScreen",
|
|
671
671
|
__name: "full-screen",
|
|
672
672
|
setup(a) {
|
|
@@ -680,7 +680,7 @@ var Ss = /* @__PURE__ */ Z({
|
|
|
680
680
|
})
|
|
681
681
|
]));
|
|
682
682
|
}
|
|
683
|
-
}),
|
|
683
|
+
}), Os = Ds, Rs = /* @__PURE__ */ Z({
|
|
684
684
|
name: "RefreshLeft",
|
|
685
685
|
__name: "refresh-left",
|
|
686
686
|
setup(a) {
|
|
@@ -694,7 +694,7 @@ var Ss = /* @__PURE__ */ Z({
|
|
|
694
694
|
})
|
|
695
695
|
]));
|
|
696
696
|
}
|
|
697
|
-
}),
|
|
697
|
+
}), Fs = Rs, Ms = /* @__PURE__ */ Z({
|
|
698
698
|
name: "RefreshRight",
|
|
699
699
|
__name: "refresh-right",
|
|
700
700
|
setup(a) {
|
|
@@ -708,7 +708,7 @@ var Ss = /* @__PURE__ */ Z({
|
|
|
708
708
|
})
|
|
709
709
|
]));
|
|
710
710
|
}
|
|
711
|
-
}),
|
|
711
|
+
}), Ns = Ms, Bs = /* @__PURE__ */ Z({
|
|
712
712
|
name: "ScaleToOriginal",
|
|
713
713
|
__name: "scale-to-original",
|
|
714
714
|
setup(a) {
|
|
@@ -722,7 +722,7 @@ var Ss = /* @__PURE__ */ Z({
|
|
|
722
722
|
})
|
|
723
723
|
]));
|
|
724
724
|
}
|
|
725
|
-
}),
|
|
725
|
+
}), Hs = Bs, Us = /* @__PURE__ */ Z({
|
|
726
726
|
name: "ZoomIn",
|
|
727
727
|
__name: "zoom-in",
|
|
728
728
|
setup(a) {
|
|
@@ -736,7 +736,7 @@ var Ss = /* @__PURE__ */ Z({
|
|
|
736
736
|
})
|
|
737
737
|
]));
|
|
738
738
|
}
|
|
739
|
-
}),
|
|
739
|
+
}), zs = Us, Vs = /* @__PURE__ */ Z({
|
|
740
740
|
name: "ZoomOut",
|
|
741
741
|
__name: "zoom-out",
|
|
742
742
|
setup(a) {
|
|
@@ -750,13 +750,13 @@ var Ss = /* @__PURE__ */ Z({
|
|
|
750
750
|
})
|
|
751
751
|
]));
|
|
752
752
|
}
|
|
753
|
-
}),
|
|
753
|
+
}), js = Vs;
|
|
754
754
|
const gt = (a, o) => {
|
|
755
755
|
const r = a.__vccOpts || a;
|
|
756
756
|
for (const [t, e] of o)
|
|
757
757
|
r[t] = e;
|
|
758
758
|
return r;
|
|
759
|
-
},
|
|
759
|
+
}, Ws = (a, o = 2) => {
|
|
760
760
|
if (a === void 0)
|
|
761
761
|
return "";
|
|
762
762
|
if (a === 0)
|
|
@@ -765,69 +765,72 @@ const gt = (a, o) => {
|
|
|
765
765
|
let e = a / Math.pow(1024, t);
|
|
766
766
|
return (e % 1 === 0 ? e.toFixed(o || 0) : e.toFixed(o)) + " " + r[t];
|
|
767
767
|
}, ht = (a, o) => o ? o.startsWith("http") ? o : `${a || location.origin}${o}` : "";
|
|
768
|
-
const
|
|
769
|
-
|
|
768
|
+
const Fi = [
|
|
769
|
+
"csv",
|
|
770
|
+
"djvu",
|
|
771
|
+
"doc",
|
|
772
|
+
"docm",
|
|
773
|
+
"docx",
|
|
774
|
+
"docxf",
|
|
775
|
+
"dot",
|
|
776
|
+
"dotm",
|
|
777
|
+
"dotx",
|
|
778
|
+
"epub",
|
|
779
|
+
"fb2",
|
|
780
|
+
"fodp",
|
|
781
|
+
"fods",
|
|
782
|
+
"fodt",
|
|
783
|
+
"htm",
|
|
784
|
+
"html",
|
|
785
|
+
"mht",
|
|
786
|
+
"odp",
|
|
787
|
+
"ods",
|
|
788
|
+
"odt",
|
|
789
|
+
"oform",
|
|
790
|
+
"otp",
|
|
791
|
+
"ots",
|
|
792
|
+
"ott",
|
|
793
|
+
"oxps",
|
|
794
|
+
"pdf",
|
|
795
|
+
"pot",
|
|
796
|
+
"potm",
|
|
797
|
+
"potx",
|
|
798
|
+
"pps",
|
|
799
|
+
"ppsm",
|
|
800
|
+
"ppsx",
|
|
801
|
+
"ppt",
|
|
802
|
+
"pptm",
|
|
803
|
+
"pptx",
|
|
804
|
+
"rtf",
|
|
805
|
+
"txt",
|
|
806
|
+
"xls",
|
|
807
|
+
"xlsb",
|
|
808
|
+
"xlsm",
|
|
809
|
+
"xlsx",
|
|
810
|
+
"xlt",
|
|
811
|
+
"xltm",
|
|
812
|
+
"xltx",
|
|
813
|
+
"xml",
|
|
814
|
+
"xps",
|
|
815
|
+
"png",
|
|
816
|
+
"jpeg",
|
|
817
|
+
"jpg",
|
|
818
|
+
"webp",
|
|
819
|
+
"video",
|
|
820
|
+
"mp4",
|
|
821
|
+
"flv",
|
|
822
|
+
"tls"
|
|
823
|
+
], Gs = (a) => {
|
|
824
|
+
const o = lt("loadUrl"), r = Y(() => a.loadUrl || a.fileUrl || (o == null ? void 0 : o.value)), t = lt("uploadUrl"), e = Y(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = lt("token"), n = Y(() => a.token || (i == null ? void 0 : i.value)), s = lt("onlyofficeConfig"), l = Y(() => a.onlyofficeConfig || (s == null ? void 0 : s.value)), u = lt("userInfo"), c = Y(() => a.userInfo || (u == null ? void 0 : u.value)), h = [...Fi, ...Fi.map((d) => d.toLocaleUpperCase())];
|
|
770
825
|
return {
|
|
771
826
|
cLoadUrl: r,
|
|
772
827
|
cUploadUrl: e,
|
|
773
828
|
cToken: n,
|
|
774
829
|
cOnlyofficeConfig: l,
|
|
775
830
|
cUserInfo: c,
|
|
776
|
-
cOnlyofficePreviewType:
|
|
777
|
-
"csv",
|
|
778
|
-
"djvu",
|
|
779
|
-
"doc",
|
|
780
|
-
"docm",
|
|
781
|
-
"docx",
|
|
782
|
-
"docxf",
|
|
783
|
-
"dot",
|
|
784
|
-
"dotm",
|
|
785
|
-
"dotx",
|
|
786
|
-
"epub",
|
|
787
|
-
"fb2",
|
|
788
|
-
"fodp",
|
|
789
|
-
"fods",
|
|
790
|
-
"fodt",
|
|
791
|
-
"htm",
|
|
792
|
-
"html",
|
|
793
|
-
"mht",
|
|
794
|
-
"odp",
|
|
795
|
-
"ods",
|
|
796
|
-
"odt",
|
|
797
|
-
"oform",
|
|
798
|
-
"otp",
|
|
799
|
-
"ots",
|
|
800
|
-
"ott",
|
|
801
|
-
"oxps",
|
|
802
|
-
"pdf",
|
|
803
|
-
"pot",
|
|
804
|
-
"potm",
|
|
805
|
-
"potx",
|
|
806
|
-
"pps",
|
|
807
|
-
"ppsm",
|
|
808
|
-
"ppsx",
|
|
809
|
-
"ppt",
|
|
810
|
-
"pptm",
|
|
811
|
-
"pptx",
|
|
812
|
-
"rtf",
|
|
813
|
-
"txt",
|
|
814
|
-
"xls",
|
|
815
|
-
"xlsb",
|
|
816
|
-
"xlsm",
|
|
817
|
-
"xlsx",
|
|
818
|
-
"xlt",
|
|
819
|
-
"xltm",
|
|
820
|
-
"xltx",
|
|
821
|
-
"xml",
|
|
822
|
-
"xps",
|
|
823
|
-
"png",
|
|
824
|
-
"jpeg",
|
|
825
|
-
"jpg",
|
|
826
|
-
"video",
|
|
827
|
-
"mp4"
|
|
828
|
-
]
|
|
831
|
+
cOnlyofficePreviewType: h
|
|
829
832
|
};
|
|
830
|
-
},
|
|
833
|
+
}, Tn = Gs, $s = ["onClick"], Ks = { class: "fileName simple" }, Ys = ["onClick"], Xs = { class: "text" }, qs = { class: "fileName" }, Zs = { class: "size" }, Js = /* @__PURE__ */ Z({
|
|
831
834
|
__name: "IkPreviewFile",
|
|
832
835
|
props: {
|
|
833
836
|
list: {
|
|
@@ -903,7 +906,7 @@ const Ws = (a) => {
|
|
|
903
906
|
},
|
|
904
907
|
emits: ["handPreview"],
|
|
905
908
|
setup(a, { emit: o }) {
|
|
906
|
-
const r = a, { cLoadUrl: t, cOnlyofficeConfig: e, cOnlyofficePreviewType: i } =
|
|
909
|
+
const r = a, { cLoadUrl: t, cOnlyofficeConfig: e, cOnlyofficePreviewType: i } = Tn(r), n = o, s = Y(() => ({
|
|
907
910
|
name: "name",
|
|
908
911
|
url: "url",
|
|
909
912
|
suffix: "suffix",
|
|
@@ -916,11 +919,11 @@ const Ws = (a) => {
|
|
|
916
919
|
name: g.name,
|
|
917
920
|
url: ht(
|
|
918
921
|
t.value,
|
|
919
|
-
g.url || ((y = (m = g == null ? void 0 : g.response) == null ? void 0 : m.data) == null ? void 0 : y.id) || (g == null ? void 0 : g.id)
|
|
922
|
+
(g == null ? void 0 : g.url) || ((y = (m = g == null ? void 0 : g.response) == null ? void 0 : m.data) == null ? void 0 : y.id) || (g == null ? void 0 : g.id)
|
|
920
923
|
)
|
|
921
924
|
}, r.isOnlyOfficePreview && (u.value = !0), n("handPreview", l.value);
|
|
922
925
|
}, h = (g) => {
|
|
923
|
-
|
|
926
|
+
mr.downloadFile(
|
|
924
927
|
ht(
|
|
925
928
|
t.value,
|
|
926
929
|
g[s.value.url] || g.attachmentId || g.id
|
|
@@ -954,7 +957,7 @@ const Ws = (a) => {
|
|
|
954
957
|
}, [
|
|
955
958
|
T(
|
|
956
959
|
"div",
|
|
957
|
-
|
|
960
|
+
Ks,
|
|
958
961
|
Ne(L.name),
|
|
959
962
|
1
|
|
960
963
|
/* TEXT */
|
|
@@ -984,7 +987,7 @@ const Ws = (a) => {
|
|
|
984
987
|
2
|
|
985
988
|
/* CLASS */
|
|
986
989
|
)
|
|
987
|
-
], 12,
|
|
990
|
+
], 12, $s))),
|
|
988
991
|
256
|
|
989
992
|
/* UNKEYED_FRAGMENT */
|
|
990
993
|
)) : (E(), pe(y, { key: 1 }, {
|
|
@@ -1009,24 +1012,24 @@ const Ws = (a) => {
|
|
|
1009
1012
|
class: "file-card",
|
|
1010
1013
|
onClick: (R) => c(L)
|
|
1011
1014
|
}, [
|
|
1012
|
-
j(S(
|
|
1015
|
+
j(S(Ss), {
|
|
1013
1016
|
file: L,
|
|
1014
1017
|
style: oe({ height: `${a.iconSize}px` }),
|
|
1015
1018
|
class: "ikui-w-auto",
|
|
1016
1019
|
fields: s.value
|
|
1017
1020
|
}, null, 8, ["file", "style", "fields"]),
|
|
1018
|
-
T("div",
|
|
1021
|
+
T("div", Xs, [
|
|
1019
1022
|
T(
|
|
1020
1023
|
"div",
|
|
1021
|
-
|
|
1024
|
+
qs,
|
|
1022
1025
|
Ne(L.name),
|
|
1023
1026
|
1
|
|
1024
1027
|
/* TEXT */
|
|
1025
1028
|
),
|
|
1026
1029
|
T(
|
|
1027
1030
|
"div",
|
|
1028
|
-
|
|
1029
|
-
Ne(S(
|
|
1031
|
+
Zs,
|
|
1032
|
+
Ne(S(Ws)(L.size)),
|
|
1030
1033
|
1
|
|
1031
1034
|
/* TEXT */
|
|
1032
1035
|
)
|
|
@@ -1058,7 +1061,7 @@ const Ws = (a) => {
|
|
|
1058
1061
|
2
|
|
1059
1062
|
/* CLASS */
|
|
1060
1063
|
)
|
|
1061
|
-
], 8,
|
|
1064
|
+
], 8, Ys)
|
|
1062
1065
|
],
|
|
1063
1066
|
6
|
|
1064
1067
|
/* CLASS, STYLE */
|
|
@@ -1075,7 +1078,7 @@ const Ws = (a) => {
|
|
|
1075
1078
|
64
|
|
1076
1079
|
/* STABLE_FRAGMENT */
|
|
1077
1080
|
)) : ee("v-if", !0),
|
|
1078
|
-
j(S(
|
|
1081
|
+
j(S(to), {
|
|
1079
1082
|
show: u.value,
|
|
1080
1083
|
"onUpdate:show": m[0] || (m[0] = (L) => u.value = L),
|
|
1081
1084
|
loadUrl: S(t),
|
|
@@ -1091,7 +1094,7 @@ const Ws = (a) => {
|
|
|
1091
1094
|
};
|
|
1092
1095
|
}
|
|
1093
1096
|
});
|
|
1094
|
-
const
|
|
1097
|
+
const Qs = Pe(Js), eo = /* @__PURE__ */ Z({
|
|
1095
1098
|
__name: "IkPreviewFileDialog",
|
|
1096
1099
|
props: /* @__PURE__ */ wt({
|
|
1097
1100
|
file: {
|
|
@@ -1134,7 +1137,7 @@ const Js = Pe(Zs), Qs = /* @__PURE__ */ Z({
|
|
|
1134
1137
|
suffix: "suffix",
|
|
1135
1138
|
size: "fileSize",
|
|
1136
1139
|
...o.field
|
|
1137
|
-
})), e = se(null), i = se(null), n =
|
|
1140
|
+
})), e = se(null), i = se(null), n = nr({
|
|
1138
1141
|
image: !1,
|
|
1139
1142
|
office: !1,
|
|
1140
1143
|
video: !1
|
|
@@ -1165,13 +1168,13 @@ const Js = Pe(Zs), Qs = /* @__PURE__ */ Z({
|
|
|
1165
1168
|
}
|
|
1166
1169
|
},
|
|
1167
1170
|
document: {
|
|
1168
|
-
key:
|
|
1171
|
+
key: Cn(),
|
|
1169
1172
|
title: L,
|
|
1170
1173
|
url: ht(o.loadUrl, b),
|
|
1171
1174
|
fileType: w,
|
|
1172
1175
|
...((y = o.onlyOfficeConfig) == null ? void 0 : y.document) || {}
|
|
1173
1176
|
},
|
|
1174
|
-
documentType:
|
|
1177
|
+
documentType: br(w)
|
|
1175
1178
|
};
|
|
1176
1179
|
return;
|
|
1177
1180
|
}
|
|
@@ -1193,7 +1196,7 @@ const Js = Pe(Zs), Qs = /* @__PURE__ */ Z({
|
|
|
1193
1196
|
Ee,
|
|
1194
1197
|
{ key: 0 },
|
|
1195
1198
|
[
|
|
1196
|
-
(h = i.value) != null && h.url && n.image ? (E(), pe(S(
|
|
1199
|
+
(h = i.value) != null && h.url && n.image ? (E(), pe(S(zo), {
|
|
1197
1200
|
key: 0,
|
|
1198
1201
|
onClose: c[0] || (c[0] = (g) => l()),
|
|
1199
1202
|
ref: "previewImgRef",
|
|
@@ -1203,12 +1206,12 @@ const Js = Pe(Zs), Qs = /* @__PURE__ */ Z({
|
|
|
1203
1206
|
}, null, 8, ["url-list"])) : ee("v-if", !0),
|
|
1204
1207
|
ee(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
1205
1208
|
ee(" 文档类 "),
|
|
1206
|
-
j(S(
|
|
1209
|
+
j(S(nu), {
|
|
1207
1210
|
modelValue: n.video,
|
|
1208
1211
|
"onUpdate:modelValue": c[1] || (c[1] = (g) => n.video = g),
|
|
1209
1212
|
url: (p = i.value) == null ? void 0 : p.url
|
|
1210
1213
|
}, null, 8, ["modelValue", "url"]),
|
|
1211
|
-
j(S(
|
|
1214
|
+
j(S(vo), {
|
|
1212
1215
|
modelValue: n.office,
|
|
1213
1216
|
"onUpdate:modelValue": c[2] || (c[2] = (g) => n.office = g),
|
|
1214
1217
|
draggable: "",
|
|
@@ -1226,7 +1229,7 @@ const Js = Pe(Zs), Qs = /* @__PURE__ */ Z({
|
|
|
1226
1229
|
default: Q(() => {
|
|
1227
1230
|
var g;
|
|
1228
1231
|
return [
|
|
1229
|
-
j(S(
|
|
1232
|
+
j(S(Eo), {
|
|
1230
1233
|
"config-options": e.value,
|
|
1231
1234
|
"document-server-url": ((g = a.onlyOfficeConfig) == null ? void 0 : g.serverUrl) || a.onlyofficeServer
|
|
1232
1235
|
}, null, 8, ["config-options", "document-server-url"])
|
|
@@ -1242,18 +1245,18 @@ const Js = Pe(Zs), Qs = /* @__PURE__ */ Z({
|
|
|
1242
1245
|
};
|
|
1243
1246
|
}
|
|
1244
1247
|
});
|
|
1245
|
-
const
|
|
1248
|
+
const to = Pe(eo), io = {
|
|
1246
1249
|
key: 0,
|
|
1247
1250
|
class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
|
|
1248
|
-
},
|
|
1251
|
+
}, no = {
|
|
1249
1252
|
key: 1,
|
|
1250
1253
|
class: "h-[1em] w-[1em]",
|
|
1251
1254
|
"aria-hidden": "true"
|
|
1252
|
-
},
|
|
1255
|
+
}, ro = ["xlink:href"], so = ["src"], oo = {
|
|
1253
1256
|
key: 1,
|
|
1254
1257
|
class: "h-[1em] w-[1em]",
|
|
1255
1258
|
"aria-hidden": "true"
|
|
1256
|
-
},
|
|
1259
|
+
}, ao = ["xlink:href"], lo = ["src"], uo = /* @__PURE__ */ Z({
|
|
1257
1260
|
name: "IkSvgIcon",
|
|
1258
1261
|
__name: "index",
|
|
1259
1262
|
props: {
|
|
@@ -1306,14 +1309,14 @@ const eo = Pe(Qs), to = {
|
|
|
1306
1309
|
padding: r.value.showBg || r.value.bg ? r.value.padding : 0,
|
|
1307
1310
|
...r.value.color && t.value !== "iksig" ? {
|
|
1308
1311
|
"--ik-color-icon-dark": r.value.color,
|
|
1309
|
-
"--ik-color-icon-light": r.value.colorLight ||
|
|
1312
|
+
"--ik-color-icon-light": r.value.colorLight || yr.setOpacity(r.value.color, r.value.opacity)
|
|
1310
1313
|
} : {}
|
|
1311
1314
|
};
|
|
1312
1315
|
return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
|
|
1313
1316
|
});
|
|
1314
1317
|
return (i, n) => {
|
|
1315
1318
|
const s = rt("el-tooltip"), l = rt("el-button");
|
|
1316
|
-
return r.value.tableIconType === "icon" || !r.value.tableIconType ? (E(), P("span",
|
|
1319
|
+
return r.value.tableIconType === "icon" || !r.value.tableIconType ? (E(), P("span", io, [
|
|
1317
1320
|
r.value.notip || !r.value.title ? (E(), P(
|
|
1318
1321
|
"i",
|
|
1319
1322
|
{
|
|
@@ -1345,15 +1348,15 @@ const eo = Pe(Qs), to = {
|
|
|
1345
1348
|
null,
|
|
1346
1349
|
6
|
|
1347
1350
|
/* CLASS, STYLE */
|
|
1348
|
-
)) : t.value === "svg" ? (E(), P("svg",
|
|
1351
|
+
)) : t.value === "svg" ? (E(), P("svg", no, [
|
|
1349
1352
|
T("use", {
|
|
1350
1353
|
"xlink:href": `#${r.value.name}`
|
|
1351
|
-
}, null, 8,
|
|
1354
|
+
}, null, 8, ro)
|
|
1352
1355
|
])) : t.value === "img" ? (E(), P("img", {
|
|
1353
1356
|
key: 2,
|
|
1354
1357
|
src: r.value.name,
|
|
1355
1358
|
class: "h-[1em] w-[1em]"
|
|
1356
|
-
}, null, 8,
|
|
1359
|
+
}, null, 8, so)) : (E(), P(
|
|
1357
1360
|
"i",
|
|
1358
1361
|
{
|
|
1359
1362
|
key: 3,
|
|
@@ -1401,15 +1404,15 @@ const eo = Pe(Qs), to = {
|
|
|
1401
1404
|
null,
|
|
1402
1405
|
6
|
|
1403
1406
|
/* CLASS, STYLE */
|
|
1404
|
-
)) : t.value === "svg" ? (E(), P("svg",
|
|
1407
|
+
)) : t.value === "svg" ? (E(), P("svg", oo, [
|
|
1405
1408
|
T("use", {
|
|
1406
1409
|
"xlink:href": `#${r.value.name}`
|
|
1407
|
-
}, null, 8,
|
|
1410
|
+
}, null, 8, ao)
|
|
1408
1411
|
])) : t.value === "img" ? (E(), P("img", {
|
|
1409
1412
|
key: 2,
|
|
1410
1413
|
src: r.value.name,
|
|
1411
1414
|
class: "h-[1em] w-[1em]"
|
|
1412
|
-
}, null, 8,
|
|
1415
|
+
}, null, 8, lo)) : (E(), P(
|
|
1413
1416
|
"i",
|
|
1414
1417
|
{
|
|
1415
1418
|
key: 3,
|
|
@@ -1445,7 +1448,7 @@ const eo = Pe(Qs), to = {
|
|
|
1445
1448
|
};
|
|
1446
1449
|
}
|
|
1447
1450
|
});
|
|
1448
|
-
const
|
|
1451
|
+
const co = /* @__PURE__ */ gt(uo, [["__scopeId", "data-v-52806adf"]]), Me = Pe(co), fo = /* @__PURE__ */ Z({
|
|
1449
1452
|
__name: "CloseIcon",
|
|
1450
1453
|
props: {
|
|
1451
1454
|
showBg: {
|
|
@@ -1476,7 +1479,7 @@ const uo = /* @__PURE__ */ gt(lo, [["__scopeId", "data-v-52806adf"]]), Me = Pe(u
|
|
|
1476
1479
|
));
|
|
1477
1480
|
}
|
|
1478
1481
|
});
|
|
1479
|
-
const
|
|
1482
|
+
const ho = /* @__PURE__ */ gt(fo, [["__scopeId", "data-v-da39e979"]]), go = { class: "base-header" }, po = /* @__PURE__ */ Z({
|
|
1480
1483
|
__name: "IkBaseDialog",
|
|
1481
1484
|
props: /* @__PURE__ */ wt({
|
|
1482
1485
|
title: { default: "" },
|
|
@@ -1501,7 +1504,7 @@ const fo = /* @__PURE__ */ gt(co, [["__scopeId", "data-v-da39e979"]]), ho = { cl
|
|
|
1501
1504
|
t.value = !t.value;
|
|
1502
1505
|
}, i = Z({
|
|
1503
1506
|
setup() {
|
|
1504
|
-
return () =>
|
|
1507
|
+
return () => rr(ho, {
|
|
1505
1508
|
showBg: o.showCloseBg,
|
|
1506
1509
|
fullscreen: o.fullscreen
|
|
1507
1510
|
});
|
|
@@ -1509,7 +1512,7 @@ const fo = /* @__PURE__ */ gt(co, [["__scopeId", "data-v-da39e979"]]), ho = { cl
|
|
|
1509
1512
|
});
|
|
1510
1513
|
return (n, s) => {
|
|
1511
1514
|
const l = rt("el-dialog");
|
|
1512
|
-
return E(), pe(l,
|
|
1515
|
+
return E(), pe(l, sr({
|
|
1513
1516
|
modelValue: r.value,
|
|
1514
1517
|
"onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u),
|
|
1515
1518
|
"align-center": ""
|
|
@@ -1518,7 +1521,7 @@ const fo = /* @__PURE__ */ gt(co, [["__scopeId", "data-v-da39e979"]]), ho = { cl
|
|
|
1518
1521
|
class: `ik-base-dialog ${n.noHeader ? "no-header" : ""} ${n.noFooter ? "no-footer" : ""}`,
|
|
1519
1522
|
fullscreen: t.value,
|
|
1520
1523
|
"modal-class": "baseDialog"
|
|
1521
|
-
}),
|
|
1524
|
+
}), or({
|
|
1522
1525
|
icon: Q(() => [
|
|
1523
1526
|
Fe(n.$slots, "title", {}, () => [
|
|
1524
1527
|
ii(
|
|
@@ -1529,7 +1532,7 @@ const fo = /* @__PURE__ */ gt(co, [["__scopeId", "data-v-da39e979"]]), ho = { cl
|
|
|
1529
1532
|
])
|
|
1530
1533
|
]),
|
|
1531
1534
|
header: Q(() => [
|
|
1532
|
-
T("div",
|
|
1535
|
+
T("div", go, [
|
|
1533
1536
|
Fe(n.$slots, "header", {}, () => [
|
|
1534
1537
|
ii(
|
|
1535
1538
|
Ne(n.title),
|
|
@@ -1563,12 +1566,12 @@ const fo = /* @__PURE__ */ gt(co, [["__scopeId", "data-v-da39e979"]]), ho = { cl
|
|
|
1563
1566
|
};
|
|
1564
1567
|
}
|
|
1565
1568
|
});
|
|
1566
|
-
const
|
|
1567
|
-
var
|
|
1569
|
+
const vo = Pe(po);
|
|
1570
|
+
var mo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1568
1571
|
function di(a) {
|
|
1569
1572
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
1570
1573
|
}
|
|
1571
|
-
function
|
|
1574
|
+
function yo(a, o, r, t) {
|
|
1572
1575
|
function e(i) {
|
|
1573
1576
|
return i instanceof r ? i : new r(function(n) {
|
|
1574
1577
|
n(i);
|
|
@@ -1595,7 +1598,7 @@ function mo(a, o, r, t) {
|
|
|
1595
1598
|
u((t = t.apply(a, o || [])).next());
|
|
1596
1599
|
});
|
|
1597
1600
|
}
|
|
1598
|
-
function
|
|
1601
|
+
function _o(a, o) {
|
|
1599
1602
|
var r = { label: 0, sent: function() {
|
|
1600
1603
|
if (i[0] & 1)
|
|
1601
1604
|
throw i[1];
|
|
@@ -1660,9 +1663,9 @@ function yo(a, o) {
|
|
|
1660
1663
|
return { value: u[0] ? u[1] : void 0, done: !0 };
|
|
1661
1664
|
}
|
|
1662
1665
|
}
|
|
1663
|
-
var
|
|
1664
|
-
return
|
|
1665
|
-
return
|
|
1666
|
+
var ko = function(a, o) {
|
|
1667
|
+
return yo(void 0, void 0, void 0, function() {
|
|
1668
|
+
return _o(this, function(r) {
|
|
1666
1669
|
return [2, new Promise(function(t, e) {
|
|
1667
1670
|
try {
|
|
1668
1671
|
if (window.DocsAPI)
|
|
@@ -1674,12 +1677,12 @@ var _o = function(a, o) {
|
|
|
1674
1677
|
if (!l) {
|
|
1675
1678
|
if (clearInterval(n), window.DocsAPI)
|
|
1676
1679
|
return t(null);
|
|
1677
|
-
var u =
|
|
1680
|
+
var u = Mi(o, a, t, e);
|
|
1678
1681
|
i.remove(), document.body.appendChild(u);
|
|
1679
1682
|
}
|
|
1680
1683
|
}, 500);
|
|
1681
1684
|
else {
|
|
1682
|
-
var s =
|
|
1685
|
+
var s = Mi(o, a, t, e);
|
|
1683
1686
|
document.body.appendChild(s);
|
|
1684
1687
|
}
|
|
1685
1688
|
} catch (l) {
|
|
@@ -1688,7 +1691,7 @@ var _o = function(a, o) {
|
|
|
1688
1691
|
})];
|
|
1689
1692
|
});
|
|
1690
1693
|
});
|
|
1691
|
-
},
|
|
1694
|
+
}, Mi = function(a, o, r, t) {
|
|
1692
1695
|
var e = document.createElement("script");
|
|
1693
1696
|
return e.id = a, e.type = "text/javascript", e.src = o, e.async = !0, e.onload = function() {
|
|
1694
1697
|
e.removeAttribute("loading"), r(null);
|
|
@@ -1750,7 +1753,7 @@ var _o = function(a, o) {
|
|
|
1750
1753
|
var a = this, o = this.documentServerUrl;
|
|
1751
1754
|
o.endsWith("/") || (o += "/");
|
|
1752
1755
|
var r = "".concat(o, "web-apps/apps/api/documents/api.js");
|
|
1753
|
-
|
|
1756
|
+
ko(r, "onlyoffice-api-script").then(function() {
|
|
1754
1757
|
return a.onLoad();
|
|
1755
1758
|
}).catch(function() {
|
|
1756
1759
|
a.onError(-2);
|
|
@@ -1864,13 +1867,13 @@ var _o = function(a, o) {
|
|
|
1864
1867
|
}
|
|
1865
1868
|
}
|
|
1866
1869
|
});
|
|
1867
|
-
const
|
|
1868
|
-
function
|
|
1869
|
-
return E(), P("div", { id: a.id }, null, 8,
|
|
1870
|
+
const Co = ["id"];
|
|
1871
|
+
function wo(a, o, r, t, e, i) {
|
|
1872
|
+
return E(), P("div", { id: a.id }, null, 8, Co);
|
|
1870
1873
|
}
|
|
1871
|
-
gi.render =
|
|
1874
|
+
gi.render = wo;
|
|
1872
1875
|
gi.__file = "src/components/DocumentEditor.vue";
|
|
1873
|
-
const
|
|
1876
|
+
const bo = /* @__PURE__ */ Z({
|
|
1874
1877
|
__name: "IkOnlyOffice",
|
|
1875
1878
|
props: {
|
|
1876
1879
|
// 文件服务器的服务的地址
|
|
@@ -1918,55 +1921,55 @@ const wo = /* @__PURE__ */ Z({
|
|
|
1918
1921
|
));
|
|
1919
1922
|
}
|
|
1920
1923
|
});
|
|
1921
|
-
const
|
|
1922
|
-
var
|
|
1923
|
-
const
|
|
1924
|
+
const To = /* @__PURE__ */ gt(bo, [["__scopeId", "data-v-98d51ef9"]]), Eo = Pe(To);
|
|
1925
|
+
var Ni;
|
|
1926
|
+
const En = typeof window < "u", So = (a) => typeof a == "string", xo = () => {
|
|
1924
1927
|
};
|
|
1925
|
-
|
|
1926
|
-
function
|
|
1928
|
+
En && ((Ni = window == null ? void 0 : window.navigator) != null && Ni.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
1929
|
+
function Sn(a) {
|
|
1927
1930
|
return typeof a == "function" ? a() : S(a);
|
|
1928
1931
|
}
|
|
1929
|
-
function xo(a) {
|
|
1930
|
-
return a;
|
|
1931
|
-
}
|
|
1932
1932
|
function Io(a) {
|
|
1933
|
-
return
|
|
1933
|
+
return a;
|
|
1934
1934
|
}
|
|
1935
1935
|
function Po(a) {
|
|
1936
|
+
return ar() ? (lr(a), !0) : !1;
|
|
1937
|
+
}
|
|
1938
|
+
function Lo(a) {
|
|
1936
1939
|
var o;
|
|
1937
|
-
const r =
|
|
1940
|
+
const r = Sn(a);
|
|
1938
1941
|
return (o = r == null ? void 0 : r.$el) != null ? o : r;
|
|
1939
1942
|
}
|
|
1940
|
-
const
|
|
1943
|
+
const Ao = En ? window : void 0;
|
|
1941
1944
|
function mt(...a) {
|
|
1942
1945
|
let o, r, t, e;
|
|
1943
|
-
if (
|
|
1944
|
-
return
|
|
1946
|
+
if (So(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, o = Ao) : [o, r, t, e] = a, !o)
|
|
1947
|
+
return xo;
|
|
1945
1948
|
Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
|
|
1946
1949
|
const i = [], n = () => {
|
|
1947
1950
|
i.forEach((c) => c()), i.length = 0;
|
|
1948
|
-
}, s = (c, h, d, p) => (c.addEventListener(h, d, p), () => c.removeEventListener(h, d, p)), l = st(() => [
|
|
1951
|
+
}, s = (c, h, d, p) => (c.addEventListener(h, d, p), () => c.removeEventListener(h, d, p)), l = st(() => [Lo(o), Sn(e)], ([c, h]) => {
|
|
1949
1952
|
n(), c && i.push(...r.flatMap((d) => t.map((p) => s(c, d, p, h))));
|
|
1950
1953
|
}, { immediate: !0, flush: "post" }), u = () => {
|
|
1951
1954
|
l(), n();
|
|
1952
1955
|
};
|
|
1953
|
-
return
|
|
1956
|
+
return Po(u), u;
|
|
1954
1957
|
}
|
|
1955
|
-
const
|
|
1956
|
-
|
|
1957
|
-
var
|
|
1958
|
+
const Bi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Hi = "__vueuse_ssr_handlers__";
|
|
1959
|
+
Bi[Hi] = Bi[Hi] || {};
|
|
1960
|
+
var Ui;
|
|
1958
1961
|
(function(a) {
|
|
1959
1962
|
a.UP = "UP", a.RIGHT = "RIGHT", a.DOWN = "DOWN", a.LEFT = "LEFT", a.NONE = "NONE";
|
|
1960
|
-
})(
|
|
1961
|
-
var
|
|
1963
|
+
})(Ui || (Ui = {}));
|
|
1964
|
+
var Do = Object.defineProperty, zi = Object.getOwnPropertySymbols, Oo = Object.prototype.hasOwnProperty, Ro = Object.prototype.propertyIsEnumerable, Vi = (a, o, r) => o in a ? Do(a, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[o] = r, Fo = (a, o) => {
|
|
1962
1965
|
for (var r in o || (o = {}))
|
|
1963
|
-
|
|
1964
|
-
if (
|
|
1965
|
-
for (var r of
|
|
1966
|
-
|
|
1966
|
+
Oo.call(o, r) && Vi(a, r, o[r]);
|
|
1967
|
+
if (zi)
|
|
1968
|
+
for (var r of zi(o))
|
|
1969
|
+
Ro.call(o, r) && Vi(a, r, o[r]);
|
|
1967
1970
|
return a;
|
|
1968
1971
|
};
|
|
1969
|
-
const
|
|
1972
|
+
const Mo = {
|
|
1970
1973
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
1971
1974
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
1972
1975
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -1992,10 +1995,10 @@ const Fo = {
|
|
|
1992
1995
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
1993
1996
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
1994
1997
|
};
|
|
1995
|
-
|
|
1996
|
-
linear:
|
|
1997
|
-
},
|
|
1998
|
-
const
|
|
1998
|
+
Fo({
|
|
1999
|
+
linear: Io
|
|
2000
|
+
}, Mo);
|
|
2001
|
+
const No = {
|
|
1999
2002
|
/**
|
|
2000
2003
|
* @description preview link list.
|
|
2001
2004
|
*/
|
|
@@ -2065,26 +2068,26 @@ const Mo = {
|
|
|
2065
2068
|
crossorigin: {
|
|
2066
2069
|
type: ["anonymous", "use-credentials", ""]
|
|
2067
2070
|
}
|
|
2068
|
-
},
|
|
2071
|
+
}, Bo = {
|
|
2069
2072
|
close: () => !0,
|
|
2070
2073
|
switch: (a) => ni.isNumber(a),
|
|
2071
2074
|
rotate: (a) => ni.isNumber(a)
|
|
2072
|
-
},
|
|
2075
|
+
}, Ho = ["src", "crossorigin"], Uo = /* @__PURE__ */ Z({
|
|
2073
2076
|
name: "ElImageViewer",
|
|
2074
2077
|
__name: "IkImageViewer",
|
|
2075
|
-
props:
|
|
2076
|
-
emits:
|
|
2078
|
+
props: No,
|
|
2079
|
+
emits: Bo,
|
|
2077
2080
|
setup(a, { expose: o, emit: r }) {
|
|
2078
2081
|
const t = (N) => Object.keys(N), e = {
|
|
2079
2082
|
CONTAIN: {
|
|
2080
2083
|
name: "contain",
|
|
2081
|
-
icon: Oi(
|
|
2084
|
+
icon: Oi(Os)
|
|
2082
2085
|
},
|
|
2083
2086
|
ORIGINAL: {
|
|
2084
2087
|
name: "original",
|
|
2085
|
-
icon: Oi(
|
|
2088
|
+
icon: Oi(Hs)
|
|
2086
2089
|
}
|
|
2087
|
-
}, i = a, n = r, { t: s } =
|
|
2090
|
+
}, i = a, n = r, { t: s } = kr(), l = wn("image-viewer"), { nextZIndex: u } = Cr(), c = se(), h = se([]), d = ur(), p = se(!0), g = se(i.initialIndex), m = cr(e.CONTAIN), y = se({
|
|
2088
2091
|
scale: 1,
|
|
2089
2092
|
deg: 0,
|
|
2090
2093
|
offsetX: 0,
|
|
@@ -2233,7 +2236,7 @@ const Mo = {
|
|
|
2233
2236
|
});
|
|
2234
2237
|
}), st(g, (N) => {
|
|
2235
2238
|
xi(), n("switch", N);
|
|
2236
|
-
}),
|
|
2239
|
+
}), fr(() => {
|
|
2237
2240
|
var N, G;
|
|
2238
2241
|
z(), (G = (N = c.value) == null ? void 0 : N.focus) == null || G.call(N);
|
|
2239
2242
|
}), o({
|
|
@@ -2241,8 +2244,8 @@ const Mo = {
|
|
|
2241
2244
|
* @description manually switch image
|
|
2242
2245
|
*/
|
|
2243
2246
|
setActiveItem: Bt
|
|
2244
|
-
}), (N, G) => (E(), pe(
|
|
2245
|
-
j(
|
|
2247
|
+
}), (N, G) => (E(), pe(_n, { to: "body" }, [
|
|
2248
|
+
j(kn, {
|
|
2246
2249
|
name: "viewer-fade",
|
|
2247
2250
|
appear: ""
|
|
2248
2251
|
}, {
|
|
@@ -2277,7 +2280,7 @@ const Mo = {
|
|
|
2277
2280
|
[
|
|
2278
2281
|
j(S(Ae), null, {
|
|
2279
2282
|
default: Q(() => [
|
|
2280
|
-
j(S(
|
|
2283
|
+
j(S(bn))
|
|
2281
2284
|
]),
|
|
2282
2285
|
_: 1
|
|
2283
2286
|
/* STABLE */
|
|
@@ -2300,7 +2303,7 @@ const Mo = {
|
|
|
2300
2303
|
[
|
|
2301
2304
|
j(S(Ae), null, {
|
|
2302
2305
|
default: Q(() => [
|
|
2303
|
-
j(S(
|
|
2306
|
+
j(S(Is))
|
|
2304
2307
|
]),
|
|
2305
2308
|
_: 1
|
|
2306
2309
|
/* STABLE */
|
|
@@ -2318,7 +2321,7 @@ const Mo = {
|
|
|
2318
2321
|
[
|
|
2319
2322
|
j(S(Ae), null, {
|
|
2320
2323
|
default: Q(() => [
|
|
2321
|
-
j(S(
|
|
2324
|
+
j(S(Ls))
|
|
2322
2325
|
]),
|
|
2323
2326
|
_: 1
|
|
2324
2327
|
/* STABLE */
|
|
@@ -2348,7 +2351,7 @@ const Mo = {
|
|
|
2348
2351
|
onClick: G[1] || (G[1] = (X) => Ve("zoomOut"))
|
|
2349
2352
|
}, {
|
|
2350
2353
|
default: Q(() => [
|
|
2351
|
-
j(S(
|
|
2354
|
+
j(S(js))
|
|
2352
2355
|
]),
|
|
2353
2356
|
_: 1
|
|
2354
2357
|
/* STABLE */
|
|
@@ -2357,7 +2360,7 @@ const Mo = {
|
|
|
2357
2360
|
onClick: G[2] || (G[2] = (X) => Ve("zoomIn"))
|
|
2358
2361
|
}, {
|
|
2359
2362
|
default: Q(() => [
|
|
2360
|
-
j(S(
|
|
2363
|
+
j(S(zs))
|
|
2361
2364
|
]),
|
|
2362
2365
|
_: 1
|
|
2363
2366
|
/* STABLE */
|
|
@@ -2373,7 +2376,7 @@ const Mo = {
|
|
|
2373
2376
|
),
|
|
2374
2377
|
j(S(Ae), { onClick: Ii }, {
|
|
2375
2378
|
default: Q(() => [
|
|
2376
|
-
(E(), pe(
|
|
2379
|
+
(E(), pe(hr(m.value.icon)))
|
|
2377
2380
|
]),
|
|
2378
2381
|
_: 1
|
|
2379
2382
|
/* STABLE */
|
|
@@ -2391,7 +2394,7 @@ const Mo = {
|
|
|
2391
2394
|
onClick: G[3] || (G[3] = (X) => Ve("anticlockwise"))
|
|
2392
2395
|
}, {
|
|
2393
2396
|
default: Q(() => [
|
|
2394
|
-
j(S(
|
|
2397
|
+
j(S(Fs))
|
|
2395
2398
|
]),
|
|
2396
2399
|
_: 1
|
|
2397
2400
|
/* STABLE */
|
|
@@ -2400,7 +2403,7 @@ const Mo = {
|
|
|
2400
2403
|
onClick: G[4] || (G[4] = (X) => Ve("clockwise"))
|
|
2401
2404
|
}, {
|
|
2402
2405
|
default: Q(() => [
|
|
2403
|
-
j(S(
|
|
2406
|
+
j(S(Ns))
|
|
2404
2407
|
]),
|
|
2405
2408
|
_: 1
|
|
2406
2409
|
/* STABLE */
|
|
@@ -2423,7 +2426,7 @@ const Mo = {
|
|
|
2423
2426
|
(E(!0), P(
|
|
2424
2427
|
Ee,
|
|
2425
2428
|
null,
|
|
2426
|
-
ft(N.urlList, (X, ge) =>
|
|
2429
|
+
ft(N.urlList, (X, ge) => dr((E(), P("img", {
|
|
2427
2430
|
ref_for: !0,
|
|
2428
2431
|
ref: (ye) => h.value[ge] = ye,
|
|
2429
2432
|
key: X,
|
|
@@ -2434,8 +2437,8 @@ const Mo = {
|
|
|
2434
2437
|
onLoad: ue,
|
|
2435
2438
|
onError: ce,
|
|
2436
2439
|
onMousedown: we
|
|
2437
|
-
}, null, 46,
|
|
2438
|
-
[
|
|
2440
|
+
}, null, 46, Ho)), [
|
|
2441
|
+
[gr, ge === g.value]
|
|
2439
2442
|
])),
|
|
2440
2443
|
128
|
|
2441
2444
|
/* KEYED_FRAGMENT */
|
|
@@ -2455,8 +2458,8 @@ const Mo = {
|
|
|
2455
2458
|
})
|
|
2456
2459
|
]));
|
|
2457
2460
|
}
|
|
2458
|
-
}),
|
|
2459
|
-
function
|
|
2461
|
+
}), zo = Pe(Uo);
|
|
2462
|
+
function ji(a, o) {
|
|
2460
2463
|
var r = Object.keys(a);
|
|
2461
2464
|
if (Object.getOwnPropertySymbols) {
|
|
2462
2465
|
var t = Object.getOwnPropertySymbols(a);
|
|
@@ -2469,9 +2472,9 @@ function Vi(a, o) {
|
|
|
2469
2472
|
function q(a) {
|
|
2470
2473
|
for (var o = 1; o < arguments.length; o++) {
|
|
2471
2474
|
var r = arguments[o] != null ? arguments[o] : {};
|
|
2472
|
-
o % 2 ?
|
|
2475
|
+
o % 2 ? ji(Object(r), !0).forEach(function(t) {
|
|
2473
2476
|
_(a, t, r[t]);
|
|
2474
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) :
|
|
2477
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : ji(Object(r)).forEach(function(t) {
|
|
2475
2478
|
Object.defineProperty(a, t, Object.getOwnPropertyDescriptor(r, t));
|
|
2476
2479
|
});
|
|
2477
2480
|
}
|
|
@@ -2489,19 +2492,19 @@ function x(a, o) {
|
|
|
2489
2492
|
if (!(a instanceof o))
|
|
2490
2493
|
throw new TypeError("Cannot call a class as a function");
|
|
2491
2494
|
}
|
|
2492
|
-
function
|
|
2495
|
+
function Wi(a, o) {
|
|
2493
2496
|
for (var r = 0; r < o.length; r++) {
|
|
2494
2497
|
var t = o[r];
|
|
2495
|
-
t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(a,
|
|
2498
|
+
t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(a, xn(t.key), t);
|
|
2496
2499
|
}
|
|
2497
2500
|
}
|
|
2498
2501
|
function I(a, o, r) {
|
|
2499
|
-
return o &&
|
|
2502
|
+
return o && Wi(a.prototype, o), r && Wi(a, r), Object.defineProperty(a, "prototype", {
|
|
2500
2503
|
writable: !1
|
|
2501
2504
|
}), a;
|
|
2502
2505
|
}
|
|
2503
2506
|
function _(a, o, r) {
|
|
2504
|
-
return o =
|
|
2507
|
+
return o = xn(o), o in a ? Object.defineProperty(a, o, {
|
|
2505
2508
|
value: r,
|
|
2506
2509
|
enumerable: !0,
|
|
2507
2510
|
configurable: !0,
|
|
@@ -2531,7 +2534,7 @@ function si(a, o) {
|
|
|
2531
2534
|
return t.__proto__ = e, t;
|
|
2532
2535
|
}, si(a, o);
|
|
2533
2536
|
}
|
|
2534
|
-
function
|
|
2537
|
+
function Vo() {
|
|
2535
2538
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
2536
2539
|
return !1;
|
|
2537
2540
|
if (typeof Proxy == "function")
|
|
@@ -2556,7 +2559,7 @@ function pi(a, o) {
|
|
|
2556
2559
|
return v(a);
|
|
2557
2560
|
}
|
|
2558
2561
|
function D(a) {
|
|
2559
|
-
var o =
|
|
2562
|
+
var o = Vo();
|
|
2560
2563
|
return function() {
|
|
2561
2564
|
var t = O(a), e;
|
|
2562
2565
|
if (o) {
|
|
@@ -2567,14 +2570,14 @@ function D(a) {
|
|
|
2567
2570
|
return pi(this, e);
|
|
2568
2571
|
};
|
|
2569
2572
|
}
|
|
2570
|
-
function
|
|
2573
|
+
function jo(a, o) {
|
|
2571
2574
|
for (; !Object.prototype.hasOwnProperty.call(a, o) && (a = O(a), a !== null); )
|
|
2572
2575
|
;
|
|
2573
2576
|
return a;
|
|
2574
2577
|
}
|
|
2575
2578
|
function F() {
|
|
2576
2579
|
return typeof Reflect < "u" && Reflect.get ? F = Reflect.get.bind() : F = function(o, r, t) {
|
|
2577
|
-
var e =
|
|
2580
|
+
var e = jo(o, r);
|
|
2578
2581
|
if (e) {
|
|
2579
2582
|
var i = Object.getOwnPropertyDescriptor(e, r);
|
|
2580
2583
|
return i.get ? i.get.call(arguments.length < 3 ? o : t) : i.value;
|
|
@@ -2582,17 +2585,17 @@ function F() {
|
|
|
2582
2585
|
}, F.apply(this, arguments);
|
|
2583
2586
|
}
|
|
2584
2587
|
function ve(a) {
|
|
2585
|
-
return
|
|
2588
|
+
return Wo(a) || Go(a) || $o(a) || Ko();
|
|
2586
2589
|
}
|
|
2587
|
-
function
|
|
2590
|
+
function Wo(a) {
|
|
2588
2591
|
if (Array.isArray(a))
|
|
2589
2592
|
return oi(a);
|
|
2590
2593
|
}
|
|
2591
|
-
function
|
|
2594
|
+
function Go(a) {
|
|
2592
2595
|
if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
|
|
2593
2596
|
return Array.from(a);
|
|
2594
2597
|
}
|
|
2595
|
-
function
|
|
2598
|
+
function $o(a, o) {
|
|
2596
2599
|
if (a) {
|
|
2597
2600
|
if (typeof a == "string")
|
|
2598
2601
|
return oi(a, o);
|
|
@@ -2609,11 +2612,11 @@ function oi(a, o) {
|
|
|
2609
2612
|
t[r] = a[r];
|
|
2610
2613
|
return t;
|
|
2611
2614
|
}
|
|
2612
|
-
function
|
|
2615
|
+
function Ko() {
|
|
2613
2616
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2614
2617
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2615
2618
|
}
|
|
2616
|
-
function
|
|
2619
|
+
function Yo(a, o) {
|
|
2617
2620
|
if (typeof a != "object" || a === null)
|
|
2618
2621
|
return a;
|
|
2619
2622
|
var r = a[Symbol.toPrimitive];
|
|
@@ -2625,11 +2628,11 @@ function Ko(a, o) {
|
|
|
2625
2628
|
}
|
|
2626
2629
|
return (o === "string" ? String : Number)(a);
|
|
2627
2630
|
}
|
|
2628
|
-
function
|
|
2629
|
-
var o =
|
|
2631
|
+
function xn(a) {
|
|
2632
|
+
var o = Yo(a, "string");
|
|
2630
2633
|
return typeof o == "symbol" ? o : String(o);
|
|
2631
2634
|
}
|
|
2632
|
-
var
|
|
2635
|
+
var In = { exports: {} };
|
|
2633
2636
|
(function(a) {
|
|
2634
2637
|
var o = Object.prototype.hasOwnProperty, r = "~";
|
|
2635
2638
|
function t() {
|
|
@@ -2739,16 +2742,16 @@ var xn = { exports: {} };
|
|
|
2739
2742
|
var c;
|
|
2740
2743
|
return u ? (c = r ? r + u : u, this._events[c] && n(this, c)) : (this._events = new t(), this._eventsCount = 0), this;
|
|
2741
2744
|
}, s.prototype.off = s.prototype.removeListener, s.prototype.addListener = s.prototype.on, s.prefixed = r, s.EventEmitter = s, a.exports = s;
|
|
2742
|
-
})(
|
|
2743
|
-
var
|
|
2744
|
-
const
|
|
2745
|
-
var
|
|
2745
|
+
})(In);
|
|
2746
|
+
var Pn = In.exports;
|
|
2747
|
+
const Ln = /* @__PURE__ */ di(Pn);
|
|
2748
|
+
var Xo = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, zt = {
|
|
2746
2749
|
info: "color: #525252; background-color: #90ee90;",
|
|
2747
2750
|
error: "color: #525252; background-color: red;",
|
|
2748
2751
|
warn: "color: #525252; background-color: yellow; "
|
|
2749
2752
|
}, Vt = "%c[xgplayer]", H = {
|
|
2750
2753
|
config: {
|
|
2751
|
-
debug:
|
|
2754
|
+
debug: Xo ? 3 : 0
|
|
2752
2755
|
},
|
|
2753
2756
|
logInfo: function(o) {
|
|
2754
2757
|
for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
@@ -2769,10 +2772,10 @@ var Yo = typeof window < "u" && window.location && window.location.href.indexOf(
|
|
|
2769
2772
|
}
|
|
2770
2773
|
}
|
|
2771
2774
|
};
|
|
2772
|
-
function
|
|
2775
|
+
function qo(a) {
|
|
2773
2776
|
a.logInfo = H.logInfo.bind(a), a.logWarn = H.logWarn.bind(a), a.logError = H.logError.bind(a);
|
|
2774
2777
|
}
|
|
2775
|
-
var
|
|
2778
|
+
var Zo = /* @__PURE__ */ function() {
|
|
2776
2779
|
function a(o) {
|
|
2777
2780
|
x(this, a), this.bufferedList = o;
|
|
2778
2781
|
}
|
|
@@ -3018,7 +3021,7 @@ f.setStyleFromCsstext = function(a, o) {
|
|
|
3018
3021
|
a.style[t] = o[t];
|
|
3019
3022
|
});
|
|
3020
3023
|
};
|
|
3021
|
-
function
|
|
3024
|
+
function Jo(a, o) {
|
|
3022
3025
|
for (var r = 0, t = o.length; r < t; r++)
|
|
3023
3026
|
if (a.indexOf(o[r]) > -1)
|
|
3024
3027
|
return !0;
|
|
@@ -3032,7 +3035,7 @@ f.filterStyleFromText = function(a) {
|
|
|
3032
3035
|
return t.map(function(n) {
|
|
3033
3036
|
if (n) {
|
|
3034
3037
|
var s = n.split(":");
|
|
3035
|
-
s.length > 1 && (
|
|
3038
|
+
s.length > 1 && (Jo(s[0], o) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
|
|
3036
3039
|
}
|
|
3037
3040
|
}), a.setAttribute("style", ""), Object.keys(i).map(function(n) {
|
|
3038
3041
|
a.style[n] = i[n];
|
|
@@ -3097,7 +3100,7 @@ f.getBuffered2 = function(a) {
|
|
|
3097
3100
|
}
|
|
3098
3101
|
else
|
|
3099
3102
|
e = r;
|
|
3100
|
-
return new
|
|
3103
|
+
return new Zo(e);
|
|
3101
3104
|
};
|
|
3102
3105
|
f.getEventPos = function(a) {
|
|
3103
3106
|
var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
@@ -3217,15 +3220,15 @@ f.getCurrentTimeByOffset = function(a, o) {
|
|
|
3217
3220
|
}
|
|
3218
3221
|
return a;
|
|
3219
3222
|
};
|
|
3220
|
-
function
|
|
3223
|
+
function An(a) {
|
|
3221
3224
|
var o = ae(a);
|
|
3222
3225
|
return a !== null && (o === "object" || o === "function");
|
|
3223
3226
|
}
|
|
3224
|
-
function
|
|
3227
|
+
function Qo(a, o, r) {
|
|
3225
3228
|
var t, e, i, n, s, l, u = 0, c = !1, h = !1, d = !0, p = !o && o !== 0 && typeof window.requestAnimationFrame == "function";
|
|
3226
3229
|
if (typeof a != "function")
|
|
3227
3230
|
throw new TypeError("Expected a function");
|
|
3228
|
-
o = +o || 0,
|
|
3231
|
+
o = +o || 0, An(r) && (c = !!r.leading, h = "maxWait" in r, i = h ? Math.max(+r.maxWait || 0, o) : i, d = "trailing" in r ? !!r.trailing : d);
|
|
3229
3232
|
function g(z) {
|
|
3230
3233
|
var ne = t, ue = e;
|
|
3231
3234
|
return t = e = void 0, u = z, n = a.apply(ue, ne), n;
|
|
@@ -3280,30 +3283,30 @@ function Jo(a, o, r) {
|
|
|
3280
3283
|
}
|
|
3281
3284
|
return J.cancel = U, J.flush = R, J.pending = te, J;
|
|
3282
3285
|
}
|
|
3283
|
-
function
|
|
3286
|
+
function ea(a, o, r) {
|
|
3284
3287
|
var t = !0, e = !0;
|
|
3285
3288
|
if (typeof a != "function")
|
|
3286
3289
|
throw new TypeError("Expected a function");
|
|
3287
|
-
return
|
|
3290
|
+
return An(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Qo(a, o, {
|
|
3288
3291
|
leading: t,
|
|
3289
3292
|
trailing: e,
|
|
3290
3293
|
maxWait: o
|
|
3291
3294
|
});
|
|
3292
3295
|
}
|
|
3293
|
-
function
|
|
3296
|
+
function ta() {
|
|
3294
3297
|
var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
|
|
3295
3298
|
return a === "zh-cn" && (a = "zh"), a;
|
|
3296
3299
|
}
|
|
3297
|
-
function
|
|
3300
|
+
function ia(a, o, r) {
|
|
3298
3301
|
if (a) {
|
|
3299
3302
|
var t = a.getAttribute(r);
|
|
3300
3303
|
return !!(t && t === o && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
|
|
3301
3304
|
}
|
|
3302
3305
|
}
|
|
3303
|
-
var
|
|
3306
|
+
var Gi = {
|
|
3304
3307
|
android: /(Android)\s([\d.]+)/,
|
|
3305
3308
|
ios: /(Version)\/([\d.]+)/
|
|
3306
|
-
},
|
|
3309
|
+
}, na = ["avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "avc1.42E01E", "mp4v.20.8", "avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], B = {
|
|
3307
3310
|
get device() {
|
|
3308
3311
|
var a = B.os;
|
|
3309
3312
|
return a.isPc ? "pc" : "mobile";
|
|
@@ -3342,7 +3345,7 @@ var Wi = {
|
|
|
3342
3345
|
if (typeof navigator > "u")
|
|
3343
3346
|
return 0;
|
|
3344
3347
|
var a = navigator.userAgent, o = "";
|
|
3345
|
-
/(?:iPhone)|(?:iPad|PlayBook)/.test(a) ? o =
|
|
3348
|
+
/(?:iPhone)|(?:iPad|PlayBook)/.test(a) ? o = Gi.ios : o = Gi.android;
|
|
3346
3349
|
var r = o ? o.exec(a) : [];
|
|
3347
3350
|
if (r && r.length >= 3) {
|
|
3348
3351
|
var t = r[2].split(".");
|
|
@@ -3366,7 +3369,7 @@ var Wi = {
|
|
|
3366
3369
|
if (this.supportResult)
|
|
3367
3370
|
return this.supportResult;
|
|
3368
3371
|
var r = document.createElement("video");
|
|
3369
|
-
return typeof r.canPlayType == "function" &&
|
|
3372
|
+
return typeof r.canPlayType == "function" && na.map(function(t) {
|
|
3370
3373
|
r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (o.isSupport = !0, o.mime += "||".concat(t));
|
|
3371
3374
|
}), this.supportResult = o, r = null, o;
|
|
3372
3375
|
},
|
|
@@ -3405,14 +3408,14 @@ var Wi = {
|
|
|
3405
3408
|
return Promise.resolve(r);
|
|
3406
3409
|
}
|
|
3407
3410
|
}
|
|
3408
|
-
}, ai = "3.0.18",
|
|
3411
|
+
}, ai = "3.0.18", $i = {
|
|
3409
3412
|
1: "media",
|
|
3410
3413
|
2: "media",
|
|
3411
3414
|
3: "media",
|
|
3412
3415
|
4: "media",
|
|
3413
3416
|
5: "media",
|
|
3414
3417
|
6: "media"
|
|
3415
|
-
},
|
|
3418
|
+
}, Ki = {
|
|
3416
3419
|
1: 5101,
|
|
3417
3420
|
2: 5102,
|
|
3418
3421
|
3: 5103,
|
|
@@ -3433,7 +3436,7 @@ var Wi = {
|
|
|
3433
3436
|
var t = o && o.i18n ? o.i18n.ERROR_TYPES : null;
|
|
3434
3437
|
if (o.media) {
|
|
3435
3438
|
var e = r.mediaError ? r.mediaError : o.media.error || {}, i = o.duration, n = o.currentTime, s = o.ended, l = o.src, u = o.currentSrc, c = o.media, h = c.readyState, d = c.networkState, p = r.errorCode || e.code;
|
|
3436
|
-
|
|
3439
|
+
Ki[p] && (p = Ki[p]);
|
|
3437
3440
|
var g = {
|
|
3438
3441
|
playerVersion: ai,
|
|
3439
3442
|
currentTime: n,
|
|
@@ -3461,21 +3464,21 @@ var Wi = {
|
|
|
3461
3464
|
return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
|
|
3462
3465
|
}
|
|
3463
3466
|
}
|
|
3464
|
-
), de = "play", vi = "playing", $e = "ended", ot = "pause", pt = "error", Ot = "seeking", xe = "seeked", he = "timeupdate", vt = "waiting", Se = "canplay",
|
|
3467
|
+
), de = "play", vi = "playing", $e = "ended", ot = "pause", pt = "error", Ot = "seeking", xe = "seeked", he = "timeupdate", vt = "waiting", Se = "canplay", ra = "canplaythrough", Ue = "durationchange", Dn = "volumechange", Ie = "loadeddata", sa = "loadedmetadata", On = "ratechange", Rn = "progress", mi = "loadstart", Ke = "emptied", oa = "stalled", aa = "suspend", la = "abort", ua = "bufferedChange", yi = "focus", Fn = "blur", _i = "ready", Mn = "urlNull", Ge = "autoplay_started", ki = "autoplay_was_prevented", Rt = "complete", Tt = "replay", Ci = "destroy", Ft = "urlchange", li = "download_speed_change", Nn = "leaveplayer", Bn = "enterplayer", Hn = "loading", be = "fullscreen_change", Et = "cssFullscreen_change", St = "mini_state_change", wi = "definition_change", ca = "before_definition_change", ui = "after_definition_change", fa = "SEI_PARSED", ha = "retry", Be = "video_resize", ci = "pip_change", Un = "rotate", zn = "screenShot", xt = "playnext", Vn = "shortcut", jn = "xglog", It = "user_action", Mt = "reset", Wn = "source_error", Gn = "source_success", da = "switch_subtitle", $n = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Kn = {
|
|
3465
3468
|
STATS_INFO: "stats_info",
|
|
3466
3469
|
STATS_DOWNLOAD: "stats_download",
|
|
3467
3470
|
STATS_RESET: "stats_reset"
|
|
3468
|
-
},
|
|
3469
|
-
const
|
|
3471
|
+
}, Yn = "fps_stuck";
|
|
3472
|
+
const ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3470
3473
|
__proto__: null,
|
|
3471
|
-
ABORT:
|
|
3474
|
+
ABORT: la,
|
|
3472
3475
|
AFTER_DEFINITION_CHANGE: ui,
|
|
3473
3476
|
AUTOPLAY_PREVENTED: ki,
|
|
3474
3477
|
AUTOPLAY_STARTED: Ge,
|
|
3475
|
-
BEFORE_DEFINITION_CHANGE:
|
|
3476
|
-
BUFFER_CHANGE:
|
|
3478
|
+
BEFORE_DEFINITION_CHANGE: ca,
|
|
3479
|
+
BUFFER_CHANGE: ua,
|
|
3477
3480
|
CANPLAY: Se,
|
|
3478
|
-
CANPLAY_THROUGH:
|
|
3481
|
+
CANPLAY_THROUGH: ra,
|
|
3479
3482
|
COMPLETE: Rt,
|
|
3480
3483
|
CSS_FULLSCREEN_CHANGE: Et,
|
|
3481
3484
|
DEFINITION_CHANGE: wi,
|
|
@@ -3484,55 +3487,55 @@ const da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3484
3487
|
DURATION_CHANGE: Ue,
|
|
3485
3488
|
EMPTIED: Ke,
|
|
3486
3489
|
ENDED: $e,
|
|
3487
|
-
ENTER_PLAYER:
|
|
3490
|
+
ENTER_PLAYER: Bn,
|
|
3488
3491
|
ERROR: pt,
|
|
3489
|
-
FPS_STUCK:
|
|
3492
|
+
FPS_STUCK: Yn,
|
|
3490
3493
|
FULLSCREEN_CHANGE: be,
|
|
3491
|
-
LEAVE_PLAYER:
|
|
3494
|
+
LEAVE_PLAYER: Nn,
|
|
3492
3495
|
LOADED_DATA: Ie,
|
|
3493
|
-
LOADED_METADATA:
|
|
3494
|
-
LOADING:
|
|
3496
|
+
LOADED_METADATA: sa,
|
|
3497
|
+
LOADING: Hn,
|
|
3495
3498
|
LOAD_START: mi,
|
|
3496
3499
|
MINI_STATE_CHANGE: St,
|
|
3497
3500
|
PAUSE: ot,
|
|
3498
3501
|
PIP_CHANGE: ci,
|
|
3499
3502
|
PLAY: de,
|
|
3500
|
-
PLAYER_BLUR:
|
|
3503
|
+
PLAYER_BLUR: Fn,
|
|
3501
3504
|
PLAYER_FOCUS: yi,
|
|
3502
3505
|
PLAYING: vi,
|
|
3503
3506
|
PLAYNEXT: xt,
|
|
3504
|
-
PROGRESS:
|
|
3505
|
-
RATE_CHANGE:
|
|
3507
|
+
PROGRESS: Rn,
|
|
3508
|
+
RATE_CHANGE: On,
|
|
3506
3509
|
READY: _i,
|
|
3507
3510
|
REPLAY: Tt,
|
|
3508
3511
|
RESET: Mt,
|
|
3509
|
-
RETRY:
|
|
3510
|
-
ROTATE:
|
|
3511
|
-
SCREEN_SHOT:
|
|
3512
|
+
RETRY: ha,
|
|
3513
|
+
ROTATE: Un,
|
|
3514
|
+
SCREEN_SHOT: zn,
|
|
3512
3515
|
SEEKED: xe,
|
|
3513
3516
|
SEEKING: Ot,
|
|
3514
|
-
SEI_PARSED:
|
|
3515
|
-
SHORTCUT:
|
|
3516
|
-
SOURCE_ERROR:
|
|
3517
|
-
SOURCE_SUCCESS:
|
|
3518
|
-
STALLED:
|
|
3519
|
-
STATS_EVENTS:
|
|
3520
|
-
SUSPEND:
|
|
3521
|
-
SWITCH_SUBTITLE:
|
|
3517
|
+
SEI_PARSED: fa,
|
|
3518
|
+
SHORTCUT: Vn,
|
|
3519
|
+
SOURCE_ERROR: Wn,
|
|
3520
|
+
SOURCE_SUCCESS: Gn,
|
|
3521
|
+
STALLED: oa,
|
|
3522
|
+
STATS_EVENTS: Kn,
|
|
3523
|
+
SUSPEND: aa,
|
|
3524
|
+
SWITCH_SUBTITLE: da,
|
|
3522
3525
|
TIME_UPDATE: he,
|
|
3523
3526
|
URL_CHANGE: Ft,
|
|
3524
|
-
URL_NULL:
|
|
3527
|
+
URL_NULL: Mn,
|
|
3525
3528
|
USER_ACTION: It,
|
|
3526
|
-
VIDEO_EVENTS:
|
|
3529
|
+
VIDEO_EVENTS: $n,
|
|
3527
3530
|
VIDEO_RESIZE: Be,
|
|
3528
|
-
VOLUME_CHANGE:
|
|
3531
|
+
VOLUME_CHANGE: Dn,
|
|
3529
3532
|
WAITING: vt,
|
|
3530
|
-
XGLOG:
|
|
3533
|
+
XGLOG: jn
|
|
3531
3534
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3532
3535
|
function jt(a, o) {
|
|
3533
3536
|
!this || !this.emit || (a === "error" ? this.errorHandler(a, o.error) : this.emit(a, o));
|
|
3534
3537
|
}
|
|
3535
|
-
function
|
|
3538
|
+
function pa(a, o) {
|
|
3536
3539
|
return function(r, t) {
|
|
3537
3540
|
var e = {
|
|
3538
3541
|
player: o,
|
|
@@ -3567,7 +3570,7 @@ function ga(a, o) {
|
|
|
3567
3570
|
jt.call(o, a, e);
|
|
3568
3571
|
};
|
|
3569
3572
|
}
|
|
3570
|
-
var
|
|
3573
|
+
var va = /* @__PURE__ */ function(a) {
|
|
3571
3574
|
A(r, a);
|
|
3572
3575
|
var o = D(r);
|
|
3573
3576
|
function r(t) {
|
|
@@ -3609,9 +3612,9 @@ var pa = /* @__PURE__ */ function(a) {
|
|
|
3609
3612
|
key: "attachVideoEvents",
|
|
3610
3613
|
value: function() {
|
|
3611
3614
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
|
|
3612
|
-
this._evHandlers || (this._evHandlers =
|
|
3615
|
+
this._evHandlers || (this._evHandlers = $n.map(function(n) {
|
|
3613
3616
|
var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
|
|
3614
|
-
return typeof e[s] == "function" && e.on(n, e[s]), _({}, n,
|
|
3617
|
+
return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, pa(n, e));
|
|
3615
3618
|
})), this._evHandlers.forEach(function(n) {
|
|
3616
3619
|
var s = Object.keys(n)[0];
|
|
3617
3620
|
i.addEventListener(s, n[s], !1);
|
|
@@ -3643,7 +3646,7 @@ var pa = /* @__PURE__ */ function(a) {
|
|
|
3643
3646
|
var s = e.children;
|
|
3644
3647
|
if (s) {
|
|
3645
3648
|
this._videoSourceCount = s.length, this._videoSourceIndex = s.length, this._vLoadeddata = function(h) {
|
|
3646
|
-
n.emit(
|
|
3649
|
+
n.emit(Gn, {
|
|
3647
3650
|
src: h.target.currentSrc,
|
|
3648
3651
|
host: f.getHostFromUrl(h.target.currentSrc)
|
|
3649
3652
|
});
|
|
@@ -3662,8 +3665,8 @@ var pa = /* @__PURE__ */ function(a) {
|
|
|
3662
3665
|
};
|
|
3663
3666
|
l ? l.error(h, p) : n.errorHandler("error", p);
|
|
3664
3667
|
}
|
|
3665
|
-
var g =
|
|
3666
|
-
n.emit(
|
|
3668
|
+
var g = $i[4];
|
|
3669
|
+
n.emit(Wn, new bt(n, {
|
|
3667
3670
|
errorType: g,
|
|
3668
3671
|
errorCode: 4,
|
|
3669
3672
|
errorMessage: "sources_load_error",
|
|
@@ -3696,7 +3699,7 @@ var pa = /* @__PURE__ */ function(a) {
|
|
|
3696
3699
|
value: function(e) {
|
|
3697
3700
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
3698
3701
|
if (this.media && (this.media.error || i)) {
|
|
3699
|
-
var n = this.media.error || i, s = n.code ?
|
|
3702
|
+
var n = this.media.error || i, s = n.code ? $i[n.code] : "other", l = n.message;
|
|
3700
3703
|
this.media.currentSrc || (l = "empty_src", n = {
|
|
3701
3704
|
code: 6,
|
|
3702
3705
|
message: l
|
|
@@ -3985,7 +3988,7 @@ var pa = /* @__PURE__ */ function(a) {
|
|
|
3985
3988
|
F(O(r.prototype), "removeAllListeners", this).call(this);
|
|
3986
3989
|
}
|
|
3987
3990
|
}]), r;
|
|
3988
|
-
}(
|
|
3991
|
+
}(Ln), ma = /* @__PURE__ */ function() {
|
|
3989
3992
|
function a() {
|
|
3990
3993
|
var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
3991
3994
|
name: "xgplayer",
|
|
@@ -4063,7 +4066,7 @@ var pa = /* @__PURE__ */ function(a) {
|
|
|
4063
4066
|
t.clear();
|
|
4064
4067
|
}
|
|
4065
4068
|
}]), a;
|
|
4066
|
-
}(),
|
|
4069
|
+
}(), Yi = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], Xi = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], qi = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], We = "data-xgplayerid";
|
|
4067
4070
|
function yt(a, o, r) {
|
|
4068
4071
|
for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
|
|
4069
4072
|
e[i - 3] = arguments[i];
|
|
@@ -4112,14 +4115,14 @@ function At(a, o) {
|
|
|
4112
4115
|
var r = this.__hooks;
|
|
4113
4116
|
r && delete r[a];
|
|
4114
4117
|
}
|
|
4115
|
-
function
|
|
4118
|
+
function Zi(a) {
|
|
4116
4119
|
if (!(!this.plugins || !this.plugins[a.toLowerCase()])) {
|
|
4117
4120
|
for (var o = this.plugins[a.toLowerCase()], r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), e = 1; e < r; e++)
|
|
4118
4121
|
t[e - 1] = arguments[e];
|
|
4119
4122
|
return o.useHooks && o.useHooks.apply(o, t);
|
|
4120
4123
|
}
|
|
4121
4124
|
}
|
|
4122
|
-
function
|
|
4125
|
+
function Ji(a) {
|
|
4123
4126
|
if (!(!this.plugins || !this.plugins[a.toLowerCase()])) {
|
|
4124
4127
|
var o = this.plugins[a.toLowerCase()];
|
|
4125
4128
|
if (o) {
|
|
@@ -4129,7 +4132,7 @@ function Zi(a) {
|
|
|
4129
4132
|
}
|
|
4130
4133
|
}
|
|
4131
4134
|
}
|
|
4132
|
-
function
|
|
4135
|
+
function Xn(a) {
|
|
4133
4136
|
var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
4134
4137
|
a.__hooks = {}, o && o.map(function(r) {
|
|
4135
4138
|
a.__hooks[r] = null;
|
|
@@ -4142,7 +4145,7 @@ function Yn(a) {
|
|
|
4142
4145
|
}
|
|
4143
4146
|
});
|
|
4144
4147
|
}
|
|
4145
|
-
function
|
|
4148
|
+
function qn(a) {
|
|
4146
4149
|
a.__hooks = null;
|
|
4147
4150
|
}
|
|
4148
4151
|
function Te(a, o, r) {
|
|
@@ -4166,7 +4169,7 @@ function Wt(a, o) {
|
|
|
4166
4169
|
}
|
|
4167
4170
|
var He = /* @__PURE__ */ function() {
|
|
4168
4171
|
function a(o) {
|
|
4169
|
-
x(this, a), f.checkIsFunction(this.beforeCreate) && this.beforeCreate(o),
|
|
4172
|
+
x(this, a), f.checkIsFunction(this.beforeCreate) && this.beforeCreate(o), Xn(this), this.__args = o, this.__events = {}, this.__onceEvents = {}, this.config = o.config || {}, this.player = null, this.playerConfig = {}, this.pluginName = "", this.__init(o);
|
|
4170
4173
|
}
|
|
4171
4174
|
return I(a, [{
|
|
4172
4175
|
key: "beforeCreate",
|
|
@@ -4330,7 +4333,7 @@ var He = /* @__PURE__ */ function() {
|
|
|
4330
4333
|
var r = this, t = this.player, e = this.pluginName;
|
|
4331
4334
|
this.offAll(), f.clearAllTimers(this), f.checkIsFunction(this.destroy) && this.destroy(), ["player", "playerConfig", "pluginName", "logger", "__args", "__hooks"].map(function(i) {
|
|
4332
4335
|
r[i] = null;
|
|
4333
|
-
}), t.unRegisterPlugin(e),
|
|
4336
|
+
}), t.unRegisterPlugin(e), qn(this);
|
|
4334
4337
|
}
|
|
4335
4338
|
}], [{
|
|
4336
4339
|
key: "defineGetterOrSetter",
|
|
@@ -4349,40 +4352,40 @@ var He = /* @__PURE__ */ function() {
|
|
|
4349
4352
|
return "pluginName";
|
|
4350
4353
|
}
|
|
4351
4354
|
}]), a;
|
|
4352
|
-
}(),
|
|
4355
|
+
}(), ya = 9;
|
|
4353
4356
|
if (typeof Element < "u" && !Element.prototype.matches) {
|
|
4354
4357
|
var qe = Element.prototype;
|
|
4355
4358
|
qe.matches = qe.matchesSelector || qe.mozMatchesSelector || qe.msMatchesSelector || qe.oMatchesSelector || qe.webkitMatchesSelector;
|
|
4356
4359
|
}
|
|
4357
|
-
function
|
|
4358
|
-
for (; a && a.nodeType !==
|
|
4360
|
+
function _a(a, o) {
|
|
4361
|
+
for (; a && a.nodeType !== ya; ) {
|
|
4359
4362
|
if (typeof a.matches == "function" && a.matches(o))
|
|
4360
4363
|
return a;
|
|
4361
4364
|
a = a.parentNode;
|
|
4362
4365
|
}
|
|
4363
4366
|
}
|
|
4364
|
-
var
|
|
4367
|
+
var ka = _a, Ca = ka;
|
|
4365
4368
|
function Gt(a, o, r, t, e) {
|
|
4366
|
-
var i =
|
|
4369
|
+
var i = ba.apply(this, arguments);
|
|
4367
4370
|
return a.addEventListener(r, i, e), {
|
|
4368
4371
|
destroy: function() {
|
|
4369
4372
|
a.removeEventListener(r, i, e);
|
|
4370
4373
|
}
|
|
4371
4374
|
};
|
|
4372
4375
|
}
|
|
4373
|
-
function
|
|
4376
|
+
function wa(a, o, r, t, e) {
|
|
4374
4377
|
return typeof a.addEventListener == "function" ? Gt.apply(null, arguments) : typeof r == "function" ? Gt.bind(null, document).apply(null, arguments) : (typeof a == "string" && (a = document.querySelectorAll(a)), Array.prototype.map.call(a, function(i) {
|
|
4375
4378
|
return Gt(i, o, r, t, e);
|
|
4376
4379
|
}));
|
|
4377
4380
|
}
|
|
4378
|
-
function
|
|
4381
|
+
function ba(a, o, r, t) {
|
|
4379
4382
|
return function(e) {
|
|
4380
|
-
e.delegateTarget =
|
|
4383
|
+
e.delegateTarget = Ca(e.target, o), e.delegateTarget && t.call(a, e);
|
|
4381
4384
|
};
|
|
4382
4385
|
}
|
|
4383
|
-
var
|
|
4384
|
-
const
|
|
4385
|
-
var
|
|
4386
|
+
var Ta = wa;
|
|
4387
|
+
const Qi = /* @__PURE__ */ di(Ta);
|
|
4388
|
+
var Ea = {
|
|
4386
4389
|
CONTROLS: "controls",
|
|
4387
4390
|
ROOT: "root"
|
|
4388
4391
|
}, $ = {
|
|
@@ -4395,22 +4398,22 @@ var Ta = {
|
|
|
4395
4398
|
CONTROLS_RIGHT: "controlsRight",
|
|
4396
4399
|
CONTROLS_CENTER: "controlsCenter",
|
|
4397
4400
|
CONTROLS: "controls"
|
|
4398
|
-
},
|
|
4401
|
+
}, en = {
|
|
4399
4402
|
ICON_DISABLE: "xg-icon-disable",
|
|
4400
4403
|
ICON_HIDE: "xg-icon-hide"
|
|
4401
4404
|
};
|
|
4402
4405
|
function $t(a) {
|
|
4403
4406
|
return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
|
|
4404
4407
|
}
|
|
4405
|
-
function
|
|
4408
|
+
function Sa(a, o) {
|
|
4406
4409
|
return ae(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
|
|
4407
4410
|
}
|
|
4408
|
-
function
|
|
4411
|
+
function xa(a, o) {
|
|
4409
4412
|
return ae(a) === "object" && a.attr && ae(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
|
|
4410
4413
|
o[r] = a.attr[r];
|
|
4411
4414
|
}), o;
|
|
4412
4415
|
}
|
|
4413
|
-
function
|
|
4416
|
+
function tn(a, o) {
|
|
4414
4417
|
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;
|
|
4415
4418
|
if (a instanceof window.Element)
|
|
4416
4419
|
return f.addClass(a, r), Object.keys(t).map(function(n) {
|
|
@@ -4428,14 +4431,14 @@ function en(a, o) {
|
|
|
4428
4431
|
}
|
|
4429
4432
|
return typeof a == "string" ? f.createDomFromHtml(a, t, r) : (H.logWarn("warn>>icons.".concat(o, " in config of plugin named [").concat(e, "] is invalid")), null);
|
|
4430
4433
|
}
|
|
4431
|
-
function
|
|
4434
|
+
function Ia(a, o) {
|
|
4432
4435
|
var r = o.config.icons || o.playerConfig.icons;
|
|
4433
4436
|
Object.keys(a).map(function(t) {
|
|
4434
4437
|
var e = a[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
|
|
4435
|
-
r && r[t] && (i =
|
|
4438
|
+
r && r[t] && (i = Sa(r[t], i), n = xa(r[t], n), s = tn(r[t], t, i, n, o.pluginName)), !s && e && (s = tn(e.icon ? e.icon : e, n, i, {}, o.pluginName)), o.icons[t] = s;
|
|
4436
4439
|
});
|
|
4437
4440
|
}
|
|
4438
|
-
function
|
|
4441
|
+
function Pa(a, o) {
|
|
4439
4442
|
Object.keys(a).map(function(r) {
|
|
4440
4443
|
Object.defineProperty(o.langText, r, {
|
|
4441
4444
|
get: function() {
|
|
@@ -4459,9 +4462,9 @@ var W = /* @__PURE__ */ function(a) {
|
|
|
4459
4462
|
var i = e.root, n = null;
|
|
4460
4463
|
this.icons = {}, this.root = null, this.parent = null;
|
|
4461
4464
|
var s = this.registerIcons() || {};
|
|
4462
|
-
|
|
4465
|
+
Ia(s, this), this.langText = {};
|
|
4463
4466
|
var l = this.registerLanguageTexts() || {};
|
|
4464
|
-
|
|
4467
|
+
Pa(l, this);
|
|
4465
4468
|
var u = "";
|
|
4466
4469
|
try {
|
|
4467
4470
|
u = this.render();
|
|
@@ -4532,12 +4535,12 @@ var W = /* @__PURE__ */ function(a) {
|
|
|
4532
4535
|
}, {
|
|
4533
4536
|
key: "disable",
|
|
4534
4537
|
value: function() {
|
|
4535
|
-
this.config.disable = !0, f.addClass(this.find(".xgplayer-icon"),
|
|
4538
|
+
this.config.disable = !0, f.addClass(this.find(".xgplayer-icon"), en.ICON_DISABLE);
|
|
4536
4539
|
}
|
|
4537
4540
|
}, {
|
|
4538
4541
|
key: "enable",
|
|
4539
4542
|
value: function() {
|
|
4540
|
-
this.config.disable = !1, f.removeClass(this.find(".xgplayer-icon"),
|
|
4543
|
+
this.config.disable = !1, f.removeClass(this.find(".xgplayer-icon"), en.ICON_DISABLE);
|
|
4541
4544
|
}
|
|
4542
4545
|
}, {
|
|
4543
4546
|
key: "children",
|
|
@@ -4718,11 +4721,11 @@ var W = /* @__PURE__ */ function(a) {
|
|
|
4718
4721
|
if (e instanceof window.Node && typeof s == "function")
|
|
4719
4722
|
if (Array.isArray(n))
|
|
4720
4723
|
n.forEach(function(h) {
|
|
4721
|
-
var d =
|
|
4724
|
+
var d = Qi(e, i, h, s, l);
|
|
4722
4725
|
d.key = "".concat(i, "_").concat(h), u.push(d);
|
|
4723
4726
|
});
|
|
4724
4727
|
else {
|
|
4725
|
-
var c =
|
|
4728
|
+
var c = Qi(e, i, n, s, l);
|
|
4726
4729
|
c.key = "".concat(i, "_").concat(n), u.push(c);
|
|
4727
4730
|
}
|
|
4728
4731
|
return u;
|
|
@@ -4730,7 +4733,7 @@ var W = /* @__PURE__ */ function(a) {
|
|
|
4730
4733
|
}, {
|
|
4731
4734
|
key: "ROOT_TYPES",
|
|
4732
4735
|
get: function() {
|
|
4733
|
-
return
|
|
4736
|
+
return Ea;
|
|
4734
4737
|
}
|
|
4735
4738
|
}, {
|
|
4736
4739
|
key: "POSITIONS",
|
|
@@ -4738,7 +4741,7 @@ var W = /* @__PURE__ */ function(a) {
|
|
|
4738
4741
|
return $;
|
|
4739
4742
|
}
|
|
4740
4743
|
}]), r;
|
|
4741
|
-
}(He),
|
|
4744
|
+
}(He), La = /* @__PURE__ */ function() {
|
|
4742
4745
|
function a() {
|
|
4743
4746
|
var o = this;
|
|
4744
4747
|
if (x(this, a), _(this, "__trigger", function(r) {
|
|
@@ -4748,7 +4751,7 @@ var W = /* @__PURE__ */ function(a) {
|
|
|
4748
4751
|
o.__runHandler(r[e].target);
|
|
4749
4752
|
}), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
|
|
4750
4753
|
try {
|
|
4751
|
-
this.observer = new window.ResizeObserver(
|
|
4754
|
+
this.observer = new window.ResizeObserver(ea(this.__trigger, 100, {
|
|
4752
4755
|
trailing: !0
|
|
4753
4756
|
})), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
|
|
4754
4757
|
} catch (r) {
|
|
@@ -4803,17 +4806,17 @@ var W = /* @__PURE__ */ function(a) {
|
|
|
4803
4806
|
}
|
|
4804
4807
|
}]), a;
|
|
4805
4808
|
}(), ct = null;
|
|
4806
|
-
function La(a, o) {
|
|
4807
|
-
return ct || (ct = new Pa()), ct.addObserver(a, o), ct;
|
|
4808
|
-
}
|
|
4809
4809
|
function Aa(a, o) {
|
|
4810
|
+
return ct || (ct = new La()), ct.addObserver(a, o), ct;
|
|
4811
|
+
}
|
|
4812
|
+
function Da(a, o) {
|
|
4810
4813
|
ct.unObserver(a, o);
|
|
4811
4814
|
}
|
|
4812
4815
|
var ie = {
|
|
4813
4816
|
pluginGroup: {},
|
|
4814
4817
|
init: function(o) {
|
|
4815
4818
|
var r = o._pluginInfoId;
|
|
4816
|
-
r || (r = (/* @__PURE__ */ new Date()).getTime(), o._pluginInfoId = r), !o.config.closeResizeObserver &&
|
|
4819
|
+
r || (r = (/* @__PURE__ */ new Date()).getTime(), o._pluginInfoId = r), !o.config.closeResizeObserver && Aa(o.root, function() {
|
|
4817
4820
|
o.resize();
|
|
4818
4821
|
}), this.pluginGroup[r] = {
|
|
4819
4822
|
_originalOptions: o.config || {},
|
|
@@ -4999,7 +5002,7 @@ var ie = {
|
|
|
4999
5002
|
destroy: function(o) {
|
|
5000
5003
|
var r = o._pluginInfoId;
|
|
5001
5004
|
if (this.pluginGroup[r]) {
|
|
5002
|
-
|
|
5005
|
+
Da(o.root);
|
|
5003
5006
|
for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
|
|
5004
5007
|
var n = i[e];
|
|
5005
5008
|
this.unRegister(r, n);
|
|
@@ -5038,7 +5041,7 @@ var ie = {
|
|
|
5038
5041
|
MOBILE: "xgplayer-mobile",
|
|
5039
5042
|
MINI: "xgplayer-mini"
|
|
5040
5043
|
};
|
|
5041
|
-
function
|
|
5044
|
+
function nn() {
|
|
5042
5045
|
return {
|
|
5043
5046
|
id: "",
|
|
5044
5047
|
el: null,
|
|
@@ -5085,7 +5088,7 @@ function tn() {
|
|
|
5085
5088
|
ignores: [],
|
|
5086
5089
|
whitelist: [],
|
|
5087
5090
|
inactive: 3e3,
|
|
5088
|
-
lang:
|
|
5091
|
+
lang: ta(),
|
|
5089
5092
|
controls: !0,
|
|
5090
5093
|
marginControls: !1,
|
|
5091
5094
|
fullscreenTarget: null,
|
|
@@ -5121,7 +5124,7 @@ function tn() {
|
|
|
5121
5124
|
}
|
|
5122
5125
|
};
|
|
5123
5126
|
}
|
|
5124
|
-
var
|
|
5127
|
+
var Oa = function(o, r) {
|
|
5125
5128
|
var t, e, i;
|
|
5126
5129
|
r.preset && r.options ? i = new r.preset(r.options, o.config) : i = new r({}, o.config);
|
|
5127
5130
|
var n = i, s = n.plugins, l = s === void 0 ? [] : s, u = n.ignores, c = u === void 0 ? [] : u, h = n.icons, d = h === void 0 ? {} : h, p = n.i18n, g = p === void 0 ? [] : p;
|
|
@@ -5130,7 +5133,7 @@ var Da = function(o, r) {
|
|
|
5130
5133
|
});
|
|
5131
5134
|
var m = o.config.i18n || [];
|
|
5132
5135
|
g.push.apply(g, ve(m)), o.config.i18n = g;
|
|
5133
|
-
},
|
|
5136
|
+
}, Ra = /* @__PURE__ */ function(a) {
|
|
5134
5137
|
A(r, a);
|
|
5135
5138
|
var o = D(r);
|
|
5136
5139
|
function r() {
|
|
@@ -5291,7 +5294,7 @@ var Da = function(o, r) {
|
|
|
5291
5294
|
};
|
|
5292
5295
|
}
|
|
5293
5296
|
}]), r;
|
|
5294
|
-
}(W),
|
|
5297
|
+
}(W), Fa = {
|
|
5295
5298
|
LANG: "en",
|
|
5296
5299
|
TEXT: {
|
|
5297
5300
|
ERROR_TYPES: {
|
|
@@ -5381,12 +5384,12 @@ function dt(a, o) {
|
|
|
5381
5384
|
t === "Object" ? (e !== "Object" && (a[r] = {}), dt(a[r], o[r])) : a[r] = o[r];
|
|
5382
5385
|
}), a;
|
|
5383
5386
|
}
|
|
5384
|
-
function
|
|
5387
|
+
function Zn() {
|
|
5385
5388
|
Object.keys(fe.lang.en).map(function(a) {
|
|
5386
5389
|
fe.textKeys[a] = a;
|
|
5387
5390
|
});
|
|
5388
5391
|
}
|
|
5389
|
-
function
|
|
5392
|
+
function Ma(a, o) {
|
|
5390
5393
|
var r = [];
|
|
5391
5394
|
if (o || (o = fe), !!o.lang) {
|
|
5392
5395
|
f.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
|
|
@@ -5399,17 +5402,17 @@ function Fa(a, o) {
|
|
|
5399
5402
|
var t = o, e = t.lang;
|
|
5400
5403
|
r.map(function(i) {
|
|
5401
5404
|
i.LANG === "zh" && (i.LANG = "zh-cn"), e[i.LANG] ? dt(e[i.LANG] || {}, i.TEXT || {}) : bi(i, o);
|
|
5402
|
-
}),
|
|
5405
|
+
}), Zn();
|
|
5403
5406
|
}
|
|
5404
5407
|
}
|
|
5405
5408
|
function bi(a, o) {
|
|
5406
5409
|
var r = a.LANG;
|
|
5407
5410
|
if (o || (o = fe), !!o.lang) {
|
|
5408
5411
|
var t = a.TEXT || {};
|
|
5409
|
-
r === "zh" && (r = "zh-cn"), o.lang[r] ? dt(o.lang[r], t) : (o.langKeys.push(r), o.lang[r] = t),
|
|
5412
|
+
r === "zh" && (r = "zh-cn"), o.lang[r] ? dt(o.lang[r], t) : (o.langKeys.push(r), o.lang[r] = t), Zn();
|
|
5410
5413
|
}
|
|
5411
5414
|
}
|
|
5412
|
-
function
|
|
5415
|
+
function Na(a) {
|
|
5413
5416
|
var o, r = {
|
|
5414
5417
|
lang: {},
|
|
5415
5418
|
langKeys: [],
|
|
@@ -5418,7 +5421,7 @@ function Ma(a) {
|
|
|
5418
5421
|
};
|
|
5419
5422
|
return dt(r.lang, fe.lang), (o = r.langKeys).push.apply(o, ve(fe.langKeys)), dt(r.textKeys, fe.textKeys), r;
|
|
5420
5423
|
}
|
|
5421
|
-
bi(
|
|
5424
|
+
bi(Fa);
|
|
5422
5425
|
var nt = {
|
|
5423
5426
|
get textKeys() {
|
|
5424
5427
|
return fe.textKeys;
|
|
@@ -5432,9 +5435,9 @@ var nt = {
|
|
|
5432
5435
|
a[o] = fe.lang[o];
|
|
5433
5436
|
}), fe.lang["zh-cn"] && (a.zh = fe.lang["zh-cn"] || {}), a;
|
|
5434
5437
|
},
|
|
5435
|
-
extend:
|
|
5438
|
+
extend: Ma,
|
|
5436
5439
|
use: bi,
|
|
5437
|
-
init:
|
|
5440
|
+
init: Na
|
|
5438
5441
|
}, V = {
|
|
5439
5442
|
INITIAL: 1,
|
|
5440
5443
|
READY: 2,
|
|
@@ -5444,7 +5447,7 @@ var nt = {
|
|
|
5444
5447
|
RUNNING: 6,
|
|
5445
5448
|
ENDED: 7,
|
|
5446
5449
|
DESTROYED: 8
|
|
5447
|
-
},
|
|
5450
|
+
}, rn = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], le = {}, Kt = null, Jn = /* @__PURE__ */ function(a) {
|
|
5448
5451
|
A(r, a);
|
|
5449
5452
|
var o = D(r);
|
|
5450
5453
|
function r() {
|
|
@@ -5530,8 +5533,8 @@ var nt = {
|
|
|
5530
5533
|
return Kt || (Kt = new r()), Kt;
|
|
5531
5534
|
}
|
|
5532
5535
|
}]), r;
|
|
5533
|
-
}(
|
|
5534
|
-
function
|
|
5536
|
+
}(Pn.EventEmitter);
|
|
5537
|
+
function Ba(a) {
|
|
5535
5538
|
for (var o = Object.keys(le), r = 0; r < o.length; r++) {
|
|
5536
5539
|
var t = le[o[r]];
|
|
5537
5540
|
if (t.root === a)
|
|
@@ -5539,13 +5542,13 @@ function Na(a) {
|
|
|
5539
5542
|
}
|
|
5540
5543
|
return null;
|
|
5541
5544
|
}
|
|
5542
|
-
var
|
|
5545
|
+
var Ha = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /* @__PURE__ */ function(a) {
|
|
5543
5546
|
A(r, a);
|
|
5544
5547
|
var o = D(r);
|
|
5545
5548
|
function r(t) {
|
|
5546
5549
|
var e;
|
|
5547
5550
|
x(this, r);
|
|
5548
|
-
var i = f.deepMerge(
|
|
5551
|
+
var i = f.deepMerge(nn(), t);
|
|
5549
5552
|
e = o.call(this, i), _(v(e), "canPlayFunc", function() {
|
|
5550
5553
|
if (e.config) {
|
|
5551
5554
|
var g = e.config, m = g.autoplay, y = g.defaultPlaybackRate;
|
|
@@ -5569,7 +5572,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
5569
5572
|
to: !1
|
|
5570
5573
|
}]
|
|
5571
5574
|
});
|
|
5572
|
-
var b =
|
|
5575
|
+
var b = ia(C, e.playerId, We);
|
|
5573
5576
|
if (m || C && (C === e._fullscreenEl || b))
|
|
5574
5577
|
y(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, k.FULLSCREEN), e.emit(be, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
|
|
5575
5578
|
else if (e.fullscreen) {
|
|
@@ -5589,7 +5592,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
5589
5592
|
e._fullscreenEl = e.media, e.onFullscreenChange(g, !0);
|
|
5590
5593
|
}), _(v(e), "_onWebkitendfullscreen", function(g) {
|
|
5591
5594
|
e.onFullscreenChange(g, !1);
|
|
5592
|
-
}),
|
|
5595
|
+
}), Xn(v(e), Ha), e.config = i, e._pluginInfoId = f.generateSessionId(), qo(v(e));
|
|
5593
5596
|
var n = e.constructor.defaultPreset;
|
|
5594
5597
|
if (e.config.presets.length) {
|
|
5595
5598
|
var s = e.config.presets.indexOf("default");
|
|
@@ -5618,7 +5621,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
5618
5621
|
}, e._offsetInfo = {
|
|
5619
5622
|
currentTime: -1,
|
|
5620
5623
|
duration: 0
|
|
5621
|
-
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = nt.init(e._pluginInfoId), B.os.isAndroid && B.osVersion > 0 && B.osVersion < 6 && (e.config.autoplay = !1), e.database = new
|
|
5624
|
+
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = nt.init(e._pluginInfoId), B.os.isAndroid && B.osVersion > 0 && B.osVersion < 6 && (e.config.autoplay = !1), e.database = new ma(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
|
|
5622
5625
|
isActiveLocked: !1
|
|
5623
5626
|
}, e.instManager = De;
|
|
5624
5627
|
var l = e._initDOM();
|
|
@@ -5650,7 +5653,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
5650
5653
|
msg: "container id can't be empty"
|
|
5651
5654
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
5652
5655
|
}
|
|
5653
|
-
var s =
|
|
5656
|
+
var s = Ba(this.root);
|
|
5654
5657
|
s && (H.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(We, this.playerId), (e = De) === null || e === void 0 || e.add(this), ie.init(this), this._initBaseDoms();
|
|
5655
5658
|
var l = this.constructor.XgVideoProxy;
|
|
5656
5659
|
if (l && this.mediaConfig.mediaType === l.mediaType) {
|
|
@@ -5660,7 +5663,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
5660
5663
|
this.attachVideoEvents(c), this.media = c;
|
|
5661
5664
|
}
|
|
5662
5665
|
if (this.media.setAttribute(We, this.playerId), this.config.controls) {
|
|
5663
|
-
var h = this.config.controls.root || null, d = ie.register(this,
|
|
5666
|
+
var h = this.config.controls.root || null, d = ie.register(this, Ra, {
|
|
5664
5667
|
root: h
|
|
5665
5668
|
});
|
|
5666
5669
|
this.controls = d;
|
|
@@ -5698,7 +5701,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
5698
5701
|
var e = this;
|
|
5699
5702
|
["focus", "blur"].forEach(function(i) {
|
|
5700
5703
|
e.on(i, e["on" + i.charAt(0).toUpperCase() + i.slice(1)]);
|
|
5701
|
-
}),
|
|
5704
|
+
}), Yi.forEach(function(i) {
|
|
5702
5705
|
document && document.addEventListener(i, e.onFullscreenChange);
|
|
5703
5706
|
}), B.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(Ie, this.resize), this.playFunc = function() {
|
|
5704
5707
|
e.config.closeFocusVideoFocus || e.media.focus();
|
|
@@ -5708,7 +5711,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
5708
5711
|
key: "_unbindEvents",
|
|
5709
5712
|
value: function() {
|
|
5710
5713
|
var e = this;
|
|
5711
|
-
this.root.removeEventListener("mousemove", this.mousemoveFunc),
|
|
5714
|
+
this.root.removeEventListener("mousemove", this.mousemoveFunc), Yi.forEach(function(i) {
|
|
5712
5715
|
document.removeEventListener(i, e.onFullscreenChange);
|
|
5713
5716
|
}), this.playFunc && this.off(de, this.playFunc), this.off(Se, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
|
|
5714
5717
|
}
|
|
@@ -5721,7 +5724,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
5721
5724
|
key: "_startInit",
|
|
5722
5725
|
value: function(e) {
|
|
5723
5726
|
var i = this;
|
|
5724
|
-
if (this.media && !((!e || e === "" || f.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(
|
|
5727
|
+
if (this.media && !((!e || e === "" || f.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(Mn), H.logWarn("config.url is null, please get url and run player._startInit(url)"), this.config.nullUrlStart))) {
|
|
5725
5728
|
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);
|
|
5726
5729
|
var n = this.innerContainer ? this.innerContainer : this.root;
|
|
5727
5730
|
this.media instanceof window.Element && !n.contains(this.media) && n.insertBefore(this.media, n.firstChild);
|
|
@@ -5768,7 +5771,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
5768
5771
|
value: function() {
|
|
5769
5772
|
var e = this;
|
|
5770
5773
|
this.config.presets.forEach(function(i) {
|
|
5771
|
-
|
|
5774
|
+
Oa(e, i);
|
|
5772
5775
|
});
|
|
5773
5776
|
}
|
|
5774
5777
|
}, {
|
|
@@ -6033,7 +6036,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
6033
6036
|
if (s && (i.map(function(u) {
|
|
6034
6037
|
e.deregister(u);
|
|
6035
6038
|
}), n)) {
|
|
6036
|
-
var l =
|
|
6039
|
+
var l = nn();
|
|
6037
6040
|
Object.keys(this.config).keys(function(u) {
|
|
6038
6041
|
e.config[u] !== "undefined" && (u === "plugins" || u === "presets" || u === "el" || u === "id") && (e.config[u] = l[u]);
|
|
6039
6042
|
});
|
|
@@ -6044,7 +6047,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
6044
6047
|
value: function() {
|
|
6045
6048
|
var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
|
|
6046
6049
|
if (!(!s || !l)) {
|
|
6047
|
-
if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(We), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(Ci), (e = De) === null || e === void 0 || e.remove(this), ie.destroy(this),
|
|
6050
|
+
if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(We), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(Ci), (e = De) === null || e === void 0 || e.remove(this), ie.destroy(this), qn(this), F(O(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
|
|
6048
6051
|
for (var u = n.children, c = 0; c < u.length; c++)
|
|
6049
6052
|
n.removeChild(u[c]);
|
|
6050
6053
|
!n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(d) {
|
|
@@ -6106,8 +6109,8 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
6106
6109
|
if (s === this._fullscreenEl)
|
|
6107
6110
|
return this.onFullscreenChange(), Promise.resolve();
|
|
6108
6111
|
try {
|
|
6109
|
-
for (var l = 0; l <
|
|
6110
|
-
var u =
|
|
6112
|
+
for (var l = 0; l < Xi.length; l++) {
|
|
6113
|
+
var u = Xi[l];
|
|
6111
6114
|
if (e[u]) {
|
|
6112
6115
|
var c = u === "webkitRequestFullscreen" ? e.webkitRequestFullscreen(window.Element.ALLOW_KEYBOARD_INPUT) : e[u]();
|
|
6113
6116
|
return c && c.then ? c : Promise.resolve();
|
|
@@ -6126,8 +6129,8 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
6126
6129
|
var i = this.media;
|
|
6127
6130
|
this._fullActionFrom = "exit";
|
|
6128
6131
|
try {
|
|
6129
|
-
for (var n = 0; n <
|
|
6130
|
-
var s =
|
|
6132
|
+
for (var n = 0; n < qi.length; n++) {
|
|
6133
|
+
var s = qi[n];
|
|
6131
6134
|
if (document[s]) {
|
|
6132
6135
|
var l = document[s]();
|
|
6133
6136
|
return l && l.then ? l : Promise.resolve();
|
|
@@ -6206,7 +6209,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
6206
6209
|
this.onBlur(e);
|
|
6207
6210
|
return;
|
|
6208
6211
|
}
|
|
6209
|
-
this._clearUserTimer(), this.emit(
|
|
6212
|
+
this._clearUserTimer(), this.emit(Fn, q({
|
|
6210
6213
|
paused: this.paused,
|
|
6211
6214
|
ended: this.ended
|
|
6212
6215
|
}, e));
|
|
@@ -6291,7 +6294,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
6291
6294
|
value: function() {
|
|
6292
6295
|
var e = this;
|
|
6293
6296
|
this.waitTimer && f.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = f.setTimeout(this, function() {
|
|
6294
|
-
e.addClass(k.LOADING), e.emit(
|
|
6297
|
+
e.addClass(k.LOADING), e.emit(Hn), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
|
|
6295
6298
|
}, this.config.minWaitDelay);
|
|
6296
6299
|
}
|
|
6297
6300
|
}, {
|
|
@@ -6451,7 +6454,7 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
6451
6454
|
}, {
|
|
6452
6455
|
key: "setState",
|
|
6453
6456
|
value: function(e) {
|
|
6454
|
-
H.logInfo("setState", "state from:".concat(
|
|
6457
|
+
H.logInfo("setState", "state from:".concat(rn[this.state], " to:").concat(rn[e])), this._state = e;
|
|
6455
6458
|
}
|
|
6456
6459
|
}, {
|
|
6457
6460
|
key: "_preProcessUrl",
|
|
@@ -6617,18 +6620,18 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
6617
6620
|
}, {
|
|
6618
6621
|
key: "avgSpeed",
|
|
6619
6622
|
get: function() {
|
|
6620
|
-
return
|
|
6623
|
+
return on;
|
|
6621
6624
|
},
|
|
6622
6625
|
set: function(e) {
|
|
6623
|
-
|
|
6626
|
+
on = e;
|
|
6624
6627
|
}
|
|
6625
6628
|
}, {
|
|
6626
6629
|
key: "realTimeSpeed",
|
|
6627
6630
|
get: function() {
|
|
6628
|
-
return
|
|
6631
|
+
return sn;
|
|
6629
6632
|
},
|
|
6630
6633
|
set: function(e) {
|
|
6631
|
-
|
|
6634
|
+
sn = e;
|
|
6632
6635
|
}
|
|
6633
6636
|
}, {
|
|
6634
6637
|
key: "offsetCurrentTime",
|
|
@@ -6666,14 +6669,14 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
6666
6669
|
value: function(e, i, n) {
|
|
6667
6670
|
for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
|
|
6668
6671
|
l[u - 3] = arguments[u];
|
|
6669
|
-
return
|
|
6672
|
+
return Zi.call.apply(Zi, [this].concat(Array.prototype.slice.call(arguments)));
|
|
6670
6673
|
}
|
|
6671
6674
|
}, {
|
|
6672
6675
|
key: "removePluginHooks",
|
|
6673
6676
|
value: function(e, i, n) {
|
|
6674
6677
|
for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
|
|
6675
6678
|
l[u - 3] = arguments[u];
|
|
6676
|
-
return
|
|
6679
|
+
return Ji.call.apply(Ji, [this].concat(Array.prototype.slice.call(arguments)));
|
|
6677
6680
|
}
|
|
6678
6681
|
}, {
|
|
6679
6682
|
key: "setUserActive",
|
|
@@ -6730,10 +6733,10 @@ var Ba = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, De = null, Nt = /
|
|
|
6730
6733
|
r.plugins || (r.plugins = {}), r.plugins[e] = i;
|
|
6731
6734
|
}
|
|
6732
6735
|
}]), r;
|
|
6733
|
-
}(
|
|
6736
|
+
}(va);
|
|
6734
6737
|
_(Nt, "defaultPreset", null);
|
|
6735
6738
|
_(Nt, "XgVideoProxy", null);
|
|
6736
|
-
Nt.instManager =
|
|
6739
|
+
Nt.instManager = Jn.getInstance();
|
|
6737
6740
|
function re() {
|
|
6738
6741
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
6739
6742
|
}
|
|
@@ -6745,7 +6748,7 @@ var Oe = {
|
|
|
6745
6748
|
WAIT_END: "waitingEnd",
|
|
6746
6749
|
SEEK_START: "seekStart",
|
|
6747
6750
|
SEEK_END: "seekEnd"
|
|
6748
|
-
},
|
|
6751
|
+
}, Ua = /* @__PURE__ */ function(a) {
|
|
6749
6752
|
A(r, a);
|
|
6750
6753
|
var o = D(r);
|
|
6751
6754
|
function r() {
|
|
@@ -6872,7 +6875,7 @@ var Oe = {
|
|
|
6872
6875
|
key: "emitLog",
|
|
6873
6876
|
value: function(e, i) {
|
|
6874
6877
|
var n = this.player;
|
|
6875
|
-
this.emit(
|
|
6878
|
+
this.emit(jn, q({
|
|
6876
6879
|
t: re(),
|
|
6877
6880
|
host: f.getHostFromUrl(n.currentSrc),
|
|
6878
6881
|
vtype: n.vtype,
|
|
@@ -6896,13 +6899,13 @@ var Oe = {
|
|
|
6896
6899
|
}
|
|
6897
6900
|
}]), r;
|
|
6898
6901
|
}(W);
|
|
6899
|
-
function
|
|
6902
|
+
function za() {
|
|
6900
6903
|
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">
|
|
6901
6904
|
<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>
|
|
6902
6905
|
</svg>
|
|
6903
6906
|
`, "image/svg+xml").firstChild;
|
|
6904
6907
|
}
|
|
6905
|
-
var
|
|
6908
|
+
var Va = /* @__PURE__ */ function(a) {
|
|
6906
6909
|
A(r, a);
|
|
6907
6910
|
var o = D(r);
|
|
6908
6911
|
function r() {
|
|
@@ -6912,7 +6915,7 @@ var za = /* @__PURE__ */ function(a) {
|
|
|
6912
6915
|
key: "registerIcons",
|
|
6913
6916
|
value: function() {
|
|
6914
6917
|
return {
|
|
6915
|
-
replay:
|
|
6918
|
+
replay: za
|
|
6916
6919
|
};
|
|
6917
6920
|
}
|
|
6918
6921
|
}, {
|
|
@@ -6985,7 +6988,7 @@ var za = /* @__PURE__ */ function(a) {
|
|
|
6985
6988
|
};
|
|
6986
6989
|
}
|
|
6987
6990
|
}]), r;
|
|
6988
|
-
}(W),
|
|
6991
|
+
}(W), ja = /* @__PURE__ */ function(a) {
|
|
6989
6992
|
A(r, a);
|
|
6990
6993
|
var o = D(r);
|
|
6991
6994
|
function r() {
|
|
@@ -7110,7 +7113,7 @@ function Ei() {
|
|
|
7110
7113
|
`, "image/svg+xml").firstChild;
|
|
7111
7114
|
}
|
|
7112
7115
|
var Ce = {};
|
|
7113
|
-
function
|
|
7116
|
+
function Wa(a, o) {
|
|
7114
7117
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
7115
7118
|
start: null,
|
|
7116
7119
|
end: null
|
|
@@ -7119,7 +7122,7 @@ function ja(a, o) {
|
|
|
7119
7122
|
r.end && r.end(), window.clearTimeout(Ce[a].id), delete Ce[a];
|
|
7120
7123
|
}, o), Ce[a].id;
|
|
7121
7124
|
}
|
|
7122
|
-
function
|
|
7125
|
+
function an(a) {
|
|
7123
7126
|
if (a) {
|
|
7124
7127
|
window.clearTimeout(a);
|
|
7125
7128
|
return;
|
|
@@ -7128,7 +7131,7 @@ function on(a) {
|
|
|
7128
7131
|
window.clearTimeout(Ce[o].id), delete Ce[o];
|
|
7129
7132
|
});
|
|
7130
7133
|
}
|
|
7131
|
-
var
|
|
7134
|
+
var Ga = /* @__PURE__ */ function(a) {
|
|
7132
7135
|
A(r, a);
|
|
7133
7136
|
var o = D(r);
|
|
7134
7137
|
function r(t) {
|
|
@@ -7220,7 +7223,7 @@ var Wa = /* @__PURE__ */ function(a) {
|
|
|
7220
7223
|
key: "animate",
|
|
7221
7224
|
value: function(e) {
|
|
7222
7225
|
var i = this;
|
|
7223
|
-
this._animateId =
|
|
7226
|
+
this._animateId = Wa("pauseplay", 400, {
|
|
7224
7227
|
start: function() {
|
|
7225
7228
|
f.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
|
|
7226
7229
|
},
|
|
@@ -7232,7 +7235,7 @@ var Wa = /* @__PURE__ */ function(a) {
|
|
|
7232
7235
|
}, {
|
|
7233
7236
|
key: "endAnimate",
|
|
7234
7237
|
value: function() {
|
|
7235
|
-
f.removeClass(this.root, "interact"),
|
|
7238
|
+
f.removeClass(this.root, "interact"), an(this._animateId), this._animateId = null;
|
|
7236
7239
|
}
|
|
7237
7240
|
}, {
|
|
7238
7241
|
key: "switchPausePlay",
|
|
@@ -7276,7 +7279,7 @@ var Wa = /* @__PURE__ */ function(a) {
|
|
|
7276
7279
|
}, {
|
|
7277
7280
|
key: "destroy",
|
|
7278
7281
|
value: function() {
|
|
7279
|
-
this.unbind(["click", "touchend"], this.clickHandler),
|
|
7282
|
+
this.unbind(["click", "touchend"], this.clickHandler), an(this._animateId);
|
|
7280
7283
|
}
|
|
7281
7284
|
}, {
|
|
7282
7285
|
key: "render",
|
|
@@ -7303,7 +7306,7 @@ var Wa = /* @__PURE__ */ function(a) {
|
|
|
7303
7306
|
};
|
|
7304
7307
|
}
|
|
7305
7308
|
}]), r;
|
|
7306
|
-
}(W),
|
|
7309
|
+
}(W), $a = /* @__PURE__ */ function(a) {
|
|
7307
7310
|
A(r, a);
|
|
7308
7311
|
var o = D(r);
|
|
7309
7312
|
function r() {
|
|
@@ -7348,7 +7351,7 @@ function ze(a, o, r) {
|
|
|
7348
7351
|
return '<div class="xg-tips hide"></div>';
|
|
7349
7352
|
}
|
|
7350
7353
|
}
|
|
7351
|
-
var
|
|
7354
|
+
var ln = /* @__PURE__ */ function(a) {
|
|
7352
7355
|
A(r, a);
|
|
7353
7356
|
var o = D(r);
|
|
7354
7357
|
function r() {
|
|
@@ -7398,12 +7401,12 @@ var an = /* @__PURE__ */ function(a) {
|
|
|
7398
7401
|
}
|
|
7399
7402
|
}]), r;
|
|
7400
7403
|
}(W);
|
|
7401
|
-
function
|
|
7404
|
+
function un(a) {
|
|
7402
7405
|
var o = parseFloat(a), r = a.indexOf("%") === -1 && !Number.isNaN(o);
|
|
7403
7406
|
return r && o;
|
|
7404
7407
|
}
|
|
7405
|
-
var Si = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"],
|
|
7406
|
-
function
|
|
7408
|
+
var Si = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Qn = Si.length;
|
|
7409
|
+
function Ka() {
|
|
7407
7410
|
for (var a = {
|
|
7408
7411
|
width: 0,
|
|
7409
7412
|
height: 0,
|
|
@@ -7411,30 +7414,30 @@ function $a() {
|
|
|
7411
7414
|
innerHeight: 0,
|
|
7412
7415
|
outerWidth: 0,
|
|
7413
7416
|
outerHeight: 0
|
|
7414
|
-
}, o = 0; o <
|
|
7417
|
+
}, o = 0; o < Qn; o++) {
|
|
7415
7418
|
var r = Si[o];
|
|
7416
7419
|
a[r] = 0;
|
|
7417
7420
|
}
|
|
7418
7421
|
return a;
|
|
7419
7422
|
}
|
|
7420
|
-
function
|
|
7423
|
+
function Ya(a) {
|
|
7421
7424
|
var o = window.getComputedStyle(a);
|
|
7422
7425
|
return o;
|
|
7423
7426
|
}
|
|
7424
|
-
function
|
|
7427
|
+
function cn(a) {
|
|
7425
7428
|
if (typeof a == "string" && (a = document.querySelector(a)), !(!a || ae(a) !== "object" || !a.nodeType)) {
|
|
7426
|
-
var o =
|
|
7429
|
+
var o = Ya(a);
|
|
7427
7430
|
if (o.display === "none")
|
|
7428
|
-
return
|
|
7431
|
+
return Ka();
|
|
7429
7432
|
var r = {};
|
|
7430
7433
|
r.width = a.offsetWidth, r.height = a.offsetHeight;
|
|
7431
|
-
for (var t = r.isBorderBox = o.boxSizing === "border-box", e = 0; e <
|
|
7434
|
+
for (var t = r.isBorderBox = o.boxSizing === "border-box", e = 0; e < Qn; e++) {
|
|
7432
7435
|
var i = Si[e], n = o[i], s = parseFloat(n);
|
|
7433
7436
|
r[i] = Number.isNaN(s) ? 0 : s;
|
|
7434
7437
|
}
|
|
7435
|
-
var l = r.paddingLeft + r.paddingRight, u = r.paddingTop + r.paddingBottom, c = r.marginLeft + r.marginRight, h = r.marginTop + r.marginBottom, d = r.borderLeftWidth + r.borderRightWidth, p = r.borderTopWidth + r.borderBottomWidth, g = t, m =
|
|
7438
|
+
var l = r.paddingLeft + r.paddingRight, u = r.paddingTop + r.paddingBottom, c = r.marginLeft + r.marginRight, h = r.marginTop + r.marginBottom, d = r.borderLeftWidth + r.borderRightWidth, p = r.borderTopWidth + r.borderBottomWidth, g = t, m = un(o.width);
|
|
7436
7439
|
m !== !1 && (r.width = m + (g ? 0 : l + d));
|
|
7437
|
-
var y =
|
|
7440
|
+
var y = un(o.height);
|
|
7438
7441
|
return y !== !1 && (r.height = y + (g ? 0 : u + p)), r.innerWidth = r.width - (l + d), r.innerHeight = r.height - (u + p), r.outerWidth = r.width + c, r.outerHeight = r.height + h, r;
|
|
7439
7442
|
}
|
|
7440
7443
|
}
|
|
@@ -7449,11 +7452,11 @@ var Xt = {
|
|
|
7449
7452
|
START: "dragStart",
|
|
7450
7453
|
MOVE: "dragMove",
|
|
7451
7454
|
ENDED: "dragEnded"
|
|
7452
|
-
},
|
|
7455
|
+
}, fn = {
|
|
7453
7456
|
mousedown: ["mousemove", "mouseup"],
|
|
7454
7457
|
touchstart: ["touchmove", "touchend", "touchcancel"],
|
|
7455
7458
|
pointerdown: ["pointermove", "pointerup", "pointercancel"]
|
|
7456
|
-
},
|
|
7459
|
+
}, Xa = /* @__PURE__ */ function(a) {
|
|
7457
7460
|
A(r, a);
|
|
7458
7461
|
var o = D(r);
|
|
7459
7462
|
function r(t) {
|
|
@@ -7470,7 +7473,7 @@ var Xt = {
|
|
|
7470
7473
|
key: "_bindStartEvent",
|
|
7471
7474
|
value: function() {
|
|
7472
7475
|
var e = this;
|
|
7473
|
-
"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)]),
|
|
7476
|
+
"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)]), fn[this._startKey].map(function(i) {
|
|
7474
7477
|
e["on".concat(i)] = e["on".concat(i)].bind(e);
|
|
7475
7478
|
});
|
|
7476
7479
|
}
|
|
@@ -7484,7 +7487,7 @@ var Xt = {
|
|
|
7484
7487
|
value: function(e) {
|
|
7485
7488
|
var i = this;
|
|
7486
7489
|
if (e) {
|
|
7487
|
-
var n =
|
|
7490
|
+
var n = fn[this._startKey];
|
|
7488
7491
|
n.map(function(s) {
|
|
7489
7492
|
window.addEventListener(s, i["on".concat(s)]);
|
|
7490
7493
|
}), this._boundPointerEvents = n;
|
|
@@ -7576,7 +7579,7 @@ var Xt = {
|
|
|
7576
7579
|
value: function(e, i) {
|
|
7577
7580
|
if (!(!this._root || this.isDown || !this.isEnabled)) {
|
|
7578
7581
|
this.downPoint = i, this.dragPoint.x = 0, this.dragPoint.y = 0, this._getPosition();
|
|
7579
|
-
var n =
|
|
7582
|
+
var n = cn(this._root);
|
|
7580
7583
|
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);
|
|
7581
7584
|
}
|
|
7582
7585
|
}
|
|
@@ -7657,13 +7660,13 @@ var Xt = {
|
|
|
7657
7660
|
key: "_getPositionCoord",
|
|
7658
7661
|
value: function(e, i) {
|
|
7659
7662
|
if (e.indexOf("%") !== -1) {
|
|
7660
|
-
var n =
|
|
7663
|
+
var n = cn(this._root.parentNode);
|
|
7661
7664
|
return n ? parseFloat(e) / 100 * n[i] : 0;
|
|
7662
7665
|
}
|
|
7663
7666
|
return parseInt(e, 10);
|
|
7664
7667
|
}
|
|
7665
7668
|
}]), r;
|
|
7666
|
-
}(
|
|
7669
|
+
}(Ln), qa = /* @__PURE__ */ function(a) {
|
|
7667
7670
|
A(r, a);
|
|
7668
7671
|
var o = D(r);
|
|
7669
7672
|
function r(t) {
|
|
@@ -7716,10 +7719,10 @@ var Xt = {
|
|
|
7716
7719
|
}
|
|
7717
7720
|
}
|
|
7718
7721
|
};
|
|
7719
|
-
i.controls.registerPlugin(
|
|
7722
|
+
i.controls.registerPlugin(ln, s, ln.pluginName);
|
|
7720
7723
|
}
|
|
7721
7724
|
var l = f.checkTouchSupport() ? "touchend" : "click";
|
|
7722
|
-
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new
|
|
7725
|
+
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Xa(this.player.root, {
|
|
7723
7726
|
handle: this.root
|
|
7724
7727
|
})), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
|
|
7725
7728
|
}
|
|
@@ -7834,7 +7837,7 @@ var Xt = {
|
|
|
7834
7837
|
var l = v(t), u = l.playerConfig, c = l.player;
|
|
7835
7838
|
!u.closeFocusVideoFocus && c.media.focus(), u.closeDelayBlur ? c.focus({
|
|
7836
7839
|
autoHide: !1
|
|
7837
|
-
}) : c.focus(), t.emit(
|
|
7840
|
+
}) : c.focus(), t.emit(Bn);
|
|
7838
7841
|
}), _(v(t), "onMouseLeave", function(s) {
|
|
7839
7842
|
var l = t.playerConfig, u = l.closePlayerBlur, c = l.leavePlayerTime, h = l.closeDelayBlur;
|
|
7840
7843
|
!u && !h && (c ? t.player.focus({
|
|
@@ -7842,7 +7845,7 @@ var Xt = {
|
|
|
7842
7845
|
delay: c
|
|
7843
7846
|
}) : t.player.blur({
|
|
7844
7847
|
ignorePaused: !0
|
|
7845
|
-
})), t.emit(
|
|
7848
|
+
})), t.emit(Nn);
|
|
7846
7849
|
}), _(v(t), "onVideoClick", function(s) {
|
|
7847
7850
|
var l = v(t), u = l.player, c = l.playerConfig;
|
|
7848
7851
|
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() {
|
|
@@ -7933,21 +7936,21 @@ var Xt = {
|
|
|
7933
7936
|
TOUCH_MOVE: "touchmove",
|
|
7934
7937
|
TOUCH_START: "touchstart",
|
|
7935
7938
|
TOUCH_END: "touchend"
|
|
7936
|
-
},
|
|
7939
|
+
}, Za = {
|
|
7937
7940
|
start: "touchstart",
|
|
7938
7941
|
end: "touchend",
|
|
7939
7942
|
move: "touchmove",
|
|
7940
7943
|
cancel: "touchcancel"
|
|
7941
|
-
},
|
|
7944
|
+
}, Ja = {
|
|
7942
7945
|
start: "mousedown",
|
|
7943
7946
|
end: "mouseup",
|
|
7944
7947
|
move: "mousemove",
|
|
7945
7948
|
cancel: "mouseleave"
|
|
7946
7949
|
};
|
|
7947
|
-
function
|
|
7950
|
+
function hn(a) {
|
|
7948
7951
|
return a && a.length > 0 ? a[a.length - 1] : null;
|
|
7949
7952
|
}
|
|
7950
|
-
function
|
|
7953
|
+
function Qa() {
|
|
7951
7954
|
return {
|
|
7952
7955
|
pressDelay: 600,
|
|
7953
7956
|
dbClickDelay: 200,
|
|
@@ -7957,13 +7960,13 @@ function Ja() {
|
|
|
7957
7960
|
needPreventDefault: !0
|
|
7958
7961
|
};
|
|
7959
7962
|
}
|
|
7960
|
-
var
|
|
7963
|
+
var el = /* @__PURE__ */ function() {
|
|
7961
7964
|
function a(o) {
|
|
7962
7965
|
var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
7963
7966
|
eventType: "touch"
|
|
7964
7967
|
};
|
|
7965
7968
|
x(this, a), _(this, "onTouchStart", function(e) {
|
|
7966
|
-
var i = r._pos, n = r.root, s =
|
|
7969
|
+
var i = r._pos, n = r.root, s = hn(e.touches);
|
|
7967
7970
|
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(Re.TOUCH_START, e);
|
|
7968
7971
|
}), _(this, "onTouchCancel", function(e) {
|
|
7969
7972
|
r.onTouchEnd(e);
|
|
@@ -7971,16 +7974,16 @@ var Qa = /* @__PURE__ */ function() {
|
|
|
7971
7974
|
var i = r._pos, n = r.root;
|
|
7972
7975
|
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(Re.PRESS_END, e), r.trigger(Re.TOUCH_END, e), !i.press && !i.moving && r.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
|
|
7973
7976
|
}), _(this, "onTouchMove", function(e) {
|
|
7974
|
-
var i = r._pos, n = r.config, s =
|
|
7977
|
+
var i = r._pos, n = r.config, s = hn(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;
|
|
7975
7978
|
Math.abs(h) < n.miniStep && Math.abs(c) < n.miniStep || (r.__clearPress(), i.press && r.trigger(Re.PRESS_END, e), i.press = !1, i.moving = !0, r.trigger(Re.TOUCH_MOVE, e));
|
|
7976
7979
|
}), this._pos = {
|
|
7977
7980
|
moving: !1,
|
|
7978
7981
|
start: !1,
|
|
7979
7982
|
x: 0,
|
|
7980
7983
|
y: 0
|
|
7981
|
-
}, this.config =
|
|
7984
|
+
}, this.config = Qa(), Object.keys(t).map(function(e) {
|
|
7982
7985
|
r.config[e] = t[e];
|
|
7983
|
-
}), this.root = o, this.events = t.eventType === "mouse" ?
|
|
7986
|
+
}), this.root = o, this.events = t.eventType === "mouse" ? Ja : Za, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
|
|
7984
7987
|
}
|
|
7985
7988
|
return I(a, [{
|
|
7986
7989
|
key: "_initEvent",
|
|
@@ -8059,7 +8062,7 @@ var Qa = /* @__PURE__ */ function() {
|
|
|
8059
8062
|
}
|
|
8060
8063
|
}]), a;
|
|
8061
8064
|
}();
|
|
8062
|
-
function
|
|
8065
|
+
function tl() {
|
|
8063
8066
|
return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
8064
8067
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
8065
8068
|
<path opacity="0.54"
|
|
@@ -8073,7 +8076,7 @@ var Ze = {
|
|
|
8073
8076
|
SEEKING: "seeking",
|
|
8074
8077
|
PLAYBACK: "playbackrate",
|
|
8075
8078
|
LIGHT: ""
|
|
8076
|
-
}, Jt = ["videoClick", "videoDbClick"],
|
|
8079
|
+
}, Jt = ["videoClick", "videoDbClick"], il = /* @__PURE__ */ function(a) {
|
|
8077
8080
|
A(r, a);
|
|
8078
8081
|
var o = D(r);
|
|
8079
8082
|
function r(t) {
|
|
@@ -8145,7 +8148,7 @@ var Ze = {
|
|
|
8145
8148
|
value: function() {
|
|
8146
8149
|
return {
|
|
8147
8150
|
seekTipIcon: {
|
|
8148
|
-
icon:
|
|
8151
|
+
icon: tl,
|
|
8149
8152
|
class: "xg-seek-pre"
|
|
8150
8153
|
}
|
|
8151
8154
|
};
|
|
@@ -8160,7 +8163,7 @@ var Ze = {
|
|
|
8160
8163
|
var i = this.playerConfig, n = this.config, s = this.player;
|
|
8161
8164
|
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();
|
|
8162
8165
|
var l = this.domEventType === "mouse" ? "mouse" : "touch";
|
|
8163
|
-
this.touch = new
|
|
8166
|
+
this.touch = new el(this.root, {
|
|
8164
8167
|
eventType: l,
|
|
8165
8168
|
needPreventDefault: !this.config.disableGesture
|
|
8166
8169
|
}), this.root.addEventListener("contextmenu", function(d) {
|
|
@@ -8502,14 +8505,14 @@ var Ze = {
|
|
|
8502
8505
|
}
|
|
8503
8506
|
}]), r;
|
|
8504
8507
|
}(W);
|
|
8505
|
-
function
|
|
8508
|
+
function nl(a) {
|
|
8506
8509
|
a.preventDefault(), a.returnValue = !1;
|
|
8507
8510
|
}
|
|
8508
|
-
function
|
|
8511
|
+
function dn(a) {
|
|
8509
8512
|
var o = a.tagName;
|
|
8510
8513
|
return !!(o === "INPUT" || o === "TEXTAREA" || a.isContentEditable);
|
|
8511
8514
|
}
|
|
8512
|
-
var
|
|
8515
|
+
var gn = /* @__PURE__ */ function(a) {
|
|
8513
8516
|
A(r, a);
|
|
8514
8517
|
var o = D(r);
|
|
8515
8518
|
function r() {
|
|
@@ -8520,11 +8523,11 @@ var dn = /* @__PURE__ */ function(a) {
|
|
|
8520
8523
|
return t = o.call.apply(o, [this].concat(i)), _(v(t), "onBodyKeyDown", function(s) {
|
|
8521
8524
|
if (t.player) {
|
|
8522
8525
|
var l = s || window.event, u = l.keyCode, c = v(t), h = c._keyState, d = c.player, p = t.config, g = p.disable, m = p.disableBodyTrigger, y = p.isIgnoreUserActive;
|
|
8523
|
-
if (g || m || !(d.isUserActive || y) ||
|
|
8526
|
+
if (g || m || !(d.isUserActive || y) || dn(l.target) || !t.checkIsVisible() || l.metaKey || l.altKey || l.ctrlKey) {
|
|
8524
8527
|
h.isBodyKeyDown = !1;
|
|
8525
8528
|
return;
|
|
8526
8529
|
}
|
|
8527
|
-
!s.repeat && !h.isKeyDown && ((l.target === document.body || t.config.isGlobalTrigger && !
|
|
8530
|
+
!s.repeat && !h.isKeyDown && ((l.target === document.body || t.config.isGlobalTrigger && !dn(l.target)) && t.checkCode(u, !0) && (h.isBodyKeyDown = !0), document.addEventListener("keyup", t.onBodyKeyUp)), h.isBodyKeyDown && t.handleKeyDown(l);
|
|
8528
8531
|
}
|
|
8529
8532
|
}), _(v(t), "onBodyKeyUp", function(s) {
|
|
8530
8533
|
t.player && (document.removeEventListener("keyup", t.onBodyKeyUp), t.handleKeyUp(s));
|
|
@@ -8745,13 +8748,13 @@ var dn = /* @__PURE__ */ function(a) {
|
|
|
8745
8748
|
if (h === e) {
|
|
8746
8749
|
if (!d && !(n && g)) {
|
|
8747
8750
|
var m = n && p || c;
|
|
8748
|
-
typeof m == "function" ? c(i, this.player, n) : typeof m == "string" && typeof this[m] == "function" && this[m](i, this.player, n), this.emit(
|
|
8751
|
+
typeof m == "function" ? c(i, this.player, n) : typeof m == "string" && typeof this[m] == "function" && this[m](i, this.player, n), this.emit(Vn, q({
|
|
8749
8752
|
key: s[l],
|
|
8750
8753
|
target: i.target,
|
|
8751
8754
|
isPress: n
|
|
8752
8755
|
}, this.keyCodeMap[s[l]]));
|
|
8753
8756
|
}
|
|
8754
|
-
|
|
8757
|
+
nl(i), i.stopPropagation();
|
|
8755
8758
|
break;
|
|
8756
8759
|
}
|
|
8757
8760
|
}
|
|
@@ -8793,13 +8796,13 @@ var dn = /* @__PURE__ */ function(a) {
|
|
|
8793
8796
|
}
|
|
8794
8797
|
}]), r;
|
|
8795
8798
|
}(He);
|
|
8796
|
-
function
|
|
8799
|
+
function rl() {
|
|
8797
8800
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
|
|
8798
8801
|
<path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
|
|
8799
8802
|
</svg>
|
|
8800
8803
|
`, "image/svg+xml").firstChild;
|
|
8801
8804
|
}
|
|
8802
|
-
var
|
|
8805
|
+
var sl = /* @__PURE__ */ function(a) {
|
|
8803
8806
|
A(r, a);
|
|
8804
8807
|
var o = D(r);
|
|
8805
8808
|
function r() {
|
|
@@ -8809,7 +8812,7 @@ var rl = /* @__PURE__ */ function(a) {
|
|
|
8809
8812
|
key: "registerIcons",
|
|
8810
8813
|
value: function() {
|
|
8811
8814
|
return {
|
|
8812
|
-
loadingIcon:
|
|
8815
|
+
loadingIcon: rl
|
|
8813
8816
|
};
|
|
8814
8817
|
}
|
|
8815
8818
|
}, {
|
|
@@ -8838,7 +8841,7 @@ var rl = /* @__PURE__ */ function(a) {
|
|
|
8838
8841
|
};
|
|
8839
8842
|
}
|
|
8840
8843
|
}]), r;
|
|
8841
|
-
}(W),
|
|
8844
|
+
}(W), ol = [{
|
|
8842
8845
|
tag: "xg-cache",
|
|
8843
8846
|
className: "xgplayer-progress-cache",
|
|
8844
8847
|
styleKey: "cachedColor"
|
|
@@ -8846,7 +8849,7 @@ var rl = /* @__PURE__ */ function(a) {
|
|
|
8846
8849
|
tag: "xg-played",
|
|
8847
8850
|
className: "xgplayer-progress-played",
|
|
8848
8851
|
styleKey: "playedColor"
|
|
8849
|
-
}],
|
|
8852
|
+
}], al = /* @__PURE__ */ function() {
|
|
8850
8853
|
function a(o) {
|
|
8851
8854
|
x(this, a), this.fragments = o.fragments || [], this.fragments.length === 0 && this.fragments.push({
|
|
8852
8855
|
percent: 1
|
|
@@ -9033,7 +9036,7 @@ var rl = /* @__PURE__ */ function(a) {
|
|
|
9033
9036
|
var l = f.createDom("xg-inner", "", {
|
|
9034
9037
|
style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
|
|
9035
9038
|
}, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
|
|
9036
|
-
return r.root.appendChild(l),
|
|
9039
|
+
return r.root.appendChild(l), ol.forEach(function(u) {
|
|
9037
9040
|
l.appendChild(f.createDom(u.tag, "", {
|
|
9038
9041
|
style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
|
|
9039
9042
|
}, u.className));
|
|
@@ -9046,10 +9049,10 @@ var rl = /* @__PURE__ */ function(a) {
|
|
|
9046
9049
|
return this.root;
|
|
9047
9050
|
}
|
|
9048
9051
|
}]), a;
|
|
9049
|
-
}(),
|
|
9052
|
+
}(), pn = {
|
|
9050
9053
|
POINT: "inner-focus-point",
|
|
9051
9054
|
HIGHLIGHT: "inner-focus-highlight"
|
|
9052
|
-
},
|
|
9055
|
+
}, ll = /* @__PURE__ */ function(a) {
|
|
9053
9056
|
A(r, a);
|
|
9054
9057
|
var o = D(r);
|
|
9055
9058
|
function r(t) {
|
|
@@ -9179,7 +9182,7 @@ var rl = /* @__PURE__ */ function(a) {
|
|
|
9179
9182
|
e.emitUserAction("fragment_focus", "fragment_focus", u);
|
|
9180
9183
|
}
|
|
9181
9184
|
});
|
|
9182
|
-
this.innerList ? this.innerList.reset(s) : (this.innerList = new
|
|
9185
|
+
this.innerList ? this.innerList.reset(s) : (this.innerList = new al(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
|
|
9183
9186
|
e[l] = e.innerList[l].bind(e.innerList);
|
|
9184
9187
|
}));
|
|
9185
9188
|
}
|
|
@@ -9213,7 +9216,7 @@ var rl = /* @__PURE__ */ function(a) {
|
|
|
9213
9216
|
e.onTimeupdate();
|
|
9214
9217
|
}), this.on(xe, function() {
|
|
9215
9218
|
e.onTimeupdate(), e.onCacheUpdate();
|
|
9216
|
-
}), this.on(
|
|
9219
|
+
}), this.on(Rn, function() {
|
|
9217
9220
|
e.onCacheUpdate();
|
|
9218
9221
|
}), this.on($e, function() {
|
|
9219
9222
|
e.onCacheUpdate(!0), e.onTimeupdate(!0), e._state.now = 0;
|
|
@@ -9442,7 +9445,7 @@ var rl = /* @__PURE__ */ function(a) {
|
|
|
9442
9445
|
fragments: [{
|
|
9443
9446
|
percent: 1
|
|
9444
9447
|
}],
|
|
9445
|
-
fragFocusClass:
|
|
9448
|
+
fragFocusClass: pn.POINT,
|
|
9446
9449
|
fragClass: "",
|
|
9447
9450
|
fragAutoFocus: !1,
|
|
9448
9451
|
miniMoveStep: 5,
|
|
@@ -9457,7 +9460,7 @@ var rl = /* @__PURE__ */ function(a) {
|
|
|
9457
9460
|
}, {
|
|
9458
9461
|
key: "FRAGMENT_FOCUS_CLASS",
|
|
9459
9462
|
get: function() {
|
|
9460
|
-
return
|
|
9463
|
+
return pn;
|
|
9461
9464
|
}
|
|
9462
9465
|
}]), r;
|
|
9463
9466
|
}(W), Ye = /* @__PURE__ */ function(a) {
|
|
@@ -9489,7 +9492,7 @@ var rl = /* @__PURE__ */ function(a) {
|
|
|
9489
9492
|
this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
|
|
9490
9493
|
}
|
|
9491
9494
|
}]), r;
|
|
9492
|
-
}(W),
|
|
9495
|
+
}(W), ul = /* @__PURE__ */ function(a) {
|
|
9493
9496
|
A(r, a);
|
|
9494
9497
|
var o = D(r);
|
|
9495
9498
|
function r() {
|
|
@@ -9577,14 +9580,14 @@ var rl = /* @__PURE__ */ function(a) {
|
|
|
9577
9580
|
}
|
|
9578
9581
|
}]), r;
|
|
9579
9582
|
}(Ye);
|
|
9580
|
-
function
|
|
9583
|
+
function cl() {
|
|
9581
9584
|
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">
|
|
9582
9585
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
9583
9586
|
<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>
|
|
9584
9587
|
</g>
|
|
9585
9588
|
</svg>`, "image/svg+xml").firstChild;
|
|
9586
9589
|
}
|
|
9587
|
-
var
|
|
9590
|
+
var fl = /* @__PURE__ */ function(a) {
|
|
9588
9591
|
A(r, a);
|
|
9589
9592
|
var o = D(r);
|
|
9590
9593
|
function r() {
|
|
@@ -9603,7 +9606,7 @@ var cl = /* @__PURE__ */ function(a) {
|
|
|
9603
9606
|
value: function() {
|
|
9604
9607
|
return {
|
|
9605
9608
|
screenBack: {
|
|
9606
|
-
icon:
|
|
9609
|
+
icon: cl,
|
|
9607
9610
|
class: "xg-fullscreen-back"
|
|
9608
9611
|
}
|
|
9609
9612
|
};
|
|
@@ -9645,19 +9648,19 @@ var cl = /* @__PURE__ */ function(a) {
|
|
|
9645
9648
|
}
|
|
9646
9649
|
}]), r;
|
|
9647
9650
|
}(W);
|
|
9648
|
-
function
|
|
9651
|
+
function hl() {
|
|
9649
9652
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
9650
9653
|
<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>
|
|
9651
9654
|
</svg>
|
|
9652
9655
|
`, "image/svg+xml").firstChild;
|
|
9653
9656
|
}
|
|
9654
|
-
function
|
|
9657
|
+
function dl() {
|
|
9655
9658
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
9656
9659
|
<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>
|
|
9657
9660
|
</svg>
|
|
9658
9661
|
`, "image/svg+xml").firstChild;
|
|
9659
9662
|
}
|
|
9660
|
-
var
|
|
9663
|
+
var gl = /* @__PURE__ */ function(a) {
|
|
9661
9664
|
A(r, a);
|
|
9662
9665
|
var o = D(r);
|
|
9663
9666
|
function r() {
|
|
@@ -9692,7 +9695,7 @@ var dl = /* @__PURE__ */ function(a) {
|
|
|
9692
9695
|
var u = e.find(".xg-tips");
|
|
9693
9696
|
u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
|
|
9694
9697
|
}), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
|
|
9695
|
-
plugin:
|
|
9698
|
+
plugin: fl,
|
|
9696
9699
|
options: {
|
|
9697
9700
|
config: {
|
|
9698
9701
|
onClick: function(u) {
|
|
@@ -9708,11 +9711,11 @@ var dl = /* @__PURE__ */ function(a) {
|
|
|
9708
9711
|
value: function() {
|
|
9709
9712
|
return {
|
|
9710
9713
|
fullscreen: {
|
|
9711
|
-
icon:
|
|
9714
|
+
icon: hl,
|
|
9712
9715
|
class: "xg-get-fullscreen"
|
|
9713
9716
|
},
|
|
9714
9717
|
exitFullscreen: {
|
|
9715
|
-
icon:
|
|
9718
|
+
icon: dl,
|
|
9716
9719
|
class: "xg-exit-fullscreen"
|
|
9717
9720
|
}
|
|
9718
9721
|
};
|
|
@@ -9793,7 +9796,7 @@ var dl = /* @__PURE__ */ function(a) {
|
|
|
9793
9796
|
};
|
|
9794
9797
|
}
|
|
9795
9798
|
}]), r;
|
|
9796
|
-
}(Ye),
|
|
9799
|
+
}(Ye), pl = /* @__PURE__ */ function(a) {
|
|
9797
9800
|
A(r, a);
|
|
9798
9801
|
var o = D(r);
|
|
9799
9802
|
function r(t) {
|
|
@@ -9943,7 +9946,7 @@ var dl = /* @__PURE__ */ function(a) {
|
|
|
9943
9946
|
};
|
|
9944
9947
|
}
|
|
9945
9948
|
}]), r;
|
|
9946
|
-
}(W),
|
|
9949
|
+
}(W), vl = /* @__PURE__ */ function(a) {
|
|
9947
9950
|
A(r, a);
|
|
9948
9951
|
var o = D(r);
|
|
9949
9952
|
function r() {
|
|
@@ -10081,28 +10084,28 @@ var dl = /* @__PURE__ */ function(a) {
|
|
|
10081
10084
|
}
|
|
10082
10085
|
}]), r;
|
|
10083
10086
|
}(He);
|
|
10084
|
-
function
|
|
10087
|
+
function ml() {
|
|
10085
10088
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10086
10089
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
10087
10090
|
<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>
|
|
10088
10091
|
</svg>
|
|
10089
10092
|
`, "image/svg+xml").firstChild;
|
|
10090
10093
|
}
|
|
10091
|
-
function
|
|
10094
|
+
function yl() {
|
|
10092
10095
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10093
10096
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
10094
10097
|
<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>
|
|
10095
10098
|
</svg>
|
|
10096
10099
|
`, "image/svg+xml").firstChild;
|
|
10097
10100
|
}
|
|
10098
|
-
function
|
|
10101
|
+
function _l() {
|
|
10099
10102
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10100
10103
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
10101
10104
|
<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>
|
|
10102
10105
|
</svg>
|
|
10103
10106
|
`, "image/svg+xml").firstChild;
|
|
10104
10107
|
}
|
|
10105
|
-
var
|
|
10108
|
+
var kl = /* @__PURE__ */ function(a) {
|
|
10106
10109
|
A(r, a);
|
|
10107
10110
|
var o = D(r);
|
|
10108
10111
|
function r() {
|
|
@@ -10150,15 +10153,15 @@ var _l = /* @__PURE__ */ function(a) {
|
|
|
10150
10153
|
value: function() {
|
|
10151
10154
|
return {
|
|
10152
10155
|
volumeSmall: {
|
|
10153
|
-
icon:
|
|
10156
|
+
icon: yl,
|
|
10154
10157
|
class: "xg-volume-small"
|
|
10155
10158
|
},
|
|
10156
10159
|
volumeLarge: {
|
|
10157
|
-
icon:
|
|
10160
|
+
icon: ml,
|
|
10158
10161
|
class: "xg-volume"
|
|
10159
10162
|
},
|
|
10160
10163
|
volumeMuted: {
|
|
10161
|
-
icon:
|
|
10164
|
+
icon: _l,
|
|
10162
10165
|
class: "xg-volume-mute"
|
|
10163
10166
|
}
|
|
10164
10167
|
};
|
|
@@ -10180,7 +10183,7 @@ var _l = /* @__PURE__ */ function(a) {
|
|
|
10180
10183
|
pre: function(u) {
|
|
10181
10184
|
u.preventDefault(), u.stopPropagation();
|
|
10182
10185
|
}
|
|
10183
|
-
}), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), B.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(
|
|
10186
|
+
}), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), B.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(Dn, this.onVolumeChange), this.once(Ie, this.onVolumeChange), f.typeOf(s) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
|
|
10184
10187
|
}
|
|
10185
10188
|
}
|
|
10186
10189
|
}, {
|
|
@@ -10297,7 +10300,7 @@ var _l = /* @__PURE__ */ function(a) {
|
|
|
10297
10300
|
}
|
|
10298
10301
|
}]), r;
|
|
10299
10302
|
}(W);
|
|
10300
|
-
function
|
|
10303
|
+
function Cl() {
|
|
10301
10304
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
|
|
10302
10305
|
<g clip-path="url(#clip0)">
|
|
10303
10306
|
<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"/>
|
|
@@ -10311,7 +10314,7 @@ function kl() {
|
|
|
10311
10314
|
</svg>
|
|
10312
10315
|
`, "image/svg+xml").firstChild;
|
|
10313
10316
|
}
|
|
10314
|
-
var
|
|
10317
|
+
var wl = /* @__PURE__ */ function(a) {
|
|
10315
10318
|
A(r, a);
|
|
10316
10319
|
var o = D(r);
|
|
10317
10320
|
function r(t) {
|
|
@@ -10368,13 +10371,13 @@ var Cl = /* @__PURE__ */ function(a) {
|
|
|
10368
10371
|
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;
|
|
10369
10372
|
this.rotateDeg || (this.rotateDeg = 0);
|
|
10370
10373
|
var l = e ? 1 : -1;
|
|
10371
|
-
this.rotateDeg = (this.rotateDeg + 1 + l * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit(
|
|
10374
|
+
this.rotateDeg = (this.rotateDeg + 1 + l * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit(Un, this.rotateDeg * 360);
|
|
10372
10375
|
}
|
|
10373
10376
|
}, {
|
|
10374
10377
|
key: "registerIcons",
|
|
10375
10378
|
value: function() {
|
|
10376
10379
|
return {
|
|
10377
|
-
rotate:
|
|
10380
|
+
rotate: Cl
|
|
10378
10381
|
};
|
|
10379
10382
|
}
|
|
10380
10383
|
}, {
|
|
@@ -10407,14 +10410,14 @@ var Cl = /* @__PURE__ */ function(a) {
|
|
|
10407
10410
|
}
|
|
10408
10411
|
}]), r;
|
|
10409
10412
|
}(Ye);
|
|
10410
|
-
function
|
|
10413
|
+
function bl() {
|
|
10411
10414
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10412
10415
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
10413
10416
|
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"
|
|
10414
10417
|
fill="white" />
|
|
10415
10418
|
</svg>`, "image/svg+xml").firstChild;
|
|
10416
10419
|
}
|
|
10417
|
-
function
|
|
10420
|
+
function Tl() {
|
|
10418
10421
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10419
10422
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
10420
10423
|
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"
|
|
@@ -10428,7 +10431,7 @@ var Je = {
|
|
|
10428
10431
|
PIP: "picture-in-picture",
|
|
10429
10432
|
INLINE: "inline",
|
|
10430
10433
|
FULLSCREEN: "fullscreen"
|
|
10431
|
-
},
|
|
10434
|
+
}, El = /* @__PURE__ */ function(a) {
|
|
10432
10435
|
A(r, a);
|
|
10433
10436
|
var o = D(r);
|
|
10434
10437
|
function r() {
|
|
@@ -10468,11 +10471,11 @@ var Je = {
|
|
|
10468
10471
|
value: function() {
|
|
10469
10472
|
return {
|
|
10470
10473
|
pipIcon: {
|
|
10471
|
-
icon:
|
|
10474
|
+
icon: bl,
|
|
10472
10475
|
class: "xg-get-pip"
|
|
10473
10476
|
},
|
|
10474
10477
|
pipIconExit: {
|
|
10475
|
-
icon:
|
|
10478
|
+
icon: Tl,
|
|
10476
10479
|
class: "xg-exit-pip"
|
|
10477
10480
|
}
|
|
10478
10481
|
};
|
|
@@ -10631,13 +10634,13 @@ var Je = {
|
|
|
10631
10634
|
}
|
|
10632
10635
|
}]), r;
|
|
10633
10636
|
}(Ye);
|
|
10634
|
-
function
|
|
10637
|
+
function Sl() {
|
|
10635
10638
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
|
|
10636
10639
|
<path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
|
|
10637
10640
|
</svg>
|
|
10638
10641
|
`, "image/svg+xml").firstChild;
|
|
10639
10642
|
}
|
|
10640
|
-
var
|
|
10643
|
+
var xl = /* @__PURE__ */ function(a) {
|
|
10641
10644
|
A(r, a);
|
|
10642
10645
|
var o = D(r);
|
|
10643
10646
|
function r(t) {
|
|
@@ -10656,7 +10659,7 @@ var Sl = /* @__PURE__ */ function(a) {
|
|
|
10656
10659
|
key: "registerIcons",
|
|
10657
10660
|
value: function() {
|
|
10658
10661
|
return {
|
|
10659
|
-
playNext:
|
|
10662
|
+
playNext: Sl
|
|
10660
10663
|
};
|
|
10661
10664
|
}
|
|
10662
10665
|
}, {
|
|
@@ -10705,11 +10708,11 @@ var Sl = /* @__PURE__ */ function(a) {
|
|
|
10705
10708
|
};
|
|
10706
10709
|
}
|
|
10707
10710
|
}]), r;
|
|
10708
|
-
}(W),
|
|
10711
|
+
}(W), er = { exports: {} };
|
|
10709
10712
|
(function(a, o) {
|
|
10710
10713
|
(function(r, t) {
|
|
10711
10714
|
a.exports = t();
|
|
10712
|
-
})(
|
|
10715
|
+
})(mo, function() {
|
|
10713
10716
|
return function r(t, e, i) {
|
|
10714
10717
|
var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, h = document.createElement("a"), d = function(R) {
|
|
10715
10718
|
return String(R);
|
|
@@ -10777,10 +10780,10 @@ Use Save As... to download, then click back to return to this page.`) && (locati
|
|
|
10777
10780
|
return !0;
|
|
10778
10781
|
};
|
|
10779
10782
|
});
|
|
10780
|
-
})(
|
|
10781
|
-
var
|
|
10782
|
-
const
|
|
10783
|
-
function
|
|
10783
|
+
})(er);
|
|
10784
|
+
var Il = er.exports;
|
|
10785
|
+
const Pl = /* @__PURE__ */ di(Il);
|
|
10786
|
+
function Ll() {
|
|
10784
10787
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
|
|
10785
10788
|
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10786
10789
|
<g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
|
|
@@ -10797,7 +10800,7 @@ function Pl() {
|
|
|
10797
10800
|
</svg>
|
|
10798
10801
|
`, "image/svg+xml").firstChild;
|
|
10799
10802
|
}
|
|
10800
|
-
var
|
|
10803
|
+
var Al = /* @__PURE__ */ function(a) {
|
|
10801
10804
|
A(r, a);
|
|
10802
10805
|
var o = D(r);
|
|
10803
10806
|
function r(t) {
|
|
@@ -10808,7 +10811,7 @@ var Ll = /* @__PURE__ */ function(a) {
|
|
|
10808
10811
|
var n = e.playerConfig.url, s = "";
|
|
10809
10812
|
f.typeOf(n) === "String" ? s = n : f.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
|
|
10810
10813
|
var l = e.getAbsoluteURL(s);
|
|
10811
|
-
|
|
10814
|
+
Pl(l), e.isLock = !0, e.timer = window.setTimeout(function() {
|
|
10812
10815
|
e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
|
|
10813
10816
|
}, 300);
|
|
10814
10817
|
}
|
|
@@ -10827,7 +10830,7 @@ var Ll = /* @__PURE__ */ function(a) {
|
|
|
10827
10830
|
key: "registerIcons",
|
|
10828
10831
|
value: function() {
|
|
10829
10832
|
return {
|
|
10830
|
-
download:
|
|
10833
|
+
download: Ll
|
|
10831
10834
|
};
|
|
10832
10835
|
}
|
|
10833
10836
|
}, {
|
|
@@ -10869,7 +10872,7 @@ var Ll = /* @__PURE__ */ function(a) {
|
|
|
10869
10872
|
};
|
|
10870
10873
|
}
|
|
10871
10874
|
}]), r;
|
|
10872
|
-
}(Ye),
|
|
10875
|
+
}(Ye), Dl = /* @__PURE__ */ function(a) {
|
|
10873
10876
|
A(r, a);
|
|
10874
10877
|
var o = D(r);
|
|
10875
10878
|
function r() {
|
|
@@ -10924,7 +10927,7 @@ var Ll = /* @__PURE__ */ function(a) {
|
|
|
10924
10927
|
e.preventDefault(), e.stopPropagation(), this.emitUserAction(e, "shot");
|
|
10925
10928
|
var n = this.config;
|
|
10926
10929
|
this.shot(n.width, n.height).then(function(s) {
|
|
10927
|
-
i.emit(
|
|
10930
|
+
i.emit(zn, s), n.saveImg && i.saveScreenShot(s, n.name + n.format);
|
|
10928
10931
|
});
|
|
10929
10932
|
}
|
|
10930
10933
|
}, {
|
|
@@ -10995,7 +10998,7 @@ var Ll = /* @__PURE__ */ function(a) {
|
|
|
10995
10998
|
};
|
|
10996
10999
|
}
|
|
10997
11000
|
}]), r;
|
|
10998
|
-
}(Ye),
|
|
11001
|
+
}(Ye), Ol = /* @__PURE__ */ function() {
|
|
10999
11002
|
function a(o) {
|
|
11000
11003
|
x(this, a), this.config = o.config, this.parent = o.root, this.root = f.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), o.root.appendChild(this.root);
|
|
11001
11004
|
var r = this.config.maxHeight;
|
|
@@ -11075,7 +11078,7 @@ var Ll = /* @__PURE__ */ function(a) {
|
|
|
11075
11078
|
CLICK: "click",
|
|
11076
11079
|
HOVER: "hover"
|
|
11077
11080
|
};
|
|
11078
|
-
function
|
|
11081
|
+
function Rl(a, o) {
|
|
11079
11082
|
return a === ke.SIDE ? o === $.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
|
|
11080
11083
|
}
|
|
11081
11084
|
var je = B.device === "mobile", Dt = /* @__PURE__ */ function(a) {
|
|
@@ -11189,7 +11192,7 @@ var je = B.device === "mobile", Dt = /* @__PURE__ */ function(a) {
|
|
|
11189
11192
|
var c = {
|
|
11190
11193
|
config: {
|
|
11191
11194
|
data: e || [],
|
|
11192
|
-
className:
|
|
11195
|
+
className: Rl(s.listType, s.position),
|
|
11193
11196
|
onItemClick: function(m, y) {
|
|
11194
11197
|
n.onItemClick(m, y);
|
|
11195
11198
|
},
|
|
@@ -11199,7 +11202,7 @@ var je = B.device === "mobile", Dt = /* @__PURE__ */ function(a) {
|
|
|
11199
11202
|
};
|
|
11200
11203
|
if (this.config.isShowIcon) {
|
|
11201
11204
|
var h = this.player.root.getBoundingClientRect(), d = h.height, p = s.listType === ke.MIDDLE ? d - 50 : d;
|
|
11202
|
-
p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new
|
|
11205
|
+
p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new Ol(c), this.changeCurrentText(), this.show();
|
|
11203
11206
|
}
|
|
11204
11207
|
this._resizeList();
|
|
11205
11208
|
}
|
|
@@ -11250,7 +11253,7 @@ var je = B.device === "mobile", Dt = /* @__PURE__ */ function(a) {
|
|
|
11250
11253
|
};
|
|
11251
11254
|
}
|
|
11252
11255
|
}]), r;
|
|
11253
|
-
}(W),
|
|
11256
|
+
}(W), Fl = /* @__PURE__ */ function(a) {
|
|
11254
11257
|
A(r, a);
|
|
11255
11258
|
var o = D(r);
|
|
11256
11259
|
function r(t) {
|
|
@@ -11351,7 +11354,7 @@ var je = B.device === "mobile", Dt = /* @__PURE__ */ function(a) {
|
|
|
11351
11354
|
});
|
|
11352
11355
|
}
|
|
11353
11356
|
}]), r;
|
|
11354
|
-
}(Dt),
|
|
11357
|
+
}(Dt), Ml = /* @__PURE__ */ function(a) {
|
|
11355
11358
|
A(r, a);
|
|
11356
11359
|
var o = D(r);
|
|
11357
11360
|
function r(t) {
|
|
@@ -11373,7 +11376,7 @@ var je = B.device === "mobile", Dt = /* @__PURE__ */ function(a) {
|
|
|
11373
11376
|
key: "afterCreate",
|
|
11374
11377
|
value: function() {
|
|
11375
11378
|
var e = this;
|
|
11376
|
-
F(O(r.prototype), "afterCreate", this).call(this), this.on(
|
|
11379
|
+
F(O(r.prototype), "afterCreate", this).call(this), this.on(On, function() {
|
|
11377
11380
|
e.curValue !== e.player.playbackRate && e.renderItemList();
|
|
11378
11381
|
}), this.renderItemList();
|
|
11379
11382
|
}
|
|
@@ -11444,19 +11447,19 @@ var je = B.device === "mobile", Dt = /* @__PURE__ */ function(a) {
|
|
|
11444
11447
|
}
|
|
11445
11448
|
}]), r;
|
|
11446
11449
|
}(Dt);
|
|
11447
|
-
function
|
|
11450
|
+
function Nl() {
|
|
11448
11451
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
11449
11452
|
<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>
|
|
11450
11453
|
</svg>
|
|
11451
11454
|
`, "image/svg+xml").firstChild;
|
|
11452
11455
|
}
|
|
11453
|
-
function
|
|
11456
|
+
function Bl() {
|
|
11454
11457
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
11455
11458
|
<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>
|
|
11456
11459
|
</svg>
|
|
11457
11460
|
`, "image/svg+xml").firstChild;
|
|
11458
11461
|
}
|
|
11459
|
-
var
|
|
11462
|
+
var vn = /* @__PURE__ */ function(a) {
|
|
11460
11463
|
A(r, a);
|
|
11461
11464
|
var o = D(r);
|
|
11462
11465
|
function r() {
|
|
@@ -11510,11 +11513,11 @@ var pn = /* @__PURE__ */ function(a) {
|
|
|
11510
11513
|
value: function() {
|
|
11511
11514
|
return {
|
|
11512
11515
|
cssFullscreen: {
|
|
11513
|
-
icon:
|
|
11516
|
+
icon: Nl,
|
|
11514
11517
|
class: "xg-get-cssfull"
|
|
11515
11518
|
},
|
|
11516
11519
|
exitCssFullscreen: {
|
|
11517
|
-
icon:
|
|
11520
|
+
icon: Bl,
|
|
11518
11521
|
class: "xg-exit-cssfull"
|
|
11519
11522
|
}
|
|
11520
11523
|
};
|
|
@@ -11550,7 +11553,7 @@ var pn = /* @__PURE__ */ function(a) {
|
|
|
11550
11553
|
};
|
|
11551
11554
|
}
|
|
11552
11555
|
}]), r;
|
|
11553
|
-
}(Ye),
|
|
11556
|
+
}(Ye), Hl = /* @__PURE__ */ function(a) {
|
|
11554
11557
|
A(r, a);
|
|
11555
11558
|
var o = D(r);
|
|
11556
11559
|
function r() {
|
|
@@ -11611,7 +11614,7 @@ var pn = /* @__PURE__ */ function(a) {
|
|
|
11611
11614
|
return "error";
|
|
11612
11615
|
}
|
|
11613
11616
|
}]), r;
|
|
11614
|
-
}(W),
|
|
11617
|
+
}(W), Ul = /* @__PURE__ */ function(a) {
|
|
11615
11618
|
A(r, a);
|
|
11616
11619
|
var o = D(r);
|
|
11617
11620
|
function r() {
|
|
@@ -11689,7 +11692,7 @@ var pn = /* @__PURE__ */ function(a) {
|
|
|
11689
11692
|
};
|
|
11690
11693
|
}
|
|
11691
11694
|
}]), r;
|
|
11692
|
-
}(W),
|
|
11695
|
+
}(W), mn = {
|
|
11693
11696
|
time: 0,
|
|
11694
11697
|
text: "",
|
|
11695
11698
|
id: 1,
|
|
@@ -11699,12 +11702,12 @@ var pn = /* @__PURE__ */ function(a) {
|
|
|
11699
11702
|
width: 6,
|
|
11700
11703
|
height: 6
|
|
11701
11704
|
};
|
|
11702
|
-
function
|
|
11703
|
-
Object.keys(
|
|
11704
|
-
a[o] === void 0 && (a[o] =
|
|
11705
|
+
function tr(a) {
|
|
11706
|
+
Object.keys(mn).map(function(o) {
|
|
11707
|
+
a[o] === void 0 && (a[o] = mn[o]);
|
|
11705
11708
|
});
|
|
11706
11709
|
}
|
|
11707
|
-
var
|
|
11710
|
+
var yn = {
|
|
11708
11711
|
_updateDotDom: function(o, r) {
|
|
11709
11712
|
if (r) {
|
|
11710
11713
|
var t = this.calcuPosition(o.time, o.duration), e = o.style || {};
|
|
@@ -11721,7 +11724,7 @@ var mn = {
|
|
|
11721
11724
|
},
|
|
11722
11725
|
createDot: function(o) {
|
|
11723
11726
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, t = this.player.plugins.progress;
|
|
11724
|
-
if (t && (r && (
|
|
11727
|
+
if (t && (r && (tr(o), this._ispots.push(o)), !(!this.ispotsInit && r))) {
|
|
11725
11728
|
var e = this.calcuPosition(o.time, o.duration), i = o.style || {};
|
|
11726
11729
|
i.left = "".concat(e.left, "%"), i.width = "".concat(e.width, "%");
|
|
11727
11730
|
var n = "xgspot_".concat(o.id, " xgplayer-spot");
|
|
@@ -11841,14 +11844,14 @@ var mn = {
|
|
|
11841
11844
|
return r.find('xg-spot[data-id="'.concat(o, '"]'));
|
|
11842
11845
|
}
|
|
11843
11846
|
};
|
|
11844
|
-
function
|
|
11847
|
+
function zl(a) {
|
|
11845
11848
|
var o = a.config, r = a.player;
|
|
11846
|
-
Object.keys(
|
|
11847
|
-
a[e] =
|
|
11849
|
+
Object.keys(yn).map(function(e) {
|
|
11850
|
+
a[e] = yn[e].bind(a);
|
|
11848
11851
|
});
|
|
11849
11852
|
var t = r.config.progressDot || o.ispots || [];
|
|
11850
11853
|
a._ispots = t.map(function(e) {
|
|
11851
|
-
return
|
|
11854
|
+
return tr(e), e;
|
|
11852
11855
|
}), a.ispotsInit = !1, a.playerSize = {
|
|
11853
11856
|
left: r.sizeInfo.left,
|
|
11854
11857
|
width: r.sizeInfo.width
|
|
@@ -11865,7 +11868,7 @@ var et = {
|
|
|
11865
11868
|
click: "onProgressClick",
|
|
11866
11869
|
mouseover: "onProgressMouseOver",
|
|
11867
11870
|
mouseenter: "onProgressMouseOver"
|
|
11868
|
-
},
|
|
11871
|
+
}, Vl = /* @__PURE__ */ function(a) {
|
|
11869
11872
|
A(r, a);
|
|
11870
11873
|
var o = D(r);
|
|
11871
11874
|
function r(t) {
|
|
@@ -11916,7 +11919,7 @@ var et = {
|
|
|
11916
11919
|
n.seekTime && e.player.seek(n.seekTime);
|
|
11917
11920
|
}), this.transformTimeHook = this.hook("transformTime", function(i) {
|
|
11918
11921
|
e.setTimeContent(f.format(i));
|
|
11919
|
-
}),
|
|
11922
|
+
}), zl(this), this.on(Ue, function() {
|
|
11920
11923
|
e.show();
|
|
11921
11924
|
}), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
|
|
11922
11925
|
}
|
|
@@ -12140,7 +12143,7 @@ var et = {
|
|
|
12140
12143
|
};
|
|
12141
12144
|
}
|
|
12142
12145
|
}]), r;
|
|
12143
|
-
}(W),
|
|
12146
|
+
}(W), jl = /* @__PURE__ */ function(a) {
|
|
12144
12147
|
A(r, a);
|
|
12145
12148
|
var o = D(r);
|
|
12146
12149
|
function r(t) {
|
|
@@ -12278,7 +12281,7 @@ var et = {
|
|
|
12278
12281
|
function Qt(a) {
|
|
12279
12282
|
return a ? "background:".concat(a, ";") : "";
|
|
12280
12283
|
}
|
|
12281
|
-
var
|
|
12284
|
+
var Wl = /* @__PURE__ */ function(a) {
|
|
12282
12285
|
A(r, a);
|
|
12283
12286
|
var o = D(r);
|
|
12284
12287
|
function r() {
|
|
@@ -12366,14 +12369,14 @@ var jl = /* @__PURE__ */ function(a) {
|
|
|
12366
12369
|
FRAME_RATE: "framerate",
|
|
12367
12370
|
POSTER: "poster"
|
|
12368
12371
|
};
|
|
12369
|
-
function
|
|
12372
|
+
function Gl() {
|
|
12370
12373
|
try {
|
|
12371
12374
|
return parseInt(window.performance.now(), 10);
|
|
12372
12375
|
} catch {
|
|
12373
12376
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
12374
12377
|
}
|
|
12375
12378
|
}
|
|
12376
|
-
function
|
|
12379
|
+
function $l() {
|
|
12377
12380
|
try {
|
|
12378
12381
|
var a = document.createElement("canvas").getContext;
|
|
12379
12382
|
return !!a;
|
|
@@ -12381,7 +12384,7 @@ function Gl() {
|
|
|
12381
12384
|
return !1;
|
|
12382
12385
|
}
|
|
12383
12386
|
}
|
|
12384
|
-
var kt = null,
|
|
12387
|
+
var kt = null, Kl = /* @__PURE__ */ function(a) {
|
|
12385
12388
|
A(r, a);
|
|
12386
12389
|
var o = D(r);
|
|
12387
12390
|
function r() {
|
|
@@ -12402,7 +12405,7 @@ var kt = null, $l = /* @__PURE__ */ function(a) {
|
|
|
12402
12405
|
!t.player.paused && t._checkIfCanStart() && t.start(0, l);
|
|
12403
12406
|
}
|
|
12404
12407
|
}), _(v(t), "start", function(s, l) {
|
|
12405
|
-
var u = t.player.video, c =
|
|
12408
|
+
var u = t.player.video, c = Gl(), h = t.checkVideoIsSupport(u);
|
|
12406
12409
|
!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 === tt.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(h, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? f.setTimeout(v(t), t.start, l) : f.requestAnimationFrame(t.start));
|
|
12407
12410
|
}), _(v(t), "stop", function() {
|
|
12408
12411
|
t.frameId && (t._loopType === "timer" ? f.clearTimeout(v(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
|
|
@@ -12575,7 +12578,7 @@ var kt = null, $l = /* @__PURE__ */ function(a) {
|
|
|
12575
12578
|
}, {
|
|
12576
12579
|
key: "isSupport",
|
|
12577
12580
|
get: function() {
|
|
12578
|
-
return typeof kt == "boolean" || (kt =
|
|
12581
|
+
return typeof kt == "boolean" || (kt = $l()), kt;
|
|
12579
12582
|
}
|
|
12580
12583
|
}, {
|
|
12581
12584
|
key: "supportCanvasFilter",
|
|
@@ -12583,7 +12586,7 @@ var kt = null, $l = /* @__PURE__ */ function(a) {
|
|
|
12583
12586
|
return !(B.browser === "safari" || B.browser === "firefox");
|
|
12584
12587
|
}
|
|
12585
12588
|
}]), r;
|
|
12586
|
-
}(W),
|
|
12589
|
+
}(W), Yl = {
|
|
12587
12590
|
LANG: "zh-cn",
|
|
12588
12591
|
TEXT: {
|
|
12589
12592
|
ERROR_TYPES: {
|
|
@@ -12658,7 +12661,7 @@ var kt = null, $l = /* @__PURE__ */ function(a) {
|
|
|
12658
12661
|
FORWARD: "快进中",
|
|
12659
12662
|
LIVE_TIP: "直播"
|
|
12660
12663
|
}
|
|
12661
|
-
}, ut = "info", ei =
|
|
12664
|
+
}, ut = "info", ei = Kn, Xl = /* @__PURE__ */ function(a) {
|
|
12662
12665
|
A(r, a);
|
|
12663
12666
|
var o = D(r);
|
|
12664
12667
|
function r() {
|
|
@@ -12802,7 +12805,7 @@ var kt = null, $l = /* @__PURE__ */ function(a) {
|
|
|
12802
12805
|
return {};
|
|
12803
12806
|
}
|
|
12804
12807
|
}]), r;
|
|
12805
|
-
}(He),
|
|
12808
|
+
}(He), ir = /* @__PURE__ */ function(a) {
|
|
12806
12809
|
A(r, a);
|
|
12807
12810
|
var o = D(r);
|
|
12808
12811
|
function r() {
|
|
@@ -12891,8 +12894,8 @@ var kt = null, $l = /* @__PURE__ */ function(a) {
|
|
|
12891
12894
|
}
|
|
12892
12895
|
}]), r;
|
|
12893
12896
|
}(W);
|
|
12894
|
-
|
|
12895
|
-
var
|
|
12897
|
+
ir.BROWSER_GAP_TOLERANCE = 1e-3;
|
|
12898
|
+
var ql = /* @__PURE__ */ function(a) {
|
|
12896
12899
|
A(r, a);
|
|
12897
12900
|
var o = D(r);
|
|
12898
12901
|
function r() {
|
|
@@ -12938,7 +12941,7 @@ var Xl = /* @__PURE__ */ function(a) {
|
|
|
12938
12941
|
};
|
|
12939
12942
|
}
|
|
12940
12943
|
}]), r;
|
|
12941
|
-
}(W), it = "cdn", Ct = ["cdn"],
|
|
12944
|
+
}(W), it = "cdn", Ct = ["cdn"], Zl = /* @__PURE__ */ function(a) {
|
|
12942
12945
|
A(r, a);
|
|
12943
12946
|
var o = D(r);
|
|
12944
12947
|
function r() {
|
|
@@ -13064,7 +13067,7 @@ var Xl = /* @__PURE__ */ function(a) {
|
|
|
13064
13067
|
};
|
|
13065
13068
|
}
|
|
13066
13069
|
}]), r;
|
|
13067
|
-
}(W),
|
|
13070
|
+
}(W), Jl = /* @__PURE__ */ function(a) {
|
|
13068
13071
|
A(r, a);
|
|
13069
13072
|
var o = D(r);
|
|
13070
13073
|
function r() {
|
|
@@ -13131,7 +13134,7 @@ var Xl = /* @__PURE__ */ function(a) {
|
|
|
13131
13134
|
totalVideoFrames: i,
|
|
13132
13135
|
droppedVideoFrames: n,
|
|
13133
13136
|
checkInterval: s
|
|
13134
|
-
}), this._currentStuckCount >= this.config.stuckCount && (this.emit(
|
|
13137
|
+
}), this._currentStuckCount >= this.config.stuckCount && (this.emit(Yn, this._payload), this._reset())) : this._reset());
|
|
13135
13138
|
}
|
|
13136
13139
|
}
|
|
13137
13140
|
}, {
|
|
@@ -13174,24 +13177,24 @@ var Xl = /* @__PURE__ */ function(a) {
|
|
|
13174
13177
|
}
|
|
13175
13178
|
}]), r;
|
|
13176
13179
|
}(W);
|
|
13177
|
-
nt.use(
|
|
13178
|
-
var
|
|
13180
|
+
nt.use(Yl);
|
|
13181
|
+
var Ql = /* @__PURE__ */ I(function a(o, r) {
|
|
13179
13182
|
var t, e, i;
|
|
13180
13183
|
x(this, a);
|
|
13181
|
-
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [
|
|
13182
|
-
this.plugins = [
|
|
13184
|
+
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [vl, ll, Wl, Vl, pl], u = [].concat(l, [ul, gl, wl, xl, Fl, Ml, Al, Dl, kl, El]), c = [Va, ja, Ga, sl, $a, Hl, Ul, jl, qa];
|
|
13185
|
+
this.plugins = [Xl, Ua].concat(ve(u), c, [ir, ql]);
|
|
13183
13186
|
var h = n ? "mobile" : B.device;
|
|
13184
13187
|
switch (h) {
|
|
13185
13188
|
case "pc":
|
|
13186
|
-
(t = this.plugins).push.apply(t, [
|
|
13189
|
+
(t = this.plugins).push.apply(t, [gn, Zt, vn, Zl, Jl]);
|
|
13187
13190
|
break;
|
|
13188
13191
|
case "mobile":
|
|
13189
|
-
(e = this.plugins).push.apply(e, [
|
|
13192
|
+
(e = this.plugins).push.apply(e, [il]);
|
|
13190
13193
|
break;
|
|
13191
13194
|
default:
|
|
13192
|
-
(i = this.plugins).push.apply(i, [
|
|
13195
|
+
(i = this.plugins).push.apply(i, [gn, Zt, vn]);
|
|
13193
13196
|
}
|
|
13194
|
-
(B.os.isIpad || h === "pc") && this.plugins.push(
|
|
13197
|
+
(B.os.isIpad || h === "pc") && this.plugins.push(Kl), B.os.isIpad && this.plugins.push(Zt), this.ignores = [], this.i18n = [];
|
|
13195
13198
|
}), me = /* @__PURE__ */ function(a) {
|
|
13196
13199
|
A(r, a);
|
|
13197
13200
|
var o = D(r);
|
|
@@ -13200,17 +13203,17 @@ var Jl = /* @__PURE__ */ I(function a(o, r) {
|
|
|
13200
13203
|
}
|
|
13201
13204
|
return I(r);
|
|
13202
13205
|
}(Nt);
|
|
13203
|
-
_(me, "defaultPreset",
|
|
13206
|
+
_(me, "defaultPreset", Ql);
|
|
13204
13207
|
_(me, "Util", f);
|
|
13205
13208
|
_(me, "Sniffer", B);
|
|
13206
13209
|
_(me, "Errors", bt);
|
|
13207
|
-
_(me, "Events",
|
|
13210
|
+
_(me, "Events", ga);
|
|
13208
13211
|
_(me, "Plugin", W);
|
|
13209
13212
|
_(me, "BasePlugin", He);
|
|
13210
13213
|
_(me, "I18N", nt);
|
|
13211
13214
|
_(me, "STATE_CLASS", k);
|
|
13212
|
-
_(me, "InstManager",
|
|
13213
|
-
const
|
|
13215
|
+
_(me, "InstManager", Jn);
|
|
13216
|
+
const eu = ["id"], tu = /* @__PURE__ */ Z({
|
|
13214
13217
|
name: "ElImageViewer",
|
|
13215
13218
|
__name: "Player",
|
|
13216
13219
|
props: /* @__PURE__ */ wt({
|
|
@@ -13239,7 +13242,7 @@ const Ql = ["id"], eu = /* @__PURE__ */ Z({
|
|
|
13239
13242
|
}, ["update:modelValue"]),
|
|
13240
13243
|
setup(a, { emit: o }) {
|
|
13241
13244
|
let r = null;
|
|
13242
|
-
const t = a, { cLoadUrl: e } =
|
|
13245
|
+
const t = a, { cLoadUrl: e } = Tn(t), i = Y(() => ht(e.value, t.url)), n = {
|
|
13243
13246
|
width: "100%",
|
|
13244
13247
|
height: "100%",
|
|
13245
13248
|
// 是否自动播放
|
|
@@ -13260,7 +13263,7 @@ const Ql = ["id"], eu = /* @__PURE__ */ Z({
|
|
|
13260
13263
|
}, s = Y(() => ({
|
|
13261
13264
|
...n,
|
|
13262
13265
|
...t.config
|
|
13263
|
-
})), l = o, u = fi(a, "modelValue"), c =
|
|
13266
|
+
})), l = o, u = fi(a, "modelValue"), c = Cn(), h = wn("image-viewer");
|
|
13264
13267
|
function d() {
|
|
13265
13268
|
l("close"), u.value = !1, r.destroy();
|
|
13266
13269
|
}
|
|
@@ -13274,11 +13277,11 @@ const Ql = ["id"], eu = /* @__PURE__ */ Z({
|
|
|
13274
13277
|
});
|
|
13275
13278
|
}), (p, g) => {
|
|
13276
13279
|
const m = rt("el-icon");
|
|
13277
|
-
return u.value ? (E(), pe(
|
|
13280
|
+
return u.value ? (E(), pe(_n, {
|
|
13278
13281
|
key: 0,
|
|
13279
13282
|
to: "body"
|
|
13280
13283
|
}, [
|
|
13281
|
-
j(
|
|
13284
|
+
j(kn, {
|
|
13282
13285
|
name: "viewer-fade",
|
|
13283
13286
|
appear: ""
|
|
13284
13287
|
}, {
|
|
@@ -13308,7 +13311,7 @@ const Ql = ["id"], eu = /* @__PURE__ */ Z({
|
|
|
13308
13311
|
class: K(S(h).e("canvas"))
|
|
13309
13312
|
},
|
|
13310
13313
|
[
|
|
13311
|
-
T("div", { id: S(c) }, null, 8,
|
|
13314
|
+
T("div", { id: S(c) }, null, 8, eu),
|
|
13312
13315
|
ee(" CLOSE "),
|
|
13313
13316
|
T(
|
|
13314
13317
|
"span",
|
|
@@ -13319,7 +13322,7 @@ const Ql = ["id"], eu = /* @__PURE__ */ Z({
|
|
|
13319
13322
|
[
|
|
13320
13323
|
j(m, { onClick: d }, {
|
|
13321
13324
|
default: Q(() => [
|
|
13322
|
-
j(S(
|
|
13325
|
+
j(S(bn))
|
|
13323
13326
|
]),
|
|
13324
13327
|
_: 1
|
|
13325
13328
|
/* STABLE */
|
|
@@ -13345,22 +13348,22 @@ const Ql = ["id"], eu = /* @__PURE__ */ Z({
|
|
|
13345
13348
|
};
|
|
13346
13349
|
}
|
|
13347
13350
|
});
|
|
13348
|
-
const
|
|
13351
|
+
const iu = /* @__PURE__ */ gt(tu, [["__scopeId", "data-v-b301aa7d"]]), nu = Pe(iu), ru = (a) => (pr("data-v-6a92bbab"), a = a(), vr(), a), su = {
|
|
13349
13352
|
key: 0,
|
|
13350
13353
|
class: "preview-files"
|
|
13351
|
-
},
|
|
13354
|
+
}, ou = {
|
|
13352
13355
|
class: "flex",
|
|
13353
13356
|
style: { width: "80%", "align-items": "center" }
|
|
13354
|
-
},
|
|
13357
|
+
}, au = ["onClick"], lu = ["title"], uu = { style: { color: "#b8c6d9" } }, cu = ["onClick"], fu = /* @__PURE__ */ ru(() => /* @__PURE__ */ T(
|
|
13355
13358
|
"span",
|
|
13356
13359
|
null,
|
|
13357
13360
|
"预览",
|
|
13358
13361
|
-1
|
|
13359
13362
|
/* HOISTED */
|
|
13360
|
-
)),
|
|
13363
|
+
)), hu = {
|
|
13361
13364
|
key: 1,
|
|
13362
13365
|
class: "flex preview-img"
|
|
13363
|
-
},
|
|
13366
|
+
}, du = /* @__PURE__ */ Z({
|
|
13364
13367
|
__name: "IkDetailPreviewFiles",
|
|
13365
13368
|
props: {
|
|
13366
13369
|
// 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
|
|
@@ -13412,13 +13415,13 @@ const tu = /* @__PURE__ */ gt(eu, [["__scopeId", "data-v-b301aa7d"]]), iu = Pe(t
|
|
|
13412
13415
|
return (c = u == null ? void 0 : u.suffix) != null && c.includes("pdf") ? "#FA4E4E" : (h = u == null ? void 0 : u.suffix) != null && h.includes("doc") ? "#2c69e0" : (d = u.suffix) != null && d.includes("xls") ? "#39BFBF" : (p = u.suffix) != null && p.includes("txt") ? "#2c69e0" : (g = u.suffix) != null && g.includes("zip") ? "#FF9000" : "#32CD79";
|
|
13413
13416
|
}, l = (u) => {
|
|
13414
13417
|
const c = document.createElement("a");
|
|
13415
|
-
c.href =
|
|
13418
|
+
c.href = _r.assembleUrl(o.loadUrl, u.url), c.download = u.name, c.click();
|
|
13416
13419
|
};
|
|
13417
13420
|
return (u, c) => {
|
|
13418
13421
|
var d, p;
|
|
13419
13422
|
const h = rt("el-image");
|
|
13420
13423
|
return E(), P("div", null, [
|
|
13421
|
-
o.fileType === "file" ? (E(), P("div",
|
|
13424
|
+
o.fileType === "file" ? (E(), P("div", su, [
|
|
13422
13425
|
(E(!0), P(
|
|
13423
13426
|
Ee,
|
|
13424
13427
|
null,
|
|
@@ -13433,7 +13436,7 @@ const tu = /* @__PURE__ */ gt(eu, [["__scopeId", "data-v-b301aa7d"]]), iu = Pe(t
|
|
|
13433
13436
|
})
|
|
13434
13437
|
},
|
|
13435
13438
|
[
|
|
13436
|
-
T("div",
|
|
13439
|
+
T("div", ou, [
|
|
13437
13440
|
j(S(Me), {
|
|
13438
13441
|
name: n(g),
|
|
13439
13442
|
style: oe(`color:${s(g)}`),
|
|
@@ -13445,23 +13448,23 @@ const tu = /* @__PURE__ */ gt(eu, [["__scopeId", "data-v-b301aa7d"]]), iu = Pe(t
|
|
|
13445
13448
|
}, [
|
|
13446
13449
|
T("p", {
|
|
13447
13450
|
title: g.name
|
|
13448
|
-
}, Ne(g.name), 9,
|
|
13451
|
+
}, Ne(g.name), 9, lu),
|
|
13449
13452
|
T(
|
|
13450
13453
|
"p",
|
|
13451
|
-
|
|
13454
|
+
uu,
|
|
13452
13455
|
Ne((g.size / 1024).toFixed(2)) + "KB",
|
|
13453
13456
|
1
|
|
13454
13457
|
/* TEXT */
|
|
13455
13458
|
)
|
|
13456
|
-
], 8,
|
|
13459
|
+
], 8, au)
|
|
13457
13460
|
]),
|
|
13458
13461
|
T("div", {
|
|
13459
13462
|
class: "file-preview",
|
|
13460
13463
|
onClick: (y) => i(g)
|
|
13461
13464
|
}, [
|
|
13462
13465
|
j(S(Me), { name: "iksvg_yulan" }),
|
|
13463
|
-
|
|
13464
|
-
], 8,
|
|
13466
|
+
fu
|
|
13467
|
+
], 8, cu)
|
|
13465
13468
|
],
|
|
13466
13469
|
4
|
|
13467
13470
|
/* STYLE */
|
|
@@ -13470,7 +13473,7 @@ const tu = /* @__PURE__ */ gt(eu, [["__scopeId", "data-v-b301aa7d"]]), iu = Pe(t
|
|
|
13470
13473
|
/* KEYED_FRAGMENT */
|
|
13471
13474
|
))
|
|
13472
13475
|
])) : ee("v-if", !0),
|
|
13473
|
-
o.fileType === "img" ? (E(), P("div",
|
|
13476
|
+
o.fileType === "img" ? (E(), P("div", hu, [
|
|
13474
13477
|
(E(!0), P(
|
|
13475
13478
|
Ee,
|
|
13476
13479
|
null,
|
|
@@ -13489,7 +13492,7 @@ const tu = /* @__PURE__ */ gt(eu, [["__scopeId", "data-v-b301aa7d"]]), iu = Pe(t
|
|
|
13489
13492
|
/* KEYED_FRAGMENT */
|
|
13490
13493
|
))
|
|
13491
13494
|
])) : ee("v-if", !0),
|
|
13492
|
-
j(S(
|
|
13495
|
+
j(S(Qs), {
|
|
13493
13496
|
modelValue: t.value,
|
|
13494
13497
|
"onUpdate:modelValue": c[0] || (c[0] = (g) => t.value = g),
|
|
13495
13498
|
"load-url": o.loadUrl,
|
|
@@ -13501,8 +13504,8 @@ const tu = /* @__PURE__ */ gt(eu, [["__scopeId", "data-v-b301aa7d"]]), iu = Pe(t
|
|
|
13501
13504
|
};
|
|
13502
13505
|
}
|
|
13503
13506
|
});
|
|
13504
|
-
const
|
|
13507
|
+
const gu = /* @__PURE__ */ gt(du, [["__scopeId", "data-v-6a92bbab"]]), yu = Pe(gu);
|
|
13505
13508
|
export {
|
|
13506
|
-
|
|
13507
|
-
|
|
13509
|
+
yu as IKDetailPreviewFiles,
|
|
13510
|
+
yu as default
|
|
13508
13511
|
};
|