@mobilon-dev/chotto 0.0.66 → 0.0.67
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,14 +1,14 @@
|
|
1
|
-
import { openBlock as u, createElementBlock as c, createElementVNode as A, toDisplayString as N, createCommentVNode as b, renderSlot as
|
1
|
+
import { openBlock as u, createElementBlock as c, createElementVNode as A, toDisplayString as N, createCommentVNode as b, renderSlot as ne, ref as M, defineComponent as J, inject as pe, watch as te, nextTick as sf, unref as O, withDirectives as me, withKeys as Da, vModelText as mf, normalizeClass as z, createVNode as Y, Transition as W, withCtx as K, createBlock as F, Fragment as $, renderList as Z, onUpdated as ja, resolveDynamicComponent as Ea, normalizeStyle as X, useId as Yt, onMounted as je, onUnmounted as Qn, computed as q, Teleport as bf, toRef as Ta, vModelRadio as Rn, createTextVNode as Yn, reactive as qn, provide as dt, getCurrentInstance as Va, toRaw as $n, onBeforeUnmount as xa, readonly as Sa, vShow as Lf, resolveComponent as Sf, withModifiers as qe, h as yn, defineAsyncComponent as Ca, createApp as za } from "vue";
|
2
2
|
const Oa = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", La = "ελ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", $e = (e, f) => {
|
3
3
|
for (const t in f)
|
4
4
|
e[t] = f[t];
|
5
5
|
return e;
|
6
|
-
},
|
6
|
+
}, Vt = "numeric", xt = "ascii", St = "alpha", of = "asciinumeric", af = "alphanumeric", Ct = "domain", Fn = "emoji", Ua = "scheme", Ba = "slashscheme", bt = "whitespace";
|
7
7
|
function Qa(e, f) {
|
8
8
|
return e in f || (f[e] = []), f[e];
|
9
9
|
}
|
10
|
-
function
|
11
|
-
f[
|
10
|
+
function Ue(e, f, t) {
|
11
|
+
f[Vt] && (f[of] = !0, f[af] = !0), f[xt] && (f[of] = !0, f[St] = !0), f[of] && (f[af] = !0), f[St] && (f[af] = !0), f[af] && (f[Ct] = !0), f[Fn] && (f[Ct] = !0);
|
12
12
|
for (const n in f) {
|
13
13
|
const a = Qa(n, t);
|
14
14
|
a.indexOf(e) < 0 && a.push(e);
|
@@ -79,7 +79,7 @@ oe.prototype = {
|
|
79
79
|
tr(e, f, t, n) {
|
80
80
|
n = n || oe.groups;
|
81
81
|
let a;
|
82
|
-
return f && f.j ? a = f : (a = new oe(f), t && n &&
|
82
|
+
return f && f.j ? a = f : (a = new oe(f), t && n && Ue(f, t, n)), this.jr.push([e, a]), a;
|
83
83
|
},
|
84
84
|
/**
|
85
85
|
* Short for "take transitions", will take as many sequential transitions as
|
@@ -137,125 +137,125 @@ oe.prototype = {
|
|
137
137
|
if (n)
|
138
138
|
if (i.t && typeof i.t == "string") {
|
139
139
|
const r = $e(Ra(i.t, n), t);
|
140
|
-
|
141
|
-
} else t &&
|
140
|
+
Ue(s, r, n);
|
141
|
+
} else t && Ue(s, t, n);
|
142
142
|
i.t = s;
|
143
143
|
}
|
144
144
|
return a.j[e] = i, i;
|
145
145
|
}
|
146
146
|
};
|
147
|
-
const
|
147
|
+
const U = (e, f, t, n, a) => e.ta(f, t, n, a), P = (e, f, t, n, a) => e.tr(f, t, n, a), vn = (e, f, t, n, a) => e.ts(f, t, n, a), I = (e, f, t, n, a) => e.tt(f, t, n, a), De = "WORD", zt = "UWORD", Hn = "ASCIINUMERICAL", Pn = "ALPHANUMERICAL", pf = "LOCALHOST", Ot = "TLD", Lt = "UTLD", Cf = "SCHEME", Ye = "SLASH_SCHEME", qt = "NUM", Ut = "WS", $t = "NL", Af = "OPENBRACE", lf = "CLOSEBRACE", Uf = "OPENBRACKET", Bf = "CLOSEBRACKET", Qf = "OPENPAREN", Rf = "CLOSEPAREN", Yf = "OPENANGLEBRACKET", qf = "CLOSEANGLEBRACKET", $f = "FULLWIDTHLEFTPAREN", Ff = "FULLWIDTHRIGHTPAREN", Hf = "LEFTCORNERBRACKET", Pf = "RIGHTCORNERBRACKET", Wf = "LEFTWHITECORNERBRACKET", Kf = "RIGHTWHITECORNERBRACKET", Jf = "FULLWIDTHLESSTHAN", Gf = "FULLWIDTHGREATERTHAN", Zf = "AMPERSAND", Ft = "APOSTROPHE", Xf = "ASTERISK", Ve = "AT", et = "BACKSLASH", ft = "BACKTICK", tt = "CARET", xe = "COLON", Ht = "COMMA", nt = "DOLLAR", ye = "DOT", at = "EQUALS", Pt = "EXCLAMATION", re = "HYPHEN", rf = "PERCENT", st = "PIPE", it = "PLUS", ot = "POUND", uf = "QUERY", Wt = "QUOTE", Wn = "FULLWIDTHMIDDLEDOT", Kt = "SEMI", ve = "SLASH", cf = "TILDE", At = "UNDERSCORE", Kn = "EMOJI", lt = "SYM";
|
148
148
|
var Jn = /* @__PURE__ */ Object.freeze({
|
149
149
|
__proto__: null,
|
150
|
-
WORD:
|
151
|
-
UWORD:
|
150
|
+
WORD: De,
|
151
|
+
UWORD: zt,
|
152
152
|
ASCIINUMERICAL: Hn,
|
153
153
|
ALPHANUMERICAL: Pn,
|
154
|
-
LOCALHOST:
|
155
|
-
TLD:
|
156
|
-
UTLD:
|
157
|
-
SCHEME:
|
158
|
-
SLASH_SCHEME:
|
159
|
-
NUM:
|
160
|
-
WS:
|
161
|
-
NL:
|
162
|
-
OPENBRACE:
|
163
|
-
CLOSEBRACE:
|
164
|
-
OPENBRACKET:
|
165
|
-
CLOSEBRACKET:
|
166
|
-
OPENPAREN:
|
167
|
-
CLOSEPAREN:
|
168
|
-
OPENANGLEBRACKET:
|
169
|
-
CLOSEANGLEBRACKET:
|
154
|
+
LOCALHOST: pf,
|
155
|
+
TLD: Ot,
|
156
|
+
UTLD: Lt,
|
157
|
+
SCHEME: Cf,
|
158
|
+
SLASH_SCHEME: Ye,
|
159
|
+
NUM: qt,
|
160
|
+
WS: Ut,
|
161
|
+
NL: $t,
|
162
|
+
OPENBRACE: Af,
|
163
|
+
CLOSEBRACE: lf,
|
164
|
+
OPENBRACKET: Uf,
|
165
|
+
CLOSEBRACKET: Bf,
|
166
|
+
OPENPAREN: Qf,
|
167
|
+
CLOSEPAREN: Rf,
|
168
|
+
OPENANGLEBRACKET: Yf,
|
169
|
+
CLOSEANGLEBRACKET: qf,
|
170
170
|
FULLWIDTHLEFTPAREN: $f,
|
171
|
-
FULLWIDTHRIGHTPAREN:
|
172
|
-
LEFTCORNERBRACKET:
|
173
|
-
RIGHTCORNERBRACKET:
|
174
|
-
LEFTWHITECORNERBRACKET:
|
175
|
-
RIGHTWHITECORNERBRACKET:
|
176
|
-
FULLWIDTHLESSTHAN:
|
177
|
-
FULLWIDTHGREATERTHAN:
|
178
|
-
AMPERSAND:
|
171
|
+
FULLWIDTHRIGHTPAREN: Ff,
|
172
|
+
LEFTCORNERBRACKET: Hf,
|
173
|
+
RIGHTCORNERBRACKET: Pf,
|
174
|
+
LEFTWHITECORNERBRACKET: Wf,
|
175
|
+
RIGHTWHITECORNERBRACKET: Kf,
|
176
|
+
FULLWIDTHLESSTHAN: Jf,
|
177
|
+
FULLWIDTHGREATERTHAN: Gf,
|
178
|
+
AMPERSAND: Zf,
|
179
179
|
APOSTROPHE: Ft,
|
180
|
-
ASTERISK:
|
181
|
-
AT:
|
182
|
-
BACKSLASH:
|
183
|
-
BACKTICK:
|
184
|
-
CARET:
|
185
|
-
COLON:
|
180
|
+
ASTERISK: Xf,
|
181
|
+
AT: Ve,
|
182
|
+
BACKSLASH: et,
|
183
|
+
BACKTICK: ft,
|
184
|
+
CARET: tt,
|
185
|
+
COLON: xe,
|
186
186
|
COMMA: Ht,
|
187
|
-
DOLLAR:
|
187
|
+
DOLLAR: nt,
|
188
188
|
DOT: ye,
|
189
|
-
EQUALS:
|
189
|
+
EQUALS: at,
|
190
190
|
EXCLAMATION: Pt,
|
191
191
|
HYPHEN: re,
|
192
|
-
PERCENT:
|
193
|
-
PIPE:
|
194
|
-
PLUS:
|
195
|
-
POUND:
|
196
|
-
QUERY:
|
192
|
+
PERCENT: rf,
|
193
|
+
PIPE: st,
|
194
|
+
PLUS: it,
|
195
|
+
POUND: ot,
|
196
|
+
QUERY: uf,
|
197
197
|
QUOTE: Wt,
|
198
198
|
FULLWIDTHMIDDLEDOT: Wn,
|
199
199
|
SEMI: Kt,
|
200
200
|
SLASH: ve,
|
201
|
-
TILDE:
|
202
|
-
UNDERSCORE:
|
201
|
+
TILDE: cf,
|
202
|
+
UNDERSCORE: At,
|
203
203
|
EMOJI: Kn,
|
204
|
-
SYM:
|
204
|
+
SYM: lt
|
205
205
|
});
|
206
|
-
const
|
207
|
-
`, Ya = "️",
|
208
|
-
let
|
209
|
-
function
|
206
|
+
const we = /[a-z]/, tf = new RegExp("\\p{L}", "u"), _t = new RegExp("\\p{Emoji}", "u"), ke = /\d/, It = /\s/, Mn = "\r", wt = `
|
207
|
+
`, Ya = "️", qa = "", kt = "";
|
208
|
+
let jf = null, Ef = null;
|
209
|
+
function $a(e = []) {
|
210
210
|
const f = {};
|
211
211
|
oe.groups = f;
|
212
212
|
const t = new oe();
|
213
|
-
|
214
|
-
const n = P(t,
|
215
|
-
[Tt]: !0
|
216
|
-
});
|
217
|
-
P(n, we, n);
|
218
|
-
const a = P(n, Ie, Hn, {
|
219
|
-
[sf]: !0
|
220
|
-
}), s = P(n, ff, Pn, {
|
221
|
-
[nf]: !0
|
222
|
-
}), i = P(t, Ie, Ne, {
|
213
|
+
jf == null && (jf = bn(Oa)), Ef == null && (Ef = bn(La)), I(t, "'", Ft), I(t, "{", Af), I(t, "}", lf), I(t, "[", Uf), I(t, "]", Bf), I(t, "(", Qf), I(t, ")", Rf), I(t, "<", Yf), I(t, ">", qf), I(t, "(", $f), I(t, ")", Ff), I(t, "「", Hf), I(t, "」", Pf), I(t, "『", Wf), I(t, "』", Kf), I(t, "<", Jf), I(t, ">", Gf), I(t, "&", Zf), I(t, "*", Xf), I(t, "@", Ve), I(t, "`", ft), I(t, "^", tt), I(t, ":", xe), I(t, ",", Ht), I(t, "$", nt), I(t, ".", ye), I(t, "=", at), I(t, "!", Pt), I(t, "-", re), I(t, "%", rf), I(t, "|", st), I(t, "+", it), I(t, "#", ot), I(t, "?", uf), I(t, '"', Wt), I(t, "/", ve), I(t, ";", Kt), I(t, "~", cf), I(t, "_", At), I(t, "\\", et), I(t, "・", Wn);
|
214
|
+
const n = P(t, ke, qt, {
|
223
215
|
[Vt]: !0
|
224
216
|
});
|
225
|
-
P(
|
226
|
-
const
|
217
|
+
P(n, ke, n);
|
218
|
+
const a = P(n, we, Hn, {
|
219
|
+
[of]: !0
|
220
|
+
}), s = P(n, tf, Pn, {
|
221
|
+
[af]: !0
|
222
|
+
}), i = P(t, we, De, {
|
227
223
|
[xt]: !0
|
228
224
|
});
|
229
|
-
P(
|
230
|
-
const
|
231
|
-
[
|
232
|
-
})
|
233
|
-
|
234
|
-
|
235
|
-
[
|
225
|
+
P(i, ke, a), P(i, we, i), P(a, ke, a), P(a, we, a);
|
226
|
+
const o = P(t, tf, zt, {
|
227
|
+
[St]: !0
|
228
|
+
});
|
229
|
+
P(o, we), P(o, ke, s), P(o, tf, o), P(s, ke, s), P(s, we), P(s, tf, s);
|
230
|
+
const r = I(t, wt, $t, {
|
231
|
+
[bt]: !0
|
232
|
+
}), l = I(t, Mn, Ut, {
|
233
|
+
[bt]: !0
|
234
|
+
}), g = P(t, It, Ut, {
|
235
|
+
[bt]: !0
|
236
236
|
});
|
237
|
-
I(t,
|
238
|
-
const d = P(t,
|
237
|
+
I(t, kt, g), I(l, wt, r), I(l, kt, g), P(l, It, g), I(g, Mn), I(g, wt), P(g, It, g), I(g, kt, g);
|
238
|
+
const d = P(t, _t, Kn, {
|
239
239
|
[Fn]: !0
|
240
240
|
});
|
241
|
-
I(d, "#"), P(d,
|
242
|
-
const m = I(d,
|
243
|
-
I(m, "#"), P(m,
|
244
|
-
const p = [[
|
245
|
-
for (let v = 0; v < Df.length; v++)
|
246
|
-
Ee(t, Df[v], zt, Ne, p);
|
241
|
+
I(d, "#"), P(d, _t, d), I(d, Ya, d);
|
242
|
+
const m = I(d, qa);
|
243
|
+
I(m, "#"), P(m, _t, d);
|
244
|
+
const p = [[we, i], [ke, a]], y = [[we, null], [tf, o], [ke, s]];
|
247
245
|
for (let v = 0; v < jf.length; v++)
|
248
|
-
|
249
|
-
|
246
|
+
Te(t, jf[v], Ot, De, p);
|
247
|
+
for (let v = 0; v < Ef.length; v++)
|
248
|
+
Te(t, Ef[v], Lt, zt, y);
|
249
|
+
Ue(Ot, {
|
250
250
|
tld: !0,
|
251
251
|
ascii: !0
|
252
|
-
}, f),
|
252
|
+
}, f), Ue(Lt, {
|
253
253
|
utld: !0,
|
254
254
|
alpha: !0
|
255
|
-
}, f),
|
255
|
+
}, f), Te(t, "file", Cf, De, p), Te(t, "mailto", Cf, De, p), Te(t, "http", Ye, De, p), Te(t, "https", Ye, De, p), Te(t, "ftp", Ye, De, p), Te(t, "ftps", Ye, De, p), Ue(Cf, {
|
256
256
|
scheme: !0,
|
257
257
|
ascii: !0
|
258
|
-
}, f),
|
258
|
+
}, f), Ue(Ye, {
|
259
259
|
slashscheme: !0,
|
260
260
|
ascii: !0
|
261
261
|
}, f), e = e.sort((v, h) => v[0] > h[0] ? 1 : -1);
|
@@ -265,11 +265,11 @@ function qa(e = []) {
|
|
265
265
|
} : {
|
266
266
|
[Ba]: !0
|
267
267
|
};
|
268
|
-
h.indexOf("-") >= 0 ? k[
|
268
|
+
h.indexOf("-") >= 0 ? k[Ct] = !0 : we.test(h) ? ke.test(h) ? k[of] = !0 : k[xt] = !0 : k[Vt] = !0, vn(t, h, h, k);
|
269
269
|
}
|
270
|
-
return vn(t, "localhost",
|
270
|
+
return vn(t, "localhost", pf, {
|
271
271
|
ascii: !0
|
272
|
-
}), t.jd = new oe(
|
272
|
+
}), t.jd = new oe(lt), {
|
273
273
|
start: t,
|
274
274
|
tokens: $e({
|
275
275
|
groups: f
|
@@ -305,7 +305,7 @@ function Fa(e) {
|
|
305
305
|
}
|
306
306
|
return f;
|
307
307
|
}
|
308
|
-
function
|
308
|
+
function Te(e, f, t, n, a) {
|
309
309
|
let s;
|
310
310
|
const i = f.length;
|
311
311
|
for (let o = 0; o < i - 1; o++) {
|
@@ -331,7 +331,7 @@ function bn(e) {
|
|
331
331
|
}
|
332
332
|
return f;
|
333
333
|
}
|
334
|
-
const
|
334
|
+
const hf = {
|
335
335
|
defaultProtocol: "http",
|
336
336
|
events: null,
|
337
337
|
format: _n,
|
@@ -348,7 +348,7 @@ const pf = {
|
|
348
348
|
render: null
|
349
349
|
};
|
350
350
|
function Jt(e, f = null) {
|
351
|
-
let t = $e({},
|
351
|
+
let t = $e({}, hf);
|
352
352
|
e && (t = $e(t, e instanceof Jt ? e.o : e));
|
353
353
|
const n = t.ignoreTags, a = [];
|
354
354
|
for (let s = 0; s < n.length; s++)
|
@@ -356,7 +356,7 @@ function Jt(e, f = null) {
|
|
356
356
|
this.o = t, f && (this.defaultRender = f), this.ignoreTags = a;
|
357
357
|
}
|
358
358
|
Jt.prototype = {
|
359
|
-
o:
|
359
|
+
o: hf,
|
360
360
|
/**
|
361
361
|
* @type string[]
|
362
362
|
*/
|
@@ -392,7 +392,7 @@ Jt.prototype = {
|
|
392
392
|
get(e, f, t) {
|
393
393
|
const n = f != null;
|
394
394
|
let a = this.o[e];
|
395
|
-
return a && (typeof a == "object" ? (a = t.t in a ? a[t.t] :
|
395
|
+
return a && (typeof a == "object" ? (a = t.t in a ? a[t.t] : hf[e], typeof a == "function" && n && (a = a(f, t))) : typeof a == "function" && n && (a = a(f, t.t, t)), a);
|
396
396
|
},
|
397
397
|
/**
|
398
398
|
* @template {keyof Opts} L
|
@@ -481,7 +481,7 @@ Zn.prototype = {
|
|
481
481
|
@method toObject
|
482
482
|
@param {string} [protocol] `'http'` by default
|
483
483
|
*/
|
484
|
-
toObject(e =
|
484
|
+
toObject(e = hf.defaultProtocol) {
|
485
485
|
return {
|
486
486
|
type: this.t,
|
487
487
|
value: this.toString(),
|
@@ -527,7 +527,7 @@ Zn.prototype = {
|
|
527
527
|
};
|
528
528
|
}
|
529
529
|
};
|
530
|
-
function
|
530
|
+
function gt(e, f) {
|
531
531
|
class t extends Zn {
|
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 = gt("email", {
|
541
541
|
isLink: !0,
|
542
542
|
toHref() {
|
543
543
|
return "mailto:" + this.toString();
|
544
544
|
}
|
545
|
-
}), wn =
|
545
|
+
}), wn = gt("text"), Ha = gt("nl"), Tf = gt("url", {
|
546
546
|
isLink: !0,
|
547
547
|
/**
|
548
548
|
Lowercases relevant parts of the domain and adds the protocol if
|
@@ -551,7 +551,7 @@ const In = ct("email", {
|
|
551
551
|
@param {string} [scheme] default scheme (e.g., 'https')
|
552
552
|
@return {string} the full href
|
553
553
|
*/
|
554
|
-
toHref(e =
|
554
|
+
toHref(e = hf.defaultProtocol) {
|
555
555
|
return this.hasProtocol() ? this.v : `${e}://${this.v}`;
|
556
556
|
},
|
557
557
|
/**
|
@@ -560,67 +560,67 @@ const In = ct("email", {
|
|
560
560
|
*/
|
561
561
|
hasProtocol() {
|
562
562
|
const e = this.tk;
|
563
|
-
return e.length >= 2 && e[0].t !==
|
563
|
+
return e.length >= 2 && e[0].t !== pf && e[1].t === xe;
|
564
564
|
}
|
565
565
|
}), le = (e) => new oe(e);
|
566
566
|
function Pa({
|
567
567
|
groups: e
|
568
568
|
}) {
|
569
|
-
const f = e.domain.concat([
|
570
|
-
|
569
|
+
const f = e.domain.concat([Zf, Xf, Ve, et, ft, tt, nt, at, re, qt, rf, st, it, ot, ve, lt, cf, At]), t = [xe, Ht, ye, Pt, rf, uf, Wt, Kt, Yf, qf, Af, lf, Bf, Uf, Qf, Rf, $f, Ff, Hf, Pf, Wf, Kf, Jf, Gf], n = [Zf, Ft, Xf, et, ft, tt, nt, at, re, Af, lf, rf, st, it, ot, uf, ve, lt, cf, At], a = le(), s = I(a, cf);
|
570
|
+
U(s, n, s), U(s, e.domain, s);
|
571
571
|
const i = le(), o = le(), r = le();
|
572
|
-
|
573
|
-
const l = I(i,
|
574
|
-
I(s,
|
572
|
+
U(a, e.domain, i), U(a, e.scheme, o), U(a, e.slashscheme, r), U(i, n, s), U(i, e.domain, i);
|
573
|
+
const l = I(i, Ve);
|
574
|
+
I(s, Ve, l), I(o, Ve, l), I(r, Ve, l);
|
575
575
|
const g = I(s, ye);
|
576
|
-
|
576
|
+
U(g, n, s), U(g, e.domain, s);
|
577
577
|
const d = le();
|
578
|
-
|
578
|
+
U(l, e.domain, d), U(d, e.domain, d);
|
579
579
|
const m = I(d, ye);
|
580
|
-
|
580
|
+
U(m, e.domain, d);
|
581
581
|
const p = le(In);
|
582
|
-
|
582
|
+
U(m, e.tld, p), U(m, e.utld, p), I(l, pf, p);
|
583
583
|
const y = I(d, re);
|
584
|
-
I(y, re, y),
|
585
|
-
const v = I(p,
|
586
|
-
|
584
|
+
I(y, re, y), U(y, e.domain, d), U(p, e.domain, d), I(p, ye, m), I(p, re, y);
|
585
|
+
const v = I(p, xe);
|
586
|
+
U(v, e.numeric, In);
|
587
587
|
const h = I(i, re), _ = I(i, ye);
|
588
|
-
I(h, re, h),
|
589
|
-
const k = le(
|
590
|
-
|
591
|
-
const
|
592
|
-
|
593
|
-
const D = le(
|
594
|
-
|
595
|
-
const
|
596
|
-
|
588
|
+
I(h, re, h), U(h, e.domain, i), U(_, n, s), U(_, e.domain, i);
|
589
|
+
const k = le(Tf);
|
590
|
+
U(_, e.tld, k), U(_, e.utld, k), U(k, e.domain, i), U(k, n, s), I(k, ye, _), I(k, re, h), I(k, Ve, l);
|
591
|
+
const S = I(k, xe), w = le(Tf);
|
592
|
+
U(S, e.numeric, w);
|
593
|
+
const D = le(Tf), T = le();
|
594
|
+
U(D, f, D), U(D, t, T), U(T, f, D), U(T, t, T), I(k, ve, D), I(w, ve, D);
|
595
|
+
const E = I(o, xe), x = I(r, xe), V = I(x, ve), L = I(V, ve);
|
596
|
+
U(o, e.domain, i), I(o, ye, _), I(o, re, h), U(r, e.domain, i), I(r, ye, _), I(r, re, h), U(E, e.domain, D), I(E, ve, D), I(E, uf, D), U(L, e.domain, D), U(L, f, D), I(L, ve, D);
|
597
597
|
const R = [
|
598
|
-
[
|
598
|
+
[Af, lf],
|
599
599
|
// {}
|
600
|
-
[
|
600
|
+
[Uf, Bf],
|
601
601
|
// []
|
602
|
-
[
|
602
|
+
[Qf, Rf],
|
603
603
|
// ()
|
604
|
-
[
|
604
|
+
[Yf, qf],
|
605
605
|
// <>
|
606
|
-
[$f,
|
606
|
+
[$f, Ff],
|
607
607
|
// ()
|
608
|
-
[
|
608
|
+
[Hf, Pf],
|
609
609
|
// 「」
|
610
|
-
[
|
610
|
+
[Wf, Kf],
|
611
611
|
// 『』
|
612
|
-
[
|
612
|
+
[Jf, Gf]
|
613
613
|
// <>
|
614
614
|
];
|
615
615
|
for (let H = 0; H < R.length; H++) {
|
616
|
-
const [fe, Ae] = R[H],
|
617
|
-
I(
|
618
|
-
const
|
619
|
-
|
616
|
+
const [fe, Ae] = R[H], ie = I(D, fe);
|
617
|
+
I(T, fe, ie), I(ie, Ae, D);
|
618
|
+
const j = le(Tf);
|
619
|
+
U(ie, f, j);
|
620
620
|
const C = le();
|
621
|
-
|
621
|
+
U(ie, t), U(j, f, j), U(j, t, C), U(C, f, j), U(C, t, C), I(j, Ae, D), I(C, Ae, D);
|
622
622
|
}
|
623
|
-
return I(a,
|
623
|
+
return I(a, pf, k), I(a, $t, Ha), {
|
624
624
|
start: a,
|
625
625
|
tokens: Jn
|
626
626
|
};
|
@@ -636,14 +636,14 @@ function Wa(e, f, t) {
|
|
636
636
|
if (m < 0)
|
637
637
|
a -= g, a < n && (i.push(t[a]), a++);
|
638
638
|
else {
|
639
|
-
i.length > 0 && (s.push(
|
639
|
+
i.length > 0 && (s.push(Nt(wn, f, i)), i = []), a -= m, g -= m;
|
640
640
|
const p = d.t, y = t.slice(a - g, a);
|
641
|
-
s.push(
|
641
|
+
s.push(Nt(p, f, y));
|
642
642
|
}
|
643
643
|
}
|
644
|
-
return i.length > 0 && s.push(
|
644
|
+
return i.length > 0 && s.push(Nt(wn, f, i)), s;
|
645
645
|
}
|
646
|
-
function
|
646
|
+
function Nt(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
|
}
|
@@ -656,7 +656,7 @@ const ee = {
|
|
656
656
|
initialized: !1
|
657
657
|
};
|
658
658
|
function Ka() {
|
659
|
-
ee.scanner =
|
659
|
+
ee.scanner = $a(ee.customSchemes);
|
660
660
|
for (let e = 0; e < ee.tokenQueue.length; e++)
|
661
661
|
ee.tokenQueue[e][1]({
|
662
662
|
scanner: ee.scanner
|
@@ -694,7 +694,7 @@ function Za({
|
|
694
694
|
}) {
|
695
695
|
return `<${e} ${Ga(f)}>${ea(t)}</${e}>`;
|
696
696
|
}
|
697
|
-
function
|
697
|
+
function Ge(e, f = {}) {
|
698
698
|
f = new Jt(f, Za);
|
699
699
|
const t = Xn(e), n = [];
|
700
700
|
for (let a = 0; a < t.length; a++) {
|
@@ -707,7 +707,7 @@ function Je(e, f = {}) {
|
|
707
707
|
String.prototype.linkify || Object.defineProperty(String.prototype, "linkify", {
|
708
708
|
writable: !1,
|
709
709
|
value: function(f) {
|
710
|
-
return
|
710
|
+
return Ge(this, f);
|
711
711
|
}
|
712
712
|
});
|
713
713
|
const Q = (e, f) => {
|
@@ -749,45 +749,45 @@ const Q = (e, f) => {
|
|
749
749
|
e.chat["lastActivity.time"] ? (u(), c("p", ss, N(e.chat["lastActivity.time"]), 1)) : b("", !0)
|
750
750
|
]),
|
751
751
|
A("div", is, [
|
752
|
-
|
752
|
+
ne(n.$slots, "actions", {}, void 0, !0)
|
753
753
|
])
|
754
754
|
])) : b("", !0);
|
755
755
|
}
|
756
|
-
}, Mc = /* @__PURE__ */ Q(os, [["__scopeId", "data-v-26bb16be"]]),
|
756
|
+
}, Mc = /* @__PURE__ */ Q(os, [["__scopeId", "data-v-26bb16be"]]), Ne = M([]), mt = (e) => {
|
757
757
|
const f = M(0);
|
758
|
-
let t =
|
759
|
-
t != null ? f.value =
|
758
|
+
let t = Ne.value.find(({ id: r }) => r == e);
|
759
|
+
t != null ? f.value = Ne.value.indexOf(t) : (Ne.value.push({
|
760
760
|
id: e,
|
761
761
|
text: "",
|
762
762
|
file: void 0
|
763
|
-
}), f.value =
|
763
|
+
}), f.value = Ne.value.length - 1);
|
764
764
|
const n = () => {
|
765
|
-
|
765
|
+
Ne.value[f.value] = {
|
766
766
|
id: o().id,
|
767
767
|
text: "",
|
768
768
|
file: void 0
|
769
769
|
};
|
770
770
|
}, a = (r) => {
|
771
|
-
|
771
|
+
Ne.value[f.value] = {
|
772
772
|
id: o().id,
|
773
773
|
text: r,
|
774
774
|
file: o().file
|
775
775
|
};
|
776
776
|
}, s = (r) => {
|
777
|
-
|
777
|
+
Ne.value[f.value] = {
|
778
778
|
id: o().id,
|
779
779
|
text: o().text,
|
780
780
|
file: r
|
781
781
|
};
|
782
782
|
}, i = () => {
|
783
|
-
|
783
|
+
Ne.value[f.value] = {
|
784
784
|
id: o().id,
|
785
785
|
text: o().text,
|
786
786
|
file: void 0
|
787
787
|
};
|
788
788
|
};
|
789
789
|
function o() {
|
790
|
-
return
|
790
|
+
return Ne.value[f.value];
|
791
791
|
}
|
792
792
|
return { getMessage: o, resetMessage: n, setMessageFile: s, resetMessageFile: i, setMessageText: a };
|
793
793
|
}, As = {
|
@@ -818,7 +818,7 @@ let rs = {
|
|
818
818
|
ru: As,
|
819
819
|
en: ls
|
820
820
|
};
|
821
|
-
const
|
821
|
+
const Be = us().t;
|
822
822
|
function us() {
|
823
823
|
function e(f) {
|
824
824
|
return rs[kn.value.code][f];
|
@@ -829,15 +829,22 @@ function us() {
|
|
829
829
|
locales: fa
|
830
830
|
};
|
831
831
|
}
|
832
|
-
const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs = ["id"], ms = { class: "chat-input__second-line" }, ps = ["placeholder"], hs = { class: "chat-input__third-line" }, ys = /* @__PURE__ */ J({
|
832
|
+
const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs = ["id"], ms = { class: "chat-input__second-line" }, ps = ["disabled", "placeholder"], hs = { class: "chat-input__third-line" }, ys = /* @__PURE__ */ J({
|
833
833
|
__name: "ChatInput",
|
834
|
+
props: {
|
835
|
+
state: {
|
836
|
+
type: String,
|
837
|
+
required: !1,
|
838
|
+
default: "active"
|
839
|
+
}
|
840
|
+
},
|
834
841
|
emits: ["send", "typing"],
|
835
842
|
setup(e, { emit: f }) {
|
836
|
-
const t = f, n =
|
843
|
+
const t = f, n = pe("chatAppId"), { resetMessage: a, getMessage: s, setMessageText: i } = mt(n), o = M();
|
837
844
|
te(
|
838
845
|
() => s().text,
|
839
846
|
() => {
|
840
|
-
|
847
|
+
sf(function() {
|
841
848
|
t("typing"), o.value && (o.value.style.height = "auto", o.value.style.height = o.value.scrollHeight + "px");
|
842
849
|
});
|
843
850
|
}
|
@@ -868,35 +875,36 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
868
875
|
return (d, m) => (u(), c("div", cs, [
|
869
876
|
A("div", ds, [
|
870
877
|
A("div", {
|
871
|
-
id: "chat-input-first-line-" +
|
878
|
+
id: "chat-input-first-line-" + O(n),
|
872
879
|
class: "chat-input__first-line"
|
873
880
|
}, null, 8, gs),
|
874
881
|
A("div", ms, [
|
875
|
-
|
882
|
+
me(A("textarea", {
|
883
|
+
disabled: e.state == "disabled",
|
876
884
|
ref_key: "refInput",
|
877
885
|
ref: o,
|
878
|
-
"onUpdate:modelValue": m[0] || (m[0] = (p) =>
|
886
|
+
"onUpdate:modelValue": m[0] || (m[0] = (p) => O(s)().text = p),
|
879
887
|
class: "chat-input__input",
|
880
|
-
placeholder:
|
888
|
+
placeholder: O(Be)("component.ChatInput.InputPlaceholder"),
|
881
889
|
onKeydown: Da(l, ["enter"]),
|
882
890
|
onInput: r
|
883
891
|
}, null, 40, ps), [
|
884
|
-
[
|
892
|
+
[mf, O(s)().text]
|
885
893
|
]),
|
886
894
|
A("button", {
|
887
|
-
class:
|
895
|
+
class: z(["chat-input__button-send", { "chat-input__button-send-disabled": O(s)().text == "" && !O(s)().file }]),
|
888
896
|
onClick: g
|
889
897
|
}, m[1] || (m[1] = [
|
890
898
|
A("span", { class: "pi pi-send" }, null, -1)
|
891
899
|
]), 2)
|
892
900
|
]),
|
893
901
|
A("div", hs, [
|
894
|
-
|
902
|
+
ne(d.$slots, "buttons", {}, void 0, !0)
|
895
903
|
])
|
896
904
|
])
|
897
905
|
]));
|
898
906
|
}
|
899
|
-
}), bc = /* @__PURE__ */ Q(ys, [["__scopeId", "data-v-
|
907
|
+
}), bc = /* @__PURE__ */ Q(ys, [["__scopeId", "data-v-c34eb782"]]), vs = { class: "chat-list" }, Ms = { class: "chat-list__title" }, bs = {
|
900
908
|
key: 0,
|
901
909
|
class: "pi pi-minus"
|
902
910
|
}, _s = {
|
@@ -943,7 +951,7 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
943
951
|
class: "chat-list__title-container",
|
944
952
|
onMouseleave: a
|
945
953
|
}, [
|
946
|
-
A("h2", Ms, N(
|
954
|
+
A("h2", Ms, N(O(Be)("component.ChatList.Title")), 1),
|
947
955
|
e.actions.length ? (u(), c("button", {
|
948
956
|
key: 0,
|
949
957
|
class: "chat-list__button-actions",
|
@@ -953,7 +961,7 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
953
961
|
])) : b("", !0),
|
954
962
|
Y(W, null, {
|
955
963
|
default: K(() => [
|
956
|
-
n.value && e.actions ? (u(), F(
|
964
|
+
n.value && e.actions ? (u(), F(O(ze), {
|
957
965
|
key: 0,
|
958
966
|
actions: e.actions,
|
959
967
|
class: "chat-list__context-menu",
|
@@ -963,14 +971,14 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
963
971
|
_: 1
|
964
972
|
})
|
965
973
|
], 32),
|
966
|
-
e.filterEnabled ? (u(), F(
|
974
|
+
e.filterEnabled ? (u(), F(O(Pi), {
|
967
975
|
key: 0,
|
968
976
|
class: "chat-list__filter",
|
969
977
|
onUpdate: l
|
970
978
|
})) : b("", !0),
|
971
979
|
A("div", Is, [
|
972
980
|
A("div", ws, [
|
973
|
-
(u(!0), c(
|
981
|
+
(u(!0), c($, null, Z(r().filter((p) => p.isFixedTop), (p) => (u(), F(O(Dt), {
|
974
982
|
key: p.chatId,
|
975
983
|
class: "chat-list__item",
|
976
984
|
chat: p,
|
@@ -979,7 +987,7 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
979
987
|
}, null, 8, ["chat"]))), 128))
|
980
988
|
]),
|
981
989
|
A("div", ks, [
|
982
|
-
(u(!0), c(
|
990
|
+
(u(!0), c($, null, Z(r().filter((p) => !p.isFixedBottom && !p.isFixedTop), (p) => (u(), F(O(Dt), {
|
983
991
|
key: p.chatId,
|
984
992
|
class: "chat-list__item",
|
985
993
|
chat: p,
|
@@ -988,7 +996,7 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
988
996
|
}, null, 8, ["chat"]))), 128))
|
989
997
|
]),
|
990
998
|
A("div", Ns, [
|
991
|
-
(u(!0), c(
|
999
|
+
(u(!0), c($, null, Z(r().filter((p) => p.isFixedBottom), (p) => (u(), F(O(Dt), {
|
992
1000
|
key: p.chatId,
|
993
1001
|
class: "chat-list__item",
|
994
1002
|
chat: p,
|
@@ -1027,8 +1035,8 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
1027
1035
|
},
|
1028
1036
|
emits: ["messageAction", "loadMore", "messageVisible"],
|
1029
1037
|
setup(e, { emit: f }) {
|
1030
|
-
const t = M(), n = M(), a = M(!1), s = e, i =
|
1031
|
-
const _ =
|
1038
|
+
const t = M(), n = M(), a = M(!1), s = e, i = pe("chatAppId"), o = f, r = (h = !0) => {
|
1039
|
+
const _ = O(n);
|
1032
1040
|
_.scrollHeight - _.scrollTop - _.clientHeight < 100 ? a.value = !1 : a.value = !0, _.scrollTop === 0 && h && o("loadMore");
|
1033
1041
|
}, l = (h) => ({
|
1034
1042
|
"message.text": xr,
|
@@ -1042,14 +1050,14 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
1042
1050
|
"message.typing": Bn
|
1043
1051
|
})[h];
|
1044
1052
|
function g() {
|
1045
|
-
s.isScrollToBottomOnUpdateObjectsEnabled &&
|
1046
|
-
const h =
|
1053
|
+
s.isScrollToBottomOnUpdateObjectsEnabled && sf(function() {
|
1054
|
+
const h = O(n);
|
1047
1055
|
h.scrollTop = h.scrollHeight;
|
1048
1056
|
});
|
1049
1057
|
}
|
1050
1058
|
function d() {
|
1051
|
-
|
1052
|
-
const h =
|
1059
|
+
sf(function() {
|
1060
|
+
const h = O(n);
|
1053
1061
|
h.scrollTop = h.scrollHeight;
|
1054
1062
|
});
|
1055
1063
|
}
|
@@ -1068,7 +1076,7 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
1068
1076
|
return te(
|
1069
1077
|
() => s.objects,
|
1070
1078
|
() => {
|
1071
|
-
|
1079
|
+
sf(() => {
|
1072
1080
|
r(!1), t.value = document.querySelectorAll(".message-feed__message"), t.value.forEach((h) => v.observe(h));
|
1073
1081
|
});
|
1074
1082
|
},
|
@@ -1078,10 +1086,10 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
1078
1086
|
ref: n,
|
1079
1087
|
class: "message-feed",
|
1080
1088
|
onScroll: _[0] || (_[0] = (k) => r()),
|
1081
|
-
id: "feed-container-" +
|
1089
|
+
id: "feed-container-" + O(i)
|
1082
1090
|
}, [
|
1083
1091
|
A("div", Es, [
|
1084
|
-
(u(!0), c(
|
1092
|
+
(u(!0), c($, null, Z(e.objects, (k) => (u(), F(Ea(l(k.type)), {
|
1085
1093
|
key: k.messageId,
|
1086
1094
|
id: JSON.stringify(k),
|
1087
1095
|
class: "message-feed__message",
|
@@ -1089,7 +1097,7 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
1089
1097
|
onAction: m
|
1090
1098
|
}, null, 40, ["id", "message"]))), 128))
|
1091
1099
|
]),
|
1092
|
-
e.typing ? (u(), F(
|
1100
|
+
e.typing ? (u(), F(O(Bn), {
|
1093
1101
|
key: 0,
|
1094
1102
|
message: {
|
1095
1103
|
subText: e.typing.title,
|
@@ -1131,7 +1139,7 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
1131
1139
|
e.user.avatar ? (u(), c("div", Cs, [
|
1132
1140
|
A("span", {
|
1133
1141
|
class: "profile__status",
|
1134
|
-
style:
|
1142
|
+
style: X({ backgroundColor: e.user.status })
|
1135
1143
|
}, null, 4),
|
1136
1144
|
A("img", {
|
1137
1145
|
src: e.user.avatar,
|
@@ -1191,7 +1199,7 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
1191
1199
|
}, d = (m) => {
|
1192
1200
|
t.mode == "click" && i.value && !i.value.contains(m.target) && (s.value.$el.style.display = "none");
|
1193
1201
|
};
|
1194
|
-
return
|
1202
|
+
return je(() => {
|
1195
1203
|
var v, h;
|
1196
1204
|
const m = {
|
1197
1205
|
top: {
|
@@ -1216,13 +1224,13 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
1216
1224
|
}), Qn(() => {
|
1217
1225
|
document.removeEventListener("click", d);
|
1218
1226
|
}), (m, p) => (u(), c("div", {
|
1219
|
-
id: "container-" +
|
1227
|
+
id: "container-" + O(n),
|
1220
1228
|
ref_key: "actionScope",
|
1221
1229
|
ref: i,
|
1222
1230
|
style: { position: "relative", width: "fit-content" }
|
1223
1231
|
}, [
|
1224
1232
|
A("div", {
|
1225
|
-
class:
|
1233
|
+
class: z(["button", {
|
1226
1234
|
"disabled-button": e.disabled
|
1227
1235
|
}]),
|
1228
1236
|
onClick: r,
|
@@ -1230,11 +1238,11 @@ const cs = { class: "chat-input" }, ds = { class: "chat-input__container" }, gs
|
|
1230
1238
|
onMouseout: g
|
1231
1239
|
}, [
|
1232
1240
|
A("span", {
|
1233
|
-
class:
|
1241
|
+
class: z(e.buttonClass)
|
1234
1242
|
}, N(e.buttonTitle), 3)
|
1235
1243
|
], 34),
|
1236
|
-
Y(
|
1237
|
-
id: "context-menu-" +
|
1244
|
+
Y(O(ze), {
|
1245
|
+
id: "context-menu-" + O(n),
|
1238
1246
|
ref_key: "contextMenu",
|
1239
1247
|
ref: s,
|
1240
1248
|
actions: e.actions,
|
@@ -1273,10 +1281,10 @@ const Nc = (e) => {
|
|
1273
1281
|
} catch {
|
1274
1282
|
console.log("no audio permissions");
|
1275
1283
|
}
|
1276
|
-
}, jc = (e) => e.sort((f, t) => Number(f.timestamp) < Number(t.timestamp) ? -1 : Number(f.timestamp) > Number(t.timestamp) ? 1 : 0),
|
1284
|
+
}, jc = (e) => e.sort((f, t) => Number(f.timestamp) < Number(t.timestamp) ? -1 : Number(f.timestamp) > Number(t.timestamp) ? 1 : 0), rt = (e) => {
|
1277
1285
|
let f = "file";
|
1278
1286
|
return e.startsWith("image/") ? f = "image" : e.startsWith("video/") ? f = "video" : e.startsWith("audio/") && (f = "audio"), f;
|
1279
|
-
},
|
1287
|
+
}, Ze = ["read", "received", "sent"], Xe = (e) => {
|
1280
1288
|
switch (e) {
|
1281
1289
|
case "read":
|
1282
1290
|
return "status--read";
|
@@ -1285,7 +1293,7 @@ const Nc = (e) => {
|
|
1285
1293
|
default:
|
1286
1294
|
return "";
|
1287
1295
|
}
|
1288
|
-
}, Ys = { class: "preview__container" },
|
1296
|
+
}, Ys = { class: "preview__container" }, qs = { class: "preview__block" }, $s = { key: 0 }, Fs = ["src"], Hs = { key: 1 }, Ps = ["src"], Ws = { key: 2 }, Ks = { key: 3 }, Js = { class: "preview__control-block" }, Gs = { class: "preview__information" }, Zs = { class: "preview__name" }, Xs = { class: "preview__size" }, ei = {
|
1289
1297
|
__name: "FilePreview",
|
1290
1298
|
props: {
|
1291
1299
|
previewUrl: {
|
@@ -1320,8 +1328,8 @@ const Nc = (e) => {
|
|
1320
1328
|
n("reset");
|
1321
1329
|
}
|
1322
1330
|
return (s, i) => (u(), c("div", Ys, [
|
1323
|
-
A("div",
|
1324
|
-
t.isImage ? (u(), c("div",
|
1331
|
+
A("div", qs, [
|
1332
|
+
t.isImage ? (u(), c("div", $s, [
|
1325
1333
|
A("img", {
|
1326
1334
|
src: e.previewUrl,
|
1327
1335
|
alt: "Image Preview",
|
@@ -1370,7 +1378,7 @@ const Nc = (e) => {
|
|
1370
1378
|
},
|
1371
1379
|
emits: ["fileUploaded"],
|
1372
1380
|
setup(e, { emit: f }) {
|
1373
|
-
const t = e, n = M(null), a = M(""), s = M(""), i = M(!1), o = M(!1), r = M(!1), l = M(null), g = M(""), d =
|
1381
|
+
const t = e, n = M(null), a = M(""), s = M(""), i = M(!1), o = M(!1), r = M(!1), l = M(null), g = M(""), d = pe("chatAppId"), { setMessageFile: m, resetMessageFile: p, getMessage: y } = mt(d), v = [
|
1374
1382
|
{
|
1375
1383
|
action: "audio/*",
|
1376
1384
|
title: "Аудио",
|
@@ -1391,56 +1399,56 @@ const Nc = (e) => {
|
|
1391
1399
|
title: "Файл",
|
1392
1400
|
prime: "file"
|
1393
1401
|
}
|
1394
|
-
], h =
|
1402
|
+
], h = q(() => !y().file), _ = () => {
|
1395
1403
|
n.value = null, p(), s.value = "", a.value = "";
|
1396
|
-
}, k = (
|
1397
|
-
_(), console.log("onFileSelected",
|
1398
|
-
},
|
1399
|
-
const
|
1400
|
-
if (i.value = !1, o.value = !1, r.value = !1,
|
1404
|
+
}, k = (E) => {
|
1405
|
+
_(), console.log("onFileSelected", E.target.files[0]), n.value = E.target.files[0], n.value && (S(), w());
|
1406
|
+
}, S = () => {
|
1407
|
+
const E = n.value, x = rt(E.type);
|
1408
|
+
if (i.value = !1, o.value = !1, r.value = !1, x === "image" ? i.value = !0 : x === "video" ? o.value = !0 : x === "audio" && (r.value = !0), i.value || o.value) {
|
1401
1409
|
const H = new FileReader();
|
1402
1410
|
H.onload = (fe) => {
|
1403
1411
|
s.value = fe.target.result;
|
1404
|
-
}, H.readAsDataURL(
|
1412
|
+
}, H.readAsDataURL(E);
|
1405
1413
|
} else
|
1406
1414
|
s.value = "";
|
1407
|
-
const
|
1408
|
-
let
|
1409
|
-
for (;
|
1410
|
-
|
1411
|
-
|
1415
|
+
const V = ["б", "Кб", "Мб", "Гб"];
|
1416
|
+
let L = E.size, R = 0;
|
1417
|
+
for (; L > 1024; )
|
1418
|
+
L = L / 1024, R++;
|
1419
|
+
L = L.toFixed(2) + V[R], g.value = L;
|
1412
1420
|
}, w = async () => {
|
1413
1421
|
a.value = "uploading";
|
1414
|
-
const
|
1415
|
-
|
1416
|
-
const
|
1422
|
+
const E = new FormData();
|
1423
|
+
E.append("file", n.value);
|
1424
|
+
const V = (t.filebumpUrl ? t.filebumpUrl : "https://filebump2.services.mobilon.ru") + "/upload";
|
1417
1425
|
try {
|
1418
1426
|
const R = await (await fetch(
|
1419
|
-
|
1427
|
+
V,
|
1420
1428
|
{
|
1421
1429
|
method: "POST",
|
1422
|
-
body:
|
1430
|
+
body: E
|
1423
1431
|
}
|
1424
1432
|
)).json();
|
1425
1433
|
a.value = "success", m({
|
1426
1434
|
url: R.url,
|
1427
1435
|
name: n.value.name,
|
1428
1436
|
size: n.value.size,
|
1429
|
-
type:
|
1437
|
+
type: rt(n.value.type)
|
1430
1438
|
});
|
1431
|
-
} catch (
|
1432
|
-
console.error("Ошибка при загрузке файла:",
|
1439
|
+
} catch (L) {
|
1440
|
+
console.error("Ошибка при загрузке файла:", L), a.value = "error";
|
1433
1441
|
}
|
1434
|
-
}, D = (
|
1435
|
-
l.value && h && (l.value.accept =
|
1436
|
-
},
|
1442
|
+
}, D = (E) => {
|
1443
|
+
l.value && h && (l.value.accept = E.action, l.value.click());
|
1444
|
+
}, T = () => {
|
1437
1445
|
l.value && h && t.state == "active" && l.value.click();
|
1438
1446
|
};
|
1439
|
-
return (
|
1447
|
+
return (E, x) => (u(), c($, null, [
|
1440
1448
|
A("div", fi, [
|
1441
|
-
a.value === "uploading" ? (u(), c("div", ti,
|
1449
|
+
a.value === "uploading" ? (u(), c("div", ti, x[0] || (x[0] = [
|
1442
1450
|
A("p", null, "Загрузка файла...", -1)
|
1443
|
-
]))) : a.value === "error" ? (u(), c("div", ni,
|
1451
|
+
]))) : a.value === "error" ? (u(), c("div", ni, x[1] || (x[1] = [
|
1444
1452
|
A("p", null, "Ошибка при загрузке файла.", -1)
|
1445
1453
|
]))) : (u(), F(ta, {
|
1446
1454
|
key: 2,
|
@@ -1450,7 +1458,7 @@ const Nc = (e) => {
|
|
1450
1458
|
"menu-side": "top",
|
1451
1459
|
disabled: !h.value || e.state == "disabled",
|
1452
1460
|
onClick: D,
|
1453
|
-
onButtonClick:
|
1461
|
+
onButtonClick: T
|
1454
1462
|
}, null, 8, ["disabled"])),
|
1455
1463
|
A("input", {
|
1456
1464
|
ref_key: "fileInput",
|
@@ -1460,16 +1468,16 @@ const Nc = (e) => {
|
|
1460
1468
|
onChange: k
|
1461
1469
|
}, null, 544)
|
1462
1470
|
]),
|
1463
|
-
|
1471
|
+
O(y)().file ? (u(), F(bf, {
|
1464
1472
|
key: 0,
|
1465
|
-
to: "#chat-input-first-line-" +
|
1473
|
+
to: "#chat-input-first-line-" + O(d)
|
1466
1474
|
}, [
|
1467
1475
|
Y(na, {
|
1468
1476
|
"preview-url": s.value,
|
1469
1477
|
"is-image": i.value,
|
1470
1478
|
"is-video": o.value,
|
1471
1479
|
"is-audio": r.value,
|
1472
|
-
"file-name":
|
1480
|
+
"file-name": O(y)().file.name,
|
1473
1481
|
"file-size": g.value,
|
1474
1482
|
onReset: _
|
1475
1483
|
}, null, 8, ["preview-url", "is-image", "is-video", "is-audio", "file-name", "file-size"])
|
@@ -1486,7 +1494,7 @@ const Nc = (e) => {
|
|
1486
1494
|
show: Boolean
|
1487
1495
|
},
|
1488
1496
|
setup(e) {
|
1489
|
-
const f = e, t =
|
1497
|
+
const f = e, t = pe("chatAppId"), n = () => {
|
1490
1498
|
const i = f.themes.find((o) => o.default === !0);
|
1491
1499
|
return i ? i.code : f.themes[0].code;
|
1492
1500
|
}, a = (i) => {
|
@@ -1495,14 +1503,14 @@ const Nc = (e) => {
|
|
1495
1503
|
}, s = (i) => {
|
1496
1504
|
document.getElementById(t).dataset.theme = i;
|
1497
1505
|
};
|
1498
|
-
return
|
1506
|
+
return je(() => {
|
1499
1507
|
const i = n();
|
1500
1508
|
s(i);
|
1501
1509
|
}), (i, o) => e.show ? (u(), c("div", si, [
|
1502
1510
|
A("select", {
|
1503
1511
|
onChange: o[0] || (o[0] = (r) => a(r))
|
1504
1512
|
}, [
|
1505
|
-
(u(!0), c(
|
1513
|
+
(u(!0), c($, null, Z(f.themes, (r, l) => (u(), c("option", {
|
1506
1514
|
key: l,
|
1507
1515
|
value: r.code,
|
1508
1516
|
selected: r.default === !0
|
@@ -1531,7 +1539,7 @@ const Nc = (e) => {
|
|
1531
1539
|
return (o, r) => (u(), c("div", Ai, [
|
1532
1540
|
A("div", li, [
|
1533
1541
|
A("ul", ri, [
|
1534
|
-
(u(!0), c(
|
1542
|
+
(u(!0), c($, null, Z(n.value.filter((l) => !l.isFixedBottom), (l, g) => (u(), c("li", {
|
1535
1543
|
key: g,
|
1536
1544
|
class: "sidebar__item",
|
1537
1545
|
onClick: (d) => s(l.itemId)
|
@@ -1539,17 +1547,17 @@ const Nc = (e) => {
|
|
1539
1547
|
A("img", {
|
1540
1548
|
src: l.icon,
|
1541
1549
|
alt: l.name,
|
1542
|
-
class:
|
1550
|
+
class: z(["sidebar__image", { "sidebar__image--active": l.selected === !0 }])
|
1543
1551
|
}, null, 10, ci),
|
1544
1552
|
l.notificationCount ? (u(), c("span", {
|
1545
1553
|
key: 0,
|
1546
|
-
style:
|
1554
|
+
style: X({ backgroundColor: l.notificationColor ? l.notificationColor : "red" })
|
1547
1555
|
}, N(l.notificationCount > 99 ? "99+" : l.notificationCount), 5)) : b("", !0),
|
1548
1556
|
l.name ? (u(), c("p", di, N(i(l.name)), 1)) : b("", !0)
|
1549
1557
|
], 8, ui))), 128))
|
1550
1558
|
]),
|
1551
1559
|
A("ul", gi, [
|
1552
|
-
(u(!0), c(
|
1560
|
+
(u(!0), c($, null, Z(n.value.filter((l) => l.isFixedBottom), (l, g) => (u(), c("li", {
|
1553
1561
|
key: g,
|
1554
1562
|
class: "sidebar__item",
|
1555
1563
|
onClick: (d) => s(l.itemId)
|
@@ -1557,11 +1565,11 @@ const Nc = (e) => {
|
|
1557
1565
|
A("img", {
|
1558
1566
|
src: l.icon,
|
1559
1567
|
alt: l.name,
|
1560
|
-
class:
|
1568
|
+
class: z(["sidebar__image", { "sidebar__image--active": l.selected === !0 }])
|
1561
1569
|
}, null, 10, pi),
|
1562
1570
|
l.notificationCount ? (u(), c("span", {
|
1563
1571
|
key: 0,
|
1564
|
-
style:
|
1572
|
+
style: X({ backgroundColor: l.notificationColor ? l.notificationColor : "red" })
|
1565
1573
|
}, N(l.notificationCount > 99 ? "99+" : l.notificationCount), 5)) : b("", !0),
|
1566
1574
|
l.name ? (u(), c("p", hi, N(i(l.name)), 1)) : b("", !0)
|
1567
1575
|
], 8, mi))), 128))
|
@@ -1594,7 +1602,7 @@ const Nc = (e) => {
|
|
1594
1602
|
]))
|
1595
1603
|
]),
|
1596
1604
|
A("div", null, [
|
1597
|
-
|
1605
|
+
ne(t.$slots, "content", {}, void 0, !0)
|
1598
1606
|
])
|
1599
1607
|
]));
|
1600
1608
|
}
|
@@ -1632,7 +1640,7 @@ const Nc = (e) => {
|
|
1632
1640
|
};
|
1633
1641
|
return (o, r) => (u(), c("div", Ii, [
|
1634
1642
|
A("div", {
|
1635
|
-
class:
|
1643
|
+
class: z(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
|
1636
1644
|
}, [
|
1637
1645
|
s.value ? (u(), c("div", wi, [
|
1638
1646
|
s.value.icon ? (u(), c("span", ki, [
|
@@ -1692,9 +1700,9 @@ const Nc = (e) => {
|
|
1692
1700
|
r.value = !0;
|
1693
1701
|
}, g = () => {
|
1694
1702
|
r.value = !1, o.value = !1;
|
1695
|
-
}, d =
|
1703
|
+
}, d = q(() => Xe(t.chat["lastMessage.status"]));
|
1696
1704
|
let m;
|
1697
|
-
const p = M(0), y = [
|
1705
|
+
const p = M(0), y = [Be("component.ChatItem.typing") + ".", Be("component.ChatItem.typing") + "..", Be("component.ChatItem.typing") + "..."], v = q(() => t.chat.typing ? y[p.value] : t.chat.lastMessage);
|
1698
1706
|
return te(
|
1699
1707
|
() => t.chat.typing,
|
1700
1708
|
() => {
|
@@ -1704,7 +1712,7 @@ const Nc = (e) => {
|
|
1704
1712
|
},
|
1705
1713
|
{ immediate: !0 }
|
1706
1714
|
), (h, _) => (u(), c("div", {
|
1707
|
-
class:
|
1715
|
+
class: z(s()),
|
1708
1716
|
onClick: a
|
1709
1717
|
}, [
|
1710
1718
|
A("div", {
|
@@ -1715,7 +1723,7 @@ const Nc = (e) => {
|
|
1715
1723
|
A("div", Ti, [
|
1716
1724
|
A("span", {
|
1717
1725
|
class: "chat-item__status-user",
|
1718
|
-
style:
|
1726
|
+
style: X({ backgroundColor: t.chat.status })
|
1719
1727
|
}, null, 4),
|
1720
1728
|
t.chat.avatar ? (u(), c("img", {
|
1721
1729
|
key: 0,
|
@@ -1739,9 +1747,9 @@ const Nc = (e) => {
|
|
1739
1747
|
A("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
1740
1748
|
]))) : b("", !0),
|
1741
1749
|
e.chat.countUnread < 1 ? (u(), c("div", Bi, [
|
1742
|
-
|
1750
|
+
O(Ze).includes(e.chat["lastMessage.status"]) ? (u(), c("div", {
|
1743
1751
|
key: 0,
|
1744
|
-
class:
|
1752
|
+
class: z(["chat-item__status-message", d.value])
|
1745
1753
|
}, [
|
1746
1754
|
e.chat["lastMessage.status"] !== "sent" ? (u(), c("span", Qi)) : b("", !0),
|
1747
1755
|
_[2] || (_[2] = A("span", { class: "pi pi-check" }, null, -1))
|
@@ -1751,7 +1759,7 @@ const Nc = (e) => {
|
|
1751
1759
|
]),
|
1752
1760
|
Y(W, { name: "menu" }, {
|
1753
1761
|
default: K(() => [
|
1754
|
-
o.value && e.chat.actions ? (u(), F(
|
1762
|
+
o.value && e.chat.actions ? (u(), F(O(ze), {
|
1755
1763
|
key: 0,
|
1756
1764
|
class: "chat-item__context-menu",
|
1757
1765
|
actions: e.chat.actions,
|
@@ -1763,22 +1771,22 @@ const Nc = (e) => {
|
|
1763
1771
|
], 32)
|
1764
1772
|
], 2));
|
1765
1773
|
}
|
1766
|
-
},
|
1774
|
+
}, Dt = /* @__PURE__ */ Q(Yi, [["__scopeId", "data-v-30b00fea"]]), qi = { class: "chat-filter" }, $i = { class: "chat-filter__container" }, Fi = ["placeholder"], Hi = {
|
1767
1775
|
__name: "ChatFilter",
|
1768
1776
|
emits: ["update"],
|
1769
1777
|
setup(e, { emit: f }) {
|
1770
1778
|
const t = M(""), n = f, a = () => {
|
1771
|
-
const s =
|
1779
|
+
const s = O(t);
|
1772
1780
|
n("update", s.value);
|
1773
1781
|
};
|
1774
|
-
return (s, i) => (u(), c("div",
|
1775
|
-
A("div",
|
1782
|
+
return (s, i) => (u(), c("div", qi, [
|
1783
|
+
A("div", $i, [
|
1776
1784
|
A("input", {
|
1777
1785
|
ref_key: "refInput",
|
1778
1786
|
ref: t,
|
1779
1787
|
class: "chat-filter__input",
|
1780
1788
|
type: "text",
|
1781
|
-
placeholder:
|
1789
|
+
placeholder: O(Be)("component.ChatFilter.InputPlaceholder"),
|
1782
1790
|
onInput: a
|
1783
1791
|
}, null, 40, Fi)
|
1784
1792
|
])
|
@@ -1812,13 +1820,13 @@ const Nc = (e) => {
|
|
1812
1820
|
},
|
1813
1821
|
emits: ["closeTemplateWindow", "pasteTemplate"],
|
1814
1822
|
setup(e, { emit: f }) {
|
1815
|
-
const t = e, n =
|
1823
|
+
const t = e, n = pe("chatAppId"), { setMessageText: a } = mt(n), s = () => {
|
1816
1824
|
i("closeTemplateWindow"), a(r.value.template);
|
1817
1825
|
}, i = f, o = M(null), r = M(null), l = M(""), g = (y) => {
|
1818
1826
|
t.templates.forEach((v) => v.isSelected = !1), y.isSelected = !0, r.value = y;
|
1819
1827
|
}, d = () => {
|
1820
1828
|
t.templates.forEach((y) => y.isSelected = !1);
|
1821
|
-
}, m =
|
1829
|
+
}, m = q(() => o.value ? t.templates.filter((y) => y.groupId === o.value.groupId) : t.templates), p = q(() => {
|
1822
1830
|
const y = l.value.trim().toLowerCase();
|
1823
1831
|
return m.value.filter((v) => v.title.toLowerCase().includes(y) || v.template.toLowerCase().includes(y));
|
1824
1832
|
});
|
@@ -1831,9 +1839,9 @@ const Nc = (e) => {
|
|
1831
1839
|
})
|
1832
1840
|
]),
|
1833
1841
|
A("ul", Gi, [
|
1834
|
-
(u(!0), c(
|
1842
|
+
(u(!0), c($, null, Z(e.groupTemplates, (h, _) => (u(), c("li", {
|
1835
1843
|
key: _,
|
1836
|
-
class:
|
1844
|
+
class: z(["template-selector__item-group", { "template-selector__item-selected": o.value === h }]),
|
1837
1845
|
onClick: d
|
1838
1846
|
}, [
|
1839
1847
|
A("label", Zi, [
|
@@ -1843,7 +1851,7 @@ const Nc = (e) => {
|
|
1843
1851
|
src: h.iconUrl,
|
1844
1852
|
alt: h.title
|
1845
1853
|
}, null, 8, Xi)) : b("", !0),
|
1846
|
-
|
1854
|
+
me(A("input", {
|
1847
1855
|
id: _,
|
1848
1856
|
"onUpdate:modelValue": v[1] || (v[1] = (k) => o.value = k),
|
1849
1857
|
value: h,
|
@@ -1857,20 +1865,20 @@ const Nc = (e) => {
|
|
1857
1865
|
], 2))), 128))
|
1858
1866
|
]),
|
1859
1867
|
A("div", fo, [
|
1860
|
-
|
1868
|
+
me(A("input", {
|
1861
1869
|
"onUpdate:modelValue": v[2] || (v[2] = (h) => l.value = h),
|
1862
1870
|
class: "template-selector__searching-input",
|
1863
1871
|
type: "text",
|
1864
1872
|
placeholder: "Поиск шаблона"
|
1865
1873
|
}, null, 512), [
|
1866
|
-
[
|
1874
|
+
[mf, l.value]
|
1867
1875
|
])
|
1868
1876
|
]),
|
1869
1877
|
A("div", to, [
|
1870
1878
|
p.value.length !== 0 ? (u(), c("ul", no, [
|
1871
|
-
(u(!0), c(
|
1879
|
+
(u(!0), c($, null, Z(p.value, (h, _) => (u(), c("li", {
|
1872
1880
|
key: _,
|
1873
|
-
class:
|
1881
|
+
class: z(["template-selector__item-template", { "template-selector__item-selected": h.isSelected }]),
|
1874
1882
|
onClick: (k) => g(h)
|
1875
1883
|
}, [
|
1876
1884
|
A("div", so, [
|
@@ -1928,13 +1936,13 @@ const Nc = (e) => {
|
|
1928
1936
|
}, o = () => {
|
1929
1937
|
n.value.style.display = "none";
|
1930
1938
|
};
|
1931
|
-
return
|
1939
|
+
return je(() => {
|
1932
1940
|
n.value.style.display = "none";
|
1933
|
-
}), (r, l) => (u(), c(
|
1941
|
+
}), (r, l) => (u(), c($, null, [
|
1934
1942
|
A("button", {
|
1935
1943
|
ref_key: "templateButton",
|
1936
1944
|
ref: t,
|
1937
|
-
class:
|
1945
|
+
class: z(["button-template", { "button-template-disabled": e.state == "disabled" }]),
|
1938
1946
|
onClick: a,
|
1939
1947
|
onMouseover: s,
|
1940
1948
|
onMouseout: i
|
@@ -1978,7 +1986,7 @@ const Nc = (e) => {
|
|
1978
1986
|
},
|
1979
1987
|
setup(e) {
|
1980
1988
|
return (f, t) => (u(), c("span", {
|
1981
|
-
class:
|
1989
|
+
class: z([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"])
|
1982
1990
|
}, N(e.value), 3));
|
1983
1991
|
}
|
1984
1992
|
}, vo = /* @__PURE__ */ Q(yo, [["__scopeId", "data-v-7d731222"]]), Mo = ["accept"], bo = { class: "file-upload-text" }, _o = { class: "file-info open-sans" }, Io = {
|
@@ -1998,7 +2006,7 @@ const Nc = (e) => {
|
|
1998
2006
|
},
|
1999
2007
|
emits: ["fileSelected"],
|
2000
2008
|
setup(e, { emit: f }) {
|
2001
|
-
const t = e, n = M(
|
2009
|
+
const t = e, n = M(pe("filebumpUrl")), a = M(null), s = M(), i = M(""), o = M(""), r = M(!1), l = M(!1), g = M(!1), d = M(""), m = M(""), p = f, y = () => {
|
2002
2010
|
s.value && o.value != "success" && s.value.click();
|
2003
2011
|
}, v = {
|
2004
2012
|
DOCUMENT: {
|
@@ -2026,51 +2034,52 @@ const Nc = (e) => {
|
|
2026
2034
|
const D = w.target.files[0];
|
2027
2035
|
if (D) {
|
2028
2036
|
i.value = "";
|
2029
|
-
const
|
2030
|
-
v[t.type].accept.indexOf(
|
2037
|
+
const T = D.name.split(".");
|
2038
|
+
v[t.type].accept.indexOf(T[T.length - 1]) == -1 ? i.value = v[t.type].error : D.size > v[t.type].maxSize ? i.value = "Файл слишком большого размера" : i.value || (a.value = D, _(), k());
|
2031
2039
|
}
|
2032
2040
|
}, _ = async () => {
|
2033
2041
|
if (a.value) {
|
2034
2042
|
o.value = "uploading";
|
2035
2043
|
const w = new FormData();
|
2036
2044
|
w.append("file", a.value);
|
2037
|
-
const
|
2045
|
+
const T = (n.value ? n.value : "https://filebump2.services.mobilon.ru") + "/upload";
|
2038
2046
|
try {
|
2039
|
-
const
|
2040
|
-
|
2047
|
+
const x = await (await fetch(
|
2048
|
+
T,
|
2041
2049
|
{
|
2042
2050
|
method: "POST",
|
2043
2051
|
body: w
|
2044
2052
|
}
|
2045
2053
|
)).json();
|
2046
2054
|
o.value = "success", p("fileSelected", {
|
2047
|
-
url:
|
2055
|
+
url: x.url,
|
2048
2056
|
filename: a.value.name,
|
2049
|
-
filesize: a.value.size
|
2057
|
+
filesize: a.value.size,
|
2058
|
+
filetype: rt(a.value.type)
|
2050
2059
|
});
|
2051
|
-
} catch (
|
2052
|
-
console.error("Ошибка при загрузке файла:",
|
2060
|
+
} catch (E) {
|
2061
|
+
console.error("Ошибка при загрузке файла:", E), o.value = "error";
|
2053
2062
|
}
|
2054
2063
|
}
|
2055
2064
|
}, k = () => {
|
2056
2065
|
const w = a.value;
|
2057
2066
|
if (w) {
|
2058
|
-
const D =
|
2067
|
+
const D = rt(w.type);
|
2059
2068
|
if (r.value = !1, l.value = !1, g.value = !1, D === "image" ? r.value = !0 : D === "video" ? l.value = !0 : D === "audio" && (g.value = !0), r.value || l.value) {
|
2060
|
-
const
|
2061
|
-
|
2069
|
+
const V = new FileReader();
|
2070
|
+
V.onload = (L) => {
|
2062
2071
|
var R;
|
2063
|
-
(R =
|
2064
|
-
},
|
2072
|
+
(R = L.target) != null && R.result && (d.value = String(L.target.result));
|
2073
|
+
}, V.readAsDataURL(w);
|
2065
2074
|
} else
|
2066
2075
|
d.value = "";
|
2067
|
-
const
|
2068
|
-
let
|
2069
|
-
for (;
|
2070
|
-
|
2071
|
-
m.value =
|
2076
|
+
const T = ["б", "Кб", "Мб", "Гб"];
|
2077
|
+
let E = w.size, x = 0;
|
2078
|
+
for (; E > 1024; )
|
2079
|
+
E = E / 1024, x++;
|
2080
|
+
m.value = E.toFixed(2) + T[x];
|
2072
2081
|
}
|
2073
|
-
},
|
2082
|
+
}, S = () => {
|
2074
2083
|
a.value && (a.value = null, o.value = "");
|
2075
2084
|
};
|
2076
2085
|
return te(
|
@@ -2084,10 +2093,10 @@ const Nc = (e) => {
|
|
2084
2093
|
o.value = "";
|
2085
2094
|
}
|
2086
2095
|
), (w, D) => {
|
2087
|
-
var
|
2088
|
-
return u(), c(
|
2096
|
+
var T;
|
2097
|
+
return u(), c($, null, [
|
2089
2098
|
A("section", {
|
2090
|
-
class:
|
2099
|
+
class: z(["attachment-section", { "attachment-section-error": i.value }])
|
2091
2100
|
}, [
|
2092
2101
|
o.value !== "success" ? (u(), c("div", {
|
2093
2102
|
key: 0,
|
@@ -2114,16 +2123,16 @@ const Nc = (e) => {
|
|
2114
2123
|
"is-image": r.value,
|
2115
2124
|
"is-video": l.value,
|
2116
2125
|
"is-audio": g.value,
|
2117
|
-
"file-name": (
|
2126
|
+
"file-name": (T = a.value) == null ? void 0 : T.name,
|
2118
2127
|
"file-size": m.value,
|
2119
|
-
onReset:
|
2128
|
+
onReset: S
|
2120
2129
|
}, null, 8, ["preview-url", "is-image", "is-video", "is-audio", "file-name", "file-size"])) : b("", !0)
|
2121
2130
|
], 2),
|
2122
2131
|
i.value ? (u(), c("div", Io, N(i.value), 1)) : b("", !0)
|
2123
2132
|
], 64);
|
2124
2133
|
};
|
2125
2134
|
}
|
2126
|
-
}), ko = /* @__PURE__ */ Q(wo, [["__scopeId", "data-v-
|
2135
|
+
}), ko = /* @__PURE__ */ Q(wo, [["__scopeId", "data-v-4f913641"]]), No = ["onClick"], Do = { class: "preview-action" }, jo = /* @__PURE__ */ J({
|
2127
2136
|
__name: "WABAQuickReplyButtons",
|
2128
2137
|
props: {
|
2129
2138
|
buttons: {
|
@@ -2140,8 +2149,8 @@ const Nc = (e) => {
|
|
2140
2149
|
}, s = (i) => {
|
2141
2150
|
i == 2 && n.buttons.length > 3 && t("selectAllVariants");
|
2142
2151
|
};
|
2143
|
-
return (i, o) => (u(!0), c(
|
2144
|
-
class:
|
2152
|
+
return (i, o) => (u(!0), c($, null, Z(e.buttons.slice(0, 3), (r, l) => (u(), c("div", {
|
2153
|
+
class: z(["preview-actions", {
|
2145
2154
|
"last-element": l === e.buttons.length - 1 || l == 2 && e.buttons.length > 3,
|
2146
2155
|
"middle-element": e.buttons.length - 1 > l && l > 0
|
2147
2156
|
}]),
|
@@ -2151,7 +2160,7 @@ const Nc = (e) => {
|
|
2151
2160
|
o[0] || (o[0] = A("hr", { class: "separator" }, null, -1)),
|
2152
2161
|
A("div", Do, [
|
2153
2162
|
A("span", {
|
2154
|
-
class:
|
2163
|
+
class: z(["icon pi pi-arrow-up-left", l == 2 && e.buttons.length > 3 ? "pi-list" : a[r.type]])
|
2155
2164
|
}, null, 2),
|
2156
2165
|
Yn(" " + N(l == 2 && e.buttons.length > 3 ? "Смотреть все варианты" : r.text), 1)
|
2157
2166
|
])
|
@@ -2181,13 +2190,13 @@ const Nc = (e) => {
|
|
2181
2190
|
})
|
2182
2191
|
]),
|
2183
2192
|
A("div", xo, [
|
2184
|
-
(u(!0), c(
|
2193
|
+
(u(!0), c($, null, Z(e.buttons, (i, o) => (u(), c("div", {
|
2185
2194
|
class: "actions",
|
2186
2195
|
key: o
|
2187
2196
|
}, [
|
2188
2197
|
A("div", So, [
|
2189
2198
|
A("span", {
|
2190
|
-
class:
|
2199
|
+
class: z(["icon pi pi-arrow-up-left", t[i.type]])
|
2191
2200
|
}, null, 2),
|
2192
2201
|
Yn(" " + N(i.text), 1)
|
2193
2202
|
])
|
@@ -2195,7 +2204,7 @@ const Nc = (e) => {
|
|
2195
2204
|
])
|
2196
2205
|
]));
|
2197
2206
|
}
|
2198
|
-
}), zo = /* @__PURE__ */ Q(Co, [["__scopeId", "data-v-b4897697"]]), Oo = { class: "template-selector" }, Lo = { class: "template-selector__container" }, Uo = { class: "template-selector__list-groups" }, Bo = { class: "template-selector__label-group" }, Qo = ["src", "alt"], Ro = ["id", "value"], Yo = { class: "template-selector__searching-container" },
|
2207
|
+
}), zo = /* @__PURE__ */ Q(Co, [["__scopeId", "data-v-b4897697"]]), Oo = { class: "template-selector" }, Lo = { class: "template-selector__container" }, Uo = { class: "template-selector__list-groups" }, Bo = { class: "template-selector__label-group" }, Qo = ["src", "alt"], Ro = ["id", "value"], Yo = { class: "template-selector__searching-container" }, qo = { class: "template-selector__templates" }, $o = {
|
2199
2208
|
key: 0,
|
2200
2209
|
class: "template-selector__list-templates"
|
2201
2210
|
}, Fo = ["onClick"], Ho = { class: "template-selector__item-template-info" }, Po = { class: "template-selector__item-title" }, Wo = { class: "template-selector__item-text" }, Ko = {
|
@@ -2227,79 +2236,77 @@ const Nc = (e) => {
|
|
2227
2236
|
default: () => []
|
2228
2237
|
}
|
2229
2238
|
},
|
2230
|
-
emits: ["closeTemplateWindow", "
|
2239
|
+
emits: ["closeTemplateWindow", "sendWabaValues"],
|
2231
2240
|
setup(e, { emit: f }) {
|
2232
2241
|
const t = e, n = f, a = () => {
|
2233
2242
|
n("closeTemplateWindow"), fe();
|
2234
2243
|
}, s = () => {
|
2235
|
-
n("closeTemplateWindow")
|
2236
|
-
|
2237
|
-
|
2238
|
-
|
2239
|
-
|
2240
|
-
|
2241
|
-
|
2242
|
-
|
2243
|
-
|
2244
|
-
|
2245
|
-
|
2246
|
-
values: Ae.value
|
2247
|
-
}
|
2248
|
-
), fe();
|
2249
|
-
}, i = (S) => {
|
2250
|
-
g.value = S;
|
2244
|
+
n("closeTemplateWindow");
|
2245
|
+
const j = {
|
2246
|
+
text: "",
|
2247
|
+
templateId: "",
|
2248
|
+
values: [],
|
2249
|
+
file: null,
|
2250
|
+
buttons: null
|
2251
|
+
};
|
2252
|
+
g.value ? (j.text = Ae.value, j.templateId = l.value.templateId, j.values = ie.value, j.file = g.value) : (j.text = Ae.value, j.templateId = l.value.templateId, j.values = ie.value), l.value.buttons && (j.buttons = l.value.buttons), n("sendWabaValues", j), fe();
|
2253
|
+
}, i = (j) => {
|
2254
|
+
g.value = j;
|
2251
2255
|
}, o = M(null), r = M(null), l = M(null), g = M(null), d = M(""), m = M(!1), p = () => {
|
2252
2256
|
m.value = !m.value, m.value ? (o.value.scrollTop = 0, o.value.style["overflow-y"] = "hidden") : o.value.style["overflow-y"] = "scroll";
|
2253
|
-
}, y = (
|
2254
|
-
t.wabaTemplates.forEach((
|
2257
|
+
}, y = (j) => {
|
2258
|
+
t.wabaTemplates.forEach((C) => C.isSelected = !1), j.isSelected = !0, l.value = j, m.value = !1;
|
2255
2259
|
}, v = () => {
|
2256
|
-
t.wabaTemplates.forEach((
|
2257
|
-
}, h =
|
2258
|
-
const
|
2259
|
-
return h.value.filter((
|
2260
|
-
}), k =
|
2261
|
-
D.value =
|
2260
|
+
t.wabaTemplates.forEach((j) => j.isSelected = !1);
|
2261
|
+
}, h = q(() => r.value ? t.wabaTemplates.filter((j) => j.groupId === r.value.groupId) : t.wabaTemplates), _ = q(() => {
|
2262
|
+
const j = d.value.trim().toLowerCase();
|
2263
|
+
return h.value.filter((C) => C.title.toLowerCase().includes(j) || C.template.toLowerCase().includes(j));
|
2264
|
+
}), k = qn({}), S = M(!1), w = M(null), D = M(null), T = M(""), E = (j) => {
|
2265
|
+
D.value = j, T.value = k[j] || "", S.value = !0;
|
2266
|
+
}, x = () => {
|
2267
|
+
S.value = !1, D.value = null, T.value = "";
|
2262
2268
|
}, V = () => {
|
2263
|
-
|
2264
|
-
},
|
2265
|
-
|
2266
|
-
},
|
2267
|
-
|
2268
|
-
|
2269
|
-
|
2270
|
-
const
|
2271
|
-
|
2272
|
-
|
2273
|
-
|
2274
|
-
|
2275
|
-
|
2276
|
-
|
2277
|
-
}), H = $(() => {
|
2278
|
-
var z;
|
2269
|
+
L(D.value, T.value), x();
|
2270
|
+
}, L = (j, C) => {
|
2271
|
+
k[j] = C;
|
2272
|
+
}, R = q(() => {
|
2273
|
+
var ge;
|
2274
|
+
const j = (ge = l.value) == null ? void 0 : ge.template;
|
2275
|
+
if (!j) return [];
|
2276
|
+
const C = [...j.matchAll(/{{\d+}}/g)], B = [];
|
2277
|
+
let G = 0;
|
2278
|
+
return C.forEach((Ie) => {
|
2279
|
+
Ie.index > G && B.push(j.substring(G, Ie.index)), B.push({ index: parseInt(Ie[0].slice(2, -2)) }), G = Ie.index + Ie[0].length;
|
2280
|
+
}), G < j.length && B.push(j.substring(G)), B;
|
2281
|
+
}), H = q(() => {
|
2282
|
+
var C;
|
2279
2283
|
if (!l.value)
|
2280
2284
|
return !0;
|
2281
|
-
const
|
2285
|
+
const j = Object.keys(k).length !== ((C = l.value) == null ? void 0 : C.template.match(/{{\d+}}/gi).length);
|
2282
2286
|
if (l.value.type === "TEXT")
|
2283
|
-
return
|
2287
|
+
return j;
|
2284
2288
|
if (l.value.type !== "TEXT")
|
2285
|
-
return
|
2289
|
+
return j || !g.value;
|
2286
2290
|
}), fe = () => {
|
2287
|
-
Object.keys(k).forEach((
|
2288
|
-
k[
|
2291
|
+
Object.keys(k).forEach((j) => {
|
2292
|
+
k[j] = "";
|
2289
2293
|
}), g.value = null, l.value = null, v();
|
2290
|
-
}
|
2291
|
-
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
|
2294
|
+
}, Ae = q(() => {
|
2295
|
+
console.log(R.value, l.value.buttons);
|
2296
|
+
let j = R.value.map((B) => typeof B == "string" ? B : k[B.index]).join(""), C = "";
|
2297
|
+
return l.value.buttons && (C = l.value.buttons.map((B) => `
|
2298
|
+
| [` + B.text + "]").join("")), j.concat(C);
|
2299
|
+
}), ie = q(() => {
|
2300
|
+
const j = [];
|
2301
|
+
for (const C in k)
|
2302
|
+
k[C] !== "" && k[C] !== "Заполнить" && j.push(k[C]);
|
2303
|
+
return j;
|
2297
2304
|
});
|
2298
|
-
return te(
|
2299
|
-
|
2305
|
+
return te(S, (j) => {
|
2306
|
+
j && sf(() => {
|
2300
2307
|
w.value.focus();
|
2301
2308
|
});
|
2302
|
-
}), (
|
2309
|
+
}), (j, C) => (u(), c("div", Oo, [
|
2303
2310
|
A("div", Lo, [
|
2304
2311
|
A("button", { class: "template-selector__button-close" }, [
|
2305
2312
|
A("span", {
|
@@ -2308,51 +2315,51 @@ const Nc = (e) => {
|
|
2308
2315
|
})
|
2309
2316
|
]),
|
2310
2317
|
A("ul", Uo, [
|
2311
|
-
(u(!0), c(
|
2312
|
-
key:
|
2313
|
-
class:
|
2318
|
+
(u(!0), c($, null, Z(e.groupTemplates, (B, G) => (u(), c("li", {
|
2319
|
+
key: G,
|
2320
|
+
class: z(["template-selector__item-group", { "template-selector__item-selected": r.value === B }]),
|
2314
2321
|
onClick: v
|
2315
2322
|
}, [
|
2316
2323
|
A("label", Bo, [
|
2317
|
-
|
2324
|
+
B.iconUrl ? (u(), c("img", {
|
2318
2325
|
key: 0,
|
2319
2326
|
class: "template-selector__item-group-icon",
|
2320
|
-
src:
|
2321
|
-
alt:
|
2327
|
+
src: B.iconUrl,
|
2328
|
+
alt: B.title
|
2322
2329
|
}, null, 8, Qo)) : b("", !0),
|
2323
|
-
|
2324
|
-
id:
|
2325
|
-
"onUpdate:modelValue":
|
2326
|
-
value:
|
2330
|
+
me(A("input", {
|
2331
|
+
id: G,
|
2332
|
+
"onUpdate:modelValue": C[0] || (C[0] = (ge) => r.value = ge),
|
2333
|
+
value: B,
|
2327
2334
|
class: "template-selector__input-group",
|
2328
2335
|
type: "radio"
|
2329
2336
|
}, null, 8, Ro), [
|
2330
2337
|
[Rn, r.value]
|
2331
2338
|
]),
|
2332
|
-
A("span", null, N(
|
2339
|
+
A("span", null, N(B.title), 1)
|
2333
2340
|
])
|
2334
2341
|
], 2))), 128))
|
2335
2342
|
]),
|
2336
2343
|
A("div", Yo, [
|
2337
|
-
|
2338
|
-
"onUpdate:modelValue":
|
2344
|
+
me(A("input", {
|
2345
|
+
"onUpdate:modelValue": C[1] || (C[1] = (B) => d.value = B),
|
2339
2346
|
class: "template-selector__searching-input",
|
2340
2347
|
type: "text",
|
2341
2348
|
placeholder: "Поиск шаблона"
|
2342
2349
|
}, null, 512), [
|
2343
|
-
[
|
2350
|
+
[mf, d.value]
|
2344
2351
|
])
|
2345
2352
|
]),
|
2346
|
-
A("div",
|
2347
|
-
_.value.length !== 0 ? (u(), c("ul",
|
2348
|
-
(u(!0), c(
|
2349
|
-
key:
|
2350
|
-
class:
|
2351
|
-
onClick: (
|
2353
|
+
A("div", qo, [
|
2354
|
+
_.value.length !== 0 ? (u(), c("ul", $o, [
|
2355
|
+
(u(!0), c($, null, Z(_.value, (B, G) => (u(), c("li", {
|
2356
|
+
key: G,
|
2357
|
+
class: z(["template-selector__item-template", { "template-selector__item-selected": B.isSelected }]),
|
2358
|
+
onClick: (ge) => y(B)
|
2352
2359
|
}, [
|
2353
2360
|
A("div", Ho, [
|
2354
|
-
A("p", Po, N(
|
2355
|
-
A("p", Wo, N(
|
2361
|
+
A("p", Po, N(B.title), 1),
|
2362
|
+
A("p", Wo, N(B.template), 1)
|
2356
2363
|
])
|
2357
2364
|
], 10, Fo))), 128))
|
2358
2365
|
])) : (u(), c("p", Ko, " Шаблоны отсутствуют "))
|
@@ -2371,17 +2378,17 @@ const Nc = (e) => {
|
|
2371
2378
|
onFileSelected: i
|
2372
2379
|
}, null, 8, ["type", "templateId"])) : b("", !0),
|
2373
2380
|
A("div", Zo, [
|
2374
|
-
(u(!0), c(
|
2375
|
-
typeof
|
2381
|
+
(u(!0), c($, null, Z(R.value, (B, G) => (u(), c($, { key: G }, [
|
2382
|
+
typeof B == "string" ? (u(), c("span", Xo, N(B), 1)) : typeof B == "object" ? (u(), F(vo, {
|
2376
2383
|
key: 1,
|
2377
|
-
index:
|
2378
|
-
value: k[
|
2379
|
-
"is-filled": !!k[
|
2380
|
-
onClick: (
|
2384
|
+
index: B.index,
|
2385
|
+
value: k[B.index] || "Заполнить",
|
2386
|
+
"is-filled": !!k[B.index],
|
2387
|
+
onClick: (ge) => E(B.index)
|
2381
2388
|
}, null, 8, ["index", "value", "is-filled", "onClick"])) : b("", !0)
|
2382
2389
|
], 64))), 128))
|
2383
2390
|
]),
|
2384
|
-
|
2391
|
+
C[3] || (C[3] = A("p", { class: "template-selector__preview-time" }, " 22:22 ", -1)),
|
2385
2392
|
l.value.buttons ? (u(), F(Eo, {
|
2386
2393
|
key: 1,
|
2387
2394
|
buttons: l.value.buttons,
|
@@ -2402,24 +2409,24 @@ const Nc = (e) => {
|
|
2402
2409
|
], 512),
|
2403
2410
|
Y(W, { name: "modal-fade" }, {
|
2404
2411
|
default: K(() => [
|
2405
|
-
|
2406
|
-
|
2412
|
+
S.value ? (u(), c("div", tA, [
|
2413
|
+
me(A("input", {
|
2407
2414
|
ref_key: "inputRef",
|
2408
2415
|
ref: w,
|
2409
|
-
"onUpdate:modelValue":
|
2416
|
+
"onUpdate:modelValue": C[2] || (C[2] = (B) => T.value = B),
|
2410
2417
|
type: "text",
|
2411
2418
|
placeholder: "Введите значение",
|
2412
|
-
autofocus:
|
2419
|
+
autofocus: S.value
|
2413
2420
|
}, null, 8, nA), [
|
2414
|
-
[
|
2421
|
+
[mf, T.value]
|
2415
2422
|
]),
|
2416
2423
|
A("button", {
|
2417
2424
|
class: "template-selector__modal-button-add",
|
2418
|
-
onClick:
|
2425
|
+
onClick: V
|
2419
2426
|
}, " Добавить "),
|
2420
2427
|
A("button", {
|
2421
2428
|
class: "template-selector__modal-button-cancel",
|
2422
|
-
onClick:
|
2429
|
+
onClick: x
|
2423
2430
|
}, " Отменить ")
|
2424
2431
|
])) : b("", !0)
|
2425
2432
|
]),
|
@@ -2433,7 +2440,7 @@ const Nc = (e) => {
|
|
2433
2440
|
])
|
2434
2441
|
]));
|
2435
2442
|
}
|
2436
|
-
}, iA = /* @__PURE__ */ Q(sA, [["__scopeId", "data-v-
|
2443
|
+
}, iA = /* @__PURE__ */ Q(sA, [["__scopeId", "data-v-30f6aaf6"]]), oA = {
|
2437
2444
|
__name: "ButtonWabaTemplateSelector",
|
2438
2445
|
props: {
|
2439
2446
|
wabaTemplates: {
|
@@ -2462,7 +2469,7 @@ const Nc = (e) => {
|
|
2462
2469
|
emits: ["sendWabaValues"],
|
2463
2470
|
setup(e, { emit: f }) {
|
2464
2471
|
const t = e;
|
2465
|
-
|
2472
|
+
dt("filebumpUrl", t.filebumpUrl);
|
2466
2473
|
const n = M(null), a = M(null), s = f, i = () => {
|
2467
2474
|
t.mode == "click" && t.state == "active" && (a.value.style.display == "none" ? a.value.style.display = "inherit" : a.value.style.display == "inherit" && (a.value.style.display = "none"));
|
2468
2475
|
}, o = () => {
|
@@ -2472,17 +2479,17 @@ const Nc = (e) => {
|
|
2472
2479
|
}, l = () => {
|
2473
2480
|
a.value.style.display = "none";
|
2474
2481
|
};
|
2475
|
-
|
2482
|
+
je(() => {
|
2476
2483
|
a.value.style.display = "none";
|
2477
2484
|
});
|
2478
2485
|
const g = (d) => {
|
2479
2486
|
s("sendWabaValues", d);
|
2480
2487
|
};
|
2481
|
-
return (d, m) => (u(), c(
|
2488
|
+
return (d, m) => (u(), c($, null, [
|
2482
2489
|
A("button", {
|
2483
2490
|
ref_key: "templateButton",
|
2484
2491
|
ref: n,
|
2485
|
-
class:
|
2492
|
+
class: z(["button-template", { "button-template-disabled": e.state == "disabled" }]),
|
2486
2493
|
onClick: i,
|
2487
2494
|
onMouseover: o,
|
2488
2495
|
onMouseout: r
|
@@ -2514,12 +2521,12 @@ const Nc = (e) => {
|
|
2514
2521
|
objects: "Objects",
|
2515
2522
|
symbols: "Symbols",
|
2516
2523
|
flags: "Flags"
|
2517
|
-
}, ia = "u",
|
2518
|
-
[
|
2524
|
+
}, ia = "u", pt = "n", Vf = "v", yf = "r", AA = {
|
2525
|
+
[pt]: ["grinning face", "grinning"],
|
2519
2526
|
[ia]: "1f600",
|
2520
|
-
[
|
2521
|
-
},
|
2522
|
-
|
2527
|
+
[yf]: "1f600"
|
2528
|
+
}, ut = "neutral", lA = "1f3fb", rA = "1f3fc", uA = "1f3fd", cA = "1f3fe", dA = "1f3ff", gA = [
|
2529
|
+
ut,
|
2523
2530
|
lA,
|
2524
2531
|
rA,
|
2525
2532
|
uA,
|
@@ -14525,13 +14532,13 @@ function jA() {
|
|
14525
14532
|
IDBCursor.prototype.continuePrimaryKey
|
14526
14533
|
]);
|
14527
14534
|
}
|
14528
|
-
const oa = /* @__PURE__ */ new WeakMap(), Bt = /* @__PURE__ */ new WeakMap(), Aa = /* @__PURE__ */ new WeakMap(),
|
14535
|
+
const oa = /* @__PURE__ */ new WeakMap(), Bt = /* @__PURE__ */ new WeakMap(), Aa = /* @__PURE__ */ new WeakMap(), jt = /* @__PURE__ */ new WeakMap(), Gt = /* @__PURE__ */ new WeakMap();
|
14529
14536
|
function EA(e) {
|
14530
14537
|
const f = new Promise((t, n) => {
|
14531
14538
|
const a = () => {
|
14532
14539
|
e.removeEventListener("success", s), e.removeEventListener("error", i);
|
14533
14540
|
}, s = () => {
|
14534
|
-
t(
|
14541
|
+
t(Se(e.result)), a();
|
14535
14542
|
}, i = () => {
|
14536
14543
|
n(e.error), a();
|
14537
14544
|
};
|
@@ -14567,7 +14574,7 @@ let Qt = {
|
|
14567
14574
|
if (f === "store")
|
14568
14575
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
14569
14576
|
}
|
14570
|
-
return
|
14577
|
+
return Se(e[f]);
|
14571
14578
|
},
|
14572
14579
|
set(e, f, t) {
|
14573
14580
|
return e[f] = t, !0;
|
@@ -14581,30 +14588,30 @@ function VA(e) {
|
|
14581
14588
|
}
|
14582
14589
|
function xA(e) {
|
14583
14590
|
return e === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(f, ...t) {
|
14584
|
-
const n = e.call(
|
14585
|
-
return Aa.set(n, f.sort ? f.sort() : [f]),
|
14591
|
+
const n = e.call(Et(this), f, ...t);
|
14592
|
+
return Aa.set(n, f.sort ? f.sort() : [f]), Se(n);
|
14586
14593
|
} : jA().includes(e) ? function(...f) {
|
14587
|
-
return e.apply(
|
14594
|
+
return e.apply(Et(this), f), Se(oa.get(this));
|
14588
14595
|
} : function(...f) {
|
14589
|
-
return
|
14596
|
+
return Se(e.apply(Et(this), f));
|
14590
14597
|
};
|
14591
14598
|
}
|
14592
14599
|
function SA(e) {
|
14593
14600
|
return typeof e == "function" ? xA(e) : (e instanceof IDBTransaction && TA(e), NA(e, DA()) ? new Proxy(e, Qt) : e);
|
14594
14601
|
}
|
14595
|
-
function
|
14602
|
+
function Se(e) {
|
14596
14603
|
if (e instanceof IDBRequest)
|
14597
14604
|
return EA(e);
|
14598
|
-
if (
|
14599
|
-
return
|
14605
|
+
if (jt.has(e))
|
14606
|
+
return jt.get(e);
|
14600
14607
|
const f = SA(e);
|
14601
|
-
return f !== e && (
|
14608
|
+
return f !== e && (jt.set(e, f), Gt.set(f, e)), f;
|
14602
14609
|
}
|
14603
|
-
const
|
14610
|
+
const Et = (e) => Gt.get(e);
|
14604
14611
|
function Zt(e, f, { blocked: t, upgrade: n, blocking: a, terminated: s } = {}) {
|
14605
|
-
const i = indexedDB.open(e, f), o =
|
14612
|
+
const i = indexedDB.open(e, f), o = Se(i);
|
14606
14613
|
return n && i.addEventListener("upgradeneeded", (r) => {
|
14607
|
-
n(
|
14614
|
+
n(Se(i.result), r.oldVersion, r.newVersion, Se(i.transaction), r);
|
14608
14615
|
}), t && i.addEventListener("blocked", (r) => t(
|
14609
14616
|
r.oldVersion,
|
14610
14617
|
r.newVersion,
|
@@ -14614,12 +14621,12 @@ function Zt(e, f, { blocked: t, upgrade: n, blocking: a, terminated: s } = {}) {
|
|
14614
14621
|
}).catch(() => {
|
14615
14622
|
}), o;
|
14616
14623
|
}
|
14617
|
-
const CA = ["get", "getKey", "getAll", "getAllKeys", "count"], zA = ["put", "add", "delete", "clear"],
|
14624
|
+
const CA = ["get", "getKey", "getAll", "getAllKeys", "count"], zA = ["put", "add", "delete", "clear"], Tt = /* @__PURE__ */ new Map();
|
14618
14625
|
function En(e, f) {
|
14619
14626
|
if (!(e instanceof IDBDatabase && !(f in e) && typeof f == "string"))
|
14620
14627
|
return;
|
14621
|
-
if (
|
14622
|
-
return
|
14628
|
+
if (Tt.get(f))
|
14629
|
+
return Tt.get(f);
|
14623
14630
|
const t = f.replace(/FromIndex$/, ""), n = f !== t, a = zA.includes(t);
|
14624
14631
|
if (!(t in (n ? IDBIndex : IDBObjectStore).prototype) || !(a || CA.includes(t)))
|
14625
14632
|
return;
|
@@ -14631,18 +14638,18 @@ function En(e, f) {
|
|
14631
14638
|
a && r.done
|
14632
14639
|
]))[0];
|
14633
14640
|
};
|
14634
|
-
return
|
14641
|
+
return Tt.set(f, s), s;
|
14635
14642
|
}
|
14636
14643
|
VA((e) => ({
|
14637
14644
|
...e,
|
14638
14645
|
get: (f, t, n) => En(f, t) || e.get(f, t, n),
|
14639
14646
|
has: (f, t) => !!En(f, t) || e.has(f, t)
|
14640
14647
|
}));
|
14641
|
-
const Xt = "EMJ",
|
14648
|
+
const Xt = "EMJ", Fe = "emojis", en = 3;
|
14642
14649
|
async function OA() {
|
14643
14650
|
(await Zt(Xt, en, {
|
14644
14651
|
upgrade(f, t) {
|
14645
|
-
f.objectStoreNames.contains(
|
14652
|
+
f.objectStoreNames.contains(Fe) || f.createObjectStore(Fe, {
|
14646
14653
|
keyPath: "id",
|
14647
14654
|
autoIncrement: !0
|
14648
14655
|
}).createIndex("id", "id", {
|
@@ -14666,14 +14673,14 @@ const LA = {
|
|
14666
14673
|
groupIcons: {}
|
14667
14674
|
};
|
14668
14675
|
async function UA() {
|
14669
|
-
return await (await Zt(Xt, en)).transaction(
|
14676
|
+
return await (await Zt(Xt, en)).transaction(Fe, "readonly").objectStore(Fe).getAll();
|
14670
14677
|
}
|
14671
14678
|
function BA() {
|
14672
|
-
const e =
|
14679
|
+
const e = qn({
|
14673
14680
|
search: "",
|
14674
14681
|
emoji: AA,
|
14675
14682
|
activeGroup: "",
|
14676
|
-
skinTone:
|
14683
|
+
skinTone: ut,
|
14677
14684
|
options: LA,
|
14678
14685
|
additionalGroups: {},
|
14679
14686
|
recent: [],
|
@@ -14721,13 +14728,13 @@ function BA() {
|
|
14721
14728
|
e.emoji = d;
|
14722
14729
|
}, i = (d) => {
|
14723
14730
|
e.activeGroup = d;
|
14724
|
-
}, o = (d =
|
14731
|
+
}, o = (d = ut) => {
|
14725
14732
|
e.skinTone = d;
|
14726
14733
|
}, r = (d) => {
|
14727
14734
|
e.options = Object.assign({}, e.options, d), f();
|
14728
14735
|
};
|
14729
14736
|
async function l() {
|
14730
|
-
(await Zt(Xt, en)).transaction(
|
14737
|
+
(await Zt(Xt, en)).transaction(Fe, "readwrite").objectStore(Fe).put({
|
14731
14738
|
id: 0,
|
14732
14739
|
value: JSON.stringify(e.recent)
|
14733
14740
|
});
|
@@ -14738,7 +14745,7 @@ function BA() {
|
|
14738
14745
|
const m = e.recent.findIndex((y) => y.u === d.u);
|
14739
14746
|
if (m > 0 && e.recent.splice(m, 1), m === 0)
|
14740
14747
|
return;
|
14741
|
-
const p = { u: d.u, n:
|
14748
|
+
const p = { u: d.u, n: $n(d.n) };
|
14742
14749
|
e.recent = [p, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), l();
|
14743
14750
|
};
|
14744
14751
|
return {
|
@@ -14751,15 +14758,15 @@ function BA() {
|
|
14751
14758
|
updateSelect: g
|
14752
14759
|
};
|
14753
14760
|
}
|
14754
|
-
var
|
14755
|
-
return e.concat([f + "-" +
|
14756
|
-
}, []), ra = /* @__PURE__ */ [].concat(
|
14757
|
-
return e.concat([f, f + "-" +
|
14758
|
-
}, []), YA = "beforeRead",
|
14761
|
+
var ae = "top", ce = "bottom", de = "right", se = "left", fn = "auto", _f = [ae, ce, de, se], He = "start", vf = "end", QA = "clippingParents", la = "viewport", nf = "popper", RA = "reference", Tn = /* @__PURE__ */ _f.reduce(function(e, f) {
|
14762
|
+
return e.concat([f + "-" + He, f + "-" + vf]);
|
14763
|
+
}, []), ra = /* @__PURE__ */ [].concat(_f, [fn]).reduce(function(e, f) {
|
14764
|
+
return e.concat([f, f + "-" + He, f + "-" + vf]);
|
14765
|
+
}, []), YA = "beforeRead", qA = "read", $A = "afterRead", FA = "beforeMain", HA = "main", PA = "afterMain", WA = "beforeWrite", KA = "write", JA = "afterWrite", GA = [YA, qA, $A, FA, HA, PA, WA, KA, JA];
|
14759
14766
|
function be(e) {
|
14760
14767
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
14761
14768
|
}
|
14762
|
-
function
|
14769
|
+
function he(e) {
|
14763
14770
|
if (e == null)
|
14764
14771
|
return window;
|
14765
14772
|
if (e.toString() !== "[object Window]") {
|
@@ -14768,18 +14775,18 @@ function pe(e) {
|
|
14768
14775
|
}
|
14769
14776
|
return e;
|
14770
14777
|
}
|
14771
|
-
function
|
14772
|
-
var f =
|
14778
|
+
function Pe(e) {
|
14779
|
+
var f = he(e).Element;
|
14773
14780
|
return e instanceof f || e instanceof Element;
|
14774
14781
|
}
|
14775
14782
|
function ue(e) {
|
14776
|
-
var f =
|
14783
|
+
var f = he(e).HTMLElement;
|
14777
14784
|
return e instanceof f || e instanceof HTMLElement;
|
14778
14785
|
}
|
14779
14786
|
function ua(e) {
|
14780
14787
|
if (typeof ShadowRoot > "u")
|
14781
14788
|
return !1;
|
14782
|
-
var f =
|
14789
|
+
var f = he(e).ShadowRoot;
|
14783
14790
|
return e instanceof f || e instanceof ShadowRoot;
|
14784
14791
|
}
|
14785
14792
|
function ZA(e) {
|
@@ -14827,13 +14834,13 @@ var el = {
|
|
14827
14834
|
function Me(e) {
|
14828
14835
|
return e.split("-")[0];
|
14829
14836
|
}
|
14830
|
-
var
|
14831
|
-
function
|
14837
|
+
var Qe = Math.max, ct = Math.min, We = Math.round;
|
14838
|
+
function Ke(e, f) {
|
14832
14839
|
f === void 0 && (f = !1);
|
14833
14840
|
var t = e.getBoundingClientRect(), n = 1, a = 1;
|
14834
14841
|
if (ue(e) && f) {
|
14835
14842
|
var s = e.offsetHeight, i = e.offsetWidth;
|
14836
|
-
i > 0 && (n =
|
14843
|
+
i > 0 && (n = We(t.width) / i || 1), s > 0 && (a = We(t.height) / s || 1);
|
14837
14844
|
}
|
14838
14845
|
return {
|
14839
14846
|
width: t.width / n,
|
@@ -14847,7 +14854,7 @@ function We(e, f) {
|
|
14847
14854
|
};
|
14848
14855
|
}
|
14849
14856
|
function tn(e) {
|
14850
|
-
var f =
|
14857
|
+
var f = Ke(e), t = e.offsetWidth, n = e.offsetHeight;
|
14851
14858
|
return Math.abs(f.width - t) <= 1 && (t = f.width), Math.abs(f.height - n) <= 1 && (n = f.height), {
|
14852
14859
|
x: e.offsetLeft,
|
14853
14860
|
y: e.offsetTop,
|
@@ -14870,16 +14877,16 @@ function ca(e, f) {
|
|
14870
14877
|
return !1;
|
14871
14878
|
}
|
14872
14879
|
function _e(e) {
|
14873
|
-
return
|
14880
|
+
return he(e).getComputedStyle(e);
|
14874
14881
|
}
|
14875
14882
|
function fl(e) {
|
14876
14883
|
return ["table", "td", "th"].indexOf(be(e)) >= 0;
|
14877
14884
|
}
|
14878
|
-
function
|
14879
|
-
return ((
|
14885
|
+
function Ce(e) {
|
14886
|
+
return ((Pe(e) ? e.ownerDocument : e.document) || window.document).documentElement;
|
14880
14887
|
}
|
14881
|
-
function
|
14882
|
-
return be(e) === "html" ? e : e.assignedSlot || e.parentNode || (ua(e) ? e.host : null) ||
|
14888
|
+
function ht(e) {
|
14889
|
+
return be(e) === "html" ? e : e.assignedSlot || e.parentNode || (ua(e) ? e.host : null) || Ce(e);
|
14883
14890
|
}
|
14884
14891
|
function Vn(e) {
|
14885
14892
|
return !ue(e) || _e(e).position === "fixed" ? null : e.offsetParent;
|
@@ -14891,7 +14898,7 @@ function tl(e) {
|
|
14891
14898
|
if (n.position === "fixed")
|
14892
14899
|
return null;
|
14893
14900
|
}
|
14894
|
-
for (var a =
|
14901
|
+
for (var a = ht(e); ue(a) && ["html", "body"].indexOf(be(a)) < 0; ) {
|
14895
14902
|
var s = _e(a);
|
14896
14903
|
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")
|
14897
14904
|
return a;
|
@@ -14899,19 +14906,19 @@ function tl(e) {
|
|
14899
14906
|
}
|
14900
14907
|
return null;
|
14901
14908
|
}
|
14902
|
-
function
|
14903
|
-
for (var f =
|
14909
|
+
function If(e) {
|
14910
|
+
for (var f = he(e), t = Vn(e); t && fl(t) && _e(t).position === "static"; )
|
14904
14911
|
t = Vn(t);
|
14905
14912
|
return t && (be(t) === "html" || be(t) === "body" && _e(t).position === "static") ? f : t || tl(e) || f;
|
14906
14913
|
}
|
14907
14914
|
function nn(e) {
|
14908
14915
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
14909
14916
|
}
|
14910
|
-
function
|
14911
|
-
return
|
14917
|
+
function df(e, f, t) {
|
14918
|
+
return Qe(e, ct(f, t));
|
14912
14919
|
}
|
14913
14920
|
function nl(e, f, t) {
|
14914
|
-
var n =
|
14921
|
+
var n = df(e, f, t);
|
14915
14922
|
return n > t ? t : n;
|
14916
14923
|
}
|
14917
14924
|
function da() {
|
@@ -14933,13 +14940,13 @@ function ma(e, f) {
|
|
14933
14940
|
var al = function(f, t) {
|
14934
14941
|
return f = typeof f == "function" ? f(Object.assign({}, t.rects, {
|
14935
14942
|
placement: t.placement
|
14936
|
-
})) : f, ga(typeof f != "number" ? f : ma(f,
|
14943
|
+
})) : f, ga(typeof f != "number" ? f : ma(f, _f));
|
14937
14944
|
};
|
14938
14945
|
function sl(e) {
|
14939
|
-
var f, t = e.state, n = e.name, a = e.options, s = t.elements.arrow, i = t.modifiersData.popperOffsets, o = Me(t.placement), r = nn(o), l = [
|
14946
|
+
var f, t = e.state, n = e.name, a = e.options, s = t.elements.arrow, i = t.modifiersData.popperOffsets, o = Me(t.placement), r = nn(o), l = [se, de].indexOf(o) >= 0, g = l ? "height" : "width";
|
14940
14947
|
if (!(!s || !i)) {
|
14941
|
-
var d = al(a.padding, t), m = tn(s), p = r === "y" ?
|
14942
|
-
t.modifiersData[n] = (f = {}, f[
|
14948
|
+
var d = al(a.padding, t), m = tn(s), p = r === "y" ? ae : se, y = r === "y" ? ce : de, v = t.rects.reference[g] + t.rects.reference[r] - i[r] - t.rects.popper[g], h = i[r] - t.rects.reference[r], _ = If(s), k = _ ? r === "y" ? _.clientHeight || 0 : _.clientWidth || 0 : 0, S = v / 2 - h / 2, w = d[p], D = k - m[g] - d[y], T = k / 2 - m[g] / 2 + S, E = df(w, T, D), x = r;
|
14949
|
+
t.modifiersData[n] = (f = {}, f[x] = E, f.centerOffset = E - T, f);
|
14943
14950
|
}
|
14944
14951
|
}
|
14945
14952
|
function il(e) {
|
@@ -14955,7 +14962,7 @@ var ol = {
|
|
14955
14962
|
requires: ["popperOffsets"],
|
14956
14963
|
requiresIfExists: ["preventOverflow"]
|
14957
14964
|
};
|
14958
|
-
function
|
14965
|
+
function Je(e) {
|
14959
14966
|
return e.split("-")[1];
|
14960
14967
|
}
|
14961
14968
|
var Al = {
|
@@ -14967,23 +14974,23 @@ var Al = {
|
|
14967
14974
|
function ll(e) {
|
14968
14975
|
var f = e.x, t = e.y, n = window, a = n.devicePixelRatio || 1;
|
14969
14976
|
return {
|
14970
|
-
x:
|
14971
|
-
y:
|
14977
|
+
x: We(f * a) / a || 0,
|
14978
|
+
y: We(t * a) / a || 0
|
14972
14979
|
};
|
14973
14980
|
}
|
14974
14981
|
function xn(e) {
|
14975
|
-
var f, t = e.popper, n = e.popperRect, a = e.placement, s = e.variation, i = e.offsets, o = e.position, r = e.gpuAcceleration, l = e.adaptive, g = e.roundOffsets, d = e.isFixed, m = g === !0 ? ll(i) : typeof g == "function" ? g(i) : i, p = m.x, y = p === void 0 ? 0 : p, v = m.y, h = v === void 0 ? 0 : v, _ = i.hasOwnProperty("x"), k = i.hasOwnProperty("y"),
|
14982
|
+
var f, t = e.popper, n = e.popperRect, a = e.placement, s = e.variation, i = e.offsets, o = e.position, r = e.gpuAcceleration, l = e.adaptive, g = e.roundOffsets, d = e.isFixed, m = g === !0 ? ll(i) : typeof g == "function" ? g(i) : i, p = m.x, y = p === void 0 ? 0 : p, v = m.y, h = v === void 0 ? 0 : v, _ = i.hasOwnProperty("x"), k = i.hasOwnProperty("y"), S = se, w = ae, D = window;
|
14976
14983
|
if (l) {
|
14977
|
-
var
|
14978
|
-
if (
|
14984
|
+
var T = If(t), E = "clientHeight", x = "clientWidth";
|
14985
|
+
if (T === he(t) && (T = Ce(t), _e(T).position !== "static" && o === "absolute" && (E = "scrollHeight", x = "scrollWidth")), T = T, a === ae || (a === se || a === de) && s === vf) {
|
14979
14986
|
w = ce;
|
14980
|
-
var
|
14981
|
-
h -=
|
14987
|
+
var V = d && D.visualViewport ? D.visualViewport.height : T[E];
|
14988
|
+
h -= V - n.height, h *= r ? 1 : -1;
|
14982
14989
|
}
|
14983
|
-
if (a ===
|
14984
|
-
|
14985
|
-
var
|
14986
|
-
y -=
|
14990
|
+
if (a === se || (a === ae || a === ce) && s === vf) {
|
14991
|
+
S = de;
|
14992
|
+
var L = d && D.visualViewport ? D.visualViewport.width : T[x];
|
14993
|
+
y -= L - n.width, y *= r ? 1 : -1;
|
14987
14994
|
}
|
14988
14995
|
}
|
14989
14996
|
var R = Object.assign({
|
@@ -14991,14 +14998,14 @@ function xn(e) {
|
|
14991
14998
|
}, l && Al);
|
14992
14999
|
if (r) {
|
14993
15000
|
var H;
|
14994
|
-
return Object.assign({}, R, (H = {}, H[w] = k ? "0" : "", H[
|
15001
|
+
return Object.assign({}, R, (H = {}, H[w] = k ? "0" : "", H[S] = _ ? "0" : "", H.transform = (D.devicePixelRatio || 1) <= 1 ? "translate(" + y + "px, " + h + "px)" : "translate3d(" + y + "px, " + h + "px, 0)", H));
|
14995
15002
|
}
|
14996
|
-
return Object.assign({}, R, (f = {}, f[w] = k ? h + "px" : "", f[
|
15003
|
+
return Object.assign({}, R, (f = {}, f[w] = k ? h + "px" : "", f[S] = _ ? y + "px" : "", f.transform = "", f));
|
14997
15004
|
}
|
14998
15005
|
function rl(e) {
|
14999
15006
|
var f = e.state, t = e.options, n = t.gpuAcceleration, a = n === void 0 ? !0 : n, s = t.adaptive, i = s === void 0 ? !0 : s, o = t.roundOffsets, r = o === void 0 ? !0 : o, l = {
|
15000
15007
|
placement: Me(f.placement),
|
15001
|
-
variation:
|
15008
|
+
variation: Je(f.placement),
|
15002
15009
|
popper: f.elements.popper,
|
15003
15010
|
popperRect: f.rects.popper,
|
15004
15011
|
gpuAcceleration: a,
|
@@ -15024,17 +15031,17 @@ var ul = {
|
|
15024
15031
|
phase: "beforeWrite",
|
15025
15032
|
fn: rl,
|
15026
15033
|
data: {}
|
15027
|
-
},
|
15034
|
+
}, xf = {
|
15028
15035
|
passive: !0
|
15029
15036
|
};
|
15030
15037
|
function cl(e) {
|
15031
|
-
var f = e.state, t = e.instance, n = e.options, a = n.scroll, s = a === void 0 ? !0 : a, i = n.resize, o = i === void 0 ? !0 : i, r =
|
15038
|
+
var f = e.state, t = e.instance, n = e.options, a = n.scroll, s = a === void 0 ? !0 : a, i = n.resize, o = i === void 0 ? !0 : i, r = he(f.elements.popper), l = [].concat(f.scrollParents.reference, f.scrollParents.popper);
|
15032
15039
|
return s && l.forEach(function(g) {
|
15033
|
-
g.addEventListener("scroll", t.update,
|
15034
|
-
}), o && r.addEventListener("resize", t.update,
|
15040
|
+
g.addEventListener("scroll", t.update, xf);
|
15041
|
+
}), o && r.addEventListener("resize", t.update, xf), function() {
|
15035
15042
|
s && l.forEach(function(g) {
|
15036
|
-
g.removeEventListener("scroll", t.update,
|
15037
|
-
}), o && r.removeEventListener("resize", t.update,
|
15043
|
+
g.removeEventListener("scroll", t.update, xf);
|
15044
|
+
}), o && r.removeEventListener("resize", t.update, xf);
|
15038
15045
|
};
|
15039
15046
|
}
|
15040
15047
|
var dl = {
|
@@ -15051,7 +15058,7 @@ var dl = {
|
|
15051
15058
|
bottom: "top",
|
15052
15059
|
top: "bottom"
|
15053
15060
|
};
|
15054
|
-
function
|
15061
|
+
function zf(e) {
|
15055
15062
|
return e.replace(/left|right|bottom|top/g, function(f) {
|
15056
15063
|
return gl[f];
|
15057
15064
|
});
|
@@ -15066,17 +15073,17 @@ function Sn(e) {
|
|
15066
15073
|
});
|
15067
15074
|
}
|
15068
15075
|
function an(e) {
|
15069
|
-
var f =
|
15076
|
+
var f = he(e), t = f.pageXOffset, n = f.pageYOffset;
|
15070
15077
|
return {
|
15071
15078
|
scrollLeft: t,
|
15072
15079
|
scrollTop: n
|
15073
15080
|
};
|
15074
15081
|
}
|
15075
15082
|
function sn(e) {
|
15076
|
-
return
|
15083
|
+
return Ke(Ce(e)).left + an(e).scrollLeft;
|
15077
15084
|
}
|
15078
15085
|
function pl(e) {
|
15079
|
-
var f =
|
15086
|
+
var f = he(e), t = Ce(e), n = f.visualViewport, a = t.clientWidth, s = t.clientHeight, i = 0, o = 0;
|
15080
15087
|
return n && (a = n.width, s = n.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (i = n.offsetLeft, o = n.offsetTop)), {
|
15081
15088
|
width: a,
|
15082
15089
|
height: s,
|
@@ -15085,8 +15092,8 @@ function pl(e) {
|
|
15085
15092
|
};
|
15086
15093
|
}
|
15087
15094
|
function hl(e) {
|
15088
|
-
var f, t =
|
15089
|
-
return _e(a || t).direction === "rtl" && (o +=
|
15095
|
+
var f, t = Ce(e), n = an(e), a = (f = e.ownerDocument) == null ? void 0 : f.body, s = Qe(t.scrollWidth, t.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), i = Qe(t.scrollHeight, t.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), o = -n.scrollLeft + sn(e), r = -n.scrollTop;
|
15096
|
+
return _e(a || t).direction === "rtl" && (o += Qe(t.clientWidth, a ? a.clientWidth : 0) - s), {
|
15090
15097
|
width: s,
|
15091
15098
|
height: i,
|
15092
15099
|
x: o,
|
@@ -15098,13 +15105,13 @@ function on(e) {
|
|
15098
15105
|
return /auto|scroll|overlay|hidden/.test(t + a + n);
|
15099
15106
|
}
|
15100
15107
|
function pa(e) {
|
15101
|
-
return ["html", "body", "#document"].indexOf(be(e)) >= 0 ? e.ownerDocument.body : ue(e) && on(e) ? e : pa(
|
15108
|
+
return ["html", "body", "#document"].indexOf(be(e)) >= 0 ? e.ownerDocument.body : ue(e) && on(e) ? e : pa(ht(e));
|
15102
15109
|
}
|
15103
|
-
function
|
15110
|
+
function gf(e, f) {
|
15104
15111
|
var t;
|
15105
15112
|
f === void 0 && (f = []);
|
15106
|
-
var n = pa(e), a = n === ((t = e.ownerDocument) == null ? void 0 : t.body), s =
|
15107
|
-
return a ? o : o.concat(
|
15113
|
+
var n = pa(e), a = n === ((t = e.ownerDocument) == null ? void 0 : t.body), s = he(n), i = a ? [s].concat(s.visualViewport || [], on(n) ? n : []) : n, o = f.concat(i);
|
15114
|
+
return a ? o : o.concat(gf(ht(i)));
|
15108
15115
|
}
|
15109
15116
|
function Rt(e) {
|
15110
15117
|
return Object.assign({}, e, {
|
@@ -15115,29 +15122,29 @@ function Rt(e) {
|
|
15115
15122
|
});
|
15116
15123
|
}
|
15117
15124
|
function yl(e) {
|
15118
|
-
var f =
|
15125
|
+
var f = Ke(e);
|
15119
15126
|
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;
|
15120
15127
|
}
|
15121
15128
|
function Cn(e, f) {
|
15122
|
-
return f === la ? Rt(pl(e)) :
|
15129
|
+
return f === la ? Rt(pl(e)) : Pe(f) ? yl(f) : Rt(hl(Ce(e)));
|
15123
15130
|
}
|
15124
15131
|
function vl(e) {
|
15125
|
-
var f =
|
15126
|
-
return
|
15127
|
-
return
|
15132
|
+
var f = gf(ht(e)), t = ["absolute", "fixed"].indexOf(_e(e).position) >= 0, n = t && ue(e) ? If(e) : e;
|
15133
|
+
return Pe(n) ? f.filter(function(a) {
|
15134
|
+
return Pe(a) && ca(a, n) && be(a) !== "body" && (t ? _e(a).position !== "static" : !0);
|
15128
15135
|
}) : [];
|
15129
15136
|
}
|
15130
15137
|
function Ml(e, f, t) {
|
15131
15138
|
var n = f === "clippingParents" ? vl(e) : [].concat(f), a = [].concat(n, [t]), s = a[0], i = a.reduce(function(o, r) {
|
15132
15139
|
var l = Cn(e, r);
|
15133
|
-
return o.top =
|
15140
|
+
return o.top = Qe(l.top, o.top), o.right = ct(l.right, o.right), o.bottom = ct(l.bottom, o.bottom), o.left = Qe(l.left, o.left), o;
|
15134
15141
|
}, Cn(e, s));
|
15135
15142
|
return i.width = i.right - i.left, i.height = i.bottom - i.top, i.x = i.left, i.y = i.top, i;
|
15136
15143
|
}
|
15137
15144
|
function ha(e) {
|
15138
|
-
var f = e.reference, t = e.element, n = e.placement, a = n ? Me(n) : null, s = n ?
|
15145
|
+
var f = e.reference, t = e.element, n = e.placement, a = n ? Me(n) : null, s = n ? Je(n) : null, i = f.x + f.width / 2 - t.width / 2, o = f.y + f.height / 2 - t.height / 2, r;
|
15139
15146
|
switch (a) {
|
15140
|
-
case
|
15147
|
+
case ae:
|
15141
15148
|
r = {
|
15142
15149
|
x: i,
|
15143
15150
|
y: f.y - t.height
|
@@ -15155,7 +15162,7 @@ function ha(e) {
|
|
15155
15162
|
y: o
|
15156
15163
|
};
|
15157
15164
|
break;
|
15158
|
-
case
|
15165
|
+
case se:
|
15159
15166
|
r = {
|
15160
15167
|
x: f.x - t.width,
|
15161
15168
|
y: o
|
@@ -15171,48 +15178,48 @@ function ha(e) {
|
|
15171
15178
|
if (l != null) {
|
15172
15179
|
var g = l === "y" ? "height" : "width";
|
15173
15180
|
switch (s) {
|
15174
|
-
case
|
15181
|
+
case He:
|
15175
15182
|
r[l] = r[l] - (f[g] / 2 - t[g] / 2);
|
15176
15183
|
break;
|
15177
|
-
case
|
15184
|
+
case vf:
|
15178
15185
|
r[l] = r[l] + (f[g] / 2 - t[g] / 2);
|
15179
15186
|
break;
|
15180
15187
|
}
|
15181
15188
|
}
|
15182
15189
|
return r;
|
15183
15190
|
}
|
15184
|
-
function
|
15191
|
+
function Mf(e, f) {
|
15185
15192
|
f === void 0 && (f = {});
|
15186
|
-
var t = f, n = t.placement, a = n === void 0 ? e.placement : n, s = t.boundary, i = s === void 0 ? QA : s, o = t.rootBoundary, r = o === void 0 ? la : o, l = t.elementContext, g = l === void 0 ?
|
15193
|
+
var t = f, n = t.placement, a = n === void 0 ? e.placement : n, s = t.boundary, i = s === void 0 ? QA : s, o = t.rootBoundary, r = o === void 0 ? la : o, l = t.elementContext, g = l === void 0 ? nf : l, d = t.altBoundary, m = d === void 0 ? !1 : d, p = t.padding, y = p === void 0 ? 0 : p, v = ga(typeof y != "number" ? y : ma(y, _f)), h = g === nf ? RA : nf, _ = e.rects.popper, k = e.elements[m ? h : g], S = Ml(Pe(k) ? k : k.contextElement || Ce(e.elements.popper), i, r), w = Ke(e.elements.reference), D = ha({
|
15187
15194
|
reference: w,
|
15188
15195
|
element: _,
|
15189
15196
|
strategy: "absolute",
|
15190
15197
|
placement: a
|
15191
|
-
}),
|
15192
|
-
top:
|
15193
|
-
bottom:
|
15194
|
-
left:
|
15195
|
-
right:
|
15196
|
-
},
|
15197
|
-
if (g ===
|
15198
|
-
var
|
15199
|
-
Object.keys(
|
15200
|
-
var H = [de, ce].indexOf(R) >= 0 ? 1 : -1, fe = [
|
15201
|
-
|
15198
|
+
}), T = Rt(Object.assign({}, _, D)), E = g === nf ? T : w, x = {
|
15199
|
+
top: S.top - E.top + v.top,
|
15200
|
+
bottom: E.bottom - S.bottom + v.bottom,
|
15201
|
+
left: S.left - E.left + v.left,
|
15202
|
+
right: E.right - S.right + v.right
|
15203
|
+
}, V = e.modifiersData.offset;
|
15204
|
+
if (g === nf && V) {
|
15205
|
+
var L = V[a];
|
15206
|
+
Object.keys(x).forEach(function(R) {
|
15207
|
+
var H = [de, ce].indexOf(R) >= 0 ? 1 : -1, fe = [ae, ce].indexOf(R) >= 0 ? "y" : "x";
|
15208
|
+
x[R] += L[fe] * H;
|
15202
15209
|
});
|
15203
15210
|
}
|
15204
|
-
return
|
15211
|
+
return x;
|
15205
15212
|
}
|
15206
15213
|
function bl(e, f) {
|
15207
15214
|
f === void 0 && (f = {});
|
15208
|
-
var t = f, n = t.placement, a = t.boundary, s = t.rootBoundary, i = t.padding, o = t.flipVariations, r = t.allowedAutoPlacements, l = r === void 0 ? ra : r, g =
|
15209
|
-
return
|
15210
|
-
}) :
|
15215
|
+
var t = f, n = t.placement, a = t.boundary, s = t.rootBoundary, i = t.padding, o = t.flipVariations, r = t.allowedAutoPlacements, l = r === void 0 ? ra : r, g = Je(n), d = g ? o ? Tn : Tn.filter(function(y) {
|
15216
|
+
return Je(y) === g;
|
15217
|
+
}) : _f, m = d.filter(function(y) {
|
15211
15218
|
return l.indexOf(y) >= 0;
|
15212
15219
|
});
|
15213
15220
|
m.length === 0 && (m = d);
|
15214
15221
|
var p = m.reduce(function(y, v) {
|
15215
|
-
return y[v] =
|
15222
|
+
return y[v] = Mf(e, {
|
15216
15223
|
placement: v,
|
15217
15224
|
boundary: a,
|
15218
15225
|
rootBoundary: s,
|
@@ -15226,56 +15233,56 @@ function bl(e, f) {
|
|
15226
15233
|
function _l(e) {
|
15227
15234
|
if (Me(e) === fn)
|
15228
15235
|
return [];
|
15229
|
-
var f =
|
15236
|
+
var f = zf(e);
|
15230
15237
|
return [Sn(e), f, Sn(f)];
|
15231
15238
|
}
|
15232
15239
|
function Il(e) {
|
15233
15240
|
var f = e.state, t = e.options, n = e.name;
|
15234
15241
|
if (!f.modifiersData[n]._skip) {
|
15235
|
-
for (var a = t.mainAxis, s = a === void 0 ? !0 : a, i = t.altAxis, o = i === void 0 ? !0 : i, r = t.fallbackPlacements, l = t.padding, g = t.boundary, d = t.rootBoundary, m = t.altBoundary, p = t.flipVariations, y = p === void 0 ? !0 : p, v = t.allowedAutoPlacements, h = f.options.placement, _ = Me(h), k = _ === h,
|
15236
|
-
return
|
15237
|
-
placement:
|
15242
|
+
for (var a = t.mainAxis, s = a === void 0 ? !0 : a, i = t.altAxis, o = i === void 0 ? !0 : i, r = t.fallbackPlacements, l = t.padding, g = t.boundary, d = t.rootBoundary, m = t.altBoundary, p = t.flipVariations, y = p === void 0 ? !0 : p, v = t.allowedAutoPlacements, h = f.options.placement, _ = Me(h), k = _ === h, S = r || (k || !y ? [zf(h)] : _l(h)), w = [h].concat(S).reduce(function(Re, Ee) {
|
15243
|
+
return Re.concat(Me(Ee) === fn ? bl(f, {
|
15244
|
+
placement: Ee,
|
15238
15245
|
boundary: g,
|
15239
15246
|
rootBoundary: d,
|
15240
15247
|
padding: l,
|
15241
15248
|
flipVariations: y,
|
15242
15249
|
allowedAutoPlacements: v
|
15243
|
-
}) :
|
15244
|
-
}, []), D = f.rects.reference,
|
15245
|
-
var R = w[
|
15250
|
+
}) : Ee);
|
15251
|
+
}, []), D = f.rects.reference, T = f.rects.popper, E = /* @__PURE__ */ new Map(), x = !0, V = w[0], L = 0; L < w.length; L++) {
|
15252
|
+
var R = w[L], H = Me(R), fe = Je(R) === He, Ae = [ae, ce].indexOf(H) >= 0, ie = Ae ? "width" : "height", j = Mf(f, {
|
15246
15253
|
placement: R,
|
15247
15254
|
boundary: g,
|
15248
15255
|
rootBoundary: d,
|
15249
15256
|
altBoundary: m,
|
15250
15257
|
padding: l
|
15251
|
-
}), C = Ae ? fe ? de :
|
15252
|
-
D[
|
15253
|
-
var
|
15254
|
-
if (s &&
|
15255
|
-
return
|
15258
|
+
}), C = Ae ? fe ? de : se : fe ? ce : ae;
|
15259
|
+
D[ie] > T[ie] && (C = zf(C));
|
15260
|
+
var B = zf(C), G = [];
|
15261
|
+
if (s && G.push(j[H] <= 0), o && G.push(j[C] <= 0, j[B] <= 0), G.every(function(Re) {
|
15262
|
+
return Re;
|
15256
15263
|
})) {
|
15257
|
-
|
15264
|
+
V = R, x = !1;
|
15258
15265
|
break;
|
15259
15266
|
}
|
15260
|
-
|
15267
|
+
E.set(R, G);
|
15261
15268
|
}
|
15262
|
-
if (
|
15263
|
-
for (var
|
15264
|
-
var
|
15265
|
-
var
|
15266
|
-
if (
|
15267
|
-
return
|
15268
|
-
return
|
15269
|
+
if (x)
|
15270
|
+
for (var ge = y ? 3 : 1, Ie = function(Ee) {
|
15271
|
+
var ff = w.find(function(Nf) {
|
15272
|
+
var Oe = E.get(Nf);
|
15273
|
+
if (Oe)
|
15274
|
+
return Oe.slice(0, Ee).every(function(yt) {
|
15275
|
+
return yt;
|
15269
15276
|
});
|
15270
15277
|
});
|
15271
|
-
if (
|
15272
|
-
return
|
15273
|
-
},
|
15274
|
-
var
|
15275
|
-
if (
|
15278
|
+
if (ff)
|
15279
|
+
return V = ff, "break";
|
15280
|
+
}, ef = ge; ef > 0; ef--) {
|
15281
|
+
var kf = Ie(ef);
|
15282
|
+
if (kf === "break")
|
15276
15283
|
break;
|
15277
15284
|
}
|
15278
|
-
f.placement !==
|
15285
|
+
f.placement !== V && (f.modifiersData[n]._skip = !0, f.placement = V, f.reset = !0);
|
15279
15286
|
}
|
15280
15287
|
}
|
15281
15288
|
var wl = {
|
@@ -15300,14 +15307,14 @@ function zn(e, f, t) {
|
|
15300
15307
|
};
|
15301
15308
|
}
|
15302
15309
|
function On(e) {
|
15303
|
-
return [
|
15310
|
+
return [ae, de, ce, se].some(function(f) {
|
15304
15311
|
return e[f] >= 0;
|
15305
15312
|
});
|
15306
15313
|
}
|
15307
15314
|
function kl(e) {
|
15308
|
-
var f = e.state, t = e.name, n = f.rects.reference, a = f.rects.popper, s = f.modifiersData.preventOverflow, i =
|
15315
|
+
var f = e.state, t = e.name, n = f.rects.reference, a = f.rects.popper, s = f.modifiersData.preventOverflow, i = Mf(f, {
|
15309
15316
|
elementContext: "reference"
|
15310
|
-
}), o =
|
15317
|
+
}), o = Mf(f, {
|
15311
15318
|
altBoundary: !0
|
15312
15319
|
}), r = zn(i, n), l = zn(o, a, s), g = On(r), d = On(l);
|
15313
15320
|
f.modifiersData[t] = {
|
@@ -15328,10 +15335,10 @@ var Nl = {
|
|
15328
15335
|
fn: kl
|
15329
15336
|
};
|
15330
15337
|
function Dl(e, f, t) {
|
15331
|
-
var n = Me(e), a = [
|
15338
|
+
var n = Me(e), a = [se, ae].indexOf(n) >= 0 ? -1 : 1, s = typeof t == "function" ? t(Object.assign({}, f, {
|
15332
15339
|
placement: e
|
15333
15340
|
})) : t, i = s[0], o = s[1];
|
15334
|
-
return i = i || 0, o = (o || 0) * a, [
|
15341
|
+
return i = i || 0, o = (o || 0) * a, [se, de].indexOf(n) >= 0 ? {
|
15335
15342
|
x: o,
|
15336
15343
|
y: i
|
15337
15344
|
} : {
|
@@ -15372,34 +15379,34 @@ function xl(e) {
|
|
15372
15379
|
return e === "x" ? "y" : "x";
|
15373
15380
|
}
|
15374
15381
|
function Sl(e) {
|
15375
|
-
var f = e.state, t = e.options, n = e.name, a = t.mainAxis, s = a === void 0 ? !0 : a, i = t.altAxis, o = i === void 0 ? !1 : i, r = t.boundary, l = t.rootBoundary, g = t.altBoundary, d = t.padding, m = t.tether, p = m === void 0 ? !0 : m, y = t.tetherOffset, v = y === void 0 ? 0 : y, h =
|
15382
|
+
var f = e.state, t = e.options, n = e.name, a = t.mainAxis, s = a === void 0 ? !0 : a, i = t.altAxis, o = i === void 0 ? !1 : i, r = t.boundary, l = t.rootBoundary, g = t.altBoundary, d = t.padding, m = t.tether, p = m === void 0 ? !0 : m, y = t.tetherOffset, v = y === void 0 ? 0 : y, h = Mf(f, {
|
15376
15383
|
boundary: r,
|
15377
15384
|
rootBoundary: l,
|
15378
15385
|
padding: d,
|
15379
15386
|
altBoundary: g
|
15380
|
-
}), _ = Me(f.placement), k =
|
15387
|
+
}), _ = Me(f.placement), k = Je(f.placement), S = !k, w = nn(_), D = xl(w), T = f.modifiersData.popperOffsets, E = f.rects.reference, x = f.rects.popper, V = typeof v == "function" ? v(Object.assign({}, f.rects, {
|
15381
15388
|
placement: f.placement
|
15382
|
-
})) : v,
|
15383
|
-
mainAxis:
|
15384
|
-
altAxis:
|
15389
|
+
})) : v, L = typeof V == "number" ? {
|
15390
|
+
mainAxis: V,
|
15391
|
+
altAxis: V
|
15385
15392
|
} : Object.assign({
|
15386
15393
|
mainAxis: 0,
|
15387
15394
|
altAxis: 0
|
15388
|
-
},
|
15395
|
+
}, V), R = f.modifiersData.offset ? f.modifiersData.offset[f.placement] : null, H = {
|
15389
15396
|
x: 0,
|
15390
15397
|
y: 0
|
15391
15398
|
};
|
15392
|
-
if (
|
15399
|
+
if (T) {
|
15393
15400
|
if (s) {
|
15394
|
-
var fe, Ae = w === "y" ?
|
15401
|
+
var fe, Ae = w === "y" ? ae : se, ie = w === "y" ? ce : de, j = w === "y" ? "height" : "width", C = T[w], B = C + h[Ae], G = C - h[ie], ge = p ? -x[j] / 2 : 0, Ie = k === He ? E[j] : x[j], ef = k === He ? -x[j] : -E[j], kf = f.elements.arrow, Re = p && kf ? tn(kf) : {
|
15395
15402
|
width: 0,
|
15396
15403
|
height: 0
|
15397
|
-
},
|
15398
|
-
|
15404
|
+
}, Ee = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : da(), ff = Ee[Ae], Nf = Ee[ie], Oe = df(0, E[j], Re[j]), yt = S ? E[j] / 2 - ge - Oe - ff - L.mainAxis : Ie - Oe - ff - L.mainAxis, ba = S ? -E[j] / 2 + ge + Oe + Nf + L.mainAxis : ef + Oe + Nf + L.mainAxis, vt = f.elements.arrow && If(f.elements.arrow), _a = vt ? w === "y" ? vt.clientTop || 0 : vt.clientLeft || 0 : 0, ln = (fe = R == null ? void 0 : R[w]) != null ? fe : 0, Ia = C + yt - ln - _a, wa = C + ba - ln, rn = df(p ? ct(B, Ia) : B, C, p ? Qe(G, wa) : G);
|
15405
|
+
T[w] = rn, H[w] = rn - C;
|
15399
15406
|
}
|
15400
15407
|
if (o) {
|
15401
|
-
var un, ka = w === "x" ?
|
15402
|
-
|
15408
|
+
var un, ka = w === "x" ? ae : se, Na = w === "x" ? ce : de, Le = T[D], Df = D === "y" ? "height" : "width", cn = Le + h[ka], dn = Le - h[Na], Mt = [ae, se].indexOf(_) !== -1, gn = (un = R == null ? void 0 : R[D]) != null ? un : 0, mn = Mt ? cn : Le - E[Df] - x[Df] - gn + L.altAxis, pn = Mt ? Le + E[Df] + x[Df] - gn - L.altAxis : dn, hn = p && Mt ? nl(mn, Le, pn) : df(p ? mn : cn, Le, p ? pn : dn);
|
15409
|
+
T[D] = hn, H[D] = hn - Le;
|
15403
15410
|
}
|
15404
15411
|
f.modifiersData[n] = H;
|
15405
15412
|
}
|
@@ -15418,22 +15425,22 @@ function zl(e) {
|
|
15418
15425
|
};
|
15419
15426
|
}
|
15420
15427
|
function Ol(e) {
|
15421
|
-
return e ===
|
15428
|
+
return e === he(e) || !ue(e) ? an(e) : zl(e);
|
15422
15429
|
}
|
15423
15430
|
function Ll(e) {
|
15424
|
-
var f = e.getBoundingClientRect(), t =
|
15431
|
+
var f = e.getBoundingClientRect(), t = We(f.width) / e.offsetWidth || 1, n = We(f.height) / e.offsetHeight || 1;
|
15425
15432
|
return t !== 1 || n !== 1;
|
15426
15433
|
}
|
15427
15434
|
function Ul(e, f, t) {
|
15428
15435
|
t === void 0 && (t = !1);
|
15429
|
-
var n = ue(f), a = ue(f) && Ll(f), s =
|
15436
|
+
var n = ue(f), a = ue(f) && Ll(f), s = Ce(f), i = Ke(e, a), o = {
|
15430
15437
|
scrollLeft: 0,
|
15431
15438
|
scrollTop: 0
|
15432
15439
|
}, r = {
|
15433
15440
|
x: 0,
|
15434
15441
|
y: 0
|
15435
15442
|
};
|
15436
|
-
return (n || !n && !t) && ((be(f) !== "body" || on(s)) && (o = Ol(f)), ue(f) ? (r =
|
15443
|
+
return (n || !n && !t) && ((be(f) !== "body" || on(s)) && (o = Ol(f)), ue(f) ? (r = Ke(f, !0), r.x += f.clientLeft, r.y += f.clientTop) : s && (r.x = sn(s))), {
|
15437
15444
|
x: i.left + o.scrollLeft - r.x,
|
15438
15445
|
y: i.top + o.scrollTop - r.y,
|
15439
15446
|
width: i.width,
|
@@ -15501,7 +15508,7 @@ function Un() {
|
|
15501
15508
|
return !(n && typeof n.getBoundingClientRect == "function");
|
15502
15509
|
});
|
15503
15510
|
}
|
15504
|
-
function
|
15511
|
+
function ql(e) {
|
15505
15512
|
e === void 0 && (e = {});
|
15506
15513
|
var f = e, t = f.defaultModifiers, n = t === void 0 ? [] : t, a = f.defaultOptions, s = a === void 0 ? Ln : a;
|
15507
15514
|
return function(o, r, l) {
|
@@ -15522,34 +15529,34 @@ function $l(e) {
|
|
15522
15529
|
setOptions: function(_) {
|
15523
15530
|
var k = typeof _ == "function" ? _(g.options) : _;
|
15524
15531
|
v(), g.options = Object.assign({}, s, g.options, k), g.scrollParents = {
|
15525
|
-
reference:
|
15526
|
-
popper:
|
15532
|
+
reference: Pe(o) ? gf(o) : o.contextElement ? gf(o.contextElement) : [],
|
15533
|
+
popper: gf(r)
|
15527
15534
|
};
|
15528
|
-
var
|
15529
|
-
return g.orderedModifiers =
|
15535
|
+
var S = Ql(Yl([].concat(n, g.options.modifiers)));
|
15536
|
+
return g.orderedModifiers = S.filter(function(w) {
|
15530
15537
|
return w.enabled;
|
15531
15538
|
}), y(), p.update();
|
15532
15539
|
},
|
15533
15540
|
forceUpdate: function() {
|
15534
15541
|
if (!m) {
|
15535
|
-
var _ = g.elements, k = _.reference,
|
15536
|
-
if (Un(k,
|
15542
|
+
var _ = g.elements, k = _.reference, S = _.popper;
|
15543
|
+
if (Un(k, S)) {
|
15537
15544
|
g.rects = {
|
15538
|
-
reference: Ul(k,
|
15539
|
-
popper: tn(
|
15540
|
-
}, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function(
|
15541
|
-
return g.modifiersData[
|
15545
|
+
reference: Ul(k, If(S), g.options.strategy === "fixed"),
|
15546
|
+
popper: tn(S)
|
15547
|
+
}, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function(L) {
|
15548
|
+
return g.modifiersData[L.name] = Object.assign({}, L.data);
|
15542
15549
|
});
|
15543
15550
|
for (var w = 0; w < g.orderedModifiers.length; w++) {
|
15544
15551
|
if (g.reset === !0) {
|
15545
15552
|
g.reset = !1, w = -1;
|
15546
15553
|
continue;
|
15547
15554
|
}
|
15548
|
-
var D = g.orderedModifiers[w],
|
15549
|
-
typeof
|
15555
|
+
var D = g.orderedModifiers[w], T = D.fn, E = D.options, x = E === void 0 ? {} : E, V = D.name;
|
15556
|
+
typeof T == "function" && (g = T({
|
15550
15557
|
state: g,
|
15551
|
-
options:
|
15552
|
-
name:
|
15558
|
+
options: x,
|
15559
|
+
name: V,
|
15553
15560
|
instance: p
|
15554
15561
|
}) || g);
|
15555
15562
|
}
|
@@ -15572,16 +15579,16 @@ function $l(e) {
|
|
15572
15579
|
});
|
15573
15580
|
function y() {
|
15574
15581
|
g.orderedModifiers.forEach(function(h) {
|
15575
|
-
var _ = h.name, k = h.options,
|
15582
|
+
var _ = h.name, k = h.options, S = k === void 0 ? {} : k, w = h.effect;
|
15576
15583
|
if (typeof w == "function") {
|
15577
15584
|
var D = w({
|
15578
15585
|
state: g,
|
15579
15586
|
name: _,
|
15580
15587
|
instance: p,
|
15581
|
-
options:
|
15582
|
-
}),
|
15588
|
+
options: S
|
15589
|
+
}), T = function() {
|
15583
15590
|
};
|
15584
|
-
d.push(D ||
|
15591
|
+
d.push(D || T);
|
15585
15592
|
}
|
15586
15593
|
});
|
15587
15594
|
}
|
@@ -15593,10 +15600,10 @@ function $l(e) {
|
|
15593
15600
|
return p;
|
15594
15601
|
};
|
15595
15602
|
}
|
15596
|
-
var
|
15597
|
-
defaultModifiers:
|
15603
|
+
var $l = [dl, Vl, ul, el, El, wl, Cl, ol, Nl], Fl = /* @__PURE__ */ ql({
|
15604
|
+
defaultModifiers: $l
|
15598
15605
|
}), ya = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
|
15599
|
-
function
|
15606
|
+
function Of(e) {
|
15600
15607
|
return e.split("-").map((f) => parseInt(f, 16)).map((f) => String.fromCodePoint(f)).join("");
|
15601
15608
|
}
|
15602
15609
|
function Hl(e, f, t, n = []) {
|
@@ -15607,17 +15614,17 @@ function Hl(e, f, t, n = []) {
|
|
15607
15614
|
const i = [];
|
15608
15615
|
e[s].forEach((o) => {
|
15609
15616
|
var r;
|
15610
|
-
if (o[
|
15617
|
+
if (o[pt][0].includes(f.toLocaleLowerCase())) {
|
15611
15618
|
let l = o[ia];
|
15612
|
-
if (t !==
|
15613
|
-
const g = ((r = o[
|
15619
|
+
if (t !== ut && Array.isArray(o[Vf])) {
|
15620
|
+
const g = ((r = o[Vf]) == null ? void 0 : r.findIndex(
|
15614
15621
|
(d) => d.includes(t)
|
15615
15622
|
)) || -1;
|
15616
|
-
g !== -1 && o[
|
15623
|
+
g !== -1 && o[Vf] && (l = o[Vf][g]);
|
15617
15624
|
}
|
15618
15625
|
return i.push({
|
15619
15626
|
...o,
|
15620
|
-
[
|
15627
|
+
[yf]: l
|
15621
15628
|
});
|
15622
15629
|
}
|
15623
15630
|
}), i.length && (a[s] = i);
|
@@ -15633,7 +15640,7 @@ function Ma(e) {
|
|
15633
15640
|
(f, t, n) => t ? t.toUpperCase() : " " + n.toUpperCase()
|
15634
15641
|
);
|
15635
15642
|
}
|
15636
|
-
var
|
15643
|
+
var wf = (e, f) => {
|
15637
15644
|
const t = e.__vccOpts || e;
|
15638
15645
|
for (const [n, a] of f)
|
15639
15646
|
t[n] = a;
|
@@ -15645,12 +15652,12 @@ const Pl = J({
|
|
15645
15652
|
select: (e) => !0
|
15646
15653
|
},
|
15647
15654
|
setup() {
|
15648
|
-
const { state: e, updateEmoji: f, updateSelect: t } =
|
15655
|
+
const { state: e, updateEmoji: f, updateSelect: t } = pe("store"), n = M(null), a = q(() => Hl(
|
15649
15656
|
e.emojis,
|
15650
15657
|
e.search,
|
15651
15658
|
e.skinTone,
|
15652
15659
|
e.options.disabledGroups
|
15653
|
-
)), s = Va(), i =
|
15660
|
+
)), s = Va(), i = q(() => !e.options.hideGroupNames), o = q(() => !e.options.disableStickyGroupNames), r = $n(e.options.groupNames), l = e.orderedGroupKeys;
|
15654
15661
|
e.options.additionalGroups && Object.keys(e.options.additionalGroups).map((y) => {
|
15655
15662
|
e.options.groupNames[y] ? r[y] = e.options.groupNames[y] : r[y] = Ma(y);
|
15656
15663
|
});
|
@@ -15662,13 +15669,13 @@ const Pl = J({
|
|
15662
15669
|
t(y), s == null || s.emit("select", {
|
15663
15670
|
...y,
|
15664
15671
|
t: e.skinTone,
|
15665
|
-
i:
|
15672
|
+
i: Of(y.r)
|
15666
15673
|
});
|
15667
15674
|
}
|
15668
15675
|
function p(y, v) {
|
15669
15676
|
var h;
|
15670
15677
|
const _ = (h = y == null ? void 0 : y.target) == null ? void 0 : h.closest("button");
|
15671
|
-
_ && (_.innerHTML = `<span>${
|
15678
|
+
_ && (_.innerHTML = `<span>${Of(v)}</span>`);
|
15672
15679
|
}
|
15673
15680
|
return te(
|
15674
15681
|
() => e.activeGroup,
|
@@ -15686,9 +15693,9 @@ const Pl = J({
|
|
15686
15693
|
handleError: p,
|
15687
15694
|
handleMouseEnter: d,
|
15688
15695
|
native: e.options.native,
|
15689
|
-
unicodeToEmoji:
|
15690
|
-
EMOJI_RESULT_KEY:
|
15691
|
-
EMOJI_NAME_KEY:
|
15696
|
+
unicodeToEmoji: Of,
|
15697
|
+
EMOJI_RESULT_KEY: yf,
|
15698
|
+
EMOJI_NAME_KEY: pt,
|
15692
15699
|
hasGroupNames: i,
|
15693
15700
|
isSticky: o,
|
15694
15701
|
platform: g,
|
@@ -15704,21 +15711,21 @@ function f1(e, f, t, n, a, s) {
|
|
15704
15711
|
return u(), c("div", Wl, [
|
15705
15712
|
A("div", {
|
15706
15713
|
ref: "bodyInner",
|
15707
|
-
class:
|
15714
|
+
class: z([e.platform, "v3-body-inner"])
|
15708
15715
|
}, [
|
15709
|
-
e.orderedKeys.length ? (u(!0), c(
|
15716
|
+
e.orderedKeys.length ? (u(!0), c($, { key: 0 }, Z(e.orderedKeys, (i) => (u(), c("div", {
|
15710
15717
|
id: i,
|
15711
15718
|
key: i,
|
15712
15719
|
class: "v3-group"
|
15713
15720
|
}, [
|
15714
|
-
e.hasGroupNames ?
|
15721
|
+
e.hasGroupNames ? me((u(), c("h5", {
|
15715
15722
|
key: 0,
|
15716
|
-
class:
|
15723
|
+
class: z(e.isSticky ? "v3-sticky" : "")
|
15717
15724
|
}, N(e.groupNames[i]), 3)), [
|
15718
|
-
[
|
15725
|
+
[Lf, e.emojis[i]]
|
15719
15726
|
]) : b("", !0),
|
15720
|
-
|
15721
|
-
(u(!0), c(
|
15727
|
+
me(A("div", Jl, [
|
15728
|
+
(u(!0), c($, null, Z(e.emojis[i], (o) => (u(), c("button", {
|
15722
15729
|
key: o.r,
|
15723
15730
|
type: "button",
|
15724
15731
|
onMouseenter: (r) => e.handleMouseEnter(o),
|
@@ -15732,19 +15739,19 @@ function f1(e, f, t, n, a, s) {
|
|
15732
15739
|
}, null, 40, Xl))
|
15733
15740
|
], 40, Gl))), 128))
|
15734
15741
|
], 512), [
|
15735
|
-
[
|
15742
|
+
[Lf, e.emojis[i]]
|
15736
15743
|
])
|
15737
15744
|
], 8, Kl))), 128)) : (u(), c("span", e1, " No emoji has been found! "))
|
15738
15745
|
], 2)
|
15739
15746
|
]);
|
15740
15747
|
}
|
15741
|
-
var t1 = /* @__PURE__ */ If(Pl, [["render", f1]]), n1 = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3NSA3LjI2NTYyNSAxNS4wOTM3NSA2LjQzNzUgQyAxNC41IDUuNjA5Mzc1IDEzLjU3MDMxMyA1IDEyLjUgNSBaIE0gMTYgOS41IEMgMTYgMTAuNjYwMTU2IDE2LjMxMjU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DI4IDE2IEMgMjggOS4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";
|
15742
15749
|
const u1 = J({
|
15743
15750
|
name: "Header",
|
15744
15751
|
setup(e) {
|
15745
|
-
const { state: f, updateSearch: t, updateActiveGroup: n } =
|
15752
|
+
const { state: f, updateSearch: t, updateActiveGroup: n } = pe("store"), a = q(() => !f.options.hideSearch), s = q(() => !f.options.hideGroupIcons), i = JSON.parse(JSON.stringify(f.orderedGroupKeys)), o = q(
|
15746
15753
|
() => f.options.staticTexts.placeholder || ""
|
15747
|
-
), r =
|
15754
|
+
), r = q({
|
15748
15755
|
get: () => f.search,
|
15749
15756
|
set: (d) => t(d)
|
15750
15757
|
}), l = [
|
@@ -15795,10 +15802,10 @@ const u1 = J({
|
|
15795
15802
|
function M1(e, f, t, n, a, s) {
|
15796
15803
|
return e.hasGroupIcons || e.hasSearch ? (u(), c("div", c1, [
|
15797
15804
|
e.hasGroupIcons ? (u(), c("div", d1, [
|
15798
|
-
(u(!0), c(
|
15805
|
+
(u(!0), c($, null, Z(e.orderedGroups, (i) => (u(), c("button", {
|
15799
15806
|
key: i.key,
|
15800
15807
|
type: "button",
|
15801
|
-
class:
|
15808
|
+
class: z(["v3-group", {
|
15802
15809
|
"v3-is-hidden": !e.icons[i.key]
|
15803
15810
|
}]),
|
15804
15811
|
onClick: (o) => e.updateActiveGroup(i.key)
|
@@ -15816,25 +15823,25 @@ function M1(e, f, t, n, a, s) {
|
|
15816
15823
|
])) : b("", !0),
|
15817
15824
|
e.hasGroupIcons && e.hasSearch ? (u(), c("div", h1)) : b("", !0),
|
15818
15825
|
e.hasSearch ? (u(), c("div", y1, [
|
15819
|
-
|
15826
|
+
me(A("input", {
|
15820
15827
|
"onUpdate:modelValue": f[0] || (f[0] = (i) => e.searchValue = i),
|
15821
15828
|
type: "text",
|
15822
15829
|
placeholder: e.placeholder
|
15823
15830
|
}, null, 8, v1), [
|
15824
|
-
[
|
15831
|
+
[mf, e.searchValue]
|
15825
15832
|
])
|
15826
15833
|
])) : b("", !0)
|
15827
15834
|
])) : b("", !0);
|
15828
15835
|
}
|
15829
|
-
var b1 = /* @__PURE__ */
|
15836
|
+
var b1 = /* @__PURE__ */ wf(u1, [["render", M1]]);
|
15830
15837
|
const _1 = J({
|
15831
15838
|
name: "Header",
|
15832
15839
|
setup() {
|
15833
|
-
const { state: e, updateSkinTone: f } =
|
15840
|
+
const { state: e, updateSkinTone: f } = pe("store"), t = M(!1), n = M(!1), a = q(() => e.skinTone), s = q(
|
15834
15841
|
() => e.options.staticTexts.skinTone || "Skin tone"
|
15835
|
-
), i =
|
15842
|
+
), i = q(() => !e.options.disableSkinTones), o = va() ? "is-mac" : "", r = q(() => ({
|
15836
15843
|
...e.emoji,
|
15837
|
-
src: aa + "/" + e.emoji[
|
15844
|
+
src: aa + "/" + e.emoji[yf] + ".png"
|
15838
15845
|
}));
|
15839
15846
|
function l(m = !0) {
|
15840
15847
|
t.value = m;
|
@@ -15858,12 +15865,12 @@ const _1 = J({
|
|
15858
15865
|
stateSkinTone: a,
|
15859
15866
|
selectSkinTone: d,
|
15860
15867
|
toggleSkinToneState: g,
|
15861
|
-
EMOJI_RESULT_KEY:
|
15862
|
-
EMOJI_NAME_KEY:
|
15868
|
+
EMOJI_RESULT_KEY: yf,
|
15869
|
+
EMOJI_NAME_KEY: pt,
|
15863
15870
|
skinToneText: s,
|
15864
15871
|
hasSkinTones: i,
|
15865
15872
|
native: e.options.native,
|
15866
|
-
unicodeToEmoji:
|
15873
|
+
unicodeToEmoji: Of,
|
15867
15874
|
platform: o,
|
15868
15875
|
hasError: n
|
15869
15876
|
};
|
@@ -15876,7 +15883,7 @@ function E1(e, f, t, n, a, s) {
|
|
15876
15883
|
}, [
|
15877
15884
|
A("div", I1, [
|
15878
15885
|
A("span", {
|
15879
|
-
class:
|
15886
|
+
class: z([e.platform, "v3-icon"])
|
15880
15887
|
}, [
|
15881
15888
|
e.native || e.hasError ? (u(), c("span", w1, N(e.unicodeToEmoji(e.emoji.r)), 1)) : (u(), c("img", {
|
15882
15889
|
key: 1,
|
@@ -15887,7 +15894,7 @@ function E1(e, f, t, n, a, s) {
|
|
15887
15894
|
], 2),
|
15888
15895
|
A("span", N1, " :" + N(e.emoji[e.EMOJI_NAME_KEY][1] || e.emoji[e.EMOJI_NAME_KEY][0]) + ": ", 1)
|
15889
15896
|
]),
|
15890
|
-
e.hasSkinTones ? (u(), c(
|
15897
|
+
e.hasSkinTones ? (u(), c($, { key: 0 }, [
|
15891
15898
|
A("button", {
|
15892
15899
|
type: "button",
|
15893
15900
|
class: "v3-tone",
|
@@ -15895,23 +15902,23 @@ function E1(e, f, t, n, a, s) {
|
|
15895
15902
|
}, [
|
15896
15903
|
A("span", D1, N(e.skinToneText), 1),
|
15897
15904
|
A("span", {
|
15898
|
-
class:
|
15905
|
+
class: z(`v3-icon v3-tone-${e.stateSkinTone}`)
|
15899
15906
|
}, null, 2)
|
15900
15907
|
]),
|
15901
15908
|
A("div", {
|
15902
|
-
class:
|
15909
|
+
class: z([e.skinTone ? "v3-is-open" : "", "v3-skin-tones"])
|
15903
15910
|
}, [
|
15904
|
-
(u(!0), c(
|
15911
|
+
(u(!0), c($, null, Z(e.SKIN_TONES, (i) => (u(), c("button", {
|
15905
15912
|
key: i,
|
15906
15913
|
type: "button",
|
15907
|
-
class:
|
15914
|
+
class: z(["v3-skin-tone-" + i, "v3-skin-tone"]),
|
15908
15915
|
onClick: (o) => e.selectSkinTone(i)
|
15909
15916
|
}, null, 10, j1))), 128))
|
15910
15917
|
], 2)
|
15911
15918
|
], 64)) : b("", !0)
|
15912
15919
|
], 32);
|
15913
15920
|
}
|
15914
|
-
var T1 = /* @__PURE__ */
|
15921
|
+
var T1 = /* @__PURE__ */ wf(_1, [["render", E1]]);
|
15915
15922
|
const V1 = J({
|
15916
15923
|
name: "PickerRoot",
|
15917
15924
|
components: {
|
@@ -15952,7 +15959,7 @@ const V1 = J({
|
|
15952
15959
|
setup(e, { emit: f }) {
|
15953
15960
|
const t = M(), n = M(), a = M(), s = M(!1), i = M(e.text), o = e.type === "input" || e.type === "textarea";
|
15954
15961
|
let r = -1;
|
15955
|
-
const { state: l } =
|
15962
|
+
const { state: l } = pe("store"), g = q(() => l.options.colorTheme);
|
15956
15963
|
function d(h) {
|
15957
15964
|
if (o) {
|
15958
15965
|
const _ = l.options.mode;
|
@@ -15989,7 +15996,7 @@ const V1 = J({
|
|
15989
15996
|
function v(h) {
|
15990
15997
|
i.value = h.target.value || "", f("update:text", i.value);
|
15991
15998
|
}
|
15992
|
-
return
|
15999
|
+
return je(() => {
|
15993
16000
|
y();
|
15994
16001
|
}), xa(() => {
|
15995
16002
|
document.body.removeEventListener("click", p);
|
@@ -16012,7 +16019,7 @@ const V1 = J({
|
|
16012
16019
|
class: "v3-input-emoji-picker"
|
16013
16020
|
}, S1 = { class: "v3-input-picker-root" }, C1 = ["value"], z1 = ["value"], O1 = ["src"];
|
16014
16021
|
function L1(e, f, t, n, a, s) {
|
16015
|
-
const i =
|
16022
|
+
const i = Sf("Header"), o = Sf("Body"), r = Sf("Footer");
|
16016
16023
|
return e.isInputType ? (u(), c("div", x1, [
|
16017
16024
|
A("div", S1, [
|
16018
16025
|
e.type === "input" ? (u(), c("input", {
|
@@ -16032,7 +16039,7 @@ function L1(e, f, t, n, a, s) {
|
|
16032
16039
|
onBlur: f[3] || (f[3] = (...l) => e.updateCursor && e.updateCursor(...l))
|
16033
16040
|
}, null, 40, z1)),
|
16034
16041
|
A("div", {
|
16035
|
-
class:
|
16042
|
+
class: z(["v3-input-picker-wrap", e.open ? "v3-picker-is-open" : ""])
|
16036
16043
|
}, [
|
16037
16044
|
A("button", {
|
16038
16045
|
ref: "button",
|
@@ -16047,7 +16054,7 @@ function L1(e, f, t, n, a, s) {
|
|
16047
16054
|
], 512),
|
16048
16055
|
A("div", {
|
16049
16056
|
ref: "picker",
|
16050
|
-
class:
|
16057
|
+
class: z(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
|
16051
16058
|
}, [
|
16052
16059
|
Y(i),
|
16053
16060
|
Y(o, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
|
@@ -16057,14 +16064,14 @@ function L1(e, f, t, n, a, s) {
|
|
16057
16064
|
])
|
16058
16065
|
])) : (u(), c("div", {
|
16059
16066
|
key: 1,
|
16060
|
-
class:
|
16067
|
+
class: z(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
|
16061
16068
|
}, [
|
16062
16069
|
Y(i),
|
16063
16070
|
Y(o, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
|
16064
16071
|
Y(r)
|
16065
16072
|
], 2));
|
16066
16073
|
}
|
16067
|
-
var U1 = /* @__PURE__ */
|
16074
|
+
var U1 = /* @__PURE__ */ wf(V1, [["render", L1]]);
|
16068
16075
|
const B1 = J({
|
16069
16076
|
name: "Picker",
|
16070
16077
|
components: {
|
@@ -16171,7 +16178,7 @@ const B1 = J({
|
|
16171
16178
|
groupOrder: e.groupOrder,
|
16172
16179
|
groupIcons: e.groupIcons,
|
16173
16180
|
colorTheme: pA.includes(e.theme) ? e.theme : "light"
|
16174
|
-
}),
|
16181
|
+
}), dt("store", a), {
|
16175
16182
|
type: e.pickerType,
|
16176
16183
|
input: t,
|
16177
16184
|
onChangeText: n
|
@@ -16179,7 +16186,7 @@ const B1 = J({
|
|
16179
16186
|
}
|
16180
16187
|
});
|
16181
16188
|
function Q1(e, f, t, n, a, s) {
|
16182
|
-
const i =
|
16189
|
+
const i = Sf("picker-root");
|
16183
16190
|
return u(), F(i, {
|
16184
16191
|
type: e.type,
|
16185
16192
|
text: e.input,
|
@@ -16187,7 +16194,7 @@ function Q1(e, f, t, n, a, s) {
|
|
16187
16194
|
"onUpdate:text": e.onChangeText
|
16188
16195
|
}, null, 8, ["type", "text", "onUpdate:text"]);
|
16189
16196
|
}
|
16190
|
-
var R1 = /* @__PURE__ */
|
16197
|
+
var R1 = /* @__PURE__ */ wf(B1, [["render", Q1]]);
|
16191
16198
|
const Y1 = {
|
16192
16199
|
__name: "ButtonEmojiPicker",
|
16193
16200
|
props: {
|
@@ -16202,7 +16209,7 @@ const Y1 = {
|
|
16202
16209
|
}
|
16203
16210
|
},
|
16204
16211
|
setup(e) {
|
16205
|
-
const f = e, t = M(null), n = M(null), a =
|
16212
|
+
const f = e, t = M(null), n = M(null), a = pe("chatAppId"), { setMessageText: s, getMessage: i } = mt(a), o = q(() => {
|
16206
16213
|
if (document.documentElement.classList.contains("dark"))
|
16207
16214
|
return "dark";
|
16208
16215
|
}), r = (p) => {
|
@@ -16216,15 +16223,15 @@ const Y1 = {
|
|
16216
16223
|
}, m = (p) => {
|
16217
16224
|
f.mode == "click" && !n.value.contains(p.target) && !t.value.contains(p.target) && (t.value.style.display = "none");
|
16218
16225
|
};
|
16219
|
-
return
|
16226
|
+
return je(() => {
|
16220
16227
|
t.value.style.display = "none", document.addEventListener("click", m);
|
16221
16228
|
}), Qn(() => {
|
16222
16229
|
document.removeEventListener("click", m);
|
16223
|
-
}), (p, y) => (u(), c(
|
16230
|
+
}), (p, y) => (u(), c($, null, [
|
16224
16231
|
A("div", {
|
16225
16232
|
ref_key: "emojiButton",
|
16226
16233
|
ref: n,
|
16227
|
-
class:
|
16234
|
+
class: z(["button", { "button-disabled": e.state == "disabled" }]),
|
16228
16235
|
onClick: l,
|
16229
16236
|
onMouseover: g,
|
16230
16237
|
onMouseout: d
|
@@ -16240,7 +16247,7 @@ const Y1 = {
|
|
16240
16247
|
onMouseover: g,
|
16241
16248
|
onMouseout: d
|
16242
16249
|
}, [
|
16243
|
-
Y(
|
16250
|
+
Y(O(R1), {
|
16244
16251
|
native: !0,
|
16245
16252
|
theme: o.value,
|
16246
16253
|
"picker-type": "",
|
@@ -16252,7 +16259,7 @@ const Y1 = {
|
|
16252
16259
|
})
|
16253
16260
|
], 64));
|
16254
16261
|
}
|
16255
|
-
}, Oc = /* @__PURE__ */ Q(Y1, [["__scopeId", "data-v-a6a1f980"]]),
|
16262
|
+
}, Oc = /* @__PURE__ */ Q(Y1, [["__scopeId", "data-v-a6a1f980"]]), q1 = { class: "context-menu" }, $1 = { class: "context-menu__container" }, F1 = { class: "context-menu__list" }, H1 = ["onClick"], P1 = ["src"], W1 = {
|
16256
16263
|
__name: "ContextMenu",
|
16257
16264
|
props: {
|
16258
16265
|
actions: {
|
@@ -16266,10 +16273,10 @@ const Y1 = {
|
|
16266
16273
|
const i = t.actions[s];
|
16267
16274
|
n("click", i);
|
16268
16275
|
};
|
16269
|
-
return (s, i) => (u(), c("div",
|
16270
|
-
A("div",
|
16276
|
+
return (s, i) => (u(), c("div", q1, [
|
16277
|
+
A("div", $1, [
|
16271
16278
|
A("ul", F1, [
|
16272
|
-
(u(!0), c(
|
16279
|
+
(u(!0), c($, null, Z(t.actions, (o, r) => (u(), c("li", {
|
16273
16280
|
key: r,
|
16274
16281
|
class: "context-menu__item",
|
16275
16282
|
onClick: (l) => a(r)
|
@@ -16281,7 +16288,7 @@ const Y1 = {
|
|
16281
16288
|
height: "18"
|
16282
16289
|
}, null, 8, P1)) : o.prime ? (u(), c("i", {
|
16283
16290
|
key: 1,
|
16284
|
-
class:
|
16291
|
+
class: z("pi pi-" + o.prime)
|
16285
16292
|
}, null, 2)) : b("", !0),
|
16286
16293
|
A("span", null, N(o.title), 1)
|
16287
16294
|
], 8, H1))), 128))
|
@@ -16289,7 +16296,7 @@ const Y1 = {
|
|
16289
16296
|
])
|
16290
16297
|
]));
|
16291
16298
|
}
|
16292
|
-
},
|
16299
|
+
}, ze = /* @__PURE__ */ Q(W1, [["__scopeId", "data-v-7784f539"]]), K1 = ["messageId"], J1 = ["src"], G1 = {
|
16293
16300
|
key: 1,
|
16294
16301
|
class: "file-message__subtext"
|
16295
16302
|
}, Z1 = ["href"], X1 = { class: "file-message__filename-text" }, er = { class: "file-message__info-container" }, fr = { class: "file-message__time" }, tr = {
|
@@ -16312,7 +16319,7 @@ const Y1 = {
|
|
16312
16319
|
te(
|
16313
16320
|
() => t.message.text,
|
16314
16321
|
() => {
|
16315
|
-
t.message.text && (i.value =
|
16322
|
+
t.message.text && (i.value = Ge(t.message.text));
|
16316
16323
|
},
|
16317
16324
|
{ immediate: !0 }
|
16318
16325
|
);
|
@@ -16326,12 +16333,12 @@ const Y1 = {
|
|
16326
16333
|
s.value = !0;
|
16327
16334
|
}, d = () => {
|
16328
16335
|
s.value = !1, a.value = !1;
|
16329
|
-
}, m =
|
16336
|
+
}, m = q(() => Xe(t.message.status));
|
16330
16337
|
function p(y) {
|
16331
16338
|
return y.position === "left" ? "file-message__left" : "file-message__right";
|
16332
16339
|
}
|
16333
16340
|
return (y, v) => (u(), c("div", {
|
16334
|
-
class:
|
16341
|
+
class: z(["file-message", p(e.message)]),
|
16335
16342
|
messageId: e.message.messageId,
|
16336
16343
|
onMouseleave: d
|
16337
16344
|
}, [
|
@@ -16341,7 +16348,7 @@ const Y1 = {
|
|
16341
16348
|
src: e.message.avatar,
|
16342
16349
|
height: "32",
|
16343
16350
|
width: "32",
|
16344
|
-
style:
|
16351
|
+
style: X({ gridRow: e.message.subText ? "2" : "1" })
|
16345
16352
|
}, null, 12, J1)) : b("", !0),
|
16346
16353
|
e.message.subText ? (u(), c("p", G1, N(e.message.subText), 1)) : b("", !0),
|
16347
16354
|
A("div", {
|
@@ -16367,9 +16374,9 @@ const Y1 = {
|
|
16367
16374
|
A("p", null, N(e.message.views), 1)
|
16368
16375
|
])) : b("", !0),
|
16369
16376
|
A("span", fr, N(e.message.time), 1),
|
16370
|
-
p(e.message) === "file-message__right" &&
|
16377
|
+
p(e.message) === "file-message__right" && O(Ze).includes(e.message.status) ? (u(), c("div", {
|
16371
16378
|
key: 1,
|
16372
|
-
class:
|
16379
|
+
class: z(["file-message__status", m.value])
|
16373
16380
|
}, [
|
16374
16381
|
e.message.status !== "sent" ? (u(), c("span", tr)) : b("", !0),
|
16375
16382
|
v[3] || (v[3] = A("span", { class: "pi pi-check" }, null, -1))
|
@@ -16385,7 +16392,7 @@ const Y1 = {
|
|
16385
16392
|
A("a", {
|
16386
16393
|
class: "file-message__download-button",
|
16387
16394
|
href: e.message.url,
|
16388
|
-
onClick:
|
16395
|
+
onClick: qe(() => "//Предотвращаем всплытие события клика", ["stop"]),
|
16389
16396
|
download: "",
|
16390
16397
|
target: "_blank"
|
16391
16398
|
}, v[5] || (v[5] = [
|
@@ -16393,7 +16400,7 @@ const Y1 = {
|
|
16393
16400
|
]), 8, nr),
|
16394
16401
|
Y(W, null, {
|
16395
16402
|
default: K(() => [
|
16396
|
-
a.value && e.message.actions ? (u(), F(
|
16403
|
+
a.value && e.message.actions ? (u(), F(O(ze), {
|
16397
16404
|
key: 0,
|
16398
16405
|
class: "file-message__context-menu",
|
16399
16406
|
actions: e.message.actions,
|
@@ -16440,7 +16447,7 @@ const Y1 = {
|
|
16440
16447
|
te(
|
16441
16448
|
() => t.message.text,
|
16442
16449
|
() => {
|
16443
|
-
t.message.text && (r.value =
|
16450
|
+
t.message.text && (r.value = Ge(t.message.text));
|
16444
16451
|
},
|
16445
16452
|
{ immediate: !0 }
|
16446
16453
|
);
|
@@ -16454,12 +16461,12 @@ const Y1 = {
|
|
16454
16461
|
i.value = !0, o.value = !0;
|
16455
16462
|
}, p = () => {
|
16456
16463
|
i.value = !1, s.value = !1;
|
16457
|
-
}, y =
|
16464
|
+
}, y = q(() => Xe(t.message.status));
|
16458
16465
|
function v(h) {
|
16459
16466
|
return h.position === "left" ? "image-message__left" : "image-message__right";
|
16460
16467
|
}
|
16461
16468
|
return (h, _) => (u(), c("div", {
|
16462
|
-
class:
|
16469
|
+
class: z(["image-message", v(e.message)]),
|
16463
16470
|
messageId: e.message.messageId,
|
16464
16471
|
onMouseleave: p
|
16465
16472
|
}, [
|
@@ -16480,7 +16487,7 @@ const Y1 = {
|
|
16480
16487
|
}, [
|
16481
16488
|
A("img", {
|
16482
16489
|
class: "image-message__preview-image",
|
16483
|
-
style:
|
16490
|
+
style: X({ borderRadius: e.message.text ? "8px 8px 0 0" : "8px" }),
|
16484
16491
|
src: e.message.url,
|
16485
16492
|
alt: e.message.alt
|
16486
16493
|
}, null, 12, cr),
|
@@ -16489,16 +16496,16 @@ const Y1 = {
|
|
16489
16496
|
o.value ? (u(), c("div", dr, [
|
16490
16497
|
e.message.views ? (u(), c("div", {
|
16491
16498
|
key: 0,
|
16492
|
-
onClick:
|
16499
|
+
onClick: qe(g, ["stop"]),
|
16493
16500
|
class: "image-message__views"
|
16494
16501
|
}, [
|
16495
16502
|
_[4] || (_[4] = A("span", { class: "pi pi-eye" }, null, -1)),
|
16496
16503
|
A("p", null, N(e.message.views), 1)
|
16497
16504
|
])) : b("", !0),
|
16498
16505
|
A("span", gr, N(e.message.time), 1),
|
16499
|
-
v(e.message) === "image-message__right" &&
|
16506
|
+
v(e.message) === "image-message__right" && O(Ze).includes(e.message.status) ? (u(), c("div", {
|
16500
16507
|
key: 1,
|
16501
|
-
class:
|
16508
|
+
class: z(["image-message__status", y.value])
|
16502
16509
|
}, [
|
16503
16510
|
e.message.status !== "sent" ? (u(), c("span", mr)) : b("", !0),
|
16504
16511
|
_[5] || (_[5] = A("span", { class: "pi pi-check" }, null, -1))
|
@@ -16511,7 +16518,7 @@ const Y1 = {
|
|
16511
16518
|
default: K(() => [
|
16512
16519
|
o.value ? (u(), c("a", {
|
16513
16520
|
key: 0,
|
16514
|
-
onClick:
|
16521
|
+
onClick: qe(() => "//Предотвращаем всплытие события клика", ["stop"]),
|
16515
16522
|
class: "image-message__download-button",
|
16516
16523
|
href: e.message.url,
|
16517
16524
|
download: "",
|
@@ -16537,7 +16544,7 @@ const Y1 = {
|
|
16537
16544
|
}),
|
16538
16545
|
Y(W, { name: "context-menu" }, {
|
16539
16546
|
default: K(() => [
|
16540
|
-
s.value && e.message.actions ? (u(), F(
|
16547
|
+
s.value && e.message.actions ? (u(), F(O(ze), {
|
16541
16548
|
key: 0,
|
16542
16549
|
class: "image-message__context-menu",
|
16543
16550
|
actions: e.message.actions,
|
@@ -16553,7 +16560,7 @@ const Y1 = {
|
|
16553
16560
|
}, null, 8, yr)
|
16554
16561
|
])) : b("", !0)
|
16555
16562
|
]),
|
16556
|
-
(u(), F(
|
16563
|
+
(u(), F(bf, { to: "body" }, [
|
16557
16564
|
Y(W, { name: "modal-fade" }, {
|
16558
16565
|
default: K(() => [
|
16559
16566
|
a.value ? (u(), c("div", vr, [
|
@@ -16602,7 +16609,7 @@ const Y1 = {
|
|
16602
16609
|
te(
|
16603
16610
|
() => t.message.text,
|
16604
16611
|
() => {
|
16605
|
-
i.value =
|
16612
|
+
i.value = Ge(t.message.text);
|
16606
16613
|
},
|
16607
16614
|
{ immediate: !0 }
|
16608
16615
|
);
|
@@ -16613,7 +16620,7 @@ const Y1 = {
|
|
16613
16620
|
s.value = !0;
|
16614
16621
|
}, l = () => {
|
16615
16622
|
s.value = !1, a.value = !1;
|
16616
|
-
}, g =
|
16623
|
+
}, g = q(() => Xe(t.message.status)), d = (y) => {
|
16617
16624
|
l(), n("action", { messageId: t.message.messageId, type: "menu", ...y });
|
16618
16625
|
}, m = () => {
|
16619
16626
|
l(), n("action", { messageId: t.message.messageId, type: "views" });
|
@@ -16622,7 +16629,7 @@ const Y1 = {
|
|
16622
16629
|
return y.position === "left" ? "text-message__left" : "text-message__right";
|
16623
16630
|
}
|
16624
16631
|
return (y, v) => (u(), c("div", {
|
16625
|
-
class:
|
16632
|
+
class: z(["text-message", p(e.message)]),
|
16626
16633
|
messageId: e.message.messageId,
|
16627
16634
|
onMouseleave: l
|
16628
16635
|
}, [
|
@@ -16632,7 +16639,7 @@ const Y1 = {
|
|
16632
16639
|
src: e.message.avatar,
|
16633
16640
|
height: "32",
|
16634
16641
|
width: "32",
|
16635
|
-
style:
|
16642
|
+
style: X({ gridRow: e.message.subText ? "2" : "1" })
|
16636
16643
|
}, null, 12, kr)) : b("", !0),
|
16637
16644
|
e.message.subText ? (u(), c("p", Nr, N(e.message.subText), 1)) : b("", !0),
|
16638
16645
|
A("div", {
|
@@ -16654,9 +16661,9 @@ const Y1 = {
|
|
16654
16661
|
A("p", null, N(e.message.views), 1)
|
16655
16662
|
])) : b("", !0),
|
16656
16663
|
e.message.time ? (u(), c("span", Er, N(e.message.time), 1)) : b("", !0),
|
16657
|
-
p(e.message) === "text-message__right" &&
|
16664
|
+
p(e.message) === "text-message__right" && O(Ze).includes(e.message.status) ? (u(), c("div", {
|
16658
16665
|
key: 2,
|
16659
|
-
class:
|
16666
|
+
class: z(["text-message__status", g.value])
|
16660
16667
|
}, [
|
16661
16668
|
e.message.status !== "sent" ? (u(), c("span", Tr)) : b("", !0),
|
16662
16669
|
v[2] || (v[2] = A("span", { class: "pi pi-check" }, null, -1))
|
@@ -16671,7 +16678,7 @@ const Y1 = {
|
|
16671
16678
|
]))) : b("", !0),
|
16672
16679
|
Y(W, null, {
|
16673
16680
|
default: K(() => [
|
16674
|
-
a.value && e.message.actions ? (u(), F(
|
16681
|
+
a.value && e.message.actions ? (u(), F(O(ze), {
|
16675
16682
|
key: 0,
|
16676
16683
|
class: "text-message__context-menu",
|
16677
16684
|
actions: e.message.actions,
|
@@ -16689,10 +16696,10 @@ const Y1 = {
|
|
16689
16696
|
}, Or = ["src"], Lr = { class: "audio-message__progress-bar-container" }, Ur = { class: "audio-message__remaining-time" }, Br = { class: "audio-message__info-container" }, Qr = { class: "audio-message__time" }, Rr = {
|
16690
16697
|
key: 0,
|
16691
16698
|
class: "pi pi-check"
|
16692
|
-
}, Yr = ["href"],
|
16699
|
+
}, Yr = ["href"], qr = {
|
16693
16700
|
key: 1,
|
16694
16701
|
class: "audio-message__transcript-container"
|
16695
|
-
},
|
16702
|
+
}, $r = {
|
16696
16703
|
key: 0,
|
16697
16704
|
class: "audio-message__modal-overlay"
|
16698
16705
|
}, Fr = { class: "audio-message__modal" }, Hr = { style: { "word-wrap": "break-word", "max-width": "25rem" } }, Pr = {
|
@@ -16712,12 +16719,12 @@ const Y1 = {
|
|
16712
16719
|
te(
|
16713
16720
|
() => t.message.text,
|
16714
16721
|
() => {
|
16715
|
-
t.message.text && (g.value =
|
16722
|
+
t.message.text && (g.value = Ge(t.message.text));
|
16716
16723
|
},
|
16717
16724
|
{ immediate: !0 }
|
16718
16725
|
);
|
16719
|
-
function m(
|
16720
|
-
|
16726
|
+
function m(x) {
|
16727
|
+
x.preventDefault(), x.target.href && window.open(x.target.href, "_blank");
|
16721
16728
|
}
|
16722
16729
|
const p = () => {
|
16723
16730
|
l.value = !0;
|
@@ -16726,27 +16733,27 @@ const Y1 = {
|
|
16726
16733
|
}, v = () => {
|
16727
16734
|
n("action", { messageId: t.message.messageId, type: "views" });
|
16728
16735
|
}, h = () => {
|
16729
|
-
}, _ =
|
16736
|
+
}, _ = q(() => Xe(t.message.status));
|
16730
16737
|
function k() {
|
16731
16738
|
a.value && (s.value ? a.value.pause() : a.value.play(), s.value = !s.value);
|
16732
16739
|
}
|
16733
|
-
const
|
16734
|
-
const
|
16735
|
-
return `${
|
16736
|
-
}, w =
|
16737
|
-
function
|
16738
|
-
return
|
16740
|
+
const S = (x) => {
|
16741
|
+
const V = Math.floor(x / 60), L = Math.floor(x % 60);
|
16742
|
+
return `${V.toString().padStart(2, "0")}:${L.toString().padStart(2, "0")}`;
|
16743
|
+
}, w = q(() => a.value ? S(o.value) : "0:00"), D = q(() => a.value ? S(i.value) : "0:00"), T = q(() => i.value > 0 ? o.value / i.value * 100 : 0);
|
16744
|
+
function E(x) {
|
16745
|
+
return x.position === "left" ? "audio-message__left" : "audio-message__right";
|
16739
16746
|
}
|
16740
|
-
return
|
16747
|
+
return je(() => {
|
16741
16748
|
a.value != null && (a.value.addEventListener("loadedmetadata", () => {
|
16742
16749
|
i.value = a.value != null ? a.value.duration : 0;
|
16743
16750
|
}), a.value.addEventListener("timeupdate", () => {
|
16744
16751
|
o.value = a.value != null ? a.value.currentTime : 0;
|
16745
16752
|
}));
|
16746
|
-
}), (
|
16747
|
-
var
|
16753
|
+
}), (x, V) => {
|
16754
|
+
var L;
|
16748
16755
|
return u(), c("div", {
|
16749
|
-
class:
|
16756
|
+
class: z(["audio-message", E(e.message)]),
|
16750
16757
|
messageId: e.message.messageId,
|
16751
16758
|
onMouseleave: y
|
16752
16759
|
}, [
|
@@ -16756,7 +16763,7 @@ const Y1 = {
|
|
16756
16763
|
src: e.message.avatar,
|
16757
16764
|
height: "32",
|
16758
16765
|
width: "32",
|
16759
|
-
style:
|
16766
|
+
style: X({ gridRow: e.message.subText ? "2" : "1" })
|
16760
16767
|
}, null, 12, Cr)) : b("", !0),
|
16761
16768
|
e.message.subText ? (u(), c("p", zr, N(e.message.subText), 1)) : b("", !0),
|
16762
16769
|
A("div", {
|
@@ -16768,26 +16775,26 @@ const Y1 = {
|
|
16768
16775
|
ref: a,
|
16769
16776
|
src: e.message.url
|
16770
16777
|
}, null, 8, Or),
|
16771
|
-
|
16778
|
+
me(A("button", {
|
16772
16779
|
class: "audio-message__play",
|
16773
16780
|
onClick: k
|
16774
|
-
},
|
16781
|
+
}, V[3] || (V[3] = [
|
16775
16782
|
A("span", { class: "pi pi-play" }, null, -1)
|
16776
16783
|
]), 512), [
|
16777
|
-
[
|
16784
|
+
[Lf, !s.value]
|
16778
16785
|
]),
|
16779
|
-
|
16786
|
+
me(A("button", {
|
16780
16787
|
class: "audio-message__pause",
|
16781
16788
|
onClick: k
|
16782
|
-
},
|
16789
|
+
}, V[4] || (V[4] = [
|
16783
16790
|
A("span", { class: "pi pi-pause" }, null, -1)
|
16784
16791
|
]), 512), [
|
16785
|
-
[
|
16792
|
+
[Lf, s.value]
|
16786
16793
|
]),
|
16787
16794
|
A("div", Lr, [
|
16788
16795
|
A("div", {
|
16789
16796
|
class: "audio-message__progress-bar",
|
16790
|
-
style:
|
16797
|
+
style: X({ width: T.value + "%" })
|
16791
16798
|
}, null, 4)
|
16792
16799
|
]),
|
16793
16800
|
A("p", Ur, N(`${w.value} / ${D.value}`), 1),
|
@@ -16797,37 +16804,37 @@ const Y1 = {
|
|
16797
16804
|
onClick: v,
|
16798
16805
|
class: "audio-message__views"
|
16799
16806
|
}, [
|
16800
|
-
|
16807
|
+
V[5] || (V[5] = A("span", { class: "pi pi-eye" }, null, -1)),
|
16801
16808
|
A("p", null, N(e.message.views), 1)
|
16802
16809
|
])) : b("", !0),
|
16803
16810
|
A("span", Qr, N(e.message.time), 1),
|
16804
|
-
|
16811
|
+
E(e.message) === "audio-message__right" && O(Ze).includes(e.message.status) ? (u(), c("div", {
|
16805
16812
|
key: 1,
|
16806
|
-
class:
|
16813
|
+
class: z(["audio-message__status", _.value])
|
16807
16814
|
}, [
|
16808
16815
|
e.message.status !== "sent" ? (u(), c("span", Rr)) : b("", !0),
|
16809
|
-
|
16816
|
+
V[6] || (V[6] = A("span", { class: "pi pi-check" }, null, -1))
|
16810
16817
|
], 2)) : b("", !0)
|
16811
16818
|
]),
|
16812
16819
|
l.value && e.message.actions ? (u(), c("button", {
|
16813
16820
|
key: 0,
|
16814
16821
|
class: "audio-message__menu-button",
|
16815
|
-
onClick:
|
16816
|
-
},
|
16822
|
+
onClick: V[0] || (V[0] = (R) => r.value = !r.value)
|
16823
|
+
}, V[7] || (V[7] = [
|
16817
16824
|
A("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
16818
16825
|
]))) : b("", !0),
|
16819
16826
|
A("a", {
|
16820
16827
|
class: "audio-message__download-button",
|
16821
|
-
onClick:
|
16828
|
+
onClick: qe(() => "//Предотвращаем всплытие события клика", ["stop"]),
|
16822
16829
|
href: e.message.url,
|
16823
16830
|
download: "",
|
16824
16831
|
target: "_blank"
|
16825
|
-
},
|
16832
|
+
}, V[8] || (V[8] = [
|
16826
16833
|
A("span", { class: "pi pi-download" }, null, -1)
|
16827
16834
|
]), 8, Yr),
|
16828
16835
|
Y(W, null, {
|
16829
16836
|
default: K(() => [
|
16830
|
-
r.value && e.message.actions ? (u(), F(
|
16837
|
+
r.value && e.message.actions ? (u(), F(O(ze), {
|
16831
16838
|
key: 0,
|
16832
16839
|
class: "audio-message__context-menu",
|
16833
16840
|
actions: e.message.actions,
|
@@ -16836,22 +16843,22 @@ const Y1 = {
|
|
16836
16843
|
]),
|
16837
16844
|
_: 1
|
16838
16845
|
}),
|
16839
|
-
(
|
16846
|
+
(L = e.message.transcript) != null && L.text ? (u(), c("div", qr, [
|
16840
16847
|
A("p", {
|
16841
|
-
onClick:
|
16848
|
+
onClick: V[1] || (V[1] = (R) => d.value = !d.value)
|
16842
16849
|
}, N(e.message.transcript.text), 1)
|
16843
16850
|
])) : b("", !0),
|
16844
|
-
(u(), F(
|
16851
|
+
(u(), F(bf, { to: "body" }, [
|
16845
16852
|
Y(W, { name: "modal-fade" }, {
|
16846
16853
|
default: K(() => {
|
16847
16854
|
var R;
|
16848
16855
|
return [
|
16849
|
-
d.value ? (u(), c("div",
|
16856
|
+
d.value ? (u(), c("div", $r, [
|
16850
16857
|
A("div", Fr, [
|
16851
16858
|
A("button", {
|
16852
16859
|
class: "audio-message__modal-close-button",
|
16853
|
-
onClick:
|
16854
|
-
},
|
16860
|
+
onClick: V[2] || (V[2] = (H) => d.value = !1)
|
16861
|
+
}, V[9] || (V[9] = [
|
16855
16862
|
A("span", null, [
|
16856
16863
|
A("i", { class: "pi pi-times" })
|
16857
16864
|
], -1)
|
@@ -16917,19 +16924,19 @@ const Y1 = {
|
|
16917
16924
|
emits: ["action"],
|
16918
16925
|
setup(e, { emit: f }) {
|
16919
16926
|
const t = e, n = f;
|
16920
|
-
function a(
|
16921
|
-
return
|
16927
|
+
function a(S) {
|
16928
|
+
return S.position === "left" ? "video-message__left" : "video-message__right";
|
16922
16929
|
}
|
16923
16930
|
const s = M(), i = M(), o = M(!1), r = M(!1), l = M(!1), g = M(!1), d = M("");
|
16924
16931
|
te(
|
16925
16932
|
() => t.message.text,
|
16926
16933
|
() => {
|
16927
|
-
t.message.text && (d.value =
|
16934
|
+
t.message.text && (d.value = Ge(t.message.text));
|
16928
16935
|
},
|
16929
16936
|
{ immediate: !0 }
|
16930
16937
|
);
|
16931
|
-
function m(
|
16932
|
-
|
16938
|
+
function m(S) {
|
16939
|
+
S.preventDefault(), S.target.href && window.open(S.target.href, "_blank");
|
16933
16940
|
}
|
16934
16941
|
const p = () => {
|
16935
16942
|
n("action", { messageId: t.message.messageId, type: "views" });
|
@@ -16938,13 +16945,13 @@ const Y1 = {
|
|
16938
16945
|
l.value = !0, g.value = !0;
|
16939
16946
|
}, h = () => {
|
16940
16947
|
l.value = !1, r.value = !1;
|
16941
|
-
}, _ =
|
16948
|
+
}, _ = q(() => Xe(t.message.status)), k = () => {
|
16942
16949
|
i.value && (i.value.currentTime = 0, i.value.play());
|
16943
16950
|
};
|
16944
|
-
return te([s, i], ([
|
16945
|
-
|
16946
|
-
}), (
|
16947
|
-
class:
|
16951
|
+
return te([s, i], ([S, w]) => {
|
16952
|
+
S ? w && (w.pause(), w.currentTime = 0) : w && (w.play(), w.currentTime = 0);
|
16953
|
+
}), (S, w) => (u(), c("div", {
|
16954
|
+
class: z(["video-message", a(e.message)]),
|
16948
16955
|
messageId: e.message.messageId,
|
16949
16956
|
onMouseleave: h
|
16950
16957
|
}, [
|
@@ -16967,7 +16974,7 @@ const Y1 = {
|
|
16967
16974
|
ref_key: "previewPlayer",
|
16968
16975
|
ref: i,
|
16969
16976
|
class: "video-message__video",
|
16970
|
-
style:
|
16977
|
+
style: X({ borderRadius: e.message.text ? "8px 8px 0 0" : "8px" }),
|
16971
16978
|
onEnded: k,
|
16972
16979
|
src: e.message.url,
|
16973
16980
|
muted: !0,
|
@@ -16978,16 +16985,16 @@ const Y1 = {
|
|
16978
16985
|
g.value ? (u(), c("div", ou, [
|
16979
16986
|
e.message.views ? (u(), c("div", {
|
16980
16987
|
key: 0,
|
16981
|
-
onClick:
|
16988
|
+
onClick: qe(p, ["stop"]),
|
16982
16989
|
class: "video-message__views"
|
16983
16990
|
}, [
|
16984
16991
|
w[4] || (w[4] = A("span", { class: "pi pi-eye" }, null, -1)),
|
16985
16992
|
A("p", null, N(e.message.views), 1)
|
16986
16993
|
])) : b("", !0),
|
16987
16994
|
A("span", Au, N(e.message.time), 1),
|
16988
|
-
a(e.message) === "video-message__right" &&
|
16995
|
+
a(e.message) === "video-message__right" && O(Ze).includes(e.message.status) ? (u(), c("div", {
|
16989
16996
|
key: 1,
|
16990
|
-
class:
|
16997
|
+
class: z(["video-message__status", _.value])
|
16991
16998
|
}, [
|
16992
16999
|
e.message.status !== "sent" ? (u(), c("span", lu)) : b("", !0),
|
16993
17000
|
w[5] || (w[5] = A("span", { class: "pi pi-check" }, null, -1))
|
@@ -17000,7 +17007,7 @@ const Y1 = {
|
|
17000
17007
|
default: K(() => [
|
17001
17008
|
g.value ? (u(), c("a", {
|
17002
17009
|
key: 0,
|
17003
|
-
onClick:
|
17010
|
+
onClick: qe(() => "//Предотвращаем всплытие события клика", ["stop"]),
|
17004
17011
|
class: "video-message__download-button",
|
17005
17012
|
href: e.message.url,
|
17006
17013
|
download: "",
|
@@ -17026,7 +17033,7 @@ const Y1 = {
|
|
17026
17033
|
}),
|
17027
17034
|
Y(W, { name: "context-menu" }, {
|
17028
17035
|
default: K(() => [
|
17029
|
-
r.value && e.message.actions ? (u(), F(
|
17036
|
+
r.value && e.message.actions ? (u(), F(O(ze), {
|
17030
17037
|
key: 0,
|
17031
17038
|
class: "video-message__context-menu",
|
17032
17039
|
actions: e.message.actions,
|
@@ -17042,7 +17049,7 @@ const Y1 = {
|
|
17042
17049
|
}, null, 8, cu)
|
17043
17050
|
])) : b("", !0)
|
17044
17051
|
]),
|
17045
|
-
(u(), F(
|
17052
|
+
(u(), F(bf, { to: "body" }, [
|
17046
17053
|
Y(W, { name: "modal-fade" }, {
|
17047
17054
|
default: K(() => [
|
17048
17055
|
o.value ? (u(), c("div", du, [
|
@@ -17121,7 +17128,7 @@ const Y1 = {
|
|
17121
17128
|
var i;
|
17122
17129
|
return u(), c("div", yu, [
|
17123
17130
|
A("div", {
|
17124
|
-
class:
|
17131
|
+
class: z(n(e.message, t.message)),
|
17125
17132
|
messageId: e.message.messageId
|
17126
17133
|
}, [
|
17127
17134
|
e.message.avatar ? (u(), c("img", {
|
@@ -17130,13 +17137,13 @@ const Y1 = {
|
|
17130
17137
|
src: e.message.avatar,
|
17131
17138
|
height: "32",
|
17132
17139
|
width: "32",
|
17133
|
-
style:
|
17140
|
+
style: X({ gridRow: e.message.subText ? "2" : "1" })
|
17134
17141
|
}, null, 12, Mu)) : b("", !0),
|
17135
17142
|
e.message.subText ? (u(), c("p", bu, N(e.message.subText), 1)) : b("", !0),
|
17136
17143
|
A("div", _u, [
|
17137
17144
|
A("span", {
|
17138
17145
|
class: "call-message__icon pi pi-phone",
|
17139
|
-
style:
|
17146
|
+
style: X({ color: e.message.isMissedCall ? "var(--p-red-500)" : "var(--neutral-100)" })
|
17140
17147
|
}, null, 4),
|
17141
17148
|
e.message.isMissedCall ? (u(), c("span", wu, "Пропущенный аудиозвонок")) : (u(), c("span", Iu, "Аудиозвонок")),
|
17142
17149
|
e.message.callDuration ? (u(), c("span", ku, N(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (u(), c("span", Nu, "Нажмите, чтобы перезвонить")) : (u(), c("span", Du, "Нет ответа")),
|
@@ -17150,7 +17157,7 @@ const Y1 = {
|
|
17150
17157
|
}, s[2] || (s[2] = [
|
17151
17158
|
A("span", { class: "pi pi-arrow-up-right" }, null, -1)
|
17152
17159
|
]))) : b("", !0),
|
17153
|
-
(u(), F(
|
17160
|
+
(u(), F(bf, { to: "body" }, [
|
17154
17161
|
Y(W, { name: "modal-fade" }, {
|
17155
17162
|
default: K(() => {
|
17156
17163
|
var o;
|
@@ -17165,8 +17172,8 @@ const Y1 = {
|
|
17165
17172
|
A("i", { class: "pi pi-times" })
|
17166
17173
|
], -1)
|
17167
17174
|
])),
|
17168
|
-
(u(!0), c(
|
17169
|
-
class:
|
17175
|
+
(u(!0), c($, null, Z((o = e.message.transcript) == null ? void 0 : o.dialog, (r, l) => (u(), c("div", {
|
17176
|
+
class: z(n(r, t.textDialog))
|
17170
17177
|
}, [
|
17171
17178
|
A("p", null, N(r.text), 1),
|
17172
17179
|
A("span", null, N(r.time), 1)
|
@@ -17201,7 +17208,7 @@ const Y1 = {
|
|
17201
17208
|
}), Uu = /* @__PURE__ */ Q(Lu, [["__scopeId", "data-v-d0876c1e"]]), Bu = { class: "typing-message" }, Qu = { class: "typing-message__container" }, Ru = ["src"], Yu = {
|
17202
17209
|
key: 1,
|
17203
17210
|
class: "typing-message__subtext"
|
17204
|
-
},
|
17211
|
+
}, qu = /* @__PURE__ */ J({
|
17205
17212
|
__name: "TypingMessage",
|
17206
17213
|
props: {
|
17207
17214
|
message: {
|
@@ -17218,7 +17225,7 @@ const Y1 = {
|
|
17218
17225
|
src: e.message.avatar,
|
17219
17226
|
height: "32",
|
17220
17227
|
width: "32",
|
17221
|
-
style:
|
17228
|
+
style: X({ gridRow: e.message.subText ? "2" : "1" })
|
17222
17229
|
}, null, 12, Ru)) : b("", !0),
|
17223
17230
|
e.message.subText ? (u(), c("p", Yu, N(e.message.subText), 1)) : b("", !0),
|
17224
17231
|
t[0] || (t[0] = A("div", { class: "typing-message__loader-container" }, [
|
@@ -17227,7 +17234,7 @@ const Y1 = {
|
|
17227
17234
|
])
|
17228
17235
|
]));
|
17229
17236
|
}
|
17230
|
-
}), Bn = /* @__PURE__ */ Q(
|
17237
|
+
}), Bn = /* @__PURE__ */ Q(qu, [["__scopeId", "data-v-88389095"]]), $u = { class: "modal-backdrop" }, Fu = {
|
17231
17238
|
class: "modal",
|
17232
17239
|
role: "dialog",
|
17233
17240
|
"aria-labelledby": "modalTitle",
|
@@ -17244,10 +17251,10 @@ const Y1 = {
|
|
17244
17251
|
}, a = M(null);
|
17245
17252
|
return (s, i) => (u(), F(W, { name: "modal-fade" }, {
|
17246
17253
|
default: K(() => [
|
17247
|
-
A("div",
|
17254
|
+
A("div", $u, [
|
17248
17255
|
A("div", Fu, [
|
17249
17256
|
A("div", Hu, [
|
17250
|
-
|
17257
|
+
ne(s.$slots, "default", {}, void 0, !0)
|
17251
17258
|
]),
|
17252
17259
|
A("div", Pu, [
|
17253
17260
|
A("button", {
|
@@ -17307,7 +17314,7 @@ function An({ component: e, attrs: f }) {
|
|
17307
17314
|
const Lc = async (e, f) => {
|
17308
17315
|
const t = await An({
|
17309
17316
|
//в component должен быть встроен emit change(key: value)
|
17310
|
-
component: import("./SelectUser2-
|
17317
|
+
component: import("./SelectUser2-I98CPO0k.js"),
|
17311
17318
|
attrs: {
|
17312
17319
|
title: e,
|
17313
17320
|
users: f
|
@@ -17337,15 +17344,15 @@ const Lc = async (e, f) => {
|
|
17337
17344
|
},
|
17338
17345
|
setup(e) {
|
17339
17346
|
const f = Yt();
|
17340
|
-
return
|
17341
|
-
id:
|
17347
|
+
return dt("chatAppId", f), (t, n) => (u(), c("div", {
|
17348
|
+
id: O(f),
|
17342
17349
|
class: "base"
|
17343
17350
|
}, [
|
17344
17351
|
A("div", {
|
17345
17352
|
class: "base__container",
|
17346
|
-
style:
|
17353
|
+
style: X({ height: e.height, width: e.width })
|
17347
17354
|
}, [
|
17348
|
-
|
17355
|
+
ne(t.$slots, "default")
|
17349
17356
|
], 4)
|
17350
17357
|
], 8, Ju));
|
17351
17358
|
}
|
@@ -17370,7 +17377,7 @@ const Lc = async (e, f) => {
|
|
17370
17377
|
emits: ["close-window", "get-size"],
|
17371
17378
|
setup(e, { emit: f }) {
|
17372
17379
|
const t = e, n = M({ x: 0, y: 0 }), a = M(null), s = M(null), i = M(!1), o = M(0), r = M(0), l = M(0), g = Yt();
|
17373
|
-
|
17380
|
+
dt("chatAppId", g);
|
17374
17381
|
const d = (y) => {
|
17375
17382
|
i.value = !0, o.value = y.clientX - a.value.offsetLeft, r.value = y.clientY - a.value.offsetTop;
|
17376
17383
|
}, m = () => i.value = !1, p = (y) => {
|
@@ -17379,7 +17386,7 @@ const Lc = async (e, f) => {
|
|
17379
17386
|
n.value.x = v, n.value.y = h;
|
17380
17387
|
}
|
17381
17388
|
};
|
17382
|
-
return
|
17389
|
+
return je(() => {
|
17383
17390
|
document.addEventListener("mousemove", p), window.addEventListener("resize", () => {
|
17384
17391
|
n.value.x = Math.max(
|
17385
17392
|
0,
|
@@ -17396,11 +17403,11 @@ const Lc = async (e, f) => {
|
|
17396
17403
|
);
|
17397
17404
|
}), l.value = a.value.offsetHeight - s.value.offsetHeight;
|
17398
17405
|
}), (y, v) => (u(), c("div", {
|
17399
|
-
id:
|
17406
|
+
id: O(g),
|
17400
17407
|
ref_key: "element",
|
17401
17408
|
ref: a,
|
17402
17409
|
class: "float-window",
|
17403
|
-
style:
|
17410
|
+
style: X({
|
17404
17411
|
left: n.value.x + "px",
|
17405
17412
|
top: n.value.y + "px",
|
17406
17413
|
userSelect: i.value ? "none" : "auto",
|
@@ -17414,7 +17421,7 @@ const Lc = async (e, f) => {
|
|
17414
17421
|
ref_key: "container",
|
17415
17422
|
ref: s,
|
17416
17423
|
class: "float-window__controls",
|
17417
|
-
style:
|
17424
|
+
style: X({ backgroundColor: t.colorTitle ? t.colorTitle : "" }),
|
17418
17425
|
onMousedown: d,
|
17419
17426
|
onMouseup: m,
|
17420
17427
|
onMouseleave: m
|
@@ -17435,9 +17442,9 @@ const Lc = async (e, f) => {
|
|
17435
17442
|
], 36),
|
17436
17443
|
A("div", {
|
17437
17444
|
class: "float-window__content",
|
17438
|
-
style:
|
17445
|
+
style: X({ height: l.value + "px" })
|
17439
17446
|
}, [
|
17440
|
-
|
17447
|
+
ne(y.$slots, "default", {}, void 0, !0)
|
17441
17448
|
], 4)
|
17442
17449
|
])
|
17443
17450
|
], 12, Gu));
|
@@ -17446,10 +17453,10 @@ const Lc = async (e, f) => {
|
|
17446
17453
|
function ic(e, f) {
|
17447
17454
|
return u(), c("div", nc, [
|
17448
17455
|
A("div", ac, [
|
17449
|
-
|
17456
|
+
ne(e.$slots, "first-col", {}, void 0, !0)
|
17450
17457
|
]),
|
17451
17458
|
A("div", sc, [
|
17452
|
-
|
17459
|
+
ne(e.$slots, "second-col", {}, void 0, !0)
|
17453
17460
|
])
|
17454
17461
|
]);
|
17455
17462
|
}
|
@@ -17468,36 +17475,36 @@ const Yc = /* @__PURE__ */ Q(tc, [["render", ic], ["__scopeId", "data-v-a5df3fcf
|
|
17468
17475
|
}, r = () => {
|
17469
17476
|
t.value = !1, document.removeEventListener("mousemove", o);
|
17470
17477
|
};
|
17471
|
-
return
|
17478
|
+
return je(() => {
|
17472
17479
|
f.value && (f.value.style.width = "350px");
|
17473
17480
|
}), (l, g) => (u(), c("div", oc, [
|
17474
17481
|
A("div", Ac, [
|
17475
|
-
|
17482
|
+
ne(l.$slots, "first-col", {}, void 0, !0)
|
17476
17483
|
]),
|
17477
17484
|
A("div", {
|
17478
17485
|
ref_key: "resizableDiv",
|
17479
17486
|
ref: f,
|
17480
17487
|
class: "extend-layout__second-col resizable-div",
|
17481
|
-
style:
|
17488
|
+
style: X({ userSelect: O(t) ? "none" : "auto" }),
|
17482
17489
|
onMousedown: i,
|
17483
17490
|
onMouseup: r
|
17484
17491
|
}, [
|
17485
|
-
|
17492
|
+
ne(l.$slots, "second-col", {}, void 0, !0)
|
17486
17493
|
], 36),
|
17487
17494
|
A("div", lc, [
|
17488
|
-
|
17495
|
+
ne(l.$slots, "third-col", {}, void 0, !0)
|
17489
17496
|
])
|
17490
17497
|
]));
|
17491
17498
|
}
|
17492
|
-
},
|
17499
|
+
}, qc = /* @__PURE__ */ Q(rc, [["__scopeId", "data-v-7c3b977d"]]), uc = {}, cc = { class: "base-layout__container" }, dc = { class: "base-layout__first-col" };
|
17493
17500
|
function gc(e, f) {
|
17494
17501
|
return u(), c("div", cc, [
|
17495
17502
|
A("div", dc, [
|
17496
|
-
|
17503
|
+
ne(e.$slots, "default", {}, void 0, !0)
|
17497
17504
|
])
|
17498
17505
|
]);
|
17499
17506
|
}
|
17500
|
-
const
|
17507
|
+
const $c = /* @__PURE__ */ Q(uc, [["render", gc], ["__scopeId", "data-v-e71ea0ed"]]), mc = { class: "chat-wrapper" }, pc = {
|
17501
17508
|
key: 0,
|
17502
17509
|
class: "chat-wrapper__selected-chat"
|
17503
17510
|
}, hc = {
|
@@ -17518,16 +17525,16 @@ const qc = /* @__PURE__ */ Q(uc, [["render", gc], ["__scopeId", "data-v-e71ea0ed
|
|
17518
17525
|
setup(e) {
|
17519
17526
|
return (f, t) => (u(), c("div", mc, [
|
17520
17527
|
e.isSelectedChat ? (u(), c("div", pc, [
|
17521
|
-
|
17528
|
+
ne(f.$slots, "default", {}, void 0, !0)
|
17522
17529
|
])) : (u(), c("div", hc, [
|
17523
|
-
A("p", null, N(
|
17530
|
+
A("p", null, N(O(Be)("layout.ChatWrapper.noSelectedChat")), 1)
|
17524
17531
|
])),
|
17525
17532
|
e.isOpenChatPanel ? (u(), c("div", {
|
17526
17533
|
key: 2,
|
17527
17534
|
class: "chat-wrapper__chat-panel",
|
17528
|
-
style:
|
17535
|
+
style: X({ "flex-basis": e.isOpenChatPanel ? "40%" : "0%" })
|
17529
17536
|
}, [
|
17530
|
-
|
17537
|
+
ne(f.$slots, "chatpanel", {}, void 0, !0)
|
17531
17538
|
], 4)) : b("", !0)
|
17532
17539
|
]));
|
17533
17540
|
}
|
@@ -17537,15 +17544,15 @@ export {
|
|
17537
17544
|
ta as B,
|
17538
17545
|
Su as C,
|
17539
17546
|
fu as D,
|
17540
|
-
|
17547
|
+
qc as E,
|
17541
17548
|
or as F,
|
17542
17549
|
Nc as G,
|
17543
17550
|
Dc as H,
|
17544
17551
|
Ir as I,
|
17545
17552
|
jc as J,
|
17546
|
-
|
17547
|
-
|
17548
|
-
|
17553
|
+
rt as K,
|
17554
|
+
Ze as L,
|
17555
|
+
Xe as M,
|
17549
17556
|
Uu as S,
|
17550
17557
|
xr as T,
|
17551
17558
|
wc as U,
|
@@ -17561,20 +17568,20 @@ export {
|
|
17561
17568
|
Vc as h,
|
17562
17569
|
xc as i,
|
17563
17570
|
Sc as j,
|
17564
|
-
|
17571
|
+
Dt as k,
|
17565
17572
|
Pi as l,
|
17566
17573
|
po as m,
|
17567
17574
|
Cc as n,
|
17568
17575
|
zc as o,
|
17569
17576
|
Oc as p,
|
17570
|
-
|
17577
|
+
ze as q,
|
17571
17578
|
Uc as r,
|
17572
17579
|
Bc as s,
|
17573
17580
|
Qc as t,
|
17574
17581
|
Lc as u,
|
17575
17582
|
Rc as v,
|
17576
17583
|
Yc as w,
|
17577
|
-
|
17584
|
+
$c as x,
|
17578
17585
|
Fc as y,
|
17579
17586
|
kc as z
|
17580
17587
|
};
|