@mobilon-dev/chotto 0.0.60 → 0.0.62

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.
@@ -1,4 +1,4 @@
1
- import { openBlock as r, createElementBlock as c, createElementVNode as o, toDisplayString as D, createCommentVNode as v, renderSlot as te, ref as I, defineComponent as Z, inject as de, watch as Ae, nextTick as tf, unref as S, withDirectives as ce, withKeys as ka, vModelText as cf, normalizeClass as L, createVNode as R, Transition as P, withCtx as W, createBlock as K, Fragment as $, renderList as G, onUpdated as Na, resolveDynamicComponent as Da, normalizeStyle as J, useId as Rt, onMounted as we, onUnmounted as ct, computed as Y, Teleport as yf, toRef as ja, vModelRadio as Rn, reactive as Yn, getCurrentInstance as Ea, toRaw as qn, onBeforeUnmount as Ta, provide as Yt, readonly as Va, vShow as Lf, resolveComponent as Sf, withModifiers as Qe, h as yn, defineAsyncComponent as xa, createApp as Sa } from "vue";
1
+ import { openBlock as r, createElementBlock as c, createElementVNode as o, toDisplayString as D, createCommentVNode as b, renderSlot as te, ref as I, defineComponent as Z, inject as de, watch as Ae, nextTick as tf, unref as C, withDirectives as ce, withKeys as ka, vModelText as cf, normalizeClass as L, createVNode as R, Transition as P, withCtx as W, createBlock as K, Fragment as $, renderList as G, onUpdated as Na, resolveDynamicComponent as Da, normalizeStyle as J, useId as Rt, onMounted as we, onUnmounted as ct, computed as Y, Teleport as yf, toRef as ja, vModelRadio as Rn, reactive as Yn, getCurrentInstance as Ea, toRaw as qn, onBeforeUnmount as Ta, provide as Yt, readonly as Va, vShow as Lf, resolveComponent as Sf, withModifiers as Qe, h as yn, defineAsyncComponent as xa, createApp as Sa } from "vue";
2
2
  const Ca = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", za = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", Re = (e, f) => {
3
3
  for (const t in f)
4
4
  e[t] = f[t];
@@ -144,7 +144,7 @@ se.prototype = {
144
144
  return a.j[e] = A, A;
145
145
  }
146
146
  };
