@mobilon-dev/chotto 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { createElementBlock as A, openBlock as l, createStaticVNode as na, inject as G, computed as Y, createCommentVNode as p, createElementVNode as o, createVNode as Q, createTextVNode as Fn, toDisplayString as T, renderSlot as ne, unref as k, ref as b, customRef as ef, defineComponent as F, watch as ee, nextTick as Oe, withDirectives as re, withKeys as aa, vModelText as ot, normalizeClass as j, Fragment as P, renderList as ie, createBlock as U, Transition as se, withCtx as q, useTemplateRef as tf, normalizeStyle as ce, resolveDynamicComponent as nf, Teleport as ye, onMounted as ue, onUnmounted as kn, vShow as De, useId as fa, toRef as Yf, vModelRadio as af, reactive as ff, provide as et, getCurrentInstance as Ff, toRaw as sf, onBeforeUnmount as Pf, readonly as qf, resolveComponent as Ft, h as ja, defineAsyncComponent as Hf, createApp as Wf, withModifiers as kt } from "vue";
1
+ import { createElementBlock as A, openBlock as l, createStaticVNode as na, inject as G, computed as Y, createCommentVNode as h, createElementVNode as o, createVNode as Q, createTextVNode as Fn, toDisplayString as T, renderSlot as ne, unref as k, ref as b, customRef as ef, defineComponent as F, watch as ee, nextTick as Oe, withDirectives as re, withKeys as aa, vModelText as ot, normalizeClass as j, Fragment as q, renderList as ie, createBlock as U, Transition as se, withCtx as P, useTemplateRef as tf, normalizeStyle as ce, resolveDynamicComponent as nf, Teleport as ye, onMounted as ue, onUnmounted as kn, vShow as De, useId as fa, toRef as Yf, vModelRadio as af, reactive as ff, provide as et, getCurrentInstance as Ff, toRaw as sf, onBeforeUnmount as Pf, readonly as qf, resolveComponent as Pt, h as ja, defineAsyncComponent as Hf, createApp as Wf, withModifiers as kt } from "vue";
2
2
  const Kf = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", Jf = "ελ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", Pn = "numeric", qn = "ascii", Hn = "alpha", ht = "asciinumeric", pt = "alphanumeric", Wn = "domain", of = "emoji", Zf = "scheme", Gf = "slashscheme", Sn = "whitespace";
3
3
  function Xf(e, t) {
4
4
  return e in t || (t[e] = []), t[e];
@@ -140,60 +140,60 @@ ve.prototype = {
140
140
  return f.j[e] = i, i;
141
141
  }
142
142
  };
143
- const W = (e, t, n, a, f) => e.ta(t, n, a, f), oe = (e, t, n, a, f) => e.tr(t, n, a, f), Va = (e, t, n, a, f) => e.ts(t, n, a, f), x = (e, t, n, a, f) => e.tt(t, n, a, f), Re = "WORD", Kn = "UWORD", lf = "ASCIINUMERICAL", rf = "ALPHANUMERICAL", Nt = "LOCALHOST", Jn = "TLD", Zn = "UTLD", Pt = "SCHEME", Xe = "SLASH_SCHEME", sa = "NUM", Gn = "WS", ia = "NL", vt = "OPENBRACE", yt = "CLOSEBRACE", Wt = "OPENBRACKET", Kt = "CLOSEBRACKET", Jt = "OPENPAREN", Zt = "CLOSEPAREN", Gt = "OPENANGLEBRACKET", Xt = "CLOSEANGLEBRACKET", en = "FULLWIDTHLEFTPAREN", tn = "FULLWIDTHRIGHTPAREN", nn = "LEFTCORNERBRACKET", an = "RIGHTCORNERBRACKET", fn = "LEFTWHITECORNERBRACKET", sn = "RIGHTWHITECORNERBRACKET", on = "FULLWIDTHLESSTHAN", ln = "FULLWIDTHGREATERTHAN", rn = "AMPERSAND", cn = "APOSTROPHE", An = "ASTERISK", Fe = "AT", un = "BACKSLASH", dn = "BACKTICK", gn = "CARET", Pe = "COLON", oa = "COMMA", mn = "DOLLAR", je = "DOT", pn = "EQUALS", la = "EXCLAMATION", Me = "HYPHEN", bt = "PERCENT", hn = "PIPE", vn = "PLUS", yn = "POUND", Mt = "QUERY", ra = "QUOTE", cf = "FULLWIDTHMIDDLEDOT", ca = "SEMI", Ve = "SLASH", _t = "TILDE", bn = "UNDERSCORE", Af = "EMOJI", Mn = "SYM";
143
+ const W = (e, t, n, a, f) => e.ta(t, n, a, f), oe = (e, t, n, a, f) => e.tr(t, n, a, f), Va = (e, t, n, a, f) => e.ts(t, n, a, f), x = (e, t, n, a, f) => e.tt(t, n, a, f), Re = "WORD", Kn = "UWORD", lf = "ASCIINUMERICAL", rf = "ALPHANUMERICAL", Nt = "LOCALHOST", Jn = "TLD", Zn = "UTLD", qt = "SCHEME", Xe = "SLASH_SCHEME", sa = "NUM", Gn = "WS", ia = "NL", vt = "OPENBRACE", yt = "CLOSEBRACE", Kt = "OPENBRACKET", Jt = "CLOSEBRACKET", Zt = "OPENPAREN", Gt = "CLOSEPAREN", Xt = "OPENANGLEBRACKET", en = "CLOSEANGLEBRACKET", tn = "FULLWIDTHLEFTPAREN", nn = "FULLWIDTHRIGHTPAREN", an = "LEFTCORNERBRACKET", fn = "RIGHTCORNERBRACKET", sn = "LEFTWHITECORNERBRACKET", on = "RIGHTWHITECORNERBRACKET", ln = "FULLWIDTHLESSTHAN", rn = "FULLWIDTHGREATERTHAN", cn = "AMPERSAND", An = "APOSTROPHE", un = "ASTERISK", Fe = "AT", dn = "BACKSLASH", gn = "BACKTICK", mn = "CARET", Pe = "COLON", oa = "COMMA", pn = "DOLLAR", je = "DOT", hn = "EQUALS", la = "EXCLAMATION", Me = "HYPHEN", bt = "PERCENT", vn = "PIPE", yn = "PLUS", bn = "POUND", Mt = "QUERY", ra = "QUOTE", cf = "FULLWIDTHMIDDLEDOT", ca = "SEMI", Ve = "SLASH", _t = "TILDE", Mn = "UNDERSCORE", Af = "EMOJI", _n = "SYM";
144
144
  var uf = /* @__PURE__ */ Object.freeze({
145
145
  __proto__: null,
146
146
  ALPHANUMERICAL: rf,
147
- AMPERSAND: rn,
148
- APOSTROPHE: cn,
147
+ AMPERSAND: cn,
148
+ APOSTROPHE: An,
149
149
  ASCIINUMERICAL: lf,
150
- ASTERISK: An,
150
+ ASTERISK: un,
151
151
  AT: Fe,
152
- BACKSLASH: un,
153
- BACKTICK: dn,
154
- CARET: gn,
155
- CLOSEANGLEBRACKET: Xt,
152
+ BACKSLASH: dn,
153
+ BACKTICK: gn,
154
+ CARET: mn,
155
+ CLOSEANGLEBRACKET: en,
156
156
  CLOSEBRACE: yt,
157
- CLOSEBRACKET: Kt,
158
- CLOSEPAREN: Zt,
157
+ CLOSEBRACKET: Jt,
158
+ CLOSEPAREN: Gt,
159
159
  COLON: Pe,
160
160
  COMMA: oa,
161
- DOLLAR: mn,
161
+ DOLLAR: pn,
162
162
  DOT: je,
163
163
  EMOJI: Af,
164
- EQUALS: pn,
164
+ EQUALS: hn,
165
165
  EXCLAMATION: la,
166
- FULLWIDTHGREATERTHAN: ln,
167
- FULLWIDTHLEFTPAREN: en,
168
- FULLWIDTHLESSTHAN: on,
166
+ FULLWIDTHGREATERTHAN: rn,
167
+ FULLWIDTHLEFTPAREN: tn,
168
+ FULLWIDTHLESSTHAN: ln,
169
169
  FULLWIDTHMIDDLEDOT: cf,
170
- FULLWIDTHRIGHTPAREN: tn,
170
+ FULLWIDTHRIGHTPAREN: nn,
171
171
  HYPHEN: Me,
172
- LEFTCORNERBRACKET: nn,
173
- LEFTWHITECORNERBRACKET: fn,
172
+ LEFTCORNERBRACKET: an,
173
+ LEFTWHITECORNERBRACKET: sn,
174
174
  LOCALHOST: Nt,
175
175
  NL: ia,
176
176
  NUM: sa,
177
- OPENANGLEBRACKET: Gt,
177
+ OPENANGLEBRACKET: Xt,
178
178
  OPENBRACE: vt,
179
- OPENBRACKET: Wt,
180
- OPENPAREN: Jt,
179
+ OPENBRACKET: Kt,
180
+ OPENPAREN: Zt,
181
181
  PERCENT: bt,
182
- PIPE: hn,
183
- PLUS: vn,
184
- POUND: yn,
182
+ PIPE: vn,
183
+ PLUS: yn,
184
+ POUND: bn,
185
185
  QUERY: Mt,
186
186
  QUOTE: ra,
187
- RIGHTCORNERBRACKET: an,
188
- RIGHTWHITECORNERBRACKET: sn,
189
- SCHEME: Pt,
187
+ RIGHTCORNERBRACKET: fn,
188
+ RIGHTWHITECORNERBRACKET: on,
189
+ SCHEME: qt,
190
190
  SEMI: ca,
191
191
  SLASH: Ve,
192
192
  SLASH_SCHEME: Xe,
193
- SYM: Mn,
193
+ SYM: _n,
194
194
  TILDE: _t,
195
195
  TLD: Jn,
196
- UNDERSCORE: bn,
196
+ UNDERSCORE: Mn,
197
197
  UTLD: Zn,
198
198
  UWORD: Kn,
199
199
  WORD: Re,
@@ -201,12 +201,12 @@ var uf = /* @__PURE__ */ Object.freeze({
201
201
  });
202
202
  const Ue = /[a-z]/, ut = new RegExp("\\p{L}", "u"), On = new RegExp("\\p{Emoji}", "u"), Be = /\d/, zn = /\s/, Sa = "\r", Ln = `
203
203
  `, ts = "️", ns = "‍", Un = "";
204
- let Bt = null, Rt = null;
204
+ let Rt = null, Qt = null;
205
205
  function as(e = []) {
206
206
  const t = {};
207
207
  ve.groups = t;
208
208
  const n = new ve();
209
- Bt == null && (Bt = Oa(Kf)), Rt == null && (Rt = Oa(Jf)), x(n, "'", cn), x(n, "{", vt), x(n, "}", yt), x(n, "[", Wt), x(n, "]", Kt), x(n, "(", Jt), x(n, ")", Zt), x(n, "<", Gt), x(n, ">", Xt), x(n, "(", en), x(n, ")", tn), x(n, "「", nn), x(n, "」", an), x(n, "『", fn), x(n, "』", sn), x(n, "<", on), x(n, ">", ln), x(n, "&", rn), x(n, "*", An), x(n, "@", Fe), x(n, "`", dn), x(n, "^", gn), x(n, ":", Pe), x(n, ",", oa), x(n, "$", mn), x(n, ".", je), x(n, "=", pn), x(n, "!", la), x(n, "-", Me), x(n, "%", bt), x(n, "|", hn), x(n, "+", vn), x(n, "#", yn), x(n, "?", Mt), x(n, '"', ra), x(n, "/", Ve), x(n, ";", ca), x(n, "~", _t), x(n, "_", bn), x(n, "\\", un), x(n, "・", cf);
209
+ Rt == null && (Rt = Oa(Kf)), Qt == null && (Qt = Oa(Jf)), x(n, "'", An), x(n, "{", vt), x(n, "}", yt), x(n, "[", Kt), x(n, "]", Jt), x(n, "(", Zt), x(n, ")", Gt), x(n, "<", Xt), x(n, ">", en), x(n, "(", tn), x(n, ")", nn), x(n, "「", an), x(n, "」", fn), x(n, "『", sn), x(n, "』", on), x(n, "<", ln), x(n, ">", rn), x(n, "&", cn), x(n, "*", un), x(n, "@", Fe), x(n, "`", gn), x(n, "^", mn), x(n, ":", Pe), x(n, ",", oa), x(n, "$", pn), x(n, ".", je), x(n, "=", hn), x(n, "!", la), x(n, "-", Me), x(n, "%", bt), x(n, "|", vn), x(n, "+", yn), x(n, "#", bn), x(n, "?", Mt), x(n, '"', ra), x(n, "/", Ve), x(n, ";", ca), x(n, "~", _t), x(n, "_", Mn), x(n, "\\", dn), x(n, "・", cf);
210
210
  const a = oe(n, Be, sa, {
211
211
  [Pn]: !0
212
212
  });
@@ -237,35 +237,35 @@ function as(e = []) {
237
237
  x(d, "#"), oe(d, On, d), x(d, ts, d);
238
238
  const m = x(d, ns);
239
239
  x(m, "#"), oe(m, On, d);
240
- const h = [[Ue, i], [Be, f]], v = [[Ue, null], [ut, r], [Be, s]];
241
- for (let _ = 0; _ < Bt.length; _++)
242
- Ye(n, Bt[_], Jn, Re, h);
240
+ const v = [[Ue, i], [Be, f]], y = [[Ue, null], [ut, r], [Be, s]];
243
241
  for (let _ = 0; _ < Rt.length; _++)
244
- Ye(n, Rt[_], Zn, Kn, v);
242
+ Ye(n, Rt[_], Jn, Re, v);
243
+ for (let _ = 0; _ < Qt.length; _++)
244
+ Ye(n, Qt[_], Zn, Kn, y);
245
245
  Ze(Jn, {
246
246
  tld: !0,
247
247
  ascii: !0
248
248
  }, t), Ze(Zn, {
249
249
  utld: !0,
250
250
  alpha: !0
251
- }, t), Ye(n, "file", Pt, Re, h), Ye(n, "mailto", Pt, Re, h), Ye(n, "http", Xe, Re, h), Ye(n, "https", Xe, Re, h), Ye(n, "ftp", Xe, Re, h), Ye(n, "ftps", Xe, Re, h), Ze(Pt, {
251
+ }, t), Ye(n, "file", qt, Re, v), Ye(n, "mailto", qt, Re, v), Ye(n, "http", Xe, Re, v), Ye(n, "https", Xe, Re, v), Ye(n, "ftp", Xe, Re, v), Ye(n, "ftps", Xe, Re, v), Ze(qt, {
252
252
  scheme: !0,
253
253
  ascii: !0
254
254
  }, t), Ze(Xe, {
255
255
  slashscheme: !0,
256
256
  ascii: !0
257
- }, t), e = e.sort((_, y) => _[0] > y[0] ? 1 : -1);
257
+ }, t), e = e.sort((_, p) => _[0] > p[0] ? 1 : -1);
258
258
  for (let _ = 0; _ < e.length; _++) {
259
- const y = e[_][0], E = e[_][1] ? {
259
+ const p = e[_][0], E = e[_][1] ? {
260
260
  [Zf]: !0
261
261
  } : {
262
262
  [Gf]: !0
263
263
  };
264
- y.indexOf("-") >= 0 ? E[Wn] = !0 : Ue.test(y) ? Be.test(y) ? E[ht] = !0 : E[qn] = !0 : E[Pn] = !0, Va(n, y, y, E);
264
+ p.indexOf("-") >= 0 ? E[Wn] = !0 : Ue.test(p) ? Be.test(p) ? E[ht] = !0 : E[qn] = !0 : E[Pn] = !0, Va(n, p, p, E);
265
265
  }
266
266
  return Va(n, "localhost", Nt, {
267
267
  ascii: !0
268
- }), n.jd = new ve(Mn), {
268
+ }), n.jd = new ve(_n), {
269
269
  start: n,
270
270
  tokens: Object.assign({
271
271
  groups: t
@@ -538,7 +538,7 @@ const La = Nn("email", {
538
538
  toHref() {
539
539
  return "mailto:" + this.toString();
540
540
  }
541
- }), Ua = Nn("text"), ss = Nn("nl"), Qt = Nn("url", {
541
+ }), Ua = Nn("text"), ss = Nn("nl"), $t = Nn("url", {
542
542
  isLink: !0,
543
543
  /**
544
544
  Lowercases relevant parts of the domain and adds the protocol if
@@ -562,7 +562,7 @@ const La = Nn("email", {
562
562
  function is({
563
563
  groups: e
564
564
  }) {
565
- const t = e.domain.concat([rn, An, Fe, un, dn, gn, mn, pn, Me, sa, bt, hn, vn, yn, Ve, Mn, _t, bn]), n = [cn, Pe, oa, je, la, bt, Mt, ra, ca, Gt, Xt, vt, yt, Kt, Wt, Jt, Zt, en, tn, nn, an, fn, sn, on, ln], a = [rn, cn, An, un, dn, gn, mn, pn, Me, vt, yt, bt, hn, vn, yn, Mt, Ve, Mn, _t, bn], f = be(), s = x(f, _t);
565
+ const t = e.domain.concat([cn, un, Fe, dn, gn, mn, pn, hn, Me, sa, bt, vn, yn, bn, Ve, _n, _t, Mn]), n = [An, Pe, oa, je, la, bt, Mt, ra, ca, Xt, en, vt, yt, Jt, Kt, Zt, Gt, tn, nn, an, fn, sn, on, ln, rn], a = [cn, An, un, dn, gn, mn, pn, hn, Me, vt, yt, bt, vn, yn, bn, Mt, Ve, _n, _t, Mn], f = be(), s = x(f, _t);
566
566
  W(s, a, s), W(s, e.domain, s);
567
567
  const i = be(), r = be(), c = be();
568
568
  W(f, e.domain, i), W(f, e.scheme, r), W(f, e.slashscheme, c), W(i, a, s), W(i, e.domain, i);
@@ -574,44 +574,44 @@ function is({
574
574
  W(u, e.domain, d), W(d, e.domain, d);
575
575
  const m = x(d, je);
576
576
  W(m, e.domain, d);
577
- const h = be(La);
578
- W(m, e.tld, h), W(m, e.utld, h), x(u, Nt, h);
579
- const v = x(d, Me);
580
- x(v, Me, v), W(v, e.domain, d), W(h, e.domain, d), x(h, je, m), x(h, Me, v);
581
- const _ = x(h, Pe);
577
+ const v = be(La);
578
+ W(m, e.tld, v), W(m, e.utld, v), x(u, Nt, v);
579
+ const y = x(d, Me);
580
+ x(y, Me, y), W(y, e.domain, d), W(v, e.domain, d), x(v, je, m), x(v, Me, y);
581
+ const _ = x(v, Pe);
582
582
  W(_, e.numeric, La);
583
- const y = x(i, Me), N = x(i, je);
584
- x(y, Me, y), W(y, e.domain, i), W(N, a, s), W(N, e.domain, i);
585
- const E = be(Qt);
586
- W(N, e.tld, E), W(N, e.utld, E), W(E, e.domain, i), W(E, a, s), x(E, je, N), x(E, Me, y), x(E, Fe, u);
587
- const w = x(E, Pe), D = be(Qt);
588
- W(w, e.numeric, D);
589
- const M = be(Qt), I = be();
590
- W(M, t, M), W(M, n, I), W(I, t, M), W(I, n, I), x(E, Ve, M), x(D, Ve, M);
583
+ const p = x(i, Me), N = x(i, je);
584
+ x(p, Me, p), W(p, e.domain, i), W(N, a, s), W(N, e.domain, i);
585
+ const E = be($t);
586
+ W(N, e.tld, E), W(N, e.utld, E), W(E, e.domain, i), W(E, a, s), x(E, je, N), x(E, Me, p), x(E, Fe, u);
587
+ const I = x(E, Pe), D = be($t);
588
+ W(I, e.numeric, D);
589
+ const M = be($t), w = be();
590
+ W(M, t, M), W(M, n, w), W(w, t, M), W(w, n, w), x(E, Ve, M), x(D, Ve, M);
591
591
  const C = x(r, Pe), B = x(c, Pe), V = x(B, Ve), $ = x(V, Ve);
592
- W(r, e.domain, i), x(r, je, N), x(r, Me, y), W(c, e.domain, i), x(c, je, N), x(c, Me, y), W(C, e.domain, M), x(C, Ve, M), x(C, Mt, M), W($, e.domain, M), W($, t, M), x($, Ve, M);
592
+ W(r, e.domain, i), x(r, je, N), x(r, Me, p), W(c, e.domain, i), x(c, je, N), x(c, Me, p), W(C, e.domain, M), x(C, Ve, M), x(C, Mt, M), W($, e.domain, M), W($, t, M), x($, Ve, M);
593
593
  const Z = [
594
594
  [vt, yt],
595
595
  // {}
596
- [Wt, Kt],
596
+ [Kt, Jt],
597
597
  // []
598
- [Jt, Zt],
598
+ [Zt, Gt],
599
599
  // ()
600
- [Gt, Xt],
600
+ [Xt, en],
601
601
  // <>
602
- [en, tn],
602
+ [tn, nn],
603
603
  // ()
604
- [nn, an],
604
+ [an, fn],
605
605
  // 「」
606
- [fn, sn],
606
+ [sn, on],
607
607
  // 『』
608
- [on, ln]
608
+ [ln, rn]
609
609
  // <>
610
610
  ];
611
611
  for (let z = 0; z < Z.length; z++) {
612
612
  const [L, X] = Z[z], ae = x(M, L);
613
- x(I, L, ae), x(ae, X, M);
614
- const te = be(Qt);
613
+ x(w, L, ae), x(ae, X, M);
614
+ const te = be($t);
615
615
  W(ae, t, te);
616
616
  const R = be();
617
617
  W(ae, n), W(te, t, te), W(te, n, R), W(R, t, te), W(R, n, R), x(te, X, M), x(R, X, M);
@@ -633,8 +633,8 @@ function os(e, t, n) {
633
633
  f -= g, f < a && (i.push(n[f]), f++);
634
634
  else {
635
635
  i.length > 0 && (s.push(Bn(Ua, t, i)), i = []), f -= m, g -= m;
636
- const h = d.t, v = n.slice(f - g, f);
637
- s.push(Bn(h, t, v));
636
+ const v = d.t, y = n.slice(f - g, f);
637
+ s.push(Bn(v, t, y));
638
638
  }
639
639
  }
640
640
  return i.length > 0 && s.push(Bn(Ua, t, i)), s;
@@ -799,7 +799,7 @@ const hf = /* @__PURE__ */ O(us, [["render", gs]]), ms = {
799
799
  key: 0,
800
800
  class: "pi pi-arrow-left chat-info__return-button",
801
801
  onClick: r[0] || (r[0] = (c) => a("returnToChats"))
802
- })) : p("", !0),
802
+ })) : h("", !0),
803
803
  o("div", hs, [
804
804
  n.chat.avatar ? (l(), A("img", {
805
805
  key: 0,
@@ -813,12 +813,12 @@ const hf = /* @__PURE__ */ O(us, [["render", gs]]), ms = {
813
813
  o("div", bs, [
814
814
  o("span", Ms, [
815
815
  Fn(T(e.chat.name) + " ", 1),
816
- e.additionalTitle ? (l(), A("span", _s, T(e.additionalTitle), 1)) : p("", !0)
816
+ e.additionalTitle ? (l(), A("span", _s, T(e.additionalTitle), 1)) : h("", !0)
817
817
  ]),
818
818
  s.value ? (l(), A("p", Is, [
819
819
  ne(i.$slots, "img-description", {}, void 0, !0),
820
820
  Fn(" " + T(s.value), 1)
821
- ])) : p("", !0)
821
+ ])) : h("", !0)
822
822
  ]),
823
823
  o("div", ws, [
824
824
  ne(i.$slots, "actions", {}, void 0, !0)
@@ -830,7 +830,7 @@ const hf = /* @__PURE__ */ O(us, [["render", gs]]), ms = {
830
830
  }, [
831
831
  ne(i.$slots, "search", {}, void 0, !0)
832
832
  ], 8, ks)
833
- ])) : p("", !0);
833
+ ])) : h("", !0);
834
834
  }
