@mobilon-dev/chotto 0.0.117 → 0.0.118

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- import { inject as te, computed as $, createElementBlock as u, createCommentVNode as p, openBlock as l, createElementVNode as o, toDisplayString as E, renderSlot as fe, unref as N, ref as y, customRef as ta, useId as Xn, onMounted as oe, nextTick as $e, onUnmounted as Je, createBlock as U, Teleport as ue, createVNode as W, defineComponent as K, useTemplateRef as ef, watch as ee, withDirectives as ce, withCtx as Z, normalizeClass as j, withKeys as tf, vModelText as ot, Fragment as H, renderList as ae, Transition as ne, normalizeStyle as re, resolveDynamicComponent as na, vShow as Ke, toRef as Qa, vModelRadio as fa, reactive as aa, provide as In, getCurrentInstance as $a, toRaw as sa, onBeforeUnmount as Ya, readonly as Pa, resolveComponent as Pt, h as Vf, defineAsyncComponent as Fa, createApp as qa, withModifiers as Nt } from "vue";
2
- const Ha = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", Wa = "ελ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", et = (e, t) => {
1
+ import { inject as te, computed as $, createElementBlock as u, createCommentVNode as p, openBlock as l, createElementVNode as o, toDisplayString as E, renderSlot as fe, unref as N, ref as v, customRef as ta, useId as Xn, onMounted as oe, nextTick as $e, onUnmounted as Je, createBlock as B, Teleport as ue, createVNode as W, defineComponent as K, useTemplateRef as ef, watch as ee, withDirectives as ce, withCtx as Z, normalizeClass as V, withKeys as tf, vModelText as lt, Fragment as H, renderList as ae, Transition as ne, normalizeStyle as re, resolveDynamicComponent as na, vShow as Ke, toRef as Qa, vModelRadio as fa, reactive as aa, provide as et, getCurrentInstance as $a, toRaw as sa, onBeforeUnmount as Ya, readonly as Pa, resolveComponent as Ft, h as Vf, defineAsyncComponent as Fa, createApp as qa, withModifiers as Dt } from "vue";
2
+ const Ha = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", Wa = "ελ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", tt = (e, t) => {
3
3
  for (const n in t)
4
4
  e[n] = t[n];
5
5
  return e;
6
- }, $n = "numeric", Yn = "ascii", Pn = "alpha", vt = "asciinumeric", ht = "alphanumeric", Fn = "domain", ia = "emoji", Ka = "scheme", Ja = "slashscheme", Vn = "whitespace";
6
+ }, $n = "numeric", Yn = "ascii", Pn = "alpha", yt = "asciinumeric", vt = "alphanumeric", Fn = "domain", ia = "emoji", Ka = "scheme", Ja = "slashscheme", Vn = "whitespace";
7
7
  function Ga(e, t) {
8
8
  return e in t || (t[e] = []), t[e];
9
9
  }
