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,4 +1,4 @@
1
- import { defineComponent as Z, computed as Y, openBlock as E, createElementBlock as P, createElementVNode as T, inject as lt, ref as se, resolveComponent as rt, Fragment as Ee, renderList as ft, normalizeStyle as oe, toDisplayString as Ne, normalizeClass as K, createVNode as j, unref as S, withModifiers as ti, createBlock as pe, createCommentVNode as ee, renderSlot as Fe, withCtx as Q, mergeModels as Ct, useModel as fi, reactive as nr, watch as st, nextTick as hi, createTextVNode as ii, h as rr, mergeProps as sr, createSlots as or, getCurrentScope as ar, onScopeDispose as lr, markRaw as Oi, effectScope as ur, shallowRef as cr, onMounted as fr, Teleport as _n, Transition as kn, resolveDynamicComponent as hr, withDirectives as dr, vShow as gr, pushScopeId as pr, popScopeId as vr } from "vue";
1
+ import { defineComponent as Z, computed as Y, openBlock as E, createElementBlock as P, createElementVNode as T, inject as lt, ref as se, resolveComponent as rt, Fragment as Ee, renderList as ft, normalizeStyle as oe, toDisplayString as Ne, normalizeClass as K, createVNode as j, unref as S, withModifiers as ti, createBlock as pe, createCommentVNode as ee, renderSlot as Fe, withCtx as Q, mergeModels as wt, useModel as fi, reactive as nr, watch as st, nextTick as hi, createTextVNode as ii, h as rr, mergeProps as sr, createSlots as or, getCurrentScope as ar, onScopeDispose as lr, markRaw as Oi, effectScope as ur, shallowRef as cr, onMounted as fr, Teleport as _n, Transition as kn, resolveDynamicComponent as hr, withDirectives as dr, vShow as gr, pushScopeId as pr, popScopeId as vr } from "vue";
2
2
  import { paramType as ni, ikFile as mr, buildUUID as Cn, ikColor as yr, _ as Ut, ikUrl as _r } from "iking-utils-pro";
3
3
  import { useLocale as kr, useNamespace as wn, useZIndex as Cr, ElIcon as Ae, EVENT_CODE as Xe } from "element-plus";
4
4
  const Pe = (a, o) => {
@@ -751,7 +751,7 @@ var xs = /* @__PURE__ */ Z({
751
751
  ]));
752
752
  }
753
753
  }), js = Vs;
