iking-web-ui-pro 0.2.26 → 0.2.27

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.
@@ -1,7 +1,7 @@
1
- import { defineComponent as oe, computed as X, openBlock as x, createElementBlock as R, createElementVNode as S, inject as qe, ref as me, resolveComponent as Ne, Fragment as Oe, renderList as lt, normalizeStyle as ee, toDisplayString as Te, normalizeClass as te, createVNode as G, unref as z, withModifiers as ui, renderSlot as Fe, createBlock as Ee, withCtx as de, createCommentVNode as se, mergeModels as ut, useModel as Kt, reactive as Cn, watch as Yt, nextTick as zi, createTextVNode as Ht, h as wn, mergeProps as bn, createSlots as Tn, Teleport as En, Transition as Sn, pushScopeId as xn, popScopeId as In } from "vue";
1
+ import { defineComponent as oe, computed as X, openBlock as x, createElementBlock as D, createElementVNode as S, inject as qe, ref as me, resolveComponent as Me, Fragment as Re, renderList as lt, normalizeStyle as te, toDisplayString as Te, normalizeClass as Q, createVNode as G, unref as z, withModifiers as ui, renderSlot as Oe, createBlock as Ne, withCtx as de, createCommentVNode as se, mergeModels as ut, useModel as Kt, reactive as Cn, watch as Yt, nextTick as zi, createTextVNode as Ht, h as wn, mergeProps as bn, createSlots as Tn, Teleport as En, Transition as Sn, pushScopeId as xn, popScopeId as In } from "vue";
2
2
  import { paramType as Pn, ikFile as An, buildUUID as Vi, ikColor as Ln, ikUrl as Dn } from "iking-utils-pro";
3
3
  import { useNamespace as Rn } from "element-plus";
4
- const Ie = (a, o) => {
4
+ const xe = (a, o) => {
5
5
  if (a.install = (r) => {
6
6
  for (const t of [a, ...Object.values(o ?? {})])
7
7
  r.component(t.name, t);
@@ -620,15 +620,15 @@ const Ie = (a, o) => {
620
620
  },
621
621
  setup(a) {
622
622
  const o = a, r = X(() => o.file ? Ut(o.file, o.fields) : o.type);
623
- return (t, e) => r.value === "image" ? (x(), R("svg", Mn, zn)) : r.value === "zip" ? (x(), R("svg", Vn, Gn)) : r.value === "ppt" ? (x(), R("svg", $n, Xn)) : r.value === "word" ? (x(), R("svg", qn, Qn)) : r.value === "pdf" ? (x(), R("svg", er, nr)) : r.value === "txt" ? (x(), R("svg", rr, ar)) : r.value === "audio" ? (x(), R("svg", lr, fr)) : r.value === "video" ? (x(), R("svg", hr, pr)) : r.value === "excel" ? (x(), R("svg", vr, kr)) : r.value === "exe" ? (x(), R("svg", Cr, Sr)) : r.value === "json" ? (x(), R("svg", xr, Lr)) : (x(), R("svg", Dr, Mr));
623
+ return (t, e) => r.value === "image" ? (x(), D("svg", Mn, zn)) : r.value === "zip" ? (x(), D("svg", Vn, Gn)) : r.value === "ppt" ? (x(), D("svg", $n, Xn)) : r.value === "word" ? (x(), D("svg", qn, Qn)) : r.value === "pdf" ? (x(), D("svg", er, nr)) : r.value === "txt" ? (x(), D("svg", rr, ar)) : r.value === "audio" ? (x(), D("svg", lr, fr)) : r.value === "video" ? (x(), D("svg", hr, pr)) : r.value === "excel" ? (x(), D("svg", vr, kr)) : r.value === "exe" ? (x(), D("svg", Cr, Sr)) : r.value === "json" ? (x(), D("svg", xr, Lr)) : (x(), D("svg", Dr, Mr));
624
624
  }
625
- }), Br = Ie(Nr);
625
+ }), Br = xe(Nr);
626
626
  /*! Element Plus Icons Vue v2.3.1 */
