iking-web-ui-pro 1.2.7 → 1.2.8

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.
@@ -942,15 +942,15 @@ const pi = (a, s) => {
942
942
  }, Ec = ["onClick"], xc = {
943
943
  class: "flex align-center",
944
944
  style: { width: "100%" }
945
- }, Ic = { class: "fileName simple" }, Pc = {
945
+ }, Ic = ["title"], Pc = {
946
946
  key: 0,
947
947
  class: "size",
948
948
  style: { "padding-right": "20px", "white-space": "nowrap" }
949
- }, Ac = ["onClick"], Lc = { class: "file-list" }, Rc = { class: "fileName simple" }, Oc = {
949
+ }, Ac = ["onClick"], Lc = { class: "file-list" }, Rc = ["title"], Oc = {
950
950
  key: 0,
951
951
  class: "size",
952
952
  style: { "padding-right": "20px", "white-space": "nowrap" }
953
- }, Dc = ["onClick"], Fc = { class: "text" }, Mc = { class: "fileName" }, Nc = { class: "size" }, Bc = /* @__PURE__ */ ae({
953
+ }, Dc = ["onClick"], Fc = { class: "text" }, Mc = ["title"], Nc = { class: "size" }, Bc = /* @__PURE__ */ ae({
954
954
  __name: "IkPreviewFile",
955
955
  props: {
956
956
  list: {
@@ -1101,24 +1101,21 @@ const pi = (a, s) => {
1101
1101
  t.value === "simple" ? (k(!0), S(
1102
1102
  oe,
1103
1103
  { key: 0 },
1104
- Fe(m.value, (x, L) => (k(), S("div", {
1104
+ Fe(m.value, (E, L) => (k(), S("div", {
1105
1105
  class: "iking-privew-annex simple",
1106
1106
  key: L,
1107
- onClick: (z) => f(x),
1107
+ onClick: (z) => f(E),
1108
1108
  style: _e({ width: d.value })
1109
1109
  }, [
1110
1110
  T("div", xc, [
1111
- T(
1112
- "div",
1113
- Ic,
1114
- J(x.name),
1115
- 1
1116
- /* TEXT */
1117
- ),
1111
+ T("div", {
1112
+ class: "fileName simple",
1113
+ title: E.name
1114
+ }, J(E.name), 9, Ic),
1118
1115
  a.showFileSize ? (k(), S(
1119
1116
  "div",
1120
1117
  Pc,
1121
- J(x.size ? `(${P(Pi)(x.size)})` : ""),
1118
+ J(E.size ? `(${P(Pi)(E.size)})` : ""),
1122
1119
  1
1123
1120
  /* TEXT */
1124
1121
  )) : I("v-if", !0)
@@ -1132,17 +1129,17 @@ const pi = (a, s) => {
1132
1129
  a.showDownloadBtn ? (k(), ge(P(it), {
1133
1130
  key: 0,
1134
1131
  name: "iksvg_daochu",
1135
- onClick: tt((z) => g(x), ["stop"]),
1132
+ onClick: tt((z) => g(E), ["stop"]),
1136
1133
  size: 20
1137
1134
  }, null, 8, ["onClick"])) : I("v-if", !0),
1138
- P(n).includes(x.suffix) && a.showPreviewBtn ? (k(), ge(P(it), {
1135
+ P(n).includes(E.suffix) && a.showPreviewBtn ? (k(), ge(P(it), {
1139
1136
  key: 1,
1140
1137
  name: "iksvg_yulan",
1141
1138
  size: 20,
1142
- onClick: tt((z) => f(x), ["stop"])
1139
+ onClick: tt((z) => f(E), ["stop"])
1143
1140
  }, null, 8, ["onClick"])) : I("v-if", !0),
1144
1141
  Ke(v.$slots, "operation", {
1145
- data: { ...x, findex: L }
1142
+ data: { ...E, findex: L }
1146
1143
  })
1147
1144
  ],
1148
1145
  2
@@ -1159,16 +1156,16 @@ const pi = (a, s) => {
1159
1156
  (k(!0), S(
1160
1157
  oe,
1161
1158
  null,
1162
- Fe(m.value, (x, L) => (k(), S("div", {
1159
+ Fe(m.value, (E, L) => (k(), S("div", {
1163
1160
  class: "iking-privew-annex simple-icon",
1164
1161
  key: L,
1165
- onClick: (z) => f(x),
1162
+ onClick: (z) => f(E),
1166
1163
  style: _e({ width: d.value })
1167
1164
  }, [
1168
1165
  T("div", Lc, [
1169
1166
  I(" 若为默认40,则simple-icon设置为20,否则设置为iconSize "),
1170
1167
  K(P(La), {
1171
- file: x,
1168
+ file: E,
1172
1169
  style: _e({
1173
1170
  height: `${a.iconSize === 40 ? 20 : a.iconSize}px`,
1174
1171
  marginRight: "10px"
@@ -1183,17 +1180,14 @@ const pi = (a, s) => {
1183
1180
  style: _e({ width: `calc(100% - ${a.iconSize + 10}px)` })
1184
1181
  },
1185
1182
  [
1186
- T(
1187
- "p",
1188
- Rc,
1189
- J(x.name),
1190
- 1
1191
- /* TEXT */
1192
- ),
1183
+ T("p", {
1184
+ class: "fileName simple",
1185
+ title: E.name
1186
+ }, J(E.name), 9, Rc),
1193
1187
  a.showFileSize ? (k(), S(
1194
1188
  "p",
1195
1189
  Oc,
1196
- J(x.size ? `(${P(Pi)(x.size)})` : ""),
1190
+ J(E.size ? `(${P(Pi)(E.size)})` : ""),
1197
1191
  1
1198
1192
  /* TEXT */
1199
1193
  )) : I("v-if", !0)
@@ -1207,13 +1201,13 @@ const pi = (a, s) => {
1207
1201
  name: "iksvg_daochu",
1208
1202
  size: 20,
1209
1203
  title: "下载",
1210
- onClick: tt((z) => g(x), ["stop"])
1204
+ onClick: tt((z) => g(E), ["stop"])
1211
1205
  }, null, 8, ["onClick"])) : I("v-if", !0),
1212
- P(n).includes(x.suffix) && a.showPreviewBtn ? (k(), ge(P(it), {
1206
+ P(n).includes(E.suffix) && a.showPreviewBtn ? (k(), ge(P(it), {
1213
1207
  key: 1,
1214
1208
  name: "iksvg_yulan",
1215
1209
  size: 20,
1216
- onClick: tt((z) => f(x), ["stop"]),
1210
+ onClick: tt((z) => f(E), ["stop"]),
1217
1211
  title: "预览"
1218
1212
  }, null, 8, ["onClick"])) : I("v-if", !0)
1219
1213
  ], 12, Ac))),
@@ -1231,7 +1225,7 @@ const pi = (a, s) => {
1231
1225
  (k(!0), S(
1232
1226
  oe,
1233
1227
  null,
1234
- Fe(m.value, (x, L) => {
1228
+ Fe(m.value, (E, L) => {
1235
1229
  var z;
1236
1230
  return k(), S(
1237
1231
  "div",
@@ -1246,26 +1240,23 @@ const pi = (a, s) => {
1246
1240
  [
1247
1241
  T("div", {
1248
1242
  class: "file-card",
1249
- onClick: (G) => f(x)
1243
+ onClick: (G) => f(E)
1250
1244
  }, [
1251
1245
  K(P(La), {
1252
- file: x,
1246
+ file: E,
1253
1247
  style: _e({ height: `${a.iconSize}px` }),
1254
1248
  class: "ikui-w-auto",
1255
1249
  fields: l.value
1256
1250
  }, null, 8, ["file", "style", "fields"]),
1257
1251
  T("div", Fc, [
1258
- T(
1259
- "div",
1260
- Mc,
1261
- J(x.name),
1262
- 1
1263
- /* TEXT */
1264
- ),
1252
+ T("div", {
1253
+ class: "fileName",
1254
+ title: E.name
1255
+ }, J(E.name), 9, Mc),
1265
1256
  T(
1266
1257
  "div",
1267
1258
  Nc,
1268
- J(P(Pi)(x.size)),
1259
+ J(P(Pi)(E.size)),
1269
1260
  1
1270
1261
  /* TEXT */
1271
1262
  )
@@ -1279,21 +1270,21 @@ const pi = (a, s) => {
1279
1270
  a.showDownloadBtn ? (k(), ge(P(it), {
1280
1271
  key: 0,
1281
1272
  name: "iksvg_daochu",
1282
- onClick: tt((G) => g(x), ["stop"]),
1273
+ onClick: tt((G) => g(E), ["stop"]),
1283
1274
  bg: a.showBg,
1284
1275
  size: a.showBg ? "default" : 20,
1285
1276
  title: "下载"
1286
1277
  }, null, 8, ["onClick", "bg", "size"])) : I("v-if", !0),
1287
- P(n).includes(x.suffix) && a.showPreviewBtn ? (k(), ge(P(it), {
1278
+ P(n).includes(E.suffix) && a.showPreviewBtn ? (k(), ge(P(it), {
1288
1279
  key: 1,
1289
1280
  name: "iksvg_yulan",
1290
1281
  bg: a.showBg,
1291
1282
  size: a.showBg ? "default" : 20,
1292
1283
  title: "预览",
1293
- onClick: tt((G) => f(x), ["stop"])
1284
+ onClick: tt((G) => f(E), ["stop"])
1294
1285
  }, null, 8, ["bg", "size", "onClick"])) : I("v-if", !0),
1295
1286
  Ke(v.$slots, "operation", {
1296
- data: { ...x, findex: L }
1287
+ data: { ...E, findex: L }
1297
1288
  })
1298
1289
  ],
1299
1290
  2
@@ -1319,7 +1310,7 @@ const pi = (a, s) => {
1319
1310
  K(P($c), {
1320
1311
  onClose: p,
1321
1312
  show: c.value,
1322
- "onUpdate:show": w[0] || (w[0] = (x) => c.value = x),
1313
+ "onUpdate:show": w[0] || (w[0] = (E) => c.value = E),
1323
1314
  loadUrl: P(e),
1324
1315
  file: u.value,
1325
1316
  onlyofficeServer: ((C = P(i)) == null ? void 0 : C.serverUrl) || a.onlyofficeServer,
@@ -1381,7 +1372,7 @@ const pi = (a, s) => {
1381
1372
  video: !1,
1382
1373
  text: !1
1383
1374
  }), c = (d) => {
1384
- var m, v, w, b, C, R, x;
1375
+ var m, v, w, b, C, R, E;
1385
1376
  try {
1386
1377
  const L = ((m = d == null ? void 0 : d.response) == null ? void 0 : m.data) || d, z = L[i.value.url] || (L == null ? void 0 : L.id) || L.attachmentId, G = (v = L[i.value.suffix] || L.attachmentSuffix) == null ? void 0 : v.toLowerCase(), V = L[i.value.name] || (L == null ? void 0 : L.attachmentName) || (L == null ? void 0 : L.originName);
1387
1378
  if (o.value = {
@@ -1414,7 +1405,7 @@ const pi = (a, s) => {
1414
1405
  title: V,
1415
1406
  url: Tt(r.loadUrl, z),
1416
1407
  fileType: G,
1417
- ...((x = r.onlyOfficeConfig) == null ? void 0 : x.document) || {}
1408
+ ...((E = r.onlyOfficeConfig) == null ? void 0 : E.document) || {}
1418
1409
  },
1419
1410
  documentType: $u(G)
1420
1411
  // document_fileType: getFileTypes(suffix),
@@ -1484,7 +1475,7 @@ const pi = (a, s) => {
1484
1475
  "modal-class": "ik-only-preview-dialog"
1485
1476
  }, {
1486
1477
  default: se(() => {
1487
- var C, R, x;
1478
+ var C, R, E;
1488
1479
  return [
1489
1480
  T("div", Uc, [
1490
1481
  T("img", {
@@ -1495,7 +1486,7 @@ const pi = (a, s) => {
1495
1486
  ]),
1496
1487
  K(P(Oh), {
1497
1488
  "config-options": n.value,
1498
- "document-server-url": ((x = a.onlyOfficeConfig) == null ? void 0 : x.serverUrl) || a.onlyofficeServer
1489
+ "document-server-url": ((E = a.onlyOfficeConfig) == null ? void 0 : E.serverUrl) || a.onlyofficeServer
1499
1490
  }, null, 8, ["config-options", "document-server-url"])
1500
1491
  ];
1501
1492
  }),
@@ -2638,8 +2629,8 @@ var Dn, Hs;
2638
2629
  function Kf() {
2639
2630
  if (Hs) return Dn;
2640
2631
  Hs = 1;
2641
- var a = yi(), s = Ol(), r = Ht(), t = "[object Arguments]", e = "[object Array]", i = "[object Boolean]", n = "[object Date]", o = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", f = "[object Object]", g = "[object RegExp]", p = "[object Set]", d = "[object String]", m = "[object WeakMap]", v = "[object ArrayBuffer]", w = "[object DataView]", b = "[object Float32Array]", C = "[object Float64Array]", R = "[object Int8Array]", x = "[object Int16Array]", L = "[object Int32Array]", z = "[object Uint8Array]", G = "[object Uint8ClampedArray]", V = "[object Uint16Array]", A = "[object Uint32Array]", F = {};
2642
- F[b] = F[C] = F[R] = F[x] = F[L] = F[z] = F[G] = F[V] = F[A] = !0, F[t] = F[e] = F[v] = F[i] = F[w] = F[n] = F[o] = F[l] = F[u] = F[c] = F[f] = F[g] = F[p] = F[d] = F[m] = !1;
2632
+ var a = yi(), s = Ol(), r = Ht(), t = "[object Arguments]", e = "[object Array]", i = "[object Boolean]", n = "[object Date]", o = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", f = "[object Object]", g = "[object RegExp]", p = "[object Set]", d = "[object String]", m = "[object WeakMap]", v = "[object ArrayBuffer]", w = "[object DataView]", b = "[object Float32Array]", C = "[object Float64Array]", R = "[object Int8Array]", E = "[object Int16Array]", L = "[object Int32Array]", z = "[object Uint8Array]", G = "[object Uint8ClampedArray]", V = "[object Uint16Array]", A = "[object Uint32Array]", F = {};
2633
+ F[b] = F[C] = F[R] = F[E] = F[L] = F[z] = F[G] = F[V] = F[A] = !0, F[t] = F[e] = F[v] = F[i] = F[w] = F[n] = F[o] = F[l] = F[u] = F[c] = F[f] = F[g] = F[p] = F[d] = F[m] = !1;
2643
2634
  function re(pe) {
2644
2635
  return r(pe) && s(pe.length) && !!F[a(pe)];
2645
2636
  }
@@ -2991,7 +2982,7 @@ function fa() {
2991
2982
  _o = 1;
2992
2983
  var a = uh(), s = na(), r = ch(), t = fh(), e = hh(), i = yi(), n = Pl(), o = "[object Map]", l = "[object Object]", u = "[object Promise]", c = "[object Set]", f = "[object WeakMap]", g = "[object DataView]", p = n(a), d = n(s), m = n(r), v = n(t), w = n(e), b = i;
2993
2984
  return (a && b(new a(new ArrayBuffer(1))) != g || s && b(new s()) != o || r && b(r.resolve()) != u || t && b(new t()) != c || e && b(new e()) != f) && (b = function(C) {
2994
- var R = i(C), x = R == l ? C.constructor : void 0, L = x ? n(x) : "";
2985
+ var R = i(C), E = R == l ? C.constructor : void 0, L = E ? n(E) : "";
2995
2986
  if (L)
2996
2987
  switch (L) {
2997
2988
  case p:
@@ -3084,7 +3075,7 @@ var _r, xo;
3084
3075
  function _h() {
3085
3076
  if (xo) return _r;
3086
3077
  xo = 1;
3087
- var a = ha(), s = ph(), r = vh(), t = mh(), e = yh(), i = "[object Boolean]", n = "[object Date]", o = "[object Map]", l = "[object Number]", u = "[object RegExp]", c = "[object Set]", f = "[object String]", g = "[object Symbol]", p = "[object ArrayBuffer]", d = "[object DataView]", m = "[object Float32Array]", v = "[object Float64Array]", w = "[object Int8Array]", b = "[object Int16Array]", C = "[object Int32Array]", R = "[object Uint8Array]", x = "[object Uint8ClampedArray]", L = "[object Uint16Array]", z = "[object Uint32Array]";
3078
+ var a = ha(), s = ph(), r = vh(), t = mh(), e = yh(), i = "[object Boolean]", n = "[object Date]", o = "[object Map]", l = "[object Number]", u = "[object RegExp]", c = "[object Set]", f = "[object String]", g = "[object Symbol]", p = "[object ArrayBuffer]", d = "[object DataView]", m = "[object Float32Array]", v = "[object Float64Array]", w = "[object Int8Array]", b = "[object Int16Array]", C = "[object Int32Array]", R = "[object Uint8Array]", E = "[object Uint8ClampedArray]", L = "[object Uint16Array]", z = "[object Uint32Array]";
3088
3079
  function G(V, A, F) {
3089
3080
  var re = V.constructor;
3090
3081
  switch (A) {
@@ -3101,7 +3092,7 @@ function _h() {
3101
3092
  case b:
3102
3093
  case C:
3103
3094
  case R:
3104
- case x:
3095
+ case E:
3105
3096
  case L:
3106
3097
  case z:
3107
3098
  return e(V, F);
@@ -3187,7 +3178,7 @@ var Er, Do;
3187
3178
  function Eh() {
3188
3179
  if (Do) return Er;
3189
3180
  Do = 1;
3190
- var a = Uf(), s = jf(), r = Ll(), t = Zf(), e = th(), i = ih(), n = nh(), o = ah(), l = sh(), u = oh(), c = lh(), f = fa(), g = dh(), p = _h(), d = Ch(), m = ra(), v = Rl(), w = wh(), b = Bt(), C = Sh(), R = la(), x = ua(), L = 1, z = 2, G = 4, V = "[object Arguments]", A = "[object Array]", F = "[object Boolean]", re = "[object Date]", pe = "[object Error]", Le = "[object Function]", zt = "[object GeneratorFunction]", Vt = "[object Map]", Et = "[object Number]", xt = "[object Object]", qt = "[object RegExp]", Re = "[object Set]", H = "[object String]", $ = "[object Symbol]", ne = "[object WeakMap]", ve = "[object ArrayBuffer]", we = "[object DataView]", Te = "[object Float32Array]", xe = "[object Float64Array]", Ze = "[object Int8Array]", Gt = "[object Int16Array]", Wt = "[object Int32Array]", It = "[object Uint8Array]", Eu = "[object Uint8ClampedArray]", xu = "[object Uint16Array]", Iu = "[object Uint32Array]", Z = {};
3181
+ var a = Uf(), s = jf(), r = Ll(), t = Zf(), e = th(), i = ih(), n = nh(), o = ah(), l = sh(), u = oh(), c = lh(), f = fa(), g = dh(), p = _h(), d = Ch(), m = ra(), v = Rl(), w = wh(), b = Bt(), C = Sh(), R = la(), E = ua(), L = 1, z = 2, G = 4, V = "[object Arguments]", A = "[object Array]", F = "[object Boolean]", re = "[object Date]", pe = "[object Error]", Le = "[object Function]", zt = "[object GeneratorFunction]", Vt = "[object Map]", Et = "[object Number]", xt = "[object Object]", qt = "[object RegExp]", Re = "[object Set]", H = "[object String]", $ = "[object Symbol]", ne = "[object WeakMap]", ve = "[object ArrayBuffer]", we = "[object DataView]", Te = "[object Float32Array]", xe = "[object Float64Array]", Ze = "[object Int8Array]", Gt = "[object Int16Array]", Wt = "[object Int32Array]", It = "[object Uint8Array]", Eu = "[object Uint8ClampedArray]", xu = "[object Uint16Array]", Iu = "[object Uint32Array]", Z = {};
3191
3182
  Z[V] = Z[A] = Z[ve] = Z[we] = Z[F] = Z[re] = Z[Te] = Z[xe] = Z[Ze] = Z[Gt] = Z[Wt] = Z[Vt] = Z[Et] = Z[xt] = Z[qt] = Z[Re] = Z[H] = Z[$] = Z[It] = Z[Eu] = Z[xu] = Z[Iu] = !0, Z[pe] = Z[Le] = Z[ne] = !1;
3192
3183
  function $t(X, ct, ft, Pu, Kt, je) {
3193
3184
  var he, Yt = ct & L, Xt = ct & z, Au = ct & G;
@@ -3221,7 +3212,7 @@ function Eh() {
3221
3212
  }) : w(X) && X.forEach(function(ze, Qe) {
3222
3213
  he.set(Qe, $t(ze, ct, ft, Qe, X, je));
3223
3214
  });
3224
- var Lu = Au ? Xt ? c : u : Xt ? x : R, Ia = Sa ? void 0 : Lu(X);
3215
+ var Lu = Au ? Xt ? c : u : Xt ? E : R, Ia = Sa ? void 0 : Lu(X);
3225
3216
  return s(Ia || X, function(ze, Qe) {
3226
3217
  Ia && (Qe = ze, ze = X[Qe]), r(he, Qe, $t(ze, ct, ft, Qe, X, je));
3227
3218
  }), he;
@@ -3644,7 +3635,7 @@ const Gh = {
3644
3635
  }), w = ye(i.zIndex ?? u()), b = ie(() => {
3645
3636
  const { urlList: H } = i;
3646
3637
  return H.length <= 1;
3647
- }), C = ie(() => d.value === 0), R = ie(() => d.value === i.urlList.length - 1), x = ie(() => i.urlList[d.value]), L = ie(() => [
3638
+ }), C = ie(() => d.value === 0), R = ie(() => d.value === i.urlList.length - 1), E = ie(() => i.urlList[d.value]), L = ie(() => [
3648
3639
  l.e("btn"),
3649
3640
  l.e("prev"),
3650
3641
  l.is("disabled", !i.infinite && C.value)
@@ -3780,7 +3771,7 @@ const Gh = {
3780
3771
  }
3781
3772
  v.value.enableTransition = xe;
3782
3773
  }
3783
- return kt(x, () => {
3774
+ return kt(E, () => {
3784
3775
  Ft(() => {
3785
3776
  const H = f.value[0];
3786
3777
  H != null && H.complete || (p.value = !0);
@@ -4276,7 +4267,7 @@ function sd() {
4276
4267
  b[C - 1] = arguments[C];
4277
4268
  v.fn.apply(v.context, b);
4278
4269
  } else {
4279
- var R = v.length, x;
4270
+ var R = v.length, E;
4280
4271
  for (C = 0; C < R; C++)
4281
4272
  switch (v[C].once && this.removeListener(u, v[C].fn, void 0, !0), w) {
4282
4273
  case 1:
@@ -4292,8 +4283,8 @@ function sd() {
4292
4283
  v[C].fn.call(v[C].context, c, f, g);
4293
4284
  break;
4294
4285
  default:
4295
- if (!b) for (x = 1, b = new Array(w - 1); x < w; x++)
4296
- b[x - 1] = arguments[x];
4286
+ if (!b) for (E = 1, b = new Array(w - 1); E < w; E++)
4287
+ b[E - 1] = arguments[E];
4297
4288
  v[C].fn.apply(v[C].context, b);
4298
4289
  }
4299
4290
  }
@@ -4833,17 +4824,17 @@ function fd(a, s, r) {
4833
4824
  function R() {
4834
4825
  var A = Date.now();
4835
4826
  if (C(A))
4836
- return x(A);
4827
+ return E(A);
4837
4828
  o = m(R, b(A));
4838
4829
  }
4839
- function x(A) {
4830
+ function E(A) {
4840
4831
  return o = void 0, g && t ? d(A) : (t = e = void 0, n);
4841
4832
  }
4842
4833
  function L() {
4843
4834
  o !== void 0 && v(o), u = 0, t = l = e = o = void 0;
4844
4835
  }
4845
4836
  function z() {
4846
- return o === void 0 ? n : x(Date.now());
4837
+ return o === void 0 ? n : E(Date.now());
4847
4838
  }
4848
4839
  function G() {
4849
4840
  return o !== void 0;
@@ -6636,7 +6627,7 @@ var ue = {
6636
6627
  delete this.pluginGroup[r], delete s._pluginInfoId;
6637
6628
  }
6638
6629
  }
6639
- }, E = {
6630
+ }, x = {
6640
6631
  DEFAULT: "xgplayer",
6641
6632
  DEFAULT_SKIN: "xgplayer-skin-default",
6642
6633
  ENTER: "xgplayer-is-enter",
@@ -6787,7 +6778,7 @@ var jd = function(s, r) {
6787
6778
  value: function() {
6788
6779
  var e = this, i = this.config, n = i.disable, o = i.height, l = i.mode;
6789
6780
  if (!n) {
6790
- l === "flex" && this.player.addClass(E.FLEX_CONTROLS);
6781
+ l === "flex" && this.player.addClass(x.FLEX_CONTROLS);
6791
6782
  var u = {
6792
6783
  height: "".concat(o, "px")
6793
6784
  };
@@ -6824,12 +6815,12 @@ var jd = function(s, r) {
6824
6815
  }, {
6825
6816
  key: "recoverAutoHide",
6826
6817
  value: function() {
6827
- this.config.autoHide && h.addClass(this.root, E.CONTROLS_AUTOHIDE);
6818
+ this.config.autoHide && h.addClass(this.root, x.CONTROLS_AUTOHIDE);
6828
6819
  }
6829
6820
  }, {
6830
6821
  key: "pauseAutoHide",
6831
6822
  value: function() {
6832
- h.removeClass(this.root, E.CONTROLS_AUTOHIDE);
6823
+ h.removeClass(this.root, x.CONTROLS_AUTOHIDE);
6833
6824
  }
6834
6825
  }, {
6835
6826
  key: "show",
@@ -6890,7 +6881,7 @@ var jd = function(s, r) {
6890
6881
  "flex-controls": i === "flex"
6891
6882
  }, {
6892
6883
  "bottom-controls": i === "bottom"
6893
- }, _({}, E.CONTROLS_AUTOHIDE, n), {
6884
+ }, _({}, x.CONTROLS_AUTOHIDE, n), {
6894
6885
  "xgplayer-controls-initshow": o || !n
6895
6886
  });
6896
6887
  return '<xg-controls class="'.concat(u, `" unselectable="on">
@@ -7177,7 +7168,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7177
7168
  n = s.call(this, o), _(y(n), "canPlayFunc", function() {
7178
7169
  if (n.config) {
7179
7170
  var v = n.config, w = v.autoplay, b = v.defaultPlaybackRate;
7180
- q.logInfo("player", "canPlayFunc, startTime", n.__startTime), n._seekToStartTime(), n.playbackRate = b, (w || n._useAutoplay) && n.mediaPlay(), n.off(Me, n.canPlayFunc), n.removeClass(E.ENTER);
7171
+ q.logInfo("player", "canPlayFunc, startTime", n.__startTime), n._seekToStartTime(), n.playbackRate = b, (w || n._useAutoplay) && n.mediaPlay(), n.off(Me, n.canPlayFunc), n.removeClass(x.ENTER);
7181
7172
  }
7182
7173
  }), _(y(n), "onFullscreenChange", function(v, w) {
7183
7174
  var b = function() {
@@ -7199,17 +7190,17 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7199
7190
  });
7200
7191
  var R = gd(C, n.playerId, $e);
7201
7192
  if (w || C && (C === n._fullscreenEl || R))
7202
- b(), !n.config.closeFocusVideoFocus && n.media.focus(), n.fullscreen = !0, n.changeFullStyle(n.root, C, E.FULLSCREEN), n.emit(De, !0, n._fullScreenOffset), n.cssfullscreen && n.exitCssFullscreen();
7193
+ b(), !n.config.closeFocusVideoFocus && n.media.focus(), n.fullscreen = !0, n.changeFullStyle(n.root, C, x.FULLSCREEN), n.emit(De, !0, n._fullScreenOffset), n.cssfullscreen && n.exitCssFullscreen();
7203
7194
  else if (n.fullscreen) {
7204
7195
  b();
7205
- var x = y(n), L = x._fullScreenOffset, z = x.config;
7196
+ var E = y(n), L = E._fullScreenOffset, z = E.config;
7206
7197
  if (z.needFullscreenScroll ? (window.scrollTo(L.left, L.top), h.setTimeout(y(n), function() {
7207
7198
  n.fullscreen = !1, n._fullScreenOffset = null;
7208
7199
  }, 100)) : (!n.config.closeFocusVideoFocus && n.media.focus(), n.fullscreen = !1, n._fullScreenOffset = null), n.cssfullscreen)
7209
- n.removeClass(E.FULLSCREEN);
7200
+ n.removeClass(x.FULLSCREEN);
7210
7201
  else {
7211
7202
  var G = n._fullscreenEl;
7212
- !G && (n.root.contains(v.target) || v.target === n.root) && (G = v.target), n.recoverFullStyle(n.root, G, E.FULLSCREEN);
7203
+ !G && (n.root.contains(v.target) || v.target === n.root) && (G = v.target), n.recoverFullStyle(n.root, G, x.FULLSCREEN);
7213
7204
  }
7214
7205
  n._fullscreenEl = null, n.emit(De, !1);
7215
7206
  }
@@ -7285,7 +7276,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7285
7276
  this.controls = u;
7286
7277
  }
7287
7278
  var c = this.config.isMobileSimulateMode === "mobile" ? "mobile" : j.device;
7288
- if (this.addClass("".concat(E.DEFAULT, " ").concat(E.INACTIVE, " xgplayer-").concat(c, " ").concat(this.config.controls ? "" : E.NO_CONTROLS)), this.config.autoplay ? this.addClass(E.ENTER) : this.addClass(E.NO_START), this.config.fluid) {
7279
+ if (this.addClass("".concat(x.DEFAULT, " ").concat(x.INACTIVE, " xgplayer-").concat(c, " ").concat(this.config.controls ? "" : x.NO_CONTROLS)), this.config.autoplay ? this.addClass(x.ENTER) : this.addClass(x.NO_START), this.config.fluid) {
7289
7280
  var f = this.config, g = f.width, p = f.height;
7290
7281
  (typeof g != "number" || typeof p != "number") && (g = 600, p = 337.5);
7291
7282
  var d = {
@@ -7402,7 +7393,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7402
7393
  this.leftBar || (this.leftBar = h.createPositionBar("xg-left-bar", this.root)), i = this.leftBar;
7403
7394
  break;
7404
7395
  case ee.ROOT_TOP:
7405
- this.topBar || (this.topBar = h.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && h.addClass(this.topBar, E.TOP_BAR_AUTOHIDE)), i = this.topBar;
7396
+ this.topBar || (this.topBar = h.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && h.addClass(this.topBar, x.TOP_BAR_AUTOHIDE)), i = this.topBar;
7406
7397
  break;
7407
7398
  default:
7408
7399
  i = this.innerContainer || this.root;
@@ -7538,22 +7529,22 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7538
7529
  value: function() {
7539
7530
  var e = this;
7540
7531
  if (!this.hasStart && this.state < W.ATTACHED) {
7541
- this.removeClass(E.NO_START), this.addClass(E.ENTER), this.start(), this._useAutoplay = !0;
7532
+ this.removeClass(x.NO_START), this.addClass(x.ENTER), this.start(), this._useAutoplay = !0;
7542
7533
  return;
7543
7534
  }
7544
- this.state < W.RUNNING && (this.removeClass(E.NO_START), !this.isCanplay && this.addClass(E.ENTER));
7535
+ this.state < W.RUNNING && (this.removeClass(x.NO_START), !this.isCanplay && this.addClass(x.ENTER));
7545
7536
  var i = U(B(r.prototype), "play", this).call(this);
7546
7537
  return i !== void 0 && i && i.then ? i.then(function() {
7547
- e.removeClass(E.NOT_ALLOW_AUTOPLAY), e.addClass(E.PLAYING), e.state < W.RUNNING && (q.logInfo(">>>>playPromise.then"), e.setState(W.RUNNING), e.emit(at));
7538
+ e.removeClass(x.NOT_ALLOW_AUTOPLAY), e.addClass(x.PLAYING), e.state < W.RUNNING && (q.logInfo(">>>>playPromise.then"), e.setState(W.RUNNING), e.emit(at));
7548
7539
  }).catch(function(n) {
7549
7540
  if (q.logWarn(">>>>playPromise.catch", n.name), e.media && e.media.error) {
7550
- e.onError(), e.removeClass(E.ENTER);
7541
+ e.onError(), e.removeClass(x.ENTER);
7551
7542
  return;
7552
7543
  }
7553
7544
  n.name === "NotAllowedError" && (e._errorTimer = h.setTimeout(e, function() {
7554
- e._errorTimer = null, e.emit(ya), e.addClass(E.NOT_ALLOW_AUTOPLAY), e.removeClass(E.ENTER), e.pause(), e.setState(W.NOTALLOW);
7545
+ e._errorTimer = null, e.emit(ya), e.addClass(x.NOT_ALLOW_AUTOPLAY), e.removeClass(x.ENTER), e.pause(), e.setState(W.NOTALLOW);
7555
7546
  }, 0));
7556
- }) : (q.logWarn("video.play not return promise"), this.state < W.RUNNING && (this.setState(W.RUNNING), this.removeClass(E.NOT_ALLOW_AUTOPLAY), this.removeClass(E.NO_START), this.removeClass(E.ENTER), this.addClass(E.PLAYING), this.emit(at))), i;
7547
+ }) : (q.logWarn("video.play not return promise"), this.state < W.RUNNING && (this.setState(W.RUNNING), this.removeClass(x.NOT_ALLOW_AUTOPLAY), this.removeClass(x.NO_START), this.removeClass(x.ENTER), this.addClass(x.PLAYING), this.emit(at))), i;
7557
7548
  }
7558
7549
  }, {
7559
7550
  key: "mediaPause",
@@ -7569,7 +7560,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7569
7560
  key: "play",
7570
7561
  value: function() {
7571
7562
  var e = this;
7572
- return this.removeClass(E.PAUSED), Se(this, "play", function() {
7563
+ return this.removeClass(x.PAUSED), Se(this, "play", function() {
7573
7564
  return e.mediaPlay();
7574
7565
  });
7575
7566
  }
@@ -7588,7 +7579,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7588
7579
  if (!(!this.media || Number.isNaN(Number(e)) || !this.hasStart)) {
7589
7580
  var o = this.config, l = o.isSeekedPlay, u = o.seekedStatus, c = i || (l ? "play" : u);
7590
7581
  e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(Ne, this._onceSeekCanplay), this._onceSeekCanplay = function() {
7591
- switch (n.removeClass(E.ENTER), n.isSeeking = !1, c) {
7582
+ switch (n.removeClass(x.ENTER), n.isSeeking = !1, c) {
7592
7583
  case "play":
7593
7584
  n.play();
7594
7585
  break;
@@ -7599,7 +7590,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7599
7590
  n._isPauseBeforeSeek > 1 || n.paused ? n.pause() : n.play();
7600
7591
  }
7601
7592
  n._isPauseBeforeSeek = 0, n._onceSeekCanplay = null;
7602
- }, this.once(Ne, this._onceSeekCanplay), this.state < W.RUNNING ? (this.removeClass(E.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
7593
+ }, this.once(Ne, this._onceSeekCanplay), this.state < W.RUNNING ? (this.removeClass(x.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
7603
7594
  }
7604
7595
  }
7605
7596
  }, {
@@ -7646,10 +7637,10 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7646
7637
  }, {
7647
7638
  key: "resetState",
7648
7639
  value: function() {
7649
- var e = this, i = E.NOT_ALLOW_AUTOPLAY, n = E.PLAYING, o = E.NO_START, l = E.PAUSED, u = E.REPLAY, c = E.ENTER, f = E.ENDED, g = E.ERROR, p = E.LOADING, d = [i, n, o, l, u, c, f, g, p];
7640
+ var e = this, i = x.NOT_ALLOW_AUTOPLAY, n = x.PLAYING, o = x.NO_START, l = x.PAUSED, u = x.REPLAY, c = x.ENTER, f = x.ENDED, g = x.ERROR, p = x.LOADING, d = [i, n, o, l, u, c, f, g, p];
7650
7641
  this.hasStart = !1, this.isError = !1, this._useAutoplay = !1, this.mediaPause(), this._accPlayed.acc = 0, this._accPlayed.t = 0, this._accPlayed.loopAcc = 0, d.forEach(function(m) {
7651
7642
  e.removeClass(m);
7652
- }), this.addClass(E.NO_START), this.emit(Ei);
7643
+ }), this.addClass(x.NO_START), this.emit(Ei);
7653
7644
  }
7654
7645
  }, {
7655
7646
  key: "reset",
@@ -7689,7 +7680,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7689
7680
  key: "replay",
7690
7681
  value: function() {
7691
7682
  var e = this;
7692
- this.removeClass(E.ENDED), this.currentTime = 0, this.isSeeking = !1, Se(this, "replay", function() {
7683
+ this.removeClass(x.ENDED), this.currentTime = 0, this.isSeeking = !1, Se(this, "replay", function() {
7693
7684
  e.once(Ne, function() {
7694
7685
  var i = e.mediaPlay();
7695
7686
  i && i.catch && i.catch(function(n) {
@@ -7702,7 +7693,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7702
7693
  key: "retry",
7703
7694
  value: function() {
7704
7695
  var e = this;
7705
- this.removeClass(E.ERROR), this.addClass(E.LOADING), Se(this, "retry", function() {
7696
+ this.removeClass(x.ERROR), this.addClass(x.LOADING), Se(this, "retry", function() {
7706
7697
  var i = e.currentTime, n = e.config.url, o = h.isMSE(e.media) ? {
7707
7698
  url: n
7708
7699
  } : e.preProcessUrl(n);
@@ -7714,12 +7705,12 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7714
7705
  }, {
7715
7706
  key: "changeFullStyle",
7716
7707
  value: function(e, i, n, o) {
7717
- e && (o || (o = E.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = h.filterStyleFromText(e)), h.addClass(e, n), i && i !== e && !this._orgPCss && (this._orgPCss = h.filterStyleFromText(i), h.addClass(i, o), i.setAttribute($e, this.playerId)));
7708
+ e && (o || (o = x.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = h.filterStyleFromText(e)), h.addClass(e, n), i && i !== e && !this._orgPCss && (this._orgPCss = h.filterStyleFromText(i), h.addClass(i, o), i.setAttribute($e, this.playerId)));
7718
7709
  }
7719
7710
  }, {
7720
7711
  key: "recoverFullStyle",
7721
7712
  value: function(e, i, n, o) {
7722
- o || (o = E.PARENT_FULLSCREEN), this._orgCss && (h.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), h.removeClass(e, n), i && i !== e && this._orgPCss && (h.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", h.removeClass(i, o), i.removeAttribute($e));
7713
+ o || (o = x.PARENT_FULLSCREEN), this._orgCss && (h.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), h.removeClass(e, n), i && i !== e && this._orgPCss && (h.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", h.removeClass(i, o), i.removeAttribute($e));
7723
7714
  }
7724
7715
  }, {
7725
7716
  key: "getFullscreen",
@@ -7777,7 +7768,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7777
7768
  value: function() {
7778
7769
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
7779
7770
  this.isRotateFullscreen ? this.exitRotateFullscreen() : this.fullscreen && this.exitFullscreen();
7780
- var i = e ? "".concat(E.INNER_FULLSCREEN, " ").concat(E.CSS_FULLSCREEN) : E.CSS_FULLSCREEN;
7771
+ var i = e ? "".concat(x.INNER_FULLSCREEN, " ").concat(x.CSS_FULLSCREEN) : x.CSS_FULLSCREEN;
7781
7772
  this.changeFullStyle(this.root, e, i);
7782
7773
  var n = this.config.fullscreen, o = n === void 0 ? {} : n, l = o.useCssFullscreen === !0 || typeof o.useCssFullscreen == "function" && o.useCssFullscreen();
7783
7774
  l && (this.fullscreen = !0, this.emit(De, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(si, !0);
@@ -7785,7 +7776,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7785
7776
  }, {
7786
7777
  key: "exitCssFullscreen",
7787
7778
  value: function() {
7788
- var e = this._cssfullscreenEl ? "".concat(E.INNER_FULLSCREEN, " ").concat(E.CSS_FULLSCREEN) : E.CSS_FULLSCREEN;
7779
+ var e = this._cssfullscreenEl ? "".concat(x.INNER_FULLSCREEN, " ").concat(x.CSS_FULLSCREEN) : x.CSS_FULLSCREEN;
7789
7780
  if (!this.fullscreen)
7790
7781
  this.recoverFullStyle(this.root, this._cssfullscreenEl, e);
7791
7782
  else {
@@ -7799,16 +7790,16 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7799
7790
  value: function() {
7800
7791
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
7801
7792
  this.cssfullscreen && this.exitCssFullscreen(e);
7802
- var i = e ? "".concat(E.INNER_FULLSCREEN, " ").concat(E.ROTATE_FULLSCREEN) : E.ROTATE_FULLSCREEN;
7803
- this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, E.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style");
7793
+ var i = e ? "".concat(x.INNER_FULLSCREEN, " ").concat(x.ROTATE_FULLSCREEN) : x.ROTATE_FULLSCREEN;
7794
+ this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, x.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style");
7804
7795
  var n = Math.abs(window.orientation) === 90 || Math.abs(screen.orientation.angle) === 90;
7805
7796
  this.root.style.width = n ? "".concat(window.innerWidth, "px") : "".concat(window.innerHeight, "px"), this.emit(De, !0);
7806
7797
  }
7807
7798
  }, {
7808
7799
  key: "exitRotateFullscreen",
7809
7800
  value: function(e) {
7810
- var i = this._fullscreenEl !== this.root ? "".concat(E.INNER_FULLSCREEN, " ").concat(E.ROTATE_FULLSCREEN) : E.ROTATE_FULLSCREEN;
7811
- this.recoverFullStyle(this.root, this._fullscreenEl, i, E.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(De, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
7801
+ var i = this._fullscreenEl !== this.root ? "".concat(x.INNER_FULLSCREEN, " ").concat(x.ROTATE_FULLSCREEN) : x.ROTATE_FULLSCREEN;
7802
+ this.recoverFullStyle(this.root, this._fullscreenEl, i, x.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(De, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
7812
7803
  }
7813
7804
  }, {
7814
7805
  key: "setRotateDeg",
@@ -7853,7 +7844,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7853
7844
  autoHide: !0,
7854
7845
  delay: 3e3
7855
7846
  }, n = this.innerStates;
7856
- if (this.isActive = !0, this.removeClass(E.INACTIVE), this._clearUserTimer(), i.isLock !== void 0 && (n.isActiveLocked = i.isLock), i.autoHide === !1 || i.isLock === !0 || n.isActiveLocked) {
7847
+ if (this.isActive = !0, this.removeClass(x.INACTIVE), this._clearUserTimer(), i.isLock !== void 0 && (n.isActiveLocked = i.isLock), i.autoHide === !1 || i.isLock === !0 || n.isActiveLocked) {
7857
7848
  this._clearUserTimer();
7858
7849
  return;
7859
7850
  }
@@ -7868,7 +7859,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7868
7859
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = e.ignorePaused, n = i === void 0 ? !1 : i;
7869
7860
  if (!this.innerStates.isActiveLocked) {
7870
7861
  var o = this.config.closePauseVideoFocus;
7871
- this.isActive = !1, (n || o || !this.paused && !this.ended) && this.addClass(E.INACTIVE);
7862
+ this.isActive = !1, (n || o || !this.paused && !this.ended) && this.addClass(x.INACTIVE);
7872
7863
  }
7873
7864
  }
7874
7865
  }, {
@@ -7879,7 +7870,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7879
7870
  }, {
7880
7871
  key: "onCanplay",
7881
7872
  value: function() {
7882
- this.removeClass(E.ENTER), this.removeClass(E.ERROR), this.removeClass(E.LOADING), this.isCanplay = !0, this.waitTimer && h.clearTimeout(this, this.waitTimer);
7873
+ this.removeClass(x.ENTER), this.removeClass(x.ERROR), this.removeClass(x.LOADING), this.isCanplay = !0, this.waitTimer && h.clearTimeout(this, this.waitTimer);
7883
7874
  }
7884
7875
  }, {
7885
7876
  key: "onLoadeddata",
@@ -7892,44 +7883,44 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7892
7883
  }, {
7893
7884
  key: "onLoadstart",
7894
7885
  value: function() {
7895
- this.removeClass(E.ERROR), this.isCanplay = !1;
7886
+ this.removeClass(x.ERROR), this.isCanplay = !1;
7896
7887
  }
7897
7888
  }, {
7898
7889
  key: "onPlay",
7899
7890
  value: function() {
7900
- this.state === W.ENDED && this.setState(W.RUNNING), this.removeClass(E.PAUSED), this.ended && this.removeClass(E.ENDED), !this.config.closePlayVideoFocus && this.focus();
7891
+ this.state === W.ENDED && this.setState(W.RUNNING), this.removeClass(x.PAUSED), this.ended && this.removeClass(x.ENDED), !this.config.closePlayVideoFocus && this.focus();
7901
7892
  }
7902
7893
  }, {
7903
7894
  key: "onPause",
7904
7895
  value: function() {
7905
- this.addClass(E.PAUSED), this.updateAcc("pause"), this.config.closePauseVideoFocus || (this._clearUserTimer(), this.focus());
7896
+ this.addClass(x.PAUSED), this.updateAcc("pause"), this.config.closePauseVideoFocus || (this._clearUserTimer(), this.focus());
7906
7897
  }
7907
7898
  }, {
7908
7899
  key: "onEnded",
7909
7900
  value: function() {
7910
- this.updateAcc("ended"), this.addClass(E.ENDED), this.setState(W.ENDED);
7901
+ this.updateAcc("ended"), this.addClass(x.ENDED), this.setState(W.ENDED);
7911
7902
  }
7912
7903
  }, {
7913
7904
  key: "onError",
7914
7905
  value: function() {
7915
- this.isError = !0, this.updateAcc("error"), this.removeClass(E.NOT_ALLOW_AUTOPLAY), this.removeClass(E.NO_START), this.removeClass(E.ENTER), this.removeClass(E.LOADING), this.addClass(E.ERROR);
7906
+ this.isError = !0, this.updateAcc("error"), this.removeClass(x.NOT_ALLOW_AUTOPLAY), this.removeClass(x.NO_START), this.removeClass(x.ENTER), this.removeClass(x.LOADING), this.addClass(x.ERROR);
7916
7907
  }
7917
7908
  }, {
7918
7909
  key: "onSeeking",
7919
7910
  value: function() {
7920
- this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(E.SEEKING);
7911
+ this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(x.SEEKING);
7921
7912
  }
7922
7913
  }, {
7923
7914
  key: "onSeeked",
7924
7915
  value: function() {
7925
- this.isSeeking = !1, this.waitTimer && h.clearTimeout(this, this.waitTimer), this.removeClass(E.LOADING), this.removeClass(E.SEEKING);
7916
+ this.isSeeking = !1, this.waitTimer && h.clearTimeout(this, this.waitTimer), this.removeClass(x.LOADING), this.removeClass(x.SEEKING);
7926
7917
  }
7927
7918
  }, {
7928
7919
  key: "onWaiting",
7929
7920
  value: function() {
7930
7921
  var e = this;
7931
7922
  this.waitTimer && h.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = h.setTimeout(this, function() {
7932
- e.addClass(E.LOADING), e.emit(iu), h.clearTimeout(e, e.waitTimer), e.waitTimer = null;
7923
+ e.addClass(x.LOADING), e.emit(iu), h.clearTimeout(e, e.waitTimer), e.waitTimer = null;
7933
7924
  }, this.config.minWaitDelay);
7934
7925
  }
7935
7926
  }, {
@@ -7937,7 +7928,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7937
7928
  value: function() {
7938
7929
  var e = this;
7939
7930
  this.isError = !1;
7940
- var i = E.NO_START, n = E.PAUSED, o = E.ENDED, l = E.ERROR, u = E.REPLAY, c = E.LOADING, f = [i, n, o, l, u, c];
7931
+ var i = x.NO_START, n = x.PAUSED, o = x.ENDED, l = x.ERROR, u = x.REPLAY, c = x.LOADING, f = [i, n, o, l, u, c];
7941
7932
  f.forEach(function(g) {
7942
7933
  e.removeClass(g);
7943
7934
  }), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
@@ -7945,7 +7936,7 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
7945
7936
  }, {
7946
7937
  key: "onTimeupdate",
7947
7938
  value: function() {
7948
- !this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(E.LOADING)) && this.media.readyState > 2 && (this.removeClass(E.LOADING), h.clearTimeout(this, this.waitTimer), this.waitTimer = null), !this.paused && this.state === W.NOTALLOW && this.duration && (this.setState(W.RUNNING), this.emit(at)), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
7939
+ !this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(x.LOADING)) && this.media.readyState > 2 && (this.removeClass(x.LOADING), h.clearTimeout(this, this.waitTimer), this.waitTimer = null), !this.paused && this.state === W.NOTALLOW && this.duration && (this.setState(W.RUNNING), this.emit(at)), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
7949
7940
  }
7950
7941
  }, {
7951
7942
  key: "onVolumechange",
@@ -8004,17 +7995,17 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
8004
7995
  this.videoPos.pi = f, c = c < 0 ? 0 : c;
8005
7996
  var g = {
8006
7997
  rotate: c
8007
- }, p = 0, d = 0, m = 1, v = Math.abs(c / 90), w = this.root, b = this.innerContainer, C = w.offsetWidth, R = b ? b.offsetHeight : w.offsetHeight, x = {}, L = R, z = C;
7998
+ }, p = 0, d = 0, m = 1, v = Math.abs(c / 90), w = this.root, b = this.innerContainer, C = w.offsetWidth, R = b ? b.offsetHeight : w.offsetHeight, E = {}, L = R, z = C;
8008
7999
  if (v % 2 === 0)
8009
- m = l > 0 ? 100 / l : u > 0 ? 100 / u : 1, g.scale = m, p = n > 0 ? (100 - l) / 2 - n : 0, g.y = v === 2 ? 0 - p : p, d = o > 0 ? (100 - u) / 2 - o : 0, g.x = v === 2 ? 0 - d : d, x.width = "".concat(z, "px"), x.height = "".concat(L, "px"), x.maxWidth = "", x.maxHeight = "";
8000
+ m = l > 0 ? 100 / l : u > 0 ? 100 / u : 1, g.scale = m, p = n > 0 ? (100 - l) / 2 - n : 0, g.y = v === 2 ? 0 - p : p, d = o > 0 ? (100 - u) / 2 - o : 0, g.x = v === 2 ? 0 - d : d, E.width = "".concat(z, "px"), E.height = "".concat(L, "px"), E.maxWidth = "", E.maxHeight = "";
8010
8001
  else if (v % 2 === 1) {
8011
8002
  z = R, L = C;
8012
8003
  var G = R - C;
8013
- d = -G / 2 / z * 100, g.x = v === 3 ? d + n / 2 : d - n / 2, p = G / 2 / L * 100, g.y = v === 3 ? p + o / 2 : p - o / 2, g.scale = m, x.width = "".concat(z, "px"), x.maxWidth = "".concat(z, "px"), x.height = "".concat(L, "px"), x.maxHeight = "".concat(L, "px");
8004
+ d = -G / 2 / z * 100, g.x = v === 3 ? d + n / 2 : d - n / 2, p = G / 2 / L * 100, g.y = v === 3 ? p + o / 2 : p - o / 2, g.scale = m, E.width = "".concat(z, "px"), E.maxWidth = "".concat(z, "px"), E.height = "".concat(L, "px"), E.maxHeight = "".concat(L, "px");
8014
8005
  }
8015
8006
  var V = h.getTransformStyle(g, this.media.style.transform || this.media.style.webkitTransform);
8016
- x.transform = V, x.webkitTransform = V, Object.keys(x).map(function(A) {
8017
- e.media.style[A] = x[A];
8007
+ E.transform = V, E.webkitTransform = V, Object.keys(E).map(function(A) {
8008
+ e.media.style[A] = E[A];
8018
8009
  });
8019
8010
  }
8020
8011
  }
@@ -8064,8 +8055,8 @@ var $d = ["play", "pause", "replay", "retry"], al = 0, sl = 0, qe = null, xi = /
8064
8055
  if ((f === "fill" || f === "cover" || f === "contain") && this.setAttribute("data-xgfill", f), !(!l || !o)) {
8065
8056
  this._videoHeight = l, this._videoWidth = o;
8066
8057
  var g = this.controls && this.innerContainer ? this.controls.root.getBoundingClientRect().height : 0, p = i.width, d = i.height - g, m = parseInt(o / l * 1e3, 10), v = parseInt(p / d * 1e3, 10), w = p, b = d, C = {};
8067
- c === "auto" && v > m || c === "fixWidth" ? (b = p / m * 1e3, this.config.fluid ? C.paddingTop = "".concat(b * 100 / w, "%") : C.height = "".concat(b + g, "px")) : (c === "auto" && v < m || c === "fixHeight") && (w = m * d / 1e3, C.width = "".concat(w, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(C).forEach(function(x) {
8068
- e.root.style[x] = C[x];
8058
+ c === "auto" && v > m || c === "fixWidth" ? (b = p / m * 1e3, this.config.fluid ? C.paddingTop = "".concat(b * 100 / w, "%") : C.height = "".concat(b + g, "px")) : (c === "auto" && v < m || c === "fixHeight") && (w = m * d / 1e3, C.width = "".concat(w, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(C).forEach(function(E) {
8059
+ e.root.style[E] = C[E];
8069
8060
  }), (f === "fillHeight" && v < m || f === "fillWidth" && v > m) && this.setAttribute("data-xgfill", "cover");
8070
8061
  var R = {
8071
8062
  videoScale: m,
@@ -12183,9 +12174,9 @@ var xg = /* @__PURE__ */ (function(a) {
12183
12174
  webKitTransform: b,
12184
12175
  height: m,
12185
12176
  width: d
12186
- }, R = i ? f : u, x = i ? n.getPlugin("poster") : null;
12177
+ }, R = i ? f : u, E = i ? n.getPlugin("poster") : null;
12187
12178
  Object.keys(C).map(function(L) {
12188
- R.style[L] = C[L], x && x.root && (x.root.style[L] = C[L]);
12179
+ R.style[L] = C[L], E && E.root && (E.root.style[L] = C[L]);
12189
12180
  });
12190
12181
  }
12191
12182
  }, {
@@ -12867,8 +12858,8 @@ var Fg = /* @__PURE__ */ (function(a) {
12867
12858
  d = u.media.canvas;
12868
12859
  else {
12869
12860
  n.canvas ? (n.canvas.width = e || l.width, n.canvas.height = i || l.height) : n.createCanvas(e, i), d = n.canvas, m = n.canvasCtx;
12870
- var v = u.media.videoWidth / u.media.videoHeight, w = d.width / d.height, b = 0, C = 0, R = u.media.videoWidth, x = u.media.videoHeight, L, z, G, V;
12871
- v > w ? (G = d.width, V = d.width / v, L = 0, z = Math.round((d.height - V) / 2)) : v === w ? (G = d.width, V = d.height, L = 0, z = 0) : v < w && (G = d.height * v, V = d.height, L = Math.round((d.width - G) / 2), z = 0), m.drawImage(u.media, b, C, R, x, L, z, G, V);
12861
+ var v = u.media.videoWidth / u.media.videoHeight, w = d.width / d.height, b = 0, C = 0, R = u.media.videoWidth, E = u.media.videoHeight, L, z, G, V;
12862
+ v > w ? (G = d.width, V = d.width / v, L = 0, z = Math.round((d.height - V) / 2)) : v === w ? (G = d.width, V = d.height, L = 0, z = 0) : v < w && (G = d.height * v, V = d.height, L = Math.round((d.width - G) / 2), z = 0), m.drawImage(u.media, b, C, R, E, L, z, G, V);
12872
12863
  }
12873
12864
  var A = d.toDataURL(f, c).replace(f, "image/octet-stream");
12874
12865
  A = A.replace(/^data:image\/[^;]+/, "data:application/octet-stream"), g(A);
@@ -13483,7 +13474,7 @@ var et = j.device === "mobile", gi = /* @__PURE__ */ (function(a) {
13483
13474
  }, {
13484
13475
  key: "render",
13485
13476
  value: function() {
13486
- return '<xg-prompt class="xgplayer-prompt '.concat(E.CONTROLS_FOLLOW, `">
13477
+ return '<xg-prompt class="xgplayer-prompt '.concat(x.CONTROLS_FOLLOW, `">
13487
13478
  <span class="xgplayer-prompt-detail"></span>
13488
13479
  </xg-prompt>`);
13489
13480
  }
@@ -14029,16 +14020,16 @@ var yt = {
14029
14020
  var R = i / n;
14030
14021
  R < f / g ? (C = n, b = C * (f / g)) : (b = i, C = b / (f / g));
14031
14022
  } else n ? i || (C = n || g, b = C * (f / g)) : (b = i || f, C = b / (f / g));
14032
- var x = this.getUrlByIndex(d);
14023
+ var E = this.getUrlByIndex(d);
14033
14024
  return {
14034
14025
  urlIndex: d,
14035
14026
  rowIndex: v,
14036
14027
  colIndex: w,
14037
- url: x,
14028
+ url: E,
14038
14029
  height: C,
14039
14030
  width: b,
14040
14031
  style: {
14041
- backgroundImage: "url(".concat(x, ")"),
14032
+ backgroundImage: "url(".concat(E, ")"),
14042
14033
  backgroundSize: "".concat(b * c, "px auto"),
14043
14034
  backgroundPosition: "-".concat(w * b, "px -").concat(v * C, "px"),
14044
14035
  width: "".concat(b, "px"),
@@ -15027,7 +15018,7 @@ _(le, "Events", Ed);
15027
15018
  _(le, "Plugin", Y);
15028
15019
  _(le, "BasePlugin", Xe);
15029
15020
  _(le, "I18N", Ct);
15030
- _(le, "STATE_CLASS", E);
15021
+ _(le, "STATE_CLASS", x);
15031
15022
  _(le, "InstManager", vu);
15032
15023
  _(le, "PlayIcon", yu);
15033
15024
  _(le, "TimeIcon", bu);
@@ -15297,8 +15288,8 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
15297
15288
  var w, b, C;
15298
15289
  let f = document.createElement("div"), g = document.getElementById("approveProcess"), p = 0, d = (w = document.getElementById(`${c[0]}`)) == null ? void 0 : w.offsetWidth, m = (b = document.getElementById(`${c[0]}`)) == null ? void 0 : b.offsetLeft, v = (C = document.getElementById(`${c[0]}`)) == null ? void 0 : C.offsetTop;
15299
15290
  c.forEach((R) => {
15300
- let x = document.getElementById(`${R}`);
15301
- p += x.offsetHeight;
15291
+ let E = document.getElementById(`${R}`);
15292
+ p += E.offsetHeight;
15302
15293
  }), setTimeout(() => {
15303
15294
  f.style.width = d + 32 + "px", f.style.height = p + "px", f.style.background = "#f9f9f9", f.style.position = "absolute", f.style.top = v - 16 + "px", f.style.left = m - 16 + "px", f.style.zIndex = -1, g == null || g.appendChild(f);
15304
15295
  });
@@ -15347,7 +15338,7 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
15347
15338
  oe,
15348
15339
  null,
15349
15340
  Fe(e.listData, (d, m) => {
15350
- var v, w, b, C, R, x, L, z, G, V;
15341
+ var v, w, b, C, R, E, L, z, G, V;
15351
15342
  return k(), S("div", {
15352
15343
  class: "approveBlock",
15353
15344
  id: d[e.defaultFile.nodeId],
@@ -15524,7 +15515,7 @@ const ip = ["id"], np = /* @__PURE__ */ ae({
15524
15515
  I(" 抄送多人时 "),
15525
15516
  ((R = d[e.defaultFile.approvePersonList]) == null ? void 0 : R.length) > 1 ? (k(), S("span", Ip, [
15526
15517
  rt(
15527
- J(`已抄送${(x = d[e.defaultFile.approvePersonList]) == null ? void 0 : x.length}人`) + " ",
15518
+ J(`已抄送${(E = d[e.defaultFile.approvePersonList]) == null ? void 0 : E.length}人`) + " ",
15528
15519
  1
15529
15520
  /* TEXT */
15530
15521
  ),