147
- const O = (e, f, t, n, a) => e.ta(f, t, n, a), F = (e, f, t, n, a) => e.tr(f, t, n, a), Mn = (e, f, t, n, a) => e.ts(f, t, n, a), b = (e, f, t, n, a) => e.tt(f, t, n, a), Ie = "WORD", Ct = "UWORD", Hn = "ASCIINUMERICAL", Fn = "ALPHANUMERICAL", df = "LOCALHOST", zt = "TLD", Ot = "UTLD", Cf = "SCHEME", Be = "SLASH_SCHEME", qt = "NUM", Lt = "WS", $t = "NL", af = "OPENBRACE", sf = "CLOSEBRACE", Uf = "OPENBRACKET", Bf = "CLOSEBRACKET", Qf = "OPENPAREN", Rf = "CLOSEPAREN", Yf = "OPENANGLEBRACKET", qf = "CLOSEANGLEBRACKET", $f = "FULLWIDTHLEFTPAREN", Hf = "FULLWIDTHRIGHTPAREN", Ff = "LEFTCORNERBRACKET", Pf = "RIGHTCORNERBRACKET", Wf = "LEFTWHITECORNERBRACKET", Kf = "RIGHTWHITECORNERBRACKET", Jf = "FULLWIDTHLESSTHAN", Gf = "FULLWIDTHGREATERTHAN", Zf = "AMPERSAND", Ht = "APOSTROPHE", Xf = "ASTERISK", De = "AT", et = "BACKSLASH", ft = "BACKTICK", tt = "CARET", je = "COLON", Ft = "COMMA", nt = "DOLLAR", me = "DOT", at = "EQUALS", Pt = "EXCLAMATION", oe = "HYPHEN", Af = "PERCENT", st = "PIPE", At = "PLUS", it = "POUND", of = "QUERY", Wt = "QUOTE", Pn = "FULLWIDTHMIDDLEDOT", Kt = "SEMI", pe = "SLASH", lf = "TILDE", ot = "UNDERSCORE", Wn = "EMOJI", lt = "SYM";
147
+ const O = (e, f, t, n, a) => e.ta(f, t, n, a), F = (e, f, t, n, a) => e.tr(f, t, n, a), Mn = (e, f, t, n, a) => e.ts(f, t, n, a), _ = (e, f, t, n, a) => e.tt(f, t, n, a), Ie = "WORD", Ct = "UWORD", Hn = "ASCIINUMERICAL", Fn = "ALPHANUMERICAL", df = "LOCALHOST", zt = "TLD", Ot = "UTLD", Cf = "SCHEME", Be = "SLASH_SCHEME", qt = "NUM", Lt = "WS", $t = "NL", af = "OPENBRACE", sf = "CLOSEBRACE", Uf = "OPENBRACKET", Bf = "CLOSEBRACKET", Qf = "OPENPAREN", Rf = "CLOSEPAREN", Yf = "OPENANGLEBRACKET", qf = "CLOSEANGLEBRACKET", $f = "FULLWIDTHLEFTPAREN", Hf = "FULLWIDTHRIGHTPAREN", Ff = "LEFTCORNERBRACKET", Pf = "RIGHTCORNERBRACKET", Wf = "LEFTWHITECORNERBRACKET", Kf = "RIGHTWHITECORNERBRACKET", Jf = "FULLWIDTHLESSTHAN", Gf = "FULLWIDTHGREATERTHAN", Zf = "AMPERSAND", Ht = "APOSTROPHE", Xf = "ASTERISK", De = "AT", et = "BACKSLASH", ft = "BACKTICK", tt = "CARET", je = "COLON", Ft = "COMMA", nt = "DOLLAR", me = "DOT", at = "EQUALS", Pt = "EXCLAMATION", oe = "HYPHEN", Af = "PERCENT", st = "PIPE", At = "PLUS", it = "POUND", of = "QUERY", Wt = "QUOTE", Pn = "FULLWIDTHMIDDLEDOT", Kt = "SEMI", pe = "SLASH", lf = "TILDE", ot = "UNDERSCORE", Wn = "EMOJI", lt = "SYM";
148
148
  var Kn = /* @__PURE__ */ Object.freeze({
149
149
  __proto__: null,
150
150
  WORD: Ie,
@@ -210,7 +210,7 @@ function Ya(e = []) {
210
210
  const f = {};
211
211
  se.groups = f;
212
212
  const t = new se();
213
- jf == null && (jf = bn(Ca)), Ef == null && (Ef = bn(za)), b(t, "'", Ht), b(t, "{", af), b(t, "}", sf), b(t, "[", Uf), b(t, "]", Bf), b(t, "(", Qf), b(t, ")", Rf), b(t, "<", Yf), b(t, ">", qf), b(t, "(", $f), b(t, ")", Hf), b(t, "「", Ff), b(t, "」", Pf), b(t, "『", Wf), b(t, "』", Kf), b(t, "<", Jf), b(t, ">", Gf), b(t, "&", Zf), b(t, "*", Xf), b(t, "@", De), b(t, "`", ft), b(t, "^", tt), b(t, ":", je), b(t, ",", Ft), b(t, "$", nt), b(t, ".", me), b(t, "=", at), b(t, "!", Pt), b(t, "-", oe), b(t, "%", Af), b(t, "|", st), b(t, "+", At), b(t, "#", it), b(t, "?", of), b(t, '"', Wt), b(t, "/", pe), b(t, ";", Kt), b(t, "~", lf), b(t, "_", ot), b(t, "\\", et), b(t, "・", Pn);
213
+ jf == null && (jf = bn(Ca)), Ef == null && (Ef = bn(za)), _(t, "'", Ht), _(t, "{", af), _(t, "}", sf), _(t, "[", Uf), _(t, "]", Bf), _(t, "(", Qf), _(t, ")", Rf), _(t, "<", Yf), _(t, ">", qf), _(t, "(", $f), _(t, ")", Hf), _(t, "「", Ff), _(t, "」", Pf), _(t, "『", Wf), _(t, "』", Kf), _(t, "<", Jf), _(t, ">", Gf), _(t, "&", Zf), _(t, "*", Xf), _(t, "@", De), _(t, "`", ft), _(t, "^", tt), _(t, ":", je), _(t, ",", Ft), _(t, "$", nt), _(t, ".", me), _(t, "=", at), _(t, "!", Pt), _(t, "-", oe), _(t, "%", Af), _(t, "|", st), _(t, "+", At), _(t, "#", it), _(t, "?", of), _(t, '"', Wt), _(t, "/", pe), _(t, ";", Kt), _(t, "~", lf), _(t, "_", ot), _(t, "\\", et), _(t, "・", Pn);
214
214
  const n = F(t, be, qt, {
215
215
  [Tt]: !0
216
216
  });
@@ -227,20 +227,20 @@ function Ya(e = []) {
227
227
  [xt]: !0
228
228
  });
229
229
  F(i, ve), F(i, be, s), F(i, Xe, i), F(s, be, s), F(s, ve), F(s, Xe, s);
230
- const l = b(t, It, $t, {
230
+ const l = _(t, It, $t, {
231
231
  [vt]: !0
232
- }), u = b(t, vn, Lt, {
232
+ }), u = _(t, vn, Lt, {
233
233
  [vt]: !0
234
234
  }), g = F(t, _t, Lt, {
235
235
  [vt]: !0
236
236
  });
237
- b(t, wt, g), b(u, It, l), b(u, wt, g), F(u, _t, g), b(g, vn), b(g, It), F(g, _t, g), b(g, wt, g);
237
+ _(t, wt, g), _(u, It, l), _(u, wt, g), F(u, _t, g), _(g, vn), _(g, It), F(g, _t, g), _(g, wt, g);
238
238
  const d = F(t, bt, Wn, {
239
239
  [$n]: !0
240
240
  });
241
- b(d, "#"), F(d, bt, d), b(d, Qa, d);
242
- const p = b(d, Ra);
243
- b(p, "#"), F(p, bt, d);
241
+ _(d, "#"), F(d, bt, d), _(d, Qa, d);
242
+ const p = _(d, Ra);
243
+ _(p, "#"), F(p, bt, d);
244
244
  const m = [[ve, A], [be, a]], h = [[ve, null], [Xe, i], [be, s]];
245
245
  for (let M = 0; M < jf.length; M++)
246
246
  Ne(t, jf[M], zt, Ie, m);
@@ -566,34 +566,34 @@ const In = dt("email", {
566
566
  function Ha({
567
567
  groups: e
568
568
  }) {
569
- const f = e.domain.concat([Zf, Xf, De, et, ft, tt, nt, at, oe, qt, Af, st, At, it, pe, lt, lf, ot]), t = [je, Ft, me, Pt, Af, of, Wt, Kt, Yf, qf, af, sf, Bf, Uf, Qf, Rf, $f, Hf, Ff, Pf, Wf, Kf, Jf, Gf], n = [Zf, Ht, Xf, et, ft, tt, nt, at, oe, af, sf, Af, st, At, it, of, pe, lt, lf, ot], a = ie(), s = b(a, lf);
569
+ const f = e.domain.concat([Zf, Xf, De, et, ft, tt, nt, at, oe, qt, Af, st, At, it, pe, lt, lf, ot]), t = [je, Ft, me, Pt, Af, of, Wt, Kt, Yf, qf, af, sf, Bf, Uf, Qf, Rf, $f, Hf, Ff, Pf, Wf, Kf, Jf, Gf], n = [Zf, Ht, Xf, et, ft, tt, nt, at, oe, af, sf, Af, st, At, it, of, pe, lt, lf, ot], a = ie(), s = _(a, lf);
570
570
  O(s, n, s), O(s, e.domain, s);
571
571
  const A = ie(), i = ie(), l = ie();
572
572
  O(a, e.domain, A), O(a, e.scheme, i), O(a, e.slashscheme, l), O(A, n, s), O(A, e.domain, A);
573
- const u = b(A, De);
574
- b(s, De, u), b(i, De, u), b(l, De, u);
575
- const g = b(s, me);
573
+ const u = _(A, De);
574
+ _(s, De, u), _(i, De, u), _(l, De, u);
575
+ const g = _(s, me);
576
576
  O(g, n, s), O(g, e.domain, s);
577
577
  const d = ie();
578
578
  O(u, e.domain, d), O(d, e.domain, d);
579
- const p = b(d, me);
579
+ const p = _(d, me);
580
580
  O(p, e.domain, d);
581
581
  const m = ie(In);
582
- O(p, e.tld, m), O(p, e.utld, m), b(u, df, m);
583
- const h = b(d, oe);
584
- b(h, oe, h), O(h, e.domain, d), O(m, e.domain, d), b(m, me, p), b(m, oe, h);
585
- const M = b(m, je);
582
+ O(p, e.tld, m), O(p, e.utld, m), _(u, df, m);
583
+ const h = _(d, oe);
584
+ _(h, oe, h), O(h, e.domain, d), O(m, e.domain, d), _(m, me, p), _(m, oe, h);
585
+ const M = _(m, je);
586
586
  O(M, e.numeric, In);
587
- const y = b(A, oe), _ = b(A, me);
588
- b(y, oe, y), O(y, e.domain, A), O(_, n, s), O(_, e.domain, A);
587
+ const y = _(A, oe), v = _(A, me);
588
+ _(y, oe, y), O(y, e.domain, A), O(v, n, s), O(v, e.domain, A);
589
589
  const k = ie(Tf);
590
- O(_, e.tld, k), O(_, e.utld, k), O(k, e.domain, A), O(k, n, s), b(k, me, _), b(k, oe, y), b(k, De, u);
591
- const C = b(k, je), w = ie(Tf);
592
- O(C, e.numeric, w);
590
+ O(v, e.tld, k), O(v, e.utld, k), O(k, e.domain, A), O(k, n, s), _(k, me, v), _(k, oe, y), _(k, De, u);
591
+ const S = _(k, je), w = ie(Tf);
592
+ O(S, e.numeric, w);
593
593
  const j = ie(Tf), B = ie();
594
- O(j, f, j), O(j, t, B), O(B, f, j), O(B, t, B), b(k, pe, j), b(w, pe, j);
595
- const E = b(i, je), x = b(l, je), T = b(x, pe), U = b(T, pe);
596
- O(i, e.domain, A), b(i, me, _), b(i, oe, y), O(l, e.domain, A), b(l, me, _), b(l, oe, y), O(E, e.domain, j), b(E, pe, j), b(E, of, j), O(U, e.domain, j), O(U, f, j), b(U, pe, j);
594
+ O(j, f, j), O(j, t, B), O(B, f, j), O(B, t, B), _(k, pe, j), _(w, pe, j);
595
+ const E = _(i, je), x = _(l, je), T = _(x, pe), U = _(T, pe);
596
+ O(i, e.domain, A), _(i, me, v), _(i, oe, y), O(l, e.domain, A), _(l, me, v), _(l, oe, y), O(E, e.domain, j), _(E, pe, j), _(E, of, j), O(U, e.domain, j), O(U, f, j), _(U, pe, j);
597
597
  const N = [
598
598
  [af, sf],
599
599
  // {}
@@ -613,14 +613,14 @@ function Ha({
613
613
  // <>
614
614
  ];
615
615
  for (let V = 0; V < N.length; V++) {
616
- const [z, H] = N[V], X = b(j, z);
617
- b(B, z, X), b(X, H, j);
616
+ const [z, H] = N[V], X = _(j, z);
617
+ _(B, z, X), _(X, H, j);
618
618
  const q = ie(Tf);
619
619
  O(X, f, q);
620
620
  const ee = ie();
621
- O(X, t), O(q, f, q), O(q, t, ee), O(ee, f, q), O(ee, t, ee), b(q, H, j), b(ee, H, j);
621
+ O(X, t), O(q, f, q), O(q, t, ee), O(ee, f, q), O(ee, t, ee), _(q, H, j), _(ee, H, j);
622
622
  }
623
- return b(a, df, k), b(a, $t, $a), {
623
+ return _(a, df, k), _(a, $t, $a), {
624
624
  start: a,
625
625
  tokens: Kn
626
626
  };
@@ -746,14 +746,14 @@ const Q = (e, f) => {
746
746
  ]),
747
747
  o("div", fs, [
748
748
  o("h2", ts, D(e.chat.name), 1),
749
- e.chat["lastActivity.time"] ? (r(), c("p", ns, D(e.chat["lastActivity.time"]), 1)) : v("", !0)
749
+ e.chat["lastActivity.time"] ? (r(), c("p", ns, D(e.chat["lastActivity.time"]), 1)) : b("", !0)
750
750
  ]),
751
751
  o("div", as, [
752
752
  te(n.$slots, "actions", {}, void 0, !0)
753
753
  ])
754
- ])) : v("", !0);
754
+ ])) : b("", !0);
755
755
  }
756
- }, nc = /* @__PURE__ */ Q(ss, [["__scopeId", "data-v-26bb16be"]]), _e = I([]), Mf = (e) => {
756
+ }, tc = /* @__PURE__ */ Q(ss, [["__scopeId", "data-v-26bb16be"]]), _e = I([]), Mf = (e) => {
757
757
  const f = I(0);
758
758
  let t = _e.value.find(({ id: l }) => l == e);
759
759
  t != null ? f.value = _e.value.indexOf(t) : (_e.value.push({
@@ -868,23 +868,23 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
868
868
  return (d, p) => (r(), c("div", rs, [
869
869
  o("div", us, [
870
870
  o("div", {
871
- id: "chat-input-first-line-" + S(n),
871
+ id: "chat-input-first-line-" + C(n),
872
872
  class: "chat-input__first-line"
873
873
  }, null, 8, cs),
874
874
  o("div", ds, [
875
875
  ce(o("textarea", {
876
876
  ref_key: "refInput",
877
877
  ref: i,
878
- "onUpdate:modelValue": p[0] || (p[0] = (m) => S(s)().text = m),
878
+ "onUpdate:modelValue": p[0] || (p[0] = (m) => C(s)().text = m),
879
879
  class: "chat-input__input",
880
- placeholder: S(Oe)("component.ChatInput.InputPlaceholder"),
880
+ placeholder: C(Oe)("component.ChatInput.InputPlaceholder"),
881
881
  onKeydown: ka(u, ["enter"]),
882
882
  onInput: l
883
883
  }, null, 40, gs), [
884
- [cf, S(s)().text]
884
+ [cf, C(s)().text]
885
885
  ]),
886
886
  o("button", {
887
- class: L(["chat-input__button-send", { "chat-input__button-send-disabled": S(s)().text == "" && !S(s)().file }]),
887
+ class: L(["chat-input__button-send", { "chat-input__button-send-disabled": C(s)().text == "" && !C(s)().file }]),
888
888
  onClick: g
889
889
  }, p[1] || (p[1] = [
890
890
  o("span", { class: "pi pi-send" }, null, -1)
@@ -896,7 +896,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
896
896
  ])
897
897
  ]));
898
898
  }
899
- }), ac = /* @__PURE__ */ Q(ps, [["__scopeId", "data-v-51a488f2"]]), hs = { class: "chat-list" }, ys = { class: "chat-list__title" }, Ms = {
899
+ }), nc = /* @__PURE__ */ Q(ps, [["__scopeId", "data-v-51a488f2"]]), hs = { class: "chat-list" }, ys = { class: "chat-list__title" }, Ms = {
900
900
  key: 0,
901
901
  class: "pi pi-minus"
902
902
  }, vs = {
@@ -943,34 +943,34 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
943
943
  class: "chat-list__title-container",
944
944
  onMouseleave: a
945
945
  }, [
946
- o("h2", ys, D(S(Oe)("component.ChatList.Title")), 1),
946
+ o("h2", ys, D(C(Oe)("component.ChatList.Title")), 1),
947
947
  e.actions.length ? (r(), c("button", {
948
948
  key: 0,
949
949
  class: "chat-list__button-actions",
950
950
  onClick: p[0] || (p[0] = (m) => n.value = !n.value)
951
951
  }, [
952
952
  n.value ? (r(), c("span", Ms)) : (r(), c("span", vs))
953
- ])) : v("", !0),
953
+ ])) : b("", !0),
954
954
  R(P, null, {
955
955
  default: W(() => [
956
- n.value && e.actions ? (r(), K(S(Ve), {
956
+ n.value && e.actions ? (r(), K(C(Ve), {
957
957
  key: 0,
958
958
  actions: e.actions,
959
959
  class: "chat-list__context-menu",
960
960
  onClick: g
961
- }, null, 8, ["actions"])) : v("", !0)
961
+ }, null, 8, ["actions"])) : b("", !0)
962
962
  ]),
963
963
  _: 1
964
964
  })
965
965
  ], 32),
966
- e.filterEnabled ? (r(), K(S(FA), {
966
+ e.filterEnabled ? (r(), K(C(FA), {
967
967
  key: 0,
968
968
  class: "chat-list__filter",
969
969
  onUpdate: u
970
- })) : v("", !0),
970
+ })) : b("", !0),
971
971
  o("div", bs, [
972
972
  o("div", _s, [
973
- (r(!0), c($, null, G(l().filter((m) => m.isFixedTop), (m) => (r(), K(S(Nt), {
973
+ (r(!0), c($, null, G(l().filter((m) => m.isFixedTop), (m) => (r(), K(C(Nt), {
974
974
  key: m.chatId,
975
975
  class: "chat-list__item",
976
976
  chat: m,
@@ -979,7 +979,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
979
979
  }, null, 8, ["chat"]))), 128))
980
980
  ]),
981
981
  o("div", Is, [
982
- (r(!0), c($, null, G(l().filter((m) => !m.isFixedBottom && !m.isFixedTop), (m) => (r(), K(S(Nt), {
982
+ (r(!0), c($, null, G(l().filter((m) => !m.isFixedBottom && !m.isFixedTop), (m) => (r(), K(C(Nt), {
983
983
  key: m.chatId,
984
984
  class: "chat-list__item",
985
985
  chat: m,
@@ -988,7 +988,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
988
988
  }, null, 8, ["chat"]))), 128))
989
989
  ]),
990
990
  o("div", ws, [
991
- (r(!0), c($, null, G(l().filter((m) => m.isFixedBottom), (m) => (r(), K(S(Nt), {
991
+ (r(!0), c($, null, G(l().filter((m) => m.isFixedBottom), (m) => (r(), K(C(Nt), {
992
992
  key: m.chatId,
993
993
  class: "chat-list__item",
994
994
  chat: m,
@@ -999,7 +999,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
999
999
  ])
1000
1000
  ]));
1001
1001
  }
1002
- }, sc = /* @__PURE__ */ Q(ks, [["__scopeId", "data-v-ba9fb868"]]), Ns = ["id"], Ds = { class: "message-feed__container" }, js = {
1002
+ }, ac = /* @__PURE__ */ Q(ks, [["__scopeId", "data-v-ba9fb868"]]), Ns = ["id"], Ds = { class: "message-feed__container" }, js = {
1003
1003
  key: 0,
1004
1004
  class: "message-feed__unread-amount"
1005
1005
  }, Es = /* @__PURE__ */ Z({
@@ -1027,29 +1027,29 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
1027
1027
  },
1028
1028
  emits: ["messageAction", "loadMore", "messageVisible"],
1029
1029
  setup(e, { emit: f }) {
1030
- const t = I(), n = I(), a = I(!1), s = e, A = de("chatAppId"), i = f, l = () => {
1031
- const y = S(n);
1032
- y.scrollHeight - y.scrollTop - y.clientHeight < 100 ? a.value = !1 : a.value = !0, y.scrollTop === 0 && i("loadMore");
1030
+ const t = I(), n = I(), a = I(!1), s = e, A = de("chatAppId"), i = f, l = (y = !0) => {
1031
+ const v = C(n);
1032
+ v.scrollHeight - v.scrollTop - v.clientHeight < 100 ? a.value = !1 : a.value = !0, v.scrollTop === 0 && y && i("loadMore");
1033
1033
  }, u = (y) => ({
1034
- "message.text": pr,
1034
+ "message.text": mr,
1035
1035
  "message.image": Ar,
1036
1036
  "message.file": $1,
1037
- "message.audio": Sr,
1038
- "message.video": eu,
1039
- "message.call": pu,
1040
- "message.system": bu,
1041
- "system.date": Ur,
1037
+ "message.audio": xr,
1038
+ "message.video": Xr,
1039
+ "message.call": mu,
1040
+ "message.system": vu,
1041
+ "system.date": Lr,
1042
1042
  "message.typing": Qn
1043
1043
  })[y];
1044
1044
  function g() {
1045
1045
  s.isScrollToBottomOnUpdateObjectsEnabled && tf(function() {
1046
- const y = S(n);
1046
+ const y = C(n);
1047
1047
  y.scrollTop = y.scrollHeight;
1048
1048
  });
1049
1049
  }
1050
1050
  function d() {
1051
1051
  tf(function() {
1052
- const y = S(n);
1052
+ const y = C(n);
1053
1053
  y.scrollTop = y.scrollHeight;
1054
1054
  });
1055
1055
  }
@@ -1057,8 +1057,8 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
1057
1057
  const p = (y) => {
1058
1058
  i("messageAction", y);
1059
1059
  }, m = (y) => {
1060
- y.forEach((_) => {
1061
- _.isIntersecting && i("messageVisible", JSON.parse(_.target.id));
1060
+ y.forEach((v) => {
1061
+ v.isIntersecting && i("messageVisible", JSON.parse(v.target.id));
1062
1062
  });
1063
1063
  }, h = {
1064
1064
  root: document.getElementById("feed-container-" + A),
@@ -1069,16 +1069,16 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
1069
1069
  () => s.objects,
1070
1070
  () => {
1071
1071
  tf(() => {
1072
- t.value = document.querySelectorAll(".message-feed__message"), t.value.forEach((y) => M.observe(y));
1072
+ l(!1), t.value = document.querySelectorAll(".message-feed__message"), t.value.forEach((y) => M.observe(y));
1073
1073
  });
1074
1074
  },
1075
1075
  { immediate: !0 }
1076
- ), (y, _) => (r(), c("div", {
1076
+ ), (y, v) => (r(), c("div", {
1077
1077
  ref_key: "refFeed",
1078
1078
  ref: n,
1079
1079
  class: "message-feed",
1080
- onScroll: l,
1081
- id: "feed-container-" + S(A)
1080
+ onScroll: v[0] || (v[0] = (k) => l()),
1081
+ id: "feed-container-" + C(A)
1082
1082
  }, [
1083
1083
  o("div", Ds, [
1084
1084
  (r(!0), c($, null, G(e.objects, (k) => (r(), K(Da(u(k.type)), {
@@ -1089,13 +1089,13 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
1089
1089
  onAction: p
1090
1090
  }, null, 40, ["id", "message"]))), 128))
1091
1091
  ]),
1092
- e.typing ? (r(), K(S(Qn), {
1092
+ e.typing ? (r(), K(C(Qn), {
1093
1093
  key: 0,
1094
1094
  message: {
1095
1095
  subText: e.typing.title,
1096
1096
  avatar: e.typing.avatar
1097
1097
  }
1098
- }, null, 8, ["message"])) : v("", !0),
1098
+ }, null, 8, ["message"])) : b("", !0),
1099
1099
  R(P, null, {
1100
1100
  default: W(() => [
1101
1101
  a.value ? (r(), c("button", {
@@ -1103,15 +1103,15 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
1103
1103
  class: "message-feed__button-down",
1104
1104
  onClick: d
1105
1105
  }, [
1106
- e.buttonParams ? (r(), c("div", js, D(e.buttonParams.unreadAmount), 1)) : v("", !0),
1107
- _[0] || (_[0] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
1108
- ])) : v("", !0)
1106
+ e.buttonParams ? (r(), c("div", js, D(e.buttonParams.unreadAmount), 1)) : b("", !0),
1107
+ v[1] || (v[1] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
1108
+ ])) : b("", !0)
1109
1109
  ]),
1110
1110
  _: 1
1111
1111
  })
1112
1112
  ], 40, Ns));
1113
1113
  }
1114
- }), Ac = /* @__PURE__ */ Q(Es, [["__scopeId", "data-v-63895f83"]]), Ts = { class: "profile" }, Vs = {
1114
+ }), sc = /* @__PURE__ */ Q(Es, [["__scopeId", "data-v-6729c8ab"]]), Ts = { class: "profile" }, Vs = {
1115
1115
  key: 0,
1116
1116
  class: "profile__container"
1117
1117
  }, xs = {
@@ -1138,14 +1138,14 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
1138
1138
  height: "48",
1139
1139
  width: "48"
1140
1140
  }, null, 8, Ss)
1141
- ])) : v("", !0),
1141
+ ])) : b("", !0),
1142
1142
  o("h2", Cs, D(e.user.name), 1),
1143
1143
  o("p", zs, D(e.user.email), 1),
1144
1144
  o("p", Os, D(e.user.phone), 1)
1145
- ])) : v("", !0)
1145
+ ])) : b("", !0)
1146
1146
  ]));
1147
1147
  }
1148
- }, ic = /* @__PURE__ */ Q(Ls, [["__scopeId", "data-v-04a5ab7d"]]), Us = ["id"], Bs = {
1148
+ }, Ac = /* @__PURE__ */ Q(Ls, [["__scopeId", "data-v-04a5ab7d"]]), Us = ["id"], Bs = {
1149
1149
  __name: "ButtonContextMenu",
1150
1150
  props: {
1151
1151
  actions: {
@@ -1216,7 +1216,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
1216
1216
  }), ct(() => {
1217
1217
  document.removeEventListener("click", d);
1218
1218
  }), (p, m) => (r(), c("div", {
1219
- id: "container-" + S(n),
1219
+ id: "container-" + C(n),
1220
1220
  ref_key: "actionScope",
1221
1221
  ref: A,
1222
1222
  style: { position: "relative", width: "fit-content" }
@@ -1233,8 +1233,8 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
1233
1233
  class: L(e.buttonClass)
1234
1234
  }, D(e.buttonTitle), 3)
1235
1235
  ], 34),
1236
- R(S(Ve), {
1237
- id: "context-menu-" + S(n),
1236
+ R(C(Ve), {
1237
+ id: "context-menu-" + C(n),
1238
1238
  ref_key: "contextMenu",
1239
1239
  ref: s,
1240
1240
  actions: e.actions,
@@ -1245,12 +1245,12 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
1245
1245
  ], 8, Us));
1246
1246
  }
1247
1247
  }, fa = /* @__PURE__ */ Q(Bs, [["__scopeId", "data-v-a6a945c1"]]);
1248
- function oc(e) {
1248
+ function ic(e) {
1249
1249
  if (!e || e === "") return;
1250
1250
  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), A = Math.floor(s / 24);
1251
1251
  return A > 30 ? new Date(f).toLocaleDateString("ru-RU") : A > 0 ? `${A} ${A === 1 ? "день" : "дня"} назад` : s > 0 ? `${s} ${s === 1 ? "час" : "часа"} назад` : a > 0 ? `${a} ${a === 1 ? "минута" : "минуты"} назад` : n > 0 ? `${n} ${n === 1 ? "секунда" : "секунды"} назад` : "Только что";
1252
1252
  }
1253
- const lc = (e) => {
1253
+ const oc = (e) => {
1254
1254
  const f = [];
1255
1255
  let t = null;
1256
1256
  for (let n = 0; n < e.length; n++) {
@@ -1264,7 +1264,7 @@ const lc = (e) => {
1264
1264
  }), t = s), f.push(a);
1265
1265
  }
1266
1266
  return f;
1267
- }, rc = async () => {
1267
+ }, lc = async () => {
1268
1268
  try {
1269
1269
  if (await navigator.mediaDevices.getUserMedia({ audio: !0 })) {
1270
1270
  const f = new Audio();
@@ -1273,7 +1273,7 @@ const lc = (e) => {
1273
1273
  } catch {
1274
1274
  console.log("no audio permissions");
1275
1275
  }
1276
- }, uc = (e) => e.sort((f, t) => Number(f.timestamp) < Number(t.timestamp) ? -1 : Number(f.timestamp) > Number(t.timestamp) ? 1 : 0), Nn = (e) => {
1276
+ }, rc = (e) => e.sort((f, t) => Number(f.timestamp) < Number(t.timestamp) ? -1 : Number(f.timestamp) > Number(t.timestamp) ? 1 : 0), Nn = (e) => {
1277
1277
  let f = "file";
1278
1278
  return e.startsWith("image/") ? f = "image" : e.startsWith("video/") ? f = "video" : e.startsWith("audio/") && (f = "audio"), f;
1279
1279
  }, Ke = ["read", "received", "sent"], Je = (e) => {
@@ -1391,11 +1391,11 @@ const lc = (e) => {
1391
1391
  title: "Файл",
1392
1392
  prime: "file"
1393
1393
  }
1394
- ], y = Y(() => !h().file), _ = () => {
1394
+ ], y = Y(() => !h().file), v = () => {
1395
1395
  n.value = null, m(), s.value = "", a.value = "";
1396
1396
  }, k = (E) => {
1397
- _(), console.log("onFileSelected", E.target.files[0]), n.value = E.target.files[0], n.value && (C(), w());
1398
- }, C = () => {
1397
+ v(), console.log("onFileSelected", E.target.files[0]), n.value = E.target.files[0], n.value && (S(), w());
1398
+ }, S = () => {
1399
1399
  const E = n.value, x = Nn(E.type);
1400
1400
  if (A.value = !1, i.value = !1, l.value = !1, x === "image" ? A.value = !0 : x === "video" ? i.value = !0 : x === "audio" && (l.value = !0), A.value || i.value) {
1401
1401
  const V = new FileReader();
@@ -1460,23 +1460,23 @@ const lc = (e) => {
1460
1460
  onChange: k
1461
1461
  }, null, 544)
1462
1462
  ]),
1463
- S(h)().file ? (r(), K(yf, {
1463
+ C(h)().file ? (r(), K(yf, {
1464
1464
  key: 0,
1465
- to: "#chat-input-first-line-" + S(d)
1465
+ to: "#chat-input-first-line-" + C(d)
1466
1466
  }, [
1467
1467
  R(Xs, {
1468
1468
  "preview-url": s.value,
1469
1469
  "is-image": A.value,
1470
1470
  "is-video": i.value,
1471
1471
  "is-audio": l.value,
1472
- "file-name": S(h)().file.name,
1472
+ "file-name": C(h)().file.name,
1473
1473
  "file-size": g.value,
1474
- onReset: _
1474
+ onReset: v
1475
1475
  }, null, 8, ["preview-url", "is-image", "is-video", "is-audio", "file-name", "file-size"])
1476
- ], 8, ["to"])) : v("", !0)
1476
+ ], 8, ["to"])) : b("", !0)
1477
1477
  ], 64));
1478
1478
  }
1479
- }, cc = /* @__PURE__ */ Q(nA, [["__scopeId", "data-v-1cdabe09"]]), aA = { key: 0 }, sA = ["value", "selected"], AA = {
1479
+ }, uc = /* @__PURE__ */ Q(nA, [["__scopeId", "data-v-1cdabe09"]]), aA = { key: 0 }, sA = ["value", "selected"], AA = {
1480
1480
  __name: "ThemeMode",
1481
1481
  props: {
1482
1482
  themes: {
@@ -1508,9 +1508,9 @@ const lc = (e) => {
1508
1508
  selected: l.default === !0
1509
1509
  }, D(l.name), 9, sA))), 128))
