iking-web-ui-pro 0.3.0 → 0.3.2

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 (78) hide show
  1. package/dist/IkApprovalProcessDetail/ik.index.es.js +956 -942
  2. package/dist/IkApprovalProcessDetail/ik.index.umd.js +48 -48
  3. package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
  4. package/dist/IkBaseDialog/ik.index.es.js +210 -189
  5. package/dist/IkBaseDialog/ik.index.umd.js +1 -1
  6. package/dist/IkBaseDialog/iking-web-ui-pro.css +1 -1
  7. package/dist/IkBtnSetting/ik.index.es.js +331 -310
  8. package/dist/IkBtnSetting/ik.index.umd.js +1 -1
  9. package/dist/IkBtnSetting/iking-web-ui-pro.css +1 -1
  10. package/dist/IkCollapseCard/ik.index.es.js +195 -174
  11. package/dist/IkCollapseCard/ik.index.umd.js +1 -1
  12. package/dist/IkCollapseCard/iking-web-ui-pro.css +1 -1
  13. package/dist/IkDescription/ik.index.es.js +1462 -1448
  14. package/dist/IkDescription/ik.index.umd.js +48 -48
  15. package/dist/IkDescription/iking-web-ui-pro.css +1 -1
  16. package/dist/IkDetailPreviewFiles/ik.index.es.js +1441 -1427
  17. package/dist/IkDetailPreviewFiles/ik.index.umd.js +48 -48
  18. package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
  19. package/dist/IkExpandCollapse/ik.index.es.js +191 -170
  20. package/dist/IkExpandCollapse/ik.index.umd.js +1 -1
  21. package/dist/IkExpandCollapse/iking-web-ui-pro.css +1 -1
  22. package/dist/IkIconPicker/ik.index.es.js +229 -208
  23. package/dist/IkIconPicker/ik.index.umd.js +1 -1
  24. package/dist/IkIconPicker/iking-web-ui-pro.css +1 -1
  25. package/dist/IkMonacoEditor/ik.index.es.js +449 -428
  26. package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
  27. package/dist/IkMonacoEditor/iking-web-ui-pro.css +1 -1
  28. package/dist/IkPageFull/ik.index.es.js +1440 -1419
  29. package/dist/IkPageFull/ik.index.umd.js +2 -2
  30. package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
  31. package/dist/IkPreviewFile/ik.index.es.js +1444 -1430
  32. package/dist/IkPreviewFile/ik.index.umd.js +48 -48
  33. package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
  34. package/dist/IkPreviewFileDialog/ik.index.es.js +1047 -1026
  35. package/dist/IkPreviewFileDialog/ik.index.umd.js +47 -47
  36. package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
  37. package/dist/IkSchedule/ik.index.es.js +3041 -3020
  38. package/dist/IkSchedule/ik.index.umd.js +1 -1
  39. package/dist/IkSchedule/iking-web-ui-pro.css +1 -1
  40. package/dist/IkSelectTag/ik.index.es.js +141 -130
  41. package/dist/IkSelectTag/ik.index.umd.js +1 -1
  42. package/dist/IkSelectTag/iking-web-ui-pro.css +1 -1
  43. package/dist/IkSideText/ik.index.es.js +276 -190
  44. package/dist/IkSideText/ik.index.umd.js +1 -1
  45. package/dist/IkSideText/iking-web-ui-pro.css +1 -1
  46. package/dist/IkStatu/ik.index.es.js +47 -38
  47. package/dist/IkStatu/ik.index.umd.js +1 -1
  48. package/dist/IkStatu/iking-web-ui-pro.css +1 -1
  49. package/dist/IkStatuOver/ik.index.es.js +114 -106
  50. package/dist/IkStatuOver/ik.index.umd.js +1 -1
  51. package/dist/IkStatuOver/iking-web-ui-pro.css +1 -1
  52. package/dist/IkSvgIcon/ik.index.es.js +169 -148
  53. package/dist/IkSvgIcon/ik.index.umd.js +1 -1
  54. package/dist/IkSvgIcon/iking-web-ui-pro.css +1 -1
  55. package/dist/IkTaskResume/ik.index.es.js +23 -0
  56. package/dist/IkTaskResume/ik.index.umd.js +1 -0
  57. package/dist/IkUploadFile/ik.index.es.js +993 -972
  58. package/dist/IkUploadFile/ik.index.umd.js +47 -47
  59. package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
  60. package/dist/IkUploadImage/ik.index.es.js +522 -522
  61. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  62. package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
  63. package/dist/IkVerticalStepBar/ik.index.es.js +234 -213
  64. package/dist/IkVerticalStepBar/ik.index.umd.js +3 -3
  65. package/dist/IkVerticalStepBar/iking-web-ui-pro.css +1 -1
  66. package/dist/iking-web-ui-pro.css +2 -2
  67. package/dist/index.es.js +14080 -14047
  68. package/dist/index.umd.js +86 -86
  69. package/dist/src/components/IkMonacoEditor/index.d.ts +12 -2
  70. package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +12 -2
  71. package/dist/src/components/IkStatu/index.d.ts +3 -3
  72. package/dist/src/components/IkStatu/src/index.vue.d.ts +3 -3
  73. package/dist/src/components/IkSvgIcon/index.d.ts +12 -2
  74. package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +12 -2
  75. package/dist/src/components/IkTaskResume/index.d.ts +2 -0
  76. package/dist/src/components/IkTaskResume/src/index.vue.d.ts +2 -0
  77. package/dist/src/components/index.d.ts +1 -0
  78. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { defineComponent as te, computed as Z, openBlock as k, createElementBlock as b, createElementVNode as w, inject as ft, ref as ve, resolveComponent as Xe, Fragment as re, createCommentVNode as P, renderList as xe, normalizeStyle as se, toDisplayString as K, unref as I, normalizeClass as Y, createBlock as ue, withModifiers as Ge, renderSlot as He, createVNode as W, withCtx as ne, mergeModels as Tt, useModel as pi, reactive as In, watch as ot, nextTick as gt, createTextVNode as Ke, h as dr, mergeProps as Pn, createSlots as gr, getCurrentScope as pr, onScopeDispose as vr, markRaw as Ni, effectScope as mr, shallowRef as yr, onMounted as An, Teleport as Ln, Transition as Dn, resolveDynamicComponent as _r, withDirectives as kr, vShow as Cr } from "vue";
1
+ import { defineComponent as ee, computed as Z, openBlock as k, createElementBlock as b, createElementVNode as w, inject as ft, ref as ve, Fragment as re, createCommentVNode as P, renderList as xe, normalizeStyle as se, toDisplayString as K, unref as I, normalizeClass as Y, createBlock as ue, withModifiers as Ge, renderSlot as He, createVNode as $, mergeModels as Tt, useModel as pi, reactive as In, watch as at, nextTick as gt, withCtx as ne, resolveComponent as ot, createTextVNode as Ke, h as dr, mergeProps as Pn, createSlots as gr, getCurrentScope as pr, onScopeDispose as vr, markRaw as Ni, effectScope as mr, shallowRef as yr, onMounted as An, Teleport as Ln, Transition as Dn, resolveDynamicComponent as _r, withDirectives as kr, vShow as Cr } from "vue";
2
2
  import { paramType as oi, ikFile as wr, buildUUID as On, ikColor as br, _ as jt, ikDate as Tr } from "iking-utils-pro";
3
- import { useLocale as Er, useNamespace as Rn, useZIndex as Sr, ElIcon as Re, EVENT_CODE as Qe } from "element-plus";
3
+ import { useLocale as Er, useNamespace as Rn, useZIndex as Sr, ElIcon as Re, EVENT_CODE as Je } from "element-plus";
4
4
  const Le = (o, a) => (o.install = (r) => {
5
5
  for (const t of [o, ...Object.values({})])
6
6
  r.component(t.name, t);
@@ -237,7 +237,7 @@ const Le = (o, a) => (o.install = (r) => {
237
237
  "p-id": "7515",
238
238
  width: "200",
239
239
  height: "200"
240
- }, zr = /* @__PURE__ */ te({
240
+ }, zr = /* @__PURE__ */ ee({
241
241
  __name: "IkFileIcon",
242
242
  props: {
243
243
  type: {
@@ -619,7 +619,7 @@ const Le = (o, a) => (o.install = (r) => {
619
619
  }
620
620
  }), Hi = Le(zr);
621
621
  /*! Element Plus Icons Vue v2.3.1 */
622
- var Vr = /* @__PURE__ */ te({
622
+ var Vr = /* @__PURE__ */ ee({
623
623
  name: "ArrowLeft",
624
624
  __name: "arrow-left",
625
625
  setup(o) {
@@ -633,7 +633,7 @@ var Vr = /* @__PURE__ */ te({
633
633
  })
634
634
  ]));
635
635
  }
636
- }), jr = Vr, Wr = /* @__PURE__ */ te({
636
+ }), jr = Vr, Wr = /* @__PURE__ */ ee({
637
637
  name: "ArrowRight",
638
638
  __name: "arrow-right",
639
639
  setup(o) {
@@ -647,7 +647,7 @@ var Vr = /* @__PURE__ */ te({
647
647
  })
648
648
  ]));
649
649
  }
650
- }), Gr = Wr, $r = /* @__PURE__ */ te({
650
+ }), Gr = Wr, $r = /* @__PURE__ */ ee({
651
651
  name: "Close",
652
652
  __name: "close",
653
653
  setup(o) {
@@ -661,7 +661,7 @@ var Vr = /* @__PURE__ */ te({
661
661
  })
662
662
  ]));
663
663
  }
664
- }), Fn = $r, Kr = /* @__PURE__ */ te({
664
+ }), Fn = $r, Kr = /* @__PURE__ */ ee({
665
665
  name: "FullScreen",
666
666
  __name: "full-screen",
667
667
  setup(o) {
@@ -675,7 +675,7 @@ var Vr = /* @__PURE__ */ te({
675
675
  })
676
676
  ]));
677
677
  }
678
- }), Yr = Kr, Xr = /* @__PURE__ */ te({
678
+ }), Yr = Kr, Xr = /* @__PURE__ */ ee({
679
679
  name: "RefreshLeft",
680
680
  __name: "refresh-left",
681
681
  setup(o) {
@@ -689,7 +689,7 @@ var Vr = /* @__PURE__ */ te({
689
689
  })
690
690
  ]));
691
691
  }
692
- }), qr = Xr, Zr = /* @__PURE__ */ te({
692
+ }), qr = Xr, Zr = /* @__PURE__ */ ee({
693
693
  name: "RefreshRight",
694
694
  __name: "refresh-right",
695
695
  setup(o) {
@@ -703,7 +703,7 @@ var Vr = /* @__PURE__ */ te({
703
703
  })
704
704
  ]));
705
705
  }
706
- }), Jr = Zr, Qr = /* @__PURE__ */ te({
706
+ }), Jr = Zr, Qr = /* @__PURE__ */ ee({
707
707
  name: "ScaleToOriginal",
708
708
  __name: "scale-to-original",
709
709
  setup(o) {
@@ -717,7 +717,7 @@ var Vr = /* @__PURE__ */ te({
717
717
  })
718
718
  ]));
719
719
  }
720
- }), es = Qr, ts = /* @__PURE__ */ te({
720
+ }), es = Qr, ts = /* @__PURE__ */ ee({
721
721
  name: "ZoomIn",
722
722
  __name: "zoom-in",
723
723
  setup(o) {
@@ -731,7 +731,7 @@ var Vr = /* @__PURE__ */ te({
731
731
  })
732
732
  ]));
733
733
  }
