iking-web-ui-pro 0.2.44 → 0.2.45

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.
Files changed (48) hide show
  1. package/dist/{IkApprovalProcess → IKApprovalProcess}/ik.index.es.js +98 -111
  2. package/dist/{IkApprovalProcess → IKApprovalProcess}/ik.index.umd.js +1 -1
  3. package/dist/{IkApprovalProcess → IKApprovalProcess}/style.css +1 -1
  4. package/dist/{IkApprovalProcessDetail → IKApprovalProcessDetail}/ik.index.es.js +360 -359
  5. package/dist/{IkApprovalProcessDetail → IKApprovalProcessDetail}/ik.index.umd.js +44 -44
  6. package/dist/IKApprovalProcessDetail/style.css +1 -0
  7. package/dist/{IkCalendar → IKCalendar}/ik.index.es.js +3 -4
  8. package/dist/{IkCalendar → IKCalendar}/ik.index.umd.js +1 -1
  9. package/dist/{IkCalendar → IKCalendar}/style.css +1 -1
  10. package/dist/IKPreviewFile/ik.index.es.js +353 -352
  11. package/dist/IKPreviewFile/ik.index.umd.js +44 -44
  12. package/dist/IKPreviewFile/style.css +1 -1
  13. package/dist/IKSearch/ik.index.es.js +1 -2
  14. package/dist/IKSearch/ik.index.umd.js +1 -1
  15. package/dist/IkDescription/ik.index.es.js +300 -299
  16. package/dist/IkDescription/ik.index.umd.js +44 -44
  17. package/dist/IkDescription/style.css +1 -1
  18. package/dist/IkDetailPreviewFiles/ik.index.es.js +308 -307
  19. package/dist/IkDetailPreviewFiles/ik.index.umd.js +44 -44
  20. package/dist/IkDetailPreviewFiles/style.css +1 -1
  21. package/dist/IkOnlyOffice/ik.index.es.js +19 -13
  22. package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
  23. package/dist/IkOnlyOffice/style.css +0 -0
  24. package/dist/IkPageFull/ik.index.es.js +1 -2
  25. package/dist/IkPageFull/ik.index.umd.js +1 -1
  26. package/dist/IkPickerUser/ik.index.es.js +1 -2
  27. package/dist/IkPickerUser/ik.index.umd.js +1 -1
  28. package/dist/IkPreviewFileDialog/ik.index.es.js +344 -343
  29. package/dist/IkPreviewFileDialog/ik.index.umd.js +44 -44
  30. package/dist/IkPreviewFileDialog/style.css +1 -1
  31. package/dist/IkTemplateOfficeConfig/ik.index.es.js +78 -77
  32. package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
  33. package/dist/IkTinymce/ik.index.es.js +8741 -8803
  34. package/dist/IkTinymce/ik.index.umd.js +38 -38
  35. package/dist/IkTinymce/style.css +1 -1
  36. package/dist/IkUploadFile/ik.index.es.js +334 -333
  37. package/dist/IkUploadFile/ik.index.umd.js +46 -46
  38. package/dist/IkUploadFile/style.css +1 -1
  39. package/dist/IkUploadImage/ik.index.es.js +387 -387
  40. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  41. package/dist/IkUploadImage/style.css +1 -1
  42. package/dist/index.es.js +12316 -12330
  43. package/dist/index.umd.js +109 -109
  44. package/dist/src/components/IkApprovalProcess/index.d.ts +0 -9
  45. package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +0 -9
  46. package/dist/style.css +1 -1
  47. package/package.json +1 -1
  48. package/dist/IkApprovalProcessDetail/style.css +0 -1
@@ -1,5 +1,5 @@
1
- import { defineComponent as J, computed as Y, openBlock as S, createElementBlock as D, createElementVNode as T, inject as ot, mergeModels as Ct, useModel as ci, ref as de, reactive as nr, watch as ut, nextTick as fi, Fragment as Ve, createBlock as pe, unref as E, createCommentVNode as ee, createVNode as G, withCtx as Q, resolveComponent as ct, normalizeClass as K, normalizeStyle as ue, createTextVNode as Qt, toDisplayString as nt, h as rr, mergeProps as sr, createSlots as or, renderSlot as Oe, getCurrentScope as ar, onScopeDispose as lr, markRaw as Oi, effectScope as ur, shallowRef as cr, onMounted as fr, Teleport as _n, Transition as Cn, withModifiers as ei, resolveDynamicComponent as hr, renderList as ti, withDirectives as dr, vShow as gr } from "vue";
2
- import { buildUUID as kn, ikColor as pr, paramType as ii, _ as Bt, ikFile as vr } from "iking-utils-pro";
1
+ import { defineComponent as J, computed as Y, openBlock as S, createElementBlock as D, createElementVNode as T, inject as ot, mergeModels as Ct, useModel as fi, ref as de, reactive as nr, watch as ut, nextTick as hi, Fragment as Ve, createBlock as pe, unref as E, createCommentVNode as ee, createVNode as G, withCtx as Q, resolveComponent as ct, normalizeClass as K, normalizeStyle as ue, createTextVNode as ei, toDisplayString as nt, h as rr, mergeProps as sr, createSlots as or, renderSlot as Oe, getCurrentScope as ar, onScopeDispose as lr, markRaw as Oi, effectScope as ur, shallowRef as cr, onMounted as fr, Teleport as _n, Transition as Cn, withModifiers as ti, resolveDynamicComponent as hr, renderList as ii, withDirectives as dr, vShow as gr } from "vue";
2
+ import { buildUUID as kn, ikColor as pr, paramType as ni, _ as Ht, ikFile as vr } from "iking-utils-pro";
3
3
  import { useLocale as mr, useNamespace as wn, useZIndex as yr, ElIcon as Pe, EVENT_CODE as Ke } from "element-plus";
4
4
  const Fe = (a, o) => {
5
5
  if (a.install = (r) => {
@@ -9,7 +9,7 @@ const Fe = (a, o) => {
9
9
  for (const [r, t] of Object.entries(o))
10
10
  a[r] = t;
11
11
  return a;
12
- }, ni = (a, o) => {
12
+ }, ri = (a, o) => {
13
13
  var i, n, s, l;
14
14
  const r = (i = a == null ? void 0 : a.response) != null && i.data ? Ri((s = (n = a == null ? void 0 : a.response) == null ? void 0 : n.data) == null ? void 0 : s.suffix) : ((l = a.raw) == null ? void 0 : l.type) || Ri(a[o.suffix]), t = r == null ? void 0 : r.toLowerCase(), e = {
15
15
  sheet: "excel",
@@ -619,7 +619,7 @@ const Fe = (a, o) => {
619
619
  }
620
620
  },
621
621
  setup(a) {
622
- const o = a, r = Y(() => o.file ? ni(o.file, o.fields) : o.type);
622
+ const o = a, r = Y(() => o.file ? ri(o.file, o.fields) : o.type);
623
623
  return (t, e) => r.value === "image" ? (S(), D("svg", kr, Sr)) : r.value === "zip" ? (S(), D("svg", xr, Lr)) : r.value === "ppt" ? (S(), D("svg", Ar, Rr)) : r.value === "word" ? (S(), D("svg", Mr, Br)) : r.value === "pdf" ? (S(), D("svg", Hr, Vr)) : r.value === "txt" ? (S(), D("svg", jr, $r)) : r.value === "audio" ? (S(), D("svg", Kr, qr)) : r.value === "video" ? (S(), D("svg", Zr, es)) : r.value === "excel" ? (S(), D("svg", ts, ss)) : r.value === "exe" ? (S(), D("svg", os, fs)) : r.value === "json" ? (S(), D("svg", hs, vs)) : (S(), D("svg", ms, ks));
624
624
  }
625
625
  }), bs = Fe(ws);
@@ -751,7 +751,7 @@ var Ts = /* @__PURE__ */ J({
751
751
  ]));
752
752
  }
753
753
  }), Us = Hs;
