@mobilon-dev/chotto 0.0.57 → 0.0.58
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,9 +1,9 @@
|
|
1
|
-
import { openBlock as r, createElementBlock as c, createElementVNode as o, toDisplayString as
|
1
|
+
import { openBlock as r, createElementBlock as c, createElementVNode as o, toDisplayString as N, createCommentVNode as v, renderSlot as te, ref as I, inject as de, watch as le, nextTick as xf, unref as x, withDirectives as ce, withKeys as ka, vModelText as uf, normalizeClass as L, createVNode as Q, Transition as H, withCtx as F, createBlock as W, Fragment as P, renderList as Z, defineComponent as X, onUpdated as Na, resolveDynamicComponent as Da, normalizeStyle as K, useId as Rt, onMounted as we, onUnmounted as ct, computed as Y, Teleport as hf, toRef as ja, vModelRadio as Rn, reactive as Yn, getCurrentInstance as Ea, toRaw as qn, onBeforeUnmount as Ta, provide as Yt, readonly as Va, vShow as Lf, resolveComponent as Sf, withModifiers as Qe, h as yn, defineAsyncComponent as xa, createApp as Sa } from "vue";
|
2
2
|
const Ca = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", za = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", Re = (e, f) => {
|
3
3
|
for (const t in f)
|
4
4
|
e[t] = f[t];
|
5
5
|
return e;
|
6
|
-
}, Tt = "numeric", Vt = "ascii", xt = "alpha", tf = "asciinumeric", ff = "alphanumeric", St = "domain", $n = "emoji", Oa = "scheme", La = "slashscheme",
|
6
|
+
}, Tt = "numeric", Vt = "ascii", xt = "alpha", tf = "asciinumeric", ff = "alphanumeric", St = "domain", $n = "emoji", Oa = "scheme", La = "slashscheme", bt = "whitespace";
|
7
7
|
function Ua(e, f) {
|
8
8
|
return e in f || (f[e] = []), f[e];
|
9
9
|
}
|
@@ -144,7 +144,7 @@ se.prototype = {
|
|
144
144
|
return a.j[e] = A, A;
|
145
145
|
}
|
146
146
|
};
|
147
|
-
const z = (e, f, t, n, a) => e.ta(f, t, n, a), $ = (e, f, t, n, a) => e.tr(f, t, n, a), Mn = (e, f, t, n, a) => e.ts(f, t, n, a), b = (e, f, t, n, a) => e.tt(f, t, n, a), Ie = "WORD", Ct = "UWORD", Hn = "ASCIINUMERICAL", Fn = "ALPHANUMERICAL", cf = "LOCALHOST", zt = "TLD", Ot = "UTLD",
|
147
|
+
const z = (e, f, t, n, a) => e.ta(f, t, n, a), $ = (e, f, t, n, a) => e.tr(f, t, n, a), Mn = (e, f, t, n, a) => e.ts(f, t, n, a), b = (e, f, t, n, a) => e.tt(f, t, n, a), Ie = "WORD", Ct = "UWORD", Hn = "ASCIINUMERICAL", Fn = "ALPHANUMERICAL", cf = "LOCALHOST", zt = "TLD", Ot = "UTLD", Cf = "SCHEME", Be = "SLASH_SCHEME", qt = "NUM", Lt = "WS", $t = "NL", nf = "OPENBRACE", af = "CLOSEBRACE", Uf = "OPENBRACKET", Bf = "CLOSEBRACKET", Qf = "OPENPAREN", Rf = "CLOSEPAREN", Yf = "OPENANGLEBRACKET", qf = "CLOSEANGLEBRACKET", $f = "FULLWIDTHLEFTPAREN", Hf = "FULLWIDTHRIGHTPAREN", Ff = "LEFTCORNERBRACKET", Pf = "RIGHTCORNERBRACKET", Wf = "LEFTWHITECORNERBRACKET", Kf = "RIGHTWHITECORNERBRACKET", Jf = "FULLWIDTHLESSTHAN", Gf = "FULLWIDTHGREATERTHAN", Zf = "AMPERSAND", Ht = "APOSTROPHE", Xf = "ASTERISK", De = "AT", et = "BACKSLASH", ft = "BACKTICK", tt = "CARET", je = "COLON", Ft = "COMMA", nt = "DOLLAR", me = "DOT", at = "EQUALS", Pt = "EXCLAMATION", ie = "HYPHEN", sf = "PERCENT", st = "PIPE", At = "PLUS", it = "POUND", Af = "QUERY", Wt = "QUOTE", Pn = "FULLWIDTHMIDDLEDOT", Kt = "SEMI", pe = "SLASH", of = "TILDE", ot = "UNDERSCORE", Wn = "EMOJI", lt = "SYM";
|
148
148
|
var Kn = /* @__PURE__ */ Object.freeze({
|
149
149
|
__proto__: null,
|
150
150
|
WORD: Ie,
|
@@ -154,63 +154,63 @@ var Kn = /* @__PURE__ */ Object.freeze({
|
|
154
154
|
LOCALHOST: cf,
|
155
155
|
TLD: zt,
|
156
156
|
UTLD: Ot,
|
157
|
-
SCHEME:
|
157
|
+
SCHEME: Cf,
|
158
158
|
SLASH_SCHEME: Be,
|
159
159
|
NUM: qt,
|
160
160
|
WS: Lt,
|
161
161
|
NL: $t,
|
162
162
|
OPENBRACE: nf,
|
163
163
|
CLOSEBRACE: af,
|
164
|
-
OPENBRACKET:
|
165
|
-
CLOSEBRACKET:
|
166
|
-
OPENPAREN:
|
167
|
-
CLOSEPAREN:
|
168
|
-
OPENANGLEBRACKET:
|
169
|
-
CLOSEANGLEBRACKET:
|
170
|
-
FULLWIDTHLEFTPAREN:
|
171
|
-
FULLWIDTHRIGHTPAREN:
|
172
|
-
LEFTCORNERBRACKET:
|
173
|
-
RIGHTCORNERBRACKET:
|
174
|
-
LEFTWHITECORNERBRACKET:
|
175
|
-
RIGHTWHITECORNERBRACKET:
|
176
|
-
FULLWIDTHLESSTHAN:
|
177
|
-
FULLWIDTHGREATERTHAN:
|
178
|
-
AMPERSAND:
|
164
|
+
OPENBRACKET: Uf,
|
165
|
+
CLOSEBRACKET: Bf,
|
166
|
+
OPENPAREN: Qf,
|
167
|
+
CLOSEPAREN: Rf,
|
168
|
+
OPENANGLEBRACKET: Yf,
|
169
|
+
CLOSEANGLEBRACKET: qf,
|
170
|
+
FULLWIDTHLEFTPAREN: $f,
|
171
|
+
FULLWIDTHRIGHTPAREN: Hf,
|
172
|
+
LEFTCORNERBRACKET: Ff,
|
173
|
+
RIGHTCORNERBRACKET: Pf,
|
174
|
+
LEFTWHITECORNERBRACKET: Wf,
|
175
|
+
RIGHTWHITECORNERBRACKET: Kf,
|
176
|
+
FULLWIDTHLESSTHAN: Jf,
|
177
|
+
FULLWIDTHGREATERTHAN: Gf,
|
178
|
+
AMPERSAND: Zf,
|
179
179
|
APOSTROPHE: Ht,
|
180
|
-
ASTERISK:
|
180
|
+
ASTERISK: Xf,
|
181
181
|
AT: De,
|
182
|
-
BACKSLASH:
|
183
|
-
BACKTICK:
|
184
|
-
CARET:
|
182
|
+
BACKSLASH: et,
|
183
|
+
BACKTICK: ft,
|
184
|
+
CARET: tt,
|
185
185
|
COLON: je,
|
186
186
|
COMMA: Ft,
|
187
|
-
DOLLAR:
|
188
|
-
DOT:
|
189
|
-
EQUALS:
|
187
|
+
DOLLAR: nt,
|
188
|
+
DOT: me,
|
189
|
+
EQUALS: at,
|
190
190
|
EXCLAMATION: Pt,
|
191
191
|
HYPHEN: ie,
|
192
192
|
PERCENT: sf,
|
193
|
-
PIPE:
|
194
|
-
PLUS:
|
195
|
-
POUND:
|
193
|
+
PIPE: st,
|
194
|
+
PLUS: At,
|
195
|
+
POUND: it,
|
196
196
|
QUERY: Af,
|
197
197
|
QUOTE: Wt,
|
198
198
|
FULLWIDTHMIDDLEDOT: Pn,
|
199
199
|
SEMI: Kt,
|
200
|
-
SLASH:
|
200
|
+
SLASH: pe,
|
201
201
|
TILDE: of,
|
202
|
-
UNDERSCORE:
|
202
|
+
UNDERSCORE: ot,
|
203
203
|
EMOJI: Wn,
|
204
|
-
SYM:
|
204
|
+
SYM: lt
|
205
205
|
});
|
206
|
-
const be = /[a-z]/, Xe = new RegExp("\\p{L}", "u"),
|
207
|
-
`, Qa = "️", Ra = "",
|
206
|
+
const be = /[a-z]/, Xe = new RegExp("\\p{L}", "u"), vt = new RegExp("\\p{Emoji}", "u"), ve = /\d/, _t = /\s/, bn = "\r", It = `
|
207
|
+
`, Qa = "️", Ra = "", wt = "";
|
208
208
|
let Df = null, jf = null;
|
209
209
|
function Ya(e = []) {
|
210
210
|
const f = {};
|
211
211
|
se.groups = f;
|
212
212
|
const t = new se();
|
213
|
-
Df == null && (Df = vn(Ca)), jf == null && (jf = vn(za)), b(t, "'", Ht), b(t, "{", nf), b(t, "}", af), b(t, "[",
|
213
|
+
Df == null && (Df = vn(Ca)), jf == null && (jf = vn(za)), b(t, "'", Ht), b(t, "{", nf), b(t, "}", af), b(t, "[", Uf), b(t, "]", Bf), b(t, "(", Qf), b(t, ")", Rf), b(t, "<", Yf), b(t, ">", qf), b(t, "(", $f), b(t, ")", Hf), b(t, "「", Ff), b(t, "」", Pf), b(t, "『", Wf), b(t, "』", Kf), b(t, "<", Jf), b(t, ">", Gf), b(t, "&", Zf), b(t, "*", Xf), b(t, "@", De), b(t, "`", ft), b(t, "^", tt), b(t, ":", je), b(t, ",", Ft), b(t, "$", nt), b(t, ".", me), b(t, "=", at), b(t, "!", Pt), b(t, "-", ie), b(t, "%", sf), b(t, "|", st), b(t, "+", At), b(t, "#", it), b(t, "?", Af), b(t, '"', Wt), b(t, "/", pe), b(t, ";", Kt), b(t, "~", of), b(t, "_", ot), b(t, "\\", et), b(t, "・", Pn);
|
214
214
|
const n = $(t, ve, qt, {
|
215
215
|
[Tt]: !0
|
216
216
|
});
|
@@ -227,49 +227,49 @@ function Ya(e = []) {
|
|
227
227
|
[xt]: !0
|
228
228
|
});
|
229
229
|
$(i, be), $(i, ve, s), $(i, Xe, i), $(s, ve, s), $(s, be), $(s, Xe, s);
|
230
|
-
const l = b(t,
|
231
|
-
[
|
230
|
+
const l = b(t, It, $t, {
|
231
|
+
[bt]: !0
|
232
232
|
}), u = b(t, bn, Lt, {
|
233
|
-
[
|
234
|
-
}), g = $(t,
|
235
|
-
[
|
233
|
+
[bt]: !0
|
234
|
+
}), g = $(t, _t, Lt, {
|
235
|
+
[bt]: !0
|
236
236
|
});
|
237
|
-
b(t,
|
238
|
-
const d = $(t,
|
237
|
+
b(t, wt, g), b(u, It, l), b(u, wt, g), $(u, _t, g), b(g, bn), b(g, It), $(g, _t, g), b(g, wt, g);
|
238
|
+
const d = $(t, vt, Wn, {
|
239
239
|
[$n]: !0
|
240
240
|
});
|
241
|
-
b(d, "#"), $(d,
|
241
|
+
b(d, "#"), $(d, vt, d), b(d, Qa, d);
|
242
242
|
const h = b(d, Ra);
|
243
|
-
b(h, "#"), $(h,
|
244
|
-
const
|
245
|
-
for (let
|
246
|
-
Ne(t, Df[
|
247
|
-
for (let
|
248
|
-
Ne(t, jf[
|
243
|
+
b(h, "#"), $(h, vt, d);
|
244
|
+
const m = [[be, A], [ve, a]], y = [[be, null], [Xe, i], [ve, s]];
|
245
|
+
for (let M = 0; M < Df.length; M++)
|
246
|
+
Ne(t, Df[M], zt, Ie, m);
|
247
|
+
for (let M = 0; M < jf.length; M++)
|
248
|
+
Ne(t, jf[M], Ot, Ct, y);
|
249
249
|
ze(zt, {
|
250
250
|
tld: !0,
|
251
251
|
ascii: !0
|
252
252
|
}, f), ze(Ot, {
|
253
253
|
utld: !0,
|
254
254
|
alpha: !0
|
255
|
-
}, f), Ne(t, "file",
|
255
|
+
}, f), Ne(t, "file", Cf, Ie, m), Ne(t, "mailto", Cf, Ie, m), Ne(t, "http", Be, Ie, m), Ne(t, "https", Be, Ie, m), Ne(t, "ftp", Be, Ie, m), Ne(t, "ftps", Be, Ie, m), ze(Cf, {
|
256
256
|
scheme: !0,
|
257
257
|
ascii: !0
|
258
258
|
}, f), ze(Be, {
|
259
259
|
slashscheme: !0,
|
260
260
|
ascii: !0
|
261
|
-
}, f), e = e.sort((
|
262
|
-
for (let
|
263
|
-
const
|
261
|
+
}, f), e = e.sort((M, p) => M[0] > p[0] ? 1 : -1);
|
262
|
+
for (let M = 0; M < e.length; M++) {
|
263
|
+
const p = e[M][0], k = e[M][1] ? {
|
264
264
|
[Oa]: !0
|
265
265
|
} : {
|
266
266
|
[La]: !0
|
267
267
|
};
|
268
|
-
|
268
|
+
p.indexOf("-") >= 0 ? k[St] = !0 : be.test(p) ? ve.test(p) ? k[tf] = !0 : k[Vt] = !0 : k[Tt] = !0, Mn(t, p, p, k);
|
269
269
|
}
|
270
270
|
return Mn(t, "localhost", cf, {
|
271
271
|
ascii: !0
|
272
|
-
}), t.jd = new se(
|
272
|
+
}), t.jd = new se(lt), {
|
273
273
|
start: t,
|
274
274
|
tokens: Re({
|
275
275
|
groups: f
|
@@ -527,7 +527,7 @@ Gn.prototype = {
|
|
527
527
|
};
|
528
528
|
}
|
529
529
|
};
|
530
|
-
function
|
530
|
+
function dt(e, f) {
|
531
531
|
class t extends Gn {
|
532
532
|
constructor(a, s) {
|
533
533
|
super(a, s), this.t = e;
|
@@ -537,12 +537,12 @@ function ct(e, f) {
|
|
537
537
|
t.prototype[n] = f[n];
|
538
538
|
return t.t = e, t;
|
539
539
|
}
|
540
|
-
const In =
|
540
|
+
const In = dt("email", {
|
541
541
|
isLink: !0,
|
542
542
|
toHref() {
|
543
543
|
return "mailto:" + this.toString();
|
544
544
|
}
|
545
|
-
}), wn =
|
545
|
+
}), wn = dt("text"), $a = dt("nl"), Ef = dt("url", {
|
546
546
|
isLink: !0,
|
547
547
|
/**
|
548
548
|
Lowercases relevant parts of the domain and adds the protocol if
|
@@ -566,50 +566,50 @@ const In = ct("email", {
|
|
566
566
|
function Ha({
|
567
567
|
groups: e
|
568
568
|
}) {
|
569
|
-
const f = e.domain.concat([
|
569
|
+
const f = e.domain.concat([Zf, Xf, De, et, ft, tt, nt, at, ie, qt, sf, st, At, it, pe, lt, of, ot]), t = [je, Ft, me, Pt, sf, Af, Wt, Kt, Yf, qf, nf, af, Bf, Uf, Qf, Rf, $f, Hf, Ff, Pf, Wf, Kf, Jf, Gf], n = [Zf, Ht, Xf, et, ft, tt, nt, at, ie, nf, af, sf, st, At, it, Af, pe, lt, of, ot], a = Ae(), s = b(a, of);
|
570
570
|
z(s, n, s), z(s, e.domain, s);
|
571
571
|
const A = Ae(), i = Ae(), l = Ae();
|
572
572
|
z(a, e.domain, A), z(a, e.scheme, i), z(a, e.slashscheme, l), z(A, n, s), z(A, e.domain, A);
|
573
573
|
const u = b(A, De);
|
574
574
|
b(s, De, u), b(i, De, u), b(l, De, u);
|
575
|
-
const g = b(s,
|
575
|
+
const g = b(s, me);
|
576
576
|
z(g, n, s), z(g, e.domain, s);
|
577
577
|
const d = Ae();
|
578
578
|
z(u, e.domain, d), z(d, e.domain, d);
|
579
|
-
const h = b(d,
|
579
|
+
const h = b(d, me);
|
580
580
|
z(h, e.domain, d);
|
581
|
-
const
|
582
|
-
z(h, e.tld,
|
581
|
+
const m = Ae(In);
|
582
|
+
z(h, e.tld, m), z(h, e.utld, m), b(u, cf, m);
|
583
583
|
const y = b(d, ie);
|
584
|
-
b(y, ie, y), z(y, e.domain, d), z(
|
585
|
-
const
|
586
|
-
z(
|
587
|
-
const
|
588
|
-
b(
|
589
|
-
const
|
590
|
-
z(
|
591
|
-
const
|
592
|
-
z(
|
584
|
+
b(y, ie, y), z(y, e.domain, d), z(m, e.domain, d), b(m, me, h), b(m, ie, y);
|
585
|
+
const M = b(m, je);
|
586
|
+
z(M, e.numeric, In);
|
587
|
+
const p = b(A, ie), _ = b(A, me);
|
588
|
+
b(p, ie, p), z(p, e.domain, A), z(_, n, s), z(_, e.domain, A);
|
589
|
+
const k = Ae(Ef);
|
590
|
+
z(_, e.tld, k), z(_, e.utld, k), z(k, e.domain, A), z(k, n, s), b(k, me, _), b(k, ie, p), b(k, De, u);
|
591
|
+
const S = b(k, je), w = Ae(Ef);
|
592
|
+
z(S, e.numeric, w);
|
593
593
|
const j = Ae(Ef), U = Ae();
|
594
|
-
z(j, f, j), z(j, t, U), z(U, f, j), z(U, t, U), b(
|
595
|
-
const E = b(i, je), V = b(l, je), T = b(V,
|
596
|
-
z(i, e.domain, A), b(i,
|
594
|
+
z(j, f, j), z(j, t, U), z(U, f, j), z(U, t, U), b(k, pe, j), b(w, pe, j);
|
595
|
+
const E = b(i, je), V = b(l, je), T = b(V, pe), O = b(T, pe);
|
596
|
+
z(i, e.domain, A), b(i, me, _), b(i, ie, p), z(l, e.domain, A), b(l, me, _), b(l, ie, p), z(E, e.domain, j), b(E, pe, j), b(E, Af, j), z(O, e.domain, j), z(O, f, j), b(O, pe, j);
|
597
597
|
const D = [
|
598
598
|
[nf, af],
|
599
599
|
// {}
|
600
|
-
[
|
600
|
+
[Uf, Bf],
|
601
601
|
// []
|
602
|
-
[
|
602
|
+
[Qf, Rf],
|
603
603
|
// ()
|
604
|
-
[
|
604
|
+
[Yf, qf],
|
605
605
|
// <>
|
606
|
-
[
|
606
|
+
[$f, Hf],
|
607
607
|
// ()
|
608
|
-
[
|
608
|
+
[Ff, Pf],
|
609
609
|
// 「」
|
610
|
-
[
|
610
|
+
[Wf, Kf],
|
611
611
|
// 『』
|
612
|
-
[
|
612
|
+
[Jf, Gf]
|
613
613
|
// <>
|
614
614
|
];
|
615
615
|
for (let C = 0; C < D.length; C++) {
|
@@ -620,7 +620,7 @@ function Ha({
|
|
620
620
|
const G = Ae();
|
621
621
|
z(fe, t), z(q, f, q), z(q, t, G), z(G, f, q), z(G, t, G), b(q, J, j), b(G, J, j);
|
622
622
|
}
|
623
|
-
return b(a, cf,
|
623
|
+
return b(a, cf, k), b(a, $t, $a), {
|
624
624
|
start: a,
|
625
625
|
tokens: Kn
|
626
626
|
};
|
@@ -636,14 +636,14 @@ function Fa(e, f, t) {
|
|
636
636
|
if (h < 0)
|
637
637
|
a -= g, a < n && (A.push(t[a]), a++);
|
638
638
|
else {
|
639
|
-
A.length > 0 && (s.push(
|
640
|
-
const
|
641
|
-
s.push(
|
639
|
+
A.length > 0 && (s.push(kt(wn, f, A)), A = []), a -= h, g -= h;
|
640
|
+
const m = d.t, y = t.slice(a - g, a);
|
641
|
+
s.push(kt(m, f, y));
|
642
642
|
}
|
643
643
|
}
|
644
|
-
return A.length > 0 && s.push(
|
644
|
+
return A.length > 0 && s.push(kt(wn, f, A)), s;
|
645
645
|
}
|
646
|
-
function
|
646
|
+
function kt(e, f, t) {
|
647
647
|
const n = t[0].s, a = t[t.length - 1].e, s = f.slice(n, a);
|
648
648
|
return new e(s, t);
|
649
649
|
}
|
@@ -745,16 +745,16 @@ const B = (e, f) => {
|
|
745
745
|
}, null, 8, Xa)) : (r(), c("span", es))
|
746
746
|
]),
|
747
747
|
o("div", fs, [
|
748
|
-
o("h2", ts,
|
749
|
-
e.chat["lastActivity.time"] ? (r(), c("p", ns,
|
748
|
+
o("h2", ts, N(e.chat.name), 1),
|
749
|
+
e.chat["lastActivity.time"] ? (r(), c("p", ns, N(e.chat["lastActivity.time"]), 1)) : v("", !0)
|
750
750
|
]),
|
751
751
|
o("div", as, [
|
752
752
|
te(n.$slots, "actions", {}, void 0, !0)
|
753
753
|
])
|
754
754
|
])) : v("", !0);
|
755
755
|
}
|
756
|
-
},
|
757
|
-
const f =
|
756
|
+
}, Xu = /* @__PURE__ */ B(ss, [["__scopeId", "data-v-26bb16be"]]), _e = I([]), yf = (e) => {
|
757
|
+
const f = I(0);
|
758
758
|
let t = _e.value.find(({ id: l }) => l == e);
|
759
759
|
t != null ? f.value = _e.value.indexOf(t) : (_e.value.push({
|
760
760
|
id: e,
|
@@ -813,7 +813,7 @@ const B = (e, f) => {
|
|
813
813
|
name: "Pусский",
|
814
814
|
flag: "russian"
|
815
815
|
}
|
816
|
-
], kn =
|
816
|
+
], kn = I(ea[1]);
|
817
817
|
let os = {
|
818
818
|
ru: As,
|
819
819
|
en: is
|
@@ -840,11 +840,11 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
840
840
|
},
|
841
841
|
emits: ["send", "typing", "selectChannel"],
|
842
842
|
setup(e, { emit: f }) {
|
843
|
-
const t = f, n =
|
843
|
+
const t = f, n = de("chatAppId"), { resetMessage: a, getMessage: s, setMessageText: A } = yf(n), i = I(null);
|
844
844
|
le(
|
845
845
|
() => s().text,
|
846
846
|
() => {
|
847
|
-
|
847
|
+
xf(function() {
|
848
848
|
i.value.style.height = "auto", i.value.style.scrollHeight = "auto", i.value.style.height = i.value.scrollHeight + "px";
|
849
849
|
});
|
850
850
|
}
|
@@ -860,38 +860,38 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
860
860
|
d.preventDefault(), g();
|
861
861
|
}, g = () => {
|
862
862
|
var h;
|
863
|
-
const d =
|
863
|
+
const d = I(s());
|
864
864
|
if (d.value.text != "" || d.value.file) {
|
865
|
-
const
|
865
|
+
const m = {
|
866
866
|
type: null,
|
867
867
|
text: null,
|
868
868
|
url: null,
|
869
869
|
filename: null,
|
870
870
|
size: null
|
871
871
|
};
|
872
|
-
d.value.file ? (
|
872
|
+
d.value.file ? (m.type = "message." + d.value.file.type, m.url = d.value.file.url, m.filename = d.value.file.name, m.size = d.value.file.size, m.text = (h = d == null ? void 0 : d.value) == null ? void 0 : h.text.trim()) : (m.type = "message.text", m.text = d.value.text.trim()), t("send", m), a(), x(i).focus();
|
873
873
|
}
|
874
874
|
};
|
875
875
|
return (d, h) => (r(), c("div", rs, [
|
876
876
|
o("div", us, [
|
877
877
|
o("div", {
|
878
|
-
id: "chat-input-first-line-" +
|
878
|
+
id: "chat-input-first-line-" + x(n),
|
879
879
|
class: "chat-input__first-line"
|
880
880
|
}, null, 8, cs),
|
881
881
|
o("div", ds, [
|
882
882
|
ce(o("textarea", {
|
883
883
|
ref_key: "refInput",
|
884
884
|
ref: i,
|
885
|
-
"onUpdate:modelValue": h[0] || (h[0] = (
|
885
|
+
"onUpdate:modelValue": h[0] || (h[0] = (m) => x(s)().text = m),
|
886
886
|
class: "chat-input__input",
|
887
|
-
placeholder:
|
887
|
+
placeholder: x(Oe)("component.ChatInput.InputPlaceholder"),
|
888
888
|
onKeydown: ka(u, ["enter"]),
|
889
889
|
onInput: l
|
890
890
|
}, null, 40, gs), [
|
891
|
-
[uf,
|
891
|
+
[uf, x(s)().text]
|
892
892
|
]),
|
893
893
|
o("button", {
|
894
|
-
class: L(["chat-input__button-send", { "chat-input__button-send-disabled":
|
894
|
+
class: L(["chat-input__button-send", { "chat-input__button-send-disabled": x(s)().text == "" && !x(s)().file }]),
|
895
895
|
onClick: g
|
896
896
|
}, h[1] || (h[1] = [
|
897
897
|
o("span", { class: "pi pi-send" }, null, -1)
|
@@ -903,7 +903,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
903
903
|
])
|
904
904
|
]));
|
905
905
|
}
|
906
|
-
},
|
906
|
+
}, ec = /* @__PURE__ */ B(ps, [["__scopeId", "data-v-28877966"]]), hs = { class: "chat-list" }, ys = { class: "chat-list__title" }, Ms = {
|
907
907
|
key: 0,
|
908
908
|
class: "pi pi-minus"
|
909
909
|
}, bs = {
|
@@ -928,11 +928,11 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
928
928
|
},
|
929
929
|
emits: ["select", "action"],
|
930
930
|
setup(e, { emit: f }) {
|
931
|
-
const t =
|
931
|
+
const t = I(""), n = I(!1), a = () => {
|
932
932
|
n.value = !1;
|
933
933
|
}, s = e, A = f, i = (d) => {
|
934
|
-
s.chats.forEach((
|
935
|
-
const h = s.chats.find((
|
934
|
+
s.chats.forEach((m) => m.isSelected = !1);
|
935
|
+
const h = s.chats.find((m) => m.chatId === d.chatId);
|
936
936
|
h.isSelected = !0, A("select", d);
|
937
937
|
}, l = () => s.chats.toSorted((d, h) => {
|
938
938
|
if (Number(d["lastActivity.timestamp"]) > Number(h["lastActivity.timestamp"])) return -1;
|
@@ -950,17 +950,17 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
950
950
|
class: "chat-list__title-container",
|
951
951
|
onMouseleave: a
|
952
952
|
}, [
|
953
|
-
o("h2", ys,
|
953
|
+
o("h2", ys, N(x(Oe)("component.ChatList.Title")), 1),
|
954
954
|
e.actions.length ? (r(), c("button", {
|
955
955
|
key: 0,
|
956
956
|
class: "chat-list__button-actions",
|
957
|
-
onClick: h[0] || (h[0] = (
|
957
|
+
onClick: h[0] || (h[0] = (m) => n.value = !n.value)
|
958
958
|
}, [
|
959
959
|
n.value ? (r(), c("span", Ms)) : (r(), c("span", bs))
|
960
960
|
])) : v("", !0),
|
961
961
|
Q(H, null, {
|
962
962
|
default: F(() => [
|
963
|
-
n.value && e.actions ? (r(), W(
|
963
|
+
n.value && e.actions ? (r(), W(x(Ve), {
|
964
964
|
key: 0,
|
965
965
|
actions: e.actions,
|
966
966
|
class: "chat-list__context-menu",
|
@@ -970,35 +970,35 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
970
970
|
_: 1
|
971
971
|
})
|
972
972
|
], 32),
|
973
|
-
e.filterEnabled ? (r(), W(
|
973
|
+
e.filterEnabled ? (r(), W(x(FA), {
|
974
974
|
key: 0,
|
975
975
|
class: "chat-list__filter",
|
976
976
|
onUpdate: u
|
977
977
|
})) : v("", !0),
|
978
978
|
o("div", vs, [
|
979
979
|
o("div", _s, [
|
980
|
-
(r(!0), c(P, null, Z(l().filter((
|
981
|
-
key:
|
980
|
+
(r(!0), c(P, null, Z(l().filter((m) => m.isFixedTop), (m) => (r(), W(x(Nt), {
|
981
|
+
key: m.chatId,
|
982
982
|
class: "chat-list__item",
|
983
|
-
chat:
|
983
|
+
chat: m,
|
984
984
|
onSelect: i,
|
985
985
|
onAction: g
|
986
986
|
}, null, 8, ["chat"]))), 128))
|
987
987
|
]),
|
988
988
|
o("div", Is, [
|
989
|
-
(r(!0), c(P, null, Z(l().filter((
|
990
|
-
key:
|
989
|
+
(r(!0), c(P, null, Z(l().filter((m) => !m.isFixedBottom && !m.isFixedTop), (m) => (r(), W(x(Nt), {
|
990
|
+
key: m.chatId,
|
991
991
|
class: "chat-list__item",
|
992
|
-
chat:
|
992
|
+
chat: m,
|
993
993
|
onSelect: i,
|
994
994
|
onAction: g
|
995
995
|
}, null, 8, ["chat"]))), 128))
|
996
996
|
]),
|
997
997
|
o("div", ws, [
|
998
|
-
(r(!0), c(P, null, Z(l().filter((
|
999
|
-
key:
|
998
|
+
(r(!0), c(P, null, Z(l().filter((m) => m.isFixedBottom), (m) => (r(), W(x(Nt), {
|
999
|
+
key: m.chatId,
|
1000
1000
|
class: "chat-list__item",
|
1001
|
-
chat:
|
1001
|
+
chat: m,
|
1002
1002
|
onSelect: i,
|
1003
1003
|
onAction: g
|
1004
1004
|
}, null, 8, ["chat"]))), 128))
|
@@ -1006,10 +1006,10 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1006
1006
|
])
|
1007
1007
|
]));
|
1008
1008
|
}
|
1009
|
-
},
|
1009
|
+
}, fc = /* @__PURE__ */ B(ks, [["__scopeId", "data-v-ba9fb868"]]), Ns = ["id"], Ds = { class: "message-feed__container" }, js = {
|
1010
1010
|
key: 0,
|
1011
1011
|
class: "message-feed__unread-amount"
|
1012
|
-
},
|
1012
|
+
}, Es = /* @__PURE__ */ X({
|
1013
1013
|
__name: "Feed",
|
1014
1014
|
props: {
|
1015
1015
|
objects: {
|
@@ -1034,65 +1034,69 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1034
1034
|
},
|
1035
1035
|
emits: ["messageAction", "loadMore", "messageVisible"],
|
1036
1036
|
setup(e, { emit: f }) {
|
1037
|
-
const t =
|
1038
|
-
const
|
1039
|
-
|
1040
|
-
},
|
1041
|
-
"message.text":
|
1042
|
-
"message.image":
|
1043
|
-
"message.file":
|
1044
|
-
"message.audio":
|
1045
|
-
"message.video":
|
1046
|
-
"message.call":
|
1047
|
-
"message.system":
|
1048
|
-
"system.date":
|
1037
|
+
const t = I(), n = I(), a = I(!1), s = e, A = de("chatAppId"), i = f, l = () => {
|
1038
|
+
const p = x(n);
|
1039
|
+
p.scrollHeight - p.scrollTop - p.clientHeight < 100 ? a.value = !1 : a.value = !0, p.scrollTop === 0 && i("loadMore");
|
1040
|
+
}, u = (p) => ({
|
1041
|
+
"message.text": cr,
|
1042
|
+
"message.image": tr,
|
1043
|
+
"message.file": Q1,
|
1044
|
+
"message.audio": Er,
|
1045
|
+
"message.video": Jr,
|
1046
|
+
"message.call": cu,
|
1047
|
+
"message.system": hu,
|
1048
|
+
"system.date": Cr,
|
1049
1049
|
"message.typing": Qn
|
1050
|
-
})[
|
1051
|
-
function
|
1052
|
-
s.isScrollToBottomOnUpdateObjectsEnabled &&
|
1053
|
-
const
|
1054
|
-
|
1050
|
+
})[p];
|
1051
|
+
function g() {
|
1052
|
+
s.isScrollToBottomOnUpdateObjectsEnabled && xf(function() {
|
1053
|
+
const p = x(n);
|
1054
|
+
p.scrollTop = p.scrollHeight;
|
1055
1055
|
});
|
1056
1056
|
}
|
1057
|
-
function
|
1058
|
-
|
1059
|
-
const
|
1060
|
-
|
1057
|
+
function d() {
|
1058
|
+
xf(function() {
|
1059
|
+
const p = x(n);
|
1060
|
+
p.scrollTop = p.scrollHeight;
|
1061
1061
|
});
|
1062
1062
|
}
|
1063
|
-
Na(() =>
|
1064
|
-
const
|
1065
|
-
|
1066
|
-
},
|
1067
|
-
|
1068
|
-
|
1063
|
+
Na(() => g), le(() => s.objects, g);
|
1064
|
+
const h = (p) => {
|
1065
|
+
i("messageAction", p);
|
1066
|
+
}, m = (p) => {
|
1067
|
+
p.forEach((_) => {
|
1068
|
+
_.isIntersecting && i("messageVisible", JSON.parse(_.target.id));
|
1069
1069
|
});
|
1070
|
-
},
|
1071
|
-
root: document.
|
1070
|
+
}, y = {
|
1071
|
+
root: document.getElementById("feed-container-" + A),
|
1072
1072
|
rootMargin: "5px",
|
1073
1073
|
threshold: 0
|
1074
|
-
},
|
1074
|
+
}, M = new IntersectionObserver(m, y);
|
1075
1075
|
return le(
|
1076
1076
|
() => s.objects,
|
1077
1077
|
() => {
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1078
|
+
xf(() => {
|
1079
|
+
t.value = document.querySelectorAll(".message-feed__message"), t.value.forEach((p) => M.observe(p));
|
1080
|
+
});
|
1081
|
+
},
|
1082
|
+
{ immediate: !0 }
|
1083
|
+
), (p, _) => (r(), c("div", {
|
1081
1084
|
ref_key: "refFeed",
|
1082
1085
|
ref: n,
|
1083
1086
|
class: "message-feed",
|
1084
|
-
onScroll:
|
1087
|
+
onScroll: l,
|
1088
|
+
id: "feed-container-" + x(A)
|
1085
1089
|
}, [
|
1086
|
-
o("div",
|
1087
|
-
(r(!0), c(P, null, Z(e.objects, (
|
1088
|
-
key:
|
1089
|
-
id: JSON.stringify(
|
1090
|
+
o("div", Ds, [
|
1091
|
+
(r(!0), c(P, null, Z(e.objects, (k) => (r(), W(Da(u(k.type)), {
|
1092
|
+
key: k.messageId,
|
1093
|
+
id: JSON.stringify(k),
|
1090
1094
|
class: "message-feed__message",
|
1091
|
-
message:
|
1092
|
-
onAction:
|
1095
|
+
message: k,
|
1096
|
+
onAction: h
|
1093
1097
|
}, null, 40, ["id", "message"]))), 128))
|
1094
1098
|
]),
|
1095
|
-
e.typing ? (r(), W(
|
1099
|
+
e.typing ? (r(), W(x(Qn), {
|
1096
1100
|
key: 0,
|
1097
1101
|
message: {
|
1098
1102
|
subText: e.typing.title,
|
@@ -1104,23 +1108,23 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1104
1108
|
a.value ? (r(), c("button", {
|
1105
1109
|
key: 0,
|
1106
1110
|
class: "message-feed__button-down",
|
1107
|
-
onClick:
|
1111
|
+
onClick: d
|
1108
1112
|
}, [
|
1109
|
-
e.buttonParams ? (r(), c("div",
|
1110
|
-
|
1113
|
+
e.buttonParams ? (r(), c("div", js, N(e.buttonParams.unreadAmount), 1)) : v("", !0),
|
1114
|
+
_[0] || (_[0] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
|
1111
1115
|
])) : v("", !0)
|
1112
1116
|
]),
|
1113
1117
|
_: 1
|
1114
1118
|
})
|
1115
|
-
],
|
1119
|
+
], 40, Ns));
|
1116
1120
|
}
|
1117
|
-
}),
|
1121
|
+
}), tc = /* @__PURE__ */ B(Es, [["__scopeId", "data-v-01068107"]]), Ts = { class: "profile" }, Vs = {
|
1118
1122
|
key: 0,
|
1119
1123
|
class: "profile__container"
|
1120
|
-
},
|
1124
|
+
}, xs = {
|
1121
1125
|
key: 0,
|
1122
1126
|
class: "profile__avatar-container"
|
1123
|
-
},
|
1127
|
+
}, Ss = ["src"], Cs = { class: "profile__name" }, zs = { class: "profile__email" }, Os = { class: "profile__phone" }, Ls = {
|
1124
1128
|
__name: "UserProfile",
|
1125
1129
|
props: {
|
1126
1130
|
user: {
|
@@ -1129,9 +1133,9 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1129
1133
|
}
|
1130
1134
|
},
|
1131
1135
|
setup(e) {
|
1132
|
-
return (f, t) => (r(), c("div",
|
1133
|
-
e.user ? (r(), c("div",
|
1134
|
-
e.user.avatar ? (r(), c("div",
|
1136
|
+
return (f, t) => (r(), c("div", Ts, [
|
1137
|
+
e.user ? (r(), c("div", Vs, [
|
1138
|
+
e.user.avatar ? (r(), c("div", xs, [
|
1135
1139
|
o("span", {
|
1136
1140
|
class: "profile__status",
|
1137
1141
|
style: K({ backgroundColor: e.user.status })
|
@@ -1140,15 +1144,15 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1140
1144
|
src: e.user.avatar,
|
1141
1145
|
height: "48",
|
1142
1146
|
width: "48"
|
1143
|
-
}, null, 8,
|
1147
|
+
}, null, 8, Ss)
|
1144
1148
|
])) : v("", !0),
|
1145
|
-
o("h2",
|
1146
|
-
o("p",
|
1147
|
-
o("p",
|
1149
|
+
o("h2", Cs, N(e.user.name), 1),
|
1150
|
+
o("p", zs, N(e.user.email), 1),
|
1151
|
+
o("p", Os, N(e.user.phone), 1)
|
1148
1152
|
])) : v("", !0)
|
1149
1153
|
]));
|
1150
1154
|
}
|
1151
|
-
},
|
1155
|
+
}, nc = /* @__PURE__ */ B(Ls, [["__scopeId", "data-v-04a5ab7d"]]), Us = ["id"], Bs = {
|
1152
1156
|
__name: "ButtonContextMenu",
|
1153
1157
|
props: {
|
1154
1158
|
actions: {
|
@@ -1183,7 +1187,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1183
1187
|
},
|
1184
1188
|
emits: ["click", "buttonClick"],
|
1185
1189
|
setup(e, { emit: f }) {
|
1186
|
-
const t = e, n = Rt(), a = f, s =
|
1190
|
+
const t = e, n = Rt(), a = f, s = I(null), A = I(null), i = (h) => {
|
1187
1191
|
s.value.$el.style.display = "none", a("click", h);
|
1188
1192
|
}, l = () => {
|
1189
1193
|
t.disabled || (t.mode == "click" && (s.value.$el.style.display = "inherit"), a("buttonClick"));
|
@@ -1195,7 +1199,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1195
1199
|
t.mode == "click" && A.value && !A.value.contains(h.target) && (s.value.$el.style.display = "none");
|
1196
1200
|
};
|
1197
1201
|
return we(() => {
|
1198
|
-
var
|
1202
|
+
var M, p;
|
1199
1203
|
const h = {
|
1200
1204
|
top: {
|
1201
1205
|
h: -1,
|
@@ -1214,12 +1218,12 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1214
1218
|
w: 1
|
1215
1219
|
}
|
1216
1220
|
};
|
1217
|
-
let
|
1218
|
-
t.menuSide == "top" && (
|
1219
|
-
}),
|
1221
|
+
let m, y;
|
1222
|
+
t.menuSide == "top" && (m = (M = document.getElementById("container-" + n)) == null ? void 0 : M.offsetWidth, y = (p = document.getElementById("context-menu-" + n)) == null ? void 0 : p.offsetHeight, s.value.$el.style.left = h[t.menuSide].w * m + "px"), t.menuSide == "bottom" && (m = document.getElementById("context-menu-" + n).offsetWidth, y = document.getElementById("container-" + n).offsetHeight, s.value.$el.style.right = h[t.menuSide].w * m + "px"), t.menuSide == "left" && (m = document.getElementById("container-" + n).offsetWidth, y = document.getElementById("context-menu-" + n).offsetHeight, s.value.$el.style.right = h[t.menuSide].w * m + "px"), t.menuSide == "right" && (m = document.getElementById("container-" + n).offsetWidth, y = document.getElementById("context-menu-" + n).offsetHeight, s.value.$el.style.left = h[t.menuSide].w * m + "px"), s.value.$el.style.top = h[t.menuSide].h * y + "px", s.value.$el.style.display = "none", document.addEventListener("click", d);
|
1223
|
+
}), ct(() => {
|
1220
1224
|
document.removeEventListener("click", d);
|
1221
|
-
}), (h,
|
1222
|
-
id: "container-" +
|
1225
|
+
}), (h, m) => (r(), c("div", {
|
1226
|
+
id: "container-" + x(n),
|
1223
1227
|
ref_key: "actionScope",
|
1224
1228
|
ref: A,
|
1225
1229
|
style: { position: "relative", width: "fit-content" }
|
@@ -1234,10 +1238,10 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1234
1238
|
}, [
|
1235
1239
|
o("span", {
|
1236
1240
|
class: L(e.buttonClass)
|
1237
|
-
},
|
1241
|
+
}, N(e.buttonTitle), 3)
|
1238
1242
|
], 34),
|
1239
|
-
Q(
|
1240
|
-
id: "context-menu-" +
|
1243
|
+
Q(x(Ve), {
|
1244
|
+
id: "context-menu-" + x(n),
|
1241
1245
|
ref_key: "contextMenu",
|
1242
1246
|
ref: s,
|
1243
1247
|
actions: e.actions,
|
@@ -1245,15 +1249,15 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1245
1249
|
onMouseout: g,
|
1246
1250
|
onClick: i
|
1247
1251
|
}, null, 8, ["id", "actions"])
|
1248
|
-
], 8,
|
1252
|
+
], 8, Us));
|
1249
1253
|
}
|
1250
|
-
}, fa = /* @__PURE__ */ B(
|
1251
|
-
function
|
1254
|
+
}, fa = /* @__PURE__ */ B(Bs, [["__scopeId", "data-v-a9333b83"]]);
|
1255
|
+
function ac(e) {
|
1252
1256
|
if (!e || e === "") return;
|
1253
1257
|
const f = +new Date(Number(e) * 1e3), t = +/* @__PURE__ */ new Date(), n = Math.floor((t - f) / 1e3), a = Math.floor(n / 60), s = Math.floor(a / 60), A = Math.floor(s / 24);
|
1254
1258
|
return A > 30 ? new Date(f).toLocaleDateString("ru-RU") : A > 0 ? `${A} ${A === 1 ? "день" : "дня"} назад` : s > 0 ? `${s} ${s === 1 ? "час" : "часа"} назад` : a > 0 ? `${a} ${a === 1 ? "минута" : "минуты"} назад` : n > 0 ? `${n} ${n === 1 ? "секунда" : "секунды"} назад` : "Только что";
|
1255
1259
|
}
|
1256
|
-
const
|
1260
|
+
const sc = (e) => {
|
1257
1261
|
const f = [];
|
1258
1262
|
let t = null;
|
1259
1263
|
for (let n = 0; n < e.length; n++) {
|
@@ -1267,7 +1271,7 @@ const ac = (e) => {
|
|
1267
1271
|
}), t = s), f.push(a);
|
1268
1272
|
}
|
1269
1273
|
return f;
|
1270
|
-
},
|
1274
|
+
}, Ac = async () => {
|
1271
1275
|
try {
|
1272
1276
|
if (await navigator.mediaDevices.getUserMedia({ audio: !0 })) {
|
1273
1277
|
const f = new Audio();
|
@@ -1276,7 +1280,7 @@ const ac = (e) => {
|
|
1276
1280
|
} catch {
|
1277
1281
|
console.log("no audio permissions");
|
1278
1282
|
}
|
1279
|
-
},
|
1283
|
+
}, ic = (e) => e.sort((f, t) => Number(f.timestamp) < Number(t.timestamp) ? -1 : Number(f.timestamp) > Number(t.timestamp) ? 1 : 0), Nn = (e) => {
|
1280
1284
|
let f = "file";
|
1281
1285
|
return e.startsWith("image/") ? f = "image" : e.startsWith("video/") ? f = "video" : e.startsWith("audio/") && (f = "audio"), f;
|
1282
1286
|
}, Ke = ["read", "received", "sent"], Je = (e) => {
|
@@ -1288,7 +1292,7 @@ const ac = (e) => {
|
|
1288
1292
|
default:
|
1289
1293
|
return "";
|
1290
1294
|
}
|
1291
|
-
},
|
1295
|
+
}, Qs = { class: "preview__container" }, Rs = { class: "preview__block" }, Ys = { key: 0 }, qs = ["src"], $s = { key: 1 }, Hs = ["src"], Fs = { key: 2 }, Ps = { key: 3 }, Ws = { class: "preview__control-block" }, Ks = { class: "preview__information" }, Js = { class: "preview__name" }, Gs = { class: "preview__size" }, Zs = {
|
1292
1296
|
__name: "FilePreview",
|
1293
1297
|
props: {
|
1294
1298
|
previewUrl: {
|
@@ -1322,35 +1326,35 @@ const ac = (e) => {
|
|
1322
1326
|
function a() {
|
1323
1327
|
n("reset");
|
1324
1328
|
}
|
1325
|
-
return (s, A) => (r(), c("div",
|
1326
|
-
o("div",
|
1327
|
-
t.isImage ? (r(), c("div",
|
1329
|
+
return (s, A) => (r(), c("div", Qs, [
|
1330
|
+
o("div", Rs, [
|
1331
|
+
t.isImage ? (r(), c("div", Ys, [
|
1328
1332
|
o("img", {
|
1329
1333
|
src: e.previewUrl,
|
1330
1334
|
alt: "Image Preview",
|
1331
1335
|
class: "preview__image"
|
1332
|
-
}, null, 8,
|
1333
|
-
])) : t.isVideo ? (r(), c("div",
|
1336
|
+
}, null, 8, qs)
|
1337
|
+
])) : t.isVideo ? (r(), c("div", $s, [
|
1334
1338
|
o("video", {
|
1335
1339
|
src: e.previewUrl,
|
1336
1340
|
class: "preview__video"
|
1337
|
-
}, null, 8,
|
1338
|
-
])) : t.isAudio ? (r(), c("div",
|
1341
|
+
}, null, 8, Hs)
|
1342
|
+
])) : t.isAudio ? (r(), c("div", Fs, A[0] || (A[0] = [
|
1339
1343
|
o("span", {
|
1340
1344
|
class: "pi pi-headphones",
|
1341
1345
|
style: { "font-size": "2.5rem" }
|
1342
1346
|
}, null, -1)
|
1343
|
-
]))) : (r(), c("div",
|
1347
|
+
]))) : (r(), c("div", Ps, A[1] || (A[1] = [
|
1344
1348
|
o("span", {
|
1345
1349
|
class: "pi pi-file",
|
1346
1350
|
style: { "font-size": "2.5rem" }
|
1347
1351
|
}, null, -1)
|
1348
1352
|
])))
|
1349
1353
|
]),
|
1350
|
-
o("div",
|
1351
|
-
o("div",
|
1352
|
-
o("span",
|
1353
|
-
o("span",
|
1354
|
+
o("div", Ws, [
|
1355
|
+
o("div", Ks, [
|
1356
|
+
o("span", Js, N(e.fileName), 1),
|
1357
|
+
o("span", Gs, N(e.fileSize), 1)
|
1354
1358
|
]),
|
1355
1359
|
o("span", {
|
1356
1360
|
class: "pi pi-times preview__reset",
|
@@ -1360,7 +1364,7 @@ const ac = (e) => {
|
|
1360
1364
|
])
|
1361
1365
|
]));
|
1362
1366
|
}
|
1363
|
-
},
|
1367
|
+
}, Xs = /* @__PURE__ */ B(Zs, [["__scopeId", "data-v-c4e18bbf"]]), eA = { class: "uploader-container" }, fA = { key: 0 }, tA = { key: 1 }, nA = {
|
1364
1368
|
__name: "FileUploader",
|
1365
1369
|
props: {
|
1366
1370
|
filebumpUrl: {
|
@@ -1373,7 +1377,7 @@ const ac = (e) => {
|
|
1373
1377
|
},
|
1374
1378
|
emits: ["fileUploaded"],
|
1375
1379
|
setup(e, { emit: f }) {
|
1376
|
-
const t = e, n =
|
1380
|
+
const t = e, n = I(null), a = I(""), s = I(""), A = I(!1), i = I(!1), l = I(!1), u = I(null), g = I(""), d = de("chatAppId"), { setMessageFile: h, resetMessageFile: m, getMessage: y } = yf(d), M = [
|
1377
1381
|
{
|
1378
1382
|
action: "audio/*",
|
1379
1383
|
title: "Аудио",
|
@@ -1394,11 +1398,11 @@ const ac = (e) => {
|
|
1394
1398
|
title: "Файл",
|
1395
1399
|
prime: "file"
|
1396
1400
|
}
|
1397
|
-
],
|
1398
|
-
n.value = null,
|
1399
|
-
},
|
1400
|
-
|
1401
|
-
},
|
1401
|
+
], p = Y(() => !y().file), _ = () => {
|
1402
|
+
n.value = null, m(), s.value = "", a.value = "";
|
1403
|
+
}, k = (E) => {
|
1404
|
+
_(), console.log("onFileSelected", E.target.files[0]), n.value = E.target.files[0], n.value && (S(), w());
|
1405
|
+
}, S = () => {
|
1402
1406
|
const E = n.value, V = Nn(E.type);
|
1403
1407
|
if (A.value = !1, i.value = !1, l.value = !1, V === "image" ? A.value = !0 : V === "video" ? i.value = !0 : V === "audio" && (l.value = !0), A.value || i.value) {
|
1404
1408
|
const C = new FileReader();
|
@@ -1435,23 +1439,23 @@ const ac = (e) => {
|
|
1435
1439
|
console.error("Ошибка при загрузке файла:", O), a.value = "error";
|
1436
1440
|
}
|
1437
1441
|
}, j = (E) => {
|
1438
|
-
u.value &&
|
1442
|
+
u.value && p && (u.value.accept = E.action, u.value.click());
|
1439
1443
|
}, U = () => {
|
1440
|
-
u.value &&
|
1444
|
+
u.value && p && t.state == "active" && u.value.click();
|
1441
1445
|
};
|
1442
1446
|
return (E, V) => (r(), c(P, null, [
|
1443
|
-
o("div",
|
1444
|
-
a.value === "uploading" ? (r(), c("div",
|
1447
|
+
o("div", eA, [
|
1448
|
+
a.value === "uploading" ? (r(), c("div", fA, V[0] || (V[0] = [
|
1445
1449
|
o("p", null, "Загрузка файла...", -1)
|
1446
|
-
]))) : a.value === "error" ? (r(), c("div",
|
1450
|
+
]))) : a.value === "error" ? (r(), c("div", tA, V[1] || (V[1] = [
|
1447
1451
|
o("p", null, "Ошибка при загрузке файла.", -1)
|
1448
1452
|
]))) : (r(), W(fa, {
|
1449
1453
|
key: 2,
|
1450
|
-
actions:
|
1454
|
+
actions: M,
|
1451
1455
|
mode: "hover",
|
1452
1456
|
"button-class": "pi pi-file-arrow-up",
|
1453
1457
|
"menu-side": "top",
|
1454
|
-
disabled: !
|
1458
|
+
disabled: !p.value || e.state == "disabled",
|
1455
1459
|
onClick: j,
|
1456
1460
|
onButtonClick: U
|
1457
1461
|
}, null, 8, ["disabled"])),
|
@@ -1460,26 +1464,26 @@ const ac = (e) => {
|
|
1460
1464
|
ref: u,
|
1461
1465
|
style: { display: "none" },
|
1462
1466
|
type: "file",
|
1463
|
-
onChange:
|
1467
|
+
onChange: k
|
1464
1468
|
}, null, 544)
|
1465
1469
|
]),
|
1466
|
-
|
1470
|
+
x(y)().file ? (r(), W(hf, {
|
1467
1471
|
key: 0,
|
1468
|
-
to: "#chat-input-first-line-" +
|
1472
|
+
to: "#chat-input-first-line-" + x(d)
|
1469
1473
|
}, [
|
1470
|
-
Q(
|
1474
|
+
Q(Xs, {
|
1471
1475
|
"preview-url": s.value,
|
1472
1476
|
"is-image": A.value,
|
1473
1477
|
"is-video": i.value,
|
1474
1478
|
"is-audio": l.value,
|
1475
|
-
"file-name":
|
1479
|
+
"file-name": x(y)().file.name,
|
1476
1480
|
"file-size": g.value,
|
1477
|
-
onReset:
|
1481
|
+
onReset: _
|
1478
1482
|
}, null, 8, ["preview-url", "is-image", "is-video", "is-audio", "file-name", "file-size"])
|
1479
1483
|
], 8, ["to"])) : v("", !0)
|
1480
1484
|
], 64));
|
1481
1485
|
}
|
1482
|
-
},
|
1486
|
+
}, oc = /* @__PURE__ */ B(nA, [["__scopeId", "data-v-1cdabe09"]]), aA = { key: 0 }, sA = ["value", "selected"], AA = {
|
1483
1487
|
__name: "ThemeMode",
|
1484
1488
|
props: {
|
1485
1489
|
themes: {
|
@@ -1489,7 +1493,7 @@ const ac = (e) => {
|
|
1489
1493
|
show: Boolean
|
1490
1494
|
},
|
1491
1495
|
setup(e) {
|
1492
|
-
const f = e, t =
|
1496
|
+
const f = e, t = de("chatAppId"), n = () => {
|
1493
1497
|
const A = f.themes.find((i) => i.default === !0);
|
1494
1498
|
return A ? A.code : f.themes[0].code;
|
1495
1499
|
}, a = (A) => {
|
@@ -1501,7 +1505,7 @@ const ac = (e) => {
|
|
1501
1505
|
return we(() => {
|
1502
1506
|
const A = n();
|
1503
1507
|
s(A);
|
1504
|
-
}), (A, i) => e.show ? (r(), c("div",
|
1508
|
+
}), (A, i) => e.show ? (r(), c("div", aA, [
|
1505
1509
|
o("select", {
|
1506
1510
|
onChange: i[0] || (i[0] = (l) => a(l))
|
1507
1511
|
}, [
|
@@ -1509,11 +1513,11 @@ const ac = (e) => {
|
|
1509
1513
|
key: u,
|
1510
1514
|
value: l.code,
|
1511
1515
|
selected: l.default === !0
|
1512
|
-
},
|
1516
|
+
}, N(l.name), 9, sA))), 128))
|
1513
1517
|
], 32)
|
1514
1518
|
])) : v("", !0);
|
1515
1519
|
}
|
1516
|
-
},
|
1520
|
+
}, lc = /* @__PURE__ */ B(AA, [["__scopeId", "data-v-a950b8eb"]]), iA = { class: "sidebar" }, oA = { class: "sidebar__container" }, lA = { class: "sidebar__list" }, rA = ["onClick"], uA = ["src", "alt"], cA = { key: 1 }, dA = { class: "sidebar__list-fixed" }, gA = ["onClick"], mA = ["src", "alt"], pA = { key: 1 }, hA = {
|
1517
1521
|
__name: "SideBar",
|
1518
1522
|
props: {
|
1519
1523
|
sidebarItems: {
|
@@ -1531,9 +1535,9 @@ const ac = (e) => {
|
|
1531
1535
|
const l = i.split(" ");
|
1532
1536
|
return l.length > 2 ? l.slice(0, 2).join(" ") : i;
|
1533
1537
|
};
|
1534
|
-
return (i, l) => (r(), c("div",
|
1535
|
-
o("div",
|
1536
|
-
o("ul",
|
1538
|
+
return (i, l) => (r(), c("div", iA, [
|
1539
|
+
o("div", oA, [
|
1540
|
+
o("ul", lA, [
|
1537
1541
|
(r(!0), c(P, null, Z(n.value.filter((u) => !u.isFixedBottom), (u, g) => (r(), c("li", {
|
1538
1542
|
key: g,
|
1539
1543
|
class: "sidebar__item",
|
@@ -1543,15 +1547,15 @@ const ac = (e) => {
|
|
1543
1547
|
src: u.icon,
|
1544
1548
|
alt: u.name,
|
1545
1549
|
class: L(["sidebar__image", { "sidebar__image--active": u.selected === !0 }])
|
1546
|
-
}, null, 10,
|
1550
|
+
}, null, 10, uA),
|
1547
1551
|
u.notificationCount ? (r(), c("span", {
|
1548
1552
|
key: 0,
|
1549
1553
|
style: K({ backgroundColor: u.notificationColor ? u.notificationColor : "red" })
|
1550
|
-
},
|
1551
|
-
u.name ? (r(), c("p",
|
1552
|
-
], 8,
|
1554
|
+
}, N(u.notificationCount > 99 ? "99+" : u.notificationCount), 5)) : v("", !0),
|
1555
|
+
u.name ? (r(), c("p", cA, N(A(u.name)), 1)) : v("", !0)
|
1556
|
+
], 8, rA))), 128))
|
1553
1557
|
]),
|
1554
|
-
o("ul",
|
1558
|
+
o("ul", dA, [
|
1555
1559
|
(r(!0), c(P, null, Z(n.value.filter((u) => u.isFixedBottom), (u, g) => (r(), c("li", {
|
1556
1560
|
key: g,
|
1557
1561
|
class: "sidebar__item",
|
@@ -1561,21 +1565,21 @@ const ac = (e) => {
|
|
1561
1565
|
src: u.icon,
|
1562
1566
|
alt: u.name,
|
1563
1567
|
class: L(["sidebar__image", { "sidebar__image--active": u.selected === !0 }])
|
1564
|
-
}, null, 10,
|
1568
|
+
}, null, 10, mA),
|
1565
1569
|
u.notificationCount ? (r(), c("span", {
|
1566
1570
|
key: 0,
|
1567
1571
|
style: K({ backgroundColor: u.notificationColor ? u.notificationColor : "red" })
|
1568
|
-
},
|
1569
|
-
u.name ? (r(), c("p",
|
1570
|
-
], 8,
|
1572
|
+
}, N(u.notificationCount > 99 ? "99+" : u.notificationCount), 5)) : v("", !0),
|
1573
|
+
u.name ? (r(), c("p", pA, N(A(u.name)), 1)) : v("", !0)
|
1574
|
+
], 8, gA))), 128))
|
1571
1575
|
])
|
1572
1576
|
])
|
1573
1577
|
]));
|
1574
1578
|
}
|
1575
|
-
},
|
1579
|
+
}, rc = /* @__PURE__ */ B(hA, [["__scopeId", "data-v-5e22516c"]]), yA = { class: "chat-panel" }, MA = { class: "chat-panel__title-container" }, bA = {
|
1576
1580
|
key: 0,
|
1577
1581
|
class: "chat-panel__title"
|
1578
|
-
},
|
1582
|
+
}, vA = {
|
1579
1583
|
__name: "ChatPanel",
|
1580
1584
|
props: {
|
1581
1585
|
title: {
|
@@ -1586,9 +1590,9 @@ const ac = (e) => {
|
|
1586
1590
|
},
|
1587
1591
|
emits: ["close-panel"],
|
1588
1592
|
setup(e, { emit: f }) {
|
1589
|
-
return (t, n) => (r(), c("div",
|
1590
|
-
o("div",
|
1591
|
-
e.title ? (r(), c("p",
|
1593
|
+
return (t, n) => (r(), c("div", yA, [
|
1594
|
+
o("div", MA, [
|
1595
|
+
e.title ? (r(), c("p", bA, N(e.title), 1)) : v("", !0),
|
1592
1596
|
o("button", {
|
1593
1597
|
class: "chat-panel__button-close",
|
1594
1598
|
onClick: n[0] || (n[0] = (a) => t.$emit("close-panel"))
|
@@ -1601,16 +1605,16 @@ const ac = (e) => {
|
|
1601
1605
|
])
|
1602
1606
|
]));
|
1603
1607
|
}
|
1604
|
-
},
|
1608
|
+
}, uc = /* @__PURE__ */ B(vA, [["__scopeId", "data-v-1f6ac199"]]), _A = { class: "channels" }, IA = {
|
1605
1609
|
key: 0,
|
1606
1610
|
class: "channels__selected"
|
1607
|
-
},
|
1611
|
+
}, wA = {
|
1608
1612
|
key: 0,
|
1609
1613
|
class: "channels__icon"
|
1610
|
-
},
|
1614
|
+
}, kA = ["src"], NA = { class: "channels__title" }, DA = {
|
1611
1615
|
key: 1,
|
1612
1616
|
class: "channels__selected channels__title"
|
1613
|
-
},
|
1617
|
+
}, jA = {
|
1614
1618
|
__name: "ChannelSelector",
|
1615
1619
|
props: {
|
1616
1620
|
channels: {
|
@@ -1630,21 +1634,21 @@ const ac = (e) => {
|
|
1630
1634
|
},
|
1631
1635
|
emits: ["selectChannel"],
|
1632
1636
|
setup(e, { emit: f }) {
|
1633
|
-
const t = e, n = f, s =
|
1637
|
+
const t = e, n = f, s = I(t.channels.find((i) => i.type === "default")), A = (i) => {
|
1634
1638
|
s.value = i, n("selectChannel", s.value);
|
1635
1639
|
};
|
1636
|
-
return (i, l) => (r(), c("div",
|
1640
|
+
return (i, l) => (r(), c("div", _A, [
|
1637
1641
|
o("div", {
|
1638
1642
|
class: L(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
|
1639
1643
|
}, [
|
1640
|
-
s.value ? (r(), c("div",
|
1641
|
-
s.value.icon ? (r(), c("span",
|
1644
|
+
s.value ? (r(), c("div", IA, [
|
1645
|
+
s.value.icon ? (r(), c("span", wA, [
|
1642
1646
|
o("img", {
|
1643
1647
|
src: s.value.icon
|
1644
|
-
}, null, 8,
|
1648
|
+
}, null, 8, kA)
|
1645
1649
|
])) : v("", !0),
|
1646
|
-
o("span",
|
1647
|
-
])) : (r(), c("span",
|
1650
|
+
o("span", NA, N(s.value.title), 1)
|
1651
|
+
])) : (r(), c("span", DA, "Канал не выбран")),
|
1648
1652
|
Q(fa, {
|
1649
1653
|
actions: e.channels,
|
1650
1654
|
mode: e.mode,
|
@@ -1656,28 +1660,28 @@ const ac = (e) => {
|
|
1656
1660
|
], 2)
|
1657
1661
|
]));
|
1658
1662
|
}
|
1659
|
-
},
|
1663
|
+
}, cc = /* @__PURE__ */ B(jA, [["__scopeId", "data-v-018ec6fe"]]), EA = { class: "chat-item__avatar-container" }, TA = ["src"], VA = {
|
1660
1664
|
key: 1,
|
1661
1665
|
class: "pi pi-user"
|
1662
|
-
},
|
1666
|
+
}, xA = { class: "chat-item__info-container" }, SA = { class: "chat-item__name" }, CA = {
|
1663
1667
|
key: 0,
|
1664
1668
|
class: "chat-item__last-message"
|
1665
|
-
},
|
1669
|
+
}, zA = { class: "chat-item__details-container" }, OA = {
|
1666
1670
|
key: 0,
|
1667
1671
|
class: "chat-item__time"
|
1668
|
-
},
|
1672
|
+
}, LA = {
|
1669
1673
|
key: 1,
|
1670
1674
|
class: "chat-item__unread"
|
1671
|
-
},
|
1675
|
+
}, UA = {
|
1672
1676
|
key: 3,
|
1673
1677
|
class: "chat-item__status-chat-container"
|
1674
|
-
},
|
1678
|
+
}, BA = {
|
1675
1679
|
key: 0,
|
1676
1680
|
class: "pi pi-check"
|
1677
|
-
},
|
1681
|
+
}, QA = {
|
1678
1682
|
key: 1,
|
1679
1683
|
class: "chat-item__fixed pi pi-thumbtack"
|
1680
|
-
},
|
1684
|
+
}, RA = {
|
1681
1685
|
__name: "ChatItem",
|
1682
1686
|
props: {
|
1683
1687
|
chat: {
|
@@ -1689,24 +1693,24 @@ const ac = (e) => {
|
|
1689
1693
|
setup(e, { emit: f }) {
|
1690
1694
|
const t = e, n = f, a = () => {
|
1691
1695
|
n("select", t.chat);
|
1692
|
-
}, s = () => t.chat.isSelected ? "chat-item__selected" : "chat-item", A = (
|
1693
|
-
g(), n("action", { chatId: t.chat.chatId, ...
|
1694
|
-
}, i =
|
1696
|
+
}, s = () => t.chat.isSelected ? "chat-item__selected" : "chat-item", A = (p) => {
|
1697
|
+
g(), n("action", { chatId: t.chat.chatId, ...p });
|
1698
|
+
}, i = I(!1), l = I(!1), u = () => {
|
1695
1699
|
l.value = !0;
|
1696
1700
|
}, g = () => {
|
1697
1701
|
l.value = !1, i.value = !1;
|
1698
1702
|
}, d = Y(() => Je(t.chat["lastMessage.status"]));
|
1699
1703
|
let h;
|
1700
|
-
const
|
1704
|
+
const m = I(0), y = [Oe("component.ChatItem.typing") + ".", Oe("component.ChatItem.typing") + "..", Oe("component.ChatItem.typing") + "..."], M = Y(() => t.chat.typing ? y[m.value] : t.chat.lastMessage);
|
1701
1705
|
return le(
|
1702
1706
|
() => t.chat.typing,
|
1703
1707
|
() => {
|
1704
1708
|
t.chat.typing ? h = setInterval(() => {
|
1705
|
-
|
1706
|
-
}, 1e3) : (
|
1709
|
+
m.value < 2 ? m.value += 1 : m.value = 0;
|
1710
|
+
}, 1e3) : (m.value = 0, clearInterval(h));
|
1707
1711
|
},
|
1708
1712
|
{ immediate: !0 }
|
1709
|
-
), (
|
1713
|
+
), (p, _) => (r(), c("div", {
|
1710
1714
|
class: L(s()),
|
1711
1715
|
onClick: a
|
1712
1716
|
}, [
|
@@ -1715,7 +1719,7 @@ const ac = (e) => {
|
|
1715
1719
|
onMouseenter: u,
|
1716
1720
|
onMouseleave: g
|
1717
1721
|
}, [
|
1718
|
-
o("div",
|
1722
|
+
o("div", EA, [
|
1719
1723
|
o("span", {
|
1720
1724
|
class: "chat-item__status-user",
|
1721
1725
|
style: K({ backgroundColor: t.chat.status })
|
@@ -1725,36 +1729,36 @@ const ac = (e) => {
|
|
1725
1729
|
src: t.chat.avatar,
|
1726
1730
|
height: "48",
|
1727
1731
|
width: "48"
|
1728
|
-
}, null, 8,
|
1732
|
+
}, null, 8, TA)) : (r(), c("span", VA))
|
1729
1733
|
]),
|
1730
|
-
o("div",
|
1731
|
-
o("div",
|
1732
|
-
e.chat.lastMessage || e.chat.typing ? (r(), c("div",
|
1734
|
+
o("div", xA, [
|
1735
|
+
o("div", SA, N(e.chat.name), 1),
|
1736
|
+
e.chat.lastMessage || e.chat.typing ? (r(), c("div", CA, N(M.value), 1)) : v("", !0)
|
1733
1737
|
]),
|
1734
|
-
o("div",
|
1735
|
-
e.chat["lastActivity.time"] && !l.value ? (r(), c("div",
|
1736
|
-
e.chat.countUnread > 0 ? (r(), c("div",
|
1738
|
+
o("div", zA, [
|
1739
|
+
e.chat["lastActivity.time"] && !l.value ? (r(), c("div", OA, N(e.chat["lastActivity.time"]), 1)) : v("", !0),
|
1740
|
+
e.chat.countUnread > 0 ? (r(), c("div", LA, N(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) : v("", !0),
|
1737
1741
|
l.value && e.chat.actions ? (r(), c("button", {
|
1738
1742
|
key: 2,
|
1739
1743
|
class: "chat-item__menu-button",
|
1740
|
-
onClick:
|
1741
|
-
},
|
1744
|
+
onClick: _[0] || (_[0] = (k) => i.value = !i.value)
|
1745
|
+
}, _[1] || (_[1] = [
|
1742
1746
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
1743
1747
|
]))) : v("", !0),
|
1744
|
-
e.chat.countUnread < 1 ? (r(), c("div",
|
1745
|
-
|
1748
|
+
e.chat.countUnread < 1 ? (r(), c("div", UA, [
|
1749
|
+
x(Ke).includes(e.chat["lastMessage.status"]) ? (r(), c("div", {
|
1746
1750
|
key: 0,
|
1747
1751
|
class: L(["chat-item__status-message", d.value])
|
1748
1752
|
}, [
|
1749
|
-
e.chat["lastMessage.status"] !== "sent" ? (r(), c("span",
|
1750
|
-
|
1753
|
+
e.chat["lastMessage.status"] !== "sent" ? (r(), c("span", BA)) : v("", !0),
|
1754
|
+
_[2] || (_[2] = o("span", { class: "pi pi-check" }, null, -1))
|
1751
1755
|
], 2)) : v("", !0),
|
1752
|
-
e.chat.isFixedTop || e.chat.isFixedBottom ? (r(), c("span",
|
1756
|
+
e.chat.isFixedTop || e.chat.isFixedBottom ? (r(), c("span", QA)) : v("", !0)
|
1753
1757
|
])) : v("", !0)
|
1754
1758
|
]),
|
1755
1759
|
Q(H, { name: "menu" }, {
|
1756
1760
|
default: F(() => [
|
1757
|
-
i.value && e.chat.actions ? (r(), W(
|
1761
|
+
i.value && e.chat.actions ? (r(), W(x(Ve), {
|
1758
1762
|
key: 0,
|
1759
1763
|
class: "chat-item__context-menu",
|
1760
1764
|
actions: e.chat.actions,
|
@@ -1766,40 +1770,40 @@ const ac = (e) => {
|
|
1766
1770
|
], 32)
|
1767
1771
|
], 2));
|
1768
1772
|
}
|
1769
|
-
},
|
1773
|
+
}, Nt = /* @__PURE__ */ B(RA, [["__scopeId", "data-v-30b00fea"]]), YA = { class: "chat-filter" }, qA = { class: "chat-filter__container" }, $A = ["placeholder"], HA = {
|
1770
1774
|
__name: "ChatFilter",
|
1771
1775
|
emits: ["update"],
|
1772
1776
|
setup(e, { emit: f }) {
|
1773
|
-
const t =
|
1774
|
-
const s =
|
1777
|
+
const t = I(""), n = f, a = () => {
|
1778
|
+
const s = x(t);
|
1775
1779
|
n("update", s.value);
|
1776
1780
|
};
|
1777
|
-
return (s, A) => (r(), c("div",
|
1778
|
-
o("div",
|
1781
|
+
return (s, A) => (r(), c("div", YA, [
|
1782
|
+
o("div", qA, [
|
1779
1783
|
o("input", {
|
1780
1784
|
ref_key: "refInput",
|
1781
1785
|
ref: t,
|
1782
1786
|
class: "chat-filter__input",
|
1783
1787
|
type: "text",
|
1784
|
-
placeholder:
|
1788
|
+
placeholder: x(Oe)("component.ChatFilter.InputPlaceholder"),
|
1785
1789
|
onInput: a
|
1786
|
-
}, null, 40,
|
1790
|
+
}, null, 40, $A)
|
1787
1791
|
])
|
1788
1792
|
]));
|
1789
1793
|
}
|
1790
|
-
},
|
1794
|
+
}, FA = /* @__PURE__ */ B(HA, [["__scopeId", "data-v-5f1cceb1"]]), PA = { class: "template-selector" }, WA = { class: "template-selector__container" }, KA = { class: "template-selector__button-close" }, JA = { class: "template-selector__list-groups" }, GA = { class: "template-selector__label-group" }, ZA = ["src", "alt"], XA = ["id", "value"], ei = { class: "template-selector__searching-container" }, fi = { class: "template-selector__templates" }, ti = {
|
1791
1795
|
key: 0,
|
1792
1796
|
class: "template-selector__list-templates"
|
1793
|
-
},
|
1797
|
+
}, ni = ["onClick"], ai = { class: "template-selector__item-template-info" }, si = { class: "template-selector__item-title" }, Ai = { class: "template-selector__item-text" }, ii = {
|
1794
1798
|
key: 1,
|
1795
1799
|
class: "template-selector__plug"
|
1796
|
-
},
|
1800
|
+
}, oi = { class: "template-selector__preview-container" }, li = {
|
1797
1801
|
key: 0,
|
1798
1802
|
class: "template-selector__preview"
|
1799
|
-
},
|
1803
|
+
}, ri = { class: "template-selector__preview-wrapper" }, ui = { class: "template-selector__preview-text" }, ci = {
|
1800
1804
|
key: 1,
|
1801
1805
|
class: "template-selector__plug"
|
1802
|
-
},
|
1806
|
+
}, di = {
|
1803
1807
|
__name: "TemplateSelector",
|
1804
1808
|
props: {
|
1805
1809
|
templates: {
|
@@ -1815,53 +1819,53 @@ const ac = (e) => {
|
|
1815
1819
|
},
|
1816
1820
|
emits: ["closeTemplateWindow", "pasteTemplate"],
|
1817
1821
|
setup(e, { emit: f }) {
|
1818
|
-
const t = e, n =
|
1822
|
+
const t = e, n = de("chatAppId"), { setMessageText: a } = yf(n), s = () => {
|
1819
1823
|
A("closeTemplateWindow"), a(l.value.template);
|
1820
|
-
}, A = f, i =
|
1821
|
-
t.templates.forEach((
|
1824
|
+
}, A = f, i = I(null), l = I(null), u = I(""), g = (y) => {
|
1825
|
+
t.templates.forEach((M) => M.isSelected = !1), y.isSelected = !0, l.value = y;
|
1822
1826
|
}, d = () => {
|
1823
1827
|
t.templates.forEach((y) => y.isSelected = !1);
|
1824
|
-
}, h = Y(() => i.value ? t.templates.filter((y) => y.groupId === i.value.groupId) : t.templates),
|
1828
|
+
}, h = Y(() => i.value ? t.templates.filter((y) => y.groupId === i.value.groupId) : t.templates), m = Y(() => {
|
1825
1829
|
const y = u.value.trim().toLowerCase();
|
1826
|
-
return h.value.filter((
|
1830
|
+
return h.value.filter((M) => M.title.toLowerCase().includes(y) || M.template.toLowerCase().includes(y));
|
1827
1831
|
});
|
1828
|
-
return (y,
|
1829
|
-
o("div",
|
1830
|
-
o("button",
|
1832
|
+
return (y, M) => (r(), c("div", PA, [
|
1833
|
+
o("div", WA, [
|
1834
|
+
o("button", KA, [
|
1831
1835
|
o("span", {
|
1832
1836
|
class: "pi pi-times",
|
1833
|
-
onClick:
|
1837
|
+
onClick: M[0] || (M[0] = (p) => y.$emit("closeTemplateWindow"))
|
1834
1838
|
})
|
1835
1839
|
]),
|
1836
|
-
o("ul",
|
1837
|
-
(r(!0), c(P, null, Z(e.groupTemplates, (
|
1838
|
-
key:
|
1839
|
-
class: L(["template-selector__item-group", { "template-selector__item-selected": i.value ===
|
1840
|
+
o("ul", JA, [
|
1841
|
+
(r(!0), c(P, null, Z(e.groupTemplates, (p, _) => (r(), c("li", {
|
1842
|
+
key: _,
|
1843
|
+
class: L(["template-selector__item-group", { "template-selector__item-selected": i.value === p }]),
|
1840
1844
|
onClick: d
|
1841
1845
|
}, [
|
1842
|
-
o("label",
|
1843
|
-
|
1846
|
+
o("label", GA, [
|
1847
|
+
p.iconUrl ? (r(), c("img", {
|
1844
1848
|
key: 0,
|
1845
1849
|
class: "template-selector__item-group-icon",
|
1846
|
-
src:
|
1847
|
-
alt:
|
1848
|
-
}, null, 8,
|
1850
|
+
src: p.iconUrl,
|
1851
|
+
alt: p.title
|
1852
|
+
}, null, 8, ZA)) : v("", !0),
|
1849
1853
|
ce(o("input", {
|
1850
|
-
id:
|
1851
|
-
"onUpdate:modelValue":
|
1852
|
-
value:
|
1854
|
+
id: _,
|
1855
|
+
"onUpdate:modelValue": M[1] || (M[1] = (k) => i.value = k),
|
1856
|
+
value: p,
|
1853
1857
|
class: "template-selector__input-group",
|
1854
1858
|
type: "radio"
|
1855
|
-
}, null, 8,
|
1859
|
+
}, null, 8, XA), [
|
1856
1860
|
[Rn, i.value]
|
1857
1861
|
]),
|
1858
|
-
o("span", null,
|
1862
|
+
o("span", null, N(p.title), 1)
|
1859
1863
|
])
|
1860
1864
|
], 2))), 128))
|
1861
1865
|
]),
|
1862
|
-
o("div",
|
1866
|
+
o("div", ei, [
|
1863
1867
|
ce(o("input", {
|
1864
|
-
"onUpdate:modelValue":
|
1868
|
+
"onUpdate:modelValue": M[2] || (M[2] = (p) => u.value = p),
|
1865
1869
|
class: "template-selector__searching-input",
|
1866
1870
|
type: "text",
|
1867
1871
|
placeholder: "Поиск шаблона"
|
@@ -1869,27 +1873,27 @@ const ac = (e) => {
|
|
1869
1873
|
[uf, u.value]
|
1870
1874
|
])
|
1871
1875
|
]),
|
1872
|
-
o("div",
|
1873
|
-
|
1874
|
-
(r(!0), c(P, null, Z(
|
1875
|
-
key:
|
1876
|
-
class: L(["template-selector__item-template", { "template-selector__item-selected":
|
1877
|
-
onClick: (
|
1876
|
+
o("div", fi, [
|
1877
|
+
m.value.length !== 0 ? (r(), c("ul", ti, [
|
1878
|
+
(r(!0), c(P, null, Z(m.value, (p, _) => (r(), c("li", {
|
1879
|
+
key: _,
|
1880
|
+
class: L(["template-selector__item-template", { "template-selector__item-selected": p.isSelected }]),
|
1881
|
+
onClick: (k) => g(p)
|
1878
1882
|
}, [
|
1879
|
-
o("div",
|
1880
|
-
o("p",
|
1881
|
-
o("p",
|
1883
|
+
o("div", ai, [
|
1884
|
+
o("p", si, N(p.title), 1),
|
1885
|
+
o("p", Ai, N(p.template), 1)
|
1882
1886
|
])
|
1883
|
-
], 10,
|
1884
|
-
])) : (r(), c("p",
|
1887
|
+
], 10, ni))), 128))
|
1888
|
+
])) : (r(), c("p", ii, " Шаблоны отсутствуют "))
|
1885
1889
|
]),
|
1886
|
-
o("div",
|
1887
|
-
l.value ? (r(), c("div",
|
1888
|
-
o("div",
|
1889
|
-
o("p",
|
1890
|
-
|
1890
|
+
o("div", oi, [
|
1891
|
+
l.value ? (r(), c("div", li, [
|
1892
|
+
o("div", ri, [
|
1893
|
+
o("p", ui, N(l.value.template), 1),
|
1894
|
+
M[3] || (M[3] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1))
|
1891
1895
|
])
|
1892
|
-
])) : (r(), c("p",
|
1896
|
+
])) : (r(), c("p", ci, " Предпросмотр шаблона "))
|
1893
1897
|
]),
|
1894
1898
|
o("button", {
|
1895
1899
|
class: "template-selector__button-paste",
|
@@ -1898,7 +1902,7 @@ const ac = (e) => {
|
|
1898
1902
|
])
|
1899
1903
|
]));
|
1900
1904
|
}
|
1901
|
-
},
|
1905
|
+
}, gi = /* @__PURE__ */ B(di, [["__scopeId", "data-v-91c8818d"]]), mi = {
|
1902
1906
|
__name: "ButtonTemplateSelector",
|
1903
1907
|
props: {
|
1904
1908
|
templates: {
|
@@ -1922,7 +1926,7 @@ const ac = (e) => {
|
|
1922
1926
|
}
|
1923
1927
|
},
|
1924
1928
|
setup(e) {
|
1925
|
-
const f = e, t =
|
1929
|
+
const f = e, t = I(null), n = I(null), a = () => {
|
1926
1930
|
f.mode == "click" && f.state == "active" && (n.value.style.display == "none" ? n.value.style.display = "inherit" : n.value.style.display == "inherit" && (n.value.style.display = "none"));
|
1927
1931
|
}, s = () => {
|
1928
1932
|
f.mode == "hover" && f.state == "active" && (n.value.style.display = "inherit");
|
@@ -1935,7 +1939,7 @@ const ac = (e) => {
|
|
1935
1939
|
};
|
1936
1940
|
return we(() => {
|
1937
1941
|
n.value.style.display = "none", document.addEventListener("click", i);
|
1938
|
-
}),
|
1942
|
+
}), ct(() => {
|
1939
1943
|
document.removeEventListener("click", i);
|
1940
1944
|
}), (u, g) => (r(), c(P, null, [
|
1941
1945
|
o("button", {
|
@@ -1956,7 +1960,7 @@ const ac = (e) => {
|
|
1956
1960
|
onMouseover: s,
|
1957
1961
|
onMouseout: A
|
1958
1962
|
}, [
|
1959
|
-
Q(
|
1963
|
+
Q(gi, {
|
1960
1964
|
templates: e.templates,
|
1961
1965
|
"group-templates": e.groupTemplates,
|
1962
1966
|
onCloseTemplateWindow: l
|
@@ -1967,22 +1971,22 @@ const ac = (e) => {
|
|
1967
1971
|
})
|
1968
1972
|
], 64));
|
1969
1973
|
}
|
1970
|
-
},
|
1974
|
+
}, dc = /* @__PURE__ */ B(mi, [["__scopeId", "data-v-8d6cf607"]]), pi = { class: "template-selector" }, hi = { class: "template-selector__container" }, yi = { class: "template-selector__list-groups" }, Mi = { class: "template-selector__label-group" }, bi = ["src", "alt"], vi = ["id", "value"], _i = { class: "template-selector__searching-container" }, Ii = { class: "template-selector__templates" }, wi = {
|
1971
1975
|
key: 0,
|
1972
1976
|
class: "template-selector__list-templates"
|
1973
|
-
},
|
1977
|
+
}, ki = ["onClick"], Ni = { class: "template-selector__item-template-info" }, Di = { class: "template-selector__item-title" }, ji = { class: "template-selector__item-text" }, Ei = {
|
1974
1978
|
key: 1,
|
1975
1979
|
class: "template-selector__plug"
|
1976
|
-
},
|
1980
|
+
}, Ti = { class: "template-selector__preview-container" }, Vi = {
|
1977
1981
|
key: 0,
|
1978
1982
|
class: "template-selector__preview"
|
1979
|
-
},
|
1983
|
+
}, xi = { class: "template-selector__preview-wrapper" }, Si = ["innerHTML"], Ci = {
|
1980
1984
|
key: 1,
|
1981
1985
|
class: "template-selector__plug"
|
1982
|
-
},
|
1986
|
+
}, zi = {
|
1983
1987
|
key: 0,
|
1984
1988
|
class: "template-selector__modal"
|
1985
|
-
},
|
1989
|
+
}, Oi = ["disabled"], Li = {
|
1986
1990
|
__name: "WABATemplateSelector",
|
1987
1991
|
props: {
|
1988
1992
|
wabaTemplates: {
|
@@ -1998,27 +2002,27 @@ const ac = (e) => {
|
|
1998
2002
|
},
|
1999
2003
|
emits: ["closeTemplateWindow", "pasteTemplate", "sendWabaValues"],
|
2000
2004
|
setup(e, { emit: f }) {
|
2001
|
-
const t = e, n =
|
2005
|
+
const t = e, n = de("chatAppId"), { setMessageText: a } = yf(n), s = () => {
|
2002
2006
|
i("closeTemplateWindow"), O(), j();
|
2003
2007
|
}, A = () => {
|
2004
|
-
i("closeTemplateWindow"), i("sendWabaValues", { templateId: t.wabaTemplates.templateId, values: Object.values(
|
2005
|
-
}, i = f, l =
|
2008
|
+
i("closeTemplateWindow"), i("sendWabaValues", { templateId: t.wabaTemplates.templateId, values: Object.values(M) }), a(S.value.textContent), O();
|
2009
|
+
}, i = f, l = I(null), u = I(null), g = I(""), d = (D) => {
|
2006
2010
|
t.wabaTemplates.forEach((C) => C.isSelected = !1), D.isSelected = !0, u.value = D;
|
2007
2011
|
}, h = () => {
|
2008
2012
|
t.wabaTemplates.forEach((D) => D.isSelected = !1);
|
2009
|
-
},
|
2013
|
+
}, m = Y(() => l.value ? t.wabaTemplates.filter((D) => D.groupId === l.value.groupId) : t.wabaTemplates), y = Y(() => {
|
2010
2014
|
const D = g.value.trim().toLowerCase();
|
2011
|
-
return
|
2012
|
-
}),
|
2013
|
-
|
2015
|
+
return m.value.filter((C) => C.title.toLowerCase().includes(D) || C.template.toLowerCase().includes(D));
|
2016
|
+
}), M = Yn({}), p = I(!1), _ = I(null), k = I(""), S = I(null), w = (D) => {
|
2017
|
+
_.value = D, k.value = M[D] || "", p.value = !0;
|
2014
2018
|
}, j = () => {
|
2015
|
-
|
2019
|
+
p.value = !1, _.value = null, k.value = "";
|
2016
2020
|
}, U = () => {
|
2017
|
-
|
2021
|
+
_.value !== null && (M[_.value] = k.value), j();
|
2018
2022
|
}, E = Y(() => {
|
2019
2023
|
var D;
|
2020
2024
|
return (D = u.value) == null ? void 0 : D.template.replace(/{{(\d+)}}/g, (C, R) => {
|
2021
|
-
const J = parseInt(R), q =
|
2025
|
+
const J = parseInt(R), q = M[J] || "Заполнить";
|
2022
2026
|
return `<span style="padding: 2px 6px; background-color: #ffc468; cursor: pointer; line-height: 1.8; border-radius: 4px" data-index="${J}">${q}</span>`;
|
2023
2027
|
});
|
2024
2028
|
}), V = (D) => {
|
@@ -2026,47 +2030,47 @@ const ac = (e) => {
|
|
2026
2030
|
C && w(parseInt(C));
|
2027
2031
|
}, T = Y(() => {
|
2028
2032
|
var D;
|
2029
|
-
return Object.keys(
|
2033
|
+
return Object.keys(M).length !== ((D = u.value) == null ? void 0 : D.template.match(/{{\d+}}/gi).length);
|
2030
2034
|
}), O = () => {
|
2031
|
-
Object.keys(
|
2032
|
-
|
2035
|
+
Object.keys(M).forEach((D) => {
|
2036
|
+
M[D] = "";
|
2033
2037
|
});
|
2034
2038
|
};
|
2035
|
-
return (D, C) => (r(), c("div",
|
2036
|
-
o("div",
|
2039
|
+
return (D, C) => (r(), c("div", pi, [
|
2040
|
+
o("div", hi, [
|
2037
2041
|
o("button", { class: "template-selector__button-close" }, [
|
2038
2042
|
o("span", {
|
2039
2043
|
class: "pi pi-times",
|
2040
2044
|
onClick: s
|
2041
2045
|
})
|
2042
2046
|
]),
|
2043
|
-
o("ul",
|
2047
|
+
o("ul", yi, [
|
2044
2048
|
(r(!0), c(P, null, Z(e.groupTemplates, (R, J) => (r(), c("li", {
|
2045
2049
|
key: J,
|
2046
2050
|
class: L(["template-selector__item-group", { "template-selector__item-selected": l.value === R }]),
|
2047
2051
|
onClick: h
|
2048
2052
|
}, [
|
2049
|
-
o("label",
|
2053
|
+
o("label", Mi, [
|
2050
2054
|
R.iconUrl ? (r(), c("img", {
|
2051
2055
|
key: 0,
|
2052
2056
|
class: "template-selector__item-group-icon",
|
2053
2057
|
src: R.iconUrl,
|
2054
2058
|
alt: R.title
|
2055
|
-
}, null, 8,
|
2059
|
+
}, null, 8, bi)) : v("", !0),
|
2056
2060
|
ce(o("input", {
|
2057
2061
|
id: J,
|
2058
2062
|
"onUpdate:modelValue": C[0] || (C[0] = (fe) => l.value = fe),
|
2059
2063
|
value: R,
|
2060
2064
|
class: "template-selector__input-group",
|
2061
2065
|
type: "radio"
|
2062
|
-
}, null, 8,
|
2066
|
+
}, null, 8, vi), [
|
2063
2067
|
[Rn, l.value]
|
2064
2068
|
]),
|
2065
|
-
o("span", null,
|
2069
|
+
o("span", null, N(R.title), 1)
|
2066
2070
|
])
|
2067
2071
|
], 2))), 128))
|
2068
2072
|
]),
|
2069
|
-
o("div",
|
2073
|
+
o("div", _i, [
|
2070
2074
|
ce(o("input", {
|
2071
2075
|
"onUpdate:modelValue": C[1] || (C[1] = (R) => g.value = R),
|
2072
2076
|
class: "template-selector__searching-input",
|
@@ -2076,43 +2080,43 @@ const ac = (e) => {
|
|
2076
2080
|
[uf, g.value]
|
2077
2081
|
])
|
2078
2082
|
]),
|
2079
|
-
o("div",
|
2080
|
-
y.value.length !== 0 ? (r(), c("ul",
|
2083
|
+
o("div", Ii, [
|
2084
|
+
y.value.length !== 0 ? (r(), c("ul", wi, [
|
2081
2085
|
(r(!0), c(P, null, Z(y.value, (R, J) => (r(), c("li", {
|
2082
2086
|
key: J,
|
2083
2087
|
class: L(["template-selector__item-template", { "template-selector__item-selected": R.isSelected }]),
|
2084
2088
|
onClick: (fe) => d(R)
|
2085
2089
|
}, [
|
2086
|
-
o("div",
|
2087
|
-
o("p",
|
2088
|
-
o("p",
|
2090
|
+
o("div", Ni, [
|
2091
|
+
o("p", Di, N(R.title), 1),
|
2092
|
+
o("p", ji, N(R.template), 1)
|
2089
2093
|
])
|
2090
|
-
], 10,
|
2091
|
-
])) : (r(), c("p",
|
2094
|
+
], 10, ki))), 128))
|
2095
|
+
])) : (r(), c("p", Ei, " Шаблоны отсутствуют "))
|
2092
2096
|
]),
|
2093
|
-
o("div",
|
2094
|
-
E.value ? (r(), c("div",
|
2095
|
-
o("div",
|
2097
|
+
o("div", Ti, [
|
2098
|
+
E.value ? (r(), c("div", Vi, [
|
2099
|
+
o("div", xi, [
|
2096
2100
|
o("p", {
|
2097
2101
|
ref_key: "previewText",
|
2098
|
-
ref:
|
2102
|
+
ref: S,
|
2099
2103
|
class: "template-selector__preview-text",
|
2100
2104
|
onClick: V,
|
2101
2105
|
innerHTML: E.value
|
2102
|
-
}, null, 8,
|
2106
|
+
}, null, 8, Si),
|
2103
2107
|
C[3] || (C[3] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1))
|
2104
2108
|
])
|
2105
|
-
])) : (r(), c("p",
|
2109
|
+
])) : (r(), c("p", Ci, " Предпросмотр шаблона "))
|
2106
2110
|
]),
|
2107
2111
|
Q(H, { name: "modal-fade" }, {
|
2108
2112
|
default: F(() => [
|
2109
|
-
|
2113
|
+
p.value ? (r(), c("div", zi, [
|
2110
2114
|
ce(o("input", {
|
2111
|
-
"onUpdate:modelValue": C[2] || (C[2] = (R) =>
|
2115
|
+
"onUpdate:modelValue": C[2] || (C[2] = (R) => k.value = R),
|
2112
2116
|
type: "text",
|
2113
2117
|
placeholder: "Введите значение"
|
2114
2118
|
}, null, 512), [
|
2115
|
-
[uf,
|
2119
|
+
[uf, k.value]
|
2116
2120
|
]),
|
2117
2121
|
o("button", {
|
2118
2122
|
class: "template-selector__modal-button-add",
|
@@ -2130,11 +2134,11 @@ const ac = (e) => {
|
|
2130
2134
|
class: "template-selector__button-paste",
|
2131
2135
|
disabled: T.value,
|
2132
2136
|
onClick: A
|
2133
|
-
}, " Отправить ", 8,
|
2137
|
+
}, " Отправить ", 8, Oi)
|
2134
2138
|
])
|
2135
2139
|
]));
|
2136
2140
|
}
|
2137
|
-
},
|
2141
|
+
}, Ui = /* @__PURE__ */ B(Li, [["__scopeId", "data-v-35f05269"]]), Bi = {
|
2138
2142
|
__name: "ButtonWabaTemplateSelector",
|
2139
2143
|
props: {
|
2140
2144
|
wabaTemplates: {
|
@@ -2158,7 +2162,7 @@ const ac = (e) => {
|
|
2158
2162
|
}
|
2159
2163
|
},
|
2160
2164
|
setup(e) {
|
2161
|
-
const f = e, t =
|
2165
|
+
const f = e, t = I(null), n = I(null), a = () => {
|
2162
2166
|
f.mode == "click" && f.state == "active" && (n.value.style.display == "none" ? n.value.style.display = "inherit" : n.value.style.display == "inherit" && (n.value.style.display = "none"));
|
2163
2167
|
}, s = () => {
|
2164
2168
|
f.mode == "hover" && f.state == "active" && (n.value.style.display = "inherit");
|
@@ -2171,7 +2175,7 @@ const ac = (e) => {
|
|
2171
2175
|
};
|
2172
2176
|
return we(() => {
|
2173
2177
|
n.value.style.display = "none", document.addEventListener("click", i);
|
2174
|
-
}),
|
2178
|
+
}), ct(() => {
|
2175
2179
|
document.removeEventListener("click", i);
|
2176
2180
|
}), (u, g) => (r(), c(P, null, [
|
2177
2181
|
o("button", {
|
@@ -2190,7 +2194,7 @@ const ac = (e) => {
|
|
2190
2194
|
onMouseover: s,
|
2191
2195
|
onMouseout: A
|
2192
2196
|
}, [
|
2193
|
-
Q(
|
2197
|
+
Q(Ui, {
|
2194
2198
|
wabaTemplates: e.wabaTemplates,
|
2195
2199
|
"group-templates": e.groupTemplates,
|
2196
2200
|
onCloseTemplateWindow: l
|
@@ -2198,7 +2202,7 @@ const ac = (e) => {
|
|
2198
2202
|
], 544)
|
2199
2203
|
], 64));
|
2200
2204
|
}
|
2201
|
-
},
|
2205
|
+
}, gc = /* @__PURE__ */ B(Bi, [["__scopeId", "data-v-0e75093e"]]), ta = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", na = {
|
2202
2206
|
recent: "Recently used",
|
2203
2207
|
smileys_people: "Smiles & People",
|
2204
2208
|
animals_nature: "Animals & Nature",
|
@@ -2208,21 +2212,21 @@ const ac = (e) => {
|
|
2208
2212
|
objects: "Objects",
|
2209
2213
|
symbols: "Symbols",
|
2210
2214
|
flags: "Flags"
|
2211
|
-
}, aa = "u",
|
2212
|
-
[
|
2215
|
+
}, aa = "u", gt = "n", Tf = "v", gf = "r", Qi = {
|
2216
|
+
[gt]: ["grinning face", "grinning"],
|
2213
2217
|
[aa]: "1f600",
|
2214
2218
|
[gf]: "1f600"
|
2215
|
-
},
|
2216
|
-
|
2217
|
-
Qi,
|
2219
|
+
}, rt = "neutral", Ri = "1f3fb", Yi = "1f3fc", qi = "1f3fd", $i = "1f3fe", Hi = "1f3ff", Fi = [
|
2220
|
+
rt,
|
2218
2221
|
Ri,
|
2219
2222
|
Yi,
|
2220
2223
|
qi,
|
2221
|
-
$i
|
2222
|
-
|
2224
|
+
$i,
|
2225
|
+
Hi
|
2226
|
+
], Pi = {
|
2223
2227
|
placeholder: "Search emoji",
|
2224
2228
|
skinTone: "Skin tone"
|
2225
|
-
},
|
2229
|
+
}, Wi = ["light", "dark", "auto"], Ki = [
|
2226
2230
|
{
|
2227
2231
|
n: [
|
2228
2232
|
"grinning face",
|
@@ -6630,7 +6634,7 @@ const ac = (e) => {
|
|
6630
6634
|
],
|
6631
6635
|
u: "1f48e"
|
6632
6636
|
}
|
6633
|
-
],
|
6637
|
+
], Ji = [
|
6634
6638
|
{
|
6635
6639
|
n: [
|
6636
6640
|
"monkey face",
|
@@ -7364,7 +7368,7 @@ const ac = (e) => {
|
|
7364
7368
|
],
|
7365
7369
|
u: "1f343"
|
7366
7370
|
}
|
7367
|
-
],
|
7371
|
+
], Gi = [
|
7368
7372
|
{
|
7369
7373
|
n: [
|
7370
7374
|
"grapes"
|
@@ -8030,7 +8034,7 @@ const ac = (e) => {
|
|
8030
8034
|
],
|
8031
8035
|
u: "1f3fa"
|
8032
8036
|
}
|
8033
|
-
],
|
8037
|
+
], Zi = [
|
8034
8038
|
{
|
8035
8039
|
n: [
|
8036
8040
|
"jack-o-lantern",
|
@@ -8436,7 +8440,7 @@ const ac = (e) => {
|
|
8436
8440
|
],
|
8437
8441
|
u: "1f3b4"
|
8438
8442
|
}
|
8439
|
-
],
|
8443
|
+
], Xi = [
|
8440
8444
|
{
|
8441
8445
|
n: [
|
8442
8446
|
"earth globe europe-africa",
|
@@ -9803,7 +9807,7 @@ const ac = (e) => {
|
|
9803
9807
|
],
|
9804
9808
|
u: "1f30a"
|
9805
9809
|
}
|
9806
|
-
],
|
9810
|
+
], eo = [
|
9807
9811
|
{
|
9808
9812
|
n: [
|
9809
9813
|
"speaker with cancellation stroke",
|
@@ -10867,7 +10871,7 @@ const ac = (e) => {
|
|
10867
10871
|
],
|
10868
10872
|
u: "1f6d2"
|
10869
10873
|
}
|
10870
|
-
],
|
10874
|
+
], fo = [
|
10871
10875
|
{
|
10872
10876
|
n: [
|
10873
10877
|
"automated teller machine",
|
@@ -12265,7 +12269,7 @@ const ac = (e) => {
|
|
12265
12269
|
],
|
12266
12270
|
u: "1f535"
|
12267
12271
|
}
|
12268
|
-
],
|
12272
|
+
], to = [
|
12269
12273
|
{
|
12270
12274
|
n: [
|
12271
12275
|
"chequered flag",
|
@@ -14145,15 +14149,15 @@ const ac = (e) => {
|
|
14145
14149
|
u: "1f3f4-e0067-e0062-e0077-e006c-e0073-e007f"
|
14146
14150
|
}
|
14147
14151
|
];
|
14148
|
-
var
|
14149
|
-
smileys_people:
|
14150
|
-
animals_nature:
|
14151
|
-
food_drink:
|
14152
|
-
activities:
|
14153
|
-
travel_places:
|
14154
|
-
objects:
|
14155
|
-
symbols:
|
14156
|
-
flags:
|
14152
|
+
var no = {
|
14153
|
+
smileys_people: Ki,
|
14154
|
+
animals_nature: Ji,
|
14155
|
+
food_drink: Gi,
|
14156
|
+
activities: Zi,
|
14157
|
+
travel_places: Xi,
|
14158
|
+
objects: eo,
|
14159
|
+
symbols: fo,
|
14160
|
+
flags: to
|
14157
14161
|
}, Dn = [
|
14158
14162
|
{
|
14159
14163
|
key: "recent",
|
@@ -14201,9 +14205,9 @@ var to = {
|
|
14201
14205
|
u: "1f3f3-fe0f"
|
14202
14206
|
}
|
14203
14207
|
];
|
14204
|
-
const
|
14208
|
+
const ao = (e, f) => f.some((t) => e instanceof t);
|
14205
14209
|
let jn, En;
|
14206
|
-
function
|
14210
|
+
function so() {
|
14207
14211
|
return jn || (jn = [
|
14208
14212
|
IDBDatabase,
|
14209
14213
|
IDBObjectStore,
|
@@ -14212,15 +14216,15 @@ function ao() {
|
|
14212
14216
|
IDBTransaction
|
14213
14217
|
]);
|
14214
14218
|
}
|
14215
|
-
function
|
14219
|
+
function Ao() {
|
14216
14220
|
return En || (En = [
|
14217
14221
|
IDBCursor.prototype.advance,
|
14218
14222
|
IDBCursor.prototype.continue,
|
14219
14223
|
IDBCursor.prototype.continuePrimaryKey
|
14220
14224
|
]);
|
14221
14225
|
}
|
14222
|
-
const sa = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap(), Aa = /* @__PURE__ */ new WeakMap(),
|
14223
|
-
function
|
14226
|
+
const sa = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap(), Aa = /* @__PURE__ */ new WeakMap(), Dt = /* @__PURE__ */ new WeakMap(), Gt = /* @__PURE__ */ new WeakMap();
|
14227
|
+
function io(e) {
|
14224
14228
|
const f = new Promise((t, n) => {
|
14225
14229
|
const a = () => {
|
14226
14230
|
e.removeEventListener("success", s), e.removeEventListener("error", A);
|
@@ -14236,7 +14240,7 @@ function Ao(e) {
|
|
14236
14240
|
}).catch(() => {
|
14237
14241
|
}), Gt.set(f, e), f;
|
14238
14242
|
}
|
14239
|
-
function
|
14243
|
+
function oo(e) {
|
14240
14244
|
if (Ut.has(e))
|
14241
14245
|
return;
|
14242
14246
|
const f = new Promise((t, n) => {
|
@@ -14270,31 +14274,31 @@ let Bt = {
|
|
14270
14274
|
return e instanceof IDBTransaction && (f === "done" || f === "store") ? !0 : f in e;
|
14271
14275
|
}
|
14272
14276
|
};
|
14273
|
-
function
|
14277
|
+
function lo(e) {
|
14274
14278
|
Bt = e(Bt);
|
14275
14279
|
}
|
14276
|
-
function
|
14280
|
+
function ro(e) {
|
14277
14281
|
return e === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(f, ...t) {
|
14278
|
-
const n = e.call(
|
14282
|
+
const n = e.call(jt(this), f, ...t);
|
14279
14283
|
return Aa.set(n, f.sort ? f.sort() : [f]), Ee(n);
|
14280
|
-
} :
|
14281
|
-
return e.apply(
|
14284
|
+
} : Ao().includes(e) ? function(...f) {
|
14285
|
+
return e.apply(jt(this), f), Ee(sa.get(this));
|
14282
14286
|
} : function(...f) {
|
14283
|
-
return Ee(e.apply(
|
14287
|
+
return Ee(e.apply(jt(this), f));
|
14284
14288
|
};
|
14285
14289
|
}
|
14286
|
-
function
|
14287
|
-
return typeof e == "function" ?
|
14290
|
+
function uo(e) {
|
14291
|
+
return typeof e == "function" ? ro(e) : (e instanceof IDBTransaction && oo(e), ao(e, so()) ? new Proxy(e, Bt) : e);
|
14288
14292
|
}
|
14289
14293
|
function Ee(e) {
|
14290
14294
|
if (e instanceof IDBRequest)
|
14291
|
-
return
|
14292
|
-
if (
|
14293
|
-
return
|
14294
|
-
const f =
|
14295
|
-
return f !== e && (
|
14295
|
+
return io(e);
|
14296
|
+
if (Dt.has(e))
|
14297
|
+
return Dt.get(e);
|
14298
|
+
const f = uo(e);
|
14299
|
+
return f !== e && (Dt.set(e, f), Gt.set(f, e)), f;
|
14296
14300
|
}
|
14297
|
-
const
|
14301
|
+
const jt = (e) => Gt.get(e);
|
14298
14302
|
function Zt(e, f, { blocked: t, upgrade: n, blocking: a, terminated: s } = {}) {
|
14299
14303
|
const A = indexedDB.open(e, f), i = Ee(A);
|
14300
14304
|
return n && A.addEventListener("upgradeneeded", (l) => {
|
@@ -14308,14 +14312,14 @@ function Zt(e, f, { blocked: t, upgrade: n, blocking: a, terminated: s } = {}) {
|
|
14308
14312
|
}).catch(() => {
|
14309
14313
|
}), i;
|
14310
14314
|
}
|
14311
|
-
const
|
14315
|
+
const co = ["get", "getKey", "getAll", "getAllKeys", "count"], go = ["put", "add", "delete", "clear"], Et = /* @__PURE__ */ new Map();
|
14312
14316
|
function Tn(e, f) {
|
14313
14317
|
if (!(e instanceof IDBDatabase && !(f in e) && typeof f == "string"))
|
14314
14318
|
return;
|
14315
|
-
if (
|
14316
|
-
return
|
14317
|
-
const t = f.replace(/FromIndex$/, ""), n = f !== t, a =
|
14318
|
-
if (!(t in (n ? IDBIndex : IDBObjectStore).prototype) || !(a ||
|
14319
|
+
if (Et.get(f))
|
14320
|
+
return Et.get(f);
|
14321
|
+
const t = f.replace(/FromIndex$/, ""), n = f !== t, a = go.includes(t);
|
14322
|
+
if (!(t in (n ? IDBIndex : IDBObjectStore).prototype) || !(a || co.includes(t)))
|
14319
14323
|
return;
|
14320
14324
|
const s = async function(A, ...i) {
|
14321
14325
|
const l = this.transaction(A, a ? "readwrite" : "readonly");
|
@@ -14325,15 +14329,15 @@ function Tn(e, f) {
|
|
14325
14329
|
a && l.done
|
14326
14330
|
]))[0];
|
14327
14331
|
};
|
14328
|
-
return
|
14332
|
+
return Et.set(f, s), s;
|
14329
14333
|
}
|
14330
|
-
|
14334
|
+
lo((e) => ({
|
14331
14335
|
...e,
|
14332
14336
|
get: (f, t, n) => Tn(f, t) || e.get(f, t, n),
|
14333
14337
|
has: (f, t) => !!Tn(f, t) || e.has(f, t)
|
14334
14338
|
}));
|
14335
14339
|
const Xt = "EMJ", Ye = "emojis", en = 3;
|
14336
|
-
async function
|
14340
|
+
async function mo() {
|
14337
14341
|
(await Zt(Xt, en, {
|
14338
14342
|
upgrade(f, t) {
|
14339
14343
|
f.objectStoreNames.contains(Ye) || f.createObjectStore(Ye, {
|
@@ -14345,8 +14349,8 @@ async function go() {
|
|
14345
14349
|
}
|
14346
14350
|
})).close();
|
14347
14351
|
}
|
14348
|
-
|
14349
|
-
const
|
14352
|
+
mo();
|
14353
|
+
const po = {
|
14350
14354
|
native: !1,
|
14351
14355
|
hideSearch: !0,
|
14352
14356
|
hideGroupIcons: !1,
|
@@ -14359,23 +14363,23 @@ const mo = {
|
|
14359
14363
|
groupOrder: [],
|
14360
14364
|
groupIcons: {}
|
14361
14365
|
};
|
14362
|
-
async function
|
14366
|
+
async function ho() {
|
14363
14367
|
return await (await Zt(Xt, en)).transaction(Ye, "readonly").objectStore(Ye).getAll();
|
14364
14368
|
}
|
14365
|
-
function
|
14369
|
+
function yo() {
|
14366
14370
|
const e = Yn({
|
14367
14371
|
search: "",
|
14368
|
-
emoji:
|
14372
|
+
emoji: Qi,
|
14369
14373
|
activeGroup: "",
|
14370
|
-
skinTone:
|
14371
|
-
options:
|
14374
|
+
skinTone: rt,
|
14375
|
+
options: po,
|
14372
14376
|
additionalGroups: {},
|
14373
14377
|
recent: [],
|
14374
14378
|
get emojis() {
|
14375
14379
|
return {
|
14376
14380
|
recent: this.recent,
|
14377
14381
|
...this.options.additionalGroups,
|
14378
|
-
...
|
14382
|
+
...no
|
14379
14383
|
};
|
14380
14384
|
},
|
14381
14385
|
get disabled() {
|
@@ -14401,7 +14405,7 @@ function ho() {
|
|
14401
14405
|
}
|
14402
14406
|
async function t() {
|
14403
14407
|
var d;
|
14404
|
-
let h = await
|
14408
|
+
let h = await ho();
|
14405
14409
|
return Array.isArray(h) && h.length ? h = JSON.parse(((d = h[0]) == null ? void 0 : d.value) || "") : h = [], h;
|
14406
14410
|
}
|
14407
14411
|
function n() {
|
@@ -14415,7 +14419,7 @@ function ho() {
|
|
14415
14419
|
e.emoji = d;
|
14416
14420
|
}, A = (d) => {
|
14417
14421
|
e.activeGroup = d;
|
14418
|
-
}, i = (d =
|
14422
|
+
}, i = (d = rt) => {
|
14419
14423
|
e.skinTone = d;
|
14420
14424
|
}, l = (d) => {
|
14421
14425
|
e.options = Object.assign({}, e.options, d), f();
|
@@ -14432,8 +14436,8 @@ function ho() {
|
|
14432
14436
|
const h = e.recent.findIndex((y) => y.u === d.u);
|
14433
14437
|
if (h > 0 && e.recent.splice(h, 1), h === 0)
|
14434
14438
|
return;
|
14435
|
-
const
|
14436
|
-
e.recent = [
|
14439
|
+
const m = { u: d.u, n: qn(d.n) };
|
14440
|
+
e.recent = [m, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), u();
|
14437
14441
|
};
|
14438
14442
|
return {
|
14439
14443
|
state: Va(e),
|
@@ -14445,15 +14449,15 @@ function ho() {
|
|
14445
14449
|
updateSelect: g
|
14446
14450
|
};
|
14447
14451
|
}
|
14448
|
-
var ne = "top", re = "bottom", ue = "right", ae = "left", fn = "auto", Mf = [ne, re, ue, ae], qe = "start", mf = "end",
|
14452
|
+
var ne = "top", re = "bottom", ue = "right", ae = "left", fn = "auto", Mf = [ne, re, ue, ae], qe = "start", mf = "end", Mo = "clippingParents", ia = "viewport", ef = "popper", bo = "reference", Vn = /* @__PURE__ */ Mf.reduce(function(e, f) {
|
14449
14453
|
return e.concat([f + "-" + qe, f + "-" + mf]);
|
14450
14454
|
}, []), oa = /* @__PURE__ */ [].concat(Mf, [fn]).reduce(function(e, f) {
|
14451
14455
|
return e.concat([f, f + "-" + qe, f + "-" + mf]);
|
14452
|
-
}, []),
|
14453
|
-
function
|
14456
|
+
}, []), vo = "beforeRead", _o = "read", Io = "afterRead", wo = "beforeMain", ko = "main", No = "afterMain", Do = "beforeWrite", jo = "write", Eo = "afterWrite", To = [vo, _o, Io, wo, ko, No, Do, jo, Eo];
|
14457
|
+
function ye(e) {
|
14454
14458
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
14455
14459
|
}
|
14456
|
-
function
|
14460
|
+
function ge(e) {
|
14457
14461
|
if (e == null)
|
14458
14462
|
return window;
|
14459
14463
|
if (e.toString() !== "[object Window]") {
|
@@ -14463,30 +14467,30 @@ function de(e) {
|
|
14463
14467
|
return e;
|
14464
14468
|
}
|
14465
14469
|
function $e(e) {
|
14466
|
-
var f =
|
14470
|
+
var f = ge(e).Element;
|
14467
14471
|
return e instanceof f || e instanceof Element;
|
14468
14472
|
}
|
14469
14473
|
function oe(e) {
|
14470
|
-
var f =
|
14474
|
+
var f = ge(e).HTMLElement;
|
14471
14475
|
return e instanceof f || e instanceof HTMLElement;
|
14472
14476
|
}
|
14473
14477
|
function la(e) {
|
14474
14478
|
if (typeof ShadowRoot > "u")
|
14475
14479
|
return !1;
|
14476
|
-
var f =
|
14480
|
+
var f = ge(e).ShadowRoot;
|
14477
14481
|
return e instanceof f || e instanceof ShadowRoot;
|
14478
14482
|
}
|
14479
|
-
function
|
14483
|
+
function Vo(e) {
|
14480
14484
|
var f = e.state;
|
14481
14485
|
Object.keys(f.elements).forEach(function(t) {
|
14482
14486
|
var n = f.styles[t] || {}, a = f.attributes[t] || {}, s = f.elements[t];
|
14483
|
-
!oe(s) || !
|
14487
|
+
!oe(s) || !ye(s) || (Object.assign(s.style, n), Object.keys(a).forEach(function(A) {
|
14484
14488
|
var i = a[A];
|
14485
14489
|
i === !1 ? s.removeAttribute(A) : s.setAttribute(A, i === !0 ? "" : i);
|
14486
14490
|
}));
|
14487
14491
|
});
|
14488
14492
|
}
|
14489
|
-
function
|
14493
|
+
function xo(e) {
|
14490
14494
|
var f = e.state, t = {
|
14491
14495
|
popper: {
|
14492
14496
|
position: f.options.strategy,
|
@@ -14504,24 +14508,24 @@ function Vo(e) {
|
|
14504
14508
|
var a = f.elements[n], s = f.attributes[n] || {}, A = Object.keys(f.styles.hasOwnProperty(n) ? f.styles[n] : t[n]), i = A.reduce(function(l, u) {
|
14505
14509
|
return l[u] = "", l;
|
14506
14510
|
}, {});
|
14507
|
-
!oe(a) || !
|
14511
|
+
!oe(a) || !ye(a) || (Object.assign(a.style, i), Object.keys(s).forEach(function(l) {
|
14508
14512
|
a.removeAttribute(l);
|
14509
14513
|
}));
|
14510
14514
|
});
|
14511
14515
|
};
|
14512
14516
|
}
|
14513
|
-
var
|
14517
|
+
var So = {
|
14514
14518
|
name: "applyStyles",
|
14515
14519
|
enabled: !0,
|
14516
14520
|
phase: "write",
|
14517
|
-
fn:
|
14518
|
-
effect:
|
14521
|
+
fn: Vo,
|
14522
|
+
effect: xo,
|
14519
14523
|
requires: ["computeStyles"]
|
14520
14524
|
};
|
14521
|
-
function
|
14525
|
+
function he(e) {
|
14522
14526
|
return e.split("-")[0];
|
14523
14527
|
}
|
14524
|
-
var Le = Math.max,
|
14528
|
+
var Le = Math.max, ut = Math.min, He = Math.round;
|
14525
14529
|
function Fe(e, f) {
|
14526
14530
|
f === void 0 && (f = !1);
|
14527
14531
|
var t = e.getBoundingClientRect(), n = 1, a = 1;
|
@@ -14563,30 +14567,30 @@ function ra(e, f) {
|
|
14563
14567
|
}
|
14564
14568
|
return !1;
|
14565
14569
|
}
|
14566
|
-
function
|
14567
|
-
return
|
14570
|
+
function Me(e) {
|
14571
|
+
return ge(e).getComputedStyle(e);
|
14568
14572
|
}
|
14569
|
-
function
|
14570
|
-
return ["table", "td", "th"].indexOf(
|
14573
|
+
function Co(e) {
|
14574
|
+
return ["table", "td", "th"].indexOf(ye(e)) >= 0;
|
14571
14575
|
}
|
14572
14576
|
function Te(e) {
|
14573
14577
|
return (($e(e) ? e.ownerDocument : e.document) || window.document).documentElement;
|
14574
14578
|
}
|
14575
|
-
function
|
14576
|
-
return
|
14579
|
+
function mt(e) {
|
14580
|
+
return ye(e) === "html" ? e : e.assignedSlot || e.parentNode || (la(e) ? e.host : null) || Te(e);
|
14577
14581
|
}
|
14578
14582
|
function xn(e) {
|
14579
|
-
return !oe(e) ||
|
14583
|
+
return !oe(e) || Me(e).position === "fixed" ? null : e.offsetParent;
|
14580
14584
|
}
|
14581
|
-
function
|
14585
|
+
function zo(e) {
|
14582
14586
|
var f = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1, t = navigator.userAgent.indexOf("Trident") !== -1;
|
14583
14587
|
if (t && oe(e)) {
|
14584
|
-
var n =
|
14588
|
+
var n = Me(e);
|
14585
14589
|
if (n.position === "fixed")
|
14586
14590
|
return null;
|
14587
14591
|
}
|
14588
|
-
for (var a =
|
14589
|
-
var s =
|
14592
|
+
for (var a = mt(e); oe(a) && ["html", "body"].indexOf(ye(a)) < 0; ) {
|
14593
|
+
var s = Me(a);
|
14590
14594
|
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || f && s.willChange === "filter" || f && s.filter && s.filter !== "none")
|
14591
14595
|
return a;
|
14592
14596
|
a = a.parentNode;
|
@@ -14594,17 +14598,17 @@ function Co(e) {
|
|
14594
14598
|
return null;
|
14595
14599
|
}
|
14596
14600
|
function bf(e) {
|
14597
|
-
for (var f =
|
14601
|
+
for (var f = ge(e), t = xn(e); t && Co(t) && Me(t).position === "static"; )
|
14598
14602
|
t = xn(t);
|
14599
|
-
return t && (
|
14603
|
+
return t && (ye(t) === "html" || ye(t) === "body" && Me(t).position === "static") ? f : t || zo(e) || f;
|
14600
14604
|
}
|
14601
14605
|
function nn(e) {
|
14602
14606
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
14603
14607
|
}
|
14604
14608
|
function lf(e, f, t) {
|
14605
|
-
return Le(e,
|
14609
|
+
return Le(e, ut(f, t));
|
14606
14610
|
}
|
14607
|
-
function
|
14611
|
+
function Oo(e, f, t) {
|
14608
14612
|
var n = lf(e, f, t);
|
14609
14613
|
return n > t ? t : n;
|
14610
14614
|
}
|
@@ -14624,41 +14628,41 @@ function da(e, f) {
|
|
14624
14628
|
return t[n] = e, t;
|
14625
14629
|
}, {});
|
14626
14630
|
}
|
14627
|
-
var
|
14631
|
+
var Lo = function(f, t) {
|
14628
14632
|
return f = typeof f == "function" ? f(Object.assign({}, t.rects, {
|
14629
14633
|
placement: t.placement
|
14630
14634
|
})) : f, ca(typeof f != "number" ? f : da(f, Mf));
|
14631
14635
|
};
|
14632
|
-
function
|
14633
|
-
var f, t = e.state, n = e.name, a = e.options, s = t.elements.arrow, A = t.modifiersData.popperOffsets, i =
|
14636
|
+
function Uo(e) {
|
14637
|
+
var f, t = e.state, n = e.name, a = e.options, s = t.elements.arrow, A = t.modifiersData.popperOffsets, i = he(t.placement), l = nn(i), u = [ae, ue].indexOf(i) >= 0, g = u ? "height" : "width";
|
14634
14638
|
if (!(!s || !A)) {
|
14635
|
-
var d =
|
14639
|
+
var d = Lo(a.padding, t), h = tn(s), m = l === "y" ? ne : ae, y = l === "y" ? re : ue, M = t.rects.reference[g] + t.rects.reference[l] - A[l] - t.rects.popper[g], p = A[l] - t.rects.reference[l], _ = bf(s), k = _ ? l === "y" ? _.clientHeight || 0 : _.clientWidth || 0 : 0, S = M / 2 - p / 2, w = d[m], j = k - h[g] - d[y], U = k / 2 - h[g] / 2 + S, E = lf(w, U, j), V = l;
|
14636
14640
|
t.modifiersData[n] = (f = {}, f[V] = E, f.centerOffset = E - U, f);
|
14637
14641
|
}
|
14638
14642
|
}
|
14639
|
-
function
|
14643
|
+
function Bo(e) {
|
14640
14644
|
var f = e.state, t = e.options, n = t.element, a = n === void 0 ? "[data-popper-arrow]" : n;
|
14641
14645
|
a != null && (typeof a == "string" && (a = f.elements.popper.querySelector(a), !a) || ra(f.elements.popper, a) && (f.elements.arrow = a));
|
14642
14646
|
}
|
14643
|
-
var
|
14647
|
+
var Qo = {
|
14644
14648
|
name: "arrow",
|
14645
14649
|
enabled: !0,
|
14646
14650
|
phase: "main",
|
14647
|
-
fn:
|
14648
|
-
effect:
|
14651
|
+
fn: Uo,
|
14652
|
+
effect: Bo,
|
14649
14653
|
requires: ["popperOffsets"],
|
14650
14654
|
requiresIfExists: ["preventOverflow"]
|
14651
14655
|
};
|
14652
14656
|
function Pe(e) {
|
14653
14657
|
return e.split("-")[1];
|
14654
14658
|
}
|
14655
|
-
var
|
14659
|
+
var Ro = {
|
14656
14660
|
top: "auto",
|
14657
14661
|
right: "auto",
|
14658
14662
|
bottom: "auto",
|
14659
14663
|
left: "auto"
|
14660
14664
|
};
|
14661
|
-
function
|
14665
|
+
function Yo(e) {
|
14662
14666
|
var f = e.x, t = e.y, n = window, a = n.devicePixelRatio || 1;
|
14663
14667
|
return {
|
14664
14668
|
x: He(f * a) / a || 0,
|
@@ -14666,32 +14670,32 @@ function Ro(e) {
|
|
14666
14670
|
};
|
14667
14671
|
}
|
14668
14672
|
function Sn(e) {
|
14669
|
-
var f, t = e.popper, n = e.popperRect, a = e.placement, s = e.variation, A = e.offsets, i = e.position, l = e.gpuAcceleration, u = e.adaptive, g = e.roundOffsets, d = e.isFixed, h = g === !0 ?
|
14673
|
+
var f, t = e.popper, n = e.popperRect, a = e.placement, s = e.variation, A = e.offsets, i = e.position, l = e.gpuAcceleration, u = e.adaptive, g = e.roundOffsets, d = e.isFixed, h = g === !0 ? Yo(A) : typeof g == "function" ? g(A) : A, m = h.x, y = m === void 0 ? 0 : m, M = h.y, p = M === void 0 ? 0 : M, _ = A.hasOwnProperty("x"), k = A.hasOwnProperty("y"), S = ae, w = ne, j = window;
|
14670
14674
|
if (u) {
|
14671
14675
|
var U = bf(t), E = "clientHeight", V = "clientWidth";
|
14672
|
-
if (U ===
|
14676
|
+
if (U === ge(t) && (U = Te(t), Me(U).position !== "static" && i === "absolute" && (E = "scrollHeight", V = "scrollWidth")), U = U, a === ne || (a === ae || a === ue) && s === mf) {
|
14673
14677
|
w = re;
|
14674
14678
|
var T = d && j.visualViewport ? j.visualViewport.height : U[E];
|
14675
|
-
|
14679
|
+
p -= T - n.height, p *= l ? 1 : -1;
|
14676
14680
|
}
|
14677
14681
|
if (a === ae || (a === ne || a === re) && s === mf) {
|
14678
|
-
|
14682
|
+
S = ue;
|
14679
14683
|
var O = d && j.visualViewport ? j.visualViewport.width : U[V];
|
14680
14684
|
y -= O - n.width, y *= l ? 1 : -1;
|
14681
14685
|
}
|
14682
14686
|
}
|
14683
14687
|
var D = Object.assign({
|
14684
14688
|
position: i
|
14685
|
-
}, u &&
|
14689
|
+
}, u && Ro);
|
14686
14690
|
if (l) {
|
14687
14691
|
var C;
|
14688
|
-
return Object.assign({}, D, (C = {}, C[w] =
|
14692
|
+
return Object.assign({}, D, (C = {}, C[w] = k ? "0" : "", C[S] = _ ? "0" : "", C.transform = (j.devicePixelRatio || 1) <= 1 ? "translate(" + y + "px, " + p + "px)" : "translate3d(" + y + "px, " + p + "px, 0)", C));
|
14689
14693
|
}
|
14690
|
-
return Object.assign({}, D, (f = {}, f[w] =
|
14694
|
+
return Object.assign({}, D, (f = {}, f[w] = k ? p + "px" : "", f[S] = _ ? y + "px" : "", f.transform = "", f));
|
14691
14695
|
}
|
14692
|
-
function
|
14696
|
+
function qo(e) {
|
14693
14697
|
var f = e.state, t = e.options, n = t.gpuAcceleration, a = n === void 0 ? !0 : n, s = t.adaptive, A = s === void 0 ? !0 : s, i = t.roundOffsets, l = i === void 0 ? !0 : i, u = {
|
14694
|
-
placement:
|
14698
|
+
placement: he(f.placement),
|
14695
14699
|
variation: Pe(f.placement),
|
14696
14700
|
popper: f.elements.popper,
|
14697
14701
|
popperRect: f.rects.popper,
|
@@ -14712,17 +14716,17 @@ function Yo(e) {
|
|
14712
14716
|
"data-popper-placement": f.placement
|
14713
14717
|
});
|
14714
14718
|
}
|
14715
|
-
var
|
14719
|
+
var $o = {
|
14716
14720
|
name: "computeStyles",
|
14717
14721
|
enabled: !0,
|
14718
14722
|
phase: "beforeWrite",
|
14719
|
-
fn:
|
14723
|
+
fn: qo,
|
14720
14724
|
data: {}
|
14721
14725
|
}, Vf = {
|
14722
14726
|
passive: !0
|
14723
14727
|
};
|
14724
|
-
function
|
14725
|
-
var f = e.state, t = e.instance, n = e.options, a = n.scroll, s = a === void 0 ? !0 : a, A = n.resize, i = A === void 0 ? !0 : A, l =
|
14728
|
+
function Ho(e) {
|
14729
|
+
var f = e.state, t = e.instance, n = e.options, a = n.scroll, s = a === void 0 ? !0 : a, A = n.resize, i = A === void 0 ? !0 : A, l = ge(f.elements.popper), u = [].concat(f.scrollParents.reference, f.scrollParents.popper);
|
14726
14730
|
return s && u.forEach(function(g) {
|
14727
14731
|
g.addEventListener("scroll", t.update, Vf);
|
14728
14732
|
}), i && l.addEventListener("resize", t.update, Vf), function() {
|
@@ -14731,36 +14735,36 @@ function $o(e) {
|
|
14731
14735
|
}), i && l.removeEventListener("resize", t.update, Vf);
|
14732
14736
|
};
|
14733
14737
|
}
|
14734
|
-
var
|
14738
|
+
var Fo = {
|
14735
14739
|
name: "eventListeners",
|
14736
14740
|
enabled: !0,
|
14737
14741
|
phase: "write",
|
14738
14742
|
fn: function() {
|
14739
14743
|
},
|
14740
|
-
effect:
|
14744
|
+
effect: Ho,
|
14741
14745
|
data: {}
|
14742
|
-
},
|
14746
|
+
}, Po = {
|
14743
14747
|
left: "right",
|
14744
14748
|
right: "left",
|
14745
14749
|
bottom: "top",
|
14746
14750
|
top: "bottom"
|
14747
14751
|
};
|
14748
|
-
function
|
14752
|
+
function zf(e) {
|
14749
14753
|
return e.replace(/left|right|bottom|top/g, function(f) {
|
14750
|
-
return
|
14754
|
+
return Po[f];
|
14751
14755
|
});
|
14752
14756
|
}
|
14753
|
-
var
|
14757
|
+
var Wo = {
|
14754
14758
|
start: "end",
|
14755
14759
|
end: "start"
|
14756
14760
|
};
|
14757
14761
|
function Cn(e) {
|
14758
14762
|
return e.replace(/start|end/g, function(f) {
|
14759
|
-
return
|
14763
|
+
return Wo[f];
|
14760
14764
|
});
|
14761
14765
|
}
|
14762
14766
|
function an(e) {
|
14763
|
-
var f =
|
14767
|
+
var f = ge(e), t = f.pageXOffset, n = f.pageYOffset;
|
14764
14768
|
return {
|
14765
14769
|
scrollLeft: t,
|
14766
14770
|
scrollTop: n
|
@@ -14769,8 +14773,8 @@ function an(e) {
|
|
14769
14773
|
function sn(e) {
|
14770
14774
|
return Fe(Te(e)).left + an(e).scrollLeft;
|
14771
14775
|
}
|
14772
|
-
function
|
14773
|
-
var f =
|
14776
|
+
function Ko(e) {
|
14777
|
+
var f = ge(e), t = Te(e), n = f.visualViewport, a = t.clientWidth, s = t.clientHeight, A = 0, i = 0;
|
14774
14778
|
return n && (a = n.width, s = n.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (A = n.offsetLeft, i = n.offsetTop)), {
|
14775
14779
|
width: a,
|
14776
14780
|
height: s,
|
@@ -14778,9 +14782,9 @@ function Wo(e) {
|
|
14778
14782
|
y: i
|
14779
14783
|
};
|
14780
14784
|
}
|
14781
|
-
function
|
14785
|
+
function Jo(e) {
|
14782
14786
|
var f, t = Te(e), n = an(e), a = (f = e.ownerDocument) == null ? void 0 : f.body, s = Le(t.scrollWidth, t.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), A = Le(t.scrollHeight, t.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), i = -n.scrollLeft + sn(e), l = -n.scrollTop;
|
14783
|
-
return
|
14787
|
+
return Me(a || t).direction === "rtl" && (i += Le(t.clientWidth, a ? a.clientWidth : 0) - s), {
|
14784
14788
|
width: s,
|
14785
14789
|
height: A,
|
14786
14790
|
x: i,
|
@@ -14788,17 +14792,17 @@ function Ko(e) {
|
|
14788
14792
|
};
|
14789
14793
|
}
|
14790
14794
|
function An(e) {
|
14791
|
-
var f =
|
14795
|
+
var f = Me(e), t = f.overflow, n = f.overflowX, a = f.overflowY;
|
14792
14796
|
return /auto|scroll|overlay|hidden/.test(t + a + n);
|
14793
14797
|
}
|
14794
14798
|
function ga(e) {
|
14795
|
-
return ["html", "body", "#document"].indexOf(
|
14799
|
+
return ["html", "body", "#document"].indexOf(ye(e)) >= 0 ? e.ownerDocument.body : oe(e) && An(e) ? e : ga(mt(e));
|
14796
14800
|
}
|
14797
14801
|
function rf(e, f) {
|
14798
14802
|
var t;
|
14799
14803
|
f === void 0 && (f = []);
|
14800
|
-
var n = ga(e), a = n === ((t = e.ownerDocument) == null ? void 0 : t.body), s =
|
14801
|
-
return a ? i : i.concat(rf(
|
14804
|
+
var n = ga(e), a = n === ((t = e.ownerDocument) == null ? void 0 : t.body), s = ge(n), A = a ? [s].concat(s.visualViewport || [], An(n) ? n : []) : n, i = f.concat(A);
|
14805
|
+
return a ? i : i.concat(rf(mt(A)));
|
14802
14806
|
}
|
14803
14807
|
function Qt(e) {
|
14804
14808
|
return Object.assign({}, e, {
|
@@ -14808,28 +14812,28 @@ function Qt(e) {
|
|
14808
14812
|
bottom: e.y + e.height
|
14809
14813
|
});
|
14810
14814
|
}
|
14811
|
-
function
|
14815
|
+
function Go(e) {
|
14812
14816
|
var f = Fe(e);
|
14813
14817
|
return f.top = f.top + e.clientTop, f.left = f.left + e.clientLeft, f.bottom = f.top + e.clientHeight, f.right = f.left + e.clientWidth, f.width = e.clientWidth, f.height = e.clientHeight, f.x = f.left, f.y = f.top, f;
|
14814
14818
|
}
|
14815
14819
|
function zn(e, f) {
|
14816
|
-
return f === ia ? Qt(
|
14820
|
+
return f === ia ? Qt(Ko(e)) : $e(f) ? Go(f) : Qt(Jo(Te(e)));
|
14817
14821
|
}
|
14818
|
-
function
|
14819
|
-
var f = rf(
|
14822
|
+
function Zo(e) {
|
14823
|
+
var f = rf(mt(e)), t = ["absolute", "fixed"].indexOf(Me(e).position) >= 0, n = t && oe(e) ? bf(e) : e;
|
14820
14824
|
return $e(n) ? f.filter(function(a) {
|
14821
|
-
return $e(a) && ra(a, n) &&
|
14825
|
+
return $e(a) && ra(a, n) && ye(a) !== "body" && (t ? Me(a).position !== "static" : !0);
|
14822
14826
|
}) : [];
|
14823
14827
|
}
|
14824
|
-
function
|
14825
|
-
var n = f === "clippingParents" ?
|
14828
|
+
function Xo(e, f, t) {
|
14829
|
+
var n = f === "clippingParents" ? Zo(e) : [].concat(f), a = [].concat(n, [t]), s = a[0], A = a.reduce(function(i, l) {
|
14826
14830
|
var u = zn(e, l);
|
14827
|
-
return i.top = Le(u.top, i.top), i.right =
|
14831
|
+
return i.top = Le(u.top, i.top), i.right = ut(u.right, i.right), i.bottom = ut(u.bottom, i.bottom), i.left = Le(u.left, i.left), i;
|
14828
14832
|
}, zn(e, s));
|
14829
14833
|
return A.width = A.right - A.left, A.height = A.bottom - A.top, A.x = A.left, A.y = A.top, A;
|
14830
14834
|
}
|
14831
14835
|
function ma(e) {
|
14832
|
-
var f = e.reference, t = e.element, n = e.placement, a = n ?
|
14836
|
+
var f = e.reference, t = e.element, n = e.placement, a = n ? he(n) : null, s = n ? Pe(n) : null, A = f.x + f.width / 2 - t.width / 2, i = f.y + f.height / 2 - t.height / 2, l;
|
14833
14837
|
switch (a) {
|
14834
14838
|
case ne:
|
14835
14839
|
l = {
|
@@ -14877,16 +14881,16 @@ function ma(e) {
|
|
14877
14881
|
}
|
14878
14882
|
function pf(e, f) {
|
14879
14883
|
f === void 0 && (f = {});
|
14880
|
-
var t = f, n = t.placement, a = n === void 0 ? e.placement : n, s = t.boundary, A = s === void 0 ?
|
14884
|
+
var t = f, n = t.placement, a = n === void 0 ? e.placement : n, s = t.boundary, A = s === void 0 ? Mo : s, i = t.rootBoundary, l = i === void 0 ? ia : i, u = t.elementContext, g = u === void 0 ? ef : u, d = t.altBoundary, h = d === void 0 ? !1 : d, m = t.padding, y = m === void 0 ? 0 : m, M = ca(typeof y != "number" ? y : da(y, Mf)), p = g === ef ? bo : ef, _ = e.rects.popper, k = e.elements[h ? p : g], S = Xo($e(k) ? k : k.contextElement || Te(e.elements.popper), A, l), w = Fe(e.elements.reference), j = ma({
|
14881
14885
|
reference: w,
|
14882
|
-
element:
|
14886
|
+
element: _,
|
14883
14887
|
strategy: "absolute",
|
14884
14888
|
placement: a
|
14885
|
-
}), U = Qt(Object.assign({},
|
14886
|
-
top:
|
14887
|
-
bottom: E.bottom -
|
14888
|
-
left:
|
14889
|
-
right: E.right -
|
14889
|
+
}), U = Qt(Object.assign({}, _, j)), E = g === ef ? U : w, V = {
|
14890
|
+
top: S.top - E.top + M.top,
|
14891
|
+
bottom: E.bottom - S.bottom + M.bottom,
|
14892
|
+
left: S.left - E.left + M.left,
|
14893
|
+
right: E.right - S.right + M.right
|
14890
14894
|
}, T = e.modifiersData.offset;
|
14891
14895
|
if (g === ef && T) {
|
14892
14896
|
var O = T[a];
|
@@ -14897,7 +14901,7 @@ function pf(e, f) {
|
|
14897
14901
|
}
|
14898
14902
|
return V;
|
14899
14903
|
}
|
14900
|
-
function
|
14904
|
+
function el(e, f) {
|
14901
14905
|
f === void 0 && (f = {});
|
14902
14906
|
var t = f, n = t.placement, a = t.boundary, s = t.rootBoundary, A = t.padding, i = t.flipVariations, l = t.allowedAutoPlacements, u = l === void 0 ? oa : l, g = Pe(n), d = g ? i ? Vn : Vn.filter(function(y) {
|
14903
14907
|
return Pe(y) === g;
|
@@ -14905,46 +14909,46 @@ function Xo(e, f) {
|
|
14905
14909
|
return u.indexOf(y) >= 0;
|
14906
14910
|
});
|
14907
14911
|
h.length === 0 && (h = d);
|
14908
|
-
var
|
14909
|
-
return y[
|
14910
|
-
placement:
|
14912
|
+
var m = h.reduce(function(y, M) {
|
14913
|
+
return y[M] = pf(e, {
|
14914
|
+
placement: M,
|
14911
14915
|
boundary: a,
|
14912
14916
|
rootBoundary: s,
|
14913
14917
|
padding: A
|
14914
|
-
})[
|
14918
|
+
})[he(M)], y;
|
14915
14919
|
}, {});
|
14916
|
-
return Object.keys(
|
14917
|
-
return
|
14920
|
+
return Object.keys(m).sort(function(y, M) {
|
14921
|
+
return m[y] - m[M];
|
14918
14922
|
});
|
14919
14923
|
}
|
14920
|
-
function
|
14921
|
-
if (
|
14924
|
+
function fl(e) {
|
14925
|
+
if (he(e) === fn)
|
14922
14926
|
return [];
|
14923
|
-
var f =
|
14927
|
+
var f = zf(e);
|
14924
14928
|
return [Cn(e), f, Cn(f)];
|
14925
14929
|
}
|
14926
|
-
function
|
14930
|
+
function tl(e) {
|
14927
14931
|
var f = e.state, t = e.options, n = e.name;
|
14928
14932
|
if (!f.modifiersData[n]._skip) {
|
14929
|
-
for (var a = t.mainAxis, s = a === void 0 ? !0 : a, A = t.altAxis, i = A === void 0 ? !0 : A, l = t.fallbackPlacements, u = t.padding, g = t.boundary, d = t.rootBoundary, h = t.altBoundary,
|
14930
|
-
return Ue.concat(
|
14933
|
+
for (var a = t.mainAxis, s = a === void 0 ? !0 : a, A = t.altAxis, i = A === void 0 ? !0 : A, l = t.fallbackPlacements, u = t.padding, g = t.boundary, d = t.rootBoundary, h = t.altBoundary, m = t.flipVariations, y = m === void 0 ? !0 : m, M = t.allowedAutoPlacements, p = f.options.placement, _ = he(p), k = _ === p, S = l || (k || !y ? [zf(p)] : fl(p)), w = [p].concat(S).reduce(function(Ue, ke) {
|
14934
|
+
return Ue.concat(he(ke) === fn ? el(f, {
|
14931
14935
|
placement: ke,
|
14932
14936
|
boundary: g,
|
14933
14937
|
rootBoundary: d,
|
14934
14938
|
padding: u,
|
14935
14939
|
flipVariations: y,
|
14936
|
-
allowedAutoPlacements:
|
14940
|
+
allowedAutoPlacements: M
|
14937
14941
|
}) : ke);
|
14938
14942
|
}, []), j = f.rects.reference, U = f.rects.popper, E = /* @__PURE__ */ new Map(), V = !0, T = w[0], O = 0; O < w.length; O++) {
|
14939
|
-
var D = w[O], C =
|
14943
|
+
var D = w[O], C = he(D), R = Pe(D) === qe, J = [ne, re].indexOf(C) >= 0, fe = J ? "width" : "height", q = pf(f, {
|
14940
14944
|
placement: D,
|
14941
14945
|
boundary: g,
|
14942
14946
|
rootBoundary: d,
|
14943
14947
|
altBoundary: h,
|
14944
14948
|
padding: u
|
14945
14949
|
}), G = J ? R ? ue : ae : R ? re : ne;
|
14946
|
-
j[fe] > U[fe] && (G =
|
14947
|
-
var _f =
|
14950
|
+
j[fe] > U[fe] && (G = zf(G));
|
14951
|
+
var _f = zf(G), xe = [];
|
14948
14952
|
if (s && xe.push(q[C] <= 0), i && xe.push(q[G] <= 0, q[_f] <= 0), xe.every(function(Ue) {
|
14949
14953
|
return Ue;
|
14950
14954
|
})) {
|
@@ -14954,29 +14958,29 @@ function fl(e) {
|
|
14954
14958
|
E.set(D, xe);
|
14955
14959
|
}
|
14956
14960
|
if (V)
|
14957
|
-
for (var If = y ? 3 : 1,
|
14961
|
+
for (var If = y ? 3 : 1, pt = function(ke) {
|
14958
14962
|
var Ze = w.find(function(kf) {
|
14959
14963
|
var Se = E.get(kf);
|
14960
14964
|
if (Se)
|
14961
|
-
return Se.slice(0, ke).every(function(
|
14962
|
-
return
|
14965
|
+
return Se.slice(0, ke).every(function(ht) {
|
14966
|
+
return ht;
|
14963
14967
|
});
|
14964
14968
|
});
|
14965
14969
|
if (Ze)
|
14966
14970
|
return T = Ze, "break";
|
14967
14971
|
}, Ge = If; Ge > 0; Ge--) {
|
14968
|
-
var wf =
|
14972
|
+
var wf = pt(Ge);
|
14969
14973
|
if (wf === "break")
|
14970
14974
|
break;
|
14971
14975
|
}
|
14972
14976
|
f.placement !== T && (f.modifiersData[n]._skip = !0, f.placement = T, f.reset = !0);
|
14973
14977
|
}
|
14974
14978
|
}
|
14975
|
-
var
|
14979
|
+
var nl = {
|
14976
14980
|
name: "flip",
|
14977
14981
|
enabled: !0,
|
14978
14982
|
phase: "main",
|
14979
|
-
fn:
|
14983
|
+
fn: tl,
|
14980
14984
|
requiresIfExists: ["offset"],
|
14981
14985
|
data: {
|
14982
14986
|
_skip: !1
|
@@ -14998,7 +15002,7 @@ function Ln(e) {
|
|
14998
15002
|
return e[f] >= 0;
|
14999
15003
|
});
|
15000
15004
|
}
|
15001
|
-
function
|
15005
|
+
function al(e) {
|
15002
15006
|
var f = e.state, t = e.name, n = f.rects.reference, a = f.rects.popper, s = f.modifiersData.preventOverflow, A = pf(f, {
|
15003
15007
|
elementContext: "reference"
|
15004
15008
|
}), i = pf(f, {
|
@@ -15014,15 +15018,15 @@ function nl(e) {
|
|
15014
15018
|
"data-popper-escaped": d
|
15015
15019
|
});
|
15016
15020
|
}
|
15017
|
-
var
|
15021
|
+
var sl = {
|
15018
15022
|
name: "hide",
|
15019
15023
|
enabled: !0,
|
15020
15024
|
phase: "main",
|
15021
15025
|
requiresIfExists: ["preventOverflow"],
|
15022
|
-
fn:
|
15026
|
+
fn: al
|
15023
15027
|
};
|
15024
|
-
function
|
15025
|
-
var n =
|
15028
|
+
function Al(e, f, t) {
|
15029
|
+
var n = he(e), a = [ae, ne].indexOf(n) >= 0 ? -1 : 1, s = typeof t == "function" ? t(Object.assign({}, f, {
|
15026
15030
|
placement: e
|
15027
15031
|
})) : t, A = s[0], i = s[1];
|
15028
15032
|
return A = A || 0, i = (i || 0) * a, [ae, ue].indexOf(n) >= 0 ? {
|
@@ -15033,20 +15037,20 @@ function sl(e, f, t) {
|
|
15033
15037
|
y: i
|
15034
15038
|
};
|
15035
15039
|
}
|
15036
|
-
function
|
15040
|
+
function il(e) {
|
15037
15041
|
var f = e.state, t = e.options, n = e.name, a = t.offset, s = a === void 0 ? [0, 0] : a, A = oa.reduce(function(g, d) {
|
15038
|
-
return g[d] =
|
15042
|
+
return g[d] = Al(d, f.rects, s), g;
|
15039
15043
|
}, {}), i = A[f.placement], l = i.x, u = i.y;
|
15040
15044
|
f.modifiersData.popperOffsets != null && (f.modifiersData.popperOffsets.x += l, f.modifiersData.popperOffsets.y += u), f.modifiersData[n] = A;
|
15041
15045
|
}
|
15042
|
-
var
|
15046
|
+
var ol = {
|
15043
15047
|
name: "offset",
|
15044
15048
|
enabled: !0,
|
15045
15049
|
phase: "main",
|
15046
15050
|
requires: ["popperOffsets"],
|
15047
|
-
fn:
|
15051
|
+
fn: il
|
15048
15052
|
};
|
15049
|
-
function
|
15053
|
+
function ll(e) {
|
15050
15054
|
var f = e.state, t = e.name;
|
15051
15055
|
f.modifiersData[t] = ma({
|
15052
15056
|
reference: f.rects.reference,
|
@@ -15055,25 +15059,25 @@ function ol(e) {
|
|
15055
15059
|
placement: f.placement
|
15056
15060
|
});
|
15057
15061
|
}
|
15058
|
-
var
|
15062
|
+
var rl = {
|
15059
15063
|
name: "popperOffsets",
|
15060
15064
|
enabled: !0,
|
15061
15065
|
phase: "read",
|
15062
|
-
fn:
|
15066
|
+
fn: ll,
|
15063
15067
|
data: {}
|
15064
15068
|
};
|
15065
|
-
function
|
15069
|
+
function ul(e) {
|
15066
15070
|
return e === "x" ? "y" : "x";
|
15067
15071
|
}
|
15068
|
-
function
|
15069
|
-
var f = e.state, t = e.options, n = e.name, a = t.mainAxis, s = a === void 0 ? !0 : a, A = t.altAxis, i = A === void 0 ? !1 : A, l = t.boundary, u = t.rootBoundary, g = t.altBoundary, d = t.padding, h = t.tether,
|
15072
|
+
function cl(e) {
|
15073
|
+
var f = e.state, t = e.options, n = e.name, a = t.mainAxis, s = a === void 0 ? !0 : a, A = t.altAxis, i = A === void 0 ? !1 : A, l = t.boundary, u = t.rootBoundary, g = t.altBoundary, d = t.padding, h = t.tether, m = h === void 0 ? !0 : h, y = t.tetherOffset, M = y === void 0 ? 0 : y, p = pf(f, {
|
15070
15074
|
boundary: l,
|
15071
15075
|
rootBoundary: u,
|
15072
15076
|
padding: d,
|
15073
15077
|
altBoundary: g
|
15074
|
-
}),
|
15078
|
+
}), _ = he(f.placement), k = Pe(f.placement), S = !k, w = nn(_), j = ul(w), U = f.modifiersData.popperOffsets, E = f.rects.reference, V = f.rects.popper, T = typeof M == "function" ? M(Object.assign({}, f.rects, {
|
15075
15079
|
placement: f.placement
|
15076
|
-
})) :
|
15080
|
+
})) : M, O = typeof T == "number" ? {
|
15077
15081
|
mainAxis: T,
|
15078
15082
|
altAxis: T
|
15079
15083
|
} : Object.assign({
|
@@ -15085,56 +15089,56 @@ function ul(e) {
|
|
15085
15089
|
};
|
15086
15090
|
if (U) {
|
15087
15091
|
if (s) {
|
15088
|
-
var R, J = w === "y" ? ne : ae, fe = w === "y" ? re : ue, q = w === "y" ? "height" : "width", G = U[w], _f = G +
|
15092
|
+
var R, J = w === "y" ? ne : ae, fe = w === "y" ? re : ue, q = w === "y" ? "height" : "width", G = U[w], _f = G + p[J], xe = G - p[fe], If = m ? -V[q] / 2 : 0, pt = k === qe ? E[q] : V[q], Ge = k === qe ? -V[q] : -E[q], wf = f.elements.arrow, Ue = m && wf ? tn(wf) : {
|
15089
15093
|
width: 0,
|
15090
15094
|
height: 0
|
15091
|
-
}, ke = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : ua(), Ze = ke[J], kf = ke[fe], Se = lf(0, E[q], Ue[q]),
|
15095
|
+
}, ke = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : ua(), Ze = ke[J], kf = ke[fe], Se = lf(0, E[q], Ue[q]), ht = S ? E[q] / 2 - If - Se - Ze - O.mainAxis : pt - Se - Ze - O.mainAxis, Ma = S ? -E[q] / 2 + If + Se + kf + O.mainAxis : Ge + Se + kf + O.mainAxis, yt = f.elements.arrow && bf(f.elements.arrow), ba = yt ? w === "y" ? yt.clientTop || 0 : yt.clientLeft || 0 : 0, ln = (R = D == null ? void 0 : D[w]) != null ? R : 0, va = G + ht - ln - ba, _a = G + Ma - ln, rn = lf(m ? ut(_f, va) : _f, G, m ? Le(xe, _a) : xe);
|
15092
15096
|
U[w] = rn, C[w] = rn - G;
|
15093
15097
|
}
|
15094
15098
|
if (i) {
|
15095
|
-
var un, Ia = w === "x" ? ne : ae, wa = w === "x" ? re : ue, Ce = U[j], Nf = j === "y" ? "height" : "width", cn = Ce +
|
15099
|
+
var un, Ia = w === "x" ? ne : ae, wa = w === "x" ? re : ue, Ce = U[j], Nf = j === "y" ? "height" : "width", cn = Ce + p[Ia], dn = Ce - p[wa], Mt = [ne, ae].indexOf(_) !== -1, gn = (un = D == null ? void 0 : D[j]) != null ? un : 0, mn = Mt ? cn : Ce - E[Nf] - V[Nf] - gn + O.altAxis, pn = Mt ? Ce + E[Nf] + V[Nf] - gn - O.altAxis : dn, hn = m && Mt ? Oo(mn, Ce, pn) : lf(m ? mn : cn, Ce, m ? pn : dn);
|
15096
15100
|
U[j] = hn, C[j] = hn - Ce;
|
15097
15101
|
}
|
15098
15102
|
f.modifiersData[n] = C;
|
15099
15103
|
}
|
15100
15104
|
}
|
15101
|
-
var
|
15105
|
+
var dl = {
|
15102
15106
|
name: "preventOverflow",
|
15103
15107
|
enabled: !0,
|
15104
15108
|
phase: "main",
|
15105
|
-
fn:
|
15109
|
+
fn: cl,
|
15106
15110
|
requiresIfExists: ["offset"]
|
15107
15111
|
};
|
15108
|
-
function
|
15112
|
+
function gl(e) {
|
15109
15113
|
return {
|
15110
15114
|
scrollLeft: e.scrollLeft,
|
15111
15115
|
scrollTop: e.scrollTop
|
15112
15116
|
};
|
15113
15117
|
}
|
15114
|
-
function gl(e) {
|
15115
|
-
return e === de(e) || !oe(e) ? an(e) : dl(e);
|
15116
|
-
}
|
15117
15118
|
function ml(e) {
|
15119
|
+
return e === ge(e) || !oe(e) ? an(e) : gl(e);
|
15120
|
+
}
|
15121
|
+
function pl(e) {
|
15118
15122
|
var f = e.getBoundingClientRect(), t = He(f.width) / e.offsetWidth || 1, n = He(f.height) / e.offsetHeight || 1;
|
15119
15123
|
return t !== 1 || n !== 1;
|
15120
15124
|
}
|
15121
|
-
function
|
15125
|
+
function hl(e, f, t) {
|
15122
15126
|
t === void 0 && (t = !1);
|
15123
|
-
var n = oe(f), a = oe(f) &&
|
15127
|
+
var n = oe(f), a = oe(f) && pl(f), s = Te(f), A = Fe(e, a), i = {
|
15124
15128
|
scrollLeft: 0,
|
15125
15129
|
scrollTop: 0
|
15126
15130
|
}, l = {
|
15127
15131
|
x: 0,
|
15128
15132
|
y: 0
|
15129
15133
|
};
|
15130
|
-
return (n || !n && !t) && ((
|
15134
|
+
return (n || !n && !t) && ((ye(f) !== "body" || An(s)) && (i = ml(f)), oe(f) ? (l = Fe(f, !0), l.x += f.clientLeft, l.y += f.clientTop) : s && (l.x = sn(s))), {
|
15131
15135
|
x: A.left + i.scrollLeft - l.x,
|
15132
15136
|
y: A.top + i.scrollTop - l.y,
|
15133
15137
|
width: A.width,
|
15134
15138
|
height: A.height
|
15135
15139
|
};
|
15136
15140
|
}
|
15137
|
-
function
|
15141
|
+
function yl(e) {
|
15138
15142
|
var f = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set(), n = [];
|
15139
15143
|
e.forEach(function(s) {
|
15140
15144
|
f.set(s.name, s);
|
@@ -15153,15 +15157,15 @@ function hl(e) {
|
|
15153
15157
|
t.has(s.name) || a(s);
|
15154
15158
|
}), n;
|
15155
15159
|
}
|
15156
|
-
function
|
15157
|
-
var f =
|
15158
|
-
return
|
15160
|
+
function Ml(e) {
|
15161
|
+
var f = yl(e);
|
15162
|
+
return To.reduce(function(t, n) {
|
15159
15163
|
return t.concat(f.filter(function(a) {
|
15160
15164
|
return a.phase === n;
|
15161
15165
|
}));
|
15162
15166
|
}, []);
|
15163
15167
|
}
|
15164
|
-
function
|
15168
|
+
function bl(e) {
|
15165
15169
|
var f;
|
15166
15170
|
return function() {
|
15167
15171
|
return f || (f = new Promise(function(t) {
|
@@ -15171,7 +15175,7 @@ function Ml(e) {
|
|
15171
15175
|
})), f;
|
15172
15176
|
};
|
15173
15177
|
}
|
15174
|
-
function
|
15178
|
+
function vl(e) {
|
15175
15179
|
var f = e.reduce(function(t, n) {
|
15176
15180
|
var a = t[n.name];
|
15177
15181
|
return t[n.name] = a ? Object.assign({}, a, n, {
|
@@ -15195,7 +15199,7 @@ function Bn() {
|
|
15195
15199
|
return !(n && typeof n.getBoundingClientRect == "function");
|
15196
15200
|
});
|
15197
15201
|
}
|
15198
|
-
function
|
15202
|
+
function _l(e) {
|
15199
15203
|
e === void 0 && (e = {});
|
15200
15204
|
var f = e, t = f.defaultModifiers, n = t === void 0 ? [] : t, a = f.defaultOptions, s = a === void 0 ? Un : a;
|
15201
15205
|
return function(i, l, u) {
|
@@ -15211,26 +15215,26 @@ function vl(e) {
|
|
15211
15215
|
},
|
15212
15216
|
attributes: {},
|
15213
15217
|
styles: {}
|
15214
|
-
}, d = [], h = !1,
|
15218
|
+
}, d = [], h = !1, m = {
|
15215
15219
|
state: g,
|
15216
|
-
setOptions: function(
|
15217
|
-
var
|
15218
|
-
|
15220
|
+
setOptions: function(_) {
|
15221
|
+
var k = typeof _ == "function" ? _(g.options) : _;
|
15222
|
+
M(), g.options = Object.assign({}, s, g.options, k), g.scrollParents = {
|
15219
15223
|
reference: $e(i) ? rf(i) : i.contextElement ? rf(i.contextElement) : [],
|
15220
15224
|
popper: rf(l)
|
15221
15225
|
};
|
15222
|
-
var
|
15223
|
-
return g.orderedModifiers =
|
15226
|
+
var S = Ml(vl([].concat(n, g.options.modifiers)));
|
15227
|
+
return g.orderedModifiers = S.filter(function(w) {
|
15224
15228
|
return w.enabled;
|
15225
|
-
}), y(),
|
15229
|
+
}), y(), m.update();
|
15226
15230
|
},
|
15227
15231
|
forceUpdate: function() {
|
15228
15232
|
if (!h) {
|
15229
|
-
var
|
15230
|
-
if (Bn(
|
15233
|
+
var _ = g.elements, k = _.reference, S = _.popper;
|
15234
|
+
if (Bn(k, S)) {
|
15231
15235
|
g.rects = {
|
15232
|
-
reference:
|
15233
|
-
popper: tn(
|
15236
|
+
reference: hl(k, bf(S), g.options.strategy === "fixed"),
|
15237
|
+
popper: tn(S)
|
15234
15238
|
}, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function(O) {
|
15235
15239
|
return g.modifiersData[O.name] = Object.assign({}, O.data);
|
15236
15240
|
});
|
@@ -15244,56 +15248,56 @@ function vl(e) {
|
|
15244
15248
|
state: g,
|
15245
15249
|
options: V,
|
15246
15250
|
name: T,
|
15247
|
-
instance:
|
15251
|
+
instance: m
|
15248
15252
|
}) || g);
|
15249
15253
|
}
|
15250
15254
|
}
|
15251
15255
|
}
|
15252
15256
|
},
|
15253
|
-
update:
|
15254
|
-
return new Promise(function(
|
15255
|
-
|
15257
|
+
update: bl(function() {
|
15258
|
+
return new Promise(function(p) {
|
15259
|
+
m.forceUpdate(), p(g);
|
15256
15260
|
});
|
15257
15261
|
}),
|
15258
15262
|
destroy: function() {
|
15259
|
-
|
15263
|
+
M(), h = !0;
|
15260
15264
|
}
|
15261
15265
|
};
|
15262
15266
|
if (!Bn(i, l))
|
15263
|
-
return
|
15264
|
-
|
15265
|
-
!h && u.onFirstUpdate && u.onFirstUpdate(
|
15267
|
+
return m;
|
15268
|
+
m.setOptions(u).then(function(p) {
|
15269
|
+
!h && u.onFirstUpdate && u.onFirstUpdate(p);
|
15266
15270
|
});
|
15267
15271
|
function y() {
|
15268
|
-
g.orderedModifiers.forEach(function(
|
15269
|
-
var
|
15272
|
+
g.orderedModifiers.forEach(function(p) {
|
15273
|
+
var _ = p.name, k = p.options, S = k === void 0 ? {} : k, w = p.effect;
|
15270
15274
|
if (typeof w == "function") {
|
15271
15275
|
var j = w({
|
15272
15276
|
state: g,
|
15273
|
-
name:
|
15274
|
-
instance:
|
15275
|
-
options:
|
15277
|
+
name: _,
|
15278
|
+
instance: m,
|
15279
|
+
options: S
|
15276
15280
|
}), U = function() {
|
15277
15281
|
};
|
15278
15282
|
d.push(j || U);
|
15279
15283
|
}
|
15280
15284
|
});
|
15281
15285
|
}
|
15282
|
-
function
|
15283
|
-
d.forEach(function(
|
15284
|
-
return
|
15286
|
+
function M() {
|
15287
|
+
d.forEach(function(p) {
|
15288
|
+
return p();
|
15285
15289
|
}), d = [];
|
15286
15290
|
}
|
15287
|
-
return
|
15291
|
+
return m;
|
15288
15292
|
};
|
15289
15293
|
}
|
15290
|
-
var
|
15291
|
-
defaultModifiers:
|
15294
|
+
var Il = [Fo, rl, $o, So, ol, nl, dl, Qo, sl], wl = /* @__PURE__ */ _l({
|
15295
|
+
defaultModifiers: Il
|
15292
15296
|
}), pa = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
|
15293
|
-
function
|
15297
|
+
function Of(e) {
|
15294
15298
|
return e.split("-").map((f) => parseInt(f, 16)).map((f) => String.fromCodePoint(f)).join("");
|
15295
15299
|
}
|
15296
|
-
function
|
15300
|
+
function kl(e, f, t, n = []) {
|
15297
15301
|
const a = {};
|
15298
15302
|
return Object.keys(e).forEach((s) => {
|
15299
15303
|
if (n.includes(s))
|
@@ -15301,9 +15305,9 @@ function wl(e, f, t, n = []) {
|
|
15301
15305
|
const A = [];
|
15302
15306
|
e[s].forEach((i) => {
|
15303
15307
|
var l;
|
15304
|
-
if (i[
|
15308
|
+
if (i[gt][0].includes(f.toLocaleLowerCase())) {
|
15305
15309
|
let u = i[aa];
|
15306
|
-
if (t !==
|
15310
|
+
if (t !== rt && Array.isArray(i[Tf])) {
|
15307
15311
|
const g = ((l = i[Tf]) == null ? void 0 : l.findIndex(
|
15308
15312
|
(d) => d.includes(t)
|
15309
15313
|
)) || -1;
|
@@ -15333,13 +15337,13 @@ var vf = (e, f) => {
|
|
15333
15337
|
t[n] = a;
|
15334
15338
|
return t;
|
15335
15339
|
};
|
15336
|
-
const
|
15340
|
+
const Nl = X({
|
15337
15341
|
name: "Body",
|
15338
15342
|
emits: {
|
15339
15343
|
select: (e) => !0
|
15340
15344
|
},
|
15341
15345
|
setup() {
|
15342
|
-
const { state: e, updateEmoji: f, updateSelect: t } =
|
15346
|
+
const { state: e, updateEmoji: f, updateSelect: t } = de("store"), n = I(null), a = Y(() => kl(
|
15343
15347
|
e.emojis,
|
15344
15348
|
e.search,
|
15345
15349
|
e.skinTone,
|
@@ -15356,20 +15360,20 @@ const kl = X({
|
|
15356
15360
|
t(y), s == null || s.emit("select", {
|
15357
15361
|
...y,
|
15358
15362
|
t: e.skinTone,
|
15359
|
-
i:
|
15363
|
+
i: Of(y.r)
|
15360
15364
|
});
|
15361
15365
|
}
|
15362
|
-
function
|
15363
|
-
var
|
15364
|
-
const
|
15365
|
-
|
15366
|
+
function m(y, M) {
|
15367
|
+
var p;
|
15368
|
+
const _ = (p = y == null ? void 0 : y.target) == null ? void 0 : p.closest("button");
|
15369
|
+
_ && (_.innerHTML = `<span>${Of(M)}</span>`);
|
15366
15370
|
}
|
15367
15371
|
return le(
|
15368
15372
|
() => e.activeGroup,
|
15369
15373
|
() => {
|
15370
15374
|
var y;
|
15371
|
-
const
|
15372
|
-
|
15375
|
+
const M = (y = n.value) == null ? void 0 : y.querySelector("#" + e.activeGroup);
|
15376
|
+
M && (M.parentNode.scrollTop = M.offsetTop - M.parentNode.offsetTop);
|
15373
15377
|
}
|
15374
15378
|
), {
|
15375
15379
|
emojis: a,
|
@@ -15377,12 +15381,12 @@ const kl = X({
|
|
15377
15381
|
EMOJI_REMOTE_SRC: ta,
|
15378
15382
|
GROUP_NAMES: na,
|
15379
15383
|
handleClick: h,
|
15380
|
-
handleError:
|
15384
|
+
handleError: m,
|
15381
15385
|
handleMouseEnter: d,
|
15382
15386
|
native: e.options.native,
|
15383
|
-
unicodeToEmoji:
|
15387
|
+
unicodeToEmoji: Of,
|
15384
15388
|
EMOJI_RESULT_KEY: gf,
|
15385
|
-
EMOJI_NAME_KEY:
|
15389
|
+
EMOJI_NAME_KEY: gt,
|
15386
15390
|
hasGroupNames: A,
|
15387
15391
|
isSticky: i,
|
15388
15392
|
platform: g,
|
@@ -15390,12 +15394,12 @@ const kl = X({
|
|
15390
15394
|
orderedKeys: u
|
15391
15395
|
};
|
15392
15396
|
}
|
15393
|
-
}),
|
15397
|
+
}), Dl = { class: "v3-body" }, jl = ["id"], El = { class: "v3-emojis" }, Tl = ["onMouseenter", "onClick"], Vl = { key: 0 }, xl = ["src", "alt", "onError"], Sl = {
|
15394
15398
|
key: 1,
|
15395
15399
|
class: "v3-no-result"
|
15396
15400
|
};
|
15397
|
-
function
|
15398
|
-
return r(), c("div",
|
15401
|
+
function Cl(e, f, t, n, a, s) {
|
15402
|
+
return r(), c("div", Dl, [
|
15399
15403
|
o("div", {
|
15400
15404
|
ref: "bodyInner",
|
15401
15405
|
class: L([e.platform, "v3-body-inner"])
|
@@ -15408,35 +15412,35 @@ function Sl(e, f, t, n, a, s) {
|
|
15408
15412
|
e.hasGroupNames ? ce((r(), c("h5", {
|
15409
15413
|
key: 0,
|
15410
15414
|
class: L(e.isSticky ? "v3-sticky" : "")
|
15411
|
-
},
|
15412
|
-
[
|
15415
|
+
}, N(e.groupNames[A]), 3)), [
|
15416
|
+
[Lf, e.emojis[A]]
|
15413
15417
|
]) : v("", !0),
|
15414
|
-
ce(o("div",
|
15418
|
+
ce(o("div", El, [
|
15415
15419
|
(r(!0), c(P, null, Z(e.emojis[A], (i) => (r(), c("button", {
|
15416
15420
|
key: i.r,
|
15417
15421
|
type: "button",
|
15418
15422
|
onMouseenter: (l) => e.handleMouseEnter(i),
|
15419
15423
|
onClick: (l) => e.handleClick(i)
|
15420
15424
|
}, [
|
15421
|
-
e.native ? (r(), c("span",
|
15425
|
+
e.native ? (r(), c("span", Vl, N(e.unicodeToEmoji(i.r)), 1)) : (r(), c("img", {
|
15422
15426
|
key: 1,
|
15423
15427
|
src: e.EMOJI_REMOTE_SRC + `/${i.r}.png`,
|
15424
15428
|
alt: i.n[0],
|
15425
15429
|
onError: (l) => e.handleError(l, i.r)
|
15426
|
-
}, null, 40,
|
15427
|
-
], 40,
|
15430
|
+
}, null, 40, xl))
|
15431
|
+
], 40, Tl))), 128))
|
15428
15432
|
], 512), [
|
15429
|
-
[
|
15433
|
+
[Lf, e.emojis[A]]
|
15430
15434
|
])
|
15431
|
-
], 8,
|
15435
|
+
], 8, jl))), 128)) : (r(), c("span", Sl, " No emoji has been found! "))
|
15432
15436
|
], 2)
|
15433
15437
|
]);
|
15434
15438
|
}
|
15435
|
-
var Cl = /* @__PURE__ */ vf(kl, [["render", Sl]]), zl = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3NSA3LjI2NTYyNSAxNS4wOTM3NSA2LjQzNzUgQyAxNC41IDUuNjA5Mzc1IDEzLjU3MDMxMyA1IDEyLjUgNSBaIE0gMTYgOS41IEMgMTYgMTAuNjYwMTU2IDE2LjMxMjUgMTEuNzM0Mzc1IDE2LjkwNjI1IDEyLjU2MjUgQyAxNy41IDEzLjM5MDYyNSAxOC40Mjk2ODggMTQgMTkuNSAxNCBDIDIwLjU3MDMxMyAxNCAyMS41IDEzLjM5MDYyNSAyMi4wOTM3NSAxMi41NjI1IEMgMjIuNjg3NSAxMS43MzQzNzUgMjMgMTAuNjYwMTU2IDIzIDkuNSBDIDIzIDguMzM5ODQ0IDIyLjY4NzUgNy4yNjU2MjUgM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SAyMC44MjQyMTkgMTguNDQ2NjI1IDIwLjQ4MjkzNyAxNy41MTU2MjUgMjAuMDg1OTM4IEMgMTYuMzcyNjI1IDE5LjU5NzkzOCAxNS4wNzYzNTkgMTkuMDQ0OTIyIDEzLjQ0MzM1OSAxOS4wNDQ5MjIgQyAxMS44OTEzNTkgMTkuMDQ0OTIyIDEwLjc4NiAxOS4zNTggMTAgMTkuNzUgTCAxMCAxMi4zNjEzMjggQyAxMC4zNDUgMTEuOTA1MzI4IDExLjEzMjM1OSAxMSAxMy40NDMzNTkgMTEgeiIvPjwvc3ZnPg==", ql = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgMTEuODMyMDMxIDQgOC4xNTIzNDQgNi4xMTMyODEgNiA5LjM0Mzc1IEwgNiA2IEwgNCA2IEwgNCAxMyBMIDExIDEzIEwgMTEgMTEgTCA3LjM3NSAxMSBDIDkuMTAxNTYzIDguMDE5NTMxIDEyLjI5Njg3NSA2IDE2IDYgQyAyMS41MzUxNTYgNiAyNiAxMC40NjQ4NDQgMjYgMTYgQyAyNiAyMS41MzUxNTYgMjEuNTM1MTU2IDI2IDE2IDI2IEMgMTAuNDY0ODQ0IDI2IDYgMjEuNTM1MTU2IDYgMTYgTCA0IDE2IEMgNCAyMi42MTcxODggOS4zODI4MTMgMjggMTYgMjggQyAyMi42MTcxODggMjggMjggMjIuNjE3MTg4IDI4IDE2IEMgMjggOS4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";
|
15440
|
+
const $l = X({
|
15437
15441
|
name: "Header",
|
15438
15442
|
setup(e) {
|
15439
|
-
const { state: f, updateSearch: t, updateActiveGroup: n } =
|
15443
|
+
const { state: f, updateSearch: t, updateActiveGroup: n } = de("store"), a = Y(() => !f.options.hideSearch), s = Y(() => !f.options.hideGroupIcons), A = JSON.parse(JSON.stringify(f.orderedGroupKeys)), i = Y(
|
15440
15444
|
() => f.options.staticTexts.placeholder || ""
|
15441
15445
|
), l = Y({
|
15442
15446
|
get: () => f.search,
|
@@ -15449,7 +15453,7 @@ const ql = X({
|
|
15449
15453
|
}))
|
15450
15454
|
], g = [];
|
15451
15455
|
return A.forEach((d) => {
|
15452
|
-
const h = u.findIndex((
|
15456
|
+
const h = u.findIndex((m) => m.key === d);
|
15453
15457
|
h !== -1 && (g.push(u[h]), u.splice(h, 1));
|
15454
15458
|
}), {
|
15455
15459
|
orderedGroups: g,
|
@@ -15461,34 +15465,34 @@ const ql = X({
|
|
15461
15465
|
placeholder: i,
|
15462
15466
|
icons: {
|
15463
15467
|
smileys_people: pa,
|
15464
|
-
animals_nature:
|
15465
|
-
food_drink:
|
15466
|
-
activities:
|
15467
|
-
travel_places:
|
15468
|
-
objects:
|
15469
|
-
symbols:
|
15470
|
-
flags:
|
15468
|
+
animals_nature: Ol,
|
15469
|
+
food_drink: Ll,
|
15470
|
+
activities: Ul,
|
15471
|
+
travel_places: Bl,
|
15472
|
+
objects: Ql,
|
15473
|
+
symbols: Rl,
|
15474
|
+
flags: Yl,
|
15471
15475
|
...f.options.groupIcons,
|
15472
|
-
recent:
|
15476
|
+
recent: ql
|
15473
15477
|
}
|
15474
15478
|
};
|
15475
15479
|
}
|
15476
|
-
}),
|
15480
|
+
}), Hl = {
|
15477
15481
|
key: 0,
|
15478
15482
|
class: "v3-header"
|
15479
|
-
},
|
15483
|
+
}, Fl = {
|
15480
15484
|
key: 0,
|
15481
15485
|
class: "v3-groups"
|
15482
|
-
},
|
15486
|
+
}, Pl = ["onClick"], Wl = ["title"], Kl = ["src"], Jl = {
|
15483
15487
|
key: 1,
|
15484
15488
|
class: "v3-spacing"
|
15485
|
-
},
|
15489
|
+
}, Gl = {
|
15486
15490
|
key: 2,
|
15487
15491
|
class: "v3-search"
|
15488
|
-
},
|
15489
|
-
function
|
15490
|
-
return e.hasGroupIcons || e.hasSearch ? (r(), c("div",
|
15491
|
-
e.hasGroupIcons ? (r(), c("div",
|
15492
|
+
}, Zl = ["placeholder"];
|
15493
|
+
function Xl(e, f, t, n, a, s) {
|
15494
|
+
return e.hasGroupIcons || e.hasSearch ? (r(), c("div", Hl, [
|
15495
|
+
e.hasGroupIcons ? (r(), c("div", Fl, [
|
15492
15496
|
(r(!0), c(P, null, Z(e.orderedGroups, (A) => (r(), c("button", {
|
15493
15497
|
key: A.key,
|
15494
15498
|
type: "button",
|
@@ -15504,27 +15508,27 @@ function Zl(e, f, t, n, a, s) {
|
|
15504
15508
|
o("img", {
|
15505
15509
|
src: e.icons[A.key],
|
15506
15510
|
alt: ""
|
15507
|
-
}, null, 8,
|
15508
|
-
], 8,
|
15509
|
-
], 10,
|
15511
|
+
}, null, 8, Kl)
|
15512
|
+
], 8, Wl)
|
15513
|
+
], 10, Pl))), 128))
|
15510
15514
|
])) : v("", !0),
|
15511
|
-
e.hasGroupIcons && e.hasSearch ? (r(), c("div",
|
15512
|
-
e.hasSearch ? (r(), c("div",
|
15515
|
+
e.hasGroupIcons && e.hasSearch ? (r(), c("div", Jl)) : v("", !0),
|
15516
|
+
e.hasSearch ? (r(), c("div", Gl, [
|
15513
15517
|
ce(o("input", {
|
15514
15518
|
"onUpdate:modelValue": f[0] || (f[0] = (A) => e.searchValue = A),
|
15515
15519
|
type: "text",
|
15516
15520
|
placeholder: e.placeholder
|
15517
|
-
}, null, 8,
|
15521
|
+
}, null, 8, Zl), [
|
15518
15522
|
[uf, e.searchValue]
|
15519
15523
|
])
|
15520
15524
|
])) : v("", !0)
|
15521
15525
|
])) : v("", !0);
|
15522
15526
|
}
|
15523
|
-
var
|
15524
|
-
const
|
15527
|
+
var e1 = /* @__PURE__ */ vf($l, [["render", Xl]]);
|
15528
|
+
const f1 = X({
|
15525
15529
|
name: "Header",
|
15526
15530
|
setup() {
|
15527
|
-
const { state: e, updateSkinTone: f } =
|
15531
|
+
const { state: e, updateSkinTone: f } = de("store"), t = I(!1), n = I(!1), a = Y(() => e.skinTone), s = Y(
|
15528
15532
|
() => e.options.staticTexts.skinTone || "Skin tone"
|
15529
15533
|
), A = Y(() => !e.options.disableSkinTones), i = ha() ? "is-mac" : "", l = Y(() => ({
|
15530
15534
|
...e.emoji,
|
@@ -15546,40 +15550,40 @@ const e1 = X({
|
|
15546
15550
|
}
|
15547
15551
|
), {
|
15548
15552
|
emoji: l,
|
15549
|
-
SKIN_TONES:
|
15553
|
+
SKIN_TONES: Fi,
|
15550
15554
|
updateSkinToneState: u,
|
15551
15555
|
skinTone: t,
|
15552
15556
|
stateSkinTone: a,
|
15553
15557
|
selectSkinTone: d,
|
15554
15558
|
toggleSkinToneState: g,
|
15555
15559
|
EMOJI_RESULT_KEY: gf,
|
15556
|
-
EMOJI_NAME_KEY:
|
15560
|
+
EMOJI_NAME_KEY: gt,
|
15557
15561
|
skinToneText: s,
|
15558
15562
|
hasSkinTones: A,
|
15559
15563
|
native: e.options.native,
|
15560
|
-
unicodeToEmoji:
|
15564
|
+
unicodeToEmoji: Of,
|
15561
15565
|
platform: i,
|
15562
15566
|
hasError: n
|
15563
15567
|
};
|
15564
15568
|
}
|
15565
|
-
}),
|
15566
|
-
function
|
15569
|
+
}), t1 = { class: "v3-foot-left" }, n1 = { key: 0 }, a1 = ["alt", "src"], s1 = { class: "v3-text" }, A1 = { class: "v3-text" }, i1 = ["onClick"];
|
15570
|
+
function o1(e, f, t, n, a, s) {
|
15567
15571
|
return r(), c("div", {
|
15568
15572
|
class: "v3-footer",
|
15569
15573
|
onMouseleave: f[2] || (f[2] = (A) => e.updateSkinToneState(!1))
|
15570
15574
|
}, [
|
15571
|
-
o("div",
|
15575
|
+
o("div", t1, [
|
15572
15576
|
o("span", {
|
15573
15577
|
class: L([e.platform, "v3-icon"])
|
15574
15578
|
}, [
|
15575
|
-
e.native || e.hasError ? (r(), c("span",
|
15579
|
+
e.native || e.hasError ? (r(), c("span", n1, N(e.unicodeToEmoji(e.emoji.r)), 1)) : (r(), c("img", {
|
15576
15580
|
key: 1,
|
15577
15581
|
alt: e.unicodeToEmoji(e.emoji.r),
|
15578
15582
|
src: e.emoji.src,
|
15579
15583
|
onError: f[0] || (f[0] = (A) => e.hasError = !0)
|
15580
|
-
}, null, 40,
|
15584
|
+
}, null, 40, a1))
|
15581
15585
|
], 2),
|
15582
|
-
o("span",
|
15586
|
+
o("span", s1, " :" + N(e.emoji[e.EMOJI_NAME_KEY][1] || e.emoji[e.EMOJI_NAME_KEY][0]) + ": ", 1)
|
15583
15587
|
]),
|
15584
15588
|
e.hasSkinTones ? (r(), c(P, { key: 0 }, [
|
15585
15589
|
o("button", {
|
@@ -15587,7 +15591,7 @@ function i1(e, f, t, n, a, s) {
|
|
15587
15591
|
class: "v3-tone",
|
15588
15592
|
onClick: f[1] || (f[1] = (...A) => e.toggleSkinToneState && e.toggleSkinToneState(...A))
|
15589
15593
|
}, [
|
15590
|
-
o("span",
|
15594
|
+
o("span", A1, N(e.skinToneText), 1),
|
15591
15595
|
o("span", {
|
15592
15596
|
class: L(`v3-icon v3-tone-${e.stateSkinTone}`)
|
15593
15597
|
}, null, 2)
|
@@ -15600,18 +15604,18 @@ function i1(e, f, t, n, a, s) {
|
|
15600
15604
|
type: "button",
|
15601
15605
|
class: L(["v3-skin-tone-" + A, "v3-skin-tone"]),
|
15602
15606
|
onClick: (i) => e.selectSkinTone(A)
|
15603
|
-
}, null, 10,
|
15607
|
+
}, null, 10, i1))), 128))
|
15604
15608
|
], 2)
|
15605
15609
|
], 64)) : v("", !0)
|
15606
15610
|
], 32);
|
15607
15611
|
}
|
15608
|
-
var
|
15609
|
-
const
|
15612
|
+
var l1 = /* @__PURE__ */ vf(f1, [["render", o1]]);
|
15613
|
+
const r1 = X({
|
15610
15614
|
name: "PickerRoot",
|
15611
15615
|
components: {
|
15612
|
-
Header:
|
15613
|
-
Body:
|
15614
|
-
Footer:
|
15616
|
+
Header: e1,
|
15617
|
+
Body: zl,
|
15618
|
+
Footer: l1
|
15615
15619
|
},
|
15616
15620
|
props: {
|
15617
15621
|
type: {
|
@@ -15644,49 +15648,49 @@ const l1 = X({
|
|
15644
15648
|
"update:text": (e) => !0
|
15645
15649
|
},
|
15646
15650
|
setup(e, { emit: f }) {
|
15647
|
-
const t =
|
15651
|
+
const t = I(), n = I(), a = I(), s = I(!1), A = I(e.text), i = e.type === "input" || e.type === "textarea";
|
15648
15652
|
let l = -1;
|
15649
|
-
const { state: u } =
|
15650
|
-
function d(
|
15653
|
+
const { state: u } = de("store"), g = Y(() => u.options.colorTheme);
|
15654
|
+
function d(p) {
|
15651
15655
|
if (i) {
|
15652
|
-
const
|
15653
|
-
|
15656
|
+
const _ = u.options.mode;
|
15657
|
+
_ === "prepend" ? A.value = p.i + A.value : _ === "insert" && l !== -1 ? (A.value = `${A.value.slice(0, l)}${p.i}${A.value.slice(l)}`, l += p.i.length) : A.value += p.i, f("update:text", A.value);
|
15654
15658
|
}
|
15655
|
-
f("select",
|
15659
|
+
f("select", p);
|
15656
15660
|
}
|
15657
15661
|
function h() {
|
15658
|
-
var
|
15659
|
-
t.value && (l = ((
|
15662
|
+
var p;
|
15663
|
+
t.value && (l = ((p = t.value) == null ? void 0 : p.selectionEnd) || -1);
|
15660
15664
|
}
|
15661
|
-
function p
|
15662
|
-
var
|
15663
|
-
!((
|
15665
|
+
function m(p) {
|
15666
|
+
var _;
|
15667
|
+
!((_ = p.target) != null && _.closest(
|
15664
15668
|
".v3-input-picker-wrap"
|
15665
15669
|
)) && s.value && (s.value = !1);
|
15666
15670
|
}
|
15667
15671
|
function y() {
|
15668
15672
|
if (n.value && a.value && i) {
|
15669
|
-
let
|
15670
|
-
typeof
|
15673
|
+
let p = u.options.offset;
|
15674
|
+
typeof p != "number" && (p = 6), wl(n.value, a.value, {
|
15671
15675
|
placement: "bottom-end",
|
15672
15676
|
modifiers: [
|
15673
15677
|
{
|
15674
15678
|
name: "offset",
|
15675
15679
|
options: {
|
15676
|
-
offset: [0,
|
15680
|
+
offset: [0, p]
|
15677
15681
|
}
|
15678
15682
|
}
|
15679
15683
|
]
|
15680
|
-
}), document.body.addEventListener("click",
|
15684
|
+
}), document.body.addEventListener("click", m);
|
15681
15685
|
}
|
15682
15686
|
}
|
15683
|
-
function
|
15684
|
-
A.value =
|
15687
|
+
function M(p) {
|
15688
|
+
A.value = p.target.value || "", f("update:text", A.value);
|
15685
15689
|
}
|
15686
15690
|
return we(() => {
|
15687
15691
|
y();
|
15688
15692
|
}), Ta(() => {
|
15689
|
-
document.body.removeEventListener("click",
|
15693
|
+
document.body.removeEventListener("click", m);
|
15690
15694
|
}), {
|
15691
15695
|
face: pa,
|
15692
15696
|
open: s,
|
@@ -15697,18 +15701,18 @@ const l1 = X({
|
|
15697
15701
|
button: n,
|
15698
15702
|
picker: a,
|
15699
15703
|
isInputType: i,
|
15700
|
-
onChangeText:
|
15704
|
+
onChangeText: M,
|
15701
15705
|
colorTheme: g
|
15702
15706
|
};
|
15703
15707
|
}
|
15704
|
-
}),
|
15708
|
+
}), u1 = {
|
15705
15709
|
key: 0,
|
15706
15710
|
class: "v3-input-emoji-picker"
|
15707
|
-
},
|
15708
|
-
function
|
15709
|
-
const A =
|
15710
|
-
return e.isInputType ? (r(), c("div",
|
15711
|
-
o("div",
|
15711
|
+
}, c1 = { class: "v3-input-picker-root" }, d1 = ["value"], g1 = ["value"], m1 = ["src"];
|
15712
|
+
function p1(e, f, t, n, a, s) {
|
15713
|
+
const A = Sf("Header"), i = Sf("Body"), l = Sf("Footer");
|
15714
|
+
return e.isInputType ? (r(), c("div", u1, [
|
15715
|
+
o("div", c1, [
|
15712
15716
|
e.type === "input" ? (r(), c("input", {
|
15713
15717
|
key: 0,
|
15714
15718
|
ref: "elem",
|
@@ -15717,14 +15721,14 @@ function m1(e, f, t, n, a, s) {
|
|
15717
15721
|
class: "v3-emoji-picker-input",
|
15718
15722
|
onInput: f[0] || (f[0] = (...u) => e.onChangeText && e.onChangeText(...u)),
|
15719
15723
|
onBlur: f[1] || (f[1] = (...u) => e.updateCursor && e.updateCursor(...u))
|
15720
|
-
}, null, 40,
|
15724
|
+
}, null, 40, d1)) : (r(), c("textarea", {
|
15721
15725
|
key: 1,
|
15722
15726
|
ref: "elem",
|
15723
15727
|
value: e.input,
|
15724
15728
|
class: "v3-emoji-picker-textarea",
|
15725
15729
|
onInput: f[2] || (f[2] = (...u) => e.onChangeText && e.onChangeText(...u)),
|
15726
15730
|
onBlur: f[3] || (f[3] = (...u) => e.updateCursor && e.updateCursor(...u))
|
15727
|
-
}, null, 40,
|
15731
|
+
}, null, 40, g1)),
|
15728
15732
|
o("div", {
|
15729
15733
|
class: L(["v3-input-picker-wrap", e.open ? "v3-picker-is-open" : ""])
|
15730
15734
|
}, [
|
@@ -15737,7 +15741,7 @@ function m1(e, f, t, n, a, s) {
|
|
15737
15741
|
o("img", {
|
15738
15742
|
src: e.face,
|
15739
15743
|
alt: ""
|
15740
|
-
}, null, 8,
|
15744
|
+
}, null, 8, m1)
|
15741
15745
|
], 512),
|
15742
15746
|
o("div", {
|
15743
15747
|
ref: "picker",
|
@@ -15758,11 +15762,11 @@ function m1(e, f, t, n, a, s) {
|
|
15758
15762
|
Q(l)
|
15759
15763
|
], 2));
|
15760
15764
|
}
|
15761
|
-
var
|
15762
|
-
const
|
15765
|
+
var h1 = /* @__PURE__ */ vf(r1, [["render", p1]]);
|
15766
|
+
const y1 = X({
|
15763
15767
|
name: "Picker",
|
15764
15768
|
components: {
|
15765
|
-
PickerRoot:
|
15769
|
+
PickerRoot: h1
|
15766
15770
|
},
|
15767
15771
|
props: {
|
15768
15772
|
native: {
|
@@ -15843,17 +15847,17 @@ const h1 = X({
|
|
15843
15847
|
select: (e) => !0
|
15844
15848
|
},
|
15845
15849
|
setup(e, { emit: f }) {
|
15846
|
-
const t =
|
15850
|
+
const t = I(e.text);
|
15847
15851
|
function n(s) {
|
15848
15852
|
t.value = s || "", f("update:text", t.value);
|
15849
15853
|
}
|
15850
|
-
const a =
|
15854
|
+
const a = yo();
|
15851
15855
|
return a.updateOptions({
|
15852
15856
|
native: e.native,
|
15853
15857
|
hideSearch: e.hideSearch,
|
15854
15858
|
hideGroupIcons: e.hideGroupIcons,
|
15855
15859
|
hideGroupNames: e.hideGroupNames,
|
15856
|
-
staticTexts: { ...
|
15860
|
+
staticTexts: { ...Pi, ...e.staticTexts },
|
15857
15861
|
disableStickyGroupNames: e.disableStickyGroupNames,
|
15858
15862
|
disabledGroups: e.disabledGroups,
|
15859
15863
|
groupNames: { ...na, ...e.groupNames },
|
@@ -15864,7 +15868,7 @@ const h1 = X({
|
|
15864
15868
|
offset: e.offset,
|
15865
15869
|
groupOrder: e.groupOrder,
|
15866
15870
|
groupIcons: e.groupIcons,
|
15867
|
-
colorTheme:
|
15871
|
+
colorTheme: Wi.includes(e.theme) ? e.theme : "light"
|
15868
15872
|
}), Yt("store", a), {
|
15869
15873
|
type: e.pickerType,
|
15870
15874
|
input: t,
|
@@ -15872,8 +15876,8 @@ const h1 = X({
|
|
15872
15876
|
};
|
15873
15877
|
}
|
15874
15878
|
});
|
15875
|
-
function
|
15876
|
-
const A =
|
15879
|
+
function M1(e, f, t, n, a, s) {
|
15880
|
+
const A = Sf("picker-root");
|
15877
15881
|
return r(), W(A, {
|
15878
15882
|
type: e.type,
|
15879
15883
|
text: e.input,
|
@@ -15881,8 +15885,8 @@ function y1(e, f, t, n, a, s) {
|
|
15881
15885
|
"onUpdate:text": e.onChangeText
|
15882
15886
|
}, null, 8, ["type", "text", "onUpdate:text"]);
|
15883
15887
|
}
|
15884
|
-
var
|
15885
|
-
const
|
15888
|
+
var b1 = /* @__PURE__ */ vf(y1, [["render", M1]]);
|
15889
|
+
const v1 = {
|
15886
15890
|
__name: "ButtonEmojiPicker",
|
15887
15891
|
props: {
|
15888
15892
|
mode: {
|
@@ -15896,25 +15900,25 @@ const b1 = {
|
|
15896
15900
|
}
|
15897
15901
|
},
|
15898
15902
|
setup(e) {
|
15899
|
-
const f = e, t =
|
15903
|
+
const f = e, t = I(null), n = I(null), a = de("chatAppId"), { setMessageText: s, getMessage: A } = yf(a), i = Y(() => {
|
15900
15904
|
if (document.documentElement.classList.contains("dark"))
|
15901
15905
|
return "dark";
|
15902
|
-
}), l = (
|
15903
|
-
s(A().text +
|
15906
|
+
}), l = (m) => {
|
15907
|
+
s(A().text + m.i);
|
15904
15908
|
}, u = () => {
|
15905
15909
|
f.mode == "click" && f.state == "active" && (t.value.style.display = "inherit");
|
15906
15910
|
}, g = () => {
|
15907
15911
|
f.mode == "hover" && f.state == "active" && (t.value.style.display = "inherit");
|
15908
15912
|
}, d = () => {
|
15909
15913
|
f.mode == "hover" && f.state == "active" && (t.value.style.display = "none");
|
15910
|
-
}, h = (
|
15911
|
-
f.mode == "click" && !n.value.contains(
|
15914
|
+
}, h = (m) => {
|
15915
|
+
f.mode == "click" && !n.value.contains(m.target) && !t.value.contains(m.target) && (t.value.style.display = "none");
|
15912
15916
|
};
|
15913
15917
|
return we(() => {
|
15914
15918
|
t.value.style.display = "none", document.addEventListener("click", h);
|
15915
|
-
}),
|
15919
|
+
}), ct(() => {
|
15916
15920
|
document.removeEventListener("click", h);
|
15917
|
-
}), (
|
15921
|
+
}), (m, y) => (r(), c(P, null, [
|
15918
15922
|
o("div", {
|
15919
15923
|
ref_key: "emojiButton",
|
15920
15924
|
ref: n,
|
@@ -15934,7 +15938,7 @@ const b1 = {
|
|
15934
15938
|
onMouseover: g,
|
15935
15939
|
onMouseout: d
|
15936
15940
|
}, [
|
15937
|
-
Q(
|
15941
|
+
Q(x(b1), {
|
15938
15942
|
native: !0,
|
15939
15943
|
theme: i.value,
|
15940
15944
|
"picker-type": "",
|
@@ -15946,7 +15950,7 @@ const b1 = {
|
|
15946
15950
|
})
|
15947
15951
|
], 64));
|
15948
15952
|
}
|
15949
|
-
},
|
15953
|
+
}, mc = /* @__PURE__ */ B(v1, [["__scopeId", "data-v-116254cb"]]), _1 = { class: "context-menu" }, I1 = { class: "context-menu__container" }, w1 = { class: "context-menu__list" }, k1 = ["onClick"], N1 = ["src"], D1 = {
|
15950
15954
|
__name: "ContextMenu",
|
15951
15955
|
props: {
|
15952
15956
|
actions: {
|
@@ -15960,9 +15964,9 @@ const b1 = {
|
|
15960
15964
|
const A = t.actions[s];
|
15961
15965
|
n("click", A);
|
15962
15966
|
};
|
15963
|
-
return (s, A) => (r(), c("div",
|
15964
|
-
o("div",
|
15965
|
-
o("ul",
|
15967
|
+
return (s, A) => (r(), c("div", _1, [
|
15968
|
+
o("div", I1, [
|
15969
|
+
o("ul", w1, [
|
15966
15970
|
(r(!0), c(P, null, Z(t.actions, (i, l) => (r(), c("li", {
|
15967
15971
|
key: l,
|
15968
15972
|
class: "context-menu__item",
|
@@ -15973,26 +15977,26 @@ const b1 = {
|
|
15973
15977
|
src: i.icon,
|
15974
15978
|
width: "18",
|
15975
15979
|
height: "18"
|
15976
|
-
}, null, 8,
|
15980
|
+
}, null, 8, N1)) : i.prime ? (r(), c("i", {
|
15977
15981
|
key: 1,
|
15978
15982
|
class: L("pi pi-" + i.prime)
|
15979
15983
|
}, null, 2)) : v("", !0),
|
15980
|
-
o("span", null,
|
15981
|
-
], 8,
|
15984
|
+
o("span", null, N(i.title), 1)
|
15985
|
+
], 8, k1))), 128))
|
15982
15986
|
])
|
15983
15987
|
])
|
15984
15988
|
]));
|
15985
15989
|
}
|
15986
|
-
}, Ve = /* @__PURE__ */ B(
|
15990
|
+
}, Ve = /* @__PURE__ */ B(D1, [["__scopeId", "data-v-7784f539"]]), j1 = ["messageId"], E1 = ["src"], T1 = {
|
15987
15991
|
key: 1,
|
15988
15992
|
class: "file-message__subtext"
|
15989
|
-
},
|
15993
|
+
}, V1 = ["href"], x1 = { class: "file-message__filename-text" }, S1 = { class: "file-message__info-container" }, C1 = { class: "file-message__time" }, z1 = {
|
15990
15994
|
key: 0,
|
15991
15995
|
class: "pi pi-check"
|
15992
|
-
},
|
15996
|
+
}, O1 = ["href"], L1 = {
|
15993
15997
|
key: 1,
|
15994
15998
|
class: "file-message__text-container"
|
15995
|
-
},
|
15999
|
+
}, U1 = ["innerHTML"], B1 = /* @__PURE__ */ X({
|
15996
16000
|
__name: "FileMessage",
|
15997
16001
|
props: {
|
15998
16002
|
message: {
|
@@ -16002,7 +16006,7 @@ const b1 = {
|
|
16002
16006
|
},
|
16003
16007
|
emits: ["action"],
|
16004
16008
|
setup(e, { emit: f }) {
|
16005
|
-
const t = e, n = f, a =
|
16009
|
+
const t = e, n = f, a = I(!1), s = I(!1), A = I("");
|
16006
16010
|
le(
|
16007
16011
|
() => t.message.text,
|
16008
16012
|
() => {
|
@@ -16021,11 +16025,11 @@ const b1 = {
|
|
16021
16025
|
}, d = () => {
|
16022
16026
|
s.value = !1, a.value = !1;
|
16023
16027
|
}, h = Y(() => Je(t.message.status));
|
16024
|
-
function
|
16028
|
+
function m(y) {
|
16025
16029
|
return y.position === "left" ? "file-message__left" : "file-message__right";
|
16026
16030
|
}
|
16027
|
-
return (y,
|
16028
|
-
class: L(["file-message",
|
16031
|
+
return (y, M) => (r(), c("div", {
|
16032
|
+
class: L(["file-message", m(e.message)]),
|
16029
16033
|
messageId: e.message.messageId,
|
16030
16034
|
onMouseleave: d
|
16031
16035
|
}, [
|
@@ -16036,8 +16040,8 @@ const b1 = {
|
|
16036
16040
|
height: "32",
|
16037
16041
|
width: "32",
|
16038
16042
|
style: K({ gridRow: e.message.subText ? "2" : "1" })
|
16039
|
-
}, null, 12,
|
16040
|
-
e.message.subText ? (r(), c("p",
|
16043
|
+
}, null, 12, E1)) : v("", !0),
|
16044
|
+
e.message.subText ? (r(), c("p", T1, N(e.message.subText), 1)) : v("", !0),
|
16041
16045
|
o("div", {
|
16042
16046
|
class: "file-message__content",
|
16043
16047
|
onMouseenter: g
|
@@ -16048,32 +16052,32 @@ const b1 = {
|
|
16048
16052
|
download: "",
|
16049
16053
|
target: "_blank"
|
16050
16054
|
}, [
|
16051
|
-
|
16052
|
-
o("p",
|
16053
|
-
], 8,
|
16054
|
-
o("div",
|
16055
|
+
M[1] || (M[1] = o("span", { class: "pi pi-file" }, null, -1)),
|
16056
|
+
o("p", x1, N(e.message.filename), 1)
|
16057
|
+
], 8, V1),
|
16058
|
+
o("div", S1, [
|
16055
16059
|
e.message.views ? (r(), c("div", {
|
16056
16060
|
key: 0,
|
16057
16061
|
onClick: l,
|
16058
16062
|
class: "file-message__views"
|
16059
16063
|
}, [
|
16060
|
-
|
16061
|
-
o("p", null,
|
16064
|
+
M[2] || (M[2] = o("span", { class: "pi pi-eye" }, null, -1)),
|
16065
|
+
o("p", null, N(e.message.views), 1)
|
16062
16066
|
])) : v("", !0),
|
16063
|
-
o("span",
|
16064
|
-
|
16067
|
+
o("span", C1, N(e.message.time), 1),
|
16068
|
+
m(e.message) === "file-message__right" && x(Ke).includes(e.message.status) ? (r(), c("div", {
|
16065
16069
|
key: 1,
|
16066
16070
|
class: L(["file-message__status", h.value])
|
16067
16071
|
}, [
|
16068
|
-
e.message.status !== "sent" ? (r(), c("span",
|
16069
|
-
|
16072
|
+
e.message.status !== "sent" ? (r(), c("span", z1)) : v("", !0),
|
16073
|
+
M[3] || (M[3] = o("span", { class: "pi pi-check" }, null, -1))
|
16070
16074
|
], 2)) : v("", !0)
|
16071
16075
|
]),
|
16072
16076
|
s.value && e.message.actions ? (r(), c("button", {
|
16073
16077
|
key: 0,
|
16074
16078
|
class: "file-message__menu-button",
|
16075
|
-
onClick:
|
16076
|
-
},
|
16079
|
+
onClick: M[0] || (M[0] = (p) => a.value = !a.value)
|
16080
|
+
}, M[4] || (M[4] = [
|
16077
16081
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
16078
16082
|
]))) : v("", !0),
|
16079
16083
|
o("a", {
|
@@ -16082,12 +16086,12 @@ const b1 = {
|
|
16082
16086
|
onClick: Qe(() => "//Предотвращаем всплытие события клика", ["stop"]),
|
16083
16087
|
download: "",
|
16084
16088
|
target: "_blank"
|
16085
|
-
},
|
16089
|
+
}, M[5] || (M[5] = [
|
16086
16090
|
o("span", { class: "pi pi-download" }, null, -1)
|
16087
|
-
]), 8,
|
16091
|
+
]), 8, O1),
|
16088
16092
|
Q(H, null, {
|
16089
16093
|
default: F(() => [
|
16090
|
-
a.value && e.message.actions ? (r(), W(
|
16094
|
+
a.value && e.message.actions ? (r(), W(x(Ve), {
|
16091
16095
|
key: 0,
|
16092
16096
|
class: "file-message__context-menu",
|
16093
16097
|
actions: e.message.actions,
|
@@ -16096,31 +16100,31 @@ const b1 = {
|
|
16096
16100
|
]),
|
16097
16101
|
_: 1
|
16098
16102
|
}),
|
16099
|
-
e.message.text ? (r(), c("div",
|
16103
|
+
e.message.text ? (r(), c("div", L1, [
|
16100
16104
|
o("p", {
|
16101
16105
|
innerHTML: A.value,
|
16102
16106
|
onClick: i
|
16103
|
-
}, null, 8,
|
16107
|
+
}, null, 8, U1)
|
16104
16108
|
])) : v("", !0)
|
16105
16109
|
], 32)
|
16106
|
-
], 42,
|
16110
|
+
], 42, j1));
|
16107
16111
|
}
|
16108
|
-
}),
|
16112
|
+
}), Q1 = /* @__PURE__ */ B(B1, [["__scopeId", "data-v-047e09a9"]]), R1 = ["messageId"], Y1 = ["src"], q1 = {
|
16109
16113
|
key: 1,
|
16110
16114
|
class: "image-message__subtext"
|
16111
|
-
},
|
16115
|
+
}, $1 = { class: "image-message__content" }, H1 = ["src", "alt"], F1 = {
|
16112
16116
|
key: 0,
|
16113
16117
|
class: "image-message__info-container"
|
16114
|
-
},
|
16118
|
+
}, P1 = { class: "image-message__time" }, W1 = {
|
16115
16119
|
key: 0,
|
16116
16120
|
class: "pi pi-check"
|
16117
|
-
},
|
16121
|
+
}, K1 = ["href"], J1 = {
|
16118
16122
|
key: 0,
|
16119
16123
|
class: "image-message__text-container"
|
16120
|
-
},
|
16124
|
+
}, G1 = ["innerHTML"], Z1 = {
|
16121
16125
|
key: 0,
|
16122
16126
|
class: "image-message__modal-overlay"
|
16123
|
-
},
|
16127
|
+
}, X1 = { class: "image-message__modal" }, er = ["src", "alt"], fr = /* @__PURE__ */ X({
|
16124
16128
|
__name: "ImageMessage",
|
16125
16129
|
props: {
|
16126
16130
|
message: {
|
@@ -16130,7 +16134,7 @@ const b1 = {
|
|
16130
16134
|
},
|
16131
16135
|
emits: ["action"],
|
16132
16136
|
setup(e, { emit: f }) {
|
16133
|
-
const t = e, n = f, a =
|
16137
|
+
const t = e, n = f, a = I(!1), s = I(!1), A = I(!1), i = I(!1), l = I("");
|
16134
16138
|
le(
|
16135
16139
|
() => t.message.text,
|
16136
16140
|
() => {
|
@@ -16138,24 +16142,24 @@ const b1 = {
|
|
16138
16142
|
},
|
16139
16143
|
{ immediate: !0 }
|
16140
16144
|
);
|
16141
|
-
function u(
|
16142
|
-
|
16145
|
+
function u(p) {
|
16146
|
+
p.preventDefault(), p.target.href && window.open(p.target.href, "_blank");
|
16143
16147
|
}
|
16144
16148
|
const g = () => {
|
16145
16149
|
n("action", { messageId: t.message.messageId, type: "views" });
|
16146
16150
|
}, d = () => {
|
16147
16151
|
}, h = () => {
|
16148
16152
|
A.value = !0, i.value = !0;
|
16149
|
-
},
|
16153
|
+
}, m = () => {
|
16150
16154
|
A.value = !1, s.value = !1;
|
16151
16155
|
}, y = Y(() => Je(t.message.status));
|
16152
|
-
function
|
16153
|
-
return
|
16156
|
+
function M(p) {
|
16157
|
+
return p.position === "left" ? "image-message__left" : "image-message__right";
|
16154
16158
|
}
|
16155
|
-
return (
|
16156
|
-
class: L(["image-message",
|
16159
|
+
return (p, _) => (r(), c("div", {
|
16160
|
+
class: L(["image-message", M(e.message)]),
|
16157
16161
|
messageId: e.message.messageId,
|
16158
|
-
onMouseleave:
|
16162
|
+
onMouseleave: m
|
16159
16163
|
}, [
|
16160
16164
|
e.message.avatar ? (r(), c("img", {
|
16161
16165
|
key: 0,
|
@@ -16163,39 +16167,39 @@ const b1 = {
|
|
16163
16167
|
src: e.message.avatar,
|
16164
16168
|
height: "32",
|
16165
16169
|
width: "32"
|
16166
|
-
}, null, 8,
|
16167
|
-
e.message.subText ? (r(), c("p",
|
16168
|
-
o("div",
|
16170
|
+
}, null, 8, Y1)) : v("", !0),
|
16171
|
+
e.message.subText ? (r(), c("p", q1, N(e.message.subText), 1)) : v("", !0),
|
16172
|
+
o("div", $1, [
|
16169
16173
|
o("div", {
|
16170
16174
|
class: "image-message__preview-button",
|
16171
|
-
onClick:
|
16175
|
+
onClick: _[0] || (_[0] = (k) => a.value = !0),
|
16172
16176
|
onMouseenter: h,
|
16173
|
-
onMouseleave:
|
16177
|
+
onMouseleave: _[1] || (_[1] = (k) => i.value = !i.value)
|
16174
16178
|
}, [
|
16175
16179
|
o("img", {
|
16176
16180
|
class: "image-message__preview-image",
|
16177
16181
|
style: K({ borderRadius: e.message.text ? "8px 8px 0 0" : "8px" }),
|
16178
16182
|
src: e.message.url,
|
16179
16183
|
alt: e.message.alt
|
16180
|
-
}, null, 12,
|
16184
|
+
}, null, 12, H1),
|
16181
16185
|
Q(H, { name: "modal-fade" }, {
|
16182
16186
|
default: F(() => [
|
16183
|
-
i.value ? (r(), c("div",
|
16187
|
+
i.value ? (r(), c("div", F1, [
|
16184
16188
|
e.message.views ? (r(), c("div", {
|
16185
16189
|
key: 0,
|
16186
16190
|
onClick: Qe(g, ["stop"]),
|
16187
16191
|
class: "image-message__views"
|
16188
16192
|
}, [
|
16189
|
-
|
16190
|
-
o("p", null,
|
16193
|
+
_[4] || (_[4] = o("span", { class: "pi pi-eye" }, null, -1)),
|
16194
|
+
o("p", null, N(e.message.views), 1)
|
16191
16195
|
])) : v("", !0),
|
16192
|
-
o("span",
|
16193
|
-
|
16196
|
+
o("span", P1, N(e.message.time), 1),
|
16197
|
+
M(e.message) === "image-message__right" && x(Ke).includes(e.message.status) ? (r(), c("div", {
|
16194
16198
|
key: 1,
|
16195
16199
|
class: L(["image-message__status", y.value])
|
16196
16200
|
}, [
|
16197
|
-
e.message.status !== "sent" ? (r(), c("span",
|
16198
|
-
|
16201
|
+
e.message.status !== "sent" ? (r(), c("span", W1)) : v("", !0),
|
16202
|
+
_[5] || (_[5] = o("span", { class: "pi pi-check" }, null, -1))
|
16199
16203
|
], 2)) : v("", !0)
|
16200
16204
|
])) : v("", !0)
|
16201
16205
|
]),
|
@@ -16210,9 +16214,9 @@ const b1 = {
|
|
16210
16214
|
href: e.message.url,
|
16211
16215
|
download: "",
|
16212
16216
|
target: "_blank"
|
16213
|
-
},
|
16217
|
+
}, _[6] || (_[6] = [
|
16214
16218
|
o("span", { class: "pi pi-download" }, null, -1)
|
16215
|
-
]), 8,
|
16219
|
+
]), 8, K1)) : v("", !0)
|
16216
16220
|
]),
|
16217
16221
|
_: 1
|
16218
16222
|
})
|
@@ -16222,8 +16226,8 @@ const b1 = {
|
|
16222
16226
|
A.value && e.message.actions ? (r(), c("button", {
|
16223
16227
|
key: 0,
|
16224
16228
|
class: "image-message__menu-button",
|
16225
|
-
onClick:
|
16226
|
-
},
|
16229
|
+
onClick: _[2] || (_[2] = (k) => s.value = !s.value)
|
16230
|
+
}, _[7] || (_[7] = [
|
16227
16231
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
16228
16232
|
]))) : v("", !0)
|
16229
16233
|
]),
|
@@ -16231,7 +16235,7 @@ const b1 = {
|
|
16231
16235
|
}),
|
16232
16236
|
Q(H, { name: "context-menu" }, {
|
16233
16237
|
default: F(() => [
|
16234
|
-
s.value && e.message.actions ? (r(), W(
|
16238
|
+
s.value && e.message.actions ? (r(), W(x(Ve), {
|
16235
16239
|
key: 0,
|
16236
16240
|
class: "image-message__context-menu",
|
16237
16241
|
actions: e.message.actions,
|
@@ -16240,22 +16244,22 @@ const b1 = {
|
|
16240
16244
|
]),
|
16241
16245
|
_: 1
|
16242
16246
|
}),
|
16243
|
-
e.message.text ? (r(), c("div",
|
16247
|
+
e.message.text ? (r(), c("div", J1, [
|
16244
16248
|
o("p", {
|
16245
16249
|
innerHTML: l.value,
|
16246
16250
|
onClick: u
|
16247
|
-
}, null, 8,
|
16251
|
+
}, null, 8, G1)
|
16248
16252
|
])) : v("", !0)
|
16249
16253
|
]),
|
16250
16254
|
(r(), W(hf, { to: "body" }, [
|
16251
16255
|
Q(H, { name: "modal-fade" }, {
|
16252
16256
|
default: F(() => [
|
16253
|
-
a.value ? (r(), c("div",
|
16254
|
-
o("div",
|
16257
|
+
a.value ? (r(), c("div", Z1, [
|
16258
|
+
o("div", X1, [
|
16255
16259
|
o("button", {
|
16256
16260
|
class: "image-message__modal-close-button",
|
16257
|
-
onClick:
|
16258
|
-
},
|
16261
|
+
onClick: _[3] || (_[3] = (k) => a.value = !1)
|
16262
|
+
}, _[8] || (_[8] = [
|
16259
16263
|
o("span", null, [
|
16260
16264
|
o("i", { class: "pi pi-times" })
|
16261
16265
|
], -1)
|
@@ -16264,25 +16268,25 @@ const b1 = {
|
|
16264
16268
|
class: "image-message__modal-image",
|
16265
16269
|
src: e.message.url,
|
16266
16270
|
alt: e.message.alt
|
16267
|
-
}, null, 8,
|
16271
|
+
}, null, 8, er)
|
16268
16272
|
])
|
16269
16273
|
])) : v("", !0)
|
16270
16274
|
]),
|
16271
16275
|
_: 1
|
16272
16276
|
})
|
16273
16277
|
]))
|
16274
|
-
], 42,
|
16278
|
+
], 42, R1));
|
16275
16279
|
}
|
16276
|
-
}),
|
16280
|
+
}), tr = /* @__PURE__ */ B(fr, [["__scopeId", "data-v-0c152b1c"]]), nr = { class: "text-message" }, ar = ["messageId"], sr = ["src"], Ar = {
|
16277
16281
|
key: 1,
|
16278
16282
|
class: "text-message__subtext"
|
16279
|
-
},
|
16283
|
+
}, ir = ["innerHTML"], or = { class: "text-message__info-container" }, lr = {
|
16280
16284
|
key: 1,
|
16281
16285
|
class: "text-message__time"
|
16282
|
-
},
|
16286
|
+
}, rr = {
|
16283
16287
|
key: 0,
|
16284
16288
|
class: "pi pi-check"
|
16285
|
-
},
|
16289
|
+
}, ur = /* @__PURE__ */ X({
|
16286
16290
|
__name: "TextMessage",
|
16287
16291
|
props: {
|
16288
16292
|
message: {
|
@@ -16292,7 +16296,7 @@ const b1 = {
|
|
16292
16296
|
},
|
16293
16297
|
emits: ["action"],
|
16294
16298
|
setup(e, { emit: f }) {
|
16295
|
-
const t = e, n = f, a =
|
16299
|
+
const t = e, n = f, a = I(!1), s = I(!1), A = I("");
|
16296
16300
|
le(
|
16297
16301
|
() => t.message.text,
|
16298
16302
|
() => {
|
@@ -16312,12 +16316,12 @@ const b1 = {
|
|
16312
16316
|
}, h = () => {
|
16313
16317
|
u(), n("action", { messageId: t.message.messageId, type: "views" });
|
16314
16318
|
};
|
16315
|
-
function
|
16319
|
+
function m(y) {
|
16316
16320
|
return y.position === "left" ? "text-message__left" : "text-message__right";
|
16317
16321
|
}
|
16318
|
-
return (y,
|
16322
|
+
return (y, M) => (r(), c("div", nr, [
|
16319
16323
|
o("div", {
|
16320
|
-
class: L(
|
16324
|
+
class: L(m(e.message)),
|
16321
16325
|
messageId: e.message.messageId,
|
16322
16326
|
onMouseleave: u
|
16323
16327
|
}, [
|
@@ -16328,8 +16332,8 @@ const b1 = {
|
|
16328
16332
|
height: "32",
|
16329
16333
|
width: "32",
|
16330
16334
|
style: K({ gridRow: e.message.subText ? "2" : "1" })
|
16331
|
-
}, null, 12,
|
16332
|
-
e.message.subText ? (r(), c("p",
|
16335
|
+
}, null, 12, sr)) : v("", !0),
|
16336
|
+
e.message.subText ? (r(), c("p", Ar, N(e.message.subText), 1)) : v("", !0),
|
16333
16337
|
o("div", {
|
16334
16338
|
class: "text-message__content",
|
16335
16339
|
onMouseenter: l
|
@@ -16338,35 +16342,35 @@ const b1 = {
|
|
16338
16342
|
innerHTML: A.value,
|
16339
16343
|
class: "text-message__text",
|
16340
16344
|
onClick: i
|
16341
|
-
}, null, 8,
|
16342
|
-
o("div",
|
16345
|
+
}, null, 8, ir),
|
16346
|
+
o("div", or, [
|
16343
16347
|
e.message.views ? (r(), c("div", {
|
16344
16348
|
key: 0,
|
16345
16349
|
class: "text-message__views",
|
16346
16350
|
onClick: h
|
16347
16351
|
}, [
|
16348
|
-
|
16349
|
-
o("p", null,
|
16352
|
+
M[1] || (M[1] = o("span", { class: "pi pi-eye" }, null, -1)),
|
16353
|
+
o("p", null, N(e.message.views), 1)
|
16350
16354
|
])) : v("", !0),
|
16351
|
-
e.message.time ? (r(), c("span",
|
16352
|
-
|
16355
|
+
e.message.time ? (r(), c("span", lr, N(e.message.time), 1)) : v("", !0),
|
16356
|
+
m(e.message) === "text-message__right" && x(Ke).includes(e.message.status) ? (r(), c("div", {
|
16353
16357
|
key: 2,
|
16354
16358
|
class: L(["text-message__status", g.value])
|
16355
16359
|
}, [
|
16356
|
-
e.message.status !== "sent" ? (r(), c("span",
|
16357
|
-
|
16360
|
+
e.message.status !== "sent" ? (r(), c("span", rr)) : v("", !0),
|
16361
|
+
M[2] || (M[2] = o("span", { class: "pi pi-check" }, null, -1))
|
16358
16362
|
], 2)) : v("", !0)
|
16359
16363
|
]),
|
16360
16364
|
s.value && e.message.actions ? (r(), c("button", {
|
16361
16365
|
key: 0,
|
16362
16366
|
class: "text-message__menu-button",
|
16363
|
-
onClick:
|
16364
|
-
},
|
16367
|
+
onClick: M[0] || (M[0] = (p) => a.value = !a.value)
|
16368
|
+
}, M[3] || (M[3] = [
|
16365
16369
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
16366
16370
|
]))) : v("", !0),
|
16367
16371
|
Q(H, null, {
|
16368
16372
|
default: F(() => [
|
16369
|
-
a.value && e.message.actions ? (r(), W(
|
16373
|
+
a.value && e.message.actions ? (r(), W(x(Ve), {
|
16370
16374
|
key: 0,
|
16371
16375
|
class: "text-message__context-menu",
|
16372
16376
|
actions: e.message.actions,
|
@@ -16376,25 +16380,25 @@ const b1 = {
|
|
16376
16380
|
_: 1
|
16377
16381
|
})
|
16378
16382
|
], 32)
|
16379
|
-
], 42,
|
16383
|
+
], 42, ar)
|
16380
16384
|
]));
|
16381
16385
|
}
|
16382
|
-
}),
|
16386
|
+
}), cr = /* @__PURE__ */ B(ur, [["__scopeId", "data-v-8acbeea8"]]), dr = ["messageId"], gr = ["src"], mr = {
|
16383
16387
|
key: 1,
|
16384
16388
|
class: "audio-message__subtext"
|
16385
|
-
},
|
16389
|
+
}, pr = ["src"], hr = { class: "audio-message__progress-bar-container" }, yr = { class: "audio-message__remaining-time" }, Mr = { class: "audio-message__info-container" }, br = { class: "audio-message__time" }, vr = {
|
16386
16390
|
key: 0,
|
16387
16391
|
class: "pi pi-check"
|
16388
|
-
},
|
16392
|
+
}, _r = ["href"], Ir = {
|
16389
16393
|
key: 1,
|
16390
16394
|
class: "audio-message__transcript-container"
|
16391
|
-
},
|
16395
|
+
}, wr = {
|
16392
16396
|
key: 0,
|
16393
16397
|
class: "audio-message__modal-overlay"
|
16394
|
-
},
|
16398
|
+
}, kr = { class: "audio-message__modal" }, Nr = {
|
16395
16399
|
key: 2,
|
16396
16400
|
class: "audio-message__text-container"
|
16397
|
-
},
|
16401
|
+
}, Dr = ["innerHTML"], jr = /* @__PURE__ */ X({
|
16398
16402
|
__name: "AudioMessage",
|
16399
16403
|
props: {
|
16400
16404
|
message: {
|
@@ -16404,7 +16408,7 @@ const b1 = {
|
|
16404
16408
|
},
|
16405
16409
|
emits: ["action"],
|
16406
16410
|
setup(e, { emit: f }) {
|
16407
|
-
const t = e, n = f, a =
|
16411
|
+
const t = e, n = f, a = I(), s = I(!1), A = I(0), i = I(0), l = I(!1), u = I(!1), g = I(""), d = I(!1);
|
16408
16412
|
le(
|
16409
16413
|
() => t.message.text,
|
16410
16414
|
() => {
|
@@ -16415,21 +16419,21 @@ const b1 = {
|
|
16415
16419
|
function h(V) {
|
16416
16420
|
V.preventDefault(), V.target.href && window.open(V.target.href, "_blank");
|
16417
16421
|
}
|
16418
|
-
const
|
16422
|
+
const m = () => {
|
16419
16423
|
u.value = !0;
|
16420
16424
|
}, y = () => {
|
16421
16425
|
u.value = !1, l.value = !1;
|
16422
|
-
}, m = () => {
|
16423
|
-
n("action", { messageId: t.message.messageId, type: "views" });
|
16424
16426
|
}, M = () => {
|
16425
|
-
|
16426
|
-
|
16427
|
+
n("action", { messageId: t.message.messageId, type: "views" });
|
16428
|
+
}, p = () => {
|
16429
|
+
}, _ = Y(() => Je(t.message.status));
|
16430
|
+
function k() {
|
16427
16431
|
a.value && (s.value ? a.value.pause() : a.value.play(), s.value = !s.value);
|
16428
16432
|
}
|
16429
|
-
const
|
16433
|
+
const S = (V) => {
|
16430
16434
|
const T = Math.floor(V / 60), O = Math.floor(V % 60);
|
16431
16435
|
return `${T.toString().padStart(2, "0")}:${O.toString().padStart(2, "0")}`;
|
16432
|
-
}, w = Y(() => a.value ?
|
16436
|
+
}, w = Y(() => a.value ? S(i.value) : "0:00"), j = Y(() => a.value ? S(A.value) : "0:00"), U = Y(() => A.value > 0 ? i.value / A.value * 100 : 0);
|
16433
16437
|
function E(V) {
|
16434
16438
|
return V.position === "left" ? "audio-message__left" : "audio-message__right";
|
16435
16439
|
}
|
@@ -16453,55 +16457,55 @@ const b1 = {
|
|
16453
16457
|
height: "32",
|
16454
16458
|
width: "32",
|
16455
16459
|
style: K({ gridRow: e.message.subText ? "2" : "1" })
|
16456
|
-
}, null, 12,
|
16457
|
-
e.message.subText ? (r(), c("p",
|
16460
|
+
}, null, 12, gr)) : v("", !0),
|
16461
|
+
e.message.subText ? (r(), c("p", mr, N(e.message.subText), 1)) : v("", !0),
|
16458
16462
|
o("div", {
|
16459
16463
|
class: "audio-message__content",
|
16460
|
-
onMouseenter:
|
16464
|
+
onMouseenter: m
|
16461
16465
|
}, [
|
16462
16466
|
o("audio", {
|
16463
16467
|
ref_key: "player",
|
16464
16468
|
ref: a,
|
16465
16469
|
src: e.message.url
|
16466
|
-
}, null, 8,
|
16470
|
+
}, null, 8, pr),
|
16467
16471
|
ce(o("button", {
|
16468
16472
|
class: "audio-message__play",
|
16469
|
-
onClick:
|
16473
|
+
onClick: k
|
16470
16474
|
}, T[3] || (T[3] = [
|
16471
16475
|
o("span", { class: "pi pi-play" }, null, -1)
|
16472
16476
|
]), 512), [
|
16473
|
-
[
|
16477
|
+
[Lf, !s.value]
|
16474
16478
|
]),
|
16475
16479
|
ce(o("button", {
|
16476
16480
|
class: "audio-message__pause",
|
16477
|
-
onClick:
|
16481
|
+
onClick: k
|
16478
16482
|
}, T[4] || (T[4] = [
|
16479
16483
|
o("span", { class: "pi pi-pause" }, null, -1)
|
16480
16484
|
]), 512), [
|
16481
|
-
[
|
16485
|
+
[Lf, s.value]
|
16482
16486
|
]),
|
16483
|
-
o("div",
|
16487
|
+
o("div", hr, [
|
16484
16488
|
o("div", {
|
16485
16489
|
class: "audio-message__progress-bar",
|
16486
16490
|
style: K({ width: U.value + "%" })
|
16487
16491
|
}, null, 4)
|
16488
16492
|
]),
|
16489
|
-
o("p",
|
16490
|
-
o("div",
|
16493
|
+
o("p", yr, N(`${w.value} / ${j.value}`), 1),
|
16494
|
+
o("div", Mr, [
|
16491
16495
|
e.message.views ? (r(), c("div", {
|
16492
16496
|
key: 0,
|
16493
|
-
onClick:
|
16497
|
+
onClick: M,
|
16494
16498
|
class: "audio-message__views"
|
16495
16499
|
}, [
|
16496
16500
|
T[5] || (T[5] = o("span", { class: "pi pi-eye" }, null, -1)),
|
16497
|
-
o("p", null,
|
16501
|
+
o("p", null, N(e.message.views), 1)
|
16498
16502
|
])) : v("", !0),
|
16499
|
-
o("span",
|
16500
|
-
E(e.message) === "audio-message__right" &&
|
16503
|
+
o("span", br, N(e.message.time), 1),
|
16504
|
+
E(e.message) === "audio-message__right" && x(Ke).includes(e.message.status) ? (r(), c("div", {
|
16501
16505
|
key: 1,
|
16502
|
-
class: L(["audio-message__status",
|
16506
|
+
class: L(["audio-message__status", _.value])
|
16503
16507
|
}, [
|
16504
|
-
e.message.status !== "sent" ? (r(), c("span",
|
16508
|
+
e.message.status !== "sent" ? (r(), c("span", vr)) : v("", !0),
|
16505
16509
|
T[6] || (T[6] = o("span", { class: "pi pi-check" }, null, -1))
|
16506
16510
|
], 2)) : v("", !0)
|
16507
16511
|
]),
|
@@ -16520,30 +16524,30 @@ const b1 = {
|
|
16520
16524
|
target: "_blank"
|
16521
16525
|
}, T[8] || (T[8] = [
|
16522
16526
|
o("span", { class: "pi pi-download" }, null, -1)
|
16523
|
-
]), 8,
|
16527
|
+
]), 8, _r),
|
16524
16528
|
Q(H, null, {
|
16525
16529
|
default: F(() => [
|
16526
|
-
l.value && e.message.actions ? (r(), W(
|
16530
|
+
l.value && e.message.actions ? (r(), W(x(Ve), {
|
16527
16531
|
key: 0,
|
16528
16532
|
class: "audio-message__context-menu",
|
16529
16533
|
actions: e.message.actions,
|
16530
|
-
onClick:
|
16534
|
+
onClick: p
|
16531
16535
|
}, null, 8, ["actions"])) : v("", !0)
|
16532
16536
|
]),
|
16533
16537
|
_: 1
|
16534
16538
|
}),
|
16535
|
-
(O = e.message.transcript) != null && O.text ? (r(), c("div",
|
16539
|
+
(O = e.message.transcript) != null && O.text ? (r(), c("div", Ir, [
|
16536
16540
|
o("p", {
|
16537
16541
|
onClick: T[1] || (T[1] = (D) => d.value = !d.value)
|
16538
|
-
},
|
16542
|
+
}, N(e.message.transcript.text), 1)
|
16539
16543
|
])) : v("", !0),
|
16540
16544
|
(r(), W(hf, { to: "body" }, [
|
16541
16545
|
Q(H, { name: "modal-fade" }, {
|
16542
16546
|
default: F(() => {
|
16543
16547
|
var D;
|
16544
16548
|
return [
|
16545
|
-
d.value ? (r(), c("div",
|
16546
|
-
o("div",
|
16549
|
+
d.value ? (r(), c("div", wr, [
|
16550
|
+
o("div", kr, [
|
16547
16551
|
o("button", {
|
16548
16552
|
class: "audio-message__modal-close-button",
|
16549
16553
|
onClick: T[2] || (T[2] = (C) => d.value = !1)
|
@@ -16552,7 +16556,7 @@ const b1 = {
|
|
16552
16556
|
o("i", { class: "pi pi-times" })
|
16553
16557
|
], -1)
|
16554
16558
|
])),
|
16555
|
-
o("p", null,
|
16559
|
+
o("p", null, N((D = e.message.transcript) == null ? void 0 : D.text), 1)
|
16556
16560
|
])
|
16557
16561
|
])) : v("", !0)
|
16558
16562
|
];
|
@@ -16560,17 +16564,17 @@ const b1 = {
|
|
16560
16564
|
_: 1
|
16561
16565
|
})
|
16562
16566
|
])),
|
16563
|
-
e.message.text ? (r(), c("div",
|
16567
|
+
e.message.text ? (r(), c("div", Nr, [
|
16564
16568
|
o("p", {
|
16565
16569
|
innerHTML: g.value,
|
16566
16570
|
onClick: h
|
16567
|
-
}, null, 8,
|
16571
|
+
}, null, 8, Dr)
|
16568
16572
|
])) : v("", !0)
|
16569
16573
|
], 32)
|
16570
|
-
], 42,
|
16574
|
+
], 42, dr);
|
16571
16575
|
};
|
16572
16576
|
}
|
16573
|
-
}),
|
16577
|
+
}), Er = /* @__PURE__ */ B(jr, [["__scopeId", "data-v-1e745361"]]), Tr = { class: "date-message" }, Vr = { class: "date-message__container" }, xr = { class: "date-message__text" }, Sr = /* @__PURE__ */ X({
|
16574
16578
|
__name: "DateMessage",
|
16575
16579
|
props: {
|
16576
16580
|
message: {
|
@@ -16581,28 +16585,28 @@ const b1 = {
|
|
16581
16585
|
}
|
16582
16586
|
},
|
16583
16587
|
setup(e) {
|
16584
|
-
return (f, t) => (r(), c("div",
|
16585
|
-
o("div",
|
16586
|
-
o("p",
|
16588
|
+
return (f, t) => (r(), c("div", Tr, [
|
16589
|
+
o("div", Vr, [
|
16590
|
+
o("p", xr, N(e.message.text), 1)
|
16587
16591
|
])
|
16588
16592
|
]));
|
16589
16593
|
}
|
16590
|
-
}),
|
16594
|
+
}), Cr = /* @__PURE__ */ B(Sr, [["__scopeId", "data-v-b2b05bd8"]]), zr = ["messageId"], Or = ["src"], Lr = {
|
16591
16595
|
key: 1,
|
16592
16596
|
class: "video-message__subtext"
|
16593
|
-
},
|
16597
|
+
}, Ur = { class: "video-message__content" }, Br = ["src"], Qr = {
|
16594
16598
|
key: 0,
|
16595
16599
|
class: "video-message__info-container"
|
16596
|
-
},
|
16600
|
+
}, Rr = { class: "video-message__time" }, Yr = {
|
16597
16601
|
key: 0,
|
16598
16602
|
class: "pi pi-check"
|
16599
|
-
},
|
16603
|
+
}, qr = ["href"], $r = {
|
16600
16604
|
key: 0,
|
16601
16605
|
class: "video-message__text-container"
|
16602
|
-
},
|
16606
|
+
}, Hr = ["innerHTML"], Fr = {
|
16603
16607
|
key: 0,
|
16604
16608
|
class: "video-message__modal-overlay"
|
16605
|
-
},
|
16609
|
+
}, Pr = { class: "video-message__modal" }, Wr = ["src", "alt"], Kr = /* @__PURE__ */ X({
|
16606
16610
|
__name: "VideoMessage",
|
16607
16611
|
props: {
|
16608
16612
|
message: {
|
@@ -16613,10 +16617,10 @@ const b1 = {
|
|
16613
16617
|
emits: ["action"],
|
16614
16618
|
setup(e, { emit: f }) {
|
16615
16619
|
const t = e, n = f;
|
16616
|
-
function a(
|
16617
|
-
return
|
16620
|
+
function a(S) {
|
16621
|
+
return S.position === "left" ? "video-message__left" : "video-message__right";
|
16618
16622
|
}
|
16619
|
-
const s =
|
16623
|
+
const s = I(), A = I(), i = I(!1), l = I(!1), u = I(!1), g = I(!1), d = I("");
|
16620
16624
|
le(
|
16621
16625
|
() => t.message.text,
|
16622
16626
|
() => {
|
@@ -16624,25 +16628,25 @@ const b1 = {
|
|
16624
16628
|
},
|
16625
16629
|
{ immediate: !0 }
|
16626
16630
|
);
|
16627
|
-
function h(
|
16628
|
-
|
16631
|
+
function h(S) {
|
16632
|
+
S.preventDefault(), S.target.href && window.open(S.target.href, "_blank");
|
16629
16633
|
}
|
16630
|
-
const
|
16634
|
+
const m = () => {
|
16631
16635
|
n("action", { messageId: t.message.messageId, type: "views" });
|
16632
16636
|
}, y = () => {
|
16633
|
-
}, m = () => {
|
16634
|
-
u.value = !0, g.value = !0;
|
16635
16637
|
}, M = () => {
|
16638
|
+
u.value = !0, g.value = !0;
|
16639
|
+
}, p = () => {
|
16636
16640
|
u.value = !1, l.value = !1;
|
16637
|
-
},
|
16641
|
+
}, _ = Y(() => Je(t.message.status)), k = () => {
|
16638
16642
|
A.value && (A.value.currentTime = 0, A.value.play());
|
16639
16643
|
};
|
16640
|
-
return le([s, A], ([
|
16641
|
-
|
16642
|
-
}), (
|
16644
|
+
return le([s, A], ([S, w]) => {
|
16645
|
+
S ? w && (w.pause(), w.currentTime = 0) : w && (w.play(), w.currentTime = 0);
|
16646
|
+
}), (S, w) => (r(), c("div", {
|
16643
16647
|
class: L(["video-message", a(e.message)]),
|
16644
16648
|
messageId: e.message.messageId,
|
16645
|
-
onMouseleave:
|
16649
|
+
onMouseleave: p
|
16646
16650
|
}, [
|
16647
16651
|
e.message.avatar ? (r(), c("img", {
|
16648
16652
|
key: 0,
|
@@ -16650,13 +16654,13 @@ const b1 = {
|
|
16650
16654
|
src: e.message.avatar,
|
16651
16655
|
height: "32",
|
16652
16656
|
width: "32"
|
16653
|
-
}, null, 8,
|
16654
|
-
e.message.subText ? (r(), c("p",
|
16655
|
-
o("div",
|
16657
|
+
}, null, 8, Or)) : v("", !0),
|
16658
|
+
e.message.subText ? (r(), c("p", Lr, N(e.message.subText), 1)) : v("", !0),
|
16659
|
+
o("div", Ur, [
|
16656
16660
|
o("div", {
|
16657
16661
|
class: "video-message__preview-button",
|
16658
16662
|
onClick: w[0] || (w[0] = (j) => i.value = !0),
|
16659
|
-
onMouseenter:
|
16663
|
+
onMouseenter: M,
|
16660
16664
|
onMouseleave: w[1] || (w[1] = (j) => g.value = !g.value)
|
16661
16665
|
}, [
|
16662
16666
|
o("video", {
|
@@ -16664,28 +16668,28 @@ const b1 = {
|
|
16664
16668
|
ref: A,
|
16665
16669
|
class: "video-message__video",
|
16666
16670
|
style: K({ borderRadius: e.message.text ? "8px 8px 0 0" : "8px" }),
|
16667
|
-
onEnded:
|
16671
|
+
onEnded: k,
|
16668
16672
|
src: e.message.url,
|
16669
16673
|
muted: !0,
|
16670
16674
|
autoplay: ""
|
16671
|
-
}, null, 44,
|
16675
|
+
}, null, 44, Br),
|
16672
16676
|
Q(H, { name: "modal-fade" }, {
|
16673
16677
|
default: F(() => [
|
16674
|
-
g.value ? (r(), c("div",
|
16678
|
+
g.value ? (r(), c("div", Qr, [
|
16675
16679
|
e.message.views ? (r(), c("div", {
|
16676
16680
|
key: 0,
|
16677
|
-
onClick: Qe(
|
16681
|
+
onClick: Qe(m, ["stop"]),
|
16678
16682
|
class: "video-message__views"
|
16679
16683
|
}, [
|
16680
16684
|
w[4] || (w[4] = o("span", { class: "pi pi-eye" }, null, -1)),
|
16681
|
-
o("p", null,
|
16685
|
+
o("p", null, N(e.message.views), 1)
|
16682
16686
|
])) : v("", !0),
|
16683
|
-
o("span",
|
16684
|
-
a(e.message) === "video-message__right" &&
|
16687
|
+
o("span", Rr, N(e.message.time), 1),
|
16688
|
+
a(e.message) === "video-message__right" && x(Ke).includes(e.message.status) ? (r(), c("div", {
|
16685
16689
|
key: 1,
|
16686
|
-
class: L(["video-message__status",
|
16690
|
+
class: L(["video-message__status", _.value])
|
16687
16691
|
}, [
|
16688
|
-
e.message.status !== "sent" ? (r(), c("span",
|
16692
|
+
e.message.status !== "sent" ? (r(), c("span", Yr)) : v("", !0),
|
16689
16693
|
w[5] || (w[5] = o("span", { class: "pi pi-check" }, null, -1))
|
16690
16694
|
], 2)) : v("", !0)
|
16691
16695
|
])) : v("", !0)
|
@@ -16703,7 +16707,7 @@ const b1 = {
|
|
16703
16707
|
target: "_blank"
|
16704
16708
|
}, w[6] || (w[6] = [
|
16705
16709
|
o("span", { class: "pi pi-download" }, null, -1)
|
16706
|
-
]), 8,
|
16710
|
+
]), 8, qr)) : v("", !0)
|
16707
16711
|
]),
|
16708
16712
|
_: 1
|
16709
16713
|
})
|
@@ -16722,7 +16726,7 @@ const b1 = {
|
|
16722
16726
|
}),
|
16723
16727
|
Q(H, { name: "context-menu" }, {
|
16724
16728
|
default: F(() => [
|
16725
|
-
l.value && e.message.actions ? (r(), W(
|
16729
|
+
l.value && e.message.actions ? (r(), W(x(Ve), {
|
16726
16730
|
key: 0,
|
16727
16731
|
class: "video-message__context-menu",
|
16728
16732
|
actions: e.message.actions,
|
@@ -16731,18 +16735,18 @@ const b1 = {
|
|
16731
16735
|
]),
|
16732
16736
|
_: 1
|
16733
16737
|
}),
|
16734
|
-
e.message.text ? (r(), c("div",
|
16738
|
+
e.message.text ? (r(), c("div", $r, [
|
16735
16739
|
o("p", {
|
16736
16740
|
innerHTML: d.value,
|
16737
16741
|
onClick: h
|
16738
|
-
}, null, 8,
|
16742
|
+
}, null, 8, Hr)
|
16739
16743
|
])) : v("", !0)
|
16740
16744
|
]),
|
16741
16745
|
(r(), W(hf, { to: "body" }, [
|
16742
16746
|
Q(H, { name: "modal-fade" }, {
|
16743
16747
|
default: F(() => [
|
16744
|
-
i.value ? (r(), c("div",
|
16745
|
-
o("div",
|
16748
|
+
i.value ? (r(), c("div", Fr, [
|
16749
|
+
o("div", Pr, [
|
16746
16750
|
o("button", {
|
16747
16751
|
class: "video-message__modal-close-button",
|
16748
16752
|
onClick: w[3] || (w[3] = (j) => i.value = !1)
|
@@ -16759,37 +16763,37 @@ const b1 = {
|
|
16759
16763
|
alt: e.message.alt,
|
16760
16764
|
controls: "",
|
16761
16765
|
autoplay: ""
|
16762
|
-
}, null, 8,
|
16766
|
+
}, null, 8, Wr)
|
16763
16767
|
])
|
16764
16768
|
])) : v("", !0)
|
16765
16769
|
]),
|
16766
16770
|
_: 1
|
16767
16771
|
})
|
16768
16772
|
]))
|
16769
|
-
], 42,
|
16773
|
+
], 42, zr));
|
16770
16774
|
}
|
16771
|
-
}),
|
16775
|
+
}), Jr = /* @__PURE__ */ B(Kr, [["__scopeId", "data-v-e3f7949f"]]), Gr = { class: "call-message" }, Zr = ["messageId"], Xr = ["src"], eu = {
|
16772
16776
|
key: 1,
|
16773
16777
|
class: "call-message__subtext"
|
16774
|
-
},
|
16778
|
+
}, fu = { class: "call-message__content" }, tu = {
|
16775
16779
|
key: 0,
|
16776
16780
|
class: "call-message__title"
|
16777
|
-
},
|
16781
|
+
}, nu = {
|
16778
16782
|
key: 1,
|
16779
16783
|
class: "call-message__title"
|
16780
|
-
},
|
16784
|
+
}, au = {
|
16781
16785
|
key: 2,
|
16782
16786
|
class: "call-message__duration"
|
16783
|
-
},
|
16787
|
+
}, su = {
|
16784
16788
|
key: 3,
|
16785
16789
|
class: "call-message__duration"
|
16786
|
-
},
|
16790
|
+
}, Au = {
|
16787
16791
|
key: 4,
|
16788
16792
|
class: "call-message__duration"
|
16789
|
-
},
|
16793
|
+
}, iu = { class: "call-message__info-container" }, ou = { class: "call-message__time" }, lu = {
|
16790
16794
|
key: 0,
|
16791
16795
|
class: "call-message__modal-overlay"
|
16792
|
-
},
|
16796
|
+
}, ru = { class: "call-message__modal" }, uu = /* @__PURE__ */ X({
|
16793
16797
|
__name: "CallMessage",
|
16794
16798
|
props: {
|
16795
16799
|
message: {
|
@@ -16798,7 +16802,7 @@ const b1 = {
|
|
16798
16802
|
}
|
16799
16803
|
},
|
16800
16804
|
setup(e) {
|
16801
|
-
const f =
|
16805
|
+
const f = I(!1), t = {
|
16802
16806
|
textDialog: "textDialog",
|
16803
16807
|
message: "message"
|
16804
16808
|
};
|
@@ -16815,7 +16819,7 @@ const b1 = {
|
|
16815
16819
|
}
|
16816
16820
|
return (a, s) => {
|
16817
16821
|
var A;
|
16818
|
-
return r(), c("div",
|
16822
|
+
return r(), c("div", Gr, [
|
16819
16823
|
o("div", {
|
16820
16824
|
class: L(n(e.message, t.message)),
|
16821
16825
|
messageId: e.message.messageId
|
@@ -16827,17 +16831,17 @@ const b1 = {
|
|
16827
16831
|
height: "32",
|
16828
16832
|
width: "32",
|
16829
16833
|
style: K({ gridRow: e.message.subText ? "2" : "1" })
|
16830
|
-
}, null, 12,
|
16831
|
-
e.message.subText ? (r(), c("p",
|
16832
|
-
o("div",
|
16834
|
+
}, null, 12, Xr)) : v("", !0),
|
16835
|
+
e.message.subText ? (r(), c("p", eu, N(e.message.subText), 1)) : v("", !0),
|
16836
|
+
o("div", fu, [
|
16833
16837
|
o("span", {
|
16834
16838
|
class: "call-message__icon pi pi-phone",
|
16835
16839
|
style: K({ color: e.message.isMissedCall ? "var(--p-red-500)" : "var(--neutral-100)" })
|
16836
16840
|
}, null, 4),
|
16837
|
-
e.message.isMissedCall ? (r(), c("span",
|
16838
|
-
e.message.callDuration ? (r(), c("span",
|
16839
|
-
o("div",
|
16840
|
-
o("span",
|
16841
|
+
e.message.isMissedCall ? (r(), c("span", nu, "Пропущенный аудиозвонок")) : (r(), c("span", tu, "Аудиозвонок")),
|
16842
|
+
e.message.callDuration ? (r(), c("span", au, N(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (r(), c("span", su, "Нажмите, чтобы перезвонить")) : (r(), c("span", Au, "Нет ответа")),
|
16843
|
+
o("div", iu, [
|
16844
|
+
o("span", ou, N(e.message.time), 1)
|
16841
16845
|
]),
|
16842
16846
|
(A = e.message.transcript) != null && A.dialog ? (r(), c("button", {
|
16843
16847
|
key: 5,
|
@@ -16851,8 +16855,8 @@ const b1 = {
|
|
16851
16855
|
default: F(() => {
|
16852
16856
|
var i;
|
16853
16857
|
return [
|
16854
|
-
f.value ? (r(), c("div",
|
16855
|
-
o("div",
|
16858
|
+
f.value ? (r(), c("div", lu, [
|
16859
|
+
o("div", ru, [
|
16856
16860
|
o("button", {
|
16857
16861
|
class: "call-message__modal-close-button",
|
16858
16862
|
onClick: s[1] || (s[1] = (l) => f.value = !1)
|
@@ -16864,8 +16868,8 @@ const b1 = {
|
|
16864
16868
|
(r(!0), c(P, null, Z((i = e.message.transcript) == null ? void 0 : i.dialog, (l, u) => (r(), c("div", {
|
16865
16869
|
class: L(n(l, t.textDialog))
|
16866
16870
|
}, [
|
16867
|
-
o("p", null,
|
16868
|
-
o("span", null,
|
16871
|
+
o("p", null, N(l.text), 1),
|
16872
|
+
o("span", null, N(l.time), 1)
|
16869
16873
|
], 2))), 256))
|
16870
16874
|
])
|
16871
16875
|
])) : v("", !0)
|
@@ -16875,11 +16879,11 @@ const b1 = {
|
|
16875
16879
|
})
|
16876
16880
|
]))
|
16877
16881
|
])
|
16878
|
-
], 10,
|
16882
|
+
], 10, Zr)
|
16879
16883
|
]);
|
16880
16884
|
};
|
16881
16885
|
}
|
16882
|
-
}),
|
16886
|
+
}), cu = /* @__PURE__ */ B(uu, [["__scopeId", "data-v-8307ae2a"]]), du = { class: "system-message" }, gu = { class: "system-message__container" }, mu = { class: "system-message__text" }, pu = /* @__PURE__ */ X({
|
16883
16887
|
__name: "SystemMessage",
|
16884
16888
|
props: {
|
16885
16889
|
message: {
|
@@ -16888,16 +16892,16 @@ const b1 = {
|
|
16888
16892
|
}
|
16889
16893
|
},
|
16890
16894
|
setup(e) {
|
16891
|
-
return (f, t) => (r(), c("div",
|
16892
|
-
o("div",
|
16893
|
-
o("p",
|
16895
|
+
return (f, t) => (r(), c("div", du, [
|
16896
|
+
o("div", gu, [
|
16897
|
+
o("p", mu, N(e.message.text), 1)
|
16894
16898
|
])
|
16895
16899
|
]));
|
16896
16900
|
}
|
16897
|
-
}),
|
16901
|
+
}), hu = /* @__PURE__ */ B(pu, [["__scopeId", "data-v-d0876c1e"]]), yu = { class: "typing-message" }, Mu = { class: "typing-message__container" }, bu = ["src"], vu = {
|
16898
16902
|
key: 1,
|
16899
16903
|
class: "typing-message__subtext"
|
16900
|
-
},
|
16904
|
+
}, _u = /* @__PURE__ */ X({
|
16901
16905
|
__name: "TypingMessage",
|
16902
16906
|
props: {
|
16903
16907
|
message: {
|
@@ -16906,8 +16910,8 @@ const b1 = {
|
|
16906
16910
|
}
|
16907
16911
|
},
|
16908
16912
|
setup(e) {
|
16909
|
-
return (f, t) => (r(), c("div",
|
16910
|
-
o("div",
|
16913
|
+
return (f, t) => (r(), c("div", yu, [
|
16914
|
+
o("div", Mu, [
|
16911
16915
|
e.message.avatar ? (r(), c("img", {
|
16912
16916
|
key: 0,
|
16913
16917
|
class: "typing-message__avatar",
|
@@ -16915,37 +16919,37 @@ const b1 = {
|
|
16915
16919
|
height: "32",
|
16916
16920
|
width: "32",
|
16917
16921
|
style: K({ gridRow: e.message.subText ? "2" : "1" })
|
16918
|
-
}, null, 12,
|
16919
|
-
e.message.subText ? (r(), c("p",
|
16922
|
+
}, null, 12, bu)) : v("", !0),
|
16923
|
+
e.message.subText ? (r(), c("p", vu, N(e.message.subText), 1)) : v("", !0),
|
16920
16924
|
t[0] || (t[0] = o("div", { class: "typing-message__loader-container" }, [
|
16921
16925
|
o("div", { class: "typing-message__loader" })
|
16922
16926
|
], -1))
|
16923
16927
|
])
|
16924
16928
|
]));
|
16925
16929
|
}
|
16926
|
-
}), Qn = /* @__PURE__ */ B(
|
16930
|
+
}), Qn = /* @__PURE__ */ B(_u, [["__scopeId", "data-v-88389095"]]), Iu = { class: "modal-backdrop" }, wu = {
|
16927
16931
|
class: "modal",
|
16928
16932
|
role: "dialog",
|
16929
16933
|
"aria-labelledby": "modalTitle",
|
16930
16934
|
"aria-describedby": "modalDescription"
|
16931
|
-
},
|
16935
|
+
}, ku = {
|
16932
16936
|
id: "modalDescription",
|
16933
16937
|
class: "modal-body"
|
16934
|
-
},
|
16938
|
+
}, Nu = { class: "buttons" }, Du = {
|
16935
16939
|
__name: "Modal",
|
16936
16940
|
emits: ["close", "submit"],
|
16937
16941
|
setup(e, { emit: f }) {
|
16938
16942
|
const t = f, n = (s) => {
|
16939
16943
|
t("submit", s);
|
16940
|
-
}, a =
|
16944
|
+
}, a = I(null);
|
16941
16945
|
return (s, A) => (r(), W(H, { name: "modal-fade" }, {
|
16942
16946
|
default: F(() => [
|
16943
|
-
o("div",
|
16944
|
-
o("div",
|
16945
|
-
o("div",
|
16947
|
+
o("div", Iu, [
|
16948
|
+
o("div", wu, [
|
16949
|
+
o("div", ku, [
|
16946
16950
|
te(s.$slots, "default", {}, void 0, !0)
|
16947
16951
|
]),
|
16948
|
-
o("div",
|
16952
|
+
o("div", Nu, [
|
16949
16953
|
o("button", {
|
16950
16954
|
type: "button",
|
16951
16955
|
class: "btn-green",
|
@@ -16965,12 +16969,12 @@ const b1 = {
|
|
16965
16969
|
_: 3
|
16966
16970
|
}));
|
16967
16971
|
}
|
16968
|
-
},
|
16972
|
+
}, ju = /* @__PURE__ */ B(Du, [["__scopeId", "data-v-d48a1772"]]);
|
16969
16973
|
function on({ component: e, attrs: f }) {
|
16970
16974
|
return new Promise((t) => {
|
16971
16975
|
const n = document.createElement("div");
|
16972
16976
|
document.body.appendChild(n);
|
16973
|
-
const a =
|
16977
|
+
const a = I({}), s = () => {
|
16974
16978
|
u.unmount(), document.body.removeChild(n);
|
16975
16979
|
}, A = () => {
|
16976
16980
|
s(), t(a.value);
|
@@ -16980,7 +16984,7 @@ function on({ component: e, attrs: f }) {
|
|
16980
16984
|
}, l = X({
|
16981
16985
|
render() {
|
16982
16986
|
return yn(
|
16983
|
-
|
16987
|
+
ju,
|
16984
16988
|
{
|
16985
16989
|
onSubmit: A,
|
16986
16990
|
onClose: s
|
@@ -17000,17 +17004,17 @@ function on({ component: e, attrs: f }) {
|
|
17000
17004
|
u.mount(n);
|
17001
17005
|
});
|
17002
17006
|
}
|
17003
|
-
const
|
17007
|
+
const pc = async (e, f) => {
|
17004
17008
|
const t = await on({
|
17005
17009
|
//в component должен быть встроен emit change(key: value)
|
17006
|
-
component: import("./SelectUser2-
|
17010
|
+
component: import("./SelectUser2-0d5ytdHF.js"),
|
17007
17011
|
attrs: {
|
17008
17012
|
title: e,
|
17009
17013
|
users: f
|
17010
17014
|
}
|
17011
17015
|
});
|
17012
17016
|
return console.log("data", t), t;
|
17013
|
-
},
|
17017
|
+
}, hc = async (e) => {
|
17014
17018
|
const f = await on({
|
17015
17019
|
//в component должен быть встроен emit change(key: value)
|
17016
17020
|
component: import("./CreateChat-fkFKBxtQ.js"),
|
@@ -17019,13 +17023,13 @@ const mc = async (e, f) => {
|
|
17019
17023
|
}
|
17020
17024
|
});
|
17021
17025
|
return console.log("data", f), f;
|
17022
|
-
},
|
17026
|
+
}, yc = async (e) => await on({
|
17023
17027
|
//в component должен быть встроен emit change(key: value)
|
17024
17028
|
component: import("./CreateChat2-DgUQ2F5L.js"),
|
17025
17029
|
attrs: {
|
17026
17030
|
title: e
|
17027
17031
|
}
|
17028
|
-
}),
|
17032
|
+
}), Eu = ["id"], Mc = {
|
17029
17033
|
__name: "BaseContainer",
|
17030
17034
|
props: {
|
17031
17035
|
height: String,
|
@@ -17035,7 +17039,7 @@ const mc = async (e, f) => {
|
|
17035
17039
|
const f = Rt();
|
17036
17040
|
return Yt("chatAppId", f), (t, n) => (r(), c("div", {
|
17037
17041
|
class: "base",
|
17038
|
-
id:
|
17042
|
+
id: x(f)
|
17039
17043
|
}, [
|
17040
17044
|
o("div", {
|
17041
17045
|
class: "base__container",
|
@@ -17043,9 +17047,9 @@ const mc = async (e, f) => {
|
|
17043
17047
|
}, [
|
17044
17048
|
te(t.$slots, "default")
|
17045
17049
|
], 4)
|
17046
|
-
], 8,
|
17050
|
+
], 8, Eu));
|
17047
17051
|
}
|
17048
|
-
},
|
17052
|
+
}, Tu = ["id"], Vu = { class: "float-window__container" }, xu = ["src", "alt"], Su = { class: "float-window__title" }, Cu = {
|
17049
17053
|
__name: "FloatContainer",
|
17050
17054
|
props: {
|
17051
17055
|
title: {
|
@@ -17065,18 +17069,18 @@ const mc = async (e, f) => {
|
|
17065
17069
|
},
|
17066
17070
|
emits: ["close-window", "get-size"],
|
17067
17071
|
setup(e, { emit: f }) {
|
17068
|
-
const t = e, n =
|
17072
|
+
const t = e, n = I({ x: 0, y: 0 }), a = I(null), s = I(null), A = I(!1), i = I(0), l = I(0), u = I(0), g = Rt();
|
17069
17073
|
Yt("chatAppId", g);
|
17070
17074
|
const d = (y) => {
|
17071
17075
|
A.value = !0, i.value = y.clientX - a.value.offsetLeft, l.value = y.clientY - a.value.offsetTop;
|
17072
|
-
}, h = () => A.value = !1,
|
17076
|
+
}, h = () => A.value = !1, m = (y) => {
|
17073
17077
|
if (A.value) {
|
17074
|
-
const
|
17075
|
-
n.value.x =
|
17078
|
+
const M = y.clientX - i.value, p = y.clientY - l.value;
|
17079
|
+
n.value.x = M, n.value.y = p;
|
17076
17080
|
}
|
17077
17081
|
};
|
17078
17082
|
return we(() => {
|
17079
|
-
document.addEventListener("mousemove",
|
17083
|
+
document.addEventListener("mousemove", m), window.addEventListener("resize", () => {
|
17080
17084
|
n.value.x = Math.max(
|
17081
17085
|
0,
|
17082
17086
|
Math.min(
|
@@ -17091,11 +17095,11 @@ const mc = async (e, f) => {
|
|
17091
17095
|
)
|
17092
17096
|
);
|
17093
17097
|
}), u.value = a.value.offsetHeight - s.value.offsetHeight;
|
17094
|
-
}), (y,
|
17098
|
+
}), (y, M) => (r(), c("div", {
|
17095
17099
|
ref_key: "element",
|
17096
17100
|
ref: a,
|
17097
17101
|
class: "float-window",
|
17098
|
-
id:
|
17102
|
+
id: x(g),
|
17099
17103
|
style: K({
|
17100
17104
|
left: n.value.x + "px",
|
17101
17105
|
top: n.value.y + "px",
|
@@ -17105,7 +17109,7 @@ const mc = async (e, f) => {
|
|
17105
17109
|
display: "flex"
|
17106
17110
|
})
|
17107
17111
|
}, [
|
17108
|
-
o("div",
|
17112
|
+
o("div", Vu, [
|
17109
17113
|
o("div", {
|
17110
17114
|
ref_key: "container",
|
17111
17115
|
ref: s,
|
@@ -17120,12 +17124,12 @@ const mc = async (e, f) => {
|
|
17120
17124
|
class: "float-window__avatar",
|
17121
17125
|
src: t.avatar,
|
17122
17126
|
alt: t.title
|
17123
|
-
}, null, 8,
|
17124
|
-
o("p",
|
17127
|
+
}, null, 8, xu)) : v("", !0),
|
17128
|
+
o("p", Su, N(t.title), 1),
|
17125
17129
|
o("button", {
|
17126
17130
|
class: "float-window__close-button",
|
17127
|
-
onClick:
|
17128
|
-
},
|
17131
|
+
onClick: M[0] || (M[0] = (p) => y.$emit("close-window"))
|
17132
|
+
}, M[1] || (M[1] = [
|
17129
17133
|
o("span", { class: "pi pi-times" }, null, -1)
|
17130
17134
|
]))
|
17131
17135
|
], 36),
|
@@ -17136,24 +17140,24 @@ const mc = async (e, f) => {
|
|
17136
17140
|
te(y.$slots, "default", {}, void 0, !0)
|
17137
17141
|
], 4)
|
17138
17142
|
])
|
17139
|
-
], 12,
|
17143
|
+
], 12, Tu));
|
17140
17144
|
}
|
17141
|
-
},
|
17142
|
-
function
|
17143
|
-
return r(), c("div",
|
17144
|
-
o("div",
|
17145
|
+
}, bc = /* @__PURE__ */ B(Cu, [["__scopeId", "data-v-cad97bf7"]]), zu = {}, Ou = { class: "base-layout__container" }, Lu = { class: "base-layout__first-col" }, Uu = { class: "base-layout__second-col" };
|
17146
|
+
function Bu(e, f) {
|
17147
|
+
return r(), c("div", Ou, [
|
17148
|
+
o("div", Lu, [
|
17145
17149
|
te(e.$slots, "first-col", {}, void 0, !0)
|
17146
17150
|
]),
|
17147
|
-
o("div",
|
17151
|
+
o("div", Uu, [
|
17148
17152
|
te(e.$slots, "second-col", {}, void 0, !0)
|
17149
17153
|
])
|
17150
17154
|
]);
|
17151
17155
|
}
|
17152
|
-
const
|
17156
|
+
const vc = /* @__PURE__ */ B(zu, [["render", Bu], ["__scopeId", "data-v-a5df3fcf"]]), Qu = { class: "extend-layout__container" }, Ru = { class: "extend-layout__first-col" }, Yu = { class: "extend-layout__third-col" }, qu = {
|
17153
17157
|
__name: "ExtendedLayout",
|
17154
17158
|
setup(e) {
|
17155
|
-
const f =
|
17156
|
-
let t =
|
17159
|
+
const f = I(null);
|
17160
|
+
let t = I(!1), n = I(0), a = I(0), s = I(0);
|
17157
17161
|
const A = (u) => {
|
17158
17162
|
u.offsetX >= f.value.offsetWidth - 20 && (t.value = !0, n.value = f.value.offsetWidth, a.value = u.clientX, s.value = u.clientX, document.addEventListener("mousemove", i));
|
17159
17163
|
}, i = (u) => {
|
@@ -17166,40 +17170,40 @@ const bc = /* @__PURE__ */ B(Cu, [["render", Uu], ["__scopeId", "data-v-a5df3fcf
|
|
17166
17170
|
};
|
17167
17171
|
return we(() => {
|
17168
17172
|
f.value && (f.value.style.width = "350px");
|
17169
|
-
}), (u, g) => (r(), c("div",
|
17170
|
-
o("div",
|
17173
|
+
}), (u, g) => (r(), c("div", Qu, [
|
17174
|
+
o("div", Ru, [
|
17171
17175
|
te(u.$slots, "first-col", {}, void 0, !0)
|
17172
17176
|
]),
|
17173
17177
|
o("div", {
|
17174
17178
|
ref_key: "resizableDiv",
|
17175
17179
|
ref: f,
|
17176
17180
|
class: "extend-layout__second-col resizable-div",
|
17177
|
-
style: K({ userSelect:
|
17181
|
+
style: K({ userSelect: x(t) ? "none" : "auto" }),
|
17178
17182
|
onMousedown: A,
|
17179
17183
|
onMouseup: l
|
17180
17184
|
}, [
|
17181
17185
|
te(u.$slots, "second-col", {}, void 0, !0)
|
17182
17186
|
], 36),
|
17183
|
-
o("div",
|
17187
|
+
o("div", Yu, [
|
17184
17188
|
te(u.$slots, "third-col", {}, void 0, !0)
|
17185
17189
|
])
|
17186
17190
|
]));
|
17187
17191
|
}
|
17188
|
-
},
|
17189
|
-
function
|
17190
|
-
return r(), c("div",
|
17191
|
-
o("div",
|
17192
|
+
}, _c = /* @__PURE__ */ B(qu, [["__scopeId", "data-v-7c3b977d"]]), $u = {}, Hu = { class: "base-layout__container" }, Fu = { class: "base-layout__first-col" };
|
17193
|
+
function Pu(e, f) {
|
17194
|
+
return r(), c("div", Hu, [
|
17195
|
+
o("div", Fu, [
|
17192
17196
|
te(e.$slots, "default", {}, void 0, !0)
|
17193
17197
|
])
|
17194
17198
|
]);
|
17195
17199
|
}
|
17196
|
-
const
|
17200
|
+
const Ic = /* @__PURE__ */ B($u, [["render", Pu], ["__scopeId", "data-v-e71ea0ed"]]), Wu = { class: "chat-wrapper" }, Ku = {
|
17197
17201
|
key: 0,
|
17198
17202
|
class: "chat-wrapper__selected-chat"
|
17199
|
-
},
|
17203
|
+
}, Ju = {
|
17200
17204
|
key: 1,
|
17201
17205
|
style: { width: "100%" }
|
17202
|
-
},
|
17206
|
+
}, Gu = /* @__PURE__ */ X({
|
17203
17207
|
__name: "ChatWrapper",
|
17204
17208
|
props: {
|
17205
17209
|
isOpenChatPanel: {
|
@@ -17212,11 +17216,11 @@ const _c = /* @__PURE__ */ B(qu, [["render", Fu], ["__scopeId", "data-v-e71ea0ed
|
|
17212
17216
|
}
|
17213
17217
|
},
|
17214
17218
|
setup(e) {
|
17215
|
-
return (f, t) => (r(), c("div",
|
17216
|
-
e.isSelectedChat ? (r(), c("div",
|
17219
|
+
return (f, t) => (r(), c("div", Wu, [
|
17220
|
+
e.isSelectedChat ? (r(), c("div", Ku, [
|
17217
17221
|
te(f.$slots, "default", {}, void 0, !0)
|
17218
|
-
])) : (r(), c("div",
|
17219
|
-
o("p", null,
|
17222
|
+
])) : (r(), c("div", Ju, [
|
17223
|
+
o("p", null, N(x(Oe)("layout.ChatWrapper.noSelectedChat")), 1)
|
17220
17224
|
])),
|
17221
17225
|
e.isOpenChatPanel ? (r(), c("div", {
|
17222
17226
|
key: 2,
|
@@ -17227,50 +17231,50 @@ const _c = /* @__PURE__ */ B(qu, [["render", Fu], ["__scopeId", "data-v-e71ea0ed
|
|
17227
17231
|
], 4)) : v("", !0)
|
17228
17232
|
]));
|
17229
17233
|
}
|
17230
|
-
}),
|
17234
|
+
}), wc = /* @__PURE__ */ B(Gu, [["__scopeId", "data-v-12c6a622"]]);
|
17231
17235
|
export {
|
17232
|
-
|
17236
|
+
Er as A,
|
17233
17237
|
fa as B,
|
17234
|
-
|
17235
|
-
|
17236
|
-
|
17237
|
-
|
17238
|
-
|
17239
|
-
|
17240
|
-
|
17241
|
-
|
17238
|
+
cu as C,
|
17239
|
+
Cr as D,
|
17240
|
+
_c as E,
|
17241
|
+
Q1 as F,
|
17242
|
+
sc as G,
|
17243
|
+
Ac as H,
|
17244
|
+
tr as I,
|
17245
|
+
ic as J,
|
17242
17246
|
Nn as K,
|
17243
17247
|
Ke as L,
|
17244
17248
|
Je as M,
|
17245
|
-
|
17246
|
-
|
17247
|
-
|
17248
|
-
|
17249
|
+
hu as S,
|
17250
|
+
cr as T,
|
17251
|
+
nc as U,
|
17252
|
+
Jr as V,
|
17249
17253
|
B as _,
|
17250
17254
|
Qn as a,
|
17251
|
-
|
17252
|
-
|
17253
|
-
|
17254
|
-
|
17255
|
-
|
17256
|
-
|
17257
|
-
|
17258
|
-
|
17259
|
-
|
17260
|
-
|
17261
|
-
|
17262
|
-
|
17263
|
-
|
17264
|
-
|
17265
|
-
|
17255
|
+
Xu as b,
|
17256
|
+
ec as c,
|
17257
|
+
fc as d,
|
17258
|
+
tc as e,
|
17259
|
+
oc as f,
|
17260
|
+
lc as g,
|
17261
|
+
rc as h,
|
17262
|
+
uc as i,
|
17263
|
+
cc as j,
|
17264
|
+
Nt as k,
|
17265
|
+
FA as l,
|
17266
|
+
gi as m,
|
17267
|
+
dc as n,
|
17268
|
+
gc as o,
|
17269
|
+
mc as p,
|
17266
17270
|
Ve as q,
|
17267
|
-
|
17268
|
-
|
17269
|
-
|
17270
|
-
|
17271
|
-
|
17272
|
-
|
17273
|
-
|
17274
|
-
|
17275
|
-
|
17271
|
+
hc as r,
|
17272
|
+
yc as s,
|
17273
|
+
Mc as t,
|
17274
|
+
pc as u,
|
17275
|
+
bc as v,
|
17276
|
+
vc as w,
|
17277
|
+
Ic as x,
|
17278
|
+
wc as y,
|
17279
|
+
ac as z
|
17276
17280
|
};
|