1510
1510
  ], 32)
1511
- ])) : v("", !0);
1511
+ ])) : b("", !0);
1512
1512
  }
1513
- }, dc = /* @__PURE__ */ Q(AA, [["__scopeId", "data-v-a950b8eb"]]), iA = { class: "sidebar" }, oA = { class: "sidebar__container" }, lA = { class: "sidebar__list" }, rA = ["onClick"], uA = ["src", "alt"], cA = { key: 1 }, dA = { class: "sidebar__list-fixed" }, gA = ["onClick"], mA = ["src", "alt"], pA = { key: 1 }, hA = {
1513
+ }, cc = /* @__PURE__ */ Q(AA, [["__scopeId", "data-v-a950b8eb"]]), iA = { class: "sidebar" }, oA = { class: "sidebar__container" }, lA = { class: "sidebar__list" }, rA = ["onClick"], uA = ["src", "alt"], cA = { key: 1 }, dA = { class: "sidebar__list-fixed" }, gA = ["onClick"], mA = ["src", "alt"], pA = { key: 1 }, hA = {
1514
1514
  __name: "SideBar",
1515
1515
  props: {
1516
1516
  sidebarItems: {
@@ -1544,8 +1544,8 @@ const lc = (e) => {
1544
1544
  u.notificationCount ? (r(), c("span", {
1545
1545
  key: 0,
1546
1546
  style: J({ backgroundColor: u.notificationColor ? u.notificationColor : "red" })
1547
- }, D(u.notificationCount > 99 ? "99+" : u.notificationCount), 5)) : v("", !0),
1548
- u.name ? (r(), c("p", cA, D(A(u.name)), 1)) : v("", !0)
1547
+ }, D(u.notificationCount > 99 ? "99+" : u.notificationCount), 5)) : b("", !0),
1548
+ u.name ? (r(), c("p", cA, D(A(u.name)), 1)) : b("", !0)
1549
1549
  ], 8, rA))), 128))
1550
1550
  ]),
1551
1551
  o("ul", dA, [
@@ -1562,14 +1562,14 @@ const lc = (e) => {
1562
1562
  u.notificationCount ? (r(), c("span", {
1563
1563
  key: 0,
1564
1564
  style: J({ backgroundColor: u.notificationColor ? u.notificationColor : "red" })
1565
- }, D(u.notificationCount > 99 ? "99+" : u.notificationCount), 5)) : v("", !0),
1566
- u.name ? (r(), c("p", pA, D(A(u.name)), 1)) : v("", !0)
1565
+ }, D(u.notificationCount > 99 ? "99+" : u.notificationCount), 5)) : b("", !0),
1566
+ u.name ? (r(), c("p", pA, D(A(u.name)), 1)) : b("", !0)
1567
1567
  ], 8, gA))), 128))
1568
1568
  ])
1569
1569
  ])
1570
1570
  ]));
1571
1571
  }
1572
- }, gc = /* @__PURE__ */ Q(hA, [["__scopeId", "data-v-5e22516c"]]), yA = { class: "chat-panel" }, MA = { class: "chat-panel__title-container" }, vA = {
1572
+ }, dc = /* @__PURE__ */ Q(hA, [["__scopeId", "data-v-5e22516c"]]), yA = { class: "chat-panel" }, MA = { class: "chat-panel__title-container" }, vA = {
1573
1573
  key: 0,
1574
1574
  class: "chat-panel__title"
1575
1575
  }, bA = {
@@ -1585,7 +1585,7 @@ const lc = (e) => {
1585
1585
  setup(e, { emit: f }) {
1586
1586
  return (t, n) => (r(), c("div", yA, [
1587
1587
  o("div", MA, [
1588
- e.title ? (r(), c("p", vA, D(e.title), 1)) : v("", !0),
1588
+ e.title ? (r(), c("p", vA, D(e.title), 1)) : b("", !0),
1589
1589
  o("button", {
1590
1590
  class: "chat-panel__button-close",
1591
1591
  onClick: n[0] || (n[0] = (a) => t.$emit("close-panel"))
@@ -1598,7 +1598,7 @@ const lc = (e) => {
1598
1598
  ])
1599
1599
  ]));
1600
1600
  }
1601
- }, mc = /* @__PURE__ */ Q(bA, [["__scopeId", "data-v-1f6ac199"]]), _A = { class: "channels" }, IA = {
1601
+ }, gc = /* @__PURE__ */ Q(bA, [["__scopeId", "data-v-1f6ac199"]]), _A = { class: "channels" }, IA = {
1602
1602
  key: 0,
1603
1603
  class: "channels__selected"
1604
1604
  }, wA = {
@@ -1639,7 +1639,7 @@ const lc = (e) => {
1639
1639
  o("img", {
1640
1640
  src: s.value.icon
1641
1641
  }, null, 8, kA)
1642
- ])) : v("", !0),
1642
+ ])) : b("", !0),
1643
1643
  o("span", NA, D(s.value.title), 1)
1644
1644
  ])) : (r(), c("span", DA, "Канал не выбран")),
1645
1645
  R(fa, {
@@ -1653,7 +1653,7 @@ const lc = (e) => {
1653
1653
  ], 2)
1654
1654
  ]));
1655
1655
  }
1656
- }, pc = /* @__PURE__ */ Q(jA, [["__scopeId", "data-v-018ec6fe"]]), EA = { class: "chat-item__avatar-container" }, TA = ["src"], VA = {
1656
+ }, mc = /* @__PURE__ */ Q(jA, [["__scopeId", "data-v-018ec6fe"]]), EA = { class: "chat-item__avatar-container" }, TA = ["src"], VA = {
1657
1657
  key: 1,
1658
1658
  class: "pi pi-user"
1659
1659
  }, xA = { class: "chat-item__info-container" }, SA = { class: "chat-item__name" }, CA = {
@@ -1703,7 +1703,7 @@ const lc = (e) => {
1703
1703
  }, 1e3) : (m.value = 0, clearInterval(p));
1704
1704
  },
1705
1705
  { immediate: !0 }
1706
- ), (y, _) => (r(), c("div", {
1706
+ ), (y, v) => (r(), c("div", {
1707
1707
  class: L(s()),
1708
1708
  onClick: a
1709
1709
  }, [
@@ -1726,37 +1726,37 @@ const lc = (e) => {
1726
1726
  ]),
1727
1727
  o("div", xA, [
1728
1728
  o("div", SA, D(e.chat.name), 1),
1729
- e.chat.lastMessage || e.chat.typing ? (r(), c("div", CA, D(M.value), 1)) : v("", !0)
1729
+ e.chat.lastMessage || e.chat.typing ? (r(), c("div", CA, D(M.value), 1)) : b("", !0)
1730
1730
  ]),
1731
1731
  o("div", zA, [
1732
- e.chat["lastActivity.time"] && !l.value ? (r(), c("div", OA, D(e.chat["lastActivity.time"]), 1)) : v("", !0),
1733
- e.chat.countUnread > 0 ? (r(), c("div", LA, D(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) : v("", !0),
1732
+ e.chat["lastActivity.time"] && !l.value ? (r(), c("div", OA, D(e.chat["lastActivity.time"]), 1)) : b("", !0),
1733
+ e.chat.countUnread > 0 ? (r(), c("div", LA, D(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) : b("", !0),
1734
1734
  l.value && e.chat.actions ? (r(), c("button", {
1735
1735
  key: 2,
1736
1736
  class: "chat-item__menu-button",
1737
- onClick: _[0] || (_[0] = (k) => i.value = !i.value)
1738
- }, _[1] || (_[1] = [
1737
+ onClick: v[0] || (v[0] = (k) => i.value = !i.value)
1738
+ }, v[1] || (v[1] = [
1739
1739
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
1740
- ]))) : v("", !0),
1740
+ ]))) : b("", !0),
1741
1741
  e.chat.countUnread < 1 ? (r(), c("div", UA, [
1742
- S(Ke).includes(e.chat["lastMessage.status"]) ? (r(), c("div", {
1742
+ C(Ke).includes(e.chat["lastMessage.status"]) ? (r(), c("div", {
1743
1743
  key: 0,
1744
1744
  class: L(["chat-item__status-message", d.value])
1745
1745
  }, [
1746
- e.chat["lastMessage.status"] !== "sent" ? (r(), c("span", BA)) : v("", !0),
1747
- _[2] || (_[2] = o("span", { class: "pi pi-check" }, null, -1))
1748
- ], 2)) : v("", !0),
1749
- e.chat.isFixedTop || e.chat.isFixedBottom ? (r(), c("span", QA)) : v("", !0)
1750
- ])) : v("", !0)
1746
+ e.chat["lastMessage.status"] !== "sent" ? (r(), c("span", BA)) : b("", !0),
1747
+ v[2] || (v[2] = o("span", { class: "pi pi-check" }, null, -1))
1748
+ ], 2)) : b("", !0),
1749
+ e.chat.isFixedTop || e.chat.isFixedBottom ? (r(), c("span", QA)) : b("", !0)
1750
+ ])) : b("", !0)
1751
1751
  ]),
1752
1752
  R(P, { name: "menu" }, {
1753
1753
  default: W(() => [
1754
- i.value && e.chat.actions ? (r(), K(S(Ve), {
1754
+ i.value && e.chat.actions ? (r(), K(C(Ve), {
1755
1755
  key: 0,
1756
1756
  class: "chat-item__context-menu",
1757
1757
  actions: e.chat.actions,
1758
1758
  onClick: A
1759
- }, null, 8, ["actions"])) : v("", !0)
1759
+ }, null, 8, ["actions"])) : b("", !0)
1760
1760
  ]),
1761
1761
  _: 1
1762
1762
  })
@@ -1768,7 +1768,7 @@ const lc = (e) => {
1768
1768
  emits: ["update"],
1769
1769
  setup(e, { emit: f }) {
1770
1770
  const t = I(""), n = f, a = () => {
1771
- const s = S(t);
1771
+ const s = C(t);
1772
1772
  n("update", s.value);
1773
1773
  };
1774
1774
  return (s, A) => (r(), c("div", YA, [
@@ -1778,7 +1778,7 @@ const lc = (e) => {
1778
1778
  ref: t,
1779
1779
  class: "chat-filter__input",
1780
1780
  type: "text",
1781
- placeholder: S(Oe)("component.ChatFilter.InputPlaceholder"),
1781
+ placeholder: C(Oe)("component.ChatFilter.InputPlaceholder"),
1782
1782
  onInput: a
1783
1783
  }, null, 40, $A)
1784
1784
  ])
@@ -1831,8 +1831,8 @@ const lc = (e) => {
1831
1831
  })
1832
1832
  ]),
1833
1833
  o("ul", JA, [
1834
- (r(!0), c($, null, G(e.groupTemplates, (y, _) => (r(), c("li", {
1835
- key: _,
1834
+ (r(!0), c($, null, G(e.groupTemplates, (y, v) => (r(), c("li", {
1835
+ key: v,
1836
1836
  class: L(["template-selector__item-group", { "template-selector__item-selected": i.value === y }]),
1837
1837
  onClick: d
1838
1838
  }, [
@@ -1842,9 +1842,9 @@ const lc = (e) => {
1842
1842
  class: "template-selector__item-group-icon",
1843
1843
  src: y.iconUrl,
1844
1844
  alt: y.title
1845
- }, null, 8, ZA)) : v("", !0),
1845
+ }, null, 8, ZA)) : b("", !0),
1846
1846
  ce(o("input", {
1847
- id: _,
1847
+ id: v,
1848
1848
  "onUpdate:modelValue": M[1] || (M[1] = (k) => i.value = k),
1849
1849
  value: y,
1850
1850
  class: "template-selector__input-group",
@@ -1868,8 +1868,8 @@ const lc = (e) => {
1868
1868
  ]),
1869
1869
  o("div", fi, [
1870
1870
  m.value.length !== 0 ? (r(), c("ul", ti, [
1871
- (r(!0), c($, null, G(m.value, (y, _) => (r(), c("li", {
1872
- key: _,
1871
+ (r(!0), c($, null, G(m.value, (y, v) => (r(), c("li", {
1872
+ key: v,
1873
1873
  class: L(["template-selector__item-template", { "template-selector__item-selected": y.isSelected }]),
1874
1874
  onClick: (k) => g(y)
1875
1875
  }, [
@@ -1964,7 +1964,7 @@ const lc = (e) => {
1964
1964
  })
1965
1965
  ], 64));
1966
1966
  }
1967
- }, hc = /* @__PURE__ */ Q(mi, [["__scopeId", "data-v-8d6cf607"]]), pi = {
1967
+ }, pc = /* @__PURE__ */ Q(mi, [["__scopeId", "data-v-8d6cf607"]]), pi = {
1968
1968
  __name: "PlaceholderComponent",
1969
1969
  props: {
1970
1970
  index: {
@@ -2029,12 +2029,12 @@ const lc = (e) => {
2029
2029
  }, p = Y(() => i.value ? t.wabaTemplates.filter((N) => N.groupId === i.value.groupId) : t.wabaTemplates), m = Y(() => {
2030
2030
  const N = u.value.trim().toLowerCase();
2031
2031
  return p.value.filter((V) => V.title.toLowerCase().includes(N) || V.template.toLowerCase().includes(N));
2032
- }), h = Yn({}), M = I(!1), y = I(null), _ = I(null), k = I(""), C = (N) => {
2033
- _.value = N, k.value = h[N] || "", M.value = !0;
2032
+ }), h = Yn({}), M = I(!1), y = I(null), v = I(null), k = I(""), S = (N) => {
2033
+ v.value = N, k.value = h[N] || "", M.value = !0;
2034
2034
  }, w = () => {
2035
- M.value = !1, _.value = null, k.value = "";
2035
+ M.value = !1, v.value = null, k.value = "";
2036
2036
  }, j = () => {
2037
- B(_.value, k.value), w();
2037
+ B(v.value, k.value), w();
2038
2038
  }, B = (N, V) => {
2039
2039
  h[N] = V;
2040
2040
  }, E = Y(() => {
@@ -2085,7 +2085,7 @@ const lc = (e) => {
2085
2085
  class: "template-selector__item-group-icon",
2086
2086
  src: z.iconUrl,
2087
2087
  alt: z.title
2088
- }, null, 8, _i)) : v("", !0),
2088
+ }, null, 8, _i)) : b("", !0),
2089
2089
  ce(o("input", {
2090
2090
  id: H,
2091
2091
  "onUpdate:modelValue": V[0] || (V[0] = (X) => i.value = X),
@@ -2133,8 +2133,8 @@ const lc = (e) => {
2133
2133
  index: z.index,
2134
2134
  value: h[z.index] || "Заполнить",
2135
2135
  "is-filled": !!h[z.index],
2136
- onClick: (X) => C(z.index)
2137
- }, null, 8, ["index", "value", "is-filled", "onClick"])) : v("", !0)
2136
+ onClick: (X) => S(z.index)
2137
+ }, null, 8, ["index", "value", "is-filled", "onClick"])) : b("", !0)
2138
2138
  ], 64))), 128))
2139
2139
  ]),
2140
2140
  V[3] || (V[3] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1))
@@ -2162,7 +2162,7 @@ const lc = (e) => {
2162
2162
  class: "template-selector__modal-button-cancel",
2163
2163
  onClick: w
2164
2164
  }, " Отменить ")
2165
- ])) : v("", !0)
2165
+ ])) : b("", !0)
2166
2166
  ]),
2167
2167
  _: 1
2168
2168
  }),
