@mobilon-dev/chotto 0.0.69 → 0.0.71

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.
@@ -144,7 +144,7 @@ oe.prototype = {
144
144
  return a.j[e] = i, i;
145
145
  }
146
146
  };
147
- const B = (e, f, t, n, a) => e.ta(f, t, n, a), J = (e, f, t, n, a) => e.tr(f, t, n, a), bn = (e, f, t, n, a) => e.ts(f, t, n, a), _ = (e, f, t, n, a) => e.tt(f, t, n, a), je = "WORD", Lt = "UWORD", Kn = "ASCIINUMERICAL", Jn = "ALPHANUMERICAL", bf = "LOCALHOST", Ut = "TLD", Bt = "UTLD", Uf = "SCHEME", qe = "SLASH_SCHEME", Ft = "NUM", Qt = "WS", Ht = "NL", uf = "OPENBRACE", cf = "CLOSEBRACE", Rf = "OPENBRACKET", Yf = "CLOSEBRACKET", $f = "OPENPAREN", qf = "CLOSEPAREN", Ff = "OPENANGLEBRACKET", Hf = "CLOSEANGLEBRACKET", Pf = "FULLWIDTHLEFTPAREN", Wf = "FULLWIDTHRIGHTPAREN", Kf = "LEFTCORNERBRACKET", Jf = "RIGHTCORNERBRACKET", Gf = "LEFTWHITECORNERBRACKET", Zf = "RIGHTWHITECORNERBRACKET", Xf = "FULLWIDTHLESSTHAN", et = "FULLWIDTHGREATERTHAN", ft = "AMPERSAND", Pt = "APOSTROPHE", tt = "ASTERISK", Ve = "AT", nt = "BACKSLASH", at = "BACKTICK", st = "CARET", Se = "COLON", Wt = "COMMA", it = "DOLLAR", be = "DOT", ot = "EQUALS", Kt = "EXCLAMATION", ue = "HYPHEN", df = "PERCENT", At = "PIPE", lt = "PLUS", rt = "POUND", gf = "QUERY", Jt = "QUOTE", Gn = "FULLWIDTHMIDDLEDOT", Gt = "SEMI", _e = "SLASH", mf = "TILDE", ut = "UNDERSCORE", Zn = "EMOJI", ct = "SYM";
147
+ const Q = (e, f, t, n, a) => e.ta(f, t, n, a), J = (e, f, t, n, a) => e.tr(f, t, n, a), bn = (e, f, t, n, a) => e.ts(f, t, n, a), I = (e, f, t, n, a) => e.tt(f, t, n, a), je = "WORD", Lt = "UWORD", Kn = "ASCIINUMERICAL", Jn = "ALPHANUMERICAL", bf = "LOCALHOST", Ut = "TLD", Bt = "UTLD", Uf = "SCHEME", qe = "SLASH_SCHEME", Ft = "NUM", Qt = "WS", Ht = "NL", uf = "OPENBRACE", cf = "CLOSEBRACE", Rf = "OPENBRACKET", Yf = "CLOSEBRACKET", $f = "OPENPAREN", qf = "CLOSEPAREN", Ff = "OPENANGLEBRACKET", Hf = "CLOSEANGLEBRACKET", Pf = "FULLWIDTHLEFTPAREN", Wf = "FULLWIDTHRIGHTPAREN", Kf = "LEFTCORNERBRACKET", Jf = "RIGHTCORNERBRACKET", Gf = "LEFTWHITECORNERBRACKET", Zf = "RIGHTWHITECORNERBRACKET", Xf = "FULLWIDTHLESSTHAN", et = "FULLWIDTHGREATERTHAN", ft = "AMPERSAND", Pt = "APOSTROPHE", tt = "ASTERISK", Ve = "AT", nt = "BACKSLASH", at = "BACKTICK", st = "CARET", Se = "COLON", Wt = "COMMA", it = "DOLLAR", be = "DOT", ot = "EQUALS", Kt = "EXCLAMATION", ue = "HYPHEN", df = "PERCENT", At = "PIPE", lt = "PLUS", rt = "POUND", gf = "QUERY", Jt = "QUOTE", Gn = "FULLWIDTHMIDDLEDOT", Gt = "SEMI", _e = "SLASH", mf = "TILDE", ut = "UNDERSCORE", Zn = "EMOJI", ct = "SYM";
148
148
  var Xn = /* @__PURE__ */ Object.freeze({
149
149
  __proto__: null,
150
150
  WORD: je,
@@ -210,7 +210,7 @@ function Fa(e = []) {
210
210
  const f = {};
211
211
  oe.groups = f;
212
212
  const t = new oe();
213
- Vf == null && (Vf = In(La)), Sf == null && (Sf = In(Ua)), _(t, "'", Pt), _(t, "{", uf), _(t, "}", cf), _(t, "[", Rf), _(t, "]", Yf), _(t, "(", $f), _(t, ")", qf), _(t, "<", Ff), _(t, ">", Hf), _(t, "(", Pf), _(t, ")", Wf), _(t, "「", Kf), _(t, "」", Jf), _(t, "『", Gf), _(t, "』", Zf), _(t, "<", Xf), _(t, ">", et), _(t, "&", ft), _(t, "*", tt), _(t, "@", Ve), _(t, "`", at), _(t, "^", st), _(t, ":", Se), _(t, ",", Wt), _(t, "$", it), _(t, ".", be), _(t, "=", ot), _(t, "!", Kt), _(t, "-", ue), _(t, "%", df), _(t, "|", At), _(t, "+", lt), _(t, "#", rt), _(t, "?", gf), _(t, '"', Jt), _(t, "/", _e), _(t, ";", Gt), _(t, "~", mf), _(t, "_", ut), _(t, "\\", nt), _(t, "・", Gn);
213
+ Vf == null && (Vf = In(La)), Sf == null && (Sf = In(Ua)), I(t, "'", Pt), I(t, "{", uf), I(t, "}", cf), I(t, "[", Rf), I(t, "]", Yf), I(t, "(", $f), I(t, ")", qf), I(t, "<", Ff), I(t, ">", Hf), I(t, "(", Pf), I(t, ")", Wf), I(t, "「", Kf), I(t, "」", Jf), I(t, "『", Gf), I(t, "』", Zf), I(t, "<", Xf), I(t, ">", et), I(t, "&", ft), I(t, "*", tt), I(t, "@", Ve), I(t, "`", at), I(t, "^", st), I(t, ":", Se), I(t, ",", Wt), I(t, "$", it), I(t, ".", be), I(t, "=", ot), I(t, "!", Kt), I(t, "-", ue), I(t, "%", df), I(t, "|", At), I(t, "+", lt), I(t, "#", rt), I(t, "?", gf), I(t, '"', Jt), I(t, "/", _e), I(t, ";", Gt), I(t, "~", mf), I(t, "_", ut), I(t, "\\", nt), I(t, "・", Gn);
214
214
  const n = J(t, Ee, Ft, {
215
215
  [St]: !0
216
216
  });
@@ -227,20 +227,20 @@ function Fa(e = []) {
227
227
  [zt]: !0
228
228
  });
229
229
  J(A, De), J(A, Ee, s), J(A, sf, A), J(s, Ee, s), J(s, De), J(s, sf, s);
230
- const u = _(t, Nt, Ht, {
230
+ const u = I(t, Nt, Ht, {
231
231
  [It]: !0
232
- }), l = _(t, _n, Qt, {
232
+ }), l = I(t, _n, Qt, {
233
233
  [It]: !0
234
234
  }), g = J(t, kt, Qt, {
235
235
  [It]: !0
236
236
  });
237
- _(t, Dt, g), _(l, Nt, u), _(l, Dt, g), J(l, kt, g), _(g, _n), _(g, Nt), J(g, kt, g), _(g, Dt, g);
237
+ I(t, Dt, g), I(l, Nt, u), I(l, Dt, g), J(l, kt, g), I(g, _n), I(g, Nt), J(g, kt, g), I(g, Dt, g);
238
238
  const d = J(t, wt, Zn, {
239
239
  [Wn]: !0
240
240
  });
241
- _(d, "#"), J(d, wt, d), _(d, $a, d);
242
- const m = _(d, qa);
243
- _(m, "#"), J(m, wt, d);
241
+ I(d, "#"), J(d, wt, d), I(d, $a, d);
242
+ const m = I(d, qa);
243
+ I(m, "#"), J(m, wt, d);
244
244
  const p = [[De, i], [Ee, a]], h = [[De, null], [sf, A], [Ee, s]];
245
245
  for (let y = 0; y < Vf.length; y++)
246
246
  xe(t, Vf[y], Ut, je, p);
@@ -566,34 +566,34 @@ const kn = ht("email", {
566
566
  function Wa({
567
567
  groups: e
568
568
  }) {
569
- const f = e.domain.concat([ft, tt, Ve, nt, at, st, it, ot, ue, Ft, df, At, lt, rt, _e, ct, mf, ut]), t = [Se, Wt, be, Kt, df, gf, Jt, Gt, Ff, Hf, uf, cf, Yf, Rf, $f, qf, Pf, Wf, Kf, Jf, Gf, Zf, Xf, et], n = [ft, Pt, tt, nt, at, st, it, ot, ue, uf, cf, df, At, lt, rt, gf, _e, ct, mf, ut], a = re(), s = _(a, mf);
570
- B(s, n, s), B(s, e.domain, s);
569
+ const f = e.domain.concat([ft, tt, Ve, nt, at, st, it, ot, ue, Ft, df, At, lt, rt, _e, ct, mf, ut]), t = [Se, Wt, be, Kt, df, gf, Jt, Gt, Ff, Hf, uf, cf, Yf, Rf, $f, qf, Pf, Wf, Kf, Jf, Gf, Zf, Xf, et], n = [ft, Pt, tt, nt, at, st, it, ot, ue, uf, cf, df, At, lt, rt, gf, _e, ct, mf, ut], a = re(), s = I(a, mf);
570
+ Q(s, n, s), Q(s, e.domain, s);
571
571
  const i = re(), A = re(), u = re();
572
- B(a, e.domain, i), B(a, e.scheme, A), B(a, e.slashscheme, u), B(i, n, s), B(i, e.domain, i);
573
- const l = _(i, Ve);
574
- _(s, Ve, l), _(A, Ve, l), _(u, Ve, l);
575
- const g = _(s, be);
576
- B(g, n, s), B(g, e.domain, s);
572
+ Q(a, e.domain, i), Q(a, e.scheme, A), Q(a, e.slashscheme, u), Q(i, n, s), Q(i, e.domain, i);
573
+ const l = I(i, Ve);
574
+ I(s, Ve, l), I(A, Ve, l), I(u, Ve, l);
575
+ const g = I(s, be);
576
+ Q(g, n, s), Q(g, e.domain, s);
577
577
  const d = re();
578
- B(l, e.domain, d), B(d, e.domain, d);
579
- const m = _(d, be);
580
- B(m, e.domain, d);
578
+ Q(l, e.domain, d), Q(d, e.domain, d);
579
+ const m = I(d, be);
580
+ Q(m, e.domain, d);
581
581
  const p = re(kn);
582
- B(m, e.tld, p), B(m, e.utld, p), _(l, bf, p);
583
- const h = _(d, ue);
584
- _(h, ue, h), B(h, e.domain, d), B(p, e.domain, d), _(p, be, m), _(p, ue, h);
585
- const y = _(p, Se);
586
- B(y, e.numeric, kn);
587
- const M = _(i, ue), N = _(i, be);
588
- _(M, ue, M), B(M, e.domain, i), B(N, n, s), B(N, e.domain, i);
582
+ Q(m, e.tld, p), Q(m, e.utld, p), I(l, bf, p);
583
+ const h = I(d, ue);
584
+ I(h, ue, h), Q(h, e.domain, d), Q(p, e.domain, d), I(p, be, m), I(p, ue, h);
585
+ const y = I(p, Se);
586
+ Q(y, e.numeric, kn);
587
+ const M = I(i, ue), N = I(i, be);
588
+ I(M, ue, M), Q(M, e.domain, i), Q(N, n, s), Q(N, e.domain, i);
589
589
  const D = re(Cf);
590
- B(N, e.tld, D), B(N, e.utld, D), B(D, e.domain, i), B(D, n, s), _(D, be, N), _(D, ue, M), _(D, Ve, l);
591
- const T = _(D, Se), w = re(Cf);
592
- B(T, e.numeric, w);
593
- const I = re(Cf), V = re();
594
- B(I, f, I), B(I, t, V), B(V, f, I), B(V, t, V), _(D, _e, I), _(w, _e, I);
595
- const j = _(A, Se), k = _(u, Se), S = _(k, _e), U = _(S, _e);
596
- B(A, e.domain, i), _(A, be, N), _(A, ue, M), B(u, e.domain, i), _(u, be, N), _(u, ue, M), B(j, e.domain, I), _(j, _e, I), _(j, gf, I), B(U, e.domain, I), B(U, f, I), _(U, _e, I);
590
+ Q(N, e.tld, D), Q(N, e.utld, D), Q(D, e.domain, i), Q(D, n, s), I(D, be, N), I(D, ue, M), I(D, Ve, l);
591
+ const x = I(D, Se), _ = re(Cf);
592
+ Q(x, e.numeric, _);
593
+ const w = re(Cf), V = re();
594
+ Q(w, f, w), Q(w, t, V), Q(V, f, w), Q(V, t, V), I(D, _e, w), I(_, _e, w);
595
+ const j = I(A, Se), k = I(u, Se), S = I(k, _e), B = I(S, _e);
596
+ Q(A, e.domain, i), I(A, be, N), I(A, ue, M), Q(u, e.domain, i), I(u, be, N), I(u, ue, M), Q(j, e.domain, w), I(j, _e, w), I(j, gf, w), Q(B, e.domain, w), Q(B, f, w), I(B, _e, w);
597
597
  const R = [
598
598
  [uf, cf],
599
599
  // {}
@@ -613,14 +613,14 @@ function Wa({
613
613
  // <>
614
614
  ];
615
615
  for (let P = 0; P < R.length; P++) {
616
- const [te, le] = R[P], ie = _(I, te);
617
- _(V, te, ie), _(ie, le, I);
618
- const x = re(Cf);
619
- B(ie, f, x);
616
+ const [te, le] = R[P], ie = I(w, te);
617
+ I(V, te, ie), I(ie, le, w);
618
+ const T = re(Cf);
619
+ Q(ie, f, T);
620
620
  const O = re();
621
- B(ie, t), B(x, f, x), B(x, t, O), B(O, f, x), B(O, t, O), _(x, le, I), _(O, le, I);
621
+ Q(ie, t), Q(T, f, T), Q(T, t, O), Q(O, f, T), Q(O, t, O), I(T, le, w), I(O, le, w);
622
622
  }
623
- return _(a, bf, D), _(a, Ht, Pa), {
623
+ return I(a, bf, D), I(a, Ht, Pa), {
624
624
  start: a,
625
625
  tokens: Xn
626
626
  };
@@ -753,7 +753,7 @@ const L = (e, f) => {
753
753
  ])
754
754
  ])) : b("", !0);
755
755
  }
756
- }, Pc = /* @__PURE__ */ L(As, [["__scopeId", "data-v-26bb16be"]]), ye = v([]), Xe = (e) => {
756
+ }, Lc = /* @__PURE__ */ L(As, [["__scopeId", "data-v-26bb16be"]]), ye = v([]), Xe = (e) => {
757
757
  const f = v(0);
758
758
  let t = ye.value.find(({ id: g }) => g == e);
759
759
  t != null ? f.value = ye.value.indexOf(t) : (ye.value.push({
@@ -855,7 +855,7 @@ function cs() {
855
855
  locales: aa
856
856
  };
857
857
  }
858
- const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms = ["id"], ps = ["id"], hs = { class: "chat-input__second-line" }, ys = ["disabled", "placeholder"], vs = { class: "chat-input__third-line" }, Ms = /* @__PURE__ */ H({
858
+ const ds = { class: "chat-input__container" }, gs = ["id"], ms = ["id"], ps = { class: "chat-input__second-line" }, hs = ["disabled", "placeholder"], ys = { class: "chat-input__third-line" }, vs = /* @__PURE__ */ H({
859
859
  __name: "ChatInput",
860
860
  props: {
861
861
  state: {
@@ -900,48 +900,46 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
900
900
  }
901
901
  };
902
902
  return (d, m) => (r(), c("div", ds, [
903
- o("div", gs, [
904
- o("div", {
905
- id: "chat-input-reply-line-" + z(n),
906
- class: "chat-input__reply-line"
907
- }, null, 8, ms),
908
- o("div", {
909
- id: "chat-input-file-line-" + z(n),
910
- class: "chat-input__file-line"
911
- }, null, 8, ps),
912
- o("div", hs, [
913
- ce(o("textarea", {
914
- disabled: e.state == "disabled",
915
- ref_key: "refInput",
916
- ref: A,
917
- "onUpdate:modelValue": m[0] || (m[0] = (p) => z(s)().text = p),
918
- class: "chat-input__input",
919
- placeholder: z(Re)("component.ChatInput.InputPlaceholder"),
920
- onKeydown: Yn(l, ["enter"]),
921
- onInput: u
922
- }, null, 40, ys), [
923
- [yf, z(s)().text]
924
- ]),
925
- o("button", {
926
- class: C(["chat-input__button-send", { "chat-input__button-send-disabled": z(s)().text == "" && !z(s)().file }]),
927
- onClick: g
928
- }, m[1] || (m[1] = [
929
- o("span", { class: "pi pi-send" }, null, -1)
930
- ]), 2)
903
+ o("div", {
904
+ id: "chat-input-reply-line-" + z(n),
905
+ class: "chat-input__reply-line"
906
+ }, null, 8, gs),
907
+ o("div", {
908
+ id: "chat-input-file-line-" + z(n),
909
+ class: "chat-input__file-line"
910
+ }, null, 8, ms),
911
+ o("div", ps, [
912
+ ce(o("textarea", {
913
+ disabled: e.state == "disabled",
914
+ ref_key: "refInput",
915
+ ref: A,
916
+ "onUpdate:modelValue": m[0] || (m[0] = (p) => z(s)().text = p),
917
+ class: "chat-input__input",
918
+ placeholder: z(Re)("component.ChatInput.InputPlaceholder"),
919
+ onKeydown: Yn(l, ["enter"]),
920
+ onInput: u
921
+ }, null, 40, hs), [
922
+ [yf, z(s)().text]
931
923
  ]),
932
- o("div", vs, [
933
- ne(d.$slots, "buttons", {}, void 0, !0)
934
- ])
924
+ o("button", {
925
+ class: C(["chat-input__button-send", { "chat-input__button-send-disabled": z(s)().text == "" && !z(s)().file }]),
926
+ onClick: g
927
+ }, m[1] || (m[1] = [
928
+ o("span", { class: "pi pi-send" }, null, -1)
929
+ ]), 2)
930
+ ]),
931
+ o("div", ys, [
932
+ ne(d.$slots, "buttons", {}, void 0, !0)
935
933
  ])
936
934
  ]));
937
935
  }
938
- }), Wc = /* @__PURE__ */ L(Ms, [["__scopeId", "data-v-e1a1a812"]]), bs = { class: "chat-list" }, _s = { class: "chat-list__title" }, Is = {
936
+ }), Uc = /* @__PURE__ */ L(vs, [["__scopeId", "data-v-c70b62a9"]]), Ms = { class: "chat-list" }, bs = { class: "chat-list__title" }, _s = {
939
937
  key: 0,
940
938
  class: "pi pi-minus"
941
- }, ws = {
939
+ }, Is = {
942
940
  key: 1,
943
941
  class: "pi pi-plus"
944
- }, ks = { class: "chat-list__items" }, Ns = { class: "chat-list__fixed-items-top" }, Ds = { class: "chat-list__scrollable-items" }, Es = { class: "chat-list__fixed-items-bottom" }, js = {
942
+ }, ws = { class: "chat-list__items" }, ks = { class: "chat-list__fixed-items-top" }, Ns = { class: "chat-list__scrollable-items" }, Ds = { class: "chat-list__fixed-items-bottom" }, Es = {
945
943
  __name: "ChatList",
946
944
  props: {
947
945
  chats: {
@@ -977,18 +975,18 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
977
975
  }).filter((d) => d.name.includes(t.value) || d.metadata.includes(t.value)), l = (d) => {
978
976
  t.value = d;
979
977
  }, g = (d) => i("action", d);
980
- return (d, m) => (r(), c("div", bs, [
978
+ return (d, m) => (r(), c("div", Ms, [
981
979
  o("div", {
982
980
  class: "chat-list__title-container",
983
981
  onMouseleave: a
984
982
  }, [
985
- o("h2", _s, E(z(Re)("component.ChatList.Title")), 1),
983
+ o("h2", bs, E(z(Re)("component.ChatList.Title")), 1),
986
984
  e.actions.length ? (r(), c("button", {
987
985
  key: 0,
988
986
  class: "chat-list__button-actions",
989
987
  onClick: m[0] || (m[0] = (p) => n.value = !n.value)
990
988
  }, [
991
- n.value ? (r(), c("span", Is)) : (r(), c("span", ws))
989
+ n.value ? (r(), c("span", _s)) : (r(), c("span", Is))
992
990
  ])) : b("", !0),
993
991
  Y(W, null, {
994
992
  default: K(() => [
@@ -1002,13 +1000,13 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
1002
1000
  _: 1
1003
1001
  })
1004
1002
  ], 32),
1005
- e.filterEnabled ? (r(), q(z(Ki), {
1003
+ e.filterEnabled ? (r(), q(z(qi), {
1006
1004
  key: 0,
1007
1005
  class: "chat-list__filter",
1008
1006
  onUpdate: l
1009
1007
  })) : b("", !0),
1010
- o("div", ks, [
1011
- o("div", Ns, [
1008
+ o("div", ws, [
1009
+ o("div", ks, [
1012
1010
  (r(!0), c(F, null, Z(u().filter((p) => p.isFixedTop), (p) => (r(), q(z(jt), {
1013
1011
  key: p.chatId,
1014
1012
  class: "chat-list__item",
@@ -1017,7 +1015,7 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
1017
1015
  onAction: g
1018
1016
  }, null, 8, ["chat"]))), 128))
1019
1017
  ]),
1020
- o("div", Ds, [
1018
+ o("div", Ns, [
1021
1019
  (r(!0), c(F, null, Z(u().filter((p) => !p.isFixedBottom && !p.isFixedTop), (p) => (r(), q(z(jt), {
1022
1020
  key: p.chatId,
1023
1021
  class: "chat-list__item",
@@ -1026,7 +1024,7 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
1026
1024
  onAction: g
1027
1025
  }, null, 8, ["chat"]))), 128))
1028
1026
  ]),
1029
- o("div", Es, [
1027
+ o("div", Ds, [
1030
1028
  (r(!0), c(F, null, Z(u().filter((p) => p.isFixedBottom), (p) => (r(), q(z(jt), {
1031
1029
  key: p.chatId,
1032
1030
  class: "chat-list__item",
@@ -1038,7 +1036,7 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
1038
1036
  ])
1039
1037
  ]));
1040
1038
  }
1041
- }, Kc = /* @__PURE__ */ L(js, [["__scopeId", "data-v-ba9fb868"]]), ef = /* @__PURE__ */ H({
1039
+ }, Bc = /* @__PURE__ */ L(Es, [["__scopeId", "data-v-ba9fb868"]]), ef = /* @__PURE__ */ H({
1042
1040
  __name: "BaseReplyMessage",
1043
1041
  props: {
1044
1042
  message: {
@@ -1050,11 +1048,11 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
1050
1048
  const t = f, n = e, a = pe("chatAppId"), { resetReply: s } = Xe(a), i = () => {
1051
1049
  n.message && t("reply", n.message.messageId);
1052
1050
  }, A = (g) => ({
1053
- "message.text": H1,
1054
- "message.image": X1,
1055
- "message.file": pc,
1056
- "message.audio": ac,
1057
- "message.video": uc
1051
+ "message.text": O1,
1052
+ "message.image": $1,
1053
+ "message.file": ic,
1054
+ "message.audio": W1,
1055
+ "message.video": fc
1058
1056
  })[g], u = (g) => ({
1059
1057
  "message.text": "",
1060
1058
  "message.image": "grid",
@@ -1079,7 +1077,7 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
1079
1077
  ], 2);
1080
1078
  };
1081
1079
  }
1082
- }), Ts = ["id"], xs = { class: "message-feed__container" }, Vs = {
1080
+ }), js = ["id"], Ts = { class: "message-feed__container" }, xs = ["onDblclick", "id"], Vs = {
1083
1081
  key: 0,
1084
1082
  class: "message-feed__unread-amount"
1085
1083
  }, Ss = /* @__PURE__ */ H({
@@ -1103,50 +1101,54 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
1103
1101
  typing: {
1104
1102
  type: [Object, Boolean],
1105
1103
  default: !1
1104
+ },
1105
+ enableDoubleClickReply: {
1106
+ type: Boolean,
1107
+ default: !1
1106
1108
  }
1107
1109
  },
1108
1110
  emits: ["messageAction", "loadMore", "messageVisible"],
1109
1111
  setup(e, { emit: f }) {
1110
- const t = v(), n = v(), a = v(!1), s = e, i = pe("chatAppId"), { setReply: A, getMessage: u } = Xe(i), l = f, g = (T = !0) => {
1111
- const w = z(n);
1112
- w.scrollHeight - w.scrollTop - w.clientHeight < 100 ? a.value = !1 : a.value = !0, w.scrollTop === 0 && T && l("loadMore");
1113
- }, d = (T) => ({
1114
- "message.text": Vu,
1115
- "message.image": Iu,
1116
- "message.file": Au,
1117
- "message.audio": Gu,
1118
- "message.video": h1,
1119
- "message.call": S1,
1120
- "message.system": U1,
1121
- "system.date": t1,
1112
+ const t = v(), n = v(), a = v(!1), s = e, i = pe("chatAppId"), { setReply: A, getMessage: u } = Xe(i), l = f, g = (x = !0) => {
1113
+ const _ = z(n);
1114
+ _.scrollHeight - _.scrollTop - _.clientHeight < 100 ? a.value = !1 : a.value = !0, _.scrollTop === 0 && x && l("loadMore");
1115
+ }, d = (x) => ({
1116
+ "message.text": Nu,
1117
+ "message.image": hu,
1118
+ "message.file": tu,
1119
+ "message.audio": Fu,
1120
+ "message.video": r1,
1121
+ "message.call": k1,
1122
+ "message.system": j1,
1123
+ "system.date": Ku,
1122
1124
  "message.typing": Rn
1123
- })[T];
1125
+ })[x];
1124
1126
  function m() {
1125
1127
  s.isScrollToBottomOnUpdateObjectsEnabled && lf(function() {
1126
- const T = z(n);
1127
- T.scrollTop = T.scrollHeight;
1128
+ const x = z(n);
1129
+ x.scrollTop = x.scrollHeight;
1128
1130
  });
1129
1131
  }
1130
1132
  function p() {
1131
1133
  lf(function() {
1132
- const T = z(n);
1133
- T.scrollTop = T.scrollHeight;
1134
+ const x = z(n);
1135
+ x.scrollTop = x.scrollHeight;
1134
1136
  });
1135
1137
  }
1136
1138
  Ta(() => m), X(() => s.objects, m);
1137
- const h = (T) => {
1138
- l("messageAction", T);
1139
- }, y = (T) => {
1140
- T.type.indexOf("system") == -1 && T.type.indexOf("typing") == -1 && A({
1141
- messageId: T.messageId,
1142
- type: T.type,
1143
- text: T.text,
1144
- filename: T.filename,
1145
- url: T.url
1146
- });
1147
- }, M = (T) => {
1148
- T.forEach((w) => {
1149
- w.isIntersecting && l("messageVisible", JSON.parse(w.target.id));
1139
+ const h = (x) => {
1140
+ l("messageAction", x);
1141
+ }, y = (x, _) => {
1142
+ s.enableDoubleClickReply && (x == null || x.preventDefault(), _.type.indexOf("system") == -1 && _.type.indexOf("typing") == -1 && A({
1143
+ messageId: _.messageId,
1144
+ type: _.type,
1145
+ text: _.text,
1146
+ filename: _.filename,
1147
+ url: _.url
1148
+ }));
1149
+ }, M = (x) => {
1150
+ x.forEach((_) => {
1151
+ _.isIntersecting && l("messageVisible", JSON.parse(_.target.id));
1150
1152
  });
1151
1153
  }, N = {
1152
1154
  root: document.getElementById("feed-container-" + i),
@@ -1157,27 +1159,31 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
1157
1159
  () => s.objects,
1158
1160
  () => {
1159
1161
  lf(() => {
1160
- g(!1), t.value = document.querySelectorAll(".message-feed__message"), t.value.forEach((T) => D.observe(T));
1162
+ g(!1), t.value = document.querySelectorAll(".tracking-message"), t.value.forEach((x) => D.observe(x));
1161
1163
  });
1162
1164
  },
1163
1165
  { immediate: !0 }
1164
- ), (T, w) => (r(), c(F, null, [
1166
+ ), (x, _) => (r(), c(F, null, [
1165
1167
  o("div", {
1166
1168
  ref_key: "refFeed",
1167
1169
  ref: n,
1168
1170
  class: "message-feed",
1169
- onScroll: w[0] || (w[0] = (I) => g()),
1171
+ onScroll: _[0] || (_[0] = (w) => g()),
1170
1172
  id: "feed-container-" + z(i)
1171
1173
  }, [
1172
- o("div", xs, [
1173
- (r(!0), c(F, null, Z(e.objects, (I) => (r(), q($n(d(I.type)), {
1174
- key: I.messageId,
1175
- id: JSON.stringify(I),
1176
- class: "message-feed__message",
1177
- message: I,
1178
- onAction: h,
1179
- onDblclick: (V) => y(I)
1180
- }, null, 40, ["id", "message", "onDblclick"]))), 128))
1174
+ o("div", Ts, [
1175
+ (r(!0), c(F, null, Z(e.objects, (w) => (r(), c("div", {
1176
+ onDblclick: (V) => y(V, w),
1177
+ id: JSON.stringify(w),
1178
+ class: "tracking-message"
1179
+ }, [
1180
+ (r(), q($n(d(w.type)), {
1181
+ key: w.messageId,
1182
+ class: "message-feed__message",
1183
+ message: w,
1184
+ onAction: h
1185
+ }, null, 40, ["message"]))
1186
+ ], 40, xs))), 256))
1181
1187
  ]),
1182
1188
  e.typing ? (r(), q(z(Rn), {
1183
1189
  key: 0,
@@ -1194,12 +1200,12 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
1194
1200
  onClick: p
1195
1201
  }, [
1196
1202
  e.buttonParams ? (r(), c("div", Vs, E(e.buttonParams.unreadAmount), 1)) : b("", !0),
1197
- w[1] || (w[1] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
1203
+ _[1] || (_[1] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
1198
1204
  ])) : b("", !0)
1199
1205
  ]),
1200
1206
  _: 1
1201
1207
  })
1202
- ], 40, Ts),
1208
+ ], 40, js),
1203
1209
  z(u)().reply ? (r(), q(ze, {
1204
1210
  key: 0,
1205
1211
  to: "#chat-input-reply-line-" + z(i)
@@ -1211,13 +1217,13 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
1211
1217
  ], 8, ["to"])) : b("", !0)
1212
1218
  ], 64));
1213
1219
  }
1214
- }), Jc = /* @__PURE__ */ L(Ss, [["__scopeId", "data-v-c49aef13"]]), Cs = { class: "profile" }, zs = {
1220
+ }), Qc = /* @__PURE__ */ L(Ss, [["__scopeId", "data-v-8b5cdb8a"]]), Cs = {
1215
1221
  key: 0,
1216
1222
  class: "profile__container"
1217
- }, Os = {
1223
+ }, zs = {
1218
1224
  key: 0,
1219
1225
  class: "profile__avatar-container"
1220
- }, Ls = ["src"], Us = { class: "profile__name" }, Bs = { class: "profile__email" }, Qs = { class: "profile__phone" }, Rs = {
1226
+ }, Os = ["src"], Ls = { class: "profile__name" }, Us = { class: "profile__email" }, Bs = { class: "profile__phone" }, Qs = {
1221
1227
  __name: "UserProfile",
1222
1228
  props: {
1223
1229
  user: {
@@ -1226,26 +1232,24 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
1226
1232
  }
1227
1233
  },
1228
1234
  setup(e) {
1229
- return (f, t) => (r(), c("div", Cs, [
1230
- e.user ? (r(), c("div", zs, [
1231
- e.user.avatar ? (r(), c("div", Os, [
1232
- o("span", {
1233
- class: "profile__status",
1234
- style: ee({ backgroundColor: e.user.status })
1235
- }, null, 4),
1236
- o("img", {
1237
- src: e.user.avatar,
1238
- height: "48",
1239
- width: "48"
1240
- }, null, 8, Ls)
1241
- ])) : b("", !0),
1242
- o("h2", Us, E(e.user.name), 1),
1243
- o("p", Bs, E(e.user.email), 1),
1244
- o("p", Qs, E(e.user.phone), 1)
1245
- ])) : b("", !0)
1246
- ]));
1235
+ return (f, t) => e.user ? (r(), c("div", Cs, [
1236
+ e.user.avatar ? (r(), c("div", zs, [
1237
+ o("span", {
1238
+ class: "profile__status",
1239
+ style: ee({ backgroundColor: e.user.status })
1240
+ }, null, 4),
1241
+ o("img", {
1242
+ src: e.user.avatar,
1243
+ height: "48",
1244
+ width: "48"
1245
+ }, null, 8, Os)
1246
+ ])) : b("", !0),
1247
+ o("h2", Ls, E(e.user.name), 1),
1248
+ o("p", Us, E(e.user.email), 1),
1249
+ o("p", Bs, E(e.user.phone), 1)
1250
+ ])) : b("", !0);
1247
1251
  }
1248
- }, Gc = /* @__PURE__ */ L(Rs, [["__scopeId", "data-v-04a5ab7d"]]), Ys = ["id"], $s = {
1252
+ }, Rc = /* @__PURE__ */ L(Qs, [["__scopeId", "data-v-35f660dc"]]), Rs = ["id"], Ys = {
1249
1253
  __name: "ButtonContextMenu",
1250
1254
  props: {
1251
1255
  actions: {
@@ -1342,15 +1346,15 @@ const ds = { class: "chat-input" }, gs = { class: "chat-input__container" }, ms
1342
1346
  onMouseout: g,
1343
1347
  onClick: A
1344
1348
  }, null, 8, ["id", "actions"])
1345
- ], 8, Ys));
1349
+ ], 8, Rs));
1346
1350
  }
1347
- }, sa = /* @__PURE__ */ L($s, [["__scopeId", "data-v-a6a945c1"]]);
1348
- function Zc(e) {
1351
+ }, sa = /* @__PURE__ */ L(Ys, [["__scopeId", "data-v-a6a945c1"]]);
1352
+ function Yc(e) {
1349
1353
  if (!e || e === "") return;
1350
1354
  const f = +new Date(Number(e) * 1e3), t = +/* @__PURE__ */ new Date(), n = Math.floor((t - f) / 1e3), a = Math.floor(n / 60), s = Math.floor(a / 60), i = Math.floor(s / 24);
1351
1355
  return i > 30 ? new Date(f).toLocaleDateString("ru-RU") : i > 0 ? `${i} ${i === 1 ? "день" : "дня"} назад` : s > 0 ? `${s} ${s === 1 ? "час" : "часа"} назад` : a > 0 ? `${a} ${a === 1 ? "минута" : "минуты"} назад` : n > 0 ? `${n} ${n === 1 ? "секунда" : "секунды"} назад` : "Только что";
1352
1356
  }
1353
- const Xc = (e) => {
1357
+ const $c = (e) => {
1354
1358
  const f = [];
1355
1359
  let t = null;
1356
1360
  for (let n = 0; n < e.length; n++) {
@@ -1364,7 +1368,7 @@ const Xc = (e) => {
1364
1368
  }), t = s), f.push(a);
1365
1369
  }
1366
1370
  return f;
1367
- }, ed = async () => {
1371
+ }, qc = async () => {
1368
1372
  try {
1369
1373
  if (await navigator.mediaDevices.getUserMedia({ audio: !0 })) {
1370
1374
  const f = new Audio();
@@ -1373,7 +1377,7 @@ const Xc = (e) => {
1373
1377
  } catch {
1374
1378
  console.log("no audio permissions");
1375
1379
  }
1376
- }, fd = (e) => e.sort((f, t) => Number(f.timestamp) < Number(t.timestamp) ? -1 : Number(f.timestamp) > Number(t.timestamp) ? 1 : 0), dt = (e) => {
1380
+ }, Fc = (e) => e.sort((f, t) => Number(f.timestamp) < Number(t.timestamp) ? -1 : Number(f.timestamp) > Number(t.timestamp) ? 1 : 0), dt = (e) => {
1377
1381
  let f = "file";
1378
1382
  return e.startsWith("image/") ? f = "image" : e.startsWith("video/") ? f = "video" : e.startsWith("audio/") && (f = "audio"), f;
1379
1383
  }, ff = ["read", "received", "sent"], tf = (e) => {
@@ -1385,7 +1389,7 @@ const Xc = (e) => {
1385
1389
  default:
1386
1390
  return "";
1387
1391
  }
1388
- }, qs = { class: "preview__container" }, Fs = { class: "preview__block" }, Hs = { key: 0 }, Ps = ["src"], Ws = { key: 1 }, Ks = ["src"], Js = { key: 2 }, Gs = { key: 3 }, Zs = { class: "preview__control-block" }, Xs = { class: "preview__information" }, ei = { class: "preview__name" }, fi = { class: "preview__size" }, ti = {
1392
+ }, $s = { class: "preview__container" }, qs = { class: "preview__block" }, Fs = { key: 0 }, Hs = ["src"], Ps = { key: 1 }, Ws = ["src"], Ks = { key: 2 }, Js = { key: 3 }, Gs = { class: "preview__control-block" }, Zs = { class: "preview__information" }, Xs = { class: "preview__name" }, ei = { class: "preview__size" }, fi = {
1389
1393
  __name: "FilePreview",
1390
1394
  props: {
1391
1395
  previewUrl: {
@@ -1419,35 +1423,35 @@ const Xc = (e) => {
1419
1423
  function a() {
1420
1424
  n("reset");
1421
1425
  }
1422
- return (s, i) => (r(), c("div", qs, [
1423
- o("div", Fs, [
1424
- t.isImage ? (r(), c("div", Hs, [
1426
+ return (s, i) => (r(), c("div", $s, [
1427
+ o("div", qs, [
1428
+ t.isImage ? (r(), c("div", Fs, [
1425
1429
  o("img", {
1426
1430
  src: e.previewUrl,
1427
1431
  alt: "Image Preview",
1428
1432
  class: "preview__image"
1429
- }, null, 8, Ps)
1430
- ])) : t.isVideo ? (r(), c("div", Ws, [
1433
+ }, null, 8, Hs)
1434
+ ])) : t.isVideo ? (r(), c("div", Ps, [
1431
1435
  o("video", {
1432
1436
  src: e.previewUrl,
1433
1437
  class: "preview__video"
1434
- }, null, 8, Ks)
1435
- ])) : t.isAudio ? (r(), c("div", Js, i[0] || (i[0] = [
1438
+ }, null, 8, Ws)
1439
+ ])) : t.isAudio ? (r(), c("div", Ks, i[0] || (i[0] = [
1436
1440
  o("span", {
1437
1441
  class: "pi pi-headphones",
1438
1442
  style: { "font-size": "2.5rem" }
1439
1443
  }, null, -1)
1440
- ]))) : (r(), c("div", Gs, i[1] || (i[1] = [
1444
+ ]))) : (r(), c("div", Js, i[1] || (i[1] = [
1441
1445
  o("span", {
1442
1446
  class: "pi pi-file",
1443
1447
  style: { "font-size": "2.5rem" }
1444
1448
  }, null, -1)
1445
1449
  ])))
1446
1450
  ]),
1447
- o("div", Zs, [
1448
- o("div", Xs, [
1449
- o("span", ei, E(e.fileName), 1),
1450
- o("span", fi, E(e.fileSize), 1)
1451
+ o("div", Gs, [
1452
+ o("div", Zs, [
1453
+ o("span", Xs, E(e.fileName), 1),
1454
+ o("span", ei, E(e.fileSize), 1)
1451
1455
  ]),
1452
1456
  o("span", {
1453
1457
  class: "pi pi-times preview__reset",
@@ -1457,7 +1461,7 @@ const Xc = (e) => {
1457
1461
  ])
1458
1462
  ]));
1459
1463
  }
1460
- }, ia = /* @__PURE__ */ L(ti, [["__scopeId", "data-v-63871541"]]), ni = { class: "uploader-container" }, ai = { key: 0 }, si = { key: 1 }, ii = {
1464
+ }, ia = /* @__PURE__ */ L(fi, [["__scopeId", "data-v-63871541"]]), ti = { class: "uploader-container" }, ni = { key: 0 }, ai = { key: 1 }, si = {
1461
1465
  __name: "FileUploader",
1462
1466
  props: {
1463
1467
  filebumpUrl: {
@@ -1494,8 +1498,8 @@ const Xc = (e) => {
1494
1498
  ], M = $(() => !h().file), N = () => {
1495
1499
  n.value = null, p(), s.value = "", a.value = "";
1496
1500
  }, D = (j) => {
1497
- N(), console.log("onFileSelected", j.target.files[0]), n.value = j.target.files[0], n.value && (T(), w());
1498
- }, T = () => {
1501
+ N(), console.log("onFileSelected", j.target.files[0]), n.value = j.target.files[0], n.value && (x(), _());
1502
+ }, x = () => {
1499
1503
  const j = n.value, k = dt(j.type);
1500
1504
  if (i.value = !1, A.value = !1, u.value = !1, k === "image" ? i.value = !0 : k === "video" ? A.value = !0 : k === "audio" && (u.value = !0), i.value || A.value) {
1501
1505
  const P = new FileReader();
@@ -1505,11 +1509,11 @@ const Xc = (e) => {
1505
1509
  } else
1506
1510
  s.value = "";
1507
1511
  const S = ["б", "Кб", "Мб", "Гб"];
1508
- let U = j.size, R = 0;
1509
- for (; U > 1024; )
1510
- U = U / 1024, R++;
1511
- U = U.toFixed(2) + S[R], g.value = U;
1512
- }, w = async () => {
1512
+ let B = j.size, R = 0;
1513
+ for (; B > 1024; )
1514
+ B = B / 1024, R++;
1515
+ B = B.toFixed(2) + S[R], g.value = B;
1516
+ }, _ = async () => {
1513
1517
  a.value = "uploading";
1514
1518
  const j = new FormData();
1515
1519
  j.append("file", n.value);
@@ -1528,19 +1532,19 @@ const Xc = (e) => {
1528
1532
  size: n.value.size,
1529
1533
  type: dt(n.value.type)
1530
1534
  });
1531
- } catch (U) {
1532
- console.error("Ошибка при загрузке файла:", U), a.value = "error";
1535
+ } catch (B) {
1536
+ console.error("Ошибка при загрузке файла:", B), a.value = "error";
1533
1537
  }
1534
- }, I = (j) => {
1538
+ }, w = (j) => {
1535
1539
  l.value && M && (l.value.accept = j.action, l.value.click());
1536
1540
  }, V = () => {
1537
1541
  l.value && M && t.state == "active" && l.value.click();
1538
1542
  };
1539
1543
  return (j, k) => (r(), c(F, null, [
1540
- o("div", ni, [
1541
- a.value === "uploading" ? (r(), c("div", ai, k[0] || (k[0] = [
1544
+ o("div", ti, [
1545
+ a.value === "uploading" ? (r(), c("div", ni, k[0] || (k[0] = [
1542
1546
  o("p", null, "Загрузка файла...", -1)
1543
- ]))) : a.value === "error" ? (r(), c("div", si, k[1] || (k[1] = [
1547
+ ]))) : a.value === "error" ? (r(), c("div", ai, k[1] || (k[1] = [
1544
1548
  o("p", null, "Ошибка при загрузке файла.", -1)
1545
1549
  ]))) : (r(), q(sa, {
1546
1550
  key: 2,
@@ -1549,7 +1553,7 @@ const Xc = (e) => {
1549
1553
  "button-class": "pi pi-file-arrow-up",
1550
1554
  "menu-side": "top",
1551
1555
  disabled: !M.value || e.state == "disabled",
1552
- onClick: I,
1556
+ onClick: w,
1553
1557
  onButtonClick: V
1554
1558
  }, null, 8, ["disabled"])),
1555
1559
  o("input", {
@@ -1576,7 +1580,7 @@ const Xc = (e) => {
1576
1580
  ], 8, ["to"])) : b("", !0)
1577
1581
  ], 64));
1578
1582
  }
1579
- }, td = /* @__PURE__ */ L(ii, [["__scopeId", "data-v-60b0c6ca"]]), oi = { key: 0 }, Ai = ["value", "selected"], li = {
1583
+ }, Hc = /* @__PURE__ */ L(si, [["__scopeId", "data-v-60b0c6ca"]]), ii = { key: 0 }, oi = ["value", "selected"], Ai = {
1580
1584
  __name: "ThemeMode",
1581
1585
  props: {
1582
1586
  themes: {
@@ -1598,7 +1602,7 @@ const Xc = (e) => {
1598
1602
  return Ae(() => {
1599
1603
  const i = n();
1600
1604
  s(i);
1601
- }), (i, A) => e.show ? (r(), c("div", oi, [
1605
+ }), (i, A) => e.show ? (r(), c("div", ii, [
1602
1606
  o("select", {
1603
1607
  onChange: A[0] || (A[0] = (u) => a(u))
1604
1608
  }, [
@@ -1606,11 +1610,11 @@ const Xc = (e) => {
1606
1610
  key: l,
1607
1611
  value: u.code,
1608
1612
  selected: u.default === !0
1609
- }, E(u.name), 9, Ai))), 128))
1613
+ }, E(u.name), 9, oi))), 128))
1610
1614
  ], 32)
1611
1615
  ])) : b("", !0);
1612
1616
  }
1613
- }, nd = /* @__PURE__ */ L(li, [["__scopeId", "data-v-a950b8eb"]]), ri = { class: "sidebar" }, ui = { class: "sidebar__container" }, ci = { class: "sidebar__list" }, di = ["onClick"], gi = ["src", "alt"], mi = { key: 1 }, pi = { class: "sidebar__list-fixed" }, hi = ["onClick"], yi = ["src", "alt"], vi = { key: 1 }, Mi = {
1617
+ }, Pc = /* @__PURE__ */ L(Ai, [["__scopeId", "data-v-a950b8eb"]]), li = { class: "sidebar__container" }, ri = { class: "sidebar__list" }, ui = ["onClick"], ci = ["src", "alt"], di = { key: 1 }, gi = { class: "sidebar__list-fixed" }, mi = ["onClick"], pi = ["src", "alt"], hi = { key: 1 }, yi = {
1614
1618
  __name: "SideBar",
1615
1619
  props: {
1616
1620
  sidebarItems: {
@@ -1628,51 +1632,49 @@ const Xc = (e) => {
1628
1632
  const u = A.split(" ");
1629
1633
  return u.length > 2 ? u.slice(0, 2).join(" ") : A;
1630
1634
  };
1631
- return (A, u) => (r(), c("div", ri, [
1632
- o("div", ui, [
1633
- o("ul", ci, [
1634
- (r(!0), c(F, null, Z(n.value.filter((l) => !l.isFixedBottom), (l, g) => (r(), c("li", {
1635
- key: g,
1636
- class: "sidebar__item",
1637
- onClick: (d) => s(l.itemId)
1638
- }, [
1639
- o("img", {
1640
- src: l.icon,
1641
- alt: l.name,
1642
- class: C(["sidebar__image", { "sidebar__image--active": l.selected === !0 }])
1643
- }, null, 10, gi),
1644
- l.notificationCount ? (r(), c("span", {
1645
- key: 0,
1646
- style: ee({ backgroundColor: l.notificationColor ? l.notificationColor : "red" })
1647
- }, E(l.notificationCount > 99 ? "99+" : l.notificationCount), 5)) : b("", !0),
1648
- l.name ? (r(), c("p", mi, E(i(l.name)), 1)) : b("", !0)
1649
- ], 8, di))), 128))
1650
- ]),
1651
- o("ul", pi, [
1652
- (r(!0), c(F, null, Z(n.value.filter((l) => l.isFixedBottom), (l, g) => (r(), c("li", {
1653
- key: g,
1654
- class: "sidebar__item",
1655
- onClick: (d) => s(l.itemId)
1656
- }, [
1657
- o("img", {
1658
- src: l.icon,
1659
- alt: l.name,
1660
- class: C(["sidebar__image", { "sidebar__image--active": l.selected === !0 }])
1661
- }, null, 10, yi),
1662
- l.notificationCount ? (r(), c("span", {
1663
- key: 0,
1664
- style: ee({ backgroundColor: l.notificationColor ? l.notificationColor : "red" })
1665
- }, E(l.notificationCount > 99 ? "99+" : l.notificationCount), 5)) : b("", !0),
1666
- l.name ? (r(), c("p", vi, E(i(l.name)), 1)) : b("", !0)
1667
- ], 8, hi))), 128))
1668
- ])
1635
+ return (A, u) => (r(), c("div", li, [
1636
+ o("ul", ri, [
1637
+ (r(!0), c(F, null, Z(n.value.filter((l) => !l.isFixedBottom), (l, g) => (r(), c("li", {
1638
+ key: g,
1639
+ class: "sidebar__item",
1640
+ onClick: (d) => s(l.itemId)
1641
+ }, [
1642
+ o("img", {
1643
+ src: l.icon,
1644
+ alt: l.name,
1645
+ class: C(["sidebar__image", { "sidebar__image--active": l.selected === !0 }])
1646
+ }, null, 10, ci),
1647
+ l.notificationCount ? (r(), c("span", {
1648
+ key: 0,
1649
+ style: ee({ backgroundColor: l.notificationColor ? l.notificationColor : "red" })
1650
+ }, E(l.notificationCount > 99 ? "99+" : l.notificationCount), 5)) : b("", !0),
1651
+ l.name ? (r(), c("p", di, E(i(l.name)), 1)) : b("", !0)
1652
+ ], 8, ui))), 128))
1653
+ ]),
1654
+ o("ul", gi, [
1655
+ (r(!0), c(F, null, Z(n.value.filter((l) => l.isFixedBottom), (l, g) => (r(), c("li", {
1656
+ key: g,
1657
+ class: "sidebar__item",
1658
+ onClick: (d) => s(l.itemId)
1659
+ }, [
1660
+ o("img", {
1661
+ src: l.icon,
1662
+ alt: l.name,
1663
+ class: C(["sidebar__image", { "sidebar__image--active": l.selected === !0 }])
1664
+ }, null, 10, pi),
1665
+ l.notificationCount ? (r(), c("span", {
1666
+ key: 0,
1667
+ style: ee({ backgroundColor: l.notificationColor ? l.notificationColor : "red" })
1668
+ }, E(l.notificationCount > 99 ? "99+" : l.notificationCount), 5)) : b("", !0),
1669
+ l.name ? (r(), c("p", hi, E(i(l.name)), 1)) : b("", !0)
1670
+ ], 8, mi))), 128))
1669
1671
  ])
1670
1672
  ]));
1671
1673
  }
1672
- }, ad = /* @__PURE__ */ L(Mi, [["__scopeId", "data-v-5e22516c"]]), bi = { class: "chat-panel" }, _i = { class: "chat-panel__title-container" }, Ii = {
1674
+ }, Wc = /* @__PURE__ */ L(yi, [["__scopeId", "data-v-8fc01d66"]]), vi = { class: "chat-panel" }, Mi = { class: "chat-panel__title-container" }, bi = {
1673
1675
  key: 0,
1674
1676
  class: "chat-panel__title"
1675
- }, wi = {
1677
+ }, _i = {
1676
1678
  __name: "ChatPanel",
1677
1679
  props: {
1678
1680
  title: {
@@ -1683,9 +1685,9 @@ const Xc = (e) => {
1683
1685
  },
1684
1686
  emits: ["close-panel"],
1685
1687
  setup(e, { emit: f }) {
1686
- return (t, n) => (r(), c("div", bi, [
1687
- o("div", _i, [
1688
- e.title ? (r(), c("p", Ii, E(e.title), 1)) : b("", !0),
1688
+ return (t, n) => (r(), c("div", vi, [
1689
+ o("div", Mi, [
1690
+ e.title ? (r(), c("p", bi, E(e.title), 1)) : b("", !0),
1689
1691
  o("button", {
1690
1692
  class: "chat-panel__button-close",
1691
1693
  onClick: n[0] || (n[0] = (a) => t.$emit("close-panel"))
@@ -1698,16 +1700,16 @@ const Xc = (e) => {
1698
1700
  ])
1699
1701
  ]));
1700
1702
  }
1701
- }, sd = /* @__PURE__ */ L(wi, [["__scopeId", "data-v-1f6ac199"]]), ki = { class: "channels" }, Ni = {
1703
+ }, Kc = /* @__PURE__ */ L(_i, [["__scopeId", "data-v-1f6ac199"]]), Ii = {
1702
1704
  key: 0,
1703
1705
  class: "channels__selected"
1704
- }, Di = {
1706
+ }, wi = {
1705
1707
  key: 0,
1706
1708
  class: "channels__icon"
1707
- }, Ei = ["src"], ji = { class: "channels__title" }, Ti = {
1709
+ }, ki = ["src"], Ni = { class: "channels__title" }, Di = {
1708
1710
  key: 1,
1709
1711
  class: "channels__selected channels__title"
1710
- }, xi = {
1712
+ }, Ei = {
1711
1713
  __name: "ChannelSelector",
1712
1714
  props: {
1713
1715
  channels: {
@@ -1730,51 +1732,49 @@ const Xc = (e) => {
1730
1732
  const t = e, n = f, s = v(t.channels.find((A) => A.type === "default")), i = (A) => {
1731
1733
  s.value = A, n("selectChannel", s.value);
1732
1734
  };
1733
- return (A, u) => (r(), c("div", ki, [
1734
- o("div", {
1735
- class: C(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
1736
- }, [
1737
- s.value ? (r(), c("div", Ni, [
1738
- s.value.icon ? (r(), c("span", Di, [
1739
- o("img", {
1740
- src: s.value.icon
1741
- }, null, 8, Ei)
1742
- ])) : b("", !0),
1743
- o("span", ji, E(s.value.title), 1)
1744
- ])) : (r(), c("span", Ti, "Канал не выбран")),
1745
- Y(sa, {
1746
- actions: e.channels,
1747
- mode: e.mode,
1748
- "button-class": "pi pi-list",
1749
- "menu-side": "top",
1750
- disabled: e.state == "disabled",
1751
- onClick: i
1752
- }, null, 8, ["actions", "mode", "disabled"])
1753
- ], 2)
1754
- ]));
1735
+ return (A, u) => (r(), c("div", {
1736
+ class: C(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
1737
+ }, [
1738
+ s.value ? (r(), c("div", Ii, [
1739
+ s.value.icon ? (r(), c("span", wi, [
1740
+ o("img", {
1741
+ src: s.value.icon
1742
+ }, null, 8, ki)
1743
+ ])) : b("", !0),
1744
+ o("span", Ni, E(s.value.title), 1)
1745
+ ])) : (r(), c("span", Di, " Канал не выбран ")),
1746
+ Y(sa, {
1747
+ actions: e.channels,
1748
+ mode: e.mode,
1749
+ "button-class": "pi pi-list",
1750
+ "menu-side": "top",
1751
+ disabled: e.state == "disabled",
1752
+ onClick: i
1753
+ }, null, 8, ["actions", "mode", "disabled"])
1754
+ ], 2));
1755
1755
  }
1756
- }, id = /* @__PURE__ */ L(xi, [["__scopeId", "data-v-018ec6fe"]]), Vi = { class: "chat-item__avatar-container" }, Si = ["src"], Ci = {
1756
+ }, Jc = /* @__PURE__ */ L(Ei, [["__scopeId", "data-v-6c895ea7"]]), ji = { class: "chat-item__avatar-container" }, Ti = ["src"], xi = {
1757
1757
  key: 1,
1758
1758
  class: "pi pi-user"
1759
- }, zi = { class: "chat-item__info-container" }, Oi = { class: "chat-item__name" }, Li = {
1759
+ }, Vi = { class: "chat-item__info-container" }, Si = { class: "chat-item__name" }, Ci = {
1760
1760
  key: 0,
1761
1761
  class: "chat-item__last-message"
1762
- }, Ui = { class: "chat-item__details-container" }, Bi = {
1762
+ }, zi = { class: "chat-item__details-container" }, Oi = {
1763
1763
  key: 0,
1764
1764
  class: "chat-item__time"
1765
- }, Qi = {
1765
+ }, Li = {
1766
1766
  key: 1,
1767
1767
  class: "chat-item__unread"
1768
- }, Ri = {
1768
+ }, Ui = {
1769
1769
  key: 3,
1770
1770
  class: "chat-item__status-chat-container"
1771
- }, Yi = {
1771
+ }, Bi = {
1772
1772
  key: 0,
1773
1773
  class: "pi pi-check"
1774
- }, $i = {
1774
+ }, Qi = {
1775
1775
  key: 1,
1776
1776
  class: "chat-item__fixed pi pi-thumbtack"
1777
- }, qi = {
1777
+ }, Ri = {
1778
1778
  __name: "ChatItem",
1779
1779
  props: {
1780
1780
  chat: {
@@ -1786,7 +1786,7 @@ const Xc = (e) => {
1786
1786
  setup(e, { emit: f }) {
1787
1787
  const t = e, n = f, a = () => {
1788
1788
  n("select", t.chat);
1789
- }, s = () => t.chat.isSelected ? "chat-item__selected" : "chat-item", i = (M) => {
1789
+ }, s = () => t.chat.isSelected ? "chat-item__selected" : "", i = (M) => {
1790
1790
  g(), n("action", { chatId: t.chat.chatId, ...M });
1791
1791
  }, A = v(!1), u = v(!1), l = () => {
1792
1792
  u.value = !0;
@@ -1804,66 +1804,62 @@ const Xc = (e) => {
1804
1804
  },
1805
1805
  { immediate: !0 }
1806
1806
  ), (M, N) => (r(), c("div", {
1807
- class: C(s()),
1807
+ class: C(["chat-item__container", s()]),
1808
+ onMouseenter: l,
1809
+ onMouseleave: g,
1808
1810
  onClick: a
1809
1811
  }, [
1810
- o("div", {
1811
- class: "chat-item__container",
1812
- onMouseenter: l,
1813
- onMouseleave: g
1814
- }, [
1815
- o("div", Vi, [
1816
- o("span", {
1817
- class: "chat-item__status-user",
1818
- style: ee({ backgroundColor: t.chat.status })
1819
- }, null, 4),
1820
- t.chat.avatar ? (r(), c("img", {
1812
+ o("div", ji, [
1813
+ o("span", {
1814
+ class: "chat-item__status-user",
1815
+ style: ee({ backgroundColor: t.chat.status })
1816
+ }, null, 4),
1817
+ t.chat.avatar ? (r(), c("img", {
1818
+ key: 0,
1819
+ src: t.chat.avatar,
1820
+ height: "48",
1821
+ width: "48"
1822
+ }, null, 8, Ti)) : (r(), c("span", xi))
1823
+ ]),
1824
+ o("div", Vi, [
1825
+ o("div", Si, E(e.chat.name), 1),
1826
+ e.chat.lastMessage || e.chat.typing ? (r(), c("div", Ci, E(y.value), 1)) : b("", !0)
1827
+ ]),
1828
+ o("div", zi, [
1829
+ e.chat["lastActivity.time"] && !u.value ? (r(), c("div", Oi, E(e.chat["lastActivity.time"]), 1)) : b("", !0),
1830
+ e.chat.countUnread > 0 ? (r(), c("div", Li, E(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) : b("", !0),
1831
+ u.value && e.chat.actions ? (r(), c("button", {
1832
+ key: 2,
1833
+ class: "chat-item__menu-button",
1834
+ onClick: N[0] || (N[0] = (D) => A.value = !A.value)
1835
+ }, N[1] || (N[1] = [
1836
+ o("span", { class: "pi pi-ellipsis-h" }, null, -1)
1837
+ ]))) : b("", !0),
1838
+ e.chat.countUnread < 1 ? (r(), c("div", Ui, [
1839
+ z(ff).includes(e.chat["lastMessage.status"]) ? (r(), c("div", {
1821
1840
  key: 0,
1822
- src: t.chat.avatar,
1823
- height: "48",
1824
- width: "48"
1825
- }, null, 8, Si)) : (r(), c("span", Ci))
1826
- ]),
1827
- o("div", zi, [
1828
- o("div", Oi, E(e.chat.name), 1),
1829
- e.chat.lastMessage || e.chat.typing ? (r(), c("div", Li, E(y.value), 1)) : b("", !0)
1830
- ]),
1831
- o("div", Ui, [
1832
- e.chat["lastActivity.time"] && !u.value ? (r(), c("div", Bi, E(e.chat["lastActivity.time"]), 1)) : b("", !0),
1833
- e.chat.countUnread > 0 ? (r(), c("div", Qi, E(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) : b("", !0),
1834
- u.value && e.chat.actions ? (r(), c("button", {
1835
- key: 2,
1836
- class: "chat-item__menu-button",
1837
- onClick: N[0] || (N[0] = (D) => A.value = !A.value)
1838
- }, N[1] || (N[1] = [
1839
- o("span", { class: "pi pi-ellipsis-h" }, null, -1)
1840
- ]))) : b("", !0),
1841
- e.chat.countUnread < 1 ? (r(), c("div", Ri, [
1842
- z(ff).includes(e.chat["lastMessage.status"]) ? (r(), c("div", {
1843
- key: 0,
1844
- class: C(["chat-item__status-message", d.value])
1845
- }, [
1846
- e.chat["lastMessage.status"] !== "sent" ? (r(), c("span", Yi)) : b("", !0),
1847
- N[2] || (N[2] = o("span", { class: "pi pi-check" }, null, -1))
1848
- ], 2)) : b("", !0),
1849
- e.chat.isFixedTop || e.chat.isFixedBottom ? (r(), c("span", $i)) : b("", !0)
1850
- ])) : b("", !0)
1841
+ class: C(["chat-item__status-message", d.value])
1842
+ }, [
1843
+ e.chat["lastMessage.status"] !== "sent" ? (r(), c("span", Bi)) : b("", !0),
1844
+ N[2] || (N[2] = o("span", { class: "pi pi-check" }, null, -1))
1845
+ ], 2)) : b("", !0),
1846
+ e.chat.isFixedTop || e.chat.isFixedBottom ? (r(), c("span", Qi)) : b("", !0)
1847
+ ])) : b("", !0)
1848
+ ]),
1849
+ Y(W, { name: "menu" }, {
1850
+ default: K(() => [
1851
+ A.value && e.chat.actions ? (r(), q(z(Le), {
1852
+ key: 0,
1853
+ class: "chat-item__context-menu",
1854
+ actions: e.chat.actions,
1855
+ onClick: i
1856
+ }, null, 8, ["actions"])) : b("", !0)
1851
1857
  ]),
1852
- Y(W, { name: "menu" }, {
1853
- default: K(() => [
1854
- A.value && e.chat.actions ? (r(), q(z(Le), {
1855
- key: 0,
1856
- class: "chat-item__context-menu",
1857
- actions: e.chat.actions,
1858
- onClick: i
1859
- }, null, 8, ["actions"])) : b("", !0)
1860
- ]),
1861
- _: 1
1862
- })
1863
- ], 32)
1864
- ], 2));
1858
+ _: 1
1859
+ })
1860
+ ], 34));
1865
1861
  }
1866
- }, jt = /* @__PURE__ */ L(qi, [["__scopeId", "data-v-30b00fea"]]), Fi = { class: "chat-filter" }, Hi = { class: "chat-filter__container" }, Pi = ["placeholder"], Wi = {
1862
+ }, jt = /* @__PURE__ */ L(Ri, [["__scopeId", "data-v-b6724915"]]), Yi = ["placeholder"], $i = {
1867
1863
  __name: "ChatFilter",
1868
1864
  emits: ["update"],
1869
1865
  setup(e, { emit: f }) {
@@ -1871,32 +1867,28 @@ const Xc = (e) => {
1871
1867
  const s = z(t);
1872
1868
  n("update", s.value);
1873
1869
  };
1874
- return (s, i) => (r(), c("div", Fi, [
1875
- o("div", Hi, [
1876
- o("input", {
1877
- ref_key: "refInput",
1878
- ref: t,
1879
- class: "chat-filter__input",
1880
- type: "text",
1881
- placeholder: z(Re)("component.ChatFilter.InputPlaceholder"),
1882
- onInput: a
1883
- }, null, 40, Pi)
1884
- ])
1885
- ]));
1870
+ return (s, i) => (r(), c("input", {
1871
+ ref_key: "refInput",
1872
+ ref: t,
1873
+ class: "chat-filter__input",
1874
+ type: "text",
1875
+ placeholder: z(Re)("component.ChatFilter.InputPlaceholder"),
1876
+ onInput: a
1877
+ }, null, 40, Yi));
1886
1878
  }
1887
- }, Ki = /* @__PURE__ */ L(Wi, [["__scopeId", "data-v-5f1cceb1"]]), Ji = { class: "template-selector" }, Gi = { class: "template-selector__container" }, Zi = { class: "template-selector__button-close" }, Xi = { class: "template-selector__list-groups" }, eo = { class: "template-selector__label-group" }, fo = ["src", "alt"], to = ["id", "value"], no = { class: "template-selector__searching-container" }, ao = { class: "template-selector__templates" }, so = {
1879
+ }, qi = /* @__PURE__ */ L($i, [["__scopeId", "data-v-6d1b918e"]]), Fi = { class: "template-selector" }, Hi = { class: "template-selector__container" }, Pi = { class: "template-selector__button-close" }, Wi = { class: "template-selector__list-groups" }, Ki = { class: "template-selector__label-group" }, Ji = ["src", "alt"], Gi = ["id", "value"], Zi = { class: "template-selector__searching-container" }, Xi = { class: "template-selector__templates" }, eo = {
1888
1880
  key: 0,
1889
1881
  class: "template-selector__list-templates"
1890
- }, io = ["onClick"], oo = { class: "template-selector__item-template-info" }, Ao = { class: "template-selector__item-title" }, lo = { class: "template-selector__item-text" }, ro = {
1882
+ }, fo = ["onClick"], to = { class: "template-selector__item-template-info" }, no = { class: "template-selector__item-title" }, ao = { class: "template-selector__item-text" }, so = {
1891
1883
  key: 1,
1892
1884
  class: "template-selector__plug"
1893
- }, uo = { class: "template-selector__preview-container" }, co = {
1885
+ }, io = { class: "template-selector__preview-container" }, oo = {
1894
1886
  key: 0,
1895
1887
  class: "template-selector__preview"
1896
- }, go = { class: "template-selector__preview-wrapper" }, mo = { class: "template-selector__preview-text" }, po = {
1888
+ }, Ao = { class: "template-selector__preview-wrapper" }, lo = { class: "template-selector__preview-text" }, ro = {
1897
1889
  key: 1,
1898
1890
  class: "template-selector__plug"
1899
- }, ho = {
1891
+ }, uo = {
1900
1892
  __name: "TemplateSelector",
1901
1893
  props: {
1902
1894
  templates: {
@@ -1922,41 +1914,41 @@ const Xc = (e) => {
1922
1914
  const h = l.value.trim().toLowerCase();
1923
1915
  return m.value.filter((y) => y.title.toLowerCase().includes(h) || y.template.toLowerCase().includes(h));
1924
1916
  });
1925
- return (h, y) => (r(), c("div", Ji, [
1926
- o("div", Gi, [
1927
- o("button", Zi, [
1917
+ return (h, y) => (r(), c("div", Fi, [
1918
+ o("div", Hi, [
1919
+ o("button", Pi, [
1928
1920
  o("span", {
1929
1921
  class: "pi pi-times",
1930
1922
  onClick: y[0] || (y[0] = (M) => h.$emit("closeTemplateWindow"))
1931
1923
  })
1932
1924
  ]),
1933
- o("ul", Xi, [
1925
+ o("ul", Wi, [
1934
1926
  (r(!0), c(F, null, Z(e.groupTemplates, (M, N) => (r(), c("li", {
1935
1927
  key: N,
1936
1928
  class: C(["template-selector__item-group", { "template-selector__item-selected": A.value === M }]),
1937
1929
  onClick: d
1938
1930
  }, [
1939
- o("label", eo, [
1931
+ o("label", Ki, [
1940
1932
  M.iconUrl ? (r(), c("img", {
1941
1933
  key: 0,
1942
1934
  class: "template-selector__item-group-icon",
1943
1935
  src: M.iconUrl,
1944
1936
  alt: M.title
1945
- }, null, 8, fo)) : b("", !0),
1937
+ }, null, 8, Ji)) : b("", !0),
1946
1938
  ce(o("input", {
1947
1939
  id: N,
1948
1940
  "onUpdate:modelValue": y[1] || (y[1] = (D) => A.value = D),
1949
1941
  value: M,
1950
1942
  class: "template-selector__input-group",
1951
1943
  type: "radio"
1952
- }, null, 8, to), [
1944
+ }, null, 8, Gi), [
1953
1945
  [qn, A.value]
1954
1946
  ]),
1955
1947
  o("span", null, E(M.title), 1)
1956
1948
  ])
1957
1949
  ], 2))), 128))
1958
1950
  ]),
1959
- o("div", no, [
1951
+ o("div", Zi, [
1960
1952
  ce(o("input", {
1961
1953
  "onUpdate:modelValue": y[2] || (y[2] = (M) => l.value = M),
1962
1954
  class: "template-selector__searching-input",
@@ -1966,27 +1958,27 @@ const Xc = (e) => {
1966
1958
  [yf, l.value]
1967
1959
  ])
1968
1960
  ]),
1969
- o("div", ao, [
1970
- p.value.length !== 0 ? (r(), c("ul", so, [
1961
+ o("div", Xi, [
1962
+ p.value.length !== 0 ? (r(), c("ul", eo, [
1971
1963
  (r(!0), c(F, null, Z(p.value, (M, N) => (r(), c("li", {
1972
1964
  key: N,
1973
1965
  class: C(["template-selector__item-template", { "template-selector__item-selected": M.isSelected }]),
1974
1966
  onClick: (D) => g(M)
1975
1967
  }, [
1976
- o("div", oo, [
1977
- o("p", Ao, E(M.title), 1),
1978
- o("p", lo, E(M.template), 1)
1968
+ o("div", to, [
1969
+ o("p", no, E(M.title), 1),
1970
+ o("p", ao, E(M.template), 1)
1979
1971
  ])
1980
- ], 10, io))), 128))
1981
- ])) : (r(), c("p", ro, " Шаблоны отсутствуют "))
1972
+ ], 10, fo))), 128))
1973
+ ])) : (r(), c("p", so, " Шаблоны отсутствуют "))
1982
1974
  ]),
1983
- o("div", uo, [
1984
- u.value ? (r(), c("div", co, [
1985
- o("div", go, [
1986
- o("p", mo, E(u.value.template), 1),
1975
+ o("div", io, [
1976
+ u.value ? (r(), c("div", oo, [
1977
+ o("div", Ao, [
1978
+ o("p", lo, E(u.value.template), 1),
1987
1979
  y[3] || (y[3] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1))
1988
1980
  ])
1989
- ])) : (r(), c("p", po, " Предпросмотр шаблона "))
1981
+ ])) : (r(), c("p", ro, " Предпросмотр шаблона "))
1990
1982
  ]),
1991
1983
  o("button", {
1992
1984
  class: "template-selector__button-paste",
@@ -1995,7 +1987,7 @@ const Xc = (e) => {
1995
1987
  ])
1996
1988
  ]));
1997
1989
  }
1998
- }, yo = /* @__PURE__ */ L(ho, [["__scopeId", "data-v-f65844d8"]]), vo = {
1990
+ }, co = /* @__PURE__ */ L(uo, [["__scopeId", "data-v-2ccb6e90"]]), go = {
1999
1991
  __name: "ButtonTemplateSelector",
2000
1992
  props: {
2001
1993
  templates: {
@@ -2049,7 +2041,7 @@ const Xc = (e) => {
2049
2041
  onMouseover: s,
2050
2042
  onMouseout: i
2051
2043
  }, [
2052
- Y(yo, {
2044
+ Y(co, {
2053
2045
  templates: e.templates,
2054
2046
  "group-templates": e.groupTemplates,
2055
2047
  onCloseTemplateWindow: A
@@ -2060,7 +2052,7 @@ const Xc = (e) => {
2060
2052
  })
2061
2053
  ], 64));
2062
2054
  }
2063
- }, od = /* @__PURE__ */ L(vo, [["__scopeId", "data-v-5bb675f2"]]), Mo = {
2055
+ }, Gc = /* @__PURE__ */ L(go, [["__scopeId", "data-v-5bb675f2"]]), mo = {
2064
2056
  __name: "PlaceholderComponent",
2065
2057
  props: {
2066
2058
  index: {
@@ -2081,10 +2073,10 @@ const Xc = (e) => {
2081
2073
  class: C([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"])
2082
2074
  }, E(e.value), 3));
2083
2075
  }
2084
- }, bo = /* @__PURE__ */ L(Mo, [["__scopeId", "data-v-7d731222"]]), _o = ["accept"], Io = { class: "file-upload-text" }, wo = { class: "file-info open-sans" }, ko = {
2076
+ }, po = /* @__PURE__ */ L(mo, [["__scopeId", "data-v-7d731222"]]), ho = ["accept"], yo = { class: "file-upload-text" }, vo = { class: "file-info open-sans" }, Mo = {
2085
2077
  key: 0,
2086
2078
  class: "error-text"
2087
- }, No = /* @__PURE__ */ H({
2079
+ }, bo = /* @__PURE__ */ H({
2088
2080
  __name: "WABAAttachmentSection",
2089
2081
  props: {
2090
2082
  type: {
@@ -2122,25 +2114,25 @@ const Xc = (e) => {
2122
2114
  error: "Некорректный тип файла, выберите MP4 или MOV",
2123
2115
  icon: "pi pi-video"
2124
2116
  }
2125
- }, M = (w) => {
2126
- const I = w.target.files[0];
2127
- if (I) {
2117
+ }, M = (_) => {
2118
+ const w = _.target.files[0];
2119
+ if (w) {
2128
2120
  i.value = "";
2129
- const V = I.name.split(".");
2130
- y[t.type].accept.indexOf(V[V.length - 1]) == -1 ? i.value = y[t.type].error : I.size > y[t.type].maxSize ? i.value = "Файл слишком большого размера" : i.value || (a.value = I, N(), D());
2121
+ const V = w.name.split(".");
2122
+ y[t.type].accept.indexOf(V[V.length - 1]) == -1 ? i.value = y[t.type].error : w.size > y[t.type].maxSize ? i.value = "Файл слишком большого размера" : i.value || (a.value = w, N(), D());
2131
2123
  }
2132
2124
  }, N = async () => {
2133
2125
  if (a.value) {
2134
2126
  A.value = "uploading";
2135
- const w = new FormData();
2136
- w.append("file", a.value);
2127
+ const _ = new FormData();
2128
+ _.append("file", a.value);
2137
2129
  const V = (n.value ? n.value : "https://filebump2.services.mobilon.ru") + "/upload";
2138
2130
  try {
2139
2131
  const k = await (await fetch(
2140
2132
  V,
2141
2133
  {
2142
2134
  method: "POST",
2143
- body: w
2135
+ body: _
2144
2136
  }
2145
2137
  )).json();
2146
2138
  A.value = "success", p("fileSelected", {
@@ -2154,37 +2146,37 @@ const Xc = (e) => {
2154
2146
  }
2155
2147
  }
2156
2148
  }, D = () => {
2157
- const w = a.value;
2158
- if (w) {
2159
- const I = dt(w.type);
2160
- if (u.value = !1, l.value = !1, g.value = !1, I === "image" ? u.value = !0 : I === "video" ? l.value = !0 : I === "audio" && (g.value = !0), u.value || l.value) {
2149
+ const _ = a.value;
2150
+ if (_) {
2151
+ const w = dt(_.type);
2152
+ if (u.value = !1, l.value = !1, g.value = !1, w === "image" ? u.value = !0 : w === "video" ? l.value = !0 : w === "audio" && (g.value = !0), u.value || l.value) {
2161
2153
  const S = new FileReader();
2162
- S.onload = (U) => {
2154
+ S.onload = (B) => {
2163
2155
  var R;
2164
- (R = U.target) != null && R.result && (d.value = String(U.target.result));
2165
- }, S.readAsDataURL(w);
2156
+ (R = B.target) != null && R.result && (d.value = String(B.target.result));
2157
+ }, S.readAsDataURL(_);
2166
2158
  } else
2167
2159
  d.value = "";
2168
2160
  const V = ["б", "Кб", "Мб", "Гб"];
2169
- let j = w.size, k = 0;
2161
+ let j = _.size, k = 0;
2170
2162
  for (; j > 1024; )
2171
2163
  j = j / 1024, k++;
2172
2164
  m.value = j.toFixed(2) + V[k];
2173
2165
  }
2174
- }, T = () => {
2166
+ }, x = () => {
2175
2167
  a.value && (a.value = null, A.value = "");
2176
2168
  };
2177
2169
  return X(
2178
2170
  () => A.value,
2179
- (w) => {
2180
- w === "" && (s.value && (s.value.value = ""), a.value = null, p("fileSelected", null));
2171
+ (_) => {
2172
+ _ === "" && (s.value && (s.value.value = ""), a.value = null, p("fileSelected", null));
2181
2173
  }
2182
2174
  ), X(
2183
2175
  () => t.templateId,
2184
2176
  () => {
2185
2177
  A.value = "";
2186
2178
  }
2187
- ), (w, I) => {
2179
+ ), (_, w) => {
2188
2180
  var V;
2189
2181
  return r(), c(F, null, [
2190
2182
  o("section", {
@@ -2203,11 +2195,11 @@ const Xc = (e) => {
2203
2195
  style: { display: "none" },
2204
2196
  onChange: M,
2205
2197
  accept: y[e.type].accept
2206
- }, null, 40, _o),
2207
- I[1] || (I[1] = o("span", { class: "pi pi-paperclip file-upload-icon" }, null, -1)),
2208
- o("div", Io, [
2209
- I[0] || (I[0] = o("h2", { class: "attachment-title open-sans-bold" }, " Прикрепить файл ", -1)),
2210
- o("h2", wo, E(y[e.type].text), 1)
2198
+ }, null, 40, ho),
2199
+ w[1] || (w[1] = o("span", { class: "pi pi-paperclip file-upload-icon" }, null, -1)),
2200
+ o("div", yo, [
2201
+ w[0] || (w[0] = o("h2", { class: "attachment-title open-sans-bold" }, " Прикрепить файл ", -1)),
2202
+ o("h2", vo, E(y[e.type].text), 1)
2211
2203
  ])
2212
2204
  ])) : A.value === "success" ? (r(), q(ia, {
2213
2205
  key: 1,
@@ -2217,14 +2209,14 @@ const Xc = (e) => {
2217
2209
  "is-audio": g.value,
2218
2210
  "file-name": (V = a.value) == null ? void 0 : V.name,
2219
2211
  "file-size": m.value,
2220
- onReset: T
2212
+ onReset: x
2221
2213
  }, null, 8, ["preview-url", "is-image", "is-video", "is-audio", "file-name", "file-size"])) : b("", !0)
2222
2214
  ], 2),
2223
- i.value ? (r(), c("div", ko, E(i.value), 1)) : b("", !0)
2215
+ i.value ? (r(), c("div", Mo, E(i.value), 1)) : b("", !0)
2224
2216
  ], 64);
2225
2217
  };
2226
2218
  }
2227
- }), Do = /* @__PURE__ */ L(No, [["__scopeId", "data-v-4f913641"]]), Eo = ["onClick"], jo = { class: "preview-action" }, To = /* @__PURE__ */ H({
2219
+ }), _o = /* @__PURE__ */ L(bo, [["__scopeId", "data-v-4f913641"]]), Io = ["onClick"], wo = { class: "preview-action" }, ko = /* @__PURE__ */ H({
2228
2220
  __name: "WABAQuickReplyButtons",
2229
2221
  props: {
2230
2222
  buttons: {
@@ -2250,15 +2242,15 @@ const Xc = (e) => {
2250
2242
  onClick: (g) => s(l)
2251
2243
  }, [
2252
2244
  A[0] || (A[0] = o("hr", { class: "separator" }, null, -1)),
2253
- o("div", jo, [
2245
+ o("div", wo, [
2254
2246
  o("span", {
2255
2247
  class: C(["icon pi pi-arrow-up-left", l == 2 && e.buttons.length > 3 ? "pi-list" : a[u.type]])
2256
2248
  }, null, 2),
2257
2249
  Fn(" " + E(l == 2 && e.buttons.length > 3 ? "Смотреть все варианты" : u.text), 1)
2258
2250
  ])
2259
- ], 10, Eo))), 128));
2251
+ ], 10, Io))), 128));
2260
2252
  }
2261
- }), xo = /* @__PURE__ */ L(To, [["__scopeId", "data-v-ea011db7"]]), Vo = { class: "menu-container" }, So = { class: "settings-first-line" }, Co = { class: "actions-container scrollbar" }, zo = { class: "action" }, Oo = /* @__PURE__ */ H({
2253
+ }), No = /* @__PURE__ */ L(ko, [["__scopeId", "data-v-ea011db7"]]), Do = { class: "menu-container" }, Eo = { class: "settings-first-line" }, jo = { class: "actions-container scrollbar" }, To = { class: "action" }, xo = /* @__PURE__ */ H({
2262
2254
  __name: "WABASeparatedQuickButtons",
2263
2255
  props: {
2264
2256
  buttons: {
@@ -2273,20 +2265,20 @@ const Xc = (e) => {
2273
2265
  PHONE_NUMBER: "bi-telephone",
2274
2266
  QUICK_REPLY: "bi-arrow-90deg-left"
2275
2267
  }, n = f;
2276
- return (a, s) => (r(), c("div", Vo, [
2277
- o("div", So, [
2268
+ return (a, s) => (r(), c("div", Do, [
2269
+ o("div", Eo, [
2278
2270
  s[1] || (s[1] = o("span", { class: "settings-title" }, "Все варианты", -1)),
2279
2271
  o("span", {
2280
2272
  class: "pi pi-times exit-button",
2281
2273
  onClick: s[0] || (s[0] = (i) => n("selectAllVariants"))
2282
2274
  })
2283
2275
  ]),
2284
- o("div", Co, [
2276
+ o("div", jo, [
2285
2277
  (r(!0), c(F, null, Z(e.buttons, (i, A) => (r(), c("div", {
2286
2278
  class: "actions",
2287
2279
  key: A
2288
2280
  }, [
2289
- o("div", zo, [
2281
+ o("div", To, [
2290
2282
  o("span", {
2291
2283
  class: C(["icon pi pi-arrow-up-left", t[i.type]])
2292
2284
  }, null, 2),
@@ -2296,25 +2288,25 @@ const Xc = (e) => {
2296
2288
  ])
2297
2289
  ]));
2298
2290
  }
2299
- }), Lo = /* @__PURE__ */ L(Oo, [["__scopeId", "data-v-b4897697"]]), Uo = { class: "template-selector" }, Bo = { class: "template-selector__container" }, Qo = { class: "template-selector__list-groups" }, Ro = { class: "template-selector__label-group" }, Yo = ["src", "alt"], $o = ["id", "value"], qo = { class: "template-selector__searching-container" }, Fo = { class: "template-selector__templates" }, Ho = {
2291
+ }), Vo = /* @__PURE__ */ L(xo, [["__scopeId", "data-v-b4897697"]]), So = { class: "template-selector" }, Co = { class: "template-selector__container" }, zo = { class: "template-selector__list-groups" }, Oo = { class: "template-selector__label-group" }, Lo = ["src", "alt"], Uo = ["id", "value"], Bo = { class: "template-selector__searching-container" }, Qo = { class: "template-selector__templates" }, Ro = {
2300
2292
  key: 0,
2301
2293
  class: "template-selector__list-templates"
2302
- }, Po = ["onClick"], Wo = { class: "template-selector__item-template-info" }, Ko = { class: "template-selector__item-title" }, Jo = { class: "template-selector__item-text" }, Go = {
2294
+ }, Yo = ["onClick"], $o = { class: "template-selector__item-template-info" }, qo = { class: "template-selector__item-title" }, Fo = { class: "template-selector__item-text" }, Ho = {
2303
2295
  key: 1,
2304
2296
  class: "template-selector__plug"
2305
- }, Zo = {
2297
+ }, Po = {
2306
2298
  key: 0,
2307
2299
  class: "template-selector__preview"
2308
- }, Xo = { class: "template-selector__preview-wrapper" }, eA = { class: "template-selector__preview-text-container" }, fA = { key: 0 }, tA = {
2300
+ }, Wo = { class: "template-selector__preview-wrapper" }, Ko = { class: "template-selector__preview-text-container" }, Jo = { key: 0 }, Go = {
2309
2301
  key: 1,
2310
2302
  class: "template-selector__plug"
2311
- }, nA = {
2303
+ }, Zo = {
2312
2304
  key: 2,
2313
2305
  class: "template-selector__reply-buttons"
2314
- }, aA = {
2306
+ }, Xo = {
2315
2307
  key: 0,
2316
2308
  class: "template-selector__modal"
2317
- }, sA = ["autofocus"], iA = ["disabled"], oA = {
2309
+ }, eA = ["autofocus"], fA = ["disabled"], tA = {
2318
2310
  __name: "WABATemplateSelector",
2319
2311
  props: {
2320
2312
  wabaTemplates: {
@@ -2334,107 +2326,109 @@ const Xc = (e) => {
2334
2326
  n("closeTemplateWindow"), te();
2335
2327
  }, s = () => {
2336
2328
  n("closeTemplateWindow");
2337
- const x = {
2329
+ const T = {
2338
2330
  text: "",
2339
2331
  templateId: "",
2340
2332
  values: [],
2341
2333
  file: null,
2342
2334
  buttons: null
2343
2335
  };
2344
- g.value ? (x.text = le.value, x.templateId = l.value.templateId, x.values = ie.value, x.file = g.value) : (x.text = le.value, x.templateId = l.value.templateId, x.values = ie.value), l.value.buttons && (x.buttons = l.value.buttons), n("sendWabaValues", x), te();
2345
- }, i = (x) => {
2346
- g.value = x;
2336
+ g.value ? (T.text = le.value, T.templateId = l.value.templateId, T.values = ie.value, T.file = g.value) : (T.text = le.value, T.templateId = l.value.templateId, T.values = ie.value), l.value.buttons && (T.buttons = l.value.buttons), n("sendWabaValues", T), te();
2337
+ }, i = (T) => {
2338
+ g.value = T;
2347
2339
  }, A = v(null), u = v(null), l = v(null), g = v(null), d = v(""), m = v(!1), p = () => {
2348
2340
  m.value = !m.value, m.value ? (A.value.scrollTop = 0, A.value.style["overflow-y"] = "hidden") : A.value.style["overflow-y"] = "scroll";
2349
- }, h = (x) => {
2350
- t.wabaTemplates.forEach((O) => O.isSelected = !1), x.isSelected = !0, l.value = x, m.value = !1;
2341
+ }, h = (T) => {
2342
+ t.wabaTemplates.forEach((O) => O.isSelected = !1), T.isSelected = !0, l.value = T, m.value = !1;
2351
2343
  }, y = () => {
2352
- t.wabaTemplates.forEach((x) => x.isSelected = !1);
2353
- }, M = $(() => u.value ? t.wabaTemplates.filter((x) => x.groupId === u.value.groupId) : t.wabaTemplates), N = $(() => {
2354
- const x = d.value.trim().toLowerCase();
2355
- return M.value.filter((O) => O.title.toLowerCase().includes(x) || O.template.toLowerCase().includes(x));
2356
- }), D = Hn({}), T = v(!1), w = v(null), I = v(null), V = v(""), j = (x) => {
2357
- I.value = x, V.value = D[x] || "", T.value = !0;
2344
+ t.wabaTemplates.forEach((T) => T.isSelected = !1);
2345
+ }, M = $(() => u.value ? t.wabaTemplates.filter((T) => T.groupId === u.value.groupId) : t.wabaTemplates), N = $(() => {
2346
+ const T = d.value.trim().toLowerCase();
2347
+ return M.value.filter((O) => O.title.toLowerCase().includes(T) || O.template.toLowerCase().includes(T));
2348
+ }), D = Hn({}), x = v(!1), _ = v(null), w = v(null), V = v(""), j = (T) => {
2349
+ w.value = T, V.value = D[T] || "", x.value = !0;
2358
2350
  }, k = () => {
2359
- T.value = !1, I.value = null, V.value = "";
2351
+ x.value = !1, w.value = null, V.value = "";
2360
2352
  }, S = () => {
2361
- U(I.value, V.value), k();
2362
- }, U = (x, O) => {
2363
- D[x] = O;
2353
+ B(w.value, V.value), k();
2354
+ }, B = (T, O) => {
2355
+ D[T] = O;
2364
2356
  }, R = $(() => {
2365
2357
  var he;
2366
- const x = (he = l.value) == null ? void 0 : he.template;
2367
- if (!x) return [];
2368
- const O = [...x.matchAll(/{{\d+}}/g)], Q = [];
2358
+ const T = (he = l.value) == null ? void 0 : he.template;
2359
+ if (!T) return [];
2360
+ const O = [...T.matchAll(/{{\d+}}/g)], U = [];
2369
2361
  let G = 0;
2370
2362
  return O.forEach((Ne) => {
2371
- Ne.index > G && Q.push(x.substring(G, Ne.index)), Q.push({ index: parseInt(Ne[0].slice(2, -2)) }), G = Ne.index + Ne[0].length;
2372
- }), G < x.length && Q.push(x.substring(G)), Q;
2363
+ Ne.index > G && U.push(T.substring(G, Ne.index)), U.push({ index: parseInt(Ne[0].slice(2, -2)) }), G = Ne.index + Ne[0].length;
2364
+ }), G < T.length && U.push(T.substring(G)), U;
2373
2365
  }), P = $(() => {
2374
- var O;
2366
+ var O, U;
2375
2367
  if (!l.value)
2376
2368
  return !0;
2377
- const x = Object.keys(D).length !== ((O = l.value) == null ? void 0 : O.template.match(/{{\d+}}/gi).length);
2369
+ if (!((O = l.value) != null && O.template.match(/{{\d+}}/gi)))
2370
+ return !1;
2371
+ const T = Object.keys(D).length !== ((U = l.value) == null ? void 0 : U.template.match(/{{\d+}}/gi).length);
2378
2372
  if (l.value.type === "TEXT")
2379
- return x;
2373
+ return T;
2380
2374
  if (l.value.type !== "TEXT")
2381
- return x || !g.value;
2375
+ return T || !g.value;
2382
2376
  }), te = () => {
2383
- Object.keys(D).forEach((x) => {
2384
- D[x] = "";
2377
+ Object.keys(D).forEach((T) => {
2378
+ D[T] = "";
2385
2379
  }), g.value = null, l.value = null, y();
2386
2380
  }, le = $(() => {
2387
2381
  console.log(R.value, l.value.buttons);
2388
- let x = R.value.map((Q) => typeof Q == "string" ? Q : D[Q.index]).join(""), O = "";
2389
- return l.value.buttons && (O = l.value.buttons.map((Q) => `
2390
- | [` + Q.text + "]").join("")), x.concat(O);
2382
+ let T = R.value.map((U) => typeof U == "string" ? U : D[U.index]).join(""), O = "";
2383
+ return l.value.buttons && (O = l.value.buttons.map((U) => `
2384
+ | [` + U.text + "]").join("")), T.concat(O);
2391
2385
  }), ie = $(() => {
2392
- const x = [];
2386
+ const T = [];
2393
2387
  for (const O in D)
2394
- D[O] !== "" && D[O] !== "Заполнить" && x.push(D[O]);
2395
- return x;
2388
+ D[O] !== "" && D[O] !== "Заполнить" && T.push(D[O]);
2389
+ return T;
2396
2390
  });
2397
- return X(T, (x) => {
2398
- x && lf(() => {
2399
- w.value.focus();
2391
+ return X(x, (T) => {
2392
+ T && lf(() => {
2393
+ _.value.focus();
2400
2394
  });
2401
- }), (x, O) => (r(), c("div", Uo, [
2402
- o("div", Bo, [
2395
+ }), (T, O) => (r(), c("div", So, [
2396
+ o("div", Co, [
2403
2397
  o("button", { class: "template-selector__button-close" }, [
2404
2398
  o("span", {
2405
2399
  class: "pi pi-times",
2406
2400
  onClick: a
2407
2401
  })
2408
2402
  ]),
2409
- o("ul", Qo, [
2410
- (r(!0), c(F, null, Z(e.groupTemplates, (Q, G) => (r(), c("li", {
2403
+ o("ul", zo, [
2404
+ (r(!0), c(F, null, Z(e.groupTemplates, (U, G) => (r(), c("li", {
2411
2405
  key: G,
2412
- class: C(["template-selector__item-group", { "template-selector__item-selected": u.value === Q }]),
2406
+ class: C(["template-selector__item-group", { "template-selector__item-selected": u.value === U }]),
2413
2407
  onClick: y
2414
2408
  }, [
2415
- o("label", Ro, [
2416
- Q.iconUrl ? (r(), c("img", {
2409
+ o("label", Oo, [
2410
+ U.iconUrl ? (r(), c("img", {
2417
2411
  key: 0,
2418
2412
  class: "template-selector__item-group-icon",
2419
- src: Q.iconUrl,
2420
- alt: Q.title
2421
- }, null, 8, Yo)) : b("", !0),
2413
+ src: U.iconUrl,
2414
+ alt: U.title
2415
+ }, null, 8, Lo)) : b("", !0),
2422
2416
  ce(o("input", {
2423
2417
  id: G,
2424
2418
  "onUpdate:modelValue": O[0] || (O[0] = (he) => u.value = he),
2425
- value: Q,
2419
+ value: U,
2426
2420
  class: "template-selector__input-group",
2427
2421
  type: "radio"
2428
- }, null, 8, $o), [
2422
+ }, null, 8, Uo), [
2429
2423
  [qn, u.value]
2430
2424
  ]),
2431
- o("span", null, E(Q.title), 1)
2425
+ o("span", null, E(U.title), 1)
2432
2426
  ])
2433
2427
  ], 2))), 128))
2434
2428
  ]),
2435
- o("div", qo, [
2429
+ o("div", Bo, [
2436
2430
  ce(o("input", {
2437
- "onUpdate:modelValue": O[1] || (O[1] = (Q) => d.value = Q),
2431
+ "onUpdate:modelValue": O[1] || (O[1] = (U) => d.value = U),
2438
2432
  class: "template-selector__searching-input",
2439
2433
  type: "text",
2440
2434
  placeholder: "Поиск шаблона"
@@ -2442,58 +2436,58 @@ const Xc = (e) => {
2442
2436
  [yf, d.value]
2443
2437
  ])
2444
2438
  ]),
2445
- o("div", Fo, [
2446
- N.value.length !== 0 ? (r(), c("ul", Ho, [
2447
- (r(!0), c(F, null, Z(N.value, (Q, G) => (r(), c("li", {
2439
+ o("div", Qo, [
2440
+ N.value.length !== 0 ? (r(), c("ul", Ro, [
2441
+ (r(!0), c(F, null, Z(N.value, (U, G) => (r(), c("li", {
2448
2442
  key: G,
2449
- class: C(["template-selector__item-template", { "template-selector__item-selected": Q.isSelected }]),
2450
- onClick: (he) => h(Q)
2443
+ class: C(["template-selector__item-template", { "template-selector__item-selected": U.isSelected }]),
2444
+ onClick: (he) => h(U)
2451
2445
  }, [
2452
- o("div", Wo, [
2453
- o("p", Ko, E(Q.title), 1),
2454
- o("p", Jo, E(Q.template), 1)
2446
+ o("div", $o, [
2447
+ o("p", qo, E(U.title), 1),
2448
+ o("p", Fo, E(U.template), 1)
2455
2449
  ])
2456
- ], 10, Po))), 128))
2457
- ])) : (r(), c("p", Go, " Шаблоны отсутствуют "))
2450
+ ], 10, Yo))), 128))
2451
+ ])) : (r(), c("p", Ho, " Шаблоны отсутствуют "))
2458
2452
  ]),
2459
2453
  o("div", {
2460
2454
  class: "template-selector__preview-container",
2461
2455
  ref_key: "previewContainer",
2462
2456
  ref: A
2463
2457
  }, [
2464
- R.value.length > 0 ? (r(), c("div", Zo, [
2465
- o("div", Xo, [
2466
- l.value.type != "TEXT" ? (r(), q(Do, {
2458
+ R.value.length > 0 ? (r(), c("div", Po, [
2459
+ o("div", Wo, [
2460
+ l.value.type != "TEXT" ? (r(), q(_o, {
2467
2461
  key: 0,
2468
2462
  type: l.value.type,
2469
2463
  templateId: l.value.templateId,
2470
2464
  onFileSelected: i
2471
2465
  }, null, 8, ["type", "templateId"])) : b("", !0),
2472
- o("div", eA, [
2473
- (r(!0), c(F, null, Z(R.value, (Q, G) => (r(), c(F, { key: G }, [
2474
- typeof Q == "string" ? (r(), c("span", fA, E(Q), 1)) : typeof Q == "object" ? (r(), q(bo, {
2466
+ o("div", Ko, [
2467
+ (r(!0), c(F, null, Z(R.value, (U, G) => (r(), c(F, { key: G }, [
2468
+ typeof U == "string" ? (r(), c("span", Jo, E(U), 1)) : typeof U == "object" ? (r(), q(po, {
2475
2469
  key: 1,
2476
- index: Q.index,
2477
- value: D[Q.index] || "Заполнить",
2478
- "is-filled": !!D[Q.index],
2479
- onClick: (he) => j(Q.index)
2470
+ index: U.index,
2471
+ value: D[U.index] || "Заполнить",
2472
+ "is-filled": !!D[U.index],
2473
+ onClick: (he) => j(U.index)
2480
2474
  }, null, 8, ["index", "value", "is-filled", "onClick"])) : b("", !0)
2481
2475
  ], 64))), 128))
2482
2476
  ]),
2483
2477
  O[3] || (O[3] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1)),
2484
- l.value.buttons ? (r(), q(xo, {
2478
+ l.value.buttons ? (r(), q(No, {
2485
2479
  key: 1,
2486
2480
  buttons: l.value.buttons,
2487
2481
  onSelectAllVariants: p
2488
2482
  }, null, 8, ["buttons"])) : b("", !0)
2489
2483
  ])
2490
- ])) : (r(), c("p", tA, " Предпросмотр шаблона ")),
2491
- m.value ? (r(), c("div", nA, [
2484
+ ])) : (r(), c("p", Go, " Предпросмотр шаблона ")),
2485
+ m.value ? (r(), c("div", Zo, [
2492
2486
  o("div", {
2493
2487
  class: "template-selector__semitransparent-overlay",
2494
2488
  onClick: p
2495
2489
  }),
2496
- Y(Lo, {
2490
+ Y(Vo, {
2497
2491
  buttons: l.value.buttons,
2498
2492
  onSelectAllVariants: p
2499
2493
  }, null, 8, ["buttons"])
@@ -2501,15 +2495,15 @@ const Xc = (e) => {
2501
2495
  ], 512),
2502
2496
  Y(W, { name: "modal-fade" }, {
2503
2497
  default: K(() => [
2504
- T.value ? (r(), c("div", aA, [
2498
+ x.value ? (r(), c("div", Xo, [
2505
2499
  ce(o("input", {
2506
2500
  ref_key: "inputRef",
2507
- ref: w,
2508
- "onUpdate:modelValue": O[2] || (O[2] = (Q) => V.value = Q),
2501
+ ref: _,
2502
+ "onUpdate:modelValue": O[2] || (O[2] = (U) => V.value = U),
2509
2503
  type: "text",
2510
2504
  placeholder: "Введите значение",
2511
- autofocus: T.value
2512
- }, null, 8, sA), [
2505
+ autofocus: x.value
2506
+ }, null, 8, eA), [
2513
2507
  [yf, V.value]
2514
2508
  ]),
2515
2509
  o("button", {
@@ -2528,11 +2522,11 @@ const Xc = (e) => {
2528
2522
  class: "template-selector__button-paste",
2529
2523
  disabled: P.value,
2530
2524
  onClick: s
2531
- }, " Отправить ", 8, iA)
2525
+ }, " Отправить ", 8, fA)
2532
2526
  ])
2533
2527
  ]));
2534
2528
  }
2535
- }, AA = /* @__PURE__ */ L(oA, [["__scopeId", "data-v-c9a88582"]]), lA = {
2529
+ }, nA = /* @__PURE__ */ L(tA, [["__scopeId", "data-v-f60d7f46"]]), aA = {
2536
2530
  __name: "ButtonWabaTemplateSelector",
2537
2531
  props: {
2538
2532
  wabaTemplates: {
@@ -2594,7 +2588,7 @@ const Xc = (e) => {
2594
2588
  onMouseover: A,
2595
2589
  onMouseout: u
2596
2590
  }, [
2597
- Y(AA, {
2591
+ Y(nA, {
2598
2592
  "waba-templates": e.wabaTemplates,
2599
2593
  "group-templates": e.groupTemplates,
2600
2594
  onCloseTemplateWindow: l,
@@ -2603,7 +2597,7 @@ const Xc = (e) => {
2603
2597
  ], 544)
2604
2598
  ], 64));
2605
2599
  }
2606
- }, Ad = /* @__PURE__ */ L(lA, [["__scopeId", "data-v-77f4b9a1"]]), oa = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", Aa = {
2600
+ }, Zc = /* @__PURE__ */ L(aA, [["__scopeId", "data-v-77f4b9a1"]]), oa = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", Aa = {
2607
2601
  recent: "Recently used",
2608
2602
  smileys_people: "Smiles & People",
2609
2603
  animals_nature: "Animals & Nature",
@@ -2613,21 +2607,21 @@ const Xc = (e) => {
2613
2607
  objects: "Objects",
2614
2608
  symbols: "Symbols",
2615
2609
  flags: "Flags"
2616
- }, la = "u", yt = "n", zf = "v", If = "r", rA = {
2610
+ }, la = "u", yt = "n", zf = "v", If = "r", sA = {
2617
2611
  [yt]: ["grinning face", "grinning"],
2618
2612
  [la]: "1f600",
2619
2613
  [If]: "1f600"
2620
- }, gt = "neutral", uA = "1f3fb", cA = "1f3fc", dA = "1f3fd", gA = "1f3fe", mA = "1f3ff", pA = [
2614
+ }, gt = "neutral", iA = "1f3fb", oA = "1f3fc", AA = "1f3fd", lA = "1f3fe", rA = "1f3ff", uA = [
2621
2615
  gt,
2622
- uA,
2623
- cA,
2624
- dA,
2625
- gA,
2626
- mA
2627
- ], hA = {
2616
+ iA,
2617
+ oA,
2618
+ AA,
2619
+ lA,
2620
+ rA
2621
+ ], cA = {
2628
2622
  placeholder: "Search emoji",
2629
2623
  skinTone: "Skin tone"
2630
- }, yA = ["light", "dark", "auto"], vA = [
2624
+ }, dA = ["light", "dark", "auto"], gA = [
2631
2625
  {
2632
2626
  n: [
2633
2627
  "grinning face",
@@ -7035,7 +7029,7 @@ const Xc = (e) => {
7035
7029
  ],
7036
7030
  u: "1f48e"
7037
7031
  }
7038
- ], MA = [
7032
+ ], mA = [
7039
7033
  {
7040
7034
  n: [
7041
7035
  "monkey face",
@@ -7769,7 +7763,7 @@ const Xc = (e) => {
7769
7763
  ],
7770
7764
  u: "1f343"
7771
7765
  }
7772
- ], bA = [
7766
+ ], pA = [
7773
7767
  {
7774
7768
  n: [
7775
7769
  "grapes"
@@ -8435,7 +8429,7 @@ const Xc = (e) => {
8435
8429
  ],
8436
8430
  u: "1f3fa"
8437
8431
  }
8438
- ], _A = [
8432
+ ], hA = [
8439
8433
  {
8440
8434
  n: [
8441
8435
  "jack-o-lantern",
@@ -8841,7 +8835,7 @@ const Xc = (e) => {
8841
8835
  ],
8842
8836
  u: "1f3b4"
8843
8837
  }
8844
- ], IA = [
8838
+ ], yA = [
8845
8839
  {
8846
8840
  n: [
8847
8841
  "earth globe europe-africa",
@@ -10208,7 +10202,7 @@ const Xc = (e) => {
10208
10202
  ],
10209
10203
  u: "1f30a"
10210
10204
  }
10211
- ], wA = [
10205
+ ], vA = [
10212
10206
  {
10213
10207
  n: [
10214
10208
  "speaker with cancellation stroke",
@@ -11272,7 +11266,7 @@ const Xc = (e) => {
11272
11266
  ],
11273
11267
  u: "1f6d2"
11274
11268
  }
11275
- ], kA = [
11269
+ ], MA = [
11276
11270
  {
11277
11271
  n: [
11278
11272
  "automated teller machine",
@@ -12670,7 +12664,7 @@ const Xc = (e) => {
12670
12664
  ],
12671
12665
  u: "1f535"
12672
12666
  }
12673
- ], NA = [
12667
+ ], bA = [
12674
12668
  {
12675
12669
  n: [
12676
12670
  "chequered flag",
@@ -14550,15 +14544,15 @@ const Xc = (e) => {
14550
14544
  u: "1f3f4-e0067-e0062-e0077-e006c-e0073-e007f"
14551
14545
  }
14552
14546
  ];
14553
- var DA = {
14554
- smileys_people: vA,
14555
- animals_nature: MA,
14556
- food_drink: bA,
14557
- activities: _A,
14558
- travel_places: IA,
14559
- objects: wA,
14560
- symbols: kA,
14561
- flags: NA
14547
+ var _A = {
14548
+ smileys_people: gA,
14549
+ animals_nature: mA,
14550
+ food_drink: pA,
14551
+ activities: hA,
14552
+ travel_places: yA,
14553
+ objects: vA,
14554
+ symbols: MA,
14555
+ flags: bA
14562
14556
  }, En = [
14563
14557
  {
14564
14558
  key: "recent",
@@ -14606,9 +14600,9 @@ var DA = {
14606
14600
  u: "1f3f3-fe0f"
14607
14601
  }
14608
14602
  ];
14609
- const EA = (e, f) => f.some((t) => e instanceof t);
14603
+ const IA = (e, f) => f.some((t) => e instanceof t);
14610
14604
  let jn, Tn;
14611
- function jA() {
14605
+ function wA() {
14612
14606
  return jn || (jn = [
14613
14607
  IDBDatabase,
14614
14608
  IDBObjectStore,
@@ -14617,7 +14611,7 @@ function jA() {
14617
14611
  IDBTransaction
14618
14612
  ]);
14619
14613
  }
14620
- function TA() {
14614
+ function kA() {
14621
14615
  return Tn || (Tn = [
14622
14616
  IDBCursor.prototype.advance,
14623
14617
  IDBCursor.prototype.continue,
@@ -14625,7 +14619,7 @@ function TA() {
14625
14619
  ]);
14626
14620
  }
14627
14621
  const ra = /* @__PURE__ */ new WeakMap(), Rt = /* @__PURE__ */ new WeakMap(), ua = /* @__PURE__ */ new WeakMap(), Tt = /* @__PURE__ */ new WeakMap(), Xt = /* @__PURE__ */ new WeakMap();
14628
- function xA(e) {
14622
+ function NA(e) {
14629
14623
  const f = new Promise((t, n) => {
14630
14624
  const a = () => {
14631
14625
  e.removeEventListener("success", s), e.removeEventListener("error", i);
@@ -14641,7 +14635,7 @@ function xA(e) {
14641
14635
  }).catch(() => {
14642
14636
  }), Xt.set(f, e), f;
14643
14637
  }
14644
- function VA(e) {
14638
+ function DA(e) {
14645
14639
  if (Rt.has(e))
14646
14640
  return;
14647
14641
  const f = new Promise((t, n) => {
@@ -14675,28 +14669,28 @@ let Yt = {
14675
14669
  return e instanceof IDBTransaction && (f === "done" || f === "store") ? !0 : f in e;
14676
14670
  }
14677
14671
  };
14678
- function SA(e) {
14672
+ function EA(e) {
14679
14673
  Yt = e(Yt);
14680
14674
  }
14681
- function CA(e) {
14675
+ function jA(e) {
14682
14676
  return e === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(f, ...t) {
14683
14677
  const n = e.call(xt(this), f, ...t);
14684
14678
  return ua.set(n, f.sort ? f.sort() : [f]), Ce(n);
14685
- } : TA().includes(e) ? function(...f) {
14679
+ } : kA().includes(e) ? function(...f) {
14686
14680
  return e.apply(xt(this), f), Ce(ra.get(this));
14687
14681
  } : function(...f) {
14688
14682
  return Ce(e.apply(xt(this), f));
14689
14683
  };
14690
14684
  }
14691
- function zA(e) {
14692
- return typeof e == "function" ? CA(e) : (e instanceof IDBTransaction && VA(e), EA(e, jA()) ? new Proxy(e, Yt) : e);
14685
+ function TA(e) {
14686
+ return typeof e == "function" ? jA(e) : (e instanceof IDBTransaction && DA(e), IA(e, wA()) ? new Proxy(e, Yt) : e);
14693
14687
  }
14694
14688
  function Ce(e) {
14695
14689
  if (e instanceof IDBRequest)
14696
- return xA(e);
14690
+ return NA(e);
14697
14691
  if (Tt.has(e))
14698
14692
  return Tt.get(e);
14699
- const f = zA(e);
14693
+ const f = TA(e);
14700
14694
  return f !== e && (Tt.set(e, f), Xt.set(f, e)), f;
14701
14695
  }
14702
14696
  const xt = (e) => Xt.get(e);
@@ -14713,14 +14707,14 @@ function en(e, f, { blocked: t, upgrade: n, blocking: a, terminated: s } = {}) {
14713
14707
  }).catch(() => {
14714
14708
  }), A;
14715
14709
  }
14716
- const OA = ["get", "getKey", "getAll", "getAllKeys", "count"], LA = ["put", "add", "delete", "clear"], Vt = /* @__PURE__ */ new Map();
14710
+ const xA = ["get", "getKey", "getAll", "getAllKeys", "count"], VA = ["put", "add", "delete", "clear"], Vt = /* @__PURE__ */ new Map();
14717
14711
  function xn(e, f) {
14718
14712
  if (!(e instanceof IDBDatabase && !(f in e) && typeof f == "string"))
14719
14713
  return;
14720
14714
  if (Vt.get(f))
14721
14715
  return Vt.get(f);
14722
- const t = f.replace(/FromIndex$/, ""), n = f !== t, a = LA.includes(t);
14723
- if (!(t in (n ? IDBIndex : IDBObjectStore).prototype) || !(a || OA.includes(t)))
14716
+ const t = f.replace(/FromIndex$/, ""), n = f !== t, a = VA.includes(t);
14717
+ if (!(t in (n ? IDBIndex : IDBObjectStore).prototype) || !(a || xA.includes(t)))
14724
14718
  return;
14725
14719
  const s = async function(i, ...A) {
14726
14720
  const u = this.transaction(i, a ? "readwrite" : "readonly");
@@ -14732,13 +14726,13 @@ function xn(e, f) {
14732
14726
  };
14733
14727
  return Vt.set(f, s), s;
14734
14728
  }
14735
- SA((e) => ({
14729
+ EA((e) => ({
14736
14730
  ...e,
14737
14731
  get: (f, t, n) => xn(f, t) || e.get(f, t, n),
14738
14732
  has: (f, t) => !!xn(f, t) || e.has(f, t)
14739
14733
  }));
14740
14734
  const fn = "EMJ", He = "emojis", tn = 3;
14741
- async function UA() {
14735
+ async function SA() {
14742
14736
  (await en(fn, tn, {
14743
14737
  upgrade(f, t) {
14744
14738
  f.objectStoreNames.contains(He) || f.createObjectStore(He, {
@@ -14750,8 +14744,8 @@ async function UA() {
14750
14744
  }
14751
14745
  })).close();
14752
14746
  }
14753
- UA();
14754
- const BA = {
14747
+ SA();
14748
+ const CA = {
14755
14749
  native: !1,
14756
14750
  hideSearch: !0,
14757
14751
  hideGroupIcons: !1,
@@ -14764,23 +14758,23 @@ const BA = {
14764
14758
  groupOrder: [],
14765
14759
  groupIcons: {}
14766
14760
  };
14767
- async function QA() {
14761
+ async function zA() {
14768
14762
  return await (await en(fn, tn)).transaction(He, "readonly").objectStore(He).getAll();
14769
14763
  }
14770
- function RA() {
14764
+ function OA() {
14771
14765
  const e = Hn({
14772
14766
  search: "",
14773
- emoji: rA,
14767
+ emoji: sA,
14774
14768
  activeGroup: "",
14775
14769
  skinTone: gt,
14776
- options: BA,
14770
+ options: CA,
14777
14771
  additionalGroups: {},
14778
14772
  recent: [],
14779
14773
  get emojis() {
14780
14774
  return {
14781
14775
  recent: this.recent,
14782
14776
  ...this.options.additionalGroups,
14783
- ...DA
14777
+ ..._A
14784
14778
  };
14785
14779
  },
14786
14780
  get disabled() {
@@ -14806,7 +14800,7 @@ function RA() {
14806
14800
  }
14807
14801
  async function t() {
14808
14802
  var d;
14809
- let m = await QA();
14803
+ let m = await zA();
14810
14804
  return Array.isArray(m) && m.length ? m = JSON.parse(((d = m[0]) == null ? void 0 : d.value) || "") : m = [], m;
14811
14805
  }
14812
14806
  function n() {
@@ -14850,11 +14844,11 @@ function RA() {
14850
14844
  updateSelect: g
14851
14845
  };
14852
14846
  }
14853
- var ae = "top", ge = "bottom", me = "right", se = "left", nn = "auto", Nf = [ae, ge, me, se], Pe = "start", wf = "end", YA = "clippingParents", ca = "viewport", of = "popper", $A = "reference", Vn = /* @__PURE__ */ Nf.reduce(function(e, f) {
14847
+ var ae = "top", ge = "bottom", me = "right", se = "left", nn = "auto", Nf = [ae, ge, me, se], Pe = "start", wf = "end", LA = "clippingParents", ca = "viewport", of = "popper", UA = "reference", Vn = /* @__PURE__ */ Nf.reduce(function(e, f) {
14854
14848
  return e.concat([f + "-" + Pe, f + "-" + wf]);
14855
14849
  }, []), da = /* @__PURE__ */ [].concat(Nf, [nn]).reduce(function(e, f) {
14856
14850
  return e.concat([f, f + "-" + Pe, f + "-" + wf]);
14857
- }, []), qA = "beforeRead", FA = "read", HA = "afterRead", PA = "beforeMain", WA = "main", KA = "afterMain", JA = "beforeWrite", GA = "write", ZA = "afterWrite", XA = [qA, FA, HA, PA, WA, KA, JA, GA, ZA];
14851
+ }, []), BA = "beforeRead", QA = "read", RA = "afterRead", YA = "beforeMain", $A = "main", qA = "afterMain", FA = "beforeWrite", HA = "write", PA = "afterWrite", WA = [BA, QA, RA, YA, $A, qA, FA, HA, PA];
14858
14852
  function we(e) {
14859
14853
  return e ? (e.nodeName || "").toLowerCase() : null;
14860
14854
  }
@@ -14881,7 +14875,7 @@ function ga(e) {
14881
14875
  var f = Me(e).ShadowRoot;
14882
14876
  return e instanceof f || e instanceof ShadowRoot;
14883
14877
  }
14884
- function el(e) {
14878
+ function KA(e) {
14885
14879
  var f = e.state;
14886
14880
  Object.keys(f.elements).forEach(function(t) {
14887
14881
  var n = f.styles[t] || {}, a = f.attributes[t] || {}, s = f.elements[t];
@@ -14891,7 +14885,7 @@ function el(e) {
14891
14885
  }));
14892
14886
  });
14893
14887
  }
14894
- function fl(e) {
14888
+ function JA(e) {
14895
14889
  var f = e.state, t = {
14896
14890
  popper: {
14897
14891
  position: f.options.strategy,
@@ -14915,12 +14909,12 @@ function fl(e) {
14915
14909
  });
14916
14910
  };
14917
14911
  }
14918
- var tl = {
14912
+ var GA = {
14919
14913
  name: "applyStyles",
14920
14914
  enabled: !0,
14921
14915
  phase: "write",
14922
- fn: el,
14923
- effect: fl,
14916
+ fn: KA,
14917
+ effect: JA,
14924
14918
  requires: ["computeStyles"]
14925
14919
  };
14926
14920
  function Ie(e) {
@@ -14971,7 +14965,7 @@ function ma(e, f) {
14971
14965
  function ke(e) {
14972
14966
  return Me(e).getComputedStyle(e);
14973
14967
  }
14974
- function nl(e) {
14968
+ function ZA(e) {
14975
14969
  return ["table", "td", "th"].indexOf(we(e)) >= 0;
14976
14970
  }
14977
14971
  function Oe(e) {
@@ -14983,7 +14977,7 @@ function vt(e) {
14983
14977
  function Sn(e) {
14984
14978
  return !de(e) || ke(e).position === "fixed" ? null : e.offsetParent;
14985
14979
  }
14986
- function al(e) {
14980
+ function XA(e) {
14987
14981
  var f = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1, t = navigator.userAgent.indexOf("Trident") !== -1;
14988
14982
  if (t && de(e)) {
14989
14983
  var n = ke(e);
@@ -14999,9 +14993,9 @@ function al(e) {
14999
14993
  return null;
15000
14994
  }
15001
14995
  function Df(e) {
15002
- for (var f = Me(e), t = Sn(e); t && nl(t) && ke(t).position === "static"; )
14996
+ for (var f = Me(e), t = Sn(e); t && ZA(t) && ke(t).position === "static"; )
15003
14997
  t = Sn(t);
15004
- return t && (we(t) === "html" || we(t) === "body" && ke(t).position === "static") ? f : t || al(e) || f;
14998
+ return t && (we(t) === "html" || we(t) === "body" && ke(t).position === "static") ? f : t || XA(e) || f;
15005
14999
  }
15006
15000
  function sn(e) {
15007
15001
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
@@ -15009,7 +15003,7 @@ function sn(e) {
15009
15003
  function pf(e, f, t) {
15010
15004
  return Ye(e, mt(f, t));
15011
15005
  }
15012
- function sl(e, f, t) {
15006
+ function el(e, f, t) {
15013
15007
  var n = pf(e, f, t);
15014
15008
  return n > t ? t : n;
15015
15009
  }
@@ -15029,41 +15023,41 @@ function ya(e, f) {
15029
15023
  return t[n] = e, t;
15030
15024
  }, {});
15031
15025
  }
15032
- var il = function(f, t) {
15026
+ var fl = function(f, t) {
15033
15027
  return f = typeof f == "function" ? f(Object.assign({}, t.rects, {
15034
15028
  placement: t.placement
15035
15029
  })) : f, ha(typeof f != "number" ? f : ya(f, Nf));
15036
15030
  };
15037
- function ol(e) {
15031
+ function tl(e) {
15038
15032
  var f, t = e.state, n = e.name, a = e.options, s = t.elements.arrow, i = t.modifiersData.popperOffsets, A = Ie(t.placement), u = sn(A), l = [se, me].indexOf(A) >= 0, g = l ? "height" : "width";
15039
15033
  if (!(!s || !i)) {
15040
- var d = il(a.padding, t), m = an(s), p = u === "y" ? ae : se, h = u === "y" ? ge : me, y = t.rects.reference[g] + t.rects.reference[u] - i[u] - t.rects.popper[g], M = i[u] - t.rects.reference[u], N = Df(s), D = N ? u === "y" ? N.clientHeight || 0 : N.clientWidth || 0 : 0, T = y / 2 - M / 2, w = d[p], I = D - m[g] - d[h], V = D / 2 - m[g] / 2 + T, j = pf(w, V, I), k = u;
15034
+ var d = fl(a.padding, t), m = an(s), p = u === "y" ? ae : se, h = u === "y" ? ge : me, y = t.rects.reference[g] + t.rects.reference[u] - i[u] - t.rects.popper[g], M = i[u] - t.rects.reference[u], N = Df(s), D = N ? u === "y" ? N.clientHeight || 0 : N.clientWidth || 0 : 0, x = y / 2 - M / 2, _ = d[p], w = D - m[g] - d[h], V = D / 2 - m[g] / 2 + x, j = pf(_, V, w), k = u;
15041
15035
  t.modifiersData[n] = (f = {}, f[k] = j, f.centerOffset = j - V, f);
15042
15036
  }
15043
15037
  }
15044
- function Al(e) {
15038
+ function nl(e) {
15045
15039
  var f = e.state, t = e.options, n = t.element, a = n === void 0 ? "[data-popper-arrow]" : n;
15046
15040
  a != null && (typeof a == "string" && (a = f.elements.popper.querySelector(a), !a) || ma(f.elements.popper, a) && (f.elements.arrow = a));
15047
15041
  }
15048
- var ll = {
15042
+ var al = {
15049
15043
  name: "arrow",
15050
15044
  enabled: !0,
15051
15045
  phase: "main",
15052
- fn: ol,
15053
- effect: Al,
15046
+ fn: tl,
15047
+ effect: nl,
15054
15048
  requires: ["popperOffsets"],
15055
15049
  requiresIfExists: ["preventOverflow"]
15056
15050
  };
15057
15051
  function Ge(e) {
15058
15052
  return e.split("-")[1];
15059
15053
  }
15060
- var rl = {
15054
+ var sl = {
15061
15055
  top: "auto",
15062
15056
  right: "auto",
15063
15057
  bottom: "auto",
15064
15058
  left: "auto"
15065
15059
  };
15066
- function ul(e) {
15060
+ function il(e) {
15067
15061
  var f = e.x, t = e.y, n = window, a = n.devicePixelRatio || 1;
15068
15062
  return {
15069
15063
  x: Ke(f * a) / a || 0,
@@ -15071,30 +15065,30 @@ function ul(e) {
15071
15065
  };
15072
15066
  }
15073
15067
  function Cn(e) {
15074
- var f, t = e.popper, n = e.popperRect, a = e.placement, s = e.variation, i = e.offsets, A = e.position, u = e.gpuAcceleration, l = e.adaptive, g = e.roundOffsets, d = e.isFixed, m = g === !0 ? ul(i) : typeof g == "function" ? g(i) : i, p = m.x, h = p === void 0 ? 0 : p, y = m.y, M = y === void 0 ? 0 : y, N = i.hasOwnProperty("x"), D = i.hasOwnProperty("y"), T = se, w = ae, I = window;
15068
+ var f, t = e.popper, n = e.popperRect, a = e.placement, s = e.variation, i = e.offsets, A = e.position, u = e.gpuAcceleration, l = e.adaptive, g = e.roundOffsets, d = e.isFixed, m = g === !0 ? il(i) : typeof g == "function" ? g(i) : i, p = m.x, h = p === void 0 ? 0 : p, y = m.y, M = y === void 0 ? 0 : y, N = i.hasOwnProperty("x"), D = i.hasOwnProperty("y"), x = se, _ = ae, w = window;
15075
15069
  if (l) {
15076
15070
  var V = Df(t), j = "clientHeight", k = "clientWidth";
15077
15071
  if (V === Me(t) && (V = Oe(t), ke(V).position !== "static" && A === "absolute" && (j = "scrollHeight", k = "scrollWidth")), V = V, a === ae || (a === se || a === me) && s === wf) {
15078
- w = ge;
15079
- var S = d && I.visualViewport ? I.visualViewport.height : V[j];
15072
+ _ = ge;
15073
+ var S = d && w.visualViewport ? w.visualViewport.height : V[j];
15080
15074
  M -= S - n.height, M *= u ? 1 : -1;
15081
15075
  }
15082
15076
  if (a === se || (a === ae || a === ge) && s === wf) {
15083
- T = me;
15084
- var U = d && I.visualViewport ? I.visualViewport.width : V[k];
15085
- h -= U - n.width, h *= u ? 1 : -1;
15077
+ x = me;
15078
+ var B = d && w.visualViewport ? w.visualViewport.width : V[k];
15079
+ h -= B - n.width, h *= u ? 1 : -1;
15086
15080
  }
15087
15081
  }
15088
15082
  var R = Object.assign({
15089
15083
  position: A
15090
- }, l && rl);
15084
+ }, l && sl);
15091
15085
  if (u) {
15092
15086
  var P;
15093
- return Object.assign({}, R, (P = {}, P[w] = D ? "0" : "", P[T] = N ? "0" : "", P.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + M + "px)" : "translate3d(" + h + "px, " + M + "px, 0)", P));
15087
+ return Object.assign({}, R, (P = {}, P[_] = D ? "0" : "", P[x] = N ? "0" : "", P.transform = (w.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + M + "px)" : "translate3d(" + h + "px, " + M + "px, 0)", P));
15094
15088
  }
15095
- return Object.assign({}, R, (f = {}, f[w] = D ? M + "px" : "", f[T] = N ? h + "px" : "", f.transform = "", f));
15089
+ return Object.assign({}, R, (f = {}, f[_] = D ? M + "px" : "", f[x] = N ? h + "px" : "", f.transform = "", f));
15096
15090
  }
15097
- function cl(e) {
15091
+ function ol(e) {
15098
15092
  var f = e.state, t = e.options, n = t.gpuAcceleration, a = n === void 0 ? !0 : n, s = t.adaptive, i = s === void 0 ? !0 : s, A = t.roundOffsets, u = A === void 0 ? !0 : A, l = {
15099
15093
  placement: Ie(f.placement),
15100
15094
  variation: Ge(f.placement),
@@ -15117,16 +15111,16 @@ function cl(e) {
15117
15111
  "data-popper-placement": f.placement
15118
15112
  });
15119
15113
  }
15120
- var dl = {
15114
+ var Al = {
15121
15115
  name: "computeStyles",
15122
15116
  enabled: !0,
15123
15117
  phase: "beforeWrite",
15124
- fn: cl,
15118
+ fn: ol,
15125
15119
  data: {}
15126
15120
  }, Of = {
15127
15121
  passive: !0
15128
15122
  };
15129
- function gl(e) {
15123
+ function ll(e) {
15130
15124
  var f = e.state, t = e.instance, n = e.options, a = n.scroll, s = a === void 0 ? !0 : a, i = n.resize, A = i === void 0 ? !0 : i, u = Me(f.elements.popper), l = [].concat(f.scrollParents.reference, f.scrollParents.popper);
15131
15125
  return s && l.forEach(function(g) {
15132
15126
  g.addEventListener("scroll", t.update, Of);
@@ -15136,15 +15130,15 @@ function gl(e) {
15136
15130
  }), A && u.removeEventListener("resize", t.update, Of);
15137
15131
  };
15138
15132
  }
15139
- var ml = {
15133
+ var rl = {
15140
15134
  name: "eventListeners",
15141
15135
  enabled: !0,
15142
15136
  phase: "write",
15143
15137
  fn: function() {
15144
15138
  },
15145
- effect: gl,
15139
+ effect: ll,
15146
15140
  data: {}
15147
- }, pl = {
15141
+ }, ul = {
15148
15142
  left: "right",
15149
15143
  right: "left",
15150
15144
  bottom: "top",
@@ -15152,16 +15146,16 @@ var ml = {
15152
15146
  };
15153
15147
  function Bf(e) {
15154
15148
  return e.replace(/left|right|bottom|top/g, function(f) {
15155
- return pl[f];
15149
+ return ul[f];
15156
15150
  });
15157
15151
  }
15158
- var hl = {
15152
+ var cl = {
15159
15153
  start: "end",
15160
15154
  end: "start"
15161
15155
  };
15162
15156
  function zn(e) {
15163
15157
  return e.replace(/start|end/g, function(f) {
15164
- return hl[f];
15158
+ return cl[f];
15165
15159
  });
15166
15160
  }
15167
15161
  function on(e) {
@@ -15174,7 +15168,7 @@ function on(e) {
15174
15168
  function An(e) {
15175
15169
  return Je(Oe(e)).left + on(e).scrollLeft;
15176
15170
  }
15177
- function yl(e) {
15171
+ function dl(e) {
15178
15172
  var f = Me(e), t = Oe(e), n = f.visualViewport, a = t.clientWidth, s = t.clientHeight, i = 0, A = 0;
15179
15173
  return n && (a = n.width, s = n.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (i = n.offsetLeft, A = n.offsetTop)), {
15180
15174
  width: a,
@@ -15183,7 +15177,7 @@ function yl(e) {
15183
15177
  y: A
15184
15178
  };
15185
15179
  }
15186
- function vl(e) {
15180
+ function gl(e) {
15187
15181
  var f, t = Oe(e), n = on(e), a = (f = e.ownerDocument) == null ? void 0 : f.body, s = Ye(t.scrollWidth, t.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), i = Ye(t.scrollHeight, t.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), A = -n.scrollLeft + An(e), u = -n.scrollTop;
15188
15182
  return ke(a || t).direction === "rtl" && (A += Ye(t.clientWidth, a ? a.clientWidth : 0) - s), {
15189
15183
  width: s,
@@ -15213,21 +15207,21 @@ function $t(e) {
15213
15207
  bottom: e.y + e.height
15214
15208
  });
15215
15209
  }
15216
- function Ml(e) {
15210
+ function ml(e) {
15217
15211
  var f = Je(e);
15218
15212
  return f.top = f.top + e.clientTop, f.left = f.left + e.clientLeft, f.bottom = f.top + e.clientHeight, f.right = f.left + e.clientWidth, f.width = e.clientWidth, f.height = e.clientHeight, f.x = f.left, f.y = f.top, f;
15219
15213
  }
15220
15214
  function On(e, f) {
15221
- return f === ca ? $t(yl(e)) : We(f) ? Ml(f) : $t(vl(Oe(e)));
15215
+ return f === ca ? $t(dl(e)) : We(f) ? ml(f) : $t(gl(Oe(e)));
15222
15216
  }
15223
- function bl(e) {
15217
+ function pl(e) {
15224
15218
  var f = hf(vt(e)), t = ["absolute", "fixed"].indexOf(ke(e).position) >= 0, n = t && de(e) ? Df(e) : e;
15225
15219
  return We(n) ? f.filter(function(a) {
15226
15220
  return We(a) && ma(a, n) && we(a) !== "body" && (t ? ke(a).position !== "static" : !0);
15227
15221
  }) : [];
15228
15222
  }
15229
- function _l(e, f, t) {
15230
- var n = f === "clippingParents" ? bl(e) : [].concat(f), a = [].concat(n, [t]), s = a[0], i = a.reduce(function(A, u) {
15223
+ function hl(e, f, t) {
15224
+ var n = f === "clippingParents" ? pl(e) : [].concat(f), a = [].concat(n, [t]), s = a[0], i = a.reduce(function(A, u) {
15231
15225
  var l = On(e, u);
15232
15226
  return A.top = Ye(l.top, A.top), A.right = mt(l.right, A.right), A.bottom = mt(l.bottom, A.bottom), A.left = Ye(l.left, A.left), A;
15233
15227
  }, On(e, s));
@@ -15282,27 +15276,27 @@ function Ma(e) {
15282
15276
  }
15283
15277
  function kf(e, f) {
15284
15278
  f === void 0 && (f = {});
15285
- var t = f, n = t.placement, a = n === void 0 ? e.placement : n, s = t.boundary, i = s === void 0 ? YA : s, A = t.rootBoundary, u = A === void 0 ? ca : A, l = t.elementContext, g = l === void 0 ? of : l, d = t.altBoundary, m = d === void 0 ? !1 : d, p = t.padding, h = p === void 0 ? 0 : p, y = ha(typeof h != "number" ? h : ya(h, Nf)), M = g === of ? $A : of, N = e.rects.popper, D = e.elements[m ? M : g], T = _l(We(D) ? D : D.contextElement || Oe(e.elements.popper), i, u), w = Je(e.elements.reference), I = Ma({
15286
- reference: w,
15279
+ var t = f, n = t.placement, a = n === void 0 ? e.placement : n, s = t.boundary, i = s === void 0 ? LA : s, A = t.rootBoundary, u = A === void 0 ? ca : A, l = t.elementContext, g = l === void 0 ? of : l, d = t.altBoundary, m = d === void 0 ? !1 : d, p = t.padding, h = p === void 0 ? 0 : p, y = ha(typeof h != "number" ? h : ya(h, Nf)), M = g === of ? UA : of, N = e.rects.popper, D = e.elements[m ? M : g], x = hl(We(D) ? D : D.contextElement || Oe(e.elements.popper), i, u), _ = Je(e.elements.reference), w = Ma({
15280
+ reference: _,
15287
15281
  element: N,
15288
15282
  strategy: "absolute",
15289
15283
  placement: a
15290
- }), V = $t(Object.assign({}, N, I)), j = g === of ? V : w, k = {
15291
- top: T.top - j.top + y.top,
15292
- bottom: j.bottom - T.bottom + y.bottom,
15293
- left: T.left - j.left + y.left,
15294
- right: j.right - T.right + y.right
15284
+ }), V = $t(Object.assign({}, N, w)), j = g === of ? V : _, k = {
15285
+ top: x.top - j.top + y.top,
15286
+ bottom: j.bottom - x.bottom + y.bottom,
15287
+ left: x.left - j.left + y.left,
15288
+ right: j.right - x.right + y.right
15295
15289
  }, S = e.modifiersData.offset;
15296
15290
  if (g === of && S) {
15297
- var U = S[a];
15291
+ var B = S[a];
15298
15292
  Object.keys(k).forEach(function(R) {
15299
15293
  var P = [me, ge].indexOf(R) >= 0 ? 1 : -1, te = [ae, ge].indexOf(R) >= 0 ? "y" : "x";
15300
- k[R] += U[te] * P;
15294
+ k[R] += B[te] * P;
15301
15295
  });
15302
15296
  }
15303
15297
  return k;
15304
15298
  }
15305
- function Il(e, f) {
15299
+ function yl(e, f) {
15306
15300
  f === void 0 && (f = {});
15307
15301
  var t = f, n = t.placement, a = t.boundary, s = t.rootBoundary, i = t.padding, A = t.flipVariations, u = t.allowedAutoPlacements, l = u === void 0 ? da : u, g = Ge(n), d = g ? A ? Vn : Vn.filter(function(h) {
15308
15302
  return Ge(h) === g;
@@ -15322,17 +15316,17 @@ function Il(e, f) {
15322
15316
  return p[h] - p[y];
15323
15317
  });
15324
15318
  }
15325
- function wl(e) {
15319
+ function vl(e) {
15326
15320
  if (Ie(e) === nn)
15327
15321
  return [];
15328
15322
  var f = Bf(e);
15329
15323
  return [zn(e), f, zn(f)];
15330
15324
  }
15331
- function kl(e) {
15325
+ function Ml(e) {
15332
15326
  var f = e.state, t = e.options, n = e.name;
15333
15327
  if (!f.modifiersData[n]._skip) {
15334
- for (var a = t.mainAxis, s = a === void 0 ? !0 : a, i = t.altAxis, A = i === void 0 ? !0 : i, u = t.fallbackPlacements, l = t.padding, g = t.boundary, d = t.rootBoundary, m = t.altBoundary, p = t.flipVariations, h = p === void 0 ? !0 : p, y = t.allowedAutoPlacements, M = f.options.placement, N = Ie(M), D = N === M, T = u || (D || !h ? [Bf(M)] : wl(M)), w = [M].concat(T).reduce(function($e, Te) {
15335
- return $e.concat(Ie(Te) === nn ? Il(f, {
15328
+ for (var a = t.mainAxis, s = a === void 0 ? !0 : a, i = t.altAxis, A = i === void 0 ? !0 : i, u = t.fallbackPlacements, l = t.padding, g = t.boundary, d = t.rootBoundary, m = t.altBoundary, p = t.flipVariations, h = p === void 0 ? !0 : p, y = t.allowedAutoPlacements, M = f.options.placement, N = Ie(M), D = N === M, x = u || (D || !h ? [Bf(M)] : vl(M)), _ = [M].concat(x).reduce(function($e, Te) {
15329
+ return $e.concat(Ie(Te) === nn ? yl(f, {
15336
15330
  placement: Te,
15337
15331
  boundary: g,
15338
15332
  rootBoundary: d,
@@ -15340,17 +15334,17 @@ function kl(e) {
15340
15334
  flipVariations: h,
15341
15335
  allowedAutoPlacements: y
15342
15336
  }) : Te);
15343
- }, []), I = f.rects.reference, V = f.rects.popper, j = /* @__PURE__ */ new Map(), k = !0, S = w[0], U = 0; U < w.length; U++) {
15344
- var R = w[U], P = Ie(R), te = Ge(R) === Pe, le = [ae, ge].indexOf(P) >= 0, ie = le ? "width" : "height", x = kf(f, {
15337
+ }, []), w = f.rects.reference, V = f.rects.popper, j = /* @__PURE__ */ new Map(), k = !0, S = _[0], B = 0; B < _.length; B++) {
15338
+ var R = _[B], P = Ie(R), te = Ge(R) === Pe, le = [ae, ge].indexOf(P) >= 0, ie = le ? "width" : "height", T = kf(f, {
15345
15339
  placement: R,
15346
15340
  boundary: g,
15347
15341
  rootBoundary: d,
15348
15342
  altBoundary: m,
15349
15343
  padding: l
15350
15344
  }), O = le ? te ? me : se : te ? ge : ae;
15351
- I[ie] > V[ie] && (O = Bf(O));
15352
- var Q = Bf(O), G = [];
15353
- if (s && G.push(x[P] <= 0), A && G.push(x[O] <= 0, x[Q] <= 0), G.every(function($e) {
15345
+ w[ie] > V[ie] && (O = Bf(O));
15346
+ var U = Bf(O), G = [];
15347
+ if (s && G.push(T[P] <= 0), A && G.push(T[O] <= 0, T[U] <= 0), G.every(function($e) {
15354
15348
  return $e;
15355
15349
  })) {
15356
15350
  S = R, k = !1;
@@ -15360,7 +15354,7 @@ function kl(e) {
15360
15354
  }
15361
15355
  if (k)
15362
15356
  for (var he = h ? 3 : 1, Ne = function(Te) {
15363
- var af = w.find(function(Tf) {
15357
+ var af = _.find(function(Tf) {
15364
15358
  var Ue = j.get(Tf);
15365
15359
  if (Ue)
15366
15360
  return Ue.slice(0, Te).every(function(Mt) {
@@ -15377,11 +15371,11 @@ function kl(e) {
15377
15371
  f.placement !== S && (f.modifiersData[n]._skip = !0, f.placement = S, f.reset = !0);
15378
15372
  }
15379
15373
  }
15380
- var Nl = {
15374
+ var bl = {
15381
15375
  name: "flip",
15382
15376
  enabled: !0,
15383
15377
  phase: "main",
15384
- fn: kl,
15378
+ fn: Ml,
15385
15379
  requiresIfExists: ["offset"],
15386
15380
  data: {
15387
15381
  _skip: !1
@@ -15403,7 +15397,7 @@ function Un(e) {
15403
15397
  return e[f] >= 0;
15404
15398
  });
15405
15399
  }
15406
- function Dl(e) {
15400
+ function _l(e) {
15407
15401
  var f = e.state, t = e.name, n = f.rects.reference, a = f.rects.popper, s = f.modifiersData.preventOverflow, i = kf(f, {
15408
15402
  elementContext: "reference"
15409
15403
  }), A = kf(f, {
@@ -15419,14 +15413,14 @@ function Dl(e) {
15419
15413
  "data-popper-escaped": d
15420
15414
  });
15421
15415
  }
15422
- var El = {
15416
+ var Il = {
15423
15417
  name: "hide",
15424
15418
  enabled: !0,
15425
15419
  phase: "main",
15426
15420
  requiresIfExists: ["preventOverflow"],
15427
- fn: Dl
15421
+ fn: _l
15428
15422
  };
15429
- function jl(e, f, t) {
15423
+ function wl(e, f, t) {
15430
15424
  var n = Ie(e), a = [se, ae].indexOf(n) >= 0 ? -1 : 1, s = typeof t == "function" ? t(Object.assign({}, f, {
15431
15425
  placement: e
15432
15426
  })) : t, i = s[0], A = s[1];
@@ -15438,20 +15432,20 @@ function jl(e, f, t) {
15438
15432
  y: A
15439
15433
  };
15440
15434
  }
15441
- function Tl(e) {
15435
+ function kl(e) {
15442
15436
  var f = e.state, t = e.options, n = e.name, a = t.offset, s = a === void 0 ? [0, 0] : a, i = da.reduce(function(g, d) {
15443
- return g[d] = jl(d, f.rects, s), g;
15437
+ return g[d] = wl(d, f.rects, s), g;
15444
15438
  }, {}), A = i[f.placement], u = A.x, l = A.y;
15445
15439
  f.modifiersData.popperOffsets != null && (f.modifiersData.popperOffsets.x += u, f.modifiersData.popperOffsets.y += l), f.modifiersData[n] = i;
15446
15440
  }
15447
- var xl = {
15441
+ var Nl = {
15448
15442
  name: "offset",
15449
15443
  enabled: !0,
15450
15444
  phase: "main",
15451
15445
  requires: ["popperOffsets"],
15452
- fn: Tl
15446
+ fn: kl
15453
15447
  };
15454
- function Vl(e) {
15448
+ function Dl(e) {
15455
15449
  var f = e.state, t = e.name;
15456
15450
  f.modifiersData[t] = Ma({
15457
15451
  reference: f.rects.reference,
@@ -15460,25 +15454,25 @@ function Vl(e) {
15460
15454
  placement: f.placement
15461
15455
  });
15462
15456
  }
15463
- var Sl = {
15457
+ var El = {
15464
15458
  name: "popperOffsets",
15465
15459
  enabled: !0,
15466
15460
  phase: "read",
15467
- fn: Vl,
15461
+ fn: Dl,
15468
15462
  data: {}
15469
15463
  };
15470
- function Cl(e) {
15464
+ function jl(e) {
15471
15465
  return e === "x" ? "y" : "x";
15472
15466
  }
15473
- function zl(e) {
15467
+ function Tl(e) {
15474
15468
  var f = e.state, t = e.options, n = e.name, a = t.mainAxis, s = a === void 0 ? !0 : a, i = t.altAxis, A = i === void 0 ? !1 : i, u = t.boundary, l = t.rootBoundary, g = t.altBoundary, d = t.padding, m = t.tether, p = m === void 0 ? !0 : m, h = t.tetherOffset, y = h === void 0 ? 0 : h, M = kf(f, {
15475
15469
  boundary: u,
15476
15470
  rootBoundary: l,
15477
15471
  padding: d,
15478
15472
  altBoundary: g
15479
- }), N = Ie(f.placement), D = Ge(f.placement), T = !D, w = sn(N), I = Cl(w), V = f.modifiersData.popperOffsets, j = f.rects.reference, k = f.rects.popper, S = typeof y == "function" ? y(Object.assign({}, f.rects, {
15473
+ }), N = Ie(f.placement), D = Ge(f.placement), x = !D, _ = sn(N), w = jl(_), V = f.modifiersData.popperOffsets, j = f.rects.reference, k = f.rects.popper, S = typeof y == "function" ? y(Object.assign({}, f.rects, {
15480
15474
  placement: f.placement
15481
- })) : y, U = typeof S == "number" ? {
15475
+ })) : y, B = typeof S == "number" ? {
15482
15476
  mainAxis: S,
15483
15477
  altAxis: S
15484
15478
  } : Object.assign({
@@ -15490,56 +15484,56 @@ function zl(e) {
15490
15484
  };
15491
15485
  if (V) {
15492
15486
  if (s) {
15493
- var te, le = w === "y" ? ae : se, ie = w === "y" ? ge : me, x = w === "y" ? "height" : "width", O = V[w], Q = O + M[le], G = O - M[ie], he = p ? -k[x] / 2 : 0, Ne = D === Pe ? j[x] : k[x], nf = D === Pe ? -k[x] : -j[x], jf = f.elements.arrow, $e = p && jf ? an(jf) : {
15487
+ var te, le = _ === "y" ? ae : se, ie = _ === "y" ? ge : me, T = _ === "y" ? "height" : "width", O = V[_], U = O + M[le], G = O - M[ie], he = p ? -k[T] / 2 : 0, Ne = D === Pe ? j[T] : k[T], nf = D === Pe ? -k[T] : -j[T], jf = f.elements.arrow, $e = p && jf ? an(jf) : {
15494
15488
  width: 0,
15495
15489
  height: 0
15496
- }, Te = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : pa(), af = Te[le], Tf = Te[ie], Ue = pf(0, j[x], $e[x]), Mt = T ? j[x] / 2 - he - Ue - af - U.mainAxis : Ne - Ue - af - U.mainAxis, wa = T ? -j[x] / 2 + he + Ue + Tf + U.mainAxis : nf + Ue + Tf + U.mainAxis, bt = f.elements.arrow && Df(f.elements.arrow), ka = bt ? w === "y" ? bt.clientTop || 0 : bt.clientLeft || 0 : 0, un = (te = R == null ? void 0 : R[w]) != null ? te : 0, Na = O + Mt - un - ka, Da = O + wa - un, cn = pf(p ? mt(Q, Na) : Q, O, p ? Ye(G, Da) : G);
15497
- V[w] = cn, P[w] = cn - O;
15490
+ }, Te = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : pa(), af = Te[le], Tf = Te[ie], Ue = pf(0, j[T], $e[T]), Mt = x ? j[T] / 2 - he - Ue - af - B.mainAxis : Ne - Ue - af - B.mainAxis, wa = x ? -j[T] / 2 + he + Ue + Tf + B.mainAxis : nf + Ue + Tf + B.mainAxis, bt = f.elements.arrow && Df(f.elements.arrow), ka = bt ? _ === "y" ? bt.clientTop || 0 : bt.clientLeft || 0 : 0, un = (te = R == null ? void 0 : R[_]) != null ? te : 0, Na = O + Mt - un - ka, Da = O + wa - un, cn = pf(p ? mt(U, Na) : U, O, p ? Ye(G, Da) : G);
15491
+ V[_] = cn, P[_] = cn - O;
15498
15492
  }
15499
15493
  if (A) {
15500
- var dn, Ea = w === "x" ? ae : se, ja = w === "x" ? ge : me, Be = V[I], xf = I === "y" ? "height" : "width", gn = Be + M[Ea], mn = Be - M[ja], _t = [ae, se].indexOf(N) !== -1, pn = (dn = R == null ? void 0 : R[I]) != null ? dn : 0, hn = _t ? gn : Be - j[xf] - k[xf] - pn + U.altAxis, yn = _t ? Be + j[xf] + k[xf] - pn - U.altAxis : mn, vn = p && _t ? sl(hn, Be, yn) : pf(p ? hn : gn, Be, p ? yn : mn);
15501
- V[I] = vn, P[I] = vn - Be;
15494
+ var dn, Ea = _ === "x" ? ae : se, ja = _ === "x" ? ge : me, Be = V[w], xf = w === "y" ? "height" : "width", gn = Be + M[Ea], mn = Be - M[ja], _t = [ae, se].indexOf(N) !== -1, pn = (dn = R == null ? void 0 : R[w]) != null ? dn : 0, hn = _t ? gn : Be - j[xf] - k[xf] - pn + B.altAxis, yn = _t ? Be + j[xf] + k[xf] - pn - B.altAxis : mn, vn = p && _t ? el(hn, Be, yn) : pf(p ? hn : gn, Be, p ? yn : mn);
15495
+ V[w] = vn, P[w] = vn - Be;
15502
15496
  }
15503
15497
  f.modifiersData[n] = P;
15504
15498
  }
15505
15499
  }
15506
- var Ol = {
15500
+ var xl = {
15507
15501
  name: "preventOverflow",
15508
15502
  enabled: !0,
15509
15503
  phase: "main",
15510
- fn: zl,
15504
+ fn: Tl,
15511
15505
  requiresIfExists: ["offset"]
15512
15506
  };
15513
- function Ll(e) {
15507
+ function Vl(e) {
15514
15508
  return {
15515
15509
  scrollLeft: e.scrollLeft,
15516
15510
  scrollTop: e.scrollTop
15517
15511
  };
15518
15512
  }
15519
- function Ul(e) {
15520
- return e === Me(e) || !de(e) ? on(e) : Ll(e);
15513
+ function Sl(e) {
15514
+ return e === Me(e) || !de(e) ? on(e) : Vl(e);
15521
15515
  }
15522
- function Bl(e) {
15516
+ function Cl(e) {
15523
15517
  var f = e.getBoundingClientRect(), t = Ke(f.width) / e.offsetWidth || 1, n = Ke(f.height) / e.offsetHeight || 1;
15524
15518
  return t !== 1 || n !== 1;
15525
15519
  }
15526
- function Ql(e, f, t) {
15520
+ function zl(e, f, t) {
15527
15521
  t === void 0 && (t = !1);
15528
- var n = de(f), a = de(f) && Bl(f), s = Oe(f), i = Je(e, a), A = {
15522
+ var n = de(f), a = de(f) && Cl(f), s = Oe(f), i = Je(e, a), A = {
15529
15523
  scrollLeft: 0,
15530
15524
  scrollTop: 0
15531
15525
  }, u = {
15532
15526
  x: 0,
15533
15527
  y: 0
15534
15528
  };
15535
- return (n || !n && !t) && ((we(f) !== "body" || ln(s)) && (A = Ul(f)), de(f) ? (u = Je(f, !0), u.x += f.clientLeft, u.y += f.clientTop) : s && (u.x = An(s))), {
15529
+ return (n || !n && !t) && ((we(f) !== "body" || ln(s)) && (A = Sl(f)), de(f) ? (u = Je(f, !0), u.x += f.clientLeft, u.y += f.clientTop) : s && (u.x = An(s))), {
15536
15530
  x: i.left + A.scrollLeft - u.x,
15537
15531
  y: i.top + A.scrollTop - u.y,
15538
15532
  width: i.width,
15539
15533
  height: i.height
15540
15534
  };
15541
15535
  }
15542
- function Rl(e) {
15536
+ function Ol(e) {
15543
15537
  var f = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set(), n = [];
15544
15538
  e.forEach(function(s) {
15545
15539
  f.set(s.name, s);
@@ -15558,15 +15552,15 @@ function Rl(e) {
15558
15552
  t.has(s.name) || a(s);
15559
15553
  }), n;
15560
15554
  }
15561
- function Yl(e) {
15562
- var f = Rl(e);
15563
- return XA.reduce(function(t, n) {
15555
+ function Ll(e) {
15556
+ var f = Ol(e);
15557
+ return WA.reduce(function(t, n) {
15564
15558
  return t.concat(f.filter(function(a) {
15565
15559
  return a.phase === n;
15566
15560
  }));
15567
15561
  }, []);
15568
15562
  }
15569
- function $l(e) {
15563
+ function Ul(e) {
15570
15564
  var f;
15571
15565
  return function() {
15572
15566
  return f || (f = new Promise(function(t) {
@@ -15576,7 +15570,7 @@ function $l(e) {
15576
15570
  })), f;
15577
15571
  };
15578
15572
  }
15579
- function ql(e) {
15573
+ function Bl(e) {
15580
15574
  var f = e.reduce(function(t, n) {
15581
15575
  var a = t[n.name];
15582
15576
  return t[n.name] = a ? Object.assign({}, a, n, {
@@ -15600,7 +15594,7 @@ function Qn() {
15600
15594
  return !(n && typeof n.getBoundingClientRect == "function");
15601
15595
  });
15602
15596
  }
15603
- function Fl(e) {
15597
+ function Ql(e) {
15604
15598
  e === void 0 && (e = {});
15605
15599
  var f = e, t = f.defaultModifiers, n = t === void 0 ? [] : t, a = f.defaultOptions, s = a === void 0 ? Bn : a;
15606
15600
  return function(A, u, l) {
@@ -15624,27 +15618,27 @@ function Fl(e) {
15624
15618
  reference: We(A) ? hf(A) : A.contextElement ? hf(A.contextElement) : [],
15625
15619
  popper: hf(u)
15626
15620
  };
15627
- var T = Yl(ql([].concat(n, g.options.modifiers)));
15628
- return g.orderedModifiers = T.filter(function(w) {
15629
- return w.enabled;
15621
+ var x = Ll(Bl([].concat(n, g.options.modifiers)));
15622
+ return g.orderedModifiers = x.filter(function(_) {
15623
+ return _.enabled;
15630
15624
  }), h(), p.update();
15631
15625
  },
15632
15626
  forceUpdate: function() {
15633
15627
  if (!m) {
15634
- var N = g.elements, D = N.reference, T = N.popper;
15635
- if (Qn(D, T)) {
15628
+ var N = g.elements, D = N.reference, x = N.popper;
15629
+ if (Qn(D, x)) {
15636
15630
  g.rects = {
15637
- reference: Ql(D, Df(T), g.options.strategy === "fixed"),
15638
- popper: an(T)
15639
- }, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function(U) {
15640
- return g.modifiersData[U.name] = Object.assign({}, U.data);
15631
+ reference: zl(D, Df(x), g.options.strategy === "fixed"),
15632
+ popper: an(x)
15633
+ }, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function(B) {
15634
+ return g.modifiersData[B.name] = Object.assign({}, B.data);
15641
15635
  });
15642
- for (var w = 0; w < g.orderedModifiers.length; w++) {
15636
+ for (var _ = 0; _ < g.orderedModifiers.length; _++) {
15643
15637
  if (g.reset === !0) {
15644
- g.reset = !1, w = -1;
15638
+ g.reset = !1, _ = -1;
15645
15639
  continue;
15646
15640
  }
15647
- var I = g.orderedModifiers[w], V = I.fn, j = I.options, k = j === void 0 ? {} : j, S = I.name;
15641
+ var w = g.orderedModifiers[_], V = w.fn, j = w.options, k = j === void 0 ? {} : j, S = w.name;
15648
15642
  typeof V == "function" && (g = V({
15649
15643
  state: g,
15650
15644
  options: k,
@@ -15655,7 +15649,7 @@ function Fl(e) {
15655
15649
  }
15656
15650
  }
15657
15651
  },
15658
- update: $l(function() {
15652
+ update: Ul(function() {
15659
15653
  return new Promise(function(M) {
15660
15654
  p.forceUpdate(), M(g);
15661
15655
  });
@@ -15671,16 +15665,16 @@ function Fl(e) {
15671
15665
  });
15672
15666
  function h() {
15673
15667
  g.orderedModifiers.forEach(function(M) {
15674
- var N = M.name, D = M.options, T = D === void 0 ? {} : D, w = M.effect;
15675
- if (typeof w == "function") {
15676
- var I = w({
15668
+ var N = M.name, D = M.options, x = D === void 0 ? {} : D, _ = M.effect;
15669
+ if (typeof _ == "function") {
15670
+ var w = _({
15677
15671
  state: g,
15678
15672
  name: N,
15679
15673
  instance: p,
15680
- options: T
15674
+ options: x
15681
15675
  }), V = function() {
15682
15676
  };
15683
- d.push(I || V);
15677
+ d.push(w || V);
15684
15678
  }
15685
15679
  });
15686
15680
  }
@@ -15692,13 +15686,13 @@ function Fl(e) {
15692
15686
  return p;
15693
15687
  };
15694
15688
  }
15695
- var Hl = [ml, Sl, dl, tl, xl, Nl, Ol, ll, El], Pl = /* @__PURE__ */ Fl({
15696
- defaultModifiers: Hl
15689
+ var Rl = [rl, El, Al, GA, Nl, bl, xl, al, Il], Yl = /* @__PURE__ */ Ql({
15690
+ defaultModifiers: Rl
15697
15691
  }), ba = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
15698
15692
  function Qf(e) {
15699
15693
  return e.split("-").map((f) => parseInt(f, 16)).map((f) => String.fromCodePoint(f)).join("");
15700
15694
  }
15701
- function Wl(e, f, t, n = []) {
15695
+ function $l(e, f, t, n = []) {
15702
15696
  const a = {};
15703
15697
  return Object.keys(e).forEach((s) => {
15704
15698
  if (n.includes(s))
@@ -15738,13 +15732,13 @@ var Ef = (e, f) => {
15738
15732
  t[n] = a;
15739
15733
  return t;
15740
15734
  };
15741
- const Kl = H({
15735
+ const ql = H({
15742
15736
  name: "Body",
15743
15737
  emits: {
15744
15738
  select: (e) => !0
15745
15739
  },
15746
15740
  setup() {
15747
- const { state: e, updateEmoji: f, updateSelect: t } = pe("store"), n = v(null), a = $(() => Wl(
15741
+ const { state: e, updateEmoji: f, updateSelect: t } = pe("store"), n = v(null), a = $(() => $l(
15748
15742
  e.emojis,
15749
15743
  e.search,
15750
15744
  e.skinTone,
@@ -15795,12 +15789,12 @@ const Kl = H({
15795
15789
  orderedKeys: l
15796
15790
  };
15797
15791
  }
15798
- }), Jl = { class: "v3-body" }, Gl = ["id"], Zl = { class: "v3-emojis" }, Xl = ["onMouseenter", "onClick"], er = { key: 0 }, fr = ["src", "alt", "onError"], tr = {
15792
+ }), Fl = { class: "v3-body" }, Hl = ["id"], Pl = { class: "v3-emojis" }, Wl = ["onMouseenter", "onClick"], Kl = { key: 0 }, Jl = ["src", "alt", "onError"], Gl = {
15799
15793
  key: 1,
15800
15794
  class: "v3-no-result"
15801
15795
  };
15802
- function nr(e, f, t, n, a, s) {
15803
- return r(), c("div", Jl, [
15796
+ function Zl(e, f, t, n, a, s) {
15797
+ return r(), c("div", Fl, [
15804
15798
  o("div", {
15805
15799
  ref: "bodyInner",
15806
15800
  class: C([e.platform, "v3-body-inner"])
@@ -15816,29 +15810,29 @@ function nr(e, f, t, n, a, s) {
15816
15810
  }, E(e.groupNames[i]), 3)), [
15817
15811
  [vf, e.emojis[i]]
15818
15812
  ]) : b("", !0),
15819
- ce(o("div", Zl, [
15813
+ ce(o("div", Pl, [
15820
15814
  (r(!0), c(F, null, Z(e.emojis[i], (A) => (r(), c("button", {
15821
15815
  key: A.r,
15822
15816
  type: "button",
15823
15817
  onMouseenter: (u) => e.handleMouseEnter(A),
15824
15818
  onClick: (u) => e.handleClick(A)
15825
15819
  }, [
15826
- e.native ? (r(), c("span", er, E(e.unicodeToEmoji(A.r)), 1)) : (r(), c("img", {
15820
+ e.native ? (r(), c("span", Kl, E(e.unicodeToEmoji(A.r)), 1)) : (r(), c("img", {
15827
15821
  key: 1,
15828
15822
  src: e.EMOJI_REMOTE_SRC + `/${A.r}.png`,
15829
15823
  alt: A.n[0],
15830
15824
  onError: (u) => e.handleError(u, A.r)
15831
- }, null, 40, fr))
15832
- ], 40, Xl))), 128))
15825
+ }, null, 40, Jl))
15826
+ ], 40, Wl))), 128))
15833
15827
  ], 512), [
15834
15828
  [vf, e.emojis[i]]
15835
15829
  ])
15836
- ], 8, Gl))), 128)) : (r(), c("span", tr, " No emoji has been found! "))
15830
+ ], 8, Hl))), 128)) : (r(), c("span", Gl, " No emoji has been found! "))
15837
15831
  ], 2)
15838
15832
  ]);
15839
15833
  }
15840
- var ar = /* @__PURE__ */ Ef(Kl, [["render", nr]]), sr = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3NSA3LjI2NTYyNSAxNS4wOTM3NSA2LjQzNzUgQyAxNC41IDUuNjA5Mzc1IDEzLjU3MDMxMyA1IDEyLjUgNSBaIE0gMTYgOS41IEMgMTYgMTAuNjYwMTU2IDE2LjMxMjUgMTEuNzM0Mzc1IDE2LjkwNjI1IDEyLjU2MjUgQyAxNy41IDEzLjM5MDYyNSAxOC40Mjk2ODggMTQgMTkuNSAxNCBDIDIwLjU3MDMxMyAxNCAyMS41IDEzLjM5MDYyNSAyMi4wOTM3NSAxMi41NjI1IEMgMjIuNjg3NSAxMS43MzQzNzUgMjMgMTAuN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gMjAuMDg3ODkxIDIwLjgyNDIxOSBDIDE5LjI0OTg5MSAyMC44MjQyMTkgMTguNDQ2NjI1IDIwLjQ4MjkzNyAxNy41MTU2MjUgMjAuMDg1OTM4IEMgMTYuMzcyNjI1IDE5LjU5NzkzOCAxNS4wNzYzNTkgMTkuMDQ0OTIyIDEzLjQ0MzM1OSAxOS4wNDQ5MjIgQyAxMS44OTEzNTkgMTkuMDQ0OTIyIDEwLjc4NiAxOS4zNTggMTAgMTkuNzUgTCAxMCAxMi4zNjEzMjggQyAxMC4zNDUgMTEuOTA1MzI4IDExLjEzMjM1OSAxMSAxMy40NDMzNTkgMTEgeiIvPjwvc3ZnPg==", or = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgMTEuODMyMDMxIDQgOC4xNTIzNDQgNi4xMTMyODEgNiA5LjM0Mzc1IEwgNiA2IEwgNCA2IEwgNCAxMyBMIDExIDEzIEwgMTEgMTEgTCA3LjM3NSAxMSBDIDkuMTAxNTYzIDguMDE5NTMxIDEyLjI5Njg3NSA2IDE2IDYgQyAyMS41MzUxNTYgNiAyNiAxMC40NjQ4NDQgMjYgMTYgQyAyNiAyMS41MzUxNTYgMjEuNTM1MTU2IDI2IDE2IDI2IEMgMTAuNDY0ODQ0IDI2IDYgMjEuNTM1MTU2IDYgMTYgTCA0IDE2IEMgNCAyMi42MTcxODggOS4zODI4MTMgMjggMTYgMjggQyAyMi42MTcxODggMjggMjggMjIuNjE3MTg4IDI4IDE2IEMgMjggOS4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";
15835
+ const Ar = H({
15842
15836
  name: "Header",
15843
15837
  setup(e) {
15844
15838
  const { state: f, updateSearch: t, updateActiveGroup: n } = pe("store"), a = $(() => !f.options.hideSearch), s = $(() => !f.options.hideGroupIcons), i = JSON.parse(JSON.stringify(f.orderedGroupKeys)), A = $(
@@ -15866,34 +15860,34 @@ const dr = H({
15866
15860
  placeholder: A,
15867
15861
  icons: {
15868
15862
  smileys_people: ba,
15869
- animals_nature: sr,
15870
- food_drink: ir,
15871
- activities: or,
15872
- travel_places: Ar,
15873
- objects: lr,
15874
- symbols: rr,
15875
- flags: ur,
15863
+ animals_nature: er,
15864
+ food_drink: fr,
15865
+ activities: tr,
15866
+ travel_places: nr,
15867
+ objects: ar,
15868
+ symbols: sr,
15869
+ flags: ir,
15876
15870
  ...f.options.groupIcons,
15877
- recent: cr
15871
+ recent: or
15878
15872
  }
15879
15873
  };
15880
15874
  }
15881
- }), gr = {
15875
+ }), lr = {
15882
15876
  key: 0,
15883
15877
  class: "v3-header"
15884
- }, mr = {
15878
+ }, rr = {
15885
15879
  key: 0,
15886
15880
  class: "v3-groups"
15887
- }, pr = ["onClick"], hr = ["title"], yr = ["src"], vr = {
15881
+ }, ur = ["onClick"], cr = ["title"], dr = ["src"], gr = {
15888
15882
  key: 1,
15889
15883
  class: "v3-spacing"
15890
- }, Mr = {
15884
+ }, mr = {
15891
15885
  key: 2,
15892
15886
  class: "v3-search"
15893
- }, br = ["placeholder"];
15894
- function _r(e, f, t, n, a, s) {
15895
- return e.hasGroupIcons || e.hasSearch ? (r(), c("div", gr, [
15896
- e.hasGroupIcons ? (r(), c("div", mr, [
15887
+ }, pr = ["placeholder"];
15888
+ function hr(e, f, t, n, a, s) {
15889
+ return e.hasGroupIcons || e.hasSearch ? (r(), c("div", lr, [
15890
+ e.hasGroupIcons ? (r(), c("div", rr, [
15897
15891
  (r(!0), c(F, null, Z(e.orderedGroups, (i) => (r(), c("button", {
15898
15892
  key: i.key,
15899
15893
  type: "button",
@@ -15909,24 +15903,24 @@ function _r(e, f, t, n, a, s) {
15909
15903
  o("img", {
15910
15904
  src: e.icons[i.key],
15911
15905
  alt: ""
15912
- }, null, 8, yr)
15913
- ], 8, hr)
15914
- ], 10, pr))), 128))
15906
+ }, null, 8, dr)
15907
+ ], 8, cr)
15908
+ ], 10, ur))), 128))
15915
15909
  ])) : b("", !0),
15916
- e.hasGroupIcons && e.hasSearch ? (r(), c("div", vr)) : b("", !0),
15917
- e.hasSearch ? (r(), c("div", Mr, [
15910
+ e.hasGroupIcons && e.hasSearch ? (r(), c("div", gr)) : b("", !0),
15911
+ e.hasSearch ? (r(), c("div", mr, [
15918
15912
  ce(o("input", {
15919
15913
  "onUpdate:modelValue": f[0] || (f[0] = (i) => e.searchValue = i),
15920
15914
  type: "text",
15921
15915
  placeholder: e.placeholder
15922
- }, null, 8, br), [
15916
+ }, null, 8, pr), [
15923
15917
  [yf, e.searchValue]
15924
15918
  ])
15925
15919
  ])) : b("", !0)
15926
15920
  ])) : b("", !0);
15927
15921
  }
15928
- var Ir = /* @__PURE__ */ Ef(dr, [["render", _r]]);
15929
- const wr = H({
15922
+ var yr = /* @__PURE__ */ Ef(Ar, [["render", hr]]);
15923
+ const vr = H({
15930
15924
  name: "Header",
15931
15925
  setup() {
15932
15926
  const { state: e, updateSkinTone: f } = pe("store"), t = v(!1), n = v(!1), a = $(() => e.skinTone), s = $(
@@ -15951,7 +15945,7 @@ const wr = H({
15951
15945
  }
15952
15946
  ), {
15953
15947
  emoji: u,
15954
- SKIN_TONES: pA,
15948
+ SKIN_TONES: uA,
15955
15949
  updateSkinToneState: l,
15956
15950
  skinTone: t,
15957
15951
  stateSkinTone: a,
@@ -15967,24 +15961,24 @@ const wr = H({
15967
15961
  hasError: n
15968
15962
  };
15969
15963
  }
15970
- }), kr = { class: "v3-foot-left" }, Nr = { key: 0 }, Dr = ["alt", "src"], Er = { class: "v3-text" }, jr = { class: "v3-text" }, Tr = ["onClick"];
15971
- function xr(e, f, t, n, a, s) {
15964
+ }), Mr = { class: "v3-foot-left" }, br = { key: 0 }, _r = ["alt", "src"], Ir = { class: "v3-text" }, wr = { class: "v3-text" }, kr = ["onClick"];
15965
+ function Nr(e, f, t, n, a, s) {
15972
15966
  return r(), c("div", {
15973
15967
  class: "v3-footer",
15974
15968
  onMouseleave: f[2] || (f[2] = (i) => e.updateSkinToneState(!1))
15975
15969
  }, [
15976
- o("div", kr, [
15970
+ o("div", Mr, [
15977
15971
  o("span", {
15978
15972
  class: C([e.platform, "v3-icon"])
15979
15973
  }, [
15980
- e.native || e.hasError ? (r(), c("span", Nr, E(e.unicodeToEmoji(e.emoji.r)), 1)) : (r(), c("img", {
15974
+ e.native || e.hasError ? (r(), c("span", br, E(e.unicodeToEmoji(e.emoji.r)), 1)) : (r(), c("img", {
15981
15975
  key: 1,
15982
15976
  alt: e.unicodeToEmoji(e.emoji.r),
15983
15977
  src: e.emoji.src,
15984
15978
  onError: f[0] || (f[0] = (i) => e.hasError = !0)
15985
- }, null, 40, Dr))
15979
+ }, null, 40, _r))
15986
15980
  ], 2),
15987
- o("span", Er, " :" + E(e.emoji[e.EMOJI_NAME_KEY][1] || e.emoji[e.EMOJI_NAME_KEY][0]) + ": ", 1)
15981
+ o("span", Ir, " :" + E(e.emoji[e.EMOJI_NAME_KEY][1] || e.emoji[e.EMOJI_NAME_KEY][0]) + ": ", 1)
15988
15982
  ]),
15989
15983
  e.hasSkinTones ? (r(), c(F, { key: 0 }, [
15990
15984
  o("button", {
@@ -15992,7 +15986,7 @@ function xr(e, f, t, n, a, s) {
15992
15986
  class: "v3-tone",
15993
15987
  onClick: f[1] || (f[1] = (...i) => e.toggleSkinToneState && e.toggleSkinToneState(...i))
15994
15988
  }, [
15995
- o("span", jr, E(e.skinToneText), 1),
15989
+ o("span", wr, E(e.skinToneText), 1),
15996
15990
  o("span", {
15997
15991
  class: C(`v3-icon v3-tone-${e.stateSkinTone}`)
15998
15992
  }, null, 2)
@@ -16005,18 +15999,18 @@ function xr(e, f, t, n, a, s) {
16005
15999
  type: "button",
16006
16000
  class: C(["v3-skin-tone-" + i, "v3-skin-tone"]),
16007
16001
  onClick: (A) => e.selectSkinTone(i)
16008
- }, null, 10, Tr))), 128))
16002
+ }, null, 10, kr))), 128))
16009
16003
  ], 2)
16010
16004
  ], 64)) : b("", !0)
16011
16005
  ], 32);
16012
16006
  }
16013
- var Vr = /* @__PURE__ */ Ef(wr, [["render", xr]]);
16014
- const Sr = H({
16007
+ var Dr = /* @__PURE__ */ Ef(vr, [["render", Nr]]);
16008
+ const Er = H({
16015
16009
  name: "PickerRoot",
16016
16010
  components: {
16017
- Header: Ir,
16018
- Body: ar,
16019
- Footer: Vr
16011
+ Header: yr,
16012
+ Body: Xl,
16013
+ Footer: Dr
16020
16014
  },
16021
16015
  props: {
16022
16016
  type: {
@@ -16072,7 +16066,7 @@ const Sr = H({
16072
16066
  function h() {
16073
16067
  if (n.value && a.value && A) {
16074
16068
  let M = l.options.offset;
16075
- typeof M != "number" && (M = 6), Pl(n.value, a.value, {
16069
+ typeof M != "number" && (M = 6), Yl(n.value, a.value, {
16076
16070
  placement: "bottom-end",
16077
16071
  modifiers: [
16078
16072
  {
@@ -16106,14 +16100,14 @@ const Sr = H({
16106
16100
  colorTheme: g
16107
16101
  };
16108
16102
  }
16109
- }), Cr = {
16103
+ }), jr = {
16110
16104
  key: 0,
16111
16105
  class: "v3-input-emoji-picker"
16112
- }, zr = { class: "v3-input-picker-root" }, Or = ["value"], Lr = ["value"], Ur = ["src"];
16113
- function Br(e, f, t, n, a, s) {
16106
+ }, Tr = { class: "v3-input-picker-root" }, xr = ["value"], Vr = ["value"], Sr = ["src"];
16107
+ function Cr(e, f, t, n, a, s) {
16114
16108
  const i = Lf("Header"), A = Lf("Body"), u = Lf("Footer");
16115
- return e.isInputType ? (r(), c("div", Cr, [
16116
- o("div", zr, [
16109
+ return e.isInputType ? (r(), c("div", jr, [
16110
+ o("div", Tr, [
16117
16111
  e.type === "input" ? (r(), c("input", {
16118
16112
  key: 0,
16119
16113
  ref: "elem",
@@ -16122,14 +16116,14 @@ function Br(e, f, t, n, a, s) {
16122
16116
  class: "v3-emoji-picker-input",
16123
16117
  onInput: f[0] || (f[0] = (...l) => e.onChangeText && e.onChangeText(...l)),
16124
16118
  onBlur: f[1] || (f[1] = (...l) => e.updateCursor && e.updateCursor(...l))
16125
- }, null, 40, Or)) : (r(), c("textarea", {
16119
+ }, null, 40, xr)) : (r(), c("textarea", {
16126
16120
  key: 1,
16127
16121
  ref: "elem",
16128
16122
  value: e.input,
16129
16123
  class: "v3-emoji-picker-textarea",
16130
16124
  onInput: f[2] || (f[2] = (...l) => e.onChangeText && e.onChangeText(...l)),
16131
16125
  onBlur: f[3] || (f[3] = (...l) => e.updateCursor && e.updateCursor(...l))
16132
- }, null, 40, Lr)),
16126
+ }, null, 40, Vr)),
16133
16127
  o("div", {
16134
16128
  class: C(["v3-input-picker-wrap", e.open ? "v3-picker-is-open" : ""])
16135
16129
  }, [
@@ -16142,7 +16136,7 @@ function Br(e, f, t, n, a, s) {
16142
16136
  o("img", {
16143
16137
  src: e.face,
16144
16138
  alt: ""
16145
- }, null, 8, Ur)
16139
+ }, null, 8, Sr)
16146
16140
  ], 512),
16147
16141
  o("div", {
16148
16142
  ref: "picker",
@@ -16163,11 +16157,11 @@ function Br(e, f, t, n, a, s) {
16163
16157
  Y(u)
16164
16158
  ], 2));
16165
16159
  }
16166
- var Qr = /* @__PURE__ */ Ef(Sr, [["render", Br]]);
16167
- const Rr = H({
16160
+ var zr = /* @__PURE__ */ Ef(Er, [["render", Cr]]);
16161
+ const Or = H({
16168
16162
  name: "Picker",
16169
16163
  components: {
16170
- PickerRoot: Qr
16164
+ PickerRoot: zr
16171
16165
  },
16172
16166
  props: {
16173
16167
  native: {
@@ -16252,13 +16246,13 @@ const Rr = H({
16252
16246
  function n(s) {
16253
16247
  t.value = s || "", f("update:text", t.value);
16254
16248
  }
16255
- const a = RA();
16249
+ const a = OA();
16256
16250
  return a.updateOptions({
16257
16251
  native: e.native,
16258
16252
  hideSearch: e.hideSearch,
16259
16253
  hideGroupIcons: e.hideGroupIcons,
16260
16254
  hideGroupNames: e.hideGroupNames,
16261
- staticTexts: { ...hA, ...e.staticTexts },
16255
+ staticTexts: { ...cA, ...e.staticTexts },
16262
16256
  disableStickyGroupNames: e.disableStickyGroupNames,
16263
16257
  disabledGroups: e.disabledGroups,
16264
16258
  groupNames: { ...Aa, ...e.groupNames },
@@ -16269,7 +16263,7 @@ const Rr = H({
16269
16263
  offset: e.offset,
16270
16264
  groupOrder: e.groupOrder,
16271
16265
  groupIcons: e.groupIcons,
16272
- colorTheme: yA.includes(e.theme) ? e.theme : "light"
16266
+ colorTheme: dA.includes(e.theme) ? e.theme : "light"
16273
16267
  }), pt("store", a), {
16274
16268
  type: e.pickerType,
16275
16269
  input: t,
@@ -16277,7 +16271,7 @@ const Rr = H({
16277
16271
  };
16278
16272
  }
16279
16273
  });
16280
- function Yr(e, f, t, n, a, s) {
16274
+ function Lr(e, f, t, n, a, s) {
16281
16275
  const i = Lf("picker-root");
16282
16276
  return r(), q(i, {
16283
16277
  type: e.type,
@@ -16286,8 +16280,8 @@ function Yr(e, f, t, n, a, s) {
16286
16280
  "onUpdate:text": e.onChangeText
16287
16281
  }, null, 8, ["type", "text", "onUpdate:text"]);
16288
16282
  }
16289
- var $r = /* @__PURE__ */ Ef(Rr, [["render", Yr]]);
16290
- const qr = {
16283
+ var Ur = /* @__PURE__ */ Ef(Or, [["render", Lr]]);
16284
+ const Br = {
16291
16285
  __name: "ButtonEmojiPicker",
16292
16286
  props: {
16293
16287
  mode: {
@@ -16339,7 +16333,7 @@ const qr = {
16339
16333
  onMouseover: g,
16340
16334
  onMouseout: d
16341
16335
  }, [
16342
- Y(z($r), {
16336
+ Y(z(Ur), {
16343
16337
  native: !0,
16344
16338
  theme: A.value,
16345
16339
  "picker-type": "",
@@ -16351,7 +16345,7 @@ const qr = {
16351
16345
  })
16352
16346
  ], 64));
16353
16347
  }
16354
- }, ld = /* @__PURE__ */ L(qr, [["__scopeId", "data-v-a6a1f980"]]), Fr = { class: "context-menu" }, Hr = { class: "context-menu__container" }, Pr = { class: "context-menu__list" }, Wr = ["onClick"], Kr = ["src"], Jr = {
16348
+ }, Xc = /* @__PURE__ */ L(Br, [["__scopeId", "data-v-a6a1f980"]]), Qr = { class: "context-menu__container" }, Rr = { class: "context-menu__list" }, Yr = ["onClick"], $r = ["src"], qr = {
16355
16349
  __name: "ContextMenu",
16356
16350
  props: {
16357
16351
  actions: {
@@ -16365,39 +16359,37 @@ const qr = {
16365
16359
  const i = t.actions[s];
16366
16360
  n("click", i);
16367
16361
  };
16368
- return (s, i) => (r(), c("div", Fr, [
16369
- o("div", Hr, [
16370
- o("ul", Pr, [
16371
- (r(!0), c(F, null, Z(t.actions, (A, u) => (r(), c("li", {
16372
- key: u,
16373
- class: "context-menu__item",
16374
- onClick: (l) => a(u)
16375
- }, [
16376
- A.icon ? (r(), c("img", {
16377
- key: 0,
16378
- src: A.icon,
16379
- width: "18",
16380
- height: "18"
16381
- }, null, 8, Kr)) : A.prime ? (r(), c("i", {
16382
- key: 1,
16383
- class: C("pi pi-" + A.prime)
16384
- }, null, 2)) : b("", !0),
16385
- o("span", null, E(A.title), 1)
16386
- ], 8, Wr))), 128))
16387
- ])
16362
+ return (s, i) => (r(), c("div", Qr, [
16363
+ o("ul", Rr, [
16364
+ (r(!0), c(F, null, Z(t.actions, (A, u) => (r(), c("li", {
16365
+ key: u,
16366
+ class: "context-menu__item",
16367
+ onClick: (l) => a(u)
16368
+ }, [
16369
+ A.icon ? (r(), c("img", {
16370
+ key: 0,
16371
+ src: A.icon,
16372
+ width: "18",
16373
+ height: "18"
16374
+ }, null, 8, $r)) : A.prime ? (r(), c("i", {
16375
+ key: 1,
16376
+ class: C("pi pi-" + A.prime)
16377
+ }, null, 2)) : b("", !0),
16378
+ o("span", null, E(A.title), 1)
16379
+ ], 8, Yr))), 128))
16388
16380
  ])
16389
16381
  ]));
16390
16382
  }
16391
- }, Le = /* @__PURE__ */ L(Jr, [["__scopeId", "data-v-7784f539"]]), Gr = ["messageId"], Zr = ["src"], Xr = {
16383
+ }, Le = /* @__PURE__ */ L(qr, [["__scopeId", "data-v-11c37320"]]), Fr = ["messageId"], Hr = ["src"], Pr = {
16392
16384
  key: 1,
16393
16385
  class: "file-message__subtext"
16394
- }, eu = ["href"], fu = { class: "file-message__filename-text" }, tu = {
16386
+ }, Wr = ["href"], Kr = { class: "file-message__filename-text" }, Jr = {
16395
16387
  key: 1,
16396
16388
  class: "file-message__text-container"
16397
- }, nu = ["innerHTML"], au = { class: "file-message__info-container" }, su = { class: "file-message__time" }, iu = {
16389
+ }, Gr = ["innerHTML"], Zr = { class: "file-message__info-container" }, Xr = { class: "file-message__time" }, eu = {
16398
16390
  key: 0,
16399
16391
  class: "pi pi-check"
16400
- }, ou = /* @__PURE__ */ H({
16392
+ }, fu = /* @__PURE__ */ H({
16401
16393
  __name: "FileMessage",
16402
16394
  props: {
16403
16395
  message: {
@@ -16441,8 +16433,8 @@ const qr = {
16441
16433
  height: "32",
16442
16434
  width: "32",
16443
16435
  style: ee({ gridRow: e.message.subText ? "2" : "1" })
16444
- }, null, 12, Zr)) : b("", !0),
16445
- e.message.subText ? (r(), c("p", Xr, E(e.message.subText), 1)) : b("", !0),
16436
+ }, null, 12, Hr)) : b("", !0),
16437
+ e.message.subText ? (r(), c("p", Pr, E(e.message.subText), 1)) : b("", !0),
16446
16438
  o("div", {
16447
16439
  class: "file-message__content",
16448
16440
  onMouseenter: g
@@ -16459,18 +16451,18 @@ const qr = {
16459
16451
  target: "_blank"
16460
16452
  }, [
16461
16453
  y[1] || (y[1] = o("span", { class: "pi pi-file" }, null, -1)),
16462
- o("p", fu, E(e.message.filename), 1),
16454
+ o("p", Kr, E(e.message.filename), 1),
16463
16455
  y[2] || (y[2] = o("div", { class: "file-message__download-button" }, [
16464
16456
  o("span", { class: "pi pi-download" })
16465
16457
  ], -1))
16466
- ], 8, eu),
16467
- e.message.text ? (r(), c("div", tu, [
16458
+ ], 8, Wr),
16459
+ e.message.text ? (r(), c("div", Jr, [
16468
16460
  o("p", {
16469
16461
  innerHTML: i.value,
16470
16462
  onClick: A
16471
- }, null, 8, nu)
16463
+ }, null, 8, Gr)
16472
16464
  ])) : b("", !0),
16473
- o("div", au, [
16465
+ o("div", Zr, [
16474
16466
  e.message.views ? (r(), c("div", {
16475
16467
  key: 0,
16476
16468
  onClick: u,
@@ -16479,12 +16471,12 @@ const qr = {
16479
16471
  y[3] || (y[3] = o("span", { class: "pi pi-eye" }, null, -1)),
16480
16472
  o("p", null, E(e.message.views), 1)
16481
16473
  ])) : b("", !0),
16482
- o("span", su, E(e.message.time), 1),
16474
+ o("span", Xr, E(e.message.time), 1),
16483
16475
  p(e.message) === "file-message__right" && z(ff).includes(e.message.status) ? (r(), c("div", {
16484
16476
  key: 1,
16485
16477
  class: C(["file-message__status", m.value])
16486
16478
  }, [
16487
- e.message.status !== "sent" ? (r(), c("span", iu)) : b("", !0),
16479
+ e.message.status !== "sent" ? (r(), c("span", eu)) : b("", !0),
16488
16480
  y[4] || (y[4] = o("span", { class: "pi pi-check" }, null, -1))
16489
16481
  ], 2)) : b("", !0)
16490
16482
  ]),
@@ -16507,21 +16499,21 @@ const qr = {
16507
16499
  _: 1
16508
16500
  })
16509
16501
  ], 32)
16510
- ], 42, Gr));
16502
+ ], 42, Fr));
16511
16503
  }
16512
- }), Au = /* @__PURE__ */ L(ou, [["__scopeId", "data-v-a75c5bdd"]]), lu = ["messageId"], ru = ["src"], uu = {
16504
+ }), tu = /* @__PURE__ */ L(fu, [["__scopeId", "data-v-0a5e010a"]]), nu = ["messageId"], au = ["src"], su = {
16513
16505
  key: 1,
16514
16506
  class: "image-message__subtext"
16515
- }, cu = { class: "image-message__content" }, du = ["src", "alt"], gu = {
16507
+ }, iu = { class: "image-message__content" }, ou = ["src", "alt"], Au = {
16516
16508
  key: 0,
16517
16509
  class: "image-message__info-container"
16518
- }, mu = { class: "image-message__time" }, pu = {
16510
+ }, lu = { class: "image-message__time" }, ru = {
16519
16511
  key: 0,
16520
16512
  class: "pi pi-check"
16521
- }, hu = ["href"], yu = {
16513
+ }, uu = ["href"], cu = {
16522
16514
  key: 1,
16523
16515
  class: "image-message__text-container"
16524
- }, vu = ["innerHTML"], Mu = { class: "image-message__modal" }, bu = ["src", "alt"], _u = /* @__PURE__ */ H({
16516
+ }, du = ["innerHTML"], gu = { class: "image-message__modal" }, mu = ["src", "alt"], pu = /* @__PURE__ */ H({
16525
16517
  __name: "ImageMessage",
16526
16518
  props: {
16527
16519
  message: {
@@ -16539,8 +16531,8 @@ const qr = {
16539
16531
  },
16540
16532
  { immediate: !0 }
16541
16533
  );
16542
- function l(w) {
16543
- w.preventDefault(), w.target.href && window.open(w.target.href, "_blank");
16534
+ function l(_) {
16535
+ _.preventDefault(), _.target.href && window.open(_.target.href, "_blank");
16544
16536
  }
16545
16537
  const g = () => {
16546
16538
  n("action", { messageId: t.message.messageId, type: "views" });
@@ -16550,19 +16542,19 @@ const qr = {
16550
16542
  }, p = () => {
16551
16543
  i.value = !1, s.value = !1;
16552
16544
  }, h = $(() => t.message.reply && t.message.text ? "0" : t.message.text ? "8px 8px 0 0" : t.message.reply ? "0 0 8px 8px" : "8px"), y = $(() => tf(t.message.status));
16553
- function M(w) {
16554
- return w.position === "left" ? "image-message__left" : "image-message__right";
16545
+ function M(_) {
16546
+ return _.position === "left" ? "image-message__left" : "image-message__right";
16555
16547
  }
16556
- const N = () => a.value = !1, D = (w) => {
16557
- w.target.classList.contains("image-message__modal-overlay") && N();
16558
- }, T = (w) => {
16559
- w.key === "Escape" && a.value && N();
16548
+ const N = () => a.value = !1, D = (_) => {
16549
+ _.target.classList.contains("image-message__modal-overlay") && N();
16550
+ }, x = (_) => {
16551
+ _.key === "Escape" && a.value && N();
16560
16552
  };
16561
16553
  return Ae(() => {
16562
- document.addEventListener("keydown", T);
16554
+ document.addEventListener("keydown", x);
16563
16555
  }), Ze(() => {
16564
- document.removeEventListener("keydown", T);
16565
- }), (w, I) => (r(), c("div", {
16556
+ document.removeEventListener("keydown", x);
16557
+ }), (_, w) => (r(), c("div", {
16566
16558
  class: C(["image-message", M(e.message)]),
16567
16559
  messageId: e.message.messageId,
16568
16560
  onMouseleave: p
@@ -16573,9 +16565,9 @@ const qr = {
16573
16565
  src: e.message.avatar,
16574
16566
  height: "32",
16575
16567
  width: "32"
16576
- }, null, 8, ru)) : b("", !0),
16577
- e.message.subText ? (r(), c("p", uu, E(e.message.subText), 1)) : b("", !0),
16578
- o("div", cu, [
16568
+ }, null, 8, au)) : b("", !0),
16569
+ e.message.subText ? (r(), c("p", su, E(e.message.subText), 1)) : b("", !0),
16570
+ o("div", iu, [
16579
16571
  e.message.reply ? (r(), q(ef, {
16580
16572
  key: 0,
16581
16573
  style: { margin: "10px 10px 4px 16px" },
@@ -16584,34 +16576,34 @@ const qr = {
16584
16576
  }, null, 8, ["class", "message"])) : b("", !0),
16585
16577
  o("div", {
16586
16578
  class: "image-message__preview-button",
16587
- onClick: I[0] || (I[0] = (V) => a.value = !0),
16579
+ onClick: w[0] || (w[0] = (V) => a.value = !0),
16588
16580
  onMouseenter: m,
16589
- onMouseleave: I[1] || (I[1] = (V) => A.value = !A.value)
16581
+ onMouseleave: w[1] || (w[1] = (V) => A.value = !A.value)
16590
16582
  }, [
16591
16583
  o("img", {
16592
16584
  class: "image-message__preview-image",
16593
16585
  style: ee({ borderRadius: h.value }),
16594
16586
  src: e.message.url,
16595
16587
  alt: e.message.alt
16596
- }, null, 12, du),
16588
+ }, null, 12, ou),
16597
16589
  Y(W, { name: "modal-fade" }, {
16598
16590
  default: K(() => [
16599
- A.value ? (r(), c("div", gu, [
16591
+ A.value ? (r(), c("div", Au, [
16600
16592
  e.message.views ? (r(), c("div", {
16601
16593
  key: 0,
16602
16594
  onClick: Mf(g, ["stop"]),
16603
16595
  class: "image-message__views"
16604
16596
  }, [
16605
- I[4] || (I[4] = o("span", { class: "pi pi-eye" }, null, -1)),
16597
+ w[4] || (w[4] = o("span", { class: "pi pi-eye" }, null, -1)),
16606
16598
  o("p", null, E(e.message.views), 1)
16607
16599
  ])) : b("", !0),
16608
- o("span", mu, E(e.message.time), 1),
16600
+ o("span", lu, E(e.message.time), 1),
16609
16601
  M(e.message) === "image-message__right" && z(ff).includes(e.message.status) ? (r(), c("div", {
16610
16602
  key: 1,
16611
16603
  class: C(["image-message__status", y.value])
16612
16604
  }, [
16613
- e.message.status !== "sent" ? (r(), c("span", pu)) : b("", !0),
16614
- I[5] || (I[5] = o("span", { class: "pi pi-check" }, null, -1))
16605
+ e.message.status !== "sent" ? (r(), c("span", ru)) : b("", !0),
16606
+ w[5] || (w[5] = o("span", { class: "pi pi-check" }, null, -1))
16615
16607
  ], 2)) : b("", !0)
16616
16608
  ])) : b("", !0)
16617
16609
  ]),
@@ -16626,9 +16618,9 @@ const qr = {
16626
16618
  href: e.message.url,
16627
16619
  download: "",
16628
16620
  target: "_blank"
16629
- }, I[6] || (I[6] = [
16621
+ }, w[6] || (w[6] = [
16630
16622
  o("span", { class: "pi pi-download" }, null, -1)
16631
- ]), 8, hu)) : b("", !0)
16623
+ ]), 8, uu)) : b("", !0)
16632
16624
  ]),
16633
16625
  _: 1
16634
16626
  })
@@ -16638,8 +16630,8 @@ const qr = {
16638
16630
  i.value && e.message.actions ? (r(), c("button", {
16639
16631
  key: 0,
16640
16632
  class: "image-message__menu-button",
16641
- onClick: I[2] || (I[2] = (V) => s.value = !s.value)
16642
- }, I[7] || (I[7] = [
16633
+ onClick: w[2] || (w[2] = (V) => s.value = !s.value)
16634
+ }, w[7] || (w[7] = [
16643
16635
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
16644
16636
  ]))) : b("", !0)
16645
16637
  ]),
@@ -16656,11 +16648,11 @@ const qr = {
16656
16648
  ]),
16657
16649
  _: 1
16658
16650
  }),
16659
- e.message.text ? (r(), c("div", yu, [
16651
+ e.message.text ? (r(), c("div", cu, [
16660
16652
  o("p", {
16661
16653
  innerHTML: u.value,
16662
16654
  onClick: l
16663
- }, null, 8, vu)
16655
+ }, null, 8, du)
16664
16656
  ])) : b("", !0)
16665
16657
  ]),
16666
16658
  (r(), q(ze, { to: "body" }, [
@@ -16670,13 +16662,13 @@ const qr = {
16670
16662
  key: 0,
16671
16663
  class: "image-message__modal-overlay",
16672
16664
  onClick: D,
16673
- onKeyup: I[3] || (I[3] = Yn((V) => a.value = !1, ["esc"]))
16665
+ onKeyup: w[3] || (w[3] = Yn((V) => a.value = !1, ["esc"]))
16674
16666
  }, [
16675
- o("div", Mu, [
16667
+ o("div", gu, [
16676
16668
  o("button", {
16677
16669
  class: "image-message__modal-close-button",
16678
16670
  onClick: N
16679
- }, I[8] || (I[8] = [
16671
+ }, w[8] || (w[8] = [
16680
16672
  o("span", null, [
16681
16673
  o("i", { class: "pi pi-times" })
16682
16674
  ], -1)
@@ -16685,25 +16677,25 @@ const qr = {
16685
16677
  class: "image-message__modal-image",
16686
16678
  src: e.message.url,
16687
16679
  alt: e.message.alt
16688
- }, null, 8, bu)
16680
+ }, null, 8, mu)
16689
16681
  ])
16690
16682
  ], 32)) : b("", !0)
16691
16683
  ]),
16692
16684
  _: 1
16693
16685
  })
16694
16686
  ]))
16695
- ], 42, lu));
16687
+ ], 42, nu));
16696
16688
  }
16697
- }), Iu = /* @__PURE__ */ L(_u, [["__scopeId", "data-v-ccbe58d9"]]), wu = ["messageId"], ku = ["src"], Nu = {
16689
+ }), hu = /* @__PURE__ */ L(pu, [["__scopeId", "data-v-cdc6cd48"]]), yu = ["messageId"], vu = ["src"], Mu = {
16698
16690
  key: 1,
16699
16691
  class: "text-message__subtext"
16700
- }, Du = ["innerHTML"], Eu = { class: "text-message__info-container" }, ju = {
16692
+ }, bu = ["innerHTML"], _u = { class: "text-message__info-container" }, Iu = {
16701
16693
  key: 1,
16702
16694
  class: "text-message__time"
16703
- }, Tu = {
16695
+ }, wu = {
16704
16696
  key: 0,
16705
16697
  class: "pi pi-check"
16706
- }, xu = /* @__PURE__ */ H({
16698
+ }, ku = /* @__PURE__ */ H({
16707
16699
  __name: "TextMessage",
16708
16700
  props: {
16709
16701
  message: {
@@ -16748,8 +16740,8 @@ const qr = {
16748
16740
  height: "32",
16749
16741
  width: "32",
16750
16742
  style: ee({ gridRow: e.message.subText ? "2" : "1" })
16751
- }, null, 12, ku)) : b("", !0),
16752
- e.message.subText ? (r(), c("p", Nu, E(e.message.subText), 1)) : b("", !0),
16743
+ }, null, 12, vu)) : b("", !0),
16744
+ e.message.subText ? (r(), c("p", Mu, E(e.message.subText), 1)) : b("", !0),
16753
16745
  o("div", {
16754
16746
  class: "text-message__content",
16755
16747
  onMouseenter: u
@@ -16763,8 +16755,8 @@ const qr = {
16763
16755
  innerHTML: i.value,
16764
16756
  class: "text-message__text",
16765
16757
  onClick: A
16766
- }, null, 8, Du),
16767
- o("div", Eu, [
16758
+ }, null, 8, bu),
16759
+ o("div", _u, [
16768
16760
  e.message.views ? (r(), c("div", {
16769
16761
  key: 0,
16770
16762
  class: "text-message__views",
@@ -16773,12 +16765,12 @@ const qr = {
16773
16765
  y[1] || (y[1] = o("span", { class: "pi pi-eye" }, null, -1)),
16774
16766
  o("p", null, E(e.message.views), 1)
16775
16767
  ])) : b("", !0),
16776
- e.message.time ? (r(), c("span", ju, E(e.message.time), 1)) : b("", !0),
16768
+ e.message.time ? (r(), c("span", Iu, E(e.message.time), 1)) : b("", !0),
16777
16769
  p(e.message) === "text-message__right" && z(ff).includes(e.message.status) ? (r(), c("div", {
16778
16770
  key: 2,
16779
16771
  class: C(["text-message__status", g.value])
16780
16772
  }, [
16781
- e.message.status !== "sent" ? (r(), c("span", Tu)) : b("", !0),
16773
+ e.message.status !== "sent" ? (r(), c("span", wu)) : b("", !0),
16782
16774
  y[2] || (y[2] = o("span", { class: "pi pi-check" }, null, -1))
16783
16775
  ], 2)) : b("", !0)
16784
16776
  ]),
@@ -16801,24 +16793,24 @@ const qr = {
16801
16793
  _: 1
16802
16794
  })
16803
16795
  ], 32)
16804
- ], 42, wu));
16796
+ ], 42, yu));
16805
16797
  }
16806
- }), Vu = /* @__PURE__ */ L(xu, [["__scopeId", "data-v-919d8ac6"]]), Su = ["messageId"], Cu = ["src"], zu = {
16798
+ }), Nu = /* @__PURE__ */ L(ku, [["__scopeId", "data-v-919d8ac6"]]), Du = ["messageId"], Eu = ["src"], ju = {
16807
16799
  key: 1,
16808
16800
  class: "audio-message__subtext"
16809
- }, Ou = { class: "audio-message__audio-container" }, Lu = ["src"], Uu = { class: "audio-message__progress-bar-container" }, Bu = { class: "audio-message__remaining-time" }, Qu = ["href"], Ru = {
16801
+ }, Tu = { class: "audio-message__audio-container" }, xu = ["src"], Vu = { class: "audio-message__progress-bar-container" }, Su = { class: "audio-message__remaining-time" }, Cu = ["href"], zu = {
16810
16802
  key: 1,
16811
16803
  class: "audio-message__transcript-container"
16812
- }, Yu = {
16804
+ }, Ou = {
16813
16805
  key: 2,
16814
16806
  class: "audio-message__text-container"
16815
- }, $u = ["innerHTML"], qu = { class: "audio-message__info-container" }, Fu = { class: "audio-message__time" }, Hu = {
16807
+ }, Lu = ["innerHTML"], Uu = { class: "audio-message__info-container" }, Bu = { class: "audio-message__time" }, Qu = {
16816
16808
  key: 0,
16817
16809
  class: "pi pi-check"
16818
- }, Pu = {
16810
+ }, Ru = {
16819
16811
  key: 0,
16820
16812
  class: "audio-message__modal-overlay"
16821
- }, Wu = { class: "audio-message__modal" }, Ku = { style: { "word-wrap": "break-word", "max-width": "25rem" } }, Ju = /* @__PURE__ */ H({
16813
+ }, Yu = { class: "audio-message__modal" }, $u = { style: { "word-wrap": "break-word", "max-width": "25rem" } }, qu = /* @__PURE__ */ H({
16822
16814
  __name: "AudioMessage",
16823
16815
  props: {
16824
16816
  message: {
@@ -16850,10 +16842,10 @@ const qr = {
16850
16842
  function D() {
16851
16843
  a.value && (s.value ? a.value.pause() : a.value.play(), s.value = !s.value);
16852
16844
  }
16853
- const T = (k) => {
16854
- const S = Math.floor(k / 60), U = Math.floor(k % 60);
16855
- return `${S.toString().padStart(2, "0")}:${U.toString().padStart(2, "0")}`;
16856
- }, w = $(() => a.value ? T(A.value) : "0:00"), I = $(() => a.value ? T(i.value) : "0:00"), V = $(() => i.value > 0 ? A.value / i.value * 100 : 0);
16845
+ const x = (k) => {
16846
+ const S = Math.floor(k / 60), B = Math.floor(k % 60);
16847
+ return `${S.toString().padStart(2, "0")}:${B.toString().padStart(2, "0")}`;
16848
+ }, _ = $(() => a.value ? x(A.value) : "0:00"), w = $(() => a.value ? x(i.value) : "0:00"), V = $(() => i.value > 0 ? A.value / i.value * 100 : 0);
16857
16849
  function j(k) {
16858
16850
  return k.position === "left" ? "audio-message__left" : "audio-message__right";
16859
16851
  }
@@ -16864,7 +16856,7 @@ const qr = {
16864
16856
  A.value = a.value != null ? a.value.currentTime : 0;
16865
16857
  }));
16866
16858
  }), (k, S) => {
16867
- var U;
16859
+ var B;
16868
16860
  return r(), c("div", {
16869
16861
  class: C(["audio-message", j(e.message)]),
16870
16862
  messageId: e.message.messageId,
@@ -16877,8 +16869,8 @@ const qr = {
16877
16869
  height: "32",
16878
16870
  width: "32",
16879
16871
  style: ee({ gridRow: e.message.subText ? "2" : "1" })
16880
- }, null, 12, Cu)) : b("", !0),
16881
- e.message.subText ? (r(), c("p", zu, E(e.message.subText), 1)) : b("", !0),
16872
+ }, null, 12, Eu)) : b("", !0),
16873
+ e.message.subText ? (r(), c("p", ju, E(e.message.subText), 1)) : b("", !0),
16882
16874
  o("div", {
16883
16875
  class: "audio-message__content",
16884
16876
  onMouseenter: p
@@ -16889,12 +16881,12 @@ const qr = {
16889
16881
  message: e.message.reply,
16890
16882
  class: C(e.message.position)
16891
16883
  }, null, 8, ["message", "class"])) : b("", !0),
16892
- o("div", Ou, [
16884
+ o("div", Tu, [
16893
16885
  o("audio", {
16894
16886
  ref_key: "player",
16895
16887
  ref: a,
16896
16888
  src: e.message.url
16897
- }, null, 8, Lu),
16889
+ }, null, 8, xu),
16898
16890
  ce(o("button", {
16899
16891
  class: "audio-message__play",
16900
16892
  onClick: D
@@ -16911,13 +16903,13 @@ const qr = {
16911
16903
  ]), 512), [
16912
16904
  [vf, s.value]
16913
16905
  ]),
16914
- o("div", Uu, [
16906
+ o("div", Vu, [
16915
16907
  o("div", {
16916
16908
  class: "audio-message__progress-bar",
16917
16909
  style: ee({ width: V.value + "%" })
16918
16910
  }, null, 4)
16919
16911
  ]),
16920
- o("p", Bu, E(`${w.value} / ${I.value}`), 1),
16912
+ o("p", Su, E(`${_.value} / ${w.value}`), 1),
16921
16913
  o("a", {
16922
16914
  class: "audio-message__download-button",
16923
16915
  onClick: Mf(() => "//Предотвращаем всплытие события клика", ["stop"]),
@@ -16926,20 +16918,20 @@ const qr = {
16926
16918
  target: "_blank"
16927
16919
  }, S[5] || (S[5] = [
16928
16920
  o("span", { class: "pi pi-download" }, null, -1)
16929
- ]), 8, Qu)
16921
+ ]), 8, Cu)
16930
16922
  ]),
16931
- (U = e.message.transcript) != null && U.text ? (r(), c("div", Ru, [
16923
+ (B = e.message.transcript) != null && B.text ? (r(), c("div", zu, [
16932
16924
  o("p", {
16933
16925
  onClick: S[0] || (S[0] = (R) => d.value = !d.value)
16934
16926
  }, E(e.message.transcript.text), 1)
16935
16927
  ])) : b("", !0),
16936
- e.message.text ? (r(), c("div", Yu, [
16928
+ e.message.text ? (r(), c("div", Ou, [
16937
16929
  o("p", {
16938
16930
  innerHTML: g.value,
16939
16931
  onClick: m
16940
- }, null, 8, $u)
16932
+ }, null, 8, Lu)
16941
16933
  ])) : b("", !0),
16942
- o("div", qu, [
16934
+ o("div", Uu, [
16943
16935
  e.message.views ? (r(), c("div", {
16944
16936
  key: 0,
16945
16937
  onClick: y,
@@ -16948,12 +16940,12 @@ const qr = {
16948
16940
  S[6] || (S[6] = o("span", { class: "pi pi-eye" }, null, -1)),
16949
16941
  o("p", null, E(e.message.views), 1)
16950
16942
  ])) : b("", !0),
16951
- o("span", Fu, E(e.message.time), 1),
16943
+ o("span", Bu, E(e.message.time), 1),
16952
16944
  j(e.message) === "audio-message__right" && z(ff).includes(e.message.status) ? (r(), c("div", {
16953
16945
  key: 1,
16954
16946
  class: C(["audio-message__status", N.value])
16955
16947
  }, [
16956
- e.message.status !== "sent" ? (r(), c("span", Hu)) : b("", !0),
16948
+ e.message.status !== "sent" ? (r(), c("span", Qu)) : b("", !0),
16957
16949
  S[7] || (S[7] = o("span", { class: "pi pi-check" }, null, -1))
16958
16950
  ], 2)) : b("", !0)
16959
16951
  ]),
@@ -16980,8 +16972,8 @@ const qr = {
16980
16972
  default: K(() => {
16981
16973
  var R;
16982
16974
  return [
16983
- d.value ? (r(), c("div", Pu, [
16984
- o("div", Wu, [
16975
+ d.value ? (r(), c("div", Ru, [
16976
+ o("div", Yu, [
16985
16977
  o("button", {
16986
16978
  class: "audio-message__modal-close-button",
16987
16979
  onClick: S[2] || (S[2] = (P) => d.value = !1)
@@ -16990,7 +16982,7 @@ const qr = {
16990
16982
  o("i", { class: "pi pi-times" })
16991
16983
  ], -1)
16992
16984
  ])),
16993
- o("p", Ku, E((R = e.message.transcript) == null ? void 0 : R.text), 1)
16985
+ o("p", $u, E((R = e.message.transcript) == null ? void 0 : R.text), 1)
16994
16986
  ])
16995
16987
  ])) : b("", !0)
16996
16988
  ];
@@ -16999,10 +16991,10 @@ const qr = {
16999
16991
  })
17000
16992
  ]))
17001
16993
  ], 32)
17002
- ], 42, Su);
16994
+ ], 42, Du);
17003
16995
  };
17004
16996
  }
17005
- }), Gu = /* @__PURE__ */ L(Ju, [["__scopeId", "data-v-99037db9"]]), Zu = { class: "date-message" }, Xu = { class: "date-message__container" }, e1 = { class: "date-message__text" }, f1 = /* @__PURE__ */ H({
16997
+ }), Fu = /* @__PURE__ */ L(qu, [["__scopeId", "data-v-99037db9"]]), Hu = { class: "date-message__container" }, Pu = { class: "date-message__text" }, Wu = /* @__PURE__ */ H({
17006
16998
  __name: "DateMessage",
17007
16999
  props: {
17008
17000
  message: {
@@ -17013,25 +17005,24 @@ const qr = {
17013
17005
  }
17014
17006
  },
17015
17007
  setup(e) {
17016
- return (f, t) => (r(), c("div", Zu, [
17017
- o("div", Xu, [
17018
- o("p", e1, E(e.message.text), 1)
17019
- ])
17008
+ return (f, t) => (r(), c("div", Hu, [
17009
+ o("p", Pu, E(e.message.text), 1)
17020
17010
  ]));
17021
17011
  }
17022
- }), t1 = /* @__PURE__ */ L(f1, [["__scopeId", "data-v-b2b05bd8"]]), n1 = ["messageId"], a1 = ["src"], s1 = {
17012
+ }), Ku = /* @__PURE__ */ L(Wu, [["__scopeId", "data-v-4955b179"]]), Ju = ["messageId"], Gu = ["src"], Zu = {
17023
17013
  key: 1,
17024
17014
  class: "video-message__subtext"
17025
- }, i1 = { class: "video-message__content" }, o1 = ["src"], A1 = {
17015
+ }, Xu = { class: "video-message__content" }, e1 = ["src"], f1 = {
17026
17016
  key: 0,
17027
17017
  class: "video-message__info-container"
17028
- }, l1 = { class: "video-message__time" }, r1 = {
17018
+ }, t1 = { class: "video-message__time" }, n1 = {
17029
17019
  key: 0,
17030
17020
  class: "pi pi-check"
17031
- }, u1 = ["href"], c1 = {
17021
+ }, a1 = ["href"], s1 = {
17032
17022
  key: 1,
17033
17023
  class: "video-message__text-container"
17034
- }, d1 = ["innerHTML"], g1 = { class: "video-message__modal" }, m1 = ["src", "alt"], p1 = /* @__PURE__ */ H({
17024
+ }, i1 = ["innerHTML"], o1 = { class: "video-message__modal" }, A1 = ["src", "alt"], l1 = /* @__PURE__ */ H({
17025
+ inheritAttrs: !1,
17035
17026
  __name: "VideoMessage",
17036
17027
  props: {
17037
17028
  message: {
@@ -17069,132 +17060,134 @@ const qr = {
17069
17060
  X([s, i], ([j, k]) => {
17070
17061
  j ? k && (k.pause(), k.currentTime = 0) : k && (k.play(), k.currentTime = 0);
17071
17062
  });
17072
- const T = $(() => t.message.reply && t.message.text ? "0" : t.message.text ? "8px 8px 0 0" : t.message.reply ? "0 0 8px 8px" : "8px"), w = () => A.value = !1, I = (j) => {
17073
- j.target.classList.contains("video-message__modal-overlay") && w();
17063
+ const x = $(() => t.message.reply && t.message.text ? "0" : t.message.text ? "8px 8px 0 0" : t.message.reply ? "0 0 8px 8px" : "8px"), _ = () => A.value = !1, w = (j) => {
17064
+ j.target.classList.contains("video-message__modal-overlay") && _();
17074
17065
  }, V = (j) => {
17075
- j.key === "Escape" && A.value && w();
17066
+ j.key === "Escape" && A.value && _();
17076
17067
  };
17077
17068
  return Ae(() => {
17078
17069
  document.addEventListener("keydown", V);
17079
17070
  }), Ze(() => {
17080
17071
  document.removeEventListener("keydown", V);
17081
- }), (j, k) => (r(), c("div", {
17082
- class: C(["video-message", a(e.message)]),
17083
- messageId: e.message.messageId,
17084
- onMouseleave: M
17085
- }, [
17086
- e.message.avatar ? (r(), c("img", {
17087
- key: 0,
17088
- class: "video-message__avatar",
17089
- src: e.message.avatar,
17090
- height: "32",
17091
- width: "32"
17092
- }, null, 8, a1)) : b("", !0),
17093
- e.message.subText ? (r(), c("p", s1, E(e.message.subText), 1)) : b("", !0),
17094
- o("div", i1, [
17095
- e.message.reply ? (r(), q(ef, {
17072
+ }), (j, k) => (r(), c(F, null, [
17073
+ o("div", {
17074
+ class: C(["video-message", a(e.message)]),
17075
+ messageId: e.message.messageId,
17076
+ onMouseleave: M
17077
+ }, [
17078
+ e.message.avatar ? (r(), c("img", {
17096
17079
  key: 0,
17097
- style: { margin: "10px 10px 4px 16px" },
17098
- class: C(e.message.position),
17099
- message: e.message.reply
17100
- }, null, 8, ["class", "message"])) : b("", !0),
17101
- o("div", {
17102
- class: "video-message__preview-button",
17103
- onClick: k[0] || (k[0] = (S) => A.value = !0),
17104
- onMouseenter: y,
17105
- onMouseleave: k[1] || (k[1] = (S) => g.value = !g.value)
17106
- }, [
17107
- o("video", {
17108
- ref_key: "previewPlayer",
17109
- ref: i,
17110
- class: "video-message__video",
17111
- style: ee({ borderRadius: T.value }),
17112
- onEnded: D,
17113
- src: e.message.url,
17114
- muted: !0,
17115
- autoplay: ""
17116
- }, null, 44, o1),
17080
+ class: "video-message__avatar",
17081
+ src: e.message.avatar,
17082
+ height: "32",
17083
+ width: "32"
17084
+ }, null, 8, Gu)) : b("", !0),
17085
+ e.message.subText ? (r(), c("p", Zu, E(e.message.subText), 1)) : b("", !0),
17086
+ o("div", Xu, [
17087
+ e.message.reply ? (r(), q(ef, {
17088
+ key: 0,
17089
+ style: { margin: "10px 10px 4px 16px" },
17090
+ class: C(e.message.position),
17091
+ message: e.message.reply
17092
+ }, null, 8, ["class", "message"])) : b("", !0),
17093
+ o("div", {
17094
+ class: "video-message__preview-button",
17095
+ onClick: k[0] || (k[0] = (S) => A.value = !0),
17096
+ onMouseenter: y,
17097
+ onMouseleave: k[1] || (k[1] = (S) => g.value = !g.value)
17098
+ }, [
17099
+ o("video", {
17100
+ ref_key: "previewPlayer",
17101
+ ref: i,
17102
+ class: "video-message__video",
17103
+ style: ee({ borderRadius: x.value }),
17104
+ onEnded: D,
17105
+ src: e.message.url,
17106
+ muted: !0,
17107
+ autoplay: ""
17108
+ }, null, 44, e1),
17109
+ Y(W, { name: "modal-fade" }, {
17110
+ default: K(() => [
17111
+ g.value ? (r(), c("div", f1, [
17112
+ e.message.views ? (r(), c("div", {
17113
+ key: 0,
17114
+ onClick: Mf(p, ["stop"]),
17115
+ class: "video-message__views"
17116
+ }, [
17117
+ k[3] || (k[3] = o("span", { class: "pi pi-eye" }, null, -1)),
17118
+ o("p", null, E(e.message.views), 1)
17119
+ ])) : b("", !0),
17120
+ o("span", t1, E(e.message.time), 1),
17121
+ a(e.message) === "video-message__right" && z(ff).includes(e.message.status) ? (r(), c("div", {
17122
+ key: 1,
17123
+ class: C(["video-message__status", N.value])
17124
+ }, [
17125
+ e.message.status !== "sent" ? (r(), c("span", n1)) : b("", !0),
17126
+ k[4] || (k[4] = o("span", { class: "pi pi-check" }, null, -1))
17127
+ ], 2)) : b("", !0)
17128
+ ])) : b("", !0)
17129
+ ]),
17130
+ _: 1
17131
+ }),
17132
+ Y(W, { name: "modal-fade" }, {
17133
+ default: K(() => [
17134
+ g.value ? (r(), c("a", {
17135
+ key: 0,
17136
+ onClick: Mf(() => "//Предотвращаем всплытие события клика", ["stop"]),
17137
+ class: "video-message__download-button",
17138
+ href: e.message.url,
17139
+ download: "",
17140
+ target: "_blank"
17141
+ }, k[5] || (k[5] = [
17142
+ o("span", { class: "pi pi-download" }, null, -1)
17143
+ ]), 8, a1)) : b("", !0)
17144
+ ]),
17145
+ _: 1
17146
+ })
17147
+ ], 32),
17117
17148
  Y(W, { name: "modal-fade" }, {
17118
17149
  default: K(() => [
17119
- g.value ? (r(), c("div", A1, [
17120
- e.message.views ? (r(), c("div", {
17121
- key: 0,
17122
- onClick: Mf(p, ["stop"]),
17123
- class: "video-message__views"
17124
- }, [
17125
- k[3] || (k[3] = o("span", { class: "pi pi-eye" }, null, -1)),
17126
- o("p", null, E(e.message.views), 1)
17127
- ])) : b("", !0),
17128
- o("span", l1, E(e.message.time), 1),
17129
- a(e.message) === "video-message__right" && z(ff).includes(e.message.status) ? (r(), c("div", {
17130
- key: 1,
17131
- class: C(["video-message__status", N.value])
17132
- }, [
17133
- e.message.status !== "sent" ? (r(), c("span", r1)) : b("", !0),
17134
- k[4] || (k[4] = o("span", { class: "pi pi-check" }, null, -1))
17135
- ], 2)) : b("", !0)
17136
- ])) : b("", !0)
17150
+ l.value && e.message.actions ? (r(), c("button", {
17151
+ key: 0,
17152
+ class: "video-message__menu-button",
17153
+ onClick: k[2] || (k[2] = (S) => u.value = !u.value)
17154
+ }, k[6] || (k[6] = [
17155
+ o("span", { class: "pi pi-ellipsis-h" }, null, -1)
17156
+ ]))) : b("", !0)
17137
17157
  ]),
17138
17158
  _: 1
17139
17159
  }),
17140
- Y(W, { name: "modal-fade" }, {
17160
+ Y(W, { name: "context-menu" }, {
17141
17161
  default: K(() => [
17142
- g.value ? (r(), c("a", {
17162
+ u.value && e.message.actions ? (r(), q(z(Le), {
17143
17163
  key: 0,
17144
- onClick: Mf(() => "//Предотвращаем всплытие события клика", ["stop"]),
17145
- class: "video-message__download-button",
17146
- href: e.message.url,
17147
- download: "",
17148
- target: "_blank"
17149
- }, k[5] || (k[5] = [
17150
- o("span", { class: "pi pi-download" }, null, -1)
17151
- ]), 8, u1)) : b("", !0)
17164
+ class: "video-message__context-menu",
17165
+ actions: e.message.actions,
17166
+ onClick: h
17167
+ }, null, 8, ["actions"])) : b("", !0)
17152
17168
  ]),
17153
17169
  _: 1
17154
- })
17155
- ], 32),
17156
- Y(W, { name: "modal-fade" }, {
17157
- default: K(() => [
17158
- l.value && e.message.actions ? (r(), c("button", {
17159
- key: 0,
17160
- class: "video-message__menu-button",
17161
- onClick: k[2] || (k[2] = (S) => u.value = !u.value)
17162
- }, k[6] || (k[6] = [
17163
- o("span", { class: "pi pi-ellipsis-h" }, null, -1)
17164
- ]))) : b("", !0)
17165
- ]),
17166
- _: 1
17167
- }),
17168
- Y(W, { name: "context-menu" }, {
17169
- default: K(() => [
17170
- u.value && e.message.actions ? (r(), q(z(Le), {
17171
- key: 0,
17172
- class: "video-message__context-menu",
17173
- actions: e.message.actions,
17174
- onClick: h
17175
- }, null, 8, ["actions"])) : b("", !0)
17176
- ]),
17177
- _: 1
17178
- }),
17179
- e.message.text ? (r(), c("div", c1, [
17180
- o("p", {
17181
- innerHTML: d.value,
17182
- onClick: m
17183
- }, null, 8, d1)
17184
- ])) : b("", !0)
17185
- ]),
17170
+ }),
17171
+ e.message.text ? (r(), c("div", s1, [
17172
+ o("p", {
17173
+ innerHTML: d.value,
17174
+ onClick: m
17175
+ }, null, 8, i1)
17176
+ ])) : b("", !0)
17177
+ ])
17178
+ ], 42, Ju),
17186
17179
  (r(), q(ze, { to: "body" }, [
17187
17180
  Y(W, { name: "modal-fade" }, {
17188
17181
  default: K(() => [
17189
17182
  A.value ? (r(), c("div", {
17190
17183
  key: 0,
17191
17184
  class: "video-message__modal-overlay",
17192
- onClick: I
17185
+ onClick: w
17193
17186
  }, [
17194
- o("div", g1, [
17187
+ o("div", o1, [
17195
17188
  o("button", {
17196
17189
  class: "video-message__modal-close-button",
17197
- onClick: w
17190
+ onClick: _
17198
17191
  }, k[7] || (k[7] = [
17199
17192
  o("span", null, [
17200
17193
  o("i", { class: "pi pi-times" })
@@ -17208,37 +17201,37 @@ const qr = {
17208
17201
  alt: e.message.alt,
17209
17202
  controls: "",
17210
17203
  autoplay: ""
17211
- }, null, 8, m1)
17204
+ }, null, 8, A1)
17212
17205
  ])
17213
17206
  ])) : b("", !0)
17214
17207
  ]),
17215
17208
  _: 1
17216
17209
  })
17217
17210
  ]))
17218
- ], 42, n1));
17211
+ ], 64));
17219
17212
  }
17220
- }), h1 = /* @__PURE__ */ L(p1, [["__scopeId", "data-v-a8b4ab98"]]), y1 = { class: "call-message" }, v1 = ["messageId"], M1 = ["src"], b1 = {
17213
+ }), r1 = /* @__PURE__ */ L(l1, [["__scopeId", "data-v-bb96619b"]]), u1 = ["messageId"], c1 = ["src"], d1 = {
17221
17214
  key: 1,
17222
17215
  class: "call-message__subtext"
17223
- }, _1 = { class: "call-message__content" }, I1 = {
17216
+ }, g1 = { class: "call-message__content" }, m1 = {
17224
17217
  key: 0,
17225
17218
  class: "call-message__title"
17226
- }, w1 = {
17219
+ }, p1 = {
17227
17220
  key: 1,
17228
17221
  class: "call-message__title"
17229
- }, k1 = {
17222
+ }, h1 = {
17230
17223
  key: 2,
17231
17224
  class: "call-message__duration"
17232
- }, N1 = {
17225
+ }, y1 = {
17233
17226
  key: 3,
17234
17227
  class: "call-message__duration"
17235
- }, D1 = {
17228
+ }, v1 = {
17236
17229
  key: 4,
17237
17230
  class: "call-message__duration"
17238
- }, E1 = { class: "call-message__info-container" }, j1 = { class: "call-message__time" }, T1 = {
17231
+ }, M1 = { class: "call-message__info-container" }, b1 = { class: "call-message__time" }, _1 = {
17239
17232
  key: 0,
17240
17233
  class: "call-message__modal-overlay"
17241
- }, x1 = { class: "call-message__modal" }, V1 = /* @__PURE__ */ H({
17234
+ }, I1 = { class: "call-message__modal" }, w1 = /* @__PURE__ */ H({
17242
17235
  __name: "CallMessage",
17243
17236
  props: {
17244
17237
  message: {
@@ -17264,71 +17257,69 @@ const qr = {
17264
17257
  }
17265
17258
  return (a, s) => {
17266
17259
  var i;
17267
- return r(), c("div", y1, [
17268
- o("div", {
17269
- class: C(n(e.message, t.message)),
17270
- messageId: e.message.messageId
17271
- }, [
17272
- e.message.avatar ? (r(), c("img", {
17273
- key: 0,
17274
- class: "call-message__avatar",
17275
- src: e.message.avatar,
17276
- height: "32",
17277
- width: "32",
17278
- style: ee({ gridRow: e.message.subText ? "2" : "1" })
17279
- }, null, 12, M1)) : b("", !0),
17280
- e.message.subText ? (r(), c("p", b1, E(e.message.subText), 1)) : b("", !0),
17281
- o("div", _1, [
17282
- o("span", {
17283
- class: "call-message__icon pi pi-phone",
17284
- style: ee({ color: e.message.isMissedCall ? "var(--p-red-500)" : "var(--neutral-100)" })
17285
- }, null, 4),
17286
- e.message.isMissedCall ? (r(), c("span", w1, "Пропущенный аудиозвонок")) : (r(), c("span", I1, "Аудиозвонок")),
17287
- e.message.callDuration ? (r(), c("span", k1, E(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (r(), c("span", N1, "Нажмите, чтобы перезвонить")) : (r(), c("span", D1, "Нет ответа")),
17288
- o("div", E1, [
17289
- o("span", j1, E(e.message.time), 1)
17290
- ]),
17291
- (i = e.message.transcript) != null && i.dialog ? (r(), c("button", {
17292
- key: 5,
17293
- class: "call-message__download-button",
17294
- onClick: s[0] || (s[0] = (A) => f.value = !f.value)
17295
- }, s[2] || (s[2] = [
17296
- o("span", { class: "pi pi-arrow-up-right" }, null, -1)
17297
- ]))) : b("", !0),
17298
- (r(), q(ze, { to: "body" }, [
17299
- Y(W, { name: "modal-fade" }, {
17300
- default: K(() => {
17301
- var A;
17302
- return [
17303
- f.value ? (r(), c("div", T1, [
17304
- o("div", x1, [
17305
- o("button", {
17306
- class: "call-message__modal-close-button",
17307
- onClick: s[1] || (s[1] = (u) => f.value = !1)
17308
- }, s[3] || (s[3] = [
17309
- o("span", null, [
17310
- o("i", { class: "pi pi-times" })
17311
- ], -1)
17312
- ])),
17313
- (r(!0), c(F, null, Z((A = e.message.transcript) == null ? void 0 : A.dialog, (u, l) => (r(), c("div", {
17314
- class: C(n(u, t.textDialog))
17315
- }, [
17316
- o("p", null, E(u.text), 1),
17317
- o("span", null, E(u.time), 1)
17318
- ], 2))), 256))
17319
- ])
17320
- ])) : b("", !0)
17321
- ];
17322
- }),
17323
- _: 1
17324
- })
17325
- ]))
17326
- ])
17327
- ], 10, v1)
17328
- ]);
17260
+ return r(), c("div", {
17261
+ class: C(n(e.message, t.message)),
17262
+ messageId: e.message.messageId
17263
+ }, [
17264
+ e.message.avatar ? (r(), c("img", {
17265
+ key: 0,
17266
+ class: "call-message__avatar",
17267
+ src: e.message.avatar,
17268
+ height: "32",
17269
+ width: "32",
17270
+ style: ee({ gridRow: e.message.subText ? "2" : "1" })
17271
+ }, null, 12, c1)) : b("", !0),
17272
+ e.message.subText ? (r(), c("p", d1, E(e.message.subText), 1)) : b("", !0),
17273
+ o("div", g1, [
17274
+ o("span", {
17275
+ class: "call-message__icon pi pi-phone",
17276
+ style: ee({ color: e.message.isMissedCall ? "var(--p-red-500)" : "var(--neutral-100)" })
17277
+ }, null, 4),
17278
+ e.message.isMissedCall ? (r(), c("span", p1, "Пропущенный аудиозвонок")) : (r(), c("span", m1, "Аудиозвонок")),
17279
+ e.message.callDuration ? (r(), c("span", h1, E(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (r(), c("span", y1, "Нажмите, чтобы перезвонить")) : (r(), c("span", v1, "Нет ответа")),
17280
+ o("div", M1, [
17281
+ o("span", b1, E(e.message.time), 1)
17282
+ ]),
17283
+ (i = e.message.transcript) != null && i.dialog ? (r(), c("button", {
17284
+ key: 5,
17285
+ class: "call-message__download-button",
17286
+ onClick: s[0] || (s[0] = (A) => f.value = !f.value)
17287
+ }, s[2] || (s[2] = [
17288
+ o("span", { class: "pi pi-arrow-up-right" }, null, -1)
17289
+ ]))) : b("", !0),
17290
+ (r(), q(ze, { to: "body" }, [
17291
+ Y(W, { name: "modal-fade" }, {
17292
+ default: K(() => {
17293
+ var A;
17294
+ return [
17295
+ f.value ? (r(), c("div", _1, [
17296
+ o("div", I1, [
17297
+ o("button", {
17298
+ class: "call-message__modal-close-button",
17299
+ onClick: s[1] || (s[1] = (u) => f.value = !1)
17300
+ }, s[3] || (s[3] = [
17301
+ o("span", null, [
17302
+ o("i", { class: "pi pi-times" })
17303
+ ], -1)
17304
+ ])),
17305
+ (r(!0), c(F, null, Z((A = e.message.transcript) == null ? void 0 : A.dialog, (u, l) => (r(), c("div", {
17306
+ class: C(n(u, t.textDialog))
17307
+ }, [
17308
+ o("p", null, E(u.text), 1),
17309
+ o("span", null, E(u.time), 1)
17310
+ ], 2))), 256))
17311
+ ])
17312
+ ])) : b("", !0)
17313
+ ];
17314
+ }),
17315
+ _: 1
17316
+ })
17317
+ ]))
17318
+ ])
17319
+ ], 10, u1);
17329
17320
  };
17330
17321
  }
17331
- }), S1 = /* @__PURE__ */ L(V1, [["__scopeId", "data-v-543ae7f7"]]), C1 = { class: "system-message" }, z1 = { class: "system-message__container" }, O1 = { class: "system-message__text" }, L1 = /* @__PURE__ */ H({
17322
+ }), k1 = /* @__PURE__ */ L(w1, [["__scopeId", "data-v-46e5f43f"]]), N1 = { class: "system-message__container" }, D1 = { class: "system-message__text" }, E1 = /* @__PURE__ */ H({
17332
17323
  __name: "SystemMessage",
17333
17324
  props: {
17334
17325
  message: {
@@ -17337,16 +17328,14 @@ const qr = {
17337
17328
  }
17338
17329
  },
17339
17330
  setup(e) {
17340
- return (f, t) => (r(), c("div", C1, [
17341
- o("div", z1, [
17342
- o("p", O1, E(e.message.text), 1)
17343
- ])
17331
+ return (f, t) => (r(), c("div", N1, [
17332
+ o("p", D1, E(e.message.text), 1)
17344
17333
  ]));
17345
17334
  }
17346
- }), U1 = /* @__PURE__ */ L(L1, [["__scopeId", "data-v-d0876c1e"]]), B1 = { class: "typing-message" }, Q1 = { class: "typing-message__container" }, R1 = ["src"], Y1 = {
17335
+ }), j1 = /* @__PURE__ */ L(E1, [["__scopeId", "data-v-10f6c5c2"]]), T1 = { class: "typing-message__container" }, x1 = ["src"], V1 = {
17347
17336
  key: 1,
17348
17337
  class: "typing-message__subtext"
17349
- }, $1 = /* @__PURE__ */ H({
17338
+ }, S1 = /* @__PURE__ */ H({
17350
17339
  __name: "TypingMessage",
17351
17340
  props: {
17352
17341
  message: {
@@ -17355,24 +17344,22 @@ const qr = {
17355
17344
  }
17356
17345
  },
17357
17346
  setup(e) {
17358
- return (f, t) => (r(), c("div", B1, [
17359
- o("div", Q1, [
17360
- e.message.avatar ? (r(), c("img", {
17361
- key: 0,
17362
- class: "typing-message__avatar",
17363
- src: e.message.avatar,
17364
- height: "32",
17365
- width: "32",
17366
- style: ee({ gridRow: e.message.subText ? "2" : "1" })
17367
- }, null, 12, R1)) : b("", !0),
17368
- e.message.subText ? (r(), c("p", Y1, E(e.message.subText), 1)) : b("", !0),
17369
- t[0] || (t[0] = o("div", { class: "typing-message__loader-container" }, [
17370
- o("div", { class: "typing-message__loader" })
17371
- ], -1))
17372
- ])
17347
+ return (f, t) => (r(), c("div", T1, [
17348
+ e.message.avatar ? (r(), c("img", {
17349
+ key: 0,
17350
+ class: "typing-message__avatar",
17351
+ src: e.message.avatar,
17352
+ height: "32",
17353
+ width: "32",
17354
+ style: ee({ gridRow: e.message.subText ? "2" : "1" })
17355
+ }, null, 12, x1)) : b("", !0),
17356
+ e.message.subText ? (r(), c("p", V1, E(e.message.subText), 1)) : b("", !0),
17357
+ t[0] || (t[0] = o("div", { class: "typing-message__loader-container" }, [
17358
+ o("div", { class: "typing-message__loader" })
17359
+ ], -1))
17373
17360
  ]));
17374
17361
  }
17375
- }), Rn = /* @__PURE__ */ L($1, [["__scopeId", "data-v-88389095"]]), q1 = ["innerHTML"], F1 = /* @__PURE__ */ H({
17362
+ }), Rn = /* @__PURE__ */ L(S1, [["__scopeId", "data-v-f20e4945"]]), C1 = ["innerHTML"], z1 = /* @__PURE__ */ H({
17376
17363
  __name: "ReplyTextMessage",
17377
17364
  props: {
17378
17365
  message: {
@@ -17395,9 +17382,9 @@ const qr = {
17395
17382
  return (a, s) => (r(), c("p", {
17396
17383
  innerHTML: t.value,
17397
17384
  onClick: n
17398
- }, null, 8, q1));
17385
+ }, null, 8, C1));
17399
17386
  }
17400
- }), H1 = /* @__PURE__ */ L(F1, [["__scopeId", "data-v-093843be"]]), P1 = ["src", "alt"], W1 = { class: "image-message__text-container" }, K1 = ["innerHTML"], J1 = { class: "image-message__modal" }, G1 = ["src", "alt"], Z1 = /* @__PURE__ */ H({
17387
+ }), O1 = /* @__PURE__ */ L(z1, [["__scopeId", "data-v-9ebcfcf1"]]), L1 = ["src", "alt"], U1 = { class: "image-message__text-container" }, B1 = ["innerHTML"], Q1 = { class: "image-message__modal" }, R1 = ["src", "alt"], Y1 = /* @__PURE__ */ H({
17401
17388
  __name: "ReplyImageMessage",
17402
17389
  props: {
17403
17390
  message: {
@@ -17435,9 +17422,9 @@ const qr = {
17435
17422
  class: "image-message__preview-image",
17436
17423
  src: e.message.url,
17437
17424
  alt: e.message.alt
17438
- }, null, 8, P1)
17425
+ }, null, 8, L1)
17439
17426
  ]),
17440
- o("div", W1, [
17427
+ o("div", U1, [
17441
17428
  l[1] || (l[1] = o("div", { class: "image-message__reply-description" }, [
17442
17429
  o("span", { class: "pi pi-camera" }),
17443
17430
  o("p", null, "Фотография")
@@ -17446,7 +17433,7 @@ const qr = {
17446
17433
  key: 0,
17447
17434
  innerHTML: n.value,
17448
17435
  onClick: a
17449
- }, null, 8, K1)) : b("", !0)
17436
+ }, null, 8, B1)) : b("", !0)
17450
17437
  ]),
17451
17438
  (r(), q(ze, { to: "body" }, [
17452
17439
  Y(W, { name: "modal-fade" }, {
@@ -17456,7 +17443,7 @@ const qr = {
17456
17443
  class: "image-message__modal-overlay",
17457
17444
  onClick: i
17458
17445
  }, [
17459
- o("div", J1, [
17446
+ o("div", Q1, [
17460
17447
  o("button", {
17461
17448
  class: "image-message__modal-close-button",
17462
17449
  onClick: s
@@ -17469,7 +17456,7 @@ const qr = {
17469
17456
  class: "image-message__modal-image",
17470
17457
  src: e.message.url,
17471
17458
  alt: e.message.alt
17472
- }, null, 8, G1)
17459
+ }, null, 8, R1)
17473
17460
  ])
17474
17461
  ])) : b("", !0)
17475
17462
  ]),
@@ -17478,7 +17465,7 @@ const qr = {
17478
17465
  ]))
17479
17466
  ], 64));
17480
17467
  }
17481
- }), X1 = /* @__PURE__ */ L(Z1, [["__scopeId", "data-v-9425cfd3"]]), ec = { class: "audio-message__play" }, fc = { class: "audio-message__text-container" }, tc = ["innerHTML"], nc = /* @__PURE__ */ H({
17468
+ }), $1 = /* @__PURE__ */ L(Y1, [["__scopeId", "data-v-bb30b9de"]]), q1 = { class: "audio-message__play" }, F1 = { class: "audio-message__text-container" }, H1 = ["innerHTML"], P1 = /* @__PURE__ */ H({
17482
17469
  __name: "ReplyAudioMessage",
17483
17470
  props: {
17484
17471
  message: {
@@ -17499,12 +17486,12 @@ const qr = {
17499
17486
  s.preventDefault(), s.target.href && window.open(s.target.href, "_blank");
17500
17487
  }
17501
17488
  return (s, i) => (r(), c(F, null, [
17502
- ce(o("div", ec, i[0] || (i[0] = [
17489
+ ce(o("div", q1, i[0] || (i[0] = [
17503
17490
  o("span", { class: "pi pi-play" }, null, -1)
17504
17491
  ]), 512), [
17505
17492
  [vf, !t.value]
17506
17493
  ]),
17507
- o("div", fc, [
17494
+ o("div", F1, [
17508
17495
  i[1] || (i[1] = o("div", { class: "audio-message__reply-description" }, [
17509
17496
  o("span", { class: "pi pi-microphone" }),
17510
17497
  o("p", null, "Аудиосообщение")
@@ -17513,11 +17500,11 @@ const qr = {
17513
17500
  key: 0,
17514
17501
  innerHTML: n.value,
17515
17502
  onClick: a
17516
- }, null, 8, tc)) : b("", !0)
17503
+ }, null, 8, H1)) : b("", !0)
17517
17504
  ])
17518
17505
  ], 64));
17519
17506
  }
17520
- }), ac = /* @__PURE__ */ L(nc, [["__scopeId", "data-v-cbcb12d9"]]), sc = ["src"], ic = { class: "video-message__text-container" }, oc = ["innerHTML"], Ac = { class: "video-message__modal" }, lc = ["src", "alt"], rc = /* @__PURE__ */ H({
17507
+ }), W1 = /* @__PURE__ */ L(P1, [["__scopeId", "data-v-2f56c045"]]), K1 = ["src"], J1 = { class: "video-message__text-container" }, G1 = ["innerHTML"], Z1 = { class: "video-message__modal" }, X1 = ["src", "alt"], ec = /* @__PURE__ */ H({
17521
17508
  __name: "ReplyVideoMessage",
17522
17509
  props: {
17523
17510
  message: {
@@ -17555,9 +17542,9 @@ const qr = {
17555
17542
  class: "video-message__video",
17556
17543
  src: e.message.url,
17557
17544
  muted: !0
17558
- }, null, 8, sc)
17545
+ }, null, 8, K1)
17559
17546
  ]),
17560
- o("div", ic, [
17547
+ o("div", J1, [
17561
17548
  g[1] || (g[1] = o("div", { class: "video-message__reply-description" }, [
17562
17549
  o("span", { class: "pi pi-video" }),
17563
17550
  o("p", null, "Видео")
@@ -17566,7 +17553,7 @@ const qr = {
17566
17553
  key: 0,
17567
17554
  innerHTML: a.value,
17568
17555
  onClick: s
17569
- }, null, 8, oc)) : b("", !0)
17556
+ }, null, 8, G1)) : b("", !0)
17570
17557
  ]),
17571
17558
  (r(), q(ze, { to: "body" }, [
17572
17559
  Y(W, { name: "modal-fade" }, {
@@ -17576,7 +17563,7 @@ const qr = {
17576
17563
  class: "video-message__modal-overlay",
17577
17564
  onClick: A
17578
17565
  }, [
17579
- o("div", Ac, [
17566
+ o("div", Z1, [
17580
17567
  o("button", {
17581
17568
  class: "video-message__modal-close-button",
17582
17569
  onClick: i
@@ -17593,7 +17580,7 @@ const qr = {
17593
17580
  alt: e.message.alt,
17594
17581
  controls: "",
17595
17582
  autoplay: ""
17596
- }, null, 8, lc)
17583
+ }, null, 8, X1)
17597
17584
  ])
17598
17585
  ])) : b("", !0)
17599
17586
  ]),
@@ -17602,10 +17589,10 @@ const qr = {
17602
17589
  ]))
17603
17590
  ], 64));
17604
17591
  }
17605
- }), uc = /* @__PURE__ */ L(rc, [["__scopeId", "data-v-cb5626d2"]]), cc = ["href"], dc = { class: "file-message__filename-text" }, gc = {
17592
+ }), fc = /* @__PURE__ */ L(ec, [["__scopeId", "data-v-8335e176"]]), tc = ["href"], nc = { class: "file-message__filename-text" }, ac = {
17606
17593
  key: 0,
17607
17594
  class: "file-message__text"
17608
- }, mc = /* @__PURE__ */ H({
17595
+ }, sc = /* @__PURE__ */ H({
17609
17596
  __name: "ReplyFileMessage",
17610
17597
  props: {
17611
17598
  message: {
@@ -17631,21 +17618,21 @@ const qr = {
17631
17618
  target: "_blank"
17632
17619
  }, [
17633
17620
  a[0] || (a[0] = o("span", { class: "pi pi-file" }, null, -1)),
17634
- o("p", dc, E(e.message.filename), 1)
17635
- ], 8, cc),
17636
- (s = e.message) != null && s.text ? (r(), c("p", gc, E(e.message.text), 1)) : b("", !0)
17621
+ o("p", nc, E(e.message.filename), 1)
17622
+ ], 8, tc),
17623
+ (s = e.message) != null && s.text ? (r(), c("p", ac, E(e.message.text), 1)) : b("", !0)
17637
17624
  ], 64);
17638
17625
  };
17639
17626
  }
17640
- }), pc = /* @__PURE__ */ L(mc, [["__scopeId", "data-v-afd35235"]]), hc = { class: "modal-backdrop" }, yc = {
17627
+ }), ic = /* @__PURE__ */ L(sc, [["__scopeId", "data-v-3864fd25"]]), oc = { class: "modal-backdrop" }, Ac = {
17641
17628
  class: "modal",
17642
17629
  role: "dialog",
17643
17630
  "aria-labelledby": "modalTitle",
17644
17631
  "aria-describedby": "modalDescription"
17645
- }, vc = {
17632
+ }, lc = {
17646
17633
  id: "modalDescription",
17647
17634
  class: "modal-body"
17648
- }, Mc = { class: "buttons" }, bc = {
17635
+ }, rc = { class: "buttons" }, uc = {
17649
17636
  __name: "Modal",
17650
17637
  emits: ["close", "submit"],
17651
17638
  setup(e, { emit: f }) {
@@ -17654,12 +17641,12 @@ const qr = {
17654
17641
  }, a = v(null);
17655
17642
  return (s, i) => (r(), q(W, { name: "modal-fade" }, {
17656
17643
  default: K(() => [
17657
- o("div", hc, [
17658
- o("div", yc, [
17659
- o("div", vc, [
17644
+ o("div", oc, [
17645
+ o("div", Ac, [
17646
+ o("div", lc, [
17660
17647
  ne(s.$slots, "default", {}, void 0, !0)
17661
17648
  ]),
17662
- o("div", Mc, [
17649
+ o("div", rc, [
17663
17650
  o("button", {
17664
17651
  type: "button",
17665
17652
  class: "btn-green",
@@ -17679,7 +17666,7 @@ const qr = {
17679
17666
  _: 3
17680
17667
  }));
17681
17668
  }
17682
- }, _c = /* @__PURE__ */ L(bc, [["__scopeId", "data-v-d48a1772"]]);
17669
+ }, cc = /* @__PURE__ */ L(uc, [["__scopeId", "data-v-d48a1772"]]);
17683
17670
  function rn({ component: e, attrs: f }) {
17684
17671
  return new Promise((t) => {
17685
17672
  const n = document.createElement("div");
@@ -17694,7 +17681,7 @@ function rn({ component: e, attrs: f }) {
17694
17681
  }, u = H({
17695
17682
  render() {
17696
17683
  return Mn(
17697
- _c,
17684
+ cc,
17698
17685
  {
17699
17686
  onSubmit: i,
17700
17687
  onClose: s
@@ -17714,17 +17701,17 @@ function rn({ component: e, attrs: f }) {
17714
17701
  l.mount(n);
17715
17702
  });
17716
17703
  }
17717
- const rd = async (e, f) => {
17704
+ const ed = async (e, f) => {
17718
17705
  const t = await rn({
17719
17706
  //в component должен быть встроен emit change(key: value)
17720
- component: import("./SelectUser2-e-vlVlpW.js"),
17707
+ component: import("./SelectUser2-_4H3rYnc.js"),
17721
17708
  attrs: {
17722
17709
  title: e,
17723
17710
  users: f
17724
17711
  }
17725
17712
  });
17726
17713
  return console.log("data", t), t;
17727
- }, ud = async (e) => {
17714
+ }, fd = async (e) => {
17728
17715
  const f = await rn({
17729
17716
  //в component должен быть встроен emit change(key: value)
17730
17717
  component: import("./CreateChat-fkFKBxtQ.js"),
@@ -17733,13 +17720,13 @@ const rd = async (e, f) => {
17733
17720
  }
17734
17721
  });
17735
17722
  return console.log("data", f), f;
17736
- }, cd = async (e) => await rn({
17723
+ }, td = async (e) => await rn({
17737
17724
  //в component должен быть встроен emit change(key: value)
17738
17725
  component: import("./CreateChat2-DgUQ2F5L.js"),
17739
17726
  attrs: {
17740
17727
  title: e
17741
17728
  }
17742
- }), Ic = ["id"], dd = {
17729
+ }), dc = ["id"], nd = {
17743
17730
  __name: "BaseContainer",
17744
17731
  props: {
17745
17732
  height: String,
@@ -17757,9 +17744,9 @@ const rd = async (e, f) => {
17757
17744
  }, [
17758
17745
  ne(t.$slots, "default")
17759
17746
  ], 4)
17760
- ], 8, Ic));
17747
+ ], 8, dc));
17761
17748
  }
17762
- }, wc = ["id"], kc = { class: "float-window__container" }, Nc = ["src", "alt"], Dc = { class: "float-window__title" }, Ec = {
17749
+ }, gc = ["id"], mc = { class: "float-window__container" }, pc = ["src", "alt"], hc = { class: "float-window__title" }, yc = {
17763
17750
  __name: "FloatContainer",
17764
17751
  props: {
17765
17752
  title: {
@@ -17819,7 +17806,7 @@ const rd = async (e, f) => {
17819
17806
  display: "flex"
17820
17807
  })
17821
17808
  }, [
17822
- o("div", kc, [
17809
+ o("div", mc, [
17823
17810
  o("div", {
17824
17811
  ref_key: "container",
17825
17812
  ref: s,
@@ -17834,8 +17821,8 @@ const rd = async (e, f) => {
17834
17821
  class: "float-window__avatar",
17835
17822
  src: t.avatar,
17836
17823
  alt: t.title
17837
- }, null, 8, Nc)) : b("", !0),
17838
- o("p", Dc, E(t.title), 1),
17824
+ }, null, 8, pc)) : b("", !0),
17825
+ o("p", hc, E(t.title), 1),
17839
17826
  o("button", {
17840
17827
  class: "float-window__close-button",
17841
17828
  onClick: y[0] || (y[0] = (M) => h.$emit("close-window"))
@@ -17850,20 +17837,20 @@ const rd = async (e, f) => {
17850
17837
  ne(h.$slots, "default", {}, void 0, !0)
17851
17838
  ], 4)
17852
17839
  ])
17853
- ], 12, wc));
17840
+ ], 12, gc));
17854
17841
  }
17855
- }, gd = /* @__PURE__ */ L(Ec, [["__scopeId", "data-v-b0994783"]]), jc = {}, Tc = { class: "base-layout__container" }, xc = { class: "base-layout__first-col" }, Vc = { class: "base-layout__second-col" };
17856
- function Sc(e, f) {
17857
- return r(), c("div", Tc, [
17858
- o("div", xc, [
17842
+ }, ad = /* @__PURE__ */ L(yc, [["__scopeId", "data-v-b0994783"]]), vc = {}, Mc = { class: "base-layout__container" }, bc = { class: "base-layout__first-col" }, _c = { class: "base-layout__second-col" };
17843
+ function Ic(e, f) {
17844
+ return r(), c("div", Mc, [
17845
+ o("div", bc, [
17859
17846
  ne(e.$slots, "first-col", {}, void 0, !0)
17860
17847
  ]),
17861
- o("div", Vc, [
17848
+ o("div", _c, [
17862
17849
  ne(e.$slots, "second-col", {}, void 0, !0)
17863
17850
  ])
17864
17851
  ]);
17865
17852
  }
17866
- const md = /* @__PURE__ */ L(jc, [["render", Sc], ["__scopeId", "data-v-a5df3fcf"]]), Cc = { class: "extend-layout__container" }, zc = { class: "extend-layout__first-col" }, Oc = { class: "extend-layout__third-col" }, Lc = {
17853
+ const sd = /* @__PURE__ */ L(vc, [["render", Ic], ["__scopeId", "data-v-a5df3fcf"]]), wc = { class: "extend-layout__container" }, kc = { class: "extend-layout__first-col" }, Nc = { class: "extend-layout__third-col" }, Dc = {
17867
17854
  __name: "ExtendedLayout",
17868
17855
  setup(e) {
17869
17856
  const f = v(null);
@@ -17880,8 +17867,8 @@ const md = /* @__PURE__ */ L(jc, [["render", Sc], ["__scopeId", "data-v-a5df3fcf
17880
17867
  };
17881
17868
  return Ae(() => {
17882
17869
  f.value && (f.value.style.width = "350px");
17883
- }), (l, g) => (r(), c("div", Cc, [
17884
- o("div", zc, [
17870
+ }), (l, g) => (r(), c("div", wc, [
17871
+ o("div", kc, [
17885
17872
  ne(l.$slots, "first-col", {}, void 0, !0)
17886
17873
  ]),
17887
17874
  o("div", {
@@ -17894,26 +17881,26 @@ const md = /* @__PURE__ */ L(jc, [["render", Sc], ["__scopeId", "data-v-a5df3fcf
17894
17881
  }, [
17895
17882
  ne(l.$slots, "second-col", {}, void 0, !0)
17896
17883
  ], 36),
17897
- o("div", Oc, [
17884
+ o("div", Nc, [
17898
17885
  ne(l.$slots, "third-col", {}, void 0, !0)
17899
17886
  ])
17900
17887
  ]));
17901
17888
  }
17902
- }, pd = /* @__PURE__ */ L(Lc, [["__scopeId", "data-v-7c3b977d"]]), Uc = {}, Bc = { class: "base-layout__container" }, Qc = { class: "base-layout__first-col" };
17903
- function Rc(e, f) {
17904
- return r(), c("div", Bc, [
17905
- o("div", Qc, [
17889
+ }, id = /* @__PURE__ */ L(Dc, [["__scopeId", "data-v-7c3b977d"]]), Ec = {}, jc = { class: "base-layout__container" }, Tc = { class: "base-layout__first-col" };
17890
+ function xc(e, f) {
17891
+ return r(), c("div", jc, [
17892
+ o("div", Tc, [
17906
17893
  ne(e.$slots, "default", {}, void 0, !0)
17907
17894
  ])
17908
17895
  ]);
17909
17896
  }
17910
- const hd = /* @__PURE__ */ L(Uc, [["render", Rc], ["__scopeId", "data-v-e71ea0ed"]]), Yc = { class: "chat-wrapper" }, $c = {
17897
+ const od = /* @__PURE__ */ L(Ec, [["render", xc], ["__scopeId", "data-v-e71ea0ed"]]), Vc = { class: "chat-wrapper" }, Sc = {
17911
17898
  key: 0,
17912
17899
  class: "chat-wrapper__selected-chat"
17913
- }, qc = {
17900
+ }, Cc = {
17914
17901
  key: 1,
17915
17902
  style: { width: "100%" }
17916
- }, Fc = /* @__PURE__ */ H({
17903
+ }, zc = /* @__PURE__ */ H({
17917
17904
  __name: "ChatWrapper",
17918
17905
  props: {
17919
17906
  isOpenChatPanel: {
@@ -17926,10 +17913,10 @@ const hd = /* @__PURE__ */ L(Uc, [["render", Rc], ["__scopeId", "data-v-e71ea0ed
17926
17913
  }
17927
17914
  },
17928
17915
  setup(e) {
17929
- return (f, t) => (r(), c("div", Yc, [
17930
- e.isSelectedChat ? (r(), c("div", $c, [
17916
+ return (f, t) => (r(), c("div", Vc, [
17917
+ e.isSelectedChat ? (r(), c("div", Sc, [
17931
17918
  ne(f.$slots, "default", {}, void 0, !0)
17932
- ])) : (r(), c("div", qc, [
17919
+ ])) : (r(), c("div", Cc, [
17933
17920
  o("p", null, E(z(Re)("layout.ChatWrapper.noSelectedChat")), 1)
17934
17921
  ])),
17935
17922
  e.isOpenChatPanel ? (r(), c("div", {
@@ -17941,56 +17928,56 @@ const hd = /* @__PURE__ */ L(Uc, [["render", Rc], ["__scopeId", "data-v-e71ea0ed
17941
17928
  ], 4)) : b("", !0)
17942
17929
  ]));
17943
17930
  }
17944
- }), yd = /* @__PURE__ */ L(Fc, [["__scopeId", "data-v-12c6a622"]]);
17931
+ }), Ad = /* @__PURE__ */ L(zc, [["__scopeId", "data-v-12c6a622"]]);
17945
17932
  export {
17946
- Gu as A,
17933
+ Fu as A,
17947
17934
  sa as B,
17948
- S1 as C,
17949
- t1 as D,
17950
- gd as E,
17951
- Au as F,
17952
- md as G,
17953
- pd as H,
17954
- Iu as I,
17955
- hd as J,
17956
- yd as K,
17957
- Zc as L,
17958
- Xc as M,
17959
- ed as N,
17960
- fd as O,
17935
+ k1 as C,
17936
+ Ku as D,
17937
+ ad as E,
17938
+ tu as F,
17939
+ sd as G,
17940
+ id as H,
17941
+ hu as I,
17942
+ od as J,
17943
+ Ad as K,
17944
+ Yc as L,
17945
+ $c as M,
17946
+ qc as N,
17947
+ Fc as O,
17961
17948
  dt as P,
17962
17949
  ff as Q,
17963
- H1 as R,
17964
- U1 as S,
17965
- Vu as T,
17966
- Gc as U,
17967
- h1 as V,
17950
+ O1 as R,
17951
+ j1 as S,
17952
+ Nu as T,
17953
+ Rc as U,
17954
+ r1 as V,
17968
17955
  tf as W,
17969
17956
  L as _,
17970
17957
  Rn as a,
17971
- X1 as b,
17972
- ac as c,
17973
- uc as d,
17974
- pc as e,
17958
+ $1 as b,
17959
+ W1 as c,
17960
+ fc as d,
17961
+ ic as e,
17975
17962
  ef as f,
17976
- Pc as g,
17977
- Wc as h,
17978
- Kc as i,
17979
- Jc as j,
17980
- td as k,
17981
- nd as l,
17982
- ad as m,
17983
- sd as n,
17984
- id as o,
17963
+ Lc as g,
17964
+ Uc as h,
17965
+ Bc as i,
17966
+ Qc as j,
17967
+ Hc as k,
17968
+ Pc as l,
17969
+ Wc as m,
17970
+ Kc as n,
17971
+ Jc as o,
17985
17972
  jt as p,
17986
- Ki as q,
17987
- yo as r,
17988
- od as s,
17989
- Ad as t,
17990
- ld as u,
17973
+ qi as q,
17974
+ co as r,
17975
+ Gc as s,
17976
+ Zc as t,
17977
+ Xc as u,
17991
17978
  Le as v,
17992
- rd as w,
17993
- ud as x,
17994
- cd as y,
17995
- dd as z
17979
+ ed as w,
17980
+ fd as x,
17981
+ td as y,
17982
+ nd as z
17996
17983
  };