iking-web-ui-pro 0.2.28 → 0.2.30

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 (37) hide show
  1. package/dist/IKPreviewFile/ik.index.es.js +927 -872
  2. package/dist/IKPreviewFile/ik.index.umd.js +36 -36
  3. package/dist/IKSearch/ik.index.es.js +727 -665
  4. package/dist/IKSearch/ik.index.umd.js +2 -2
  5. package/dist/IKSearch/style.css +1 -1
  6. package/dist/IkApprovalProcess/ik.index.es.js +580 -527
  7. package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
  8. package/dist/IkApprovalProcess/style.css +1 -1
  9. package/dist/IkApprovalProcessDetail/ik.index.es.js +674 -619
  10. package/dist/IkApprovalProcessDetail/ik.index.umd.js +38 -38
  11. package/dist/IkCalendar/ik.index.es.js +1815 -1753
  12. package/dist/IkCalendar/ik.index.umd.js +1 -1
  13. package/dist/IkCalendar/style.css +1 -1
  14. package/dist/IkDescription/ik.index.es.js +1031 -976
  15. package/dist/IkDescription/ik.index.umd.js +36 -36
  16. package/dist/IkDetailPreviewFiles/ik.index.es.js +970 -915
  17. package/dist/IkDetailPreviewFiles/ik.index.umd.js +42 -42
  18. package/dist/IkPageFull/ik.index.es.js +1038 -976
  19. package/dist/IkPageFull/ik.index.umd.js +3 -3
  20. package/dist/IkPageFull/style.css +1 -1
  21. package/dist/IkPickerUser/ik.index.es.js +741 -679
  22. package/dist/IkPickerUser/ik.index.umd.js +1 -1
  23. package/dist/IkPickerUser/style.css +1 -1
  24. package/dist/IkPlayer/ik.index.es.js +54 -1
  25. package/dist/IkPlayer/ik.index.umd.js +1 -1
  26. package/dist/IkPreviewFileDialog/ik.index.es.js +54 -1
  27. package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
  28. package/dist/IkUploadFile/ik.index.es.js +1640 -1579
  29. package/dist/IkUploadFile/ik.index.umd.js +58 -58
  30. package/dist/IkUploadFile/style.css +1 -1
  31. package/dist/IkUploadImage/ik.index.es.js +143 -90
  32. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  33. package/dist/index.es.js +15155 -15092
  34. package/dist/index.umd.js +106 -106
  35. package/dist/src/utils/use-provider.d.ts +1 -0
  36. package/dist/style.css +1 -1
  37. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as ue, computed as ee, openBlock as T, createElementBlock as E, createElementVNode as S, inject as Qe, ref as qe, resolveComponent as Te, Fragment as le, renderList as Re, normalizeStyle as re, toDisplayString as $, normalizeClass as J, createVNode as Z, unref as j, withModifiers as hi, renderSlot as Fe, createBlock as Ee, withCtx as pe, createCommentVNode as A, mergeModels as ct, useModel as Yt, reactive as Wi, watch as Xt, nextTick as ft, createTextVNode as Me, h as Tn, mergeProps as $i, createSlots as En, Teleport as Sn, Transition as xn, onMounted as In, pushScopeId as Pn, popScopeId as An } from "vue";
1
+ import { defineComponent as ue, computed as Q, openBlock as T, createElementBlock as E, createElementVNode as S, inject as Qe, ref as qe, resolveComponent as Ee, Fragment as le, renderList as Re, normalizeStyle as re, toDisplayString as $, normalizeClass as J, createVNode as ie, unref as V, withModifiers as hi, createBlock as ve, createCommentVNode as L, renderSlot as Fe, withCtx as pe, mergeModels as ct, useModel as Yt, reactive as Wi, watch as Xt, nextTick as ft, createTextVNode as Me, h as Tn, mergeProps as $i, createSlots as En, Teleport as Sn, Transition as xn, onMounted as In, pushScopeId as Pn, popScopeId as An } from "vue";
2
2
  import { paramType as Ln, ikFile as Dn, buildUUID as Gi, ikColor as On, ikDate as Rn } from "iking-utils-pro";
3
3
  import { useNamespace as Fn } from "element-plus";
4
4
  const Ie = (a, o) => {
@@ -619,7 +619,7 @@ const Ie = (a, o) => {
619
619
  }
620
620
  },
621
621
  setup(a) {
622
- const o = a, r = ee(() => o.file ? zt(o.file, o.fields) : o.type);
622
+ const o = a, r = Q(() => o.file ? zt(o.file, o.fields) : o.type);
623
623
  return (t, e) => r.value === "image" ? (T(), E("svg", Bn, jn)) : r.value === "zip" ? (T(), E("svg", Wn, Kn)) : r.value === "ppt" ? (T(), E("svg", Yn, Jn)) : r.value === "word" ? (T(), E("svg", Zn, tr)) : r.value === "pdf" ? (T(), E("svg", ir, sr)) : r.value === "txt" ? (T(), E("svg", or, ur)) : r.value === "audio" ? (T(), E("svg", cr, dr)) : r.value === "video" ? (T(), E("svg", gr, mr)) : r.value === "excel" ? (T(), E("svg", yr, br)) : r.value === "exe" ? (T(), E("svg", wr, Ir)) : r.value === "json" ? (T(), E("svg", Pr, Or)) : (T(), E("svg", Rr, Br));
624
624
  }
625
625
  }), Ur = Ie(Hr);
@@ -755,13 +755,66 @@ const nt = (a, o) => {
755
755
  }
756
756
  return `ikapprove ${t}`;