754
- const Dt = (a, o) => {
754
+ const gt = (a, o) => {
755
755
  const r = a.__vccOpts || a;
756
756
  for (const [t, e] of o)
757
757
  r[t] = e;
@@ -1100,7 +1100,7 @@ const Fi = [
1100
1100
  });
1101
1101
  const Qs = Pe(Js), eo = /* @__PURE__ */ Z({
1102
1102
  __name: "IkPreviewFileDialog",
1103
- props: /* @__PURE__ */ Ct({
1103
+ props: /* @__PURE__ */ wt({
1104
1104
  file: {
1105
1105
  type: Object,
1106
1106
  default: () => []
@@ -1201,7 +1201,7 @@ const Qs = Pe(Js), eo = /* @__PURE__ */ Z({
1201
1201
  Ee,
1202
1202
  { key: 0 },
1203
1203
  [
1204
- (h = i.value) != null && h.url && n.image ? (E(), pe(S(Uo), {
1204
+ (h = i.value) != null && h.url && n.image ? (E(), pe(S(zo), {
1205
1205
  key: 0,
1206
1206
  onClose: c[0] || (c[0] = (g) => l()),
1207
1207
  ref: "previewImgRef",
@@ -1209,9 +1209,9 @@ const Qs = Pe(Js), eo = /* @__PURE__ */ Z({
1209
1209
  teleported: "",
1210
1210
  "z-index": 9999
1211
1211
  }, null, 8, ["url-list"])) : ee("v-if", !0),
1212
- ee(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1212
+ ee(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1213
1213
  ee(" 文档类 "),
1214
- j(S(iu), {
1214
+ j(S(nu), {
1215
1215
  modelValue: n.video,
1216
1216
  "onUpdate:modelValue": c[1] || (c[1] = (g) => n.video = g),
1217
1217
  url: (p = i.value) == null ? void 0 : p.url
@@ -1234,7 +1234,7 @@ const Qs = Pe(Js), eo = /* @__PURE__ */ Z({
1234
1234
  default: Q(() => {
1235
1235
  var g;
1236
1236
  return [
1237
- j(S(To), {
1237
+ j(S(Eo), {
1238
1238
  "config-options": e.value,
1239
1239
  "document-server-url": ((g = a.onlyOfficeConfig) == null ? void 0 : g.serverUrl) || a.onlyofficeServer
1240
1240
  }, null, 8, ["config-options", "document-server-url"])
@@ -1453,7 +1453,7 @@ const to = Pe(eo), io = {
1453
1453
  };
1454
1454
  }
1455
1455
  });
1456
- const co = /* @__PURE__ */ Dt(uo, [["__scopeId", "data-v-52806adf"]]), Me = Pe(co), fo = /* @__PURE__ */ Z({
1456
+ const co = /* @__PURE__ */ gt(uo, [["__scopeId", "data-v-52806adf"]]), Me = Pe(co), fo = /* @__PURE__ */ Z({
1457
1457
  __name: "CloseIcon",
1458
1458
  props: {
1459
1459
  showBg: {
@@ -1484,9 +1484,9 @@ const co = /* @__PURE__ */ Dt(uo, [["__scopeId", "data-v-52806adf"]]), Me = Pe(c
1484
1484
  ));
1485
1485
  }
1486
1486
  });
1487
- const ho = /* @__PURE__ */ Dt(fo, [["__scopeId", "data-v-da39e979"]]), go = { class: "base-header" }, po = /* @__PURE__ */ Z({
1487
+ const ho = /* @__PURE__ */ gt(fo, [["__scopeId", "data-v-da39e979"]]), go = { class: "base-header" }, po = /* @__PURE__ */ Z({
1488
1488
  __name: "IkBaseDialog",
1489
- props: /* @__PURE__ */ Ct({
1489
+ props: /* @__PURE__ */ wt({
1490
1490
  title: { default: "" },
1491
1491
  cancelText: { default: "取消" },
1492
1492
  confirmText: { default: "确认" },
@@ -1925,39 +1925,40 @@ const bo = /* @__PURE__ */ Z({
1925
1925
  /* STYLE */
1926
1926
  ));
1927
1927
  }
1928
- }), To = Pe(bo);
1928
+ });
1929
+ const To = /* @__PURE__ */ gt(bo, [["__scopeId", "data-v-98d51ef9"]]), Eo = Pe(To);
1929
1930
  var Ni;
1930
- const En = typeof window < "u", Eo = (a) => typeof a == "string", So = () => {
1931
+ const En = typeof window < "u", So = (a) => typeof a == "string", xo = () => {
1931
1932
  };
1932
1933
  En && ((Ni = window == null ? void 0 : window.navigator) != null && Ni.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1933
1934
  function Sn(a) {
1934
1935
  return typeof a == "function" ? a() : S(a);
1935
1936
  }
1936
- function xo(a) {
1937
+ function Io(a) {
1937
1938
  return a;
1938
1939
  }
1939
- function Io(a) {
1940
+ function Po(a) {
1940
1941
  return ar() ? (lr(a), !0) : !1;
1941
1942
  }
1942
- function Po(a) {
1943
+ function Lo(a) {
1943
1944
  var o;
1944
1945
  const r = Sn(a);
1945
1946
  return (o = r == null ? void 0 : r.$el) != null ? o : r;
1946
1947
  }
1947
- const Lo = En ? window : void 0;
1948
- function vt(...a) {
1948
+ const Ao = En ? window : void 0;
1949
+ function mt(...a) {
1949
1950
  let o, r, t, e;
1950
- if (Eo(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, o = Lo) : [o, r, t, e] = a, !o)
1951
- return So;
1951
+ if (So(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, o = Ao) : [o, r, t, e] = a, !o)
1952
+ return xo;
1952
1953
  Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
1953
1954
  const i = [], n = () => {
1954
1955
  i.forEach((c) => c()), i.length = 0;
1955
- }, s = (c, h, d, p) => (c.addEventListener(h, d, p), () => c.removeEventListener(h, d, p)), l = st(() => [Po(o), Sn(e)], ([c, h]) => {
1956
+ }, s = (c, h, d, p) => (c.addEventListener(h, d, p), () => c.removeEventListener(h, d, p)), l = st(() => [Lo(o), Sn(e)], ([c, h]) => {
1956
1957
  n(), c && i.push(...r.flatMap((d) => t.map((p) => s(c, d, p, h))));
1957
1958
  }, { immediate: !0, flush: "post" }), u = () => {
1958
1959
  l(), n();
1959
1960
  };
1960
- return Io(u), u;
1961
+ return Po(u), u;
1961
1962
  }
1962
1963
  const Bi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Hi = "__vueuse_ssr_handlers__";
1963
1964
  Bi[Hi] = Bi[Hi] || {};
@@ -1965,15 +1966,15 @@ var Ui;
1965
1966
  (function(a) {
1966
1967
  a.UP = "UP", a.RIGHT = "RIGHT", a.DOWN = "DOWN", a.LEFT = "LEFT", a.NONE = "NONE";
1967
1968
  })(Ui || (Ui = {}));
1968
- var Ao = Object.defineProperty, zi = Object.getOwnPropertySymbols, Do = Object.prototype.hasOwnProperty, Oo = Object.prototype.propertyIsEnumerable, Vi = (a, o, r) => o in a ? Ao(a, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[o] = r, Ro = (a, o) => {
1969
+ var Do = Object.defineProperty, zi = Object.getOwnPropertySymbols, Oo = Object.prototype.hasOwnProperty, Ro = Object.prototype.propertyIsEnumerable, Vi = (a, o, r) => o in a ? Do(a, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[o] = r, Fo = (a, o) => {
1969
1970
  for (var r in o || (o = {}))
1970
- Do.call(o, r) && Vi(a, r, o[r]);
1971
+ Oo.call(o, r) && Vi(a, r, o[r]);
1971
1972
  if (zi)
1972
1973
  for (var r of zi(o))
1973
- Oo.call(o, r) && Vi(a, r, o[r]);
1974
+ Ro.call(o, r) && Vi(a, r, o[r]);
1974
1975
  return a;
1975
1976
  };
1976
- const Fo = {
1977
+ const Mo = {
1977
1978
  easeInSine: [0.12, 0, 0.39, 0],
1978
1979
  easeOutSine: [0.61, 1, 0.88, 1],
1979
1980
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -1999,10 +2000,10 @@ const Fo = {
1999
2000
  easeOutBack: [0.34, 1.56, 0.64, 1],
2000
2001
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
2001
2002
  };
2002
- Ro({
2003
- linear: xo
2004
- }, Fo);
2005
- const Mo = {
2003
+ Fo({
2004
+ linear: Io
2005
+ }, Mo);
2006
+ const No = {
2006
2007
  /**
2007
2008
  * @description preview link list.
2008
2009
  */
@@ -2072,15 +2073,15 @@ const Mo = {
2072
2073
  crossorigin: {
2073
2074
  type: ["anonymous", "use-credentials", ""]
2074
2075
  }
2075
- }, No = {
2076
+ }, Bo = {
2076
2077
  close: () => !0,
2077
2078
  switch: (a) => ni.isNumber(a),
2078
2079
  rotate: (a) => ni.isNumber(a)
2079
- }, Bo = ["src", "crossorigin"], Ho = /* @__PURE__ */ Z({
2080
+ }, Ho = ["src", "crossorigin"], Uo = /* @__PURE__ */ Z({
2080
2081
  name: "ElImageViewer",
2081
2082
  __name: "IkImageViewer",
2082
- props: Mo,
2083
- emits: No,
2083
+ props: No,
2084
+ emits: Bo,
2084
2085
  setup(a, { expose: o, emit: r }) {
2085
2086
  const t = (N) => Object.keys(N), e = {
2086
2087
  CONTAIN: {
@@ -2152,7 +2153,7 @@ const Mo = {
2152
2153
  });
2153
2154
  });
2154
2155
  d.run(() => {
2155
- vt(document, "keydown", N), vt(document, "wheel", G);
2156
+ mt(document, "keydown", N), mt(document, "wheel", G);
2156
2157
  });
2157
2158
  }
2158
2159
  function ne() {
@@ -2174,8 +2175,8 @@ const Mo = {
2174
2175
  offsetX: G + at.pageX - ge,
2175
2176
  offsetY: X + at.pageY - ye
2176
2177
  };
2177
- }), Le = vt(document, "mousemove", _e);
2178
- vt(document, "mouseup", () => {
2178
+ }), Le = mt(document, "mousemove", _e);
2179
+ mt(document, "mouseup", () => {
2179
2180
  Le();
2180
2181
  }), N.preventDefault();
2181
2182
  }
@@ -2441,7 +2442,7 @@ const Mo = {
2441
2442
  onLoad: ue,
2442
2443
  onError: ce,
2443
2444
  onMousedown: we
2444
- }, null, 46, Bo)), [
2445
+ }, null, 46, Ho)), [
2445
2446
  [gr, ge === g.value]
2446
2447
  ])),
2447
2448
  128
@@ -2462,7 +2463,7 @@ const Mo = {
2462
2463
  })
2463
2464
  ]));
2464
2465
  }
2465
- }), Uo = Pe(Ho);
2466
+ }), zo = Pe(Uo);
2466
2467
  function ji(a, o) {
2467
2468
  var r = Object.keys(a);
2468
2469
  if (Object.getOwnPropertySymbols) {
@@ -2538,7 +2539,7 @@ function si(a, o) {
2538
2539
  return t.__proto__ = e, t;
2539
2540
  }, si(a, o);
2540
2541
  }
2541
- function zo() {
2542
+ function Vo() {
2542
2543
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2543
2544
  return !1;
2544
2545
  if (typeof Proxy == "function")
@@ -2563,7 +2564,7 @@ function pi(a, o) {
2563
2564
  return m(a);
2564
2565
  }
2565
2566
  function D(a) {
2566
- var o = zo();
2567
+ var o = Vo();
2567
2568
  return function() {
2568
2569
  var t = O(a), e;
2569
2570
  if (o) {
@@ -2574,14 +2575,14 @@ function D(a) {
2574
2575
  return pi(this, e);
2575
2576
  };
2576
2577
  }
2577
- function Vo(a, o) {
2578
+ function jo(a, o) {
2578
2579
  for (; !Object.prototype.hasOwnProperty.call(a, o) && (a = O(a), a !== null); )
2579
2580
  ;
2580
2581
  return a;
2581
2582
  }
2582
2583
  function F() {
2583
2584
  return typeof Reflect < "u" && Reflect.get ? F = Reflect.get.bind() : F = function(o, r, t) {
2584
- var e = Vo(o, r);
2585
+ var e = jo(o, r);
2585
2586
  if (e) {
2586
2587
  var i = Object.getOwnPropertyDescriptor(e, r);
2587
2588
  return i.get ? i.get.call(arguments.length < 3 ? o : t) : i.value;
@@ -2589,17 +2590,17 @@ function F() {
2589
2590
  }, F.apply(this, arguments);
2590
2591
  }
2591
2592
  function ve(a) {
2592
- return jo(a) || Wo(a) || Go(a) || $o();
2593
+ return Wo(a) || Go(a) || $o(a) || Ko();
2593
2594
  }
2594
- function jo(a) {
2595
+ function Wo(a) {
2595
2596
  if (Array.isArray(a))
2596
2597
  return oi(a);
2597
2598
  }
2598
- function Wo(a) {
2599
+ function Go(a) {
2599
2600
  if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
2600
2601
  return Array.from(a);
2601
2602
  }
2602
- function Go(a, o) {
2603
+ function $o(a, o) {
2603
2604
  if (a) {
2604
2605
  if (typeof a == "string")
2605
2606
  return oi(a, o);
@@ -2616,11 +2617,11 @@ function oi(a, o) {
2616
2617
  t[r] = a[r];
2617
2618
  return t;
2618
2619
  }
2619
- function $o() {
2620
+ function Ko() {
2620
2621
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2621
2622
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2622
2623
  }
2623
- function Ko(a, o) {
2624
+ function Yo(a, o) {
2624
2625
  if (typeof a != "object" || a === null)
2625
2626
  return a;
2626
2627
  var r = a[Symbol.toPrimitive];
@@ -2633,7 +2634,7 @@ function Ko(a, o) {
2633
2634
  return (o === "string" ? String : Number)(a);
2634
2635
  }
2635
2636
  function xn(a) {
2636
- var o = Ko(a, "string");
2637
+ var o = Yo(a, "string");
2637
2638
  return typeof o == "symbol" ? o : String(o);
2638
2639
  }
2639
2640
  var In = { exports: {} };
@@ -2749,13 +2750,13 @@ var In = { exports: {} };
2749
2750
  })(In);
2750
2751
  var Pn = In.exports;
2751
2752
  const Ln = /* @__PURE__ */ di(Pn);
2752
- var Yo = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, zt = {
2753
+ var Xo = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, zt = {
2753
2754
  info: "color: #525252; background-color: #90ee90;",
2754
2755
  error: "color: #525252; background-color: red;",
2755
2756
  warn: "color: #525252; background-color: yellow; "
2756
2757
  }, Vt = "%c[xgplayer]", H = {
2757
2758
  config: {
2758
- debug: Yo ? 3 : 0
2759
+ debug: Xo ? 3 : 0
2759
2760
  },
2760
2761
  logInfo: function(o) {
2761
2762
  for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
@@ -2776,10 +2777,10 @@ var Yo = typeof window < "u" && window.location && window.location.href.indexOf(
2776
2777
  }
2777
2778
  }
2778
2779
  };
2779
- function Xo(a) {
2780
+ function qo(a) {
2780
2781
  a.logInfo = H.logInfo.bind(a), a.logWarn = H.logWarn.bind(a), a.logError = H.logError.bind(a);
2781
2782
  }
2782
- var qo = /* @__PURE__ */ function() {
2783
+ var Zo = /* @__PURE__ */ function() {
2783
2784
  function a(o) {
2784
2785
  x(this, a), this.bufferedList = o;
2785
2786
  }
@@ -3025,7 +3026,7 @@ f.setStyleFromCsstext = function(a, o) {
3025
3026
  a.style[t] = o[t];
3026
3027
  });
3027
3028
  };
3028
- function Zo(a, o) {
3029
+ function Jo(a, o) {
3029
3030
  for (var r = 0, t = o.length; r < t; r++)
3030
3031
  if (a.indexOf(o[r]) > -1)
3031
3032
  return !0;
@@ -3039,7 +3040,7 @@ f.filterStyleFromText = function(a) {
3039
3040
  return t.map(function(n) {
3040
3041
  if (n) {
3041
3042
  var s = n.split(":");
3042
- s.length > 1 && (Zo(s[0], o) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
3043
+ s.length > 1 && (Jo(s[0], o) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
3043
3044
  }
3044
3045
  }), a.setAttribute("style", ""), Object.keys(i).map(function(n) {
3045
3046
  a.style[n] = i[n];
@@ -3104,7 +3105,7 @@ f.getBuffered2 = function(a) {
3104
3105
  }
3105
3106
  else
3106
3107
  e = r;
3107
- return new qo(e);
3108
+ return new Zo(e);
3108
3109
  };
3109
3110
  f.getEventPos = function(a) {
3110
3111
  var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
@@ -3228,7 +3229,7 @@ function An(a) {
3228
3229
  var o = ae(a);
3229
3230
  return a !== null && (o === "object" || o === "function");
3230
3231
  }
3231
- function Jo(a, o, r) {
3232
+ function Qo(a, o, r) {
3232
3233
  var t, e, i, n, s, l, u = 0, c = !1, h = !1, d = !0, p = !o && o !== 0 && typeof window.requestAnimationFrame == "function";
3233
3234
  if (typeof a != "function")
3234
3235
  throw new TypeError("Expected a function");
@@ -3287,21 +3288,21 @@ function Jo(a, o, r) {
3287
3288
  }
3288
3289
  return J.cancel = U, J.flush = R, J.pending = te, J;
3289
3290
  }
3290
- function Qo(a, o, r) {
3291
+ function ea(a, o, r) {
3291
3292
  var t = !0, e = !0;
3292
3293
  if (typeof a != "function")
3293
3294
  throw new TypeError("Expected a function");
3294
- return An(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Jo(a, o, {
3295
+ return An(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Qo(a, o, {
3295
3296
  leading: t,
3296
3297
  trailing: e,
3297
3298
  maxWait: o
3298
3299
  });
3299
3300
  }
3300
- function ea() {
3301
+ function ta() {
3301
3302
  var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
3302
3303
  return a === "zh-cn" && (a = "zh"), a;
3303
3304
  }
3304
- function ta(a, o, r) {
3305
+ function ia(a, o, r) {
3305
3306
  if (a) {
3306
3307
  var t = a.getAttribute(r);
3307
3308
  return !!(t && t === o && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
@@ -3310,7 +3311,7 @@ function ta(a, o, r) {
3310
3311
  var Gi = {
3311
3312
  android: /(Android)\s([\d.]+)/,
3312
3313
  ios: /(Version)\/([\d.]+)/
3313
- }, ia = ["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 = {
3314
+ }, na = ["avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "avc1.42E01E", "mp4v.20.8", "avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], B = {
3314
3315
  get device() {
3315
3316
  var a = B.os;
3316
3317
  return a.isPc ? "pc" : "mobile";
@@ -3373,7 +3374,7 @@ var Gi = {
3373
3374
  if (this.supportResult)
3374
3375
  return this.supportResult;
3375
3376
  var r = document.createElement("video");
3376
- return typeof r.canPlayType == "function" && ia.map(function(t) {
3377
+ return typeof r.canPlayType == "function" && na.map(function(t) {
3377
3378
  r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (o.isSupport = !0, o.mime += "||".concat(t));
3378
3379
  }), this.supportResult = o, r = null, o;
3379
3380
  },
@@ -3426,7 +3427,7 @@ var Gi = {
3426
3427
  4: 5104,
3427
3428
  5: 5105,
3428
3429
  6: 5106
3429
- }, wt = /* @__PURE__ */ I(
3430
+ }, bt = /* @__PURE__ */ I(
3430
3431
  function a(o) {
3431
3432
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
3432
3433
  errorType: "",
@@ -3468,23 +3469,23 @@ var Gi = {
3468
3469
  return v.ex = t ? (t[arguments[0]] || {}).msg : "", v;
3469
3470
  }
3470
3471
  }
3471
- ), de = "play", vi = "playing", $e = "ended", ot = "pause", gt = "error", Ot = "seeking", xe = "seeked", he = "timeupdate", pt = "waiting", Se = "canplay", na = "canplaythrough", Ue = "durationchange", Dn = "volumechange", Ie = "loadeddata", ra = "loadedmetadata", On = "ratechange", Rn = "progress", mi = "loadstart", Ke = "emptied", sa = "stalled", oa = "suspend", aa = "abort", la = "bufferedChange", yi = "focus", Fn = "blur", _i = "ready", Mn = "urlNull", Ge = "autoplay_started", ki = "autoplay_was_prevented", Rt = "complete", bt = "replay", Ci = "destroy", Ft = "urlchange", li = "download_speed_change", Nn = "leaveplayer", Bn = "enterplayer", Hn = "loading", be = "fullscreen_change", Tt = "cssFullscreen_change", Et = "mini_state_change", wi = "definition_change", ua = "before_definition_change", ui = "after_definition_change", ca = "SEI_PARSED", fa = "retry", Be = "video_resize", ci = "pip_change", Un = "rotate", zn = "screenShot", St = "playnext", Vn = "shortcut", jn = "xglog", xt = "user_action", Mt = "reset", Wn = "source_error", Gn = "source_success", ha = "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 = {
3472
+ ), de = "play", vi = "playing", $e = "ended", ot = "pause", pt = "error", Ot = "seeking", xe = "seeked", he = "timeupdate", vt = "waiting", Se = "canplay", ra = "canplaythrough", Ue = "durationchange", Dn = "volumechange", Ie = "loadeddata", sa = "loadedmetadata", On = "ratechange", Rn = "progress", mi = "loadstart", Ke = "emptied", oa = "stalled", aa = "suspend", la = "abort", ua = "bufferedChange", yi = "focus", Fn = "blur", _i = "ready", Mn = "urlNull", Ge = "autoplay_started", ki = "autoplay_was_prevented", Rt = "complete", Tt = "replay", Ci = "destroy", Ft = "urlchange", li = "download_speed_change", Nn = "leaveplayer", Bn = "enterplayer", Hn = "loading", be = "fullscreen_change", Et = "cssFullscreen_change", St = "mini_state_change", wi = "definition_change", ca = "before_definition_change", ui = "after_definition_change", fa = "SEI_PARSED", ha = "retry", Be = "video_resize", ci = "pip_change", Un = "rotate", zn = "screenShot", xt = "playnext", Vn = "shortcut", jn = "xglog", It = "user_action", Mt = "reset", Wn = "source_error", Gn = "source_success", da = "switch_subtitle", $n = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Kn = {
3472
3473
  STATS_INFO: "stats_info",
3473
3474
  STATS_DOWNLOAD: "stats_download",
3474
3475
  STATS_RESET: "stats_reset"
3475
3476
  }, Yn = "fps_stuck";
3476
- const da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3477
+ const ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3477
3478
  __proto__: null,
3478
- ABORT: aa,
3479
+ ABORT: la,
3479
3480
  AFTER_DEFINITION_CHANGE: ui,
3480
3481
  AUTOPLAY_PREVENTED: ki,
3481
3482
  AUTOPLAY_STARTED: Ge,
3482
- BEFORE_DEFINITION_CHANGE: ua,
3483
- BUFFER_CHANGE: la,
3483
+ BEFORE_DEFINITION_CHANGE: ca,
3484
+ BUFFER_CHANGE: ua,
3484
3485
  CANPLAY: Se,
3485
- CANPLAY_THROUGH: na,
3486
+ CANPLAY_THROUGH: ra,
3486
3487
  COMPLETE: Rt,
3487
- CSS_FULLSCREEN_CHANGE: Tt,
3488
+ CSS_FULLSCREEN_CHANGE: Et,
3488
3489
  DEFINITION_CHANGE: wi,
3489
3490
  DESTROY: Ci,
3490
3491
  DOWNLOAD_SPEED_CHANGE: li,
@@ -3492,54 +3493,54 @@ const da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3492
3493
  EMPTIED: Ke,
3493
3494
  ENDED: $e,
3494
3495
  ENTER_PLAYER: Bn,
3495
- ERROR: gt,
3496
+ ERROR: pt,
3496
3497
  FPS_STUCK: Yn,
3497
3498
  FULLSCREEN_CHANGE: be,
3498
3499
  LEAVE_PLAYER: Nn,
3499
3500
  LOADED_DATA: Ie,
3500
- LOADED_METADATA: ra,
3501
+ LOADED_METADATA: sa,
3501
3502
  LOADING: Hn,
3502
3503
  LOAD_START: mi,
3503
- MINI_STATE_CHANGE: Et,
3504
+ MINI_STATE_CHANGE: St,
3504
3505
  PAUSE: ot,
3505
3506
  PIP_CHANGE: ci,
3506
3507
  PLAY: de,
3507
3508
  PLAYER_BLUR: Fn,
3508
3509
  PLAYER_FOCUS: yi,
3509
3510
  PLAYING: vi,
3510
- PLAYNEXT: St,
3511
+ PLAYNEXT: xt,
3511
3512
  PROGRESS: Rn,
3512
3513
  RATE_CHANGE: On,
3513
3514
  READY: _i,
3514
- REPLAY: bt,
3515
+ REPLAY: Tt,
3515
3516
  RESET: Mt,
3516
- RETRY: fa,
3517
+ RETRY: ha,
3517
3518
  ROTATE: Un,
3518
3519
  SCREEN_SHOT: zn,
3519
3520
  SEEKED: xe,
3520
3521
  SEEKING: Ot,
3521
- SEI_PARSED: ca,
3522
+ SEI_PARSED: fa,
3522
3523
  SHORTCUT: Vn,
3523
3524
  SOURCE_ERROR: Wn,
3524
3525
  SOURCE_SUCCESS: Gn,
3525
- STALLED: sa,
3526
+ STALLED: oa,
3526
3527
  STATS_EVENTS: Kn,
3527
- SUSPEND: oa,
3528
- SWITCH_SUBTITLE: ha,
3528
+ SUSPEND: aa,
3529
+ SWITCH_SUBTITLE: da,
3529
3530
  TIME_UPDATE: he,
3530
3531
  URL_CHANGE: Ft,
3531
3532
  URL_NULL: Mn,
3532
- USER_ACTION: xt,
3533
+ USER_ACTION: It,
3533
3534
  VIDEO_EVENTS: $n,
3534
3535
  VIDEO_RESIZE: Be,
3535
3536
  VOLUME_CHANGE: Dn,
3536
- WAITING: pt,
3537
+ WAITING: vt,
3537
3538
  XGLOG: jn
3538
3539
  }, Symbol.toStringTag, { value: "Module" }));
3539
3540
  function jt(a, o) {
3540
3541
  !this || !this.emit || (a === "error" ? this.errorHandler(a, o.error) : this.emit(a, o));
3541
3542
  }
3542
- function ga(a, o) {
3543
+ function pa(a, o) {
3543
3544
  return function(r, t) {
3544
3545
  var e = {
3545
3546
  player: o,
@@ -3574,7 +3575,7 @@ function ga(a, o) {
3574
3575
  jt.call(o, a, e);
3575
3576
  };
3576
3577
  }
3577
- var pa = /* @__PURE__ */ function(a) {
3578
+ var va = /* @__PURE__ */ function(a) {
3578
3579
  A(r, a);
3579
3580
  var o = D(r);
3580
3581
  function r(t) {
@@ -3618,7 +3619,7 @@ var pa = /* @__PURE__ */ function(a) {
3618
3619
  var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
3619
3620
  this._evHandlers || (this._evHandlers = $n.map(function(n) {
3620
3621
  var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
3621
- return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, ga(n, e));
3622
+ return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, pa(n, e));
3622
3623
  })), this._evHandlers.forEach(function(n) {
3623
3624
  var s = Object.keys(n)[0];
3624
3625
  i.addEventListener(s, n[s], !1);
@@ -3670,7 +3671,7 @@ var pa = /* @__PURE__ */ function(a) {
3670
3671
  l ? l.error(h, p) : n.errorHandler("error", p);
3671
3672
  }
3672
3673
  var g = $i[4];
3673
- n.emit(Wn, new wt(n, {
3674
+ n.emit(Wn, new bt(n, {
3674
3675
  errorType: g,
3675
3676
  errorCode: 4,
3676
3677
  errorMessage: "sources_load_error",
@@ -3707,7 +3708,7 @@ var pa = /* @__PURE__ */ function(a) {
3707
3708
  this.media.currentSrc || (l = "empty_src", n = {
3708
3709
  code: 6,
3709
3710
  message: l
3710
- }), this.emit(e, new wt(this, {
3711
+ }), this.emit(e, new bt(this, {
3711
3712
  errorType: s,
3712
3713
  errorCode: n.code,
3713
3714
  errorMessage: n.message || "",
@@ -3928,7 +3929,7 @@ var pa = /* @__PURE__ */ function(a) {
3928
3929
  },
3929
3930
  set: function(e) {
3930
3931
  if (this.media) {
3931
- if (this.emit(Ft, e), this.emit(pt), this._currentTime = 0, this._duration = 0, f.isMSE(this.media)) {
3932
+ if (this.emit(Ft, e), this.emit(vt), this._currentTime = 0, this._duration = 0, f.isMSE(this.media)) {
3932
3933
  this.onWaiting();
3933
3934
  return;
3934
3935
  }
@@ -3992,7 +3993,7 @@ var pa = /* @__PURE__ */ function(a) {
3992
3993
  F(O(r.prototype), "removeAllListeners", this).call(this);
3993
3994
  }
3994
3995
  }]), r;
3995
- }(Ln), va = /* @__PURE__ */ function() {
3996
+ }(Ln), ma = /* @__PURE__ */ function() {
3996
3997
  function a() {
3997
3998
  var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
3998
3999
  name: "xgplayer",
@@ -4071,7 +4072,7 @@ var pa = /* @__PURE__ */ function(a) {
4071
4072
  }
4072
4073
  }]), a;
4073
4074
  }(), Yi = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], Xi = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], qi = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], We = "data-xgplayerid";
4074
- function mt(a, o, r) {
4075
+ function yt(a, o, r) {
4075
4076
  for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
4076
4077
  e[i - 3] = arguments[i];
4077
4078
  var n = o.call.apply(o, [a].concat(e));
@@ -4081,7 +4082,7 @@ function mt(a, o, r) {
4081
4082
  r.call.apply(r, [a].concat(l));
4082
4083
  }) : r.call.apply(r, [a].concat(e)));
4083
4084
  }
4084
- function It(a, o) {
4085
+ function Pt(a, o) {
4085
4086
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
4086
4087
  pre: null,
4087
4088
  next: null
@@ -4099,23 +4100,23 @@ function It(a, o) {
4099
4100
  try {
4100
4101
  var n, s = (n = this.__hooks[a]).call.apply(n, [this, this].concat(Array.prototype.slice.call(arguments)));
4101
4102
  s ? s.then ? s.then(function(l) {
4102
- l !== !1 && mt.apply(void 0, [e, o, r.next].concat(ve(t)));
4103
+ l !== !1 && yt.apply(void 0, [e, o, r.next].concat(ve(t)));
4103
4104
  }).catch(function(l) {
4104
4105
  throw l;
4105
- }) : mt.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments))) : s === void 0 && mt.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments)));
4106
+ }) : yt.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments))) : s === void 0 && yt.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments)));
4106
4107
  } catch (l) {
4107
4108
  throw l.message = "[pluginName: ".concat(this.pluginName, ":").concat(a, "] >> ").concat(l.message), l;
4108
4109
  }
4109
4110
  else
4110
- mt.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments)));
4111
+ yt.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments)));
4111
4112
  }).bind(this);
4112
4113
  }
4113
- function Pt(a, o) {
4114
+ function Lt(a, o) {
4114
4115
  var r = this.__hooks;
4115
4116
  if (r)
4116
4117
  return r.hasOwnProperty(a) ? (r && (r[a] = o), !0) : (console.warn("has no supported hook which name [".concat(a, "]")), !1);
4117
4118
  }
4118
- function Lt(a, o) {
4119
+ function At(a, o) {
4119
4120
  var r = this.__hooks;
4120
4121
  r && delete r[a];
4121
4122
  }
@@ -4300,21 +4301,21 @@ var He = /* @__PURE__ */ function() {
4300
4301
  }, {
4301
4302
  key: "hook",
4302
4303
  value: function(r, t) {
4303
- return It.call.apply(It, [this].concat(Array.prototype.slice.call(arguments)));
4304
+ return Pt.call.apply(Pt, [this].concat(Array.prototype.slice.call(arguments)));
4304
4305
  }
4305
4306
  }, {
4306
4307
  key: "useHooks",
4307
4308
  value: function(r, t) {
4308
4309
  for (var e = arguments.length, i = new Array(e > 2 ? e - 2 : 0), n = 2; n < e; n++)
4309
4310
  i[n - 2] = arguments[n];
4310
- return Pt.call.apply(Pt, [this].concat(Array.prototype.slice.call(arguments)));
4311
+ return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
4311
4312
  }
4312
4313
  }, {
4313
4314
  key: "removeHooks",
4314
4315
  value: function(r, t) {
4315
4316
  for (var e = arguments.length, i = new Array(e > 2 ? e - 2 : 0), n = 2; n < e; n++)
4316
4317
  i[n - 2] = arguments[n];
4317
- return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
4318
+ return At.call.apply(At, [this].concat(Array.prototype.slice.call(arguments)));
4318
4319
  }
4319
4320
  }, {
4320
4321
  key: "registerPlugin",
@@ -4356,40 +4357,40 @@ var He = /* @__PURE__ */ function() {
4356
4357
  return "pluginName";
4357
4358
  }
4358
4359
  }]), a;
4359
- }(), ma = 9;
4360
+ }(), ya = 9;
4360
4361
  if (typeof Element < "u" && !Element.prototype.matches) {
4361
4362
  var qe = Element.prototype;
4362
4363
  qe.matches = qe.matchesSelector || qe.mozMatchesSelector || qe.msMatchesSelector || qe.oMatchesSelector || qe.webkitMatchesSelector;
4363
4364
  }
4364
- function ya(a, o) {
4365
- for (; a && a.nodeType !== ma; ) {
4365
+ function _a(a, o) {
4366
+ for (; a && a.nodeType !== ya; ) {
4366
4367
  if (typeof a.matches == "function" && a.matches(o))
4367
4368
  return a;
4368
4369
  a = a.parentNode;
4369
4370
  }
4370
4371
  }
4371
- var _a = ya, ka = _a;
4372
+ var ka = _a, Ca = ka;
4372
4373
  function Gt(a, o, r, t, e) {
4373
- var i = wa.apply(this, arguments);
4374
+ var i = ba.apply(this, arguments);
4374
4375
  return a.addEventListener(r, i, e), {
4375
4376
  destroy: function() {
4376
4377
  a.removeEventListener(r, i, e);
4377
4378
  }
4378
4379
  };
4379
4380
  }
4380
- function Ca(a, o, r, t, e) {
4381
+ function wa(a, o, r, t, e) {
4381
4382
  return typeof a.addEventListener == "function" ? Gt.apply(null, arguments) : typeof r == "function" ? Gt.bind(null, document).apply(null, arguments) : (typeof a == "string" && (a = document.querySelectorAll(a)), Array.prototype.map.call(a, function(i) {
4382
4383
  return Gt(i, o, r, t, e);
4383
4384
  }));
4384
4385
  }
4385
- function wa(a, o, r, t) {
4386
+ function ba(a, o, r, t) {
4386
4387
  return function(e) {
4387
- e.delegateTarget = ka(e.target, o), e.delegateTarget && t.call(a, e);
4388
+ e.delegateTarget = Ca(e.target, o), e.delegateTarget && t.call(a, e);
4388
4389
  };
4389
4390
  }
4390
- var ba = Ca;
4391
- const Qi = /* @__PURE__ */ di(ba);
4392
- var Ta = {
4391
+ var Ta = wa;
4392
+ const Qi = /* @__PURE__ */ di(Ta);
4393
+ var Ea = {
4393
4394
  CONTROLS: "controls",
4394
4395
  ROOT: "root"
4395
4396
  }, $ = {
@@ -4409,10 +4410,10 @@ var Ta = {
4409
4410
  function $t(a) {
4410
4411
  return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
4411
4412
  }
4412
- function Ea(a, o) {
4413
+ function Sa(a, o) {
4413
4414
  return ae(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
4414
4415
  }
4415
- function Sa(a, o) {
4416
+ function xa(a, o) {
4416
4417
  return ae(a) === "object" && a.attr && ae(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
4417
4418
  o[r] = a.attr[r];
4418
4419
  }), o;
@@ -4435,14 +4436,14 @@ function tn(a, o) {
4435
4436
  }
4436
4437
  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);
4437
4438
  }
4438
- function xa(a, o) {
4439
+ function Ia(a, o) {
4439
4440
  var r = o.config.icons || o.playerConfig.icons;
4440
4441
  Object.keys(a).map(function(t) {
4441
4442
  var e = a[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
4442
- r && r[t] && (i = Ea(r[t], i), n = Sa(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;
4443
+ r && r[t] && (i = Sa(r[t], i), n = xa(r[t], n), s = tn(r[t], t, i, n, o.pluginName)), !s && e && (s = tn(e.icon ? e.icon : e, n, i, {}, o.pluginName)), o.icons[t] = s;
4443
4444
  });
4444
4445
  }
4445
- function Ia(a, o) {
4446
+ function Pa(a, o) {
4446
4447
  Object.keys(a).map(function(r) {
4447
4448
  Object.defineProperty(o.langText, r, {
4448
4449
  get: function() {
@@ -4466,9 +4467,9 @@ var W = /* @__PURE__ */ function(a) {
4466
4467
  var i = e.root, n = null;
4467
4468
  this.icons = {}, this.root = null, this.parent = null;
4468
4469
  var s = this.registerIcons() || {};
4469
- xa(s, this), this.langText = {};
4470
+ Ia(s, this), this.langText = {};
4470
4471
  var l = this.registerLanguageTexts() || {};
4471
- Ia(l, this);
4472
+ Pa(l, this);
4472
4473
  var u = "";
4473
4474
  try {
4474
4475
  u = this.render();
@@ -4737,7 +4738,7 @@ var W = /* @__PURE__ */ function(a) {
4737
4738
  }, {
4738
4739
  key: "ROOT_TYPES",
4739
4740
  get: function() {
4740
- return Ta;
4741
+ return Ea;
4741
4742
  }
4742
4743
  }, {
4743
4744
  key: "POSITIONS",
@@ -4745,7 +4746,7 @@ var W = /* @__PURE__ */ function(a) {
4745
4746
  return $;
4746
4747
  }
4747
4748
  }]), r;
4748
- }(He), Pa = /* @__PURE__ */ function() {
4749
+ }(He), La = /* @__PURE__ */ function() {
4749
4750
  function a() {
4750
4751
  var o = this;
4751
4752
  if (x(this, a), _(this, "__trigger", function(r) {
@@ -4755,7 +4756,7 @@ var W = /* @__PURE__ */ function(a) {
4755
4756
  o.__runHandler(r[e].target);
4756
4757
  }), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
4757
4758
  try {
4758
- this.observer = new window.ResizeObserver(Qo(this.__trigger, 100, {
4759
+ this.observer = new window.ResizeObserver(ea(this.__trigger, 100, {
4759
4760
  trailing: !0
4760
4761
  })), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
4761
4762
  } catch (r) {
@@ -4810,17 +4811,17 @@ var W = /* @__PURE__ */ function(a) {
4810
4811
  }
4811
4812
  }]), a;
4812
4813
  }(), ct = null;
4813
- function La(a, o) {
4814
- return ct || (ct = new Pa()), ct.addObserver(a, o), ct;
4815
- }
4816
4814
  function Aa(a, o) {
4815
+ return ct || (ct = new La()), ct.addObserver(a, o), ct;
4816
+ }
4817
+ function Da(a, o) {
4817
4818
  ct.unObserver(a, o);
4818
4819
  }
4819
4820
  var ie = {
4820
4821
  pluginGroup: {},
4821
4822
  init: function(o) {
4822
4823
  var r = o._pluginInfoId;
4823
- r || (r = (/* @__PURE__ */ new Date()).getTime(), o._pluginInfoId = r), !o.config.closeResizeObserver && La(o.root, function() {
4824
+ r || (r = (/* @__PURE__ */ new Date()).getTime(), o._pluginInfoId = r), !o.config.closeResizeObserver && Aa(o.root, function() {
4824
4825
  o.resize();
4825
4826
  }), this.pluginGroup[r] = {
4826
4827
  _originalOptions: o.config || {},
@@ -5006,7 +5007,7 @@ var ie = {
5006
5007
  destroy: function(o) {
5007
5008
  var r = o._pluginInfoId;
5008
5009
  if (this.pluginGroup[r]) {
5009
- Aa(o.root);
5010
+ Da(o.root);
5010
5011
  for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
5011
5012
  var n = i[e];
5012
5013
  this.unRegister(r, n);
@@ -5092,7 +5093,7 @@ function nn() {
5092
5093
  ignores: [],
5093
5094
  whitelist: [],
5094
5095
  inactive: 3e3,
5095
- lang: ea(),
5096
+ lang: ta(),
5096
5097
  controls: !0,
5097
5098
  marginControls: !1,
5098
5099
  fullscreenTarget: null,
@@ -5128,7 +5129,7 @@ function nn() {
5128
5129
  }
5129
5130
  };
5130
5131
  }
5131
- var Da = function(o, r) {
5132
+ var Oa = function(o, r) {
5132
5133
  var t, e, i;
5133
5134
  r.preset && r.options ? i = new r.preset(r.options, o.config) : i = new r({}, o.config);
5134
5135
  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;
@@ -5137,7 +5138,7 @@ var Da = function(o, r) {
5137
5138
  });
5138
5139
  var v = o.config.i18n || [];
5139
5140
  g.push.apply(g, ve(v)), o.config.i18n = g;
5140
- }, Oa = /* @__PURE__ */ function(a) {
5141
+ }, Ra = /* @__PURE__ */ function(a) {
5141
5142
  A(r, a);
5142
5143
  var o = D(r);
5143
5144
  function r() {
@@ -5171,7 +5172,7 @@ var Da = function(o, r) {
5171
5172
  };
5172
5173
  Object.keys(u).map(function(h) {
5173
5174
  e.root.style[h] = u[h];
5174
- }), this.left = this.find("xg-left-grid"), this.center = this.find("xg-center-grid"), this.right = this.find("xg-right-grid"), this.innerRoot = this.find("xg-inner-controls"), this.on(Et, function(h) {
5175
+ }), this.left = this.find("xg-left-grid"), this.center = this.find("xg-center-grid"), this.right = this.find("xg-right-grid"), this.innerRoot = this.find("xg-inner-controls"), this.on(St, function(h) {
5175
5176
  h ? f.addClass(e.root, "mini-controls") : f.removeClass(e.root, "mini-controls");
5176
5177
  });
5177
5178
  var c = this.playerConfig.isMobileSimulateMode;
@@ -5298,7 +5299,7 @@ var Da = function(o, r) {
5298
5299
  };
5299
5300
  }
5300
5301
  }]), r;
5301
- }(W), Ra = {
5302
+ }(W), Fa = {
5302
5303
  LANG: "en",
5303
5304
  TEXT: {
5304
5305
  ERROR_TYPES: {
@@ -5393,7 +5394,7 @@ function Zn() {
5393
5394
  fe.textKeys[a] = a;
5394
5395
  });
5395
5396
  }
5396
- function Fa(a, o) {
5397
+ function Ma(a, o) {
5397
5398
  var r = [];
5398
5399
  if (o || (o = fe), !!o.lang) {
5399
5400
  f.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
@@ -5416,7 +5417,7 @@ function bi(a, o) {
5416
5417
  r === "zh" && (r = "zh-cn"), o.lang[r] ? dt(o.lang[r], t) : (o.langKeys.push(r), o.lang[r] = t), Zn();
5417
5418
  }
5418
5419
  }
5419
- function Ma(a) {
5420
+ function Na(a) {
5420
5421
  var o, r = {
5421
5422
  lang: {},
5422
5423
  langKeys: [],
@@ -5425,7 +5426,7 @@ function Ma(a) {
5425
5426
  };
5426
5427
  return dt(r.lang, fe.lang), (o = r.langKeys).push.apply(o, ve(fe.langKeys)), dt(r.textKeys, fe.textKeys), r;
5427
5428
  }
5428
- bi(Ra);
5429
+ bi(Fa);
5429
5430
  var nt = {
5430
5431
  get textKeys() {
5431
5432
  return fe.textKeys;
@@ -5439,9 +5440,9 @@ var nt = {
5439
5440
  a[o] = fe.lang[o];
5440
5441
  }), fe.lang["zh-cn"] && (a.zh = fe.lang["zh-cn"] || {}), a;
5441
5442
  },
5442
- extend: Fa,
5443
+ extend: Ma,
5443
5444
  use: bi,
5444
- init: Ma
5445
+ init: Na
5445
5446
  }, V = {
5446
5447
  INITIAL: 1,
5447
5448
  READY: 2,
@@ -5538,7 +5539,7 @@ var nt = {
5538
5539
  }
5539
5540
  }]), r;
5540
5541
  }(Pn.EventEmitter);
5541
- function Na(a) {
5542
+ function Ba(a) {
5542
5543
  for (var o = Object.keys(le), r = 0; r < o.length; r++) {
5543
5544
  var t = le[o[r]];
5544
5545
  if (t.root === a)
@@ -5546,7 +5547,7 @@ function Na(a) {
5546
5547
  }
5547
5548
  return null;
5548
5549
  }
5549
- var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /* @__PURE__ */ function(a) {
5550
+ var Ha = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /* @__PURE__ */ function(a) {
5550
5551
  A(r, a);
5551
5552
  var o = D(r);
5552
5553
  function r(t) {
@@ -5564,7 +5565,7 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
5564
5565
  e.resize();
5565
5566
  }, 100);
5566
5567
  }, C = f.getFullScreenEl();
5567
- e._fullActionFrom ? e._fullActionFrom = "" : e.emit(xt, {
5568
+ e._fullActionFrom ? e._fullActionFrom = "" : e.emit(It, {
5568
5569
  eventType: "system",
5569
5570
  action: "switch_fullscreen",
5570
5571
  pluginName: "player",
@@ -5576,7 +5577,7 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
5576
5577
  to: !1
5577
5578
  }]
5578
5579
  });
5579
- var b = ta(C, e.playerId, We);
5580
+ var b = ia(C, e.playerId, We);
5580
5581
  if (v || C && (C === e._fullscreenEl || b))
5581
5582
  y(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, k.FULLSCREEN), e.emit(be, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
5582
5583
  else if (e.fullscreen) {
@@ -5596,7 +5597,7 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
5596
5597
  e._fullscreenEl = e.media, e.onFullscreenChange(g, !0);
5597
5598
  }), _(m(e), "_onWebkitendfullscreen", function(g) {
5598
5599
  e.onFullscreenChange(g, !1);
5599
- }), Xn(m(e), Ba), e.config = i, e._pluginInfoId = f.generateSessionId(), Xo(m(e));
5600
+ }), Xn(m(e), Ha), e.config = i, e._pluginInfoId = f.generateSessionId(), qo(m(e));
5600
5601
  var n = e.constructor.defaultPreset;
5601
5602
  if (e.config.presets.length) {
5602
5603
  var s = e.config.presets.indexOf("default");
@@ -5625,7 +5626,7 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
5625
5626
  }, e._offsetInfo = {
5626
5627
  currentTime: -1,
5627
5628
  duration: 0
5628
- }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = nt.init(e._pluginInfoId), B.os.isAndroid && B.osVersion > 0 && B.osVersion < 6 && (e.config.autoplay = !1), e.database = new va(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
5629
+ }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = nt.init(e._pluginInfoId), B.os.isAndroid && B.osVersion > 0 && B.osVersion < 6 && (e.config.autoplay = !1), e.database = new ma(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
5629
5630
  isActiveLocked: !1
5630
5631
  }, e.instManager = De;
5631
5632
  var l = e._initDOM();
@@ -5651,13 +5652,13 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
5651
5652
  if (n && n.nodeType === 1)
5652
5653
  this.root = n;
5653
5654
  else
5654
- return this.emit(gt, new wt("use", this.config.vid, {
5655
+ return this.emit(pt, new bt("use", this.config.vid, {
5655
5656
  line: 32,
5656
5657
  handle: "Constructor",
5657
5658
  msg: "container id can't be empty"
5658
5659
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
5659
5660
  }
5660
- var s = Na(this.root);
5661
+ var s = Ba(this.root);
5661
5662
  s && (H.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(We, this.playerId), (e = De) === null || e === void 0 || e.add(this), ie.init(this), this._initBaseDoms();
5662
5663
  var l = this.constructor.XgVideoProxy;
5663
5664
  if (l && this.mediaConfig.mediaType === l.mediaType) {
@@ -5667,7 +5668,7 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
5667
5668
  this.attachVideoEvents(c), this.media = c;
5668
5669
  }
5669
5670
  if (this.media.setAttribute(We, this.playerId), this.config.controls) {
5670
- var h = this.config.controls.root || null, d = ie.register(this, Oa, {
5671
+ var h = this.config.controls.root || null, d = ie.register(this, Ra, {
5671
5672
  root: h
5672
5673
  });
5673
5674
  this.controls = d;
@@ -5775,7 +5776,7 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
5775
5776
  value: function() {
5776
5777
  var e = this;
5777
5778
  this.config.presets.forEach(function(i) {
5778
- Da(e, i);
5779
+ Oa(e, i);
5779
5780
  });
5780
5781
  }
5781
5782
  }, {
@@ -6075,7 +6076,7 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
6075
6076
  i && i.catch && i.catch(function(n) {
6076
6077
  console.log(n);
6077
6078
  });
6078
- }), e.emit(bt), e.onPlay();
6079
+ }), e.emit(Tt), e.onPlay();
6079
6080
  });
6080
6081
  }
6081
6082
  }, {
@@ -6154,7 +6155,7 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
6154
6155
  var i = e ? "".concat(k.INNER_FULLSCREEN, " ").concat(k.CSS_FULLSCREEN) : k.CSS_FULLSCREEN;
6155
6156
  this.changeFullStyle(this.root, e, i);
6156
6157
  var n = this.config.fullscreen, s = n === void 0 ? {} : n, l = s.useCssFullscreen === !0 || typeof s.useCssFullscreen == "function" && s.useCssFullscreen();
6157
- l && (this.fullscreen = !0, this.emit(be, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(Tt, !0);
6158
+ l && (this.fullscreen = !0, this.emit(be, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(Et, !0);
6158
6159
  }
6159
6160
  }, {
6160
6161
  key: "exitCssFullscreen",
@@ -6166,7 +6167,7 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
6166
6167
  var i = this.config.fullscreen, n = i === void 0 ? {} : i, s = n.useCssFullscreen === !0 || typeof n.useCssFullscreen == "function" && n.useCssFullscreen();
6167
6168
  s ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(be, !1)) : this.removeClass(e);
6168
6169
  }
6169
- this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(Tt, !1);
6170
+ this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(Et, !1);
6170
6171
  }
6171
6172
  }, {
6172
6173
  key: "getRotateFullscreen",
@@ -6331,7 +6332,7 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
6331
6332
  value: function(e, i, n) {
6332
6333
  if (!(!this.media || !i || !e)) {
6333
6334
  var s = f.typeOf(e) === "String" ? e : e.type || "";
6334
- n.props && f.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(xt, q({
6335
+ n.props && f.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(It, q({
6335
6336
  eventType: s,
6336
6337
  action: i,
6337
6338
  currentTime: this.currentTime,
@@ -6417,7 +6418,7 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
6417
6418
  value: function(e) {
6418
6419
  var i = this;
6419
6420
  this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, Te(this, "playnext", function() {
6420
- i.start(), i.emit(St, e);
6421
+ i.start(), i.emit(xt, e);
6421
6422
  });
6422
6423
  }
6423
6424
  }, {
@@ -6656,17 +6657,17 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
6656
6657
  }, {
6657
6658
  key: "hook",
6658
6659
  value: function(e, i) {
6659
- return It.call.apply(It, [this].concat(Array.prototype.slice.call(arguments)));
6660
+ return Pt.call.apply(Pt, [this].concat(Array.prototype.slice.call(arguments)));
6660
6661
  }
6661
6662
  }, {
6662
6663
  key: "useHooks",
6663
6664
  value: function(e, i) {
6664
- return Pt.call.apply(Pt, [this].concat(Array.prototype.slice.call(arguments)));
6665
+ return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
6665
6666
  }
6666
6667
  }, {
6667
6668
  key: "removeHooks",
6668
6669
  value: function(e, i) {
6669
- return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
6670
+ return At.call.apply(At, [this].concat(Array.prototype.slice.call(arguments)));
6670
6671
  }
6671
6672
  }, {
6672
6673
  key: "usePluginHooks",
@@ -6737,7 +6738,7 @@ var Ba = ["play", "pause", "replay", "retry"], sn = 0, on = 0, De = null, Nt = /
6737
6738
  r.plugins || (r.plugins = {}), r.plugins[e] = i;
6738
6739
  }
6739
6740
  }]), r;
6740
- }(pa);
6741
+ }(va);
6741
6742
  _(Nt, "defaultPreset", null);
6742
6743
  _(Nt, "XgVideoProxy", null);
6743
6744
  Nt.instManager = Jn.getInstance();
@@ -6752,7 +6753,7 @@ var Oe = {
6752
6753
  WAIT_END: "waitingEnd",
6753
6754
  SEEK_START: "seekStart",
6754
6755
  SEEK_END: "seekEnd"
6755
- }, Ha = /* @__PURE__ */ function(a) {
6756
+ }, Ua = /* @__PURE__ */ function(a) {
6756
6757
  A(r, a);
6757
6758
  var o = D(r);
6758
6759
  function r() {
@@ -6815,7 +6816,7 @@ var Oe = {
6815
6816
  e.endState("destroy");
6816
6817
  }), this.on(Ft, function() {
6817
6818
  e.endState("urlChange"), H.logInfo("[xgLogger]".concat(e.player.playerId, " URL_CHANGE")), e._state.isFFSend && e._onReset();
6818
- }), this.on([vi, Se], this._onPlaying), this.on(pt, this._onWaiting), this.on(gt, this._onError), this.on(Mt, function() {
6819
+ }), this.on([vi, Se], this._onPlaying), this.on(vt, this._onWaiting), this.on(pt, this._onError), this.on(Mt, function() {
6819
6820
  H.logInfo("[xgLogger]".concat(e.player.playerId, " RESET")), e.endState("reset"), e._initOnceEvents(), e._onReset();
6820
6821
  });
6821
6822
  }
@@ -6903,13 +6904,13 @@ var Oe = {
6903
6904
  }
6904
6905
  }]), r;
6905
6906
  }(W);
6906
- function Ua() {
6907
+ function za() {
6907
6908
  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">
6908
6909
  <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>
6909
6910
  </svg>
6910
6911
  `, "image/svg+xml").firstChild;
6911
6912
  }
6912
- var za = /* @__PURE__ */ function(a) {
6913
+ var Va = /* @__PURE__ */ function(a) {
6913
6914
  A(r, a);
6914
6915
  var o = D(r);
6915
6916
  function r() {
@@ -6919,7 +6920,7 @@ var za = /* @__PURE__ */ function(a) {
6919
6920
  key: "registerIcons",
6920
6921
  value: function() {
6921
6922
  return {
6922
- replay: Ua
6923
+ replay: za
6923
6924
  };
6924
6925
  }
6925
6926
  }, {
@@ -6992,7 +6993,7 @@ var za = /* @__PURE__ */ function(a) {
6992
6993
  };
6993
6994
  }
6994
6995
  }]), r;
6995
- }(W), Va = /* @__PURE__ */ function(a) {
6996
+ }(W), ja = /* @__PURE__ */ function(a) {
6996
6997
  A(r, a);
6997
6998
  var o = D(r);
6998
6999
  function r() {
@@ -7117,7 +7118,7 @@ function Ei() {
7117
7118
  `, "image/svg+xml").firstChild;
7118
7119
  }
7119
7120
  var Ce = {};
7120
- function ja(a, o) {
7121
+ function Wa(a, o) {
7121
7122
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
7122
7123
  start: null,
7123
7124
  end: null
@@ -7135,7 +7136,7 @@ function an(a) {
7135
7136
  window.clearTimeout(Ce[o].id), delete Ce[o];
7136
7137
  });
7137
7138
  }
7138
- var Wa = /* @__PURE__ */ function(a) {
7139
+ var Ga = /* @__PURE__ */ function(a) {
7139
7140
  A(r, a);
7140
7141
  var o = D(r);
7141
7142
  function r(t) {
@@ -7227,7 +7228,7 @@ var Wa = /* @__PURE__ */ function(a) {
7227
7228
  key: "animate",
7228
7229
  value: function(e) {
7229
7230
  var i = this;
7230
- this._animateId = ja("pauseplay", 400, {
7231
+ this._animateId = Wa("pauseplay", 400, {
7231
7232
  start: function() {
7232
7233
  f.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
7233
7234
  },
@@ -7310,7 +7311,7 @@ var Wa = /* @__PURE__ */ function(a) {
7310
7311
  };
7311
7312
  }
7312
7313
  }]), r;
7313
- }(W), Ga = /* @__PURE__ */ function(a) {
7314
+ }(W), $a = /* @__PURE__ */ function(a) {
7314
7315
  A(r, a);
7315
7316
  var o = D(r);
7316
7317
  function r() {
@@ -7410,7 +7411,7 @@ function un(a) {
7410
7411
  return r && o;
7411
7412
  }
7412
7413
  var Si = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Qn = Si.length;
7413
- function $a() {
7414
+ function Ka() {
7414
7415
  for (var a = {
7415
7416
  width: 0,
7416
7417
  height: 0,
@@ -7424,15 +7425,15 @@ function $a() {
7424
7425
  }
7425
7426
  return a;
7426
7427
  }
7427
- function Ka(a) {
7428
+ function Ya(a) {
7428
7429
  var o = window.getComputedStyle(a);
7429
7430
  return o;
7430
7431
  }
7431
7432
  function cn(a) {
7432
7433
  if (typeof a == "string" && (a = document.querySelector(a)), !(!a || ae(a) !== "object" || !a.nodeType)) {
7433
- var o = Ka(a);
7434
+ var o = Ya(a);
7434
7435
  if (o.display === "none")
7435
- return $a();
7436
+ return Ka();
7436
7437
  var r = {};
7437
7438
  r.width = a.offsetWidth, r.height = a.offsetHeight;
7438
7439
  for (var t = r.isBorderBox = o.boxSizing === "border-box", e = 0; e < Qn; e++) {
@@ -7460,7 +7461,7 @@ var Xt = {
7460
7461
  mousedown: ["mousemove", "mouseup"],
7461
7462
  touchstart: ["touchmove", "touchend", "touchcancel"],
7462
7463
  pointerdown: ["pointermove", "pointerup", "pointercancel"]
7463
- }, Ya = /* @__PURE__ */ function(a) {
7464
+ }, Xa = /* @__PURE__ */ function(a) {
7464
7465
  A(r, a);
7465
7466
  var o = D(r);
7466
7467
  function r(t) {
@@ -7670,7 +7671,7 @@ var Xt = {
7670
7671
  return parseInt(e, 10);
7671
7672
  }
7672
7673
  }]), r;
7673
- }(Ln), Xa = /* @__PURE__ */ function(a) {
7674
+ }(Ln), qa = /* @__PURE__ */ function(a) {
7674
7675
  A(r, a);
7675
7676
  var o = D(r);
7676
7677
  function r(t) {
@@ -7726,7 +7727,7 @@ var Xt = {
7726
7727
  i.controls.registerPlugin(ln, s, ln.pluginName);
7727
7728
  }
7728
7729
  var l = f.checkTouchSupport() ? "touchend" : "click";
7729
- this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Ya(this.player.root, {
7730
+ this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Xa(this.player.root, {
7730
7731
  handle: this.root
7731
7732
  })), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
7732
7733
  }
@@ -7759,7 +7760,7 @@ var Xt = {
7759
7760
  var i = this.player, n = this.playerConfig, s = this.config.target || this.player.root;
7760
7761
  this.lastStyle = {}, f.addClass(i.root, "xgplayer-mini"), ["width", "height", "top", "left"].map(function(l) {
7761
7762
  e.lastStyle[l] = s.style[l], s.style[l] = "".concat(e.pos[l], "px");
7762
- }), n.fluid && (s.style["padding-top"] = ""), this.emit(Et, !0), i.isMini = this.isMini = !0;
7763
+ }), n.fluid && (s.style["padding-top"] = ""), this.emit(St, !0), i.isMini = this.isMini = !0;
7763
7764
  }
7764
7765
  }
7765
7766
  }, {
@@ -7771,7 +7772,7 @@ var Xt = {
7771
7772
  var i = this.player, n = this.playerConfig, s = this.config.target || this.player.root;
7772
7773
  f.removeClass(i.root, "xgplayer-mini"), this.lastStyle && Object.keys(this.lastStyle).map(function(l) {
7773
7774
  s.style[l] = e.lastStyle[l];
7774
- }), this.lastStyle = null, n.fluid && (i.root.style.width = "100%", i.root.style.height = "0", i.root.style["padding-top"] = "".concat(n.height * 100 / n.width, "%")), this.emit(Et, !1), this.isMini = i.isMini = !1;
7775
+ }), this.lastStyle = null, n.fluid && (i.root.style.width = "100%", i.root.style.height = "0", i.root.style["padding-top"] = "".concat(n.height * 100 / n.width, "%")), this.emit(St, !1), this.isMini = i.isMini = !1;
7775
7776
  }
7776
7777
  }, {
7777
7778
  key: "destroy",
@@ -7820,7 +7821,7 @@ var Xt = {
7820
7821
  };
7821
7822
  }
7822
7823
  }]), r;
7823
- }(W), yt = {
7824
+ }(W), _t = {
7824
7825
  mouseenter: "onMouseEnter",
7825
7826
  mouseleave: "onMouseLeave",
7826
7827
  mousemove: "onMouseMove"
@@ -7894,8 +7895,8 @@ var Xt = {
7894
7895
  key: "initEvents",
7895
7896
  value: function() {
7896
7897
  var e = this, i = this.player, n = i.media, s = i.root, l = this.playerConfig.enableContextmenu;
7897
- s && s.addEventListener("click", this.onVideoClick, !1), s && s.addEventListener("dblclick", this.onVideoDblClick, !1), Object.keys(yt).map(function(u) {
7898
- s.addEventListener(u, e[yt[u]], !1);
7898
+ s && s.addEventListener("click", this.onVideoClick, !1), s && s.addEventListener("dblclick", this.onVideoDblClick, !1), Object.keys(_t).map(function(u) {
7899
+ s.addEventListener(u, e[_t[u]], !1);
7899
7900
  }), !l && n && n.addEventListener("contextmenu", this.onContextmenu, !1);
7900
7901
  }
7901
7902
  }, {
@@ -7917,8 +7918,8 @@ var Xt = {
7917
7918
  key: "destroy",
7918
7919
  value: function() {
7919
7920
  var e = this, i = this.player, n = i.video, s = i.root;
7920
- this.clickTimer && clearTimeout(this.clickTimer), s.removeEventListener("click", this.onVideoClick, !1), s.removeEventListener("dblclick", this.onVideoDblClick, !1), n.removeEventListener("contextmenu", this.onContextmenu, !1), Object.keys(yt).map(function(l) {
7921
- s.removeEventListener(l, e[yt[l]], !1);
7921
+ this.clickTimer && clearTimeout(this.clickTimer), s.removeEventListener("click", this.onVideoClick, !1), s.removeEventListener("dblclick", this.onVideoDblClick, !1), n.removeEventListener("contextmenu", this.onContextmenu, !1), Object.keys(_t).map(function(l) {
7922
+ s.removeEventListener(l, e[_t[l]], !1);
7922
7923
  });
7923
7924
  }
7924
7925
  }], [{
@@ -7940,12 +7941,12 @@ var Xt = {
7940
7941
  TOUCH_MOVE: "touchmove",
7941
7942
  TOUCH_START: "touchstart",
7942
7943
  TOUCH_END: "touchend"
7943
- }, qa = {
7944
+ }, Za = {
7944
7945
  start: "touchstart",
7945
7946
  end: "touchend",
7946
7947
  move: "touchmove",
7947
7948
  cancel: "touchcancel"
7948
- }, Za = {
7949
+ }, Ja = {
7949
7950
  start: "mousedown",
7950
7951
  end: "mouseup",
7951
7952
  move: "mousemove",
@@ -7954,7 +7955,7 @@ var Xt = {
7954
7955
  function hn(a) {
7955
7956
  return a && a.length > 0 ? a[a.length - 1] : null;
7956
7957
  }
7957
- function Ja() {
7958
+ function Qa() {
7958
7959
  return {
7959
7960
  pressDelay: 600,
7960
7961
  dbClickDelay: 200,
@@ -7964,7 +7965,7 @@ function Ja() {
7964
7965
  needPreventDefault: !0
7965
7966
  };
7966
7967
  }
7967
- var Qa = /* @__PURE__ */ function() {
7968
+ var el = /* @__PURE__ */ function() {
7968
7969
  function a(o) {
7969
7970
  var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
7970
7971
  eventType: "touch"
@@ -7985,9 +7986,9 @@ var Qa = /* @__PURE__ */ function() {
7985
7986
  start: !1,
7986
7987
  x: 0,
7987
7988
  y: 0
7988
- }, this.config = Ja(), Object.keys(t).map(function(e) {
7989
+ }, this.config = Qa(), Object.keys(t).map(function(e) {
7989
7990
  r.config[e] = t[e];
7990
- }), this.root = o, this.events = t.eventType === "mouse" ? Za : qa, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
7991
+ }), this.root = o, this.events = t.eventType === "mouse" ? Ja : Za, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
7991
7992
  }
7992
7993
  return I(a, [{
7993
7994
  key: "_initEvent",
@@ -8066,7 +8067,7 @@ var Qa = /* @__PURE__ */ function() {
8066
8067
  }
8067
8068
  }]), a;
8068
8069
  }();
8069
- function el() {
8070
+ function tl() {
8070
8071
  return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
8071
8072
  xmlns:xlink="http://www.w3.org/1999/xlink">
8072
8073
  <path opacity="0.54"
@@ -8080,7 +8081,7 @@ var Ze = {
8080
8081
  SEEKING: "seeking",
8081
8082
  PLAYBACK: "playbackrate",
8082
8083
  LIGHT: ""
8083
- }, Jt = ["videoClick", "videoDbClick"], tl = /* @__PURE__ */ function(a) {
8084
+ }, Jt = ["videoClick", "videoDbClick"], il = /* @__PURE__ */ function(a) {
8084
8085
  A(r, a);
8085
8086
  var o = D(r);
8086
8087
  function r(t) {
@@ -8152,7 +8153,7 @@ var Ze = {
8152
8153
  value: function() {
8153
8154
  return {
8154
8155
  seekTipIcon: {
8155
- icon: el,
8156
+ icon: tl,
8156
8157
  class: "xg-seek-pre"
8157
8158
  }
8158
8159
  };
@@ -8167,7 +8168,7 @@ var Ze = {
8167
8168
  var i = this.playerConfig, n = this.config, s = this.player;
8168
8169
  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();
8169
8170
  var l = this.domEventType === "mouse" ? "mouse" : "touch";
8170
- this.touch = new Qa(this.root, {
8171
+ this.touch = new el(this.root, {
8171
8172
  eventType: l,
8172
8173
  needPreventDefault: !this.config.disableGesture
8173
8174
  }), this.root.addEventListener("contextmenu", function(d) {
@@ -8509,7 +8510,7 @@ var Ze = {
8509
8510
  }
8510
8511
  }]), r;
8511
8512
  }(W);
8512
- function il(a) {
8513
+ function nl(a) {
8513
8514
  a.preventDefault(), a.returnValue = !1;
8514
8515
  }
8515
8516
  function dn(a) {
@@ -8758,7 +8759,7 @@ var gn = /* @__PURE__ */ function(a) {
8758
8759
  isPress: n
8759
8760
  }, this.keyCodeMap[s[l]]));
8760
8761
  }
8761
- il(i), i.stopPropagation();
8762
+ nl(i), i.stopPropagation();
8762
8763
  break;
8763
8764
  }
8764
8765
  }
@@ -8800,13 +8801,13 @@ var gn = /* @__PURE__ */ function(a) {
8800
8801
  }
8801
8802
  }]), r;
8802
8803
  }(He);
8803
- function nl() {
8804
+ function rl() {
8804
8805
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
8805
8806
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
8806
8807
  </svg>
8807
8808
  `, "image/svg+xml").firstChild;
8808
8809
  }
8809
- var rl = /* @__PURE__ */ function(a) {
8810
+ var sl = /* @__PURE__ */ function(a) {
8810
8811
  A(r, a);
8811
8812
  var o = D(r);
8812
8813
  function r() {
@@ -8816,7 +8817,7 @@ var rl = /* @__PURE__ */ function(a) {
8816
8817
  key: "registerIcons",
8817
8818
  value: function() {
8818
8819
  return {
8819
- loadingIcon: nl
8820
+ loadingIcon: rl
8820
8821
  };
8821
8822
  }
8822
8823
  }, {
@@ -8845,7 +8846,7 @@ var rl = /* @__PURE__ */ function(a) {
8845
8846
  };
8846
8847
  }
8847
8848
  }]), r;
8848
- }(W), sl = [{
8849
+ }(W), ol = [{
8849
8850
  tag: "xg-cache",
8850
8851
  className: "xgplayer-progress-cache",
8851
8852
  styleKey: "cachedColor"
@@ -8853,7 +8854,7 @@ var rl = /* @__PURE__ */ function(a) {
8853
8854
  tag: "xg-played",
8854
8855
  className: "xgplayer-progress-played",
8855
8856
  styleKey: "playedColor"
8856
- }], ol = /* @__PURE__ */ function() {
8857
+ }], al = /* @__PURE__ */ function() {
8857
8858
  function a(o) {
8858
8859
  x(this, a), this.fragments = o.fragments || [], this.fragments.length === 0 && this.fragments.push({
8859
8860
  percent: 1
@@ -9040,7 +9041,7 @@ var rl = /* @__PURE__ */ function(a) {
9040
9041
  var l = f.createDom("xg-inner", "", {
9041
9042
  style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
9042
9043
  }, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
9043
- return r.root.appendChild(l), sl.forEach(function(u) {
9044
+ return r.root.appendChild(l), ol.forEach(function(u) {
9044
9045
  l.appendChild(f.createDom(u.tag, "", {
9045
9046
  style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
9046
9047
  }, u.className));
@@ -9056,7 +9057,7 @@ var rl = /* @__PURE__ */ function(a) {
9056
9057
  }(), pn = {
9057
9058
  POINT: "inner-focus-point",
9058
9059
  HIGHLIGHT: "inner-focus-highlight"
9059
- }, al = /* @__PURE__ */ function(a) {
9060
+ }, ll = /* @__PURE__ */ function(a) {
9060
9061
  A(r, a);
9061
9062
  var o = D(r);
9062
9063
  function r(t) {
@@ -9186,7 +9187,7 @@ var rl = /* @__PURE__ */ function(a) {
9186
9187
  e.emitUserAction("fragment_focus", "fragment_focus", u);
9187
9188
  }
9188
9189
  });
9189
- this.innerList ? this.innerList.reset(s) : (this.innerList = new ol(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
9190
+ this.innerList ? this.innerList.reset(s) : (this.innerList = new al(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
9190
9191
  e[l] = e.innerList[l].bind(e.innerList);
9191
9192
  }));
9192
9193
  }
@@ -9496,7 +9497,7 @@ var rl = /* @__PURE__ */ function(a) {
9496
9497
  this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
9497
9498
  }
9498
9499
  }]), r;
9499
- }(W), ll = /* @__PURE__ */ function(a) {
9500
+ }(W), ul = /* @__PURE__ */ function(a) {
9500
9501
  A(r, a);
9501
9502
  var o = D(r);
9502
9503
  function r() {
@@ -9508,7 +9509,7 @@ var rl = /* @__PURE__ */ function(a) {
9508
9509
  var e = this;
9509
9510
  F(O(r.prototype), "afterCreate", this).call(this);
9510
9511
  var i = this.player, n = this.config;
9511
- n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([ot, gt, Ke], function() {
9512
+ n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([ot, pt, Ke], function() {
9512
9513
  e.animate(i.paused);
9513
9514
  }), this.on(de, function() {
9514
9515
  e.animate(i.paused);
@@ -9584,14 +9585,14 @@ var rl = /* @__PURE__ */ function(a) {
9584
9585
  }
9585
9586
  }]), r;
9586
9587
  }(Ye);
9587
- function ul() {
9588
+ function cl() {
9588
9589
  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">
9589
9590
  <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
9590
9591
  <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>
9591
9592
  </g>
9592
9593
  </svg>`, "image/svg+xml").firstChild;
9593
9594
  }
9594
- var cl = /* @__PURE__ */ function(a) {
9595
+ var fl = /* @__PURE__ */ function(a) {
9595
9596
  A(r, a);
9596
9597
  var o = D(r);
9597
9598
  function r() {
@@ -9610,7 +9611,7 @@ var cl = /* @__PURE__ */ function(a) {
9610
9611
  value: function() {
9611
9612
  return {
9612
9613
  screenBack: {
9613
- icon: ul,
9614
+ icon: cl,
9614
9615
  class: "xg-fullscreen-back"
9615
9616
  }
9616
9617
  };
@@ -9652,19 +9653,19 @@ var cl = /* @__PURE__ */ function(a) {
9652
9653
  }
9653
9654
  }]), r;
9654
9655
  }(W);
9655
- function fl() {
9656
+ function hl() {
9656
9657
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9657
9658
  <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>
9658
9659
  </svg>
9659
9660
  `, "image/svg+xml").firstChild;
9660
9661
  }
9661
- function hl() {
9662
+ function dl() {
9662
9663
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9663
9664
  <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>
9664
9665
  </svg>
9665
9666
  `, "image/svg+xml").firstChild;
9666
9667
  }
9667
- var dl = /* @__PURE__ */ function(a) {
9668
+ var gl = /* @__PURE__ */ function(a) {
9668
9669
  A(r, a);
9669
9670
  var o = D(r);
9670
9671
  function r() {
@@ -9699,7 +9700,7 @@ var dl = /* @__PURE__ */ function(a) {
9699
9700
  var u = e.find(".xg-tips");
9700
9701
  u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
9701
9702
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
9702
- plugin: cl,
9703
+ plugin: fl,
9703
9704
  options: {
9704
9705
  config: {
9705
9706
  onClick: function(u) {
@@ -9715,11 +9716,11 @@ var dl = /* @__PURE__ */ function(a) {
9715
9716
  value: function() {
9716
9717
  return {
9717
9718
  fullscreen: {
9718
- icon: fl,
9719
+ icon: hl,
9719
9720
  class: "xg-get-fullscreen"
9720
9721
  },
9721
9722
  exitFullscreen: {
9722
- icon: hl,
9723
+ icon: dl,
9723
9724
  class: "xg-exit-fullscreen"
9724
9725
  }
9725
9726
  };
@@ -9800,7 +9801,7 @@ var dl = /* @__PURE__ */ function(a) {
9800
9801
  };
9801
9802
  }
9802
9803
  }]), r;
9803
- }(Ye), gl = /* @__PURE__ */ function(a) {
9804
+ }(Ye), pl = /* @__PURE__ */ function(a) {
9804
9805
  A(r, a);
9805
9806
  var o = D(r);
9806
9807
  function r(t) {
@@ -9950,7 +9951,7 @@ var dl = /* @__PURE__ */ function(a) {
9950
9951
  };
9951
9952
  }
9952
9953
  }]), r;
9953
- }(W), pl = /* @__PURE__ */ function(a) {
9954
+ }(W), vl = /* @__PURE__ */ function(a) {
9954
9955
  A(r, a);
9955
9956
  var o = D(r);
9956
9957
  function r() {
@@ -10088,28 +10089,28 @@ var dl = /* @__PURE__ */ function(a) {
10088
10089
  }
10089
10090
  }]), r;
10090
10091
  }(He);
10091
- function vl() {
10092
+ function ml() {
10092
10093
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
10093
10094
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
10094
10095
  <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>
10095
10096
  </svg>
10096
10097
  `, "image/svg+xml").firstChild;
10097
10098
  }
10098
- function ml() {
10099
+ function yl() {
10099
10100
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
10100
10101
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
10101
10102
  <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>
10102
10103
  </svg>
10103
10104
  `, "image/svg+xml").firstChild;
10104
10105
  }
10105
- function yl() {
10106
+ function _l() {
10106
10107
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
10107
10108
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
10108
10109
  <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>
10109
10110
  </svg>
10110
10111
  `, "image/svg+xml").firstChild;
10111
10112
  }
10112
- var _l = /* @__PURE__ */ function(a) {
10113
+ var kl = /* @__PURE__ */ function(a) {
10113
10114
  A(r, a);
10114
10115
  var o = D(r);
10115
10116
  function r() {
@@ -10157,15 +10158,15 @@ var _l = /* @__PURE__ */ function(a) {
10157
10158
  value: function() {
10158
10159
  return {
10159
10160
  volumeSmall: {
10160
- icon: ml,
10161
+ icon: yl,
10161
10162
  class: "xg-volume-small"
10162
10163
  },
10163
10164
  volumeLarge: {
10164
- icon: vl,
10165
+ icon: ml,
10165
10166
  class: "xg-volume"
10166
10167
  },
10167
10168
  volumeMuted: {
10168
- icon: yl,
10169
+ icon: _l,
10169
10170
  class: "xg-volume-mute"
10170
10171
  }
10171
10172
  };
@@ -10304,7 +10305,7 @@ var _l = /* @__PURE__ */ function(a) {
10304
10305
  }
10305
10306
  }]), r;
10306
10307
  }(W);
10307
- function kl() {
10308
+ function Cl() {
10308
10309
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
10309
10310
  <g clip-path="url(#clip0)">
10310
10311
  <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"/>
@@ -10318,7 +10319,7 @@ function kl() {
10318
10319
  </svg>
10319
10320
  `, "image/svg+xml").firstChild;
10320
10321
  }
10321
- var Cl = /* @__PURE__ */ function(a) {
10322
+ var wl = /* @__PURE__ */ function(a) {
10322
10323
  A(r, a);
10323
10324
  var o = D(r);
10324
10325
  function r(t) {
@@ -10381,7 +10382,7 @@ var Cl = /* @__PURE__ */ function(a) {
10381
10382
  key: "registerIcons",
10382
10383
  value: function() {
10383
10384
  return {
10384
- rotate: kl
10385
+ rotate: Cl
10385
10386
  };
10386
10387
  }
10387
10388
  }, {
@@ -10414,14 +10415,14 @@ var Cl = /* @__PURE__ */ function(a) {
10414
10415
  }
10415
10416
  }]), r;
10416
10417
  }(Ye);
10417
- function wl() {
10418
+ function bl() {
10418
10419
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10419
10420
  <path fill-rule="evenodd" clip-rule="evenodd"
10420
10421
  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"
10421
10422
  fill="white" />
10422
10423
  </svg>`, "image/svg+xml").firstChild;
10423
10424
  }
10424
- function bl() {
10425
+ function Tl() {
10425
10426
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10426
10427
  <path fill-rule="evenodd" clip-rule="evenodd"
10427
10428
  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"
@@ -10435,7 +10436,7 @@ var Je = {
10435
10436
  PIP: "picture-in-picture",
10436
10437
  INLINE: "inline",
10437
10438
  FULLSCREEN: "fullscreen"
10438
- }, Tl = /* @__PURE__ */ function(a) {
10439
+ }, El = /* @__PURE__ */ function(a) {
10439
10440
  A(r, a);
10440
10441
  var o = D(r);
10441
10442
  function r() {
@@ -10475,11 +10476,11 @@ var Je = {
10475
10476
  value: function() {
10476
10477
  return {
10477
10478
  pipIcon: {
10478
- icon: wl,
10479
+ icon: bl,
10479
10480
  class: "xg-get-pip"
10480
10481
  },
10481
10482
  pipIconExit: {
10482
- icon: bl,
10483
+ icon: Tl,
10483
10484
  class: "xg-exit-pip"
10484
10485
  }
10485
10486
  };
@@ -10638,20 +10639,20 @@ var Je = {
10638
10639
  }
10639
10640
  }]), r;
10640
10641
  }(Ye);
10641
- function El() {
10642
+ function Sl() {
10642
10643
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
10643
10644
  <path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
10644
10645
  </svg>
10645
10646
  `, "image/svg+xml").firstChild;
10646
10647
  }
10647
- var Sl = /* @__PURE__ */ function(a) {
10648
+ var xl = /* @__PURE__ */ function(a) {
10648
10649
  A(r, a);
10649
10650
  var o = D(r);
10650
10651
  function r(t) {
10651
10652
  var e;
10652
10653
  return x(this, r), e = o.call(this, t), _(m(e), "playNext", function(i) {
10653
10654
  var n = m(e), s = n.player;
10654
- i.preventDefault(), i.stopPropagation(), e.idx + 1 < e.config.urlList.length ? (e.idx++, e.nextHandler(e.config.urlList[e.idx], e.idx), s.emit(St, e.idx + 1)) : (e.nextHandler(), s.emit(St));
10655
+ i.preventDefault(), i.stopPropagation(), e.idx + 1 < e.config.urlList.length ? (e.idx++, e.nextHandler(e.config.urlList[e.idx], e.idx), s.emit(xt, e.idx + 1)) : (e.nextHandler(), s.emit(xt));
10655
10656
  }), e.idx = -1, e;
10656
10657
  }
10657
10658
  return I(r, [{
@@ -10663,7 +10664,7 @@ var Sl = /* @__PURE__ */ function(a) {
10663
10664
  key: "registerIcons",
10664
10665
  value: function() {
10665
10666
  return {
10666
- playNext: El
10667
+ playNext: Sl
10667
10668
  };
10668
10669
  }
10669
10670
  }, {
@@ -10785,9 +10786,9 @@ Use Save As... to download, then click back to return to this page.`) && (locati
10785
10786
  };
10786
10787
  });
10787
10788
  })(er);
10788
- var xl = er.exports;
10789
- const Il = /* @__PURE__ */ di(xl);
10790
- function Pl() {
10789
+ var Il = er.exports;
10790
+ const Pl = /* @__PURE__ */ di(Il);
10791
+ function Ll() {
10791
10792
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
10792
10793
  <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10793
10794
  <g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
@@ -10804,7 +10805,7 @@ function Pl() {
10804
10805
  </svg>
10805
10806
  `, "image/svg+xml").firstChild;
10806
10807
  }
10807
- var Ll = /* @__PURE__ */ function(a) {
10808
+ var Al = /* @__PURE__ */ function(a) {
10808
10809
  A(r, a);
10809
10810
  var o = D(r);
10810
10811
  function r(t) {
@@ -10815,7 +10816,7 @@ var Ll = /* @__PURE__ */ function(a) {
10815
10816
  var n = e.playerConfig.url, s = "";
10816
10817
  f.typeOf(n) === "String" ? s = n : f.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
10817
10818
  var l = e.getAbsoluteURL(s);
10818
- Il(l), e.isLock = !0, e.timer = window.setTimeout(function() {
10819
+ Pl(l), e.isLock = !0, e.timer = window.setTimeout(function() {
10819
10820
  e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
10820
10821
  }, 300);
10821
10822
  }
@@ -10834,7 +10835,7 @@ var Ll = /* @__PURE__ */ function(a) {
10834
10835
  key: "registerIcons",
10835
10836
  value: function() {
10836
10837
  return {
10837
- download: Pl
10838
+ download: Ll
10838
10839
  };
10839
10840
  }
10840
10841
  }, {
@@ -10876,7 +10877,7 @@ var Ll = /* @__PURE__ */ function(a) {
10876
10877
  };
10877
10878
  }
10878
10879
  }]), r;
10879
- }(Ye), Al = /* @__PURE__ */ function(a) {
10880
+ }(Ye), Dl = /* @__PURE__ */ function(a) {
10880
10881
  A(r, a);
10881
10882
  var o = D(r);
10882
10883
  function r() {
@@ -11002,7 +11003,7 @@ var Ll = /* @__PURE__ */ function(a) {
11002
11003
  };
11003
11004
  }
11004
11005
  }]), r;
11005
- }(Ye), Dl = /* @__PURE__ */ function() {
11006
+ }(Ye), Ol = /* @__PURE__ */ function() {
11006
11007
  function a(o) {
11007
11008
  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);
11008
11009
  var r = this.config.maxHeight;
@@ -11082,10 +11083,10 @@ var Ll = /* @__PURE__ */ function(a) {
11082
11083
  CLICK: "click",
11083
11084
  HOVER: "hover"
11084
11085
  };
11085
- function Ol(a, o) {
11086
+ function Rl(a, o) {
11086
11087
  return a === ke.SIDE ? o === $.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
11087
11088
  }
11088
- var je = B.device === "mobile", At = /* @__PURE__ */ function(a) {
11089
+ var je = B.device === "mobile", Dt = /* @__PURE__ */ function(a) {
11089
11090
  A(r, a);
11090
11091
  var o = D(r);
11091
11092
  function r(t) {
@@ -11196,7 +11197,7 @@ var je = B.device === "mobile", At = /* @__PURE__ */ function(a) {
11196
11197
  var c = {
11197
11198
  config: {
11198
11199
  data: e || [],
11199
- className: Ol(s.listType, s.position),
11200
+ className: Rl(s.listType, s.position),
11200
11201
  onItemClick: function(v, y) {
11201
11202
  n.onItemClick(v, y);
11202
11203
  },
@@ -11206,7 +11207,7 @@ var je = B.device === "mobile", At = /* @__PURE__ */ function(a) {
11206
11207
  };
11207
11208
  if (this.config.isShowIcon) {
11208
11209
  var h = this.player.root.getBoundingClientRect(), d = h.height, p = s.listType === ke.MIDDLE ? d - 50 : d;
11209
- p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new Dl(c), this.changeCurrentText(), this.show();
11210
+ p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new Ol(c), this.changeCurrentText(), this.show();
11210
11211
  }
11211
11212
  this._resizeList();
11212
11213
  }
@@ -11257,7 +11258,7 @@ var je = B.device === "mobile", At = /* @__PURE__ */ function(a) {
11257
11258
  };
11258
11259
  }
11259
11260
  }]), r;
11260
- }(W), Rl = /* @__PURE__ */ function(a) {
11261
+ }(W), Fl = /* @__PURE__ */ function(a) {
11261
11262
  A(r, a);
11262
11263
  var o = D(r);
11263
11264
  function r(t) {
@@ -11346,7 +11347,7 @@ var je = B.device === "mobile", At = /* @__PURE__ */ function(a) {
11346
11347
  }, {
11347
11348
  key: "defaultConfig",
11348
11349
  get: function() {
11349
- return q(q({}, At.defaultConfig), {}, {
11350
+ return q(q({}, Dt.defaultConfig), {}, {
11350
11351
  position: $.CONTROLS_RIGHT,
11351
11352
  index: 3,
11352
11353
  list: [],
@@ -11358,7 +11359,7 @@ var je = B.device === "mobile", At = /* @__PURE__ */ function(a) {
11358
11359
  });
11359
11360
  }
11360
11361
  }]), r;
11361
- }(At), Fl = /* @__PURE__ */ function(a) {
11362
+ }(Dt), Ml = /* @__PURE__ */ function(a) {
11362
11363
  A(r, a);
11363
11364
  var o = D(r);
11364
11365
  function r(t) {
@@ -11440,7 +11441,7 @@ var je = B.device === "mobile", At = /* @__PURE__ */ function(a) {
11440
11441
  }, {
11441
11442
  key: "defaultConfig",
11442
11443
  get: function() {
11443
- return q(q({}, At.defaultConfig), {}, {
11444
+ return q(q({}, Dt.defaultConfig), {}, {
11444
11445
  position: $.CONTROLS_RIGHT,
11445
11446
  index: 4,
11446
11447
  list: [2, 1.5, 1, 0.75, 0.5],
@@ -11450,14 +11451,14 @@ var je = B.device === "mobile", At = /* @__PURE__ */ function(a) {
11450
11451
  });
11451
11452
  }
11452
11453
  }]), r;
11453
- }(At);
11454
- function Ml() {
11454
+ }(Dt);
11455
+ function Nl() {
11455
11456
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11456
11457
  <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>
11457
11458
  </svg>
11458
11459
  `, "image/svg+xml").firstChild;
11459
11460
  }
11460
- function Nl() {
11461
+ function Bl() {
11461
11462
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11462
11463
  <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>
11463
11464
  </svg>
@@ -11478,7 +11479,7 @@ var vn = /* @__PURE__ */ function(a) {
11478
11479
  key: "afterCreate",
11479
11480
  value: function() {
11480
11481
  var e = this;
11481
- F(O(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(Tt, function(i) {
11482
+ F(O(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(Et, function(i) {
11482
11483
  e.animate(i);
11483
11484
  }), this.btnClick = this.btnClick.bind(this), this.handleCssFullscreen = this.hook("cssFullscreen_change", this.btnClick, {
11484
11485
  pre: function(n) {
@@ -11517,11 +11518,11 @@ var vn = /* @__PURE__ */ function(a) {
11517
11518
  value: function() {
11518
11519
  return {
11519
11520
  cssFullscreen: {
11520
- icon: Ml,
11521
+ icon: Nl,
11521
11522
  class: "xg-get-cssfull"
11522
11523
  },
11523
11524
  exitCssFullscreen: {
11524
- icon: Nl,
11525
+ icon: Bl,
11525
11526
  class: "xg-exit-cssfull"
11526
11527
  }
11527
11528
  };
@@ -11557,7 +11558,7 @@ var vn = /* @__PURE__ */ function(a) {
11557
11558
  };
11558
11559
  }
11559
11560
  }]), r;
11560
- }(Ye), Bl = /* @__PURE__ */ function(a) {
11561
+ }(Ye), Hl = /* @__PURE__ */ function(a) {
11561
11562
  A(r, a);
11562
11563
  var o = D(r);
11563
11564
  function r() {
@@ -11571,7 +11572,7 @@ var vn = /* @__PURE__ */ function(a) {
11571
11572
  pre: function(n) {
11572
11573
  n.preventDefault(), n.stopPropagation();
11573
11574
  }
11574
- }), this.onError = this.hook("showError", this.handleError), this.bind(".xgplayer-error-refresh", "click", this.clickHandler), this.on(gt, function(i) {
11575
+ }), this.onError = this.hook("showError", this.handleError), this.bind(".xgplayer-error-refresh", "click", this.clickHandler), this.on(pt, function(i) {
11575
11576
  e.onError(i);
11576
11577
  });
11577
11578
  }
@@ -11618,7 +11619,7 @@ var vn = /* @__PURE__ */ function(a) {
11618
11619
  return "error";
11619
11620
  }
11620
11621
  }]), r;
11621
- }(W), Hl = /* @__PURE__ */ function(a) {
11622
+ }(W), Ul = /* @__PURE__ */ function(a) {
11622
11623
  A(r, a);
11623
11624
  var o = D(r);
11624
11625
  function r() {
@@ -11848,7 +11849,7 @@ var yn = {
11848
11849
  return r.find('xg-spot[data-id="'.concat(o, '"]'));
11849
11850
  }
11850
11851
  };
11851
- function Ul(a) {
11852
+ function zl(a) {
11852
11853
  var o = a.config, r = a.player;
11853
11854
  Object.keys(yn).map(function(e) {
11854
11855
  a[e] = yn[e].bind(a);
@@ -11872,7 +11873,7 @@ var et = {
11872
11873
  click: "onProgressClick",
11873
11874
  mouseover: "onProgressMouseOver",
11874
11875
  mouseenter: "onProgressMouseOver"
11875
- }, zl = /* @__PURE__ */ function(a) {
11876
+ }, Vl = /* @__PURE__ */ function(a) {
11876
11877
  A(r, a);
11877
11878
  var o = D(r);
11878
11879
  function r(t) {
@@ -11923,7 +11924,7 @@ var et = {
11923
11924
  n.seekTime && e.player.seek(n.seekTime);
11924
11925
  }), this.transformTimeHook = this.hook("transformTime", function(i) {
11925
11926
  e.setTimeContent(f.format(i));
11926
- }), Ul(this), this.on(Ue, function() {
11927
+ }), zl(this), this.on(Ue, function() {
11927
11928
  e.show();
11928
11929
  }), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
11929
11930
  }
@@ -12147,7 +12148,7 @@ var et = {
12147
12148
  };
12148
12149
  }
12149
12150
  }]), r;
12150
- }(W), Vl = /* @__PURE__ */ function(a) {
12151
+ }(W), jl = /* @__PURE__ */ function(a) {
12151
12152
  A(r, a);
12152
12153
  var o = D(r);
12153
12154
  function r(t) {
@@ -12285,7 +12286,7 @@ var et = {
12285
12286
  function Qt(a) {
12286
12287
  return a ? "background:".concat(a, ";") : "";
12287
12288
  }
12288
- var jl = /* @__PURE__ */ function(a) {
12289
+ var Wl = /* @__PURE__ */ function(a) {
12289
12290
  A(r, a);
12290
12291
  var o = D(r);
12291
12292
  function r() {
@@ -12373,14 +12374,14 @@ var jl = /* @__PURE__ */ function(a) {
12373
12374
  FRAME_RATE: "framerate",
12374
12375
  POSTER: "poster"
12375
12376
  };
12376
- function Wl() {
12377
+ function Gl() {
12377
12378
  try {
12378
12379
  return parseInt(window.performance.now(), 10);
12379
12380
  } catch {
12380
12381
  return (/* @__PURE__ */ new Date()).getTime();
12381
12382
  }
12382
12383
  }
12383
- function Gl() {
12384
+ function $l() {
12384
12385
  try {
12385
12386
  var a = document.createElement("canvas").getContext;
12386
12387
  return !!a;
@@ -12388,7 +12389,7 @@ function Gl() {
12388
12389
  return !1;
12389
12390
  }
12390
12391
  }
12391
- var _t = null, $l = /* @__PURE__ */ function(a) {
12392
+ var kt = null, Kl = /* @__PURE__ */ function(a) {
12392
12393
  A(r, a);
12393
12394
  var o = D(r);
12394
12395
  function r() {
@@ -12409,7 +12410,7 @@ var _t = null, $l = /* @__PURE__ */ function(a) {
12409
12410
  !t.player.paused && t._checkIfCanStart() && t.start(0, l);
12410
12411
  }
12411
12412
  }), _(m(t), "start", function(s, l) {
12412
- var u = t.player.video, c = Wl(), h = t.checkVideoIsSupport(u);
12413
+ var u = t.player.video, c = Gl(), h = t.checkVideoIsSupport(u);
12413
12414
  !h || !t.canvasCtx || (l || (l = t.interval), t.stop(), u.videoWidth && u.videoHeight && (t.videoPI = u.videoHeight > 0 ? parseInt(u.videoWidth / u.videoHeight * 100, 10) : 0, (t.config.mode === tt.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(h, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? f.setTimeout(m(t), t.start, l) : f.requestAnimationFrame(t.start));
12414
12415
  }), _(m(t), "stop", function() {
12415
12416
  t.frameId && (t._loopType === "timer" ? f.clearTimeout(m(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
@@ -12582,7 +12583,7 @@ var _t = null, $l = /* @__PURE__ */ function(a) {
12582
12583
  }, {
12583
12584
  key: "isSupport",
12584
12585
  get: function() {
12585
- return typeof _t == "boolean" || (_t = Gl()), _t;
12586
+ return typeof kt == "boolean" || (kt = $l()), kt;
12586
12587
  }
12587
12588
  }, {
12588
12589
  key: "supportCanvasFilter",
@@ -12590,7 +12591,7 @@ var _t = null, $l = /* @__PURE__ */ function(a) {
12590
12591
  return !(B.browser === "safari" || B.browser === "firefox");
12591
12592
  }
12592
12593
  }]), r;
12593
- }(W), Kl = {
12594
+ }(W), Yl = {
12594
12595
  LANG: "zh-cn",
12595
12596
  TEXT: {
12596
12597
  ERROR_TYPES: {
@@ -12665,7 +12666,7 @@ var _t = null, $l = /* @__PURE__ */ function(a) {
12665
12666
  FORWARD: "快进中",
12666
12667
  LIVE_TIP: "直播"
12667
12668
  }
12668
- }, ut = "info", ei = Kn, Yl = /* @__PURE__ */ function(a) {
12669
+ }, ut = "info", ei = Kn, Xl = /* @__PURE__ */ function(a) {
12669
12670
  A(r, a);
12670
12671
  var o = D(r);
12671
12672
  function r() {
@@ -12704,7 +12705,7 @@ var _t = null, $l = /* @__PURE__ */ function(a) {
12704
12705
  }, {
12705
12706
  key: "afterCreate",
12706
12707
  value: function() {
12707
- this.reset(), this.on(xt, this._recordUserActions), this.on(ei.STATS_INFO, this._recordInfo), this.on(ei.STATS_DOWNLOAD, this._downloadStats), this.on(ei.STATS_RESET, this._onReset);
12708
+ this.reset(), this.on(It, this._recordUserActions), this.on(ei.STATS_INFO, this._recordInfo), this.on(ei.STATS_DOWNLOAD, this._downloadStats), this.on(ei.STATS_RESET, this._onReset);
12708
12709
  }
12709
12710
  }, {
12710
12711
  key: "destroy",
@@ -12850,7 +12851,7 @@ var _t = null, $l = /* @__PURE__ */ function(a) {
12850
12851
  key: "afterCreate",
12851
12852
  value: function() {
12852
12853
  var e = this, i = this.config.useGapJump;
12853
- 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(pt, this.onGapJump), this.on(de, function() {
12854
+ 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(vt, this.onGapJump), this.on(de, function() {
12854
12855
  e.hasPlayed = !0;
12855
12856
  }), this.on(Ot, function() {
12856
12857
  e.seekingEventReceived = !0;
@@ -12899,7 +12900,7 @@ var _t = null, $l = /* @__PURE__ */ function(a) {
12899
12900
  }]), r;
12900
12901
  }(W);
12901
12902
  ir.BROWSER_GAP_TOLERANCE = 1e-3;
12902
- var Xl = /* @__PURE__ */ function(a) {
12903
+ var ql = /* @__PURE__ */ function(a) {
12903
12904
  A(r, a);
12904
12905
  var o = D(r);
12905
12906
  function r() {
@@ -12923,7 +12924,7 @@ var Xl = /* @__PURE__ */ function(a) {
12923
12924
  key: "afterCreate",
12924
12925
  value: function() {
12925
12926
  var e = this, i = this.config, n = i.useWaitingTimeoutJump, s = i.jumpSize;
12926
- n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(pt, this.onWaiting), this.on([vi, Se], function() {
12927
+ n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(vt, this.onWaiting), this.on([vi, Se], function() {
12927
12928
  clearTimeout(e.timer), e.timer = null, e.jumpSize = e.config.jumpSize;
12928
12929
  }), this.on(de, function() {
12929
12930
  e.hasPlayed = !0;
@@ -12945,7 +12946,7 @@ var Xl = /* @__PURE__ */ function(a) {
12945
12946
  };
12946
12947
  }
12947
12948
  }]), r;
12948
- }(W), it = "cdn", kt = ["cdn"], ql = /* @__PURE__ */ function(a) {
12949
+ }(W), it = "cdn", Ct = ["cdn"], Zl = /* @__PURE__ */ function(a) {
12949
12950
  A(r, a);
12950
12951
  var o = D(r);
12951
12952
  function r() {
@@ -12964,7 +12965,7 @@ var Xl = /* @__PURE__ */ function(a) {
12964
12965
  }), _(m(t), "startTimer", function() {
12965
12966
  f.isMSE(t.player.video) || (t.initSpeedList(), t.cnt = 0, t.timer = setTimeout(t.testSpeed, t.config.testTimeStep));
12966
12967
  }), _(m(t), "initSpeedList", function() {
12967
- t.speedListCache = {}, kt.forEach(function(s) {
12968
+ t.speedListCache = {}, Ct.forEach(function(s) {
12968
12969
  t.speedListCache[s] = [];
12969
12970
  });
12970
12971
  }), _(m(t), "_onRealSpeedChange", function(s) {
@@ -13021,7 +13022,7 @@ var Xl = /* @__PURE__ */ function(a) {
13021
13022
  key: "afterCreate",
13022
13023
  value: function() {
13023
13024
  var e = this.config, i = e.openSpeed, n = e.addSpeedTypeList;
13024
- (n == null ? void 0 : n.length) > 0 && kt.push.apply(kt, ve(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Ie, bt], this.startTimer);
13025
+ (n == null ? void 0 : n.length) > 0 && Ct.push.apply(Ct, ve(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Ie, Tt], this.startTimer);
13025
13026
  }
13026
13027
  }, {
13027
13028
  key: "getSpeedName",
@@ -13048,7 +13049,7 @@ var Xl = /* @__PURE__ */ function(a) {
13048
13049
  key: "destroy",
13049
13050
  value: function() {
13050
13051
  var e = this;
13051
- this.off("real_time_speed", this._onRealSpeedChange), this.off([Ie, bt], this.startTimer), kt.forEach(function(i) {
13052
+ this.off("real_time_speed", this._onRealSpeedChange), this.off([Ie, Tt], this.startTimer), Ct.forEach(function(i) {
13052
13053
  e.speedListCache && e.speedListCache[i] && (e.speedListCache[i] = []);
13053
13054
  }), this.speedListCache && (this.speedListCache = {}), clearTimeout(this.timer), this.timer = null, this.xhr && this.xhr.readyState !== 4 && (this.xhr.cancel && this.xhr.cancel(), this.xhr = null);
13054
13055
  }
@@ -13071,7 +13072,7 @@ var Xl = /* @__PURE__ */ function(a) {
13071
13072
  };
13072
13073
  }
13073
13074
  }]), r;
13074
- }(W), Zl = /* @__PURE__ */ function(a) {
13075
+ }(W), Jl = /* @__PURE__ */ function(a) {
13075
13076
  A(r, a);
13076
13077
  var o = D(r);
13077
13078
  function r() {
@@ -13181,24 +13182,24 @@ var Xl = /* @__PURE__ */ function(a) {
13181
13182
  }
13182
13183
  }]), r;
13183
13184
  }(W);
13184
- nt.use(Kl);
13185
- var Jl = /* @__PURE__ */ I(function a(o, r) {
13185
+ nt.use(Yl);
13186
+ var Ql = /* @__PURE__ */ I(function a(o, r) {
13186
13187
  var t, e, i;
13187
13188
  x(this, a);
13188
- var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [pl, al, jl, zl, gl], u = [].concat(l, [ll, dl, Cl, Sl, Rl, Fl, Ll, Al, _l, Tl]), c = [za, Va, Wa, rl, Ga, Bl, Hl, Vl, Xa];
13189
- this.plugins = [Yl, Ha].concat(ve(u), c, [ir, Xl]);
13189
+ var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [vl, ll, Wl, Vl, pl], u = [].concat(l, [ul, gl, wl, xl, Fl, Ml, Al, Dl, kl, El]), c = [Va, ja, Ga, sl, $a, Hl, Ul, jl, qa];
13190
+ this.plugins = [Xl, Ua].concat(ve(u), c, [ir, ql]);
13190
13191
  var h = n ? "mobile" : B.device;
13191
13192
  switch (h) {
13192
13193
  case "pc":
13193
- (t = this.plugins).push.apply(t, [gn, Zt, vn, ql, Zl]);
13194
+ (t = this.plugins).push.apply(t, [gn, Zt, vn, Zl, Jl]);
13194
13195
  break;
13195
13196
  case "mobile":
13196
- (e = this.plugins).push.apply(e, [tl]);
13197
+ (e = this.plugins).push.apply(e, [il]);
13197
13198
  break;
13198
13199
  default:
13199
13200
  (i = this.plugins).push.apply(i, [gn, Zt, vn]);
13200
13201
  }
13201
- (B.os.isIpad || h === "pc") && this.plugins.push($l), B.os.isIpad && this.plugins.push(Zt), this.ignores = [], this.i18n = [];
13202
+ (B.os.isIpad || h === "pc") && this.plugins.push(Kl), B.os.isIpad && this.plugins.push(Zt), this.ignores = [], this.i18n = [];
13202
13203
  }), me = /* @__PURE__ */ function(a) {
13203
13204
  A(r, a);
13204
13205
  var o = D(r);
@@ -13207,20 +13208,20 @@ var Jl = /* @__PURE__ */ I(function a(o, r) {
13207
13208
  }
13208
13209
  return I(r);
13209
13210
  }(Nt);
13210
- _(me, "defaultPreset", Jl);
13211
+ _(me, "defaultPreset", Ql);
13211
13212
  _(me, "Util", f);
13212
13213
  _(me, "Sniffer", B);
13213
- _(me, "Errors", wt);
13214
- _(me, "Events", da);
13214
+ _(me, "Errors", bt);
13215
+ _(me, "Events", ga);
13215
13216
  _(me, "Plugin", W);
13216
13217
  _(me, "BasePlugin", He);
13217
13218
  _(me, "I18N", nt);
13218
13219
  _(me, "STATE_CLASS", k);
13219
13220
  _(me, "InstManager", Jn);
13220
- const Ql = ["id"], eu = /* @__PURE__ */ Z({
13221
+ const eu = ["id"], tu = /* @__PURE__ */ Z({
13221
13222
  name: "ElImageViewer",
13222
13223
  __name: "Player",
13223
- props: /* @__PURE__ */ Ct({
13224
+ props: /* @__PURE__ */ wt({
13224
13225
  url: {
13225
13226
  type: String,
13226
13227
  default: ""
@@ -13241,7 +13242,7 @@ const Ql = ["id"], eu = /* @__PURE__ */ Z({
13241
13242
  },
13242
13243
  modelModifiers: {}
13243
13244
  }),
13244
- emits: /* @__PURE__ */ Ct({
13245
+ emits: /* @__PURE__ */ wt({
13245
13246
  close: () => !0
13246
13247
  }, ["update:modelValue"]),
13247
13248
  setup(a, { emit: o }) {
@@ -13315,7 +13316,7 @@ const Ql = ["id"], eu = /* @__PURE__ */ Z({
13315
13316
  class: K(S(h).e("canvas"))
13316
13317
  },
13317
13318
  [
13318
- T("div", { id: S(c) }, null, 8, Ql),
13319
+ T("div", { id: S(c) }, null, 8, eu),
13319
13320
  ee(" CLOSE "),
13320
13321
  T(
13321
13322
  "span",
@@ -13352,22 +13353,22 @@ const Ql = ["id"], eu = /* @__PURE__ */ Z({
13352
13353
  };
13353
13354
  }
13354
13355
  });
13355
- const tu = /* @__PURE__ */ Dt(eu, [["__scopeId", "data-v-b301aa7d"]]), iu = Pe(tu), nu = (a) => (pr("data-v-6a92bbab"), a = a(), vr(), a), ru = {
13356
+ const iu = /* @__PURE__ */ gt(tu, [["__scopeId", "data-v-b301aa7d"]]), nu = Pe(iu), ru = (a) => (pr("data-v-6a92bbab"), a = a(), vr(), a), su = {
13356
13357
  key: 0,
13357
13358
  class: "preview-files"
13358
- }, su = {
13359
+ }, ou = {
13359
13360
  class: "flex",
13360
13361
  style: { width: "80%", "align-items": "center" }
13361
- }, ou = ["onClick"], au = ["title"], lu = { style: { color: "#b8c6d9" } }, uu = ["onClick"], cu = /* @__PURE__ */ nu(() => /* @__PURE__ */ T(
13362
+ }, au = ["onClick"], lu = ["title"], uu = { style: { color: "#b8c6d9" } }, cu = ["onClick"], fu = /* @__PURE__ */ ru(() => /* @__PURE__ */ T(
13362
13363
  "span",
13363
13364
  null,
13364
13365
  "预览",
13365
13366
  -1
13366
13367
  /* HOISTED */
13367
- )), fu = {
13368
+ )), hu = {
13368
13369
  key: 1,
13369
13370
  class: "flex preview-img"
13370
- }, hu = /* @__PURE__ */ Z({
13371
+ }, du = /* @__PURE__ */ Z({
13371
13372
  __name: "IkDetailPreviewFiles",
13372
13373
  props: {
13373
13374
  // 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
@@ -13425,7 +13426,7 @@ const tu = /* @__PURE__ */ Dt(eu, [["__scopeId", "data-v-b301aa7d"]]), iu = Pe(t
13425
13426
  var d, p;
13426
13427
  const h = rt("el-image");
13427
13428
  return E(), P("div", null, [
13428
- o.fileType === "file" ? (E(), P("div", ru, [
13429
+ o.fileType === "file" ? (E(), P("div", su, [
13429
13430
  (E(!0), P(
13430
13431
  Ee,
13431
13432
  null,
@@ -13440,7 +13441,7 @@ const tu = /* @__PURE__ */ Dt(eu, [["__scopeId", "data-v-b301aa7d"]]), iu = Pe(t
13440
13441
  })
13441
13442
  },
13442
13443
  [
13443
- T("div", su, [
13444
+ T("div", ou, [
13444
13445
  j(S(Me), {
13445
13446
  name: n(g),
13446
13447
  style: oe(`color:${s(g)}`),
@@ -13452,23 +13453,23 @@ const tu = /* @__PURE__ */ Dt(eu, [["__scopeId", "data-v-b301aa7d"]]), iu = Pe(t
13452
13453
  }, [
13453
13454
  T("p", {
13454
13455
  title: g.name
13455
- }, Ne(g.name), 9, au),
13456
+ }, Ne(g.name), 9, lu),
13456
13457
  T(
13457
13458
  "p",
13458
- lu,
13459
+ uu,
13459
13460
  Ne((g.size / 1024).toFixed(2)) + "KB",
13460
13461
  1
13461
13462
  /* TEXT */
13462
13463
  )
13463
- ], 8, ou)
13464
+ ], 8, au)
13464
13465
  ]),
13465
13466
  T("div", {
13466
13467
  class: "file-preview",
13467
13468
  onClick: (y) => i(g)
13468
13469
  }, [
13469
13470
  j(S(Me), { name: "iksvg_yulan" }),
13470
- cu
13471
- ], 8, uu)
13471
+ fu
13472
+ ], 8, cu)
13472
13473
  ],
13473
13474
  4
13474
13475
  /* STYLE */
@@ -13477,7 +13478,7 @@ const tu = /* @__PURE__ */ Dt(eu, [["__scopeId", "data-v-b301aa7d"]]), iu = Pe(t
13477
13478
  /* KEYED_FRAGMENT */
13478
13479
  ))
13479
13480
  ])) : ee("v-if", !0),
13480
- o.fileType === "img" ? (E(), P("div", fu, [
13481
+ o.fileType === "img" ? (E(), P("div", hu, [
13481
13482
  (E(!0), P(
13482
13483
  Ee,
13483
13484
  null,
@@ -13508,8 +13509,8 @@ const tu = /* @__PURE__ */ Dt(eu, [["__scopeId", "data-v-b301aa7d"]]), iu = Pe(t
13508
13509
  };
13509
13510
  }
13510
13511
  });
13511
- const du = /* @__PURE__ */ Dt(hu, [["__scopeId", "data-v-6a92bbab"]]), mu = Pe(du);
13512
+ const gu = /* @__PURE__ */ gt(du, [["__scopeId", "data-v-6a92bbab"]]), yu = Pe(gu);
13512
13513
  export {
13513
- mu as IKDetailPreviewFiles,
13514
- mu as default
13514
+ yu as IKDetailPreviewFiles,
13515
+ yu as default
13515
13516
  };