627
627
  var Hr = /* @__PURE__ */ oe({
628
628
  name: "Close",
629
629
  __name: "close",
630
630
  setup(a) {
631
- return (o, r) => (x(), R("svg", {
631
+ return (o, r) => (x(), D("svg", {
632
632
  xmlns: "http://www.w3.org/2000/svg",
633
633
  viewBox: "0 0 1024 1024"
634
634
  }, [
@@ -769,22 +769,22 @@ const Vr = (a) => {
769
769
  })));
770
770
  return (f, d) => {
771
771
  var p, m, y;
772
- const g = Ne("tmplate");
773
- return x(), R(
774
- Oe,
772
+ const g = Me("tmplate");
773
+ return x(), D(
774
+ Re,
775
775
  null,
776
776
  [
777
- (p = a.list) != null && p.length ? (x(), R(
778
- Oe,
777
+ (p = a.list) != null && p.length ? (x(), D(
778
+ Re,
779
779
  { key: 0 },
780
780
  [
781
- a.simple ? (x(!0), R(
782
- Oe,
781
+ a.simple ? (x(!0), D(
782
+ Re,
783
783
  { key: 0 },
784
- lt(c.value, (k, b) => (x(), R("div", {
784
+ lt(c.value, (k, b) => (x(), D("div", {
785
785
  class: "iking-privew-annex simple",
786
786
  onClick: (w) => s(k),
787
- style: ee({ width: u.value })
787
+ style: te({ width: u.value })
788
788
  }, [
789
789
  S(
790
790
  "div",
@@ -796,7 +796,7 @@ const Vr = (a) => {
796
796
  S(
797
797
  "div",
798
798
  {
799
- class: te(["flex flex-center", { "hover-show": a.iconHoverShow }])
799
+ class: Q(["flex flex-center", { "hover-show": a.iconHoverShow }])
800
800
  },
801
801
  [
802
802
  G(z(be), {
@@ -810,7 +810,7 @@ const Vr = (a) => {
810
810
  size: 20,
811
811
  active: ""
812
812
  }),
813
- Fe(f.$slots, "operation", {
813
+ Oe(f.$slots, "operation", {
814
814
  data: { ...k, findex: b }
815
815
  })
816
816
  ],
@@ -820,19 +820,19 @@ const Vr = (a) => {
820
820
  ], 12, jr))),
821
821
  256
822
822
  /* UNKEYED_FRAGMENT */
823
- )) : (x(), Ee(g, { key: 1 }, {
823
+ )) : (x(), Ne(g, { key: 1 }, {
824
824
  default: de(() => [
825
- (x(!0), R(
826
- Oe,
825
+ (x(!0), D(
826
+ Re,
827
827
  null,
828
828
  lt(c.value, (k, b) => {
829
829
  var w;
830
- return x(), R(
830
+ return x(), D(
831
831
  "div",
832
832
  {
833
- class: te(["iking-privew-annex", { "is-bg": a.showBg }]),
833
+ class: Q(["iking-privew-annex", { "is-bg": a.showBg }]),
834
834
  key: b,
835
- style: ee({
835
+ style: te({
836
836
  marginBottom: b == ((w = a.list) == null ? void 0 : w.length) - 1 ? "0" : "10px",
837
837
  width: u.value
838
838
  })
@@ -844,7 +844,7 @@ const Vr = (a) => {
844
844
  }, [
845
845
  G(z(Br), {
846
846
  file: k,
847
- style: ee({ height: `${a.iconSize}px` }),
847
+ style: te({ height: `${a.iconSize}px` }),
848
848
  class: "ikui-w-auto",
849
849
  fields: e.value
850
850
  }, null, 8, ["file", "style", "fields"]),
@@ -867,7 +867,7 @@ const Vr = (a) => {
867
867
  S(
868
868
  "div",
869
869
  {
870
- class: te(["flex flex-center", { "hover-show": a.iconHoverShow }])
870
+ class: Q(["flex flex-center", { "hover-show": a.iconHoverShow }])
871
871
  },
872
872
  [
873
873
  G(z(be), {
@@ -883,7 +883,7 @@ const Vr = (a) => {
883
883
  size: a.showBg ? "default" : 20,
884
884
  title: "预览"
885
885
  }, null, 8, ["bg", "size"]),
886
- Fe(f.$slots, "operation", {
886
+ Oe(f.$slots, "operation", {
887
887
  data: { ...k, findex: b }
888
888
  })
889
889
  ],
@@ -923,7 +923,7 @@ const Vr = (a) => {
923
923
  };
924
924
  }
925
925
  });
926
- const qr = Ie(Xr), Zr = /* @__PURE__ */ oe({
926
+ const qr = xe(Xr), Zr = /* @__PURE__ */ oe({
927
927
  __name: "IkPreviewFileDialog",
928
928
  props: /* @__PURE__ */ ut({
929
929
  file: {
@@ -1021,12 +1021,12 @@ const qr = Ie(Xr), Zr = /* @__PURE__ */ oe({
1021
1021
  };
1022
1022
  return (u, c) => {
1023
1023
  var d, g, p;
1024
- const f = Ne("el-image-viewer");
1025
- return r.value ? (x(), R(
1026
- Oe,
1024
+ const f = Me("el-image-viewer");
1025
+ return r.value ? (x(), D(
1026
+ Re,
1027
1027
  { key: 0 },
1028
1028
  [
1029
- (d = i.value) != null && d.url && n.image ? (x(), Ee(f, {
1029
+ (d = i.value) != null && d.url && n.image ? (x(), Ne(f, {
1030
1030
  key: 0,
1031
1031
  onClose: c[0] || (c[0] = (m) => l()),
1032
1032
  ref: "previewImgRef",
@@ -1074,7 +1074,7 @@ const qr = Ie(Xr), Zr = /* @__PURE__ */ oe({
1074
1074
  };
1075
1075
  }
1076
1076
  });
1077
- const Jr = Ie(Zr), Qr = {
1077
+ const Jr = xe(Zr), Qr = {
1078
1078
  key: 0,
1079
1079
  class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
1080
1080
  }, es = {
@@ -1144,13 +1144,13 @@ const Jr = Ie(Zr), Qr = {
1144
1144
  return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
1145
1145
  });
1146
1146
  return (i, n) => {
1147
- const s = Ne("el-tooltip"), l = Ne("el-button");
1148
- return r.value.tableIconType === "icon" || !r.value.tableIconType ? (x(), R("span", Qr, [
1149
- r.value.notip || !r.value.title ? (x(), R(
1147
+ const s = Me("el-tooltip"), l = Me("el-button");
1148
+ return r.value.tableIconType === "icon" || !r.value.tableIconType ? (x(), D("span", Qr, [
1149
+ r.value.notip || !r.value.title ? (x(), D(
1150
1150
  "i",
1151
1151
  {
1152
1152
  key: 0,
1153
- class: te(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1153
+ class: Q(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1154
1154
  [i.name]: t.value === "unocss",
1155
1155
  "show-bg": r.value.showBg || r.value.bg,
1156
1156
  default: r.value.size === "default",
@@ -1163,34 +1163,34 @@ const Jr = Ie(Zr), Qr = {
1163
1163
  active: r.value.active,
1164
1164
  disabled: r.value.disabled
1165
1165
  }]),
1166
- style: ee(e.value)
1166
+ style: te(e.value)
1167
1167
  },
1168
1168
  [
1169
1169
  se(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1170
- t.value === "iksig" ? (x(), R(
1170
+ t.value === "iksig" ? (x(), D(
1171
1171
  "i",
1172
1172
  {
1173
1173
  key: 0,
1174
- class: te(`iksig ${r.value.name}`),
1175
- style: ee(e.value)
1174
+ class: Q(`iksig ${r.value.name}`),
1175
+ style: te(e.value)
1176
1176
  },
1177
1177
  null,
1178
1178
  6
1179
1179
  /* CLASS, STYLE */
1180
- )) : t.value === "svg" ? (x(), R("svg", es, [
1180
+ )) : t.value === "svg" ? (x(), D("svg", es, [
1181
1181
  S("use", {
1182
1182
  "xlink:href": `#${r.value.name}`
1183
1183
  }, null, 8, ts)
1184
- ])) : t.value === "img" ? (x(), R("img", {
1184
+ ])) : t.value === "img" ? (x(), D("img", {
1185
1185
  key: 2,
1186
1186
  src: r.value.name,
1187
1187
  class: "h-[1em] w-[1em]"
1188
- }, null, 8, is)) : (x(), R(
1188
+ }, null, 8, is)) : (x(), D(
1189
1189
  "i",
1190
1190
  {
1191
1191
  key: 3,
1192
- class: te(r.value.name),
1193
- style: ee(e.value)
1192
+ class: Q(r.value.name),
1193
+ style: te(e.value)
1194
1194
  },
1195
1195
  null,
1196
1196
  6
@@ -1199,7 +1199,7 @@ const Jr = Ie(Zr), Qr = {
1199
1199
  ],
1200
1200
  6
1201
1201
  /* CLASS, STYLE */
1202
- )) : (x(), Ee(s, {
1202
+ )) : (x(), Ne(s, {
1203
1203
  key: 1,
1204
1204
  content: r.value.title,
1205
1205
  placement: "top"
@@ -1208,7 +1208,7 @@ const Jr = Ie(Zr), Qr = {
1208
1208
  S(
1209
1209
  "i",
1210
1210
  {
1211
- class: te(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1211
+ class: Q(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1212
1212
  [i.name]: t.value === "unocss",
1213
1213
  "show-bg": r.value.showBg || r.value.bg,
1214
1214
  default: r.value.size === "default",
@@ -1220,33 +1220,33 @@ const Jr = Ie(Zr), Qr = {
1220
1220
  error: r.value.error || r.value.type === "error",
1221
1221
  active: r.value.active
1222
1222
  }]),
1223
- style: ee(e.value)
1223
+ style: te(e.value)
1224
1224
  },
1225
1225
  [
1226
- t.value === "iksig" ? (x(), R(
1226
+ t.value === "iksig" ? (x(), D(
1227
1227
  "i",
1228
1228
  {
1229
1229
  key: 0,
1230
- class: te(`iksig ${r.value.name}`),
1231
- style: ee(e.value)
1230
+ class: Q(`iksig ${r.value.name}`),
1231
+ style: te(e.value)
1232
1232
  },
1233
1233
  null,
1234
1234
  6
1235
1235
  /* CLASS, STYLE */
1236
- )) : t.value === "svg" ? (x(), R("svg", ns, [
1236
+ )) : t.value === "svg" ? (x(), D("svg", ns, [
1237
1237
  S("use", {
1238
1238
  "xlink:href": `#${r.value.name}`
1239
1239
  }, null, 8, rs)
1240
- ])) : t.value === "img" ? (x(), R("img", {
1240
+ ])) : t.value === "img" ? (x(), D("img", {
1241
1241
  key: 2,
1242
1242
  src: r.value.name,
1243
1243
  class: "h-[1em] w-[1em]"
1244
- }, null, 8, ss)) : (x(), R(
1244
+ }, null, 8, ss)) : (x(), D(
1245
1245
  "i",
1246
1246
  {
1247
1247
  key: 3,
1248
- class: te(r.value.name),
1249
- style: ee(e.value)
1248
+ class: Q(r.value.name),
1249
+ style: te(e.value)
1250
1250
  },
1251
1251
  null,
1252
1252
  6
@@ -1260,7 +1260,7 @@ const Jr = Ie(Zr), Qr = {
1260
1260
  _: 1
1261
1261
  /* STABLE */
1262
1262
  }, 8, ["content"]))
1263
- ])) : (x(), Ee(l, {
1263
+ ])) : (x(), Ne(l, {
1264
1264
  key: 1,
1265
1265
  type: ["warning", "error"].includes(r.value.type) ? "danger" : ""
1266
1266
  }, {
@@ -1277,7 +1277,7 @@ const Jr = Ie(Zr), Qr = {
1277
1277
  };
1278
1278
  }
1279
1279
  });
1280
- const as = /* @__PURE__ */ tt(os, [["__scopeId", "data-v-52806adf"]]), be = Ie(as), ls = /* @__PURE__ */ oe({
1280
+ const as = /* @__PURE__ */ tt(os, [["__scopeId", "data-v-52806adf"]]), be = xe(as), ls = /* @__PURE__ */ oe({
1281
1281
  __name: "CloseIcon",
1282
1282
  props: {
1283
1283
  showBg: {
@@ -1290,15 +1290,25 @@ const as = /* @__PURE__ */ tt(os, [["__scopeId", "data-v-52806adf"]]), be = Ie(a
1290
1290
  }
1291
1291
  },
1292
1292
  setup(a) {
1293
- return (o, r) => (x(), Ee(z(be), {
1294
- error: "",
1295
- name: "iksvg_guanbidanchuang",
1296
- title: "关闭",
1297
- size: 20
1298
- }));
1293
+ return (o, r) => (x(), D(
1294
+ "div",
1295
+ {
1296
+ class: Q({ "exit-main-page-maximize": a.showBg && a.fullscreen })
1297
+ },
1298
+ [
1299
+ G(z(be), {
1300
+ name: "iksvg_guanbidanchuang",
1301
+ title: "关闭",
1302
+ size: 20,
1303
+ error: ""
1304
+ })
1305
+ ],
1306
+ 2
1307
+ /* CLASS */
1308
+ ));
1299
1309
  }
1300
1310
  });
1301
- const us = /* @__PURE__ */ tt(ls, [["__scopeId", "data-v-e27fb022"]]), cs = { class: "base-header" }, fs = /* @__PURE__ */ oe({
1311
+ const us = /* @__PURE__ */ tt(ls, [["__scopeId", "data-v-da39e979"]]), cs = { class: "base-header" }, fs = /* @__PURE__ */ oe({
1302
1312
  __name: "IkBaseDialog",
1303
1313
  props: /* @__PURE__ */ ut({
1304
1314
  title: { default: "" },
@@ -1330,8 +1340,8 @@ const us = /* @__PURE__ */ tt(ls, [["__scopeId", "data-v-e27fb022"]]), cs = { cl
1330
1340
  }
1331
1341
  });
1332
1342
  return (n, s) => {
1333
- const l = Ne("el-dialog");
1334
- return x(), Ee(l, bn({
1343
+ const l = Me("el-dialog");
1344
+ return x(), Ne(l, bn({
1335
1345
  modelValue: r.value,
1336
1346
  "onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u)
1337
1347
  }, n.$attrs, {
@@ -1341,7 +1351,7 @@ const us = /* @__PURE__ */ tt(ls, [["__scopeId", "data-v-e27fb022"]]), cs = { cl
1341
1351
  "modal-class": "baseDialog"
1342
1352
  }), Tn({
1343
1353
  icon: de(() => [
1344
- Fe(n.$slots, "title", {}, () => [
1354
+ Oe(n.$slots, "title", {}, () => [
1345
1355
  Ht(
1346
1356
  Te(n.title),
1347
1357
  1
@@ -1351,7 +1361,7 @@ const us = /* @__PURE__ */ tt(ls, [["__scopeId", "data-v-e27fb022"]]), cs = { cl
1351
1361
  ]),
1352
1362
  header: de(() => [
1353
1363
  S("div", cs, [
1354
- Fe(n.$slots, "header", {}, () => [
1364
+ Oe(n.$slots, "header", {}, () => [
1355
1365
  Ht(
1356
1366
  Te(n.title),
1357
1367
  1
@@ -1359,7 +1369,7 @@ const us = /* @__PURE__ */ tt(ls, [["__scopeId", "data-v-e27fb022"]]), cs = { cl
1359
1369
  )
1360
1370
  ])
1361
1371
  ]),
1362
- n.$attrs.showClose ? (x(), Ee(z(be), {
1372
+ n.$attrs.showClose ? (x(), Ne(z(be), {
1363
1373
  key: 0,
1364
1374
  onClick: e,
1365
1375
  name: t.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
@@ -1368,7 +1378,7 @@ const us = /* @__PURE__ */ tt(ls, [["__scopeId", "data-v-e27fb022"]]), cs = { cl
1368
1378
  }, null, 8, ["name", "title"])) : se("v-if", !0)
1369
1379
  ]),
1370
1380
  default: de(() => [
1371
- Fe(n.$slots, "default")
1381
+ Oe(n.$slots, "default")
1372
1382
  ]),
1373
1383
  _: 2
1374
1384
  /* DYNAMIC */
@@ -1376,7 +1386,7 @@ const us = /* @__PURE__ */ tt(ls, [["__scopeId", "data-v-e27fb022"]]), cs = { cl
1376
1386
  n.$slots.footer ? {
1377
1387
  name: "footer",
1378
1388
  fn: de(() => [
1379
- Fe(n.$slots, "footer")
1389
+ Oe(n.$slots, "footer")
1380
1390
  ]),
1381
1391
  key: "0"
1382
1392
  } : void 0
@@ -1384,7 +1394,7 @@ const us = /* @__PURE__ */ tt(ls, [["__scopeId", "data-v-e27fb022"]]), cs = { cl
1384
1394
  };
1385
1395
  }
1386
1396
  });
1387
- const hs = Ie(fs);
1397
+ const hs = xe(fs);
1388
1398
  var ds = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1389
1399
  function Xt(a) {
1390
1400
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
@@ -1687,7 +1697,7 @@ var vs = function(a, o) {
1687
1697
  });
1688
1698
  const ms = ["id"];
1689
1699
  function ys(a, o, r, t, e, i) {
1690
- return x(), R("div", { id: a.id }, null, 8, ms);
1700
+ return x(), D("div", { id: a.id }, null, 8, ms);
1691
1701
  }
1692
1702
  qt.render = ys;
1693
1703
  qt.__file = "src/components/DocumentEditor.vue";
@@ -1720,10 +1730,10 @@ const _s = /* @__PURE__ */ oe({
1720
1730
  }), t = () => {
1721
1731
  console.info("文档加载完成", o.configOptions);
1722
1732
  };
1723
- return (e, i) => (x(), R(
1733
+ return (e, i) => (x(), D(
1724
1734
  "div",
1725
1735
  {
1726
- style: ee({ height: o.officeHeight })
1736
+ style: te({ height: o.officeHeight })
1727
1737
  },
1728
1738
  [
1729
1739
  G(z(qt), {
@@ -1739,7 +1749,7 @@ const _s = /* @__PURE__ */ oe({
1739
1749
  ));
1740
1750
  }
1741
1751
  });
1742
- const ks = /* @__PURE__ */ tt(_s, [["__scopeId", "data-v-98d51ef9"]]), Cs = Ie(ks);
1752
+ const ks = /* @__PURE__ */ tt(_s, [["__scopeId", "data-v-98d51ef9"]]), Cs = xe(ks);
1743
1753
  function hi(a, o) {
1744
1754
  var r = Object.keys(a);
1745
1755
  if (Object.getOwnPropertySymbols) {
@@ -2511,11 +2521,11 @@ function Rs(a, o, r) {
2511
2521
  throw new TypeError("Expected a function");
2512
2522
  o = +o || 0, Yi(r) && (c = !!r.leading, f = "maxWait" in r, i = f ? Math.max(+r.maxWait || 0, o) : i, d = "trailing" in r ? !!r.trailing : d);
2513
2523
  function p(H) {
2514
- var Q = t, ae = e;
2515
- return t = e = void 0, u = H, n = a.apply(ae, Q), n;
2524
+ var ee = t, ae = e;
2525
+ return t = e = void 0, u = H, n = a.apply(ae, ee), n;
2516
2526
  }
2517
- function m(H, Q) {
2518
- return g ? (window.cancelAnimationFrame(s), window.requestAnimationFrame(H)) : setTimeout(H, Q);
2527
+ function m(H, ee) {
2528
+ return g ? (window.cancelAnimationFrame(s), window.requestAnimationFrame(H)) : setTimeout(H, ee);
2519
2529
  }
2520
2530
  function y(H) {
2521
2531
  if (g)
@@ -2526,12 +2536,12 @@ function Rs(a, o, r) {
2526
2536
  return u = H, s = m(B, o), c ? p(H) : n;
2527
2537
  }
2528
2538
  function b(H) {
2529
- var Q = H - l, ae = H - u, le = o - Q;
2539
+ var ee = H - l, ae = H - u, le = o - ee;
2530
2540
  return f ? Math.min(le, i - ae) : le;
2531
2541
  }
2532
2542
  function w(H) {
2533
- var Q = H - l, ae = H - u;
2534
- return l === void 0 || Q >= o || Q < 0 || f && ae >= i;
2543
+ var ee = H - l, ae = H - u;
2544
+ return l === void 0 || ee >= o || ee < 0 || f && ae >= i;
2535
2545
  }
2536
2546
  function B() {
2537
2547
  var H = Date.now();
@@ -2545,16 +2555,16 @@ function Rs(a, o, r) {
2545
2555
  function V() {
2546
2556
  s !== void 0 && y(s), u = 0, t = l = e = s = void 0;
2547
2557
  }
2548
- function D() {
2558
+ function R() {
2549
2559
  return s === void 0 ? n : M(Date.now());
2550
2560
  }
2551
2561
  function Z() {
2552
2562
  return s !== void 0;
2553
2563
  }
2554
2564
  function $() {
2555
- for (var H = Date.now(), Q = w(H), ae = arguments.length, le = new Array(ae), Le = 0; Le < ae; Le++)
2556
- le[Le] = arguments[Le];
2557
- if (t = le, e = this, l = H, Q) {
2565
+ for (var H = Date.now(), ee = w(H), ae = arguments.length, le = new Array(ae), Ae = 0; Ae < ae; Ae++)
2566
+ le[Ae] = arguments[Ae];
2567
+ if (t = le, e = this, l = H, ee) {
2558
2568
  if (s === void 0)
2559
2569
  return k(l);
2560
2570
  if (f)
@@ -2562,7 +2572,7 @@ function Rs(a, o, r) {
2562
2572
  }
2563
2573
  return s === void 0 && (s = m(B, o)), n;
2564
2574
  }
2565
- return $.cancel = V, $.flush = D, $.pending = Z, $;
2575
+ return $.cancel = V, $.flush = R, $.pending = Z, $;
2566
2576
  }
2567
2577
  function Os(a, o, r) {
2568
2578
  var t = !0, e = !0;
@@ -2745,7 +2755,7 @@ var gi = {
2745
2755
  return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
2746
2756
  }
2747
2757
  }
2748
- ), re = "play", Jt = "playing", Be = "ended", Xe = "pause", it = "error", kt = "seeking", ye = "seeked", ne = "timeupdate", nt = "waiting", ve = "canplay", Bs = "canplaythrough", Pe = "durationchange", Xi = "volumechange", _e = "loadeddata", Hs = "loadedmetadata", qi = "ratechange", Zi = "progress", Qt = "loadstart", He = "emptied", Us = "stalled", zs = "suspend", Vs = "abort", js = "bufferedChange", ei = "focus", Ji = "blur", ti = "ready", Qi = "urlNull", Me = "autoplay_started", ii = "autoplay_was_prevented", Ct = "complete", ft = "replay", ni = "destroy", wt = "urlchange", Wt = "download_speed_change", en = "leaveplayer", tn = "enterplayer", nn = "loading", ge = "fullscreen_change", ht = "cssFullscreen_change", dt = "mini_state_change", ri = "definition_change", Ws = "before_definition_change", Gt = "after_definition_change", Gs = "SEI_PARSED", $s = "retry", Se = "video_resize", $t = "pip_change", rn = "rotate", sn = "screenShot", gt = "playnext", on = "shortcut", an = "xglog", pt = "user_action", bt = "reset", ln = "source_error", un = "source_success", Ks = "switch_subtitle", cn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], fn = {
2758
+ ), re = "play", Jt = "playing", Be = "ended", Xe = "pause", it = "error", kt = "seeking", ye = "seeked", ne = "timeupdate", nt = "waiting", ve = "canplay", Bs = "canplaythrough", Ie = "durationchange", Xi = "volumechange", _e = "loadeddata", Hs = "loadedmetadata", qi = "ratechange", Zi = "progress", Qt = "loadstart", He = "emptied", Us = "stalled", zs = "suspend", Vs = "abort", js = "bufferedChange", ei = "focus", Ji = "blur", ti = "ready", Qi = "urlNull", Fe = "autoplay_started", ii = "autoplay_was_prevented", Ct = "complete", ft = "replay", ni = "destroy", wt = "urlchange", Wt = "download_speed_change", en = "leaveplayer", tn = "enterplayer", nn = "loading", ge = "fullscreen_change", ht = "cssFullscreen_change", dt = "mini_state_change", ri = "definition_change", Ws = "before_definition_change", Gt = "after_definition_change", Gs = "SEI_PARSED", $s = "retry", Ee = "video_resize", $t = "pip_change", rn = "rotate", sn = "screenShot", gt = "playnext", on = "shortcut", an = "xglog", pt = "user_action", bt = "reset", ln = "source_error", un = "source_success", Ks = "switch_subtitle", cn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], fn = {
2749
2759
  STATS_INFO: "stats_info",
2750
2760
  STATS_DOWNLOAD: "stats_download",
2751
2761
  STATS_RESET: "stats_reset"
@@ -2755,7 +2765,7 @@ const Ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2755
2765
  ABORT: Vs,
2756
2766
  AFTER_DEFINITION_CHANGE: Gt,
2757
2767
  AUTOPLAY_PREVENTED: ii,
2758
- AUTOPLAY_STARTED: Me,
2768
+ AUTOPLAY_STARTED: Fe,
2759
2769
  BEFORE_DEFINITION_CHANGE: Ws,
2760
2770
  BUFFER_CHANGE: js,
2761
2771
  CANPLAY: ve,
@@ -2765,7 +2775,7 @@ const Ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2765
2775
  DEFINITION_CHANGE: ri,
2766
2776
  DESTROY: ni,
2767
2777
  DOWNLOAD_SPEED_CHANGE: Wt,
2768
- DURATION_CHANGE: Pe,
2778
+ DURATION_CHANGE: Ie,
2769
2779
  EMPTIED: He,
2770
2780
  ENDED: Be,
2771
2781
  ENTER_PLAYER: tn,
@@ -2808,7 +2818,7 @@ const Ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2808
2818
  URL_NULL: Qi,
2809
2819
  USER_ACTION: pt,
2810
2820
  VIDEO_EVENTS: cn,
2811
- VIDEO_RESIZE: Se,
2821
+ VIDEO_RESIZE: Ee,
2812
2822
  VOLUME_CHANGE: Xi,
2813
2823
  WAITING: nt,
2814
2824
  XGLOG: an
@@ -3347,7 +3357,7 @@ var qs = /* @__PURE__ */ function(a) {
3347
3357
  t.clear();
3348
3358
  }
3349
3359
  }]), a;
3350
- }(), mi = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], yi = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], _i = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], Re = "data-xgplayerid";
3360
+ }(), mi = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], yi = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], _i = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], De = "data-xgplayerid";
3351
3361
  function rt(a, o, r) {
3352
3362
  for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
3353
3363
  e[i - 3] = arguments[i];
@@ -3448,7 +3458,7 @@ function pe(a, o, r) {
3448
3458
  function It(a, o) {
3449
3459
  F.logError("[".concat(a, "] event or callback cant be undefined or null when call ").concat(o));
3450
3460
  }
3451
- var xe = /* @__PURE__ */ function() {
3461
+ var Se = /* @__PURE__ */ function() {
3452
3462
  function a(o) {
3453
3463
  T(this, a), h.checkIsFunction(this.beforeCreate) && this.beforeCreate(o), dn(this), this.__args = o, this.__events = {}, this.__onceEvents = {}, this.config = o.config || {}, this.player = null, this.playerConfig = {}, this.pluginName = "", this.__init(o);
3454
3464
  }
@@ -4022,7 +4032,7 @@ var U = /* @__PURE__ */ function(a) {
4022
4032
  return j;
4023
4033
  }
4024
4034
  }]), r;
4025
- }(xe), co = /* @__PURE__ */ function() {
4035
+ }(Se), co = /* @__PURE__ */ function() {
4026
4036
  function a() {
4027
4037
  var o = this;
4028
4038
  if (T(this, a), _(this, "__trigger", function(r) {
@@ -4044,7 +4054,7 @@ var U = /* @__PURE__ */ function(a) {
4044
4054
  value: function(r, t) {
4045
4055
  if (this.observer) {
4046
4056
  this.observer && this.observer.observe(r);
4047
- for (var e = r.getAttribute(Re), i = this.__handlers, n = -1, s = 0; s < i.length; s++)
4057
+ for (var e = r.getAttribute(De), i = this.__handlers, n = -1, s = 0; s < i.length; s++)
4048
4058
  i[s] && r === i[s].target && (n = s);
4049
4059
  n > -1 ? this.__handlers[n].handler = t : this.__handlers.push({
4050
4060
  target: r,
@@ -4853,7 +4863,7 @@ var ko = ["play", "pause", "replay", "retry"], xi = 0, Ii = 0, ke = null, Tt = /
4853
4863
  to: !1
4854
4864
  }]
4855
4865
  });
4856
- var b = Ms(k, e.playerId, Re);
4866
+ var b = Ms(k, e.playerId, De);
4857
4867
  if (m || k && (k === e._fullscreenEl || b))
4858
4868
  y(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, k, C.FULLSCREEN), e.emit(ge, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
4859
4869
  else if (e.fullscreen) {
@@ -4935,7 +4945,7 @@ var ko = ["play", "pause", "replay", "retry"], xi = 0, Ii = 0, ke = null, Tt = /
4935
4945
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
4936
4946
  }
4937
4947
  var s = _o(this.root);
4938
- s && (F.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(Re, this.playerId), (e = ke) === null || e === void 0 || e.add(this), K.init(this), this._initBaseDoms();
4948
+ s && (F.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(De, this.playerId), (e = ke) === null || e === void 0 || e.add(this), K.init(this), this._initBaseDoms();
4939
4949
  var l = this.constructor.XgVideoProxy;
4940
4950
  if (l && this.mediaConfig.mediaType === l.mediaType) {
4941
4951
  var u = this.innerContainer || this.root;
@@ -4943,7 +4953,7 @@ var ko = ["play", "pause", "replay", "retry"], xi = 0, Ii = 0, ke = null, Tt = /
4943
4953
  var c = new l(u, this.config, this.mediaConfig);
4944
4954
  this.attachVideoEvents(c), this.media = c;
4945
4955
  }
4946
- if (this.media.setAttribute(Re, this.playerId), this.config.controls) {
4956
+ if (this.media.setAttribute(De, this.playerId), this.config.controls) {
4947
4957
  var f = this.config.controls.root || null, d = K.register(this, po, {
4948
4958
  root: f
4949
4959
  });
@@ -4959,12 +4969,12 @@ var ko = ["play", "pause", "replay", "retry"], xi = 0, Ii = 0, ke = null, Tt = /
4959
4969
  "max-width": "100%",
4960
4970
  "padding-top": "".concat(y * 100 / m, "%")
4961
4971
  };
4962
- Object.keys(k).forEach(function(D) {
4963
- i.root.style[D] = k[D];
4972
+ Object.keys(k).forEach(function(R) {
4973
+ i.root.style[R] = k[R];
4964
4974
  });
4965
4975
  } else
4966
- ["width", "height"].forEach(function(D) {
4967
- i.config[D] && (typeof i.config[D] != "number" ? i.root.style[D] = i.config[D] : i.root.style[D] = "".concat(i.config[D], "px"));
4976
+ ["width", "height"].forEach(function(R) {
4977
+ i.config[R] && (typeof i.config[R] != "number" ? i.root.style[R] = i.config[R] : i.root.style[R] = "".concat(i.config[R], "px"));
4968
4978
  });
4969
4979
  var b = this.root.getBoundingClientRect(), w = b.width, B = b.height, M = b.left, V = b.top;
4970
4980
  return this.sizeInfo.width = w, this.sizeInfo.height = B, this.sizeInfo.left = M, this.sizeInfo.top = V, !0;
@@ -5088,7 +5098,7 @@ var ko = ["play", "pause", "replay", "retry"], xi = 0, Ii = 0, ke = null, Tt = /
5088
5098
  }, {
5089
5099
  key: "deregister",
5090
5100
  value: function(e) {
5091
- typeof e == "string" ? K.unRegister(this, e) : e instanceof xe && K.unRegister(this, e.pluginName);
5101
+ typeof e == "string" ? K.unRegister(this, e) : e instanceof Se && K.unRegister(this, e.pluginName);
5092
5102
  }
5093
5103
  }, {
5094
5104
  key: "unRegisterPlugin",
@@ -5100,7 +5110,7 @@ var ko = ["play", "pause", "replay", "retry"], xi = 0, Ii = 0, ke = null, Tt = /
5100
5110
  key: "removePluginFromConfig",
5101
5111
  value: function(e) {
5102
5112
  var i;
5103
- if (typeof e == "string" ? i = e : e instanceof xe && (i = e.pluginName), !!i)
5113
+ if (typeof e == "string" ? i = e : e instanceof Se && (i = e.pluginName), !!i)
5104
5114
  for (var n = this.config.plugins.length - 1; n > -1; n--) {
5105
5115
  var s = this.config.plugins[n];
5106
5116
  if (s.pluginName.toLowerCase() === i.toLowerCase()) {
@@ -5201,7 +5211,7 @@ var ko = ["play", "pause", "replay", "retry"], xi = 0, Ii = 0, ke = null, Tt = /
5201
5211
  this.state < N.RUNNING && (this.removeClass(C.NO_START), !this.isCanplay && this.addClass(C.ENTER));
5202
5212
  var i = L(A(r.prototype), "play", this).call(this);
5203
5213
  return i !== void 0 && i && i.then ? i.then(function() {
5204
- e.removeClass(C.NOT_ALLOW_AUTOPLAY), e.addClass(C.PLAYING), e.state < N.RUNNING && (F.logInfo(">>>>playPromise.then"), e.setState(N.RUNNING), e.emit(Me));
5214
+ e.removeClass(C.NOT_ALLOW_AUTOPLAY), e.addClass(C.PLAYING), e.state < N.RUNNING && (F.logInfo(">>>>playPromise.then"), e.setState(N.RUNNING), e.emit(Fe));
5205
5215
  }).catch(function(n) {
5206
5216
  if (F.logWarn(">>>>playPromise.catch", n.name), e.media && e.media.error) {
5207
5217
  e.onError(), e.removeClass(C.ENTER);
@@ -5210,7 +5220,7 @@ var ko = ["play", "pause", "replay", "retry"], xi = 0, Ii = 0, ke = null, Tt = /
5210
5220
  n.name === "NotAllowedError" && (e._errorTimer = h.setTimeout(e, function() {
5211
5221
  e._errorTimer = null, e.emit(ii), e.addClass(C.NOT_ALLOW_AUTOPLAY), e.removeClass(C.ENTER), e.pause(), e.setState(N.NOTALLOW);
5212
5222
  }, 0));
5213
- }) : (F.logWarn("video.play not return promise"), this.state < N.RUNNING && (this.setState(N.RUNNING), this.removeClass(C.NOT_ALLOW_AUTOPLAY), this.removeClass(C.NO_START), this.removeClass(C.ENTER), this.addClass(C.PLAYING), this.emit(Me))), i;
5223
+ }) : (F.logWarn("video.play not return promise"), this.state < N.RUNNING && (this.setState(N.RUNNING), this.removeClass(C.NOT_ALLOW_AUTOPLAY), this.removeClass(C.NO_START), this.removeClass(C.ENTER), this.addClass(C.PLAYING), this.emit(Fe))), i;
5214
5224
  }
5215
5225
  }, {
5216
5226
  key: "mediaPause",
@@ -5328,7 +5338,7 @@ var ko = ["play", "pause", "replay", "retry"], xi = 0, Ii = 0, ke = null, Tt = /
5328
5338
  value: function() {
5329
5339
  var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
5330
5340
  if (!(!s || !l)) {
5331
- if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(Re), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(ni), (e = ke) === null || e === void 0 || e.remove(this), K.destroy(this), gn(this), L(A(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
5341
+ if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(De), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(ni), (e = ke) === null || e === void 0 || e.remove(this), K.destroy(this), gn(this), L(A(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
5332
5342
  for (var u = n.children, c = 0; c < u.length; c++)
5333
5343
  n.removeChild(u[c]);
5334
5344
  !n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(d) {
@@ -5371,12 +5381,12 @@ var ko = ["play", "pause", "replay", "retry"], xi = 0, Ii = 0, ke = null, Tt = /
5371
5381
  }, {
5372
5382
  key: "changeFullStyle",
5373
5383
  value: function(e, i, n, s) {
5374
- e && (s || (s = C.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, s), i.setAttribute(Re, this.playerId)));
5384
+ e && (s || (s = C.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, s), i.setAttribute(De, this.playerId)));
5375
5385
  }
5376
5386
  }, {
5377
5387
  key: "recoverFullStyle",
5378
5388
  value: function(e, i, n, s) {
5379
- s || (s = C.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, s), i.removeAttribute(Re));
5389
+ s || (s = C.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, s), i.removeAttribute(De));
5380
5390
  }
5381
5391
  }, {
5382
5392
  key: "getFullscreen",
@@ -5591,7 +5601,7 @@ var ko = ["play", "pause", "replay", "retry"], xi = 0, Ii = 0, ke = null, Tt = /
5591
5601
  }, {
5592
5602
  key: "onTimeupdate",
5593
5603
  value: function() {
5594
- !this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(C.LOADING)) && this.media.readyState > 2 && (this.removeClass(C.LOADING), h.clearTimeout(this, this.waitTimer), this.waitTimer = null), !this.paused && this.state === N.NOTALLOW && this.duration && (this.setState(N.RUNNING), this.emit(Me)), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
5604
+ !this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(C.LOADING)) && this.media.readyState > 2 && (this.removeClass(C.LOADING), h.clearTimeout(this, this.waitTimer), this.waitTimer = null), !this.paused && this.state === N.NOTALLOW && this.duration && (this.setState(N.RUNNING), this.emit(Fe)), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
5595
5605
  }
5596
5606
  }, {
5597
5607
  key: "onVolumechange",
@@ -5658,8 +5668,8 @@ var ko = ["play", "pause", "replay", "retry"], xi = 0, Ii = 0, ke = null, Tt = /
5658
5668
  var V = w - b;
5659
5669
  g = -V / 2 / M * 100, f.x = m === 3 ? g + i / 2 : g - i / 2, d = V / 2 / B * 100, f.y = m === 3 ? d + n / 2 : d - n / 2, f.scale = p, this.media.style.width = "".concat(M, "px"), this.media.style.height = "".concat(B, "px");
5660
5670
  }
5661
- var D = h.getTransformStyle(f, this.media.style.transform || this.media.style.webkitTransform);
5662
- this.media.style.transform = D, this.media.style.webkitTransform = D;
5671
+ var R = h.getTransformStyle(f, this.media.style.transform || this.media.style.webkitTransform);
5672
+ this.media.style.transform = R, this.media.style.webkitTransform = R;
5663
5673
  }
5664
5674
  }
5665
5675
  }
@@ -5718,7 +5728,7 @@ var ko = ["play", "pause", "replay", "retry"], xi = 0, Ii = 0, ke = null, Tt = /
5718
5728
  cWidth: k,
5719
5729
  cHeight: b + d
5720
5730
  };
5721
- this.resizePosition(), this.emit(Se, B);
5731
+ this.resizePosition(), this.emit(Ee, B);
5722
5732
  }
5723
5733
  }
5724
5734
  }
@@ -6099,7 +6109,7 @@ var Ce = {
6099
6109
  }, {
6100
6110
  key: "_initOnceEvents",
6101
6111
  value: function() {
6102
- this.off(Me, this._onAutoplayStart), this.off(ne, this._onTimeupdate), this.once(Me, this._onAutoplayStart), this.once(ne, this._onTimeupdate);
6112
+ this.off(Fe, this._onAutoplayStart), this.off(ne, this._onTimeupdate), this.once(Fe, this._onAutoplayStart), this.once(ne, this._onTimeupdate);
6103
6113
  }
6104
6114
  }, {
6105
6115
  key: "_sendFF",
@@ -6434,7 +6444,7 @@ var So = /* @__PURE__ */ function(a) {
6434
6444
  var e = this, i = this.player, n = this.playerConfig;
6435
6445
  this.initIcons(), this.once(ti, function() {
6436
6446
  n && (n.lang && n.lang === "en" ? h.addClass(i.root, "lang-is-en") : n.lang === "jp" && h.addClass(i.root, "lang-is-jp"));
6437
- }), this.on(Me, this.onAutoplayStart), n.autoplay || this.show(), this.on(ii, function() {
6447
+ }), this.on(Fe, this.onAutoplayStart), n.autoplay || this.show(), this.on(ii, function() {
6438
6448
  var s = e.config.mode === "auto" ? "auto-hide" : "hide";
6439
6449
  e.setAttr("data-state", "play"), h.removeClass(e.root, s), e.show();
6440
6450
  }), this.on(re, function() {
@@ -6623,7 +6633,7 @@ var So = /* @__PURE__ */ function(a) {
6623
6633
  }
6624
6634
  }]), r;
6625
6635
  }(U);
6626
- function Ae(a, o, r) {
6636
+ function Pe(a, o, r) {
6627
6637
  try {
6628
6638
  return ' <div class="xg-tips '.concat(r ? "hide" : " ", '" lang-key="').concat(a.i18nKeys[o], `">
6629
6639
  `).concat(a.i18n[o], `
@@ -7064,7 +7074,7 @@ var Rt = {
7064
7074
  return `
7065
7075
  <xg-mini-layer class="xg-mini-layer">
7066
7076
  <xg-mini-header class="xgplayer-mini-header">
7067
- `.concat(Ae(this, "MINI_DRAG", this.playerConfig.isHideTips), `
7077
+ `.concat(Pe(this, "MINI_DRAG", this.playerConfig.isHideTips), `
7068
7078
  </xg-mini-header>
7069
7079
  <div class="mini-cancel-btn">
7070
7080
  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
@@ -7209,7 +7219,7 @@ var Rt = {
7209
7219
  return {};
7210
7220
  }
7211
7221
  }]), r;
7212
- }(xe), we = {
7222
+ }(Se), we = {
7213
7223
  PRESS: "press",
7214
7224
  PRESS_END: "pressend",
7215
7225
  DOUBlE_CLICK: "doubleclick",
@@ -7451,7 +7461,7 @@ var Ve = {
7451
7461
  d.preventDefault();
7452
7462
  }), s.root.addEventListener("touchmove", this.onRootTouchMove, !0), s.root.addEventListener("touchend", this.onRootTouchEnd, !0), s.root.addEventListener("touchcancel", this.onRootTouchEnd, !0);
7453
7463
  var u = this.player.controls;
7454
- u && u.center && (u.center.addEventListener("touchmove", this.onRootTouchMove, !0), u.center.addEventListener("touchend", this.onRootTouchEnd, !0), u.center.addEventListener("touchcancel", this.onRootTouchEnd, !0)), this.on(Pe, function() {
7464
+ u && u.center && (u.center.addEventListener("touchmove", this.onRootTouchMove, !0), u.center.addEventListener("touchend", this.onRootTouchEnd, !0), u.center.addEventListener("touchcancel", this.onRootTouchEnd, !0)), this.on(Ie, function() {
7455
7465
  var d = e.player, g = e.config;
7456
7466
  d.duration * 1e3 < g.moveDuration && (g.moveDuration = d.duration * 1e3);
7457
7467
  }), this.on([ve, Be], function() {
@@ -8076,7 +8086,7 @@ var Mi = /* @__PURE__ */ function(a) {
8076
8086
  };
8077
8087
  }
8078
8088
  }]), r;
8079
- }(xe);
8089
+ }(Se);
8080
8090
  function Ho() {
8081
8091
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
8082
8092
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
@@ -8491,7 +8501,7 @@ var Uo = /* @__PURE__ */ function(a) {
8491
8501
  fragAutoFocus: s,
8492
8502
  fragClass: l,
8493
8503
  style: this.playerConfig.commonStyle || {}
8494
- }), O.device === "mobile" && (this.config.isDragingSeek = !1, this.isMobile = !0), this.progressBtn = this.find(".xgplayer-progress-btn"), this.on(Pe, function() {
8504
+ }), O.device === "mobile" && (this.config.isDragingSeek = !1, this.isMobile = !0), this.progressBtn = this.find(".xgplayer-progress-btn"), this.on(Ie, function() {
8495
8505
  e.onMouseLeave();
8496
8506
  }), this.on(ne, function() {
8497
8507
  e.onTimeupdate();
@@ -8503,7 +8513,7 @@ var Uo = /* @__PURE__ */ function(a) {
8503
8513
  e.onCacheUpdate(!0), e.onTimeupdate(!0), e._state.now = 0;
8504
8514
  }), this.on(He, function() {
8505
8515
  e.onReset();
8506
- }), this.on(Se, function() {
8516
+ }), this.on(Ee, function() {
8507
8517
  e.onVideoResize();
8508
8518
  }), this.bindDomEvents(), this.initCustomStyle();
8509
8519
  }
@@ -8842,7 +8852,7 @@ var Uo = /* @__PURE__ */ function(a) {
8842
8852
  return `<xg-icon class="xgplayer-play">
8843
8853
  <div class="xgplayer-icon">
8844
8854
  </div>
8845
- `.concat(Ae(this, "PLAY_TIPS", this.playerConfig.isHideTips), `
8855
+ `.concat(Pe(this, "PLAY_TIPS", this.playerConfig.isHideTips), `
8846
8856
  </xg-icon>`);
8847
8857
  }
8848
8858
  }], [{
@@ -9033,7 +9043,7 @@ var Xo = /* @__PURE__ */ function(a) {
9033
9043
  return `<xg-icon class="xgplayer-fullscreen">
9034
9044
  <div class="xgplayer-icon">
9035
9045
  </div>
9036
- `.concat(Ae(this, e, this.playerConfig.isHideTips), `
9046
+ `.concat(Pe(this, e, this.playerConfig.isHideTips), `
9037
9047
  </xg-icon>`);
9038
9048
  }
9039
9049
  }
@@ -9105,7 +9115,7 @@ var Xo = /* @__PURE__ */ function(a) {
9105
9115
  key: "afterCreate",
9106
9116
  value: function() {
9107
9117
  var e = this, i = this.player.controls.config.mode;
9108
- this.mode = i === "flex" ? "flex" : "normal", !this.config.disable && (this.mode === "flex" && (this.createCenterTime(), this.root.style.display = "none"), this.durationDom = this.find(".time-duration"), this.timeDom = this.find(".time-current"), this.on([Pe, ye, ne], function(n) {
9118
+ this.mode = i === "flex" ? "flex" : "normal", !this.config.disable && (this.mode === "flex" && (this.createCenterTime(), this.root.style.display = "none"), this.durationDom = this.find(".time-duration"), this.timeDom = this.find(".time-current"), this.on([Ie, ye, ne], function(n) {
9109
9119
  n.eventName === "durationchange" && (e.isActiving = !1), e.onTimeUpdate();
9110
9120
  }), this.on(Be, function() {
9111
9121
  e.onTimeUpdate(!0);
@@ -9283,7 +9293,7 @@ var Xo = /* @__PURE__ */ function(a) {
9283
9293
  return E(r, [{
9284
9294
  key: "afterCreate",
9285
9295
  value: function() {
9286
- this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Pe, this._onDurationChange), this.on(_e, this._onLoadedData), this.on(ne, this._onTimeupdate), this.on(kt, this._onSeeking), this.on(re, this._onPlay);
9296
+ this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Ie, this._onDurationChange), this.on(_e, this._onLoadedData), this.on(ne, this._onTimeupdate), this.on(kt, this._onSeeking), this.on(re, this._onPlay);
9287
9297
  }
9288
9298
  }, {
9289
9299
  key: "setConfig",
@@ -9364,7 +9374,7 @@ var Xo = /* @__PURE__ */ function(a) {
9364
9374
  };
9365
9375
  }
9366
9376
  }]), r;
9367
- }(xe);
9377
+ }(Se);
9368
9378
  function Jo() {
9369
9379
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9370
9380
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
@@ -9607,7 +9617,7 @@ var na = /* @__PURE__ */ function(a) {
9607
9617
  value: function() {
9608
9618
  var e = this;
9609
9619
  if (!this.config.disable) {
9610
- L(A(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.rotate), this.onBtnClick = this.onBtnClick.bind(this), this.bind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick), this.on(Se, function() {
9620
+ L(A(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.rotate), this.onBtnClick = this.onBtnClick.bind(this), this.bind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick), this.on(Ee, function() {
9611
9621
  e.rotateDeg && e.config.innerRotate && h.setTimeout(e, function() {
9612
9622
  e.updateRotateDeg(e.rotateDeg, e.config.innerRotate);
9613
9623
  }, 100);
@@ -9669,7 +9679,7 @@ var na = /* @__PURE__ */ function(a) {
9669
9679
  <xg-icon class="xgplayer-rotate">
9670
9680
  <div class="xgplayer-icon">
9671
9681
  </div>
9672
- `.concat(Ae(this, "ROTATE_TIPS", this.playerConfig.isHideTips), `
9682
+ `.concat(Pe(this, "ROTATE_TIPS", this.playerConfig.isHideTips), `
9673
9683
  </xg-icon>`);
9674
9684
  }
9675
9685
  }], [{
@@ -9886,7 +9896,7 @@ var je = {
9886
9896
  return `<xg-icon class="xgplayer-pip">
9887
9897
  <div class="xgplayer-icon xg-icon-disable">
9888
9898
  </div>
9889
- `.concat(Ae(this, "PIP", this.playerConfig.isHideTips), `
9899
+ `.concat(Pe(this, "PIP", this.playerConfig.isHideTips), `
9890
9900
  </xg-icon>`);
9891
9901
  }
9892
9902
  }], [{
@@ -9969,7 +9979,7 @@ var la = /* @__PURE__ */ function(a) {
9969
9979
  <xg-icon class="xgplayer-playnext">
9970
9980
  <div class="xgplayer-icon">
9971
9981
  </div>
9972
- `.concat(Ae(this, "PLAYNEXT_TIPS", this.playerConfig.isHideTips), `
9982
+ `.concat(Pe(this, "PLAYNEXT_TIPS", this.playerConfig.isHideTips), `
9973
9983
  </xg-icon>
9974
9984
  `);
9975
9985
  }
@@ -9995,13 +10005,13 @@ var la = /* @__PURE__ */ function(a) {
9995
10005
  a.exports = t();
9996
10006
  })(ds, function() {
9997
10007
  return function r(t, e, i) {
9998
- var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, f = document.createElement("a"), d = function(D) {
9999
- return String(D);
10008
+ var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, f = document.createElement("a"), d = function(R) {
10009
+ return String(R);
10000
10010
  }, g = n.Blob || n.MozBlob || n.WebKitBlob || d, p = e || "download", m, y;
10001
10011
  if (g = g.call ? g.bind(n) : Blob, String(this) === "true" && (u = [u, l], l = u[0], u = u[1]), c && c.length < 2048 && (p = c.split("/").pop().split("?")[0], f.href = c, f.href.indexOf(c) !== -1)) {
10002
10012
  var k = new XMLHttpRequest();
10003
- return k.open("GET", c, !0), k.responseType = "blob", k.onload = function(D) {
10004
- r(D.target.response, p, s);
10013
+ return k.open("GET", c, !0), k.responseType = "blob", k.onload = function(R) {
10014
+ r(R.target.response, p, s);
10005
10015
  }, setTimeout(function() {
10006
10016
  k.send();
10007
10017
  }, 0), k;
@@ -10021,25 +10031,25 @@ var la = /* @__PURE__ */ function(a) {
10021
10031
  u = new g([w], { type: l });
10022
10032
  }
10023
10033
  m = u instanceof g ? u : new g([u], { type: l });
10024
- function M(D) {
10025
- var Z = D.split(/[:;,]/), $ = Z[1], H = Z[2] == "base64" ? atob : decodeURIComponent, Q = H(Z.pop()), ae = Q.length, le = 0, Le = new Uint8Array(ae);
10034
+ function M(R) {
10035
+ var Z = R.split(/[:;,]/), $ = Z[1], H = Z[2] == "base64" ? atob : decodeURIComponent, ee = H(Z.pop()), ae = ee.length, le = 0, Ae = new Uint8Array(ae);
10026
10036
  for (le; le < ae; ++le)
10027
- Le[le] = Q.charCodeAt(le);
10028
- return new g([Le], { type: $ });
10037
+ Ae[le] = ee.charCodeAt(le);
10038
+ return new g([Ae], { type: $ });
10029
10039
  }
10030
- function V(D, Z) {
10040
+ function V(R, Z) {
10031
10041
  if ("download" in f)
10032
- return f.href = D, f.setAttribute("download", p), f.className = "download-js-link", f.innerHTML = "downloading...", f.style.display = "none", document.body.appendChild(f), setTimeout(function() {
10042
+ return f.href = R, f.setAttribute("download", p), f.className = "download-js-link", f.innerHTML = "downloading...", f.style.display = "none", document.body.appendChild(f), setTimeout(function() {
10033
10043
  f.click(), document.body.removeChild(f), Z === !0 && setTimeout(function() {
10034
10044
  n.URL.revokeObjectURL(f.href);
10035
10045
  }, 250);
10036
10046
  }, 66), !0;
10037
10047
  if (/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))
10038
- return /^data:/.test(D) && (D = "data:" + D.replace(/^data:([\w\/\-\+]+)/, s)), window.open(D) || confirm(`Displaying New Document
10048
+ return /^data:/.test(R) && (R = "data:" + R.replace(/^data:([\w\/\-\+]+)/, s)), window.open(R) || confirm(`Displaying New Document
10039
10049
 
10040
- Use Save As... to download, then click back to return to this page.`) && (location.href = D), !0;
10050
+ Use Save As... to download, then click back to return to this page.`) && (location.href = R), !0;
10041
10051
  var $ = document.createElement("iframe");
10042
- document.body.appendChild($), !Z && /^data:/.test(D) && (D = "data:" + D.replace(/^data:([\w\/\-\+]+)/, s)), $.src = D, setTimeout(function() {
10052
+ document.body.appendChild($), !Z && /^data:/.test(R) && (R = "data:" + R.replace(/^data:([\w\/\-\+]+)/, s)), $.src = R, setTimeout(function() {
10043
10053
  document.body.removeChild($);
10044
10054
  }, 333);
10045
10055
  }
@@ -10054,7 +10064,7 @@ Use Save As... to download, then click back to return to this page.`) && (locati
10054
10064
  } catch {
10055
10065
  return V("data:" + l + "," + encodeURIComponent(m));
10056
10066
  }
10057
- y = new FileReader(), y.onload = function(D) {
10067
+ y = new FileReader(), y.onload = function(R) {
10058
10068
  V(this.result);
10059
10069
  }, y.readAsDataURL(m);
10060
10070
  }
@@ -10135,7 +10145,7 @@ var ha = /* @__PURE__ */ function(a) {
10135
10145
  return `<xg-icon class="xgplayer-download">
10136
10146
  <div class="xgplayer-icon">
10137
10147
  </div>
10138
- `.concat(Ae(this, "DOWNLOAD_TIPS", this.playerConfig.isHideTips), `
10148
+ `.concat(Pe(this, "DOWNLOAD_TIPS", this.playerConfig.isHideTips), `
10139
10149
  </xg-icon>`);
10140
10150
  }
10141
10151
  }], [{
@@ -10171,7 +10181,7 @@ var ha = /* @__PURE__ */ function(a) {
10171
10181
  var e = this.config;
10172
10182
  this.initSize = function(i) {
10173
10183
  e.fitVideo && (e.width = i.vWidth, e.height = i.vHeight);
10174
- }, this.once(Se, this.initSize);
10184
+ }, this.once(Ee, this.initSize);
10175
10185
  }
10176
10186
  }, {
10177
10187
  key: "onPluginsReady",
@@ -10224,8 +10234,8 @@ var ha = /* @__PURE__ */ function(a) {
10224
10234
  p = u.media.canvas;
10225
10235
  else {
10226
10236
  n.canvas ? (n.canvas.width = e || l.width, n.canvas.height = i || l.height) : n.createCanvas(e, i), p = n.canvas, m = n.canvasCtx;
10227
- var y = u.media.videoWidth / u.media.videoHeight, k = p.width / p.height, b = 0, w = 0, B = u.media.videoWidth, M = u.media.videoHeight, V, D, Z, $;
10228
- y > k ? (Z = p.width, $ = p.width / y, V = 0, D = Math.round((p.height - $) / 2)) : y === k ? (Z = p.width, $ = p.height, V = 0, D = 0) : y < k && (Z = p.height * y, $ = p.height, V = Math.round((p.width - Z) / 2), D = 0), m.drawImage(u.media, b, w, B, M, V, D, Z, $);
10237
+ var y = u.media.videoWidth / u.media.videoHeight, k = p.width / p.height, b = 0, w = 0, B = u.media.videoWidth, M = u.media.videoHeight, V, R, Z, $;
10238
+ y > k ? (Z = p.width, $ = p.width / y, V = 0, R = Math.round((p.height - $) / 2)) : y === k ? (Z = p.width, $ = p.height, V = 0, R = 0) : y < k && (Z = p.height * y, $ = p.height, V = Math.round((p.width - Z) / 2), R = 0), m.drawImage(u.media, b, w, B, M, V, R, Z, $);
10229
10239
  }
10230
10240
  var H = p.toDataURL(f, c).replace(f, "image/octet-stream");
10231
10241
  H = H.replace(/^data:image\/[^;]+/, "data:application/octet-stream"), d(H);
@@ -10241,7 +10251,7 @@ var ha = /* @__PURE__ */ function(a) {
10241
10251
  }, {
10242
10252
  key: "destroy",
10243
10253
  value: function() {
10244
- L(A(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(Se, this.initSize);
10254
+ L(A(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(Ee, this.initSize);
10245
10255
  }
10246
10256
  }, {
10247
10257
  key: "render",
@@ -10362,7 +10372,7 @@ var ha = /* @__PURE__ */ function(a) {
10362
10372
  function pa(a, o) {
10363
10373
  return a === fe.SIDE ? o === j.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
10364
10374
  }
10365
- var De = O.device === "mobile", _t = /* @__PURE__ */ function(a) {
10375
+ var Le = O.device === "mobile", _t = /* @__PURE__ */ function(a) {
10366
10376
  I(r, a);
10367
10377
  var o = P(r);
10368
10378
  function r(t) {
@@ -10394,13 +10404,13 @@ var De = O.device === "mobile", _t = /* @__PURE__ */ function(a) {
10394
10404
  key: "afterCreate",
10395
10405
  value: function() {
10396
10406
  var e = this, i = this.config;
10397
- this.initIcons(), De = De || this.domEventType === "touch", De && O.device === "mobile" && i.listType === fe.DEFAULT && (i.listType = fe.SIDE), i.hidePortrait && h.addClass(this.root, "portrait"), this.on([Se, ge], function() {
10407
+ this.initIcons(), Le = Le || this.domEventType === "touch", Le && O.device === "mobile" && i.listType === fe.DEFAULT && (i.listType = fe.SIDE), i.hidePortrait && h.addClass(this.root, "portrait"), this.on([Ee, ge], function() {
10398
10408
  e._resizeList();
10399
10409
  }), this.once(ve, function() {
10400
10410
  i.list && i.list.length > 0 && (e.renderItemList(i.list), e.show());
10401
- }), De && this.on(ei, function() {
10411
+ }), Le && this.on(ei, function() {
10402
10412
  e.isActive && (e.optionsList && e.optionsList.hide(), e.isActive = !1);
10403
- }), De ? (i.toggleMode = We.CLICK, this.activeEvent = "touchend") : this.activeEvent = i.toggleMode === We.CLICK ? "click" : "mouseenter", i.toggleMode === We.CLICK ? this.bind(this.activeEvent, this.switchActiveState) : (this.bind(this.activeEvent, this.onEnter), this.bind("mouseleave", this.onLeave)), this.isIcons && this.bind("click", this.onIconClick);
10413
+ }), Le ? (i.toggleMode = We.CLICK, this.activeEvent = "touchend") : this.activeEvent = i.toggleMode === We.CLICK ? "click" : "mouseenter", i.toggleMode === We.CLICK ? this.bind(this.activeEvent, this.switchActiveState) : (this.bind(this.activeEvent, this.onEnter), this.bind("mouseleave", this.onLeave)), this.isIcons && this.bind("click", this.onIconClick);
10404
10414
  }
10405
10415
  }, {
10406
10416
  key: "initIcons",
@@ -10448,7 +10458,7 @@ var De = O.device === "mobile", _t = /* @__PURE__ */ function(a) {
10448
10458
  var n = this.config, s = n.listType, l = n.list;
10449
10459
  this.curIndex = i.to.index, this.curItem = l[this.curIndex], this.changeCurrentText();
10450
10460
  var u = this.config.isItemClickHide;
10451
- (u || De || s === fe.SIDE) && this.toggle(!1);
10461
+ (u || Le || s === fe.SIDE) && this.toggle(!1);
10452
10462
  }
10453
10463
  }, {
10454
10464
  key: "onIconClick",
@@ -10477,7 +10487,7 @@ var De = O.device === "mobile", _t = /* @__PURE__ */ function(a) {
10477
10487
  onItemClick: function(m, y) {
10478
10488
  n.onItemClick(m, y);
10479
10489
  },
10480
- domEventType: De ? "touch" : "mouse"
10490
+ domEventType: Le ? "touch" : "mouse"
10481
10491
  },
10482
10492
  root: s.listType === fe.SIDE ? u.innerContainer || u.root : this.root
10483
10493
  };
@@ -10815,7 +10825,7 @@ var Bi = /* @__PURE__ */ function(a) {
10815
10825
  return `<xg-icon class='xgplayer-cssfullscreen'>
10816
10826
  <div class="xgplayer-icon">
10817
10827
  </div>
10818
- `.concat(Ae(this, "CSSFULLSCREEN_TIPS", this.playerConfig.isHideTips), `
10828
+ `.concat(Pe(this, "CSSFULLSCREEN_TIPS", this.playerConfig.isHideTips), `
10819
10829
  </xg-icon>`);
10820
10830
  }
10821
10831
  }], [{
@@ -11136,9 +11146,9 @@ function wa(a) {
11136
11146
  }), a.ispotsInit = !1, a.playerSize = {
11137
11147
  left: r.sizeInfo.left,
11138
11148
  width: r.sizeInfo.width
11139
- }, a.on(Pe, function() {
11149
+ }, a.on(Ie, function() {
11140
11150
  a.ispotsInit ? a.updateDuration() : a.initDots();
11141
- }), a.on(Se, function() {
11151
+ }), a.on(Ee, function() {
11142
11152
  a.positionDots();
11143
11153
  });
11144
11154
  }
@@ -11200,7 +11210,7 @@ var Ge = {
11200
11210
  n.seekTime && e.player.seek(n.seekTime);
11201
11211
  }), this.transformTimeHook = this.hook("transformTime", function(i) {
11202
11212
  e.setTimeContent(h.format(i));
11203
- }), wa(this), this.on(Pe, function() {
11213
+ }), wa(this), this.on(Ie, function() {
11204
11214
  e.show();
11205
11215
  }), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
11206
11216
  }
@@ -11435,7 +11445,7 @@ var Ge = {
11435
11445
  key: "afterCreate",
11436
11446
  value: function() {
11437
11447
  var e = this;
11438
- this.usable && this.initThumbnail(), this.on([Pe], function() {
11448
+ this.usable && this.initThumbnail(), this.on([Ie], function() {
11439
11449
  var i = e.config, n = i.pic_num, s = i.interval;
11440
11450
  e.usable && (e.interval = s > 0 ? s : Math.round(e.player.duration * 1e3 / n) / 1e3);
11441
11451
  });
@@ -12086,7 +12096,7 @@ var ot = null, Ia = /* @__PURE__ */ function(a) {
12086
12096
  return {};
12087
12097
  }
12088
12098
  }]), r;
12089
- }(xe), kn = /* @__PURE__ */ function(a) {
12099
+ }(Se), kn = /* @__PURE__ */ function(a) {
12090
12100
  I(r, a);
12091
12101
  var o = P(r);
12092
12102
  function r() {
@@ -12490,7 +12500,7 @@ _(ce, "Sniffer", O);
12490
12500
  _(ce, "Errors", ct);
12491
12501
  _(ce, "Events", Ys);
12492
12502
  _(ce, "Plugin", U);
12493
- _(ce, "BasePlugin", xe);
12503
+ _(ce, "BasePlugin", Se);
12494
12504
  _(ce, "I18N", Ye);
12495
12505
  _(ce, "STATE_CLASS", C);
12496
12506
  _(ce, "InstManager", vn);
@@ -12557,8 +12567,8 @@ const Fa = ["id"], Ma = /* @__PURE__ */ oe({
12557
12567
  });
12558
12568
  });
12559
12569
  }), (g, p) => {
12560
- const m = Ne("el-icon");
12561
- return u.value ? (x(), Ee(En, {
12570
+ const m = Me("el-icon");
12571
+ return u.value ? (x(), Ne(En, {
12562
12572
  key: 0,
12563
12573
  to: "body"
12564
12574
  }, [
@@ -12572,14 +12582,14 @@ const Fa = ["id"], Ma = /* @__PURE__ */ oe({
12572
12582
  {
12573
12583
  ref: "wrapper",
12574
12584
  tabindex: -1,
12575
- class: te(z(f).e("wrapper")),
12576
- style: ee({ zIndex: a.zIndex })
12585
+ class: Q(z(f).e("wrapper")),
12586
+ style: te({ zIndex: a.zIndex })
12577
12587
  },
12578
12588
  [
12579
12589
  S(
12580
12590
  "div",
12581
12591
  {
12582
- class: te(z(f).e("mask"))
12592
+ class: Q(z(f).e("mask"))
12583
12593
  },
12584
12594
  null,
12585
12595
  2
@@ -12589,7 +12599,7 @@ const Fa = ["id"], Ma = /* @__PURE__ */ oe({
12589
12599
  S(
12590
12600
  "div",
12591
12601
  {
12592
- class: te(z(f).e("canvas"))
12602
+ class: Q(z(f).e("canvas"))
12593
12603
  },
12594
12604
  [
12595
12605
  S("div", { id: z(c) }, null, 8, Fa),
@@ -12597,7 +12607,7 @@ const Fa = ["id"], Ma = /* @__PURE__ */ oe({
12597
12607
  S(
12598
12608
  "span",
12599
12609
  {
12600
- class: te([z(f).e("btn"), z(f).e("close")]),
12610
+ class: Q([z(f).e("btn"), z(f).e("close")]),
12601
12611
  onClick: d
12602
12612
  },
12603
12613
  [
@@ -12616,7 +12626,7 @@ const Fa = ["id"], Ma = /* @__PURE__ */ oe({
12616
12626
  2
12617
12627
  /* CLASS */
12618
12628
  ),
12619
- Fe(g.$slots, "default", {}, void 0, !0)
12629
+ Oe(g.$slots, "default", {}, void 0, !0)
12620
12630
  ],
12621
12631
  6
12622
12632
  /* CLASS, STYLE */
@@ -12629,7 +12639,7 @@ const Fa = ["id"], Ma = /* @__PURE__ */ oe({
12629
12639
  };
12630
12640
  }
12631
12641
  });
12632
- const Na = /* @__PURE__ */ tt(Ma, [["__scopeId", "data-v-b301aa7d"]]), Ba = Ie(Na), Ha = (a) => (xn("data-v-6a92bbab"), a = a(), In(), a), Ua = {
12642
+ const Na = /* @__PURE__ */ tt(Ma, [["__scopeId", "data-v-b301aa7d"]]), Ba = xe(Na), Ha = (a) => (xn("data-v-6a92bbab"), a = a(), In(), a), Ua = {
12633
12643
  key: 0,
12634
12644
  class: "preview-files"
12635
12645
  }, za = {
@@ -12700,18 +12710,18 @@ const Na = /* @__PURE__ */ tt(Ma, [["__scopeId", "data-v-b301aa7d"]]), Ba = Ie(N
12700
12710
  };
12701
12711
  return (u, c) => {
12702
12712
  var d, g;
12703
- const f = Ne("el-image");
12704
- return x(), R("div", null, [
12705
- o.fileType === "file" ? (x(), R("div", Ua, [
12706
- (x(!0), R(
12707
- Oe,
12713
+ const f = Me("el-image");
12714
+ return x(), D("div", null, [
12715
+ o.fileType === "file" ? (x(), D("div", Ua, [
12716
+ (x(!0), D(
12717
+ Re,
12708
12718
  null,
12709
- lt(r.value, (p, m) => (x(), R(
12719
+ lt(r.value, (p, m) => (x(), D(
12710
12720
  "div",
12711
12721
  {
12712
12722
  key: m,
12713
12723
  class: "files-item",
12714
- style: ee({
12724
+ style: te({
12715
12725
  width: o.fileWidth,
12716
12726
  "margin-right": o.fileWidth === "100%" ? "0px" : ""
12717
12727
  })
@@ -12720,7 +12730,7 @@ const Na = /* @__PURE__ */ tt(Ma, [["__scopeId", "data-v-b301aa7d"]]), Ba = Ie(N
12720
12730
  S("div", za, [
12721
12731
  G(z(be), {
12722
12732
  name: n(p),
12723
- style: ee(`color:${s(p)}`),
12733
+ style: te(`color:${s(p)}`),
12724
12734
  size: 36
12725
12735
  }, null, 8, ["name", "style"]),
12726
12736
  S("div", {
@@ -12754,11 +12764,11 @@ const Na = /* @__PURE__ */ tt(Ma, [["__scopeId", "data-v-b301aa7d"]]), Ba = Ie(N
12754
12764
  /* KEYED_FRAGMENT */
12755
12765
  ))
12756
12766
  ])) : se("v-if", !0),
12757
- o.fileType === "img" ? (x(), R("div", Ka, [
12758
- (x(!0), R(
12759
- Oe,
12767
+ o.fileType === "img" ? (x(), D("div", Ka, [
12768
+ (x(!0), D(
12769
+ Re,
12760
12770
  null,
12761
- lt(r.value, (p, m) => (x(), R("div", {
12771
+ lt(r.value, (p, m) => (x(), D("div", {
12762
12772
  key: m,
12763
12773
  class: "preview-img"
12764
12774
  }, [
@@ -12785,7 +12795,7 @@ const Na = /* @__PURE__ */ tt(Ma, [["__scopeId", "data-v-b301aa7d"]]), Ba = Ie(N
12785
12795
  };
12786
12796
  }
12787
12797
  });
12788
- const Xa = /* @__PURE__ */ tt(Ya, [["__scopeId", "data-v-6a92bbab"]]), Qa = Ie(Xa);
12798
+ const Xa = /* @__PURE__ */ tt(Ya, [["__scopeId", "data-v-6a92bbab"]]), Qa = xe(Xa);
12789
12799
  export {
12790
12800
  Qa as IKDetailPreviewFiles,
12791
12801
  Qa as default