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