@mobilon-dev/chotto 0.0.77 → 0.0.78

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,20 +1,20 @@
1
- import { inject as ie, openBlock as r, createElementBlock as c, createElementVNode as o, toDisplayString as N, createCommentVNode as b, renderSlot as ne, unref as z, ref as M, customRef as $n, defineComponent as P, watch as J, nextTick as At, withDirectives as re, withKeys as qn, vModelText as Pe, normalizeClass as C, createVNode as $, Transition as W, withCtx as K, createBlock as R, Fragment as q, renderList as Z, computed as F, onUpdated as Va, resolveDynamicComponent as Fn, Teleport as ze, normalizeStyle as ee, useId as Ff, onMounted as oe, onUnmounted as et, toRef as Sa, vModelRadio as Pn, createTextVNode as Hn, reactive as Wn, provide as hf, getCurrentInstance as Ca, toRaw as Kn, onBeforeUnmount as za, readonly as Oa, vShow as yt, resolveComponent as Lt, isRef as La, withModifiers as vt, h as Mn, defineAsyncComponent as Ua, createApp as Ba } from "vue";
1
+ import { inject as ie, openBlock as r, createElementBlock as c, createElementVNode as o, toDisplayString as N, createCommentVNode as b, renderSlot as ne, unref as C, ref as M, customRef as $n, defineComponent as P, watch as J, nextTick as At, withDirectives as re, withKeys as Fn, vModelText as Pe, normalizeClass as O, createVNode as $, Transition as W, withCtx as K, createBlock as R, Fragment as q, renderList as Z, computed as F, onUpdated as Va, resolveDynamicComponent as qn, Teleport as ze, normalizeStyle as ee, useId as qf, onMounted as oe, onUnmounted as et, toRef as Sa, vModelRadio as Pn, createTextVNode as Hn, reactive as Wn, provide as hf, getCurrentInstance as Ca, toRaw as Kn, onBeforeUnmount as Oa, readonly as za, vShow as yt, resolveComponent as Lt, isRef as La, withModifiers as vt, h as Mn, defineAsyncComponent as Ua, createApp as Ba } from "vue";
2
2
  const Qa = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", Ra = "ελ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", He = (e, t) => {
3
3
  for (const f in t)
4
4
  e[f] = t[f];
5
5
  return e;
6
- }, Cf = "numeric", zf = "ascii", Of = "alpha", rt = "asciinumeric", lt = "alphanumeric", Lf = "domain", Jn = "emoji", Ya = "scheme", $a = "slashscheme", kf = "whitespace";
7
- function qa(e, t) {
6
+ }, Cf = "numeric", Of = "ascii", zf = "alpha", rt = "asciinumeric", lt = "alphanumeric", Lf = "domain", Jn = "emoji", Ya = "scheme", $a = "slashscheme", kf = "whitespace";
7
+ function Fa(e, t) {
8
8
  return e in t || (t[e] = []), t[e];
9
9
  }