757
757
  }, qt = (a) => {
758
- const o = Qe("loadUrl"), r = ee(() => a.loadUrl || a.fileUrl || (o == null ? void 0 : o.value)), t = Qe("uploadUrl"), e = ee(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = Qe("token"), n = ee(() => a.token || (i == null ? void 0 : i.value)), s = Qe("onlyofficeConfig"), l = ee(() => a.onlyofficeConfig || (s == null ? void 0 : s.value)), u = Qe("userInfo"), c = ee(() => a.userInfo || (u == null ? void 0 : u.value));
758
+ const o = Qe("loadUrl"), r = Q(() => a.loadUrl || a.fileUrl || (o == null ? void 0 : o.value)), t = Qe("uploadUrl"), e = Q(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = Qe("token"), n = Q(() => a.token || (i == null ? void 0 : i.value)), s = Qe("onlyofficeConfig"), l = Q(() => a.onlyofficeConfig || (s == null ? void 0 : s.value)), u = Qe("userInfo"), c = Q(() => a.userInfo || (u == null ? void 0 : u.value));
759
759
  return {
760
760
  cLoadUrl: r,
761
761
  cUploadUrl: e,
762
762
  cToken: n,
763
763
  cOnlyofficeConfig: l,
764
- cUserInfo: c
764
+ cUserInfo: c,
765
+ cOnlyofficePreviewType: [
766
+ "csv",
767
+ "djvu",
768
+ "doc",
769
+ "docm",
770
+ "docx",
771
+ "docxf",
772
+ "dot",
773
+ "dotm",
774
+ "dotx",
775
+ "epub",
776
+ "fb2",
777
+ "fodp",
778
+ "fods",
779
+ "fodt",
780
+ "htm",
781
+ "html",
782
+ "mht",
783
+ "odp",
784
+ "ods",
785
+ "odt",
786
+ "oform",
787
+ "otp",
788
+ "ots",
789
+ "ott",
790
+ "oxps",
791
+ "pdf",
792
+ "pot",
793
+ "potm",
794
+ "potx",
795
+ "pps",
796
+ "ppsm",
797
+ "ppsx",
798
+ "ppt",
799
+ "pptm",
800
+ "pptx",
801
+ "rtf",
802
+ "txt",
803
+ "xls",
804
+ "xlsb",
805
+ "xlsm",
806
+ "xlsx",
807
+ "xlt",
808
+ "xltm",
809
+ "xltx",
810
+ "xml",
811
+ "xps",
812
+ "png",
813
+ "jpeg",
814
+ "jpg",
815
+ "video",
816
+ "mp4"
817
+ ]
765
818
  };
766
819
  }, $r = (a, o = 2) => {
767
820
  if (a === void 0)
@@ -847,59 +900,59 @@ const nt = (a, o) => {
847
900
  },
848
901
  emits: ["handPreview"],
849
902
  setup(a, { emit: o }) {
850
- const r = a, { cLoadUrl: t, cOnlyofficeConfig: e } = qt(r), i = o, n = ee(() => ({
903
+ const r = a, { cLoadUrl: t, cOnlyofficeConfig: e, cOnlyofficePreviewType: i } = qt(r), n = o, s = Q(() => ({
851
904
  name: "name",
852
905
  url: "url",
853
906
  suffix: "suffix",
854
907
  size: "size",
855
908
  ...r.field
856
- })), s = qe({}), l = qe(!1), u = (p) => {
857
- var d, v;
858
- s.value = {
859
- ...p,
860
- name: p.name,
909
+ })), l = qe({}), u = qe(!1), c = (d) => {
910
+ var v, y;
911
+ l.value = {
912
+ ...d,
913
+ name: d.name,
861
914
  url: Je(
862
915
  t.value,
863
- p.url || ((v = (d = p == null ? void 0 : p.response) == null ? void 0 : d.data) == null ? void 0 : v.id) || (p == null ? void 0 : p.id)
916
+ d.url || ((y = (v = d == null ? void 0 : d.response) == null ? void 0 : v.data) == null ? void 0 : y.id) || (d == null ? void 0 : d.id)
864
917
  )
865
- }, r.isOnlyOfficePreview && (l.value = !0), i("handPreview", s.value);
866
- }, c = (p) => {
918
+ }, r.isOnlyOfficePreview && (u.value = !0), n("handPreview", l.value);
919
+ }, h = (d) => {
867
920
  Dn.downloadFile(
868
921
  Je(
869
922
  t.value,
870
- p[n.value.url] || p.attachmentId || p.id
923
+ d[s.value.url] || d.attachmentId || d.id
871
924
  ),
872
- p[n.value.name] || p.attachmentName
925
+ d[s.value.name] || d.attachmentName
873
926
  );
874
- }, h = ee(() => Ln.isNumber(r.width) ? `${r.width}px` : r.width), g = ee(() => r.list.map((p) => ({
875
- ...p,
876
- name: p[n.value.name] || p.attachmentName,
877
- size: p[n.value.size] || p.fileSize || p.attachmentSize,
878
- suffix: p[n.value.suffix] || p.attachmentSuffix
927
+ }, g = Q(() => Ln.isNumber(r.width) ? `${r.width}px` : r.width), p = Q(() => r.list.map((d) => ({
928
+ ...d,
929
+ name: d[s.value.name] || d.attachmentName,
930
+ size: d[s.value.size] || d.fileSize || d.attachmentSize,
931
+ suffix: d[s.value.suffix] || d.attachmentSuffix
879
932
  })));
880
- return (p, d) => {
881
- var y, C, w;
882
- const v = Te("tmplate");
933
+ return (d, v) => {
934
+ var k, w, b;
935
+ const y = Ee("tmplate");
883
936
  return T(), E(
884
937
  le,
885
938
  null,
886
939
  [
887
- (y = a.list) != null && y.length ? (T(), E(
940
+ (k = a.list) != null && k.length ? (T(), E(
888
941
  le,
889
942
  { key: 0 },
890
943
  [
891
944
  a.simple ? (T(!0), E(
892
945
  le,
893
946
  { key: 0 },
894
- Re(g.value, (k, N) => (T(), E("div", {
947
+ Re(p.value, (A, R) => (T(), E("div", {
895
948
  class: "iking-privew-annex simple",
896
- onClick: (R) => u(k),
897
- style: re({ width: h.value })
949
+ onClick: (H) => c(A),
950
+ style: re({ width: g.value })
898
951
  }, [
899
952
  S(
900
953
  "div",
901
954
  Kr,
902
- $(k.name),
955
+ $(A.name),
903
956
  1
904
957
  /* TEXT */
905
958
  ),
@@ -909,19 +962,20 @@ const nt = (a, o) => {
909
962
  class: J(["flex flex-center", { "hover-show": a.iconHoverShow }])
910
963
  },
911
964
  [
912
- Z(j(Ye), {
965
+ ie(V(Ye), {
913
966
  name: "iksvg_daochu",
914
- onClick: hi((R) => c(k), ["stop"]),
967
+ onClick: hi((H) => h(A), ["stop"]),
915
968
  size: 20,
916
969
  active: ""
917
970
  }, null, 8, ["onClick"]),
918
- Z(j(Ye), {
971
+ V(i).includes(A.suffix) ? (T(), ve(V(Ye), {
972
+ key: 0,
919
973
  name: "iksvg_yulan",
920
974
  size: 20,
921
975
  active: ""
922
- }),
923
- Fe(p.$slots, "operation", {
924
- data: { ...k, findex: N }
976
+ })) : L("v-if", !0),
977
+ Fe(d.$slots, "operation", {
978
+ data: { ...A, findex: R }
925
979
  })
926
980
  ],
927
981
  2
@@ -930,46 +984,46 @@ const nt = (a, o) => {
930
984
  ], 12, Gr))),
931
985
  256
932
986
  /* UNKEYED_FRAGMENT */
933
- )) : (T(), Ee(v, { key: 1 }, {
987
+ )) : (T(), ve(y, { key: 1 }, {
934
988
  default: pe(() => [
935
989
  (T(!0), E(
936
990
  le,
937
991
  null,
938
- Re(g.value, (k, N) => {
939
- var R;
992
+ Re(p.value, (A, R) => {
993
+ var H;
940
994
  return T(), E(
941
995
  "div",
942
996
  {
943
997
  class: J(["iking-privew-annex", { "is-bg": a.showBg }]),
944
- key: N,
998
+ key: R,
945
999
  style: re({
946
- marginBottom: N == ((R = a.list) == null ? void 0 : R.length) - 1 ? "0" : "10px",
947
- width: h.value
1000
+ marginBottom: R == ((H = a.list) == null ? void 0 : H.length) - 1 ? "0" : "10px",
1001
+ width: g.value
948
1002
  })
949
1003
  },
950
1004
  [
951
1005
  S("div", {
952
1006
  class: "file-card",
953
- onClick: (z) => u(k)
1007
+ onClick: (F) => c(A)
954
1008
  }, [
955
- Z(j(Ur), {
956
- file: k,
1009
+ ie(V(Ur), {
1010
+ file: A,
957
1011
  style: re({ height: `${a.iconSize}px` }),
958
1012
  class: "ikui-w-auto",
959
- fields: n.value
1013
+ fields: s.value
960
1014
  }, null, 8, ["file", "style", "fields"]),
961
1015
  S("div", Xr, [
962
1016
  S(
963
1017
  "div",
964
1018
  qr,
965
- $(k.name),
1019
+ $(A.name),
966
1020
  1
967
1021
  /* TEXT */
968
1022
  ),
969
1023
  S(
970
1024
  "div",
971
1025
  Jr,
972
- $(j($r)(k.size)),
1026
+ $(V($r)(A.size)),
973
1027
  1
974
1028
  /* TEXT */
975
1029
  )
@@ -980,21 +1034,22 @@ const nt = (a, o) => {
980
1034
  class: J(["flex flex-center", { "hover-show": a.iconHoverShow }])
981
1035
  },
982
1036
  [
983
- Z(j(Ye), {
1037
+ ie(V(Ye), {
984
1038
  name: "iksvg_daochu",
985
- onClick: hi((z) => c(k), ["stop"]),
1039
+ onClick: hi((F) => h(A), ["stop"]),
986
1040
  bg: a.showBg,
987
1041
  size: a.showBg ? "default" : 20,
988
1042
  title: "下载"
989
1043
  }, null, 8, ["onClick", "bg", "size"]),
990
- Z(j(Ye), {
1044
+ V(i).includes(A.suffix) ? (T(), ve(V(Ye), {
1045
+ key: 0,
991
1046
  name: "iksvg_yulan",
992
1047
  bg: a.showBg,
993
1048
  size: a.showBg ? "default" : 20,
994
1049
  title: "预览"
995
- }, null, 8, ["bg", "size"]),
996
- Fe(p.$slots, "operation", {
997
- data: { ...k, findex: N }
1050
+ }, null, 8, ["bg", "size"])) : L("v-if", !0),
1051
+ Fe(d.$slots, "operation", {
1052
+ data: { ...A, findex: R }
998
1053
  })
999
1054
  ],
1000
1055
  2
@@ -1016,15 +1071,15 @@ const nt = (a, o) => {
1016
1071
  ],
1017
1072
  64
1018
1073
  /* STABLE_FRAGMENT */
1019
- )) : A("v-if", !0),
1020
- Z(j(ts), {
1021
- show: l.value,
1022
- "onUpdate:show": d[0] || (d[0] = (k) => l.value = k),
1023
- loadUrl: j(t),
1024
- file: s.value,
1025
- onlyofficeServer: ((C = j(e)) == null ? void 0 : C.serverUrl) || a.onlyofficeServer,
1026
- onlyOfficeConfig: j(e),
1027
- onlyOfficeAccept: ((w = j(e)) == null ? void 0 : w.accept) || a.onlyOfficeAccept
1074
+ )) : L("v-if", !0),
1075
+ ie(V(ts), {
1076
+ show: u.value,
1077
+ "onUpdate:show": v[0] || (v[0] = (A) => u.value = A),
1078
+ loadUrl: V(t),
1079
+ file: l.value,
1080
+ onlyofficeServer: ((w = V(e)) == null ? void 0 : w.serverUrl) || a.onlyofficeServer,
1081
+ onlyOfficeConfig: V(e),
1082
+ onlyOfficeAccept: ((b = V(e)) == null ? void 0 : b.accept) || a.onlyOfficeAccept
1028
1083
  }, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig", "onlyOfficeAccept"])
1029
1084
  ],
1030
1085
  64
@@ -1070,7 +1125,7 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
1070
1125
  }),
1071
1126
  emits: ["update:show"],
1072
1127
  setup(a) {
1073
- const o = a, r = Yt(a, "show"), t = ee(() => ({
1128
+ const o = a, r = Yt(a, "show"), t = Q(() => ({
1074
1129
  name: "name",
1075
1130
  url: "url",
1076
1131
  suffix: "suffix",
@@ -1083,7 +1138,7 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
1083
1138
  }), s = (u) => {
1084
1139
  var c, h, g, p, d, v, y;
1085
1140
  try {
1086
- const C = ((c = u == null ? void 0 : u.response) == null ? void 0 : c.data) || u, w = C[t.value.url] || (C == null ? void 0 : C.id) || C.attachmentId, k = (h = C[t.value.suffix] || C.attachmentSuffix) == null ? void 0 : h.toLowerCase(), N = C[t.value.name] || (C == null ? void 0 : C.attachmentName) || (C == null ? void 0 : C.originName);
1141
+ const k = ((c = u == null ? void 0 : u.response) == null ? void 0 : c.data) || u, w = k[t.value.url] || (k == null ? void 0 : k.id) || k.attachmentId, b = (h = k[t.value.suffix] || k.attachmentSuffix) == null ? void 0 : h.toLowerCase(), A = k[t.value.name] || (k == null ? void 0 : k.attachmentName) || (k == null ? void 0 : k.originName);
1087
1142
  if (i.value = {
1088
1143
  ...u,
1089
1144
  name: u[t.value.name],
@@ -1094,7 +1149,7 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
1094
1149
  } else if (u && zt(u, t.value) === "video") {
1095
1150
  n.video = !0;
1096
1151
  return;
1097
- } else if ((((g = o.onlyOfficeConfig) == null ? void 0 : g.accept) || o.onlyOfficeAccept).includes(k)) {
1152
+ } else if ((((g = o.onlyOfficeConfig) == null ? void 0 : g.accept) || o.onlyOfficeAccept).includes(b)) {
1098
1153
  n.office = !0, e.value = {
1099
1154
  ...o.onlyOfficeConfig,
1100
1155
  editorConfig: {
@@ -1108,17 +1163,17 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
1108
1163
  },
1109
1164
  document: {
1110
1165
  key: Gi(),
1111
- title: N,
1166
+ title: A,
1112
1167
  url: Je(o.loadUrl, w),
1113
- fileType: k,
1168
+ fileType: b,
1114
1169
  ...((y = o.onlyOfficeConfig) == null ? void 0 : y.document) || {}
1115
1170
  },
1116
- documentType: Nn(k)
1171
+ documentType: Nn(b)
1117
1172
  };
1118
1173
  return;
1119
1174
  }
1120
- } catch (C) {
1121
- console.info("预览错误: ", C);
1175
+ } catch (k) {
1176
+ console.info("预览错误: ", k);
1122
1177
  }
1123
1178
  };
1124
1179
  Xt([r, o.file], ([u, c]) => {
@@ -1131,26 +1186,26 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
1131
1186
  };
1132
1187
  return (u, c) => {
1133
1188
  var g, p, d;
1134
- const h = Te("el-image-viewer");
1189
+ const h = Ee("el-image-viewer");
1135
1190
  return r.value ? (T(), E(
1136
1191
  le,
1137
1192
  { key: 0 },
1138
1193
  [
1139
- (g = i.value) != null && g.url && n.image ? (T(), Ee(h, {
1194
+ (g = i.value) != null && g.url && n.image ? (T(), ve(h, {
1140
1195
  key: 0,
1141
1196
  onClose: c[0] || (c[0] = (v) => l()),
1142
1197
  ref: "previewImgRef",
1143
1198
  "url-list": [(p = i.value) == null ? void 0 : p.url],
1144
1199
  teleported: ""
1145
- }, null, 8, ["url-list"])) : A("v-if", !0),
1146
- A(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1147
- A(" 文档类 "),
1148
- Z(j(za), {
1200
+ }, null, 8, ["url-list"])) : L("v-if", !0),
1201
+ L(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1202
+ L(" 文档类 "),
1203
+ ie(V(za), {
1149
1204
  modelValue: n.video,
1150
1205
  "onUpdate:modelValue": c[1] || (c[1] = (v) => n.video = v),
1151
1206
  url: (d = i.value) == null ? void 0 : d.url
1152
1207
  }, null, 8, ["modelValue", "url"]),
1153
- Z(j(ps), {
1208
+ ie(V(ps), {
1154
1209
  modelValue: n.office,
1155
1210
  "onUpdate:modelValue": c[2] || (c[2] = (v) => n.office = v),
1156
1211
  draggable: "",
@@ -1168,7 +1223,7 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
1168
1223
  default: pe(() => {
1169
1224
  var v;
1170
1225
  return [
1171
- Z(j(Ts), {
1226
+ ie(V(Ts), {
1172
1227
  "config-options": e.value,
1173
1228
  "document-server-url": ((v = a.onlyOfficeConfig) == null ? void 0 : v.serverUrl) || a.onlyofficeServer
1174
1229
  }, null, 8, ["config-options", "document-server-url"])
@@ -1180,7 +1235,7 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
1180
1235
  ],
1181
1236
  64
1182
1237
  /* STABLE_FRAGMENT */
1183
- )) : A("v-if", !0);
1238
+ )) : L("v-if", !0);
1184
1239
  };
1185
1240
  }
1186
1241
  });
@@ -1222,10 +1277,10 @@ const ts = Ie(es), is = {
1222
1277
  width: {}
1223
1278
  },
1224
1279
  setup(a) {
1225
- const o = a, r = ee(() => o), t = ee(() => {
1280
+ const o = a, r = Q(() => o), t = Q(() => {
1226
1281
  const { name: i } = r.value;
1227
1282
  return /^http?:\/\//.test(i) ? "img" : /i-[^:]+:[^:]+/.test(i) ? "unocss" : i != null && i.startsWith("iksig") ? "iksig" : i != null && i.includes(":") ? "iconify" : i != null && i.startsWith("iksvg") ? "svg" : "i";
1228
- }), e = ee(() => {
1283
+ }), e = Q(() => {
1229
1284
  const i = [];
1230
1285
  if (r.value.flip)
1231
1286
  switch (r.value.flip) {
@@ -1254,7 +1309,7 @@ const ts = Ie(es), is = {
1254
1309
  return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
1255
1310
  });
1256
1311
  return (i, n) => {
1257
- const s = Te("el-tooltip"), l = Te("el-button");
1312
+ const s = Ee("el-tooltip"), l = Ee("el-button");
1258
1313
  return r.value.tableIconType === "icon" || !r.value.tableIconType ? (T(), E("span", is, [
1259
1314
  r.value.notip || !r.value.title ? (T(), E(
1260
1315
  "i",
@@ -1276,7 +1331,7 @@ const ts = Ie(es), is = {
1276
1331
  style: re(e.value)
1277
1332
  },
1278
1333
  [
1279
- A(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1334
+ L(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1280
1335
  t.value === "iksig" ? (T(), E(
1281
1336
  "i",
1282
1337
  {
@@ -1309,7 +1364,7 @@ const ts = Ie(es), is = {
1309
1364
  ],
1310
1365
  6
1311
1366
  /* CLASS, STYLE */
1312
- )) : (T(), Ee(s, {
1367
+ )) : (T(), ve(s, {
1313
1368
  key: 1,
1314
1369
  content: r.value.title,
1315
1370
  placement: "top"
@@ -1370,7 +1425,7 @@ const ts = Ie(es), is = {
1370
1425
  _: 1
1371
1426
  /* STABLE */
1372
1427
  }, 8, ["content"]))
1373
- ])) : (T(), Ee(l, {
1428
+ ])) : (T(), ve(l, {
1374
1429
  key: 1,
1375
1430
  type: ["warning", "error"].includes(r.value.type) ? "danger" : ""
1376
1431
  }, {
@@ -1406,7 +1461,7 @@ const cs = /* @__PURE__ */ nt(us, [["__scopeId", "data-v-52806adf"]]), Ye = Ie(c
1406
1461
  class: J({ "exit-main-page-maximize": a.showBg && a.fullscreen })
1407
1462
  },
1408
1463
  [
1409
- Z(j(Ye), {
1464
+ ie(V(Ye), {
1410
1465
  name: "iksvg_guanbidanchuang",
1411
1466
  title: "关闭",
1412
1467
  size: 20,
@@ -1450,12 +1505,12 @@ const hs = /* @__PURE__ */ nt(fs, [["__scopeId", "data-v-da39e979"]]), ds = { cl
1450
1505
  }
1451
1506
  });
1452
1507
  return (n, s) => {
1453
- const l = Te("el-dialog");
1454
- return T(), Ee(l, $i({
1508
+ const l = Ee("el-dialog");
1509
+ return T(), ve(l, $i({
1455
1510
  modelValue: r.value,
1456
1511
  "onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u)
1457
1512
  }, n.$attrs, {
1458
- "close-icon": j(i),
1513
+ "close-icon": V(i),
1459
1514
  class: `ik-base-dialog ${n.noHeader ? "no-header" : ""} ${n.noFooter ? "no-footer" : ""}`,
1460
1515
  fullscreen: t.value,
1461
1516
  "modal-class": "baseDialog"
@@ -1479,13 +1534,13 @@ const hs = /* @__PURE__ */ nt(fs, [["__scopeId", "data-v-da39e979"]]), ds = { cl
1479
1534
  )
1480
1535
  ])
1481
1536
  ]),
1482
- n.$attrs.showClose ? (T(), Ee(j(Ye), {
1537
+ n.$attrs.showClose ? (T(), ve(V(Ye), {
1483
1538
  key: 0,
1484
1539
  onClick: e,
1485
1540
  name: t.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1486
1541
  class: "absolute! top-[18px] right-[50px] icon-dialog-full",
1487
1542
  title: t.value ? "退出全屏" : "全屏"
1488
- }, null, 8, ["name", "title"])) : A("v-if", !0)
1543
+ }, null, 8, ["name", "title"])) : L("v-if", !0)
1489
1544
  ]),
1490
1545
  default: pe(() => [
1491
1546
  Fe(n.$slots, "default")
@@ -1846,7 +1901,7 @@ const bs = /* @__PURE__ */ ue({
1846
1901
  style: re({ height: o.officeHeight })
1847
1902
  },
1848
1903
  [
1849
- Z(j(Zt), {
1904
+ ie(V(Zt), {
1850
1905
  id: `${(/* @__PURE__ */ new Date()).getTime()}`,
1851
1906
  ref: "editorRef",
1852
1907
  "document-server-url": a.documentServerUrl,
@@ -1881,13 +1936,13 @@ function G(a) {
1881
1936
  }
1882
1937
  return a;
1883
1938
  }
1884
- function te(a) {
1939
+ function ee(a) {
1885
1940
  "@babel/helpers - typeof";
1886
- return te = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
1941
+ return ee = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
1887
1942
  return typeof o;
1888
1943
  } : function(o) {
1889
1944
  return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1890
- }, te(a);
1945
+ }, ee(a);
1891
1946
  }
1892
1947
  function x(a, o) {
1893
1948
  if (!(a instanceof o))
@@ -1912,7 +1967,7 @@ function _(a, o, r) {
1912
1967
  writable: !0
1913
1968
  }) : a[o] = r, a;
1914
1969
  }
1915
- function L(a, o) {
1970
+ function D(a, o) {
1916
1971
  if (typeof o != "function" && o !== null)
1917
1972
  throw new TypeError("Super expression must either be null or a function");
1918
1973
  a.prototype = Object.create(o && o.prototype, {
@@ -1925,10 +1980,10 @@ function L(a, o) {
1925
1980
  writable: !1
1926
1981
  }), o && Vt(a, o);
1927
1982
  }
1928
- function O(a) {
1929
- return O = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
1983
+ function M(a) {
1984
+ return M = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
1930
1985
  return r.__proto__ || Object.getPrototypeOf(r);
1931
- }, O(a);
1986
+ }, M(a);
1932
1987
  }
1933
1988
  function Vt(a, o) {
1934
1989
  return Vt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
@@ -1959,12 +2014,12 @@ function Qt(a, o) {
1959
2014
  throw new TypeError("Derived constructors may only return object or undefined");
1960
2015
  return m(a);
1961
2016
  }
1962
- function D(a) {
2017
+ function O(a) {
1963
2018
  var o = Es();
1964
2019
  return function() {
1965
- var t = O(a), e;
2020
+ var t = M(a), e;
1966
2021
  if (o) {
1967
- var i = O(this).constructor;
2022
+ var i = M(this).constructor;
1968
2023
  e = Reflect.construct(t, arguments, i);
1969
2024
  } else
1970
2025
  e = t.apply(this, arguments);
@@ -1972,18 +2027,18 @@ function D(a) {
1972
2027
  };
1973
2028
  }
1974
2029
  function Ss(a, o) {
1975
- for (; !Object.prototype.hasOwnProperty.call(a, o) && (a = O(a), a !== null); )
2030
+ for (; !Object.prototype.hasOwnProperty.call(a, o) && (a = M(a), a !== null); )
1976
2031
  ;
1977
2032
  return a;
1978
2033
  }
1979
- function M() {
1980
- return typeof Reflect < "u" && Reflect.get ? M = Reflect.get.bind() : M = function(o, r, t) {
2034
+ function N() {
2035
+ return typeof Reflect < "u" && Reflect.get ? N = Reflect.get.bind() : N = function(o, r, t) {
1981
2036
  var e = Ss(o, r);
1982
2037
  if (e) {
1983
2038
  var i = Object.getOwnPropertyDescriptor(e, r);
1984
2039
  return i.get ? i.get.call(arguments.length < 3 ? o : t) : i.value;
1985
2040
  }
1986
- }, M.apply(this, arguments);
2041
+ }, N.apply(this, arguments);
1987
2042
  }
1988
2043
  function fe(a) {
1989
2044
  return xs(a) || Is(a) || Ps(a) || As();
@@ -2077,9 +2132,9 @@ var Yi = { exports: {} };
2077
2132
  var v = r ? r + u : u;
2078
2133
  if (!this._events[v])
2079
2134
  return !1;
2080
- var y = this._events[v], C = arguments.length, w, k;
2135
+ var y = this._events[v], k = arguments.length, w, b;
2081
2136
  if (y.fn) {
2082
- switch (y.once && this.removeListener(u, y.fn, void 0, !0), C) {
2137
+ switch (y.once && this.removeListener(u, y.fn, void 0, !0), k) {
2083
2138
  case 1:
2084
2139
  return y.fn.call(y.context), !0;
2085
2140
  case 2:
@@ -2093,30 +2148,30 @@ var Yi = { exports: {} };
2093
2148
  case 6:
2094
2149
  return y.fn.call(y.context, c, h, g, p, d), !0;
2095
2150
  }
2096
- for (k = 1, w = new Array(C - 1); k < C; k++)
2097
- w[k - 1] = arguments[k];
2151
+ for (b = 1, w = new Array(k - 1); b < k; b++)
2152
+ w[b - 1] = arguments[b];
2098
2153
  y.fn.apply(y.context, w);
2099
2154
  } else {
2100
- var N = y.length, R;
2101
- for (k = 0; k < N; k++)
2102
- switch (y[k].once && this.removeListener(u, y[k].fn, void 0, !0), C) {
2155
+ var A = y.length, R;
2156
+ for (b = 0; b < A; b++)
2157
+ switch (y[b].once && this.removeListener(u, y[b].fn, void 0, !0), k) {
2103
2158
  case 1:
2104
- y[k].fn.call(y[k].context);
2159
+ y[b].fn.call(y[b].context);
2105
2160
  break;
2106
2161
  case 2:
2107
- y[k].fn.call(y[k].context, c);
2162
+ y[b].fn.call(y[b].context, c);
2108
2163
  break;
2109
2164
  case 3:
2110
- y[k].fn.call(y[k].context, c, h);
2165
+ y[b].fn.call(y[b].context, c, h);
2111
2166
  break;
2112
2167
  case 4:
2113
- y[k].fn.call(y[k].context, c, h, g);
2168
+ y[b].fn.call(y[b].context, c, h, g);
2114
2169
  break;
2115
2170
  default:
2116
2171
  if (!w)
2117
- for (R = 1, w = new Array(C - 1); R < C; R++)
2172
+ for (R = 1, w = new Array(k - 1); R < k; R++)
2118
2173
  w[R - 1] = arguments[R];
2119
- y[k].fn.apply(y[k].context, w);
2174
+ y[b].fn.apply(y[b].context, w);
2120
2175
  }
2121
2176
  }
2122
2177
  return !0;
@@ -2134,7 +2189,7 @@ var Yi = { exports: {} };
2134
2189
  if (d.fn)
2135
2190
  d.fn === c && (!g || d.once) && (!h || d.context === h) && n(this, p);
2136
2191
  else {
2137
- for (var v = 0, y = [], C = d.length; v < C; v++)
2192
+ for (var v = 0, y = [], k = d.length; v < k; v++)
2138
2193
  (d[v].fn !== c || g && !d[v].once || h && d[v].context !== h) && y.push(d[v]);
2139
2194
  y.length ? this._events[p] = y.length === 1 ? y[0] : y : n(this, p);
2140
2195
  }
@@ -2150,7 +2205,7 @@ var Ds = typeof window < "u" && window.location && window.location.href.indexOf(
2150
2205
  info: "color: #525252; background-color: #90ee90;",
2151
2206
  error: "color: #525252; background-color: red;",
2152
2207
  warn: "color: #525252; background-color: yellow; "
2153
- }, It = "%c[xgplayer]", H = {
2208
+ }, It = "%c[xgplayer]", U = {
2154
2209
  config: {
2155
2210
  debug: Ds ? 3 : 0
2156
2211
  },
@@ -2174,7 +2229,7 @@ var Ds = typeof window < "u" && window.location && window.location.href.indexOf(
2174
2229
  }
2175
2230
  };
2176
2231
  function Os(a) {
2177
- a.logInfo = H.logInfo.bind(a), a.logWarn = H.logWarn.bind(a), a.logError = H.logError.bind(a);
2232
+ a.logInfo = U.logInfo.bind(a), a.logWarn = U.logWarn.bind(a), a.logError = U.logError.bind(a);
2178
2233
  }
2179
2234
  var Rs = /* @__PURE__ */ function() {
2180
2235
  function a(o) {
@@ -2214,7 +2269,7 @@ f.createDomFromHtml = function(a) {
2214
2269
  e.setAttribute(i, o[i]);
2215
2270
  }), e) : null;
2216
2271
  } catch (i) {
2217
- return H.logError("util.createDomFromHtml", i), null;
2272
+ return U.logError("util.createDomFromHtml", i), null;
2218
2273
  }
2219
2274
  };
2220
2275
  f.hasClass = function(a, o) {
@@ -2225,7 +2280,7 @@ f.hasClass = function(a, o) {
2225
2280
  return t === o;
2226
2281
  });
2227
2282
  } catch {
2228
- var r = a.className && te(a.className) === "object" ? a.getAttribute("class") : a.className;
2283
+ var r = a.className && ee(a.className) === "object" ? a.getAttribute("class") : a.className;
2229
2284
  return r && !!r.match(new RegExp("(\\s|^)" + o + "(\\s|$)"));
2230
2285
  }
2231
2286
  };
@@ -2236,7 +2291,7 @@ f.addClass = function(a, o) {
2236
2291
  r && a.classList.add(r);
2237
2292
  });
2238
2293
  } catch {
2239
- f.hasClass(a, o) || (a.className && te(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class") + " " + o) : a.className += " " + o);
2294
+ f.hasClass(a, o) || (a.className && ee(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class") + " " + o) : a.className += " " + o);
2240
2295
  }
2241
2296
  };
2242
2297
  f.removeClass = function(a, o) {
@@ -2248,7 +2303,7 @@ f.removeClass = function(a, o) {
2248
2303
  } catch {
2249
2304
  f.hasClass(a, o) && o.split(/\s+/g).forEach(function(t) {
2250
2305
  var e = new RegExp("(\\s|^)" + t + "(\\s|$)");
2251
- a.className && te(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class").replace(e, " ")) : a.className = a.className.replace(e, " ");
2306
+ a.className && ee(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class").replace(e, " ")) : a.className = a.className.replace(e, " ");
2252
2307
  });
2253
2308
  }
2254
2309
  };
@@ -2271,7 +2326,7 @@ f.findDom = function() {
2271
2326
  try {
2272
2327
  r = a.querySelector(o);
2273
2328
  } catch (t) {
2274
- H.logError("util.findDom", t), o.indexOf("#") === 0 && (r = a.getElementById(o.slice(1)));
2329
+ U.logError("util.findDom", t), o.indexOf("#") === 0 && (r = a.getElementById(o.slice(1)));
2275
2330
  }
2276
2331
  return r;
2277
2332
  };
@@ -2392,7 +2447,7 @@ f.checkIsFunction = function(a) {
2392
2447
  return a && typeof a == "function";
2393
2448
  };
2394
2449
  f.checkIsObject = function(a) {
2395
- return a !== null && te(a) === "object";
2450
+ return a !== null && ee(a) === "object";
2396
2451
  };
2397
2452
  f.hide = function(a) {
2398
2453
  a.style.display = "none";
@@ -2622,7 +2677,7 @@ f.getCurrentTimeByOffset = function(a, o) {
2622
2677
  return a;
2623
2678
  };
2624
2679
  function Ji(a) {
2625
- var o = te(a);
2680
+ var o = ee(a);
2626
2681
  return a !== null && (o === "object" || o === "function");
2627
2682
  }
2628
2683
  function Ms(a, o, r) {
@@ -2642,27 +2697,27 @@ function Ms(a, o, r) {
2642
2697
  return window.cancelAnimationFrame(P);
2643
2698
  clearTimeout(P);
2644
2699
  }
2645
- function C(P) {
2646
- return u = P, s = v(N, o), c ? d(P) : n;
2700
+ function k(P) {
2701
+ return u = P, s = v(A, o), c ? d(P) : n;
2647
2702
  }
2648
2703
  function w(P) {
2649
2704
  var X = P - l, ne = P - u, ce = o - X;
2650
2705
  return h ? Math.min(ce, i - ne) : ce;
2651
2706
  }
2652
- function k(P) {
2707
+ function b(P) {
2653
2708
  var X = P - l, ne = P - u;
2654
2709
  return l === void 0 || X >= o || X < 0 || h && ne >= i;
2655
2710
  }
2656
- function N() {
2711
+ function A() {
2657
2712
  var P = Date.now();
2658
- if (k(P))
2713
+ if (b(P))
2659
2714
  return R(P);
2660
- s = v(N, w(P));
2715
+ s = v(A, w(P));
2661
2716
  }
2662
2717
  function R(P) {
2663
2718
  return s = void 0, g && t ? d(P) : (t = e = void 0, n);
2664
2719
  }
2665
- function z() {
2720
+ function H() {
2666
2721
  s !== void 0 && y(s), u = 0, t = l = e = s = void 0;
2667
2722
  }
2668
2723
  function F() {
@@ -2672,17 +2727,17 @@ function Ms(a, o, r) {
2672
2727
  return s !== void 0;
2673
2728
  }
2674
2729
  function K() {
2675
- for (var P = Date.now(), X = k(P), ne = arguments.length, ce = new Array(ne), Le = 0; Le < ne; Le++)
2730
+ for (var P = Date.now(), X = b(P), ne = arguments.length, ce = new Array(ne), Le = 0; Le < ne; Le++)
2676
2731
  ce[Le] = arguments[Le];
2677
2732
  if (t = ce, e = this, l = P, X) {
2678
2733
  if (s === void 0)
2679
- return C(l);
2734
+ return k(l);
2680
2735
  if (h)
2681
- return s = v(N, o), d(l);
2736
+ return s = v(A, o), d(l);
2682
2737
  }
2683
- return s === void 0 && (s = v(N, o)), n;
2738
+ return s === void 0 && (s = v(A, o)), n;
2684
2739
  }
2685
- return K.cancel = z, K.flush = F, K.pending = Y, K;
2740
+ return K.cancel = H, K.flush = F, K.pending = Y, K;
2686
2741
  }
2687
2742
  function Ns(a, o, r) {
2688
2743
  var t = !0, e = !0;
@@ -2860,12 +2915,12 @@ var mi = {
2860
2915
  for (var v = {
2861
2916
  playerVersion: Wt,
2862
2917
  domain: document.domain
2863
- }, y = ["errorType", "currentTime", "duration", "networkState", "readyState", "src", "currentSrc", "ended", "errd", "errorCode", "mediaError"], C = 0; C < arguments.length; C++)
2864
- v[y[C]] = arguments[C];
2918
+ }, y = ["errorType", "currentTime", "duration", "networkState", "readyState", "src", "currentSrc", "ended", "errd", "errorCode", "mediaError"], k = 0; k < arguments.length; k++)
2919
+ v[y[k]] = arguments[k];
2865
2920
  return v.ex = t ? (t[arguments[0]] || {}).msg : "", v;
2866
2921
  }
2867
2922
  }
2868
- ), ae = "play", ei = "playing", Be = "ended", Ze = "pause", rt = "error", bt = "seeking", _e = "seeked", oe = "timeupdate", st = "waiting", ye = "canplay", zs = "canplaythrough", Pe = "durationchange", Zi = "volumechange", ke = "loadeddata", Vs = "loadedmetadata", Qi = "ratechange", en = "progress", ti = "loadstart", He = "emptied", js = "stalled", Ws = "suspend", $s = "abort", Gs = "bufferedChange", ii = "focus", tn = "blur", ni = "ready", nn = "urlNull", Ne = "autoplay_started", ri = "autoplay_was_prevented", wt = "complete", dt = "replay", si = "destroy", Tt = "urlchange", $t = "download_speed_change", rn = "leaveplayer", sn = "enterplayer", on = "loading", ve = "fullscreen_change", gt = "cssFullscreen_change", pt = "mini_state_change", oi = "definition_change", Ks = "before_definition_change", Gt = "after_definition_change", Ys = "SEI_PARSED", Xs = "retry", Se = "video_resize", Kt = "pip_change", an = "rotate", ln = "screenShot", vt = "playnext", un = "shortcut", cn = "xglog", mt = "user_action", Et = "reset", fn = "source_error", hn = "source_success", qs = "switch_subtitle", dn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], gn = {
2923
+ ), ae = "play", ei = "playing", Be = "ended", Ze = "pause", rt = "error", bt = "seeking", ke = "seeked", oe = "timeupdate", st = "waiting", _e = "canplay", zs = "canplaythrough", Pe = "durationchange", Zi = "volumechange", Ce = "loadeddata", Vs = "loadedmetadata", Qi = "ratechange", en = "progress", ti = "loadstart", He = "emptied", js = "stalled", Ws = "suspend", $s = "abort", Gs = "bufferedChange", ii = "focus", tn = "blur", ni = "ready", nn = "urlNull", Ne = "autoplay_started", ri = "autoplay_was_prevented", wt = "complete", dt = "replay", si = "destroy", Tt = "urlchange", $t = "download_speed_change", rn = "leaveplayer", sn = "enterplayer", on = "loading", me = "fullscreen_change", gt = "cssFullscreen_change", pt = "mini_state_change", oi = "definition_change", Ks = "before_definition_change", Gt = "after_definition_change", Ys = "SEI_PARSED", Xs = "retry", Se = "video_resize", Kt = "pip_change", an = "rotate", ln = "screenShot", vt = "playnext", un = "shortcut", cn = "xglog", mt = "user_action", Et = "reset", fn = "source_error", hn = "source_success", qs = "switch_subtitle", dn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], gn = {
2869
2924
  STATS_INFO: "stats_info",
2870
2925
  STATS_DOWNLOAD: "stats_download",
2871
2926
  STATS_RESET: "stats_reset"
@@ -2878,7 +2933,7 @@ const Js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2878
2933
  AUTOPLAY_STARTED: Ne,
2879
2934
  BEFORE_DEFINITION_CHANGE: Ks,
2880
2935
  BUFFER_CHANGE: Gs,
2881
- CANPLAY: ye,
2936
+ CANPLAY: _e,
2882
2937
  CANPLAY_THROUGH: zs,
2883
2938
  COMPLETE: wt,
2884
2939
  CSS_FULLSCREEN_CHANGE: gt,
@@ -2891,9 +2946,9 @@ const Js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2891
2946
  ENTER_PLAYER: sn,
2892
2947
  ERROR: rt,
2893
2948
  FPS_STUCK: pn,
2894
- FULLSCREEN_CHANGE: ve,
2949
+ FULLSCREEN_CHANGE: me,
2895
2950
  LEAVE_PLAYER: rn,
2896
- LOADED_DATA: ke,
2951
+ LOADED_DATA: Ce,
2897
2952
  LOADED_METADATA: Vs,
2898
2953
  LOADING: on,
2899
2954
  LOAD_START: ti,
@@ -2913,7 +2968,7 @@ const Js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2913
2968
  RETRY: Xs,
2914
2969
  ROTATE: an,
2915
2970
  SCREEN_SHOT: ln,
2916
- SEEKED: _e,
2971
+ SEEKED: ke,
2917
2972
  SEEKING: bt,
2918
2973
  SEI_PARSED: Ys,
2919
2974
  SHORTCUT: un,
@@ -2972,8 +3027,8 @@ function Zs(a, o) {
2972
3027
  };
2973
3028
  }
2974
3029
  var Qs = /* @__PURE__ */ function(a) {
2975
- L(r, a);
2976
- var o = D(r);
3030
+ D(r, a);
3031
+ var o = O(r);
2977
3032
  function r(t) {
2978
3033
  var e;
2979
3034
  x(this, r), e = o.call(this, t), e._hasStart = !1, e._currentTime = 0, e._duration = 0, e._internalOp = {}, e._lastMuted = !1, e.vtype = "MP4", e._rate = -1, e.mediaConfig = Object.assign({}, {
@@ -3360,33 +3415,33 @@ var Qs = /* @__PURE__ */ function(a) {
3360
3415
  value: function(e, i) {
3361
3416
  for (var n, s = arguments.length, l = new Array(s > 2 ? s - 2 : 0), u = 2; u < s; u++)
3362
3417
  l[u - 2] = arguments[u];
3363
- (n = M(O(r.prototype), "emit", this)).call.apply(n, [this, e, i].concat(l));
3418
+ (n = N(M(r.prototype), "emit", this)).call.apply(n, [this, e, i].concat(l));
3364
3419
  }
3365
3420
  }, {
3366
3421
  key: "on",
3367
3422
  value: function(e, i) {
3368
3423
  for (var n, s = arguments.length, l = new Array(s > 2 ? s - 2 : 0), u = 2; u < s; u++)
3369
3424
  l[u - 2] = arguments[u];
3370
- (n = M(O(r.prototype), "on", this)).call.apply(n, [this, e, i].concat(l));
3425
+ (n = N(M(r.prototype), "on", this)).call.apply(n, [this, e, i].concat(l));
3371
3426
  }
3372
3427
  }, {
3373
3428
  key: "once",
3374
3429
  value: function(e, i) {
3375
3430
  for (var n, s = arguments.length, l = new Array(s > 2 ? s - 2 : 0), u = 2; u < s; u++)
3376
3431
  l[u - 2] = arguments[u];
3377
- (n = M(O(r.prototype), "once", this)).call.apply(n, [this, e, i].concat(l));
3432
+ (n = N(M(r.prototype), "once", this)).call.apply(n, [this, e, i].concat(l));
3378
3433
  }
3379
3434
  }, {
3380
3435
  key: "off",
3381
3436
  value: function(e, i) {
3382
3437
  for (var n, s = arguments.length, l = new Array(s > 2 ? s - 2 : 0), u = 2; u < s; u++)
3383
3438
  l[u - 2] = arguments[u];
3384
- (n = M(O(r.prototype), "off", this)).call.apply(n, [this, e, i].concat(l));
3439
+ (n = N(M(r.prototype), "off", this)).call.apply(n, [this, e, i].concat(l));
3385
3440
  }
3386
3441
  }, {
3387
3442
  key: "offAll",
3388
3443
  value: function() {
3389
- M(O(r.prototype), "removeAllListeners", this).call(this);
3444
+ N(M(r.prototype), "removeAllListeners", this).call(this);
3390
3445
  }
3391
3446
  }]), r;
3392
3447
  }(qi), eo = /* @__PURE__ */ function() {
@@ -3549,7 +3604,7 @@ function vn(a) {
3549
3604
  function mn(a) {
3550
3605
  a.__hooks = null;
3551
3606
  }
3552
- function me(a, o, r) {
3607
+ function ye(a, o, r) {
3553
3608
  for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
3554
3609
  e[i - 3] = arguments[i];
3555
3610
  if (a.__hooks && a.__hooks[o]) {
@@ -3566,7 +3621,7 @@ function me(a, o, r) {
3566
3621
  return r.call.apply(r, [a, a].concat(e));
3567
3622
  }
3568
3623
  function At(a, o) {
3569
- H.logError("[".concat(a, "] event or callback cant be undefined or null when call ").concat(o));
3624
+ U.logError("[".concat(a, "] event or callback cant be undefined or null when call ").concat(o));
3570
3625
  }
3571
3626
  var xe = /* @__PURE__ */ function() {
3572
3627
  function a(o) {
@@ -3807,10 +3862,10 @@ function Dt(a) {
3807
3862
  return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
3808
3863
  }
3809
3864
  function uo(a, o) {
3810
- return te(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
3865
+ return ee(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
3811
3866
  }
3812
3867
  function co(a, o) {
3813
- return te(a) === "object" && a.attr && te(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
3868
+ return ee(a) === "object" && a.attr && ee(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
3814
3869
  o[r] = a.attr[r];
3815
3870
  }), o;
3816
3871
  }
@@ -3826,11 +3881,11 @@ function xi(a, o) {
3826
3881
  try {
3827
3882
  return i = a(), i instanceof window.Element ? (f.addClass(i, r), Object.keys(t).map(function(n) {
3828
3883
  i.setAttribute(n, t[n]);
3829
- }), i) : (H.logWarn("warn>>icons.".concat(o, " in config of plugin named [").concat(e, "] is a function mast return an Element Object")), null);
3884
+ }), i) : (U.logWarn("warn>>icons.".concat(o, " in config of plugin named [").concat(e, "] is a function mast return an Element Object")), null);
3830
3885
  } catch (n) {
3831
- return H.logError("Plugin named [".concat(e, "]:createIcon"), n), null;
3886
+ return U.logError("Plugin named [".concat(e, "]:createIcon"), n), null;
3832
3887
  }
3833
- return typeof a == "string" ? f.createDomFromHtml(a, t, r) : (H.logWarn("warn>>icons.".concat(o, " in config of plugin named [").concat(e, "] is invalid")), null);
3888
+ return typeof a == "string" ? f.createDomFromHtml(a, t, r) : (U.logWarn("warn>>icons.".concat(o, " in config of plugin named [").concat(e, "] is invalid")), null);
3834
3889
  }
3835
3890
  function fo(a, o) {
3836
3891
  var r = o.config.icons || o.playerConfig.icons;
@@ -3849,9 +3904,9 @@ function ho(a, o) {
3849
3904
  });
3850
3905
  });
3851
3906
  }
3852
- var V = /* @__PURE__ */ function(a) {
3853
- L(r, a);
3854
- var o = D(r);
3907
+ var j = /* @__PURE__ */ function(a) {
3908
+ D(r, a);
3909
+ var o = O(r);
3855
3910
  function r() {
3856
3911
  var t, e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3857
3912
  return x(this, r), t = o.call(this, e), t.__delegates = [], t;
@@ -3859,7 +3914,7 @@ var V = /* @__PURE__ */ function(a) {
3859
3914
  return I(r, [{
3860
3915
  key: "__init",
3861
3916
  value: function(e) {
3862
- if (M(O(r.prototype), "__init", this).call(this, e), !!e.root) {
3917
+ if (N(M(r.prototype), "__init", this).call(this, e), !!e.root) {
3863
3918
  var i = e.root, n = null;
3864
3919
  this.icons = {}, this.root = null, this.parent = null;
3865
3920
  var s = this.registerIcons() || {};
@@ -3870,7 +3925,7 @@ var V = /* @__PURE__ */ function(a) {
3870
3925
  try {
3871
3926
  u = this.render();
3872
3927
  } catch (g) {
3873
- throw H.logError("Plugin:".concat(this.pluginName, ":render"), g), new Error("Plugin:".concat(this.pluginName, ":render:").concat(g.message));
3928
+ throw U.logError("Plugin:".concat(this.pluginName, ":render"), g), new Error("Plugin:".concat(this.pluginName, ":render:").concat(g.message));
3874
3929
  }
3875
3930
  if (u)
3876
3931
  n = r.insert(u, i, e.index), n.setAttribute("data-index", e.index);
@@ -3890,11 +3945,11 @@ var V = /* @__PURE__ */ function(a) {
3890
3945
  if (this.root) {
3891
3946
  this._children = [];
3892
3947
  var i = this.children();
3893
- i && te(i) === "object" && Object.keys(i).length > 0 && Object.keys(i).map(function(n) {
3948
+ i && ee(i) === "object" && Object.keys(i).length > 0 && Object.keys(i).map(function(n) {
3894
3949
  var s = n, l = i[s], u = {
3895
3950
  root: e.root
3896
3951
  }, c, h;
3897
- typeof l == "function" ? (c = e.config[s] || {}, h = l) : te(l) === "object" && typeof l.plugin == "function" && (c = l.options ? f.deepCopy(e.config[s] || {}, l.options) : e.config[s] || {}, h = l.plugin), u.config = c, c.index !== void 0 && (u.index = c.index), c.root && (u.root = c.root), e.registerPlugin(h, u, s);
3952
+ typeof l == "function" ? (c = e.config[s] || {}, h = l) : ee(l) === "object" && typeof l.plugin == "function" && (c = l.options ? f.deepCopy(e.config[s] || {}, l.options) : e.config[s] || {}, h = l.plugin), u.config = c, c.index !== void 0 && (u.index = c.index), c.root && (u.root = c.root), e.registerPlugin(h, u, s);
3898
3953
  });
3899
3954
  }
3900
3955
  }
@@ -3953,7 +4008,7 @@ var V = /* @__PURE__ */ function(a) {
3953
4008
  value: function(e) {
3954
4009
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "";
3955
4010
  i.root = i.root || this.root;
3956
- var s = M(O(r.prototype), "registerPlugin", this).call(this, e, i, n);
4011
+ var s = N(M(r.prototype), "registerPlugin", this).call(this, e, i, n);
3957
4012
  return this._children.push(s), s;
3958
4013
  }
3959
4014
  }, {
@@ -4068,7 +4123,7 @@ var V = /* @__PURE__ */ function(a) {
4068
4123
  try {
4069
4124
  return typeof e == "string" ? this.find(e).appendChild(i) : e.appendChild(i);
4070
4125
  } catch (n) {
4071
- return H.logError("Plugin:appendChild", n), null;
4126
+ return U.logError("Plugin:appendChild", n), null;
4072
4127
  }
4073
4128
  }
4074
4129
  }, {
@@ -4088,7 +4143,7 @@ var V = /* @__PURE__ */ function(a) {
4088
4143
  n.destroy();
4089
4144
  }), this.__delegates = [], this._children instanceof Array && (this._children.map(function(n) {
4090
4145
  i.unRegisterPlugin(n.pluginName);
4091
- }), this._children = null), this.root && (this.root.hasOwnProperty("remove") ? this.root.remove() : this.root.parentNode && this.root.parentNode.removeChild(this.root)), M(O(r.prototype), "__destroy", this).call(this), this.icons = {}, ["root", "parent"].map(function(n) {
4146
+ }), this._children = null), this.root && (this.root.hasOwnProperty("remove") ? this.root.remove() : this.root.parentNode && this.root.parentNode.removeChild(this.root)), N(M(r.prototype), "__destroy", this).call(this), this.icons = {}, ["root", "parent"].map(function(n) {
4092
4147
  e[n] = null;
4093
4148
  });
4094
4149
  }
@@ -4411,7 +4466,7 @@ var q = {
4411
4466
  delete this.pluginGroup[r], delete o._pluginInfoId;
4412
4467
  }
4413
4468
  }
4414
- }, b = {
4469
+ }, C = {
4415
4470
  DEFAULT: "xgplayer",
4416
4471
  DEFAULT_SKIN: "xgplayer-skin-default",
4417
4472
  ENTER: "xgplayer-is-enter",
@@ -4535,8 +4590,8 @@ var mo = function(o, r) {
4535
4590
  var v = o.config.i18n || [];
4536
4591
  d.push.apply(d, fe(v)), o.config.i18n = d;
4537
4592
  }, yo = /* @__PURE__ */ function(a) {
4538
- L(r, a);
4539
- var o = D(r);
4593
+ D(r, a);
4594
+ var o = O(r);
4540
4595
  function r() {
4541
4596
  var t;
4542
4597
  x(this, r);
@@ -4562,7 +4617,7 @@ var mo = function(o, r) {
4562
4617
  value: function() {
4563
4618
  var e = this, i = this.config, n = i.disable, s = i.height, l = i.mode;
4564
4619
  if (!n) {
4565
- l === "flex" && this.player.addClass(b.FLEX_CONTROLS);
4620
+ l === "flex" && this.player.addClass(C.FLEX_CONTROLS);
4566
4621
  var u = {
4567
4622
  height: "".concat(s, "px")
4568
4623
  };
@@ -4599,12 +4654,12 @@ var mo = function(o, r) {
4599
4654
  }, {
4600
4655
  key: "recoverAutoHide",
4601
4656
  value: function() {
4602
- this.config.autoHide && f.addClass(this.root, b.CONTROLS_AUTOHIDE);
4657
+ this.config.autoHide && f.addClass(this.root, C.CONTROLS_AUTOHIDE);
4603
4658
  }
4604
4659
  }, {
4605
4660
  key: "pauseAutoHide",
4606
4661
  value: function() {
4607
- f.removeClass(this.root, b.CONTROLS_AUTOHIDE);
4662
+ f.removeClass(this.root, C.CONTROLS_AUTOHIDE);
4608
4663
  }
4609
4664
  }, {
4610
4665
  key: "show",
@@ -4645,7 +4700,7 @@ var mo = function(o, r) {
4645
4700
  default:
4646
4701
  i.root = this.left;
4647
4702
  }
4648
- return M(O(r.prototype), "registerPlugin", this).call(this, e, i, n);
4703
+ return N(M(r.prototype), "registerPlugin", this).call(this, e, i, n);
4649
4704
  }
4650
4705
  }
4651
4706
  }
@@ -4665,7 +4720,7 @@ var mo = function(o, r) {
4665
4720
  "flex-controls": i === "flex"
4666
4721
  }, {
4667
4722
  "bottom-controls": i === "bottom"
4668
- }, _({}, b.CONTROLS_AUTOHIDE, n), {
4723
+ }, _({}, C.CONTROLS_AUTOHIDE, n), {
4669
4724
  "xgplayer-controls-initshow": s || !n
4670
4725
  });
4671
4726
  return '<xg-controls class="'.concat(u, `" unselectable="on">
@@ -4695,7 +4750,7 @@ var mo = function(o, r) {
4695
4750
  };
4696
4751
  }
4697
4752
  }]), r;
4698
- }(V), _o = {
4753
+ }(j), _o = {
4699
4754
  LANG: "en",
4700
4755
  TEXT: {
4701
4756
  ERROR_TYPES: {
@@ -4839,7 +4894,7 @@ var Xe = {
4839
4894
  extend: ko,
4840
4895
  use: ai,
4841
4896
  init: Co
4842
- }, U = {
4897
+ }, z = {
4843
4898
  INITIAL: 1,
4844
4899
  READY: 2,
4845
4900
  ATTACHING: 3,
@@ -4848,29 +4903,29 @@ var Xe = {
4848
4903
  RUNNING: 6,
4849
4904
  ENDED: 7,
4850
4905
  DESTROYED: 8
4851
- }, Pi = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], ie = {}, Ot = null, _n = /* @__PURE__ */ function(a) {
4852
- L(r, a);
4853
- var o = D(r);
4906
+ }, Pi = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], te = {}, Ot = null, _n = /* @__PURE__ */ function(a) {
4907
+ D(r, a);
4908
+ var o = O(r);
4854
4909
  function r() {
4855
4910
  return x(this, r), o.apply(this, arguments);
4856
4911
  }
4857
4912
  return I(r, [{
4858
4913
  key: "add",
4859
4914
  value: function(e) {
4860
- e && (ie[e.playerId] = e, Object.keys(ie).length === 1 && this.setActive(e.playerId, !0));
4915
+ e && (te[e.playerId] = e, Object.keys(te).length === 1 && this.setActive(e.playerId, !0));
4861
4916
  }
4862
4917
  }, {
4863
4918
  key: "remove",
4864
4919
  value: function(e) {
4865
- e && (e.isUserActive, delete ie[e.playerId]);
4920
+ e && (e.isUserActive, delete te[e.playerId]);
4866
4921
  }
4867
4922
  }, {
4868
4923
  key: "_iterate",
4869
4924
  value: function(e) {
4870
4925
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
4871
- for (var n in ie)
4872
- if (Object.prototype.hasOwnProperty.call(ie, n)) {
4873
- var s = ie[n];
4926
+ for (var n in te)
4927
+ if (Object.prototype.hasOwnProperty.call(te, n)) {
4928
+ var s = te[n];
4874
4929
  if (i) {
4875
4930
  if (e(s))
4876
4931
  break;
@@ -4904,16 +4959,16 @@ var Xe = {
4904
4959
  key: "setActive",
4905
4960
  value: function(e) {
4906
4961
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
4907
- if (ie[e])
4962
+ if (te[e])
4908
4963
  return i ? this.forEach(function(n) {
4909
4964
  e === n.playerId ? (n.isUserActive = !0, n.isInstNext = !1) : n.isUserActive = !1;
4910
- }) : ie[e].isUserActive = i, e;
4965
+ }) : te[e].isUserActive = i, e;
4911
4966
  }
4912
4967
  }, {
4913
4968
  key: "getActiveId",
4914
4969
  value: function() {
4915
- for (var e = Object.keys(ie), i = 0; i < e.length; i++) {
4916
- var n = ie[e[i]];
4970
+ for (var e = Object.keys(te), i = 0; i < e.length; i++) {
4971
+ var n = te[e[i]];
4917
4972
  if (n && n.isUserActive)
4918
4973
  return e[i];
4919
4974
  }
@@ -4923,10 +4978,10 @@ var Xe = {
4923
4978
  key: "setNext",
4924
4979
  value: function(e) {
4925
4980
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
4926
- if (ie[e])
4981
+ if (te[e])
4927
4982
  return i ? this.forEach(function(n) {
4928
4983
  e === n.playerId ? (n.isUserActive = !1, n.isInstNext = !0) : n.isInstNext = !1;
4929
- }) : ie[e].isInstNext = i, e;
4984
+ }) : te[e].isInstNext = i, e;
4930
4985
  }
4931
4986
  }], [{
4932
4987
  key: "getInstance",
@@ -4936,16 +4991,16 @@ var Xe = {
4936
4991
  }]), r;
4937
4992
  }(Xi.EventEmitter);
4938
4993
  function bo(a) {
4939
- for (var o = Object.keys(ie), r = 0; r < o.length; r++) {
4940
- var t = ie[o[r]];
4994
+ for (var o = Object.keys(te), r = 0; r < o.length; r++) {
4995
+ var t = te[o[r]];
4941
4996
  if (t.root === a)
4942
4997
  return t;
4943
4998
  }
4944
4999
  return null;
4945
5000
  }
4946
- var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /* @__PURE__ */ function(a) {
4947
- L(r, a);
4948
- var o = D(r);
5001
+ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /* @__PURE__ */ function(a) {
5002
+ D(r, a);
5003
+ var o = O(r);
4949
5004
  function r(t) {
4950
5005
  var e;
4951
5006
  x(this, r);
@@ -4953,14 +5008,14 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
4953
5008
  e = o.call(this, i), _(m(e), "canPlayFunc", function() {
4954
5009
  if (e.config) {
4955
5010
  var d = e.config, v = d.autoplay, y = d.defaultPlaybackRate;
4956
- H.logInfo("player", "canPlayFunc, startTime", e.__startTime), e.__startTime > 0 && e.duration > 0 && (e.currentTime = e.__startTime > e.duration ? e.duration : e.__startTime, e.__startTime = -1), e.playbackRate = y, (v || e._useAutoplay) && e.mediaPlay(), e.off(ye, e.canPlayFunc), e.removeClass(b.ENTER);
5011
+ U.logInfo("player", "canPlayFunc, startTime", e.__startTime), e.__startTime > 0 && e.duration > 0 && (e.currentTime = e.__startTime > e.duration ? e.duration : e.__startTime, e.__startTime = -1), e.playbackRate = y, (v || e._useAutoplay) && e.mediaPlay(), e.off(_e, e.canPlayFunc), e.removeClass(C.ENTER);
4957
5012
  }
4958
5013
  }), _(m(e), "onFullscreenChange", function(d, v) {
4959
5014
  var y = function() {
4960
5015
  f.setTimeout(m(e), function() {
4961
5016
  e.resize();
4962
5017
  }, 100);
4963
- }, C = f.getFullScreenEl();
5018
+ }, k = f.getFullScreenEl();
4964
5019
  e._fullActionFrom ? e._fullActionFrom = "" : e.emit(mt, {
4965
5020
  eventType: "system",
4966
5021
  action: "switch_fullscreen",
@@ -4973,21 +5028,21 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
4973
5028
  to: !1
4974
5029
  }]
4975
5030
  });
4976
- var w = Hs(C, e.playerId, Oe);
4977
- if (v || C && (C === e._fullscreenEl || w))
4978
- y(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, b.FULLSCREEN), e.emit(ve, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
5031
+ var w = Hs(k, e.playerId, Oe);
5032
+ if (v || k && (k === e._fullscreenEl || w))
5033
+ y(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, k, C.FULLSCREEN), e.emit(me, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
4979
5034
  else if (e.fullscreen) {
4980
5035
  y();
4981
- var k = m(e), N = k._fullScreenOffset, R = k.config;
4982
- if (R.needFullscreenScroll ? (window.scrollTo(N.left, N.top), f.setTimeout(m(e), function() {
5036
+ var b = m(e), A = b._fullScreenOffset, R = b.config;
5037
+ if (R.needFullscreenScroll ? (window.scrollTo(A.left, A.top), f.setTimeout(m(e), function() {
4983
5038
  e.fullscreen = !1, e._fullScreenOffset = null;
4984
5039
  }, 100)) : (!e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !1, e._fullScreenOffset = null), e.cssfullscreen)
4985
- e.removeClass(b.FULLSCREEN);
5040
+ e.removeClass(C.FULLSCREEN);
4986
5041
  else {
4987
- var z = e._fullscreenEl;
4988
- !z && (e.root.contains(d.target) || d.target === e.root) && (z = d.target), e.recoverFullStyle(e.root, z, b.FULLSCREEN);
5042
+ var H = e._fullscreenEl;
5043
+ !H && (e.root.contains(d.target) || d.target === e.root) && (H = d.target), e.recoverFullStyle(e.root, H, C.FULLSCREEN);
4989
5044
  }
4990
- e._fullscreenEl = null, e.emit(ve, !1);
5045
+ e._fullscreenEl = null, e.emit(me, !1);
4991
5046
  }
4992
5047
  }), _(m(e), "_onWebkitbeginfullscreen", function(d) {
4993
5048
  e._fullscreenEl = e.media, e.onFullscreenChange(d, !0);
@@ -5000,7 +5055,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5000
5055
  s >= 0 && n && (e.config.presets[s] = n);
5001
5056
  } else
5002
5057
  n && e.config.presets.push(n);
5003
- e.userTimer = null, e.waitTimer = null, e.handleSource = !0, e._state = U.INITIAL, e.isError = !1, e._hasStart = !1, e.isSeeking = !1, e.isCanplay = !1, e._useAutoplay = !1, e.__startTime = -1, e.rotateDeg = 0, e.isActive = !1, e.fullscreen = !1, e.cssfullscreen = !1, e.isRotateFullscreen = !1, e._fullscreenEl = null, e.timeSegments = [], e._cssfullscreenEl = null, e.curDefinition = null, e._orgCss = "", e._fullScreenOffset = null, e._videoHeight = 0, e._videoWidth = 0, e.videoPos = {
5058
+ e.userTimer = null, e.waitTimer = null, e.handleSource = !0, e._state = z.INITIAL, e.isError = !1, e._hasStart = !1, e.isSeeking = !1, e.isCanplay = !1, e._useAutoplay = !1, e.__startTime = -1, e.rotateDeg = 0, e.isActive = !1, e.fullscreen = !1, e.cssfullscreen = !1, e.isRotateFullscreen = !1, e._fullscreenEl = null, e.timeSegments = [], e._cssfullscreenEl = null, e.curDefinition = null, e._orgCss = "", e._fullScreenOffset = null, e._videoHeight = 0, e._videoWidth = 0, e.videoPos = {
5004
5059
  pi: 1,
5005
5060
  scale: 0,
5006
5061
  rotate: -1,
@@ -5024,7 +5079,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5024
5079
  duration: 0
5025
5080
  }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = Xe.init(e._pluginInfoId), B.os.isAndroid && B.osVersion > 0 && B.osVersion < 6 && (e.config.autoplay = !1), e.database = new eo(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
5026
5081
  isActiveLocked: !1
5027
- }, e.instManager = Ce;
5082
+ }, e.instManager = be;
5028
5083
  var l = e._initDOM();
5029
5084
  if (!l)
5030
5085
  return console.error(new Error("can't find the dom which id is ".concat(e.config.id, " or this.config.el does not exist"))), Qt(e);
@@ -5035,9 +5090,9 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5035
5090
  });
5036
5091
  p || (h.defaultDefinition = h.list[0].definition, p = h.list[0]), e.config.url = p.url, e.curDefinition = p;
5037
5092
  }
5038
- return e._bindEvents(), e._registerPresets(), e._registerPlugins(), q.onPluginsReady(m(e)), e.getInitDefinition(), e.setState(U.READY), f.setTimeout(m(e), function() {
5093
+ return e._bindEvents(), e._registerPresets(), e._registerPlugins(), q.onPluginsReady(m(e)), e.getInitDefinition(), e.setState(z.READY), f.setTimeout(m(e), function() {
5039
5094
  e.emit(ni);
5040
- }, 0), e.onReady && e.onReady(), (e.config.videoInit || e.config.autoplay) && (!e.hasStart || e.state < U.ATTACHED) && e.start(), e;
5095
+ }, 0), e.onReady && e.onReady(), (e.config.videoInit || e.config.autoplay) && (!e.hasStart || e.state < z.ATTACHED) && e.start(), e;
5041
5096
  }
5042
5097
  return I(r, [{
5043
5098
  key: "_initDOM",
@@ -5055,7 +5110,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5055
5110
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
5056
5111
  }
5057
5112
  var s = bo(this.root);
5058
- s && (H.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(Oe, this.playerId), (e = Ce) === null || e === void 0 || e.add(this), q.init(this), this._initBaseDoms();
5113
+ s && (U.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(Oe, this.playerId), (e = be) === null || e === void 0 || e.add(this), q.init(this), this._initBaseDoms();
5059
5114
  var l = this.constructor.XgVideoProxy;
5060
5115
  if (l && this.mediaConfig.mediaType === l.mediaType) {
5061
5116
  var u = this.innerContainer || this.root;
@@ -5070,24 +5125,24 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5070
5125
  this.controls = g;
5071
5126
  }
5072
5127
  var p = this.config.isMobileSimulateMode === "mobile" ? "mobile" : B.device;
5073
- if (this.addClass("".concat(b.DEFAULT, " ").concat(b.INACTIVE, " xgplayer-").concat(p, " ").concat(this.config.controls ? "" : b.NO_CONTROLS)), this.config.autoplay ? this.addClass(b.ENTER) : this.addClass(b.NO_START), this.config.fluid) {
5128
+ if (this.addClass("".concat(C.DEFAULT, " ").concat(C.INACTIVE, " xgplayer-").concat(p, " ").concat(this.config.controls ? "" : C.NO_CONTROLS)), this.config.autoplay ? this.addClass(C.ENTER) : this.addClass(C.NO_START), this.config.fluid) {
5074
5129
  var d = this.config, v = d.width, y = d.height;
5075
5130
  (typeof v != "number" || typeof y != "number") && (v = 600, y = 337.5);
5076
- var C = {
5131
+ var k = {
5077
5132
  width: "100%",
5078
5133
  height: "0",
5079
5134
  "max-width": "100%",
5080
5135
  "padding-top": "".concat(y * 100 / v, "%")
5081
5136
  };
5082
- Object.keys(C).forEach(function(F) {
5083
- i.root.style[F] = C[F];
5137
+ Object.keys(k).forEach(function(F) {
5138
+ i.root.style[F] = k[F];
5084
5139
  });
5085
5140
  } else
5086
5141
  ["width", "height"].forEach(function(F) {
5087
5142
  i.config[F] && (typeof i.config[F] != "number" ? i.root.style[F] = i.config[F] : i.root.style[F] = "".concat(i.config[F], "px"));
5088
5143
  });
5089
- var w = this.root.getBoundingClientRect(), k = w.width, N = w.height, R = w.left, z = w.top;
5090
- return this.sizeInfo.width = k, this.sizeInfo.height = N, this.sizeInfo.left = R, this.sizeInfo.top = z, !0;
5144
+ var w = this.root.getBoundingClientRect(), b = w.width, A = w.height, R = w.left, H = w.top;
5145
+ return this.sizeInfo.width = b, this.sizeInfo.height = A, this.sizeInfo.left = R, this.sizeInfo.top = H, !0;
5091
5146
  }
5092
5147
  }, {
5093
5148
  key: "_initBaseDoms",
@@ -5104,7 +5159,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5104
5159
  e.on(i, e["on" + i.charAt(0).toUpperCase() + i.slice(1)]);
5105
5160
  }), ki.forEach(function(i) {
5106
5161
  document && document.addEventListener(i, e.onFullscreenChange);
5107
- }), B.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(ke, this.resize), this.playFunc = function() {
5162
+ }), B.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(Ce, this.resize), this.playFunc = function() {
5108
5163
  e.config.closeFocusVideoFocus || e.media.focus();
5109
5164
  }, this.once(ae, this.playFunc);
5110
5165
  }
@@ -5114,7 +5169,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5114
5169
  var e = this;
5115
5170
  this.root.removeEventListener("mousemove", this.mousemoveFunc), ki.forEach(function(i) {
5116
5171
  document.removeEventListener(i, e.onFullscreenChange);
5117
- }), this.playFunc && this.off(ae, this.playFunc), this.off(ye, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
5172
+ }), this.playFunc && this.off(ae, this.playFunc), this.off(_e, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
5118
5173
  }
5119
5174
  }, {
5120
5175
  key: "_clearUserTimer",
@@ -5125,14 +5180,14 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5125
5180
  key: "_startInit",
5126
5181
  value: function(e) {
5127
5182
  var i = this;
5128
- if (this.media && !((!e || e === "" || f.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(nn), H.logWarn("config.url is null, please get url and run player._startInit(url)"), this.config.nullUrlStart))) {
5183
+ if (this.media && !((!e || e === "" || f.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(nn), U.logWarn("config.url is null, please get url and run player._startInit(url)"), this.config.nullUrlStart))) {
5129
5184
  this.handleSource && (this._detachSourceEvents(this.media), f.typeOf(e) === "Array" && e.length > 0 ? this._attachSourceEvents(this.media, e) : !this.media.src || this.media.src !== e ? this.media.src = e : e || this.media.removeAttribute("src")), f.typeOf(this.config.volume) === "Number" && (this.volume = this.config.volume);
5130
5185
  var n = this.innerContainer ? this.innerContainer : this.root;
5131
5186
  this.media instanceof window.Element && !n.contains(this.media) && n.insertBefore(this.media, n.firstChild);
5132
5187
  var s = this.media.readyState;
5133
- H.logInfo("_startInit readyState", s), this.config.autoplay && (!f.isMSE(this.media) && this.load(), (B.os.isIpad || B.os.isPhone) && this.mediaPlay());
5188
+ U.logInfo("_startInit readyState", s), this.config.autoplay && (!f.isMSE(this.media) && this.load(), (B.os.isIpad || B.os.isPhone) && this.mediaPlay());
5134
5189
  var l = this.config.startTime;
5135
- this.__startTime = l > 0 ? l : -1, this.config.startTime = 0, s >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(ye, this.canPlayFunc), (!this.hasStart || this.state < U.ATTACHED) && q.afterInit(this), this.hasStart = !0, this.setState(U.ATTACHED), f.setTimeout(this, function() {
5190
+ this.__startTime = l > 0 ? l : -1, this.config.startTime = 0, s >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(_e, this.canPlayFunc), (!this.hasStart || this.state < z.ATTACHED) && q.afterInit(this), this.hasStart = !0, this.setState(z.ATTACHED), f.setTimeout(this, function() {
5136
5191
  i.emit(wt);
5137
5192
  }, 0);
5138
5193
  }
@@ -5157,13 +5212,13 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5157
5212
  h.forceBeforeInit && (p.then(function() {
5158
5213
  e._loadingPlugins.splice(e._loadingPlugins.indexOf(p), 1);
5159
5214
  }).catch(function(d) {
5160
- H.logError("_registerPlugins:loadingPlugin", d), e._loadingPlugins.splice(e._loadingPlugins.indexOf(p), 1);
5215
+ U.logError("_registerPlugins:loadingPlugin", d), e._loadingPlugins.splice(e._loadingPlugins.indexOf(p), 1);
5161
5216
  }), e._loadingPlugins.push(p));
5162
5217
  return;
5163
5218
  }
5164
5219
  return e.registerPlugin(h);
5165
5220
  } catch (d) {
5166
- H.logError("_registerPlugins:", d);
5221
+ U.logError("_registerPlugins:", d);
5167
5222
  }
5168
5223
  });
5169
5224
  }
@@ -5187,7 +5242,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5187
5242
  this.leftBar || (this.leftBar = f.createPositionBar("xg-left-bar", this.root)), i = this.leftBar;
5188
5243
  break;
5189
5244
  case W.ROOT_TOP:
5190
- this.topBar || (this.topBar = f.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && f.addClass(this.topBar, b.TOP_BAR_AUTOHIDE)), i = this.topBar;
5245
+ this.topBar || (this.topBar = f.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && f.addClass(this.topBar, C.TOP_BAR_AUTOHIDE)), i = this.topBar;
5191
5246
  break;
5192
5247
  default:
5193
5248
  i = this.innerContainer || this.root;
@@ -5270,15 +5325,15 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5270
5325
  key: "start",
5271
5326
  value: function(e) {
5272
5327
  var i = this;
5273
- if (!(this.state > U.ATTACHING))
5274
- return !e && !this.config.url && this.getInitDefinition(), this.hasStart = !0, this.setState(U.ATTACHING), this._registerPlugins(!1), q.beforeInit(this).then(function() {
5328
+ if (!(this.state > z.ATTACHING))
5329
+ return !e && !this.config.url && this.getInitDefinition(), this.hasStart = !0, this.setState(z.ATTACHING), this._registerPlugins(!1), q.beforeInit(this).then(function() {
5275
5330
  if (i.config) {
5276
5331
  e || (e = i.url || i.config.url);
5277
5332
  var n = i._preProcessUrl(e), s = i._startInit(n.url);
5278
5333
  return s;
5279
5334
  }
5280
5335
  }).catch(function(n) {
5281
- throw n.fileName = "player", n.lineNumber = "236", H.logError("start:beforeInit:", n), n;
5336
+ throw n.fileName = "player", n.lineNumber = "236", U.logError("start:beforeInit:", n), n;
5282
5337
  });
5283
5338
  }
5284
5339
  }, {
@@ -5314,39 +5369,39 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5314
5369
  key: "mediaPlay",
5315
5370
  value: function() {
5316
5371
  var e = this;
5317
- if (!this.hasStart && this.state < U.ATTACHED) {
5318
- this.removeClass(b.NO_START), this.addClass(b.ENTER), this.start(), this._useAutoplay = !0;
5372
+ if (!this.hasStart && this.state < z.ATTACHED) {
5373
+ this.removeClass(C.NO_START), this.addClass(C.ENTER), this.start(), this._useAutoplay = !0;
5319
5374
  return;
5320
5375
  }
5321
- this.state < U.RUNNING && (this.removeClass(b.NO_START), !this.isCanplay && this.addClass(b.ENTER));
5322
- var i = M(O(r.prototype), "play", this).call(this);
5376
+ this.state < z.RUNNING && (this.removeClass(C.NO_START), !this.isCanplay && this.addClass(C.ENTER));
5377
+ var i = N(M(r.prototype), "play", this).call(this);
5323
5378
  return i !== void 0 && i && i.then ? i.then(function() {
5324
- e.removeClass(b.NOT_ALLOW_AUTOPLAY), e.addClass(b.PLAYING), e.state < U.RUNNING && (H.logInfo(">>>>playPromise.then"), e.setState(U.RUNNING), e.emit(Ne));
5379
+ e.removeClass(C.NOT_ALLOW_AUTOPLAY), e.addClass(C.PLAYING), e.state < z.RUNNING && (U.logInfo(">>>>playPromise.then"), e.setState(z.RUNNING), e.emit(Ne));
5325
5380
  }).catch(function(n) {
5326
- if (H.logWarn(">>>>playPromise.catch", n.name), e.media && e.media.error) {
5327
- e.onError(), e.removeClass(b.ENTER);
5381
+ if (U.logWarn(">>>>playPromise.catch", n.name), e.media && e.media.error) {
5382
+ e.onError(), e.removeClass(C.ENTER);
5328
5383
  return;
5329
5384
  }
5330
5385
  n.name === "NotAllowedError" && (e._errorTimer = f.setTimeout(e, function() {
5331
- e._errorTimer = null, e.emit(ri), e.addClass(b.NOT_ALLOW_AUTOPLAY), e.removeClass(b.ENTER), e.pause(), e.setState(U.NOTALLOW);
5386
+ e._errorTimer = null, e.emit(ri), e.addClass(C.NOT_ALLOW_AUTOPLAY), e.removeClass(C.ENTER), e.pause(), e.setState(z.NOTALLOW);
5332
5387
  }, 0));
5333
- }) : (H.logWarn("video.play not return promise"), this.state < U.RUNNING && (this.setState(U.RUNNING), this.removeClass(b.NOT_ALLOW_AUTOPLAY), this.removeClass(b.NO_START), this.removeClass(b.ENTER), this.addClass(b.PLAYING), this.emit(Ne))), i;
5388
+ }) : (U.logWarn("video.play not return promise"), this.state < z.RUNNING && (this.setState(z.RUNNING), this.removeClass(C.NOT_ALLOW_AUTOPLAY), this.removeClass(C.NO_START), this.removeClass(C.ENTER), this.addClass(C.PLAYING), this.emit(Ne))), i;
5334
5389
  }
5335
5390
  }, {
5336
5391
  key: "mediaPause",
5337
5392
  value: function() {
5338
- M(O(r.prototype), "pause", this).call(this);
5393
+ N(M(r.prototype), "pause", this).call(this);
5339
5394
  }
5340
5395
  }, {
5341
5396
  key: "videoPause",
5342
5397
  value: function() {
5343
- M(O(r.prototype), "pause", this).call(this);
5398
+ N(M(r.prototype), "pause", this).call(this);
5344
5399
  }
5345
5400
  }, {
5346
5401
  key: "play",
5347
5402
  value: function() {
5348
5403
  var e = this;
5349
- return this.removeClass(b.PAUSED), me(this, "play", function() {
5404
+ return this.removeClass(C.PAUSED), ye(this, "play", function() {
5350
5405
  return e.mediaPlay();
5351
5406
  });
5352
5407
  }
@@ -5354,8 +5409,8 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5354
5409
  key: "pause",
5355
5410
  value: function() {
5356
5411
  var e = this;
5357
- me(this, "pause", function() {
5358
- M(O(r.prototype), "pause", e).call(e);
5412
+ ye(this, "pause", function() {
5413
+ N(M(r.prototype), "pause", e).call(e);
5359
5414
  });
5360
5415
  }
5361
5416
  }, {
@@ -5364,8 +5419,8 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5364
5419
  var n = this;
5365
5420
  if (!(!this.media || Number.isNaN(Number(e)) || !this.hasStart)) {
5366
5421
  var s = this.config, l = s.isSeekedPlay, u = s.seekedStatus, c = i || (l ? "play" : u);
5367
- e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(_e, this._onceSeekCanplay), this._onceSeekCanplay = function() {
5368
- switch (n.removeClass(b.ENTER), n.isSeeking = !1, c) {
5422
+ e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(ke, this._onceSeekCanplay), this._onceSeekCanplay = function() {
5423
+ switch (n.removeClass(C.ENTER), n.isSeeking = !1, c) {
5369
5424
  case "play":
5370
5425
  n.play();
5371
5426
  break;
@@ -5376,7 +5431,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5376
5431
  n._isPauseBeforeSeek > 1 || n.paused ? n.pause() : n.play();
5377
5432
  }
5378
5433
  n._isPauseBeforeSeek = 0, n._onceSeekCanplay = null;
5379
- }, this.once(_e, this._onceSeekCanplay), this.state < U.RUNNING ? (this.removeClass(b.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
5434
+ }, this.once(ke, this._onceSeekCanplay), this.state < z.RUNNING ? (this.removeClass(C.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
5380
5435
  }
5381
5436
  }
5382
5437
  }, {
@@ -5418,15 +5473,15 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5418
5473
  value: function() {
5419
5474
  this.load(), this.reloadFunc = function() {
5420
5475
  this.play();
5421
- }, this.once(ke, this.reloadFunc);
5476
+ }, this.once(Ce, this.reloadFunc);
5422
5477
  }
5423
5478
  }, {
5424
5479
  key: "resetState",
5425
5480
  value: function() {
5426
- var e = this, i = b.NOT_ALLOW_AUTOPLAY, n = b.PLAYING, s = b.NO_START, l = b.PAUSED, u = b.REPLAY, c = b.ENTER, h = b.ENDED, g = b.ERROR, p = b.LOADING, d = [i, n, s, l, u, c, h, g, p];
5481
+ var e = this, i = C.NOT_ALLOW_AUTOPLAY, n = C.PLAYING, s = C.NO_START, l = C.PAUSED, u = C.REPLAY, c = C.ENTER, h = C.ENDED, g = C.ERROR, p = C.LOADING, d = [i, n, s, l, u, c, h, g, p];
5427
5482
  this.hasStart = !1, this.isError = !1, this._useAutoplay = !1, this.mediaPause(), this._accPlayed.acc = 0, this._accPlayed.t = 0, this._accPlayed.loopAcc = 0, d.forEach(function(v) {
5428
5483
  e.removeClass(v);
5429
- }), this.addClass(b.NO_START), this.emit(Et);
5484
+ }), this.addClass(C.NO_START), this.emit(Et);
5430
5485
  }
5431
5486
  }, {
5432
5487
  key: "reset",
@@ -5448,7 +5503,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5448
5503
  value: function() {
5449
5504
  var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
5450
5505
  if (!(!s || !l)) {
5451
- if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(Oe), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(si), (e = Ce) === null || e === void 0 || e.remove(this), q.destroy(this), mn(this), M(O(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
5506
+ if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(Oe), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(si), (e = be) === null || e === void 0 || e.remove(this), q.destroy(this), mn(this), N(M(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
5452
5507
  for (var u = n.children, c = 0; c < u.length; c++)
5453
5508
  n.removeChild(u[c]);
5454
5509
  !n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(g) {
@@ -5466,8 +5521,8 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5466
5521
  key: "replay",
5467
5522
  value: function() {
5468
5523
  var e = this;
5469
- this.removeClass(b.ENDED), this.currentTime = 0, this.isSeeking = !1, me(this, "replay", function() {
5470
- e.once(_e, function() {
5524
+ this.removeClass(C.ENDED), this.currentTime = 0, this.isSeeking = !1, ye(this, "replay", function() {
5525
+ e.once(ke, function() {
5471
5526
  var i = e.mediaPlay();
5472
5527
  i && i.catch && i.catch(function(n) {
5473
5528
  console.log(n);
@@ -5479,11 +5534,11 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5479
5534
  key: "retry",
5480
5535
  value: function() {
5481
5536
  var e = this;
5482
- this.removeClass(b.ERROR), this.addClass(b.LOADING), me(this, "retry", function() {
5537
+ this.removeClass(C.ERROR), this.addClass(C.LOADING), ye(this, "retry", function() {
5483
5538
  var i = e.currentTime, n = e.config.url, s = f.isMSE(e.media) ? {
5484
5539
  url: n
5485
5540
  } : e._preProcessUrl(n);
5486
- e.src = s.url, !e.config.isLive && (e.currentTime = i), e.once(ye, function() {
5541
+ e.src = s.url, !e.config.isLive && (e.currentTime = i), e.once(_e, function() {
5487
5542
  e.mediaPlay();
5488
5543
  });
5489
5544
  });
@@ -5491,12 +5546,12 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5491
5546
  }, {
5492
5547
  key: "changeFullStyle",
5493
5548
  value: function(e, i, n, s) {
5494
- e && (s || (s = b.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = f.filterStyleFromText(e)), f.addClass(e, n), i && i !== e && !this._orgPCss && (this._orgPCss = f.filterStyleFromText(i), f.addClass(i, s), i.setAttribute(Oe, this.playerId)));
5549
+ e && (s || (s = C.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = f.filterStyleFromText(e)), f.addClass(e, n), i && i !== e && !this._orgPCss && (this._orgPCss = f.filterStyleFromText(i), f.addClass(i, s), i.setAttribute(Oe, this.playerId)));
5495
5550
  }
5496
5551
  }, {
5497
5552
  key: "recoverFullStyle",
5498
5553
  value: function(e, i, n, s) {
5499
- s || (s = b.PARENT_FULLSCREEN), this._orgCss && (f.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), f.removeClass(e, n), i && i !== e && this._orgPCss && (f.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", f.removeClass(i, s), i.removeAttribute(Oe));
5554
+ s || (s = C.PARENT_FULLSCREEN), this._orgCss && (f.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), f.removeClass(e, n), i && i !== e && this._orgPCss && (f.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", f.removeClass(i, s), i.removeAttribute(Oe));
5500
5555
  }
5501
5556
  }, {
5502
5557
  key: "getFullscreen",
@@ -5548,20 +5603,20 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5548
5603
  value: function() {
5549
5604
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
5550
5605
  this.isRotateFullscreen ? this.exitRotateFullscreen() : this.fullscreen && this.exitFullscreen();
5551
- var i = e ? "".concat(b.INNER_FULLSCREEN, " ").concat(b.CSS_FULLSCREEN) : b.CSS_FULLSCREEN;
5606
+ var i = e ? "".concat(C.INNER_FULLSCREEN, " ").concat(C.CSS_FULLSCREEN) : C.CSS_FULLSCREEN;
5552
5607
  this.changeFullStyle(this.root, e, i);
5553
5608
  var n = this.config.fullscreen, s = n === void 0 ? {} : n, l = s.useCssFullscreen === !0 || typeof s.useCssFullscreen == "function" && s.useCssFullscreen();
5554
- l && (this.fullscreen = !0, this.emit(ve, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(gt, !0);
5609
+ l && (this.fullscreen = !0, this.emit(me, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(gt, !0);
5555
5610
  }
5556
5611
  }, {
5557
5612
  key: "exitCssFullscreen",
5558
5613
  value: function() {
5559
- var e = this._cssfullscreenEl ? "".concat(b.INNER_FULLSCREEN, " ").concat(b.CSS_FULLSCREEN) : b.CSS_FULLSCREEN;
5614
+ var e = this._cssfullscreenEl ? "".concat(C.INNER_FULLSCREEN, " ").concat(C.CSS_FULLSCREEN) : C.CSS_FULLSCREEN;
5560
5615
  if (!this.fullscreen)
5561
5616
  this.recoverFullStyle(this.root, this._cssfullscreenEl, e);
5562
5617
  else {
5563
5618
  var i = this.config.fullscreen, n = i === void 0 ? {} : i, s = n.useCssFullscreen === !0 || typeof n.useCssFullscreen == "function" && n.useCssFullscreen();
5564
- s ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(ve, !1)) : this.removeClass(e);
5619
+ s ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(me, !1)) : this.removeClass(e);
5565
5620
  }
5566
5621
  this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(gt, !1);
5567
5622
  }
@@ -5570,14 +5625,14 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5570
5625
  value: function() {
5571
5626
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
5572
5627
  this.cssfullscreen && this.exitCssFullscreen(e);
5573
- var i = e ? "".concat(b.INNER_FULLSCREEN, " ").concat(b.ROTATE_FULLSCREEN) : b.ROTATE_FULLSCREEN;
5574
- this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, b.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style"), this.root.style.width = "".concat(window.innerHeight, "px"), this.emit(ve, !0);
5628
+ var i = e ? "".concat(C.INNER_FULLSCREEN, " ").concat(C.ROTATE_FULLSCREEN) : C.ROTATE_FULLSCREEN;
5629
+ this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, C.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style"), this.root.style.width = "".concat(window.innerHeight, "px"), this.emit(me, !0);
5575
5630
  }
5576
5631
  }, {
5577
5632
  key: "exitRotateFullscreen",
5578
5633
  value: function(e) {
5579
- var i = this._fullscreenEl !== this.root ? "".concat(b.INNER_FULLSCREEN, " ").concat(b.ROTATE_FULLSCREEN) : b.ROTATE_FULLSCREEN;
5580
- this.recoverFullStyle(this.root, this._fullscreenEl, i, b.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(ve, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
5634
+ var i = this._fullscreenEl !== this.root ? "".concat(C.INNER_FULLSCREEN, " ").concat(C.ROTATE_FULLSCREEN) : C.ROTATE_FULLSCREEN;
5635
+ this.recoverFullStyle(this.root, this._fullscreenEl, i, C.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(me, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
5581
5636
  }
5582
5637
  }, {
5583
5638
  key: "setRotateDeg",
@@ -5622,7 +5677,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5622
5677
  autoHide: !0,
5623
5678
  delay: 3e3
5624
5679
  }, n = this.innerStates;
5625
- if (this.isActive = !0, this.removeClass(b.INACTIVE), this._clearUserTimer(), i.isLock !== void 0 && (n.isActiveLocked = i.isLock), i.autoHide === !1 || i.isLock === !0 || n.isActiveLocked) {
5680
+ if (this.isActive = !0, this.removeClass(C.INACTIVE), this._clearUserTimer(), i.isLock !== void 0 && (n.isActiveLocked = i.isLock), i.autoHide === !1 || i.isLock === !0 || n.isActiveLocked) {
5626
5681
  this._clearUserTimer();
5627
5682
  return;
5628
5683
  }
@@ -5637,7 +5692,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5637
5692
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = e.ignorePaused, n = i === void 0 ? !1 : i;
5638
5693
  if (!this.innerStates.isActiveLocked) {
5639
5694
  var s = this.config.closePauseVideoFocus;
5640
- this.isActive = !1, (n || s || !this.paused && !this.ended) && this.addClass(b.INACTIVE);
5695
+ this.isActive = !1, (n || s || !this.paused && !this.ended) && this.addClass(C.INACTIVE);
5641
5696
  }
5642
5697
  }
5643
5698
  }, {
@@ -5648,7 +5703,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5648
5703
  }, {
5649
5704
  key: "onCanplay",
5650
5705
  value: function() {
5651
- this.removeClass(b.ENTER), this.removeClass(b.ERROR), this.removeClass(b.LOADING), this.isCanplay = !0, this.waitTimer && f.clearTimeout(this, this.waitTimer);
5706
+ this.removeClass(C.ENTER), this.removeClass(C.ERROR), this.removeClass(C.LOADING), this.isCanplay = !0, this.waitTimer && f.clearTimeout(this, this.waitTimer);
5652
5707
  }
5653
5708
  }, {
5654
5709
  key: "onLoadeddata",
@@ -5658,44 +5713,44 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5658
5713
  }, {
5659
5714
  key: "onLoadstart",
5660
5715
  value: function() {
5661
- this.removeClass(b.ERROR), this.isCanplay = !1;
5716
+ this.removeClass(C.ERROR), this.isCanplay = !1;
5662
5717
  }
5663
5718
  }, {
5664
5719
  key: "onPlay",
5665
5720
  value: function() {
5666
- this.state === U.ENDED && this.setState(U.RUNNING), this.removeClass(b.PAUSED), this.ended && this.removeClass(b.ENDED), !this.config.closePlayVideoFocus && this.focus();
5721
+ this.state === z.ENDED && this.setState(z.RUNNING), this.removeClass(C.PAUSED), this.ended && this.removeClass(C.ENDED), !this.config.closePlayVideoFocus && this.focus();
5667
5722
  }
5668
5723
  }, {
5669
5724
  key: "onPause",
5670
5725
  value: function() {
5671
- this.addClass(b.PAUSED), this.updateAcc("pause"), this.config.closePauseVideoFocus || (this._clearUserTimer(), this.focus());
5726
+ this.addClass(C.PAUSED), this.updateAcc("pause"), this.config.closePauseVideoFocus || (this._clearUserTimer(), this.focus());
5672
5727
  }
5673
5728
  }, {
5674
5729
  key: "onEnded",
5675
5730
  value: function() {
5676
- this.updateAcc("ended"), this.addClass(b.ENDED), this.setState(U.ENDED);
5731
+ this.updateAcc("ended"), this.addClass(C.ENDED), this.setState(z.ENDED);
5677
5732
  }
5678
5733
  }, {
5679
5734
  key: "onError",
5680
5735
  value: function() {
5681
- this.isError = !0, this.updateAcc("error"), this.removeClass(b.NOT_ALLOW_AUTOPLAY), this.removeClass(b.NO_START), this.removeClass(b.ENTER), this.removeClass(b.LOADING), this.addClass(b.ERROR);
5736
+ this.isError = !0, this.updateAcc("error"), this.removeClass(C.NOT_ALLOW_AUTOPLAY), this.removeClass(C.NO_START), this.removeClass(C.ENTER), this.removeClass(C.LOADING), this.addClass(C.ERROR);
5682
5737
  }
5683
5738
  }, {
5684
5739
  key: "onSeeking",
5685
5740
  value: function() {
5686
- this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(b.SEEKING);
5741
+ this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(C.SEEKING);
5687
5742
  }
5688
5743
  }, {
5689
5744
  key: "onSeeked",
5690
5745
  value: function() {
5691
- this.isSeeking = !1, this.waitTimer && f.clearTimeout(this, this.waitTimer), this.removeClass(b.LOADING), this.removeClass(b.SEEKING);
5746
+ this.isSeeking = !1, this.waitTimer && f.clearTimeout(this, this.waitTimer), this.removeClass(C.LOADING), this.removeClass(C.SEEKING);
5692
5747
  }
5693
5748
  }, {
5694
5749
  key: "onWaiting",
5695
5750
  value: function() {
5696
5751
  var e = this;
5697
5752
  this.waitTimer && f.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = f.setTimeout(this, function() {
5698
- e.addClass(b.LOADING), e.emit(on), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
5753
+ e.addClass(C.LOADING), e.emit(on), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
5699
5754
  }, this.config.minWaitDelay);
5700
5755
  }
5701
5756
  }, {
@@ -5703,7 +5758,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5703
5758
  value: function() {
5704
5759
  var e = this;
5705
5760
  this.isError = !1;
5706
- var i = b.NO_START, n = b.PAUSED, s = b.ENDED, l = b.ERROR, u = b.REPLAY, c = b.LOADING, h = [i, n, s, l, u, c];
5761
+ var i = C.NO_START, n = C.PAUSED, s = C.ENDED, l = C.ERROR, u = C.REPLAY, c = C.LOADING, h = [i, n, s, l, u, c];
5707
5762
  h.forEach(function(g) {
5708
5763
  e.removeClass(g);
5709
5764
  }), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
@@ -5711,7 +5766,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5711
5766
  }, {
5712
5767
  key: "onTimeupdate",
5713
5768
  value: function() {
5714
- !this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(b.LOADING)) && this.media.readyState > 2 && (this.removeClass(b.LOADING), f.clearTimeout(this, this.waitTimer), this.waitTimer = null), !this.paused && this.state === U.NOTALLOW && this.duration && (this.setState(U.RUNNING), this.emit(Ne)), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
5769
+ !this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(C.LOADING)) && this.media.readyState > 2 && (this.removeClass(C.LOADING), f.clearTimeout(this, this.waitTimer), this.waitTimer = null), !this.paused && this.state === z.NOTALLOW && this.duration && (this.setState(z.RUNNING), this.emit(Ne)), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
5715
5770
  }
5716
5771
  }, {
5717
5772
  key: "onVolumechange",
@@ -5770,13 +5825,13 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5770
5825
  this.videoPos.pi = c, u = u < 0 ? 0 : u;
5771
5826
  var h = {
5772
5827
  rotate: u
5773
- }, g = 0, p = 0, d = 1, v = Math.abs(u / 90), y = this.root, C = this.innerContainer, w = y.offsetWidth, k = C ? C.offsetHeight : y.offsetHeight, N = k, R = w;
5828
+ }, g = 0, p = 0, d = 1, v = Math.abs(u / 90), y = this.root, k = this.innerContainer, w = y.offsetWidth, b = k ? k.offsetHeight : y.offsetHeight, A = b, R = w;
5774
5829
  if (v % 2 === 0)
5775
- d = s > 0 ? 100 / s : l > 0 ? 100 / l : 1, h.scale = d, g = i > 0 ? (100 - s) / 2 - i : 0, h.y = v === 2 ? 0 - g : g, p = n > 0 ? (100 - l) / 2 - n : 0, h.x = v === 2 ? 0 - p : p, this.media.style.width = "".concat(R, "px"), this.media.style.height = "".concat(N, "px");
5830
+ d = s > 0 ? 100 / s : l > 0 ? 100 / l : 1, h.scale = d, g = i > 0 ? (100 - s) / 2 - i : 0, h.y = v === 2 ? 0 - g : g, p = n > 0 ? (100 - l) / 2 - n : 0, h.x = v === 2 ? 0 - p : p, this.media.style.width = "".concat(R, "px"), this.media.style.height = "".concat(A, "px");
5776
5831
  else if (v % 2 === 1) {
5777
- R = k, N = w;
5778
- var z = k - w;
5779
- p = -z / 2 / R * 100, h.x = v === 3 ? p + i / 2 : p - i / 2, g = z / 2 / N * 100, h.y = v === 3 ? g + n / 2 : g - n / 2, h.scale = d, this.media.style.width = "".concat(R, "px"), this.media.style.height = "".concat(N, "px");
5832
+ R = b, A = w;
5833
+ var H = b - w;
5834
+ p = -H / 2 / R * 100, h.x = v === 3 ? p + i / 2 : p - i / 2, g = H / 2 / A * 100, h.y = v === 3 ? g + n / 2 : g - n / 2, h.scale = d, this.media.style.width = "".concat(R, "px"), this.media.style.height = "".concat(A, "px");
5780
5835
  }
5781
5836
  var F = f.getTransformStyle(h, this.media.style.transform || this.media.style.webkitTransform);
5782
5837
  this.media.style.transform = F, this.media.style.webkitTransform = F;
@@ -5813,7 +5868,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5813
5868
  key: "playNext",
5814
5869
  value: function(e) {
5815
5870
  var i = this;
5816
- this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, me(this, "playnext", function() {
5871
+ this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, ye(this, "playnext", function() {
5817
5872
  i.start(), i.emit(vt, e);
5818
5873
  });
5819
5874
  }
@@ -5827,18 +5882,18 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5827
5882
  var n = this.media, s = n.videoWidth, l = n.videoHeight, u = this.config, c = u.fitVideoSize, h = u.videoFillMode;
5828
5883
  if ((h === "fill" || h === "cover" || h === "contain") && this.setAttribute("data-xgfill", h), !(!l || !s)) {
5829
5884
  this._videoHeight = l, this._videoWidth = s;
5830
- var g = this.controls && this.innerContainer ? this.controls.root.getBoundingClientRect().height : 0, p = i.width, d = i.height - g, v = parseInt(s / l * 1e3, 10), y = parseInt(p / d * 1e3, 10), C = p, w = d, k = {};
5831
- c === "auto" && y > v || c === "fixWidth" ? (w = p / v * 1e3, this.config.fluid ? k.paddingTop = "".concat(w * 100 / C, "%") : k.height = "".concat(w + g, "px")) : (c === "auto" && y < v || c === "fixHeight") && (C = v * d / 1e3, k.width = "".concat(C, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(k).forEach(function(R) {
5832
- e.root.style[R] = k[R];
5885
+ var g = this.controls && this.innerContainer ? this.controls.root.getBoundingClientRect().height : 0, p = i.width, d = i.height - g, v = parseInt(s / l * 1e3, 10), y = parseInt(p / d * 1e3, 10), k = p, w = d, b = {};
5886
+ c === "auto" && y > v || c === "fixWidth" ? (w = p / v * 1e3, this.config.fluid ? b.paddingTop = "".concat(w * 100 / k, "%") : b.height = "".concat(w + g, "px")) : (c === "auto" && y < v || c === "fixHeight") && (k = v * d / 1e3, b.width = "".concat(k, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(b).forEach(function(R) {
5887
+ e.root.style[R] = b[R];
5833
5888
  }), (h === "fillHeight" && y < v || h === "fillWidth" && y > v) && this.setAttribute("data-xgfill", "cover");
5834
- var N = {
5889
+ var A = {
5835
5890
  videoScale: v,
5836
- vWidth: C,
5891
+ vWidth: k,
5837
5892
  vHeight: w,
5838
- cWidth: C,
5893
+ cWidth: k,
5839
5894
  cHeight: w + g
5840
5895
  };
5841
- this.resizePosition(), this.emit(Se, N);
5896
+ this.resizePosition(), this.emit(Se, A);
5842
5897
  }
5843
5898
  }
5844
5899
  }
@@ -5855,7 +5910,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5855
5910
  }, {
5856
5911
  key: "setState",
5857
5912
  value: function(e) {
5858
- H.logInfo("setState", "state from:".concat(Pi[this.state], " to:").concat(Pi[e])), this._state = e;
5913
+ U.logInfo("setState", "state from:".concat(Pi[this.state], " to:").concat(Pi[e])), this._state = e;
5859
5914
  }
5860
5915
  }, {
5861
5916
  key: "_preProcessUrl",
@@ -5886,15 +5941,15 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5886
5941
  return this._hasStart;
5887
5942
  },
5888
5943
  set: function(e) {
5889
- typeof e == "boolean" && (this._hasStart = e, e === !1 && this.setState(U.READY), this.emit("hasstart"));
5944
+ typeof e == "boolean" && (this._hasStart = e, e === !1 && this.setState(z.READY), this.emit("hasstart"));
5890
5945
  }
5891
5946
  }, {
5892
5947
  key: "isPlaying",
5893
5948
  get: function() {
5894
- return this._state === U.RUNNING || this._state === U.ENDED;
5949
+ return this._state === z.RUNNING || this._state === z.ENDED;
5895
5950
  },
5896
5951
  set: function(e) {
5897
- e ? this.setState(U.RUNNING) : this._state >= U.RUNNING && this.setState(U.ATTACHED);
5952
+ e ? this.setState(z.RUNNING) : this._state >= z.RUNNING && this.setState(z.ATTACHED);
5898
5953
  }
5899
5954
  }, {
5900
5955
  key: "definitionList",
@@ -5978,18 +6033,18 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
5978
6033
  }, {
5979
6034
  key: "readyState",
5980
6035
  get: function() {
5981
- return M(O(r.prototype), "readyState", this);
6036
+ return N(M(r.prototype), "readyState", this);
5982
6037
  }
5983
6038
  }, {
5984
6039
  key: "error",
5985
6040
  get: function() {
5986
- var e = M(O(r.prototype), "error", this);
6041
+ var e = N(M(r.prototype), "error", this);
5987
6042
  return this.i18n[e] || e;
5988
6043
  }
5989
6044
  }, {
5990
6045
  key: "networkState",
5991
6046
  get: function() {
5992
- return M(O(r.prototype), "networkState", this);
6047
+ return N(M(r.prototype), "networkState", this);
5993
6048
  }
5994
6049
  }, {
5995
6050
  key: "fullscreenChanging",
@@ -6083,35 +6138,35 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
6083
6138
  key: "setUserActive",
6084
6139
  value: function(e, i) {
6085
6140
  var n;
6086
- typeof i == "boolean" && i !== this.muted && (this.addInnerOP("volumechange"), f.typeOf(i) === Boolean && (this.muted = i)), (n = Ce) === null || n === void 0 || n.setActive(this.playerId, e);
6141
+ typeof i == "boolean" && i !== this.muted && (this.addInnerOP("volumechange"), f.typeOf(i) === Boolean && (this.muted = i)), (n = be) === null || n === void 0 || n.setActive(this.playerId, e);
6087
6142
  }
6088
6143
  }], [{
6089
6144
  key: "debugger",
6090
6145
  get: function() {
6091
- return H.config.debug;
6146
+ return U.config.debug;
6092
6147
  },
6093
6148
  set: function(e) {
6094
- H.config.debug = e;
6149
+ U.config.debug = e;
6095
6150
  }
6096
6151
  }, {
6097
6152
  key: "instManager",
6098
6153
  get: function() {
6099
- return Ce;
6154
+ return be;
6100
6155
  },
6101
6156
  set: function(e) {
6102
- Ce = e;
6157
+ be = e;
6103
6158
  }
6104
6159
  }, {
6105
6160
  key: "getCurrentUserActivePlayerId",
6106
6161
  value: function() {
6107
6162
  var e;
6108
- return (e = Ce) === null || e === void 0 ? void 0 : e.getActiveId();
6163
+ return (e = be) === null || e === void 0 ? void 0 : e.getActiveId();
6109
6164
  }
6110
6165
  }, {
6111
6166
  key: "setCurrentUserActive",
6112
6167
  value: function(e, i) {
6113
6168
  var n;
6114
- (n = Ce) === null || n === void 0 || n.setActive(e, i);
6169
+ (n = be) === null || n === void 0 || n.setActive(e, i);
6115
6170
  }
6116
6171
  }, {
6117
6172
  key: "isHevcSupported",
@@ -6138,10 +6193,10 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /
6138
6193
  _(St, "defaultPreset", null);
6139
6194
  _(St, "XgVideoProxy", null);
6140
6195
  St.instManager = _n.getInstance();
6141
- function Q() {
6196
+ function Z() {
6142
6197
  return (/* @__PURE__ */ new Date()).getTime();
6143
6198
  }
6144
- var be = {
6199
+ var we = {
6145
6200
  LOAD_START: "loadstart",
6146
6201
  LOADED_DATA: "loadeddata",
6147
6202
  FIRST_FRAME: "firstFrame",
@@ -6150,17 +6205,17 @@ var be = {
6150
6205
  SEEK_START: "seekStart",
6151
6206
  SEEK_END: "seekEnd"
6152
6207
  }, To = /* @__PURE__ */ function(a) {
6153
- L(r, a);
6154
- var o = D(r);
6208
+ D(r, a);
6209
+ var o = O(r);
6155
6210
  function r() {
6156
6211
  var t;
6157
6212
  x(this, r);
6158
6213
  for (var e = arguments.length, i = new Array(e), n = 0; n < e; n++)
6159
6214
  i[n] = arguments[n];
6160
6215
  return t = o.call.apply(o, [this].concat(i)), _(m(t), "_onTimeupdate", function() {
6161
- t._state.isTimeUpdate = !0, t._state.autoplayStart && (H.logInfo("[xgLogger]".concat(t.player.playerId, " _onTimeupdate")), t._sendFF("onTimeupdate"));
6216
+ t._state.isTimeUpdate = !0, t._state.autoplayStart && (U.logInfo("[xgLogger]".concat(t.player.playerId, " _onTimeupdate")), t._sendFF("onTimeupdate"));
6162
6217
  }), _(m(t), "_onAutoplayStart", function() {
6163
- H.logInfo("[xgLogger]".concat(t.player.playerId, " _onAutoplayStart")), t._state.autoplayStart = !0, t.vt && t._sendFF("onAutoplayStart");
6218
+ U.logInfo("[xgLogger]".concat(t.player.playerId, " _onAutoplayStart")), t._state.autoplayStart = !0, t.vt && t._sendFF("onAutoplayStart");
6164
6219
  }), _(m(t), "_onReset", function() {
6165
6220
  t._state = {
6166
6221
  autoplayStart: !1,
@@ -6168,23 +6223,23 @@ var be = {
6168
6223
  isTimeUpdate: !1,
6169
6224
  isFFSend: !1,
6170
6225
  isLs: !1
6171
- }, t.vt = 0, t.pt = 0, t.fvt = 0, t.newPointTime = Q(), t.loadedCostTime = 0, t.startCostTime = 0, t._isSeeking = !1, t.seekingStart = 0, t.waitingStart = 0, t.fixedWaitingStart = 0, t._isWaiting = !1, t._waitTimer && f.clearTimeout(m(t), t._waitTimer), t._waittTimer && f.clearTimeout(m(t), t._waittTimer), t._waitTimer = null, t._waittTimer = null, t._waitType = 0;
6226
+ }, t.vt = 0, t.pt = 0, t.fvt = 0, t.newPointTime = Z(), t.loadedCostTime = 0, t.startCostTime = 0, t._isSeeking = !1, t.seekingStart = 0, t.waitingStart = 0, t.fixedWaitingStart = 0, t._isWaiting = !1, t._waitTimer && f.clearTimeout(m(t), t._waitTimer), t._waittTimer && f.clearTimeout(m(t), t._waittTimer), t._waitTimer = null, t._waittTimer = null, t._waitType = 0;
6172
6227
  }), _(m(t), "_onSeeking", function() {
6173
- t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart = Q(), t.emitLog(be.SEEK_START, {
6174
- start: Q()
6228
+ t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart = Z(), t.emitLog(we.SEEK_START, {
6229
+ start: Z()
6175
6230
  }));
6176
6231
  }), _(m(t), "_onSeeked", function() {
6177
6232
  t.suspendSeekingStatus("seeked");
6178
6233
  }), _(m(t), "_onWaitingLoadStart", function() {
6179
- t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart = Q(), t.fixedWaitingStart = Q(), t._waitType = 1, t.emitLog(be.WAIT_START, {
6234
+ t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart = Z(), t.fixedWaitingStart = Z(), t._waitType = 1, t.emitLog(we.WAIT_START, {
6180
6235
  fixedStart: t.fixedWaitingStart,
6181
6236
  start: t.waitingStart,
6182
6237
  type: 1,
6183
6238
  endType: "loadstart"
6184
6239
  }));
6185
6240
  }), _(m(t), "_onWaiting", function() {
6186
- t._isWaiting || !t.vt || (t._isWaiting = !0, t.vt ? t.seekingStart ? t._waitType = 2 : t._waitType = 0 : t._waitType = 1, t.fixedWaitingStart = Q(), t._waitTimer = f.setTimeout(m(t), function() {
6187
- t._isWaiting && (t.waitingStart = Q(), f.clearTimeout(m(t), t._waitTimer), t._waitTimer = null, t._startWaitTimeout(), t.emitLog(be.WAIT_START, {
6241
+ t._isWaiting || !t.vt || (t._isWaiting = !0, t.vt ? t.seekingStart ? t._waitType = 2 : t._waitType = 0 : t._waitType = 1, t.fixedWaitingStart = Z(), t._waitTimer = f.setTimeout(m(t), function() {
6242
+ t._isWaiting && (t.waitingStart = Z(), f.clearTimeout(m(t), t._waitTimer), t._waitTimer = null, t._startWaitTimeout(), t.emitLog(we.WAIT_START, {
6188
6243
  fixedStart: t.fixedWaitingStart,
6189
6244
  start: t.waitingStart,
6190
6245
  type: t._waitType,
@@ -6201,19 +6256,19 @@ var be = {
6201
6256
  key: "afterCreate",
6202
6257
  value: function() {
6203
6258
  var e = this;
6204
- this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = Q(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(ti, function() {
6259
+ this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = Z(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(ti, function() {
6205
6260
  var i = e._state, n = i.autoplayStart, s = i.isFFSend;
6206
- e.startCostTime = Q() - e.newPointTime, H.logInfo("[xgLogger]".concat(e.player.playerId, " LOAD_START"), "autoplayStart:".concat(n, " isFFSend:").concat(s, " startCostTime:").concat(e.startCostTime, " newPointTime").concat(e.newPointTime)), !s && (!i.isLs && e.emitLog(be.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = Q(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
6207
- }), this.on(ke, function() {
6208
- e.vt = Q(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
6261
+ e.startCostTime = Z() - e.newPointTime, U.logInfo("[xgLogger]".concat(e.player.playerId, " LOAD_START"), "autoplayStart:".concat(n, " isFFSend:").concat(s, " startCostTime:").concat(e.startCostTime, " newPointTime").concat(e.newPointTime)), !s && (!i.isLs && e.emitLog(we.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = Z(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
6262
+ }), this.on(Ce, function() {
6263
+ e.vt = Z(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
6209
6264
  var i = e._state, n = i.isTimeUpdate, s = i.isFFSend, l = i.autoplayStart;
6210
- H.logInfo("[xgLogger]".concat(e.player.playerId, " LOADED_DATA"), "fvt:".concat(e.fvt, " isTimeUpdate:").concat(e._state.isTimeUpdate, " loadedCostTime:").concat(e.loadedCostTime)), (n || l) && e._sendFF("loadedData"), s || e.emitLog(be.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
6211
- }), this.on(bt, this._onSeeking), this.on(_e, this._onSeeked), this.on(si, function() {
6265
+ U.logInfo("[xgLogger]".concat(e.player.playerId, " LOADED_DATA"), "fvt:".concat(e.fvt, " isTimeUpdate:").concat(e._state.isTimeUpdate, " loadedCostTime:").concat(e.loadedCostTime)), (n || l) && e._sendFF("loadedData"), s || e.emitLog(we.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
6266
+ }), this.on(bt, this._onSeeking), this.on(ke, this._onSeeked), this.on(si, function() {
6212
6267
  e.endState("destroy");
6213
6268
  }), this.on(Tt, function() {
6214
- e.endState("urlChange"), H.logInfo("[xgLogger]".concat(e.player.playerId, " URL_CHANGE")), e._state.isFFSend && e._onReset();
6215
- }), this.on([ei, ye], this._onPlaying), this.on(st, this._onWaiting), this.on(rt, this._onError), this.on(Et, function() {
6216
- H.logInfo("[xgLogger]".concat(e.player.playerId, " RESET")), e.endState("reset"), e._initOnceEvents(), e._onReset();
6269
+ e.endState("urlChange"), U.logInfo("[xgLogger]".concat(e.player.playerId, " URL_CHANGE")), e._state.isFFSend && e._onReset();
6270
+ }), this.on([ei, _e], this._onPlaying), this.on(st, this._onWaiting), this.on(rt, this._onError), this.on(Et, function() {
6271
+ U.logInfo("[xgLogger]".concat(e.player.playerId, " RESET")), e.endState("reset"), e._initOnceEvents(), e._onReset();
6217
6272
  });
6218
6273
  }
6219
6274
  }, {
@@ -6224,9 +6279,9 @@ var be = {
6224
6279
  }, {
6225
6280
  key: "_sendFF",
6226
6281
  value: function(e) {
6227
- this.s = Q();
6282
+ this.s = Z();
6228
6283
  var i = this._state, n = i.isFFLoading, s = i.isFFSend;
6229
- H.logInfo("[xgLogger]".concat(this.player.playerId, " _sendFF"), "".concat(e, " fvt:").concat(this.fvt, " isFFLoading:").concat(n, " !isFFSend:").concat(!s)), this.vt > 0 && n && !s && (H.logInfo("[xgLogger]".concat(this.player.playerId, " emitLog_firstFrame"), e), this._state.isFFLoading = !1, this._state.isFFSend = !0, this.emitLog(be.FIRST_FRAME, {
6284
+ U.logInfo("[xgLogger]".concat(this.player.playerId, " _sendFF"), "".concat(e, " fvt:").concat(this.fvt, " isFFLoading:").concat(n, " !isFFSend:").concat(!s)), this.vt > 0 && n && !s && (U.logInfo("[xgLogger]".concat(this.player.playerId, " emitLog_firstFrame"), e), this._state.isFFLoading = !1, this._state.isFFSend = !0, this.emitLog(we.FIRST_FRAME, {
6230
6285
  fvt: this.fvt,
6231
6286
  costTime: this.fvt,
6232
6287
  vt: this.vt,
@@ -6251,8 +6306,8 @@ var be = {
6251
6306
  key: "suspendSeekingStatus",
6252
6307
  value: function(e) {
6253
6308
  if (this.seekingStart) {
6254
- var i = Q(), n = i - this.seekingStart;
6255
- this.seekingStart = 0, this.emitLog(be.SEEK_END, {
6309
+ var i = Z(), n = i - this.seekingStart;
6310
+ this.seekingStart = 0, this.emitLog(we.SEEK_END, {
6256
6311
  end: i,
6257
6312
  costTime: n,
6258
6313
  endType: e
@@ -6263,8 +6318,8 @@ var be = {
6263
6318
  key: "suspendWaitingStatus",
6264
6319
  value: function(e) {
6265
6320
  if (this._waitTimer && (f.clearTimeout(this, this._waitTimer), this._waitTimer = null), this._waittTimer && (f.clearTimeout(this, this._waittTimer), this._waittTimer = null), this._isWaiting = !1, !!this.waitingStart) {
6266
- var i = Q(), n = i - this.waitingStart, s = i - this.fixedWaitingStart, l = this.config.waitTimeout;
6267
- this._isWaiting = !1, this.waitingStart = 0, this.fixedWaitingStart = 0, this.emitLog(be.WAIT_END, {
6321
+ var i = Z(), n = i - this.waitingStart, s = i - this.fixedWaitingStart, l = this.config.waitTimeout;
6322
+ this._isWaiting = !1, this.waitingStart = 0, this.fixedWaitingStart = 0, this.emitLog(we.WAIT_END, {
6268
6323
  fixedCostTime: s > l ? l : s,
6269
6324
  costTime: n > l ? l : n,
6270
6325
  type: e === "loadeddata" ? 1 : this._waitType,
@@ -6277,7 +6332,7 @@ var be = {
6277
6332
  value: function(e, i) {
6278
6333
  var n = this.player;
6279
6334
  this.emit(cn, G({
6280
- t: Q(),
6335
+ t: Z(),
6281
6336
  host: f.getHostFromUrl(n.currentSrc),
6282
6337
  vtype: n.vtype,
6283
6338
  eventType: e,
@@ -6299,7 +6354,7 @@ var be = {
6299
6354
  };
6300
6355
  }
6301
6356
  }]), r;
6302
- }(V);
6357
+ }(j);
6303
6358
  function Eo() {
6304
6359
  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">
6305
6360
  <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>
@@ -6307,8 +6362,8 @@ function Eo() {
6307
6362
  `, "image/svg+xml").firstChild;
6308
6363
  }
6309
6364
  var So = /* @__PURE__ */ function(a) {
6310
- L(r, a);
6311
- var o = D(r);
6365
+ D(r, a);
6366
+ var o = O(r);
6312
6367
  function r() {
6313
6368
  return x(this, r), o.apply(this, arguments);
6314
6369
  }
@@ -6323,7 +6378,7 @@ var So = /* @__PURE__ */ function(a) {
6323
6378
  key: "afterCreate",
6324
6379
  value: function() {
6325
6380
  var e = this;
6326
- V.insert(this.icons.replay, this.root, 0), this.__handleReplay = this.hook("replayClick", function() {
6381
+ j.insert(this.icons.replay, this.root, 0), this.__handleReplay = this.hook("replayClick", function() {
6327
6382
  e.player.replay();
6328
6383
  }, {
6329
6384
  pre: function(n) {
@@ -6389,9 +6444,9 @@ var So = /* @__PURE__ */ function(a) {
6389
6444
  };
6390
6445
  }
6391
6446
  }]), r;
6392
- }(V), xo = /* @__PURE__ */ function(a) {
6393
- L(r, a);
6394
- var o = D(r);
6447
+ }(j), xo = /* @__PURE__ */ function(a) {
6448
+ D(r, a);
6449
+ var o = O(r);
6395
6450
  function r() {
6396
6451
  return x(this, r), o.apply(this, arguments);
6397
6452
  }
@@ -6500,7 +6555,7 @@ var So = /* @__PURE__ */ function(a) {
6500
6555
  };
6501
6556
  }
6502
6557
  }]), r;
6503
- }(V);
6558
+ }(j);
6504
6559
  function li() {
6505
6560
  return new DOMParser().parseFromString(`<svg class="play" xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="3 -4 28 40">
6506
6561
  <path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M576,363L810,512L576,661zM342,214L576,363L576,661L342,810z"></path>
@@ -6533,8 +6588,8 @@ function Di(a) {
6533
6588
  });
6534
6589
  }
6535
6590
  var Po = /* @__PURE__ */ function(a) {
6536
- L(r, a);
6537
- var o = D(r);
6591
+ D(r, a);
6592
+ var o = O(r);
6538
6593
  function r(t) {
6539
6594
  var e;
6540
6595
  return x(this, r), e = o.call(this, t), _(m(e), "onPlayerReset", function() {
@@ -6642,16 +6697,16 @@ var Po = /* @__PURE__ */ function(a) {
6642
6697
  key: "switchPausePlay",
6643
6698
  value: function(e) {
6644
6699
  var i = this.player;
6645
- if (e.cancelable && e.preventDefault(), e.stopPropagation(), !(i.state < U.READY)) {
6700
+ if (e.cancelable && e.preventDefault(), e.stopPropagation(), !(i.state < z.READY)) {
6646
6701
  var n = this.player.paused;
6647
- !n && i.state === U.RUNNING ? i.pause() : i.play();
6702
+ !n && i.state === z.RUNNING ? i.pause() : i.play();
6648
6703
  }
6649
6704
  }
6650
6705
  }, {
6651
6706
  key: "onPlayPause",
6652
6707
  value: function(e) {
6653
6708
  var i = this.config, n = this.player;
6654
- if (!(!n || n.state < U.RUNNING || !this.autoPlayStart)) {
6709
+ if (!(!n || n.state < z.RUNNING || !this.autoPlayStart)) {
6655
6710
  if (i.mode === "show") {
6656
6711
  this.switchStatus(), this.show();
6657
6712
  return;
@@ -6707,9 +6762,9 @@ var Po = /* @__PURE__ */ function(a) {
6707
6762
  };
6708
6763
  }
6709
6764
  }]), r;
6710
- }(V), Ao = /* @__PURE__ */ function(a) {
6711
- L(r, a);
6712
- var o = D(r);
6765
+ }(j), Ao = /* @__PURE__ */ function(a) {
6766
+ D(r, a);
6767
+ var o = O(r);
6713
6768
  function r() {
6714
6769
  return x(this, r), o.apply(this, arguments);
6715
6770
  }
@@ -6742,7 +6797,7 @@ var Po = /* @__PURE__ */ function(a) {
6742
6797
  };
6743
6798
  }
6744
6799
  }]), r;
6745
- }(V);
6800
+ }(j);
6746
6801
  function Ae(a, o, r) {
6747
6802
  try {
6748
6803
  return ' <div class="xg-tips '.concat(r ? "hide" : " ", '" lang-key="').concat(a.i18nKeys[o], `">
@@ -6753,8 +6808,8 @@ function Ae(a, o, r) {
6753
6808
  }
6754
6809
  }
6755
6810
  var Oi = /* @__PURE__ */ function(a) {
6756
- L(r, a);
6757
- var o = D(r);
6811
+ D(r, a);
6812
+ var o = O(r);
6758
6813
  function r() {
6759
6814
  return x(this, r), o.apply(this, arguments);
6760
6815
  }
@@ -6801,7 +6856,7 @@ var Oi = /* @__PURE__ */ function(a) {
6801
6856
  };
6802
6857
  }
6803
6858
  }]), r;
6804
- }(V);
6859
+ }(j);
6805
6860
  function Ri(a) {
6806
6861
  var o = parseFloat(a), r = a.indexOf("%") === -1 && !Number.isNaN(o);
6807
6862
  return r && o;
@@ -6826,7 +6881,7 @@ function Do(a) {
6826
6881
  return o;
6827
6882
  }
6828
6883
  function Fi(a) {
6829
- if (typeof a == "string" && (a = document.querySelector(a)), !(!a || te(a) !== "object" || !a.nodeType)) {
6884
+ if (typeof a == "string" && (a = document.querySelector(a)), !(!a || ee(a) !== "object" || !a.nodeType)) {
6830
6885
  var o = Do(a);
6831
6886
  if (o.display === "none")
6832
6887
  return Lo();
@@ -6858,8 +6913,8 @@ var Ft = {
6858
6913
  touchstart: ["touchmove", "touchend", "touchcancel"],
6859
6914
  pointerdown: ["pointermove", "pointerup", "pointercancel"]
6860
6915
  }, Oo = /* @__PURE__ */ function(a) {
6861
- L(r, a);
6862
- var o = D(r);
6916
+ D(r, a);
6917
+ var o = O(r);
6863
6918
  function r(t) {
6864
6919
  var e, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6865
6920
  return x(this, r), e = o.call(this), e.isEnabled = !0, e.isDragging = !1, e.isDown = !1, e.position = {}, e.downPoint = {}, e.dragPoint = {
@@ -7068,8 +7123,8 @@ var Ft = {
7068
7123
  }
7069
7124
  }]), r;
7070
7125
  }(qi), Ro = /* @__PURE__ */ function(a) {
7071
- L(r, a);
7072
- var o = D(r);
7126
+ D(r, a);
7127
+ var o = O(r);
7073
7128
  function r(t) {
7074
7129
  var e;
7075
7130
  x(this, r), e = o.call(this, t), _(m(e), "onCancelClick", function(s) {
@@ -7217,13 +7272,13 @@ var Ft = {
7217
7272
  };
7218
7273
  }
7219
7274
  }]), r;
7220
- }(V), at = {
7275
+ }(j), at = {
7221
7276
  mouseenter: "onMouseEnter",
7222
7277
  mouseleave: "onMouseLeave",
7223
7278
  mousemove: "onMouseMove"
7224
7279
  }, Mt = ["videoClick", "videoDbClick"], Nt = /* @__PURE__ */ function(a) {
7225
- L(r, a);
7226
- var o = D(r);
7280
+ D(r, a);
7281
+ var o = O(r);
7227
7282
  function r() {
7228
7283
  var t;
7229
7284
  x(this, r);
@@ -7250,7 +7305,7 @@ var Ft = {
7250
7305
  }), _(m(t), "onVideoClick", function(s) {
7251
7306
  var l = m(t), u = l.player, c = l.playerConfig;
7252
7307
  s.target && c.closeVideoClick || (s.target === u.root || s.target === u.media || s.target === u.innerContainer || s.target === u.media.__canvas) && (s.preventDefault(), c.closeVideoStopPropagation || s.stopPropagation(), t._clickCount++, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), t.clickTimer = setTimeout(function() {
7253
- t._clickCount && (t._clickCount--, me(m(t), Mt[0], function(h, g) {
7308
+ t._clickCount && (t._clickCount--, ye(m(t), Mt[0], function(h, g) {
7254
7309
  t.switchPlayPause(g.e);
7255
7310
  }, {
7256
7311
  e: s,
@@ -7264,7 +7319,7 @@ var Ft = {
7264
7319
  t._clickCount = 0;
7265
7320
  return;
7266
7321
  }
7267
- t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), s.preventDefault(), s.stopPropagation(), me(m(t), Mt[1], function(h, g) {
7322
+ t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), s.preventDefault(), s.stopPropagation(), ye(m(t), Mt[1], function(h, g) {
7268
7323
  t.emitUserAction(g.e, "switch_fullscreen", {
7269
7324
  props: "fullscreen",
7270
7325
  from: u.fullscreen,
@@ -7329,7 +7384,7 @@ var Ft = {
7329
7384
  return {};
7330
7385
  }
7331
7386
  }]), r;
7332
- }(xe), we = {
7387
+ }(xe), Te = {
7333
7388
  PRESS: "press",
7334
7389
  PRESS_END: "pressend",
7335
7390
  DOUBlE_CLICK: "doubleclick",
@@ -7368,15 +7423,15 @@ var Bo = /* @__PURE__ */ function() {
7368
7423
  };
7369
7424
  x(this, a), _(this, "onTouchStart", function(e) {
7370
7425
  var i = r._pos, n = r.root, s = Ni(e.touches);
7371
- i.x = s ? parseInt(s.pageX, 10) : e.pageX, i.y = s ? parseInt(s.pageX, 10) : e.pageX, i.start = !0, r.__setPress(e), n.addEventListener(r.events.end, r.onTouchEnd), n.addEventListener(r.events.cancel, r.onTouchCancel), n.addEventListener(r.events.move, r.onTouchMove), r.trigger(we.TOUCH_START, e);
7426
+ i.x = s ? parseInt(s.pageX, 10) : e.pageX, i.y = s ? parseInt(s.pageX, 10) : e.pageX, i.start = !0, r.__setPress(e), n.addEventListener(r.events.end, r.onTouchEnd), n.addEventListener(r.events.cancel, r.onTouchCancel), n.addEventListener(r.events.move, r.onTouchMove), r.trigger(Te.TOUCH_START, e);
7372
7427
  }), _(this, "onTouchCancel", function(e) {
7373
7428
  r.onTouchEnd(e);
7374
7429
  }), _(this, "onTouchEnd", function(e) {
7375
7430
  var i = r._pos, n = r.root;
7376
- r.__clearPress(), n.removeEventListener(r.events.cancel, r.onTouchCancel), n.removeEventListener(r.events.end, r.onTouchEnd), n.removeEventListener(r.events.move, r.onTouchMove), e.moving = i.moving, e.press = i.press, i.press && r.trigger(we.PRESS_END, e), r.trigger(we.TOUCH_END, e), !i.press && !i.moving && r.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
7431
+ r.__clearPress(), n.removeEventListener(r.events.cancel, r.onTouchCancel), n.removeEventListener(r.events.end, r.onTouchEnd), n.removeEventListener(r.events.move, r.onTouchMove), e.moving = i.moving, e.press = i.press, i.press && r.trigger(Te.PRESS_END, e), r.trigger(Te.TOUCH_END, e), !i.press && !i.moving && r.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
7377
7432
  }), _(this, "onTouchMove", function(e) {
7378
7433
  var i = r._pos, n = r.config, s = Ni(e.touches), l = s ? parseInt(s.pageX, 10) : e.pageX, u = s ? parseInt(s.pageY, 10) : e.pageX, c = l - i.x, h = u - i.y;
7379
- Math.abs(h) < n.miniStep && Math.abs(c) < n.miniStep || (r.__clearPress(), i.press && r.trigger(we.PRESS_END, e), i.press = !1, i.moving = !0, r.trigger(we.TOUCH_MOVE, e));
7434
+ Math.abs(h) < n.miniStep && Math.abs(c) < n.miniStep || (r.__clearPress(), i.press && r.trigger(Te.PRESS_END, e), i.press = !1, i.moving = !0, r.trigger(Te.TOUCH_MOVE, e));
7380
7435
  }), this._pos = {
7381
7436
  moving: !1,
7382
7437
  start: !1,
@@ -7396,7 +7451,7 @@ var Bo = /* @__PURE__ */ function() {
7396
7451
  value: function(r) {
7397
7452
  var t = this, e = this.config;
7398
7453
  this.pressIntrvalId && this.__clearPress(), this.pressIntrvalId = setTimeout(function() {
7399
- t.trigger(we.PRESS, r), t._pos.press = !0, t.__clearPress();
7454
+ t.trigger(Te.PRESS, r), t._pos.press = !0, t.__clearPress();
7400
7455
  }, e.pressDelay);
7401
7456
  }
7402
7457
  }, {
@@ -7409,11 +7464,11 @@ var Bo = /* @__PURE__ */ function() {
7409
7464
  value: function(r) {
7410
7465
  var t = this, e = this.config;
7411
7466
  if (this.dbIntrvalId) {
7412
- this.__clearDb(), this.trigger(we.DOUBlE_CLICK, r);
7467
+ this.__clearDb(), this.trigger(Te.DOUBlE_CLICK, r);
7413
7468
  return;
7414
7469
  }
7415
7470
  this.dbIntrvalId = setTimeout(function() {
7416
- t.__clearDb(), !t._pos.start && !t._pos.press && !t._pos.moving && t.trigger(we.CLICK, r);
7471
+ t.__clearDb(), !t._pos.start && !t._pos.press && !t._pos.moving && t.trigger(Te.CLICK, r);
7417
7472
  }, e.dbClickDelay);
7418
7473
  }
7419
7474
  }, {
@@ -7478,8 +7533,8 @@ var Ve = {
7478
7533
  PLAYBACK: "playbackrate",
7479
7534
  LIGHT: ""
7480
7535
  }, Bt = ["videoClick", "videoDbClick"], Uo = /* @__PURE__ */ function(a) {
7481
- L(r, a);
7482
- var o = D(r);
7536
+ D(r, a);
7537
+ var o = O(r);
7483
7538
  function r(t) {
7484
7539
  var e;
7485
7540
  return x(this, r), e = o.call(this, t), _(m(e), "onTouchStart", function(i) {
@@ -7496,12 +7551,12 @@ var Ve = {
7496
7551
  if (!(!n || u.disableGesture || !e.duration || !l.isStart)) {
7497
7552
  var h = u.miniMoveStep, g = u.hideControlsActive, p = parseInt(n.pageX - l.left, 10), d = parseInt(n.pageY - l.top, 10), v = c.rotateDeg === 90 ? d : p, y = c.rotateDeg === 90 ? p : d;
7498
7553
  if (Math.abs(v - l.x) > h || Math.abs(y - l.y) > h) {
7499
- var C = v - l.x, w = y - l.y, k = l.scope;
7500
- if (k === -1 && (k = e.checkScope(v, y, C, w, l), k === 0 && (g ? c.blur() : c.focus({
7554
+ var k = v - l.x, w = y - l.y, b = l.scope;
7555
+ if (b === -1 && (b = e.checkScope(v, y, k, w, l), b === 0 && (g ? c.blur() : c.focus({
7501
7556
  autoHide: !1
7502
- }), !l.time && (l.time = parseInt(c.currentTime * 1e3, 10) + e.timeOffset * 1e3)), l.scope = k), k === -1 || k > 0 && !u.gestureY || k === 0 && !u.gestureX)
7557
+ }), !l.time && (l.time = parseInt(c.currentTime * 1e3, 10) + e.timeOffset * 1e3)), l.scope = b), b === -1 || b > 0 && !u.gestureY || b === 0 && !u.gestureX)
7503
7558
  return;
7504
- e.executeMove(C, w, k, l.width, l.height), l.x = v, l.y = y;
7559
+ e.executeMove(k, w, b, l.width, l.height), l.x = v, l.y = y;
7505
7560
  }
7506
7561
  }
7507
7562
  }), _(m(e), "onTouchEnd", function(i) {
@@ -7574,7 +7629,7 @@ var Ve = {
7574
7629
  u && u.center && (u.center.addEventListener("touchmove", this.onRootTouchMove, !0), u.center.addEventListener("touchend", this.onRootTouchEnd, !0), u.center.addEventListener("touchcancel", this.onRootTouchEnd, !0)), this.on(Pe, function() {
7575
7630
  var g = e.player, p = e.config;
7576
7631
  g.duration * 1e3 < p.moveDuration && (p.moveDuration = g.duration * 1e3);
7577
- }), this.on([ye, Be], function() {
7632
+ }), this.on([_e, Be], function() {
7578
7633
  var g = e.pos, p = g.time, d = g.isStart;
7579
7634
  !d && p > 0 && (e.pos.time = 0);
7580
7635
  });
@@ -7725,7 +7780,7 @@ var Ve = {
7725
7780
  key: "clickHandler",
7726
7781
  value: function(e) {
7727
7782
  var i = this.player, n = this.config, s = this.playerConfig;
7728
- if (i.state < U.RUNNING) {
7783
+ if (i.state < z.RUNNING) {
7729
7784
  s.closeVideoClick || (this.sendUseAction(f.createEvent("click")), i.play());
7730
7785
  return;
7731
7786
  }
@@ -7735,13 +7790,13 @@ var Ve = {
7735
7790
  key: "dbClickHandler",
7736
7791
  value: function(e) {
7737
7792
  var i = this.config, n = this.player;
7738
- !i.closedbClick && n.state >= U.RUNNING && (this.sendUseAction(f.createEvent("dblclick")), this.switchPlayPause());
7793
+ !i.closedbClick && n.state >= z.RUNNING && (this.sendUseAction(f.createEvent("dblclick")), this.switchPlayPause());
7739
7794
  }
7740
7795
  }, {
7741
7796
  key: "onClick",
7742
7797
  value: function(e) {
7743
7798
  var i = this, n = this.player;
7744
- me(this, Bt[0], function(s, l) {
7799
+ ye(this, Bt[0], function(s, l) {
7745
7800
  i.clickHandler(l.e);
7746
7801
  }, {
7747
7802
  e,
@@ -7752,7 +7807,7 @@ var Ve = {
7752
7807
  key: "onDbClick",
7753
7808
  value: function(e) {
7754
7809
  var i = this, n = this.player;
7755
- me(this, Bt[1], function(s, l) {
7810
+ ye(this, Bt[1], function(s, l) {
7756
7811
  i.dbClickHandler(l.e);
7757
7812
  }, {
7758
7813
  e,
@@ -7824,7 +7879,7 @@ var Ve = {
7824
7879
  key: "switchPlayPause",
7825
7880
  value: function() {
7826
7881
  var e = this.player;
7827
- if (e.state < U.ATTACHED)
7882
+ if (e.state < z.ATTACHED)
7828
7883
  return !1;
7829
7884
  e.ended || (e.paused ? e.play() : e.pause());
7830
7885
  }
@@ -7905,7 +7960,7 @@ var Ve = {
7905
7960
  };
7906
7961
  }
7907
7962
  }]), r;
7908
- }(V);
7963
+ }(j);
7909
7964
  function zo(a) {
7910
7965
  a.preventDefault(), a.returnValue = !1;
7911
7966
  }
@@ -7914,8 +7969,8 @@ function Bi(a) {
7914
7969
  return !!(o === "INPUT" || o === "TEXTAREA" || a.isContentEditable);
7915
7970
  }
7916
7971
  var Hi = /* @__PURE__ */ function(a) {
7917
- L(r, a);
7918
- var o = D(r);
7972
+ D(r, a);
7973
+ var o = O(r);
7919
7974
  function r() {
7920
7975
  var t;
7921
7976
  x(this, r);
@@ -8204,8 +8259,8 @@ function Vo() {
8204
8259
  `, "image/svg+xml").firstChild;
8205
8260
  }
8206
8261
  var jo = /* @__PURE__ */ function(a) {
8207
- L(r, a);
8208
- var o = D(r);
8262
+ D(r, a);
8263
+ var o = O(r);
8209
8264
  function r() {
8210
8265
  return x(this, r), o.apply(this, arguments);
8211
8266
  }
@@ -8242,7 +8297,7 @@ var jo = /* @__PURE__ */ function(a) {
8242
8297
  };
8243
8298
  }
8244
8299
  }]), r;
8245
- }(V), Wo = [{
8300
+ }(j), Wo = [{
8246
8301
  tag: "xg-cache",
8247
8302
  className: "xgplayer-progress-cache",
8248
8303
  styleKey: "cachedColor"
@@ -8454,8 +8509,8 @@ var jo = /* @__PURE__ */ function(a) {
8454
8509
  POINT: "inner-focus-point",
8455
8510
  HIGHLIGHT: "inner-focus-highlight"
8456
8511
  }, Go = /* @__PURE__ */ function(a) {
8457
- L(r, a);
8458
- var o = D(r);
8512
+ D(r, a);
8513
+ var o = O(r);
8459
8514
  function r(t) {
8460
8515
  var e;
8461
8516
  return x(this, r), e = o.call(this, t), _(m(e), "onMoveOnly", function(i, n) {
@@ -8615,7 +8670,7 @@ var jo = /* @__PURE__ */ function(a) {
8615
8670
  e.onMouseLeave();
8616
8671
  }), this.on(oe, function() {
8617
8672
  e.onTimeupdate();
8618
- }), this.on(_e, function() {
8673
+ }), this.on(ke, function() {
8619
8674
  e.onTimeupdate(), e.onCacheUpdate();
8620
8675
  }), this.on(en, function() {
8621
8676
  e.onCacheUpdate();
@@ -8640,7 +8695,7 @@ var jo = /* @__PURE__ */ function(a) {
8640
8695
  key: "initCustomStyle",
8641
8696
  value: function() {
8642
8697
  var e = this.playerConfig || {}, i = e.commonStyle, n = i.sliderBtnStyle, s = this.progressBtn;
8643
- n && (typeof n == "string" ? s.style.boxShadow = n : te(n) === "object" && Object.keys(n).map(function(l) {
8698
+ n && (typeof n == "string" ? s.style.boxShadow = n : ee(n) === "object" && Object.keys(n).map(function(l) {
8644
8699
  s.style[l] = n[l];
8645
8700
  }));
8646
8701
  }
@@ -8728,10 +8783,10 @@ var jo = /* @__PURE__ */ function(a) {
8728
8783
  v = v > g ? g : v < 0 ? 0 : v;
8729
8784
  var y = v / g;
8730
8785
  y = y < 0 ? 0 : y > 1 ? 1 : y;
8731
- var C = parseInt(y * this.offsetDuration * 1e3, 10) / 1e3, w = f.getCurrentTimeByOffset(C, n.timeSegments);
8786
+ var k = parseInt(y * this.offsetDuration * 1e3, 10) / 1e3, w = f.getCurrentTimeByOffset(k, n.timeSegments);
8732
8787
  return {
8733
8788
  percent: y,
8734
- currentTime: C,
8789
+ currentTime: k,
8735
8790
  seekTime: w,
8736
8791
  offset: v,
8737
8792
  width: g,
@@ -8864,9 +8919,9 @@ var jo = /* @__PURE__ */ function(a) {
8864
8919
  return Ui;
8865
8920
  }
8866
8921
  }]), r;
8867
- }(V), Ue = /* @__PURE__ */ function(a) {
8868
- L(r, a);
8869
- var o = D(r);
8922
+ }(j), Ue = /* @__PURE__ */ function(a) {
8923
+ D(r, a);
8924
+ var o = O(r);
8870
8925
  function r() {
8871
8926
  var t;
8872
8927
  x(this, r);
@@ -8893,9 +8948,9 @@ var jo = /* @__PURE__ */ function(a) {
8893
8948
  this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
8894
8949
  }
8895
8950
  }]), r;
8896
- }(V), Ko = /* @__PURE__ */ function(a) {
8897
- L(r, a);
8898
- var o = D(r);
8951
+ }(j), Ko = /* @__PURE__ */ function(a) {
8952
+ D(r, a);
8953
+ var o = O(r);
8899
8954
  function r() {
8900
8955
  return x(this, r), o.apply(this, arguments);
8901
8956
  }
@@ -8903,7 +8958,7 @@ var jo = /* @__PURE__ */ function(a) {
8903
8958
  key: "afterCreate",
8904
8959
  value: function() {
8905
8960
  var e = this;
8906
- M(O(r.prototype), "afterCreate", this).call(this);
8961
+ N(M(r.prototype), "afterCreate", this).call(this);
8907
8962
  var i = this.player, n = this.config;
8908
8963
  n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([Ze, rt, He], function() {
8909
8964
  e.animate(i.paused);
@@ -8953,7 +9008,7 @@ var jo = /* @__PURE__ */ function(a) {
8953
9008
  }, {
8954
9009
  key: "destroy",
8955
9010
  value: function() {
8956
- M(O(r.prototype), "destroy", this).call(this), this.unbind(["touchend", "click"], this.btnClick);
9011
+ N(M(r.prototype), "destroy", this).call(this), this.unbind(["touchend", "click"], this.btnClick);
8957
9012
  }
8958
9013
  }, {
8959
9014
  key: "render",
@@ -8989,8 +9044,8 @@ function Yo() {
8989
9044
  </svg>`, "image/svg+xml").firstChild;
8990
9045
  }
8991
9046
  var Xo = /* @__PURE__ */ function(a) {
8992
- L(r, a);
8993
- var o = D(r);
9047
+ D(r, a);
9048
+ var o = O(r);
8994
9049
  function r() {
8995
9050
  return x(this, r), o.apply(this, arguments);
8996
9051
  }
@@ -9048,7 +9103,7 @@ var Xo = /* @__PURE__ */ function(a) {
9048
9103
  };
9049
9104
  }
9050
9105
  }]), r;
9051
- }(V);
9106
+ }(j);
9052
9107
  function qo() {
9053
9108
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9054
9109
  <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>
@@ -9062,8 +9117,8 @@ function Jo() {
9062
9117
  `, "image/svg+xml").firstChild;
9063
9118
  }
9064
9119
  var Zo = /* @__PURE__ */ function(a) {
9065
- L(r, a);
9066
- var o = D(r);
9120
+ D(r, a);
9121
+ var o = O(r);
9067
9122
  function r() {
9068
9123
  var t;
9069
9124
  x(this, r);
@@ -9077,7 +9132,7 @@ var Zo = /* @__PURE__ */ function(a) {
9077
9132
  key: "afterCreate",
9078
9133
  value: function() {
9079
9134
  var e = this;
9080
- M(O(r.prototype), "afterCreate", this).call(this);
9135
+ N(M(r.prototype), "afterCreate", this).call(this);
9081
9136
  var i = this.config, n = this.playerConfig;
9082
9137
  if (!i.disable) {
9083
9138
  i.target && (this.playerConfig.fullscreenTarget = this.config.target);
@@ -9092,7 +9147,7 @@ var Zo = /* @__PURE__ */ function(a) {
9092
9147
  to: !c
9093
9148
  });
9094
9149
  }
9095
- }), this.bind(".xgplayer-fullscreen", ["touchend", "click"], this.handleFullscreen), this.on(ve, function(l) {
9150
+ }), this.bind(".xgplayer-fullscreen", ["touchend", "click"], this.handleFullscreen), this.on(me, function(l) {
9096
9151
  var u = e.find(".xg-tips");
9097
9152
  u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
9098
9153
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
@@ -9124,7 +9179,7 @@ var Zo = /* @__PURE__ */ function(a) {
9124
9179
  }, {
9125
9180
  key: "destroy",
9126
9181
  value: function() {
9127
- M(O(r.prototype), "destroy", this).call(this), this.unbind(".xgplayer-icon", B.device === "mobile" ? "touchend" : "click", this.handleFullscreen), B.device === "mobile" && window.removeEventListener("orientationchange", this._onOrientationChange);
9182
+ N(M(r.prototype), "destroy", this).call(this), this.unbind(".xgplayer-icon", B.device === "mobile" ? "touchend" : "click", this.handleFullscreen), B.device === "mobile" && window.removeEventListener("orientationchange", this._onOrientationChange);
9128
9183
  }
9129
9184
  }, {
9130
9185
  key: "initIcons",
@@ -9198,8 +9253,8 @@ var Zo = /* @__PURE__ */ function(a) {
9198
9253
  }
9199
9254
  }]), r;
9200
9255
  }(Ue), Qo = /* @__PURE__ */ function(a) {
9201
- L(r, a);
9202
- var o = D(r);
9256
+ D(r, a);
9257
+ var o = O(r);
9203
9258
  function r(t) {
9204
9259
  var e;
9205
9260
  return x(this, r), e = o.call(this, t), e.isActiving = !1, e;
@@ -9225,7 +9280,7 @@ var Zo = /* @__PURE__ */ function(a) {
9225
9280
  key: "afterCreate",
9226
9281
  value: function() {
9227
9282
  var e = this, i = this.player.controls.config.mode;
9228
- this.mode = i === "flex" ? "flex" : "normal", !this.config.disable && (this.mode === "flex" && (this.createCenterTime(), this.root.style.display = "none"), this.durationDom = this.find(".time-duration"), this.timeDom = this.find(".time-current"), this.on([Pe, _e, oe], function(n) {
9283
+ this.mode = i === "flex" ? "flex" : "normal", !this.config.disable && (this.mode === "flex" && (this.createCenterTime(), this.root.style.display = "none"), this.durationDom = this.find(".time-duration"), this.timeDom = this.find(".time-current"), this.on([Pe, ke, oe], function(n) {
9229
9284
  n.eventName === "durationchange" && (e.isActiving = !1), e.onTimeUpdate();
9230
9285
  }), this.on(Be, function() {
9231
9286
  e.onTimeUpdate(!0);
@@ -9313,7 +9368,7 @@ var Zo = /* @__PURE__ */ function(a) {
9313
9368
  var e = this, i = this.player, n = function() {
9314
9369
  e.isActiving = !1;
9315
9370
  };
9316
- this.off(_e, n), i.isSeeking && i.media.seeking ? this.once(_e, n) : this.isActiving = !1;
9371
+ this.off(ke, n), i.isSeeking && i.media.seeking ? this.once(ke, n) : this.isActiving = !1;
9317
9372
  }
9318
9373
  }, {
9319
9374
  key: "destroy",
@@ -9347,9 +9402,9 @@ var Zo = /* @__PURE__ */ function(a) {
9347
9402
  };
9348
9403
  }
9349
9404
  }]), r;
9350
- }(V), ea = /* @__PURE__ */ function(a) {
9351
- L(r, a);
9352
- var o = D(r);
9405
+ }(j), ea = /* @__PURE__ */ function(a) {
9406
+ D(r, a);
9407
+ var o = O(r);
9353
9408
  function r() {
9354
9409
  var t;
9355
9410
  x(this, r);
@@ -9403,7 +9458,7 @@ var Zo = /* @__PURE__ */ function(a) {
9403
9458
  return I(r, [{
9404
9459
  key: "afterCreate",
9405
9460
  value: function() {
9406
- this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Pe, this._onDurationChange), this.on(ke, this._onLoadedData), this.on(oe, this._onTimeupdate), this.on(bt, this._onSeeking), this.on(ae, this._onPlay);
9461
+ this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Pe, this._onDurationChange), this.on(Ce, this._onLoadedData), this.on(oe, this._onTimeupdate), this.on(bt, this._onSeeking), this.on(ae, this._onPlay);
9407
9462
  }
9408
9463
  }, {
9409
9464
  key: "setConfig",
@@ -9507,8 +9562,8 @@ function na() {
9507
9562
  `, "image/svg+xml").firstChild;
9508
9563
  }
9509
9564
  var ra = /* @__PURE__ */ function(a) {
9510
- L(r, a);
9511
- var o = D(r);
9565
+ D(r, a);
9566
+ var o = O(r);
9512
9567
  function r() {
9513
9568
  var t;
9514
9569
  x(this, r);
@@ -9584,7 +9639,7 @@ var ra = /* @__PURE__ */ function(a) {
9584
9639
  pre: function(u) {
9585
9640
  u.preventDefault(), u.stopPropagation();
9586
9641
  }
9587
- }), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), B.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(Zi, this.onVolumeChange), this.once(ke, this.onVolumeChange), f.typeOf(s) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
9642
+ }), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), B.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(Zi, this.onVolumeChange), this.once(Ce, this.onVolumeChange), f.typeOf(s) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
9588
9643
  }
9589
9644
  }
9590
9645
  }, {
@@ -9700,7 +9755,7 @@ var ra = /* @__PURE__ */ function(a) {
9700
9755
  };
9701
9756
  }
9702
9757
  }]), r;
9703
- }(V);
9758
+ }(j);
9704
9759
  function sa() {
9705
9760
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
9706
9761
  <g clip-path="url(#clip0)">
@@ -9716,8 +9771,8 @@ function sa() {
9716
9771
  `, "image/svg+xml").firstChild;
9717
9772
  }
9718
9773
  var oa = /* @__PURE__ */ function(a) {
9719
- L(r, a);
9720
- var o = D(r);
9774
+ D(r, a);
9775
+ var o = O(r);
9721
9776
  function r(t) {
9722
9777
  var e;
9723
9778
  return x(this, r), e = o.call(this, t), e.rotateDeg = e.config.rotateDeg || 0, e;
@@ -9727,7 +9782,7 @@ var oa = /* @__PURE__ */ function(a) {
9727
9782
  value: function() {
9728
9783
  var e = this;
9729
9784
  if (!this.config.disable) {
9730
- M(O(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.rotate), this.onBtnClick = this.onBtnClick.bind(this), this.bind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick), this.on(Se, function() {
9785
+ N(M(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.rotate), this.onBtnClick = this.onBtnClick.bind(this), this.bind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick), this.on(Se, function() {
9731
9786
  e.rotateDeg && e.config.innerRotate && f.setTimeout(e, function() {
9732
9787
  e.updateRotateDeg(e.rotateDeg, e.config.innerRotate);
9733
9788
  }, 100);
@@ -9739,7 +9794,7 @@ var oa = /* @__PURE__ */ function(a) {
9739
9794
  }, {
9740
9795
  key: "destroy",
9741
9796
  value: function() {
9742
- M(O(r.prototype), "destroy", this).call(this), this.unbind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick);
9797
+ N(M(r.prototype), "destroy", this).call(this), this.unbind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick);
9743
9798
  }
9744
9799
  }, {
9745
9800
  key: "onBtnClick",
@@ -9753,17 +9808,17 @@ var oa = /* @__PURE__ */ function(a) {
9753
9808
  this.player.videoRotateDeg = e;
9754
9809
  return;
9755
9810
  }
9756
- var n = this.player, s = this.rootWidth, l = this.rootHeight, u = n.root, c = n.innerContainer, h = n.media, g = u.offsetWidth, p = c && i ? c.offsetHeight : u.offsetHeight, d = s, v = l, y = 0, C = 0;
9757
- (e === 0.75 || e === 0.25) && (d = "".concat(p, "px"), v = "".concat(g, "px"), y = -(p - g) / 2, C = -(g - p) / 2);
9758
- var w = "translate(".concat(y, "px,").concat(C, "px) rotate(").concat(e, "turn)"), k = {
9811
+ var n = this.player, s = this.rootWidth, l = this.rootHeight, u = n.root, c = n.innerContainer, h = n.media, g = u.offsetWidth, p = c && i ? c.offsetHeight : u.offsetHeight, d = s, v = l, y = 0, k = 0;
9812
+ (e === 0.75 || e === 0.25) && (d = "".concat(p, "px"), v = "".concat(g, "px"), y = -(p - g) / 2, k = -(g - p) / 2);
9813
+ var w = "translate(".concat(y, "px,").concat(k, "px) rotate(").concat(e, "turn)"), b = {
9759
9814
  transformOrigin: "center center",
9760
9815
  transform: w,
9761
9816
  webKitTransform: w,
9762
9817
  height: v,
9763
9818
  width: d
9764
- }, N = i ? h : u, R = i ? n.getPlugin("poster") : null;
9765
- Object.keys(k).map(function(z) {
9766
- N.style[z] = k[z], R && R.root && (R.root.style[z] = k[z]);
9819
+ }, A = i ? h : u, R = i ? n.getPlugin("poster") : null;
9820
+ Object.keys(b).map(function(H) {
9821
+ A.style[H] = b[H], R && R.root && (R.root.style[H] = b[H]);
9767
9822
  });
9768
9823
  }
9769
9824
  }, {
@@ -9833,8 +9888,8 @@ var je = {
9833
9888
  INLINE: "inline",
9834
9889
  FULLSCREEN: "fullscreen"
9835
9890
  }, ua = /* @__PURE__ */ function(a) {
9836
- L(r, a);
9837
- var o = D(r);
9891
+ D(r, a);
9892
+ var o = O(r);
9838
9893
  function r() {
9839
9894
  var t;
9840
9895
  x(this, r);
@@ -9863,7 +9918,7 @@ var je = {
9863
9918
  key: "afterCreate",
9864
9919
  value: function() {
9865
9920
  var e = this;
9866
- this.isPIPAvailable() && (M(O(r.prototype), "afterCreate", this).call(this), this.pMode = je.INLINE, this.initPipEvents(), this.config.showIcon && this.initIcons(), this.once(wt, function() {
9921
+ this.isPIPAvailable() && (N(M(r.prototype), "afterCreate", this).call(this), this.pMode = je.INLINE, this.initPipEvents(), this.config.showIcon && this.initIcons(), this.once(wt, function() {
9867
9922
  e.config.showIcon && (f.removeClass(e.find(".xgplayer-icon"), "xg-icon-disable"), e.bind("click", e.switchPIP));
9868
9923
  }));
9869
9924
  }
@@ -9938,18 +9993,18 @@ var je = {
9938
9993
  documentPictureInPicture.requestWindow(u).then(function(h) {
9939
9994
  var g = s.docPiPNode, p = s.docPiPStyle;
9940
9995
  e.enterPIPCallback();
9941
- var d = g || i.root, v = d.parentElement, y = d.previousSibling, C = d.nextSibling;
9996
+ var d = g || i.root, v = d.parentElement, y = d.previousSibling, k = d.nextSibling;
9942
9997
  e.copyStyleIntoPiPWindow(h);
9943
9998
  var w = document.createElement("style");
9944
9999
  if (w.append("body{padding:0; margin:0;}"), p) {
9945
- var k = "";
9946
- typeof p == "string" ? k = p : typeof p == "function" && (k = p.call(s)), k && w.append(k);
10000
+ var b = "";
10001
+ typeof p == "string" ? b = p : typeof p == "function" && (b = p.call(s)), b && w.append(b);
9947
10002
  } else
9948
10003
  d === i.root && w.append(`
9949
10004
  .xgplayer{width: 100%!important; height: 100%!important;}
9950
10005
  `);
9951
- h.document.head.append(w), h.document.body.append(d), h.addEventListener("pagehide", function(N) {
9952
- v && (C ? v.insertBefore(d, C) : y ? v.insertBefore(d, y.nextSibling) : v.appendChild(d)), e.leavePIPCallback();
10006
+ h.document.head.append(w), h.document.body.append(d), h.addEventListener("pagehide", function(A) {
10007
+ v && (k ? v.insertBefore(d, k) : y ? v.insertBefore(d, y.nextSibling) : v.appendChild(d)), e.leavePIPCallback();
9953
10008
  }, {
9954
10009
  once: !0
9955
10010
  });
@@ -9995,7 +10050,7 @@ var je = {
9995
10050
  }, {
9996
10051
  key: "destroy",
9997
10052
  value: function() {
9998
- M(O(r.prototype), "destroy", this).call(this);
10053
+ N(M(r.prototype), "destroy", this).call(this);
9999
10054
  var e = this.player;
10000
10055
  e.media.removeEventListener("enterpictureinpicture", this.enterPIPCallback), e.media.removeEventListener("leavepictureinpicture", this.leavePIPCallback), r.checkWebkitSetPresentationMode(e.media) && e.media.removeEventListener("webkitpresentationmodechanged", this.onWebkitpresentationmodechanged), this.exitPIP(), this.unbind("click", this.btnClick);
10001
10056
  }
@@ -10042,8 +10097,8 @@ function ca() {
10042
10097
  `, "image/svg+xml").firstChild;
10043
10098
  }
10044
10099
  var fa = /* @__PURE__ */ function(a) {
10045
- L(r, a);
10046
- var o = D(r);
10100
+ D(r, a);
10101
+ var o = O(r);
10047
10102
  function r(t) {
10048
10103
  var e;
10049
10104
  return x(this, r), e = o.call(this, t), _(m(e), "playNext", function(i) {
@@ -10109,7 +10164,7 @@ var fa = /* @__PURE__ */ function(a) {
10109
10164
  };
10110
10165
  }
10111
10166
  }]), r;
10112
- }(V), Cn = { exports: {} };
10167
+ }(j), Cn = { exports: {} };
10113
10168
  (function(a, o) {
10114
10169
  (function(r, t) {
10115
10170
  a.exports = t();
@@ -10119,12 +10174,12 @@ var fa = /* @__PURE__ */ function(a) {
10119
10174
  return String(F);
10120
10175
  }, p = n.Blob || n.MozBlob || n.WebKitBlob || g, d = e || "download", v, y;
10121
10176
  if (p = p.call ? p.bind(n) : Blob, String(this) === "true" && (u = [u, l], l = u[0], u = u[1]), c && c.length < 2048 && (d = c.split("/").pop().split("?")[0], h.href = c, h.href.indexOf(c) !== -1)) {
10122
- var C = new XMLHttpRequest();
10123
- return C.open("GET", c, !0), C.responseType = "blob", C.onload = function(F) {
10177
+ var k = new XMLHttpRequest();
10178
+ return k.open("GET", c, !0), k.responseType = "blob", k.onload = function(F) {
10124
10179
  r(F.target.response, d, s);
10125
10180
  }, setTimeout(function() {
10126
- C.send();
10127
- }, 0), C;
10181
+ k.send();
10182
+ }, 0), k;
10128
10183
  }
10129
10184
  if (/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(u))
10130
10185
  if (u.length > 1024 * 1024 * 1.999 && p !== g)
@@ -10133,12 +10188,12 @@ var fa = /* @__PURE__ */ function(a) {
10133
10188
  return navigator.msSaveBlob ? (
10134
10189
  // IE10 can't do a[download], only Blobs:
10135
10190
  navigator.msSaveBlob(R(u), d)
10136
- ) : z(u);
10191
+ ) : H(u);
10137
10192
  else if (/([\x80-\xff])/.test(u)) {
10138
- var w = 0, k = new Uint8Array(u.length), N = k.length;
10139
- for (w; w < N; ++w)
10140
- k[w] = u.charCodeAt(w);
10141
- u = new p([k], { type: l });
10193
+ var w = 0, b = new Uint8Array(u.length), A = b.length;
10194
+ for (w; w < A; ++w)
10195
+ b[w] = u.charCodeAt(w);
10196
+ u = new p([b], { type: l });
10142
10197
  }
10143
10198
  v = u instanceof p ? u : new p([u], { type: l });
10144
10199
  function R(F) {
@@ -10147,7 +10202,7 @@ var fa = /* @__PURE__ */ function(a) {
10147
10202
  Le[ce] = X.charCodeAt(ce);
10148
10203
  return new p([Le], { type: K });
10149
10204
  }
10150
- function z(F, Y) {
10205
+ function H(F, Y) {
10151
10206
  if ("download" in h)
10152
10207
  return h.href = F, h.setAttribute("download", d), h.className = "download-js-link", h.innerHTML = "downloading...", h.style.display = "none", document.body.appendChild(h), setTimeout(function() {
10153
10208
  h.click(), document.body.removeChild(h), Y === !0 && setTimeout(function() {
@@ -10166,16 +10221,16 @@ Use Save As... to download, then click back to return to this page.`) && (locati
10166
10221
  if (navigator.msSaveBlob)
10167
10222
  return navigator.msSaveBlob(v, d);
10168
10223
  if (n.URL)
10169
- z(n.URL.createObjectURL(v), !0);
10224
+ H(n.URL.createObjectURL(v), !0);
10170
10225
  else {
10171
10226
  if (typeof v == "string" || v.constructor === g)
10172
10227
  try {
10173
- return z("data:" + l + ";base64," + n.btoa(v));
10228
+ return H("data:" + l + ";base64," + n.btoa(v));
10174
10229
  } catch {
10175
- return z("data:" + l + "," + encodeURIComponent(v));
10230
+ return H("data:" + l + "," + encodeURIComponent(v));
10176
10231
  }
10177
10232
  y = new FileReader(), y.onload = function(F) {
10178
- z(this.result);
10233
+ H(this.result);
10179
10234
  }, y.readAsDataURL(v);
10180
10235
  }
10181
10236
  return !0;
@@ -10202,8 +10257,8 @@ function ga() {
10202
10257
  `, "image/svg+xml").firstChild;
10203
10258
  }
10204
10259
  var pa = /* @__PURE__ */ function(a) {
10205
- L(r, a);
10206
- var o = D(r);
10260
+ D(r, a);
10261
+ var o = O(r);
10207
10262
  function r(t) {
10208
10263
  var e;
10209
10264
  return x(this, r), e = o.call(this, t), _(m(e), "download", function(i) {
@@ -10221,7 +10276,7 @@ var pa = /* @__PURE__ */ function(a) {
10221
10276
  return I(r, [{
10222
10277
  key: "afterCreate",
10223
10278
  value: function() {
10224
- M(O(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.appendChild(".xgplayer-icon", this.icons.download), this._handler = this.hook("click", this.download, {
10279
+ N(M(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.appendChild(".xgplayer-icon", this.icons.download), this._handler = this.hook("click", this.download, {
10225
10280
  pre: function(i) {
10226
10281
  i.preventDefault(), i.stopPropagation();
10227
10282
  }
@@ -10246,7 +10301,7 @@ var pa = /* @__PURE__ */ function(a) {
10246
10301
  }, {
10247
10302
  key: "destroy",
10248
10303
  value: function() {
10249
- M(O(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.download), window.clearTimeout(this.timer), this.timer = null;
10304
+ N(M(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.download), window.clearTimeout(this.timer), this.timer = null;
10250
10305
  }
10251
10306
  }, {
10252
10307
  key: "render",
@@ -10274,8 +10329,8 @@ var pa = /* @__PURE__ */ function(a) {
10274
10329
  }
10275
10330
  }]), r;
10276
10331
  }(Ue), va = /* @__PURE__ */ function(a) {
10277
- L(r, a);
10278
- var o = D(r);
10332
+ D(r, a);
10333
+ var o = O(r);
10279
10334
  function r() {
10280
10335
  return x(this, r), o.apply(this, arguments);
10281
10336
  }
@@ -10287,7 +10342,7 @@ var pa = /* @__PURE__ */ function(a) {
10287
10342
  }, {
10288
10343
  key: "afterCreate",
10289
10344
  value: function() {
10290
- M(O(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.screenshotIcon);
10345
+ N(M(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.screenshotIcon);
10291
10346
  var e = this.config;
10292
10347
  this.initSize = function(i) {
10293
10348
  e.fitVideo && (e.width = i.vWidth, e.height = i.vHeight);
@@ -10344,8 +10399,8 @@ var pa = /* @__PURE__ */ function(a) {
10344
10399
  d = u.media.canvas;
10345
10400
  else {
10346
10401
  n.canvas ? (n.canvas.width = e || l.width, n.canvas.height = i || l.height) : n.createCanvas(e, i), d = n.canvas, v = n.canvasCtx;
10347
- var y = u.media.videoWidth / u.media.videoHeight, C = d.width / d.height, w = 0, k = 0, N = u.media.videoWidth, R = u.media.videoHeight, z, F, Y, K;
10348
- y > C ? (Y = d.width, K = d.width / y, z = 0, F = Math.round((d.height - K) / 2)) : y === C ? (Y = d.width, K = d.height, z = 0, F = 0) : y < C && (Y = d.height * y, K = d.height, z = Math.round((d.width - Y) / 2), F = 0), v.drawImage(u.media, w, k, N, R, z, F, Y, K);
10402
+ var y = u.media.videoWidth / u.media.videoHeight, k = d.width / d.height, w = 0, b = 0, A = u.media.videoWidth, R = u.media.videoHeight, H, F, Y, K;
10403
+ y > k ? (Y = d.width, K = d.width / y, H = 0, F = Math.round((d.height - K) / 2)) : y === k ? (Y = d.width, K = d.height, H = 0, F = 0) : y < k && (Y = d.height * y, K = d.height, H = Math.round((d.width - Y) / 2), F = 0), v.drawImage(u.media, w, b, A, R, H, F, Y, K);
10349
10404
  }
10350
10405
  var P = d.toDataURL(h, c).replace(h, "image/octet-stream");
10351
10406
  P = P.replace(/^data:image\/[^;]+/, "data:application/octet-stream"), g(P);
@@ -10361,7 +10416,7 @@ var pa = /* @__PURE__ */ function(a) {
10361
10416
  }, {
10362
10417
  key: "destroy",
10363
10418
  value: function() {
10364
- M(O(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(Se, this.initSize);
10419
+ N(M(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(Se, this.initSize);
10365
10420
  }
10366
10421
  }, {
10367
10422
  key: "render",
@@ -10407,7 +10462,7 @@ var pa = /* @__PURE__ */ function(a) {
10407
10462
  maxHeight: r
10408
10463
  }), this.onItemClick = this.onItemClick.bind(this), this.renderItemList();
10409
10464
  var t = this.config.domEventType === "touch" ? "touchend" : "click";
10410
- this._delegates = V.delegate.call(this, this.root, "li", t, this.onItemClick);
10465
+ this._delegates = j.delegate.call(this, this.root, "li", t, this.onItemClick);
10411
10466
  }
10412
10467
  return I(a, [{
10413
10468
  key: "renderItemList",
@@ -10483,8 +10538,8 @@ function ya(a, o) {
10483
10538
  return a === de.SIDE ? o === W.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
10484
10539
  }
10485
10540
  var De = B.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10486
- L(r, a);
10487
- var o = D(r);
10541
+ D(r, a);
10542
+ var o = O(r);
10488
10543
  function r(t) {
10489
10544
  var e;
10490
10545
  return x(this, r), e = o.call(this, t), _(m(e), "onEnter", function(i) {
@@ -10514,9 +10569,9 @@ var De = B.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10514
10569
  key: "afterCreate",
10515
10570
  value: function() {
10516
10571
  var e = this, i = this.config;
10517
- this.initIcons(), De = De || this.domEventType === "touch", De && B.device === "mobile" && i.listType === de.DEFAULT && (i.listType = de.SIDE), i.hidePortrait && f.addClass(this.root, "portrait"), this.on([Se, ve], function() {
10572
+ this.initIcons(), De = De || this.domEventType === "touch", De && B.device === "mobile" && i.listType === de.DEFAULT && (i.listType = de.SIDE), i.hidePortrait && f.addClass(this.root, "portrait"), this.on([Se, me], function() {
10518
10573
  e._resizeList();
10519
- }), this.once(ye, function() {
10574
+ }), this.once(_e, function() {
10520
10575
  i.list && i.list.length > 0 && (e.renderItemList(i.list), e.show());
10521
10576
  }), De && this.on(ii, function() {
10522
10577
  e.isActive && (e.optionsList && e.optionsList.hide(), e.isActive = !1);
@@ -10548,7 +10603,7 @@ var De = B.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10548
10603
  var s = this.config.list;
10549
10604
  !n && (n = this.player.lang), i = !i || f.isUndefined(e[i]) ? "text" : i, typeof e == "number" && (e = s[e]);
10550
10605
  try {
10551
- return te(e[i]) === "object" ? e[i][n] || e[i].en : e[i];
10606
+ return ee(e[i]) === "object" ? e[i][n] || e[i].en : e[i];
10552
10607
  } catch (l) {
10553
10608
  return console.warn(l), "";
10554
10609
  }
@@ -10654,9 +10709,9 @@ var De = B.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10654
10709
  };
10655
10710
  }
10656
10711
  }]), r;
10657
- }(V), _a = /* @__PURE__ */ function(a) {
10658
- L(r, a);
10659
- var o = D(r);
10712
+ }(j), _a = /* @__PURE__ */ function(a) {
10713
+ D(r, a);
10714
+ var o = O(r);
10660
10715
  function r(t) {
10661
10716
  var e;
10662
10717
  return x(this, r), e = o.call(this, t), e.curTime = 0, e.isPaused = !0, e;
@@ -10673,7 +10728,7 @@ var De = B.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10673
10728
  key: "afterCreate",
10674
10729
  value: function() {
10675
10730
  var e = this;
10676
- M(O(r.prototype), "afterCreate", this).call(this), this.on("resourceReady", function(i) {
10731
+ N(M(r.prototype), "afterCreate", this).call(this), this.on("resourceReady", function(i) {
10677
10732
  e.changeDefinitionList(i);
10678
10733
  }), this.on(oi, function(i) {
10679
10734
  e.renderItemList(e.config.list, i.to);
@@ -10709,7 +10764,7 @@ var De = B.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10709
10764
  });
10710
10765
  return (c.selected || c.definition && c.definition == s) && (g.selected = !0, l = h), g;
10711
10766
  });
10712
- M(O(r.prototype), "renderItemList", this).call(this, u, l);
10767
+ N(M(r.prototype), "renderItemList", this).call(this, u, l);
10713
10768
  }
10714
10769
  }, {
10715
10770
  key: "changeDefinitionList",
@@ -10727,7 +10782,7 @@ var De = B.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10727
10782
  key: "onItemClick",
10728
10783
  value: function(e, i) {
10729
10784
  var n = this.player.definitionList;
10730
- M(O(r.prototype), "onItemClick", this).apply(this, arguments), this.emitUserAction(e, "change_definition", {
10785
+ N(M(r.prototype), "onItemClick", this).apply(this, arguments), this.emitUserAction(e, "change_definition", {
10731
10786
  from: i.from,
10732
10787
  to: i.to
10733
10788
  });
@@ -10756,8 +10811,8 @@ var De = B.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10756
10811
  }
10757
10812
  }]), r;
10758
10813
  }(Ct), ka = /* @__PURE__ */ function(a) {
10759
- L(r, a);
10760
- var o = D(r);
10814
+ D(r, a);
10815
+ var o = O(r);
10761
10816
  function r(t) {
10762
10817
  var e;
10763
10818
  return x(this, r), e = o.call(this, t), e.curRate = 1, e;
@@ -10777,19 +10832,19 @@ var De = B.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10777
10832
  key: "afterCreate",
10778
10833
  value: function() {
10779
10834
  var e = this;
10780
- M(O(r.prototype), "afterCreate", this).call(this), this.on(Qi, function() {
10835
+ N(M(r.prototype), "afterCreate", this).call(this), this.on(Qi, function() {
10781
10836
  e.curValue !== e.player.playbackRate && e.renderItemList();
10782
10837
  }), this.renderItemList();
10783
10838
  }
10784
10839
  }, {
10785
10840
  key: "show",
10786
10841
  value: function(e) {
10787
- !this.config.list || this.config.list.length === 0 || M(O(r.prototype), "show", this).call(this);
10842
+ !this.config.list || this.config.list.length === 0 || N(M(r.prototype), "show", this).call(this);
10788
10843
  }
10789
10844
  }, {
10790
10845
  key: "onItemClick",
10791
10846
  value: function(e, i) {
10792
- M(O(r.prototype), "onItemClick", this).call(this, e, i);
10847
+ N(M(r.prototype), "onItemClick", this).call(this, e, i);
10793
10848
  var n = e.delegateTarget, s = Number(n.getAttribute("rate"));
10794
10849
  if (!s || s === this.curValue)
10795
10850
  return !1;
@@ -10814,7 +10869,7 @@ var De = B.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10814
10869
  };
10815
10870
  return c.rate === i && (c.selected = !0, n = u), c.showText = e.getTextByLang(l), c;
10816
10871
  });
10817
- M(O(r.prototype), "renderItemList", this).call(this, s, n);
10872
+ N(M(r.prototype), "renderItemList", this).call(this, s, n);
10818
10873
  }
10819
10874
  }, {
10820
10875
  key: "changeCurrentText",
@@ -10827,7 +10882,7 @@ var De = B.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10827
10882
  }, {
10828
10883
  key: "destroy",
10829
10884
  value: function() {
10830
- M(O(r.prototype), "destroy", this).call(this);
10885
+ N(M(r.prototype), "destroy", this).call(this);
10831
10886
  }
10832
10887
  }], [{
10833
10888
  key: "pluginName",
@@ -10861,8 +10916,8 @@ function ba() {
10861
10916
  `, "image/svg+xml").firstChild;
10862
10917
  }
10863
10918
  var zi = /* @__PURE__ */ function(a) {
10864
- L(r, a);
10865
- var o = D(r);
10919
+ D(r, a);
10920
+ var o = O(r);
10866
10921
  function r() {
10867
10922
  return x(this, r), o.apply(this, arguments);
10868
10923
  }
@@ -10875,7 +10930,7 @@ var zi = /* @__PURE__ */ function(a) {
10875
10930
  key: "afterCreate",
10876
10931
  value: function() {
10877
10932
  var e = this;
10878
- M(O(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(gt, function(i) {
10933
+ N(M(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(gt, function(i) {
10879
10934
  e.animate(i);
10880
10935
  }), this.btnClick = this.btnClick.bind(this), this.handleCssFullscreen = this.hook("cssFullscreen_change", this.btnClick, {
10881
10936
  pre: function(n) {
@@ -10926,7 +10981,7 @@ var zi = /* @__PURE__ */ function(a) {
10926
10981
  }, {
10927
10982
  key: "destroy",
10928
10983
  value: function() {
10929
- M(O(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.btnClick);
10984
+ N(M(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.btnClick);
10930
10985
  }
10931
10986
  }, {
10932
10987
  key: "render",
@@ -10955,8 +11010,8 @@ var zi = /* @__PURE__ */ function(a) {
10955
11010
  }
10956
11011
  }]), r;
10957
11012
  }(Ue), wa = /* @__PURE__ */ function(a) {
10958
- L(r, a);
10959
- var o = D(r);
11013
+ D(r, a);
11014
+ var o = O(r);
10960
11015
  function r() {
10961
11016
  return x(this, r), o.apply(this, arguments);
10962
11017
  }
@@ -11015,9 +11070,9 @@ var zi = /* @__PURE__ */ function(a) {
11015
11070
  return "error";
11016
11071
  }
11017
11072
  }]), r;
11018
- }(V), Ta = /* @__PURE__ */ function(a) {
11019
- L(r, a);
11020
- var o = D(r);
11073
+ }(j), Ta = /* @__PURE__ */ function(a) {
11074
+ D(r, a);
11075
+ var o = O(r);
11021
11076
  function r() {
11022
11077
  return x(this, r), o.apply(this, arguments);
11023
11078
  }
@@ -11067,7 +11122,7 @@ var zi = /* @__PURE__ */ function(a) {
11067
11122
  }, {
11068
11123
  key: "render",
11069
11124
  value: function() {
11070
- return '<xg-prompt class="xgplayer-prompt '.concat(b.CONTROLS_FOLLOW, `">
11125
+ return '<xg-prompt class="xgplayer-prompt '.concat(C.CONTROLS_FOLLOW, `">
11071
11126
  <span class="xgplayer-prompt-detail"></span>
11072
11127
  </xg-prompt>`);
11073
11128
  }
@@ -11093,7 +11148,7 @@ var zi = /* @__PURE__ */ function(a) {
11093
11148
  };
11094
11149
  }
11095
11150
  }]), r;
11096
- }(V), Vi = {
11151
+ }(j), Vi = {
11097
11152
  time: 0,
11098
11153
  text: "",
11099
11154
  id: 1,
@@ -11270,8 +11325,8 @@ var $e = {
11270
11325
  mouseover: "onProgressMouseOver",
11271
11326
  mouseenter: "onProgressMouseOver"
11272
11327
  }, Sa = /* @__PURE__ */ function(a) {
11273
- L(r, a);
11274
- var o = D(r);
11328
+ D(r, a);
11329
+ var o = O(r);
11275
11330
  function r(t) {
11276
11331
  var e;
11277
11332
  return x(this, r), e = o.call(this, t), _(m(e), "onMousemove", function(i) {
@@ -11544,9 +11599,9 @@ var $e = {
11544
11599
  };
11545
11600
  }
11546
11601
  }]), r;
11547
- }(V), xa = /* @__PURE__ */ function(a) {
11548
- L(r, a);
11549
- var o = D(r);
11602
+ }(j), xa = /* @__PURE__ */ function(a) {
11603
+ D(r, a);
11604
+ var o = O(r);
11550
11605
  function r(t) {
11551
11606
  var e;
11552
11607
  return x(this, r), e = o.call(this, t), e.ratio = 1, e.interval = null, e._preloadMark = {}, e;
@@ -11608,26 +11663,26 @@ var $e = {
11608
11663
  this.interval = Math.round(this.player.duration / l);
11609
11664
  var p = Math.ceil(e / this.interval);
11610
11665
  p = p > l ? l : p;
11611
- var d = p < u * c ? 0 : Math.ceil(p / (u * c)) - 1, v = p - d * (c * u), y = v > 0 ? Math.ceil(v / c) - 1 : 0, C = v > 0 ? v - y * c - 1 : 0, w = 0, k = 0;
11666
+ var d = p < u * c ? 0 : Math.ceil(p / (u * c)) - 1, v = p - d * (c * u), y = v > 0 ? Math.ceil(v / c) - 1 : 0, k = v > 0 ? v - y * c - 1 : 0, w = 0, b = 0;
11612
11667
  if (i && n) {
11613
- var N = i / n;
11614
- N < h / g ? (k = n, w = k * (h / g)) : (w = i, k = w / (h / g));
11668
+ var A = i / n;
11669
+ A < h / g ? (b = n, w = b * (h / g)) : (w = i, b = w / (h / g));
11615
11670
  } else
11616
- n ? i || (k = n || g, w = k * (h / g)) : (w = i || h, k = w / (h / g));
11671
+ n ? i || (b = n || g, w = b * (h / g)) : (w = i || h, b = w / (h / g));
11617
11672
  var R = this.getUrlByIndex(d);
11618
11673
  return {
11619
11674
  urlIndex: d,
11620
11675
  rowIndex: y,
11621
- colIndex: C,
11676
+ colIndex: k,
11622
11677
  url: R,
11623
- height: k,
11678
+ height: b,
11624
11679
  width: w,
11625
11680
  style: {
11626
11681
  backgroundImage: "url(".concat(R, ")"),
11627
11682
  backgroundSize: "".concat(w * c, "px auto"),
11628
- backgroundPosition: "-".concat(C * w, "px -").concat(y * k, "px"),
11683
+ backgroundPosition: "-".concat(k * w, "px -").concat(y * b, "px"),
11629
11684
  width: "".concat(w, "px"),
11630
- height: "".concat(k, "px")
11685
+ height: "".concat(b, "px")
11631
11686
  }
11632
11687
  };
11633
11688
  }
@@ -11678,13 +11733,13 @@ var $e = {
11678
11733
  };
11679
11734
  }
11680
11735
  }]), r;
11681
- }(V);
11736
+ }(j);
11682
11737
  function Ht(a) {
11683
11738
  return a ? "background:".concat(a, ";") : "";
11684
11739
  }
11685
11740
  var Ia = /* @__PURE__ */ function(a) {
11686
- L(r, a);
11687
- var o = D(r);
11741
+ D(r, a);
11742
+ var o = O(r);
11688
11743
  function r() {
11689
11744
  var t;
11690
11745
  x(this, r);
@@ -11764,7 +11819,7 @@ var Ia = /* @__PURE__ */ function(a) {
11764
11819
  };
11765
11820
  }
11766
11821
  }]), r;
11767
- }(V), Ge = {
11822
+ }(j), Ge = {
11768
11823
  REAL_TIME: "realtime",
11769
11824
  FIRST_FRAME: "firstframe",
11770
11825
  FRAME_RATE: "framerate",
@@ -11786,8 +11841,8 @@ function Aa() {
11786
11841
  }
11787
11842
  }
11788
11843
  var lt = null, La = /* @__PURE__ */ function(a) {
11789
- L(r, a);
11790
- var o = D(r);
11844
+ D(r, a);
11845
+ var o = O(r);
11791
11846
  function r() {
11792
11847
  var t;
11793
11848
  x(this, r);
@@ -11835,7 +11890,7 @@ var lt = null, La = /* @__PURE__ */ function(a) {
11835
11890
  e._checkIfCanStart() && e.start(0, u);
11836
11891
  }), this.on(Ze, function() {
11837
11892
  e.stop();
11838
- })), this.on(ke, this.onLoadedData), this.on(ti, function() {
11893
+ })), this.on(Ce, this.onLoadedData), this.on(ti, function() {
11839
11894
  e._isLoaded = !1, e.stop();
11840
11895
  }), document.addEventListener("visibilitychange", this.onVisibilitychange)));
11841
11896
  }
@@ -11857,7 +11912,7 @@ var lt = null, La = /* @__PURE__ */ function(a) {
11857
11912
  s || (s = n.isInnerRender && i.innerContainer || i.root), s.insertAdjacentHTML("afterbegin", '<div class="xgplayer-dynamic-bg" data-index="'.concat(n.index, `"><canvas>
11858
11913
  </canvas><xgmask></xgmask></div>`)), this.root = s.children[0], this.canvas = this.find("canvas"), this.canvasFilter || (this.canvas.style.filter = n.filter, this.canvas.style.webkitFilter = n.filter), this.mask = this.find("xgmask"), n.addMask && (this.mask.style.background = n.maskBg), this.canvasCtx = this.canvas.getContext("2d");
11859
11914
  } catch (l) {
11860
- H.logError("plugin:DynamicBg", l);
11915
+ U.logError("plugin:DynamicBg", l);
11861
11916
  }
11862
11917
  }
11863
11918
  }, {
@@ -11941,7 +11996,7 @@ var lt = null, La = /* @__PURE__ */ function(a) {
11941
11996
  }
11942
11997
  this.canvasFilter && (this.canvasCtx.filter = s.filter), this.canvasCtx.drawImage(e, n.x, n.y, n.rwidth, n.rheight);
11943
11998
  } catch (d) {
11944
- H.logError("plugin:DynamicBg", d);
11999
+ U.logError("plugin:DynamicBg", d);
11945
12000
  }
11946
12001
  }
11947
12002
  }, {
@@ -11987,7 +12042,7 @@ var lt = null, La = /* @__PURE__ */ function(a) {
11987
12042
  return !(B.browser === "safari" || B.browser === "firefox");
11988
12043
  }
11989
12044
  }]), r;
11990
- }(V), Da = {
12045
+ }(j), Da = {
11991
12046
  LANG: "zh-cn",
11992
12047
  TEXT: {
11993
12048
  ERROR_TYPES: {
@@ -12063,8 +12118,8 @@ var lt = null, La = /* @__PURE__ */ function(a) {
12063
12118
  LIVE_TIP: "直播"
12064
12119
  }
12065
12120
  }, et = "info", Ut = gn, Oa = /* @__PURE__ */ function(a) {
12066
- L(r, a);
12067
- var o = D(r);
12121
+ D(r, a);
12122
+ var o = O(r);
12068
12123
  function r() {
12069
12124
  var t;
12070
12125
  x(this, r);
@@ -12207,8 +12262,8 @@ var lt = null, La = /* @__PURE__ */ function(a) {
12207
12262
  }
12208
12263
  }]), r;
12209
12264
  }(xe), wn = /* @__PURE__ */ function(a) {
12210
- L(r, a);
12211
- var o = D(r);
12265
+ D(r, a);
12266
+ var o = O(r);
12212
12267
  function r() {
12213
12268
  var t;
12214
12269
  x(this, r);
@@ -12228,8 +12283,8 @@ var lt = null, La = /* @__PURE__ */ function(a) {
12228
12283
  console.log("GapJump bufferRange ", c.start(d), c.end(d));
12229
12284
  var v = c.start(d) + 0.1, y = l.media.duration;
12230
12285
  if (!(v > y)) {
12231
- var C = v - p, w = C <= h;
12232
- C < r.BROWSER_GAP_TOLERANCE || w && (u.useGapJump !== !1 && (l.media.currentTime = t.isSafari ? v + 0.1 : v), t.player && t.player.emit("detectGap"), console.log("gapJump gapIndex", d, " isGapSamll:", w, " currentTime:", l.media.currentTime, " jumpSize:", p - l.media.currentTime), v !== 0.08 && l && l.emit("log", {
12286
+ var k = v - p, w = k <= h;
12287
+ k < r.BROWSER_GAP_TOLERANCE || w && (u.useGapJump !== !1 && (l.media.currentTime = t.isSafari ? v + 0.1 : v), t.player && t.player.emit("detectGap"), console.log("gapJump gapIndex", d, " isGapSamll:", w, " currentTime:", l.media.currentTime, " jumpSize:", p - l.media.currentTime), v !== 0.08 && l && l.emit("log", {
12233
12288
  type: "oneevent",
12234
12289
  end_type: "gap",
12235
12290
  vid: l.config.vid,
@@ -12294,11 +12349,11 @@ var lt = null, La = /* @__PURE__ */ function(a) {
12294
12349
  };
12295
12350
  }
12296
12351
  }]), r;
12297
- }(V);
12352
+ }(j);
12298
12353
  wn.BROWSER_GAP_TOLERANCE = 1e-3;
12299
12354
  var Ra = /* @__PURE__ */ function(a) {
12300
- L(r, a);
12301
- var o = D(r);
12355
+ D(r, a);
12356
+ var o = O(r);
12302
12357
  function r() {
12303
12358
  var t;
12304
12359
  x(this, r);
@@ -12320,7 +12375,7 @@ var Ra = /* @__PURE__ */ function(a) {
12320
12375
  key: "afterCreate",
12321
12376
  value: function() {
12322
12377
  var e = this, i = this.config, n = i.useWaitingTimeoutJump, s = i.jumpSize;
12323
- n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(st, this.onWaiting), this.on([ei, ye], function() {
12378
+ n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(st, this.onWaiting), this.on([ei, _e], function() {
12324
12379
  clearTimeout(e.timer), e.timer = null, e.jumpSize = e.config.jumpSize;
12325
12380
  }), this.on(ae, function() {
12326
12381
  e.hasPlayed = !0;
@@ -12342,9 +12397,9 @@ var Ra = /* @__PURE__ */ function(a) {
12342
12397
  };
12343
12398
  }
12344
12399
  }]), r;
12345
- }(V), Ke = "cdn", ut = ["cdn"], Fa = /* @__PURE__ */ function(a) {
12346
- L(r, a);
12347
- var o = D(r);
12400
+ }(j), Ke = "cdn", ut = ["cdn"], Fa = /* @__PURE__ */ function(a) {
12401
+ D(r, a);
12402
+ var o = O(r);
12348
12403
  function r() {
12349
12404
  var t;
12350
12405
  x(this, r);
@@ -12374,14 +12429,14 @@ var Ra = /* @__PURE__ */ function(a) {
12374
12429
  try {
12375
12430
  var p = (/* @__PURE__ */ new Date()).getTime(), d = null, v = new XMLHttpRequest();
12376
12431
  t.xhr = v, v.open("GET", g);
12377
- var y = {}, C = Math.floor(Math.random() * 10);
12378
- y.Range = "bytes=" + C + "-" + (u + C), y && Object.keys(y).forEach(function(w) {
12432
+ var y = {}, k = Math.floor(Math.random() * 10);
12433
+ y.Range = "bytes=" + k + "-" + (u + k), y && Object.keys(y).forEach(function(w) {
12379
12434
  v.setRequestHeader(w, y[w]);
12380
12435
  }), v.onreadystatechange = function() {
12381
12436
  if (v.readyState === 4) {
12382
12437
  t.xhr = null, d = (/* @__PURE__ */ new Date()).getTime();
12383
- var w = v.getResponseHeader("Content-Length") / 1024 * 8, k = Math.round(w * 1e3 / (d - p));
12384
- t.appendList(k), t.timer = setTimeout(t.testSpeed, h);
12438
+ var w = v.getResponseHeader("Content-Length") / 1024 * 8, b = Math.round(w * 1e3 / (d - p));
12439
+ t.appendList(b), t.timer = setTimeout(t.testSpeed, h);
12385
12440
  }
12386
12441
  }, v.send();
12387
12442
  } catch (w) {
@@ -12418,7 +12473,7 @@ var Ra = /* @__PURE__ */ function(a) {
12418
12473
  key: "afterCreate",
12419
12474
  value: function() {
12420
12475
  var e = this.config, i = e.openSpeed, n = e.addSpeedTypeList;
12421
- (n == null ? void 0 : n.length) > 0 && ut.push.apply(ut, fe(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([ke, dt], this.startTimer);
12476
+ (n == null ? void 0 : n.length) > 0 && ut.push.apply(ut, fe(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Ce, dt], this.startTimer);
12422
12477
  }
12423
12478
  }, {
12424
12479
  key: "getSpeedName",
@@ -12445,7 +12500,7 @@ var Ra = /* @__PURE__ */ function(a) {
12445
12500
  key: "destroy",
12446
12501
  value: function() {
12447
12502
  var e = this;
12448
- this.off("real_time_speed", this._onRealSpeedChange), this.off([ke, dt], this.startTimer), ut.forEach(function(i) {
12503
+ this.off("real_time_speed", this._onRealSpeedChange), this.off([Ce, dt], this.startTimer), ut.forEach(function(i) {
12449
12504
  e.speedListCache && e.speedListCache[i] && (e.speedListCache[i] = []);
12450
12505
  }), 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);
12451
12506
  }
@@ -12468,9 +12523,9 @@ var Ra = /* @__PURE__ */ function(a) {
12468
12523
  };
12469
12524
  }
12470
12525
  }]), r;
12471
- }(V), Ma = /* @__PURE__ */ function(a) {
12472
- L(r, a);
12473
- var o = D(r);
12526
+ }(j), Ma = /* @__PURE__ */ function(a) {
12527
+ D(r, a);
12528
+ var o = O(r);
12474
12529
  function r() {
12475
12530
  return x(this, r), o.apply(this, arguments);
12476
12531
  }
@@ -12577,7 +12632,7 @@ var Ra = /* @__PURE__ */ function(a) {
12577
12632
  };
12578
12633
  }
12579
12634
  }]), r;
12580
- }(V);
12635
+ }(j);
12581
12636
  Xe.use(Da);
12582
12637
  var Na = /* @__PURE__ */ I(function a(o, r) {
12583
12638
  var t, e, i;
@@ -12597,8 +12652,8 @@ var Na = /* @__PURE__ */ I(function a(o, r) {
12597
12652
  }
12598
12653
  (B.os.isIpad || h === "pc") && this.plugins.push(La), B.os.isIpad && this.plugins.push(Nt), this.ignores = [], this.i18n = [];
12599
12654
  }), he = /* @__PURE__ */ function(a) {
12600
- L(r, a);
12601
- var o = D(r);
12655
+ D(r, a);
12656
+ var o = O(r);
12602
12657
  function r() {
12603
12658
  return x(this, r), o.apply(this, arguments);
12604
12659
  }
@@ -12609,10 +12664,10 @@ _(he, "Util", f);
12609
12664
  _(he, "Sniffer", B);
12610
12665
  _(he, "Errors", ht);
12611
12666
  _(he, "Events", Js);
12612
- _(he, "Plugin", V);
12667
+ _(he, "Plugin", j);
12613
12668
  _(he, "BasePlugin", xe);
12614
12669
  _(he, "I18N", Xe);
12615
- _(he, "STATE_CLASS", b);
12670
+ _(he, "STATE_CLASS", C);
12616
12671
  _(he, "InstManager", _n);
12617
12672
  const Ba = ["id"], Ha = /* @__PURE__ */ ue({
12618
12673
  name: "ElImageViewer",
@@ -12643,7 +12698,7 @@ const Ba = ["id"], Ha = /* @__PURE__ */ ue({
12643
12698
  }, ["update:modelValue"]),
12644
12699
  setup(a, { emit: o }) {
12645
12700
  let r = null;
12646
- const t = a, { cLoadUrl: e } = qt(t), i = ee(() => Je(e.value, t.url)), n = {
12701
+ const t = a, { cLoadUrl: e } = qt(t), i = Q(() => Je(e.value, t.url)), n = {
12647
12702
  width: "100%",
12648
12703
  height: "100%",
12649
12704
  // 是否自动播放
@@ -12661,7 +12716,7 @@ const Ba = ["id"], Ha = /* @__PURE__ */ ue({
12661
12716
  poster: "",
12662
12717
  lang: "zh-CN",
12663
12718
  screenShot: !0
12664
- }, s = ee(() => ({
12719
+ }, s = Q(() => ({
12665
12720
  ...n,
12666
12721
  ...t.config
12667
12722
  })), l = o, u = Yt(a, "modelValue"), c = Gi(), h = Fn("image-viewer");
@@ -12677,12 +12732,12 @@ const Ba = ["id"], Ha = /* @__PURE__ */ ue({
12677
12732
  });
12678
12733
  });
12679
12734
  }), (p, d) => {
12680
- const v = Te("el-icon");
12681
- return u.value ? (T(), Ee(Sn, {
12735
+ const v = Ee("el-icon");
12736
+ return u.value ? (T(), ve(Sn, {
12682
12737
  key: 0,
12683
12738
  to: "body"
12684
12739
  }, [
12685
- Z(xn, {
12740
+ ie(xn, {
12686
12741
  name: "viewer-fade",
12687
12742
  appear: ""
12688
12743
  }, {
@@ -12692,38 +12747,38 @@ const Ba = ["id"], Ha = /* @__PURE__ */ ue({
12692
12747
  {
12693
12748
  ref: "wrapper",
12694
12749
  tabindex: -1,
12695
- class: J(j(h).e("wrapper")),
12750
+ class: J(V(h).e("wrapper")),
12696
12751
  style: re({ zIndex: a.zIndex })
12697
12752
  },
12698
12753
  [
12699
12754
  S(
12700
12755
  "div",
12701
12756
  {
12702
- class: J(j(h).e("mask"))
12757
+ class: J(V(h).e("mask"))
12703
12758
  },
12704
12759
  null,
12705
12760
  2
12706
12761
  /* CLASS */
12707
12762
  ),
12708
- A(" CANVAS "),
12763
+ L(" CANVAS "),
12709
12764
  S(
12710
12765
  "div",
12711
12766
  {
12712
- class: J(j(h).e("canvas"))
12767
+ class: J(V(h).e("canvas"))
12713
12768
  },
12714
12769
  [
12715
- S("div", { id: j(c) }, null, 8, Ba),
12716
- A(" CLOSE "),
12770
+ S("div", { id: V(c) }, null, 8, Ba),
12771
+ L(" CLOSE "),
12717
12772
  S(
12718
12773
  "span",
12719
12774
  {
12720
- class: J([j(h).e("btn"), j(h).e("close")]),
12775
+ class: J([V(h).e("btn"), V(h).e("close")]),
12721
12776
  onClick: g
12722
12777
  },
12723
12778
  [
12724
- Z(v, { onClick: g }, {
12779
+ ie(v, { onClick: g }, {
12725
12780
  default: pe(() => [
12726
- Z(j(Vr))
12781
+ ie(V(Vr))
12727
12782
  ]),
12728
12783
  _: 1
12729
12784
  /* STABLE */
@@ -12745,7 +12800,7 @@ const Ba = ["id"], Ha = /* @__PURE__ */ ue({
12745
12800
  _: 3
12746
12801
  /* FORWARDED */
12747
12802
  })
12748
- ])) : A("v-if", !0);
12803
+ ])) : L("v-if", !0);
12749
12804
  };
12750
12805
  }
12751
12806
  });
@@ -12896,17 +12951,17 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
12896
12951
  });
12897
12952
  }
12898
12953
  }, n = (c) => {
12899
- var C, w, k;
12900
- let h = document.createElement("div"), g = document.getElementById("approveProcess"), p = 0, d = (C = document.getElementById(`${c[0]}`)) == null ? void 0 : C.offsetWidth, v = (w = document.getElementById(`${c[0]}`)) == null ? void 0 : w.offsetLeft, y = (k = document.getElementById(`${c[0]}`)) == null ? void 0 : k.offsetTop;
12901
- c.forEach((N) => {
12902
- let R = document.getElementById(`${N}`);
12954
+ var k, w, b;
12955
+ let h = document.createElement("div"), g = document.getElementById("approveProcess"), p = 0, d = (k = document.getElementById(`${c[0]}`)) == null ? void 0 : k.offsetWidth, v = (w = document.getElementById(`${c[0]}`)) == null ? void 0 : w.offsetLeft, y = (b = document.getElementById(`${c[0]}`)) == null ? void 0 : b.offsetTop;
12956
+ c.forEach((A) => {
12957
+ let R = document.getElementById(`${A}`);
12903
12958
  p += R.offsetHeight;
12904
12959
  }), setTimeout(() => {
12905
12960
  h.style.width = d + 32 + "px", h.style.height = p + "px", h.style.background = "#f9f9f9", h.style.position = "absolute", h.style.top = y - 16 + "px", h.style.left = v - 16 + "px", h.style.zIndex = -1, g == null || g.appendChild(h);
12906
12961
  });
12907
12962
  }, s = (c, h, g) => {
12908
12963
  var v, y;
12909
- let p = (v = e.listData) == null ? void 0 : v.findIndex((C) => C.lineType == "dashed"), d = "";
12964
+ let p = (v = e.listData) == null ? void 0 : v.findIndex((k) => k.lineType == "dashed"), d = "";
12910
12965
  if (g && ((y = g[e.defaultFile.approvePersonList]) == null ? void 0 : y.findIndex((w) => w[e.defaultFile.approveStatus] === e.statusOption.执行中)) > -1)
12911
12966
  return "ikapprove ikapprove-dengdai orange";
12912
12967
  switch (c) {
@@ -12943,13 +12998,13 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
12943
12998
  d.style.display = h;
12944
12999
  }, u = (c) => Je(t.value, c);
12945
13000
  return (c, h) => {
12946
- const g = Te("el-image"), p = Te("IkingApprovalProcessDetail");
13001
+ const g = Ee("el-image"), p = Ee("IkingApprovalProcessDetail");
12947
13002
  return T(), E("div", Va, [
12948
13003
  (T(!0), E(
12949
13004
  le,
12950
13005
  null,
12951
13006
  Re(e.listData, (d, v) => {
12952
- var y, C, w, k, N, R, z, F, Y, K;
13007
+ var y, k, w, b, A, R, H, F, Y, K;
12953
13008
  return T(), E("div", {
12954
13009
  class: "approveBlock",
12955
13010
  id: d[e.defaultFile.nodeId],
@@ -12958,7 +13013,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
12958
13013
  S("div", Wa, [
12959
13014
  S("div", $a, [
12960
13015
  S("span", Ga, [
12961
- A(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
13016
+ L(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
12962
13017
  ((y = d[e.defaultFile.approvePersonList]) == null ? void 0 : y.length) == 1 && d[e.defaultFile.approvePersonList][0].userAvatar ? (T(), E("img", {
12963
13018
  key: 0,
12964
13019
  style: { width: "100%", height: "100%", "border-radius": "10px" },
@@ -12970,12 +13025,12 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
12970
13025
  le,
12971
13026
  { key: 1 },
12972
13027
  [
12973
- A(" 否则显示对应节点 "),
13028
+ L(" 否则显示对应节点 "),
12974
13029
  S(
12975
13030
  "i",
12976
13031
  {
12977
13032
  class: J(
12978
- j(Wr)(
13033
+ V(Wr)(
12979
13034
  e,
12980
13035
  d[e.defaultFile.nodeType],
12981
13036
  d[e.defaultFile.approvePersonList]
@@ -12990,7 +13045,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
12990
13045
  2112
12991
13046
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
12992
13047
  )),
12993
- A(" 审批状态图标 "),
13048
+ L(" 审批状态图标 "),
12994
13049
  S(
12995
13050
  "i",
12996
13051
  {
@@ -13007,19 +13062,19 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13007
13062
  S("div", Ya, [
13008
13063
  S("div", Xa, [
13009
13064
  S("div", null, [
13010
- A(" 不是抄送节点 "),
13065
+ L(" 不是抄送节点 "),
13011
13066
  e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (T(), E("div", qa, [
13012
- A(" 撤销,评论不显示节点名称 "),
13067
+ L(" 撤销,评论不显示节点名称 "),
13013
13068
  d[e.defaultFile.approveStatus] != e.statusOption.撤销 && d[e.defaultFile.approveStatus] != e.statusOption.评论 && d[e.defaultFile.nodeType] !== e.nodeType.并行分支 ? (T(), E(
13014
13069
  "div",
13015
13070
  Ja,
13016
13071
  $(d[e.defaultFile.nodeTypeName]),
13017
13072
  1
13018
13073
  /* TEXT */
13019
- )) : A("v-if", !0),
13020
- A(" 名字+审批状态 "),
13074
+ )) : L("v-if", !0),
13075
+ L(" 名字+审批状态 "),
13021
13076
  S("div", Za, [
13022
- A(" 已审批节点文本 "),
13077
+ L(" 已审批节点文本 "),
13023
13078
  d[e.defaultFile.lineType] == "solid" ? (T(), E("div", Qa, [
13024
13079
  S(
13025
13080
  "span",
@@ -13032,15 +13087,15 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13032
13087
  5
13033
13088
  /* TEXT, STYLE */
13034
13089
  ),
13035
- A(" 发起,退回不显示状态 "),
13090
+ L(" 发起,退回不显示状态 "),
13036
13091
  d[e.defaultFile.approveStatusName] && d[e.defaultFile.approveStatus] != e.statusOption.发起 && d[e.defaultFile.approveStatus] != e.statusOption.退回 ? (T(), E(
13037
13092
  "span",
13038
13093
  el,
13039
13094
  $(d[e.defaultFile.approveStatus] == e.statusOption.评论 ? " 添加了评论" : d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
13040
13095
  1
13041
13096
  /* TEXT */
13042
- )) : A("v-if", !0),
13043
- A(" 退回状态显示 "),
13097
+ )) : L("v-if", !0),
13098
+ L(" 退回状态显示 "),
13044
13099
  d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (T(), E("span", tl, [
13045
13100
  il,
13046
13101
  Me(
@@ -13048,14 +13103,14 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13048
13103
  1
13049
13104
  /* TEXT */
13050
13105
  )
13051
- ])) : A("v-if", !0)
13106
+ ])) : L("v-if", !0)
13052
13107
  ])) : (T(), E(
13053
13108
  le,
13054
13109
  { key: 1 },
13055
13110
  [
13056
- A(" 待审批节点 "),
13111
+ L(" 待审批节点 "),
13057
13112
  S("div", null, [
13058
- ((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (T(), E("span", nl, [
13113
+ ((k = d[e.defaultFile.approvePersonList]) == null ? void 0 : k.length) == 1 ? (T(), E("span", nl, [
13059
13114
  Me(
13060
13115
  $(d[e.defaultFile.originator]) + " ",
13061
13116
  1
@@ -13067,14 +13122,14 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13067
13122
  $(d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
13068
13123
  1
13069
13124
  /* TEXT */
13070
- )) : A("v-if", !0)
13125
+ )) : L("v-if", !0)
13071
13126
  ])) : d[e.defaultFile.approvePersonList] ? (T(), E(
13072
13127
  "span",
13073
13128
  sl,
13074
13129
  $(`${(w = d[e.defaultFile.approvePersonList]) == null ? void 0 : w.length}人${d[e.defaultFile.approveTypeName]}`),
13075
13130
  1
13076
13131
  /* TEXT */
13077
- )) : A("v-if", !0)
13132
+ )) : L("v-if", !0)
13078
13133
  ])
13079
13134
  ],
13080
13135
  2112
@@ -13084,8 +13139,8 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13084
13139
  ])) : (T(), E("div", ol, [
13085
13140
  al,
13086
13141
  S("div", ll, [
13087
- A(" 抄送一人时 "),
13088
- ((k = d[e.defaultFile.approvePersonList]) == null ? void 0 : k.length) == 1 ? (T(), E("span", ul, [
13142
+ L(" 抄送一人时 "),
13143
+ ((b = d[e.defaultFile.approvePersonList]) == null ? void 0 : b.length) == 1 ? (T(), E("span", ul, [
13089
13144
  S("span", null, [
13090
13145
  Me("已抄送给 "),
13091
13146
  S(
@@ -13103,42 +13158,42 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13103
13158
  1
13104
13159
  /* TEXT */
13105
13160
  )
13106
- ])) : A("v-if", !0),
13107
- A(" 抄送多人时 "),
13108
- ((N = d[e.defaultFile.approvePersonList]) == null ? void 0 : N.length) > 1 ? (T(), E("span", hl, [
13161
+ ])) : L("v-if", !0),
13162
+ L(" 抄送多人时 "),
13163
+ ((A = d[e.defaultFile.approvePersonList]) == null ? void 0 : A.length) > 1 ? (T(), E("span", hl, [
13109
13164
  Me(
13110
13165
  $(`已抄送${(R = d[e.defaultFile.approvePersonList]) == null ? void 0 : R.length}人`) + " ",
13111
13166
  1
13112
13167
  /* TEXT */
13113
13168
  ),
13114
13169
  d[e.defaultFile.allRead] ? (T(), E("span", dl, " 全部已读 ")) : (T(), E("span", gl, [
13115
- d[e.defaultFile.read] ? A("v-if", !0) : (T(), E("span", pl, " 全部未读 ")),
13170
+ d[e.defaultFile.read] ? L("v-if", !0) : (T(), E("span", pl, " 全部未读 ")),
13116
13171
  d[e.defaultFile.read] ? (T(), E(
13117
13172
  "span",
13118
13173
  vl,
13119
13174
  $(d[e.defaultFile.read]) + "人已读 ",
13120
13175
  1
13121
13176
  /* TEXT */
13122
- )) : A("v-if", !0)
13177
+ )) : L("v-if", !0)
13123
13178
  ]))
13124
- ])) : A("v-if", !0)
13179
+ ])) : L("v-if", !0)
13125
13180
  ])
13126
13181
  ]))
13127
13182
  ]),
13128
13183
  S("div", ml, [
13129
- A(" 不是抄送节点,展示时间 "),
13184
+ L(" 不是抄送节点,展示时间 "),
13130
13185
  d[e.defaultFile.nodeType] != e.nodeType.抄送节点 && d[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (T(), E(
13131
13186
  "span",
13132
13187
  yl,
13133
- $(j(Rn).toDateTime(
13188
+ $(V(Rn).toDateTime(
13134
13189
  d[e.defaultFile.operationTime],
13135
13190
  "MM/DD HH:mm"
13136
13191
  )),
13137
13192
  1
13138
13193
  /* TEXT */
13139
- )) : A("v-if", !0),
13140
- A(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
13141
- d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((z = d[e.defaultFile.approvePersonList]) == null ? void 0 : z.length) > 1 ? (T(), E("span", _l, [
13194
+ )) : L("v-if", !0),
13195
+ L(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
13196
+ d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((H = d[e.defaultFile.approvePersonList]) == null ? void 0 : H.length) > 1 ? (T(), E("span", _l, [
13142
13197
  d != null && d.show ? (T(), E("i", {
13143
13198
  key: 0,
13144
13199
  class: "ikapprove ikapprove-a-putongjiantouzhankai",
@@ -13148,7 +13203,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13148
13203
  onClick: (P) => l(d, "none"),
13149
13204
  class: "ikapprove ikapprove-a-putongjiantoushouqi"
13150
13205
  }, null, 8, Cl))
13151
- ])) : A("v-if", !0)
13206
+ ])) : L("v-if", !0)
13152
13207
  ])
13153
13208
  ])
13154
13209
  ])
@@ -13162,7 +13217,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13162
13217
  })
13163
13218
  },
13164
13219
  [
13165
- A(" 审批意见 "),
13220
+ L(" 审批意见 "),
13166
13221
  d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (T(), E("div", bl, [
13167
13222
  d[e.defaultFile.approveOpinion] ? (T(), E(
13168
13223
  "span",
@@ -13170,7 +13225,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13170
13225
  $(d[e.defaultFile.approveOpinion]),
13171
13226
  1
13172
13227
  /* TEXT */
13173
- )) : A("v-if", !0),
13228
+ )) : L("v-if", !0),
13174
13229
  d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (T(), E("span", Tl, [
13175
13230
  El,
13176
13231
  (T(!0), E(
@@ -13186,14 +13241,14 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13186
13241
  256
13187
13242
  /* UNKEYED_FRAGMENT */
13188
13243
  ))
13189
- ])) : A("v-if", !0)
13190
- ])) : A("v-if", !0),
13191
- A(" 附件 "),
13192
- (F = d[e.defaultFile.attachment]) != null && F.length ? (T(), Ee(j(Qr), {
13244
+ ])) : L("v-if", !0)
13245
+ ])) : L("v-if", !0),
13246
+ L(" 附件 "),
13247
+ (F = d[e.defaultFile.attachment]) != null && F.length ? (T(), ve(V(Qr), {
13193
13248
  key: 1,
13194
13249
  list: d[e.defaultFile.attachment]
13195
- }, null, 8, ["list"])) : A("v-if", !0),
13196
- A(" 附件图片 "),
13250
+ }, null, 8, ["list"])) : L("v-if", !0),
13251
+ L(" 附件图片 "),
13197
13252
  (Y = d[e.defaultFile.attachmentImg]) != null && Y.length ? (T(), E("div", xl, [
13198
13253
  (T(!0), E(
13199
13254
  le,
@@ -13202,7 +13257,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13202
13257
  class: "image",
13203
13258
  key: X
13204
13259
  }, [
13205
- Z(g, {
13260
+ ie(g, {
13206
13261
  src: u(P),
13207
13262
  "preview-src-list": d[e.defaultFile.attachmentImg].map((ne) => u(ne)),
13208
13263
  fit: "cover",
@@ -13214,8 +13269,8 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13214
13269
  128
13215
13270
  /* KEYED_FRAGMENT */
13216
13271
  ))
13217
- ])) : A("v-if", !0),
13218
- A(" 抄送节点或是等待审批状态并且列表长度大于1 "),
13272
+ ])) : L("v-if", !0),
13273
+ L(" 抄送节点或是等待审批状态并且列表长度大于1 "),
13219
13274
  (d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((K = d[e.defaultFile.approvePersonList]) == null ? void 0 : K.length) > 1 ? (T(), E("div", Il, [
13220
13275
  (T(!0), E(
13221
13276
  le,
@@ -13237,7 +13292,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13237
13292
  1
13238
13293
  /* TEXT */
13239
13294
  )),
13240
- P.status === "END" ? (T(), E("i", Dl)) : A("v-if", !0)
13295
+ P.status === "END" ? (T(), E("i", Dl)) : L("v-if", !0)
13241
13296
  ]),
13242
13297
  S("div", {
13243
13298
  class: "main-text",
@@ -13247,7 +13302,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13247
13302
  128
13248
13303
  /* KEYED_FRAGMENT */
13249
13304
  ))
13250
- ])) : A("v-if", !0)
13305
+ ])) : L("v-if", !0)
13251
13306
  ],
13252
13307
  4
13253
13308
  /* STYLE */
@@ -13264,14 +13319,14 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
13264
13319
  1
13265
13320
  /* TEXT */
13266
13321
  ),
13267
- Z(p, $i({ ref_for: !0 }, r, {
13322
+ ie(p, $i({ ref_for: !0 }, r, {
13268
13323
  "data-list": (P == null ? void 0 : P.processInstanceNodes) || []
13269
13324
  }), null, 16, ["data-list"])
13270
13325
  ]))),
13271
13326
  256
13272
13327
  /* UNKEYED_FRAGMENT */
13273
13328
  ))
13274
- ])) : A("v-if", !0)
13329
+ ])) : L("v-if", !0)
13275
13330
  ], 8, ja);
13276
13331
  }),
13277
13332
  128