754
- const hi = (a, o) => {
754
+ const At = (a, o) => {
755
755
  const r = a.__vccOpts || a;
756
756
  for (const [t, e] of o)
757
757
  r[t] = e;
@@ -866,7 +866,7 @@ const hi = (a, o) => {
866
866
  }),
867
867
  emits: ["update:show"],
868
868
  setup(a) {
869
- const o = a, r = ci(a, "show"), t = Y(() => ({
869
+ const o = a, r = fi(a, "show"), t = Y(() => ({
870
870
  name: "name",
871
871
  url: "url",
872
872
  suffix: "suffix",
@@ -884,10 +884,10 @@ const hi = (a, o) => {
884
884
  ...u,
885
885
  name: u[t.value.name],
886
886
  url: ft(o.loadUrl, b)
887
- }, u && ni(u, t.value) === "image") {
887
+ }, u && ri(u, t.value) === "image") {
888
888
  n.image = !0;
889
889
  return;
890
- } else if (u && ni(u, t.value) === "video") {
890
+ } else if (u && ri(u, t.value) === "video") {
891
891
  n.video = !0;
892
892
  return;
893
893
  } else if ((((d = o.onlyOfficeConfig) == null ? void 0 : d.accept) || o.onlyOfficeAccept).includes(w)) {
@@ -919,7 +919,7 @@ const hi = (a, o) => {
919
919
  }
920
920
  };
921
921
  ut([r, o.file], ([u, c]) => {
922
- u && fi(() => {
922
+ u && hi(() => {
923
923
  s(o.file);
924
924
  });
925
925
  });
@@ -932,7 +932,7 @@ const hi = (a, o) => {
932
932
  Ve,
933
933
  { key: 0 },
934
934
  [
935
- (h = i.value) != null && h.url && n.image ? (S(), pe(E(Po), {
935
+ (h = i.value) != null && h.url && n.image ? (S(), pe(E(Lo), {
936
936
  key: 0,
937
937
  onClose: c[0] || (c[0] = (g) => l()),
938
938
  ref: "previewImgRef",
@@ -940,9 +940,9 @@ const hi = (a, o) => {
940
940
  teleported: "",
941
941
  "z-index": 9999
942
942
  }, null, 8, ["url-list"])) : ee("v-if", !0),
943
- ee(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
943
+ ee(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
944
944
  ee(" 文档类 "),
945
- G(E(Gl), {
945
+ G(E($l), {
946
946
  modelValue: n.video,
947
947
  "onUpdate:modelValue": c[1] || (c[1] = (g) => n.video = g),
948
948
  url: (p = i.value) == null ? void 0 : p.url
@@ -965,7 +965,7 @@ const hi = (a, o) => {
965
965
  default: Q(() => {
966
966
  var g;
967
967
  return [
968
- G(E(ho), {
968
+ G(E(go), {
969
969
  "config-options": e.value,
970
970
  "document-server-url": ((g = a.onlyOfficeConfig) == null ? void 0 : g.serverUrl) || a.onlyofficeServer
971
971
  }, null, 8, ["config-options", "document-server-url"])
@@ -1172,7 +1172,7 @@ const Ws = Fe(js), Gs = {
1172
1172
  type: ["warning", "error"].includes(r.value.type) ? "danger" : ""
1173
1173
  }, {
1174
1174
  default: Q(() => [
1175
- Qt(
1175
+ ei(
1176
1176
  nt(r.value.title),
1177
1177
  1
1178
1178
  /* TEXT */
@@ -1184,7 +1184,7 @@ const Ws = Fe(js), Gs = {
1184
1184
  };
1185
1185
  }
1186
1186
  });
1187
- const Qs = /* @__PURE__ */ hi(Js, [["__scopeId", "data-v-52806adf"]]), tt = Fe(Qs), eo = /* @__PURE__ */ J({
1187
+ const Qs = /* @__PURE__ */ At(Js, [["__scopeId", "data-v-52806adf"]]), tt = Fe(Qs), eo = /* @__PURE__ */ J({
1188
1188
  __name: "CloseIcon",
1189
1189
  props: {
1190
1190
  showBg: {
@@ -1215,7 +1215,7 @@ const Qs = /* @__PURE__ */ hi(Js, [["__scopeId", "data-v-52806adf"]]), tt = Fe(Q
1215
1215
  ));
1216
1216
  }
1217
1217
  });
1218
- const to = /* @__PURE__ */ hi(eo, [["__scopeId", "data-v-da39e979"]]), io = { class: "base-header" }, no = /* @__PURE__ */ J({
1218
+ const to = /* @__PURE__ */ At(eo, [["__scopeId", "data-v-da39e979"]]), io = { class: "base-header" }, no = /* @__PURE__ */ J({
1219
1219
  __name: "IkBaseDialog",
1220
1220
  props: /* @__PURE__ */ Ct({
1221
1221
  title: { default: "" },
@@ -1236,7 +1236,7 @@ const to = /* @__PURE__ */ hi(eo, [["__scopeId", "data-v-da39e979"]]), io = { cl
1236
1236
  }),
1237
1237
  emits: ["update:modelValue"],
1238
1238
  setup(a) {
1239
- const o = a, r = ci(a, "modelValue"), t = de(o.fullscreen), e = () => {
1239
+ const o = a, r = fi(a, "modelValue"), t = de(o.fullscreen), e = () => {
1240
1240
  t.value = !t.value;
1241
1241
  }, i = J({
1242
1242
  setup() {
@@ -1260,7 +1260,7 @@ const to = /* @__PURE__ */ hi(eo, [["__scopeId", "data-v-da39e979"]]), io = { cl
1260
1260
  }), or({
1261
1261
  icon: Q(() => [
1262
1262
  Oe(n.$slots, "title", {}, () => [
1263
- Qt(
1263
+ ei(
1264
1264
  nt(n.title),
1265
1265
  1
1266
1266
  /* TEXT */
@@ -1270,7 +1270,7 @@ const to = /* @__PURE__ */ hi(eo, [["__scopeId", "data-v-da39e979"]]), io = { cl
1270
1270
  header: Q(() => [
1271
1271
  T("div", io, [
1272
1272
  Oe(n.$slots, "header", {}, () => [
1273
- Qt(
1273
+ ei(
1274
1274
  nt(n.title),
1275
1275
  1
1276
1276
  /* TEXT */
@@ -1656,39 +1656,40 @@ const fo = /* @__PURE__ */ J({
1656
1656
  /* STYLE */
1657
1657
  ));
1658
1658
  }
1659
- }), ho = Fe(fo);
1659
+ });
1660
+ const ho = /* @__PURE__ */ At(fo, [["__scopeId", "data-v-98d51ef9"]]), go = Fe(ho);
1660
1661
  var Ni;
1661
- const En = typeof window < "u", go = (a) => typeof a == "string", po = () => {
1662
+ const En = typeof window < "u", po = (a) => typeof a == "string", vo = () => {
1662
1663
  };
1663
1664
  En && ((Ni = window == null ? void 0 : window.navigator) != null && Ni.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1664
1665
  function Sn(a) {
1665
1666
  return typeof a == "function" ? a() : E(a);
1666
1667
  }
1667
- function vo(a) {
1668
+ function mo(a) {
1668
1669
  return a;
1669
1670
  }
1670
- function mo(a) {
1671
+ function yo(a) {
1671
1672
  return ar() ? (lr(a), !0) : !1;
1672
1673
  }
1673
- function yo(a) {
1674
+ function _o(a) {
1674
1675
  var o;
1675
1676
  const r = Sn(a);
1676
1677
  return (o = r == null ? void 0 : r.$el) != null ? o : r;
1677
1678
  }
1678
- const _o = En ? window : void 0;
1679
+ const Co = En ? window : void 0;
1679
1680
  function pt(...a) {
1680
1681
  let o, r, t, e;
1681
- if (go(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, o = _o) : [o, r, t, e] = a, !o)
1682
- return po;
1682
+ if (po(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, o = Co) : [o, r, t, e] = a, !o)
1683
+ return vo;
1683
1684
  Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
1684
1685
  const i = [], n = () => {
1685
1686
  i.forEach((c) => c()), i.length = 0;
1686
- }, s = (c, h, d, p) => (c.addEventListener(h, d, p), () => c.removeEventListener(h, d, p)), l = ut(() => [yo(o), Sn(e)], ([c, h]) => {
1687
+ }, s = (c, h, d, p) => (c.addEventListener(h, d, p), () => c.removeEventListener(h, d, p)), l = ut(() => [_o(o), Sn(e)], ([c, h]) => {
1687
1688
  n(), c && i.push(...r.flatMap((d) => t.map((p) => s(c, d, p, h))));
1688
1689
  }, { immediate: !0, flush: "post" }), u = () => {
1689
1690
  l(), n();
1690
1691
  };
1691
- return mo(u), u;
1692
+ return yo(u), u;
1692
1693
  }
1693
1694
  const Bi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Hi = "__vueuse_ssr_handlers__";
1694
1695
  Bi[Hi] = Bi[Hi] || {};
@@ -1696,15 +1697,15 @@ var Ui;
1696
1697
  (function(a) {
1697
1698
  a.UP = "UP", a.RIGHT = "RIGHT", a.DOWN = "DOWN", a.LEFT = "LEFT", a.NONE = "NONE";
1698
1699
  })(Ui || (Ui = {}));
1699
- var Co = Object.defineProperty, zi = Object.getOwnPropertySymbols, ko = Object.prototype.hasOwnProperty, wo = Object.prototype.propertyIsEnumerable, Vi = (a, o, r) => o in a ? Co(a, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[o] = r, bo = (a, o) => {
1700
+ var ko = Object.defineProperty, zi = Object.getOwnPropertySymbols, wo = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, Vi = (a, o, r) => o in a ? ko(a, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[o] = r, To = (a, o) => {
1700
1701
  for (var r in o || (o = {}))
1701
- ko.call(o, r) && Vi(a, r, o[r]);
1702
+ wo.call(o, r) && Vi(a, r, o[r]);
1702
1703
  if (zi)
1703
1704
  for (var r of zi(o))
1704
- wo.call(o, r) && Vi(a, r, o[r]);
1705
+ bo.call(o, r) && Vi(a, r, o[r]);
1705
1706
  return a;
1706
1707
  };
1707
- const To = {
1708
+ const Eo = {
1708
1709
  easeInSine: [0.12, 0, 0.39, 0],
1709
1710
  easeOutSine: [0.61, 1, 0.88, 1],
1710
1711
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -1730,10 +1731,10 @@ const To = {
1730
1731
  easeOutBack: [0.34, 1.56, 0.64, 1],
1731
1732
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
1732
1733
  };
1733
- bo({
1734
- linear: vo
1735
- }, To);
1736
- const Eo = {
1734
+ To({
1735
+ linear: mo
1736
+ }, Eo);
1737
+ const So = {
1737
1738
  /**
1738
1739
  * @description preview link list.
1739
1740
  */
@@ -1803,15 +1804,15 @@ const Eo = {
1803
1804
  crossorigin: {
1804
1805
  type: ["anonymous", "use-credentials", ""]
1805
1806
  }
1806
- }, So = {
1807
+ }, xo = {
1807
1808
  close: () => !0,
1808
- switch: (a) => ii.isNumber(a),
1809
- rotate: (a) => ii.isNumber(a)
1810
- }, xo = ["src", "crossorigin"], Io = /* @__PURE__ */ J({
1809
+ switch: (a) => ni.isNumber(a),
1810
+ rotate: (a) => ni.isNumber(a)
1811
+ }, Io = ["src", "crossorigin"], Po = /* @__PURE__ */ J({
1811
1812
  name: "ElImageViewer",
1812
1813
  __name: "IkImageViewer",
1813
- props: Eo,
1814
- emits: So,
1814
+ props: So,
1815
+ emits: xo,
1815
1816
  setup(a, { expose: o, emit: r }) {
1816
1817
  const t = (N) => Object.keys(N), e = {
1817
1818
  CONTAIN: {
@@ -1844,17 +1845,17 @@ const Eo = {
1844
1845
  let _e = X / N, Ie = ge / N;
1845
1846
  const st = W * Math.PI / 180, Ai = Math.cos(st), Di = Math.sin(st);
1846
1847
  _e = _e * Ai + Ie * Di, Ie = Ie * Ai - X / N * Di;
1847
- const Nt = {
1848
+ const Bt = {
1848
1849
  transform: `scale(${N}) rotate(${W}deg) translate(${_e}px, ${Ie}px)`,
1849
1850
  transition: ye ? "transform .3s" : ""
1850
1851
  };
1851
- return m.value.name === e.CONTAIN.name && (Nt.maxWidth = Nt.maxHeight = "100%"), Nt;
1852
+ return m.value.name === e.CONTAIN.name && (Bt.maxWidth = Bt.maxHeight = "100%"), Bt;
1852
1853
  });
1853
1854
  function Z() {
1854
1855
  ne(), n("close");
1855
1856
  }
1856
1857
  function z() {
1857
- const N = Bt.throttle((X) => {
1858
+ const N = Ht.throttle((X) => {
1858
1859
  switch (X.code) {
1859
1860
  case Ke.esc:
1860
1861
  i.closeOnPressEscape && Z();
@@ -1875,7 +1876,7 @@ const Eo = {
1875
1876
  He("zoomOut");
1876
1877
  break;
1877
1878
  }
1878
- }), W = Bt.throttle((X) => {
1879
+ }), W = Ht.throttle((X) => {
1879
1880
  const ge = X.deltaY || X.deltaX;
1880
1881
  He(ge < 0 ? "zoomIn" : "zoomOut", {
1881
1882
  zoomRate: i.zoomRate,
@@ -1899,7 +1900,7 @@ const Eo = {
1899
1900
  if (p.value || N.button !== 0 || !c.value)
1900
1901
  return;
1901
1902
  y.value.enableTransition = !1;
1902
- const { offsetX: W, offsetY: X } = y.value, ge = N.pageX, ye = N.pageY, _e = Bt.throttle((st) => {
1903
+ const { offsetX: W, offsetY: X } = y.value, ge = N.pageX, ye = N.pageY, _e = Ht.throttle((st) => {
1903
1904
  y.value = {
1904
1905
  ...y.value,
1905
1906
  offsetX: W + st.pageX - ge,
@@ -1925,15 +1926,15 @@ const Eo = {
1925
1926
  const N = t(e), W = Object.values(e), X = m.value.name, ye = ((W == null ? void 0 : W.findIndex((_e) => _e.name === X)) + 1) % N.length;
1926
1927
  m.value = e[N[ye]], xi();
1927
1928
  }
1928
- function Ft(N) {
1929
+ function Nt(N) {
1929
1930
  const W = i.urlList.length;
1930
1931
  g.value = (N + W) % W;
1931
1932
  }
1932
1933
  function Pi() {
1933
- w.value && !i.infinite || Ft(g.value - 1);
1934
+ w.value && !i.infinite || Nt(g.value - 1);
1934
1935
  }
1935
1936
  function Li() {
1936
- P.value && !i.infinite || Ft(g.value + 1);
1937
+ P.value && !i.infinite || Nt(g.value + 1);
1937
1938
  }
1938
1939
  function He(N, W = {}) {
1939
1940
  if (p.value)
@@ -1965,7 +1966,7 @@ const Eo = {
1965
1966
  y.value.enableTransition = Ie;
1966
1967
  }
1967
1968
  return ut(F, () => {
1968
- fi(() => {
1969
+ hi(() => {
1969
1970
  const N = h.value[0];
1970
1971
  N != null && N.complete || (p.value = !0);
1971
1972
  });
@@ -1978,7 +1979,7 @@ const Eo = {
1978
1979
  /**
1979
1980
  * @description manually switch image
1980
1981
  */
1981
- setActiveItem: Ft
1982
+ setActiveItem: Nt
1982
1983
  }), (N, W) => (S(), pe(_n, { to: "body" }, [
1983
1984
  G(Cn, {
1984
1985
  name: "viewer-fade",
@@ -1999,7 +2000,7 @@ const Eo = {
1999
2000
  "div",
2000
2001
  {
2001
2002
  class: K(E(l).e("mask")),
2002
- onClick: W[0] || (W[0] = ei((X) => N.hideOnClickModal && Z(), ["self"]))
2003
+ onClick: W[0] || (W[0] = ti((X) => N.hideOnClickModal && Z(), ["self"]))
2003
2004
  },
2004
2005
  null,
2005
2006
  2
@@ -2161,7 +2162,7 @@ const Eo = {
2161
2162
  (S(!0), D(
2162
2163
  Ve,
2163
2164
  null,
2164
- ti(N.urlList, (X, ge) => dr((S(), D("img", {
2165
+ ii(N.urlList, (X, ge) => dr((S(), D("img", {
2165
2166
  ref_for: !0,
2166
2167
  ref: (ye) => h.value[ge] = ye,
2167
2168
  key: X,
@@ -2172,7 +2173,7 @@ const Eo = {
2172
2173
  onLoad: ae,
2173
2174
  onError: le,
2174
2175
  onMousedown: we
2175
- }, null, 46, xo)), [
2176
+ }, null, 46, Io)), [
2176
2177
  [gr, ge === g.value]
2177
2178
  ])),
2178
2179
  128
@@ -2193,7 +2194,7 @@ const Eo = {
2193
2194
  })
2194
2195
  ]));
2195
2196
  }
2196
- }), Po = Fe(Io);
2197
+ }), Lo = Fe(Po);
2197
2198
  function ji(a, o) {
2198
2199
  var r = Object.keys(a);
2199
2200
  if (Object.getOwnPropertySymbols) {
@@ -2257,19 +2258,19 @@ function L(a, o) {
2257
2258
  }
2258
2259
  }), Object.defineProperty(a, "prototype", {
2259
2260
  writable: !1
2260
- }), o && ri(a, o);
2261
+ }), o && si(a, o);
2261
2262
  }
2262
2263
  function O(a) {
2263
2264
  return O = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
2264
2265
  return r.__proto__ || Object.getPrototypeOf(r);
2265
2266
  }, O(a);
2266
2267
  }
2267
- function ri(a, o) {
2268
- return ri = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
2268
+ function si(a, o) {
2269
+ return si = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
2269
2270
  return t.__proto__ = e, t;
2270
- }, ri(a, o);
2271
+ }, si(a, o);
2271
2272
  }
2272
- function Lo() {
2273
+ function Ao() {
2273
2274
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2274
2275
  return !1;
2275
2276
  if (typeof Proxy == "function")
@@ -2294,7 +2295,7 @@ function pi(a, o) {
2294
2295
  return v(a);
2295
2296
  }
2296
2297
  function A(a) {
2297
- var o = Lo();
2298
+ var o = Ao();
2298
2299
  return function() {
2299
2300
  var t = O(a), e;
2300
2301
  if (o) {
@@ -2305,14 +2306,14 @@ function A(a) {
2305
2306
  return pi(this, e);
2306
2307
  };
2307
2308
  }
2308
- function Ao(a, o) {
2309
+ function Do(a, o) {
2309
2310
  for (; !Object.prototype.hasOwnProperty.call(a, o) && (a = O(a), a !== null); )
2310
2311
  ;
2311
2312
  return a;
2312
2313
  }
2313
2314
  function M() {
2314
2315
  return typeof Reflect < "u" && Reflect.get ? M = Reflect.get.bind() : M = function(o, r, t) {
2315
- var e = Ao(o, r);
2316
+ var e = Do(o, r);
2316
2317
  if (e) {
2317
2318
  var i = Object.getOwnPropertyDescriptor(e, r);
2318
2319
  return i.get ? i.get.call(arguments.length < 3 ? o : t) : i.value;
@@ -2320,38 +2321,38 @@ function M() {
2320
2321
  }, M.apply(this, arguments);
2321
2322
  }
2322
2323
  function ve(a) {
2323
- return Do(a) || Oo(a) || Ro(a) || Mo();
2324
+ return Oo(a) || Ro(a) || Mo(a) || Fo();
2324
2325
  }
2325
- function Do(a) {
2326
+ function Oo(a) {
2326
2327
  if (Array.isArray(a))
2327
- return si(a);
2328
+ return oi(a);
2328
2329
  }
2329
- function Oo(a) {
2330
+ function Ro(a) {
2330
2331
  if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
2331
2332
  return Array.from(a);
2332
2333
  }
2333
- function Ro(a, o) {
2334
+ function Mo(a, o) {
2334
2335
  if (a) {
2335
2336
  if (typeof a == "string")
2336
- return si(a, o);
2337
+ return oi(a, o);
2337
2338
  var r = Object.prototype.toString.call(a).slice(8, -1);
2338
2339
  if (r === "Object" && a.constructor && (r = a.constructor.name), r === "Map" || r === "Set")
2339
2340
  return Array.from(a);
2340
2341
  if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
2341
- return si(a, o);
2342
+ return oi(a, o);
2342
2343
  }
2343
2344
  }
2344
- function si(a, o) {
2345
+ function oi(a, o) {
2345
2346
  (o == null || o > a.length) && (o = a.length);
2346
2347
  for (var r = 0, t = new Array(o); r < o; r++)
2347
2348
  t[r] = a[r];
2348
2349
  return t;
2349
2350
  }
2350
- function Mo() {
2351
+ function Fo() {
2351
2352
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2352
2353
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2353
2354
  }
2354
- function Fo(a, o) {
2355
+ function No(a, o) {
2355
2356
  if (typeof a != "object" || a === null)
2356
2357
  return a;
2357
2358
  var r = a[Symbol.toPrimitive];
@@ -2364,7 +2365,7 @@ function Fo(a, o) {
2364
2365
  return (o === "string" ? String : Number)(a);
2365
2366
  }
2366
2367
  function xn(a) {
2367
- var o = Fo(a, "string");
2368
+ var o = No(a, "string");
2368
2369
  return typeof o == "symbol" ? o : String(o);
2369
2370
  }
2370
2371
  var In = { exports: {} };
@@ -2480,37 +2481,37 @@ var In = { exports: {} };
2480
2481
  })(In);
2481
2482
  var Pn = In.exports;
2482
2483
  const Ln = /* @__PURE__ */ di(Pn);
2483
- var No = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Ht = {
2484
+ var Bo = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Ut = {
2484
2485
  info: "color: #525252; background-color: #90ee90;",
2485
2486
  error: "color: #525252; background-color: red;",
2486
2487
  warn: "color: #525252; background-color: yellow; "
2487
- }, Ut = "%c[xgplayer]", H = {
2488
+ }, zt = "%c[xgplayer]", H = {
2488
2489
  config: {
2489
- debug: No ? 3 : 0
2490
+ debug: Bo ? 3 : 0
2490
2491
  },
2491
2492
  logInfo: function(o) {
2492
2493
  for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
2493
2494
  e[i - 1] = arguments[i];
2494
- this.config.debug >= 3 && (r = console).log.apply(r, [Ut, Ht.info, o].concat(e));
2495
+ this.config.debug >= 3 && (r = console).log.apply(r, [zt, Ut.info, o].concat(e));
2495
2496
  },
2496
2497
  logWarn: function(o) {
2497
2498
  for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
2498
2499
  e[i - 1] = arguments[i];
2499
- this.config.debug >= 1 && (r = console).warn.apply(r, [Ut, Ht.warn, o].concat(e));
2500
+ this.config.debug >= 1 && (r = console).warn.apply(r, [zt, Ut.warn, o].concat(e));
2500
2501
  },
2501
2502
  logError: function(o) {
2502
2503
  var r;
2503
2504
  if (!(this.config.debug < 1)) {
2504
2505
  for (var t = this.config.debug >= 2 ? "trace" : "error", e = arguments.length, i = new Array(e > 1 ? e - 1 : 0), n = 1; n < e; n++)
2505
2506
  i[n - 1] = arguments[n];
2506
- (r = console)[t].apply(r, [Ut, Ht.error, o].concat(i));
2507
+ (r = console)[t].apply(r, [zt, Ut.error, o].concat(i));
2507
2508
  }
2508
2509
  }
2509
2510
  };
2510
- function Bo(a) {
2511
+ function Ho(a) {
2511
2512
  a.logInfo = H.logInfo.bind(a), a.logWarn = H.logWarn.bind(a), a.logError = H.logError.bind(a);
2512
2513
  }
2513
- var Ho = /* @__PURE__ */ function() {
2514
+ var Uo = /* @__PURE__ */ function() {
2514
2515
  function a(o) {
2515
2516
  x(this, a), this.bufferedList = o;
2516
2517
  }
@@ -2756,7 +2757,7 @@ f.setStyleFromCsstext = function(a, o) {
2756
2757
  a.style[t] = o[t];
2757
2758
  });
2758
2759
  };
2759
- function Uo(a, o) {
2760
+ function zo(a, o) {
2760
2761
  for (var r = 0, t = o.length; r < t; r++)
2761
2762
  if (a.indexOf(o[r]) > -1)
2762
2763
  return !0;
@@ -2770,7 +2771,7 @@ f.filterStyleFromText = function(a) {
2770
2771
  return t.map(function(n) {
2771
2772
  if (n) {
2772
2773
  var s = n.split(":");
2773
- s.length > 1 && (Uo(s[0], o) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
2774
+ s.length > 1 && (zo(s[0], o) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
2774
2775
  }
2775
2776
  }), a.setAttribute("style", ""), Object.keys(i).map(function(n) {
2776
2777
  a.style[n] = i[n];
@@ -2835,7 +2836,7 @@ f.getBuffered2 = function(a) {
2835
2836
  }
2836
2837
  else
2837
2838
  e = r;
2838
- return new Ho(e);
2839
+ return new Uo(e);
2839
2840
  };
2840
2841
  f.getEventPos = function(a) {
2841
2842
  var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
@@ -2959,7 +2960,7 @@ function An(a) {
2959
2960
  var o = se(a);
2960
2961
  return a !== null && (o === "object" || o === "function");
2961
2962
  }
2962
- function zo(a, o, r) {
2963
+ function Vo(a, o, r) {
2963
2964
  var t, e, i, n, s, l, u = 0, c = !1, h = !1, d = !0, p = !o && o !== 0 && typeof window.requestAnimationFrame == "function";
2964
2965
  if (typeof a != "function")
2965
2966
  throw new TypeError("Expected a function");
@@ -3018,21 +3019,21 @@ function zo(a, o, r) {
3018
3019
  }
3019
3020
  return Z.cancel = U, Z.flush = R, Z.pending = te, Z;
3020
3021
  }
3021
- function Vo(a, o, r) {
3022
+ function jo(a, o, r) {
3022
3023
  var t = !0, e = !0;
3023
3024
  if (typeof a != "function")
3024
3025
  throw new TypeError("Expected a function");
3025
- return An(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), zo(a, o, {
3026
+ return An(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Vo(a, o, {
3026
3027
  leading: t,
3027
3028
  trailing: e,
3028
3029
  maxWait: o
3029
3030
  });
3030
3031
  }
3031
- function jo() {
3032
+ function Wo() {
3032
3033
  var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
3033
3034
  return a === "zh-cn" && (a = "zh"), a;
3034
3035
  }
3035
- function Wo(a, o, r) {
3036
+ function Go(a, o, r) {
3036
3037
  if (a) {
3037
3038
  var t = a.getAttribute(r);
3038
3039
  return !!(t && t === o && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
@@ -3041,7 +3042,7 @@ function Wo(a, o, r) {
3041
3042
  var Gi = {
3042
3043
  android: /(Android)\s([\d.]+)/,
3043
3044
  ios: /(Version)\/([\d.]+)/
3044
- }, Go = ["avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "avc1.42E01E", "mp4v.20.8", "avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], B = {
3045
+ }, $o = ["avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "avc1.42E01E", "mp4v.20.8", "avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], B = {
3045
3046
  get device() {
3046
3047
  var a = B.os;
3047
3048
  return a.isPc ? "pc" : "mobile";
@@ -3104,7 +3105,7 @@ var Gi = {
3104
3105
  if (this.supportResult)
3105
3106
  return this.supportResult;
3106
3107
  var r = document.createElement("video");
3107
- return typeof r.canPlayType == "function" && Go.map(function(t) {
3108
+ return typeof r.canPlayType == "function" && $o.map(function(t) {
3108
3109
  r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (o.isSupport = !0, o.mime += "||".concat(t));
3109
3110
  }), this.supportResult = o, r = null, o;
3110
3111
  },
@@ -3143,7 +3144,7 @@ var Gi = {
3143
3144
  return Promise.resolve(r);
3144
3145
  }
3145
3146
  }
3146
- }, oi = "3.0.18", $i = {
3147
+ }, ai = "3.0.18", $i = {
3147
3148
  1: "media",
3148
3149
  2: "media",
3149
3150
  3: "media",
@@ -3173,7 +3174,7 @@ var Gi = {
3173
3174
  var e = r.mediaError ? r.mediaError : o.media.error || {}, i = o.duration, n = o.currentTime, s = o.ended, l = o.src, u = o.currentSrc, c = o.media, h = c.readyState, d = c.networkState, p = r.errorCode || e.code;
3174
3175
  Ki[p] && (p = Ki[p]);
3175
3176
  var g = {
3176
- playerVersion: oi,
3177
+ playerVersion: ai,
3177
3178
  currentTime: n,
3178
3179
  duration: i,
3179
3180
  ended: s,
@@ -3192,33 +3193,33 @@ var Gi = {
3192
3193
  }), g;
3193
3194
  } else if (arguments.length > 1) {
3194
3195
  for (var m = {
3195
- playerVersion: oi,
3196
+ playerVersion: ai,
3196
3197
  domain: document.domain
3197
3198
  }, y = ["errorType", "currentTime", "duration", "networkState", "readyState", "src", "currentSrc", "ended", "errd", "errorCode", "mediaError"], k = 0; k < arguments.length; k++)
3198
3199
  m[y[k]] = arguments[k];
3199
3200
  return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
3200
3201
  }
3201
3202
  }
3202
- ), he = "play", vi = "playing", We = "ended", rt = "pause", dt = "error", At = "seeking", Se = "seeked", fe = "timeupdate", gt = "waiting", Ee = "canplay", $o = "canplaythrough", Ne = "durationchange", Dn = "volumechange", xe = "loadeddata", Ko = "loadedmetadata", On = "ratechange", Rn = "progress", mi = "loadstart", Ge = "emptied", Yo = "stalled", Xo = "suspend", qo = "abort", Zo = "bufferedChange", yi = "focus", Mn = "blur", _i = "ready", Fn = "urlNull", je = "autoplay_started", Ci = "autoplay_was_prevented", Dt = "complete", wt = "replay", ki = "destroy", Ot = "urlchange", ai = "download_speed_change", Nn = "leaveplayer", Bn = "enterplayer", Hn = "loading", be = "fullscreen_change", bt = "cssFullscreen_change", Tt = "mini_state_change", wi = "definition_change", Jo = "before_definition_change", li = "after_definition_change", Qo = "SEI_PARSED", ea = "retry", Re = "video_resize", ui = "pip_change", Un = "rotate", zn = "screenShot", Et = "playnext", Vn = "shortcut", jn = "xglog", St = "user_action", Rt = "reset", Wn = "source_error", Gn = "source_success", ta = "switch_subtitle", $n = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Kn = {
3203
+ ), he = "play", vi = "playing", We = "ended", rt = "pause", dt = "error", Dt = "seeking", Se = "seeked", fe = "timeupdate", gt = "waiting", Ee = "canplay", Ko = "canplaythrough", Ne = "durationchange", Dn = "volumechange", xe = "loadeddata", Yo = "loadedmetadata", On = "ratechange", Rn = "progress", mi = "loadstart", Ge = "emptied", Xo = "stalled", qo = "suspend", Zo = "abort", Jo = "bufferedChange", yi = "focus", Mn = "blur", _i = "ready", Fn = "urlNull", je = "autoplay_started", Ci = "autoplay_was_prevented", Ot = "complete", wt = "replay", ki = "destroy", Rt = "urlchange", li = "download_speed_change", Nn = "leaveplayer", Bn = "enterplayer", Hn = "loading", be = "fullscreen_change", bt = "cssFullscreen_change", Tt = "mini_state_change", wi = "definition_change", Qo = "before_definition_change", ui = "after_definition_change", ea = "SEI_PARSED", ta = "retry", Re = "video_resize", ci = "pip_change", Un = "rotate", zn = "screenShot", Et = "playnext", Vn = "shortcut", jn = "xglog", St = "user_action", Mt = "reset", Wn = "source_error", Gn = "source_success", ia = "switch_subtitle", $n = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Kn = {
3203
3204
  STATS_INFO: "stats_info",
3204
3205
  STATS_DOWNLOAD: "stats_download",
3205
3206
  STATS_RESET: "stats_reset"
3206
3207
  }, Yn = "fps_stuck";
3207
- const ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3208
+ const na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3208
3209
  __proto__: null,
3209
- ABORT: qo,
3210
- AFTER_DEFINITION_CHANGE: li,
3210
+ ABORT: Zo,
3211
+ AFTER_DEFINITION_CHANGE: ui,
3211
3212
  AUTOPLAY_PREVENTED: Ci,
3212
3213
  AUTOPLAY_STARTED: je,
3213
- BEFORE_DEFINITION_CHANGE: Jo,
3214
- BUFFER_CHANGE: Zo,
3214
+ BEFORE_DEFINITION_CHANGE: Qo,
3215
+ BUFFER_CHANGE: Jo,
3215
3216
  CANPLAY: Ee,
3216
- CANPLAY_THROUGH: $o,
3217
- COMPLETE: Dt,
3217
+ CANPLAY_THROUGH: Ko,
3218
+ COMPLETE: Ot,
3218
3219
  CSS_FULLSCREEN_CHANGE: bt,
3219
3220
  DEFINITION_CHANGE: wi,
3220
3221
  DESTROY: ki,
3221
- DOWNLOAD_SPEED_CHANGE: ai,
3222
+ DOWNLOAD_SPEED_CHANGE: li,
3222
3223
  DURATION_CHANGE: Ne,
3223
3224
  EMPTIED: Ge,
3224
3225
  ENDED: We,
@@ -3228,12 +3229,12 @@ const ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3228
3229
  FULLSCREEN_CHANGE: be,
3229
3230
  LEAVE_PLAYER: Nn,
3230
3231
  LOADED_DATA: xe,
3231
- LOADED_METADATA: Ko,
3232
+ LOADED_METADATA: Yo,
3232
3233
  LOADING: Hn,
3233
3234
  LOAD_START: mi,
3234
3235
  MINI_STATE_CHANGE: Tt,
3235
3236
  PAUSE: rt,
3236
- PIP_CHANGE: ui,
3237
+ PIP_CHANGE: ci,
3237
3238
  PLAY: he,
3238
3239
  PLAYER_BLUR: Mn,
3239
3240
  PLAYER_FOCUS: yi,
@@ -3243,22 +3244,22 @@ const ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3243
3244
  RATE_CHANGE: On,
3244
3245
  READY: _i,
3245
3246
  REPLAY: wt,
3246
- RESET: Rt,
3247
- RETRY: ea,
3247
+ RESET: Mt,
3248
+ RETRY: ta,
3248
3249
  ROTATE: Un,
3249
3250
  SCREEN_SHOT: zn,
3250
3251
  SEEKED: Se,
3251
- SEEKING: At,
3252
- SEI_PARSED: Qo,
3252
+ SEEKING: Dt,
3253
+ SEI_PARSED: ea,
3253
3254
  SHORTCUT: Vn,
3254
3255
  SOURCE_ERROR: Wn,
3255
3256
  SOURCE_SUCCESS: Gn,
3256
- STALLED: Yo,
3257
+ STALLED: Xo,
3257
3258
  STATS_EVENTS: Kn,
3258
- SUSPEND: Xo,
3259
- SWITCH_SUBTITLE: ta,
3259
+ SUSPEND: qo,
3260
+ SWITCH_SUBTITLE: ia,
3260
3261
  TIME_UPDATE: fe,
3261
- URL_CHANGE: Ot,
3262
+ URL_CHANGE: Rt,
3262
3263
  URL_NULL: Fn,
3263
3264
  USER_ACTION: St,
3264
3265
  VIDEO_EVENTS: $n,
@@ -3267,10 +3268,10 @@ const ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3267
3268
  WAITING: gt,
3268
3269
  XGLOG: jn
3269
3270
  }, Symbol.toStringTag, { value: "Module" }));
3270
- function zt(a, o) {
3271
+ function Vt(a, o) {
3271
3272
  !this || !this.emit || (a === "error" ? this.errorHandler(a, o.error) : this.emit(a, o));
3272
3273
  }
3273
- function na(a, o) {
3274
+ function ra(a, o) {
3274
3275
  return function(r, t) {
3275
3276
  var e = {
3276
3277
  player: o,
@@ -3295,17 +3296,17 @@ function na(a, o) {
3295
3296
  o._rate = o.media && o.media.playbackRate;
3296
3297
  }
3297
3298
  if (a === "durationchange" && (o._duration = o.media.duration), a === "volumechange" && (e.isMutedChange = o._lastMuted !== o.muted, o._lastMuted = o.muted), a === "error" && (e.error = t || o.video.error), o.mediaEventMiddleware[a]) {
3298
- var n = zt.bind(o, a, e);
3299
+ var n = Vt.bind(o, a, e);
3299
3300
  try {
3300
3301
  o.mediaEventMiddleware[a].call(o, e, n);
3301
3302
  } catch (s) {
3302
- throw zt.call(o, a, e), s;
3303
+ throw Vt.call(o, a, e), s;
3303
3304
  }
3304
3305
  } else
3305
- zt.call(o, a, e);
3306
+ Vt.call(o, a, e);
3306
3307
  };
3307
3308
  }
3308
- var ra = /* @__PURE__ */ function(a) {
3309
+ var sa = /* @__PURE__ */ function(a) {
3309
3310
  L(r, a);
3310
3311
  var o = A(r);
3311
3312
  function r(t) {
@@ -3349,7 +3350,7 @@ var ra = /* @__PURE__ */ function(a) {
3349
3350
  var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
3350
3351
  this._evHandlers || (this._evHandlers = $n.map(function(n) {
3351
3352
  var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
3352
- return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, na(n, e));
3353
+ return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, ra(n, e));
3353
3354
  })), this._evHandlers.forEach(function(n) {
3354
3355
  var s = Object.keys(n)[0];
3355
3356
  i.addEventListener(s, n[s], !1);
@@ -3659,7 +3660,7 @@ var ra = /* @__PURE__ */ function(a) {
3659
3660
  },
3660
3661
  set: function(e) {
3661
3662
  if (this.media) {
3662
- if (this.emit(Ot, e), this.emit(gt), this._currentTime = 0, this._duration = 0, f.isMSE(this.media)) {
3663
+ if (this.emit(Rt, e), this.emit(gt), this._currentTime = 0, this._duration = 0, f.isMSE(this.media)) {
3663
3664
  this.onWaiting();
3664
3665
  return;
3665
3666
  }
@@ -3723,7 +3724,7 @@ var ra = /* @__PURE__ */ function(a) {
3723
3724
  M(O(r.prototype), "removeAllListeners", this).call(this);
3724
3725
  }
3725
3726
  }]), r;
3726
- }(Ln), sa = /* @__PURE__ */ function() {
3727
+ }(Ln), oa = /* @__PURE__ */ function() {
3727
3728
  function a() {
3728
3729
  var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
3729
3730
  name: "xgplayer",
@@ -3899,7 +3900,7 @@ function Te(a, o, r) {
3899
3900
  } else
3900
3901
  return r.call.apply(r, [a, a].concat(e));
3901
3902
  }
3902
- function Vt(a, o) {
3903
+ function jt(a, o) {
3903
3904
  H.logError("[".concat(a, "] event or callback cant be undefined or null when call ").concat(o));
3904
3905
  }
3905
3906
  var Me = /* @__PURE__ */ function() {
@@ -3966,7 +3967,7 @@ var Me = /* @__PURE__ */ function() {
3966
3967
  value: function(r, t) {
3967
3968
  var e = this;
3968
3969
  if (!r || !t || !this.player) {
3969
- Vt(this.pluginName, "plugin.on(event, callback)");
3970
+ jt(this.pluginName, "plugin.on(event, callback)");
3970
3971
  return;
3971
3972
  }
3972
3973
  typeof r == "string" ? (this.__events[r] = t, this.player.on(r, t)) : Array.isArray(r) && r.forEach(function(i) {
@@ -3978,7 +3979,7 @@ var Me = /* @__PURE__ */ function() {
3978
3979
  value: function(r, t) {
3979
3980
  var e = this;
3980
3981
  if (!r || !t || !this.player) {
3981
- Vt(this.pluginName, "plugin.once(event, callback)");
3982
+ jt(this.pluginName, "plugin.once(event, callback)");
3982
3983
  return;
3983
3984
  }
3984
3985
  typeof r == "string" ? (this.__onceEvents[r] = t, this.player.once(r, t)) : Array.isArray(r) && r.forEach(function(i) {
@@ -3990,7 +3991,7 @@ var Me = /* @__PURE__ */ function() {
3990
3991
  value: function(r, t) {
3991
3992
  var e = this;
3992
3993
  if (!r || !t || !this.player) {
3993
- Vt(this.pluginName, "plugin.off(event, callback)");
3994
+ jt(this.pluginName, "plugin.off(event, callback)");
3994
3995
  return;
3995
3996
  }
3996
3997
  typeof r == "string" ? (delete this.__events[r], this.player.off(r, t)) : Array.isArray(r) && r.forEach(function(i) {
@@ -4087,40 +4088,40 @@ var Me = /* @__PURE__ */ function() {
4087
4088
  return "pluginName";
4088
4089
  }
4089
4090
  }]), a;
4090
- }(), oa = 9;
4091
+ }(), aa = 9;
4091
4092
  if (typeof Element < "u" && !Element.prototype.matches) {
4092
4093
  var Ye = Element.prototype;
4093
4094
  Ye.matches = Ye.matchesSelector || Ye.mozMatchesSelector || Ye.msMatchesSelector || Ye.oMatchesSelector || Ye.webkitMatchesSelector;
4094
4095
  }
4095
- function aa(a, o) {
4096
- for (; a && a.nodeType !== oa; ) {
4096
+ function la(a, o) {
4097
+ for (; a && a.nodeType !== aa; ) {
4097
4098
  if (typeof a.matches == "function" && a.matches(o))
4098
4099
  return a;
4099
4100
  a = a.parentNode;
4100
4101
  }
4101
4102
  }
4102
- var la = aa, ua = la;
4103
- function jt(a, o, r, t, e) {
4104
- var i = fa.apply(this, arguments);
4103
+ var ua = la, ca = ua;
4104
+ function Wt(a, o, r, t, e) {
4105
+ var i = ha.apply(this, arguments);
4105
4106
  return a.addEventListener(r, i, e), {
4106
4107
  destroy: function() {
4107
4108
  a.removeEventListener(r, i, e);
4108
4109
  }
4109
4110
  };
4110
4111
  }
4111
- function ca(a, o, r, t, e) {
4112
- return typeof a.addEventListener == "function" ? jt.apply(null, arguments) : typeof r == "function" ? jt.bind(null, document).apply(null, arguments) : (typeof a == "string" && (a = document.querySelectorAll(a)), Array.prototype.map.call(a, function(i) {
4113
- return jt(i, o, r, t, e);
4112
+ function fa(a, o, r, t, e) {
4113
+ return typeof a.addEventListener == "function" ? Wt.apply(null, arguments) : typeof r == "function" ? Wt.bind(null, document).apply(null, arguments) : (typeof a == "string" && (a = document.querySelectorAll(a)), Array.prototype.map.call(a, function(i) {
4114
+ return Wt(i, o, r, t, e);
4114
4115
  }));
4115
4116
  }
4116
- function fa(a, o, r, t) {
4117
+ function ha(a, o, r, t) {
4117
4118
  return function(e) {
4118
- e.delegateTarget = ua(e.target, o), e.delegateTarget && t.call(a, e);
4119
+ e.delegateTarget = ca(e.target, o), e.delegateTarget && t.call(a, e);
4119
4120
  };
4120
4121
  }
4121
- var ha = ca;
4122
- const Qi = /* @__PURE__ */ di(ha);
4123
- var da = {
4122
+ var da = fa;
4123
+ const Qi = /* @__PURE__ */ di(da);
4124
+ var ga = {
4124
4125
  CONTROLS: "controls",
4125
4126
  ROOT: "root"
4126
4127
  }, $ = {
@@ -4137,13 +4138,13 @@ var da = {
4137
4138
  ICON_DISABLE: "xg-icon-disable",
4138
4139
  ICON_HIDE: "xg-icon-hide"
4139
4140
  };
4140
- function Wt(a) {
4141
+ function Gt(a) {
4141
4142
  return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
4142
4143
  }
4143
- function ga(a, o) {
4144
+ function pa(a, o) {
4144
4145
  return se(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
4145
4146
  }
4146
- function pa(a, o) {
4147
+ function va(a, o) {
4147
4148
  return se(a) === "object" && a.attr && se(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
4148
4149
  o[r] = a.attr[r];
4149
4150
  }), o;
@@ -4154,8 +4155,8 @@ function tn(a, o) {
4154
4155
  return f.addClass(a, r), Object.keys(t).map(function(n) {
4155
4156
  a.setAttribute(n, t[n]);
4156
4157
  }), a;
4157
- if (Wt(a) || Wt(a.url))
4158
- return t.src = Wt(a) ? a : a.url || "", i = f.createDom(a.tag || "img", "", t, "xg-img ".concat(r)), i;
4158
+ if (Gt(a) || Gt(a.url))
4159
+ return t.src = Gt(a) ? a : a.url || "", i = f.createDom(a.tag || "img", "", t, "xg-img ".concat(r)), i;
4159
4160
  if (typeof a == "function")
4160
4161
  try {
4161
4162
  return i = a(), i instanceof window.Element ? (f.addClass(i, r), Object.keys(t).map(function(n) {
@@ -4166,14 +4167,14 @@ function tn(a, o) {
4166
4167
  }
4167
4168
  return typeof a == "string" ? f.createDomFromHtml(a, t, r) : (H.logWarn("warn>>icons.".concat(o, " in config of plugin named [").concat(e, "] is invalid")), null);
4168
4169
  }
4169
- function va(a, o) {
4170
+ function ma(a, o) {
4170
4171
  var r = o.config.icons || o.playerConfig.icons;
4171
4172
  Object.keys(a).map(function(t) {
4172
4173
  var e = a[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
4173
- r && r[t] && (i = ga(r[t], i), n = pa(r[t], n), s = tn(r[t], t, i, n, o.pluginName)), !s && e && (s = tn(e.icon ? e.icon : e, n, i, {}, o.pluginName)), o.icons[t] = s;
4174
+ r && r[t] && (i = pa(r[t], i), n = va(r[t], n), s = tn(r[t], t, i, n, o.pluginName)), !s && e && (s = tn(e.icon ? e.icon : e, n, i, {}, o.pluginName)), o.icons[t] = s;
4174
4175
  });
4175
4176
  }
4176
- function ma(a, o) {
4177
+ function ya(a, o) {
4177
4178
  Object.keys(a).map(function(r) {
4178
4179
  Object.defineProperty(o.langText, r, {
4179
4180
  get: function() {
@@ -4197,9 +4198,9 @@ var j = /* @__PURE__ */ function(a) {
4197
4198
  var i = e.root, n = null;
4198
4199
  this.icons = {}, this.root = null, this.parent = null;
4199
4200
  var s = this.registerIcons() || {};
4200
- va(s, this), this.langText = {};
4201
+ ma(s, this), this.langText = {};
4201
4202
  var l = this.registerLanguageTexts() || {};
4202
- ma(l, this);
4203
+ ya(l, this);
4203
4204
  var u = "";
4204
4205
  try {
4205
4206
  u = this.render();
@@ -4468,7 +4469,7 @@ var j = /* @__PURE__ */ function(a) {
4468
4469
  }, {
4469
4470
  key: "ROOT_TYPES",
4470
4471
  get: function() {
4471
- return da;
4472
+ return ga;
4472
4473
  }
4473
4474
  }, {
4474
4475
  key: "POSITIONS",
@@ -4476,7 +4477,7 @@ var j = /* @__PURE__ */ function(a) {
4476
4477
  return $;
4477
4478
  }
4478
4479
  }]), r;
4479
- }(Me), ya = /* @__PURE__ */ function() {
4480
+ }(Me), _a = /* @__PURE__ */ function() {
4480
4481
  function a() {
4481
4482
  var o = this;
4482
4483
  if (x(this, a), _(this, "__trigger", function(r) {
@@ -4486,7 +4487,7 @@ var j = /* @__PURE__ */ function(a) {
4486
4487
  o.__runHandler(r[e].target);
4487
4488
  }), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
4488
4489
  try {
4489
- this.observer = new window.ResizeObserver(Vo(this.__trigger, 100, {
4490
+ this.observer = new window.ResizeObserver(jo(this.__trigger, 100, {
4490
4491
  trailing: !0
4491
4492
  })), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
4492
4493
  } catch (r) {
@@ -4541,17 +4542,17 @@ var j = /* @__PURE__ */ function(a) {
4541
4542
  }
4542
4543
  }]), a;
4543
4544
  }(), lt = null;
4544
- function _a(a, o) {
4545
- return lt || (lt = new ya()), lt.addObserver(a, o), lt;
4546
- }
4547
4545
  function Ca(a, o) {
4546
+ return lt || (lt = new _a()), lt.addObserver(a, o), lt;
4547
+ }
4548
+ function ka(a, o) {
4548
4549
  lt.unObserver(a, o);
4549
4550
  }
4550
4551
  var ie = {
4551
4552
  pluginGroup: {},
4552
4553
  init: function(o) {
4553
4554
  var r = o._pluginInfoId;
4554
- r || (r = (/* @__PURE__ */ new Date()).getTime(), o._pluginInfoId = r), !o.config.closeResizeObserver && _a(o.root, function() {
4555
+ r || (r = (/* @__PURE__ */ new Date()).getTime(), o._pluginInfoId = r), !o.config.closeResizeObserver && Ca(o.root, function() {
4555
4556
  o.resize();
4556
4557
  }), this.pluginGroup[r] = {
4557
4558
  _originalOptions: o.config || {},
@@ -4737,7 +4738,7 @@ var ie = {
4737
4738
  destroy: function(o) {
4738
4739
  var r = o._pluginInfoId;
4739
4740
  if (this.pluginGroup[r]) {
4740
- Ca(o.root);
4741
+ ka(o.root);
4741
4742
  for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
4742
4743
  var n = i[e];
4743
4744
  this.unRegister(r, n);
@@ -4823,7 +4824,7 @@ function nn() {
4823
4824
  ignores: [],
4824
4825
  whitelist: [],
4825
4826
  inactive: 3e3,
4826
- lang: jo(),
4827
+ lang: Wo(),
4827
4828
  controls: !0,
4828
4829
  marginControls: !1,
4829
4830
  fullscreenTarget: null,
@@ -4859,7 +4860,7 @@ function nn() {
4859
4860
  }
4860
4861
  };
4861
4862
  }
4862
- var ka = function(o, r) {
4863
+ var wa = function(o, r) {
4863
4864
  var t, e, i;
4864
4865
  r.preset && r.options ? i = new r.preset(r.options, o.config) : i = new r({}, o.config);
4865
4866
  var n = i, s = n.plugins, l = s === void 0 ? [] : s, u = n.ignores, c = u === void 0 ? [] : u, h = n.icons, d = h === void 0 ? {} : h, p = n.i18n, g = p === void 0 ? [] : p;
@@ -4868,7 +4869,7 @@ var ka = function(o, r) {
4868
4869
  });
4869
4870
  var m = o.config.i18n || [];
4870
4871
  g.push.apply(g, ve(m)), o.config.i18n = g;
4871
- }, wa = /* @__PURE__ */ function(a) {
4872
+ }, ba = /* @__PURE__ */ function(a) {
4872
4873
  L(r, a);
4873
4874
  var o = A(r);
4874
4875
  function r() {
@@ -5029,7 +5030,7 @@ var ka = function(o, r) {
5029
5030
  };
5030
5031
  }
5031
5032
  }]), r;
5032
- }(j), ba = {
5033
+ }(j), Ta = {
5033
5034
  LANG: "en",
5034
5035
  TEXT: {
5035
5036
  ERROR_TYPES: {
@@ -5124,7 +5125,7 @@ function Zn() {
5124
5125
  ce.textKeys[a] = a;
5125
5126
  });
5126
5127
  }
5127
- function Ta(a, o) {
5128
+ function Ea(a, o) {
5128
5129
  var r = [];
5129
5130
  if (o || (o = ce), !!o.lang) {
5130
5131
  f.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
@@ -5147,7 +5148,7 @@ function bi(a, o) {
5147
5148
  r === "zh" && (r = "zh-cn"), o.lang[r] ? ht(o.lang[r], t) : (o.langKeys.push(r), o.lang[r] = t), Zn();
5148
5149
  }
5149
5150
  }
5150
- function Ea(a) {
5151
+ function Sa(a) {
5151
5152
  var o, r = {
5152
5153
  lang: {},
5153
5154
  langKeys: [],
@@ -5156,7 +5157,7 @@ function Ea(a) {
5156
5157
  };
5157
5158
  return ht(r.lang, ce.lang), (o = r.langKeys).push.apply(o, ve(ce.langKeys)), ht(r.textKeys, ce.textKeys), r;
5158
5159
  }
5159
- bi(ba);
5160
+ bi(Ta);
5160
5161
  var it = {
5161
5162
  get textKeys() {
5162
5163
  return ce.textKeys;
@@ -5170,9 +5171,9 @@ var it = {
5170
5171
  a[o] = ce.lang[o];
5171
5172
  }), ce.lang["zh-cn"] && (a.zh = ce.lang["zh-cn"] || {}), a;
5172
5173
  },
5173
- extend: Ta,
5174
+ extend: Ea,
5174
5175
  use: bi,
5175
- init: Ea
5176
+ init: Sa
5176
5177
  }, V = {
5177
5178
  INITIAL: 1,
5178
5179
  READY: 2,
@@ -5182,7 +5183,7 @@ var it = {
5182
5183
  RUNNING: 6,
5183
5184
  ENDED: 7,
5184
5185
  DESTROYED: 8
5185
- }, rn = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], oe = {}, Gt = null, Jn = /* @__PURE__ */ function(a) {
5186
+ }, rn = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], oe = {}, $t = null, Jn = /* @__PURE__ */ function(a) {
5186
5187
  L(r, a);
5187
5188
  var o = A(r);
5188
5189
  function r() {
@@ -5265,11 +5266,11 @@ var it = {
5265
5266
  }], [{
5266
5267
  key: "getInstance",
5267
5268
  value: function() {
5268
- return Gt || (Gt = new r()), Gt;
5269
+ return $t || ($t = new r()), $t;
5269
5270
  }
5270
5271
  }]), r;
5271
5272
  }(Pn.EventEmitter);
5272
- function Sa(a) {
5273
+ function xa(a) {
5273
5274
  for (var o = Object.keys(oe), r = 0; r < o.length; r++) {
5274
5275
  var t = oe[o[r]];
5275
5276
  if (t.root === a)
@@ -5277,7 +5278,7 @@ function Sa(a) {
5277
5278
  }
5278
5279
  return null;
5279
5280
  }
5280
- var xa = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Mt = /* @__PURE__ */ function(a) {
5281
+ var Ia = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Ft = /* @__PURE__ */ function(a) {
5281
5282
  L(r, a);
5282
5283
  var o = A(r);
5283
5284
  function r(t) {
@@ -5307,7 +5308,7 @@ var xa = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Mt = /
5307
5308
  to: !1
5308
5309
  }]
5309
5310
  });
5310
- var b = Wo(k, e.playerId, ze);
5311
+ var b = Go(k, e.playerId, ze);
5311
5312
  if (m || k && (k === e._fullscreenEl || b))
5312
5313
  y(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, k, C.FULLSCREEN), e.emit(be, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
5313
5314
  else if (e.fullscreen) {
@@ -5327,7 +5328,7 @@ var xa = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Mt = /
5327
5328
  e._fullscreenEl = e.media, e.onFullscreenChange(g, !0);
5328
5329
  }), _(v(e), "_onWebkitendfullscreen", function(g) {
5329
5330
  e.onFullscreenChange(g, !1);
5330
- }), Xn(v(e), xa), e.config = i, e._pluginInfoId = f.generateSessionId(), Bo(v(e));
5331
+ }), Xn(v(e), Ia), e.config = i, e._pluginInfoId = f.generateSessionId(), Ho(v(e));
5331
5332
  var n = e.constructor.defaultPreset;
5332
5333
  if (e.config.presets.length) {
5333
5334
  var s = e.config.presets.indexOf("default");
@@ -5356,7 +5357,7 @@ var xa = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Mt = /
5356
5357
  }, e._offsetInfo = {
5357
5358
  currentTime: -1,
5358
5359
  duration: 0
5359
- }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = it.init(e._pluginInfoId), B.os.isAndroid && B.osVersion > 0 && B.osVersion < 6 && (e.config.autoplay = !1), e.database = new sa(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
5360
+ }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = it.init(e._pluginInfoId), B.os.isAndroid && B.osVersion > 0 && B.osVersion < 6 && (e.config.autoplay = !1), e.database = new oa(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
5360
5361
  isActiveLocked: !1
5361
5362
  }, e.instManager = Le;
5362
5363
  var l = e._initDOM();
@@ -5388,7 +5389,7 @@ var xa = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Mt = /
5388
5389
  msg: "container id can't be empty"
5389
5390
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
5390
5391
  }
5391
- var s = Sa(this.root);
5392
+ var s = xa(this.root);
5392
5393
  s && (H.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(ze, this.playerId), (e = Le) === null || e === void 0 || e.add(this), ie.init(this), this._initBaseDoms();
5393
5394
  var l = this.constructor.XgVideoProxy;
5394
5395
  if (l && this.mediaConfig.mediaType === l.mediaType) {
@@ -5398,7 +5399,7 @@ var xa = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Mt = /
5398
5399
  this.attachVideoEvents(c), this.media = c;
5399
5400
  }
5400
5401
  if (this.media.setAttribute(ze, this.playerId), this.config.controls) {
5401
- var h = this.config.controls.root || null, d = ie.register(this, wa, {
5402
+ var h = this.config.controls.root || null, d = ie.register(this, ba, {
5402
5403
  root: h
5403
5404
  });
5404
5405
  this.controls = d;
@@ -5467,7 +5468,7 @@ var xa = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Mt = /
5467
5468
  H.logInfo("_startInit readyState", s), this.config.autoplay && (!f.isMSE(this.media) && this.load(), (B.os.isIpad || B.os.isPhone) && this.mediaPlay());
5468
5469
  var l = this.config.startTime;
5469
5470
  this.__startTime = l > 0 ? l : -1, this.config.startTime = 0, s >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(Ee, this.canPlayFunc), (!this.hasStart || this.state < V.ATTACHED) && ie.afterInit(this), this.hasStart = !0, this.setState(V.ATTACHED), f.setTimeout(this, function() {
5470
- i.emit(Dt);
5471
+ i.emit(Ot);
5471
5472
  }, 0);
5472
5473
  }
5473
5474
  }
@@ -5506,7 +5507,7 @@ var xa = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Mt = /
5506
5507
  value: function() {
5507
5508
  var e = this;
5508
5509
  this.config.presets.forEach(function(i) {
5509
- ka(e, i);
5510
+ wa(e, i);
5510
5511
  });
5511
5512
  }
5512
5513
  }, {
@@ -5738,11 +5739,11 @@ var xa = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Mt = /
5738
5739
  seamless: s.seamless !== !1 && typeof MediaSource < "u" && typeof MediaSource.isTypeSupported == "function"
5739
5740
  }, e));
5740
5741
  l && l.then ? l.then(function() {
5741
- n.emit(li, {
5742
+ n.emit(ui, {
5742
5743
  from: i,
5743
5744
  to: e
5744
5745
  });
5745
- }) : this.emit(li, {
5746
+ }) : this.emit(ui, {
5746
5747
  from: i,
5747
5748
  to: e
5748
5749
  });
@@ -5760,7 +5761,7 @@ var xa = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Mt = /
5760
5761
  var e = this, i = C.NOT_ALLOW_AUTOPLAY, n = C.PLAYING, s = C.NO_START, l = C.PAUSED, u = C.REPLAY, c = C.ENTER, h = C.ENDED, d = C.ERROR, p = C.LOADING, g = [i, n, s, l, u, c, h, d, p];
5761
5762
  this.hasStart = !1, this.isError = !1, this._useAutoplay = !1, this.mediaPause(), this._accPlayed.acc = 0, this._accPlayed.t = 0, this._accPlayed.loopAcc = 0, g.forEach(function(m) {
5762
5763
  e.removeClass(m);
5763
- }), this.addClass(C.NO_START), this.emit(Rt);
5764
+ }), this.addClass(C.NO_START), this.emit(Mt);
5764
5765
  }
5765
5766
  }, {
5766
5767
  key: "reset",
@@ -6286,7 +6287,7 @@ var xa = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Mt = /
6286
6287
  }, {
6287
6288
  key: "version",
6288
6289
  get: function() {
6289
- return oi;
6290
+ return ai;
6290
6291
  }
6291
6292
  }, {
6292
6293
  key: "playerId",
@@ -6468,10 +6469,10 @@ var xa = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Mt = /
6468
6469
  r.plugins || (r.plugins = {}), r.plugins[e] = i;
6469
6470
  }
6470
6471
  }]), r;
6471
- }(ra);
6472
- _(Mt, "defaultPreset", null);
6473
- _(Mt, "XgVideoProxy", null);
6474
- Mt.instManager = Jn.getInstance();
6472
+ }(sa);
6473
+ _(Ft, "defaultPreset", null);
6474
+ _(Ft, "XgVideoProxy", null);
6475
+ Ft.instManager = Jn.getInstance();
6475
6476
  function re() {
6476
6477
  return (/* @__PURE__ */ new Date()).getTime();
6477
6478
  }
@@ -6483,7 +6484,7 @@ var Ae = {
6483
6484
  WAIT_END: "waitingEnd",
6484
6485
  SEEK_START: "seekStart",
6485
6486
  SEEK_END: "seekEnd"
6486
- }, Ia = /* @__PURE__ */ function(a) {
6487
+ }, Pa = /* @__PURE__ */ function(a) {
6487
6488
  L(r, a);
6488
6489
  var o = A(r);
6489
6490
  function r() {
@@ -6542,11 +6543,11 @@ var Ae = {
6542
6543
  e.vt = re(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
6543
6544
  var i = e._state, n = i.isTimeUpdate, s = i.isFFSend, l = i.autoplayStart;
6544
6545
  H.logInfo("[xgLogger]".concat(e.player.playerId, " LOADED_DATA"), "fvt:".concat(e.fvt, " isTimeUpdate:").concat(e._state.isTimeUpdate, " loadedCostTime:").concat(e.loadedCostTime)), (n || l) && e._sendFF("loadedData"), s || e.emitLog(Ae.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
6545
- }), this.on(At, this._onSeeking), this.on(Se, this._onSeeked), this.on(ki, function() {
6546
+ }), this.on(Dt, this._onSeeking), this.on(Se, this._onSeeked), this.on(ki, function() {
6546
6547
  e.endState("destroy");
6547
- }), this.on(Ot, function() {
6548
+ }), this.on(Rt, function() {
6548
6549
  e.endState("urlChange"), H.logInfo("[xgLogger]".concat(e.player.playerId, " URL_CHANGE")), e._state.isFFSend && e._onReset();
6549
- }), this.on([vi, Ee], this._onPlaying), this.on(gt, this._onWaiting), this.on(dt, this._onError), this.on(Rt, function() {
6550
+ }), this.on([vi, Ee], this._onPlaying), this.on(gt, this._onWaiting), this.on(dt, this._onError), this.on(Mt, function() {
6550
6551
  H.logInfo("[xgLogger]".concat(e.player.playerId, " RESET")), e.endState("reset"), e._initOnceEvents(), e._onReset();
6551
6552
  });
6552
6553
  }
@@ -6634,13 +6635,13 @@ var Ae = {
6634
6635
  }
6635
6636
  }]), r;
6636
6637
  }(j);
6637
- function Pa() {
6638
+ function La() {
6638
6639
  return new DOMParser().parseFromString(`<svg class="xgplayer-replay-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 78 78" width="78" height="78">
6639
6640
  <path fill="#fff" transform="translate(20, 20)" d="M8.22708362,13.8757234 L11.2677371,12.6472196 C11.7798067,12.4403301 12.3626381,12.6877273 12.5695276,13.1997969 L12.9441342,14.1269807 C13.1510237,14.6390502 12.9036264,15.2218816 12.3915569,15.4287712 L6.8284538,17.6764107 L5.90126995,18.0510173 C5.38920044,18.2579068 4.80636901,18.0105096 4.5994795,17.49844 L1.97723335,11.0081531 C1.77034384,10.4960836 2.0177411,9.91325213 2.52981061,9.70636262 L3.45699446,9.33175602 C3.96906396,9.12486652 4.5518954,9.37226378 4.75878491,9.88433329 L5.67885163,12.1615783 C7.99551726,6.6766934 13.3983951,3 19.5,3 C27.7842712,3 34.5,9.71572875 34.5,18 C34.5,26.2842712 27.7842712,33 19.5,33 C15.4573596,33 11.6658607,31.3912946 8.87004692,28.5831991 C8.28554571,27.9961303 8.28762719,27.0463851 8.87469603,26.4618839 C9.46176488,25.8773827 10.4115101,25.8794641 10.9960113,26.466533 C13.2344327,28.7147875 16.263503,30 19.5,30 C26.127417,30 31.5,24.627417 31.5,18 C31.5,11.372583 26.127417,6 19.5,6 C14.4183772,6 9.94214483,9.18783811 8.22708362,13.8757234 Z"></path>
6640
6641
  </svg>
6641
6642
  `, "image/svg+xml").firstChild;
6642
6643
  }
6643
- var La = /* @__PURE__ */ function(a) {
6644
+ var Aa = /* @__PURE__ */ function(a) {
6644
6645
  L(r, a);
6645
6646
  var o = A(r);
6646
6647
  function r() {
@@ -6650,7 +6651,7 @@ var La = /* @__PURE__ */ function(a) {
6650
6651
  key: "registerIcons",
6651
6652
  value: function() {
6652
6653
  return {
6653
- replay: Pa
6654
+ replay: La
6654
6655
  };
6655
6656
  }
6656
6657
  }, {
@@ -6723,7 +6724,7 @@ var La = /* @__PURE__ */ function(a) {
6723
6724
  };
6724
6725
  }
6725
6726
  }]), r;
6726
- }(j), Aa = /* @__PURE__ */ function(a) {
6727
+ }(j), Da = /* @__PURE__ */ function(a) {
6727
6728
  L(r, a);
6728
6729
  var o = A(r);
6729
6730
  function r() {
@@ -6760,7 +6761,7 @@ var La = /* @__PURE__ */ function(a) {
6760
6761
  e.isEndedShow && f.removeClass(e.root, "hide");
6761
6762
  }), this.config.hideCanplay ? (this.once(fe, function() {
6762
6763
  e.onTimeUpdate();
6763
- }), this.on(Ot, function() {
6764
+ }), this.on(Rt, function() {
6764
6765
  f.removeClass(e.root, "hide"), f.addClass(e.root, "xg-showplay"), e.once(fe, function() {
6765
6766
  e.onTimeUpdate();
6766
6767
  });
@@ -6848,7 +6849,7 @@ function Ei() {
6848
6849
  `, "image/svg+xml").firstChild;
6849
6850
  }
6850
6851
  var ke = {};
6851
- function Da(a, o) {
6852
+ function Oa(a, o) {
6852
6853
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
6853
6854
  start: null,
6854
6855
  end: null
@@ -6866,7 +6867,7 @@ function an(a) {
6866
6867
  window.clearTimeout(ke[o].id), delete ke[o];
6867
6868
  });
6868
6869
  }
6869
- var Oa = /* @__PURE__ */ function(a) {
6870
+ var Ra = /* @__PURE__ */ function(a) {
6870
6871
  L(r, a);
6871
6872
  var o = A(r);
6872
6873
  function r(t) {
@@ -6895,7 +6896,7 @@ var Oa = /* @__PURE__ */ function(a) {
6895
6896
  e.onPlayPause("play");
6896
6897
  }), this.on(rt, function() {
6897
6898
  e.onPlayPause("pause");
6898
- }), this.on(Rt, function() {
6899
+ }), this.on(Mt, function() {
6899
6900
  e.onPlayerReset();
6900
6901
  }), this.clickHandler = this.hook("startClick", this.switchPausePlay, {
6901
6902
  pre: function(l) {
@@ -6958,7 +6959,7 @@ var Oa = /* @__PURE__ */ function(a) {
6958
6959
  key: "animate",
6959
6960
  value: function(e) {
6960
6961
  var i = this;
6961
- this._animateId = Da("pauseplay", 400, {
6962
+ this._animateId = Oa("pauseplay", 400, {
6962
6963
  start: function() {
6963
6964
  f.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
6964
6965
  },
@@ -7041,7 +7042,7 @@ var Oa = /* @__PURE__ */ function(a) {
7041
7042
  };
7042
7043
  }
7043
7044
  }]), r;
7044
- }(j), Ra = /* @__PURE__ */ function(a) {
7045
+ }(j), Ma = /* @__PURE__ */ function(a) {
7045
7046
  L(r, a);
7046
7047
  var o = A(r);
7047
7048
  function r() {
@@ -7141,7 +7142,7 @@ function un(a) {
7141
7142
  return r && o;
7142
7143
  }
7143
7144
  var Si = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Qn = Si.length;
7144
- function Ma() {
7145
+ function Fa() {
7145
7146
  for (var a = {
7146
7147
  width: 0,
7147
7148
  height: 0,
@@ -7155,15 +7156,15 @@ function Ma() {
7155
7156
  }
7156
7157
  return a;
7157
7158
  }
7158
- function Fa(a) {
7159
+ function Na(a) {
7159
7160
  var o = window.getComputedStyle(a);
7160
7161
  return o;
7161
7162
  }
7162
7163
  function cn(a) {
7163
7164
  if (typeof a == "string" && (a = document.querySelector(a)), !(!a || se(a) !== "object" || !a.nodeType)) {
7164
- var o = Fa(a);
7165
+ var o = Na(a);
7165
7166
  if (o.display === "none")
7166
- return Ma();
7167
+ return Fa();
7167
7168
  var r = {};
7168
7169
  r.width = a.offsetWidth, r.height = a.offsetHeight;
7169
7170
  for (var t = r.isBorderBox = o.boxSizing === "border-box", e = 0; e < Qn; e++) {
@@ -7176,14 +7177,14 @@ function cn(a) {
7176
7177
  return y !== !1 && (r.height = y + (g ? 0 : u + p)), r.innerWidth = r.width - (l + d), r.innerHeight = r.height - (u + p), r.outerWidth = r.width + c, r.outerHeight = r.height + h, r;
7177
7178
  }
7178
7179
  }
7179
- function $t(a, o) {
7180
+ function Kt(a, o) {
7180
7181
  for (var r = 0; r < a.length; r++) {
7181
7182
  var t = a[r];
7182
7183
  if (t.identifier === o)
7183
7184
  return t;
7184
7185
  }
7185
7186
  }
7186
- var Kt = {
7187
+ var Yt = {
7187
7188
  START: "dragStart",
7188
7189
  MOVE: "dragMove",
7189
7190
  ENDED: "dragEnded"
@@ -7191,7 +7192,7 @@ var Kt = {
7191
7192
  mousedown: ["mousemove", "mouseup"],
7192
7193
  touchstart: ["touchmove", "touchend", "touchcancel"],
7193
7194
  pointerdown: ["pointermove", "pointerup", "pointercancel"]
7194
- }, Na = /* @__PURE__ */ function(a) {
7195
+ }, Ba = /* @__PURE__ */ function(a) {
7195
7196
  L(r, a);
7196
7197
  var o = A(r);
7197
7198
  function r(t) {
@@ -7294,19 +7295,19 @@ var Kt = {
7294
7295
  }, {
7295
7296
  key: "ontouchmove",
7296
7297
  value: function(e) {
7297
- var i = $t(e.changedTouches, this.touchIdentifier);
7298
+ var i = Kt(e.changedTouches, this.touchIdentifier);
7298
7299
  i && this.dragMove(e, i);
7299
7300
  }
7300
7301
  }, {
7301
7302
  key: "ontouchend",
7302
7303
  value: function(e) {
7303
- var i = $t(e.changedTouches, this.touchIdentifier);
7304
+ var i = Kt(e.changedTouches, this.touchIdentifier);
7304
7305
  i && this.dragEnd(e, i), e.preventDefault();
7305
7306
  }
7306
7307
  }, {
7307
7308
  key: "ontouchcancel",
7308
7309
  value: function(e) {
7309
- var i = $t(e.changedTouches, this.touchIdentifier);
7310
+ var i = Kt(e.changedTouches, this.touchIdentifier);
7310
7311
  i && this.dragCancel(e, i);
7311
7312
  }
7312
7313
  }, {
@@ -7321,12 +7322,12 @@ var Kt = {
7321
7322
  }, {
7322
7323
  key: "dragRealStart",
7323
7324
  value: function(e, i) {
7324
- this.isDragging = !0, this.animate(), this.emit(Kt.START, this.startPos);
7325
+ this.isDragging = !0, this.animate(), this.emit(Yt.START, this.startPos);
7325
7326
  }
7326
7327
  }, {
7327
7328
  key: "dragEnd",
7328
7329
  value: function(e, i) {
7329
- this._root && (this._unbindPostStartEvents(), this.isDragging && (this._root.style.transform = "", this.setLeftTop(), this.emit(Kt.ENDED)), this.presetInfo());
7330
+ this._root && (this._unbindPostStartEvents(), this.isDragging && (this._root.style.transform = "", this.setLeftTop(), this.emit(Yt.ENDED)), this.presetInfo());
7330
7331
  }
7331
7332
  }, {
7332
7333
  key: "_dragPointerMove",
@@ -7342,7 +7343,7 @@ var Kt = {
7342
7343
  value: function(e, i) {
7343
7344
  if (e = e || window.event, !!this.isDown) {
7344
7345
  var n = this.startPos, s = n.x, l = n.y, u = this._dragPointerMove(e, i), c = u.x, h = u.y;
7345
- c = this.checkContain("x", c, s), h = this.checkContain("y", h, l), this.position.x = s + c, this.position.y = l + h, this.dragPoint.x = c, this.dragPoint.y = h, this.emit(Kt.MOVE, this.position);
7346
+ c = this.checkContain("x", c, s), h = this.checkContain("y", h, l), this.position.x = s + c, this.position.y = l + h, this.dragPoint.x = c, this.dragPoint.y = h, this.emit(Yt.MOVE, this.position);
7346
7347
  }
7347
7348
  }
7348
7349
  }, {
@@ -7401,7 +7402,7 @@ var Kt = {
7401
7402
  return parseInt(e, 10);
7402
7403
  }
7403
7404
  }]), r;
7404
- }(Ln), Ba = /* @__PURE__ */ function(a) {
7405
+ }(Ln), Ha = /* @__PURE__ */ function(a) {
7405
7406
  L(r, a);
7406
7407
  var o = A(r);
7407
7408
  function r(t) {
@@ -7457,7 +7458,7 @@ var Kt = {
7457
7458
  i.controls.registerPlugin(ln, s, ln.pluginName);
7458
7459
  }
7459
7460
  var l = f.checkTouchSupport() ? "touchend" : "click";
7460
- this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Na(this.player.root, {
7461
+ this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Ba(this.player.root, {
7461
7462
  handle: this.root
7462
7463
  })), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
7463
7464
  }
@@ -7555,7 +7556,7 @@ var Kt = {
7555
7556
  mouseenter: "onMouseEnter",
7556
7557
  mouseleave: "onMouseLeave",
7557
7558
  mousemove: "onMouseMove"
7558
- }, Yt = ["videoClick", "videoDbClick"], Xt = /* @__PURE__ */ function(a) {
7559
+ }, Xt = ["videoClick", "videoDbClick"], qt = /* @__PURE__ */ function(a) {
7559
7560
  L(r, a);
7560
7561
  var o = A(r);
7561
7562
  function r() {
@@ -7584,7 +7585,7 @@ var Kt = {
7584
7585
  }), _(v(t), "onVideoClick", function(s) {
7585
7586
  var l = v(t), u = l.player, c = l.playerConfig;
7586
7587
  s.target && c.closeVideoClick || (s.target === u.root || s.target === u.media || s.target === u.innerContainer || s.target === u.media.__canvas) && (s.preventDefault(), c.closeVideoStopPropagation || s.stopPropagation(), t._clickCount++, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), t.clickTimer = setTimeout(function() {
7587
- t._clickCount && (t._clickCount--, Te(v(t), Yt[0], function(h, d) {
7588
+ t._clickCount && (t._clickCount--, Te(v(t), Xt[0], function(h, d) {
7588
7589
  t.switchPlayPause(d.e);
7589
7590
  }, {
7590
7591
  e: s,
@@ -7598,7 +7599,7 @@ var Kt = {
7598
7599
  t._clickCount = 0;
7599
7600
  return;
7600
7601
  }
7601
- t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), s.preventDefault(), s.stopPropagation(), Te(v(t), Yt[1], function(h, d) {
7602
+ t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), s.preventDefault(), s.stopPropagation(), Te(v(t), Xt[1], function(h, d) {
7602
7603
  t.emitUserAction(d.e, "switch_fullscreen", {
7603
7604
  props: "fullscreen",
7604
7605
  from: u.fullscreen,
@@ -7615,7 +7616,7 @@ var Kt = {
7615
7616
  key: "afterCreate",
7616
7617
  value: function() {
7617
7618
  var e = this;
7618
- this._clickCount = 0, Yt.map(function(n) {
7619
+ this._clickCount = 0, Xt.map(function(n) {
7619
7620
  e.__hooks[n] = null;
7620
7621
  });
7621
7622
  var i = this.playerConfig.isMobileSimulateMode;
@@ -7671,12 +7672,12 @@ var Kt = {
7671
7672
  TOUCH_MOVE: "touchmove",
7672
7673
  TOUCH_START: "touchstart",
7673
7674
  TOUCH_END: "touchend"
7674
- }, Ha = {
7675
+ }, Ua = {
7675
7676
  start: "touchstart",
7676
7677
  end: "touchend",
7677
7678
  move: "touchmove",
7678
7679
  cancel: "touchcancel"
7679
- }, Ua = {
7680
+ }, za = {
7680
7681
  start: "mousedown",
7681
7682
  end: "mouseup",
7682
7683
  move: "mousemove",
@@ -7685,7 +7686,7 @@ var Kt = {
7685
7686
  function hn(a) {
7686
7687
  return a && a.length > 0 ? a[a.length - 1] : null;
7687
7688
  }
7688
- function za() {
7689
+ function Va() {
7689
7690
  return {
7690
7691
  pressDelay: 600,
7691
7692
  dbClickDelay: 200,
@@ -7695,7 +7696,7 @@ function za() {
7695
7696
  needPreventDefault: !0
7696
7697
  };
7697
7698
  }
7698
- var Va = /* @__PURE__ */ function() {
7699
+ var ja = /* @__PURE__ */ function() {
7699
7700
  function a(o) {
7700
7701
  var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
7701
7702
  eventType: "touch"
@@ -7716,9 +7717,9 @@ var Va = /* @__PURE__ */ function() {
7716
7717
  start: !1,
7717
7718
  x: 0,
7718
7719
  y: 0
7719
- }, this.config = za(), Object.keys(t).map(function(e) {
7720
+ }, this.config = Va(), Object.keys(t).map(function(e) {
7720
7721
  r.config[e] = t[e];
7721
- }), this.root = o, this.events = t.eventType === "mouse" ? Ua : Ha, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
7722
+ }), this.root = o, this.events = t.eventType === "mouse" ? za : Ua, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
7722
7723
  }
7723
7724
  return I(a, [{
7724
7725
  key: "_initEvent",
@@ -7797,7 +7798,7 @@ var Va = /* @__PURE__ */ function() {
7797
7798
  }
7798
7799
  }]), a;
7799
7800
  }();
7800
- function ja() {
7801
+ function Wa() {
7801
7802
  return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
7802
7803
  xmlns:xlink="http://www.w3.org/1999/xlink">
7803
7804
  <path opacity="0.54"
@@ -7811,7 +7812,7 @@ var Xe = {
7811
7812
  SEEKING: "seeking",
7812
7813
  PLAYBACK: "playbackrate",
7813
7814
  LIGHT: ""
7814
- }, qt = ["videoClick", "videoDbClick"], Wa = /* @__PURE__ */ function(a) {
7815
+ }, Zt = ["videoClick", "videoDbClick"], Ga = /* @__PURE__ */ function(a) {
7815
7816
  L(r, a);
7816
7817
  var o = A(r);
7817
7818
  function r(t) {
@@ -7883,7 +7884,7 @@ var Xe = {
7883
7884
  value: function() {
7884
7885
  return {
7885
7886
  seekTipIcon: {
7886
- icon: ja,
7887
+ icon: Wa,
7887
7888
  class: "xg-seek-pre"
7888
7889
  }
7889
7890
  };
@@ -7892,13 +7893,13 @@ var Xe = {
7892
7893
  key: "afterCreate",
7893
7894
  value: function() {
7894
7895
  var e = this;
7895
- qt.map(function(d) {
7896
+ Zt.map(function(d) {
7896
7897
  e.__hooks[d] = null;
7897
7898
  });
7898
7899
  var i = this.playerConfig, n = this.config, s = this.player;
7899
7900
  i.closeVideoDblclick === !0 && (n.closedbClick = !0), this.resetPos(), f.isUndefined(i.disableGesture) || (n.disableGesture = !!i.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = f.createDom("xg-mask", "", {}, "xgmask"), s.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
7900
7901
  var l = this.domEventType === "mouse" ? "mouse" : "touch";
7901
- this.touch = new Va(this.root, {
7902
+ this.touch = new ja(this.root, {
7902
7903
  eventType: l,
7903
7904
  needPreventDefault: !this.config.disableGesture
7904
7905
  }), this.root.addEventListener("contextmenu", function(d) {
@@ -8075,7 +8076,7 @@ var Xe = {
8075
8076
  key: "onClick",
8076
8077
  value: function(e) {
8077
8078
  var i = this, n = this.player;
8078
- Te(this, qt[0], function(s, l) {
8079
+ Te(this, Zt[0], function(s, l) {
8079
8080
  i.clickHandler(l.e);
8080
8081
  }, {
8081
8082
  e,
@@ -8086,7 +8087,7 @@ var Xe = {
8086
8087
  key: "onDbClick",
8087
8088
  value: function(e) {
8088
8089
  var i = this, n = this.player;
8089
- Te(this, qt[1], function(s, l) {
8090
+ Te(this, Zt[1], function(s, l) {
8090
8091
  i.dbClickHandler(l.e);
8091
8092
  }, {
8092
8093
  e,
@@ -8240,7 +8241,7 @@ var Xe = {
8240
8241
  }
8241
8242
  }]), r;
8242
8243
  }(j);
8243
- function Ga(a) {
8244
+ function $a(a) {
8244
8245
  a.preventDefault(), a.returnValue = !1;
8245
8246
  }
8246
8247
  function dn(a) {
@@ -8489,7 +8490,7 @@ var gn = /* @__PURE__ */ function(a) {
8489
8490
  isPress: n
8490
8491
  }, this.keyCodeMap[s[l]]));
8491
8492
  }
8492
- Ga(i), i.stopPropagation();
8493
+ $a(i), i.stopPropagation();
8493
8494
  break;
8494
8495
  }
8495
8496
  }
@@ -8531,13 +8532,13 @@ var gn = /* @__PURE__ */ function(a) {
8531
8532
  }
8532
8533
  }]), r;
8533
8534
  }(Me);
8534
- function $a() {
8535
+ function Ka() {
8535
8536
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
8536
8537
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
8537
8538
  </svg>
8538
8539
  `, "image/svg+xml").firstChild;
8539
8540
  }
8540
- var Ka = /* @__PURE__ */ function(a) {
8541
+ var Ya = /* @__PURE__ */ function(a) {
8541
8542
  L(r, a);
8542
8543
  var o = A(r);
8543
8544
  function r() {
@@ -8547,7 +8548,7 @@ var Ka = /* @__PURE__ */ function(a) {
8547
8548
  key: "registerIcons",
8548
8549
  value: function() {
8549
8550
  return {
8550
- loadingIcon: $a
8551
+ loadingIcon: Ka
8551
8552
  };
8552
8553
  }
8553
8554
  }, {
@@ -8576,7 +8577,7 @@ var Ka = /* @__PURE__ */ function(a) {
8576
8577
  };
8577
8578
  }
8578
8579
  }]), r;
8579
- }(j), Ya = [{
8580
+ }(j), Xa = [{
8580
8581
  tag: "xg-cache",
8581
8582
  className: "xgplayer-progress-cache",
8582
8583
  styleKey: "cachedColor"
@@ -8584,7 +8585,7 @@ var Ka = /* @__PURE__ */ function(a) {
8584
8585
  tag: "xg-played",
8585
8586
  className: "xgplayer-progress-played",
8586
8587
  styleKey: "playedColor"
8587
- }], Xa = /* @__PURE__ */ function() {
8588
+ }], qa = /* @__PURE__ */ function() {
8588
8589
  function a(o) {
8589
8590
  x(this, a), this.fragments = o.fragments || [], this.fragments.length === 0 && this.fragments.push({
8590
8591
  percent: 1
@@ -8771,7 +8772,7 @@ var Ka = /* @__PURE__ */ function(a) {
8771
8772
  var l = f.createDom("xg-inner", "", {
8772
8773
  style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
8773
8774
  }, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
8774
- return r.root.appendChild(l), Ya.forEach(function(u) {
8775
+ return r.root.appendChild(l), Xa.forEach(function(u) {
8775
8776
  l.appendChild(f.createDom(u.tag, "", {
8776
8777
  style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
8777
8778
  }, u.className));
@@ -8787,7 +8788,7 @@ var Ka = /* @__PURE__ */ function(a) {
8787
8788
  }(), pn = {
8788
8789
  POINT: "inner-focus-point",
8789
8790
  HIGHLIGHT: "inner-focus-highlight"
8790
- }, qa = /* @__PURE__ */ function(a) {
8791
+ }, Za = /* @__PURE__ */ function(a) {
8791
8792
  L(r, a);
8792
8793
  var o = A(r);
8793
8794
  function r(t) {
@@ -8917,7 +8918,7 @@ var Ka = /* @__PURE__ */ function(a) {
8917
8918
  e.emitUserAction("fragment_focus", "fragment_focus", u);
8918
8919
  }
8919
8920
  });
8920
- this.innerList ? this.innerList.reset(s) : (this.innerList = new Xa(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
8921
+ this.innerList ? this.innerList.reset(s) : (this.innerList = new qa(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
8921
8922
  e[l] = e.innerList[l].bind(e.innerList);
8922
8923
  }));
8923
8924
  }
@@ -9227,7 +9228,7 @@ var Ka = /* @__PURE__ */ function(a) {
9227
9228
  this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
9228
9229
  }
9229
9230
  }]), r;
9230
- }(j), Za = /* @__PURE__ */ function(a) {
9231
+ }(j), Ja = /* @__PURE__ */ function(a) {
9231
9232
  L(r, a);
9232
9233
  var o = A(r);
9233
9234
  function r() {
@@ -9315,14 +9316,14 @@ var Ka = /* @__PURE__ */ function(a) {
9315
9316
  }
9316
9317
  }]), r;
9317
9318
  }($e);
9318
- function Ja() {
9319
+ function Qa() {
9319
9320
  return new DOMParser().parseFromString(`<svg width="32px" height="40px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9320
9321
  <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
9321
9322
  <path d="M11.2374369,14 L17.6187184,7.61871843 C17.9604272,7.27700968 17.9604272,6.72299032 17.6187184,6.38128157 C17.2770097,6.03957281 16.7229903,6.03957281 16.3812816,6.38128157 L9.38128157,13.3812816 C9.03957281,13.7229903 9.03957281,14.2770097 9.38128157,14.6187184 L16.3812816,21.6187184 C16.7229903,21.9604272 17.2770097,21.9604272 17.6187184,21.6187184 C17.9604272,21.2770097 17.9604272,20.7229903 17.6187184,20.3812816 L11.2374369,14 L11.2374369,14 Z" fill="#FFFFFF"></path>
9322
9323
  </g>
9323
9324
  </svg>`, "image/svg+xml").firstChild;
9324
9325
  }
9325
- var Qa = /* @__PURE__ */ function(a) {
9326
+ var el = /* @__PURE__ */ function(a) {
9326
9327
  L(r, a);
9327
9328
  var o = A(r);
9328
9329
  function r() {
@@ -9341,7 +9342,7 @@ var Qa = /* @__PURE__ */ function(a) {
9341
9342
  value: function() {
9342
9343
  return {
9343
9344
  screenBack: {
9344
- icon: Ja,
9345
+ icon: Qa,
9345
9346
  class: "xg-fullscreen-back"
9346
9347
  }
9347
9348
  };
@@ -9383,19 +9384,19 @@ var Qa = /* @__PURE__ */ function(a) {
9383
9384
  }
9384
9385
  }]), r;
9385
9386
  }(j);
9386
- function el() {
9387
+ function tl() {
9387
9388
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9388
9389
  <path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M598 214h212v212h-84v-128h-128v-84zM726 726v-128h84v212h-212v-84h128zM214 426v-212h212v84h-128v128h-84zM298 598v128h128v84h-212v-212h84z"></path>
9389
9390
  </svg>
9390
9391
  `, "image/svg+xml").firstChild;
9391
9392
  }
9392
- function tl() {
9393
+ function il() {
9393
9394
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9394
9395
  <path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z"></path>
9395
9396
  </svg>
9396
9397
  `, "image/svg+xml").firstChild;
9397
9398
  }
9398
- var il = /* @__PURE__ */ function(a) {
9399
+ var nl = /* @__PURE__ */ function(a) {
9399
9400
  L(r, a);
9400
9401
  var o = A(r);
9401
9402
  function r() {
@@ -9430,7 +9431,7 @@ var il = /* @__PURE__ */ function(a) {
9430
9431
  var u = e.find(".xg-tips");
9431
9432
  u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
9432
9433
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
9433
- plugin: Qa,
9434
+ plugin: el,
9434
9435
  options: {
9435
9436
  config: {
9436
9437
  onClick: function(u) {
@@ -9446,11 +9447,11 @@ var il = /* @__PURE__ */ function(a) {
9446
9447
  value: function() {
9447
9448
  return {
9448
9449
  fullscreen: {
9449
- icon: el,
9450
+ icon: tl,
9450
9451
  class: "xg-get-fullscreen"
9451
9452
  },
9452
9453
  exitFullscreen: {
9453
- icon: tl,
9454
+ icon: il,
9454
9455
  class: "xg-exit-fullscreen"
9455
9456
  }
9456
9457
  };
@@ -9531,7 +9532,7 @@ var il = /* @__PURE__ */ function(a) {
9531
9532
  };
9532
9533
  }
9533
9534
  }]), r;
9534
- }($e), nl = /* @__PURE__ */ function(a) {
9535
+ }($e), rl = /* @__PURE__ */ function(a) {
9535
9536
  L(r, a);
9536
9537
  var o = A(r);
9537
9538
  function r(t) {
@@ -9681,7 +9682,7 @@ var il = /* @__PURE__ */ function(a) {
9681
9682
  };
9682
9683
  }
9683
9684
  }]), r;
9684
- }(j), rl = /* @__PURE__ */ function(a) {
9685
+ }(j), sl = /* @__PURE__ */ function(a) {
9685
9686
  L(r, a);
9686
9687
  var o = A(r);
9687
9688
  function r() {
@@ -9737,7 +9738,7 @@ var il = /* @__PURE__ */ function(a) {
9737
9738
  return I(r, [{
9738
9739
  key: "afterCreate",
9739
9740
  value: function() {
9740
- this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Ne, this._onDurationChange), this.on(xe, this._onLoadedData), this.on(fe, this._onTimeupdate), this.on(At, this._onSeeking), this.on(he, this._onPlay);
9741
+ this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Ne, this._onDurationChange), this.on(xe, this._onLoadedData), this.on(fe, this._onTimeupdate), this.on(Dt, this._onSeeking), this.on(he, this._onPlay);
9741
9742
  }
9742
9743
  }, {
9743
9744
  key: "setConfig",
@@ -9819,28 +9820,28 @@ var il = /* @__PURE__ */ function(a) {
9819
9820
  }
9820
9821
  }]), r;
9821
9822
  }(Me);
9822
- function sl() {
9823
+ function ol() {
9823
9824
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9824
9825
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9825
9826
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M940.632 837.632l-72.192-72.192c65.114-64.745 105.412-154.386 105.412-253.44s-40.299-188.695-105.396-253.424l-0.016-0.016 72.192-72.192c83.639 83.197 135.401 198.37 135.401 325.632s-51.762 242.434-135.381 325.612l-0.020 0.020zM795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021z"></path>
9826
9827
  </svg>
9827
9828
  `, "image/svg+xml").firstChild;
9828
9829
  }
9829
- function ol() {
9830
+ function al() {
9830
9831
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9831
9832
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9832
9833
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021zM795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021z"></path>
9833
9834
  </svg>
9834
9835
  `, "image/svg+xml").firstChild;
9835
9836
  }
9836
- function al() {
9837
+ function ll() {
9837
9838
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9838
9839
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9839
9840
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M920.4 439.808l-108.544-109.056-72.704 72.704 109.568 108.544-109.056 108.544 72.704 72.704 108.032-109.568 108.544 109.056 72.704-72.704-109.568-108.032 109.056-108.544-72.704-72.704-108.032 109.568z"></path>
9840
9841
  </svg>
9841
9842
  `, "image/svg+xml").firstChild;
9842
9843
  }
9843
- var ll = /* @__PURE__ */ function(a) {
9844
+ var ul = /* @__PURE__ */ function(a) {
9844
9845
  L(r, a);
9845
9846
  var o = A(r);
9846
9847
  function r() {
@@ -9888,15 +9889,15 @@ var ll = /* @__PURE__ */ function(a) {
9888
9889
  value: function() {
9889
9890
  return {
9890
9891
  volumeSmall: {
9891
- icon: ol,
9892
+ icon: al,
9892
9893
  class: "xg-volume-small"
9893
9894
  },
9894
9895
  volumeLarge: {
9895
- icon: sl,
9896
+ icon: ol,
9896
9897
  class: "xg-volume"
9897
9898
  },
9898
9899
  volumeMuted: {
9899
- icon: al,
9900
+ icon: ll,
9900
9901
  class: "xg-volume-mute"
9901
9902
  }
9902
9903
  };
@@ -10035,7 +10036,7 @@ var ll = /* @__PURE__ */ function(a) {
10035
10036
  }
10036
10037
  }]), r;
10037
10038
  }(j);
10038
- function ul() {
10039
+ function cl() {
10039
10040
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
10040
10041
  <g clip-path="url(#clip0)">
10041
10042
  <path transform="scale(1.5 1.5)" d="M11.6665 9.16663H4.1665C2.78579 9.16663 1.6665 10.2859 1.6665 11.6666V15.8333C1.6665 17.214 2.78579 18.3333 4.1665 18.3333H11.6665C13.0472 18.3333 14.1665 17.214 14.1665 15.8333V11.6666C14.1665 10.2859 13.0472 9.16663 11.6665 9.16663Z" fill="white"/>
@@ -10049,7 +10050,7 @@ function ul() {
10049
10050
  </svg>
10050
10051
  `, "image/svg+xml").firstChild;
10051
10052
  }
10052
- var cl = /* @__PURE__ */ function(a) {
10053
+ var fl = /* @__PURE__ */ function(a) {
10053
10054
  L(r, a);
10054
10055
  var o = A(r);
10055
10056
  function r(t) {
@@ -10112,7 +10113,7 @@ var cl = /* @__PURE__ */ function(a) {
10112
10113
  key: "registerIcons",
10113
10114
  value: function() {
10114
10115
  return {
10115
- rotate: ul
10116
+ rotate: cl
10116
10117
  };
10117
10118
  }
10118
10119
  }, {
@@ -10145,14 +10146,14 @@ var cl = /* @__PURE__ */ function(a) {
10145
10146
  }
10146
10147
  }]), r;
10147
10148
  }($e);
10148
- function fl() {
10149
+ function hl() {
10149
10150
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10150
10151
  <path fill-rule="evenodd" clip-rule="evenodd"
10151
10152
  d="M16.5 4.3H3.5C3.38954 4.3 3.3 4.38954 3.3 4.5V15.5C3.3 15.6105 3.38954 15.7 3.5 15.7H8.50005L8.50006 17.5H3.5C2.39543 17.5 1.5 16.6046 1.5 15.5V4.5C1.5 3.39543 2.39543 2.5 3.5 2.5H16.5C17.6046 2.5 18.5 3.39543 18.5 4.5V8.5H16.7V4.5C16.7 4.38954 16.6105 4.3 16.5 4.3ZM12 11.5C11.4477 11.5 11 11.9477 11 12.5L11 16.5C11 17.0523 11.4478 17.5 12 17.5H17.5C18.0523 17.5 18.5 17.0523 18.5 16.5L18.5 12.5C18.5 11.9477 18.0523 11.5 17.5 11.5H12Z"
10152
10153
  fill="white" />
10153
10154
  </svg>`, "image/svg+xml").firstChild;
10154
10155
  }
10155
- function hl() {
10156
+ function dl() {
10156
10157
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10157
10158
  <path fill-rule="evenodd" clip-rule="evenodd"
10158
10159
  d="M16.5 4.3H3.5C3.38954 4.3 3.3 4.38954 3.3 4.5V15.5C3.3 15.6105 3.38954 15.7 3.5 15.7H8.50005L8.50006 17.5H3.5C2.39543 17.5 1.5 16.6046 1.5 15.5V4.5C1.5 3.39543 2.39543 2.5 3.5 2.5H16.5C17.6046 2.5 18.5 3.39543 18.5 4.5V8.5H16.7V4.5C16.7 4.38954 16.6105 4.3 16.5 4.3ZM12 11.5C11.4477 11.5 11 11.9477 11 12.5L11 16.5C11 17.0523 11.4478 17.5 12 17.5H17.5C18.0523 17.5 18.5 17.0523 18.5 16.5L18.5 12.5C18.5 11.9477 18.0523 11.5 17.5 11.5H12Z"
@@ -10166,7 +10167,7 @@ var qe = {
10166
10167
  PIP: "picture-in-picture",
10167
10168
  INLINE: "inline",
10168
10169
  FULLSCREEN: "fullscreen"
10169
- }, dl = /* @__PURE__ */ function(a) {
10170
+ }, gl = /* @__PURE__ */ function(a) {
10170
10171
  L(r, a);
10171
10172
  var o = A(r);
10172
10173
  function r() {
@@ -10197,7 +10198,7 @@ var qe = {
10197
10198
  key: "afterCreate",
10198
10199
  value: function() {
10199
10200
  var e = this;
10200
- this.isPIPAvailable() && (M(O(r.prototype), "afterCreate", this).call(this), this.pMode = qe.INLINE, this.initPipEvents(), this.config.showIcon && this.initIcons(), this.once(Dt, function() {
10201
+ this.isPIPAvailable() && (M(O(r.prototype), "afterCreate", this).call(this), this.pMode = qe.INLINE, this.initPipEvents(), this.config.showIcon && this.initIcons(), this.once(Ot, function() {
10201
10202
  e.config.showIcon && (f.removeClass(e.find(".xgplayer-icon"), "xg-icon-disable"), e.bind("click", e.switchPIP));
10202
10203
  }));
10203
10204
  }
@@ -10206,11 +10207,11 @@ var qe = {
10206
10207
  value: function() {
10207
10208
  return {
10208
10209
  pipIcon: {
10209
- icon: fl,
10210
+ icon: hl,
10210
10211
  class: "xg-get-pip"
10211
10212
  },
10212
10213
  pipIconExit: {
10213
- icon: hl,
10214
+ icon: dl,
10214
10215
  class: "xg-exit-pip"
10215
10216
  }
10216
10217
  };
@@ -10229,9 +10230,9 @@ var qe = {
10229
10230
  var n = i.paused;
10230
10231
  f.setTimeout(e, function() {
10231
10232
  !n && i.mediaPlay();
10232
- }, 0), !n && i.mediaPlay(), e.setAttr("data-state", "normal"), e.pipWindow = null, i.emit(ui, !1);
10233
+ }, 0), !n && i.mediaPlay(), e.setAttr("data-state", "normal"), e.pipWindow = null, i.emit(ci, !1);
10233
10234
  }, this.enterPIPCallback = function(n) {
10234
- i.emit(ui, !0), n != null && n.pictureInPictureWindow && (e.pipWindow = n.pictureInPictureWindow), e.setAttr("data-state", "pip");
10235
+ i.emit(ci, !0), n != null && n.pictureInPictureWindow && (e.pipWindow = n.pictureInPictureWindow), e.setAttr("data-state", "pip");
10235
10236
  }, this.onWebkitpresentationmodechanged = function(n) {
10236
10237
  var s = i.media.webkitPresentationMode;
10237
10238
  e.pMode === qe.FULLSCREEN && s !== qe.FULLSCREEN && i.onFullscreenChange(null, !1), e.pMode = s, s === qe.PIP ? e.enterPIPCallback(n) : s === qe.INLINE && e.leavePIPCallback(n);
@@ -10369,13 +10370,13 @@ var qe = {
10369
10370
  }
10370
10371
  }]), r;
10371
10372
  }($e);
10372
- function gl() {
10373
+ function pl() {
10373
10374
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
10374
10375
  <path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
10375
10376
  </svg>
10376
10377
  `, "image/svg+xml").firstChild;
10377
10378
  }
10378
- var pl = /* @__PURE__ */ function(a) {
10379
+ var vl = /* @__PURE__ */ function(a) {
10379
10380
  L(r, a);
10380
10381
  var o = A(r);
10381
10382
  function r(t) {
@@ -10394,7 +10395,7 @@ var pl = /* @__PURE__ */ function(a) {
10394
10395
  key: "registerIcons",
10395
10396
  value: function() {
10396
10397
  return {
10397
- playNext: gl
10398
+ playNext: pl
10398
10399
  };
10399
10400
  }
10400
10401
  }, {
@@ -10516,9 +10517,9 @@ Use Save As... to download, then click back to return to this page.`) && (locati
10516
10517
  };
10517
10518
  });
10518
10519
  })(er);
10519
- var vl = er.exports;
10520
- const ml = /* @__PURE__ */ di(vl);
10521
- function yl() {
10520
+ var ml = er.exports;
10521
+ const yl = /* @__PURE__ */ di(ml);
10522
+ function _l() {
10522
10523
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
10523
10524
  <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10524
10525
  <g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
@@ -10535,7 +10536,7 @@ function yl() {
10535
10536
  </svg>
10536
10537
  `, "image/svg+xml").firstChild;
10537
10538
  }
10538
- var _l = /* @__PURE__ */ function(a) {
10539
+ var Cl = /* @__PURE__ */ function(a) {
10539
10540
  L(r, a);
10540
10541
  var o = A(r);
10541
10542
  function r(t) {
@@ -10546,7 +10547,7 @@ var _l = /* @__PURE__ */ function(a) {
10546
10547
  var n = e.playerConfig.url, s = "";
10547
10548
  f.typeOf(n) === "String" ? s = n : f.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
10548
10549
  var l = e.getAbsoluteURL(s);
10549
- ml(l), e.isLock = !0, e.timer = window.setTimeout(function() {
10550
+ yl(l), e.isLock = !0, e.timer = window.setTimeout(function() {
10550
10551
  e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
10551
10552
  }, 300);
10552
10553
  }
@@ -10565,7 +10566,7 @@ var _l = /* @__PURE__ */ function(a) {
10565
10566
  key: "registerIcons",
10566
10567
  value: function() {
10567
10568
  return {
10568
- download: yl
10569
+ download: _l
10569
10570
  };
10570
10571
  }
10571
10572
  }, {
@@ -10607,7 +10608,7 @@ var _l = /* @__PURE__ */ function(a) {
10607
10608
  };
10608
10609
  }
10609
10610
  }]), r;
10610
- }($e), Cl = /* @__PURE__ */ function(a) {
10611
+ }($e), kl = /* @__PURE__ */ function(a) {
10611
10612
  L(r, a);
10612
10613
  var o = A(r);
10613
10614
  function r() {
@@ -10733,7 +10734,7 @@ var _l = /* @__PURE__ */ function(a) {
10733
10734
  };
10734
10735
  }
10735
10736
  }]), r;
10736
- }($e), kl = /* @__PURE__ */ function() {
10737
+ }($e), wl = /* @__PURE__ */ function() {
10737
10738
  function a(o) {
10738
10739
  x(this, a), this.config = o.config, this.parent = o.root, this.root = f.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), o.root.appendChild(this.root);
10739
10740
  var r = this.config.maxHeight;
@@ -10813,7 +10814,7 @@ var _l = /* @__PURE__ */ function(a) {
10813
10814
  CLICK: "click",
10814
10815
  HOVER: "hover"
10815
10816
  };
10816
- function wl(a, o) {
10817
+ function bl(a, o) {
10817
10818
  return a === Ce.SIDE ? o === $.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
10818
10819
  }
10819
10820
  var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
@@ -10927,7 +10928,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
10927
10928
  var c = {
10928
10929
  config: {
10929
10930
  data: e || [],
10930
- className: wl(s.listType, s.position),
10931
+ className: bl(s.listType, s.position),
10931
10932
  onItemClick: function(m, y) {
10932
10933
  n.onItemClick(m, y);
10933
10934
  },
@@ -10937,7 +10938,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
10937
10938
  };
10938
10939
  if (this.config.isShowIcon) {
10939
10940
  var h = this.player.root.getBoundingClientRect(), d = h.height, p = s.listType === Ce.MIDDLE ? d - 50 : d;
10940
- p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new kl(c), this.changeCurrentText(), this.show();
10941
+ p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new wl(c), this.changeCurrentText(), this.show();
10941
10942
  }
10942
10943
  this._resizeList();
10943
10944
  }
@@ -10988,7 +10989,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
10988
10989
  };
10989
10990
  }
10990
10991
  }]), r;
10991
- }(j), bl = /* @__PURE__ */ function(a) {
10992
+ }(j), Tl = /* @__PURE__ */ function(a) {
10992
10993
  L(r, a);
10993
10994
  var o = A(r);
10994
10995
  function r(t) {
@@ -11089,7 +11090,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
11089
11090
  });
11090
11091
  }
11091
11092
  }]), r;
11092
- }(Lt), Tl = /* @__PURE__ */ function(a) {
11093
+ }(Lt), El = /* @__PURE__ */ function(a) {
11093
11094
  L(r, a);
11094
11095
  var o = A(r);
11095
11096
  function r(t) {
@@ -11182,13 +11183,13 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
11182
11183
  }
11183
11184
  }]), r;
11184
11185
  }(Lt);
11185
- function El() {
11186
+ function Sl() {
11186
11187
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11187
11188
  <path fill="#fff" transform="scale(1.3, 1.3)" class='path_full' d="M9,10v1a.9.9,0,0,1-1,1,.9.9,0,0,1-1-1V9A.9.9,0,0,1,8,8h2a.9.9,0,0,1,1,1,.9.9,0,0,1-1,1Zm6,4V13a1,1,0,0,1,2,0v2a.9.9,0,0,1-1,1H14a1,1,0,0,1,0-2Zm3-7H6V17H18Zm2,0V17a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V7A2,2,0,0,1,6,5H18A2,2,0,0,1,20,7Z"></path>
11188
11189
  </svg>
11189
11190
  `, "image/svg+xml").firstChild;
11190
11191
  }
11191
- function Sl() {
11192
+ function xl() {
11192
11193
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11193
11194
  <path fill="#fff" transform="scale(1.3, 1.3)" d="M9,10V9a.9.9,0,0,1,1-1,.9.9,0,0,1,1,1v2a.9.9,0,0,1-1,1H8a.9.9,0,0,1-1-1,.9.9,0,0,1,1-1Zm6,4v1a1,1,0,0,1-2,0V13a.9.9,0,0,1,1-1h2a1,1,0,0,1,0,2Zm3-7H6V17H18Zm2,0V17a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V7A2,2,0,0,1,6,5H18A2,2,0,0,1,20,7Z"></path>
11194
11195
  </svg>
@@ -11248,11 +11249,11 @@ var vn = /* @__PURE__ */ function(a) {
11248
11249
  value: function() {
11249
11250
  return {
11250
11251
  cssFullscreen: {
11251
- icon: El,
11252
+ icon: Sl,
11252
11253
  class: "xg-get-cssfull"
11253
11254
  },
11254
11255
  exitCssFullscreen: {
11255
- icon: Sl,
11256
+ icon: xl,
11256
11257
  class: "xg-exit-cssfull"
11257
11258
  }
11258
11259
  };
@@ -11288,7 +11289,7 @@ var vn = /* @__PURE__ */ function(a) {
11288
11289
  };
11289
11290
  }
11290
11291
  }]), r;
11291
- }($e), xl = /* @__PURE__ */ function(a) {
11292
+ }($e), Il = /* @__PURE__ */ function(a) {
11292
11293
  L(r, a);
11293
11294
  var o = A(r);
11294
11295
  function r() {
@@ -11349,7 +11350,7 @@ var vn = /* @__PURE__ */ function(a) {
11349
11350
  return "error";
11350
11351
  }
11351
11352
  }]), r;
11352
- }(j), Il = /* @__PURE__ */ function(a) {
11353
+ }(j), Pl = /* @__PURE__ */ function(a) {
11353
11354
  L(r, a);
11354
11355
  var o = A(r);
11355
11356
  function r() {
@@ -11579,7 +11580,7 @@ var yn = {
11579
11580
  return r.find('xg-spot[data-id="'.concat(o, '"]'));
11580
11581
  }
11581
11582
  };
11582
- function Pl(a) {
11583
+ function Ll(a) {
11583
11584
  var o = a.config, r = a.player;
11584
11585
  Object.keys(yn).map(function(e) {
11585
11586
  a[e] = yn[e].bind(a);
@@ -11603,7 +11604,7 @@ var Je = {
11603
11604
  click: "onProgressClick",
11604
11605
  mouseover: "onProgressMouseOver",
11605
11606
  mouseenter: "onProgressMouseOver"
11606
- }, Ll = /* @__PURE__ */ function(a) {
11607
+ }, Al = /* @__PURE__ */ function(a) {
11607
11608
  L(r, a);
11608
11609
  var o = A(r);
11609
11610
  function r(t) {
@@ -11654,7 +11655,7 @@ var Je = {
11654
11655
  n.seekTime && e.player.seek(n.seekTime);
11655
11656
  }), this.transformTimeHook = this.hook("transformTime", function(i) {
11656
11657
  e.setTimeContent(f.format(i));
11657
- }), Pl(this), this.on(Ne, function() {
11658
+ }), Ll(this), this.on(Ne, function() {
11658
11659
  e.show();
11659
11660
  }), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
11660
11661
  }
@@ -11878,7 +11879,7 @@ var Je = {
11878
11879
  };
11879
11880
  }
11880
11881
  }]), r;
11881
- }(j), Al = /* @__PURE__ */ function(a) {
11882
+ }(j), Dl = /* @__PURE__ */ function(a) {
11882
11883
  L(r, a);
11883
11884
  var o = A(r);
11884
11885
  function r(t) {
@@ -12013,10 +12014,10 @@ var Je = {
12013
12014
  }
12014
12015
  }]), r;
12015
12016
  }(j);
12016
- function Zt(a) {
12017
+ function Jt(a) {
12017
12018
  return a ? "background:".concat(a, ";") : "";
12018
12019
  }
12019
- var Dl = /* @__PURE__ */ function(a) {
12020
+ var Ol = /* @__PURE__ */ function(a) {
12020
12021
  L(r, a);
12021
12022
  var o = A(r);
12022
12023
  function r() {
@@ -12073,9 +12074,9 @@ var Dl = /* @__PURE__ */ function(a) {
12073
12074
  var e = this.playerConfig, i = e.commonStyle, n = e.miniprogress;
12074
12075
  if (n) {
12075
12076
  var s = this.config, l = s.mode, u = s.height, c = {
12076
- cached: Zt(i.cachedColor),
12077
- played: Zt(i.playedColor),
12078
- progress: Zt(i.progressColor),
12077
+ cached: Jt(i.cachedColor),
12078
+ played: Jt(i.playedColor),
12079
+ progress: Jt(i.progressColor),
12079
12080
  height: u > 0 && u !== 2 ? "height: ".concat(u, "px;") : ""
12080
12081
  }, h = l === "show" ? "xg-mini-progress-show" : "";
12081
12082
  return '<xg-mini-progress class="xg-mini-progress '.concat(h, '" style="').concat(c.progress, " ").concat(c.height, `">
@@ -12104,14 +12105,14 @@ var Dl = /* @__PURE__ */ function(a) {
12104
12105
  FRAME_RATE: "framerate",
12105
12106
  POSTER: "poster"
12106
12107
  };
12107
- function Ol() {
12108
+ function Rl() {
12108
12109
  try {
12109
12110
  return parseInt(window.performance.now(), 10);
12110
12111
  } catch {
12111
12112
  return (/* @__PURE__ */ new Date()).getTime();
12112
12113
  }
12113
12114
  }
12114
- function Rl() {
12115
+ function Ml() {
12115
12116
  try {
12116
12117
  var a = document.createElement("canvas").getContext;
12117
12118
  return !!a;
@@ -12119,7 +12120,7 @@ function Rl() {
12119
12120
  return !1;
12120
12121
  }
12121
12122
  }
12122
- var yt = null, Ml = /* @__PURE__ */ function(a) {
12123
+ var yt = null, Fl = /* @__PURE__ */ function(a) {
12123
12124
  L(r, a);
12124
12125
  var o = A(r);
12125
12126
  function r() {
@@ -12140,7 +12141,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12140
12141
  !t.player.paused && t._checkIfCanStart() && t.start(0, l);
12141
12142
  }
12142
12143
  }), _(v(t), "start", function(s, l) {
12143
- var u = t.player.video, c = Ol(), h = t.checkVideoIsSupport(u);
12144
+ var u = t.player.video, c = Rl(), h = t.checkVideoIsSupport(u);
12144
12145
  !h || !t.canvasCtx || (l || (l = t.interval), t.stop(), u.videoWidth && u.videoHeight && (t.videoPI = u.videoHeight > 0 ? parseInt(u.videoWidth / u.videoHeight * 100, 10) : 0, (t.config.mode === Qe.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(h, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? f.setTimeout(v(t), t.start, l) : f.requestAnimationFrame(t.start));
12145
12146
  }), _(v(t), "stop", function() {
12146
12147
  t.frameId && (t._loopType === "timer" ? f.clearTimeout(v(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
@@ -12160,7 +12161,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12160
12161
  x: 0,
12161
12162
  y: 0,
12162
12163
  pi: 0
12163
- }, this.isStart = !1, this._isLoaded = !1, this.videoPI = 0, this.preTime = 0, this.interval = parseInt(1e3 / l, 10), this.canvas = null, this.canvasCtx = null, this._frameCount = 0, this._loopType = this.config.mode !== Qe.REAL_TIME && this.interval >= 1e3 ? "timer" : "animation", this.once(Dt, function() {
12164
+ }, this.isStart = !1, this._isLoaded = !1, this.videoPI = 0, this.preTime = 0, this.interval = parseInt(1e3 / l, 10), this.canvas = null, this.canvasCtx = null, this._frameCount = 0, this._loopType = this.config.mode !== Qe.REAL_TIME && this.interval >= 1e3 ? "timer" : "animation", this.once(Ot, function() {
12164
12165
  e.player && (e.init(), e.renderByPoster(), e.player.paused || e.start());
12165
12166
  }), s !== Qe.POSTER && (s !== Qe.FIRST_FRAME && (this.on(Ge, function() {
12166
12167
  e.stop();
@@ -12313,7 +12314,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12313
12314
  }, {
12314
12315
  key: "isSupport",
12315
12316
  get: function() {
12316
- return typeof yt == "boolean" || (yt = Rl()), yt;
12317
+ return typeof yt == "boolean" || (yt = Ml()), yt;
12317
12318
  }
12318
12319
  }, {
12319
12320
  key: "supportCanvasFilter",
@@ -12321,7 +12322,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12321
12322
  return !(B.browser === "safari" || B.browser === "firefox");
12322
12323
  }
12323
12324
  }]), r;
12324
- }(j), Fl = {
12325
+ }(j), Nl = {
12325
12326
  LANG: "zh-cn",
12326
12327
  TEXT: {
12327
12328
  ERROR_TYPES: {
@@ -12396,7 +12397,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12396
12397
  FORWARD: "快进中",
12397
12398
  LIVE_TIP: "直播"
12398
12399
  }
12399
- }, at = "info", Jt = Kn, Nl = /* @__PURE__ */ function(a) {
12400
+ }, at = "info", Qt = Kn, Bl = /* @__PURE__ */ function(a) {
12400
12401
  L(r, a);
12401
12402
  var o = A(r);
12402
12403
  function r() {
@@ -12435,7 +12436,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12435
12436
  }, {
12436
12437
  key: "afterCreate",
12437
12438
  value: function() {
12438
- this.reset(), this.on(St, this._recordUserActions), this.on(Jt.STATS_INFO, this._recordInfo), this.on(Jt.STATS_DOWNLOAD, this._downloadStats), this.on(Jt.STATS_RESET, this._onReset);
12439
+ this.reset(), this.on(St, this._recordUserActions), this.on(Qt.STATS_INFO, this._recordInfo), this.on(Qt.STATS_DOWNLOAD, this._downloadStats), this.on(Qt.STATS_RESET, this._onReset);
12439
12440
  }
12440
12441
  }, {
12441
12442
  key: "destroy",
@@ -12583,7 +12584,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12583
12584
  var e = this, i = this.config.useGapJump;
12584
12585
  i !== !1 && (this.hasPlayed = !1, this.seekingEventReceived = !1, this.isSafari = /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), this.on(gt, this.onGapJump), this.on(he, function() {
12585
12586
  e.hasPlayed = !0;
12586
- }), this.on(At, function() {
12587
+ }), this.on(Dt, function() {
12587
12588
  e.seekingEventReceived = !0;
12588
12589
  }));
12589
12590
  }
@@ -12630,7 +12631,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12630
12631
  }]), r;
12631
12632
  }(j);
12632
12633
  ir.BROWSER_GAP_TOLERANCE = 1e-3;
12633
- var Bl = /* @__PURE__ */ function(a) {
12634
+ var Hl = /* @__PURE__ */ function(a) {
12634
12635
  L(r, a);
12635
12636
  var o = A(r);
12636
12637
  function r() {
@@ -12676,7 +12677,7 @@ var Bl = /* @__PURE__ */ function(a) {
12676
12677
  };
12677
12678
  }
12678
12679
  }]), r;
12679
- }(j), et = "cdn", _t = ["cdn"], Hl = /* @__PURE__ */ function(a) {
12680
+ }(j), et = "cdn", _t = ["cdn"], Ul = /* @__PURE__ */ function(a) {
12680
12681
  L(r, a);
12681
12682
  var o = A(r);
12682
12683
  function r() {
@@ -12735,13 +12736,13 @@ var Bl = /* @__PURE__ */ function(a) {
12735
12736
  var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : et, l = t.getSpeed(s), u = v(t), c = u.player;
12736
12737
  if (c)
12737
12738
  if (s === et)
12738
- (!c.avgSpeed || l !== c.avgSpeed) && (c.avgSpeed = l, c.emit(ai, {
12739
+ (!c.avgSpeed || l !== c.avgSpeed) && (c.avgSpeed = l, c.emit(li, {
12739
12740
  speed: l,
12740
12741
  realTimeSpeed: c.realTimeSpeed
12741
12742
  }));
12742
12743
  else {
12743
12744
  var h = t.getSpeedName("avg", s);
12744
- (!c[h] || l !== c[h]) && (c[h] = l, c.emit(ai, {
12745
+ (!c[h] || l !== c[h]) && (c[h] = l, c.emit(li, {
12745
12746
  speed: l,
12746
12747
  realTimeSpeed: c.realTimeSpeed
12747
12748
  }));
@@ -12802,7 +12803,7 @@ var Bl = /* @__PURE__ */ function(a) {
12802
12803
  };
12803
12804
  }
12804
12805
  }]), r;
12805
- }(j), Ul = /* @__PURE__ */ function(a) {
12806
+ }(j), zl = /* @__PURE__ */ function(a) {
12806
12807
  L(r, a);
12807
12808
  var o = A(r);
12808
12809
  function r() {
@@ -12912,24 +12913,24 @@ var Bl = /* @__PURE__ */ function(a) {
12912
12913
  }
12913
12914
  }]), r;
12914
12915
  }(j);
12915
- it.use(Fl);
12916
- var zl = /* @__PURE__ */ I(function a(o, r) {
12916
+ it.use(Nl);
12917
+ var Vl = /* @__PURE__ */ I(function a(o, r) {
12917
12918
  var t, e, i;
12918
12919
  x(this, a);
12919
- var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [rl, qa, Dl, Ll, nl], u = [].concat(l, [Za, il, cl, pl, bl, Tl, _l, Cl, ll, dl]), c = [La, Aa, Oa, Ka, Ra, xl, Il, Al, Ba];
12920
- this.plugins = [Nl, Ia].concat(ve(u), c, [ir, Bl]);
12920
+ var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [sl, Za, Ol, Al, rl], u = [].concat(l, [Ja, nl, fl, vl, Tl, El, Cl, kl, ul, gl]), c = [Aa, Da, Ra, Ya, Ma, Il, Pl, Dl, Ha];
12921
+ this.plugins = [Bl, Pa].concat(ve(u), c, [ir, Hl]);
12921
12922
  var h = n ? "mobile" : B.device;
12922
12923
  switch (h) {
12923
12924
  case "pc":
12924
- (t = this.plugins).push.apply(t, [gn, Xt, vn, Hl, Ul]);
12925
+ (t = this.plugins).push.apply(t, [gn, qt, vn, Ul, zl]);
12925
12926
  break;
12926
12927
  case "mobile":
12927
- (e = this.plugins).push.apply(e, [Wa]);
12928
+ (e = this.plugins).push.apply(e, [Ga]);
12928
12929
  break;
12929
12930
  default:
12930
- (i = this.plugins).push.apply(i, [gn, Xt, vn]);
12931
+ (i = this.plugins).push.apply(i, [gn, qt, vn]);
12931
12932
  }
12932
- (B.os.isIpad || h === "pc") && this.plugins.push(Ml), B.os.isIpad && this.plugins.push(Xt), this.ignores = [], this.i18n = [];
12933
+ (B.os.isIpad || h === "pc") && this.plugins.push(Fl), B.os.isIpad && this.plugins.push(qt), this.ignores = [], this.i18n = [];
12933
12934
  }), me = /* @__PURE__ */ function(a) {
12934
12935
  L(r, a);
12935
12936
  var o = A(r);
@@ -12937,18 +12938,18 @@ var zl = /* @__PURE__ */ I(function a(o, r) {
12937
12938
  return x(this, r), o.apply(this, arguments);
12938
12939
  }
12939
12940
  return I(r);
12940
- }(Mt);
12941
- _(me, "defaultPreset", zl);
12941
+ }(Ft);
12942
+ _(me, "defaultPreset", Vl);
12942
12943
  _(me, "Util", f);
12943
12944
  _(me, "Sniffer", B);
12944
12945
  _(me, "Errors", kt);
12945
- _(me, "Events", ia);
12946
+ _(me, "Events", na);
12946
12947
  _(me, "Plugin", j);
12947
12948
  _(me, "BasePlugin", Me);
12948
12949
  _(me, "I18N", it);
12949
12950
  _(me, "STATE_CLASS", C);
12950
12951
  _(me, "InstManager", Jn);
12951
- const Vl = ["id"], jl = /* @__PURE__ */ J({
12952
+ const jl = ["id"], Wl = /* @__PURE__ */ J({
12952
12953
  name: "ElImageViewer",
12953
12954
  __name: "Player",
12954
12955
  props: /* @__PURE__ */ Ct({
@@ -12998,12 +12999,12 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
12998
12999
  }, s = Y(() => ({
12999
13000
  ...n,
13000
13001
  ...t.config
13001
- })), l = o, u = ci(a, "modelValue"), c = kn(), h = wn("image-viewer");
13002
+ })), l = o, u = fi(a, "modelValue"), c = kn(), h = wn("image-viewer");
13002
13003
  function d() {
13003
13004
  l("close"), u.value = !1, r.destroy();
13004
13005
  }
13005
13006
  return ut(() => u.value, (p) => {
13006
- p && fi(() => {
13007
+ p && hi(() => {
13007
13008
  r = new me({
13008
13009
  id: c,
13009
13010
  url: i.value,
@@ -13046,7 +13047,7 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
13046
13047
  class: K(E(h).e("canvas"))
13047
13048
  },
13048
13049
  [
13049
- T("div", { id: E(c) }, null, 8, Vl),
13050
+ T("div", { id: E(c) }, null, 8, jl),
13050
13051
  ee(" CLOSE "),
13051
13052
  T(
13052
13053
  "span",
@@ -13083,7 +13084,7 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
13083
13084
  };
13084
13085
  }
13085
13086
  });
13086
- const Wl = /* @__PURE__ */ hi(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(Wl), $l = ["onClick"], Kl = { class: "fileName simple" }, Yl = ["onClick"], Xl = { class: "text" }, ql = { class: "fileName" }, Zl = { class: "size" }, Jl = /* @__PURE__ */ J({
13087
+ const Gl = /* @__PURE__ */ At(Wl, [["__scopeId", "data-v-b301aa7d"]]), $l = Fe(Gl), Kl = ["onClick"], Yl = { class: "fileName simple" }, Xl = ["onClick"], ql = { class: "text" }, Zl = { class: "fileName" }, Jl = { class: "size" }, Ql = /* @__PURE__ */ J({
13087
13088
  __name: "IkPreviewFile",
13088
13089
  props: {
13089
13090
  list: {
@@ -13183,7 +13184,7 @@ const Wl = /* @__PURE__ */ hi(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13183
13184
  ),
13184
13185
  g[s.value.name] || g.attachmentName
13185
13186
  );
13186
- }, d = Y(() => ii.isNumber(r.width) ? `${r.width}px` : r.width), p = Y(() => r.list.map((g) => {
13187
+ }, d = Y(() => ni.isNumber(r.width) ? `${r.width}px` : r.width), p = Y(() => r.list.map((g) => {
13187
13188
  var y;
13188
13189
  const m = g[s.value.name] || g.attachmentName;
13189
13190
  return {
@@ -13207,14 +13208,14 @@ const Wl = /* @__PURE__ */ hi(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13207
13208
  a.simple ? (S(!0), D(
13208
13209
  Ve,
13209
13210
  { key: 0 },
13210
- ti(p.value, (P, F) => (S(), D("div", {
13211
+ ii(p.value, (P, F) => (S(), D("div", {
13211
13212
  class: "iking-privew-annex simple",
13212
13213
  onClick: (U) => c(P),
13213
13214
  style: ue({ width: d.value })
13214
13215
  }, [
13215
13216
  T(
13216
13217
  "div",
13217
- Kl,
13218
+ Yl,
13218
13219
  nt(P.name),
13219
13220
  1
13220
13221
  /* TEXT */
@@ -13227,7 +13228,7 @@ const Wl = /* @__PURE__ */ hi(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13227
13228
  [
13228
13229
  G(E(tt), {
13229
13230
  name: "iksvg_daochu",
13230
- onClick: ei((U) => h(P), ["stop"]),
13231
+ onClick: ti((U) => h(P), ["stop"]),
13231
13232
  size: 20,
13232
13233
  active: ""
13233
13234
  }, null, 8, ["onClick"]),
@@ -13244,7 +13245,7 @@ const Wl = /* @__PURE__ */ hi(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13244
13245
  2
13245
13246
  /* CLASS */
13246
13247
  )
13247
- ], 12, $l))),
13248
+ ], 12, Kl))),
13248
13249
  256
13249
13250
  /* UNKEYED_FRAGMENT */
13250
13251
  )) : (S(), pe(y, { key: 1 }, {
@@ -13252,7 +13253,7 @@ const Wl = /* @__PURE__ */ hi(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13252
13253
  (S(!0), D(
13253
13254
  Ve,
13254
13255
  null,
13255
- ti(p.value, (P, F) => {
13256
+ ii(p.value, (P, F) => {
13256
13257
  var U;
13257
13258
  return S(), D(
13258
13259
  "div",
@@ -13275,17 +13276,17 @@ const Wl = /* @__PURE__ */ hi(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13275
13276
  class: "ikui-w-auto",
13276
13277
  fields: s.value
13277
13278
  }, null, 8, ["file", "style", "fields"]),
13278
- T("div", Xl, [
13279
+ T("div", ql, [
13279
13280
  T(
13280
13281
  "div",
13281
- ql,
13282
+ Zl,
13282
13283
  nt(P.name),
13283
13284
  1
13284
13285
  /* TEXT */
13285
13286
  ),
13286
13287
  T(
13287
13288
  "div",
13288
- Zl,
13289
+ Jl,
13289
13290
  nt(E(zs)(P.size)),
13290
13291
  1
13291
13292
  /* TEXT */
@@ -13299,7 +13300,7 @@ const Wl = /* @__PURE__ */ hi(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13299
13300
  [
13300
13301
  G(E(tt), {
13301
13302
  name: "iksvg_daochu",
13302
- onClick: ei((R) => h(P), ["stop"]),
13303
+ onClick: ti((R) => h(P), ["stop"]),
13303
13304
  bg: a.showBg,
13304
13305
  size: a.showBg ? "default" : 20,
13305
13306
  title: "下载"
@@ -13318,7 +13319,7 @@ const Wl = /* @__PURE__ */ hi(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13318
13319
  2
13319
13320
  /* CLASS */
13320
13321
  )
13321
- ], 8, Yl)
13322
+ ], 8, Xl)
13322
13323
  ],
13323
13324
  6
13324
13325
  /* CLASS, STYLE */
@@ -13351,8 +13352,8 @@ const Wl = /* @__PURE__ */ hi(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13351
13352
  };
13352
13353
  }
13353
13354
  });
13354
- const iu = Fe(Jl);
13355
+ const nu = Fe(Ql);
13355
13356
  export {
13356
- iu as IkPreviewFile,
13357
- iu as default
13357
+ nu as IkPreviewFile,
13358
+ nu as default
13358
13359
  };