@@ -2244,7 +2244,7 @@ const lc = (e) => {
2244
2244
  ], 544)
2245
2245
  ], 64));
2246
2246
  }
2247
- }, yc = /* @__PURE__ */ Q(qi, [["__scopeId", "data-v-78800319"]]), ta = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", na = {
2247
+ }, hc = /* @__PURE__ */ Q(qi, [["__scopeId", "data-v-78800319"]]), ta = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", na = {
2248
2248
  recent: "Recently used",
2249
2249
  smileys_people: "Smiles & People",
2250
2250
  animals_nature: "Animals & Nature",
@@ -14678,7 +14678,7 @@ var Ro = function(f, t) {
14678
14678
  function Yo(e) {
14679
14679
  var f, t = e.state, n = e.name, a = e.options, s = t.elements.arrow, A = t.modifiersData.popperOffsets, i = he(t.placement), l = nn(i), u = [ae, ue].indexOf(i) >= 0, g = u ? "height" : "width";
14680
14680
  if (!(!s || !A)) {
14681
- var d = Ro(a.padding, t), p = tn(s), m = l === "y" ? ne : ae, h = l === "y" ? re : ue, M = t.rects.reference[g] + t.rects.reference[l] - A[l] - t.rects.popper[g], y = A[l] - t.rects.reference[l], _ = bf(s), k = _ ? l === "y" ? _.clientHeight || 0 : _.clientWidth || 0 : 0, C = M / 2 - y / 2, w = d[m], j = k - p[g] - d[h], B = k / 2 - p[g] / 2 + C, E = rf(w, B, j), x = l;
14681
+ var d = Ro(a.padding, t), p = tn(s), m = l === "y" ? ne : ae, h = l === "y" ? re : ue, M = t.rects.reference[g] + t.rects.reference[l] - A[l] - t.rects.popper[g], y = A[l] - t.rects.reference[l], v = bf(s), k = v ? l === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, S = M / 2 - y / 2, w = d[m], j = k - p[g] - d[h], B = k / 2 - p[g] / 2 + S, E = rf(w, B, j), x = l;
14682
14682
  t.modifiersData[n] = (f = {}, f[x] = E, f.centerOffset = E - B, f);
14683
14683
  }
14684
14684
  }
@@ -14712,7 +14712,7 @@ function Fo(e) {
14712
14712
  };
14713
14713
  }
14714
14714
  function Sn(e) {
14715
- var f, t = e.popper, n = e.popperRect, a = e.placement, s = e.variation, A = e.offsets, i = e.position, l = e.gpuAcceleration, u = e.adaptive, g = e.roundOffsets, d = e.isFixed, p = g === !0 ? Fo(A) : typeof g == "function" ? g(A) : A, m = p.x, h = m === void 0 ? 0 : m, M = p.y, y = M === void 0 ? 0 : M, _ = A.hasOwnProperty("x"), k = A.hasOwnProperty("y"), C = ae, w = ne, j = window;
14715
+ var f, t = e.popper, n = e.popperRect, a = e.placement, s = e.variation, A = e.offsets, i = e.position, l = e.gpuAcceleration, u = e.adaptive, g = e.roundOffsets, d = e.isFixed, p = g === !0 ? Fo(A) : typeof g == "function" ? g(A) : A, m = p.x, h = m === void 0 ? 0 : m, M = p.y, y = M === void 0 ? 0 : M, v = A.hasOwnProperty("x"), k = A.hasOwnProperty("y"), S = ae, w = ne, j = window;
14716
14716
  if (u) {
14717
14717
  var B = bf(t), E = "clientHeight", x = "clientWidth";
14718
14718
  if (B === ge(t) && (B = Te(t), Me(B).position !== "static" && i === "absolute" && (E = "scrollHeight", x = "scrollWidth")), B = B, a === ne || (a === ae || a === ue) && s === pf) {
@@ -14721,7 +14721,7 @@ function Sn(e) {
14721
14721
  y -= T - n.height, y *= l ? 1 : -1;
14722
14722
  }
14723
14723
  if (a === ae || (a === ne || a === re) && s === pf) {
14724
- C = ue;
14724
+ S = ue;
14725
14725
  var U = d && j.visualViewport ? j.visualViewport.width : B[x];
14726
14726
  h -= U - n.width, h *= l ? 1 : -1;
14727
14727
  }
@@ -14731,9 +14731,9 @@ function Sn(e) {
14731
14731
  }, u && Ho);
14732
14732
  if (l) {
14733
14733
  var V;
14734
- return Object.assign({}, N, (V = {}, V[w] = k ? "0" : "", V[C] = _ ? "0" : "", V.transform = (j.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + y + "px)" : "translate3d(" + h + "px, " + y + "px, 0)", V));
14734
+ return Object.assign({}, N, (V = {}, V[w] = k ? "0" : "", V[S] = v ? "0" : "", V.transform = (j.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + y + "px)" : "translate3d(" + h + "px, " + y + "px, 0)", V));
14735
14735
  }
14736
- return Object.assign({}, N, (f = {}, f[w] = k ? y + "px" : "", f[C] = _ ? h + "px" : "", f.transform = "", f));
14736
+ return Object.assign({}, N, (f = {}, f[w] = k ? y + "px" : "", f[S] = v ? h + "px" : "", f.transform = "", f));
14737
14737
  }
14738
14738
  function Po(e) {
14739
14739
  var f = e.state, t = e.options, n = t.gpuAcceleration, a = n === void 0 ? !0 : n, s = t.adaptive, A = s === void 0 ? !0 : s, i = t.roundOffsets, l = i === void 0 ? !0 : i, u = {
@@ -14923,16 +14923,16 @@ function ma(e) {
14923
14923
  }
14924
14924
  function hf(e, f) {
14925
14925
  f === void 0 && (f = {});
14926
- var t = f, n = t.placement, a = n === void 0 ? e.placement : n, s = t.boundary, A = s === void 0 ? Io : s, i = t.rootBoundary, l = i === void 0 ? ia : i, u = t.elementContext, g = u === void 0 ? ef : u, d = t.altBoundary, p = d === void 0 ? !1 : d, m = t.padding, h = m === void 0 ? 0 : m, M = ca(typeof h != "number" ? h : da(h, vf)), y = g === ef ? wo : ef, _ = e.rects.popper, k = e.elements[p ? y : g], C = nl($e(k) ? k : k.contextElement || Te(e.elements.popper), A, l), w = Fe(e.elements.reference), j = ma({
14926
+ var t = f, n = t.placement, a = n === void 0 ? e.placement : n, s = t.boundary, A = s === void 0 ? Io : s, i = t.rootBoundary, l = i === void 0 ? ia : i, u = t.elementContext, g = u === void 0 ? ef : u, d = t.altBoundary, p = d === void 0 ? !1 : d, m = t.padding, h = m === void 0 ? 0 : m, M = ca(typeof h != "number" ? h : da(h, vf)), y = g === ef ? wo : ef, v = e.rects.popper, k = e.elements[p ? y : g], S = nl($e(k) ? k : k.contextElement || Te(e.elements.popper), A, l), w = Fe(e.elements.reference), j = ma({
14927
14927
  reference: w,
14928
- element: _,
14928
+ element: v,
14929
14929
  strategy: "absolute",
14930
14930
  placement: a
14931
- }), B = Qt(Object.assign({}, _, j)), E = g === ef ? B : w, x = {
14932
- top: C.top - E.top + M.top,
14933
- bottom: E.bottom - C.bottom + M.bottom,
14934
- left: C.left - E.left + M.left,
14935
- right: E.right - C.right + M.right
14931
+ }), B = Qt(Object.assign({}, v, j)), E = g === ef ? B : w, x = {
14932
+ top: S.top - E.top + M.top,
14933
+ bottom: E.bottom - S.bottom + M.bottom,
14934
+ left: S.left - E.left + M.left,
14935
+ right: E.right - S.right + M.right
14936
14936
  }, T = e.modifiersData.offset;
14937
14937
  if (g === ef && T) {
14938
14938
  var U = T[a];
@@ -14972,7 +14972,7 @@ function sl(e) {
14972
14972
  function Al(e) {
14973
14973
  var f = e.state, t = e.options, n = e.name;
14974
14974
  if (!f.modifiersData[n]._skip) {
14975
- for (var a = t.mainAxis, s = a === void 0 ? !0 : a, A = t.altAxis, i = A === void 0 ? !0 : A, l = t.fallbackPlacements, u = t.padding, g = t.boundary, d = t.rootBoundary, p = t.altBoundary, m = t.flipVariations, h = m === void 0 ? !0 : m, M = t.allowedAutoPlacements, y = f.options.placement, _ = he(y), k = _ === y, C = l || (k || !h ? [zf(y)] : sl(y)), w = [y].concat(C).reduce(function(Ue, ke) {
14975
+ for (var a = t.mainAxis, s = a === void 0 ? !0 : a, A = t.altAxis, i = A === void 0 ? !0 : A, l = t.fallbackPlacements, u = t.padding, g = t.boundary, d = t.rootBoundary, p = t.altBoundary, m = t.flipVariations, h = m === void 0 ? !0 : m, M = t.allowedAutoPlacements, y = f.options.placement, v = he(y), k = v === y, S = l || (k || !h ? [zf(y)] : sl(y)), w = [y].concat(S).reduce(function(Ue, ke) {
14976
14976
  return Ue.concat(he(ke) === fn ? al(f, {
14977
14977
  placement: ke,
14978
14978
  boundary: g,
@@ -15117,7 +15117,7 @@ function pl(e) {
15117
15117
  rootBoundary: u,
15118
15118
  padding: d,
15119
15119
  altBoundary: g
15120
- }), _ = he(f.placement), k = Pe(f.placement), C = !k, w = nn(_), j = ml(w), B = f.modifiersData.popperOffsets, E = f.rects.reference, x = f.rects.popper, T = typeof M == "function" ? M(Object.assign({}, f.rects, {
15120
+ }), v = he(f.placement), k = Pe(f.placement), S = !k, w = nn(v), j = ml(w), B = f.modifiersData.popperOffsets, E = f.rects.reference, x = f.rects.popper, T = typeof M == "function" ? M(Object.assign({}, f.rects, {
15121
15121
  placement: f.placement
15122
15122
  })) : M, U = typeof T == "number" ? {
15123
15123
  mainAxis: T,
@@ -15134,11 +15134,11 @@ function pl(e) {
15134
15134
  var z, H = w === "y" ? ne : ae, X = w === "y" ? re : ue, q = w === "y" ? "height" : "width", ee = B[w], If = ee + y[H], xe = ee - y[X], wf = m ? -x[q] / 2 : 0, pt = k === qe ? E[q] : x[q], Ge = k === qe ? -x[q] : -E[q], kf = f.elements.arrow, Ue = m && kf ? tn(kf) : {
15135
15135
  width: 0,
15136
15136
  height: 0
15137
- }, ke = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : ua(), Ze = ke[H], Nf = ke[X], Se = rf(0, E[q], Ue[q]), ht = C ? E[q] / 2 - wf - Se - Ze - U.mainAxis : pt - Se - Ze - U.mainAxis, Ma = C ? -E[q] / 2 + wf + Se + Nf + U.mainAxis : Ge + Se + Nf + U.mainAxis, yt = f.elements.arrow && bf(f.elements.arrow), va = yt ? w === "y" ? yt.clientTop || 0 : yt.clientLeft || 0 : 0, ln = (z = N == null ? void 0 : N[w]) != null ? z : 0, ba = ee + ht - ln - va, _a = ee + Ma - ln, rn = rf(m ? ut(If, ba) : If, ee, m ? Le(xe, _a) : xe);
15137
+ }, ke = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : ua(), Ze = ke[H], Nf = ke[X], Se = rf(0, E[q], Ue[q]), ht = S ? E[q] / 2 - wf - Se - Ze - U.mainAxis : pt - Se - Ze - U.mainAxis, Ma = S ? -E[q] / 2 + wf + Se + Nf + U.mainAxis : Ge + Se + Nf + U.mainAxis, yt = f.elements.arrow && bf(f.elements.arrow), va = yt ? w === "y" ? yt.clientTop || 0 : yt.clientLeft || 0 : 0, ln = (z = N == null ? void 0 : N[w]) != null ? z : 0, ba = ee + ht - ln - va, _a = ee + Ma - ln, rn = rf(m ? ut(If, ba) : If, ee, m ? Le(xe, _a) : xe);
15138
15138
  B[w] = rn, V[w] = rn - ee;
15139
15139
  }
15140
15140
  if (i) {
15141
- var un, Ia = w === "x" ? ne : ae, wa = w === "x" ? re : ue, Ce = B[j], Df = j === "y" ? "height" : "width", cn = Ce + y[Ia], dn = Ce - y[wa], Mt = [ne, ae].indexOf(_) !== -1, gn = (un = N == null ? void 0 : N[j]) != null ? un : 0, mn = Mt ? cn : Ce - E[Df] - x[Df] - gn + U.altAxis, pn = Mt ? Ce + E[Df] + x[Df] - gn - U.altAxis : dn, hn = m && Mt ? Qo(mn, Ce, pn) : rf(m ? mn : cn, Ce, m ? pn : dn);
15141
+ var un, Ia = w === "x" ? ne : ae, wa = w === "x" ? re : ue, Ce = B[j], Df = j === "y" ? "height" : "width", cn = Ce + y[Ia], dn = Ce - y[wa], Mt = [ne, ae].indexOf(v) !== -1, gn = (un = N == null ? void 0 : N[j]) != null ? un : 0, mn = Mt ? cn : Ce - E[Df] - x[Df] - gn + U.altAxis, pn = Mt ? Ce + E[Df] + x[Df] - gn - U.altAxis : dn, hn = m && Mt ? Qo(mn, Ce, pn) : rf(m ? mn : cn, Ce, m ? pn : dn);
15142
15142
  B[j] = hn, V[j] = hn - Ce;
15143
15143
  }
15144
15144
  f.modifiersData[n] = V;
@@ -15259,24 +15259,24 @@ function Nl(e) {
15259
15259
  styles: {}
15260
15260
  }, d = [], p = !1, m = {
15261
15261
  state: g,
15262
- setOptions: function(_) {
15263
- var k = typeof _ == "function" ? _(g.options) : _;
15262
+ setOptions: function(v) {
15263
+ var k = typeof v == "function" ? v(g.options) : v;
15264
15264
  M(), g.options = Object.assign({}, s, g.options, k), g.scrollParents = {
15265
15265
  reference: $e(i) ? uf(i) : i.contextElement ? uf(i.contextElement) : [],
15266
15266
  popper: uf(l)
15267
15267
  };
15268
- var C = Il(kl([].concat(n, g.options.modifiers)));
15269
- return g.orderedModifiers = C.filter(function(w) {
15268
+ var S = Il(kl([].concat(n, g.options.modifiers)));
15269
+ return g.orderedModifiers = S.filter(function(w) {
15270
15270
  return w.enabled;
15271
15271
  }), h(), m.update();
15272
15272
  },
15273
15273
  forceUpdate: function() {
15274
15274
  if (!p) {
15275
- var _ = g.elements, k = _.reference, C = _.popper;
15276
- if (Bn(k, C)) {
15275
+ var v = g.elements, k = v.reference, S = v.popper;
15276
+ if (Bn(k, S)) {
15277
15277
  g.rects = {
15278
- reference: bl(k, bf(C), g.options.strategy === "fixed"),
15279
- popper: tn(C)
15278
+ reference: bl(k, bf(S), g.options.strategy === "fixed"),
15279
+ popper: tn(S)
15280
15280
  }, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function(U) {
15281
15281
  return g.modifiersData[U.name] = Object.assign({}, U.data);
15282
15282
  });
@@ -15312,13 +15312,13 @@ function Nl(e) {
15312
15312
  });
15313
15313
  function h() {
15314
15314
  g.orderedModifiers.forEach(function(y) {
15315
- var _ = y.name, k = y.options, C = k === void 0 ? {} : k, w = y.effect;
15315
+ var v = y.name, k = y.options, S = k === void 0 ? {} : k, w = y.effect;
15316
15316
  if (typeof w == "function") {
15317
15317
  var j = w({
15318
15318
  state: g,
15319
- name: _,
15319
+ name: v,
15320
15320
  instance: m,
15321
- options: C
15321
+ options: S
15322
15322
  }), B = function() {
15323
15323
  };
15324
15324
  d.push(j || B);
@@ -15407,8 +15407,8 @@ const Tl = Z({
15407
15407
  }
15408
15408
  function m(h, M) {
15409
15409
  var y;
15410
- const _ = (y = h == null ? void 0 : h.target) == null ? void 0 : y.closest("button");
15411
- _ && (_.innerHTML = `<span>${Of(M)}</span>`);
15410
+ const v = (y = h == null ? void 0 : h.target) == null ? void 0 : y.closest("button");
15411
+ v && (v.innerHTML = `<span>${Of(M)}</span>`);
15412
15412
  }
15413
15413
  return Ae(
15414
15414
  () => e.activeGroup,
@@ -15456,7 +15456,7 @@ function Ul(e, f, t, n, a, s) {
15456
15456
  class: L(e.isSticky ? "v3-sticky" : "")
15457
15457
  }, D(e.groupNames[A]), 3)), [
15458
15458
  [Lf, e.emojis[A]]
15459
- ]) : v("", !0),
15459
+ ]) : b("", !0),
15460
15460
  ce(o("div", Sl, [
15461
15461
  (r(!0), c($, null, G(e.emojis[A], (i) => (r(), c("button", {
15462
15462
  key: i.r,
@@ -15553,8 +15553,8 @@ function n1(e, f, t, n, a, s) {
15553
15553
  }, null, 8, Xl)
15554
15554
  ], 8, Zl)
15555
15555
  ], 10, Gl))), 128))
15556
- ])) : v("", !0),
15557
- e.hasGroupIcons && e.hasSearch ? (r(), c("div", e1)) : v("", !0),
15556
+ ])) : b("", !0),
15557
+ e.hasGroupIcons && e.hasSearch ? (r(), c("div", e1)) : b("", !0),
15558
15558
  e.hasSearch ? (r(), c("div", f1, [
15559
15559
  ce(o("input", {
15560
15560
  "onUpdate:modelValue": f[0] || (f[0] = (A) => e.searchValue = A),
@@ -15563,8 +15563,8 @@ function n1(e, f, t, n, a, s) {
15563
15563
  }, null, 8, t1), [
15564
15564
  [cf, e.searchValue]
15565
15565
  ])
15566
- ])) : v("", !0)
15567
- ])) : v("", !0);
15566
+ ])) : b("", !0)
15567
+ ])) : b("", !0);
15568
15568
  }
15569
15569
  var a1 = /* @__PURE__ */ _f(Wl, [["render", n1]]);
15570
15570
  const s1 = Z({
@@ -15648,7 +15648,7 @@ function c1(e, f, t, n, a, s) {
15648
15648
  onClick: (i) => e.selectSkinTone(A)
15649
15649
  }, null, 10, u1))), 128))
15650
15650
  ], 2)
15651
- ], 64)) : v("", !0)
15651
+ ], 64)) : b("", !0)
15652
15652
  ], 32);
