tuikit-atomicx-vue3 3.4.1 → 3.4.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 (84) hide show
  1. package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
  2. package/dist/components/BarrageInput/TextEditor/EditorCore.js +2 -2
  3. package/dist/components/CoHostPanel/BattlePanel.js +16 -16
  4. package/dist/components/CoHostPanel/CoHostPanel.js +60 -55
  5. package/dist/components/CoHostPanel/ConnectionPanel.js +42 -42
  6. package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/BattleDecorate.js +1 -1
  7. package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/BattleUserDecorate.js +56 -49
  8. package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/CoHostDecorate.js +1 -1
  9. package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/LiveCoreDecorate.js +1 -1
  10. package/dist/components/{LiveCoreView → LiveView}/DefaultStreamViewUI.js +7 -7
  11. package/dist/components/{LiveCoreView → LiveView}/PlayerControl/AudioControl.js +16 -16
  12. package/dist/components/{LiveCoreView → LiveView}/PlayerControl/MultiResolution.js +15 -15
  13. package/dist/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControl.js +1 -1
  14. package/dist/components/{LiveCoreView/i18n/zh-CN → LiveView/i18n/en-US}/index.d.ts +1 -0
  15. package/dist/components/{LiveCoreView → LiveView}/i18n/en-US/index.js +2 -1
  16. package/dist/components/{LiveCoreView/i18n/en-US → LiveView/i18n/zh-CN}/index.d.ts +1 -0
  17. package/dist/components/{LiveCoreView → LiveView}/i18n/zh-CN/index.js +2 -1
  18. package/dist/components/LiveView/index.d.ts +79 -0
  19. package/dist/components/{LiveCoreView → LiveView}/index.js +44 -42
  20. package/dist/components/MessageInput/TextEditor/EditorCore.js +2 -2
  21. package/dist/components/StreamMixer/index.js +6 -6
  22. package/dist/{index-D-KJvDvy.js → index-Bm-QfV5o.js} +1 -1
  23. package/dist/{index-D88ja_7_.js → index-D2OVtqc8.js} +1705 -1705
  24. package/dist/index.js +140 -138
  25. package/dist/rtc/index.d.ts +2 -39
  26. package/dist/rtc/index.js +49 -48
  27. package/dist/states/BattleState.js +48 -48
  28. package/dist/styles/index.css +1 -1
  29. package/package.json +2 -2
  30. package/src/components/CoHostPanel/BattlePanel.vue +3 -3
  31. package/src/components/CoHostPanel/CoHostPanel.vue +11 -3
  32. package/src/components/CoHostPanel/ConnectionPanel.vue +4 -4
  33. package/src/components/{LiveCoreView → LiveView}/CoreViewDecorate/BattleUserDecorate.vue +28 -29
  34. package/src/components/{LiveCoreView → LiveView}/i18n/en-US/index.ts +1 -0
  35. package/src/components/{LiveCoreView → LiveView}/i18n/zh-CN/index.ts +1 -0
  36. package/src/components/{LiveCoreView → LiveView}/index.ts +5 -2
  37. package/src/components/{LiveCoreView → LiveView}/index.vue +1 -1
  38. package/src/components/StreamMixer/index.vue +1 -1
  39. package/src/rtc/index.ts +2 -2
  40. package/dist/components/LiveCoreView/index.d.ts +0 -4
  41. /package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/BattleDecorate.vue.d.ts +0 -0
  42. /package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/BattleUserDecorate.vue.d.ts +0 -0
  43. /package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/CoHostDecorate.vue.d.ts +0 -0
  44. /package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/LiveCoreDecorate.vue.d.ts +0 -0
  45. /package/dist/components/{LiveCoreView → LiveView}/DefaultStreamViewUI.vue.d.ts +0 -0
  46. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/AudioControl.vue.d.ts +0 -0
  47. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/MultiResolution.vue.d.ts +0 -0
  48. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControl.vue.d.ts +0 -0
  49. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControlState.d.ts +0 -0
  50. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControlState.js +0 -0
  51. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/index.d.ts +0 -0
  52. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/index.js +0 -0
  53. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/utils/deviceDetection.d.ts +0 -0
  54. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/utils/deviceDetection.js +0 -0
  55. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/utils/domHelpers.d.ts +0 -0
  56. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/utils/domHelpers.js +0 -0
  57. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/utils/fullscreenManager.d.ts +0 -0
  58. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/utils/fullscreenManager.js +0 -0
  59. /package/dist/components/{LiveCoreView → LiveView}/i18n/index.d.ts +0 -0
  60. /package/dist/components/{LiveCoreView → LiveView}/i18n/index.js +0 -0
  61. /package/dist/components/{LiveCoreView → LiveView}/index.vue.d.ts +0 -0
  62. /package/src/components/{LiveCoreView → LiveView}/CoreViewDecorate/BattleDecorate.vue +0 -0
  63. /package/src/components/{LiveCoreView → LiveView}/CoreViewDecorate/CoHostDecorate.vue +0 -0
  64. /package/src/components/{LiveCoreView → LiveView}/CoreViewDecorate/LiveCoreDecorate.vue +0 -0
  65. /package/src/components/{LiveCoreView → LiveView}/DefaultStreamViewUI.vue +0 -0
  66. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/AudioControl.vue +0 -0
  67. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/MultiResolution.vue +0 -0
  68. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControl.module.scss +0 -0
  69. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControl.vue +0 -0
  70. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControlState.ts +0 -0
  71. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/index.ts +0 -0
  72. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/utils/deviceDetection.ts +0 -0
  73. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/utils/domHelpers.ts +0 -0
  74. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/utils/fullscreenManager.ts +0 -0
  75. /package/src/components/{LiveCoreView → LiveView}/assets/img/defeat.png +0 -0
  76. /package/src/components/{LiveCoreView → LiveView}/assets/img/draw.png +0 -0
  77. /package/src/components/{LiveCoreView → LiveView}/assets/img/victory.png +0 -0
  78. /package/src/components/{LiveCoreView → LiveView}/assets/svg/BattleOrdinaryBadge.svg +0 -0
  79. /package/src/components/{LiveCoreView → LiveView}/assets/svg/BattleTopBadge.svg +0 -0
  80. /package/src/components/{LiveCoreView → LiveView}/assets/svg/blueBkg.svg +0 -0
  81. /package/src/components/{LiveCoreView → LiveView}/assets/svg/redBkg.svg +0 -0
  82. /package/src/components/{LiveCoreView → LiveView}/assets/svg/s.svg +0 -0
  83. /package/src/components/{LiveCoreView → LiveView}/assets/svg/v.svg +0 -0
  84. /package/src/components/{LiveCoreView → LiveView}/i18n/index.ts +0 -0