835
835
  }, Lg = /* @__PURE__ */ O(Ns, [["__scopeId", "data-v-b62b9609"]]), he = b([]), Ne = (e) => {
836
836
  const t = b(0), n = he.value.find(({ id: m }) => m == e);
@@ -1038,16 +1038,21 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1038
1038
  () => d.focusOnInputArea,
1039
1039
  () => {
1040
1040
  d.focusOnInputArea && Oe(() => {
1041
- const y = k(c);
1042
- y == null || y.focus();
1041
+ const p = k(c);
1042
+ p == null || p.focus();
1043
1043
  });
1044
1044
  },
1045
1045
  { immediate: !0 }
1046
1046
  ), ee(
1047
1047
  () => s().text,
1048
1048
  () => {
1049
- Oe(function() {
1050
- u.value = s().text, c.value && (c.value.style.height = "auto", c.value.style.height = c.value.scrollHeight + "px", s().text.length == 0 && (c.value.style.height = "40px"));
1049
+ Oe(() => {
1050
+ const p = c.value;
1051
+ if (!p) return;
1052
+ const N = p.scrollTop;
1053
+ p.style.height = "auto";
1054
+ const I = parseFloat(getComputedStyle(p).lineHeight) * 11, D = p.scrollHeight;
1055
+ s().text.trim() ? D <= I ? (p.style.height = D + "px", p.style.overflowY = "hidden") : (p.style.height = I + "px", p.style.overflowY = "auto", p.scrollTop = N) : (p.style.height = "40px", p.style.overflowY = "hidden");
1051
1056
  });
1052
1057
  },
1053
1058
  { immediate: !0 }
@@ -1057,22 +1062,30 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1057
1062
  s().forceSend && (_(), r(!1));
1058
1063
  }
1059
1064
  );
1060
- const h = (y) => {
1061
- n("typing", y.target.value);
1062
- }, v = (y) => {
1063
- if (y.ctrlKey) {
1065
+ const v = (p) => {
1066
+ n("typing", p.target.value);
1067
+ }, y = (p) => {
1068
+ if (p.shiftKey) {
1069
+ if (c.value instanceof HTMLTextAreaElement) {
1070
+ let N = c.value.selectionStart;
1071
+ N && (c.value.setRangeText(`
1072
+ `, N, N, "end"), i(c.value.value));
1073
+ }
1074
+ p.preventDefault();
1075
+ } else if (p.ctrlKey) {
1064
1076
  if (c.value instanceof HTMLTextAreaElement) {
1065
1077
  let N = c.value.selectionStart;
1066
1078
  N && (c.value.setRangeText(`
1067
1079
  `, N, N, "end"), i(c.value.value));
1068
1080
  }
1081
+ p.preventDefault();
1069
1082
  } else
1070
- y.preventDefault(), _();
1083
+ p.preventDefault(), _();
1071
1084
  }, _ = () => {
1072
1085
  var N, E;
1073
- const y = b(s());
1074
- if (y.value.text != "" || y.value.file) {
1075
- const w = {
1086
+ const p = b(s());
1087
+ if (p.value.text != "" || p.value.file) {
1088
+ const I = {
1076
1089
  type: "",
1077
1090
  text: "",
1078
1091
  url: "",
@@ -1080,10 +1093,10 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1080
1093
  size: "",
1081
1094
  reply: void 0
1082
1095
  };
1083
- y.value.file ? (w.type = "message." + y.value.file.type, w.url = y.value.file.url, w.filename = y.value.file.name, w.size = (N = y.value.file.size) == null ? void 0 : N.toString(), w.text = (E = y == null ? void 0 : y.value) == null ? void 0 : E.text.trim()) : (w.type = "message.text", w.text = y.value.text.trim()), y.value.reply && (w.reply = y.value.reply), n("send", w), f(), g.value = void 0, c.value && c.value.focus();
1096
+ p.value.file ? (I.type = "message." + p.value.file.type, I.url = p.value.file.url, I.filename = p.value.file.name, I.size = (N = p.value.file.size) == null ? void 0 : N.toString(), I.text = (E = p == null ? void 0 : p.value) == null ? void 0 : E.text.trim()) : (I.type = "message.text", I.text = p.value.text.trim()), p.value.reply && (I.reply = p.value.reply), n("send", I), f(), g.value = void 0, c.value && c.value.focus();
1084
1097
  }
1085
1098
  };
1086
- return (y, N) => (l(), A("div", zs, [
1099
+ return (p, N) => (l(), A("div", zs, [
1087
1100
  o("div", {
1088
1101
  id: "chat-input-reply-line-" + k(a),
1089
1102
  class: "chat-input__reply-line"
@@ -1093,7 +1106,7 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1093
1106
  class: "chat-input__file-line"
1094
1107
  }, null, 8, Us),
1095
1108
  o("div", Bs, [
1096
- ne(y.$slots, "inline-buttons", {}, void 0, !0)
1109
+ ne(p.$slots, "inline-buttons", {}, void 0, !0)
1097
1110
  ]),
1098
1111
  e.disabledPlaceholder && (e.state == "disabled" || k(s)().isRecording) ? (l(), A("div", Rs, T(e.disabledPlaceholder), 1)) : re((l(), A("textarea", {
1099
1112
  key: 1,
@@ -1103,8 +1116,8 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1103
1116
  disabled: e.state == "disabled" || k(s)().isRecording,
1104
1117
  class: "chat-input__input",
1105
1118
  placeholder: k(_e)("component.ChatInput.InputPlaceholder"),
1106
- onKeydown: aa(v, ["enter"]),
1107
- onInput: h
1119
+ onKeydown: aa(y, ["enter"]),
1120
+ onInput: v
1108
1121
  }, null, 40, Qs)), [
1109
1122
  [ot, k(s)().text]
1110
1123
  ]),
@@ -1118,11 +1131,11 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1118
1131
  ])
1119
1132
  ], 10, $s),
1120
1133
  o("div", Fs, [
1121
- ne(y.$slots, "buttons", {}, void 0, !0)
1134
+ ne(p.$slots, "buttons", {}, void 0, !0)
1122
1135
  ])
1123
1136
  ]));
1124
1137
  }
1125
- }), Ug = /* @__PURE__ */ O(Ps, [["__scopeId", "data-v-59f12a90"]]), qs = { class: "chat-tabs__list" }, Hs = ["aria-pressed", "onClick"], Ws = {
1138
+ }), Ug = /* @__PURE__ */ O(Ps, [["__scopeId", "data-v-400477cb"]]), qs = { class: "chat-tabs__list" }, Hs = ["aria-pressed", "onClick"], Ws = {
1126
1139
  key: 0,
1127
1140
  class: "chat-tabs__badge"
1128
1141
  }, Ks = {
@@ -1137,7 +1150,7 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1137
1150
  emits: ["tab-click"],
1138
1151
  setup(e) {
1139
1152
  return (t, n) => (l(), A("ul", qs, [
1140
- (l(!0), A(P, null, ie(e.tabs, (a) => (l(), A("li", {
1153
+ (l(!0), A(q, null, ie(e.tabs, (a) => (l(), A("li", {
1141
1154
  key: a.id,
1142
1155
  class: j(["chat-tabs__item", { "chat-tabs__item--active": a.active }])
1143
1156
  }, [
@@ -1147,7 +1160,7 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1147
1160
  onClick: (f) => t.$emit("tab-click", a.id)
1148
1161
  }, [
1149
1162
  Fn(T(a.label) + " ", 1),
1150
- a.count !== void 0 ? (l(), A("span", Ws, T(a.count), 1)) : p("", !0)
1163
+ a.count !== void 0 ? (l(), A("span", Ws, T(a.count), 1)) : h("", !0)
1151
1164
  ], 8, Hs)
1152
1165
  ], 2))), 128))
1153
1166
  ]));
@@ -1185,8 +1198,8 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1185
1198
  });
1186
1199
  }
1187
1200
  const g = () => {
1188
- const M = k(s), I = M.scrollHeight - M.scrollTop - M.clientHeight;
1189
- M.scrollTop > 500 && (r.value = !0), M.scrollTop <= 500 && (r.value = !1), c.value ? I < 300 && (i.value = !0) : (I < 300 && (i.value = !0), I >= 300 && (i.value = !1));
1201
+ const M = k(s), w = M.scrollHeight - M.scrollTop - M.clientHeight;
1202
+ M.scrollTop > 500 && (r.value = !0), M.scrollTop <= 500 && (r.value = !1), c.value ? w < 300 && (i.value = !0) : (w < 300 && (i.value = !0), w >= 300 && (i.value = !1));
1190
1203
  };
1191
1204
  ee(
1192
1205
  () => i.value,
@@ -1203,48 +1216,48 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1203
1216
  }
1204
1217
  );
1205
1218
  const d = (M) => {
1206
- const I = k(s);
1207
- (M.offsetX > I.clientWidth || M.offsetY > I.clientHeight) && (c.value = !0);
1219
+ const w = k(s);
1220
+ (M.offsetX > w.clientWidth || M.offsetY > w.clientHeight) && (c.value = !0);
1208
1221
  }, m = () => {
1209
1222
  c.value = !1;
1210
- }, h = (M) => {
1211
- a("expand", M);
1212
1223
  }, v = (M) => {
1224
+ a("expand", M);
1225
+ }, y = (M) => {
1213
1226
  n.chats.forEach((C) => {
1214
1227
  C.isSelected = !1, C.dialogs && C.dialogs.forEach((B) => {
1215
1228
  B.isSelected = !1;
1216
1229
  });
1217
1230
  }), M.dialog && _(M.dialog);
1218
- const I = n.chats.find((C) => C.chatId === M.chat.chatId);
1219
- I.isSelected = !0, a("select", M);
1231
+ const w = n.chats.find((C) => C.chatId === M.chat.chatId);
1232
+ w.isSelected = !0, a("select", M);
1220
1233
  }, _ = (M) => {
1221
- n.chats.forEach((I) => {
1222
- I.isSelected = !1, I.dialogs && I.dialogs.forEach((C) => {
1234
+ n.chats.forEach((w) => {
1235
+ w.isSelected = !1, w.dialogs && w.dialogs.forEach((C) => {
1223
1236
  C.isSelected = !1, C.dialogId == M.dialogId && (C.isSelected = !0);
1224
1237
  });
1225
1238
  });
1226
- }, y = () => n.chats.toSorted((M, I) => {
1227
- if (Number(M["lastActivity.timestamp"]) > Number(I["lastActivity.timestamp"])) return -1;
1228
- if (Number(M["lastActivity.timestamp"]) < Number(I["lastActivity.timestamp"])) return 1;
1229
- if (Number(M["lastActivity.timestamp"]) == Number(I["lastActivity.timestamp"])) return 0;
1230
- }).toSorted((M, I) => {
1231
- if (M.countUnread > I.countUnread) return -1;
1232
- if (M.countUnread < I.countUnread) return 1;
1233
- if (M.countUnread == I.countUnread) return 0;
1239
+ }, p = () => n.chats.toSorted((M, w) => {
1240
+ if (Number(M["lastActivity.timestamp"]) > Number(w["lastActivity.timestamp"])) return -1;
1241
+ if (Number(M["lastActivity.timestamp"]) < Number(w["lastActivity.timestamp"])) return 1;
1242
+ if (Number(M["lastActivity.timestamp"]) == Number(w["lastActivity.timestamp"])) return 0;
1243
+ }).toSorted((M, w) => {
1244
+ if (M.countUnread > w.countUnread) return -1;
1245
+ if (M.countUnread < w.countUnread) return 1;
1246
+ if (M.countUnread == w.countUnread) return 0;
1234
1247
  }).filter((M) => n.filterQuery ? M.name.includes(n.filterQuery) || M.metadata.includes(n.filterQuery) : M.name.includes(f.value) || M.metadata.includes(f.value)), N = (M) => {
1235
1248
  f.value = M;
1236
- }, E = (M) => a("action", M), w = b([
1249
+ }, E = (M) => a("action", M), I = b([
1237
1250
  { id: "all", label: "Все", count: 2, active: !0 },
1238
1251
  { id: "deal", label: "По сделке", count: 3, active: !1 },
1239
1252
  { id: "rejected", label: "Непринятые", count: 1, active: !1 }
1240
1253
  ]), D = (M) => {
1241
- w.value.forEach((I) => {
1242
- I.active = I.id === M;
1254
+ I.value.forEach((w) => {
1255
+ w.active = w.id === M;
1243
1256
  });
1244
1257
  };
1245
- return (M, I) => (l(), A("div", Zs, [
1258
+ return (M, w) => (l(), A("div", Zs, [
1246
1259
  o("div", Gs, [
1247
- e.titleEnabled ? (l(), A("h2", Xs, T(k(_e)("component.ChatList.Title")), 1)) : p("", !0),
1260
+ e.titleEnabled ? (l(), A("h2", Xs, T(k(_e)("component.ChatList.Title")), 1)) : h("", !0),
1248
1261
  ne(M.$slots, "actions", {}, void 0, !0)
1249
1262
  ]),
1250
1263
  ne(M.$slots, "sidebar", {}, void 0, !0),
@@ -1252,9 +1265,9 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1252
1265
  key: 0,
1253
1266
  class: "chat-list__filter",
1254
1267
  onUpdate: N
1255
- })) : p("", !0),
1268
+ })) : h("", !0),
1256
1269
  Q(Js, {
1257
- tabs: w.value,
1270
+ tabs: I.value,
1258
1271
  onTabClick: D
1259
1272
  }, null, 8, ["tabs"]),
1260
1273
  o("div", {
@@ -1266,45 +1279,45 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1266
1279
  onMouseup: m
1267
1280
  }, [
1268
1281
  o("div", ei, [
1269
- (l(!0), A(P, null, ie(y().filter((C) => C.isFixedTop), (C) => (l(), U(k(Rn), {
1282
+ (l(!0), A(q, null, ie(p().filter((C) => C.isFixedTop), (C) => (l(), U(k(Rn), {
1270
1283
  key: C.chatId,
1271
1284
  class: "chat-list__item",
1272
1285
  chat: C,
1273
- onSelect: v,
1274
- onExpand: h,
1286
+ onSelect: y,
1287
+ onExpand: v,
1275
1288
  onAction: E
1276
1289
  }, null, 8, ["chat"]))), 128))
1277
1290
  ]),
1278
1291
  o("div", ti, [
1279
- (l(!0), A(P, null, ie(y().filter((C) => !C.isFixedBottom && !C.isFixedTop), (C) => (l(), U(k(Rn), {
1292
+ (l(!0), A(q, null, ie(p().filter((C) => !C.isFixedBottom && !C.isFixedTop), (C) => (l(), U(k(Rn), {
1280
1293
  key: C.chatId,
1281
1294
  class: "chat-list__item",
1282
1295
  chat: C,
1283
- onSelect: v,
1284
- onExpand: h,
1296
+ onSelect: y,
1297
+ onExpand: v,
1285
1298
  onAction: E
1286
1299
  }, null, 8, ["chat"]))), 128))
1287
1300
  ]),
1288
1301
  o("div", ni, [
1289
- (l(!0), A(P, null, ie(y().filter((C) => C.isFixedBottom), (C) => (l(), U(k(Rn), {
1302
+ (l(!0), A(q, null, ie(p().filter((C) => C.isFixedBottom), (C) => (l(), U(k(Rn), {
1290
1303
  key: C.chatId,
1291
1304
  class: "chat-list__item",
1292
1305
  chat: C,
1293
- onSelect: v,
1294
- onExpand: h,
1306
+ onSelect: y,
1307
+ onExpand: v,
1295
1308
  onAction: E
1296
1309
  }, null, 8, ["chat"]))), 128))
1297
1310
  ])
1298
1311
  ], 544),
1299
1312
  Q(se, null, {
1300
- default: q(() => [
1313
+ default: P(() => [
1301
1314
  r.value ? (l(), A("button", {
1302
1315
  key: 0,
1303
1316
  class: "chat-list__button-up",
1304
1317
  onClick: u
1305
- }, I[0] || (I[0] = [
1318
+ }, w[0] || (w[0] = [
1306
1319
  o("span", { class: "pi pi-angle-up chat-list__icon-down" }, null, -1)
1307
- ]))) : p("", !0)
1320
+ ]))) : h("", !0)
1308
1321
  ]),
1309
1322
  _: 1
1310
1323
  })
@@ -1343,7 +1356,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1343
1356
  ref: "keyboard",
1344
1357
  class: j(["keyboard__container", [`keyboard__container--${e.align}`]])
1345
1358
  }, [
1346
- (l(!0), A(P, null, ie(e.keyboard, (d) => (l(), A("div", {
1359
+ (l(!0), A(q, null, ie(e.keyboard, (d) => (l(), A("div", {
1347
1360
  key: d.text,
1348
1361
  class: "keyboard__key",
1349
1362
  style: ce({ "box-shadow": "0px 0px 10px 5px " + d.color }),
@@ -1404,10 +1417,10 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1404
1417
  "keyboardAction"
1405
1418
  ],
1406
1419
  setup(e, { emit: t }) {
1407
- const n = b(), a = b(), f = b(), s = b(!1), i = b(!1), r = b(!1), c = b(!1), u = b(!1), g = b(!1), d = e, m = G("chatAppId"), { setReply: h, getMessage: v, resetReply: _ } = Ne(m), y = t, N = Y(() => !!(i.value && d.objects.length > 0 && d.objects[d.objects.length - 1].keyboard)), E = (R) => {
1408
- y("keyboardAction", R);
1420
+ const n = b(), a = b(), f = b(), s = b(!1), i = b(!1), r = b(!1), c = b(!1), u = b(!1), g = b(!1), d = e, m = G("chatAppId"), { setReply: v, getMessage: y, resetReply: _ } = Ne(m), p = t, N = Y(() => !!(i.value && d.objects.length > 0 && d.objects[d.objects.length - 1].keyboard)), E = (R) => {
1421
+ p("keyboardAction", R);
1409
1422
  };
1410
- function w(R = !0) {
1423
+ function I(R = !0) {
1411
1424
  const K = k(a);
1412
1425
  let fe = 0;
1413
1426
  f.value && (fe = f.value.refKeyboard.clientHeight);
@@ -1417,7 +1430,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1417
1430
  ee(
1418
1431
  () => [c.value, r.value],
1419
1432
  () => {
1420
- c.value || y("loadMoreDown"), r.value || y("loadMore");
1433
+ c.value || p("loadMoreDown"), r.value || p("loadMore");
1421
1434
  }
1422
1435
  );
1423
1436
  const D = (R) => {
@@ -1425,7 +1438,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1425
1438
  (R.offsetX > K.clientWidth || R.offsetY > K.clientHeight) && (g.value = !0);
1426
1439
  }, M = () => {
1427
1440
  g.value = !1;
1428
- }, I = fi(w, 250), C = (R) => ({
1441
+ }, w = fi(I, 250), C = (R) => ({
1429
1442
  "message.text": pd,
1430
1443
  "message.image": od,
1431
1444
  "message.file": Hu,
@@ -1443,7 +1456,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1443
1456
  });
1444
1457
  }
1445
1458
  function V() {
1446
- y("forceScrollToBottom"), B();
1459
+ p("forceScrollToBottom"), B();
1447
1460
  }
1448
1461
  ee(
1449
1462
  () => d.scrollToBottom,
@@ -1453,13 +1466,13 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1453
1466
  { immediate: !0 }
1454
1467
  );
1455
1468
  const $ = (R) => {
1456
- y("messageAction", R);
1469
+ p("messageAction", R);
1457
1470
  }, Z = (R) => {
1458
- y("clickRepliedMessage", R);
1471
+ p("clickRepliedMessage", R);
1459
1472
  }, z = (R, K) => {
1460
1473
  if (d.enableDoubleClickReply && (R == null || R.preventDefault(), K.type.indexOf("system") == -1 && K.type.indexOf("typing") == -1)) {
1461
1474
  const fe = document.getElementById("chat-input-reply-line-" + m);
1462
- fe && (fe.style.display = "inherit"), h({
1475
+ fe && (fe.style.display = "inherit"), v({
1463
1476
  messageId: K.messageId,
1464
1477
  type: K.type,
1465
1478
  text: K.text,
@@ -1475,7 +1488,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1475
1488
  R && (R.style.display = "none");
1476
1489
  }, X = (R) => {
1477
1490
  R.forEach((K) => {
1478
- K.isIntersecting && y("messageVisible", JSON.parse(K.target.id));
1491
+ K.isIntersecting && p("messageVisible", JSON.parse(K.target.id));
1479
1492
  });
1480
1493
  }, ae = {
1481
1494
  root: document.getElementById("feed-container-" + m),
@@ -1486,7 +1499,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1486
1499
  () => d.objects,
1487
1500
  () => {
1488
1501
  Oe(() => {
1489
- if (r.value = !0, c.value = !0, w(!1), g.value) {
1502
+ if (r.value = !0, c.value = !0, I(!1), g.value) {
1490
1503
  const R = k(a);
1491
1504
  u.value && (R.scrollTop = R.scrollHeight - 400), u.value || (R.scrollTop = 400);
1492
1505
  }
@@ -1507,18 +1520,18 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1507
1520
  }, 2e3);
1508
1521
  }
1509
1522
  }
1510
- ), (R, K) => (l(), A(P, null, [
1523
+ ), (R, K) => (l(), A(q, null, [
1511
1524
  e.objects.length > 0 || e.typing ? (l(), A("div", {
1512
1525
  key: 0,
1513
1526
  id: "feed-container-" + k(m),
1514
1527
  ref_key: "refFeed",
1515
1528
  ref: a,
1516
1529
  class: "message-feed",
1517
- onScroll: K[0] || (K[0] = (fe) => k(I)()),
1530
+ onScroll: K[0] || (K[0] = (fe) => k(w)()),
1518
1531
  onMousedown: D,
1519
1532
  onMouseup: M
1520
1533
  }, [
1521
- (l(!0), A(P, null, ie(e.objects, (fe) => (l(), A("div", {
1534
+ (l(!0), A(q, null, ie(e.objects, (fe) => (l(), A("div", {
1522
1535
  id: JSON.stringify(fe),
1523
1536
  key: fe.messageId,
1524
1537
  class: "tracking-message",
@@ -1539,9 +1552,9 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1539
1552
  subText: e.typing.title,
1540
1553
  avatar: e.typing.avatar
1541
1554
  }
1542
- }, null, 8, ["message"])) : p("", !0),
1555
+ }, null, 8, ["message"])) : h("", !0),
1543
1556
  Q(se, null, {
1544
- default: q(() => [
1557
+ default: P(() => [
1545
1558
  N.value ? (l(), U(oi, {
1546
1559
  key: 0,
1547
1560
  ref_key: "keyboardRef",
@@ -1550,20 +1563,20 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1550
1563
  keyboard: e.objects[e.objects.length - 1].keyboard,
1551
1564
  align: e.keyboardAlign,
1552
1565
  onAction: E
1553
- }, null, 8, ["keyboard", "align"])) : p("", !0)
1566
+ }, null, 8, ["keyboard", "align"])) : h("", !0)
1554
1567
  ]),
1555
1568
  _: 1
1556
1569
  }),
1557
1570
  Q(se, null, {
1558
- default: q(() => [
1571
+ default: P(() => [
1559
1572
  s.value ? (l(), A("button", {
1560
1573
  key: 0,
1561
1574
  class: "message-feed__button-down",
1562
1575
  onClick: V
1563
1576
  }, [
1564
- e.buttonParams ? (l(), A("div", ci, T(e.buttonParams.unreadAmount), 1)) : p("", !0),
1577
+ e.buttonParams ? (l(), A("div", ci, T(e.buttonParams.unreadAmount), 1)) : h("", !0),
1565
1578
  K[1] || (K[1] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
1566
- ])) : p("", !0)
1579
+ ])) : h("", !0)
1567
1580
  ]),
1568
1581
  _: 1
1569
1582
  })
@@ -1577,16 +1590,16 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1577
1590
  ne(R.$slots, "empty-feed", {}, void 0, !0)
1578
1591
  ])
1579
1592
  ], 512)),
1580
- k(v)().reply ? (l(), U(ye, {
1593
+ k(y)().reply ? (l(), U(ye, {
1581
1594
  key: 2,
1582
1595
  to: "#chat-input-reply-line-" + k(m)
1583
1596
  }, [
1584
1597
  Q(k(At), {
1585
1598
  class: "chat-input-reply",
1586
- message: k(v)().reply,
1599
+ message: k(y)().reply,
1587
1600
  onReset: L
1588
1601
  }, null, 8, ["message"])
1589
- ], 8, ["to"])) : p("", !0)
1602
+ ], 8, ["to"])) : h("", !0)
1590
1603
  ], 64));
1591
1604
  }
1592
1605
  }), Rg = /* @__PURE__ */ O(ui, [["__scopeId", "data-v-62141b10"]]), di = {
@@ -1615,11 +1628,11 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1615
1628
  height: "48",
1616
1629
  width: "48"
1617
1630
  }, null, 8, mi)
1618
- ])) : p("", !0),
1631
+ ])) : h("", !0),
1619
1632
  o("h2", pi, T(e.user.name), 1),
1620
1633
  o("p", hi, T(e.user.email), 1),
1621
1634
  o("p", vi, T(e.user.phone), 1)
1622
- ])) : p("", !0);
1635
+ ])) : h("", !0);
1623
1636
  }
1624
1637
  }, Qg = /* @__PURE__ */ O(yi, [["__scopeId", "data-v-e88f5abb"]]), bi = ["data-theme"], Mi = { class: "modal__container" }, _i = {
1625
1638
  __name: "ModalFullscreen",
@@ -1660,7 +1673,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1660
1673
  ])
1661
1674
  ], 40, bi));
1662
1675
  }
1663
- }, xt = /* @__PURE__ */ O(_i, [["__scopeId", "data-v-4a4fdaa8"]]), dt = b([]), Ee = (e) => {
1676
+ }, jt = /* @__PURE__ */ O(_i, [["__scopeId", "data-v-4a4fdaa8"]]), dt = b([]), Ee = (e) => {
1664
1677
  const t = b(0), n = dt.value.find(({ id: f }) => f == e);
1665
1678
  return n != null ? t.value = dt.value.indexOf(n) : (dt.value.push({
1666
1679
  id: e,
@@ -1692,10 +1705,10 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1692
1705
  function m() {
1693
1706
  s.value && (r.value ? s.value.pause() : s.value.play(), r.value = !r.value);
1694
1707
  }
1695
- const h = (y) => {
1696
- const N = Math.floor(y / 60), E = Math.floor(y % 60);
1708
+ const v = (p) => {
1709
+ const N = Math.floor(p / 60), E = Math.floor(p % 60);
1697
1710
  return `${N.toString().padStart(2, "0")}:${E.toString().padStart(2, "0")}`;
1698
- }, v = Y(() => s.value ? h(u.value) : "0:00"), _ = Y(() => s.value || i.value ? h(c.value) : "0:00");
1711
+ }, y = Y(() => s.value ? v(u.value) : "0:00"), _ = Y(() => s.value || i.value ? v(c.value) : "0:00");
1699
1712
  return ue(() => {
1700
1713
  s.value != null && (s.value.addEventListener("loadedmetadata", () => {
1701
1714
  s.value != null && (s.value.duration == 1 / 0 || Number.isNaN(s.value.duration)) && (s.value.currentTime = 1e101, s.value.addEventListener("timeupdate", () => {
@@ -1708,7 +1721,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1708
1721
  i.value && (i.value.currentTime = 0, c.value = i.value.duration);
1709
1722
  }, { once: !0 })));
1710
1723
  });
1711
- }), (y, N) => (l(), A("div", Ii, [
1724
+ }), (p, N) => (l(), A("div", Ii, [
1712
1725
  o("div", wi, [
1713
1726
  e.fileInfo.isImage ? (l(), A("div", {
1714
1727
  key: 0,
@@ -1768,9 +1781,9 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1768
1781
  o("div", ji, [
1769
1782
  o("div", Vi, [
1770
1783
  o("span", Si, T(e.fileInfo.fileName), 1),
1771
- !e.fileInfo.isAudio && !e.fileInfo.isVideo ? (l(), A("span", Oi, T(e.fileInfo.fileSize), 1)) : p("", !0),
1772
- e.fileInfo.isAudio ? (l(), A("span", zi, T(`${v.value} / ${_.value}`), 1)) : p("", !0),
1773
- e.fileInfo.isVideo ? (l(), A("span", Li, T(_.value), 1)) : p("", !0)
1784
+ !e.fileInfo.isAudio && !e.fileInfo.isVideo ? (l(), A("span", Oi, T(e.fileInfo.fileSize), 1)) : h("", !0),
1785
+ e.fileInfo.isAudio ? (l(), A("span", zi, T(`${y.value} / ${_.value}`), 1)) : h("", !0),
1786
+ e.fileInfo.isVideo ? (l(), A("span", Li, T(_.value), 1)) : h("", !0)
1774
1787
  ]),
1775
1788
  o("div", Ui, [
1776
1789
  o("span", {
@@ -1781,29 +1794,29 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1781
1794
  ]),
1782
1795
  (l(), U(ye, { to: "body" }, [
1783
1796
  Q(se, { name: "modal-fade" }, {
1784
- default: q(() => [
1785
- g.value ? (l(), U(xt, {
1797
+ default: P(() => [
1798
+ g.value ? (l(), U(jt, {
1786
1799
  key: 0,
1787
1800
  theme: k(a)().theme ? k(a)().theme : "",
1788
1801
  onClose: d
1789
1802
  }, {
1790
- default: q(() => [
1803
+ default: P(() => [
1791
1804
  e.fileInfo.isVideo ? (l(), A("video", {
1792
1805
  key: 0,
1793
1806
  class: "preview__modal-video",
1794
1807
  src: e.fileInfo.previewUrl,
1795
1808
  controls: "",
1796
1809
  autoplay: ""
1797
- }, null, 8, Bi)) : p("", !0),
1810
+ }, null, 8, Bi)) : h("", !0),
1798
1811
  e.fileInfo.isImage ? (l(), A("img", {
1799
1812
  key: 1,
1800
1813
  class: "preview__modal-image",
1801
1814
  src: e.fileInfo.previewUrl,
1802
1815
  alt: "Image Preview"
1803
- }, null, 8, Ri)) : p("", !0)
1816
+ }, null, 8, Ri)) : h("", !0)
1804
1817
  ]),
1805
1818
  _: 1
1806
- }, 8, ["theme"])) : p("", !0)
1819
+ }, 8, ["theme"])) : h("", !0)
1807
1820
  ]),
1808
1821
  _: 1
1809
1822
  })
@@ -1880,28 +1893,28 @@ const qi = /* @__PURE__ */ O(Yi, [["render", Pi]]), Hi = { key: 0 }, Wi = { key:
1880
1893
  const n = e, a = b(""), f = b(), s = b(), i = G("chatAppId"), { setMessageFile: r, resetMessageFile: c, getMessage: u, setRecordingMessage: g } = Ne(i), d = Y(() => !u().file), m = () => {
1881
1894
  const E = document.getElementById("chat-input-file-line-" + i);
1882
1895
  E && (E.style.display = "none"), c(), s.value = void 0, a.value = "";
1883
- }, h = async () => {
1884
- var E, w;
1885
- m(), (E = f.value) != null && E.files && N((w = f.value) == null ? void 0 : w.files[0]);
1886
- }, v = (E) => {
1896
+ }, v = async () => {
1897
+ var E, I;
1898
+ m(), (E = f.value) != null && E.files && N((I = f.value) == null ? void 0 : I.files[0]);
1899
+ }, y = (E) => {
1887
1900
  f.value && d && (f.value.accept = E.action, f.value.click());
1888
1901
  }, _ = () => {
1889
1902
  f.value && d && n.state == "active" && f.value.click();
1890
- }, y = async (E) => {
1903
+ }, p = async (E) => {
1891
1904
  var D;
1892
- const w = (D = E.clipboardData) == null ? void 0 : D.items;
1893
- if (w) {
1894
- for (let M of w)
1905
+ const I = (D = E.clipboardData) == null ? void 0 : D.items;
1906
+ if (I) {
1907
+ for (let M of I)
1895
1908
  if (M.type.indexOf("image") !== -1) {
1896
1909
  E.preventDefault();
1897
- const I = M.getAsFile();
1898
- I && N(I);
1910
+ const w = M.getAsFile();
1911
+ w && N(w);
1899
1912
  }
1900
1913
  }
1901
1914
  }, N = async (E) => {
1902
1915
  a.value = "uploading", g(!0);
1903
- const w = typeof n.filebumpUrl == "string" ? n.filebumpUrl : null;
1904
- await Tn(w, E).then((D) => {
1916
+ const I = typeof n.filebumpUrl == "string" ? n.filebumpUrl : null;
1917
+ await Tn(I, E).then((D) => {
1905
1918
  if (g(!1), a.value = D.status, D.status == "success") {
1906
1919
  r({
1907
1920
  url: D.url,
@@ -1922,17 +1935,17 @@ const qi = /* @__PURE__ */ O(Yi, [["render", Pi]]), Hi = { key: 0 }, Wi = { key:
1922
1935
  });
1923
1936
  };
1924
1937
  return ue(() => {
1925
- window.addEventListener("paste", y);
1926
- }), (E, w) => (l(), A(P, null, [
1927
- a.value === "uploading" ? (l(), A("div", Hi, w[0] || (w[0] = [
1938
+ window.addEventListener("paste", p);
1939
+ }), (E, I) => (l(), A(q, null, [
1940
+ a.value === "uploading" ? (l(), A("div", Hi, I[0] || (I[0] = [
1928
1941
  o("p", null, "Загрузка файла...", -1)
1929
- ]))) : a.value === "error" ? (l(), A("div", Wi, w[1] || (w[1] = [
1942
+ ]))) : a.value === "error" ? (l(), A("div", Wi, I[1] || (I[1] = [
1930
1943
  o("p", null, "Ошибка при загрузке файла.", -1)
1931
- ]))) : p("", !0),
1944
+ ]))) : h("", !0),
1932
1945
  o("span", {
1933
1946
  class: j(["file-uploader__trigger", { "file-uploader__disabled": !d.value || e.state == "disabled" }]),
1934
1947
  disabled: !d.value || e.state == "disabled",
1935
- onClick: v,
1948
+ onClick: y,
1936
1949
  onButtonClick: _
1937
1950
  }, [
1938
1951
  Q(qi)
@@ -1942,7 +1955,7 @@ const qi = /* @__PURE__ */ O(Yi, [["render", Pi]]), Hi = { key: 0 }, Wi = { key:
1942
1955
  ref: f,
1943
1956
  style: { display: "none" },
1944
1957
  type: "file",
1945
- onChange: h
1958
+ onChange: v
1946
1959
  }, null, 544),
1947
1960
  k(u)().file ? (l(), U(ye, {
1948
1961
  key: 2,
@@ -1952,8 +1965,8 @@ const qi = /* @__PURE__ */ O(Yi, [["render", Pi]]), Hi = { key: 0 }, Wi = { key:
1952
1965
  key: 0,
1953
1966
  "file-info": s.value,
1954
1967
  onReset: m
1955
- }, null, 8, ["file-info"])) : p("", !0)
1956
- ], 8, ["to"])) : p("", !0)
1968
+ }, null, 8, ["file-info"])) : h("", !0)
1969
+ ], 8, ["to"])) : h("", !0)
1957
1970
  ], 64));
1958
1971
  }
1959
1972
  }), $g = /* @__PURE__ */ O(Ji, [["__scopeId", "data-v-00973cf1"]]), Zi = { key: 0 }, Gi = ["value", "selected"], Xi = {
@@ -1983,13 +1996,13 @@ const qi = /* @__PURE__ */ O(Yi, [["render", Pi]]), Hi = { key: 0 }, Wi = { key:
1983
1996
  o("select", {
1984
1997
  onChange: g[0] || (g[0] = (d) => r(d))
1985
1998
  }, [
1986
- (l(!0), A(P, null, ie(n.themes, (d, m) => (l(), A("option", {
1999
+ (l(!0), A(q, null, ie(n.themes, (d, m) => (l(), A("option", {
1987
2000
  key: m,
1988
2001
  value: d.code,
1989
2002
  selected: d.default === !0
1990
2003
  }, T(d.name), 9, Gi))), 128))
1991
2004
  ], 32)
1992
- ])) : p("", !0);
2005
+ ])) : h("", !0);
1993
2006
  }
1994
2007
  }, Yg = /* @__PURE__ */ O(Xi, [["__scopeId", "data-v-0bf269d7"]]), eo = ["id"], En = /* @__PURE__ */ F({
1995
2008
  __name: "ButtonContextMenu",
@@ -2017,59 +2030,59 @@ const qi = /* @__PURE__ */ O(Yi, [["render", Pi]]), Hi = { key: 0 }, Wi = { key:
2017
2030
  emits: ["click", "buttonClick", "menuMouseEnter", "menuMouseLeave"],
2018
2031
  setup(e, { expose: t, emit: n }) {
2019
2032
  const a = G("chatAppId"), f = G("extChatAppId"), { getTheme: s } = Ee(a), i = e, r = fa(), c = n, u = b(), g = b(), d = b(!1), m = (M) => {
2020
- w(), c("click", M);
2021
- }, h = () => {
2022
- i.disabled || (i.mode == "click" && !d.value ? E() : i.mode == "click" && d.value && w(), c("buttonClick"));
2033
+ I(), c("click", M);
2023
2034
  }, v = () => {
2035
+ i.disabled || (i.mode == "click" && !d.value ? E() : i.mode == "click" && d.value && I(), c("buttonClick"));
2036
+ }, y = () => {
2024
2037
  i.disabled || i.mode == "hover" && E();
2025
2038
  }, _ = () => {
2026
- i.disabled || i.mode == "hover" && w();
2027
- }, y = () => {
2039
+ i.disabled || i.mode == "hover" && I();
2040
+ }, p = () => {
2028
2041
  c("menuMouseEnter"), i.disabled || i.mode == "hover" && E();
2029
2042
  }, N = () => {
2030
- c("menuMouseLeave"), i.disabled || i.mode == "hover" && w();
2043
+ c("menuMouseLeave"), i.disabled || i.mode == "hover" && I();
2031
2044
  }, E = () => {
2032
2045
  if (g.value && u.value) {
2033
- const M = u.value, I = g.value.getBoundingClientRect();
2046
+ const M = u.value, w = g.value.getBoundingClientRect();
2034
2047
  M.style.display = "inherit";
2035
2048
  const C = u.value.getBoundingClientRect();
2036
2049
  M.style.display = "none", Oe(() => {
2037
2050
  const B = {
2038
- left: { top: I.top - (C.height - I.height) / 2 - C.top, left: I.left - C.width - C.left },
2039
- right: { top: I.top - (C.height - I.height) / 2 - C.top, left: I.left + I.width - C.left },
2040
- bottom: { top: (I == null ? void 0 : I.bottom) - C.top, left: (I == null ? void 0 : I.left) - (C.width - I.width) / 2 - C.left },
2041
- top: { top: I.top - C.height - C.top, left: (I == null ? void 0 : I.left) - (C.width - I.width) / 2 - C.left },
2042
- "top-right": { top: I.top - C.height, left: I.right - C.width / 2 }
2051
+ left: { top: w.top - (C.height - w.height) / 2 - C.top, left: w.left - C.width - C.left },
2052
+ right: { top: w.top - (C.height - w.height) / 2 - C.top, left: w.left + w.width - C.left },
2053
+ bottom: { top: (w == null ? void 0 : w.bottom) - C.top, left: (w == null ? void 0 : w.left) - (C.width - w.width) / 2 - C.left },
2054
+ top: { top: w.top - C.height - C.top, left: (w == null ? void 0 : w.left) - (C.width - w.width) / 2 - C.left },
2055
+ "top-right": { top: w.top - C.height, left: w.right - C.width / 2 }
2043
2056
  };
2044
2057
  M.style.top = B[i.menuSide].top + "px", M.style.left = B[i.menuSide].left + "px", M.style.opacity = "1", M.style.display = "inherit", d.value = !0;
2045
2058
  });
2046
2059
  }
2047
- }, w = () => {
2060
+ }, I = () => {
2048
2061
  if (u.value) {
2049
2062
  const M = u.value;
2050
2063
  M && (M.style.top = "0", M.style.left = "0", M.style.opacity = "0", M.style.display = "none", d.value = !1);
2051
2064
  }
2052
2065
  }, D = (M) => {
2053
- i.mode == "click" && g.value && !g.value.contains(M.target) && w();
2066
+ i.mode == "click" && g.value && !g.value.contains(M.target) && I();
2054
2067
  };
2055
2068
  return ue(() => {
2056
2069
  Oe(() => {
2057
- u.value = document.getElementById("context-menu-" + r + f), u.value && (w(), document.addEventListener("click", D));
2070
+ u.value = document.getElementById("context-menu-" + r + f), u.value && (I(), document.addEventListener("click", D));
2058
2071
  });
2059
2072
  }), kn(() => {
2060
2073
  document.removeEventListener("click", D);
2061
2074
  }), t({
2062
2075
  updatePosition: E,
2063
- hideMenu: w
2064
- }), (M, I) => (l(), A("button", {
2076
+ hideMenu: I
2077
+ }), (M, w) => (l(), A("button", {
2065
2078
  id: "container-" + k(r) + k(f),
2066
2079
  ref_key: "actionScope",
2067
2080
  ref: g,
2068
2081
  style: { position: "relative", width: "fit-content", border: "none", background: "transparent", height: "fit-content" },
2069
- onMouseenter: v,
2082
+ onMouseenter: y,
2070
2083
  onMouseleave: _
2071
2084
  }, [
2072
- o("div", { onClick: h }, [
2085
+ o("div", { onClick: v }, [
2073
2086
  ne(M.$slots, "default")
2074
2087
  ]),
2075
2088
  (l(), U(ye, { to: "body" }, [
@@ -2077,7 +2090,7 @@ const qi = /* @__PURE__ */ O(Yi, [["render", Pi]]), Hi = { key: 0 }, Wi = { key:
2077
2090
  id: "context-menu-" + k(r) + k(f),
2078
2091
  actions: e.actions,
2079
2092
  "data-theme": k(s)().theme ? k(s)().theme : "light",
2080
- onMouseenter: y,
2093
+ onMouseenter: p,
2081
2094
  onMouseleave: N,
2082
2095
  onClick: m
2083
2096
  }, null, 8, ["id", "actions", "data-theme"])
@@ -2119,11 +2132,11 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2119
2132
  })), c = () => {
2120
2133
  s.value = !0, Oe(() => {
2121
2134
  if (a.value && f.value) {
2122
- const g = f.value, d = a.value.getBoundingClientRect(), m = f.value.getBoundingClientRect(), h = m.left < 0 ? m.left : 0, v = m.top < 0 ? m.top : 0, _ = {
2123
- left: { top: d.top - (m.height - d.height) / 2 - v, left: (d == null ? void 0 : d.left) - m.width - h - i.offset },
2124
- right: { top: d.top - (m.height - d.height) / 2 - v, left: (d == null ? void 0 : d.left) + d.width - h + i.offset },
2125
- bottom: { top: (d == null ? void 0 : d.bottom) - v + i.offset, left: (d == null ? void 0 : d.left) - h },
2126
- top: { top: d.top - m.height - i.offset - v, left: (d == null ? void 0 : d.left) - h }
2135
+ const g = f.value, d = a.value.getBoundingClientRect(), m = f.value.getBoundingClientRect(), v = m.left < 0 ? m.left : 0, y = m.top < 0 ? m.top : 0, _ = {
2136
+ left: { top: d.top - (m.height - d.height) / 2 - y, left: (d == null ? void 0 : d.left) - m.width - v - i.offset },
2137
+ right: { top: d.top - (m.height - d.height) / 2 - y, left: (d == null ? void 0 : d.left) + d.width - v + i.offset },
2138
+ bottom: { top: (d == null ? void 0 : d.bottom) - y + i.offset, left: (d == null ? void 0 : d.left) - v },
2139
+ top: { top: d.top - m.height - i.offset - y, left: (d == null ? void 0 : d.left) - v }
2127
2140
  };
2128
2141
  g.style.top = _[i.position].top + "px", g.style.left = _[i.position].left + "px";
2129
2142
  }
@@ -2134,7 +2147,7 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2134
2147
  g && (g.style.top = "0", g.style.left = "0");
2135
2148
  });
2136
2149
  };
2137
- return (g, d) => (l(), A(P, null, [
2150
+ return (g, d) => (l(), A(q, null, [
2138
2151
  o("div", {
2139
2152
  ref_key: "container",
2140
2153
  ref: a,
@@ -2146,21 +2159,21 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2146
2159
  ], 544),
2147
2160
  (l(), U(ye, { to: "body" }, [
2148
2161
  Q(se, null, {
2149
- default: q(() => [
2162
+ default: P(() => [
2150
2163
  s.value ? (l(), A("span", {
2151
2164
  key: 0,
2152
2165
  ref_key: "tooltip",
2153
2166
  ref: f,
2154
2167
  "data-theme": k(n)().theme ? k(n)().theme : "light",
2155
2168
  class: j(r.value)
2156
- }, T(e.text), 11, so)) : p("", !0)
2169
+ }, T(e.text), 11, so)) : h("", !0)
2157
2170
  ]),
2158
2171
  _: 1
2159
2172
  })
2160
2173
  ]))
2161
2174
  ], 64));
2162
2175
  }
2163
- }), _n = /* @__PURE__ */ O(io, [["__scopeId", "data-v-207b0a9d"]]), oo = ["onClick"], lo = ["src", "alt"], ro = { key: 1 }, co = ["onClick"], Ao = ["src", "alt"], uo = ["src"], go = { class: "sidebar__settings-container" }, mo = { class: "sidebar__settings-btn" }, po = {
2176
+ }), Tt = /* @__PURE__ */ O(io, [["__scopeId", "data-v-207b0a9d"]]), oo = ["onClick"], lo = ["src", "alt"], ro = { key: 1 }, co = ["onClick"], Ao = ["src", "alt"], uo = ["src"], go = { class: "sidebar__settings-container" }, mo = { class: "sidebar__settings-btn" }, po = {
2164
2177
  __name: "SideBar",
2165
2178
  props: {
2166
2179
  sidebarItems: {
@@ -2177,7 +2190,7 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2177
2190
  emits: ["selectItem"],
2178
2191
  setup(e, { emit: t }) {
2179
2192
  const n = b(""), f = Yf(e, "sidebarItems"), s = t, i = (d) => {
2180
- const m = f.value.find((h) => h.itemId === d);
2193
+ const m = f.value.find((v) => v.itemId === d);
2181
2194
  s("selectItem", m);
2182
2195
  }, r = (d) => {
2183
2196
  const m = d.split(" ");
@@ -2212,23 +2225,23 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2212
2225
  o("ul", {
2213
2226
  class: j(["sidebar__list-fixed", { "sidebar-horizontal__list-fixed": e.horizontal }])
2214
2227
  }, [
2215
- (l(!0), A(P, null, ie(f.value.filter((h) => h.isFixedBottom), (h, v) => (l(), A("li", {
2216
- key: v,
2228
+ (l(!0), A(q, null, ie(f.value.filter((v) => v.isFixedBottom), (v, y) => (l(), A("li", {
2229
+ key: y,
2217
2230
  class: j(["sidebar__item", { "sidebar-horizontal__item": e.horizontal }]),
2218
- onClick: (_) => i(h.itemId)
2231
+ onClick: (_) => i(v.itemId)
2219
2232
  }, [
2220
- h.name ? (l(), U(_n, {
2233
+ v.name ? (l(), U(Tt, {
2221
2234
  key: 0,
2222
- text: r(h.name),
2235
+ text: r(v.name),
2223
2236
  position: "right",
2224
2237
  offset: 8
2225
2238
  }, {
2226
- default: q(() => [
2239
+ default: P(() => [
2227
2240
  o("img", {
2228
- src: h.icon,
2229
- alt: h.name,
2241
+ src: v.icon,
2242
+ alt: v.name,
2230
2243
  class: j(["sidebar__image", {
2231
- "sidebar__image--active": h.selected === !0,
2244
+ "sidebar__image--active": v.selected === !0,
2232
2245
  "sidebar-horizontal__image": e.horizontal
2233
2246
  }])
2234
2247
  }, null, 10, lo),
@@ -2236,30 +2249,30 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2236
2249
  ]),
2237
2250
  _: 2,
2238
2251
  __: [0]
2239
- }, 1032, ["text"])) : p("", !0),
2240
- h.notificationCount ? (l(), A("span", ro, T(h.notificationCount > 99 ? "99+" : h.notificationCount), 1)) : p("", !0)
2252
+ }, 1032, ["text"])) : h("", !0),
2253
+ v.notificationCount ? (l(), A("span", ro, T(v.notificationCount > 99 ? "99+" : v.notificationCount), 1)) : h("", !0)
2241
2254
  ], 10, oo))), 128))
2242
2255
  ], 2),
2243
2256
  o("ul", {
2244
2257
  class: j(["sidebar__list", { "sidebar-horizontal__list": e.horizontal }])
2245
2258
  }, [
2246
- (l(!0), A(P, null, ie(f.value.filter((h) => !h.isFixedBottom), (h, v) => (l(), A("li", {
2247
- key: v,
2259
+ (l(!0), A(q, null, ie(f.value.filter((v) => !v.isFixedBottom), (v, y) => (l(), A("li", {
2260
+ key: y,
2248
2261
  class: j(["sidebar__item", { "sidebar-horizontal__item": e.horizontal }]),
2249
- onClick: (_) => i(h.itemId)
2262
+ onClick: (_) => i(v.itemId)
2250
2263
  }, [
2251
- h.name ? (l(), U(_n, {
2264
+ v.name ? (l(), U(Tt, {
2252
2265
  key: 0,
2253
- text: h.name,
2266
+ text: v.name,
2254
2267
  position: "right",
2255
2268
  offset: 8
2256
2269
  }, {
2257
- default: q(() => [
2270
+ default: P(() => [
2258
2271
  o("img", {
2259
- src: h.icon,
2260
- alt: h.name,
2272
+ src: v.icon,
2273
+ alt: v.name,
2261
2274
  class: j(["sidebar__image", {
2262
- "sidebar__image--active": h.selected === !0,
2275
+ "sidebar__image--active": v.selected === !0,
2263
2276
  "sidebar-horizontal__image": e.horizontal
2264
2277
  }])
2265
2278
  }, null, 10, Ao)
@@ -2267,17 +2280,17 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2267
2280
  _: 2
2268
2281
  }, 1032, ["text"])) : (l(), A("img", {
2269
2282
  key: 1,
2270
- src: h.icon,
2283
+ src: v.icon,
2271
2284
  alt: "icon",
2272
2285
  class: j(["sidebar__image", {
2273
- "sidebar__image--active": h.selected === !0,
2286
+ "sidebar__image--active": v.selected === !0,
2274
2287
  "sidebar-horizontal__image": e.horizontal
2275
2288
  }])
2276
2289
  }, null, 10, uo)),
2277
- h.notificationCount ? (l(), A("span", {
2290
+ v.notificationCount ? (l(), A("span", {
2278
2291
  key: 2,
2279
- style: ce({ backgroundColor: (h.notificationColor, "var(--chotto-unread-background-color)") })
2280
- }, T(h.notificationCount > 99 ? "99+" : h.notificationCount), 5)) : p("", !0)
2292
+ style: ce({ backgroundColor: (v.notificationColor, "var(--chotto-unread-background-color)") })
2293
+ }, T(v.notificationCount > 99 ? "99+" : v.notificationCount), 5)) : h("", !0)
2281
2294
  ], 10, co))), 128))
2282
2295
  ], 2)
2283
2296
  ]),
@@ -2289,7 +2302,7 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2289
2302
  onClick: u,
2290
2303
  onButtonClick: g
2291
2304
  }, {
2292
- default: q(() => [
2305
+ default: P(() => [
2293
2306
  o("button", mo, [
2294
2307
  Q(fo)
2295
2308
  ])
@@ -2321,14 +2334,14 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2321
2334
  setup(e, { emit: t }) {
2322
2335
  return (n, a) => (l(), A("div", ho, [
2323
2336
  e.titleEnabled ? (l(), A("div", vo, [
2324
- e.title ? (l(), A("p", yo, T(e.title), 1)) : p("", !0),
2337
+ e.title ? (l(), A("p", yo, T(e.title), 1)) : h("", !0),
2325
2338
  o("button", {
2326
2339
  class: "chat-panel__button-close",
2327
2340
  onClick: a[0] || (a[0] = (f) => n.$emit("close-panel"))
2328
2341
  }, a[1] || (a[1] = [
2329
2342
  o("span", { class: "pi pi-times" }, null, -1)
2330
2343
  ]))
2331
- ])) : p("", !0),
2344
+ ])) : h("", !0),
2332
2345
  o("div", null, [
2333
2346
  ne(n.$slots, "content", {}, void 0, !0)
2334
2347
  ])
@@ -2363,7 +2376,7 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2363
2376
  const n = e, a = G("chatAppId"), { getMessage: f } = Ne(a), s = t, r = b(n.channels.find((u) => u.type === "default")), c = (u) => {
2364
2377
  r.value = u, s("selectChannel", r.value);
2365
2378
  };
2366
- return (u, g) => k(f)().isRecording ? p("", !0) : (l(), A("div", {
2379
+ return (u, g) => k(f)().isRecording ? h("", !0) : (l(), A("div", {
2367
2380
  key: 0,
2368
2381
  class: j(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
2369
2382
  }, [
@@ -2372,7 +2385,7 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2372
2385
  key: 0,
2373
2386
  src: r.value.icon,
2374
2387
  class: "channels__icon"
2375
- }, null, 8, _o)) : p("", !0),
2388
+ }, null, 8, _o)) : h("", !0),
2376
2389
  o("span", Io, T(r.value.title), 1)
2377
2390
  ])) : (l(), A("span", wo, T(k(_e)("component.ChannelSelector.Placeholder")), 1)),
2378
2391
  Q(En, {
@@ -2382,7 +2395,7 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2382
2395
  disabled: e.state == "disabled",
2383
2396
  onClick: c
2384
2397
  }, {
2385
- default: q(() => [
2398
+ default: P(() => [
2386
2399
  o("span", {
2387
2400
  class: j(["pi pi-list channels__trigger", { channels__disabled: e.state == "disabled" }])
2388
2401
  }, null, 2)
@@ -2476,33 +2489,33 @@ const Wg = (e, t = null) => {
2476
2489
  setup(e, { emit: t }) {
2477
2490
  const n = e, a = t, f = b(!1), s = b(!1), i = () => {
2478
2491
  s.value = !0;
2479
- }, r = (w) => {
2480
- s.value || w.target instanceof HTMLElement && w.target.id != "noSelectButton" && a("select", { chat: n.chat, dialog: null }), s.value = !1;
2481
- }, c = (w) => {
2482
- a("select", { chat: n.chat, dialog: w });
2483
- }, u = () => n.chat.isSelected ? "chat-item__selected" : "", g = (w) => w.isSelected ? "dialog__selected" : "", d = (w) => {
2484
- a("action", { chat: n.chat, ...w });
2485
- }, m = () => n.chat.dialogs.toSorted((w, D) => {
2486
- if (Number(w["lastActivity.timestamp"]) > Number(D["lastActivity.timestamp"])) return -1;
2487
- if (Number(w["lastActivity.timestamp"]) < Number(D["lastActivity.timestamp"])) return 1;
2488
- if (Number(w["lastActivity.timestamp"]) == Number(D["lastActivity.timestamp"])) return 0;
2489
- }), h = Y(() => rt(n.chat["lastMessage.status"]));
2490
- let v;
2491
- const _ = b(0), y = [_e("component.ChatItem.typing") + ".", _e("component.ChatItem.typing") + "..", _e("component.ChatItem.typing") + "..."], N = Y(() => n.chat.typing ? y[_.value] : n.chat.lastMessage);
2492
+ }, r = (I) => {
2493
+ s.value || I.target instanceof HTMLElement && I.target.id != "noSelectButton" && a("select", { chat: n.chat, dialog: null }), s.value = !1;
2494
+ }, c = (I) => {
2495
+ a("select", { chat: n.chat, dialog: I });
2496
+ }, u = () => n.chat.isSelected ? "chat-item__selected" : "", g = (I) => I.isSelected ? "dialog__selected" : "", d = (I) => {
2497
+ a("action", { chat: n.chat, ...I });
2498
+ }, m = () => n.chat.dialogs.toSorted((I, D) => {
2499
+ if (Number(I["lastActivity.timestamp"]) > Number(D["lastActivity.timestamp"])) return -1;
2500
+ if (Number(I["lastActivity.timestamp"]) < Number(D["lastActivity.timestamp"])) return 1;
2501
+ if (Number(I["lastActivity.timestamp"]) == Number(D["lastActivity.timestamp"])) return 0;
2502
+ }), v = Y(() => rt(n.chat["lastMessage.status"]));
2503
+ let y;
2504
+ const _ = b(0), p = [_e("component.ChatItem.typing") + ".", _e("component.ChatItem.typing") + "..", _e("component.ChatItem.typing") + "..."], N = Y(() => n.chat.typing ? p[_.value] : n.chat.lastMessage);
2492
2505
  ee(
2493
2506
  () => n.chat.typing,
2494
2507
  () => {
2495
- n.chat.typing ? v = setInterval(() => {
2508
+ n.chat.typing ? y = setInterval(() => {
2496
2509
  _.value < 2 ? _.value += 1 : _.value = 0;
2497
- }, 1e3) : (_.value = 0, clearInterval(v));
2510
+ }, 1e3) : (_.value = 0, clearInterval(y));
2498
2511
  },
2499
2512
  { immediate: !0 }
2500
2513
  );
2501
- const E = (w) => {
2514
+ const E = (I) => {
2502
2515
  var D;
2503
- ((D = w.relatedTarget) == null ? void 0 : D.className) == "context-menu__list" ? f.value = !0 : f.value = !1;
2516
+ ((D = I.relatedTarget) == null ? void 0 : D.className) == "context-menu__list" ? f.value = !0 : f.value = !1;
2504
2517
  };
2505
- return (w, D) => (l(), A("div", null, [
2518
+ return (I, D) => (l(), A("div", null, [
2506
2519
  o("div", {
2507
2520
  class: j(["chat-item__container", u()]),
2508
2521
  onMouseenter: D[2] || (D[2] = (M) => f.value = !0),
@@ -2524,28 +2537,28 @@ const Wg = (e, t = null) => {
2524
2537
  ]))
2525
2538
  ]),
2526
2539
  o("div", Eo, [
2527
- Q(_n, {
2540
+ Q(Tt, {
2528
2541
  text: e.chat.name,
2529
2542
  position: "bottom"
2530
2543
  }, {
2531
- default: q(() => [
2544
+ default: P(() => [
2532
2545
  o("div", Co, T(e.chat.name), 1)
2533
2546
  ]),
2534
2547
  _: 1
2535
2548
  }, 8, ["text"]),
2536
- Q(_n, {
2549
+ Q(Tt, {
2537
2550
  text: e.chat.lastMessage,
2538
2551
  position: "bottom"
2539
2552
  }, {
2540
- default: q(() => [
2541
- e.chat.lastMessage || e.chat.typing ? (l(), A("div", xo, T(N.value), 1)) : p("", !0)
2553
+ default: P(() => [
2554
+ e.chat.lastMessage || e.chat.typing ? (l(), A("div", xo, T(N.value), 1)) : h("", !0)
2542
2555
  ]),
2543
2556
  _: 1
2544
2557
  }, 8, ["text"])
2545
2558
  ]),
2546
2559
  o("div", jo, [
2547
- e.chat["lastActivity.time"] && !f.value ? (l(), A("div", Vo, T(e.chat["lastActivity.time"]), 1)) : p("", !0),
2548
- e.chat.countUnread > 0 ? (l(), A("div", So, T(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) : p("", !0),
2560
+ e.chat["lastActivity.time"] && !f.value ? (l(), A("div", Vo, T(e.chat["lastActivity.time"]), 1)) : h("", !0),
2561
+ e.chat.countUnread > 0 ? (l(), A("div", So, T(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) : h("", !0),
2549
2562
  f.value && e.chat.actions ? (l(), U(En, {
2550
2563
  key: 2,
2551
2564
  mode: "click",
@@ -2555,29 +2568,29 @@ const Wg = (e, t = null) => {
2555
2568
  onButtonClick: i,
2556
2569
  onMenuMouseLeave: D[0] || (D[0] = (M) => f.value = !1)
2557
2570
  }, {
2558
- default: q(() => D[3] || (D[3] = [
2571
+ default: P(() => D[3] || (D[3] = [
2559
2572
  o("span", { class: "pi pi-ellipsis-h chat-item__actions-trigger" }, null, -1)
2560
2573
  ])),
2561
2574
  _: 1,
2562
2575
  __: [3]
2563
- }, 8, ["actions"])) : p("", !0),
2576
+ }, 8, ["actions"])) : h("", !0),
2564
2577
  e.chat.countUnread < 1 ? (l(), A("div", Oo, [
2565
2578
  k(lt).includes(e.chat["lastMessage.status"]) ? (l(), A("div", {
2566
2579
  key: 0,
2567
- class: j(["chat-item__status-message", h.value])
2580
+ class: j(["chat-item__status-message", v.value])
2568
2581
  }, [
2569
- e.chat["lastMessage.status"] !== "sent" ? (l(), A("span", zo)) : p("", !0),
2582
+ e.chat["lastMessage.status"] !== "sent" ? (l(), A("span", zo)) : h("", !0),
2570
2583
  D[4] || (D[4] = o("span", { class: "pi pi-check" }, null, -1))
2571
- ], 2)) : p("", !0),
2572
- e.chat.isFixedTop || e.chat.isFixedBottom ? (l(), A("span", Lo)) : p("", !0)
2573
- ])) : p("", !0)
2584
+ ], 2)) : h("", !0),
2585
+ e.chat.isFixedTop || e.chat.isFixedBottom ? (l(), A("span", Lo)) : h("", !0)
2586
+ ])) : h("", !0)
2574
2587
  ]),
2575
2588
  e.chat.dialogs ? (l(), A("div", {
2576
2589
  key: 0,
2577
2590
  class: "chat-item__dialog-buttons",
2578
2591
  onClick: D[1] || (D[1] = (M) => a("expand", n.chat))
2579
2592
  }, [
2580
- e.chat.dialogsExpanded ? p("", !0) : (l(), A("button", Uo, D[5] || (D[5] = [
2593
+ e.chat.dialogsExpanded ? h("", !0) : (l(), A("button", Uo, D[5] || (D[5] = [
2581
2594
  o("span", {
2582
2595
  id: "noSelectButton",
2583
2596
  class: "pi pi-angle-down"
@@ -2588,14 +2601,14 @@ const Wg = (e, t = null) => {
2588
2601
  id: "noSelectButton",
2589
2602
  class: "pi pi-angle-up"
2590
2603
  }, null, -1)
2591
- ]))) : p("", !0)
2592
- ])) : p("", !0)
2604
+ ]))) : h("", !0)
2605
+ ])) : h("", !0)
2593
2606
  ], 34),
2594
2607
  e.chat.dialogsExpanded ? (l(), A("div", Ro, [
2595
- (l(!0), A(P, null, ie(m(), (M) => (l(), A("div", {
2608
+ (l(!0), A(q, null, ie(m(), (M) => (l(), A("div", {
2596
2609
  key: M.dialogId,
2597
2610
  class: j(["dialog__item", g(M)]),
2598
- onClick: (I) => c(M)
2611
+ onClick: (w) => c(M)
2599
2612
  }, [
2600
2613
  M.icon ? (l(), A("img", {
2601
2614
  key: 0,
@@ -2612,12 +2625,12 @@ const Wg = (e, t = null) => {
2612
2625
  key: 2,
2613
2626
  class: "chat-item__unread",
2614
2627
  style: ce({ backgroundColor: M.colorUnread ? M.colorUnread : null })
2615
- }, T(M.countUnread > 99 ? "99+" : M.countUnread), 5)) : p("", !0)
2628
+ }, T(M.countUnread > 99 ? "99+" : M.countUnread), 5)) : h("", !0)
2616
2629
  ], 10, Qo))), 128))
2617
- ])) : p("", !0)
2630
+ ])) : h("", !0)
2618
2631
  ]));
2619
2632
  }
2620
- }), Rn = /* @__PURE__ */ O(Ho, [["__scopeId", "data-v-c4296e95"]]), Wo = {}, Ko = {
2633
+ }), Rn = /* @__PURE__ */ O(Ho, [["__scopeId", "data-v-b2e1d18a"]]), Wo = {}, Ko = {
2621
2634
  width: "17",
2622
2635
  height: "16",
2623
2636
  viewBox: "0 0 17 16",
@@ -2709,22 +2722,22 @@ const Zo = /* @__PURE__ */ O(Wo, [["render", Jo]]), Go = { class: "chat-filter__
2709
2722
  setup(e, { emit: t }) {
2710
2723
  const n = e, a = G("chatAppId"), { setMessageText: f } = Ne(a), s = () => {
2711
2724
  i("closeTemplateWindow"), f(c.value.template);
2712
- }, i = t, r = b(null), c = b(null), u = b(""), g = b(), d = b(""), m = b(""), h = b(""), v = b(!1), _ = Y(() => !!(v.value && (h.value == "grid" && m.value == "none" || m.value == "grid" && d.value == "none"))), y = Y(() => !!(v.value && (d.value == "grid" && m.value == "none" || m.value == "grid" && h.value == "none"))), N = () => {
2713
- v.value && (m.value == "grid" ? w() : h.value == "grid" && M());
2725
+ }, i = t, r = b(null), c = b(null), u = b(""), g = b(), d = b(""), m = b(""), v = b(""), y = b(!1), _ = Y(() => !!(y.value && (v.value == "grid" && m.value == "none" || m.value == "grid" && d.value == "none"))), p = Y(() => !!(y.value && (d.value == "grid" && m.value == "none" || m.value == "grid" && v.value == "none"))), N = () => {
2726
+ y.value && (m.value == "grid" ? I() : v.value == "grid" && M());
2714
2727
  }, E = () => {
2715
- v.value && (m.value == "grid" ? D() : d.value == "grid" && M());
2716
- }, w = () => {
2728
+ y.value && (m.value == "grid" ? D() : d.value == "grid" && M());
2729
+ }, I = () => {
2717
2730
  const z = document.getElementById("template-selector-container-" + a);
2718
- z.style.setProperty("--chotto-template-first-col-display", "grid"), z.style.setProperty("--chotto-template-second-col-display", "none"), I();
2731
+ z.style.setProperty("--chotto-template-first-col-display", "grid"), z.style.setProperty("--chotto-template-second-col-display", "none"), w();
2719
2732
  }, D = () => {
2720
2733
  const z = document.getElementById("template-selector-container-" + a);
2721
- z.style.setProperty("--chotto-template-third-col-display", "grid"), z.style.setProperty("--chotto-template-second-col-display", "none"), I();
2734
+ z.style.setProperty("--chotto-template-third-col-display", "grid"), z.style.setProperty("--chotto-template-second-col-display", "none"), w();
2722
2735
  }, M = () => {
2723
2736
  const z = document.getElementById("template-selector-container-" + a);
2724
- z.style.setProperty("--chotto-template-second-col-display", "grid"), z.style.setProperty("--chotto-template-first-col-display", "none"), z.style.setProperty("--chotto-template-third-col-display", "none"), I();
2725
- }, I = () => {
2737
+ z.style.setProperty("--chotto-template-second-col-display", "grid"), z.style.setProperty("--chotto-template-first-col-display", "none"), z.style.setProperty("--chotto-template-third-col-display", "none"), w();
2738
+ }, w = () => {
2726
2739
  const z = document.getElementById("template-selector-container-" + a), L = window.getComputedStyle(z);
2727
- d.value = L.getPropertyValue("--chotto-template-first-col-display"), m.value = L.getPropertyValue("--chotto-template-second-col-display"), h.value = L.getPropertyValue("--chotto-template-third-col-display");
2740
+ d.value = L.getPropertyValue("--chotto-template-first-col-display"), m.value = L.getPropertyValue("--chotto-template-second-col-display"), v.value = L.getPropertyValue("--chotto-template-third-col-display");
2728
2741
  }, C = (z) => {
2729
2742
  n.templates.forEach((L) => L.isSelected = !1), z.isSelected = !0, c.value = z, D();
2730
2743
  }, B = () => {
@@ -2734,10 +2747,10 @@ const Zo = /* @__PURE__ */ O(Wo, [["render", Jo]]), Go = { class: "chat-filter__
2734
2747
  return V.value.filter((L) => L.title.toLowerCase().includes(z) || L.template.toLowerCase().includes(z));
2735
2748
  }), Z = new ResizeObserver((z) => {
2736
2749
  const L = z[0].target.clientWidth;
2737
- L > 700 && (v.value = !1), L < 700 && (v.value = !0);
2750
+ L > 700 && (y.value = !1), L < 700 && (y.value = !0);
2738
2751
  });
2739
2752
  return ue(() => {
2740
- I(), k(g) && Z.observe(k(g));
2753
+ w(), k(g) && Z.observe(k(g));
2741
2754
  }), (z, L) => (l(), A("div", al, [
2742
2755
  o("div", {
2743
2756
  id: "template-selector-container-" + k(a),
@@ -2755,13 +2768,13 @@ const Zo = /* @__PURE__ */ O(Wo, [["render", Jo]]), Go = { class: "chat-filter__
2755
2768
  class: "pi pi-arrow-left",
2756
2769
  onClick: N
2757
2770
  })
2758
- ])) : p("", !0),
2759
- y.value ? (l(), A("button", ll, [
2771
+ ])) : h("", !0),
2772
+ p.value ? (l(), A("button", ll, [
2760
2773
  o("span", {
2761
2774
  class: "pi pi-arrow-right",
2762
2775
  onClick: E
2763
2776
  })
2764
- ])) : p("", !0)
2777
+ ])) : h("", !0)
2765
2778
  ]),
2766
2779
  o("button", rl, [
2767
2780
  o("span", {
@@ -2776,7 +2789,7 @@ const Zo = /* @__PURE__ */ O(Wo, [["render", Jo]]), Go = { class: "chat-filter__
2776
2789
  class: "template-selector__first-col"
2777
2790
  }, [
2778
2791
  o("ul", ul, [
2779
- (l(!0), A(P, null, ie(e.groupTemplates, (X, ae) => (l(), A("li", {
2792
+ (l(!0), A(q, null, ie(e.groupTemplates, (X, ae) => (l(), A("li", {
2780
2793
  key: ae,
2781
2794
  class: j(["template-selector__item-group", { "template-selector__item-selected": r.value === X }]),
2782
2795
  onClick: B
@@ -2787,7 +2800,7 @@ const Zo = /* @__PURE__ */ O(Wo, [["render", Jo]]), Go = { class: "chat-filter__
2787
2800
  class: "template-selector__item-group-icon",
2788
2801
  src: X.iconUrl,
2789
2802
  alt: X.title
2790
- }, null, 8, gl)) : p("", !0),
2803
+ }, null, 8, gl)) : h("", !0),
2791
2804
  re(o("input", {
2792
2805
  id: ae,
2793
2806
  "onUpdate:modelValue": L[1] || (L[1] = (te) => r.value = te),
@@ -2818,7 +2831,7 @@ const Zo = /* @__PURE__ */ O(Wo, [["render", Jo]]), Go = { class: "chat-filter__
2818
2831
  ]),
2819
2832
  o("div", vl, [
2820
2833
  $.value.length !== 0 ? (l(), A("ul", yl, [
2821
- (l(!0), A(P, null, ie($.value, (X, ae) => (l(), A("li", {
2834
+ (l(!0), A(q, null, ie($.value, (X, ae) => (l(), A("li", {
2822
2835
  key: ae,
2823
2836
  class: j(["template-selector__item-template", { "template-selector__item-selected": X.isSelected }]),
2824
2837
  onClick: (te) => C(X)
@@ -2910,22 +2923,30 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
2910
2923
  };
2911
2924
  return ue(() => {
2912
2925
  s.value.style.display = "none";
2913
- }), (g, d) => (l(), A(P, null, [
2914
- k(a)().isRecording ? p("", !0) : (l(), A("button", {
2915
- key: 0,
2916
- ref_key: "templateButton",
2917
- ref: f,
2918
- class: j(["button-template", { "button-template-disabled": e.state == "disabled" }]),
2919
- onClick: i,
2920
- onMouseover: r,
2921
- onMouseout: c
2922
- }, [
2923
- o("span", Ll, [
2924
- Q(zl)
2925
- ])
2926
- ], 34)),
2926
+ }), (g, d) => (l(), A(q, null, [
2927
+ Q(Tt, {
2928
+ text: "Шаблоны сообщений",
2929
+ position: "left"
2930
+ }, {
2931
+ default: P(() => [
2932
+ k(a)().isRecording ? h("", !0) : (l(), A("button", {
2933
+ key: 0,
2934
+ ref_key: "templateButton",
2935
+ ref: f,
2936
+ class: j(["button-template", { "button-template-disabled": e.state == "disabled" }]),
2937
+ onClick: i,
2938
+ onMouseover: r,
2939
+ onMouseout: c
2940
+ }, [
2941
+ o("span", Ll, [
2942
+ Q(zl)
2943
+ ])
2944
+ ], 34))
2945
+ ]),
2946
+ _: 1
2947
+ }),
2927
2948
  Q(se, null, {
2928
- default: q(() => [
2949
+ default: P(() => [
2929
2950
  re(o("div", {
2930
2951
  ref_key: "template",
2931
2952
  ref: s,
@@ -2946,7 +2967,7 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
2946
2967
  })
2947
2968
  ], 64));
2948
2969
  }
2949
- }, Zg = /* @__PURE__ */ O(Ul, [["__scopeId", "data-v-82ac2632"]]), Bl = ["id"], Rl = {
2970
+ }, Zg = /* @__PURE__ */ O(Ul, [["__scopeId", "data-v-bd987f0e"]]), Bl = ["id"], Rl = {
2950
2971
  __name: "PlaceholderComponent",
2951
2972
  props: {
2952
2973
  index: {
@@ -3046,49 +3067,49 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3046
3067
  error: "Некорректный тип файла, выберите MP4 или MOV",
3047
3068
  icon: "pi pi-video"
3048
3069
  }
3049
- }, m = (v) => {
3050
- const _ = v.target.files[0];
3070
+ }, m = (y) => {
3071
+ const _ = y.target.files[0];
3051
3072
  if (_) {
3052
3073
  i.value = "";
3053
- const y = _.name.split(".");
3054
- if (d[n.type].accept.indexOf(y[y.length - 1]) == -1)
3074
+ const p = _.name.split(".");
3075
+ if (d[n.type].accept.indexOf(p[p.length - 1]) == -1)
3055
3076
  i.value = d[n.type].error;
3056
3077
  else if (_.size > d[n.type].maxSize)
3057
3078
  i.value = "Файл слишком большого размера";
3058
3079
  else if (!i.value) {
3059
3080
  f.value = _, r.value = "uploading";
3060
3081
  const E = k(a.value);
3061
- Tn(typeof E == "string" ? E : null, _).then((w) => {
3062
- r.value = w.status, w.status == "success" && (u("fileSelected", {
3063
- url: w.url,
3064
- filename: w.name,
3065
- filesize: w.size,
3066
- filetype: w.type
3067
- }), w.preview && (c.value = {
3068
- previewUrl: w.preview.previewUrl,
3069
- isImage: w.preview.isImage,
3070
- isVideo: w.preview.isVideo,
3071
- isAudio: w.preview.isAudio,
3072
- fileName: w.name,
3073
- fileSize: w.preview.fileSize
3082
+ Tn(typeof E == "string" ? E : null, _).then((I) => {
3083
+ r.value = I.status, I.status == "success" && (u("fileSelected", {
3084
+ url: I.url,
3085
+ filename: I.name,
3086
+ filesize: I.size,
3087
+ filetype: I.type
3088
+ }), I.preview && (c.value = {
3089
+ previewUrl: I.preview.previewUrl,
3090
+ isImage: I.preview.isImage,
3091
+ isVideo: I.preview.isVideo,
3092
+ isAudio: I.preview.isAudio,
3093
+ fileName: I.name,
3094
+ fileSize: I.preview.fileSize
3074
3095
  }));
3075
3096
  });
3076
3097
  }
3077
3098
  }
3078
- }, h = () => {
3099
+ }, v = () => {
3079
3100
  f.value && (f.value = null, r.value = "");
3080
3101
  };
3081
3102
  return ee(
3082
3103
  () => r.value,
3083
- (v) => {
3084
- v === "" && (s.value && (s.value.value = ""), f.value = null, u("fileSelected", null));
3104
+ (y) => {
3105
+ y === "" && (s.value && (s.value.value = ""), f.value = null, u("fileSelected", null));
3085
3106
  }
3086
3107
  ), ee(
3087
3108
  () => n.templateId,
3088
3109
  () => {
3089
3110
  r.value = "";
3090
3111
  }
3091
- ), (v, _) => (l(), A(P, null, [
3112
+ ), (y, _) => (l(), A(q, null, [
3092
3113
  r.value !== "success" ? (l(), A("div", {
3093
3114
  key: 0,
3094
3115
  class: j(["attachment-section", { "attachment-section__error": i.value }]),
@@ -3111,9 +3132,9 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3111
3132
  ], 2)) : r.value === "success" && c.value ? (l(), U(Dn, {
3112
3133
  key: 1,
3113
3134
  "file-info": c.value,
3114
- onReset: h
3115
- }, null, 8, ["file-info"])) : p("", !0),
3116
- i.value ? (l(), A("div", Fl, T(i.value), 1)) : p("", !0)
3135
+ onReset: v
3136
+ }, null, 8, ["file-info"])) : h("", !0),
3137
+ i.value ? (l(), A("div", Fl, T(i.value), 1)) : h("", !0)
3117
3138
  ], 64));
3118
3139
  }
3119
3140
  }), ql = /* @__PURE__ */ O(Pl, [["__scopeId", "data-v-f13db4f8"]]), Hl = { class: "quick-reply-buttons" }, Wl = ["onClick"], Kl = { class: "quick-reply-buttons__line" }, Jl = /* @__PURE__ */ F({
@@ -3134,7 +3155,7 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3134
3155
  i == 2 && a.buttons.length > 3 && n("selectAllVariants");
3135
3156
  };
3136
3157
  return (i, r) => (l(), A("div", Hl, [
3137
- (l(!0), A(P, null, ie(e.buttons.slice(0, 3), (c, u) => (l(), A("div", {
3158
+ (l(!0), A(q, null, ie(e.buttons.slice(0, 3), (c, u) => (l(), A("div", {
3138
3159
  key: u,
3139
3160
  class: "quick-reply-buttons__preview-action",
3140
3161
  onClick: (g) => s(u)
@@ -3173,7 +3194,7 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3173
3194
  })
3174
3195
  ]),
3175
3196
  o("div", e1, [
3176
- (l(!0), A(P, null, ie(e.buttons, (i, r) => (l(), A("div", {
3197
+ (l(!0), A(q, null, ie(e.buttons, (i, r) => (l(), A("div", {
3177
3198
  key: r,
3178
3199
  class: "separated-quick-buttons__action"
3179
3200
  }, [
@@ -3241,21 +3262,21 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3241
3262
  d.value ? (S.text = Qe.value, S.templateId = g.value.templateId, S.values = We.value, S.file = d.value) : (S.text = Qe.value, S.templateId = g.value.templateId, S.values = We.value), g.value.buttons && (S.buttons = g.value.buttons), f("sendWabaValues", S), pe();
3242
3263
  }, r = (S) => {
3243
3264
  d.value = S;
3244
- }, c = b(null), u = b(null), g = b(null), d = b(null), m = b(""), h = b(!1), v = () => {
3245
- h.value = !h.value, h.value ? (c.value.scrollTop = 0, c.value.style["overflow-y"] = "hidden") : c.value.style["overflow-y"] = "scroll";
3265
+ }, c = b(null), u = b(null), g = b(null), d = b(null), m = b(""), v = b(!1), y = () => {
3266
+ v.value = !v.value, v.value ? (c.value.scrollTop = 0, c.value.style["overflow-y"] = "hidden") : c.value.style["overflow-y"] = "scroll";
3246
3267
  }, _ = (S) => {
3247
- Object.keys(w).forEach((J) => {
3248
- w[J] = "";
3249
- }), d.value = null, n.wabaTemplates.forEach((J) => J.isSelected = !1), S.isSelected = !0, g.value = S, h.value = !1, ae();
3250
- }, y = () => {
3268
+ Object.keys(I).forEach((J) => {
3269
+ I[J] = "";
3270
+ }), d.value = null, n.wabaTemplates.forEach((J) => J.isSelected = !1), S.isSelected = !0, g.value = S, v.value = !1, ae();
3271
+ }, p = () => {
3251
3272
  te(), n.wabaTemplates.forEach((S) => S.isSelected = !1);
3252
3273
  }, N = Y(() => u.value ? n.wabaTemplates.filter((S) => S.groupId === u.value.groupId) : n.wabaTemplates), E = Y(() => {
3253
3274
  const S = m.value.trim().toLowerCase();
3254
3275
  return N.value.filter((J) => J.title.toLowerCase().includes(S) || J.template.toLowerCase().includes(S));
3255
- }), w = ff({}), D = b(null), M = b(), I = b(""), C = b(""), B = b(""), V = b(!1), $ = Y(() => !!(V.value && (B.value == "grid" && C.value == "none" || C.value == "grid" && I.value == "none"))), Z = Y(() => !!(V.value && (I.value == "grid" && C.value == "none" || C.value == "grid" && B.value == "none"))), z = () => {
3276
+ }), I = ff({}), D = b(null), M = b(), w = b(""), C = b(""), B = b(""), V = b(!1), $ = Y(() => !!(V.value && (B.value == "grid" && C.value == "none" || C.value == "grid" && w.value == "none"))), Z = Y(() => !!(V.value && (w.value == "grid" && C.value == "none" || C.value == "grid" && B.value == "none"))), z = () => {
3256
3277
  V.value && (C.value == "grid" ? X() : B.value == "grid" && te());
3257
3278
  }, L = () => {
3258
- V.value && (C.value == "grid" ? ae() : I.value == "grid" && te());
3279
+ V.value && (C.value == "grid" ? ae() : w.value == "grid" && te());
3259
3280
  }, X = () => {
3260
3281
  const S = document.getElementById("waba-template-selector-container-" + a);
3261
3282
  S.style.setProperty("--chotto-waba-template-first-col-display", "grid"), S.style.setProperty("--chotto-waba-template-second-col-display", "none"), console.log(S, window.getComputedStyle(S).getPropertyValue("--waba-template-first-col-display")), R();
@@ -3267,9 +3288,9 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3267
3288
  S.style.setProperty("--chotto-waba-template-second-col-display", "grid"), S.style.setProperty("--chotto-waba-template-first-col-display", "none"), S.style.setProperty("--chotto-waba-template-third-col-display", "none"), R();
3268
3289
  }, R = () => {
3269
3290
  const S = document.getElementById("waba-template-selector-container-" + a), J = window.getComputedStyle(S);
3270
- I.value = J.getPropertyValue("--chotto-waba-template-first-col-display"), C.value = J.getPropertyValue("--chotto-waba-template-second-col-display"), B.value = J.getPropertyValue("--chotto-waba-template-third-col-display");
3291
+ w.value = J.getPropertyValue("--chotto-waba-template-first-col-display"), C.value = J.getPropertyValue("--chotto-waba-template-second-col-display"), B.value = J.getPropertyValue("--chotto-waba-template-third-col-display");
3271
3292
  }, K = (S) => {
3272
- w[S[1]] = S[0];
3293
+ I[S[1]] = S[0];
3273
3294
  }, fe = Y(() => {
3274
3295
  var xe;
3275
3296
  const S = (xe = g.value) == null ? void 0 : xe.template;
@@ -3285,21 +3306,21 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3285
3306
  return !0;
3286
3307
  if (!((J = g.value) != null && J.template.match(/{{\d+}}/gi)))
3287
3308
  return !1;
3288
- const S = Object.keys(w).length !== ((H = g.value) == null ? void 0 : H.template.match(/{{\d+}}/gi).length);
3309
+ const S = Object.keys(I).length !== ((H = g.value) == null ? void 0 : H.template.match(/{{\d+}}/gi).length);
3289
3310
  return g.value.type === "TEXT" ? S : g.value.type !== "TEXT" ? S || !d.value : !1;
3290
3311
  }), pe = () => {
3291
- Object.keys(w).forEach((S) => {
3292
- w[S] = "";
3312
+ Object.keys(I).forEach((S) => {
3313
+ I[S] = "";
3293
3314
  }), d.value = null, g.value = null, n.wabaTemplates.forEach((S) => S.isSelected = !1);
3294
3315
  }, Qe = Y(() => {
3295
3316
  console.log(fe.value, g.value.buttons);
3296
- let S = fe.value.map((H) => typeof H == "string" ? H : w[H.index]).join(""), J = "";
3317
+ let S = fe.value.map((H) => typeof H == "string" ? H : I[H.index]).join(""), J = "";
3297
3318
  return g.value.buttons && (J = g.value.buttons.map((H) => `
3298
3319
  | [` + H.text + "]").join("")), S.concat(J);
3299
3320
  }), We = Y(() => {
3300
3321
  const S = [];
3301
- for (const J in w)
3302
- w[J] !== "" && w[J] !== "Заполнить" && S.push(w[J]);
3322
+ for (const J in I)
3323
+ I[J] !== "" && I[J] !== "Заполнить" && S.push(I[J]);
3303
3324
  return S;
3304
3325
  }), $e = new ResizeObserver((S) => {
3305
3326
  const J = S[0].target.clientWidth;
@@ -3324,13 +3345,13 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3324
3345
  class: "pi pi-arrow-left",
3325
3346
  onClick: z
3326
3347
  })
3327
- ])) : p("", !0),
3348
+ ])) : h("", !0),
3328
3349
  Z.value ? (l(), A("button", l1, [
3329
3350
  o("span", {
3330
3351
  class: "pi pi-arrow-right",
3331
3352
  onClick: L
3332
3353
  })
3333
- ])) : p("", !0)
3354
+ ])) : h("", !0)
3334
3355
  ]),
3335
3356
  o("button", { class: "template-selector__button-close" }, [
3336
3357
  o("span", {
@@ -3342,10 +3363,10 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3342
3363
  o("div", r1, [
3343
3364
  o("div", c1, [
3344
3365
  o("ul", A1, [
3345
- (l(!0), A(P, null, ie(e.groupTemplates, (H, le) => (l(), A("li", {
3366
+ (l(!0), A(q, null, ie(e.groupTemplates, (H, le) => (l(), A("li", {
3346
3367
  key: le,
3347
3368
  class: j(["template-selector__item-group", { "template-selector__item-selected": u.value === H }]),
3348
- onClick: y
3369
+ onClick: p
3349
3370
  }, [
3350
3371
  o("label", u1, [
3351
3372
  H.iconUrl ? (l(), A("img", {
@@ -3353,7 +3374,7 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3353
3374
  class: "template-selector__item-group-icon",
3354
3375
  src: H.iconUrl,
3355
3376
  alt: H.title
3356
- }, null, 8, d1)) : p("", !0),
3377
+ }, null, 8, d1)) : h("", !0),
3357
3378
  re(o("input", {
3358
3379
  id: le,
3359
3380
  "onUpdate:modelValue": J[0] || (J[0] = (xe) => u.value = xe),
@@ -3381,7 +3402,7 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3381
3402
  ]),
3382
3403
  o("div", h1, [
3383
3404
  E.value.length !== 0 ? (l(), A("ul", v1, [
3384
- (l(!0), A(P, null, ie(E.value, (H, le) => (l(), A("li", {
3405
+ (l(!0), A(q, null, ie(E.value, (H, le) => (l(), A("li", {
3385
3406
  key: le,
3386
3407
  class: j(["template-selector__item-template", { "template-selector__item-selected": H.isSelected }]),
3387
3408
  onClick: (xe) => _(H)
@@ -3407,37 +3428,37 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3407
3428
  type: g.value.type,
3408
3429
  "template-id": g.value.templateId,
3409
3430
  onFileSelected: r
3410
- }, null, 8, ["type", "template-id"])) : p("", !0),
3431
+ }, null, 8, ["type", "template-id"])) : h("", !0),
3411
3432
  o("div", D1, [
3412
- (l(!0), A(P, null, ie(fe.value, (H, le) => (l(), A(P, { key: le }, [
3433
+ (l(!0), A(q, null, ie(fe.value, (H, le) => (l(), A(q, { key: le }, [
3413
3434
  typeof H == "string" ? (l(), A("span", T1, T(H), 1)) : typeof H == "object" ? (l(), U(Ql, {
3414
3435
  key: 1,
3415
3436
  index: H.index,
3416
- value: w[H.index] || "Заполнить",
3417
- "is-filled": !!w[H.index],
3437
+ value: I[H.index] || "Заполнить",
3438
+ "is-filled": !!I[H.index],
3418
3439
  onClick: (xe) => D.value = H.index,
3419
3440
  onEdit: K
3420
- }, null, 8, ["index", "value", "is-filled", "onClick"])) : p("", !0)
3441
+ }, null, 8, ["index", "value", "is-filled", "onClick"])) : h("", !0)
3421
3442
  ], 64))), 128))
3422
3443
  ]),
3423
3444
  J[2] || (J[2] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1)),
3424
3445
  g.value.buttons ? (l(), U(Zl, {
3425
3446
  key: 1,
3426
3447
  buttons: g.value.buttons,
3427
- onSelectAllVariants: v
3428
- }, null, 8, ["buttons"])) : p("", !0)
3448
+ onSelectAllVariants: y
3449
+ }, null, 8, ["buttons"])) : h("", !0)
3429
3450
  ])
3430
3451
  ])) : (l(), A("p", E1, " Предпросмотр шаблона ")),
3431
- h.value ? (l(), A("div", C1, [
3452
+ v.value ? (l(), A("div", C1, [
3432
3453
  o("div", {
3433
3454
  class: "template-selector__semitransparent-overlay",
3434
- onClick: v
3455
+ onClick: y
3435
3456
  }),
3436
3457
  Q(n1, {
3437
3458
  buttons: g.value.buttons,
3438
- onSelectAllVariants: v
3459
+ onSelectAllVariants: y
3439
3460
  }, null, 8, ["buttons"])
3440
- ])) : p("", !0)
3461
+ ])) : h("", !0)
3441
3462
  ], 512),
3442
3463
  o("button", {
3443
3464
  class: "template-selector__button-paste",
@@ -3496,11 +3517,11 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3496
3517
  ue(() => {
3497
3518
  i.value.style.display = "none";
3498
3519
  });
3499
- const m = (h) => {
3500
- r("sendWabaValues", h);
3520
+ const m = (v) => {
3521
+ r("sendWabaValues", v);
3501
3522
  };
3502
- return (h, v) => (l(), A(P, null, [
3503
- k(f)().isRecording ? p("", !0) : (l(), A("button", {
3523
+ return (v, y) => (l(), A(q, null, [
3524
+ k(f)().isRecording ? h("", !0) : (l(), A("button", {
3504
3525
  key: 0,
3505
3526
  ref_key: "templateButton",
3506
3527
  ref: s,
@@ -3508,7 +3529,7 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3508
3529
  onClick: c,
3509
3530
  onMouseover: u,
3510
3531
  onMouseout: g
3511
- }, v[0] || (v[0] = [
3532
+ }, y[0] || (y[0] = [
3512
3533
  o("span", { class: "pi pi-code" }, null, -1)
3513
3534
  ]), 34)),
3514
3535
  o("div", {
@@ -3537,10 +3558,10 @@ const zl = /* @__PURE__ */ O(Vl, [["render", Ol]]), Ll = { class: "" }, Ul = {
3537
3558
  objects: "Objects",
3538
3559
  symbols: "Symbols",
3539
3560
  flags: "Flags"
3540
- }, _f = "u", Cn = "n", $t = "v", Tt = "r", O1 = {
3561
+ }, _f = "u", Cn = "n", Yt = "v", Et = "r", O1 = {
3541
3562
  [Cn]: ["grinning face", "grinning"],
3542
3563
  [_f]: "1f600",
3543
- [Tt]: "1f600"
3564
+ [Et]: "1f600"
3544
3565
  }, In = "neutral", z1 = "1f3fb", L1 = "1f3fc", U1 = "1f3fd", B1 = "1f3fe", R1 = "1f3ff", Q1 = [
3545
3566
  In,
3546
3567
  z1,
@@ -15758,11 +15779,11 @@ function ur() {
15758
15779
  const g = (d) => {
15759
15780
  if (e.options.displayRecent !== !0)
15760
15781
  return;
15761
- const m = e.recent.findIndex((v) => v.u === d.u);
15782
+ const m = e.recent.findIndex((y) => y.u === d.u);
15762
15783
  if (m > 0 && e.recent.splice(m, 1), m === 0)
15763
15784
  return;
15764
- const h = { u: d.u, n: sf(d.n) };
15765
- e.recent = [h, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), u();
15785
+ const v = { u: d.u, n: sf(d.n) };
15786
+ e.recent = [v, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), u();
15766
15787
  };
15767
15788
  return {
15768
15789
  state: qf(e),
@@ -15774,10 +15795,10 @@ function ur() {
15774
15795
  updateSelect: g
15775
15796
  };
15776
15797
  }
15777
- var ge = "top", we = "bottom", ke = "right", me = "left", pa = "auto", jt = [ge, we, ke, me], nt = "start", Et = "end", dr = "clippingParents", kf = "viewport", gt = "popper", gr = "reference", Fa = /* @__PURE__ */ jt.reduce(function(e, t) {
15778
- return e.concat([t + "-" + nt, t + "-" + Et]);
15779
- }, []), Nf = /* @__PURE__ */ [].concat(jt, [pa]).reduce(function(e, t) {
15780
- return e.concat([t, t + "-" + nt, t + "-" + Et]);
15798
+ var ge = "top", we = "bottom", ke = "right", me = "left", pa = "auto", Vt = [ge, we, ke, me], nt = "start", Ct = "end", dr = "clippingParents", kf = "viewport", gt = "popper", gr = "reference", Fa = /* @__PURE__ */ Vt.reduce(function(e, t) {
15799
+ return e.concat([t + "-" + nt, t + "-" + Ct]);
15800
+ }, []), Nf = /* @__PURE__ */ [].concat(Vt, [pa]).reduce(function(e, t) {
15801
+ return e.concat([t, t + "-" + nt, t + "-" + Ct]);
15781
15802
  }, []), mr = "beforeRead", pr = "read", hr = "afterRead", vr = "beforeMain", yr = "main", br = "afterMain", Mr = "beforeWrite", _r = "write", Ir = "afterWrite", wr = [mr, pr, hr, vr, yr, br, Mr, _r, Ir];
15782
15803
  function ze(e) {
15783
15804
  return e ? (e.nodeName || "").toLowerCase() : null;
@@ -15922,7 +15943,7 @@ function Er(e) {
15922
15943
  }
15923
15944
  return null;
15924
15945
  }
15925
- function Vt(e) {
15946
+ function St(e) {
15926
15947
  for (var t = Ce(e), n = Pa(e); n && Tr(n) && Le(n).position === "static"; )
15927
15948
  n = Pa(n);
15928
15949
  return n && (ze(n) === "html" || ze(n) === "body" && Le(n).position === "static") ? t : n || Er(e) || t;
@@ -15956,13 +15977,13 @@ function xf(e, t) {
15956
15977
  var xr = function(t, n) {
15957
15978
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
15958
15979
  placement: n.placement
15959
- })) : t, Cf(typeof t != "number" ? t : xf(t, jt));
15980
+ })) : t, Cf(typeof t != "number" ? t : xf(t, Vt));
15960
15981
  };
15961
15982
  function jr(e) {
15962
15983
  var t, n = e.state, a = e.name, f = e.options, s = n.elements.arrow, i = n.modifiersData.popperOffsets, r = Se(n.placement), c = va(r), u = [me, ke].indexOf(r) >= 0, g = u ? "height" : "width";
15963
15984
  if (!(!s || !i)) {
15964
- var d = xr(f.padding, n), m = ha(s), h = c === "y" ? ge : me, v = c === "y" ? we : ke, _ = n.rects.reference[g] + n.rects.reference[c] - i[c] - n.rects.popper[g], y = i[c] - n.rects.reference[c], N = Vt(s), E = N ? c === "y" ? N.clientHeight || 0 : N.clientWidth || 0 : 0, w = _ / 2 - y / 2, D = d[h], M = E - m[g] - d[v], I = E / 2 - m[g] / 2 + w, C = It(D, I, M), B = c;
15965
- n.modifiersData[a] = (t = {}, t[B] = C, t.centerOffset = C - I, t);
15985
+ var d = xr(f.padding, n), m = ha(s), v = c === "y" ? ge : me, y = c === "y" ? we : ke, _ = n.rects.reference[g] + n.rects.reference[c] - i[c] - n.rects.popper[g], p = i[c] - n.rects.reference[c], N = St(s), E = N ? c === "y" ? N.clientHeight || 0 : N.clientWidth || 0 : 0, I = _ / 2 - p / 2, D = d[v], M = E - m[g] - d[y], w = E / 2 - m[g] / 2 + I, C = It(D, w, M), B = c;
15986
+ n.modifiersData[a] = (t = {}, t[B] = C, t.centerOffset = C - w, t);
15966
15987
  }
15967
15988
  }
15968
15989
  function Vr(e) {
@@ -15995,18 +16016,18 @@ function zr(e) {
15995
16016
  };
15996
16017
  }
15997
16018
  function qa(e) {
15998
- var t, n = e.popper, a = e.popperRect, f = e.placement, s = e.variation, i = e.offsets, r = e.position, c = e.gpuAcceleration, u = e.adaptive, g = e.roundOffsets, d = e.isFixed, m = g === !0 ? zr(i) : typeof g == "function" ? g(i) : i, h = m.x, v = h === void 0 ? 0 : h, _ = m.y, y = _ === void 0 ? 0 : _, N = i.hasOwnProperty("x"), E = i.hasOwnProperty("y"), w = me, D = ge, M = window;
16019
+ var t, n = e.popper, a = e.popperRect, f = e.placement, s = e.variation, i = e.offsets, r = e.position, c = e.gpuAcceleration, u = e.adaptive, g = e.roundOffsets, d = e.isFixed, m = g === !0 ? zr(i) : typeof g == "function" ? g(i) : i, v = m.x, y = v === void 0 ? 0 : v, _ = m.y, p = _ === void 0 ? 0 : _, N = i.hasOwnProperty("x"), E = i.hasOwnProperty("y"), I = me, D = ge, M = window;
15999
16020
  if (u) {
16000
- var I = Vt(n), C = "clientHeight", B = "clientWidth";
16001
- if (I === Ce(n) && (I = He(n), Le(I).position !== "static" && r === "absolute" && (C = "scrollHeight", B = "scrollWidth")), I = I, f === ge || (f === me || f === ke) && s === Et) {
16021
+ var w = St(n), C = "clientHeight", B = "clientWidth";
16022
+ if (w === Ce(n) && (w = He(n), Le(w).position !== "static" && r === "absolute" && (C = "scrollHeight", B = "scrollWidth")), w = w, f === ge || (f === me || f === ke) && s === Ct) {
16002
16023
  D = we;
16003
- var V = d && M.visualViewport ? M.visualViewport.height : I[C];
16004
- y -= V - a.height, y *= c ? 1 : -1;
16024
+ var V = d && M.visualViewport ? M.visualViewport.height : w[C];
16025
+ p -= V - a.height, p *= c ? 1 : -1;
16005
16026
  }
16006
- if (f === me || (f === ge || f === we) && s === Et) {
16007
- w = ke;
16008
- var $ = d && M.visualViewport ? M.visualViewport.width : I[B];
16009
- v -= $ - a.width, v *= c ? 1 : -1;
16027
+ if (f === me || (f === ge || f === we) && s === Ct) {
16028
+ I = ke;
16029
+ var $ = d && M.visualViewport ? M.visualViewport.width : w[B];
16030
+ y -= $ - a.width, y *= c ? 1 : -1;
16010
16031
  }
16011
16032
  }
16012
16033
  var Z = Object.assign({
@@ -16014,9 +16035,9 @@ function qa(e) {
16014
16035
  }, u && Or);
16015
16036
  if (c) {
16016
16037
  var z;
16017
- return Object.assign({}, Z, (z = {}, z[D] = E ? "0" : "", z[w] = N ? "0" : "", z.transform = (M.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + y + "px)" : "translate3d(" + v + "px, " + y + "px, 0)", z));
16038
+ return Object.assign({}, Z, (z = {}, z[D] = E ? "0" : "", z[I] = N ? "0" : "", z.transform = (M.devicePixelRatio || 1) <= 1 ? "translate(" + y + "px, " + p + "px)" : "translate3d(" + y + "px, " + p + "px, 0)", z));
16018
16039
  }
16019
- return Object.assign({}, Z, (t = {}, t[D] = E ? y + "px" : "", t[w] = N ? v + "px" : "", t.transform = "", t));
16040
+ return Object.assign({}, Z, (t = {}, t[D] = E ? p + "px" : "", t[I] = N ? y + "px" : "", t.transform = "", t));
16020
16041
  }
16021
16042
  function Lr(e) {
16022
16043
  var t = e.state, n = e.options, a = n.gpuAcceleration, f = a === void 0 ? !0 : a, s = n.adaptive, i = s === void 0 ? !0 : s, r = n.roundOffsets, c = r === void 0 ? !0 : r, u = {
@@ -16047,17 +16068,17 @@ var Ur = {
16047
16068
  phase: "beforeWrite",
16048
16069
  fn: Lr,
16049
16070
  data: {}
16050
- }, Yt = {
16071
+ }, Ft = {
16051
16072
  passive: !0
16052
16073
  };
16053
16074
  function Br(e) {
16054
16075
  var t = e.state, n = e.instance, a = e.options, f = a.scroll, s = f === void 0 ? !0 : f, i = a.resize, r = i === void 0 ? !0 : i, c = Ce(t.elements.popper), u = [].concat(t.scrollParents.reference, t.scrollParents.popper);
16055
16076
  return s && u.forEach(function(g) {
16056
- g.addEventListener("scroll", n.update, Yt);
16057
- }), r && c.addEventListener("resize", n.update, Yt), function() {
16077
+ g.addEventListener("scroll", n.update, Ft);
16078
+ }), r && c.addEventListener("resize", n.update, Ft), function() {
16058
16079
  s && u.forEach(function(g) {
16059
- g.removeEventListener("scroll", n.update, Yt);
16060
- }), r && c.removeEventListener("resize", n.update, Yt);
16080
+ g.removeEventListener("scroll", n.update, Ft);
16081
+ }), r && c.removeEventListener("resize", n.update, Ft);
16061
16082
  };
16062
16083
  }
16063
16084
  var Rr = {
@@ -16074,7 +16095,7 @@ var Rr = {
16074
16095
  bottom: "top",
16075
16096
  top: "bottom"
16076
16097
  };
16077
- function qt(e) {
16098
+ function Ht(e) {
16078
16099
  return e.replace(/left|right|bottom|top/g, function(t) {
16079
16100
  return Qr[t];
16080
16101
  });
@@ -16145,7 +16166,7 @@ function Wa(e, t) {
16145
16166
  return t === kf ? ta(Yr(e)) : at(t) ? Pr(t) : ta(Fr(He(e)));
16146
16167
  }
16147
16168
  function qr(e) {
16148
- var t = wt(xn(e)), n = ["absolute", "fixed"].indexOf(Le(e).position) >= 0, a = n && Ie(e) ? Vt(e) : e;
16169
+ var t = wt(xn(e)), n = ["absolute", "fixed"].indexOf(Le(e).position) >= 0, a = n && Ie(e) ? St(e) : e;
16149
16170
  return at(a) ? t.filter(function(f) {
16150
16171
  return at(f) && Tf(f, a) && ze(f) !== "body" && (n ? Le(f).position !== "static" : !0);
16151
16172
  }) : [];
@@ -16197,24 +16218,24 @@ function Vf(e) {
16197
16218
  case nt:
16198
16219
  c[u] = c[u] - (t[g] / 2 - n[g] / 2);
16199
16220
  break;
16200
- case Et:
16221
+ case Ct:
16201
16222
  c[u] = c[u] + (t[g] / 2 - n[g] / 2);
16202
16223
  break;
16203
16224
  }
16204
16225
  }
16205
16226
  return c;
16206
16227
  }
16207
- function Ct(e, t) {
16228
+ function xt(e, t) {
16208
16229
  t === void 0 && (t = {});
16209
- var n = t, a = n.placement, f = a === void 0 ? e.placement : a, s = n.boundary, i = s === void 0 ? dr : s, r = n.rootBoundary, c = r === void 0 ? kf : r, u = n.elementContext, g = u === void 0 ? gt : u, d = n.altBoundary, m = d === void 0 ? !1 : d, h = n.padding, v = h === void 0 ? 0 : h, _ = Cf(typeof v != "number" ? v : xf(v, jt)), y = g === gt ? gr : gt, N = e.rects.popper, E = e.elements[m ? y : g], w = Hr(at(E) ? E : E.contextElement || He(e.elements.popper), i, c), D = st(e.elements.reference), M = Vf({
16230
+ var n = t, a = n.placement, f = a === void 0 ? e.placement : a, s = n.boundary, i = s === void 0 ? dr : s, r = n.rootBoundary, c = r === void 0 ? kf : r, u = n.elementContext, g = u === void 0 ? gt : u, d = n.altBoundary, m = d === void 0 ? !1 : d, v = n.padding, y = v === void 0 ? 0 : v, _ = Cf(typeof y != "number" ? y : xf(y, Vt)), p = g === gt ? gr : gt, N = e.rects.popper, E = e.elements[m ? p : g], I = Hr(at(E) ? E : E.contextElement || He(e.elements.popper), i, c), D = st(e.elements.reference), M = Vf({
16210
16231
  reference: D,
16211
16232
  element: N,
16212
16233
  placement: f
16213
- }), I = ta(Object.assign({}, N, M)), C = g === gt ? I : D, B = {
16214
- top: w.top - C.top + _.top,
16215
- bottom: C.bottom - w.bottom + _.bottom,
16216
- left: w.left - C.left + _.left,
16217
- right: C.right - w.right + _.right
16234
+ }), w = ta(Object.assign({}, N, M)), C = g === gt ? w : D, B = {
16235
+ top: I.top - C.top + _.top,
16236
+ bottom: C.bottom - I.bottom + _.bottom,
16237
+ left: I.left - C.left + _.left,
16238
+ right: C.right - I.right + _.right
16218
16239
  }, V = e.modifiersData.offset;
16219
16240
  if (g === gt && V) {
16220
16241
  var $ = V[f];
@@ -16227,52 +16248,52 @@ function Ct(e, t) {
16227
16248
  }
16228
16249
  function Wr(e, t) {
16229
16250
  t === void 0 && (t = {});
16230
- var n = t, a = n.placement, f = n.boundary, s = n.rootBoundary, i = n.padding, r = n.flipVariations, c = n.allowedAutoPlacements, u = c === void 0 ? Nf : c, g = it(a), d = g ? r ? Fa : Fa.filter(function(v) {
16231
- return it(v) === g;
16232
- }) : jt, m = d.filter(function(v) {
16233
- return u.indexOf(v) >= 0;
16251
+ var n = t, a = n.placement, f = n.boundary, s = n.rootBoundary, i = n.padding, r = n.flipVariations, c = n.allowedAutoPlacements, u = c === void 0 ? Nf : c, g = it(a), d = g ? r ? Fa : Fa.filter(function(y) {
16252
+ return it(y) === g;
16253
+ }) : Vt, m = d.filter(function(y) {
16254
+ return u.indexOf(y) >= 0;
16234
16255
  });
16235
16256
  m.length === 0 && (m = d);
16236
- var h = m.reduce(function(v, _) {
16237
- return v[_] = Ct(e, {
16257
+ var v = m.reduce(function(y, _) {
16258
+ return y[_] = xt(e, {
16238
16259
  placement: _,
16239
16260
  boundary: f,
16240
16261
  rootBoundary: s,
16241
16262
  padding: i
16242
- })[Se(_)], v;
16263
+ })[Se(_)], y;
16243
16264
  }, {});
16244
- return Object.keys(h).sort(function(v, _) {
16245
- return h[v] - h[_];
16265
+ return Object.keys(v).sort(function(y, _) {
16266
+ return v[y] - v[_];
16246
16267
  });
16247
16268
  }
16248
16269
  function Kr(e) {
16249
16270
  if (Se(e) === pa)
16250
16271
  return [];
16251
- var t = qt(e);
16272
+ var t = Ht(e);
16252
16273
  return [Ha(e), t, Ha(t)];
16253
16274
  }
16254
16275
  function Jr(e) {
16255
16276
  var t = e.state, n = e.options, a = e.name;
16256
16277
  if (!t.modifiersData[a]._skip) {
16257
- for (var f = n.mainAxis, s = f === void 0 ? !0 : f, i = n.altAxis, r = i === void 0 ? !0 : i, c = n.fallbackPlacements, u = n.padding, g = n.boundary, d = n.rootBoundary, m = n.altBoundary, h = n.flipVariations, v = h === void 0 ? !0 : h, _ = n.allowedAutoPlacements, y = t.options.placement, N = Se(y), E = N === y, w = c || (E || !v ? [qt(y)] : Kr(y)), D = [y].concat(w).reduce(function($e, S) {
16278
+ for (var f = n.mainAxis, s = f === void 0 ? !0 : f, i = n.altAxis, r = i === void 0 ? !0 : i, c = n.fallbackPlacements, u = n.padding, g = n.boundary, d = n.rootBoundary, m = n.altBoundary, v = n.flipVariations, y = v === void 0 ? !0 : v, _ = n.allowedAutoPlacements, p = t.options.placement, N = Se(p), E = N === p, I = c || (E || !y ? [Ht(p)] : Kr(p)), D = [p].concat(I).reduce(function($e, S) {
16258
16279
  return $e.concat(Se(S) === pa ? Wr(t, {
16259
16280
  placement: S,
16260
16281
  boundary: g,
16261
16282
  rootBoundary: d,
16262
16283
  padding: u,
16263
- flipVariations: v,
16284
+ flipVariations: y,
16264
16285
  allowedAutoPlacements: _
16265
16286
  }) : S);
16266
- }, []), M = t.rects.reference, I = t.rects.popper, C = /* @__PURE__ */ new Map(), B = !0, V = D[0], $ = 0; $ < D.length; $++) {
16267
- var Z = D[$], z = Se(Z), L = it(Z) === nt, X = [ge, we].indexOf(z) >= 0, ae = X ? "width" : "height", te = Ct(t, {
16287
+ }, []), M = t.rects.reference, w = t.rects.popper, C = /* @__PURE__ */ new Map(), B = !0, V = D[0], $ = 0; $ < D.length; $++) {
16288
+ var Z = D[$], z = Se(Z), L = it(Z) === nt, X = [ge, we].indexOf(z) >= 0, ae = X ? "width" : "height", te = xt(t, {
16268
16289
  placement: Z,
16269
16290
  boundary: g,
16270
16291
  rootBoundary: d,
16271
16292
  altBoundary: m,
16272
16293
  padding: u
16273
16294
  }), R = X ? L ? ke : me : L ? we : ge;
16274
- M[ae] > I[ae] && (R = qt(R));
16275
- var K = qt(R), fe = [];
16295
+ M[ae] > w[ae] && (R = Ht(R));
16296
+ var K = Ht(R), fe = [];
16276
16297
  if (s && fe.push(te[z] <= 0), r && fe.push(te[R] <= 0, te[K] <= 0), fe.every(function($e) {
16277
16298
  return $e;
16278
16299
  })) {
@@ -16282,7 +16303,7 @@ function Jr(e) {
16282
16303
  C.set(Z, fe);
16283
16304
  }
16284
16305
  if (B)
16285
- for (var de = v ? 3 : 1, pe = function(S) {
16306
+ for (var de = y ? 3 : 1, pe = function(S) {
16286
16307
  var J = D.find(function(H) {
16287
16308
  var le = C.get(H);
16288
16309
  if (le)
@@ -16327,9 +16348,9 @@ function Ja(e) {
16327
16348
  });
16328
16349
  }
16329
16350
  function Gr(e) {
16330
- var t = e.state, n = e.name, a = t.rects.reference, f = t.rects.popper, s = t.modifiersData.preventOverflow, i = Ct(t, {
16351
+ var t = e.state, n = e.name, a = t.rects.reference, f = t.rects.popper, s = t.modifiersData.preventOverflow, i = xt(t, {
16331
16352
  elementContext: "reference"
16332
- }), r = Ct(t, {
16353
+ }), r = xt(t, {
16333
16354
  altBoundary: !0
16334
16355
  }), c = Ka(i, a), u = Ka(r, f, s), g = Ja(c), d = Ja(u);
16335
16356
  t.modifiersData[n] = {
@@ -16393,12 +16414,12 @@ function sc(e) {
16393
16414
  return e === "x" ? "y" : "x";
16394
16415
  }
16395
16416
  function ic(e) {
16396
- var t = e.state, n = e.options, a = e.name, f = n.mainAxis, s = f === void 0 ? !0 : f, i = n.altAxis, r = i === void 0 ? !1 : i, c = n.boundary, u = n.rootBoundary, g = n.altBoundary, d = n.padding, m = n.tether, h = m === void 0 ? !0 : m, v = n.tetherOffset, _ = v === void 0 ? 0 : v, y = Ct(t, {
16417
+ var t = e.state, n = e.options, a = e.name, f = n.mainAxis, s = f === void 0 ? !0 : f, i = n.altAxis, r = i === void 0 ? !1 : i, c = n.boundary, u = n.rootBoundary, g = n.altBoundary, d = n.padding, m = n.tether, v = m === void 0 ? !0 : m, y = n.tetherOffset, _ = y === void 0 ? 0 : y, p = xt(t, {
16397
16418
  boundary: c,
16398
16419
  rootBoundary: u,
16399
16420
  padding: d,
16400
16421
  altBoundary: g
16401
- }), N = Se(t.placement), E = it(t.placement), w = !E, D = va(N), M = sc(D), I = t.modifiersData.popperOffsets, C = t.rects.reference, B = t.rects.popper, V = typeof _ == "function" ? _(Object.assign({}, t.rects, {
16422
+ }), N = Se(t.placement), E = it(t.placement), I = !E, D = va(N), M = sc(D), w = t.modifiersData.popperOffsets, C = t.rects.reference, B = t.rects.popper, V = typeof _ == "function" ? _(Object.assign({}, t.rects, {
16402
16423
  placement: t.placement
16403
16424
  })) : _, $ = typeof V == "number" ? {
16404
16425
  mainAxis: V,
@@ -16410,17 +16431,17 @@ function ic(e) {
16410
16431
  x: 0,
16411
16432
  y: 0
16412
16433
  };
16413
- if (I) {
16434
+ if (w) {
16414
16435
  if (s) {
16415
- var L, X = D === "y" ? ge : me, ae = D === "y" ? we : ke, te = D === "y" ? "height" : "width", R = I[D], K = R + y[X], fe = R - y[ae], de = h ? -B[te] / 2 : 0, pe = E === nt ? C[te] : B[te], Qe = E === nt ? -B[te] : -C[te], We = t.elements.arrow, $e = h && We ? ha(We) : {
16436
+ var L, X = D === "y" ? ge : me, ae = D === "y" ? we : ke, te = D === "y" ? "height" : "width", R = w[D], K = R + p[X], fe = R - p[ae], de = v ? -B[te] / 2 : 0, pe = E === nt ? C[te] : B[te], Qe = E === nt ? -B[te] : -C[te], We = t.elements.arrow, $e = v && We ? ha(We) : {
16416
16437
  width: 0,
16417
16438
  height: 0
16418
- }, S = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ef(), J = S[X], H = S[ae], le = It(0, C[te], $e[te]), xe = w ? C[te] / 2 - de - le - J - $.mainAxis : pe - le - J - $.mainAxis, Ke = w ? -C[te] / 2 + de + le + H + $.mainAxis : Qe + le + H + $.mainAxis, jn = t.elements.arrow && Vt(t.elements.arrow), Uf = jn ? D === "y" ? jn.clientTop || 0 : jn.clientLeft || 0 : 0, Ia = (L = Z == null ? void 0 : Z[D]) != null ? L : 0, Bf = R + xe - Ia - Uf, Rf = R + Ke - Ia, wa = It(h ? wn(K, Bf) : K, R, h ? Ge(fe, Rf) : fe);
16419
- I[D] = wa, z[D] = wa - R;
16439
+ }, S = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ef(), J = S[X], H = S[ae], le = It(0, C[te], $e[te]), xe = I ? C[te] / 2 - de - le - J - $.mainAxis : pe - le - J - $.mainAxis, Ke = I ? -C[te] / 2 + de + le + H + $.mainAxis : Qe + le + H + $.mainAxis, jn = t.elements.arrow && St(t.elements.arrow), Uf = jn ? D === "y" ? jn.clientTop || 0 : jn.clientLeft || 0 : 0, Ia = (L = Z == null ? void 0 : Z[D]) != null ? L : 0, Bf = R + xe - Ia - Uf, Rf = R + Ke - Ia, wa = It(v ? wn(K, Bf) : K, R, v ? Ge(fe, Rf) : fe);
16440
+ w[D] = wa, z[D] = wa - R;
16420
16441
  }
16421
16442
  if (r) {
16422
- var ka, Qf = D === "x" ? ge : me, $f = D === "x" ? we : ke, Je = I[M], Ut = M === "y" ? "height" : "width", Na = Je + y[Qf], Da = Je - y[$f], Vn = [ge, me].indexOf(N) !== -1, Ta = (ka = Z == null ? void 0 : Z[M]) != null ? ka : 0, Ea = Vn ? Na : Je - C[Ut] - B[Ut] - Ta + $.altAxis, Ca = Vn ? Je + C[Ut] + B[Ut] - Ta - $.altAxis : Da, xa = h && Vn ? Cr(Ea, Je, Ca) : It(h ? Ea : Na, Je, h ? Ca : Da);
16423
- I[M] = xa, z[M] = xa - Je;
16443
+ var ka, Qf = D === "x" ? ge : me, $f = D === "x" ? we : ke, Je = w[M], Bt = M === "y" ? "height" : "width", Na = Je + p[Qf], Da = Je - p[$f], Vn = [ge, me].indexOf(N) !== -1, Ta = (ka = Z == null ? void 0 : Z[M]) != null ? ka : 0, Ea = Vn ? Na : Je - C[Bt] - B[Bt] - Ta + $.altAxis, Ca = Vn ? Je + C[Bt] + B[Bt] - Ta - $.altAxis : Da, xa = v && Vn ? Cr(Ea, Je, Ca) : It(v ? Ea : Na, Je, v ? Ca : Da);
16444
+ w[M] = xa, z[M] = xa - Je;
16424
16445
  }
16425
16446
  t.modifiersData[a] = z;
16426
16447
  }
@@ -16538,7 +16559,7 @@ function pc(e) {
16538
16559
  },
16539
16560
  attributes: {},
16540
16561
  styles: {}
16541
- }, d = [], m = !1, h = {
16562
+ }, d = [], m = !1, v = {
16542
16563
  state: g,
16543
16564
  setOptions: function(N) {
16544
16565
  var E = typeof N == "function" ? N(g.options) : N;
@@ -16546,18 +16567,18 @@ function pc(e) {
16546
16567
  reference: at(r) ? wt(r) : r.contextElement ? wt(r.contextElement) : [],
16547
16568
  popper: wt(c)
16548
16569
  };
16549
- var w = dc(mc([].concat(a, g.options.modifiers)));
16550
- return g.orderedModifiers = w.filter(function(D) {
16570
+ var I = dc(mc([].concat(a, g.options.modifiers)));
16571
+ return g.orderedModifiers = I.filter(function(D) {
16551
16572
  return D.enabled;
16552
- }), v(), h.update();
16573
+ }), y(), v.update();
16553
16574
  },
16554
16575
  forceUpdate: function() {
16555
16576
  if (!m) {
16556
- var N = g.elements, E = N.reference, w = N.popper;
16557
- if (Ga(E, w)) {
16577
+ var N = g.elements, E = N.reference, I = N.popper;
16578
+ if (Ga(E, I)) {
16558
16579
  g.rects = {
16559
- reference: Ac(E, Vt(w), g.options.strategy === "fixed"),
16560
- popper: ha(w)
16580
+ reference: Ac(E, St(I), g.options.strategy === "fixed"),
16581
+ popper: ha(I)
16561
16582
  }, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function($) {
16562
16583
  return g.modifiersData[$.name] = Object.assign({}, $.data);
16563
16584
  });
@@ -16566,20 +16587,20 @@ function pc(e) {
16566
16587
  g.reset = !1, D = -1;
16567
16588
  continue;
16568
16589
  }
16569
- var M = g.orderedModifiers[D], I = M.fn, C = M.options, B = C === void 0 ? {} : C, V = M.name;
16570
- typeof I == "function" && (g = I({
16590
+ var M = g.orderedModifiers[D], w = M.fn, C = M.options, B = C === void 0 ? {} : C, V = M.name;
16591
+ typeof w == "function" && (g = w({
16571
16592
  state: g,
16572
16593
  options: B,
16573
16594
  name: V,
16574
- instance: h
16595
+ instance: v
16575
16596
  }) || g);
16576
16597
  }
16577
16598
  }
16578
16599
  }
16579
16600
  },
16580
16601
  update: gc(function() {
16581
- return new Promise(function(y) {
16582
- h.forceUpdate(), y(g);
16602
+ return new Promise(function(p) {
16603
+ v.forceUpdate(), p(g);
16583
16604
  });
16584
16605
  }),
16585
16606
  destroy: function() {
@@ -16587,37 +16608,37 @@ function pc(e) {
16587
16608
  }
16588
16609
  };
16589
16610
  if (!Ga(r, c))
16590
- return h;
16591
- h.setOptions(u).then(function(y) {
16592
- !m && u.onFirstUpdate && u.onFirstUpdate(y);
16611
+ return v;
16612
+ v.setOptions(u).then(function(p) {
16613
+ !m && u.onFirstUpdate && u.onFirstUpdate(p);
16593
16614
  });
16594
- function v() {
16595
- g.orderedModifiers.forEach(function(y) {
16596
- var N = y.name, E = y.options, w = E === void 0 ? {} : E, D = y.effect;
16615
+ function y() {
16616
+ g.orderedModifiers.forEach(function(p) {
16617
+ var N = p.name, E = p.options, I = E === void 0 ? {} : E, D = p.effect;
16597
16618
  if (typeof D == "function") {
16598
16619
  var M = D({
16599
16620
  state: g,
16600
16621
  name: N,
16601
- instance: h,
16602
- options: w
16603
- }), I = function() {
16622
+ instance: v,
16623
+ options: I
16624
+ }), w = function() {
16604
16625
  };
16605
- d.push(M || I);
16626
+ d.push(M || w);
16606
16627
  }
16607
16628
  });
16608
16629
  }
16609
16630
  function _() {
16610
- d.forEach(function(y) {
16611
- return y();
16631
+ d.forEach(function(p) {
16632
+ return p();
16612
16633
  }), d = [];
16613
16634
  }
16614
- return h;
16635
+ return v;
16615
16636
  };
16616
16637
  }
16617
16638
  var hc = [Rr, fc, Ur, Dr, nc, Zr, oc, Sr, Xr], vc = /* @__PURE__ */ pc({
16618
16639
  defaultModifiers: hc
16619
16640
  }), Sf = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
16620
- function Ht(e) {
16641
+ function Wt(e) {
16621
16642
  return e.split("-").map((t) => parseInt(t, 16)).map((t) => String.fromCodePoint(t)).join("");
16622
16643
  }
16623
16644
  function yc(e, t, n, a = []) {
@@ -16630,15 +16651,15 @@ function yc(e, t, n, a = []) {
16630
16651
  var c;
16631
16652
  if (r[Cn][0].includes(t.toLocaleLowerCase())) {
16632
16653
  let u = r[_f];
16633
- if (n !== In && Array.isArray(r[$t])) {
16634
- const g = ((c = r[$t]) == null ? void 0 : c.findIndex(
16654
+ if (n !== In && Array.isArray(r[Yt])) {
16655
+ const g = ((c = r[Yt]) == null ? void 0 : c.findIndex(
16635
16656
  (d) => d.includes(n)
16636
16657
  )) || -1;
16637
- g !== -1 && r[$t] && (u = r[$t][g]);
16658
+ g !== -1 && r[Yt] && (u = r[Yt][g]);
16638
16659
  }
16639
16660
  return i.push({
16640
16661
  ...r,
16641
- [Tt]: u
16662
+ [Et]: u
16642
16663
  });
16643
16664
  }
16644
16665
  }), i.length && (f[s] = i);
@@ -16654,7 +16675,7 @@ function zf(e) {
16654
16675
  (t, n, a) => n ? n.toUpperCase() : " " + a.toUpperCase()
16655
16676
  );
16656
16677
  }
16657
- var St = (e, t) => {
16678
+ var Ot = (e, t) => {
16658
16679
  const n = e.__vccOpts || e;
16659
16680
  for (const [a, f] of t)
16660
16681
  n[a] = f;
@@ -16672,30 +16693,30 @@ const bc = F({
16672
16693
  e.skinTone,
16673
16694
  e.options.disabledGroups
16674
16695
  )), s = Ff(), i = Y(() => !e.options.hideGroupNames), r = Y(() => !e.options.disableStickyGroupNames), c = sf(e.options.groupNames), u = e.orderedGroupKeys;
16675
- e.options.additionalGroups && Object.keys(e.options.additionalGroups).map((v) => {
16676
- e.options.groupNames[v] ? c[v] = e.options.groupNames[v] : c[v] = zf(v);
16696
+ e.options.additionalGroups && Object.keys(e.options.additionalGroups).map((y) => {
16697
+ e.options.groupNames[y] ? c[y] = e.options.groupNames[y] : c[y] = zf(y);
16677
16698
  });
16678
16699
  const g = Of() ? "is-mac" : "";
16679
- function d(v) {
16680
- t(v);
16700
+ function d(y) {
16701
+ t(y);
16681
16702
  }
16682
- function m(v) {
16683
- n(v), s == null || s.emit("select", {
16684
- ...v,
16703
+ function m(y) {
16704
+ n(y), s == null || s.emit("select", {
16705
+ ...y,
16685
16706
  t: e.skinTone,
16686
- i: Ht(v.r)
16707
+ i: Wt(y.r)
16687
16708
  });
16688
16709
  }
16689
- function h(v, _) {
16690
- var y;
16691
- const N = (y = v == null ? void 0 : v.target) == null ? void 0 : y.closest("button");
16692
- N && (N.innerHTML = `<span>${Ht(_)}</span>`);
16710
+ function v(y, _) {
16711
+ var p;
16712
+ const N = (p = y == null ? void 0 : y.target) == null ? void 0 : p.closest("button");
16713
+ N && (N.innerHTML = `<span>${Wt(_)}</span>`);
16693
16714
  }
16694
16715
  return ee(
16695
16716
  () => e.activeGroup,
16696
16717
  () => {
16697
- var v;
16698
- const _ = (v = a.value) == null ? void 0 : v.querySelector("#" + e.activeGroup);
16718
+ var y;
16719
+ const _ = (y = a.value) == null ? void 0 : y.querySelector("#" + e.activeGroup);
16699
16720
  _ && (_.parentNode.scrollTop = _.offsetTop - _.parentNode.offsetTop);
16700
16721
  }
16701
16722
  ), {
@@ -16704,11 +16725,11 @@ const bc = F({
16704
16725
  EMOJI_REMOTE_SRC: bf,
16705
16726
  GROUP_NAMES: Mf,
16706
16727
  handleClick: m,
16707
- handleError: h,
16728
+ handleError: v,
16708
16729
  handleMouseEnter: d,
16709
16730
  native: e.options.native,
16710
- unicodeToEmoji: Ht,
16711
- EMOJI_RESULT_KEY: Tt,
16731
+ unicodeToEmoji: Wt,
16732
+ EMOJI_RESULT_KEY: Et,
16712
16733
  EMOJI_NAME_KEY: Cn,
16713
16734
  hasGroupNames: i,
16714
16735
  isSticky: r,
@@ -16727,7 +16748,7 @@ function Tc(e, t, n, a, f, s) {
16727
16748
  ref: "bodyInner",
16728
16749
  class: j([e.platform, "v3-body-inner"])
16729
16750
  }, [
16730
- e.orderedKeys.length ? (l(!0), A(P, { key: 0 }, ie(e.orderedKeys, (i) => (l(), A("div", {
16751
+ e.orderedKeys.length ? (l(!0), A(q, { key: 0 }, ie(e.orderedKeys, (i) => (l(), A("div", {
16731
16752
  id: i,
16732
16753
  key: i,
16733
16754
  class: "v3-group"
@@ -16737,9 +16758,9 @@ function Tc(e, t, n, a, f, s) {
16737
16758
  class: j(e.isSticky ? "v3-sticky" : "")
16738
16759
  }, T(e.groupNames[i]), 3)), [
16739
16760
  [De, e.emojis[i]]
16740
- ]) : p("", !0),
16761
+ ]) : h("", !0),
16741
16762
  re(o("div", Ic, [
16742
- (l(!0), A(P, null, ie(e.emojis[i], (r) => (l(), A("button", {
16763
+ (l(!0), A(q, null, ie(e.emojis[i], (r) => (l(), A("button", {
16743
16764
  key: r.r,
16744
16765
  type: "button",
16745
16766
  onMouseenter: (c) => e.handleMouseEnter(r),
@@ -16759,7 +16780,7 @@ function Tc(e, t, n, a, f, s) {
16759
16780
  ], 2)
16760
16781
  ]);
16761
16782
  }
16762
- var Ec = /* @__PURE__ */ St(bc, [["render", Tc]]), Cc = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3NSA3LjI2NTYyNSAxNS4wOTM3NSA2LjQzNzUgQyAxNC41IDUuNjA5Mzc1IDEzLjU3MDMxMyA1IDEyLjUgNSBaIE0gMTYgOS41IEMgMTYgMTAuNjYwMTU2IDE2LjMxMjUgMTEuNzM0Mzc1IDE2LjkwNjI1IDEyLjU2MjUgQyAxNy41IDEzLjM5MDYyNSAxOC40Mjk2ODggMTQgMTkuNSAxNCBDIDIwLjU3MDMxMyAxNCAyMS41IDEzLjM5MDYyNSAyMi4wOTM3N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
16764
16785
  name: "Header",
16765
16786
  setup(e) {
@@ -16776,7 +16797,7 @@ const Uc = F({
16776
16797
  }))
16777
16798
  ], g = [];
16778
16799
  return i.forEach((d) => {
16779
- const m = u.findIndex((h) => h.key === d);
16800
+ const m = u.findIndex((v) => v.key === d);
16780
16801
  m !== -1 && (g.push(u[m]), u.splice(m, 1));
16781
16802
  }), {
16782
16803
  orderedGroups: g,
@@ -16816,7 +16837,7 @@ const Uc = F({
16816
16837
  function Hc(e, t, n, a, f, s) {
16817
16838
  return e.hasGroupIcons || e.hasSearch ? (l(), A("div", Bc, [
16818
16839
  e.hasGroupIcons ? (l(), A("div", Rc, [
16819
- (l(!0), A(P, null, ie(e.orderedGroups, (i) => (l(), A("button", {
16840
+ (l(!0), A(q, null, ie(e.orderedGroups, (i) => (l(), A("button", {
16820
16841
  key: i.key,
16821
16842
  type: "button",
16822
16843
  class: j(["v3-group", {
@@ -16834,8 +16855,8 @@ function Hc(e, t, n, a, f, s) {
16834
16855
  }, null, 8, Yc)
16835
16856
  ], 8, $c)
16836
16857
  ], 10, Qc))), 128))
16837
- ])) : p("", !0),
16838
- e.hasGroupIcons && e.hasSearch ? (l(), A("div", Fc)) : p("", !0),
16858
+ ])) : h("", !0),
16859
+ e.hasGroupIcons && e.hasSearch ? (l(), A("div", Fc)) : h("", !0),
16839
16860
  e.hasSearch ? (l(), A("div", Pc, [
16840
16861
  re(o("input", {
16841
16862
  "onUpdate:modelValue": t[0] || (t[0] = (i) => e.searchValue = i),
@@ -16844,10 +16865,10 @@ function Hc(e, t, n, a, f, s) {
16844
16865
  }, null, 8, qc), [
16845
16866
  [ot, e.searchValue]
16846
16867
  ])
16847
- ])) : p("", !0)
16848
- ])) : p("", !0);
16868
+ ])) : h("", !0)
16869
+ ])) : h("", !0);
16849
16870
  }
16850
- var Wc = /* @__PURE__ */ St(Uc, [["render", Hc]]);
16871
+ var Wc = /* @__PURE__ */ Ot(Uc, [["render", Hc]]);
16851
16872
  const Kc = F({
16852
16873
  name: "Header",
16853
16874
  setup() {
@@ -16855,7 +16876,7 @@ const Kc = F({
16855
16876
  () => e.options.staticTexts.skinTone || "Skin tone"
16856
16877
  ), i = Y(() => !e.options.disableSkinTones), r = Of() ? "is-mac" : "", c = Y(() => ({
16857
16878
  ...e.emoji,
16858
- src: bf + "/" + e.emoji[Tt] + ".png"
16879
+ src: bf + "/" + e.emoji[Et] + ".png"
16859
16880
  }));
16860
16881
  function u(m = !0) {
16861
16882
  n.value = m;
@@ -16879,12 +16900,12 @@ const Kc = F({
16879
16900
  stateSkinTone: f,
16880
16901
  selectSkinTone: d,
16881
16902
  toggleSkinToneState: g,
16882
- EMOJI_RESULT_KEY: Tt,
16903
+ EMOJI_RESULT_KEY: Et,
16883
16904
  EMOJI_NAME_KEY: Cn,
16884
16905
  skinToneText: s,
16885
16906
  hasSkinTones: i,
16886
16907
  native: e.options.native,
16887
- unicodeToEmoji: Ht,
16908
+ unicodeToEmoji: Wt,
16888
16909
  platform: r,
16889
16910
  hasError: a
16890
16911
  };
@@ -16908,7 +16929,7 @@ function nA(e, t, n, a, f, s) {
16908
16929
  ], 2),
16909
16930
  o("span", Xc, " :" + T(e.emoji[e.EMOJI_NAME_KEY][1] || e.emoji[e.EMOJI_NAME_KEY][0]) + ": ", 1)
16910
16931
  ]),
16911
- e.hasSkinTones ? (l(), A(P, { key: 0 }, [
16932
+ e.hasSkinTones ? (l(), A(q, { key: 0 }, [
16912
16933
  o("button", {
16913
16934
  type: "button",
16914
16935
  class: "v3-tone",
@@ -16922,17 +16943,17 @@ function nA(e, t, n, a, f, s) {
16922
16943
  o("div", {
16923
16944
  class: j([e.skinTone ? "v3-is-open" : "", "v3-skin-tones"])
16924
16945
  }, [
16925
- (l(!0), A(P, null, ie(e.SKIN_TONES, (i) => (l(), A("button", {
16946
+ (l(!0), A(q, null, ie(e.SKIN_TONES, (i) => (l(), A("button", {
16926
16947
  key: i,
16927
16948
  type: "button",
16928
16949
  class: j(["v3-skin-tone-" + i, "v3-skin-tone"]),
16929
16950
  onClick: (r) => e.selectSkinTone(i)
16930
16951
  }, null, 10, tA))), 128))
16931
16952
  ], 2)
16932
- ], 64)) : p("", !0)
16953
+ ], 64)) : h("", !0)
16933
16954
  ], 32);
16934
16955
  }
16935
- var aA = /* @__PURE__ */ St(Kc, [["render", nA]]);
16956
+ var aA = /* @__PURE__ */ Ot(Kc, [["render", nA]]);
16936
16957
  const fA = F({
16937
16958
  name: "PickerRoot",
16938
16959
  components: {
@@ -16974,46 +16995,46 @@ const fA = F({
16974
16995
  const n = b(), a = b(), f = b(), s = b(!1), i = b(e.text), r = e.type === "input" || e.type === "textarea";
16975
16996
  let c = -1;
16976
16997
  const { state: u } = G("store"), g = Y(() => u.options.colorTheme);
16977
- function d(y) {
16998
+ function d(p) {
16978
16999
  if (r) {
16979
17000
  const N = u.options.mode;
16980
- N === "prepend" ? i.value = y.i + i.value : N === "insert" && c !== -1 ? (i.value = `${i.value.slice(0, c)}${y.i}${i.value.slice(c)}`, c += y.i.length) : i.value += y.i, t("update:text", i.value);
17001
+ N === "prepend" ? i.value = p.i + i.value : N === "insert" && c !== -1 ? (i.value = `${i.value.slice(0, c)}${p.i}${i.value.slice(c)}`, c += p.i.length) : i.value += p.i, t("update:text", i.value);
16981
17002
  }
16982
- t("select", y);
17003
+ t("select", p);
16983
17004
  }
16984
17005
  function m() {
16985
- var y;
16986
- n.value && (c = ((y = n.value) == null ? void 0 : y.selectionEnd) || -1);
17006
+ var p;
17007
+ n.value && (c = ((p = n.value) == null ? void 0 : p.selectionEnd) || -1);
16987
17008
  }
16988
- function h(y) {
17009
+ function v(p) {
16989
17010
  var N;
16990
- !((N = y.target) != null && N.closest(
17011
+ !((N = p.target) != null && N.closest(
16991
17012
  ".v3-input-picker-wrap"
16992
17013
  )) && s.value && (s.value = !1);
16993
17014
  }
16994
- function v() {
17015
+ function y() {
16995
17016
  if (a.value && f.value && r) {
16996
- let y = u.options.offset;
16997
- typeof y != "number" && (y = 6), vc(a.value, f.value, {
17017
+ let p = u.options.offset;
17018
+ typeof p != "number" && (p = 6), vc(a.value, f.value, {
16998
17019
  placement: "bottom-end",
16999
17020
  modifiers: [
17000
17021
  {
17001
17022
  name: "offset",
17002
17023
  options: {
17003
- offset: [0, y]
17024
+ offset: [0, p]
17004
17025
  }
17005
17026
  }
17006
17027
  ]
17007
- }), document.body.addEventListener("click", h);
17028
+ }), document.body.addEventListener("click", v);
17008
17029
  }
17009
17030
  }
17010
- function _(y) {
17011
- i.value = y.target.value || "", t("update:text", i.value);
17031
+ function _(p) {
17032
+ i.value = p.target.value || "", t("update:text", i.value);
17012
17033
  }
17013
17034
  return ue(() => {
17014
- v();
17035
+ y();
17015
17036
  }), Pf(() => {
17016
- document.body.removeEventListener("click", h);
17037
+ document.body.removeEventListener("click", v);
17017
17038
  }), {
17018
17039
  face: Sf,
17019
17040
  open: s,
@@ -17033,7 +17054,7 @@ const fA = F({
17033
17054
  class: "v3-input-emoji-picker"
17034
17055
  }, iA = { class: "v3-input-picker-root" }, oA = ["value"], lA = ["value"], rA = ["src"];
17035
17056
  function cA(e, t, n, a, f, s) {
17036
- const i = Ft("Header"), r = Ft("Body"), c = Ft("Footer");
17057
+ const i = Pt("Header"), r = Pt("Body"), c = Pt("Footer");
17037
17058
  return e.isInputType ? (l(), A("div", sA, [
17038
17059
  o("div", iA, [
17039
17060
  e.type === "input" ? (l(), A("input", {
@@ -17085,7 +17106,7 @@ function cA(e, t, n, a, f, s) {
17085
17106
  Q(c)
17086
17107
  ], 2));
17087
17108
  }
17088
- var AA = /* @__PURE__ */ St(fA, [["render", cA]]);
17109
+ var AA = /* @__PURE__ */ Ot(fA, [["render", cA]]);
17089
17110
  const uA = F({
17090
17111
  name: "Picker",
17091
17112
  components: {
@@ -17200,7 +17221,7 @@ const uA = F({
17200
17221
  }
17201
17222
  });
17202
17223
  function dA(e, t, n, a, f, s) {
17203
- const i = Ft("picker-root");
17224
+ const i = Pt("picker-root");
17204
17225
  return l(), U(i, {
17205
17226
  type: e.type,
17206
17227
  text: e.input,
@@ -17208,7 +17229,7 @@ function dA(e, t, n, a, f, s) {
17208
17229
  "onUpdate:text": e.onChangeText
17209
17230
  }, null, 8, ["type", "text", "onUpdate:text"]);
17210
17231
  }
17211
- var gA = /* @__PURE__ */ St(uA, [["render", dA]]);
17232
+ var gA = /* @__PURE__ */ Ot(uA, [["render", dA]]);
17212
17233
  const mA = {}, pA = {
17213
17234
  width: "27",
17214
17235
  height: "26",
@@ -17224,70 +17245,59 @@ function hA(e, t) {
17224
17245
  const vA = /* @__PURE__ */ O(mA, [["render", hA]]), yA = { class: "" }, bA = {
17225
17246
  __name: "ButtonEmojiPicker",
17226
17247
  props: {
17227
- mode: {
17228
- type: String,
17229
- required: !1,
17230
- default: "hover"
17231
- },
17232
17248
  state: {
17233
17249
  type: String,
17234
17250
  default: "active"
17235
17251
  }
17236
17252
  },
17237
17253
  setup(e) {
17238
- const t = e, n = b(null), a = b("light"), f = b(null), s = G("chatAppId"), { setMessageText: i, getMessage: r } = Ne(s), c = () => document.getElementById(s).attributes["data-theme"].nodeValue.indexOf("dark") != -1 ? "dark" : "light", u = (v) => {
17239
- i(r().text + v.i);
17240
- }, g = () => {
17241
- t.mode == "click" && t.state == "active" && (n.value.style.display = "inherit", a.value = c());
17254
+ const t = e, n = b(null), a = b("light"), f = b(null), s = b(!1), i = G("chatAppId"), { setMessageText: r, getMessage: c } = Ne(i), u = () => document.getElementById(i).attributes["data-theme"].nodeValue.indexOf("dark") != -1 ? "dark" : "light", g = (y) => {
17255
+ r(c().text + y.i);
17242
17256
  }, d = () => {
17243
- t.mode == "hover" && t.state == "active" && (n.value.style.display = "inherit", a.value = c());
17257
+ t.state === "active" && (s.value = !s.value, s.value && (a.value = u()));
17244
17258
  }, m = () => {
17245
- t.mode == "hover" && t.state == "active" && (n.value.style.display = "none");
17246
- }, h = (v) => {
17247
- t.mode == "click" && !f.value.contains(v.target) && !n.value.contains(v.target) && (n.value.style.display = "none");
17259
+ s.value = !1;
17260
+ }, v = (y) => {
17261
+ s.value && !f.value.contains(y.target) && !n.value.contains(y.target) && m();
17248
17262
  };
17249
17263
  return ue(() => {
17250
- n.value.style.display = "none", document.addEventListener("click", h);
17264
+ n.value.style.display = "none", document.addEventListener("click", v);
17251
17265
  }), kn(() => {
17252
- document.removeEventListener("click", h);
17253
- }), (v, _) => (l(), A(P, null, [
17254
- k(r)().isRecording ? p("", !0) : (l(), A("button", {
17266
+ document.removeEventListener("click", v);
17267
+ }), (y, _) => (l(), A(q, null, [
17268
+ k(c)().isRecording ? h("", !0) : (l(), A("button", {
17255
17269
  key: 0,
17256
17270
  ref_key: "emojiButton",
17257
17271
  ref: f,
17258
17272
  class: j(["button", { "button-disabled": e.state == "disabled" }]),
17259
- onClick: g,
17260
- onMouseenter: d,
17261
- onMouseleave: m
17273
+ onClick: d
17262
17274
  }, [
17263
17275
  o("span", yA, [
17264
17276
  Q(vA)
17265
17277
  ])
17266
- ], 34)),
17278
+ ], 2)),
17267
17279
  Q(se, null, {
17268
- default: q(() => [
17280
+ default: P(() => [
17269
17281
  re(o("div", {
17270
17282
  ref_key: "emoji",
17271
17283
  ref: n,
17272
- class: "emoji",
17273
- onMouseenter: d,
17274
- onMouseleave: m
17284
+ class: "emoji"
17275
17285
  }, [
17276
17286
  Q(k(gA), {
17277
17287
  native: !0,
17278
17288
  theme: a.value,
17279
17289
  "picker-type": "",
17280
- onSelect: u
17290
+ onSelect: g
17281
17291
  }, null, 8, ["theme"])
17282
- ], 544), [
17283
- [De, t.state === "active"]
17292
+ ], 512), [
17293
+ [De, s.value]
17284
17294
  ])
17285
17295
  ]),
17286
17296
  _: 1
17287
17297
  })
17288
17298
  ], 64));
17289
17299
  }
17290
- }, Xg = /* @__PURE__ */ O(bA, [["__scopeId", "data-v-d15dd5ac"]]), MA = { class: "context-menu__container" }, _A = { class: "context-menu__list" }, IA = ["onClick"], wA = ["src"], kA = {
17300
+ }, Xg = /* @__PURE__ */ O(bA, [["__scopeId", "data-v-ccab3916"]]), MA = { class: "context-menu__container" }, _A = { class: "context-menu__list" }, IA = ["onClick"], wA = ["src"], kA = {
17291
17301
  key: 2,
17292
17302
  style: { "white-space": "nowrap" }
17293
17303
  }, NA = { key: 3 }, DA = {
@@ -17306,7 +17316,7 @@ const vA = /* @__PURE__ */ O(mA, [["render", hA]]), yA = { class: "" }, bA = {
17306
17316
  };
17307
17317
  return (s, i) => (l(), A("div", MA, [
17308
17318
  o("ul", _A, [
17309
- (l(!0), A(P, null, ie(n.actions, (r, c) => (l(), A("li", {
17319
+ (l(!0), A(q, null, ie(n.actions, (r, c) => (l(), A("li", {
17310
17320
  key: c,
17311
17321
  class: "context-menu__item",
17312
17322
  onClick: (u) => f(c)
@@ -17319,9 +17329,9 @@ const vA = /* @__PURE__ */ O(mA, [["render", hA]]), yA = { class: "" }, bA = {
17319
17329
  }, null, 8, wA)) : r.prime ? (l(), A("i", {
17320
17330
  key: 1,
17321
17331
  class: j("pi pi-" + r.prime)
17322
- }, null, 2)) : p("", !0),
17323
- r.title ? (l(), A("span", kA, T(r.title), 1)) : p("", !0),
17324
- r.description ? (l(), A("span", NA, T(r.description), 1)) : p("", !0)
17332
+ }, null, 2)) : h("", !0),
17333
+ r.title ? (l(), A("span", kA, T(r.title), 1)) : h("", !0),
17334
+ r.description ? (l(), A("span", NA, T(r.description), 1)) : h("", !0)
17325
17335
  ], 8, IA))), 128))
17326
17336
  ])
17327
17337
  ]));
@@ -17371,7 +17381,7 @@ const CA = { class: "feed-search__container" }, xA = { style: { "line-height": "
17371
17381
  const g = k(i);
17372
17382
  g == null || g.focus();
17373
17383
  }), (g, d) => (l(), U(se, null, {
17374
- default: q(() => [
17384
+ default: P(() => [
17375
17385
  o("div", CA, [
17376
17386
  o("span", xA, T(k(_e)("component.FeedSearch.SearchLabel")), 1),
17377
17387
  re(o("input", {
@@ -17394,7 +17404,7 @@ const CA = { class: "feed-search__container" }, xA = { style: { "line-height": "
17394
17404
  class: "pi pi-refresh",
17395
17405
  style: { "margin-left": "5px", "margin-top": "10px", cursor: "pointer" },
17396
17406
  onClick: d[1] || (d[1] = (m) => f("switch"))
17397
- })) : p("", !0)
17407
+ })) : h("", !0)
17398
17408
  ])
17399
17409
  ]),
17400
17410
  _: 1
@@ -17448,12 +17458,12 @@ const CA = { class: "feed-search__container" }, xA = { style: { "line-height": "
17448
17458
  style: { "margin-right": "3px" },
17449
17459
  width: "24",
17450
17460
  height: "24"
17451
- }, null, 8, $A)) : p("", !0),
17461
+ }, null, 8, $A)) : h("", !0),
17452
17462
  n.value ? (l(), A("span", {
17453
17463
  key: 1,
17454
17464
  class: j(n.value),
17455
17465
  style: { "margin-right": "3px", "font-size": "20px" }
17456
- }, null, 2)) : p("", !0),
17466
+ }, null, 2)) : h("", !0),
17457
17467
  o("p", null, T(e.object.text), 1)
17458
17468
  ])
17459
17469
  ])
@@ -17487,7 +17497,7 @@ const CA = { class: "feed-search__container" }, xA = { style: { "line-height": "
17487
17497
  const u = k(f);
17488
17498
  u.scrollHeight - u.scrollTop - u.clientHeight <= 0 && n("loadMore");
17489
17499
  };
17490
- return (u, g) => (l(), A(P, null, [
17500
+ return (u, g) => (l(), A(q, null, [
17491
17501
  o("h3", PA, T(k(_e)("component.FeedFoundObjects.results")) + ": " + T(e.foundAmount), 1),
17492
17502
  e.foundAmount > 0 ? (l(), A("div", {
17493
17503
  key: 0,
@@ -17496,7 +17506,7 @@ const CA = { class: "feed-search__container" }, xA = { style: { "line-height": "
17496
17506
  class: "feed-found-objects__items",
17497
17507
  onScroll: c
17498
17508
  }, [
17499
- (l(!0), A(P, null, ie(e.objects, (d) => (l(), A("div", {
17509
+ (l(!0), A(q, null, ie(e.objects, (d) => (l(), A("div", {
17500
17510
  key: d.messageId,
17501
17511
  onClick: (m) => r(d)
17502
17512
  }, [
@@ -17507,7 +17517,7 @@ const CA = { class: "feed-search__container" }, xA = { style: { "line-height": "
17507
17517
  ], 8, qA))), 128))
17508
17518
  ], 544)) : e.foundAmount == 0 ? (l(), A("div", HA, [
17509
17519
  o("p", null, T(i.value), 1)
17510
- ])) : p("", !0)
17520
+ ])) : h("", !0)
17511
17521
  ], 64));
17512
17522
  }
17513
17523
  }), t2 = /* @__PURE__ */ O(WA, [["__scopeId", "data-v-85e37019"]]), KA = { class: "audio-recorder__container" }, JA = { key: 0 }, ZA = {
@@ -17529,21 +17539,21 @@ const CA = { class: "feed-search__container" }, xA = { style: { "line-height": "
17529
17539
  const t = G("chatAppId"), { getMessage: n, setMessageFile: a, resetMessageFile: f, setRecordingMessage: s } = Ne(t), i = b(), r = b(0), c = b(0), u = b(0), g = b(0), d = Y(() => {
17530
17540
  let B = g.value < 10 ? "0" + g.value : g.value, V = u.value < 10 ? "0" + u.value : u.value, $ = c.value < 10 ? "0" + c.value : c.value, Z = r.value < 10 ? "00" + r.value : r.value < 100 ? "0" + r.value : r.value;
17531
17541
  return B + ":" + V + ":" + $ + ":" + Z;
17532
- }), m = b(""), h = b(!1), v = b(), _ = b([]), y = b(), N = b(), E = e, w = async () => {
17542
+ }), m = b(""), v = b(!1), y = b(), _ = b([]), p = b(), N = b(), E = e, I = async () => {
17533
17543
  if (!n().file && E.state == "active") {
17534
17544
  const B = await navigator.mediaDevices.getUserMedia({ audio: !0, video: !1 });
17535
17545
  i.value = setInterval(() => {
17536
17546
  r.value += 10, r.value == 1e3 && (r.value = 0, c.value++, c.value == 60 && (c.value = 0, u.value++, u.value == 60 && (u.value = 0, g.value++)));
17537
- }, 10), s(!0), h.value = !0, v.value = new MediaRecorder(B), v.value.start(), v.value.ondataavailable = (V) => {
17547
+ }, 10), s(!0), v.value = !0, y.value = new MediaRecorder(B), y.value.start(), y.value.ondataavailable = (V) => {
17538
17548
  _.value.push(V.data);
17539
17549
  };
17540
17550
  }
17541
17551
  }, D = () => {
17542
- I(), y.value = void 0;
17552
+ w(), p.value = void 0;
17543
17553
  }, M = () => {
17544
- v.value && (v.value.stop(), v.value.onstop = async () => {
17554
+ y.value && (y.value.stop(), y.value.onstop = async () => {
17545
17555
  const B = new File(_.value, "voicemessage.mp3", { type: "audio/*" }), V = URL.createObjectURL(B);
17546
- y.value = V, m.value = "uploading", await Tn(E.filebumpUrl, B).then(($) => {
17556
+ p.value = V, m.value = "uploading", await Tn(E.filebumpUrl, B).then(($) => {
17547
17557
  if (m.value = $.status, $.status == "success") {
17548
17558
  const Z = document.getElementById("chat-input-file-line-" + t);
17549
17559
  Z && (Z.style.display = "inherit"), a({
@@ -17561,9 +17571,9 @@ const CA = { class: "feed-search__container" }, xA = { style: { "line-height": "
17561
17571
  });
17562
17572
  }
17563
17573
  });
17564
- }), I();
17565
- }, I = () => {
17566
- clearInterval(i.value), r.value = 0, c.value = 0, u.value = 0, g.value = 0, s(!1), h.value = !1, v.value = void 0, _.value = [];
17574
+ }), w();
17575
+ }, w = () => {
17576
+ clearInterval(i.value), r.value = 0, c.value = 0, u.value = 0, g.value = 0, s(!1), v.value = !1, y.value = void 0, _.value = [];
17567
17577
  }, C = () => {
17568
17578
  const B = document.getElementById("chat-input-file-line-" + t);
17569
17579
  B && (B.style.display = "none"), f(), N.value = void 0;
@@ -17576,8 +17586,8 @@ const CA = { class: "feed-search__container" }, xA = { style: { "line-height": "
17576
17586
  ), (B, V) => (l(), A("div", KA, [
17577
17587
  m.value === "uploading" ? (l(), A("div", JA, V[0] || (V[0] = [
17578
17588
  o("p", null, "Загрузка файла...", -1)
17579
- ]))) : p("", !0),
17580
- h.value && m.value != "uploading" ? (l(), A("div", ZA, [
17589
+ ]))) : h("", !0),
17590
+ v.value && m.value != "uploading" ? (l(), A("div", ZA, [
17581
17591
  V[3] || (V[3] = o("span", { class: "audio-recorder__recording-icon pi pi-circle-fill" }, null, -1)),
17582
17592
  o("button", {
17583
17593
  class: "audio-recorder__button audio-recorder__button-record",
@@ -17592,14 +17602,14 @@ const CA = { class: "feed-search__container" }, xA = { style: { "line-height": "
17592
17602
  o("div", { class: "audio-recorder__stop" }, null, -1)
17593
17603
  ])),
17594
17604
  o("span", GA, T(d.value), 1)
17595
- ])) : p("", !0),
17596
- !h.value && m.value != "uploading" && !k(n)().isRecording ? (l(), A("button", {
17605
+ ])) : h("", !0),
17606
+ !v.value && m.value != "uploading" && !k(n)().isRecording ? (l(), A("button", {
17597
17607
  key: 2,
17598
17608
  class: j(["audio-recorder__button", { "audio-recorder__button-disabled": e.state == "disabled" || k(n)().file }]),
17599
- onClick: w
17609
+ onClick: I
17600
17610
  }, V[4] || (V[4] = [
17601
17611
  o("span", { class: "pi pi-microphone" }, null, -1)
17602
- ]), 2)) : p("", !0),
17612
+ ]), 2)) : h("", !0),
17603
17613
  k(n)().file ? (l(), U(ye, {
17604
17614
  key: 3,
17605
17615
  to: "#chat-input-file-line-" + k(t)
@@ -17608,12 +17618,12 @@ const CA = { class: "feed-search__container" }, xA = { style: { "line-height": "
17608
17618
  key: 0,
17609
17619
  "file-info": N.value,
17610
17620
  onReset: C
17611
- }, null, 8, ["file-info"])) : p("", !0)
17612
- ], 8, ["to"])) : p("", !0)
17621
+ }, null, 8, ["file-info"])) : h("", !0)
17622
+ ], 8, ["to"])) : h("", !0)
17613
17623
  ]));
17614
17624
  }
17615
17625
  }), n2 = /* @__PURE__ */ O(XA, [["__scopeId", "data-v-44cda57d"]]);
17616
- function Ot({ component: e, attrs: t, Modal: n, modalAttrs: a }) {
17626
+ function zt({ component: e, attrs: t, Modal: n, modalAttrs: a }) {
17617
17627
  return new Promise((f) => {
17618
17628
  const s = document.createElement("div");
17619
17629
  document.body.appendChild(s);
@@ -17622,8 +17632,8 @@ function Ot({ component: e, attrs: t, Modal: n, modalAttrs: a }) {
17622
17632
  }, c = () => {
17623
17633
  r(), f(i.value);
17624
17634
  }, u = (m) => {
17625
- Object.keys(m).forEach((h) => {
17626
- i.value[h] = m[h];
17635
+ Object.keys(m).forEach((v) => {
17636
+ i.value[v] = m[v];
17627
17637
  });
17628
17638
  }, g = F({
17629
17639
  render() {
@@ -17674,7 +17684,7 @@ const eu = ["data-theme"], tu = {
17674
17684
  f.target.classList.contains("modal-backdrop") && n("close");
17675
17685
  };
17676
17686
  return (f, s) => (l(), U(se, { name: "modal-fade" }, {
17677
- default: q(() => [
17687
+ default: P(() => [
17678
17688
  re(o("div", {
17679
17689
  class: "modal-backdrop",
17680
17690
  "data-theme": e.theme,
@@ -17707,9 +17717,9 @@ const eu = ["data-theme"], tu = {
17707
17717
  }));
17708
17718
  }
17709
17719
  }, _a = /* @__PURE__ */ O(fu, [["__scopeId", "data-v-bfa49925"]]), a2 = async (e, t, n) => {
17710
- const a = await Ot({
17720
+ const a = await zt({
17711
17721
  //в component должен быть встроен emit change(key: value)
17712
- component: import("./SelectUser2-BE3ifMh1.js"),
17722
+ component: import("./SelectUser2-M7ygUCkh.js"),
17713
17723
  attrs: {
17714
17724
  title: e,
17715
17725
  users: t
@@ -17721,7 +17731,7 @@ const eu = ["data-theme"], tu = {
17721
17731
  });
17722
17732
  return console.log("data", a), a;
17723
17733
  }, f2 = async (e, t) => {
17724
- const n = await Ot({
17734
+ const n = await zt({
17725
17735
  //в component должен быть встроен emit change(key: value)
17726
17736
  component: import("./CreateChat-B7Kq9eRQ.js"),
17727
17737
  attrs: {
@@ -17733,7 +17743,7 @@ const eu = ["data-theme"], tu = {
17733
17743
  }
17734
17744
  });
17735
17745
  return console.log("data", n), n;
17736
- }, s2 = async (e, t) => await Ot({
17746
+ }, s2 = async (e, t) => await zt({
17737
17747
  //в component должен быть встроен emit change(key: value)
17738
17748
  component: import("./CreateChat2-A8L9xv_j.js"),
17739
17749
  attrs: {
@@ -17763,7 +17773,7 @@ const eu = ["data-theme"], tu = {
17763
17773
  f.target.classList.contains("modal-backdrop") && n("close");
17764
17774
  };
17765
17775
  return (f, s) => (l(), U(se, { name: "modal-fade" }, {
17766
- default: q(() => [
17776
+ default: P(() => [
17767
17777
  re(o("div", {
17768
17778
  "data-theme": e.theme,
17769
17779
  class: "modal-backdrop",
@@ -17779,9 +17789,9 @@ const eu = ["data-theme"], tu = {
17779
17789
  _: 3
17780
17790
  }));
17781
17791
  }
17782
- }, Lf = /* @__PURE__ */ O(ou, [["__scopeId", "data-v-2d8b60f8"]]), i2 = async (e, t, n, a, f, s) => await Ot({
17792
+ }, Lf = /* @__PURE__ */ O(ou, [["__scopeId", "data-v-2d8b60f8"]]), i2 = async (e, t, n, a, f, s) => await zt({
17783
17793
  //в component должен быть встроен emit change(key: value)
17784
- component: import("./CreateDialog-B30plf1w.js"),
17794
+ component: import("./CreateDialog-BOZIxXrO.js"),
17785
17795
  attrs: {
17786
17796
  title: e,
17787
17797
  name: t,
@@ -17793,9 +17803,9 @@ const eu = ["data-theme"], tu = {
17793
17803
  modalAttrs: {
17794
17804
  theme: s
17795
17805
  }
17796
- }), lu = async (e) => await Ot({
17806
+ }), lu = async (e) => await zt({
17797
17807
  //в component должен быть встроен emit change(key: value)
17798
- component: import("./ModalVideoRecorder-Db2EAz2b.js"),
17808
+ component: import("./ModalVideoRecorder-BkpEw5Yz.js"),
17799
17809
  attrs: {},
17800
17810
  Modal: Lf,
17801
17811
  modalAttrs: {
@@ -17823,23 +17833,23 @@ const eu = ["data-theme"], tu = {
17823
17833
  const t = G("chatAppId"), { getMessage: n, setMessageFile: a, setRecordingMessage: f, resetMessageFile: s } = Ne(t), { getTheme: i } = Ee(t), r = b(""), c = b(), u = e, g = async () => {
17824
17834
  if (!n().file && u.state == "active") {
17825
17835
  const m = i().theme ? i().theme : "";
17826
- await lu(m).then(async (h) => {
17827
- h.videoFile && (r.value = "uploading", f(!0), await Tn(u.filebumpUrl, h.videoFile).then((v) => {
17828
- if (f(!1), r.value = v.status, v.status == "success") {
17836
+ await lu(m).then(async (v) => {
17837
+ v.videoFile && (r.value = "uploading", f(!0), await Tn(u.filebumpUrl, v.videoFile).then((y) => {
17838
+ if (f(!1), r.value = y.status, y.status == "success") {
17829
17839
  a({
17830
- url: v.url,
17831
- name: v.name,
17832
- size: v.size,
17833
- type: v.type
17840
+ url: y.url,
17841
+ name: y.name,
17842
+ size: y.size,
17843
+ type: y.type
17834
17844
  });
17835
17845
  const _ = document.getElementById("chat-input-file-line-" + t);
17836
- _ && (_.style.display = "inherit"), v.preview && (c.value = {
17837
- previewUrl: v.preview.previewUrl,
17838
- isImage: v.preview.isImage,
17839
- isVideo: v.preview.isVideo,
17840
- isAudio: v.preview.isAudio,
17841
- fileName: v.name,
17842
- fileSize: v.preview.fileSize
17846
+ _ && (_.style.display = "inherit"), y.preview && (c.value = {
17847
+ previewUrl: y.preview.previewUrl,
17848
+ isImage: y.preview.isImage,
17849
+ isVideo: y.preview.isVideo,
17850
+ isAudio: y.preview.isAudio,
17851
+ fileName: y.name,
17852
+ fileSize: y.preview.fileSize
17843
17853
  });
17844
17854
  }
17845
17855
  }));
@@ -17855,19 +17865,19 @@ const eu = ["data-theme"], tu = {
17855
17865
  () => {
17856
17866
  n().file || (c.value = void 0);
17857
17867
  }
17858
- ), (m, h) => (l(), A(P, null, [
17859
- k(n)().isRecording ? p("", !0) : (l(), A("div", ru, [
17868
+ ), (m, v) => (l(), A(q, null, [
17869
+ k(n)().isRecording ? h("", !0) : (l(), A("div", ru, [
17860
17870
  r.value != "uploading" ? (l(), A("button", {
17861
17871
  key: 0,
17862
17872
  class: j(["video-recorder__button", { "video-recorder__button-disabled": e.state == "disabled" || k(n)().file }]),
17863
17873
  onClick: g
17864
- }, h[0] || (h[0] = [
17874
+ }, v[0] || (v[0] = [
17865
17875
  o("span", { class: "pi pi-video" }, null, -1)
17866
- ]), 2)) : p("", !0)
17876
+ ]), 2)) : h("", !0)
17867
17877
  ])),
17868
- r.value === "uploading" ? (l(), A("div", cu, h[1] || (h[1] = [
17878
+ r.value === "uploading" ? (l(), A("div", cu, v[1] || (v[1] = [
17869
17879
  o("p", null, "Загрузка файла...", -1)
17870
- ]))) : p("", !0),
17880
+ ]))) : h("", !0),
17871
17881
  k(n)().file ? (l(), U(ye, {
17872
17882
  key: 2,
17873
17883
  to: "#chat-input-file-line-" + k(t)
@@ -17876,8 +17886,8 @@ const eu = ["data-theme"], tu = {
17876
17886
  key: 0,
17877
17887
  "file-info": c.value,
17878
17888
  onReset: d
17879
- }, null, 8, ["file-info"])) : p("", !0)
17880
- ], 8, ["to"])) : p("", !0)
17889
+ }, null, 8, ["file-info"])) : h("", !0)
17890
+ ], 8, ["to"])) : h("", !0)
17881
17891
  ], 64));
17882
17892
  }
17883
17893
  }), o2 = /* @__PURE__ */ O(Au, [["__scopeId", "data-v-f84e976e"]]), uu = /* @__PURE__ */ F({
@@ -17915,7 +17925,7 @@ const eu = ["data-theme"], tu = {
17915
17925
  n.commands && (s().text.startsWith("/") ? (c = i.value) == null || c.updatePosition() : (u = i.value) == null || u.hideMenu());
17916
17926
  }
17917
17927
  ), (c, u) => (l(), U(se, null, {
17918
- default: q(() => [
17928
+ default: P(() => [
17919
17929
  e.commands ? (l(), U(En, {
17920
17930
  key: 0,
17921
17931
  ref_key: "refBCM",
@@ -17926,13 +17936,13 @@ const eu = ["data-theme"], tu = {
17926
17936
  actions: e.commands,
17927
17937
  onClick: r
17928
17938
  }, {
17929
- default: q(() => [
17939
+ default: P(() => [
17930
17940
  o("span", {
17931
17941
  class: j(["commands__trigger", { commands__disabled: k(s)().isRecording || e.state == "disabled" }])
17932
17942
  }, " / ", 2)
17933
17943
  ]),
17934
17944
  _: 1
17935
- }, 8, ["mode", "disabled", "actions"])) : p("", !0)
17945
+ }, 8, ["mode", "disabled", "actions"])) : h("", !0)
17936
17946
  ]),
17937
17947
  _: 1
17938
17948
  }));
@@ -17970,18 +17980,18 @@ const eu = ["data-theme"], tu = {
17970
17980
  }
17971
17981
  },
17972
17982
  setup(e) {
17973
- return console.log(e.message), (n, a) => (l(), A(P, null, [
17983
+ return console.log(e.message), (n, a) => (l(), A(q, null, [
17974
17984
  o("div", null, [
17975
17985
  o("span", {
17976
17986
  class: j(["call-message__icon pi pi-phone", { "call-message__icon-missed": e.message.isMissedCall }])
17977
17987
  }, null, 2)
17978
17988
  ]),
17979
17989
  o("div", mu, [
17980
- e.message.header ? (l(), A("p", pu, T(e.message.header), 1)) : p("", !0),
17990
+ e.message.header ? (l(), A("p", pu, T(e.message.header), 1)) : h("", !0),
17981
17991
  o("div", hu, [
17982
17992
  e.message.isMissedCall ? (l(), A("span", yu, " Пропущенный аудиозвонок ")) : (l(), A("span", vu, " Аудиозвонок "))
17983
17993
  ]),
17984
- e.message.callDuration ? (l(), A("p", bu, T(e.message.callDuration), 1)) : p("", !0)
17994
+ e.message.callDuration ? (l(), A("p", bu, T(e.message.callDuration), 1)) : h("", !0)
17985
17995
  ])
17986
17996
  ], 64));
17987
17997
  }
@@ -18054,7 +18064,7 @@ const eu = ["data-theme"], tu = {
18054
18064
  ])
18055
18065
  ]));
18056
18066
  }
18057
- }), zt = /* @__PURE__ */ O(Cu, [["__scopeId", "data-v-29ecc769"]]), xu = { class: "embed-preview" }, ju = ["src"], Vu = ["src"], Su = ["src"], Ou = /* @__PURE__ */ F({
18067
+ }), Lt = /* @__PURE__ */ O(Cu, [["__scopeId", "data-v-29ecc769"]]), xu = { class: "embed-preview" }, ju = ["src"], Vu = ["src"], Su = ["src"], Ou = /* @__PURE__ */ F({
18058
18068
  __name: "EmbedPreview",
18059
18069
  props: {
18060
18070
  embed: {
@@ -18088,7 +18098,7 @@ const eu = ["data-theme"], tu = {
18088
18098
  }, null, 8, Su))
18089
18099
  ]));
18090
18100
  }
18091
- }), Lt = /* @__PURE__ */ O(Ou, [["__scopeId", "data-v-5afd1397"]]), zu = ["messageId"], Lu = ["src"], Uu = {
18101
+ }), Ut = /* @__PURE__ */ O(Ou, [["__scopeId", "data-v-5afd1397"]]), zu = ["messageId"], Lu = ["src"], Uu = {
18092
18102
  key: 1,
18093
18103
  class: "file-message__subtext"
18094
18104
  }, Bu = ["href"], Ru = { class: "file-message__filename-text" }, Qu = {
@@ -18132,13 +18142,13 @@ const eu = ["data-theme"], tu = {
18132
18142
  s.value = !0;
18133
18143
  }, m = () => {
18134
18144
  s.value = !1, f.value = !1;
18135
- }, h = Y(() => rt(n.message.status));
18136
- function v(_) {
18145
+ }, v = Y(() => rt(n.message.status));
18146
+ function y(_) {
18137
18147
  return _.position === "left" ? "file-message__left" : "file-message__right";
18138
18148
  }
18139
- return (_, y) => (l(), A("div", {
18149
+ return (_, p) => (l(), A("div", {
18140
18150
  class: j(["file-message", [
18141
- v(e.message),
18151
+ y(e.message),
18142
18152
  e.applyStyle(e.message)
18143
18153
  ]]),
18144
18154
  messageId: e.message.messageId,
@@ -18151,8 +18161,8 @@ const eu = ["data-theme"], tu = {
18151
18161
  height: "32",
18152
18162
  width: "32",
18153
18163
  style: ce({ gridRow: e.message.subText ? "2" : "1" })
18154
- }, null, 12, Lu)) : p("", !0),
18155
- e.message.subText ? (l(), A("p", Uu, T(e.message.subText), 1)) : p("", !0),
18164
+ }, null, 12, Lu)) : h("", !0),
18165
+ e.message.subText ? (l(), A("p", Uu, T(e.message.subText), 1)) : h("", !0),
18156
18166
  o("div", {
18157
18167
  class: "file-message__content",
18158
18168
  style: ce({ gridRow: e.message.subText ? "2" : "1" }),
@@ -18163,16 +18173,16 @@ const eu = ["data-theme"], tu = {
18163
18173
  message: e.message.reply,
18164
18174
  class: j(e.message.position),
18165
18175
  onReply: r
18166
- }, null, 8, ["message", "class"])) : p("", !0),
18176
+ }, null, 8, ["message", "class"])) : h("", !0),
18167
18177
  o("a", {
18168
18178
  class: "file-message__link",
18169
18179
  href: e.message.url,
18170
18180
  download: "",
18171
18181
  target: "_blank"
18172
18182
  }, [
18173
- y[1] || (y[1] = o("span", { class: "pi pi-file" }, null, -1)),
18183
+ p[1] || (p[1] = o("span", { class: "pi pi-file" }, null, -1)),
18174
18184
  o("p", Ru, T(e.message.filename), 1),
18175
- y[2] || (y[2] = o("div", { class: "file-message__download-button" }, [
18185
+ p[2] || (p[2] = o("div", { class: "file-message__download-button" }, [
18176
18186
  o("span", { class: "pi pi-download" })
18177
18187
  ], -1))
18178
18188
  ], 8, Bu),
@@ -18181,50 +18191,50 @@ const eu = ["data-theme"], tu = {
18181
18191
  onClick: c,
18182
18192
  innerHTML: i.value
18183
18193
  }, null, 8, $u)
18184
- ])) : p("", !0),
18185
- e.message.linkPreview ? (l(), U(zt, {
18194
+ ])) : h("", !0),
18195
+ e.message.linkPreview ? (l(), U(Lt, {
18186
18196
  key: 2,
18187
18197
  class: j(e.message.position),
18188
18198
  "link-preview": e.message.linkPreview
18189
- }, null, 8, ["class", "link-preview"])) : p("", !0),
18190
- e.message.embed ? (l(), U(Lt, {
18199
+ }, null, 8, ["class", "link-preview"])) : h("", !0),
18200
+ e.message.embed ? (l(), U(Ut, {
18191
18201
  key: 3,
18192
18202
  class: j(e.message.position),
18193
18203
  embed: e.message.embed
18194
- }, null, 8, ["class", "embed"])) : p("", !0),
18204
+ }, null, 8, ["class", "embed"])) : h("", !0),
18195
18205
  o("div", Yu, [
18196
18206
  e.message.views ? (l(), A("div", {
18197
18207
  key: 0,
18198
18208
  class: "file-message__views",
18199
18209
  onClick: u
18200
18210
  }, [
18201
- y[3] || (y[3] = o("span", { class: "pi pi-eye" }, null, -1)),
18211
+ p[3] || (p[3] = o("span", { class: "pi pi-eye" }, null, -1)),
18202
18212
  o("p", null, T(e.message.views), 1)
18203
- ])) : p("", !0),
18213
+ ])) : h("", !0),
18204
18214
  o("span", Fu, T(e.message.time), 1),
18205
- v(e.message) === "file-message__right" && k(lt).includes(e.message.status) ? (l(), A("div", {
18215
+ y(e.message) === "file-message__right" && k(lt).includes(e.message.status) ? (l(), A("div", {
18206
18216
  key: 1,
18207
- class: j(["file-message__status", h.value])
18217
+ class: j(["file-message__status", v.value])
18208
18218
  }, [
18209
- e.message.status !== "sent" ? (l(), A("span", Pu)) : p("", !0),
18210
- y[4] || (y[4] = o("span", { class: "pi pi-check" }, null, -1))
18211
- ], 2)) : p("", !0)
18219
+ e.message.status !== "sent" ? (l(), A("span", Pu)) : h("", !0),
18220
+ p[4] || (p[4] = o("span", { class: "pi pi-check" }, null, -1))
18221
+ ], 2)) : h("", !0)
18212
18222
  ]),
18213
18223
  s.value && e.message.actions ? (l(), A("button", {
18214
18224
  key: 4,
18215
18225
  class: "file-message__menu-button",
18216
- onClick: y[0] || (y[0] = (N) => f.value = !f.value)
18217
- }, y[5] || (y[5] = [
18226
+ onClick: p[0] || (p[0] = (N) => f.value = !f.value)
18227
+ }, p[5] || (p[5] = [
18218
18228
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18219
- ]))) : p("", !0),
18229
+ ]))) : h("", !0),
18220
18230
  Q(se, null, {
18221
- default: q(() => [
18231
+ default: P(() => [
18222
18232
  f.value && e.message.actions ? (l(), U(k(ct), {
18223
18233
  key: 0,
18224
18234
  class: "file-message__context-menu",
18225
18235
  actions: e.message.actions,
18226
18236
  onClick: g
18227
- }, null, 8, ["actions"])) : p("", !0)
18237
+ }, null, 8, ["actions"])) : h("", !0)
18228
18238
  ]),
18229
18239
  _: 1
18230
18240
  })
@@ -18271,25 +18281,25 @@ const eu = ["data-theme"], tu = {
18271
18281
  function m(M) {
18272
18282
  M.preventDefault(), M.target.href && window.open(M.target.href, "_blank");
18273
18283
  }
18274
- const h = () => {
18284
+ const v = () => {
18275
18285
  s("action", { messageId: f.message.messageId, type: "views" });
18276
- }, v = () => {
18286
+ }, y = () => {
18277
18287
  }, _ = () => {
18278
18288
  c.value = !0, u.value = !0;
18279
- }, y = () => {
18289
+ }, p = () => {
18280
18290
  c.value = !1, r.value = !1;
18281
18291
  }, N = Y(() => f.message.reply && f.message.text ? "0" : f.message.text ? "8px 8px 0 0" : f.message.reply ? "0 0 8px 8px" : "8px"), E = Y(() => rt(f.message.status));
18282
- function w(M) {
18292
+ function I(M) {
18283
18293
  return M.position === "left" ? "image-message__left" : "image-message__right";
18284
18294
  }
18285
18295
  const D = () => i.value = !1;
18286
- return (M, I) => (l(), A("div", {
18296
+ return (M, w) => (l(), A("div", {
18287
18297
  class: j(["image-message", [
18288
- w(e.message),
18298
+ I(e.message),
18289
18299
  e.applyStyle(e.message)
18290
18300
  ]]),
18291
18301
  messageId: e.message.messageId,
18292
- onMouseleave: y
18302
+ onMouseleave: p
18293
18303
  }, [
18294
18304
  e.message.avatar ? (l(), A("img", {
18295
18305
  key: 0,
@@ -18297,8 +18307,8 @@ const eu = ["data-theme"], tu = {
18297
18307
  src: e.message.avatar,
18298
18308
  height: "32",
18299
18309
  width: "32"
18300
- }, null, 8, Ku)) : p("", !0),
18301
- e.message.subText ? (l(), A("p", Ju, T(e.message.subText), 1)) : p("", !0),
18310
+ }, null, 8, Ku)) : h("", !0),
18311
+ e.message.subText ? (l(), A("p", Ju, T(e.message.subText), 1)) : h("", !0),
18302
18312
  o("div", Zu, [
18303
18313
  e.message.reply ? (l(), U(At, {
18304
18314
  key: 0,
@@ -18306,12 +18316,12 @@ const eu = ["data-theme"], tu = {
18306
18316
  class: j(e.message.position),
18307
18317
  message: e.message.reply,
18308
18318
  onReply: d
18309
- }, null, 8, ["class", "message"])) : p("", !0),
18319
+ }, null, 8, ["class", "message"])) : h("", !0),
18310
18320
  o("div", {
18311
18321
  class: "image-message__preview-button",
18312
- onClick: I[0] || (I[0] = (C) => i.value = !0),
18322
+ onClick: w[0] || (w[0] = (C) => i.value = !0),
18313
18323
  onMouseenter: _,
18314
- onMouseleave: I[1] || (I[1] = (C) => u.value = !u.value)
18324
+ onMouseleave: w[1] || (w[1] = (C) => u.value = !u.value)
18315
18325
  }, [
18316
18326
  o("img", {
18317
18327
  class: "image-message__preview-image",
@@ -18320,30 +18330,30 @@ const eu = ["data-theme"], tu = {
18320
18330
  alt: e.message.alt
18321
18331
  }, null, 12, Gu),
18322
18332
  Q(se, { name: "modal-fade" }, {
18323
- default: q(() => [
18333
+ default: P(() => [
18324
18334
  u.value ? (l(), A("div", Xu, [
18325
18335
  e.message.views ? (l(), A("div", {
18326
18336
  key: 0,
18327
18337
  class: "image-message__views",
18328
- onClick: kt(h, ["stop"])
18338
+ onClick: kt(v, ["stop"])
18329
18339
  }, [
18330
- I[3] || (I[3] = o("span", { class: "pi pi-eye" }, null, -1)),
18340
+ w[3] || (w[3] = o("span", { class: "pi pi-eye" }, null, -1)),
18331
18341
  o("p", null, T(e.message.views), 1)
18332
- ])) : p("", !0),
18342
+ ])) : h("", !0),
18333
18343
  o("span", ed, T(e.message.time), 1),
18334
- w(e.message) === "image-message__right" && k(lt).includes(e.message.status) ? (l(), A("div", {
18344
+ I(e.message) === "image-message__right" && k(lt).includes(e.message.status) ? (l(), A("div", {
18335
18345
  key: 1,
18336
18346
  class: j(["image-message__status", E.value])
18337
18347
  }, [
18338
- e.message.status !== "sent" ? (l(), A("span", td)) : p("", !0),
18339
- I[4] || (I[4] = o("span", { class: "pi pi-check" }, null, -1))
18340
- ], 2)) : p("", !0)
18341
- ])) : p("", !0)
18348
+ e.message.status !== "sent" ? (l(), A("span", td)) : h("", !0),
18349
+ w[4] || (w[4] = o("span", { class: "pi pi-check" }, null, -1))
18350
+ ], 2)) : h("", !0)
18351
+ ])) : h("", !0)
18342
18352
  ]),
18343
18353
  _: 1
18344
18354
  }),
18345
18355
  Q(se, { name: "modal-fade" }, {
18346
- default: q(() => [
18356
+ default: P(() => [
18347
18357
  u.value ? (l(), A("a", {
18348
18358
  key: 0,
18349
18359
  class: "image-message__download-button",
@@ -18351,33 +18361,33 @@ const eu = ["data-theme"], tu = {
18351
18361
  download: "",
18352
18362
  target: "_blank",
18353
18363
  onClick: kt(() => "//Предотвращаем всплытие события клика", ["stop"])
18354
- }, I[5] || (I[5] = [
18364
+ }, w[5] || (w[5] = [
18355
18365
  o("span", { class: "pi pi-download" }, null, -1)
18356
- ]), 8, nd)) : p("", !0)
18366
+ ]), 8, nd)) : h("", !0)
18357
18367
  ]),
18358
18368
  _: 1
18359
18369
  })
18360
18370
  ], 32),
18361
18371
  Q(se, { name: "modal-fade" }, {
18362
- default: q(() => [
18372
+ default: P(() => [
18363
18373
  c.value && e.message.actions ? (l(), A("button", {
18364
18374
  key: 0,
18365
18375
  class: "image-message__menu-button",
18366
- onClick: I[2] || (I[2] = (C) => r.value = !r.value)
18367
- }, I[6] || (I[6] = [
18376
+ onClick: w[2] || (w[2] = (C) => r.value = !r.value)
18377
+ }, w[6] || (w[6] = [
18368
18378
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18369
- ]))) : p("", !0)
18379
+ ]))) : h("", !0)
18370
18380
  ]),
18371
18381
  _: 1
18372
18382
  }),
18373
18383
  Q(se, { name: "context-menu" }, {
18374
- default: q(() => [
18384
+ default: P(() => [
18375
18385
  r.value && e.message.actions ? (l(), U(k(ct), {
18376
18386
  key: 0,
18377
18387
  class: "image-message__context-menu",
18378
18388
  actions: e.message.actions,
18379
- onClick: v
18380
- }, null, 8, ["actions"])) : p("", !0)
18389
+ onClick: y
18390
+ }, null, 8, ["actions"])) : h("", !0)
18381
18391
  ]),
18382
18392
  _: 1
18383
18393
  }),
@@ -18386,27 +18396,27 @@ const eu = ["data-theme"], tu = {
18386
18396
  onClick: m,
18387
18397
  innerHTML: g.value
18388
18398
  }, null, 8, fd)
18389
- ])) : p("", !0),
18390
- e.message.linkPreview ? (l(), U(zt, {
18399
+ ])) : h("", !0),
18400
+ e.message.linkPreview ? (l(), U(Lt, {
18391
18401
  key: 2,
18392
18402
  class: j(["image-message__link-preview", e.message.position]),
18393
18403
  "link-preview": e.message.linkPreview
18394
- }, null, 8, ["class", "link-preview"])) : p("", !0),
18395
- e.message.embed ? (l(), U(Lt, {
18404
+ }, null, 8, ["class", "link-preview"])) : h("", !0),
18405
+ e.message.embed ? (l(), U(Ut, {
18396
18406
  key: 3,
18397
18407
  class: j(e.message.position),
18398
18408
  embed: e.message.embed
18399
- }, null, 8, ["class", "embed"])) : p("", !0)
18409
+ }, null, 8, ["class", "embed"])) : h("", !0)
18400
18410
  ]),
18401
18411
  (l(), U(ye, { to: "body" }, [
18402
18412
  Q(se, { name: "modal-fade" }, {
18403
- default: q(() => [
18404
- i.value ? (l(), U(xt, {
18413
+ default: P(() => [
18414
+ i.value ? (l(), U(jt, {
18405
18415
  key: 0,
18406
18416
  "data-theme": k(a)().theme ? k(a)().theme : "light",
18407
18417
  onClose: D
18408
18418
  }, {
18409
- default: q(() => [
18419
+ default: P(() => [
18410
18420
  o("img", {
18411
18421
  class: "image-message__modal-image",
18412
18422
  src: e.message.url,
@@ -18414,7 +18424,7 @@ const eu = ["data-theme"], tu = {
18414
18424
  }, null, 8, sd)
18415
18425
  ]),
18416
18426
  _: 1
18417
- }, 8, ["data-theme"])) : p("", !0)
18427
+ }, 8, ["data-theme"])) : h("", !0)
18418
18428
  ]),
18419
18429
  _: 1
18420
18430
  })
@@ -18464,15 +18474,15 @@ const eu = ["data-theme"], tu = {
18464
18474
  s.value = !1, f.value = !1;
18465
18475
  }, d = Y(() => rt(n.message.status)), m = (_) => {
18466
18476
  g(), a("action", { messageId: n.message.messageId, type: "menu", ..._ });
18467
- }, h = () => {
18477
+ }, v = () => {
18468
18478
  g(), a("action", { messageId: n.message.messageId, type: "views" });
18469
18479
  };
18470
- function v(_) {
18480
+ function y(_) {
18471
18481
  return _.position === "left" ? "text-message__left" : "text-message__right";
18472
18482
  }
18473
- return (_, y) => (l(), A("div", {
18483
+ return (_, p) => (l(), A("div", {
18474
18484
  class: j(["text-message", [
18475
- v(e.message),
18485
+ y(e.message),
18476
18486
  e.applyStyle(e.message)
18477
18487
  ]]),
18478
18488
  messageId: e.message.messageId,
@@ -18485,8 +18495,8 @@ const eu = ["data-theme"], tu = {
18485
18495
  height: "32",
18486
18496
  width: "32",
18487
18497
  style: ce({ gridRow: e.message.subText ? "2" : "1" })
18488
- }, null, 12, rd)) : p("", !0),
18489
- e.message.subText ? (l(), A("p", cd, T(e.message.subText), 1)) : p("", !0),
18498
+ }, null, 12, rd)) : h("", !0),
18499
+ e.message.subText ? (l(), A("p", cd, T(e.message.subText), 1)) : h("", !0),
18490
18500
  o("div", {
18491
18501
  class: "text-message__content",
18492
18502
  onMouseenter: u
@@ -18496,55 +18506,55 @@ const eu = ["data-theme"], tu = {
18496
18506
  class: j(e.message.position),
18497
18507
  message: e.message.reply,
18498
18508
  onReply: r
18499
- }, null, 8, ["class", "message"])) : p("", !0),
18509
+ }, null, 8, ["class", "message"])) : h("", !0),
18500
18510
  o("p", {
18501
18511
  class: "text-message__text",
18502
18512
  onClick: c,
18503
18513
  innerHTML: i.value
18504
18514
  }, null, 8, Ad),
18505
- e.message.linkPreview ? (l(), U(zt, {
18515
+ e.message.linkPreview ? (l(), U(Lt, {
18506
18516
  key: 1,
18507
18517
  class: j(e.message.position),
18508
18518
  "link-preview": e.message.linkPreview
18509
- }, null, 8, ["class", "link-preview"])) : p("", !0),
18510
- e.message.embed ? (l(), U(Lt, {
18519
+ }, null, 8, ["class", "link-preview"])) : h("", !0),
18520
+ e.message.embed ? (l(), U(Ut, {
18511
18521
  key: 2,
18512
18522
  class: j(e.message.position),
18513
18523
  embed: e.message.embed
18514
- }, null, 8, ["class", "embed"])) : p("", !0),
18524
+ }, null, 8, ["class", "embed"])) : h("", !0),
18515
18525
  o("div", ud, [
18516
18526
  e.message.views ? (l(), A("div", {
18517
18527
  key: 0,
18518
18528
  class: "text-message__views",
18519
- onClick: h
18529
+ onClick: v
18520
18530
  }, [
18521
- y[1] || (y[1] = o("span", { class: "pi pi-eye" }, null, -1)),
18531
+ p[1] || (p[1] = o("span", { class: "pi pi-eye" }, null, -1)),
18522
18532
  o("p", null, T(e.message.views), 1)
18523
- ])) : p("", !0),
18524
- e.message.time ? (l(), A("span", dd, T(e.message.time), 1)) : p("", !0),
18525
- v(e.message) === "text-message__right" && k(lt).includes(e.message.status) ? (l(), A("div", {
18533
+ ])) : h("", !0),
18534
+ e.message.time ? (l(), A("span", dd, T(e.message.time), 1)) : h("", !0),
18535
+ y(e.message) === "text-message__right" && k(lt).includes(e.message.status) ? (l(), A("div", {
18526
18536
  key: 2,
18527
18537
  class: j(["text-message__status", d.value])
18528
18538
  }, [
18529
- e.message.status !== "sent" ? (l(), A("span", gd)) : p("", !0),
18530
- y[2] || (y[2] = o("span", { class: "pi pi-check" }, null, -1))
18531
- ], 2)) : p("", !0)
18539
+ e.message.status !== "sent" ? (l(), A("span", gd)) : h("", !0),
18540
+ p[2] || (p[2] = o("span", { class: "pi pi-check" }, null, -1))
18541
+ ], 2)) : h("", !0)
18532
18542
  ]),
18533
18543
  s.value && e.message.actions ? (l(), A("button", {
18534
18544
  key: 3,
18535
18545
  class: "text-message__menu-button",
18536
- onClick: y[0] || (y[0] = (N) => f.value = !f.value)
18537
- }, y[3] || (y[3] = [
18546
+ onClick: p[0] || (p[0] = (N) => f.value = !f.value)
18547
+ }, p[3] || (p[3] = [
18538
18548
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18539
- ]))) : p("", !0),
18549
+ ]))) : h("", !0),
18540
18550
  Q(se, null, {
18541
- default: q(() => [
18551
+ default: P(() => [
18542
18552
  f.value && e.message.actions ? (l(), U(k(ct), {
18543
18553
  key: 0,
18544
18554
  class: "text-message__context-menu",
18545
18555
  actions: e.message.actions,
18546
18556
  onClick: m
18547
- }, null, 8, ["actions"])) : p("", !0)
18557
+ }, null, 8, ["actions"])) : h("", !0)
18548
18558
  ]),
18549
18559
  _: 1
18550
18560
  })
@@ -18602,20 +18612,20 @@ const eu = ["data-theme"], tu = {
18602
18612
  for (let L of s.value)
18603
18613
  L.selected = !1;
18604
18614
  s.value[z].selected = !0, c.value && (c.value.playbackRate = s.value[z].speed);
18605
- }, r = t, c = b(), u = b(!1), g = b(0), d = b(0), m = b(!1), h = b(!1), v = b(!1), _ = Y(() => f.message.text ? Te(f.message.text) : ""), y = (z) => {
18615
+ }, r = t, c = b(), u = b(!1), g = b(0), d = b(0), m = b(!1), v = b(!1), y = b(!1), _ = Y(() => f.message.text ? Te(f.message.text) : ""), p = (z) => {
18606
18616
  r("reply", z);
18607
18617
  };
18608
18618
  function N(z) {
18609
18619
  z.preventDefault(), z.target.href && window.open(z.target.href, "_blank");
18610
18620
  }
18611
18621
  const E = () => {
18612
- h.value = !0;
18613
- }, w = () => {
18614
- h.value = !1, m.value = !1;
18622
+ v.value = !0;
18623
+ }, I = () => {
18624
+ v.value = !1, m.value = !1;
18615
18625
  }, D = () => {
18616
18626
  r("action", { messageId: f.message.messageId, type: "views" });
18617
18627
  }, M = () => {
18618
- }, I = Y(() => rt(f.message.status));
18628
+ }, w = Y(() => rt(f.message.status));
18619
18629
  function C() {
18620
18630
  c.value && (u.value ? c.value.pause() : c.value.play(), u.value = !u.value);
18621
18631
  }
@@ -18649,7 +18659,7 @@ const eu = ["data-theme"], tu = {
18649
18659
  e.applyStyle(e.message)
18650
18660
  ]]),
18651
18661
  messageId: e.message.messageId,
18652
- onMouseleave: w
18662
+ onMouseleave: I
18653
18663
  }, [
18654
18664
  e.message.avatar ? (l(), A("img", {
18655
18665
  key: 0,
@@ -18658,8 +18668,8 @@ const eu = ["data-theme"], tu = {
18658
18668
  height: "32",
18659
18669
  width: "32",
18660
18670
  style: ce({ gridRow: e.message.subText ? "2" : "1" })
18661
- }, null, 12, vd)) : p("", !0),
18662
- e.message.subText ? (l(), A("p", yd, T(e.message.subText), 1)) : p("", !0),
18671
+ }, null, 12, vd)) : h("", !0),
18672
+ e.message.subText ? (l(), A("p", yd, T(e.message.subText), 1)) : h("", !0),
18663
18673
  o("div", {
18664
18674
  class: "audio-message__content",
18665
18675
  onMouseenter: E
@@ -18669,8 +18679,8 @@ const eu = ["data-theme"], tu = {
18669
18679
  style: { "grid-column": "1/3" },
18670
18680
  message: e.message.reply,
18671
18681
  class: j(e.message.position),
18672
- onReply: y
18673
- }, null, 8, ["message", "class"])) : p("", !0),
18682
+ onReply: p
18683
+ }, null, 8, ["message", "class"])) : h("", !0),
18674
18684
  o("div", bd, [
18675
18685
  o("audio", {
18676
18686
  ref_key: "player",
@@ -18707,7 +18717,7 @@ const eu = ["data-theme"], tu = {
18707
18717
  o("div", Id, [
18708
18718
  o("p", wd, T(`${V.value} / ${$.value}`), 1),
18709
18719
  o("div", kd, [
18710
- (l(!0), A(P, null, ie(s.value, (ae, te) => (l(), A("p", {
18720
+ (l(!0), A(q, null, ie(s.value, (ae, te) => (l(), A("p", {
18711
18721
  key: ae.text,
18712
18722
  class: j(["audio-message__speed-btn", { "audio-message__speed-btn-selected": ae.selected }]),
18713
18723
  onClick: (R) => i(te)
@@ -18726,25 +18736,25 @@ const eu = ["data-theme"], tu = {
18726
18736
  ]),
18727
18737
  (X = e.message.transcript) != null && X.text ? (l(), A("div", Td, [
18728
18738
  o("p", {
18729
- onClick: L[1] || (L[1] = (ae) => v.value = !v.value)
18739
+ onClick: L[1] || (L[1] = (ae) => y.value = !y.value)
18730
18740
  }, T(e.message.transcript.text), 1)
18731
- ])) : p("", !0),
18741
+ ])) : h("", !0),
18732
18742
  e.message.text ? (l(), A("div", Ed, [
18733
18743
  o("p", {
18734
18744
  onClick: N,
18735
18745
  innerHTML: _.value
18736
18746
  }, null, 8, Cd)
18737
- ])) : p("", !0),
18738
- e.message.linkPreview ? (l(), U(zt, {
18747
+ ])) : h("", !0),
18748
+ e.message.linkPreview ? (l(), U(Lt, {
18739
18749
  key: 3,
18740
18750
  class: j(["audio-message__link-preview", e.message.position]),
18741
18751
  "link-preview": e.message.linkPreview
18742
- }, null, 8, ["class", "link-preview"])) : p("", !0),
18743
- e.message.embed ? (l(), U(Lt, {
18752
+ }, null, 8, ["class", "link-preview"])) : h("", !0),
18753
+ e.message.embed ? (l(), U(Ut, {
18744
18754
  key: 4,
18745
18755
  class: j(e.message.position),
18746
18756
  embed: e.message.embed
18747
- }, null, 8, ["class", "embed"])) : p("", !0),
18757
+ }, null, 8, ["class", "embed"])) : h("", !0),
18748
18758
  o("div", xd, [
18749
18759
  e.message.views ? (l(), A("div", {
18750
18760
  key: 0,
@@ -18753,40 +18763,40 @@ const eu = ["data-theme"], tu = {
18753
18763
  }, [
18754
18764
  L[7] || (L[7] = o("span", { class: "pi pi-eye" }, null, -1)),
18755
18765
  o("p", null, T(e.message.views), 1)
18756
- ])) : p("", !0),
18766
+ ])) : h("", !0),
18757
18767
  o("span", jd, T(e.message.time), 1),
18758
18768
  Z(e.message) === "audio-message__right" && k(lt).includes(e.message.status) ? (l(), A("div", {
18759
18769
  key: 1,
18760
- class: j(["audio-message__status", I.value])
18770
+ class: j(["audio-message__status", w.value])
18761
18771
  }, [
18762
- e.message.status !== "sent" ? (l(), A("span", Vd)) : p("", !0),
18772
+ e.message.status !== "sent" ? (l(), A("span", Vd)) : h("", !0),
18763
18773
  L[8] || (L[8] = o("span", { class: "pi pi-check" }, null, -1))
18764
- ], 2)) : p("", !0)
18774
+ ], 2)) : h("", !0)
18765
18775
  ]),
18766
- h.value && e.message.actions ? (l(), A("button", {
18776
+ v.value && e.message.actions ? (l(), A("button", {
18767
18777
  key: 5,
18768
18778
  class: "audio-message__menu-button",
18769
18779
  onClick: L[2] || (L[2] = (ae) => m.value = !m.value)
18770
18780
  }, L[9] || (L[9] = [
18771
18781
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18772
- ]))) : p("", !0),
18782
+ ]))) : h("", !0),
18773
18783
  Q(se, null, {
18774
- default: q(() => [
18784
+ default: P(() => [
18775
18785
  m.value && e.message.actions ? (l(), U(k(ct), {
18776
18786
  key: 0,
18777
18787
  class: "audio-message__context-menu",
18778
18788
  actions: e.message.actions,
18779
18789
  onClick: M
18780
- }, null, 8, ["actions"])) : p("", !0)
18790
+ }, null, 8, ["actions"])) : h("", !0)
18781
18791
  ]),
18782
18792
  _: 1
18783
18793
  }),
18784
18794
  (l(), U(ye, { to: "body" }, [
18785
18795
  Q(se, { name: "modal-fade" }, {
18786
- default: q(() => {
18796
+ default: P(() => {
18787
18797
  var ae;
18788
18798
  return [
18789
- v.value ? (l(), A("div", {
18799
+ y.value ? (l(), A("div", {
18790
18800
  key: 0,
18791
18801
  class: "audio-message__modal-overlay",
18792
18802
  "data-theme": k(a)().theme ? k(a)().theme : null
@@ -18794,7 +18804,7 @@ const eu = ["data-theme"], tu = {
18794
18804
  o("div", Od, [
18795
18805
  o("button", {
18796
18806
  class: "audio-message__modal-close-button",
18797
- onClick: L[3] || (L[3] = (te) => v.value = !1)
18807
+ onClick: L[3] || (L[3] = (te) => y.value = !1)
18798
18808
  }, L[10] || (L[10] = [
18799
18809
  o("span", null, [
18800
18810
  o("i", { class: "pi pi-times" })
@@ -18802,7 +18812,7 @@ const eu = ["data-theme"], tu = {
18802
18812
  ])),
18803
18813
  o("p", zd, T((ae = e.message.transcript) == null ? void 0 : ae.text), 1)
18804
18814
  ])
18805
- ], 8, Sd)) : p("", !0)
18815
+ ], 8, Sd)) : h("", !0)
18806
18816
  ];
18807
18817
  }),
18808
18818
  _: 1
@@ -18860,23 +18870,23 @@ const eu = ["data-theme"], tu = {
18860
18870
  function r(B) {
18861
18871
  return B.position === "left" ? "video-message__left" : "video-message__right";
18862
18872
  }
18863
- const c = b(), u = b(), g = b(!1), d = b(!1), m = b(!1), h = b(!1), v = b("");
18873
+ const c = b(), u = b(), g = b(!1), d = b(!1), m = b(!1), v = b(!1), y = b("");
18864
18874
  ee(
18865
18875
  () => f.message.text,
18866
18876
  () => {
18867
- f.message.text && (v.value = Te(f.message.text));
18877
+ f.message.text && (y.value = Te(f.message.text));
18868
18878
  },
18869
18879
  { immediate: !0 }
18870
18880
  );
18871
18881
  function _(B) {
18872
18882
  B.preventDefault(), B.target.href && window.open(B.target.href, "_blank");
18873
18883
  }
18874
- const y = () => {
18884
+ const p = () => {
18875
18885
  s("action", { messageId: f.message.messageId, type: "views" });
18876
18886
  }, N = () => {
18877
18887
  }, E = () => {
18878
- m.value = !0, h.value = !0;
18879
- }, w = () => {
18888
+ m.value = !0, v.value = !0;
18889
+ }, I = () => {
18880
18890
  m.value = !1, d.value = !1;
18881
18891
  }, D = Y(() => rt(f.message.status)), M = () => {
18882
18892
  u.value && (u.value.currentTime = 0, u.value.play());
@@ -18884,15 +18894,15 @@ const eu = ["data-theme"], tu = {
18884
18894
  ee([c, u], ([B, V]) => {
18885
18895
  B ? V && (V.pause(), V.currentTime = 0) : V && (V.play(), V.currentTime = 0);
18886
18896
  });
18887
- const I = Y(() => f.message.reply && f.message.text ? "0" : f.message.text ? "8px 8px 0 0" : f.message.reply ? "0 0 8px 8px" : "8px"), C = () => g.value = !1;
18888
- return (B, V) => (l(), A(P, null, [
18897
+ const w = Y(() => f.message.reply && f.message.text ? "0" : f.message.text ? "8px 8px 0 0" : f.message.reply ? "0 0 8px 8px" : "8px"), C = () => g.value = !1;
18898
+ return (B, V) => (l(), A(q, null, [
18889
18899
  o("div", {
18890
18900
  class: j(["video-message", [
18891
18901
  r(e.message),
18892
18902
  e.applyStyle(e.message)
18893
18903
  ]]),
18894
18904
  messageId: e.message.messageId,
18895
- onMouseleave: w
18905
+ onMouseleave: I
18896
18906
  }, [
18897
18907
  e.message.avatar ? (l(), A("img", {
18898
18908
  key: 0,
@@ -18900,8 +18910,8 @@ const eu = ["data-theme"], tu = {
18900
18910
  src: e.message.avatar,
18901
18911
  height: "32",
18902
18912
  width: "32"
18903
- }, null, 8, Fd)) : p("", !0),
18904
- e.message.subText ? (l(), A("p", Pd, T(e.message.subText), 1)) : p("", !0),
18913
+ }, null, 8, Fd)) : h("", !0),
18914
+ e.message.subText ? (l(), A("p", Pd, T(e.message.subText), 1)) : h("", !0),
18905
18915
  o("div", qd, [
18906
18916
  e.message.reply ? (l(), U(At, {
18907
18917
  key: 0,
@@ -18909,49 +18919,49 @@ const eu = ["data-theme"], tu = {
18909
18919
  class: j(e.message.position),
18910
18920
  message: e.message.reply,
18911
18921
  onReply: i
18912
- }, null, 8, ["class", "message"])) : p("", !0),
18922
+ }, null, 8, ["class", "message"])) : h("", !0),
18913
18923
  o("div", {
18914
18924
  class: "video-message__preview-button",
18915
18925
  onClick: V[0] || (V[0] = ($) => g.value = !0),
18916
18926
  onMouseenter: E,
18917
- onMouseleave: V[1] || (V[1] = ($) => h.value = !h.value)
18927
+ onMouseleave: V[1] || (V[1] = ($) => v.value = !v.value)
18918
18928
  }, [
18919
18929
  o("video", {
18920
18930
  ref_key: "previewPlayer",
18921
18931
  ref: u,
18922
18932
  class: "video-message__video",
18923
- style: ce({ borderRadius: I.value }),
18933
+ style: ce({ borderRadius: w.value }),
18924
18934
  src: e.message.url,
18925
18935
  muted: !0,
18926
18936
  autoplay: "",
18927
18937
  onEnded: M
18928
18938
  }, null, 44, Hd),
18929
18939
  Q(se, { name: "modal-fade" }, {
18930
- default: q(() => [
18931
- h.value ? (l(), A("div", Wd, [
18940
+ default: P(() => [
18941
+ v.value ? (l(), A("div", Wd, [
18932
18942
  e.message.views ? (l(), A("div", {
18933
18943
  key: 0,
18934
18944
  class: "video-message__views",
18935
- onClick: kt(y, ["stop"])
18945
+ onClick: kt(p, ["stop"])
18936
18946
  }, [
18937
18947
  V[3] || (V[3] = o("span", { class: "pi pi-eye" }, null, -1)),
18938
18948
  o("p", null, T(e.message.views), 1)
18939
- ])) : p("", !0),
18949
+ ])) : h("", !0),
18940
18950
  o("span", Kd, T(e.message.time), 1),
18941
18951
  r(e.message) === "video-message__right" && k(lt).includes(e.message.status) ? (l(), A("div", {
18942
18952
  key: 1,
18943
18953
  class: j(["video-message__status", D.value])
18944
18954
  }, [
18945
- e.message.status !== "sent" ? (l(), A("span", Jd)) : p("", !0),
18955
+ e.message.status !== "sent" ? (l(), A("span", Jd)) : h("", !0),
18946
18956
  V[4] || (V[4] = o("span", { class: "pi pi-check" }, null, -1))
18947
- ], 2)) : p("", !0)
18948
- ])) : p("", !0)
18957
+ ], 2)) : h("", !0)
18958
+ ])) : h("", !0)
18949
18959
  ]),
18950
18960
  _: 1
18951
18961
  }),
18952
18962
  Q(se, { name: "modal-fade" }, {
18953
- default: q(() => [
18954
- h.value ? (l(), A("a", {
18963
+ default: P(() => [
18964
+ v.value ? (l(), A("a", {
18955
18965
  key: 0,
18956
18966
  class: "video-message__download-button",
18957
18967
  href: e.message.url,
@@ -18960,61 +18970,61 @@ const eu = ["data-theme"], tu = {
18960
18970
  onClick: kt(() => "//Предотвращаем всплытие события клика", ["stop"])
18961
18971
  }, V[5] || (V[5] = [
18962
18972
  o("span", { class: "pi pi-download" }, null, -1)
18963
- ]), 8, Zd)) : p("", !0)
18973
+ ]), 8, Zd)) : h("", !0)
18964
18974
  ]),
18965
18975
  _: 1
18966
18976
  })
18967
18977
  ], 32),
18968
18978
  Q(se, { name: "modal-fade" }, {
18969
- default: q(() => [
18979
+ default: P(() => [
18970
18980
  m.value && e.message.actions ? (l(), A("button", {
18971
18981
  key: 0,
18972
18982
  class: "video-message__menu-button",
18973
18983
  onClick: V[2] || (V[2] = ($) => d.value = !d.value)
18974
18984
  }, V[6] || (V[6] = [
18975
18985
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18976
- ]))) : p("", !0)
18986
+ ]))) : h("", !0)
18977
18987
  ]),
18978
18988
  _: 1
18979
18989
  }),
18980
18990
  Q(se, { name: "context-menu" }, {
18981
- default: q(() => [
18991
+ default: P(() => [
18982
18992
  d.value && e.message.actions ? (l(), U(k(ct), {
18983
18993
  key: 0,
18984
18994
  class: "video-message__context-menu",
18985
18995
  actions: e.message.actions,
18986
18996
  onClick: N
18987
- }, null, 8, ["actions"])) : p("", !0)
18997
+ }, null, 8, ["actions"])) : h("", !0)
18988
18998
  ]),
18989
18999
  _: 1
18990
19000
  }),
18991
19001
  e.message.text ? (l(), A("div", Gd, [
18992
19002
  o("p", {
18993
19003
  onClick: _,
18994
- innerHTML: v.value
19004
+ innerHTML: y.value
18995
19005
  }, null, 8, Xd)
18996
- ])) : p("", !0),
18997
- e.message.linkPreview ? (l(), U(zt, {
19006
+ ])) : h("", !0),
19007
+ e.message.linkPreview ? (l(), U(Lt, {
18998
19008
  key: 2,
18999
19009
  class: j(["video-message__link-preview", e.message.position]),
19000
19010
  "link-preview": e.message.linkPreview
19001
- }, null, 8, ["class", "link-preview"])) : p("", !0),
19002
- e.message.embed ? (l(), U(Lt, {
19011
+ }, null, 8, ["class", "link-preview"])) : h("", !0),
19012
+ e.message.embed ? (l(), U(Ut, {
19003
19013
  key: 3,
19004
19014
  class: j(e.message.position),
19005
19015
  embed: e.message.embed
19006
- }, null, 8, ["class", "embed"])) : p("", !0)
19016
+ }, null, 8, ["class", "embed"])) : h("", !0)
19007
19017
  ])
19008
19018
  ], 42, Yd),
19009
19019
  (l(), U(ye, { to: "body" }, [
19010
19020
  Q(se, { name: "modal-fade" }, {
19011
- default: q(() => [
19012
- g.value ? (l(), U(xt, {
19021
+ default: P(() => [
19022
+ g.value ? (l(), U(jt, {
19013
19023
  key: 0,
19014
19024
  "data-theme": k(a)().theme ? k(a)().theme : "light",
19015
19025
  onClose: C
19016
19026
  }, {
19017
- default: q(() => [
19027
+ default: P(() => [
19018
19028
  o("video", {
19019
19029
  ref_key: "player",
19020
19030
  ref: c,
@@ -19026,7 +19036,7 @@ const eu = ["data-theme"], tu = {
19026
19036
  }, null, 8, e0)
19027
19037
  ]),
19028
19038
  _: 1
19029
- }, 8, ["data-theme"])) : p("", !0)
19039
+ }, 8, ["data-theme"])) : h("", !0)
19030
19040
  ]),
19031
19041
  _: 1
19032
19042
  })
@@ -19095,8 +19105,8 @@ const eu = ["data-theme"], tu = {
19095
19105
  height: "32",
19096
19106
  width: "32",
19097
19107
  style: ce({ gridRow: e.message.subText ? "2" : "1" })
19098
- }, null, 12, f0)) : p("", !0),
19099
- e.message.subText ? (l(), A("p", s0, T(e.message.subText), 1)) : p("", !0),
19108
+ }, null, 12, f0)) : h("", !0),
19109
+ e.message.subText ? (l(), A("p", s0, T(e.message.subText), 1)) : h("", !0),
19100
19110
  o("div", i0, [
19101
19111
  o("span", {
19102
19112
  class: j(["call-message__icon pi pi-phone", { "call-message__icon-missed": e.message.isMissedCall }])
@@ -19112,10 +19122,10 @@ const eu = ["data-theme"], tu = {
19112
19122
  onClick: r[0] || (r[0] = (u) => a.value = !a.value)
19113
19123
  }, r[2] || (r[2] = [
19114
19124
  o("span", { class: "pi pi-arrow-up-right" }, null, -1)
19115
- ]))) : p("", !0),
19125
+ ]))) : h("", !0),
19116
19126
  (l(), U(ye, { to: "body" }, [
19117
19127
  Q(se, { name: "modal-fade" }, {
19118
- default: q(() => {
19128
+ default: P(() => {
19119
19129
  var u;
19120
19130
  return [
19121
19131
  a.value ? (l(), A("div", {
@@ -19132,7 +19142,7 @@ const eu = ["data-theme"], tu = {
19132
19142
  o("i", { class: "pi pi-times" })
19133
19143
  ], -1)
19134
19144
  ])),
19135
- (l(!0), A(P, null, ie((u = e.message.transcript) == null ? void 0 : u.dialog, (g) => (l(), A("div", {
19145
+ (l(!0), A(q, null, ie((u = e.message.transcript) == null ? void 0 : u.dialog, (g) => (l(), A("div", {
19136
19146
  key: g.time,
19137
19147
  class: j(s(g, f.textDialog))
19138
19148
  }, [
@@ -19140,7 +19150,7 @@ const eu = ["data-theme"], tu = {
19140
19150
  o("span", null, T(g.time), 1)
19141
19151
  ], 2))), 128))
19142
19152
  ])
19143
- ], 8, g0)) : p("", !0)
19153
+ ], 8, g0)) : h("", !0)
19144
19154
  ];
19145
19155
  }),
19146
19156
  _: 1
@@ -19183,8 +19193,8 @@ const eu = ["data-theme"], tu = {
19183
19193
  height: "32",
19184
19194
  width: "32",
19185
19195
  style: ce({ gridRow: e.message.subText ? "2" : "1" })
19186
- }, null, 12, I0)) : p("", !0),
19187
- e.message.subText ? (l(), A("p", w0, T(e.message.subText), 1)) : p("", !0),
19196
+ }, null, 12, I0)) : h("", !0),
19197
+ e.message.subText ? (l(), A("p", w0, T(e.message.subText), 1)) : h("", !0),
19188
19198
  n[0] || (n[0] = o("div", { class: "typing-message__loader-container" }, [
19189
19199
  o("div", { class: "typing-message__loader" })
19190
19200
  ], -1))
@@ -19211,7 +19221,7 @@ const eu = ["data-theme"], tu = {
19211
19221
  f.preventDefault(), f.target.href && window.open(f.target.href, "_blank");
19212
19222
  }
19213
19223
  return (f, s) => (l(), A("div", N0, [
19214
- e.message.header ? (l(), A("p", D0, T(e.message.header), 1)) : p("", !0),
19224
+ e.message.header ? (l(), A("p", D0, T(e.message.header), 1)) : h("", !0),
19215
19225
  o("p", {
19216
19226
  class: "text",
19217
19227
  onClick: a,
@@ -19240,7 +19250,7 @@ const eu = ["data-theme"], tu = {
19240
19250
  c.preventDefault(), c.target.href && window.open(c.target.href, "_blank");
19241
19251
  }
19242
19252
  const r = () => f.value = !1;
19243
- return (c, u) => (l(), A(P, null, [
19253
+ return (c, u) => (l(), A(q, null, [
19244
19254
  o("div", {
19245
19255
  class: "image-message__preview-button",
19246
19256
  onClick: u[0] || (u[0] = (g) => f.value = !0)
@@ -19252,7 +19262,7 @@ const eu = ["data-theme"], tu = {
19252
19262
  }, null, 8, x0)
19253
19263
  ]),
19254
19264
  o("div", j0, [
19255
- e.message.header ? (l(), A("p", V0, T(e.message.header), 1)) : p("", !0),
19265
+ e.message.header ? (l(), A("p", V0, T(e.message.header), 1)) : h("", !0),
19256
19266
  u[1] || (u[1] = o("div", { class: "image-message__reply-description" }, [
19257
19267
  o("span", { class: "pi pi-camera" }),
19258
19268
  o("p", null, "Фотография")
@@ -19262,17 +19272,17 @@ const eu = ["data-theme"], tu = {
19262
19272
  class: "image-message__text",
19263
19273
  onClick: i,
19264
19274
  innerHTML: s.value
19265
- }, null, 8, S0)) : p("", !0)
19275
+ }, null, 8, S0)) : h("", !0)
19266
19276
  ]),
19267
19277
  (l(), U(ye, { to: "body" }, [
19268
19278
  Q(se, { name: "modal-fade" }, {
19269
- default: q(() => [
19270
- f.value ? (l(), U(xt, {
19279
+ default: P(() => [
19280
+ f.value ? (l(), U(jt, {
19271
19281
  key: 0,
19272
19282
  "data-theme": k(n)().theme ? k(n)().theme : "light",
19273
19283
  onClose: r
19274
19284
  }, {
19275
- default: q(() => [
19285
+ default: P(() => [
19276
19286
  o("img", {
19277
19287
  class: "image-message__modal-image",
19278
19288
  src: e.message.url,
@@ -19280,7 +19290,7 @@ const eu = ["data-theme"], tu = {
19280
19290
  }, null, 8, O0)
19281
19291
  ]),
19282
19292
  _: 1
19283
- }, 8, ["data-theme"])) : p("", !0)
19293
+ }, 8, ["data-theme"])) : h("", !0)
19284
19294
  ]),
19285
19295
  _: 1
19286
19296
  })
@@ -19307,14 +19317,14 @@ const eu = ["data-theme"], tu = {
19307
19317
  function f(s) {
19308
19318
  s.preventDefault(), s.target.href && window.open(s.target.href, "_blank");
19309
19319
  }
19310
- return (s, i) => (l(), A(P, null, [
19320
+ return (s, i) => (l(), A(q, null, [
19311
19321
  re(o("div", U0, i[0] || (i[0] = [
19312
19322
  o("span", { class: "pi pi-play" }, null, -1)
19313
19323
  ]), 512), [
19314
19324
  [De, !n.value]
19315
19325
  ]),
19316
19326
  o("div", B0, [
19317
- e.message.header ? (l(), A("p", R0, T(e.message.header), 1)) : p("", !0),
19327
+ e.message.header ? (l(), A("p", R0, T(e.message.header), 1)) : h("", !0),
19318
19328
  i[1] || (i[1] = o("div", { class: "audio-message__reply-description" }, [
19319
19329
  o("span", { class: "pi pi-microphone" }),
19320
19330
  o("p", null, "Аудиосообщение")
@@ -19324,7 +19334,7 @@ const eu = ["data-theme"], tu = {
19324
19334
  class: "audio-message__text",
19325
19335
  onClick: f,
19326
19336
  innerHTML: a.value
19327
- }, null, 8, Q0)) : p("", !0)
19337
+ }, null, 8, Q0)) : h("", !0)
19328
19338
  ])
19329
19339
  ], 64));
19330
19340
  }
@@ -19349,7 +19359,7 @@ const eu = ["data-theme"], tu = {
19349
19359
  u.preventDefault(), u.target.href && window.open(u.target.href, "_blank");
19350
19360
  }
19351
19361
  const c = () => s.value = !1;
19352
- return (u, g) => (l(), A(P, null, [
19362
+ return (u, g) => (l(), A(q, null, [
19353
19363
  o("div", {
19354
19364
  class: "video-message__preview-button",
19355
19365
  onClick: g[0] || (g[0] = (d) => s.value = !0)
@@ -19361,7 +19371,7 @@ const eu = ["data-theme"], tu = {
19361
19371
  }, null, 8, F0)
19362
19372
  ]),
19363
19373
  o("div", P0, [
19364
- e.message.header ? (l(), A("p", q0, T(e.message.header), 1)) : p("", !0),
19374
+ e.message.header ? (l(), A("p", q0, T(e.message.header), 1)) : h("", !0),
19365
19375
  g[1] || (g[1] = o("div", { class: "video-message__reply-description" }, [
19366
19376
  o("span", { class: "pi pi-video" }),
19367
19377
  o("p", null, "Видео")
@@ -19371,17 +19381,17 @@ const eu = ["data-theme"], tu = {
19371
19381
  class: "video-message__text",
19372
19382
  onClick: r,
19373
19383
  innerHTML: i.value
19374
- }, null, 8, H0)) : p("", !0)
19384
+ }, null, 8, H0)) : h("", !0)
19375
19385
  ]),
19376
19386
  (l(), U(ye, { to: "body" }, [
19377
19387
  Q(se, { name: "modal-fade" }, {
19378
- default: q(() => [
19379
- s.value ? (l(), U(xt, {
19388
+ default: P(() => [
19389
+ s.value ? (l(), U(jt, {
19380
19390
  key: 0,
19381
19391
  "data-theme": k(n)().theme ? k(n)().theme : "light",
19382
19392
  onClose: c
19383
19393
  }, {
19384
- default: q(() => [
19394
+ default: P(() => [
19385
19395
  o("video", {
19386
19396
  ref_key: "player",
19387
19397
  ref: f,
@@ -19393,7 +19403,7 @@ const eu = ["data-theme"], tu = {
19393
19403
  }, null, 8, W0)
19394
19404
  ]),
19395
19405
  _: 1
19396
- }, 8, ["data-theme"])) : p("", !0)
19406
+ }, 8, ["data-theme"])) : h("", !0)
19397
19407
  ]),
19398
19408
  _: 1
19399
19409
  })
@@ -19420,7 +19430,7 @@ const eu = ["data-theme"], tu = {
19420
19430
  function a(f) {
19421
19431
  f.preventDefault(), f.target.href && window.open(f.target.href, "_blank");
19422
19432
  }
19423
- return (f, s) => (l(), A(P, null, [
19433
+ return (f, s) => (l(), A(q, null, [
19424
19434
  o("a", {
19425
19435
  class: "file-message__link",
19426
19436
  href: e.message.url,
@@ -19430,7 +19440,7 @@ const eu = ["data-theme"], tu = {
19430
19440
  o("span", { class: "pi pi-file" }, null, -1)
19431
19441
  ]), 8, Z0),
19432
19442
  o("div", null, [
19433
- e.message.header ? (l(), A("p", G0, T(e.message.header), 1)) : p("", !0),
19443
+ e.message.header ? (l(), A("p", G0, T(e.message.header), 1)) : h("", !0),
19434
19444
  o("a", {
19435
19445
  class: "file-message__link",
19436
19446
  href: e.message.url,
@@ -19444,7 +19454,7 @@ const eu = ["data-theme"], tu = {
19444
19454
  class: "file-message__text",
19445
19455
  onClick: a,
19446
19456
  innerHTML: n.value
19447
- }, null, 8, tg)) : p("", !0)
19457
+ }, null, 8, tg)) : h("", !0)
19448
19458
  ])
19449
19459
  ], 64));
19450
19460
  }
@@ -19506,16 +19516,16 @@ const eu = ["data-theme"], tu = {
19506
19516
  setup(e, { emit: t }) {
19507
19517
  const n = e, a = b({ x: 0, y: 0 }), f = b(null), s = b(null), i = b(!1), r = b(0), c = b(0), u = b(0), g = fa();
19508
19518
  et("chatAppId", g), et("extChatAppId", n.extChatAppId ? n.extChatAppId : "");
19509
- const d = (v) => {
19510
- i.value = !0, r.value = v.clientX - f.value.offsetLeft, c.value = v.clientY - f.value.offsetTop;
19511
- }, m = () => i.value = !1, h = (v) => {
19519
+ const d = (y) => {
19520
+ i.value = !0, r.value = y.clientX - f.value.offsetLeft, c.value = y.clientY - f.value.offsetTop;
19521
+ }, m = () => i.value = !1, v = (y) => {
19512
19522
  if (i.value) {
19513
- const _ = v.clientX - r.value, y = v.clientY - c.value;
19514
- a.value.x = _, a.value.y = y;
19523
+ const _ = y.clientX - r.value, p = y.clientY - c.value;
19524
+ a.value.x = _, a.value.y = p;
19515
19525
  }
19516
19526
  };
19517
19527
  return ue(() => {
19518
- document.addEventListener("mousemove", h), window.addEventListener("resize", () => {
19528
+ document.addEventListener("mousemove", v), window.addEventListener("resize", () => {
19519
19529
  f.value && (a.value.x = Math.max(
19520
19530
  0,
19521
19531
  Math.min(
@@ -19530,7 +19540,7 @@ const eu = ["data-theme"], tu = {
19530
19540
  )
19531
19541
  ));
19532
19542
  }), u.value = f.value.offsetHeight - s.value.offsetHeight;
19533
- }), (v, _) => (l(), A("div", {
19543
+ }), (y, _) => (l(), A("div", {
19534
19544
  id: k(g),
19535
19545
  ref_key: "element",
19536
19546
  ref: f,
@@ -19558,13 +19568,13 @@ const eu = ["data-theme"], tu = {
19558
19568
  class: "float-window__avatar",
19559
19569
  src: n.avatar,
19560
19570
  alt: n.title
19561
- }, null, 8, og)) : p("", !0),
19571
+ }, null, 8, og)) : h("", !0),
19562
19572
  o("p", lg, T(n.title), 1),
19563
19573
  o("div", rg, [
19564
- ne(v.$slots, "controls"),
19574
+ ne(y.$slots, "controls"),
19565
19575
  o("button", {
19566
19576
  class: "float-window__close-button",
19567
- onClick: _[0] || (_[0] = (y) => v.$emit("close-window"))
19577
+ onClick: _[0] || (_[0] = (p) => y.$emit("close-window"))
19568
19578
  }, _[1] || (_[1] = [
19569
19579
  o("span", { class: "pi pi-times" }, null, -1)
19570
19580
  ]))
@@ -19574,7 +19584,7 @@ const eu = ["data-theme"], tu = {
19574
19584
  class: "float-window__content",
19575
19585
  style: ce({ height: u.value + "px" })
19576
19586
  }, [
19577
- ne(v.$slots, "default")
19587
+ ne(y.$slots, "default")
19578
19588
  ], 4)
19579
19589
  ])
19580
19590
  ], 12, sg));
@@ -19664,7 +19674,7 @@ const g2 = /* @__PURE__ */ O(Mg, [["render", wg], ["__scopeId", "data-v-08603b18
19664
19674
  ])),
19665
19675
  e.isOpenChatPanel ? (l(), A("div", Eg, [
19666
19676
  ne(a.$slots, "chatpanel", {}, void 0, !0)
19667
- ])) : p("", !0)
19677
+ ])) : h("", !0)
19668
19678
  ], 10, kg));
19669
19679
  }
19670
19680
  }), m2 = /* @__PURE__ */ O(Cg, [["__scopeId", "data-v-05fae5df"]]), xg = ["id"], jg = ["id"], Vg = ["id"], Sg = ["id"], Og = {
@@ -19737,7 +19747,7 @@ export {
19737
19747
  od as I,
19738
19748
  a2 as J,
19739
19749
  f2 as K,
19740
- zt as L,
19750
+ Lt as L,
19741
19751
  s2 as M,
19742
19752
  i2 as N,
19743
19753
  lu as O,
@@ -19784,6 +19794,6 @@ export {
19784
19794
  ct as v,
19785
19795
  e2 as w,
19786
19796
  t2 as x,
19787
- _n as y,
19797
+ Tt as y,
19788
19798
  n2 as z
19789
19799
  };