iking-web-ui-pro 0.2.45 → 0.2.47

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 (46) hide show
  1. package/dist/IKApprovalProcess/ik.index.es.js +113 -100
  2. package/dist/IKApprovalProcess/ik.index.umd.js +1 -1
  3. package/dist/IKApprovalProcess/style.css +1 -1
  4. package/dist/IKApprovalProcessDetail/ik.index.es.js +359 -360
  5. package/dist/IKApprovalProcessDetail/ik.index.umd.js +44 -44
  6. package/dist/IKApprovalProcessDetail/style.css +1 -1
  7. package/dist/IKCalendar/ik.index.es.js +4 -3
  8. package/dist/IKCalendar/ik.index.umd.js +1 -1
  9. package/dist/IKPreviewFile/ik.index.es.js +352 -353
  10. package/dist/IKPreviewFile/ik.index.umd.js +44 -44
  11. package/dist/IKPreviewFile/style.css +1 -1
  12. package/dist/IKSearch/ik.index.es.js +4 -3
  13. package/dist/IKSearch/ik.index.umd.js +1 -1
  14. package/dist/IkDescription/ik.index.es.js +299 -300
  15. package/dist/IkDescription/ik.index.umd.js +44 -44
  16. package/dist/IkDescription/style.css +1 -1
  17. package/dist/IkDetailPreviewFiles/ik.index.es.js +307 -308
  18. package/dist/IkDetailPreviewFiles/ik.index.umd.js +44 -44
  19. package/dist/IkDetailPreviewFiles/style.css +1 -1
  20. package/dist/IkOnlyOffice/ik.index.es.js +13 -19
  21. package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
  22. package/dist/IkPageFull/ik.index.es.js +4 -3
  23. package/dist/IkPageFull/ik.index.umd.js +1 -1
  24. package/dist/IkPickerUser/ik.index.es.js +4 -3
  25. package/dist/IkPickerUser/ik.index.umd.js +1 -1
  26. package/dist/IkPreviewFileDialog/ik.index.es.js +343 -344
  27. package/dist/IkPreviewFileDialog/ik.index.umd.js +44 -44
  28. package/dist/IkPreviewFileDialog/style.css +1 -1
  29. package/dist/IkTemplateOfficeConfig/ik.index.es.js +77 -78
  30. package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
  31. package/dist/IkTinymce/ik.index.es.js +8802 -8740
  32. package/dist/IkTinymce/ik.index.umd.js +38 -38
  33. package/dist/IkTinymce/style.css +1 -1
  34. package/dist/IkUploadFile/ik.index.es.js +333 -334
  35. package/dist/IkUploadFile/ik.index.umd.js +46 -46
  36. package/dist/IkUploadFile/style.css +1 -1
  37. package/dist/IkUploadImage/ik.index.es.js +378 -378
  38. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  39. package/dist/IkUploadImage/style.css +1 -1
  40. package/dist/index.es.js +12344 -12330
  41. package/dist/index.umd.js +109 -109
  42. package/dist/src/components/IkApprovalProcess/index.d.ts +9 -0
  43. package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +9 -0
  44. package/dist/style.css +1 -1
  45. package/package.json +1 -1
  46. package/dist/IkOnlyOffice/style.css +0 -0
@@ -1,4 +1,4 @@
1
- import { defineComponent as ee, computed as Z, openBlock as k, createElementBlock as S, createElementVNode as b, inject as ft, ref as pe, resolveComponent as Ke, Fragment as ce, renderList as Me, normalizeStyle as oe, toDisplayString as X, normalizeClass as K, createVNode as $, unref as x, withModifiers as ni, createBlock as ve, createCommentVNode as L, renderSlot as Ne, withCtx as ne, mergeModels as Tt, useModel as hi, reactive as Cn, watch as ot, nextTick as gt, createTextVNode as We, h as or, mergeProps as wn, createSlots as lr, getCurrentScope as ur, onScopeDispose as cr, markRaw as Fi, effectScope as fr, shallowRef as hr, onMounted as bn, Teleport as Tn, Transition as En, resolveDynamicComponent as dr, withDirectives as gr, vShow as pr, pushScopeId as vr, popScopeId as mr } from "vue";
1
+ import { defineComponent as ee, computed as Z, openBlock as k, createElementBlock as S, createElementVNode as b, inject as ft, ref as pe, resolveComponent as Ke, Fragment as ce, renderList as Me, normalizeStyle as oe, toDisplayString as X, normalizeClass as K, createVNode as $, unref as x, withModifiers as ni, createBlock as ve, createCommentVNode as L, renderSlot as Ne, withCtx as ne, mergeModels as bt, useModel as hi, reactive as Cn, watch as ot, nextTick as gt, createTextVNode as We, h as or, mergeProps as wn, createSlots as lr, getCurrentScope as ur, onScopeDispose as cr, markRaw as Fi, effectScope as fr, shallowRef as hr, onMounted as bn, Teleport as Tn, Transition as En, resolveDynamicComponent as dr, withDirectives as gr, vShow as pr, pushScopeId as vr, popScopeId as mr } from "vue";
2
2
  import { paramType as ri, ikFile as yr, buildUUID as Sn, ikColor as _r, _ as Vt, ikDate as kr } from "iking-utils-pro";
3
3
  import { useLocale as Cr, useNamespace as xn, useZIndex as wr, ElIcon as De, EVENT_CODE as Ze } from "element-plus";
4
4
  const Ae = (o, a) => {
@@ -751,7 +751,7 @@ var Is = /* @__PURE__ */ ee({
751
751
  ]));
752
752
  }
753
753
  }), $s = js;
