@mobilon-dev/chotto 0.2.16 → 0.2.18

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,26 +1,26 @@
1
- import { createElementBlock as r, openBlock as l, createStaticVNode as bt, inject as se, computed as P, createCommentVNode as v, createElementVNode as o, createVNode as W, createTextVNode as Qt, toDisplayString as x, renderSlot as ie, unref as N, ref as b, customRef as g1, defineComponent as J, watch as ae, nextTick as Te, withDirectives as ge, withKeys as _a, vModelText as _t, normalizeClass as j, Fragment as K, renderList as oe, createBlock as U, Transition as le, withCtx as Z, useTemplateRef as m1, normalizeStyle as de, resolveDynamicComponent as qe, Teleport as we, onMounted as me, onUnmounted as Mt, vShow as Ve, useId as Ma, toRef as Pa, vModelRadio as wa, reactive as p1, provide as dt, getCurrentInstance as Z1, toRaw as h1, onBeforeUnmount as J1, readonly as G1, resolveComponent as An, h as qa, defineAsyncComponent as X1, createApp as ef, withModifiers as Ft } from "vue";
2
- const tf = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", nf = "ελ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", ca = "numeric", ua = "ascii", Aa = "alpha", Vt = "asciinumeric", St = "alphanumeric", da = "domain", v1 = "emoji", af = "scheme", ff = "slashscheme", ea = "whitespace";
3
- function sf(e, t) {
1
+ import { createElementBlock as r, openBlock as l, createStaticVNode as bt, inject as se, computed as P, createCommentVNode as v, createElementVNode as o, createVNode as W, createTextVNode as Qt, toDisplayString as x, renderSlot as ie, unref as D, ref as b, customRef as mf, defineComponent as J, watch as ae, nextTick as Te, withDirectives as ge, withKeys as Ma, vModelText as Mt, normalizeClass as j, Fragment as K, renderList as oe, createBlock as U, Transition as le, withCtx as Z, useTemplateRef as pf, normalizeStyle as ce, resolveDynamicComponent as qe, Teleport as we, onMounted as me, onUnmounted as _t, vShow as Ve, useId as _a, toRef as Pa, vModelRadio as wa, reactive as hf, provide as dt, getCurrentInstance as Jf, toRaw as vf, onBeforeUnmount as Gf, readonly as Xf, resolveComponent as An, h as qa, defineAsyncComponent as e1, createApp as t1, withModifiers as Ft } from "vue";
2
+ const n1 = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", a1 = "ελ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", ca = "numeric", ua = "ascii", Aa = "alpha", Vt = "asciinumeric", St = "alphanumeric", da = "domain", yf = "emoji", f1 = "scheme", s1 = "slashscheme", ea = "whitespace";
3
+ function i1(e, t) {
4
4
  return e in t || (t[e] = []), t[e];
5
5
  }
6
6
  function rt(e, t, n) {
7
- t[ca] && (t[Vt] = !0, t[St] = !0), t[ua] && (t[Vt] = !0, t[Aa] = !0), t[Vt] && (t[St] = !0), t[Aa] && (t[St] = !0), t[St] && (t[da] = !0), t[v1] && (t[da] = !0);
7
+ t[ca] && (t[Vt] = !0, t[St] = !0), t[ua] && (t[Vt] = !0, t[Aa] = !0), t[Vt] && (t[St] = !0), t[Aa] && (t[St] = !0), t[St] && (t[da] = !0), t[yf] && (t[da] = !0);
8
8
  for (const a in t) {
9
- const f = sf(a, n);
9
+ const f = i1(a, n);
10
10
  f.indexOf(e) < 0 && f.push(e);
11
11
  }
12
12
  }
13
- function of(e, t) {
13
+ function o1(e, t) {
14
14
  const n = {};
15
15
  for (const a in t)
16
16
  t[a].indexOf(e) >= 0 && (n[a] = !0);
17
17
  return n;
18
18
  }
19
- function Me(e = null) {
19
+ function _e(e = null) {
20
20
  this.j = {}, this.jr = [], this.jd = null, this.t = e;
21
21
  }
22
- Me.groups = {};
23
- Me.prototype = {
22
+ _e.groups = {};
23
+ _e.prototype = {
24
24
  accepts() {
25
25
  return !!this.t;
26
26
  },
@@ -73,9 +73,9 @@ Me.prototype = {
73
73
  * @returns {State<T>} taken after the given input
74
74
  */
75
75
  tr(e, t, n, a) {
76
- a = a || Me.groups;
76
+ a = a || _e.groups;
77
77
  let f;
78
- return t && t.j ? f = t : (f = new Me(t), n && a && rt(t, n, a)), this.jr.push([e, f]), f;
78
+ return t && t.j ? f = t : (f = new _e(t), n && a && rt(t, n, a)), this.jr.push([e, f]), f;
79
79
  },
80
80
  /**
81
81
  * Short for "take transitions", will take as many sequential transitions as
@@ -123,16 +123,16 @@ Me.prototype = {
123
123
  * @returns {State<T>} taken after the given input
124
124
  */
125
125
  tt(e, t, n, a) {
126
- a = a || Me.groups;
126
+ a = a || _e.groups;
127
127
  const f = this;
128
128
  if (t && t.j)
129
129
  return f.j[e] = t, t;
130
130
  const i = t;
131
131
  let s, u = f.go(e);
132
- if (u ? (s = new Me(), Object.assign(s.j, u.j), s.jr.push.apply(s.jr, u.jr), s.jd = u.jd, s.t = u.t) : s = new Me(), i) {
132
+ if (u ? (s = new _e(), Object.assign(s.j, u.j), s.jr.push.apply(s.jr, u.jr), s.jd = u.jd, s.t = u.t) : s = new _e(), i) {
133
133
  if (a)
134
134
  if (s.t && typeof s.t == "string") {
135
- const c = Object.assign(of(s.t, a), n);
135
+ const c = Object.assign(o1(s.t, a), n);
136
136
  rt(i, c, a);
137
137
  } else n && rt(i, n, a);
138
138
  s.t = i;
@@ -140,19 +140,19 @@ Me.prototype = {
140
140
  return f.j[e] = s, s;
141
141
  }
142
142
  };
143
- const G = (e, t, n, a, f) => e.ta(t, n, a, f), ue = (e, t, n, a, f) => e.tr(t, n, a, f), Ha = (e, t, n, a, f) => e.ts(t, n, a, f), S = (e, t, n, a, f) => e.tt(t, n, a, f), Ge = "WORD", ga = "UWORD", y1 = "ASCIINUMERICAL", b1 = "ALPHANUMERICAL", Yt = "LOCALHOST", ma = "TLD", pa = "UTLD", dn = "SCHEME", At = "SLASH_SCHEME", Ca = "NUM", ha = "WS", Ia = "NL", Ot = "OPENBRACE", zt = "CLOSEBRACE", pn = "OPENBRACKET", hn = "CLOSEBRACKET", vn = "OPENPAREN", yn = "CLOSEPAREN", bn = "OPENANGLEBRACKET", _n = "CLOSEANGLEBRACKET", Mn = "FULLWIDTHLEFTPAREN", wn = "FULLWIDTHRIGHTPAREN", Cn = "LEFTCORNERBRACKET", In = "RIGHTCORNERBRACKET", kn = "LEFTWHITECORNERBRACKET", Nn = "RIGHTWHITECORNERBRACKET", Dn = "FULLWIDTHLESSTHAN", xn = "FULLWIDTHGREATERTHAN", Tn = "AMPERSAND", En = "APOSTROPHE", jn = "ASTERISK", et = "AT", Sn = "BACKSLASH", Vn = "BACKTICK", On = "CARET", tt = "COLON", ka = "COMMA", zn = "DOLLAR", Ye = "DOT", Ln = "EQUALS", Na = "EXCLAMATION", Ne = "HYPHEN", Lt = "PERCENT", Un = "PIPE", Bn = "PLUS", $n = "POUND", Ut = "QUERY", Da = "QUOTE", _1 = "FULLWIDTHMIDDLEDOT", xa = "SEMI", Pe = "SLASH", Bt = "TILDE", Rn = "UNDERSCORE", M1 = "EMOJI", Qn = "SYM";
144
- var w1 = /* @__PURE__ */ Object.freeze({
143
+ const G = (e, t, n, a, f) => e.ta(t, n, a, f), Ae = (e, t, n, a, f) => e.tr(t, n, a, f), Ha = (e, t, n, a, f) => e.ts(t, n, a, f), S = (e, t, n, a, f) => e.tt(t, n, a, f), Ge = "WORD", ga = "UWORD", bf = "ASCIINUMERICAL", Mf = "ALPHANUMERICAL", Yt = "LOCALHOST", ma = "TLD", pa = "UTLD", dn = "SCHEME", At = "SLASH_SCHEME", Ca = "NUM", ha = "WS", Ia = "NL", Ot = "OPENBRACE", zt = "CLOSEBRACE", pn = "OPENBRACKET", hn = "CLOSEBRACKET", vn = "OPENPAREN", yn = "CLOSEPAREN", bn = "OPENANGLEBRACKET", Mn = "CLOSEANGLEBRACKET", _n = "FULLWIDTHLEFTPAREN", wn = "FULLWIDTHRIGHTPAREN", Cn = "LEFTCORNERBRACKET", In = "RIGHTCORNERBRACKET", kn = "LEFTWHITECORNERBRACKET", Dn = "RIGHTWHITECORNERBRACKET", Nn = "FULLWIDTHLESSTHAN", xn = "FULLWIDTHGREATERTHAN", Tn = "AMPERSAND", En = "APOSTROPHE", jn = "ASTERISK", et = "AT", Sn = "BACKSLASH", Vn = "BACKTICK", On = "CARET", tt = "COLON", ka = "COMMA", zn = "DOLLAR", Ye = "DOT", Ln = "EQUALS", Da = "EXCLAMATION", De = "HYPHEN", Lt = "PERCENT", Un = "PIPE", Bn = "PLUS", $n = "POUND", Ut = "QUERY", Na = "QUOTE", _f = "FULLWIDTHMIDDLEDOT", xa = "SEMI", Pe = "SLASH", Bt = "TILDE", Rn = "UNDERSCORE", wf = "EMOJI", Qn = "SYM";
144
+ var Cf = /* @__PURE__ */ Object.freeze({
145
145
  __proto__: null,
146
- ALPHANUMERICAL: b1,
146
+ ALPHANUMERICAL: Mf,
147
147
  AMPERSAND: Tn,
148
148
  APOSTROPHE: En,
149
- ASCIINUMERICAL: y1,
149
+ ASCIINUMERICAL: bf,
150
150
  ASTERISK: jn,
151
151
  AT: et,
152
152
  BACKSLASH: Sn,
153
153
  BACKTICK: Vn,
154
154
  CARET: On,
155
- CLOSEANGLEBRACKET: _n,
155
+ CLOSEANGLEBRACKET: Mn,
156
156
  CLOSEBRACE: zt,
157
157
  CLOSEBRACKET: hn,
158
158
  CLOSEPAREN: yn,
@@ -160,15 +160,15 @@ var w1 = /* @__PURE__ */ Object.freeze({
160
160
  COMMA: ka,
161
161
  DOLLAR: zn,
162
162
  DOT: Ye,
163
- EMOJI: M1,
163
+ EMOJI: wf,
164
164
  EQUALS: Ln,
165
- EXCLAMATION: Na,
165
+ EXCLAMATION: Da,
166
166
  FULLWIDTHGREATERTHAN: xn,
167
- FULLWIDTHLEFTPAREN: Mn,
168
- FULLWIDTHLESSTHAN: Dn,
169
- FULLWIDTHMIDDLEDOT: _1,
167
+ FULLWIDTHLEFTPAREN: _n,
168
+ FULLWIDTHLESSTHAN: Nn,
169
+ FULLWIDTHMIDDLEDOT: _f,
170
170
  FULLWIDTHRIGHTPAREN: wn,
171
- HYPHEN: Ne,
171
+ HYPHEN: De,
172
172
  LEFTCORNERBRACKET: Cn,
173
173
  LEFTWHITECORNERBRACKET: kn,
174
174
  LOCALHOST: Yt,
@@ -183,9 +183,9 @@ var w1 = /* @__PURE__ */ Object.freeze({
183
183
  PLUS: Bn,
184
184
  POUND: $n,
185
185
  QUERY: Ut,
186
- QUOTE: Da,
186
+ QUOTE: Na,
187
187
  RIGHTCORNERBRACKET: In,
188
- RIGHTWHITECORNERBRACKET: Nn,
188
+ RIGHTWHITECORNERBRACKET: Dn,
189
189
  SCHEME: dn,
190
190
  SEMI: xa,
191
191
  SLASH: Pe,
@@ -200,46 +200,46 @@ var w1 = /* @__PURE__ */ Object.freeze({
200
200
  WS: ha
201
201
  });
202
202
  const Ze = /[a-z]/, xt = new RegExp("\\p{L}", "u"), ta = new RegExp("\\p{Emoji}", "u"), Je = /\d/, na = /\s/, Wa = "\r", aa = `
203
- `, lf = "️", rf = "‍", fa = "";
203
+ `, l1 = "️", r1 = "‍", fa = "";
204
204
  let on = null, ln = null;
205
- function cf(e = []) {
205
+ function c1(e = []) {
206
206
  const t = {};
207
- Me.groups = t;
208
- const n = new Me();
209
- on == null && (on = Ka(tf)), ln == null && (ln = Ka(nf)), S(n, "'", En), S(n, "{", Ot), S(n, "}", zt), S(n, "[", pn), S(n, "]", hn), S(n, "(", vn), S(n, ")", yn), S(n, "<", bn), S(n, ">", _n), S(n, "(", Mn), S(n, ")", wn), S(n, "「", Cn), S(n, "」", In), S(n, "『", kn), S(n, "』", Nn), S(n, "<", Dn), S(n, ">", xn), S(n, "&", Tn), S(n, "*", jn), S(n, "@", et), S(n, "`", Vn), S(n, "^", On), S(n, ":", tt), S(n, ",", ka), S(n, "$", zn), S(n, ".", Ye), S(n, "=", Ln), S(n, "!", Na), S(n, "-", Ne), S(n, "%", Lt), S(n, "|", Un), S(n, "+", Bn), S(n, "#", $n), S(n, "?", Ut), S(n, '"', Da), S(n, "/", Pe), S(n, ";", xa), S(n, "~", Bt), S(n, "_", Rn), S(n, "\\", Sn), S(n, "・", _1);
210
- const a = ue(n, Je, Ca, {
207
+ _e.groups = t;
208
+ const n = new _e();
209
+ on == null && (on = Ka(n1)), ln == null && (ln = Ka(a1)), S(n, "'", En), S(n, "{", Ot), S(n, "}", zt), S(n, "[", pn), S(n, "]", hn), S(n, "(", vn), S(n, ")", yn), S(n, "<", bn), S(n, ">", Mn), S(n, "(", _n), S(n, ")", wn), S(n, "「", Cn), S(n, "」", In), S(n, "『", kn), S(n, "』", Dn), S(n, "<", Nn), S(n, ">", xn), S(n, "&", Tn), S(n, "*", jn), S(n, "@", et), S(n, "`", Vn), S(n, "^", On), S(n, ":", tt), S(n, ",", ka), S(n, "$", zn), S(n, ".", Ye), S(n, "=", Ln), S(n, "!", Da), S(n, "-", De), S(n, "%", Lt), S(n, "|", Un), S(n, "+", Bn), S(n, "#", $n), S(n, "?", Ut), S(n, '"', Na), S(n, "/", Pe), S(n, ";", xa), S(n, "~", Bt), S(n, "_", Rn), S(n, "\\", Sn), S(n, "・", _f);
210
+ const a = Ae(n, Je, Ca, {
211
211
  [ca]: !0
212
212
  });
213
- ue(a, Je, a);
214
- const f = ue(a, Ze, y1, {
213
+ Ae(a, Je, a);
214
+ const f = Ae(a, Ze, bf, {
215
215
  [Vt]: !0
216
- }), i = ue(a, xt, b1, {
216
+ }), i = Ae(a, xt, Mf, {
217
217
  [St]: !0
218
- }), s = ue(n, Ze, Ge, {
218
+ }), s = Ae(n, Ze, Ge, {
219
219
  [ua]: !0
220
220
  });
221
- ue(s, Je, f), ue(s, Ze, s), ue(f, Je, f), ue(f, Ze, f);
222
- const u = ue(n, xt, ga, {
221
+ Ae(s, Je, f), Ae(s, Ze, s), Ae(f, Je, f), Ae(f, Ze, f);
222
+ const u = Ae(n, xt, ga, {
223
223
  [Aa]: !0
224
224
  });
225
- ue(u, Ze), ue(u, Je, i), ue(u, xt, u), ue(i, Je, i), ue(i, Ze), ue(i, xt, i);
225
+ Ae(u, Ze), Ae(u, Je, i), Ae(u, xt, u), Ae(i, Je, i), Ae(i, Ze), Ae(i, xt, i);
226
226
  const c = S(n, aa, Ia, {
227
227
  [ea]: !0
228
228
  }), A = S(n, Wa, ha, {
229
229
  [ea]: !0
230
- }), d = ue(n, na, ha, {
230
+ }), d = Ae(n, na, ha, {
231
231
  [ea]: !0
232
232
  });
233
- S(n, fa, d), S(A, aa, c), S(A, fa, d), ue(A, na, d), S(d, Wa), S(d, aa), ue(d, na, d), S(d, fa, d);
234
- const g = ue(n, ta, M1, {
235
- [v1]: !0
233
+ S(n, fa, d), S(A, aa, c), S(A, fa, d), Ae(A, na, d), S(d, Wa), S(d, aa), Ae(d, na, d), S(d, fa, d);
234
+ const g = Ae(n, ta, wf, {
235
+ [yf]: !0
236
236
  });
237
- S(g, "#"), ue(g, ta, g), S(g, lf, g);
238
- const p = S(g, rf);
239
- S(p, "#"), ue(p, ta, g);
240
- const M = [[Ze, s], [Je, f]], h = [[Ze, null], [xt, u], [Je, i]];
237
+ S(g, "#"), Ae(g, ta, g), S(g, l1, g);
238
+ const p = S(g, r1);
239
+ S(p, "#"), Ae(p, ta, g);
240
+ const _ = [[Ze, s], [Je, f]], h = [[Ze, null], [xt, u], [Je, i]];
241
241
  for (let y = 0; y < on.length; y++)
242
- Xe(n, on[y], ma, Ge, M);
242
+ Xe(n, on[y], ma, Ge, _);
243
243
  for (let y = 0; y < ln.length; y++)
244
244
  Xe(n, ln[y], pa, ga, h);
245
245
  rt(ma, {
@@ -248,7 +248,7 @@ function cf(e = []) {
248
248
  }, t), rt(pa, {
249
249
  utld: !0,
250
250
  alpha: !0
251
- }, t), Xe(n, "file", dn, Ge, M), Xe(n, "mailto", dn, Ge, M), Xe(n, "http", At, Ge, M), Xe(n, "https", At, Ge, M), Xe(n, "ftp", At, Ge, M), Xe(n, "ftps", At, Ge, M), rt(dn, {
251
+ }, t), Xe(n, "file", dn, Ge, _), Xe(n, "mailto", dn, Ge, _), Xe(n, "http", At, Ge, _), Xe(n, "https", At, Ge, _), Xe(n, "ftp", At, Ge, _), Xe(n, "ftps", At, Ge, _), rt(dn, {
252
252
  scheme: !0,
253
253
  ascii: !0
254
254
  }, t), rt(At, {
@@ -257,23 +257,23 @@ function cf(e = []) {
257
257
  }, t), e = e.sort((y, m) => y[0] > m[0] ? 1 : -1);
258
258
  for (let y = 0; y < e.length; y++) {
259
259
  const m = e[y][0], T = e[y][1] ? {
260
- [af]: !0
260
+ [f1]: !0
261
261
  } : {
262
- [ff]: !0
262
+ [s1]: !0
263
263
  };
264
264
  m.indexOf("-") >= 0 ? T[da] = !0 : Ze.test(m) ? Je.test(m) ? T[Vt] = !0 : T[ua] = !0 : T[ca] = !0, Ha(n, m, m, T);
265
265
  }
266
266
  return Ha(n, "localhost", Yt, {
267
267
  ascii: !0
268
- }), n.jd = new Me(Qn), {
268
+ }), n.jd = new _e(Qn), {
269
269
  start: n,
270
270
  tokens: Object.assign({
271
271
  groups: t
272
- }, w1)
272
+ }, Cf)
273
273
  };
274
274
  }
275
- function C1(e, t) {
276
- const n = uf(t.replace(/[A-Z]/g, (u) => u.toLowerCase())), a = n.length, f = [];
275
+ function If(e, t) {
276
+ const n = u1(t.replace(/[A-Z]/g, (u) => u.toLowerCase())), a = n.length, f = [];
277
277
  let i = 0, s = 0;
278
278
  for (; s < a; ) {
279
279
  let u = e, c = null, A = 0, d = null, g = -1, p = -1;
@@ -292,7 +292,7 @@ function C1(e, t) {
292
292
  }
293
293
  return f;
294
294
  }
295
- function uf(e) {
295
+ function u1(e) {
296
296
  const t = [], n = e.length;
297
297
  let a = 0;
298
298
  for (; a < n; ) {
@@ -306,9 +306,9 @@ function Xe(e, t, n, a, f) {
306
306
  const s = t.length;
307
307
  for (let u = 0; u < s - 1; u++) {
308
308
  const c = t[u];
309
- e.j[c] ? i = e.j[c] : (i = new Me(a), i.jr = f.slice(), e.j[c] = i), e = i;
309
+ e.j[c] ? i = e.j[c] : (i = new _e(a), i.jr = f.slice(), e.j[c] = i), e = i;
310
310
  }
311
- return i = new Me(n), i.jr = f.slice(), e.j[t[s - 1]] = i, i;
311
+ return i = new _e(n), i.jr = f.slice(), e.j[t[s - 1]] = i, i;
312
312
  }
313
313
  function Ka(e) {
314
314
  const t = [], n = [];
@@ -416,10 +416,10 @@ Ta.prototype = {
416
416
  function Za(e) {
417
417
  return e;
418
418
  }
419
- function I1(e, t) {
419
+ function kf(e, t) {
420
420
  this.t = "token", this.v = e, this.tk = t;
421
421
  }
422
- I1.prototype = {
422
+ kf.prototype = {
423
423
  isLink: !1,
424
424
  /**
425
425
  * Return the string this token represents.
@@ -524,7 +524,7 @@ I1.prototype = {
524
524
  }
525
525
  };
526
526
  function Pn(e, t) {
527
- class n extends I1 {
527
+ class n extends kf {
528
528
  constructor(f, i) {
529
529
  super(f, i), this.t = e;
530
530
  }
@@ -538,7 +538,7 @@ const Ja = Pn("email", {
538
538
  toHref() {
539
539
  return "mailto:" + this.toString();
540
540
  }
541
- }), Ga = Pn("text"), Af = Pn("nl"), rn = Pn("url", {
541
+ }), Ga = Pn("text"), A1 = Pn("nl"), rn = Pn("url", {
542
542
  isLink: !0,
543
543
  /**
544
544
  Lowercases relevant parts of the domain and adds the protocol if
@@ -558,11 +558,11 @@ const Ja = Pn("email", {
558
558
  const e = this.tk;
559
559
  return e.length >= 2 && e[0].t !== Yt && e[1].t === tt;
560
560
  }
561
- }), ke = (e) => new Me(e);
562
- function df({
561
+ }), ke = (e) => new _e(e);
562
+ function d1({
563
563
  groups: e
564
564
  }) {
565
- const t = e.domain.concat([Tn, jn, et, Sn, Vn, On, zn, Ln, Ne, Ca, Lt, Un, Bn, $n, Pe, Qn, Bt, Rn]), n = [En, tt, ka, Ye, Na, Lt, Ut, Da, xa, bn, _n, Ot, zt, hn, pn, vn, yn, Mn, wn, Cn, In, kn, Nn, Dn, xn], a = [Tn, En, jn, Sn, Vn, On, zn, Ln, Ne, Ot, zt, Lt, Un, Bn, $n, Ut, Pe, Qn, Bt, Rn], f = ke(), i = S(f, Bt);
565
+ const t = e.domain.concat([Tn, jn, et, Sn, Vn, On, zn, Ln, De, Ca, Lt, Un, Bn, $n, Pe, Qn, Bt, Rn]), n = [En, tt, ka, Ye, Da, Lt, Ut, Na, xa, bn, Mn, Ot, zt, hn, pn, vn, yn, _n, wn, Cn, In, kn, Dn, Nn, xn], a = [Tn, En, jn, Sn, Vn, On, zn, Ln, De, Ot, zt, Lt, Un, Bn, $n, Ut, Pe, Qn, Bt, Rn], f = ke(), i = S(f, Bt);
566
566
  G(i, a, i), G(i, e.domain, i);
567
567
  const s = ke(), u = ke(), c = ke();
568
568
  G(f, e.domain, s), G(f, e.scheme, u), G(f, e.slashscheme, c), G(s, a, i), G(s, e.domain, s);
@@ -574,22 +574,22 @@ function df({
574
574
  G(A, e.domain, g), G(g, e.domain, g);
575
575
  const p = S(g, Ye);
576
576
  G(p, e.domain, g);
577
- const M = ke(Ja);
578
- G(p, e.tld, M), G(p, e.utld, M), S(A, Yt, M);
579
- const h = S(g, Ne);
580
- S(h, Ne, h), G(h, e.domain, g), G(M, e.domain, g), S(M, Ye, p), S(M, Ne, h);
581
- const y = S(M, tt);
577
+ const _ = ke(Ja);
578
+ G(p, e.tld, _), G(p, e.utld, _), S(A, Yt, _);
579
+ const h = S(g, De);
580
+ S(h, De, h), G(h, e.domain, g), G(_, e.domain, g), S(_, Ye, p), S(_, De, h);
581
+ const y = S(_, tt);
582
582
  G(y, e.numeric, Ja);
583
- const m = S(s, Ne), k = S(s, Ye);
584
- S(m, Ne, m), G(m, e.domain, s), G(k, a, i), G(k, e.domain, s);
583
+ const m = S(s, De), k = S(s, Ye);
584
+ S(m, De, m), G(m, e.domain, s), G(k, a, i), G(k, e.domain, s);
585
585
  const T = ke(rn);
586
- G(k, e.tld, T), G(k, e.utld, T), G(T, e.domain, s), G(T, a, i), S(T, Ye, k), S(T, Ne, m), S(T, et, A);
586
+ G(k, e.tld, T), G(k, e.utld, T), G(T, e.domain, s), G(T, a, i), S(T, Ye, k), S(T, De, m), S(T, et, A);
587
587
  const I = S(T, tt), C = ke(rn);
588
588
  G(I, e.numeric, C);
589
- const w = ke(rn), _ = ke();
590
- G(w, t, w), G(w, n, _), G(_, t, w), G(_, n, _), S(T, Pe, w), S(C, Pe, w);
591
- const D = S(u, tt), V = S(c, tt), z = S(V, Pe), Y = S(z, Pe);
592
- G(u, e.domain, s), S(u, Ye, k), S(u, Ne, m), G(c, e.domain, s), S(c, Ye, k), S(c, Ne, m), G(D, e.domain, w), S(D, Pe, w), S(D, Ut, w), G(Y, e.domain, w), G(Y, t, w), S(Y, Pe, w);
589
+ const w = ke(rn), M = ke();
590
+ G(w, t, w), G(w, n, M), G(M, t, w), G(M, n, M), S(T, Pe, w), S(C, Pe, w);
591
+ const N = S(u, tt), V = S(c, tt), z = S(V, Pe), Y = S(z, Pe);
592
+ G(u, e.domain, s), S(u, Ye, k), S(u, De, m), G(c, e.domain, s), S(c, Ye, k), S(c, De, m), G(N, e.domain, w), S(N, Pe, w), S(N, Ut, w), G(Y, e.domain, w), G(Y, t, w), S(Y, Pe, w);
593
593
  const X = [
594
594
  [Ot, zt],
595
595
  // {}
@@ -597,31 +597,31 @@ function df({
597
597
  // []
598
598
  [vn, yn],
599
599
  // ()
600
- [bn, _n],
600
+ [bn, Mn],
601
601
  // <>
602
- [Mn, wn],
602
+ [_n, wn],
603
603
  // ()
604
604
  [Cn, In],
605
605
  // 「」
606
- [kn, Nn],
606
+ [kn, Dn],
607
607
  // 『』
608
- [Dn, xn]
608
+ [Nn, xn]
609
609
  // <>
610
610
  ];
611
611
  for (let $ = 0; $ < X.length; $++) {
612
612
  const [R, ee] = X[$], fe = S(w, R);
613
- S(_, R, fe), S(fe, ee, w);
613
+ S(M, R, fe), S(fe, ee, w);
614
614
  const te = ke(rn);
615
615
  G(fe, t, te);
616
616
  const re = ke();
617
617
  G(fe, n), G(te, t, te), G(te, n, re), G(re, t, te), G(re, n, re), S(te, ee, w), S(re, ee, w);
618
618
  }
619
- return S(f, Yt, T), S(f, Ia, Af), {
619
+ return S(f, Yt, T), S(f, Ia, A1), {
620
620
  start: f,
621
- tokens: w1
621
+ tokens: Cf
622
622
  };
623
623
  }
624
- function gf(e, t, n) {
624
+ function g1(e, t, n) {
625
625
  let a = n.length, f = 0, i = [], s = [];
626
626
  for (; f < a; ) {
627
627
  let u = e, c = null, A = null, d = 0, g = null, p = -1;
@@ -633,8 +633,8 @@ function gf(e, t, n) {
633
633
  f -= d, f < a && (s.push(n[f]), f++);
634
634
  else {
635
635
  s.length > 0 && (i.push(sa(Ga, t, s)), s = []), f -= p, d -= p;
636
- const M = g.t, h = n.slice(f - d, f);
637
- i.push(sa(M, t, h));
636
+ const _ = g.t, h = n.slice(f - d, f);
637
+ i.push(sa(_, t, h));
638
638
  }
639
639
  }
640
640
  return s.length > 0 && i.push(sa(Ga, t, s)), i;
@@ -651,13 +651,13 @@ const he = {
651
651
  customSchemes: [],
652
652
  initialized: !1
653
653
  };
654
- function mf() {
655
- he.scanner = cf(he.customSchemes);
654
+ function m1() {
655
+ he.scanner = c1(he.customSchemes);
656
656
  for (let e = 0; e < he.tokenQueue.length; e++)
657
657
  he.tokenQueue[e][1]({
658
658
  scanner: he.scanner
659
659
  });
660
- he.parser = df(he.scanner.tokens);
660
+ he.parser = d1(he.scanner.tokens);
661
661
  for (let e = 0; e < he.pluginQueue.length; e++)
662
662
  he.pluginQueue[e][1]({
663
663
  scanner: he.scanner,
@@ -665,38 +665,38 @@ function mf() {
665
665
  });
666
666
  return he.initialized = !0, he;
667
667
  }
668
- function k1(e) {
669
- return he.initialized || mf(), gf(he.parser.start, e, C1(he.scanner.start, e));
668
+ function Df(e) {
669
+ return he.initialized || m1(), g1(he.parser.start, e, If(he.scanner.start, e));
670
670
  }
671
- k1.scan = C1;
672
- function N1(e) {
671
+ Df.scan = If;
672
+ function Nf(e) {
673
673
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
674
674
  }
675
- function pf(e) {
675
+ function p1(e) {
676
676
  return e.replace(/"/g, "&quot;");
677
677
  }
678
- function hf(e) {
678
+ function h1(e) {
679
679
  const t = [];
680
680
  for (const n in e) {
681
681
  let a = e[n] + "";
682
- t.push(`${n}="${pf(a)}"`);
682
+ t.push(`${n}="${p1(a)}"`);
683
683
  }
684
684
  return t.join(" ");
685
685
  }
686
- function vf({
686
+ function v1({
687
687
  tagName: e,
688
688
  attributes: t,
689
689
  content: n
690
690
  }) {
691
- return `<${e} ${hf(t)}>${N1(n)}</${e}>`;
691
+ return `<${e} ${h1(t)}>${Nf(n)}</${e}>`;
692
692
  }
693
693
  function Oe(e, t = {}) {
694
- t = new Ta(t, vf);
695
- const n = k1(e), a = [];
694
+ t = new Ta(t, v1);
695
+ const n = Df(e), a = [];
696
696
  for (let f = 0; f < n.length; f++) {
697
697
  const i = n[f];
698
698
  i.t === "nl" && t.get("nl2br") ? a.push(`<br>
699
- `) : !i.isLink || !t.check(i) ? a.push(N1(i.toString())) : a.push(t.render(i));
699
+ `) : !i.isLink || !t.check(i) ? a.push(Nf(i.toString())) : a.push(t.render(i));
700
700
  }
701
701
  return a.join("");
702
702
  }
@@ -711,7 +711,7 @@ const O = (e, t) => {
711
711
  for (const [a, f] of t)
712
712
  n[a] = f;
713
713
  return n;
714
- }, yf = {
714
+ }, y1 = {
715
715
  name: "AvatarIcon",
716
716
  props: {
717
717
  size: {
@@ -735,8 +735,8 @@ const O = (e, t) => {
735
735
  return this.height || this.size;
736
736
  }
737
737
  }
738
- }, bf = ["width", "height"];
739
- function _f(e, t, n, a, f, i) {
738
+ }, b1 = ["width", "height"];
739
+ function M1(e, t, n, a, f, i) {
740
740
  return l(), r("svg", {
741
741
  width: n.size,
742
742
  height: n.size,
@@ -745,21 +745,21 @@ function _f(e, t, n, a, f, i) {
745
745
  xmlns: "http://www.w3.org/2000/svg"
746
746
  }, t[0] || (t[0] = [
747
747
  bt('<g clip-path="url(#clip0_4389_421)"><path d="M35.4075 18.75C35.4075 21.2364 34.3978 23.621 32.6005 25.3791C30.8032 27.1373 28.3655 28.125 25.8237 28.125C23.282 28.125 20.8443 27.1373 19.047 25.3791C17.2497 23.621 16.24 21.2364 16.24 18.75C16.24 16.2636 17.2497 13.879 19.047 12.1209C20.8443 10.3627 23.282 9.375 25.8237 9.375C28.3655 9.375 30.8032 10.3627 32.6005 12.1209C34.3978 13.879 35.4075 16.2636 35.4075 18.75Z" fill="#DCDCDC"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M0.26709 25C0.26709 18.3696 2.95966 12.0107 7.75247 7.32233C12.5453 2.63392 19.0457 0 25.8238 0C32.6018 0 39.1023 2.63392 43.8951 7.32233C48.6879 12.0107 51.3805 18.3696 51.3805 25C51.3805 31.6304 48.6879 37.9893 43.8951 42.6777C39.1023 47.3661 32.6018 50 25.8238 50C19.0457 50 12.5453 47.3661 7.75247 42.6777C2.95966 37.9893 0.26709 31.6304 0.26709 25ZM25.8238 3.125C21.6126 3.12522 17.4871 4.28863 13.922 6.48134C10.357 8.67404 7.49734 11.8069 5.67221 15.5194C3.84709 19.2318 3.13067 23.3729 3.60543 27.4661C4.08018 31.5593 5.72681 35.4382 8.35578 38.6562C10.6239 35.0812 15.6171 31.25 25.8238 31.25C36.0305 31.25 41.0204 35.0781 43.2918 38.6562C45.9207 35.4382 47.5674 31.5593 48.0421 27.4661C48.5169 23.3729 47.8005 19.2318 45.9753 15.5194C44.1502 11.8069 41.2906 8.67404 37.7255 6.48134C34.1605 4.28863 30.0349 3.12522 25.8238 3.125Z" fill="#DCDCDC"></path></g><defs><clipPath id="clip0_4389_421"><rect width="51.1134" height="50" fill="white" transform="translate(0.26709)"></rect></clipPath></defs>', 2)
748
- ]), 8, bf);
748
+ ]), 8, b1);
749
749
  }
750
- const D1 = /* @__PURE__ */ O(yf, [["render", _f]]), Mf = {
750
+ const xf = /* @__PURE__ */ O(y1, [["render", M1]]), _1 = {
751
751
  key: 0,
752
752
  class: "chat-info__container"
753
- }, wf = { class: "chat-info__base-line" }, Cf = { class: "chat-info__avatar-container" }, If = ["src"], kf = {
753
+ }, w1 = { class: "chat-info__base-line" }, C1 = { class: "chat-info__avatar-container" }, I1 = ["src"], k1 = {
754
754
  key: 1,
755
755
  class: ""
756
- }, Nf = { class: "chat-info__info-container" }, Df = { class: "chat-info__title" }, xf = {
756
+ }, D1 = { class: "chat-info__info-container" }, N1 = { class: "chat-info__title" }, x1 = {
757
757
  key: 0,
758
758
  class: "chat-info__additional-title"
759
- }, Tf = {
759
+ }, T1 = {
760
760
  key: 0,
761
761
  class: "chat-info__time"
762
- }, Ef = { class: "chat-info__actions" }, jf = ["id"], Sf = {
762
+ }, E1 = { class: "chat-info__actions" }, j1 = ["id"], S1 = {
763
763
  __name: "ChatInfo",
764
764
  props: {
765
765
  chat: {
@@ -793,56 +793,56 @@ const D1 = /* @__PURE__ */ O(yf, [["render", _f]]), Mf = {
793
793
  if (n.description) return n.description;
794
794
  if (!n.description && n.defaultLastActivityTime) return n.chat["lastActivity.time"];
795
795
  });
796
- return (s, u) => e.chat ? (l(), r("div", Mf, [
797
- o("div", wf, [
796
+ return (s, u) => e.chat ? (l(), r("div", _1, [
797
+ o("div", w1, [
798
798
  e.showReturnButton ? (l(), r("span", {
799
799
  key: 0,
800
800
  class: "pi pi-arrow-left chat-info__return-button",
801
801
  onClick: u[0] || (u[0] = (c) => a("returnToChats"))
802
802
  })) : v("", !0),
803
- o("div", Cf, [
803
+ o("div", C1, [
804
804
  n.chat.avatar ? (l(), r("img", {
805
805
  key: 0,
806
806
  src: n.chat.avatar,
807
807
  width: "40",
808
808
  height: "40"
809
- }, null, 8, If)) : (l(), r("span", kf, [
810
- W(D1, { size: 40 })
809
+ }, null, 8, I1)) : (l(), r("span", k1, [
810
+ W(xf, { size: 40 })
811
811
  ]))
812
812
  ]),
813
- o("div", Nf, [
814
- o("span", Df, [
813
+ o("div", D1, [
814
+ o("span", N1, [
815
815
  Qt(x(e.chat.name) + " ", 1),
816
- e.additionalTitle ? (l(), r("span", xf, x(e.additionalTitle), 1)) : v("", !0)
816
+ e.additionalTitle ? (l(), r("span", x1, x(e.additionalTitle), 1)) : v("", !0)
817
817
  ]),
818
- i.value ? (l(), r("p", Tf, [
818
+ i.value ? (l(), r("p", T1, [
819
819
  ie(s.$slots, "img-description", {}, void 0, !0),
820
820
  Qt(" " + x(i.value), 1)
821
821
  ])) : v("", !0)
822
822
  ]),
823
- o("div", Ef, [
823
+ o("div", E1, [
824
824
  ie(s.$slots, "actions", {}, void 0, !0)
825
825
  ])
826
826
  ]),
827
827
  o("div", {
828
- id: "chat-info-search-panel-" + N(f),
828
+ id: "chat-info-search-panel-" + D(f),
829
829
  class: "chat-info__search-panel"
830
830
  }, [
831
831
  ie(s.$slots, "search", {}, void 0, !0)
832
- ], 8, jf)
832
+ ], 8, j1)
833
833
  ])) : v("", !0);
834
834
  }
835
- }, $4 = /* @__PURE__ */ O(Sf, [["__scopeId", "data-v-fd1b258f"]]), _e = b([]), Se = (e) => {
836
- const t = b(0), n = _e.value.find(({ id: p }) => p == e);
837
- n != null ? t.value = _e.value.indexOf(n) : (_e.value.push({
835
+ }, $4 = /* @__PURE__ */ O(S1, [["__scopeId", "data-v-fd1b258f"]]), Me = b([]), Se = (e) => {
836
+ const t = b(0), n = Me.value.find(({ id: p }) => p == e);
837
+ n != null ? t.value = Me.value.indexOf(n) : (Me.value.push({
838
838
  id: e,
839
839
  text: "",
840
840
  file: void 0,
841
841
  forceSend: !1,
842
842
  isRecording: !1
843
- }), t.value = _e.value.length - 1);
843
+ }), t.value = Me.value.length - 1);
844
844
  const a = () => {
845
- _e.value[t.value] = {
845
+ Me.value[t.value] = {
846
846
  id: A().id,
847
847
  text: "",
848
848
  file: void 0,
@@ -851,7 +851,7 @@ const D1 = /* @__PURE__ */ O(yf, [["render", _f]]), Mf = {
851
851
  isRecording: A().isRecording
852
852
  };
853
853
  }, f = (p) => {
854
- _e.value[t.value] = {
854
+ Me.value[t.value] = {
855
855
  id: A().id,
856
856
  text: p,
857
857
  file: A().file,
@@ -860,7 +860,7 @@ const D1 = /* @__PURE__ */ O(yf, [["render", _f]]), Mf = {
860
860
  isRecording: A().isRecording
861
861
  };
862
862
  }, i = (p) => {
863
- _e.value[t.value] = {
863
+ Me.value[t.value] = {
864
864
  id: A().id,
865
865
  text: A().text,
866
866
  file: p,
@@ -869,7 +869,7 @@ const D1 = /* @__PURE__ */ O(yf, [["render", _f]]), Mf = {
869
869
  isRecording: A().isRecording
870
870
  };
871
871
  }, s = () => {
872
- _e.value[t.value] = {
872
+ Me.value[t.value] = {
873
873
  id: A().id,
874
874
  text: A().text,
875
875
  file: void 0,
@@ -878,7 +878,7 @@ const D1 = /* @__PURE__ */ O(yf, [["render", _f]]), Mf = {
878
878
  isRecording: A().isRecording
879
879
  };
880
880
  }, u = (p) => {
881
- _e.value[t.value] = {
881
+ Me.value[t.value] = {
882
882
  id: A().id,
883
883
  text: A().text,
884
884
  file: A().file,
@@ -887,7 +887,7 @@ const D1 = /* @__PURE__ */ O(yf, [["render", _f]]), Mf = {
887
887
  isRecording: A().isRecording
888
888
  };
889
889
  }, c = () => {
890
- _e.value[t.value] = {
890
+ Me.value[t.value] = {
891
891
  id: A().id,
892
892
  text: A().text,
893
893
  file: A().file,
@@ -897,7 +897,7 @@ const D1 = /* @__PURE__ */ O(yf, [["render", _f]]), Mf = {
897
897
  };
898
898
  };
899
899
  function A() {
900
- return _e.value[t.value];
900
+ return Me.value[t.value];
901
901
  }
902
902
  return {
903
903
  getMessage: A,
@@ -908,13 +908,13 @@ const D1 = /* @__PURE__ */ O(yf, [["render", _f]]), Mf = {
908
908
  setReply: u,
909
909
  resetReply: c,
910
910
  setForceSendMessage: (p) => {
911
- _e.value[t.value].forceSend = p;
911
+ Me.value[t.value].forceSend = p;
912
912
  },
913
913
  setRecordingMessage: (p) => {
914
- _e.value[t.value].isRecording = p;
914
+ Me.value[t.value].isRecording = p;
915
915
  }
916
916
  };
917
- }, Vf = {
917
+ }, V1 = {
918
918
  "component.ChatList.Title": "Mobilon One",
919
919
  "component.ChatFilter.InputPlaceholder": "Поиск чата",
920
920
  "layout.ChatWrapper.noSelectedChat": "Выберите контакт для начала общения",
@@ -926,7 +926,7 @@ const D1 = /* @__PURE__ */ O(yf, [["render", _f]]), Mf = {
926
926
  "component.FeedSearch.SearchLabel": "Поиск",
927
927
  "component.FeedSearch.SearchPlaceholder": "Поиск сообщения...",
928
928
  "component.ChannelSelector.Placeholder": "Канал не выбран"
929
- }, Of = {
929
+ }, O1 = {
930
930
  "component.ChatList.Title": "Chats",
931
931
  "component.ChatFilter.InputPlaceholder": "Chat search",
932
932
  "layout.ChatWrapper.noSelectedChat": "Choose contact to start conversation",
@@ -938,7 +938,7 @@ const D1 = /* @__PURE__ */ O(yf, [["render", _f]]), Mf = {
938
938
  "component.FeedSearch.SearchLabel": "Search",
939
939
  "component.FeedSearch.SearchPlaceholder": "Find a message...",
940
940
  "component.ChannelSelector.Placeholder": "Channel not selected"
941
- }, x1 = [
941
+ }, Tf = [
942
942
  {
943
943
  code: "en",
944
944
  name: "English",
@@ -949,25 +949,25 @@ const D1 = /* @__PURE__ */ O(yf, [["render", _f]]), Mf = {
949
949
  name: "Pусский",
950
950
  flag: "russian"
951
951
  }
952
- ], Xa = b(x1[1]);
953
- let zf = {
954
- ru: Vf,
955
- en: Of
952
+ ], Xa = b(Tf[1]);
953
+ let z1 = {
954
+ ru: V1,
955
+ en: O1
956
956
  };
957
- const De = Lf().t;
958
- function Lf() {
957
+ const Ne = L1().t;
958
+ function L1() {
959
959
  function e(t) {
960
- return zf[Xa.value.code][t];
960
+ return z1[Xa.value.code][t];
961
961
  }
962
962
  return {
963
963
  t: e,
964
964
  locale: Xa,
965
- locales: x1
965
+ locales: Tf
966
966
  };
967
967
  }
968
- function Uf(e, t = 500) {
968
+ function U1(e, t = 500) {
969
969
  let n;
970
- return g1((a, f) => ({
970
+ return mf((a, f) => ({
971
971
  get() {
972
972
  return a(), e;
973
973
  },
@@ -978,15 +978,15 @@ function Uf(e, t = 500) {
978
978
  }
979
979
  }));
980
980
  }
981
- const Bf = {}, $f = {
981
+ const B1 = {}, $1 = {
982
982
  width: "31",
983
983
  height: "30",
984
984
  viewBox: "0 0 31 30",
985
985
  fill: "none",
986
986
  xmlns: "http://www.w3.org/2000/svg"
987
987
  };
988
- function Rf(e, t) {
989
- return l(), r("svg", $f, t[0] || (t[0] = [
988
+ function R1(e, t) {
989
+ return l(), r("svg", $1, t[0] || (t[0] = [
990
990
  o("g", { "clip-path": "url(#clip0_1718_536)" }, [
991
991
  o("path", {
992
992
  d: "M30.0062 15.8609C30.1749 15.7886 30.3187 15.6685 30.4197 15.5153C30.5208 15.3621 30.5746 15.1826 30.5746 14.9991C30.5746 14.8156 30.5208 14.6361 30.4197 14.4829C30.3187 14.3297 30.1749 14.2096 30.0062 14.1373L3.00448 2.56551L3.00315 2.56418L2.16523 2.20356C2.00645 2.13533 1.8319 2.11232 1.66087 2.13706C1.48983 2.16181 1.32896 2.23335 1.19603 2.34378C1.0631 2.45421 0.96328 2.59924 0.907599 2.76284C0.851917 2.92644 0.842541 3.10225 0.880504 3.27085L1.07938 4.15915L1.07805 4.16313L3.48707 14.9991L1.07805 25.8351L1.07805 25.8404L0.879177 26.7287C0.841822 26.8971 0.851658 27.0725 0.907599 27.2357C0.963541 27.3989 1.06342 27.5435 1.19624 27.6535C1.32906 27.7636 1.48968 27.8349 1.66041 27.8596C1.83114 27.8842 2.00536 27.8613 2.1639 27.7933L30.0062 15.8609ZM25.0702 15.9365H5.19872L5.36179 15.2033C5.3918 15.0688 5.3918 14.9294 5.36179 14.7949L5.19872 14.0617H25.0702L27.2565 14.9991L25.0715 15.9378L25.0702 15.9365Z",
@@ -1005,10 +1005,10 @@ function Rf(e, t) {
1005
1005
  ], -1)
1006
1006
  ]));
1007
1007
  }
1008
- const Qf = /* @__PURE__ */ O(Bf, [["render", Rf]]), Ff = { class: "chat-input__container" }, Yf = ["id"], Pf = ["id"], qf = { class: "chat-input__inline-buttons" }, Hf = {
1008
+ const Q1 = /* @__PURE__ */ O(B1, [["render", R1]]), F1 = { class: "chat-input__container" }, Y1 = ["id"], P1 = ["id"], q1 = { class: "chat-input__inline-buttons" }, H1 = {
1009
1009
  key: 0,
1010
1010
  class: "chat-input__input chat-input__disabled-placeholder"
1011
- }, Wf = ["disabled", "placeholder"], Kf = ["disabled"], Zf = { class: "" }, Jf = { class: "chat-input__third-line" }, Gf = /* @__PURE__ */ J({
1011
+ }, W1 = ["disabled", "placeholder"], K1 = ["disabled"], Z1 = { class: "" }, J1 = { class: "chat-input__third-line" }, G1 = /* @__PURE__ */ J({
1012
1012
  __name: "ChatInput",
1013
1013
  props: {
1014
1014
  state: {
@@ -1028,7 +1028,7 @@ const Qf = /* @__PURE__ */ O(Bf, [["render", Rf]]), Ff = { class: "chat-input__c
1028
1028
  },
1029
1029
  emits: ["send", "typing"],
1030
1030
  setup(e, { emit: t }) {
1031
- const n = t, a = se("chatAppId"), { resetMessage: f, getMessage: i, setMessageText: s, setForceSendMessage: u } = Se(a), c = b(), A = Uf("", 2e3), d = b(), g = e, p = P(() => !!(g.state == "disabled" || i().text == "" && !i().file || i().isRecording));
1031
+ const n = t, a = se("chatAppId"), { resetMessage: f, getMessage: i, setMessageText: s, setForceSendMessage: u } = Se(a), c = b(), A = U1("", 2e3), d = b(), g = e, p = P(() => !!(g.state == "disabled" || i().text == "" && !i().file || i().isRecording));
1032
1032
  ae(
1033
1033
  () => A.value,
1034
1034
  () => {
@@ -1038,7 +1038,7 @@ const Qf = /* @__PURE__ */ O(Bf, [["render", Rf]]), Ff = { class: "chat-input__c
1038
1038
  () => g.focusOnInputArea,
1039
1039
  () => {
1040
1040
  g.focusOnInputArea && Te(() => {
1041
- const m = N(c);
1041
+ const m = D(c);
1042
1042
  m == null || m.focus();
1043
1043
  });
1044
1044
  },
@@ -1062,7 +1062,7 @@ const Qf = /* @__PURE__ */ O(Bf, [["render", Rf]]), Ff = { class: "chat-input__c
1062
1062
  i().forceSend && (y(), u(!1));
1063
1063
  }
1064
1064
  );
1065
- const M = (m) => {
1065
+ const _ = (m) => {
1066
1066
  n("typing", m.target.value);
1067
1067
  }, h = (m) => {
1068
1068
  if (m.shiftKey) {
@@ -1096,46 +1096,46 @@ const Qf = /* @__PURE__ */ O(Bf, [["render", Rf]]), Ff = { class: "chat-input__c
1096
1096
  m.value.file ? (I.type = "message." + m.value.file.type, I.url = m.value.file.url, I.filename = m.value.file.name, I.size = (k = m.value.file.size) == null ? void 0 : k.toString(), I.text = (T = m == null ? void 0 : m.value) == null ? void 0 : T.text.trim()) : (I.type = "message.text", I.text = m.value.text.trim()), m.value.reply && (I.reply = m.value.reply), n("send", I), f(), d.value = void 0, c.value && c.value.focus();
1097
1097
  }
1098
1098
  };
1099
- return (m, k) => (l(), r("div", Ff, [
1099
+ return (m, k) => (l(), r("div", F1, [
1100
1100
  o("div", {
1101
- id: "chat-input-reply-line-" + N(a),
1101
+ id: "chat-input-reply-line-" + D(a),
1102
1102
  class: "chat-input__reply-line"
1103
- }, null, 8, Yf),
1103
+ }, null, 8, Y1),
1104
1104
  o("div", {
1105
- id: "chat-input-file-line-" + N(a),
1105
+ id: "chat-input-file-line-" + D(a),
1106
1106
  class: "chat-input__file-line"
1107
- }, null, 8, Pf),
1108
- o("div", qf, [
1107
+ }, null, 8, P1),
1108
+ o("div", q1, [
1109
1109
  ie(m.$slots, "inline-buttons", {}, void 0, !0)
1110
1110
  ]),
1111
- e.disabledPlaceholder && (e.state == "disabled" || N(i)().isRecording) ? (l(), r("div", Hf, x(e.disabledPlaceholder), 1)) : ge((l(), r("textarea", {
1111
+ e.disabledPlaceholder && (e.state == "disabled" || D(i)().isRecording) ? (l(), r("div", H1, x(e.disabledPlaceholder), 1)) : ge((l(), r("textarea", {
1112
1112
  key: 1,
1113
1113
  ref_key: "refInput",
1114
1114
  ref: c,
1115
- "onUpdate:modelValue": k[0] || (k[0] = (T) => N(i)().text = T),
1116
- disabled: e.state == "disabled" || N(i)().isRecording,
1115
+ "onUpdate:modelValue": k[0] || (k[0] = (T) => D(i)().text = T),
1116
+ disabled: e.state == "disabled" || D(i)().isRecording,
1117
1117
  class: "chat-input__input",
1118
- placeholder: N(De)("component.ChatInput.InputPlaceholder"),
1119
- onKeydown: _a(h, ["enter"]),
1120
- onInput: M
1121
- }, null, 40, Wf)), [
1122
- [_t, N(i)().text]
1118
+ placeholder: D(Ne)("component.ChatInput.InputPlaceholder"),
1119
+ onKeydown: Ma(h, ["enter"]),
1120
+ onInput: _
1121
+ }, null, 40, W1)), [
1122
+ [Mt, D(i)().text]
1123
1123
  ]),
1124
1124
  o("button", {
1125
1125
  class: j(["chat-input__button", { "chat-input__button-disabled": p.value }]),
1126
- disabled: N(i)().isRecording,
1126
+ disabled: D(i)().isRecording,
1127
1127
  onClick: y
1128
1128
  }, [
1129
- o("span", Zf, [
1130
- W(Qf)
1129
+ o("span", Z1, [
1130
+ W(Q1)
1131
1131
  ])
1132
- ], 10, Kf),
1133
- o("div", Jf, [
1132
+ ], 10, K1),
1133
+ o("div", J1, [
1134
1134
  ie(m.$slots, "buttons", {}, void 0, !0)
1135
1135
  ])
1136
1136
  ]));
1137
1137
  }
1138
- }), R4 = /* @__PURE__ */ O(Gf, [["__scopeId", "data-v-a0db4a0f"]]), Xf = { class: "chat-tabs__list" }, es = ["aria-pressed", "onClick"], ts = {
1138
+ }), R4 = /* @__PURE__ */ O(G1, [["__scopeId", "data-v-a0db4a0f"]]), X1 = { class: "chat-tabs__list" }, es = ["aria-pressed", "onClick"], ts = {
1139
1139
  key: 0,
1140
1140
  class: "chat-tabs__badge"
1141
1141
  }, ns = {
@@ -1149,7 +1149,7 @@ const Qf = /* @__PURE__ */ O(Bf, [["render", Rf]]), Ff = { class: "chat-input__c
1149
1149
  },
1150
1150
  emits: ["tab-click"],
1151
1151
  setup(e) {
1152
- return (t, n) => (l(), r("ul", Xf, [
1152
+ return (t, n) => (l(), r("ul", X1, [
1153
1153
  (l(!0), r(K, null, oe(e.tabs, (a) => (l(), r("li", {
1154
1154
  key: a.id,
1155
1155
  class: j(["chat-tabs__item", { "chat-tabs__item--active": a.active }])
@@ -1190,6 +1190,10 @@ const Qf = /* @__PURE__ */ O(Bf, [["render", Rf]]), Ff = { class: "chat-input__c
1190
1190
  dialogTabs: {
1191
1191
  type: Array,
1192
1192
  default: () => []
1193
+ },
1194
+ showDialogs: {
1195
+ type: Boolean,
1196
+ default: !0
1193
1197
  }
1194
1198
  },
1195
1199
  emits: ["select", "action", "loadMoreChats", "expand", "tab-click"],
@@ -1197,12 +1201,12 @@ const Qf = /* @__PURE__ */ O(Bf, [["render", Rf]]), Ff = { class: "chat-input__c
1197
1201
  const n = e, a = t, f = b(""), i = b(), s = b(!1), u = b(!1), c = b(!1);
1198
1202
  function A() {
1199
1203
  Te(function() {
1200
- const C = N(i);
1204
+ const C = D(i);
1201
1205
  C.scrollTop = 0;
1202
1206
  });
1203
1207
  }
1204
1208
  const d = () => {
1205
- const C = N(i), w = C.scrollHeight - C.scrollTop - C.clientHeight;
1209
+ const C = D(i), w = C.scrollHeight - C.scrollTop - C.clientHeight;
1206
1210
  C.scrollTop > 500 && (u.value = !0), C.scrollTop <= 500 && (u.value = !1), c.value ? w < 300 && (s.value = !0) : (w < 300 && (s.value = !0), w >= 300 && (s.value = !1));
1207
1211
  };
1208
1212
  ae(
@@ -1214,30 +1218,30 @@ const Qf = /* @__PURE__ */ O(Bf, [["render", Rf]]), Ff = { class: "chat-input__c
1214
1218
  () => n.chats,
1215
1219
  () => {
1216
1220
  if (s.value = !1, c.value) {
1217
- const C = N(i);
1221
+ const C = D(i);
1218
1222
  C.scrollTop = C.scrollHeight;
1219
1223
  }
1220
1224
  }
1221
1225
  );
1222
1226
  const g = (C) => {
1223
- const w = N(i);
1227
+ const w = D(i);
1224
1228
  (C.offsetX > w.clientWidth || C.offsetY > w.clientHeight) && (c.value = !0);
1225
1229
  }, p = () => {
1226
1230
  c.value = !1;
1227
- }, M = (C) => {
1231
+ }, _ = (C) => {
1228
1232
  a("expand", C);
1229
1233
  }, h = (C) => {
1230
- n.chats.forEach((_) => {
1231
- _.isSelected = !1, _.dialogs && _.dialogs.forEach((D) => {
1232
- D.isSelected = !1;
1234
+ n.chats.forEach((M) => {
1235
+ M.isSelected = !1, M.dialogs && M.dialogs.forEach((N) => {
1236
+ N.isSelected = !1;
1233
1237
  });
1234
1238
  }), C.dialog && y(C.dialog);
1235
- const w = n.chats.find((_) => _.chatId === C.chat.chatId);
1239
+ const w = n.chats.find((M) => M.chatId === C.chat.chatId);
1236
1240
  w.isSelected = !0, a("select", C);
1237
1241
  }, y = (C) => {
1238
1242
  n.chats.forEach((w) => {
1239
- w.isSelected = !1, w.dialogs && w.dialogs.forEach((_) => {
1240
- _.isSelected = !1, _.dialogId == C.dialogId && (_.isSelected = !0);
1243
+ w.isSelected = !1, w.dialogs && w.dialogs.forEach((M) => {
1244
+ M.isSelected = !1, M.dialogId == C.dialogId && (M.isSelected = !0);
1241
1245
  });
1242
1246
  });
1243
1247
  }, m = () => n.chats.toSorted((C, w) => {
@@ -1255,11 +1259,11 @@ const Qf = /* @__PURE__ */ O(Bf, [["render", Rf]]), Ff = { class: "chat-input__c
1255
1259
  };
1256
1260
  return (C, w) => (l(), r("div", fs, [
1257
1261
  o("div", ss, [
1258
- e.titleEnabled ? (l(), r("h2", is, x(N(De)("component.ChatList.Title")), 1)) : v("", !0),
1262
+ e.titleEnabled ? (l(), r("h2", is, x(D(Ne)("component.ChatList.Title")), 1)) : v("", !0),
1259
1263
  ie(C.$slots, "actions", {}, void 0, !0)
1260
1264
  ]),
1261
1265
  ie(C.$slots, "sidebar", {}, void 0, !0),
1262
- e.filterEnabled ? (l(), U(N(bo), {
1266
+ e.filterEnabled ? (l(), U(D(bo), {
1263
1267
  key: 0,
1264
1268
  class: "chat-list__filter",
1265
1269
  onUpdate: k
@@ -1278,34 +1282,37 @@ const Qf = /* @__PURE__ */ O(Bf, [["render", Rf]]), Ff = { class: "chat-input__c
1278
1282
  onMouseup: p
1279
1283
  }, [
1280
1284
  o("div", os, [
1281
- (l(!0), r(K, null, oe(m().filter((_) => _.isFixedTop), (_) => (l(), U(N(ia), {
1282
- key: _.chatId,
1285
+ (l(!0), r(K, null, oe(m().filter((M) => M.isFixedTop), (M) => (l(), U(D(ia), {
1286
+ key: M.chatId,
1283
1287
  class: "chat-list__item",
1284
- chat: _,
1288
+ chat: M,
1289
+ "show-dialogs": n.showDialogs,
1285
1290
  onSelect: h,
1286
- onExpand: M,
1291
+ onExpand: _,
1287
1292
  onAction: T
1288
- }, null, 8, ["chat"]))), 128))
1293
+ }, null, 8, ["chat", "show-dialogs"]))), 128))
1289
1294
  ]),
1290
1295
  o("div", ls, [
1291
- (l(!0), r(K, null, oe(m().filter((_) => !_.isFixedBottom && !_.isFixedTop), (_) => (l(), U(N(ia), {
1292
- key: _.chatId,
1296
+ (l(!0), r(K, null, oe(m().filter((M) => !M.isFixedBottom && !M.isFixedTop), (M) => (l(), U(D(ia), {
1297
+ key: M.chatId,
1293
1298
  class: "chat-list__item",
1294
- chat: _,
1299
+ chat: M,
1300
+ "show-dialogs": n.showDialogs,
1295
1301
  onSelect: h,
1296
- onExpand: M,
1302
+ onExpand: _,
1297
1303
  onAction: T
1298
- }, null, 8, ["chat"]))), 128))
1304
+ }, null, 8, ["chat", "show-dialogs"]))), 128))
1299
1305
  ]),
1300
1306
  o("div", rs, [
1301
- (l(!0), r(K, null, oe(m().filter((_) => _.isFixedBottom), (_) => (l(), U(N(ia), {
1302
- key: _.chatId,
1307
+ (l(!0), r(K, null, oe(m().filter((M) => M.isFixedBottom), (M) => (l(), U(D(ia), {
1308
+ key: M.chatId,
1303
1309
  class: "chat-list__item",
1304
- chat: _,
1310
+ chat: M,
1311
+ "show-dialogs": n.showDialogs,
1305
1312
  onSelect: h,
1306
- onExpand: M,
1313
+ onExpand: _,
1307
1314
  onAction: T
1308
- }, null, 8, ["chat"]))), 128))
1315
+ }, null, 8, ["chat", "show-dialogs"]))), 128))
1309
1316
  ])
1310
1317
  ], 544),
1311
1318
  W(le, null, {
@@ -1322,7 +1329,7 @@ const Qf = /* @__PURE__ */ O(Bf, [["render", Rf]]), Ff = { class: "chat-input__c
1322
1329
  })
1323
1330
  ]));
1324
1331
  }
1325
- }, Q4 = /* @__PURE__ */ O(cs, [["__scopeId", "data-v-d37134fd"]]);
1332
+ }, Q4 = /* @__PURE__ */ O(cs, [["__scopeId", "data-v-6a158368"]]);
1326
1333
  function us(e, t) {
1327
1334
  let n = null;
1328
1335
  return function(...f) {
@@ -1346,7 +1353,7 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1346
1353
  },
1347
1354
  emits: ["action"],
1348
1355
  setup(e, { expose: t, emit: n }) {
1349
- const a = m1("keyboard"), f = n, i = se("chatAppId"), { setMessageText: s, setForceSendMessage: u } = Se(i), c = (A) => {
1356
+ const a = pf("keyboard"), f = n, i = se("chatAppId"), { setMessageText: s, setForceSendMessage: u } = Se(i), c = (A) => {
1350
1357
  A.action && typeof A.action == "function" ? A.action() : A.action != null ? f("action", A.action) : (s(A.text), u(!0));
1351
1358
  };
1352
1359
  return t({
@@ -1358,7 +1365,7 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1358
1365
  (l(!0), r(K, null, oe(e.keyboard, (g) => (l(), r("div", {
1359
1366
  key: g.text,
1360
1367
  class: "keyboard__key",
1361
- style: de({ "box-shadow": "0px 0px 10px 5px " + g.color }),
1368
+ style: ce({ "box-shadow": "0px 0px 10px 5px " + g.color }),
1362
1369
  onClick: (p) => c(g)
1363
1370
  }, [
1364
1371
  o("p", null, x(g.text), 1)
@@ -1392,7 +1399,7 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1392
1399
  (l(!0), r(K, null, oe(f.value, (c) => (l(), r("div", {
1393
1400
  key: c.key,
1394
1401
  class: "feed-keyboard__button",
1395
- style: de({
1402
+ style: ce({
1396
1403
  "box-shadow": c["shadow-color"] && c["shadow-color"] !== "none" ? `0px 4px 4px ${c["shadow-color"]}, 0px 1px 2px ${c["shadow-color"]}` : "none",
1397
1404
  color: c["text-color"] || "inherit"
1398
1405
  }),
@@ -1405,7 +1412,7 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1405
1412
  }), hs = /* @__PURE__ */ O(ps, [["__scopeId", "data-v-4f17a69f"]]), vs = ["id"], ys = ["id", "onDblclick"], bs = {
1406
1413
  key: 0,
1407
1414
  class: "message-feed__unread-amount"
1408
- }, _s = { style: { margin: "auto" } }, Ms = /* @__PURE__ */ J({
1415
+ }, Ms = { style: { margin: "auto" } }, _s = /* @__PURE__ */ J({
1409
1416
  __name: "Feed",
1410
1417
  props: {
1411
1418
  objects: {
@@ -1465,18 +1472,18 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1465
1472
  ],
1466
1473
  setup(e, { emit: t }) {
1467
1474
  const n = b(), a = b(), f = b(), i = b(!1), s = b(!1), u = b(!1), c = b(!1), A = b(!1), d = b(!1), g = b(!1), p = b("");
1468
- let M = null;
1475
+ let _ = null;
1469
1476
  const h = e, y = se("chatAppId"), { setReply: m, getMessage: k, resetReply: T } = Se(y), I = t, C = P(() => !!(s.value && h.objects.length > 0 && h.objects[h.objects.length - 1].keyboard)), w = (H) => {
1470
1477
  I("keyboardAction", H);
1471
- }, _ = (H) => {
1478
+ }, M = (H) => {
1472
1479
  I("feedAction", H);
1473
1480
  };
1474
- function D(H = !0) {
1475
- const q = N(a);
1481
+ function N(H = !0) {
1482
+ const q = D(a);
1476
1483
  let E = 0;
1477
1484
  f.value && (E = f.value.refKeyboard.clientHeight);
1478
1485
  const Q = 100, F = q.scrollHeight - q.scrollTop - q.clientHeight;
1479
- F < Q + E ? (i.value = !1, s.value = !0) : (i.value = !0, s.value = !1), d.value ? (q.scrollTop < 300 && (A.value = !1, u.value = !1), F < 300 && (c.value = !1, A.value = !0)) : H && (q.scrollTop < 300 && (u.value = !1), F < 300 && (c.value = !1)), Ce(), g.value = !0, M && window.clearTimeout(M), M = window.setTimeout(() => {
1486
+ F < Q + E ? (i.value = !1, s.value = !0) : (i.value = !0, s.value = !1), d.value ? (q.scrollTop < 300 && (A.value = !1, u.value = !1), F < 300 && (c.value = !1, A.value = !0)) : H && (q.scrollTop < 300 && (u.value = !1), F < 300 && (c.value = !1)), Ce(), g.value = !0, _ && window.clearTimeout(_), _ = window.setTimeout(() => {
1480
1487
  g.value = !1;
1481
1488
  }, 500);
1482
1489
  }
@@ -1487,11 +1494,11 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1487
1494
  }
1488
1495
  );
1489
1496
  const V = (H) => {
1490
- const q = N(a);
1497
+ const q = D(a);
1491
1498
  (H.offsetX > q.clientWidth || H.offsetY > q.clientHeight) && (d.value = !0);
1492
1499
  }, z = () => {
1493
1500
  d.value = !1;
1494
- }, Y = us(() => D(), 250), X = (H) => ({
1501
+ }, Y = us(() => N(), 250), X = (H) => ({
1495
1502
  "message.text": p2,
1496
1503
  "message.image": o2,
1497
1504
  "message.file": W0,
@@ -1500,11 +1507,11 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1500
1507
  "message.call": p3,
1501
1508
  "message.system": b3,
1502
1509
  "system.date": Q2,
1503
- "message.typing": d1
1510
+ "message.typing": gf
1504
1511
  })[H];
1505
1512
  function $() {
1506
1513
  Te(function() {
1507
- const H = N(a);
1514
+ const H = D(a);
1508
1515
  H.scrollTop = H.scrollHeight;
1509
1516
  });
1510
1517
  }
@@ -1552,8 +1559,8 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1552
1559
  () => h.objects,
1553
1560
  () => {
1554
1561
  Te(() => {
1555
- if (u.value = !0, c.value = !0, D(!1), d.value) {
1556
- const H = N(a);
1562
+ if (u.value = !0, c.value = !0, N(!1), d.value) {
1563
+ const H = D(a);
1557
1564
  A.value && (H.scrollTop = H.scrollHeight - 400), A.value || (H.scrollTop = 400);
1558
1565
  }
1559
1566
  n.value = document.querySelectorAll(".tracking-message"), n.value.forEach((H) => Be.observe(H));
@@ -1582,7 +1589,7 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1582
1589
  };
1583
1590
  }));
1584
1591
  function Ce() {
1585
- const H = N(a);
1592
+ const H = D(a);
1586
1593
  if (!H || !n.value) return;
1587
1594
  const q = H.getBoundingClientRect().top;
1588
1595
  let E = null;
@@ -1612,17 +1619,17 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1612
1619
  return (H, q) => (l(), r(K, null, [
1613
1620
  e.objects.length > 0 || e.typing ? (l(), r("div", {
1614
1621
  key: 0,
1615
- id: "feed-container-" + N(y),
1622
+ id: "feed-container-" + D(y),
1616
1623
  ref_key: "refFeed",
1617
1624
  ref: a,
1618
1625
  class: "message-feed",
1619
- onScroll: q[0] || (q[0] = (E) => N(Y)()),
1626
+ onScroll: q[0] || (q[0] = (E) => D(Y)()),
1620
1627
  onMousedown: V,
1621
1628
  onMouseup: z
1622
1629
  }, [
1623
1630
  W(le, null, {
1624
1631
  default: Z(() => [
1625
- g.value ? (l(), U(N(i4), {
1632
+ g.value ? (l(), U(D(i4), {
1626
1633
  key: 0,
1627
1634
  class: "message-feed__sticky-date",
1628
1635
  text: p.value
@@ -1646,7 +1653,7 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1646
1653
  onReply: fe
1647
1654
  }, null, 40, ["message", "apply-style", "is-first-in-series"]))
1648
1655
  ], 40, ys))), 128)),
1649
- e.typing ? (l(), U(N(d1), {
1656
+ e.typing ? (l(), U(D(gf), {
1650
1657
  key: 0,
1651
1658
  message: {
1652
1659
  subText: e.typing.title,
@@ -1684,7 +1691,7 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1684
1691
  key: 1,
1685
1692
  buttons: e.feedKeyboards,
1686
1693
  align: e.feedKeyboardAlign,
1687
- onAction: _
1694
+ onAction: M
1688
1695
  }, null, 8, ["buttons", "align"])) : v("", !0)
1689
1696
  ], 40, vs)) : (l(), r("div", {
1690
1697
  key: 1,
@@ -1692,29 +1699,29 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1692
1699
  ref: a,
1693
1700
  class: "message-feed"
1694
1701
  }, [
1695
- o("div", _s, [
1702
+ o("div", Ms, [
1696
1703
  ie(H.$slots, "empty-feed", {}, void 0, !0)
1697
1704
  ])
1698
1705
  ], 512)),
1699
- N(k)().reply ? (l(), U(we, {
1706
+ D(k)().reply ? (l(), U(we, {
1700
1707
  key: 2,
1701
- to: "#chat-input-reply-line-" + N(y)
1708
+ to: "#chat-input-reply-line-" + D(y)
1702
1709
  }, [
1703
- W(N(kt), {
1710
+ W(D(kt), {
1704
1711
  class: "chat-input-reply",
1705
- message: N(k)().reply,
1712
+ message: D(k)().reply,
1706
1713
  onReset: re
1707
1714
  }, null, 8, ["message"])
1708
1715
  ], 8, ["to"])) : v("", !0)
1709
1716
  ], 64));
1710
1717
  }
1711
- }), F4 = /* @__PURE__ */ O(Ms, [["__scopeId", "data-v-8d1cb62f"]]), ws = {
1718
+ }), F4 = /* @__PURE__ */ O(_s, [["__scopeId", "data-v-8d1cb62f"]]), ws = {
1712
1719
  key: 0,
1713
1720
  class: "profile__container"
1714
1721
  }, Cs = {
1715
1722
  key: 0,
1716
1723
  class: "profile__avatar-container"
1717
- }, Is = ["src"], ks = { class: "profile__name" }, Ns = { class: "profile__email" }, Ds = { class: "profile__phone" }, xs = {
1724
+ }, Is = ["src"], ks = { class: "profile__name" }, Ds = { class: "profile__email" }, Ns = { class: "profile__phone" }, xs = {
1718
1725
  __name: "UserProfile",
1719
1726
  props: {
1720
1727
  user: {
@@ -1727,7 +1734,7 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1727
1734
  e.user.avatar ? (l(), r("div", Cs, [
1728
1735
  o("span", {
1729
1736
  class: "profile__status",
1730
- style: de({ backgroundColor: e.user.status })
1737
+ style: ce({ backgroundColor: e.user.status })
1731
1738
  }, null, 4),
1732
1739
  o("img", {
1733
1740
  src: e.user.avatar,
@@ -1736,8 +1743,8 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1736
1743
  }, null, 8, Is)
1737
1744
  ])) : v("", !0),
1738
1745
  o("h2", ks, x(e.user.name), 1),
1739
- o("p", Ns, x(e.user.email), 1),
1740
- o("p", Ds, x(e.user.phone), 1)
1746
+ o("p", Ds, x(e.user.email), 1),
1747
+ o("p", Ns, x(e.user.phone), 1)
1741
1748
  ])) : v("", !0);
1742
1749
  }
1743
1750
  }, Y4 = /* @__PURE__ */ O(xs, [["__scopeId", "data-v-e88f5abb"]]), Ts = ["data-theme"], Es = { class: "modal__container" }, js = {
@@ -1758,13 +1765,13 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1758
1765
  };
1759
1766
  return me(() => {
1760
1767
  document.addEventListener("keydown", f);
1761
- }), Mt(() => {
1768
+ }), _t(() => {
1762
1769
  document.removeEventListener("keydown", f);
1763
1770
  }), (i, s) => (l(), r("div", {
1764
1771
  class: "modal__overlay",
1765
1772
  "data-theme": e.theme,
1766
1773
  onClick: a,
1767
- onKeyup: s[1] || (s[1] = _a((u) => n("close"), ["esc"]))
1774
+ onKeyup: s[1] || (s[1] = Ma((u) => n("close"), ["esc"]))
1768
1775
  }, [
1769
1776
  o("div", Es, [
1770
1777
  o("button", {
@@ -1811,10 +1818,10 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1811
1818
  function p() {
1812
1819
  i.value && (u.value ? i.value.pause() : i.value.play(), u.value = !u.value);
1813
1820
  }
1814
- const M = (m) => {
1821
+ const _ = (m) => {
1815
1822
  const k = Math.floor(m / 60), T = Math.floor(m % 60);
1816
1823
  return `${k.toString().padStart(2, "0")}:${T.toString().padStart(2, "0")}`;
1817
- }, h = P(() => i.value ? M(A.value) : "0:00"), y = P(() => i.value || s.value ? M(c.value) : "0:00");
1824
+ }, h = P(() => i.value ? _(A.value) : "0:00"), y = P(() => i.value || s.value ? _(c.value) : "0:00");
1818
1825
  return me(() => {
1819
1826
  i.value != null && (i.value.addEventListener("loadedmetadata", () => {
1820
1827
  i.value != null && (i.value.duration == 1 / 0 || Number.isNaN(i.value.duration)) && (i.value.currentTime = 1e101, i.value.addEventListener("timeupdate", () => {
@@ -1903,7 +1910,7 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1903
1910
  default: Z(() => [
1904
1911
  d.value ? (l(), U(Kt, {
1905
1912
  key: 0,
1906
- theme: N(a)().theme ? N(a)().theme : "",
1913
+ theme: D(a)().theme ? D(a)().theme : "",
1907
1914
  onClose: g
1908
1915
  }, {
1909
1916
  default: Z(() => [
@@ -1929,11 +1936,11 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1929
1936
  ]))
1930
1937
  ]));
1931
1938
  }
1932
- }), qn = /* @__PURE__ */ O(Js, [["__scopeId", "data-v-a3c677b5"]]), T1 = (e) => {
1939
+ }), qn = /* @__PURE__ */ O(Js, [["__scopeId", "data-v-a3c677b5"]]), Ef = (e) => {
1933
1940
  let t = "file";
1934
1941
  return e.startsWith("image/") ? t = "image" : e.startsWith("video/") ? t = "video" : e.startsWith("audio/") && (t = "audio"), t;
1935
1942
  }, Gs = (e) => {
1936
- const t = T1(e.type), n = b(!1), a = b(!1), f = b(!1), i = b("");
1943
+ const t = Ef(e.type), n = b(!1), a = b(!1), f = b(!1), i = b("");
1937
1944
  t === "image" ? n.value = !0 : t === "video" ? a.value = !0 : t === "audio" && (f.value = !0), n.value || a.value || f.value ? i.value = URL.createObjectURL(e) : i.value = "";
1938
1945
  const s = ["б", "Кб", "Мб", "Гб"];
1939
1946
  let u = e.size, c = 0;
@@ -1961,7 +1968,7 @@ const As = ["onClick"], ds = /* @__PURE__ */ J({
1961
1968
  )).json()).url,
1962
1969
  name: t.name,
1963
1970
  size: t.size,
1964
- type: T1(t.type),
1971
+ type: Ef(t.type),
1965
1972
  status: "success",
1966
1973
  preview: Gs(t)
1967
1974
  };
@@ -1999,7 +2006,7 @@ const ni = /* @__PURE__ */ O(Xs, [["render", ti]]), ai = { key: 0 }, fi = { key:
1999
2006
  const n = e, a = b(""), f = b(), i = b(), s = se("chatAppId"), { setMessageFile: u, resetMessageFile: c, getMessage: A, setRecordingMessage: d } = Se(s), g = P(() => !A().file), p = () => {
2000
2007
  const T = document.getElementById("chat-input-file-line-" + s);
2001
2008
  T && (T.style.display = "none"), c(), i.value = void 0, a.value = "";
2002
- }, M = async () => {
2009
+ }, _ = async () => {
2003
2010
  var T, I;
2004
2011
  p(), (T = f.value) != null && T.files && k((I = f.value) == null ? void 0 : I.files[0]);
2005
2012
  }, h = (T) => {
@@ -2013,8 +2020,8 @@ const ni = /* @__PURE__ */ O(Xs, [["render", ti]]), ai = { key: 0 }, fi = { key:
2013
2020
  for (let w of I)
2014
2021
  if (w.type.indexOf("image") !== -1) {
2015
2022
  T.preventDefault();
2016
- const _ = w.getAsFile();
2017
- _ && k(_);
2023
+ const M = w.getAsFile();
2024
+ M && k(M);
2018
2025
  }
2019
2026
  }
2020
2027
  }, k = async (T) => {
@@ -2061,11 +2068,11 @@ const ni = /* @__PURE__ */ O(Xs, [["render", ti]]), ai = { key: 0 }, fi = { key:
2061
2068
  ref: f,
2062
2069
  style: { display: "none" },
2063
2070
  type: "file",
2064
- onChange: M
2071
+ onChange: _
2065
2072
  }, null, 544),
2066
- N(A)().file ? (l(), U(we, {
2073
+ D(A)().file ? (l(), U(we, {
2067
2074
  key: 2,
2068
- to: "#chat-input-file-line-" + N(s)
2075
+ to: "#chat-input-file-line-" + D(s)
2069
2076
  }, [
2070
2077
  i.value ? (l(), U(qn, {
2071
2078
  key: 0,
@@ -2135,9 +2142,9 @@ const ni = /* @__PURE__ */ O(Xs, [["render", ti]]), ai = { key: 0 }, fi = { key:
2135
2142
  },
2136
2143
  emits: ["click", "buttonClick", "menuMouseEnter", "menuMouseLeave"],
2137
2144
  setup(e, { expose: t, emit: n }) {
2138
- const a = se("chatAppId"), f = se("extChatAppId"), { getTheme: i } = ze(a), s = e, u = Ma(), c = n, A = b(), d = b(), g = b(!1), p = (w) => {
2145
+ const a = se("chatAppId"), f = se("extChatAppId"), { getTheme: i } = ze(a), s = e, u = _a(), c = n, A = b(), d = b(), g = b(!1), p = (w) => {
2139
2146
  I(), c("click", w);
2140
- }, M = () => {
2147
+ }, _ = () => {
2141
2148
  s.disabled || (s.mode == "click" && !g.value ? T() : s.mode == "click" && g.value && I(), c("buttonClick"));
2142
2149
  }, h = () => {
2143
2150
  s.disabled || s.mode == "hover" && T();
@@ -2149,16 +2156,16 @@ const ni = /* @__PURE__ */ O(Xs, [["render", ti]]), ai = { key: 0 }, fi = { key:
2149
2156
  c("menuMouseLeave"), s.disabled || s.mode == "hover" && I();
2150
2157
  }, T = () => {
2151
2158
  if (d.value && A.value) {
2152
- const w = A.value, _ = d.value.getBoundingClientRect();
2159
+ const w = A.value, M = d.value.getBoundingClientRect();
2153
2160
  w.style.display = "inherit";
2154
- const D = A.value.getBoundingClientRect();
2161
+ const N = A.value.getBoundingClientRect();
2155
2162
  w.style.display = "none", Te(() => {
2156
2163
  const V = {
2157
- left: { top: _.top - (D.height - _.height) / 2 - D.top, left: _.left - D.width - D.left },
2158
- right: { top: _.top - (D.height - _.height) / 2 - D.top, left: _.left + _.width - D.left },
2159
- bottom: { top: (_ == null ? void 0 : _.bottom) - D.top, left: (_ == null ? void 0 : _.left) - (D.width - _.width) / 2 - D.left },
2160
- top: { top: _.top - D.height - D.top, left: (_ == null ? void 0 : _.left) - (D.width - _.width) / 2 - D.left },
2161
- "top-right": { top: _.top - D.height, left: _.right - D.width / 2 }
2164
+ left: { top: M.top - (N.height - M.height) / 2 - N.top, left: M.left - N.width - N.left },
2165
+ right: { top: M.top - (N.height - M.height) / 2 - N.top, left: M.left + M.width - N.left },
2166
+ bottom: { top: (M == null ? void 0 : M.bottom) - N.top, left: (M == null ? void 0 : M.left) - (N.width - M.width) / 2 - N.left },
2167
+ top: { top: M.top - N.height - N.top, left: (M == null ? void 0 : M.left) - (N.width - M.width) / 2 - N.left },
2168
+ "top-right": { top: M.top - N.height, left: M.right - N.width / 2 }
2162
2169
  };
2163
2170
  w.style.top = V[s.menuSide].top + "px", w.style.left = V[s.menuSide].left + "px", w.style.opacity = "1", w.style.display = "inherit", g.value = !0;
2164
2171
  });
@@ -2175,27 +2182,27 @@ const ni = /* @__PURE__ */ O(Xs, [["render", ti]]), ai = { key: 0 }, fi = { key:
2175
2182
  Te(() => {
2176
2183
  A.value = document.getElementById("context-menu-" + u + f), A.value && (I(), document.addEventListener("click", C));
2177
2184
  });
2178
- }), Mt(() => {
2185
+ }), _t(() => {
2179
2186
  document.removeEventListener("click", C);
2180
2187
  }), t({
2181
2188
  updatePosition: T,
2182
2189
  hideMenu: I
2183
- }), (w, _) => (l(), r("button", {
2184
- id: "container-" + N(u) + N(f),
2190
+ }), (w, M) => (l(), r("button", {
2191
+ id: "container-" + D(u) + D(f),
2185
2192
  ref_key: "actionScope",
2186
2193
  ref: d,
2187
2194
  style: { position: "relative", width: "fit-content", border: "none", background: "transparent", height: "fit-content" },
2188
2195
  onMouseenter: h,
2189
2196
  onMouseleave: y
2190
2197
  }, [
2191
- o("div", { onClick: M }, [
2198
+ o("div", { onClick: _ }, [
2192
2199
  ie(w.$slots, "default")
2193
2200
  ]),
2194
2201
  (l(), U(we, { to: "body" }, [
2195
- W(N(It), {
2196
- id: "context-menu-" + N(u) + N(f),
2202
+ W(D(It), {
2203
+ id: "context-menu-" + D(u) + D(f),
2197
2204
  actions: e.actions,
2198
- "data-theme": N(i)().theme ? N(i)().theme : "light",
2205
+ "data-theme": D(i)().theme ? D(i)().theme : "light",
2199
2206
  onMouseenter: m,
2200
2207
  onMouseleave: k,
2201
2208
  onClick: p
@@ -2238,18 +2245,18 @@ const gi = /* @__PURE__ */ O(ui, [["render", di]]), mi = ["data-theme"], pi = /*
2238
2245
  })), c = () => {
2239
2246
  i.value = !0, Te(() => {
2240
2247
  if (a.value && f.value) {
2241
- const d = f.value, g = a.value.getBoundingClientRect(), p = f.value.getBoundingClientRect(), M = p.left < 0 ? p.left : 0, h = p.top < 0 ? p.top : 0, y = {
2242
- left: { top: g.top - (p.height - g.height) / 2 - h, left: (g == null ? void 0 : g.left) - p.width - M - s.offset },
2243
- right: { top: g.top - (p.height - g.height) / 2 - h, left: (g == null ? void 0 : g.left) + g.width - M + s.offset },
2244
- bottom: { top: (g == null ? void 0 : g.bottom) - h + s.offset, left: (g == null ? void 0 : g.left) - M },
2245
- top: { top: g.top - p.height - s.offset - h, left: (g == null ? void 0 : g.left) - M }
2248
+ const d = f.value, g = a.value.getBoundingClientRect(), p = f.value.getBoundingClientRect(), _ = p.left < 0 ? p.left : 0, h = p.top < 0 ? p.top : 0, y = {
2249
+ left: { top: g.top - (p.height - g.height) / 2 - h, left: (g == null ? void 0 : g.left) - p.width - _ - s.offset },
2250
+ right: { top: g.top - (p.height - g.height) / 2 - h, left: (g == null ? void 0 : g.left) + g.width - _ + s.offset },
2251
+ bottom: { top: (g == null ? void 0 : g.bottom) - h + s.offset, left: (g == null ? void 0 : g.left) - _ },
2252
+ top: { top: g.top - p.height - s.offset - h, left: (g == null ? void 0 : g.left) - _ }
2246
2253
  };
2247
2254
  d.style.top = y[s.position].top + "px", d.style.left = y[s.position].left + "px";
2248
2255
  }
2249
2256
  });
2250
2257
  }, A = () => {
2251
2258
  i.value = !1, Te(() => {
2252
- const d = N(f);
2259
+ const d = D(f);
2253
2260
  d && (d.style.top = "0", d.style.left = "0");
2254
2261
  });
2255
2262
  };
@@ -2270,7 +2277,7 @@ const gi = /* @__PURE__ */ O(ui, [["render", di]]), mi = ["data-theme"], pi = /*
2270
2277
  key: 0,
2271
2278
  ref_key: "tooltip",
2272
2279
  ref: f,
2273
- "data-theme": N(n)().theme ? N(n)().theme : "light",
2280
+ "data-theme": D(n)().theme ? D(n)().theme : "light",
2274
2281
  class: j(u.value)
2275
2282
  }, x(e.text), 11, mi)) : v("", !0)
2276
2283
  ]),
@@ -2279,7 +2286,7 @@ const gi = /* @__PURE__ */ O(ui, [["render", di]]), mi = ["data-theme"], pi = /*
2279
2286
  ]))
2280
2287
  ], 64));
2281
2288
  }
2282
- }), nt = /* @__PURE__ */ O(pi, [["__scopeId", "data-v-7a657200"]]), hi = { class: "sidebar__scroll-container" }, vi = ["onClick"], yi = ["src", "alt"], bi = { key: 0 }, _i = ["onClick"], Mi = ["src", "alt"], wi = ["src"], Ci = { key: 2 }, Ii = { class: "sidebar__settings-container" }, ki = { class: "sidebar__settings-btn" }, Ni = {
2289
+ }), nt = /* @__PURE__ */ O(pi, [["__scopeId", "data-v-7a657200"]]), hi = { class: "sidebar__scroll-container" }, vi = ["onClick"], yi = ["src", "alt"], bi = { key: 0 }, Mi = ["onClick"], _i = ["src", "alt"], wi = ["src"], Ci = { key: 2 }, Ii = { class: "sidebar__settings-container" }, ki = { class: "sidebar__settings-btn" }, Di = {
2283
2290
  __name: "SideBar",
2284
2291
  props: {
2285
2292
  sidebarItems: {
@@ -2301,36 +2308,36 @@ const gi = /* @__PURE__ */ O(ui, [["render", di]]), mi = ["data-theme"], pi = /*
2301
2308
  emits: ["selectItem"],
2302
2309
  setup(e, { emit: t }) {
2303
2310
  const n = e, a = Pa(n, "sidebarItems"), f = Pa(n, "menuActions"), i = t, s = P(
2304
- () => a.value.filter((_) => _.isFixedBottom).sort((_, D) => D.notificationCount - _.notificationCount)
2311
+ () => a.value.filter((M) => M.isFixedBottom).sort((M, N) => N.notificationCount - M.notificationCount)
2305
2312
  ), u = P(
2306
- () => a.value.filter((_) => !_.isFixedBottom).sort((_, D) => D.notificationCount - _.notificationCount)
2307
- ), c = (_) => {
2308
- const D = a.value.find((V) => V.itemId === _);
2309
- i("selectItem", D);
2310
- }, A = (_, D) => {
2311
- C(_.currentTarget), c(D);
2312
- }, d = (_) => {
2313
- const D = _.split(" ");
2314
- return D.length > 2 ? D.slice(0, 2).join(" ") : _;
2315
- }, g = (_) => {
2316
- console.log("Выбрано действие:", _), typeof _.action == "function" && _.action();
2313
+ () => a.value.filter((M) => !M.isFixedBottom).sort((M, N) => N.notificationCount - M.notificationCount)
2314
+ ), c = (M) => {
2315
+ const N = a.value.find((V) => V.itemId === M);
2316
+ i("selectItem", N);
2317
+ }, A = (M, N) => {
2318
+ C(M.currentTarget), c(N);
2319
+ }, d = (M) => {
2320
+ const N = M.split(" ");
2321
+ return N.length > 2 ? N.slice(0, 2).join(" ") : M;
2322
+ }, g = (M) => {
2323
+ console.log("Выбрано действие:", M), typeof M.action == "function" && M.action();
2317
2324
  }, p = () => {
2318
2325
  console.log("Кнопка меню была нажата");
2319
- }, M = b(null), h = b(!1), y = b(0), m = b(40), k = b(!1), T = (_) => {
2320
- const D = M.value;
2321
- if (!D || !_) return 0;
2322
- const V = D.getBoundingClientRect(), z = _.getBoundingClientRect(), X = z.top + z.height / 2 - V.top - m.value / 2;
2326
+ }, _ = b(null), h = b(!1), y = b(0), m = b(40), k = b(!1), T = (M) => {
2327
+ const N = _.value;
2328
+ if (!N || !M) return 0;
2329
+ const V = N.getBoundingClientRect(), z = M.getBoundingClientRect(), X = z.top + z.height / 2 - V.top - m.value / 2;
2323
2330
  return Math.max(0, X);
2324
2331
  }, I = () => {
2325
- if (!M.value) return;
2326
- const D = M.value.querySelector(".sidebar__image--active");
2327
- D ? (y.value = T(D), h.value = !0) : h.value = !1;
2328
- }, C = (_) => {
2332
+ if (!_.value) return;
2333
+ const N = _.value.querySelector(".sidebar__image--active");
2334
+ N ? (y.value = T(N), h.value = !0) : h.value = !1;
2335
+ }, C = (M) => {
2329
2336
  try {
2330
- if (!_ || !M.value) return;
2331
- const D = _.querySelector(".sidebar__image");
2332
- if (!D) return;
2333
- const V = T(D), z = 12, Y = 160;
2337
+ if (!M || !_.value) return;
2338
+ const N = M.querySelector(".sidebar__image");
2339
+ if (!N) return;
2340
+ const V = T(N), z = 12, Y = 160;
2334
2341
  k.value = !0, m.value = z, setTimeout(() => {
2335
2342
  y.value = V, requestAnimationFrame(() => {
2336
2343
  m.value = 40, setTimeout(() => {
@@ -2342,24 +2349,24 @@ const gi = /* @__PURE__ */ O(ui, [["render", di]]), mi = ["data-theme"], pi = /*
2342
2349
  }
2343
2350
  }, w = () => I();
2344
2351
  return me(() => {
2345
- var D;
2352
+ var N;
2346
2353
  Te(I), window.addEventListener("resize", w);
2347
- const _ = (D = M.value) == null ? void 0 : D.querySelector(".sidebar__scroll-container");
2348
- _ && _.addEventListener("scroll", I);
2349
- }), Mt(() => {
2350
- var D;
2354
+ const M = (N = _.value) == null ? void 0 : N.querySelector(".sidebar__scroll-container");
2355
+ M && M.addEventListener("scroll", I);
2356
+ }), _t(() => {
2357
+ var N;
2351
2358
  window.removeEventListener("resize", w);
2352
- const _ = (D = M.value) == null ? void 0 : D.querySelector(".sidebar__scroll-container");
2353
- _ && _.removeEventListener("scroll", I);
2354
- }), ae(() => a.value.map((_) => _.selected), () => Te(I)), (_, D) => (l(), r("div", {
2359
+ const M = (N = _.value) == null ? void 0 : N.querySelector(".sidebar__scroll-container");
2360
+ M && M.removeEventListener("scroll", I);
2361
+ }), ae(() => a.value.map((M) => M.selected), () => Te(I)), (M, N) => (l(), r("div", {
2355
2362
  ref_key: "containerRef",
2356
- ref: M,
2363
+ ref: _,
2357
2364
  class: j(["sidebar__container", { "sidebar-horizontal__container": e.horizontal }])
2358
2365
  }, [
2359
2366
  !e.horizontal && h.value ? (l(), r("span", {
2360
2367
  key: 0,
2361
2368
  class: j(["sidebar__selected-bar", { "is-animating": k.value }]),
2362
- style: de({ top: y.value + "px", height: m.value + "px" })
2369
+ style: ce({ top: y.value + "px", height: m.value + "px" })
2363
2370
  }, null, 6)) : v("", !0),
2364
2371
  o("div", hi, [
2365
2372
  o("ul", {
@@ -2385,7 +2392,7 @@ const gi = /* @__PURE__ */ O(ui, [["render", di]]), mi = ["data-theme"], pi = /*
2385
2392
  "sidebar-horizontal__image": e.horizontal
2386
2393
  }])
2387
2394
  }, null, 10, yi),
2388
- D[0] || (D[0] = o("p", null, "Мои", -1)),
2395
+ N[0] || (N[0] = o("p", null, "Мои", -1)),
2389
2396
  V.notificationCount ? (l(), r("span", bi, x(V.notificationCount > 99 ? "99+" : V.notificationCount), 1)) : v("", !0)
2390
2397
  ]),
2391
2398
  _: 2,
@@ -2415,7 +2422,7 @@ const gi = /* @__PURE__ */ O(ui, [["render", di]]), mi = ["data-theme"], pi = /*
2415
2422
  "sidebar__image--active": V.selected === !0,
2416
2423
  "sidebar-horizontal__image": e.horizontal
2417
2424
  }])
2418
- }, null, 10, Mi)
2425
+ }, null, 10, _i)
2419
2426
  ]),
2420
2427
  _: 2
2421
2428
  }, 1032, ["text"])) : (l(), r("img", {
@@ -2428,7 +2435,7 @@ const gi = /* @__PURE__ */ O(ui, [["render", di]]), mi = ["data-theme"], pi = /*
2428
2435
  }])
2429
2436
  }, null, 10, wi)),
2430
2437
  V.notificationCount ? (l(), r("span", Ci, x(V.notificationCount > 99 ? "99+" : V.notificationCount), 1)) : v("", !0)
2431
- ], 10, _i))), 128))
2438
+ ], 10, Mi))), 128))
2432
2439
  ], 2)
2433
2440
  ]),
2434
2441
  o("div", Ii, [
@@ -2449,7 +2456,7 @@ const gi = /* @__PURE__ */ O(ui, [["render", di]]), mi = ["data-theme"], pi = /*
2449
2456
  ])
2450
2457
  ], 2));
2451
2458
  }
2452
- }, H4 = /* @__PURE__ */ O(Ni, [["__scopeId", "data-v-c61d5cb5"]]), Di = {}, xi = {
2459
+ }, H4 = /* @__PURE__ */ O(Di, [["__scopeId", "data-v-ea5ee899"]]), Ni = {}, xi = {
2453
2460
  width: "18",
2454
2461
  height: "18",
2455
2462
  viewBox: "0 0 18 18",
@@ -2464,7 +2471,7 @@ function Ti(e, t) {
2464
2471
  }, null, -1)
2465
2472
  ]));
2466
2473
  }
2467
- const Ei = /* @__PURE__ */ O(Di, [["render", Ti]]), ji = { class: "chat-panel" }, Si = { class: "chat-panel__header" }, Vi = { class: "chat-panel__button-close-cross" }, Oi = {
2474
+ const Ei = /* @__PURE__ */ O(Ni, [["render", Ti]]), ji = { class: "chat-panel" }, Si = { class: "chat-panel__header" }, Vi = { class: "chat-panel__button-close-cross" }, Oi = {
2468
2475
  key: 0,
2469
2476
  class: "chat-panel__title-container"
2470
2477
  }, zi = {
@@ -2532,7 +2539,7 @@ const Ei = /* @__PURE__ */ O(Di, [["render", Ti]]), ji = { class: "chat-panel" }
2532
2539
  const n = e, a = se("chatAppId"), { getMessage: f } = Se(a), i = t, u = b(n.channels.find((A) => A.type === "default")), c = (A) => {
2533
2540
  u.value = A, i("selectChannel", u.value);
2534
2541
  };
2535
- return (A, d) => N(f)().isRecording ? v("", !0) : (l(), r("div", {
2542
+ return (A, d) => D(f)().isRecording ? v("", !0) : (l(), r("div", {
2536
2543
  key: 0,
2537
2544
  class: j(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
2538
2545
  }, [
@@ -2543,7 +2550,7 @@ const Ei = /* @__PURE__ */ O(Di, [["render", Ti]]), ji = { class: "chat-panel" }
2543
2550
  class: "channels__icon"
2544
2551
  }, null, 8, Bi)) : v("", !0),
2545
2552
  o("span", $i, x(u.value.title), 1)
2546
- ])) : (l(), r("span", Ri, x(N(De)("component.ChannelSelector.Placeholder")), 1)),
2553
+ ])) : (l(), r("span", Ri, x(D(Ne)("component.ChannelSelector.Placeholder")), 1)),
2547
2554
  W(Wn, {
2548
2555
  actions: e.channels,
2549
2556
  mode: e.mode,
@@ -2645,6 +2652,10 @@ const J4 = (e, t = null) => {
2645
2652
  chat: {
2646
2653
  type: Object,
2647
2654
  required: !0
2655
+ },
2656
+ showDialogs: {
2657
+ type: Boolean,
2658
+ default: !0
2648
2659
  }
2649
2660
  },
2650
2661
  emits: ["select", "action", "expand"],
@@ -2661,9 +2672,9 @@ const J4 = (e, t = null) => {
2661
2672
  if (Number(I["lastActivity.timestamp"]) > Number(C["lastActivity.timestamp"])) return -1;
2662
2673
  if (Number(I["lastActivity.timestamp"]) < Number(C["lastActivity.timestamp"])) return 1;
2663
2674
  if (Number(I["lastActivity.timestamp"]) == Number(C["lastActivity.timestamp"])) return 0;
2664
- }), M = P(() => Ct(n.chat["lastMessage.status"]));
2675
+ }), _ = P(() => Ct(n.chat["lastMessage.status"]));
2665
2676
  let h;
2666
- const y = b(0), m = [De("component.ChatItem.typing") + ".", De("component.ChatItem.typing") + "..", De("component.ChatItem.typing") + "..."], k = P(() => n.chat.typing ? m[y.value] : n.chat.lastMessage);
2677
+ const y = b(0), m = [Ne("component.ChatItem.typing") + ".", Ne("component.ChatItem.typing") + "..", Ne("component.ChatItem.typing") + "..."], k = P(() => n.chat.typing ? m[y.value] : n.chat.lastMessage);
2667
2678
  ae(
2668
2679
  () => n.chat.typing,
2669
2680
  () => {
@@ -2687,7 +2698,7 @@ const J4 = (e, t = null) => {
2687
2698
  o("div", Fi, [
2688
2699
  o("span", {
2689
2700
  class: "chat-item__status-user",
2690
- style: de({ backgroundColor: n.chat.status })
2701
+ style: ce({ backgroundColor: n.chat.status })
2691
2702
  }, null, 4),
2692
2703
  n.chat.avatar ? (l(), r("img", {
2693
2704
  key: 0,
@@ -2695,7 +2706,7 @@ const J4 = (e, t = null) => {
2695
2706
  height: "48",
2696
2707
  width: "48"
2697
2708
  }, null, 8, Yi)) : (l(), r("div", Pi, [
2698
- W(D1)
2709
+ W(xf)
2699
2710
  ]))
2700
2711
  ]),
2701
2712
  o("div", qi, [
@@ -2737,9 +2748,9 @@ const J4 = (e, t = null) => {
2737
2748
  __: [3]
2738
2749
  }, 8, ["actions"])) : v("", !0),
2739
2750
  e.chat.countUnread < 1 ? (l(), r("div", Gi, [
2740
- N(wt).includes(e.chat["lastMessage.status"]) ? (l(), r("div", {
2751
+ D(wt).includes(e.chat["lastMessage.status"]) ? (l(), r("div", {
2741
2752
  key: 0,
2742
- class: j(["chat-item__status-message", M.value])
2753
+ class: j(["chat-item__status-message", _.value])
2743
2754
  }, [
2744
2755
  e.chat["lastMessage.status"] !== "sent" ? (l(), r("span", Xi)) : v("", !0),
2745
2756
  C[4] || (C[4] = o("span", { class: "pi pi-check" }, null, -1))
@@ -2747,18 +2758,18 @@ const J4 = (e, t = null) => {
2747
2758
  e.chat.isFixedTop || e.chat.isFixedBottom ? (l(), r("span", eo)) : v("", !0)
2748
2759
  ])) : v("", !0)
2749
2760
  ]),
2750
- e.chat.dialogs ? (l(), r("div", {
2761
+ n.showDialogs && e.chat.dialogs ? (l(), r("div", {
2751
2762
  key: 0,
2752
2763
  class: "chat-item__dialog-buttons",
2753
2764
  onClick: C[1] || (C[1] = (w) => a("expand", n.chat))
2754
2765
  }, [
2755
- e.chat.dialogsExpanded ? v("", !0) : (l(), r("button", to, C[5] || (C[5] = [
2766
+ n.showDialogs && !e.chat.dialogsExpanded ? (l(), r("button", to, C[5] || (C[5] = [
2756
2767
  o("span", {
2757
2768
  id: "noSelectButton",
2758
2769
  class: "pi pi-angle-down"
2759
2770
  }, null, -1)
2760
- ]))),
2761
- e.chat.dialogsExpanded ? (l(), r("button", no, C[6] || (C[6] = [
2771
+ ]))) : v("", !0),
2772
+ n.showDialogs && e.chat.dialogsExpanded ? (l(), r("button", no, C[6] || (C[6] = [
2762
2773
  o("span", {
2763
2774
  id: "noSelectButton",
2764
2775
  class: "pi pi-angle-up"
@@ -2766,11 +2777,11 @@ const J4 = (e, t = null) => {
2766
2777
  ]))) : v("", !0)
2767
2778
  ])) : v("", !0)
2768
2779
  ], 34),
2769
- e.chat.dialogsExpanded ? (l(), r("div", ao, [
2780
+ n.showDialogs && e.chat.dialogsExpanded ? (l(), r("div", ao, [
2770
2781
  (l(!0), r(K, null, oe(p(), (w) => (l(), r("div", {
2771
2782
  key: w.dialogId,
2772
2783
  class: j(["dialog__item", d(w)]),
2773
- onClick: (_) => c(w)
2784
+ onClick: (M) => c(w)
2774
2785
  }, [
2775
2786
  w.icon ? (l(), r("img", {
2776
2787
  key: 0,
@@ -2786,13 +2797,13 @@ const J4 = (e, t = null) => {
2786
2797
  w.countUnread > 0 ? (l(), r("div", {
2787
2798
  key: 2,
2788
2799
  class: "chat-item__unread",
2789
- style: de({ backgroundColor: w.colorUnread ? w.colorUnread : null })
2800
+ style: ce({ backgroundColor: w.colorUnread ? w.colorUnread : null })
2790
2801
  }, x(w.countUnread > 99 ? "99+" : w.countUnread), 5)) : v("", !0)
2791
2802
  ], 10, fo))), 128))
2792
2803
  ])) : v("", !0)
2793
2804
  ]));
2794
2805
  }
2795
- }), ia = /* @__PURE__ */ O(co, [["__scopeId", "data-v-0b2a27cb"]]), uo = {}, Ao = {
2806
+ }), ia = /* @__PURE__ */ O(co, [["__scopeId", "data-v-260420cb"]]), uo = {}, Ao = {
2796
2807
  width: "17",
2797
2808
  height: "16",
2798
2809
  viewBox: "0 0 17 16",
@@ -2826,7 +2837,7 @@ const mo = /* @__PURE__ */ O(uo, [["render", go]]), po = { class: "chat-filter__
2826
2837
  emits: ["update"],
2827
2838
  setup(e, { emit: t }) {
2828
2839
  const n = b(""), a = t, f = () => {
2829
- const i = N(n);
2840
+ const i = D(n);
2830
2841
  a("update", i.value);
2831
2842
  };
2832
2843
  return (i, s) => (l(), r("div", po, [
@@ -2838,12 +2849,12 @@ const mo = /* @__PURE__ */ O(uo, [["render", go]]), po = { class: "chat-filter__
2838
2849
  ref: n,
2839
2850
  class: "chat-filter__input",
2840
2851
  type: "text",
2841
- placeholder: e.placeholder ? e.placeholder : N(De)("component.ChatFilter.InputPlaceholder"),
2852
+ placeholder: e.placeholder ? e.placeholder : D(Ne)("component.ChatFilter.InputPlaceholder"),
2842
2853
  onInput: f
2843
2854
  }, null, 40, vo)
2844
2855
  ]));
2845
2856
  }
2846
- }, bo = /* @__PURE__ */ O(yo, [["__scopeId", "data-v-cc7024aa"]]), _o = {}, Mo = {
2857
+ }, bo = /* @__PURE__ */ O(yo, [["__scopeId", "data-v-cc7024aa"]]), Mo = {}, _o = {
2847
2858
  width: "22",
2848
2859
  height: "22",
2849
2860
  viewBox: "0 0 22 22",
@@ -2851,14 +2862,14 @@ const mo = /* @__PURE__ */ O(uo, [["render", go]]), po = { class: "chat-filter__
2851
2862
  xmlns: "http://www.w3.org/2000/svg"
2852
2863
  };
2853
2864
  function wo(e, t) {
2854
- return l(), r("svg", Mo, t[0] || (t[0] = [
2865
+ return l(), r("svg", _o, t[0] || (t[0] = [
2855
2866
  o("path", {
2856
2867
  d: "M8.25 11C9.34402 11 10.3932 10.5654 11.1668 9.79182C11.9404 9.01823 12.375 7.96902 12.375 6.875C12.375 5.78098 11.9404 4.73177 11.1668 3.95818C10.3932 3.1846 9.34402 2.75 8.25 2.75C7.15598 2.75 6.10677 3.1846 5.33318 3.95818C4.5596 4.73177 4.125 5.78098 4.125 6.875C4.125 7.96902 4.5596 9.01823 5.33318 9.79182C6.10677 10.5654 7.15598 11 8.25 11ZM1.375 19.25C1.375 19.25 0 19.25 0 17.875C0 16.5 1.375 12.375 8.25 12.375C15.125 12.375 16.5 16.5 16.5 17.875C16.5 19.25 15.125 19.25 15.125 19.25H1.375ZM15.125 4.8125C15.125 4.63016 15.1974 4.4553 15.3264 4.32636C15.4553 4.19743 15.6302 4.125 15.8125 4.125H21.3125C21.4948 4.125 21.6697 4.19743 21.7986 4.32636C21.9276 4.4553 22 4.63016 22 4.8125C22 4.99484 21.9276 5.1697 21.7986 5.29864C21.6697 5.42757 21.4948 5.5 21.3125 5.5H15.8125C15.6302 5.5 15.4553 5.42757 15.3264 5.29864C15.1974 5.1697 15.125 4.99484 15.125 4.8125ZM15.8125 8.25C15.6302 8.25 15.4553 8.32243 15.3264 8.45136C15.1974 8.5803 15.125 8.75516 15.125 8.9375C15.125 9.11984 15.1974 9.2947 15.3264 9.42364C15.4553 9.55257 15.6302 9.625 15.8125 9.625H21.3125C21.4948 9.625 21.6697 9.55257 21.7986 9.42364C21.9276 9.2947 22 9.11984 22 8.9375C22 8.75516 21.9276 8.5803 21.7986 8.45136C21.6697 8.32243 21.4948 8.25 21.3125 8.25H15.8125ZM18.5625 12.375C18.3802 12.375 18.2053 12.4474 18.0764 12.5764C17.9474 12.7053 17.875 12.8802 17.875 13.0625C17.875 13.2448 17.9474 13.4197 18.0764 13.5486C18.2053 13.6776 18.3802 13.75 18.5625 13.75H21.3125C21.4948 13.75 21.6697 13.6776 21.7986 13.5486C21.9276 13.4197 22 13.2448 22 13.0625C22 12.8802 21.9276 12.7053 21.7986 12.5764C21.6697 12.4474 21.4948 12.375 21.3125 12.375H18.5625ZM18.5625 16.5C18.3802 16.5 18.2053 16.5724 18.0764 16.7014C17.9474 16.8303 17.875 17.0052 17.875 17.1875C17.875 17.3698 17.9474 17.5447 18.0764 17.6736C18.2053 17.8026 18.3802 17.875 18.5625 17.875H21.3125C21.4948 17.875 21.6697 17.8026 21.7986 17.6736C21.9276 17.5447 22 17.3698 22 17.1875C22 17.0052 21.9276 16.8303 21.7986 16.7014C21.6697 16.5724 21.4948 16.5 21.3125 16.5H18.5625Z",
2857
2868
  fill: "#5F5F5F"
2858
2869
  }, null, -1)
2859
2870
  ]));
2860
2871
  }
2861
- const Co = /* @__PURE__ */ O(_o, [["render", wo]]), Io = ["fill"], ko = {
2872
+ const Co = /* @__PURE__ */ O(Mo, [["render", wo]]), Io = ["fill"], ko = {
2862
2873
  __name: "CheckIcon",
2863
2874
  props: {
2864
2875
  fillColor: {
@@ -2873,7 +2884,7 @@ const Co = /* @__PURE__ */ O(_o, [["render", wo]]), Io = ["fill"], ko = {
2873
2884
  viewBox: "0 0 14 14",
2874
2885
  fill: "none",
2875
2886
  xmlns: "http://www.w3.org/2000/svg",
2876
- style: de({ color: e.fillColor })
2887
+ style: ce({ color: e.fillColor })
2877
2888
  }, [
2878
2889
  o("path", {
2879
2890
  d: "M11.1436 3.47369C11.2033 3.41276 11.2745 3.36436 11.3532 3.33131C11.4318 3.29827 11.5163 3.28125 11.6016 3.28125C11.6869 3.28125 11.7714 3.29827 11.85 3.33131C11.9287 3.36436 12 3.41276 12.0597 3.47369C12.3099 3.72657 12.3134 4.13519 12.0684 4.39244L6.89456 10.5087C6.83581 10.5732 6.76453 10.625 6.68506 10.661C6.60559 10.6971 6.51962 10.7165 6.43239 10.7181C6.34516 10.7198 6.25851 10.7036 6.17775 10.6706C6.09698 10.6376 6.0238 10.5884 5.96268 10.5262L2.81443 7.33594C2.69301 7.21212 2.625 7.04561 2.625 6.87219C2.625 6.69877 2.69301 6.53227 2.81443 6.40844C2.87415 6.34751 2.94542 6.29911 3.02407 6.26606C3.10272 6.23302 3.18718 6.216 3.27249 6.216C3.35781 6.216 3.44226 6.23302 3.52092 6.26606C3.59957 6.29911 3.67084 6.34751 3.73056 6.40844L6.40106 9.11482L11.1261 3.49294L11.1436 3.47369Z",
@@ -2881,7 +2892,7 @@ const Co = /* @__PURE__ */ O(_o, [["render", wo]]), Io = ["fill"], ko = {
2881
2892
  }, null, 8, Io)
2882
2893
  ], 4));
2883
2894
  }
2884
- }, No = {}, Do = {
2895
+ }, Do = {}, No = {
2885
2896
  width: "22",
2886
2897
  height: "22",
2887
2898
  viewBox: "0 0 22 22",
@@ -2889,7 +2900,7 @@ const Co = /* @__PURE__ */ O(_o, [["render", wo]]), Io = ["fill"], ko = {
2889
2900
  xmlns: "http://www.w3.org/2000/svg"
2890
2901
  };
2891
2902
  function xo(e, t) {
2892
- return l(), r("svg", Do, t[0] || (t[0] = [
2903
+ return l(), r("svg", No, t[0] || (t[0] = [
2893
2904
  o("g", { "clip-path": "url(#clip0_1624_2571)" }, [
2894
2905
  o("path", {
2895
2906
  d: "M18.7014 3.19832C17.6928 2.18037 16.4917 1.37334 15.168 0.82425C13.8444 0.275158 12.4247 -0.00501088 10.9917 6.78295e-05C4.98712 6.78295e-05 0.0935 4.89232 0.088 10.8983C0.088 12.8219 0.59125 14.6933 1.54137 16.3502L0 22.0001L5.7805 20.4848C7.37963 21.3551 9.17115 21.8112 10.9917 21.8117H10.9972C17.0032 21.8117 21.8955 16.9194 21.901 10.9079C21.9024 9.47525 21.6202 8.05645 21.0709 6.73328C20.5215 5.4101 19.7171 4.20871 18.7014 3.19832ZM10.9917 19.9664C9.36787 19.967 7.77384 19.53 6.37725 18.7014L6.04725 18.5034L2.618 19.4027L3.53375 16.0573L3.31925 15.7122C2.41148 14.2689 1.93139 12.5979 1.93462 10.8928C1.93462 5.90707 6.0005 1.83982 10.9972 1.83982C12.1876 1.83768 13.3667 2.0712 14.4664 2.52689C15.5661 2.98259 16.5648 3.65146 17.4047 4.49494C18.2477 5.33513 18.9159 6.3339 19.3709 7.43364C19.8259 8.53337 20.0587 9.71231 20.0557 10.9024C20.0502 15.9061 15.9844 19.9664 10.9917 19.9664ZM15.9624 13.1822C15.6915 13.0461 14.3536 12.3874 14.102 12.2939C13.8517 12.2046 13.6689 12.1578 13.4901 12.4301C13.3072 12.7009 12.7847 13.3183 12.628 13.4957C12.4712 13.6786 12.309 13.6992 12.0367 13.5644C11.7659 13.4269 10.8872 13.1409 9.84775 12.2101C9.0365 11.4882 8.49337 10.5944 8.33112 10.3236C8.17437 10.0513 8.316 9.90557 8.45212 9.76944C8.57175 9.64844 8.723 9.45044 8.85912 9.29369C8.99662 9.13694 9.042 9.02144 9.13137 8.83994C9.22075 8.65569 9.17812 8.49894 9.11075 8.36282C9.042 8.22669 8.49887 6.88332 8.26925 6.34157C8.04925 5.80669 7.82512 5.88094 7.65737 5.87407C7.50062 5.86444 7.31775 5.86444 7.13487 5.86444C6.99677 5.86788 6.86087 5.89982 6.7357 5.95826C6.61053 6.01671 6.49879 6.10039 6.4075 6.20407C6.15725 6.47632 5.45737 7.13494 5.45737 8.47832C5.45737 9.82169 6.43362 11.1128 6.57112 11.2957C6.70587 11.4786 8.48787 14.2272 11.2227 15.4097C11.869 15.6916 12.3777 15.8579 12.7751 15.9844C13.4282 16.1934 14.0181 16.1618 14.4884 16.0944C15.0109 16.0147 16.0985 15.4344 16.3281 14.7978C16.5536 14.1598 16.5536 13.6153 16.4849 13.5012C16.4175 13.3857 16.2346 13.3183 15.9624 13.1822Z",
@@ -2907,7 +2918,7 @@ function xo(e, t) {
2907
2918
  ], -1)
2908
2919
  ]));
2909
2920
  }
2910
- const To = /* @__PURE__ */ O(No, [["render", xo]]), Eo = {}, jo = {
2921
+ const To = /* @__PURE__ */ O(Do, [["render", xo]]), Eo = {}, jo = {
2911
2922
  width: "22",
2912
2923
  height: "22",
2913
2924
  viewBox: "0 0 22 22",
@@ -2971,11 +2982,11 @@ const Vo = /* @__PURE__ */ O(Eo, [["render", So]]), Oo = { class: "contact-info"
2971
2982
  if (!A.value) return n.channels[0] || null;
2972
2983
  const y = c(A.value.value);
2973
2984
  return y ? n.channels.find((k) => {
2974
- var _, D;
2975
- const T = ((_ = k.title) == null ? void 0 : _.toLowerCase()) || "", I = ((D = k.channelId) == null ? void 0 : D.toLowerCase()) || "", C = T.includes(y), w = ["whatsapp", "waba", "telegram"].some((V) => I.includes(V));
2985
+ var M, N;
2986
+ const T = ((M = k.title) == null ? void 0 : M.toLowerCase()) || "", I = ((N = k.channelId) == null ? void 0 : N.toLowerCase()) || "", C = T.includes(y), w = ["whatsapp", "waba", "telegram"].some((V) => I.includes(V));
2976
2987
  return C && w;
2977
2988
  }) || n.channels[0] || { title: "default", channelId: "fallback" } : n.channels[0] || null;
2978
- }), g = P(() => n.channels), p = (y) => y ? y.includes("whatsapp") || y.includes("waba") ? To : y.includes("telegram") ? Vo : null : null, M = (y) => !n.currentDialog || !Object.keys(n.currentDialog) ? !1 : n.currentDialog.attributeId === y.id, h = (y) => {
2989
+ }), g = P(() => n.channels), p = (y) => y ? y.includes("whatsapp") || y.includes("waba") ? To : y.includes("telegram") ? Vo : null : null, _ = (y) => !n.currentDialog || !Object.keys(n.currentDialog) ? !1 : n.currentDialog.attributeId === y.id, h = (y) => {
2979
2990
  a("select-attribute-channel", {
2980
2991
  attributeId: y.id,
2981
2992
  channelId: i.value.channelId
@@ -2992,21 +3003,21 @@ const Vo = /* @__PURE__ */ O(Eo, [["render", So]]), Oo = { class: "contact-info"
2992
3003
  var k, T, I, C;
2993
3004
  return l(), r("div", Oo, [
2994
3005
  o("div", zo, [
2995
- (l(!0), r(K, null, oe(((k = e.contact) == null ? void 0 : k.attributes) || [], (w, _) => (l(), r("div", {
3006
+ (l(!0), r(K, null, oe(((k = e.contact) == null ? void 0 : k.attributes) || [], (w, M) => (l(), r("div", {
2996
3007
  key: w.id,
2997
- class: j(["contact-info__attribute-item", { "contact-info__attribute-item--current-chat": M(w) }])
3008
+ class: j(["contact-info__attribute-item", { "contact-info__attribute-item--current-chat": _(w) }])
2998
3009
  }, [
2999
3010
  ge(o("input", {
3000
- id: `attr-${_}`,
3001
- "onUpdate:modelValue": m[0] || (m[0] = (D) => f.value = D),
3011
+ id: `attr-${M}`,
3012
+ "onUpdate:modelValue": m[0] || (m[0] = (N) => f.value = N),
3002
3013
  type: "radio",
3003
3014
  value: w.id,
3004
- onChange: (D) => h(w)
3015
+ onChange: (N) => h(w)
3005
3016
  }, null, 40, Lo), [
3006
3017
  [wa, f.value]
3007
3018
  ]),
3008
3019
  o("label", {
3009
- for: `attr-${_}`
3020
+ for: `attr-${M}`
3010
3021
  }, [
3011
3022
  o("span", Bo, [
3012
3023
  o("span", $o, [
@@ -3014,7 +3025,7 @@ const Vo = /* @__PURE__ */ O(Eo, [["render", So]]), Oo = { class: "contact-info"
3014
3025
  ])
3015
3026
  ]),
3016
3027
  Qt(" " + x(w.value) + " ", 1),
3017
- M(w) ? (l(), r("span", Ro, " Текущий чат ")) : v("", !0)
3028
+ _(w) ? (l(), r("span", Ro, " Текущий чат ")) : v("", !0)
3018
3029
  ], 8, Uo)
3019
3030
  ], 2))), 128))
3020
3031
  ]),
@@ -3046,7 +3057,7 @@ const Vo = /* @__PURE__ */ O(Eo, [["render", So]]), Oo = { class: "contact-info"
3046
3057
  (l(!0), r(K, null, oe(g.value, (w) => (l(), r("div", {
3047
3058
  key: w.channelId,
3048
3059
  class: "contact-info__select-option",
3049
- onClick: (_) => u(w)
3060
+ onClick: (M) => u(w)
3050
3061
  }, [
3051
3062
  o("div", Wo, [
3052
3063
  w.icon ? (l(), r("img", {
@@ -3090,7 +3101,7 @@ const Vo = /* @__PURE__ */ O(Eo, [["render", So]]), Oo = { class: "contact-info"
3090
3101
  }, ml = ["onClick"], pl = { class: "template-selector__item-template-info" }, hl = { class: "template-selector__item-title" }, vl = { class: "template-selector__item-text" }, yl = {
3091
3102
  key: 1,
3092
3103
  class: "template-selector__plug"
3093
- }, bl = ["id"], _l = { class: "template-selector__preview-container" }, Ml = {
3104
+ }, bl = ["id"], Ml = { class: "template-selector__preview-container" }, _l = {
3094
3105
  key: 0,
3095
3106
  class: "template-selector__preview"
3096
3107
  }, wl = { class: "template-selector__preview-wrapper" }, Cl = { class: "template-selector__preview-text" }, Il = {
@@ -3119,23 +3130,23 @@ const Vo = /* @__PURE__ */ O(Eo, [["render", So]]), Oo = { class: "contact-info"
3119
3130
  setup(e, { emit: t }) {
3120
3131
  const n = e, a = se("chatAppId"), { setMessageText: f } = Se(a), i = () => {
3121
3132
  s("closeTemplateWindow"), f(c.value.template);
3122
- }, s = t, u = b(null), c = b(null), A = b(""), d = b(), g = b(""), p = b(""), M = b(""), h = b(!1), y = P(() => !!(h.value && (M.value == "grid" && p.value == "none" || p.value == "grid" && g.value == "none"))), m = P(() => !!(h.value && (g.value == "grid" && p.value == "none" || p.value == "grid" && M.value == "none"))), k = () => {
3123
- h.value && (p.value == "grid" ? I() : M.value == "grid" && w());
3133
+ }, s = t, u = b(null), c = b(null), A = b(""), d = b(), g = b(""), p = b(""), _ = b(""), h = b(!1), y = P(() => !!(h.value && (_.value == "grid" && p.value == "none" || p.value == "grid" && g.value == "none"))), m = P(() => !!(h.value && (g.value == "grid" && p.value == "none" || p.value == "grid" && _.value == "none"))), k = () => {
3134
+ h.value && (p.value == "grid" ? I() : _.value == "grid" && w());
3124
3135
  }, T = () => {
3125
3136
  h.value && (p.value == "grid" ? C() : g.value == "grid" && w());
3126
3137
  }, I = () => {
3127
3138
  const $ = document.getElementById("template-selector-container-" + a);
3128
- $.style.setProperty("--chotto-template-first-col-display", "grid"), $.style.setProperty("--chotto-template-second-col-display", "none"), _();
3139
+ $.style.setProperty("--chotto-template-first-col-display", "grid"), $.style.setProperty("--chotto-template-second-col-display", "none"), M();
3129
3140
  }, C = () => {
3130
3141
  const $ = document.getElementById("template-selector-container-" + a);
3131
- $.style.setProperty("--chotto-template-third-col-display", "grid"), $.style.setProperty("--chotto-template-second-col-display", "none"), _();
3142
+ $.style.setProperty("--chotto-template-third-col-display", "grid"), $.style.setProperty("--chotto-template-second-col-display", "none"), M();
3132
3143
  }, w = () => {
3133
3144
  const $ = document.getElementById("template-selector-container-" + a);
3134
- $.style.setProperty("--chotto-template-second-col-display", "grid"), $.style.setProperty("--chotto-template-first-col-display", "none"), $.style.setProperty("--chotto-template-third-col-display", "none"), _();
3135
- }, _ = () => {
3145
+ $.style.setProperty("--chotto-template-second-col-display", "grid"), $.style.setProperty("--chotto-template-first-col-display", "none"), $.style.setProperty("--chotto-template-third-col-display", "none"), M();
3146
+ }, M = () => {
3136
3147
  const $ = document.getElementById("template-selector-container-" + a), R = window.getComputedStyle($);
3137
- g.value = R.getPropertyValue("--chotto-template-first-col-display"), p.value = R.getPropertyValue("--chotto-template-second-col-display"), M.value = R.getPropertyValue("--chotto-template-third-col-display");
3138
- }, D = ($) => {
3148
+ g.value = R.getPropertyValue("--chotto-template-first-col-display"), p.value = R.getPropertyValue("--chotto-template-second-col-display"), _.value = R.getPropertyValue("--chotto-template-third-col-display");
3149
+ }, N = ($) => {
3139
3150
  n.templates.forEach((R) => R.isSelected = !1), $.isSelected = !0, c.value = $, C();
3140
3151
  }, V = () => {
3141
3152
  w(), n.templates.forEach(($) => $.isSelected = !1);
@@ -3147,10 +3158,10 @@ const Vo = /* @__PURE__ */ O(Eo, [["render", So]]), Oo = { class: "contact-info"
3147
3158
  R > 700 && (h.value = !1), R < 700 && (h.value = !0);
3148
3159
  });
3149
3160
  return me(() => {
3150
- _(), N(d) && X.observe(N(d));
3161
+ M(), D(d) && X.observe(D(d));
3151
3162
  }), ($, R) => (l(), r("div", Go, [
3152
3163
  o("div", {
3153
- id: "template-selector-container-" + N(a),
3164
+ id: "template-selector-container-" + D(a),
3154
3165
  ref_key: "refContainer",
3155
3166
  ref: d,
3156
3167
  class: j({
@@ -3182,7 +3193,7 @@ const Vo = /* @__PURE__ */ O(Eo, [["render", So]]), Oo = { class: "contact-info"
3182
3193
  ]),
3183
3194
  o("div", sl, [
3184
3195
  o("div", {
3185
- id: "template-selector-first-col-" + N(a),
3196
+ id: "template-selector-first-col-" + D(a),
3186
3197
  class: "template-selector__first-col"
3187
3198
  }, [
3188
3199
  o("ul", ol, [
@@ -3213,7 +3224,7 @@ const Vo = /* @__PURE__ */ O(Eo, [["render", So]]), Oo = { class: "contact-info"
3213
3224
  ])
3214
3225
  ], 8, il),
3215
3226
  o("div", {
3216
- id: "template-selector-second-col-" + N(a),
3227
+ id: "template-selector-second-col-" + D(a),
3217
3228
  class: "template-selector__second-col"
3218
3229
  }, [
3219
3230
  o("div", Al, [
@@ -3223,7 +3234,7 @@ const Vo = /* @__PURE__ */ O(Eo, [["render", So]]), Oo = { class: "contact-info"
3223
3234
  type: "text",
3224
3235
  placeholder: "Поиск шаблона"
3225
3236
  }, null, 512), [
3226
- [_t, A.value]
3237
+ [Mt, A.value]
3227
3238
  ])
3228
3239
  ]),
3229
3240
  o("div", dl, [
@@ -3231,7 +3242,7 @@ const Vo = /* @__PURE__ */ O(Eo, [["render", So]]), Oo = { class: "contact-info"
3231
3242
  (l(!0), r(K, null, oe(Y.value, (ee, fe) => (l(), r("li", {
3232
3243
  key: fe,
3233
3244
  class: j(["template-selector__item-template", { "template-selector__item-selected": ee.isSelected }]),
3234
- onClick: (te) => D(ee)
3245
+ onClick: (te) => N(ee)
3235
3246
  }, [
3236
3247
  o("div", pl, [
3237
3248
  o("p", hl, x(ee.title), 1),
@@ -3242,11 +3253,11 @@ const Vo = /* @__PURE__ */ O(Eo, [["render", So]]), Oo = { class: "contact-info"
3242
3253
  ])
3243
3254
  ], 8, ul),
3244
3255
  o("div", {
3245
- id: "template-selector-third-col-" + N(a),
3256
+ id: "template-selector-third-col-" + D(a),
3246
3257
  class: "template-selector__third-col"
3247
3258
  }, [
3248
- o("div", _l, [
3249
- c.value ? (l(), r("div", Ml, [
3259
+ o("div", Ml, [
3260
+ c.value ? (l(), r("div", _l, [
3250
3261
  o("div", wl, [
3251
3262
  o("p", Cl, x(c.value.template), 1),
3252
3263
  R[3] || (R[3] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1))
@@ -3262,7 +3273,7 @@ const Vo = /* @__PURE__ */ O(Eo, [["render", So]]), Oo = { class: "contact-info"
3262
3273
  ], 10, Xo)
3263
3274
  ]));
3264
3275
  }
3265
- }, Nl = /* @__PURE__ */ O(kl, [["__scopeId", "data-v-10a84eb8"]]), Dl = {}, xl = {
3276
+ }, Dl = /* @__PURE__ */ O(kl, [["__scopeId", "data-v-10a84eb8"]]), Nl = {}, xl = {
3266
3277
  width: "26",
3267
3278
  height: "26",
3268
3279
  viewBox: "0 0 26 26",
@@ -3281,7 +3292,7 @@ function Tl(e, t) {
3281
3292
  }, null, -1)
3282
3293
  ]));
3283
3294
  }
3284
- const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3295
+ const El = /* @__PURE__ */ O(Nl, [["render", Tl]]), jl = { class: "" }, Sl = {
3285
3296
  __name: "ButtonTemplateSelector",
3286
3297
  props: {
3287
3298
  templates: {
@@ -3326,7 +3337,7 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3326
3337
  position: "left"
3327
3338
  }, {
3328
3339
  default: Z(() => [
3329
- N(a)().isRecording ? v("", !0) : (l(), r("button", {
3340
+ D(a)().isRecording ? v("", !0) : (l(), r("button", {
3330
3341
  key: 0,
3331
3342
  ref_key: "templateButton",
3332
3343
  ref: f,
@@ -3350,7 +3361,7 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3350
3361
  onMouseover: u,
3351
3362
  onMouseout: c
3352
3363
  }, [
3353
- W(Nl, {
3364
+ W(Dl, {
3354
3365
  templates: e.templates,
3355
3366
  "group-templates": e.groupTemplates,
3356
3367
  "elevated-window": e.elevatedWindow,
@@ -3410,15 +3421,15 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3410
3421
  }
3411
3422
  return me(() => {
3412
3423
  window.addEventListener("keydown", d);
3413
- }), Mt(() => {
3424
+ }), _t(() => {
3414
3425
  window.removeEventListener("keydown", d);
3415
3426
  }), (g, p) => (l(), r("span", {
3416
- id: "placeholder" + N(n) + e.index,
3427
+ id: "placeholder" + D(n) + e.index,
3417
3428
  ref_key: "refPlaceholder",
3418
3429
  ref: s,
3419
3430
  contenteditable: "",
3420
3431
  class: j([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"]),
3421
- onKeydown: _a(A, ["enter"]),
3432
+ onKeydown: Ma(A, ["enter"]),
3422
3433
  onFocus: u,
3423
3434
  onBlur: c
3424
3435
  }, x(i.value), 43, Vl));
@@ -3475,7 +3486,7 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3475
3486
  s.value = "Файл слишком большого размера";
3476
3487
  else if (!s.value) {
3477
3488
  f.value = y, u.value = "uploading";
3478
- const T = N(a.value);
3489
+ const T = D(a.value);
3479
3490
  Hn(typeof T == "string" ? T : null, y).then((I) => {
3480
3491
  u.value = I.status, I.status == "success" && (A("fileSelected", {
3481
3492
  url: I.url,
@@ -3493,7 +3504,7 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3493
3504
  });
3494
3505
  }
3495
3506
  }
3496
- }, M = () => {
3507
+ }, _ = () => {
3497
3508
  f.value && (f.value = null, u.value = "");
3498
3509
  };
3499
3510
  return ae(
@@ -3529,7 +3540,7 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3529
3540
  ], 2)) : u.value === "success" && c.value ? (l(), U(qn, {
3530
3541
  key: 1,
3531
3542
  "file-info": c.value,
3532
- onReset: M
3543
+ onReset: _
3533
3544
  }, null, 8, ["file-info"])) : v("", !0),
3534
3545
  s.value ? (l(), r("div", Bl, x(s.value), 1)) : v("", !0)
3535
3546
  ], 64));
@@ -3618,13 +3629,13 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3618
3629
  }, yr = { class: "template-selector__third-col" }, br = {
3619
3630
  key: 0,
3620
3631
  class: "template-selector__preview"
3621
- }, _r = { class: "template-selector__preview-wrapper" }, Mr = { class: "template-selector__preview-text-container" }, wr = { key: 0 }, Cr = {
3632
+ }, Mr = { class: "template-selector__preview-wrapper" }, _r = { class: "template-selector__preview-text-container" }, wr = { key: 0 }, Cr = {
3622
3633
  key: 1,
3623
3634
  class: "template-selector__plug"
3624
3635
  }, Ir = {
3625
3636
  key: 2,
3626
3637
  class: "template-selector__reply-buttons"
3627
- }, kr = ["disabled"], Nr = {
3638
+ }, kr = ["disabled"], Dr = {
3628
3639
  __name: "WABATemplateSelector",
3629
3640
  props: {
3630
3641
  wabaTemplates: {
@@ -3659,21 +3670,21 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3659
3670
  g.value ? (E.text = Ce.value, E.templateId = d.value.templateId, E.values = H.value, E.file = g.value) : (E.text = Ce.value, E.templateId = d.value.templateId, E.values = H.value), d.value.buttons && (E.buttons = d.value.buttons), f("sendWabaValues", E), $e();
3660
3671
  }, u = (E) => {
3661
3672
  g.value = E;
3662
- }, c = b(null), A = b(null), d = b(null), g = b(null), p = b(""), M = b(!1), h = () => {
3663
- M.value = !M.value, M.value ? (c.value.scrollTop = 0, c.value.style["overflow-y"] = "hidden") : c.value.style["overflow-y"] = "scroll";
3673
+ }, c = b(null), A = b(null), d = b(null), g = b(null), p = b(""), _ = b(!1), h = () => {
3674
+ _.value = !_.value, _.value ? (c.value.scrollTop = 0, c.value.style["overflow-y"] = "hidden") : c.value.style["overflow-y"] = "scroll";
3664
3675
  }, y = (E) => {
3665
3676
  Object.keys(I).forEach((Q) => {
3666
3677
  I[Q] = "";
3667
- }), g.value = null, n.wabaTemplates.forEach((Q) => Q.isSelected = !1), E.isSelected = !0, d.value = E, M.value = !1, fe();
3678
+ }), g.value = null, n.wabaTemplates.forEach((Q) => Q.isSelected = !1), E.isSelected = !0, d.value = E, _.value = !1, fe();
3668
3679
  }, m = () => {
3669
3680
  te(), n.wabaTemplates.forEach((E) => E.isSelected = !1);
3670
3681
  }, k = P(() => A.value ? n.wabaTemplates.filter((E) => E.groupId === A.value.groupId) : n.wabaTemplates), T = P(() => {
3671
3682
  const E = p.value.trim().toLowerCase();
3672
3683
  return k.value.filter((Q) => Q.title.toLowerCase().includes(E) || Q.template.toLowerCase().includes(E));
3673
- }), I = p1({}), C = b(null), w = b(), _ = b(""), D = b(""), V = b(""), z = b(!1), Y = P(() => !!(z.value && (V.value == "grid" && D.value == "none" || D.value == "grid" && _.value == "none"))), X = P(() => !!(z.value && (_.value == "grid" && D.value == "none" || D.value == "grid" && V.value == "none"))), $ = () => {
3674
- z.value && (D.value == "grid" ? ee() : V.value == "grid" && te());
3684
+ }), I = hf({}), C = b(null), w = b(), M = b(""), N = b(""), V = b(""), z = b(!1), Y = P(() => !!(z.value && (V.value == "grid" && N.value == "none" || N.value == "grid" && M.value == "none"))), X = P(() => !!(z.value && (M.value == "grid" && N.value == "none" || N.value == "grid" && V.value == "none"))), $ = () => {
3685
+ z.value && (N.value == "grid" ? ee() : V.value == "grid" && te());
3675
3686
  }, R = () => {
3676
- z.value && (D.value == "grid" ? fe() : _.value == "grid" && te());
3687
+ z.value && (N.value == "grid" ? fe() : M.value == "grid" && te());
3677
3688
  }, ee = () => {
3678
3689
  const E = document.getElementById("waba-template-selector-container-" + a);
3679
3690
  E.style.setProperty("--chotto-waba-template-first-col-display", "grid"), E.style.setProperty("--chotto-waba-template-second-col-display", "none"), console.log(E, window.getComputedStyle(E).getPropertyValue("--waba-template-first-col-display")), re();
@@ -3685,7 +3696,7 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3685
3696
  E.style.setProperty("--chotto-waba-template-second-col-display", "grid"), E.style.setProperty("--chotto-waba-template-first-col-display", "none"), E.style.setProperty("--chotto-waba-template-third-col-display", "none"), re();
3686
3697
  }, re = () => {
3687
3698
  const E = document.getElementById("waba-template-selector-container-" + a), Q = window.getComputedStyle(E);
3688
- _.value = Q.getPropertyValue("--chotto-waba-template-first-col-display"), D.value = Q.getPropertyValue("--chotto-waba-template-second-col-display"), V.value = Q.getPropertyValue("--chotto-waba-template-third-col-display");
3699
+ M.value = Q.getPropertyValue("--chotto-waba-template-first-col-display"), N.value = Q.getPropertyValue("--chotto-waba-template-second-col-display"), V.value = Q.getPropertyValue("--chotto-waba-template-third-col-display");
3689
3700
  }, Ue = (E) => {
3690
3701
  I[E[1]] = E[0];
3691
3702
  }, pe = P(() => {
@@ -3693,10 +3704,10 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3693
3704
  const E = (be = d.value) == null ? void 0 : be.template;
3694
3705
  if (!E) return [];
3695
3706
  const Q = [...E.matchAll(/{{\d+}}/g)], F = [];
3696
- let ce = 0;
3707
+ let ue = 0;
3697
3708
  return Q.forEach((Re) => {
3698
- Re.index > ce && F.push(E.substring(ce, Re.index)), F.push({ index: parseInt(Re[0].slice(2, -2)) }), ce = Re.index + Re[0].length;
3699
- }), ce < E.length && F.push(E.substring(ce)), F;
3709
+ Re.index > ue && F.push(E.substring(ue, Re.index)), F.push({ index: parseInt(Re[0].slice(2, -2)) }), ue = Re.index + Re[0].length;
3710
+ }), ue < E.length && F.push(E.substring(ue)), F;
3700
3711
  }), Be = P(() => {
3701
3712
  var Q, F;
3702
3713
  if (!d.value)
@@ -3724,10 +3735,10 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3724
3735
  Q > 700 && (z.value = !1), Q < 700 && (z.value = !0);
3725
3736
  });
3726
3737
  return me(() => {
3727
- re(), N(w) && q.observe(N(w));
3738
+ re(), D(w) && q.observe(D(w));
3728
3739
  }), (E, Q) => (l(), r("div", Gl, [
3729
3740
  o("div", {
3730
- id: "waba-template-selector-container-" + N(a),
3741
+ id: "waba-template-selector-container-" + D(a),
3731
3742
  ref_key: "refContainer",
3732
3743
  ref: w,
3733
3744
  class: j({
@@ -3760,8 +3771,8 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3760
3771
  o("div", fr, [
3761
3772
  o("div", sr, [
3762
3773
  o("ul", ir, [
3763
- (l(!0), r(K, null, oe(e.groupTemplates, (F, ce) => (l(), r("li", {
3764
- key: ce,
3774
+ (l(!0), r(K, null, oe(e.groupTemplates, (F, ue) => (l(), r("li", {
3775
+ key: ue,
3765
3776
  class: j(["template-selector__item-group", { "template-selector__item-selected": A.value === F }]),
3766
3777
  onClick: m
3767
3778
  }, [
@@ -3773,7 +3784,7 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3773
3784
  alt: F.title
3774
3785
  }, null, 8, lr)) : v("", !0),
3775
3786
  ge(o("input", {
3776
- id: ce,
3787
+ id: ue,
3777
3788
  "onUpdate:modelValue": Q[0] || (Q[0] = (be) => A.value = be),
3778
3789
  value: F,
3779
3790
  class: "template-selector__input-group",
@@ -3794,13 +3805,13 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3794
3805
  type: "text",
3795
3806
  placeholder: "Поиск шаблона"
3796
3807
  }, null, 512), [
3797
- [_t, p.value]
3808
+ [Mt, p.value]
3798
3809
  ])
3799
3810
  ]),
3800
3811
  o("div", Ar, [
3801
3812
  T.value.length !== 0 ? (l(), r("ul", dr, [
3802
- (l(!0), r(K, null, oe(T.value, (F, ce) => (l(), r("li", {
3803
- key: ce,
3813
+ (l(!0), r(K, null, oe(T.value, (F, ue) => (l(), r("li", {
3814
+ key: ue,
3804
3815
  class: j(["template-selector__item-template", { "template-selector__item-selected": F.isSelected }]),
3805
3816
  onClick: (be) => y(F)
3806
3817
  }, [
@@ -3819,15 +3830,15 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3819
3830
  class: "template-selector__preview-container"
3820
3831
  }, [
3821
3832
  pe.value.length > 0 ? (l(), r("div", br, [
3822
- o("div", _r, [
3833
+ o("div", Mr, [
3823
3834
  d.value.type != "TEXT" ? (l(), U(Rl, {
3824
3835
  key: 0,
3825
3836
  type: d.value.type,
3826
3837
  "template-id": d.value.templateId,
3827
3838
  onFileSelected: u
3828
3839
  }, null, 8, ["type", "template-id"])) : v("", !0),
3829
- o("div", Mr, [
3830
- (l(!0), r(K, null, oe(pe.value, (F, ce) => (l(), r(K, { key: ce }, [
3840
+ o("div", _r, [
3841
+ (l(!0), r(K, null, oe(pe.value, (F, ue) => (l(), r(K, { key: ue }, [
3831
3842
  typeof F == "string" ? (l(), r("span", wr, x(F), 1)) : typeof F == "object" ? (l(), U(zl, {
3832
3843
  key: 1,
3833
3844
  index: F.index,
@@ -3846,7 +3857,7 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3846
3857
  }, null, 8, ["buttons"])) : v("", !0)
3847
3858
  ])
3848
3859
  ])) : (l(), r("p", Cr, " Предпросмотр шаблона ")),
3849
- M.value ? (l(), r("div", Ir, [
3860
+ _.value ? (l(), r("div", Ir, [
3850
3861
  o("div", {
3851
3862
  class: "template-selector__semitransparent-overlay",
3852
3863
  onClick: h
@@ -3867,7 +3878,7 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3867
3878
  ], 10, Xl)
3868
3879
  ]));
3869
3880
  }
3870
- }, Dr = /* @__PURE__ */ O(Nr, [["__scopeId", "data-v-0b067dc0"]]), xr = {
3881
+ }, Nr = /* @__PURE__ */ O(Dr, [["__scopeId", "data-v-0b067dc0"]]), xr = {
3871
3882
  __name: "ButtonWabaTemplateSelector",
3872
3883
  props: {
3873
3884
  wabaTemplates: {
@@ -3914,11 +3925,11 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3914
3925
  me(() => {
3915
3926
  s.value.style.display = "none";
3916
3927
  });
3917
- const p = (M) => {
3918
- u("sendWabaValues", M);
3928
+ const p = (_) => {
3929
+ u("sendWabaValues", _);
3919
3930
  };
3920
- return (M, h) => (l(), r(K, null, [
3921
- N(f)().isRecording ? v("", !0) : (l(), r("button", {
3931
+ return (_, h) => (l(), r(K, null, [
3932
+ D(f)().isRecording ? v("", !0) : (l(), r("button", {
3922
3933
  key: 0,
3923
3934
  ref_key: "templateButton",
3924
3935
  ref: i,
@@ -3935,7 +3946,7 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3935
3946
  onMouseover: A,
3936
3947
  onMouseout: d
3937
3948
  }, [
3938
- W(Dr, {
3949
+ W(Nr, {
3939
3950
  "waba-templates": e.wabaTemplates,
3940
3951
  "group-templates": e.groupTemplates,
3941
3952
  "elevated-window": e.elevatedWindow,
@@ -3945,7 +3956,7 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3945
3956
  ], 544)
3946
3957
  ], 64));
3947
3958
  }
3948
- }, ng = /* @__PURE__ */ O(xr, [["__scopeId", "data-v-a6de90d6"]]), E1 = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", j1 = {
3959
+ }, ng = /* @__PURE__ */ O(xr, [["__scopeId", "data-v-a6de90d6"]]), jf = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", Sf = {
3949
3960
  recent: "Recently used",
3950
3961
  smileys_people: "Smiles & People",
3951
3962
  animals_nature: "Animals & Nature",
@@ -3955,9 +3966,9 @@ const El = /* @__PURE__ */ O(Dl, [["render", Tl]]), jl = { class: "" }, Sl = {
3955
3966
  objects: "Objects",
3956
3967
  symbols: "Symbols",
3957
3968
  flags: "Flags"
3958
- }, S1 = "u", Kn = "n", cn = "v", qt = "r", Tr = {
3969
+ }, Vf = "u", Kn = "n", cn = "v", qt = "r", Tr = {
3959
3970
  [Kn]: ["grinning face", "grinning"],
3960
- [S1]: "1f600",
3971
+ [Vf]: "1f600",
3961
3972
  [qt]: "1f600"
3962
3973
  }, Fn = "neutral", Er = "1f3fb", jr = "1f3fc", Sr = "1f3fd", Vr = "1f3fe", Or = "1f3ff", zr = [
3963
3974
  Fn,
@@ -15901,7 +15912,7 @@ var Hr = {
15901
15912
  objects: Yr,
15902
15913
  symbols: Pr,
15903
15914
  flags: qr
15904
- }, e1 = [
15915
+ }, ef = [
15905
15916
  {
15906
15917
  key: "recent",
15907
15918
  title: "Recently Used",
@@ -15949,9 +15960,9 @@ var Hr = {
15949
15960
  }
15950
15961
  ];
15951
15962
  const Wr = (e, t) => t.some((n) => e instanceof n);
15952
- let t1, n1;
15963
+ let tf, nf;
15953
15964
  function Kr() {
15954
- return t1 || (t1 = [
15965
+ return tf || (tf = [
15955
15966
  IDBDatabase,
15956
15967
  IDBObjectStore,
15957
15968
  IDBIndex,
@@ -15960,13 +15971,13 @@ function Kr() {
15960
15971
  ]);
15961
15972
  }
15962
15973
  function Zr() {
15963
- return n1 || (n1 = [
15974
+ return nf || (nf = [
15964
15975
  IDBCursor.prototype.advance,
15965
15976
  IDBCursor.prototype.continue,
15966
15977
  IDBCursor.prototype.continuePrimaryKey
15967
15978
  ]);
15968
15979
  }
15969
- const V1 = /* @__PURE__ */ new WeakMap(), va = /* @__PURE__ */ new WeakMap(), O1 = /* @__PURE__ */ new WeakMap(), oa = /* @__PURE__ */ new WeakMap(), Ea = /* @__PURE__ */ new WeakMap();
15980
+ const Of = /* @__PURE__ */ new WeakMap(), va = /* @__PURE__ */ new WeakMap(), zf = /* @__PURE__ */ new WeakMap(), oa = /* @__PURE__ */ new WeakMap(), Ea = /* @__PURE__ */ new WeakMap();
15970
15981
  function Jr(e) {
15971
15982
  const t = new Promise((n, a) => {
15972
15983
  const f = () => {
@@ -15979,7 +15990,7 @@ function Jr(e) {
15979
15990
  e.addEventListener("success", i), e.addEventListener("error", s);
15980
15991
  });
15981
15992
  return t.then((n) => {
15982
- n instanceof IDBCursor && V1.set(n, e);
15993
+ n instanceof IDBCursor && Of.set(n, e);
15983
15994
  }).catch(() => {
15984
15995
  }), Ea.set(t, e), t;
15985
15996
  }
@@ -16004,7 +16015,7 @@ let ya = {
16004
16015
  if (t === "done")
16005
16016
  return va.get(e);
16006
16017
  if (t === "objectStoreNames")
16007
- return e.objectStoreNames || O1.get(e);
16018
+ return e.objectStoreNames || zf.get(e);
16008
16019
  if (t === "store")
16009
16020
  return n.objectStoreNames[1] ? void 0 : n.objectStore(n.objectStoreNames[0]);
16010
16021
  }
@@ -16023,9 +16034,9 @@ function Xr(e) {
16023
16034
  function ec(e) {
16024
16035
  return e === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(t, ...n) {
16025
16036
  const a = e.call(la(this), t, ...n);
16026
- return O1.set(a, t.sort ? t.sort() : [t]), at(a);
16037
+ return zf.set(a, t.sort ? t.sort() : [t]), at(a);
16027
16038
  } : Zr().includes(e) ? function(...t) {
16028
- return e.apply(la(this), t), at(V1.get(this));
16039
+ return e.apply(la(this), t), at(Of.get(this));
16029
16040
  } : function(...t) {
16030
16041
  return at(e.apply(la(this), t));
16031
16042
  };
@@ -16056,7 +16067,7 @@ function ja(e, t, { blocked: n, upgrade: a, blocking: f, terminated: i } = {}) {
16056
16067
  }), u;
16057
16068
  }
16058
16069
  const nc = ["get", "getKey", "getAll", "getAllKeys", "count"], ac = ["put", "add", "delete", "clear"], ra = /* @__PURE__ */ new Map();
16059
- function a1(e, t) {
16070
+ function af(e, t) {
16060
16071
  if (!(e instanceof IDBDatabase && !(t in e) && typeof t == "string"))
16061
16072
  return;
16062
16073
  if (ra.get(t))
@@ -16076,8 +16087,8 @@ function a1(e, t) {
16076
16087
  }
16077
16088
  Xr((e) => ({
16078
16089
  ...e,
16079
- get: (t, n, a) => a1(t, n) || e.get(t, n, a),
16080
- has: (t, n) => !!a1(t, n) || e.has(t, n)
16090
+ get: (t, n, a) => af(t, n) || e.get(t, n, a),
16091
+ has: (t, n) => !!af(t, n) || e.has(t, n)
16081
16092
  }));
16082
16093
  const Sa = "EMJ", gt = "emojis", Va = 3;
16083
16094
  async function fc() {
@@ -16110,7 +16121,7 @@ async function ic() {
16110
16121
  return await (await ja(Sa, Va)).transaction(gt, "readonly").objectStore(gt).getAll();
16111
16122
  }
16112
16123
  function oc() {
16113
- const e = p1({
16124
+ const e = hf({
16114
16125
  search: "",
16115
16126
  emoji: Tr,
16116
16127
  activeGroup: "",
@@ -16130,7 +16141,7 @@ function oc() {
16130
16141
  return this.options.displayRecent || (g = ["recent", ...g]), g;
16131
16142
  },
16132
16143
  get groups() {
16133
- return e1.filter(
16144
+ return ef.filter(
16134
16145
  (g) => !this.disabled.includes(g.key)
16135
16146
  );
16136
16147
  },
@@ -16138,7 +16149,7 @@ function oc() {
16138
16149
  const g = [
16139
16150
  ...this.options.groupOrder,
16140
16151
  ...Object.keys(this.options.additionalGroups),
16141
- ...e1.map((p) => p.key)
16152
+ ...ef.map((p) => p.key)
16142
16153
  ];
16143
16154
  return [...new Set(g)].filter((p) => !this.disabled.includes(p));
16144
16155
  }
@@ -16179,11 +16190,11 @@ function oc() {
16179
16190
  const p = e.recent.findIndex((h) => h.u === g.u);
16180
16191
  if (p > 0 && e.recent.splice(p, 1), p === 0)
16181
16192
  return;
16182
- const M = { u: g.u, n: h1(g.n) };
16183
- e.recent = [M, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), A();
16193
+ const _ = { u: g.u, n: vf(g.n) };
16194
+ e.recent = [_, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), A();
16184
16195
  };
16185
16196
  return {
16186
- state: G1(e),
16197
+ state: Xf(e),
16187
16198
  updateSearch: f,
16188
16199
  updateEmoji: i,
16189
16200
  updateActiveGroup: s,
@@ -16192,9 +16203,9 @@ function oc() {
16192
16203
  updateSelect: d
16193
16204
  };
16194
16205
  }
16195
- var ve = "top", Ee = "bottom", je = "right", ye = "left", Oa = "auto", Zt = [ve, Ee, je, ye], mt = "start", Ht = "end", lc = "clippingParents", z1 = "viewport", Et = "popper", rc = "reference", f1 = /* @__PURE__ */ Zt.reduce(function(e, t) {
16206
+ var ve = "top", Ee = "bottom", je = "right", ye = "left", Oa = "auto", Zt = [ve, Ee, je, ye], mt = "start", Ht = "end", lc = "clippingParents", Lf = "viewport", Et = "popper", rc = "reference", ff = /* @__PURE__ */ Zt.reduce(function(e, t) {
16196
16207
  return e.concat([t + "-" + mt, t + "-" + Ht]);
16197
- }, []), L1 = /* @__PURE__ */ [].concat(Zt, [Oa]).reduce(function(e, t) {
16208
+ }, []), Uf = /* @__PURE__ */ [].concat(Zt, [Oa]).reduce(function(e, t) {
16198
16209
  return e.concat([t, t + "-" + mt, t + "-" + Ht]);
16199
16210
  }, []), cc = "beforeRead", uc = "read", Ac = "afterRead", dc = "beforeMain", gc = "main", mc = "afterMain", pc = "beforeWrite", hc = "write", vc = "afterWrite", yc = [cc, uc, Ac, dc, gc, mc, pc, hc, vc];
16200
16211
  function We(e) {
@@ -16217,7 +16228,7 @@ function xe(e) {
16217
16228
  var t = Le(e).HTMLElement;
16218
16229
  return e instanceof t || e instanceof HTMLElement;
16219
16230
  }
16220
- function U1(e) {
16231
+ function Bf(e) {
16221
16232
  if (typeof ShadowRoot > "u")
16222
16233
  return !1;
16223
16234
  var t = Le(e).ShadowRoot;
@@ -16233,7 +16244,7 @@ function bc(e) {
16233
16244
  }));
16234
16245
  });
16235
16246
  }
16236
- function _c(e) {
16247
+ function Mc(e) {
16237
16248
  var t = e.state, n = {
16238
16249
  popper: {
16239
16250
  position: t.options.strategy,
@@ -16257,12 +16268,12 @@ function _c(e) {
16257
16268
  });
16258
16269
  };
16259
16270
  }
16260
- var Mc = {
16271
+ var _c = {
16261
16272
  name: "applyStyles",
16262
16273
  enabled: !0,
16263
16274
  phase: "write",
16264
16275
  fn: bc,
16265
- effect: _c,
16276
+ effect: Mc,
16266
16277
  requires: ["computeStyles"]
16267
16278
  };
16268
16279
  function He(e) {
@@ -16296,11 +16307,11 @@ function za(e) {
16296
16307
  height: a
16297
16308
  };
16298
16309
  }
16299
- function B1(e, t) {
16310
+ function $f(e, t) {
16300
16311
  var n = t.getRootNode && t.getRootNode();
16301
16312
  if (e.contains(t))
16302
16313
  return !0;
16303
- if (n && U1(n)) {
16314
+ if (n && Bf(n)) {
16304
16315
  var a = t;
16305
16316
  do {
16306
16317
  if (a && e.isSameNode(a))
@@ -16320,9 +16331,9 @@ function ft(e) {
16320
16331
  return ((pt(e) ? e.ownerDocument : e.document) || window.document).documentElement;
16321
16332
  }
16322
16333
  function Zn(e) {
16323
- return We(e) === "html" ? e : e.assignedSlot || e.parentNode || (U1(e) ? e.host : null) || ft(e);
16334
+ return We(e) === "html" ? e : e.assignedSlot || e.parentNode || (Bf(e) ? e.host : null) || ft(e);
16324
16335
  }
16325
- function s1(e) {
16336
+ function sf(e) {
16326
16337
  return !xe(e) || Ke(e).position === "fixed" ? null : e.offsetParent;
16327
16338
  }
16328
16339
  function Cc(e) {
@@ -16341,8 +16352,8 @@ function Cc(e) {
16341
16352
  return null;
16342
16353
  }
16343
16354
  function Jt(e) {
16344
- for (var t = Le(e), n = s1(e); n && wc(n) && Ke(n).position === "static"; )
16345
- n = s1(n);
16355
+ for (var t = Le(e), n = sf(e); n && wc(n) && Ke(n).position === "static"; )
16356
+ n = sf(n);
16346
16357
  return n && (We(n) === "html" || We(n) === "body" && Ke(n).position === "static") ? t : n || Cc(e) || t;
16347
16358
  }
16348
16359
  function La(e) {
@@ -16355,7 +16366,7 @@ function Ic(e, t, n) {
16355
16366
  var a = $t(e, t, n);
16356
16367
  return a > n ? n : a;
16357
16368
  }
16358
- function $1() {
16369
+ function Rf() {
16359
16370
  return {
16360
16371
  top: 0,
16361
16372
  right: 0,
@@ -16363,10 +16374,10 @@ function $1() {
16363
16374
  left: 0
16364
16375
  };
16365
16376
  }
16366
- function R1(e) {
16367
- return Object.assign({}, $1(), e);
16377
+ function Qf(e) {
16378
+ return Object.assign({}, Rf(), e);
16368
16379
  }
16369
- function Q1(e, t) {
16380
+ function Ff(e, t) {
16370
16381
  return t.reduce(function(n, a) {
16371
16382
  return n[a] = e, n;
16372
16383
  }, {});
@@ -16374,25 +16385,25 @@ function Q1(e, t) {
16374
16385
  var kc = function(t, n) {
16375
16386
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
16376
16387
  placement: n.placement
16377
- })) : t, R1(typeof t != "number" ? t : Q1(t, Zt));
16388
+ })) : t, Qf(typeof t != "number" ? t : Ff(t, Zt));
16378
16389
  };
16379
- function Nc(e) {
16390
+ function Dc(e) {
16380
16391
  var t, n = e.state, a = e.name, f = e.options, i = n.elements.arrow, s = n.modifiersData.popperOffsets, u = He(n.placement), c = La(u), A = [ye, je].indexOf(u) >= 0, d = A ? "height" : "width";
16381
16392
  if (!(!i || !s)) {
16382
- var g = kc(f.padding, n), p = za(i), M = c === "y" ? ve : ye, h = c === "y" ? Ee : je, y = n.rects.reference[d] + n.rects.reference[c] - s[c] - n.rects.popper[d], m = s[c] - n.rects.reference[c], k = Jt(i), T = k ? c === "y" ? k.clientHeight || 0 : k.clientWidth || 0 : 0, I = y / 2 - m / 2, C = g[M], w = T - p[d] - g[h], _ = T / 2 - p[d] / 2 + I, D = $t(C, _, w), V = c;
16383
- n.modifiersData[a] = (t = {}, t[V] = D, t.centerOffset = D - _, t);
16393
+ var g = kc(f.padding, n), p = za(i), _ = c === "y" ? ve : ye, h = c === "y" ? Ee : je, y = n.rects.reference[d] + n.rects.reference[c] - s[c] - n.rects.popper[d], m = s[c] - n.rects.reference[c], k = Jt(i), T = k ? c === "y" ? k.clientHeight || 0 : k.clientWidth || 0 : 0, I = y / 2 - m / 2, C = g[_], w = T - p[d] - g[h], M = T / 2 - p[d] / 2 + I, N = $t(C, M, w), V = c;
16394
+ n.modifiersData[a] = (t = {}, t[V] = N, t.centerOffset = N - M, t);
16384
16395
  }
16385
16396
  }
16386
- function Dc(e) {
16397
+ function Nc(e) {
16387
16398
  var t = e.state, n = e.options, a = n.element, f = a === void 0 ? "[data-popper-arrow]" : a;
16388
- f != null && (typeof f == "string" && (f = t.elements.popper.querySelector(f), !f) || B1(t.elements.popper, f) && (t.elements.arrow = f));
16399
+ f != null && (typeof f == "string" && (f = t.elements.popper.querySelector(f), !f) || $f(t.elements.popper, f) && (t.elements.arrow = f));
16389
16400
  }
16390
16401
  var xc = {
16391
16402
  name: "arrow",
16392
16403
  enabled: !0,
16393
16404
  phase: "main",
16394
- fn: Nc,
16395
- effect: Dc,
16405
+ fn: Dc,
16406
+ effect: Nc,
16396
16407
  requires: ["popperOffsets"],
16397
16408
  requiresIfExists: ["preventOverflow"]
16398
16409
  };
@@ -16412,18 +16423,18 @@ function Ec(e) {
16412
16423
  y: ht(n * f) / f || 0
16413
16424
  };
16414
16425
  }
16415
- function i1(e) {
16416
- var t, n = e.popper, a = e.popperRect, f = e.placement, i = e.variation, s = e.offsets, u = e.position, c = e.gpuAcceleration, A = e.adaptive, d = e.roundOffsets, g = e.isFixed, p = d === !0 ? Ec(s) : typeof d == "function" ? d(s) : s, M = p.x, h = M === void 0 ? 0 : M, y = p.y, m = y === void 0 ? 0 : y, k = s.hasOwnProperty("x"), T = s.hasOwnProperty("y"), I = ye, C = ve, w = window;
16426
+ function of(e) {
16427
+ var t, n = e.popper, a = e.popperRect, f = e.placement, i = e.variation, s = e.offsets, u = e.position, c = e.gpuAcceleration, A = e.adaptive, d = e.roundOffsets, g = e.isFixed, p = d === !0 ? Ec(s) : typeof d == "function" ? d(s) : s, _ = p.x, h = _ === void 0 ? 0 : _, y = p.y, m = y === void 0 ? 0 : y, k = s.hasOwnProperty("x"), T = s.hasOwnProperty("y"), I = ye, C = ve, w = window;
16417
16428
  if (A) {
16418
- var _ = Jt(n), D = "clientHeight", V = "clientWidth";
16419
- if (_ === Le(n) && (_ = ft(n), Ke(_).position !== "static" && u === "absolute" && (D = "scrollHeight", V = "scrollWidth")), _ = _, f === ve || (f === ye || f === je) && i === Ht) {
16429
+ var M = Jt(n), N = "clientHeight", V = "clientWidth";
16430
+ if (M === Le(n) && (M = ft(n), Ke(M).position !== "static" && u === "absolute" && (N = "scrollHeight", V = "scrollWidth")), M = M, f === ve || (f === ye || f === je) && i === Ht) {
16420
16431
  C = Ee;
16421
- var z = g && w.visualViewport ? w.visualViewport.height : _[D];
16432
+ var z = g && w.visualViewport ? w.visualViewport.height : M[N];
16422
16433
  m -= z - a.height, m *= c ? 1 : -1;
16423
16434
  }
16424
16435
  if (f === ye || (f === ve || f === Ee) && i === Ht) {
16425
16436
  I = je;
16426
- var Y = g && w.visualViewport ? w.visualViewport.width : _[V];
16437
+ var Y = g && w.visualViewport ? w.visualViewport.width : M[V];
16427
16438
  h -= Y - a.width, h *= c ? 1 : -1;
16428
16439
  }
16429
16440
  }
@@ -16445,12 +16456,12 @@ function jc(e) {
16445
16456
  gpuAcceleration: f,
16446
16457
  isFixed: t.options.strategy === "fixed"
16447
16458
  };
16448
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, i1(Object.assign({}, A, {
16459
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, of(Object.assign({}, A, {
16449
16460
  offsets: t.modifiersData.popperOffsets,
16450
16461
  position: t.options.strategy,
16451
16462
  adaptive: s,
16452
16463
  roundOffsets: c
16453
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, i1(Object.assign({}, A, {
16464
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, of(Object.assign({}, A, {
16454
16465
  offsets: t.modifiersData.arrow,
16455
16466
  position: "absolute",
16456
16467
  adaptive: !1,
@@ -16501,7 +16512,7 @@ var Lc = {
16501
16512
  start: "end",
16502
16513
  end: "start"
16503
16514
  };
16504
- function o1(e) {
16515
+ function lf(e) {
16505
16516
  return e.replace(/start|end/g, function(t) {
16506
16517
  return Lc[t];
16507
16518
  });
@@ -16538,13 +16549,13 @@ function $a(e) {
16538
16549
  var t = Ke(e), n = t.overflow, a = t.overflowX, f = t.overflowY;
16539
16550
  return /auto|scroll|overlay|hidden/.test(n + f + a);
16540
16551
  }
16541
- function F1(e) {
16542
- return ["html", "body", "#document"].indexOf(We(e)) >= 0 ? e.ownerDocument.body : xe(e) && $a(e) ? e : F1(Zn(e));
16552
+ function Yf(e) {
16553
+ return ["html", "body", "#document"].indexOf(We(e)) >= 0 ? e.ownerDocument.body : xe(e) && $a(e) ? e : Yf(Zn(e));
16543
16554
  }
16544
16555
  function Rt(e, t) {
16545
16556
  var n;
16546
16557
  t === void 0 && (t = []);
16547
- var a = F1(e), f = a === ((n = e.ownerDocument) == null ? void 0 : n.body), i = Le(a), s = f ? [i].concat(i.visualViewport || [], $a(a) ? a : []) : a, u = t.concat(s);
16558
+ var a = Yf(e), f = a === ((n = e.ownerDocument) == null ? void 0 : n.body), i = Le(a), s = f ? [i].concat(i.visualViewport || [], $a(a) ? a : []) : a, u = t.concat(s);
16548
16559
  return f ? u : u.concat(Rt(Zn(s)));
16549
16560
  }
16550
16561
  function ba(e) {
@@ -16559,23 +16570,23 @@ function $c(e) {
16559
16570
  var t = vt(e);
16560
16571
  return t.top = t.top + e.clientTop, t.left = t.left + e.clientLeft, t.bottom = t.top + e.clientHeight, t.right = t.left + e.clientWidth, t.width = e.clientWidth, t.height = e.clientHeight, t.x = t.left, t.y = t.top, t;
16561
16572
  }
16562
- function l1(e, t) {
16563
- return t === z1 ? ba(Uc(e)) : pt(t) ? $c(t) : ba(Bc(ft(e)));
16573
+ function rf(e, t) {
16574
+ return t === Lf ? ba(Uc(e)) : pt(t) ? $c(t) : ba(Bc(ft(e)));
16564
16575
  }
16565
16576
  function Rc(e) {
16566
16577
  var t = Rt(Zn(e)), n = ["absolute", "fixed"].indexOf(Ke(e).position) >= 0, a = n && xe(e) ? Jt(e) : e;
16567
16578
  return pt(a) ? t.filter(function(f) {
16568
- return pt(f) && B1(f, a) && We(f) !== "body" && (n ? Ke(f).position !== "static" : !0);
16579
+ return pt(f) && $f(f, a) && We(f) !== "body" && (n ? Ke(f).position !== "static" : !0);
16569
16580
  }) : [];
16570
16581
  }
16571
16582
  function Qc(e, t, n) {
16572
16583
  var a = t === "clippingParents" ? Rc(e) : [].concat(t), f = [].concat(a, [n]), i = f[0], s = f.reduce(function(u, c) {
16573
- var A = l1(e, c);
16584
+ var A = rf(e, c);
16574
16585
  return u.top = ct(A.top, u.top), u.right = Yn(A.right, u.right), u.bottom = Yn(A.bottom, u.bottom), u.left = ct(A.left, u.left), u;
16575
- }, l1(e, i));
16586
+ }, rf(e, i));
16576
16587
  return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
16577
16588
  }
16578
- function Y1(e) {
16589
+ function Pf(e) {
16579
16590
  var t = e.reference, n = e.element, a = e.placement, f = a ? He(a) : null, i = a ? yt(a) : null, s = t.x + t.width / 2 - n.width / 2, u = t.y + t.height / 2 - n.height / 2, c;
16580
16591
  switch (f) {
16581
16592
  case ve:
@@ -16624,15 +16635,15 @@ function Y1(e) {
16624
16635
  }
16625
16636
  function Wt(e, t) {
16626
16637
  t === void 0 && (t = {});
16627
- var n = t, a = n.placement, f = a === void 0 ? e.placement : a, i = n.boundary, s = i === void 0 ? lc : i, u = n.rootBoundary, c = u === void 0 ? z1 : u, A = n.elementContext, d = A === void 0 ? Et : A, g = n.altBoundary, p = g === void 0 ? !1 : g, M = n.padding, h = M === void 0 ? 0 : M, y = R1(typeof h != "number" ? h : Q1(h, Zt)), m = d === Et ? rc : Et, k = e.rects.popper, T = e.elements[p ? m : d], I = Qc(pt(T) ? T : T.contextElement || ft(e.elements.popper), s, c), C = vt(e.elements.reference), w = Y1({
16638
+ var n = t, a = n.placement, f = a === void 0 ? e.placement : a, i = n.boundary, s = i === void 0 ? lc : i, u = n.rootBoundary, c = u === void 0 ? Lf : u, A = n.elementContext, d = A === void 0 ? Et : A, g = n.altBoundary, p = g === void 0 ? !1 : g, _ = n.padding, h = _ === void 0 ? 0 : _, y = Qf(typeof h != "number" ? h : Ff(h, Zt)), m = d === Et ? rc : Et, k = e.rects.popper, T = e.elements[p ? m : d], I = Qc(pt(T) ? T : T.contextElement || ft(e.elements.popper), s, c), C = vt(e.elements.reference), w = Pf({
16628
16639
  reference: C,
16629
16640
  element: k,
16630
16641
  placement: f
16631
- }), _ = ba(Object.assign({}, k, w)), D = d === Et ? _ : C, V = {
16632
- top: I.top - D.top + y.top,
16633
- bottom: D.bottom - I.bottom + y.bottom,
16634
- left: I.left - D.left + y.left,
16635
- right: D.right - I.right + y.right
16642
+ }), M = ba(Object.assign({}, k, w)), N = d === Et ? M : C, V = {
16643
+ top: I.top - N.top + y.top,
16644
+ bottom: N.bottom - I.bottom + y.bottom,
16645
+ left: I.left - N.left + y.left,
16646
+ right: N.right - I.right + y.right
16636
16647
  }, z = e.modifiersData.offset;
16637
16648
  if (d === Et && z) {
16638
16649
  var Y = z[f];
@@ -16645,13 +16656,13 @@ function Wt(e, t) {
16645
16656
  }
16646
16657
  function Fc(e, t) {
16647
16658
  t === void 0 && (t = {});
16648
- var n = t, a = n.placement, f = n.boundary, i = n.rootBoundary, s = n.padding, u = n.flipVariations, c = n.allowedAutoPlacements, A = c === void 0 ? L1 : c, d = yt(a), g = d ? u ? f1 : f1.filter(function(h) {
16659
+ var n = t, a = n.placement, f = n.boundary, i = n.rootBoundary, s = n.padding, u = n.flipVariations, c = n.allowedAutoPlacements, A = c === void 0 ? Uf : c, d = yt(a), g = d ? u ? ff : ff.filter(function(h) {
16649
16660
  return yt(h) === d;
16650
16661
  }) : Zt, p = g.filter(function(h) {
16651
16662
  return A.indexOf(h) >= 0;
16652
16663
  });
16653
16664
  p.length === 0 && (p = g);
16654
- var M = p.reduce(function(h, y) {
16665
+ var _ = p.reduce(function(h, y) {
16655
16666
  return h[y] = Wt(e, {
16656
16667
  placement: y,
16657
16668
  boundary: f,
@@ -16659,20 +16670,20 @@ function Fc(e, t) {
16659
16670
  padding: s
16660
16671
  })[He(y)], h;
16661
16672
  }, {});
16662
- return Object.keys(M).sort(function(h, y) {
16663
- return M[h] - M[y];
16673
+ return Object.keys(_).sort(function(h, y) {
16674
+ return _[h] - _[y];
16664
16675
  });
16665
16676
  }
16666
16677
  function Yc(e) {
16667
16678
  if (He(e) === Oa)
16668
16679
  return [];
16669
16680
  var t = gn(e);
16670
- return [o1(e), t, o1(t)];
16681
+ return [lf(e), t, lf(t)];
16671
16682
  }
16672
16683
  function Pc(e) {
16673
16684
  var t = e.state, n = e.options, a = e.name;
16674
16685
  if (!t.modifiersData[a]._skip) {
16675
- for (var f = n.mainAxis, i = f === void 0 ? !0 : f, s = n.altAxis, u = s === void 0 ? !0 : s, c = n.fallbackPlacements, A = n.padding, d = n.boundary, g = n.rootBoundary, p = n.altBoundary, M = n.flipVariations, h = M === void 0 ? !0 : M, y = n.allowedAutoPlacements, m = t.options.placement, k = He(m), T = k === m, I = c || (T || !h ? [gn(m)] : Yc(m)), C = [m].concat(I).reduce(function(q, E) {
16686
+ for (var f = n.mainAxis, i = f === void 0 ? !0 : f, s = n.altAxis, u = s === void 0 ? !0 : s, c = n.fallbackPlacements, A = n.padding, d = n.boundary, g = n.rootBoundary, p = n.altBoundary, _ = n.flipVariations, h = _ === void 0 ? !0 : _, y = n.allowedAutoPlacements, m = t.options.placement, k = He(m), T = k === m, I = c || (T || !h ? [gn(m)] : Yc(m)), C = [m].concat(I).reduce(function(q, E) {
16676
16687
  return q.concat(He(E) === Oa ? Fc(t, {
16677
16688
  placement: E,
16678
16689
  boundary: d,
@@ -16681,7 +16692,7 @@ function Pc(e) {
16681
16692
  flipVariations: h,
16682
16693
  allowedAutoPlacements: y
16683
16694
  }) : E);
16684
- }, []), w = t.rects.reference, _ = t.rects.popper, D = /* @__PURE__ */ new Map(), V = !0, z = C[0], Y = 0; Y < C.length; Y++) {
16695
+ }, []), w = t.rects.reference, M = t.rects.popper, N = /* @__PURE__ */ new Map(), V = !0, z = C[0], Y = 0; Y < C.length; Y++) {
16685
16696
  var X = C[Y], $ = He(X), R = yt(X) === mt, ee = [ve, Ee].indexOf($) >= 0, fe = ee ? "width" : "height", te = Wt(t, {
16686
16697
  placement: X,
16687
16698
  boundary: d,
@@ -16689,7 +16700,7 @@ function Pc(e) {
16689
16700
  altBoundary: p,
16690
16701
  padding: A
16691
16702
  }), re = ee ? R ? je : ye : R ? Ee : ve;
16692
- w[fe] > _[fe] && (re = gn(re));
16703
+ w[fe] > M[fe] && (re = gn(re));
16693
16704
  var Ue = gn(re), pe = [];
16694
16705
  if (i && pe.push(te[$] <= 0), u && pe.push(te[re] <= 0, te[Ue] <= 0), pe.every(function(q) {
16695
16706
  return q;
@@ -16697,14 +16708,14 @@ function Pc(e) {
16697
16708
  z = X, V = !1;
16698
16709
  break;
16699
16710
  }
16700
- D.set(X, pe);
16711
+ N.set(X, pe);
16701
16712
  }
16702
16713
  if (V)
16703
16714
  for (var Be = h ? 3 : 1, $e = function(E) {
16704
16715
  var Q = C.find(function(F) {
16705
- var ce = D.get(F);
16706
- if (ce)
16707
- return ce.slice(0, E).every(function(be) {
16716
+ var ue = N.get(F);
16717
+ if (ue)
16718
+ return ue.slice(0, E).every(function(be) {
16708
16719
  return be;
16709
16720
  });
16710
16721
  });
@@ -16728,7 +16739,7 @@ var qc = {
16728
16739
  _skip: !1
16729
16740
  }
16730
16741
  };
16731
- function r1(e, t, n) {
16742
+ function cf(e, t, n) {
16732
16743
  return n === void 0 && (n = {
16733
16744
  x: 0,
16734
16745
  y: 0
@@ -16739,7 +16750,7 @@ function r1(e, t, n) {
16739
16750
  left: e.left - t.width - n.x
16740
16751
  };
16741
16752
  }
16742
- function c1(e) {
16753
+ function uf(e) {
16743
16754
  return [ve, je, Ee, ye].some(function(t) {
16744
16755
  return e[t] >= 0;
16745
16756
  });
@@ -16749,7 +16760,7 @@ function Hc(e) {
16749
16760
  elementContext: "reference"
16750
16761
  }), u = Wt(t, {
16751
16762
  altBoundary: !0
16752
- }), c = r1(s, a), A = r1(u, f, i), d = c1(c), g = c1(A);
16763
+ }), c = cf(s, a), A = cf(u, f, i), d = uf(c), g = uf(A);
16753
16764
  t.modifiersData[n] = {
16754
16765
  referenceClippingOffsets: c,
16755
16766
  popperEscapeOffsets: A,
@@ -16780,7 +16791,7 @@ function Kc(e, t, n) {
16780
16791
  };
16781
16792
  }
16782
16793
  function Zc(e) {
16783
- var t = e.state, n = e.options, a = e.name, f = n.offset, i = f === void 0 ? [0, 0] : f, s = L1.reduce(function(d, g) {
16794
+ var t = e.state, n = e.options, a = e.name, f = n.offset, i = f === void 0 ? [0, 0] : f, s = Uf.reduce(function(d, g) {
16784
16795
  return d[g] = Kc(g, t.rects, i), d;
16785
16796
  }, {}), u = s[t.placement], c = u.x, A = u.y;
16786
16797
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += A), t.modifiersData[a] = s;
@@ -16794,7 +16805,7 @@ var Jc = {
16794
16805
  };
16795
16806
  function Gc(e) {
16796
16807
  var t = e.state, n = e.name;
16797
- t.modifiersData[n] = Y1({
16808
+ t.modifiersData[n] = Pf({
16798
16809
  reference: t.rects.reference,
16799
16810
  element: t.rects.popper,
16800
16811
  placement: t.placement
@@ -16811,12 +16822,12 @@ function eu(e) {
16811
16822
  return e === "x" ? "y" : "x";
16812
16823
  }
16813
16824
  function tu(e) {
16814
- var t = e.state, n = e.options, a = e.name, f = n.mainAxis, i = f === void 0 ? !0 : f, s = n.altAxis, u = s === void 0 ? !1 : s, c = n.boundary, A = n.rootBoundary, d = n.altBoundary, g = n.padding, p = n.tether, M = p === void 0 ? !0 : p, h = n.tetherOffset, y = h === void 0 ? 0 : h, m = Wt(t, {
16825
+ var t = e.state, n = e.options, a = e.name, f = n.mainAxis, i = f === void 0 ? !0 : f, s = n.altAxis, u = s === void 0 ? !1 : s, c = n.boundary, A = n.rootBoundary, d = n.altBoundary, g = n.padding, p = n.tether, _ = p === void 0 ? !0 : p, h = n.tetherOffset, y = h === void 0 ? 0 : h, m = Wt(t, {
16815
16826
  boundary: c,
16816
16827
  rootBoundary: A,
16817
16828
  padding: g,
16818
16829
  altBoundary: d
16819
- }), k = He(t.placement), T = yt(t.placement), I = !T, C = La(k), w = eu(C), _ = t.modifiersData.popperOffsets, D = t.rects.reference, V = t.rects.popper, z = typeof y == "function" ? y(Object.assign({}, t.rects, {
16830
+ }), k = He(t.placement), T = yt(t.placement), I = !T, C = La(k), w = eu(C), M = t.modifiersData.popperOffsets, N = t.rects.reference, V = t.rects.popper, z = typeof y == "function" ? y(Object.assign({}, t.rects, {
16820
16831
  placement: t.placement
16821
16832
  })) : y, Y = typeof z == "number" ? {
16822
16833
  mainAxis: z,
@@ -16828,17 +16839,17 @@ function tu(e) {
16828
16839
  x: 0,
16829
16840
  y: 0
16830
16841
  };
16831
- if (_) {
16842
+ if (M) {
16832
16843
  if (i) {
16833
- var R, ee = C === "y" ? ve : ye, fe = C === "y" ? Ee : je, te = C === "y" ? "height" : "width", re = _[C], Ue = re + m[ee], pe = re - m[fe], Be = M ? -V[te] / 2 : 0, $e = T === mt ? D[te] : V[te], Ce = T === mt ? -V[te] : -D[te], H = t.elements.arrow, q = M && H ? za(H) : {
16844
+ var R, ee = C === "y" ? ve : ye, fe = C === "y" ? Ee : je, te = C === "y" ? "height" : "width", re = M[C], Ue = re + m[ee], pe = re - m[fe], Be = _ ? -V[te] / 2 : 0, $e = T === mt ? N[te] : V[te], Ce = T === mt ? -V[te] : -N[te], H = t.elements.arrow, q = _ && H ? za(H) : {
16834
16845
  width: 0,
16835
16846
  height: 0
16836
- }, E = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : $1(), Q = E[ee], F = E[fe], ce = $t(0, D[te], q[te]), be = I ? D[te] / 2 - Be - ce - Q - Y.mainAxis : $e - ce - Q - Y.mainAxis, Re = I ? -D[te] / 2 + Be + ce + F + Y.mainAxis : Ce + ce + F + Y.mainAxis, ut = t.elements.arrow && Jt(t.elements.arrow), Jn = ut ? C === "y" ? ut.clientTop || 0 : ut.clientLeft || 0 : 0, nn = (R = X == null ? void 0 : X[C]) != null ? R : 0, Nt = re + be - nn - Jn, Gn = re + Re - nn, an = $t(M ? Yn(Ue, Nt) : Ue, re, M ? ct(pe, Gn) : pe);
16837
- _[C] = an, $[C] = an - re;
16847
+ }, E = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Rf(), Q = E[ee], F = E[fe], ue = $t(0, N[te], q[te]), be = I ? N[te] / 2 - Be - ue - Q - Y.mainAxis : $e - ue - Q - Y.mainAxis, Re = I ? -N[te] / 2 + Be + ue + F + Y.mainAxis : Ce + ue + F + Y.mainAxis, ut = t.elements.arrow && Jt(t.elements.arrow), Jn = ut ? C === "y" ? ut.clientTop || 0 : ut.clientLeft || 0 : 0, nn = (R = X == null ? void 0 : X[C]) != null ? R : 0, Dt = re + be - nn - Jn, Gn = re + Re - nn, an = $t(_ ? Yn(Ue, Dt) : Ue, re, _ ? ct(pe, Gn) : pe);
16848
+ M[C] = an, $[C] = an - re;
16838
16849
  }
16839
16850
  if (u) {
16840
- var fn, st = C === "x" ? ve : ye, sn = C === "x" ? Ee : je, Qe = _[w], it = w === "y" ? "height" : "width", L = Qe + m[st], B = Qe - m[sn], Ae = [ve, ye].indexOf(k) !== -1, Fe = (fn = X == null ? void 0 : X[w]) != null ? fn : 0, ot = Ae ? L : Qe - D[it] - V[it] - Fe + Y.altAxis, lt = Ae ? Qe + D[it] + V[it] - Fe - Y.altAxis : B, ne = M && Ae ? Ic(ot, Qe, lt) : $t(M ? ot : L, Qe, M ? lt : B);
16841
- _[w] = ne, $[w] = ne - Qe;
16851
+ var fn, st = C === "x" ? ve : ye, sn = C === "x" ? Ee : je, Qe = M[w], it = w === "y" ? "height" : "width", L = Qe + m[st], B = Qe - m[sn], de = [ve, ye].indexOf(k) !== -1, Fe = (fn = X == null ? void 0 : X[w]) != null ? fn : 0, ot = de ? L : Qe - N[it] - V[it] - Fe + Y.altAxis, lt = de ? Qe + N[it] + V[it] - Fe - Y.altAxis : B, ne = _ && de ? Ic(ot, Qe, lt) : $t(_ ? ot : L, Qe, _ ? lt : B);
16852
+ M[w] = ne, $[w] = ne - Qe;
16842
16853
  }
16843
16854
  t.modifiersData[a] = $;
16844
16855
  }
@@ -16928,12 +16939,12 @@ function cu(e) {
16928
16939
  return t[n];
16929
16940
  });
16930
16941
  }
16931
- var u1 = {
16942
+ var Af = {
16932
16943
  placement: "bottom",
16933
16944
  modifiers: [],
16934
16945
  strategy: "absolute"
16935
16946
  };
16936
- function A1() {
16947
+ function df() {
16937
16948
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
16938
16949
  t[n] = arguments[n];
16939
16950
  return !t.some(function(a) {
@@ -16942,13 +16953,13 @@ function A1() {
16942
16953
  }
16943
16954
  function uu(e) {
16944
16955
  e === void 0 && (e = {});
16945
- var t = e, n = t.defaultModifiers, a = n === void 0 ? [] : n, f = t.defaultOptions, i = f === void 0 ? u1 : f;
16956
+ var t = e, n = t.defaultModifiers, a = n === void 0 ? [] : n, f = t.defaultOptions, i = f === void 0 ? Af : f;
16946
16957
  return function(u, c, A) {
16947
16958
  A === void 0 && (A = i);
16948
16959
  var d = {
16949
16960
  placement: "bottom",
16950
16961
  orderedModifiers: [],
16951
- options: Object.assign({}, u1, i),
16962
+ options: Object.assign({}, Af, i),
16952
16963
  modifiersData: {},
16953
16964
  elements: {
16954
16965
  reference: u,
@@ -16956,7 +16967,7 @@ function uu(e) {
16956
16967
  },
16957
16968
  attributes: {},
16958
16969
  styles: {}
16959
- }, g = [], p = !1, M = {
16970
+ }, g = [], p = !1, _ = {
16960
16971
  state: d,
16961
16972
  setOptions: function(k) {
16962
16973
  var T = typeof k == "function" ? k(d.options) : k;
@@ -16967,12 +16978,12 @@ function uu(e) {
16967
16978
  var I = lu(cu([].concat(a, d.options.modifiers)));
16968
16979
  return d.orderedModifiers = I.filter(function(C) {
16969
16980
  return C.enabled;
16970
- }), h(), M.update();
16981
+ }), h(), _.update();
16971
16982
  },
16972
16983
  forceUpdate: function() {
16973
16984
  if (!p) {
16974
16985
  var k = d.elements, T = k.reference, I = k.popper;
16975
- if (A1(T, I)) {
16986
+ if (df(T, I)) {
16976
16987
  d.rects = {
16977
16988
  reference: iu(T, Jt(I), d.options.strategy === "fixed"),
16978
16989
  popper: za(I)
@@ -16984,12 +16995,12 @@ function uu(e) {
16984
16995
  d.reset = !1, C = -1;
16985
16996
  continue;
16986
16997
  }
16987
- var w = d.orderedModifiers[C], _ = w.fn, D = w.options, V = D === void 0 ? {} : D, z = w.name;
16988
- typeof _ == "function" && (d = _({
16998
+ var w = d.orderedModifiers[C], M = w.fn, N = w.options, V = N === void 0 ? {} : N, z = w.name;
16999
+ typeof M == "function" && (d = M({
16989
17000
  state: d,
16990
17001
  options: V,
16991
17002
  name: z,
16992
- instance: M
17003
+ instance: _
16993
17004
  }) || d);
16994
17005
  }
16995
17006
  }
@@ -16997,16 +17008,16 @@ function uu(e) {
16997
17008
  },
16998
17009
  update: ru(function() {
16999
17010
  return new Promise(function(m) {
17000
- M.forceUpdate(), m(d);
17011
+ _.forceUpdate(), m(d);
17001
17012
  });
17002
17013
  }),
17003
17014
  destroy: function() {
17004
17015
  y(), p = !0;
17005
17016
  }
17006
17017
  };
17007
- if (!A1(u, c))
17008
- return M;
17009
- M.setOptions(A).then(function(m) {
17018
+ if (!df(u, c))
17019
+ return _;
17020
+ _.setOptions(A).then(function(m) {
17010
17021
  !p && A.onFirstUpdate && A.onFirstUpdate(m);
17011
17022
  });
17012
17023
  function h() {
@@ -17016,11 +17027,11 @@ function uu(e) {
17016
17027
  var w = C({
17017
17028
  state: d,
17018
17029
  name: k,
17019
- instance: M,
17030
+ instance: _,
17020
17031
  options: I
17021
- }), _ = function() {
17032
+ }), M = function() {
17022
17033
  };
17023
- g.push(w || _);
17034
+ g.push(w || M);
17024
17035
  }
17025
17036
  });
17026
17037
  }
@@ -17029,12 +17040,12 @@ function uu(e) {
17029
17040
  return m();
17030
17041
  }), g = [];
17031
17042
  }
17032
- return M;
17043
+ return _;
17033
17044
  };
17034
17045
  }
17035
- var Au = [Oc, Xc, Sc, Mc, Jc, qc, nu, xc, Wc], du = /* @__PURE__ */ uu({
17046
+ var Au = [Oc, Xc, Sc, _c, Jc, qc, nu, xc, Wc], du = /* @__PURE__ */ uu({
17036
17047
  defaultModifiers: Au
17037
- }), P1 = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSA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gMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
17038
17049
  function mn(e) {
17039
17050
  return e.split("-").map((t) => parseInt(t, 16)).map((t) => String.fromCodePoint(t)).join("");
17040
17051
  }
@@ -17047,7 +17058,7 @@ function gu(e, t, n, a = []) {
17047
17058
  e[i].forEach((u) => {
17048
17059
  var c;
17049
17060
  if (u[Kn][0].includes(t.toLocaleLowerCase())) {
17050
- let A = u[S1];
17061
+ let A = u[Vf];
17051
17062
  if (n !== Fn && Array.isArray(u[cn])) {
17052
17063
  const d = ((c = u[cn]) == null ? void 0 : c.findIndex(
17053
17064
  (g) => g.includes(n)
@@ -17062,11 +17073,11 @@ function gu(e, t, n, a = []) {
17062
17073
  }), s.length && (f[i] = s);
17063
17074
  }), f;
17064
17075
  }
17065
- function q1() {
17076
+ function Hf() {
17066
17077
  var e;
17067
17078
  return (((e = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : e.platform) || (navigator == null ? void 0 : navigator.platform) || "unknown").toUpperCase().indexOf("MAC") !== -1;
17068
17079
  }
17069
- function H1(e) {
17080
+ function Wf(e) {
17070
17081
  return e.replace(
17071
17082
  /^_*(.)|_+(.)/g,
17072
17083
  (t, n, a) => n ? n.toUpperCase() : " " + a.toUpperCase()
@@ -17089,11 +17100,11 @@ const mu = J({
17089
17100
  e.search,
17090
17101
  e.skinTone,
17091
17102
  e.options.disabledGroups
17092
- )), i = Z1(), s = P(() => !e.options.hideGroupNames), u = P(() => !e.options.disableStickyGroupNames), c = h1(e.options.groupNames), A = e.orderedGroupKeys;
17103
+ )), i = Jf(), s = P(() => !e.options.hideGroupNames), u = P(() => !e.options.disableStickyGroupNames), c = vf(e.options.groupNames), A = e.orderedGroupKeys;
17093
17104
  e.options.additionalGroups && Object.keys(e.options.additionalGroups).map((h) => {
17094
- e.options.groupNames[h] ? c[h] = e.options.groupNames[h] : c[h] = H1(h);
17105
+ e.options.groupNames[h] ? c[h] = e.options.groupNames[h] : c[h] = Wf(h);
17095
17106
  });
17096
- const d = q1() ? "is-mac" : "";
17107
+ const d = Hf() ? "is-mac" : "";
17097
17108
  function g(h) {
17098
17109
  t(h);
17099
17110
  }
@@ -17104,7 +17115,7 @@ const mu = J({
17104
17115
  i: mn(h.r)
17105
17116
  });
17106
17117
  }
17107
- function M(h, y) {
17118
+ function _(h, y) {
17108
17119
  var m;
17109
17120
  const k = (m = h == null ? void 0 : h.target) == null ? void 0 : m.closest("button");
17110
17121
  k && (k.innerHTML = `<span>${mn(y)}</span>`);
@@ -17119,10 +17130,10 @@ const mu = J({
17119
17130
  ), {
17120
17131
  emojis: f,
17121
17132
  bodyInner: a,
17122
- EMOJI_REMOTE_SRC: E1,
17123
- GROUP_NAMES: j1,
17133
+ EMOJI_REMOTE_SRC: jf,
17134
+ GROUP_NAMES: Sf,
17124
17135
  handleClick: p,
17125
- handleError: M,
17136
+ handleError: _,
17126
17137
  handleMouseEnter: g,
17127
17138
  native: e.options.native,
17128
17139
  unicodeToEmoji: mn,
@@ -17135,7 +17146,7 @@ const mu = J({
17135
17146
  orderedKeys: A
17136
17147
  };
17137
17148
  }
17138
- }), pu = { class: "v3-body" }, hu = ["id"], vu = { class: "v3-emojis" }, yu = ["onMouseenter", "onClick"], bu = { key: 0 }, _u = ["src", "alt", "onError"], Mu = {
17149
+ }), pu = { class: "v3-body" }, hu = ["id"], vu = { class: "v3-emojis" }, yu = ["onMouseenter", "onClick"], bu = { key: 0 }, Mu = ["src", "alt", "onError"], _u = {
17139
17150
  key: 1,
17140
17151
  class: "v3-no-result"
17141
17152
  };
@@ -17168,16 +17179,16 @@ function wu(e, t, n, a, f, i) {
17168
17179
  src: e.EMOJI_REMOTE_SRC + `/${u.r}.png`,
17169
17180
  alt: u.n[0],
17170
17181
  onError: (c) => e.handleError(c, u.r)
17171
- }, null, 40, _u))
17182
+ }, null, 40, Mu))
17172
17183
  ], 40, yu))), 128))
17173
17184
  ], 512), [
17174
17185
  [Ve, e.emojis[s]]
17175
17186
  ])
17176
- ], 8, hu))), 128)) : (l(), r("span", Mu, " No emoji has been found! "))
17187
+ ], 8, hu))), 128)) : (l(), r("span", _u, " No emoji has been found! "))
17177
17188
  ], 2)
17178
17189
  ]);
17179
17190
  }
17180
- var Cu = /* @__PURE__ */ Gt(mu, [["render", wu]]), Iu = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3N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Y0ODQ0IDI2IDYgMjEuNTM1MTU2IDYgMTYgTCA0IDE2IEMgNCAyMi42MTcxODggOS4zODI4MTMgMjggMTYgMjggQyAyMi42MTcxODggMjggMjggMjIuNjE3MTg4IDI4IDE2IEMgMjggOS4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";
17181
17192
  const Su = J({
17182
17193
  name: "Header",
17183
17194
  setup(e) {
@@ -17190,11 +17201,11 @@ const Su = J({
17190
17201
  ...t.groups,
17191
17202
  ...Object.keys(t.options.additionalGroups).map((g) => ({
17192
17203
  key: g,
17193
- title: t.options.groupNames[g] ? t.options.groupNames[g] : H1(g)
17204
+ title: t.options.groupNames[g] ? t.options.groupNames[g] : Wf(g)
17194
17205
  }))
17195
17206
  ], d = [];
17196
17207
  return s.forEach((g) => {
17197
- const p = A.findIndex((M) => M.key === g);
17208
+ const p = A.findIndex((_) => _.key === g);
17198
17209
  p !== -1 && (d.push(A[p]), A.splice(p, 1));
17199
17210
  }), {
17200
17211
  orderedGroups: d,
@@ -17205,11 +17216,11 @@ const Su = J({
17205
17216
  hasGroupIcons: i,
17206
17217
  placeholder: u,
17207
17218
  icons: {
17208
- smileys_people: P1,
17219
+ smileys_people: qf,
17209
17220
  animals_nature: Iu,
17210
17221
  food_drink: ku,
17211
- activities: Nu,
17212
- travel_places: Du,
17222
+ activities: Du,
17223
+ travel_places: Nu,
17213
17224
  objects: xu,
17214
17225
  symbols: Tu,
17215
17226
  flags: Eu,
@@ -17260,7 +17271,7 @@ function Qu(e, t, n, a, f, i) {
17260
17271
  type: "text",
17261
17272
  placeholder: e.placeholder
17262
17273
  }, null, 8, Ru), [
17263
- [_t, e.searchValue]
17274
+ [Mt, e.searchValue]
17264
17275
  ])
17265
17276
  ])) : v("", !0)
17266
17277
  ])) : v("", !0);
@@ -17271,9 +17282,9 @@ const Yu = J({
17271
17282
  setup() {
17272
17283
  const { state: e, updateSkinTone: t } = se("store"), n = b(!1), a = b(!1), f = P(() => e.skinTone), i = P(
17273
17284
  () => e.options.staticTexts.skinTone || "Skin tone"
17274
- ), s = P(() => !e.options.disableSkinTones), u = q1() ? "is-mac" : "", c = P(() => ({
17285
+ ), s = P(() => !e.options.disableSkinTones), u = Hf() ? "is-mac" : "", c = P(() => ({
17275
17286
  ...e.emoji,
17276
- src: E1 + "/" + e.emoji[qt] + ".png"
17287
+ src: jf + "/" + e.emoji[qt] + ".png"
17277
17288
  }));
17278
17289
  function A(p = !0) {
17279
17290
  n.value = p;
@@ -17403,7 +17414,7 @@ const Xu = J({
17403
17414
  var m;
17404
17415
  n.value && (c = ((m = n.value) == null ? void 0 : m.selectionEnd) || -1);
17405
17416
  }
17406
- function M(m) {
17417
+ function _(m) {
17407
17418
  var k;
17408
17419
  !((k = m.target) != null && k.closest(
17409
17420
  ".v3-input-picker-wrap"
@@ -17422,7 +17433,7 @@ const Xu = J({
17422
17433
  }
17423
17434
  }
17424
17435
  ]
17425
- }), document.body.addEventListener("click", M);
17436
+ }), document.body.addEventListener("click", _);
17426
17437
  }
17427
17438
  }
17428
17439
  function y(m) {
@@ -17430,10 +17441,10 @@ const Xu = J({
17430
17441
  }
17431
17442
  return me(() => {
17432
17443
  h();
17433
- }), J1(() => {
17434
- document.body.removeEventListener("click", M);
17444
+ }), Gf(() => {
17445
+ document.body.removeEventListener("click", _);
17435
17446
  }), {
17436
- face: P1,
17447
+ face: qf,
17437
17448
  open: i,
17438
17449
  onSelect: g,
17439
17450
  input: s,
@@ -17601,7 +17612,7 @@ const oA = J({
17601
17612
  staticTexts: { ...Lr, ...e.staticTexts },
17602
17613
  disableStickyGroupNames: e.disableStickyGroupNames,
17603
17614
  disabledGroups: e.disabledGroups,
17604
- groupNames: { ...j1, ...e.groupNames },
17615
+ groupNames: { ...Sf, ...e.groupNames },
17605
17616
  disableSkinTones: e.disableSkinTones,
17606
17617
  displayRecent: e.displayRecent,
17607
17618
  additionalGroups: e.additionalGroups,
@@ -17658,15 +17669,15 @@ const dA = /* @__PURE__ */ O(cA, [["render", AA]]), gA = { class: "" }, mA = {
17658
17669
  t.state === "active" && (i.value = !i.value, i.value && (a.value = A()));
17659
17670
  }, p = () => {
17660
17671
  i.value = !1;
17661
- }, M = (h) => {
17672
+ }, _ = (h) => {
17662
17673
  i.value && !f.value.contains(h.target) && !n.value.contains(h.target) && p();
17663
17674
  };
17664
17675
  return me(() => {
17665
- n.value.style.display = "none", document.addEventListener("click", M);
17666
- }), Mt(() => {
17667
- document.removeEventListener("click", M);
17676
+ n.value.style.display = "none", document.addEventListener("click", _);
17677
+ }), _t(() => {
17678
+ document.removeEventListener("click", _);
17668
17679
  }), (h, y) => (l(), r(K, null, [
17669
- N(c)().isRecording ? v("", !0) : (l(), r("button", {
17680
+ D(c)().isRecording ? v("", !0) : (l(), r("button", {
17670
17681
  key: 0,
17671
17682
  ref_key: "emojiButton",
17672
17683
  ref: f,
@@ -17684,7 +17695,7 @@ const dA = /* @__PURE__ */ O(cA, [["render", AA]]), gA = { class: "" }, mA = {
17684
17695
  ref: n,
17685
17696
  class: "emoji"
17686
17697
  }, [
17687
- W(N(rA), {
17698
+ W(D(rA), {
17688
17699
  native: !0,
17689
17700
  theme: a.value,
17690
17701
  "picker-type": "",
@@ -17701,7 +17712,7 @@ const dA = /* @__PURE__ */ O(cA, [["render", AA]]), gA = { class: "" }, mA = {
17701
17712
  }, ag = /* @__PURE__ */ O(mA, [["__scopeId", "data-v-9e4e0ac1"]]), pA = { class: "context-menu__container" }, hA = { class: "context-menu__list" }, vA = ["onClick"], yA = ["src"], bA = {
17702
17713
  key: 2,
17703
17714
  style: { "white-space": "nowrap" }
17704
- }, _A = { key: 3 }, MA = {
17715
+ }, MA = { key: 3 }, _A = {
17705
17716
  __name: "ContextMenu",
17706
17717
  props: {
17707
17718
  actions: {
@@ -17732,12 +17743,12 @@ const dA = /* @__PURE__ */ O(cA, [["render", AA]]), gA = { class: "" }, mA = {
17732
17743
  class: j("pi pi-" + u.prime)
17733
17744
  }, null, 2)) : v("", !0),
17734
17745
  u.title ? (l(), r("span", bA, x(u.title), 1)) : v("", !0),
17735
- u.description ? (l(), r("span", _A, x(u.description), 1)) : v("", !0)
17746
+ u.description ? (l(), r("span", MA, x(u.description), 1)) : v("", !0)
17736
17747
  ], 8, vA))), 128))
17737
17748
  ])
17738
17749
  ]));
17739
17750
  }
17740
- }, It = /* @__PURE__ */ O(MA, [["__scopeId", "data-v-4cdf97be"]]), jt = b([]), wA = (e) => {
17751
+ }, It = /* @__PURE__ */ O(_A, [["__scopeId", "data-v-4cdf97be"]]), jt = b([]), wA = (e) => {
17741
17752
  const t = b(0), n = jt.value.find(({ id: f }) => f == e);
17742
17753
  return n != null ? t.value = jt.value.indexOf(n) : (jt.value.push({
17743
17754
  id: e,
@@ -17746,7 +17757,7 @@ const dA = /* @__PURE__ */ O(cA, [["render", AA]]), gA = { class: "" }, mA = {
17746
17757
  };
17747
17758
  function CA(e, t = 500) {
17748
17759
  let n;
17749
- return g1((a, f) => ({
17760
+ return mf((a, f) => ({
17750
17761
  get() {
17751
17762
  return a(), e;
17752
17763
  },
@@ -17757,7 +17768,7 @@ function CA(e, t = 500) {
17757
17768
  }
17758
17769
  }));
17759
17770
  }
17760
- const IA = { class: "feed-search__container" }, kA = { style: { "line-height": "40px" } }, NA = ["placeholder"], DA = /* @__PURE__ */ J({
17771
+ const IA = { class: "feed-search__container" }, kA = { style: { "line-height": "40px" } }, DA = ["placeholder"], NA = /* @__PURE__ */ J({
17761
17772
  __name: "FeedSearch",
17762
17773
  props: {
17763
17774
  isFeedLocation: {
@@ -17775,29 +17786,29 @@ const IA = { class: "feed-search__container" }, kA = { style: { "line-height": "
17775
17786
  }
17776
17787
  );
17777
17788
  const A = () => {
17778
- const d = N(s);
17789
+ const d = D(s);
17779
17790
  d && (d.value = ""), a().text = "", f("cancel");
17780
17791
  };
17781
17792
  return me(() => {
17782
- const d = N(s);
17793
+ const d = D(s);
17783
17794
  d == null || d.focus();
17784
17795
  }), (d, g) => (l(), U(le, null, {
17785
17796
  default: Z(() => [
17786
17797
  o("div", IA, [
17787
- o("span", kA, x(N(De)("component.FeedSearch.SearchLabel")), 1),
17798
+ o("span", kA, x(D(Ne)("component.FeedSearch.SearchLabel")), 1),
17788
17799
  ge(o("input", {
17789
17800
  ref_key: "refInput",
17790
17801
  ref: s,
17791
- "onUpdate:modelValue": g[0] || (g[0] = (p) => N(a)().text = p),
17802
+ "onUpdate:modelValue": g[0] || (g[0] = (p) => D(a)().text = p),
17792
17803
  class: "feed-search__input",
17793
17804
  type: "text",
17794
- placeholder: N(De)("component.FeedSearch.SearchPlaceholder")
17795
- }, null, 8, NA), [
17796
- [_t, N(a)().text]
17805
+ placeholder: D(Ne)("component.FeedSearch.SearchPlaceholder")
17806
+ }, null, 8, DA), [
17807
+ [Mt, D(a)().text]
17797
17808
  ]),
17798
17809
  o("i", {
17799
17810
  class: "pi pi-times",
17800
- style: de({ right: c.value }),
17811
+ style: ce({ right: c.value }),
17801
17812
  onClick: A
17802
17813
  }, null, 4),
17803
17814
  e.isFeedLocation ? (l(), r("span", {
@@ -17811,7 +17822,7 @@ const IA = { class: "feed-search__container" }, kA = { style: { "line-height": "
17811
17822
  _: 1
17812
17823
  }));
17813
17824
  }
17814
- }), fg = /* @__PURE__ */ O(DA, [["__scopeId", "data-v-3829c95c"]]), xA = { class: "feed-found-item__avatar-container" }, TA = ["src"], EA = {
17825
+ }), fg = /* @__PURE__ */ O(NA, [["__scopeId", "data-v-3829c95c"]]), xA = { class: "feed-found-item__avatar-container" }, TA = ["src"], EA = {
17815
17826
  key: 1,
17816
17827
  class: "pi pi-user"
17817
17828
  }, jA = { class: "feed-found-item__info" }, SA = { class: "feed-found-item__first-line" }, VA = { class: "feed-found-item__name" }, OA = { class: "feed-found-item__time" }, zA = { class: "feed-found-item__second-line" }, LA = ["src"], UA = /* @__PURE__ */ J({
@@ -17892,14 +17903,14 @@ const IA = { class: "feed-search__container" }, kA = { style: { "line-height": "
17892
17903
  },
17893
17904
  emits: ["clickedSearch", "loadMore"],
17894
17905
  setup(e, { emit: t }) {
17895
- const n = t, a = e, f = b(), i = b(null), s = P(() => a.notFound ? De("component.FeedFoundObjects.notFound") : a.notFound ? "" : De("component.FeedFoundObjects.notSearched")), u = (A) => {
17906
+ const n = t, a = e, f = b(), i = b(null), s = P(() => a.notFound ? Ne("component.FeedFoundObjects.notFound") : a.notFound ? "" : Ne("component.FeedFoundObjects.notSearched")), u = (A) => {
17896
17907
  A.messageId && (n("clickedSearch", A.messageId), i.value = A);
17897
17908
  }, c = () => {
17898
- const A = N(f);
17909
+ const A = D(f);
17899
17910
  A.scrollHeight - A.scrollTop - A.clientHeight <= 0 && n("loadMore");
17900
17911
  };
17901
17912
  return (A, d) => (l(), r(K, null, [
17902
- o("h3", $A, x(N(De)("component.FeedFoundObjects.results")) + ": " + x(e.foundAmount), 1),
17913
+ o("h3", $A, x(D(Ne)("component.FeedFoundObjects.results")) + ": " + x(e.foundAmount), 1),
17903
17914
  e.foundAmount > 0 ? (l(), r("div", {
17904
17915
  key: 0,
17905
17916
  ref_key: "refItems",
@@ -17940,17 +17951,17 @@ const IA = { class: "feed-search__container" }, kA = { style: { "line-height": "
17940
17951
  const t = se("chatAppId"), { getMessage: n, setMessageFile: a, resetMessageFile: f, setRecordingMessage: i } = Se(t), s = b(), u = b(0), c = b(0), A = b(0), d = b(0), g = P(() => {
17941
17952
  let V = d.value < 10 ? "0" + d.value : d.value, z = A.value < 10 ? "0" + A.value : A.value, Y = c.value < 10 ? "0" + c.value : c.value, X = u.value < 10 ? "00" + u.value : u.value < 100 ? "0" + u.value : u.value;
17942
17953
  return V + ":" + z + ":" + Y + ":" + X;
17943
- }), p = b(""), M = b(!1), h = b(), y = b([]), m = b(), k = b(), T = e, I = async () => {
17954
+ }), p = b(""), _ = b(!1), h = b(), y = b([]), m = b(), k = b(), T = e, I = async () => {
17944
17955
  if (!n().file && T.state == "active") {
17945
17956
  const V = await navigator.mediaDevices.getUserMedia({ audio: !0, video: !1 });
17946
17957
  s.value = setInterval(() => {
17947
17958
  u.value += 10, u.value == 1e3 && (u.value = 0, c.value++, c.value == 60 && (c.value = 0, A.value++, A.value == 60 && (A.value = 0, d.value++)));
17948
- }, 10), i(!0), M.value = !0, h.value = new MediaRecorder(V), h.value.start(), h.value.ondataavailable = (z) => {
17959
+ }, 10), i(!0), _.value = !0, h.value = new MediaRecorder(V), h.value.start(), h.value.ondataavailable = (z) => {
17949
17960
  y.value.push(z.data);
17950
17961
  };
17951
17962
  }
17952
17963
  }, C = () => {
17953
- _(), m.value = void 0;
17964
+ M(), m.value = void 0;
17954
17965
  }, w = () => {
17955
17966
  h.value && (h.value.stop(), h.value.onstop = async () => {
17956
17967
  const V = new File(y.value, "voicemessage.mp3", { type: "audio/*" }), z = URL.createObjectURL(V);
@@ -17972,10 +17983,10 @@ const IA = { class: "feed-search__container" }, kA = { style: { "line-height": "
17972
17983
  });
17973
17984
  }
17974
17985
  });
17975
- }), _();
17976
- }, _ = () => {
17977
- clearInterval(s.value), u.value = 0, c.value = 0, A.value = 0, d.value = 0, i(!1), M.value = !1, h.value = void 0, y.value = [];
17978
- }, D = () => {
17986
+ }), M();
17987
+ }, M = () => {
17988
+ clearInterval(s.value), u.value = 0, c.value = 0, A.value = 0, d.value = 0, i(!1), _.value = !1, h.value = void 0, y.value = [];
17989
+ }, N = () => {
17979
17990
  const V = document.getElementById("chat-input-file-line-" + t);
17980
17991
  V && (V.style.display = "none"), f(), k.value = void 0;
17981
17992
  };
@@ -17988,7 +17999,7 @@ const IA = { class: "feed-search__container" }, kA = { style: { "line-height": "
17988
17999
  p.value === "uploading" ? (l(), r("div", PA, z[0] || (z[0] = [
17989
18000
  o("p", null, "Загрузка файла...", -1)
17990
18001
  ]))) : v("", !0),
17991
- M.value && p.value != "uploading" ? (l(), r("div", qA, [
18002
+ _.value && p.value != "uploading" ? (l(), r("div", qA, [
17992
18003
  z[3] || (z[3] = o("span", { class: "audio-recorder__recording-icon pi pi-circle-fill" }, null, -1)),
17993
18004
  o("button", {
17994
18005
  class: "audio-recorder__button audio-recorder__button-record",
@@ -18004,21 +18015,21 @@ const IA = { class: "feed-search__container" }, kA = { style: { "line-height": "
18004
18015
  ])),
18005
18016
  o("span", HA, x(g.value), 1)
18006
18017
  ])) : v("", !0),
18007
- !M.value && p.value != "uploading" && !N(n)().isRecording ? (l(), r("button", {
18018
+ !_.value && p.value != "uploading" && !D(n)().isRecording ? (l(), r("button", {
18008
18019
  key: 2,
18009
- class: j(["audio-recorder__button", { "audio-recorder__button-disabled": e.state == "disabled" || N(n)().file }]),
18020
+ class: j(["audio-recorder__button", { "audio-recorder__button-disabled": e.state == "disabled" || D(n)().file }]),
18010
18021
  onClick: I
18011
18022
  }, z[4] || (z[4] = [
18012
18023
  o("span", { class: "pi pi-microphone" }, null, -1)
18013
18024
  ]), 2)) : v("", !0),
18014
- N(n)().file ? (l(), U(we, {
18025
+ D(n)().file ? (l(), U(we, {
18015
18026
  key: 3,
18016
- to: "#chat-input-file-line-" + N(t)
18027
+ to: "#chat-input-file-line-" + D(t)
18017
18028
  }, [
18018
18029
  k.value ? (l(), U(qn, {
18019
18030
  key: 0,
18020
18031
  "file-info": k.value,
18021
- onReset: D
18032
+ onReset: N
18022
18033
  }, null, 8, ["file-info"])) : v("", !0)
18023
18034
  ], 8, ["to"])) : v("", !0)
18024
18035
  ]));
@@ -18033,8 +18044,8 @@ function Xt({ component: e, attrs: t, Modal: n, modalAttrs: a }) {
18033
18044
  }, c = () => {
18034
18045
  u(), f(s.value);
18035
18046
  }, A = (p) => {
18036
- Object.keys(p).forEach((M) => {
18037
- s.value[M] = p[M];
18047
+ Object.keys(p).forEach((_) => {
18048
+ s.value[_] = p[_];
18038
18049
  });
18039
18050
  }, d = J({
18040
18051
  render() {
@@ -18047,7 +18058,7 @@ function Xt({ component: e, attrs: t, Modal: n, modalAttrs: a }) {
18047
18058
  },
18048
18059
  {
18049
18060
  default: () => qa(
18050
- X1(() => e),
18061
+ e1(() => e),
18051
18062
  {
18052
18063
  ...t,
18053
18064
  onChange: A,
@@ -18058,7 +18069,7 @@ function Xt({ component: e, attrs: t, Modal: n, modalAttrs: a }) {
18058
18069
  }
18059
18070
  );
18060
18071
  }
18061
- }), g = ef(d);
18072
+ }), g = t1(d);
18062
18073
  g.mount(i);
18063
18074
  });
18064
18075
  }
@@ -18120,7 +18131,7 @@ const KA = ["data-theme"], ZA = {
18120
18131
  }, Ra = /* @__PURE__ */ O(XA, [["__scopeId", "data-v-bfa49925"]]), og = async (e, t, n) => {
18121
18132
  const a = await Xt({
18122
18133
  //в component должен быть встроен emit change(key: value)
18123
- component: import("./SelectUser2-CGyZGCw8.js"),
18134
+ component: import("./SelectUser2-DeULExz1.js"),
18124
18135
  attrs: {
18125
18136
  title: e,
18126
18137
  users: t
@@ -18190,9 +18201,9 @@ const KA = ["data-theme"], ZA = {
18190
18201
  _: 3
18191
18202
  }));
18192
18203
  }
18193
- }, W1 = /* @__PURE__ */ O(nd, [["__scopeId", "data-v-2d8b60f8"]]), cg = async (e, t, n, a, f, i) => await Xt({
18204
+ }, Kf = /* @__PURE__ */ O(nd, [["__scopeId", "data-v-2d8b60f8"]]), cg = async (e, t, n, a, f, i) => await Xt({
18194
18205
  //в component должен быть встроен emit change(key: value)
18195
- component: import("./CreateDialog-DbmqVCaw.js"),
18206
+ component: import("./CreateDialog-BcUryZMD.js"),
18196
18207
  attrs: {
18197
18208
  title: e,
18198
18209
  name: t,
@@ -18200,15 +18211,15 @@ const KA = ["data-theme"], ZA = {
18200
18211
  channels: a,
18201
18212
  filter: f
18202
18213
  },
18203
- Modal: W1,
18214
+ Modal: Kf,
18204
18215
  modalAttrs: {
18205
18216
  theme: i
18206
18217
  }
18207
18218
  }), ad = async (e) => await Xt({
18208
18219
  //в component должен быть встроен emit change(key: value)
18209
- component: import("./ModalVideoRecorder-BNVH0eTE.js"),
18220
+ component: import("./ModalVideoRecorder-DLkW4BYg.js"),
18210
18221
  attrs: {},
18211
- Modal: W1,
18222
+ Modal: Kf,
18212
18223
  modalAttrs: {
18213
18224
  theme: e
18214
18225
  }
@@ -18234,8 +18245,8 @@ const KA = ["data-theme"], ZA = {
18234
18245
  const t = se("chatAppId"), { getMessage: n, setMessageFile: a, setRecordingMessage: f, resetMessageFile: i } = Se(t), { getTheme: s } = ze(t), u = b(""), c = b(), A = e, d = async () => {
18235
18246
  if (!n().file && A.state == "active") {
18236
18247
  const p = s().theme ? s().theme : "";
18237
- await ad(p).then(async (M) => {
18238
- M.videoFile && (u.value = "uploading", f(!0), await Hn(A.filebumpUrl, M.videoFile).then((h) => {
18248
+ await ad(p).then(async (_) => {
18249
+ _.videoFile && (u.value = "uploading", f(!0), await Hn(A.filebumpUrl, _.videoFile).then((h) => {
18239
18250
  if (f(!1), u.value = h.status, h.status == "success") {
18240
18251
  a({
18241
18252
  url: h.url,
@@ -18266,22 +18277,22 @@ const KA = ["data-theme"], ZA = {
18266
18277
  () => {
18267
18278
  n().file || (c.value = void 0);
18268
18279
  }
18269
- ), (p, M) => (l(), r(K, null, [
18270
- N(n)().isRecording ? v("", !0) : (l(), r("div", fd, [
18280
+ ), (p, _) => (l(), r(K, null, [
18281
+ D(n)().isRecording ? v("", !0) : (l(), r("div", fd, [
18271
18282
  u.value != "uploading" ? (l(), r("button", {
18272
18283
  key: 0,
18273
- class: j(["video-recorder__button", { "video-recorder__button-disabled": e.state == "disabled" || N(n)().file }]),
18284
+ class: j(["video-recorder__button", { "video-recorder__button-disabled": e.state == "disabled" || D(n)().file }]),
18274
18285
  onClick: d
18275
- }, M[0] || (M[0] = [
18286
+ }, _[0] || (_[0] = [
18276
18287
  o("span", { class: "pi pi-video" }, null, -1)
18277
18288
  ]), 2)) : v("", !0)
18278
18289
  ])),
18279
- u.value === "uploading" ? (l(), r("div", sd, M[1] || (M[1] = [
18290
+ u.value === "uploading" ? (l(), r("div", sd, _[1] || (_[1] = [
18280
18291
  o("p", null, "Загрузка файла...", -1)
18281
18292
  ]))) : v("", !0),
18282
- N(n)().file ? (l(), U(we, {
18293
+ D(n)().file ? (l(), U(we, {
18283
18294
  key: 2,
18284
- to: "#chat-input-file-line-" + N(t)
18295
+ to: "#chat-input-file-line-" + D(t)
18285
18296
  }, [
18286
18297
  c.value ? (l(), U(qn, {
18287
18298
  key: 0,
@@ -18311,7 +18322,7 @@ const KA = ["data-theme"], ZA = {
18311
18322
  },
18312
18323
  emits: ["send"],
18313
18324
  setup(e, { emit: t }) {
18314
- const n = e, a = t, f = se("chatAppId"), { getMessage: i } = Se(f), s = m1("refBCM"), u = (c) => {
18325
+ const n = e, a = t, f = se("chatAppId"), { getMessage: i } = Se(f), s = pf("refBCM"), u = (c) => {
18315
18326
  console.log(c);
18316
18327
  const A = {
18317
18328
  type: "message.command",
@@ -18333,13 +18344,13 @@ const KA = ["data-theme"], ZA = {
18333
18344
  ref: s,
18334
18345
  "menu-side": "top",
18335
18346
  mode: e.mode,
18336
- disabled: N(i)().isRecording || e.state == "disabled",
18347
+ disabled: D(i)().isRecording || e.state == "disabled",
18337
18348
  actions: e.commands,
18338
18349
  onClick: u
18339
18350
  }, {
18340
18351
  default: Z(() => [
18341
18352
  o("span", {
18342
- class: j(["commands__trigger", { commands__disabled: N(i)().isRecording || e.state == "disabled" }])
18353
+ class: j(["commands__trigger", { commands__disabled: D(i)().isRecording || e.state == "disabled" }])
18343
18354
  }, " / ", 2)
18344
18355
  ]),
18345
18356
  _: 1
@@ -18410,7 +18421,7 @@ function yd(e, t) {
18410
18421
  bt('<path fill-rule="evenodd" clip-rule="evenodd" d="M3.04297 27.0644L4.72672 20.9175C3.68797 19.1187 3.14172 17.0775 3.14234 14.9869C3.14547 8.44625 8.46797 3.125 15.0092 3.125C18.1836 3.12625 21.1623 4.36188 23.403 6.60375C25.643 8.84625 26.8767 11.8263 26.8755 14.9963C26.873 21.5369 21.5492 26.8587 15.0092 26.8587H15.0042C13.0186 26.8581 11.0667 26.36 9.33359 25.4144L3.04297 27.0644Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M3.0427 27.3769C2.9602 27.3769 2.8802 27.3444 2.82082 27.2844C2.7427 27.205 2.71207 27.0894 2.74145 26.9825L4.39082 20.96C3.36832 19.1437 2.82895 17.0812 2.8302 14.9875C2.8327 8.27375 8.29582 2.8125 15.0089 2.8125C18.2652 2.81375 21.3246 4.08188 23.6239 6.38313C25.9233 8.685 27.1889 11.7437 27.1877 14.9963C27.1852 21.7094 21.7214 27.1712 15.0089 27.1712C13.0158 27.1706 11.0439 26.6787 9.29395 25.7481L3.12207 27.3662C3.09582 27.3737 3.06957 27.3769 3.0427 27.3769Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M15.0085 3.125C18.1829 3.12625 21.1616 4.36188 23.4023 6.60375C25.6423 8.84625 26.876 11.8263 26.8748 14.9963C26.8722 21.5369 21.5485 26.8587 15.0085 26.8587H15.0035C13.0179 26.8581 11.066 26.36 9.33287 25.4144L3.04225 27.0644L4.726 20.9175C3.68725 19.1187 3.141 17.0775 3.14162 14.9869C3.14475 8.44625 8.46725 3.125 15.0085 3.125ZM15.0085 2.5C8.1235 2.5 2.51975 8.10125 2.51662 14.9869C2.516 17.0913 3.04725 19.165 4.05475 21.0006L2.43912 26.9C2.38037 27.1156 2.44037 27.3456 2.59787 27.5044C2.71662 27.6244 2.87725 27.69 3.04225 27.69C3.09537 27.69 3.1485 27.6831 3.201 27.6694L9.25537 26.0819C11.0229 26.9994 13.0041 27.4837 15.0035 27.4844C21.8935 27.4844 27.4972 21.8825 27.5004 14.9969C27.5016 11.66 26.2035 8.5225 23.8454 6.1625C21.486 3.80187 18.3479 2.50125 15.0085 2.5Z" fill="#CFD8DC"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M21.9845 8.02016C20.122 6.15641 17.6464 5.12953 15.0114 5.12891C9.57141 5.12891 5.14703 9.55141 5.14453 14.9877C5.14391 16.8508 5.66516 18.6645 6.65266 20.2352L6.88766 20.6083L5.89078 24.2464L9.62391 23.2677L9.98453 23.4814C11.4983 24.3802 13.2345 24.8552 15.0045 24.8558H15.0083C20.4445 24.8558 24.8689 20.4327 24.8708 14.9958C24.8714 12.3614 23.847 9.88391 21.9845 8.02016Z" fill="#40C351"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M12.0429 10.0272C11.821 9.53345 11.5873 9.52345 11.3754 9.5147C11.2023 9.5072 11.0048 9.50783 10.8073 9.50783C10.6098 9.50783 10.2885 9.5822 10.0166 9.87908C9.74477 10.176 8.97852 10.8928 8.97852 12.3516C8.97852 13.8103 10.041 15.2203 10.1891 15.4178C10.3373 15.6153 12.2404 18.7047 15.2541 19.8934C17.7585 20.8809 18.2685 20.6847 18.8123 20.6353C19.356 20.586 20.5666 19.9185 20.8135 19.226C21.0604 18.5335 21.0604 17.9403 20.9866 17.8166C20.9123 17.6928 20.7148 17.6191 20.4185 17.4703C20.1223 17.3216 18.6641 16.6047 18.3923 16.5059C18.1204 16.4072 17.9229 16.3578 17.7248 16.6547C17.5273 16.951 16.9591 17.6191 16.786 17.8166C16.6129 18.0147 16.4398 18.0397 16.1435 17.891C15.8473 17.7422 14.8923 17.4297 13.7591 16.4197C12.8779 15.6341 12.2829 14.6635 12.1098 14.3666C11.9366 14.0703 12.091 13.9097 12.2398 13.7616C12.3729 13.6285 12.536 13.4153 12.6848 13.2422C12.8329 13.0691 12.8823 12.9453 12.981 12.7478C13.0798 12.5497 13.0304 12.3766 12.956 12.2285C12.8829 12.0797 12.3066 10.6135 12.0429 10.0272Z" fill="white"></path>', 5)
18411
18422
  ]));
18412
18423
  }
18413
- const bd = /* @__PURE__ */ O(hd, [["render", yd]]), _d = {}, Md = {
18424
+ const bd = /* @__PURE__ */ O(hd, [["render", yd]]), Md = {}, _d = {
18414
18425
  width: "24",
18415
18426
  height: "24",
18416
18427
  viewBox: "0 0 24 24",
@@ -18418,7 +18429,7 @@ const bd = /* @__PURE__ */ O(hd, [["render", yd]]), _d = {}, Md = {
18418
18429
  xmlns: "http://www.w3.org/2000/svg"
18419
18430
  };
18420
18431
  function wd(e, t) {
18421
- return l(), r("svg", Md, t[0] || (t[0] = [
18432
+ return l(), r("svg", _d, t[0] || (t[0] = [
18422
18433
  o("g", { "clip-path": "url(#clip0_5484_1269)" }, [
18423
18434
  o("path", {
18424
18435
  d: "M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12ZM12.4305 8.859C11.2635 9.345 8.9295 10.35 5.4315 11.874C4.8645 12.099 4.566 12.321 4.539 12.537C4.494 12.9015 4.9515 13.0455 5.574 13.242L5.8365 13.3245C6.4485 13.524 7.2735 13.7565 7.701 13.7655C8.091 13.7745 8.5245 13.6155 9.003 13.2855C12.2715 11.079 13.959 9.9645 14.064 9.9405C14.139 9.9225 14.244 9.9015 14.313 9.9645C14.3835 10.026 14.376 10.1445 14.3685 10.176C14.3235 10.3695 12.528 12.0375 11.5995 12.9015C11.31 13.1715 11.1045 13.362 11.0625 13.4055C10.97 13.5 10.876 13.593 10.7805 13.6845C10.2105 14.2335 9.7845 14.6445 10.803 15.3165C11.2935 15.6405 11.6865 15.906 12.078 16.173C12.504 16.464 12.93 16.7535 13.482 17.1165C13.6215 17.2065 13.7565 17.304 13.887 17.397C14.3835 17.751 14.832 18.069 15.3825 18.018C15.7035 17.988 16.035 17.688 16.203 16.788C16.6005 14.6625 17.382 10.059 17.562 8.1615C17.573 8.00376 17.5664 7.84529 17.5425 7.689C17.5284 7.56288 17.4673 7.44669 17.3715 7.3635C17.235 7.26928 17.0723 7.22047 16.9065 7.224C16.4565 7.2315 15.762 7.473 12.4305 8.859Z",
@@ -18436,19 +18447,19 @@ function wd(e, t) {
18436
18447
  ], -1)
18437
18448
  ]));
18438
18449
  }
18439
- const Cd = /* @__PURE__ */ O(_d, [["render", wd]]), Id = {}, kd = {
18450
+ const Cd = /* @__PURE__ */ O(Md, [["render", wd]]), Id = {}, kd = {
18440
18451
  width: "24",
18441
18452
  height: "23",
18442
18453
  viewBox: "0 0 24 23",
18443
18454
  fill: "none",
18444
18455
  xmlns: "http://www.w3.org/2000/svg"
18445
18456
  };
18446
- function Nd(e, t) {
18457
+ function Dd(e, t) {
18447
18458
  return l(), r("svg", kd, t[0] || (t[0] = [
18448
18459
  bt('<g clip-path="url(#clip0_5484_1263)"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.8465 22.9371C9.5763 22.9371 8.52184 22.6072 6.69327 21.2872C5.52964 22.7721 1.86702 23.9271 1.70628 21.9472C1.70628 20.464 1.37041 19.214 1.00063 17.8378C0.547734 16.1523 0.0439453 14.2774 0.0439453 11.5525C0.0439453 5.05468 5.41635 0.167969 11.7862 0.167969C18.1561 0.167969 23.1503 5.29327 23.1503 11.6157C23.1503 17.9381 17.9972 22.9371 11.8465 22.9371ZM11.939 5.78538C8.83924 5.62414 6.42029 7.7577 5.88688 11.0971C5.44515 13.8625 6.22833 17.2322 6.89823 17.4018C7.21393 17.4817 8.02297 16.8324 8.52167 16.3374C9.34193 16.865 10.2832 17.2737 11.3295 17.3281C14.5118 17.4936 17.3319 15.0231 17.4985 11.8663C17.6652 8.70944 15.1213 5.95092 11.939 5.78538Z" fill="url(#paint0_linear_5484_1263)"></path></g><defs><linearGradient id="paint0_linear_5484_1263" x1="11.5971" y1="0.167969" x2="11.5971" y2="23.0001" gradientUnits="userSpaceOnUse"><stop stop-color="#45BEFD"></stop><stop offset="1" stop-color="#6726E2"></stop></linearGradient><clipPath id="clip0_5484_1263"><rect width="24" height="23" fill="white"></rect></clipPath></defs>', 2)
18449
18460
  ]));
18450
18461
  }
18451
- const Dd = /* @__PURE__ */ O(Id, [["render", Nd]]), xd = {}, Td = {
18462
+ const Nd = /* @__PURE__ */ O(Id, [["render", Dd]]), xd = {}, Td = {
18452
18463
  width: "24",
18453
18464
  height: "10",
18454
18465
  viewBox: "0 0 24 10",
@@ -18607,11 +18618,11 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18607
18618
  },
18608
18619
  emits: ["select-attribute-channel", "phone-call"],
18609
18620
  setup(e, { emit: t }) {
18610
- const n = e, a = t, f = b(null), i = b(null), s = b(null), u = b(null), c = b(!1), A = b(!1), d = b(null), g = b("0px"), p = b(null), M = b(!1), h = b(null), y = b({}), m = b(0), k = ["phone", "whatsapp", "telegram", "max", "sms"], T = {
18621
+ const n = e, a = t, f = b(null), i = b(null), s = b(null), u = b(null), c = b(!1), A = b(!1), d = b(null), g = b("0px"), p = b(null), _ = b(!1), h = b(null), y = b({}), m = b(0), k = ["phone", "whatsapp", "telegram", "max", "sms"], T = {
18611
18622
  phone: pd,
18612
18623
  whatsapp: bd,
18613
18624
  telegram: Cd,
18614
- max: Dd,
18625
+ max: Nd,
18615
18626
  sms: jd
18616
18627
  }, I = {
18617
18628
  phone: zd,
@@ -18626,12 +18637,12 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18626
18637
  }))
18627
18638
  ), w = b(
18628
18639
  Object.fromEntries(k.map((L) => [L, []]))
18629
- ), _ = P(
18640
+ ), M = P(
18630
18641
  () => s.value ? $e(s.value) : null
18631
- ), D = P(
18642
+ ), N = P(
18632
18643
  () => {
18633
18644
  var L;
18634
- return s.value !== "phone" && _.value && ((L = n.recentAttributeChannels[s.value]) == null ? void 0 : L.channelId);
18645
+ return s.value !== "phone" && M.value && ((L = n.recentAttributeChannels[s.value]) == null ? void 0 : L.channelId);
18635
18646
  }
18636
18647
  ), V = P(
18637
18648
  () => s.value ? Be(s.value) : []
@@ -18654,7 +18665,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18654
18665
  (B) => $(B.channelId) === L
18655
18666
  ).length > 1, ee = (L) => h.value === L, fe = (L) => {
18656
18667
  const B = n.channels.filter(
18657
- (Ae) => $(Ae.channelId) === L
18668
+ (de) => $(de.channelId) === L
18658
18669
  );
18659
18670
  return B.length === 1 ? B[0] : null;
18660
18671
  }, te = (L) => I[L] || null, re = (L) => {
@@ -18666,72 +18677,72 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18666
18677
  }, pe = () => {
18667
18678
  const L = Object.fromEntries(k.map((B) => [B, []]));
18668
18679
  n.contactAttributes.forEach((B) => {
18669
- B.type === "telegram" ? L.telegram.push(B) : B.type === "phone" && ["whatsapp", "max", "sms", "phone"].forEach((Ae) => {
18670
- L[Ae].push(B);
18680
+ B.type === "telegram" ? L.telegram.push(B) : B.type === "phone" && ["whatsapp", "max", "sms", "phone"].forEach((de) => {
18681
+ L[de].push(B);
18671
18682
  });
18672
18683
  }), w.value = L;
18673
18684
  }, Be = (L) => n.channels.filter(
18674
18685
  (B) => $(B.channelId) === L
18675
18686
  ), $e = (L) => {
18676
- var Ae;
18677
- const B = (Ae = n.recentAttributeChannels[L]) == null ? void 0 : Ae.attributeId;
18687
+ var de;
18688
+ const B = (de = n.recentAttributeChannels[L]) == null ? void 0 : de.attributeId;
18678
18689
  return n.contactAttributes.find((Fe) => Fe.id === B);
18679
18690
  }, Ce = (L) => {
18680
18691
  var B;
18681
18692
  return ((B = p.value) == null ? void 0 : B.id) === L.id;
18682
18693
  }, H = (L) => {
18683
- h.value === L && s.value === L ? q() : (s.value = L, c.value = !0, A.value = !1, p.value = null, M.value = !1, st());
18694
+ h.value === L && s.value === L ? q() : (s.value = L, c.value = !0, A.value = !1, p.value = null, _.value = !1, st());
18684
18695
  }, q = () => {
18685
- c.value = !1, s.value = null, p.value = null, M.value = !1, A.value = !1;
18696
+ c.value = !1, s.value = null, p.value = null, _.value = !1, A.value = !1;
18686
18697
  }, E = () => {
18687
18698
  var L;
18688
18699
  if (s.value === "phone")
18689
- F(_.value);
18700
+ F(M.value);
18690
18701
  else if (R(s.value)) {
18691
18702
  const B = (L = n.recentAttributeChannels[s.value]) == null ? void 0 : L.channelId;
18692
- _.value && B && be(B);
18703
+ M.value && B && be(B);
18693
18704
  } else {
18694
18705
  const B = fe(s.value);
18695
- _.value && B && ce(_.value, B.channelId);
18706
+ M.value && B && ue(M.value, B.channelId);
18696
18707
  }
18697
18708
  }, Q = (L) => {
18698
18709
  if (s.value === "phone")
18699
18710
  F(L);
18700
18711
  else if (!R(s.value)) {
18701
18712
  const B = fe(s.value);
18702
- B && ce(L, B.channelId);
18713
+ B && ue(L, B.channelId);
18703
18714
  }
18704
18715
  }, F = (L) => {
18705
18716
  L && (a("phone-call", {
18706
18717
  attributeId: L.id,
18707
18718
  phoneNumber: L.data
18708
18719
  }), q());
18709
- }, ce = (L, B) => {
18720
+ }, ue = (L, B) => {
18710
18721
  a("select-attribute-channel", {
18711
18722
  attributeId: L.id,
18712
18723
  channelId: B
18713
- }), h.value = s.value, y.value = n.channels.find((Ae) => Ae.channelId === B), console.log("TEST selectedChannel.value", y.value), q();
18724
+ }), h.value = s.value, y.value = n.channels.find((de) => de.channelId === B), console.log("TEST selectedChannel.value", y.value), q();
18714
18725
  }, be = (L) => {
18715
- _.value && a("select-attribute-channel", {
18716
- attributeId: _.value.id,
18726
+ M.value && a("select-attribute-channel", {
18727
+ attributeId: M.value.id,
18717
18728
  channelId: L
18718
18729
  }), h.value = s.value, y.value = n.channels.find((B) => B.channelId === L), console.log("TEST selectedChannel.value", y.value), q();
18719
18730
  }, Re = (L) => {
18720
- R(s.value) && (Nt(), M.value = !0, A.value = !0, sn(L.currentTarget));
18731
+ R(s.value) && (Dt(), _.value = !0, A.value = !0, sn(L.currentTarget));
18721
18732
  }, ut = () => {
18722
- A.value || (M.value = !1);
18733
+ A.value || (_.value = !1);
18723
18734
  }, Jn = (L, B) => {
18724
- R(s.value) && (M.value = !1, d.value = L, A.value = !0, p.value = L, sn(B.currentTarget));
18735
+ R(s.value) && (_.value = !1, d.value = L, A.value = !0, p.value = L, sn(B.currentTarget));
18725
18736
  }, nn = () => {
18726
18737
  A.value || (p.value = null);
18727
- }, Nt = () => {
18738
+ }, Dt = () => {
18728
18739
  A.value = !1, p.value = null, d.value = null;
18729
18740
  }, Gn = () => {
18730
18741
  A.value = !0;
18731
18742
  }, an = () => {
18732
- A.value = !1, p.value = null, M.value = !1;
18743
+ A.value = !1, p.value = null, _.value = !1;
18733
18744
  }, fn = (L) => {
18734
- M.value ? be(L) : d.value && (a("select-attribute-channel", {
18745
+ _.value ? be(L) : d.value && (a("select-attribute-channel", {
18735
18746
  attributeId: d.value.id,
18736
18747
  channelId: L
18737
18748
  }), h.value = s.value, y.value = n.channels.find((B) => B.channelId === L), console.log("TEST selectedChannel.value", y.value)), q();
@@ -18740,16 +18751,16 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18740
18751
  }, sn = (L) => {
18741
18752
  try {
18742
18753
  requestAnimationFrame(() => {
18743
- var Dt, Qa, Fa;
18744
- const B = (Dt = f.value) == null ? void 0 : Dt.querySelector(".attributes-menu"), Ae = (Qa = f.value) == null ? void 0 : Qa.querySelector(".sub-menu-header"), Fe = (Fa = f.value) == null ? void 0 : Fa.querySelector(".sub-menu");
18754
+ var Nt, Qa, Fa;
18755
+ const B = (Nt = f.value) == null ? void 0 : Nt.querySelector(".attributes-menu"), de = (Qa = f.value) == null ? void 0 : Qa.querySelector(".sub-menu-header"), Fe = (Fa = f.value) == null ? void 0 : Fa.querySelector(".sub-menu");
18745
18756
  if (!B || !L) {
18746
18757
  m.value = 0;
18747
18758
  return;
18748
18759
  }
18749
18760
  const ot = B.getBoundingClientRect(), lt = L.getBoundingClientRect();
18750
18761
  let ne = 0;
18751
- if (Ae) {
18752
- const Xn = Ae.getBoundingClientRect(), K1 = getComputedStyle(Ae), Ya = parseFloat(K1.marginBottom || "0");
18762
+ if (de) {
18763
+ const Xn = de.getBoundingClientRect(), Zf = getComputedStyle(de), Ya = parseFloat(Zf.marginBottom || "0");
18753
18764
  ne = Xn.height + (isNaN(Ya) ? 0 : Ya);
18754
18765
  }
18755
18766
  let Ie = 0;
@@ -18774,14 +18785,14 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18774
18785
  return;
18775
18786
  }
18776
18787
  const B = $(L.channelId);
18777
- B && k.includes(B) && (h.value = B, y.value = n.channels.find((Ae) => Ae.channelId === L.channelId));
18788
+ B && k.includes(B) && (h.value = B, y.value = n.channels.find((de) => de.channelId === L.channelId));
18778
18789
  };
18779
18790
  return me(() => {
18780
18791
  st(), window.addEventListener("resize", st), document.addEventListener("click", Qe), pe(), it(n.selectedDialog);
18781
- }), Mt(() => {
18792
+ }), _t(() => {
18782
18793
  window.removeEventListener("resize", st), document.removeEventListener("click", Qe);
18783
18794
  }), (L, B) => {
18784
- var Ae, Fe, ot, lt;
18795
+ var de, Fe, ot, lt;
18785
18796
  return l(), r("div", {
18786
18797
  ref_key: "panelRef",
18787
18798
  ref: f,
@@ -18800,9 +18811,9 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18800
18811
  active: ee(ne.type),
18801
18812
  hover: u.value === ne.type && !ee(ne.type) || u.value === ne.type && ee(ne.type)
18802
18813
  }]),
18803
- onClick: (Dt) => H(ne.type),
18804
- onMouseenter: (Dt) => u.value = ne.type,
18805
- onMouseleave: B[0] || (B[0] = (Dt) => u.value = null)
18814
+ onClick: (Nt) => H(ne.type),
18815
+ onMouseenter: (Nt) => u.value = ne.type,
18816
+ onMouseleave: B[0] || (B[0] = (Nt) => u.value = null)
18806
18817
  }, [
18807
18818
  ee(ne.type) ? (l(), r(K, { key: 0 }, [
18808
18819
  W(nt, {
@@ -18837,10 +18848,10 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18837
18848
  c.value && s.value ? (l(), r("div", {
18838
18849
  key: 0,
18839
18850
  class: "attributes-menu",
18840
- style: de({ width: g.value })
18851
+ style: ce({ width: g.value })
18841
18852
  }, [
18842
18853
  o("div", n0, x(s.value === "phone" ? "Телефон" : "Недавний"), 1),
18843
- D.value && ((Ae = n.recentAttributeChannels[s.value]) != null && Ae.tooltip) ? (l(), U(nt, {
18854
+ N.value && ((de = n.recentAttributeChannels[s.value]) != null && de.tooltip) ? (l(), U(nt, {
18844
18855
  key: 0,
18845
18856
  text: (Fe = n.recentAttributeChannels[s.value]) == null ? void 0 : Fe.tooltip,
18846
18857
  position: "bottom",
@@ -18851,15 +18862,15 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18851
18862
  return [
18852
18863
  o("div", {
18853
18864
  class: j(["recent-attribute", {
18854
- "frozen-hover": M.value
18865
+ "frozen-hover": _.value
18855
18866
  }]),
18856
18867
  onMouseenter: B[1] || (B[1] = (Ie) => Re(Ie)),
18857
18868
  onMouseleave: ut,
18858
- onMouseover: Nt,
18869
+ onMouseover: Dt,
18859
18870
  onClick: B[2] || (B[2] = (Ie) => E())
18860
18871
  }, [
18861
18872
  o("div", a0, [
18862
- o("span", f0, x((ne = _.value) == null ? void 0 : ne.value), 1)
18873
+ o("span", f0, x((ne = M.value) == null ? void 0 : ne.value), 1)
18863
18874
  ]),
18864
18875
  o("span", {
18865
18876
  class: j(["channel-icon-small", { "menu-icon-grey": s.value !== "sms" }])
@@ -18870,18 +18881,18 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18870
18881
  ];
18871
18882
  }),
18872
18883
  _: 1
18873
- }, 8, ["text"])) : D.value ? (l(), r("div", {
18884
+ }, 8, ["text"])) : N.value ? (l(), r("div", {
18874
18885
  key: 1,
18875
18886
  class: j(["recent-attribute", {
18876
- "frozen-hover": M.value
18887
+ "frozen-hover": _.value
18877
18888
  }]),
18878
18889
  onMouseenter: B[3] || (B[3] = (ne) => Re(ne)),
18879
18890
  onMouseleave: ut,
18880
- onMouseover: Nt,
18891
+ onMouseover: Dt,
18881
18892
  onClick: B[4] || (B[4] = (ne) => E())
18882
18893
  }, [
18883
18894
  o("div", s0, [
18884
- o("span", i0, x((ot = _.value) == null ? void 0 : ot.value), 1)
18895
+ o("span", i0, x((ot = M.value) == null ? void 0 : ot.value), 1)
18885
18896
  ]),
18886
18897
  o("span", {
18887
18898
  class: j(["channel-icon-small", { "menu-icon-grey": s.value !== "sms" }])
@@ -18889,7 +18900,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18889
18900
  (l(), U(qe(te(s.value))))
18890
18901
  ], 2)
18891
18902
  ], 34)) : v("", !0),
18892
- D.value && ((lt = w.value[s.value]) != null && lt.length) && s.value !== "phone" ? (l(), r("div", o0)) : v("", !0),
18903
+ N.value && ((lt = w.value[s.value]) != null && lt.length) && s.value !== "phone" ? (l(), r("div", o0)) : v("", !0),
18893
18904
  (l(!0), r(K, null, oe(w.value[s.value], (ne) => (l(), r("div", {
18894
18905
  key: ne.attributeId,
18895
18906
  class: j(["attribute-item", {
@@ -18914,7 +18925,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18914
18925
  A.value && z.value ? (l(), r("div", {
18915
18926
  key: 3,
18916
18927
  class: "sub-menu left",
18917
- style: de({ top: m.value + "px" }),
18928
+ style: ce({ top: m.value + "px" }),
18918
18929
  onMouseenter: Gn,
18919
18930
  onMouseleave: an
18920
18931
  }, [
@@ -18942,7 +18953,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18942
18953
  }, b0 = {
18943
18954
  key: 1,
18944
18955
  class: "call-message__title"
18945
- }, _0 = { key: 1 }, M0 = /* @__PURE__ */ J({
18956
+ }, M0 = { key: 1 }, _0 = /* @__PURE__ */ J({
18946
18957
  __name: "ReplyCallMessage",
18947
18958
  props: {
18948
18959
  message: {
@@ -18962,11 +18973,11 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
18962
18973
  o("div", v0, [
18963
18974
  e.message.isMissedCall ? (l(), r("span", b0, " Пропущенный аудиозвонок ")) : (l(), r("span", y0, " Аудиозвонок "))
18964
18975
  ]),
18965
- e.message.callDuration ? (l(), r("p", _0, x(e.message.callDuration), 1)) : v("", !0)
18976
+ e.message.callDuration ? (l(), r("p", M0, x(e.message.callDuration), 1)) : v("", !0)
18966
18977
  ])
18967
18978
  ], 64));
18968
18979
  }
18969
- }), w0 = /* @__PURE__ */ O(M0, [["__scopeId", "data-v-72ef3094"]]), C0 = { class: "reply__reset" }, kt = /* @__PURE__ */ J({
18980
+ }), w0 = /* @__PURE__ */ O(_0, [["__scopeId", "data-v-72ef3094"]]), C0 = { class: "reply__reset" }, kt = /* @__PURE__ */ J({
18970
18981
  __name: "BaseReplyMessage",
18971
18982
  props: {
18972
18983
  message: {
@@ -19008,7 +19019,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19008
19019
  ], 2);
19009
19020
  };
19010
19021
  }
19011
- }), I0 = { class: "link-preview" }, k0 = { class: "link-preview__container" }, N0 = ["href"], D0 = { class: "link-preview__title" }, x0 = { class: "link-preview__description" }, T0 = ["src", "alt"], E0 = /* @__PURE__ */ J({
19022
+ }), I0 = { class: "link-preview" }, k0 = { class: "link-preview__container" }, D0 = ["href"], N0 = { class: "link-preview__title" }, x0 = { class: "link-preview__description" }, T0 = ["src", "alt"], E0 = /* @__PURE__ */ J({
19012
19023
  __name: "LinkPreview",
19013
19024
  props: {
19014
19025
  linkPreview: {
@@ -19024,14 +19035,14 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19024
19035
  href: e.linkPreview.url,
19025
19036
  target: "_blank"
19026
19037
  }, [
19027
- o("p", D0, x(e.linkPreview.title), 1),
19038
+ o("p", N0, x(e.linkPreview.title), 1),
19028
19039
  o("p", x0, x(e.linkPreview.description), 1),
19029
19040
  o("img", {
19030
19041
  class: "link-preview__image",
19031
19042
  src: e.linkPreview.imageUrl,
19032
19043
  alt: e.linkPreview.title
19033
19044
  }, null, 8, T0)
19034
- ], 8, N0)
19045
+ ], 8, D0)
19035
19046
  ])
19036
19047
  ]));
19037
19048
  }
@@ -19117,7 +19128,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19117
19128
  i.value = !0;
19118
19129
  }, p = () => {
19119
19130
  i.value = !1, f.value = !1;
19120
- }, M = P(() => Ct(n.message.status));
19131
+ }, _ = P(() => Ct(n.message.status));
19121
19132
  function h(y) {
19122
19133
  return y.position === "left" ? "file-message__left" : "file-message__right";
19123
19134
  }
@@ -19127,6 +19138,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19127
19138
  e.applyStyle(e.message)
19128
19139
  ]]),
19129
19140
  messageId: e.message.messageId,
19141
+ style: ce(e.message.position === "right" && e.message.backgroundColor ? { "--chotto-message-right-bg": e.message.backgroundColor } : null),
19130
19142
  onMouseleave: p
19131
19143
  }, [
19132
19144
  e.message.avatar && e.isFirstInSeries ? (l(), r("img", {
@@ -19135,12 +19147,12 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19135
19147
  src: e.message.avatar,
19136
19148
  height: "32",
19137
19149
  width: "32",
19138
- style: de({ gridRow: e.message.subText ? "2" : "1" })
19150
+ style: ce({ gridRow: e.message.subText ? "2" : "1" })
19139
19151
  }, null, 12, U0)) : v("", !0),
19140
19152
  e.message.subText && e.isFirstInSeries ? (l(), r("p", B0, x(e.message.subText), 1)) : v("", !0),
19141
19153
  o("div", {
19142
19154
  class: j(["file-message__content", { "is-first": e.isFirstInSeries, "with-avatar-indent": !e.isFirstInSeries && e.message.avatar }]),
19143
- style: de({ gridRow: e.message.subText ? "2" : "1" }),
19155
+ style: ce({ gridRow: e.message.subText ? "2" : "1" }),
19144
19156
  onMouseenter: g
19145
19157
  }, [
19146
19158
  e.message.reply ? (l(), U(kt, {
@@ -19187,9 +19199,9 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19187
19199
  o("p", null, x(e.message.views), 1)
19188
19200
  ])) : v("", !0),
19189
19201
  o("span", P0, x(e.message.time), 1),
19190
- h(e.message) === "file-message__right" && N(wt).includes(e.message.status) ? (l(), r("div", {
19202
+ h(e.message) === "file-message__right" && D(wt).includes(e.message.status) ? (l(), r("div", {
19191
19203
  key: 1,
19192
- class: j(["file-message__status", M.value])
19204
+ class: j(["file-message__status", _.value])
19193
19205
  }, [
19194
19206
  e.message.status !== "sent" ? (l(), r("span", q0)) : v("", !0),
19195
19207
  m[4] || (m[4] = o("span", { class: "pi pi-check" }, null, -1))
@@ -19204,7 +19216,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19204
19216
  ]))) : v("", !0),
19205
19217
  W(le, null, {
19206
19218
  default: Z(() => [
19207
- f.value && e.message.actions ? (l(), U(N(It), {
19219
+ f.value && e.message.actions ? (l(), U(D(It), {
19208
19220
  key: 0,
19209
19221
  class: "file-message__context-menu",
19210
19222
  actions: e.message.actions,
@@ -19214,9 +19226,9 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19214
19226
  _: 1
19215
19227
  })
19216
19228
  ], 38)
19217
- ], 42, L0));
19229
+ ], 46, L0));
19218
19230
  }
19219
- }), W0 = /* @__PURE__ */ O(H0, [["__scopeId", "data-v-d3639067"]]), K0 = ["messageId"], Z0 = ["src"], J0 = {
19231
+ }), W0 = /* @__PURE__ */ O(H0, [["__scopeId", "data-v-9334e0e7"]]), K0 = ["messageId"], Z0 = ["src"], J0 = {
19220
19232
  key: 1,
19221
19233
  class: "image-message__subtext"
19222
19234
  }, G0 = ["src", "alt"], X0 = {
@@ -19260,7 +19272,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19260
19272
  function p(w) {
19261
19273
  w.preventDefault(), w.target.href && window.open(w.target.href, "_blank");
19262
19274
  }
19263
- const M = () => {
19275
+ const _ = () => {
19264
19276
  i("action", { messageId: f.message.messageId, type: "views" });
19265
19277
  }, h = () => {
19266
19278
  }, y = () => {
@@ -19272,12 +19284,13 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19272
19284
  return w.position === "left" ? "image-message__left" : "image-message__right";
19273
19285
  }
19274
19286
  const C = () => s.value = !1;
19275
- return (w, _) => (l(), r("div", {
19287
+ return (w, M) => (l(), r("div", {
19276
19288
  class: j(["image-message", [
19277
19289
  I(e.message),
19278
19290
  e.applyStyle(e.message)
19279
19291
  ]]),
19280
19292
  messageId: e.message.messageId,
19293
+ style: ce(e.message.position === "right" && e.message.backgroundColor ? { "--chotto-message-right-bg": e.message.backgroundColor } : null),
19281
19294
  onMouseleave: m
19282
19295
  }, [
19283
19296
  e.message.avatar && e.isFirstInSeries ? (l(), r("img", {
@@ -19300,13 +19313,13 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19300
19313
  }, null, 8, ["class", "message"])) : v("", !0),
19301
19314
  o("div", {
19302
19315
  class: "image-message__preview-button",
19303
- onClick: _[0] || (_[0] = (D) => s.value = !0),
19316
+ onClick: M[0] || (M[0] = (N) => s.value = !0),
19304
19317
  onMouseenter: y,
19305
- onMouseleave: _[1] || (_[1] = (D) => A.value = !A.value)
19318
+ onMouseleave: M[1] || (M[1] = (N) => A.value = !A.value)
19306
19319
  }, [
19307
19320
  o("img", {
19308
19321
  class: "image-message__preview-image",
19309
- style: de({ borderRadius: k.value }),
19322
+ style: ce({ borderRadius: k.value }),
19310
19323
  src: e.message.url,
19311
19324
  alt: e.message.alt
19312
19325
  }, null, 12, G0),
@@ -19316,18 +19329,18 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19316
19329
  e.message.views ? (l(), r("div", {
19317
19330
  key: 0,
19318
19331
  class: "image-message__views",
19319
- onClick: Ft(M, ["stop"])
19332
+ onClick: Ft(_, ["stop"])
19320
19333
  }, [
19321
- _[3] || (_[3] = o("span", { class: "pi pi-eye" }, null, -1)),
19334
+ M[3] || (M[3] = o("span", { class: "pi pi-eye" }, null, -1)),
19322
19335
  o("p", null, x(e.message.views), 1)
19323
19336
  ])) : v("", !0),
19324
19337
  o("span", e2, x(e.message.time), 1),
19325
- I(e.message) === "image-message__right" && N(wt).includes(e.message.status) ? (l(), r("div", {
19338
+ I(e.message) === "image-message__right" && D(wt).includes(e.message.status) ? (l(), r("div", {
19326
19339
  key: 1,
19327
19340
  class: j(["image-message__status", T.value])
19328
19341
  }, [
19329
19342
  e.message.status !== "sent" ? (l(), r("span", t2)) : v("", !0),
19330
- _[4] || (_[4] = o("span", { class: "pi pi-check" }, null, -1))
19343
+ M[4] || (M[4] = o("span", { class: "pi pi-check" }, null, -1))
19331
19344
  ], 2)) : v("", !0)
19332
19345
  ])) : v("", !0)
19333
19346
  ]),
@@ -19342,7 +19355,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19342
19355
  download: "",
19343
19356
  target: "_blank",
19344
19357
  onClick: Ft(() => "//Предотвращаем всплытие события клика", ["stop"])
19345
- }, _[5] || (_[5] = [
19358
+ }, M[5] || (M[5] = [
19346
19359
  o("span", { class: "pi pi-download" }, null, -1)
19347
19360
  ]), 8, n2)) : v("", !0)
19348
19361
  ]),
@@ -19354,8 +19367,8 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19354
19367
  c.value && e.message.actions ? (l(), r("button", {
19355
19368
  key: 0,
19356
19369
  class: "image-message__menu-button",
19357
- onClick: _[2] || (_[2] = (D) => u.value = !u.value)
19358
- }, _[6] || (_[6] = [
19370
+ onClick: M[2] || (M[2] = (N) => u.value = !u.value)
19371
+ }, M[6] || (M[6] = [
19359
19372
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
19360
19373
  ]))) : v("", !0)
19361
19374
  ]),
@@ -19363,7 +19376,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19363
19376
  }),
19364
19377
  W(le, { name: "context-menu" }, {
19365
19378
  default: Z(() => [
19366
- u.value && e.message.actions ? (l(), U(N(It), {
19379
+ u.value && e.message.actions ? (l(), U(D(It), {
19367
19380
  key: 0,
19368
19381
  class: "image-message__context-menu",
19369
19382
  actions: e.message.actions,
@@ -19394,7 +19407,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19394
19407
  default: Z(() => [
19395
19408
  s.value ? (l(), U(Kt, {
19396
19409
  key: 0,
19397
- "data-theme": N(a)().theme ? N(a)().theme : "light",
19410
+ "data-theme": D(a)().theme ? D(a)().theme : "light",
19398
19411
  onClose: C
19399
19412
  }, {
19400
19413
  default: Z(() => [
@@ -19410,9 +19423,9 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19410
19423
  _: 1
19411
19424
  })
19412
19425
  ]))
19413
- ], 42, K0));
19426
+ ], 46, K0));
19414
19427
  }
19415
- }), o2 = /* @__PURE__ */ O(i2, [["__scopeId", "data-v-62d1fe44"]]), l2 = ["messageId"], r2 = ["src"], c2 = {
19428
+ }), o2 = /* @__PURE__ */ O(i2, [["__scopeId", "data-v-10129b4f"]]), l2 = ["messageId"], r2 = ["src"], c2 = {
19416
19429
  key: 1,
19417
19430
  class: "text-message__subtext"
19418
19431
  }, u2 = ["innerHTML"], A2 = { class: "text-message__info-container" }, d2 = {
@@ -19459,7 +19472,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19459
19472
  i.value = !1, f.value = !1;
19460
19473
  }, g = P(() => Ct(n.message.status)), p = (y) => {
19461
19474
  d(), a("action", { messageId: n.message.messageId, type: "menu", ...y });
19462
- }, M = () => {
19475
+ }, _ = () => {
19463
19476
  d(), a("action", { messageId: n.message.messageId, type: "views" });
19464
19477
  };
19465
19478
  function h(y) {
@@ -19471,6 +19484,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19471
19484
  e.applyStyle(e.message)
19472
19485
  ]]),
19473
19486
  messageId: e.message.messageId,
19487
+ style: ce(e.message.position === "right" && e.message.backgroundColor ? { "--chotto-message-right-bg": e.message.backgroundColor } : null),
19474
19488
  onMouseleave: d
19475
19489
  }, [
19476
19490
  e.message.avatar && e.isFirstInSeries ? (l(), r("img", {
@@ -19479,7 +19493,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19479
19493
  src: e.message.avatar,
19480
19494
  height: "32",
19481
19495
  width: "32",
19482
- style: de({ gridRow: e.message.subText && e.isFirstInSeries ? "2" : "1" })
19496
+ style: ce({ gridRow: e.message.subText && e.isFirstInSeries ? "2" : "1" })
19483
19497
  }, null, 12, r2)) : v("", !0),
19484
19498
  e.message.subText && e.isFirstInSeries ? (l(), r("p", c2, x(e.message.subText), 1)) : v("", !0),
19485
19499
  o("div", {
@@ -19511,13 +19525,13 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19511
19525
  e.message.views ? (l(), r("div", {
19512
19526
  key: 0,
19513
19527
  class: "text-message__views",
19514
- onClick: M
19528
+ onClick: _
19515
19529
  }, [
19516
19530
  m[1] || (m[1] = o("span", { class: "pi pi-eye" }, null, -1)),
19517
19531
  o("p", null, x(e.message.views), 1)
19518
19532
  ])) : v("", !0),
19519
19533
  e.message.time ? (l(), r("span", d2, x(e.message.time), 1)) : v("", !0),
19520
- h(e.message) === "text-message__right" && N(wt).includes(e.message.status) ? (l(), r("div", {
19534
+ h(e.message) === "text-message__right" && D(wt).includes(e.message.status) ? (l(), r("div", {
19521
19535
  key: 2,
19522
19536
  class: j(["text-message__status", g.value])
19523
19537
  }, [
@@ -19534,7 +19548,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19534
19548
  ]))) : v("", !0),
19535
19549
  W(le, null, {
19536
19550
  default: Z(() => [
19537
- f.value && e.message.actions ? (l(), U(N(It), {
19551
+ f.value && e.message.actions ? (l(), U(D(It), {
19538
19552
  key: 0,
19539
19553
  class: "text-message__context-menu",
19540
19554
  actions: e.message.actions,
@@ -19544,12 +19558,12 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19544
19558
  _: 1
19545
19559
  })
19546
19560
  ], 34)
19547
- ], 42, l2));
19561
+ ], 46, l2));
19548
19562
  }
19549
- }), p2 = /* @__PURE__ */ O(m2, [["__scopeId", "data-v-59d0b10d"]]), h2 = ["messageId"], v2 = ["src"], y2 = {
19563
+ }), p2 = /* @__PURE__ */ O(m2, [["__scopeId", "data-v-8af40b13"]]), h2 = ["messageId"], v2 = ["src"], y2 = {
19550
19564
  key: 1,
19551
19565
  class: "audio-message__subtext"
19552
- }, b2 = { class: "audio-message__audio-container" }, _2 = ["src"], M2 = ["max"], w2 = { class: "audio-message__player-controls" }, C2 = { class: "audio-message__remaining-time" }, I2 = { class: "audio-message__speed-btn-container" }, k2 = ["onClick"], N2 = ["href"], D2 = {
19566
+ }, b2 = { class: "audio-message__audio-container" }, M2 = ["src"], _2 = ["max"], w2 = { class: "audio-message__player-controls" }, C2 = { class: "audio-message__remaining-time" }, I2 = { class: "audio-message__speed-btn-container" }, k2 = ["onClick"], D2 = ["href"], N2 = {
19553
19567
  key: 1,
19554
19568
  class: "audio-message__transcript-container"
19555
19569
  }, x2 = {
@@ -19601,21 +19615,21 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19601
19615
  for (let R of i.value)
19602
19616
  R.selected = !1;
19603
19617
  i.value[$].selected = !0, c.value && (c.value.playbackRate = i.value[$].speed);
19604
- }, u = t, c = b(), A = b(!1), d = b(0), g = b(0), p = b(!1), M = b(!1), h = b(!1), y = P(() => f.message.text ? Oe(f.message.text) : ""), m = ($) => {
19618
+ }, u = t, c = b(), A = b(!1), d = b(0), g = b(0), p = b(!1), _ = b(!1), h = b(!1), y = P(() => f.message.text ? Oe(f.message.text) : ""), m = ($) => {
19605
19619
  u("reply", $);
19606
19620
  };
19607
19621
  function k($) {
19608
19622
  $.preventDefault(), $.target.href && window.open($.target.href, "_blank");
19609
19623
  }
19610
19624
  const T = () => {
19611
- M.value = !0;
19625
+ _.value = !0;
19612
19626
  }, I = () => {
19613
- M.value = !1, p.value = !1;
19627
+ _.value = !1, p.value = !1;
19614
19628
  }, C = () => {
19615
19629
  u("action", { messageId: f.message.messageId, type: "views" });
19616
19630
  }, w = () => {
19617
- }, _ = P(() => Ct(f.message.status));
19618
- function D() {
19631
+ }, M = P(() => Ct(f.message.status));
19632
+ function N() {
19619
19633
  c.value && (A.value ? c.value.pause() : c.value.play(), A.value = !A.value);
19620
19634
  }
19621
19635
  const V = ($) => {
@@ -19648,6 +19662,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19648
19662
  e.applyStyle(e.message)
19649
19663
  ]]),
19650
19664
  messageId: e.message.messageId,
19665
+ style: ce(e.message.position === "right" && e.message.backgroundColor ? { "--chotto-message-right-bg": e.message.backgroundColor } : null),
19651
19666
  onMouseleave: I
19652
19667
  }, [
19653
19668
  e.message.avatar && e.isFirstInSeries ? (l(), r("img", {
@@ -19656,7 +19671,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19656
19671
  src: e.message.avatar,
19657
19672
  height: "32",
19658
19673
  width: "32",
19659
- style: de({ gridRow: e.message.subText ? "2" : "1" })
19674
+ style: ce({ gridRow: e.message.subText ? "2" : "1" })
19660
19675
  }, null, 12, v2)) : v("", !0),
19661
19676
  e.message.subText && e.isFirstInSeries ? (l(), r("p", y2, x(e.message.subText), 1)) : v("", !0),
19662
19677
  o("div", {
@@ -19676,10 +19691,10 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19676
19691
  ref: c,
19677
19692
  src: e.message.url,
19678
19693
  type: "audio/webm"
19679
- }, null, 8, _2),
19694
+ }, null, 8, M2),
19680
19695
  ge(o("button", {
19681
19696
  class: "audio-message__play",
19682
- onClick: D
19697
+ onClick: N
19683
19698
  }, R[4] || (R[4] = [
19684
19699
  o("span", { class: "pi pi-play" }, null, -1)
19685
19700
  ]), 512), [
@@ -19687,7 +19702,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19687
19702
  ]),
19688
19703
  ge(o("button", {
19689
19704
  class: "audio-message__pause",
19690
- onClick: D
19705
+ onClick: N
19691
19706
  }, R[5] || (R[5] = [
19692
19707
  o("span", { class: "pi pi-pause" }, null, -1)
19693
19708
  ]), 512), [
@@ -19700,8 +19715,8 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19700
19715
  min: 0,
19701
19716
  max: d.value,
19702
19717
  step: "0.1"
19703
- }, null, 8, M2), [
19704
- [_t, g.value]
19718
+ }, null, 8, _2), [
19719
+ [Mt, g.value]
19705
19720
  ]),
19706
19721
  o("div", w2, [
19707
19722
  o("p", C2, x(`${z.value} / ${Y.value}`), 1),
@@ -19721,9 +19736,9 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19721
19736
  onClick: Ft(() => "//Предотвращаем всплытие события клика", ["stop"])
19722
19737
  }, R[6] || (R[6] = [
19723
19738
  o("span", { class: "pi pi-download" }, null, -1)
19724
- ]), 8, N2)
19739
+ ]), 8, D2)
19725
19740
  ]),
19726
- (ee = e.message.transcript) != null && ee.text ? (l(), r("div", D2, [
19741
+ (ee = e.message.transcript) != null && ee.text ? (l(), r("div", N2, [
19727
19742
  o("p", {
19728
19743
  onClick: R[1] || (R[1] = (fe) => h.value = !h.value)
19729
19744
  }, x(e.message.transcript.text), 1)
@@ -19754,15 +19769,15 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19754
19769
  o("p", null, x(e.message.views), 1)
19755
19770
  ])) : v("", !0),
19756
19771
  o("span", j2, x(e.message.time), 1),
19757
- X(e.message) === "audio-message__right" && N(wt).includes(e.message.status) ? (l(), r("div", {
19772
+ X(e.message) === "audio-message__right" && D(wt).includes(e.message.status) ? (l(), r("div", {
19758
19773
  key: 1,
19759
- class: j(["audio-message__status", _.value])
19774
+ class: j(["audio-message__status", M.value])
19760
19775
  }, [
19761
19776
  e.message.status !== "sent" ? (l(), r("span", S2)) : v("", !0),
19762
19777
  R[8] || (R[8] = o("span", { class: "pi pi-check" }, null, -1))
19763
19778
  ], 2)) : v("", !0)
19764
19779
  ]),
19765
- M.value && e.message.actions ? (l(), r("button", {
19780
+ _.value && e.message.actions ? (l(), r("button", {
19766
19781
  key: 5,
19767
19782
  class: "audio-message__menu-button",
19768
19783
  onClick: R[2] || (R[2] = (fe) => p.value = !p.value)
@@ -19771,7 +19786,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19771
19786
  ]))) : v("", !0),
19772
19787
  W(le, null, {
19773
19788
  default: Z(() => [
19774
- p.value && e.message.actions ? (l(), U(N(It), {
19789
+ p.value && e.message.actions ? (l(), U(D(It), {
19775
19790
  key: 0,
19776
19791
  class: "audio-message__context-menu",
19777
19792
  actions: e.message.actions,
@@ -19788,7 +19803,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19788
19803
  h.value ? (l(), r("div", {
19789
19804
  key: 0,
19790
19805
  class: "audio-message__modal-overlay",
19791
- "data-theme": N(a)().theme ? N(a)().theme : null
19806
+ "data-theme": D(a)().theme ? D(a)().theme : null
19792
19807
  }, [
19793
19808
  o("div", O2, [
19794
19809
  o("button", {
@@ -19808,10 +19823,10 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19808
19823
  })
19809
19824
  ]))
19810
19825
  ], 34)
19811
- ], 42, h2);
19826
+ ], 46, h2);
19812
19827
  };
19813
19828
  }
19814
- }), U2 = /* @__PURE__ */ O(L2, [["__scopeId", "data-v-2b0a3051"]]), B2 = { class: "date-message__container" }, $2 = { class: "date-message__text" }, R2 = /* @__PURE__ */ J({
19829
+ }), U2 = /* @__PURE__ */ O(L2, [["__scopeId", "data-v-f7d8057d"]]), B2 = { class: "date-message__container" }, $2 = { class: "date-message__text" }, R2 = /* @__PURE__ */ J({
19815
19830
  __name: "DateMessage",
19816
19831
  props: {
19817
19832
  message: {
@@ -19863,7 +19878,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19863
19878
  function u(V) {
19864
19879
  return V.position === "left" ? "video-message__left" : "video-message__right";
19865
19880
  }
19866
- const c = b(), A = b(), d = b(!1), g = b(!1), p = b(!1), M = b(!1), h = b("");
19881
+ const c = b(), A = b(), d = b(!1), g = b(!1), p = b(!1), _ = b(!1), h = b("");
19867
19882
  ae(
19868
19883
  () => f.message.text,
19869
19884
  () => {
@@ -19878,7 +19893,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19878
19893
  i("action", { messageId: f.message.messageId, type: "views" });
19879
19894
  }, k = () => {
19880
19895
  }, T = () => {
19881
- p.value = !0, M.value = !0;
19896
+ p.value = !0, _.value = !0;
19882
19897
  }, I = () => {
19883
19898
  p.value = !1, g.value = !1;
19884
19899
  }, C = P(() => Ct(f.message.status)), w = () => {
@@ -19887,7 +19902,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19887
19902
  ae([c, A], ([V, z]) => {
19888
19903
  V ? z && (z.pause(), z.currentTime = 0) : z && (z.play(), z.currentTime = 0);
19889
19904
  });
19890
- const _ = P(() => f.message.reply && f.message.text ? "0" : f.message.text ? "8px 8px 0 0" : f.message.reply ? "0 0 8px 8px" : "8px"), D = () => d.value = !1;
19905
+ const M = P(() => f.message.reply && f.message.text ? "0" : f.message.text ? "8px 8px 0 0" : f.message.reply ? "0 0 8px 8px" : "8px"), N = () => d.value = !1;
19891
19906
  return (V, z) => (l(), r(K, null, [
19892
19907
  o("div", {
19893
19908
  class: j(["video-message", [
@@ -19895,6 +19910,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19895
19910
  e.applyStyle(e.message)
19896
19911
  ]]),
19897
19912
  messageId: e.message.messageId,
19913
+ style: ce(e.message.position === "right" && e.message.backgroundColor ? { "--chotto-message-right-bg": e.message.backgroundColor } : null),
19898
19914
  onMouseleave: I
19899
19915
  }, [
19900
19916
  e.message.avatar && e.isFirstInSeries ? (l(), r("img", {
@@ -19919,13 +19935,13 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19919
19935
  class: "video-message__preview-button",
19920
19936
  onClick: z[0] || (z[0] = (Y) => d.value = !0),
19921
19937
  onMouseenter: T,
19922
- onMouseleave: z[1] || (z[1] = (Y) => M.value = !M.value)
19938
+ onMouseleave: z[1] || (z[1] = (Y) => _.value = !_.value)
19923
19939
  }, [
19924
19940
  o("video", {
19925
19941
  ref_key: "previewPlayer",
19926
19942
  ref: A,
19927
19943
  class: "video-message__video",
19928
- style: de({ borderRadius: _.value }),
19944
+ style: ce({ borderRadius: M.value }),
19929
19945
  src: e.message.url,
19930
19946
  muted: !0,
19931
19947
  autoplay: "",
@@ -19933,7 +19949,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19933
19949
  }, null, 44, q2),
19934
19950
  W(le, { name: "modal-fade" }, {
19935
19951
  default: Z(() => [
19936
- M.value ? (l(), r("div", H2, [
19952
+ _.value ? (l(), r("div", H2, [
19937
19953
  e.message.views ? (l(), r("div", {
19938
19954
  key: 0,
19939
19955
  class: "video-message__views",
@@ -19943,7 +19959,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19943
19959
  o("p", null, x(e.message.views), 1)
19944
19960
  ])) : v("", !0),
19945
19961
  o("span", W2, x(e.message.time), 1),
19946
- u(e.message) === "video-message__right" && N(wt).includes(e.message.status) ? (l(), r("div", {
19962
+ u(e.message) === "video-message__right" && D(wt).includes(e.message.status) ? (l(), r("div", {
19947
19963
  key: 1,
19948
19964
  class: j(["video-message__status", C.value])
19949
19965
  }, [
@@ -19956,7 +19972,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19956
19972
  }),
19957
19973
  W(le, { name: "modal-fade" }, {
19958
19974
  default: Z(() => [
19959
- M.value ? (l(), r("a", {
19975
+ _.value ? (l(), r("a", {
19960
19976
  key: 0,
19961
19977
  class: "video-message__download-button",
19962
19978
  href: e.message.url,
@@ -19984,7 +20000,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
19984
20000
  }),
19985
20001
  W(le, { name: "context-menu" }, {
19986
20002
  default: Z(() => [
19987
- g.value && e.message.actions ? (l(), U(N(It), {
20003
+ g.value && e.message.actions ? (l(), U(D(It), {
19988
20004
  key: 0,
19989
20005
  class: "video-message__context-menu",
19990
20006
  actions: e.message.actions,
@@ -20010,14 +20026,14 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20010
20026
  embed: e.message.embed
20011
20027
  }, null, 8, ["class", "embed"])) : v("", !0)
20012
20028
  ], 2)
20013
- ], 42, F2),
20029
+ ], 46, F2),
20014
20030
  (l(), U(we, { to: "body" }, [
20015
20031
  W(le, { name: "modal-fade" }, {
20016
20032
  default: Z(() => [
20017
20033
  d.value ? (l(), U(Kt, {
20018
20034
  key: 0,
20019
- "data-theme": N(a)().theme ? N(a)().theme : "light",
20020
- onClose: D
20035
+ "data-theme": D(a)().theme ? D(a)().theme : "light",
20036
+ onClose: N
20021
20037
  }, {
20022
20038
  default: Z(() => [
20023
20039
  o("video", {
@@ -20038,7 +20054,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20038
20054
  ]))
20039
20055
  ], 64));
20040
20056
  }
20041
- }), t3 = /* @__PURE__ */ O(e3, [["__scopeId", "data-v-7ed60b41"]]), n3 = ["messageId"], a3 = ["src"], f3 = {
20057
+ }), t3 = /* @__PURE__ */ O(e3, [["__scopeId", "data-v-2765aefd"]]), n3 = ["messageId"], a3 = ["src"], f3 = {
20042
20058
  key: 1,
20043
20059
  class: "call-message__subtext"
20044
20060
  }, s3 = { class: "call-message__content" }, i3 = {
@@ -20091,7 +20107,8 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20091
20107
  i(e.message, f.message),
20092
20108
  e.applyStyle(e.message)
20093
20109
  ]),
20094
- messageId: e.message.messageId
20110
+ messageId: e.message.messageId,
20111
+ style: ce(e.message.position === "right" && e.message.backgroundColor ? { "--chotto-message-right-bg": e.message.backgroundColor } : null)
20095
20112
  }, [
20096
20113
  e.message.avatar ? (l(), r("img", {
20097
20114
  key: 0,
@@ -20099,7 +20116,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20099
20116
  src: e.message.avatar,
20100
20117
  height: "32",
20101
20118
  width: "32",
20102
- style: de({ gridRow: e.message.subText ? "2" : "1" })
20119
+ style: ce({ gridRow: e.message.subText ? "2" : "1" })
20103
20120
  }, null, 12, a3)) : v("", !0),
20104
20121
  e.message.subText ? (l(), r("p", f3, x(e.message.subText), 1)) : v("", !0),
20105
20122
  o("div", s3, [
@@ -20126,7 +20143,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20126
20143
  a.value ? (l(), r("div", {
20127
20144
  key: 0,
20128
20145
  class: "call-message__modal-overlay",
20129
- "data-theme": N(n)().theme ? N(n)().theme : "light"
20146
+ "data-theme": D(n)().theme ? D(n)().theme : "light"
20130
20147
  }, [
20131
20148
  o("div", g3, [
20132
20149
  o("button", {
@@ -20152,10 +20169,10 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20152
20169
  })
20153
20170
  ]))
20154
20171
  ])
20155
- ], 10, n3);
20172
+ ], 14, n3);
20156
20173
  };
20157
20174
  }
20158
- }), p3 = /* @__PURE__ */ O(m3, [["__scopeId", "data-v-9221835d"]]), h3 = { class: "system-message__container" }, v3 = { class: "system-message__text" }, y3 = /* @__PURE__ */ J({
20175
+ }), p3 = /* @__PURE__ */ O(m3, [["__scopeId", "data-v-f6248908"]]), h3 = { class: "system-message__container" }, v3 = { class: "system-message__text" }, y3 = /* @__PURE__ */ J({
20159
20176
  __name: "SystemMessage",
20160
20177
  props: {
20161
20178
  message: {
@@ -20168,7 +20185,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20168
20185
  o("p", v3, x(e.message.text), 1)
20169
20186
  ]));
20170
20187
  }
20171
- }), b3 = /* @__PURE__ */ O(y3, [["__scopeId", "data-v-da4a8ecf"]]), _3 = { class: "typing-message__container" }, M3 = ["src"], w3 = {
20188
+ }), b3 = /* @__PURE__ */ O(y3, [["__scopeId", "data-v-da4a8ecf"]]), M3 = { class: "typing-message__container" }, _3 = ["src"], w3 = {
20172
20189
  key: 1,
20173
20190
  class: "typing-message__subtext"
20174
20191
  }, C3 = /* @__PURE__ */ J({
@@ -20180,22 +20197,22 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20180
20197
  }
20181
20198
  },
20182
20199
  setup(e) {
20183
- return (t, n) => (l(), r("div", _3, [
20200
+ return (t, n) => (l(), r("div", M3, [
20184
20201
  e.message.avatar ? (l(), r("img", {
20185
20202
  key: 0,
20186
20203
  class: "typing-message__avatar",
20187
20204
  src: e.message.avatar,
20188
20205
  height: "32",
20189
20206
  width: "32",
20190
- style: de({ gridRow: e.message.subText ? "2" : "1" })
20191
- }, null, 12, M3)) : v("", !0),
20207
+ style: ce({ gridRow: e.message.subText ? "2" : "1" })
20208
+ }, null, 12, _3)) : v("", !0),
20192
20209
  e.message.subText ? (l(), r("p", w3, x(e.message.subText), 1)) : v("", !0),
20193
20210
  n[0] || (n[0] = o("div", { class: "typing-message__loader-container" }, [
20194
20211
  o("div", { class: "typing-message__loader" })
20195
20212
  ], -1))
20196
20213
  ]));
20197
20214
  }
20198
- }), d1 = /* @__PURE__ */ O(C3, [["__scopeId", "data-v-32b7d3cd"]]), I3 = { class: "container" }, k3 = { key: 0 }, N3 = ["innerHTML"], D3 = /* @__PURE__ */ J({
20215
+ }), gf = /* @__PURE__ */ O(C3, [["__scopeId", "data-v-32b7d3cd"]]), I3 = { class: "container" }, k3 = { key: 0 }, D3 = ["innerHTML"], N3 = /* @__PURE__ */ J({
20199
20216
  __name: "ReplyTextMessage",
20200
20217
  props: {
20201
20218
  message: {
@@ -20221,10 +20238,10 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20221
20238
  class: "text",
20222
20239
  onClick: a,
20223
20240
  innerHTML: n.value
20224
- }, null, 8, N3)
20241
+ }, null, 8, D3)
20225
20242
  ]));
20226
20243
  }
20227
- }), x3 = /* @__PURE__ */ O(D3, [["__scopeId", "data-v-1437d867"]]), T3 = ["src", "alt"], E3 = { class: "image-message__text-container" }, j3 = { key: 0 }, S3 = ["innerHTML"], V3 = ["src", "alt"], O3 = /* @__PURE__ */ J({
20244
+ }), x3 = /* @__PURE__ */ O(N3, [["__scopeId", "data-v-1437d867"]]), T3 = ["src", "alt"], E3 = { class: "image-message__text-container" }, j3 = { key: 0 }, S3 = ["innerHTML"], V3 = ["src", "alt"], O3 = /* @__PURE__ */ J({
20228
20245
  __name: "ReplyImageMessage",
20229
20246
  props: {
20230
20247
  message: {
@@ -20274,7 +20291,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20274
20291
  default: Z(() => [
20275
20292
  f.value ? (l(), U(Kt, {
20276
20293
  key: 0,
20277
- "data-theme": N(n)().theme ? N(n)().theme : "light",
20294
+ "data-theme": D(n)().theme ? D(n)().theme : "light",
20278
20295
  onClose: u
20279
20296
  }, {
20280
20297
  default: Z(() => [
@@ -20383,7 +20400,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20383
20400
  default: Z(() => [
20384
20401
  i.value ? (l(), U(Kt, {
20385
20402
  key: 0,
20386
- "data-theme": N(n)().theme ? N(n)().theme : "light",
20403
+ "data-theme": D(n)().theme ? D(n)().theme : "light",
20387
20404
  onClose: c
20388
20405
  }, {
20389
20406
  default: Z(() => [
@@ -20483,14 +20500,14 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20483
20500
  }
20484
20501
  },
20485
20502
  setup(e) {
20486
- const t = e, n = Ma();
20503
+ const t = e, n = _a();
20487
20504
  return dt("chatAppId", n), dt("extChatAppId", t.extChatAppId ? t.extChatAppId : ""), (a, f) => (l(), r("div", {
20488
- id: N(n),
20505
+ id: D(n),
20489
20506
  class: "base"
20490
20507
  }, [
20491
20508
  o("div", {
20492
20509
  class: "base__container",
20493
- style: de({ height: e.height, width: e.width })
20510
+ style: ce({ height: e.height, width: e.width })
20494
20511
  }, [
20495
20512
  ie(a.$slots, "default")
20496
20513
  ], 4)
@@ -20522,18 +20539,18 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20522
20539
  },
20523
20540
  emits: ["close-window", "get-size"],
20524
20541
  setup(e, { emit: t }) {
20525
- const n = e, a = b({ x: 0, y: 0 }), f = b(null), i = b(null), s = b(!1), u = b(0), c = b(0), A = b(0), d = Ma();
20542
+ const n = e, a = b({ x: 0, y: 0 }), f = b(null), i = b(null), s = b(!1), u = b(0), c = b(0), A = b(0), d = _a();
20526
20543
  dt("chatAppId", d), dt("extChatAppId", n.extChatAppId ? n.extChatAppId : "");
20527
20544
  const g = (h) => {
20528
20545
  s.value = !0, u.value = h.clientX - f.value.offsetLeft, c.value = h.clientY - f.value.offsetTop;
20529
- }, p = () => s.value = !1, M = (h) => {
20546
+ }, p = () => s.value = !1, _ = (h) => {
20530
20547
  if (s.value) {
20531
20548
  const y = h.clientX - u.value, m = h.clientY - c.value;
20532
20549
  a.value.x = y, a.value.y = m;
20533
20550
  }
20534
20551
  };
20535
20552
  return me(() => {
20536
- document.addEventListener("mousemove", M), window.addEventListener("resize", () => {
20553
+ document.addEventListener("mousemove", _), window.addEventListener("resize", () => {
20537
20554
  f.value && (a.value.x = Math.max(
20538
20555
  0,
20539
20556
  Math.min(
@@ -20549,11 +20566,11 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20549
20566
  ));
20550
20567
  }), A.value = f.value.offsetHeight - i.value.offsetHeight;
20551
20568
  }), (h, y) => (l(), r("div", {
20552
- id: N(d),
20569
+ id: D(d),
20553
20570
  ref_key: "element",
20554
20571
  ref: f,
20555
20572
  class: "float-window",
20556
- style: de({
20573
+ style: ce({
20557
20574
  left: a.value.x + "px",
20558
20575
  top: a.value.y + "px",
20559
20576
  userSelect: s.value ? "none" : "auto",
@@ -20590,7 +20607,7 @@ const Gd = /* @__PURE__ */ O(Kd, [["render", Jd]]), Xd = ["onClick", "onMouseent
20590
20607
  ], 544),
20591
20608
  o("div", {
20592
20609
  class: "float-window__content",
20593
- style: de({ height: A.value + "px" })
20610
+ style: ce({ height: A.value + "px" })
20594
20611
  }, [
20595
20612
  ie(h.$slots, "default")
20596
20613
  ], 4)
@@ -20608,29 +20625,29 @@ function h4(e, t) {
20608
20625
  ])
20609
20626
  ]);
20610
20627
  }
20611
- const vg = /* @__PURE__ */ O(d4, [["render", h4], ["__scopeId", "data-v-a907ea90"]]), v4 = {}, y4 = { class: "extend-layout__container" }, b4 = { class: "extend-layout__first-col" }, _4 = { class: "extend-layout__second-col" }, M4 = { class: "extend-layout__third-col" };
20628
+ const vg = /* @__PURE__ */ O(d4, [["render", h4], ["__scopeId", "data-v-a907ea90"]]), v4 = {}, y4 = { class: "extend-layout__container" }, b4 = { class: "extend-layout__first-col" }, M4 = { class: "extend-layout__second-col" }, _4 = { class: "extend-layout__third-col" };
20612
20629
  function w4(e, t) {
20613
20630
  return l(), r("div", y4, [
20614
20631
  o("div", b4, [
20615
20632
  ie(e.$slots, "first-col", {}, void 0, !0)
20616
20633
  ]),
20617
- o("div", _4, [
20634
+ o("div", M4, [
20618
20635
  ie(e.$slots, "second-col", {}, void 0, !0)
20619
20636
  ]),
20620
- o("div", M4, [
20637
+ o("div", _4, [
20621
20638
  ie(e.$slots, "third-col", {}, void 0, !0)
20622
20639
  ])
20623
20640
  ]);
20624
20641
  }
20625
20642
  const yg = /* @__PURE__ */ O(v4, [["render", w4], ["__scopeId", "data-v-f95ba720"]]), C4 = {}, I4 = { class: "base-layout__container" }, k4 = { class: "base-layout__first-col" };
20626
- function N4(e, t) {
20643
+ function D4(e, t) {
20627
20644
  return l(), r("div", I4, [
20628
20645
  o("div", k4, [
20629
20646
  ie(e.$slots, "default", {}, void 0, !0)
20630
20647
  ])
20631
20648
  ]);
20632
20649
  }
20633
- const bg = /* @__PURE__ */ O(C4, [["render", N4], ["__scopeId", "data-v-08603b18"]]), D4 = ["id"], x4 = {
20650
+ const bg = /* @__PURE__ */ O(C4, [["render", D4], ["__scopeId", "data-v-08603b18"]]), N4 = ["id"], x4 = {
20634
20651
  key: 0,
20635
20652
  class: "chat-wrapper__selected-chat"
20636
20653
  }, T4 = {
@@ -20663,7 +20680,7 @@ const bg = /* @__PURE__ */ O(C4, [["render", N4], ["__scopeId", "data-v-08603b18
20663
20680
  setup(e) {
20664
20681
  const t = se("chatAppId");
20665
20682
  return (n, a) => (l(), r("div", {
20666
- id: "chat-wrapper-" + N(t),
20683
+ id: "chat-wrapper-" + D(t),
20667
20684
  class: j(["chat-wrapper", e.applyStyle()])
20668
20685
  }, [
20669
20686
  e.isSelectedChat ? (l(), r("div", x4, [
@@ -20676,9 +20693,9 @@ const bg = /* @__PURE__ */ O(C4, [["render", N4], ["__scopeId", "data-v-08603b18
20676
20693
  e.isOpenChatPanel ? (l(), r("div", j4, [
20677
20694
  ie(n.$slots, "chatpanel", {}, void 0, !0)
20678
20695
  ])) : v("", !0)
20679
- ], 10, D4));
20696
+ ], 10, N4));
20680
20697
  }
20681
- }), _g = /* @__PURE__ */ O(S4, [["__scopeId", "data-v-078d85ee"]]), V4 = ["id"], O4 = ["id"], z4 = ["id"], L4 = ["id"], U4 = {
20698
+ }), Mg = /* @__PURE__ */ O(S4, [["__scopeId", "data-v-078d85ee"]]), V4 = ["id"], O4 = ["id"], z4 = ["id"], L4 = ["id"], U4 = {
20682
20699
  __name: "AdaptiveExtendedLayout",
20683
20700
  props: {
20684
20701
  isSecondColVisible: {
@@ -20710,31 +20727,31 @@ const bg = /* @__PURE__ */ O(C4, [["render", N4], ["__scopeId", "data-v-08603b18
20710
20727
  const i = document.getElementById("extern-layout-container-" + n), s = document.getElementById("extend-layout-first-col-" + n);
20711
20728
  i.style.setProperty("--chotto-adaptive-extended-layout-first-col-width", s.offsetWidth + "px");
20712
20729
  }), (i, s) => (l(), r("div", {
20713
- id: "extern-layout-container-" + N(n),
20730
+ id: "extern-layout-container-" + D(n),
20714
20731
  ref: "refContainer",
20715
20732
  class: "extend-layout__container"
20716
20733
  }, [
20717
20734
  o("div", {
20718
- id: "extend-layout-first-col-" + N(n),
20735
+ id: "extend-layout-first-col-" + D(n),
20719
20736
  class: "extend-layout__first-col"
20720
20737
  }, [
20721
20738
  ie(i.$slots, "first-col", {}, void 0, !0)
20722
20739
  ], 8, O4),
20723
20740
  o("div", {
20724
- id: "extend-layout-second-col-" + N(n),
20741
+ id: "extend-layout-second-col-" + D(n),
20725
20742
  class: "extend-layout__second-col"
20726
20743
  }, [
20727
20744
  ie(i.$slots, "second-col", {}, void 0, !0)
20728
20745
  ], 8, z4),
20729
20746
  o("div", {
20730
- id: "extend-layout-third-col-" + N(n),
20747
+ id: "extend-layout-third-col-" + D(n),
20731
20748
  class: "extend-layout__third-col"
20732
20749
  }, [
20733
20750
  ie(i.$slots, "third-col", {}, void 0, !0)
20734
20751
  ], 8, L4)
20735
20752
  ], 8, V4));
20736
20753
  }
20737
- }, Mg = /* @__PURE__ */ O(U4, [["__scopeId", "data-v-98032f1b"]]);
20754
+ }, _g = /* @__PURE__ */ O(U4, [["__scopeId", "data-v-98032f1b"]]);
20738
20755
  export {
20739
20756
  yg as $,
20740
20757
  U2 as A,
@@ -20764,15 +20781,15 @@ export {
20764
20781
  hg as Y,
20765
20782
  vg as Z,
20766
20783
  O as _,
20767
- d1 as a,
20768
- Mg as a0,
20784
+ gf as a,
20785
+ _g as a0,
20769
20786
  bg as a1,
20770
- _g as a2,
20787
+ Mg as a2,
20771
20788
  gg as a3,
20772
20789
  pd as a4,
20773
20790
  bd as a5,
20774
20791
  Cd as a6,
20775
- Dd as a7,
20792
+ Nd as a7,
20776
20793
  jd as a8,
20777
20794
  zd as a9,
20778
20795
  $d as aa,
@@ -20783,7 +20800,7 @@ export {
20783
20800
  J4 as af,
20784
20801
  G4 as ag,
20785
20802
  X4 as ah,
20786
- T1 as ai,
20803
+ Ef as ai,
20787
20804
  wt as aj,
20788
20805
  Ct as ak,
20789
20806
  z3 as b,
@@ -20805,7 +20822,7 @@ export {
20805
20822
  ia as r,
20806
20823
  bo as s,
20807
20824
  Wn as t,
20808
- Nl as u,
20825
+ Dl as u,
20809
20826
  ng as v,
20810
20827
  ag as w,
20811
20828
  It as x,