15653
15653
  }
15654
15654
  var d1 = /* @__PURE__ */ _f(s1, [["render", c1]]);
@@ -15695,8 +15695,8 @@ const g1 = Z({
15695
15695
  const { state: u } = de("store"), g = Y(() => u.options.colorTheme);
15696
15696
  function d(y) {
15697
15697
  if (i) {
15698
- const _ = u.options.mode;
15699
- _ === "prepend" ? A.value = y.i + A.value : _ === "insert" && l !== -1 ? (A.value = `${A.value.slice(0, l)}${y.i}${A.value.slice(l)}`, l += y.i.length) : A.value += y.i, f("update:text", A.value);
15698
+ const v = u.options.mode;
15699
+ v === "prepend" ? A.value = y.i + A.value : v === "insert" && l !== -1 ? (A.value = `${A.value.slice(0, l)}${y.i}${A.value.slice(l)}`, l += y.i.length) : A.value += y.i, f("update:text", A.value);
15700
15700
  }
15701
15701
  f("select", y);
15702
15702
  }
@@ -15705,8 +15705,8 @@ const g1 = Z({
15705
15705
  t.value && (l = ((y = t.value) == null ? void 0 : y.selectionEnd) || -1);
15706
15706
  }
15707
15707
  function m(y) {
15708
- var _;
15709
- !((_ = y.target) != null && _.closest(
15708
+ var v;
15709
+ !((v = y.target) != null && v.closest(
15710
15710
  ".v3-input-picker-wrap"
15711
15711
  )) && s.value && (s.value = !1);
15712
15712
  }
@@ -15980,7 +15980,7 @@ const k1 = {
15980
15980
  onMouseover: g,
15981
15981
  onMouseout: d
15982
15982
  }, [
15983
- R(S(w1), {
15983
+ R(C(w1), {
15984
15984
  native: !0,
15985
15985
  theme: i.value,
15986
15986
  "picker-type": "",
@@ -15992,7 +15992,7 @@ const k1 = {
15992
15992
  })
15993
15993
  ], 64));
15994
15994
  }
15995
- }, Mc = /* @__PURE__ */ Q(k1, [["__scopeId", "data-v-a6a1f980"]]), N1 = { class: "context-menu" }, D1 = { class: "context-menu__container" }, j1 = { class: "context-menu__list" }, E1 = ["onClick"], T1 = ["src"], V1 = {
15995
+ }, yc = /* @__PURE__ */ Q(k1, [["__scopeId", "data-v-a6a1f980"]]), N1 = { class: "context-menu" }, D1 = { class: "context-menu__container" }, j1 = { class: "context-menu__list" }, E1 = ["onClick"], T1 = ["src"], V1 = {
15996
15996
  __name: "ContextMenu",
15997
15997
  props: {
15998
15998
  actions: {
@@ -16022,7 +16022,7 @@ const k1 = {
16022
16022
  }, null, 8, T1)) : i.prime ? (r(), c("i", {
16023
16023
  key: 1,
16024
16024
  class: L("pi pi-" + i.prime)
16025
- }, null, 2)) : v("", !0),
16025
+ }, null, 2)) : b("", !0),
16026
16026
  o("span", null, D(i.title), 1)
16027
16027
  ], 8, E1))), 128))
16028
16028
  ])
@@ -16082,8 +16082,8 @@ const k1 = {
16082
16082
  height: "32",
16083
16083
  width: "32",
16084
16084
  style: J({ gridRow: e.message.subText ? "2" : "1" })
16085
- }, null, 12, S1)) : v("", !0),
16086
- e.message.subText ? (r(), c("p", C1, D(e.message.subText), 1)) : v("", !0),
16085
+ }, null, 12, S1)) : b("", !0),
16086
+ e.message.subText ? (r(), c("p", C1, D(e.message.subText), 1)) : b("", !0),
16087
16087
  o("div", {
16088
16088
  class: "file-message__content",
16089
16089
  onMouseenter: g
@@ -16105,15 +16105,15 @@ const k1 = {
16105
16105
  }, [
16106
16106
  M[2] || (M[2] = o("span", { class: "pi pi-eye" }, null, -1)),
16107
16107
  o("p", null, D(e.message.views), 1)
16108
- ])) : v("", !0),
16108
+ ])) : b("", !0),
16109
16109
  o("span", U1, D(e.message.time), 1),
16110
- m(e.message) === "file-message__right" && S(Ke).includes(e.message.status) ? (r(), c("div", {
16110
+ m(e.message) === "file-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
16111
16111
  key: 1,
16112
16112
  class: L(["file-message__status", p.value])
16113
16113
  }, [
16114
- e.message.status !== "sent" ? (r(), c("span", B1)) : v("", !0),
16114
+ e.message.status !== "sent" ? (r(), c("span", B1)) : b("", !0),
16115
16115
  M[3] || (M[3] = o("span", { class: "pi pi-check" }, null, -1))
16116
- ], 2)) : v("", !0)
16116
+ ], 2)) : b("", !0)
16117
16117
  ]),
16118
16118
  s.value && e.message.actions ? (r(), c("button", {
16119
16119
  key: 0,
@@ -16121,7 +16121,7 @@ const k1 = {
16121
16121
  onClick: M[0] || (M[0] = (y) => a.value = !a.value)
16122
16122
  }, M[4] || (M[4] = [
16123
16123
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
16124
- ]))) : v("", !0),
16124
+ ]))) : b("", !0),
16125
16125
  o("a", {
16126
16126
  class: "file-message__download-button",
16127
16127
  href: e.message.url,
@@ -16133,12 +16133,12 @@ const k1 = {
16133
16133
  ]), 8, Q1),
16134
16134
  R(P, null, {
16135
16135
  default: W(() => [
16136
- a.value && e.message.actions ? (r(), K(S(Ve), {
16136
+ a.value && e.message.actions ? (r(), K(C(Ve), {
16137
16137
  key: 0,
16138
16138
  class: "file-message__context-menu",
16139
16139
  actions: e.message.actions,
16140
16140
  onClick: u
16141
- }, null, 8, ["actions"])) : v("", !0)
16141
+ }, null, 8, ["actions"])) : b("", !0)
16142
16142
  ]),
16143
16143
  _: 1
16144
16144
  }),
@@ -16147,7 +16147,7 @@ const k1 = {
16147
16147
  innerHTML: A.value,
16148
16148
  onClick: i
16149
16149
  }, null, 8, Y1)
16150
- ])) : v("", !0)
16150
+ ])) : b("", !0)
16151
16151
  ], 32)
16152
16152
  ], 42, x1));
16153
16153
  }
@@ -16198,7 +16198,7 @@ const k1 = {
16198
16198
  function M(y) {
16199
16199
  return y.position === "left" ? "image-message__left" : "image-message__right";
16200
16200
  }
16201
- return (y, _) => (r(), c("div", {
16201
+ return (y, v) => (r(), c("div", {
16202
16202
  class: L(["image-message", M(e.message)]),
16203
16203
  messageId: e.message.messageId,
16204
16204
  onMouseleave: m
@@ -16209,14 +16209,14 @@ const k1 = {
16209
16209
  src: e.message.avatar,
16210
16210
  height: "32",
16211
16211
  width: "32"
16212
- }, null, 8, F1)) : v("", !0),
16213
- e.message.subText ? (r(), c("p", P1, D(e.message.subText), 1)) : v("", !0),
16212
+ }, null, 8, F1)) : b("", !0),
16213
+ e.message.subText ? (r(), c("p", P1, D(e.message.subText), 1)) : b("", !0),
16214
16214
  o("div", W1, [
16215
16215
  o("div", {
16216
16216
  class: "image-message__preview-button",
16217
- onClick: _[0] || (_[0] = (k) => a.value = !0),
16217
+ onClick: v[0] || (v[0] = (k) => a.value = !0),
16218
16218
  onMouseenter: p,
16219
- onMouseleave: _[1] || (_[1] = (k) => i.value = !i.value)
16219
+ onMouseleave: v[1] || (v[1] = (k) => i.value = !i.value)
16220
16220
  }, [
16221
16221
  o("img", {
16222
16222
  class: "image-message__preview-image",
@@ -16232,18 +16232,18 @@ const k1 = {
16232
16232
  onClick: Qe(g, ["stop"]),
16233
16233
  class: "image-message__views"
16234
16234
  }, [
16235
- _[4] || (_[4] = o("span", { class: "pi pi-eye" }, null, -1)),
16235
+ v[4] || (v[4] = o("span", { class: "pi pi-eye" }, null, -1)),
16236
16236
  o("p", null, D(e.message.views), 1)
16237
- ])) : v("", !0),
16237
+ ])) : b("", !0),
16238
16238
  o("span", G1, D(e.message.time), 1),
16239
- M(e.message) === "image-message__right" && S(Ke).includes(e.message.status) ? (r(), c("div", {
16239
+ M(e.message) === "image-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
16240
16240
  key: 1,
16241
16241
  class: L(["image-message__status", h.value])
16242
16242
  }, [
16243
- e.message.status !== "sent" ? (r(), c("span", Z1)) : v("", !0),
16244
- _[5] || (_[5] = o("span", { class: "pi pi-check" }, null, -1))
16245
- ], 2)) : v("", !0)
16246
- ])) : v("", !0)
16243
+ e.message.status !== "sent" ? (r(), c("span", Z1)) : b("", !0),
16244
+ v[5] || (v[5] = o("span", { class: "pi pi-check" }, null, -1))
16245
+ ], 2)) : b("", !0)
16246
+ ])) : b("", !0)
16247
16247
  ]),
16248
16248
  _: 1
16249
16249
  }),
@@ -16256,9 +16256,9 @@ const k1 = {
16256
16256
  href: e.message.url,
16257
16257
  download: "",
16258
16258
  target: "_blank"
16259
- }, _[6] || (_[6] = [
16259
+ }, v[6] || (v[6] = [
16260
16260
  o("span", { class: "pi pi-download" }, null, -1)
16261
- ]), 8, X1)) : v("", !0)
16261
+ ]), 8, X1)) : b("", !0)
16262
16262
  ]),
16263
16263
  _: 1
16264
16264
  })
@@ -16268,21 +16268,21 @@ const k1 = {
16268
16268
  A.value && e.message.actions ? (r(), c("button", {
16269
16269
  key: 0,
16270
16270
  class: "image-message__menu-button",
16271
- onClick: _[2] || (_[2] = (k) => s.value = !s.value)
16272
- }, _[7] || (_[7] = [
16271
+ onClick: v[2] || (v[2] = (k) => s.value = !s.value)
16272
+ }, v[7] || (v[7] = [
16273
16273
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
16274
- ]))) : v("", !0)
16274
+ ]))) : b("", !0)
16275
16275
  ]),
16276
16276
  _: 1
16277
16277
  }),
16278
16278
  R(P, { name: "context-menu" }, {
16279
16279
  default: W(() => [
16280
- s.value && e.message.actions ? (r(), K(S(Ve), {
16280
+ s.value && e.message.actions ? (r(), K(C(Ve), {
16281
16281
  key: 0,
16282
16282
  class: "image-message__context-menu",
16283
16283
  actions: e.message.actions,
16284
16284
  onClick: d
16285
- }, null, 8, ["actions"])) : v("", !0)
16285
+ }, null, 8, ["actions"])) : b("", !0)
16286
16286
  ]),
16287
16287
  _: 1
16288
16288
  }),
@@ -16291,7 +16291,7 @@ const k1 = {
16291
16291
  innerHTML: l.value,
16292
16292
  onClick: u
16293
16293
  }, null, 8, fr)
16294
- ])) : v("", !0)
16294
+ ])) : b("", !0)
16295
16295
  ]),
16296
16296
  (r(), K(yf, { to: "body" }, [
16297
16297
  R(P, { name: "modal-fade" }, {
@@ -16300,8 +16300,8 @@ const k1 = {
16300
16300
  o("div", nr, [
16301
16301
  o("button", {
16302
16302
  class: "image-message__modal-close-button",
16303
- onClick: _[3] || (_[3] = (k) => a.value = !1)
16304
- }, _[8] || (_[8] = [
16303
+ onClick: v[3] || (v[3] = (k) => a.value = !1)
16304
+ }, v[8] || (v[8] = [
16305
16305
  o("span", null, [
16306
16306
  o("i", { class: "pi pi-times" })
16307
16307
  ], -1)
@@ -16312,23 +16312,23 @@ const k1 = {
16312
16312
  alt: e.message.alt
16313
16313
  }, null, 8, ar)
16314
16314
  ])
16315
- ])) : v("", !0)
16315
+ ])) : b("", !0)
16316
16316
  ]),
16317
16317
  _: 1
16318
16318
  })
16319
16319
  ]))
16320
16320
  ], 42, H1));
16321
16321
  }