734
- }), is = ts, ns = /* @__PURE__ */ te({
734
+ }), is = ts, ns = /* @__PURE__ */ ee({
735
735
  name: "ZoomOut",
736
736
  __name: "zoom-out",
737
737
  setup(o) {
@@ -940,7 +940,7 @@ const Ft = (o, a) => {
940
940
  key: 0,
941
941
  class: "size",
942
942
  style: { "padding-right": "20px" }
943
- }, vs = ["onClick"], ms = { class: "text" }, ys = { class: "fileName" }, _s = { class: "size" }, ks = /* @__PURE__ */ te({
943
+ }, vs = ["onClick"], ms = { class: "text" }, ys = { class: "fileName" }, _s = { class: "size" }, ks = /* @__PURE__ */ ee({
944
944
  __name: "IkPreviewFile",
945
945
  props: {
946
946
  list: {
@@ -1071,13 +1071,12 @@ const Ft = (o, a) => {
1071
1071
  };
1072
1072
  }));
1073
1073
  return (v, m) => {
1074
- var T, E, B;
1075
- const C = Xe("tmplate");
1074
+ var C, T, E;
1076
1075
  return k(), b(
1077
1076
  re,
1078
1077
  null,
1079
1078
  [
1080
- (T = o.list) != null && T.length ? (k(), b(
1079
+ (C = o.list) != null && C.length ? (k(), b(
1081
1080
  re,
1082
1081
  { key: 0 },
1083
1082
  [
@@ -1085,10 +1084,10 @@ const Ft = (o, a) => {
1085
1084
  t.value === "simple" ? (k(!0), b(
1086
1085
  re,
1087
1086
  { key: 0 },
1088
- xe(d.value, (x, H) => (k(), b("div", {
1087
+ xe(d.value, (x, O) => (k(), b("div", {
1089
1088
  class: "iking-privew-annex simple",
1090
- key: H,
1091
- onClick: (O) => f(x),
1089
+ key: O,
1090
+ onClick: (H) => f(x),
1092
1091
  style: se({ width: p.value })
1093
1092
  }, [
1094
1093
  w("div", ls, [
@@ -1116,17 +1115,17 @@ const Ft = (o, a) => {
1116
1115
  o.showDownloadBtn ? (k(), ue(I(Be), {
1117
1116
  key: 0,
1118
1117
  name: "iksvg_daochu",
1119
- onClick: Ge((O) => g(x), ["stop"]),
1118
+ onClick: Ge((H) => g(x), ["stop"]),
1120
1119
  size: 20
1121
1120
  }, null, 8, ["onClick"])) : P("v-if", !0),
1122
1121
  I(n).includes(x.suffix) && o.showPreviewBtn ? (k(), ue(I(Be), {
1123
1122
  key: 1,
1124
1123
  name: "iksvg_yulan",
1125
1124
  size: 20,
1126
- onClick: Ge((O) => f(x), ["stop"])
1125
+ onClick: Ge((H) => f(x), ["stop"])
1127
1126
  }, null, 8, ["onClick"])) : P("v-if", !0),
1128
1127
  He(v.$slots, "operation", {
1129
- data: { ...x, findex: H }
1128
+ data: { ...x, findex: O }
1130
1129
  })
1131
1130
  ],
1132
1131
  2
@@ -1143,14 +1142,14 @@ const Ft = (o, a) => {
1143
1142
  (k(!0), b(
1144
1143
  re,
1145
1144
  null,
1146
- xe(d.value, (x, H) => (k(), b("div", {
1145
+ xe(d.value, (x, O) => (k(), b("div", {
1147
1146
  class: "iking-privew-annex simple-icon",
1148
- key: H,
1149
- onClick: (O) => f(x),
1147
+ key: O,
1148
+ onClick: (H) => f(x),
1150
1149
  style: se({ width: p.value })
1151
1150
  }, [
1152
1151
  w("div", hs, [
1153
- W(I(Hi), {
1152
+ $(I(Hi), {
1154
1153
  file: x,
1155
1154
  style: se({ height: `${o.iconSize}px`, marginRight: "10px" }),
1156
1155
  class: "ikui-w-auto",
@@ -1178,13 +1177,13 @@ const Ft = (o, a) => {
1178
1177
  name: "iksvg_daochu",
1179
1178
  size: 20,
1180
1179
  title: "下载",
1181
- onClick: Ge((O) => g(x), ["stop"])
1180
+ onClick: Ge((H) => g(x), ["stop"])
1182
1181
  }, null, 8, ["onClick"])) : P("v-if", !0),
1183
1182
  I(n).includes(x.suffix) && o.showPreviewBtn ? (k(), ue(I(Be), {
1184
1183
  key: 1,
1185
1184
  name: "iksvg_yulan",
1186
1185
  size: 20,
1187
- onClick: Ge((O) => f(x), ["stop"])
1186
+ onClick: Ge((H) => f(x), ["stop"])
1188
1187
  }, null, 8, ["onClick"])) : P("v-if", !0)
1189
1188
  ], 12, fs))),
1190
1189
  128
@@ -1198,108 +1197,102 @@ const Ft = (o, a) => {
1198
1197
  { key: 2 },
1199
1198
  [
1200
1199
  P(" 默认模式 "),
1201
- W(C, null, {
1202
- default: ne(() => [
1203
- (k(!0), b(
1204
- re,
1205
- null,
1206
- xe(d.value, (x, H) => {
1207
- var O;
1208
- return k(), b(
1209
- "div",
1210
- {
1211
- class: Y(["iking-privew-annex", { "is-bg": o.showBg }]),
1212
- key: H,
1213
- style: se({
1214
- marginBottom: H == ((O = o.list) == null ? void 0 : O.length) - 1 ? "0" : "10px",
1215
- width: p.value
1216
- })
1217
- },
1218
- [
1219
- w("div", {
1220
- class: "file-card",
1221
- onClick: (J) => f(x)
1222
- }, [
1223
- W(I(Hi), {
1224
- file: x,
1225
- style: se({ height: `${o.iconSize}px` }),
1226
- class: "ikui-w-auto",
1227
- fields: l.value
1228
- }, null, 8, ["file", "style", "fields"]),
1229
- w("div", ms, [
1230
- w(
1231
- "div",
1232
- ys,
1233
- K(x.name),
1234
- 1
1235
- /* TEXT */
1236
- ),
1237
- w(
1238
- "div",
1239
- _s,
1240
- K(I(Wt)(x.size)),
1241
- 1
1242
- /* TEXT */
1243
- )
1244
- ]),
1245
- w(
1246
- "div",
1247
- {
1248
- class: Y(["flex flex-center", { "hover-show": o.iconHoverShow }])
1249
- },
1250
- [
1251
- o.showDownloadBtn ? (k(), ue(I(Be), {
1252
- key: 0,
1253
- name: "iksvg_daochu",
1254
- onClick: Ge((J) => g(x), ["stop"]),
1255
- bg: o.showBg,
1256
- size: o.showBg ? "default" : 20,
1257
- title: "下载"
1258
- }, null, 8, ["onClick", "bg", "size"])) : P("v-if", !0),
1259
- I(n).includes(x.suffix) && o.showPreviewBtn ? (k(), ue(I(Be), {
1260
- key: 1,
1261
- name: "iksvg_yulan",
1262
- bg: o.showBg,
1263
- size: o.showBg ? "default" : 20,
1264
- title: "预览",
1265
- onClick: Ge((J) => f(x), ["stop"])
1266
- }, null, 8, ["bg", "size", "onClick"])) : P("v-if", !0),
1267
- He(v.$slots, "operation", {
1268
- data: { ...x, findex: H }
1269
- })
1270
- ],
1271
- 2
1272
- /* CLASS */
1273
- )
1274
- ], 8, vs)
1275
- ],
1276
- 6
1277
- /* CLASS, STYLE */
1278
- );
1279
- }),
1280
- 128
1281
- /* KEYED_FRAGMENT */
1282
- ))
1283
- ]),
1284
- _: 3
1285
- /* FORWARDED */
1286
- })
1200
+ (k(!0), b(
1201
+ re,
1202
+ null,
1203
+ xe(d.value, (x, O) => {
1204
+ var H;
1205
+ return k(), b(
1206
+ "div",
1207
+ {
1208
+ class: Y(["iking-privew-annex", { "is-bg": o.showBg }]),
1209
+ key: O,
1210
+ style: se({
1211
+ marginBottom: O == ((H = o.list) == null ? void 0 : H.length) - 1 ? "0" : "10px",
1212
+ width: p.value
1213
+ })
1214
+ },
1215
+ [
1216
+ w("div", {
1217
+ class: "file-card",
1218
+ onClick: (R) => f(x)
1219
+ }, [
1220
+ $(I(Hi), {
1221
+ file: x,
1222
+ style: se({ height: `${o.iconSize}px` }),
1223
+ class: "ikui-w-auto",
1224
+ fields: l.value
1225
+ }, null, 8, ["file", "style", "fields"]),
1226
+ w("div", ms, [
1227
+ w(
1228
+ "div",
1229
+ ys,
1230
+ K(x.name),
1231
+ 1
1232
+ /* TEXT */
1233
+ ),
1234
+ w(
1235
+ "div",
1236
+ _s,
1237
+ K(I(Wt)(x.size)),
1238
+ 1
1239
+ /* TEXT */
1240
+ )
1241
+ ]),
1242
+ w(
1243
+ "div",
1244
+ {
1245
+ class: Y(["flex flex-center", { "hover-show": o.iconHoverShow }])
1246
+ },
1247
+ [
1248
+ o.showDownloadBtn ? (k(), ue(I(Be), {
1249
+ key: 0,
1250
+ name: "iksvg_daochu",
1251
+ onClick: Ge((R) => g(x), ["stop"]),
1252
+ bg: o.showBg,
1253
+ size: o.showBg ? "default" : 20,
1254
+ title: "下载"
1255
+ }, null, 8, ["onClick", "bg", "size"])) : P("v-if", !0),
1256
+ I(n).includes(x.suffix) && o.showPreviewBtn ? (k(), ue(I(Be), {
1257
+ key: 1,
1258
+ name: "iksvg_yulan",
1259
+ bg: o.showBg,
1260
+ size: o.showBg ? "default" : 20,
1261
+ title: "预览",
1262
+ onClick: Ge((R) => f(x), ["stop"])
1263
+ }, null, 8, ["bg", "size", "onClick"])) : P("v-if", !0),
1264
+ He(v.$slots, "operation", {
1265
+ data: { ...x, findex: O }
1266
+ })
1267
+ ],
1268
+ 2
1269
+ /* CLASS */
1270
+ )
1271
+ ], 8, vs)
1272
+ ],
1273
+ 6
1274
+ /* CLASS, STYLE */
1275
+ );
1276
+ }),
1277
+ 128
1278
+ /* KEYED_FRAGMENT */
1279
+ ))
1287
1280
  ],
1288
- 2112
1289
- /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1281
+ 64
1282
+ /* STABLE_FRAGMENT */
1290
1283
  ))
1291
1284
  ],
1292
1285
  64
1293
1286
  /* STABLE_FRAGMENT */
1294
1287
  )) : P("v-if", !0),
1295
- W(I(bs), {
1288
+ $(I(bs), {
1296
1289
  show: c.value,
1297
1290
  "onUpdate:show": m[0] || (m[0] = (x) => c.value = x),
1298
1291
  loadUrl: I(e),
1299
1292
  file: u.value,
1300
- onlyofficeServer: ((E = I(i)) == null ? void 0 : E.serverUrl) || o.onlyofficeServer,
1293
+ onlyofficeServer: ((T = I(i)) == null ? void 0 : T.serverUrl) || o.onlyofficeServer,
1301
1294
  onlyOfficeConfig: I(i),
1302
- onlyOfficeAccept: ((B = I(i)) == null ? void 0 : B.accept) || o.onlyOfficeAccept
1295
+ onlyOfficeAccept: ((E = I(i)) == null ? void 0 : E.accept) || o.onlyOfficeAccept
1303
1296
  }, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig", "onlyOfficeAccept"])
1304
1297
  ],
1305
1298
  64
@@ -1307,7 +1300,7 @@ const Ft = (o, a) => {
1307
1300
  );
1308
1301
  };
1309
1302
  }
1310
- }), Cs = Le(ks), ws = /* @__PURE__ */ te({
1303
+ }), Cs = Le(ks), ws = /* @__PURE__ */ ee({
1311
1304
  __name: "IkPreviewFileDialog",
1312
1305
  props: /* @__PURE__ */ Tt({
1313
1306
  file: {
@@ -1357,7 +1350,7 @@ const Ft = (o, a) => {
1357
1350
  }), s = (u) => {
1358
1351
  var c, f, g, p, d, v, m;
1359
1352
  try {
1360
- const C = ((c = u == null ? void 0 : u.response) == null ? void 0 : c.data) || u, T = C[t.value.url] || (C == null ? void 0 : C.id) || C.attachmentId, E = (f = C[t.value.suffix] || C.attachmentSuffix) == null ? void 0 : f.toLowerCase(), B = C[t.value.name] || (C == null ? void 0 : C.attachmentName) || (C == null ? void 0 : C.originName);
1353
+ const C = ((c = u == null ? void 0 : u.response) == null ? void 0 : c.data) || u, T = C[t.value.url] || (C == null ? void 0 : C.id) || C.attachmentId, E = (f = C[t.value.suffix] || C.attachmentSuffix) == null ? void 0 : f.toLowerCase(), x = C[t.value.name] || (C == null ? void 0 : C.attachmentName) || (C == null ? void 0 : C.originName);
1361
1354
  if (i.value = {
1362
1355
  ...u,
1363
1356
  name: u[t.value.name],
@@ -1382,7 +1375,7 @@ const Ft = (o, a) => {
1382
1375
  },
1383
1376
  document: {
1384
1377
  key: On(),
1385
- title: B,
1378
+ title: x,
1386
1379
  url: lt(a.loadUrl, T),
1387
1380
  fileType: E,
1388
1381
  ...((m = a.onlyOfficeConfig) == null ? void 0 : m.document) || {}
@@ -1396,7 +1389,7 @@ const Ft = (o, a) => {
1396
1389
  console.info("预览错误: ", C);
1397
1390
  }
1398
1391
  };
1399
- ot([r, a.file], ([u, c]) => {
1392
+ at([r, a.file], ([u, c]) => {
1400
1393
  u && gt(() => {
1401
1394
  s(a.file);
1402
1395
  });
@@ -1410,7 +1403,7 @@ const Ft = (o, a) => {
1410
1403
  re,
1411
1404
  { key: 0 },
1412
1405
  [
1413
- (f = i.value) != null && f.url && n.image ? (k(), ue(I(aa), {
1406
+ (f = i.value) != null && f.url && n.image ? (k(), ue(I(sa), {
1414
1407
  key: 0,
1415
1408
  onClose: c[0] || (c[0] = (d) => l()),
1416
1409
  ref: "previewImgRef",
@@ -1420,12 +1413,12 @@ const Ft = (o, a) => {
1420
1413
  }, null, 8, ["url-list"])) : P("v-if", !0),
1421
1414
  P(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1422
1415
  P(" 文档类 "),
1423
- W(I(wl), {
1416
+ $(I(Cl), {
1424
1417
  modelValue: n.video,
1425
1418
  "onUpdate:modelValue": c[1] || (c[1] = (d) => n.video = d),
1426
1419
  url: (p = i.value) == null ? void 0 : p.url
1427
1420
  }, null, 8, ["modelValue", "url"]),
1428
- W(I(Ns), {
1421
+ $(I(Ms), {
1429
1422
  modelValue: n.office,
1430
1423
  "onUpdate:modelValue": c[2] || (c[2] = (d) => n.office = d),
1431
1424
  draggable: "",
@@ -1443,7 +1436,7 @@ const Ft = (o, a) => {
1443
1436
  default: ne(() => {
1444
1437
  var d;
1445
1438
  return [
1446
- W(I(Ws), {
1439
+ $(I(js), {
1447
1440
  "config-options": e.value,
1448
1441
  "document-server-url": ((d = o.onlyOfficeConfig) == null ? void 0 : d.serverUrl) || o.onlyofficeServer
1449
1442
  }, null, 8, ["config-options", "document-server-url"])
@@ -1459,17 +1452,14 @@ const Ft = (o, a) => {
1459
1452
  };
1460
1453
  }
1461
1454
  }), bs = Le(ws), Ts = {
1462
- key: 0,
1463
- class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
1464
- }, Es = {
1465
1455
  key: 1,
1466
1456
  class: "h-[1em] w-[1em]",
1467
1457
  "aria-hidden": "true"
1468
- }, Ss = ["xlink:href"], xs = ["src"], Is = {
1458
+ }, Es = ["xlink:href"], Ss = ["src"], xs = {
1469
1459
  key: 1,
1470
1460
  class: "h-[1em] w-[1em]",
1471
1461
  "aria-hidden": "true"
1472
- }, Ps = ["xlink:href"], As = ["src"], Ls = /* @__PURE__ */ te({
1462
+ }, Is = ["xlink:href"], Ps = ["src"], As = /* @__PURE__ */ ee({
1473
1463
  name: "IkSvgIcon",
1474
1464
  __name: "index",
1475
1465
  props: {
@@ -1495,162 +1485,186 @@ const Ft = (o, a) => {
1495
1485
  warning: { type: Boolean },
1496
1486
  width: {}
1497
1487
  },
1498
- setup(o) {
1499
- const a = o, r = Z(() => a), t = Z(() => {
1500
- const { name: i } = r.value;
1501
- 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";
1502
- }), e = Z(() => {
1503
- const i = [];
1504
- if (r.value.flip)
1505
- switch (r.value.flip) {
1488
+ emits: ["click", "mouseenter", "mouseleave", "dblclick"],
1489
+ setup(o, { emit: a }) {
1490
+ const r = o, t = Z(() => r), e = Z(() => {
1491
+ const { name: f } = t.value;
1492
+ return /^http?:\/\//.test(f) ? "img" : /i-[^:]+:[^:]+/.test(f) ? "unocss" : f != null && f.startsWith("iksig") ? "iksig" : f != null && f.includes(":") ? "iconify" : f != null && f.startsWith("iksvg") ? "svg" : "i";
1493
+ }), i = Z(() => {
1494
+ const f = [];
1495
+ if (t.value.flip)
1496
+ switch (t.value.flip) {
1506
1497
  case "horizontal":
1507
- i.push("rotateY(180deg)");
1498
+ f.push("rotateY(180deg)");
1508
1499
  break;
1509
1500
  case "vertical":
1510
- i.push("rotateX(180deg)");
1501
+ f.push("rotateX(180deg)");
1511
1502
  break;
1512
1503
  case "both":
1513
- i.push("rotateX(180deg)"), i.push("rotateY(180deg)");
1504
+ f.push("rotateX(180deg)"), f.push("rotateY(180deg)");
1514
1505
  break;
1515
1506
  }
1516
- r.value.rotate && i.push(`rotate(${r.value.rotate % 360}deg)`);
1517
- const n = {
1518
- pointerEvents: r.value.disabled ? "none" : "auto",
1519
- ...r.value.color && { color: r.value.color },
1520
- ...r.value.size && { fontSize: typeof r.value.size == "number" ? `${r.value.size}px` : r.value.size },
1521
- ...i.length && { transform: i.join(" ") },
1522
- padding: r.value.showBg || r.value.bg ? r.value.padding : 0,
1523
- ...r.value.color && t.value !== "iksig" ? {
1524
- "--ik-icon-deep-color": r.value.color,
1525
- "--ik-icon-shallow-color": r.value.colorLight || br.setOpacity(r.value.color, r.value.opacity)
1507
+ t.value.rotate && f.push(`rotate(${t.value.rotate % 360}deg)`);
1508
+ const g = {
1509
+ pointerEvents: t.value.disabled ? "none" : "auto",
1510
+ ...t.value.color && { color: t.value.color },
1511
+ ...t.value.size && { fontSize: typeof t.value.size == "number" ? `${t.value.size}px` : t.value.size },
1512
+ ...f.length && { transform: f.join(" ") },
1513
+ padding: t.value.showBg || t.value.bg ? t.value.padding : 0,
1514
+ ...t.value.color && e.value !== "iksig" ? {
1515
+ "--ik-icon-deep-color": t.value.color,
1516
+ "--ik-icon-shallow-color": t.value.colorLight || br.setOpacity(t.value.color, t.value.opacity)
1526
1517
  } : {}
1527
1518
  };
1528
- return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
1529
- });
1530
- return (i, n) => {
1531
- const s = Xe("el-tooltip"), l = Xe("el-button");
1532
- return r.value.tableIconType === "icon" || !r.value.tableIconType ? (k(), b("span", Ts, [
1533
- r.value.notip || !r.value.title ? (k(), b(
1534
- "i",
1535
- {
1536
- key: 0,
1537
- class: Y(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1538
- [i.name]: t.value === "unocss",
1539
- "show-bg": r.value.showBg || r.value.bg,
1540
- default: r.value.size === "default",
1541
- small: r.value.size === "small",
1542
- big: r.value.size === "big",
1543
- warning: r.value.warning || r.value.type === "warning",
1544
- primary: r.value.primary || r.value.type === "primary",
1545
- success: i.success || r.value.type === "success",
1546
- error: r.value.error || r.value.type === "error",
1547
- active: r.value.active,
1548
- disabled: r.value.disabled
1549
- }]),
1550
- style: se(e.value)
1551
- },
1552
- [
1553
- P(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1554
- t.value === "iksig" ? (k(), b(
1555
- "i",
1556
- {
1557
- key: 0,
1558
- class: Y(`iksig ${r.value.name}`),
1559
- style: se(e.value)
1560
- },
1561
- null,
1562
- 6
1563
- /* CLASS, STYLE */
1564
- )) : t.value === "svg" ? (k(), b("svg", Es, [
1565
- w("use", {
1566
- "xlink:href": `#${r.value.name}`
1567
- }, null, 8, Ss)
1568
- ])) : t.value === "img" ? (k(), b("img", {
1569
- key: 2,
1570
- src: r.value.name,
1571
- class: "h-[1em] w-[1em]"
1572
- }, null, 8, xs)) : (k(), b(
1573
- "i",
1574
- {
1575
- key: 3,
1576
- class: Y(r.value.name),
1577
- style: se(e.value)
1578
- },
1579
- null,
1580
- 6
1581
- /* CLASS, STYLE */
1582
- ))
1583
- ],
1584
- 6
1585
- /* CLASS, STYLE */
1586
- )) : (k(), ue(s, {
1587
- key: 1,
1588
- content: r.value.title,
1589
- placement: "top"
1590
- }, {
1591
- default: ne(() => [
1592
- w(
1593
- "i",
1594
- {
1595
- class: Y(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1596
- [i.name]: t.value === "unocss",
1597
- "show-bg": r.value.showBg || r.value.bg,
1598
- default: r.value.size === "default",
1599
- small: r.value.size === "small",
1600
- big: r.value.size === "big",
1601
- warning: r.value.warning || r.value.type === "warning",
1602
- primary: i.primary || r.value.type === "primary",
1603
- success: i.success || r.value.type === "success",
1604
- error: r.value.error || r.value.type === "error",
1605
- active: r.value.active
1606
- }]),
1607
- style: se(e.value)
1608
- },
1609
- [
1610
- t.value === "iksig" ? (k(), b(
1611
- "i",
1612
- {
1613
- key: 0,
1614
- class: Y(`iksig ${r.value.name}`),
1615
- style: se(e.value)
1616
- },
1617
- null,
1618
- 6
1619
- /* CLASS, STYLE */
1620
- )) : t.value === "svg" ? (k(), b("svg", Is, [
1621
- w("use", {
1622
- "xlink:href": `#${r.value.name}`
1623
- }, null, 8, Ps)
1624
- ])) : t.value === "img" ? (k(), b("img", {
1625
- key: 2,
1626
- src: r.value.name,
1627
- class: "h-[1em] w-[1em]"
1628
- }, null, 8, As)) : (k(), b(
1629
- "i",
1630
- {
1631
- key: 3,
1632
- class: Y(r.value.name),
1633
- style: se(e.value)
1634
- },
1635
- null,
1636
- 6
1637
- /* CLASS, STYLE */
1638
- ))
1639
- ],
1640
- 6
1641
- /* CLASS, STYLE */
1642
- )
1643
- ]),
1644
- _: 1
1645
- /* STABLE */
1646
- }, 8, ["content"]))
1647
- ])) : (k(), ue(l, {
1519
+ return t.value.width && (g.width = g.height = typeof t.value.width == "number" ? `${t.value.width}px` : t.value.width), g;
1520
+ }), n = a, s = (f) => {
1521
+ n("click", f);
1522
+ }, l = (f) => {
1523
+ n("mouseenter", f);
1524
+ }, u = (f) => {
1525
+ n("mouseleave", f);
1526
+ }, c = (f) => {
1527
+ n("dblclick", f);
1528
+ };
1529
+ return (f, g) => {
1530
+ const p = ot("el-tooltip"), d = ot("el-button");
1531
+ return t.value.tableIconType === "icon" || !t.value.tableIconType ? (k(), b(
1532
+ re,
1533
+ { key: 0 },
1534
+ [
1535
+ t.value.notip || !t.value.title ? (k(), b(
1536
+ "span",
1537
+ {
1538
+ key: 0,
1539
+ class: Y(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1540
+ [f.name]: e.value === "unocss",
1541
+ "show-bg": t.value.showBg || t.value.bg,
1542
+ default: t.value.size === "default",
1543
+ small: t.value.size === "small",
1544
+ big: t.value.size === "big",
1545
+ warning: t.value.warning || t.value.type === "warning",
1546
+ primary: t.value.primary || t.value.type === "primary",
1547
+ success: f.success || t.value.type === "success",
1548
+ error: t.value.error || t.value.type === "error",
1549
+ active: t.value.active,
1550
+ disabled: t.value.disabled
1551
+ }]),
1552
+ style: se(i.value),
1553
+ onClick: s,
1554
+ onDblclick: c,
1555
+ onMouseenter: l,
1556
+ onMouseleave: u
1557
+ },
1558
+ [
1559
+ P(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1560
+ e.value === "iksig" ? (k(), b(
1561
+ "i",
1562
+ {
1563
+ key: 0,
1564
+ class: Y(`iksig ${t.value.name}`),
1565
+ style: se(i.value)
1566
+ },
1567
+ null,
1568
+ 6
1569
+ /* CLASS, STYLE */
1570
+ )) : e.value === "svg" ? (k(), b("svg", Ts, [
1571
+ w("use", {
1572
+ "xlink:href": `#${t.value.name}`
1573
+ }, null, 8, Es)
1574
+ ])) : e.value === "img" ? (k(), b("img", {
1575
+ key: 2,
1576
+ src: t.value.name,
1577
+ class: "h-[1em] w-[1em]"
1578
+ }, null, 8, Ss)) : (k(), b(
1579
+ "i",
1580
+ {
1581
+ key: 3,
1582
+ class: Y(t.value.name),
1583
+ style: se(i.value)
1584
+ },
1585
+ null,
1586
+ 6
1587
+ /* CLASS, STYLE */
1588
+ ))
1589
+ ],
1590
+ 38
1591
+ /* CLASS, STYLE, NEED_HYDRATION */
1592
+ )) : (k(), ue(p, {
1593
+ key: 1,
1594
+ content: t.value.title,
1595
+ placement: "top",
1596
+ "hide-after": 0
1597
+ }, {
1598
+ default: ne(() => [
1599
+ w(
1600
+ "span",
1601
+ {
1602
+ class: Y(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1603
+ [f.name]: e.value === "unocss",
1604
+ "show-bg": t.value.showBg || t.value.bg,
1605
+ default: t.value.size === "default",
1606
+ small: t.value.size === "small",
1607
+ big: t.value.size === "big",
1608
+ warning: t.value.warning || t.value.type === "warning",
1609
+ primary: f.primary || t.value.type === "primary",
1610
+ success: f.success || t.value.type === "success",
1611
+ error: t.value.error || t.value.type === "error",
1612
+ active: t.value.active
1613
+ }]),
1614
+ style: se(i.value),
1615
+ onClick: s,
1616
+ onDblclick: c,
1617
+ onMouseenter: l,
1618
+ onMouseleave: u
1619
+ },
1620
+ [
1621
+ e.value === "iksig" ? (k(), b(
1622
+ "i",
1623
+ {
1624
+ key: 0,
1625
+ class: Y(`iksig ${t.value.name}`),
1626
+ style: se(i.value)
1627
+ },
1628
+ null,
1629
+ 6
1630
+ /* CLASS, STYLE */
1631
+ )) : e.value === "svg" ? (k(), b("svg", xs, [
1632
+ w("use", {
1633
+ "xlink:href": `#${t.value.name}`
1634
+ }, null, 8, Is)
1635
+ ])) : e.value === "img" ? (k(), b("img", {
1636
+ key: 2,
1637
+ src: t.value.name,
1638
+ class: "h-[1em] w-[1em]"
1639
+ }, null, 8, Ps)) : (k(), b(
1640
+ "i",
1641
+ {
1642
+ key: 3,
1643
+ class: Y(t.value.name),
1644
+ style: se(i.value)
1645
+ },
1646
+ null,
1647
+ 6
1648
+ /* CLASS, STYLE */
1649
+ ))
1650
+ ],
1651
+ 38
1652
+ /* CLASS, STYLE, NEED_HYDRATION */
1653
+ )
1654
+ ]),
1655
+ _: 1
1656
+ /* STABLE */
1657
+ }, 8, ["content"]))
1658
+ ],
1659
+ 64
1660
+ /* STABLE_FRAGMENT */
1661
+ )) : (k(), ue(d, {
1648
1662
  key: 1,
1649
- type: ["warning", "error"].includes(r.value.type) ? "danger" : ""
1663
+ type: ["warning", "error"].includes(t.value.type) ? "danger" : ""
1650
1664
  }, {
1651
1665
  default: ne(() => [
1652
1666
  Ke(
1653
- K(r.value.title),
1667
+ K(t.value.title),
1654
1668
  1
1655
1669
  /* TEXT */
1656
1670
  )
@@ -1660,11 +1674,11 @@ const Ft = (o, a) => {
1660
1674
  }, 8, ["type"]));
1661
1675
  };
1662
1676
  }
1663
- }), Ds = /* @__PURE__ */ Ft(Ls, [["__scopeId", "data-v-bd4bda5f"]]), Be = Le(Ds);
1677
+ }), Ls = /* @__PURE__ */ Ft(As, [["__scopeId", "data-v-c7804024"]]), Be = Le(Ls);
1664
1678
  function mi(o) {
1665
1679
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
1666
1680
  }
1667
- const Os = /* @__PURE__ */ te({
1681
+ const Ds = /* @__PURE__ */ ee({
1668
1682
  __name: "CloseIcon",
1669
1683
  props: {
1670
1684
  showBg: {
@@ -1683,7 +1697,7 @@ const Os = /* @__PURE__ */ te({
1683
1697
  class: Y({ "exit-main-page-maximize": o.showBg && o.fullscreen })
1684
1698
  },
1685
1699
  [
1686
- W(I(Be), {
1700
+ $(I(Be), {
1687
1701
  name: "iksvg_guanbidanchuang",
1688
1702
  title: "关闭",
1689
1703
  size: 20,
@@ -1694,7 +1708,7 @@ const Os = /* @__PURE__ */ te({
1694
1708
  /* CLASS */
1695
1709
  ));
1696
1710
  }
1697
- }), Rs = /* @__PURE__ */ Ft(Os, [["__scopeId", "data-v-ddb34200"]]), Fs = { class: "base-header" }, Ms = /* @__PURE__ */ te({
1711
+ }), Os = /* @__PURE__ */ Ft(Ds, [["__scopeId", "data-v-ddb34200"]]), Rs = { class: "base-header" }, Fs = /* @__PURE__ */ ee({
1698
1712
  __name: "IkBaseDialog",
1699
1713
  props: /* @__PURE__ */ Tt({
1700
1714
  title: { default: "" },
@@ -1717,16 +1731,16 @@ const Os = /* @__PURE__ */ te({
1717
1731
  setup(o) {
1718
1732
  const a = o, r = pi(o, "modelValue"), t = ve(a.fullscreen), e = () => {
1719
1733
  t.value = !t.value;
1720
- }, i = te({
1734
+ }, i = ee({
1721
1735
  setup() {
1722
- return () => dr(Rs, {
1736
+ return () => dr(Os, {
1723
1737
  showBg: a.showCloseBg,
1724
1738
  fullscreen: a.fullscreen
1725
1739
  });
1726
1740
  }
1727
1741
  });
1728
1742
  return (n, s) => {
1729
- const l = Xe("el-dialog");
1743
+ const l = ot("el-dialog");
1730
1744
  return k(), ue(l, Pn({
1731
1745
  modelValue: r.value,
1732
1746
  "onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u),
@@ -1747,7 +1761,7 @@ const Os = /* @__PURE__ */ te({
1747
1761
  ])
1748
1762
  ]),
1749
1763
  header: ne(() => [
1750
- w("div", Fs, [
1764
+ w("div", Rs, [
1751
1765
  He(n.$slots, "header", {}, () => [
1752
1766
  Ke(
1753
1767
  K(n.title),
@@ -1780,8 +1794,8 @@ const Os = /* @__PURE__ */ te({
1780
1794
  ]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
1781
1795
  };
1782
1796
  }
1783
- }), Ns = Le(Ms);
1784
- function Bs(o, a, r, t) {
1797
+ }), Ms = Le(Fs);
1798
+ function Ns(o, a, r, t) {
1785
1799
  function e(i) {
1786
1800
  return i instanceof r ? i : new r(function(n) {
1787
1801
  n(i);
@@ -1808,7 +1822,7 @@ function Bs(o, a, r, t) {
1808
1822
  u((t = t.apply(o, [])).next());
1809
1823
  });
1810
1824
  }
1811
- function Hs(o, a) {
1825
+ function Bs(o, a) {
1812
1826
  var r = { label: 0, sent: function() {
1813
1827
  if (i[0] & 1) throw i[1];
1814
1828
  return i[1];
@@ -1868,9 +1882,9 @@ function Hs(o, a) {
1868
1882
  return { value: u[0] ? u[1] : void 0, done: !0 };
1869
1883
  }
1870
1884
  }
1871
- var Us = function(o, a) {
1872
- return Bs(void 0, void 0, void 0, function() {
1873
- return Hs(this, function(r) {
1885
+ var Hs = function(o, a) {
1886
+ return Ns(void 0, void 0, void 0, function() {
1887
+ return Bs(this, function(r) {
1874
1888
  return [2, new Promise(function(t, e) {
1875
1889
  try {
1876
1890
  if (window.DocsAPI)
@@ -1903,7 +1917,7 @@ var Us = function(o, a) {
1903
1917
  }, e.onerror = function(i) {
1904
1918
  e.removeAttribute("loading"), t(i);
1905
1919
  }, e.setAttribute("loading", ""), e;
1906
- }, yi = te({
1920
+ }, yi = ee({
1907
1921
  name: "DocumentEditor",
1908
1922
  props: {
1909
1923
  id: {
@@ -1958,7 +1972,7 @@ var Us = function(o, a) {
1958
1972
  var o = this, a = this.documentServerUrl;
1959
1973
  a.endsWith("/") || (a += "/");
1960
1974
  var r = "".concat(a, "web-apps/apps/api/documents/api.js");
1961
- Us(r, "onlyoffice-api-script").then(function() {
1975
+ Hs(r, "onlyoffice-api-script").then(function() {
1962
1976
  return o.onLoad();
1963
1977
  }).catch(function() {
1964
1978
  o.onError(-2);
@@ -2072,13 +2086,13 @@ var Us = function(o, a) {
2072
2086
  }
2073
2087
  }
2074
2088
  });
2075
- const zs = ["id"];
2076
- function Vs(o, a, r, t, e, i) {
2077
- return k(), b("div", { id: o.id }, null, 8, zs);
2089
+ const Us = ["id"];
2090
+ function zs(o, a, r, t, e, i) {
2091
+ return k(), b("div", { id: o.id }, null, 8, Us);
2078
2092
  }
2079
- yi.render = Vs;
2093
+ yi.render = zs;
2080
2094
  yi.__file = "src/components/DocumentEditor.vue";
2081
- const js = /* @__PURE__ */ te({
2095
+ const Vs = /* @__PURE__ */ ee({
2082
2096
  __name: "IkOnlyOffice",
2083
2097
  props: {
2084
2098
  // 文件服务器的服务的地址
@@ -2113,7 +2127,7 @@ const js = /* @__PURE__ */ te({
2113
2127
  style: se({ height: a.officeHeight })
2114
2128
  },
2115
2129
  [
2116
- W(I(yi), {
2130
+ $(I(yi), {
2117
2131
  id: `${(/* @__PURE__ */ new Date()).getTime()}`,
2118
2132
  ref: "editorRef",
2119
2133
  "document-server-url": o.documentServerUrl,
@@ -2125,39 +2139,39 @@ const js = /* @__PURE__ */ te({
2125
2139
  /* STYLE */
2126
2140
  ));
2127
2141
  }
2128
- }), Ws = Le(js);
2142
+ }), js = Le(Vs);
2129
2143
  var Vi;
2130
- const Mn = typeof window < "u", Gs = (o) => typeof o == "string", $s = () => {
2144
+ const Mn = typeof window < "u", Ws = (o) => typeof o == "string", Gs = () => {
2131
2145
  };
2132
2146
  Mn && ((Vi = window == null ? void 0 : window.navigator) != null && Vi.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
2133
2147
  function Nn(o) {
2134
2148
  return typeof o == "function" ? o() : I(o);
2135
2149
  }
2136
- function Ks(o) {
2150
+ function $s(o) {
2137
2151
  return o;
2138
2152
  }
2139
- function Ys(o) {
2153
+ function Ks(o) {
2140
2154
  return pr() ? (vr(o), !0) : !1;
2141
2155
  }
2142
- function Xs(o) {
2156
+ function Ys(o) {
2143
2157
  var a;
2144
2158
  const r = Nn(o);
2145
2159
  return (a = r == null ? void 0 : r.$el) != null ? a : r;
2146
2160
  }
2147
- const qs = Mn ? window : void 0;
2161
+ const Xs = Mn ? window : void 0;
2148
2162
  function yt(...o) {
2149
2163
  let a, r, t, e;
2150
- if (Gs(o[0]) || Array.isArray(o[0]) ? ([r, t, e] = o, a = qs) : [a, r, t, e] = o, !a)
2151
- return $s;
2164
+ if (Ws(o[0]) || Array.isArray(o[0]) ? ([r, t, e] = o, a = Xs) : [a, r, t, e] = o, !a)
2165
+ return Gs;
2152
2166
  Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
2153
2167
  const i = [], n = () => {
2154
2168
  i.forEach((c) => c()), i.length = 0;
2155
- }, s = (c, f, g, p) => (c.addEventListener(f, g, p), () => c.removeEventListener(f, g, p)), l = ot(() => [Xs(a), Nn(e)], ([c, f]) => {
2169
+ }, s = (c, f, g, p) => (c.addEventListener(f, g, p), () => c.removeEventListener(f, g, p)), l = at(() => [Ys(a), Nn(e)], ([c, f]) => {
2156
2170
  n(), c && i.push(...r.flatMap((g) => t.map((p) => s(c, g, p, f))));
2157
2171
  }, { immediate: !0, flush: "post" }), u = () => {
2158
2172
  l(), n();
2159
2173
  };
2160
- return Ys(u), u;
2174
+ return Ks(u), u;
2161
2175
  }
2162
2176
  const ji = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Wi = "__vueuse_ssr_handlers__";
2163
2177
  ji[Wi] = ji[Wi] || {};
@@ -2165,15 +2179,15 @@ var Gi;
2165
2179
  (function(o) {
2166
2180
  o.UP = "UP", o.RIGHT = "RIGHT", o.DOWN = "DOWN", o.LEFT = "LEFT", o.NONE = "NONE";
2167
2181
  })(Gi || (Gi = {}));
2168
- var Zs = Object.defineProperty, $i = Object.getOwnPropertySymbols, Js = Object.prototype.hasOwnProperty, Qs = Object.prototype.propertyIsEnumerable, Ki = (o, a, r) => a in o ? Zs(o, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[a] = r, ea = (o, a) => {
2182
+ var qs = Object.defineProperty, $i = Object.getOwnPropertySymbols, Zs = Object.prototype.hasOwnProperty, Js = Object.prototype.propertyIsEnumerable, Ki = (o, a, r) => a in o ? qs(o, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[a] = r, Qs = (o, a) => {
2169
2183
  for (var r in a)
2170
- Js.call(a, r) && Ki(o, r, a[r]);
2184
+ Zs.call(a, r) && Ki(o, r, a[r]);
2171
2185
  if ($i)
2172
2186
  for (var r of $i(a))
2173
- Qs.call(a, r) && Ki(o, r, a[r]);
2187
+ Js.call(a, r) && Ki(o, r, a[r]);
2174
2188
  return o;
2175
2189
  };
2176
- const ta = {
2190
+ const ea = {
2177
2191
  easeInSine: [0.12, 0, 0.39, 0],
2178
2192
  easeOutSine: [0.61, 1, 0.88, 1],
2179
2193
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -2199,10 +2213,10 @@ const ta = {
2199
2213
  easeOutBack: [0.34, 1.56, 0.64, 1],
2200
2214
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
2201
2215
  };
2202
- ea({
2203
- linear: Ks
2204
- }, ta);
2205
- const ia = {
2216
+ Qs({
2217
+ linear: $s
2218
+ }, ea);
2219
+ const ta = {
2206
2220
  /**
2207
2221
  * @description preview link list.
2208
2222
  */
@@ -2272,15 +2286,15 @@ const ia = {
2272
2286
  crossorigin: {
2273
2287
  type: ["anonymous", "use-credentials", ""]
2274
2288
  }
2275
- }, na = {
2289
+ }, ia = {
2276
2290
  close: () => !0,
2277
2291
  switch: (o) => oi.isNumber(o),
2278
2292
  rotate: (o) => oi.isNumber(o)
2279
- }, ra = ["src", "crossorigin"], sa = /* @__PURE__ */ te({
2293
+ }, na = ["src", "crossorigin"], ra = /* @__PURE__ */ ee({
2280
2294
  name: "ElImageViewer",
2281
2295
  __name: "IkImageViewer",
2282
- props: ia,
2283
- emits: na,
2296
+ props: ta,
2297
+ emits: ia,
2284
2298
  setup(o, { expose: a, emit: r }) {
2285
2299
  const t = (U) => Object.keys(U), e = {
2286
2300
  CONTAIN: {
@@ -2300,21 +2314,21 @@ const ia = {
2300
2314
  }), C = ve(i.zIndex ?? u()), T = Z(() => {
2301
2315
  const { urlList: U } = i;
2302
2316
  return U.length <= 1;
2303
- }), E = Z(() => d.value === 0), B = Z(() => d.value === i.urlList.length - 1), x = Z(() => i.urlList[d.value]), H = Z(() => [
2317
+ }), E = Z(() => d.value === 0), x = Z(() => d.value === i.urlList.length - 1), O = Z(() => i.urlList[d.value]), H = Z(() => [
2304
2318
  l.e("btn"),
2305
2319
  l.e("prev"),
2306
2320
  l.is("disabled", !i.infinite && E.value)
2307
- ]), O = Z(() => [
2321
+ ]), R = Z(() => [
2308
2322
  l.e("btn"),
2309
2323
  l.e("next"),
2310
- l.is("disabled", !i.infinite && B.value)
2311
- ]), J = Z(() => {
2312
- const { scale: U, deg: $, offsetX: Q, offsetY: me, enableTransition: ke } = m.value;
2313
- let Ce = Q / U, Oe = me / U;
2314
- const ct = $ * Math.PI / 180, Fi = Math.cos(ct), Mi = Math.sin(ct);
2315
- Ce = Ce * Fi + Oe * Mi, Oe = Oe * Fi - Q / U * Mi;
2324
+ l.is("disabled", !i.infinite && x.value)
2325
+ ]), te = Z(() => {
2326
+ const { scale: U, deg: G, offsetX: J, offsetY: me, enableTransition: ke } = m.value;
2327
+ let Ce = J / U, Oe = me / U;
2328
+ const ct = G * Math.PI / 180, Fi = Math.cos(ct), Mi = Math.sin(ct);
2329
+ Ce = Ce * Fi + Oe * Mi, Oe = Oe * Fi - J / U * Mi;
2316
2330
  const Vt = {
2317
- transform: `scale(${U}) rotate(${$}deg) translate(${Ce}px, ${Oe}px)`,
2331
+ transform: `scale(${U}) rotate(${G}deg) translate(${Ce}px, ${Oe}px)`,
2318
2332
  transition: ke ? "transform .3s" : ""
2319
2333
  };
2320
2334
  return v.value.name === e.CONTAIN.name && (Vt.maxWidth = Vt.maxHeight = "100%"), Vt;
@@ -2323,42 +2337,42 @@ const ia = {
2323
2337
  ie(), n("close");
2324
2338
  }
2325
2339
  function A() {
2326
- const U = jt.throttle((Q) => {
2327
- switch (Q.code) {
2340
+ const U = jt.throttle((J) => {
2341
+ switch (J.code) {
2328
2342
  // ESC
2329
- case Qe.esc:
2343
+ case Je.esc:
2330
2344
  i.closeOnPressEscape && q();
2331
2345
  break;
2332
2346
  // SPACE
2333
- case Qe.space:
2347
+ case Je.space:
2334
2348
  Di();
2335
2349
  break;
2336
2350
  // LEFT_ARROW
2337
- case Qe.left:
2351
+ case Je.left:
2338
2352
  Oi();
2339
2353
  break;
2340
2354
  // UP_ARROW
2341
- case Qe.up:
2355
+ case Je.up:
2342
2356
  je("zoomIn");
2343
2357
  break;
2344
2358
  // RIGHT_ARROW
2345
- case Qe.right:
2359
+ case Je.right:
2346
2360
  Ri();
2347
2361
  break;
2348
2362
  // DOWN_ARROW
2349
- case Qe.down:
2363
+ case Je.down:
2350
2364
  je("zoomOut");
2351
2365
  break;
2352
2366
  }
2353
- }), $ = jt.throttle((Q) => {
2354
- const me = Q.deltaY || Q.deltaX;
2367
+ }), G = jt.throttle((J) => {
2368
+ const me = J.deltaY || J.deltaX;
2355
2369
  je(me < 0 ? "zoomIn" : "zoomOut", {
2356
2370
  zoomRate: i.zoomRate,
2357
2371
  enableTransition: !1
2358
2372
  });
2359
2373
  });
2360
2374
  g.run(() => {
2361
- yt(document, "keydown", U), yt(document, "wheel", $);
2375
+ yt(document, "keydown", U), yt(document, "wheel", G);
2362
2376
  });
2363
2377
  }
2364
2378
  function ie() {
@@ -2373,11 +2387,11 @@ const ia = {
2373
2387
  function Ee(U) {
2374
2388
  if (p.value || U.button !== 0 || !c.value) return;
2375
2389
  m.value.enableTransition = !1;
2376
- const { offsetX: $, offsetY: Q } = m.value, me = U.pageX, ke = U.pageY, Ce = jt.throttle((ct) => {
2390
+ const { offsetX: G, offsetY: J } = m.value, me = U.pageX, ke = U.pageY, Ce = jt.throttle((ct) => {
2377
2391
  m.value = {
2378
2392
  ...m.value,
2379
- offsetX: $ + ct.pageX - me,
2380
- offsetY: Q + ct.pageY - ke
2393
+ offsetX: G + ct.pageX - me,
2394
+ offsetY: J + ct.pageY - ke
2381
2395
  };
2382
2396
  }), Oe = yt(document, "mousemove", Ce);
2383
2397
  yt(document, "mouseup", () => {
@@ -2395,30 +2409,30 @@ const ia = {
2395
2409
  }
2396
2410
  function Di() {
2397
2411
  if (p.value) return;
2398
- const U = t(e), $ = Object.values(e), Q = v.value.name, ke = (($ == null ? void 0 : $.findIndex((Ce) => Ce.name === Q)) + 1) % U.length;
2412
+ const U = t(e), G = Object.values(e), J = v.value.name, ke = ((G == null ? void 0 : G.findIndex((Ce) => Ce.name === J)) + 1) % U.length;
2399
2413
  v.value = e[U[ke]], Li();
2400
2414
  }
2401
2415
  function zt(U) {
2402
- const $ = i.urlList.length;
2403
- d.value = (U + $) % $;
2416
+ const G = i.urlList.length;
2417
+ d.value = (U + G) % G;
2404
2418
  }
2405
2419
  function Oi() {
2406
2420
  E.value && !i.infinite || zt(d.value - 1);
2407
2421
  }
2408
2422
  function Ri() {
2409
- B.value && !i.infinite || zt(d.value + 1);
2423
+ x.value && !i.infinite || zt(d.value + 1);
2410
2424
  }
2411
- function je(U, $ = {}) {
2425
+ function je(U, G = {}) {
2412
2426
  if (p.value) return;
2413
- const { minScale: Q, maxScale: me } = i, { zoomRate: ke, rotateDeg: Ce, enableTransition: Oe } = {
2427
+ const { minScale: J, maxScale: me } = i, { zoomRate: ke, rotateDeg: Ce, enableTransition: Oe } = {
2414
2428
  zoomRate: i.zoomRate,
2415
2429
  rotateDeg: 90,
2416
2430
  enableTransition: !0,
2417
- ...$
2431
+ ...G
2418
2432
  };
2419
2433
  switch (U) {
2420
2434
  case "zoomOut":
2421
- m.value.scale > Q && (m.value.scale = Number.parseFloat(
2435
+ m.value.scale > J && (m.value.scale = Number.parseFloat(
2422
2436
  (m.value.scale / ke).toFixed(3)
2423
2437
  ));
2424
2438
  break;
@@ -2436,23 +2450,23 @@ const ia = {
2436
2450
  }
2437
2451
  m.value.enableTransition = Oe;
2438
2452
  }
2439
- return ot(x, () => {
2453
+ return at(O, () => {
2440
2454
  gt(() => {
2441
2455
  const U = f.value[0];
2442
2456
  U != null && U.complete || (p.value = !0);
2443
2457
  });
2444
- }), ot(d, (U) => {
2458
+ }), at(d, (U) => {
2445
2459
  Li(), n("switch", U);
2446
2460
  }), An(() => {
2447
- var U, $;
2448
- A(), ($ = (U = c.value) == null ? void 0 : U.focus) == null || $.call(U);
2461
+ var U, G;
2462
+ A(), (G = (U = c.value) == null ? void 0 : U.focus) == null || G.call(U);
2449
2463
  }), a({
2450
2464
  /**
2451
2465
  * @description manually switch image
2452
2466
  */
2453
2467
  setActiveItem: zt
2454
- }), (U, $) => (k(), ue(Ln, { to: "body" }, [
2455
- W(Dn, {
2468
+ }), (U, G) => (k(), ue(Ln, { to: "body" }, [
2469
+ $(Dn, {
2456
2470
  name: "viewer-fade",
2457
2471
  appear: ""
2458
2472
  }, {
@@ -2471,7 +2485,7 @@ const ia = {
2471
2485
  "div",
2472
2486
  {
2473
2487
  class: Y(I(l).e("mask")),
2474
- onClick: $[0] || ($[0] = Ge((Q) => U.hideOnClickModal && q(), ["self"]))
2488
+ onClick: G[0] || (G[0] = Ge((J) => U.hideOnClickModal && q(), ["self"]))
2475
2489
  },
2476
2490
  null,
2477
2491
  2
@@ -2485,9 +2499,9 @@ const ia = {
2485
2499
  onClick: q
2486
2500
  },
2487
2501
  [
2488
- W(I(Re), null, {
2502
+ $(I(Re), null, {
2489
2503
  default: ne(() => [
2490
- W(I(Fn))
2504
+ $(I(Fn))
2491
2505
  ]),
2492
2506
  _: 1
2493
2507
  /* STABLE */
@@ -2508,9 +2522,9 @@ const ia = {
2508
2522
  onClick: Oi
2509
2523
  },
2510
2524
  [
2511
- W(I(Re), null, {
2525
+ $(I(Re), null, {
2512
2526
  default: ne(() => [
2513
- W(I(jr))
2527
+ $(I(jr))
2514
2528
  ]),
2515
2529
  _: 1
2516
2530
  /* STABLE */
@@ -2522,13 +2536,13 @@ const ia = {
2522
2536
  w(
2523
2537
  "span",
2524
2538
  {
2525
- class: Y(O.value),
2539
+ class: Y(R.value),
2526
2540
  onClick: Ri
2527
2541
  },
2528
2542
  [
2529
- W(I(Re), null, {
2543
+ $(I(Re), null, {
2530
2544
  default: ne(() => [
2531
- W(I(Gr))
2545
+ $(I(Gr))
2532
2546
  ]),
2533
2547
  _: 1
2534
2548
  /* STABLE */
@@ -2554,20 +2568,20 @@ const ia = {
2554
2568
  class: Y(I(l).e("actions__inner"))
2555
2569
  },
2556
2570
  [
2557
- W(I(Re), {
2558
- onClick: $[1] || ($[1] = (Q) => je("zoomOut"))
2571
+ $(I(Re), {
2572
+ onClick: G[1] || (G[1] = (J) => je("zoomOut"))
2559
2573
  }, {
2560
2574
  default: ne(() => [
2561
- W(I(rs))
2575
+ $(I(rs))
2562
2576
  ]),
2563
2577
  _: 1
2564
2578
  /* STABLE */
2565
2579
  }),
2566
- W(I(Re), {
2567
- onClick: $[2] || ($[2] = (Q) => je("zoomIn"))
2580
+ $(I(Re), {
2581
+ onClick: G[2] || (G[2] = (J) => je("zoomIn"))
2568
2582
  }, {
2569
2583
  default: ne(() => [
2570
- W(I(is))
2584
+ $(I(is))
2571
2585
  ]),
2572
2586
  _: 1
2573
2587
  /* STABLE */
@@ -2581,7 +2595,7 @@ const ia = {
2581
2595
  2
2582
2596
  /* CLASS */
2583
2597
  ),
2584
- W(I(Re), { onClick: Di }, {
2598
+ $(I(Re), { onClick: Di }, {
2585
2599
  default: ne(() => [
2586
2600
  (k(), ue(_r(v.value.icon)))
2587
2601
  ]),
@@ -2597,20 +2611,20 @@ const ia = {
2597
2611
  2
2598
2612
  /* CLASS */
2599
2613
  ),
2600
- W(I(Re), {
2601
- onClick: $[3] || ($[3] = (Q) => je("anticlockwise"))
2614
+ $(I(Re), {
2615
+ onClick: G[3] || (G[3] = (J) => je("anticlockwise"))
2602
2616
  }, {
2603
2617
  default: ne(() => [
2604
- W(I(qr))
2618
+ $(I(qr))
2605
2619
  ]),
2606
2620
  _: 1
2607
2621
  /* STABLE */
2608
2622
  }),
2609
- W(I(Re), {
2610
- onClick: $[4] || ($[4] = (Q) => je("clockwise"))
2623
+ $(I(Re), {
2624
+ onClick: G[4] || (G[4] = (J) => je("clockwise"))
2611
2625
  }, {
2612
2626
  default: ne(() => [
2613
- W(I(Jr))
2627
+ $(I(Jr))
2614
2628
  ]),
2615
2629
  _: 1
2616
2630
  /* STABLE */
@@ -2633,18 +2647,18 @@ const ia = {
2633
2647
  (k(!0), b(
2634
2648
  re,
2635
2649
  null,
2636
- xe(U.urlList, (Q, me) => kr((k(), b("img", {
2650
+ xe(U.urlList, (J, me) => kr((k(), b("img", {
2637
2651
  ref_for: !0,
2638
2652
  ref: (ke) => f.value[me] = ke,
2639
- key: Q,
2640
- src: Q,
2641
- style: se(J.value),
2653
+ key: J,
2654
+ src: J,
2655
+ style: se(te.value),
2642
2656
  class: Y(I(l).e("img")),
2643
2657
  crossorigin: U.crossorigin,
2644
2658
  onLoad: oe,
2645
2659
  onError: he,
2646
2660
  onMousedown: Ee
2647
- }, null, 46, ra)), [
2661
+ }, null, 46, na)), [
2648
2662
  [Cr, me === d.value]
2649
2663
  ])),
2650
2664
  128
@@ -2665,7 +2679,7 @@ const ia = {
2665
2679
  })
2666
2680
  ]));
2667
2681
  }
2668
- }), aa = Le(sa);
2682
+ }), sa = Le(ra);
2669
2683
  function Yi(o, a) {
2670
2684
  var r = Object.keys(o);
2671
2685
  if (Object.getOwnPropertySymbols) {
@@ -2676,7 +2690,7 @@ function Yi(o, a) {
2676
2690
  }
2677
2691
  return r;
2678
2692
  }
2679
- function ee(o) {
2693
+ function Q(o) {
2680
2694
  for (var a = 1; a < arguments.length; a++) {
2681
2695
  var r = arguments[a] != null ? arguments[a] : {};
2682
2696
  a % 2 ? Yi(Object(r), !0).forEach(function(t) {
@@ -2718,7 +2732,7 @@ function _(o, a, r) {
2718
2732
  writable: !0
2719
2733
  }) : o[a] = r, o;
2720
2734
  }
2721
- function R(o, a) {
2735
+ function F(o, a) {
2722
2736
  if (typeof a != "function" && a !== null)
2723
2737
  throw new TypeError("Super expression must either be null or a function");
2724
2738
  o.prototype = Object.create(a && a.prototype, {
@@ -2731,17 +2745,17 @@ function R(o, a) {
2731
2745
  writable: !1
2732
2746
  }), a && ui(o, a);
2733
2747
  }
2734
- function M(o) {
2735
- return M = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
2748
+ function N(o) {
2749
+ return N = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
2736
2750
  return r.__proto__ || Object.getPrototypeOf(r);
2737
- }, M(o);
2751
+ }, N(o);
2738
2752
  }
2739
2753
  function ui(o, a) {
2740
2754
  return ui = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
2741
2755
  return t.__proto__ = e, t;
2742
2756
  }, ui(o, a);
2743
2757
  }
2744
- function oa() {
2758
+ function aa() {
2745
2759
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2746
2760
  return !1;
2747
2761
  if (typeof Proxy == "function")
@@ -2765,44 +2779,44 @@ function _i(o, a) {
2765
2779
  throw new TypeError("Derived constructors may only return object or undefined");
2766
2780
  return y(o);
2767
2781
  }
2768
- function F(o) {
2769
- var a = oa();
2782
+ function M(o) {
2783
+ var a = aa();
2770
2784
  return function() {
2771
- var t = M(o), e;
2785
+ var t = N(o), e;
2772
2786
  if (a) {
2773
- var i = M(this).constructor;
2787
+ var i = N(this).constructor;
2774
2788
  e = Reflect.construct(t, arguments, i);
2775
2789
  } else
2776
2790
  e = t.apply(this, arguments);
2777
2791
  return _i(this, e);
2778
2792
  };
2779
2793
  }
2780
- function la(o, a) {
2781
- for (; !Object.prototype.hasOwnProperty.call(o, a) && (o = M(o), o !== null); )
2794
+ function oa(o, a) {
2795
+ for (; !Object.prototype.hasOwnProperty.call(o, a) && (o = N(o), o !== null); )
2782
2796
  ;
2783
2797
  return o;
2784
2798
  }
2785
- function N() {
2786
- return typeof Reflect < "u" && Reflect.get ? N = Reflect.get.bind() : N = function(a, r, t) {
2787
- var e = la(a, r);
2799
+ function B() {
2800
+ return typeof Reflect < "u" && Reflect.get ? B = Reflect.get.bind() : B = function(a, r, t) {
2801
+ var e = oa(a, r);
2788
2802
  if (e) {
2789
2803
  var i = Object.getOwnPropertyDescriptor(e, r);
2790
2804
  return i.get ? i.get.call(arguments.length < 3 ? a : t) : i.value;
2791
2805
  }
2792
- }, N.apply(this, arguments);
2806
+ }, B.apply(this, arguments);
2793
2807
  }
2794
2808
  function ye(o) {
2795
- return ua(o) || ca(o) || fa(o) || ha();
2809
+ return la(o) || ua(o) || ca(o) || fa();
2796
2810
  }
2797
- function ua(o) {
2811
+ function la(o) {
2798
2812
  if (Array.isArray(o))
2799
2813
  return ci(o);
2800
2814
  }
2801
- function ca(o) {
2815
+ function ua(o) {
2802
2816
  if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null)
2803
2817
  return Array.from(o);
2804
2818
  }
2805
- function fa(o, a) {
2819
+ function ca(o, a) {
2806
2820
  if (o) {
2807
2821
  if (typeof o == "string")
2808
2822
  return ci(o, a);
@@ -2819,11 +2833,11 @@ function ci(o, a) {
2819
2833
  t[r] = o[r];
2820
2834
  return t;
2821
2835
  }
2822
- function ha() {
2836
+ function fa() {
2823
2837
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2824
2838
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2825
2839
  }
2826
- function da(o, a) {
2840
+ function ha(o, a) {
2827
2841
  if (typeof o != "object" || o === null)
2828
2842
  return o;
2829
2843
  var r = o[Symbol.toPrimitive];
@@ -2836,11 +2850,11 @@ function da(o, a) {
2836
2850
  return (a === "string" ? String : Number)(o);
2837
2851
  }
2838
2852
  function Bn(o) {
2839
- var a = da(o, "string");
2853
+ var a = ha(o, "string");
2840
2854
  return typeof a == "symbol" ? a : String(a);
2841
2855
  }
2842
2856
  var Gt = { exports: {} }, qi;
2843
- function ga() {
2857
+ function da() {
2844
2858
  return qi || (qi = 1, function(o) {
2845
2859
  var a = Object.prototype.hasOwnProperty, r = "~";
2846
2860
  function t() {
@@ -2900,8 +2914,8 @@ function ga() {
2900
2914
  T[E - 1] = arguments[E];
2901
2915
  m.fn.apply(m.context, T);
2902
2916
  } else {
2903
- var B = m.length, x;
2904
- for (E = 0; E < B; E++)
2917
+ var x = m.length, O;
2918
+ for (E = 0; E < x; E++)
2905
2919
  switch (m[E].once && this.removeListener(u, m[E].fn, void 0, !0), C) {
2906
2920
  case 1:
2907
2921
  m[E].fn.call(m[E].context);
@@ -2916,8 +2930,8 @@ function ga() {
2916
2930
  m[E].fn.call(m[E].context, c, f, g);
2917
2931
  break;
2918
2932
  default:
2919
- if (!T) for (x = 1, T = new Array(C - 1); x < C; x++)
2920
- T[x - 1] = arguments[x];
2933
+ if (!T) for (O = 1, T = new Array(C - 1); O < C; O++)
2934
+ T[O - 1] = arguments[O];
2921
2935
  m[E].fn.apply(m[E].context, T);
2922
2936
  }
2923
2937
  }
@@ -2946,15 +2960,15 @@ function ga() {
2946
2960
  }, s.prototype.off = s.prototype.removeListener, s.prototype.addListener = s.prototype.on, s.prefixed = r, s.EventEmitter = s, o.exports = s;
2947
2961
  }(Gt)), Gt.exports;
2948
2962
  }
2949
- var Hn = ga();
2963
+ var Hn = da();
2950
2964
  const Un = /* @__PURE__ */ mi(Hn);
2951
- var pa = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, $t = {
2965
+ var ga = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, $t = {
2952
2966
  info: "color: #525252; background-color: #90ee90;",
2953
2967
  error: "color: #525252; background-color: red;",
2954
2968
  warn: "color: #525252; background-color: yellow; "
2955
2969
  }, Kt = "%c[xgplayer]", V = {
2956
2970
  config: {
2957
- debug: pa ? 3 : 0
2971
+ debug: ga ? 3 : 0
2958
2972
  },
2959
2973
  logInfo: function(a) {
2960
2974
  for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
@@ -2975,10 +2989,10 @@ var pa = typeof window < "u" && window.location && window.location.href.indexOf(
2975
2989
  }
2976
2990
  }
2977
2991
  };
2978
- function va(o) {
2992
+ function pa(o) {
2979
2993
  o.logInfo = V.logInfo.bind(o), o.logWarn = V.logWarn.bind(o), o.logError = V.logError.bind(o);
2980
2994
  }
2981
- var ma = /* @__PURE__ */ function() {
2995
+ var va = /* @__PURE__ */ function() {
2982
2996
  function o(a) {
2983
2997
  L(this, o), this.bufferedList = a;
2984
2998
  }
@@ -3223,7 +3237,7 @@ h.setStyleFromCsstext = function(o, a) {
3223
3237
  o.style[t] = a[t];
3224
3238
  });
3225
3239
  };
3226
- function ya(o, a) {
3240
+ function ma(o, a) {
3227
3241
  for (var r = 0, t = a.length; r < t; r++)
3228
3242
  if (o.indexOf(a[r]) > -1)
3229
3243
  return !0;
@@ -3237,7 +3251,7 @@ h.filterStyleFromText = function(o) {
3237
3251
  return t.map(function(n) {
3238
3252
  if (n) {
3239
3253
  var s = n.split(":");
3240
- s.length > 1 && (ya(s[0], a) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
3254
+ s.length > 1 && (ma(s[0], a) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
3241
3255
  }
3242
3256
  }), o.setAttribute("style", ""), Object.keys(i).map(function(n) {
3243
3257
  o.style[n] = i[n];
@@ -3302,7 +3316,7 @@ h.getBuffered2 = function(o) {
3302
3316
  }
3303
3317
  else
3304
3318
  e = r;
3305
- return new ma(e);
3319
+ return new va(e);
3306
3320
  };
3307
3321
  h.getEventPos = function(o) {
3308
3322
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
@@ -3426,7 +3440,7 @@ function zn(o) {
3426
3440
  var a = ce(o);
3427
3441
  return o !== null && (a === "object" || a === "function");
3428
3442
  }
3429
- function _a(o, a, r) {
3443
+ function ya(o, a, r) {
3430
3444
  var t, e, i, n, s, l, u = 0, c = !1, f = !1, g = !0, p = !a && a !== 0 && typeof window.requestAnimationFrame == "function";
3431
3445
  if (typeof o != "function")
3432
3446
  throw new TypeError("Expected a function");
@@ -3444,7 +3458,7 @@ function _a(o, a, r) {
3444
3458
  clearTimeout(A);
3445
3459
  }
3446
3460
  function C(A) {
3447
- return u = A, s = v(B, a), c ? d(A) : n;
3461
+ return u = A, s = v(x, a), c ? d(A) : n;
3448
3462
  }
3449
3463
  function T(A) {
3450
3464
  var ie = A - l, oe = A - u, he = a - ie;
@@ -3454,22 +3468,22 @@ function _a(o, a, r) {
3454
3468
  var ie = A - l, oe = A - u;
3455
3469
  return l === void 0 || ie >= a || ie < 0 || f && oe >= i;
3456
3470
  }
3457
- function B() {
3471
+ function x() {
3458
3472
  var A = Date.now();
3459
3473
  if (E(A))
3460
- return x(A);
3461
- s = v(B, T(A));
3474
+ return O(A);
3475
+ s = v(x, T(A));
3462
3476
  }
3463
- function x(A) {
3477
+ function O(A) {
3464
3478
  return s = void 0, g && t ? d(A) : (t = e = void 0, n);
3465
3479
  }
3466
3480
  function H() {
3467
3481
  s !== void 0 && m(s), u = 0, t = l = e = s = void 0;
3468
3482
  }
3469
- function O() {
3470
- return s === void 0 ? n : x(Date.now());
3483
+ function R() {
3484
+ return s === void 0 ? n : O(Date.now());
3471
3485
  }
3472
- function J() {
3486
+ function te() {
3473
3487
  return s !== void 0;
3474
3488
  }
3475
3489
  function q() {
@@ -3479,27 +3493,27 @@ function _a(o, a, r) {
3479
3493
  if (s === void 0)
3480
3494
  return C(l);
3481
3495
  if (f)
3482
- return s = v(B, a), d(l);
3496
+ return s = v(x, a), d(l);
3483
3497
  }
3484
- return s === void 0 && (s = v(B, a)), n;
3498
+ return s === void 0 && (s = v(x, a)), n;
3485
3499
  }
3486
- return q.cancel = H, q.flush = O, q.pending = J, q;
3500
+ return q.cancel = H, q.flush = R, q.pending = te, q;
3487
3501
  }
3488
- function ka(o, a, r) {
3502
+ function _a(o, a, r) {
3489
3503
  var t = !0, e = !0;
3490
3504
  if (typeof o != "function")
3491
3505
  throw new TypeError("Expected a function");
3492
- return zn(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), _a(o, a, {
3506
+ return zn(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), ya(o, a, {
3493
3507
  leading: t,
3494
3508
  trailing: e,
3495
3509
  maxWait: a
3496
3510
  });
3497
3511
  }
3498
- function Ca() {
3512
+ function ka() {
3499
3513
  var o = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
3500
3514
  return o === "zh-cn" && (o = "zh"), o;
3501
3515
  }
3502
- function wa(o, a, r) {
3516
+ function Ca(o, a, r) {
3503
3517
  if (o) {
3504
3518
  var t = o.getAttribute(r);
3505
3519
  return !!(t && t === a && (o.tagName === "VIDEO" || o.tagName === "AUDIO"));
@@ -3508,7 +3522,7 @@ function wa(o, a, r) {
3508
3522
  var Zi = {
3509
3523
  android: /(Android)\s([\d.]+)/,
3510
3524
  ios: /(Version)\/([\d.]+)/
3511
- }, ba = ["avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "avc1.42E01E", "mp4v.20.8", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], z = {
3525
+ }, wa = ["avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "avc1.42E01E", "mp4v.20.8", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], z = {
3512
3526
  get device() {
3513
3527
  var o = z.os;
3514
3528
  return o.isPc ? "pc" : "mobile";
@@ -3571,7 +3585,7 @@ var Zi = {
3571
3585
  if (this.supportResult)
3572
3586
  return this.supportResult;
3573
3587
  var r = document.createElement("video");
3574
- return typeof r.canPlayType == "function" && ba.map(function(t) {
3588
+ return typeof r.canPlayType == "function" && wa.map(function(t) {
3575
3589
  r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (a.isSupport = !0, a.mime += "||".concat(t));
3576
3590
  }), this.supportResult = a, r = null, a;
3577
3591
  },
@@ -3666,36 +3680,36 @@ var Zi = {
3666
3680
  return v.ex = t ? (t[arguments[0]] || {}).msg : "", v;
3667
3681
  }
3668
3682
  }
3669
- ), pe = "play", ki = "playing", qe = "ended", ut = "pause", vt = "error", Mt = "seeking", Pe = "seeked", ge = "timeupdate", mt = "waiting", Ie = "canplay", Ta = "canplaythrough", De = "durationchange", Vn = "volumechange", Ae = "loadeddata", Ea = "loadedmetadata", jn = "ratechange", Wn = "progress", Ci = "loadstart", Ze = "emptied", Sa = "stalled", xa = "suspend", Ia = "abort", Pa = "bufferedChange", wi = "focus", Gn = "blur", bi = "ready", $n = "urlNull", Ye = "autoplay_started", Ti = "autoplay_was_prevented", Nt = "complete", St = "replay", Ei = "destroy", Bt = "urlchange", hi = "download_speed_change", Kn = "leaveplayer", Yn = "enterplayer", Xn = "loading", Se = "fullscreen_change", xt = "cssFullscreen_change", It = "mini_state_change", Si = "definition_change", Aa = "before_definition_change", di = "after_definition_change", La = "SEI_PARSED", Da = "retry", Ue = "video_resize", gi = "pip_change", qn = "rotate", Zn = "screenShot", Pt = "playnext", Jn = "shortcut", Qn = "xglog", At = "user_action", Ht = "reset", er = "source_error", tr = "source_success", Oa = "switch_subtitle", ir = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], nr = {
3683
+ ), pe = "play", ki = "playing", Xe = "ended", ut = "pause", vt = "error", Mt = "seeking", Pe = "seeked", ge = "timeupdate", mt = "waiting", Ie = "canplay", ba = "canplaythrough", De = "durationchange", Vn = "volumechange", Ae = "loadeddata", Ta = "loadedmetadata", jn = "ratechange", Wn = "progress", Ci = "loadstart", qe = "emptied", Ea = "stalled", Sa = "suspend", xa = "abort", Ia = "bufferedChange", wi = "focus", Gn = "blur", bi = "ready", $n = "urlNull", Ye = "autoplay_started", Ti = "autoplay_was_prevented", Nt = "complete", St = "replay", Ei = "destroy", Bt = "urlchange", hi = "download_speed_change", Kn = "leaveplayer", Yn = "enterplayer", Xn = "loading", Se = "fullscreen_change", xt = "cssFullscreen_change", It = "mini_state_change", Si = "definition_change", Pa = "before_definition_change", di = "after_definition_change", Aa = "SEI_PARSED", La = "retry", Ue = "video_resize", gi = "pip_change", qn = "rotate", Zn = "screenShot", Pt = "playnext", Jn = "shortcut", Qn = "xglog", At = "user_action", Ht = "reset", er = "source_error", tr = "source_success", Da = "switch_subtitle", ir = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], nr = {
3670
3684
  STATS_INFO: "stats_info",
3671
3685
  STATS_DOWNLOAD: "stats_download",
3672
3686
  STATS_RESET: "stats_reset"
3673
3687
  }, rr = "fps_stuck";
3674
- const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3688
+ const Oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3675
3689
  __proto__: null,
3676
- ABORT: Ia,
3690
+ ABORT: xa,
3677
3691
  AFTER_DEFINITION_CHANGE: di,
3678
3692
  AUTOPLAY_PREVENTED: Ti,
3679
3693
  AUTOPLAY_STARTED: Ye,
3680
- BEFORE_DEFINITION_CHANGE: Aa,
3681
- BUFFER_CHANGE: Pa,
3694
+ BEFORE_DEFINITION_CHANGE: Pa,
3695
+ BUFFER_CHANGE: Ia,
3682
3696
  CANPLAY: Ie,
3683
- CANPLAY_THROUGH: Ta,
3697
+ CANPLAY_THROUGH: ba,
3684
3698
  COMPLETE: Nt,
3685
3699
  CSS_FULLSCREEN_CHANGE: xt,
3686
3700
  DEFINITION_CHANGE: Si,
3687
3701
  DESTROY: Ei,
3688
3702
  DOWNLOAD_SPEED_CHANGE: hi,
3689
3703
  DURATION_CHANGE: De,
3690
- EMPTIED: Ze,
3691
- ENDED: qe,
3704
+ EMPTIED: qe,
3705
+ ENDED: Xe,
3692
3706
  ENTER_PLAYER: Yn,
3693
3707
  ERROR: vt,
3694
3708
  FPS_STUCK: rr,
3695
3709
  FULLSCREEN_CHANGE: Se,
3696
3710
  LEAVE_PLAYER: Kn,
3697
3711
  LOADED_DATA: Ae,
3698
- LOADED_METADATA: Ea,
3712
+ LOADED_METADATA: Ta,
3699
3713
  LOADING: Xn,
3700
3714
  LOAD_START: Ci,
3701
3715
  MINI_STATE_CHANGE: It,
@@ -3711,19 +3725,19 @@ const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3711
3725
  READY: bi,
3712
3726
  REPLAY: St,
3713
3727
  RESET: Ht,
3714
- RETRY: Da,
3728
+ RETRY: La,
3715
3729
  ROTATE: qn,
3716
3730
  SCREEN_SHOT: Zn,
3717
3731
  SEEKED: Pe,
3718
3732
  SEEKING: Mt,
3719
- SEI_PARSED: La,
3733
+ SEI_PARSED: Aa,
3720
3734
  SHORTCUT: Jn,
3721
3735
  SOURCE_ERROR: er,
3722
3736
  SOURCE_SUCCESS: tr,
3723
- STALLED: Sa,
3737
+ STALLED: Ea,
3724
3738
  STATS_EVENTS: nr,
3725
- SUSPEND: xa,
3726
- SWITCH_SUBTITLE: Oa,
3739
+ SUSPEND: Sa,
3740
+ SWITCH_SUBTITLE: Da,
3727
3741
  TIME_UPDATE: ge,
3728
3742
  URL_CHANGE: Bt,
3729
3743
  URL_NULL: $n,
@@ -3737,7 +3751,7 @@ const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3737
3751
  function Yt(o, a) {
3738
3752
  !this || !this.emit || (o === "error" ? this.errorHandler(o, a.error) : this.emit(o, a));
3739
3753
  }
3740
- function Fa(o, a) {
3754
+ function Ra(o, a) {
3741
3755
  return function(r, t) {
3742
3756
  var e = {
3743
3757
  player: a,
@@ -3772,9 +3786,9 @@ function Fa(o, a) {
3772
3786
  Yt.call(a, o, e);
3773
3787
  };
3774
3788
  }
3775
- var Ma = /* @__PURE__ */ function(o) {
3776
- R(r, o);
3777
- var a = F(r);
3789
+ var Fa = /* @__PURE__ */ function(o) {
3790
+ F(r, o);
3791
+ var a = M(r);
3778
3792
  function r(t) {
3779
3793
  var e;
3780
3794
  L(this, r), e = a.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({}, {
@@ -3816,7 +3830,7 @@ var Ma = /* @__PURE__ */ function(o) {
3816
3830
  var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
3817
3831
  this._evHandlers || (this._evHandlers = ir.map(function(n) {
3818
3832
  var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
3819
- return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, Fa(n, e));
3833
+ return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, Ra(n, e));
3820
3834
  })), this._evHandlers.forEach(function(n) {
3821
3835
  var s = Object.keys(n)[0];
3822
3836
  i.addEventListener(s, n[s], !1);
@@ -4161,36 +4175,36 @@ var Ma = /* @__PURE__ */ function(o) {
4161
4175
  value: function(e, i) {
4162
4176
  for (var n, s = arguments.length, l = new Array(s > 2 ? s - 2 : 0), u = 2; u < s; u++)
4163
4177
  l[u - 2] = arguments[u];
4164
- (n = N(M(r.prototype), "emit", this)).call.apply(n, [this, e, i].concat(l));
4178
+ (n = B(N(r.prototype), "emit", this)).call.apply(n, [this, e, i].concat(l));
4165
4179
  }
4166
4180
  }, {
4167
4181
  key: "on",
4168
4182
  value: function(e, i) {
4169
4183
  for (var n, s = arguments.length, l = new Array(s > 2 ? s - 2 : 0), u = 2; u < s; u++)
4170
4184
  l[u - 2] = arguments[u];
4171
- (n = N(M(r.prototype), "on", this)).call.apply(n, [this, e, i].concat(l));
4185
+ (n = B(N(r.prototype), "on", this)).call.apply(n, [this, e, i].concat(l));
4172
4186
  }
4173
4187
  }, {
4174
4188
  key: "once",
4175
4189
  value: function(e, i) {
4176
4190
  for (var n, s = arguments.length, l = new Array(s > 2 ? s - 2 : 0), u = 2; u < s; u++)
4177
4191
  l[u - 2] = arguments[u];
4178
- (n = N(M(r.prototype), "once", this)).call.apply(n, [this, e, i].concat(l));
4192
+ (n = B(N(r.prototype), "once", this)).call.apply(n, [this, e, i].concat(l));
4179
4193
  }
4180
4194
  }, {
4181
4195
  key: "off",
4182
4196
  value: function(e, i) {
4183
4197
  for (var n, s = arguments.length, l = new Array(s > 2 ? s - 2 : 0), u = 2; u < s; u++)
4184
4198
  l[u - 2] = arguments[u];
4185
- (n = N(M(r.prototype), "off", this)).call.apply(n, [this, e, i].concat(l));
4199
+ (n = B(N(r.prototype), "off", this)).call.apply(n, [this, e, i].concat(l));
4186
4200
  }
4187
4201
  }, {
4188
4202
  key: "offAll",
4189
4203
  value: function() {
4190
- N(M(r.prototype), "removeAllListeners", this).call(this);
4204
+ B(N(r.prototype), "removeAllListeners", this).call(this);
4191
4205
  }
4192
4206
  }]), r;
4193
- }(Un), Na = /* @__PURE__ */ function() {
4207
+ }(Un), Ma = /* @__PURE__ */ function() {
4194
4208
  function o() {
4195
4209
  var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
4196
4210
  name: "xgplayer",
@@ -4511,7 +4525,7 @@ var ze = /* @__PURE__ */ function() {
4511
4525
  value: function(r, t) {
4512
4526
  var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
4513
4527
  if (this.player) {
4514
- var i = ee(ee({}, e), {}, {
4528
+ var i = Q(Q({}, e), {}, {
4515
4529
  pluginName: this.pluginName
4516
4530
  });
4517
4531
  this.player.emitUserAction(r, t, i);
@@ -4586,7 +4600,7 @@ var ze = /* @__PURE__ */ function() {
4586
4600
  }
4587
4601
  }]), o;
4588
4602
  }(), qt, an;
4589
- function Ba() {
4603
+ function Na() {
4590
4604
  if (an) return qt;
4591
4605
  an = 1;
4592
4606
  var o = 9;
@@ -4604,10 +4618,10 @@ function Ba() {
4604
4618
  return qt = r, qt;
4605
4619
  }
4606
4620
  var Zt, on;
4607
- function Ha() {
4621
+ function Ba() {
4608
4622
  if (on) return Zt;
4609
4623
  on = 1;
4610
- var o = Ba();
4624
+ var o = Na();
4611
4625
  function a(e, i, n, s, l) {
4612
4626
  var u = t.apply(this, arguments);
4613
4627
  return e.addEventListener(n, u, l), {
@@ -4628,9 +4642,9 @@ function Ha() {
4628
4642
  }
4629
4643
  return Zt = r, Zt;
4630
4644
  }
4631
- var Ua = Ha();
4632
- const ln = /* @__PURE__ */ mi(Ua);
4633
- var za = {
4645
+ var Ha = Ba();
4646
+ const ln = /* @__PURE__ */ mi(Ha);
4647
+ var Ua = {
4634
4648
  CONTROLS: "controls",
4635
4649
  ROOT: "root"
4636
4650
  }, X = {
@@ -4650,10 +4664,10 @@ var za = {
4650
4664
  function Jt(o) {
4651
4665
  return o ? o.indexOf && /^(?:http|data:|\/)/.test(o) : !1;
4652
4666
  }
4653
- function Va(o, a) {
4667
+ function za(o, a) {
4654
4668
  return ce(o) === "object" && o.class && typeof o.class == "string" ? "".concat(a, " ").concat(o.class) : a;
4655
4669
  }
4656
- function ja(o, a) {
4670
+ function Va(o, a) {
4657
4671
  return ce(o) === "object" && o.attr && ce(o.attr) === "object" && Object.keys(o.attr).map(function(r) {
4658
4672
  a[r] = o.attr[r];
4659
4673
  }), a;
@@ -4676,14 +4690,14 @@ function cn(o, a) {
4676
4690
  }
4677
4691
  return typeof o == "string" ? h.createDomFromHtml(o, t, r) : (V.logWarn("warn>>icons.".concat(a, " in config of plugin named [").concat(e, "] is invalid")), null);
4678
4692
  }
4679
- function Wa(o, a) {
4693
+ function ja(o, a) {
4680
4694
  var r = a.config.icons || a.playerConfig.icons;
4681
4695
  Object.keys(o).map(function(t) {
4682
4696
  var e = o[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
4683
- r && r[t] && (i = Va(r[t], i), n = ja(r[t], n), s = cn(r[t], t, i, n, a.pluginName)), !s && e && (s = cn(e.icon ? e.icon : e, n, i, {}, a.pluginName)), a.icons[t] = s;
4697
+ r && r[t] && (i = za(r[t], i), n = Va(r[t], n), s = cn(r[t], t, i, n, a.pluginName)), !s && e && (s = cn(e.icon ? e.icon : e, n, i, {}, a.pluginName)), a.icons[t] = s;
4684
4698
  });
4685
4699
  }
4686
- function Ga(o, a) {
4700
+ function Wa(o, a) {
4687
4701
  Object.keys(o).map(function(r) {
4688
4702
  Object.defineProperty(a.langText, r, {
4689
4703
  get: function() {
@@ -4693,9 +4707,9 @@ function Ga(o, a) {
4693
4707
  });
4694
4708
  });
4695
4709
  }
4696
- var G = /* @__PURE__ */ function(o) {
4697
- R(r, o);
4698
- var a = F(r);
4710
+ var W = /* @__PURE__ */ function(o) {
4711
+ F(r, o);
4712
+ var a = M(r);
4699
4713
  function r() {
4700
4714
  var t, e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4701
4715
  return L(this, r), t = a.call(this, e), t.__delegates = [], t;
@@ -4703,13 +4717,13 @@ var G = /* @__PURE__ */ function(o) {
4703
4717
  return D(r, [{
4704
4718
  key: "__init",
4705
4719
  value: function(e) {
4706
- if (N(M(r.prototype), "__init", this).call(this, e), !!e.root) {
4720
+ if (B(N(r.prototype), "__init", this).call(this, e), !!e.root) {
4707
4721
  var i = e.root, n = null;
4708
4722
  this.icons = {}, this.root = null, this.parent = null;
4709
4723
  var s = this.registerIcons() || {};
4710
- Wa(s, this), this.langText = {};
4724
+ ja(s, this), this.langText = {};
4711
4725
  var l = this.registerLanguageTexts() || {};
4712
- Ga(l, this);
4726
+ Wa(l, this);
4713
4727
  var u = "";
4714
4728
  try {
4715
4729
  u = this.render();
@@ -4797,7 +4811,7 @@ var G = /* @__PURE__ */ function(o) {
4797
4811
  value: function(e) {
4798
4812
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "";
4799
4813
  i.root = i.root || this.root;
4800
- var s = N(M(r.prototype), "registerPlugin", this).call(this, e, i, n);
4814
+ var s = B(N(r.prototype), "registerPlugin", this).call(this, e, i, n);
4801
4815
  return this._children.push(s), s;
4802
4816
  }
4803
4817
  }, {
@@ -4932,7 +4946,7 @@ var G = /* @__PURE__ */ function(o) {
4932
4946
  n.destroy();
4933
4947
  }), this.__delegates = [], this._children instanceof Array && (this._children.map(function(n) {
4934
4948
  i.unRegisterPlugin(n.pluginName);
4935
- }), 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) {
4949
+ }), this._children = null), this.root && (this.root.hasOwnProperty("remove") ? this.root.remove() : this.root.parentNode && this.root.parentNode.removeChild(this.root)), B(N(r.prototype), "__destroy", this).call(this), this.icons = {}, ["root", "parent"].map(function(n) {
4936
4950
  e[n] = null;
4937
4951
  });
4938
4952
  }
@@ -4977,7 +4991,7 @@ var G = /* @__PURE__ */ function(o) {
4977
4991
  }, {
4978
4992
  key: "ROOT_TYPES",
4979
4993
  get: function() {
4980
- return za;
4994
+ return Ua;
4981
4995
  }
4982
4996
  }, {
4983
4997
  key: "POSITIONS",
@@ -4985,7 +4999,7 @@ var G = /* @__PURE__ */ function(o) {
4985
4999
  return X;
4986
5000
  }
4987
5001
  }]), r;
4988
- }(ze), $a = /* @__PURE__ */ function() {
5002
+ }(ze), Ga = /* @__PURE__ */ function() {
4989
5003
  function o() {
4990
5004
  var a = this;
4991
5005
  if (L(this, o), _(this, "__trigger", function(r) {
@@ -4995,7 +5009,7 @@ var G = /* @__PURE__ */ function(o) {
4995
5009
  a.__runHandler(r[e].target);
4996
5010
  }), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
4997
5011
  try {
4998
- this.observer = new window.ResizeObserver(ka(this.__trigger, 100, {
5012
+ this.observer = new window.ResizeObserver(_a(this.__trigger, 100, {
4999
5013
  trailing: !0
5000
5014
  })), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
5001
5015
  } catch (r) {
@@ -5052,10 +5066,10 @@ var G = /* @__PURE__ */ function(o) {
5052
5066
  }
5053
5067
  }]), o;
5054
5068
  }(), dt = null;
5055
- function Ka(o, a) {
5056
- return dt || (dt = new $a()), dt.addObserver(o, a), dt;
5069
+ function $a(o, a) {
5070
+ return dt || (dt = new Ga()), dt.addObserver(o, a), dt;
5057
5071
  }
5058
- function Ya(o, a) {
5072
+ function Ka(o, a) {
5059
5073
  var r;
5060
5074
  (r = dt) === null || r === void 0 || r.unObserver(o, a);
5061
5075
  }
@@ -5063,7 +5077,7 @@ var ae = {
5063
5077
  pluginGroup: {},
5064
5078
  init: function(a) {
5065
5079
  var r = a._pluginInfoId;
5066
- r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver && Ka(a.root, function() {
5080
+ r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver && $a(a.root, function() {
5067
5081
  a.resize();
5068
5082
  }), this.pluginGroup[r] = {
5069
5083
  _originalOptions: a.config || {},
@@ -5249,7 +5263,7 @@ var ae = {
5249
5263
  destroy: function(a) {
5250
5264
  var r = a._pluginInfoId;
5251
5265
  if (this.pluginGroup[r]) {
5252
- Ya(a.root);
5266
+ Ka(a.root);
5253
5267
  for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
5254
5268
  var n = i[e];
5255
5269
  this.unRegister(r, n);
@@ -5335,7 +5349,7 @@ function fn() {
5335
5349
  ignores: [],
5336
5350
  whitelist: [],
5337
5351
  inactive: 3e3,
5338
- lang: Ca(),
5352
+ lang: ka(),
5339
5353
  controls: !0,
5340
5354
  marginControls: !1,
5341
5355
  fullscreenTarget: null,
@@ -5371,7 +5385,7 @@ function fn() {
5371
5385
  }
5372
5386
  };
5373
5387
  }
5374
- var Xa = function(a, r) {
5388
+ var Ya = function(a, r) {
5375
5389
  var t, e, i;
5376
5390
  r.preset && r.options ? i = new r.preset(r.options, a.config) : i = new r({}, a.config);
5377
5391
  var n = i, s = n.plugins, l = s === void 0 ? [] : s, u = n.ignores, c = u === void 0 ? [] : u, f = n.icons, g = f === void 0 ? {} : f, p = n.i18n, d = p === void 0 ? [] : p;
@@ -5380,9 +5394,9 @@ var Xa = function(a, r) {
5380
5394
  });
5381
5395
  var v = a.config.i18n || [];
5382
5396
  d.push.apply(d, ye(v)), a.config.i18n = d;
5383
- }, qa = /* @__PURE__ */ function(o) {
5384
- R(r, o);
5385
- var a = F(r);
5397
+ }, Xa = /* @__PURE__ */ function(o) {
5398
+ F(r, o);
5399
+ var a = M(r);
5386
5400
  function r() {
5387
5401
  var t;
5388
5402
  L(this, r);
@@ -5491,7 +5505,7 @@ var Xa = function(a, r) {
5491
5505
  default:
5492
5506
  i.root = this.left;
5493
5507
  }
5494
- return N(M(r.prototype), "registerPlugin", this).call(this, e, i, n);
5508
+ return B(N(r.prototype), "registerPlugin", this).call(this, e, i, n);
5495
5509
  }
5496
5510
  }
5497
5511
  }
@@ -5541,7 +5555,7 @@ var Xa = function(a, r) {
5541
5555
  };
5542
5556
  }
5543
5557
  }]), r;
5544
- }(G), Za = {
5558
+ }(W), qa = {
5545
5559
  LANG: "en",
5546
5560
  TEXT: {
5547
5561
  ERROR_TYPES: {
@@ -5635,7 +5649,7 @@ function lr() {
5635
5649
  de.textKeys[o] = o;
5636
5650
  });
5637
5651
  }
5638
- function Ja(o, a) {
5652
+ function Za(o, a) {
5639
5653
  var r = [];
5640
5654
  if (a || (a = de), !!a.lang) {
5641
5655
  h.typeOf(o) !== "Array" ? r = Object.keys(o).map(function(i) {
@@ -5658,7 +5672,7 @@ function xi(o, a) {
5658
5672
  r === "zh" && (r = "zh-cn"), a.lang[r] ? pt(a.lang[r], t) : (a.langKeys.push(r), a.lang[r] = t), lr();
5659
5673
  }
5660
5674
  }
5661
- function Qa(o) {
5675
+ function Ja(o) {
5662
5676
  var a, r = {
5663
5677
  lang: {},
5664
5678
  langKeys: [],
@@ -5667,8 +5681,8 @@ function Qa(o) {
5667
5681
  };
5668
5682
  return pt(r.lang, de.lang), (a = r.langKeys).push.apply(a, ye(de.langKeys)), pt(r.textKeys, de.textKeys), r;
5669
5683
  }
5670
- xi(Za);
5671
- var at = {
5684
+ xi(qa);
5685
+ var st = {
5672
5686
  get textKeys() {
5673
5687
  return de.textKeys;
5674
5688
  },
@@ -5681,9 +5695,9 @@ var at = {
5681
5695
  o[a] = de.lang[a];
5682
5696
  }), de.lang["zh-cn"] && (o.zh = de.lang["zh-cn"] || {}), o;
5683
5697
  },
5684
- extend: Ja,
5698
+ extend: Za,
5685
5699
  use: xi,
5686
- init: Qa
5700
+ init: Ja
5687
5701
  }, j = {
5688
5702
  INITIAL: 1,
5689
5703
  READY: 2,
@@ -5694,8 +5708,8 @@ var at = {
5694
5708
  ENDED: 7,
5695
5709
  DESTROYED: 8
5696
5710
  }, hn = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], fe = {}, Qt = null, ur = /* @__PURE__ */ function(o) {
5697
- R(r, o);
5698
- var a = F(r);
5711
+ F(r, o);
5712
+ var a = M(r);
5699
5713
  function r() {
5700
5714
  return L(this, r), a.apply(this, arguments);
5701
5715
  }
@@ -5780,7 +5794,7 @@ var at = {
5780
5794
  }
5781
5795
  }]), r;
5782
5796
  }(Hn.EventEmitter);
5783
- function eo(o) {
5797
+ function Qa(o) {
5784
5798
  for (var a = Object.keys(fe), r = 0; r < a.length; r++) {
5785
5799
  var t = fe[a[r]];
5786
5800
  if (t.root === o)
@@ -5788,9 +5802,9 @@ function eo(o) {
5788
5802
  }
5789
5803
  return null;
5790
5804
  }
5791
- var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /* @__PURE__ */ function(o) {
5792
- R(r, o);
5793
- var a = F(r);
5805
+ var eo = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /* @__PURE__ */ function(o) {
5806
+ F(r, o);
5807
+ var a = M(r);
5794
5808
  function r(t) {
5795
5809
  var e;
5796
5810
  L(this, r);
@@ -5818,13 +5832,13 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
5818
5832
  to: !1
5819
5833
  }]
5820
5834
  });
5821
- var T = wa(C, e.playerId, $e);
5835
+ var T = Ca(C, e.playerId, $e);
5822
5836
  if (v || C && (C === e._fullscreenEl || T))
5823
5837
  m(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, S.FULLSCREEN), e.emit(Se, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
5824
5838
  else if (e.fullscreen) {
5825
5839
  m();
5826
- var E = y(e), B = E._fullScreenOffset, x = E.config;
5827
- if (x.needFullscreenScroll ? (window.scrollTo(B.left, B.top), h.setTimeout(y(e), function() {
5840
+ var E = y(e), x = E._fullScreenOffset, O = E.config;
5841
+ if (O.needFullscreenScroll ? (window.scrollTo(x.left, x.top), h.setTimeout(y(e), function() {
5828
5842
  e.fullscreen = !1, e._fullScreenOffset = null;
5829
5843
  }, 100)) : (!e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !1, e._fullScreenOffset = null), e.cssfullscreen)
5830
5844
  e.removeClass(S.FULLSCREEN);
@@ -5838,7 +5852,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
5838
5852
  e._fullscreenEl = e.media, e.onFullscreenChange(d, !0);
5839
5853
  }), _(y(e), "_onWebkitendfullscreen", function(d) {
5840
5854
  e.onFullscreenChange(d, !1);
5841
- }), ar(y(e), to), e.config = i, e._pluginInfoId = h.generateSessionId(), va(y(e));
5855
+ }), ar(y(e), eo), e.config = i, e._pluginInfoId = h.generateSessionId(), pa(y(e));
5842
5856
  var n = e.constructor.defaultPreset;
5843
5857
  if (e.config.presets.length) {
5844
5858
  var s = e.config.presets.indexOf("default");
@@ -5866,7 +5880,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
5866
5880
  }, e._offsetInfo = {
5867
5881
  currentTime: -1,
5868
5882
  duration: 0
5869
- }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = at.init(e._pluginInfoId), z.os.isAndroid && z.osVersion > 0 && z.osVersion < 6 && (e.config.autoplay = !1), e.database = new Na(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
5883
+ }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = st.init(e._pluginInfoId), z.os.isAndroid && z.osVersion > 0 && z.osVersion < 6 && (e.config.autoplay = !1), e.database = new Ma(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
5870
5884
  isActiveLocked: !1
5871
5885
  }, e.instManager = Fe;
5872
5886
  var l = e._initDOM();
@@ -5898,7 +5912,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
5898
5912
  msg: "container id can't be empty"
5899
5913
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
5900
5914
  }
5901
- var s = eo(this.root);
5915
+ var s = Qa(this.root);
5902
5916
  s && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute($e, this.playerId), (e = Fe) === null || e === void 0 || e.add(this), ae.init(this), this._initBaseDoms();
5903
5917
  var l = this.constructor.XgVideoProxy;
5904
5918
  if (l && this.mediaConfig.mediaType === l.mediaType) {
@@ -5908,7 +5922,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
5908
5922
  this.attachVideoEvents(c), this.media = c;
5909
5923
  }
5910
5924
  if (this.media.setAttribute($e, this.playerId), this.config.controls) {
5911
- var f = this.config.controls.root || null, g = ae.register(this, qa, {
5925
+ var f = this.config.controls.root || null, g = ae.register(this, Xa, {
5912
5926
  root: f
5913
5927
  });
5914
5928
  this.controls = g;
@@ -5923,15 +5937,15 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
5923
5937
  "max-width": "100%",
5924
5938
  "padding-top": "".concat(m * 100 / v, "%")
5925
5939
  };
5926
- Object.keys(C).forEach(function(O) {
5927
- i.root.style[O] = C[O];
5940
+ Object.keys(C).forEach(function(R) {
5941
+ i.root.style[R] = C[R];
5928
5942
  });
5929
5943
  } else
5930
- ["width", "height"].forEach(function(O) {
5931
- i.config[O] && (typeof i.config[O] != "number" ? i.root.style[O] = i.config[O] : i.root.style[O] = "".concat(i.config[O], "px"));
5944
+ ["width", "height"].forEach(function(R) {
5945
+ i.config[R] && (typeof i.config[R] != "number" ? i.root.style[R] = i.config[R] : i.root.style[R] = "".concat(i.config[R], "px"));
5932
5946
  });
5933
- var T = this.root.getBoundingClientRect(), E = T.width, B = T.height, x = T.left, H = T.top;
5934
- return this.sizeInfo.width = E, this.sizeInfo.height = B, this.sizeInfo.left = x, this.sizeInfo.top = H, !0;
5947
+ var T = this.root.getBoundingClientRect(), E = T.width, x = T.height, O = T.left, H = T.top;
5948
+ return this.sizeInfo.width = E, this.sizeInfo.height = x, this.sizeInfo.left = O, this.sizeInfo.top = H, !0;
5935
5949
  }
5936
5950
  }, {
5937
5951
  key: "_initBaseDoms",
@@ -5987,7 +6001,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
5987
6001
  var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
5988
6002
  this._loadingPlugins = [];
5989
6003
  var n = this.config.ignores || [], s = this.config.plugins || [], l = this.config.i18n || [];
5990
- i && at.extend(l, this.__i18n);
6004
+ i && st.extend(l, this.__i18n);
5991
6005
  var u = n.join("||").toLowerCase().split("||"), c = this.plugins;
5992
6006
  s.forEach(function(f) {
5993
6007
  try {
@@ -6016,7 +6030,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6016
6030
  value: function() {
6017
6031
  var e = this;
6018
6032
  this.config.presets.forEach(function(i) {
6019
- Xa(e, i);
6033
+ Ya(e, i);
6020
6034
  });
6021
6035
  }
6022
6036
  }, {
@@ -6167,7 +6181,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6167
6181
  return;
6168
6182
  }
6169
6183
  this.state < j.RUNNING && (this.removeClass(S.NO_START), !this.isCanplay && this.addClass(S.ENTER));
6170
- var i = N(M(r.prototype), "play", this).call(this);
6184
+ var i = B(N(r.prototype), "play", this).call(this);
6171
6185
  return i !== void 0 && i && i.then ? i.then(function() {
6172
6186
  e.removeClass(S.NOT_ALLOW_AUTOPLAY), e.addClass(S.PLAYING), e.state < j.RUNNING && (V.logInfo(">>>>playPromise.then"), e.setState(j.RUNNING), e.emit(Ye));
6173
6187
  }).catch(function(n) {
@@ -6183,12 +6197,12 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6183
6197
  }, {
6184
6198
  key: "mediaPause",
6185
6199
  value: function() {
6186
- N(M(r.prototype), "pause", this).call(this);
6200
+ B(N(r.prototype), "pause", this).call(this);
6187
6201
  }
6188
6202
  }, {
6189
6203
  key: "videoPause",
6190
6204
  value: function() {
6191
- N(M(r.prototype), "pause", this).call(this);
6205
+ B(N(r.prototype), "pause", this).call(this);
6192
6206
  }
6193
6207
  }, {
6194
6208
  key: "play",
@@ -6203,7 +6217,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6203
6217
  value: function() {
6204
6218
  var e = this;
6205
6219
  Te(this, "pause", function() {
6206
- N(M(r.prototype), "pause", e).call(e);
6220
+ B(N(r.prototype), "pause", e).call(e);
6207
6221
  });
6208
6222
  }
6209
6223
  }, {
@@ -6248,7 +6262,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6248
6262
  this.config.url = e.url;
6249
6263
  return;
6250
6264
  }
6251
- var l = this.switchURL(e.url, ee({
6265
+ var l = this.switchURL(e.url, Q({
6252
6266
  seamless: s.seamless !== !1 && typeof MediaSource < "u" && typeof MediaSource.isTypeSupported == "function"
6253
6267
  }, e));
6254
6268
  l && l.then ? l.then(function() {
@@ -6296,7 +6310,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6296
6310
  value: function() {
6297
6311
  var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
6298
6312
  if (!(!s || !l)) {
6299
- if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute($e), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(Ei), (e = Fe) === null || e === void 0 || e.remove(this), ae.destroy(this), or(this), N(M(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
6313
+ if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute($e), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(Ei), (e = Fe) === null || e === void 0 || e.remove(this), ae.destroy(this), or(this), B(N(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
6300
6314
  for (var u = n.children, c = 0; c < u.length; c++)
6301
6315
  n.removeChild(u[c]);
6302
6316
  !n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(g) {
@@ -6443,7 +6457,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6443
6457
  this.onFocus(e);
6444
6458
  return;
6445
6459
  }
6446
- this.emit(wi, ee({
6460
+ this.emit(wi, Q({
6447
6461
  paused: this.paused,
6448
6462
  ended: this.ended
6449
6463
  }, e));
@@ -6458,7 +6472,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6458
6472
  this.onBlur(e);
6459
6473
  return;
6460
6474
  }
6461
- this._clearUserTimer(), this.emit(Gn, ee({
6475
+ this._clearUserTimer(), this.emit(Gn, Q({
6462
6476
  paused: this.paused,
6463
6477
  ended: this.ended
6464
6478
  }, e));
@@ -6579,7 +6593,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6579
6593
  value: function(e, i, n) {
6580
6594
  if (!(!this.media || !i || !e)) {
6581
6595
  var s = h.typeOf(e) === "String" ? e : e.type || "";
6582
- n.props && h.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(At, ee({
6596
+ n.props && h.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(At, Q({
6583
6597
  eventType: s,
6584
6598
  action: i,
6585
6599
  currentTime: this.currentTime,
@@ -6621,16 +6635,16 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6621
6635
  this.videoPos.pi = c, u = u < 0 ? 0 : u;
6622
6636
  var f = {
6623
6637
  rotate: u
6624
- }, g = 0, p = 0, d = 1, v = Math.abs(u / 90), m = this.root, C = this.innerContainer, T = m.offsetWidth, E = C ? C.offsetHeight : m.offsetHeight, B = E, x = T;
6638
+ }, g = 0, p = 0, d = 1, v = Math.abs(u / 90), m = this.root, C = this.innerContainer, T = m.offsetWidth, E = C ? C.offsetHeight : m.offsetHeight, x = E, O = T;
6625
6639
  if (v % 2 === 0)
6626
- d = s > 0 ? 100 / s : l > 0 ? 100 / l : 1, f.scale = d, g = i > 0 ? (100 - s) / 2 - i : 0, f.y = v === 2 ? 0 - g : g, p = n > 0 ? (100 - l) / 2 - n : 0, f.x = v === 2 ? 0 - p : p, this.media.style.width = "".concat(x, "px"), this.media.style.height = "".concat(B, "px");
6640
+ d = s > 0 ? 100 / s : l > 0 ? 100 / l : 1, f.scale = d, g = i > 0 ? (100 - s) / 2 - i : 0, f.y = v === 2 ? 0 - g : g, p = n > 0 ? (100 - l) / 2 - n : 0, f.x = v === 2 ? 0 - p : p, this.media.style.width = "".concat(O, "px"), this.media.style.height = "".concat(x, "px");
6627
6641
  else if (v % 2 === 1) {
6628
- x = E, B = T;
6642
+ O = E, x = T;
6629
6643
  var H = E - T;
6630
- p = -H / 2 / x * 100, f.x = v === 3 ? p + i / 2 : p - i / 2, g = H / 2 / B * 100, f.y = v === 3 ? g + n / 2 : g - n / 2, f.scale = d, this.media.style.width = "".concat(x, "px"), this.media.style.height = "".concat(B, "px");
6644
+ p = -H / 2 / O * 100, f.x = v === 3 ? p + i / 2 : p - i / 2, g = H / 2 / x * 100, f.y = v === 3 ? g + n / 2 : g - n / 2, f.scale = d, this.media.style.width = "".concat(O, "px"), this.media.style.height = "".concat(x, "px");
6631
6645
  }
6632
- var O = h.getTransformStyle(f, this.media.style.transform || this.media.style.webkitTransform);
6633
- this.media.style.transform = O, this.media.style.webkitTransform = O;
6646
+ var R = h.getTransformStyle(f, this.media.style.transform || this.media.style.webkitTransform);
6647
+ this.media.style.transform = R, this.media.style.webkitTransform = R;
6634
6648
  }
6635
6649
  }
6636
6650
  }
@@ -6679,17 +6693,17 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6679
6693
  if ((f === "fill" || f === "cover" || f === "contain") && this.setAttribute("data-xgfill", f), !(!l || !s)) {
6680
6694
  this._videoHeight = l, this._videoWidth = s;
6681
6695
  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), m = parseInt(p / d * 1e3, 10), C = p, T = d, E = {};
6682
- c === "auto" && m > v || c === "fixWidth" ? (T = p / v * 1e3, this.config.fluid ? E.paddingTop = "".concat(T * 100 / C, "%") : E.height = "".concat(T + g, "px")) : (c === "auto" && m < v || c === "fixHeight") && (C = v * d / 1e3, E.width = "".concat(C, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(E).forEach(function(x) {
6683
- e.root.style[x] = E[x];
6696
+ c === "auto" && m > v || c === "fixWidth" ? (T = p / v * 1e3, this.config.fluid ? E.paddingTop = "".concat(T * 100 / C, "%") : E.height = "".concat(T + g, "px")) : (c === "auto" && m < v || c === "fixHeight") && (C = v * d / 1e3, E.width = "".concat(C, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(E).forEach(function(O) {
6697
+ e.root.style[O] = E[O];
6684
6698
  }), (f === "fillHeight" && m < v || f === "fillWidth" && m > v) && this.setAttribute("data-xgfill", "cover");
6685
- var B = {
6699
+ var x = {
6686
6700
  videoScale: v,
6687
6701
  vWidth: C,
6688
6702
  vHeight: T,
6689
6703
  cWidth: C,
6690
6704
  cHeight: T + g
6691
6705
  };
6692
- this.resizePosition(), this.emit(Ue, B);
6706
+ this.resizePosition(), this.emit(Ue, x);
6693
6707
  }
6694
6708
  }
6695
6709
  }
@@ -6785,11 +6799,11 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6785
6799
  return this.config.lang;
6786
6800
  },
6787
6801
  set: function(e) {
6788
- var i = at.langKeys.filter(function(n) {
6802
+ var i = st.langKeys.filter(function(n) {
6789
6803
  return n === e;
6790
6804
  });
6791
6805
  if (i.length === 0 && e !== "zh") {
6792
- console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(at.langKeys.join(), "] "));
6806
+ console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(st.langKeys.join(), "] "));
6793
6807
  return;
6794
6808
  }
6795
6809
  this.config.lang = e, ae.setLang(e, this);
@@ -6834,18 +6848,18 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6834
6848
  }, {
6835
6849
  key: "readyState",
6836
6850
  get: function() {
6837
- return N(M(r.prototype), "readyState", this);
6851
+ return B(N(r.prototype), "readyState", this);
6838
6852
  }
6839
6853
  }, {
6840
6854
  key: "error",
6841
6855
  get: function() {
6842
- var e = N(M(r.prototype), "error", this);
6856
+ var e = B(N(r.prototype), "error", this);
6843
6857
  return this.i18n[e] || e;
6844
6858
  }
6845
6859
  }, {
6846
6860
  key: "networkState",
6847
6861
  get: function() {
6848
- return N(M(r.prototype), "networkState", this);
6862
+ return B(N(r.prototype), "networkState", this);
6849
6863
  }
6850
6864
  }, {
6851
6865
  key: "fullscreenChanging",
@@ -6990,7 +7004,7 @@ var to = ["play", "pause", "replay", "retry"], dn = 0, gn = 0, Fe = null, Ut = /
6990
7004
  r.plugins || (r.plugins = {}), r.plugins[e] = i;
6991
7005
  }
6992
7006
  }]), r;
6993
- }(Ma);
7007
+ }(Fa);
6994
7008
  _(Ut, "defaultPreset", null);
6995
7009
  _(Ut, "XgVideoProxy", null);
6996
7010
  Ut.instManager = ur.getInstance();
@@ -7005,9 +7019,9 @@ var Me = {
7005
7019
  WAIT_END: "waitingEnd",
7006
7020
  SEEK_START: "seekStart",
7007
7021
  SEEK_END: "seekEnd"
7008
- }, io = /* @__PURE__ */ function(o) {
7009
- R(r, o);
7010
- var a = F(r);
7022
+ }, to = /* @__PURE__ */ function(o) {
7023
+ F(r, o);
7024
+ var a = M(r);
7011
7025
  function r() {
7012
7026
  var t;
7013
7027
  L(this, r);
@@ -7132,7 +7146,7 @@ var Me = {
7132
7146
  key: "emitLog",
7133
7147
  value: function(e, i) {
7134
7148
  var n = this.player;
7135
- this.emit(Qn, ee({
7149
+ this.emit(Qn, Q({
7136
7150
  t: le(),
7137
7151
  host: h.getHostFromUrl(n.currentSrc),
7138
7152
  vtype: n.vtype,
@@ -7155,16 +7169,16 @@ var Me = {
7155
7169
  };
7156
7170
  }
7157
7171
  }]), r;
7158
- }(G);
7159
- function no() {
7172
+ }(W);
7173
+ function io() {
7160
7174
  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">
7161
7175
  <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>
7162
7176
  </svg>
7163
7177
  `, "image/svg+xml").firstChild;
7164
7178
  }
7165
- var ro = /* @__PURE__ */ function(o) {
7166
- R(r, o);
7167
- var a = F(r);
7179
+ var no = /* @__PURE__ */ function(o) {
7180
+ F(r, o);
7181
+ var a = M(r);
7168
7182
  function r() {
7169
7183
  return L(this, r), a.apply(this, arguments);
7170
7184
  }
@@ -7172,20 +7186,20 @@ var ro = /* @__PURE__ */ function(o) {
7172
7186
  key: "registerIcons",
7173
7187
  value: function() {
7174
7188
  return {
7175
- replay: no
7189
+ replay: io
7176
7190
  };
7177
7191
  }
7178
7192
  }, {
7179
7193
  key: "afterCreate",
7180
7194
  value: function() {
7181
7195
  var e = this;
7182
- G.insert(this.icons.replay, this.root, 0), this.__handleReplay = this.hook("replayClick", function() {
7196
+ W.insert(this.icons.replay, this.root, 0), this.__handleReplay = this.hook("replayClick", function() {
7183
7197
  e.player.replay();
7184
7198
  }, {
7185
7199
  pre: function(n) {
7186
7200
  n.preventDefault(), n.stopPropagation();
7187
7201
  }
7188
- }), this.bind(".xgplayer-replay", ["click", "touchend"], this.__handleReplay), this.on(qe, function() {
7202
+ }), this.bind(".xgplayer-replay", ["click", "touchend"], this.__handleReplay), this.on(Xe, function() {
7189
7203
  if (e.playerConfig.loop || h.addClass(e.player.root, "replay"), !e.config.disable) {
7190
7204
  e.show();
7191
7205
  var i = e.root.querySelector("path");
@@ -7245,9 +7259,9 @@ var ro = /* @__PURE__ */ function(o) {
7245
7259
  };
7246
7260
  }
7247
7261
  }]), r;
7248
- }(G), so = /* @__PURE__ */ function(o) {
7249
- R(r, o);
7250
- var a = F(r);
7262
+ }(W), ro = /* @__PURE__ */ function(o) {
7263
+ F(r, o);
7264
+ var a = M(r);
7251
7265
  function r() {
7252
7266
  return L(this, r), a.apply(this, arguments);
7253
7267
  }
@@ -7278,7 +7292,7 @@ var ro = /* @__PURE__ */ function(o) {
7278
7292
  key: "afterCreate",
7279
7293
  value: function() {
7280
7294
  var e = this;
7281
- this.on(qe, function() {
7295
+ this.on(Xe, function() {
7282
7296
  e.isEndedShow && h.removeClass(e.root, "hide");
7283
7297
  }), this.config.hideCanplay ? (this.once(ge, function() {
7284
7298
  e.onTimeUpdate();
@@ -7356,7 +7370,7 @@ var ro = /* @__PURE__ */ function(o) {
7356
7370
  };
7357
7371
  }
7358
7372
  }]), r;
7359
- }(G);
7373
+ }(W);
7360
7374
  function Ii() {
7361
7375
  return new DOMParser().parseFromString(`<svg class="play" xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="3 -4 28 40">
7362
7376
  <path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M576,363L810,512L576,661zM342,214L576,363L576,661L342,810z"></path>
@@ -7370,7 +7384,7 @@ function Pi() {
7370
7384
  `, "image/svg+xml").firstChild;
7371
7385
  }
7372
7386
  var be = {};
7373
- function ao(o, a) {
7387
+ function so(o, a) {
7374
7388
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
7375
7389
  start: null,
7376
7390
  end: null
@@ -7388,9 +7402,9 @@ function pn(o) {
7388
7402
  window.clearTimeout(be[a].id), delete be[a];
7389
7403
  });
7390
7404
  }
7391
- var oo = /* @__PURE__ */ function(o) {
7392
- R(r, o);
7393
- var a = F(r);
7405
+ var ao = /* @__PURE__ */ function(o) {
7406
+ F(r, o);
7407
+ var a = M(r);
7394
7408
  function r(t) {
7395
7409
  var e;
7396
7410
  return L(this, r), e = a.call(this, t), _(y(e), "onPlayerReset", function() {
@@ -7492,7 +7506,7 @@ var oo = /* @__PURE__ */ function(o) {
7492
7506
  key: "animate",
7493
7507
  value: function(e) {
7494
7508
  var i = this;
7495
- this._animateId = ao("pauseplay", 400, {
7509
+ this._animateId = so("pauseplay", 400, {
7496
7510
  start: function() {
7497
7511
  h.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
7498
7512
  },
@@ -7580,9 +7594,9 @@ var oo = /* @__PURE__ */ function(o) {
7580
7594
  };
7581
7595
  }
7582
7596
  }]), r;
7583
- }(G), lo = /* @__PURE__ */ function(o) {
7584
- R(r, o);
7585
- var a = F(r);
7597
+ }(W), oo = /* @__PURE__ */ function(o) {
7598
+ F(r, o);
7599
+ var a = M(r);
7586
7600
  function r() {
7587
7601
  return L(this, r), a.apply(this, arguments);
7588
7602
  }
@@ -7615,7 +7629,7 @@ var oo = /* @__PURE__ */ function(o) {
7615
7629
  };
7616
7630
  }
7617
7631
  }]), r;
7618
- }(G);
7632
+ }(W);
7619
7633
  function Ve(o, a, r) {
7620
7634
  try {
7621
7635
  return ' <div class="xg-tips '.concat(r ? "hide" : " ", '" lang-key="').concat(o.i18nKeys[a], `">
@@ -7626,8 +7640,8 @@ function Ve(o, a, r) {
7626
7640
  }
7627
7641
  }
7628
7642
  var vn = /* @__PURE__ */ function(o) {
7629
- R(r, o);
7630
- var a = F(r);
7643
+ F(r, o);
7644
+ var a = M(r);
7631
7645
  function r() {
7632
7646
  return L(this, r), a.apply(this, arguments);
7633
7647
  }
@@ -7674,13 +7688,13 @@ var vn = /* @__PURE__ */ function(o) {
7674
7688
  };
7675
7689
  }
7676
7690
  }]), r;
7677
- }(G);
7691
+ }(W);
7678
7692
  function mn(o) {
7679
7693
  var a = parseFloat(o), r = o.indexOf("%") === -1 && !Number.isNaN(a);
7680
7694
  return r && a;
7681
7695
  }
7682
7696
  var Ai = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], cr = Ai.length;
7683
- function uo() {
7697
+ function lo() {
7684
7698
  for (var o = {
7685
7699
  width: 0,
7686
7700
  height: 0,
@@ -7694,15 +7708,15 @@ function uo() {
7694
7708
  }
7695
7709
  return o;
7696
7710
  }
7697
- function co(o) {
7711
+ function uo(o) {
7698
7712
  var a = window.getComputedStyle(o);
7699
7713
  return a;
7700
7714
  }
7701
7715
  function yn(o) {
7702
7716
  if (typeof o == "string" && (o = document.querySelector(o)), !(!o || ce(o) !== "object" || !o.nodeType)) {
7703
- var a = co(o);
7717
+ var a = uo(o);
7704
7718
  if (a.display === "none")
7705
- return uo();
7719
+ return lo();
7706
7720
  var r = {};
7707
7721
  r.width = o.offsetWidth, r.height = o.offsetHeight;
7708
7722
  for (var t = r.isBorderBox = a.boxSizing === "border-box", e = 0; e < cr; e++) {
@@ -7730,9 +7744,9 @@ var ti = {
7730
7744
  mousedown: ["mousemove", "mouseup"],
7731
7745
  touchstart: ["touchmove", "touchend", "touchcancel"],
7732
7746
  pointerdown: ["pointermove", "pointerup", "pointercancel"]
7733
- }, fo = /* @__PURE__ */ function(o) {
7734
- R(r, o);
7735
- var a = F(r);
7747
+ }, co = /* @__PURE__ */ function(o) {
7748
+ F(r, o);
7749
+ var a = M(r);
7736
7750
  function r(t) {
7737
7751
  var e, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7738
7752
  return L(this, r), e = a.call(this), e.isEnabled = !0, e.isDragging = !1, e.isDown = !1, e.position = {}, e.downPoint = {}, e.dragPoint = {
@@ -7940,9 +7954,9 @@ var ti = {
7940
7954
  return parseInt(e, 10);
7941
7955
  }
7942
7956
  }]), r;
7943
- }(Un), ho = /* @__PURE__ */ function(o) {
7944
- R(r, o);
7945
- var a = F(r);
7957
+ }(Un), fo = /* @__PURE__ */ function(o) {
7958
+ F(r, o);
7959
+ var a = M(r);
7946
7960
  function r(t) {
7947
7961
  var e;
7948
7962
  L(this, r), e = a.call(this, t), _(y(e), "onCancelClick", function(s) {
@@ -7996,7 +8010,7 @@ var ti = {
7996
8010
  i.controls.registerPlugin(vn, s, vn.pluginName);
7997
8011
  }
7998
8012
  var l = h.checkTouchSupport() ? "touchend" : "click";
7999
- this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new fo(this.player.root, {
8013
+ this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new co(this.player.root, {
8000
8014
  handle: this.root
8001
8015
  })), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
8002
8016
  }
@@ -8090,13 +8104,13 @@ var ti = {
8090
8104
  };
8091
8105
  }
8092
8106
  }]), r;
8093
- }(G), kt = {
8107
+ }(W), kt = {
8094
8108
  mouseenter: "onMouseEnter",
8095
8109
  mouseleave: "onMouseLeave",
8096
8110
  mousemove: "onMouseMove"
8097
8111
  }, ii = ["videoClick", "videoDbClick"], ni = /* @__PURE__ */ function(o) {
8098
- R(r, o);
8099
- var a = F(r);
8112
+ F(r, o);
8113
+ var a = M(r);
8100
8114
  function r() {
8101
8115
  var t;
8102
8116
  L(this, r);
@@ -8210,12 +8224,12 @@ var ti = {
8210
8224
  TOUCH_MOVE: "touchmove",
8211
8225
  TOUCH_START: "touchstart",
8212
8226
  TOUCH_END: "touchend"
8213
- }, go = {
8227
+ }, ho = {
8214
8228
  start: "touchstart",
8215
8229
  end: "touchend",
8216
8230
  move: "touchmove",
8217
8231
  cancel: "touchcancel"
8218
- }, po = {
8232
+ }, go = {
8219
8233
  start: "mousedown",
8220
8234
  end: "mouseup",
8221
8235
  move: "mousemove",
@@ -8224,7 +8238,7 @@ var ti = {
8224
8238
  function kn(o) {
8225
8239
  return o && o.length > 0 ? o[o.length - 1] : null;
8226
8240
  }
8227
- function vo() {
8241
+ function po() {
8228
8242
  return {
8229
8243
  pressDelay: 600,
8230
8244
  dbClickDelay: 200,
@@ -8234,7 +8248,7 @@ function vo() {
8234
8248
  needPreventDefault: !0
8235
8249
  };
8236
8250
  }
8237
- var mo = /* @__PURE__ */ function() {
8251
+ var vo = /* @__PURE__ */ function() {
8238
8252
  function o(a) {
8239
8253
  var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
8240
8254
  eventType: "touch"
@@ -8255,9 +8269,9 @@ var mo = /* @__PURE__ */ function() {
8255
8269
  start: !1,
8256
8270
  x: 0,
8257
8271
  y: 0
8258
- }, this.config = vo(), Object.keys(t).map(function(e) {
8272
+ }, this.config = po(), Object.keys(t).map(function(e) {
8259
8273
  r.config[e] = t[e];
8260
- }), this.root = a, this.events = t.eventType === "mouse" ? po : go, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
8274
+ }), this.root = a, this.events = t.eventType === "mouse" ? go : ho, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
8261
8275
  }
8262
8276
  return D(o, [{
8263
8277
  key: "_initEvent",
@@ -8336,7 +8350,7 @@ var mo = /* @__PURE__ */ function() {
8336
8350
  }
8337
8351
  }]), o;
8338
8352
  }();
8339
- function yo() {
8353
+ function mo() {
8340
8354
  return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
8341
8355
  xmlns:xlink="http://www.w3.org/1999/xlink">
8342
8356
  <path opacity="0.54"
@@ -8345,14 +8359,14 @@ function yo() {
8345
8359
  <path transform="translate(5 0)" d="M7.5 3.63397C8.16667 4.01887 8.16667 4.98113 7.5 5.36603L1.5 8.83013C0.833334 9.21503 0 8.7339 0 7.9641L0 1.0359C0 0.266098 0.833333 -0.215027 1.5 0.169873L7.5 3.63397Z" fill="white"/>
8346
8360
  </svg>`, "image/svg+xml").firstChild;
8347
8361
  }
8348
- var et = {
8362
+ var Qe = {
8349
8363
  AUTO: "auto",
8350
8364
  SEEKING: "seeking",
8351
8365
  PLAYBACK: "playbackrate",
8352
8366
  LIGHT: ""
8353
- }, ri = ["videoClick", "videoDbClick"], _o = /* @__PURE__ */ function(o) {
8354
- R(r, o);
8355
- var a = F(r);
8367
+ }, ri = ["videoClick", "videoDbClick"], yo = /* @__PURE__ */ function(o) {
8368
+ F(r, o);
8369
+ var a = M(r);
8356
8370
  function r(t) {
8357
8371
  var e;
8358
8372
  return L(this, r), e = a.call(this, t), _(y(e), "onTouchStart", function(i) {
@@ -8384,7 +8398,7 @@ var et = {
8384
8398
  }, 10), !!l.isStart) {
8385
8399
  l.scope > -1 && i.cancelable && i.preventDefault();
8386
8400
  var c = e.config, f = c.disableGesture, g = c.gestureX;
8387
- !f && g ? e.endLastMove(l.scope) : l.time = 0, l.scope = -1, e.resetPos(), h.checkIsFunction(u.enableSwipeHandler) && u.enableSwipeHandler(), e.changeAction(et.AUTO);
8401
+ !f && g ? e.endLastMove(l.scope) : l.time = 0, l.scope = -1, e.resetPos(), h.checkIsFunction(u.enableSwipeHandler) && u.enableSwipeHandler(), e.changeAction(Qe.AUTO);
8388
8402
  }
8389
8403
  }), _(y(e), "onRootTouchMove", function(i) {
8390
8404
  e.config.disableGesture || !e.config.gestureX || e.checkIsRootTarget(i) && (i.stopPropagation(), e.pos.isStart ? e.onTouchMove(i) : e.onTouchStart(i));
@@ -8422,7 +8436,7 @@ var et = {
8422
8436
  value: function() {
8423
8437
  return {
8424
8438
  seekTipIcon: {
8425
- icon: yo,
8439
+ icon: mo,
8426
8440
  class: "xg-seek-pre"
8427
8441
  }
8428
8442
  };
@@ -8437,7 +8451,7 @@ var et = {
8437
8451
  var i = this.playerConfig, n = this.config, s = this.player;
8438
8452
  i.closeVideoDblclick === !0 && (n.closedbClick = !0), this.resetPos(), h.isUndefined(i.disableGesture) || (n.disableGesture = !!i.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = h.createDom("xg-mask", "", {}, "xgmask"), s.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
8439
8453
  var l = this.domEventType === "mouse" ? "mouse" : "touch";
8440
- this.touch = new mo(this.root, {
8454
+ this.touch = new vo(this.root, {
8441
8455
  eventType: l,
8442
8456
  needPreventDefault: !this.config.disableGesture
8443
8457
  }), this.root.addEventListener("contextmenu", function(g) {
@@ -8447,7 +8461,7 @@ var et = {
8447
8461
  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(De, function() {
8448
8462
  var g = e.player, p = e.config;
8449
8463
  g.duration > 0 && g.duration * 1e3 < p.moveDuration && (p.moveDuration = g.duration * 1e3);
8450
- }), this.on([Ie, qe], function() {
8464
+ }), this.on([Ie, Xe], function() {
8451
8465
  var g = e.pos, p = g.time, d = g.isStart;
8452
8466
  !d && p > 0 && (e.pos.time = 0);
8453
8467
  });
@@ -8470,7 +8484,7 @@ var et = {
8470
8484
  e.activeSeekNote(g.currentTime, g.forward);
8471
8485
  }), ["dragend", "click"].forEach(function(g) {
8472
8486
  f.addCallBack(g, function() {
8473
- e.changeAction(et.AUTO);
8487
+ e.changeAction(Qe.AUTO);
8474
8488
  });
8475
8489
  }));
8476
8490
  }
@@ -8576,7 +8590,7 @@ var et = {
8576
8590
  }, 500);
8577
8591
  break;
8578
8592
  }
8579
- this.changeAction(et.AUTO);
8593
+ this.changeAction(Qe.AUTO);
8580
8594
  }
8581
8595
  }, {
8582
8596
  key: "checkIsRootTarget",
@@ -8640,7 +8654,7 @@ var et = {
8640
8654
  prop: "playbackRate",
8641
8655
  from: s.playbackRate,
8642
8656
  to: n.pressRate
8643
- }), s.playbackRate = n.pressRate, this.changeAction(et.PLAYBACK));
8657
+ }), s.playbackRate = n.pressRate, this.changeAction(Qe.PLAYBACK));
8644
8658
  }
8645
8659
  }, {
8646
8660
  key: "onPressEnd",
@@ -8650,7 +8664,7 @@ var et = {
8650
8664
  prop: "playbackRate",
8651
8665
  from: s.playbackRate,
8652
8666
  to: i.rate
8653
- }), s.playbackRate = i.rate, i.rate = 1, this.changeAction(et.AUTO));
8667
+ }), s.playbackRate = i.rate, i.rate = 1, this.changeAction(Qe.AUTO));
8654
8668
  }
8655
8669
  }, {
8656
8670
  key: "updateTime",
@@ -8685,7 +8699,7 @@ var et = {
8685
8699
  value: function(e) {
8686
8700
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, n = this.player, s = this.config, l = !(this.duration !== 1 / 0 && this.duration > 0);
8687
8701
  if (!(!e || typeof e != "number" || l || s.disableActive)) {
8688
- e < 0 ? e = 0 : e > n.duration && (e = n.duration - 0.2), this.changeAction(et.SEEKING);
8702
+ e < 0 ? e = 0 : e > n.duration && (e = n.duration - 0.2), this.changeAction(Qe.SEEKING);
8689
8703
  var u = n.plugins.start;
8690
8704
  u && u.focusHide(), this.find(".xg-dur").innerHTML = h.format(this.duration), this.find(".xg-cur").innerHTML = h.format(e), this.find(".xg-curbar").style.width = "".concat(e / this.duration * 100, "%"), i ? h.removeClass(this.find(".xg-seek-show"), "xg-back") : h.addClass(this.find(".xg-seek-show"), "xg-back"), this.updateThumbnails(e);
8691
8705
  }
@@ -8781,8 +8795,8 @@ var et = {
8781
8795
  };
8782
8796
  }
8783
8797
  }]), r;
8784
- }(G);
8785
- function ko(o) {
8798
+ }(W);
8799
+ function _o(o) {
8786
8800
  o.preventDefault(), o.returnValue = !1;
8787
8801
  }
8788
8802
  function Cn(o) {
@@ -8790,8 +8804,8 @@ function Cn(o) {
8790
8804
  return !!(a === "INPUT" || a === "TEXTAREA" || o.isContentEditable);
8791
8805
  }
8792
8806
  var wn = /* @__PURE__ */ function(o) {
8793
- R(r, o);
8794
- var a = F(r);
8807
+ F(r, o);
8808
+ var a = M(r);
8795
8809
  function r() {
8796
8810
  var t;
8797
8811
  L(this, r);
@@ -9025,13 +9039,13 @@ var wn = /* @__PURE__ */ function(o) {
9025
9039
  if (f === e) {
9026
9040
  if (!g && !(n && d)) {
9027
9041
  var v = n && p || c;
9028
- typeof v == "function" ? c(i, this.player, n) : typeof v == "string" && typeof this[v] == "function" && this[v](i, this.player, n), this.emit(Jn, ee({
9042
+ typeof v == "function" ? c(i, this.player, n) : typeof v == "string" && typeof this[v] == "function" && this[v](i, this.player, n), this.emit(Jn, Q({
9029
9043
  key: s[l],
9030
9044
  target: i.target,
9031
9045
  isPress: n
9032
9046
  }, this.keyCodeMap[s[l]]));
9033
9047
  }
9034
- ko(i), i.stopPropagation();
9048
+ _o(i), i.stopPropagation();
9035
9049
  break;
9036
9050
  }
9037
9051
  }
@@ -9073,15 +9087,15 @@ var wn = /* @__PURE__ */ function(o) {
9073
9087
  }
9074
9088
  }]), r;
9075
9089
  }(ze);
9076
- function Co() {
9090
+ function ko() {
9077
9091
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
9078
9092
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
9079
9093
  </svg>
9080
9094
  `, "image/svg+xml").firstChild;
9081
9095
  }
9082
- var wo = /* @__PURE__ */ function(o) {
9083
- R(r, o);
9084
- var a = F(r);
9096
+ var Co = /* @__PURE__ */ function(o) {
9097
+ F(r, o);
9098
+ var a = M(r);
9085
9099
  function r() {
9086
9100
  return L(this, r), a.apply(this, arguments);
9087
9101
  }
@@ -9089,7 +9103,7 @@ var wo = /* @__PURE__ */ function(o) {
9089
9103
  key: "registerIcons",
9090
9104
  value: function() {
9091
9105
  return {
9092
- loadingIcon: Co
9106
+ loadingIcon: ko
9093
9107
  };
9094
9108
  }
9095
9109
  }, {
@@ -9118,7 +9132,7 @@ var wo = /* @__PURE__ */ function(o) {
9118
9132
  };
9119
9133
  }
9120
9134
  }]), r;
9121
- }(G), bo = [{
9135
+ }(W), wo = [{
9122
9136
  tag: "xg-cache",
9123
9137
  className: "xgplayer-progress-cache",
9124
9138
  styleKey: "cachedColor"
@@ -9126,7 +9140,7 @@ var wo = /* @__PURE__ */ function(o) {
9126
9140
  tag: "xg-played",
9127
9141
  className: "xgplayer-progress-played",
9128
9142
  styleKey: "playedColor"
9129
- }], To = /* @__PURE__ */ function() {
9143
+ }], bo = /* @__PURE__ */ function() {
9130
9144
  function o(a) {
9131
9145
  L(this, o), this.fragments = a.fragments || [], this.fragments.length === 0 && this.fragments.push({
9132
9146
  percent: 1
@@ -9313,7 +9327,7 @@ var wo = /* @__PURE__ */ function(o) {
9313
9327
  var l = h.createDom("xg-inner", "", {
9314
9328
  style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
9315
9329
  }, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
9316
- return r.root.appendChild(l), bo.forEach(function(u) {
9330
+ return r.root.appendChild(l), wo.forEach(function(u) {
9317
9331
  l.appendChild(h.createDom(u.tag, "", {
9318
9332
  style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
9319
9333
  }, u.className));
@@ -9329,9 +9343,9 @@ var wo = /* @__PURE__ */ function(o) {
9329
9343
  }(), bn = {
9330
9344
  POINT: "inner-focus-point",
9331
9345
  HIGHLIGHT: "inner-focus-highlight"
9332
- }, Eo = /* @__PURE__ */ function(o) {
9333
- R(r, o);
9334
- var a = F(r);
9346
+ }, To = /* @__PURE__ */ function(o) {
9347
+ F(r, o);
9348
+ var a = M(r);
9335
9349
  function r(t) {
9336
9350
  var e;
9337
9351
  return L(this, r), e = a.call(this, t), _(y(e), "onMoveOnly", function(i, n) {
@@ -9452,14 +9466,14 @@ var wo = /* @__PURE__ */ function(o) {
9452
9466
  (!i || i.length === 0) && (i = [{
9453
9467
  percent: 1
9454
9468
  }]);
9455
- var s = ee(ee({
9469
+ var s = Q(Q({
9456
9470
  fragments: i
9457
9471
  }, n), {}, {
9458
9472
  actionCallback: function(u) {
9459
9473
  e.emitUserAction("fragment_focus", "fragment_focus", u);
9460
9474
  }
9461
9475
  });
9462
- this.innerList ? this.innerList.reset(s) : (this.innerList = new To(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
9476
+ this.innerList ? this.innerList.reset(s) : (this.innerList = new bo(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
9463
9477
  e[l] = e.innerList[l].bind(e.innerList);
9464
9478
  }));
9465
9479
  }
@@ -9501,9 +9515,9 @@ var wo = /* @__PURE__ */ function(o) {
9501
9515
  e.onTimeupdate(), e.onCacheUpdate();
9502
9516
  }), this.on(Wn, function() {
9503
9517
  e.onCacheUpdate();
9504
- }), this.on(qe, function() {
9518
+ }), this.on(Xe, function() {
9505
9519
  e.onCacheUpdate(!0), e.onTimeupdate(!0), e._state.now = 0;
9506
- }), this.on(Ze, function() {
9520
+ }), this.on(qe, function() {
9507
9521
  e.onReset();
9508
9522
  }), this.on(Ue, function() {
9509
9523
  e.onVideoResize();
@@ -9745,9 +9759,9 @@ var wo = /* @__PURE__ */ function(o) {
9745
9759
  return bn;
9746
9760
  }
9747
9761
  }]), r;
9748
- }(G), Je = /* @__PURE__ */ function(o) {
9749
- R(r, o);
9750
- var a = F(r);
9762
+ }(W), Ze = /* @__PURE__ */ function(o) {
9763
+ F(r, o);
9764
+ var a = M(r);
9751
9765
  function r() {
9752
9766
  var t;
9753
9767
  L(this, r);
@@ -9774,9 +9788,9 @@ var wo = /* @__PURE__ */ function(o) {
9774
9788
  this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
9775
9789
  }
9776
9790
  }]), r;
9777
- }(G), So = /* @__PURE__ */ function(o) {
9778
- R(r, o);
9779
- var a = F(r);
9791
+ }(W), Eo = /* @__PURE__ */ function(o) {
9792
+ F(r, o);
9793
+ var a = M(r);
9780
9794
  function r() {
9781
9795
  var t;
9782
9796
  L(this, r);
@@ -9795,7 +9809,7 @@ var wo = /* @__PURE__ */ function(o) {
9795
9809
  return D(r, [{
9796
9810
  key: "afterCreate",
9797
9811
  value: function() {
9798
- N(M(r.prototype), "afterCreate", this).call(this);
9812
+ B(N(r.prototype), "afterCreate", this).call(this);
9799
9813
  var e = this.config;
9800
9814
  e.disable || (this.initIcons(), this.bind(["touchend", "click"], this.btnClick), this.listenEvents(), this.animate(!0));
9801
9815
  }
@@ -9803,7 +9817,7 @@ var wo = /* @__PURE__ */ function(o) {
9803
9817
  key: "listenEvents",
9804
9818
  value: function() {
9805
9819
  var e = this, i = this.player;
9806
- this.on([pe, ut, vt, Ze], function() {
9820
+ this.on([pe, ut, vt, qe], function() {
9807
9821
  e.animate(i.paused);
9808
9822
  });
9809
9823
  }
@@ -9838,7 +9852,7 @@ var wo = /* @__PURE__ */ function(o) {
9838
9852
  }, {
9839
9853
  key: "destroy",
9840
9854
  value: function() {
9841
- N(M(r.prototype), "destroy", this).call(this), this.unbind(["touchend", "click"], this.btnClick);
9855
+ B(N(r.prototype), "destroy", this).call(this), this.unbind(["touchend", "click"], this.btnClick);
9842
9856
  }
9843
9857
  }, {
9844
9858
  key: "render",
@@ -9865,17 +9879,17 @@ var wo = /* @__PURE__ */ function(o) {
9865
9879
  };
9866
9880
  }
9867
9881
  }]), r;
9868
- }(Je);
9869
- function xo() {
9882
+ }(Ze);
9883
+ function So() {
9870
9884
  return new DOMParser().parseFromString(`<svg width="32px" height="40px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9871
9885
  <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
9872
9886
  <path d="M11.2374369,14 L17.6187184,7.61871843 C17.9604272,7.27700968 17.9604272,6.72299032 17.6187184,6.38128157 C17.2770097,6.03957281 16.7229903,6.03957281 16.3812816,6.38128157 L9.38128157,13.3812816 C9.03957281,13.7229903 9.03957281,14.2770097 9.38128157,14.6187184 L16.3812816,21.6187184 C16.7229903,21.9604272 17.2770097,21.9604272 17.6187184,21.6187184 C17.9604272,21.2770097 17.9604272,20.7229903 17.6187184,20.3812816 L11.2374369,14 L11.2374369,14 Z" fill="#FFFFFF"></path>
9873
9887
  </g>
9874
9888
  </svg>`, "image/svg+xml").firstChild;
9875
9889
  }
9876
- var Io = /* @__PURE__ */ function(o) {
9877
- R(r, o);
9878
- var a = F(r);
9890
+ var xo = /* @__PURE__ */ function(o) {
9891
+ F(r, o);
9892
+ var a = M(r);
9879
9893
  function r() {
9880
9894
  return L(this, r), a.apply(this, arguments);
9881
9895
  }
@@ -9892,7 +9906,7 @@ var Io = /* @__PURE__ */ function(o) {
9892
9906
  value: function() {
9893
9907
  return {
9894
9908
  screenBack: {
9895
- icon: xo,
9909
+ icon: So,
9896
9910
  class: "xg-fullscreen-back"
9897
9911
  }
9898
9912
  };
@@ -9933,22 +9947,22 @@ var Io = /* @__PURE__ */ function(o) {
9933
9947
  };
9934
9948
  }
9935
9949
  }]), r;
9936
- }(G);
9937
- function Po() {
9950
+ }(W);
9951
+ function Io() {
9938
9952
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9939
9953
  <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>
9940
9954
  </svg>
9941
9955
  `, "image/svg+xml").firstChild;
9942
9956
  }
9943
- function Ao() {
9957
+ function Po() {
9944
9958
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9945
9959
  <path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z"></path>
9946
9960
  </svg>
9947
9961
  `, "image/svg+xml").firstChild;
9948
9962
  }
9949
- var Lo = /* @__PURE__ */ function(o) {
9950
- R(r, o);
9951
- var a = F(r);
9963
+ var Ao = /* @__PURE__ */ function(o) {
9964
+ F(r, o);
9965
+ var a = M(r);
9952
9966
  function r() {
9953
9967
  var t;
9954
9968
  L(this, r);
@@ -9962,7 +9976,7 @@ var Lo = /* @__PURE__ */ function(o) {
9962
9976
  key: "afterCreate",
9963
9977
  value: function() {
9964
9978
  var e = this;
9965
- N(M(r.prototype), "afterCreate", this).call(this);
9979
+ B(N(r.prototype), "afterCreate", this).call(this);
9966
9980
  var i = this.config, n = this.playerConfig;
9967
9981
  if (!i.disable) {
9968
9982
  i.target && (this.playerConfig.fullscreenTarget = this.config.target);
@@ -9981,7 +9995,7 @@ var Lo = /* @__PURE__ */ function(o) {
9981
9995
  var u = e.find(".xg-tips");
9982
9996
  u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
9983
9997
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
9984
- plugin: Io,
9998
+ plugin: xo,
9985
9999
  options: {
9986
10000
  config: {
9987
10001
  onClick: function(u) {
@@ -9997,11 +10011,11 @@ var Lo = /* @__PURE__ */ function(o) {
9997
10011
  value: function() {
9998
10012
  return {
9999
10013
  fullscreen: {
10000
- icon: Po,
10014
+ icon: Io,
10001
10015
  class: "xg-get-fullscreen"
10002
10016
  },
10003
10017
  exitFullscreen: {
10004
- icon: Ao,
10018
+ icon: Po,
10005
10019
  class: "xg-exit-fullscreen"
10006
10020
  }
10007
10021
  };
@@ -10009,7 +10023,7 @@ var Lo = /* @__PURE__ */ function(o) {
10009
10023
  }, {
10010
10024
  key: "destroy",
10011
10025
  value: function() {
10012
- N(M(r.prototype), "destroy", this).call(this), this.unbind(".xgplayer-icon", z.device === "mobile" ? "touchend" : "click", this.handleFullscreen), z.device === "mobile" && window.removeEventListener("orientationchange", this._onOrientationChange);
10026
+ B(N(r.prototype), "destroy", this).call(this), this.unbind(".xgplayer-icon", z.device === "mobile" ? "touchend" : "click", this.handleFullscreen), z.device === "mobile" && window.removeEventListener("orientationchange", this._onOrientationChange);
10013
10027
  }
10014
10028
  }, {
10015
10029
  key: "initIcons",
@@ -10082,9 +10096,9 @@ var Lo = /* @__PURE__ */ function(o) {
10082
10096
  };
10083
10097
  }
10084
10098
  }]), r;
10085
- }(Je), Do = /* @__PURE__ */ function(o) {
10086
- R(r, o);
10087
- var a = F(r);
10099
+ }(Ze), Lo = /* @__PURE__ */ function(o) {
10100
+ F(r, o);
10101
+ var a = M(r);
10088
10102
  function r(t) {
10089
10103
  var e;
10090
10104
  return L(this, r), e = a.call(this, t), e.isActiving = !1, e;
@@ -10118,9 +10132,9 @@ var Lo = /* @__PURE__ */ function(o) {
10118
10132
  var e = this;
10119
10133
  this.on([De, Pe, ge], function(i) {
10120
10134
  i.eventName === "durationchange" && (e.isActiving = !1), e.onTimeUpdate();
10121
- }), this.on(qe, function() {
10135
+ }), this.on(Xe, function() {
10122
10136
  e.onTimeUpdate(!0);
10123
- }), this.on(Ze, function() {
10137
+ }), this.on(qe, function() {
10124
10138
  e.onReset();
10125
10139
  });
10126
10140
  }
@@ -10238,9 +10252,9 @@ var Lo = /* @__PURE__ */ function(o) {
10238
10252
  };
10239
10253
  }
10240
10254
  }]), r;
10241
- }(G), Oo = /* @__PURE__ */ function(o) {
10242
- R(r, o);
10243
- var a = F(r);
10255
+ }(W), Do = /* @__PURE__ */ function(o) {
10256
+ F(r, o);
10257
+ var a = M(r);
10244
10258
  function r() {
10245
10259
  var t;
10246
10260
  L(this, r);
@@ -10376,30 +10390,30 @@ var Lo = /* @__PURE__ */ function(o) {
10376
10390
  }
10377
10391
  }]), r;
10378
10392
  }(ze);
10379
- function Ro() {
10393
+ function Oo() {
10380
10394
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
10381
10395
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
10382
10396
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M940.632 837.632l-72.192-72.192c65.114-64.745 105.412-154.386 105.412-253.44s-40.299-188.695-105.396-253.424l-0.016-0.016 72.192-72.192c83.639 83.197 135.401 198.37 135.401 325.632s-51.762 242.434-135.381 325.612l-0.020 0.020zM795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021z"></path>
10383
10397
  </svg>
10384
10398
  `, "image/svg+xml").firstChild;
10385
10399
  }
10386
- function Fo() {
10400
+ function Ro() {
10387
10401
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
10388
10402
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
10389
10403
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021zM795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021z"></path>
10390
10404
  </svg>
10391
10405
  `, "image/svg+xml").firstChild;
10392
10406
  }
10393
- function Mo() {
10407
+ function Fo() {
10394
10408
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
10395
10409
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
10396
10410
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M920.4 439.808l-108.544-109.056-72.704 72.704 109.568 108.544-109.056 108.544 72.704 72.704 108.032-109.568 108.544 109.056 72.704-72.704-109.568-108.032 109.056-108.544-72.704-72.704-108.032 109.568z"></path>
10397
10411
  </svg>
10398
10412
  `, "image/svg+xml").firstChild;
10399
10413
  }
10400
- var No = /* @__PURE__ */ function(o) {
10401
- R(r, o);
10402
- var a = F(r);
10414
+ var Mo = /* @__PURE__ */ function(o) {
10415
+ F(r, o);
10416
+ var a = M(r);
10403
10417
  function r() {
10404
10418
  var t;
10405
10419
  L(this, r);
@@ -10445,15 +10459,15 @@ var No = /* @__PURE__ */ function(o) {
10445
10459
  value: function() {
10446
10460
  return {
10447
10461
  volumeSmall: {
10448
- icon: Fo,
10462
+ icon: Ro,
10449
10463
  class: "xg-volume-small"
10450
10464
  },
10451
10465
  volumeLarge: {
10452
- icon: Ro,
10466
+ icon: Oo,
10453
10467
  class: "xg-volume"
10454
10468
  },
10455
10469
  volumeMuted: {
10456
- icon: Mo,
10470
+ icon: Fo,
10457
10471
  class: "xg-volume-mute"
10458
10472
  }
10459
10473
  };
@@ -10591,8 +10605,8 @@ var No = /* @__PURE__ */ function(o) {
10591
10605
  };
10592
10606
  }
10593
10607
  }]), r;
10594
- }(G);
10595
- function Bo() {
10608
+ }(W);
10609
+ function No() {
10596
10610
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
10597
10611
  <g>
10598
10612
  <path transform="scale(1.5 1.5)" d="M11.6665 9.16663H4.1665C2.78579 9.16663 1.6665 10.2859 1.6665 11.6666V15.8333C1.6665 17.214 2.78579 18.3333 4.1665 18.3333H11.6665C13.0472 18.3333 14.1665 17.214 14.1665 15.8333V11.6666C14.1665 10.2859 13.0472 9.16663 11.6665 9.16663Z" fill="white"/>
@@ -10606,9 +10620,9 @@ function Bo() {
10606
10620
  </svg>
10607
10621
  `, "image/svg+xml").firstChild;
10608
10622
  }
10609
- var Ho = /* @__PURE__ */ function(o) {
10610
- R(r, o);
10611
- var a = F(r);
10623
+ var Bo = /* @__PURE__ */ function(o) {
10624
+ F(r, o);
10625
+ var a = M(r);
10612
10626
  function r(t) {
10613
10627
  var e;
10614
10628
  return L(this, r), e = a.call(this, t), e.rotateDeg = e.config.rotateDeg || 0, e;
@@ -10618,7 +10632,7 @@ var Ho = /* @__PURE__ */ function(o) {
10618
10632
  value: function() {
10619
10633
  var e = this;
10620
10634
  if (!this.config.disable) {
10621
- 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(Ue, function() {
10635
+ B(N(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(Ue, function() {
10622
10636
  e.rotateDeg && e.config.innerRotate && h.setTimeout(e, function() {
10623
10637
  e.updateRotateDeg(e.rotateDeg, e.config.innerRotate);
10624
10638
  }, 100);
@@ -10630,7 +10644,7 @@ var Ho = /* @__PURE__ */ function(o) {
10630
10644
  }, {
10631
10645
  key: "destroy",
10632
10646
  value: function() {
10633
- N(M(r.prototype), "destroy", this).call(this), this.unbind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick);
10647
+ B(N(r.prototype), "destroy", this).call(this), this.unbind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick);
10634
10648
  }
10635
10649
  }, {
10636
10650
  key: "onBtnClick",
@@ -10652,9 +10666,9 @@ var Ho = /* @__PURE__ */ function(o) {
10652
10666
  webKitTransform: T,
10653
10667
  height: v,
10654
10668
  width: d
10655
- }, B = i ? f : u, x = i ? n.getPlugin("poster") : null;
10669
+ }, x = i ? f : u, O = i ? n.getPlugin("poster") : null;
10656
10670
  Object.keys(E).map(function(H) {
10657
- B.style[H] = E[H], x && x.root && (x.root.style[H] = E[H]);
10671
+ x.style[H] = E[H], O && O.root && (O.root.style[H] = E[H]);
10658
10672
  });
10659
10673
  }
10660
10674
  }, {
@@ -10669,7 +10683,7 @@ var Ho = /* @__PURE__ */ function(o) {
10669
10683
  key: "registerIcons",
10670
10684
  value: function() {
10671
10685
  return {
10672
- rotate: Bo
10686
+ rotate: No
10673
10687
  };
10674
10688
  }
10675
10689
  }, {
@@ -10701,15 +10715,15 @@ var Ho = /* @__PURE__ */ function(o) {
10701
10715
  };
10702
10716
  }
10703
10717
  }]), r;
10704
- }(Je);
10705
- function Uo() {
10718
+ }(Ze);
10719
+ function Ho() {
10706
10720
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10707
10721
  <path fill-rule="evenodd" clip-rule="evenodd"
10708
10722
  d="M16.5 4.3H3.5C3.38954 4.3 3.3 4.38954 3.3 4.5V15.5C3.3 15.6105 3.38954 15.7 3.5 15.7H8.50005L8.50006 17.5H3.5C2.39543 17.5 1.5 16.6046 1.5 15.5V4.5C1.5 3.39543 2.39543 2.5 3.5 2.5H16.5C17.6046 2.5 18.5 3.39543 18.5 4.5V8.5H16.7V4.5C16.7 4.38954 16.6105 4.3 16.5 4.3ZM12 11.5C11.4477 11.5 11 11.9477 11 12.5L11 16.5C11 17.0523 11.4478 17.5 12 17.5H17.5C18.0523 17.5 18.5 17.0523 18.5 16.5L18.5 12.5C18.5 11.9477 18.0523 11.5 17.5 11.5H12Z"
10709
10723
  fill="white" />
10710
10724
  </svg>`, "image/svg+xml").firstChild;
10711
10725
  }
10712
- function zo() {
10726
+ function Uo() {
10713
10727
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10714
10728
  <path fill-rule="evenodd" clip-rule="evenodd"
10715
10729
  d="M16.5 4.3H3.5C3.38954 4.3 3.3 4.38954 3.3 4.5V15.5C3.3 15.6105 3.38954 15.7 3.5 15.7H8.50005L8.50006 17.5H3.5C2.39543 17.5 1.5 16.6046 1.5 15.5V4.5C1.5 3.39543 2.39543 2.5 3.5 2.5H16.5C17.6046 2.5 18.5 3.39543 18.5 4.5V8.5H16.7V4.5C16.7 4.38954 16.6105 4.3 16.5 4.3ZM12 11.5C11.4477 11.5 11 11.9477 11 12.5L11 16.5C11 17.0523 11.4478 17.5 12 17.5H17.5C18.0523 17.5 18.5 17.0523 18.5 16.5L18.5 12.5C18.5 11.9477 18.0523 11.5 17.5 11.5H12Z"
@@ -10719,13 +10733,13 @@ function zo() {
10719
10733
  fill="white" />
10720
10734
  </svg>`, "image/svg+xml").firstChild;
10721
10735
  }
10722
- var tt = {
10736
+ var et = {
10723
10737
  PIP: "picture-in-picture",
10724
10738
  INLINE: "inline",
10725
10739
  FULLSCREEN: "fullscreen"
10726
- }, Vo = /* @__PURE__ */ function(o) {
10727
- R(r, o);
10728
- var a = F(r);
10740
+ }, zo = /* @__PURE__ */ function(o) {
10741
+ F(r, o);
10742
+ var a = M(r);
10729
10743
  function r() {
10730
10744
  var t;
10731
10745
  L(this, r);
@@ -10754,7 +10768,7 @@ var tt = {
10754
10768
  key: "afterCreate",
10755
10769
  value: function() {
10756
10770
  var e = this;
10757
- this.isPIPAvailable() && (N(M(r.prototype), "afterCreate", this).call(this), this.pMode = tt.INLINE, this.initPipEvents(), this.config.showIcon && this.initIcons(), this.once(Nt, function() {
10771
+ this.isPIPAvailable() && (B(N(r.prototype), "afterCreate", this).call(this), this.pMode = et.INLINE, this.initPipEvents(), this.config.showIcon && this.initIcons(), this.once(Nt, function() {
10758
10772
  e.config.showIcon && (h.removeClass(e.find(".xgplayer-icon"), "xg-icon-disable"), e.bind("click", e.switchPIP));
10759
10773
  }));
10760
10774
  }
@@ -10763,11 +10777,11 @@ var tt = {
10763
10777
  value: function() {
10764
10778
  return {
10765
10779
  pipIcon: {
10766
- icon: Uo,
10780
+ icon: Ho,
10767
10781
  class: "xg-get-pip"
10768
10782
  },
10769
10783
  pipIconExit: {
10770
- icon: zo,
10784
+ icon: Uo,
10771
10785
  class: "xg-exit-pip"
10772
10786
  }
10773
10787
  };
@@ -10791,7 +10805,7 @@ var tt = {
10791
10805
  i.emit(gi, !0), n != null && n.pictureInPictureWindow && (e.pipWindow = n.pictureInPictureWindow), e.setAttr("data-state", "pip");
10792
10806
  }, this.onWebkitpresentationmodechanged = function(n) {
10793
10807
  var s = i.media.webkitPresentationMode;
10794
- e.pMode === tt.FULLSCREEN && s !== tt.FULLSCREEN && i.onFullscreenChange(null, !1), e.pMode = s, s === tt.PIP ? e.enterPIPCallback(n) : s === tt.INLINE && e.leavePIPCallback(n);
10808
+ e.pMode === et.FULLSCREEN && s !== et.FULLSCREEN && i.onFullscreenChange(null, !1), e.pMode = s, s === et.PIP ? e.enterPIPCallback(n) : s === et.INLINE && e.leavePIPCallback(n);
10795
10809
  }, i.media && (i.media.addEventListener("enterpictureinpicture", this.enterPIPCallback), i.media.addEventListener("leavepictureinpicture", this.leavePIPCallback), r.checkWebkitSetPresentationMode(i.media) && i.media.addEventListener("webkitpresentationmodechanged", this.onWebkitpresentationmodechanged));
10796
10810
  }
10797
10811
  }, {
@@ -10838,7 +10852,7 @@ var tt = {
10838
10852
  } else d === i.root && T.append(`
10839
10853
  .xgplayer{width: 100%!important; height: 100%!important;}
10840
10854
  `);
10841
- f.document.head.append(T), f.document.body.append(d), f.addEventListener("pagehide", function(B) {
10855
+ f.document.head.append(T), f.document.body.append(d), f.addEventListener("pagehide", function(x) {
10842
10856
  v && (C ? v.insertBefore(d, C) : m ? v.insertBefore(d, m.nextSibling) : v.appendChild(d)), e.leavePIPCallback();
10843
10857
  }, {
10844
10858
  once: !0
@@ -10868,7 +10882,7 @@ var tt = {
10868
10882
  key: "isPip",
10869
10883
  get: function() {
10870
10884
  var e, i = this.player;
10871
- return !!(this.isDocPIPAvailable() && (e = documentPictureInPicture) !== null && e !== void 0 && e.window) || document.pictureInPictureElement && document.pictureInPictureElement === i.media || i.media.webkitPresentationMode === tt.PIP;
10885
+ return !!(this.isDocPIPAvailable() && (e = documentPictureInPicture) !== null && e !== void 0 && e.window) || document.pictureInPictureElement && document.pictureInPictureElement === i.media || i.media.webkitPresentationMode === et.PIP;
10872
10886
  }
10873
10887
  }, {
10874
10888
  key: "isPIPAvailable",
@@ -10884,7 +10898,7 @@ var tt = {
10884
10898
  }, {
10885
10899
  key: "destroy",
10886
10900
  value: function() {
10887
- N(M(r.prototype), "destroy", this).call(this);
10901
+ B(N(r.prototype), "destroy", this).call(this);
10888
10902
  var e = this.player;
10889
10903
  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);
10890
10904
  }
@@ -10923,16 +10937,16 @@ var tt = {
10923
10937
  return typeof e.webkitSetPresentationMode == "function";
10924
10938
  }
10925
10939
  }]), r;
10926
- }(Je);
10927
- function jo() {
10940
+ }(Ze);
10941
+ function Vo() {
10928
10942
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
10929
10943
  <path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
10930
10944
  </svg>
10931
10945
  `, "image/svg+xml").firstChild;
10932
10946
  }
10933
- var Wo = /* @__PURE__ */ function(o) {
10934
- R(r, o);
10935
- var a = F(r);
10947
+ var jo = /* @__PURE__ */ function(o) {
10948
+ F(r, o);
10949
+ var a = M(r);
10936
10950
  function r(t) {
10937
10951
  var e;
10938
10952
  return L(this, r), e = a.call(this, t), _(y(e), "playNext", function(i) {
@@ -10949,7 +10963,7 @@ var Wo = /* @__PURE__ */ function(o) {
10949
10963
  key: "registerIcons",
10950
10964
  value: function() {
10951
10965
  return {
10952
- playNext: jo
10966
+ playNext: Vo
10953
10967
  };
10954
10968
  }
10955
10969
  }, {
@@ -10998,56 +11012,56 @@ var Wo = /* @__PURE__ */ function(o) {
10998
11012
  };
10999
11013
  }
11000
11014
  }]), r;
11001
- }(G), bt = { exports: {} }, Go = bt.exports, Tn;
11002
- function $o() {
11015
+ }(W), bt = { exports: {} }, Wo = bt.exports, Tn;
11016
+ function Go() {
11003
11017
  return Tn || (Tn = 1, function(o, a) {
11004
11018
  (function(r, t) {
11005
11019
  o.exports = t();
11006
- })(Go, function() {
11020
+ })(Wo, function() {
11007
11021
  return function r(t, e, i) {
11008
- var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, f = document.createElement("a"), g = function(O) {
11009
- return String(O);
11022
+ var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, f = document.createElement("a"), g = function(R) {
11023
+ return String(R);
11010
11024
  }, p = n.Blob || n.MozBlob || n.WebKitBlob || g, d = e || "download", v, m;
11011
11025
  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], f.href = c, f.href.indexOf(c) !== -1)) {
11012
11026
  var C = new XMLHttpRequest();
11013
- return C.open("GET", c, !0), C.responseType = "blob", C.onload = function(O) {
11014
- r(O.target.response, d, s);
11027
+ return C.open("GET", c, !0), C.responseType = "blob", C.onload = function(R) {
11028
+ r(R.target.response, d, s);
11015
11029
  }, setTimeout(function() {
11016
11030
  C.send();
11017
11031
  }, 0), C;
11018
11032
  }
11019
11033
  if (/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(u))
11020
11034
  if (u.length > 1024 * 1024 * 1.999 && p !== g)
11021
- u = x(u), l = u.type || s;
11035
+ u = O(u), l = u.type || s;
11022
11036
  else
11023
11037
  return navigator.msSaveBlob ? (
11024
11038
  // IE10 can't do a[download], only Blobs:
11025
- navigator.msSaveBlob(x(u), d)
11039
+ navigator.msSaveBlob(O(u), d)
11026
11040
  ) : H(u);
11027
11041
  else if (/([\x80-\xff])/.test(u)) {
11028
- var T = 0, E = new Uint8Array(u.length), B = E.length;
11029
- for (T; T < B; ++T) E[T] = u.charCodeAt(T);
11042
+ var T = 0, E = new Uint8Array(u.length), x = E.length;
11043
+ for (T; T < x; ++T) E[T] = u.charCodeAt(T);
11030
11044
  u = new p([E], { type: l });
11031
11045
  }
11032
11046
  v = u instanceof p ? u : new p([u], { type: l });
11033
- function x(O) {
11034
- var J = O.split(/[:;,]/), q = J[1], A = J[2] == "base64" ? atob : decodeURIComponent, ie = A(J.pop()), oe = ie.length, he = 0, Ee = new Uint8Array(oe);
11047
+ function O(R) {
11048
+ var te = R.split(/[:;,]/), q = te[1], A = te[2] == "base64" ? atob : decodeURIComponent, ie = A(te.pop()), oe = ie.length, he = 0, Ee = new Uint8Array(oe);
11035
11049
  for (he; he < oe; ++he) Ee[he] = ie.charCodeAt(he);
11036
11050
  return new p([Ee], { type: q });
11037
11051
  }
11038
- function H(O, J) {
11052
+ function H(R, te) {
11039
11053
  if ("download" in f)
11040
- return f.href = O, f.setAttribute("download", d), f.className = "download-js-link", f.innerHTML = "downloading...", f.style.display = "none", document.body.appendChild(f), setTimeout(function() {
11041
- f.click(), document.body.removeChild(f), J === !0 && setTimeout(function() {
11054
+ return f.href = R, f.setAttribute("download", d), f.className = "download-js-link", f.innerHTML = "downloading...", f.style.display = "none", document.body.appendChild(f), setTimeout(function() {
11055
+ f.click(), document.body.removeChild(f), te === !0 && setTimeout(function() {
11042
11056
  n.URL.revokeObjectURL(f.href);
11043
11057
  }, 250);
11044
11058
  }, 66), !0;
11045
11059
  if (/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))
11046
- return /^data:/.test(O) && (O = "data:" + O.replace(/^data:([\w\/\-\+]+)/, s)), window.open(O) || confirm(`Displaying New Document
11060
+ return /^data:/.test(R) && (R = "data:" + R.replace(/^data:([\w\/\-\+]+)/, s)), window.open(R) || confirm(`Displaying New Document
11047
11061
 
11048
- Use Save As... to download, then click back to return to this page.`) && (location.href = O), !0;
11062
+ Use Save As... to download, then click back to return to this page.`) && (location.href = R), !0;
11049
11063
  var q = document.createElement("iframe");
11050
- document.body.appendChild(q), !J && /^data:/.test(O) && (O = "data:" + O.replace(/^data:([\w\/\-\+]+)/, s)), q.src = O, setTimeout(function() {
11064
+ document.body.appendChild(q), !te && /^data:/.test(R) && (R = "data:" + R.replace(/^data:([\w\/\-\+]+)/, s)), q.src = R, setTimeout(function() {
11051
11065
  document.body.removeChild(q);
11052
11066
  }, 333);
11053
11067
  }
@@ -11062,7 +11076,7 @@ Use Save As... to download, then click back to return to this page.`) && (locati
11062
11076
  } catch {
11063
11077
  return H("data:" + l + "," + encodeURIComponent(v));
11064
11078
  }
11065
- m = new FileReader(), m.onload = function(O) {
11079
+ m = new FileReader(), m.onload = function(R) {
11066
11080
  H(this.result);
11067
11081
  }, m.readAsDataURL(v);
11068
11082
  }
@@ -11071,9 +11085,9 @@ Use Save As... to download, then click back to return to this page.`) && (locati
11071
11085
  });
11072
11086
  }(bt)), bt.exports;
11073
11087
  }
11074
- var Ko = $o();
11075
- const Yo = /* @__PURE__ */ mi(Ko);
11076
- function Xo() {
11088
+ var $o = Go();
11089
+ const Ko = /* @__PURE__ */ mi($o);
11090
+ function Yo() {
11077
11091
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
11078
11092
  <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
11079
11093
  <g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
@@ -11090,9 +11104,9 @@ function Xo() {
11090
11104
  </svg>
11091
11105
  `, "image/svg+xml").firstChild;
11092
11106
  }
11093
- var qo = /* @__PURE__ */ function(o) {
11094
- R(r, o);
11095
- var a = F(r);
11107
+ var Xo = /* @__PURE__ */ function(o) {
11108
+ F(r, o);
11109
+ var a = M(r);
11096
11110
  function r(t) {
11097
11111
  var e;
11098
11112
  return L(this, r), e = a.call(this, t), _(y(e), "download", function(i) {
@@ -11101,7 +11115,7 @@ var qo = /* @__PURE__ */ function(o) {
11101
11115
  var n = e.playerConfig.url, s = "";
11102
11116
  h.typeOf(n) === "String" ? s = n : h.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
11103
11117
  var l = e.getAbsoluteURL(s);
11104
- Yo(l), e.isLock = !0, e.timer = window.setTimeout(function() {
11118
+ Ko(l), e.isLock = !0, e.timer = window.setTimeout(function() {
11105
11119
  e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
11106
11120
  }, 300);
11107
11121
  }
@@ -11110,7 +11124,7 @@ var qo = /* @__PURE__ */ function(o) {
11110
11124
  return D(r, [{
11111
11125
  key: "afterCreate",
11112
11126
  value: function() {
11113
- 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, {
11127
+ B(N(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.appendChild(".xgplayer-icon", this.icons.download), this._handler = this.hook("click", this.download, {
11114
11128
  pre: function(i) {
11115
11129
  i.preventDefault(), i.stopPropagation();
11116
11130
  }
@@ -11120,7 +11134,7 @@ var qo = /* @__PURE__ */ function(o) {
11120
11134
  key: "registerIcons",
11121
11135
  value: function() {
11122
11136
  return {
11123
- download: Xo
11137
+ download: Yo
11124
11138
  };
11125
11139
  }
11126
11140
  }, {
@@ -11135,7 +11149,7 @@ var qo = /* @__PURE__ */ function(o) {
11135
11149
  }, {
11136
11150
  key: "destroy",
11137
11151
  value: function() {
11138
- N(M(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.download), window.clearTimeout(this.timer), this.timer = null;
11152
+ B(N(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.download), window.clearTimeout(this.timer), this.timer = null;
11139
11153
  }
11140
11154
  }, {
11141
11155
  key: "render",
@@ -11162,9 +11176,9 @@ var qo = /* @__PURE__ */ function(o) {
11162
11176
  };
11163
11177
  }
11164
11178
  }]), r;
11165
- }(Je), Zo = /* @__PURE__ */ function(o) {
11166
- R(r, o);
11167
- var a = F(r);
11179
+ }(Ze), qo = /* @__PURE__ */ function(o) {
11180
+ F(r, o);
11181
+ var a = M(r);
11168
11182
  function r() {
11169
11183
  return L(this, r), a.apply(this, arguments);
11170
11184
  }
@@ -11176,7 +11190,7 @@ var qo = /* @__PURE__ */ function(o) {
11176
11190
  }, {
11177
11191
  key: "afterCreate",
11178
11192
  value: function() {
11179
- N(M(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.screenshotIcon);
11193
+ B(N(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.screenshotIcon);
11180
11194
  var e = this.config;
11181
11195
  this.initSize = function(i) {
11182
11196
  e.fitVideo && (e.width = i.vWidth, e.height = i.vHeight);
@@ -11233,8 +11247,8 @@ var qo = /* @__PURE__ */ function(o) {
11233
11247
  d = u.media.canvas;
11234
11248
  else {
11235
11249
  n.canvas ? (n.canvas.width = e || l.width, n.canvas.height = i || l.height) : n.createCanvas(e, i), d = n.canvas, v = n.canvasCtx;
11236
- var m = u.media.videoWidth / u.media.videoHeight, C = d.width / d.height, T = 0, E = 0, B = u.media.videoWidth, x = u.media.videoHeight, H, O, J, q;
11237
- m > C ? (J = d.width, q = d.width / m, H = 0, O = Math.round((d.height - q) / 2)) : m === C ? (J = d.width, q = d.height, H = 0, O = 0) : m < C && (J = d.height * m, q = d.height, H = Math.round((d.width - J) / 2), O = 0), v.drawImage(u.media, T, E, B, x, H, O, J, q);
11250
+ var m = u.media.videoWidth / u.media.videoHeight, C = d.width / d.height, T = 0, E = 0, x = u.media.videoWidth, O = u.media.videoHeight, H, R, te, q;
11251
+ m > C ? (te = d.width, q = d.width / m, H = 0, R = Math.round((d.height - q) / 2)) : m === C ? (te = d.width, q = d.height, H = 0, R = 0) : m < C && (te = d.height * m, q = d.height, H = Math.round((d.width - te) / 2), R = 0), v.drawImage(u.media, T, E, x, O, H, R, te, q);
11238
11252
  }
11239
11253
  var A = d.toDataURL(f, c).replace(f, "image/octet-stream");
11240
11254
  A = A.replace(/^data:image\/[^;]+/, "data:application/octet-stream"), g(A);
@@ -11250,7 +11264,7 @@ var qo = /* @__PURE__ */ function(o) {
11250
11264
  }, {
11251
11265
  key: "destroy",
11252
11266
  value: function() {
11253
- N(M(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(Ue, this.initSize);
11267
+ B(N(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(Ue, this.initSize);
11254
11268
  }
11255
11269
  }, {
11256
11270
  key: "render",
@@ -11288,7 +11302,7 @@ var qo = /* @__PURE__ */ function(o) {
11288
11302
  };
11289
11303
  }
11290
11304
  }]), r;
11291
- }(Je), Jo = /* @__PURE__ */ function() {
11305
+ }(Ze), Zo = /* @__PURE__ */ function() {
11292
11306
  function o(a) {
11293
11307
  L(this, o), this.config = a.config, this.parent = a.root, this.root = h.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), a.root.appendChild(this.root);
11294
11308
  var r = this.config.maxHeight;
@@ -11296,7 +11310,7 @@ var qo = /* @__PURE__ */ function(o) {
11296
11310
  maxHeight: r
11297
11311
  }), this.onItemClick = this.onItemClick.bind(this), this.renderItemList();
11298
11312
  var t = this.config.domEventType === "touch" ? "touchend" : "click";
11299
- this._delegates = G.delegate.call(this, this.root, "li", t, this.onItemClick);
11313
+ this._delegates = W.delegate.call(this, this.root, "li", t, this.onItemClick);
11300
11314
  }
11301
11315
  return D(o, [{
11302
11316
  key: "renderItemList",
@@ -11364,16 +11378,16 @@ var qo = /* @__PURE__ */ function(o) {
11364
11378
  SIDE: "side",
11365
11379
  MIDDLE: "middle",
11366
11380
  DEFAULT: "default"
11367
- }, it = {
11381
+ }, tt = {
11368
11382
  CLICK: "click",
11369
11383
  HOVER: "hover"
11370
11384
  };
11371
- function Qo(o, a) {
11385
+ function Jo(o, a) {
11372
11386
  return o === we.SIDE ? a === X.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
11373
11387
  }
11374
11388
  var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11375
- R(r, o);
11376
- var a = F(r);
11389
+ F(r, o);
11390
+ var a = M(r);
11377
11391
  function r(t) {
11378
11392
  var e;
11379
11393
  return L(this, r), e = a.call(this, t), _(y(e), "onEnter", function(i) {
@@ -11383,7 +11397,7 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11383
11397
  }), _(y(e), "switchActiveState", function(i) {
11384
11398
  i.stopPropagation();
11385
11399
  var n = e.config.toggleMode;
11386
- n === it.CLICK ? e.toggle(!e.isActive) : e.toggle(!0);
11400
+ n === tt.CLICK ? e.toggle(!e.isActive) : e.toggle(!0);
11387
11401
  }), _(y(e), "onLeave", function(i) {
11388
11402
  i.stopPropagation(), e.emit("icon_mouseleave", {
11389
11403
  pluginName: e.pluginName
@@ -11409,7 +11423,7 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11409
11423
  i.list && i.list.length > 0 && (e.renderItemList(i.list), e.show());
11410
11424
  }), We && this.on(wi, function() {
11411
11425
  e.isActive && (e.optionsList && e.optionsList.hide(), e.isActive = !1);
11412
- }), We ? (i.toggleMode = it.CLICK, this.activeEvent = "touchend") : this.activeEvent = i.toggleMode === it.CLICK ? "click" : "mouseenter", i.toggleMode === it.CLICK ? this.bind(this.activeEvent, this.switchActiveState) : (this.bind(this.activeEvent, this.onEnter), this.bind("mouseleave", this.onLeave)), this.isIcons && this.bind("click", this.onIconClick);
11426
+ }), We ? (i.toggleMode = tt.CLICK, this.activeEvent = "touchend") : this.activeEvent = i.toggleMode === tt.CLICK ? "click" : "mouseenter", i.toggleMode === tt.CLICK ? this.bind(this.activeEvent, this.switchActiveState) : (this.bind(this.activeEvent, this.onEnter), this.bind("mouseleave", this.onLeave)), this.isIcons && this.bind("click", this.onIconClick);
11413
11427
  }
11414
11428
  }, {
11415
11429
  key: "initIcons",
@@ -11482,7 +11496,7 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11482
11496
  var c = {
11483
11497
  config: {
11484
11498
  data: e || [],
11485
- className: Qo(s.listType, s.position),
11499
+ className: Jo(s.listType, s.position),
11486
11500
  onItemClick: function(v, m) {
11487
11501
  n.onItemClick(v, m);
11488
11502
  },
@@ -11492,7 +11506,7 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11492
11506
  };
11493
11507
  if (this.config.isShowIcon) {
11494
11508
  var f = this.player.root.getBoundingClientRect(), g = f.height, p = s.listType === we.MIDDLE ? g - 50 : g;
11495
- p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new Jo(c), this.changeCurrentText(), this.show();
11509
+ p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new Zo(c), this.changeCurrentText(), this.show();
11496
11510
  }
11497
11511
  this._resizeList();
11498
11512
  }
@@ -11510,7 +11524,7 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11510
11524
  key: "destroy",
11511
11525
  value: function() {
11512
11526
  var e = this.config;
11513
- e.toggleMode === it.CLICK ? this.unbind(this.activeEvent, this.switchActiveState) : (this.unbind(this.activeEvent, this.onEnter), this.unbind("mouseleave", this.onLeave)), this.isIcons && this.unbind("click", this.onIconClick), this.optionsList && (this.optionsList.destroy(), this.optionsList = null);
11527
+ e.toggleMode === tt.CLICK ? this.unbind(this.activeEvent, this.switchActiveState) : (this.unbind(this.activeEvent, this.onEnter), this.unbind("mouseleave", this.onLeave)), this.isIcons && this.unbind("click", this.onIconClick), this.optionsList && (this.optionsList.destroy(), this.optionsList = null);
11514
11528
  }
11515
11529
  }, {
11516
11530
  key: "render",
@@ -11538,14 +11552,14 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11538
11552
  hidePortrait: !0,
11539
11553
  isShowIcon: !1,
11540
11554
  isItemClickHide: !0,
11541
- toggleMode: it.HOVER,
11555
+ toggleMode: tt.HOVER,
11542
11556
  heightLimit: !0
11543
11557
  };
11544
11558
  }
11545
11559
  }]), r;
11546
- }(G), el = /* @__PURE__ */ function(o) {
11547
- R(r, o);
11548
- var a = F(r);
11560
+ }(W), Qo = /* @__PURE__ */ function(o) {
11561
+ F(r, o);
11562
+ var a = M(r);
11549
11563
  function r(t) {
11550
11564
  var e;
11551
11565
  return L(this, r), e = a.call(this, t), e.curTime = 0, e.isPaused = !0, e;
@@ -11562,7 +11576,7 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11562
11576
  key: "afterCreate",
11563
11577
  value: function() {
11564
11578
  var e = this;
11565
- N(M(r.prototype), "afterCreate", this).call(this), this.on("resourceReady", function(i) {
11579
+ B(N(r.prototype), "afterCreate", this).call(this), this.on("resourceReady", function(i) {
11566
11580
  e.changeDefinitionList(i);
11567
11581
  }), this.on(Si, function(i) {
11568
11582
  e.renderItemList(e.config.list, i.to);
@@ -11592,13 +11606,13 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11592
11606
  c.selected = !1;
11593
11607
  });
11594
11608
  var l = 0, u = i.map(function(c, f) {
11595
- var g = ee(ee({}, c), {}, {
11609
+ var g = Q(Q({}, c), {}, {
11596
11610
  showText: e.getTextByLang(c) || c.definition,
11597
11611
  selected: !1
11598
11612
  });
11599
11613
  return (c.selected || c.definition && c.definition == s) && (g.selected = !0, l = f), g;
11600
11614
  });
11601
- N(M(r.prototype), "renderItemList", this).call(this, u, l);
11615
+ B(N(r.prototype), "renderItemList", this).call(this, u, l);
11602
11616
  }
11603
11617
  }, {
11604
11618
  key: "changeDefinitionList",
@@ -11616,7 +11630,7 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11616
11630
  key: "onItemClick",
11617
11631
  value: function(e, i) {
11618
11632
  var n = this.player.definitionList;
11619
- N(M(r.prototype), "onItemClick", this).apply(this, arguments), this.emitUserAction(e, "change_definition", {
11633
+ B(N(r.prototype), "onItemClick", this).apply(this, arguments), this.emitUserAction(e, "change_definition", {
11620
11634
  from: i.from,
11621
11635
  to: i.to
11622
11636
  });
@@ -11632,7 +11646,7 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11632
11646
  }, {
11633
11647
  key: "defaultConfig",
11634
11648
  get: function() {
11635
- return ee(ee({}, Rt.defaultConfig), {}, {
11649
+ return Q(Q({}, Rt.defaultConfig), {}, {
11636
11650
  position: X.CONTROLS_RIGHT,
11637
11651
  index: 3,
11638
11652
  list: [],
@@ -11644,9 +11658,9 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11644
11658
  });
11645
11659
  }
11646
11660
  }]), r;
11647
- }(Rt), tl = /* @__PURE__ */ function(o) {
11648
- R(r, o);
11649
- var a = F(r);
11661
+ }(Rt), el = /* @__PURE__ */ function(o) {
11662
+ F(r, o);
11663
+ var a = M(r);
11650
11664
  function r(t) {
11651
11665
  var e;
11652
11666
  return L(this, r), e = a.call(this, t), e.curRate = 1, e;
@@ -11666,19 +11680,19 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11666
11680
  key: "afterCreate",
11667
11681
  value: function() {
11668
11682
  var e = this;
11669
- N(M(r.prototype), "afterCreate", this).call(this), this.on(jn, function() {
11683
+ B(N(r.prototype), "afterCreate", this).call(this), this.on(jn, function() {
11670
11684
  e.curValue !== e.player.playbackRate && e.renderItemList();
11671
11685
  }), this.renderItemList();
11672
11686
  }
11673
11687
  }, {
11674
11688
  key: "show",
11675
11689
  value: function(e) {
11676
- !this.config.list || this.config.list.length === 0 || N(M(r.prototype), "show", this).call(this);
11690
+ !this.config.list || this.config.list.length === 0 || B(N(r.prototype), "show", this).call(this);
11677
11691
  }
11678
11692
  }, {
11679
11693
  key: "onItemClick",
11680
11694
  value: function(e, i) {
11681
- N(M(r.prototype), "onItemClick", this).call(this, e, i);
11695
+ B(N(r.prototype), "onItemClick", this).call(this, e, i);
11682
11696
  var n = e.delegateTarget, s = Number(n.getAttribute("rate"));
11683
11697
  if (!s || s === this.curValue)
11684
11698
  return !1;
@@ -11703,7 +11717,7 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11703
11717
  };
11704
11718
  return c.rate === i && (c.selected = !0, n = u), c.showText = e.getTextByLang(l), c;
11705
11719
  });
11706
- N(M(r.prototype), "renderItemList", this).call(this, s, n);
11720
+ B(N(r.prototype), "renderItemList", this).call(this, s, n);
11707
11721
  }
11708
11722
  }, {
11709
11723
  key: "changeCurrentText",
@@ -11716,7 +11730,7 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11716
11730
  }, {
11717
11731
  key: "destroy",
11718
11732
  value: function() {
11719
- N(M(r.prototype), "destroy", this).call(this);
11733
+ B(N(r.prototype), "destroy", this).call(this);
11720
11734
  }
11721
11735
  }], [{
11722
11736
  key: "pluginName",
@@ -11726,7 +11740,7 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11726
11740
  }, {
11727
11741
  key: "defaultConfig",
11728
11742
  get: function() {
11729
- return ee(ee({}, Rt.defaultConfig), {}, {
11743
+ return Q(Q({}, Rt.defaultConfig), {}, {
11730
11744
  position: X.CONTROLS_RIGHT,
11731
11745
  index: 4,
11732
11746
  list: [2, 1.5, 1, 0.75, 0.5],
@@ -11737,21 +11751,21 @@ var We = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
11737
11751
  }
11738
11752
  }]), r;
11739
11753
  }(Rt);
11740
- function il() {
11754
+ function tl() {
11741
11755
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11742
11756
  <path fill="#fff" transform="scale(1.3, 1.3)" class='path_full' d="M9,10v1a.9.9,0,0,1-1,1,.9.9,0,0,1-1-1V9A.9.9,0,0,1,8,8h2a.9.9,0,0,1,1,1,.9.9,0,0,1-1,1Zm6,4V13a1,1,0,0,1,2,0v2a.9.9,0,0,1-1,1H14a1,1,0,0,1,0-2Zm3-7H6V17H18Zm2,0V17a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V7A2,2,0,0,1,6,5H18A2,2,0,0,1,20,7Z"></path>
11743
11757
  </svg>
11744
11758
  `, "image/svg+xml").firstChild;
11745
11759
  }
11746
- function nl() {
11760
+ function il() {
11747
11761
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11748
11762
  <path fill="#fff" transform="scale(1.3, 1.3)" d="M9,10V9a.9.9,0,0,1,1-1,.9.9,0,0,1,1,1v2a.9.9,0,0,1-1,1H8a.9.9,0,0,1-1-1,.9.9,0,0,1,1-1Zm6,4v1a1,1,0,0,1-2,0V13a.9.9,0,0,1,1-1h2a1,1,0,0,1,0,2Zm3-7H6V17H18Zm2,0V17a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V7A2,2,0,0,1,6,5H18A2,2,0,0,1,20,7Z"></path>
11749
11763
  </svg>
11750
11764
  `, "image/svg+xml").firstChild;
11751
11765
  }
11752
11766
  var En = /* @__PURE__ */ function(o) {
11753
- R(r, o);
11754
- var a = F(r);
11767
+ F(r, o);
11768
+ var a = M(r);
11755
11769
  function r() {
11756
11770
  return L(this, r), a.apply(this, arguments);
11757
11771
  }
@@ -11764,7 +11778,7 @@ var En = /* @__PURE__ */ function(o) {
11764
11778
  key: "afterCreate",
11765
11779
  value: function() {
11766
11780
  var e = this;
11767
- N(M(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(xt, function(i) {
11781
+ B(N(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(xt, function(i) {
11768
11782
  e.animate(i);
11769
11783
  }), this.btnClick = this.btnClick.bind(this), this.handleCssFullscreen = this.hook("cssFullscreen_change", this.btnClick, {
11770
11784
  pre: function(n) {
@@ -11803,11 +11817,11 @@ var En = /* @__PURE__ */ function(o) {
11803
11817
  value: function() {
11804
11818
  return {
11805
11819
  cssFullscreen: {
11806
- icon: il,
11820
+ icon: tl,
11807
11821
  class: "xg-get-cssfull"
11808
11822
  },
11809
11823
  exitCssFullscreen: {
11810
- icon: nl,
11824
+ icon: il,
11811
11825
  class: "xg-exit-cssfull"
11812
11826
  }
11813
11827
  };
@@ -11815,7 +11829,7 @@ var En = /* @__PURE__ */ function(o) {
11815
11829
  }, {
11816
11830
  key: "destroy",
11817
11831
  value: function() {
11818
- N(M(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.btnClick);
11832
+ B(N(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.btnClick);
11819
11833
  }
11820
11834
  }, {
11821
11835
  key: "render",
@@ -11843,9 +11857,9 @@ var En = /* @__PURE__ */ function(o) {
11843
11857
  };
11844
11858
  }
11845
11859
  }]), r;
11846
- }(Je), rl = /* @__PURE__ */ function(o) {
11847
- R(r, o);
11848
- var a = F(r);
11860
+ }(Ze), nl = /* @__PURE__ */ function(o) {
11861
+ F(r, o);
11862
+ var a = M(r);
11849
11863
  function r() {
11850
11864
  return L(this, r), a.apply(this, arguments);
11851
11865
  }
@@ -11904,9 +11918,9 @@ var En = /* @__PURE__ */ function(o) {
11904
11918
  return "error";
11905
11919
  }
11906
11920
  }]), r;
11907
- }(G), sl = /* @__PURE__ */ function(o) {
11908
- R(r, o);
11909
- var a = F(r);
11921
+ }(W), rl = /* @__PURE__ */ function(o) {
11922
+ F(r, o);
11923
+ var a = M(r);
11910
11924
  function r() {
11911
11925
  return L(this, r), a.apply(this, arguments);
11912
11926
  }
@@ -11982,7 +11996,7 @@ var En = /* @__PURE__ */ function(o) {
11982
11996
  };
11983
11997
  }
11984
11998
  }]), r;
11985
- }(G), Sn = {
11999
+ }(W), Sn = {
11986
12000
  time: 0,
11987
12001
  text: "",
11988
12002
  id: 1,
@@ -12134,7 +12148,7 @@ var xn = {
12134
12148
  return r.find('xg-spot[data-id="'.concat(a, '"]'));
12135
12149
  }
12136
12150
  };
12137
- function al(o) {
12151
+ function sl(o) {
12138
12152
  var a = o.config, r = o.player;
12139
12153
  Object.keys(xn).map(function(e) {
12140
12154
  o[e] = xn[e].bind(o);
@@ -12151,16 +12165,16 @@ function al(o) {
12151
12165
  o.positionDots();
12152
12166
  });
12153
12167
  }
12154
- var nt = {
12168
+ var it = {
12155
12169
  dragmove: "onProgressMove",
12156
12170
  dragstart: "onProgressDragStart",
12157
12171
  dragend: "onProgressDragEnd",
12158
12172
  click: "onProgressClick",
12159
12173
  mouseover: "onProgressMouseOver",
12160
12174
  mouseenter: "onProgressMouseOver"
12161
- }, ol = /* @__PURE__ */ function(o) {
12162
- R(r, o);
12163
- var a = F(r);
12175
+ }, al = /* @__PURE__ */ function(o) {
12176
+ F(r, o);
12177
+ var a = M(r);
12164
12178
  function r(t) {
12165
12179
  var e;
12166
12180
  return L(this, r), e = a.call(this, t), _(y(e), "onMousemove", function(i) {
@@ -12209,7 +12223,7 @@ var nt = {
12209
12223
  n.seekTime && e.player.seek(n.seekTime);
12210
12224
  }), this.transformTimeHook = this.hook("transformTime", function(i) {
12211
12225
  e.setTimeContent(h.format(i));
12212
- }), al(this), this.on(De, function() {
12226
+ }), sl(this), this.on(De, function() {
12213
12227
  e.show();
12214
12228
  }), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
12215
12229
  }
@@ -12231,8 +12245,8 @@ var nt = {
12231
12245
  key: "bindEvents",
12232
12246
  value: function() {
12233
12247
  var e = this, i = this.player.plugins.progress;
12234
- if (i && (Object.keys(nt).map(function(s) {
12235
- e[nt[s]] = e[nt[s]].bind(e), i.addCallBack(s, e[nt[s]]);
12248
+ if (i && (Object.keys(it).map(function(s) {
12249
+ e[it[s]] = e[it[s]].bind(e), i.addCallBack(s, e[it[s]]);
12236
12250
  }), z.device !== "mobile")) {
12237
12251
  this.bind(".xg-spot-info", "mousemove", this.onMousemove), this.bind(".xg-spot-info", "mousedown", this.onMousedown), this.bind(".xg-spot-info", "mouseup", this.onMouseup);
12238
12252
  var n = this.hook("previewClick", function() {
@@ -12390,8 +12404,8 @@ var nt = {
12390
12404
  key: "destroy",
12391
12405
  value: function() {
12392
12406
  var e = this, i = this.player.plugins.progress;
12393
- i && Object.keys(nt).map(function(n) {
12394
- i.removeCallBack(n, e[nt[n]]);
12407
+ i && Object.keys(it).map(function(n) {
12408
+ i.removeCallBack(n, e[it[n]]);
12395
12409
  }), this.videothumbnail = null, this.thumbnail = null, this.videoPreview && this.player.root.removeChild(this.videoPreview), this.unbind(".xg-spot-info", "mousemove", this.onMousemove), this.unbind(".xg-spot-info", "mousedown", this.onMousedown), this.unbind(".xg-spot-info", "mouseup", this.onMouseup), this.unbind(".xg-spot-content", "mouseup", this.handlerPreviewClick);
12396
12410
  }
12397
12411
  }, {
@@ -12433,9 +12447,9 @@ var nt = {
12433
12447
  };
12434
12448
  }
12435
12449
  }]), r;
12436
- }(G), ll = /* @__PURE__ */ function(o) {
12437
- R(r, o);
12438
- var a = F(r);
12450
+ }(W), ol = /* @__PURE__ */ function(o) {
12451
+ F(r, o);
12452
+ var a = M(r);
12439
12453
  function r(t) {
12440
12454
  var e;
12441
12455
  return L(this, r), e = a.call(this, t), e.ratio = 1, e.interval = null, e._preloadMark = {}, e;
@@ -12499,19 +12513,19 @@ var nt = {
12499
12513
  p = p > l ? l : p;
12500
12514
  var d = p < u * c ? 0 : Math.ceil(p / (u * c)) - 1, v = p - d * (c * u), m = v > 0 ? Math.ceil(v / c) - 1 : 0, C = v > 0 ? v - m * c - 1 : 0, T = 0, E = 0;
12501
12515
  if (i && n) {
12502
- var B = i / n;
12503
- B < f / g ? (E = n, T = E * (f / g)) : (T = i, E = T / (f / g));
12516
+ var x = i / n;
12517
+ x < f / g ? (E = n, T = E * (f / g)) : (T = i, E = T / (f / g));
12504
12518
  } else n ? i || (E = n || g, T = E * (f / g)) : (T = i || f, E = T / (f / g));
12505
- var x = this.getUrlByIndex(d);
12519
+ var O = this.getUrlByIndex(d);
12506
12520
  return {
12507
12521
  urlIndex: d,
12508
12522
  rowIndex: m,
12509
12523
  colIndex: C,
12510
- url: x,
12524
+ url: O,
12511
12525
  height: E,
12512
12526
  width: T,
12513
12527
  style: {
12514
- backgroundImage: "url(".concat(x, ")"),
12528
+ backgroundImage: "url(".concat(O, ")"),
12515
12529
  backgroundSize: "".concat(T * c, "px auto"),
12516
12530
  backgroundPosition: "-".concat(C * T, "px -").concat(m * E, "px"),
12517
12531
  width: "".concat(T, "px"),
@@ -12566,13 +12580,13 @@ var nt = {
12566
12580
  };
12567
12581
  }
12568
12582
  }]), r;
12569
- }(G);
12583
+ }(W);
12570
12584
  function si(o) {
12571
12585
  return o ? "background:".concat(o, ";") : "";
12572
12586
  }
12573
- var ul = /* @__PURE__ */ function(o) {
12574
- R(r, o);
12575
- var a = F(r);
12587
+ var ll = /* @__PURE__ */ function(o) {
12588
+ F(r, o);
12589
+ var a = M(r);
12576
12590
  function r() {
12577
12591
  var t;
12578
12592
  L(this, r);
@@ -12600,7 +12614,7 @@ var ul = /* @__PURE__ */ function(o) {
12600
12614
  key: "afterCreate",
12601
12615
  value: function() {
12602
12616
  var e = this;
12603
- this.root && (this.on(ge, this.onTimeupdate), this.on(Ze, function() {
12617
+ this.root && (this.on(ge, this.onTimeupdate), this.on(qe, function() {
12604
12618
  e.reset();
12605
12619
  }));
12606
12620
  }
@@ -12652,20 +12666,20 @@ var ul = /* @__PURE__ */ function(o) {
12652
12666
  };
12653
12667
  }
12654
12668
  }]), r;
12655
- }(G), rt = {
12669
+ }(W), nt = {
12656
12670
  REAL_TIME: "realtime",
12657
12671
  FIRST_FRAME: "firstframe",
12658
12672
  FRAME_RATE: "framerate",
12659
12673
  POSTER: "poster"
12660
12674
  };
12661
- function cl() {
12675
+ function ul() {
12662
12676
  try {
12663
12677
  return parseInt(window.performance.now(), 10);
12664
12678
  } catch {
12665
12679
  return (/* @__PURE__ */ new Date()).getTime();
12666
12680
  }
12667
12681
  }
12668
- function fl() {
12682
+ function cl() {
12669
12683
  try {
12670
12684
  var o = document.createElement("canvas").getContext;
12671
12685
  return !!o;
@@ -12673,9 +12687,9 @@ function fl() {
12673
12687
  return !1;
12674
12688
  }
12675
12689
  }
12676
- var Ct = null, hl = /* @__PURE__ */ function(o) {
12677
- R(r, o);
12678
- var a = F(r);
12690
+ var Ct = null, fl = /* @__PURE__ */ function(o) {
12691
+ F(r, o);
12692
+ var a = M(r);
12679
12693
  function r() {
12680
12694
  var t;
12681
12695
  L(this, r);
@@ -12694,8 +12708,8 @@ var Ct = null, hl = /* @__PURE__ */ function(o) {
12694
12708
  !t.player.paused && t._checkIfCanStart() && t.start(0, l);
12695
12709
  }
12696
12710
  }), _(y(t), "start", function(s, l) {
12697
- var u = t.player.video, c = cl(), f = t.checkVideoIsSupport(u);
12698
- !f || !t.canvasCtx || (l || (l = t.interval), t.stop(), u.videoWidth && u.videoHeight && (t.videoPI = u.videoHeight > 0 ? parseInt(u.videoWidth / u.videoHeight * 100, 10) : 0, (t.config.mode === rt.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(f, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? h.setTimeout(y(t), t.start, l) : h.requestAnimationFrame(t.start));
12711
+ var u = t.player.video, c = ul(), f = t.checkVideoIsSupport(u);
12712
+ !f || !t.canvasCtx || (l || (l = t.interval), t.stop(), u.videoWidth && u.videoHeight && (t.videoPI = u.videoHeight > 0 ? parseInt(u.videoWidth / u.videoHeight * 100, 10) : 0, (t.config.mode === nt.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(f, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? h.setTimeout(y(t), t.start, l) : h.requestAnimationFrame(t.start));
12699
12713
  }), _(y(t), "stop", function() {
12700
12714
  t.frameId && (t._loopType === "timer" ? h.clearTimeout(y(t), t.frameId) : h.cancelAnimationFrame(t.frameId), t.frameId = null);
12701
12715
  }), t;
@@ -12714,9 +12728,9 @@ var Ct = null, hl = /* @__PURE__ */ function(o) {
12714
12728
  x: 0,
12715
12729
  y: 0,
12716
12730
  pi: 0
12717
- }, this.isStart = !1, this._isLoaded = !1, this.videoPI = 0, this.preTime = 0, this.interval = parseInt(1e3 / l, 10), this.canvas = null, this.canvasCtx = null, this._frameCount = 0, this._loopType = this.config.mode !== rt.REAL_TIME && this.interval >= 1e3 ? "timer" : "animation", this.once(Nt, function() {
12731
+ }, this.isStart = !1, this._isLoaded = !1, this.videoPI = 0, this.preTime = 0, this.interval = parseInt(1e3 / l, 10), this.canvas = null, this.canvasCtx = null, this._frameCount = 0, this._loopType = this.config.mode !== nt.REAL_TIME && this.interval >= 1e3 ? "timer" : "animation", this.once(Nt, function() {
12718
12732
  e.player && (e.init(), e.renderByPoster(), e.player.paused || e.start());
12719
- }), s !== rt.POSTER && (s !== rt.FIRST_FRAME && (this.on(Ze, function() {
12733
+ }), s !== nt.POSTER && (s !== nt.FIRST_FRAME && (this.on(qe, function() {
12720
12734
  e.stop();
12721
12735
  }), this.on(pe, function() {
12722
12736
  var u = e.config.startInterval;
@@ -12788,7 +12802,7 @@ var Ct = null, hl = /* @__PURE__ */ function(o) {
12788
12802
  key: "_checkIfCanStart",
12789
12803
  value: function() {
12790
12804
  var e = this.config.mode;
12791
- return this._isLoaded && !this.player.paused && e !== rt.FIRST_FRAME && e !== rt.POSTER;
12805
+ return this._isLoaded && !this.player.paused && e !== nt.FIRST_FRAME && e !== nt.POSTER;
12792
12806
  }
12793
12807
  }, {
12794
12808
  key: "renderOnce",
@@ -12867,7 +12881,7 @@ var Ct = null, hl = /* @__PURE__ */ function(o) {
12867
12881
  }, {
12868
12882
  key: "isSupport",
12869
12883
  get: function() {
12870
- return typeof Ct == "boolean" || (Ct = fl()), Ct;
12884
+ return typeof Ct == "boolean" || (Ct = cl()), Ct;
12871
12885
  }
12872
12886
  }, {
12873
12887
  key: "supportCanvasFilter",
@@ -12875,7 +12889,7 @@ var Ct = null, hl = /* @__PURE__ */ function(o) {
12875
12889
  return !(z.browser === "safari" || z.browser === "firefox");
12876
12890
  }
12877
12891
  }]), r;
12878
- }(G), dl = {
12892
+ }(W), hl = {
12879
12893
  LANG: "zh-cn",
12880
12894
  TEXT: {
12881
12895
  ERROR_TYPES: {
@@ -12950,9 +12964,9 @@ var Ct = null, hl = /* @__PURE__ */ function(o) {
12950
12964
  FORWARD: "快进中",
12951
12965
  LIVE_TIP: "直播"
12952
12966
  }
12953
- }, ht = "info", ai = nr, gl = /* @__PURE__ */ function(o) {
12954
- R(r, o);
12955
- var a = F(r);
12967
+ }, ht = "info", ai = nr, dl = /* @__PURE__ */ function(o) {
12968
+ F(r, o);
12969
+ var a = M(r);
12956
12970
  function r() {
12957
12971
  var t;
12958
12972
  L(this, r);
@@ -12962,7 +12976,7 @@ var Ct = null, hl = /* @__PURE__ */ function(o) {
12962
12976
  var l = t._getTime(), u = Object.assign({}, s, {
12963
12977
  msg: s.msg || s.action
12964
12978
  });
12965
- t._stats[ht].push(ee(ee({
12979
+ t._stats[ht].push(Q(Q({
12966
12980
  type: "userAction"
12967
12981
  }, l), {}, {
12968
12982
  payload: u
@@ -13010,7 +13024,7 @@ var Ct = null, hl = /* @__PURE__ */ function(o) {
13010
13024
  key: "_info",
13011
13025
  value: function(e) {
13012
13026
  var i = this._getTime();
13013
- this._stats[ht].push(ee(ee({}, i), {}, {
13027
+ this._stats[ht].push(Q(Q({}, i), {}, {
13014
13028
  payload: e
13015
13029
  }));
13016
13030
  }
@@ -13018,7 +13032,7 @@ var Ct = null, hl = /* @__PURE__ */ function(o) {
13018
13032
  key: "_infoProfile",
13019
13033
  value: function(e) {
13020
13034
  if (e && e.startMs) {
13021
- var i = Date.now(), n = i - e.startMs, s = ee({
13035
+ var i = Date.now(), n = i - e.startMs, s = Q({
13022
13036
  cat: "function",
13023
13037
  dur: n,
13024
13038
  name: e.name || e.msg,
@@ -13095,8 +13109,8 @@ var Ct = null, hl = /* @__PURE__ */ function(o) {
13095
13109
  }
13096
13110
  }]), r;
13097
13111
  }(ze), hr = /* @__PURE__ */ function(o) {
13098
- R(r, o);
13099
- var a = F(r);
13112
+ F(r, o);
13113
+ var a = M(r);
13100
13114
  function r() {
13101
13115
  var t;
13102
13116
  L(this, r);
@@ -13182,11 +13196,11 @@ var Ct = null, hl = /* @__PURE__ */ function(o) {
13182
13196
  };
13183
13197
  }
13184
13198
  }]), r;
13185
- }(G);
13199
+ }(W);
13186
13200
  hr.BROWSER_GAP_TOLERANCE = 1e-3;
13187
- var pl = /* @__PURE__ */ function(o) {
13188
- R(r, o);
13189
- var a = F(r);
13201
+ var gl = /* @__PURE__ */ function(o) {
13202
+ F(r, o);
13203
+ var a = M(r);
13190
13204
  function r() {
13191
13205
  var t;
13192
13206
  L(this, r);
@@ -13230,16 +13244,16 @@ var pl = /* @__PURE__ */ function(o) {
13230
13244
  };
13231
13245
  }
13232
13246
  }]), r;
13233
- }(G), st = "cdn", wt = ["cdn"], vl = /* @__PURE__ */ function(o) {
13234
- R(r, o);
13235
- var a = F(r);
13247
+ }(W), rt = "cdn", wt = ["cdn"], pl = /* @__PURE__ */ function(o) {
13248
+ F(r, o);
13249
+ var a = M(r);
13236
13250
  function r() {
13237
13251
  var t;
13238
13252
  L(this, r);
13239
13253
  for (var e = arguments.length, i = new Array(e), n = 0; n < e; n++)
13240
13254
  i[n] = arguments[n];
13241
13255
  return t = a.call.apply(a, [this].concat(i)), _(y(t), "getSpeed", function() {
13242
- var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : st;
13256
+ var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : rt;
13243
13257
  if (!t.speedListCache || !t.speedListCache[s] || t.speedListCache[s].length <= 0)
13244
13258
  return 0;
13245
13259
  var l = 0;
@@ -13253,7 +13267,7 @@ var pl = /* @__PURE__ */ function(o) {
13253
13267
  t.speedListCache[s] = [];
13254
13268
  });
13255
13269
  }), _(y(t), "_onRealSpeedChange", function(s) {
13256
- s.speed && t.appendList(s.speed, s.type || st);
13270
+ s.speed && t.appendList(s.speed, s.type || rt);
13257
13271
  }), _(y(t), "testSpeed", function() {
13258
13272
  if (clearTimeout(t.timer), t.timer = null, !(!t.player || !t.config.openSpeed)) {
13259
13273
  var s = t.config, l = s.url, u = s.loadSize, c = s.testCnt, f = s.testTimeStep, g = l + (l.indexOf("?") < 0 ? "?testst=" : "&testst=") + Date.now();
@@ -13278,17 +13292,17 @@ var pl = /* @__PURE__ */ function(o) {
13278
13292
  }
13279
13293
  }
13280
13294
  }), _(y(t), "appendList", function(s) {
13281
- var l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st;
13295
+ var l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : rt;
13282
13296
  if (!(!t.speedListCache || !t.speedListCache[l])) {
13283
13297
  var u = t.config.saveSpeedMax;
13284
13298
  t.speedListCache[l].length >= u && t.speedListCache[l].shift(), t.speedListCache[l].push(s);
13285
13299
  var c = y(t), f = c.player;
13286
- f && (l === st ? f.realTimeSpeed = s : f[t.getSpeedName("realTime", l)] = s), t.updateSpeed(l);
13300
+ f && (l === rt ? f.realTimeSpeed = s : f[t.getSpeedName("realTime", l)] = s), t.updateSpeed(l);
13287
13301
  }
13288
13302
  }), _(y(t), "updateSpeed", function() {
13289
- var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : st, l = t.getSpeed(s), u = y(t), c = u.player;
13303
+ var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : rt, l = t.getSpeed(s), u = y(t), c = u.player;
13290
13304
  if (c)
13291
- if (s === st)
13305
+ if (s === rt)
13292
13306
  (!c.avgSpeed || l !== c.avgSpeed) && (c.avgSpeed = l, c.emit(hi, {
13293
13307
  speed: l,
13294
13308
  realTimeSpeed: c.realTimeSpeed
@@ -13356,9 +13370,9 @@ var pl = /* @__PURE__ */ function(o) {
13356
13370
  };
13357
13371
  }
13358
13372
  }]), r;
13359
- }(G), ml = /* @__PURE__ */ function(o) {
13360
- R(r, o);
13361
- var a = F(r);
13373
+ }(W), vl = /* @__PURE__ */ function(o) {
13374
+ F(r, o);
13375
+ var a = M(r);
13362
13376
  function r() {
13363
13377
  return L(this, r), a.apply(this, arguments);
13364
13378
  }
@@ -13372,9 +13386,9 @@ var pl = /* @__PURE__ */ function(o) {
13372
13386
  e._startTick();
13373
13387
  }), this.on(ut, function() {
13374
13388
  e._stopTick();
13375
- }), this.on(qe, function() {
13389
+ }), this.on(Xe, function() {
13376
13390
  e._stopTick();
13377
- }), this.on(Ze, function() {
13391
+ }), this.on(qe, function() {
13378
13392
  e._stopTick();
13379
13393
  }));
13380
13394
  }
@@ -13465,44 +13479,44 @@ var pl = /* @__PURE__ */ function(o) {
13465
13479
  };
13466
13480
  }
13467
13481
  }]), r;
13468
- }(G);
13469
- at.use(dl);
13470
- var yl = /* @__PURE__ */ D(function o(a, r) {
13482
+ }(W);
13483
+ st.use(hl);
13484
+ var ml = /* @__PURE__ */ D(function o(a, r) {
13471
13485
  var t, e, i;
13472
13486
  L(this, o);
13473
- var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [Oo, Eo, ul, ol, Do], u = [].concat(l, [So, Lo, Ho, Wo, el, tl, qo, Zo, No, Vo]), c = [ro, so, oo, wo, lo, rl, sl, ll, ho];
13474
- this.plugins = [gl, io].concat(ye(u), c, [hr, pl]);
13487
+ var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [Do, To, ll, al, Lo], u = [].concat(l, [Eo, Ao, Bo, jo, Qo, el, Xo, qo, Mo, zo]), c = [no, ro, ao, Co, oo, nl, rl, ol, fo];
13488
+ this.plugins = [dl, to].concat(ye(u), c, [hr, gl]);
13475
13489
  var f = n ? "mobile" : z.device;
13476
13490
  switch (f) {
13477
13491
  case "pc":
13478
- (t = this.plugins).push.apply(t, [wn, ni, En, vl, ml]);
13492
+ (t = this.plugins).push.apply(t, [wn, ni, En, pl, vl]);
13479
13493
  break;
13480
13494
  case "mobile":
13481
- (e = this.plugins).push.apply(e, [_o]);
13495
+ (e = this.plugins).push.apply(e, [yo]);
13482
13496
  break;
13483
13497
  default:
13484
13498
  (i = this.plugins).push.apply(i, [wn, ni, En]);
13485
13499
  }
13486
- (z.os.isIpad || f === "pc") && this.plugins.push(hl), z.os.isIpad && this.plugins.push(ni), this.ignores = [], this.i18n = [];
13500
+ (z.os.isIpad || f === "pc") && this.plugins.push(fl), z.os.isIpad && this.plugins.push(ni), this.ignores = [], this.i18n = [];
13487
13501
  }), _e = /* @__PURE__ */ function(o) {
13488
- R(r, o);
13489
- var a = F(r);
13502
+ F(r, o);
13503
+ var a = M(r);
13490
13504
  function r() {
13491
13505
  return L(this, r), a.apply(this, arguments);
13492
13506
  }
13493
13507
  return D(r);
13494
13508
  }(Ut);
13495
- _(_e, "defaultPreset", yl);
13509
+ _(_e, "defaultPreset", ml);
13496
13510
  _(_e, "Util", h);
13497
13511
  _(_e, "Sniffer", z);
13498
13512
  _(_e, "Errors", Et);
13499
- _(_e, "Events", Ra);
13500
- _(_e, "Plugin", G);
13513
+ _(_e, "Events", Oa);
13514
+ _(_e, "Plugin", W);
13501
13515
  _(_e, "BasePlugin", ze);
13502
- _(_e, "I18N", at);
13516
+ _(_e, "I18N", st);
13503
13517
  _(_e, "STATE_CLASS", S);
13504
13518
  _(_e, "InstManager", ur);
13505
- const _l = ["id"], kl = /* @__PURE__ */ te({
13519
+ const yl = ["id"], _l = /* @__PURE__ */ ee({
13506
13520
  name: "ElImageViewer",
13507
13521
  __name: "Player",
13508
13522
  props: /* @__PURE__ */ Tt({
@@ -13556,7 +13570,7 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13556
13570
  function g() {
13557
13571
  l("close"), u.value = !1, r.destroy();
13558
13572
  }
13559
- return ot(() => u.value, (p) => {
13573
+ return at(() => u.value, (p) => {
13560
13574
  p && gt(() => {
13561
13575
  r = new _e({
13562
13576
  id: c,
@@ -13565,12 +13579,12 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13565
13579
  });
13566
13580
  });
13567
13581
  }), (p, d) => {
13568
- const v = Xe("el-icon");
13582
+ const v = ot("el-icon");
13569
13583
  return u.value ? (k(), ue(Ln, {
13570
13584
  key: 0,
13571
13585
  to: "body"
13572
13586
  }, [
13573
- W(Dn, {
13587
+ $(Dn, {
13574
13588
  name: "viewer-fade",
13575
13589
  appear: ""
13576
13590
  }, {
@@ -13600,7 +13614,7 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13600
13614
  class: Y(I(f).e("canvas"))
13601
13615
  },
13602
13616
  [
13603
- w("div", { id: I(c) }, null, 8, _l),
13617
+ w("div", { id: I(c) }, null, 8, yl),
13604
13618
  P(" CLOSE "),
13605
13619
  w(
13606
13620
  "span",
@@ -13609,9 +13623,9 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13609
13623
  onClick: g
13610
13624
  },
13611
13625
  [
13612
- W(v, { onClick: g }, {
13626
+ $(v, { onClick: g }, {
13613
13627
  default: ne(() => [
13614
- W(I(Fn))
13628
+ $(I(Fn))
13615
13629
  ]),
13616
13630
  _: 1
13617
13631
  /* STABLE */
@@ -13636,46 +13650,46 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13636
13650
  ])) : P("v-if", !0);
13637
13651
  };
13638
13652
  }
13639
- }), Cl = /* @__PURE__ */ Ft(kl, [["__scopeId", "data-v-b301aa7d"]]), wl = Le(Cl), bl = {
13653
+ }), kl = /* @__PURE__ */ Ft(_l, [["__scopeId", "data-v-b301aa7d"]]), Cl = Le(kl), wl = {
13640
13654
  class: "approveProcess",
13641
13655
  id: "approveProcess"
13642
- }, Tl = ["id"], El = { class: "topBlock" }, Sl = { class: "left" }, xl = { class: "nodeBg" }, Il = ["src"], Pl = { class: "right" }, Al = { class: "topInfo" }, Ll = { key: 0 }, Dl = {
13656
+ }, bl = ["id"], Tl = { class: "topBlock" }, El = { class: "left" }, Sl = { class: "nodeBg" }, xl = ["src"], Il = { class: "right" }, Pl = { class: "topInfo" }, Al = { key: 0 }, Ll = {
13643
13657
  key: 0,
13644
13658
  class: "main-text"
13645
- }, Ol = { class: "name" }, Rl = { key: 0 }, Fl = { key: 0 }, Ml = { key: 1 }, Nl = { key: 0 }, Bl = { key: 0 }, Hl = { key: 1 }, Ul = { key: 1 }, zl = { class: "name" }, Vl = { key: 0 }, jl = { style: { color: "#000" } }, Wl = {
13659
+ }, Dl = { class: "name" }, Ol = { key: 0 }, Rl = { key: 0 }, Fl = { key: 1 }, Ml = { key: 0 }, Nl = { key: 0 }, Bl = { key: 1 }, Hl = { key: 1 }, Ul = { class: "name" }, zl = { key: 0 }, Vl = { style: { color: "#000" } }, jl = {
13646
13660
  class: "blue",
13647
13661
  style: { "margin-left": "5px", "font-size": "12px" }
13648
- }, Gl = { key: 1 }, $l = {
13662
+ }, Wl = { key: 1 }, Gl = {
13649
13663
  key: 0,
13650
13664
  class: "blue",
13651
13665
  style: { "font-size": "12px" }
13652
- }, Kl = { key: 1 }, Yl = {
13666
+ }, $l = { key: 1 }, Kl = {
13653
13667
  key: 0,
13654
13668
  class: "blue",
13655
13669
  style: { "font-size": "12px" }
13656
- }, Xl = {
13670
+ }, Yl = {
13657
13671
  key: 1,
13658
13672
  class: "blue",
13659
13673
  style: { "font-size": "12px" }
13660
- }, ql = { class: "time" }, Zl = { key: 0 }, Jl = { key: 1 }, Ql = ["onClick"], eu = ["onClick"], tu = {
13674
+ }, Xl = { class: "time" }, ql = { key: 0 }, Zl = { key: 1 }, Jl = ["onClick"], Ql = ["onClick"], eu = {
13661
13675
  key: 0,
13662
13676
  class: "opinion"
13663
- }, iu = { key: 0 }, nu = { key: 1 }, ru = { style: { color: "var(--el-text-color-primary)", "margin-left": "8px" } }, su = {
13677
+ }, tu = { key: 0 }, iu = { key: 1 }, nu = { style: { color: "var(--el-text-color-primary)", "margin-left": "8px" } }, ru = {
13664
13678
  key: 2,
13665
13679
  class: "annexImage"
13666
- }, au = {
13680
+ }, su = {
13667
13681
  key: 3,
13668
13682
  class: "approveList"
13669
- }, ou = { class: "nodeBg-list" }, lu = ["src"], uu = { key: 1 }, cu = {
13683
+ }, au = { class: "nodeBg-list" }, ou = ["src"], lu = { key: 1 }, uu = {
13670
13684
  key: 2,
13671
13685
  class: "ikapprove ikapprove-duihao2 green read"
13672
- }, fu = ["title"], hu = {
13686
+ }, cu = ["title"], fu = {
13673
13687
  key: 0,
13674
13688
  class: "branch"
13675
- }, du = { class: "branch-card" }, gu = { class: "branch-name" }, pu = {
13689
+ }, hu = { class: "branch-card" }, du = { class: "branch-name" }, gu = {
13676
13690
  name: "IkingApprovalProcessDetail"
13677
- }, vu = /* @__PURE__ */ te({
13678
- ...pu,
13691
+ }, pu = /* @__PURE__ */ ee({
13692
+ ...gu,
13679
13693
  props: {
13680
13694
  // 是否本地打开
13681
13695
  local: {
@@ -13735,7 +13749,7 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13735
13749
  emits: ["preview"],
13736
13750
  setup(o, { emit: a }) {
13737
13751
  const r = o, { cLoadUrl: t } = vi(r), e = In(ss(r));
13738
- ot(
13752
+ at(
13739
13753
  () => r.dataList,
13740
13754
  (c) => {
13741
13755
  c && (gt(() => {
@@ -13763,9 +13777,9 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13763
13777
  }, n = (c) => {
13764
13778
  var C, T, E;
13765
13779
  let f = document.createElement("div"), g = document.getElementById("approveProcess"), p = 0, d = (C = document.getElementById(`${c[0]}`)) == null ? void 0 : C.offsetWidth, v = (T = document.getElementById(`${c[0]}`)) == null ? void 0 : T.offsetLeft, m = (E = document.getElementById(`${c[0]}`)) == null ? void 0 : E.offsetTop;
13766
- c.forEach((B) => {
13767
- let x = document.getElementById(`${B}`);
13768
- p += x.offsetHeight;
13780
+ c.forEach((x) => {
13781
+ let O = document.getElementById(`${x}`);
13782
+ p += O.offsetHeight;
13769
13783
  }), setTimeout(() => {
13770
13784
  f.style.width = d + 32 + "px", f.style.height = p + "px", f.style.background = "#f9f9f9", f.style.position = "absolute", f.style.top = m - 16 + "px", f.style.left = v - 16 + "px", f.style.zIndex = -1, g == null || g.appendChild(f);
13771
13785
  });
@@ -13808,21 +13822,21 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13808
13822
  d.style.display = f;
13809
13823
  }, u = (c) => lt(t.value, c);
13810
13824
  return (c, f) => {
13811
- const g = Xe("el-image"), p = Xe("IkingApprovalProcessDetail");
13812
- return k(), b("div", bl, [
13825
+ const g = ot("el-image"), p = ot("IkingApprovalProcessDetail");
13826
+ return k(), b("div", wl, [
13813
13827
  (k(!0), b(
13814
13828
  re,
13815
13829
  null,
13816
13830
  xe(e.listData, (d, v) => {
13817
- var m, C, T, E, B, x, H, O, J, q;
13831
+ var m, C, T, E, x, O, H, R, te, q;
13818
13832
  return k(), b("div", {
13819
13833
  class: "approveBlock",
13820
13834
  id: d[e.defaultFile.nodeId],
13821
13835
  key: d[e.defaultFile.nodeId]
13822
13836
  }, [
13823
- w("div", El, [
13824
- w("div", Sl, [
13825
- w("span", xl, [
13837
+ w("div", Tl, [
13838
+ w("div", El, [
13839
+ w("span", Sl, [
13826
13840
  P(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
13827
13841
  ((m = d[e.defaultFile.approvePersonList]) == null ? void 0 : m.length) == 1 && d[e.defaultFile.approvePersonList][0].userAvatar ? (k(), b("img", {
13828
13842
  key: 0,
@@ -13831,7 +13845,7 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13831
13845
  d[e.defaultFile.approvePersonList][0].userAvatar
13832
13846
  ),
13833
13847
  alt: ""
13834
- }, null, 8, Il)) : (k(), b(
13848
+ }, null, 8, xl)) : (k(), b(
13835
13849
  re,
13836
13850
  { key: 1 },
13837
13851
  [
@@ -13869,23 +13883,23 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13869
13883
  )
13870
13884
  ])
13871
13885
  ]),
13872
- w("div", Pl, [
13873
- w("div", Al, [
13886
+ w("div", Il, [
13887
+ w("div", Pl, [
13874
13888
  w("div", null, [
13875
13889
  P(" 不是抄送节点 "),
13876
- e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), b("div", Ll, [
13890
+ e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), b("div", Al, [
13877
13891
  P(" 撤销,评论不显示节点名称 "),
13878
13892
  d[e.defaultFile.approveStatus] != e.statusOption.撤销 && d[e.defaultFile.approveStatus] != e.statusOption.评论 && d[e.defaultFile.nodeType] !== e.nodeType.并行分支 ? (k(), b(
13879
13893
  "div",
13880
- Dl,
13894
+ Ll,
13881
13895
  K(d[e.defaultFile.nodeTypeName]),
13882
13896
  1
13883
13897
  /* TEXT */
13884
13898
  )) : P("v-if", !0),
13885
13899
  P(" 名字+审批状态 "),
13886
- w("div", Ol, [
13900
+ w("div", Dl, [
13887
13901
  P(" 已审批节点文本 "),
13888
- d[e.defaultFile.lineType] == "solid" ? (k(), b("div", Rl, [
13902
+ d[e.defaultFile.lineType] == "solid" ? (k(), b("div", Ol, [
13889
13903
  w(
13890
13904
  "span",
13891
13905
  {
@@ -13900,13 +13914,13 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13900
13914
  P(" 发起,退回不显示状态 "),
13901
13915
  d[e.defaultFile.approveStatusName] && d[e.defaultFile.approveStatus] != e.statusOption.发起 && d[e.defaultFile.approveStatus] != e.statusOption.退回 ? (k(), b(
13902
13916
  "span",
13903
- Fl,
13917
+ Rl,
13904
13918
  K(d[e.defaultFile.approveStatus] == e.statusOption.评论 ? " 添加了评论" : d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
13905
13919
  1
13906
13920
  /* TEXT */
13907
13921
  )) : P("v-if", !0),
13908
13922
  P(" 退回状态显示 "),
13909
- d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), b("span", Ml, [
13923
+ d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), b("span", Fl, [
13910
13924
  f[0] || (f[0] = w(
13911
13925
  "span",
13912
13926
  {
@@ -13929,7 +13943,7 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13929
13943
  [
13930
13944
  P(" 待审批节点 "),
13931
13945
  w("div", null, [
13932
- ((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), b("span", Nl, [
13946
+ ((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), b("span", Ml, [
13933
13947
  Ke(
13934
13948
  K(d[e.defaultFile.originator]) + " ",
13935
13949
  1
@@ -13937,14 +13951,14 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13937
13951
  ),
13938
13952
  d[e.defaultFile.approveStatus] == e.statusOption.等待 ? (k(), b(
13939
13953
  "span",
13940
- Bl,
13954
+ Nl,
13941
13955
  K(d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
13942
13956
  1
13943
13957
  /* TEXT */
13944
13958
  )) : P("v-if", !0)
13945
13959
  ])) : d[e.defaultFile.approvePersonList] ? (k(), b(
13946
13960
  "span",
13947
- Hl,
13961
+ Bl,
13948
13962
  K(`${(T = d[e.defaultFile.approvePersonList]) == null ? void 0 : T.length}人${d[e.defaultFile.approveTypeName]}`),
13949
13963
  1
13950
13964
  /* TEXT */
@@ -13955,7 +13969,7 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13955
13969
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
13956
13970
  ))
13957
13971
  ])
13958
- ])) : (k(), b("div", Ul, [
13972
+ ])) : (k(), b("div", Hl, [
13959
13973
  f[2] || (f[2] = w(
13960
13974
  "div",
13961
13975
  { class: "main-text" },
@@ -13963,14 +13977,14 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13963
13977
  -1
13964
13978
  /* HOISTED */
13965
13979
  )),
13966
- w("div", zl, [
13980
+ w("div", Ul, [
13967
13981
  P(" 抄送一人时 "),
13968
- ((E = d[e.defaultFile.approvePersonList]) == null ? void 0 : E.length) == 1 ? (k(), b("span", Vl, [
13982
+ ((E = d[e.defaultFile.approvePersonList]) == null ? void 0 : E.length) == 1 ? (k(), b("span", zl, [
13969
13983
  w("span", null, [
13970
13984
  f[1] || (f[1] = Ke("已抄送给 ")),
13971
13985
  w(
13972
13986
  "span",
13973
- jl,
13987
+ Vl,
13974
13988
  K(d[e.defaultFile.approvePersonList][0].userName),
13975
13989
  1
13976
13990
  /* TEXT */
@@ -13978,24 +13992,24 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
13978
13992
  ]),
13979
13993
  w(
13980
13994
  "span",
13981
- Wl,
13995
+ jl,
13982
13996
  K(d[e.defaultFile.approvePersonList][0].status === "END" ? "已读" : "未读"),
13983
13997
  1
13984
13998
  /* TEXT */
13985
13999
  )
13986
14000
  ])) : P("v-if", !0),
13987
14001
  P(" 抄送多人时 "),
13988
- ((B = d[e.defaultFile.approvePersonList]) == null ? void 0 : B.length) > 1 ? (k(), b("span", Gl, [
14002
+ ((x = d[e.defaultFile.approvePersonList]) == null ? void 0 : x.length) > 1 ? (k(), b("span", Wl, [
13989
14003
  Ke(
13990
- K(`已抄送${(x = d[e.defaultFile.approvePersonList]) == null ? void 0 : x.length}人`) + " ",
14004
+ K(`已抄送${(O = d[e.defaultFile.approvePersonList]) == null ? void 0 : O.length}人`) + " ",
13991
14005
  1
13992
14006
  /* TEXT */
13993
14007
  ),
13994
- d[e.defaultFile.allRead] ? (k(), b("span", $l, " 全部已读 ")) : (k(), b("span", Kl, [
13995
- d[e.defaultFile.read] ? P("v-if", !0) : (k(), b("span", Yl, " 全部未读 ")),
14008
+ d[e.defaultFile.allRead] ? (k(), b("span", Gl, " 全部已读 ")) : (k(), b("span", $l, [
14009
+ d[e.defaultFile.read] ? P("v-if", !0) : (k(), b("span", Kl, " 全部未读 ")),
13996
14010
  d[e.defaultFile.read] ? (k(), b(
13997
14011
  "span",
13998
- Xl,
14012
+ Yl,
13999
14013
  K(d[e.defaultFile.read]) + "人已读 ",
14000
14014
  1
14001
14015
  /* TEXT */
@@ -14005,11 +14019,11 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
14005
14019
  ])
14006
14020
  ]))
14007
14021
  ]),
14008
- w("div", ql, [
14022
+ w("div", Xl, [
14009
14023
  P(" 不是抄送节点,展示时间 "),
14010
14024
  d[e.defaultFile.nodeType] != e.nodeType.抄送节点 && d[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (k(), b(
14011
14025
  "span",
14012
- Zl,
14026
+ ql,
14013
14027
  K(I(Tr).toDateTime(
14014
14028
  d[e.defaultFile.operationTime],
14015
14029
  "MM/DD HH:mm"
@@ -14018,16 +14032,16 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
14018
14032
  /* TEXT */
14019
14033
  )) : P("v-if", !0),
14020
14034
  P(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
14021
- d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((H = d[e.defaultFile.approvePersonList]) == null ? void 0 : H.length) > 1 ? (k(), b("span", Jl, [
14035
+ d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((H = d[e.defaultFile.approvePersonList]) == null ? void 0 : H.length) > 1 ? (k(), b("span", Zl, [
14022
14036
  d != null && d.show ? (k(), b("i", {
14023
14037
  key: 0,
14024
14038
  class: "ikapprove ikapprove-a-putongjiantouzhankai",
14025
14039
  onClick: (A) => l(d, "grid")
14026
- }, null, 8, Ql)) : (k(), b("i", {
14040
+ }, null, 8, Jl)) : (k(), b("i", {
14027
14041
  key: 1,
14028
14042
  onClick: (A) => l(d, "none"),
14029
14043
  class: "ikapprove ikapprove-a-putongjiantoushouqi"
14030
- }, null, 8, eu))
14044
+ }, null, 8, Ql))
14031
14045
  ])) : P("v-if", !0)
14032
14046
  ])
14033
14047
  ])
@@ -14043,15 +14057,15 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
14043
14057
  },
14044
14058
  [
14045
14059
  P(" 审批意见 "),
14046
- d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), b("div", tu, [
14060
+ d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), b("div", eu, [
14047
14061
  d[e.defaultFile.approveOpinion] ? (k(), b(
14048
14062
  "span",
14049
- iu,
14063
+ tu,
14050
14064
  K(d[e.defaultFile.approveOpinion]),
14051
14065
  1
14052
14066
  /* TEXT */
14053
14067
  )) : P("v-if", !0),
14054
- d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), b("span", nu, [
14068
+ d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), b("span", iu, [
14055
14069
  f[3] || (f[3] = w(
14056
14070
  "span",
14057
14071
  { class: "ik-text-primary" },
@@ -14064,7 +14078,7 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
14064
14078
  null,
14065
14079
  xe(d[e.defaultFile.countersignPer], (A, ie) => (k(), b(
14066
14080
  "span",
14067
- ru,
14081
+ nu,
14068
14082
  K(A == null ? void 0 : A.userName) + K(ie < d[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
14069
14083
  1
14070
14084
  /* TEXT */
@@ -14075,12 +14089,12 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
14075
14089
  ])) : P("v-if", !0)
14076
14090
  ])) : P("v-if", !0),
14077
14091
  P(" 附件 "),
14078
- (O = d[e.defaultFile.attachment]) != null && O.length ? (k(), ue(I(Cs), {
14092
+ (R = d[e.defaultFile.attachment]) != null && R.length ? (k(), ue(I(Cs), {
14079
14093
  key: 1,
14080
14094
  list: d[e.defaultFile.attachment]
14081
14095
  }, null, 8, ["list"])) : P("v-if", !0),
14082
14096
  P(" 附件图片 "),
14083
- (J = d[e.defaultFile.attachmentImg]) != null && J.length ? (k(), b("div", su, [
14097
+ (te = d[e.defaultFile.attachmentImg]) != null && te.length ? (k(), b("div", ru, [
14084
14098
  (k(!0), b(
14085
14099
  re,
14086
14100
  null,
@@ -14088,7 +14102,7 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
14088
14102
  class: "image",
14089
14103
  key: ie
14090
14104
  }, [
14091
- W(g, {
14105
+ $(g, {
14092
14106
  src: u(A),
14093
14107
  "preview-src-list": d[e.defaultFile.attachmentImg].map((oe) => u(oe)),
14094
14108
  fit: "cover",
@@ -14102,7 +14116,7 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
14102
14116
  ))
14103
14117
  ])) : P("v-if", !0),
14104
14118
  P(" 抄送节点或是等待审批状态并且列表长度大于1 "),
14105
- (d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((q = d[e.defaultFile.approvePersonList]) == null ? void 0 : q.length) > 1 ? (k(), b("div", au, [
14119
+ (d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((q = d[e.defaultFile.approvePersonList]) == null ? void 0 : q.length) > 1 ? (k(), b("div", su, [
14106
14120
  (k(!0), b(
14107
14121
  re,
14108
14122
  null,
@@ -14110,25 +14124,25 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
14110
14124
  class: "perBlock",
14111
14125
  key: A.userName
14112
14126
  }, [
14113
- w("span", ou, [
14127
+ w("span", au, [
14114
14128
  A.userAvatar ? (k(), b("img", {
14115
14129
  key: 0,
14116
14130
  style: { width: "100%", height: "100%", "border-radius": "50%" },
14117
14131
  src: u(A.userAvatar),
14118
14132
  alt: ""
14119
- }, null, 8, lu)) : (k(), b(
14133
+ }, null, 8, ou)) : (k(), b(
14120
14134
  "span",
14121
- uu,
14135
+ lu,
14122
14136
  K(A.userName.slice(-2)),
14123
14137
  1
14124
14138
  /* TEXT */
14125
14139
  )),
14126
- A.status === "END" ? (k(), b("i", cu)) : P("v-if", !0)
14140
+ A.status === "END" ? (k(), b("i", uu)) : P("v-if", !0)
14127
14141
  ]),
14128
14142
  w("div", {
14129
14143
  class: "main-text",
14130
14144
  title: A.userName
14131
- }, K(A.userName), 9, fu)
14145
+ }, K(A.userName), 9, cu)
14132
14146
  ]))),
14133
14147
  128
14134
14148
  /* KEYED_FRAGMENT */
@@ -14138,19 +14152,19 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
14138
14152
  4
14139
14153
  /* STYLE */
14140
14154
  ),
14141
- d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), b("div", hu, [
14155
+ d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), b("div", fu, [
14142
14156
  (k(!0), b(
14143
14157
  re,
14144
14158
  null,
14145
- xe(d[e.defaultFile.parallelInstances], (A) => (k(), b("div", du, [
14159
+ xe(d[e.defaultFile.parallelInstances], (A) => (k(), b("div", hu, [
14146
14160
  w(
14147
14161
  "div",
14148
- gu,
14162
+ du,
14149
14163
  K(A.name),
14150
14164
  1
14151
14165
  /* TEXT */
14152
14166
  ),
14153
- W(p, Pn({ ref_for: !0 }, r, {
14167
+ $(p, Pn({ ref_for: !0 }, r, {
14154
14168
  "data-list": (A == null ? void 0 : A.processInstanceNodes) || []
14155
14169
  }), null, 16, ["data-list"])
14156
14170
  ]))),
@@ -14158,7 +14172,7 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
14158
14172
  /* UNKEYED_FRAGMENT */
14159
14173
  ))
14160
14174
  ])) : P("v-if", !0)
14161
- ], 8, Tl);
14175
+ ], 8, bl);
14162
14176
  }),
14163
14177
  128
14164
14178
  /* KEYED_FRAGMENT */
@@ -14166,8 +14180,8 @@ const _l = ["id"], kl = /* @__PURE__ */ te({
14166
14180
  ]);
14167
14181
  };
14168
14182
  }
14169
- }), mu = /* @__PURE__ */ Ft(vu, [["__scopeId", "data-v-08d2843d"]]), Cu = Le(mu);
14183
+ }), vu = /* @__PURE__ */ Ft(pu, [["__scopeId", "data-v-08d2843d"]]), ku = Le(vu);
14170
14184
  export {
14171
- Cu as IkApprovalProcessDetail,
14172
- Cu as default
14185
+ ku as IkApprovalProcessDetail,
14186
+ ku as default
14173
14187
  };