@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.
- package/dist/{CreateDialog-CZZtBHjh.js → CreateDialog-BomSa1If.js} +1 -1
- package/dist/{ModalVideoRecorder-DTXBBJIP.js → ModalVideoRecorder-DC9GUlpx.js} +1 -1
- package/dist/{SelectUser2-BPRg6BIl.js → SelectUser2-DSbf8_y0.js} +1 -1
- package/dist/chotto.css +1 -1
- package/dist/{index-CekdIkGe.js → index-C4Q6teOq.js} +1105 -1103
- package/dist/vuessages.es.js +1 -1
- package/dist/vuessages.umd.js +5 -5
- package/package.json +1 -1
@@ -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
|
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",
|
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",
|
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[
|
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(),
|
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 =
|
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",
|
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:
|
154
|
+
LOCALHOST: Et,
|
155
155
|
TLD: Hn,
|
156
156
|
UTLD: Wn,
|
157
|
-
SCHEME:
|
157
|
+
SCHEME: qt,
|
158
158
|
SLASH_SCHEME: Xe,
|
159
159
|
NUM: nf,
|
160
160
|
WS: Kn,
|
161
161
|
NL: ff,
|
162
|
-
OPENBRACE:
|
163
|
-
CLOSEBRACE:
|
164
|
-
OPENBRACKET:
|
165
|
-
CLOSEBRACKET:
|
166
|
-
OPENPAREN:
|
167
|
-
CLOSEPAREN:
|
168
|
-
OPENANGLEBRACKET:
|
169
|
-
CLOSEANGLEBRACKET:
|
170
|
-
FULLWIDTHLEFTPAREN:
|
171
|
-
FULLWIDTHRIGHTPAREN:
|
172
|
-
LEFTCORNERBRACKET:
|
173
|
-
RIGHTCORNERBRACKET:
|
174
|
-
LEFTWHITECORNERBRACKET:
|
175
|
-
RIGHTWHITECORNERBRACKET:
|
176
|
-
FULLWIDTHLESSTHAN:
|
177
|
-
FULLWIDTHGREATERTHAN:
|
178
|
-
AMPERSAND:
|
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:
|
180
|
+
ASTERISK: cn,
|
181
181
|
AT: Be,
|
182
|
-
BACKSLASH:
|
183
|
-
BACKTICK:
|
184
|
-
CARET:
|
182
|
+
BACKSLASH: un,
|
183
|
+
BACKTICK: dn,
|
184
|
+
CARET: gn,
|
185
185
|
COLON: Re,
|
186
186
|
COMMA: sf,
|
187
|
-
DOLLAR:
|
187
|
+
DOLLAR: mn,
|
188
188
|
DOT: Ee,
|
189
|
-
EQUALS:
|
189
|
+
EQUALS: pn,
|
190
190
|
EXCLAMATION: of,
|
191
191
|
HYPHEN: be,
|
192
|
-
PERCENT:
|
193
|
-
PIPE:
|
194
|
-
PLUS:
|
195
|
-
POUND:
|
196
|
-
QUERY:
|
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:
|
202
|
-
UNDERSCORE:
|
201
|
+
TILDE: wt,
|
202
|
+
UNDERSCORE: bn,
|
203
203
|
EMOJI: Aa,
|
204
|
-
SYM:
|
204
|
+
SYM: Mn
|
205
205
|
});
|
206
|
-
const Se = /[a-z]/,
|
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
|
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
|
-
|
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,
|
226
|
+
const r = se(n, gt, qn, {
|
227
227
|
[Pn]: !0
|
228
228
|
});
|
229
|
-
se(r, Se), se(r, Ce, s), se(r,
|
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
|
245
|
-
for (let
|
246
|
-
Ue(n,
|
247
|
-
for (let
|
248
|
-
Ue(n,
|
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",
|
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((
|
262
|
-
for (let
|
263
|
-
const k = e[
|
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 ?
|
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",
|
270
|
+
return Sf(n, "localhost", Et, {
|
271
271
|
ascii: !0
|
272
|
-
}), n.jd = new he(
|
272
|
+
}), n.jd = new he(Mn), {
|
273
273
|
start: n,
|
274
|
-
tokens:
|
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
|
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 =
|
352
|
-
e && (n =
|
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:
|
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] :
|
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 =
|
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 &&
|
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"),
|
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 =
|
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 !==
|
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([
|
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
|
582
|
-
q(m, e.tld,
|
583
|
-
const
|
584
|
-
D(
|
585
|
-
const
|
586
|
-
q(
|
587
|
-
const k = D(i, be),
|
588
|
-
D(k, be, k), q(k, e.domain, i), q(
|
589
|
-
const
|
590
|
-
q(
|
591
|
-
const
|
592
|
-
q(
|
593
|
-
const
|
594
|
-
q(
|
595
|
-
const
|
596
|
-
q(r, e.domain, i), D(r, Ee,
|
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
|
-
[
|
598
|
+
[bt, Mt],
|
599
599
|
// {}
|
600
|
-
[
|
600
|
+
[Kt, Jt],
|
601
601
|
// []
|
602
|
-
[
|
602
|
+
[Gt, Zt],
|
603
603
|
// ()
|
604
|
-
[
|
604
|
+
[Xt, en],
|
605
605
|
// <>
|
606
|
-
[
|
606
|
+
[tn, nn],
|
607
607
|
// ()
|
608
|
-
[
|
608
|
+
[fn, an],
|
609
609
|
// 「」
|
610
|
-
[
|
610
|
+
[sn, on],
|
611
611
|
// 『』
|
612
|
-
[
|
612
|
+
[ln, rn]
|
613
613
|
// <>
|
614
614
|
];
|
615
615
|
for (let C = 0; C < Y.length; C++) {
|
616
|
-
const [O, X] = Y[C],
|
617
|
-
D(
|
618
|
-
const
|
619
|
-
q(
|
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(
|
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,
|
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
|
641
|
-
s.push(Ln(
|
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-
|
787
|
-
const t =
|
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 =
|
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 =
|
959
|
-
|
960
|
-
},
|
961
|
-
|
962
|
-
},
|
963
|
-
|
964
|
-
},
|
965
|
-
|
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
|
-
|
970
|
-
},
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
const
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
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
|
-
|
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
|
-
},
|
986
|
-
if (
|
987
|
-
const
|
988
|
-
|
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
|
-
},
|
991
|
-
|
990
|
+
}, w = (_) => {
|
991
|
+
s.mode == "click" && d.value && !d.value.contains(_.target) && M();
|
992
992
|
};
|
993
993
|
return oe(() => {
|
994
|
-
let
|
995
|
-
for (;
|
996
|
-
|
997
|
-
|
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",
|
1000
|
+
document.removeEventListener("click", w);
|
1001
1001
|
}), t({
|
1002
|
-
updatePosition:
|
1003
|
-
hideMenu:
|
1004
|
-
}), (
|
1005
|
-
id: "container-" + N(
|
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:
|
1007
|
+
ref: d,
|
1008
1008
|
style: { position: "relative", width: "fit-content" },
|
1009
|
-
onMouseenter:
|
1010
|
-
onMouseleave:
|
1009
|
+
onMouseenter: I,
|
1010
|
+
onMouseleave: h
|
1011
1011
|
}, [
|
1012
|
-
o("div", { onClick:
|
1013
|
-
fe(
|
1012
|
+
o("div", { onClick: b }, [
|
1013
|
+
fe(_.$slots, "default")
|
1014
1014
|
]),
|
1015
|
-
|
1015
|
+
c.value ? (l(), B(ue, {
|
1016
1016
|
key: 0,
|
1017
1017
|
to: "#float-windows-" + N(f)
|
1018
1018
|
}, [
|
1019
|
-
W(N(
|
1020
|
-
id: "context-menu-" + N(
|
1019
|
+
W(N(ut), {
|
1020
|
+
id: "context-menu-" + N(i) + N(a),
|
1021
1021
|
ref_key: "contextMenu",
|
1022
|
-
ref:
|
1022
|
+
ref: A,
|
1023
1023
|
actions: e.actions,
|
1024
|
-
onMouseenter:
|
1025
|
-
onMouseleave:
|
1026
|
-
onClick:
|
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 =
|
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
|
1065
|
-
|
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
|
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("/") ? (
|
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 && (
|
1080
|
+
s().forceSend && (x(), r(!1));
|
1081
1081
|
}
|
1082
1082
|
);
|
1083
|
-
const
|
1084
|
-
n("typing",
|
1085
|
-
},
|
1086
|
-
if (
|
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
|
1089
|
-
|
1090
|
-
`,
|
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
|
-
|
1094
|
-
}, k = (
|
1095
|
-
console.log(
|
1096
|
-
const
|
1093
|
+
y.preventDefault(), x();
|
1094
|
+
}, k = (y) => {
|
1095
|
+
console.log(y);
|
1096
|
+
const M = {
|
1097
1097
|
type: "message.command",
|
1098
|
-
text:
|
1098
|
+
text: y.action
|
1099
1099
|
};
|
1100
|
-
n("send",
|
1101
|
-
},
|
1102
|
-
var
|
1103
|
-
const
|
1104
|
-
if (
|
1105
|
-
const
|
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
|
-
|
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 (
|
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(),
|
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:
|
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":
|
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(
|
1150
|
-
onInput:
|
1149
|
+
onKeydown: tf(h, ["enter"]),
|
1150
|
+
onInput: I
|
1151
1151
|
}, null, 40, xs), [
|
1152
|
-
[
|
1152
|
+
[lt, N(s)().text]
|
1153
1153
|
]),
|
1154
1154
|
o("button", {
|
1155
|
-
class:
|
1155
|
+
class: V(["chat-input__button", { "chat-input__button-disabled": b.value }]),
|
1156
1156
|
disabled: N(s)().isRecording,
|
1157
|
-
onClick:
|
1158
|
-
},
|
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(
|
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 =
|
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
|
1196
|
-
|
1195
|
+
const y = N(s);
|
1196
|
+
y.scrollTop = 0;
|
1197
1197
|
});
|
1198
1198
|
}
|
1199
1199
|
const d = () => {
|
1200
|
-
const
|
1201
|
-
|
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
|
1213
|
-
|
1212
|
+
const y = N(s);
|
1213
|
+
y.scrollTop = y.scrollHeight;
|
1214
1214
|
}
|
1215
1215
|
}
|
1216
1216
|
);
|
1217
|
-
const g = (
|
1218
|
-
const
|
1219
|
-
(
|
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
|
-
},
|
1223
|
-
n.chats.forEach((
|
1224
|
-
|
1225
|
-
|
1222
|
+
}, b = (y) => {
|
1223
|
+
n.chats.forEach((w) => {
|
1224
|
+
w.isSelected = !1, w.dialogs && w.dialogs.forEach((_) => {
|
1225
|
+
_.isSelected = !1;
|
1226
1226
|
});
|
1227
|
-
}),
|
1228
|
-
const
|
1229
|
-
|
1230
|
-
},
|
1231
|
-
n.chats.forEach((
|
1232
|
-
|
1233
|
-
|
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
|
-
},
|
1237
|
-
if (Number(
|
1238
|
-
if (Number(
|
1239
|
-
if (Number(
|
1240
|
-
}).toSorted((
|
1241
|
-
if (
|
1242
|
-
if (
|
1243
|
-
if (
|
1244
|
-
}).filter((
|
1245
|
-
a.value =
|
1246
|
-
},
|
1247
|
-
return (
|
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(
|
1250
|
+
fe(y.$slots, "actions", {}, void 0, !0)
|
1251
1251
|
]),
|
1252
|
-
fe(
|
1253
|
-
e.filterEnabled ? (l(),
|
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(
|
1268
|
-
key:
|
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:
|
1271
|
-
onSelect:
|
1272
|
-
onAction:
|
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(
|
1277
|
-
key:
|
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:
|
1280
|
-
onSelect:
|
1281
|
-
onAction:
|
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(
|
1286
|
-
key:
|
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:
|
1289
|
-
onSelect:
|
1290
|
-
onAction:
|
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
|
-
},
|
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 =
|
1388
|
-
|
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
|
1391
|
-
const
|
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 =
|
1395
|
-
le < de + J ? (s.value = !1, i.value = !0) : (s.value = !0, i.value = !1), d.value ? (
|
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 ||
|
1400
|
+
c.value || h("loadMoreDown"), r.value || h("loadMore");
|
1401
1401
|
}
|
1402
1402
|
);
|
1403
|
-
const
|
1404
|
-
const
|
1405
|
-
(
|
1406
|
-
},
|
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
|
-
},
|
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
|
-
})[
|
1419
|
-
function
|
1418
|
+
})[L];
|
1419
|
+
function T() {
|
1420
1420
|
$e(function() {
|
1421
|
-
const
|
1422
|
-
|
1421
|
+
const L = N(f);
|
1422
|
+
L.scrollTop = L.scrollHeight;
|
1423
1423
|
});
|
1424
1424
|
}
|
1425
|
-
function
|
1426
|
-
|
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 &&
|
1431
|
+
console.log("force scroll to bottom"), g.scrollToBottom && T();
|
1432
1432
|
},
|
1433
1433
|
{ immediate: !0 }
|
1434
1434
|
);
|
1435
|
-
const P = (
|
1436
|
-
|
1437
|
-
}, Q = (
|
1438
|
-
|
1439
|
-
}, Y = (
|
1440
|
-
g.enableDoubleClickReply && (
|
1441
|
-
messageId:
|
1442
|
-
type:
|
1443
|
-
text:
|
1444
|
-
filename:
|
1445
|
-
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 = (
|
1448
|
-
|
1449
|
-
|
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,
|
1461
|
-
const
|
1462
|
-
A.value && (
|
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((
|
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
|
1471
|
+
var L;
|
1472
1472
|
if (g.scrollTo) {
|
1473
|
-
const
|
1474
|
-
let J = document.getElementById(
|
1475
|
-
J instanceof HTMLElement && de instanceof HTMLElement && (de.scrollTop = J.offsetTop + J.clientHeight / 2 - de.clientHeight / 2), (
|
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(
|
1477
|
+
(le = document.getElementById(U)) == null || le.children[0].classList.remove("focused-message");
|
1478
1478
|
}, 2e3);
|
1479
1479
|
}
|
1480
1480
|
}
|
1481
|
-
), (
|
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:
|
1487
|
-
onMousedown:
|
1488
|
-
onMouseup:
|
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(),
|
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(),
|
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(),
|
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:
|
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:
|
1529
|
+
onClick: z
|
1530
1530
|
}, [
|
1531
1531
|
e.buttonParams ? (l(), u("div", Ks, E(e.buttonParams.unreadAmount), 1)) : p("", !0),
|
1532
|
-
|
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(
|
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(
|
1543
|
-
message: N(
|
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"]]),
|
1582
|
-
const t =
|
1583
|
-
let n =
|
1584
|
-
return n != null ? t.value =
|
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 =
|
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 } =
|
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 =
|
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
|
1642
|
-
return `${
|
1643
|
-
}, m = $(() => f.value ? g(r.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
|
-
}), (
|
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:
|
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
|
-
|
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:
|
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
|
-
|
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
|
-
|
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,
|
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} / ${
|
1718
|
-
e.fileInfo.isVideo ? (l(), u("span", Mi, E(
|
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:
|
1723
|
+
onClick: h[2] || (h[2] = (k) => n("reset"))
|
1724
1724
|
})
|
1725
1725
|
]),
|
1726
|
-
(l(),
|
1726
|
+
(l(), B(ue, { to: "body" }, [
|
1727
1727
|
W(ne, { name: "modal-fade" }, {
|
1728
1728
|
default: Z(() => [
|
1729
|
-
c.value ? (l(),
|
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 =
|
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 =
|
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),
|
1829
|
+
], m = $(() => !A().file), b = () => {
|
1830
1830
|
c(), s.value = void 0, f.value = "";
|
1831
|
-
},
|
1832
|
-
var
|
1833
|
-
|
1834
|
-
},
|
1835
|
-
a.value && m && (a.value.accept =
|
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
|
-
},
|
1839
|
-
var
|
1840
|
-
const
|
1841
|
-
if (
|
1842
|
-
for (let
|
1843
|
-
if (
|
1844
|
-
|
1845
|
-
const
|
1846
|
-
|
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
|
-
},
|
1849
|
+
}, y = async (M) => {
|
1850
1850
|
f.value = "uploading", d(!0);
|
1851
|
-
const
|
1852
|
-
await Dn(
|
1853
|
-
d(!1), f.value =
|
1854
|
-
url:
|
1855
|
-
name:
|
1856
|
-
size:
|
1857
|
-
type:
|
1858
|
-
}),
|
1859
|
-
previewUrl:
|
1860
|
-
isImage:
|
1861
|
-
isVideo:
|
1862
|
-
isAudio:
|
1863
|
-
fileName:
|
1864
|
-
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",
|
1870
|
-
}), (
|
1871
|
-
f.value === "uploading" ? (l(), u("div", Ni,
|
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,
|
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(),
|
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:
|
1881
|
+
onClick: h,
|
1882
1882
|
onButtonClick: k
|
1883
1883
|
}, {
|
1884
1884
|
default: Z(() => [
|
1885
1885
|
o("span", {
|
1886
|
-
class:
|
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(),
|
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(),
|
1902
|
+
s.value ? (l(), B(Nn, {
|
1903
1903
|
key: 0,
|
1904
1904
|
"file-info": s.value,
|
1905
|
-
onReset:
|
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 } =
|
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:
|
1968
|
+
class: V(["sidebar__container", { "sidebar-horizontal__container": e.horizontal }])
|
1969
1969
|
}, [
|
1970
1970
|
o("ul", {
|
1971
|
-
class:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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 =
|
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:
|
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:
|
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),
|
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 } =
|
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(),
|
2171
|
-
left: { top: g.top - (m.height - g.height) / 2 -
|
2172
|
-
right: { top: g.top - (m.height - g.height) / 2 -
|
2173
|
-
bottom: { top: (g == null ? void 0 : g.bottom) -
|
2174
|
-
top: { top: g.top - m.height - i.offset -
|
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 =
|
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(),
|
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:
|
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 =
|
2244
|
+
const n = e, f = t, a = v(!1), s = v(!1), i = () => {
|
2245
2245
|
s.value = !0;
|
2246
|
-
}, r = (
|
2247
|
-
s.value || (
|
2248
|
-
}, c = (
|
2249
|
-
f("select", { chat: n.chat, dialog:
|
2250
|
-
}, A = () => n.chat.isSelected ? "chat-item__selected" : "", d = (
|
2251
|
-
f("action", { chat: n.chat, ...
|
2252
|
-
}, m = () => n.chat.dialogs.toSorted((
|
2253
|
-
if (Number(
|
2254
|
-
if (Number(
|
2255
|
-
if (Number(
|
2256
|
-
}),
|
2257
|
-
let
|
2258
|
-
const
|
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 ?
|
2263
|
-
|
2264
|
-
}, 1e3) : (
|
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
|
2269
|
-
var
|
2270
|
-
((
|
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 (
|
2272
|
+
return (M, w) => (l(), u("div", null, [
|
2273
2273
|
o("div", {
|
2274
|
-
class:
|
2275
|
-
onMouseenter:
|
2276
|
-
onMouseleave:
|
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(
|
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(),
|
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:
|
2325
|
+
onMenuMouseLeave: w[0] || (w[0] = (_) => a.value = !1)
|
2326
2326
|
}, {
|
2327
|
-
default: Z(() =>
|
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(
|
2333
|
+
N(At).includes(e.chat["lastMessage.status"]) ? (l(), u("div", {
|
2334
2334
|
key: 0,
|
2335
|
-
class:
|
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
|
-
|
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:
|
2347
|
+
onClick: w[1] || (w[1] = (_) => e.chat.dialogsExpanded = !e.chat.dialogsExpanded),
|
2348
2348
|
id: "noSelectButton"
|
2349
|
-
},
|
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:
|
2358
|
+
onClick: w[2] || (w[2] = (_) => e.chat.dialogsExpanded = !e.chat.dialogsExpanded),
|
2359
2359
|
id: "noSelectButton"
|
2360
|
-
},
|
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(), (
|
2370
|
-
class:
|
2371
|
-
onClick: (
|
2369
|
+
(l(!0), u(H, null, ae(m(), (_) => (l(), u("div", {
|
2370
|
+
class: V(["dialog__item", d(_)]),
|
2371
|
+
onClick: (j) => c(_)
|
2372
2372
|
}, [
|
2373
|
-
|
2373
|
+
_.icon ? (l(), u("img", {
|
2374
2374
|
key: 0,
|
2375
2375
|
class: "dialog__icon",
|
2376
|
-
src:
|
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(
|
2382
|
-
o("div", mo, E(
|
2381
|
+
o("div", go, E(_.name), 1),
|
2382
|
+
o("div", mo, E(_["lastActivity.time"]), 1)
|
2383
2383
|
]),
|
2384
|
-
|
2384
|
+
_.countUnread > 0 ? (l(), u("div", {
|
2385
2385
|
key: 2,
|
2386
2386
|
class: "chat-item__unread",
|
2387
|
-
style: re({ backgroundColor:
|
2388
|
-
}, E(
|
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-
|
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 =
|
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 =
|
2452
|
-
|
2453
|
-
},
|
2454
|
-
|
2455
|
-
},
|
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-
|
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-
|
2464
|
-
},
|
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"),
|
2467
|
-
},
|
2468
|
-
n.templates.forEach((O) => O.isSelected = !1), C.isSelected = !0, c.value = C,
|
2469
|
-
},
|
2470
|
-
|
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 && (
|
2476
|
+
O > 700 && (I.value = !1), O < 700 && (I.value = !0);
|
2477
2477
|
});
|
2478
2478
|
return oe(() => {
|
2479
|
-
|
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:
|
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
|
-
|
2492
|
+
h.value ? (l(), u("button", wo, [
|
2493
2493
|
o("span", {
|
2494
2494
|
class: "pi pi-arrow-left",
|
2495
|
-
onClick:
|
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:
|
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,
|
2519
|
-
key:
|
2520
|
-
class:
|
2521
|
-
onClick:
|
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:
|
2532
|
-
"onUpdate:modelValue": O[1] || (O[1] = (
|
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
|
-
[
|
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,
|
2561
|
-
key:
|
2562
|
-
class:
|
2563
|
-
onClick: (
|
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-
|
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 =
|
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:
|
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-
|
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 =
|
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:
|
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 =
|
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
|
2767
|
-
if (
|
2765
|
+
}, m = (I) => {
|
2766
|
+
const h = I.target.files[0];
|
2767
|
+
if (h) {
|
2768
2768
|
i.value = "";
|
2769
|
-
const k =
|
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 (
|
2772
|
+
else if (h.size > g[n.type].maxSize)
|
2773
2773
|
i.value = "Файл слишком большого размера";
|
2774
2774
|
else if (!i.value) {
|
2775
|
-
a.value =
|
2776
|
-
const
|
2777
|
-
Dn(typeof
|
2778
|
-
r.value =
|
2779
|
-
url:
|
2780
|
-
filename:
|
2781
|
-
filesize:
|
2782
|
-
filetype:
|
2783
|
-
}),
|
2784
|
-
previewUrl:
|
2785
|
-
isImage:
|
2786
|
-
isVideo:
|
2787
|
-
isAudio:
|
2788
|
-
fileName:
|
2789
|
-
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
|
-
},
|
2794
|
+
}, b = () => {
|
2795
2795
|
a.value && (a.value = null, r.value = "");
|
2796
2796
|
};
|
2797
2797
|
return ee(
|
2798
2798
|
() => r.value,
|
2799
|
-
(
|
2800
|
-
|
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
|
-
), (
|
2807
|
+
), (I, h) => (l(), u(H, null, [
|
2808
2808
|
r.value !== "success" ? (l(), u("div", {
|
2809
2809
|
key: 0,
|
2810
|
-
class:
|
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
|
-
|
2822
|
+
h[1] || (h[1] = o("span", { class: "pi pi-paperclip attachment-section__icon" }, null, -1)),
|
2823
2823
|
o("div", null, [
|
2824
|
-
|
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(),
|
2827
|
+
], 2)) : r.value === "success" && c.value ? (l(), B(Nn, {
|
2828
2828
|
key: 1,
|
2829
2829
|
"file-info": c.value,
|
2830
|
-
onReset:
|
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:
|
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:
|
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
|
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 ? (
|
2958
|
-
}, r = (
|
2959
|
-
g.value =
|
2960
|
-
}, c =
|
2961
|
-
|
2962
|
-
},
|
2963
|
-
Object.keys(
|
2964
|
-
|
2965
|
-
}), g.value = null, n.wabaTemplates.forEach((G) => G.isSelected = !1),
|
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
|
-
|
2968
|
-
},
|
2969
|
-
const
|
2970
|
-
return
|
2971
|
-
}),
|
2972
|
-
P.value && (
|
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 && (
|
2974
|
+
P.value && (T.value == "grid" ? L() : j.value == "grid" && U());
|
2975
2975
|
}, X = () => {
|
2976
|
-
const
|
2977
|
-
|
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
|
2983
|
-
|
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
|
2986
|
-
|
2987
|
-
}, de = (
|
2988
|
-
|
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
|
2992
|
-
if (!
|
2993
|
-
const G = [...
|
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(
|
2997
|
-
}), ie <
|
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
|
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
|
3006
|
+
return S;
|
3007
3007
|
if (d.value.type !== "TEXT")
|
3008
|
-
return
|
3008
|
+
return S || !g.value;
|
3009
3009
|
}), Ze = () => {
|
3010
|
-
Object.keys(
|
3011
|
-
|
3012
|
-
}), g.value = null, d.value = null, n.wabaTemplates.forEach((
|
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
|
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("")),
|
3017
|
+
| [` + F.text + "]").join("")), S.concat(G);
|
3018
3018
|
}), Pe = $(() => {
|
3019
|
-
const
|
3020
|
-
for (const G in
|
3021
|
-
|
3022
|
-
return
|
3023
|
-
}), Le = new ResizeObserver((
|
3024
|
-
const G =
|
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(
|
3029
|
-
}), (
|
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:
|
3034
|
-
class:
|
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:
|
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
|
-
[
|
3098
|
+
[lt, m.value]
|
3099
3099
|
])
|
3100
3100
|
]),
|
3101
3101
|
o("div", Tl, [
|
3102
|
-
|
3103
|
-
(l(!0), u(H, null, ae(
|
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:
|
3106
|
-
onClick: (De) =>
|
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(),
|
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(),
|
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:
|
3136
|
-
"is-filled": !!
|
3137
|
-
onClick: (De) =>
|
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(),
|
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
|
-
|
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-
|
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
|
-
|
3205
|
-
const f = te("chatAppId"), { getMessage: a } = we(f), s =
|
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 = (
|
3218
|
-
r("sendWabaValues",
|
3217
|
+
const m = (b) => {
|
3218
|
+
r("sendWabaValues", b);
|
3219
3219
|
};
|
3220
|
-
return (
|
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:
|
3225
|
+
class: V(["button-template", { "button-template-disabled": e.state == "disabled" }]),
|
3226
3226
|
onClick: c,
|
3227
3227
|
onMouseover: A,
|
3228
3228
|
onMouseout: d
|
3229
|
-
},
|
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-
|
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",
|
3258
|
+
}, ba = "u", En = "n", Yt = "v", jt = "r", Hl = {
|
3259
3259
|
[En]: ["grinning face", "grinning"],
|
3260
3260
|
[ba]: "1f600",
|
3261
|
-
[
|
3262
|
-
},
|
3263
|
-
|
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",
|
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(
|
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(
|
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:
|
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 =
|
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(
|
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((
|
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
|
15483
|
-
e.recent = [
|
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",
|
15496
|
-
return e.concat([t + "-" +
|
15497
|
-
}, []), wa = /* @__PURE__ */ [].concat(
|
15498
|
-
return e.concat([t, t + "-" +
|
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
|
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,
|
15572
|
-
function
|
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 =
|
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 =
|
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 ((
|
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
|
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
|
15652
|
-
return We(e,
|
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 =
|
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,
|
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),
|
15683
|
-
n.modifiersData[f] = (t = {}, 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
|
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:
|
15712
|
-
y:
|
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,
|
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
|
15719
|
-
if (
|
15720
|
-
|
15721
|
-
var P = g &&
|
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 ===
|
15725
|
-
|
15726
|
-
var Q = g &&
|
15727
|
-
|
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[
|
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[
|
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:
|
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
|
-
},
|
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,
|
15775
|
-
}), r && c.addEventListener("resize", n.update,
|
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,
|
15778
|
-
}), r && c.removeEventListener("resize", n.update,
|
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
|
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
|
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
|
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(
|
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 =
|
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)) :
|
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 =
|
15867
|
-
return
|
15868
|
-
return
|
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 =
|
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 ?
|
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
|
15915
|
+
case ft:
|
15916
15916
|
c[A] = c[A] - (t[d] / 2 - n[d] / 2);
|
15917
15917
|
break;
|
15918
|
-
case
|
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
|
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 ?
|
15928
|
-
reference:
|
15929
|
-
element:
|
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
|
-
}),
|
15932
|
-
top:
|
15933
|
-
bottom:
|
15934
|
-
left:
|
15935
|
-
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 ===
|
15937
|
+
if (d === pt && P) {
|
15938
15938
|
var Q = P[a];
|
15939
|
-
Object.keys(
|
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
|
-
|
15941
|
+
z[Y] += Q[O] * C;
|
15942
15942
|
});
|
15943
15943
|
}
|
15944
|
-
return
|
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 =
|
15949
|
-
return
|
15950
|
-
}) :
|
15951
|
-
return A.indexOf(
|
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
|
15955
|
-
return
|
15956
|
-
placement:
|
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(
|
15960
|
+
})[je(h)], I;
|
15961
15961
|
}, {});
|
15962
|
-
return Object.keys(
|
15963
|
-
return
|
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 =
|
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,
|
15976
|
-
return Le.concat(je(
|
15977
|
-
placement:
|
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:
|
15983
|
-
}) :
|
15984
|
-
}, []),
|
15985
|
-
var Y =
|
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
|
-
|
15993
|
-
var de =
|
15994
|
-
if (s && le.push(
|
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,
|
15997
|
+
P = Y, z = !1;
|
15998
15998
|
break;
|
15999
15999
|
}
|
16000
|
-
|
16000
|
+
T.set(Y, le);
|
16001
16001
|
}
|
16002
|
-
if (
|
16003
|
-
for (var Ge =
|
16004
|
-
var G =
|
16005
|
-
var ie =
|
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,
|
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 =
|
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 =
|
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,
|
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
|
-
}),
|
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
|
-
})) :
|
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 (
|
16131
|
+
if (j) {
|
16132
16132
|
if (s) {
|
16133
|
-
var O, X =
|
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
|
-
},
|
16137
|
-
|
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 =
|
16141
|
-
|
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 =
|
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 =
|
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 =
|
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,
|
16259
|
+
}, g = [], m = !1, b = {
|
16260
16260
|
state: d,
|
16261
|
-
setOptions: function(
|
16262
|
-
var
|
16263
|
-
|
16264
|
-
reference:
|
16265
|
-
popper:
|
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
|
16268
|
-
return d.orderedModifiers =
|
16269
|
-
return
|
16270
|
-
}),
|
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
|
16275
|
-
if (Xf(
|
16274
|
+
var x = d.elements, y = x.reference, M = x.popper;
|
16275
|
+
if (Xf(y, M)) {
|
16276
16276
|
d.rects = {
|
16277
|
-
reference: IA(
|
16278
|
-
popper: hf(
|
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
|
16282
|
+
for (var w = 0; w < d.orderedModifiers.length; w++) {
|
16283
16283
|
if (d.reset === !0) {
|
16284
|
-
d.reset = !1,
|
16284
|
+
d.reset = !1, w = -1;
|
16285
16285
|
continue;
|
16286
16286
|
}
|
16287
|
-
var
|
16288
|
-
typeof
|
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:
|
16290
|
+
options: z,
|
16291
16291
|
name: P,
|
16292
|
-
instance:
|
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
|
-
|
16300
|
+
b.forceUpdate(), k(d);
|
16301
16301
|
});
|
16302
16302
|
}),
|
16303
16303
|
destroy: function() {
|
16304
|
-
|
16304
|
+
h(), m = !0;
|
16305
16305
|
}
|
16306
16306
|
};
|
16307
16307
|
if (!Xf(r, c))
|
16308
|
-
return
|
16309
|
-
|
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
|
16315
|
-
if (typeof
|
16316
|
-
var
|
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:
|
16319
|
-
instance:
|
16320
|
-
options:
|
16321
|
-
}),
|
16318
|
+
name: x,
|
16319
|
+
instance: b,
|
16320
|
+
options: M
|
16321
|
+
}), j = function() {
|
16322
16322
|
};
|
16323
|
-
g.push(
|
16323
|
+
g.push(_ || j);
|
16324
16324
|
}
|
16325
16325
|
});
|
16326
16326
|
}
|
16327
|
-
function
|
16327
|
+
function h() {
|
16328
16328
|
g.forEach(function(k) {
|
16329
16329
|
return k();
|
16330
16330
|
}), g = [];
|
16331
16331
|
}
|
16332
|
-
return
|
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+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDID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 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 !==
|
16352
|
-
const d = ((c = r[
|
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[
|
16355
|
+
d !== -1 && r[Yt] && (A = r[Yt][d]);
|
16356
16356
|
}
|
16357
16357
|
return i.push({
|
16358
16358
|
...r,
|
16359
|
-
[
|
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
|
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 =
|
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[
|
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(
|
16402
|
-
...
|
16400
|
+
function m(I) {
|
16401
|
+
n(I), s == null || s.emit("select", {
|
16402
|
+
...I,
|
16403
16403
|
t: e.skinTone,
|
16404
|
-
i:
|
16404
|
+
i: Wt(I.r)
|
16405
16405
|
});
|
16406
16406
|
}
|
16407
|
-
function
|
16407
|
+
function b(I, h) {
|
16408
16408
|
var k;
|
16409
|
-
const
|
16410
|
-
|
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
|
16417
|
-
|
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:
|
16425
|
+
handleError: b,
|
16426
16426
|
handleMouseEnter: g,
|
16427
16427
|
native: e.options.native,
|
16428
|
-
unicodeToEmoji:
|
16429
|
-
EMOJI_RESULT_KEY:
|
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:
|
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:
|
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+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxM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IDkuMTAxNTYzIDguMDE5NTMxIDEyLjI5Njg3NSA2IDE2IDYgQyAyMS41MzUxNTYgNiAyNiAxMC40NjQ4NDQgMjYgMTYgQyAyNiAyMS41MzUxNTYgMjEuNTM1MTU2IDI2IDE2IDI2IEMgMTAuNDY0ODQ0IDI2IDYgMjEuNTM1MTU2IDYgMTYgTCA0IDE2IEMgNCAyMi42MTcxODggOS4zODI4MTMgMjggMTYgMjggQyAyMi42MTcxODggMjggMjggMjIuNjE3MTg4IDI4IDE2IEMgMjggOS4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+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((
|
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:
|
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
|
-
[
|
16563
|
+
[lt, e.searchValue]
|
16564
16564
|
])
|
16565
16565
|
])) : p("", !0)
|
16566
16566
|
])) : p("", !0);
|
16567
16567
|
}
|
16568
|
-
var ic = /* @__PURE__ */
|
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 =
|
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[
|
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:
|
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:
|
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:
|
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:
|
16637
|
+
class: V(`v3-icon v3-tone-${e.stateSkinTone}`)
|
16638
16638
|
}, null, 2)
|
16639
16639
|
]),
|
16640
16640
|
o("div", {
|
16641
|
-
class:
|
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:
|
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__ */
|
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 =
|
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
|
16698
|
-
|
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
|
16707
|
-
var
|
16708
|
-
!((
|
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",
|
16725
|
+
}), document.body.addEventListener("click", b);
|
16726
16726
|
}
|
16727
16727
|
}
|
16728
|
-
function
|
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",
|
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:
|
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 =
|
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:
|
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:
|
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:
|
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__ */
|
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 =
|
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
|
-
}),
|
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 =
|
16922
|
-
return l(),
|
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__ */
|
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 =
|
16945
|
-
i(r().text +
|
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
|
-
},
|
16953
|
-
t.mode == "click" && !a.value.contains(
|
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",
|
16956
|
+
n.value.style.display = "none", document.addEventListener("click", b);
|
16957
16957
|
}), Je(() => {
|
16958
|
-
document.removeEventListener("click",
|
16959
|
-
}), (
|
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:
|
16964
|
+
class: V(["button", { "button-disabled": e.state == "disabled" }]),
|
16965
16965
|
onClick: d,
|
16966
16966
|
onMouseenter: g,
|
16967
16967
|
onMouseleave: m
|
16968
|
-
},
|
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-
|
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:
|
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
|
-
},
|
17040
|
-
const t =
|
17041
|
-
let n =
|
17042
|
-
return n != null ? t.value =
|
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 =
|
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 =
|
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(),
|
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
|
-
[
|
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:
|
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:
|
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 =
|
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 =
|
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
|
-
}),
|
17250
|
-
if (!f().file &&
|
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),
|
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
|
-
},
|
17259
|
-
|
17260
|
-
},
|
17261
|
-
|
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
|
-
|
17264
|
-
|
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 && (
|
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
|
-
}),
|
17279
|
-
},
|
17280
|
-
clearInterval(r.value), c.value = 0, A.value = 0, d.value = 0, g.value = 0, i(!1),
|
17281
|
-
},
|
17282
|
-
s(),
|
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 || (
|
17287
|
+
f().file || (y.value = void 0);
|
17288
17288
|
}
|
17289
17289
|
), (P, Q) => (l(), u("div", tu, [
|
17290
|
-
|
17290
|
+
b.value === "uploading" ? (l(), u("div", nu, Q[0] || (Q[0] = [
|
17291
17291
|
o("p", null, "Загрузка файла...", -1)
|
17292
17292
|
]))) : p("", !0),
|
17293
|
-
|
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:
|
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:
|
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
|
-
!
|
17309
|
+
!I.value && b.value != "uploading" && !N(f)().isRecording ? (l(), u("button", {
|
17310
17310
|
key: 2,
|
17311
|
-
class:
|
17312
|
-
onClick:
|
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(),
|
17316
|
+
N(f)().file ? (l(), B(ue, {
|
17317
17317
|
key: 3,
|
17318
17318
|
to: "#chat-input-file-line-" + N(n)
|
17319
17319
|
}, [
|
17320
|
-
|
17320
|
+
y.value ? (l(), B(Nn, {
|
17321
17321
|
key: 0,
|
17322
|
-
"file-info":
|
17323
|
-
onReset:
|
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-
|
17329
|
-
function
|
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 =
|
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((
|
17339
|
-
i.value[
|
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(),
|
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
|
17421
|
+
const n = await zt({
|
17422
17422
|
//в component должен быть встроен emit change(key: value)
|
17423
|
-
component: import("./SelectUser2-
|
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
|
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
|
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(),
|
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
|
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-
|
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
|
17498
|
+
}), gu = async (e) => await zt({
|
17499
17499
|
//в component должен быть встроен emit change(key: value)
|
17500
|
-
component: import("./ModalVideoRecorder-
|
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 } =
|
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((
|
17528
|
-
a(!1), r.value =
|
17529
|
-
url:
|
17530
|
-
name:
|
17531
|
-
size:
|
17532
|
-
type:
|
17533
|
-
}),
|
17534
|
-
previewUrl:
|
17535
|
-
isImage:
|
17536
|
-
isVideo:
|
17537
|
-
isAudio:
|
17538
|
-
fileName:
|
17539
|
-
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,
|
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:
|
17555
|
+
class: V(["video-recorder__button", { "video-recorder__button-disabled": e.state == "disabled" || N(n)().file }]),
|
17556
17556
|
onClick: d
|
17557
|
-
},
|
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,
|
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(),
|
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(),
|
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-
|
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,
|
17603
|
+
var m, b;
|
17604
17604
|
return l(), u("div", {
|
17605
|
-
class:
|
17605
|
+
class: V(["reply__container", c((m = e.message) == null ? void 0 : m.type)]),
|
17606
17606
|
onClick: i
|
17607
17607
|
}, [
|
17608
|
-
(l(),
|
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
|
-
}),
|
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
|
-
}),
|
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 =
|
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 = (
|
17706
|
-
f("reply",
|
17705
|
+
const r = (h) => {
|
17706
|
+
f("reply", h);
|
17707
17707
|
};
|
17708
|
-
function c(
|
17709
|
-
|
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
|
-
},
|
17719
|
-
function
|
17720
|
-
return
|
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 (
|
17723
|
-
class:
|
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(),
|
17741
|
+
e.message.reply ? (l(), B(dt, {
|
17742
17742
|
key: 0,
|
17743
17743
|
message: e.message.reply,
|
17744
|
-
class:
|
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(),
|
17765
|
+
e.message.linkPreview ? (l(), B(Lt, {
|
17766
17766
|
key: 2,
|
17767
|
-
class:
|
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(),
|
17770
|
+
e.message.embed ? (l(), B(Ut, {
|
17771
17771
|
key: 3,
|
17772
|
-
class:
|
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
|
-
|
17785
|
+
I(e.message) === "file-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
|
17786
17786
|
key: 1,
|
17787
|
-
class:
|
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] = (
|
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(),
|
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 =
|
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 = (
|
17845
|
-
f("reply",
|
17844
|
+
const A = (w) => {
|
17845
|
+
f("reply", w);
|
17846
17846
|
};
|
17847
|
-
function d(
|
17848
|
-
|
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
|
-
},
|
17853
|
+
}, b = () => {
|
17854
17854
|
i.value = !0, r.value = !0;
|
17855
|
-
},
|
17855
|
+
}, I = () => {
|
17856
17856
|
i.value = !1, s.value = !1;
|
17857
|
-
},
|
17858
|
-
function
|
17859
|
-
return
|
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
|
17862
|
-
|
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",
|
17865
|
+
document.addEventListener("keydown", M);
|
17866
17866
|
}), Je(() => {
|
17867
|
-
document.removeEventListener("keydown",
|
17868
|
-
}), (
|
17869
|
-
class:
|
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(),
|
17882
|
+
e.message.reply ? (l(), B(dt, {
|
17883
17883
|
key: 0,
|
17884
17884
|
style: { margin: "10px 10px 4px 16px" },
|
17885
|
-
class:
|
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:
|
17892
|
-
onMouseenter:
|
17893
|
-
onMouseleave:
|
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:
|
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:
|
17906
|
+
onClick: Dt(g, ["stop"]),
|
17907
17907
|
class: "image-message__views"
|
17908
17908
|
}, [
|
17909
|
-
|
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
|
-
|
17913
|
+
x(e.message) === "image-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
|
17914
17914
|
key: 1,
|
17915
|
-
class:
|
17915
|
+
class: V(["image-message__status", k.value])
|
17916
17916
|
}, [
|
17917
17917
|
e.message.status !== "sent" ? (l(), u("span", Ku)) : p("", !0),
|
17918
|
-
|
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:
|
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
|
-
},
|
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:
|
17946
|
-
},
|
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(),
|
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(),
|
17969
|
+
e.message.linkPreview ? (l(), B(Lt, {
|
17970
17970
|
key: 2,
|
17971
|
-
class:
|
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(),
|
17974
|
+
e.message.embed ? (l(), B(Ut, {
|
17975
17975
|
key: 3,
|
17976
|
-
class:
|
17976
|
+
class: V(e.message.position),
|
17977
17977
|
embed: e.message.embed
|
17978
17978
|
}, null, 8, ["class", "embed"])) : p("", !0)
|
17979
17979
|
]),
|
17980
|
-
(l(),
|
17980
|
+
(l(), B(ue, { to: "body" }, [
|
17981
17981
|
W(ne, { name: "modal-fade" }, {
|
17982
17982
|
default: Z(() => [
|
17983
|
-
a.value ? (l(),
|
17983
|
+
a.value ? (l(), B(cf, {
|
17984
17984
|
key: 0,
|
17985
|
-
onClose:
|
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 =
|
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 = (
|
18030
|
-
f("reply",
|
18029
|
+
const r = (h) => {
|
18030
|
+
f("reply", h);
|
18031
18031
|
};
|
18032
|
-
function c(
|
18033
|
-
|
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 = $(() =>
|
18040
|
-
d(), f("action", { messageId: n.message.messageId, type: "menu", ...
|
18041
|
-
},
|
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
|
18045
|
-
return
|
18044
|
+
function I(h) {
|
18045
|
+
return h.position === "left" ? "text-message__left" : "text-message__right";
|
18046
18046
|
}
|
18047
|
-
return (
|
18048
|
-
class:
|
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(),
|
18065
|
+
e.message.reply ? (l(), B(dt, {
|
18066
18066
|
key: 0,
|
18067
|
-
class:
|
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(),
|
18076
|
+
e.message.linkPreview ? (l(), B(Lt, {
|
18077
18077
|
key: 1,
|
18078
|
-
class:
|
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(),
|
18081
|
+
e.message.embed ? (l(), B(Ut, {
|
18082
18082
|
key: 2,
|
18083
|
-
class:
|
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:
|
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
|
-
|
18096
|
+
I(e.message) === "text-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
|
18097
18097
|
key: 2,
|
18098
|
-
class:
|
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] = (
|
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(),
|
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 } =
|
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 =
|
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
|
18177
|
+
function x(C) {
|
18178
18178
|
C.preventDefault(), C.target.href && window.open(C.target.href, "_blank");
|
18179
18179
|
}
|
18180
|
-
const
|
18181
|
-
|
18182
|
-
},
|
18183
|
-
|
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
|
-
|
18188
|
-
|
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
|
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 ?
|
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 ?
|
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:
|
18216
|
+
class: V(["audio-message", Y(e.message)]),
|
18217
18217
|
messageId: e.message.messageId,
|
18218
|
-
onMouseleave:
|
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:
|
18231
|
+
onMouseenter: y
|
18232
18232
|
}, [
|
18233
|
-
e.message.reply ? (l(),
|
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:
|
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:
|
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:
|
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] = (
|
18269
|
+
"onUpdate:modelValue": O[0] || (O[0] = (L) => g.value = L)
|
18270
18270
|
}, null, 8, pd), [
|
18271
|
-
[
|
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, (
|
18277
|
-
onClick: (J) => i(
|
18278
|
-
class:
|
18279
|
-
}, E(
|
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:
|
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] = (
|
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:
|
18300
|
-
onClick:
|
18299
|
+
innerHTML: h.value,
|
18300
|
+
onClick: x
|
18301
18301
|
}, null, 8, wd)
|
18302
18302
|
])) : p("", !0),
|
18303
|
-
e.message.linkPreview ? (l(),
|
18303
|
+
e.message.linkPreview ? (l(), B(Lt, {
|
18304
18304
|
key: 3,
|
18305
|
-
class:
|
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(),
|
18308
|
+
e.message.embed ? (l(), B(Ut, {
|
18309
18309
|
key: 4,
|
18310
|
-
class:
|
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:
|
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(
|
18323
|
+
Y(e.message) === "audio-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
|
18324
18324
|
key: 1,
|
18325
|
-
class:
|
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
|
-
|
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] = (
|
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(),
|
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:
|
18344
|
+
onClick: _
|
18345
18345
|
}, null, 8, ["actions"])) : p("", !0)
|
18346
18346
|
]),
|
18347
18347
|
_: 1
|
18348
18348
|
}),
|
18349
|
-
(l(),
|
18349
|
+
(l(), B(ue, { to: "body" }, [
|
18350
18350
|
W(ne, { name: "modal-fade" }, {
|
18351
18351
|
default: Z(() => {
|
18352
|
-
var
|
18352
|
+
var L;
|
18353
18353
|
return [
|
18354
|
-
|
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] = (
|
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((
|
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-
|
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 = (
|
18419
|
-
f("reply",
|
18418
|
+
const n = e, f = t, a = (T) => {
|
18419
|
+
f("reply", T);
|
18420
18420
|
};
|
18421
|
-
function s(
|
18422
|
-
return
|
18421
|
+
function s(T) {
|
18422
|
+
return T.position === "left" ? "video-message__left" : "video-message__right";
|
18423
18423
|
}
|
18424
|
-
const i =
|
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
|
18433
|
-
|
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
|
-
},
|
18437
|
+
}, h = () => {
|
18438
18438
|
}, k = () => {
|
18439
18439
|
d.value = !0, g.value = !0;
|
18440
|
-
},
|
18440
|
+
}, x = () => {
|
18441
18441
|
d.value = !1, A.value = !1;
|
18442
|
-
},
|
18442
|
+
}, y = $(() => ct(n.message.status)), M = () => {
|
18443
18443
|
r.value && (r.value.currentTime = 0, r.value.play());
|
18444
18444
|
};
|
18445
|
-
ee([i, r], ([
|
18446
|
-
|
18445
|
+
ee([i, r], ([T, z]) => {
|
18446
|
+
T ? z && (z.pause(), z.currentTime = 0) : z && (z.play(), z.currentTime = 0);
|
18447
18447
|
});
|
18448
|
-
const
|
18449
|
-
|
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",
|
18452
|
+
document.addEventListener("keydown", j);
|
18453
18453
|
}), Je(() => {
|
18454
|
-
document.removeEventListener("keydown",
|
18455
|
-
}), (
|
18454
|
+
document.removeEventListener("keydown", j);
|
18455
|
+
}), (T, z) => (l(), u(H, null, [
|
18456
18456
|
o("div", {
|
18457
|
-
class:
|
18457
|
+
class: V(["video-message", s(e.message)]),
|
18458
18458
|
messageId: e.message.messageId,
|
18459
|
-
onMouseleave:
|
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(),
|
18470
|
+
e.message.reply ? (l(), B(dt, {
|
18471
18471
|
key: 0,
|
18472
18472
|
style: { margin: "10px 10px 4px 16px" },
|
18473
|
-
class:
|
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:
|
18479
|
+
onClick: z[0] || (z[0] = (P) => c.value = !0),
|
18480
18480
|
onMouseenter: k,
|
18481
|
-
onMouseleave:
|
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:
|
18488
|
-
onEnded:
|
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:
|
18498
|
+
onClick: Dt(I, ["stop"]),
|
18499
18499
|
class: "video-message__views"
|
18500
18500
|
}, [
|
18501
|
-
|
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(
|
18505
|
+
s(e.message) === "video-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
|
18506
18506
|
key: 1,
|
18507
|
-
class:
|
18507
|
+
class: V(["video-message__status", y.value])
|
18508
18508
|
}, [
|
18509
18509
|
e.message.status !== "sent" ? (l(), u("span", Pd)) : p("", !0),
|
18510
|
-
|
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:
|
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
|
-
},
|
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:
|
18538
|
-
},
|
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(),
|
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:
|
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:
|
18558
|
+
onClick: b
|
18559
18559
|
}, null, 8, Hd)
|
18560
18560
|
])) : p("", !0),
|
18561
|
-
e.message.linkPreview ? (l(),
|
18561
|
+
e.message.linkPreview ? (l(), B(Lt, {
|
18562
18562
|
key: 2,
|
18563
|
-
class:
|
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(),
|
18566
|
+
e.message.embed ? (l(), B(Ut, {
|
18567
18567
|
key: 3,
|
18568
|
-
class:
|
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(),
|
18573
|
+
(l(), B(ue, { to: "body" }, [
|
18574
18574
|
W(ne, { name: "modal-fade" }, {
|
18575
18575
|
default: Z(() => [
|
18576
|
-
c.value ? (l(),
|
18576
|
+
c.value ? (l(), B(cf, {
|
18577
18577
|
key: 0,
|
18578
|
-
onClose:
|
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 } =
|
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:
|
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:
|
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(),
|
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:
|
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 =
|
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 =
|
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(),
|
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 =
|
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 =
|
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(),
|
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 =
|
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
|
19022
|
-
id: N(
|
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(
|
19030
|
-
(l(),
|
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(
|
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 =
|
19056
|
-
|
19057
|
-
const g = (
|
19058
|
-
i.value = !0, r.value =
|
19059
|
-
}, m = () => i.value = !1,
|
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
|
19062
|
-
f.value.x =
|
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",
|
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
|
-
}), (
|
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(
|
19114
|
+
fe(I.$slots, "controls", {}, void 0, !0),
|
19113
19115
|
o("button", {
|
19114
19116
|
class: "float-window__close-button",
|
19115
|
-
onClick:
|
19116
|
-
},
|
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(
|
19126
|
-
(l(),
|
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-
|
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
|
-
|
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
|
-
|
19309
|
-
|
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
|
-
|
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
|
-
|
19332
|
+
ut as v,
|
19331
19333
|
Fg as w,
|
19332
19334
|
qg as x,
|
19333
19335
|
Rf as y,
|