16322
- }), Ar = /* @__PURE__ */ Q(sr, [["__scopeId", "data-v-0c152b1c"]]), ir = { class: "text-message" }, or = ["messageId"], lr = ["src"], rr = {
16322
+ }), Ar = /* @__PURE__ */ Q(sr, [["__scopeId", "data-v-0c152b1c"]]), ir = ["messageId"], or = ["src"], lr = {
16323
16323
  key: 1,
16324
16324
  class: "text-message__subtext"
16325
- }, ur = ["innerHTML"], cr = { class: "text-message__info-container" }, dr = {
16325
+ }, rr = ["innerHTML"], ur = { class: "text-message__info-container" }, cr = {
16326
16326
  key: 1,
16327
16327
  class: "text-message__time"
16328
- }, gr = {
16328
+ }, dr = {
16329
16329
  key: 0,
16330
16330
  class: "pi pi-check"
16331
- }, mr = /* @__PURE__ */ Z({
16331
+ }, gr = /* @__PURE__ */ Z({
16332
16332
  __name: "TextMessage",
16333
16333
  props: {
16334
16334
  message: {
@@ -16361,86 +16361,84 @@ const k1 = {
16361
16361
  function m(h) {
16362
16362
  return h.position === "left" ? "text-message__left" : "text-message__right";
16363
16363
  }
16364
- return (h, M) => (r(), c("div", ir, [
16364
+ return (h, M) => (r(), c("div", {
16365
+ class: L(["text-message", m(e.message)]),
16366
+ messageId: e.message.messageId,
16367
+ onMouseleave: u
16368
+ }, [
16369
+ e.message.avatar ? (r(), c("img", {
16370
+ key: 0,
16371
+ class: "text-message__avatar",
16372
+ src: e.message.avatar,
16373
+ height: "32",
16374
+ width: "32",
16375
+ style: J({ gridRow: e.message.subText ? "2" : "1" })
16376
+ }, null, 12, or)) : b("", !0),
16377
+ e.message.subText ? (r(), c("p", lr, D(e.message.subText), 1)) : b("", !0),
16365
16378
  o("div", {
16366
- class: L(m(e.message)),
16367
- messageId: e.message.messageId,
16368
- onMouseleave: u
16379
+ class: "text-message__content",
16380
+ onMouseenter: l
16369
16381
  }, [
16370
- e.message.avatar ? (r(), c("img", {
16382
+ o("p", {
16383
+ innerHTML: A.value,
16384
+ class: "text-message__text",
16385
+ onClick: i
16386
+ }, null, 8, rr),
16387
+ o("div", ur, [
16388
+ e.message.views ? (r(), c("div", {
16389
+ key: 0,
16390
+ class: "text-message__views",
16391
+ onClick: p
16392
+ }, [
16393
+ M[1] || (M[1] = o("span", { class: "pi pi-eye" }, null, -1)),
16394
+ o("p", null, D(e.message.views), 1)
16395
+ ])) : b("", !0),
16396
+ e.message.time ? (r(), c("span", cr, D(e.message.time), 1)) : b("", !0),
16397
+ m(e.message) === "text-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
16398
+ key: 2,
16399
+ class: L(["text-message__status", g.value])
16400
+ }, [
16401
+ e.message.status !== "sent" ? (r(), c("span", dr)) : b("", !0),
16402
+ M[2] || (M[2] = o("span", { class: "pi pi-check" }, null, -1))
16403
+ ], 2)) : b("", !0)
16404
+ ]),
16405
+ s.value && e.message.actions ? (r(), c("button", {
16371
16406
  key: 0,
16372
- class: "text-message__avatar",
16373
- src: e.message.avatar,
16374
- height: "32",
16375
- width: "32",
16376
- style: J({ gridRow: e.message.subText ? "2" : "1" })
16377
- }, null, 12, lr)) : v("", !0),
16378
- e.message.subText ? (r(), c("p", rr, D(e.message.subText), 1)) : v("", !0),
16379
- o("div", {
16380
- class: "text-message__content",
16381
- onMouseenter: l
16382
- }, [
16383
- o("p", {
16384
- innerHTML: A.value,
16385
- class: "text-message__text",
16386
- onClick: i
16387
- }, null, 8, ur),
16388
- o("div", cr, [
16389
- e.message.views ? (r(), c("div", {
16407
+ class: "text-message__menu-button",
16408
+ onClick: M[0] || (M[0] = (y) => a.value = !a.value)
16409
+ }, M[3] || (M[3] = [
16410
+ o("span", { class: "pi pi-ellipsis-h" }, null, -1)
16411
+ ]))) : b("", !0),
16412
+ R(P, null, {
16413
+ default: W(() => [
16414
+ a.value && e.message.actions ? (r(), K(C(Ve), {
16390
16415
  key: 0,
16391
- class: "text-message__views",
16392
- onClick: p
16393
- }, [
16394
- M[1] || (M[1] = o("span", { class: "pi pi-eye" }, null, -1)),
16395
- o("p", null, D(e.message.views), 1)
16396
- ])) : v("", !0),
16397
- e.message.time ? (r(), c("span", dr, D(e.message.time), 1)) : v("", !0),
16398
- m(e.message) === "text-message__right" && S(Ke).includes(e.message.status) ? (r(), c("div", {
16399
- key: 2,
16400
- class: L(["text-message__status", g.value])
16401
- }, [
16402
- e.message.status !== "sent" ? (r(), c("span", gr)) : v("", !0),
16403
- M[2] || (M[2] = o("span", { class: "pi pi-check" }, null, -1))
16404
- ], 2)) : v("", !0)
16416
+ class: "text-message__context-menu",
16417
+ actions: e.message.actions,
16418
+ onClick: d
16419
+ }, null, 8, ["actions"])) : b("", !0)
16405
16420
  ]),
16406
- s.value && e.message.actions ? (r(), c("button", {
16407
- key: 0,
16408
- class: "text-message__menu-button",
16409
- onClick: M[0] || (M[0] = (y) => a.value = !a.value)
16410
- }, M[3] || (M[3] = [
16411
- o("span", { class: "pi pi-ellipsis-h" }, null, -1)
16412
- ]))) : v("", !0),
16413
- R(P, null, {
16414
- default: W(() => [
16415
- a.value && e.message.actions ? (r(), K(S(Ve), {
16416
- key: 0,
16417
- class: "text-message__context-menu",
16418
- actions: e.message.actions,
16419
- onClick: d
16420
- }, null, 8, ["actions"])) : v("", !0)
16421
- ]),
16422
- _: 1
16423
- })
16424
- ], 32)
16425
- ], 42, or)
16426
- ]));
16421
+ _: 1
16422
+ })
16423
+ ], 32)
16424
+ ], 42, ir));
16427
16425
  }
16428
- }), pr = /* @__PURE__ */ Q(mr, [["__scopeId", "data-v-8acbeea8"]]), hr = ["messageId"], yr = ["src"], Mr = {
16426
+ }), mr = /* @__PURE__ */ Q(gr, [["__scopeId", "data-v-329a2e3c"]]), pr = ["messageId"], hr = ["src"], yr = {
16429
16427
  key: 1,
16430
16428
  class: "audio-message__subtext"
16431
- }, vr = ["src"], br = { class: "audio-message__progress-bar-container" }, _r = { class: "audio-message__remaining-time" }, Ir = { class: "audio-message__info-container" }, wr = { class: "audio-message__time" }, kr = {
16429
+ }, Mr = ["src"], vr = { class: "audio-message__progress-bar-container" }, br = { class: "audio-message__remaining-time" }, _r = { class: "audio-message__info-container" }, Ir = { class: "audio-message__time" }, wr = {
16432
16430
  key: 0,
16433
16431
  class: "pi pi-check"
16434
- }, Nr = ["href"], Dr = {
16432
+ }, kr = ["href"], Nr = {
16435
16433
  key: 1,
16436
16434
  class: "audio-message__transcript-container"
16437
- }, jr = {
16435
+ }, Dr = {
16438
16436
  key: 0,
16439
16437
  class: "audio-message__modal-overlay"
16440
- }, Er = { class: "audio-message__modal" }, Tr = {
16438
+ }, jr = { class: "audio-message__modal" }, Er = {
16441
16439
  key: 2,
16442
16440
  class: "audio-message__text-container"
16443
- }, Vr = ["innerHTML"], xr = /* @__PURE__ */ Z({
16441
+ }, Tr = ["innerHTML"], Vr = /* @__PURE__ */ Z({
16444
16442
  __name: "AudioMessage",
16445
16443
  props: {
16446
16444
  message: {
@@ -16468,14 +16466,14 @@ const k1 = {
16468
16466
  }, M = () => {
16469
16467
  n("action", { messageId: t.message.messageId, type: "views" });
16470
16468
  }, y = () => {
16471
- }, _ = Y(() => Je(t.message.status));
16469
+ }, v = Y(() => Je(t.message.status));
16472
16470
  function k() {
16473
16471
  a.value && (s.value ? a.value.pause() : a.value.play(), s.value = !s.value);
16474
16472
  }
16475
- const C = (x) => {
16473
+ const S = (x) => {
16476
16474
  const T = Math.floor(x / 60), U = Math.floor(x % 60);
16477
16475
  return `${T.toString().padStart(2, "0")}:${U.toString().padStart(2, "0")}`;
16478
- }, w = Y(() => a.value ? C(i.value) : "0:00"), j = Y(() => a.value ? C(A.value) : "0:00"), B = Y(() => A.value > 0 ? i.value / A.value * 100 : 0);
16476
+ }, w = Y(() => a.value ? S(i.value) : "0:00"), j = Y(() => a.value ? S(A.value) : "0:00"), B = Y(() => A.value > 0 ? i.value / A.value * 100 : 0);
16479
16477
  function E(x) {
16480
16478
  return x.position === "left" ? "audio-message__left" : "audio-message__right";
16481
16479
  }
@@ -16499,8 +16497,8 @@ const k1 = {
16499
16497
  height: "32",
16500
16498
  width: "32",
16501
16499
  style: J({ gridRow: e.message.subText ? "2" : "1" })
16502
- }, null, 12, yr)) : v("", !0),
16503
- e.message.subText ? (r(), c("p", Mr, D(e.message.subText), 1)) : v("", !0),
16500
+ }, null, 12, hr)) : b("", !0),
16501
+ e.message.subText ? (r(), c("p", yr, D(e.message.subText), 1)) : b("", !0),
16504
16502
  o("div", {
16505
16503
  class: "audio-message__content",
16506
16504
  onMouseenter: m
@@ -16509,7 +16507,7 @@ const k1 = {
16509
16507
  ref_key: "player",
16510
16508
  ref: a,
16511
16509
  src: e.message.url
16512
- }, null, 8, vr),
16510
+ }, null, 8, Mr),
16513
16511
  ce(o("button", {
16514
16512
  class: "audio-message__play",
16515
16513
  onClick: k
@@ -16526,14 +16524,14 @@ const k1 = {
16526
16524
  ]), 512), [
16527
16525
  [Lf, s.value]
16528
16526
  ]),
16529
- o("div", br, [
16527
+ o("div", vr, [
16530
16528
  o("div", {
16531
16529
  class: "audio-message__progress-bar",
16532
16530
  style: J({ width: B.value + "%" })
16533
16531
  }, null, 4)
16534
16532
  ]),
16535
- o("p", _r, D(`${w.value} / ${j.value}`), 1),
16536
- o("div", Ir, [
16533
+ o("p", br, D(`${w.value} / ${j.value}`), 1),
16534
+ o("div", _r, [
16537
16535
  e.message.views ? (r(), c("div", {
16538
16536
  key: 0,
16539
16537
  onClick: M,
@@ -16541,15 +16539,15 @@ const k1 = {
16541
16539
  }, [
16542
16540
  T[5] || (T[5] = o("span", { class: "pi pi-eye" }, null, -1)),
16543
16541
  o("p", null, D(e.message.views), 1)
16544
- ])) : v("", !0),
16545
- o("span", wr, D(e.message.time), 1),
16546
- E(e.message) === "audio-message__right" && S(Ke).includes(e.message.status) ? (r(), c("div", {
16542
+ ])) : b("", !0),
16543
+ o("span", Ir, D(e.message.time), 1),
16544
+ E(e.message) === "audio-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
16547
16545
  key: 1,
16548
- class: L(["audio-message__status", _.value])
16546
+ class: L(["audio-message__status", v.value])
16549
16547
  }, [
16550
- e.message.status !== "sent" ? (r(), c("span", kr)) : v("", !0),
16548
+ e.message.status !== "sent" ? (r(), c("span", wr)) : b("", !0),
16551
16549
  T[6] || (T[6] = o("span", { class: "pi pi-check" }, null, -1))
16552
- ], 2)) : v("", !0)
16550
+ ], 2)) : b("", !0)
16553
16551
  ]),
16554
16552
  u.value && e.message.actions ? (r(), c("button", {
16555
16553
  key: 0,
@@ -16557,7 +16555,7 @@ const k1 = {
16557
16555
  onClick: T[0] || (T[0] = (N) => l.value = !l.value)
16558
16556
  }, T[7] || (T[7] = [
16559
16557
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
16560
- ]))) : v("", !0),
16558
+ ]))) : b("", !0),
16561
16559
  o("a", {
16562
16560
  class: "audio-message__download-button",
16563
16561
  onClick: Qe(() => "//Предотвращаем всплытие события клика", ["stop"]),
@@ -16566,30 +16564,30 @@ const k1 = {
16566
16564
  target: "_blank"
16567
16565
  }, T[8] || (T[8] = [
16568
16566
  o("span", { class: "pi pi-download" }, null, -1)
16569
- ]), 8, Nr),
16567
+ ]), 8, kr),
16570
16568
  R(P, null, {
16571
16569
  default: W(() => [
16572
- l.value && e.message.actions ? (r(), K(S(Ve), {
16570
+ l.value && e.message.actions ? (r(), K(C(Ve), {
16573
16571
  key: 0,
16574
16572
  class: "audio-message__context-menu",
16575
16573
  actions: e.message.actions,
16576
16574
  onClick: y
16577
- }, null, 8, ["actions"])) : v("", !0)
16575
+ }, null, 8, ["actions"])) : b("", !0)
16578
16576
  ]),
16579
16577
  _: 1
16580
16578
  }),
16581
- (U = e.message.transcript) != null && U.text ? (r(), c("div", Dr, [
16579
+ (U = e.message.transcript) != null && U.text ? (r(), c("div", Nr, [
16582
16580
  o("p", {
16583
16581
  onClick: T[1] || (T[1] = (N) => d.value = !d.value)
16584
16582
  }, D(e.message.transcript.text), 1)
16585
- ])) : v("", !0),
16583
+ ])) : b("", !0),
16586
16584
  (r(), K(yf, { to: "body" }, [
16587
16585
  R(P, { name: "modal-fade" }, {
16588
16586
  default: W(() => {
16589
16587
  var N;
16590
16588
  return [
16591
- d.value ? (r(), c("div", jr, [
16592
- o("div", Er, [
16589
+ d.value ? (r(), c("div", Dr, [
16590
+ o("div", jr, [
16593
16591
  o("button", {
16594
16592
  class: "audio-message__modal-close-button",
16595
16593
  onClick: T[2] || (T[2] = (V) => d.value = !1)
@@ -16600,23 +16598,23 @@ const k1 = {
16600
16598
  ])),
16601
16599
  o("p", null, D((N = e.message.transcript) == null ? void 0 : N.text), 1)
16602
16600
  ])
16603
- ])) : v("", !0)
16601
+ ])) : b("", !0)
16604
16602
  ];
16605
16603
  }),
16606
16604
  _: 1
16607
16605
  })
16608
16606
  ])),
16609
- e.message.text ? (r(), c("div", Tr, [
16607
+ e.message.text ? (r(), c("div", Er, [
16610
16608
  o("p", {
16611
16609
  innerHTML: g.value,
16612
16610
  onClick: p
16613
- }, null, 8, Vr)
16614
- ])) : v("", !0)
16611
+ }, null, 8, Tr)
16612
+ ])) : b("", !0)
16615
16613
  ], 32)
16616
- ], 42, hr);
16614
+ ], 42, pr);
16617
16615
  };
16618
16616
  }