@@ -1,38 +1,38 @@
1
- import { addI18n as G } from "../../i18n/index.js";
2
- import re from "./DefaultStreamViewUI.js";
3
- import { defineComponent as ie, useSlots as oe, computed as n, ref as p, onMounted as T, onBeforeUnmount as D, watch as P, createElementBlock as x, openBlock as v, normalizeClass as ne, createCommentVNode as w, createElementVNode as N, createBlock as M, toDisplayString as ue, unref as g, normalizeStyle as A, renderSlot as E, createVNode as se, Fragment as ve, renderList as he, mergeProps as K, normalizeProps as ce, Teleport as de } from "vue";
4
- import { useUIKit as fe } from "@tencentcloud/uikit-base-component-vue3";
5
- import { useLiveSeatState as me } from "../../states/LiveSeatState/index.js";
6
- import { useLiveState as pe } from "../../states/LiveState/index.js";
7
- import { useLoginState as we } from "../../states/LoginState.js";
1
+ import { addI18n as J } from "../../i18n/index.js";
2
+ import oe from "./DefaultStreamViewUI.js";
3
+ import { defineComponent as ne, useSlots as ue, computed as n, ref as p, onMounted as T, onBeforeUnmount as D, watch as P, createElementBlock as x, openBlock as v, normalizeClass as se, createCommentVNode as w, createElementVNode as N, createBlock as M, toDisplayString as ve, unref as g, normalizeStyle as A, renderSlot as E, createVNode as he, Fragment as ce, renderList as de, mergeProps as K, normalizeProps as fe, Teleport as me } from "vue";
4
+ import { useUIKit as pe } from "@tencentcloud/uikit-base-component-vue3";
5
+ import { useLiveSeatState as we } from "../../states/LiveSeatState/index.js";
6
+ import { useLiveState as ge } from "../../states/LiveState/index.js";
7
+ import { useLoginState as ye } from "../../states/LoginState.js";
8
8
  import { getContentSize as j } from "../../utils/domOperation.js";