10
10
  function He(e, t, n) {
11
- t[$n] && (t[vt] = !0, t[ht] = !0), t[Yn] && (t[vt] = !0, t[Pn] = !0), t[vt] && (t[ht] = !0), t[Pn] && (t[ht] = !0), t[ht] && (t[Fn] = !0), t[ia] && (t[Fn] = !0);
11
+ t[$n] && (t[yt] = !0, t[vt] = !0), t[Yn] && (t[yt] = !0, t[Pn] = !0), t[yt] && (t[vt] = !0), t[Pn] && (t[vt] = !0), t[vt] && (t[Fn] = !0), t[ia] && (t[Fn] = !0);
12
12
  for (const f in t) {
13
13
  const a = Ga(f, n);
14
14
  a.indexOf(e) < 0 && a.push(e);
@@ -133,10 +133,10 @@ he.prototype = {
133
133
  return a.j[e] = t, t;
134
134
  const s = t;
135
135
  let i, r = a.go(e);
136
- if (r ? (i = new he(), et(i.j, r.j), i.jr.push.apply(i.jr, r.jr), i.jd = r.jd, i.t = r.t) : i = new he(), s) {
136
+ if (r ? (i = new he(), tt(i.j, r.j), i.jr.push.apply(i.jr, r.jr), i.jd = r.jd, i.t = r.t) : i = new he(), s) {
137
137
  if (f)
138
138
  if (i.t && typeof i.t == "string") {
139
- const c = et(Za(i.t, f), n);
139
+ const c = tt(Za(i.t, f), n);
140
140
  He(s, c, f);
141
141
  } else n && He(s, n, f);
142
142
  i.t = s;
@@ -144,89 +144,89 @@ he.prototype = {
144
144
  return a.j[e] = i, i;
145
145
  }
146
146
  };
147
- const q = (e, t, n, f, a) => e.ta(t, n, f, a), se = (e, t, n, f, a) => e.tr(t, n, f, a), Sf = (e, t, n, f, a) => e.ts(t, n, f, a), D = (e, t, n, f, a) => e.tt(t, n, f, a), Oe = "WORD", qn = "UWORD", oa = "ASCIINUMERICAL", la = "ALPHANUMERICAL", Dt = "LOCALHOST", Hn = "TLD", Wn = "UTLD", Ft = "SCHEME", Xe = "SLASH_SCHEME", nf = "NUM", Kn = "WS", ff = "NL", yt = "OPENBRACE", bt = "CLOSEBRACE", Wt = "OPENBRACKET", Kt = "CLOSEBRACKET", Jt = "OPENPAREN", Gt = "CLOSEPAREN", Zt = "OPENANGLEBRACKET", Xt = "CLOSEANGLEBRACKET", en = "FULLWIDTHLEFTPAREN", tn = "FULLWIDTHRIGHTPAREN", nn = "LEFTCORNERBRACKET", fn = "RIGHTCORNERBRACKET", an = "LEFTWHITECORNERBRACKET", sn = "RIGHTWHITECORNERBRACKET", on = "FULLWIDTHLESSTHAN", ln = "FULLWIDTHGREATERTHAN", rn = "AMPERSAND", af = "APOSTROPHE", An = "ASTERISK", Be = "AT", cn = "BACKSLASH", un = "BACKTICK", dn = "CARET", Re = "COLON", sf = "COMMA", gn = "DOLLAR", Ee = "DOT", mn = "EQUALS", of = "EXCLAMATION", be = "HYPHEN", Mt = "PERCENT", pn = "PIPE", hn = "PLUS", vn = "POUND", _t = "QUERY", lf = "QUOTE", ra = "FULLWIDTHMIDDLEDOT", rf = "SEMI", Te = "SLASH", It = "TILDE", yn = "UNDERSCORE", Aa = "EMOJI", bn = "SYM";
147
+ const q = (e, t, n, f, a) => e.ta(t, n, f, a), se = (e, t, n, f, a) => e.tr(t, n, f, a), Sf = (e, t, n, f, a) => e.ts(t, n, f, a), D = (e, t, n, f, a) => e.tt(t, n, f, a), Oe = "WORD", qn = "UWORD", oa = "ASCIINUMERICAL", la = "ALPHANUMERICAL", Et = "LOCALHOST", Hn = "TLD", Wn = "UTLD", qt = "SCHEME", Xe = "SLASH_SCHEME", nf = "NUM", Kn = "WS", ff = "NL", bt = "OPENBRACE", Mt = "CLOSEBRACE", Kt = "OPENBRACKET", Jt = "CLOSEBRACKET", Gt = "OPENPAREN", Zt = "CLOSEPAREN", Xt = "OPENANGLEBRACKET", en = "CLOSEANGLEBRACKET", tn = "FULLWIDTHLEFTPAREN", nn = "FULLWIDTHRIGHTPAREN", fn = "LEFTCORNERBRACKET", an = "RIGHTCORNERBRACKET", sn = "LEFTWHITECORNERBRACKET", on = "RIGHTWHITECORNERBRACKET", ln = "FULLWIDTHLESSTHAN", rn = "FULLWIDTHGREATERTHAN", An = "AMPERSAND", af = "APOSTROPHE", cn = "ASTERISK", Be = "AT", un = "BACKSLASH", dn = "BACKTICK", gn = "CARET", Re = "COLON", sf = "COMMA", mn = "DOLLAR", Ee = "DOT", pn = "EQUALS", of = "EXCLAMATION", be = "HYPHEN", _t = "PERCENT", hn = "PIPE", vn = "PLUS", yn = "POUND", It = "QUERY", lf = "QUOTE", ra = "FULLWIDTHMIDDLEDOT", rf = "SEMI", Te = "SLASH", wt = "TILDE", bn = "UNDERSCORE", Aa = "EMOJI", Mn = "SYM";
148
148
  var ca = /* @__PURE__ */ Object.freeze({
149
149
  __proto__: null,
150
150
  WORD: Oe,
151
151
  UWORD: qn,
152
152
  ASCIINUMERICAL: oa,
153
153
  ALPHANUMERICAL: la,
154
- LOCALHOST: Dt,
154
+ LOCALHOST: Et,
155
155
  TLD: Hn,
156
156
  UTLD: Wn,
157
- SCHEME: Ft,
157
+ SCHEME: qt,
158
158
  SLASH_SCHEME: Xe,
159
159
  NUM: nf,
160
160
  WS: Kn,
161
161
  NL: ff,
162
- OPENBRACE: yt,
163
- CLOSEBRACE: bt,
164
- OPENBRACKET: Wt,
165
- CLOSEBRACKET: Kt,
166
- OPENPAREN: Jt,
167
- CLOSEPAREN: Gt,
168
- OPENANGLEBRACKET: Zt,
169
- CLOSEANGLEBRACKET: Xt,
170
- FULLWIDTHLEFTPAREN: en,
171
- FULLWIDTHRIGHTPAREN: tn,
172
- LEFTCORNERBRACKET: nn,
173
- RIGHTCORNERBRACKET: fn,
174
- LEFTWHITECORNERBRACKET: an,
175
- RIGHTWHITECORNERBRACKET: sn,
176
- FULLWIDTHLESSTHAN: on,
177
- FULLWIDTHGREATERTHAN: ln,
178
- AMPERSAND: rn,
162
+ OPENBRACE: bt,
163
+ CLOSEBRACE: Mt,
164
+ OPENBRACKET: Kt,
165
+ CLOSEBRACKET: Jt,
166
+ OPENPAREN: Gt,
167
+ CLOSEPAREN: Zt,
168
+ OPENANGLEBRACKET: Xt,
169
+ CLOSEANGLEBRACKET: en,
170
+ FULLWIDTHLEFTPAREN: tn,
171
+ FULLWIDTHRIGHTPAREN: nn,
172
+ LEFTCORNERBRACKET: fn,
173
+ RIGHTCORNERBRACKET: an,
174
+ LEFTWHITECORNERBRACKET: sn,
175
+ RIGHTWHITECORNERBRACKET: on,
176
+ FULLWIDTHLESSTHAN: ln,
177
+ FULLWIDTHGREATERTHAN: rn,
178
+ AMPERSAND: An,
179
179
  APOSTROPHE: af,
180
- ASTERISK: An,
180
+ ASTERISK: cn,
181
181
  AT: Be,
182
- BACKSLASH: cn,
183
- BACKTICK: un,
184
- CARET: dn,
182
+ BACKSLASH: un,
183
+ BACKTICK: dn,
184
+ CARET: gn,
185
185
  COLON: Re,
186
186
  COMMA: sf,
187
- DOLLAR: gn,
187
+ DOLLAR: mn,
188
188
  DOT: Ee,
189
- EQUALS: mn,
189
+ EQUALS: pn,
190
190
  EXCLAMATION: of,
191
191
  HYPHEN: be,
192
- PERCENT: Mt,
193
- PIPE: pn,
194
- PLUS: hn,
195
- POUND: vn,
196
- QUERY: _t,
192
+ PERCENT: _t,
193
+ PIPE: hn,
194
+ PLUS: vn,
195
+ POUND: yn,
196
+ QUERY: It,
197
197
  QUOTE: lf,
198
198
  FULLWIDTHMIDDLEDOT: ra,
199
199
  SEMI: rf,
200
200
  SLASH: Te,
201
- TILDE: It,
202
- UNDERSCORE: yn,
201
+ TILDE: wt,
202
+ UNDERSCORE: bn,
203
203
  EMOJI: Aa,
204
- SYM: bn
204
+ SYM: Mn
205
205
  });
206
- const Se = /[a-z]/, dt = new RegExp("\\p{L}", "u"), Sn = new RegExp("\\p{Emoji}", "u"), Ce = /\d/, Cn = /\s/, Cf = "\r", On = `
206
+ const Se = /[a-z]/, gt = new RegExp("\\p{L}", "u"), Sn = new RegExp("\\p{Emoji}", "u"), Ce = /\d/, Cn = /\s/, Cf = "\r", On = `
207
207
  `, Xa = "️", es = "‍", zn = "";
208
- let Bt = null, Rt = null;
208
+ let Rt = null, Qt = null;
209
209
  function ts(e = []) {
210
210
  const t = {};
211
211
  he.groups = t;
212
212
  const n = new he();
213
- Bt == null && (Bt = Of(Ha)), Rt == null && (Rt = Of(Wa)), D(n, "'", af), D(n, "{", yt), D(n, "}", bt), D(n, "[", Wt), D(n, "]", Kt), D(n, "(", Jt), D(n, ")", Gt), D(n, "<", Zt), D(n, ">", Xt), D(n, "(", en), D(n, ")", tn), D(n, "「", nn), D(n, "」", fn), D(n, "『", an), D(n, "』", sn), D(n, "<", on), D(n, ">", ln), D(n, "&", rn), D(n, "*", An), D(n, "@", Be), D(n, "`", un), D(n, "^", dn), D(n, ":", Re), D(n, ",", sf), D(n, "$", gn), D(n, ".", Ee), D(n, "=", mn), D(n, "!", of), D(n, "-", be), D(n, "%", Mt), D(n, "|", pn), D(n, "+", hn), D(n, "#", vn), D(n, "?", _t), D(n, '"', lf), D(n, "/", Te), D(n, ";", rf), D(n, "~", It), D(n, "_", yn), D(n, "\\", cn), D(n, "・", ra);
213
+ Rt == null && (Rt = Of(Ha)), Qt == null && (Qt = Of(Wa)), D(n, "'", af), D(n, "{", bt), D(n, "}", Mt), D(n, "[", Kt), D(n, "]", Jt), D(n, "(", Gt), D(n, ")", Zt), D(n, "<", Xt), D(n, ">", en), D(n, "(", tn), D(n, ")", nn), D(n, "「", fn), D(n, "」", an), D(n, "『", sn), D(n, "』", on), D(n, "<", ln), D(n, ">", rn), D(n, "&", An), D(n, "*", cn), D(n, "@", Be), D(n, "`", dn), D(n, "^", gn), D(n, ":", Re), D(n, ",", sf), D(n, "$", mn), D(n, ".", Ee), D(n, "=", pn), D(n, "!", of), D(n, "-", be), D(n, "%", _t), D(n, "|", hn), D(n, "+", vn), D(n, "#", yn), D(n, "?", It), D(n, '"', lf), D(n, "/", Te), D(n, ";", rf), D(n, "~", wt), D(n, "_", bn), D(n, "\\", un), D(n, "・", ra);
214
214
  const f = se(n, Ce, nf, {
215
215
  [$n]: !0
216
216
  });
217
217
  se(f, Ce, f);
218
218
  const a = se(f, Se, oa, {
219
+ [yt]: !0
220
+ }), s = se(f, gt, la, {
219
221
  [vt]: !0
220
- }), s = se(f, dt, la, {
221
- [ht]: !0
222
222
  }), i = se(n, Se, Oe, {
223
223
  [Yn]: !0
224
224
  });
225
225
  se(i, Ce, a), se(i, Se, i), se(a, Ce, a), se(a, Se, a);
226
- const r = se(n, dt, qn, {
226
+ const r = se(n, gt, qn, {
227
227
  [Pn]: !0
228
228
  });
229
- se(r, Se), se(r, Ce, s), se(r, dt, r), se(s, Ce, s), se(s, Se), se(s, dt, s);
229
+ se(r, Se), se(r, Ce, s), se(r, gt, r), se(s, Ce, s), se(s, Se), se(s, gt, s);
230
230
  const c = D(n, On, ff, {
231
231
  [Vn]: !0
232
232
  }), A = D(n, Cf, Kn, {
@@ -241,37 +241,37 @@ function ts(e = []) {
241
241
  D(g, "#"), se(g, Sn, g), D(g, Xa, g);
242
242
  const m = D(g, es);
243
243
  D(m, "#"), se(m, Sn, g);
244
- const M = [[Se, i], [Ce, a]], _ = [[Se, null], [dt, r], [Ce, s]];
245
- for (let v = 0; v < Bt.length; v++)
246
- Ue(n, Bt[v], Hn, Oe, M);
247
- for (let v = 0; v < Rt.length; v++)
248
- Ue(n, Rt[v], Wn, qn, _);
244
+ const b = [[Se, i], [Ce, a]], I = [[Se, null], [gt, r], [Ce, s]];
245
+ for (let h = 0; h < Rt.length; h++)
246
+ Ue(n, Rt[h], Hn, Oe, b);
247
+ for (let h = 0; h < Qt.length; h++)
248
+ Ue(n, Qt[h], Wn, qn, I);
249
249
  He(Hn, {
250
250
  tld: !0,
251
251
  ascii: !0
252
252
  }, t), He(Wn, {
253
253
  utld: !0,
254
254
  alpha: !0
255
- }, t), Ue(n, "file", Ft, Oe, M), Ue(n, "mailto", Ft, Oe, M), Ue(n, "http", Xe, Oe, M), Ue(n, "https", Xe, Oe, M), Ue(n, "ftp", Xe, Oe, M), Ue(n, "ftps", Xe, Oe, M), He(Ft, {
255
+ }, t), Ue(n, "file", qt, Oe, b), Ue(n, "mailto", qt, Oe, b), Ue(n, "http", Xe, Oe, b), Ue(n, "https", Xe, Oe, b), Ue(n, "ftp", Xe, Oe, b), Ue(n, "ftps", Xe, Oe, b), He(qt, {
256
256
  scheme: !0,
257
257
  ascii: !0
258
258
  }, t), He(Xe, {
259
259
  slashscheme: !0,
260
260
  ascii: !0
261
- }, t), e = e.sort((v, k) => v[0] > k[0] ? 1 : -1);
262
- for (let v = 0; v < e.length; v++) {
263
- const k = e[v][0], b = e[v][1] ? {
261
+ }, t), e = e.sort((h, k) => h[0] > k[0] ? 1 : -1);
262
+ for (let h = 0; h < e.length; h++) {
263
+ const k = e[h][0], y = e[h][1] ? {
264
264
  [Ka]: !0
265
265
  } : {
266
266
  [Ja]: !0
267
267
  };
268
- k.indexOf("-") >= 0 ? b[Fn] = !0 : Se.test(k) ? Ce.test(k) ? b[vt] = !0 : b[Yn] = !0 : b[$n] = !0, Sf(n, k, k, b);
268
+ k.indexOf("-") >= 0 ? y[Fn] = !0 : Se.test(k) ? Ce.test(k) ? y[yt] = !0 : y[Yn] = !0 : y[$n] = !0, Sf(n, k, k, y);
269
269
  }
270
- return Sf(n, "localhost", Dt, {
270
+ return Sf(n, "localhost", Et, {
271
271
  ascii: !0
272
- }), n.jd = new he(bn), {
272
+ }), n.jd = new he(Mn), {
273
273
  start: n,
274
- tokens: et({
274
+ tokens: tt({
275
275
  groups: t
276
276
  }, ca)
277
277
  };
@@ -331,7 +331,7 @@ function Of(e) {
331
331
  }
332
332
  return t;
333
333
  }
334
- const Et = {
334
+ const Tt = {
335
335
  defaultProtocol: "http",
336
336
  events: null,
337
337
  format: zf,
@@ -348,15 +348,15 @@ const Et = {
348
348
  render: null
349
349
  };
350
350
  function Af(e, t = null) {
351
- let n = et({}, Et);
352
- e && (n = et(n, e instanceof Af ? e.o : e));
351
+ let n = tt({}, Tt);
352
+ e && (n = tt(n, e instanceof Af ? e.o : e));
353
353
  const f = n.ignoreTags, a = [];
354
354
  for (let s = 0; s < f.length; s++)
355
355
  a.push(f[s].toUpperCase());
356
356
  this.o = n, t && (this.defaultRender = t), this.ignoreTags = a;
357
357
  }
358
358
  Af.prototype = {
359
- o: Et,
359
+ o: Tt,
360
360
  /**
361
361
  * @type string[]
362
362
  */
@@ -392,7 +392,7 @@ Af.prototype = {
392
392
  get(e, t, n) {
393
393
  const f = t != null;
394
394
  let a = this.o[e];
395
- return a && (typeof a == "object" ? (a = n.t in a ? a[n.t] : Et[e], typeof a == "function" && f && (a = a(t, n))) : typeof a == "function" && f && (a = a(t, n.t, n)), a);
395
+ return a && (typeof a == "object" ? (a = n.t in a ? a[n.t] : Tt[e], typeof a == "function" && f && (a = a(t, n))) : typeof a == "function" && f && (a = a(t, n.t, n)), a);
396
396
  },
397
397
  /**
398
398
  * @template {keyof Opts} L
@@ -481,7 +481,7 @@ da.prototype = {
481
481
  @method toObject
482
482
  @param {string} [protocol] `'http'` by default
483
483
  */
484
- toObject(e = Et.defaultProtocol) {
484
+ toObject(e = Tt.defaultProtocol) {
485
485
  return {
486
486
  type: this.t,
487
487
  value: this.toString(),
@@ -519,7 +519,7 @@ da.prototype = {
519
519
  */
520
520
  render(e) {
521
521
  const t = this, n = this.toHref(e.get("defaultProtocol")), f = e.get("formatHref", n, this), a = e.get("tagName", n, t), s = this.toFormattedString(e), i = {}, r = e.get("className", n, t), c = e.get("target", n, t), A = e.get("rel", n, t), d = e.getObj("attributes", n, t), g = e.getObj("events", n, t);
522
- return i.href = f, r && (i.class = r), c && (i.target = c), A && (i.rel = A), d && et(i, d), {
522
+ return i.href = f, r && (i.class = r), c && (i.target = c), A && (i.rel = A), d && tt(i, d), {
523
523
  tagName: a,
524
524
  attributes: i,
525
525
  content: s,
@@ -542,7 +542,7 @@ const Lf = wn("email", {
542
542
  toHref() {
543
543
  return "mailto:" + this.toString();
544
544
  }
545
- }), Uf = wn("text"), fs = wn("nl"), Qt = wn("url", {
545
+ }), Uf = wn("text"), fs = wn("nl"), $t = wn("url", {
546
546
  isLink: !0,
547
547
  /**
548
548
  Lowercases relevant parts of the domain and adds the protocol if
@@ -551,7 +551,7 @@ const Lf = wn("email", {
551
551
  @param {string} [scheme] default scheme (e.g., 'https')
552
552
  @return {string} the full href
553
553
  */
554
- toHref(e = Et.defaultProtocol) {
554
+ toHref(e = Tt.defaultProtocol) {
555
555
  return this.hasProtocol() ? this.v : `${e}://${this.v}`;
556
556
  },
557
557
  /**
@@ -560,13 +560,13 @@ const Lf = wn("email", {
560
560
  */
561
561
  hasProtocol() {
562
562
  const e = this.tk;
563
- return e.length >= 2 && e[0].t !== Dt && e[1].t === Re;
563
+ return e.length >= 2 && e[0].t !== Et && e[1].t === Re;
564
564
  }
565
565
  }), ye = (e) => new he(e);
566
566
  function as({
567
567
  groups: e
568
568
  }) {
569
- const t = e.domain.concat([rn, An, Be, cn, un, dn, gn, mn, be, nf, Mt, pn, hn, vn, Te, bn, It, yn]), n = [Re, sf, Ee, of, Mt, _t, lf, rf, Zt, Xt, yt, bt, Kt, Wt, Jt, Gt, en, tn, nn, fn, an, sn, on, ln], f = [rn, af, An, cn, un, dn, gn, mn, be, yt, bt, Mt, pn, hn, vn, _t, Te, bn, It, yn], a = ye(), s = D(a, It);
569
+ const t = e.domain.concat([An, cn, Be, un, dn, gn, mn, pn, be, nf, _t, hn, vn, yn, Te, Mn, wt, bn]), n = [Re, sf, Ee, of, _t, It, lf, rf, Xt, en, bt, Mt, Jt, Kt, Gt, Zt, tn, nn, fn, an, sn, on, ln, rn], f = [An, af, cn, un, dn, gn, mn, pn, be, bt, Mt, _t, hn, vn, yn, It, Te, Mn, wt, bn], a = ye(), s = D(a, wt);
570
570
  q(s, f, s), q(s, e.domain, s);
571
571
  const i = ye(), r = ye(), c = ye();
572
572
  q(a, e.domain, i), q(a, e.scheme, r), q(a, e.slashscheme, c), q(i, f, s), q(i, e.domain, i);
@@ -578,49 +578,49 @@ function as({
578
578
  q(A, e.domain, g), q(g, e.domain, g);
579
579
  const m = D(g, Ee);
580
580
  q(m, e.domain, g);
581
- const M = ye(Lf);
582
- q(m, e.tld, M), q(m, e.utld, M), D(A, Dt, M);
583
- const _ = D(g, be);
584
- D(_, be, _), q(_, e.domain, g), q(M, e.domain, g), D(M, Ee, m), D(M, be, _);
585
- const v = D(M, Re);
586
- q(v, e.numeric, Lf);
587
- const k = D(i, be), T = D(i, Ee);
588
- D(k, be, k), q(k, e.domain, i), q(T, f, s), q(T, e.domain, i);
589
- const b = ye(Qt);
590
- q(T, e.tld, b), q(T, e.utld, b), q(b, e.domain, i), q(b, f, s), D(b, Ee, T), D(b, be, k), D(b, Be, A);
591
- const I = D(b, Re), h = ye(Qt);
592
- q(I, e.numeric, h);
593
- const w = ye(Qt), x = ye();
594
- q(w, t, w), q(w, n, x), q(x, t, w), q(x, n, x), D(b, Te, w), D(h, Te, w);
595
- const S = D(r, Re), B = D(c, Re), P = D(B, Te), Q = D(P, Te);
596
- q(r, e.domain, i), D(r, Ee, T), D(r, be, k), q(c, e.domain, i), D(c, Ee, T), D(c, be, k), q(S, e.domain, w), D(S, Te, w), D(S, _t, w), q(Q, e.domain, w), q(Q, t, w), D(Q, Te, w);
581
+ const b = ye(Lf);
582
+ q(m, e.tld, b), q(m, e.utld, b), D(A, Et, b);
583
+ const I = D(g, be);
584
+ D(I, be, I), q(I, e.domain, g), q(b, e.domain, g), D(b, Ee, m), D(b, be, I);
585
+ const h = D(b, Re);
586
+ q(h, e.numeric, Lf);
587
+ const k = D(i, be), x = D(i, Ee);
588
+ D(k, be, k), q(k, e.domain, i), q(x, f, s), q(x, e.domain, i);
589
+ const y = ye($t);
590
+ q(x, e.tld, y), q(x, e.utld, y), q(y, e.domain, i), q(y, f, s), D(y, Ee, x), D(y, be, k), D(y, Be, A);
591
+ const M = D(y, Re), w = ye($t);
592
+ q(M, e.numeric, w);
593
+ const _ = ye($t), j = ye();
594
+ q(_, t, _), q(_, n, j), q(j, t, _), q(j, n, j), D(y, Te, _), D(w, Te, _);
595
+ const T = D(r, Re), z = D(c, Re), P = D(z, Te), Q = D(P, Te);
596
+ q(r, e.domain, i), D(r, Ee, x), D(r, be, k), q(c, e.domain, i), D(c, Ee, x), D(c, be, k), q(T, e.domain, _), D(T, Te, _), D(T, It, _), q(Q, e.domain, _), q(Q, t, _), D(Q, Te, _);
597
597
  const Y = [
598
- [yt, bt],
598
+ [bt, Mt],
599
599
  // {}
600
- [Wt, Kt],
600
+ [Kt, Jt],
601
601
  // []
602
- [Jt, Gt],
602
+ [Gt, Zt],
603
603
  // ()
604
- [Zt, Xt],
604
+ [Xt, en],
605
605
  // <>
606
- [en, tn],
606
+ [tn, nn],
607
607
  // ()
608
- [nn, fn],
608
+ [fn, an],
609
609
  // 「」
610
- [an, sn],
610
+ [sn, on],
611
611
  // 『』
612
- [on, ln]
612
+ [ln, rn]
613
613
  // <>
614
614
  ];
615
615
  for (let C = 0; C < Y.length; C++) {
616
- const [O, X] = Y[C], z = D(w, O);
617
- D(x, O, z), D(z, X, w);
618
- const L = ye(Qt);
619
- q(z, t, L);
616
+ const [O, X] = Y[C], L = D(_, O);
617
+ D(j, O, L), D(L, X, _);
618
+ const U = ye($t);
619
+ q(L, t, U);
620
620
  const J = ye();
621
- q(z, n), q(L, t, L), q(L, n, J), q(J, t, L), q(J, n, J), D(L, X, w), D(J, X, w);
621
+ q(L, n), q(U, t, U), q(U, n, J), q(J, t, U), q(J, n, J), D(U, X, _), D(J, X, _);
622
622
  }
623
- return D(a, Dt, b), D(a, ff, fs), {
623
+ return D(a, Et, y), D(a, ff, fs), {
624
624
  start: a,
625
625
  tokens: ca
626
626
  };
@@ -637,8 +637,8 @@ function ss(e, t, n) {
637
637
  a -= d, a < f && (i.push(n[a]), a++);
638
638
  else {
639
639
  i.length > 0 && (s.push(Ln(Uf, t, i)), i = []), a -= m, d -= m;
640
- const M = g.t, _ = n.slice(a - d, a);
641
- s.push(Ln(M, t, _));
640
+ const b = g.t, I = n.slice(a - d, a);
641
+ s.push(Ln(b, t, I));
642
642
  }
643
643
  }
644
644
  return i.length > 0 && s.push(Ln(Uf, t, i)), s;
@@ -783,8 +783,8 @@ const R = (e, t) => {
783
783
  ], 8, ys)
784
784
  ])) : p("", !0);
785
785
  }
786
- }, Eg = /* @__PURE__ */ R(bs, [["__scopeId", "data-v-e17e50d3"]]), pe = y([]), we = (e) => {
787
- const t = y(0);
786
+ }, Eg = /* @__PURE__ */ R(bs, [["__scopeId", "data-v-6598a82f"]]), pe = v([]), we = (e) => {
787
+ const t = v(0);
788
788
  let n = pe.value.find(({ id: m }) => m == e);
789
789
  n != null ? t.value = pe.value.indexOf(n) : (pe.value.push({
790
790
  id: e,
@@ -901,7 +901,7 @@ const R = (e, t) => {
901
901
  name: "Pусский",
902
902
  flag: "russian"
903
903
  }
904
- ], Bf = y(pa[1]);
904
+ ], Bf = v(pa[1]);
905
905
  let Is = {
906
906
  ru: Ms,
907
907
  en: _s
@@ -955,75 +955,75 @@ const Ns = ["id"], kn = {
955
955
  },
956
956
  emits: ["click", "buttonClick", "menuMouseEnter", "menuMouseLeave"],
957
957
  setup(e, { expose: t, emit: n }) {
958
- const f = te("chatAppId"), a = e, s = Xn(), i = n, r = y(!1), c = y(), A = y(), d = y(!1), g = (h) => {
959
- b(), i("click", h);
960
- }, m = () => {
961
- a.disabled || (a.mode == "click" && !d.value ? T() : a.mode == "click" && d.value && b(), i("buttonClick"));
962
- }, M = () => {
963
- a.disabled || a.mode == "hover" && T();
964
- }, _ = () => {
965
- a.disabled || a.mode == "hover" && b();
966
- }, v = () => {
967
- i("menuMouseEnter"), a.disabled || a.mode == "hover" && T();
958
+ const f = te("chatAppId"), a = te("extChatAppId"), s = e, i = Xn(), r = n, c = v(!1), A = v(), d = v(), g = v(!1), m = (_) => {
959
+ M(), r("click", _);
960
+ }, b = () => {
961
+ s.disabled || (s.mode == "click" && !g.value ? y() : s.mode == "click" && g.value && M(), r("buttonClick"));
962
+ }, I = () => {
963
+ s.disabled || s.mode == "hover" && y();
964
+ }, h = () => {
965
+ s.disabled || s.mode == "hover" && M();
968
966
  }, k = () => {
969
- i("menuMouseLeave"), a.disabled || a.mode == "hover" && b();
970
- }, T = () => {
971
- if (A.value && c.value) {
972
- const h = c.value, w = A.value.getBoundingClientRect();
973
- h.style.display = "inherit";
974
- const x = c.value.getBoundingClientRect();
975
- h.style.display = "none", $e(() => {
976
- const S = {
977
- left: { top: w.top - (x.height - w.height) / 2 - x.top, left: w.left - x.width - x.left },
978
- right: { top: w.top - (x.height - w.height) / 2 - x.top, left: w.left + w.width - x.left },
979
- bottom: { top: (w == null ? void 0 : w.bottom) - x.top, left: (w == null ? void 0 : w.left) - (x.width - w.width) / 2 - x.left },
980
- top: { top: w.top - x.height - x.top, left: (w == null ? void 0 : w.left) - (x.width - w.width) / 2 - x.left }
967
+ r("menuMouseEnter"), s.disabled || s.mode == "hover" && y();
968
+ }, x = () => {
969
+ r("menuMouseLeave"), s.disabled || s.mode == "hover" && M();
970
+ }, y = () => {
971
+ if (d.value && A.value) {
972
+ const _ = A.value, j = d.value.getBoundingClientRect();
973
+ _.style.display = "inherit";
974
+ const T = A.value.getBoundingClientRect();
975
+ _.style.display = "none", $e(() => {
976
+ const z = {
977
+ left: { top: j.top - (T.height - j.height) / 2 - T.top, left: j.left - T.width - T.left },
978
+ right: { top: j.top - (T.height - j.height) / 2 - T.top, left: j.left + j.width - T.left },
979
+ bottom: { top: (j == null ? void 0 : j.bottom) - T.top, left: (j == null ? void 0 : j.left) - (T.width - j.width) / 2 - T.left },
980
+ top: { top: j.top - T.height - T.top, left: (j == null ? void 0 : j.left) - (T.width - j.width) / 2 - T.left }
981
981
  };
982
- h.style.top = S[a.menuSide].top + "px", h.style.left = S[a.menuSide].left + "px", h.style.opacity = "1", h.style.display = "inherit", d.value = !0;
982
+ _.style.top = z[s.menuSide].top + "px", _.style.left = z[s.menuSide].left + "px", _.style.opacity = "1", _.style.display = "inherit", g.value = !0;
983
983
  });
984
984
  }
985
- }, b = () => {
986
- if (c.value) {
987
- const h = c.value;
988
- h && (h.style.top = "0", h.style.left = "0", h.style.opacity = "0", h.style.display = "none", d.value = !1);
985
+ }, M = () => {
986
+ if (A.value) {
987
+ const _ = A.value;
988
+ _ && (_.style.top = "0", _.style.left = "0", _.style.opacity = "0", _.style.display = "none", g.value = !1);
989
989
  }
990
- }, I = (h) => {
991
- a.mode == "click" && A.value && !A.value.contains(h.target) && b();
990
+ }, w = (_) => {
991
+ s.mode == "click" && d.value && !d.value.contains(_.target) && M();
992
992
  };
993
993
  return oe(() => {
994
- let h;
995
- for (; h == null || h == null; )
996
- h = document.getElementById("float-windows-" + f), h && (r.value = !0, $e(() => {
997
- c.value = document.getElementById("context-menu-" + s), c.value && (b(), document.addEventListener("click", I));
994
+ let _;
995
+ for (; _ == null || _ == null; )
996
+ _ = document.getElementById("float-windows-" + f), _ && (c.value = !0, $e(() => {
997
+ A.value = document.getElementById("context-menu-" + i + a), A.value && (M(), document.addEventListener("click", w));
998
998
  }));
999
999
  }), Je(() => {
1000
- document.removeEventListener("click", I);
1000
+ document.removeEventListener("click", w);
1001
1001
  }), t({
1002
- updatePosition: T,
1003
- hideMenu: b
1004
- }), (h, w) => (l(), u("div", {
1005
- id: "container-" + N(s),
1002
+ updatePosition: y,
1003
+ hideMenu: M
1004
+ }), (_, j) => (l(), u("div", {
1005
+ id: "container-" + N(i) + N(a),
1006
1006
  ref_key: "actionScope",
1007
- ref: A,
1007
+ ref: d,
1008
1008
  style: { position: "relative", width: "fit-content" },
1009
- onMouseenter: M,
1010
- onMouseleave: _
1009
+ onMouseenter: I,
1010
+ onMouseleave: h
1011
1011
  }, [
1012
- o("div", { onClick: m }, [
1013
- fe(h.$slots, "default")
1012
+ o("div", { onClick: b }, [
1013
+ fe(_.$slots, "default")
1014
1014
  ]),
1015
- r.value ? (l(), U(ue, {
1015
+ c.value ? (l(), B(ue, {
1016
1016
  key: 0,
1017
1017
  to: "#float-windows-" + N(f)
1018
1018
  }, [
1019
- W(N(ct), {
1020
- id: "context-menu-" + N(s),
1019
+ W(N(ut), {
1020
+ id: "context-menu-" + N(i) + N(a),
1021
1021
  ref_key: "contextMenu",
1022
- ref: c,
1022
+ ref: A,
1023
1023
  actions: e.actions,
1024
- onMouseenter: v,
1025
- onMouseleave: k,
1026
- onClick: g
1024
+ onMouseenter: k,
1025
+ onMouseleave: x,
1026
+ onClick: m
1027
1027
  }, null, 8, ["id", "actions"])
1028
1028
  ], 8, ["to"])) : p("", !0)
1029
1029
  ], 40, Ns));
@@ -1049,7 +1049,7 @@ const Ns = ["id"], kn = {
1049
1049
  },
1050
1050
  emits: ["send", "typing"],
1051
1051
  setup(e, { emit: t }) {
1052
- const n = t, f = te("chatAppId"), { resetMessage: a, getMessage: s, setMessageText: i, setForceSendMessage: r } = we(f), c = ef("refBCM"), A = y(), d = ks("", 2e3), g = y(), m = e, M = $(() => {
1052
+ const n = t, f = te("chatAppId"), { resetMessage: a, getMessage: s, setMessageText: i, setForceSendMessage: r } = we(f), c = ef("refBCM"), A = v(), d = ks("", 2e3), g = v(), m = e, b = $(() => {
1053
1053
  if (m.state == "disabled" || s().text == "" && !s().file || s().isRecording) return !0;
1054
1054
  });
1055
1055
  ee(
@@ -1061,48 +1061,48 @@ const Ns = ["id"], kn = {
1061
1061
  () => m.focusOnInputArea,
1062
1062
  () => {
1063
1063
  m.focusOnInputArea && $e(() => {
1064
- const b = N(A);
1065
- b == null || b.focus();
1064
+ const y = N(A);
1065
+ y == null || y.focus();
1066
1066
  });
1067
1067
  },
1068
1068
  { immediate: !0 }
1069
1069
  ), ee(
1070
1070
  () => s().text,
1071
1071
  () => {
1072
- var b, I;
1072
+ var y, M;
1073
1073
  $e(function() {
1074
1074
  d.value = s().text, A.value && (A.value.style.height = "auto", A.value.style.height = A.value.scrollHeight + "px");
1075
- }), m.commands && (s().text.startsWith("/") ? (b = c.value) == null || b.updatePosition() : (I = c.value) == null || I.hideMenu());
1075
+ }), m.commands && (s().text.startsWith("/") ? (y = c.value) == null || y.updatePosition() : (M = c.value) == null || M.hideMenu());
1076
1076
  }
1077
1077
  ), ee(
1078
1078
  () => s().forceSend,
1079
1079
  () => {
1080
- s().forceSend && (T(), r(!1));
1080
+ s().forceSend && (x(), r(!1));
1081
1081
  }
1082
1082
  );
1083
- const _ = (b) => {
1084
- n("typing", b.target.value);
1085
- }, v = (b) => {
1086
- if (b.ctrlKey) {
1083
+ const I = (y) => {
1084
+ n("typing", y.target.value);
1085
+ }, h = (y) => {
1086
+ if (y.ctrlKey) {
1087
1087
  if (A.value instanceof HTMLTextAreaElement) {
1088
- let I = A.value.selectionStart;
1089
- I && (A.value.setRangeText(`
1090
- `, I, I, "end"), i(A.value.value));
1088
+ let M = A.value.selectionStart;
1089
+ M && (A.value.setRangeText(`
1090
+ `, M, M, "end"), i(A.value.value));
1091
1091
  }
1092
1092
  } else
1093
- b.preventDefault(), T();
1094
- }, k = (b) => {
1095
- console.log(b);
1096
- const I = {
1093
+ y.preventDefault(), x();
1094
+ }, k = (y) => {
1095
+ console.log(y);
1096
+ const M = {
1097
1097
  type: "message.command",
1098
- text: b.action
1098
+ text: y.action
1099
1099
  };
1100
- n("send", I);
1101
- }, T = () => {
1102
- var I, h;
1103
- const b = y(s());
1104
- if (b.value.text != "" || b.value.file) {
1105
- const w = {
1100
+ n("send", M);
1101
+ }, x = () => {
1102
+ var M, w;
1103
+ const y = v(s());
1104
+ if (y.value.text != "" || y.value.file) {
1105
+ const _ = {
1106
1106
  type: "",
1107
1107
  text: "",
1108
1108
  url: "",
@@ -1110,10 +1110,10 @@ const Ns = ["id"], kn = {
1110
1110
  size: "",
1111
1111
  reply: void 0
1112
1112
  };
1113
- b.value.file ? (w.type = "message." + b.value.file.type, w.url = b.value.file.url, w.filename = b.value.file.name, w.size = (I = b.value.file.size) == null ? void 0 : I.toString(), w.text = (h = b == null ? void 0 : b.value) == null ? void 0 : h.text.trim()) : (w.type = "message.text", w.text = b.value.text.trim()), b.value.reply && (w.reply = b.value.reply), n("send", w), a(), g.value = void 0, A.value && A.value.focus();
1113
+ y.value.file ? (_.type = "message." + y.value.file.type, _.url = y.value.file.url, _.filename = y.value.file.name, _.size = (M = y.value.file.size) == null ? void 0 : M.toString(), _.text = (w = y == null ? void 0 : y.value) == null ? void 0 : w.text.trim()) : (_.type = "message.text", _.text = y.value.text.trim()), y.value.reply && (_.reply = y.value.reply), n("send", _), a(), g.value = void 0, A.value && A.value.focus();
1114
1114
  }
1115
1115
  };
1116
- return (b, I) => (l(), u("div", Ds, [
1116
+ return (y, M) => (l(), u("div", Ds, [
1117
1117
  o("div", {
1118
1118
  id: "chat-input-reply-line-" + N(f),
1119
1119
  class: "chat-input__reply-line"
@@ -1123,7 +1123,7 @@ const Ns = ["id"], kn = {
1123
1123
  class: "chat-input__file-line"
1124
1124
  }, null, 8, Ts),
1125
1125
  o("div", js, [
1126
- e.commands ? (l(), U(kn, {
1126
+ e.commands ? (l(), B(kn, {
1127
1127
  key: 0,
1128
1128
  ref_key: "refBCM",
1129
1129
  ref: c,
@@ -1134,7 +1134,7 @@ const Ns = ["id"], kn = {
1134
1134
  }, {
1135
1135
  default: Z(() => [
1136
1136
  o("span", {
1137
- class: j(["chat-input__commands-trigger", { "chat-input__commands-disabled": N(s)().isRecording }])
1137
+ class: V(["chat-input__commands-trigger", { "chat-input__commands-disabled": N(s)().isRecording }])
1138
1138
  }, " / ", 2)
1139
1139
  ]),
1140
1140
  _: 1
@@ -1143,24 +1143,24 @@ const Ns = ["id"], kn = {
1143
1143
  disabled: e.state == "disabled" || N(s)().isRecording,
1144
1144
  ref_key: "refInput",
1145
1145
  ref: A,
1146
- "onUpdate:modelValue": I[0] || (I[0] = (h) => N(s)().text = h),
1146
+ "onUpdate:modelValue": M[0] || (M[0] = (w) => N(s)().text = w),
1147
1147
  class: "chat-input__input",
1148
1148
  placeholder: N(ve)("component.ChatInput.InputPlaceholder"),
1149
- onKeydown: tf(v, ["enter"]),
1150
- onInput: _
1149
+ onKeydown: tf(h, ["enter"]),
1150
+ onInput: I
1151
1151
  }, null, 40, xs), [
1152
- [ot, N(s)().text]
1152
+ [lt, N(s)().text]
1153
1153
  ]),
1154
1154
  o("button", {
1155
- class: j(["chat-input__button", { "chat-input__button-disabled": M.value }]),
1155
+ class: V(["chat-input__button", { "chat-input__button-disabled": b.value }]),
1156
1156
  disabled: N(s)().isRecording,
1157
- onClick: T
1158
- }, I[1] || (I[1] = [
1157
+ onClick: x
1158
+ }, M[1] || (M[1] = [
1159
1159
  o("span", { class: "pi pi-send" }, null, -1)
1160
1160
  ]), 10, Vs)
1161
1161
  ]),
1162
1162
  o("div", Ss, [
1163
- fe(b.$slots, "buttons", {}, void 0, !0)
1163
+ fe(y.$slots, "buttons", {}, void 0, !0)
1164
1164
  ])
1165
1165
  ]));
1166
1166
  }
@@ -1189,16 +1189,16 @@ const Ns = ["id"], kn = {
1189
1189
  },
1190
1190
  emits: ["select", "action", "loadMoreChats"],
1191
1191
  setup(e, { emit: t }) {
1192
- const n = e, f = t, a = y(""), s = y(), i = y(!1), r = y(!1), c = y(!1);
1192
+ const n = e, f = t, a = v(""), s = v(), i = v(!1), r = v(!1), c = v(!1);
1193
1193
  function A() {
1194
1194
  $e(function() {
1195
- const b = N(s);
1196
- b.scrollTop = 0;
1195
+ const y = N(s);
1196
+ y.scrollTop = 0;
1197
1197
  });
1198
1198
  }
1199
1199
  const d = () => {
1200
- const b = N(s), I = b.scrollHeight - b.scrollTop - b.clientHeight;
1201
- b.scrollTop > 500 && (r.value = !0), b.scrollTop <= 500 && (r.value = !1), c.value ? I < 300 && (i.value = !0) : (I < 300 && (i.value = !0), I >= 300 && (i.value = !1));
1200
+ const y = N(s), M = y.scrollHeight - y.scrollTop - y.clientHeight;
1201
+ y.scrollTop > 500 && (r.value = !0), y.scrollTop <= 500 && (r.value = !1), c.value ? M < 300 && (i.value = !0) : (M < 300 && (i.value = !0), M >= 300 && (i.value = !1));
1202
1202
  };
1203
1203
  ee(
1204
1204
  () => i.value,
@@ -1209,48 +1209,48 @@ const Ns = ["id"], kn = {
1209
1209
  () => n.chats,
1210
1210
  () => {
1211
1211
  if (i.value = !1, c.value) {
1212
- const b = N(s);
1213
- b.scrollTop = b.scrollHeight;
1212
+ const y = N(s);
1213
+ y.scrollTop = y.scrollHeight;
1214
1214
  }
1215
1215
  }
1216
1216
  );
1217
- const g = (b) => {
1218
- const I = N(s);
1219
- (b.offsetX > I.clientWidth || b.offsetY > I.clientHeight) && (c.value = !0);
1217
+ const g = (y) => {
1218
+ const M = N(s);
1219
+ (y.offsetX > M.clientWidth || y.offsetY > M.clientHeight) && (c.value = !0);
1220
1220
  }, m = () => {
1221
1221
  c.value = !1;
1222
- }, M = (b) => {
1223
- n.chats.forEach((h) => {
1224
- h.isSelected = !1, h.dialogs && h.dialogs.forEach((w) => {
1225
- w.isSelected = !1;
1222
+ }, b = (y) => {
1223
+ n.chats.forEach((w) => {
1224
+ w.isSelected = !1, w.dialogs && w.dialogs.forEach((_) => {
1225
+ _.isSelected = !1;
1226
1226
  });
1227
- }), b.dialog && _(b.dialog);
1228
- const I = n.chats.find((h) => h.chatId === b.chat.chatId);
1229
- I.isSelected = !0, f("select", b);
1230
- }, _ = (b) => {
1231
- n.chats.forEach((I) => {
1232
- I.isSelected = !1, I.dialogs && I.dialogs.forEach((h) => {
1233
- h.isSelected = !1, h.dialogId == b.dialogId && (h.isSelected = !0);
1227
+ }), y.dialog && I(y.dialog);
1228
+ const M = n.chats.find((w) => w.chatId === y.chat.chatId);
1229
+ M.isSelected = !0, f("select", y);
1230
+ }, I = (y) => {
1231
+ n.chats.forEach((M) => {
1232
+ M.isSelected = !1, M.dialogs && M.dialogs.forEach((w) => {
1233
+ w.isSelected = !1, w.dialogId == y.dialogId && (w.isSelected = !0);
1234
1234
  });
1235
1235
  });
1236
- }, v = () => n.chats.toSorted((b, I) => {
1237
- if (Number(b["lastActivity.timestamp"]) > Number(I["lastActivity.timestamp"])) return -1;
1238
- if (Number(b["lastActivity.timestamp"]) < Number(I["lastActivity.timestamp"])) return 1;
1239
- if (Number(b["lastActivity.timestamp"]) == Number(I["lastActivity.timestamp"])) return 0;
1240
- }).toSorted((b, I) => {
1241
- if (b.countUnread > I.countUnread) return -1;
1242
- if (b.countUnread < I.countUnread) return 1;
1243
- if (b.countUnread == I.countUnread) return 0;
1244
- }).filter((b) => n.filterQuery ? b.name.includes(n.filterQuery) || b.metadata.includes(n.filterQuery) : b.name.includes(a.value) || b.metadata.includes(a.value)), k = (b) => {
1245
- a.value = b;
1246
- }, T = (b) => f("action", b);
1247
- return (b, I) => (l(), u("div", Os, [
1236
+ }, h = () => n.chats.toSorted((y, M) => {
1237
+ if (Number(y["lastActivity.timestamp"]) > Number(M["lastActivity.timestamp"])) return -1;
1238
+ if (Number(y["lastActivity.timestamp"]) < Number(M["lastActivity.timestamp"])) return 1;
1239
+ if (Number(y["lastActivity.timestamp"]) == Number(M["lastActivity.timestamp"])) return 0;
1240
+ }).toSorted((y, M) => {
1241
+ if (y.countUnread > M.countUnread) return -1;
1242
+ if (y.countUnread < M.countUnread) return 1;
1243
+ if (y.countUnread == M.countUnread) return 0;
1244
+ }).filter((y) => n.filterQuery ? y.name.includes(n.filterQuery) || y.metadata.includes(n.filterQuery) : y.name.includes(a.value) || y.metadata.includes(a.value)), k = (y) => {
1245
+ a.value = y;
1246
+ }, x = (y) => f("action", y);
1247
+ return (y, M) => (l(), u("div", Os, [
1248
1248
  o("div", zs, [
1249
1249
  e.titleEnabled ? (l(), u("h2", Ls, E(N(ve)("component.ChatList.Title")), 1)) : p("", !0),
1250
- fe(b.$slots, "actions", {}, void 0, !0)
1250
+ fe(y.$slots, "actions", {}, void 0, !0)
1251
1251
  ]),
1252
- fe(b.$slots, "sidebar", {}, void 0, !0),
1253
- e.filterEnabled ? (l(), U(N(yo), {
1252
+ fe(y.$slots, "sidebar", {}, void 0, !0),
1253
+ e.filterEnabled ? (l(), B(N(yo), {
1254
1254
  key: 0,
1255
1255
  class: "chat-list__filter",
1256
1256
  onUpdate: k
@@ -1264,30 +1264,30 @@ const Ns = ["id"], kn = {
1264
1264
  onMouseup: m
1265
1265
  }, [
1266
1266
  o("div", Us, [
1267
- (l(!0), u(H, null, ae(v().filter((h) => h.isFixedTop), (h) => (l(), U(N(Un), {
1268
- key: h.chatId,
1267
+ (l(!0), u(H, null, ae(h().filter((w) => w.isFixedTop), (w) => (l(), B(N(Un), {
1268
+ key: w.chatId,
1269
1269
  class: "chat-list__item",
1270
- chat: h,
1271
- onSelect: M,
1272
- onAction: T
1270
+ chat: w,
1271
+ onSelect: b,
1272
+ onAction: x
1273
1273
  }, null, 8, ["chat"]))), 128))
1274
1274
  ]),
1275
1275
  o("div", Bs, [
1276
- (l(!0), u(H, null, ae(v().filter((h) => !h.isFixedBottom && !h.isFixedTop), (h) => (l(), U(N(Un), {
1277
- key: h.chatId,
1276
+ (l(!0), u(H, null, ae(h().filter((w) => !w.isFixedBottom && !w.isFixedTop), (w) => (l(), B(N(Un), {
1277
+ key: w.chatId,
1278
1278
  class: "chat-list__item",
1279
- chat: h,
1280
- onSelect: M,
1281
- onAction: T
1279
+ chat: w,
1280
+ onSelect: b,
1281
+ onAction: x
1282
1282
  }, null, 8, ["chat"]))), 128))
1283
1283
  ]),
1284
1284
  o("div", Rs, [
1285
- (l(!0), u(H, null, ae(v().filter((h) => h.isFixedBottom), (h) => (l(), U(N(Un), {
1286
- key: h.chatId,
1285
+ (l(!0), u(H, null, ae(h().filter((w) => w.isFixedBottom), (w) => (l(), B(N(Un), {
1286
+ key: w.chatId,
1287
1287
  class: "chat-list__item",
1288
- chat: h,
1289
- onSelect: M,
1290
- onAction: T
1288
+ chat: w,
1289
+ onSelect: b,
1290
+ onAction: x
1291
1291
  }, null, 8, ["chat"]))), 128))
1292
1292
  ])
1293
1293
  ], 544),
@@ -1297,7 +1297,7 @@ const Ns = ["id"], kn = {
1297
1297
  key: 0,
1298
1298
  class: "chat-list__button-up",
1299
1299
  onClick: A
1300
- }, I[0] || (I[0] = [
1300
+ }, M[0] || (M[0] = [
1301
1301
  o("span", { class: "pi pi-angle-up chat-list__icon-down" }, null, -1)
1302
1302
  ]))) : p("", !0)
1303
1303
  ]),
@@ -1384,28 +1384,28 @@ const Ys = {
1384
1384
  "keyboardAction"
1385
1385
  ],
1386
1386
  setup(e, { emit: t }) {
1387
- const n = y(), f = y(), a = y(), s = y(!1), i = y(!1), r = y(!1), c = y(!1), A = y(!1), d = y(!1), g = e, m = te("chatAppId"), { setReply: M, getMessage: _ } = we(m), v = t, k = $(() => !!(i.value && g.objects.length > 0 && g.objects[g.objects.length - 1].keyboard)), T = (z) => {
1388
- v("keyboardAction", z);
1387
+ const n = v(), f = v(), a = v(), s = v(!1), i = v(!1), r = v(!1), c = v(!1), A = v(!1), d = v(!1), g = e, m = te("chatAppId"), { setReply: b, getMessage: I } = we(m), h = t, k = $(() => !!(i.value && g.objects.length > 0 && g.objects[g.objects.length - 1].keyboard)), x = (L) => {
1388
+ h("keyboardAction", L);
1389
1389
  };
1390
- function b(z = !0) {
1391
- const L = N(f);
1390
+ function y(L = !0) {
1391
+ const U = N(f);
1392
1392
  let J = 0;
1393
1393
  a.value && (J = a.value.refKeyboard.clientHeight);
1394
- const de = 100, le = L.scrollHeight - L.scrollTop - L.clientHeight;
1395
- le < de + J ? (s.value = !1, i.value = !0) : (s.value = !0, i.value = !1), d.value ? (L.scrollTop < 300 && (A.value = !1, r.value = !1), le < 300 && (c.value = !1, A.value = !0)) : z && (L.scrollTop < 300 && (r.value = !1), le < 300 && (c.value = !1));
1394
+ const de = 100, le = U.scrollHeight - U.scrollTop - U.clientHeight;
1395
+ le < de + J ? (s.value = !1, i.value = !0) : (s.value = !0, i.value = !1), d.value ? (U.scrollTop < 300 && (A.value = !1, r.value = !1), le < 300 && (c.value = !1, A.value = !0)) : L && (U.scrollTop < 300 && (r.value = !1), le < 300 && (c.value = !1));
1396
1396
  }
1397
1397
  ee(
1398
1398
  () => [c.value, r.value],
1399
1399
  () => {
1400
- c.value || v("loadMoreDown"), r.value || v("loadMore");
1400
+ c.value || h("loadMoreDown"), r.value || h("loadMore");
1401
1401
  }
1402
1402
  );
1403
- const I = (z) => {
1404
- const L = N(f);
1405
- (z.offsetX > L.clientWidth || z.offsetY > L.clientHeight) && (d.value = !0);
1406
- }, h = () => {
1403
+ const M = (L) => {
1404
+ const U = N(f);
1405
+ (L.offsetX > U.clientWidth || L.offsetY > U.clientHeight) && (d.value = !0);
1406
+ }, w = () => {
1407
1407
  d.value = !1;
1408
- }, w = $s(b, 250), x = (z) => ({
1408
+ }, _ = $s(y, 250), j = (L) => ({
1409
1409
  "message.text": Ad,
1410
1410
  "message.image": td,
1411
1411
  "message.file": Qu,
@@ -1415,38 +1415,38 @@ const Ys = {
1415
1415
  "message.system": m1,
1416
1416
  "system.date": zd,
1417
1417
  "message.typing": ea
1418
- })[z];
1419
- function S() {
1418
+ })[L];
1419
+ function T() {
1420
1420
  $e(function() {
1421
- const z = N(f);
1422
- z.scrollTop = z.scrollHeight;
1421
+ const L = N(f);
1422
+ L.scrollTop = L.scrollHeight;
1423
1423
  });
1424
1424
  }
1425
- function B() {
1426
- v("forceScrollToBottom"), S();
1425
+ function z() {
1426
+ h("forceScrollToBottom"), T();
1427
1427
  }
1428
1428
  ee(
1429
1429
  () => g.scrollToBottom,
1430
1430
  () => {
1431
- console.log("force scroll to bottom"), g.scrollToBottom && S();
1431
+ console.log("force scroll to bottom"), g.scrollToBottom && T();
1432
1432
  },
1433
1433
  { immediate: !0 }
1434
1434
  );
1435
- const P = (z) => {
1436
- v("messageAction", z);
1437
- }, Q = (z) => {
1438
- v("clickRepliedMessage", z);
1439
- }, Y = (z, L) => {
1440
- g.enableDoubleClickReply && (z == null || z.preventDefault(), L.type.indexOf("system") == -1 && L.type.indexOf("typing") == -1 && M({
1441
- messageId: L.messageId,
1442
- type: L.type,
1443
- text: L.text,
1444
- filename: L.filename,
1445
- url: L.url
1435
+ const P = (L) => {
1436
+ h("messageAction", L);
1437
+ }, Q = (L) => {
1438
+ h("clickRepliedMessage", L);
1439
+ }, Y = (L, U) => {
1440
+ g.enableDoubleClickReply && (L == null || L.preventDefault(), U.type.indexOf("system") == -1 && U.type.indexOf("typing") == -1 && b({
1441
+ messageId: U.messageId,
1442
+ type: U.type,
1443
+ text: U.text,
1444
+ filename: U.filename,
1445
+ url: U.url
1446
1446
  }));
1447
- }, C = (z) => {
1448
- z.forEach((L) => {
1449
- L.isIntersecting && v("messageVisible", JSON.parse(L.target.id));
1447
+ }, C = (L) => {
1448
+ L.forEach((U) => {
1449
+ U.isIntersecting && h("messageVisible", JSON.parse(U.target.id));
1450
1450
  });
1451
1451
  }, O = {
1452
1452
  root: document.getElementById("feed-container-" + m),
@@ -1457,35 +1457,35 @@ const Ys = {
1457
1457
  () => g.objects,
1458
1458
  () => {
1459
1459
  $e(() => {
1460
- if (r.value = !0, c.value = !0, b(!1), d.value) {
1461
- const z = N(f);
1462
- A.value && (z.scrollTop = z.scrollHeight - 400), A.value || (z.scrollTop = 400);
1460
+ if (r.value = !0, c.value = !0, y(!1), d.value) {
1461
+ const L = N(f);
1462
+ A.value && (L.scrollTop = L.scrollHeight - 400), A.value || (L.scrollTop = 400);
1463
1463
  }
1464
- n.value = document.querySelectorAll(".tracking-message"), n.value.forEach((z) => X.observe(z));
1464
+ n.value = document.querySelectorAll(".tracking-message"), n.value.forEach((L) => X.observe(L));
1465
1465
  });
1466
1466
  },
1467
1467
  { immediate: !0 }
1468
1468
  ), ee(
1469
1469
  () => g.scrollTo,
1470
1470
  () => {
1471
- var z;
1471
+ var L;
1472
1472
  if (g.scrollTo) {
1473
- const L = g.scrollTo;
1474
- let J = document.getElementById(L), de = document.getElementById("feed-container-" + m);
1475
- J instanceof HTMLElement && de instanceof HTMLElement && (de.scrollTop = J.offsetTop + J.clientHeight / 2 - de.clientHeight / 2), (z = document.getElementById(L)) == null || z.children[0].classList.add("focused-message"), setTimeout(() => {
1473
+ const U = g.scrollTo;
1474
+ let J = document.getElementById(U), de = document.getElementById("feed-container-" + m);
1475
+ J instanceof HTMLElement && de instanceof HTMLElement && (de.scrollTop = J.offsetTop + J.clientHeight / 2 - de.clientHeight / 2), (L = document.getElementById(U)) == null || L.children[0].classList.add("focused-message"), setTimeout(() => {
1476
1476
  var le;
1477
- (le = document.getElementById(L)) == null || le.children[0].classList.remove("focused-message");
1477
+ (le = document.getElementById(U)) == null || le.children[0].classList.remove("focused-message");
1478
1478
  }, 2e3);
1479
1479
  }
1480
1480
  }
1481
- ), (z, L) => (l(), u(H, null, [
1481
+ ), (L, U) => (l(), u(H, null, [
1482
1482
  o("div", {
1483
1483
  ref_key: "refFeed",
1484
1484
  ref: f,
1485
1485
  class: "message-feed",
1486
- onScroll: L[0] || (L[0] = (J) => N(w)()),
1487
- onMousedown: I,
1488
- onMouseup: h,
1486
+ onScroll: U[0] || (U[0] = (J) => N(_)()),
1487
+ onMousedown: M,
1488
+ onMouseup: w,
1489
1489
  id: "feed-container-" + N(m)
1490
1490
  }, [
1491
1491
  (l(!0), u(H, null, ae(e.objects, (J) => (l(), u("div", {
@@ -1493,7 +1493,7 @@ const Ys = {
1493
1493
  id: JSON.stringify(J),
1494
1494
  class: "tracking-message"
1495
1495
  }, [
1496
- (l(), U(na(x(J.type)), {
1496
+ (l(), B(na(j(J.type)), {
1497
1497
  key: J.messageId,
1498
1498
  class: "message-feed__message",
1499
1499
  message: J,
@@ -1501,7 +1501,7 @@ const Ys = {
1501
1501
  onReply: Q
1502
1502
  }, null, 40, ["message"]))
1503
1503
  ], 40, Ws))), 256)),
1504
- e.typing ? (l(), U(N(ea), {
1504
+ e.typing ? (l(), B(N(ea), {
1505
1505
  key: 0,
1506
1506
  message: {
1507
1507
  subText: e.typing.title,
@@ -1510,13 +1510,13 @@ const Ys = {
1510
1510
  }, null, 8, ["message"])) : p("", !0),
1511
1511
  W(ne, null, {
1512
1512
  default: Z(() => [
1513
- k.value ? (l(), U(qs, {
1513
+ k.value ? (l(), B(qs, {
1514
1514
  key: 0,
1515
1515
  ref_key: "keyboardRef",
1516
1516
  ref: a,
1517
1517
  class: "message-feed__keyboard",
1518
1518
  keyboard: e.objects[e.objects.length - 1].keyboard,
1519
- onAction: T
1519
+ onAction: x
1520
1520
  }, null, 8, ["keyboard"])) : p("", !0)
1521
1521
  ]),
1522
1522
  _: 1
@@ -1526,21 +1526,21 @@ const Ys = {
1526
1526
  s.value ? (l(), u("button", {
1527
1527
  key: 0,
1528
1528
  class: "message-feed__button-down",
1529
- onClick: B
1529
+ onClick: z
1530
1530
  }, [
1531
1531
  e.buttonParams ? (l(), u("div", Ks, E(e.buttonParams.unreadAmount), 1)) : p("", !0),
1532
- L[1] || (L[1] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
1532
+ U[1] || (U[1] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
1533
1533
  ])) : p("", !0)
1534
1534
  ]),
1535
1535
  _: 1
1536
1536
  })
1537
1537
  ], 40, Hs),
1538
- N(_)().reply ? (l(), U(ue, {
1538
+ N(I)().reply ? (l(), B(ue, {
1539
1539
  key: 0,
1540
1540
  to: "#chat-input-reply-line-" + N(m)
1541
1541
  }, [
1542
- W(N(ut), {
1543
- message: N(_)().reply,
1542
+ W(N(dt), {
1543
+ message: N(I)().reply,
1544
1544
  class: "chat-input-reply"
1545
1545
  }, null, 8, ["message"])
1546
1546
  ], 8, ["to"])) : p("", !0)
@@ -1578,18 +1578,18 @@ const Ys = {
1578
1578
  o("p", ni, E(e.user.phone), 1)
1579
1579
  ])) : p("", !0);
1580
1580
  }
1581
- }, Vg = /* @__PURE__ */ R(fi, [["__scopeId", "data-v-b06fcd34"]]), gt = y([]), lt = (e) => {
1582
- const t = y(0);
1583
- let n = gt.value.find(({ id: a }) => a == e);
1584
- return n != null ? t.value = gt.value.indexOf(n) : (gt.value.push({
1581
+ }, Vg = /* @__PURE__ */ R(fi, [["__scopeId", "data-v-b06fcd34"]]), mt = v([]), rt = (e) => {
1582
+ const t = v(0);
1583
+ let n = mt.value.find(({ id: a }) => a == e);
1584
+ return n != null ? t.value = mt.value.indexOf(n) : (mt.value.push({
1585
1585
  id: e,
1586
1586
  theme: ""
1587
- }), t.value = gt.value.length - 1), { getTheme: () => gt.value[t.value] };
1587
+ }), t.value = mt.value.length - 1), { getTheme: () => mt.value[t.value] };
1588
1588
  }, ai = ["data-theme"], si = { class: "modal__container" }, ii = {
1589
1589
  __name: "ModalFullscreen",
1590
1590
  emits: ["close"],
1591
1591
  setup(e, { emit: t }) {
1592
- const n = t, f = te("chatAppId"), { getTheme: a } = lt(f), s = (i) => {
1592
+ const n = t, f = te("chatAppId"), { getTheme: a } = rt(f), s = (i) => {
1593
1593
  i.target.classList.contains("modal__overlay") && n("close");
1594
1594
  };
1595
1595
  return (i, r) => (l(), u("div", {
@@ -1633,14 +1633,14 @@ const Ys = {
1633
1633
  },
1634
1634
  emits: ["reset"],
1635
1635
  setup(e, { emit: t }) {
1636
- const n = t, f = y(), a = y(), s = y(!1), i = y(0), r = y(0), c = y(!1), A = () => c.value = !1;
1636
+ const n = t, f = v(), a = v(), s = v(!1), i = v(0), r = v(0), c = v(!1), A = () => c.value = !1;
1637
1637
  function d() {
1638
1638
  f.value && (s.value ? f.value.pause() : f.value.play(), s.value = !s.value);
1639
1639
  }
1640
- const g = (_) => {
1641
- const v = Math.floor(_ / 60), k = Math.floor(_ % 60);
1642
- return `${v.toString().padStart(2, "0")}:${k.toString().padStart(2, "0")}`;
1643
- }, m = $(() => f.value ? g(r.value) : "0:00"), M = $(() => f.value || a.value ? g(i.value) : "0:00");
1640
+ const g = (I) => {
1641
+ const h = Math.floor(I / 60), k = Math.floor(I % 60);
1642
+ return `${h.toString().padStart(2, "0")}:${k.toString().padStart(2, "0")}`;
1643
+ }, m = $(() => f.value ? g(r.value) : "0:00"), b = $(() => f.value || a.value ? g(i.value) : "0:00");
1644
1644
  return oe(() => {
1645
1645
  f.value != null && (f.value.addEventListener("loadedmetadata", () => {
1646
1646
  f.value != null && (f.value.duration == 1 / 0 || Number.isNaN(f.value.duration)) && (f.value.currentTime = 1e101, f.value.addEventListener("timeupdate", () => {
@@ -1653,24 +1653,24 @@ const Ys = {
1653
1653
  a.value && (a.value.currentTime = 0, i.value = a.value.duration);
1654
1654
  }, { once: !0 })));
1655
1655
  });
1656
- }), (_, v) => (l(), u("div", oi, [
1656
+ }), (I, h) => (l(), u("div", oi, [
1657
1657
  o("div", li, [
1658
1658
  e.fileInfo.isImage ? (l(), u("div", {
1659
1659
  key: 0,
1660
1660
  style: { position: "relative" },
1661
- onClick: v[0] || (v[0] = (k) => c.value = !0)
1661
+ onClick: h[0] || (h[0] = (k) => c.value = !0)
1662
1662
  }, [
1663
1663
  o("img", {
1664
1664
  src: e.fileInfo.previewUrl,
1665
1665
  alt: "Image Preview",
1666
1666
  class: "preview__image"
1667
1667
  }, null, 8, ri),
1668
- v[3] || (v[3] = o("div", { class: "preview__shadow" }, [
1668
+ h[3] || (h[3] = o("div", { class: "preview__shadow" }, [
1669
1669
  o("span", { class: "pi pi-plus-circle" })
1670
1670
  ], -1))
1671
1671
  ])) : e.fileInfo.isVideo ? (l(), u("div", {
1672
1672
  key: 1,
1673
- onClick: v[1] || (v[1] = (k) => c.value = !0),
1673
+ onClick: h[1] || (h[1] = (k) => c.value = !0),
1674
1674
  style: { position: "relative" }
1675
1675
  }, [
1676
1676
  o("video", {
@@ -1679,11 +1679,11 @@ const Ys = {
1679
1679
  src: e.fileInfo.previewUrl,
1680
1680
  class: "preview__video"
1681
1681
  }, null, 8, Ai),
1682
- v[4] || (v[4] = o("div", { class: "preview__shadow" }, [
1682
+ h[4] || (h[4] = o("div", { class: "preview__shadow" }, [
1683
1683
  o("span", { class: "pi pi-play" })
1684
1684
  ], -1))
1685
1685
  ])) : e.fileInfo.isAudio ? (l(), u("div", ci, [
1686
- v[5] || (v[5] = o("span", {
1686
+ h[5] || (h[5] = o("span", {
1687
1687
  class: "pi pi-headphones",
1688
1688
  style: { "font-size": "1rem", margin: "auto" }
1689
1689
  }, null, -1)),
@@ -1703,7 +1703,7 @@ const Ys = {
1703
1703
  [Ke, s.value]
1704
1704
  ])
1705
1705
  ])
1706
- ])) : (l(), u("div", mi, v[6] || (v[6] = [
1706
+ ])) : (l(), u("div", mi, h[6] || (h[6] = [
1707
1707
  o("span", {
1708
1708
  class: "pi pi-file",
1709
1709
  style: { "font-size": "2.5rem" }
@@ -1714,19 +1714,19 @@ const Ys = {
1714
1714
  o("div", hi, [
1715
1715
  o("span", vi, E(e.fileInfo.fileName), 1),
1716
1716
  !e.fileInfo.isAudio && !e.fileInfo.isVideo ? (l(), u("span", yi, E(e.fileInfo.fileSize), 1)) : p("", !0),
1717
- e.fileInfo.isAudio ? (l(), u("span", bi, E(`${m.value} / ${M.value}`), 1)) : p("", !0),
1718
- e.fileInfo.isVideo ? (l(), u("span", Mi, E(M.value), 1)) : p("", !0)
1717
+ e.fileInfo.isAudio ? (l(), u("span", bi, E(`${m.value} / ${b.value}`), 1)) : p("", !0),
1718
+ e.fileInfo.isVideo ? (l(), u("span", Mi, E(b.value), 1)) : p("", !0)
1719
1719
  ]),
1720
1720
  o("span", {
1721
1721
  class: "pi pi-times preview__reset",
1722
1722
  style: { "font-size": "1rem" },
1723
- onClick: v[2] || (v[2] = (k) => n("reset"))
1723
+ onClick: h[2] || (h[2] = (k) => n("reset"))
1724
1724
  })
1725
1725
  ]),
1726
- (l(), U(ue, { to: "body" }, [
1726
+ (l(), B(ue, { to: "body" }, [
1727
1727
  W(ne, { name: "modal-fade" }, {
1728
1728
  default: Z(() => [
1729
- c.value ? (l(), U(cf, {
1729
+ c.value ? (l(), B(cf, {
1730
1730
  key: 0,
1731
1731
  onClose: A
1732
1732
  }, {
@@ -1757,7 +1757,7 @@ const Ys = {
1757
1757
  let t = "file";
1758
1758
  return e.startsWith("image/") ? t = "image" : e.startsWith("video/") ? t = "video" : e.startsWith("audio/") && (t = "audio"), t;
1759
1759
  }, ki = (e) => {
1760
- const t = ha(e.type), n = y(!1), f = y(!1), a = y(!1), s = y("");
1760
+ const t = ha(e.type), n = v(!1), f = v(!1), a = v(!1), s = v("");
1761
1761
  t === "image" ? n.value = !0 : t === "video" ? f.value = !0 : t === "audio" && (a.value = !0), n.value || f.value || a.value ? s.value = URL.createObjectURL(e) : s.value = "";
1762
1762
  const i = ["б", "Кб", "Мб", "Гб"];
1763
1763
  let r = e.size, c = 0;
@@ -1805,7 +1805,7 @@ const Ys = {
1805
1805
  },
1806
1806
  emits: ["fileUploaded"],
1807
1807
  setup(e, { emit: t }) {
1808
- const n = e, f = y(""), a = y(), s = y(), i = te("chatAppId"), { setMessageFile: r, resetMessageFile: c, getMessage: A, setRecordingMessage: d } = we(i), g = [
1808
+ const n = e, f = v(""), a = v(), s = v(), i = te("chatAppId"), { setMessageFile: r, resetMessageFile: c, getMessage: A, setRecordingMessage: d } = we(i), g = [
1809
1809
  {
1810
1810
  action: "audio/*",
1811
1811
  title: "Аудио",
@@ -1826,64 +1826,64 @@ const Ys = {
1826
1826
  title: "Файл",
1827
1827
  prime: "file"
1828
1828
  }
1829
- ], m = $(() => !A().file), M = () => {
1829
+ ], m = $(() => !A().file), b = () => {
1830
1830
  c(), s.value = void 0, f.value = "";
1831
- }, _ = async () => {
1832
- var I, h;
1833
- M(), (I = a.value) != null && I.files && b((h = a.value) == null ? void 0 : h.files[0]);
1834
- }, v = (I) => {
1835
- a.value && m && (a.value.accept = I.action, a.value.click());
1831
+ }, I = async () => {
1832
+ var M, w;
1833
+ b(), (M = a.value) != null && M.files && y((w = a.value) == null ? void 0 : w.files[0]);
1834
+ }, h = (M) => {
1835
+ a.value && m && (a.value.accept = M.action, a.value.click());
1836
1836
  }, k = () => {
1837
1837
  a.value && m && n.state == "active" && a.value.click();
1838
- }, T = async (I) => {
1839
- var w;
1840
- const h = (w = I.clipboardData) == null ? void 0 : w.items;
1841
- if (h) {
1842
- for (let x of h)
1843
- if (x.type.indexOf("image") !== -1) {
1844
- I.preventDefault();
1845
- const S = x.getAsFile();
1846
- S && b(S);
1838
+ }, x = async (M) => {
1839
+ var _;
1840
+ const w = (_ = M.clipboardData) == null ? void 0 : _.items;
1841
+ if (w) {
1842
+ for (let j of w)
1843
+ if (j.type.indexOf("image") !== -1) {
1844
+ M.preventDefault();
1845
+ const T = j.getAsFile();
1846
+ T && y(T);
1847
1847
  }
1848
1848
  }
1849
- }, b = async (I) => {
1849
+ }, y = async (M) => {
1850
1850
  f.value = "uploading", d(!0);
1851
- const h = typeof n.filebumpUrl == "string" ? n.filebumpUrl : null;
1852
- await Dn(h, I).then((w) => {
1853
- d(!1), f.value = w.status, w.status == "success" && (r({
1854
- url: w.url,
1855
- name: w.name,
1856
- size: w.size,
1857
- type: w.type
1858
- }), w.preview && (s.value = {
1859
- previewUrl: w.preview.previewUrl,
1860
- isImage: w.preview.isImage,
1861
- isVideo: w.preview.isVideo,
1862
- isAudio: w.preview.isAudio,
1863
- fileName: w.name,
1864
- fileSize: w.preview.fileSize
1851
+ const w = typeof n.filebumpUrl == "string" ? n.filebumpUrl : null;
1852
+ await Dn(w, M).then((_) => {
1853
+ d(!1), f.value = _.status, _.status == "success" && (r({
1854
+ url: _.url,
1855
+ name: _.name,
1856
+ size: _.size,
1857
+ type: _.type
1858
+ }), _.preview && (s.value = {
1859
+ previewUrl: _.preview.previewUrl,
1860
+ isImage: _.preview.isImage,
1861
+ isVideo: _.preview.isVideo,
1862
+ isAudio: _.preview.isAudio,
1863
+ fileName: _.name,
1864
+ fileSize: _.preview.fileSize
1865
1865
  }));
1866
1866
  });
1867
1867
  };
1868
1868
  return oe(() => {
1869
- window.addEventListener("paste", T);
1870
- }), (I, h) => (l(), u(H, null, [
1871
- f.value === "uploading" ? (l(), u("div", Ni, h[0] || (h[0] = [
1869
+ window.addEventListener("paste", x);
1870
+ }), (M, w) => (l(), u(H, null, [
1871
+ f.value === "uploading" ? (l(), u("div", Ni, w[0] || (w[0] = [
1872
1872
  o("p", null, "Загрузка файла...", -1)
1873
- ]))) : f.value === "error" ? (l(), u("div", Di, h[1] || (h[1] = [
1873
+ ]))) : f.value === "error" ? (l(), u("div", Di, w[1] || (w[1] = [
1874
1874
  o("p", null, "Ошибка при загрузке файла.", -1)
1875
- ]))) : N(A)().isRecording ? p("", !0) : (l(), U(kn, {
1875
+ ]))) : N(A)().isRecording ? p("", !0) : (l(), B(kn, {
1876
1876
  key: 2,
1877
1877
  actions: g,
1878
1878
  mode: "hover",
1879
1879
  "menu-side": "top",
1880
1880
  disabled: !m.value || e.state == "disabled",
1881
- onClick: v,
1881
+ onClick: h,
1882
1882
  onButtonClick: k
1883
1883
  }, {
1884
1884
  default: Z(() => [
1885
1885
  o("span", {
1886
- class: j(["pi pi-file-arrow-up file-uploader__trigger", { "file-uploader__disabled": !m.value || e.state == "disabled" }])
1886
+ class: V(["pi pi-file-arrow-up file-uploader__trigger", { "file-uploader__disabled": !m.value || e.state == "disabled" }])
1887
1887
  }, null, 2)
1888
1888
  ]),
1889
1889
  _: 1
@@ -1893,16 +1893,16 @@ const Ys = {
1893
1893
  ref: a,
1894
1894
  style: { display: "none" },
1895
1895
  type: "file",
1896
- onChange: _
1896
+ onChange: I
1897
1897
  }, null, 544),
1898
- N(A)().file ? (l(), U(ue, {
1898
+ N(A)().file ? (l(), B(ue, {
1899
1899
  key: 3,
1900
1900
  to: "#chat-input-file-line-" + N(i)
1901
1901
  }, [
1902
- s.value ? (l(), U(Nn, {
1902
+ s.value ? (l(), B(Nn, {
1903
1903
  key: 0,
1904
1904
  "file-info": s.value,
1905
- onReset: M
1905
+ onReset: b
1906
1906
  }, null, 8, ["file-info"])) : p("", !0)
1907
1907
  ], 8, ["to"])) : p("", !0)
1908
1908
  ], 64));
@@ -1917,7 +1917,7 @@ const Ys = {
1917
1917
  show: Boolean
1918
1918
  },
1919
1919
  setup(e) {
1920
- const t = e, n = te("chatAppId"), { getTheme: f } = lt(n), a = () => {
1920
+ const t = e, n = te("chatAppId"), { getTheme: f } = rt(n), a = () => {
1921
1921
  const r = t.themes.find((c) => c.default === !0);
1922
1922
  return r ? r.code : t.themes[0].code;
1923
1923
  }, s = (r) => {
@@ -1965,20 +1965,20 @@ const Ys = {
1965
1965
  return c.length > 2 ? c.slice(0, 2).join(" ") : r;
1966
1966
  };
1967
1967
  return (r, c) => (l(), u("div", {
1968
- class: j(["sidebar__container", { "sidebar-horizontal__container": e.horizontal }])
1968
+ class: V(["sidebar__container", { "sidebar-horizontal__container": e.horizontal }])
1969
1969
  }, [
1970
1970
  o("ul", {
1971
- class: j(["sidebar__list", { "sidebar-horizontal__list": e.horizontal }])
1971
+ class: V(["sidebar__list", { "sidebar-horizontal__list": e.horizontal }])
1972
1972
  }, [
1973
1973
  (l(!0), u(H, null, ae(f.value.filter((A) => !A.isFixedBottom), (A, d) => (l(), u("li", {
1974
1974
  key: d,
1975
- class: j(["sidebar__item", { "sidebar-horizontal__item": e.horizontal }]),
1975
+ class: V(["sidebar__item", { "sidebar-horizontal__item": e.horizontal }]),
1976
1976
  onClick: (g) => s(A.itemId)
1977
1977
  }, [
1978
1978
  o("img", {
1979
1979
  src: A.icon,
1980
1980
  alt: A.name,
1981
- class: j(["sidebar__image", {
1981
+ class: V(["sidebar__image", {
1982
1982
  "sidebar__image--active": A.selected === !0,
1983
1983
  "sidebar-horizontal__image": e.horizontal
1984
1984
  }])
@@ -1991,17 +1991,17 @@ const Ys = {
1991
1991
  ], 10, Vi))), 128))
1992
1992
  ], 2),
1993
1993
  o("ul", {
1994
- class: j(["sidebar__list-fixed", { "sidebar-horizontal__list-fixed": e.horizontal }])
1994
+ class: V(["sidebar__list-fixed", { "sidebar-horizontal__list-fixed": e.horizontal }])
1995
1995
  }, [
1996
1996
  (l(!0), u(H, null, ae(f.value.filter((A) => A.isFixedBottom), (A, d) => (l(), u("li", {
1997
1997
  key: d,
1998
- class: j(["sidebar__item", { "sidebar-horizontal__item": e.horizontal }]),
1998
+ class: V(["sidebar__item", { "sidebar-horizontal__item": e.horizontal }]),
1999
1999
  onClick: (g) => s(A.itemId)
2000
2000
  }, [
2001
2001
  o("img", {
2002
2002
  src: A.icon,
2003
2003
  alt: A.name,
2004
- class: j(["sidebar__image", {
2004
+ class: V(["sidebar__image", {
2005
2005
  "sidebar__image--active": A.selected === !0,
2006
2006
  "sidebar-horizontal__image": e.horizontal
2007
2007
  }])
@@ -2076,12 +2076,12 @@ const Ys = {
2076
2076
  },
2077
2077
  emits: ["selectChannel"],
2078
2078
  setup(e, { emit: t }) {
2079
- const n = e, f = te("chatAppId"), { getMessage: a } = we(f), s = t, r = y(n.channels.find((A) => A.type === "default")), c = (A) => {
2079
+ const n = e, f = te("chatAppId"), { getMessage: a } = we(f), s = t, r = v(n.channels.find((A) => A.type === "default")), c = (A) => {
2080
2080
  r.value = A, s("selectChannel", r.value);
2081
2081
  };
2082
2082
  return (A, d) => N(a)().isRecording ? p("", !0) : (l(), u("div", {
2083
2083
  key: 0,
2084
- class: j(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
2084
+ class: V(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
2085
2085
  }, [
2086
2086
  r.value ? (l(), u("div", Yi, [
2087
2087
  r.value.icon ? (l(), u("img", {
@@ -2100,7 +2100,7 @@ const Ys = {
2100
2100
  }, {
2101
2101
  default: Z(() => [
2102
2102
  o("span", {
2103
- class: j(["pi pi-list channels__trigger", { channels__disabled: e.state == "disabled" }])
2103
+ class: V(["pi pi-list channels__trigger", { channels__disabled: e.state == "disabled" }])
2104
2104
  }, null, 2)
2105
2105
  ]),
2106
2106
  _: 1
@@ -2136,7 +2136,7 @@ const Bg = (e, t = null) => {
2136
2136
  } catch {
2137
2137
  console.log("no audio permissions");
2138
2138
  }
2139
- }, Qg = (e) => e.sort((t, n) => Number(t.timestamp) < Number(n.timestamp) ? -1 : Number(t.timestamp) > Number(n.timestamp) ? 1 : 0), rt = ["read", "received", "sent"], At = (e) => {
2139
+ }, Qg = (e) => e.sort((t, n) => Number(t.timestamp) < Number(n.timestamp) ? -1 : Number(t.timestamp) > Number(n.timestamp) ? 1 : 0), At = ["read", "received", "sent"], ct = (e) => {
2140
2140
  switch (e) {
2141
2141
  case "read":
2142
2142
  return "status--read";
@@ -2162,18 +2162,18 @@ const Bg = (e, t = null) => {
2162
2162
  }
2163
2163
  },
2164
2164
  setup(e) {
2165
- const t = te("chatAppId"), { getTheme: n } = lt(t), f = y(), a = y(), s = y(!1), i = e, r = $(() => ({
2165
+ const t = te("chatAppId"), { getTheme: n } = rt(t), f = v(), a = v(), s = v(!1), i = e, r = $(() => ({
2166
2166
  tooltip__text: !0,
2167
2167
  [`tooltip--${i.position}`]: !0
2168
2168
  })), c = () => {
2169
2169
  if (f.value && a.value) {
2170
- const d = a.value, g = f.value.getBoundingClientRect(), m = a.value.getBoundingClientRect(), M = m.left < 0 ? m.left : 0, _ = m.top < 0 ? m.top : 0, v = {
2171
- left: { top: g.top - (m.height - g.height) / 2 - _, left: (g == null ? void 0 : g.left) - m.width - M - i.offset },
2172
- right: { top: g.top - (m.height - g.height) / 2 - _, left: (g == null ? void 0 : g.left) + g.width - M + i.offset },
2173
- bottom: { top: (g == null ? void 0 : g.bottom) - _ + i.offset, left: (g == null ? void 0 : g.left) - M },
2174
- top: { top: g.top - m.height - i.offset - _, left: (g == null ? void 0 : g.left) - M }
2170
+ const d = a.value, g = f.value.getBoundingClientRect(), m = a.value.getBoundingClientRect(), b = m.left < 0 ? m.left : 0, I = m.top < 0 ? m.top : 0, h = {
2171
+ left: { top: g.top - (m.height - g.height) / 2 - I, left: (g == null ? void 0 : g.left) - m.width - b - i.offset },
2172
+ right: { top: g.top - (m.height - g.height) / 2 - I, left: (g == null ? void 0 : g.left) + g.width - b + i.offset },
2173
+ bottom: { top: (g == null ? void 0 : g.bottom) - I + i.offset, left: (g == null ? void 0 : g.left) - b },
2174
+ top: { top: g.top - m.height - i.offset - I, left: (g == null ? void 0 : g.left) - b }
2175
2175
  };
2176
- d.style.top = v[i.position].top + "px", d.style.left = v[i.position].left + "px", d.style.opacity = "1", d.style.visibility = "visible";
2176
+ d.style.top = h[i.position].top + "px", d.style.left = h[i.position].left + "px", d.style.opacity = "1", d.style.visibility = "visible";
2177
2177
  }
2178
2178
  }, A = () => {
2179
2179
  const d = N(a);
@@ -2191,7 +2191,7 @@ const Bg = (e, t = null) => {
2191
2191
  }, [
2192
2192
  fe(d.$slots, "default", {}, void 0, !0)
2193
2193
  ], 544),
2194
- s.value ? (l(), U(ue, {
2194
+ s.value ? (l(), B(ue, {
2195
2195
  key: 0,
2196
2196
  to: "#float-windows-" + N(t)
2197
2197
  }, [
@@ -2199,7 +2199,7 @@ const Bg = (e, t = null) => {
2199
2199
  "data-theme": N(n)().theme ? N(n)().theme : null,
2200
2200
  ref_key: "tooltip",
2201
2201
  ref: a,
2202
- class: j(r.value)
2202
+ class: V(r.value)
2203
2203
  }, E(e.text), 11, Wi)
2204
2204
  ], 8, ["to"])) : p("", !0)
2205
2205
  ], 64));
@@ -2241,39 +2241,39 @@ const Bg = (e, t = null) => {
2241
2241
  },
2242
2242
  emits: ["select", "action"],
2243
2243
  setup(e, { emit: t }) {
2244
- const n = e, f = t, a = y(!1), s = y(!1), i = () => {
2244
+ const n = e, f = t, a = v(!1), s = v(!1), i = () => {
2245
2245
  s.value = !0;
2246
- }, r = (I) => {
2247
- s.value || (I.target instanceof HTMLElement && I.target.id != "noSelectButton" && !n.chat.dialogs && f("select", { chat: n.chat, dialog: null }), n.chat.dialogs && (n.chat.dialogsExpanded = !n.chat.dialogsExpanded)), s.value = !1;
2248
- }, c = (I) => {
2249
- f("select", { chat: n.chat, dialog: I });
2250
- }, A = () => n.chat.isSelected ? "chat-item__selected" : "", d = (I) => I.isSelected ? "dialog__selected" : "", g = (I) => {
2251
- f("action", { chat: n.chat, ...I });
2252
- }, m = () => n.chat.dialogs.toSorted((I, h) => {
2253
- if (Number(I["lastActivity.timestamp"]) > Number(h["lastActivity.timestamp"])) return -1;
2254
- if (Number(I["lastActivity.timestamp"]) < Number(h["lastActivity.timestamp"])) return 1;
2255
- if (Number(I["lastActivity.timestamp"]) == Number(h["lastActivity.timestamp"])) return 0;
2256
- }), M = $(() => At(n.chat["lastMessage.status"]));
2257
- let _;
2258
- const v = y(0), k = [ve("component.ChatItem.typing") + ".", ve("component.ChatItem.typing") + "..", ve("component.ChatItem.typing") + "..."], T = $(() => n.chat.typing ? k[v.value] : n.chat.lastMessage);
2246
+ }, r = (M) => {
2247
+ s.value || (M.target instanceof HTMLElement && M.target.id != "noSelectButton" && !n.chat.dialogs && f("select", { chat: n.chat, dialog: null }), n.chat.dialogs && (n.chat.dialogsExpanded = !n.chat.dialogsExpanded)), s.value = !1;
2248
+ }, c = (M) => {
2249
+ f("select", { chat: n.chat, dialog: M });
2250
+ }, A = () => n.chat.isSelected ? "chat-item__selected" : "", d = (M) => M.isSelected ? "dialog__selected" : "", g = (M) => {
2251
+ f("action", { chat: n.chat, ...M });
2252
+ }, m = () => n.chat.dialogs.toSorted((M, w) => {
2253
+ if (Number(M["lastActivity.timestamp"]) > Number(w["lastActivity.timestamp"])) return -1;
2254
+ if (Number(M["lastActivity.timestamp"]) < Number(w["lastActivity.timestamp"])) return 1;
2255
+ if (Number(M["lastActivity.timestamp"]) == Number(w["lastActivity.timestamp"])) return 0;
2256
+ }), b = $(() => ct(n.chat["lastMessage.status"]));
2257
+ let I;
2258
+ const h = v(0), k = [ve("component.ChatItem.typing") + ".", ve("component.ChatItem.typing") + "..", ve("component.ChatItem.typing") + "..."], x = $(() => n.chat.typing ? k[h.value] : n.chat.lastMessage);
2259
2259
  ee(
2260
2260
  () => n.chat.typing,
2261
2261
  () => {
2262
- n.chat.typing ? _ = setInterval(() => {
2263
- v.value < 2 ? v.value += 1 : v.value = 0;
2264
- }, 1e3) : (v.value = 0, clearInterval(_));
2262
+ n.chat.typing ? I = setInterval(() => {
2263
+ h.value < 2 ? h.value += 1 : h.value = 0;
2264
+ }, 1e3) : (h.value = 0, clearInterval(I));
2265
2265
  },
2266
2266
  { immediate: !0 }
2267
2267
  );
2268
- const b = (I) => {
2269
- var h;
2270
- ((h = I.relatedTarget) == null ? void 0 : h.className) == "context-menu__list" ? a.value = !0 : a.value = !1;
2268
+ const y = (M) => {
2269
+ var w;
2270
+ ((w = M.relatedTarget) == null ? void 0 : w.className) == "context-menu__list" ? a.value = !0 : a.value = !1;
2271
2271
  };
2272
- return (I, h) => (l(), u("div", null, [
2272
+ return (M, w) => (l(), u("div", null, [
2273
2273
  o("div", {
2274
- class: j(["chat-item__container", A()]),
2275
- onMouseenter: h[3] || (h[3] = (w) => a.value = !0),
2276
- onMouseleave: b,
2274
+ class: V(["chat-item__container", A()]),
2275
+ onMouseenter: w[3] || (w[3] = (_) => a.value = !0),
2276
+ onMouseleave: y,
2277
2277
  onClick: r
2278
2278
  }, [
2279
2279
  o("div", Ji, [
@@ -2303,7 +2303,7 @@ const Bg = (e, t = null) => {
2303
2303
  position: "bottom"
2304
2304
  }, {
2305
2305
  default: Z(() => [
2306
- e.chat.lastMessage || e.chat.typing ? (l(), u("div", to, E(T.value), 1)) : p("", !0)
2306
+ e.chat.lastMessage || e.chat.typing ? (l(), u("div", to, E(x.value), 1)) : p("", !0)
2307
2307
  ]),
2308
2308
  _: 1
2309
2309
  }, 8, ["text"])
@@ -2315,27 +2315,27 @@ const Bg = (e, t = null) => {
2315
2315
  class: "chat-item__unread",
2316
2316
  style: re({ backgroundColor: e.chat.colorUnread ? e.chat.colorUnread : null })
2317
2317
  }, E(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 5)) : p("", !0),
2318
- a.value && e.chat.actions ? (l(), U(kn, {
2318
+ a.value && e.chat.actions ? (l(), B(kn, {
2319
2319
  key: 2,
2320
2320
  mode: "click",
2321
2321
  "menu-side": "bottom",
2322
2322
  actions: e.chat.actions,
2323
2323
  onClick: g,
2324
2324
  onButtonClick: i,
2325
- onMenuMouseLeave: h[0] || (h[0] = (w) => a.value = !1)
2325
+ onMenuMouseLeave: w[0] || (w[0] = (_) => a.value = !1)
2326
2326
  }, {
2327
- default: Z(() => h[4] || (h[4] = [
2327
+ default: Z(() => w[4] || (w[4] = [
2328
2328
  o("span", { class: "pi pi-ellipsis-h chat-item__actions-trigger" }, null, -1)
2329
2329
  ])),
2330
2330
  _: 1
2331
2331
  }, 8, ["actions"])) : p("", !0),
2332
2332
  e.chat.countUnread < 1 ? (l(), u("div", ao, [
2333
- N(rt).includes(e.chat["lastMessage.status"]) ? (l(), u("div", {
2333
+ N(At).includes(e.chat["lastMessage.status"]) ? (l(), u("div", {
2334
2334
  key: 0,
2335
- class: j(["chat-item__status-message", M.value])
2335
+ class: V(["chat-item__status-message", b.value])
2336
2336
  }, [
2337
2337
  e.chat["lastMessage.status"] !== "sent" ? (l(), u("span", so)) : p("", !0),
2338
- h[5] || (h[5] = o("span", { class: "pi pi-check" }, null, -1))
2338
+ w[5] || (w[5] = o("span", { class: "pi pi-check" }, null, -1))
2339
2339
  ], 2)) : p("", !0),
2340
2340
  e.chat.isFixedTop || e.chat.isFixedBottom ? (l(), u("span", io)) : p("", !0)
2341
2341
  ])) : p("", !0)
@@ -2344,9 +2344,9 @@ const Bg = (e, t = null) => {
2344
2344
  e.chat.dialogsExpanded ? p("", !0) : (l(), u("button", {
2345
2345
  key: 0,
2346
2346
  class: "chat-item__menu-button",
2347
- onClick: h[1] || (h[1] = (w) => e.chat.dialogsExpanded = !e.chat.dialogsExpanded),
2347
+ onClick: w[1] || (w[1] = (_) => e.chat.dialogsExpanded = !e.chat.dialogsExpanded),
2348
2348
  id: "noSelectButton"
2349
- }, h[6] || (h[6] = [
2349
+ }, w[6] || (w[6] = [
2350
2350
  o("span", {
2351
2351
  id: "noSelectButton",
2352
2352
  class: "pi pi-angle-down"
@@ -2355,9 +2355,9 @@ const Bg = (e, t = null) => {
2355
2355
  e.chat.dialogsExpanded ? (l(), u("button", {
2356
2356
  key: 1,
2357
2357
  class: "chat-item__menu-button",
2358
- onClick: h[2] || (h[2] = (w) => e.chat.dialogsExpanded = !e.chat.dialogsExpanded),
2358
+ onClick: w[2] || (w[2] = (_) => e.chat.dialogsExpanded = !e.chat.dialogsExpanded),
2359
2359
  id: "noSelectButton"
2360
- }, h[7] || (h[7] = [
2360
+ }, w[7] || (w[7] = [
2361
2361
  o("span", {
2362
2362
  id: "noSelectButton",
2363
2363
  class: "pi pi-angle-up"
@@ -2366,35 +2366,35 @@ const Bg = (e, t = null) => {
2366
2366
  ])) : p("", !0)
2367
2367
  ], 34),
2368
2368
  e.chat.dialogsExpanded ? (l(), u("div", lo, [
2369
- (l(!0), u(H, null, ae(m(), (w) => (l(), u("div", {
2370
- class: j(["dialog__item", d(w)]),
2371
- onClick: (x) => c(w)
2369
+ (l(!0), u(H, null, ae(m(), (_) => (l(), u("div", {
2370
+ class: V(["dialog__item", d(_)]),
2371
+ onClick: (j) => c(_)
2372
2372
  }, [
2373
- w.icon ? (l(), u("img", {
2373
+ _.icon ? (l(), u("img", {
2374
2374
  key: 0,
2375
2375
  class: "dialog__icon",
2376
- src: w.icon,
2376
+ src: _.icon,
2377
2377
  height: "16",
2378
2378
  width: "16"
2379
2379
  }, null, 8, Ao)) : (l(), u("span", co)),
2380
2380
  o("div", uo, [
2381
- o("div", go, E(w.name), 1),
2382
- o("div", mo, E(w["lastActivity.time"]), 1)
2381
+ o("div", go, E(_.name), 1),
2382
+ o("div", mo, E(_["lastActivity.time"]), 1)
2383
2383
  ]),
2384
- w.countUnread > 0 ? (l(), u("div", {
2384
+ _.countUnread > 0 ? (l(), u("div", {
2385
2385
  key: 2,
2386
2386
  class: "chat-item__unread",
2387
- style: re({ backgroundColor: w.colorUnread ? w.colorUnread : null })
2388
- }, E(w.countUnread > 99 ? "99+" : w.countUnread), 5)) : p("", !0)
2387
+ style: re({ backgroundColor: _.colorUnread ? _.colorUnread : null })
2388
+ }, E(_.countUnread > 99 ? "99+" : _.countUnread), 5)) : p("", !0)
2389
2389
  ], 10, ro))), 256))
2390
2390
  ])) : p("", !0)
2391
2391
  ]));
2392
2392
  }
2393
- }), Un = /* @__PURE__ */ R(po, [["__scopeId", "data-v-db6787da"]]), ho = ["placeholder"], vo = {
2393
+ }), Un = /* @__PURE__ */ R(po, [["__scopeId", "data-v-392e5522"]]), ho = ["placeholder"], vo = {
2394
2394
  __name: "ChatFilter",
2395
2395
  emits: ["update"],
2396
2396
  setup(e, { emit: t }) {
2397
- const n = y(""), f = t, a = () => {
2397
+ const n = v(""), f = t, a = () => {
2398
2398
  const s = N(n);
2399
2399
  f("update", s.value);
2400
2400
  };
@@ -2448,57 +2448,57 @@ const Bg = (e, t = null) => {
2448
2448
  setup(e, { emit: t }) {
2449
2449
  const n = e, f = te("chatAppId"), { setMessageText: a } = we(f), s = () => {
2450
2450
  i("closeTemplateWindow"), a(c.value.template);
2451
- }, i = t, r = y(null), c = y(null), A = y(""), d = y(), g = y(""), m = y(""), M = y(""), _ = y(!1), v = $(() => !!(_.value && (M.value == "grid" && m.value == "none" || m.value == "grid" && g.value == "none"))), k = $(() => !!(_.value && (g.value == "grid" && m.value == "none" || m.value == "grid" && M.value == "none"))), T = () => {
2452
- _.value && (m.value == "grid" ? I() : M.value == "grid" && w());
2453
- }, b = () => {
2454
- _.value && (m.value == "grid" ? h() : g.value == "grid" && w());
2455
- }, I = () => {
2456
- const C = document.getElementById("template-selector-container-" + f);
2457
- C.style.setProperty("--chotto-template-first-col-display", "grid"), C.style.setProperty("--chotto-template-second-col-display", "none"), x();
2458
- }, h = () => {
2451
+ }, i = t, r = v(null), c = v(null), A = v(""), d = v(), g = v(""), m = v(""), b = v(""), I = v(!1), h = $(() => !!(I.value && (b.value == "grid" && m.value == "none" || m.value == "grid" && g.value == "none"))), k = $(() => !!(I.value && (g.value == "grid" && m.value == "none" || m.value == "grid" && b.value == "none"))), x = () => {
2452
+ I.value && (m.value == "grid" ? M() : b.value == "grid" && _());
2453
+ }, y = () => {
2454
+ I.value && (m.value == "grid" ? w() : g.value == "grid" && _());
2455
+ }, M = () => {
2459
2456
  const C = document.getElementById("template-selector-container-" + f);
2460
- C.style.setProperty("--chotto-template-third-col-display", "grid"), C.style.setProperty("--chotto-template-second-col-display", "none"), x();
2457
+ C.style.setProperty("--chotto-template-first-col-display", "grid"), C.style.setProperty("--chotto-template-second-col-display", "none"), j();
2461
2458
  }, w = () => {
2462
2459
  const C = document.getElementById("template-selector-container-" + f);
2463
- C.style.setProperty("--chotto-template-second-col-display", "grid"), C.style.setProperty("--chotto-template-first-col-display", "none"), C.style.setProperty("--chotto-template-third-col-display", "none"), x();
2464
- }, x = () => {
2460
+ C.style.setProperty("--chotto-template-third-col-display", "grid"), C.style.setProperty("--chotto-template-second-col-display", "none"), j();
2461
+ }, _ = () => {
2462
+ const C = document.getElementById("template-selector-container-" + f);
2463
+ C.style.setProperty("--chotto-template-second-col-display", "grid"), C.style.setProperty("--chotto-template-first-col-display", "none"), C.style.setProperty("--chotto-template-third-col-display", "none"), j();
2464
+ }, j = () => {
2465
2465
  const C = document.getElementById("template-selector-container-" + f), O = window.getComputedStyle(C);
2466
- g.value = O.getPropertyValue("--chotto-template-first-col-display"), m.value = O.getPropertyValue("--chotto-template-second-col-display"), M.value = O.getPropertyValue("--chotto-template-third-col-display");
2467
- }, S = (C) => {
2468
- n.templates.forEach((O) => O.isSelected = !1), C.isSelected = !0, c.value = C, h();
2469
- }, B = () => {
2470
- w(), n.templates.forEach((C) => C.isSelected = !1);
2466
+ g.value = O.getPropertyValue("--chotto-template-first-col-display"), m.value = O.getPropertyValue("--chotto-template-second-col-display"), b.value = O.getPropertyValue("--chotto-template-third-col-display");
2467
+ }, T = (C) => {
2468
+ n.templates.forEach((O) => O.isSelected = !1), C.isSelected = !0, c.value = C, w();
2469
+ }, z = () => {
2470
+ _(), n.templates.forEach((C) => C.isSelected = !1);
2471
2471
  }, P = $(() => r.value ? n.templates.filter((C) => C.groupId === r.value.groupId) : n.templates), Q = $(() => {
2472
2472
  const C = A.value.trim().toLowerCase();
2473
2473
  return P.value.filter((O) => O.title.toLowerCase().includes(C) || O.template.toLowerCase().includes(C));
2474
2474
  }), Y = new ResizeObserver((C) => {
2475
2475
  const O = C[0].target.clientWidth;
2476
- O > 700 && (_.value = !1), O < 700 && (_.value = !0);
2476
+ O > 700 && (I.value = !1), O < 700 && (I.value = !0);
2477
2477
  });
2478
2478
  return oe(() => {
2479
- x(), N(d) && Y.observe(N(d));
2479
+ j(), N(d) && Y.observe(N(d));
2480
2480
  }), (C, O) => (l(), u("div", bo, [
2481
2481
  o("div", {
2482
2482
  id: "template-selector-container-" + N(f),
2483
2483
  ref_key: "refContainer",
2484
2484
  ref: d,
2485
- class: j({
2485
+ class: V({
2486
2486
  "template-selector__container-inline": !e.elevatedWindow,
2487
2487
  "template-selector__container-elevated": e.elevatedWindow
2488
2488
  })
2489
2489
  }, [
2490
2490
  o("div", _o, [
2491
2491
  o("div", Io, [
2492
- v.value ? (l(), u("button", wo, [
2492
+ h.value ? (l(), u("button", wo, [
2493
2493
  o("span", {
2494
2494
  class: "pi pi-arrow-left",
2495
- onClick: T
2495
+ onClick: x
2496
2496
  })
2497
2497
  ])) : p("", !0),
2498
2498
  k.value ? (l(), u("button", ko, [
2499
2499
  o("span", {
2500
2500
  class: "pi pi-arrow-right",
2501
- onClick: b
2501
+ onClick: y
2502
2502
  })
2503
2503
  ])) : p("", !0)
2504
2504
  ]),
@@ -2515,10 +2515,10 @@ const Bg = (e, t = null) => {
2515
2515
  class: "template-selector__first-col"
2516
2516
  }, [
2517
2517
  o("ul", To, [
2518
- (l(!0), u(H, null, ae(e.groupTemplates, (X, z) => (l(), u("li", {
2519
- key: z,
2520
- class: j(["template-selector__item-group", { "template-selector__item-selected": r.value === X }]),
2521
- onClick: B
2518
+ (l(!0), u(H, null, ae(e.groupTemplates, (X, L) => (l(), u("li", {
2519
+ key: L,
2520
+ class: V(["template-selector__item-group", { "template-selector__item-selected": r.value === X }]),
2521
+ onClick: z
2522
2522
  }, [
2523
2523
  o("label", jo, [
2524
2524
  X.iconUrl ? (l(), u("img", {
@@ -2528,8 +2528,8 @@ const Bg = (e, t = null) => {
2528
2528
  alt: X.title
2529
2529
  }, null, 8, xo)) : p("", !0),
2530
2530
  ce(o("input", {
2531
- id: z,
2532
- "onUpdate:modelValue": O[1] || (O[1] = (L) => r.value = L),
2531
+ id: L,
2532
+ "onUpdate:modelValue": O[1] || (O[1] = (U) => r.value = U),
2533
2533
  value: X,
2534
2534
  class: "template-selector__input-group",
2535
2535
  type: "radio"
@@ -2552,15 +2552,15 @@ const Bg = (e, t = null) => {
2552
2552
  type: "text",
2553
2553
  placeholder: "Поиск шаблона"
2554
2554
  }, null, 512), [
2555
- [ot, A.value]
2555
+ [lt, A.value]
2556
2556
  ])
2557
2557
  ]),
2558
2558
  o("div", Oo, [
2559
2559
  Q.value.length !== 0 ? (l(), u("ul", zo, [
2560
- (l(!0), u(H, null, ae(Q.value, (X, z) => (l(), u("li", {
2561
- key: z,
2562
- class: j(["template-selector__item-template", { "template-selector__item-selected": X.isSelected }]),
2563
- onClick: (L) => S(X)
2560
+ (l(!0), u(H, null, ae(Q.value, (X, L) => (l(), u("li", {
2561
+ key: L,
2562
+ class: V(["template-selector__item-template", { "template-selector__item-selected": X.isSelected }]),
2563
+ onClick: (U) => T(X)
2564
2564
  }, [
2565
2565
  o("div", Uo, [
2566
2566
  o("p", Bo, E(X.title), 1),
@@ -2591,7 +2591,7 @@ const Bg = (e, t = null) => {
2591
2591
  ], 10, Mo)
2592
2592
  ]));
2593
2593
  }
2594
- }, Ko = /* @__PURE__ */ R(Wo, [["__scopeId", "data-v-5c905a19"]]), Jo = {
2594
+ }, Ko = /* @__PURE__ */ R(Wo, [["__scopeId", "data-v-10a84eb8"]]), Jo = {
2595
2595
  __name: "ButtonTemplateSelector",
2596
2596
  props: {
2597
2597
  templates: {
@@ -2619,7 +2619,7 @@ const Bg = (e, t = null) => {
2619
2619
  }
2620
2620
  },
2621
2621
  setup(e) {
2622
- const t = e, n = te("chatAppId"), { getMessage: f } = we(n), a = y(null), s = y(null), i = () => {
2622
+ const t = e, n = te("chatAppId"), { getMessage: f } = we(n), a = v(null), s = v(null), i = () => {
2623
2623
  t.mode == "click" && t.state == "active" && (s.value.style.display == "none" ? s.value.style.display = "inherit" : s.value.style.display == "inherit" && (s.value.style.display = "none"));
2624
2624
  }, r = () => {
2625
2625
  t.mode == "hover" && t.state == "active" && (s.value.style.display = "inherit");
@@ -2635,7 +2635,7 @@ const Bg = (e, t = null) => {
2635
2635
  key: 0,
2636
2636
  ref_key: "templateButton",
2637
2637
  ref: a,
2638
- class: j(["button-template", { "button-template-disabled": e.state == "disabled" }]),
2638
+ class: V(["button-template", { "button-template-disabled": e.state == "disabled" }]),
2639
2639
  onClick: i,
2640
2640
  onMouseover: r,
2641
2641
  onMouseout: c
@@ -2662,7 +2662,7 @@ const Bg = (e, t = null) => {
2662
2662
  })
2663
2663
  ], 64));
2664
2664
  }
2665
- }, $g = /* @__PURE__ */ R(Jo, [["__scopeId", "data-v-181c2a86"]]), Go = ["id"], Zo = {
2665
+ }, $g = /* @__PURE__ */ R(Jo, [["__scopeId", "data-v-cc655bb7"]]), Go = ["id"], Zo = {
2666
2666
  __name: "PlaceholderComponent",
2667
2667
  props: {
2668
2668
  index: {
@@ -2680,7 +2680,7 @@ const Bg = (e, t = null) => {
2680
2680
  },
2681
2681
  emits: ["edit"],
2682
2682
  setup(e, { emit: t }) {
2683
- const n = te("chatAppId"), f = e, a = t, s = y(f.value), i = y();
2683
+ const n = te("chatAppId"), f = e, a = t, s = v(f.value), i = v();
2684
2684
  ee(
2685
2685
  () => f.isFilled,
2686
2686
  () => {
@@ -2715,7 +2715,7 @@ const Bg = (e, t = null) => {
2715
2715
  ref_key: "refPlaceholder",
2716
2716
  ref: i,
2717
2717
  contenteditable: "",
2718
- class: j([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"]),
2718
+ class: V([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"]),
2719
2719
  onKeydown: tf(A, ["enter"]),
2720
2720
  onFocus: r,
2721
2721
  onBlur: c
@@ -2738,7 +2738,7 @@ const Bg = (e, t = null) => {
2738
2738
  },
2739
2739
  emits: ["fileSelected"],
2740
2740
  setup(e, { emit: t }) {
2741
- const n = e, f = y(te("filebumpUrl")), a = y(null), s = y(), i = y(""), r = y(""), c = y(), A = t, d = () => {
2741
+ const n = e, f = v(te("filebumpUrl")), a = v(null), s = v(), i = v(""), r = v(""), c = v(), A = t, d = () => {
2742
2742
  s.value && r.value != "success" && s.value.click();
2743
2743
  }, g = {
2744
2744
  DOCUMENT: {
@@ -2762,52 +2762,52 @@ const Bg = (e, t = null) => {
2762
2762
  error: "Некорректный тип файла, выберите MP4 или MOV",
2763
2763
  icon: "pi pi-video"
2764
2764
  }
2765
- }, m = (_) => {
2766
- const v = _.target.files[0];
2767
- if (v) {
2765
+ }, m = (I) => {
2766
+ const h = I.target.files[0];
2767
+ if (h) {
2768
2768
  i.value = "";
2769
- const k = v.name.split(".");
2769
+ const k = h.name.split(".");
2770
2770
  if (g[n.type].accept.indexOf(k[k.length - 1]) == -1)
2771
2771
  i.value = g[n.type].error;
2772
- else if (v.size > g[n.type].maxSize)
2772
+ else if (h.size > g[n.type].maxSize)
2773
2773
  i.value = "Файл слишком большого размера";
2774
2774
  else if (!i.value) {
2775
- a.value = v, r.value = "uploading";
2776
- const b = N(f.value);
2777
- Dn(typeof b == "string" ? b : null, v).then((I) => {
2778
- r.value = I.status, I.status == "success" && (A("fileSelected", {
2779
- url: I.url,
2780
- filename: I.name,
2781
- filesize: I.size,
2782
- filetype: I.type
2783
- }), I.preview && (c.value = {
2784
- previewUrl: I.preview.previewUrl,
2785
- isImage: I.preview.isImage,
2786
- isVideo: I.preview.isVideo,
2787
- isAudio: I.preview.isAudio,
2788
- fileName: I.name,
2789
- fileSize: I.preview.fileSize
2775
+ a.value = h, r.value = "uploading";
2776
+ const y = N(f.value);
2777
+ Dn(typeof y == "string" ? y : null, h).then((M) => {
2778
+ r.value = M.status, M.status == "success" && (A("fileSelected", {
2779
+ url: M.url,
2780
+ filename: M.name,
2781
+ filesize: M.size,
2782
+ filetype: M.type
2783
+ }), M.preview && (c.value = {
2784
+ previewUrl: M.preview.previewUrl,
2785
+ isImage: M.preview.isImage,
2786
+ isVideo: M.preview.isVideo,
2787
+ isAudio: M.preview.isAudio,
2788
+ fileName: M.name,
2789
+ fileSize: M.preview.fileSize
2790
2790
  }));
2791
2791
  });
2792
2792
  }
2793
2793
  }
2794
- }, M = () => {
2794
+ }, b = () => {
2795
2795
  a.value && (a.value = null, r.value = "");
2796
2796
  };
2797
2797
  return ee(
2798
2798
  () => r.value,
2799
- (_) => {
2800
- _ === "" && (s.value && (s.value.value = ""), a.value = null, A("fileSelected", null));
2799
+ (I) => {
2800
+ I === "" && (s.value && (s.value.value = ""), a.value = null, A("fileSelected", null));
2801
2801
  }
2802
2802
  ), ee(
2803
2803
  () => n.templateId,
2804
2804
  () => {
2805
2805
  r.value = "";
2806
2806
  }
2807
- ), (_, v) => (l(), u(H, null, [
2807
+ ), (I, h) => (l(), u(H, null, [
2808
2808
  r.value !== "success" ? (l(), u("div", {
2809
2809
  key: 0,
2810
- class: j(["attachment-section", { "attachment-section__error": i.value }]),
2810
+ class: V(["attachment-section", { "attachment-section__error": i.value }]),
2811
2811
  onClick: d
2812
2812
  }, [
2813
2813
  o("input", {
@@ -2819,15 +2819,15 @@ const Bg = (e, t = null) => {
2819
2819
  accept: g[e.type].accept,
2820
2820
  onChange: m
2821
2821
  }, null, 40, el),
2822
- v[1] || (v[1] = o("span", { class: "pi pi-paperclip attachment-section__icon" }, null, -1)),
2822
+ h[1] || (h[1] = o("span", { class: "pi pi-paperclip attachment-section__icon" }, null, -1)),
2823
2823
  o("div", null, [
2824
- v[0] || (v[0] = o("p", { class: "attachment-section__title" }, " Прикрепить файл ", -1)),
2824
+ h[0] || (h[0] = o("p", { class: "attachment-section__title" }, " Прикрепить файл ", -1)),
2825
2825
  o("p", tl, E(g[e.type].text), 1)
2826
2826
  ])
2827
- ], 2)) : r.value === "success" && c.value ? (l(), U(Nn, {
2827
+ ], 2)) : r.value === "success" && c.value ? (l(), B(Nn, {
2828
2828
  key: 1,
2829
2829
  "file-info": c.value,
2830
- onReset: M
2830
+ onReset: b
2831
2831
  }, null, 8, ["file-info"])) : p("", !0),
2832
2832
  i.value ? (l(), u("div", nl, E(i.value), 1)) : p("", !0)
2833
2833
  ], 64));
@@ -2858,7 +2858,7 @@ const Bg = (e, t = null) => {
2858
2858
  r[0] || (r[0] = o("hr", { class: "quick-reply-buttons__separator" }, null, -1)),
2859
2859
  o("div", ol, [
2860
2860
  o("span", {
2861
- class: j(["quick-reply-buttons__icon pi pi-arrow-up-left", A == 2 && e.buttons.length > 3 ? "pi-list" : a[c.type]])
2861
+ class: V(["quick-reply-buttons__icon pi pi-arrow-up-left", A == 2 && e.buttons.length > 3 ? "pi-list" : a[c.type]])
2862
2862
  }, null, 2),
2863
2863
  o("p", null, E(A == 2 && e.buttons.length > 3 ? "Смотреть все варианты" : c.text), 1)
2864
2864
  ])
@@ -2894,7 +2894,7 @@ const Bg = (e, t = null) => {
2894
2894
  key: r
2895
2895
  }, [
2896
2896
  o("span", {
2897
- class: j(["pi pi-arrow-up-left", n[i.type]])
2897
+ class: V(["pi pi-arrow-up-left", n[i.type]])
2898
2898
  }, null, 2),
2899
2899
  o("p", null, E(i.text), 1)
2900
2900
  ]))), 128))
@@ -2947,91 +2947,91 @@ const Bg = (e, t = null) => {
2947
2947
  a("closeTemplateWindow"), Ze();
2948
2948
  }, i = () => {
2949
2949
  a("closeTemplateWindow");
2950
- const V = {
2950
+ const S = {
2951
2951
  text: "",
2952
2952
  templateId: "",
2953
2953
  values: [],
2954
2954
  file: null,
2955
2955
  buttons: null
2956
2956
  };
2957
- g.value ? (V.text = ze.value, V.templateId = d.value.templateId, V.values = Pe.value, V.file = g.value) : (V.text = ze.value, V.templateId = d.value.templateId, V.values = Pe.value), d.value.buttons && (V.buttons = d.value.buttons), a("sendWabaValues", V), Ze();
2958
- }, r = (V) => {
2959
- g.value = V;
2960
- }, c = y(null), A = y(null), d = y(null), g = y(null), m = y(""), M = y(!1), _ = () => {
2961
- M.value = !M.value, M.value ? (c.value.scrollTop = 0, c.value.style["overflow-y"] = "hidden") : c.value.style["overflow-y"] = "scroll";
2962
- }, v = (V) => {
2963
- Object.keys(I).forEach((G) => {
2964
- I[G] = "";
2965
- }), g.value = null, n.wabaTemplates.forEach((G) => G.isSelected = !1), V.isSelected = !0, d.value = V, M.value = !1, z();
2957
+ g.value ? (S.text = ze.value, S.templateId = d.value.templateId, S.values = Pe.value, S.file = g.value) : (S.text = ze.value, S.templateId = d.value.templateId, S.values = Pe.value), d.value.buttons && (S.buttons = d.value.buttons), a("sendWabaValues", S), Ze();
2958
+ }, r = (S) => {
2959
+ g.value = S;
2960
+ }, c = v(null), A = v(null), d = v(null), g = v(null), m = v(""), b = v(!1), I = () => {
2961
+ b.value = !b.value, b.value ? (c.value.scrollTop = 0, c.value.style["overflow-y"] = "hidden") : c.value.style["overflow-y"] = "scroll";
2962
+ }, h = (S) => {
2963
+ Object.keys(M).forEach((G) => {
2964
+ M[G] = "";
2965
+ }), g.value = null, n.wabaTemplates.forEach((G) => G.isSelected = !1), S.isSelected = !0, d.value = S, b.value = !1, L();
2966
2966
  }, k = () => {
2967
- L(), n.wabaTemplates.forEach((V) => V.isSelected = !1);
2968
- }, T = $(() => A.value ? n.wabaTemplates.filter((V) => V.groupId === A.value.groupId) : n.wabaTemplates), b = $(() => {
2969
- const V = m.value.trim().toLowerCase();
2970
- return T.value.filter((G) => G.title.toLowerCase().includes(V) || G.template.toLowerCase().includes(V));
2971
- }), I = aa({}), h = y(null), w = y(), x = y(""), S = y(""), B = y(""), P = y(!1), Q = $(() => !!(P.value && (B.value == "grid" && S.value == "none" || S.value == "grid" && x.value == "none"))), Y = $(() => !!(P.value && (x.value == "grid" && S.value == "none" || S.value == "grid" && B.value == "none"))), C = () => {
2972
- P.value && (S.value == "grid" ? X() : B.value == "grid" && L());
2967
+ U(), n.wabaTemplates.forEach((S) => S.isSelected = !1);
2968
+ }, x = $(() => A.value ? n.wabaTemplates.filter((S) => S.groupId === A.value.groupId) : n.wabaTemplates), y = $(() => {
2969
+ const S = m.value.trim().toLowerCase();
2970
+ return x.value.filter((G) => G.title.toLowerCase().includes(S) || G.template.toLowerCase().includes(S));
2971
+ }), M = aa({}), w = v(null), _ = v(), j = v(""), T = v(""), z = v(""), P = v(!1), Q = $(() => !!(P.value && (z.value == "grid" && T.value == "none" || T.value == "grid" && j.value == "none"))), Y = $(() => !!(P.value && (j.value == "grid" && T.value == "none" || T.value == "grid" && z.value == "none"))), C = () => {
2972
+ P.value && (T.value == "grid" ? X() : z.value == "grid" && U());
2973
2973
  }, O = () => {
2974
- P.value && (S.value == "grid" ? z() : x.value == "grid" && L());
2974
+ P.value && (T.value == "grid" ? L() : j.value == "grid" && U());
2975
2975
  }, X = () => {
2976
- const V = document.getElementById("waba-template-selector-container-" + f);
2977
- V.style.setProperty("--chotto-waba-template-first-col-display", "grid"), V.style.setProperty("--chotto-waba-template-second-col-display", "none"), console.log(V, window.getComputedStyle(V).getPropertyValue("--waba-template-first-col-display")), J();
2978
- }, z = () => {
2979
- const V = document.getElementById("waba-template-selector-container-" + f);
2980
- V.style.setProperty("--chotto-waba-template-third-col-display", "grid"), V.style.setProperty("--chotto-waba-template-second-col-display", "none"), J();
2976
+ const S = document.getElementById("waba-template-selector-container-" + f);
2977
+ S.style.setProperty("--chotto-waba-template-first-col-display", "grid"), S.style.setProperty("--chotto-waba-template-second-col-display", "none"), console.log(S, window.getComputedStyle(S).getPropertyValue("--waba-template-first-col-display")), J();
2981
2978
  }, L = () => {
2982
- const V = document.getElementById("waba-template-selector-container-" + f);
2983
- V.style.setProperty("--chotto-waba-template-second-col-display", "grid"), V.style.setProperty("--chotto-waba-template-first-col-display", "none"), V.style.setProperty("--chotto-waba-template-third-col-display", "none"), J();
2979
+ const S = document.getElementById("waba-template-selector-container-" + f);
2980
+ S.style.setProperty("--chotto-waba-template-third-col-display", "grid"), S.style.setProperty("--chotto-waba-template-second-col-display", "none"), J();
2981
+ }, U = () => {
2982
+ const S = document.getElementById("waba-template-selector-container-" + f);
2983
+ S.style.setProperty("--chotto-waba-template-second-col-display", "grid"), S.style.setProperty("--chotto-waba-template-first-col-display", "none"), S.style.setProperty("--chotto-waba-template-third-col-display", "none"), J();
2984
2984
  }, J = () => {
2985
- const V = document.getElementById("waba-template-selector-container-" + f), G = window.getComputedStyle(V);
2986
- x.value = G.getPropertyValue("--chotto-waba-template-first-col-display"), S.value = G.getPropertyValue("--chotto-waba-template-second-col-display"), B.value = G.getPropertyValue("--chotto-waba-template-third-col-display");
2987
- }, de = (V) => {
2988
- I[V[1]] = V[0];
2985
+ const S = document.getElementById("waba-template-selector-container-" + f), G = window.getComputedStyle(S);
2986
+ j.value = G.getPropertyValue("--chotto-waba-template-first-col-display"), T.value = G.getPropertyValue("--chotto-waba-template-second-col-display"), z.value = G.getPropertyValue("--chotto-waba-template-third-col-display");
2987
+ }, de = (S) => {
2988
+ M[S[1]] = S[0];
2989
2989
  }, le = $(() => {
2990
2990
  var De;
2991
- const V = (De = d.value) == null ? void 0 : De.template;
2992
- if (!V) return [];
2993
- const G = [...V.matchAll(/{{\d+}}/g)], F = [];
2991
+ const S = (De = d.value) == null ? void 0 : De.template;
2992
+ if (!S) return [];
2993
+ const G = [...S.matchAll(/{{\d+}}/g)], F = [];
2994
2994
  let ie = 0;
2995
2995
  return G.forEach((Fe) => {
2996
- Fe.index > ie && F.push(V.substring(ie, Fe.index)), F.push({ index: parseInt(Fe[0].slice(2, -2)) }), ie = Fe.index + Fe[0].length;
2997
- }), ie < V.length && F.push(V.substring(ie)), F;
2996
+ Fe.index > ie && F.push(S.substring(ie, Fe.index)), F.push({ index: parseInt(Fe[0].slice(2, -2)) }), ie = Fe.index + Fe[0].length;
2997
+ }), ie < S.length && F.push(S.substring(ie)), F;
2998
2998
  }), Ge = $(() => {
2999
2999
  var G, F;
3000
3000
  if (!d.value)
3001
3001
  return !0;
3002
3002
  if (!((G = d.value) != null && G.template.match(/{{\d+}}/gi)))
3003
3003
  return !1;
3004
- const V = Object.keys(I).length !== ((F = d.value) == null ? void 0 : F.template.match(/{{\d+}}/gi).length);
3004
+ const S = Object.keys(M).length !== ((F = d.value) == null ? void 0 : F.template.match(/{{\d+}}/gi).length);
3005
3005
  if (d.value.type === "TEXT")
3006
- return V;
3006
+ return S;
3007
3007
  if (d.value.type !== "TEXT")
3008
- return V || !g.value;
3008
+ return S || !g.value;
3009
3009
  }), Ze = () => {
3010
- Object.keys(I).forEach((V) => {
3011
- I[V] = "";
3012
- }), g.value = null, d.value = null, n.wabaTemplates.forEach((V) => V.isSelected = !1);
3010
+ Object.keys(M).forEach((S) => {
3011
+ M[S] = "";
3012
+ }), g.value = null, d.value = null, n.wabaTemplates.forEach((S) => S.isSelected = !1);
3013
3013
  }, ze = $(() => {
3014
3014
  console.log(le.value, d.value.buttons);
3015
- let V = le.value.map((F) => typeof F == "string" ? F : I[F.index]).join(""), G = "";
3015
+ let S = le.value.map((F) => typeof F == "string" ? F : M[F.index]).join(""), G = "";
3016
3016
  return d.value.buttons && (G = d.value.buttons.map((F) => `
3017
- | [` + F.text + "]").join("")), V.concat(G);
3017
+ | [` + F.text + "]").join("")), S.concat(G);
3018
3018
  }), Pe = $(() => {
3019
- const V = [];
3020
- for (const G in I)
3021
- I[G] !== "" && I[G] !== "Заполнить" && V.push(I[G]);
3022
- return V;
3023
- }), Le = new ResizeObserver((V) => {
3024
- const G = V[0].target.clientWidth;
3019
+ const S = [];
3020
+ for (const G in M)
3021
+ M[G] !== "" && M[G] !== "Заполнить" && S.push(M[G]);
3022
+ return S;
3023
+ }), Le = new ResizeObserver((S) => {
3024
+ const G = S[0].target.clientWidth;
3025
3025
  G > 700 && (P.value = !1), G < 700 && (P.value = !0);
3026
3026
  });
3027
3027
  return oe(() => {
3028
- J(), N(w) && Le.observe(N(w));
3029
- }), (V, G) => (l(), u("div", ml, [
3028
+ J(), N(_) && Le.observe(N(_));
3029
+ }), (S, G) => (l(), u("div", ml, [
3030
3030
  o("div", {
3031
3031
  id: "waba-template-selector-container-" + N(f),
3032
3032
  ref_key: "refContainer",
3033
- ref: w,
3034
- class: j({
3033
+ ref: _,
3034
+ class: V({
3035
3035
  "template-selector__container-inline": !e.elevatedWindow,
3036
3036
  "template-selector__container-elevated": e.elevatedWindow
3037
3037
  })
@@ -3063,7 +3063,7 @@ const Bg = (e, t = null) => {
3063
3063
  o("ul", Il, [
3064
3064
  (l(!0), u(H, null, ae(e.groupTemplates, (F, ie) => (l(), u("li", {
3065
3065
  key: ie,
3066
- class: j(["template-selector__item-group", { "template-selector__item-selected": A.value === F }]),
3066
+ class: V(["template-selector__item-group", { "template-selector__item-selected": A.value === F }]),
3067
3067
  onClick: k
3068
3068
  }, [
3069
3069
  o("label", wl, [
@@ -3095,15 +3095,15 @@ const Bg = (e, t = null) => {
3095
3095
  type: "text",
3096
3096
  placeholder: "Поиск шаблона"
3097
3097
  }, null, 512), [
3098
- [ot, m.value]
3098
+ [lt, m.value]
3099
3099
  ])
3100
3100
  ]),
3101
3101
  o("div", Tl, [
3102
- b.value.length !== 0 ? (l(), u("ul", jl, [
3103
- (l(!0), u(H, null, ae(b.value, (F, ie) => (l(), u("li", {
3102
+ y.value.length !== 0 ? (l(), u("ul", jl, [
3103
+ (l(!0), u(H, null, ae(y.value, (F, ie) => (l(), u("li", {
3104
3104
  key: ie,
3105
- class: j(["template-selector__item-template", { "template-selector__item-selected": F.isSelected }]),
3106
- onClick: (De) => v(F)
3105
+ class: V(["template-selector__item-template", { "template-selector__item-selected": F.isSelected }]),
3106
+ onClick: (De) => h(F)
3107
3107
  }, [
3108
3108
  o("div", Vl, [
3109
3109
  o("p", Sl, E(F.title), 1),
@@ -3121,7 +3121,7 @@ const Bg = (e, t = null) => {
3121
3121
  }, [
3122
3122
  le.value.length > 0 ? (l(), u("div", Ll, [
3123
3123
  o("div", Ul, [
3124
- d.value.type != "TEXT" ? (l(), U(al, {
3124
+ d.value.type != "TEXT" ? (l(), B(al, {
3125
3125
  key: 0,
3126
3126
  type: d.value.type,
3127
3127
  "template-id": d.value.templateId,
@@ -3129,32 +3129,32 @@ const Bg = (e, t = null) => {
3129
3129
  }, null, 8, ["type", "template-id"])) : p("", !0),
3130
3130
  o("div", Bl, [
3131
3131
  (l(!0), u(H, null, ae(le.value, (F, ie) => (l(), u(H, { key: ie }, [
3132
- typeof F == "string" ? (l(), u("span", Rl, E(F), 1)) : typeof F == "object" ? (l(), U(Xo, {
3132
+ typeof F == "string" ? (l(), u("span", Rl, E(F), 1)) : typeof F == "object" ? (l(), B(Xo, {
3133
3133
  key: 1,
3134
3134
  index: F.index,
3135
- value: I[F.index] || "Заполнить",
3136
- "is-filled": !!I[F.index],
3137
- onClick: (De) => h.value = F.index,
3135
+ value: M[F.index] || "Заполнить",
3136
+ "is-filled": !!M[F.index],
3137
+ onClick: (De) => w.value = F.index,
3138
3138
  onEdit: de
3139
3139
  }, null, 8, ["index", "value", "is-filled", "onClick"])) : p("", !0)
3140
3140
  ], 64))), 128))
3141
3141
  ]),
3142
3142
  G[2] || (G[2] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1)),
3143
- d.value.buttons ? (l(), U(rl, {
3143
+ d.value.buttons ? (l(), B(rl, {
3144
3144
  key: 1,
3145
3145
  buttons: d.value.buttons,
3146
- onSelectAllVariants: _
3146
+ onSelectAllVariants: I
3147
3147
  }, null, 8, ["buttons"])) : p("", !0)
3148
3148
  ])
3149
3149
  ])) : (l(), u("p", Ql, " Предпросмотр шаблона ")),
3150
- M.value ? (l(), u("div", $l, [
3150
+ b.value ? (l(), u("div", $l, [
3151
3151
  o("div", {
3152
3152
  class: "template-selector__semitransparent-overlay",
3153
- onClick: _
3153
+ onClick: I
3154
3154
  }),
3155
3155
  W(gl, {
3156
3156
  buttons: d.value.buttons,
3157
- onSelectAllVariants: _
3157
+ onSelectAllVariants: I
3158
3158
  }, null, 8, ["buttons"])
3159
3159
  ])) : p("", !0)
3160
3160
  ], 512),
@@ -3168,7 +3168,7 @@ const Bg = (e, t = null) => {
3168
3168
  ], 10, pl)
3169
3169
  ]));
3170
3170
  }
3171
- }, Fl = /* @__PURE__ */ R(Pl, [["__scopeId", "data-v-6ad572ae"]]), ql = {
3171
+ }, Fl = /* @__PURE__ */ R(Pl, [["__scopeId", "data-v-b18c2a65"]]), ql = {
3172
3172
  __name: "ButtonWabaTemplateSelector",
3173
3173
  props: {
3174
3174
  wabaTemplates: {
@@ -3201,8 +3201,8 @@ const Bg = (e, t = null) => {
3201
3201
  emits: ["sendWabaValues"],
3202
3202
  setup(e, { emit: t }) {
3203
3203
  const n = e;
3204
- In("filebumpUrl", n.filebumpUrl);
3205
- const f = te("chatAppId"), { getMessage: a } = we(f), s = y(null), i = y(null), r = t, c = () => {
3204
+ et("filebumpUrl", n.filebumpUrl);
3205
+ const f = te("chatAppId"), { getMessage: a } = we(f), s = v(null), i = v(null), r = t, c = () => {
3206
3206
  n.mode == "click" && n.state == "active" && (i.value.style.display == "none" ? i.value.style.display = "inherit" : i.value.style.display == "inherit" && (i.value.style.display = "none"));
3207
3207
  }, A = () => {
3208
3208
  n.mode == "hover" && n.state == "active" && (i.value.style.display = "inherit");
@@ -3214,19 +3214,19 @@ const Bg = (e, t = null) => {
3214
3214
  oe(() => {
3215
3215
  i.value.style.display = "none";
3216
3216
  });
3217
- const m = (M) => {
3218
- r("sendWabaValues", M);
3217
+ const m = (b) => {
3218
+ r("sendWabaValues", b);
3219
3219
  };
3220
- return (M, _) => (l(), u(H, null, [
3220
+ return (b, I) => (l(), u(H, null, [
3221
3221
  N(a)().isRecording ? p("", !0) : (l(), u("button", {
3222
3222
  key: 0,
3223
3223
  ref_key: "templateButton",
3224
3224
  ref: s,
3225
- class: j(["button-template", { "button-template-disabled": e.state == "disabled" }]),
3225
+ class: V(["button-template", { "button-template-disabled": e.state == "disabled" }]),
3226
3226
  onClick: c,
3227
3227
  onMouseover: A,
3228
3228
  onMouseout: d
3229
- }, _[0] || (_[0] = [
3229
+ }, I[0] || (I[0] = [
3230
3230
  o("span", { class: "pi pi-code" }, null, -1)
3231
3231
  ]), 34)),
3232
3232
  o("div", {
@@ -3245,7 +3245,7 @@ const Bg = (e, t = null) => {
3245
3245
  ], 544)
3246
3246
  ], 64));
3247
3247
  }
3248
- }, Yg = /* @__PURE__ */ R(ql, [["__scopeId", "data-v-6ad9ba04"]]), va = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", ya = {
3248
+ }, Yg = /* @__PURE__ */ R(ql, [["__scopeId", "data-v-e3b88052"]]), va = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", ya = {
3249
3249
  recent: "Recently used",
3250
3250
  smileys_people: "Smiles & People",
3251
3251
  animals_nature: "Animals & Nature",
@@ -3255,12 +3255,12 @@ const Bg = (e, t = null) => {
3255
3255
  objects: "Objects",
3256
3256
  symbols: "Symbols",
3257
3257
  flags: "Flags"
3258
- }, ba = "u", En = "n", $t = "v", Tt = "r", Hl = {
3258
+ }, ba = "u", En = "n", Yt = "v", jt = "r", Hl = {
3259
3259
  [En]: ["grinning face", "grinning"],
3260
3260
  [ba]: "1f600",
3261
- [Tt]: "1f600"
3262
- }, Mn = "neutral", Wl = "1f3fb", Kl = "1f3fc", Jl = "1f3fd", Gl = "1f3fe", Zl = "1f3ff", Xl = [
3263
- Mn,
3261
+ [jt]: "1f600"
3262
+ }, _n = "neutral", Wl = "1f3fb", Kl = "1f3fc", Jl = "1f3fd", Gl = "1f3fe", Zl = "1f3ff", Xl = [
3263
+ _n,
3264
3264
  Wl,
3265
3265
  Kl,
3266
3266
  Jl,
@@ -15379,11 +15379,11 @@ pr((e) => ({
15379
15379
  get: (t, n, f) => Pf(t, n) || e.get(t, n, f),
15380
15380
  has: (t, n) => !!Pf(t, n) || e.has(t, n)
15381
15381
  }));
15382
- const gf = "EMJ", tt = "emojis", mf = 3;
15382
+ const gf = "EMJ", nt = "emojis", mf = 3;
15383
15383
  async function Mr() {
15384
15384
  (await df(gf, mf, {
15385
15385
  upgrade(t, n) {
15386
- t.objectStoreNames.contains(tt) || t.createObjectStore(tt, {
15386
+ t.objectStoreNames.contains(nt) || t.createObjectStore(nt, {
15387
15387
  keyPath: "id",
15388
15388
  autoIncrement: !0
15389
15389
  }).createIndex("id", "id", {
@@ -15407,14 +15407,14 @@ const _r = {
15407
15407
  groupIcons: {}
15408
15408
  };
15409
15409
  async function Ir() {
15410
- return await (await df(gf, mf)).transaction(tt, "readonly").objectStore(tt).getAll();
15410
+ return await (await df(gf, mf)).transaction(nt, "readonly").objectStore(nt).getAll();
15411
15411
  }
15412
15412
  function wr() {
15413
15413
  const e = aa({
15414
15414
  search: "",
15415
15415
  emoji: Hl,
15416
15416
  activeGroup: "",
15417
- skinTone: Mn,
15417
+ skinTone: _n,
15418
15418
  options: _r,
15419
15419
  additionalGroups: {},
15420
15420
  recent: [],
@@ -15462,13 +15462,13 @@ function wr() {
15462
15462
  e.emoji = g;
15463
15463
  }, i = (g) => {
15464
15464
  e.activeGroup = g;
15465
- }, r = (g = Mn) => {
15465
+ }, r = (g = _n) => {
15466
15466
  e.skinTone = g;
15467
15467
  }, c = (g) => {
15468
15468
  e.options = Object.assign({}, e.options, g), t();
15469
15469
  };
15470
15470
  async function A() {
15471
- (await df(gf, mf)).transaction(tt, "readwrite").objectStore(tt).put({
15471
+ (await df(gf, mf)).transaction(nt, "readwrite").objectStore(nt).put({
15472
15472
  id: 0,
15473
15473
  value: JSON.stringify(e.recent)
15474
15474
  });
@@ -15476,11 +15476,11 @@ function wr() {
15476
15476
  const d = (g) => {
15477
15477
  if (e.options.displayRecent !== !0)
15478
15478
  return;
15479
- const m = e.recent.findIndex((_) => _.u === g.u);
15479
+ const m = e.recent.findIndex((I) => I.u === g.u);
15480
15480
  if (m > 0 && e.recent.splice(m, 1), m === 0)
15481
15481
  return;
15482
- const M = { u: g.u, n: sa(g.n) };
15483
- e.recent = [M, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), A();
15482
+ const b = { u: g.u, n: sa(g.n) };
15483
+ e.recent = [b, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), A();
15484
15484
  };
15485
15485
  return {
15486
15486
  state: Pa(e),
@@ -15492,10 +15492,10 @@ function wr() {
15492
15492
  updateSelect: d
15493
15493
  };
15494
15494
  }
15495
- var ge = "top", _e = "bottom", Ie = "right", me = "left", pf = "auto", Vt = [ge, _e, Ie, me], nt = "start", jt = "end", kr = "clippingParents", Ia = "viewport", mt = "popper", Nr = "reference", Ff = /* @__PURE__ */ Vt.reduce(function(e, t) {
15496
- return e.concat([t + "-" + nt, t + "-" + jt]);
15497
- }, []), wa = /* @__PURE__ */ [].concat(Vt, [pf]).reduce(function(e, t) {
15498
- return e.concat([t, t + "-" + nt, t + "-" + jt]);
15495
+ var ge = "top", _e = "bottom", Ie = "right", me = "left", pf = "auto", St = [ge, _e, Ie, me], ft = "start", xt = "end", kr = "clippingParents", Ia = "viewport", pt = "popper", Nr = "reference", Ff = /* @__PURE__ */ St.reduce(function(e, t) {
15496
+ return e.concat([t + "-" + ft, t + "-" + xt]);
15497
+ }, []), wa = /* @__PURE__ */ [].concat(St, [pf]).reduce(function(e, t) {
15498
+ return e.concat([t, t + "-" + ft, t + "-" + xt]);
15499
15499
  }, []), Dr = "beforeRead", Er = "read", Tr = "afterRead", jr = "beforeMain", xr = "main", Vr = "afterMain", Sr = "beforeWrite", Cr = "write", Or = "afterWrite", zr = [Dr, Er, Tr, jr, xr, Vr, Sr, Cr, Or];
15500
15500
  function xe(e) {
15501
15501
  return e ? (e.nodeName || "").toLowerCase() : null;
@@ -15509,7 +15509,7 @@ function Ne(e) {
15509
15509
  }
15510
15510
  return e;
15511
15511
  }
15512
- function ft(e) {
15512
+ function at(e) {
15513
15513
  var t = Ne(e).Element;
15514
15514
  return e instanceof t || e instanceof Element;
15515
15515
  }
@@ -15568,13 +15568,13 @@ var Br = {
15568
15568
  function je(e) {
15569
15569
  return e.split("-")[0];
15570
15570
  }
15571
- var We = Math.max, _n = Math.min, at = Math.round;
15572
- function st(e, t) {
15571
+ var We = Math.max, In = Math.min, st = Math.round;
15572
+ function it(e, t) {
15573
15573
  t === void 0 && (t = !1);
15574
15574
  var n = e.getBoundingClientRect(), f = 1, a = 1;
15575
15575
  if (Me(e) && t) {
15576
15576
  var s = e.offsetHeight, i = e.offsetWidth;
15577
- i > 0 && (f = at(n.width) / i || 1), s > 0 && (a = at(n.height) / s || 1);
15577
+ i > 0 && (f = st(n.width) / i || 1), s > 0 && (a = st(n.height) / s || 1);
15578
15578
  }
15579
15579
  return {
15580
15580
  width: n.width / f,
@@ -15588,7 +15588,7 @@ function st(e, t) {
15588
15588
  };
15589
15589
  }
15590
15590
  function hf(e) {
15591
- var t = st(e), n = e.offsetWidth, f = e.offsetHeight;
15591
+ var t = it(e), n = e.offsetWidth, f = e.offsetHeight;
15592
15592
  return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - f) <= 1 && (f = t.height), {
15593
15593
  x: e.offsetLeft,
15594
15594
  y: e.offsetTop,
@@ -15617,7 +15617,7 @@ function Rr(e) {
15617
15617
  return ["table", "td", "th"].indexOf(xe(e)) >= 0;
15618
15618
  }
15619
15619
  function Ye(e) {
15620
- return ((ft(e) ? e.ownerDocument : e.document) || window.document).documentElement;
15620
+ return ((at(e) ? e.ownerDocument : e.document) || window.document).documentElement;
15621
15621
  }
15622
15622
  function Tn(e) {
15623
15623
  return xe(e) === "html" ? e : e.assignedSlot || e.parentNode || (ka(e) ? e.host : null) || Ye(e);
@@ -15640,7 +15640,7 @@ function Qr(e) {
15640
15640
  }
15641
15641
  return null;
15642
15642
  }
15643
- function St(e) {
15643
+ function Ct(e) {
15644
15644
  for (var t = Ne(e), n = qf(e); n && Rr(n) && Ve(n).position === "static"; )
15645
15645
  n = qf(n);
15646
15646
  return n && (xe(n) === "html" || xe(n) === "body" && Ve(n).position === "static") ? t : n || Qr(e) || t;
@@ -15648,11 +15648,11 @@ function St(e) {
15648
15648
  function vf(e) {
15649
15649
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
15650
15650
  }
15651
- function wt(e, t, n) {
15652
- return We(e, _n(t, n));
15651
+ function kt(e, t, n) {
15652
+ return We(e, In(t, n));
15653
15653
  }
15654
15654
  function $r(e, t, n) {
15655
- var f = wt(e, t, n);
15655
+ var f = kt(e, t, n);
15656
15656
  return f > n ? n : f;
15657
15657
  }
15658
15658
  function Da() {
@@ -15674,13 +15674,13 @@ function Ta(e, t) {
15674
15674
  var Yr = function(t, n) {
15675
15675
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
15676
15676
  placement: n.placement
15677
- })) : t, Ea(typeof t != "number" ? t : Ta(t, Vt));
15677
+ })) : t, Ea(typeof t != "number" ? t : Ta(t, St));
15678
15678
  };
15679
15679
  function Pr(e) {
15680
15680
  var t, n = e.state, f = e.name, a = e.options, s = n.elements.arrow, i = n.modifiersData.popperOffsets, r = je(n.placement), c = vf(r), A = [me, Ie].indexOf(r) >= 0, d = A ? "height" : "width";
15681
15681
  if (!(!s || !i)) {
15682
- var g = Yr(a.padding, n), m = hf(s), M = c === "y" ? ge : me, _ = c === "y" ? _e : Ie, v = n.rects.reference[d] + n.rects.reference[c] - i[c] - n.rects.popper[d], k = i[c] - n.rects.reference[c], T = St(s), b = T ? c === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, I = v / 2 - k / 2, h = g[M], w = b - m[d] - g[_], x = b / 2 - m[d] / 2 + I, S = wt(h, x, w), B = c;
15683
- n.modifiersData[f] = (t = {}, t[B] = S, t.centerOffset = S - x, t);
15682
+ var g = Yr(a.padding, n), m = hf(s), b = c === "y" ? ge : me, I = c === "y" ? _e : Ie, h = n.rects.reference[d] + n.rects.reference[c] - i[c] - n.rects.popper[d], k = i[c] - n.rects.reference[c], x = Ct(s), y = x ? c === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, M = h / 2 - k / 2, w = g[b], _ = y - m[d] - g[I], j = y / 2 - m[d] / 2 + M, T = kt(w, j, _), z = c;
15683
+ n.modifiersData[f] = (t = {}, t[z] = T, t.centerOffset = T - j, t);
15684
15684
  }
15685
15685
  }
15686
15686
  function Fr(e) {
@@ -15696,7 +15696,7 @@ var qr = {
15696
15696
  requires: ["popperOffsets"],
15697
15697
  requiresIfExists: ["preventOverflow"]
15698
15698
  };
15699
- function it(e) {
15699
+ function ot(e) {
15700
15700
  return e.split("-")[1];
15701
15701
  }
15702
15702
  var Hr = {
@@ -15708,23 +15708,23 @@ var Hr = {
15708
15708
  function Wr(e) {
15709
15709
  var t = e.x, n = e.y, f = window, a = f.devicePixelRatio || 1;
15710
15710
  return {
15711
- x: at(t * a) / a || 0,
15712
- y: at(n * a) / a || 0
15711
+ x: st(t * a) / a || 0,
15712
+ y: st(n * a) / a || 0
15713
15713
  };
15714
15714
  }
15715
15715
  function Hf(e) {
15716
- var t, n = e.popper, f = e.popperRect, a = e.placement, s = e.variation, i = e.offsets, r = e.position, c = e.gpuAcceleration, A = e.adaptive, d = e.roundOffsets, g = e.isFixed, m = d === !0 ? Wr(i) : typeof d == "function" ? d(i) : i, M = m.x, _ = M === void 0 ? 0 : M, v = m.y, k = v === void 0 ? 0 : v, T = i.hasOwnProperty("x"), b = i.hasOwnProperty("y"), I = me, h = ge, w = window;
15716
+ var t, n = e.popper, f = e.popperRect, a = e.placement, s = e.variation, i = e.offsets, r = e.position, c = e.gpuAcceleration, A = e.adaptive, d = e.roundOffsets, g = e.isFixed, m = d === !0 ? Wr(i) : typeof d == "function" ? d(i) : i, b = m.x, I = b === void 0 ? 0 : b, h = m.y, k = h === void 0 ? 0 : h, x = i.hasOwnProperty("x"), y = i.hasOwnProperty("y"), M = me, w = ge, _ = window;
15717
15717
  if (A) {
15718
- var x = St(n), S = "clientHeight", B = "clientWidth";
15719
- if (x === Ne(n) && (x = Ye(n), Ve(x).position !== "static" && r === "absolute" && (S = "scrollHeight", B = "scrollWidth")), x = x, a === ge || (a === me || a === Ie) && s === jt) {
15720
- h = _e;
15721
- var P = g && w.visualViewport ? w.visualViewport.height : x[S];
15718
+ var j = Ct(n), T = "clientHeight", z = "clientWidth";
15719
+ if (j === Ne(n) && (j = Ye(n), Ve(j).position !== "static" && r === "absolute" && (T = "scrollHeight", z = "scrollWidth")), j = j, a === ge || (a === me || a === Ie) && s === xt) {
15720
+ w = _e;
15721
+ var P = g && _.visualViewport ? _.visualViewport.height : j[T];
15722
15722
  k -= P - f.height, k *= c ? 1 : -1;
15723
15723
  }
15724
- if (a === me || (a === ge || a === _e) && s === jt) {
15725
- I = Ie;
15726
- var Q = g && w.visualViewport ? w.visualViewport.width : x[B];
15727
- _ -= Q - f.width, _ *= c ? 1 : -1;
15724
+ if (a === me || (a === ge || a === _e) && s === xt) {
15725
+ M = Ie;
15726
+ var Q = g && _.visualViewport ? _.visualViewport.width : j[z];
15727
+ I -= Q - f.width, I *= c ? 1 : -1;
15728
15728
  }
15729
15729
  }
15730
15730
  var Y = Object.assign({
@@ -15732,14 +15732,14 @@ function Hf(e) {
15732
15732
  }, A && Hr);
15733
15733
  if (c) {
15734
15734
  var C;
15735
- return Object.assign({}, Y, (C = {}, C[h] = b ? "0" : "", C[I] = T ? "0" : "", C.transform = (w.devicePixelRatio || 1) <= 1 ? "translate(" + _ + "px, " + k + "px)" : "translate3d(" + _ + "px, " + k + "px, 0)", C));
15735
+ return Object.assign({}, Y, (C = {}, C[w] = y ? "0" : "", C[M] = x ? "0" : "", C.transform = (_.devicePixelRatio || 1) <= 1 ? "translate(" + I + "px, " + k + "px)" : "translate3d(" + I + "px, " + k + "px, 0)", C));
15736
15736
  }
15737
- return Object.assign({}, Y, (t = {}, t[h] = b ? k + "px" : "", t[I] = T ? _ + "px" : "", t.transform = "", t));
15737
+ return Object.assign({}, Y, (t = {}, t[w] = y ? k + "px" : "", t[M] = x ? I + "px" : "", t.transform = "", t));
15738
15738
  }
15739
15739
  function Kr(e) {
15740
15740
  var t = e.state, n = e.options, f = n.gpuAcceleration, a = f === void 0 ? !0 : f, s = n.adaptive, i = s === void 0 ? !0 : s, r = n.roundOffsets, c = r === void 0 ? !0 : r, A = {
15741
15741
  placement: je(t.placement),
15742
- variation: it(t.placement),
15742
+ variation: ot(t.placement),
15743
15743
  popper: t.elements.popper,
15744
15744
  popperRect: t.rects.popper,
15745
15745
  gpuAcceleration: a,
@@ -15765,17 +15765,17 @@ var Jr = {
15765
15765
  phase: "beforeWrite",
15766
15766
  fn: Kr,
15767
15767
  data: {}
15768
- }, Yt = {
15768
+ }, Pt = {
15769
15769
  passive: !0
15770
15770
  };
15771
15771
  function Gr(e) {
15772
15772
  var t = e.state, n = e.instance, f = e.options, a = f.scroll, s = a === void 0 ? !0 : a, i = f.resize, r = i === void 0 ? !0 : i, c = Ne(t.elements.popper), A = [].concat(t.scrollParents.reference, t.scrollParents.popper);
15773
15773
  return s && A.forEach(function(d) {
15774
- d.addEventListener("scroll", n.update, Yt);
15775
- }), r && c.addEventListener("resize", n.update, Yt), function() {
15774
+ d.addEventListener("scroll", n.update, Pt);
15775
+ }), r && c.addEventListener("resize", n.update, Pt), function() {
15776
15776
  s && A.forEach(function(d) {
15777
- d.removeEventListener("scroll", n.update, Yt);
15778
- }), r && c.removeEventListener("resize", n.update, Yt);
15777
+ d.removeEventListener("scroll", n.update, Pt);
15778
+ }), r && c.removeEventListener("resize", n.update, Pt);
15779
15779
  };
15780
15780
  }
15781
15781
  var Zr = {
@@ -15792,7 +15792,7 @@ var Zr = {
15792
15792
  bottom: "top",
15793
15793
  top: "bottom"
15794
15794
  };
15795
- function qt(e) {
15795
+ function Ht(e) {
15796
15796
  return e.replace(/left|right|bottom|top/g, function(t) {
15797
15797
  return Xr[t];
15798
15798
  });
@@ -15814,7 +15814,7 @@ function yf(e) {
15814
15814
  };
15815
15815
  }
15816
15816
  function bf(e) {
15817
- return st(Ye(e)).left + yf(e).scrollLeft;
15817
+ return it(Ye(e)).left + yf(e).scrollLeft;
15818
15818
  }
15819
15819
  function tA(e) {
15820
15820
  var t = Ne(e), n = Ye(e), f = t.visualViewport, a = n.clientWidth, s = n.clientHeight, i = 0, r = 0;
@@ -15841,11 +15841,11 @@ function Mf(e) {
15841
15841
  function ja(e) {
15842
15842
  return ["html", "body", "#document"].indexOf(xe(e)) >= 0 ? e.ownerDocument.body : Me(e) && Mf(e) ? e : ja(Tn(e));
15843
15843
  }
15844
- function kt(e, t) {
15844
+ function Nt(e, t) {
15845
15845
  var n;
15846
15846
  t === void 0 && (t = []);
15847
15847
  var f = ja(e), a = f === ((n = e.ownerDocument) == null ? void 0 : n.body), s = Ne(f), i = a ? [s].concat(s.visualViewport || [], Mf(f) ? f : []) : f, r = t.concat(i);
15848
- return a ? r : r.concat(kt(Tn(i)));
15848
+ return a ? r : r.concat(Nt(Tn(i)));
15849
15849
  }
15850
15850
  function Zn(e) {
15851
15851
  return Object.assign({}, e, {
@@ -15856,27 +15856,27 @@ function Zn(e) {
15856
15856
  });
15857
15857
  }
15858
15858
  function fA(e) {
15859
- var t = st(e);
15859
+ var t = it(e);
15860
15860
  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;
15861
15861
  }
15862
15862
  function Kf(e, t) {
15863
- return t === Ia ? Zn(tA(e)) : ft(t) ? fA(t) : Zn(nA(Ye(e)));
15863
+ return t === Ia ? Zn(tA(e)) : at(t) ? fA(t) : Zn(nA(Ye(e)));
15864
15864
  }
15865
15865
  function aA(e) {
15866
- var t = kt(Tn(e)), n = ["absolute", "fixed"].indexOf(Ve(e).position) >= 0, f = n && Me(e) ? St(e) : e;
15867
- return ft(f) ? t.filter(function(a) {
15868
- return ft(a) && Na(a, f) && xe(a) !== "body" && (n ? Ve(a).position !== "static" : !0);
15866
+ var t = Nt(Tn(e)), n = ["absolute", "fixed"].indexOf(Ve(e).position) >= 0, f = n && Me(e) ? Ct(e) : e;
15867
+ return at(f) ? t.filter(function(a) {
15868
+ return at(a) && Na(a, f) && xe(a) !== "body" && (n ? Ve(a).position !== "static" : !0);
15869
15869
  }) : [];
15870
15870
  }
15871
15871
  function sA(e, t, n) {
15872
15872
  var f = t === "clippingParents" ? aA(e) : [].concat(t), a = [].concat(f, [n]), s = a[0], i = a.reduce(function(r, c) {
15873
15873
  var A = Kf(e, c);
15874
- return r.top = We(A.top, r.top), r.right = _n(A.right, r.right), r.bottom = _n(A.bottom, r.bottom), r.left = We(A.left, r.left), r;
15874
+ return r.top = We(A.top, r.top), r.right = In(A.right, r.right), r.bottom = In(A.bottom, r.bottom), r.left = We(A.left, r.left), r;
15875
15875
  }, Kf(e, s));
15876
15876
  return i.width = i.right - i.left, i.height = i.bottom - i.top, i.x = i.left, i.y = i.top, i;
15877
15877
  }
15878
15878
  function xa(e) {
15879
- var t = e.reference, n = e.element, f = e.placement, a = f ? je(f) : null, s = f ? it(f) : null, i = t.x + t.width / 2 - n.width / 2, r = t.y + t.height / 2 - n.height / 2, c;
15879
+ var t = e.reference, n = e.element, f = e.placement, a = f ? je(f) : null, s = f ? ot(f) : null, i = t.x + t.width / 2 - n.width / 2, r = t.y + t.height / 2 - n.height / 2, c;
15880
15880
  switch (a) {
15881
15881
  case ge:
15882
15882
  c = {
@@ -15912,99 +15912,99 @@ function xa(e) {
15912
15912
  if (A != null) {
15913
15913
  var d = A === "y" ? "height" : "width";
15914
15914
  switch (s) {
15915
- case nt:
15915
+ case ft:
15916
15916
  c[A] = c[A] - (t[d] / 2 - n[d] / 2);
15917
15917
  break;
15918
- case jt:
15918
+ case xt:
15919
15919
  c[A] = c[A] + (t[d] / 2 - n[d] / 2);
15920
15920
  break;
15921
15921
  }
15922
15922
  }
15923
15923
  return c;
15924
15924
  }
15925
- function xt(e, t) {
15925
+ function Vt(e, t) {
15926
15926
  t === void 0 && (t = {});
15927
- var n = t, f = n.placement, a = f === void 0 ? e.placement : f, s = n.boundary, i = s === void 0 ? kr : s, r = n.rootBoundary, c = r === void 0 ? Ia : r, A = n.elementContext, d = A === void 0 ? mt : A, g = n.altBoundary, m = g === void 0 ? !1 : g, M = n.padding, _ = M === void 0 ? 0 : M, v = Ea(typeof _ != "number" ? _ : Ta(_, Vt)), k = d === mt ? Nr : mt, T = e.rects.popper, b = e.elements[m ? k : d], I = sA(ft(b) ? b : b.contextElement || Ye(e.elements.popper), i, c), h = st(e.elements.reference), w = xa({
15928
- reference: h,
15929
- element: T,
15927
+ var n = t, f = n.placement, a = f === void 0 ? e.placement : f, s = n.boundary, i = s === void 0 ? kr : s, r = n.rootBoundary, c = r === void 0 ? Ia : r, A = n.elementContext, d = A === void 0 ? pt : A, g = n.altBoundary, m = g === void 0 ? !1 : g, b = n.padding, I = b === void 0 ? 0 : b, h = Ea(typeof I != "number" ? I : Ta(I, St)), k = d === pt ? Nr : pt, x = e.rects.popper, y = e.elements[m ? k : d], M = sA(at(y) ? y : y.contextElement || Ye(e.elements.popper), i, c), w = it(e.elements.reference), _ = xa({
15928
+ reference: w,
15929
+ element: x,
15930
15930
  placement: a
15931
- }), x = Zn(Object.assign({}, T, w)), S = d === mt ? x : h, B = {
15932
- top: I.top - S.top + v.top,
15933
- bottom: S.bottom - I.bottom + v.bottom,
15934
- left: I.left - S.left + v.left,
15935
- right: S.right - I.right + v.right
15931
+ }), j = Zn(Object.assign({}, x, _)), T = d === pt ? j : w, z = {
15932
+ top: M.top - T.top + h.top,
15933
+ bottom: T.bottom - M.bottom + h.bottom,
15934
+ left: M.left - T.left + h.left,
15935
+ right: T.right - M.right + h.right
15936
15936
  }, P = e.modifiersData.offset;
15937
- if (d === mt && P) {
15937
+ if (d === pt && P) {
15938
15938
  var Q = P[a];
15939
- Object.keys(B).forEach(function(Y) {
15939
+ Object.keys(z).forEach(function(Y) {
15940
15940
  var C = [Ie, _e].indexOf(Y) >= 0 ? 1 : -1, O = [ge, _e].indexOf(Y) >= 0 ? "y" : "x";
15941
- B[Y] += Q[O] * C;
15941
+ z[Y] += Q[O] * C;
15942
15942
  });
15943
15943
  }
15944
- return B;
15944
+ return z;
15945
15945
  }
15946
15946
  function iA(e, t) {
15947
15947
  t === void 0 && (t = {});
15948
- var n = t, f = n.placement, a = n.boundary, s = n.rootBoundary, i = n.padding, r = n.flipVariations, c = n.allowedAutoPlacements, A = c === void 0 ? wa : c, d = it(f), g = d ? r ? Ff : Ff.filter(function(_) {
15949
- return it(_) === d;
15950
- }) : Vt, m = g.filter(function(_) {
15951
- return A.indexOf(_) >= 0;
15948
+ var n = t, f = n.placement, a = n.boundary, s = n.rootBoundary, i = n.padding, r = n.flipVariations, c = n.allowedAutoPlacements, A = c === void 0 ? wa : c, d = ot(f), g = d ? r ? Ff : Ff.filter(function(I) {
15949
+ return ot(I) === d;
15950
+ }) : St, m = g.filter(function(I) {
15951
+ return A.indexOf(I) >= 0;
15952
15952
  });
15953
15953
  m.length === 0 && (m = g);
15954
- var M = m.reduce(function(_, v) {
15955
- return _[v] = xt(e, {
15956
- placement: v,
15954
+ var b = m.reduce(function(I, h) {
15955
+ return I[h] = Vt(e, {
15956
+ placement: h,
15957
15957
  boundary: a,
15958
15958
  rootBoundary: s,
15959
15959
  padding: i
15960
- })[je(v)], _;
15960
+ })[je(h)], I;
15961
15961
  }, {});
15962
- return Object.keys(M).sort(function(_, v) {
15963
- return M[_] - M[v];
15962
+ return Object.keys(b).sort(function(I, h) {
15963
+ return b[I] - b[h];
15964
15964
  });
15965
15965
  }
15966
15966
  function oA(e) {
15967
15967
  if (je(e) === pf)
15968
15968
  return [];
15969
- var t = qt(e);
15969
+ var t = Ht(e);
15970
15970
  return [Wf(e), t, Wf(t)];
15971
15971
  }
15972
15972
  function lA(e) {
15973
15973
  var t = e.state, n = e.options, f = e.name;
15974
15974
  if (!t.modifiersData[f]._skip) {
15975
- for (var a = n.mainAxis, s = a === void 0 ? !0 : a, i = n.altAxis, r = i === void 0 ? !0 : i, c = n.fallbackPlacements, A = n.padding, d = n.boundary, g = n.rootBoundary, m = n.altBoundary, M = n.flipVariations, _ = M === void 0 ? !0 : M, v = n.allowedAutoPlacements, k = t.options.placement, T = je(k), b = T === k, I = c || (b || !_ ? [qt(k)] : oA(k)), h = [k].concat(I).reduce(function(Le, V) {
15976
- return Le.concat(je(V) === pf ? iA(t, {
15977
- placement: V,
15975
+ for (var a = n.mainAxis, s = a === void 0 ? !0 : a, i = n.altAxis, r = i === void 0 ? !0 : i, c = n.fallbackPlacements, A = n.padding, d = n.boundary, g = n.rootBoundary, m = n.altBoundary, b = n.flipVariations, I = b === void 0 ? !0 : b, h = n.allowedAutoPlacements, k = t.options.placement, x = je(k), y = x === k, M = c || (y || !I ? [Ht(k)] : oA(k)), w = [k].concat(M).reduce(function(Le, S) {
15976
+ return Le.concat(je(S) === pf ? iA(t, {
15977
+ placement: S,
15978
15978
  boundary: d,
15979
15979
  rootBoundary: g,
15980
15980
  padding: A,
15981
- flipVariations: _,
15982
- allowedAutoPlacements: v
15983
- }) : V);
15984
- }, []), w = t.rects.reference, x = t.rects.popper, S = /* @__PURE__ */ new Map(), B = !0, P = h[0], Q = 0; Q < h.length; Q++) {
15985
- var Y = h[Q], C = je(Y), O = it(Y) === nt, X = [ge, _e].indexOf(C) >= 0, z = X ? "width" : "height", L = xt(t, {
15981
+ flipVariations: I,
15982
+ allowedAutoPlacements: h
15983
+ }) : S);
15984
+ }, []), _ = t.rects.reference, j = t.rects.popper, T = /* @__PURE__ */ new Map(), z = !0, P = w[0], Q = 0; Q < w.length; Q++) {
15985
+ var Y = w[Q], C = je(Y), O = ot(Y) === ft, X = [ge, _e].indexOf(C) >= 0, L = X ? "width" : "height", U = Vt(t, {
15986
15986
  placement: Y,
15987
15987
  boundary: d,
15988
15988
  rootBoundary: g,
15989
15989
  altBoundary: m,
15990
15990
  padding: A
15991
15991
  }), J = X ? O ? Ie : me : O ? _e : ge;
15992
- w[z] > x[z] && (J = qt(J));
15993
- var de = qt(J), le = [];
15994
- if (s && le.push(L[C] <= 0), r && le.push(L[J] <= 0, L[de] <= 0), le.every(function(Le) {
15992
+ _[L] > j[L] && (J = Ht(J));
15993
+ var de = Ht(J), le = [];
15994
+ if (s && le.push(U[C] <= 0), r && le.push(U[J] <= 0, U[de] <= 0), le.every(function(Le) {
15995
15995
  return Le;
15996
15996
  })) {
15997
- P = Y, B = !1;
15997
+ P = Y, z = !1;
15998
15998
  break;
15999
15999
  }
16000
- S.set(Y, le);
16000
+ T.set(Y, le);
16001
16001
  }
16002
- if (B)
16003
- for (var Ge = _ ? 3 : 1, Ze = function(V) {
16004
- var G = h.find(function(F) {
16005
- var ie = S.get(F);
16002
+ if (z)
16003
+ for (var Ge = I ? 3 : 1, Ze = function(S) {
16004
+ var G = w.find(function(F) {
16005
+ var ie = T.get(F);
16006
16006
  if (ie)
16007
- return ie.slice(0, V).every(function(De) {
16007
+ return ie.slice(0, S).every(function(De) {
16008
16008
  return De;
16009
16009
  });
16010
16010
  });
@@ -16045,9 +16045,9 @@ function Gf(e) {
16045
16045
  });
16046
16046
  }
16047
16047
  function AA(e) {
16048
- var t = e.state, n = e.name, f = t.rects.reference, a = t.rects.popper, s = t.modifiersData.preventOverflow, i = xt(t, {
16048
+ var t = e.state, n = e.name, f = t.rects.reference, a = t.rects.popper, s = t.modifiersData.preventOverflow, i = Vt(t, {
16049
16049
  elementContext: "reference"
16050
- }), r = xt(t, {
16050
+ }), r = Vt(t, {
16051
16051
  altBoundary: !0
16052
16052
  }), c = Jf(i, f), A = Jf(r, a, s), d = Gf(c), g = Gf(A);
16053
16053
  t.modifiersData[n] = {
@@ -16111,14 +16111,14 @@ function hA(e) {
16111
16111
  return e === "x" ? "y" : "x";
16112
16112
  }
16113
16113
  function vA(e) {
16114
- var t = e.state, n = e.options, f = e.name, a = n.mainAxis, s = a === void 0 ? !0 : a, i = n.altAxis, r = i === void 0 ? !1 : i, c = n.boundary, A = n.rootBoundary, d = n.altBoundary, g = n.padding, m = n.tether, M = m === void 0 ? !0 : m, _ = n.tetherOffset, v = _ === void 0 ? 0 : _, k = xt(t, {
16114
+ var t = e.state, n = e.options, f = e.name, a = n.mainAxis, s = a === void 0 ? !0 : a, i = n.altAxis, r = i === void 0 ? !1 : i, c = n.boundary, A = n.rootBoundary, d = n.altBoundary, g = n.padding, m = n.tether, b = m === void 0 ? !0 : m, I = n.tetherOffset, h = I === void 0 ? 0 : I, k = Vt(t, {
16115
16115
  boundary: c,
16116
16116
  rootBoundary: A,
16117
16117
  padding: g,
16118
16118
  altBoundary: d
16119
- }), T = je(t.placement), b = it(t.placement), I = !b, h = vf(T), w = hA(h), x = t.modifiersData.popperOffsets, S = t.rects.reference, B = t.rects.popper, P = typeof v == "function" ? v(Object.assign({}, t.rects, {
16119
+ }), x = je(t.placement), y = ot(t.placement), M = !y, w = vf(x), _ = hA(w), j = t.modifiersData.popperOffsets, T = t.rects.reference, z = t.rects.popper, P = typeof h == "function" ? h(Object.assign({}, t.rects, {
16120
16120
  placement: t.placement
16121
- })) : v, Q = typeof P == "number" ? {
16121
+ })) : h, Q = typeof P == "number" ? {
16122
16122
  mainAxis: P,
16123
16123
  altAxis: P
16124
16124
  } : Object.assign({
@@ -16128,17 +16128,17 @@ function vA(e) {
16128
16128
  x: 0,
16129
16129
  y: 0
16130
16130
  };
16131
- if (x) {
16131
+ if (j) {
16132
16132
  if (s) {
16133
- var O, X = h === "y" ? ge : me, z = h === "y" ? _e : Ie, L = h === "y" ? "height" : "width", J = x[h], de = J + k[X], le = J - k[z], Ge = M ? -B[L] / 2 : 0, Ze = b === nt ? S[L] : B[L], ze = b === nt ? -B[L] : -S[L], Pe = t.elements.arrow, Le = M && Pe ? hf(Pe) : {
16133
+ var O, X = w === "y" ? ge : me, L = w === "y" ? _e : Ie, U = w === "y" ? "height" : "width", J = j[w], de = J + k[X], le = J - k[L], Ge = b ? -z[U] / 2 : 0, Ze = y === ft ? T[U] : z[U], ze = y === ft ? -z[U] : -T[U], Pe = t.elements.arrow, Le = b && Pe ? hf(Pe) : {
16134
16134
  width: 0,
16135
16135
  height: 0
16136
- }, V = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Da(), G = V[X], F = V[z], ie = wt(0, S[L], Le[L]), De = I ? S[L] / 2 - Ge - ie - G - Q.mainAxis : Ze - ie - G - Q.mainAxis, Fe = I ? -S[L] / 2 + Ge + ie + F + Q.mainAxis : ze + ie + F + Q.mainAxis, jn = t.elements.arrow && St(t.elements.arrow), za = jn ? h === "y" ? jn.clientTop || 0 : jn.clientLeft || 0 : 0, If = (O = Y == null ? void 0 : Y[h]) != null ? O : 0, La = J + De - If - za, Ua = J + Fe - If, wf = wt(M ? _n(de, La) : de, J, M ? We(le, Ua) : le);
16137
- x[h] = wf, C[h] = wf - J;
16136
+ }, S = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Da(), G = S[X], F = S[L], ie = kt(0, T[U], Le[U]), De = M ? T[U] / 2 - Ge - ie - G - Q.mainAxis : Ze - ie - G - Q.mainAxis, Fe = M ? -T[U] / 2 + Ge + ie + F + Q.mainAxis : ze + ie + F + Q.mainAxis, jn = t.elements.arrow && Ct(t.elements.arrow), za = jn ? w === "y" ? jn.clientTop || 0 : jn.clientLeft || 0 : 0, If = (O = Y == null ? void 0 : Y[w]) != null ? O : 0, La = J + De - If - za, Ua = J + Fe - If, wf = kt(b ? In(de, La) : de, J, b ? We(le, Ua) : le);
16137
+ j[w] = wf, C[w] = wf - J;
16138
16138
  }
16139
16139
  if (r) {
16140
- var kf, Ba = h === "x" ? ge : me, Ra = h === "x" ? _e : Ie, qe = x[w], Ut = w === "y" ? "height" : "width", Nf = qe + k[Ba], Df = qe - k[Ra], xn = [ge, me].indexOf(T) !== -1, Ef = (kf = Y == null ? void 0 : Y[w]) != null ? kf : 0, Tf = xn ? Nf : qe - S[Ut] - B[Ut] - Ef + Q.altAxis, jf = xn ? qe + S[Ut] + B[Ut] - Ef - Q.altAxis : Df, xf = M && xn ? $r(Tf, qe, jf) : wt(M ? Tf : Nf, qe, M ? jf : Df);
16141
- x[w] = xf, C[w] = xf - qe;
16140
+ var kf, Ba = w === "x" ? ge : me, Ra = w === "x" ? _e : Ie, qe = j[_], Bt = _ === "y" ? "height" : "width", Nf = qe + k[Ba], Df = qe - k[Ra], xn = [ge, me].indexOf(x) !== -1, Ef = (kf = Y == null ? void 0 : Y[_]) != null ? kf : 0, Tf = xn ? Nf : qe - T[Bt] - z[Bt] - Ef + Q.altAxis, jf = xn ? qe + T[Bt] + z[Bt] - Ef - Q.altAxis : Df, xf = b && xn ? $r(Tf, qe, jf) : kt(b ? Tf : Nf, qe, b ? jf : Df);
16141
+ j[_] = xf, C[_] = xf - qe;
16142
16142
  }
16143
16143
  t.modifiersData[f] = C;
16144
16144
  }
@@ -16160,19 +16160,19 @@ function MA(e) {
16160
16160
  return e === Ne(e) || !Me(e) ? yf(e) : bA(e);
16161
16161
  }
16162
16162
  function _A(e) {
16163
- var t = e.getBoundingClientRect(), n = at(t.width) / e.offsetWidth || 1, f = at(t.height) / e.offsetHeight || 1;
16163
+ var t = e.getBoundingClientRect(), n = st(t.width) / e.offsetWidth || 1, f = st(t.height) / e.offsetHeight || 1;
16164
16164
  return n !== 1 || f !== 1;
16165
16165
  }
16166
16166
  function IA(e, t, n) {
16167
16167
  n === void 0 && (n = !1);
16168
- var f = Me(t), a = Me(t) && _A(t), s = Ye(t), i = st(e, a), r = {
16168
+ var f = Me(t), a = Me(t) && _A(t), s = Ye(t), i = it(e, a), r = {
16169
16169
  scrollLeft: 0,
16170
16170
  scrollTop: 0
16171
16171
  }, c = {
16172
16172
  x: 0,
16173
16173
  y: 0
16174
16174
  };
16175
- return (f || !f && !n) && ((xe(t) !== "body" || Mf(s)) && (r = MA(t)), Me(t) ? (c = st(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : s && (c.x = bf(s))), {
16175
+ return (f || !f && !n) && ((xe(t) !== "body" || Mf(s)) && (r = MA(t)), Me(t) ? (c = it(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : s && (c.x = bf(s))), {
16176
16176
  x: i.left + r.scrollLeft - c.x,
16177
16177
  y: i.top + r.scrollTop - c.y,
16178
16178
  width: i.width,
@@ -16256,40 +16256,40 @@ function EA(e) {
16256
16256
  },
16257
16257
  attributes: {},
16258
16258
  styles: {}
16259
- }, g = [], m = !1, M = {
16259
+ }, g = [], m = !1, b = {
16260
16260
  state: d,
16261
- setOptions: function(T) {
16262
- var b = typeof T == "function" ? T(d.options) : T;
16263
- v(), d.options = Object.assign({}, s, d.options, b), d.scrollParents = {
16264
- reference: ft(r) ? kt(r) : r.contextElement ? kt(r.contextElement) : [],
16265
- popper: kt(c)
16261
+ setOptions: function(x) {
16262
+ var y = typeof x == "function" ? x(d.options) : x;
16263
+ h(), d.options = Object.assign({}, s, d.options, y), d.scrollParents = {
16264
+ reference: at(r) ? Nt(r) : r.contextElement ? Nt(r.contextElement) : [],
16265
+ popper: Nt(c)
16266
16266
  };
16267
- var I = kA(DA([].concat(f, d.options.modifiers)));
16268
- return d.orderedModifiers = I.filter(function(h) {
16269
- return h.enabled;
16270
- }), _(), M.update();
16267
+ var M = kA(DA([].concat(f, d.options.modifiers)));
16268
+ return d.orderedModifiers = M.filter(function(w) {
16269
+ return w.enabled;
16270
+ }), I(), b.update();
16271
16271
  },
16272
16272
  forceUpdate: function() {
16273
16273
  if (!m) {
16274
- var T = d.elements, b = T.reference, I = T.popper;
16275
- if (Xf(b, I)) {
16274
+ var x = d.elements, y = x.reference, M = x.popper;
16275
+ if (Xf(y, M)) {
16276
16276
  d.rects = {
16277
- reference: IA(b, St(I), d.options.strategy === "fixed"),
16278
- popper: hf(I)
16277
+ reference: IA(y, Ct(M), d.options.strategy === "fixed"),
16278
+ popper: hf(M)
16279
16279
  }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(Q) {
16280
16280
  return d.modifiersData[Q.name] = Object.assign({}, Q.data);
16281
16281
  });
16282
- for (var h = 0; h < d.orderedModifiers.length; h++) {
16282
+ for (var w = 0; w < d.orderedModifiers.length; w++) {
16283
16283
  if (d.reset === !0) {
16284
- d.reset = !1, h = -1;
16284
+ d.reset = !1, w = -1;
16285
16285
  continue;
16286
16286
  }
16287
- var w = d.orderedModifiers[h], x = w.fn, S = w.options, B = S === void 0 ? {} : S, P = w.name;
16288
- typeof x == "function" && (d = x({
16287
+ var _ = d.orderedModifiers[w], j = _.fn, T = _.options, z = T === void 0 ? {} : T, P = _.name;
16288
+ typeof j == "function" && (d = j({
16289
16289
  state: d,
16290
- options: B,
16290
+ options: z,
16291
16291
  name: P,
16292
- instance: M
16292
+ instance: b
16293
16293
  }) || d);
16294
16294
  }
16295
16295
  }
@@ -16297,45 +16297,45 @@ function EA(e) {
16297
16297
  },
16298
16298
  update: NA(function() {
16299
16299
  return new Promise(function(k) {
16300
- M.forceUpdate(), k(d);
16300
+ b.forceUpdate(), k(d);
16301
16301
  });
16302
16302
  }),
16303
16303
  destroy: function() {
16304
- v(), m = !0;
16304
+ h(), m = !0;
16305
16305
  }
16306
16306
  };
16307
16307
  if (!Xf(r, c))
16308
- return M;
16309
- M.setOptions(A).then(function(k) {
16308
+ return b;
16309
+ b.setOptions(A).then(function(k) {
16310
16310
  !m && A.onFirstUpdate && A.onFirstUpdate(k);
16311
16311
  });
16312
- function _() {
16312
+ function I() {
16313
16313
  d.orderedModifiers.forEach(function(k) {
16314
- var T = k.name, b = k.options, I = b === void 0 ? {} : b, h = k.effect;
16315
- if (typeof h == "function") {
16316
- var w = h({
16314
+ var x = k.name, y = k.options, M = y === void 0 ? {} : y, w = k.effect;
16315
+ if (typeof w == "function") {
16316
+ var _ = w({
16317
16317
  state: d,
16318
- name: T,
16319
- instance: M,
16320
- options: I
16321
- }), x = function() {
16318
+ name: x,
16319
+ instance: b,
16320
+ options: M
16321
+ }), j = function() {
16322
16322
  };
16323
- g.push(w || x);
16323
+ g.push(_ || j);
16324
16324
  }
16325
16325
  });
16326
16326
  }
16327
- function v() {
16327
+ function h() {
16328
16328
  g.forEach(function(k) {
16329
16329
  return k();
16330
16330
  }), g = [];
16331
16331
  }
16332
- return M;
16332
+ return b;
16333
16333
  };
16334
16334
  }
16335
16335
  var TA = [Zr, pA, Jr, Br, gA, rA, yA, qr, cA], jA = /* @__PURE__ */ EA({
16336
16336
  defaultModifiers: TA
16337
16337
  }), Va = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
16338
- function Ht(e) {
16338
+ function Wt(e) {
16339
16339
  return e.split("-").map((t) => parseInt(t, 16)).map((t) => String.fromCodePoint(t)).join("");
16340
16340
  }
16341
16341
  function xA(e, t, n, f = []) {
@@ -16348,15 +16348,15 @@ function xA(e, t, n, f = []) {
16348
16348
  var c;
16349
16349
  if (r[En][0].includes(t.toLocaleLowerCase())) {
16350
16350
  let A = r[ba];
16351
- if (n !== Mn && Array.isArray(r[$t])) {
16352
- const d = ((c = r[$t]) == null ? void 0 : c.findIndex(
16351
+ if (n !== _n && Array.isArray(r[Yt])) {
16352
+ const d = ((c = r[Yt]) == null ? void 0 : c.findIndex(
16353
16353
  (g) => g.includes(n)
16354
16354
  )) || -1;
16355
- d !== -1 && r[$t] && (A = r[$t][d]);
16355
+ d !== -1 && r[Yt] && (A = r[Yt][d]);
16356
16356
  }
16357
16357
  return i.push({
16358
16358
  ...r,
16359
- [Tt]: A
16359
+ [jt]: A
16360
16360
  });
16361
16361
  }
16362
16362
  }), i.length && (a[s] = i);
@@ -16372,7 +16372,7 @@ function Ca(e) {
16372
16372
  (t, n, f) => n ? n.toUpperCase() : " " + f.toUpperCase()
16373
16373
  );
16374
16374
  }
16375
- var Ct = (e, t) => {
16375
+ var Ot = (e, t) => {
16376
16376
  const n = e.__vccOpts || e;
16377
16377
  for (const [f, a] of t)
16378
16378
  n[f] = a;
@@ -16384,37 +16384,37 @@ const VA = K({
16384
16384
  select: (e) => !0
16385
16385
  },
16386
16386
  setup() {
16387
- const { state: e, updateEmoji: t, updateSelect: n } = te("store"), f = y(null), a = $(() => xA(
16387
+ const { state: e, updateEmoji: t, updateSelect: n } = te("store"), f = v(null), a = $(() => xA(
16388
16388
  e.emojis,
16389
16389
  e.search,
16390
16390
  e.skinTone,
16391
16391
  e.options.disabledGroups
16392
16392
  )), s = $a(), i = $(() => !e.options.hideGroupNames), r = $(() => !e.options.disableStickyGroupNames), c = sa(e.options.groupNames), A = e.orderedGroupKeys;
16393
- e.options.additionalGroups && Object.keys(e.options.additionalGroups).map((_) => {
16394
- e.options.groupNames[_] ? c[_] = e.options.groupNames[_] : c[_] = Ca(_);
16393
+ e.options.additionalGroups && Object.keys(e.options.additionalGroups).map((I) => {
16394
+ e.options.groupNames[I] ? c[I] = e.options.groupNames[I] : c[I] = Ca(I);
16395
16395
  });
16396
16396
  const d = Sa() ? "is-mac" : "";
16397
- function g(_) {
16398
- t(_);
16397
+ function g(I) {
16398
+ t(I);
16399
16399
  }
16400
- function m(_) {
16401
- n(_), s == null || s.emit("select", {
16402
- ..._,
16400
+ function m(I) {
16401
+ n(I), s == null || s.emit("select", {
16402
+ ...I,
16403
16403
  t: e.skinTone,
16404
- i: Ht(_.r)
16404
+ i: Wt(I.r)
16405
16405
  });
16406
16406
  }
16407
- function M(_, v) {
16407
+ function b(I, h) {
16408
16408
  var k;
16409
- const T = (k = _ == null ? void 0 : _.target) == null ? void 0 : k.closest("button");
16410
- T && (T.innerHTML = `<span>${Ht(v)}</span>`);
16409
+ const x = (k = I == null ? void 0 : I.target) == null ? void 0 : k.closest("button");
16410
+ x && (x.innerHTML = `<span>${Wt(h)}</span>`);
16411
16411
  }
16412
16412
  return ee(
16413
16413
  () => e.activeGroup,
16414
16414
  () => {
16415
- var _;
16416
- const v = (_ = f.value) == null ? void 0 : _.querySelector("#" + e.activeGroup);
16417
- v && (v.parentNode.scrollTop = v.offsetTop - v.parentNode.offsetTop);
16415
+ var I;
16416
+ const h = (I = f.value) == null ? void 0 : I.querySelector("#" + e.activeGroup);
16417
+ h && (h.parentNode.scrollTop = h.offsetTop - h.parentNode.offsetTop);
16418
16418
  }
16419
16419
  ), {
16420
16420
  emojis: a,
@@ -16422,11 +16422,11 @@ const VA = K({
16422
16422
  EMOJI_REMOTE_SRC: va,
16423
16423
  GROUP_NAMES: ya,
16424
16424
  handleClick: m,
16425
- handleError: M,
16425
+ handleError: b,
16426
16426
  handleMouseEnter: g,
16427
16427
  native: e.options.native,
16428
- unicodeToEmoji: Ht,
16429
- EMOJI_RESULT_KEY: Tt,
16428
+ unicodeToEmoji: Wt,
16429
+ EMOJI_RESULT_KEY: jt,
16430
16430
  EMOJI_NAME_KEY: En,
16431
16431
  hasGroupNames: i,
16432
16432
  isSticky: r,
@@ -16443,7 +16443,7 @@ function RA(e, t, n, f, a, s) {
16443
16443
  return l(), u("div", SA, [
16444
16444
  o("div", {
16445
16445
  ref: "bodyInner",
16446
- class: j([e.platform, "v3-body-inner"])
16446
+ class: V([e.platform, "v3-body-inner"])
16447
16447
  }, [
16448
16448
  e.orderedKeys.length ? (l(!0), u(H, { key: 0 }, ae(e.orderedKeys, (i) => (l(), u("div", {
16449
16449
  id: i,
@@ -16452,7 +16452,7 @@ function RA(e, t, n, f, a, s) {
16452
16452
  }, [
16453
16453
  e.hasGroupNames ? ce((l(), u("h5", {
16454
16454
  key: 0,
16455
- class: j(e.isSticky ? "v3-sticky" : "")
16455
+ class: V(e.isSticky ? "v3-sticky" : "")
16456
16456
  }, E(e.groupNames[i]), 3)), [
16457
16457
  [Ke, e.emojis[i]]
16458
16458
  ]) : p("", !0),
@@ -16477,7 +16477,7 @@ function RA(e, t, n, f, a, s) {
16477
16477
  ], 2)
16478
16478
  ]);
16479
16479
  }
16480
- var QA = /* @__PURE__ */ Ct(VA, [["render", RA]]), $A = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3NSA3LjI2NTYyNSAxNS4wOTM3NSA2LjQzNzUgQyAxNC41IDUuNjA5Mzc1IDEzLjU3MDMxMyA1IDEyLjUgNSBaIE0gMTYgOS41IEMgMTYgMTAuNjYwMTU2IDE2LjMxMjUgMTEuNzM0Mzc1IDE2LjkwNjI1IDEyLjU2MjUgQyAxNy41IDEzLjM5MDYyNSAxOC40Mjk2ODggMTQgMTkuNSAxNCBDIDIwLjU3MDMxMyAxNCAyMS41IDEzLjM5MDYyNSAyMi4wOTM3NSAxMi41NjI1IEMgMjIuNjg3NSAxMS43MzQzNzUgMjMgMTAuNjYwMTU2IDIzIDkuNSBDIDIzIDguMzM5ODQ0IDIyLjY4NzUgNy4yNjU2MjUgMjIuM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4MjkzNyAxNy41MTU2MjUgMjAuMDg1OTM4IEMgMTYuMzcyNjI1IDE5LjU5NzkzOCAxNS4wNzYzNTkgMTkuMDQ0OTIyIDEzLjQ0MzM1OSAxOS4wNDQ5MjIgQyAxMS44OTEzNTkgMTkuMDQ0OTIyIDEwLjc4NiAxOS4zNTggMTAgMTkuNzUgTCAxMCAxMi4zNjEzMjggQyAxMC4zNDUgMTEuOTA1MzI4IDExLjEzMjM1OSAxMSAxMy40NDMzNTkgMTEgeiIvPjwvc3ZnPg==", KA = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgMTEuODMyMDMxIDQgOC4xNTIzNDQgNi4xMTMyODEgNiA5LjM0Mzc1IEwgNiA2IEwgNCA2IEwgNCAxMyBMIDExIDEzIEwgMTEgMTEgTCA3LjM3NSAxMSBDIDkuMTAxNTYzIDguMDE5NTMxIDEyLjI5Njg3NSA2IDE2IDYgQyAyMS41MzUxNTYgNiAyNiAxMC40NjQ4NDQgMjYgMTYgQyAyNiAyMS41MzUxNTYgMjEuNTM1MTU2IDI2IDE2IDI2IEMgMTAuNDY0ODQ0IDI2IDYgMjEuNTM1MTU2IDYgMTYgTCA0IDE2IEMgNCAyMi42MTcxODggOS4zODI4MTMgMjggMTYgMjggQyAyMi42MTcxODggMjggMjggMjIuNjE3MTg4IDI4IDE2IEMgMjggOS4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";
16481
16481
  const JA = K({
16482
16482
  name: "Header",
16483
16483
  setup(e) {
@@ -16494,7 +16494,7 @@ const JA = K({
16494
16494
  }))
16495
16495
  ], d = [];
16496
16496
  return i.forEach((g) => {
16497
- const m = A.findIndex((M) => M.key === g);
16497
+ const m = A.findIndex((b) => b.key === g);
16498
16498
  m !== -1 && (d.push(A[m]), A.splice(m, 1));
16499
16499
  }), {
16500
16500
  orderedGroups: d,
@@ -16537,7 +16537,7 @@ function sc(e, t, n, f, a, s) {
16537
16537
  (l(!0), u(H, null, ae(e.orderedGroups, (i) => (l(), u("button", {
16538
16538
  key: i.key,
16539
16539
  type: "button",
16540
- class: j(["v3-group", {
16540
+ class: V(["v3-group", {
16541
16541
  "v3-is-hidden": !e.icons[i.key]
16542
16542
  }]),
16543
16543
  onClick: (r) => e.updateActiveGroup(i.key)
@@ -16560,20 +16560,20 @@ function sc(e, t, n, f, a, s) {
16560
16560
  type: "text",
16561
16561
  placeholder: e.placeholder
16562
16562
  }, null, 8, ac), [
16563
- [ot, e.searchValue]
16563
+ [lt, e.searchValue]
16564
16564
  ])
16565
16565
  ])) : p("", !0)
16566
16566
  ])) : p("", !0);
16567
16567
  }
16568
- var ic = /* @__PURE__ */ Ct(JA, [["render", sc]]);
16568
+ var ic = /* @__PURE__ */ Ot(JA, [["render", sc]]);
16569
16569
  const oc = K({
16570
16570
  name: "Header",
16571
16571
  setup() {
16572
- const { state: e, updateSkinTone: t } = te("store"), n = y(!1), f = y(!1), a = $(() => e.skinTone), s = $(
16572
+ const { state: e, updateSkinTone: t } = te("store"), n = v(!1), f = v(!1), a = $(() => e.skinTone), s = $(
16573
16573
  () => e.options.staticTexts.skinTone || "Skin tone"
16574
16574
  ), i = $(() => !e.options.disableSkinTones), r = Sa() ? "is-mac" : "", c = $(() => ({
16575
16575
  ...e.emoji,
16576
- src: va + "/" + e.emoji[Tt] + ".png"
16576
+ src: va + "/" + e.emoji[jt] + ".png"
16577
16577
  }));
16578
16578
  function A(m = !0) {
16579
16579
  n.value = m;
@@ -16597,12 +16597,12 @@ const oc = K({
16597
16597
  stateSkinTone: a,
16598
16598
  selectSkinTone: g,
16599
16599
  toggleSkinToneState: d,
16600
- EMOJI_RESULT_KEY: Tt,
16600
+ EMOJI_RESULT_KEY: jt,
16601
16601
  EMOJI_NAME_KEY: En,
16602
16602
  skinToneText: s,
16603
16603
  hasSkinTones: i,
16604
16604
  native: e.options.native,
16605
- unicodeToEmoji: Ht,
16605
+ unicodeToEmoji: Wt,
16606
16606
  platform: r,
16607
16607
  hasError: f
16608
16608
  };
@@ -16615,7 +16615,7 @@ function gc(e, t, n, f, a, s) {
16615
16615
  }, [
16616
16616
  o("div", lc, [
16617
16617
  o("span", {
16618
- class: j([e.platform, "v3-icon"])
16618
+ class: V([e.platform, "v3-icon"])
16619
16619
  }, [
16620
16620
  e.native || e.hasError ? (l(), u("span", rc, E(e.unicodeToEmoji(e.emoji.r)), 1)) : (l(), u("img", {
16621
16621
  key: 1,
@@ -16634,23 +16634,23 @@ function gc(e, t, n, f, a, s) {
16634
16634
  }, [
16635
16635
  o("span", uc, E(e.skinToneText), 1),
16636
16636
  o("span", {
16637
- class: j(`v3-icon v3-tone-${e.stateSkinTone}`)
16637
+ class: V(`v3-icon v3-tone-${e.stateSkinTone}`)
16638
16638
  }, null, 2)
16639
16639
  ]),
16640
16640
  o("div", {
16641
- class: j([e.skinTone ? "v3-is-open" : "", "v3-skin-tones"])
16641
+ class: V([e.skinTone ? "v3-is-open" : "", "v3-skin-tones"])
16642
16642
  }, [
16643
16643
  (l(!0), u(H, null, ae(e.SKIN_TONES, (i) => (l(), u("button", {
16644
16644
  key: i,
16645
16645
  type: "button",
16646
- class: j(["v3-skin-tone-" + i, "v3-skin-tone"]),
16646
+ class: V(["v3-skin-tone-" + i, "v3-skin-tone"]),
16647
16647
  onClick: (r) => e.selectSkinTone(i)
16648
16648
  }, null, 10, dc))), 128))
16649
16649
  ], 2)
16650
16650
  ], 64)) : p("", !0)
16651
16651
  ], 32);
16652
16652
  }
16653
- var mc = /* @__PURE__ */ Ct(oc, [["render", gc]]);
16653
+ var mc = /* @__PURE__ */ Ot(oc, [["render", gc]]);
16654
16654
  const pc = K({
16655
16655
  name: "PickerRoot",
16656
16656
  components: {
@@ -16689,13 +16689,13 @@ const pc = K({
16689
16689
  "update:text": (e) => !0
16690
16690
  },
16691
16691
  setup(e, { emit: t }) {
16692
- const n = y(), f = y(), a = y(), s = y(!1), i = y(e.text), r = e.type === "input" || e.type === "textarea";
16692
+ const n = v(), f = v(), a = v(), s = v(!1), i = v(e.text), r = e.type === "input" || e.type === "textarea";
16693
16693
  let c = -1;
16694
16694
  const { state: A } = te("store"), d = $(() => A.options.colorTheme);
16695
16695
  function g(k) {
16696
16696
  if (r) {
16697
- const T = A.options.mode;
16698
- T === "prepend" ? i.value = k.i + i.value : T === "insert" && c !== -1 ? (i.value = `${i.value.slice(0, c)}${k.i}${i.value.slice(c)}`, c += k.i.length) : i.value += k.i, t("update:text", i.value);
16697
+ const x = A.options.mode;
16698
+ x === "prepend" ? i.value = k.i + i.value : x === "insert" && c !== -1 ? (i.value = `${i.value.slice(0, c)}${k.i}${i.value.slice(c)}`, c += k.i.length) : i.value += k.i, t("update:text", i.value);
16699
16699
  }
16700
16700
  t("select", k);
16701
16701
  }
@@ -16703,13 +16703,13 @@ const pc = K({
16703
16703
  var k;
16704
16704
  n.value && (c = ((k = n.value) == null ? void 0 : k.selectionEnd) || -1);
16705
16705
  }
16706
- function M(k) {
16707
- var T;
16708
- !((T = k.target) != null && T.closest(
16706
+ function b(k) {
16707
+ var x;
16708
+ !((x = k.target) != null && x.closest(
16709
16709
  ".v3-input-picker-wrap"
16710
16710
  )) && s.value && (s.value = !1);
16711
16711
  }
16712
- function _() {
16712
+ function I() {
16713
16713
  if (f.value && a.value && r) {
16714
16714
  let k = A.options.offset;
16715
16715
  typeof k != "number" && (k = 6), jA(f.value, a.value, {
@@ -16722,16 +16722,16 @@ const pc = K({
16722
16722
  }
16723
16723
  }
16724
16724
  ]
16725
- }), document.body.addEventListener("click", M);
16725
+ }), document.body.addEventListener("click", b);
16726
16726
  }
16727
16727
  }
16728
- function v(k) {
16728
+ function h(k) {
16729
16729
  i.value = k.target.value || "", t("update:text", i.value);
16730
16730
  }
16731
16731
  return oe(() => {
16732
- _();
16732
+ I();
16733
16733
  }), Ya(() => {
16734
- document.body.removeEventListener("click", M);
16734
+ document.body.removeEventListener("click", b);
16735
16735
  }), {
16736
16736
  face: Va,
16737
16737
  open: s,
@@ -16742,7 +16742,7 @@ const pc = K({
16742
16742
  button: f,
16743
16743
  picker: a,
16744
16744
  isInputType: r,
16745
- onChangeText: v,
16745
+ onChangeText: h,
16746
16746
  colorTheme: d
16747
16747
  };
16748
16748
  }
@@ -16751,7 +16751,7 @@ const pc = K({
16751
16751
  class: "v3-input-emoji-picker"
16752
16752
  }, vc = { class: "v3-input-picker-root" }, yc = ["value"], bc = ["value"], Mc = ["src"];
16753
16753
  function _c(e, t, n, f, a, s) {
16754
- const i = Pt("Header"), r = Pt("Body"), c = Pt("Footer");
16754
+ const i = Ft("Header"), r = Ft("Body"), c = Ft("Footer");
16755
16755
  return e.isInputType ? (l(), u("div", hc, [
16756
16756
  o("div", vc, [
16757
16757
  e.type === "input" ? (l(), u("input", {
@@ -16771,7 +16771,7 @@ function _c(e, t, n, f, a, s) {
16771
16771
  onBlur: t[3] || (t[3] = (...A) => e.updateCursor && e.updateCursor(...A))
16772
16772
  }, null, 40, bc)),
16773
16773
  o("div", {
16774
- class: j(["v3-input-picker-wrap", e.open ? "v3-picker-is-open" : ""])
16774
+ class: V(["v3-input-picker-wrap", e.open ? "v3-picker-is-open" : ""])
16775
16775
  }, [
16776
16776
  o("button", {
16777
16777
  ref: "button",
@@ -16786,7 +16786,7 @@ function _c(e, t, n, f, a, s) {
16786
16786
  ], 512),
16787
16787
  o("div", {
16788
16788
  ref: "picker",
16789
- class: j(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
16789
+ class: V(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
16790
16790
  }, [
16791
16791
  W(i),
16792
16792
  W(r, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
@@ -16796,14 +16796,14 @@ function _c(e, t, n, f, a, s) {
16796
16796
  ])
16797
16797
  ])) : (l(), u("div", {
16798
16798
  key: 1,
16799
- class: j(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
16799
+ class: V(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
16800
16800
  }, [
16801
16801
  W(i),
16802
16802
  W(r, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
16803
16803
  W(c)
16804
16804
  ], 2));
16805
16805
  }
16806
- var Ic = /* @__PURE__ */ Ct(pc, [["render", _c]]);
16806
+ var Ic = /* @__PURE__ */ Ot(pc, [["render", _c]]);
16807
16807
  const wc = K({
16808
16808
  name: "Picker",
16809
16809
  components: {
@@ -16888,7 +16888,7 @@ const wc = K({
16888
16888
  select: (e) => !0
16889
16889
  },
16890
16890
  setup(e, { emit: t }) {
16891
- const n = y(e.text);
16891
+ const n = v(e.text);
16892
16892
  function f(s) {
16893
16893
  n.value = s || "", t("update:text", n.value);
16894
16894
  }
@@ -16910,7 +16910,7 @@ const wc = K({
16910
16910
  groupOrder: e.groupOrder,
16911
16911
  groupIcons: e.groupIcons,
16912
16912
  colorTheme: tr.includes(e.theme) ? e.theme : "light"
16913
- }), In("store", a), {
16913
+ }), et("store", a), {
16914
16914
  type: e.pickerType,
16915
16915
  input: n,
16916
16916
  onChangeText: f
@@ -16918,15 +16918,15 @@ const wc = K({
16918
16918
  }
16919
16919
  });
16920
16920
  function kc(e, t, n, f, a, s) {
16921
- const i = Pt("picker-root");
16922
- return l(), U(i, {
16921
+ const i = Ft("picker-root");
16922
+ return l(), B(i, {
16923
16923
  type: e.type,
16924
16924
  text: e.input,
16925
16925
  onSelect: t[0] || (t[0] = (r) => e.$emit("select", r)),
16926
16926
  "onUpdate:text": e.onChangeText
16927
16927
  }, null, 8, ["type", "text", "onUpdate:text"]);
16928
16928
  }
16929
- var Nc = /* @__PURE__ */ Ct(wc, [["render", kc]]);
16929
+ var Nc = /* @__PURE__ */ Ot(wc, [["render", kc]]);
16930
16930
  const Dc = {
16931
16931
  __name: "ButtonEmojiPicker",
16932
16932
  props: {
@@ -16941,31 +16941,31 @@ const Dc = {
16941
16941
  }
16942
16942
  },
16943
16943
  setup(e) {
16944
- const t = e, n = y(null), f = y("light"), a = y(null), s = te("chatAppId"), { setMessageText: i, getMessage: r } = we(s), c = () => document.getElementById(s).attributes["data-theme"].nodeValue.indexOf("dark") != -1 ? "dark" : "light", A = (_) => {
16945
- i(r().text + _.i);
16944
+ const t = e, n = v(null), f = v("light"), a = v(null), s = te("chatAppId"), { setMessageText: i, getMessage: r } = we(s), c = () => document.getElementById(s).attributes["data-theme"].nodeValue.indexOf("dark") != -1 ? "dark" : "light", A = (I) => {
16945
+ i(r().text + I.i);
16946
16946
  }, d = () => {
16947
16947
  t.mode == "click" && t.state == "active" && (n.value.style.display = "inherit", f.value = c());
16948
16948
  }, g = () => {
16949
16949
  t.mode == "hover" && t.state == "active" && (n.value.style.display = "inherit", f.value = c());
16950
16950
  }, m = () => {
16951
16951
  t.mode == "hover" && t.state == "active" && (n.value.style.display = "none");
16952
- }, M = (_) => {
16953
- t.mode == "click" && !a.value.contains(_.target) && !n.value.contains(_.target) && (n.value.style.display = "none");
16952
+ }, b = (I) => {
16953
+ t.mode == "click" && !a.value.contains(I.target) && !n.value.contains(I.target) && (n.value.style.display = "none");
16954
16954
  };
16955
16955
  return oe(() => {
16956
- n.value.style.display = "none", document.addEventListener("click", M);
16956
+ n.value.style.display = "none", document.addEventListener("click", b);
16957
16957
  }), Je(() => {
16958
- document.removeEventListener("click", M);
16959
- }), (_, v) => (l(), u(H, null, [
16958
+ document.removeEventListener("click", b);
16959
+ }), (I, h) => (l(), u(H, null, [
16960
16960
  N(r)().isRecording ? p("", !0) : (l(), u("div", {
16961
16961
  key: 0,
16962
16962
  ref_key: "emojiButton",
16963
16963
  ref: a,
16964
- class: j(["button", { "button-disabled": e.state == "disabled" }]),
16964
+ class: V(["button", { "button-disabled": e.state == "disabled" }]),
16965
16965
  onClick: d,
16966
16966
  onMouseenter: g,
16967
16967
  onMouseleave: m
16968
- }, v[0] || (v[0] = [
16968
+ }, h[0] || (h[0] = [
16969
16969
  o("span", { class: "pi pi-face-smile" }, null, -1)
16970
16970
  ]), 34)),
16971
16971
  W(ne, null, {
@@ -16989,7 +16989,7 @@ const Dc = {
16989
16989
  })
16990
16990
  ], 64));
16991
16991
  }
16992
- }, Pg = /* @__PURE__ */ R(Dc, [["__scopeId", "data-v-ce826a02"]]), Ec = { class: "context-menu__list" }, Tc = ["onClick"], jc = ["src"], xc = {
16992
+ }, Pg = /* @__PURE__ */ R(Dc, [["__scopeId", "data-v-d93e11c7"]]), Ec = { class: "context-menu__list" }, Tc = ["onClick"], jc = ["src"], xc = {
16993
16993
  key: 2,
16994
16994
  style: { "white-space": "nowrap" }
16995
16995
  }, Vc = { key: 3 }, Sc = {
@@ -17028,7 +17028,7 @@ const Dc = {
17028
17028
  height: "18"
17029
17029
  }, null, 8, jc)) : A.prime ? (l(), u("i", {
17030
17030
  key: 1,
17031
- class: j("pi pi-" + A.prime)
17031
+ class: V("pi pi-" + A.prime)
17032
17032
  }, null, 2)) : p("", !0),
17033
17033
  A.title ? (l(), u("span", xc, E(A.title), 1)) : p("", !0),
17034
17034
  A.description ? (l(), u("span", Vc, E(A.description), 1)) : p("", !0)
@@ -17036,13 +17036,13 @@ const Dc = {
17036
17036
  ])
17037
17037
  ], 512));
17038
17038
  }
17039
- }, ct = /* @__PURE__ */ R(Sc, [["__scopeId", "data-v-9d010c11"]]), pt = y([]), Cc = (e) => {
17040
- const t = y(0);
17041
- let n = pt.value.find(({ id: a }) => a == e);
17042
- return n != null ? t.value = pt.value.indexOf(n) : (pt.value.push({
17039
+ }, ut = /* @__PURE__ */ R(Sc, [["__scopeId", "data-v-9d010c11"]]), ht = v([]), Cc = (e) => {
17040
+ const t = v(0);
17041
+ let n = ht.value.find(({ id: a }) => a == e);
17042
+ return n != null ? t.value = ht.value.indexOf(n) : (ht.value.push({
17043
17043
  id: e,
17044
17044
  text: ""
17045
- }), t.value = pt.value.length - 1), { getModel: () => pt.value[t.value] };
17045
+ }), t.value = ht.value.length - 1), { getModel: () => ht.value[t.value] };
17046
17046
  };
17047
17047
  function Oc(e, t = 500) {
17048
17048
  let n;
@@ -17067,7 +17067,7 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17067
17067
  },
17068
17068
  emits: ["search", "cancel", "switch"],
17069
17069
  setup(e, { emit: t }) {
17070
- const n = te("chatAppId"), { getModel: f } = Cc(n), a = t, s = e, i = y(), r = Oc("", 500), c = $(() => {
17070
+ const n = te("chatAppId"), { getModel: f } = Cc(n), a = t, s = e, i = v(), r = Oc("", 500), c = $(() => {
17071
17071
  if (s.isFeedLocation) return "40px";
17072
17072
  if (!s.isFeedLocation) return "20px";
17073
17073
  });
@@ -17084,7 +17084,7 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17084
17084
  return oe(() => {
17085
17085
  const d = N(i);
17086
17086
  d == null || d.focus();
17087
- }), (d, g) => (l(), U(ne, null, {
17087
+ }), (d, g) => (l(), B(ne, null, {
17088
17088
  default: Z(() => [
17089
17089
  o("div", zc, [
17090
17090
  o("span", Lc, E(N(ve)("component.FeedSearch.SearchLabel")), 1),
@@ -17096,7 +17096,7 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17096
17096
  placeholder: N(ve)("component.FeedSearch.SearchPlaceholder"),
17097
17097
  "onUpdate:modelValue": g[0] || (g[0] = (m) => N(f)().text = m)
17098
17098
  }, null, 8, Uc), [
17099
- [ot, N(f)().text]
17099
+ [lt, N(f)().text]
17100
17100
  ]),
17101
17101
  o("i", {
17102
17102
  class: "pi pi-times",
@@ -17140,7 +17140,7 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17140
17140
  return f[t.object.type] ? f[t.object.type] : null;
17141
17141
  });
17142
17142
  return (f, a) => (l(), u("div", {
17143
- class: j(["feed-found-item__container", { "feed-found-item__selected-container": e.selected }])
17143
+ class: V(["feed-found-item__container", { "feed-found-item__selected-container": e.selected }])
17144
17144
  }, [
17145
17145
  o("div", Rc, [
17146
17146
  e.object.avatar ? (l(), u("img", {
@@ -17165,7 +17165,7 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17165
17165
  }, null, 8, Wc)) : p("", !0),
17166
17166
  n.value ? (l(), u("span", {
17167
17167
  key: 1,
17168
- class: j(n.value),
17168
+ class: V(n.value),
17169
17169
  style: { "margin-right": "3px", "font-size": "20px" }
17170
17170
  }, null, 2)) : p("", !0),
17171
17171
  o("p", null, E(e.object.text), 1)
@@ -17195,7 +17195,7 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17195
17195
  },
17196
17196
  emits: ["clickedSearch", "loadMore"],
17197
17197
  setup(e, { emit: t }) {
17198
- const n = t, f = e, a = y(), s = y(null), i = $(() => {
17198
+ const n = t, f = e, a = v(), s = v(null), i = $(() => {
17199
17199
  if (f.notFound) return ve("component.FeedFoundObjects.notFound");
17200
17200
  if (!f.notFound) return ve("component.FeedFoundObjects.notSearched");
17201
17201
  }), r = (A) => {
@@ -17243,30 +17243,30 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17243
17243
  },
17244
17244
  emits: ["send", "typing"],
17245
17245
  setup(e, { emit: t }) {
17246
- const n = te("chatAppId"), { getMessage: f, setMessageFile: a, resetMessageFile: s, setRecordingMessage: i } = we(n), r = y(), c = y(0), A = y(0), d = y(0), g = y(0), m = $(() => {
17246
+ const n = te("chatAppId"), { getMessage: f, setMessageFile: a, resetMessageFile: s, setRecordingMessage: i } = we(n), r = v(), c = v(0), A = v(0), d = v(0), g = v(0), m = $(() => {
17247
17247
  let P = g.value < 10 ? "0" + g.value : g.value, Q = d.value < 10 ? "0" + d.value : d.value, Y = A.value < 10 ? "0" + A.value : A.value, C = c.value < 10 ? "00" + c.value : c.value < 100 ? "0" + c.value : c.value;
17248
17248
  return P + ":" + Q + ":" + Y + ":" + C;
17249
- }), M = y(""), _ = y(!1), v = y(), k = y([]), T = y(), b = y(), I = e, h = async () => {
17250
- if (!f().file && I.state == "active") {
17249
+ }), b = v(""), I = v(!1), h = v(), k = v([]), x = v(), y = v(), M = e, w = async () => {
17250
+ if (!f().file && M.state == "active") {
17251
17251
  const P = await navigator.mediaDevices.getUserMedia({ audio: !0, video: !1 });
17252
17252
  r.value = setInterval(() => {
17253
17253
  c.value += 10, c.value == 1e3 && (c.value = 0, A.value++, A.value == 60 && (A.value = 0, d.value++, d.value == 60 && (d.value = 0, g.value++)));
17254
- }, 10), i(!0), _.value = !0, v.value = new MediaRecorder(P), v.value.start(), v.value.ondataavailable = (Q) => {
17254
+ }, 10), i(!0), I.value = !0, h.value = new MediaRecorder(P), h.value.start(), h.value.ondataavailable = (Q) => {
17255
17255
  k.value.push(Q.data);
17256
17256
  };
17257
17257
  }
17258
- }, w = () => {
17259
- S(), T.value = void 0;
17260
- }, x = () => {
17261
- v.value && (v.value.stop(), v.value.onstop = async () => {
17258
+ }, _ = () => {
17259
+ T(), x.value = void 0;
17260
+ }, j = () => {
17261
+ h.value && (h.value.stop(), h.value.onstop = async () => {
17262
17262
  const P = new File(k.value, "voicemessage.mp3", { type: "audio/*" }), Q = URL.createObjectURL(P);
17263
- T.value = Q, M.value = "uploading", await Dn(I.filebumpUrl, P).then((Y) => {
17264
- M.value = Y.status, Y.status == "success" && (a({
17263
+ x.value = Q, b.value = "uploading", await Dn(M.filebumpUrl, P).then((Y) => {
17264
+ b.value = Y.status, Y.status == "success" && (a({
17265
17265
  url: Y.url,
17266
17266
  name: Y.name,
17267
17267
  size: Y.size,
17268
17268
  type: Y.type
17269
- }), Y.preview && (b.value = {
17269
+ }), Y.preview && (y.value = {
17270
17270
  previewUrl: Y.preview.previewUrl,
17271
17271
  isImage: Y.preview.isImage,
17272
17272
  isVideo: Y.preview.isVideo,
@@ -17275,68 +17275,68 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17275
17275
  fileSize: Y.preview.fileSize
17276
17276
  }));
17277
17277
  });
17278
- }), S();
17279
- }, S = () => {
17280
- clearInterval(r.value), c.value = 0, A.value = 0, d.value = 0, g.value = 0, i(!1), _.value = !1, v.value = void 0, k.value = [];
17281
- }, B = () => {
17282
- s(), b.value = void 0;
17278
+ }), T();
17279
+ }, T = () => {
17280
+ clearInterval(r.value), c.value = 0, A.value = 0, d.value = 0, g.value = 0, i(!1), I.value = !1, h.value = void 0, k.value = [];
17281
+ }, z = () => {
17282
+ s(), y.value = void 0;
17283
17283
  };
17284
17284
  return ee(
17285
17285
  () => f().file,
17286
17286
  () => {
17287
- f().file || (b.value = void 0);
17287
+ f().file || (y.value = void 0);
17288
17288
  }
17289
17289
  ), (P, Q) => (l(), u("div", tu, [
17290
- M.value === "uploading" ? (l(), u("div", nu, Q[0] || (Q[0] = [
17290
+ b.value === "uploading" ? (l(), u("div", nu, Q[0] || (Q[0] = [
17291
17291
  o("p", null, "Загрузка файла...", -1)
17292
17292
  ]))) : p("", !0),
17293
- _.value && M.value != "uploading" ? (l(), u("div", fu, [
17293
+ I.value && b.value != "uploading" ? (l(), u("div", fu, [
17294
17294
  Q[3] || (Q[3] = o("span", { class: "audio-recorder__recording-icon pi pi-circle-fill" }, null, -1)),
17295
17295
  o("button", {
17296
17296
  class: "audio-recorder__button audio-recorder__button-record",
17297
- onClick: w
17297
+ onClick: _
17298
17298
  }, Q[1] || (Q[1] = [
17299
17299
  o("span", { class: "pi pi-trash" }, null, -1)
17300
17300
  ])),
17301
17301
  o("button", {
17302
17302
  class: "audio-recorder__button audio-recorder__button-record",
17303
- onClick: x
17303
+ onClick: j
17304
17304
  }, Q[2] || (Q[2] = [
17305
17305
  o("div", { class: "audio-recorder__stop" }, null, -1)
17306
17306
  ])),
17307
17307
  o("span", au, E(m.value), 1)
17308
17308
  ])) : p("", !0),
17309
- !_.value && M.value != "uploading" && !N(f)().isRecording ? (l(), u("button", {
17309
+ !I.value && b.value != "uploading" && !N(f)().isRecording ? (l(), u("button", {
17310
17310
  key: 2,
17311
- class: j(["audio-recorder__button", { "audio-recorder__button-disabled": e.state == "disabled" || N(f)().file }]),
17312
- onClick: h
17311
+ class: V(["audio-recorder__button", { "audio-recorder__button-disabled": e.state == "disabled" || N(f)().file }]),
17312
+ onClick: w
17313
17313
  }, Q[4] || (Q[4] = [
17314
17314
  o("span", { class: "pi pi-microphone" }, null, -1)
17315
17315
  ]), 2)) : p("", !0),
17316
- N(f)().file ? (l(), U(ue, {
17316
+ N(f)().file ? (l(), B(ue, {
17317
17317
  key: 3,
17318
17318
  to: "#chat-input-file-line-" + N(n)
17319
17319
  }, [
17320
- b.value ? (l(), U(Nn, {
17320
+ y.value ? (l(), B(Nn, {
17321
17321
  key: 0,
17322
- "file-info": b.value,
17323
- onReset: B
17322
+ "file-info": y.value,
17323
+ onReset: z
17324
17324
  }, null, 8, ["file-info"])) : p("", !0)
17325
17325
  ], 8, ["to"])) : p("", !0)
17326
17326
  ]));
17327
17327
  }
17328
- }), Hg = /* @__PURE__ */ R(su, [["__scopeId", "data-v-a365d07a"]]);
17329
- function Ot({ component: e, attrs: t, Modal: n, modalAttrs: f }) {
17328
+ }), Hg = /* @__PURE__ */ R(su, [["__scopeId", "data-v-66c2d2ac"]]);
17329
+ function zt({ component: e, attrs: t, Modal: n, modalAttrs: f }) {
17330
17330
  return new Promise((a) => {
17331
17331
  const s = document.createElement("div");
17332
17332
  document.body.appendChild(s);
17333
- const i = y({}), r = () => {
17333
+ const i = v({}), r = () => {
17334
17334
  g.unmount(), document.body.removeChild(s);
17335
17335
  }, c = () => {
17336
17336
  r(), a(i.value);
17337
17337
  }, A = (m) => {
17338
- Object.keys(m).forEach((M) => {
17339
- i.value[M] = m[M];
17338
+ Object.keys(m).forEach((b) => {
17339
+ i.value[b] = m[b];
17340
17340
  });
17341
17341
  }, d = K({
17342
17342
  render() {
@@ -17386,7 +17386,7 @@ const iu = ["data-theme"], ou = {
17386
17386
  const n = t, f = (a) => {
17387
17387
  a.target.classList.contains("modal-backdrop") && n("close");
17388
17388
  };
17389
- return (a, s) => (l(), U(ne, { name: "modal-fade" }, {
17389
+ return (a, s) => (l(), B(ne, { name: "modal-fade" }, {
17390
17390
  default: Z(() => [
17391
17391
  o("div", {
17392
17392
  class: "modal-backdrop",
@@ -17418,9 +17418,9 @@ const iu = ["data-theme"], ou = {
17418
17418
  }));
17419
17419
  }
17420
17420
  }, _f = /* @__PURE__ */ R(Au, [["__scopeId", "data-v-a44139f6"]]), Wg = async (e, t) => {
17421
- const n = await Ot({
17421
+ const n = await zt({
17422
17422
  //в component должен быть встроен emit change(key: value)
17423
- component: import("./SelectUser2-BPRg6BIl.js"),
17423
+ component: import("./SelectUser2-DSbf8_y0.js"),
17424
17424
  attrs: {
17425
17425
  title: e,
17426
17426
  users: t
@@ -17430,7 +17430,7 @@ const iu = ["data-theme"], ou = {
17430
17430
  });
17431
17431
  return console.log("data", n), n;
17432
17432
  }, Kg = async (e) => {
17433
- const t = await Ot({
17433
+ const t = await zt({
17434
17434
  //в component должен быть встроен emit change(key: value)
17435
17435
  component: import("./CreateChat-B7Kq9eRQ.js"),
17436
17436
  attrs: {
@@ -17440,7 +17440,7 @@ const iu = ["data-theme"], ou = {
17440
17440
  modalAttrs: {}
17441
17441
  });
17442
17442
  return console.log("data", t), t;
17443
- }, Jg = async (e) => await Ot({
17443
+ }, Jg = async (e) => await zt({
17444
17444
  //в component должен быть встроен emit change(key: value)
17445
17445
  component: import("./CreateChat2-A8L9xv_j.js"),
17446
17446
  attrs: {
@@ -17466,7 +17466,7 @@ const iu = ["data-theme"], ou = {
17466
17466
  const n = t, f = (a) => {
17467
17467
  a.target.classList.contains("modal-backdrop") && n("close");
17468
17468
  };
17469
- return (a, s) => (l(), U(ne, { name: "modal-fade" }, {
17469
+ return (a, s) => (l(), B(ne, { name: "modal-fade" }, {
17470
17470
  default: Z(() => [
17471
17471
  o("div", {
17472
17472
  "data-theme": e.theme,
@@ -17481,9 +17481,9 @@ const iu = ["data-theme"], ou = {
17481
17481
  _: 3
17482
17482
  }));
17483
17483
  }
17484
- }, Oa = /* @__PURE__ */ R(du, [["__scopeId", "data-v-1923a305"]]), Gg = async (e, t, n, f, a, s) => await Ot({
17484
+ }, Oa = /* @__PURE__ */ R(du, [["__scopeId", "data-v-1923a305"]]), Gg = async (e, t, n, f, a, s) => await zt({
17485
17485
  //в component должен быть встроен emit change(key: value)
17486
- component: import("./CreateDialog-CZZtBHjh.js"),
17486
+ component: import("./CreateDialog-BomSa1If.js"),
17487
17487
  attrs: {
17488
17488
  title: e,
17489
17489
  name: t,
@@ -17495,9 +17495,9 @@ const iu = ["data-theme"], ou = {
17495
17495
  modalAttrs: {
17496
17496
  theme: s
17497
17497
  }
17498
- }), gu = async (e) => await Ot({
17498
+ }), gu = async (e) => await zt({
17499
17499
  //в component должен быть встроен emit change(key: value)
17500
- component: import("./ModalVideoRecorder-DTXBBJIP.js"),
17500
+ component: import("./ModalVideoRecorder-DC9GUlpx.js"),
17501
17501
  attrs: {},
17502
17502
  Modal: Oa,
17503
17503
  modalAttrs: {
@@ -17522,21 +17522,21 @@ const iu = ["data-theme"], ou = {
17522
17522
  }
17523
17523
  },
17524
17524
  setup(e) {
17525
- const t = te("chatAppId"), { getMessage: n, setMessageFile: f, setRecordingMessage: a, resetMessageFile: s } = we(t), { getTheme: i } = lt(t), r = y(""), c = y(), A = e, d = async () => {
17525
+ const t = te("chatAppId"), { getMessage: n, setMessageFile: f, setRecordingMessage: a, resetMessageFile: s } = we(t), { getTheme: i } = rt(t), r = v(""), c = v(), A = e, d = async () => {
17526
17526
  !n().file && A.state == "active" && await gu(i().theme).then(async (m) => {
17527
- m.videoFile && (r.value = "uploading", a(!0), await Dn(A.filebumpUrl, m.videoFile).then((M) => {
17528
- a(!1), r.value = M.status, M.status == "success" && (f({
17529
- url: M.url,
17530
- name: M.name,
17531
- size: M.size,
17532
- type: M.type
17533
- }), M.preview && (c.value = {
17534
- previewUrl: M.preview.previewUrl,
17535
- isImage: M.preview.isImage,
17536
- isVideo: M.preview.isVideo,
17537
- isAudio: M.preview.isAudio,
17538
- fileName: M.name,
17539
- fileSize: M.preview.fileSize
17527
+ m.videoFile && (r.value = "uploading", a(!0), await Dn(A.filebumpUrl, m.videoFile).then((b) => {
17528
+ a(!1), r.value = b.status, b.status == "success" && (f({
17529
+ url: b.url,
17530
+ name: b.name,
17531
+ size: b.size,
17532
+ type: b.type
17533
+ }), b.preview && (c.value = {
17534
+ previewUrl: b.preview.previewUrl,
17535
+ isImage: b.preview.isImage,
17536
+ isVideo: b.preview.isVideo,
17537
+ isAudio: b.preview.isAudio,
17538
+ fileName: b.name,
17539
+ fileSize: b.preview.fileSize
17540
17540
  }));
17541
17541
  }));
17542
17542
  });
@@ -17548,24 +17548,24 @@ const iu = ["data-theme"], ou = {
17548
17548
  () => {
17549
17549
  n().file || (c.value = void 0);
17550
17550
  }
17551
- ), (m, M) => (l(), u(H, null, [
17551
+ ), (m, b) => (l(), u(H, null, [
17552
17552
  N(n)().isRecording ? p("", !0) : (l(), u("div", mu, [
17553
17553
  r.value != "uploading" ? (l(), u("button", {
17554
17554
  key: 0,
17555
- class: j(["video-recorder__button", { "video-recorder__button-disabled": e.state == "disabled" || N(n)().file }]),
17555
+ class: V(["video-recorder__button", { "video-recorder__button-disabled": e.state == "disabled" || N(n)().file }]),
17556
17556
  onClick: d
17557
- }, M[0] || (M[0] = [
17557
+ }, b[0] || (b[0] = [
17558
17558
  o("span", { class: "pi pi-video" }, null, -1)
17559
17559
  ]), 2)) : p("", !0)
17560
17560
  ])),
17561
- r.value === "uploading" ? (l(), u("div", pu, M[1] || (M[1] = [
17561
+ r.value === "uploading" ? (l(), u("div", pu, b[1] || (b[1] = [
17562
17562
  o("p", null, "Загрузка файла...", -1)
17563
17563
  ]))) : p("", !0),
17564
- N(n)().file ? (l(), U(ue, {
17564
+ N(n)().file ? (l(), B(ue, {
17565
17565
  key: 2,
17566
17566
  to: "#chat-input-file-line-" + N(t)
17567
17567
  }, [
17568
- c.value ? (l(), U(Nn, {
17568
+ c.value ? (l(), B(Nn, {
17569
17569
  key: 0,
17570
17570
  "file-info": c.value,
17571
17571
  onReset: g
@@ -17573,7 +17573,7 @@ const iu = ["data-theme"], ou = {
17573
17573
  ], 8, ["to"])) : p("", !0)
17574
17574
  ], 64));
17575
17575
  }
17576
- }), Zg = /* @__PURE__ */ R(hu, [["__scopeId", "data-v-1c01363d"]]), ut = /* @__PURE__ */ K({
17576
+ }), Zg = /* @__PURE__ */ R(hu, [["__scopeId", "data-v-25ed68fb"]]), dt = /* @__PURE__ */ K({
17577
17577
  __name: "BaseReplyMessage",
17578
17578
  props: {
17579
17579
  message: {
@@ -17600,12 +17600,12 @@ const iu = ["data-theme"], ou = {
17600
17600
  s();
17601
17601
  };
17602
17602
  return (d, g) => {
17603
- var m, M;
17603
+ var m, b;
17604
17604
  return l(), u("div", {
17605
- class: j(["reply__container", c((m = e.message) == null ? void 0 : m.type)]),
17605
+ class: V(["reply__container", c((m = e.message) == null ? void 0 : m.type)]),
17606
17606
  onClick: i
17607
17607
  }, [
17608
- (l(), U(na(r((M = e.message) == null ? void 0 : M.type)), { message: e.message }, null, 8, ["message"])),
17608
+ (l(), B(na(r((b = e.message) == null ? void 0 : b.type)), { message: e.message }, null, 8, ["message"])),
17609
17609
  o("span", {
17610
17610
  class: "pi pi-times reply__reset",
17611
17611
  style: { "font-size": "1rem" },
@@ -17641,7 +17641,7 @@ const iu = ["data-theme"], ou = {
17641
17641
  ])
17642
17642
  ]));
17643
17643
  }
17644
- }), zt = /* @__PURE__ */ R(wu, [["__scopeId", "data-v-7dff12c1"]]), ku = { class: "embed-preview" }, Nu = ["src"], Du = ["src"], Eu = ["src"], Tu = /* @__PURE__ */ K({
17644
+ }), Lt = /* @__PURE__ */ R(wu, [["__scopeId", "data-v-7dff12c1"]]), ku = { class: "embed-preview" }, Nu = ["src"], Du = ["src"], Eu = ["src"], Tu = /* @__PURE__ */ K({
17645
17645
  __name: "EmbedPreview",
17646
17646
  props: {
17647
17647
  embed: {
@@ -17675,7 +17675,7 @@ const iu = ["data-theme"], ou = {
17675
17675
  }, null, 8, Eu))
17676
17676
  ]));
17677
17677
  }
17678
- }), Lt = /* @__PURE__ */ R(Tu, [["__scopeId", "data-v-4a307ee2"]]), ju = ["messageId"], xu = ["src"], Vu = {
17678
+ }), Ut = /* @__PURE__ */ R(Tu, [["__scopeId", "data-v-4a307ee2"]]), ju = ["messageId"], xu = ["src"], Vu = {
17679
17679
  key: 1,
17680
17680
  class: "file-message__subtext"
17681
17681
  }, Su = ["href"], Cu = { class: "file-message__filename-text" }, Ou = {
@@ -17694,7 +17694,7 @@ const iu = ["data-theme"], ou = {
17694
17694
  },
17695
17695
  emits: ["action", "reply"],
17696
17696
  setup(e, { emit: t }) {
17697
- const n = e, f = t, a = y(!1), s = y(!1), i = y("");
17697
+ const n = e, f = t, a = v(!1), s = v(!1), i = v("");
17698
17698
  ee(
17699
17699
  () => n.message.text,
17700
17700
  () => {
@@ -17702,11 +17702,11 @@ const iu = ["data-theme"], ou = {
17702
17702
  },
17703
17703
  { immediate: !0 }
17704
17704
  );
17705
- const r = (v) => {
17706
- f("reply", v);
17705
+ const r = (h) => {
17706
+ f("reply", h);
17707
17707
  };
17708
- function c(v) {
17709
- v.preventDefault(), v.target.href && window.open(v.target.href, "_blank");
17708
+ function c(h) {
17709
+ h.preventDefault(), h.target.href && window.open(h.target.href, "_blank");
17710
17710
  }
17711
17711
  const A = () => {
17712
17712
  f("action", { messageId: n.message.messageId, type: "views" });
@@ -17715,12 +17715,12 @@ const iu = ["data-theme"], ou = {
17715
17715
  s.value = !0;
17716
17716
  }, m = () => {
17717
17717
  s.value = !1, a.value = !1;
17718
- }, M = $(() => At(n.message.status));
17719
- function _(v) {
17720
- return v.position === "left" ? "file-message__left" : "file-message__right";
17718
+ }, b = $(() => ct(n.message.status));
17719
+ function I(h) {
17720
+ return h.position === "left" ? "file-message__left" : "file-message__right";
17721
17721
  }
17722
- return (v, k) => (l(), u("div", {
17723
- class: j(["file-message", _(e.message)]),
17722
+ return (h, k) => (l(), u("div", {
17723
+ class: V(["file-message", I(e.message)]),
17724
17724
  messageId: e.message.messageId,
17725
17725
  onMouseleave: m
17726
17726
  }, [
@@ -17738,10 +17738,10 @@ const iu = ["data-theme"], ou = {
17738
17738
  style: re({ gridRow: e.message.subText ? "2" : "1" }),
17739
17739
  onMouseenter: g
17740
17740
  }, [
17741
- e.message.reply ? (l(), U(ut, {
17741
+ e.message.reply ? (l(), B(dt, {
17742
17742
  key: 0,
17743
17743
  message: e.message.reply,
17744
- class: j(e.message.position),
17744
+ class: V(e.message.position),
17745
17745
  onReply: r
17746
17746
  }, null, 8, ["message", "class"])) : p("", !0),
17747
17747
  o("a", {
@@ -17762,14 +17762,14 @@ const iu = ["data-theme"], ou = {
17762
17762
  onClick: c
17763
17763
  }, null, 8, zu)
17764
17764
  ])) : p("", !0),
17765
- e.message.linkPreview ? (l(), U(zt, {
17765
+ e.message.linkPreview ? (l(), B(Lt, {
17766
17766
  key: 2,
17767
- class: j(e.message.position),
17767
+ class: V(e.message.position),
17768
17768
  linkPreview: e.message.linkPreview
17769
17769
  }, null, 8, ["class", "linkPreview"])) : p("", !0),
17770
- e.message.embed ? (l(), U(Lt, {
17770
+ e.message.embed ? (l(), B(Ut, {
17771
17771
  key: 3,
17772
- class: j(e.message.position),
17772
+ class: V(e.message.position),
17773
17773
  embed: e.message.embed
17774
17774
  }, null, 8, ["class", "embed"])) : p("", !0),
17775
17775
  o("div", Lu, [
@@ -17782,9 +17782,9 @@ const iu = ["data-theme"], ou = {
17782
17782
  o("p", null, E(e.message.views), 1)
17783
17783
  ])) : p("", !0),
17784
17784
  o("span", Uu, E(e.message.time), 1),
17785
- _(e.message) === "file-message__right" && N(rt).includes(e.message.status) ? (l(), u("div", {
17785
+ I(e.message) === "file-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
17786
17786
  key: 1,
17787
- class: j(["file-message__status", M.value])
17787
+ class: V(["file-message__status", b.value])
17788
17788
  }, [
17789
17789
  e.message.status !== "sent" ? (l(), u("span", Bu)) : p("", !0),
17790
17790
  k[4] || (k[4] = o("span", { class: "pi pi-check" }, null, -1))
@@ -17793,13 +17793,13 @@ const iu = ["data-theme"], ou = {
17793
17793
  s.value && e.message.actions ? (l(), u("button", {
17794
17794
  key: 4,
17795
17795
  class: "file-message__menu-button",
17796
- onClick: k[0] || (k[0] = (T) => a.value = !a.value)
17796
+ onClick: k[0] || (k[0] = (x) => a.value = !a.value)
17797
17797
  }, k[5] || (k[5] = [
17798
17798
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
17799
17799
  ]))) : p("", !0),
17800
17800
  W(ne, null, {
17801
17801
  default: Z(() => [
17802
- a.value && e.message.actions ? (l(), U(N(ct), {
17802
+ a.value && e.message.actions ? (l(), B(N(ut), {
17803
17803
  key: 0,
17804
17804
  class: "file-message__context-menu",
17805
17805
  actions: e.message.actions,
@@ -17833,7 +17833,7 @@ const iu = ["data-theme"], ou = {
17833
17833
  },
17834
17834
  emits: ["action", "reply"],
17835
17835
  setup(e, { emit: t }) {
17836
- const n = e, f = t, a = y(!1), s = y(!1), i = y(!1), r = y(!1), c = y("");
17836
+ const n = e, f = t, a = v(!1), s = v(!1), i = v(!1), r = v(!1), c = v("");
17837
17837
  ee(
17838
17838
  () => n.message.text,
17839
17839
  () => {
@@ -17841,34 +17841,34 @@ const iu = ["data-theme"], ou = {
17841
17841
  },
17842
17842
  { immediate: !0 }
17843
17843
  );
17844
- const A = (h) => {
17845
- f("reply", h);
17844
+ const A = (w) => {
17845
+ f("reply", w);
17846
17846
  };
17847
- function d(h) {
17848
- h.preventDefault(), h.target.href && window.open(h.target.href, "_blank");
17847
+ function d(w) {
17848
+ w.preventDefault(), w.target.href && window.open(w.target.href, "_blank");
17849
17849
  }
17850
17850
  const g = () => {
17851
17851
  f("action", { messageId: n.message.messageId, type: "views" });
17852
17852
  }, m = () => {
17853
- }, M = () => {
17853
+ }, b = () => {
17854
17854
  i.value = !0, r.value = !0;
17855
- }, _ = () => {
17855
+ }, I = () => {
17856
17856
  i.value = !1, s.value = !1;
17857
- }, v = $(() => n.message.reply && n.message.text ? "0" : n.message.text ? "8px 8px 0 0" : n.message.reply ? "0 0 8px 8px" : "8px"), k = $(() => At(n.message.status));
17858
- function T(h) {
17859
- return h.position === "left" ? "image-message__left" : "image-message__right";
17857
+ }, h = $(() => n.message.reply && n.message.text ? "0" : n.message.text ? "8px 8px 0 0" : n.message.reply ? "0 0 8px 8px" : "8px"), k = $(() => ct(n.message.status));
17858
+ function x(w) {
17859
+ return w.position === "left" ? "image-message__left" : "image-message__right";
17860
17860
  }
17861
- const b = () => a.value = !1, I = (h) => {
17862
- h.key === "Escape" && a.value && b();
17861
+ const y = () => a.value = !1, M = (w) => {
17862
+ w.key === "Escape" && a.value && y();
17863
17863
  };
17864
17864
  return oe(() => {
17865
- document.addEventListener("keydown", I);
17865
+ document.addEventListener("keydown", M);
17866
17866
  }), Je(() => {
17867
- document.removeEventListener("keydown", I);
17868
- }), (h, w) => (l(), u("div", {
17869
- class: j(["image-message", T(e.message)]),
17867
+ document.removeEventListener("keydown", M);
17868
+ }), (w, _) => (l(), u("div", {
17869
+ class: V(["image-message", x(e.message)]),
17870
17870
  messageId: e.message.messageId,
17871
- onMouseleave: _
17871
+ onMouseleave: I
17872
17872
  }, [
17873
17873
  e.message.avatar ? (l(), u("img", {
17874
17874
  key: 0,
@@ -17879,22 +17879,22 @@ const iu = ["data-theme"], ou = {
17879
17879
  }, null, 8, Yu)) : p("", !0),
17880
17880
  e.message.subText ? (l(), u("p", Pu, E(e.message.subText), 1)) : p("", !0),
17881
17881
  o("div", Fu, [
17882
- e.message.reply ? (l(), U(ut, {
17882
+ e.message.reply ? (l(), B(dt, {
17883
17883
  key: 0,
17884
17884
  style: { margin: "10px 10px 4px 16px" },
17885
- class: j(e.message.position),
17885
+ class: V(e.message.position),
17886
17886
  message: e.message.reply,
17887
17887
  onReply: A
17888
17888
  }, null, 8, ["class", "message"])) : p("", !0),
17889
17889
  o("div", {
17890
17890
  class: "image-message__preview-button",
17891
- onClick: w[0] || (w[0] = (x) => a.value = !0),
17892
- onMouseenter: M,
17893
- onMouseleave: w[1] || (w[1] = (x) => r.value = !r.value)
17891
+ onClick: _[0] || (_[0] = (j) => a.value = !0),
17892
+ onMouseenter: b,
17893
+ onMouseleave: _[1] || (_[1] = (j) => r.value = !r.value)
17894
17894
  }, [
17895
17895
  o("img", {
17896
17896
  class: "image-message__preview-image",
17897
- style: re({ borderRadius: v.value }),
17897
+ style: re({ borderRadius: h.value }),
17898
17898
  src: e.message.url,
17899
17899
  alt: e.message.alt
17900
17900
  }, null, 12, qu),
@@ -17903,19 +17903,19 @@ const iu = ["data-theme"], ou = {
17903
17903
  r.value ? (l(), u("div", Hu, [
17904
17904
  e.message.views ? (l(), u("div", {
17905
17905
  key: 0,
17906
- onClick: Nt(g, ["stop"]),
17906
+ onClick: Dt(g, ["stop"]),
17907
17907
  class: "image-message__views"
17908
17908
  }, [
17909
- w[3] || (w[3] = o("span", { class: "pi pi-eye" }, null, -1)),
17909
+ _[3] || (_[3] = o("span", { class: "pi pi-eye" }, null, -1)),
17910
17910
  o("p", null, E(e.message.views), 1)
17911
17911
  ])) : p("", !0),
17912
17912
  o("span", Wu, E(e.message.time), 1),
17913
- T(e.message) === "image-message__right" && N(rt).includes(e.message.status) ? (l(), u("div", {
17913
+ x(e.message) === "image-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
17914
17914
  key: 1,
17915
- class: j(["image-message__status", k.value])
17915
+ class: V(["image-message__status", k.value])
17916
17916
  }, [
17917
17917
  e.message.status !== "sent" ? (l(), u("span", Ku)) : p("", !0),
17918
- w[4] || (w[4] = o("span", { class: "pi pi-check" }, null, -1))
17918
+ _[4] || (_[4] = o("span", { class: "pi pi-check" }, null, -1))
17919
17919
  ], 2)) : p("", !0)
17920
17920
  ])) : p("", !0)
17921
17921
  ]),
@@ -17925,12 +17925,12 @@ const iu = ["data-theme"], ou = {
17925
17925
  default: Z(() => [
17926
17926
  r.value ? (l(), u("a", {
17927
17927
  key: 0,
17928
- onClick: Nt(() => "//Предотвращаем всплытие события клика", ["stop"]),
17928
+ onClick: Dt(() => "//Предотвращаем всплытие события клика", ["stop"]),
17929
17929
  class: "image-message__download-button",
17930
17930
  href: e.message.url,
17931
17931
  download: "",
17932
17932
  target: "_blank"
17933
- }, w[5] || (w[5] = [
17933
+ }, _[5] || (_[5] = [
17934
17934
  o("span", { class: "pi pi-download" }, null, -1)
17935
17935
  ]), 8, Ju)) : p("", !0)
17936
17936
  ]),
@@ -17942,8 +17942,8 @@ const iu = ["data-theme"], ou = {
17942
17942
  i.value && e.message.actions ? (l(), u("button", {
17943
17943
  key: 0,
17944
17944
  class: "image-message__menu-button",
17945
- onClick: w[2] || (w[2] = (x) => s.value = !s.value)
17946
- }, w[6] || (w[6] = [
17945
+ onClick: _[2] || (_[2] = (j) => s.value = !s.value)
17946
+ }, _[6] || (_[6] = [
17947
17947
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
17948
17948
  ]))) : p("", !0)
17949
17949
  ]),
@@ -17951,7 +17951,7 @@ const iu = ["data-theme"], ou = {
17951
17951
  }),
17952
17952
  W(ne, { name: "context-menu" }, {
17953
17953
  default: Z(() => [
17954
- s.value && e.message.actions ? (l(), U(N(ct), {
17954
+ s.value && e.message.actions ? (l(), B(N(ut), {
17955
17955
  key: 0,
17956
17956
  class: "image-message__context-menu",
17957
17957
  actions: e.message.actions,
@@ -17966,23 +17966,23 @@ const iu = ["data-theme"], ou = {
17966
17966
  onClick: d
17967
17967
  }, null, 8, Zu)
17968
17968
  ])) : p("", !0),
17969
- e.message.linkPreview ? (l(), U(zt, {
17969
+ e.message.linkPreview ? (l(), B(Lt, {
17970
17970
  key: 2,
17971
- class: j(["image-message__link-preview", e.message.position]),
17971
+ class: V(["image-message__link-preview", e.message.position]),
17972
17972
  linkPreview: e.message.linkPreview
17973
17973
  }, null, 8, ["class", "linkPreview"])) : p("", !0),
17974
- e.message.embed ? (l(), U(Lt, {
17974
+ e.message.embed ? (l(), B(Ut, {
17975
17975
  key: 3,
17976
- class: j(e.message.position),
17976
+ class: V(e.message.position),
17977
17977
  embed: e.message.embed
17978
17978
  }, null, 8, ["class", "embed"])) : p("", !0)
17979
17979
  ]),
17980
- (l(), U(ue, { to: "body" }, [
17980
+ (l(), B(ue, { to: "body" }, [
17981
17981
  W(ne, { name: "modal-fade" }, {
17982
17982
  default: Z(() => [
17983
- a.value ? (l(), U(cf, {
17983
+ a.value ? (l(), B(cf, {
17984
17984
  key: 0,
17985
- onClose: b
17985
+ onClose: y
17986
17986
  }, {
17987
17987
  default: Z(() => [
17988
17988
  o("img", {
@@ -18018,7 +18018,7 @@ const iu = ["data-theme"], ou = {
18018
18018
  },
18019
18019
  emits: ["action", "reply"],
18020
18020
  setup(e, { emit: t }) {
18021
- const n = e, f = t, a = y(!1), s = y(!1), i = y("");
18021
+ const n = e, f = t, a = v(!1), s = v(!1), i = v("");
18022
18022
  ee(
18023
18023
  () => n.message.text,
18024
18024
  () => {
@@ -18026,26 +18026,26 @@ const iu = ["data-theme"], ou = {
18026
18026
  },
18027
18027
  { immediate: !0 }
18028
18028
  );
18029
- const r = (v) => {
18030
- f("reply", v);
18029
+ const r = (h) => {
18030
+ f("reply", h);
18031
18031
  };
18032
- function c(v) {
18033
- v.preventDefault(), v.target.href && window.open(v.target.href, "_blank");
18032
+ function c(h) {
18033
+ h.preventDefault(), h.target.href && window.open(h.target.href, "_blank");
18034
18034
  }
18035
18035
  const A = () => {
18036
18036
  s.value = !0;
18037
18037
  }, d = () => {
18038
18038
  s.value = !1, a.value = !1;
18039
- }, g = $(() => At(n.message.status)), m = (v) => {
18040
- d(), f("action", { messageId: n.message.messageId, type: "menu", ...v });
18041
- }, M = () => {
18039
+ }, g = $(() => ct(n.message.status)), m = (h) => {
18040
+ d(), f("action", { messageId: n.message.messageId, type: "menu", ...h });
18041
+ }, b = () => {
18042
18042
  d(), f("action", { messageId: n.message.messageId, type: "views" });
18043
18043
  };
18044
- function _(v) {
18045
- return v.position === "left" ? "text-message__left" : "text-message__right";
18044
+ function I(h) {
18045
+ return h.position === "left" ? "text-message__left" : "text-message__right";
18046
18046
  }
18047
- return (v, k) => (l(), u("div", {
18048
- class: j(["text-message", _(e.message)]),
18047
+ return (h, k) => (l(), u("div", {
18048
+ class: V(["text-message", I(e.message)]),
18049
18049
  messageId: e.message.messageId,
18050
18050
  onMouseleave: d
18051
18051
  }, [
@@ -18062,9 +18062,9 @@ const iu = ["data-theme"], ou = {
18062
18062
  class: "text-message__content",
18063
18063
  onMouseenter: A
18064
18064
  }, [
18065
- e.message.reply ? (l(), U(ut, {
18065
+ e.message.reply ? (l(), B(dt, {
18066
18066
  key: 0,
18067
- class: j(e.message.position),
18067
+ class: V(e.message.position),
18068
18068
  message: e.message.reply,
18069
18069
  onReply: r
18070
18070
  }, null, 8, ["class", "message"])) : p("", !0),
@@ -18073,29 +18073,29 @@ const iu = ["data-theme"], ou = {
18073
18073
  class: "text-message__text",
18074
18074
  onClick: c
18075
18075
  }, null, 8, sd),
18076
- e.message.linkPreview ? (l(), U(zt, {
18076
+ e.message.linkPreview ? (l(), B(Lt, {
18077
18077
  key: 1,
18078
- class: j(e.message.position),
18078
+ class: V(e.message.position),
18079
18079
  linkPreview: e.message.linkPreview
18080
18080
  }, null, 8, ["class", "linkPreview"])) : p("", !0),
18081
- e.message.embed ? (l(), U(Lt, {
18081
+ e.message.embed ? (l(), B(Ut, {
18082
18082
  key: 2,
18083
- class: j(e.message.position),
18083
+ class: V(e.message.position),
18084
18084
  embed: e.message.embed
18085
18085
  }, null, 8, ["class", "embed"])) : p("", !0),
18086
18086
  o("div", id, [
18087
18087
  e.message.views ? (l(), u("div", {
18088
18088
  key: 0,
18089
18089
  class: "text-message__views",
18090
- onClick: M
18090
+ onClick: b
18091
18091
  }, [
18092
18092
  k[1] || (k[1] = o("span", { class: "pi pi-eye" }, null, -1)),
18093
18093
  o("p", null, E(e.message.views), 1)
18094
18094
  ])) : p("", !0),
18095
18095
  e.message.time ? (l(), u("span", od, E(e.message.time), 1)) : p("", !0),
18096
- _(e.message) === "text-message__right" && N(rt).includes(e.message.status) ? (l(), u("div", {
18096
+ I(e.message) === "text-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
18097
18097
  key: 2,
18098
- class: j(["text-message__status", g.value])
18098
+ class: V(["text-message__status", g.value])
18099
18099
  }, [
18100
18100
  e.message.status !== "sent" ? (l(), u("span", ld)) : p("", !0),
18101
18101
  k[2] || (k[2] = o("span", { class: "pi pi-check" }, null, -1))
@@ -18104,13 +18104,13 @@ const iu = ["data-theme"], ou = {
18104
18104
  s.value && e.message.actions ? (l(), u("button", {
18105
18105
  key: 3,
18106
18106
  class: "text-message__menu-button",
18107
- onClick: k[0] || (k[0] = (T) => a.value = !a.value)
18107
+ onClick: k[0] || (k[0] = (x) => a.value = !a.value)
18108
18108
  }, k[3] || (k[3] = [
18109
18109
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18110
18110
  ]))) : p("", !0),
18111
18111
  W(ne, null, {
18112
18112
  default: Z(() => [
18113
- a.value && e.message.actions ? (l(), U(N(ct), {
18113
+ a.value && e.message.actions ? (l(), B(N(ut), {
18114
18114
  key: 0,
18115
18115
  class: "text-message__context-menu",
18116
18116
  actions: e.message.actions,
@@ -18144,7 +18144,7 @@ const iu = ["data-theme"], ou = {
18144
18144
  },
18145
18145
  emits: ["action", "reply"],
18146
18146
  setup(e, { emit: t }) {
18147
- const n = te("chatAppId"), { getTheme: f } = lt(n), a = e, s = y([
18147
+ const n = te("chatAppId"), { getTheme: f } = rt(n), a = e, s = v([
18148
18148
  {
18149
18149
  text: "1.0x",
18150
18150
  speed: 1,
@@ -18169,36 +18169,36 @@ const iu = ["data-theme"], ou = {
18169
18169
  for (let O of s.value)
18170
18170
  O.selected = !1;
18171
18171
  s.value[C].selected = !0, c.value && (c.value.playbackRate = s.value[C].speed);
18172
- }, r = t, c = y(), A = y(!1), d = y(0), g = y(0), m = y(!1), M = y(!1), _ = y(!1), v = $(() => {
18172
+ }, r = t, c = v(), A = v(!1), d = v(0), g = v(0), m = v(!1), b = v(!1), I = v(!1), h = $(() => {
18173
18173
  if (a.message.text) return ke(a.message.text);
18174
18174
  }), k = (C) => {
18175
18175
  r("reply", C);
18176
18176
  };
18177
- function T(C) {
18177
+ function x(C) {
18178
18178
  C.preventDefault(), C.target.href && window.open(C.target.href, "_blank");
18179
18179
  }
18180
- const b = () => {
18181
- M.value = !0;
18182
- }, I = () => {
18183
- M.value = !1, m.value = !1;
18184
- }, h = () => {
18185
- r("action", { messageId: a.message.messageId, type: "views" });
18180
+ const y = () => {
18181
+ b.value = !0;
18182
+ }, M = () => {
18183
+ b.value = !1, m.value = !1;
18186
18184
  }, w = () => {
18187
- }, x = $(() => At(a.message.status));
18188
- function S() {
18185
+ r("action", { messageId: a.message.messageId, type: "views" });
18186
+ }, _ = () => {
18187
+ }, j = $(() => ct(a.message.status));
18188
+ function T() {
18189
18189
  c.value && (A.value ? c.value.pause() : c.value.play(), A.value = !A.value);
18190
18190
  }
18191
- const B = (C) => {
18191
+ const z = (C) => {
18192
18192
  const O = Math.floor(C / 60), X = Math.floor(C % 60);
18193
18193
  return `${O.toString().padStart(2, "0")}:${X.toString().padStart(2, "0")}`;
18194
- }, P = $(() => c.value ? B(g.value) : "0:00");
18194
+ }, P = $(() => c.value ? z(g.value) : "0:00");
18195
18195
  ee(
18196
18196
  () => g.value,
18197
18197
  () => {
18198
18198
  c.value && (c.value.duration != 1 / 0 && !Number.isNaN(c.value.duration) && (c.value.currentTime = g.value), g.value == d.value && (A.value = !1));
18199
18199
  }
18200
18200
  );
18201
- const Q = $(() => c.value ? B(d.value) : "0:00");
18201
+ const Q = $(() => c.value ? z(d.value) : "0:00");
18202
18202
  function Y(C) {
18203
18203
  return C.position === "left" ? "audio-message__left" : "audio-message__right";
18204
18204
  }
@@ -18213,9 +18213,9 @@ const iu = ["data-theme"], ou = {
18213
18213
  }), (C, O) => {
18214
18214
  var X;
18215
18215
  return l(), u("div", {
18216
- class: j(["audio-message", Y(e.message)]),
18216
+ class: V(["audio-message", Y(e.message)]),
18217
18217
  messageId: e.message.messageId,
18218
- onMouseleave: I
18218
+ onMouseleave: M
18219
18219
  }, [
18220
18220
  e.message.avatar ? (l(), u("img", {
18221
18221
  key: 0,
@@ -18228,13 +18228,13 @@ const iu = ["data-theme"], ou = {
18228
18228
  e.message.subText ? (l(), u("p", dd, E(e.message.subText), 1)) : p("", !0),
18229
18229
  o("div", {
18230
18230
  class: "audio-message__content",
18231
- onMouseenter: b
18231
+ onMouseenter: y
18232
18232
  }, [
18233
- e.message.reply ? (l(), U(ut, {
18233
+ e.message.reply ? (l(), B(dt, {
18234
18234
  key: 0,
18235
18235
  style: { "grid-column": "1/3" },
18236
18236
  message: e.message.reply,
18237
- class: j(e.message.position),
18237
+ class: V(e.message.position),
18238
18238
  onReply: k
18239
18239
  }, null, 8, ["message", "class"])) : p("", !0),
18240
18240
  o("div", gd, [
@@ -18246,7 +18246,7 @@ const iu = ["data-theme"], ou = {
18246
18246
  }, null, 8, md),
18247
18247
  ce(o("button", {
18248
18248
  class: "audio-message__play",
18249
- onClick: S
18249
+ onClick: T
18250
18250
  }, O[4] || (O[4] = [
18251
18251
  o("span", { class: "pi pi-play" }, null, -1)
18252
18252
  ]), 512), [
@@ -18254,7 +18254,7 @@ const iu = ["data-theme"], ou = {
18254
18254
  ]),
18255
18255
  ce(o("button", {
18256
18256
  class: "audio-message__pause",
18257
- onClick: S
18257
+ onClick: T
18258
18258
  }, O[5] || (O[5] = [
18259
18259
  o("span", { class: "pi pi-pause" }, null, -1)
18260
18260
  ]), 512), [
@@ -18266,22 +18266,22 @@ const iu = ["data-theme"], ou = {
18266
18266
  min: 0,
18267
18267
  max: d.value,
18268
18268
  step: "0.1",
18269
- "onUpdate:modelValue": O[0] || (O[0] = (z) => g.value = z)
18269
+ "onUpdate:modelValue": O[0] || (O[0] = (L) => g.value = L)
18270
18270
  }, null, 8, pd), [
18271
- [ot, g.value]
18271
+ [lt, g.value]
18272
18272
  ]),
18273
18273
  o("div", hd, [
18274
18274
  o("p", vd, E(`${P.value} / ${Q.value}`), 1),
18275
18275
  o("div", yd, [
18276
- (l(!0), u(H, null, ae(s.value, (z, L) => (l(), u("p", {
18277
- onClick: (J) => i(L),
18278
- class: j(["audio-message__speed-btn", { "audio-message__speed-btn-selected": z.selected }])
18279
- }, E(z.text), 11, bd))), 256))
18276
+ (l(!0), u(H, null, ae(s.value, (L, U) => (l(), u("p", {
18277
+ onClick: (J) => i(U),
18278
+ class: V(["audio-message__speed-btn", { "audio-message__speed-btn-selected": L.selected }])
18279
+ }, E(L.text), 11, bd))), 256))
18280
18280
  ])
18281
18281
  ]),
18282
18282
  o("a", {
18283
18283
  class: "audio-message__download-button",
18284
- onClick: Nt(() => "//Предотвращаем всплытие события клика", ["stop"]),
18284
+ onClick: Dt(() => "//Предотвращаем всплытие события клика", ["stop"]),
18285
18285
  href: e.message.url,
18286
18286
  download: "",
18287
18287
  target: "_blank"
@@ -18291,67 +18291,67 @@ const iu = ["data-theme"], ou = {
18291
18291
  ]),
18292
18292
  (X = e.message.transcript) != null && X.text ? (l(), u("div", _d, [
18293
18293
  o("p", {
18294
- onClick: O[1] || (O[1] = (z) => _.value = !_.value)
18294
+ onClick: O[1] || (O[1] = (L) => I.value = !I.value)
18295
18295
  }, E(e.message.transcript.text), 1)
18296
18296
  ])) : p("", !0),
18297
18297
  e.message.text ? (l(), u("div", Id, [
18298
18298
  o("p", {
18299
- innerHTML: v.value,
18300
- onClick: T
18299
+ innerHTML: h.value,
18300
+ onClick: x
18301
18301
  }, null, 8, wd)
18302
18302
  ])) : p("", !0),
18303
- e.message.linkPreview ? (l(), U(zt, {
18303
+ e.message.linkPreview ? (l(), B(Lt, {
18304
18304
  key: 3,
18305
- class: j(["audio-message__link-preview", e.message.position]),
18305
+ class: V(["audio-message__link-preview", e.message.position]),
18306
18306
  linkPreview: e.message.linkPreview
18307
18307
  }, null, 8, ["class", "linkPreview"])) : p("", !0),
18308
- e.message.embed ? (l(), U(Lt, {
18308
+ e.message.embed ? (l(), B(Ut, {
18309
18309
  key: 4,
18310
- class: j(e.message.position),
18310
+ class: V(e.message.position),
18311
18311
  embed: e.message.embed
18312
18312
  }, null, 8, ["class", "embed"])) : p("", !0),
18313
18313
  o("div", kd, [
18314
18314
  e.message.views ? (l(), u("div", {
18315
18315
  key: 0,
18316
- onClick: h,
18316
+ onClick: w,
18317
18317
  class: "audio-message__views"
18318
18318
  }, [
18319
18319
  O[7] || (O[7] = o("span", { class: "pi pi-eye" }, null, -1)),
18320
18320
  o("p", null, E(e.message.views), 1)
18321
18321
  ])) : p("", !0),
18322
18322
  o("span", Nd, E(e.message.time), 1),
18323
- Y(e.message) === "audio-message__right" && N(rt).includes(e.message.status) ? (l(), u("div", {
18323
+ Y(e.message) === "audio-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
18324
18324
  key: 1,
18325
- class: j(["audio-message__status", x.value])
18325
+ class: V(["audio-message__status", j.value])
18326
18326
  }, [
18327
18327
  e.message.status !== "sent" ? (l(), u("span", Dd)) : p("", !0),
18328
18328
  O[8] || (O[8] = o("span", { class: "pi pi-check" }, null, -1))
18329
18329
  ], 2)) : p("", !0)
18330
18330
  ]),
18331
- M.value && e.message.actions ? (l(), u("button", {
18331
+ b.value && e.message.actions ? (l(), u("button", {
18332
18332
  key: 5,
18333
18333
  class: "audio-message__menu-button",
18334
- onClick: O[2] || (O[2] = (z) => m.value = !m.value)
18334
+ onClick: O[2] || (O[2] = (L) => m.value = !m.value)
18335
18335
  }, O[9] || (O[9] = [
18336
18336
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18337
18337
  ]))) : p("", !0),
18338
18338
  W(ne, null, {
18339
18339
  default: Z(() => [
18340
- m.value && e.message.actions ? (l(), U(N(ct), {
18340
+ m.value && e.message.actions ? (l(), B(N(ut), {
18341
18341
  key: 0,
18342
18342
  class: "audio-message__context-menu",
18343
18343
  actions: e.message.actions,
18344
- onClick: w
18344
+ onClick: _
18345
18345
  }, null, 8, ["actions"])) : p("", !0)
18346
18346
  ]),
18347
18347
  _: 1
18348
18348
  }),
18349
- (l(), U(ue, { to: "body" }, [
18349
+ (l(), B(ue, { to: "body" }, [
18350
18350
  W(ne, { name: "modal-fade" }, {
18351
18351
  default: Z(() => {
18352
- var z;
18352
+ var L;
18353
18353
  return [
18354
- _.value ? (l(), u("div", {
18354
+ I.value ? (l(), u("div", {
18355
18355
  key: 0,
18356
18356
  class: "audio-message__modal-overlay",
18357
18357
  "data-theme": N(f)().theme ? N(f)().theme : null
@@ -18359,13 +18359,13 @@ const iu = ["data-theme"], ou = {
18359
18359
  o("div", Td, [
18360
18360
  o("button", {
18361
18361
  class: "audio-message__modal-close-button",
18362
- onClick: O[3] || (O[3] = (L) => _.value = !1)
18362
+ onClick: O[3] || (O[3] = (U) => I.value = !1)
18363
18363
  }, O[10] || (O[10] = [
18364
18364
  o("span", null, [
18365
18365
  o("i", { class: "pi pi-times" })
18366
18366
  ], -1)
18367
18367
  ])),
18368
- o("p", jd, E((z = e.message.transcript) == null ? void 0 : z.text), 1)
18368
+ o("p", jd, E((L = e.message.transcript) == null ? void 0 : L.text), 1)
18369
18369
  ])
18370
18370
  ], 8, Ed)) : p("", !0)
18371
18371
  ];
@@ -18392,7 +18392,7 @@ const iu = ["data-theme"], ou = {
18392
18392
  o("p", Cd, E(e.message.text), 1)
18393
18393
  ]));
18394
18394
  }
18395
- }), zd = /* @__PURE__ */ R(Od, [["__scopeId", "data-v-6aaf0658"]]), Ld = ["messageId"], Ud = ["src"], Bd = {
18395
+ }), zd = /* @__PURE__ */ R(Od, [["__scopeId", "data-v-6afeb67d"]]), Ld = ["messageId"], Ud = ["src"], Bd = {
18396
18396
  key: 1,
18397
18397
  class: "video-message__subtext"
18398
18398
  }, Rd = { class: "video-message__content" }, Qd = ["src"], $d = {
@@ -18415,13 +18415,13 @@ const iu = ["data-theme"], ou = {
18415
18415
  },
18416
18416
  emits: ["action", "reply"],
18417
18417
  setup(e, { emit: t }) {
18418
- const n = e, f = t, a = (S) => {
18419
- f("reply", S);
18418
+ const n = e, f = t, a = (T) => {
18419
+ f("reply", T);
18420
18420
  };
18421
- function s(S) {
18422
- return S.position === "left" ? "video-message__left" : "video-message__right";
18421
+ function s(T) {
18422
+ return T.position === "left" ? "video-message__left" : "video-message__right";
18423
18423
  }
18424
- const i = y(), r = y(), c = y(!1), A = y(!1), d = y(!1), g = y(!1), m = y("");
18424
+ const i = v(), r = v(), c = v(!1), A = v(!1), d = v(!1), g = v(!1), m = v("");
18425
18425
  ee(
18426
18426
  () => n.message.text,
18427
18427
  () => {
@@ -18429,34 +18429,34 @@ const iu = ["data-theme"], ou = {
18429
18429
  },
18430
18430
  { immediate: !0 }
18431
18431
  );
18432
- function M(S) {
18433
- S.preventDefault(), S.target.href && window.open(S.target.href, "_blank");
18432
+ function b(T) {
18433
+ T.preventDefault(), T.target.href && window.open(T.target.href, "_blank");
18434
18434
  }
18435
- const _ = () => {
18435
+ const I = () => {
18436
18436
  f("action", { messageId: n.message.messageId, type: "views" });
18437
- }, v = () => {
18437
+ }, h = () => {
18438
18438
  }, k = () => {
18439
18439
  d.value = !0, g.value = !0;
18440
- }, T = () => {
18440
+ }, x = () => {
18441
18441
  d.value = !1, A.value = !1;
18442
- }, b = $(() => At(n.message.status)), I = () => {
18442
+ }, y = $(() => ct(n.message.status)), M = () => {
18443
18443
  r.value && (r.value.currentTime = 0, r.value.play());
18444
18444
  };
18445
- ee([i, r], ([S, B]) => {
18446
- S ? B && (B.pause(), B.currentTime = 0) : B && (B.play(), B.currentTime = 0);
18445
+ ee([i, r], ([T, z]) => {
18446
+ T ? z && (z.pause(), z.currentTime = 0) : z && (z.play(), z.currentTime = 0);
18447
18447
  });
18448
- const h = $(() => n.message.reply && n.message.text ? "0" : n.message.text ? "8px 8px 0 0" : n.message.reply ? "0 0 8px 8px" : "8px"), w = () => c.value = !1, x = (S) => {
18449
- S.key === "Escape" && c.value && w();
18448
+ const w = $(() => n.message.reply && n.message.text ? "0" : n.message.text ? "8px 8px 0 0" : n.message.reply ? "0 0 8px 8px" : "8px"), _ = () => c.value = !1, j = (T) => {
18449
+ T.key === "Escape" && c.value && _();
18450
18450
  };
18451
18451
  return oe(() => {
18452
- document.addEventListener("keydown", x);
18452
+ document.addEventListener("keydown", j);
18453
18453
  }), Je(() => {
18454
- document.removeEventListener("keydown", x);
18455
- }), (S, B) => (l(), u(H, null, [
18454
+ document.removeEventListener("keydown", j);
18455
+ }), (T, z) => (l(), u(H, null, [
18456
18456
  o("div", {
18457
- class: j(["video-message", s(e.message)]),
18457
+ class: V(["video-message", s(e.message)]),
18458
18458
  messageId: e.message.messageId,
18459
- onMouseleave: T
18459
+ onMouseleave: x
18460
18460
  }, [
18461
18461
  e.message.avatar ? (l(), u("img", {
18462
18462
  key: 0,
@@ -18467,25 +18467,25 @@ const iu = ["data-theme"], ou = {
18467
18467
  }, null, 8, Ud)) : p("", !0),
18468
18468
  e.message.subText ? (l(), u("p", Bd, E(e.message.subText), 1)) : p("", !0),
18469
18469
  o("div", Rd, [
18470
- e.message.reply ? (l(), U(ut, {
18470
+ e.message.reply ? (l(), B(dt, {
18471
18471
  key: 0,
18472
18472
  style: { margin: "10px 10px 4px 16px" },
18473
- class: j(e.message.position),
18473
+ class: V(e.message.position),
18474
18474
  message: e.message.reply,
18475
18475
  onReply: a
18476
18476
  }, null, 8, ["class", "message"])) : p("", !0),
18477
18477
  o("div", {
18478
18478
  class: "video-message__preview-button",
18479
- onClick: B[0] || (B[0] = (P) => c.value = !0),
18479
+ onClick: z[0] || (z[0] = (P) => c.value = !0),
18480
18480
  onMouseenter: k,
18481
- onMouseleave: B[1] || (B[1] = (P) => g.value = !g.value)
18481
+ onMouseleave: z[1] || (z[1] = (P) => g.value = !g.value)
18482
18482
  }, [
18483
18483
  o("video", {
18484
18484
  ref_key: "previewPlayer",
18485
18485
  ref: r,
18486
18486
  class: "video-message__video",
18487
- style: re({ borderRadius: h.value }),
18488
- onEnded: I,
18487
+ style: re({ borderRadius: w.value }),
18488
+ onEnded: M,
18489
18489
  src: e.message.url,
18490
18490
  muted: !0,
18491
18491
  autoplay: ""
@@ -18495,19 +18495,19 @@ const iu = ["data-theme"], ou = {
18495
18495
  g.value ? (l(), u("div", $d, [
18496
18496
  e.message.views ? (l(), u("div", {
18497
18497
  key: 0,
18498
- onClick: Nt(_, ["stop"]),
18498
+ onClick: Dt(I, ["stop"]),
18499
18499
  class: "video-message__views"
18500
18500
  }, [
18501
- B[3] || (B[3] = o("span", { class: "pi pi-eye" }, null, -1)),
18501
+ z[3] || (z[3] = o("span", { class: "pi pi-eye" }, null, -1)),
18502
18502
  o("p", null, E(e.message.views), 1)
18503
18503
  ])) : p("", !0),
18504
18504
  o("span", Yd, E(e.message.time), 1),
18505
- s(e.message) === "video-message__right" && N(rt).includes(e.message.status) ? (l(), u("div", {
18505
+ s(e.message) === "video-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
18506
18506
  key: 1,
18507
- class: j(["video-message__status", b.value])
18507
+ class: V(["video-message__status", y.value])
18508
18508
  }, [
18509
18509
  e.message.status !== "sent" ? (l(), u("span", Pd)) : p("", !0),
18510
- B[4] || (B[4] = o("span", { class: "pi pi-check" }, null, -1))
18510
+ z[4] || (z[4] = o("span", { class: "pi pi-check" }, null, -1))
18511
18511
  ], 2)) : p("", !0)
18512
18512
  ])) : p("", !0)
18513
18513
  ]),
@@ -18517,12 +18517,12 @@ const iu = ["data-theme"], ou = {
18517
18517
  default: Z(() => [
18518
18518
  g.value ? (l(), u("a", {
18519
18519
  key: 0,
18520
- onClick: Nt(() => "//Предотвращаем всплытие события клика", ["stop"]),
18520
+ onClick: Dt(() => "//Предотвращаем всплытие события клика", ["stop"]),
18521
18521
  class: "video-message__download-button",
18522
18522
  href: e.message.url,
18523
18523
  download: "",
18524
18524
  target: "_blank"
18525
- }, B[5] || (B[5] = [
18525
+ }, z[5] || (z[5] = [
18526
18526
  o("span", { class: "pi pi-download" }, null, -1)
18527
18527
  ]), 8, Fd)) : p("", !0)
18528
18528
  ]),
@@ -18534,8 +18534,8 @@ const iu = ["data-theme"], ou = {
18534
18534
  d.value && e.message.actions ? (l(), u("button", {
18535
18535
  key: 0,
18536
18536
  class: "video-message__menu-button",
18537
- onClick: B[2] || (B[2] = (P) => A.value = !A.value)
18538
- }, B[6] || (B[6] = [
18537
+ onClick: z[2] || (z[2] = (P) => A.value = !A.value)
18538
+ }, z[6] || (z[6] = [
18539
18539
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18540
18540
  ]))) : p("", !0)
18541
18541
  ]),
@@ -18543,11 +18543,11 @@ const iu = ["data-theme"], ou = {
18543
18543
  }),
18544
18544
  W(ne, { name: "context-menu" }, {
18545
18545
  default: Z(() => [
18546
- A.value && e.message.actions ? (l(), U(N(ct), {
18546
+ A.value && e.message.actions ? (l(), B(N(ut), {
18547
18547
  key: 0,
18548
18548
  class: "video-message__context-menu",
18549
18549
  actions: e.message.actions,
18550
- onClick: v
18550
+ onClick: h
18551
18551
  }, null, 8, ["actions"])) : p("", !0)
18552
18552
  ]),
18553
18553
  _: 1
@@ -18555,27 +18555,27 @@ const iu = ["data-theme"], ou = {
18555
18555
  e.message.text ? (l(), u("div", qd, [
18556
18556
  o("p", {
18557
18557
  innerHTML: m.value,
18558
- onClick: M
18558
+ onClick: b
18559
18559
  }, null, 8, Hd)
18560
18560
  ])) : p("", !0),
18561
- e.message.linkPreview ? (l(), U(zt, {
18561
+ e.message.linkPreview ? (l(), B(Lt, {
18562
18562
  key: 2,
18563
- class: j(["video-message__link-preview", e.message.position]),
18563
+ class: V(["video-message__link-preview", e.message.position]),
18564
18564
  linkPreview: e.message.linkPreview
18565
18565
  }, null, 8, ["class", "linkPreview"])) : p("", !0),
18566
- e.message.embed ? (l(), U(Lt, {
18566
+ e.message.embed ? (l(), B(Ut, {
18567
18567
  key: 3,
18568
- class: j(e.message.position),
18568
+ class: V(e.message.position),
18569
18569
  embed: e.message.embed
18570
18570
  }, null, 8, ["class", "embed"])) : p("", !0)
18571
18571
  ])
18572
18572
  ], 42, Ld),
18573
- (l(), U(ue, { to: "body" }, [
18573
+ (l(), B(ue, { to: "body" }, [
18574
18574
  W(ne, { name: "modal-fade" }, {
18575
18575
  default: Z(() => [
18576
- c.value ? (l(), U(cf, {
18576
+ c.value ? (l(), B(cf, {
18577
18577
  key: 0,
18578
- onClose: w
18578
+ onClose: _
18579
18579
  }, {
18580
18580
  default: Z(() => [
18581
18581
  o("video", {
@@ -18623,7 +18623,7 @@ const iu = ["data-theme"], ou = {
18623
18623
  }
18624
18624
  },
18625
18625
  setup(e) {
18626
- const t = te("chatAppId"), { getTheme: n } = lt(t), f = y(!1), a = {
18626
+ const t = te("chatAppId"), { getTheme: n } = rt(t), f = v(!1), a = {
18627
18627
  textDialog: "textDialog",
18628
18628
  message: "message"
18629
18629
  };
@@ -18641,7 +18641,7 @@ const iu = ["data-theme"], ou = {
18641
18641
  return (i, r) => {
18642
18642
  var c;
18643
18643
  return l(), u("div", {
18644
- class: j(s(e.message, a.message)),
18644
+ class: V(s(e.message, a.message)),
18645
18645
  messageId: e.message.messageId
18646
18646
  }, [
18647
18647
  e.message.avatar ? (l(), u("img", {
@@ -18655,7 +18655,7 @@ const iu = ["data-theme"], ou = {
18655
18655
  e.message.subText ? (l(), u("p", Xd, E(e.message.subText), 1)) : p("", !0),
18656
18656
  o("div", e1, [
18657
18657
  o("span", {
18658
- class: j(["call-message__icon pi pi-phone", { "call-message__icon-missed": e.message.isMissedCall }])
18658
+ class: V(["call-message__icon pi pi-phone", { "call-message__icon-missed": e.message.isMissedCall }])
18659
18659
  }, null, 2),
18660
18660
  e.message.isMissedCall ? (l(), u("span", n1, "Пропущенный аудиозвонок")) : (l(), u("span", t1, "Аудиозвонок")),
18661
18661
  e.message.callDuration ? (l(), u("span", f1, E(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (l(), u("span", a1, "Нажмите, чтобы перезвонить")) : (l(), u("span", s1, "Нет ответа")),
@@ -18669,7 +18669,7 @@ const iu = ["data-theme"], ou = {
18669
18669
  }, r[2] || (r[2] = [
18670
18670
  o("span", { class: "pi pi-arrow-up-right" }, null, -1)
18671
18671
  ]))) : p("", !0),
18672
- (l(), U(ue, { to: "body" }, [
18672
+ (l(), B(ue, { to: "body" }, [
18673
18673
  W(ne, { name: "modal-fade" }, {
18674
18674
  default: Z(() => {
18675
18675
  var A;
@@ -18689,7 +18689,7 @@ const iu = ["data-theme"], ou = {
18689
18689
  ], -1)
18690
18690
  ])),
18691
18691
  (l(!0), u(H, null, ae((A = e.message.transcript) == null ? void 0 : A.dialog, (d, g) => (l(), u("div", {
18692
- class: j(s(d, a.textDialog))
18692
+ class: V(s(d, a.textDialog))
18693
18693
  }, [
18694
18694
  o("p", null, E(d.text), 1),
18695
18695
  o("span", null, E(d.time), 1)
@@ -18754,7 +18754,7 @@ const iu = ["data-theme"], ou = {
18754
18754
  }
18755
18755
  },
18756
18756
  setup(e) {
18757
- const t = e, n = y("");
18757
+ const t = e, n = v("");
18758
18758
  ee(
18759
18759
  () => t.message.text,
18760
18760
  () => {
@@ -18779,7 +18779,7 @@ const iu = ["data-theme"], ou = {
18779
18779
  }
18780
18780
  },
18781
18781
  setup(e) {
18782
- const t = e, n = y(!1), f = y("");
18782
+ const t = e, n = v(!1), f = v("");
18783
18783
  ee(
18784
18784
  () => t.message.text,
18785
18785
  () => {
@@ -18821,7 +18821,7 @@ const iu = ["data-theme"], ou = {
18821
18821
  onClick: a
18822
18822
  }, null, 8, k1)) : p("", !0)
18823
18823
  ]),
18824
- (l(), U(ue, { to: "body" }, [
18824
+ (l(), B(ue, { to: "body" }, [
18825
18825
  W(ne, { name: "modal-fade" }, {
18826
18826
  default: Z(() => [
18827
18827
  n.value ? (l(), u("div", {
@@ -18860,7 +18860,7 @@ const iu = ["data-theme"], ou = {
18860
18860
  }
18861
18861
  },
18862
18862
  setup(e) {
18863
- const t = e, n = y(!1), f = y("");
18863
+ const t = e, n = v(!1), f = v("");
18864
18864
  ee(
18865
18865
  () => t.message.text,
18866
18866
  () => {
@@ -18899,7 +18899,7 @@ const iu = ["data-theme"], ou = {
18899
18899
  }
18900
18900
  },
18901
18901
  setup(e) {
18902
- const t = e, n = y(), f = y(!1), a = y("");
18902
+ const t = e, n = v(), f = v(!1), a = v("");
18903
18903
  ee(
18904
18904
  () => t.message.text,
18905
18905
  () => {
@@ -18941,7 +18941,7 @@ const iu = ["data-theme"], ou = {
18941
18941
  onClick: s
18942
18942
  }, null, 8, L1)) : p("", !0)
18943
18943
  ]),
18944
- (l(), U(ue, { to: "body" }, [
18944
+ (l(), B(ue, { to: "body" }, [
18945
18945
  W(ne, { name: "modal-fade" }, {
18946
18946
  default: Z(() => [
18947
18947
  f.value ? (l(), u("div", {
@@ -18987,7 +18987,7 @@ const iu = ["data-theme"], ou = {
18987
18987
  }
18988
18988
  },
18989
18989
  setup(e) {
18990
- const t = e, n = y("");
18990
+ const t = e, n = v("");
18991
18991
  return ee(
18992
18992
  () => t.message.text,
18993
18993
  () => {
@@ -19014,23 +19014,24 @@ const iu = ["data-theme"], ou = {
19014
19014
  __name: "BaseContainer",
19015
19015
  props: {
19016
19016
  height: String,
19017
- width: String
19017
+ width: String,
19018
+ extChatAppId: String
19018
19019
  },
19019
19020
  setup(e) {
19020
- const t = Xn();
19021
- return In("chatAppId", t), (n, f) => (l(), u("div", {
19022
- id: N(t),
19021
+ const t = e, n = Xn();
19022
+ return et("chatAppId", n), et("extChatAppId", t.extChatAppId ? t.extChatAppId : ""), (f, a) => (l(), u("div", {
19023
+ id: N(n),
19023
19024
  class: "base"
19024
19025
  }, [
19025
19026
  o("div", {
19026
19027
  class: "base__container",
19027
19028
  style: re({ height: e.height, width: e.width })
19028
19029
  }, [
19029
- fe(n.$slots, "default"),
19030
- (l(), U(ue, { to: "body" }, [
19030
+ fe(f.$slots, "default"),
19031
+ (l(), B(ue, { to: "body" }, [
19031
19032
  o("div", {
19032
19033
  class: "base__float-windows",
19033
- id: "float-windows-" + N(t)
19034
+ id: "float-windows-" + N(n)
19034
19035
  }, null, 8, W1)
19035
19036
  ]))
19036
19037
  ], 4)
@@ -19048,22 +19049,23 @@ const iu = ["data-theme"], ou = {
19048
19049
  required: !0
19049
19050
  },
19050
19051
  height: String,
19051
- width: String
19052
+ width: String,
19053
+ extChatAppId: String
19052
19054
  },
19053
19055
  emits: ["close-window", "get-size"],
19054
19056
  setup(e, { emit: t }) {
19055
- const n = e, f = y({ x: 0, y: 0 }), a = y(null), s = y(null), i = y(!1), r = y(0), c = y(0), A = y(0), d = Xn();
19056
- In("chatAppId", d);
19057
- const g = (_) => {
19058
- i.value = !0, r.value = _.clientX - a.value.offsetLeft, c.value = _.clientY - a.value.offsetTop;
19059
- }, m = () => i.value = !1, M = (_) => {
19057
+ const n = e, f = v({ x: 0, y: 0 }), a = v(null), s = v(null), i = v(!1), r = v(0), c = v(0), A = v(0), d = Xn();
19058
+ et("chatAppId", d), et("extChatAppId", n.extChatAppId ? n.extChatAppId : "");
19059
+ const g = (I) => {
19060
+ i.value = !0, r.value = I.clientX - a.value.offsetLeft, c.value = I.clientY - a.value.offsetTop;
19061
+ }, m = () => i.value = !1, b = (I) => {
19060
19062
  if (i.value) {
19061
- const v = _.clientX - r.value, k = _.clientY - c.value;
19062
- f.value.x = v, f.value.y = k;
19063
+ const h = I.clientX - r.value, k = I.clientY - c.value;
19064
+ f.value.x = h, f.value.y = k;
19063
19065
  }
19064
19066
  };
19065
19067
  return oe(() => {
19066
- document.addEventListener("mousemove", M), window.addEventListener("resize", () => {
19068
+ document.addEventListener("mousemove", b), window.addEventListener("resize", () => {
19067
19069
  a.value && (f.value.x = Math.max(
19068
19070
  0,
19069
19071
  Math.min(
@@ -19078,7 +19080,7 @@ const iu = ["data-theme"], ou = {
19078
19080
  )
19079
19081
  ));
19080
19082
  }), A.value = a.value.offsetHeight - s.value.offsetHeight;
19081
- }), (_, v) => (l(), u("div", {
19083
+ }), (I, h) => (l(), u("div", {
19082
19084
  id: N(d),
19083
19085
  ref_key: "element",
19084
19086
  ref: a,
@@ -19109,11 +19111,11 @@ const iu = ["data-theme"], ou = {
19109
19111
  }, null, 8, G1)) : p("", !0),
19110
19112
  o("p", Z1, E(n.title), 1),
19111
19113
  o("div", X1, [
19112
- fe(_.$slots, "controls", {}, void 0, !0),
19114
+ fe(I.$slots, "controls", {}, void 0, !0),
19113
19115
  o("button", {
19114
19116
  class: "float-window__close-button",
19115
- onClick: v[0] || (v[0] = (k) => _.$emit("close-window"))
19116
- }, v[1] || (v[1] = [
19117
+ onClick: h[0] || (h[0] = (k) => I.$emit("close-window"))
19118
+ }, h[1] || (h[1] = [
19117
19119
  o("span", { class: "pi pi-times" }, null, -1)
19118
19120
  ]))
19119
19121
  ])
@@ -19122,8 +19124,8 @@ const iu = ["data-theme"], ou = {
19122
19124
  class: "float-window__content",
19123
19125
  style: re({ height: A.value + "px" })
19124
19126
  }, [
19125
- fe(_.$slots, "default", {}, void 0, !0),
19126
- (l(), U(ue, { to: "body" }, [
19127
+ fe(I.$slots, "default", {}, void 0, !0),
19128
+ (l(), B(ue, { to: "body" }, [
19127
19129
  o("div", {
19128
19130
  class: "float-window__float-windows",
19129
19131
  id: "float-windows-" + N(d)
@@ -19133,7 +19135,7 @@ const iu = ["data-theme"], ou = {
19133
19135
  ])
19134
19136
  ], 12, K1));
19135
19137
  }
19136
- }, e0 = /* @__PURE__ */ R(tg, [["__scopeId", "data-v-21abeafc"]]), ng = {}, fg = { class: "base-layout__container" }, ag = { class: "base-layout__first-col" }, sg = { class: "base-layout__second-col" };
19138
+ }, e0 = /* @__PURE__ */ R(tg, [["__scopeId", "data-v-579f6f42"]]), ng = {}, fg = { class: "base-layout__container" }, ag = { class: "base-layout__first-col" }, sg = { class: "base-layout__second-col" };
19137
19139
  function ig(e, t) {
19138
19140
  return l(), u("div", fg, [
19139
19141
  o("div", ag, [
@@ -19285,7 +19287,7 @@ export {
19285
19287
  td as I,
19286
19288
  Jg as J,
19287
19289
  Gg as K,
19288
- zt as L,
19290
+ Lt as L,
19289
19291
  gu as M,
19290
19292
  Xg as N,
19291
19293
  e0 as O,
@@ -19305,13 +19307,13 @@ export {
19305
19307
  Rg as a0,
19306
19308
  Qg as a1,
19307
19309
  ha as a2,
19308
- rt as a3,
19309
- At as a4,
19310
+ At as a3,
19311
+ ct as a4,
19310
19312
  T1 as b,
19311
19313
  C1 as c,
19312
19314
  Q1 as d,
19313
19315
  q1 as e,
19314
- ut as f,
19316
+ dt as f,
19315
19317
  Eg as g,
19316
19318
  Tg as h,
19317
19319
  jg as i,
@@ -19327,7 +19329,7 @@ export {
19327
19329
  Ko as s,
19328
19330
  Yg as t,
19329
19331
  Pg as u,
19330
- ct as v,
19332
+ ut as v,
19331
19333
  Fg as w,
19332
19334
  qg as x,
19333
19335
  Rf as y,