754
- const vt = (o, a) => {
754
+ const Rt = (o, a) => {
755
755
  const r = o.__vccOpts || o;
756
756
  for (const [t, e] of a)
757
757
  r[t] = e;
@@ -1209,7 +1209,7 @@ const vt = (o, a) => {
1209
1209
  });
1210
1210
  const ta = Ae(ea), ia = /* @__PURE__ */ ee({
1211
1211
  __name: "IkPreviewFileDialog",
1212
- props: /* @__PURE__ */ Tt({
1212
+ props: /* @__PURE__ */ bt({
1213
1213
  file: {
1214
1214
  type: Object,
1215
1215
  default: () => []
@@ -1310,7 +1310,7 @@ const ta = Ae(ea), ia = /* @__PURE__ */ ee({
1310
1310
  ce,
1311
1311
  { key: 0 },
1312
1312
  [
1313
- (h = i.value) != null && h.url && n.image ? (k(), ve(x(Va), {
1313
+ (h = i.value) != null && h.url && n.image ? (k(), ve(x(za), {
1314
1314
  key: 0,
1315
1315
  onClose: c[0] || (c[0] = (d) => l()),
1316
1316
  ref: "previewImgRef",
@@ -1318,9 +1318,9 @@ const ta = Ae(ea), ia = /* @__PURE__ */ ee({
1318
1318
  teleported: "",
1319
1319
  "z-index": 9999
1320
1320
  }, null, 8, ["url-list"])) : L("v-if", !0),
1321
- L(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1321
+ L(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1322
1322
  L(" 文档类 "),
1323
- $(x(su), {
1323
+ $(x(ru), {
1324
1324
  modelValue: n.video,
1325
1325
  "onUpdate:modelValue": c[1] || (c[1] = (d) => n.video = d),
1326
1326
  url: (p = i.value) == null ? void 0 : p.url
@@ -1343,7 +1343,7 @@ const ta = Ae(ea), ia = /* @__PURE__ */ ee({
1343
1343
  default: ne(() => {
1344
1344
  var d;
1345
1345
  return [
1346
- $(x(Sa), {
1346
+ $(x(Ea), {
1347
1347
  "config-options": e.value,
1348
1348
  "document-server-url": ((d = o.onlyOfficeConfig) == null ? void 0 : d.serverUrl) || o.onlyofficeServer
1349
1349
  }, null, 8, ["config-options", "document-server-url"])
@@ -1562,7 +1562,7 @@ const na = Ae(ia), ra = {
1562
1562
  };
1563
1563
  }
1564
1564
  });
1565
- const ha = /* @__PURE__ */ vt(fa, [["__scopeId", "data-v-52806adf"]]), st = Ae(ha), da = /* @__PURE__ */ ee({
1565
+ const ha = /* @__PURE__ */ Rt(fa, [["__scopeId", "data-v-52806adf"]]), st = Ae(ha), da = /* @__PURE__ */ ee({
1566
1566
  __name: "CloseIcon",
1567
1567
  props: {
1568
1568
  showBg: {
@@ -1593,9 +1593,9 @@ const ha = /* @__PURE__ */ vt(fa, [["__scopeId", "data-v-52806adf"]]), st = Ae(h
1593
1593
  ));
1594
1594
  }
1595
1595
  });
1596
- const ga = /* @__PURE__ */ vt(da, [["__scopeId", "data-v-da39e979"]]), pa = { class: "base-header" }, va = /* @__PURE__ */ ee({
1596
+ const ga = /* @__PURE__ */ Rt(da, [["__scopeId", "data-v-da39e979"]]), pa = { class: "base-header" }, va = /* @__PURE__ */ ee({
1597
1597
  __name: "IkBaseDialog",
1598
- props: /* @__PURE__ */ Tt({
1598
+ props: /* @__PURE__ */ bt({
1599
1599
  title: { default: "" },
1600
1600
  cancelText: { default: "取消" },
1601
1601
  confirmText: { default: "确认" },
@@ -2034,40 +2034,39 @@ const Ta = /* @__PURE__ */ ee({
2034
2034
  /* STYLE */
2035
2035
  ));
2036
2036
  }
2037
- });
2038
- const Ea = /* @__PURE__ */ vt(Ta, [["__scopeId", "data-v-98d51ef9"]]), Sa = Ae(Ea);
2037
+ }), Ea = Ae(Ta);
2039
2038
  var Hi;
2040
- const Pn = typeof window < "u", xa = (o) => typeof o == "string", Ia = () => {
2039
+ const Pn = typeof window < "u", Sa = (o) => typeof o == "string", xa = () => {
2041
2040
  };
2042
2041
  Pn && ((Hi = window == null ? void 0 : window.navigator) != null && Hi.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
2043
2042
  function An(o) {
2044
2043
  return typeof o == "function" ? o() : x(o);
2045
2044
  }
2046
- function Pa(o) {
2045
+ function Ia(o) {
2047
2046
  return o;
2048
2047
  }
2049
- function Aa(o) {
2048
+ function Pa(o) {
2050
2049
  return ur() ? (cr(o), !0) : !1;
2051
2050
  }
2052
- function La(o) {
2051
+ function Aa(o) {
2053
2052
  var a;
2054
2053
  const r = An(o);
2055
2054
  return (a = r == null ? void 0 : r.$el) != null ? a : r;
2056
2055
  }
2057
- const Da = Pn ? window : void 0;
2058
- function _t(...o) {
2056
+ const La = Pn ? window : void 0;
2057
+ function yt(...o) {
2059
2058
  let a, r, t, e;
2060
- if (xa(o[0]) || Array.isArray(o[0]) ? ([r, t, e] = o, a = Da) : [a, r, t, e] = o, !a)
2061
- return Ia;
2059
+ if (Sa(o[0]) || Array.isArray(o[0]) ? ([r, t, e] = o, a = La) : [a, r, t, e] = o, !a)
2060
+ return xa;
2062
2061
  Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
2063
2062
  const i = [], n = () => {
2064
2063
  i.forEach((c) => c()), i.length = 0;
2065
- }, s = (c, h, g, p) => (c.addEventListener(h, g, p), () => c.removeEventListener(h, g, p)), l = ot(() => [La(a), An(e)], ([c, h]) => {
2064
+ }, s = (c, h, g, p) => (c.addEventListener(h, g, p), () => c.removeEventListener(h, g, p)), l = ot(() => [Aa(a), An(e)], ([c, h]) => {
2066
2065
  n(), c && i.push(...r.flatMap((g) => t.map((p) => s(c, g, p, h))));
2067
2066
  }, { immediate: !0, flush: "post" }), u = () => {
2068
2067
  l(), n();
2069
2068
  };
2070
- return Aa(u), u;
2069
+ return Pa(u), u;
2071
2070
  }
2072
2071
  const Ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, zi = "__vueuse_ssr_handlers__";
2073
2072
  Ui[zi] = Ui[zi] || {};
@@ -2075,15 +2074,15 @@ var Vi;
2075
2074
  (function(o) {
2076
2075
  o.UP = "UP", o.RIGHT = "RIGHT", o.DOWN = "DOWN", o.LEFT = "LEFT", o.NONE = "NONE";
2077
2076
  })(Vi || (Vi = {}));
2078
- var Oa = Object.defineProperty, ji = Object.getOwnPropertySymbols, Ra = Object.prototype.hasOwnProperty, Fa = Object.prototype.propertyIsEnumerable, $i = (o, a, r) => a in o ? Oa(o, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[a] = r, Ma = (o, a) => {
2077
+ var Da = Object.defineProperty, ji = Object.getOwnPropertySymbols, Oa = Object.prototype.hasOwnProperty, Ra = Object.prototype.propertyIsEnumerable, $i = (o, a, r) => a in o ? Da(o, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[a] = r, Fa = (o, a) => {
2079
2078
  for (var r in a || (a = {}))
2080
- Ra.call(a, r) && $i(o, r, a[r]);
2079
+ Oa.call(a, r) && $i(o, r, a[r]);
2081
2080
  if (ji)
2082
2081
  for (var r of ji(a))
2083
- Fa.call(a, r) && $i(o, r, a[r]);
2082
+ Ra.call(a, r) && $i(o, r, a[r]);
2084
2083
  return o;
2085
2084
  };
2086
- const Na = {
2085
+ const Ma = {
2087
2086
  easeInSine: [0.12, 0, 0.39, 0],
2088
2087
  easeOutSine: [0.61, 1, 0.88, 1],
2089
2088
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -2109,10 +2108,10 @@ const Na = {
2109
2108
  easeOutBack: [0.34, 1.56, 0.64, 1],
2110
2109
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
2111
2110
  };
2112
- Ma({
2113
- linear: Pa
2114
- }, Na);
2115
- const Ba = {
2111
+ Fa({
2112
+ linear: Ia
2113
+ }, Ma);
2114
+ const Na = {
2116
2115
  /**
2117
2116
  * @description preview link list.
2118
2117
  */
@@ -2182,15 +2181,15 @@ const Ba = {
2182
2181
  crossorigin: {
2183
2182
  type: ["anonymous", "use-credentials", ""]
2184
2183
  }
2185
- }, Ha = {
2184
+ }, Ba = {
2186
2185
  close: () => !0,
2187
2186
  switch: (o) => ri.isNumber(o),
2188
2187
  rotate: (o) => ri.isNumber(o)
2189
- }, Ua = ["src", "crossorigin"], za = /* @__PURE__ */ ee({
2188
+ }, Ha = ["src", "crossorigin"], Ua = /* @__PURE__ */ ee({
2190
2189
  name: "ElImageViewer",
2191
2190
  __name: "IkImageViewer",
2192
- props: Ba,
2193
- emits: Ha,
2191
+ props: Na,
2192
+ emits: Ba,
2194
2193
  setup(o, { expose: a, emit: r }) {
2195
2194
  const t = (H) => Object.keys(H), e = {
2196
2195
  CONTAIN: {
@@ -2262,7 +2261,7 @@ const Ba = {
2262
2261
  });
2263
2262
  });
2264
2263
  g.run(() => {
2265
- _t(document, "keydown", H), _t(document, "wheel", G);
2264
+ yt(document, "keydown", H), yt(document, "wheel", G);
2266
2265
  });
2267
2266
  }
2268
2267
  function ie() {
@@ -2284,8 +2283,8 @@ const Ba = {
2284
2283
  offsetX: G + ct.pageX - me,
2285
2284
  offsetY: J + ct.pageY - ke
2286
2285
  };
2287
- }), Le = _t(document, "mousemove", Ce);
2288
- _t(document, "mouseup", () => {
2286
+ }), Le = yt(document, "mousemove", Ce);
2287
+ yt(document, "mouseup", () => {
2289
2288
  Le();
2290
2289
  }), H.preventDefault();
2291
2290
  }
@@ -2551,7 +2550,7 @@ const Ba = {
2551
2550
  onLoad: se,
2552
2551
  onError: fe,
2553
2552
  onMousedown: Te
2554
- }, null, 46, Ua)), [
2553
+ }, null, 46, Ha)), [
2555
2554
  [pr, me === d.value]
2556
2555
  ])),
2557
2556
  128
@@ -2572,7 +2571,7 @@ const Ba = {
2572
2571
  })
2573
2572
  ]));
2574
2573
  }
2575
- }), Va = Ae(za);
2574
+ }), za = Ae(Ua);
2576
2575
  function Wi(o, a) {
2577
2576
  var r = Object.keys(o);
2578
2577
  if (Object.getOwnPropertySymbols) {
@@ -2648,7 +2647,7 @@ function ai(o, a) {
2648
2647
  return t.__proto__ = e, t;
2649
2648
  }, ai(o, a);
2650
2649
  }
2651
- function ja() {
2650
+ function Va() {
2652
2651
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2653
2652
  return !1;
2654
2653
  if (typeof Proxy == "function")
@@ -2673,7 +2672,7 @@ function vi(o, a) {
2673
2672
  return y(o);
2674
2673
  }
2675
2674
  function M(o) {
2676
- var a = ja();
2675
+ var a = Va();
2677
2676
  return function() {
2678
2677
  var t = N(o), e;
2679
2678
  if (a) {
@@ -2684,14 +2683,14 @@ function M(o) {
2684
2683
  return vi(this, e);
2685
2684
  };
2686
2685
  }
2687
- function $a(o, a) {
2686
+ function ja(o, a) {
2688
2687
  for (; !Object.prototype.hasOwnProperty.call(o, a) && (o = N(o), o !== null); )
2689
2688
  ;
2690
2689
  return o;
2691
2690
  }
2692
2691
  function B() {
2693
2692
  return typeof Reflect < "u" && Reflect.get ? B = Reflect.get.bind() : B = function(a, r, t) {
2694
- var e = $a(a, r);
2693
+ var e = ja(a, r);
2695
2694
  if (e) {
2696
2695
  var i = Object.getOwnPropertyDescriptor(e, r);
2697
2696
  return i.get ? i.get.call(arguments.length < 3 ? a : t) : i.value;
@@ -2699,17 +2698,17 @@ function B() {
2699
2698
  }, B.apply(this, arguments);
2700
2699
  }
2701
2700
  function ye(o) {
2702
- return Wa(o) || Ga(o) || Ka(o) || Ya();
2701
+ return $a(o) || Wa(o) || Ga(o) || Ka();
2703
2702
  }
2704
- function Wa(o) {
2703
+ function $a(o) {
2705
2704
  if (Array.isArray(o))
2706
2705
  return oi(o);
2707
2706
  }
2708
- function Ga(o) {
2707
+ function Wa(o) {
2709
2708
  if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null)
2710
2709
  return Array.from(o);
2711
2710
  }
2712
- function Ka(o, a) {
2711
+ function Ga(o, a) {
2713
2712
  if (o) {
2714
2713
  if (typeof o == "string")
2715
2714
  return oi(o, a);
@@ -2726,11 +2725,11 @@ function oi(o, a) {
2726
2725
  t[r] = o[r];
2727
2726
  return t;
2728
2727
  }
2729
- function Ya() {
2728
+ function Ka() {
2730
2729
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2731
2730
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2732
2731
  }
2733
- function Xa(o, a) {
2732
+ function Ya(o, a) {
2734
2733
  if (typeof o != "object" || o === null)
2735
2734
  return o;
2736
2735
  var r = o[Symbol.toPrimitive];
@@ -2743,7 +2742,7 @@ function Xa(o, a) {
2743
2742
  return (a === "string" ? String : Number)(o);
2744
2743
  }
2745
2744
  function Ln(o) {
2746
- var a = Xa(o, "string");
2745
+ var a = Ya(o, "string");
2747
2746
  return typeof a == "symbol" ? a : String(a);
2748
2747
  }
2749
2748
  var Dn = { exports: {} };
@@ -2859,13 +2858,13 @@ var Dn = { exports: {} };
2859
2858
  })(Dn);
2860
2859
  var On = Dn.exports;
2861
2860
  const Rn = /* @__PURE__ */ gi(On);
2862
- var qa = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, jt = {
2861
+ var Xa = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, jt = {
2863
2862
  info: "color: #525252; background-color: #90ee90;",
2864
2863
  error: "color: #525252; background-color: red;",
2865
2864
  warn: "color: #525252; background-color: yellow; "
2866
2865
  }, $t = "%c[xgplayer]", V = {
2867
2866
  config: {
2868
- debug: qa ? 3 : 0
2867
+ debug: Xa ? 3 : 0
2869
2868
  },
2870
2869
  logInfo: function(a) {
2871
2870
  for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
@@ -2886,10 +2885,10 @@ var qa = typeof window < "u" && window.location && window.location.href.indexOf(
2886
2885
  }
2887
2886
  }
2888
2887
  };
2889
- function Za(o) {
2888
+ function qa(o) {
2890
2889
  o.logInfo = V.logInfo.bind(o), o.logWarn = V.logWarn.bind(o), o.logError = V.logError.bind(o);
2891
2890
  }
2892
- var Ja = /* @__PURE__ */ function() {
2891
+ var Za = /* @__PURE__ */ function() {
2893
2892
  function o(a) {
2894
2893
  P(this, o), this.bufferedList = a;
2895
2894
  }
@@ -3135,7 +3134,7 @@ f.setStyleFromCsstext = function(o, a) {
3135
3134
  o.style[t] = a[t];
3136
3135
  });
3137
3136
  };
3138
- function Qa(o, a) {
3137
+ function Ja(o, a) {
3139
3138
  for (var r = 0, t = a.length; r < t; r++)
3140
3139
  if (o.indexOf(a[r]) > -1)
3141
3140
  return !0;
@@ -3149,7 +3148,7 @@ f.filterStyleFromText = function(o) {
3149
3148
  return t.map(function(n) {
3150
3149
  if (n) {
3151
3150
  var s = n.split(":");
3152
- s.length > 1 && (Qa(s[0], a) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
3151
+ s.length > 1 && (Ja(s[0], a) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
3153
3152
  }
3154
3153
  }), o.setAttribute("style", ""), Object.keys(i).map(function(n) {
3155
3154
  o.style[n] = i[n];
@@ -3214,7 +3213,7 @@ f.getBuffered2 = function(o) {
3214
3213
  }
3215
3214
  else
3216
3215
  e = r;
3217
- return new Ja(e);
3216
+ return new Za(e);
3218
3217
  };
3219
3218
  f.getEventPos = function(o) {
3220
3219
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
@@ -3338,7 +3337,7 @@ function Fn(o) {
3338
3337
  var a = le(o);
3339
3338
  return o !== null && (a === "object" || a === "function");
3340
3339
  }
3341
- function eo(o, a, r) {
3340
+ function Qa(o, a, r) {
3342
3341
  var t, e, i, n, s, l, u = 0, c = !1, h = !1, g = !0, p = !a && a !== 0 && typeof window.requestAnimationFrame == "function";
3343
3342
  if (typeof o != "function")
3344
3343
  throw new TypeError("Expected a function");
@@ -3397,21 +3396,21 @@ function eo(o, a, r) {
3397
3396
  }
3398
3397
  return q.cancel = z, q.flush = R, q.pending = te, q;
3399
3398
  }
3400
- function to(o, a, r) {
3399
+ function eo(o, a, r) {
3401
3400
  var t = !0, e = !0;
3402
3401
  if (typeof o != "function")
3403
3402
  throw new TypeError("Expected a function");
3404
- return Fn(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), eo(o, a, {
3403
+ return Fn(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Qa(o, a, {
3405
3404
  leading: t,
3406
3405
  trailing: e,
3407
3406
  maxWait: a
3408
3407
  });
3409
3408
  }
3410
- function io() {
3409
+ function to() {
3411
3410
  var o = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
3412
3411
  return o === "zh-cn" && (o = "zh"), o;
3413
3412
  }
3414
- function no(o, a, r) {
3413
+ function io(o, a, r) {
3415
3414
  if (o) {
3416
3415
  var t = o.getAttribute(r);
3417
3416
  return !!(t && t === a && (o.tagName === "VIDEO" || o.tagName === "AUDIO"));
@@ -3420,7 +3419,7 @@ function no(o, a, r) {
3420
3419
  var Ki = {
3421
3420
  android: /(Android)\s([\d.]+)/,
3422
3421
  ios: /(Version)\/([\d.]+)/
3423
- }, ro = ["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"], U = {
3422
+ }, no = ["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"], U = {
3424
3423
  get device() {
3425
3424
  var o = U.os;
3426
3425
  return o.isPc ? "pc" : "mobile";
@@ -3483,7 +3482,7 @@ var Ki = {
3483
3482
  if (this.supportResult)
3484
3483
  return this.supportResult;
3485
3484
  var r = document.createElement("video");
3486
- return typeof r.canPlayType == "function" && ro.map(function(t) {
3485
+ return typeof r.canPlayType == "function" && no.map(function(t) {
3487
3486
  r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (a.isSupport = !0, a.mime += "||".concat(t));
3488
3487
  }), this.supportResult = a, r = null, a;
3489
3488
  },
@@ -3536,7 +3535,7 @@ var Ki = {
3536
3535
  4: 5104,
3537
3536
  5: 5105,
3538
3537
  6: 5106
3539
- }, Et = /* @__PURE__ */ A(
3538
+ }, Tt = /* @__PURE__ */ A(
3540
3539
  function o(a) {
3541
3540
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
3542
3541
  errorType: "",
@@ -3578,23 +3577,23 @@ var Ki = {
3578
3577
  return v.ex = t ? (t[arguments[0]] || {}).msg : "", v;
3579
3578
  }
3580
3579
  }
3581
- ), ge = "play", mi = "playing", Ye = "ended", ut = "pause", mt = "error", Ft = "seeking", Ie = "seeked", de = "timeupdate", yt = "waiting", xe = "canplay", so = "canplaythrough", Ue = "durationchange", Mn = "volumechange", Pe = "loadeddata", ao = "loadedmetadata", Nn = "ratechange", Bn = "progress", yi = "loadstart", Xe = "emptied", oo = "stalled", lo = "suspend", uo = "abort", co = "bufferedChange", _i = "focus", Hn = "blur", ki = "ready", Un = "urlNull", Ge = "autoplay_started", Ci = "autoplay_was_prevented", Mt = "complete", St = "replay", wi = "destroy", Nt = "urlchange", ui = "download_speed_change", zn = "leaveplayer", Vn = "enterplayer", jn = "loading", Ee = "fullscreen_change", xt = "cssFullscreen_change", It = "mini_state_change", bi = "definition_change", fo = "before_definition_change", ci = "after_definition_change", ho = "SEI_PARSED", go = "retry", Be = "video_resize", fi = "pip_change", $n = "rotate", Wn = "screenShot", Pt = "playnext", Gn = "shortcut", Kn = "xglog", At = "user_action", Bt = "reset", Yn = "source_error", Xn = "source_success", po = "switch_subtitle", qn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Zn = {
3580
+ ), ge = "play", mi = "playing", Ye = "ended", ut = "pause", vt = "error", Ft = "seeking", Ie = "seeked", de = "timeupdate", mt = "waiting", xe = "canplay", ro = "canplaythrough", Ue = "durationchange", Mn = "volumechange", Pe = "loadeddata", so = "loadedmetadata", Nn = "ratechange", Bn = "progress", yi = "loadstart", Xe = "emptied", ao = "stalled", oo = "suspend", lo = "abort", uo = "bufferedChange", _i = "focus", Hn = "blur", ki = "ready", Un = "urlNull", Ge = "autoplay_started", Ci = "autoplay_was_prevented", Mt = "complete", Et = "replay", wi = "destroy", Nt = "urlchange", ui = "download_speed_change", zn = "leaveplayer", Vn = "enterplayer", jn = "loading", Ee = "fullscreen_change", St = "cssFullscreen_change", xt = "mini_state_change", bi = "definition_change", co = "before_definition_change", ci = "after_definition_change", fo = "SEI_PARSED", ho = "retry", Be = "video_resize", fi = "pip_change", $n = "rotate", Wn = "screenShot", It = "playnext", Gn = "shortcut", Kn = "xglog", Pt = "user_action", Bt = "reset", Yn = "source_error", Xn = "source_success", go = "switch_subtitle", qn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Zn = {
3582
3581
  STATS_INFO: "stats_info",
3583
3582
  STATS_DOWNLOAD: "stats_download",
3584
3583
  STATS_RESET: "stats_reset"
3585
3584
  }, Jn = "fps_stuck";
3586
- const vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3585
+ const po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3587
3586
  __proto__: null,
3588
- ABORT: uo,
3587
+ ABORT: lo,
3589
3588
  AFTER_DEFINITION_CHANGE: ci,
3590
3589
  AUTOPLAY_PREVENTED: Ci,
3591
3590
  AUTOPLAY_STARTED: Ge,
3592
- BEFORE_DEFINITION_CHANGE: fo,
3593
- BUFFER_CHANGE: co,
3591
+ BEFORE_DEFINITION_CHANGE: co,
3592
+ BUFFER_CHANGE: uo,
3594
3593
  CANPLAY: xe,
3595
- CANPLAY_THROUGH: so,
3594
+ CANPLAY_THROUGH: ro,
3596
3595
  COMPLETE: Mt,
3597
- CSS_FULLSCREEN_CHANGE: xt,
3596
+ CSS_FULLSCREEN_CHANGE: St,
3598
3597
  DEFINITION_CHANGE: bi,
3599
3598
  DESTROY: wi,
3600
3599
  DOWNLOAD_SPEED_CHANGE: ui,
@@ -3602,54 +3601,54 @@ const vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3602
3601
  EMPTIED: Xe,
3603
3602
  ENDED: Ye,
3604
3603
  ENTER_PLAYER: Vn,
3605
- ERROR: mt,
3604
+ ERROR: vt,
3606
3605
  FPS_STUCK: Jn,
3607
3606
  FULLSCREEN_CHANGE: Ee,
3608
3607
  LEAVE_PLAYER: zn,
3609
3608
  LOADED_DATA: Pe,
3610
- LOADED_METADATA: ao,
3609
+ LOADED_METADATA: so,
3611
3610
  LOADING: jn,
3612
3611
  LOAD_START: yi,
3613
- MINI_STATE_CHANGE: It,
3612
+ MINI_STATE_CHANGE: xt,
3614
3613
  PAUSE: ut,
3615
3614
  PIP_CHANGE: fi,
3616
3615
  PLAY: ge,
3617
3616
  PLAYER_BLUR: Hn,
3618
3617
  PLAYER_FOCUS: _i,
3619
3618
  PLAYING: mi,
3620
- PLAYNEXT: Pt,
3619
+ PLAYNEXT: It,
3621
3620
  PROGRESS: Bn,
3622
3621
  RATE_CHANGE: Nn,
3623
3622
  READY: ki,
3624
- REPLAY: St,
3623
+ REPLAY: Et,
3625
3624
  RESET: Bt,
3626
- RETRY: go,
3625
+ RETRY: ho,
3627
3626
  ROTATE: $n,
3628
3627
  SCREEN_SHOT: Wn,
3629
3628
  SEEKED: Ie,
3630
3629
  SEEKING: Ft,
3631
- SEI_PARSED: ho,
3630
+ SEI_PARSED: fo,
3632
3631
  SHORTCUT: Gn,
3633
3632
  SOURCE_ERROR: Yn,
3634
3633
  SOURCE_SUCCESS: Xn,
3635
- STALLED: oo,
3634
+ STALLED: ao,
3636
3635
  STATS_EVENTS: Zn,
3637
- SUSPEND: lo,
3638
- SWITCH_SUBTITLE: po,
3636
+ SUSPEND: oo,
3637
+ SWITCH_SUBTITLE: go,
3639
3638
  TIME_UPDATE: de,
3640
3639
  URL_CHANGE: Nt,
3641
3640
  URL_NULL: Un,
3642
- USER_ACTION: At,
3641
+ USER_ACTION: Pt,
3643
3642
  VIDEO_EVENTS: qn,
3644
3643
  VIDEO_RESIZE: Be,
3645
3644
  VOLUME_CHANGE: Mn,
3646
- WAITING: yt,
3645
+ WAITING: mt,
3647
3646
  XGLOG: Kn
3648
3647
  }, Symbol.toStringTag, { value: "Module" }));
3649
3648
  function Wt(o, a) {
3650
3649
  !this || !this.emit || (o === "error" ? this.errorHandler(o, a.error) : this.emit(o, a));
3651
3650
  }
3652
- function mo(o, a) {
3651
+ function vo(o, a) {
3653
3652
  return function(r, t) {
3654
3653
  var e = {
3655
3654
  player: a,
@@ -3684,7 +3683,7 @@ function mo(o, a) {
3684
3683
  Wt.call(a, o, e);
3685
3684
  };
3686
3685
  }
3687
- var yo = /* @__PURE__ */ function(o) {
3686
+ var mo = /* @__PURE__ */ function(o) {
3688
3687
  F(r, o);
3689
3688
  var a = M(r);
3690
3689
  function r(t) {
@@ -3728,7 +3727,7 @@ var yo = /* @__PURE__ */ function(o) {
3728
3727
  var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
3729
3728
  this._evHandlers || (this._evHandlers = qn.map(function(n) {
3730
3729
  var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
3731
- return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, mo(n, e));
3730
+ return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, vo(n, e));
3732
3731
  })), this._evHandlers.forEach(function(n) {
3733
3732
  var s = Object.keys(n)[0];
3734
3733
  i.addEventListener(s, n[s], !1);
@@ -3780,7 +3779,7 @@ var yo = /* @__PURE__ */ function(o) {
3780
3779
  l ? l.error(h, p) : n.errorHandler("error", p);
3781
3780
  }
3782
3781
  var d = Yi[4];
3783
- n.emit(Yn, new Et(n, {
3782
+ n.emit(Yn, new Tt(n, {
3784
3783
  errorType: d,
3785
3784
  errorCode: 4,
3786
3785
  errorMessage: "sources_load_error",
@@ -3817,7 +3816,7 @@ var yo = /* @__PURE__ */ function(o) {
3817
3816
  this.media.currentSrc || (l = "empty_src", n = {
3818
3817
  code: 6,
3819
3818
  message: l
3820
- }), this.emit(e, new Et(this, {
3819
+ }), this.emit(e, new Tt(this, {
3821
3820
  errorType: s,
3822
3821
  errorCode: n.code,
3823
3822
  errorMessage: n.message || "",
@@ -4038,7 +4037,7 @@ var yo = /* @__PURE__ */ function(o) {
4038
4037
  },
4039
4038
  set: function(e) {
4040
4039
  if (this.media) {
4041
- if (this.emit(Nt, e), this.emit(yt), this._currentTime = 0, this._duration = 0, f.isMSE(this.media)) {
4040
+ if (this.emit(Nt, e), this.emit(mt), this._currentTime = 0, this._duration = 0, f.isMSE(this.media)) {
4042
4041
  this.onWaiting();
4043
4042
  return;
4044
4043
  }
@@ -4102,7 +4101,7 @@ var yo = /* @__PURE__ */ function(o) {
4102
4101
  B(N(r.prototype), "removeAllListeners", this).call(this);
4103
4102
  }
4104
4103
  }]), r;
4105
- }(Rn), _o = /* @__PURE__ */ function() {
4104
+ }(Rn), yo = /* @__PURE__ */ function() {
4106
4105
  function o() {
4107
4106
  var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
4108
4107
  name: "xgplayer",
@@ -4181,7 +4180,7 @@ var yo = /* @__PURE__ */ function(o) {
4181
4180
  }
4182
4181
  }]), o;
4183
4182
  }(), qi = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], Zi = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], Ji = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], $e = "data-xgplayerid";
4184
- function kt(o, a, r) {
4183
+ function _t(o, a, r) {
4185
4184
  for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
4186
4185
  e[i - 3] = arguments[i];
4187
4186
  var n = a.call.apply(a, [o].concat(e));
@@ -4191,7 +4190,7 @@ function kt(o, a, r) {
4191
4190
  r.call.apply(r, [o].concat(l));
4192
4191
  }) : r.call.apply(r, [o].concat(e)));
4193
4192
  }
4194
- function Lt(o, a) {
4193
+ function At(o, a) {
4195
4194
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
4196
4195
  pre: null,
4197
4196
  next: null
@@ -4209,23 +4208,23 @@ function Lt(o, a) {
4209
4208
  try {
4210
4209
  var n, s = (n = this.__hooks[o]).call.apply(n, [this, this].concat(Array.prototype.slice.call(arguments)));
4211
4210
  s ? s.then ? s.then(function(l) {
4212
- l !== !1 && kt.apply(void 0, [e, a, r.next].concat(ye(t)));
4211
+ l !== !1 && _t.apply(void 0, [e, a, r.next].concat(ye(t)));
4213
4212
  }).catch(function(l) {
4214
4213
  throw l;
4215
- }) : kt.apply(void 0, [this, a, r.next].concat(Array.prototype.slice.call(arguments))) : s === void 0 && kt.apply(void 0, [this, a, r.next].concat(Array.prototype.slice.call(arguments)));
4214
+ }) : _t.apply(void 0, [this, a, r.next].concat(Array.prototype.slice.call(arguments))) : s === void 0 && _t.apply(void 0, [this, a, r.next].concat(Array.prototype.slice.call(arguments)));
4216
4215
  } catch (l) {
4217
4216
  throw l.message = "[pluginName: ".concat(this.pluginName, ":").concat(o, "] >> ").concat(l.message), l;
4218
4217
  }
4219
4218
  else
4220
- kt.apply(void 0, [this, a, r.next].concat(Array.prototype.slice.call(arguments)));
4219
+ _t.apply(void 0, [this, a, r.next].concat(Array.prototype.slice.call(arguments)));
4221
4220
  }).bind(this);
4222
4221
  }
4223
- function Dt(o, a) {
4222
+ function Lt(o, a) {
4224
4223
  var r = this.__hooks;
4225
4224
  if (r)
4226
4225
  return r.hasOwnProperty(o) ? (r && (r[o] = a), !0) : (console.warn("has no supported hook which name [".concat(o, "]")), !1);
4227
4226
  }
4228
- function Ot(o, a) {
4227
+ function Dt(o, a) {
4229
4228
  var r = this.__hooks;
4230
4229
  r && delete r[o];
4231
4230
  }
@@ -4410,21 +4409,21 @@ var He = /* @__PURE__ */ function() {
4410
4409
  }, {
4411
4410
  key: "hook",
4412
4411
  value: function(r, t) {
4413
- return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
4412
+ return At.call.apply(At, [this].concat(Array.prototype.slice.call(arguments)));
4414
4413
  }
4415
4414
  }, {
4416
4415
  key: "useHooks",
4417
4416
  value: function(r, t) {
4418
4417
  for (var e = arguments.length, i = new Array(e > 2 ? e - 2 : 0), n = 2; n < e; n++)
4419
4418
  i[n - 2] = arguments[n];
4420
- return Dt.call.apply(Dt, [this].concat(Array.prototype.slice.call(arguments)));
4419
+ return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
4421
4420
  }
4422
4421
  }, {
4423
4422
  key: "removeHooks",
4424
4423
  value: function(r, t) {
4425
4424
  for (var e = arguments.length, i = new Array(e > 2 ? e - 2 : 0), n = 2; n < e; n++)
4426
4425
  i[n - 2] = arguments[n];
4427
- return Ot.call.apply(Ot, [this].concat(Array.prototype.slice.call(arguments)));
4426
+ return Dt.call.apply(Dt, [this].concat(Array.prototype.slice.call(arguments)));
4428
4427
  }
4429
4428
  }, {
4430
4429
  key: "registerPlugin",
@@ -4466,40 +4465,40 @@ var He = /* @__PURE__ */ function() {
4466
4465
  return "pluginName";
4467
4466
  }
4468
4467
  }]), o;
4469
- }(), ko = 9;
4468
+ }(), _o = 9;
4470
4469
  if (typeof Element < "u" && !Element.prototype.matches) {
4471
4470
  var Je = Element.prototype;
4472
4471
  Je.matches = Je.matchesSelector || Je.mozMatchesSelector || Je.msMatchesSelector || Je.oMatchesSelector || Je.webkitMatchesSelector;
4473
4472
  }
4474
- function Co(o, a) {
4475
- for (; o && o.nodeType !== ko; ) {
4473
+ function ko(o, a) {
4474
+ for (; o && o.nodeType !== _o; ) {
4476
4475
  if (typeof o.matches == "function" && o.matches(a))
4477
4476
  return o;
4478
4477
  o = o.parentNode;
4479
4478
  }
4480
4479
  }
4481
- var wo = Co, bo = wo;
4480
+ var Co = ko, wo = Co;
4482
4481
  function Kt(o, a, r, t, e) {
4483
- var i = Eo.apply(this, arguments);
4482
+ var i = To.apply(this, arguments);
4484
4483
  return o.addEventListener(r, i, e), {
4485
4484
  destroy: function() {
4486
4485
  o.removeEventListener(r, i, e);
4487
4486
  }
4488
4487
  };
4489
4488
  }
4490
- function To(o, a, r, t, e) {
4489
+ function bo(o, a, r, t, e) {
4491
4490
  return typeof o.addEventListener == "function" ? Kt.apply(null, arguments) : typeof r == "function" ? Kt.bind(null, document).apply(null, arguments) : (typeof o == "string" && (o = document.querySelectorAll(o)), Array.prototype.map.call(o, function(i) {
4492
4491
  return Kt(i, a, r, t, e);
4493
4492
  }));
4494
4493
  }
4495
- function Eo(o, a, r, t) {
4494
+ function To(o, a, r, t) {
4496
4495
  return function(e) {
4497
- e.delegateTarget = bo(e.target, a), e.delegateTarget && t.call(o, e);
4496
+ e.delegateTarget = wo(e.target, a), e.delegateTarget && t.call(o, e);
4498
4497
  };
4499
4498
  }
4500
- var So = To;
4501
- const tn = /* @__PURE__ */ gi(So);
4502
- var xo = {
4499
+ var Eo = bo;
4500
+ const tn = /* @__PURE__ */ gi(Eo);
4501
+ var So = {
4503
4502
  CONTROLS: "controls",
4504
4503
  ROOT: "root"
4505
4504
  }, Y = {
@@ -4519,10 +4518,10 @@ var xo = {
4519
4518
  function Yt(o) {
4520
4519
  return o ? o.indexOf && /^(?:http|data:|\/)/.test(o) : !1;
4521
4520
  }
4522
- function Io(o, a) {
4521
+ function xo(o, a) {
4523
4522
  return le(o) === "object" && o.class && typeof o.class == "string" ? "".concat(a, " ").concat(o.class) : a;
4524
4523
  }
4525
- function Po(o, a) {
4524
+ function Io(o, a) {
4526
4525
  return le(o) === "object" && o.attr && le(o.attr) === "object" && Object.keys(o.attr).map(function(r) {
4527
4526
  a[r] = o.attr[r];
4528
4527
  }), a;
@@ -4545,14 +4544,14 @@ function rn(o, a) {
4545
4544
  }
4546
4545
  return typeof o == "string" ? f.createDomFromHtml(o, t, r) : (V.logWarn("warn>>icons.".concat(a, " in config of plugin named [").concat(e, "] is invalid")), null);
4547
4546
  }
4548
- function Ao(o, a) {
4547
+ function Po(o, a) {
4549
4548
  var r = a.config.icons || a.playerConfig.icons;
4550
4549
  Object.keys(o).map(function(t) {
4551
4550
  var e = o[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
4552
- r && r[t] && (i = Io(r[t], i), n = Po(r[t], n), s = rn(r[t], t, i, n, a.pluginName)), !s && e && (s = rn(e.icon ? e.icon : e, n, i, {}, a.pluginName)), a.icons[t] = s;
4551
+ r && r[t] && (i = xo(r[t], i), n = Io(r[t], n), s = rn(r[t], t, i, n, a.pluginName)), !s && e && (s = rn(e.icon ? e.icon : e, n, i, {}, a.pluginName)), a.icons[t] = s;
4553
4552
  });
4554
4553
  }
4555
- function Lo(o, a) {
4554
+ function Ao(o, a) {
4556
4555
  Object.keys(o).map(function(r) {
4557
4556
  Object.defineProperty(a.langText, r, {
4558
4557
  get: function() {
@@ -4576,9 +4575,9 @@ var W = /* @__PURE__ */ function(o) {
4576
4575
  var i = e.root, n = null;
4577
4576
  this.icons = {}, this.root = null, this.parent = null;
4578
4577
  var s = this.registerIcons() || {};
4579
- Ao(s, this), this.langText = {};
4578
+ Po(s, this), this.langText = {};
4580
4579
  var l = this.registerLanguageTexts() || {};
4581
- Lo(l, this);
4580
+ Ao(l, this);
4582
4581
  var u = "";
4583
4582
  try {
4584
4583
  u = this.render();
@@ -4847,7 +4846,7 @@ var W = /* @__PURE__ */ function(o) {
4847
4846
  }, {
4848
4847
  key: "ROOT_TYPES",
4849
4848
  get: function() {
4850
- return xo;
4849
+ return So;
4851
4850
  }
4852
4851
  }, {
4853
4852
  key: "POSITIONS",
@@ -4855,7 +4854,7 @@ var W = /* @__PURE__ */ function(o) {
4855
4854
  return Y;
4856
4855
  }
4857
4856
  }]), r;
4858
- }(He), Do = /* @__PURE__ */ function() {
4857
+ }(He), Lo = /* @__PURE__ */ function() {
4859
4858
  function o() {
4860
4859
  var a = this;
4861
4860
  if (P(this, o), _(this, "__trigger", function(r) {
@@ -4865,7 +4864,7 @@ var W = /* @__PURE__ */ function(o) {
4865
4864
  a.__runHandler(r[e].target);
4866
4865
  }), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
4867
4866
  try {
4868
- this.observer = new window.ResizeObserver(to(this.__trigger, 100, {
4867
+ this.observer = new window.ResizeObserver(eo(this.__trigger, 100, {
4869
4868
  trailing: !0
4870
4869
  })), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
4871
4870
  } catch (r) {
@@ -4920,17 +4919,17 @@ var W = /* @__PURE__ */ function(o) {
4920
4919
  }
4921
4920
  }]), o;
4922
4921
  }(), dt = null;
4923
- function Oo(o, a) {
4924
- return dt || (dt = new Do()), dt.addObserver(o, a), dt;
4922
+ function Do(o, a) {
4923
+ return dt || (dt = new Lo()), dt.addObserver(o, a), dt;
4925
4924
  }
4926
- function Ro(o, a) {
4925
+ function Oo(o, a) {
4927
4926
  dt.unObserver(o, a);
4928
4927
  }
4929
4928
  var re = {
4930
4929
  pluginGroup: {},
4931
4930
  init: function(a) {
4932
4931
  var r = a._pluginInfoId;
4933
- r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver && Oo(a.root, function() {
4932
+ r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver && Do(a.root, function() {
4934
4933
  a.resize();
4935
4934
  }), this.pluginGroup[r] = {
4936
4935
  _originalOptions: a.config || {},
@@ -5116,7 +5115,7 @@ var re = {
5116
5115
  destroy: function(a) {
5117
5116
  var r = a._pluginInfoId;
5118
5117
  if (this.pluginGroup[r]) {
5119
- Ro(a.root);
5118
+ Oo(a.root);
5120
5119
  for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
5121
5120
  var n = i[e];
5122
5121
  this.unRegister(r, n);
@@ -5202,7 +5201,7 @@ function sn() {
5202
5201
  ignores: [],
5203
5202
  whitelist: [],
5204
5203
  inactive: 3e3,
5205
- lang: io(),
5204
+ lang: to(),
5206
5205
  controls: !0,
5207
5206
  marginControls: !1,
5208
5207
  fullscreenTarget: null,
@@ -5238,7 +5237,7 @@ function sn() {
5238
5237
  }
5239
5238
  };
5240
5239
  }
5241
- var Fo = function(a, r) {
5240
+ var Ro = function(a, r) {
5242
5241
  var t, e, i;
5243
5242
  r.preset && r.options ? i = new r.preset(r.options, a.config) : i = new r({}, a.config);
5244
5243
  var n = i, s = n.plugins, l = s === void 0 ? [] : s, u = n.ignores, c = u === void 0 ? [] : u, h = n.icons, g = h === void 0 ? {} : h, p = n.i18n, d = p === void 0 ? [] : p;
@@ -5247,7 +5246,7 @@ var Fo = function(a, r) {
5247
5246
  });
5248
5247
  var v = a.config.i18n || [];
5249
5248
  d.push.apply(d, ye(v)), a.config.i18n = d;
5250
- }, Mo = /* @__PURE__ */ function(o) {
5249
+ }, Fo = /* @__PURE__ */ function(o) {
5251
5250
  F(r, o);
5252
5251
  var a = M(r);
5253
5252
  function r() {
@@ -5281,7 +5280,7 @@ var Fo = function(a, r) {
5281
5280
  };
5282
5281
  Object.keys(u).map(function(h) {
5283
5282
  e.root.style[h] = u[h];
5284
- }), 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(It, function(h) {
5283
+ }), 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) {
5285
5284
  h ? f.addClass(e.root, "mini-controls") : f.removeClass(e.root, "mini-controls");
5286
5285
  });
5287
5286
  var c = this.playerConfig.isMobileSimulateMode;
@@ -5408,7 +5407,7 @@ var Fo = function(a, r) {
5408
5407
  };
5409
5408
  }
5410
5409
  }]), r;
5411
- }(W), No = {
5410
+ }(W), Mo = {
5412
5411
  LANG: "en",
5413
5412
  TEXT: {
5414
5413
  ERROR_TYPES: {
@@ -5503,7 +5502,7 @@ function tr() {
5503
5502
  he.textKeys[o] = o;
5504
5503
  });
5505
5504
  }
5506
- function Bo(o, a) {
5505
+ function No(o, a) {
5507
5506
  var r = [];
5508
5507
  if (a || (a = he), !!a.lang) {
5509
5508
  f.typeOf(o) !== "Array" ? r = Object.keys(o).map(function(i) {
@@ -5526,7 +5525,7 @@ function Ti(o, a) {
5526
5525
  r === "zh" && (r = "zh-cn"), a.lang[r] ? pt(a.lang[r], t) : (a.langKeys.push(r), a.lang[r] = t), tr();
5527
5526
  }
5528
5527
  }
5529
- function Ho(o) {
5528
+ function Bo(o) {
5530
5529
  var a, r = {
5531
5530
  lang: {},
5532
5531
  langKeys: [],
@@ -5535,7 +5534,7 @@ function Ho(o) {
5535
5534
  };
5536
5535
  return pt(r.lang, he.lang), (a = r.langKeys).push.apply(a, ye(he.langKeys)), pt(r.textKeys, he.textKeys), r;
5537
5536
  }
5538
- Ti(No);
5537
+ Ti(Mo);
5539
5538
  var at = {
5540
5539
  get textKeys() {
5541
5540
  return he.textKeys;
@@ -5549,9 +5548,9 @@ var at = {
5549
5548
  o[a] = he.lang[a];
5550
5549
  }), he.lang["zh-cn"] && (o.zh = he.lang["zh-cn"] || {}), o;
5551
5550
  },
5552
- extend: Bo,
5551
+ extend: No,
5553
5552
  use: Ti,
5554
- init: Ho
5553
+ init: Bo
5555
5554
  }, j = {
5556
5555
  INITIAL: 1,
5557
5556
  READY: 2,
@@ -5648,7 +5647,7 @@ var at = {
5648
5647
  }
5649
5648
  }]), r;
5650
5649
  }(On.EventEmitter);
5651
- function Uo(o) {
5650
+ function Ho(o) {
5652
5651
  for (var a = Object.keys(ue), r = 0; r < a.length; r++) {
5653
5652
  var t = ue[a[r]];
5654
5653
  if (t.root === o)
@@ -5656,7 +5655,7 @@ function Uo(o) {
5656
5655
  }
5657
5656
  return null;
5658
5657
  }
5659
- var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /* @__PURE__ */ function(o) {
5658
+ var Uo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /* @__PURE__ */ function(o) {
5660
5659
  F(r, o);
5661
5660
  var a = M(r);
5662
5661
  function r(t) {
@@ -5674,7 +5673,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
5674
5673
  e.resize();
5675
5674
  }, 100);
5676
5675
  }, C = f.getFullScreenEl();
5677
- e._fullActionFrom ? e._fullActionFrom = "" : e.emit(At, {
5676
+ e._fullActionFrom ? e._fullActionFrom = "" : e.emit(Pt, {
5678
5677
  eventType: "system",
5679
5678
  action: "switch_fullscreen",
5680
5679
  pluginName: "player",
@@ -5686,7 +5685,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
5686
5685
  to: !1
5687
5686
  }]
5688
5687
  });
5689
- var E = no(C, e.playerId, $e);
5688
+ var E = io(C, e.playerId, $e);
5690
5689
  if (v || C && (C === e._fullscreenEl || E))
5691
5690
  m(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, T.FULLSCREEN), e.emit(Ee, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
5692
5691
  else if (e.fullscreen) {
@@ -5706,7 +5705,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
5706
5705
  e._fullscreenEl = e.media, e.onFullscreenChange(d, !0);
5707
5706
  }), _(y(e), "_onWebkitendfullscreen", function(d) {
5708
5707
  e.onFullscreenChange(d, !1);
5709
- }), Qn(y(e), zo), e.config = i, e._pluginInfoId = f.generateSessionId(), Za(y(e));
5708
+ }), Qn(y(e), Uo), e.config = i, e._pluginInfoId = f.generateSessionId(), qa(y(e));
5710
5709
  var n = e.constructor.defaultPreset;
5711
5710
  if (e.config.presets.length) {
5712
5711
  var s = e.config.presets.indexOf("default");
@@ -5735,7 +5734,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
5735
5734
  }, e._offsetInfo = {
5736
5735
  currentTime: -1,
5737
5736
  duration: 0
5738
- }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = at.init(e._pluginInfoId), U.os.isAndroid && U.osVersion > 0 && U.osVersion < 6 && (e.config.autoplay = !1), e.database = new _o(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
5737
+ }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = at.init(e._pluginInfoId), U.os.isAndroid && U.osVersion > 0 && U.osVersion < 6 && (e.config.autoplay = !1), e.database = new yo(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
5739
5738
  isActiveLocked: !1
5740
5739
  }, e.instManager = Oe;
5741
5740
  var l = e._initDOM();
@@ -5761,13 +5760,13 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
5761
5760
  if (n && n.nodeType === 1)
5762
5761
  this.root = n;
5763
5762
  else
5764
- return this.emit(mt, new Et("use", this.config.vid, {
5763
+ return this.emit(vt, new Tt("use", this.config.vid, {
5765
5764
  line: 32,
5766
5765
  handle: "Constructor",
5767
5766
  msg: "container id can't be empty"
5768
5767
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
5769
5768
  }
5770
- var s = Uo(this.root);
5769
+ var s = Ho(this.root);
5771
5770
  s && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute($e, this.playerId), (e = Oe) === null || e === void 0 || e.add(this), re.init(this), this._initBaseDoms();
5772
5771
  var l = this.constructor.XgVideoProxy;
5773
5772
  if (l && this.mediaConfig.mediaType === l.mediaType) {
@@ -5777,7 +5776,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
5777
5776
  this.attachVideoEvents(c), this.media = c;
5778
5777
  }
5779
5778
  if (this.media.setAttribute($e, this.playerId), this.config.controls) {
5780
- var h = this.config.controls.root || null, g = re.register(this, Mo, {
5779
+ var h = this.config.controls.root || null, g = re.register(this, Fo, {
5781
5780
  root: h
5782
5781
  });
5783
5782
  this.controls = g;
@@ -5885,7 +5884,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
5885
5884
  value: function() {
5886
5885
  var e = this;
5887
5886
  this.config.presets.forEach(function(i) {
5888
- Fo(e, i);
5887
+ Ro(e, i);
5889
5888
  });
5890
5889
  }
5891
5890
  }, {
@@ -6185,7 +6184,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
6185
6184
  i && i.catch && i.catch(function(n) {
6186
6185
  console.log(n);
6187
6186
  });
6188
- }), e.emit(St), e.onPlay();
6187
+ }), e.emit(Et), e.onPlay();
6189
6188
  });
6190
6189
  }
6191
6190
  }, {
@@ -6264,7 +6263,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
6264
6263
  var i = e ? "".concat(T.INNER_FULLSCREEN, " ").concat(T.CSS_FULLSCREEN) : T.CSS_FULLSCREEN;
6265
6264
  this.changeFullStyle(this.root, e, i);
6266
6265
  var n = this.config.fullscreen, s = n === void 0 ? {} : n, l = s.useCssFullscreen === !0 || typeof s.useCssFullscreen == "function" && s.useCssFullscreen();
6267
- l && (this.fullscreen = !0, this.emit(Ee, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(xt, !0);
6266
+ l && (this.fullscreen = !0, this.emit(Ee, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(St, !0);
6268
6267
  }
6269
6268
  }, {
6270
6269
  key: "exitCssFullscreen",
@@ -6276,7 +6275,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
6276
6275
  var i = this.config.fullscreen, n = i === void 0 ? {} : i, s = n.useCssFullscreen === !0 || typeof n.useCssFullscreen == "function" && n.useCssFullscreen();
6277
6276
  s ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(Ee, !1)) : this.removeClass(e);
6278
6277
  }
6279
- this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(xt, !1);
6278
+ this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(St, !1);
6280
6279
  }
6281
6280
  }, {
6282
6281
  key: "getRotateFullscreen",
@@ -6441,7 +6440,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
6441
6440
  value: function(e, i, n) {
6442
6441
  if (!(!this.media || !i || !e)) {
6443
6442
  var s = f.typeOf(e) === "String" ? e : e.type || "";
6444
- n.props && f.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(At, Q({
6443
+ n.props && f.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(Pt, Q({
6445
6444
  eventType: s,
6446
6445
  action: i,
6447
6446
  currentTime: this.currentTime,
@@ -6527,7 +6526,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
6527
6526
  value: function(e) {
6528
6527
  var i = this;
6529
6528
  this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, Se(this, "playnext", function() {
6530
- i.start(), i.emit(Pt, e);
6529
+ i.start(), i.emit(It, e);
6531
6530
  });
6532
6531
  }
6533
6532
  }, {
@@ -6766,17 +6765,17 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
6766
6765
  }, {
6767
6766
  key: "hook",
6768
6767
  value: function(e, i) {
6769
- return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
6768
+ return At.call.apply(At, [this].concat(Array.prototype.slice.call(arguments)));
6770
6769
  }
6771
6770
  }, {
6772
6771
  key: "useHooks",
6773
6772
  value: function(e, i) {
6774
- return Dt.call.apply(Dt, [this].concat(Array.prototype.slice.call(arguments)));
6773
+ return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
6775
6774
  }
6776
6775
  }, {
6777
6776
  key: "removeHooks",
6778
6777
  value: function(e, i) {
6779
- return Ot.call.apply(Ot, [this].concat(Array.prototype.slice.call(arguments)));
6778
+ return Dt.call.apply(Dt, [this].concat(Array.prototype.slice.call(arguments)));
6780
6779
  }
6781
6780
  }, {
6782
6781
  key: "usePluginHooks",
@@ -6847,7 +6846,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
6847
6846
  r.plugins || (r.plugins = {}), r.plugins[e] = i;
6848
6847
  }
6849
6848
  }]), r;
6850
- }(yo);
6849
+ }(mo);
6851
6850
  _(Ht, "defaultPreset", null);
6852
6851
  _(Ht, "XgVideoProxy", null);
6853
6852
  Ht.instManager = ir.getInstance();
@@ -6862,7 +6861,7 @@ var Re = {
6862
6861
  WAIT_END: "waitingEnd",
6863
6862
  SEEK_START: "seekStart",
6864
6863
  SEEK_END: "seekEnd"
6865
- }, Vo = /* @__PURE__ */ function(o) {
6864
+ }, zo = /* @__PURE__ */ function(o) {
6866
6865
  F(r, o);
6867
6866
  var a = M(r);
6868
6867
  function r() {
@@ -6925,7 +6924,7 @@ var Re = {
6925
6924
  e.endState("destroy");
6926
6925
  }), this.on(Nt, function() {
6927
6926
  e.endState("urlChange"), V.logInfo("[xgLogger]".concat(e.player.playerId, " URL_CHANGE")), e._state.isFFSend && e._onReset();
6928
- }), this.on([mi, xe], this._onPlaying), this.on(yt, this._onWaiting), this.on(mt, this._onError), this.on(Bt, function() {
6927
+ }), this.on([mi, xe], this._onPlaying), this.on(mt, this._onWaiting), this.on(vt, this._onError), this.on(Bt, function() {
6929
6928
  V.logInfo("[xgLogger]".concat(e.player.playerId, " RESET")), e.endState("reset"), e._initOnceEvents(), e._onReset();
6930
6929
  });
6931
6930
  }
@@ -7013,13 +7012,13 @@ var Re = {
7013
7012
  }
7014
7013
  }]), r;
7015
7014
  }(W);
7016
- function jo() {
7015
+ function Vo() {
7017
7016
  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">
7018
7017
  <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>
7019
7018
  </svg>
7020
7019
  `, "image/svg+xml").firstChild;
7021
7020
  }
7022
- var $o = /* @__PURE__ */ function(o) {
7021
+ var jo = /* @__PURE__ */ function(o) {
7023
7022
  F(r, o);
7024
7023
  var a = M(r);
7025
7024
  function r() {
@@ -7029,7 +7028,7 @@ var $o = /* @__PURE__ */ function(o) {
7029
7028
  key: "registerIcons",
7030
7029
  value: function() {
7031
7030
  return {
7032
- replay: jo
7031
+ replay: Vo
7033
7032
  };
7034
7033
  }
7035
7034
  }, {
@@ -7102,7 +7101,7 @@ var $o = /* @__PURE__ */ function(o) {
7102
7101
  };
7103
7102
  }
7104
7103
  }]), r;
7105
- }(W), Wo = /* @__PURE__ */ function(o) {
7104
+ }(W), $o = /* @__PURE__ */ function(o) {
7106
7105
  F(r, o);
7107
7106
  var a = M(r);
7108
7107
  function r() {
@@ -7227,7 +7226,7 @@ function Si() {
7227
7226
  `, "image/svg+xml").firstChild;
7228
7227
  }
7229
7228
  var be = {};
7230
- function Go(o, a) {
7229
+ function Wo(o, a) {
7231
7230
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
7232
7231
  start: null,
7233
7232
  end: null
@@ -7245,7 +7244,7 @@ function un(o) {
7245
7244
  window.clearTimeout(be[a].id), delete be[a];
7246
7245
  });
7247
7246
  }
7248
- var Ko = /* @__PURE__ */ function(o) {
7247
+ var Go = /* @__PURE__ */ function(o) {
7249
7248
  F(r, o);
7250
7249
  var a = M(r);
7251
7250
  function r(t) {
@@ -7337,7 +7336,7 @@ var Ko = /* @__PURE__ */ function(o) {
7337
7336
  key: "animate",
7338
7337
  value: function(e) {
7339
7338
  var i = this;
7340
- this._animateId = Go("pauseplay", 400, {
7339
+ this._animateId = Wo("pauseplay", 400, {
7341
7340
  start: function() {
7342
7341
  f.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
7343
7342
  },
@@ -7420,7 +7419,7 @@ var Ko = /* @__PURE__ */ function(o) {
7420
7419
  };
7421
7420
  }
7422
7421
  }]), r;
7423
- }(W), Yo = /* @__PURE__ */ function(o) {
7422
+ }(W), Ko = /* @__PURE__ */ function(o) {
7424
7423
  F(r, o);
7425
7424
  var a = M(r);
7426
7425
  function r() {
@@ -7520,7 +7519,7 @@ function fn(o) {
7520
7519
  return r && a;
7521
7520
  }
7522
7521
  var xi = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], nr = xi.length;
7523
- function Xo() {
7522
+ function Yo() {
7524
7523
  for (var o = {
7525
7524
  width: 0,
7526
7525
  height: 0,
@@ -7534,15 +7533,15 @@ function Xo() {
7534
7533
  }
7535
7534
  return o;
7536
7535
  }
7537
- function qo(o) {
7536
+ function Xo(o) {
7538
7537
  var a = window.getComputedStyle(o);
7539
7538
  return a;
7540
7539
  }
7541
7540
  function hn(o) {
7542
7541
  if (typeof o == "string" && (o = document.querySelector(o)), !(!o || le(o) !== "object" || !o.nodeType)) {
7543
- var a = qo(o);
7542
+ var a = Xo(o);
7544
7543
  if (a.display === "none")
7545
- return Xo();
7544
+ return Yo();
7546
7545
  var r = {};
7547
7546
  r.width = o.offsetWidth, r.height = o.offsetHeight;
7548
7547
  for (var t = r.isBorderBox = a.boxSizing === "border-box", e = 0; e < nr; e++) {
@@ -7570,7 +7569,7 @@ var Zt = {
7570
7569
  mousedown: ["mousemove", "mouseup"],
7571
7570
  touchstart: ["touchmove", "touchend", "touchcancel"],
7572
7571
  pointerdown: ["pointermove", "pointerup", "pointercancel"]
7573
- }, Zo = /* @__PURE__ */ function(o) {
7572
+ }, qo = /* @__PURE__ */ function(o) {
7574
7573
  F(r, o);
7575
7574
  var a = M(r);
7576
7575
  function r(t) {
@@ -7780,7 +7779,7 @@ var Zt = {
7780
7779
  return parseInt(e, 10);
7781
7780
  }
7782
7781
  }]), r;
7783
- }(Rn), Jo = /* @__PURE__ */ function(o) {
7782
+ }(Rn), Zo = /* @__PURE__ */ function(o) {
7784
7783
  F(r, o);
7785
7784
  var a = M(r);
7786
7785
  function r(t) {
@@ -7836,7 +7835,7 @@ var Zt = {
7836
7835
  i.controls.registerPlugin(cn, s, cn.pluginName);
7837
7836
  }
7838
7837
  var l = f.checkTouchSupport() ? "touchend" : "click";
7839
- this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Zo(this.player.root, {
7838
+ this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new qo(this.player.root, {
7840
7839
  handle: this.root
7841
7840
  })), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
7842
7841
  }
@@ -7869,7 +7868,7 @@ var Zt = {
7869
7868
  var i = this.player, n = this.playerConfig, s = this.config.target || this.player.root;
7870
7869
  this.lastStyle = {}, f.addClass(i.root, "xgplayer-mini"), ["width", "height", "top", "left"].map(function(l) {
7871
7870
  e.lastStyle[l] = s.style[l], s.style[l] = "".concat(e.pos[l], "px");
7872
- }), n.fluid && (s.style["padding-top"] = ""), this.emit(It, !0), i.isMini = this.isMini = !0;
7871
+ }), n.fluid && (s.style["padding-top"] = ""), this.emit(xt, !0), i.isMini = this.isMini = !0;
7873
7872
  }
7874
7873
  }
7875
7874
  }, {
@@ -7881,7 +7880,7 @@ var Zt = {
7881
7880
  var i = this.player, n = this.playerConfig, s = this.config.target || this.player.root;
7882
7881
  f.removeClass(i.root, "xgplayer-mini"), this.lastStyle && Object.keys(this.lastStyle).map(function(l) {
7883
7882
  s.style[l] = e.lastStyle[l];
7884
- }), 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(It, !1), this.isMini = i.isMini = !1;
7883
+ }), 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;
7885
7884
  }
7886
7885
  }, {
7887
7886
  key: "destroy",
@@ -7930,7 +7929,7 @@ var Zt = {
7930
7929
  };
7931
7930
  }
7932
7931
  }]), r;
7933
- }(W), Ct = {
7932
+ }(W), kt = {
7934
7933
  mouseenter: "onMouseEnter",
7935
7934
  mouseleave: "onMouseLeave",
7936
7935
  mousemove: "onMouseMove"
@@ -8004,8 +8003,8 @@ var Zt = {
8004
8003
  key: "initEvents",
8005
8004
  value: function() {
8006
8005
  var e = this, i = this.player, n = i.media, s = i.root, l = this.playerConfig.enableContextmenu;
8007
- s && s.addEventListener("click", this.onVideoClick, !1), s && s.addEventListener("dblclick", this.onVideoDblClick, !1), Object.keys(Ct).map(function(u) {
8008
- s.addEventListener(u, e[Ct[u]], !1);
8006
+ s && s.addEventListener("click", this.onVideoClick, !1), s && s.addEventListener("dblclick", this.onVideoDblClick, !1), Object.keys(kt).map(function(u) {
8007
+ s.addEventListener(u, e[kt[u]], !1);
8009
8008
  }), !l && n && n.addEventListener("contextmenu", this.onContextmenu, !1);
8010
8009
  }
8011
8010
  }, {
@@ -8027,8 +8026,8 @@ var Zt = {
8027
8026
  key: "destroy",
8028
8027
  value: function() {
8029
8028
  var e = this, i = this.player, n = i.video, s = i.root;
8030
- 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(Ct).map(function(l) {
8031
- s.removeEventListener(l, e[Ct[l]], !1);
8029
+ 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(kt).map(function(l) {
8030
+ s.removeEventListener(l, e[kt[l]], !1);
8032
8031
  });
8033
8032
  }
8034
8033
  }], [{
@@ -8050,12 +8049,12 @@ var Zt = {
8050
8049
  TOUCH_MOVE: "touchmove",
8051
8050
  TOUCH_START: "touchstart",
8052
8051
  TOUCH_END: "touchend"
8053
- }, Qo = {
8052
+ }, Jo = {
8054
8053
  start: "touchstart",
8055
8054
  end: "touchend",
8056
8055
  move: "touchmove",
8057
8056
  cancel: "touchcancel"
8058
- }, el = {
8057
+ }, Qo = {
8059
8058
  start: "mousedown",
8060
8059
  end: "mouseup",
8061
8060
  move: "mousemove",
@@ -8064,7 +8063,7 @@ var Zt = {
8064
8063
  function gn(o) {
8065
8064
  return o && o.length > 0 ? o[o.length - 1] : null;
8066
8065
  }
8067
- function tl() {
8066
+ function el() {
8068
8067
  return {
8069
8068
  pressDelay: 600,
8070
8069
  dbClickDelay: 200,
@@ -8074,7 +8073,7 @@ function tl() {
8074
8073
  needPreventDefault: !0
8075
8074
  };
8076
8075
  }
8077
- var il = /* @__PURE__ */ function() {
8076
+ var tl = /* @__PURE__ */ function() {
8078
8077
  function o(a) {
8079
8078
  var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
8080
8079
  eventType: "touch"
@@ -8095,9 +8094,9 @@ var il = /* @__PURE__ */ function() {
8095
8094
  start: !1,
8096
8095
  x: 0,
8097
8096
  y: 0
8098
- }, this.config = tl(), Object.keys(t).map(function(e) {
8097
+ }, this.config = el(), Object.keys(t).map(function(e) {
8099
8098
  r.config[e] = t[e];
8100
- }), this.root = a, this.events = t.eventType === "mouse" ? el : Qo, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
8099
+ }), this.root = a, this.events = t.eventType === "mouse" ? Qo : Jo, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
8101
8100
  }
8102
8101
  return A(o, [{
8103
8102
  key: "_initEvent",
@@ -8176,7 +8175,7 @@ var il = /* @__PURE__ */ function() {
8176
8175
  }
8177
8176
  }]), o;
8178
8177
  }();
8179
- function nl() {
8178
+ function il() {
8180
8179
  return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
8181
8180
  xmlns:xlink="http://www.w3.org/1999/xlink">
8182
8181
  <path opacity="0.54"
@@ -8190,7 +8189,7 @@ var Qe = {
8190
8189
  SEEKING: "seeking",
8191
8190
  PLAYBACK: "playbackrate",
8192
8191
  LIGHT: ""
8193
- }, ei = ["videoClick", "videoDbClick"], rl = /* @__PURE__ */ function(o) {
8192
+ }, ei = ["videoClick", "videoDbClick"], nl = /* @__PURE__ */ function(o) {
8194
8193
  F(r, o);
8195
8194
  var a = M(r);
8196
8195
  function r(t) {
@@ -8262,7 +8261,7 @@ var Qe = {
8262
8261
  value: function() {
8263
8262
  return {
8264
8263
  seekTipIcon: {
8265
- icon: nl,
8264
+ icon: il,
8266
8265
  class: "xg-seek-pre"
8267
8266
  }
8268
8267
  };
@@ -8277,7 +8276,7 @@ var Qe = {
8277
8276
  var i = this.playerConfig, n = this.config, s = this.player;
8278
8277
  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();
8279
8278
  var l = this.domEventType === "mouse" ? "mouse" : "touch";
8280
- this.touch = new il(this.root, {
8279
+ this.touch = new tl(this.root, {
8281
8280
  eventType: l,
8282
8281
  needPreventDefault: !this.config.disableGesture
8283
8282
  }), this.root.addEventListener("contextmenu", function(g) {
@@ -8619,7 +8618,7 @@ var Qe = {
8619
8618
  }
8620
8619
  }]), r;
8621
8620
  }(W);
8622
- function sl(o) {
8621
+ function rl(o) {
8623
8622
  o.preventDefault(), o.returnValue = !1;
8624
8623
  }
8625
8624
  function pn(o) {
@@ -8868,7 +8867,7 @@ var vn = /* @__PURE__ */ function(o) {
8868
8867
  isPress: n
8869
8868
  }, this.keyCodeMap[s[l]]));
8870
8869
  }
8871
- sl(i), i.stopPropagation();
8870
+ rl(i), i.stopPropagation();
8872
8871
  break;
8873
8872
  }
8874
8873
  }
@@ -8910,13 +8909,13 @@ var vn = /* @__PURE__ */ function(o) {
8910
8909
  }
8911
8910
  }]), r;
8912
8911
  }(He);
8913
- function al() {
8912
+ function sl() {
8914
8913
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
8915
8914
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
8916
8915
  </svg>
8917
8916
  `, "image/svg+xml").firstChild;
8918
8917
  }
8919
- var ol = /* @__PURE__ */ function(o) {
8918
+ var al = /* @__PURE__ */ function(o) {
8920
8919
  F(r, o);
8921
8920
  var a = M(r);
8922
8921
  function r() {
@@ -8926,7 +8925,7 @@ var ol = /* @__PURE__ */ function(o) {
8926
8925
  key: "registerIcons",
8927
8926
  value: function() {
8928
8927
  return {
8929
- loadingIcon: al
8928
+ loadingIcon: sl
8930
8929
  };
8931
8930
  }
8932
8931
  }, {
@@ -8955,7 +8954,7 @@ var ol = /* @__PURE__ */ function(o) {
8955
8954
  };
8956
8955
  }
8957
8956
  }]), r;
8958
- }(W), ll = [{
8957
+ }(W), ol = [{
8959
8958
  tag: "xg-cache",
8960
8959
  className: "xgplayer-progress-cache",
8961
8960
  styleKey: "cachedColor"
@@ -8963,7 +8962,7 @@ var ol = /* @__PURE__ */ function(o) {
8963
8962
  tag: "xg-played",
8964
8963
  className: "xgplayer-progress-played",
8965
8964
  styleKey: "playedColor"
8966
- }], ul = /* @__PURE__ */ function() {
8965
+ }], ll = /* @__PURE__ */ function() {
8967
8966
  function o(a) {
8968
8967
  P(this, o), this.fragments = a.fragments || [], this.fragments.length === 0 && this.fragments.push({
8969
8968
  percent: 1
@@ -9150,7 +9149,7 @@ var ol = /* @__PURE__ */ function(o) {
9150
9149
  var l = f.createDom("xg-inner", "", {
9151
9150
  style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
9152
9151
  }, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
9153
- return r.root.appendChild(l), ll.forEach(function(u) {
9152
+ return r.root.appendChild(l), ol.forEach(function(u) {
9154
9153
  l.appendChild(f.createDom(u.tag, "", {
9155
9154
  style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
9156
9155
  }, u.className));
@@ -9166,7 +9165,7 @@ var ol = /* @__PURE__ */ function(o) {
9166
9165
  }(), mn = {
9167
9166
  POINT: "inner-focus-point",
9168
9167
  HIGHLIGHT: "inner-focus-highlight"
9169
- }, cl = /* @__PURE__ */ function(o) {
9168
+ }, ul = /* @__PURE__ */ function(o) {
9170
9169
  F(r, o);
9171
9170
  var a = M(r);
9172
9171
  function r(t) {
@@ -9296,7 +9295,7 @@ var ol = /* @__PURE__ */ function(o) {
9296
9295
  e.emitUserAction("fragment_focus", "fragment_focus", u);
9297
9296
  }
9298
9297
  });
9299
- this.innerList ? this.innerList.reset(s) : (this.innerList = new ul(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
9298
+ this.innerList ? this.innerList.reset(s) : (this.innerList = new ll(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
9300
9299
  e[l] = e.innerList[l].bind(e.innerList);
9301
9300
  }));
9302
9301
  }
@@ -9606,7 +9605,7 @@ var ol = /* @__PURE__ */ function(o) {
9606
9605
  this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
9607
9606
  }
9608
9607
  }]), r;
9609
- }(W), fl = /* @__PURE__ */ function(o) {
9608
+ }(W), cl = /* @__PURE__ */ function(o) {
9610
9609
  F(r, o);
9611
9610
  var a = M(r);
9612
9611
  function r() {
@@ -9618,7 +9617,7 @@ var ol = /* @__PURE__ */ function(o) {
9618
9617
  var e = this;
9619
9618
  B(N(r.prototype), "afterCreate", this).call(this);
9620
9619
  var i = this.player, n = this.config;
9621
- n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([ut, mt, Xe], function() {
9620
+ n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([ut, vt, Xe], function() {
9622
9621
  e.animate(i.paused);
9623
9622
  }), this.on(ge, function() {
9624
9623
  e.animate(i.paused);
@@ -9694,14 +9693,14 @@ var ol = /* @__PURE__ */ function(o) {
9694
9693
  }
9695
9694
  }]), r;
9696
9695
  }(qe);
9697
- function hl() {
9696
+ function fl() {
9698
9697
  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">
9699
9698
  <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
9700
9699
  <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>
9701
9700
  </g>
9702
9701
  </svg>`, "image/svg+xml").firstChild;
9703
9702
  }
9704
- var dl = /* @__PURE__ */ function(o) {
9703
+ var hl = /* @__PURE__ */ function(o) {
9705
9704
  F(r, o);
9706
9705
  var a = M(r);
9707
9706
  function r() {
@@ -9720,7 +9719,7 @@ var dl = /* @__PURE__ */ function(o) {
9720
9719
  value: function() {
9721
9720
  return {
9722
9721
  screenBack: {
9723
- icon: hl,
9722
+ icon: fl,
9724
9723
  class: "xg-fullscreen-back"
9725
9724
  }
9726
9725
  };
@@ -9762,19 +9761,19 @@ var dl = /* @__PURE__ */ function(o) {
9762
9761
  }
9763
9762
  }]), r;
9764
9763
  }(W);
9765
- function gl() {
9764
+ function dl() {
9766
9765
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9767
9766
  <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>
9768
9767
  </svg>
9769
9768
  `, "image/svg+xml").firstChild;
9770
9769
  }
9771
- function pl() {
9770
+ function gl() {
9772
9771
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9773
9772
  <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>
9774
9773
  </svg>
9775
9774
  `, "image/svg+xml").firstChild;
9776
9775
  }
9777
- var vl = /* @__PURE__ */ function(o) {
9776
+ var pl = /* @__PURE__ */ function(o) {
9778
9777
  F(r, o);
9779
9778
  var a = M(r);
9780
9779
  function r() {
@@ -9809,7 +9808,7 @@ var vl = /* @__PURE__ */ function(o) {
9809
9808
  var u = e.find(".xg-tips");
9810
9809
  u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
9811
9810
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
9812
- plugin: dl,
9811
+ plugin: hl,
9813
9812
  options: {
9814
9813
  config: {
9815
9814
  onClick: function(u) {
@@ -9825,11 +9824,11 @@ var vl = /* @__PURE__ */ function(o) {
9825
9824
  value: function() {
9826
9825
  return {
9827
9826
  fullscreen: {
9828
- icon: gl,
9827
+ icon: dl,
9829
9828
  class: "xg-get-fullscreen"
9830
9829
  },
9831
9830
  exitFullscreen: {
9832
- icon: pl,
9831
+ icon: gl,
9833
9832
  class: "xg-exit-fullscreen"
9834
9833
  }
9835
9834
  };
@@ -9910,7 +9909,7 @@ var vl = /* @__PURE__ */ function(o) {
9910
9909
  };
9911
9910
  }
9912
9911
  }]), r;
9913
- }(qe), ml = /* @__PURE__ */ function(o) {
9912
+ }(qe), vl = /* @__PURE__ */ function(o) {
9914
9913
  F(r, o);
9915
9914
  var a = M(r);
9916
9915
  function r(t) {
@@ -10060,7 +10059,7 @@ var vl = /* @__PURE__ */ function(o) {
10060
10059
  };
10061
10060
  }
10062
10061
  }]), r;
10063
- }(W), yl = /* @__PURE__ */ function(o) {
10062
+ }(W), ml = /* @__PURE__ */ function(o) {
10064
10063
  F(r, o);
10065
10064
  var a = M(r);
10066
10065
  function r() {
@@ -10198,28 +10197,28 @@ var vl = /* @__PURE__ */ function(o) {
10198
10197
  }
10199
10198
  }]), r;
10200
10199
  }(He);
10201
- function _l() {
10200
+ function yl() {
10202
10201
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
10203
10202
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
10204
10203
  <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>
10205
10204
  </svg>
10206
10205
  `, "image/svg+xml").firstChild;
10207
10206
  }
10208
- function kl() {
10207
+ function _l() {
10209
10208
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
10210
10209
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
10211
10210
  <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>
10212
10211
  </svg>
10213
10212
  `, "image/svg+xml").firstChild;
10214
10213
  }
10215
- function Cl() {
10214
+ function kl() {
10216
10215
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
10217
10216
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
10218
10217
  <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>
10219
10218
  </svg>
10220
10219
  `, "image/svg+xml").firstChild;
10221
10220
  }
10222
- var wl = /* @__PURE__ */ function(o) {
10221
+ var Cl = /* @__PURE__ */ function(o) {
10223
10222
  F(r, o);
10224
10223
  var a = M(r);
10225
10224
  function r() {
@@ -10267,15 +10266,15 @@ var wl = /* @__PURE__ */ function(o) {
10267
10266
  value: function() {
10268
10267
  return {
10269
10268
  volumeSmall: {
10270
- icon: kl,
10269
+ icon: _l,
10271
10270
  class: "xg-volume-small"
10272
10271
  },
10273
10272
  volumeLarge: {
10274
- icon: _l,
10273
+ icon: yl,
10275
10274
  class: "xg-volume"
10276
10275
  },
10277
10276
  volumeMuted: {
10278
- icon: Cl,
10277
+ icon: kl,
10279
10278
  class: "xg-volume-mute"
10280
10279
  }
10281
10280
  };
@@ -10414,7 +10413,7 @@ var wl = /* @__PURE__ */ function(o) {
10414
10413
  }
10415
10414
  }]), r;
10416
10415
  }(W);
10417
- function bl() {
10416
+ function wl() {
10418
10417
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
10419
10418
  <g clip-path="url(#clip0)">
10420
10419
  <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"/>
@@ -10428,7 +10427,7 @@ function bl() {
10428
10427
  </svg>
10429
10428
  `, "image/svg+xml").firstChild;
10430
10429
  }
10431
- var Tl = /* @__PURE__ */ function(o) {
10430
+ var bl = /* @__PURE__ */ function(o) {
10432
10431
  F(r, o);
10433
10432
  var a = M(r);
10434
10433
  function r(t) {
@@ -10491,7 +10490,7 @@ var Tl = /* @__PURE__ */ function(o) {
10491
10490
  key: "registerIcons",
10492
10491
  value: function() {
10493
10492
  return {
10494
- rotate: bl
10493
+ rotate: wl
10495
10494
  };
10496
10495
  }
10497
10496
  }, {
@@ -10524,14 +10523,14 @@ var Tl = /* @__PURE__ */ function(o) {
10524
10523
  }
10525
10524
  }]), r;
10526
10525
  }(qe);
10527
- function El() {
10526
+ function Tl() {
10528
10527
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10529
10528
  <path fill-rule="evenodd" clip-rule="evenodd"
10530
10529
  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"
10531
10530
  fill="white" />
10532
10531
  </svg>`, "image/svg+xml").firstChild;
10533
10532
  }
10534
- function Sl() {
10533
+ function El() {
10535
10534
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10536
10535
  <path fill-rule="evenodd" clip-rule="evenodd"
10537
10536
  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"
@@ -10545,7 +10544,7 @@ var et = {
10545
10544
  PIP: "picture-in-picture",
10546
10545
  INLINE: "inline",
10547
10546
  FULLSCREEN: "fullscreen"
10548
- }, xl = /* @__PURE__ */ function(o) {
10547
+ }, Sl = /* @__PURE__ */ function(o) {
10549
10548
  F(r, o);
10550
10549
  var a = M(r);
10551
10550
  function r() {
@@ -10585,11 +10584,11 @@ var et = {
10585
10584
  value: function() {
10586
10585
  return {
10587
10586
  pipIcon: {
10588
- icon: El,
10587
+ icon: Tl,
10589
10588
  class: "xg-get-pip"
10590
10589
  },
10591
10590
  pipIconExit: {
10592
- icon: Sl,
10591
+ icon: El,
10593
10592
  class: "xg-exit-pip"
10594
10593
  }
10595
10594
  };
@@ -10748,20 +10747,20 @@ var et = {
10748
10747
  }
10749
10748
  }]), r;
10750
10749
  }(qe);
10751
- function Il() {
10750
+ function xl() {
10752
10751
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
10753
10752
  <path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
10754
10753
  </svg>
10755
10754
  `, "image/svg+xml").firstChild;
10756
10755
  }
10757
- var Pl = /* @__PURE__ */ function(o) {
10756
+ var Il = /* @__PURE__ */ function(o) {
10758
10757
  F(r, o);
10759
10758
  var a = M(r);
10760
10759
  function r(t) {
10761
10760
  var e;
10762
10761
  return P(this, r), e = a.call(this, t), _(y(e), "playNext", function(i) {
10763
10762
  var n = y(e), s = n.player;
10764
- i.preventDefault(), i.stopPropagation(), e.idx + 1 < e.config.urlList.length ? (e.idx++, e.nextHandler(e.config.urlList[e.idx], e.idx), s.emit(Pt, e.idx + 1)) : (e.nextHandler(), s.emit(Pt));
10763
+ 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));
10765
10764
  }), e.idx = -1, e;
10766
10765
  }
10767
10766
  return A(r, [{
@@ -10773,7 +10772,7 @@ var Pl = /* @__PURE__ */ function(o) {
10773
10772
  key: "registerIcons",
10774
10773
  value: function() {
10775
10774
  return {
10776
- playNext: Il
10775
+ playNext: xl
10777
10776
  };
10778
10777
  }
10779
10778
  }, {
@@ -10895,9 +10894,9 @@ Use Save As... to download, then click back to return to this page.`) && (locati
10895
10894
  };
10896
10895
  });
10897
10896
  })(rr);
10898
- var Al = rr.exports;
10899
- const Ll = /* @__PURE__ */ gi(Al);
10900
- function Dl() {
10897
+ var Pl = rr.exports;
10898
+ const Al = /* @__PURE__ */ gi(Pl);
10899
+ function Ll() {
10901
10900
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
10902
10901
  <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10903
10902
  <g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
@@ -10914,7 +10913,7 @@ function Dl() {
10914
10913
  </svg>
10915
10914
  `, "image/svg+xml").firstChild;
10916
10915
  }
10917
- var Ol = /* @__PURE__ */ function(o) {
10916
+ var Dl = /* @__PURE__ */ function(o) {
10918
10917
  F(r, o);
10919
10918
  var a = M(r);
10920
10919
  function r(t) {
@@ -10925,7 +10924,7 @@ var Ol = /* @__PURE__ */ function(o) {
10925
10924
  var n = e.playerConfig.url, s = "";
10926
10925
  f.typeOf(n) === "String" ? s = n : f.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
10927
10926
  var l = e.getAbsoluteURL(s);
10928
- Ll(l), e.isLock = !0, e.timer = window.setTimeout(function() {
10927
+ Al(l), e.isLock = !0, e.timer = window.setTimeout(function() {
10929
10928
  e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
10930
10929
  }, 300);
10931
10930
  }
@@ -10944,7 +10943,7 @@ var Ol = /* @__PURE__ */ function(o) {
10944
10943
  key: "registerIcons",
10945
10944
  value: function() {
10946
10945
  return {
10947
- download: Dl
10946
+ download: Ll
10948
10947
  };
10949
10948
  }
10950
10949
  }, {
@@ -10986,7 +10985,7 @@ var Ol = /* @__PURE__ */ function(o) {
10986
10985
  };
10987
10986
  }
10988
10987
  }]), r;
10989
- }(qe), Rl = /* @__PURE__ */ function(o) {
10988
+ }(qe), Ol = /* @__PURE__ */ function(o) {
10990
10989
  F(r, o);
10991
10990
  var a = M(r);
10992
10991
  function r() {
@@ -11112,7 +11111,7 @@ var Ol = /* @__PURE__ */ function(o) {
11112
11111
  };
11113
11112
  }
11114
11113
  }]), r;
11115
- }(qe), Fl = /* @__PURE__ */ function() {
11114
+ }(qe), Rl = /* @__PURE__ */ function() {
11116
11115
  function o(a) {
11117
11116
  P(this, o), this.config = a.config, this.parent = a.root, this.root = f.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), a.root.appendChild(this.root);
11118
11117
  var r = this.config.maxHeight;
@@ -11192,10 +11191,10 @@ var Ol = /* @__PURE__ */ function(o) {
11192
11191
  CLICK: "click",
11193
11192
  HOVER: "hover"
11194
11193
  };
11195
- function Ml(o, a) {
11194
+ function Fl(o, a) {
11196
11195
  return o === we.SIDE ? a === Y.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
11197
11196
  }
11198
- var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11197
+ var je = U.device === "mobile", Ot = /* @__PURE__ */ function(o) {
11199
11198
  F(r, o);
11200
11199
  var a = M(r);
11201
11200
  function r(t) {
@@ -11306,7 +11305,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11306
11305
  var c = {
11307
11306
  config: {
11308
11307
  data: e || [],
11309
- className: Ml(s.listType, s.position),
11308
+ className: Fl(s.listType, s.position),
11310
11309
  onItemClick: function(v, m) {
11311
11310
  n.onItemClick(v, m);
11312
11311
  },
@@ -11316,7 +11315,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11316
11315
  };
11317
11316
  if (this.config.isShowIcon) {
11318
11317
  var h = this.player.root.getBoundingClientRect(), g = h.height, p = s.listType === we.MIDDLE ? g - 50 : g;
11319
- p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new Fl(c), this.changeCurrentText(), this.show();
11318
+ p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new Rl(c), this.changeCurrentText(), this.show();
11320
11319
  }
11321
11320
  this._resizeList();
11322
11321
  }
@@ -11367,7 +11366,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11367
11366
  };
11368
11367
  }
11369
11368
  }]), r;
11370
- }(W), Nl = /* @__PURE__ */ function(o) {
11369
+ }(W), Ml = /* @__PURE__ */ function(o) {
11371
11370
  F(r, o);
11372
11371
  var a = M(r);
11373
11372
  function r(t) {
@@ -11456,7 +11455,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11456
11455
  }, {
11457
11456
  key: "defaultConfig",
11458
11457
  get: function() {
11459
- return Q(Q({}, Rt.defaultConfig), {}, {
11458
+ return Q(Q({}, Ot.defaultConfig), {}, {
11460
11459
  position: Y.CONTROLS_RIGHT,
11461
11460
  index: 3,
11462
11461
  list: [],
@@ -11468,7 +11467,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11468
11467
  });
11469
11468
  }
11470
11469
  }]), r;
11471
- }(Rt), Bl = /* @__PURE__ */ function(o) {
11470
+ }(Ot), Nl = /* @__PURE__ */ function(o) {
11472
11471
  F(r, o);
11473
11472
  var a = M(r);
11474
11473
  function r(t) {
@@ -11550,7 +11549,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11550
11549
  }, {
11551
11550
  key: "defaultConfig",
11552
11551
  get: function() {
11553
- return Q(Q({}, Rt.defaultConfig), {}, {
11552
+ return Q(Q({}, Ot.defaultConfig), {}, {
11554
11553
  position: Y.CONTROLS_RIGHT,
11555
11554
  index: 4,
11556
11555
  list: [2, 1.5, 1, 0.75, 0.5],
@@ -11560,14 +11559,14 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11560
11559
  });
11561
11560
  }
11562
11561
  }]), r;
11563
- }(Rt);
11564
- function Hl() {
11562
+ }(Ot);
11563
+ function Bl() {
11565
11564
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11566
11565
  <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>
11567
11566
  </svg>
11568
11567
  `, "image/svg+xml").firstChild;
11569
11568
  }
11570
- function Ul() {
11569
+ function Hl() {
11571
11570
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11572
11571
  <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>
11573
11572
  </svg>
@@ -11588,7 +11587,7 @@ var yn = /* @__PURE__ */ function(o) {
11588
11587
  key: "afterCreate",
11589
11588
  value: function() {
11590
11589
  var e = this;
11591
- B(N(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(xt, function(i) {
11590
+ B(N(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) {
11592
11591
  e.animate(i);
11593
11592
  }), this.btnClick = this.btnClick.bind(this), this.handleCssFullscreen = this.hook("cssFullscreen_change", this.btnClick, {
11594
11593
  pre: function(n) {
@@ -11627,11 +11626,11 @@ var yn = /* @__PURE__ */ function(o) {
11627
11626
  value: function() {
11628
11627
  return {
11629
11628
  cssFullscreen: {
11630
- icon: Hl,
11629
+ icon: Bl,
11631
11630
  class: "xg-get-cssfull"
11632
11631
  },
11633
11632
  exitCssFullscreen: {
11634
- icon: Ul,
11633
+ icon: Hl,
11635
11634
  class: "xg-exit-cssfull"
11636
11635
  }
11637
11636
  };
@@ -11667,7 +11666,7 @@ var yn = /* @__PURE__ */ function(o) {
11667
11666
  };
11668
11667
  }
11669
11668
  }]), r;
11670
- }(qe), zl = /* @__PURE__ */ function(o) {
11669
+ }(qe), Ul = /* @__PURE__ */ function(o) {
11671
11670
  F(r, o);
11672
11671
  var a = M(r);
11673
11672
  function r() {
@@ -11681,7 +11680,7 @@ var yn = /* @__PURE__ */ function(o) {
11681
11680
  pre: function(n) {
11682
11681
  n.preventDefault(), n.stopPropagation();
11683
11682
  }
11684
- }), this.onError = this.hook("showError", this.handleError), this.bind(".xgplayer-error-refresh", "click", this.clickHandler), this.on(mt, function(i) {
11683
+ }), this.onError = this.hook("showError", this.handleError), this.bind(".xgplayer-error-refresh", "click", this.clickHandler), this.on(vt, function(i) {
11685
11684
  e.onError(i);
11686
11685
  });
11687
11686
  }
@@ -11728,7 +11727,7 @@ var yn = /* @__PURE__ */ function(o) {
11728
11727
  return "error";
11729
11728
  }
11730
11729
  }]), r;
11731
- }(W), Vl = /* @__PURE__ */ function(o) {
11730
+ }(W), zl = /* @__PURE__ */ function(o) {
11732
11731
  F(r, o);
11733
11732
  var a = M(r);
11734
11733
  function r() {
@@ -11958,7 +11957,7 @@ var kn = {
11958
11957
  return r.find('xg-spot[data-id="'.concat(a, '"]'));
11959
11958
  }
11960
11959
  };
11961
- function jl(o) {
11960
+ function Vl(o) {
11962
11961
  var a = o.config, r = o.player;
11963
11962
  Object.keys(kn).map(function(e) {
11964
11963
  o[e] = kn[e].bind(o);
@@ -11982,7 +11981,7 @@ var it = {
11982
11981
  click: "onProgressClick",
11983
11982
  mouseover: "onProgressMouseOver",
11984
11983
  mouseenter: "onProgressMouseOver"
11985
- }, $l = /* @__PURE__ */ function(o) {
11984
+ }, jl = /* @__PURE__ */ function(o) {
11986
11985
  F(r, o);
11987
11986
  var a = M(r);
11988
11987
  function r(t) {
@@ -12033,7 +12032,7 @@ var it = {
12033
12032
  n.seekTime && e.player.seek(n.seekTime);
12034
12033
  }), this.transformTimeHook = this.hook("transformTime", function(i) {
12035
12034
  e.setTimeContent(f.format(i));
12036
- }), jl(this), this.on(Ue, function() {
12035
+ }), Vl(this), this.on(Ue, function() {
12037
12036
  e.show();
12038
12037
  }), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
12039
12038
  }
@@ -12257,7 +12256,7 @@ var it = {
12257
12256
  };
12258
12257
  }
12259
12258
  }]), r;
12260
- }(W), Wl = /* @__PURE__ */ function(o) {
12259
+ }(W), $l = /* @__PURE__ */ function(o) {
12261
12260
  F(r, o);
12262
12261
  var a = M(r);
12263
12262
  function r(t) {
@@ -12395,7 +12394,7 @@ var it = {
12395
12394
  function ti(o) {
12396
12395
  return o ? "background:".concat(o, ";") : "";
12397
12396
  }
12398
- var Gl = /* @__PURE__ */ function(o) {
12397
+ var Wl = /* @__PURE__ */ function(o) {
12399
12398
  F(r, o);
12400
12399
  var a = M(r);
12401
12400
  function r() {
@@ -12483,14 +12482,14 @@ var Gl = /* @__PURE__ */ function(o) {
12483
12482
  FRAME_RATE: "framerate",
12484
12483
  POSTER: "poster"
12485
12484
  };
12486
- function Kl() {
12485
+ function Gl() {
12487
12486
  try {
12488
12487
  return parseInt(window.performance.now(), 10);
12489
12488
  } catch {
12490
12489
  return (/* @__PURE__ */ new Date()).getTime();
12491
12490
  }
12492
12491
  }
12493
- function Yl() {
12492
+ function Kl() {
12494
12493
  try {
12495
12494
  var o = document.createElement("canvas").getContext;
12496
12495
  return !!o;
@@ -12498,7 +12497,7 @@ function Yl() {
12498
12497
  return !1;
12499
12498
  }
12500
12499
  }
12501
- var wt = null, Xl = /* @__PURE__ */ function(o) {
12500
+ var Ct = null, Yl = /* @__PURE__ */ function(o) {
12502
12501
  F(r, o);
12503
12502
  var a = M(r);
12504
12503
  function r() {
@@ -12519,7 +12518,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
12519
12518
  !t.player.paused && t._checkIfCanStart() && t.start(0, l);
12520
12519
  }
12521
12520
  }), _(y(t), "start", function(s, l) {
12522
- var u = t.player.video, c = Kl(), h = t.checkVideoIsSupport(u);
12521
+ var u = t.player.video, c = Gl(), h = t.checkVideoIsSupport(u);
12523
12522
  !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 === nt.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(h, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? f.setTimeout(y(t), t.start, l) : f.requestAnimationFrame(t.start));
12524
12523
  }), _(y(t), "stop", function() {
12525
12524
  t.frameId && (t._loopType === "timer" ? f.clearTimeout(y(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
@@ -12692,7 +12691,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
12692
12691
  }, {
12693
12692
  key: "isSupport",
12694
12693
  get: function() {
12695
- return typeof wt == "boolean" || (wt = Yl()), wt;
12694
+ return typeof Ct == "boolean" || (Ct = Kl()), Ct;
12696
12695
  }
12697
12696
  }, {
12698
12697
  key: "supportCanvasFilter",
@@ -12700,7 +12699,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
12700
12699
  return !(U.browser === "safari" || U.browser === "firefox");
12701
12700
  }
12702
12701
  }]), r;
12703
- }(W), ql = {
12702
+ }(W), Xl = {
12704
12703
  LANG: "zh-cn",
12705
12704
  TEXT: {
12706
12705
  ERROR_TYPES: {
@@ -12775,7 +12774,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
12775
12774
  FORWARD: "快进中",
12776
12775
  LIVE_TIP: "直播"
12777
12776
  }
12778
- }, ht = "info", ii = Zn, Zl = /* @__PURE__ */ function(o) {
12777
+ }, ht = "info", ii = Zn, ql = /* @__PURE__ */ function(o) {
12779
12778
  F(r, o);
12780
12779
  var a = M(r);
12781
12780
  function r() {
@@ -12814,7 +12813,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
12814
12813
  }, {
12815
12814
  key: "afterCreate",
12816
12815
  value: function() {
12817
- this.reset(), this.on(At, this._recordUserActions), this.on(ii.STATS_INFO, this._recordInfo), this.on(ii.STATS_DOWNLOAD, this._downloadStats), this.on(ii.STATS_RESET, this._onReset);
12816
+ this.reset(), this.on(Pt, this._recordUserActions), this.on(ii.STATS_INFO, this._recordInfo), this.on(ii.STATS_DOWNLOAD, this._downloadStats), this.on(ii.STATS_RESET, this._onReset);
12818
12817
  }
12819
12818
  }, {
12820
12819
  key: "destroy",
@@ -12960,7 +12959,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
12960
12959
  key: "afterCreate",
12961
12960
  value: function() {
12962
12961
  var e = this, i = this.config.useGapJump;
12963
- 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(yt, this.onGapJump), this.on(ge, function() {
12962
+ 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(mt, this.onGapJump), this.on(ge, function() {
12964
12963
  e.hasPlayed = !0;
12965
12964
  }), this.on(Ft, function() {
12966
12965
  e.seekingEventReceived = !0;
@@ -13009,7 +13008,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
13009
13008
  }]), r;
13010
13009
  }(W);
13011
13010
  ar.BROWSER_GAP_TOLERANCE = 1e-3;
13012
- var Jl = /* @__PURE__ */ function(o) {
13011
+ var Zl = /* @__PURE__ */ function(o) {
13013
13012
  F(r, o);
13014
13013
  var a = M(r);
13015
13014
  function r() {
@@ -13033,7 +13032,7 @@ var Jl = /* @__PURE__ */ function(o) {
13033
13032
  key: "afterCreate",
13034
13033
  value: function() {
13035
13034
  var e = this, i = this.config, n = i.useWaitingTimeoutJump, s = i.jumpSize;
13036
- n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(yt, this.onWaiting), this.on([mi, xe], function() {
13035
+ n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(mt, this.onWaiting), this.on([mi, xe], function() {
13037
13036
  clearTimeout(e.timer), e.timer = null, e.jumpSize = e.config.jumpSize;
13038
13037
  }), this.on(ge, function() {
13039
13038
  e.hasPlayed = !0;
@@ -13055,7 +13054,7 @@ var Jl = /* @__PURE__ */ function(o) {
13055
13054
  };
13056
13055
  }
13057
13056
  }]), r;
13058
- }(W), rt = "cdn", bt = ["cdn"], Ql = /* @__PURE__ */ function(o) {
13057
+ }(W), rt = "cdn", wt = ["cdn"], Jl = /* @__PURE__ */ function(o) {
13059
13058
  F(r, o);
13060
13059
  var a = M(r);
13061
13060
  function r() {
@@ -13074,7 +13073,7 @@ var Jl = /* @__PURE__ */ function(o) {
13074
13073
  }), _(y(t), "startTimer", function() {
13075
13074
  f.isMSE(t.player.video) || (t.initSpeedList(), t.cnt = 0, t.timer = setTimeout(t.testSpeed, t.config.testTimeStep));
13076
13075
  }), _(y(t), "initSpeedList", function() {
13077
- t.speedListCache = {}, bt.forEach(function(s) {
13076
+ t.speedListCache = {}, wt.forEach(function(s) {
13078
13077
  t.speedListCache[s] = [];
13079
13078
  });
13080
13079
  }), _(y(t), "_onRealSpeedChange", function(s) {
@@ -13131,7 +13130,7 @@ var Jl = /* @__PURE__ */ function(o) {
13131
13130
  key: "afterCreate",
13132
13131
  value: function() {
13133
13132
  var e = this.config, i = e.openSpeed, n = e.addSpeedTypeList;
13134
- (n == null ? void 0 : n.length) > 0 && bt.push.apply(bt, ye(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Pe, St], this.startTimer);
13133
+ (n == null ? void 0 : n.length) > 0 && wt.push.apply(wt, ye(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);
13135
13134
  }
13136
13135
  }, {
13137
13136
  key: "getSpeedName",
@@ -13158,7 +13157,7 @@ var Jl = /* @__PURE__ */ function(o) {
13158
13157
  key: "destroy",
13159
13158
  value: function() {
13160
13159
  var e = this;
13161
- this.off("real_time_speed", this._onRealSpeedChange), this.off([Pe, St], this.startTimer), bt.forEach(function(i) {
13160
+ this.off("real_time_speed", this._onRealSpeedChange), this.off([Pe, Et], this.startTimer), wt.forEach(function(i) {
13162
13161
  e.speedListCache && e.speedListCache[i] && (e.speedListCache[i] = []);
13163
13162
  }), 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);
13164
13163
  }
@@ -13181,7 +13180,7 @@ var Jl = /* @__PURE__ */ function(o) {
13181
13180
  };
13182
13181
  }
13183
13182
  }]), r;
13184
- }(W), eu = /* @__PURE__ */ function(o) {
13183
+ }(W), Ql = /* @__PURE__ */ function(o) {
13185
13184
  F(r, o);
13186
13185
  var a = M(r);
13187
13186
  function r() {
@@ -13291,24 +13290,24 @@ var Jl = /* @__PURE__ */ function(o) {
13291
13290
  }
13292
13291
  }]), r;
13293
13292
  }(W);
13294
- at.use(ql);
13295
- var tu = /* @__PURE__ */ A(function o(a, r) {
13293
+ at.use(Xl);
13294
+ var eu = /* @__PURE__ */ A(function o(a, r) {
13296
13295
  var t, e, i;
13297
13296
  P(this, o);
13298
- var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [yl, cl, Gl, $l, ml], u = [].concat(l, [fl, vl, Tl, Pl, Nl, Bl, Ol, Rl, wl, xl]), c = [$o, Wo, Ko, ol, Yo, zl, Vl, Wl, Jo];
13299
- this.plugins = [Zl, Vo].concat(ye(u), c, [ar, Jl]);
13297
+ var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [ml, ul, Wl, jl, vl], u = [].concat(l, [cl, pl, bl, Il, Ml, Nl, Dl, Ol, Cl, Sl]), c = [jo, $o, Go, al, Ko, Ul, zl, $l, Zo];
13298
+ this.plugins = [ql, zo].concat(ye(u), c, [ar, Zl]);
13300
13299
  var h = n ? "mobile" : U.device;
13301
13300
  switch (h) {
13302
13301
  case "pc":
13303
- (t = this.plugins).push.apply(t, [vn, Qt, yn, Ql, eu]);
13302
+ (t = this.plugins).push.apply(t, [vn, Qt, yn, Jl, Ql]);
13304
13303
  break;
13305
13304
  case "mobile":
13306
- (e = this.plugins).push.apply(e, [rl]);
13305
+ (e = this.plugins).push.apply(e, [nl]);
13307
13306
  break;
13308
13307
  default:
13309
13308
  (i = this.plugins).push.apply(i, [vn, Qt, yn]);
13310
13309
  }
13311
- (U.os.isIpad || h === "pc") && this.plugins.push(Xl), U.os.isIpad && this.plugins.push(Qt), this.ignores = [], this.i18n = [];
13310
+ (U.os.isIpad || h === "pc") && this.plugins.push(Yl), U.os.isIpad && this.plugins.push(Qt), this.ignores = [], this.i18n = [];
13312
13311
  }), _e = /* @__PURE__ */ function(o) {
13313
13312
  F(r, o);
13314
13313
  var a = M(r);
@@ -13317,20 +13316,20 @@ var tu = /* @__PURE__ */ A(function o(a, r) {
13317
13316
  }
13318
13317
  return A(r);
13319
13318
  }(Ht);
13320
- _(_e, "defaultPreset", tu);
13319
+ _(_e, "defaultPreset", eu);
13321
13320
  _(_e, "Util", f);
13322
13321
  _(_e, "Sniffer", U);
13323
- _(_e, "Errors", Et);
13324
- _(_e, "Events", vo);
13322
+ _(_e, "Errors", Tt);
13323
+ _(_e, "Events", po);
13325
13324
  _(_e, "Plugin", W);
13326
13325
  _(_e, "BasePlugin", He);
13327
13326
  _(_e, "I18N", at);
13328
13327
  _(_e, "STATE_CLASS", T);
13329
13328
  _(_e, "InstManager", ir);
13330
- const iu = ["id"], nu = /* @__PURE__ */ ee({
13329
+ const tu = ["id"], iu = /* @__PURE__ */ ee({
13331
13330
  name: "ElImageViewer",
13332
13331
  __name: "Player",
13333
- props: /* @__PURE__ */ Tt({
13332
+ props: /* @__PURE__ */ bt({
13334
13333
  url: {
13335
13334
  type: String,
13336
13335
  default: ""
@@ -13351,7 +13350,7 @@ const iu = ["id"], nu = /* @__PURE__ */ ee({
13351
13350
  },
13352
13351
  modelModifiers: {}
13353
13352
  }),
13354
- emits: /* @__PURE__ */ Tt({
13353
+ emits: /* @__PURE__ */ bt({
13355
13354
  close: () => !0
13356
13355
  }, ["update:modelValue"]),
13357
13356
  setup(o, { emit: a }) {
@@ -13425,7 +13424,7 @@ const iu = ["id"], nu = /* @__PURE__ */ ee({
13425
13424
  class: K(x(h).e("canvas"))
13426
13425
  },
13427
13426
  [
13428
- b("div", { id: x(c) }, null, 8, iu),
13427
+ b("div", { id: x(c) }, null, 8, tu),
13429
13428
  L(" CLOSE "),
13430
13429
  b(
13431
13430
  "span",
@@ -13462,13 +13461,13 @@ const iu = ["id"], nu = /* @__PURE__ */ ee({
13462
13461
  };
13463
13462
  }
13464
13463
  });
13465
- const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(ru), Ii = (o) => (vr("data-v-e0a05314"), o = o(), mr(), o), au = {
13464
+ const nu = /* @__PURE__ */ Rt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(nu), Ii = (o) => (vr("data-v-e0a05314"), o = o(), mr(), o), su = {
13466
13465
  class: "approveProcess",
13467
13466
  id: "approveProcess"
13468
- }, ou = ["id"], lu = { class: "topBlock" }, uu = { class: "left" }, cu = { class: "nodeBg" }, fu = ["src"], hu = { class: "right" }, du = { class: "topInfo" }, gu = { key: 0 }, pu = {
13467
+ }, au = ["id"], ou = { class: "topBlock" }, lu = { class: "left" }, uu = { class: "nodeBg" }, cu = ["src"], fu = { class: "right" }, hu = { class: "topInfo" }, du = { key: 0 }, gu = {
13469
13468
  key: 0,
13470
13469
  class: "main-text"
13471
- }, vu = { class: "name" }, mu = { key: 0 }, yu = { key: 0 }, _u = { key: 1 }, ku = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
13470
+ }, pu = { class: "name" }, vu = { key: 0 }, mu = { key: 0 }, yu = { key: 1 }, _u = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
13472
13471
  "span",
13473
13472
  {
13474
13473
  class: "red",
@@ -13477,52 +13476,52 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13477
13476
  " 退回至",
13478
13477
  -1
13479
13478
  /* HOISTED */
13480
- )), Cu = { key: 0 }, wu = { key: 0 }, bu = { key: 1 }, Tu = { key: 1 }, Eu = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
13479
+ )), ku = { key: 0 }, Cu = { key: 0 }, wu = { key: 1 }, bu = { key: 1 }, Tu = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
13481
13480
  "div",
13482
13481
  { class: "main-text" },
13483
13482
  "抄送人员",
13484
13483
  -1
13485
13484
  /* HOISTED */
13486
- )), Su = { class: "name" }, xu = { key: 0 }, Iu = { style: { color: "#000" } }, Pu = {
13485
+ )), Eu = { class: "name" }, Su = { key: 0 }, xu = { style: { color: "#000" } }, Iu = {
13487
13486
  class: "blue",
13488
13487
  style: { "margin-left": "5px", "font-size": "12px" }
13489
- }, Au = { key: 1 }, Lu = {
13488
+ }, Pu = { key: 1 }, Au = {
13490
13489
  key: 0,
13491
13490
  class: "blue",
13492
13491
  style: { "font-size": "12px" }
13493
- }, Du = { key: 1 }, Ou = {
13492
+ }, Lu = { key: 1 }, Du = {
13494
13493
  key: 0,
13495
13494
  class: "blue",
13496
13495
  style: { "font-size": "12px" }
13497
- }, Ru = {
13496
+ }, Ou = {
13498
13497
  key: 1,
13499
13498
  class: "blue",
13500
13499
  style: { "font-size": "12px" }
13501
- }, Fu = { class: "time" }, Mu = { key: 0 }, Nu = { key: 1 }, Bu = ["onClick"], Hu = ["onClick"], Uu = {
13500
+ }, Ru = { class: "time" }, Fu = { key: 0 }, Mu = { key: 1 }, Nu = ["onClick"], Bu = ["onClick"], Hu = {
13502
13501
  key: 0,
13503
13502
  class: "opinion"
13504
- }, zu = { key: 0 }, Vu = { key: 1 }, ju = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
13503
+ }, Uu = { key: 0 }, zu = { key: 1 }, Vu = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
13505
13504
  "span",
13506
13505
  { class: "ik-text-primary" },
13507
13506
  "添加审批人",
13508
13507
  -1
13509
13508
  /* HOISTED */
13510
- )), $u = { style: { color: "var(--el-text-color-primary)", "margin-left": "8px" } }, Wu = {
13509
+ )), ju = { style: { color: "var(--el-text-color-primary)", "margin-left": "8px" } }, $u = {
13511
13510
  key: 2,
13512
13511
  class: "annexImage"
13513
- }, Gu = {
13512
+ }, Wu = {
13514
13513
  key: 3,
13515
13514
  class: "approveList"
13516
- }, Ku = { class: "nodeBg-list" }, Yu = ["src"], Xu = { key: 1 }, qu = {
13515
+ }, Gu = { class: "nodeBg-list" }, Ku = ["src"], Yu = { key: 1 }, Xu = {
13517
13516
  key: 2,
13518
13517
  class: "ikapprove ikapprove-duihao2 green read"
13519
- }, Zu = ["title"], Ju = {
13518
+ }, qu = ["title"], Zu = {
13520
13519
  key: 0,
13521
13520
  class: "branch"
13522
- }, Qu = { class: "branch-card" }, ec = { class: "branch-name" }, tc = {
13521
+ }, Ju = { class: "branch-card" }, Qu = { class: "branch-name" }, ec = {
13523
13522
  name: "IkingApprovalProcessDetail"
13524
- }, ic = /* @__PURE__ */ ee({
13525
- ...tc,
13523
+ }, tc = /* @__PURE__ */ ee({
13524
+ ...ec,
13526
13525
  props: {
13527
13526
  // 是否本地打开
13528
13527
  local: {
@@ -13657,7 +13656,7 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13657
13656
  }, u = (c) => lt(t.value, c);
13658
13657
  return (c, h) => {
13659
13658
  const g = Ke("el-image"), p = Ke("IkingApprovalProcessDetail");
13660
- return k(), S("div", au, [
13659
+ return k(), S("div", su, [
13661
13660
  (k(!0), S(
13662
13661
  ce,
13663
13662
  null,
@@ -13668,9 +13667,9 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13668
13667
  id: d[e.defaultFile.nodeId],
13669
13668
  key: d[e.defaultFile.nodeId]
13670
13669
  }, [
13671
- b("div", lu, [
13672
- b("div", uu, [
13673
- b("span", cu, [
13670
+ b("div", ou, [
13671
+ b("div", lu, [
13672
+ b("span", uu, [
13674
13673
  L(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
13675
13674
  ((m = d[e.defaultFile.approvePersonList]) == null ? void 0 : m.length) == 1 && d[e.defaultFile.approvePersonList][0].userAvatar ? (k(), S("img", {
13676
13675
  key: 0,
@@ -13679,7 +13678,7 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13679
13678
  d[e.defaultFile.approvePersonList][0].userAvatar
13680
13679
  ),
13681
13680
  alt: ""
13682
- }, null, 8, fu)) : (k(), S(
13681
+ }, null, 8, cu)) : (k(), S(
13683
13682
  ce,
13684
13683
  { key: 1 },
13685
13684
  [
@@ -13717,23 +13716,23 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13717
13716
  )
13718
13717
  ])
13719
13718
  ]),
13720
- b("div", hu, [
13721
- b("div", du, [
13719
+ b("div", fu, [
13720
+ b("div", hu, [
13722
13721
  b("div", null, [
13723
13722
  L(" 不是抄送节点 "),
13724
- e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), S("div", gu, [
13723
+ e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), S("div", du, [
13725
13724
  L(" 撤销,评论不显示节点名称 "),
13726
13725
  d[e.defaultFile.approveStatus] != e.statusOption.撤销 && d[e.defaultFile.approveStatus] != e.statusOption.评论 && d[e.defaultFile.nodeType] !== e.nodeType.并行分支 ? (k(), S(
13727
13726
  "div",
13728
- pu,
13727
+ gu,
13729
13728
  X(d[e.defaultFile.nodeTypeName]),
13730
13729
  1
13731
13730
  /* TEXT */
13732
13731
  )) : L("v-if", !0),
13733
13732
  L(" 名字+审批状态 "),
13734
- b("div", vu, [
13733
+ b("div", pu, [
13735
13734
  L(" 已审批节点文本 "),
13736
- d[e.defaultFile.lineType] == "solid" ? (k(), S("div", mu, [
13735
+ d[e.defaultFile.lineType] == "solid" ? (k(), S("div", vu, [
13737
13736
  b(
13738
13737
  "span",
13739
13738
  {
@@ -13748,14 +13747,14 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13748
13747
  L(" 发起,退回不显示状态 "),
13749
13748
  d[e.defaultFile.approveStatusName] && d[e.defaultFile.approveStatus] != e.statusOption.发起 && d[e.defaultFile.approveStatus] != e.statusOption.退回 ? (k(), S(
13750
13749
  "span",
13751
- yu,
13750
+ mu,
13752
13751
  X(d[e.defaultFile.approveStatus] == e.statusOption.评论 ? " 添加了评论" : d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
13753
13752
  1
13754
13753
  /* TEXT */
13755
13754
  )) : L("v-if", !0),
13756
13755
  L(" 退回状态显示 "),
13757
- d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), S("span", _u, [
13758
- ku,
13756
+ d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), S("span", yu, [
13757
+ _u,
13759
13758
  We(
13760
13759
  " " + X(d[e.defaultFile.backToInstanceNodeName] || d[e.defaultFile.backToRecordNodeName]),
13761
13760
  1
@@ -13768,7 +13767,7 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13768
13767
  [
13769
13768
  L(" 待审批节点 "),
13770
13769
  b("div", null, [
13771
- ((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), S("span", Cu, [
13770
+ ((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), S("span", ku, [
13772
13771
  We(
13773
13772
  X(d[e.defaultFile.originator]) + " ",
13774
13773
  1
@@ -13776,14 +13775,14 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13776
13775
  ),
13777
13776
  d[e.defaultFile.approveStatus] == e.statusOption.等待 ? (k(), S(
13778
13777
  "span",
13779
- wu,
13778
+ Cu,
13780
13779
  X(d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
13781
13780
  1
13782
13781
  /* TEXT */
13783
13782
  )) : L("v-if", !0)
13784
13783
  ])) : d[e.defaultFile.approvePersonList] ? (k(), S(
13785
13784
  "span",
13786
- bu,
13785
+ wu,
13787
13786
  X(`${(E = d[e.defaultFile.approvePersonList]) == null ? void 0 : E.length}人${d[e.defaultFile.approveTypeName]}`),
13788
13787
  1
13789
13788
  /* TEXT */
@@ -13794,16 +13793,16 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13794
13793
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
13795
13794
  ))
13796
13795
  ])
13797
- ])) : (k(), S("div", Tu, [
13798
- Eu,
13799
- b("div", Su, [
13796
+ ])) : (k(), S("div", bu, [
13797
+ Tu,
13798
+ b("div", Eu, [
13800
13799
  L(" 抄送一人时 "),
13801
- ((w = d[e.defaultFile.approvePersonList]) == null ? void 0 : w.length) == 1 ? (k(), S("span", xu, [
13800
+ ((w = d[e.defaultFile.approvePersonList]) == null ? void 0 : w.length) == 1 ? (k(), S("span", Su, [
13802
13801
  b("span", null, [
13803
13802
  We("已抄送给 "),
13804
13803
  b(
13805
13804
  "span",
13806
- Iu,
13805
+ xu,
13807
13806
  X(d[e.defaultFile.approvePersonList][0].userName),
13808
13807
  1
13809
13808
  /* TEXT */
@@ -13811,24 +13810,24 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13811
13810
  ]),
13812
13811
  b(
13813
13812
  "span",
13814
- Pu,
13813
+ Iu,
13815
13814
  X(d[e.defaultFile.approvePersonList][0].status === "END" ? "已读" : "未读"),
13816
13815
  1
13817
13816
  /* TEXT */
13818
13817
  )
13819
13818
  ])) : L("v-if", !0),
13820
13819
  L(" 抄送多人时 "),
13821
- ((D = d[e.defaultFile.approvePersonList]) == null ? void 0 : D.length) > 1 ? (k(), S("span", Au, [
13820
+ ((D = d[e.defaultFile.approvePersonList]) == null ? void 0 : D.length) > 1 ? (k(), S("span", Pu, [
13822
13821
  We(
13823
13822
  X(`已抄送${(O = d[e.defaultFile.approvePersonList]) == null ? void 0 : O.length}人`) + " ",
13824
13823
  1
13825
13824
  /* TEXT */
13826
13825
  ),
13827
- d[e.defaultFile.allRead] ? (k(), S("span", Lu, " 全部已读 ")) : (k(), S("span", Du, [
13828
- d[e.defaultFile.read] ? L("v-if", !0) : (k(), S("span", Ou, " 全部未读 ")),
13826
+ d[e.defaultFile.allRead] ? (k(), S("span", Au, " 全部已读 ")) : (k(), S("span", Lu, [
13827
+ d[e.defaultFile.read] ? L("v-if", !0) : (k(), S("span", Du, " 全部未读 ")),
13829
13828
  d[e.defaultFile.read] ? (k(), S(
13830
13829
  "span",
13831
- Ru,
13830
+ Ou,
13832
13831
  X(d[e.defaultFile.read]) + "人已读 ",
13833
13832
  1
13834
13833
  /* TEXT */
@@ -13838,11 +13837,11 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13838
13837
  ])
13839
13838
  ]))
13840
13839
  ]),
13841
- b("div", Fu, [
13840
+ b("div", Ru, [
13842
13841
  L(" 不是抄送节点,展示时间 "),
13843
13842
  d[e.defaultFile.nodeType] != e.nodeType.抄送节点 && d[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (k(), S(
13844
13843
  "span",
13845
- Mu,
13844
+ Fu,
13846
13845
  X(x(kr).toDateTime(
13847
13846
  d[e.defaultFile.operationTime],
13848
13847
  "MM/DD HH:mm"
@@ -13851,16 +13850,16 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13851
13850
  /* TEXT */
13852
13851
  )) : L("v-if", !0),
13853
13852
  L(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
13854
- d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((z = d[e.defaultFile.approvePersonList]) == null ? void 0 : z.length) > 1 ? (k(), S("span", Nu, [
13853
+ d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((z = d[e.defaultFile.approvePersonList]) == null ? void 0 : z.length) > 1 ? (k(), S("span", Mu, [
13855
13854
  d != null && d.show ? (k(), S("i", {
13856
13855
  key: 0,
13857
13856
  class: "ikapprove ikapprove-a-putongjiantouzhankai",
13858
13857
  onClick: (I) => l(d, "grid")
13859
- }, null, 8, Bu)) : (k(), S("i", {
13858
+ }, null, 8, Nu)) : (k(), S("i", {
13860
13859
  key: 1,
13861
13860
  onClick: (I) => l(d, "none"),
13862
13861
  class: "ikapprove ikapprove-a-putongjiantoushouqi"
13863
- }, null, 8, Hu))
13862
+ }, null, 8, Bu))
13864
13863
  ])) : L("v-if", !0)
13865
13864
  ])
13866
13865
  ])
@@ -13876,22 +13875,22 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13876
13875
  },
13877
13876
  [
13878
13877
  L(" 审批意见 "),
13879
- d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("div", Uu, [
13878
+ d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("div", Hu, [
13880
13879
  d[e.defaultFile.approveOpinion] ? (k(), S(
13881
13880
  "span",
13882
- zu,
13881
+ Uu,
13883
13882
  X(d[e.defaultFile.approveOpinion]),
13884
13883
  1
13885
13884
  /* TEXT */
13886
13885
  )) : L("v-if", !0),
13887
- d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("span", Vu, [
13888
- ju,
13886
+ d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("span", zu, [
13887
+ Vu,
13889
13888
  (k(!0), S(
13890
13889
  ce,
13891
13890
  null,
13892
13891
  Me(d[e.defaultFile.countersignPer], (I, ie) => (k(), S(
13893
13892
  "span",
13894
- $u,
13893
+ ju,
13895
13894
  X(I == null ? void 0 : I.userName) + X(ie < d[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
13896
13895
  1
13897
13896
  /* TEXT */
@@ -13907,7 +13906,7 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13907
13906
  list: d[e.defaultFile.attachment]
13908
13907
  }, null, 8, ["list"])) : L("v-if", !0),
13909
13908
  L(" 附件图片 "),
13910
- (te = d[e.defaultFile.attachmentImg]) != null && te.length ? (k(), S("div", Wu, [
13909
+ (te = d[e.defaultFile.attachmentImg]) != null && te.length ? (k(), S("div", $u, [
13911
13910
  (k(!0), S(
13912
13911
  ce,
13913
13912
  null,
@@ -13929,7 +13928,7 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13929
13928
  ))
13930
13929
  ])) : L("v-if", !0),
13931
13930
  L(" 抄送节点或是等待审批状态并且列表长度大于1 "),
13932
- (d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((q = d[e.defaultFile.approvePersonList]) == null ? void 0 : q.length) > 1 ? (k(), S("div", Gu, [
13931
+ (d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((q = d[e.defaultFile.approvePersonList]) == null ? void 0 : q.length) > 1 ? (k(), S("div", Wu, [
13933
13932
  (k(!0), S(
13934
13933
  ce,
13935
13934
  null,
@@ -13937,25 +13936,25 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13937
13936
  class: "perBlock",
13938
13937
  key: I.userName
13939
13938
  }, [
13940
- b("span", Ku, [
13939
+ b("span", Gu, [
13941
13940
  I.userAvatar ? (k(), S("img", {
13942
13941
  key: 0,
13943
13942
  style: { width: "100%", height: "100%", "border-radius": "50%" },
13944
13943
  src: u(I.userAvatar),
13945
13944
  alt: ""
13946
- }, null, 8, Yu)) : (k(), S(
13945
+ }, null, 8, Ku)) : (k(), S(
13947
13946
  "span",
13948
- Xu,
13947
+ Yu,
13949
13948
  X(I.userName.slice(-2)),
13950
13949
  1
13951
13950
  /* TEXT */
13952
13951
  )),
13953
- I.status === "END" ? (k(), S("i", qu)) : L("v-if", !0)
13952
+ I.status === "END" ? (k(), S("i", Xu)) : L("v-if", !0)
13954
13953
  ]),
13955
13954
  b("div", {
13956
13955
  class: "main-text",
13957
13956
  title: I.userName
13958
- }, X(I.userName), 9, Zu)
13957
+ }, X(I.userName), 9, qu)
13959
13958
  ]))),
13960
13959
  128
13961
13960
  /* KEYED_FRAGMENT */
@@ -13965,14 +13964,14 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13965
13964
  4
13966
13965
  /* STYLE */
13967
13966
  ),
13968
- d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), S("div", Ju, [
13967
+ d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), S("div", Zu, [
13969
13968
  (k(!0), S(
13970
13969
  ce,
13971
13970
  null,
13972
- Me(d[e.defaultFile.parallelInstances], (I) => (k(), S("div", Qu, [
13971
+ Me(d[e.defaultFile.parallelInstances], (I) => (k(), S("div", Ju, [
13973
13972
  b(
13974
13973
  "div",
13975
- ec,
13974
+ Qu,
13976
13975
  X(I.name),
13977
13976
  1
13978
13977
  /* TEXT */
@@ -13985,7 +13984,7 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13985
13984
  /* UNKEYED_FRAGMENT */
13986
13985
  ))
13987
13986
  ])) : L("v-if", !0)
13988
- ], 8, ou);
13987
+ ], 8, au);
13989
13988
  }),
13990
13989
  128
13991
13990
  /* KEYED_FRAGMENT */
@@ -13994,8 +13993,8 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13994
13993
  };
13995
13994
  }
13996
13995
  });
13997
- const nc = /* @__PURE__ */ vt(ic, [["__scopeId", "data-v-e0a05314"]]), oc = Ae(nc);
13996
+ const ic = /* @__PURE__ */ Rt(tc, [["__scopeId", "data-v-e0a05314"]]), ac = Ae(ic);
13998
13997
  export {
13999
- oc as IKApprovalProcessDetail,
14000
- oc as default
13998
+ ac as IKApprovalProcessDetail,
13999
+ ac as default
14001
14000
  };