9
9
  import q from "./PlayerControl/PlayerControl.js";
10
- import ge from "./CoreViewDecorate/LiveCoreDecorate.js";
11
- import { usePlayerControlState as ye } from "./PlayerControl/PlayerControlState.js";
12
- import { isMobile as Ie } from "../../utils/env.js";
13
- import { _ as Se } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
14
- import { resource as xe } from "./i18n/en-US/index.js";
10
+ import Ie from "./CoreViewDecorate/LiveCoreDecorate.js";
11
+ import { usePlayerControlState as Se } from "./PlayerControl/PlayerControlState.js";
12
+ import { isMobile as G } from "../../utils/env.js";
13
+ import { _ as xe } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
14
+ import { resource as Le } from "./i18n/en-US/index.js";
15
15
  import { resource as Ce } from "./i18n/zh-CN/index.js";
16
- const Le = {
16
+ const Ve = {
17
17
  key: 0,
18
18
  class: "live-core-placeholder"
19
- }, Ve = { class: "placeholder-text" }, ze = {
19
+ }, ze = { class: "placeholder-text" }, Me = {
20
20
  key: 0,
21
21
  class: "live-core-ui"
22
- }, Me = /* @__PURE__ */ ie({
22
+ }, $e = /* @__PURE__ */ ne({
23
23
  __name: "index",
24
- setup($e) {
25
- const { isFullscreen: X, isLandscapeStyleMode: Y } = ye(), { t: J } = fe(), { seatList: d, canvas: u, startPlayStream: Q, stopPlayStream: Z } = me(), { currentLive: C } = pe(), ee = oe(), L = n(() => ee.localVideo), { loginUserInfo: $ } = we(), b = p(!1), R = p(!1), te = n(() => !(!L.value && V.value && h.value < c.value)), U = n(() => {
24
+ setup(be) {
25
+ const { isFullscreen: X, isLandscapeStyleMode: Y } = Se(), { t: Z } = pe(), { seatList: d, canvas: u, startPlayStream: ee, stopPlayStream: te } = we(), { currentLive: L } = ge(), ae = ue(), C = n(() => ae.localVideo), { loginUserInfo: $ } = ye(), b = p(!1), R = p(!1), le = n(() => !(!C.value && V.value && h.value < c.value && G)), U = n(() => {
26
26
  var e;
27
- return ((e = C.value) == null ? void 0 : e.liveId) && !d.value.some((l) => {
27
+ return ((e = L.value) == null ? void 0 : e.liveId) && !d.value.some((l) => {
28
28
  var t, a;
29
29
  return ((t = l.userInfo) == null ? void 0 : t.userId) === ((a = $.value) == null ? void 0 : a.userId);
30
30
  });
31
31
  });
32
32
  T(async () => {
33
- R.value = !0, await Q({ view: "atomicx-live-stream-content" }), b.value = !0;
33
+ R.value = !0, await ee({ view: "atomicx-live-stream-content" }), b.value = !0;
34
34
  }), D(async () => {
35
- R.value = !1, await Z(), b.value = !1;
35
+ R.value = !1, await te(), b.value = !1;
36
36
  });
37
37
  const V = p(!0), s = p(), _ = p({
38
38
  width: 0,
@@ -63,7 +63,7 @@ const Le = {
63
63
  })), z = n(() => d.value.map((e, l) => {
64
64
  var i, H;
65
65
  const t = k.value[l], a = V.value && I.value === "fill", o = d.value.length === 1 || ((i = e.region) == null ? void 0 : i.w) === u.value.width && ((H = e.region) == null ? void 0 : H.h) === u.value.height;
66
- return !L.value && a && o ? {
66
+ return !C.value && a && o ? {
67
67
  userInfo: e.userInfo,
68
68
  region: {
69
69
  position: "absolute",
@@ -85,10 +85,10 @@ const Le = {
85
85
  zIndex: Number(t.zOrder) || 0
86
86
  }
87
87
  };
88
- })), ae = n(() => z.value.find((e) => {
88
+ })), re = n(() => z.value.find((e) => {
89
89
  var l, t;
90
90
  return ((l = e == null ? void 0 : e.userInfo) == null ? void 0 : l.userId) === ((t = $.value) == null ? void 0 : t.userId);
91
- })), O = n(() => L.value ? z.value.filter((e) => {
91
+ })), O = n(() => C.value ? z.value.filter((e) => {
92
92
  var l, t;
93
93
  return ((l = e.userInfo) == null ? void 0 : l.userId) !== ((t = $.value) == null ? void 0 : t.userId);
94
94
  }) : z.value), f = n(() => {
@@ -126,13 +126,13 @@ const Le = {
126
126
  } else
127
127
  S(), r.value.scale = 1, r.value.transformX = 0, r.value.transformY = 0;
128
128
  }
129
- const le = n(() => ({
129
+ const ie = n(() => ({
130
130
  width: `${Math.floor(r.value.width) * r.value.scale}px`,
131
131
  height: `${Math.floor(r.value.height) * r.value.scale}px`,
132
132
  transform: `translate(${r.value.transformX * r.value.scale}px, ${r.value.transformY * r.value.scale}px)`
133
133
  })), m = n(() => {
134
134
  var e, l;
135
- return u.value.width && u.value.height ? `${u.value.width}:${u.value.height}` : C.value && ((e = C.value) == null ? void 0 : e.layoutTemplate) >= 200 && ((l = C.value) == null ? void 0 : l.layoutTemplate) <= 599 ? "16:9" : "9:16";
135
+ return u.value.width && u.value.height ? `${u.value.width}:${u.value.height}` : L.value && ((e = L.value) == null ? void 0 : e.layoutTemplate) >= 200 && ((l = L.value) == null ? void 0 : l.layoutTemplate) <= 599 ? "16:9" : "9:16";
136
136
  }), h = n(() => !m.value || m.value.indexOf(":") < 0 ? 0 : Number(m.value.split(":")[0])), c = n(() => !m.value || m.value.indexOf(":") < 0 ? 0 : Number(m.value.split(":")[1])), I = p(
137
137
  "fit"
138
138
  /* Fit */
@@ -146,7 +146,7 @@ const Le = {
146
146
  var a, o;
147
147
  return ((a = t.region) == null ? void 0 : a.w) === u.value.width && ((o = t.region) == null ? void 0 : o.h) === u.value.height;
148
148
  });
149
- !L.value && (e || l) ? I.value = "fill" : I.value = "fit", S();
149
+ !C.value && (e || l) ? I.value = "fill" : I.value = "fit", S();
150
150
  }, { deep: !0 });
151
151
  function S() {
152
152
  if (!s.value)
@@ -186,39 +186,39 @@ const Le = {
186
186
  ref_key: "liveCoreViewContainerRef",
187
187
  ref: s,
188
188
  id: "live-core-view-container",
189
- class: ne(["live-core-view-container", { "align-center": te.value }])
189
+ class: se(["live-core-view-container", { "align-center": le.value }])
190
190
  }, [
191
- !e.$slots.localVideo && !b.value ? (v(), x("div", Le, [
192
- N("span", Ve, ue(g(J)("No video")), 1)
191
+ !e.$slots.localVideo && !b.value ? (v(), x("div", Ve, [
192
+ N("span", ze, ve(g(Z)("No video")), 1)
193
193
  ])) : w("", !0),
194
194
  N("div", {
195
195
  class: "live-core-view",
196
- style: A(le.value)
196
+ style: A(ie.value)
197
197
  }, [
198
198
  l[0] || (l[0] = N("div", {
199
199
  id: "atomicx-live-stream-content",
200
200
  class: "stream-content"
201
201
  }, null, -1)),
202
- O.value.length > 0 ? (v(), x("div", ze, [
203
- (v(!0), x(ve, null, he(O.value, (a, o) => (v(), x("div", {
202
+ O.value.length > 0 ? (v(), x("div", Me, [
203
+ (v(!0), x(ce, null, de(O.value, (a, o) => (v(), x("div", {
204
204
  key: `seat-${o}`,
205
205
  style: A(a.region)
206
206
  }, [
207
207
  E(e.$slots, "streamViewUI", K({ ref_for: !0 }, { userInfo: a.userInfo }), void 0, !0),
208
- e.$slots.streamViewUI ? w("", !0) : (v(), M(re, {
208
+ e.$slots.streamViewUI ? w("", !0) : (v(), M(oe, {
209
209
  key: 0,
210
210
  streamViewInfoList: O.value,
211
211
  userInfo: a.userInfo
212
212
  }, null, 8, ["streamViewInfoList", "userInfo"]))
213
213
  ], 4))), 128))
214
214
  ])) : w("", !0),
215
- e.$slots.localVideo && R.value ? E(e.$slots, "localVideo", ce(K({ key: 1 }, { style: (t = ae.value) == null ? void 0 : t.region })), void 0, !0) : w("", !0),
216
- se(ge, { seatListWithRealSize: z.value }, null, 8, ["seatListWithRealSize"])
215
+ e.$slots.localVideo && R.value ? E(e.$slots, "localVideo", fe(K({ key: 1 }, { style: (t = re.value) == null ? void 0 : t.region })), void 0, !0) : w("", !0),
216
+ he(Ie, { seatListWithRealSize: z.value }, null, 8, ["seatListWithRealSize"])
217
217
  ], 4),
218
- g(X) ? w("", !0) : (v(), M(de, {
218
+ g(X) ? w("", !0) : (v(), M(me, {
219
219
  key: 1,
220
220
  to: "body",
221
- disabled: !g(Ie)
221
+ disabled: !g(G)
222
222
  }, [
223
223
  U.value ? (v(), M(q, {
224
224
  key: 0,
@@ -232,10 +232,12 @@ const Le = {
232
232
  ], 2);
233
233
  };
234
234
  }
235
- }), De = /* @__PURE__ */ Se(Me, [["__scopeId", "data-v-483e9945"]]);
236
- G("en-US", { translation: xe });
237
- G("zh-CN", { translation: Ce });
235
+ }), Q = /* @__PURE__ */ xe($e, [["__scopeId", "data-v-3a7697b1"]]);
236
+ J("en-US", { translation: Le });
237
+ J("zh-CN", { translation: Ce });
238
+ const Ae = Q, Ee = Q;
238
239
  export {
239
- re as DefaultStreamViewUI,
240
- De as LiveCoreView
240
+ oe as DefaultStreamViewUI,
241
+ Ae as LiveCoreView,
242
+ Ee as LiveView
241
243
  };
@@ -1,5 +1,5 @@
1
- import { S as g, P as x, E as d, I as o } from "../../../index-D-KJvDvy.js";
2
- import { E as M } from "../../../index-D88ja_7_.js";
1
+ import { S as g, P as x, E as d, I as o } from "../../../index-Bm-QfV5o.js";
2
+ import { E as M } from "../../../index-D2OVtqc8.js";
3
3
  import { MessageContentType as n } from "../../../states/MessageInputState/type.js";
4
4
  function y() {
5
5
  return o.extend({
@@ -1,16 +1,16 @@
1
- import { defineComponent as r, createBlock as t, openBlock as i, unref as n, withCtx as a, createVNode as m, normalizeStyle as c } from "vue";
2
- import { LiveCoreView as l } from "../LiveCoreView/index.js";
1
+ import { defineComponent as o, createBlock as t, openBlock as i, unref as n, withCtx as a, createVNode as m, normalizeStyle as c } from "vue";
2
+ import { LiveCoreView as l } from "../LiveView/index.js";
3
3
  import s from "./LocalMixer/index.js";
4
4
  import { addI18n as e } from "../../i18n/index.js";
5
5
  import { resource as p } from "./i18n/en-US/index.js";
6
6
  import { resource as f } from "./i18n/zh-CN/index.js";
7
- const y = /* @__PURE__ */ r({
7
+ const k = /* @__PURE__ */ o({
8
8
  __name: "index",
9
9
  setup(u) {
10
10
  return (_, d) => (i(), t(n(l), { "ignore-local-video": !0 }, {
11
- localVideo: a(({ style: o }) => [
11
+ localVideo: a(({ style: r }) => [
12
12
  m(s, {
13
- style: c(o)
13
+ style: c(r)
14
14
  }, null, 8, ["style"])
15
15
  ]),
16
16
  _: 1
@@ -20,5 +20,5 @@ const y = /* @__PURE__ */ r({
20
20
  e("en-US", { translation: p });
21
21
  e("zh-CN", { translation: f });
22
22
  export {
23
- y as StreamMixer
23
+ k as StreamMixer
24
24
  };
@@ -1,4 +1,4 @@
1
- import { N as Jr, n as Zr, m as Qr, E as cn, P as X, a as te, i as ei, D as or, b as sr, f as ti, c as un, d as He, S as le, w as ni, e as ri, F as Te, g as dn, T as V, h as $t, s as ii, j as Cn, k as oi, l as si, o as ai, p as li, q as ci, A as ui, r as di, t as pi, u as fi, v as hi, x as mi, y as vi, z as gi, B as ar, C as yi, G as bi, H as wi, I as xi, J as ki, K as Mi, L as Oi, M as Ti, O as Ai, Q as qt, R as Ei, U as Ci, V as Si, W as Ii, X as Li, Y as Pi, Z as Di, _ as lr, $ as $i, a0 as Ri, a1 as Bi } from "./index-D88ja_7_.js";
1
+ import { N as Jr, n as Zr, m as Qr, E as cn, P as X, a as te, i as ei, D as or, b as sr, f as ti, c as un, d as He, S as le, w as ni, e as ri, F as Te, g as dn, T as V, h as $t, s as ii, j as Cn, k as oi, l as si, o as ai, p as li, q as ci, A as ui, r as di, t as pi, u as fi, v as hi, x as mi, y as vi, z as gi, B as ar, C as yi, G as bi, H as wi, I as xi, J as ki, K as Mi, L as Oi, M as Ti, O as Ai, Q as qt, R as Ei, U as Ci, V as Si, W as Ii, X as Li, Y as Pi, Z as Di, _ as lr, $ as $i, a0 as Ri, a1 as Bi } from "./index-D2OVtqc8.js";
2
2
  import { markRaw as Ni, customRef as Hi, defineComponent as ht, ref as pn, onMounted as cr, onBeforeUnmount as fn, h as mt, getCurrentInstance as ji, watchEffect as _i, nextTick as Fi, unref as Vi } from "vue";
3
3
  const Wi = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, tc = Jr.create({
4
4
  name: "image",