16619
- }), Sr = /* @__PURE__ */ Q(xr, [["__scopeId", "data-v-1e745361"]]), Cr = { class: "date-message" }, zr = { class: "date-message__container" }, Or = { class: "date-message__text" }, Lr = /* @__PURE__ */ Z({
16617
+ }), xr = /* @__PURE__ */ Q(Vr, [["__scopeId", "data-v-1e745361"]]), Sr = { class: "date-message" }, Cr = { class: "date-message__container" }, zr = { class: "date-message__text" }, Or = /* @__PURE__ */ Z({
16620
16618
  __name: "DateMessage",
16621
16619
  props: {
16622
16620
  message: {
@@ -16627,28 +16625,28 @@ const k1 = {
16627
16625
  }
16628
16626
  },
16629
16627
  setup(e) {
16630
- return (f, t) => (r(), c("div", Cr, [
16631
- o("div", zr, [
16632
- o("p", Or, D(e.message.text), 1)
16628
+ return (f, t) => (r(), c("div", Sr, [
16629
+ o("div", Cr, [
16630
+ o("p", zr, D(e.message.text), 1)
16633
16631
  ])
16634
16632
  ]));
16635
16633
  }
16636
- }), Ur = /* @__PURE__ */ Q(Lr, [["__scopeId", "data-v-b2b05bd8"]]), Br = ["messageId"], Qr = ["src"], Rr = {
16634
+ }), Lr = /* @__PURE__ */ Q(Or, [["__scopeId", "data-v-b2b05bd8"]]), Ur = ["messageId"], Br = ["src"], Qr = {
16637
16635
  key: 1,
16638
16636
  class: "video-message__subtext"
16639
- }, Yr = { class: "video-message__content" }, qr = ["src"], $r = {
16637
+ }, Rr = { class: "video-message__content" }, Yr = ["src"], qr = {
16640
16638
  key: 0,
16641
16639
  class: "video-message__info-container"
16642
- }, Hr = { class: "video-message__time" }, Fr = {
16640
+ }, $r = { class: "video-message__time" }, Hr = {
16643
16641
  key: 0,
16644
16642
  class: "pi pi-check"
16645
- }, Pr = ["href"], Wr = {
16643
+ }, Fr = ["href"], Pr = {
16646
16644
  key: 0,
16647
16645
  class: "video-message__text-container"
16648
- }, Kr = ["innerHTML"], Jr = {
16646
+ }, Wr = ["innerHTML"], Kr = {
16649
16647
  key: 0,
16650
16648
  class: "video-message__modal-overlay"
16651
- }, Gr = { class: "video-message__modal" }, Zr = ["src", "alt"], Xr = /* @__PURE__ */ Z({
16649
+ }, Jr = { class: "video-message__modal" }, Gr = ["src", "alt"], Zr = /* @__PURE__ */ Z({
16652
16650
  __name: "VideoMessage",
16653
16651
  props: {
16654
16652
  message: {
@@ -16659,8 +16657,8 @@ const k1 = {
16659
16657
  emits: ["action"],
16660
16658
  setup(e, { emit: f }) {
16661
16659
  const t = e, n = f;
16662
- function a(C) {
16663
- return C.position === "left" ? "video-message__left" : "video-message__right";
16660
+ function a(S) {
16661
+ return S.position === "left" ? "video-message__left" : "video-message__right";
16664
16662
  }
16665
16663
  const s = I(), A = I(), i = I(!1), l = I(!1), u = I(!1), g = I(!1), d = I("");
16666
16664
  Ae(
@@ -16670,8 +16668,8 @@ const k1 = {
16670
16668
  },
16671
16669
  { immediate: !0 }
16672
16670
  );
16673
- function p(C) {
16674
- C.preventDefault(), C.target.href && window.open(C.target.href, "_blank");
16671
+ function p(S) {
16672
+ S.preventDefault(), S.target.href && window.open(S.target.href, "_blank");
16675
16673
  }
16676
16674
  const m = () => {
16677
16675
  n("action", { messageId: t.message.messageId, type: "views" });
@@ -16680,12 +16678,12 @@ const k1 = {
16680
16678
  u.value = !0, g.value = !0;
16681
16679
  }, y = () => {
16682
16680
  u.value = !1, l.value = !1;
16683
- }, _ = Y(() => Je(t.message.status)), k = () => {
16681
+ }, v = Y(() => Je(t.message.status)), k = () => {
16684
16682
  A.value && (A.value.currentTime = 0, A.value.play());
16685
16683
  };
16686
- return Ae([s, A], ([C, w]) => {
16687
- C ? w && (w.pause(), w.currentTime = 0) : w && (w.play(), w.currentTime = 0);
16688
- }), (C, w) => (r(), c("div", {
16684
+ return Ae([s, A], ([S, w]) => {
16685
+ S ? w && (w.pause(), w.currentTime = 0) : w && (w.play(), w.currentTime = 0);
16686
+ }), (S, w) => (r(), c("div", {
16689
16687
  class: L(["video-message", a(e.message)]),
16690
16688
  messageId: e.message.messageId,
16691
16689
  onMouseleave: y
@@ -16696,9 +16694,9 @@ const k1 = {
16696
16694
  src: e.message.avatar,
16697
16695
  height: "32",
16698
16696
  width: "32"
16699
- }, null, 8, Qr)) : v("", !0),
16700
- e.message.subText ? (r(), c("p", Rr, D(e.message.subText), 1)) : v("", !0),
16701
- o("div", Yr, [
16697
+ }, null, 8, Br)) : b("", !0),
16698
+ e.message.subText ? (r(), c("p", Qr, D(e.message.subText), 1)) : b("", !0),
16699
+ o("div", Rr, [
16702
16700
  o("div", {
16703
16701
  class: "video-message__preview-button",
16704
16702
  onClick: w[0] || (w[0] = (j) => i.value = !0),
@@ -16714,10 +16712,10 @@ const k1 = {
16714
16712
  src: e.message.url,
16715
16713
  muted: !0,
16716
16714
  autoplay: ""
16717
- }, null, 44, qr),
16715
+ }, null, 44, Yr),
16718
16716
  R(P, { name: "modal-fade" }, {
16719
16717
  default: W(() => [
16720
- g.value ? (r(), c("div", $r, [
16718
+ g.value ? (r(), c("div", qr, [
16721
16719
  e.message.views ? (r(), c("div", {
16722
16720
  key: 0,
16723
16721
  onClick: Qe(m, ["stop"]),
@@ -16725,16 +16723,16 @@ const k1 = {
16725
16723
  }, [
16726
16724
  w[4] || (w[4] = o("span", { class: "pi pi-eye" }, null, -1)),
16727
16725
  o("p", null, D(e.message.views), 1)
16728
- ])) : v("", !0),
16729
- o("span", Hr, D(e.message.time), 1),
16730
- a(e.message) === "video-message__right" && S(Ke).includes(e.message.status) ? (r(), c("div", {
16726
+ ])) : b("", !0),
16727
+ o("span", $r, D(e.message.time), 1),
16728
+ a(e.message) === "video-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
16731
16729
  key: 1,
16732
- class: L(["video-message__status", _.value])
16730
+ class: L(["video-message__status", v.value])
16733
16731
  }, [
16734
- e.message.status !== "sent" ? (r(), c("span", Fr)) : v("", !0),
16732
+ e.message.status !== "sent" ? (r(), c("span", Hr)) : b("", !0),
16735
16733
  w[5] || (w[5] = o("span", { class: "pi pi-check" }, null, -1))
16736
- ], 2)) : v("", !0)
16737
- ])) : v("", !0)
16734
+ ], 2)) : b("", !0)
16735
+ ])) : b("", !0)
16738
16736
  ]),
16739
16737
  _: 1
16740
16738
  }),
@@ -16749,7 +16747,7 @@ const k1 = {
16749
16747
  target: "_blank"
16750
16748
  }, w[6] || (w[6] = [
16751
16749
  o("span", { class: "pi pi-download" }, null, -1)
16752
- ]), 8, Pr)) : v("", !0)
16750
+ ]), 8, Fr)) : b("", !0)
16753
16751
  ]),
16754
16752
  _: 1
16755
16753
  })
@@ -16762,33 +16760,33 @@ const k1 = {
16762
16760
  onClick: w[2] || (w[2] = (j) => l.value = !l.value)
16763
16761
  }, w[7] || (w[7] = [
16764
16762
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
16765
- ]))) : v("", !0)
16763
+ ]))) : b("", !0)
16766
16764
  ]),
16767
16765
  _: 1
16768
16766
  }),
16769
16767
  R(P, { name: "context-menu" }, {
16770
16768
  default: W(() => [
16771
- l.value && e.message.actions ? (r(), K(S(Ve), {
16769
+ l.value && e.message.actions ? (r(), K(C(Ve), {
16772
16770
  key: 0,
16773
16771
  class: "video-message__context-menu",
16774
16772
  actions: e.message.actions,
16775
16773
  onClick: h
16776
- }, null, 8, ["actions"])) : v("", !0)
16774
+ }, null, 8, ["actions"])) : b("", !0)
16777
16775
  ]),
16778
16776
  _: 1
16779
16777
  }),
16780
- e.message.text ? (r(), c("div", Wr, [
16778
+ e.message.text ? (r(), c("div", Pr, [
16781
16779
  o("p", {
16782
16780
  innerHTML: d.value,
16783
16781
  onClick: p
16784
- }, null, 8, Kr)
16785
- ])) : v("", !0)
16782
+ }, null, 8, Wr)
16783
+ ])) : b("", !0)
16786
16784
  ]),
16787
16785
  (r(), K(yf, { to: "body" }, [
16788
16786
  R(P, { name: "modal-fade" }, {
16789
16787
  default: W(() => [
16790
- i.value ? (r(), c("div", Jr, [
16791
- o("div", Gr, [
16788
+ i.value ? (r(), c("div", Kr, [
16789
+ o("div", Jr, [
16792
16790
  o("button", {
16793
16791
  class: "video-message__modal-close-button",
16794
16792
  onClick: w[3] || (w[3] = (j) => i.value = !1)
@@ -16805,37 +16803,37 @@ const k1 = {
16805
16803
  alt: e.message.alt,
16806
16804
  controls: "",
16807
16805
  autoplay: ""
16808
- }, null, 8, Zr)
16806
+ }, null, 8, Gr)
16809
16807
  ])
16810
- ])) : v("", !0)
16808
+ ])) : b("", !0)
16811
16809
  ]),
16812
16810
  _: 1
16813
16811
  })
16814
16812
  ]))
16815
- ], 42, Br));
16813
+ ], 42, Ur));
16816
16814
  }