10
- function Qe(e, t, f) {
11
- t[Cf] && (t[rt] = !0, t[lt] = !0), t[zf] && (t[rt] = !0, t[Of] = !0), t[rt] && (t[lt] = !0), t[Of] && (t[lt] = !0), t[lt] && (t[Lf] = !0), t[Jn] && (t[Lf] = !0);
10
+ function Re(e, t, f) {
11
+ t[Cf] && (t[rt] = !0, t[lt] = !0), t[Of] && (t[rt] = !0, t[zf] = !0), t[rt] && (t[lt] = !0), t[zf] && (t[lt] = !0), t[lt] && (t[Lf] = !0), t[Jn] && (t[Lf] = !0);
12
12
  for (const n in t) {
13
- const a = qa(n, f);
13
+ const a = Fa(n, f);
14
14
  a.indexOf(e) < 0 && a.push(e);
15
15
  }
16
16
  }
17
- function Fa(e, t) {
17
+ function qa(e, t) {
18
18
  const f = {};
19
19
  for (const n in t)
20
20
  t[n].indexOf(e) >= 0 && (f[n] = !0);
@@ -79,7 +79,7 @@ Ae.prototype = {
79
79
  tr(e, t, f, n) {
80
80
  n = n || Ae.groups;
81
81
  let a;
82
- return t && t.j ? a = t : (a = new Ae(t), f && n && Qe(t, f, n)), this.jr.push([e, a]), a;
82
+ return t && t.j ? a = t : (a = new Ae(t), f && n && Re(t, f, n)), this.jr.push([e, a]), a;
83
83
  },
84
84
  /**
85
85
  * Short for "take transitions", will take as many sequential transitions as
@@ -136,18 +136,18 @@ Ae.prototype = {
136
136
  if (l ? (i = new Ae(), He(i.j, l.j), i.jr.push.apply(i.jr, l.jr), i.jd = l.jd, i.t = l.t) : i = new Ae(), s) {
137
137
  if (n)
138
138
  if (i.t && typeof i.t == "string") {
139
- const u = He(Fa(i.t, n), f);
140
- Qe(s, u, n);
141
- } else f && Qe(s, f, n);
139
+ const u = He(qa(i.t, n), f);
140
+ Re(s, u, n);
141
+ } else f && Re(s, f, n);
142
142
  i.t = s;
143
143
  }
144
144
  return a.j[e] = i, i;
145
145
  }
146
146
  };
147
- const Y = (e, t, f, n, a) => e.ta(t, f, n, a), G = (e, t, f, n, a) => e.tr(t, f, n, a), _n = (e, t, f, n, a) => e.ts(t, f, n, a), _ = (e, t, f, n, a) => e.tt(t, f, n, a), Ee = "WORD", Uf = "UWORD", Gn = "ASCIINUMERICAL", Zn = "ALPHANUMERICAL", bt = "LOCALHOST", Bf = "TLD", Qf = "UTLD", Ut = "SCHEME", Fe = "SLASH_SCHEME", Pf = "NUM", Rf = "WS", Hf = "NL", ut = "OPENBRACE", ct = "CLOSEBRACE", Rt = "OPENBRACKET", Yt = "CLOSEBRACKET", $t = "OPENPAREN", qt = "CLOSEPAREN", Ft = "OPENANGLEBRACKET", Pt = "CLOSEANGLEBRACKET", Ht = "FULLWIDTHLEFTPAREN", Wt = "FULLWIDTHRIGHTPAREN", Kt = "LEFTCORNERBRACKET", Jt = "RIGHTCORNERBRACKET", Gt = "LEFTWHITECORNERBRACKET", Zt = "RIGHTWHITECORNERBRACKET", Xt = "FULLWIDTHLESSTHAN", ef = "FULLWIDTHGREATERTHAN", tf = "AMPERSAND", Wf = "APOSTROPHE", ff = "ASTERISK", Ve = "AT", nf = "BACKSLASH", af = "BACKTICK", sf = "CARET", Se = "COLON", Kf = "COMMA", of = "DOLLAR", Me = "DOT", lf = "EQUALS", Jf = "EXCLAMATION", ge = "HYPHEN", dt = "PERCENT", Af = "PIPE", rf = "PLUS", uf = "POUND", gt = "QUERY", Gf = "QUOTE", Xn = "FULLWIDTHMIDDLEDOT", Zf = "SEMI", _e = "SLASH", mt = "TILDE", cf = "UNDERSCORE", ea = "EMOJI", df = "SYM";
147
+ const Y = (e, t, f, n, a) => e.ta(t, f, n, a), G = (e, t, f, n, a) => e.tr(t, f, n, a), _n = (e, t, f, n, a) => e.ts(t, f, n, a), _ = (e, t, f, n, a) => e.tt(t, f, n, a), Te = "WORD", Uf = "UWORD", Gn = "ASCIINUMERICAL", Zn = "ALPHANUMERICAL", bt = "LOCALHOST", Bf = "TLD", Qf = "UTLD", Ut = "SCHEME", qe = "SLASH_SCHEME", Pf = "NUM", Rf = "WS", Hf = "NL", ut = "OPENBRACE", ct = "CLOSEBRACE", Rt = "OPENBRACKET", Yt = "CLOSEBRACKET", $t = "OPENPAREN", Ft = "CLOSEPAREN", qt = "OPENANGLEBRACKET", Pt = "CLOSEANGLEBRACKET", Ht = "FULLWIDTHLEFTPAREN", Wt = "FULLWIDTHRIGHTPAREN", Kt = "LEFTCORNERBRACKET", Jt = "RIGHTCORNERBRACKET", Gt = "LEFTWHITECORNERBRACKET", Zt = "RIGHTWHITECORNERBRACKET", Xt = "FULLWIDTHLESSTHAN", ef = "FULLWIDTHGREATERTHAN", tf = "AMPERSAND", Wf = "APOSTROPHE", ff = "ASTERISK", Se = "AT", nf = "BACKSLASH", af = "BACKTICK", sf = "CARET", Ce = "COLON", Kf = "COMMA", of = "DOLLAR", _e = "DOT", lf = "EQUALS", Jf = "EXCLAMATION", me = "HYPHEN", dt = "PERCENT", Af = "PIPE", rf = "PLUS", uf = "POUND", gt = "QUERY", Gf = "QUOTE", Xn = "FULLWIDTHMIDDLEDOT", Zf = "SEMI", Ie = "SLASH", mt = "TILDE", cf = "UNDERSCORE", ea = "EMOJI", df = "SYM";
148
148
  var ta = /* @__PURE__ */ Object.freeze({
149
149
  __proto__: null,
150
- WORD: Ee,
150
+ WORD: Te,
151
151
  UWORD: Uf,
152
152
  ASCIINUMERICAL: Gn,
153
153
  ALPHANUMERICAL: Zn,
@@ -155,7 +155,7 @@ var ta = /* @__PURE__ */ Object.freeze({
155
155
  TLD: Bf,
156
156
  UTLD: Qf,
157
157
  SCHEME: Ut,
158
- SLASH_SCHEME: Fe,
158
+ SLASH_SCHEME: qe,
159
159
  NUM: Pf,
160
160
  WS: Rf,
161
161
  NL: Hf,
@@ -164,8 +164,8 @@ var ta = /* @__PURE__ */ Object.freeze({
164
164
  OPENBRACKET: Rt,
165
165
  CLOSEBRACKET: Yt,
166
166
  OPENPAREN: $t,
167
- CLOSEPAREN: qt,
168
- OPENANGLEBRACKET: Ft,
167
+ CLOSEPAREN: Ft,
168
+ OPENANGLEBRACKET: qt,
169
169
  CLOSEANGLEBRACKET: Pt,
170
170
  FULLWIDTHLEFTPAREN: Ht,
171
171
  FULLWIDTHRIGHTPAREN: Wt,
@@ -178,17 +178,17 @@ var ta = /* @__PURE__ */ Object.freeze({
178
178
  AMPERSAND: tf,
179
179
  APOSTROPHE: Wf,
180
180
  ASTERISK: ff,
181
- AT: Ve,
181
+ AT: Se,
182
182
  BACKSLASH: nf,
183
183
  BACKTICK: af,
184
184
  CARET: sf,
185
- COLON: Se,
185
+ COLON: Ce,
186
186
  COMMA: Kf,
187
187
  DOLLAR: of,
188
- DOT: Me,
188
+ DOT: _e,
189
189
  EQUALS: lf,
190
190
  EXCLAMATION: Jf,
191
- HYPHEN: ge,
191
+ HYPHEN: me,
192
192
  PERCENT: dt,
193
193
  PIPE: Af,
194
194
  PLUS: rf,
@@ -197,36 +197,36 @@ var ta = /* @__PURE__ */ Object.freeze({
197
197
  QUOTE: Gf,
198
198
  FULLWIDTHMIDDLEDOT: Xn,
199
199
  SEMI: Zf,
200
- SLASH: _e,
200
+ SLASH: Ie,
201
201
  TILDE: mt,
202
202
  UNDERSCORE: cf,
203
203
  EMOJI: ea,
204
204
  SYM: df
205
205
  });
206
- const De = /[a-z]/, it = new RegExp("\\p{L}", "u"), wf = new RegExp("\\p{Emoji}", "u"), je = /\d/, Nf = /\s/, In = "\r", Df = `
206
+ const je = /[a-z]/, it = new RegExp("\\p{L}", "u"), wf = new RegExp("\\p{Emoji}", "u"), Ee = /\d/, Nf = /\s/, In = "\r", Df = `
207
207
  `, Pa = "️", Ha = "‍", jf = "";
208
208
  let Vt = null, St = null;
209
209
  function Wa(e = []) {
210
210
  const t = {};
211
211
  Ae.groups = t;
212
212
  const f = new Ae();
213
- Vt == null && (Vt = kn(Qa)), St == null && (St = kn(Ra)), _(f, "'", Wf), _(f, "{", ut), _(f, "}", ct), _(f, "[", Rt), _(f, "]", Yt), _(f, "(", $t), _(f, ")", qt), _(f, "<", Ft), _(f, ">", Pt), _(f, "(", Ht), _(f, ")", Wt), _(f, "「", Kt), _(f, "」", Jt), _(f, "『", Gt), _(f, "』", Zt), _(f, "<", Xt), _(f, ">", ef), _(f, "&", tf), _(f, "*", ff), _(f, "@", Ve), _(f, "`", af), _(f, "^", sf), _(f, ":", Se), _(f, ",", Kf), _(f, "$", of), _(f, ".", Me), _(f, "=", lf), _(f, "!", Jf), _(f, "-", ge), _(f, "%", dt), _(f, "|", Af), _(f, "+", rf), _(f, "#", uf), _(f, "?", gt), _(f, '"', Gf), _(f, "/", _e), _(f, ";", Zf), _(f, "~", mt), _(f, "_", cf), _(f, "\\", nf), _(f, "・", Xn);
214
- const n = G(f, je, Pf, {
213
+ Vt == null && (Vt = kn(Qa)), St == null && (St = kn(Ra)), _(f, "'", Wf), _(f, "{", ut), _(f, "}", ct), _(f, "[", Rt), _(f, "]", Yt), _(f, "(", $t), _(f, ")", Ft), _(f, "<", qt), _(f, ">", Pt), _(f, "(", Ht), _(f, ")", Wt), _(f, "「", Kt), _(f, "」", Jt), _(f, "『", Gt), _(f, "』", Zt), _(f, "<", Xt), _(f, ">", ef), _(f, "&", tf), _(f, "*", ff), _(f, "@", Se), _(f, "`", af), _(f, "^", sf), _(f, ":", Ce), _(f, ",", Kf), _(f, "$", of), _(f, ".", _e), _(f, "=", lf), _(f, "!", Jf), _(f, "-", me), _(f, "%", dt), _(f, "|", Af), _(f, "+", rf), _(f, "#", uf), _(f, "?", gt), _(f, '"', Gf), _(f, "/", Ie), _(f, ";", Zf), _(f, "~", mt), _(f, "_", cf), _(f, "\\", nf), _(f, "・", Xn);
214
+ const n = G(f, Ee, Pf, {
215
215
  [Cf]: !0
216
216
  });
217
- G(n, je, n);
218
- const a = G(n, De, Gn, {
217
+ G(n, Ee, n);
218
+ const a = G(n, je, Gn, {
219
219
  [rt]: !0
220
220
  }), s = G(n, it, Zn, {
221
221
  [lt]: !0
222
- }), i = G(f, De, Ee, {
223
- [zf]: !0
222
+ }), i = G(f, je, Te, {
223
+ [Of]: !0
224
224
  });
225
- G(i, je, a), G(i, De, i), G(a, je, a), G(a, De, a);
225
+ G(i, Ee, a), G(i, je, i), G(a, Ee, a), G(a, je, a);
226
226
  const l = G(f, it, Uf, {
227
- [Of]: !0
227
+ [zf]: !0
228
228
  });
229
- G(l, De), G(l, je, s), G(l, it, l), G(s, je, s), G(s, De), G(s, it, s);
229
+ G(l, je), G(l, Ee, s), G(l, it, l), G(s, Ee, s), G(s, je), G(s, it, s);
230
230
  const u = _(f, Df, Hf, {
231
231
  [kf]: !0
232
232
  }), A = _(f, In, Rf, {
@@ -241,21 +241,21 @@ function Wa(e = []) {
241
241
  _(d, "#"), G(d, wf, d), _(d, Pa, d);
242
242
  const p = _(d, Ha);
243
243
  _(p, "#"), G(p, wf, d);
244
- const m = [[De, i], [je, a]], v = [[De, null], [it, l], [je, s]];
244
+ const m = [[je, i], [Ee, a]], v = [[je, null], [it, l], [Ee, s]];
245
245
  for (let y = 0; y < Vt.length; y++)
246
- xe(f, Vt[y], Bf, Ee, m);
246
+ Ve(f, Vt[y], Bf, Te, m);
247
247
  for (let y = 0; y < St.length; y++)
248
- xe(f, St[y], Qf, Uf, v);
249
- Qe(Bf, {
248
+ Ve(f, St[y], Qf, Uf, v);
249
+ Re(Bf, {
250
250
  tld: !0,
251
251
  ascii: !0
252
- }, t), Qe(Qf, {
252
+ }, t), Re(Qf, {
253
253
  utld: !0,
254
254
  alpha: !0
255
- }, t), xe(f, "file", Ut, Ee, m), xe(f, "mailto", Ut, Ee, m), xe(f, "http", Fe, Ee, m), xe(f, "https", Fe, Ee, m), xe(f, "ftp", Fe, Ee, m), xe(f, "ftps", Fe, Ee, m), Qe(Ut, {
255
+ }, t), Ve(f, "file", Ut, Te, m), Ve(f, "mailto", Ut, Te, m), Ve(f, "http", qe, Te, m), Ve(f, "https", qe, Te, m), Ve(f, "ftp", qe, Te, m), Ve(f, "ftps", qe, Te, m), Re(Ut, {
256
256
  scheme: !0,
257
257
  ascii: !0
258
- }, t), Qe(Fe, {
258
+ }, t), Re(qe, {
259
259
  slashscheme: !0,
260
260
  ascii: !0
261
261
  }, t), e = e.sort((y, h) => y[0] > h[0] ? 1 : -1);
@@ -265,7 +265,7 @@ function Wa(e = []) {
265
265
  } : {
266
266
  [$a]: !0
267
267
  };
268
- h.indexOf("-") >= 0 ? T[Lf] = !0 : De.test(h) ? je.test(h) ? T[rt] = !0 : T[zf] = !0 : T[Cf] = !0, _n(f, h, h, T);
268
+ h.indexOf("-") >= 0 ? T[Lf] = !0 : je.test(h) ? Ee.test(h) ? T[rt] = !0 : T[Of] = !0 : T[Cf] = !0, _n(f, h, h, T);
269
269
  }
270
270
  return _n(f, "localhost", bt, {
271
271
  ascii: !0
@@ -305,7 +305,7 @@ function Ka(e) {
305
305
  }
306
306
  return t;
307
307
  }
308
- function xe(e, t, f, n, a) {
308
+ function Ve(e, t, f, n, a) {
309
309
  let s;
310
310
  const i = t.length;
311
311
  for (let l = 0; l < i - 1; l++) {
@@ -560,48 +560,48 @@ const Nn = yf("email", {
560
560
  */
561
561
  hasProtocol() {
562
562
  const e = this.tk;
563
- return e.length >= 2 && e[0].t !== bt && e[1].t === Se;
563
+ return e.length >= 2 && e[0].t !== bt && e[1].t === Ce;
564
564
  }
565
- }), ce = (e) => new Ae(e);
565
+ }), de = (e) => new Ae(e);
566
566
  function Ga({
567
567
  groups: e
568
568
  }) {
569
- const t = e.domain.concat([tf, ff, Ve, nf, af, sf, of, lf, ge, Pf, dt, Af, rf, uf, _e, df, mt, cf]), f = [Se, Kf, Me, Jf, dt, gt, Gf, Zf, Ft, Pt, ut, ct, Yt, Rt, $t, qt, Ht, Wt, Kt, Jt, Gt, Zt, Xt, ef], n = [tf, Wf, ff, nf, af, sf, of, lf, ge, ut, ct, dt, Af, rf, uf, gt, _e, df, mt, cf], a = ce(), s = _(a, mt);
569
+ const t = e.domain.concat([tf, ff, Se, nf, af, sf, of, lf, me, Pf, dt, Af, rf, uf, Ie, df, mt, cf]), f = [Ce, Kf, _e, Jf, dt, gt, Gf, Zf, qt, Pt, ut, ct, Yt, Rt, $t, Ft, Ht, Wt, Kt, Jt, Gt, Zt, Xt, ef], n = [tf, Wf, ff, nf, af, sf, of, lf, me, ut, ct, dt, Af, rf, uf, gt, Ie, df, mt, cf], a = de(), s = _(a, mt);
570
570
  Y(s, n, s), Y(s, e.domain, s);
571
- const i = ce(), l = ce(), u = ce();
571
+ const i = de(), l = de(), u = de();
572
572
  Y(a, e.domain, i), Y(a, e.scheme, l), Y(a, e.slashscheme, u), Y(i, n, s), Y(i, e.domain, i);
573
- const A = _(i, Ve);
574
- _(s, Ve, A), _(l, Ve, A), _(u, Ve, A);
575
- const g = _(s, Me);
573
+ const A = _(i, Se);
574
+ _(s, Se, A), _(l, Se, A), _(u, Se, A);
575
+ const g = _(s, _e);
576
576
  Y(g, n, s), Y(g, e.domain, s);
577
- const d = ce();
577
+ const d = de();
578
578
  Y(A, e.domain, d), Y(d, e.domain, d);
579
- const p = _(d, Me);
579
+ const p = _(d, _e);
580
580
  Y(p, e.domain, d);
581
- const m = ce(Nn);
581
+ const m = de(Nn);
582
582
  Y(p, e.tld, m), Y(p, e.utld, m), _(A, bt, m);
583
- const v = _(d, ge);
584
- _(v, ge, v), Y(v, e.domain, d), Y(m, e.domain, d), _(m, Me, p), _(m, ge, v);
585
- const y = _(m, Se);
583
+ const v = _(d, me);
584
+ _(v, me, v), Y(v, e.domain, d), Y(m, e.domain, d), _(m, _e, p), _(m, me, v);
585
+ const y = _(m, Ce);
586
586
  Y(y, e.numeric, Nn);
587
- const h = _(i, ge), E = _(i, Me);
588
- _(h, ge, h), Y(h, e.domain, i), Y(E, n, s), Y(E, e.domain, i);
589
- const T = ce(Ct);
590
- Y(E, e.tld, T), Y(E, e.utld, T), Y(T, e.domain, i), Y(T, n, s), _(T, Me, E), _(T, ge, h), _(T, Ve, A);
591
- const U = _(T, Se), V = ce(Ct);
587
+ const h = _(i, me), E = _(i, _e);
588
+ _(h, me, h), Y(h, e.domain, i), Y(E, n, s), Y(E, e.domain, i);
589
+ const T = de(Ct);
590
+ Y(E, e.tld, T), Y(E, e.utld, T), Y(T, e.domain, i), Y(T, n, s), _(T, _e, E), _(T, me, h), _(T, Se, A);
591
+ const U = _(T, Ce), V = de(Ct);
592
592
  Y(U, e.numeric, V);
593
- const k = ce(Ct), j = ce();
594
- Y(k, t, k), Y(k, f, j), Y(j, t, k), Y(j, f, j), _(T, _e, k), _(V, _e, k);
595
- const I = _(l, Se), w = _(u, Se), D = _(w, _e), x = _(D, _e);
596
- Y(l, e.domain, i), _(l, Me, E), _(l, ge, h), Y(u, e.domain, i), _(u, Me, E), _(u, ge, h), Y(I, e.domain, k), _(I, _e, k), _(I, gt, k), Y(x, e.domain, k), Y(x, t, k), _(x, _e, k);
593
+ const k = de(Ct), j = de();
594
+ Y(k, t, k), Y(k, f, j), Y(j, t, k), Y(j, f, j), _(T, Ie, k), _(V, Ie, k);
595
+ const I = _(l, Ce), w = _(u, Ce), D = _(w, Ie), x = _(D, Ie);
596
+ Y(l, e.domain, i), _(l, _e, E), _(l, me, h), Y(u, e.domain, i), _(u, _e, E), _(u, me, h), Y(I, e.domain, k), _(I, Ie, k), _(I, gt, k), Y(x, e.domain, k), Y(x, t, k), _(x, Ie, k);
597
597
  const Q = [
598
598
  [ut, ct],
599
599
  // {}
600
600
  [Rt, Yt],
601
601
  // []
602
- [$t, qt],
602
+ [$t, Ft],
603
603
  // ()
604
- [Ft, Pt],
604
+ [qt, Pt],
605
605
  // <>
606
606
  [Ht, Wt],
607
607
  // ()
@@ -613,12 +613,12 @@ function Ga({
613
613
  // <>
614
614
  ];
615
615
  for (let H = 0; H < Q.length; H++) {
616
- const [te, ue] = Q[H], le = _(k, te);
617
- _(j, te, le), _(le, ue, k);
618
- const S = ce(Ct);
616
+ const [te, ce] = Q[H], le = _(k, te);
617
+ _(j, te, le), _(le, ce, k);
618
+ const S = de(Ct);
619
619
  Y(le, t, S);
620
- const L = ce();
621
- Y(le, f), Y(S, t, S), Y(S, f, L), Y(L, t, S), Y(L, f, L), _(S, ue, k), _(L, ue, k);
620
+ const L = de();
621
+ Y(le, f), Y(S, t, S), Y(S, f, L), Y(L, t, S), Y(L, f, L), _(S, ce, k), _(L, ce, k);
622
622
  }
623
623
  return _(a, bt, T), _(a, Hf, Ja), {
624
624
  start: a,
@@ -694,7 +694,7 @@ function fs({
694
694
  }) {
695
695
  return `<${e} ${ts(t)}>${sa(f)}</${e}>`;
696
696
  }
697
- function ve(e, t = {}) {
697
+ function be(e, t = {}) {
698
698
  t = new Xf(t, fs);
699
699
  const f = aa(e), n = [];
700
700
  for (let a = 0; a < f.length; a++) {
@@ -707,10 +707,10 @@ function ve(e, t = {}) {
707
707
  String.prototype.linkify || Object.defineProperty(String.prototype, "linkify", {
708
708
  writable: !1,
709
709
  value: function(t) {
710
- return ve(this, t);
710
+ return be(this, t);
711
711
  }
712
712
  });
713
- const O = (e, t) => {
713
+ const z = (e, t) => {
714
714
  const f = e.__vccOpts || e;
715
715
  for (const [n, a] of t)
716
716
  f[n] = a;
@@ -755,23 +755,23 @@ const O = (e, t) => {
755
755
  ]),
756
756
  o("div", {
757
757
  class: "chat-info__search-panel",
758
- id: "chat-info-search-panel-" + z(n)
758
+ id: "chat-info-search-panel-" + C(n)
759
759
  }, [
760
760
  ne(a.$slots, "search", {}, void 0, !0)
761
761
  ], 8, cs)
762
762
  ])) : b("", !0);
763
763
  }
764
- }, md = /* @__PURE__ */ O(ds, [["__scopeId", "data-v-4eacd5b4"]]), de = M([]), $e = (e) => {
764
+ }, hd = /* @__PURE__ */ z(ds, [["__scopeId", "data-v-4eacd5b4"]]), ge = M([]), $e = (e) => {
765
765
  const t = M(0);
766
- let f = de.value.find(({ id: d }) => d == e);
767
- f != null ? t.value = de.value.indexOf(f) : (de.value.push({
766
+ let f = ge.value.find(({ id: d }) => d == e);
767
+ f != null ? t.value = ge.value.indexOf(f) : (ge.value.push({
768
768
  id: e,
769
769
  text: "",
770
770
  file: void 0,
771
771
  forceSend: !1
772
- }), t.value = de.value.length - 1);
772
+ }), t.value = ge.value.length - 1);
773
773
  const n = () => {
774
- de.value[t.value] = {
774
+ ge.value[t.value] = {
775
775
  id: A().id,
776
776
  text: "",
777
777
  file: void 0,
@@ -779,7 +779,7 @@ const O = (e, t) => {
779
779
  forceSend: !1
780
780
  };
781
781
  }, a = (d) => {
782
- de.value[t.value] = {
782
+ ge.value[t.value] = {
783
783
  id: A().id,
784
784
  text: d,
785
785
  file: A().file,
@@ -787,7 +787,7 @@ const O = (e, t) => {
787
787
  forceSend: !1
788
788
  };
789
789
  }, s = (d) => {
790
- de.value[t.value] = {
790
+ ge.value[t.value] = {
791
791
  id: A().id,
792
792
  text: A().text,
793
793
  file: d,
@@ -795,7 +795,7 @@ const O = (e, t) => {
795
795
  forceSend: !1
796
796
  };
797
797
  }, i = () => {
798
- de.value[t.value] = {
798
+ ge.value[t.value] = {
799
799
  id: A().id,
800
800
  text: A().text,
801
801
  file: void 0,
@@ -803,7 +803,7 @@ const O = (e, t) => {
803
803
  forceSend: !1
804
804
  };
805
805
  }, l = (d) => {
806
- de.value[t.value] = {
806
+ ge.value[t.value] = {
807
807
  id: A().id,
808
808
  text: A().text,
809
809
  file: A().file,
@@ -811,7 +811,7 @@ const O = (e, t) => {
811
811
  forceSend: !1
812
812
  };
813
813
  }, u = () => {
814
- de.value[t.value] = {
814
+ ge.value[t.value] = {
815
815
  id: A().id,
816
816
  text: A().text,
817
817
  file: A().file,
@@ -820,7 +820,7 @@ const O = (e, t) => {
820
820
  };
821
821
  };
822
822
  function A() {
823
- return de.value[t.value];
823
+ return ge.value[t.value];
824
824
  }
825
825
  return {
826
826
  getMessage: A,
@@ -831,7 +831,7 @@ const O = (e, t) => {
831
831
  setReply: l,
832
832
  resetReply: u,
833
833
  setForceSendMessage: (d) => {
834
- de.value[t.value].forceSend = d;
834
+ ge.value[t.value].forceSend = d;
835
835
  }
836
836
  };
837
837
  }, gs = {
@@ -839,13 +839,25 @@ const O = (e, t) => {
839
839
  "component.ChatFilter.InputPlaceholder": "Поиск диалога",
840
840
  "layout.ChatWrapper.noSelectedChat": "Выберите контакт для начала общения",
841
841
  "component.ChatItem.typing": "печатает",
842
- "component.ChatInput.InputPlaceholder": "Введите сообщение..."
842
+ "component.ChatInput.InputPlaceholder": "Введите сообщение...",
843
+ "component.FeedFoundObjects.results": "Результаты поиска",
844
+ "component.FeedFoundObjects.notFound": "Сообщения не найдены",
845
+ "component.FeedFoundObjects.notSearched": "Поиск по сообщениям в чате",
846
+ "component.FeedSearch.SearchLabel": "Поиск",
847
+ "component.FeedSearch.SearchPlaceholder": "Поиск сообщения...",
848
+ "component.ChannelSelector.Placeholder": "Канал не выбран"
843
849
  }, ms = {
844
850
  "component.ChatList.Title": "Chats",
845
851
  "component.ChatFilter.InputPlaceholder": "Chat search",
846
852
  "layout.ChatWrapper.noSelectedChat": "Choose contact to start conversation",
847
853
  "component.ChatItem.typing": "typing",
848
- "component.ChatInput.InputPlaceholder": "Type a message..."
854
+ "component.ChatInput.InputPlaceholder": "Type a message...",
855
+ "component.FeedFoundObjects.results": "Search results",
856
+ "component.FeedFoundObjects.notFound": "Messages not found",
857
+ "component.FeedFoundObjects.notSearched": "Message search in chat",
858
+ "component.FeedSearch.SearchLabel": "Search",
859
+ "component.FeedSearch.SearchPlaceholder": "Find a message...",
860
+ "component.ChannelSelector.Placeholder": "Channel not selected"
849
861
  }, ia = [
850
862
  {
851
863
  code: "en",
@@ -862,7 +874,7 @@ let ps = {
862
874
  ru: gs,
863
875
  en: ms
864
876
  };
865
- const Re = hs().t;
877
+ const ue = hs().t;
866
878
  function hs() {
867
879
  function e(t) {
868
880
  return ps[jn.value.code][t];
@@ -942,11 +954,11 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
942
954
  };
943
955
  return (m, v) => (r(), c("div", vs, [
944
956
  o("div", {
945
- id: "chat-input-reply-line-" + z(n),
957
+ id: "chat-input-reply-line-" + C(n),
946
958
  class: "chat-input__reply-line"
947
959
  }, null, 8, bs),
948
960
  o("div", {
949
- id: "chat-input-file-line-" + z(n),
961
+ id: "chat-input-file-line-" + C(n),
950
962
  class: "chat-input__file-line"
951
963
  }, null, 8, Ms),
952
964
  o("div", _s, [
@@ -954,16 +966,16 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
954
966
  disabled: e.state == "disabled",
955
967
  ref_key: "refInput",
956
968
  ref: u,
957
- "onUpdate:modelValue": v[0] || (v[0] = (y) => z(s)().text = y),
969
+ "onUpdate:modelValue": v[0] || (v[0] = (y) => C(s)().text = y),
958
970
  class: "chat-input__input",
959
- placeholder: z(Re)("component.ChatInput.InputPlaceholder"),
960
- onKeydown: qn(d, ["enter"]),
971
+ placeholder: C(ue)("component.ChatInput.InputPlaceholder"),
972
+ onKeydown: Fn(d, ["enter"]),
961
973
  onInput: g
962
974
  }, null, 40, Is), [
963
- [Pe, z(s)().text]
975
+ [Pe, C(s)().text]
964
976
  ]),
965
977
  o("button", {
966
- class: C(["chat-input__button-send", { "chat-input__button-send-disabled": z(s)().text == "" && !z(s)().file }]),
978
+ class: O(["chat-input__button-send", { "chat-input__button-send-disabled": C(s)().text == "" && !C(s)().file }]),
967
979
  onClick: p
968
980
  }, v[1] || (v[1] = [
969
981
  o("span", { class: "pi pi-send" }, null, -1)
@@ -974,7 +986,7 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
974
986
  ])
975
987
  ]));
976
988
  }
977
- }), pd = /* @__PURE__ */ O(ws, [["__scopeId", "data-v-da991df5"]]), Ns = { class: "chat-list" }, Ds = { class: "chat-list__title" }, js = {
989
+ }), yd = /* @__PURE__ */ z(ws, [["__scopeId", "data-v-da991df5"]]), Ns = { class: "chat-list" }, Ds = { class: "chat-list__title" }, js = {
978
990
  key: 0,
979
991
  class: "pi pi-minus"
980
992
  }, Es = {
@@ -1021,7 +1033,7 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1021
1033
  class: "chat-list__title-container",
1022
1034
  onMouseleave: a
1023
1035
  }, [
1024
- o("h2", Ds, N(z(Re)("component.ChatList.Title")), 1),
1036
+ o("h2", Ds, N(C(ue)("component.ChatList.Title")), 1),
1025
1037
  e.actions.length ? (r(), c("button", {
1026
1038
  key: 0,
1027
1039
  class: "chat-list__button-actions",
@@ -1031,7 +1043,7 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1031
1043
  ])) : b("", !0),
1032
1044
  $(W, null, {
1033
1045
  default: K(() => [
1034
- n.value && e.actions ? (r(), R(z(Le), {
1046
+ n.value && e.actions ? (r(), R(C(Ue), {
1035
1047
  key: 0,
1036
1048
  actions: e.actions,
1037
1049
  class: "chat-list__context-menu",
@@ -1041,14 +1053,14 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1041
1053
  _: 1
1042
1054
  })
1043
1055
  ], 32),
1044
- e.filterEnabled ? (r(), R(z(Gi), {
1056
+ e.filterEnabled ? (r(), R(C(Gi), {
1045
1057
  key: 0,
1046
1058
  class: "chat-list__filter",
1047
1059
  onUpdate: A
1048
1060
  })) : b("", !0),
1049
1061
  o("div", Ts, [
1050
1062
  o("div", xs, [
1051
- (r(!0), c(q, null, Z(u().filter((m) => m.isFixedTop), (m) => (r(), R(z(Tf), {
1063
+ (r(!0), c(q, null, Z(u().filter((m) => m.isFixedTop), (m) => (r(), R(C(Tf), {
1052
1064
  key: m.chatId,
1053
1065
  class: "chat-list__item",
1054
1066
  chat: m,
@@ -1057,7 +1069,7 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1057
1069
  }, null, 8, ["chat"]))), 128))
1058
1070
  ]),
1059
1071
  o("div", Vs, [
1060
- (r(!0), c(q, null, Z(u().filter((m) => !m.isFixedBottom && !m.isFixedTop), (m) => (r(), R(z(Tf), {
1072
+ (r(!0), c(q, null, Z(u().filter((m) => !m.isFixedBottom && !m.isFixedTop), (m) => (r(), R(C(Tf), {
1061
1073
  key: m.chatId,
1062
1074
  class: "chat-list__item",
1063
1075
  chat: m,
@@ -1066,7 +1078,7 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1066
1078
  }, null, 8, ["chat"]))), 128))
1067
1079
  ]),
1068
1080
  o("div", Ss, [
1069
- (r(!0), c(q, null, Z(u().filter((m) => m.isFixedBottom), (m) => (r(), R(z(Tf), {
1081
+ (r(!0), c(q, null, Z(u().filter((m) => m.isFixedBottom), (m) => (r(), R(C(Tf), {
1070
1082
  key: m.chatId,
1071
1083
  class: "chat-list__item",
1072
1084
  chat: m,
@@ -1077,7 +1089,7 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1077
1089
  ])
1078
1090
  ]));
1079
1091
  }
1080
- }, hd = /* @__PURE__ */ O(Cs, [["__scopeId", "data-v-ba9fb868"]]), zs = { class: "keyboard__container" }, Os = ["onClick"], Ls = /* @__PURE__ */ P({
1092
+ }, vd = /* @__PURE__ */ z(Cs, [["__scopeId", "data-v-ba9fb868"]]), Os = { class: "keyboard__container" }, zs = ["onClick"], Ls = /* @__PURE__ */ P({
1081
1093
  __name: "MessageKeyboard",
1082
1094
  props: {
1083
1095
  keyboard: {
@@ -1089,16 +1101,16 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1089
1101
  const t = ie("chatAppId"), { setMessageText: f, setForceSendMessage: n } = $e(t), a = (s) => {
1090
1102
  f(s.text), n(!0);
1091
1103
  };
1092
- return (s, i) => (r(), c("div", zs, [
1104
+ return (s, i) => (r(), c("div", Os, [
1093
1105
  (r(!0), c(q, null, Z(e.keyboard, (l) => (r(), c("div", {
1094
1106
  class: "keyboard__key",
1095
1107
  onClick: (u) => a(l)
1096
1108
  }, [
1097
1109
  o("p", null, N(l.text), 1)
1098
- ], 8, Os))), 256))
1110
+ ], 8, zs))), 256))
1099
1111
  ]));
1100
1112
  }
1101
- }), Us = /* @__PURE__ */ O(Ls, [["__scopeId", "data-v-595b23b5"]]), Bs = ["id"], Qs = ["onDblclick", "id"], Rs = {
1113
+ }), Us = /* @__PURE__ */ z(Ls, [["__scopeId", "data-v-863afe7c"]]), Bs = ["id"], Qs = ["onDblclick", "id"], Rs = {
1102
1114
  key: 0,
1103
1115
  class: "message-feed__unread-amount"
1104
1116
  }, Ys = /* @__PURE__ */ P({
@@ -1142,31 +1154,31 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1142
1154
  ],
1143
1155
  setup(e, { emit: t }) {
1144
1156
  const f = M(), n = M(), a = M(), s = M(!1), i = M(!1), l = e, u = ie("chatAppId"), { setReply: A, getMessage: g } = $e(u), d = t, p = F(() => !!(i.value && l.objects.length > 0 && l.objects[l.objects.length - 1].keyboard)), m = (I = !0) => {
1145
- const w = z(n);
1157
+ const w = C(n);
1146
1158
  let D = 0;
1147
1159
  a.value && (D = a.value.$el.clientHeight);
1148
1160
  const x = 100, Q = w.scrollHeight - w.scrollTop - w.clientHeight;
1149
1161
  Q < x + D ? (s.value = !1, i.value = !0) : (s.value = !0, i.value = !1), w.scrollTop === 0 && I && d("loadMore"), Q <= 0 && I && d("loadMoreDown");
1150
1162
  }, v = (I) => ({
1151
- "message.text": ac,
1152
- "message.image": Ku,
1153
- "message.file": Cu,
1154
- "message.audio": Ic,
1155
- "message.video": Yc,
1156
- "message.call": n1,
1157
- "message.system": o1,
1158
- "system.date": Dc,
1163
+ "message.text": ic,
1164
+ "message.image": Gu,
1165
+ "message.file": zu,
1166
+ "message.audio": wc,
1167
+ "message.video": Fc,
1168
+ "message.call": s1,
1169
+ "message.system": A1,
1170
+ "system.date": Ec,
1159
1171
  "message.typing": Yn
1160
1172
  })[I];
1161
1173
  function y() {
1162
1174
  l.isScrollToBottomOnUpdateObjectsEnabled && At(function() {
1163
- const I = z(n);
1175
+ const I = C(n);
1164
1176
  I.scrollTop = I.scrollHeight;
1165
1177
  });
1166
1178
  }
1167
1179
  function h() {
1168
1180
  d("forceScrollToBottom"), At(function() {
1169
- const I = z(n);
1181
+ const I = C(n);
1170
1182
  I.scrollTop = I.scrollHeight;
1171
1183
  });
1172
1184
  }
@@ -1221,14 +1233,14 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1221
1233
  ref: n,
1222
1234
  class: "message-feed",
1223
1235
  onScroll: w[0] || (w[0] = (D) => m()),
1224
- id: "feed-container-" + z(u)
1236
+ id: "feed-container-" + C(u)
1225
1237
  }, [
1226
1238
  (r(!0), c(q, null, Z(e.objects, (D) => (r(), c("div", {
1227
1239
  onDblclick: (x) => U(x, D),
1228
1240
  id: JSON.stringify(D),
1229
1241
  class: "tracking-message"
1230
1242
  }, [
1231
- (r(), R(Fn(v(D.type)), {
1243
+ (r(), R(qn(v(D.type)), {
1232
1244
  key: D.messageId,
1233
1245
  class: "message-feed__message",
1234
1246
  message: D,
@@ -1236,7 +1248,7 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1236
1248
  onReply: T
1237
1249
  }, null, 40, ["message"]))
1238
1250
  ], 40, Qs))), 256)),
1239
- e.typing ? (r(), R(z(Yn), {
1251
+ e.typing ? (r(), R(C(Yn), {
1240
1252
  key: 0,
1241
1253
  message: {
1242
1254
  subText: e.typing.title,
@@ -1269,24 +1281,24 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1269
1281
  _: 1
1270
1282
  })
1271
1283
  ], 40, Bs),
1272
- z(g)().reply ? (r(), R(ze, {
1284
+ C(g)().reply ? (r(), R(ze, {
1273
1285
  key: 0,
1274
- to: "#chat-input-reply-line-" + z(u)
1286
+ to: "#chat-input-reply-line-" + C(u)
1275
1287
  }, [
1276
- $(z(nt), {
1277
- message: z(g)().reply,
1288
+ $(C(nt), {
1289
+ message: C(g)().reply,
1278
1290
  class: "chat-input-reply"
1279
1291
  }, null, 8, ["message"])
1280
1292
  ], 8, ["to"])) : b("", !0)
1281
1293
  ], 64));
1282
1294
  }
1283
- }), yd = /* @__PURE__ */ O(Ys, [["__scopeId", "data-v-c7def64b"]]), $s = {
1295
+ }), bd = /* @__PURE__ */ z(Ys, [["__scopeId", "data-v-76c85e4e"]]), $s = {
1284
1296
  key: 0,
1285
1297
  class: "profile__container"
1286
- }, qs = {
1298
+ }, Fs = {
1287
1299
  key: 0,
1288
1300
  class: "profile__avatar-container"
1289
- }, Fs = ["src"], Ps = { class: "profile__name" }, Hs = { class: "profile__email" }, Ws = { class: "profile__phone" }, Ks = {
1301
+ }, qs = ["src"], Ps = { class: "profile__name" }, Hs = { class: "profile__email" }, Ws = { class: "profile__phone" }, Ks = {
1290
1302
  __name: "UserProfile",
1291
1303
  props: {
1292
1304
  user: {
@@ -1296,7 +1308,7 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1296
1308
  },
1297
1309
  setup(e) {
1298
1310
  return (t, f) => e.user ? (r(), c("div", $s, [
1299
- e.user.avatar ? (r(), c("div", qs, [
1311
+ e.user.avatar ? (r(), c("div", Fs, [
1300
1312
  o("span", {
1301
1313
  class: "profile__status",
1302
1314
  style: ee({ backgroundColor: e.user.status })
@@ -1305,14 +1317,14 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1305
1317
  src: e.user.avatar,
1306
1318
  height: "48",
1307
1319
  width: "48"
1308
- }, null, 8, Fs)
1320
+ }, null, 8, qs)
1309
1321
  ])) : b("", !0),
1310
1322
  o("h2", Ps, N(e.user.name), 1),
1311
1323
  o("p", Hs, N(e.user.email), 1),
1312
1324
  o("p", Ws, N(e.user.phone), 1)
1313
1325
  ])) : b("", !0);
1314
1326
  }
1315
- }, vd = /* @__PURE__ */ O(Ks, [["__scopeId", "data-v-35f660dc"]]), Js = ["id"], Gs = {
1327
+ }, Md = /* @__PURE__ */ z(Ks, [["__scopeId", "data-v-35f660dc"]]), Js = ["id"], Gs = {
1316
1328
  __name: "ButtonContextMenu",
1317
1329
  props: {
1318
1330
  actions: {
@@ -1347,7 +1359,7 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1347
1359
  },
1348
1360
  emits: ["click", "buttonClick"],
1349
1361
  setup(e, { emit: t }) {
1350
- const f = e, n = Ff(), a = t, s = M(null), i = M(null), l = (p) => {
1362
+ const f = e, n = qf(), a = t, s = M(null), i = M(null), l = (p) => {
1351
1363
  s.value.$el.style.display = "none", a("click", p);
1352
1364
  }, u = () => {
1353
1365
  f.disabled || (f.mode == "click" && (s.value.$el.style.display = "inherit"), a("buttonClick"));
@@ -1383,13 +1395,13 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1383
1395
  }), et(() => {
1384
1396
  document.removeEventListener("click", d);
1385
1397
  }), (p, m) => (r(), c("div", {
1386
- id: "container-" + z(n),
1398
+ id: "container-" + C(n),
1387
1399
  ref_key: "actionScope",
1388
1400
  ref: i,
1389
1401
  style: { position: "relative", width: "fit-content" }
1390
1402
  }, [
1391
1403
  o("div", {
1392
- class: C(["button", {
1404
+ class: O(["button", {
1393
1405
  "disabled-button": e.disabled
1394
1406
  }]),
1395
1407
  onClick: u,
@@ -1397,11 +1409,11 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1397
1409
  onMouseout: g
1398
1410
  }, [
1399
1411
  o("span", {
1400
- class: C(e.buttonClass)
1412
+ class: O(e.buttonClass)
1401
1413
  }, N(e.buttonTitle), 3)
1402
1414
  ], 34),
1403
- $(z(Le), {
1404
- id: "context-menu-" + z(n),
1415
+ $(C(Ue), {
1416
+ id: "context-menu-" + C(n),
1405
1417
  ref_key: "contextMenu",
1406
1418
  ref: s,
1407
1419
  actions: e.actions,
@@ -1411,13 +1423,13 @@ const vs = { class: "chat-input__container" }, bs = ["id"], Ms = ["id"], _s = {
1411
1423
  }, null, 8, ["id", "actions"])
1412
1424
  ], 8, Js));
1413
1425
  }
1414
- }, oa = /* @__PURE__ */ O(Gs, [["__scopeId", "data-v-879c7ba3"]]);
1415
- function bd(e) {
1426
+ }, oa = /* @__PURE__ */ z(Gs, [["__scopeId", "data-v-879c7ba3"]]);
1427
+ function _d(e) {
1416
1428
  if (!e || e === "") return;
1417
1429
  const t = +new Date(Number(e) * 1e3), f = +/* @__PURE__ */ new Date(), n = Math.floor((f - t) / 1e3), a = Math.floor(n / 60), s = Math.floor(a / 60), i = Math.floor(s / 24);
1418
1430
  return i > 30 ? new Date(t).toLocaleDateString("ru-RU") : i > 0 ? `${i} ${i === 1 ? "день" : "дня"} назад` : s > 0 ? `${s} ${s === 1 ? "час" : "часа"} назад` : a > 0 ? `${a} ${a === 1 ? "минута" : "минуты"} назад` : n > 0 ? `${n} ${n === 1 ? "секунда" : "секунды"} назад` : "Только что";
1419
1431
  }
1420
- const Md = (e, t = null) => {
1432
+ const Id = (e, t = null) => {
1421
1433
  const f = [];
1422
1434
  let n = new Date(t * 1e3).toLocaleDateString();
1423
1435
  for (let a = 0; a < e.length; a++) {
@@ -1431,7 +1443,7 @@ const Md = (e, t = null) => {
1431
1443
  }), n = i), f.push(s);
1432
1444
  }
1433
1445
  return f;
1434
- }, _d = async () => {
1446
+ }, kd = async () => {
1435
1447
  try {
1436
1448
  if (await navigator.mediaDevices.getUserMedia({ audio: !0 })) {
1437
1449
  const t = new Audio();
@@ -1440,7 +1452,7 @@ const Md = (e, t = null) => {
1440
1452
  } catch {
1441
1453
  console.log("no audio permissions");
1442
1454
  }
1443
- }, Id = (e) => e.sort((t, f) => Number(t.timestamp) < Number(f.timestamp) ? -1 : Number(t.timestamp) > Number(f.timestamp) ? 1 : 0), gf = (e) => {
1455
+ }, wd = (e) => e.sort((t, f) => Number(t.timestamp) < Number(f.timestamp) ? -1 : Number(t.timestamp) > Number(f.timestamp) ? 1 : 0), gf = (e) => {
1444
1456
  let t = "file";
1445
1457
  return e.startsWith("image/") ? t = "image" : e.startsWith("video/") ? t = "video" : e.startsWith("audio/") && (t = "audio"), t;
1446
1458
  }, tt = ["read", "received", "sent"], ft = (e) => {
@@ -1524,7 +1536,7 @@ const Md = (e, t = null) => {
1524
1536
  ])
1525
1537
  ]));
1526
1538
  }
1527
- }, la = /* @__PURE__ */ O(ri, [["__scopeId", "data-v-63871541"]]), ui = { key: 0 }, ci = { key: 1 }, kd = {
1539
+ }, la = /* @__PURE__ */ z(ri, [["__scopeId", "data-v-63871541"]]), ui = { key: 0 }, ci = { key: 1 }, Nd = {
1528
1540
  __name: "FileUploader",
1529
1541
  props: {
1530
1542
  filebumpUrl: {
@@ -1625,16 +1637,16 @@ const Md = (e, t = null) => {
1625
1637
  type: "file",
1626
1638
  onChange: T
1627
1639
  }, null, 544),
1628
- z(v)().file ? (r(), R(ze, {
1640
+ C(v)().file ? (r(), R(ze, {
1629
1641
  key: 3,
1630
- to: "#chat-input-file-line-" + z(d)
1642
+ to: "#chat-input-file-line-" + C(d)
1631
1643
  }, [
1632
1644
  $(la, {
1633
1645
  "preview-url": s.value,
1634
1646
  "is-image": i.value,
1635
1647
  "is-video": l.value,
1636
1648
  "is-audio": u.value,
1637
- "file-name": z(v)().file.name,
1649
+ "file-name": C(v)().file.name,
1638
1650
  "file-size": g.value,
1639
1651
  onReset: E
1640
1652
  }, null, 8, ["preview-url", "is-image", "is-video", "is-audio", "file-name", "file-size"])
@@ -1675,7 +1687,7 @@ const Md = (e, t = null) => {
1675
1687
  ], 32)
1676
1688
  ])) : b("", !0);
1677
1689
  }
1678
- }, wd = /* @__PURE__ */ O(mi, [["__scopeId", "data-v-a950b8eb"]]), pi = { class: "sidebar__container" }, hi = { class: "sidebar__list" }, yi = ["onClick"], vi = ["src", "alt"], bi = { key: 1 }, Mi = { class: "sidebar__list-fixed" }, _i = ["onClick"], Ii = ["src", "alt"], ki = { key: 1 }, wi = {
1690
+ }, Dd = /* @__PURE__ */ z(mi, [["__scopeId", "data-v-a950b8eb"]]), pi = { class: "sidebar__container" }, hi = { class: "sidebar__list" }, yi = ["onClick"], vi = ["src", "alt"], bi = { key: 1 }, Mi = { class: "sidebar__list-fixed" }, _i = ["onClick"], Ii = ["src", "alt"], ki = { key: 1 }, wi = {
1679
1691
  __name: "SideBar",
1680
1692
  props: {
1681
1693
  sidebarItems: {
@@ -1703,7 +1715,7 @@ const Md = (e, t = null) => {
1703
1715
  o("img", {
1704
1716
  src: A.icon,
1705
1717
  alt: A.name,
1706
- class: C(["sidebar__image", { "sidebar__image--active": A.selected === !0 }])
1718
+ class: O(["sidebar__image", { "sidebar__image--active": A.selected === !0 }])
1707
1719
  }, null, 10, vi),
1708
1720
  A.notificationCount ? (r(), c("span", {
1709
1721
  key: 0,
@@ -1721,7 +1733,7 @@ const Md = (e, t = null) => {
1721
1733
  o("img", {
1722
1734
  src: A.icon,
1723
1735
  alt: A.name,
1724
- class: C(["sidebar__image", { "sidebar__image--active": A.selected === !0 }])
1736
+ class: O(["sidebar__image", { "sidebar__image--active": A.selected === !0 }])
1725
1737
  }, null, 10, Ii),
1726
1738
  A.notificationCount ? (r(), c("span", {
1727
1739
  key: 0,
@@ -1732,7 +1744,7 @@ const Md = (e, t = null) => {
1732
1744
  ])
1733
1745
  ]));
1734
1746
  }
1735
- }, Nd = /* @__PURE__ */ O(wi, [["__scopeId", "data-v-8fc01d66"]]), Ni = { class: "chat-panel" }, Di = { class: "chat-panel__title-container" }, ji = {
1747
+ }, jd = /* @__PURE__ */ z(wi, [["__scopeId", "data-v-8fc01d66"]]), Ni = { class: "chat-panel" }, Di = { class: "chat-panel__title-container" }, ji = {
1736
1748
  key: 0,
1737
1749
  class: "chat-panel__title"
1738
1750
  }, Ei = {
@@ -1761,7 +1773,7 @@ const Md = (e, t = null) => {
1761
1773
  ])
1762
1774
  ]));
1763
1775
  }
1764
- }, Dd = /* @__PURE__ */ O(Ei, [["__scopeId", "data-v-1f6ac199"]]), Ti = {
1776
+ }, Ed = /* @__PURE__ */ z(Ei, [["__scopeId", "data-v-1f6ac199"]]), Ti = {
1765
1777
  key: 0,
1766
1778
  class: "channels__selected"
1767
1779
  }, xi = {
@@ -1770,7 +1782,7 @@ const Md = (e, t = null) => {
1770
1782
  }, Vi = ["src"], Si = { class: "channels__title" }, Ci = {
1771
1783
  key: 1,
1772
1784
  class: "channels__selected channels__title"
1773
- }, zi = {
1785
+ }, Oi = {
1774
1786
  __name: "ChannelSelector",
1775
1787
  props: {
1776
1788
  channels: {
@@ -1794,7 +1806,7 @@ const Md = (e, t = null) => {
1794
1806
  s.value = l, n("selectChannel", s.value);
1795
1807
  };
1796
1808
  return (l, u) => (r(), c("div", {
1797
- class: C(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
1809
+ class: O(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
1798
1810
  }, [
1799
1811
  s.value ? (r(), c("div", Ti, [
1800
1812
  s.value.icon ? (r(), c("span", xi, [
@@ -1803,7 +1815,7 @@ const Md = (e, t = null) => {
1803
1815
  }, null, 8, Vi)
1804
1816
  ])) : b("", !0),
1805
1817
  o("span", Si, N(s.value.title), 1)
1806
- ])) : (r(), c("span", Ci, " Канал не выбран ")),
1818
+ ])) : (r(), c("span", Ci, N(C(ue)("component.ChannelSelector.Placeholder")), 1)),
1807
1819
  $(oa, {
1808
1820
  actions: e.channels,
1809
1821
  mode: e.mode,
@@ -1814,7 +1826,7 @@ const Md = (e, t = null) => {
1814
1826
  }, null, 8, ["actions", "mode", "disabled"])
1815
1827
  ], 2));
1816
1828
  }
1817
- }, jd = /* @__PURE__ */ O(zi, [["__scopeId", "data-v-4e8977fe"]]), Oi = { class: "chat-item__avatar-container" }, Li = ["src"], Ui = {
1829
+ }, Td = /* @__PURE__ */ z(Oi, [["__scopeId", "data-v-9eb1fd6b"]]), zi = { class: "chat-item__avatar-container" }, Li = ["src"], Ui = {
1818
1830
  key: 1,
1819
1831
  class: "pi pi-user"
1820
1832
  }, Bi = { class: "chat-item__info-container" }, Qi = { class: "chat-item__name" }, Ri = {
@@ -1823,10 +1835,10 @@ const Md = (e, t = null) => {
1823
1835
  }, Yi = { class: "chat-item__details-container" }, $i = {
1824
1836
  key: 0,
1825
1837
  class: "chat-item__time"
1826
- }, qi = {
1838
+ }, Fi = {
1827
1839
  key: 1,
1828
1840
  class: "chat-item__unread"
1829
- }, Fi = {
1841
+ }, qi = {
1830
1842
  key: 3,
1831
1843
  class: "chat-item__status-chat-container"
1832
1844
  }, Pi = {
@@ -1855,7 +1867,7 @@ const Md = (e, t = null) => {
1855
1867
  u.value = !1, l.value = !1;
1856
1868
  }, d = F(() => ft(f.chat["lastMessage.status"]));
1857
1869
  let p;
1858
- const m = M(0), v = [Re("component.ChatItem.typing") + ".", Re("component.ChatItem.typing") + "..", Re("component.ChatItem.typing") + "..."], y = F(() => f.chat.typing ? v[m.value] : f.chat.lastMessage);
1870
+ const m = M(0), v = [ue("component.ChatItem.typing") + ".", ue("component.ChatItem.typing") + "..", ue("component.ChatItem.typing") + "..."], y = F(() => f.chat.typing ? v[m.value] : f.chat.lastMessage);
1859
1871
  return J(
1860
1872
  () => f.chat.typing,
1861
1873
  () => {
@@ -1865,12 +1877,12 @@ const Md = (e, t = null) => {
1865
1877
  },
1866
1878
  { immediate: !0 }
1867
1879
  ), (h, E) => (r(), c("div", {
1868
- class: C(["chat-item__container", s()]),
1880
+ class: O(["chat-item__container", s()]),
1869
1881
  onMouseenter: A,
1870
1882
  onMouseleave: g,
1871
1883
  onClick: a
1872
1884
  }, [
1873
- o("div", Oi, [
1885
+ o("div", zi, [
1874
1886
  o("span", {
1875
1887
  class: "chat-item__status-user",
1876
1888
  style: ee({ backgroundColor: f.chat.status })
@@ -1888,7 +1900,7 @@ const Md = (e, t = null) => {
1888
1900
  ]),
1889
1901
  o("div", Yi, [
1890
1902
  e.chat["lastActivity.time"] && !u.value ? (r(), c("div", $i, N(e.chat["lastActivity.time"]), 1)) : b("", !0),
1891
- e.chat.countUnread > 0 ? (r(), c("div", qi, N(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) : b("", !0),
1903
+ e.chat.countUnread > 0 ? (r(), c("div", Fi, N(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) : b("", !0),
1892
1904
  u.value && e.chat.actions ? (r(), c("button", {
1893
1905
  key: 2,
1894
1906
  class: "chat-item__menu-button",
@@ -1896,10 +1908,10 @@ const Md = (e, t = null) => {
1896
1908
  }, E[1] || (E[1] = [
1897
1909
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
1898
1910
  ]))) : b("", !0),
1899
- e.chat.countUnread < 1 ? (r(), c("div", Fi, [
1900
- z(tt).includes(e.chat["lastMessage.status"]) ? (r(), c("div", {
1911
+ e.chat.countUnread < 1 ? (r(), c("div", qi, [
1912
+ C(tt).includes(e.chat["lastMessage.status"]) ? (r(), c("div", {
1901
1913
  key: 0,
1902
- class: C(["chat-item__status-message", d.value])
1914
+ class: O(["chat-item__status-message", d.value])
1903
1915
  }, [
1904
1916
  e.chat["lastMessage.status"] !== "sent" ? (r(), c("span", Pi)) : b("", !0),
1905
1917
  E[2] || (E[2] = o("span", { class: "pi pi-check" }, null, -1))
@@ -1909,7 +1921,7 @@ const Md = (e, t = null) => {
1909
1921
  ]),
1910
1922
  $(W, { name: "menu" }, {
1911
1923
  default: K(() => [
1912
- l.value && e.chat.actions ? (r(), R(z(Le), {
1924
+ l.value && e.chat.actions ? (r(), R(C(Ue), {
1913
1925
  key: 0,
1914
1926
  class: "chat-item__context-menu",
1915
1927
  actions: e.chat.actions,
@@ -1920,12 +1932,12 @@ const Md = (e, t = null) => {
1920
1932
  })
1921
1933
  ], 34));
1922
1934
  }
1923
- }, Tf = /* @__PURE__ */ O(Wi, [["__scopeId", "data-v-d59fbbb8"]]), Ki = ["placeholder"], Ji = {
1935
+ }, Tf = /* @__PURE__ */ z(Wi, [["__scopeId", "data-v-d59fbbb8"]]), Ki = ["placeholder"], Ji = {
1924
1936
  __name: "ChatFilter",
1925
1937
  emits: ["update"],
1926
1938
  setup(e, { emit: t }) {
1927
1939
  const f = M(""), n = t, a = () => {
1928
- const s = z(f);
1940
+ const s = C(f);
1929
1941
  n("update", s.value);
1930
1942
  };
1931
1943
  return (s, i) => (r(), c("input", {
@@ -1933,11 +1945,11 @@ const Md = (e, t = null) => {
1933
1945
  ref: f,
1934
1946
  class: "chat-filter__input",
1935
1947
  type: "text",
1936
- placeholder: z(Re)("component.ChatFilter.InputPlaceholder"),
1948
+ placeholder: C(ue)("component.ChatFilter.InputPlaceholder"),
1937
1949
  onInput: a
1938
1950
  }, null, 40, Ki));
1939
1951
  }
1940
- }, Gi = /* @__PURE__ */ O(Ji, [["__scopeId", "data-v-5ccd2fb1"]]), Zi = { class: "template-selector" }, Xi = { class: "template-selector__container" }, eo = { class: "template-selector__button-close" }, to = { class: "template-selector__list-groups" }, fo = { class: "template-selector__label-group" }, no = ["src", "alt"], ao = ["id", "value"], so = { class: "template-selector__searching-container" }, io = { class: "template-selector__templates" }, oo = {
1952
+ }, Gi = /* @__PURE__ */ z(Ji, [["__scopeId", "data-v-5ccd2fb1"]]), Zi = { class: "template-selector" }, Xi = { class: "template-selector__container" }, eo = { class: "template-selector__button-close" }, to = { class: "template-selector__list-groups" }, fo = { class: "template-selector__label-group" }, no = ["src", "alt"], ao = ["id", "value"], so = { class: "template-selector__searching-container" }, io = { class: "template-selector__templates" }, oo = {
1941
1953
  key: 0,
1942
1954
  class: "template-selector__list-templates"
1943
1955
  }, lo = ["onClick"], Ao = { class: "template-selector__item-template-info" }, ro = { class: "template-selector__item-title" }, uo = { class: "template-selector__item-text" }, co = {
@@ -1986,7 +1998,7 @@ const Md = (e, t = null) => {
1986
1998
  o("ul", to, [
1987
1999
  (r(!0), c(q, null, Z(e.groupTemplates, (h, E) => (r(), c("li", {
1988
2000
  key: E,
1989
- class: C(["template-selector__item-group", { "template-selector__item-selected": l.value === h }]),
2001
+ class: O(["template-selector__item-group", { "template-selector__item-selected": l.value === h }]),
1990
2002
  onClick: d
1991
2003
  }, [
1992
2004
  o("label", fo, [
@@ -2023,7 +2035,7 @@ const Md = (e, t = null) => {
2023
2035
  m.value.length !== 0 ? (r(), c("ul", oo, [
2024
2036
  (r(!0), c(q, null, Z(m.value, (h, E) => (r(), c("li", {
2025
2037
  key: E,
2026
- class: C(["template-selector__item-template", { "template-selector__item-selected": h.isSelected }]),
2038
+ class: O(["template-selector__item-template", { "template-selector__item-selected": h.isSelected }]),
2027
2039
  onClick: (T) => g(h)
2028
2040
  }, [
2029
2041
  o("div", Ao, [
@@ -2048,7 +2060,7 @@ const Md = (e, t = null) => {
2048
2060
  ])
2049
2061
  ]));
2050
2062
  }
2051
- }, bo = /* @__PURE__ */ O(vo, [["__scopeId", "data-v-2ccb6e90"]]), Mo = {
2063
+ }, bo = /* @__PURE__ */ z(vo, [["__scopeId", "data-v-2ccb6e90"]]), Mo = {
2052
2064
  __name: "ButtonTemplateSelector",
2053
2065
  props: {
2054
2066
  templates: {
@@ -2087,7 +2099,7 @@ const Md = (e, t = null) => {
2087
2099
  o("button", {
2088
2100
  ref_key: "templateButton",
2089
2101
  ref: f,
2090
- class: C(["button-template", { "button-template-disabled": e.state == "disabled" }]),
2102
+ class: O(["button-template", { "button-template-disabled": e.state == "disabled" }]),
2091
2103
  onClick: a,
2092
2104
  onMouseover: s,
2093
2105
  onMouseout: i
@@ -2113,7 +2125,7 @@ const Md = (e, t = null) => {
2113
2125
  })
2114
2126
  ], 64));
2115
2127
  }
2116
- }, Ed = /* @__PURE__ */ O(Mo, [["__scopeId", "data-v-5bb675f2"]]), _o = {
2128
+ }, xd = /* @__PURE__ */ z(Mo, [["__scopeId", "data-v-5bb675f2"]]), _o = {
2117
2129
  __name: "PlaceholderComponent",
2118
2130
  props: {
2119
2131
  index: {
@@ -2131,10 +2143,10 @@ const Md = (e, t = null) => {
2131
2143
  },
2132
2144
  setup(e) {
2133
2145
  return (t, f) => (r(), c("span", {
2134
- class: C([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"])
2146
+ class: O([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"])
2135
2147
  }, N(e.value), 3));
2136
2148
  }
2137
- }, Io = /* @__PURE__ */ O(_o, [["__scopeId", "data-v-7d731222"]]), ko = ["accept"], wo = { class: "file-upload-text" }, No = { class: "file-info open-sans" }, Do = {
2149
+ }, Io = /* @__PURE__ */ z(_o, [["__scopeId", "data-v-7d731222"]]), ko = ["accept"], wo = { class: "file-upload-text" }, No = { class: "file-info open-sans" }, Do = {
2138
2150
  key: 0,
2139
2151
  class: "error-text"
2140
2152
  }, jo = /* @__PURE__ */ P({
@@ -2241,7 +2253,7 @@ const Md = (e, t = null) => {
2241
2253
  var j;
2242
2254
  return r(), c(q, null, [
2243
2255
  o("section", {
2244
- class: C(["attachment-section", { "attachment-section-error": i.value }])
2256
+ class: O(["attachment-section", { "attachment-section-error": i.value }])
2245
2257
  }, [
2246
2258
  l.value !== "success" ? (r(), c("div", {
2247
2259
  key: 0,
@@ -2277,7 +2289,7 @@ const Md = (e, t = null) => {
2277
2289
  ], 64);
2278
2290
  };
2279
2291
  }
2280
- }), Eo = /* @__PURE__ */ O(jo, [["__scopeId", "data-v-4f913641"]]), To = ["onClick"], xo = { class: "preview-action" }, Vo = /* @__PURE__ */ P({
2292
+ }), Eo = /* @__PURE__ */ z(jo, [["__scopeId", "data-v-4f913641"]]), To = ["onClick"], xo = { class: "preview-action" }, Vo = /* @__PURE__ */ P({
2281
2293
  __name: "WABAQuickReplyButtons",
2282
2294
  props: {
2283
2295
  buttons: {
@@ -2295,7 +2307,7 @@ const Md = (e, t = null) => {
2295
2307
  i == 2 && n.buttons.length > 3 && f("selectAllVariants");
2296
2308
  };
2297
2309
  return (i, l) => (r(!0), c(q, null, Z(e.buttons.slice(0, 3), (u, A) => (r(), c("div", {
2298
- class: C(["preview-actions", {
2310
+ class: O(["preview-actions", {
2299
2311
  "last-element": A === e.buttons.length - 1 || A == 2 && e.buttons.length > 3,
2300
2312
  "middle-element": e.buttons.length - 1 > A && A > 0
2301
2313
  }]),
@@ -2305,13 +2317,13 @@ const Md = (e, t = null) => {
2305
2317
  l[0] || (l[0] = o("hr", { class: "separator" }, null, -1)),
2306
2318
  o("div", xo, [
2307
2319
  o("span", {
2308
- class: C(["icon pi pi-arrow-up-left", A == 2 && e.buttons.length > 3 ? "pi-list" : a[u.type]])
2320
+ class: O(["icon pi pi-arrow-up-left", A == 2 && e.buttons.length > 3 ? "pi-list" : a[u.type]])
2309
2321
  }, null, 2),
2310
2322
  Hn(" " + N(A == 2 && e.buttons.length > 3 ? "Смотреть все варианты" : u.text), 1)
2311
2323
  ])
2312
2324
  ], 10, To))), 128));
2313
2325
  }
2314
- }), So = /* @__PURE__ */ O(Vo, [["__scopeId", "data-v-ea011db7"]]), Co = { class: "menu-container" }, zo = { class: "settings-first-line" }, Oo = { class: "actions-container scrollbar" }, Lo = { class: "action" }, Uo = /* @__PURE__ */ P({
2326
+ }), So = /* @__PURE__ */ z(Vo, [["__scopeId", "data-v-ea011db7"]]), Co = { class: "menu-container" }, Oo = { class: "settings-first-line" }, zo = { class: "actions-container scrollbar" }, Lo = { class: "action" }, Uo = /* @__PURE__ */ P({
2315
2327
  __name: "WABASeparatedQuickButtons",
2316
2328
  props: {
2317
2329
  buttons: {
@@ -2327,21 +2339,21 @@ const Md = (e, t = null) => {
2327
2339
  QUICK_REPLY: "bi-arrow-90deg-left"
2328
2340
  }, n = t;
2329
2341
  return (a, s) => (r(), c("div", Co, [
2330
- o("div", zo, [
2342
+ o("div", Oo, [
2331
2343
  s[1] || (s[1] = o("span", { class: "settings-title" }, "Все варианты", -1)),
2332
2344
  o("span", {
2333
2345
  class: "pi pi-times exit-button",
2334
2346
  onClick: s[0] || (s[0] = (i) => n("selectAllVariants"))
2335
2347
  })
2336
2348
  ]),
2337
- o("div", Oo, [
2349
+ o("div", zo, [
2338
2350
  (r(!0), c(q, null, Z(e.buttons, (i, l) => (r(), c("div", {
2339
2351
  class: "actions",
2340
2352
  key: l
2341
2353
  }, [
2342
2354
  o("div", Lo, [
2343
2355
  o("span", {
2344
- class: C(["icon pi pi-arrow-up-left", f[i.type]])
2356
+ class: O(["icon pi pi-arrow-up-left", f[i.type]])
2345
2357
  }, null, 2),
2346
2358
  Hn(" " + N(i.text), 1)
2347
2359
  ])
@@ -2349,7 +2361,7 @@ const Md = (e, t = null) => {
2349
2361
  ])
2350
2362
  ]));
2351
2363
  }
2352
- }), Bo = /* @__PURE__ */ O(Uo, [["__scopeId", "data-v-b4897697"]]), Qo = { class: "template-selector" }, Ro = { class: "template-selector__container" }, Yo = { class: "template-selector__list-groups" }, $o = { class: "template-selector__label-group" }, qo = ["src", "alt"], Fo = ["id", "value"], Po = { class: "template-selector__searching-container" }, Ho = { class: "template-selector__templates" }, Wo = {
2364
+ }), Bo = /* @__PURE__ */ z(Uo, [["__scopeId", "data-v-b4897697"]]), Qo = { class: "template-selector" }, Ro = { class: "template-selector__container" }, Yo = { class: "template-selector__list-groups" }, $o = { class: "template-selector__label-group" }, Fo = ["src", "alt"], qo = ["id", "value"], Po = { class: "template-selector__searching-container" }, Ho = { class: "template-selector__templates" }, Wo = {
2353
2365
  key: 0,
2354
2366
  class: "template-selector__list-templates"
2355
2367
  }, Ko = ["onClick"], Jo = { class: "template-selector__item-template-info" }, Go = { class: "template-selector__item-title" }, Zo = { class: "template-selector__item-text" }, Xo = {
@@ -2394,7 +2406,7 @@ const Md = (e, t = null) => {
2394
2406
  file: null,
2395
2407
  buttons: null
2396
2408
  };
2397
- g.value ? (S.text = ue.value, S.templateId = A.value.templateId, S.values = le.value, S.file = g.value) : (S.text = ue.value, S.templateId = A.value.templateId, S.values = le.value), A.value.buttons && (S.buttons = A.value.buttons), n("sendWabaValues", S), te();
2409
+ g.value ? (S.text = ce.value, S.templateId = A.value.templateId, S.values = le.value, S.file = g.value) : (S.text = ce.value, S.templateId = A.value.templateId, S.values = le.value), A.value.buttons && (S.buttons = A.value.buttons), n("sendWabaValues", S), te();
2398
2410
  }, i = (S) => {
2399
2411
  g.value = S;
2400
2412
  }, l = M(null), u = M(null), A = M(null), g = M(null), d = M(""), p = M(!1), m = () => {
@@ -2415,13 +2427,13 @@ const Md = (e, t = null) => {
2415
2427
  }, x = (S, L) => {
2416
2428
  T[S] = L;
2417
2429
  }, Q = F(() => {
2418
- var ye;
2419
- const S = (ye = A.value) == null ? void 0 : ye.template;
2430
+ var ve;
2431
+ const S = (ve = A.value) == null ? void 0 : ve.template;
2420
2432
  if (!S) return [];
2421
2433
  const L = [...S.matchAll(/{{\d+}}/g)], B = [];
2422
2434
  let X = 0;
2423
- return L.forEach((Ne) => {
2424
- Ne.index > X && B.push(S.substring(X, Ne.index)), B.push({ index: parseInt(Ne[0].slice(2, -2)) }), X = Ne.index + Ne[0].length;
2435
+ return L.forEach((De) => {
2436
+ De.index > X && B.push(S.substring(X, De.index)), B.push({ index: parseInt(De[0].slice(2, -2)) }), X = De.index + De[0].length;
2425
2437
  }), X < S.length && B.push(S.substring(X)), B;
2426
2438
  }), H = F(() => {
2427
2439
  var L, B;
@@ -2438,7 +2450,7 @@ const Md = (e, t = null) => {
2438
2450
  Object.keys(T).forEach((S) => {
2439
2451
  T[S] = "";
2440
2452
  }), g.value = null, A.value = null, y();
2441
- }, ue = F(() => {
2453
+ }, ce = F(() => {
2442
2454
  console.log(Q.value, A.value.buttons);
2443
2455
  let S = Q.value.map((B) => typeof B == "string" ? B : T[B.index]).join(""), L = "";
2444
2456
  return A.value.buttons && (L = A.value.buttons.map((B) => `
@@ -2464,7 +2476,7 @@ const Md = (e, t = null) => {
2464
2476
  o("ul", Yo, [
2465
2477
  (r(!0), c(q, null, Z(e.groupTemplates, (B, X) => (r(), c("li", {
2466
2478
  key: X,
2467
- class: C(["template-selector__item-group", { "template-selector__item-selected": u.value === B }]),
2479
+ class: O(["template-selector__item-group", { "template-selector__item-selected": u.value === B }]),
2468
2480
  onClick: y
2469
2481
  }, [
2470
2482
  o("label", $o, [
@@ -2473,14 +2485,14 @@ const Md = (e, t = null) => {
2473
2485
  class: "template-selector__item-group-icon",
2474
2486
  src: B.iconUrl,
2475
2487
  alt: B.title
2476
- }, null, 8, qo)) : b("", !0),
2488
+ }, null, 8, Fo)) : b("", !0),
2477
2489
  re(o("input", {
2478
2490
  id: X,
2479
- "onUpdate:modelValue": L[0] || (L[0] = (ye) => u.value = ye),
2491
+ "onUpdate:modelValue": L[0] || (L[0] = (ve) => u.value = ve),
2480
2492
  value: B,
2481
2493
  class: "template-selector__input-group",
2482
2494
  type: "radio"
2483
- }, null, 8, Fo), [
2495
+ }, null, 8, qo), [
2484
2496
  [Pn, u.value]
2485
2497
  ]),
2486
2498
  o("span", null, N(B.title), 1)
@@ -2501,8 +2513,8 @@ const Md = (e, t = null) => {
2501
2513
  E.value.length !== 0 ? (r(), c("ul", Wo, [
2502
2514
  (r(!0), c(q, null, Z(E.value, (B, X) => (r(), c("li", {
2503
2515
  key: X,
2504
- class: C(["template-selector__item-template", { "template-selector__item-selected": B.isSelected }]),
2505
- onClick: (ye) => v(B)
2516
+ class: O(["template-selector__item-template", { "template-selector__item-selected": B.isSelected }]),
2517
+ onClick: (ve) => v(B)
2506
2518
  }, [
2507
2519
  o("div", Jo, [
2508
2520
  o("p", Go, N(B.title), 1),
@@ -2531,7 +2543,7 @@ const Md = (e, t = null) => {
2531
2543
  index: B.index,
2532
2544
  value: T[B.index] || "Заполнить",
2533
2545
  "is-filled": !!T[B.index],
2534
- onClick: (ye) => I(B.index)
2546
+ onClick: (ve) => I(B.index)
2535
2547
  }, null, 8, ["index", "value", "is-filled", "onClick"])) : b("", !0)
2536
2548
  ], 64))), 128))
2537
2549
  ]),
@@ -2587,7 +2599,7 @@ const Md = (e, t = null) => {
2587
2599
  ])
2588
2600
  ]));
2589
2601
  }
2590
- }, rl = /* @__PURE__ */ O(Al, [["__scopeId", "data-v-e4882367"]]), ul = {
2602
+ }, rl = /* @__PURE__ */ z(Al, [["__scopeId", "data-v-e4882367"]]), ul = {
2591
2603
  __name: "ButtonWabaTemplateSelector",
2592
2604
  props: {
2593
2605
  wabaTemplates: {
@@ -2636,7 +2648,7 @@ const Md = (e, t = null) => {
2636
2648
  o("button", {
2637
2649
  ref_key: "templateButton",
2638
2650
  ref: n,
2639
- class: C(["button-template", { "button-template-disabled": e.state == "disabled" }]),
2651
+ class: O(["button-template", { "button-template-disabled": e.state == "disabled" }]),
2640
2652
  onClick: i,
2641
2653
  onMouseover: l,
2642
2654
  onMouseout: u
@@ -2658,7 +2670,7 @@ const Md = (e, t = null) => {
2658
2670
  ], 544)
2659
2671
  ], 64));
2660
2672
  }
2661
- }, Td = /* @__PURE__ */ O(ul, [["__scopeId", "data-v-77f4b9a1"]]), Aa = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", ra = {
2673
+ }, Vd = /* @__PURE__ */ z(ul, [["__scopeId", "data-v-77f4b9a1"]]), Aa = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", ra = {
2662
2674
  recent: "Recently used",
2663
2675
  smileys_people: "Smiles & People",
2664
2676
  animals_nature: "Animals & Nature",
@@ -2668,7 +2680,7 @@ const Md = (e, t = null) => {
2668
2680
  objects: "Objects",
2669
2681
  symbols: "Symbols",
2670
2682
  flags: "Flags"
2671
- }, ua = "u", vf = "n", zt = "v", _t = "r", cl = {
2683
+ }, ua = "u", vf = "n", Ot = "v", _t = "r", cl = {
2672
2684
  [vf]: ["grinning face", "grinning"],
2673
2685
  [ua]: "1f600",
2674
2686
  [_t]: "1f600"
@@ -14685,7 +14697,7 @@ function Sl(e) {
14685
14697
  const a = () => {
14686
14698
  e.removeEventListener("success", s), e.removeEventListener("error", i);
14687
14699
  }, s = () => {
14688
- f(Ce(e.result)), a();
14700
+ f(Oe(e.result)), a();
14689
14701
  }, i = () => {
14690
14702
  n(e.error), a();
14691
14703
  };
@@ -14721,7 +14733,7 @@ let $f = {
14721
14733
  if (t === "store")
14722
14734
  return f.objectStoreNames[1] ? void 0 : f.objectStore(f.objectStoreNames[0]);
14723
14735
  }
14724
- return Ce(e[t]);
14736
+ return Oe(e[t]);
14725
14737
  },
14726
14738
  set(e, t, f) {
14727
14739
  return e[t] = f, !0;
@@ -14730,23 +14742,23 @@ let $f = {
14730
14742
  return e instanceof IDBTransaction && (t === "done" || t === "store") ? !0 : t in e;
14731
14743
  }
14732
14744
  };
14733
- function zl(e) {
14745
+ function Ol(e) {
14734
14746
  $f = e($f);
14735
14747
  }
14736
- function Ol(e) {
14748
+ function zl(e) {
14737
14749
  return e === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(t, ...f) {
14738
14750
  const n = e.call(Vf(this), t, ...f);
14739
- return da.set(n, t.sort ? t.sort() : [t]), Ce(n);
14751
+ return da.set(n, t.sort ? t.sort() : [t]), Oe(n);
14740
14752
  } : Vl().includes(e) ? function(...t) {
14741
- return e.apply(Vf(this), t), Ce(ca.get(this));
14753
+ return e.apply(Vf(this), t), Oe(ca.get(this));
14742
14754
  } : function(...t) {
14743
- return Ce(e.apply(Vf(this), t));
14755
+ return Oe(e.apply(Vf(this), t));
14744
14756
  };
14745
14757
  }
14746
14758
  function Ll(e) {
14747
- return typeof e == "function" ? Ol(e) : (e instanceof IDBTransaction && Cl(e), Tl(e, xl()) ? new Proxy(e, $f) : e);
14759
+ return typeof e == "function" ? zl(e) : (e instanceof IDBTransaction && Cl(e), Tl(e, xl()) ? new Proxy(e, $f) : e);
14748
14760
  }
14749
- function Ce(e) {
14761
+ function Oe(e) {
14750
14762
  if (e instanceof IDBRequest)
14751
14763
  return Sl(e);
14752
14764
  if (xf.has(e))
@@ -14756,9 +14768,9 @@ function Ce(e) {
14756
14768
  }
14757
14769
  const Vf = (e) => en.get(e);
14758
14770
  function tn(e, t, { blocked: f, upgrade: n, blocking: a, terminated: s } = {}) {
14759
- const i = indexedDB.open(e, t), l = Ce(i);
14771
+ const i = indexedDB.open(e, t), l = Oe(i);
14760
14772
  return n && i.addEventListener("upgradeneeded", (u) => {
14761
- n(Ce(i.result), u.oldVersion, u.newVersion, Ce(i.transaction), u);
14773
+ n(Oe(i.result), u.oldVersion, u.newVersion, Oe(i.transaction), u);
14762
14774
  }), f && i.addEventListener("blocked", (u) => f(
14763
14775
  u.oldVersion,
14764
14776
  u.newVersion,
@@ -14787,7 +14799,7 @@ function Vn(e, t) {
14787
14799
  };
14788
14800
  return Sf.set(t, s), s;
14789
14801
  }
14790
- zl((e) => ({
14802
+ Ol((e) => ({
14791
14803
  ...e,
14792
14804
  get: (t, f, n) => Vn(t, f) || e.get(t, f, n),
14793
14805
  has: (t, f) => !!Vn(t, f) || e.has(t, f)
@@ -14896,7 +14908,7 @@ function $l() {
14896
14908
  e.recent = [m, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), A();
14897
14909
  };
14898
14910
  return {
14899
- state: Oa(e),
14911
+ state: za(e),
14900
14912
  updateSearch: a,
14901
14913
  updateEmoji: s,
14902
14914
  updateActiveGroup: i,
@@ -14905,15 +14917,15 @@ function $l() {
14905
14917
  updateSelect: g
14906
14918
  };
14907
14919
  }
14908
- var ae = "top", pe = "bottom", he = "right", se = "left", an = "auto", wt = [ae, pe, he, se], Ke = "start", It = "end", ql = "clippingParents", ga = "viewport", ot = "popper", Fl = "reference", Sn = /* @__PURE__ */ wt.reduce(function(e, t) {
14920
+ var ae = "top", he = "bottom", ye = "right", se = "left", an = "auto", wt = [ae, he, ye, se], Ke = "start", It = "end", Fl = "clippingParents", ga = "viewport", ot = "popper", ql = "reference", Sn = /* @__PURE__ */ wt.reduce(function(e, t) {
14909
14921
  return e.concat([t + "-" + Ke, t + "-" + It]);
14910
14922
  }, []), ma = /* @__PURE__ */ [].concat(wt, [an]).reduce(function(e, t) {
14911
14923
  return e.concat([t, t + "-" + Ke, t + "-" + It]);
14912
14924
  }, []), Pl = "beforeRead", Hl = "read", Wl = "afterRead", Kl = "beforeMain", Jl = "main", Gl = "afterMain", Zl = "beforeWrite", Xl = "write", eA = "afterWrite", tA = [Pl, Hl, Wl, Kl, Jl, Gl, Zl, Xl, eA];
14913
- function ke(e) {
14925
+ function we(e) {
14914
14926
  return e ? (e.nodeName || "").toLowerCase() : null;
14915
14927
  }
14916
- function be(e) {
14928
+ function Me(e) {
14917
14929
  if (e == null)
14918
14930
  return window;
14919
14931
  if (e.toString() !== "[object Window]") {
@@ -14923,24 +14935,24 @@ function be(e) {
14923
14935
  return e;
14924
14936
  }
14925
14937
  function Je(e) {
14926
- var t = be(e).Element;
14938
+ var t = Me(e).Element;
14927
14939
  return e instanceof t || e instanceof Element;
14928
14940
  }
14929
- function me(e) {
14930
- var t = be(e).HTMLElement;
14941
+ function pe(e) {
14942
+ var t = Me(e).HTMLElement;
14931
14943
  return e instanceof t || e instanceof HTMLElement;
14932
14944
  }
14933
14945
  function pa(e) {
14934
14946
  if (typeof ShadowRoot > "u")
14935
14947
  return !1;
14936
- var t = be(e).ShadowRoot;
14948
+ var t = Me(e).ShadowRoot;
14937
14949
  return e instanceof t || e instanceof ShadowRoot;
14938
14950
  }
14939
14951
  function fA(e) {
14940
14952
  var t = e.state;
14941
14953
  Object.keys(t.elements).forEach(function(f) {
14942
14954
  var n = t.styles[f] || {}, a = t.attributes[f] || {}, s = t.elements[f];
14943
- !me(s) || !ke(s) || (Object.assign(s.style, n), Object.keys(a).forEach(function(i) {
14955
+ !pe(s) || !we(s) || (Object.assign(s.style, n), Object.keys(a).forEach(function(i) {
14944
14956
  var l = a[i];
14945
14957
  l === !1 ? s.removeAttribute(i) : s.setAttribute(i, l === !0 ? "" : l);
14946
14958
  }));
@@ -14964,7 +14976,7 @@ function nA(e) {
14964
14976
  var a = t.elements[n], s = t.attributes[n] || {}, i = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : f[n]), l = i.reduce(function(u, A) {
14965
14977
  return u[A] = "", u;
14966
14978
  }, {});
14967
- !me(a) || !ke(a) || (Object.assign(a.style, l), Object.keys(s).forEach(function(u) {
14979
+ !pe(a) || !we(a) || (Object.assign(a.style, l), Object.keys(s).forEach(function(u) {
14968
14980
  a.removeAttribute(u);
14969
14981
  }));
14970
14982
  });
@@ -14978,14 +14990,14 @@ var aA = {
14978
14990
  effect: nA,
14979
14991
  requires: ["computeStyles"]
14980
14992
  };
14981
- function Ie(e) {
14993
+ function ke(e) {
14982
14994
  return e.split("-")[0];
14983
14995
  }
14984
14996
  var Ye = Math.max, pf = Math.min, Ge = Math.round;
14985
14997
  function Ze(e, t) {
14986
14998
  t === void 0 && (t = !1);
14987
14999
  var f = e.getBoundingClientRect(), n = 1, a = 1;
14988
- if (me(e) && t) {
15000
+ if (pe(e) && t) {
14989
15001
  var s = e.offsetHeight, i = e.offsetWidth;
14990
15002
  i > 0 && (n = Ge(f.width) / i || 1), s > 0 && (a = Ge(f.height) / s || 1);
14991
15003
  }
@@ -15023,30 +15035,30 @@ function ha(e, t) {
15023
15035
  }
15024
15036
  return !1;
15025
15037
  }
15026
- function we(e) {
15027
- return be(e).getComputedStyle(e);
15038
+ function Ne(e) {
15039
+ return Me(e).getComputedStyle(e);
15028
15040
  }
15029
15041
  function sA(e) {
15030
- return ["table", "td", "th"].indexOf(ke(e)) >= 0;
15042
+ return ["table", "td", "th"].indexOf(we(e)) >= 0;
15031
15043
  }
15032
- function Oe(e) {
15044
+ function Le(e) {
15033
15045
  return ((Je(e) ? e.ownerDocument : e.document) || window.document).documentElement;
15034
15046
  }
15035
15047
  function bf(e) {
15036
- return ke(e) === "html" ? e : e.assignedSlot || e.parentNode || (pa(e) ? e.host : null) || Oe(e);
15048
+ return we(e) === "html" ? e : e.assignedSlot || e.parentNode || (pa(e) ? e.host : null) || Le(e);
15037
15049
  }
15038
15050
  function Cn(e) {
15039
- return !me(e) || we(e).position === "fixed" ? null : e.offsetParent;
15051
+ return !pe(e) || Ne(e).position === "fixed" ? null : e.offsetParent;
15040
15052
  }
15041
15053
  function iA(e) {
15042
15054
  var t = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1, f = navigator.userAgent.indexOf("Trident") !== -1;
15043
- if (f && me(e)) {
15044
- var n = we(e);
15055
+ if (f && pe(e)) {
15056
+ var n = Ne(e);
15045
15057
  if (n.position === "fixed")
15046
15058
  return null;
15047
15059
  }
15048
- for (var a = bf(e); me(a) && ["html", "body"].indexOf(ke(a)) < 0; ) {
15049
- var s = we(a);
15060
+ for (var a = bf(e); pe(a) && ["html", "body"].indexOf(we(a)) < 0; ) {
15061
+ var s = Ne(a);
15050
15062
  if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
15051
15063
  return a;
15052
15064
  a = a.parentNode;
@@ -15054,9 +15066,9 @@ function iA(e) {
15054
15066
  return null;
15055
15067
  }
15056
15068
  function Nt(e) {
15057
- for (var t = be(e), f = Cn(e); f && sA(f) && we(f).position === "static"; )
15069
+ for (var t = Me(e), f = Cn(e); f && sA(f) && Ne(f).position === "static"; )
15058
15070
  f = Cn(f);
15059
- return f && (ke(f) === "html" || ke(f) === "body" && we(f).position === "static") ? t : f || iA(e) || t;
15071
+ return f && (we(f) === "html" || we(f) === "body" && Ne(f).position === "static") ? t : f || iA(e) || t;
15060
15072
  }
15061
15073
  function on(e) {
15062
15074
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
@@ -15090,9 +15102,9 @@ var lA = function(t, f) {
15090
15102
  })) : t, va(typeof t != "number" ? t : ba(t, wt));
15091
15103
  };
15092
15104
  function AA(e) {
15093
- var t, f = e.state, n = e.name, a = e.options, s = f.elements.arrow, i = f.modifiersData.popperOffsets, l = Ie(f.placement), u = on(l), A = [se, he].indexOf(l) >= 0, g = A ? "height" : "width";
15105
+ var t, f = e.state, n = e.name, a = e.options, s = f.elements.arrow, i = f.modifiersData.popperOffsets, l = ke(f.placement), u = on(l), A = [se, ye].indexOf(l) >= 0, g = A ? "height" : "width";
15094
15106
  if (!(!s || !i)) {
15095
- var d = lA(a.padding, f), p = sn(s), m = u === "y" ? ae : se, v = u === "y" ? pe : he, y = f.rects.reference[g] + f.rects.reference[u] - i[u] - f.rects.popper[g], h = i[u] - f.rects.reference[u], E = Nt(s), T = E ? u === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, U = y / 2 - h / 2, V = d[m], k = T - p[g] - d[v], j = T / 2 - p[g] / 2 + U, I = pt(V, j, k), w = u;
15107
+ var d = lA(a.padding, f), p = sn(s), m = u === "y" ? ae : se, v = u === "y" ? he : ye, y = f.rects.reference[g] + f.rects.reference[u] - i[u] - f.rects.popper[g], h = i[u] - f.rects.reference[u], E = Nt(s), T = E ? u === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, U = y / 2 - h / 2, V = d[m], k = T - p[g] - d[v], j = T / 2 - p[g] / 2 + U, I = pt(V, j, k), w = u;
15096
15108
  f.modifiersData[n] = (t = {}, t[w] = I, t.centerOffset = I - j, t);
15097
15109
  }
15098
15110
  }
@@ -15125,17 +15137,17 @@ function dA(e) {
15125
15137
  y: Ge(f * a) / a || 0
15126
15138
  };
15127
15139
  }
15128
- function zn(e) {
15140
+ function On(e) {
15129
15141
  var t, f = e.popper, n = e.popperRect, a = e.placement, s = e.variation, i = e.offsets, l = e.position, u = e.gpuAcceleration, A = e.adaptive, g = e.roundOffsets, d = e.isFixed, p = g === !0 ? dA(i) : typeof g == "function" ? g(i) : i, m = p.x, v = m === void 0 ? 0 : m, y = p.y, h = y === void 0 ? 0 : y, E = i.hasOwnProperty("x"), T = i.hasOwnProperty("y"), U = se, V = ae, k = window;
15130
15142
  if (A) {
15131
15143
  var j = Nt(f), I = "clientHeight", w = "clientWidth";
15132
- if (j === be(f) && (j = Oe(f), we(j).position !== "static" && l === "absolute" && (I = "scrollHeight", w = "scrollWidth")), j = j, a === ae || (a === se || a === he) && s === It) {
15133
- V = pe;
15144
+ if (j === Me(f) && (j = Le(f), Ne(j).position !== "static" && l === "absolute" && (I = "scrollHeight", w = "scrollWidth")), j = j, a === ae || (a === se || a === ye) && s === It) {
15145
+ V = he;
15134
15146
  var D = d && k.visualViewport ? k.visualViewport.height : j[I];
15135
15147
  h -= D - n.height, h *= u ? 1 : -1;
15136
15148
  }
15137
- if (a === se || (a === ae || a === pe) && s === It) {
15138
- U = he;
15149
+ if (a === se || (a === ae || a === he) && s === It) {
15150
+ U = ye;
15139
15151
  var x = d && k.visualViewport ? k.visualViewport.width : j[w];
15140
15152
  v -= x - n.width, v *= u ? 1 : -1;
15141
15153
  }
@@ -15151,19 +15163,19 @@ function zn(e) {
15151
15163
  }
15152
15164
  function gA(e) {
15153
15165
  var t = e.state, f = e.options, n = f.gpuAcceleration, a = n === void 0 ? !0 : n, s = f.adaptive, i = s === void 0 ? !0 : s, l = f.roundOffsets, u = l === void 0 ? !0 : l, A = {
15154
- placement: Ie(t.placement),
15166
+ placement: ke(t.placement),
15155
15167
  variation: Xe(t.placement),
15156
15168
  popper: t.elements.popper,
15157
15169
  popperRect: t.rects.popper,
15158
15170
  gpuAcceleration: a,
15159
15171
  isFixed: t.options.strategy === "fixed"
15160
15172
  };
15161
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, zn(Object.assign({}, A, {
15173
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, On(Object.assign({}, A, {
15162
15174
  offsets: t.modifiersData.popperOffsets,
15163
15175
  position: t.options.strategy,
15164
15176
  adaptive: i,
15165
15177
  roundOffsets: u
15166
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, zn(Object.assign({}, A, {
15178
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, On(Object.assign({}, A, {
15167
15179
  offsets: t.modifiersData.arrow,
15168
15180
  position: "absolute",
15169
15181
  adaptive: !1,
@@ -15178,17 +15190,17 @@ var mA = {
15178
15190
  phase: "beforeWrite",
15179
15191
  fn: gA,
15180
15192
  data: {}
15181
- }, Ot = {
15193
+ }, zt = {
15182
15194
  passive: !0
15183
15195
  };
15184
15196
  function pA(e) {
15185
- var t = e.state, f = e.instance, n = e.options, a = n.scroll, s = a === void 0 ? !0 : a, i = n.resize, l = i === void 0 ? !0 : i, u = be(t.elements.popper), A = [].concat(t.scrollParents.reference, t.scrollParents.popper);
15197
+ var t = e.state, f = e.instance, n = e.options, a = n.scroll, s = a === void 0 ? !0 : a, i = n.resize, l = i === void 0 ? !0 : i, u = Me(t.elements.popper), A = [].concat(t.scrollParents.reference, t.scrollParents.popper);
15186
15198
  return s && A.forEach(function(g) {
15187
- g.addEventListener("scroll", f.update, Ot);
15188
- }), l && u.addEventListener("resize", f.update, Ot), function() {
15199
+ g.addEventListener("scroll", f.update, zt);
15200
+ }), l && u.addEventListener("resize", f.update, zt), function() {
15189
15201
  s && A.forEach(function(g) {
15190
- g.removeEventListener("scroll", f.update, Ot);
15191
- }), l && u.removeEventListener("resize", f.update, Ot);
15202
+ g.removeEventListener("scroll", f.update, zt);
15203
+ }), l && u.removeEventListener("resize", f.update, zt);
15192
15204
  };
15193
15205
  }
15194
15206
  var hA = {
@@ -15214,23 +15226,23 @@ var vA = {
15214
15226
  start: "end",
15215
15227
  end: "start"
15216
15228
  };
15217
- function On(e) {
15229
+ function zn(e) {
15218
15230
  return e.replace(/start|end/g, function(t) {
15219
15231
  return vA[t];
15220
15232
  });
15221
15233
  }
15222
15234
  function ln(e) {
15223
- var t = be(e), f = t.pageXOffset, n = t.pageYOffset;
15235
+ var t = Me(e), f = t.pageXOffset, n = t.pageYOffset;
15224
15236
  return {
15225
15237
  scrollLeft: f,
15226
15238
  scrollTop: n
15227
15239
  };
15228
15240
  }
15229
15241
  function An(e) {
15230
- return Ze(Oe(e)).left + ln(e).scrollLeft;
15242
+ return Ze(Le(e)).left + ln(e).scrollLeft;
15231
15243
  }
15232
15244
  function bA(e) {
15233
- var t = be(e), f = Oe(e), n = t.visualViewport, a = f.clientWidth, s = f.clientHeight, i = 0, l = 0;
15245
+ var t = Me(e), f = Le(e), n = t.visualViewport, a = f.clientWidth, s = f.clientHeight, i = 0, l = 0;
15234
15246
  return n && (a = n.width, s = n.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (i = n.offsetLeft, l = n.offsetTop)), {
15235
15247
  width: a,
15236
15248
  height: s,
@@ -15239,8 +15251,8 @@ function bA(e) {
15239
15251
  };
15240
15252
  }
15241
15253
  function MA(e) {
15242
- var t, f = Oe(e), n = ln(e), a = (t = e.ownerDocument) == null ? void 0 : t.body, s = Ye(f.scrollWidth, f.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), i = Ye(f.scrollHeight, f.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), l = -n.scrollLeft + An(e), u = -n.scrollTop;
15243
- return we(a || f).direction === "rtl" && (l += Ye(f.clientWidth, a ? a.clientWidth : 0) - s), {
15254
+ var t, f = Le(e), n = ln(e), a = (t = e.ownerDocument) == null ? void 0 : t.body, s = Ye(f.scrollWidth, f.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), i = Ye(f.scrollHeight, f.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), l = -n.scrollLeft + An(e), u = -n.scrollTop;
15255
+ return Ne(a || f).direction === "rtl" && (l += Ye(f.clientWidth, a ? a.clientWidth : 0) - s), {
15244
15256
  width: s,
15245
15257
  height: i,
15246
15258
  x: l,
@@ -15248,19 +15260,19 @@ function MA(e) {
15248
15260
  };
15249
15261
  }
15250
15262
  function rn(e) {
15251
- var t = we(e), f = t.overflow, n = t.overflowX, a = t.overflowY;
15263
+ var t = Ne(e), f = t.overflow, n = t.overflowX, a = t.overflowY;
15252
15264
  return /auto|scroll|overlay|hidden/.test(f + a + n);
15253
15265
  }
15254
15266
  function Ma(e) {
15255
- return ["html", "body", "#document"].indexOf(ke(e)) >= 0 ? e.ownerDocument.body : me(e) && rn(e) ? e : Ma(bf(e));
15267
+ return ["html", "body", "#document"].indexOf(we(e)) >= 0 ? e.ownerDocument.body : pe(e) && rn(e) ? e : Ma(bf(e));
15256
15268
  }
15257
15269
  function ht(e, t) {
15258
15270
  var f;
15259
15271
  t === void 0 && (t = []);
15260
- var n = Ma(e), a = n === ((f = e.ownerDocument) == null ? void 0 : f.body), s = be(n), i = a ? [s].concat(s.visualViewport || [], rn(n) ? n : []) : n, l = t.concat(i);
15272
+ var n = Ma(e), a = n === ((f = e.ownerDocument) == null ? void 0 : f.body), s = Me(n), i = a ? [s].concat(s.visualViewport || [], rn(n) ? n : []) : n, l = t.concat(i);
15261
15273
  return a ? l : l.concat(ht(bf(i)));
15262
15274
  }
15263
- function qf(e) {
15275
+ function Ff(e) {
15264
15276
  return Object.assign({}, e, {
15265
15277
  left: e.x,
15266
15278
  top: e.y,
@@ -15273,12 +15285,12 @@ function _A(e) {
15273
15285
  return t.top = t.top + e.clientTop, t.left = t.left + e.clientLeft, t.bottom = t.top + e.clientHeight, t.right = t.left + e.clientWidth, t.width = e.clientWidth, t.height = e.clientHeight, t.x = t.left, t.y = t.top, t;
15274
15286
  }
15275
15287
  function Ln(e, t) {
15276
- return t === ga ? qf(bA(e)) : Je(t) ? _A(t) : qf(MA(Oe(e)));
15288
+ return t === ga ? Ff(bA(e)) : Je(t) ? _A(t) : Ff(MA(Le(e)));
15277
15289
  }
15278
15290
  function IA(e) {
15279
- var t = ht(bf(e)), f = ["absolute", "fixed"].indexOf(we(e).position) >= 0, n = f && me(e) ? Nt(e) : e;
15291
+ var t = ht(bf(e)), f = ["absolute", "fixed"].indexOf(Ne(e).position) >= 0, n = f && pe(e) ? Nt(e) : e;
15280
15292
  return Je(n) ? t.filter(function(a) {
15281
- return Je(a) && ha(a, n) && ke(a) !== "body" && (f ? we(a).position !== "static" : !0);
15293
+ return Je(a) && ha(a, n) && we(a) !== "body" && (f ? Ne(a).position !== "static" : !0);
15282
15294
  }) : [];
15283
15295
  }
15284
15296
  function kA(e, t, f) {
@@ -15289,7 +15301,7 @@ function kA(e, t, f) {
15289
15301
  return i.width = i.right - i.left, i.height = i.bottom - i.top, i.x = i.left, i.y = i.top, i;
15290
15302
  }
15291
15303
  function _a(e) {
15292
- var t = e.reference, f = e.element, n = e.placement, a = n ? Ie(n) : null, s = n ? Xe(n) : null, i = t.x + t.width / 2 - f.width / 2, l = t.y + t.height / 2 - f.height / 2, u;
15304
+ var t = e.reference, f = e.element, n = e.placement, a = n ? ke(n) : null, s = n ? Xe(n) : null, i = t.x + t.width / 2 - f.width / 2, l = t.y + t.height / 2 - f.height / 2, u;
15293
15305
  switch (a) {
15294
15306
  case ae:
15295
15307
  u = {
@@ -15297,13 +15309,13 @@ function _a(e) {
15297
15309
  y: t.y - f.height
15298
15310
  };
15299
15311
  break;
15300
- case pe:
15312
+ case he:
15301
15313
  u = {
15302
15314
  x: i,
15303
15315
  y: t.y + t.height
15304
15316
  };
15305
15317
  break;
15306
- case he:
15318
+ case ye:
15307
15319
  u = {
15308
15320
  x: t.x + t.width,
15309
15321
  y: l
@@ -15337,12 +15349,12 @@ function _a(e) {
15337
15349
  }
15338
15350
  function kt(e, t) {
15339
15351
  t === void 0 && (t = {});
15340
- var f = t, n = f.placement, a = n === void 0 ? e.placement : n, s = f.boundary, i = s === void 0 ? ql : s, l = f.rootBoundary, u = l === void 0 ? ga : l, A = f.elementContext, g = A === void 0 ? ot : A, d = f.altBoundary, p = d === void 0 ? !1 : d, m = f.padding, v = m === void 0 ? 0 : m, y = va(typeof v != "number" ? v : ba(v, wt)), h = g === ot ? Fl : ot, E = e.rects.popper, T = e.elements[p ? h : g], U = kA(Je(T) ? T : T.contextElement || Oe(e.elements.popper), i, u), V = Ze(e.elements.reference), k = _a({
15352
+ var f = t, n = f.placement, a = n === void 0 ? e.placement : n, s = f.boundary, i = s === void 0 ? Fl : s, l = f.rootBoundary, u = l === void 0 ? ga : l, A = f.elementContext, g = A === void 0 ? ot : A, d = f.altBoundary, p = d === void 0 ? !1 : d, m = f.padding, v = m === void 0 ? 0 : m, y = va(typeof v != "number" ? v : ba(v, wt)), h = g === ot ? ql : ot, E = e.rects.popper, T = e.elements[p ? h : g], U = kA(Je(T) ? T : T.contextElement || Le(e.elements.popper), i, u), V = Ze(e.elements.reference), k = _a({
15341
15353
  reference: V,
15342
15354
  element: E,
15343
15355
  strategy: "absolute",
15344
15356
  placement: a
15345
- }), j = qf(Object.assign({}, E, k)), I = g === ot ? j : V, w = {
15357
+ }), j = Ff(Object.assign({}, E, k)), I = g === ot ? j : V, w = {
15346
15358
  top: U.top - I.top + y.top,
15347
15359
  bottom: I.bottom - U.bottom + y.bottom,
15348
15360
  left: U.left - I.left + y.left,
@@ -15351,7 +15363,7 @@ function kt(e, t) {
15351
15363
  if (g === ot && D) {
15352
15364
  var x = D[a];
15353
15365
  Object.keys(w).forEach(function(Q) {
15354
- var H = [he, pe].indexOf(Q) >= 0 ? 1 : -1, te = [ae, pe].indexOf(Q) >= 0 ? "y" : "x";
15366
+ var H = [ye, he].indexOf(Q) >= 0 ? 1 : -1, te = [ae, he].indexOf(Q) >= 0 ? "y" : "x";
15355
15367
  w[Q] += x[te] * H;
15356
15368
  });
15357
15369
  }
@@ -15371,42 +15383,42 @@ function wA(e, t) {
15371
15383
  boundary: a,
15372
15384
  rootBoundary: s,
15373
15385
  padding: i
15374
- })[Ie(y)], v;
15386
+ })[ke(y)], v;
15375
15387
  }, {});
15376
15388
  return Object.keys(m).sort(function(v, y) {
15377
15389
  return m[v] - m[y];
15378
15390
  });
15379
15391
  }
15380
15392
  function NA(e) {
15381
- if (Ie(e) === an)
15393
+ if (ke(e) === an)
15382
15394
  return [];
15383
15395
  var t = Bt(e);
15384
- return [On(e), t, On(t)];
15396
+ return [zn(e), t, zn(t)];
15385
15397
  }
15386
15398
  function DA(e) {
15387
15399
  var t = e.state, f = e.options, n = e.name;
15388
15400
  if (!t.modifiersData[n]._skip) {
15389
- for (var a = f.mainAxis, s = a === void 0 ? !0 : a, i = f.altAxis, l = i === void 0 ? !0 : i, u = f.fallbackPlacements, A = f.padding, g = f.boundary, d = f.rootBoundary, p = f.altBoundary, m = f.flipVariations, v = m === void 0 ? !0 : m, y = f.allowedAutoPlacements, h = t.options.placement, E = Ie(h), T = E === h, U = u || (T || !v ? [Bt(h)] : NA(h)), V = [h].concat(U).reduce(function(qe, Te) {
15390
- return qe.concat(Ie(Te) === an ? wA(t, {
15391
- placement: Te,
15401
+ for (var a = f.mainAxis, s = a === void 0 ? !0 : a, i = f.altAxis, l = i === void 0 ? !0 : i, u = f.fallbackPlacements, A = f.padding, g = f.boundary, d = f.rootBoundary, p = f.altBoundary, m = f.flipVariations, v = m === void 0 ? !0 : m, y = f.allowedAutoPlacements, h = t.options.placement, E = ke(h), T = E === h, U = u || (T || !v ? [Bt(h)] : NA(h)), V = [h].concat(U).reduce(function(Fe, xe) {
15402
+ return Fe.concat(ke(xe) === an ? wA(t, {
15403
+ placement: xe,
15392
15404
  boundary: g,
15393
15405
  rootBoundary: d,
15394
15406
  padding: A,
15395
15407
  flipVariations: v,
15396
15408
  allowedAutoPlacements: y
15397
- }) : Te);
15409
+ }) : xe);
15398
15410
  }, []), k = t.rects.reference, j = t.rects.popper, I = /* @__PURE__ */ new Map(), w = !0, D = V[0], x = 0; x < V.length; x++) {
15399
- var Q = V[x], H = Ie(Q), te = Xe(Q) === Ke, ue = [ae, pe].indexOf(H) >= 0, le = ue ? "width" : "height", S = kt(t, {
15411
+ var Q = V[x], H = ke(Q), te = Xe(Q) === Ke, ce = [ae, he].indexOf(H) >= 0, le = ce ? "width" : "height", S = kt(t, {
15400
15412
  placement: Q,
15401
15413
  boundary: g,
15402
15414
  rootBoundary: d,
15403
15415
  altBoundary: p,
15404
15416
  padding: A
15405
- }), L = ue ? te ? he : se : te ? pe : ae;
15417
+ }), L = ce ? te ? ye : se : te ? he : ae;
15406
15418
  k[le] > j[le] && (L = Bt(L));
15407
15419
  var B = Bt(L), X = [];
15408
- if (s && X.push(S[H] <= 0), l && X.push(S[L] <= 0, S[B] <= 0), X.every(function(qe) {
15409
- return qe;
15420
+ if (s && X.push(S[H] <= 0), l && X.push(S[L] <= 0, S[B] <= 0), X.every(function(Fe) {
15421
+ return Fe;
15410
15422
  })) {
15411
15423
  D = Q, w = !1;
15412
15424
  break;
@@ -15414,18 +15426,18 @@ function DA(e) {
15414
15426
  I.set(Q, X);
15415
15427
  }
15416
15428
  if (w)
15417
- for (var ye = v ? 3 : 1, Ne = function(Te) {
15429
+ for (var ve = v ? 3 : 1, De = function(xe) {
15418
15430
  var st = V.find(function(Tt) {
15419
- var Ue = I.get(Tt);
15420
- if (Ue)
15421
- return Ue.slice(0, Te).every(function(Mf) {
15431
+ var Be = I.get(Tt);
15432
+ if (Be)
15433
+ return Be.slice(0, xe).every(function(Mf) {
15422
15434
  return Mf;
15423
15435
  });
15424
15436
  });
15425
15437
  if (st)
15426
15438
  return D = st, "break";
15427
- }, at = ye; at > 0; at--) {
15428
- var Et = Ne(at);
15439
+ }, at = ve; at > 0; at--) {
15440
+ var Et = De(at);
15429
15441
  if (Et === "break")
15430
15442
  break;
15431
15443
  }
@@ -15454,7 +15466,7 @@ function Un(e, t, f) {
15454
15466
  };
15455
15467
  }
15456
15468
  function Bn(e) {
15457
- return [ae, he, pe, se].some(function(t) {
15469
+ return [ae, ye, he, se].some(function(t) {
15458
15470
  return e[t] >= 0;
15459
15471
  });
15460
15472
  }
@@ -15482,10 +15494,10 @@ var TA = {
15482
15494
  fn: EA
15483
15495
  };
15484
15496
  function xA(e, t, f) {
15485
- var n = Ie(e), a = [se, ae].indexOf(n) >= 0 ? -1 : 1, s = typeof f == "function" ? f(Object.assign({}, t, {
15497
+ var n = ke(e), a = [se, ae].indexOf(n) >= 0 ? -1 : 1, s = typeof f == "function" ? f(Object.assign({}, t, {
15486
15498
  placement: e
15487
15499
  })) : f, i = s[0], l = s[1];
15488
- return i = i || 0, l = (l || 0) * a, [se, he].indexOf(n) >= 0 ? {
15500
+ return i = i || 0, l = (l || 0) * a, [se, ye].indexOf(n) >= 0 ? {
15489
15501
  x: l,
15490
15502
  y: i
15491
15503
  } : {
@@ -15515,14 +15527,14 @@ function CA(e) {
15515
15527
  placement: t.placement
15516
15528
  });
15517
15529
  }
15518
- var zA = {
15530
+ var OA = {
15519
15531
  name: "popperOffsets",
15520
15532
  enabled: !0,
15521
15533
  phase: "read",
15522
15534
  fn: CA,
15523
15535
  data: {}
15524
15536
  };
15525
- function OA(e) {
15537
+ function zA(e) {
15526
15538
  return e === "x" ? "y" : "x";
15527
15539
  }
15528
15540
  function LA(e) {
@@ -15531,7 +15543,7 @@ function LA(e) {
15531
15543
  rootBoundary: A,
15532
15544
  padding: d,
15533
15545
  altBoundary: g
15534
- }), E = Ie(t.placement), T = Xe(t.placement), U = !T, V = on(E), k = OA(V), j = t.modifiersData.popperOffsets, I = t.rects.reference, w = t.rects.popper, D = typeof y == "function" ? y(Object.assign({}, t.rects, {
15546
+ }), E = ke(t.placement), T = Xe(t.placement), U = !T, V = on(E), k = zA(V), j = t.modifiersData.popperOffsets, I = t.rects.reference, w = t.rects.popper, D = typeof y == "function" ? y(Object.assign({}, t.rects, {
15535
15547
  placement: t.placement
15536
15548
  })) : y, x = typeof D == "number" ? {
15537
15549
  mainAxis: D,
@@ -15545,15 +15557,15 @@ function LA(e) {
15545
15557
  };
15546
15558
  if (j) {
15547
15559
  if (s) {
15548
- var te, ue = V === "y" ? ae : se, le = V === "y" ? pe : he, S = V === "y" ? "height" : "width", L = j[V], B = L + h[ue], X = L - h[le], ye = m ? -w[S] / 2 : 0, Ne = T === Ke ? I[S] : w[S], at = T === Ke ? -w[S] : -I[S], Et = t.elements.arrow, qe = m && Et ? sn(Et) : {
15560
+ var te, ce = V === "y" ? ae : se, le = V === "y" ? he : ye, S = V === "y" ? "height" : "width", L = j[V], B = L + h[ce], X = L - h[le], ve = m ? -w[S] / 2 : 0, De = T === Ke ? I[S] : w[S], at = T === Ke ? -w[S] : -I[S], Et = t.elements.arrow, Fe = m && Et ? sn(Et) : {
15549
15561
  width: 0,
15550
15562
  height: 0
15551
- }, Te = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ya(), st = Te[ue], Tt = Te[le], Ue = pt(0, I[S], qe[S]), Mf = U ? I[S] / 2 - ye - Ue - st - x.mainAxis : Ne - Ue - st - x.mainAxis, Na = U ? -I[S] / 2 + ye + Ue + Tt + x.mainAxis : at + Ue + Tt + x.mainAxis, _f = t.elements.arrow && Nt(t.elements.arrow), Da = _f ? V === "y" ? _f.clientTop || 0 : _f.clientLeft || 0 : 0, cn = (te = Q == null ? void 0 : Q[V]) != null ? te : 0, ja = L + Mf - cn - Da, Ea = L + Na - cn, dn = pt(m ? pf(B, ja) : B, L, m ? Ye(X, Ea) : X);
15563
+ }, xe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ya(), st = xe[ce], Tt = xe[le], Be = pt(0, I[S], Fe[S]), Mf = U ? I[S] / 2 - ve - Be - st - x.mainAxis : De - Be - st - x.mainAxis, Na = U ? -I[S] / 2 + ve + Be + Tt + x.mainAxis : at + Be + Tt + x.mainAxis, _f = t.elements.arrow && Nt(t.elements.arrow), Da = _f ? V === "y" ? _f.clientTop || 0 : _f.clientLeft || 0 : 0, cn = (te = Q == null ? void 0 : Q[V]) != null ? te : 0, ja = L + Mf - cn - Da, Ea = L + Na - cn, dn = pt(m ? pf(B, ja) : B, L, m ? Ye(X, Ea) : X);
15552
15564
  j[V] = dn, H[V] = dn - L;
15553
15565
  }
15554
15566
  if (l) {
15555
- var gn, Ta = V === "x" ? ae : se, xa = V === "x" ? pe : he, Be = j[k], xt = k === "y" ? "height" : "width", mn = Be + h[Ta], pn = Be - h[xa], If = [ae, se].indexOf(E) !== -1, hn = (gn = Q == null ? void 0 : Q[k]) != null ? gn : 0, yn = If ? mn : Be - I[xt] - w[xt] - hn + x.altAxis, vn = If ? Be + I[xt] + w[xt] - hn - x.altAxis : pn, bn = m && If ? oA(yn, Be, vn) : pt(m ? yn : mn, Be, m ? vn : pn);
15556
- j[k] = bn, H[k] = bn - Be;
15567
+ var gn, Ta = V === "x" ? ae : se, xa = V === "x" ? he : ye, Qe = j[k], xt = k === "y" ? "height" : "width", mn = Qe + h[Ta], pn = Qe - h[xa], If = [ae, se].indexOf(E) !== -1, hn = (gn = Q == null ? void 0 : Q[k]) != null ? gn : 0, yn = If ? mn : Qe - I[xt] - w[xt] - hn + x.altAxis, vn = If ? Qe + I[xt] + w[xt] - hn - x.altAxis : pn, bn = m && If ? oA(yn, Qe, vn) : pt(m ? yn : mn, Qe, m ? vn : pn);
15568
+ j[k] = bn, H[k] = bn - Qe;
15557
15569
  }
15558
15570
  t.modifiersData[n] = H;
15559
15571
  }
@@ -15572,7 +15584,7 @@ function BA(e) {
15572
15584
  };
15573
15585
  }
15574
15586
  function QA(e) {
15575
- return e === be(e) || !me(e) ? ln(e) : BA(e);
15587
+ return e === Me(e) || !pe(e) ? ln(e) : BA(e);
15576
15588
  }
15577
15589
  function RA(e) {
15578
15590
  var t = e.getBoundingClientRect(), f = Ge(t.width) / e.offsetWidth || 1, n = Ge(t.height) / e.offsetHeight || 1;
@@ -15580,14 +15592,14 @@ function RA(e) {
15580
15592
  }
15581
15593
  function YA(e, t, f) {
15582
15594
  f === void 0 && (f = !1);
15583
- var n = me(t), a = me(t) && RA(t), s = Oe(t), i = Ze(e, a), l = {
15595
+ var n = pe(t), a = pe(t) && RA(t), s = Le(t), i = Ze(e, a), l = {
15584
15596
  scrollLeft: 0,
15585
15597
  scrollTop: 0
15586
15598
  }, u = {
15587
15599
  x: 0,
15588
15600
  y: 0
15589
15601
  };
15590
- return (n || !n && !f) && ((ke(t) !== "body" || rn(s)) && (l = QA(t)), me(t) ? (u = Ze(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : s && (u.x = An(s))), {
15602
+ return (n || !n && !f) && ((we(t) !== "body" || rn(s)) && (l = QA(t)), pe(t) ? (u = Ze(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : s && (u.x = An(s))), {
15591
15603
  x: i.left + l.scrollLeft - u.x,
15592
15604
  y: i.top + l.scrollTop - u.y,
15593
15605
  width: i.width,
@@ -15613,7 +15625,7 @@ function $A(e) {
15613
15625
  f.has(s.name) || a(s);
15614
15626
  }), n;
15615
15627
  }
15616
- function qA(e) {
15628
+ function FA(e) {
15617
15629
  var t = $A(e);
15618
15630
  return tA.reduce(function(f, n) {
15619
15631
  return f.concat(t.filter(function(a) {
@@ -15621,7 +15633,7 @@ function qA(e) {
15621
15633
  }));
15622
15634
  }, []);
15623
15635
  }
15624
- function FA(e) {
15636
+ function qA(e) {
15625
15637
  var t;
15626
15638
  return function() {
15627
15639
  return t || (t = new Promise(function(f) {
@@ -15679,7 +15691,7 @@ function HA(e) {
15679
15691
  reference: Je(l) ? ht(l) : l.contextElement ? ht(l.contextElement) : [],
15680
15692
  popper: ht(u)
15681
15693
  };
15682
- var U = qA(PA([].concat(n, g.options.modifiers)));
15694
+ var U = FA(PA([].concat(n, g.options.modifiers)));
15683
15695
  return g.orderedModifiers = U.filter(function(V) {
15684
15696
  return V.enabled;
15685
15697
  }), v(), m.update();
@@ -15710,7 +15722,7 @@ function HA(e) {
15710
15722
  }
15711
15723
  }
15712
15724
  },
15713
- update: FA(function() {
15725
+ update: qA(function() {
15714
15726
  return new Promise(function(h) {
15715
15727
  m.forceUpdate(), h(g);
15716
15728
  });
@@ -15747,7 +15759,7 @@ function HA(e) {
15747
15759
  return m;
15748
15760
  };
15749
15761
  }
15750
- var WA = [hA, zA, mA, aA, SA, jA, UA, uA, TA], KA = /* @__PURE__ */ HA({
15762
+ var WA = [hA, OA, mA, aA, SA, jA, UA, uA, TA], KA = /* @__PURE__ */ HA({
15751
15763
  defaultModifiers: WA
15752
15764
  }), Ia = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
15753
15765
  function Qt(e) {
@@ -15763,11 +15775,11 @@ function JA(e, t, f, n = []) {
15763
15775
  var u;
15764
15776
  if (l[vf][0].includes(t.toLocaleLowerCase())) {
15765
15777
  let A = l[ua];
15766
- if (f !== mf && Array.isArray(l[zt])) {
15767
- const g = ((u = l[zt]) == null ? void 0 : u.findIndex(
15778
+ if (f !== mf && Array.isArray(l[Ot])) {
15779
+ const g = ((u = l[Ot]) == null ? void 0 : u.findIndex(
15768
15780
  (d) => d.includes(f)
15769
15781
  )) || -1;
15770
- g !== -1 && l[zt] && (A = l[zt][g]);
15782
+ g !== -1 && l[Ot] && (A = l[Ot][g]);
15771
15783
  }
15772
15784
  return i.push({
15773
15785
  ...l,
@@ -15858,7 +15870,7 @@ function sr(e, t, f, n, a, s) {
15858
15870
  return r(), c("div", ZA, [
15859
15871
  o("div", {
15860
15872
  ref: "bodyInner",
15861
- class: C([e.platform, "v3-body-inner"])
15873
+ class: O([e.platform, "v3-body-inner"])
15862
15874
  }, [
15863
15875
  e.orderedKeys.length ? (r(!0), c(q, { key: 0 }, Z(e.orderedKeys, (i) => (r(), c("div", {
15864
15876
  id: i,
@@ -15867,7 +15879,7 @@ function sr(e, t, f, n, a, s) {
15867
15879
  }, [
15868
15880
  e.hasGroupNames ? re((r(), c("h5", {
15869
15881
  key: 0,
15870
- class: C(e.isSticky ? "v3-sticky" : "")
15882
+ class: O(e.isSticky ? "v3-sticky" : "")
15871
15883
  }, N(e.groupNames[i]), 3)), [
15872
15884
  [yt, e.emojis[i]]
15873
15885
  ]) : b("", !0),
@@ -15952,7 +15964,7 @@ function kr(e, t, f, n, a, s) {
15952
15964
  (r(!0), c(q, null, Z(e.orderedGroups, (i) => (r(), c("button", {
15953
15965
  key: i.key,
15954
15966
  type: "button",
15955
- class: C(["v3-group", {
15967
+ class: O(["v3-group", {
15956
15968
  "v3-is-hidden": !e.icons[i.key]
15957
15969
  }]),
15958
15970
  onClick: (l) => e.updateActiveGroup(i.key)
@@ -16030,7 +16042,7 @@ function Sr(e, t, f, n, a, s) {
16030
16042
  }, [
16031
16043
  o("div", Dr, [
16032
16044
  o("span", {
16033
- class: C([e.platform, "v3-icon"])
16045
+ class: O([e.platform, "v3-icon"])
16034
16046
  }, [
16035
16047
  e.native || e.hasError ? (r(), c("span", jr, N(e.unicodeToEmoji(e.emoji.r)), 1)) : (r(), c("img", {
16036
16048
  key: 1,
@@ -16049,16 +16061,16 @@ function Sr(e, t, f, n, a, s) {
16049
16061
  }, [
16050
16062
  o("span", xr, N(e.skinToneText), 1),
16051
16063
  o("span", {
16052
- class: C(`v3-icon v3-tone-${e.stateSkinTone}`)
16064
+ class: O(`v3-icon v3-tone-${e.stateSkinTone}`)
16053
16065
  }, null, 2)
16054
16066
  ]),
16055
16067
  o("div", {
16056
- class: C([e.skinTone ? "v3-is-open" : "", "v3-skin-tones"])
16068
+ class: O([e.skinTone ? "v3-is-open" : "", "v3-skin-tones"])
16057
16069
  }, [
16058
16070
  (r(!0), c(q, null, Z(e.SKIN_TONES, (i) => (r(), c("button", {
16059
16071
  key: i,
16060
16072
  type: "button",
16061
- class: C(["v3-skin-tone-" + i, "v3-skin-tone"]),
16073
+ class: O(["v3-skin-tone-" + i, "v3-skin-tone"]),
16062
16074
  onClick: (l) => e.selectSkinTone(i)
16063
16075
  }, null, 10, Vr))), 128))
16064
16076
  ], 2)
@@ -16066,7 +16078,7 @@ function Sr(e, t, f, n, a, s) {
16066
16078
  ], 32);
16067
16079
  }
16068
16080
  var Cr = /* @__PURE__ */ Dt(Nr, [["render", Sr]]);
16069
- const zr = P({
16081
+ const Or = P({
16070
16082
  name: "PickerRoot",
16071
16083
  components: {
16072
16084
  Header: wr,
@@ -16145,7 +16157,7 @@ const zr = P({
16145
16157
  }
16146
16158
  return oe(() => {
16147
16159
  v();
16148
- }), za(() => {
16160
+ }), Oa(() => {
16149
16161
  document.body.removeEventListener("click", m);
16150
16162
  }), {
16151
16163
  face: Ia,
@@ -16161,13 +16173,13 @@ const zr = P({
16161
16173
  colorTheme: g
16162
16174
  };
16163
16175
  }
16164
- }), Or = {
16176
+ }), zr = {
16165
16177
  key: 0,
16166
16178
  class: "v3-input-emoji-picker"
16167
16179
  }, Lr = { class: "v3-input-picker-root" }, Ur = ["value"], Br = ["value"], Qr = ["src"];
16168
16180
  function Rr(e, t, f, n, a, s) {
16169
16181
  const i = Lt("Header"), l = Lt("Body"), u = Lt("Footer");
16170
- return e.isInputType ? (r(), c("div", Or, [
16182
+ return e.isInputType ? (r(), c("div", zr, [
16171
16183
  o("div", Lr, [
16172
16184
  e.type === "input" ? (r(), c("input", {
16173
16185
  key: 0,
@@ -16186,7 +16198,7 @@ function Rr(e, t, f, n, a, s) {
16186
16198
  onBlur: t[3] || (t[3] = (...A) => e.updateCursor && e.updateCursor(...A))
16187
16199
  }, null, 40, Br)),
16188
16200
  o("div", {
16189
- class: C(["v3-input-picker-wrap", e.open ? "v3-picker-is-open" : ""])
16201
+ class: O(["v3-input-picker-wrap", e.open ? "v3-picker-is-open" : ""])
16190
16202
  }, [
16191
16203
  o("button", {
16192
16204
  ref: "button",
@@ -16201,7 +16213,7 @@ function Rr(e, t, f, n, a, s) {
16201
16213
  ], 512),
16202
16214
  o("div", {
16203
16215
  ref: "picker",
16204
- class: C(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
16216
+ class: O(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
16205
16217
  }, [
16206
16218
  $(i),
16207
16219
  $(l, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
@@ -16211,14 +16223,14 @@ function Rr(e, t, f, n, a, s) {
16211
16223
  ])
16212
16224
  ])) : (r(), c("div", {
16213
16225
  key: 1,
16214
- class: C(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
16226
+ class: O(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
16215
16227
  }, [
16216
16228
  $(i),
16217
16229
  $(l, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
16218
16230
  $(u)
16219
16231
  ], 2));
16220
16232
  }
16221
- var Yr = /* @__PURE__ */ Dt(zr, [["render", Rr]]);
16233
+ var Yr = /* @__PURE__ */ Dt(Or, [["render", Rr]]);
16222
16234
  const $r = P({
16223
16235
  name: "Picker",
16224
16236
  components: {
@@ -16332,7 +16344,7 @@ const $r = P({
16332
16344
  };
16333
16345
  }
16334
16346
  });
16335
- function qr(e, t, f, n, a, s) {
16347
+ function Fr(e, t, f, n, a, s) {
16336
16348
  const i = Lt("picker-root");
16337
16349
  return r(), R(i, {
16338
16350
  type: e.type,
@@ -16341,7 +16353,7 @@ function qr(e, t, f, n, a, s) {
16341
16353
  "onUpdate:text": e.onChangeText
16342
16354
  }, null, 8, ["type", "text", "onUpdate:text"]);
16343
16355
  }
16344
- var Fr = /* @__PURE__ */ Dt($r, [["render", qr]]);
16356
+ var qr = /* @__PURE__ */ Dt($r, [["render", Fr]]);
16345
16357
  const Pr = {
16346
16358
  __name: "ButtonEmojiPicker",
16347
16359
  props: {
@@ -16378,7 +16390,7 @@ const Pr = {
16378
16390
  o("div", {
16379
16391
  ref_key: "emojiButton",
16380
16392
  ref: n,
16381
- class: C(["button", { "button-disabled": e.state == "disabled" }]),
16393
+ class: O(["button", { "button-disabled": e.state == "disabled" }]),
16382
16394
  onClick: A,
16383
16395
  onMouseover: g,
16384
16396
  onMouseout: d
@@ -16394,7 +16406,7 @@ const Pr = {
16394
16406
  onMouseover: g,
16395
16407
  onMouseout: d
16396
16408
  }, [
16397
- $(z(Fr), {
16409
+ $(C(qr), {
16398
16410
  native: !0,
16399
16411
  theme: l.value,
16400
16412
  "picker-type": "",
@@ -16406,7 +16418,7 @@ const Pr = {
16406
16418
  })
16407
16419
  ], 64));
16408
16420
  }
16409
- }, xd = /* @__PURE__ */ O(Pr, [["__scopeId", "data-v-a6a1f980"]]), Hr = { class: "context-menu__container" }, Wr = { class: "context-menu__list" }, Kr = ["onClick"], Jr = ["src"], Gr = {
16421
+ }, Sd = /* @__PURE__ */ z(Pr, [["__scopeId", "data-v-a6a1f980"]]), Hr = { class: "context-menu__container" }, Wr = { class: "context-menu__list" }, Kr = ["onClick"], Jr = ["src"], Gr = {
16410
16422
  __name: "ContextMenu",
16411
16423
  props: {
16412
16424
  actions: {
@@ -16434,14 +16446,14 @@ const Pr = {
16434
16446
  height: "18"
16435
16447
  }, null, 8, Jr)) : l.prime ? (r(), c("i", {
16436
16448
  key: 1,
16437
- class: C("pi pi-" + l.prime)
16449
+ class: O("pi pi-" + l.prime)
16438
16450
  }, null, 2)) : b("", !0),
16439
16451
  o("span", null, N(l.title), 1)
16440
16452
  ], 8, Kr))), 128))
16441
16453
  ])
16442
16454
  ]));
16443
16455
  }
16444
- }, Le = /* @__PURE__ */ O(Gr, [["__scopeId", "data-v-21856a00"]]);
16456
+ }, Ue = /* @__PURE__ */ z(Gr, [["__scopeId", "data-v-21856a00"]]);
16445
16457
  function Zr(e, t = 500) {
16446
16458
  let f;
16447
16459
  return $n((n, a) => ({
@@ -16455,14 +16467,8 @@ function Zr(e, t = 500) {
16455
16467
  }
16456
16468
  }));
16457
16469
  }
16458
- const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16470
+ const Xr = { class: "feed-search__container" }, eu = { style: { "line-height": "40px" } }, tu = ["placeholder"], fu = /* @__PURE__ */ P({
16459
16471
  __name: "FeedSearch",
16460
- props: {
16461
- inputLocation: {
16462
- type: String,
16463
- default: "feed"
16464
- }
16465
- },
16466
16472
  emits: ["search", "cancel"],
16467
16473
  setup(e, { emit: t }) {
16468
16474
  const f = t, n = M(), a = Zr("", 500);
@@ -16473,25 +16479,25 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16473
16479
  }
16474
16480
  );
16475
16481
  const s = () => {
16476
- const i = z(n);
16482
+ const i = C(n);
16477
16483
  i && (i.value = ""), f("cancel");
16478
16484
  };
16479
16485
  return oe(() => {
16480
- const i = z(n);
16486
+ const i = C(n);
16481
16487
  i == null || i.focus(), s(), f("search", i == null ? void 0 : i.value);
16482
16488
  }), (i, l) => (r(), R(W, null, {
16483
16489
  default: K(() => [
16484
16490
  o("div", Xr, [
16485
- l[1] || (l[1] = o("span", { style: { "line-height": "40px" } }, "Поиск", -1)),
16491
+ o("span", eu, N(C(ue)("component.FeedSearch.SearchLabel")), 1),
16486
16492
  re(o("input", {
16487
16493
  ref_key: "refInput",
16488
16494
  ref: n,
16489
16495
  class: "feed-search__input",
16490
16496
  type: "text",
16491
- placeholder: "Поиск сообщения",
16497
+ placeholder: C(ue)("component.FeedSearch.SearchPlaceholder"),
16492
16498
  "onUpdate:modelValue": l[0] || (l[0] = (u) => La(a) ? a.value = u : null)
16493
- }, null, 512), [
16494
- [Pe, z(a)]
16499
+ }, null, 8, tu), [
16500
+ [Pe, C(a)]
16495
16501
  ]),
16496
16502
  o("i", {
16497
16503
  class: "pi pi-times",
@@ -16502,15 +16508,19 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16502
16508
  _: 1
16503
16509
  }));
16504
16510
  }
16505
- }), Vd = /* @__PURE__ */ O(eu, [["__scopeId", "data-v-b11d5eb2"]]), tu = { class: "feed-found-item__avatar-container" }, fu = ["src"], nu = {
16511
+ }), Cd = /* @__PURE__ */ z(fu, [["__scopeId", "data-v-d3e5d72d"]]), nu = { class: "feed-found-item__avatar-container" }, au = ["src"], su = {
16506
16512
  key: 1,
16507
16513
  class: "pi pi-user"
16508
- }, au = { class: "feed-found-item__info" }, su = { class: "feed-found-item__first-line" }, iu = { class: "feed-found-item__name" }, ou = { class: "feed-found-item__time" }, lu = { class: "feed-found-item__second-line" }, Au = ["src"], ru = /* @__PURE__ */ P({
16514
+ }, iu = { class: "feed-found-item__info" }, ou = { class: "feed-found-item__first-line" }, lu = { class: "feed-found-item__name" }, Au = { class: "feed-found-item__time" }, ru = { class: "feed-found-item__second-line" }, uu = ["src"], cu = /* @__PURE__ */ P({
16509
16515
  __name: "FeedFoundItem",
16510
16516
  props: {
16511
16517
  object: {
16512
16518
  type: Object,
16513
16519
  required: !0
16520
+ },
16521
+ selected: {
16522
+ type: Boolean,
16523
+ default: !1
16514
16524
  }
16515
16525
  },
16516
16526
  setup(e) {
@@ -16523,82 +16533,94 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16523
16533
  };
16524
16534
  return n[t.object.type] ? n[t.object.type] : null;
16525
16535
  });
16526
- return (n, a) => (r(), c(q, null, [
16527
- o("div", tu, [
16536
+ return (n, a) => (r(), c("div", {
16537
+ class: O(["feed-found-item__container", { "feed-found-item__selected-container": e.selected }])
16538
+ }, [
16539
+ o("div", nu, [
16528
16540
  e.object.avatar ? (r(), c("img", {
16529
16541
  key: 0,
16530
16542
  src: e.object.avatar,
16531
16543
  width: "48",
16532
16544
  height: "48"
16533
- }, null, 8, fu)) : (r(), c("span", nu))
16545
+ }, null, 8, au)) : (r(), c("span", su))
16534
16546
  ]),
16535
- o("div", au, [
16536
- o("div", su, [
16537
- o("p", iu, N(e.object.subtext), 1),
16538
- o("p", ou, N(e.object.time), 1)
16547
+ o("div", iu, [
16548
+ o("div", ou, [
16549
+ o("p", lu, N(e.object.subtext), 1),
16550
+ o("p", Au, N(e.object.time), 1)
16539
16551
  ]),
16540
- o("div", lu, [
16552
+ o("div", ru, [
16541
16553
  e.object.type == "message.image" ? (r(), c("img", {
16542
16554
  key: 0,
16543
16555
  src: e.object.url,
16544
16556
  style: { "margin-right": "3px" },
16545
16557
  width: "24",
16546
16558
  height: "24"
16547
- }, null, 8, Au)) : b("", !0),
16559
+ }, null, 8, uu)) : b("", !0),
16548
16560
  f.value ? (r(), c("span", {
16549
16561
  key: 1,
16550
- class: C(f.value),
16562
+ class: O(f.value),
16551
16563
  style: { "margin-right": "3px", "font-size": "20px" }
16552
16564
  }, null, 2)) : b("", !0),
16553
16565
  o("p", null, N(e.object.text), 1)
16554
16566
  ])
16555
16567
  ])
16556
- ], 64));
16568
+ ], 2));
16557
16569
  }
16558
- }), uu = /* @__PURE__ */ O(ru, [["__scopeId", "data-v-9b90e8d9"]]), cu = { style: { "padding-left": "12px" } }, du = ["onClick"], gu = {
16570
+ }), du = /* @__PURE__ */ z(cu, [["__scopeId", "data-v-5f5ff92a"]]), gu = { style: { "padding-left": "12px" } }, mu = ["onClick"], pu = {
16559
16571
  key: 1,
16560
16572
  class: "feed-found-objects__placeholder"
16561
- }, mu = /* @__PURE__ */ P({
16573
+ }, hu = /* @__PURE__ */ P({
16562
16574
  __name: "FeedFoundObjects",
16563
16575
  props: {
16564
16576
  objects: {
16565
16577
  type: Array,
16566
16578
  required: !0
16567
16579
  },
16580
+ foundAmount: {
16581
+ type: Number,
16582
+ default: 0
16583
+ },
16568
16584
  notFound: {
16569
- type: String,
16570
- required: !1
16585
+ type: Boolean,
16586
+ required: !1,
16587
+ default: !1
16571
16588
  }
16572
16589
  },
16573
16590
  emits: ["clickedSearch", "loadMore"],
16574
16591
  setup(e, { emit: t }) {
16575
- const f = t, n = e, a = M(), s = M(null), i = (u) => {
16576
- u.messageId && (f("clickedSearch", u.messageId), s.value = u);
16577
- }, l = () => {
16578
- const u = z(a);
16579
- console.log(n.objects), u.scrollHeight - u.scrollTop - u.clientHeight <= 0 && f("loadMore");
16592
+ const f = t, n = e, a = M(), s = M(null), i = F(() => {
16593
+ if (n.notFound) return ue("component.FeedFoundObjects.notFound");
16594
+ if (!n.notFound) return ue("component.FeedFoundObjects.notSearched");
16595
+ }), l = (A) => {
16596
+ A.messageId && (f("clickedSearch", A.messageId), s.value = A);
16597
+ }, u = () => {
16598
+ const A = C(a);
16599
+ console.log(n.objects), A.scrollHeight - A.scrollTop - A.clientHeight <= 0 && f("loadMore");
16580
16600
  };
16581
- return (u, A) => (r(), c(q, null, [
16582
- o("h3", cu, "Результаты поиска: " + N(e.objects.length), 1),
16583
- e.notFound ? e.notFound ? (r(), c("div", gu, [
16584
- o("p", null, N(e.notFound), 1)
16585
- ])) : b("", !0) : (r(), c("div", {
16601
+ return (A, g) => (r(), c(q, null, [
16602
+ o("h3", gu, N(C(ue)("component.FeedFoundObjects.results")) + ": " + N(e.foundAmount), 1),
16603
+ e.foundAmount > 0 ? (r(), c("div", {
16586
16604
  key: 0,
16587
16605
  class: "feed-found-objects__items",
16588
16606
  ref_key: "refItems",
16589
16607
  ref: a,
16590
- onScroll: l
16608
+ onScroll: u
16591
16609
  }, [
16592
- (r(!0), c(q, null, Z(e.objects, (g) => (r(), c("div", {
16593
- class: C(["feed-found-objects__item", { "feed-found-objects__selected-item": g == s.value }]),
16594
- onClick: (d) => i(g)
16610
+ (r(!0), c(q, null, Z(e.objects, (d) => (r(), c("div", {
16611
+ onClick: (p) => l(d)
16595
16612
  }, [
16596
- $(uu, { object: g }, null, 8, ["object"])
16597
- ], 10, du))), 256))
16598
- ], 544))
16613
+ $(du, {
16614
+ object: d,
16615
+ selected: d == s.value
16616
+ }, null, 8, ["object", "selected"])
16617
+ ], 8, mu))), 256))
16618
+ ], 544)) : e.foundAmount == 0 ? (r(), c("div", pu, [
16619
+ o("p", null, N(i.value), 1)
16620
+ ])) : b("", !0)
16599
16621
  ], 64));
16600
16622
  }
16601
- }), Sd = /* @__PURE__ */ O(mu, [["__scopeId", "data-v-08d7be77"]]), nt = /* @__PURE__ */ P({
16623
+ }), Od = /* @__PURE__ */ z(hu, [["__scopeId", "data-v-fcfd69e0"]]), nt = /* @__PURE__ */ P({
16602
16624
  __name: "BaseReplyMessage",
16603
16625
  props: {
16604
16626
  message: {
@@ -16610,11 +16632,11 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16610
16632
  const f = t, n = e, a = ie("chatAppId"), { resetReply: s } = $e(a), i = () => {
16611
16633
  n.message && f("reply", n.message.messageId);
16612
16634
  }, l = (g) => ({
16613
- "message.text": g1,
16614
- "message.image": M1,
16615
- "message.file": U1,
16616
- "message.audio": N1,
16617
- "message.video": S1
16635
+ "message.text": p1,
16636
+ "message.image": I1,
16637
+ "message.file": Q1,
16638
+ "message.audio": j1,
16639
+ "message.video": O1
16618
16640
  })[g], u = (g) => ({
16619
16641
  "message.text": "",
16620
16642
  "message.image": "grid",
@@ -16627,10 +16649,10 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16627
16649
  return (g, d) => {
16628
16650
  var p, m;
16629
16651
  return r(), c("div", {
16630
- class: C(["reply__container", u((p = e.message) == null ? void 0 : p.type)]),
16652
+ class: O(["reply__container", u((p = e.message) == null ? void 0 : p.type)]),
16631
16653
  onClick: i
16632
16654
  }, [
16633
- (r(), R(Fn(l((m = e.message) == null ? void 0 : m.type)), { message: e.message }, null, 8, ["message"])),
16655
+ (r(), R(qn(l((m = e.message) == null ? void 0 : m.type)), { message: e.message }, null, 8, ["message"])),
16634
16656
  o("span", {
16635
16657
  class: "pi pi-times reply__reset",
16636
16658
  style: { "font-size": "1rem" },
@@ -16639,7 +16661,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16639
16661
  ], 2);
16640
16662
  };
16641
16663
  }
16642
- }), pu = { class: "link-preview" }, hu = { class: "link-preview__container" }, yu = ["href"], vu = { class: "link-preview__title" }, bu = { class: "link-preview__description" }, Mu = ["src", "alt"], _u = /* @__PURE__ */ P({
16664
+ }), yu = { class: "link-preview" }, vu = { class: "link-preview__container" }, bu = ["href"], Mu = { class: "link-preview__title" }, _u = { class: "link-preview__description" }, Iu = ["src", "alt"], ku = /* @__PURE__ */ P({
16643
16665
  __name: "LinkPreview",
16644
16666
  props: {
16645
16667
  linkPreview: {
@@ -16648,34 +16670,34 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16648
16670
  }
16649
16671
  },
16650
16672
  setup(e) {
16651
- return (t, f) => (r(), c("div", pu, [
16652
- o("div", hu, [
16673
+ return (t, f) => (r(), c("div", yu, [
16674
+ o("div", vu, [
16653
16675
  o("a", {
16654
16676
  class: "link-preview__link-container",
16655
16677
  href: e.linkPreview.url,
16656
16678
  target: "_blank"
16657
16679
  }, [
16658
- o("p", vu, N(e.linkPreview.title), 1),
16659
- o("p", bu, N(e.linkPreview.description), 1),
16680
+ o("p", Mu, N(e.linkPreview.title), 1),
16681
+ o("p", _u, N(e.linkPreview.description), 1),
16660
16682
  o("img", {
16661
16683
  class: "link-preview__image",
16662
16684
  src: e.linkPreview.imageUrl,
16663
16685
  alt: e.linkPreview.title
16664
- }, null, 8, Mu)
16665
- ], 8, yu)
16686
+ }, null, 8, Iu)
16687
+ ], 8, bu)
16666
16688
  ])
16667
16689
  ]));
16668
16690
  }
16669
- }), jt = /* @__PURE__ */ O(_u, [["__scopeId", "data-v-bd94cdaa"]]), Iu = ["messageId"], ku = ["src"], wu = {
16691
+ }), jt = /* @__PURE__ */ z(ku, [["__scopeId", "data-v-bd94cdaa"]]), wu = ["messageId"], Nu = ["src"], Du = {
16670
16692
  key: 1,
16671
16693
  class: "file-message__subtext"
16672
- }, Nu = ["href"], Du = { class: "file-message__filename-text" }, ju = {
16694
+ }, ju = ["href"], Eu = { class: "file-message__filename-text" }, Tu = {
16673
16695
  key: 1,
16674
16696
  class: "file-message__text-container"
16675
- }, Eu = ["innerHTML"], Tu = { class: "file-message__info-container" }, xu = { class: "file-message__time" }, Vu = {
16697
+ }, xu = ["innerHTML"], Vu = { class: "file-message__info-container" }, Su = { class: "file-message__time" }, Cu = {
16676
16698
  key: 0,
16677
16699
  class: "pi pi-check"
16678
- }, Su = /* @__PURE__ */ P({
16700
+ }, Ou = /* @__PURE__ */ P({
16679
16701
  __name: "FileMessage",
16680
16702
  props: {
16681
16703
  message: {
@@ -16689,7 +16711,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16689
16711
  J(
16690
16712
  () => f.message.text,
16691
16713
  () => {
16692
- f.message.text && (i.value = ve(f.message.text));
16714
+ f.message.text && (i.value = be(f.message.text));
16693
16715
  },
16694
16716
  { immediate: !0 }
16695
16717
  );
@@ -16711,7 +16733,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16711
16733
  return y.position === "left" ? "file-message__left" : "file-message__right";
16712
16734
  }
16713
16735
  return (y, h) => (r(), c("div", {
16714
- class: C(["file-message", v(e.message)]),
16736
+ class: O(["file-message", v(e.message)]),
16715
16737
  messageId: e.message.messageId,
16716
16738
  onMouseleave: p
16717
16739
  }, [
@@ -16722,8 +16744,8 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16722
16744
  height: "32",
16723
16745
  width: "32",
16724
16746
  style: ee({ gridRow: e.message.subText ? "2" : "1" })
16725
- }, null, 12, ku)) : b("", !0),
16726
- e.message.subText ? (r(), c("p", wu, N(e.message.subText), 1)) : b("", !0),
16747
+ }, null, 12, Nu)) : b("", !0),
16748
+ e.message.subText ? (r(), c("p", Du, N(e.message.subText), 1)) : b("", !0),
16727
16749
  o("div", {
16728
16750
  class: "file-message__content",
16729
16751
  onMouseenter: d
@@ -16731,7 +16753,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16731
16753
  e.message.reply ? (r(), R(nt, {
16732
16754
  key: 0,
16733
16755
  message: e.message.reply,
16734
- class: C(e.message.position),
16756
+ class: O(e.message.position),
16735
16757
  onReply: l
16736
16758
  }, null, 8, ["message", "class"])) : b("", !0),
16737
16759
  o("a", {
@@ -16741,23 +16763,23 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16741
16763
  target: "_blank"
16742
16764
  }, [
16743
16765
  h[1] || (h[1] = o("span", { class: "pi pi-file" }, null, -1)),
16744
- o("p", Du, N(e.message.filename), 1),
16766
+ o("p", Eu, N(e.message.filename), 1),
16745
16767
  h[2] || (h[2] = o("div", { class: "file-message__download-button" }, [
16746
16768
  o("span", { class: "pi pi-download" })
16747
16769
  ], -1))
16748
- ], 8, Nu),
16749
- e.message.text ? (r(), c("div", ju, [
16770
+ ], 8, ju),
16771
+ e.message.text ? (r(), c("div", Tu, [
16750
16772
  o("p", {
16751
16773
  innerHTML: i.value,
16752
16774
  onClick: u
16753
- }, null, 8, Eu)
16775
+ }, null, 8, xu)
16754
16776
  ])) : b("", !0),
16755
16777
  e.message.linkPreview ? (r(), R(jt, {
16756
16778
  key: 2,
16757
- class: C(e.message.position),
16779
+ class: O(e.message.position),
16758
16780
  linkPreview: e.message.linkPreview
16759
16781
  }, null, 8, ["class", "linkPreview"])) : b("", !0),
16760
- o("div", Tu, [
16782
+ o("div", Vu, [
16761
16783
  e.message.views ? (r(), c("div", {
16762
16784
  key: 0,
16763
16785
  onClick: A,
@@ -16766,12 +16788,12 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16766
16788
  h[3] || (h[3] = o("span", { class: "pi pi-eye" }, null, -1)),
16767
16789
  o("p", null, N(e.message.views), 1)
16768
16790
  ])) : b("", !0),
16769
- o("span", xu, N(e.message.time), 1),
16770
- v(e.message) === "file-message__right" && z(tt).includes(e.message.status) ? (r(), c("div", {
16791
+ o("span", Su, N(e.message.time), 1),
16792
+ v(e.message) === "file-message__right" && C(tt).includes(e.message.status) ? (r(), c("div", {
16771
16793
  key: 1,
16772
- class: C(["file-message__status", m.value])
16794
+ class: O(["file-message__status", m.value])
16773
16795
  }, [
16774
- e.message.status !== "sent" ? (r(), c("span", Vu)) : b("", !0),
16796
+ e.message.status !== "sent" ? (r(), c("span", Cu)) : b("", !0),
16775
16797
  h[4] || (h[4] = o("span", { class: "pi pi-check" }, null, -1))
16776
16798
  ], 2)) : b("", !0)
16777
16799
  ]),
@@ -16784,7 +16806,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16784
16806
  ]))) : b("", !0),
16785
16807
  $(W, null, {
16786
16808
  default: K(() => [
16787
- a.value && e.message.actions ? (r(), R(z(Le), {
16809
+ a.value && e.message.actions ? (r(), R(C(Ue), {
16788
16810
  key: 0,
16789
16811
  class: "file-message__context-menu",
16790
16812
  actions: e.message.actions,
@@ -16794,21 +16816,21 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16794
16816
  _: 1
16795
16817
  })
16796
16818
  ], 32)
16797
- ], 42, Iu));
16819
+ ], 42, wu));
16798
16820
  }
16799
- }), Cu = /* @__PURE__ */ O(Su, [["__scopeId", "data-v-b753fd42"]]), zu = ["messageId"], Ou = ["src"], Lu = {
16821
+ }), zu = /* @__PURE__ */ z(Ou, [["__scopeId", "data-v-b753fd42"]]), Lu = ["messageId"], Uu = ["src"], Bu = {
16800
16822
  key: 1,
16801
16823
  class: "image-message__subtext"
16802
- }, Uu = { class: "image-message__content" }, Bu = ["src", "alt"], Qu = {
16824
+ }, Qu = { class: "image-message__content" }, Ru = ["src", "alt"], Yu = {
16803
16825
  key: 0,
16804
16826
  class: "image-message__info-container"
16805
- }, Ru = { class: "image-message__time" }, Yu = {
16827
+ }, $u = { class: "image-message__time" }, Fu = {
16806
16828
  key: 0,
16807
16829
  class: "pi pi-check"
16808
- }, $u = ["href"], qu = {
16830
+ }, qu = ["href"], Pu = {
16809
16831
  key: 1,
16810
16832
  class: "image-message__text-container"
16811
- }, Fu = ["innerHTML"], Pu = { class: "image-message__modal" }, Hu = ["src", "alt"], Wu = /* @__PURE__ */ P({
16833
+ }, Hu = ["innerHTML"], Wu = { class: "image-message__modal" }, Ku = ["src", "alt"], Ju = /* @__PURE__ */ P({
16812
16834
  __name: "ImageMessage",
16813
16835
  props: {
16814
16836
  message: {
@@ -16822,7 +16844,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16822
16844
  J(
16823
16845
  () => f.message.text,
16824
16846
  () => {
16825
- f.message.text && (u.value = ve(f.message.text));
16847
+ f.message.text && (u.value = be(f.message.text));
16826
16848
  },
16827
16849
  { immediate: !0 }
16828
16850
  );
@@ -16853,7 +16875,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16853
16875
  }), et(() => {
16854
16876
  document.removeEventListener("keydown", V);
16855
16877
  }), (k, j) => (r(), c("div", {
16856
- class: C(["image-message", E(e.message)]),
16878
+ class: O(["image-message", E(e.message)]),
16857
16879
  messageId: e.message.messageId,
16858
16880
  onMouseleave: v
16859
16881
  }, [
@@ -16863,13 +16885,13 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16863
16885
  src: e.message.avatar,
16864
16886
  height: "32",
16865
16887
  width: "32"
16866
- }, null, 8, Ou)) : b("", !0),
16867
- e.message.subText ? (r(), c("p", Lu, N(e.message.subText), 1)) : b("", !0),
16868
- o("div", Uu, [
16888
+ }, null, 8, Uu)) : b("", !0),
16889
+ e.message.subText ? (r(), c("p", Bu, N(e.message.subText), 1)) : b("", !0),
16890
+ o("div", Qu, [
16869
16891
  e.message.reply ? (r(), R(nt, {
16870
16892
  key: 0,
16871
16893
  style: { margin: "10px 10px 4px 16px" },
16872
- class: C(e.message.position),
16894
+ class: O(e.message.position),
16873
16895
  message: e.message.reply,
16874
16896
  onReply: A
16875
16897
  }, null, 8, ["class", "message"])) : b("", !0),
@@ -16884,10 +16906,10 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16884
16906
  style: ee({ borderRadius: y.value }),
16885
16907
  src: e.message.url,
16886
16908
  alt: e.message.alt
16887
- }, null, 12, Bu),
16909
+ }, null, 12, Ru),
16888
16910
  $(W, { name: "modal-fade" }, {
16889
16911
  default: K(() => [
16890
- l.value ? (r(), c("div", Qu, [
16912
+ l.value ? (r(), c("div", Yu, [
16891
16913
  e.message.views ? (r(), c("div", {
16892
16914
  key: 0,
16893
16915
  onClick: vt(d, ["stop"]),
@@ -16896,12 +16918,12 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16896
16918
  j[4] || (j[4] = o("span", { class: "pi pi-eye" }, null, -1)),
16897
16919
  o("p", null, N(e.message.views), 1)
16898
16920
  ])) : b("", !0),
16899
- o("span", Ru, N(e.message.time), 1),
16900
- E(e.message) === "image-message__right" && z(tt).includes(e.message.status) ? (r(), c("div", {
16921
+ o("span", $u, N(e.message.time), 1),
16922
+ E(e.message) === "image-message__right" && C(tt).includes(e.message.status) ? (r(), c("div", {
16901
16923
  key: 1,
16902
- class: C(["image-message__status", h.value])
16924
+ class: O(["image-message__status", h.value])
16903
16925
  }, [
16904
- e.message.status !== "sent" ? (r(), c("span", Yu)) : b("", !0),
16926
+ e.message.status !== "sent" ? (r(), c("span", Fu)) : b("", !0),
16905
16927
  j[5] || (j[5] = o("span", { class: "pi pi-check" }, null, -1))
16906
16928
  ], 2)) : b("", !0)
16907
16929
  ])) : b("", !0)
@@ -16919,7 +16941,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16919
16941
  target: "_blank"
16920
16942
  }, j[6] || (j[6] = [
16921
16943
  o("span", { class: "pi pi-download" }, null, -1)
16922
- ]), 8, $u)) : b("", !0)
16944
+ ]), 8, qu)) : b("", !0)
16923
16945
  ]),
16924
16946
  _: 1
16925
16947
  })
@@ -16938,7 +16960,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16938
16960
  }),
16939
16961
  $(W, { name: "context-menu" }, {
16940
16962
  default: K(() => [
16941
- s.value && e.message.actions ? (r(), R(z(Le), {
16963
+ s.value && e.message.actions ? (r(), R(C(Ue), {
16942
16964
  key: 0,
16943
16965
  class: "image-message__context-menu",
16944
16966
  actions: e.message.actions,
@@ -16947,15 +16969,15 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16947
16969
  ]),
16948
16970
  _: 1
16949
16971
  }),
16950
- e.message.text ? (r(), c("div", qu, [
16972
+ e.message.text ? (r(), c("div", Pu, [
16951
16973
  o("p", {
16952
16974
  innerHTML: u.value,
16953
16975
  onClick: g
16954
- }, null, 8, Fu)
16976
+ }, null, 8, Hu)
16955
16977
  ])) : b("", !0),
16956
16978
  e.message.linkPreview ? (r(), R(jt, {
16957
16979
  key: 2,
16958
- class: C(["image-message__link-preview", e.message.position]),
16980
+ class: O(["image-message__link-preview", e.message.position]),
16959
16981
  linkPreview: e.message.linkPreview
16960
16982
  }, null, 8, ["class", "linkPreview"])) : b("", !0)
16961
16983
  ]),
@@ -16966,9 +16988,9 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16966
16988
  key: 0,
16967
16989
  class: "image-message__modal-overlay",
16968
16990
  onClick: U,
16969
- onKeyup: j[3] || (j[3] = qn((I) => a.value = !1, ["esc"]))
16991
+ onKeyup: j[3] || (j[3] = Fn((I) => a.value = !1, ["esc"]))
16970
16992
  }, [
16971
- o("div", Pu, [
16993
+ o("div", Wu, [
16972
16994
  o("button", {
16973
16995
  class: "image-message__modal-close-button",
16974
16996
  onClick: T
@@ -16981,25 +17003,25 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
16981
17003
  class: "image-message__modal-image",
16982
17004
  src: e.message.url,
16983
17005
  alt: e.message.alt
16984
- }, null, 8, Hu)
17006
+ }, null, 8, Ku)
16985
17007
  ])
16986
17008
  ], 32)) : b("", !0)
16987
17009
  ]),
16988
17010
  _: 1
16989
17011
  })
16990
17012
  ]))
16991
- ], 42, zu));
17013
+ ], 42, Lu));
16992
17014
  }
16993
- }), Ku = /* @__PURE__ */ O(Wu, [["__scopeId", "data-v-02b74a2c"]]), Ju = ["messageId"], Gu = ["src"], Zu = {
17015
+ }), Gu = /* @__PURE__ */ z(Ju, [["__scopeId", "data-v-02b74a2c"]]), Zu = ["messageId"], Xu = ["src"], ec = {
16994
17016
  key: 1,
16995
17017
  class: "text-message__subtext"
16996
- }, Xu = ["innerHTML"], ec = { class: "text-message__info-container" }, tc = {
17018
+ }, tc = ["innerHTML"], fc = { class: "text-message__info-container" }, nc = {
16997
17019
  key: 1,
16998
17020
  class: "text-message__time"
16999
- }, fc = {
17021
+ }, ac = {
17000
17022
  key: 0,
17001
17023
  class: "pi pi-check"
17002
- }, nc = /* @__PURE__ */ P({
17024
+ }, sc = /* @__PURE__ */ P({
17003
17025
  __name: "TextMessage",
17004
17026
  props: {
17005
17027
  message: {
@@ -17013,7 +17035,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17013
17035
  J(
17014
17036
  () => f.message.text,
17015
17037
  () => {
17016
- i.value = ve(f.message.text);
17038
+ i.value = be(f.message.text);
17017
17039
  },
17018
17040
  { immediate: !0 }
17019
17041
  );
@@ -17036,7 +17058,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17036
17058
  return y.position === "left" ? "text-message__left" : "text-message__right";
17037
17059
  }
17038
17060
  return (y, h) => (r(), c("div", {
17039
- class: C(["text-message", v(e.message)]),
17061
+ class: O(["text-message", v(e.message)]),
17040
17062
  messageId: e.message.messageId,
17041
17063
  onMouseleave: g
17042
17064
  }, [
@@ -17047,15 +17069,15 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17047
17069
  height: "32",
17048
17070
  width: "32",
17049
17071
  style: ee({ gridRow: e.message.subText ? "2" : "1" })
17050
- }, null, 12, Gu)) : b("", !0),
17051
- e.message.subText ? (r(), c("p", Zu, N(e.message.subText), 1)) : b("", !0),
17072
+ }, null, 12, Xu)) : b("", !0),
17073
+ e.message.subText ? (r(), c("p", ec, N(e.message.subText), 1)) : b("", !0),
17052
17074
  o("div", {
17053
17075
  class: "text-message__content",
17054
17076
  onMouseenter: A
17055
17077
  }, [
17056
17078
  e.message.reply ? (r(), R(nt, {
17057
17079
  key: 0,
17058
- class: C(e.message.position),
17080
+ class: O(e.message.position),
17059
17081
  message: e.message.reply,
17060
17082
  onReply: l
17061
17083
  }, null, 8, ["class", "message"])) : b("", !0),
@@ -17063,13 +17085,13 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17063
17085
  innerHTML: i.value,
17064
17086
  class: "text-message__text",
17065
17087
  onClick: u
17066
- }, null, 8, Xu),
17088
+ }, null, 8, tc),
17067
17089
  e.message.linkPreview ? (r(), R(jt, {
17068
17090
  key: 1,
17069
- class: C(e.message.position),
17091
+ class: O(e.message.position),
17070
17092
  linkPreview: e.message.linkPreview
17071
17093
  }, null, 8, ["class", "linkPreview"])) : b("", !0),
17072
- o("div", ec, [
17094
+ o("div", fc, [
17073
17095
  e.message.views ? (r(), c("div", {
17074
17096
  key: 0,
17075
17097
  class: "text-message__views",
@@ -17078,12 +17100,12 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17078
17100
  h[1] || (h[1] = o("span", { class: "pi pi-eye" }, null, -1)),
17079
17101
  o("p", null, N(e.message.views), 1)
17080
17102
  ])) : b("", !0),
17081
- e.message.time ? (r(), c("span", tc, N(e.message.time), 1)) : b("", !0),
17082
- v(e.message) === "text-message__right" && z(tt).includes(e.message.status) ? (r(), c("div", {
17103
+ e.message.time ? (r(), c("span", nc, N(e.message.time), 1)) : b("", !0),
17104
+ v(e.message) === "text-message__right" && C(tt).includes(e.message.status) ? (r(), c("div", {
17083
17105
  key: 2,
17084
- class: C(["text-message__status", d.value])
17106
+ class: O(["text-message__status", d.value])
17085
17107
  }, [
17086
- e.message.status !== "sent" ? (r(), c("span", fc)) : b("", !0),
17108
+ e.message.status !== "sent" ? (r(), c("span", ac)) : b("", !0),
17087
17109
  h[2] || (h[2] = o("span", { class: "pi pi-check" }, null, -1))
17088
17110
  ], 2)) : b("", !0)
17089
17111
  ]),
@@ -17096,7 +17118,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17096
17118
  ]))) : b("", !0),
17097
17119
  $(W, null, {
17098
17120
  default: K(() => [
17099
- a.value && e.message.actions ? (r(), R(z(Le), {
17121
+ a.value && e.message.actions ? (r(), R(C(Ue), {
17100
17122
  key: 0,
17101
17123
  class: "text-message__context-menu",
17102
17124
  actions: e.message.actions,
@@ -17106,24 +17128,24 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17106
17128
  _: 1
17107
17129
  })
17108
17130
  ], 32)
17109
- ], 42, Ju));
17131
+ ], 42, Zu));
17110
17132
  }
17111
- }), ac = /* @__PURE__ */ O(nc, [["__scopeId", "data-v-56f2b8fc"]]), sc = ["messageId"], ic = ["src"], oc = {
17133
+ }), ic = /* @__PURE__ */ z(sc, [["__scopeId", "data-v-56f2b8fc"]]), oc = ["messageId"], lc = ["src"], Ac = {
17112
17134
  key: 1,
17113
17135
  class: "audio-message__subtext"
17114
- }, lc = { class: "audio-message__audio-container" }, Ac = ["src"], rc = { class: "audio-message__progress-bar-container" }, uc = { class: "audio-message__remaining-time" }, cc = ["href"], dc = {
17136
+ }, rc = { class: "audio-message__audio-container" }, uc = ["src"], cc = { class: "audio-message__progress-bar-container" }, dc = { class: "audio-message__remaining-time" }, gc = ["href"], mc = {
17115
17137
  key: 1,
17116
17138
  class: "audio-message__transcript-container"
17117
- }, gc = {
17139
+ }, pc = {
17118
17140
  key: 2,
17119
17141
  class: "audio-message__text-container"
17120
- }, mc = ["innerHTML"], pc = { class: "audio-message__info-container" }, hc = { class: "audio-message__time" }, yc = {
17142
+ }, hc = ["innerHTML"], yc = { class: "audio-message__info-container" }, vc = { class: "audio-message__time" }, bc = {
17121
17143
  key: 0,
17122
17144
  class: "pi pi-check"
17123
- }, vc = {
17145
+ }, Mc = {
17124
17146
  key: 0,
17125
17147
  class: "audio-message__modal-overlay"
17126
- }, bc = { class: "audio-message__modal" }, Mc = { style: { "word-wrap": "break-word", "max-width": "25rem" } }, _c = /* @__PURE__ */ P({
17148
+ }, _c = { class: "audio-message__modal" }, Ic = { style: { "word-wrap": "break-word", "max-width": "25rem" } }, kc = /* @__PURE__ */ P({
17127
17149
  __name: "AudioMessage",
17128
17150
  props: {
17129
17151
  message: {
@@ -17137,7 +17159,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17137
17159
  J(
17138
17160
  () => f.message.text,
17139
17161
  () => {
17140
- f.message.text && (g.value = ve(f.message.text));
17162
+ f.message.text && (g.value = be(f.message.text));
17141
17163
  },
17142
17164
  { immediate: !0 }
17143
17165
  );
@@ -17174,7 +17196,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17174
17196
  }), (D, x) => {
17175
17197
  var Q;
17176
17198
  return r(), c("div", {
17177
- class: C(["audio-message", w(e.message)]),
17199
+ class: O(["audio-message", w(e.message)]),
17178
17200
  messageId: e.message.messageId,
17179
17201
  onMouseleave: y
17180
17202
  }, [
@@ -17185,8 +17207,8 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17185
17207
  height: "32",
17186
17208
  width: "32",
17187
17209
  style: ee({ gridRow: e.message.subText ? "2" : "1" })
17188
- }, null, 12, ic)) : b("", !0),
17189
- e.message.subText ? (r(), c("p", oc, N(e.message.subText), 1)) : b("", !0),
17210
+ }, null, 12, lc)) : b("", !0),
17211
+ e.message.subText ? (r(), c("p", Ac, N(e.message.subText), 1)) : b("", !0),
17190
17212
  o("div", {
17191
17213
  class: "audio-message__content",
17192
17214
  onMouseenter: v
@@ -17195,15 +17217,15 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17195
17217
  key: 0,
17196
17218
  style: { "grid-column": "1/3" },
17197
17219
  message: e.message.reply,
17198
- class: C(e.message.position),
17220
+ class: O(e.message.position),
17199
17221
  onReply: p
17200
17222
  }, null, 8, ["message", "class"])) : b("", !0),
17201
- o("div", lc, [
17223
+ o("div", rc, [
17202
17224
  o("audio", {
17203
17225
  ref_key: "player",
17204
17226
  ref: a,
17205
17227
  src: e.message.url
17206
- }, null, 8, Ac),
17228
+ }, null, 8, uc),
17207
17229
  re(o("button", {
17208
17230
  class: "audio-message__play",
17209
17231
  onClick: U
@@ -17220,13 +17242,13 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17220
17242
  ]), 512), [
17221
17243
  [yt, s.value]
17222
17244
  ]),
17223
- o("div", rc, [
17245
+ o("div", cc, [
17224
17246
  o("div", {
17225
17247
  class: "audio-message__progress-bar",
17226
17248
  style: ee({ width: I.value + "%" })
17227
17249
  }, null, 4)
17228
17250
  ]),
17229
- o("p", uc, N(`${k.value} / ${j.value}`), 1),
17251
+ o("p", dc, N(`${k.value} / ${j.value}`), 1),
17230
17252
  o("a", {
17231
17253
  class: "audio-message__download-button",
17232
17254
  onClick: vt(() => "//Предотвращаем всплытие события клика", ["stop"]),
@@ -17235,25 +17257,25 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17235
17257
  target: "_blank"
17236
17258
  }, x[5] || (x[5] = [
17237
17259
  o("span", { class: "pi pi-download" }, null, -1)
17238
- ]), 8, cc)
17260
+ ]), 8, gc)
17239
17261
  ]),
17240
- (Q = e.message.transcript) != null && Q.text ? (r(), c("div", dc, [
17262
+ (Q = e.message.transcript) != null && Q.text ? (r(), c("div", mc, [
17241
17263
  o("p", {
17242
17264
  onClick: x[0] || (x[0] = (H) => d.value = !d.value)
17243
17265
  }, N(e.message.transcript.text), 1)
17244
17266
  ])) : b("", !0),
17245
- e.message.text ? (r(), c("div", gc, [
17267
+ e.message.text ? (r(), c("div", pc, [
17246
17268
  o("p", {
17247
17269
  innerHTML: g.value,
17248
17270
  onClick: m
17249
- }, null, 8, mc)
17271
+ }, null, 8, hc)
17250
17272
  ])) : b("", !0),
17251
17273
  e.message.linkPreview ? (r(), R(jt, {
17252
17274
  key: 3,
17253
- class: C(["audio-message__link-preview", e.message.position]),
17275
+ class: O(["audio-message__link-preview", e.message.position]),
17254
17276
  linkPreview: e.message.linkPreview
17255
17277
  }, null, 8, ["class", "linkPreview"])) : b("", !0),
17256
- o("div", pc, [
17278
+ o("div", yc, [
17257
17279
  e.message.views ? (r(), c("div", {
17258
17280
  key: 0,
17259
17281
  onClick: h,
@@ -17262,12 +17284,12 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17262
17284
  x[6] || (x[6] = o("span", { class: "pi pi-eye" }, null, -1)),
17263
17285
  o("p", null, N(e.message.views), 1)
17264
17286
  ])) : b("", !0),
17265
- o("span", hc, N(e.message.time), 1),
17266
- w(e.message) === "audio-message__right" && z(tt).includes(e.message.status) ? (r(), c("div", {
17287
+ o("span", vc, N(e.message.time), 1),
17288
+ w(e.message) === "audio-message__right" && C(tt).includes(e.message.status) ? (r(), c("div", {
17267
17289
  key: 1,
17268
- class: C(["audio-message__status", T.value])
17290
+ class: O(["audio-message__status", T.value])
17269
17291
  }, [
17270
- e.message.status !== "sent" ? (r(), c("span", yc)) : b("", !0),
17292
+ e.message.status !== "sent" ? (r(), c("span", bc)) : b("", !0),
17271
17293
  x[7] || (x[7] = o("span", { class: "pi pi-check" }, null, -1))
17272
17294
  ], 2)) : b("", !0)
17273
17295
  ]),
@@ -17280,7 +17302,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17280
17302
  ]))) : b("", !0),
17281
17303
  $(W, null, {
17282
17304
  default: K(() => [
17283
- u.value && e.message.actions ? (r(), R(z(Le), {
17305
+ u.value && e.message.actions ? (r(), R(C(Ue), {
17284
17306
  key: 0,
17285
17307
  class: "audio-message__context-menu",
17286
17308
  actions: e.message.actions,
@@ -17294,8 +17316,8 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17294
17316
  default: K(() => {
17295
17317
  var H;
17296
17318
  return [
17297
- d.value ? (r(), c("div", vc, [
17298
- o("div", bc, [
17319
+ d.value ? (r(), c("div", Mc, [
17320
+ o("div", _c, [
17299
17321
  o("button", {
17300
17322
  class: "audio-message__modal-close-button",
17301
17323
  onClick: x[2] || (x[2] = (te) => d.value = !1)
@@ -17304,7 +17326,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17304
17326
  o("i", { class: "pi pi-times" })
17305
17327
  ], -1)
17306
17328
  ])),
17307
- o("p", Mc, N((H = e.message.transcript) == null ? void 0 : H.text), 1)
17329
+ o("p", Ic, N((H = e.message.transcript) == null ? void 0 : H.text), 1)
17308
17330
  ])
17309
17331
  ])) : b("", !0)
17310
17332
  ];
@@ -17313,10 +17335,10 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17313
17335
  })
17314
17336
  ]))
17315
17337
  ], 32)
17316
- ], 42, sc);
17338
+ ], 42, oc);
17317
17339
  };
17318
17340
  }
17319
- }), Ic = /* @__PURE__ */ O(_c, [["__scopeId", "data-v-a1de6160"]]), kc = { class: "date-message__container" }, wc = { class: "date-message__text" }, Nc = /* @__PURE__ */ P({
17341
+ }), wc = /* @__PURE__ */ z(kc, [["__scopeId", "data-v-a1de6160"]]), Nc = { class: "date-message__container" }, Dc = { class: "date-message__text" }, jc = /* @__PURE__ */ P({
17320
17342
  __name: "DateMessage",
17321
17343
  props: {
17322
17344
  message: {
@@ -17327,23 +17349,23 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17327
17349
  }
17328
17350
  },
17329
17351
  setup(e) {
17330
- return (t, f) => (r(), c("div", kc, [
17331
- o("p", wc, N(e.message.text), 1)
17352
+ return (t, f) => (r(), c("div", Nc, [
17353
+ o("p", Dc, N(e.message.text), 1)
17332
17354
  ]));
17333
17355
  }
17334
- }), Dc = /* @__PURE__ */ O(Nc, [["__scopeId", "data-v-4955b179"]]), jc = ["messageId"], Ec = ["src"], Tc = {
17356
+ }), Ec = /* @__PURE__ */ z(jc, [["__scopeId", "data-v-4955b179"]]), Tc = ["messageId"], xc = ["src"], Vc = {
17335
17357
  key: 1,
17336
17358
  class: "video-message__subtext"
17337
- }, xc = { class: "video-message__content" }, Vc = ["src"], Sc = {
17359
+ }, Sc = { class: "video-message__content" }, Cc = ["src"], Oc = {
17338
17360
  key: 0,
17339
17361
  class: "video-message__info-container"
17340
- }, Cc = { class: "video-message__time" }, zc = {
17362
+ }, zc = { class: "video-message__time" }, Lc = {
17341
17363
  key: 0,
17342
17364
  class: "pi pi-check"
17343
- }, Oc = ["href"], Lc = {
17365
+ }, Uc = ["href"], Bc = {
17344
17366
  key: 1,
17345
17367
  class: "video-message__text-container"
17346
- }, Uc = ["innerHTML"], Bc = { class: "video-message__modal" }, Qc = ["src", "alt"], Rc = /* @__PURE__ */ P({
17368
+ }, Qc = ["innerHTML"], Rc = { class: "video-message__modal" }, Yc = ["src", "alt"], $c = /* @__PURE__ */ P({
17347
17369
  inheritAttrs: !1,
17348
17370
  __name: "VideoMessage",
17349
17371
  props: {
@@ -17364,7 +17386,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17364
17386
  J(
17365
17387
  () => f.message.text,
17366
17388
  () => {
17367
- f.message.text && (p.value = ve(f.message.text));
17389
+ f.message.text && (p.value = be(f.message.text));
17368
17390
  },
17369
17391
  { immediate: !0 }
17370
17392
  );
@@ -17395,7 +17417,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17395
17417
  document.removeEventListener("keydown", I);
17396
17418
  }), (w, D) => (r(), c(q, null, [
17397
17419
  o("div", {
17398
- class: C(["video-message", s(e.message)]),
17420
+ class: O(["video-message", s(e.message)]),
17399
17421
  messageId: e.message.messageId,
17400
17422
  onMouseleave: E
17401
17423
  }, [
@@ -17405,13 +17427,13 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17405
17427
  src: e.message.avatar,
17406
17428
  height: "32",
17407
17429
  width: "32"
17408
- }, null, 8, Ec)) : b("", !0),
17409
- e.message.subText ? (r(), c("p", Tc, N(e.message.subText), 1)) : b("", !0),
17410
- o("div", xc, [
17430
+ }, null, 8, xc)) : b("", !0),
17431
+ e.message.subText ? (r(), c("p", Vc, N(e.message.subText), 1)) : b("", !0),
17432
+ o("div", Sc, [
17411
17433
  e.message.reply ? (r(), R(nt, {
17412
17434
  key: 0,
17413
17435
  style: { margin: "10px 10px 4px 16px" },
17414
- class: C(e.message.position),
17436
+ class: O(e.message.position),
17415
17437
  message: e.message.reply,
17416
17438
  onReply: a
17417
17439
  }, null, 8, ["class", "message"])) : b("", !0),
@@ -17430,10 +17452,10 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17430
17452
  src: e.message.url,
17431
17453
  muted: !0,
17432
17454
  autoplay: ""
17433
- }, null, 44, Vc),
17455
+ }, null, 44, Cc),
17434
17456
  $(W, { name: "modal-fade" }, {
17435
17457
  default: K(() => [
17436
- d.value ? (r(), c("div", Sc, [
17458
+ d.value ? (r(), c("div", Oc, [
17437
17459
  e.message.views ? (r(), c("div", {
17438
17460
  key: 0,
17439
17461
  onClick: vt(v, ["stop"]),
@@ -17442,12 +17464,12 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17442
17464
  D[3] || (D[3] = o("span", { class: "pi pi-eye" }, null, -1)),
17443
17465
  o("p", null, N(e.message.views), 1)
17444
17466
  ])) : b("", !0),
17445
- o("span", Cc, N(e.message.time), 1),
17446
- s(e.message) === "video-message__right" && z(tt).includes(e.message.status) ? (r(), c("div", {
17467
+ o("span", zc, N(e.message.time), 1),
17468
+ s(e.message) === "video-message__right" && C(tt).includes(e.message.status) ? (r(), c("div", {
17447
17469
  key: 1,
17448
- class: C(["video-message__status", T.value])
17470
+ class: O(["video-message__status", T.value])
17449
17471
  }, [
17450
- e.message.status !== "sent" ? (r(), c("span", zc)) : b("", !0),
17472
+ e.message.status !== "sent" ? (r(), c("span", Lc)) : b("", !0),
17451
17473
  D[4] || (D[4] = o("span", { class: "pi pi-check" }, null, -1))
17452
17474
  ], 2)) : b("", !0)
17453
17475
  ])) : b("", !0)
@@ -17465,7 +17487,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17465
17487
  target: "_blank"
17466
17488
  }, D[5] || (D[5] = [
17467
17489
  o("span", { class: "pi pi-download" }, null, -1)
17468
- ]), 8, Oc)) : b("", !0)
17490
+ ]), 8, Uc)) : b("", !0)
17469
17491
  ]),
17470
17492
  _: 1
17471
17493
  })
@@ -17484,7 +17506,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17484
17506
  }),
17485
17507
  $(W, { name: "context-menu" }, {
17486
17508
  default: K(() => [
17487
- A.value && e.message.actions ? (r(), R(z(Le), {
17509
+ A.value && e.message.actions ? (r(), R(C(Ue), {
17488
17510
  key: 0,
17489
17511
  class: "video-message__context-menu",
17490
17512
  actions: e.message.actions,
@@ -17493,19 +17515,19 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17493
17515
  ]),
17494
17516
  _: 1
17495
17517
  }),
17496
- e.message.text ? (r(), c("div", Lc, [
17518
+ e.message.text ? (r(), c("div", Bc, [
17497
17519
  o("p", {
17498
17520
  innerHTML: p.value,
17499
17521
  onClick: m
17500
- }, null, 8, Uc)
17522
+ }, null, 8, Qc)
17501
17523
  ])) : b("", !0),
17502
17524
  e.message.linkPreview ? (r(), R(jt, {
17503
17525
  key: 2,
17504
- class: C(["video-message__link-preview", e.message.position]),
17526
+ class: O(["video-message__link-preview", e.message.position]),
17505
17527
  linkPreview: e.message.linkPreview
17506
17528
  }, null, 8, ["class", "linkPreview"])) : b("", !0)
17507
17529
  ])
17508
- ], 42, jc),
17530
+ ], 42, Tc),
17509
17531
  (r(), R(ze, { to: "body" }, [
17510
17532
  $(W, { name: "modal-fade" }, {
17511
17533
  default: K(() => [
@@ -17514,7 +17536,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17514
17536
  class: "video-message__modal-overlay",
17515
17537
  onClick: j
17516
17538
  }, [
17517
- o("div", Bc, [
17539
+ o("div", Rc, [
17518
17540
  o("button", {
17519
17541
  class: "video-message__modal-close-button",
17520
17542
  onClick: k
@@ -17531,7 +17553,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17531
17553
  alt: e.message.alt,
17532
17554
  controls: "",
17533
17555
  autoplay: ""
17534
- }, null, 8, Qc)
17556
+ }, null, 8, Yc)
17535
17557
  ])
17536
17558
  ])) : b("", !0)
17537
17559
  ]),
@@ -17540,28 +17562,28 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17540
17562
  ]))
17541
17563
  ], 64));
17542
17564
  }
17543
- }), Yc = /* @__PURE__ */ O(Rc, [["__scopeId", "data-v-b88e14e6"]]), $c = ["messageId"], qc = ["src"], Fc = {
17565
+ }), Fc = /* @__PURE__ */ z($c, [["__scopeId", "data-v-b88e14e6"]]), qc = ["messageId"], Pc = ["src"], Hc = {
17544
17566
  key: 1,
17545
17567
  class: "call-message__subtext"
17546
- }, Pc = { class: "call-message__content" }, Hc = {
17568
+ }, Wc = { class: "call-message__content" }, Kc = {
17547
17569
  key: 0,
17548
17570
  class: "call-message__title"
17549
- }, Wc = {
17571
+ }, Jc = {
17550
17572
  key: 1,
17551
17573
  class: "call-message__title"
17552
- }, Kc = {
17574
+ }, Gc = {
17553
17575
  key: 2,
17554
17576
  class: "call-message__duration"
17555
- }, Jc = {
17577
+ }, Zc = {
17556
17578
  key: 3,
17557
17579
  class: "call-message__duration"
17558
- }, Gc = {
17580
+ }, Xc = {
17559
17581
  key: 4,
17560
17582
  class: "call-message__duration"
17561
- }, Zc = { class: "call-message__info-container" }, Xc = { class: "call-message__time" }, e1 = {
17583
+ }, e1 = { class: "call-message__info-container" }, t1 = { class: "call-message__time" }, f1 = {
17562
17584
  key: 0,
17563
17585
  class: "call-message__modal-overlay"
17564
- }, t1 = { class: "call-message__modal" }, f1 = /* @__PURE__ */ P({
17586
+ }, n1 = { class: "call-message__modal" }, a1 = /* @__PURE__ */ P({
17565
17587
  __name: "CallMessage",
17566
17588
  props: {
17567
17589
  message: {
@@ -17588,7 +17610,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17588
17610
  return (a, s) => {
17589
17611
  var i;
17590
17612
  return r(), c("div", {
17591
- class: C(n(e.message, f.message)),
17613
+ class: O(n(e.message, f.message)),
17592
17614
  messageId: e.message.messageId
17593
17615
  }, [
17594
17616
  e.message.avatar ? (r(), c("img", {
@@ -17598,17 +17620,17 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17598
17620
  height: "32",
17599
17621
  width: "32",
17600
17622
  style: ee({ gridRow: e.message.subText ? "2" : "1" })
17601
- }, null, 12, qc)) : b("", !0),
17602
- e.message.subText ? (r(), c("p", Fc, N(e.message.subText), 1)) : b("", !0),
17603
- o("div", Pc, [
17623
+ }, null, 12, Pc)) : b("", !0),
17624
+ e.message.subText ? (r(), c("p", Hc, N(e.message.subText), 1)) : b("", !0),
17625
+ o("div", Wc, [
17604
17626
  o("span", {
17605
17627
  class: "call-message__icon pi pi-phone",
17606
17628
  style: ee({ color: e.message.isMissedCall ? "var(--p-red-500)" : "var(--neutral-100)" })
17607
17629
  }, null, 4),
17608
- e.message.isMissedCall ? (r(), c("span", Wc, "Пропущенный аудиозвонок")) : (r(), c("span", Hc, "Аудиозвонок")),
17609
- e.message.callDuration ? (r(), c("span", Kc, N(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (r(), c("span", Jc, "Нажмите, чтобы перезвонить")) : (r(), c("span", Gc, "Нет ответа")),
17610
- o("div", Zc, [
17611
- o("span", Xc, N(e.message.time), 1)
17630
+ e.message.isMissedCall ? (r(), c("span", Jc, "Пропущенный аудиозвонок")) : (r(), c("span", Kc, "Аудиозвонок")),
17631
+ e.message.callDuration ? (r(), c("span", Gc, N(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (r(), c("span", Zc, "Нажмите, чтобы перезвонить")) : (r(), c("span", Xc, "Нет ответа")),
17632
+ o("div", e1, [
17633
+ o("span", t1, N(e.message.time), 1)
17612
17634
  ]),
17613
17635
  (i = e.message.transcript) != null && i.dialog ? (r(), c("button", {
17614
17636
  key: 5,
@@ -17622,8 +17644,8 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17622
17644
  default: K(() => {
17623
17645
  var l;
17624
17646
  return [
17625
- t.value ? (r(), c("div", e1, [
17626
- o("div", t1, [
17647
+ t.value ? (r(), c("div", f1, [
17648
+ o("div", n1, [
17627
17649
  o("button", {
17628
17650
  class: "call-message__modal-close-button",
17629
17651
  onClick: s[1] || (s[1] = (u) => t.value = !1)
@@ -17633,7 +17655,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17633
17655
  ], -1)
17634
17656
  ])),
17635
17657
  (r(!0), c(q, null, Z((l = e.message.transcript) == null ? void 0 : l.dialog, (u, A) => (r(), c("div", {
17636
- class: C(n(u, f.textDialog))
17658
+ class: O(n(u, f.textDialog))
17637
17659
  }, [
17638
17660
  o("p", null, N(u.text), 1),
17639
17661
  o("span", null, N(u.time), 1)
@@ -17646,10 +17668,10 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17646
17668
  })
17647
17669
  ]))
17648
17670
  ])
17649
- ], 10, $c);
17671
+ ], 10, qc);
17650
17672
  };
17651
17673
  }
17652
- }), n1 = /* @__PURE__ */ O(f1, [["__scopeId", "data-v-46e5f43f"]]), a1 = { class: "system-message__container" }, s1 = { class: "system-message__text" }, i1 = /* @__PURE__ */ P({
17674
+ }), s1 = /* @__PURE__ */ z(a1, [["__scopeId", "data-v-46e5f43f"]]), i1 = { class: "system-message__container" }, o1 = { class: "system-message__text" }, l1 = /* @__PURE__ */ P({
17653
17675
  __name: "SystemMessage",
17654
17676
  props: {
17655
17677
  message: {
@@ -17658,14 +17680,14 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17658
17680
  }
17659
17681
  },
17660
17682
  setup(e) {
17661
- return (t, f) => (r(), c("div", a1, [
17662
- o("p", s1, N(e.message.text), 1)
17683
+ return (t, f) => (r(), c("div", i1, [
17684
+ o("p", o1, N(e.message.text), 1)
17663
17685
  ]));
17664
17686
  }
17665
- }), o1 = /* @__PURE__ */ O(i1, [["__scopeId", "data-v-10f6c5c2"]]), l1 = { class: "typing-message__container" }, A1 = ["src"], r1 = {
17687
+ }), A1 = /* @__PURE__ */ z(l1, [["__scopeId", "data-v-10f6c5c2"]]), r1 = { class: "typing-message__container" }, u1 = ["src"], c1 = {
17666
17688
  key: 1,
17667
17689
  class: "typing-message__subtext"
17668
- }, u1 = /* @__PURE__ */ P({
17690
+ }, d1 = /* @__PURE__ */ P({
17669
17691
  __name: "TypingMessage",
17670
17692
  props: {
17671
17693
  message: {
@@ -17674,7 +17696,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17674
17696
  }
17675
17697
  },
17676
17698
  setup(e) {
17677
- return (t, f) => (r(), c("div", l1, [
17699
+ return (t, f) => (r(), c("div", r1, [
17678
17700
  e.message.avatar ? (r(), c("img", {
17679
17701
  key: 0,
17680
17702
  class: "typing-message__avatar",
@@ -17682,14 +17704,14 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17682
17704
  height: "32",
17683
17705
  width: "32",
17684
17706
  style: ee({ gridRow: e.message.subText ? "2" : "1" })
17685
- }, null, 12, A1)) : b("", !0),
17686
- e.message.subText ? (r(), c("p", r1, N(e.message.subText), 1)) : b("", !0),
17707
+ }, null, 12, u1)) : b("", !0),
17708
+ e.message.subText ? (r(), c("p", c1, N(e.message.subText), 1)) : b("", !0),
17687
17709
  f[0] || (f[0] = o("div", { class: "typing-message__loader-container" }, [
17688
17710
  o("div", { class: "typing-message__loader" })
17689
17711
  ], -1))
17690
17712
  ]));
17691
17713
  }
17692
- }), Yn = /* @__PURE__ */ O(u1, [["__scopeId", "data-v-f20e4945"]]), c1 = ["innerHTML"], d1 = /* @__PURE__ */ P({
17714
+ }), Yn = /* @__PURE__ */ z(d1, [["__scopeId", "data-v-f20e4945"]]), g1 = ["innerHTML"], m1 = /* @__PURE__ */ P({
17693
17715
  __name: "ReplyTextMessage",
17694
17716
  props: {
17695
17717
  message: {
@@ -17702,7 +17724,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17702
17724
  J(
17703
17725
  () => t.message.text,
17704
17726
  () => {
17705
- f.value = ve(t.message.text);
17727
+ f.value = be(t.message.text);
17706
17728
  },
17707
17729
  { immediate: !0 }
17708
17730
  );
@@ -17712,9 +17734,9 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17712
17734
  return (a, s) => (r(), c("p", {
17713
17735
  innerHTML: f.value,
17714
17736
  onClick: n
17715
- }, null, 8, c1));
17737
+ }, null, 8, g1));
17716
17738
  }
17717
- }), g1 = /* @__PURE__ */ O(d1, [["__scopeId", "data-v-8a14a987"]]), m1 = ["src", "alt"], p1 = { class: "image-message__text-container" }, h1 = ["innerHTML"], y1 = { class: "image-message__modal" }, v1 = ["src", "alt"], b1 = /* @__PURE__ */ P({
17739
+ }), p1 = /* @__PURE__ */ z(m1, [["__scopeId", "data-v-8a14a987"]]), h1 = ["src", "alt"], y1 = { class: "image-message__text-container" }, v1 = ["innerHTML"], b1 = { class: "image-message__modal" }, M1 = ["src", "alt"], _1 = /* @__PURE__ */ P({
17718
17740
  __name: "ReplyImageMessage",
17719
17741
  props: {
17720
17742
  message: {
@@ -17727,7 +17749,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17727
17749
  J(
17728
17750
  () => t.message.text,
17729
17751
  () => {
17730
- t.message.text && (n.value = ve(t.message.text));
17752
+ t.message.text && (n.value = be(t.message.text));
17731
17753
  },
17732
17754
  { immediate: !0 }
17733
17755
  );
@@ -17752,9 +17774,9 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17752
17774
  class: "image-message__preview-image",
17753
17775
  src: e.message.url,
17754
17776
  alt: e.message.alt
17755
- }, null, 8, m1)
17777
+ }, null, 8, h1)
17756
17778
  ]),
17757
- o("div", p1, [
17779
+ o("div", y1, [
17758
17780
  A[1] || (A[1] = o("div", { class: "image-message__reply-description" }, [
17759
17781
  o("span", { class: "pi pi-camera" }),
17760
17782
  o("p", null, "Фотография")
@@ -17763,7 +17785,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17763
17785
  key: 0,
17764
17786
  innerHTML: n.value,
17765
17787
  onClick: a
17766
- }, null, 8, h1)) : b("", !0)
17788
+ }, null, 8, v1)) : b("", !0)
17767
17789
  ]),
17768
17790
  (r(), R(ze, { to: "body" }, [
17769
17791
  $(W, { name: "modal-fade" }, {
@@ -17773,7 +17795,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17773
17795
  class: "image-message__modal-overlay",
17774
17796
  onClick: i
17775
17797
  }, [
17776
- o("div", y1, [
17798
+ o("div", b1, [
17777
17799
  o("button", {
17778
17800
  class: "image-message__modal-close-button",
17779
17801
  onClick: s
@@ -17786,7 +17808,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17786
17808
  class: "image-message__modal-image",
17787
17809
  src: e.message.url,
17788
17810
  alt: e.message.alt
17789
- }, null, 8, v1)
17811
+ }, null, 8, M1)
17790
17812
  ])
17791
17813
  ])) : b("", !0)
17792
17814
  ]),
@@ -17795,7 +17817,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17795
17817
  ]))
17796
17818
  ], 64));
17797
17819
  }
17798
- }), M1 = /* @__PURE__ */ O(b1, [["__scopeId", "data-v-9b421e8c"]]), _1 = { class: "audio-message__play" }, I1 = { class: "audio-message__text-container" }, k1 = ["innerHTML"], w1 = /* @__PURE__ */ P({
17820
+ }), I1 = /* @__PURE__ */ z(_1, [["__scopeId", "data-v-9b421e8c"]]), k1 = { class: "audio-message__play" }, w1 = { class: "audio-message__text-container" }, N1 = ["innerHTML"], D1 = /* @__PURE__ */ P({
17799
17821
  __name: "ReplyAudioMessage",
17800
17822
  props: {
17801
17823
  message: {
@@ -17808,7 +17830,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17808
17830
  J(
17809
17831
  () => t.message.text,
17810
17832
  () => {
17811
- t.message.text && (n.value = ve(t.message.text));
17833
+ t.message.text && (n.value = be(t.message.text));
17812
17834
  },
17813
17835
  { immediate: !0 }
17814
17836
  );
@@ -17816,12 +17838,12 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17816
17838
  s.preventDefault(), s.target.href && window.open(s.target.href, "_blank");
17817
17839
  }
17818
17840
  return (s, i) => (r(), c(q, null, [
17819
- re(o("div", _1, i[0] || (i[0] = [
17841
+ re(o("div", k1, i[0] || (i[0] = [
17820
17842
  o("span", { class: "pi pi-play" }, null, -1)
17821
17843
  ]), 512), [
17822
17844
  [yt, !f.value]
17823
17845
  ]),
17824
- o("div", I1, [
17846
+ o("div", w1, [
17825
17847
  i[1] || (i[1] = o("div", { class: "audio-message__reply-description" }, [
17826
17848
  o("span", { class: "pi pi-microphone" }),
17827
17849
  o("p", null, "Аудиосообщение")
@@ -17830,11 +17852,11 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17830
17852
  key: 0,
17831
17853
  innerHTML: n.value,
17832
17854
  onClick: a
17833
- }, null, 8, k1)) : b("", !0)
17855
+ }, null, 8, N1)) : b("", !0)
17834
17856
  ])
17835
17857
  ], 64));
17836
17858
  }
17837
- }), N1 = /* @__PURE__ */ O(w1, [["__scopeId", "data-v-6c8de2fc"]]), D1 = ["src"], j1 = { class: "video-message__text-container" }, E1 = ["innerHTML"], T1 = { class: "video-message__modal" }, x1 = ["src", "alt"], V1 = /* @__PURE__ */ P({
17859
+ }), j1 = /* @__PURE__ */ z(D1, [["__scopeId", "data-v-6c8de2fc"]]), E1 = ["src"], T1 = { class: "video-message__text-container" }, x1 = ["innerHTML"], V1 = { class: "video-message__modal" }, S1 = ["src", "alt"], C1 = /* @__PURE__ */ P({
17838
17860
  __name: "ReplyVideoMessage",
17839
17861
  props: {
17840
17862
  message: {
@@ -17847,7 +17869,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17847
17869
  J(
17848
17870
  () => t.message.text,
17849
17871
  () => {
17850
- t.message.text && (a.value = ve(t.message.text));
17872
+ t.message.text && (a.value = be(t.message.text));
17851
17873
  },
17852
17874
  { immediate: !0 }
17853
17875
  );
@@ -17872,9 +17894,9 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17872
17894
  class: "video-message__video",
17873
17895
  src: e.message.url,
17874
17896
  muted: !0
17875
- }, null, 8, D1)
17897
+ }, null, 8, E1)
17876
17898
  ]),
17877
- o("div", j1, [
17899
+ o("div", T1, [
17878
17900
  g[1] || (g[1] = o("div", { class: "video-message__reply-description" }, [
17879
17901
  o("span", { class: "pi pi-video" }),
17880
17902
  o("p", null, "Видео")
@@ -17883,7 +17905,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17883
17905
  key: 0,
17884
17906
  innerHTML: a.value,
17885
17907
  onClick: s
17886
- }, null, 8, E1)) : b("", !0)
17908
+ }, null, 8, x1)) : b("", !0)
17887
17909
  ]),
17888
17910
  (r(), R(ze, { to: "body" }, [
17889
17911
  $(W, { name: "modal-fade" }, {
@@ -17893,7 +17915,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17893
17915
  class: "video-message__modal-overlay",
17894
17916
  onClick: l
17895
17917
  }, [
17896
- o("div", T1, [
17918
+ o("div", V1, [
17897
17919
  o("button", {
17898
17920
  class: "video-message__modal-close-button",
17899
17921
  onClick: i
@@ -17910,7 +17932,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17910
17932
  alt: e.message.alt,
17911
17933
  controls: "",
17912
17934
  autoplay: ""
17913
- }, null, 8, x1)
17935
+ }, null, 8, S1)
17914
17936
  ])
17915
17937
  ])) : b("", !0)
17916
17938
  ]),
@@ -17919,10 +17941,10 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17919
17941
  ]))
17920
17942
  ], 64));
17921
17943
  }
17922
- }), S1 = /* @__PURE__ */ O(V1, [["__scopeId", "data-v-5bbee38c"]]), C1 = ["href"], z1 = { class: "file-message__filename-text" }, O1 = {
17944
+ }), O1 = /* @__PURE__ */ z(C1, [["__scopeId", "data-v-5bbee38c"]]), z1 = ["href"], L1 = { class: "file-message__filename-text" }, U1 = {
17923
17945
  key: 0,
17924
17946
  class: "file-message__text"
17925
- }, L1 = /* @__PURE__ */ P({
17947
+ }, B1 = /* @__PURE__ */ P({
17926
17948
  __name: "ReplyFileMessage",
17927
17949
  props: {
17928
17950
  message: {
@@ -17935,7 +17957,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17935
17957
  return J(
17936
17958
  () => t.message.text,
17937
17959
  () => {
17938
- t.message.text && (f.value = ve(t.message.text));
17960
+ t.message.text && (f.value = be(t.message.text));
17939
17961
  },
17940
17962
  { immediate: !0 }
17941
17963
  ), (n, a) => {
@@ -17948,21 +17970,21 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17948
17970
  target: "_blank"
17949
17971
  }, [
17950
17972
  a[0] || (a[0] = o("span", { class: "pi pi-file" }, null, -1)),
17951
- o("p", z1, N(e.message.filename), 1)
17952
- ], 8, C1),
17953
- (s = e.message) != null && s.text ? (r(), c("p", O1, N(e.message.text), 1)) : b("", !0)
17973
+ o("p", L1, N(e.message.filename), 1)
17974
+ ], 8, z1),
17975
+ (s = e.message) != null && s.text ? (r(), c("p", U1, N(e.message.text), 1)) : b("", !0)
17954
17976
  ], 64);
17955
17977
  };
17956
17978
  }
17957
- }), U1 = /* @__PURE__ */ O(L1, [["__scopeId", "data-v-b96ebca6"]]), B1 = { class: "modal-backdrop" }, Q1 = {
17979
+ }), Q1 = /* @__PURE__ */ z(B1, [["__scopeId", "data-v-b96ebca6"]]), R1 = { class: "modal-backdrop" }, Y1 = {
17958
17980
  class: "modal",
17959
17981
  role: "dialog",
17960
17982
  "aria-labelledby": "modalTitle",
17961
17983
  "aria-describedby": "modalDescription"
17962
- }, R1 = {
17984
+ }, $1 = {
17963
17985
  id: "modalDescription",
17964
17986
  class: "modal-body"
17965
- }, Y1 = { class: "buttons" }, $1 = {
17987
+ }, F1 = { class: "buttons" }, q1 = {
17966
17988
  __name: "Modal",
17967
17989
  emits: ["close", "submit"],
17968
17990
  setup(e, { emit: t }) {
@@ -17971,12 +17993,12 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17971
17993
  }, a = M(null);
17972
17994
  return (s, i) => (r(), R(W, { name: "modal-fade" }, {
17973
17995
  default: K(() => [
17974
- o("div", B1, [
17975
- o("div", Q1, [
17976
- o("div", R1, [
17996
+ o("div", R1, [
17997
+ o("div", Y1, [
17998
+ o("div", $1, [
17977
17999
  ne(s.$slots, "default", {}, void 0, !0)
17978
18000
  ]),
17979
- o("div", Y1, [
18001
+ o("div", F1, [
17980
18002
  o("button", {
17981
18003
  type: "button",
17982
18004
  class: "btn-green",
@@ -17996,7 +18018,7 @@ const Xr = { class: "feed-search__container" }, eu = /* @__PURE__ */ P({
17996
18018
  _: 3
17997
18019
  }));
17998
18020
  }
17999
- }, q1 = /* @__PURE__ */ O($1, [["__scopeId", "data-v-d48a1772"]]);
18021
+ }, P1 = /* @__PURE__ */ z(q1, [["__scopeId", "data-v-d48a1772"]]);
18000
18022
  function un({ component: e, attrs: t }) {
18001
18023
  return new Promise((f) => {
18002
18024
  const n = document.createElement("div");
@@ -18011,7 +18033,7 @@ function un({ component: e, attrs: t }) {
18011
18033
  }, u = P({
18012
18034
  render() {
18013
18035
  return Mn(
18014
- q1,
18036
+ P1,
18015
18037
  {
18016
18038
  onSubmit: i,
18017
18039
  onClose: s
@@ -18031,17 +18053,17 @@ function un({ component: e, attrs: t }) {
18031
18053
  A.mount(n);
18032
18054
  });
18033
18055
  }
18034
- const Cd = async (e, t) => {
18056
+ const zd = async (e, t) => {
18035
18057
  const f = await un({
18036
18058
  //в component должен быть встроен emit change(key: value)
18037
- component: import("./SelectUser2-DFLdux_e.js"),
18059
+ component: import("./SelectUser2-BLSqC2or.js"),
18038
18060
  attrs: {
18039
18061
  title: e,
18040
18062
  users: t
18041
18063
  }
18042
18064
  });
18043
18065
  return console.log("data", f), f;
18044
- }, zd = async (e) => {
18066
+ }, Ld = async (e) => {
18045
18067
  const t = await un({
18046
18068
  //в component должен быть встроен emit change(key: value)
18047
18069
  component: import("./CreateChat-fkFKBxtQ.js"),
@@ -18050,22 +18072,22 @@ const Cd = async (e, t) => {
18050
18072
  }
18051
18073
  });
18052
18074
  return console.log("data", t), t;
18053
- }, Od = async (e) => await un({
18075
+ }, Ud = async (e) => await un({
18054
18076
  //в component должен быть встроен emit change(key: value)
18055
18077
  component: import("./CreateChat2-DgUQ2F5L.js"),
18056
18078
  attrs: {
18057
18079
  title: e
18058
18080
  }
18059
- }), F1 = ["id"], Ld = {
18081
+ }), H1 = ["id"], Bd = {
18060
18082
  __name: "BaseContainer",
18061
18083
  props: {
18062
18084
  height: String,
18063
18085
  width: String
18064
18086
  },
18065
18087
  setup(e) {
18066
- const t = Ff();
18088
+ const t = qf();
18067
18089
  return hf("chatAppId", t), (f, n) => (r(), c("div", {
18068
- id: z(t),
18090
+ id: C(t),
18069
18091
  class: "base"
18070
18092
  }, [
18071
18093
  o("div", {
@@ -18074,9 +18096,9 @@ const Cd = async (e, t) => {
18074
18096
  }, [
18075
18097
  ne(f.$slots, "default")
18076
18098
  ], 4)
18077
- ], 8, F1));
18099
+ ], 8, H1));
18078
18100
  }
18079
- }, P1 = ["id"], H1 = { class: "float-window__container" }, W1 = ["src", "alt"], K1 = { class: "float-window__title" }, J1 = {
18101
+ }, W1 = ["id"], K1 = { class: "float-window__container" }, J1 = ["src", "alt"], G1 = { class: "float-window__title" }, Z1 = {
18080
18102
  __name: "FloatContainer",
18081
18103
  props: {
18082
18104
  title: {
@@ -18096,7 +18118,7 @@ const Cd = async (e, t) => {
18096
18118
  },
18097
18119
  emits: ["close-window", "get-size"],
18098
18120
  setup(e, { emit: t }) {
18099
- const f = e, n = M({ x: 0, y: 0 }), a = M(null), s = M(null), i = M(!1), l = M(0), u = M(0), A = M(0), g = Ff();
18121
+ const f = e, n = M({ x: 0, y: 0 }), a = M(null), s = M(null), i = M(!1), l = M(0), u = M(0), A = M(0), g = qf();
18100
18122
  hf("chatAppId", g);
18101
18123
  const d = (v) => {
18102
18124
  i.value = !0, l.value = v.clientX - a.value.offsetLeft, u.value = v.clientY - a.value.offsetTop;
@@ -18123,7 +18145,7 @@ const Cd = async (e, t) => {
18123
18145
  );
18124
18146
  }), A.value = a.value.offsetHeight - s.value.offsetHeight;
18125
18147
  }), (v, y) => (r(), c("div", {
18126
- id: z(g),
18148
+ id: C(g),
18127
18149
  ref_key: "element",
18128
18150
  ref: a,
18129
18151
  class: "float-window",
@@ -18136,7 +18158,7 @@ const Cd = async (e, t) => {
18136
18158
  display: "flex"
18137
18159
  })
18138
18160
  }, [
18139
- o("div", H1, [
18161
+ o("div", K1, [
18140
18162
  o("div", {
18141
18163
  ref_key: "container",
18142
18164
  ref: s,
@@ -18151,8 +18173,8 @@ const Cd = async (e, t) => {
18151
18173
  class: "float-window__avatar",
18152
18174
  src: f.avatar,
18153
18175
  alt: f.title
18154
- }, null, 8, W1)) : b("", !0),
18155
- o("p", K1, N(f.title), 1),
18176
+ }, null, 8, J1)) : b("", !0),
18177
+ o("p", G1, N(f.title), 1),
18156
18178
  o("button", {
18157
18179
  class: "float-window__close-button",
18158
18180
  onClick: y[0] || (y[0] = (h) => v.$emit("close-window"))
@@ -18167,20 +18189,20 @@ const Cd = async (e, t) => {
18167
18189
  ne(v.$slots, "default", {}, void 0, !0)
18168
18190
  ], 4)
18169
18191
  ])
18170
- ], 12, P1));
18192
+ ], 12, W1));
18171
18193
  }
18172
- }, Ud = /* @__PURE__ */ O(J1, [["__scopeId", "data-v-b0994783"]]), G1 = {}, Z1 = { class: "base-layout__container" }, X1 = { class: "base-layout__first-col" }, ed = { class: "base-layout__second-col" };
18173
- function td(e, t) {
18174
- return r(), c("div", Z1, [
18175
- o("div", X1, [
18194
+ }, Qd = /* @__PURE__ */ z(Z1, [["__scopeId", "data-v-b0994783"]]), X1 = {}, ed = { class: "base-layout__container" }, td = { class: "base-layout__first-col" }, fd = { class: "base-layout__second-col" };
18195
+ function nd(e, t) {
18196
+ return r(), c("div", ed, [
18197
+ o("div", td, [
18176
18198
  ne(e.$slots, "first-col", {}, void 0, !0)
18177
18199
  ]),
18178
- o("div", ed, [
18200
+ o("div", fd, [
18179
18201
  ne(e.$slots, "second-col", {}, void 0, !0)
18180
18202
  ])
18181
18203
  ]);
18182
18204
  }
18183
- const Bd = /* @__PURE__ */ O(G1, [["render", td], ["__scopeId", "data-v-a5df3fcf"]]), fd = { class: "extend-layout__container" }, nd = { class: "extend-layout__first-col" }, ad = { class: "extend-layout__third-col" }, sd = {
18205
+ const Rd = /* @__PURE__ */ z(X1, [["render", nd], ["__scopeId", "data-v-a5df3fcf"]]), ad = { class: "extend-layout__container" }, sd = { class: "extend-layout__first-col" }, id = { class: "extend-layout__third-col" }, od = {
18184
18206
  __name: "ExtendedLayout",
18185
18207
  setup(e) {
18186
18208
  const t = M(null);
@@ -18197,40 +18219,40 @@ const Bd = /* @__PURE__ */ O(G1, [["render", td], ["__scopeId", "data-v-a5df3fcf
18197
18219
  };
18198
18220
  return oe(() => {
18199
18221
  t.value && (t.value.style.width = "350px");
18200
- }), (A, g) => (r(), c("div", fd, [
18201
- o("div", nd, [
18222
+ }), (A, g) => (r(), c("div", ad, [
18223
+ o("div", sd, [
18202
18224
  ne(A.$slots, "first-col", {}, void 0, !0)
18203
18225
  ]),
18204
18226
  o("div", {
18205
18227
  ref_key: "resizableDiv",
18206
18228
  ref: t,
18207
18229
  class: "extend-layout__second-col resizable-div",
18208
- style: ee({ userSelect: z(f) ? "none" : "auto" }),
18230
+ style: ee({ userSelect: C(f) ? "none" : "auto" }),
18209
18231
  onMousedown: i,
18210
18232
  onMouseup: u
18211
18233
  }, [
18212
18234
  ne(A.$slots, "second-col", {}, void 0, !0)
18213
18235
  ], 36),
18214
- o("div", ad, [
18236
+ o("div", id, [
18215
18237
  ne(A.$slots, "third-col", {}, void 0, !0)
18216
18238
  ])
18217
18239
  ]));
18218
18240
  }
18219
- }, Qd = /* @__PURE__ */ O(sd, [["__scopeId", "data-v-7c3b977d"]]), id = {}, od = { class: "base-layout__container" }, ld = { class: "base-layout__first-col" };
18220
- function Ad(e, t) {
18221
- return r(), c("div", od, [
18222
- o("div", ld, [
18241
+ }, Yd = /* @__PURE__ */ z(od, [["__scopeId", "data-v-7c3b977d"]]), ld = {}, Ad = { class: "base-layout__container" }, rd = { class: "base-layout__first-col" };
18242
+ function ud(e, t) {
18243
+ return r(), c("div", Ad, [
18244
+ o("div", rd, [
18223
18245
  ne(e.$slots, "default", {}, void 0, !0)
18224
18246
  ])
18225
18247
  ]);
18226
18248
  }
18227
- const Rd = /* @__PURE__ */ O(id, [["render", Ad], ["__scopeId", "data-v-e71ea0ed"]]), rd = { class: "chat-wrapper" }, ud = {
18249
+ const $d = /* @__PURE__ */ z(ld, [["render", ud], ["__scopeId", "data-v-e71ea0ed"]]), cd = { class: "chat-wrapper" }, dd = {
18228
18250
  key: 0,
18229
18251
  class: "chat-wrapper__selected-chat"
18230
- }, cd = {
18252
+ }, gd = {
18231
18253
  key: 1,
18232
18254
  style: { width: "100%" }
18233
- }, dd = /* @__PURE__ */ P({
18255
+ }, md = /* @__PURE__ */ P({
18234
18256
  __name: "ChatWrapper",
18235
18257
  props: {
18236
18258
  isOpenChatPanel: {
@@ -18243,11 +18265,11 @@ const Rd = /* @__PURE__ */ O(id, [["render", Ad], ["__scopeId", "data-v-e71ea0ed
18243
18265
  }
18244
18266
  },
18245
18267
  setup(e) {
18246
- return (t, f) => (r(), c("div", rd, [
18247
- e.isSelectedChat ? (r(), c("div", ud, [
18268
+ return (t, f) => (r(), c("div", cd, [
18269
+ e.isSelectedChat ? (r(), c("div", dd, [
18248
18270
  ne(t.$slots, "default", {}, void 0, !0)
18249
- ])) : (r(), c("div", cd, [
18250
- o("p", null, N(z(Re)("layout.ChatWrapper.noSelectedChat")), 1)
18271
+ ])) : (r(), c("div", gd, [
18272
+ o("p", null, N(C(ue)("layout.ChatWrapper.noSelectedChat")), 1)
18251
18273
  ])),
18252
18274
  e.isOpenChatPanel ? (r(), c("div", {
18253
18275
  key: 2,
@@ -18258,59 +18280,59 @@ const Rd = /* @__PURE__ */ O(id, [["render", Ad], ["__scopeId", "data-v-e71ea0ed
18258
18280
  ], 4)) : b("", !0)
18259
18281
  ]));
18260
18282
  }
18261
- }), Yd = /* @__PURE__ */ O(dd, [["__scopeId", "data-v-12c6a622"]]);
18283
+ }), Fd = /* @__PURE__ */ z(md, [["__scopeId", "data-v-12c6a622"]]);
18262
18284
  export {
18263
- Ic as A,
18285
+ wc as A,
18264
18286
  oa as B,
18265
- n1 as C,
18266
- Dc as D,
18267
- Od as E,
18268
- Cu as F,
18269
- Ld as G,
18270
- Ud as H,
18271
- Ku as I,
18272
- Bd as J,
18273
- Qd as K,
18287
+ s1 as C,
18288
+ Ec as D,
18289
+ Ud as E,
18290
+ zu as F,
18291
+ Bd as G,
18292
+ Qd as H,
18293
+ Gu as I,
18294
+ Rd as J,
18295
+ Yd as K,
18274
18296
  jt as L,
18275
- Rd as M,
18276
- Yd as N,
18277
- bd as O,
18278
- Md as P,
18279
- _d as Q,
18280
- g1 as R,
18281
- o1 as S,
18282
- ac as T,
18283
- vd as U,
18284
- Yc as V,
18285
- Id as W,
18297
+ $d as M,
18298
+ Fd as N,
18299
+ _d as O,
18300
+ Id as P,
18301
+ kd as Q,
18302
+ p1 as R,
18303
+ A1 as S,
18304
+ ic as T,
18305
+ Md as U,
18306
+ Fc as V,
18307
+ wd as W,
18286
18308
  gf as X,
18287
18309
  tt as Y,
18288
18310
  ft as Z,
18289
- O as _,
18311
+ z as _,
18290
18312
  Yn as a,
18291
- M1 as b,
18292
- N1 as c,
18293
- S1 as d,
18294
- U1 as e,
18313
+ I1 as b,
18314
+ j1 as c,
18315
+ O1 as d,
18316
+ Q1 as e,
18295
18317
  nt as f,
18296
- md as g,
18297
- pd as h,
18298
- hd as i,
18299
- yd as j,
18300
- kd as k,
18301
- wd as l,
18302
- Nd as m,
18303
- Dd as n,
18304
- jd as o,
18318
+ hd as g,
18319
+ yd as h,
18320
+ vd as i,
18321
+ bd as j,
18322
+ Nd as k,
18323
+ Dd as l,
18324
+ jd as m,
18325
+ Ed as n,
18326
+ Td as o,
18305
18327
  Tf as p,
18306
18328
  Gi as q,
18307
18329
  bo as r,
18308
- Ed as s,
18309
- Td as t,
18310
- xd as u,
18311
- Le as v,
18312
- Vd as w,
18313
- Sd as x,
18314
- Cd as y,
18315
- zd as z
18330
+ xd as s,
18331
+ Vd as t,
18332
+ Sd as u,
18333
+ Ue as v,
18334
+ Cd as w,
18335
+ Od as x,
18336
+ zd as y,
18337
+ Ld as z
18316
18338
  };