16817
- }), eu = /* @__PURE__ */ Q(Xr, [["__scopeId", "data-v-e3f7949f"]]), fu = { class: "call-message" }, tu = ["messageId"], nu = ["src"], au = {
16815
+ }), Xr = /* @__PURE__ */ Q(Zr, [["__scopeId", "data-v-e3f7949f"]]), eu = { class: "call-message" }, fu = ["messageId"], tu = ["src"], nu = {
16818
16816
  key: 1,
16819
16817
  class: "call-message__subtext"
16820
- }, su = { class: "call-message__content" }, Au = {
16818
+ }, au = { class: "call-message__content" }, su = {
16821
16819
  key: 0,
16822
16820
  class: "call-message__title"
16823
- }, iu = {
16821
+ }, Au = {
16824
16822
  key: 1,
16825
16823
  class: "call-message__title"
16826
- }, ou = {
16824
+ }, iu = {
16827
16825
  key: 2,
16828
16826
  class: "call-message__duration"
16829
- }, lu = {
16827
+ }, ou = {
16830
16828
  key: 3,
16831
16829
  class: "call-message__duration"
16832
- }, ru = {
16830
+ }, lu = {
16833
16831
  key: 4,
16834
16832
  class: "call-message__duration"
16835
- }, uu = { class: "call-message__info-container" }, cu = { class: "call-message__time" }, du = {
16833
+ }, ru = { class: "call-message__info-container" }, uu = { class: "call-message__time" }, cu = {
16836
16834
  key: 0,
16837
16835
  class: "call-message__modal-overlay"
16838
- }, gu = { class: "call-message__modal" }, mu = /* @__PURE__ */ Z({
16836
+ }, du = { class: "call-message__modal" }, gu = /* @__PURE__ */ Z({
16839
16837
  __name: "CallMessage",
16840
16838
  props: {
16841
16839
  message: {
@@ -16861,7 +16859,7 @@ const k1 = {
16861
16859
  }
16862
16860
  return (a, s) => {
16863
16861
  var A;
16864
- return r(), c("div", fu, [
16862
+ return r(), c("div", eu, [
16865
16863
  o("div", {
16866
16864
  class: L(n(e.message, t.message)),
16867
16865
  messageId: e.message.messageId
@@ -16873,17 +16871,17 @@ const k1 = {
16873
16871
  height: "32",
16874
16872
  width: "32",
16875
16873
  style: J({ gridRow: e.message.subText ? "2" : "1" })
16876
- }, null, 12, nu)) : v("", !0),
16877
- e.message.subText ? (r(), c("p", au, D(e.message.subText), 1)) : v("", !0),
16878
- o("div", su, [
16874
+ }, null, 12, tu)) : b("", !0),
16875
+ e.message.subText ? (r(), c("p", nu, D(e.message.subText), 1)) : b("", !0),
16876
+ o("div", au, [
16879
16877
  o("span", {
16880
16878
  class: "call-message__icon pi pi-phone",
16881
16879
  style: J({ color: e.message.isMissedCall ? "var(--p-red-500)" : "var(--neutral-100)" })
16882
16880
  }, null, 4),
16883
- e.message.isMissedCall ? (r(), c("span", iu, "Пропущенный аудиозвонок")) : (r(), c("span", Au, "Аудиозвонок")),
16884
- e.message.callDuration ? (r(), c("span", ou, D(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (r(), c("span", lu, "Нажмите, чтобы перезвонить")) : (r(), c("span", ru, "Нет ответа")),
16885
- o("div", uu, [
16886
- o("span", cu, D(e.message.time), 1)
16881
+ e.message.isMissedCall ? (r(), c("span", Au, "Пропущенный аудиозвонок")) : (r(), c("span", su, "Аудиозвонок")),
16882
+ e.message.callDuration ? (r(), c("span", iu, D(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (r(), c("span", ou, "Нажмите, чтобы перезвонить")) : (r(), c("span", lu, "Нет ответа")),
16883
+ o("div", ru, [
16884
+ o("span", uu, D(e.message.time), 1)
16887
16885
  ]),
16888
16886
  (A = e.message.transcript) != null && A.dialog ? (r(), c("button", {
16889
16887
  key: 5,
@@ -16891,14 +16889,14 @@ const k1 = {
16891
16889
  onClick: s[0] || (s[0] = (i) => f.value = !f.value)
16892
16890
  }, s[2] || (s[2] = [
16893
16891
  o("span", { class: "pi pi-arrow-up-right" }, null, -1)
16894
- ]))) : v("", !0),
16892
+ ]))) : b("", !0),
16895
16893
  (r(), K(yf, { to: "body" }, [
16896
16894
  R(P, { name: "modal-fade" }, {
16897
16895
  default: W(() => {
16898
16896
  var i;
16899
16897
  return [
16900
- f.value ? (r(), c("div", du, [
16901
- o("div", gu, [
16898
+ f.value ? (r(), c("div", cu, [
16899
+ o("div", du, [
16902
16900
  o("button", {
16903
16901
  class: "call-message__modal-close-button",
16904
16902
  onClick: s[1] || (s[1] = (l) => f.value = !1)
@@ -16914,18 +16912,18 @@ const k1 = {
16914
16912
  o("span", null, D(l.time), 1)
16915
16913
  ], 2))), 256))
16916
16914
  ])
16917
- ])) : v("", !0)
16915
+ ])) : b("", !0)
16918
16916
  ];
16919
16917
  }),
16920
16918
  _: 1
16921
16919
  })
16922
16920
  ]))
16923
16921
  ])
16924
- ], 10, tu)
16922
+ ], 10, fu)
16925
16923
  ]);
16926
16924
  };
16927
16925
  }
16928
- }), pu = /* @__PURE__ */ Q(mu, [["__scopeId", "data-v-8307ae2a"]]), hu = { class: "system-message" }, yu = { class: "system-message__container" }, Mu = { class: "system-message__text" }, vu = /* @__PURE__ */ Z({
16926
+ }), mu = /* @__PURE__ */ Q(gu, [["__scopeId", "data-v-8307ae2a"]]), pu = { class: "system-message" }, hu = { class: "system-message__container" }, yu = { class: "system-message__text" }, Mu = /* @__PURE__ */ Z({
16929
16927
  __name: "SystemMessage",
16930
16928
  props: {
16931
16929
  message: {
@@ -16934,16 +16932,16 @@ const k1 = {
16934
16932
  }
16935
16933
  },
16936
16934
  setup(e) {
16937
- return (f, t) => (r(), c("div", hu, [
16938
- o("div", yu, [
16939
- o("p", Mu, D(e.message.text), 1)
16935
+ return (f, t) => (r(), c("div", pu, [
16936
+ o("div", hu, [
16937
+ o("p", yu, D(e.message.text), 1)
16940
16938
  ])
16941
16939
  ]));
16942
16940
  }
16943
- }), bu = /* @__PURE__ */ Q(vu, [["__scopeId", "data-v-d0876c1e"]]), _u = { class: "typing-message" }, Iu = { class: "typing-message__container" }, wu = ["src"], ku = {
16941
+ }), vu = /* @__PURE__ */ Q(Mu, [["__scopeId", "data-v-d0876c1e"]]), bu = { class: "typing-message" }, _u = { class: "typing-message__container" }, Iu = ["src"], wu = {
16944
16942
  key: 1,
16945
16943
  class: "typing-message__subtext"
16946
- }, Nu = /* @__PURE__ */ Z({
16944
+ }, ku = /* @__PURE__ */ Z({
16947
16945
  __name: "TypingMessage",
16948
16946
  props: {
16949
16947
  message: {
@@ -16952,8 +16950,8 @@ const k1 = {
16952
16950
  }
16953
16951
  },
16954
16952
  setup(e) {
16955
- return (f, t) => (r(), c("div", _u, [
16956
- o("div", Iu, [
16953
+ return (f, t) => (r(), c("div", bu, [
16954
+ o("div", _u, [
16957
16955
  e.message.avatar ? (r(), c("img", {
16958
16956
  key: 0,
16959
16957
  class: "typing-message__avatar",
@@ -16961,23 +16959,23 @@ const k1 = {
16961
16959
  height: "32",
16962
16960
  width: "32",
16963
16961
  style: J({ gridRow: e.message.subText ? "2" : "1" })
16964
- }, null, 12, wu)) : v("", !0),
16965
- e.message.subText ? (r(), c("p", ku, D(e.message.subText), 1)) : v("", !0),
16962
+ }, null, 12, Iu)) : b("", !0),
16963
+ e.message.subText ? (r(), c("p", wu, D(e.message.subText), 1)) : b("", !0),
16966
16964
  t[0] || (t[0] = o("div", { class: "typing-message__loader-container" }, [
16967
16965
  o("div", { class: "typing-message__loader" })
16968
16966
  ], -1))
16969
16967
  ])
16970
16968
  ]));
16971
16969
  }
16972
- }), Qn = /* @__PURE__ */ Q(Nu, [["__scopeId", "data-v-88389095"]]), Du = { class: "modal-backdrop" }, ju = {
16970
+ }), Qn = /* @__PURE__ */ Q(ku, [["__scopeId", "data-v-88389095"]]), Nu = { class: "modal-backdrop" }, Du = {
16973
16971
  class: "modal",
16974
16972
  role: "dialog",
16975
16973
  "aria-labelledby": "modalTitle",
16976
16974
  "aria-describedby": "modalDescription"
16977
- }, Eu = {
16975
+ }, ju = {
16978
16976
  id: "modalDescription",
16979
16977
  class: "modal-body"
16980
- }, Tu = { class: "buttons" }, Vu = {
16978
+ }, Eu = { class: "buttons" }, Tu = {
16981
16979
  __name: "Modal",
16982
16980
  emits: ["close", "submit"],
16983
16981
  setup(e, { emit: f }) {
@@ -16986,12 +16984,12 @@ const k1 = {
16986
16984
  }, a = I(null);
16987
16985
  return (s, A) => (r(), K(P, { name: "modal-fade" }, {
16988
16986
  default: W(() => [
16989
- o("div", Du, [
16990
- o("div", ju, [
16991
- o("div", Eu, [
16987
+ o("div", Nu, [
16988
+ o("div", Du, [
16989
+ o("div", ju, [
16992
16990
  te(s.$slots, "default", {}, void 0, !0)
16993
16991
  ]),
16994
- o("div", Tu, [
16992
+ o("div", Eu, [
16995
16993
  o("button", {
16996
16994
  type: "button",
16997
16995
  class: "btn-green",
@@ -17011,7 +17009,7 @@ const k1 = {
17011
17009
  _: 3
17012
17010
  }));
17013
17011
  }
17014
- }, xu = /* @__PURE__ */ Q(Vu, [["__scopeId", "data-v-d48a1772"]]);
17012
+ }, Vu = /* @__PURE__ */ Q(Tu, [["__scopeId", "data-v-d48a1772"]]);
17015
17013
  function on({ component: e, attrs: f }) {
17016
17014
  return new Promise((t) => {
17017
17015
  const n = document.createElement("div");
@@ -17026,7 +17024,7 @@ function on({ component: e, attrs: f }) {
17026
17024
  }, l = Z({
17027
17025
  render() {
17028
17026
  return yn(
17029
- xu,
17027
+ Vu,
17030
17028
  {
17031
17029
  onSubmit: A,
17032
17030
  onClose: s
@@ -17046,17 +17044,17 @@ function on({ component: e, attrs: f }) {
17046
17044
  u.mount(n);
17047
17045
  });
17048
17046
  }
17049
- const vc = async (e, f) => {
17047
+ const Mc = async (e, f) => {
17050
17048
  const t = await on({
17051
17049
  //в component должен быть встроен emit change(key: value)
17052
- component: import("./SelectUser2-uciRl1cd.js"),
17050
+ component: import("./SelectUser2-CUi7WZKk.js"),
17053
17051
  attrs: {
17054
17052
  title: e,
17055
17053
  users: f
17056
17054
  }
17057
17055
  });
17058
17056
  return console.log("data", t), t;
17059
- }, bc = async (e) => {
17057
+ }, vc = async (e) => {
17060
17058
  const f = await on({
17061
17059
  //в component должен быть встроен emit change(key: value)
17062
17060
  component: import("./CreateChat-fkFKBxtQ.js"),
@@ -17065,13 +17063,13 @@ const vc = async (e, f) => {
17065
17063
  }
17066
17064
  });
17067
17065
  return console.log("data", f), f;
17068
- }, _c = async (e) => await on({
17066
+ }, bc = async (e) => await on({
17069
17067
  //в component должен быть встроен emit change(key: value)
17070
17068
  component: import("./CreateChat2-DgUQ2F5L.js"),
17071
17069
  attrs: {
17072
17070
  title: e
17073
17071
  }
17074
- }), Su = ["id"], Ic = {
17072
+ }), xu = ["id"], _c = {
17075
17073
  __name: "BaseContainer",
17076
17074
  props: {
17077
17075
  height: String,
@@ -17080,7 +17078,7 @@ const vc = async (e, f) => {
17080
17078
  setup(e) {
17081
17079
  const f = Rt();
17082
17080
  return Yt("chatAppId", f), (t, n) => (r(), c("div", {
17083
- id: S(f),
17081
+ id: C(f),
17084
17082
  class: "base"
17085
17083
  }, [
17086
17084
  o("div", {
@@ -17089,9 +17087,9 @@ const vc = async (e, f) => {
17089
17087
  }, [
17090
17088
  te(t.$slots, "default")
17091
17089
  ], 4)
17092
- ], 8, Su));
17090
+ ], 8, xu));
17093
17091
  }
17094
- }, Cu = ["id"], zu = { class: "float-window__container" }, Ou = ["src", "alt"], Lu = { class: "float-window__title" }, Uu = {
17092
+ }, Su = ["id"], Cu = { class: "float-window__container" }, zu = ["src", "alt"], Ou = { class: "float-window__title" }, Lu = {
17095
17093
  __name: "FloatContainer",
17096
17094
  props: {
17097
17095
  title: {
@@ -17138,7 +17136,7 @@ const vc = async (e, f) => {
17138
17136
  );
17139
17137
  }), u.value = a.value.offsetHeight - s.value.offsetHeight;
17140
17138
  }), (h, M) => (r(), c("div", {
17141
- id: S(g),
17139
+ id: C(g),
17142
17140
  ref_key: "element",
17143
17141
  ref: a,
17144
17142
  class: "float-window",
@@ -17151,7 +17149,7 @@ const vc = async (e, f) => {
17151
17149
  display: "flex"
17152
17150
  })
17153
17151
  }, [
17154
- o("div", zu, [
17152
+ o("div", Cu, [
17155
17153
  o("div", {
17156
17154
  ref_key: "container",
17157
17155
  ref: s,
@@ -17166,8 +17164,8 @@ const vc = async (e, f) => {
17166
17164
  class: "float-window__avatar",
17167
17165
  src: t.avatar,
17168
17166
  alt: t.title
17169
- }, null, 8, Ou)) : v("", !0),
17170
- o("p", Lu, D(t.title), 1),
17167
+ }, null, 8, zu)) : b("", !0),
17168
+ o("p", Ou, D(t.title), 1),
17171
17169
  o("button", {
17172
17170
  class: "float-window__close-button",
17173
17171
  onClick: M[0] || (M[0] = (y) => h.$emit("close-window"))
@@ -17182,20 +17180,20 @@ const vc = async (e, f) => {
17182
17180
  te(h.$slots, "default", {}, void 0, !0)
17183
17181
  ], 4)
17184
17182
  ])
17185
- ], 12, Cu));
17183
+ ], 12, Su));
17186
17184
  }
17187
- }, wc = /* @__PURE__ */ Q(Uu, [["__scopeId", "data-v-b0994783"]]), Bu = {}, Qu = { class: "base-layout__container" }, Ru = { class: "base-layout__first-col" }, Yu = { class: "base-layout__second-col" };
17188
- function qu(e, f) {
17189
- return r(), c("div", Qu, [
17190
- o("div", Ru, [
17185
+ }, Ic = /* @__PURE__ */ Q(Lu, [["__scopeId", "data-v-b0994783"]]), Uu = {}, Bu = { class: "base-layout__container" }, Qu = { class: "base-layout__first-col" }, Ru = { class: "base-layout__second-col" };
17186
+ function Yu(e, f) {
17187
+ return r(), c("div", Bu, [
17188
+ o("div", Qu, [
17191
17189
  te(e.$slots, "first-col", {}, void 0, !0)
17192
17190
  ]),
17193
- o("div", Yu, [
17191
+ o("div", Ru, [
17194
17192
  te(e.$slots, "second-col", {}, void 0, !0)
17195
17193
  ])
17196
17194
  ]);
17197
17195
  }
17198
- const kc = /* @__PURE__ */ Q(Bu, [["render", qu], ["__scopeId", "data-v-a5df3fcf"]]), $u = { class: "extend-layout__container" }, Hu = { class: "extend-layout__first-col" }, Fu = { class: "extend-layout__third-col" }, Pu = {
17196
+ const wc = /* @__PURE__ */ Q(Uu, [["render", Yu], ["__scopeId", "data-v-a5df3fcf"]]), qu = { class: "extend-layout__container" }, $u = { class: "extend-layout__first-col" }, Hu = { class: "extend-layout__third-col" }, Fu = {
17199
17197
  __name: "ExtendedLayout",
17200
17198
  setup(e) {
17201
17199
  const f = I(null);
@@ -17212,40 +17210,40 @@ const kc = /* @__PURE__ */ Q(Bu, [["render", qu], ["__scopeId", "data-v-a5df3fcf
17212
17210
  };
17213
17211
  return we(() => {
17214
17212
  f.value && (f.value.style.width = "350px");
17215
- }), (u, g) => (r(), c("div", $u, [
17216
- o("div", Hu, [
17213
+ }), (u, g) => (r(), c("div", qu, [
17214
+ o("div", $u, [
17217
17215
  te(u.$slots, "first-col", {}, void 0, !0)
17218
17216
  ]),
17219
17217
  o("div", {
17220
17218
  ref_key: "resizableDiv",
17221
17219
  ref: f,
17222
17220
  class: "extend-layout__second-col resizable-div",
17223
- style: J({ userSelect: S(t) ? "none" : "auto" }),
17221
+ style: J({ userSelect: C(t) ? "none" : "auto" }),
17224
17222
  onMousedown: A,
17225
17223
  onMouseup: l
17226
17224
  }, [
17227
17225
  te(u.$slots, "second-col", {}, void 0, !0)
17228
17226
  ], 36),
17229
- o("div", Fu, [
17227
+ o("div", Hu, [
17230
17228
  te(u.$slots, "third-col", {}, void 0, !0)
17231
17229
  ])
17232
17230
  ]));
17233
17231
  }
17234
- }, Nc = /* @__PURE__ */ Q(Pu, [["__scopeId", "data-v-7c3b977d"]]), Wu = {}, Ku = { class: "base-layout__container" }, Ju = { class: "base-layout__first-col" };
17235
- function Gu(e, f) {
17236
- return r(), c("div", Ku, [
17237
- o("div", Ju, [
17232
+ }, kc = /* @__PURE__ */ Q(Fu, [["__scopeId", "data-v-7c3b977d"]]), Pu = {}, Wu = { class: "base-layout__container" }, Ku = { class: "base-layout__first-col" };
17233
+ function Ju(e, f) {
17234
+ return r(), c("div", Wu, [
17235
+ o("div", Ku, [
17238
17236
  te(e.$slots, "default", {}, void 0, !0)
17239
17237
  ])
17240
17238
  ]);
17241
17239
  }
17242
- const Dc = /* @__PURE__ */ Q(Wu, [["render", Gu], ["__scopeId", "data-v-e71ea0ed"]]), Zu = { class: "chat-wrapper" }, Xu = {
17240
+ const Nc = /* @__PURE__ */ Q(Pu, [["render", Ju], ["__scopeId", "data-v-e71ea0ed"]]), Gu = { class: "chat-wrapper" }, Zu = {
17243
17241
  key: 0,
17244
17242
  class: "chat-wrapper__selected-chat"
17245
- }, ec = {
17243
+ }, Xu = {
17246
17244
  key: 1,
17247
17245
  style: { width: "100%" }
17248
- }, fc = /* @__PURE__ */ Z({
17246
+ }, ec = /* @__PURE__ */ Z({
17249
17247
  __name: "ChatWrapper",
17250
17248
  props: {
17251
17249
  isOpenChatPanel: {
@@ -17258,11 +17256,11 @@ const Dc = /* @__PURE__ */ Q(Wu, [["render", Gu], ["__scopeId", "data-v-e71ea0ed
17258
17256
  }
17259
17257
  },
17260
17258
  setup(e) {
17261
- return (f, t) => (r(), c("div", Zu, [
17262
- e.isSelectedChat ? (r(), c("div", Xu, [
17259
+ return (f, t) => (r(), c("div", Gu, [
17260
+ e.isSelectedChat ? (r(), c("div", Zu, [
17263
17261
  te(f.$slots, "default", {}, void 0, !0)
17264
- ])) : (r(), c("div", ec, [
17265
- o("p", null, D(S(Oe)("layout.ChatWrapper.noSelectedChat")), 1)
17262
+ ])) : (r(), c("div", Xu, [
17263
+ o("p", null, D(C(Oe)("layout.ChatWrapper.noSelectedChat")), 1)
17266
17264
  ])),
17267
17265
  e.isOpenChatPanel ? (r(), c("div", {
17268
17266
  key: 2,
@@ -17270,53 +17268,53 @@ const Dc = /* @__PURE__ */ Q(Wu, [["render", Gu], ["__scopeId", "data-v-e71ea0ed
17270
17268
  style: J({ "flex-basis": e.isOpenChatPanel ? "40%" : "0%" })
17271
17269
  }, [
17272
17270
  te(f.$slots, "chatpanel", {}, void 0, !0)
17273
- ], 4)) : v("", !0)
17271
+ ], 4)) : b("", !0)
17274
17272
  ]));
17275
17273
  }
17276
- }), jc = /* @__PURE__ */ Q(fc, [["__scopeId", "data-v-12c6a622"]]);
17274
+ }), Dc = /* @__PURE__ */ Q(ec, [["__scopeId", "data-v-12c6a622"]]);
17277
17275
  export {
17278
- Sr as A,
17276
+ xr as A,
17279
17277
  fa as B,
17280
- pu as C,
17281
- Ur as D,
17282
- Nc as E,
17278
+ mu as C,
17279
+ Lr as D,
17280
+ kc as E,
17283
17281
  $1 as F,
17284
- lc as G,
17285
- rc as H,
17282
+ oc as G,
17283
+ lc as H,
17286
17284
  Ar as I,
17287
- uc as J,
17285
+ rc as J,
17288
17286
  Nn as K,
17289
17287
  Ke as L,
17290
17288
  Je as M,
17291
- bu as S,
17292
- pr as T,
17293
- ic as U,
17294
- eu as V,
17289
+ vu as S,
17290
+ mr as T,
17291
+ Ac as U,
17292
+ Xr as V,
17295
17293
  Q as _,
17296
17294
  Qn as a,
17297
- nc as b,
17298
- ac as c,
17299
- sc as d,
17300
- Ac as e,
17301
- cc as f,
17302
- dc as g,
17303
- gc as h,
17304
- mc as i,
17305
- pc as j,
17295
+ tc as b,
17296
+ nc as c,
17297
+ ac as d,
17298
+ sc as e,
17299
+ uc as f,
17300
+ cc as g,
17301
+ dc as h,
17302
+ gc as i,
17303
+ mc as j,
17306
17304
  Nt as k,
17307
17305
  FA as l,
17308
17306
  gi as m,
17309
- hc as n,
17310
- yc as o,
17311
- Mc as p,
17307
+ pc as n,
17308
+ hc as o,
17309
+ yc as p,
17312
17310
  Ve as q,
17313
- bc as r,
17314
- _c as s,
17315
- Ic as t,
17316
- vc as u,
17317
- wc as v,
17318
- kc as w,
17319
- Dc as x,
17320
- jc as y,
17321
- oc as z
17311
+ vc as r,
17312
+ bc as s,
17313
+ _c as t,
17314
+ Mc as u,
17315
+ Ic as v,
17316
+ wc as w,
17317
+ Nc as x,
17318
+ Dc as y,
17319
+ ic as z
17322
17320
  };