FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
wp-live-chat-support
/
public
/
js
Edit File: callus.js
/*! VERSION: "6.0.39", BUILD_DATE: "2025-08-19T09:30:21.536Z", BUILD_NUMBER: "39", DEV: false */ (function(Wt,mt){typeof exports=="object"&&typeof module<"u"?mt(exports):typeof define=="function"&&define.amd?define(["exports"],mt):(Wt=typeof globalThis<"u"?globalThis:Wt||self,mt(Wt.callus={}))})(this,function(Wt){"use strict";var uT=Object.defineProperty;var dT=(Wt,mt,Sn)=>mt in Wt?uT(Wt,mt,{enumerable:!0,configurable:!0,writable:!0,value:Sn}):Wt[mt]=Sn;var _=(Wt,mt,Sn)=>dT(Wt,typeof mt!="symbol"?mt+"":mt,Sn);var mt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ja={exports:{}},Om=Ja.exports,ou;function Ct(){return ou||(ou=1,function(e,n){(function(t,i){e.exports=i()})(Om,function(){var t=1e3,i=6e4,o=36e5,a="millisecond",r="second",s="minute",l="hour",c="day",u="week",f="month",d="quarter",p="year",h="date",b="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(se){var Q=["th","st","nd","rd"],q=se%100;return"["+se+(Q[(q-20)%10]||Q[q]||Q[0])+"]"}},E=function(se,Q,q){var z=String(se);return!z||z.length>=Q?se:""+Array(Q+1-z.length).join(q)+se},x={s:E,z:function(se){var Q=-se.utcOffset(),q=Math.abs(Q),z=Math.floor(q/60),D=q%60;return(Q<=0?"+":"-")+E(z,2,"0")+":"+E(D,2,"0")},m:function se(Q,q){if(Q.date()<q.date())return-se(q,Q);var z=12*(q.year()-Q.year())+(q.month()-Q.month()),D=Q.clone().add(z,f),te=q-D<0,X=Q.clone().add(z+(te?-1:1),f);return+(-(z+(q-D)/(te?D-X:X-D))||0)},a:function(se){return se<0?Math.ceil(se)||0:Math.floor(se)},p:function(se){return{M:f,y:p,w:u,d:c,D:h,h:l,m:s,s:r,ms:a,Q:d}[se]||String(se||"").toLowerCase().replace(/s$/,"")},u:function(se){return se===void 0}},M="en",U={};U[M]=C;var N="$isDayjsObject",K=function(se){return se instanceof he||!(!se||!se[N])},re=function se(Q,q,z){var D;if(!Q)return M;if(typeof Q=="string"){var te=Q.toLowerCase();U[te]&&(D=te),q&&(U[te]=q,D=te);var X=Q.split("-");if(!D&&X.length>1)return se(X[0])}else{var me=Q.name;U[me]=Q,D=me}return!z&&D&&(M=D),D||!z&&M},W=function(se,Q){if(K(se))return se.clone();var q=typeof Q=="object"?Q:{};return q.date=se,q.args=arguments,new he(q)},ee=x;ee.l=re,ee.i=K,ee.w=function(se,Q){return W(se,{locale:Q.$L,utc:Q.$u,x:Q.$x,$offset:Q.$offset})};var he=function(){function se(q){this.$L=re(q.locale,null,!0),this.parse(q),this.$x=this.$x||q.x||{},this[N]=!0}var Q=se.prototype;return Q.parse=function(q){this.$d=function(z){var D=z.date,te=z.utc;if(D===null)return new Date(NaN);if(ee.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var X=D.match(y);if(X){var me=X[2]-1||0,ge=(X[7]||"0").substring(0,3);return te?new Date(Date.UTC(X[1],me,X[3]||1,X[4]||0,X[5]||0,X[6]||0,ge)):new Date(X[1],me,X[3]||1,X[4]||0,X[5]||0,X[6]||0,ge)}}return new Date(D)}(q),this.init()},Q.init=function(){var q=this.$d;this.$y=q.getFullYear(),this.$M=q.getMonth(),this.$D=q.getDate(),this.$W=q.getDay(),this.$H=q.getHours(),this.$m=q.getMinutes(),this.$s=q.getSeconds(),this.$ms=q.getMilliseconds()},Q.$utils=function(){return ee},Q.isValid=function(){return this.$d.toString()!==b},Q.isSame=function(q,z){var D=W(q);return this.startOf(z)<=D&&D<=this.endOf(z)},Q.isAfter=function(q,z){return W(q)<this.startOf(z)},Q.isBefore=function(q,z){return this.endOf(z)<W(q)},Q.$g=function(q,z,D){return ee.u(q)?this[z]:this.set(D,q)},Q.unix=function(){return Math.floor(this.valueOf()/1e3)},Q.valueOf=function(){return this.$d.getTime()},Q.startOf=function(q,z){var D=this,te=!!ee.u(z)||z,X=ee.p(q),me=function(_t,et){var ut=ee.w(D.$u?Date.UTC(D.$y,et,_t):new Date(D.$y,et,_t),D);return te?ut:ut.endOf(c)},ge=function(_t,et){return ee.w(D.toDate()[_t].apply(D.toDate("s"),(te?[0,0,0,0]:[23,59,59,999]).slice(et)),D)},Ee=this.$W,De=this.$M,Xe=this.$D,Rt="set"+(this.$u?"UTC":"");switch(X){case p:return te?me(1,0):me(31,11);case f:return te?me(1,De):me(0,De+1);case u:var at=this.$locale().weekStart||0,ft=(Ee<at?Ee+7:Ee)-at;return me(te?Xe-ft:Xe+(6-ft),De);case c:case h:return ge(Rt+"Hours",0);case l:return ge(Rt+"Minutes",1);case s:return ge(Rt+"Seconds",2);case r:return ge(Rt+"Milliseconds",3);default:return this.clone()}},Q.endOf=function(q){return this.startOf(q,!1)},Q.$set=function(q,z){var D,te=ee.p(q),X="set"+(this.$u?"UTC":""),me=(D={},D[c]=X+"Date",D[h]=X+"Date",D[f]=X+"Month",D[p]=X+"FullYear",D[l]=X+"Hours",D[s]=X+"Minutes",D[r]=X+"Seconds",D[a]=X+"Milliseconds",D)[te],ge=te===c?this.$D+(z-this.$W):z;if(te===f||te===p){var Ee=this.clone().set(h,1);Ee.$d[me](ge),Ee.init(),this.$d=Ee.set(h,Math.min(this.$D,Ee.daysInMonth())).$d}else me&&this.$d[me](ge);return this.init(),this},Q.set=function(q,z){return this.clone().$set(q,z)},Q.get=function(q){return this[ee.p(q)]()},Q.add=function(q,z){var D,te=this;q=Number(q);var X=ee.p(z),me=function(De){var Xe=W(te);return ee.w(Xe.date(Xe.date()+Math.round(De*q)),te)};if(X===f)return this.set(f,this.$M+q);if(X===p)return this.set(p,this.$y+q);if(X===c)return me(1);if(X===u)return me(7);var ge=(D={},D[s]=i,D[l]=o,D[r]=t,D)[X]||1,Ee=this.$d.getTime()+q*ge;return ee.w(Ee,this)},Q.subtract=function(q,z){return this.add(-1*q,z)},Q.format=function(q){var z=this,D=this.$locale();if(!this.isValid())return D.invalidDate||b;var te=q||"YYYY-MM-DDTHH:mm:ssZ",X=ee.z(this),me=this.$H,ge=this.$m,Ee=this.$M,De=D.weekdays,Xe=D.months,Rt=D.meridiem,at=function(et,ut,bn,m){return et&&(et[ut]||et(z,te))||bn[ut].slice(0,m)},ft=function(et){return ee.s(me%12||12,et,"0")},_t=Rt||function(et,ut,bn){var m=et<12?"AM":"PM";return bn?m.toLowerCase():m};return te.replace(g,function(et,ut){return ut||function(bn){switch(bn){case"YY":return String(z.$y).slice(-2);case"YYYY":return ee.s(z.$y,4,"0");case"M":return Ee+1;case"MM":return ee.s(Ee+1,2,"0");case"MMM":return at(D.monthsShort,Ee,Xe,3);case"MMMM":return at(Xe,Ee);case"D":return z.$D;case"DD":return ee.s(z.$D,2,"0");case"d":return String(z.$W);case"dd":return at(D.weekdaysMin,z.$W,De,2);case"ddd":return at(D.weekdaysShort,z.$W,De,3);case"dddd":return De[z.$W];case"H":return String(me);case"HH":return ee.s(me,2,"0");case"h":return ft(1);case"hh":return ft(2);case"a":return _t(me,ge,!0);case"A":return _t(me,ge,!1);case"m":return String(ge);case"mm":return ee.s(ge,2,"0");case"s":return String(z.$s);case"ss":return ee.s(z.$s,2,"0");case"SSS":return ee.s(z.$ms,3,"0");case"Z":return X}return null}(et)||X.replace(":","")})},Q.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Q.diff=function(q,z,D){var te,X=this,me=ee.p(z),ge=W(q),Ee=(ge.utcOffset()-this.utcOffset())*i,De=this-ge,Xe=function(){return ee.m(X,ge)};switch(me){case p:te=Xe()/12;break;case f:te=Xe();break;case d:te=Xe()/3;break;case u:te=(De-Ee)/6048e5;break;case c:te=(De-Ee)/864e5;break;case l:te=De/o;break;case s:te=De/i;break;case r:te=De/t;break;default:te=De}return D?te:ee.a(te)},Q.daysInMonth=function(){return this.endOf(f).$D},Q.$locale=function(){return U[this.$L]},Q.locale=function(q,z){if(!q)return this.$L;var D=this.clone(),te=re(q,z,!0);return te&&(D.$L=te),D},Q.clone=function(){return ee.w(this.$d,this)},Q.toDate=function(){return new Date(this.valueOf())},Q.toJSON=function(){return this.isValid()?this.toISOString():null},Q.toISOString=function(){return this.$d.toISOString()},Q.toString=function(){return this.$d.toUTCString()},se}(),Be=he.prototype;return W.prototype=Be,[["$ms",a],["$s",r],["$m",s],["$H",l],["$W",c],["$M",f],["$y",p],["$D",h]].forEach(function(se){Be[se[1]]=function(Q){return this.$g(Q,se[0],se[1])}}),W.extend=function(se,Q){return se.$i||(se(Q,he,W),se.$i=!0),W},W.locale=re,W.isDayjs=K,W.unix=function(se){return W(1e3*se)},W.en=U[M],W.Ls=U,W.p={},W})}(Ja)),Ja.exports}var km=Ct();const Fi=Sn(km);var Xa={exports:{}},xm=Xa.exports,au;function Rm(){return au||(au=1,function(e,n){(function(t,i){e.exports=i()})(xm,function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(i,o,a){var r=o.prototype,s=r.format;a.en.formats=t,r.format=function(l){l===void 0&&(l="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,u=function(f,d){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(p,h,b){var y=b&&b.toUpperCase();return h||d[b]||t[b]||d[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(g,C,E){return C||E.slice(1)})})}(l,c===void 0?{}:c);return s.call(this,u)}}})}(Xa)),Xa.exports}var Nm=Rm();const Lm=Sn(Nm);var er={exports:{}},Pm=er.exports,ru;function Dm(){return ru||(ru=1,function(e,n){(function(t,i){e.exports=i()})(Pm,function(){return function(t,i,o){o.updateLocale=function(a,r){var s=o.Ls[a];if(s)return(r?Object.keys(r):[]).forEach(function(l){s[l]=r[l]}),s}}})}(er)),er.exports}var Fm=Dm();const Bm=Sn(Fm);var tr={exports:{}},qm=tr.exports,su;function Um(){return su||(su=1,function(e,n){(function(t,i){e.exports=i(Ct())})(qm,function(t){function i(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var o=i(t);function a(l){return l>1&&l<5&&~~(l/10)!=1}function r(l,c,u,f){var d=l+" ";switch(u){case"s":return c||f?"pár sekund":"pár sekundami";case"m":return c?"minuta":f?"minutu":"minutou";case"mm":return c||f?d+(a(l)?"minuty":"minut"):d+"minutami";case"h":return c?"hodina":f?"hodinu":"hodinou";case"hh":return c||f?d+(a(l)?"hodiny":"hodin"):d+"hodinami";case"d":return c||f?"den":"dnem";case"dd":return c||f?d+(a(l)?"dny":"dní"):d+"dny";case"M":return c||f?"měsíc":"měsícem";case"MM":return c||f?d+(a(l)?"měsíce":"měsíců"):d+"měsíci";case"y":return c||f?"rok":"rokem";case"yy":return c||f?d+(a(l)?"roky":"let"):d+"lety"}}var s={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(l){return l+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return o.default.locale(s,null,!0),s})}(tr)),tr.exports}Um();var nr={exports:{}},$m=nr.exports,lu;function jm(){return lu||(lu=1,function(e,n){(function(t,i){e.exports=i(Ct())})($m,function(t){function i(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var o=i(t),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function r(l,c,u){var f=a[u];return Array.isArray(f)&&(f=f[c?0:1]),f.replace("%d",l)}var s={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(l){return l+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return o.default.locale(s,null,!0),s})}(nr)),nr.exports}jm();var ir={exports:{}},zm=ir.exports,cu;function Vm(){return cu||(cu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(zm,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(r){var s=["th","st","nd","rd"],l=r%100;return"["+r+(s[(l-20)%10]||s[l]||s[0])+"]"}};return o.default.locale(a,null,!0),a})}(ir)),ir.exports}Vm();var or={exports:{}},Hm=or.exports,fu;function Wm(){return fu||(fu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(Hm,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(r){return r},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return o.default.locale(a,null,!0),a})}(or)),or.exports}Wm();var ar={exports:{}},Ym=ar.exports,uu;function Gm(){return uu||(uu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(Ym,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(r){return r+"º"}};return o.default.locale(a,null,!0),a})}(ar)),ar.exports}Gm();var rr={exports:{}},Qm=rr.exports,du;function Km(){return du||(du=1,function(e,n){(function(t,i){e.exports=i(Ct())})(Qm,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(r){return""+r+(r===1?"er":"")}};return o.default.locale(a,null,!0),a})}(rr)),rr.exports}Km();var sr={exports:{}},Zm=sr.exports,hu;function Jm(){return hu||(hu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(Zm,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(r){return r+"º"}};return o.default.locale(a,null,!0),a})}(sr)),sr.exports}Jm();var lr={exports:{}},Xm=lr.exports,pu;function eg(){return pu||(pu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(Xm,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(r){return r+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(r){return r<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return o.default.locale(a,null,!0),a})}(lr)),lr.exports}eg();var cr={exports:{}},tg=cr.exports,mu;function ng(){return mu||(mu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(tg,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(r){return"["+r+(r===1||r===8||r>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return o.default.locale(a,null,!0),a})}(cr)),cr.exports}ng();var fr={exports:{}},ig=fr.exports,gu;function og(){return gu||(gu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(ig,function(t){function i(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var o=i(t);function a(d){return d%10<5&&d%10>1&&~~(d/10)%10!=1}function r(d,p,h){var b=d+" ";switch(h){case"m":return p?"minuta":"minutę";case"mm":return b+(a(d)?"minuty":"minut");case"h":return p?"godzina":"godzinę";case"hh":return b+(a(d)?"godziny":"godzin");case"MM":return b+(a(d)?"miesiące":"miesięcy");case"yy":return b+(a(d)?"lata":"lat")}}var s="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),l="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),c=/D MMMM/,u=function(d,p){return c.test(p)?s[d.month()]:l[d.month()]};u.s=l,u.f=s;var f={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:u,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(d){return d+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return o.default.locale(f,null,!0),f})}(fr)),fr.exports}og();var ur={exports:{}},ag=ur.exports,bu;function rg(){return bu||(bu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(ag,function(t){function i(h){return h&&typeof h=="object"&&"default"in h?h:{default:h}}var o=i(t),a="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),r="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),s="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),l="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),c=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function u(h,b,y){var g,C;return y==="m"?b?"минута":"минуту":h+" "+(g=+h,C={mm:b?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[y].split("_"),g%10==1&&g%100!=11?C[0]:g%10>=2&&g%10<=4&&(g%100<10||g%100>=20)?C[1]:C[2])}var f=function(h,b){return c.test(b)?a[h.month()]:r[h.month()]};f.s=r,f.f=a;var d=function(h,b){return c.test(b)?s[h.month()]:l[h.month()]};d.s=l,d.f=s;var p={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:f,monthsShort:d,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:u,mm:u,h:"час",hh:u,d:"день",dd:u,M:"месяц",MM:u,y:"год",yy:u},ordinal:function(h){return h},meridiem:function(h){return h<4?"ночи":h<12?"утра":h<17?"дня":"вечера"}};return o.default.locale(p,null,!0),p})}(ur)),ur.exports}rg();var dr={exports:{}},sg=dr.exports,vu;function lg(){return vu||(vu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(sg,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(r){return r+"."}};return o.default.locale(a,null,!0),a})}(dr)),dr.exports}lg();var hr={exports:{}},cg=hr.exports,yu;function fg(){return yu||(yu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(cg,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(r,s){return s==="W"?r+"周":r+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(r,s){var l=100*r+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return o.default.locale(a,null,!0),a})}(hr)),hr.exports}fg();var pr={exports:{}},ug=pr.exports,Au;function dg(){return Au||(Au=1,function(e,n){(function(t,i){e.exports=i(Ct())})(ug,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(r){return r+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return o.default.locale(a,null,!0),a})}(pr)),pr.exports}dg();var mr={exports:{}},hg=mr.exports,wu;function pg(){return wu||(wu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(hg,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(r){return r+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return o.default.locale(a,null,!0),a})}(mr)),mr.exports}pg();var gr={exports:{}},mg=gr.exports,Cu;function gg(){return Cu||(Cu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(mg,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"nn",weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),ordinal:function(r){return r+"."},weekStart:1,relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eitt minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månadar",y:"eitt år",yy:"%d år"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"}};return o.default.locale(a,null,!0),a})}(gr)),gr.exports}gg(),Fi.extend(Lm),Fi.extend(Bm);/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function Wn(e){const n=Object.create(null);for(const t of e.split(","))n[t]=1;return t=>t in n}const qe=Object.freeze({}),fo=Object.freeze([]),Et=()=>{},bg=()=>!1,Ko=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),br=e=>e.startsWith("onUpdate:"),nt=Object.assign,cl=(e,n)=>{const t=e.indexOf(n);t>-1&&e.splice(t,1)},vg=Object.prototype.hasOwnProperty,Oe=(e,n)=>vg.call(e,n),fe=Array.isArray,Bi=e=>Zo(e)==="[object Map]",vr=e=>Zo(e)==="[object Set]",_u=e=>Zo(e)==="[object Date]",be=e=>typeof e=="function",Ye=e=>typeof e=="string",yn=e=>typeof e=="symbol",Ue=e=>e!==null&&typeof e=="object",fl=e=>(Ue(e)||be(e))&&be(e.then)&&be(e.catch),Eu=Object.prototype.toString,Zo=e=>Eu.call(e),ul=e=>Zo(e).slice(8,-1),yr=e=>Zo(e)==="[object Object]",dl=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Jo=Wn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yg=Wn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ar=e=>{const n=Object.create(null);return t=>n[t]||(n[t]=e(t))},Ag=/-(\w)/g,gt=Ar(e=>e.replace(Ag,(n,t)=>t?t.toUpperCase():"")),wg=/\B([A-Z])/g,Ut=Ar(e=>e.replace(wg,"-$1").toLowerCase()),qi=Ar(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ui=Ar(e=>e?`on${qi(e)}`:""),pi=(e,n)=>!Object.is(e,n),uo=(e,...n)=>{for(let t=0;t<e.length;t++)e[t](...n)},wr=(e,n,t,i=!1)=>{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,writable:i,value:t})},hl=e=>{const n=parseFloat(e);return isNaN(n)?e:n},Su=e=>{const n=Ye(e)?Number(e):NaN;return isNaN(n)?e:n};let Mu;const Xo=()=>Mu||(Mu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cr(e){if(fe(e)){const n={};for(let t=0;t<e.length;t++){const i=e[t],o=Ye(i)?Sg(i):Cr(i);if(o)for(const a in o)n[a]=o[a]}return n}else if(Ye(e)||Ue(e))return e}const Cg=/;(?![^(]*\))/g,_g=/:([^]+)/,Eg=/\/\*[^]*?\*\//g;function Sg(e){const n={};return e.replace(Eg,"").split(Cg).forEach(t=>{if(t){const i=t.split(_g);i.length>1&&(n[i[0].trim()]=i[1].trim())}}),n}function R(e){let n="";if(Ye(e))n=e;else if(fe(e))for(let t=0;t<e.length;t++){const i=R(e[t]);i&&(n+=i+" ")}else if(Ue(e))for(const t in e)e[t]&&(n+=t+" ");return n.trim()}const Mg="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Ig="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Tg="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",Og=Wn(Mg),kg=Wn(Ig),xg=Wn(Tg),Rg=Wn("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Iu(e){return!!e||e===""}function Ng(e,n){if(e.length!==n.length)return!1;let t=!0;for(let i=0;t&&i<e.length;i++)t=_r(e[i],n[i]);return t}function _r(e,n){if(e===n)return!0;let t=_u(e),i=_u(n);if(t||i)return t&&i?e.getTime()===n.getTime():!1;if(t=yn(e),i=yn(n),t||i)return e===n;if(t=fe(e),i=fe(n),t||i)return t&&i?Ng(e,n):!1;if(t=Ue(e),i=Ue(n),t||i){if(!t||!i)return!1;const o=Object.keys(e).length,a=Object.keys(n).length;if(o!==a)return!1;for(const r in e){const s=e.hasOwnProperty(r),l=n.hasOwnProperty(r);if(s&&!l||!s&&l||!_r(e[r],n[r]))return!1}}return String(e)===String(n)}function Tu(e,n){return e.findIndex(t=>_r(t,n))}const Ou=e=>!!(e&&e.__v_isRef===!0),Ae=e=>Ye(e)?e:e==null?"":fe(e)||Ue(e)&&(e.toString===Eu||!be(e.toString))?Ou(e)?Ae(e.value):JSON.stringify(e,ku,2):String(e),ku=(e,n)=>Ou(n)?ku(e,n.value):Bi(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((t,[i,o],a)=>(t[pl(i,a)+" =>"]=o,t),{})}:vr(n)?{[`Set(${n.size})`]:[...n.values()].map(t=>pl(t))}:yn(n)?pl(n):Ue(n)&&!fe(n)&&!yr(n)?String(n):n,pl=(e,n="")=>{var t;return yn(e)?`Symbol(${(t=e.description)!=null?t:n})`:e};var Lg={NODE_ENV:'"production"',VERSION:'"6.0.39"',BUILD_DATE:'"2025-08-19T09:30:12.270Z"',BUILD_NUMBER:'"39"',DEV:!1};function Mn(e,...n){console.warn(`[Vue warn] ${e}`,...n)}let Yt;class xu{constructor(n=!1){this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Yt,!n&&Yt&&(this.index=(Yt.scopes||(Yt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let n,t;if(this.scopes)for(n=0,t=this.scopes.length;n<t;n++)this.scopes[n].pause();for(n=0,t=this.effects.length;n<t;n++)this.effects[n].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let n,t;if(this.scopes)for(n=0,t=this.scopes.length;n<t;n++)this.scopes[n].resume();for(n=0,t=this.effects.length;n<t;n++)this.effects[n].resume()}}run(n){if(this._active){const t=Yt;try{return Yt=this,n()}finally{Yt=t}}else Mn("cannot run an inactive effect scope.")}on(){Yt=this}off(){Yt=this.parent}stop(n){if(this._active){this._active=!1;let t,i;for(t=0,i=this.effects.length;t<i;t++)this.effects[t].stop();for(this.effects.length=0,t=0,i=this.cleanups.length;t<i;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,i=this.scopes.length;t<i;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!n){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Pg(e){return new xu(e)}function Dg(){return Yt}let Fe;const ml=new WeakSet;class Ru{constructor(n){this.fn=n,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Yt&&Yt.active&&Yt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ml.has(this)&&(ml.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Lu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,qu(this),Pu(this);const n=Fe,t=An;Fe=this,An=!0;try{return this.fn()}finally{Fe!==this&&Mn("Active effect was not restored correctly - this is likely a Vue internal bug."),Du(this),Fe=n,An=t,this.flags&=-3}}stop(){if(this.flags&1){for(let n=this.deps;n;n=n.nextDep)yl(n);this.deps=this.depsTail=void 0,qu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ml.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){vl(this)&&this.run()}get dirty(){return vl(this)}}let Nu=0,ea,ta;function Lu(e,n=!1){if(e.flags|=8,n){e.next=ta,ta=e;return}e.next=ea,ea=e}function gl(){Nu++}function bl(){if(--Nu>0)return;if(ta){let n=ta;for(ta=void 0;n;){const t=n.next;n.next=void 0,n.flags&=-9,n=t}}let e;for(;ea;){let n=ea;for(ea=void 0;n;){const t=n.next;if(n.next=void 0,n.flags&=-9,n.flags&1)try{n.trigger()}catch(i){e||(e=i)}n=t}}if(e)throw e}function Pu(e){for(let n=e.deps;n;n=n.nextDep)n.version=-1,n.prevActiveLink=n.dep.activeLink,n.dep.activeLink=n}function Du(e){let n,t=e.depsTail,i=t;for(;i;){const o=i.prevDep;i.version===-1?(i===t&&(t=o),yl(i),Fg(i)):n=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=o}e.deps=n,e.depsTail=t}function vl(e){for(let n=e.deps;n;n=n.nextDep)if(n.dep.version!==n.version||n.dep.computed&&(Fu(n.dep.computed)||n.dep.version!==n.version))return!0;return!!e._dirty}function Fu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===na))return;e.globalVersion=na;const n=e.dep;if(e.flags|=2,n.version>0&&!e.isSSR&&e.deps&&!vl(e)){e.flags&=-3;return}const t=Fe,i=An;Fe=e,An=!0;try{Pu(e);const o=e.fn(e._value);(n.version===0||pi(o,e._value))&&(e._value=o,n.version++)}catch(o){throw n.version++,o}finally{Fe=t,An=i,Du(e),e.flags&=-3}}function yl(e,n=!1){const{dep:t,prevSub:i,nextSub:o}=e;if(i&&(i.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=i,e.nextSub=void 0),t.subsHead===e&&(t.subsHead=o),t.subs===e&&(t.subs=i,!i&&t.computed)){t.computed.flags&=-5;for(let a=t.computed.deps;a;a=a.nextDep)yl(a,!0)}!n&&!--t.sc&&t.map&&t.map.delete(t.key)}function Fg(e){const{prevDep:n,nextDep:t}=e;n&&(n.nextDep=t,e.prevDep=void 0),t&&(t.prevDep=n,e.nextDep=void 0)}let An=!0;const Bu=[];function Yn(){Bu.push(An),An=!1}function Gn(){const e=Bu.pop();An=e===void 0?!0:e}function qu(e){const{cleanup:n}=e;if(e.cleanup=void 0,n){const t=Fe;Fe=void 0;try{n()}finally{Fe=t}}}let na=0;class Bg{constructor(n,t){this.sub=n,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Al{constructor(n){this.computed=n,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.subsHead=void 0}track(n){if(!Fe||!An||Fe===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==Fe)t=this.activeLink=new Bg(Fe,this),Fe.deps?(t.prevDep=Fe.depsTail,Fe.depsTail.nextDep=t,Fe.depsTail=t):Fe.deps=Fe.depsTail=t,Uu(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){const i=t.nextDep;i.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=i),t.prevDep=Fe.depsTail,t.nextDep=void 0,Fe.depsTail.nextDep=t,Fe.depsTail=t,Fe.deps===t&&(Fe.deps=i)}return Fe.onTrack&&Fe.onTrack(nt({effect:Fe},n)),t}trigger(n){this.version++,na++,this.notify(n)}notify(n){gl();try{if(Lg.NODE_ENV!=="production")for(let t=this.subsHead;t;t=t.nextSub)t.sub.onTrigger&&!(t.sub.flags&8)&&t.sub.onTrigger(nt({effect:t.sub},n));for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{bl()}}}function Uu(e){if(e.dep.sc++,e.sub.flags&4){const n=e.dep.computed;if(n&&!e.dep.subs){n.flags|=20;for(let i=n.deps;i;i=i.nextDep)Uu(i)}const t=e.dep.subs;t!==e&&(e.prevSub=t,t&&(t.nextSub=e)),e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const wl=new WeakMap,$i=Symbol("Object iterate"),Cl=Symbol("Map keys iterate"),ia=Symbol("Array iterate");function bt(e,n,t){if(An&&Fe){let i=wl.get(e);i||wl.set(e,i=new Map);let o=i.get(t);o||(i.set(t,o=new Al),o.map=i,o.key=t),o.track({target:e,type:n,key:t})}}function In(e,n,t,i,o,a){const r=wl.get(e);if(!r){na++;return}const s=l=>{l&&l.trigger({target:e,type:n,key:t,newValue:i,oldValue:o,oldTarget:a})};if(gl(),n==="clear")r.forEach(s);else{const l=fe(e),c=l&&dl(t);if(l&&t==="length"){const u=Number(i);r.forEach((f,d)=>{(d==="length"||d===ia||!yn(d)&&d>=u)&&s(f)})}else switch((t!==void 0||r.has(void 0))&&s(r.get(t)),c&&s(r.get(ia)),n){case"add":l?c&&s(r.get("length")):(s(r.get($i)),Bi(e)&&s(r.get(Cl)));break;case"delete":l||(s(r.get($i)),Bi(e)&&s(r.get(Cl)));break;case"set":Bi(e)&&s(r.get($i));break}}bl()}function ho(e){const n=Ie(e);return n===e?n:(bt(n,"iterate",ia),sn(e)?n:n.map(St))}function Er(e){return bt(e=Ie(e),"iterate",ia),e}const qg={__proto__:null,[Symbol.iterator](){return _l(this,Symbol.iterator,St)},concat(...e){return ho(this).concat(...e.map(n=>fe(n)?ho(n):n))},entries(){return _l(this,"entries",e=>(e[1]=St(e[1]),e))},every(e,n){return Qn(this,"every",e,n,void 0,arguments)},filter(e,n){return Qn(this,"filter",e,n,t=>t.map(St),arguments)},find(e,n){return Qn(this,"find",e,n,St,arguments)},findIndex(e,n){return Qn(this,"findIndex",e,n,void 0,arguments)},findLast(e,n){return Qn(this,"findLast",e,n,St,arguments)},findLastIndex(e,n){return Qn(this,"findLastIndex",e,n,void 0,arguments)},forEach(e,n){return Qn(this,"forEach",e,n,void 0,arguments)},includes(...e){return El(this,"includes",e)},indexOf(...e){return El(this,"indexOf",e)},join(e){return ho(this).join(e)},lastIndexOf(...e){return El(this,"lastIndexOf",e)},map(e,n){return Qn(this,"map",e,n,void 0,arguments)},pop(){return oa(this,"pop")},push(...e){return oa(this,"push",e)},reduce(e,...n){return $u(this,"reduce",e,n)},reduceRight(e,...n){return $u(this,"reduceRight",e,n)},shift(){return oa(this,"shift")},some(e,n){return Qn(this,"some",e,n,void 0,arguments)},splice(...e){return oa(this,"splice",e)},toReversed(){return ho(this).toReversed()},toSorted(e){return ho(this).toSorted(e)},toSpliced(...e){return ho(this).toSpliced(...e)},unshift(...e){return oa(this,"unshift",e)},values(){return _l(this,"values",St)}};function _l(e,n,t){const i=Er(e),o=i[n]();return i!==e&&!sn(e)&&(o._next=o.next,o.next=()=>{const a=o._next();return a.value&&(a.value=t(a.value)),a}),o}const Ug=Array.prototype;function Qn(e,n,t,i,o,a){const r=Er(e),s=r!==e&&!sn(e),l=r[n];if(l!==Ug[n]){const f=l.apply(e,a);return s?St(f):f}let c=t;r!==e&&(s?c=function(f,d){return t.call(this,St(f),d,e)}:t.length>2&&(c=function(f,d){return t.call(this,f,d,e)}));const u=l.call(r,c,i);return s&&o?o(u):u}function $u(e,n,t,i){const o=Er(e);let a=t;return o!==e&&(sn(e)?t.length>3&&(a=function(r,s,l){return t.call(this,r,s,l,e)}):a=function(r,s,l){return t.call(this,r,St(s),l,e)}),o[n](a,...i)}function El(e,n,t){const i=Ie(e);bt(i,"iterate",ia);const o=i[n](...t);return(o===-1||o===!1)&&Or(t[0])?(t[0]=Ie(t[0]),i[n](...t)):o}function oa(e,n,t=[]){Yn(),gl();const i=Ie(e)[n].apply(e,t);return bl(),Gn(),i}const $g=Wn("__proto__,__v_isRef,__isVue"),ju=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(yn));function jg(e){yn(e)||(e=String(e));const n=Ie(this);return bt(n,"has",e),n.hasOwnProperty(e)}class zu{constructor(n=!1,t=!1){this._isReadonly=n,this._isShallow=t}get(n,t,i){if(t==="__v_skip")return n.__v_skip;const o=this._isReadonly,a=this._isShallow;if(t==="__v_isReactive")return!o;if(t==="__v_isReadonly")return o;if(t==="__v_isShallow")return a;if(t==="__v_raw")return i===(o?a?Ku:Qu:a?Gu:Yu).get(n)||Object.getPrototypeOf(n)===Object.getPrototypeOf(i)?n:void 0;const r=fe(n);if(!o){let l;if(r&&(l=qg[t]))return l;if(t==="hasOwnProperty")return jg}const s=Reflect.get(n,t,Ge(n)?n:i);return(yn(t)?ju.has(t):$g(t))||(o||bt(n,"get",t),a)?s:Ge(s)?r&&dl(t)?s:s.value:Ue(s)?o?Zu(s):Nt(s):s}}class Vu extends zu{constructor(n=!1){super(!1,n)}set(n,t,i,o){let a=n[t];if(!this._isShallow){const l=mi(a);if(!sn(i)&&!mi(i)&&(a=Ie(a),i=Ie(i)),!fe(n)&&Ge(a)&&!Ge(i))return l?!1:(a.value=i,!0)}const r=fe(n)&&dl(t)?Number(t)<n.length:Oe(n,t),s=Reflect.set(n,t,i,Ge(n)?n:o);return n===Ie(o)&&(r?pi(i,a)&&In(n,"set",t,i,a):In(n,"add",t,i)),s}deleteProperty(n,t){const i=Oe(n,t),o=n[t],a=Reflect.deleteProperty(n,t);return a&&i&&In(n,"delete",t,void 0,o),a}has(n,t){const i=Reflect.has(n,t);return(!yn(t)||!ju.has(t))&&bt(n,"has",t),i}ownKeys(n){return bt(n,"iterate",fe(n)?"length":$i),Reflect.ownKeys(n)}}class Hu extends zu{constructor(n=!1){super(!0,n)}set(n,t){return Mn(`Set operation on key "${String(t)}" failed: target is readonly.`,n),!0}deleteProperty(n,t){return Mn(`Delete operation on key "${String(t)}" failed: target is readonly.`,n),!0}}const zg=new Vu,Vg=new Hu,Hg=new Vu(!0),Wg=new Hu(!0),Sl=e=>e,Sr=e=>Reflect.getPrototypeOf(e);function Yg(e,n,t){return function(...i){const o=this.__v_raw,a=Ie(o),r=Bi(a),s=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=o[e](...i),u=t?Sl:n?Ml:St;return!n&&bt(a,"iterate",l?Cl:$i),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:s?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Mr(e){return function(...n){{const t=n[0]?`on key "${n[0]}" `:"";Mn(`${qi(e)} operation ${t}failed: target is readonly.`,Ie(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Gg(e,n){const t={get(o){const a=this.__v_raw,r=Ie(a),s=Ie(o);e||(pi(o,s)&&bt(r,"get",o),bt(r,"get",s));const{has:l}=Sr(r),c=n?Sl:e?Ml:St;if(l.call(r,o))return c(a.get(o));if(l.call(r,s))return c(a.get(s));a!==r&&a.get(o)},get size(){const o=this.__v_raw;return!e&&bt(Ie(o),"iterate",$i),Reflect.get(o,"size",o)},has(o){const a=this.__v_raw,r=Ie(a),s=Ie(o);return e||(pi(o,s)&&bt(r,"has",o),bt(r,"has",s)),o===s?a.has(o):a.has(o)||a.has(s)},forEach(o,a){const r=this,s=r.__v_raw,l=Ie(s),c=n?Sl:e?Ml:St;return!e&&bt(l,"iterate",$i),s.forEach((u,f)=>o.call(a,c(u),c(f),r))}};return nt(t,e?{add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear")}:{add(o){!n&&!sn(o)&&!mi(o)&&(o=Ie(o));const a=Ie(this);return Sr(a).has.call(a,o)||(a.add(o),In(a,"add",o,o)),this},set(o,a){!n&&!sn(a)&&!mi(a)&&(a=Ie(a));const r=Ie(this),{has:s,get:l}=Sr(r);let c=s.call(r,o);c?Wu(r,s,o):(o=Ie(o),c=s.call(r,o));const u=l.call(r,o);return r.set(o,a),c?pi(a,u)&&In(r,"set",o,a,u):In(r,"add",o,a),this},delete(o){const a=Ie(this),{has:r,get:s}=Sr(a);let l=r.call(a,o);l?Wu(a,r,o):(o=Ie(o),l=r.call(a,o));const c=s?s.call(a,o):void 0,u=a.delete(o);return l&&In(a,"delete",o,void 0,c),u},clear(){const o=Ie(this),a=o.size!==0,r=Bi(o)?new Map(o):new Set(o),s=o.clear();return a&&In(o,"clear",void 0,void 0,r),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=Yg(o,e,n)}),t}function Ir(e,n){const t=Gg(e,n);return(i,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?i:Reflect.get(Oe(t,o)&&o in i?t:i,o,a)}const Qg={get:Ir(!1,!1)},Kg={get:Ir(!1,!0)},Zg={get:Ir(!0,!1)},Jg={get:Ir(!0,!0)};function Wu(e,n,t){const i=Ie(t);if(i!==t&&n.call(e,i)){const o=ul(e);Mn(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Yu=new WeakMap,Gu=new WeakMap,Qu=new WeakMap,Ku=new WeakMap;function Xg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function eb(e){return e.__v_skip||!Object.isExtensible(e)?0:Xg(ul(e))}function Nt(e){return mi(e)?e:Tr(e,!1,zg,Qg,Yu)}function tb(e){return Tr(e,!1,Hg,Kg,Gu)}function Zu(e){return Tr(e,!0,Vg,Zg,Qu)}function Tn(e){return Tr(e,!0,Wg,Jg,Ku)}function Tr(e,n,t,i,o){if(!Ue(e))return Mn(`value cannot be made ${n?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(n&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const r=eb(e);if(r===0)return e;const s=new Proxy(e,r===2?i:t);return o.set(e,s),s}function ji(e){return mi(e)?ji(e.__v_raw):!!(e&&e.__v_isReactive)}function mi(e){return!!(e&&e.__v_isReadonly)}function sn(e){return!!(e&&e.__v_isShallow)}function Or(e){return e?!!e.__v_raw:!1}function Ie(e){const n=e&&e.__v_raw;return n?Ie(n):e}function nb(e){return!Oe(e,"__v_skip")&&Object.isExtensible(e)&&wr(e,"__v_skip",!0),e}const St=e=>Ue(e)?Nt(e):e,Ml=e=>Ue(e)?Zu(e):e;function Ge(e){return e?e.__v_isRef===!0:!1}function Z(e){return Ju(e,!1)}function ib(e){return Ju(e,!0)}function Ju(e,n){return Ge(e)?e:new ob(e,n)}class ob{constructor(n,t){this.dep=new Al,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?n:Ie(n),this._value=t?n:St(n),this.__v_isShallow=t}get value(){return this.dep.track({target:this,type:"get",key:"value"}),this._value}set value(n){const t=this._rawValue,i=this.__v_isShallow||sn(n)||mi(n);n=i?n:Ie(n),pi(n,t)&&(this._rawValue=n,this._value=i?n:St(n),this.dep.trigger({target:this,type:"set",key:"value",newValue:n,oldValue:t}))}}function Ne(e){return Ge(e)?e.value:e}const ab={get:(e,n,t)=>n==="__v_raw"?e:Ne(Reflect.get(e,n,t)),set:(e,n,t,i)=>{const o=e[n];return Ge(o)&&!Ge(t)?(o.value=t,!0):Reflect.set(e,n,t,i)}};function Xu(e){return ji(e)?e:new Proxy(e,ab)}class rb{constructor(n,t,i){this.fn=n,this.setter=t,this._value=void 0,this.dep=new Al(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=na-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&Fe!==this)return Lu(this,!0),!0}get value(){const n=this.dep.track({target:this,type:"get",key:"value"});return Fu(this),n&&(n.version=this.dep.version),this._value}set value(n){this.setter?this.setter(n):Mn("Write operation failed: computed value is readonly")}}function sb(e,n,t=!1){let i,o;return be(e)?i=e:(i=e.get,o=e.set),new rb(i,o,t)}const kr={},xr=new WeakMap;let zi;function lb(e,n=!1,t=zi){if(t){let i=xr.get(t);i||xr.set(t,i=[]),i.push(e)}else n||Mn("onWatcherCleanup() was called when there was no active watcher to associate with.")}function cb(e,n,t=qe){const{immediate:i,deep:o,once:a,scheduler:r,augmentJob:s,call:l}=t,c=M=>{(t.onWarn||Mn)("Invalid watch source: ",M,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=M=>o?M:sn(M)||o===!1||o===0?Kn(M,1):Kn(M);let f,d,p,h,b=!1,y=!1;if(Ge(e)?(d=()=>e.value,b=sn(e)):ji(e)?(d=()=>u(e),b=!0):fe(e)?(y=!0,b=e.some(M=>ji(M)||sn(M)),d=()=>e.map(M=>{if(Ge(M))return M.value;if(ji(M))return u(M);if(be(M))return l?l(M,2):M();c(M)})):be(e)?n?d=l?()=>l(e,2):e:d=()=>{if(p){Yn();try{p()}finally{Gn()}}const M=zi;zi=f;try{return l?l(e,3,[h]):e(h)}finally{zi=M}}:(d=Et,c(e)),n&&o){const M=d,U=o===!0?1/0:o;d=()=>Kn(M(),U)}const g=Dg(),C=()=>{f.stop(),g&&g.active&&cl(g.effects,f)};if(a&&n){const M=n;n=(...U)=>{M(...U),C()}}let E=y?new Array(e.length).fill(kr):kr;const x=M=>{if(!(!(f.flags&1)||!f.dirty&&!M))if(n){const U=f.run();if(o||b||(y?U.some((N,K)=>pi(N,E[K])):pi(U,E))){p&&p();const N=zi;zi=f;try{const K=[U,E===kr?void 0:y&&E[0]===kr?[]:E,h];l?l(n,3,K):n(...K),E=U}finally{zi=N}}}else f.run()};return s&&s(x),f=new Ru(d),f.scheduler=r?()=>r(x,!1):x,h=M=>lb(M,!1,f),p=f.onStop=()=>{const M=xr.get(f);if(M){if(l)l(M,4);else for(const U of M)U();xr.delete(f)}},f.onTrack=t.onTrack,f.onTrigger=t.onTrigger,n?i?x(!0):E=f.run():r?r(x.bind(null,!0),!0):f.run(),C.pause=f.pause.bind(f),C.resume=f.resume.bind(f),C.stop=C,C}function Kn(e,n=1/0,t){if(n<=0||!Ue(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),n--,Ge(e))Kn(e.value,n,t);else if(fe(e))for(let i=0;i<e.length;i++)Kn(e[i],n,t);else if(vr(e)||Bi(e))e.forEach(i=>{Kn(i,n,t)});else if(yr(e)){for(const i in e)Kn(e[i],n,t);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&Kn(e[i],n,t)}return e}var gi={NODE_ENV:'"production"',VERSION:'"6.0.39"',BUILD_DATE:'"2025-08-19T09:30:12.270Z"',BUILD_NUMBER:'"39"',DEV:!1};const Vi=[];function Rr(e){Vi.push(e)}function Nr(){Vi.pop()}let Il=!1;function J(e,...n){if(Il)return;Il=!0,Yn();const t=Vi.length?Vi[Vi.length-1].component:null,i=t&&t.appContext.config.warnHandler,o=fb();if(i)po(i,t,11,[e+n.map(a=>{var r,s;return(s=(r=a.toString)==null?void 0:r.call(a))!=null?s:JSON.stringify(a)}).join(""),t&&t.proxy,o.map(({vnode:a})=>`at <${Kr(t,a.type)}>`).join(` `),o]);else{const a=[`[Vue warn]: ${e}`,...n];o.length&&a.push(` `,...ub(o)),console.warn(...a)}Gn(),Il=!1}function fb(){let e=Vi[Vi.length-1];if(!e)return[];const n=[];for(;e;){const t=n[0];t&&t.vnode===e?t.recurseCount++:n.push({vnode:e,recurseCount:0});const i=e.component&&e.component.parent;e=i&&i.vnode}return n}function ub(e){const n=[];return e.forEach((t,i)=>{n.push(...i===0?[]:[` `],...db(t))}),n}function db({vnode:e,recurseCount:n}){const t=n>0?`... (${n} recursive calls)`:"",i=e.component?e.component.parent==null:!1,o=` at <${Kr(e.component,e.type,i)}`,a=">"+t;return e.props?[o,...hb(e.props),a]:[o+a]}function hb(e){const n=[],t=Object.keys(e);return t.slice(0,3).forEach(i=>{n.push(...ed(i,e[i]))}),t.length>3&&n.push(" ..."),n}function ed(e,n,t){return Ye(n)?(n=JSON.stringify(n),t?n:[`${e}=${n}`]):typeof n=="number"||typeof n=="boolean"||n==null?t?n:[`${e}=${n}`]:Ge(n)?(n=ed(e,Ie(n.value),!0),t?n:[`${e}=Ref<`,n,">"]):be(n)?[`${e}=fn${n.name?`<${n.name}>`:""}`]:(n=Ie(n),t?n:[`${e}=`,n])}const Tl={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function po(e,n,t,i){try{return i?e(...i):e()}catch(o){aa(o,n,t)}}function On(e,n,t,i){if(be(e)){const o=po(e,n,t,i);return o&&fl(o)&&o.catch(a=>{aa(a,n,t)}),o}if(fe(e)){const o=[];for(let a=0;a<e.length;a++)o.push(On(e[a],n,t,i));return o}else J(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function aa(e,n,t,i=!0){const o=n?n.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:r}=n&&n.appContext.config||qe;if(n){let s=n.parent;const l=n.proxy,c=Tl[t];for(;s;){const u=s.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}s=s.parent}if(a){Yn(),po(a,null,10,[e,l,c]),Gn();return}}pb(e,t,o,i,r)}function pb(e,n,t,i=!0,o=!1){{const a=Tl[n];if(t&&Rr(t),J(`Unhandled error${a?` during execution of ${a}`:""}`),t&&Nr(),i)throw e;console.error(e)}}const Lt=[];let kn=-1;const mo=[];let bi=null,go=0;const td=Promise.resolve();let Lr=null;const mb=100;function Pr(e){const n=Lr||td;return e?n.then(this?e.bind(this):e):n}function gb(e){let n=kn+1,t=Lt.length;for(;n<t;){const i=n+t>>>1,o=Lt[i],a=ra(o);a<e||a===e&&o.flags&2?n=i+1:t=i}return n}function Dr(e){if(!(e.flags&1)){const n=ra(e),t=Lt[Lt.length-1];!t||!(e.flags&2)&&n>=ra(t)?Lt.push(e):Lt.splice(gb(n),0,e),e.flags|=1,nd()}}function nd(){Lr||(Lr=td.then(rd))}function id(e){fe(e)?mo.push(...e):bi&&e.id===-1?bi.splice(go+1,0,e):e.flags&1||(mo.push(e),e.flags|=1),nd()}function od(e,n,t=kn+1){for(n=n||new Map;t<Lt.length;t++){const i=Lt[t];if(i&&i.flags&2){if(e&&i.id!==e.uid||Ol(n,i))continue;Lt.splice(t,1),t--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function ad(e){if(mo.length){const n=[...new Set(mo)].sort((t,i)=>ra(t)-ra(i));if(mo.length=0,bi){bi.push(...n);return}for(bi=n,e=e||new Map,go=0;go<bi.length;go++){const t=bi[go];Ol(e,t)||(t.flags&4&&(t.flags&=-2),t.flags&8||t(),t.flags&=-2)}bi=null,go=0}}const ra=e=>e.id==null?e.flags&2?-1:1/0:e.id;function rd(e){e=e||new Map;const n=t=>Ol(e,t);try{for(kn=0;kn<Lt.length;kn++){const t=Lt[kn];if(t&&!(t.flags&8)){if(gi.NODE_ENV!=="production"&&n(t))continue;t.flags&4&&(t.flags&=-2),po(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2)}}}finally{for(;kn<Lt.length;kn++){const t=Lt[kn];t&&(t.flags&=-2)}kn=-1,Lt.length=0,ad(e),Lr=null,(Lt.length||mo.length)&&rd(e)}}function Ol(e,n){const t=e.get(n)||0;if(t>mb){const i=n.i,o=i&&Jl(i.type);return aa(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(n,t+1),!1}let xn=!1;const Fr=new Map;Xo().__VUE_HMR_RUNTIME__={createRecord:kl(sd),rerender:kl(yb),reload:kl(Ab)};const Hi=new Map;function bb(e){const n=e.type.__hmrId;let t=Hi.get(n);t||(sd(n,e.type),t=Hi.get(n)),t.instances.add(e)}function vb(e){Hi.get(e.type.__hmrId).instances.delete(e)}function sd(e,n){return Hi.has(e)?!1:(Hi.set(e,{initialDef:Br(n),instances:new Set}),!0)}function Br(e){return r0(e)?e.__vccOpts:e}function yb(e,n){const t=Hi.get(e);t&&(t.initialDef.render=n,[...t.instances].forEach(i=>{n&&(i.render=n,Br(i.type).render=n),i.renderCache=[],xn=!0,i.update(),xn=!1}))}function Ab(e,n){const t=Hi.get(e);if(!t)return;n=Br(n),ld(t.initialDef,n);const i=[...t.instances];for(let o=0;o<i.length;o++){const a=i[o],r=Br(a.type);let s=Fr.get(r);s||(r!==t.initialDef&&ld(r,n),Fr.set(r,s=new Set)),s.add(a),a.appContext.propsCache.delete(a.type),a.appContext.emitsCache.delete(a.type),a.appContext.optionsCache.delete(a.type),a.ceReload?(s.add(a),a.ceReload(n.styles),s.delete(a)):a.parent?Dr(()=>{xn=!0,a.parent.update(),xn=!1,s.delete(a)}):a.appContext.reload?a.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),a.root.ce&&a!==a.root&&a.root.ce._removeChildStyle(r)}id(()=>{Fr.clear()})}function ld(e,n){nt(e,n);for(const t in e)t!=="__file"&&!(t in n)&&delete e[t]}function kl(e){return(n,t)=>{try{return e(n,t)}catch(i){console.error(i),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Rn,sa=[],xl=!1;function la(e,...n){Rn?Rn.emit(e,...n):xl||sa.push({event:e,args:n})}function cd(e,n){var t,i;Rn=e,Rn?(Rn.enabled=!0,sa.forEach(({event:o,args:a})=>Rn.emit(o,...a)),sa=[]):typeof window<"u"&&window.HTMLElement&&!((i=(t=window.navigator)==null?void 0:t.userAgent)!=null&&i.includes("jsdom"))?((n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{cd(a,n)}),setTimeout(()=>{Rn||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,xl=!0,sa=[])},3e3)):(xl=!0,sa=[])}function wb(e,n){la("app:init",e,n,{Fragment:rt,Text:Co,Comment:jt,Static:ha})}function Cb(e){la("app:unmount",e)}const _b=Rl("component:added"),fd=Rl("component:updated"),Eb=Rl("component:removed"),Sb=e=>{Rn&&typeof Rn.cleanupBuffer=="function"&&!Rn.cleanupBuffer(e)&&Eb(e)};/*! #__NO_SIDE_EFFECTS__ */function Rl(e){return n=>{la(e,n.appContext.app,n.uid,n.parent?n.parent.uid:void 0,n)}}const Mb=ud("perf:start"),Ib=ud("perf:end");function ud(e){return(n,t,i)=>{la(e,n.appContext.app,n.uid,n,t,i)}}function Tb(e,n,t){la("component:emit",e.appContext.app,e,n,t)}let lt=null,dd=null;function qr(e){const n=lt;return lt=e,dd=e&&e.type.__scopeId||null,n}function Gt(e,n=lt,t){if(!n||e._n)return e;const i=(...o)=>{i._d&&Zd(-1);const a=qr(n);let r;try{r=e(...o)}finally{qr(a),i._d&&Zd(1)}return fd(n),r};return i._n=!0,i._c=!0,i._d=!0,i}function hd(e){yg(e)&&J("Do not use built-in directive ids as custom directive id: "+e)}function Zn(e,n){if(lt===null)return J("withDirectives can only be used inside render functions."),e;const t=Qr(lt),i=e.dirs||(e.dirs=[]);for(let o=0;o<n.length;o++){let[a,r,s,l=qe]=n[o];a&&(be(a)&&(a={mounted:a,updated:a}),a.deep&&Kn(r),i.push({dir:a,instance:t,value:r,oldValue:void 0,arg:s,modifiers:l}))}return e}function Wi(e,n,t,i){const o=e.dirs,a=n&&n.dirs;for(let r=0;r<o.length;r++){const s=o[r];a&&(s.oldValue=a[r].value);let l=s.dir[i];l&&(Yn(),On(l,t,8,[e.el,s,e,n]),Gn())}}const Ob=Symbol("_vte"),kb=e=>e.__isTeleport;function Nl(e,n){e.shapeFlag&6&&e.component?(e.transition=n,Nl(e.component.subTree,n)):e.shapeFlag&128?(e.ssContent.transition=n.clone(e.ssContent),e.ssFallback.transition=n.clone(e.ssFallback)):e.transition=n}/*! #__NO_SIDE_EFFECTS__ */function Ve(e,n){return be(e)?nt({name:e.name},n,{setup:e}):e}function pd(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const xb=new WeakSet;function Ur(e,n,t,i,o=!1){if(fe(e)){e.forEach((h,b)=>Ur(h,n&&(fe(n)?n[b]:n),t,i,o));return}if(bo(i)&&!o){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Ur(e,n,t,i.component.subTree);return}const a=i.shapeFlag&4?Qr(i.component):i.el,r=o?null:a,{i:s,r:l}=e;if(!s){J("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=n&&n.r,u=s.refs===qe?s.refs={}:s.refs,f=s.setupState,d=Ie(f),p=f===qe?()=>!1:h=>(Oe(d,h)&&!Ge(d[h])&&J(`Template ref "${h}" used on a non-ref value. It will not work in the production build.`),xb.has(d[h])?!1:Oe(d,h));if(c!=null&&c!==l&&(Ye(c)?(u[c]=null,p(c)&&(f[c]=null)):Ge(c)&&(c.value=null)),be(l))po(l,s,12,[r,u]);else{const h=Ye(l),b=Ge(l);if(h||b){const y=()=>{if(e.f){const g=h?p(l)?f[l]:u[l]:l.value;o?fe(g)&&cl(g,a):fe(g)?g.includes(a)||g.push(a):h?(u[l]=[a],p(l)&&(f[l]=u[l])):(l.value=[a],e.k&&(u[e.k]=l.value))}else h?(u[l]=r,p(l)&&(f[l]=r)):b?(l.value=r,e.k&&(u[e.k]=r)):J("Invalid template ref type:",l,`(${typeof l})`)};r?(y.id=-1,Qt(y,t)):y()}else J("Invalid template ref type:",l,`(${typeof l})`)}}Xo().requestIdleCallback,Xo().cancelIdleCallback;const bo=e=>!!e.type.__asyncLoader,Ll=e=>e.type.__isKeepAlive;function md(e,n){gd(e,"a",n)}function Pl(e,n){gd(e,"da",n)}function gd(e,n,t=dt){const i=e.__wdc||(e.__wdc=()=>{let o=t;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if($r(n,i,t),t){let o=t.parent;for(;o&&o.parent;)Ll(o.parent.vnode)&&Rb(i,n,t,o),o=o.parent}}function Rb(e,n,t,i){const o=$r(n,e,i,!0);vo(()=>{cl(i[n],o)},t)}function $r(e,n,t=dt,i=!1){if(t){const o=t[e]||(t[e]=[]),a=n.__weh||(n.__weh=(...r)=>{Yn();const s=ba(t),l=On(n,t,e,r);return s(),Gn(),l});return i?o.unshift(a):o.push(a),a}else{const o=Ui(Tl[e].replace(/ hook$/,""));J(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Jn=e=>(n,t=dt)=>{(!va||e==="sp")&&$r(e,(...i)=>n(...i),t)},Mt=Jn("bm"),Xn=Jn("m"),Nb=Jn("bu"),Lb=Jn("u"),bd=Jn("bum"),vo=Jn("um"),Pb=Jn("sp"),Db=Jn("rtg"),Fb=Jn("rtc");function Bb(e,n=dt){$r("ec",e,n)}const jr="components",qb="directives";function le(e,n){return Dl(jr,e,!0,n)||e}const vd=Symbol.for("v-ndc");function Ub(e){return Ye(e)?Dl(jr,e,!1)||e:e||vd}function ca(e){return Dl(qb,e)}function Dl(e,n,t=!0,i=!1){const o=lt||dt;if(o){const a=o.type;if(e===jr){const s=Jl(a,!1);if(s&&(s===n||s===gt(n)||s===qi(gt(n))))return a}const r=yd(o[e]||a[e],n)||yd(o.appContext[e],n);if(!r&&i)return a;if(t&&!r){const s=e===jr?` If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";J(`Failed to resolve ${e.slice(0,-1)}: ${n}${s}`)}return r}else J(`resolve${qi(e.slice(0,-1))} can only be used in render() or setup().`)}function yd(e,n){return e&&(e[n]||e[gt(n)]||e[qi(gt(n))])}function $b(e,n,t,i){let o;const a=t,r=fe(e);if(r||Ye(e)){const s=r&&ji(e);let l=!1;s&&(l=!sn(e),e=Er(e)),o=new Array(e.length);for(let c=0,u=e.length;c<u;c++)o[c]=n(l?St(e[c]):e[c],c,void 0,a)}else if(typeof e=="number"){Number.isInteger(e)||J(`The v-for range expect an integer value but got ${e}.`),o=new Array(e);for(let s=0;s<e;s++)o[s]=n(s+1,s,void 0,a)}else if(Ue(e))if(e[Symbol.iterator])o=Array.from(e,(s,l)=>n(s,l,void 0,a));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,c=s.length;l<c;l++){const u=s[l];o[l]=n(e[u],u,l,a)}}else o=[];return o}function fa(e,n,t={},i,o){if(lt.ce||lt.parent&&bo(lt.parent)&<.parent.ce)return n!=="default"&&(t.name=n),k(),Se(rt,null,[de("slot",t,i)],64);let a=e[n];a&&a.length>1&&(J("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),a=()=>[]),a&&a._c&&(a._d=!1),k();const r=a&&Ad(a(t)),s=t.key||r&&r.key,l=Se(rt,{key:(s&&!yn(s)?s:`_${n}`)+""},r||[],r&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),a&&a._c&&(a._d=!0),l}function Ad(e){return e.some(n=>Qi(n)?!(n.type===jt||n.type===rt&&!Ad(n.children)):!0)?e:null}const Fl=e=>e?i0(e)?Qr(e):Fl(e.parent):null,Yi=nt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Tn(e.props),$attrs:e=>Tn(e.attrs),$slots:e=>Tn(e.slots),$refs:e=>Tn(e.refs),$parent:e=>Fl(e.parent),$root:e=>Fl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Sd(e),$forceUpdate:e=>e.f||(e.f=()=>{Dr(e.update)}),$nextTick:e=>e.n||(e.n=Pr.bind(e.proxy)),$watch:e=>yv.bind(e)}),Bl=e=>e==="_"||e==="$",ql=(e,n)=>e!==qe&&!e.__isScriptSetup&&Oe(e,n),wd={get({_:e},n){if(n==="__v_skip")return!0;const{ctx:t,setupState:i,data:o,props:a,accessCache:r,type:s,appContext:l}=e;if(n==="__isVue")return!0;let c;if(n[0]!=="$"){const p=r[n];if(p!==void 0)switch(p){case 1:return i[n];case 2:return o[n];case 4:return t[n];case 3:return a[n]}else{if(ql(i,n))return r[n]=1,i[n];if(o!==qe&&Oe(o,n))return r[n]=2,o[n];if((c=e.propsOptions[0])&&Oe(c,n))return r[n]=3,a[n];if(t!==qe&&Oe(t,n))return r[n]=4,t[n];Ul&&(r[n]=0)}}const u=Yi[n];let f,d;if(u)return n==="$attrs"?(bt(e.attrs,"get",""),Wr()):n==="$slots"&&bt(e,"get",n),u(e);if((f=s.__cssModules)&&(f=f[n]))return f;if(t!==qe&&Oe(t,n))return r[n]=4,t[n];if(d=l.config.globalProperties,Oe(d,n))return d[n];lt&&(!Ye(n)||n.indexOf("__v")!==0)&&(o!==qe&&Bl(n[0])&&Oe(o,n)?J(`Property ${JSON.stringify(n)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===lt&&J(`Property ${JSON.stringify(n)} was accessed during render but is not defined on instance.`))},set({_:e},n,t){const{data:i,setupState:o,ctx:a}=e;return ql(o,n)?(o[n]=t,!0):o.__isScriptSetup&&Oe(o,n)?(J(`Cannot mutate <script setup> binding "${n}" from Options API.`),!1):i!==qe&&Oe(i,n)?(i[n]=t,!0):Oe(e.props,n)?(J(`Attempting to mutate prop "${n}". Props are readonly.`),!1):n[0]==="$"&&n.slice(1)in e?(J(`Attempting to mutate public property "${n}". Properties starting with $ are reserved and readonly.`),!1):(n in e.appContext.config.globalProperties?Object.defineProperty(a,n,{enumerable:!0,configurable:!0,value:t}):a[n]=t,!0)},has({_:{data:e,setupState:n,accessCache:t,ctx:i,appContext:o,propsOptions:a}},r){let s;return!!t[r]||e!==qe&&Oe(e,r)||ql(n,r)||(s=a[0])&&Oe(s,r)||Oe(i,r)||Oe(Yi,r)||Oe(o.config.globalProperties,r)},defineProperty(e,n,t){return t.get!=null?e._.accessCache[n]=0:Oe(t,"value")&&this.set(e,n,t.value,null),Reflect.defineProperty(e,n,t)}};wd.ownKeys=e=>(J("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e));function jb(e){const n={};return Object.defineProperty(n,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(Yi).forEach(t=>{Object.defineProperty(n,t,{configurable:!0,enumerable:!1,get:()=>Yi[t](e),set:Et})}),n}function zb(e){const{ctx:n,propsOptions:[t]}=e;t&&Object.keys(t).forEach(i=>{Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get:()=>e.props[i],set:Et})})}function Vb(e){const{ctx:n,setupState:t}=e;Object.keys(Ie(t)).forEach(i=>{if(!t.__isScriptSetup){if(Bl(i[0])){J(`setup() return property ${JSON.stringify(i)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get:()=>t[i],set:Et})}})}function Cd(e){return fe(e)?e.reduce((n,t)=>(n[t]=null,n),{}):e}function Hb(){const e=Object.create(null);return(n,t)=>{e[t]?J(`${n} property "${t}" is already defined in ${e[t]}.`):e[t]=n}}let Ul=!0;function Wb(e){const n=Sd(e),t=e.proxy,i=e.ctx;Ul=!1,n.beforeCreate&&_d(n.beforeCreate,e,"bc");const{data:o,computed:a,methods:r,watch:s,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:b,deactivated:y,beforeDestroy:g,beforeUnmount:C,destroyed:E,unmounted:x,render:M,renderTracked:U,renderTriggered:N,errorCaptured:K,serverPrefetch:re,expose:W,inheritAttrs:ee,components:he,directives:Be,filters:se}=n,Q=Hb();{const[z]=e.propsOptions;if(z)for(const D in z)Q("Props",D)}if(c&&Yb(c,i,Q),r)for(const z in r){const D=r[z];be(D)?(Object.defineProperty(i,z,{value:D.bind(t),configurable:!0,enumerable:!0,writable:!0}),Q("Methods",z)):J(`Method "${z}" has type "${typeof D}" in the component definition. Did you reference the function correctly?`)}if(o){be(o)||J("The data option must be a function. Plain object usage is no longer supported.");const z=o.call(t,t);if(fl(z)&&J("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Ue(z))J("data() should return an object.");else{e.data=Nt(z);for(const D in z)Q("Data",D),Bl(D[0])||Object.defineProperty(i,D,{configurable:!0,enumerable:!0,get:()=>z[D],set:Et})}}if(Ul=!0,a)for(const z in a){const D=a[z],te=be(D)?D.bind(t,t):be(D.get)?D.get.bind(t,t):Et;te===Et&&J(`Computed property "${z}" has no getter.`);const X=!be(D)&&be(D.set)?D.set.bind(t):()=>{J(`Write operation failed: computed property "${z}" is readonly.`)},me=Y({get:te,set:X});Object.defineProperty(i,z,{enumerable:!0,configurable:!0,get:()=>me.value,set:ge=>me.value=ge}),Q("Computed",z)}if(s)for(const z in s)Ed(s[z],i,t,z);if(l){const z=be(l)?l.call(t):l;Reflect.ownKeys(z).forEach(D=>{$t(D,z[D])})}u&&_d(u,e,"c");function q(z,D){fe(D)?D.forEach(te=>z(te.bind(t))):D&&z(D.bind(t))}if(q(Mt,f),q(Xn,d),q(Nb,p),q(Lb,h),q(md,b),q(Pl,y),q(Bb,K),q(Fb,U),q(Db,N),q(bd,C),q(vo,x),q(Pb,re),fe(W))if(W.length){const z=e.exposed||(e.exposed={});W.forEach(D=>{Object.defineProperty(z,D,{get:()=>t[D],set:te=>t[D]=te})})}else e.exposed||(e.exposed={});M&&e.render===Et&&(e.render=M),ee!=null&&(e.inheritAttrs=ee),he&&(e.components=he),Be&&(e.directives=Be),re&&pd(e)}function Yb(e,n,t=Et){fe(e)&&(e=$l(e));for(const i in e){const o=e[i];let a;Ue(o)?"default"in o?a=ue(o.from||i,o.default,!0):a=ue(o.from||i):a=ue(o),Ge(a)?Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get:()=>a.value,set:r=>a.value=r}):n[i]=a,t("Inject",i)}}function _d(e,n,t){On(fe(e)?e.map(i=>i.bind(n.proxy)):e.bind(n.proxy),n,t)}function Ed(e,n,t,i){let o=i.includes(".")?Vd(t,i):()=>t[i];if(Ye(e)){const a=n[e];be(a)?Kt(o,a):J(`Invalid watch handler specified by key "${e}"`,a)}else if(be(e))Kt(o,e.bind(t));else if(Ue(e))if(fe(e))e.forEach(a=>Ed(a,n,t,i));else{const a=be(e.handler)?e.handler.bind(t):n[e.handler];be(a)?Kt(o,a,e):J(`Invalid watch handler specified by key "${e.handler}"`,a)}else J(`Invalid watch option: "${i}"`,e)}function Sd(e){const n=e.type,{mixins:t,extends:i}=n,{mixins:o,optionsCache:a,config:{optionMergeStrategies:r}}=e.appContext,s=a.get(n);let l;return s?l=s:!o.length&&!t&&!i?l=n:(l={},o.length&&o.forEach(c=>zr(l,c,r,!0)),zr(l,n,r)),Ue(n)&&a.set(n,l),l}function zr(e,n,t,i=!1){const{mixins:o,extends:a}=n;a&&zr(e,a,t,!0),o&&o.forEach(r=>zr(e,r,t,!0));for(const r in n)if(i&&r==="expose")J('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const s=Gb[r]||t&&t[r];e[r]=s?s(e[r],n[r]):n[r]}return e}const Gb={data:Md,props:Id,emits:Id,methods:ua,computed:ua,beforeCreate:Pt,created:Pt,beforeMount:Pt,mounted:Pt,beforeUpdate:Pt,updated:Pt,beforeDestroy:Pt,beforeUnmount:Pt,destroyed:Pt,unmounted:Pt,activated:Pt,deactivated:Pt,errorCaptured:Pt,serverPrefetch:Pt,components:ua,directives:ua,watch:Kb,provide:Md,inject:Qb};function Md(e,n){return n?e?function(){return nt(be(e)?e.call(this,this):e,be(n)?n.call(this,this):n)}:n:e}function Qb(e,n){return ua($l(e),$l(n))}function $l(e){if(fe(e)){const n={};for(let t=0;t<e.length;t++)n[e[t]]=e[t];return n}return e}function Pt(e,n){return e?[...new Set([].concat(e,n))]:n}function ua(e,n){return e?nt(Object.create(null),e,n):n}function Id(e,n){return e?fe(e)&&fe(n)?[...new Set([...e,...n])]:nt(Object.create(null),Cd(e),Cd(n??{})):n}function Kb(e,n){if(!e)return n;if(!n)return e;const t=nt(Object.create(null),e);for(const i in n)t[i]=Pt(e[i],n[i]);return t}function Td(){return{app:null,config:{isNativeTag:bg,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Zb=0;function Jb(e,n){return function(i,o=null){be(i)||(i=nt({},i)),o!=null&&!Ue(o)&&(J("root props passed to app.mount() must be an object."),o=null);const a=Td(),r=new WeakSet,s=[];let l=!1;const c=a.app={_uid:Zb++,_component:i,_props:o,_container:null,_context:a,_instance:null,version:l0,get config(){return a.config},set config(u){J("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return r.has(u)?J("Plugin has already been applied to target app."):u&&be(u.install)?(r.add(u),u.install(c,...f)):be(u)?(r.add(u),u(c,...f)):J('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return a.mixins.includes(u)?J("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):a.mixins.push(u),c},component(u,f){return Zl(u,a.config),f?(a.components[u]&&J(`Component "${u}" has already been registered in target app.`),a.components[u]=f,c):a.components[u]},directive(u,f){return hd(u),f?(a.directives[u]&&J(`Directive "${u}" has already been registered in target app.`),a.directives[u]=f,c):a.directives[u]},mount(u,f,d){if(l)J("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{u.__vue_app__&&J("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const p=c._ceVNode||de(i,o);return p.appContext=a,d===!0?d="svg":d===!1&&(d=void 0),a.reload=()=>{e(yi(p),u,d)},e(p,u,d),l=!0,c._container=u,u.__vue_app__=c,c._instance=p.component,wb(c,l0),Qr(p.component)}},onUnmount(u){typeof u!="function"&&J(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),s.push(u)},unmount(){l?(On(s,c._instance,16),e(null,c._container),c._instance=null,Cb(c),delete c._container.__vue_app__):J("Cannot unmount an app that is not mounted.")},provide(u,f){return u in a.provides&&J(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),a.provides[u]=f,c},runWithContext(u){const f=yo;yo=c;try{return u()}finally{yo=f}}};return c}}let yo=null;function $t(e,n){if(!dt)J("provide() can only be used inside setup().");else{let t=dt.provides;const i=dt.parent&&dt.parent.provides;i===t&&(t=dt.provides=Object.create(i)),t[e]=n}}function ue(e,n,t=!1){const i=dt||lt;if(i||yo){const o=yo?yo._context.provides:i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return t&&be(n)?n.call(i&&i.proxy):n;J(`injection "${String(e)}" not found.`)}else J("inject() can only be used inside setup() or functional components.")}const Od={},kd=()=>Object.create(Od),xd=e=>Object.getPrototypeOf(e)===Od;function Xb(e,n,t,i=!1){const o={},a=kd();e.propsDefaults=Object.create(null),Rd(e,n,o,a);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);Pd(n||{},o,e),t?e.props=i?o:tb(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function ev(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function tv(e,n,t,i){const{props:o,attrs:a,vnode:{patchFlag:r}}=e,s=Ie(o),[l]=e.propsOptions;let c=!1;if(!ev(e)&&(i||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Hr(e.emitsOptions,d))continue;const p=n[d];if(l)if(Oe(a,d))p!==a[d]&&(a[d]=p,c=!0);else{const h=gt(d);o[h]=jl(l,s,h,p,e,!1)}else p!==a[d]&&(a[d]=p,c=!0)}}}else{Rd(e,n,o,a)&&(c=!0);let u;for(const f in s)(!n||!Oe(n,f)&&((u=Ut(f))===f||!Oe(n,u)))&&(l?t&&(t[f]!==void 0||t[u]!==void 0)&&(o[f]=jl(l,s,f,void 0,e,!0)):delete o[f]);if(a!==s)for(const f in a)(!n||!Oe(n,f))&&(delete a[f],c=!0)}c&&In(e.attrs,"set",""),Pd(n||{},o,e)}function Rd(e,n,t,i){const[o,a]=e.propsOptions;let r=!1,s;if(n)for(let l in n){if(Jo(l))continue;const c=n[l];let u;o&&Oe(o,u=gt(l))?!a||!a.includes(u)?t[u]=c:(s||(s={}))[u]=c:Hr(e.emitsOptions,l)||(!(l in i)||c!==i[l])&&(i[l]=c,r=!0)}if(a){const l=Ie(t),c=s||qe;for(let u=0;u<a.length;u++){const f=a[u];t[f]=jl(o,l,f,c[f],e,!Oe(c,f))}}return r}function jl(e,n,t,i,o,a){const r=e[t];if(r!=null){const s=Oe(r,"default");if(s&&i===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&be(l)){const{propsDefaults:c}=o;if(t in c)i=c[t];else{const u=ba(o);i=c[t]=l.call(null,n),u()}}else i=l;o.ce&&o.ce._setProp(t,i)}r[0]&&(a&&!s?i=!1:r[1]&&(i===""||i===Ut(t))&&(i=!0))}return i}const nv=new WeakMap;function Nd(e,n,t=!1){const i=t?nv:n.propsCache,o=i.get(e);if(o)return o;const a=e.props,r={},s=[];let l=!1;if(!be(e)){const u=f=>{l=!0;const[d,p]=Nd(f,n,!0);nt(r,d),p&&s.push(...p)};!t&&n.mixins.length&&n.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return Ue(e)&&i.set(e,fo),fo;if(fe(a))for(let u=0;u<a.length;u++){Ye(a[u])||J("props must be strings when using array syntax.",a[u]);const f=gt(a[u]);Ld(f)&&(r[f]=qe)}else if(a){Ue(a)||J("invalid props options",a);for(const u in a){const f=gt(u);if(Ld(f)){const d=a[u],p=r[f]=fe(d)||be(d)?{type:d}:nt({},d),h=p.type;let b=!1,y=!0;if(fe(h))for(let g=0;g<h.length;++g){const C=h[g],E=be(C)&&C.name;if(E==="Boolean"){b=!0;break}else E==="String"&&(y=!1)}else b=be(h)&&h.name==="Boolean";p[0]=b,p[1]=y,(b||Oe(p,"default"))&&s.push(f)}}}const c=[r,s];return Ue(e)&&i.set(e,c),c}function Ld(e){return e[0]!=="$"&&!Jo(e)?!0:(J(`Invalid prop name: "${e}" is a reserved property.`),!1)}function iv(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Pd(e,n,t){const i=Ie(n),o=t.propsOptions[0],a=Object.keys(e).map(r=>gt(r));for(const r in o){let s=o[r];s!=null&&ov(r,i[r],s,Tn(i),!a.includes(r))}}function ov(e,n,t,i,o){const{type:a,required:r,validator:s,skipCheck:l}=t;if(r&&o){J('Missing required prop: "'+e+'"');return}if(!(n==null&&!r)){if(a!=null&&a!==!0&&!l){let c=!1;const u=fe(a)?a:[a],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:p,expectedType:h}=rv(n,u[d]);f.push(h||""),c=p}if(!c){J(sv(e,n,f));return}}s&&!s(n,i)&&J('Invalid prop: custom validator check failed for prop "'+e+'".')}}const av=Wn("String,Number,Boolean,Function,Symbol,BigInt");function rv(e,n){let t;const i=iv(n);if(i==="null")t=e===null;else if(av(i)){const o=typeof e;t=o===i.toLowerCase(),!t&&o==="object"&&(t=e instanceof n)}else i==="Object"?t=Ue(e):i==="Array"?t=fe(e):t=e instanceof n;return{valid:t,expectedType:i}}function sv(e,n,t){if(t.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let i=`Invalid prop: type check failed for prop "${e}". Expected ${t.map(qi).join(" | ")}`;const o=t[0],a=ul(n),r=Dd(n,o),s=Dd(n,a);return t.length===1&&Fd(o)&&!lv(o,a)&&(i+=` with value ${r}`),i+=`, got ${a} `,Fd(a)&&(i+=`with value ${s}.`),i}function Dd(e,n){return n==="String"?`"${e}"`:n==="Number"?`${Number(e)}`:`${e}`}function Fd(e){return["string","number","boolean"].some(t=>e.toLowerCase()===t)}function lv(...e){return e.some(n=>n.toLowerCase()==="boolean")}const Bd=e=>e[0]==="_"||e==="$stable",zl=e=>fe(e)?e.map(wn):[wn(e)],cv=(e,n,t)=>{if(n._n)return n;const i=Gt((...o)=>(gi.NODE_ENV!=="production"&&dt&&(!t||t.root===dt.root)&&J(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),zl(n(...o))),t);return i._c=!1,i},qd=(e,n,t)=>{const i=e._ctx;for(const o in e){if(Bd(o))continue;const a=e[o];if(be(a))n[o]=cv(o,a,i);else if(a!=null){J(`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`);const r=zl(a);n[o]=()=>r}}},Ud=(e,n)=>{Ll(e.vnode)||J("Non-function value encountered for default slot. Prefer function slots for better performance.");const t=zl(n);e.slots.default=()=>t},Vl=(e,n,t)=>{for(const i in n)(t||i!=="_")&&(e[i]=n[i])},fv=(e,n,t)=>{const i=e.slots=kd();if(e.vnode.shapeFlag&32){const o=n._;o?(Vl(i,n,t),t&&wr(i,"_",o,!0)):qd(n,i)}else n&&Ud(e,n)},uv=(e,n,t)=>{const{vnode:i,slots:o}=e;let a=!0,r=qe;if(i.shapeFlag&32){const s=n._;s?xn?(Vl(o,n,t),In(e,"set","$slots")):t&&s===1?a=!1:Vl(o,n,t):(a=!n.$stable,qd(n,o)),r=n}else n&&(Ud(e,n),r={default:1});if(a)for(const s in o)!Bd(s)&&r[s]==null&&delete o[s]};let da,vi;function Ao(e,n){e.appContext.config.performance&&Vr()&&vi.mark(`vue-${n}-${e.uid}`),Mb(e,n,Vr()?vi.now():Date.now())}function wo(e,n){if(e.appContext.config.performance&&Vr()){const t=`vue-${n}-${e.uid}`,i=t+":end";vi.mark(i),vi.measure(`<${Kr(e,e.type)}> ${n}`,t,i),vi.clearMarks(t),vi.clearMarks(i)}Ib(e,n,Vr()?vi.now():Date.now())}function Vr(){return da!==void 0||(typeof window<"u"&&window.performance?(da=!0,vi=window.performance):da=!1),da}function dv(){const e=[];if(e.length){const n=e.length>1;console.warn(`Feature flag${n?"s":""} ${e.join(", ")} ${n?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle. For more details, see https://link.vuejs.org/feature-flags.`)}}const Qt=Mv;function hv(e){return pv(e)}function pv(e,n){dv();const t=Xo();t.__VUE__=!0,cd(t.__VUE_DEVTOOLS_GLOBAL_HOOK__,t);const{insert:i,remove:o,patchProp:a,createElement:r,createText:s,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Et,insertStaticContent:h}=e,b=(m,A,O,F=null,V=null,v=null,w=void 0,S=null,P=xn?!1:!!A.dynamicChildren)=>{if(m===A)return;m&&!ga(m,A)&&(F=ft(m),Ee(m,V,v,!0),m=null),A.patchFlag===-2&&(P=!1,A.dynamicChildren=null);const{type:j,ref:ie,shapeFlag:$}=A;switch(j){case Co:y(m,A,O,F);break;case jt:g(m,A,O,F);break;case ha:m==null?C(A,O,F,w):E(m,A,O,w);break;case rt:Be(m,A,O,F,V,v,w,S,P);break;default:$&1?U(m,A,O,F,V,v,w,S,P):$&6?se(m,A,O,F,V,v,w,S,P):$&64||$&128?j.process(m,A,O,F,V,v,w,S,P,ut):J("Invalid VNode type:",j,`(${typeof j})`)}ie!=null&&V&&Ur(ie,m&&m.ref,v,A||m,!A)},y=(m,A,O,F)=>{if(m==null)i(A.el=s(A.children),O,F);else{const V=A.el=m.el;A.children!==m.children&&c(V,A.children)}},g=(m,A,O,F)=>{m==null?i(A.el=l(A.children||""),O,F):A.el=m.el},C=(m,A,O,F)=>{[m.el,m.anchor]=h(m.children,A,O,F,m.el,m.anchor)},E=(m,A,O,F)=>{if(A.children!==m.children){const V=d(m.anchor);M(m),[A.el,A.anchor]=h(A.children,O,V,F)}else A.el=m.el,A.anchor=m.anchor},x=({el:m,anchor:A},O,F)=>{let V;for(;m&&m!==A;)V=d(m),i(m,O,F),m=V;i(A,O,F)},M=({el:m,anchor:A})=>{let O;for(;m&&m!==A;)O=d(m),o(m),m=O;o(A)},U=(m,A,O,F,V,v,w,S,P)=>{A.type==="svg"?w="svg":A.type==="math"&&(w="mathml"),m==null?N(A,O,F,V,v,w,S,P):W(m,A,V,v,w,S,P)},N=(m,A,O,F,V,v,w,S)=>{let P,j;const{props:ie,shapeFlag:$,transition:I,dirs:L}=m;if(P=m.el=r(m.type,v,ie&&ie.is,ie),$&8?u(P,m.children):$&16&&re(m.children,P,null,F,V,Hl(m,v),w,S),L&&Wi(m,null,F,"created"),K(P,m,m.scopeId,w,F),ie){for(const pe in ie)pe!=="value"&&!Jo(pe)&&a(P,pe,null,ie[pe],v,F);"value"in ie&&a(P,"value",null,ie.value,v),(j=ie.onVnodeBeforeMount)&&Nn(j,F,m)}wr(P,"__vnode",m,!0),wr(P,"__vueParentComponent",F,!0),L&&Wi(m,null,F,"beforeMount");const oe=mv(V,I);oe&&I.beforeEnter(P),i(P,A,O),((j=ie&&ie.onVnodeMounted)||oe||L)&&Qt(()=>{j&&Nn(j,F,m),oe&&I.enter(P),L&&Wi(m,null,F,"mounted")},V)},K=(m,A,O,F,V)=>{if(O&&p(m,O),F)for(let v=0;v<F.length;v++)p(m,F[v]);if(V){let v=V.subTree;if(v.patchFlag>0&&v.patchFlag&2048&&(v=Gl(v.children)||v),A===v||Kd(v.type)&&(v.ssContent===A||v.ssFallback===A)){const w=V.vnode;K(m,w,w.scopeId,w.slotScopeIds,V.parent)}}},re=(m,A,O,F,V,v,w,S,P=0)=>{for(let j=P;j<m.length;j++){const ie=m[j]=S?Ai(m[j]):wn(m[j]);b(null,ie,A,O,F,V,v,w,S)}},W=(m,A,O,F,V,v,w)=>{const S=A.el=m.el;S.__vnode=A;let{patchFlag:P,dynamicChildren:j,dirs:ie}=A;P|=m.patchFlag&16;const $=m.props||qe,I=A.props||qe;let L;if(O&&Gi(O,!1),(L=I.onVnodeBeforeUpdate)&&Nn(L,O,A,m),ie&&Wi(A,m,O,"beforeUpdate"),O&&Gi(O,!0),xn&&(P=0,w=!1,j=null),($.innerHTML&&I.innerHTML==null||$.textContent&&I.textContent==null)&&u(S,""),j?(ee(m.dynamicChildren,j,S,O,F,Hl(A,V),v),Wl(m,A)):w||te(m,A,S,null,O,F,Hl(A,V),v,!1),P>0){if(P&16)he(S,$,I,O,V);else if(P&2&&$.class!==I.class&&a(S,"class",null,I.class,V),P&4&&a(S,"style",$.style,I.style,V),P&8){const oe=A.dynamicProps;for(let pe=0;pe<oe.length;pe++){const Ce=oe[pe],tt=$[Ce],Re=I[Ce];(Re!==tt||Ce==="value")&&a(S,Ce,tt,Re,V,O)}}P&1&&m.children!==A.children&&u(S,A.children)}else!w&&j==null&&he(S,$,I,O,V);((L=I.onVnodeUpdated)||ie)&&Qt(()=>{L&&Nn(L,O,A,m),ie&&Wi(A,m,O,"updated")},F)},ee=(m,A,O,F,V,v,w)=>{for(let S=0;S<A.length;S++){const P=m[S],j=A[S],ie=P.el&&(P.type===rt||!ga(P,j)||P.shapeFlag&70)?f(P.el):O;b(P,j,ie,null,F,V,v,w,!0)}},he=(m,A,O,F,V)=>{if(A!==O){if(A!==qe)for(const v in A)!Jo(v)&&!(v in O)&&a(m,v,A[v],null,V,F);for(const v in O){if(Jo(v))continue;const w=O[v],S=A[v];w!==S&&v!=="value"&&a(m,v,S,w,V,F)}"value"in O&&a(m,"value",A.value,O.value,V)}},Be=(m,A,O,F,V,v,w,S,P)=>{const j=A.el=m?m.el:s(""),ie=A.anchor=m?m.anchor:s("");let{patchFlag:$,dynamicChildren:I,slotScopeIds:L}=A;(xn||$&2048)&&($=0,P=!1,I=null),L&&(S=S?S.concat(L):L),m==null?(i(j,O,F),i(ie,O,F),re(A.children||[],O,ie,V,v,w,S,P)):$>0&&$&64&&I&&m.dynamicChildren?(ee(m.dynamicChildren,I,O,V,v,w,S),Wl(m,A)):te(m,A,O,ie,V,v,w,S,P)},se=(m,A,O,F,V,v,w,S,P)=>{A.slotScopeIds=S,m==null?A.shapeFlag&512?V.ctx.activate(A,O,F,w,P):Q(A,O,F,V,v,w,P):q(m,A,P)},Q=(m,A,O,F,V,v,w)=>{const S=m.component=Lv(m,F,V);if(S.type.__hmrId&&bb(S),Rr(m),Ao(S,"mount"),Ll(m)&&(S.ctx.renderer=ut),Ao(S,"init"),Dv(S,!1,w),wo(S,"init"),S.asyncDep){if(xn&&(m.el=null),V&&V.registerDep(S,z,w),!m.el){const P=S.subTree=de(jt);g(null,P,A,O)}}else z(S,m,A,O,V,v,w);Nr(),wo(S,"mount")},q=(m,A,O)=>{const F=A.component=m.component;if(Ev(m,A,O))if(F.asyncDep&&!F.asyncResolved){Rr(A),D(F,A,O),Nr();return}else F.next=A,F.update();else A.el=m.el,F.vnode=A},z=(m,A,O,F,V,v,w)=>{const S=()=>{if(m.isMounted){let{next:$,bu:I,u:L,parent:oe,vnode:pe}=m;{const vn=$d(m);if(vn){$&&($.el=pe.el,D(m,$,w)),vn.asyncDep.then(()=>{m.isUnmounted||S()});return}}let Ce=$,tt;Rr($||m.vnode),Gi(m,!1),$?($.el=pe.el,D(m,$,w)):$=pe,I&&uo(I),(tt=$.props&&$.props.onVnodeBeforeUpdate)&&Nn(tt,oe,$,pe),Gi(m,!0),Ao(m,"render");const Re=Wd(m);wo(m,"render");const wt=m.subTree;m.subTree=Re,Ao(m,"patch"),b(wt,Re,f(wt.el),ft(wt),m,V,v),wo(m,"patch"),$.el=Re.el,Ce===null&&Sv(m,Re.el),L&&Qt(L,V),(tt=$.props&&$.props.onVnodeUpdated)&&Qt(()=>Nn(tt,oe,$,pe),V),fd(m),Nr()}else{let $;const{el:I,props:L}=A,{bm:oe,m:pe,parent:Ce,root:tt,type:Re}=m,wt=bo(A);Gi(m,!1),oe&&uo(oe),!wt&&($=L&&L.onVnodeBeforeMount)&&Nn($,Ce,A),Gi(m,!0);{tt.ce&&tt.ce._injectChildStyle(Re),Ao(m,"render");const vn=m.subTree=Wd(m);wo(m,"render"),Ao(m,"patch"),b(null,vn,O,F,m,V,v),wo(m,"patch"),A.el=vn.el}if(pe&&Qt(pe,V),!wt&&($=L&&L.onVnodeMounted)){const vn=A;Qt(()=>Nn($,Ce,vn),V)}(A.shapeFlag&256||Ce&&bo(Ce.vnode)&&Ce.vnode.shapeFlag&256)&&m.a&&Qt(m.a,V),m.isMounted=!0,_b(m),A=O=F=null}};m.scope.on();const P=m.effect=new Ru(S);m.scope.off();const j=m.update=P.run.bind(P),ie=m.job=P.runIfDirty.bind(P);ie.i=m,ie.id=m.uid,P.scheduler=()=>Dr(ie),Gi(m,!0),P.onTrack=m.rtc?$=>uo(m.rtc,$):void 0,P.onTrigger=m.rtg?$=>uo(m.rtg,$):void 0,j()},D=(m,A,O)=>{A.component=m;const F=m.vnode.props;m.vnode=A,m.next=null,tv(m,A.props,F,O),uv(m,A.children,O),Yn(),od(m),Gn()},te=(m,A,O,F,V,v,w,S,P=!1)=>{const j=m&&m.children,ie=m?m.shapeFlag:0,$=A.children,{patchFlag:I,shapeFlag:L}=A;if(I>0){if(I&128){me(j,$,O,F,V,v,w,S,P);return}else if(I&256){X(j,$,O,F,V,v,w,S,P);return}}L&8?(ie&16&&at(j,V,v),$!==j&&u(O,$)):ie&16?L&16?me(j,$,O,F,V,v,w,S,P):at(j,V,v,!0):(ie&8&&u(O,""),L&16&&re($,O,F,V,v,w,S,P))},X=(m,A,O,F,V,v,w,S,P)=>{m=m||fo,A=A||fo;const j=m.length,ie=A.length,$=Math.min(j,ie);let I;for(I=0;I<$;I++){const L=A[I]=P?Ai(A[I]):wn(A[I]);b(m[I],L,O,null,V,v,w,S,P)}j>ie?at(m,V,v,!0,!1,$):re(A,O,F,V,v,w,S,P,$)},me=(m,A,O,F,V,v,w,S,P)=>{let j=0;const ie=A.length;let $=m.length-1,I=ie-1;for(;j<=$&&j<=I;){const L=m[j],oe=A[j]=P?Ai(A[j]):wn(A[j]);if(ga(L,oe))b(L,oe,O,null,V,v,w,S,P);else break;j++}for(;j<=$&&j<=I;){const L=m[$],oe=A[I]=P?Ai(A[I]):wn(A[I]);if(ga(L,oe))b(L,oe,O,null,V,v,w,S,P);else break;$--,I--}if(j>$){if(j<=I){const L=I+1,oe=L<ie?A[L].el:F;for(;j<=I;)b(null,A[j]=P?Ai(A[j]):wn(A[j]),O,oe,V,v,w,S,P),j++}}else if(j>I)for(;j<=$;)Ee(m[j],V,v,!0),j++;else{const L=j,oe=j,pe=new Map;for(j=oe;j<=I;j++){const qt=A[j]=P?Ai(A[j]):wn(A[j]);qt.key!=null&&(pe.has(qt.key)&&J("Duplicate keys found during update:",JSON.stringify(qt.key),"Make sure keys are unique."),pe.set(qt.key,j))}let Ce,tt=0;const Re=I-oe+1;let wt=!1,vn=0;const Di=new Array(Re);for(j=0;j<Re;j++)Di[j]=0;for(j=L;j<=$;j++){const qt=m[j];if(tt>=Re){Ee(qt,V,v,!0);continue}let Hn;if(qt.key!=null)Hn=pe.get(qt.key);else for(Ce=oe;Ce<=I;Ce++)if(Di[Ce-oe]===0&&ga(qt,A[Ce])){Hn=Ce;break}Hn===void 0?Ee(qt,V,v,!0):(Di[Hn-oe]=j+1,Hn>=vn?vn=Hn:wt=!0,b(qt,A[Hn],O,null,V,v,w,S,P),tt++)}const Im=wt?gv(Di):fo;for(Ce=Im.length-1,j=Re-1;j>=0;j--){const qt=oe+j,Hn=A[qt],Tm=qt+1<ie?A[qt+1].el:F;Di[j]===0?b(null,Hn,O,Tm,V,v,w,S,P):wt&&(Ce<0||j!==Im[Ce]?ge(Hn,O,Tm,2):Ce--)}}},ge=(m,A,O,F,V=null)=>{const{el:v,type:w,transition:S,children:P,shapeFlag:j}=m;if(j&6){ge(m.component.subTree,A,O,F);return}if(j&128){m.suspense.move(A,O,F);return}if(j&64){w.move(m,A,O,ut);return}if(w===rt){i(v,A,O);for(let $=0;$<P.length;$++)ge(P[$],A,O,F);i(m.anchor,A,O);return}if(w===ha){x(m,A,O);return}if(F!==2&&j&1&&S)if(F===0)S.beforeEnter(v),i(v,A,O),Qt(()=>S.enter(v),V);else{const{leave:$,delayLeave:I,afterLeave:L}=S,oe=()=>i(v,A,O),pe=()=>{$(v,()=>{oe(),L&&L()})};I?I(v,oe,pe):pe()}else i(v,A,O)},Ee=(m,A,O,F=!1,V=!1)=>{const{type:v,props:w,ref:S,children:P,dynamicChildren:j,shapeFlag:ie,patchFlag:$,dirs:I,cacheIndex:L}=m;if($===-2&&(V=!1),S!=null&&Ur(S,null,O,m,!0),L!=null&&(A.renderCache[L]=void 0),ie&256){A.ctx.deactivate(m);return}const oe=ie&1&&I,pe=!bo(m);let Ce;if(pe&&(Ce=w&&w.onVnodeBeforeUnmount)&&Nn(Ce,A,m),ie&6)Rt(m.component,O,F);else{if(ie&128){m.suspense.unmount(O,F);return}oe&&Wi(m,null,A,"beforeUnmount"),ie&64?m.type.remove(m,A,O,ut,F):j&&!j.hasOnce&&(v!==rt||$>0&&$&64)?at(j,A,O,!1,!0):(v===rt&&$&384||!V&&ie&16)&&at(P,A,O),F&&De(m)}(pe&&(Ce=w&&w.onVnodeUnmounted)||oe)&&Qt(()=>{Ce&&Nn(Ce,A,m),oe&&Wi(m,null,A,"unmounted")},O)},De=m=>{const{type:A,el:O,anchor:F,transition:V}=m;if(A===rt){m.patchFlag>0&&m.patchFlag&2048&&V&&!V.persisted?m.children.forEach(w=>{w.type===jt?o(w.el):De(w)}):Xe(O,F);return}if(A===ha){M(m);return}const v=()=>{o(O),V&&!V.persisted&&V.afterLeave&&V.afterLeave()};if(m.shapeFlag&1&&V&&!V.persisted){const{leave:w,delayLeave:S}=V,P=()=>w(O,v);S?S(m.el,v,P):P()}else v()},Xe=(m,A)=>{let O;for(;m!==A;)O=d(m),o(m),m=O;o(A)},Rt=(m,A,O)=>{m.type.__hmrId&&vb(m);const{bum:F,scope:V,job:v,subTree:w,um:S,m:P,a:j}=m;jd(P),jd(j),F&&uo(F),V.stop(),v&&(v.flags|=8,Ee(w,m,A,O)),S&&Qt(S,A),Qt(()=>{m.isUnmounted=!0},A),A&&A.pendingBranch&&!A.isUnmounted&&m.asyncDep&&!m.asyncResolved&&m.suspenseId===A.pendingId&&(A.deps--,A.deps===0&&A.resolve()),Sb(m)},at=(m,A,O,F=!1,V=!1,v=0)=>{for(let w=v;w<m.length;w++)Ee(m[w],A,O,F,V)},ft=m=>{if(m.shapeFlag&6)return ft(m.component.subTree);if(m.shapeFlag&128)return m.suspense.next();const A=d(m.anchor||m.el),O=A&&A[Ob];return O?d(O):A};let _t=!1;const et=(m,A,O)=>{m==null?A._vnode&&Ee(A._vnode,null,null,!0):b(A._vnode||null,m,A,null,null,null,O),A._vnode=m,_t||(_t=!0,od(),ad(),_t=!1)},ut={p:b,um:Ee,m:ge,r:De,mt:Q,mc:re,pc:te,pbc:ee,n:ft,o:e};return{render:et,hydrate:void 0,createApp:Jb(et)}}function Hl({type:e,props:n},t){return t==="svg"&&e==="foreignObject"||t==="mathml"&&e==="annotation-xml"&&n&&n.encoding&&n.encoding.includes("html")?void 0:t}function Gi({effect:e,job:n},t){t?(e.flags|=32,n.flags|=4):(e.flags&=-33,n.flags&=-5)}function mv(e,n){return(!e||e&&!e.pendingBranch)&&n&&!n.persisted}function Wl(e,n,t=!1){const i=e.children,o=n.children;if(fe(i)&&fe(o))for(let a=0;a<i.length;a++){const r=i[a];let s=o[a];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=o[a]=Ai(o[a]),s.el=r.el),!t&&s.patchFlag!==-2&&Wl(r,s)),s.type===Co&&(s.el=r.el),s.type===jt&&!s.el&&(s.el=r.el)}}function gv(e){const n=e.slice(),t=[0];let i,o,a,r,s;const l=e.length;for(i=0;i<l;i++){const c=e[i];if(c!==0){if(o=t[t.length-1],e[o]<c){n[i]=o,t.push(i);continue}for(a=0,r=t.length-1;a<r;)s=a+r>>1,e[t[s]]<c?a=s+1:r=s;c<e[t[a]]&&(a>0&&(n[i]=t[a-1]),t[a]=i)}}for(a=t.length,r=t[a-1];a-- >0;)t[a]=r,r=n[r];return t}function $d(e){const n=e.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:$d(n)}function jd(e){if(e)for(let n=0;n<e.length;n++)e[n].flags|=8}const bv=Symbol.for("v-scx"),vv=()=>{{const e=ue(bv);return e||J("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Kt(e,n,t){return be(n)||J("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),zd(e,n,t)}function zd(e,n,t=qe){const{immediate:i,deep:o,flush:a,once:r}=t;n||(i!==void 0&&J('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&J('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&J('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const s=nt({},t);s.onWarn=J;const l=n&&i||!n&&a!=="post";let c;if(va){if(a==="sync"){const p=vv();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Et,p.resume=Et,p.pause=Et,p}}const u=dt;s.call=(p,h,b)=>On(p,u,h,b);let f=!1;a==="post"?s.scheduler=p=>{Qt(p,u&&u.suspense)}:a!=="sync"&&(f=!0,s.scheduler=(p,h)=>{h?p():Dr(p)}),s.augmentJob=p=>{n&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=cb(e,n,s);return va&&(c?c.push(d):l&&d()),d}function yv(e,n,t){const i=this.proxy,o=Ye(e)?e.includes(".")?Vd(i,e):()=>i[e]:e.bind(i,i);let a;be(n)?a=n:(a=n.handler,t=n);const r=ba(this),s=zd(o,a.bind(i),t);return r(),s}function Vd(e,n){const t=n.split(".");return()=>{let i=e;for(let o=0;o<t.length&&i;o++)i=i[t[o]];return i}}const Av=(e,n)=>n==="modelValue"||n==="model-value"?e.modelModifiers:e[`${n}Modifiers`]||e[`${gt(n)}Modifiers`]||e[`${Ut(n)}Modifiers`];function wv(e,n,...t){if(e.isUnmounted)return;const i=e.vnode.props||qe;{const{emitsOptions:u,propsOptions:[f]}=e;if(u)if(!(n in u))(!f||!(Ui(gt(n))in f))&&J(`Component emitted event "${n}" but it is neither declared in the emits option nor as an "${Ui(gt(n))}" prop.`);else{const d=u[n];be(d)&&(d(...t)||J(`Invalid event arguments: event validation failed for event "${n}".`))}}let o=t;const a=n.startsWith("update:"),r=a&&Av(i,n.slice(7));r&&(r.trim&&(o=t.map(u=>Ye(u)?u.trim():u)),r.number&&(o=t.map(hl))),Tb(e,n,o);{const u=n.toLowerCase();u!==n&&i[Ui(u)]&&J(`Event "${u}" is emitted in component ${Kr(e,e.type)} but the handler is registered for "${n}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Ut(n)}" instead of "${n}".`)}let s,l=i[s=Ui(n)]||i[s=Ui(gt(n))];!l&&a&&(l=i[s=Ui(Ut(n))]),l&&On(l,e,6,o);const c=i[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,On(c,e,6,o)}}function Hd(e,n,t=!1){const i=n.emitsCache,o=i.get(e);if(o!==void 0)return o;const a=e.emits;let r={},s=!1;if(!be(e)){const l=c=>{const u=Hd(c,n,!0);u&&(s=!0,nt(r,u))};!t&&n.mixins.length&&n.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(Ue(e)&&i.set(e,null),null):(fe(a)?a.forEach(l=>r[l]=null):nt(r,a),Ue(e)&&i.set(e,r),r)}function Hr(e,n){return!e||!Ko(n)?!1:(n=n.slice(2).replace(/Once$/,""),Oe(e,n[0].toLowerCase()+n.slice(1))||Oe(e,Ut(n))||Oe(e,n))}let Yl=!1;function Wr(){Yl=!0}function Wd(e){const{type:n,vnode:t,proxy:i,withProxy:o,propsOptions:[a],slots:r,attrs:s,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:h,inheritAttrs:b}=e,y=qr(e);let g,C;Yl=!1;try{if(t.shapeFlag&4){const M=o||i,U=gi.NODE_ENV!=="production"&&p.__isScriptSetup?new Proxy(M,{get(N,K,re){return J(`Property '${String(K)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(N,K,re)}}):M;g=wn(c.call(U,M,u,gi.NODE_ENV!=="production"?Tn(f):f,p,d,h)),C=s}else{const M=n;gi.NODE_ENV!=="production"&&s===f&&Wr(),g=wn(M.length>1?M(gi.NODE_ENV!=="production"?Tn(f):f,gi.NODE_ENV!=="production"?{get attrs(){return Wr(),Tn(s)},slots:r,emit:l}:{attrs:s,slots:r,emit:l}):M(gi.NODE_ENV!=="production"?Tn(f):f,null)),C=n.props?s:Cv(s)}}catch(M){pa.length=0,aa(M,e,1),g=de(jt)}let E=g,x;if(g.patchFlag>0&&g.patchFlag&2048&&([E,x]=Yd(g)),C&&b!==!1){const M=Object.keys(C),{shapeFlag:U}=E;if(M.length){if(U&7)a&&M.some(br)&&(C=_v(C,a)),E=yi(E,C,!1,!0);else if(!Yl&&E.type!==jt){const N=Object.keys(s),K=[],re=[];for(let W=0,ee=N.length;W<ee;W++){const he=N[W];Ko(he)?br(he)||K.push(he[2].toLowerCase()+he.slice(3)):re.push(he)}re.length&&J(`Extraneous non-props attributes (${re.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),K.length&&J(`Extraneous non-emits event listeners (${K.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return t.dirs&&(Gd(E)||J("Runtime directive used on component with non-element root node. The directives will not function as intended."),E=yi(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(t.dirs):t.dirs),t.transition&&(Gd(E)||J("Component inside <Transition> renders non-element root node that cannot be animated."),Nl(E,t.transition)),x?x(E):g=E,qr(y),g}const Yd=e=>{const n=e.children,t=e.dynamicChildren,i=Gl(n,!1);if(i){if(i.patchFlag>0&&i.patchFlag&2048)return Yd(i)}else return[e,void 0];const o=n.indexOf(i),a=t?t.indexOf(i):-1,r=s=>{n[o]=s,t&&(a>-1?t[a]=s:s.patchFlag>0&&(e.dynamicChildren=[...t,s]))};return[wn(i),r]};function Gl(e,n=!0){let t;for(let i=0;i<e.length;i++){const o=e[i];if(Qi(o)){if(o.type!==jt||o.children==="v-if"){if(t)return;if(t=o,n&&t.patchFlag>0&&t.patchFlag&2048)return Gl(t.children)}}else return}return t}const Cv=e=>{let n;for(const t in e)(t==="class"||t==="style"||Ko(t))&&((n||(n={}))[t]=e[t]);return n},_v=(e,n)=>{const t={};for(const i in e)(!br(i)||!(i.slice(9)in n))&&(t[i]=e[i]);return t},Gd=e=>e.shapeFlag&7||e.type===jt;function Ev(e,n,t){const{props:i,children:o,component:a}=e,{props:r,children:s,patchFlag:l}=n,c=a.emitsOptions;if((o||s)&&xn||n.dirs||n.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return i?Qd(i,r,c):!!r;if(l&8){const u=n.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(r[d]!==i[d]&&!Hr(c,d))return!0}}}else return(o||s)&&(!s||!s.$stable)?!0:i===r?!1:i?r?Qd(i,r,c):!0:!!r;return!1}function Qd(e,n,t){const i=Object.keys(n);if(i.length!==Object.keys(e).length)return!0;for(let o=0;o<i.length;o++){const a=i[o];if(n[a]!==e[a]&&!Hr(t,a))return!0}return!1}function Sv({vnode:e,parent:n},t){for(;n;){const i=n.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i===e)(e=n.vnode).el=t,n=n.parent;else break}}const Kd=e=>e.__isSuspense;function Mv(e,n){n&&n.pendingBranch?fe(e)?n.effects.push(...e):n.effects.push(e):id(e)}const rt=Symbol.for("v-fgt"),Co=Symbol.for("v-txt"),jt=Symbol.for("v-cmt"),ha=Symbol.for("v-stc"),pa=[];let Zt=null;function k(e=!1){pa.push(Zt=e?null:[])}function Iv(){pa.pop(),Zt=pa[pa.length-1]||null}let ma=1;function Zd(e,n=!1){ma+=e,e<0&&Zt&&n&&(Zt.hasOnce=!0)}function Jd(e){return e.dynamicChildren=ma>0?Zt||fo:null,Iv(),ma>0&&Zt&&Zt.push(e),e}function B(e,n,t,i,o,a){return Jd(H(e,n,t,i,o,a,!0))}function Se(e,n,t,i,o){return Jd(de(e,n,t,i,o,!0))}function Qi(e){return e?e.__v_isVNode===!0:!1}function ga(e,n){if(n.shapeFlag&6&&e.component){const t=Fr.get(n.type);if(t&&t.has(e.component))return e.shapeFlag&=-257,n.shapeFlag&=-513,!1}return e.type===n.type&&e.key===n.key}const Tv=(...e)=>Ov(...e),Xd=({key:e})=>e??null,Yr=({ref:e,ref_key:n,ref_for:t})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||Ge(e)||be(e)?{i:lt,r:e,k:n,f:!!t}:e:null);function H(e,n=null,t=null,i=0,o=null,a=e===rt?0:1,r=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&Xd(n),ref:n&&Yr(n),scopeId:dd,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:lt};return s?(Ql(l,t),a&128&&e.normalize(l)):t&&(l.shapeFlag|=Ye(t)?8:16),l.key!==l.key&&J("VNode created with invalid key (NaN). VNode type:",l.type),ma>0&&!r&&Zt&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Zt.push(l),l}const de=Tv;function Ov(e,n=null,t=null,i=0,o=null,a=!1){if((!e||e===vd)&&(e||J(`Invalid vnode type when creating vnode: ${e}.`),e=jt),Qi(e)){const s=yi(e,n,!0);return t&&Ql(s,t),ma>0&&!a&&Zt&&(s.shapeFlag&6?Zt[Zt.indexOf(e)]=s:Zt.push(s)),s.patchFlag=-2,s}if(r0(e)&&(e=e.__vccOpts),n){n=kv(n);let{class:s,style:l}=n;s&&!Ye(s)&&(n.class=R(s)),Ue(l)&&(Or(l)&&!fe(l)&&(l=nt({},l)),n.style=Cr(l))}const r=Ye(e)?1:Kd(e)?128:kb(e)?64:Ue(e)?4:be(e)?2:0;return r&4&&Or(e)&&(e=Ie(e),J("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",` Component that was made reactive: `,e)),H(e,n,t,i,o,r,a,!0)}function kv(e){return e?Or(e)||xd(e)?nt({},e):e:null}function yi(e,n,t=!1,i=!1){const{props:o,ref:a,patchFlag:r,children:s,transition:l}=e,c=n?xv(o||{},n):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Xd(c),ref:n&&n.ref?t&&a?fe(a)?a.concat(Yr(n)):[a,Yr(n)]:Yr(n):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r===-1&&fe(s)?s.map(e0):s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==rt?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yi(e.ssContent),ssFallback:e.ssFallback&&yi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&i&&Nl(u,l.clone(u)),u}function e0(e){const n=yi(e);return fe(e.children)&&(n.children=e.children.map(e0)),n}function ei(e=" ",n=0){return de(Co,null,e,n)}function t0(e,n){const t=de(ha,null,e);return t.staticCount=n,t}function ae(e="",n=!1){return n?(k(),Se(jt,null,e)):de(jt,null,e)}function wn(e){return e==null||typeof e=="boolean"?de(jt):fe(e)?de(rt,null,e.slice()):Qi(e)?Ai(e):de(Co,null,String(e))}function Ai(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yi(e)}function Ql(e,n){let t=0;const{shapeFlag:i}=e;if(n==null)n=null;else if(fe(n))t=16;else if(typeof n=="object")if(i&65){const o=n.default;o&&(o._c&&(o._d=!1),Ql(e,o()),o._c&&(o._d=!0));return}else{t=32;const o=n._;!o&&!xd(n)?n._ctx=lt:o===3&<&&(lt.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else be(n)?(n={default:n,_ctx:lt},t=32):(n=String(n),i&64?(t=16,n=[ei(n)]):t=8);e.children=n,e.shapeFlag|=t}function xv(...e){const n={};for(let t=0;t<e.length;t++){const i=e[t];for(const o in i)if(o==="class")n.class!==i.class&&(n.class=R([n.class,i.class]));else if(o==="style")n.style=Cr([n.style,i.style]);else if(Ko(o)){const a=n[o],r=i[o];r&&a!==r&&!(fe(a)&&a.includes(r))&&(n[o]=a?[].concat(a,r):r)}else o!==""&&(n[o]=i[o])}return n}function Nn(e,n,t,i=null){On(e,n,7,[t,i])}const Rv=Td();let Nv=0;function Lv(e,n,t){const i=e.type,o=(n?n.appContext:e.appContext)||Rv,a={uid:Nv++,vnode:e,type:i,parent:n,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new xu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(o.provides),ids:n?n.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Nd(i,o),emitsOptions:Hd(i,o),emit:null,emitted:null,propsDefaults:qe,inheritAttrs:i.inheritAttrs,ctx:qe,data:qe,props:qe,attrs:qe,slots:qe,refs:qe,setupState:qe,setupContext:null,suspense:t,suspenseId:t?t.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx=jb(a),a.root=n?n.root:a,a.emit=wv.bind(null,a),e.ce&&e.ce(a),a}let dt=null;const Ki=()=>dt||lt;let Gr,Kl;{const e=Xo(),n=(t,i)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(i),a=>{o.length>1?o.forEach(r=>r(a)):o[0](a)}};Gr=n("__VUE_INSTANCE_SETTERS__",t=>dt=t),Kl=n("__VUE_SSR_SETTERS__",t=>va=t)}const ba=e=>{const n=dt;return Gr(e),e.scope.on(),()=>{e.scope.off(),Gr(n)}},n0=()=>{dt&&dt.scope.off(),Gr(null)},Pv=Wn("slot,component");function Zl(e,{isNativeTag:n}){(Pv(e)||n(e))&&J("Do not use built-in or reserved HTML elements as component id: "+e)}function i0(e){return e.vnode.shapeFlag&4}let va=!1;function Dv(e,n=!1,t=!1){n&&Kl(n);const{props:i,children:o}=e.vnode,a=i0(e);Xb(e,i,a,n),fv(e,o,t);const r=a?Fv(e,n):void 0;return n&&Kl(!1),r}function Fv(e,n){var t;const i=e.type;{if(i.name&&Zl(i.name,e.appContext.config),i.components){const a=Object.keys(i.components);for(let r=0;r<a.length;r++)Zl(a[r],e.appContext.config)}if(i.directives){const a=Object.keys(i.directives);for(let r=0;r<a.length;r++)hd(a[r])}i.compilerOptions&&Bv()&&J('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,wd),zb(e);const{setup:o}=i;if(o){Yn();const a=e.setupContext=o.length>1?$v(e):null,r=ba(e),s=po(o,e,0,[Tn(e.props),a]),l=fl(s);if(Gn(),r(),(l||e.sp)&&!bo(e)&&pd(e),l){if(s.then(n0,n0),n)return s.then(c=>{o0(e,c,n)}).catch(c=>{aa(c,e,0)});if(e.asyncDep=s,!e.suspense){const c=(t=i.name)!=null?t:"Anonymous";J(`Component <${c}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else o0(e,s,n)}else a0(e,n)}function o0(e,n,t){be(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:Ue(n)?(Qi(n)&&J("setup() should not return VNodes directly - return a render function instead."),e.devtoolsRawSetupState=n,e.setupState=Xu(n),Vb(e)):n!==void 0&&J(`setup() should return an object. Received: ${n===null?"null":typeof n}`),a0(e,t)}const Bv=()=>!0;function a0(e,n,t){const i=e.type;e.render||(e.render=i.render||Et);{const o=ba(e);Yn();try{Wb(e)}finally{Gn(),o()}}!i.render&&e.render===Et&&!n&&(i.template?J('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):J("Component is missing template or render function: ",i))}const qv={get(e,n){return Wr(),bt(e,"get",""),e[n]},set(){return J("setupContext.attrs is readonly."),!1},deleteProperty(){return J("setupContext.attrs is readonly."),!1}};function Uv(e){return new Proxy(e.slots,{get(n,t){return bt(e,"get","$slots"),n[t]}})}function $v(e){const n=t=>{if(e.exposed&&J("expose() should be called only once per setup()."),t!=null){let i=typeof t;i==="object"&&(fe(t)?i="array":Ge(t)&&(i="ref")),i!=="object"&&J(`expose() should be passed a plain object, received ${i}.`)}e.exposed=t||{}};{let t,i;return Object.freeze({get attrs(){return t||(t=new Proxy(e.attrs,qv))},get slots(){return i||(i=Uv(e))},get emit(){return(o,...a)=>e.emit(o,...a)},expose:n})}}function Qr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Xu(nb(e.exposed)),{get(n,t){if(t in n)return n[t];if(t in Yi)return Yi[t](e)},has(n,t){return t in n||t in Yi}})):e.proxy}const jv=/(?:^|[-_])(\w)/g,zv=e=>e.replace(jv,n=>n.toUpperCase()).replace(/[-_]/g,"");function Jl(e,n=!0){return be(e)?e.displayName||e.name:e.name||n&&e.__name}function Kr(e,n,t=!1){let i=Jl(n);if(!i&&n.__file){const o=n.__file.match(/([^/\\]+)\.\w+$/);o&&(i=o[1])}if(!i&&e&&e.parent){const o=a=>{for(const r in a)if(a[r]===n)return r};i=o(e.components||e.parent.type.components)||o(e.appContext.components)}return i?zv(i):t?"App":"Anonymous"}function r0(e){return be(e)&&"__vccOpts"in e}const Y=(e,n)=>{const t=sb(e,n,va);{const i=Ki();i&&i.appContext.config.warnRecursiveComputed&&(t._warnRecursive=!0)}return t};function s0(e,n,t){const i=arguments.length;return i===2?Ue(n)&&!fe(n)?Qi(n)?de(e,null,[n]):de(e,n):de(e,null,n):(i>3?t=Array.prototype.slice.call(arguments,2):i===3&&Qi(t)&&(t=[t]),de(e,n,t))}const l0="3.5.13",ln=J;let Xl;const c0=typeof window<"u"&&window.trustedTypes;if(c0)try{Xl=c0.createPolicy("vue",{createHTML:e=>e})}catch(e){ln(`Error creating trusted types policy: ${e}`)}const f0=Xl?e=>Xl.createHTML(e):e=>e,Vv="http://www.w3.org/2000/svg",Hv="http://www.w3.org/1998/Math/MathML",ti=typeof document<"u"?document:null,u0=ti&&ti.createElement("template"),Wv={insert:(e,n,t)=>{n.insertBefore(e,t||null)},remove:e=>{const n=e.parentNode;n&&n.removeChild(e)},createElement:(e,n,t,i)=>{const o=n==="svg"?ti.createElementNS(Vv,e):n==="mathml"?ti.createElementNS(Hv,e):t?ti.createElement(e,{is:t}):ti.createElement(e);return e==="select"&&i&&i.multiple!=null&&o.setAttribute("multiple",i.multiple),o},createText:e=>ti.createTextNode(e),createComment:e=>ti.createComment(e),setText:(e,n)=>{e.nodeValue=n},setElementText:(e,n)=>{e.textContent=n},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ti.querySelector(e),setScopeId(e,n){e.setAttribute(n,"")},insertStaticContent(e,n,t,i,o,a){const r=t?t.previousSibling:n.lastChild;if(o&&(o===a||o.nextSibling))for(;n.insertBefore(o.cloneNode(!0),t),!(o===a||!(o=o.nextSibling)););else{u0.innerHTML=f0(i==="svg"?`<svg>${e}</svg>`:i==="mathml"?`<math>${e}</math>`:e);const s=u0.content;if(i==="svg"||i==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}n.insertBefore(s,t)}return[r?r.nextSibling:n.firstChild,t?t.previousSibling:n.lastChild]}},Yv=Symbol("_vtc");function Gv(e,n,t){const i=e[Yv];i&&(n=(n?[n,...i]:[...i]).join(" ")),n==null?e.removeAttribute("class"):t?e.setAttribute("class",n):e.className=n}const Zr=Symbol("_vod"),d0=Symbol("_vsh"),h0={beforeMount(e,{value:n},{transition:t}){e[Zr]=e.style.display==="none"?"":e.style.display,t&&n?t.beforeEnter(e):ya(e,n)},mounted(e,{value:n},{transition:t}){t&&n&&t.enter(e)},updated(e,{value:n,oldValue:t},{transition:i}){!n!=!t&&(i?n?(i.beforeEnter(e),ya(e,!0),i.enter(e)):i.leave(e,()=>{ya(e,!1)}):ya(e,n))},beforeUnmount(e,{value:n}){ya(e,n)}};h0.name="show";function ya(e,n){e.style.display=n?e[Zr]:"none",e[d0]=!n}const Qv=Symbol("CSS_VAR_TEXT"),Kv=/(^|;)\s*display\s*:/;function Zv(e,n,t){const i=e.style,o=Ye(t);let a=!1;if(t&&!o){if(n)if(Ye(n))for(const r of n.split(";")){const s=r.slice(0,r.indexOf(":")).trim();t[s]==null&&Jr(i,s,"")}else for(const r in n)t[r]==null&&Jr(i,r,"");for(const r in t)r==="display"&&(a=!0),Jr(i,r,t[r])}else if(o){if(n!==t){const r=i[Qv];r&&(t+=";"+r),i.cssText=t,a=Kv.test(t)}}else n&&e.removeAttribute("style");Zr in e&&(e[Zr]=a?i.display:"",e[d0]&&(i.display="none"))}const Jv=/[^\\];\s*$/,p0=/\s*!important$/;function Jr(e,n,t){if(fe(t))t.forEach(i=>Jr(e,n,i));else if(t==null&&(t=""),Jv.test(t)&&ln(`Unexpected semicolon at the end of '${n}' style value: '${t}'`),n.startsWith("--"))e.setProperty(n,t);else{const i=Xv(e,n);p0.test(t)?e.setProperty(Ut(i),t.replace(p0,""),"important"):e[i]=t}}const m0=["Webkit","Moz","ms"],ec={};function Xv(e,n){const t=ec[n];if(t)return t;let i=gt(n);if(i!=="filter"&&i in e)return ec[n]=i;i=qi(i);for(let o=0;o<m0.length;o++){const a=m0[o]+i;if(a in e)return ec[n]=a}return n}const g0="http://www.w3.org/1999/xlink";function b0(e,n,t,i,o,a=Rg(n)){i&&n.startsWith("xlink:")?t==null?e.removeAttributeNS(g0,n.slice(6,n.length)):e.setAttributeNS(g0,n,t):t==null||a&&!Iu(t)?e.removeAttribute(n):e.setAttribute(n,a?"":yn(t)?String(t):t)}function v0(e,n,t,i,o){if(n==="innerHTML"||n==="textContent"){t!=null&&(e[n]=n==="innerHTML"?f0(t):t);return}const a=e.tagName;if(n==="value"&&a!=="PROGRESS"&&!a.includes("-")){const s=a==="OPTION"?e.getAttribute("value")||"":e.value,l=t==null?e.type==="checkbox"?"on":"":String(t);(s!==l||!("_value"in e))&&(e.value=l),t==null&&e.removeAttribute(n),e._value=t;return}let r=!1;if(t===""||t==null){const s=typeof e[n];s==="boolean"?t=Iu(t):t==null&&s==="string"?(t="",r=!0):s==="number"&&(t=0,r=!0)}try{e[n]=t}catch(s){r||ln(`Failed setting prop "${n}" on <${a.toLowerCase()}>: value ${t} is invalid.`,s)}r&&e.removeAttribute(o||n)}function Zi(e,n,t,i){e.addEventListener(n,t,i)}function e2(e,n,t,i){e.removeEventListener(n,t,i)}const y0=Symbol("_vei");function t2(e,n,t,i,o=null){const a=e[y0]||(e[y0]={}),r=a[n];if(i&&r)r.value=w0(i,n);else{const[s,l]=n2(n);if(i){const c=a[n]=a2(w0(i,n),o);Zi(e,s,c,l)}else r&&(e2(e,s,r,l),a[n]=void 0)}}const A0=/(?:Once|Passive|Capture)$/;function n2(e){let n;if(A0.test(e)){n={};let i;for(;i=e.match(A0);)e=e.slice(0,e.length-i[0].length),n[i[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ut(e.slice(2)),n]}let tc=0;const i2=Promise.resolve(),o2=()=>tc||(i2.then(()=>tc=0),tc=Date.now());function a2(e,n){const t=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=t.attached)return;On(r2(i,t.value),n,5,[i])};return t.value=e,t.attached=o2(),t}function w0(e,n){return be(e)||fe(e)?e:(ln(`Wrong type passed as event handler to ${n} - did you forget @ or : in front of your prop? Expected function or array of functions, received type ${typeof e}.`),Et)}function r2(e,n){if(fe(n)){const t=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{t.call(e),e._stopped=!0},n.map(i=>o=>!o._stopped&&i&&i(o))}else return n}const C0=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,s2=(e,n,t,i,o,a)=>{const r=o==="svg";n==="class"?Gv(e,i,r):n==="style"?Zv(e,t,i):Ko(n)?br(n)||t2(e,n,t,i,a):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):l2(e,n,i,r))?(v0(e,n,i),!e.tagName.includes("-")&&(n==="value"||n==="checked"||n==="selected")&&b0(e,n,i,r,a,n!=="value")):e._isVueCE&&(/[A-Z]/.test(n)||!Ye(i))?v0(e,gt(n),i,a,n):(n==="true-value"?e._trueValue=i:n==="false-value"&&(e._falseValue=i),b0(e,n,i,r))};function l2(e,n,t,i){if(i)return!!(n==="innerHTML"||n==="textContent"||n in e&&C0(n)&&be(t));if(n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&e.tagName==="INPUT"||n==="type"&&e.tagName==="TEXTAREA")return!1;if(n==="width"||n==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return C0(n)&&Ye(t)?!1:n in e}const _0={};/*! #__NO_SIDE_EFFECTS__ */function E0(e,n,t){const i=Ve(e,n);yr(i)&&nt(i,n);class o extends nc{constructor(r){super(i,r,t)}}return o.def=i,o}const c2=typeof HTMLElement<"u"?HTMLElement:class{};class nc extends c2{constructor(n,t={},i=x0){super(),this._def=n,this._props=t,this._createApp=i,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&i!==x0?this._root=this.shadowRoot:(this.shadowRoot&&ln("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),n.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this),this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let n=this;for(;n=n&&(n.parentNode||n.host);)if(n instanceof nc){this._parent=n;break}this._instance||(this._resolved?(this._setParent(),this._update()):n&&n._pendingResolve?this._pendingResolve=n._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(n=this._parent){n&&(this._instance.parent=n._instance,this._instance.provides=n._instance.provides)}disconnectedCallback(){this._connected=!1,Pr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i<this.attributes.length;i++)this._setAttr(this.attributes[i].name);this._ob=new MutationObserver(i=>{for(const o of i)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const n=(i,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:a,styles:r}=i;let s;if(a&&!fe(a))for(const l in a){const c=a[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Su(this._props[l])),(s||(s=Object.create(null)))[gt(l)]=!0)}this._numberProps=s,o&&this._resolveProps(i),this.shadowRoot?this._applyStyles(r):r&&ln("Custom element style injection is not supported when using shadowRoot: false"),this._mount(i)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then(i=>n(this._def=i,!0)):n(this._def)}_mount(n){n.name||(n.name="VueElement"),this._app=this._createApp(n),n.configureApp&&n.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const i in t)Oe(this,i)?ln(`Exposed property "${i}" already exists on custom element.`):Object.defineProperty(this,i,{get:()=>Ne(t[i])})}_resolveProps(n){const{props:t}=n,i=fe(t)?t:Object.keys(t||{});for(const o of Object.keys(this))o[0]!=="_"&&i.includes(o)&&this._setProp(o,this[o]);for(const o of i.map(gt))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(a){this._setProp(o,a,!0,!0)}})}_setAttr(n){if(n.startsWith("data-v-"))return;const t=this.hasAttribute(n);let i=t?this.getAttribute(n):_0;const o=gt(n);t&&this._numberProps&&this._numberProps[o]&&(i=Su(i)),this._setProp(o,i,!1,!0)}_getProp(n){return this._props[n]}_setProp(n,t,i=!0,o=!1){if(t!==this._props[n]&&(t===_0?delete this._props[n]:(this._props[n]=t,n==="key"&&this._app&&(this._app._ceVNode.key=t)),o&&this._instance&&this._update(),i)){const a=this._ob;a&&a.disconnect(),t===!0?this.setAttribute(Ut(n),""):typeof t=="string"||typeof t=="number"?this.setAttribute(Ut(n),t+""):t||this.removeAttribute(Ut(n)),a&&a.observe(this,{attributes:!0})}}_update(){v2(this._createVNode(),this._root)}_createVNode(){const n={};this.shadowRoot||(n.onVnodeMounted=n.onVnodeUpdated=this._renderSlots.bind(this));const t=de(this._def,nt(n,this._props));return this._instance||(t.ce=i=>{this._instance=i,i.ce=this,i.isCE=!0,i.ceReload=a=>{this._styles&&(this._styles.forEach(r=>this._root.removeChild(r)),this._styles.length=0),this._applyStyles(a),this._instance=null,this._update()};const o=(a,r)=>{this.dispatchEvent(new CustomEvent(a,yr(r[0])?nt({detail:r},r[0]):{detail:r}))};i.emit=(a,...r)=>{o(a,r),Ut(a)!==a&&o(Ut(a),r)},this._setParent()}),t}_applyStyles(n,t){if(!n)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const i=this._nonce;for(let o=n.length-1;o>=0;o--){const a=document.createElement("style");if(i&&a.setAttribute("nonce",i),a.textContent=n[o],this.shadowRoot.prepend(a),t){if(t.__hmrId){this._childStyles||(this._childStyles=new Map);let r=this._childStyles.get(t.__hmrId);r||this._childStyles.set(t.__hmrId,r=[]),r.push(a)}}else(this._styles||(this._styles=[])).push(a)}}_parseSlots(){const n=this._slots={};let t;for(;t=this.firstChild;){const i=t.nodeType===1&&t.getAttribute("slot")||"default";(n[i]||(n[i]=[])).push(t),this.removeChild(t)}}_renderSlots(){const n=(this._teleportTarget||this).querySelectorAll("slot"),t=this._instance.type.__scopeId;for(let i=0;i<n.length;i++){const o=n[i],a=o.getAttribute("name")||"default",r=this._slots[a],s=o.parentNode;if(r)for(const l of r){if(t&&l.nodeType===1){const c=t+"-s",u=document.createTreeWalker(l,1);l.setAttribute(c,"");let f;for(;f=u.nextNode();)f.setAttribute(c,"")}s.insertBefore(l,o)}else for(;o.firstChild;)s.insertBefore(o.firstChild,o);s.removeChild(o)}}_injectChildStyle(n){this._applyStyles(n.styles,n)}_removeChildStyle(n){if(this._styleChildren.delete(n),this._childStyles&&n.__hmrId){const t=this._childStyles.get(n.__hmrId);t&&(t.forEach(i=>this._root.removeChild(i)),t.length=0)}}}const Xr=e=>{const n=e.props["onUpdate:modelValue"]||!1;return fe(n)?t=>uo(n,t):n};function f2(e){e.target.composing=!0}function S0(e){const n=e.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const _o=Symbol("_assign"),u2={created(e,{modifiers:{lazy:n,trim:t,number:i}},o){e[_o]=Xr(o);const a=i||o.props&&o.props.type==="number";Zi(e,n?"change":"input",r=>{if(r.target.composing)return;let s=e.value;t&&(s=s.trim()),a&&(s=hl(s)),e[_o](s)}),t&&Zi(e,"change",()=>{e.value=e.value.trim()}),n||(Zi(e,"compositionstart",f2),Zi(e,"compositionend",S0),Zi(e,"change",S0))},mounted(e,{value:n}){e.value=n??""},beforeUpdate(e,{value:n,oldValue:t,modifiers:{lazy:i,trim:o,number:a}},r){if(e[_o]=Xr(r),e.composing)return;const s=(a||e.type==="number")&&!/^0\d/.test(e.value)?hl(e.value):e.value,l=n??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(i&&n===t||o&&e.value.trim()===l)||(e.value=l))}},d2={deep:!0,created(e,n,t){e[_o]=Xr(t),Zi(e,"change",()=>{const i=e._modelValue,o=h2(e),a=e.checked,r=e[_o];if(fe(i)){const s=Tu(i,o),l=s!==-1;if(a&&!l)r(i.concat(o));else if(!a&&l){const c=[...i];c.splice(s,1),r(c)}}else if(vr(i)){const s=new Set(i);a?s.add(o):s.delete(o),r(s)}else r(I0(e,a))})},mounted:M0,beforeUpdate(e,n,t){e[_o]=Xr(t),M0(e,n,t)}};function M0(e,{value:n,oldValue:t},i){e._modelValue=n;let o;if(fe(n))o=Tu(n,i.props.value)>-1;else if(vr(n))o=n.has(i.props.value);else{if(n===t)return;o=_r(n,I0(e,!0))}e.checked!==o&&(e.checked=o)}function h2(e){return"_value"in e?e._value:e.value}function I0(e,n){const t=n?"_trueValue":"_falseValue";return t in e?e[t]:n}const p2=["ctrl","shift","alt","meta"],m2={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,n)=>p2.some(t=>e[`${t}Key`]&&!n.includes(t))},cn=(e,n)=>{const t=e._withMods||(e._withMods={}),i=n.join(".");return t[i]||(t[i]=(o,...a)=>{for(let r=0;r<n.length;r++){const s=m2[n[r]];if(s&&s(o,n))return}return e(o,...a)})},g2={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},T0=(e,n)=>{const t=e._withKeys||(e._withKeys={}),i=n.join(".");return t[i]||(t[i]=o=>{if(!("key"in o))return;const a=Ut(o.key);if(n.some(r=>r===a||g2[r]===a))return e(o)})},b2=nt({patchProp:s2},Wv);let O0;function k0(){return O0||(O0=hv(b2))}const v2=(...e)=>{k0().render(...e)},x0=(...e)=>{const n=k0().createApp(...e);A2(n),w2(n);const{mount:t}=n;return n.mount=i=>{const o=C2(i);if(!o)return;const a=n._component;!be(a)&&!a.render&&!a.template&&(a.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const r=t(o,!1,y2(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},n};function y2(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function A2(e){Object.defineProperty(e.config,"isNativeTag",{value:n=>Og(n)||kg(n)||xg(n),writable:!1})}function w2(e){{const n=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return n},set(){ln("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const t=e.config.compilerOptions,i='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return ln(i),t},set(){ln(i)}})}}function C2(e){if(Ye(e)){const n=document.querySelector(e);return n||ln(`Failed to mount app: mount target selector "${e}" returned null.`),n}return window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&ln('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}var vt=(e=>(e[e.Name=0]="Name",e[e.Email=1]="Email",e[e.Both=2]="Both",e[e.None=3]="None",e))(vt||{}),ni=(e=>(e[e.BubbleLeft=0]="BubbleLeft",e[e.BubbleRight=1]="BubbleRight",e))(ni||{}),Jt=(e=>(e[e.None=0]="None",e[e.FadeIn=1]="FadeIn",e[e.SlideLeft=2]="SlideLeft",e[e.SlideRight=3]="SlideRight",e[e.SlideUp=4]="SlideUp",e))(Jt||{}),Xt=(e=>(e[e.None=0]="None",e[e.Desktop=1]="Desktop",e[e.Mobile=2]="Mobile",e[e.Both=3]="Both",e))(Xt||{});const Ln=Symbol("myChatService"),en=Symbol("myWebRTCService"),Aa=Symbol("gaService"),Eo=Symbol("loadingService"),R0=Symbol("chatFlowControlService"),wi=Symbol("fullscreenService"),zt=Symbol("eventBus"),ic=Symbol("myPhoneChannel");var wa={},N0;function _2(){if(N0)return wa;N0=1,Object.defineProperty(wa,"__esModule",{value:!0}),wa.default=void 0;function e(a,r,s){var l=a.length;return s=s??0,s<0?s=0:s>l&&(s=l),r="".concat(r),a.slice(s,s+r.length)==r}function n(){if(typeof window>"u")return null;var a=window.navigator.languages&&window.navigator.languages[0]||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage||window.navigator.systemLanguage||null;return a}function t(a){return a.toLowerCase().replace(/-/,"_")}function i(a){if(!a)return n();var r=a.languages,s=a.fallback;if(!a.languages)return s;var l=t(n());if(!l)return s;var c=r.filter(function(f){return t(f)===l});if(c.length>0)return c[0]||s;var u=r.filter(function(f){return e(l,f)});return u[0]||s}var o=i;return wa.default=o,wa}var E2=_2();const S2=Sn(E2);var oc=function(e,n){return oc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])},oc(e,n)};function Pn(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");oc(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}var es=function(){return es=Object.assign||function(n){for(var t,i=1,o=arguments.length;i<o;i++){t=arguments[i];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(n[a]=t[a])}return n},es.apply(this,arguments)};function M2(e,n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)n.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(t[i[o]]=e[i[o]]);return t}function I2(e,n,t,i){function o(a){return a instanceof t?a:new t(function(r){r(a)})}return new(t||(t=Promise))(function(a,r){function s(u){try{c(i.next(u))}catch(f){r(f)}}function l(u){try{c(i.throw(u))}catch(f){r(f)}}function c(u){u.done?a(u.value):o(u.value).then(s,l)}c((i=i.apply(e,n||[])).next())})}function L0(e,n){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return r.next=s(0),r.throw=s(1),r.return=s(2),typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(c){return function(u){return l([c,u])}}function l(c){if(i)throw new TypeError("Generator is already executing.");for(;r&&(r=0,c[0]&&(t=0)),t;)try{if(i=1,o&&(a=c[0]&2?o.return:c[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,c[1])).done)return a;switch(o=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,o=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){t.label=c[1];break}if(c[0]===6&&t.label<a[1]){t.label=a[1],a=c;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(c);break}a[2]&&t.ops.pop(),t.trys.pop();continue}c=n.call(e,t)}catch(u){c=[6,u],o=0}finally{i=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function So(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Dn(e,n){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var i=t.call(e),o,a=[],r;try{for(;(n===void 0||n-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(s){r={error:s}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(r)throw r.error}}return a}function ii(e,n,t){if(t||arguments.length===2)for(var i=0,o=n.length,a;i<o;i++)(a||!(i in n))&&(a||(a=Array.prototype.slice.call(n,0,i)),a[i]=n[i]);return e.concat(a||Array.prototype.slice.call(n))}function Mo(e){return this instanceof Mo?(this.v=e,this):new Mo(e)}function T2(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=t.apply(e,n||[]),o,a=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",r),o[Symbol.asyncIterator]=function(){return this},o;function r(p){return function(h){return Promise.resolve(h).then(p,f)}}function s(p,h){i[p]&&(o[p]=function(b){return new Promise(function(y,g){a.push([p,b,y,g])>1||l(p,b)})},h&&(o[p]=h(o[p])))}function l(p,h){try{c(i[p](h))}catch(b){d(a[0][3],b)}}function c(p){p.value instanceof Mo?Promise.resolve(p.value.v).then(u,f):d(a[0][2],p)}function u(p){l("next",p)}function f(p){l("throw",p)}function d(p,h){p(h),a.shift(),a.length&&l(a[0][0],a[0][1])}}function O2(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof So=="function"?So(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(a){t[a]=e[a]&&function(r){return new Promise(function(s,l){r=e[a](r),o(s,l,r.done,r.value)})}}function o(a,r,s,l){Promise.resolve(l).then(function(c){a({value:c,done:s})},r)}}typeof SuppressedError=="function"&&SuppressedError;function Le(e){return typeof e=="function"}function ac(e){var n=function(i){Error.call(i),i.stack=new Error().stack},t=e(n);return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var rc=ac(function(e){return function(t){e(this),this.message=t?t.length+` errors occurred during unsubscription: `+t.map(function(i,o){return o+1+") "+i.toString()}).join(` `):"",this.name="UnsubscriptionError",this.errors=t}});function ts(e,n){if(e){var t=e.indexOf(n);0<=t&&e.splice(t,1)}}var Io=function(){function e(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var n,t,i,o,a;if(!this.closed){this.closed=!0;var r=this._parentage;if(r)if(this._parentage=null,Array.isArray(r))try{for(var s=So(r),l=s.next();!l.done;l=s.next()){var c=l.value;c.remove(this)}}catch(b){n={error:b}}finally{try{l&&!l.done&&(t=s.return)&&t.call(s)}finally{if(n)throw n.error}}else r.remove(this);var u=this.initialTeardown;if(Le(u))try{u()}catch(b){a=b instanceof rc?b.errors:[b]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var d=So(f),p=d.next();!p.done;p=d.next()){var h=p.value;try{F0(h)}catch(b){a=a??[],b instanceof rc?a=ii(ii([],Dn(a)),Dn(b.errors)):a.push(b)}}}catch(b){i={error:b}}finally{try{p&&!p.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}if(a)throw new rc(a)}},e.prototype.add=function(n){var t;if(n&&n!==this)if(this.closed)F0(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}},e.prototype._hasParent=function(n){var t=this._parentage;return t===n||Array.isArray(t)&&t.includes(n)},e.prototype._addParent=function(n){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n},e.prototype._removeParent=function(n){var t=this._parentage;t===n?this._parentage=null:Array.isArray(t)&&ts(t,n)},e.prototype.remove=function(n){var t=this._finalizers;t&&ts(t,n),n instanceof e&&n._removeParent(this)},e.EMPTY=function(){var n=new e;return n.closed=!0,n}(),e}(),P0=Io.EMPTY;function D0(e){return e instanceof Io||e&&"closed"in e&&Le(e.remove)&&Le(e.add)&&Le(e.unsubscribe)}function F0(e){Le(e)?e():e.unsubscribe()}var k2={Promise:void 0},x2={setTimeout:function(e,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];return setTimeout.apply(void 0,ii([e,n],Dn(t)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function B0(e){x2.setTimeout(function(){throw e})}function Ca(){}function ns(e){e()}var sc=function(e){Pn(n,e);function n(t){var i=e.call(this)||this;return i.isStopped=!1,t?(i.destination=t,D0(t)&&t.add(i)):i.destination=L2,i}return n.create=function(t,i,o){return new _a(t,i,o)},n.prototype.next=function(t){this.isStopped||this._next(t)},n.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(t){this.destination.next(t)},n.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(Io),R2=function(){function e(n){this.partialObserver=n}return e.prototype.next=function(n){var t=this.partialObserver;if(t.next)try{t.next(n)}catch(i){is(i)}},e.prototype.error=function(n){var t=this.partialObserver;if(t.error)try{t.error(n)}catch(i){is(i)}else is(n)},e.prototype.complete=function(){var n=this.partialObserver;if(n.complete)try{n.complete()}catch(t){is(t)}},e}(),_a=function(e){Pn(n,e);function n(t,i,o){var a=e.call(this)||this,r;return Le(t)||!t?r={next:t??void 0,error:i??void 0,complete:o??void 0}:r=t,a.destination=new R2(r),a}return n}(sc);function is(e){B0(e)}function N2(e){throw e}var L2={closed:!0,next:Ca,error:N2,complete:Ca},lc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ji(e){return e}function P2(e){return e.length===0?Ji:e.length===1?e[0]:function(t){return e.reduce(function(i,o){return o(i)},t)}}var Qe=function(){function e(n){n&&(this._subscribe=n)}return e.prototype.lift=function(n){var t=new e;return t.source=this,t.operator=n,t},e.prototype.subscribe=function(n,t,i){var o=this,a=F2(n)?n:new _a(n,t,i);return ns(function(){var r=o,s=r.operator,l=r.source;a.add(s?s.call(a,l):l?o._subscribe(a):o._trySubscribe(a))}),a},e.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(t){n.error(t)}},e.prototype.forEach=function(n,t){var i=this;return t=q0(t),new t(function(o,a){var r=new _a({next:function(s){try{n(s)}catch(l){a(l),r.unsubscribe()}},error:a,complete:o});i.subscribe(r)})},e.prototype._subscribe=function(n){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(n)},e.prototype[lc]=function(){return this},e.prototype.pipe=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return P2(n)(this)},e.prototype.toPromise=function(n){var t=this;return n=q0(n),new n(function(i,o){var a;t.subscribe(function(r){return a=r},function(r){return o(r)},function(){return i(a)})})},e.create=function(n){return new e(n)},e}();function q0(e){var n;return(n=e??k2.Promise)!==null&&n!==void 0?n:Promise}function D2(e){return e&&Le(e.next)&&Le(e.error)&&Le(e.complete)}function F2(e){return e&&e instanceof sc||D2(e)&&D0(e)}function B2(e){return Le(e==null?void 0:e.lift)}function it(e){return function(n){if(B2(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function He(e,n,t,i,o){return new q2(e,n,t,i,o)}var q2=function(e){Pn(n,e);function n(t,i,o,a,r,s){var l=e.call(this,t)||this;return l.onFinalize=r,l.shouldUnsubscribe=s,l._next=i?function(c){try{i(c)}catch(u){t.error(u)}}:e.prototype._next,l._error=a?function(c){try{a(c)}catch(u){t.error(u)}finally{this.unsubscribe()}}:e.prototype._error,l._complete=o?function(){try{o()}catch(c){t.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,l}return n.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var i=this.closed;e.prototype.unsubscribe.call(this),!i&&((t=this.onFinalize)===null||t===void 0||t.call(this))}},n}(sc),U2=ac(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Te=function(e){Pn(n,e);function n(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return n.prototype.lift=function(t){var i=new U0(this,this);return i.operator=t,i},n.prototype._throwIfClosed=function(){if(this.closed)throw new U2},n.prototype.next=function(t){var i=this;ns(function(){var o,a;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var r=So(i.currentObservers),s=r.next();!s.done;s=r.next()){var l=s.value;l.next(t)}}catch(c){o={error:c}}finally{try{s&&!s.done&&(a=r.return)&&a.call(r)}finally{if(o)throw o.error}}}})},n.prototype.error=function(t){var i=this;ns(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var o=i.observers;o.length;)o.shift().error(t)}})},n.prototype.complete=function(){var t=this;ns(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var i=t.observers;i.length;)i.shift().complete()}})},n.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(n.prototype,"observed",{get:function(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0},enumerable:!1,configurable:!0}),n.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},n.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},n.prototype._innerSubscribe=function(t){var i=this,o=this,a=o.hasError,r=o.isStopped,s=o.observers;return a||r?P0:(this.currentObservers=null,s.push(t),new Io(function(){i.currentObservers=null,ts(s,t)}))},n.prototype._checkFinalizedStatuses=function(t){var i=this,o=i.hasError,a=i.thrownError,r=i.isStopped;o?t.error(a):r&&t.complete()},n.prototype.asObservable=function(){var t=new Qe;return t.source=this,t},n.create=function(t,i){return new U0(t,i)},n}(Qe),U0=function(e){Pn(n,e);function n(t,i){var o=e.call(this)||this;return o.destination=t,o.source=i,o}return n.prototype.next=function(t){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.next)===null||o===void 0||o.call(i,t)},n.prototype.error=function(t){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.error)===null||o===void 0||o.call(i,t)},n.prototype.complete=function(){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||i===void 0||i.call(t)},n.prototype._subscribe=function(t){var i,o;return(o=(i=this.source)===null||i===void 0?void 0:i.subscribe(t))!==null&&o!==void 0?o:P0},n}(Te),To=function(e){Pn(n,e);function n(t){var i=e.call(this)||this;return i._value=t,i}return Object.defineProperty(n.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),n.prototype._subscribe=function(t){var i=e.prototype._subscribe.call(this,t);return!i.closed&&t.next(this._value),i},n.prototype.getValue=function(){var t=this,i=t.hasError,o=t.thrownError,a=t._value;if(i)throw o;return this._throwIfClosed(),a},n.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},n}(Te),cc={now:function(){return(cc.delegate||Date).now()},delegate:void 0},oi=function(e){Pn(n,e);function n(t,i,o){t===void 0&&(t=1/0),i===void 0&&(i=1/0),o===void 0&&(o=cc);var a=e.call(this)||this;return a._bufferSize=t,a._windowTime=i,a._timestampProvider=o,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=i===1/0,a._bufferSize=Math.max(1,t),a._windowTime=Math.max(1,i),a}return n.prototype.next=function(t){var i=this,o=i.isStopped,a=i._buffer,r=i._infiniteTimeWindow,s=i._timestampProvider,l=i._windowTime;o||(a.push(t),!r&&a.push(s.now()+l)),this._trimBuffer(),e.prototype.next.call(this,t)},n.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(t),o=this,a=o._infiniteTimeWindow,r=o._buffer,s=r.slice(),l=0;l<s.length&&!t.closed;l+=a?1:2)t.next(s[l]);return this._checkFinalizedStatuses(t),i},n.prototype._trimBuffer=function(){var t=this,i=t._bufferSize,o=t._timestampProvider,a=t._buffer,r=t._infiniteTimeWindow,s=(r?1:2)*i;if(i<1/0&&s<a.length&&a.splice(0,a.length-s),!r){for(var l=o.now(),c=0,u=1;u<a.length&&a[u]<=l;u+=2)c=u;c&&a.splice(0,c+1)}},n}(Te),$2=function(e){Pn(n,e);function n(t,i){return e.call(this)||this}return n.prototype.schedule=function(t,i){return this},n}(Io),$0={setInterval:function(e,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];return setInterval.apply(void 0,ii([e,n],Dn(t)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},j2=function(e){Pn(n,e);function n(t,i){var o=e.call(this,t,i)||this;return o.scheduler=t,o.work=i,o.pending=!1,o}return n.prototype.schedule=function(t,i){var o;if(i===void 0&&(i=0),this.closed)return this;this.state=t;var a=this.id,r=this.scheduler;return a!=null&&(this.id=this.recycleAsyncId(r,a,i)),this.pending=!0,this.delay=i,this.id=(o=this.id)!==null&&o!==void 0?o:this.requestAsyncId(r,this.id,i),this},n.prototype.requestAsyncId=function(t,i,o){return o===void 0&&(o=0),$0.setInterval(t.flush.bind(t,this),o)},n.prototype.recycleAsyncId=function(t,i,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return i;i!=null&&$0.clearInterval(i)},n.prototype.execute=function(t,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(t,i);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(t,i){var o=!1,a;try{this.work(t)}catch(r){o=!0,a=r||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),a},n.prototype.unsubscribe=function(){if(!this.closed){var t=this,i=t.id,o=t.scheduler,a=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,ts(a,this),i!=null&&(this.id=this.recycleAsyncId(o,i,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},n}($2),j0=function(){function e(n,t){t===void 0&&(t=e.now),this.schedulerActionCtor=n,this.now=t}return e.prototype.schedule=function(n,t,i){return t===void 0&&(t=0),new this.schedulerActionCtor(this,n).schedule(i,t)},e.now=cc.now,e}(),z2=function(e){Pn(n,e);function n(t,i){i===void 0&&(i=j0.now);var o=e.call(this,t,i)||this;return o.actions=[],o._active=!1,o}return n.prototype.flush=function(t){var i=this.actions;if(this._active){i.push(t);return}var o;this._active=!0;do if(o=t.execute(t.state,t.delay))break;while(t=i.shift());if(this._active=!1,o){for(;t=i.shift();)t.unsubscribe();throw o}},n}(j0),Oo=new z2(j2),V2=Oo,tn=new Qe(function(e){return e.complete()});function z0(e){return e&&Le(e.schedule)}function fc(e){return e[e.length-1]}function uc(e){return Le(fc(e))?e.pop():void 0}function Ea(e){return z0(fc(e))?e.pop():void 0}function H2(e,n){return typeof fc(e)=="number"?e.pop():n}var dc=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function V0(e){return Le(e==null?void 0:e.then)}function H0(e){return Le(e[lc])}function W0(e){return Symbol.asyncIterator&&Le(e==null?void 0:e[Symbol.asyncIterator])}function Y0(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function W2(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var G0=W2();function Q0(e){return Le(e==null?void 0:e[G0])}function K0(e){return T2(this,arguments,function(){var t,i,o,a;return L0(this,function(r){switch(r.label){case 0:t=e.getReader(),r.label=1;case 1:r.trys.push([1,,9,10]),r.label=2;case 2:return[4,Mo(t.read())];case 3:return i=r.sent(),o=i.value,a=i.done,a?[4,Mo(void 0)]:[3,5];case 4:return[2,r.sent()];case 5:return[4,Mo(o)];case 6:return[4,r.sent()];case 7:return r.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function Z0(e){return Le(e==null?void 0:e.getReader)}function ht(e){if(e instanceof Qe)return e;if(e!=null){if(H0(e))return Y2(e);if(dc(e))return G2(e);if(V0(e))return Q2(e);if(W0(e))return J0(e);if(Q0(e))return K2(e);if(Z0(e))return Z2(e)}throw Y0(e)}function Y2(e){return new Qe(function(n){var t=e[lc]();if(Le(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function G2(e){return new Qe(function(n){for(var t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function Q2(e){return new Qe(function(n){e.then(function(t){n.closed||(n.next(t),n.complete())},function(t){return n.error(t)}).then(null,B0)})}function K2(e){return new Qe(function(n){var t,i;try{for(var o=So(e),a=o.next();!a.done;a=o.next()){var r=a.value;if(n.next(r),n.closed)return}}catch(s){t={error:s}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}n.complete()})}function J0(e){return new Qe(function(n){J2(e,n).catch(function(t){return n.error(t)})})}function Z2(e){return J0(K0(e))}function J2(e,n){var t,i,o,a;return I2(this,void 0,void 0,function(){var r,s;return L0(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),t=O2(e),l.label=1;case 1:return[4,t.next()];case 2:if(i=l.sent(),!!i.done)return[3,4];if(r=i.value,n.next(r),n.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=l.sent(),o={error:s},[3,11];case 6:return l.trys.push([6,,9,10]),i&&!i.done&&(a=t.return)?[4,a.call(t)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return n.complete(),[2]}})})}function ai(e,n,t,i,o){i===void 0&&(i=0),o===void 0&&(o=!1);var a=n.schedule(function(){t(),o?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(a),!o)return a}function X0(e,n){return n===void 0&&(n=0),it(function(t,i){t.subscribe(He(i,function(o){return ai(i,e,function(){return i.next(o)},n)},function(){return ai(i,e,function(){return i.complete()},n)},function(o){return ai(i,e,function(){return i.error(o)},n)}))})}function eh(e,n){return n===void 0&&(n=0),it(function(t,i){i.add(e.schedule(function(){return t.subscribe(i)},n))})}function X2(e,n){return ht(e).pipe(eh(n),X0(n))}function ey(e,n){return ht(e).pipe(eh(n),X0(n))}function ty(e,n){return new Qe(function(t){var i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}function ny(e,n){return new Qe(function(t){var i;return ai(t,n,function(){i=e[G0](),ai(t,n,function(){var o,a,r;try{o=i.next(),a=o.value,r=o.done}catch(s){t.error(s);return}r?t.complete():t.next(a)},0,!0)}),function(){return Le(i==null?void 0:i.return)&&i.return()}})}function th(e,n){if(!e)throw new Error("Iterable cannot be null");return new Qe(function(t){ai(t,n,function(){var i=e[Symbol.asyncIterator]();ai(t,n,function(){i.next().then(function(o){o.done?t.complete():t.next(o.value)})},0,!0)})})}function iy(e,n){return th(K0(e),n)}function oy(e,n){if(e!=null){if(H0(e))return X2(e,n);if(dc(e))return ty(e,n);if(V0(e))return ey(e,n);if(W0(e))return th(e,n);if(Q0(e))return ny(e,n);if(Z0(e))return iy(e,n)}throw Y0(e)}function Dt(e,n){return n?oy(e,n):ht(e)}function Ke(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=Ea(e);return Dt(e,t)}function Ze(e,n){var t=Le(e)?e:function(){return e},i=function(o){return o.error(t())};return new Qe(i)}function ay(e){return!!e&&(e instanceof Qe||Le(e.lift)&&Le(e.subscribe))}function nh(e){return e instanceof Date&&!isNaN(e)}var ry=ac(function(e){return function(t){t===void 0&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}});function sy(e,n){var t=nh(e)?{first:e}:typeof e=="number"?{each:e}:e,i=t.first,o=t.each,a=t.with,r=a===void 0?ly:a,s=t.scheduler,l=s===void 0?Oo:s,c=t.meta,u=c===void 0?null:c;if(i==null&&o==null)throw new TypeError("No timeout provided.");return it(function(f,d){var p,h,b=null,y=0,g=function(C){h=ai(d,l,function(){try{p.unsubscribe(),ht(r({meta:u,lastValue:b,seen:y})).subscribe(d)}catch(E){d.error(E)}},C)};p=f.subscribe(He(d,function(C){h==null||h.unsubscribe(),y++,d.next(b=C),o>0&&g(o)},void 0,void 0,function(){h!=null&&h.closed||h==null||h.unsubscribe(),b=null})),!y&&g(i!=null?typeof i=="number"?i:+i-l.now():o)})}function ly(e){throw new ry(e)}function yt(e,n){return it(function(t,i){var o=0;t.subscribe(He(i,function(a){i.next(e.call(n,a,o++))}))})}var cy=Array.isArray;function fy(e,n){return cy(n)?e.apply(void 0,ii([],Dn(n))):e(n)}function ih(e){return yt(function(n){return fy(e,n)})}var uy=Array.isArray,dy=Object.getPrototypeOf,hy=Object.prototype,py=Object.keys;function my(e){if(e.length===1){var n=e[0];if(uy(n))return{args:n,keys:null};if(gy(n)){var t=py(n);return{args:t.map(function(i){return n[i]}),keys:t}}}return{args:e,keys:null}}function gy(e){return e&&typeof e=="object"&&dy(e)===hy}function by(e,n){return e.reduce(function(t,i,o){return t[i]=n[o],t},{})}function vy(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=Ea(e),i=uc(e),o=my(e),a=o.args,r=o.keys;if(a.length===0)return Dt([],t);var s=new Qe(yy(a,t,r?function(l){return by(r,l)}:Ji));return i?s.pipe(ih(i)):s}function yy(e,n,t){return t===void 0&&(t=Ji),function(i){oh(n,function(){for(var o=e.length,a=new Array(o),r=o,s=o,l=function(u){oh(n,function(){var f=Dt(e[u],n),d=!1;f.subscribe(He(i,function(p){a[u]=p,d||(d=!0,s--),s||i.next(t(a.slice()))},function(){--r||i.complete()}))},i)},c=0;c<o;c++)l(c)},i)}}function oh(e,n,t){e?ai(t,e,n):n()}function Ay(e,n,t,i,o,a,r,s){var l=[],c=0,u=0,f=!1,d=function(){f&&!l.length&&!c&&n.complete()},p=function(b){return c<i?h(b):l.push(b)},h=function(b){c++;var y=!1;ht(t(b,u++)).subscribe(He(n,function(g){n.next(g)},function(){y=!0},void 0,function(){if(y)try{c--;for(var g=function(){var C=l.shift();r||h(C)};l.length&&c<i;)g();d()}catch(C){n.error(C)}}))};return e.subscribe(He(n,p,function(){f=!0,d()})),function(){}}function ko(e,n,t){return t===void 0&&(t=1/0),Le(n)?ko(function(i,o){return yt(function(a,r){return n(i,a,o,r)})(ht(e(i,o)))},t):(typeof n=="number"&&(t=n),it(function(i,o){return Ay(i,o,e,t)}))}function ah(e){return e===void 0&&(e=1/0),ko(Ji,e)}function wy(){return ah(1)}function os(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wy()(Dt(e,Ea(e)))}var Cy=["addListener","removeListener"],_y=["addEventListener","removeEventListener"],Ey=["on","off"];function xo(e,n,t,i){if(Le(t)&&(i=t,t=void 0),i)return xo(e,n,t).pipe(ih(i));var o=Dn(Iy(e)?_y.map(function(s){return function(l){return e[s](n,l,t)}}):Sy(e)?Cy.map(rh(e,n)):My(e)?Ey.map(rh(e,n)):[],2),a=o[0],r=o[1];if(!a&&dc(e))return ko(function(s){return xo(s,n,t)})(ht(e));if(!a)throw new TypeError("Invalid event target");return new Qe(function(s){var l=function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return s.next(1<c.length?c:c[0])};return a(l),function(){return r(l)}})}function rh(e,n){return function(t){return function(i){return e[t](n,i)}}}function Sy(e){return Le(e.addListener)&&Le(e.removeListener)}function My(e){return Le(e.on)&&Le(e.off)}function Iy(e){return Le(e.addEventListener)&&Le(e.removeEventListener)}function hc(e,n,t){e===void 0&&(e=0),t===void 0&&(t=V2);var i=-1;return n!=null&&(z0(n)?t=n:i=n),new Qe(function(o){var a=nh(e)?+e-t.now():e;a<0&&(a=0);var r=0;return t.schedule(function(){o.closed||(o.next(r++),0<=i?this.schedule(void 0,i):o.complete())},a)})}function Ty(e,n){return n===void 0&&(n=Oo),hc(e,e,n)}function pc(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=Ea(e),i=H2(e,1/0),o=e;return o.length?o.length===1?ht(o[0]):ah(i)(Dt(o,t)):tn}var Oy=Array.isArray;function ky(e){return e.length===1&&Oy(e[0])?e[0]:e}function Cn(e,n){return it(function(t,i){var o=0;t.subscribe(He(i,function(a){return e.call(n,a,o++)&&i.next(a)}))})}function xy(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=uc(e),i=ky(e);return i.length?new Qe(function(o){var a=i.map(function(){return[]}),r=i.map(function(){return!1});o.add(function(){a=r=null});for(var s=function(c){ht(i[c]).subscribe(He(o,function(u){if(a[c].push(u),a.every(function(d){return d.length})){var f=a.map(function(d){return d.shift()});o.next(t?t.apply(void 0,ii([],Dn(f))):f),a.some(function(d,p){return!d.length&&r[p]})&&o.complete()}},function(){r[c]=!0,!a[c].length&&o.complete()}))},l=0;!o.closed&&l<i.length;l++)s(l);return function(){a=r=null}}):tn}function Ry(e){return it(function(n,t){var i=[];return n.subscribe(He(t,function(o){return i.push(o)},function(){t.next(i),t.complete()})),ht(e).subscribe(He(t,function(){var o=i;i=[],t.next(o)},Ca)),function(){i=null}})}function fn(e){return it(function(n,t){var i=null,o=!1,a;i=n.subscribe(He(t,void 0,void 0,function(r){a=ht(e(r,fn(e)(n))),i?(i.unsubscribe(),i=null,a.subscribe(t)):o=!0})),o&&(i.unsubscribe(),i=null,a.subscribe(t))})}function Ny(e,n,t,i,o){return function(a,r){var s=t,l=n,c=0;a.subscribe(He(r,function(u){var f=c++;l=s?e(l,u,f):(s=!0,u),r.next(l)},o))}}function sh(e,n){return Le(n)?ko(e,n,1):ko(e,1)}function Ly(e,n){return n===void 0&&(n=Oo),it(function(t,i){var o=null,a=null,r=null,s=function(){if(o){o.unsubscribe(),o=null;var c=a;a=null,i.next(c)}};function l(){var c=r+e,u=n.now();if(u<c){o=this.schedule(void 0,c-u),i.add(o);return}s()}t.subscribe(He(i,function(c){a=c,r=n.now(),o||(o=n.schedule(l,e),i.add(o))},function(){s(),i.complete()},void 0,function(){a=o=null}))})}function Fn(e){return e<=0?function(){return tn}:it(function(n,t){var i=0;n.subscribe(He(t,function(o){++i<=e&&(t.next(o),e<=i&&t.complete())}))})}function Py(e){return yt(function(){return e})}function Dy(e,n){return ko(function(t,i){return ht(e(t,i)).pipe(Fn(1),Py(t))})}function Sa(e,n){n===void 0&&(n=Oo);var t=hc(e,n);return Dy(function(){return t})}function Ma(e,n){return n===void 0&&(n=Ji),e=e??Fy,it(function(t,i){var o,a=!0;t.subscribe(He(i,function(r){var s=n(r);(a||!e(o,s))&&(a=!1,o=s,i.next(r))}))})}function Fy(e,n){return e===n}function By(e){return it(function(n,t){try{n.subscribe(t)}finally{t.add(e)}})}function qy(){return it(function(e,n){var t,i=!1;e.subscribe(He(n,function(o){var a=t;t=o,i&&n.next([a,o]),i=!0}))})}function mc(e,n){return it(Ny(e,n,arguments.length>=2,!0))}function gc(e){e===void 0&&(e={});var n=e.connector,t=n===void 0?function(){return new Te}:n,i=e.resetOnError,o=i===void 0?!0:i,a=e.resetOnComplete,r=a===void 0?!0:a,s=e.resetOnRefCountZero,l=s===void 0?!0:s;return function(c){var u,f,d,p=0,h=!1,b=!1,y=function(){f==null||f.unsubscribe(),f=void 0},g=function(){y(),u=d=void 0,h=b=!1},C=function(){var E=u;g(),E==null||E.unsubscribe()};return it(function(E,x){p++,!b&&!h&&y();var M=d=d??t();x.add(function(){p--,p===0&&!b&&!h&&(f=bc(C,l))}),M.subscribe(x),!u&&p>0&&(u=new _a({next:function(U){return M.next(U)},error:function(U){b=!0,y(),f=bc(g,o,U),M.error(U)},complete:function(){h=!0,y(),f=bc(g,r),M.complete()}}),ht(E).subscribe(u))})(c)}}function bc(e,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];if(n===!0){e();return}if(n!==!1){var o=new _a({next:function(){o.unsubscribe(),e()}});return ht(n.apply(void 0,ii([],Dn(t)))).subscribe(o)}}function Uy(e,n,t){var i,o=!1;return i=e,gc({connector:function(){return new oi(i,n,t)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function $y(e){return it(function(n,t){var i=!1,o=0;n.subscribe(He(t,function(a){return(i||(i=!e(a,o++)))&&t.next(a)}))})}function vc(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=Ea(e);return it(function(i,o){(t?os(e,i,t):os(e,i)).subscribe(o)})}function we(e,n){return it(function(t,i){var o=null,a=0,r=!1,s=function(){return r&&!o&&i.complete()};t.subscribe(He(i,function(l){o==null||o.unsubscribe();var c=0,u=a++;ht(e(l,u)).subscribe(o=He(i,function(f){return i.next(n?n(l,f,u,c++):f)},function(){o=null,s()}))},function(){r=!0,s()}))})}function as(e){return it(function(n,t){ht(e).subscribe(He(t,function(){return t.complete()},Ca)),!t.closed&&n.subscribe(t)})}function Ci(e,n,t){var i=Le(e)||n||t?{next:e,error:n,complete:t}:e;return i?it(function(o,a){var r;(r=i.subscribe)===null||r===void 0||r.call(i);var s=!0;o.subscribe(He(a,function(l){var c;(c=i.next)===null||c===void 0||c.call(i,l),a.next(l)},function(){var l;s=!1,(l=i.complete)===null||l===void 0||l.call(i),a.complete()},function(l){var c;s=!1,(c=i.error)===null||c===void 0||c.call(i,l),a.error(l)},function(){var l,c;s&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):Ji}function jy(e,n){return it(function(t,i){var o=n??{},a=o.leading,r=a===void 0?!0:a,s=o.trailing,l=s===void 0?!1:s,c=!1,u=null,f=null,d=!1,p=function(){f==null||f.unsubscribe(),f=null,l&&(y(),d&&i.complete())},h=function(){f=null,d&&i.complete()},b=function(g){return f=ht(e(g)).subscribe(He(i,p,h))},y=function(){if(c){c=!1;var g=u;u=null,i.next(g),!d&&b(g)}};t.subscribe(He(i,function(g){c=!0,u=g,!(f&&!f.closed)&&(r?y():b(g))},function(){d=!0,!(l&&c&&f&&!f.closed)&&i.complete()}))})}function lh(e,n,t){n===void 0&&(n=Oo);var i=hc(e,n);return jy(function(){return i},t)}function ch(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=uc(e);return it(function(i,o){for(var a=e.length,r=new Array(a),s=e.map(function(){return!1}),l=!1,c=function(f){ht(e[f]).subscribe(He(o,function(d){r[f]=d,!l&&!s[f]&&(s[f]=!0,(l=s.every(Ji))&&(s=null))},Ca))},u=0;u<a;u++)c(u);i.subscribe(He(o,function(f){if(l){var d=ii([f],Dn(r));o.next(t?t.apply(void 0,ii([],Dn(d))):d)}}))})}var Bn=(e=>(e[e.Idle=0]="Idle",e[e.Error=1]="Error",e[e.Connected=2]="Connected",e))(Bn||{}),ye=(e=>(e[e.None=0]="None",e[e.Chat=1]="Chat",e[e.Authenticate=2]="Authenticate",e[e.Intro=3]="Intro",e[e.Disabled=4]="Disabled",e[e.Call=5]="Call",e))(ye||{}),nn=(e=>(e[e.NoError=0]="NoError",e[e.CanRetry=1]="CanRetry",e[e.NoRetry=2]="NoRetry",e[e.UnsupportedFile=3]="UnsupportedFile",e[e.FileError=4]="FileError",e))(nn||{}),At=(e=>(e[e.MISSED=0]="MISSED",e[e.OLD_ENDED=1]="OLD_ENDED",e[e.PENDING_AGENT=2]="PENDING_AGENT",e[e.ACTIVE=3]="ACTIVE",e[e.BROWSE=5]="BROWSE",e[e.NOT_STARTED=17]="NOT_STARTED",e[e.ENDED_BY_AGENT=16]="ENDED_BY_AGENT",e[e.ENDED_BY_CLIENT=15]="ENDED_BY_CLIENT",e[e.ENDED_DUE_AGENT_INACTIVITY=14]="ENDED_DUE_AGENT_INACTIVITY",e[e.ENDED_DUE_CLIENT_INACTIVITY=13]="ENDED_DUE_CLIENT_INACTIVITY",e[e.ENDED_DUE_BLOCK=18]="ENDED_DUE_BLOCK",e))(At||{}),ri=(e=>(e[e.Chat=0]="Chat",e[e.OfflineForm=1]="OfflineForm",e[e.Rate=2]="Rate",e[e.Auth=3]="Auth",e))(ri||{}),Ft=(e=>(e[e.Text=0]="Text",e[e.SingleChoice=1]="SingleChoice",e[e.MultipleChoice=2]="MultipleChoice",e))(Ft||{}),_i=(e=>(e[e.Text=0]="Text",e[e.File=1]="File",e[e.Options=2]="Options",e))(_i||{}),un=(e=>(e[e.Normal=0]="Normal",e[e.Completed=1]="Completed",e))(un||{}),yc={},rs={},Ac,fh;function zy(){if(fh)return Ac;fh=1,Ac=e;function e(n,t){for(var i=new Array(arguments.length-1),o=0,a=2,r=!0;a<arguments.length;)i[o++]=arguments[a++];return new Promise(function(l,c){i[o]=function(f){if(r)if(r=!1,f)c(f);else{for(var d=new Array(arguments.length-1),p=0;p<d.length;)d[p++]=arguments[p];l.apply(null,d)}};try{n.apply(t||null,i)}catch(u){r&&(r=!1,c(u))}})}return Ac}var wc={},uh;function Vy(){return uh||(uh=1,function(e){var n=e;n.length=function(s){var l=s.length;if(!l)return 0;for(var c=0;--l%4>1&&s.charAt(l)==="=";)++c;return Math.ceil(s.length*3)/4-c};for(var t=new Array(64),i=new Array(123),o=0;o<64;)i[t[o]=o<26?o+65:o<52?o+71:o<62?o-4:o-59|43]=o++;n.encode=function(s,l,c){for(var u=null,f=[],d=0,p=0,h;l<c;){var b=s[l++];switch(p){case 0:f[d++]=t[b>>2],h=(b&3)<<4,p=1;break;case 1:f[d++]=t[h|b>>4],h=(b&15)<<2,p=2;break;case 2:f[d++]=t[h|b>>6],f[d++]=t[b&63],p=0;break}d>8191&&((u||(u=[])).push(String.fromCharCode.apply(String,f)),d=0)}return p&&(f[d++]=t[h],f[d++]=61,p===1&&(f[d++]=61)),u?(d&&u.push(String.fromCharCode.apply(String,f.slice(0,d))),u.join("")):String.fromCharCode.apply(String,f.slice(0,d))};var a="invalid encoding";n.decode=function(s,l,c){for(var u=c,f=0,d,p=0;p<s.length;){var h=s.charCodeAt(p++);if(h===61&&f>1)break;if((h=i[h])===void 0)throw Error(a);switch(f){case 0:d=h,f=1;break;case 1:l[c++]=d<<2|(h&48)>>4,d=h,f=2;break;case 2:l[c++]=(d&15)<<4|(h&60)>>2,d=h,f=3;break;case 3:l[c++]=(d&3)<<6|h,f=0;break}}if(f===1)throw Error(a);return c-u},n.test=function(s){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(s)}}(wc)),wc}var Cc,dh;function Hy(){if(dh)return Cc;dh=1,Cc=e;function e(){this._listeners={}}return e.prototype.on=function(t,i,o){return(this._listeners[t]||(this._listeners[t]=[])).push({fn:i,ctx:o||this}),this},e.prototype.off=function(t,i){if(t===void 0)this._listeners={};else if(i===void 0)this._listeners[t]=[];else for(var o=this._listeners[t],a=0;a<o.length;)o[a].fn===i?o.splice(a,1):++a;return this},e.prototype.emit=function(t){var i=this._listeners[t];if(i){for(var o=[],a=1;a<arguments.length;)o.push(arguments[a++]);for(a=0;a<i.length;)i[a].fn.apply(i[a++].ctx,o)}return this},Cc}var _c,hh;function Wy(){if(hh)return _c;hh=1,_c=e(e);function e(a){return typeof Float32Array<"u"?function(){var r=new Float32Array([-0]),s=new Uint8Array(r.buffer),l=s[3]===128;function c(p,h,b){r[0]=p,h[b]=s[0],h[b+1]=s[1],h[b+2]=s[2],h[b+3]=s[3]}function u(p,h,b){r[0]=p,h[b]=s[3],h[b+1]=s[2],h[b+2]=s[1],h[b+3]=s[0]}a.writeFloatLE=l?c:u,a.writeFloatBE=l?u:c;function f(p,h){return s[0]=p[h],s[1]=p[h+1],s[2]=p[h+2],s[3]=p[h+3],r[0]}function d(p,h){return s[3]=p[h],s[2]=p[h+1],s[1]=p[h+2],s[0]=p[h+3],r[0]}a.readFloatLE=l?f:d,a.readFloatBE=l?d:f}():function(){function r(l,c,u,f){var d=c<0?1:0;if(d&&(c=-c),c===0)l(1/c>0?0:2147483648,u,f);else if(isNaN(c))l(2143289344,u,f);else if(c>34028234663852886e22)l((d<<31|2139095040)>>>0,u,f);else if(c<11754943508222875e-54)l((d<<31|Math.round(c/1401298464324817e-60))>>>0,u,f);else{var p=Math.floor(Math.log(c)/Math.LN2),h=Math.round(c*Math.pow(2,-p)*8388608)&8388607;l((d<<31|p+127<<23|h)>>>0,u,f)}}a.writeFloatLE=r.bind(null,n),a.writeFloatBE=r.bind(null,t);function s(l,c,u){var f=l(c,u),d=(f>>31)*2+1,p=f>>>23&255,h=f&8388607;return p===255?h?NaN:d*(1/0):p===0?d*1401298464324817e-60*h:d*Math.pow(2,p-150)*(h+8388608)}a.readFloatLE=s.bind(null,i),a.readFloatBE=s.bind(null,o)}(),typeof Float64Array<"u"?function(){var r=new Float64Array([-0]),s=new Uint8Array(r.buffer),l=s[7]===128;function c(p,h,b){r[0]=p,h[b]=s[0],h[b+1]=s[1],h[b+2]=s[2],h[b+3]=s[3],h[b+4]=s[4],h[b+5]=s[5],h[b+6]=s[6],h[b+7]=s[7]}function u(p,h,b){r[0]=p,h[b]=s[7],h[b+1]=s[6],h[b+2]=s[5],h[b+3]=s[4],h[b+4]=s[3],h[b+5]=s[2],h[b+6]=s[1],h[b+7]=s[0]}a.writeDoubleLE=l?c:u,a.writeDoubleBE=l?u:c;function f(p,h){return s[0]=p[h],s[1]=p[h+1],s[2]=p[h+2],s[3]=p[h+3],s[4]=p[h+4],s[5]=p[h+5],s[6]=p[h+6],s[7]=p[h+7],r[0]}function d(p,h){return s[7]=p[h],s[6]=p[h+1],s[5]=p[h+2],s[4]=p[h+3],s[3]=p[h+4],s[2]=p[h+5],s[1]=p[h+6],s[0]=p[h+7],r[0]}a.readDoubleLE=l?f:d,a.readDoubleBE=l?d:f}():function(){function r(l,c,u,f,d,p){var h=f<0?1:0;if(h&&(f=-f),f===0)l(0,d,p+c),l(1/f>0?0:2147483648,d,p+u);else if(isNaN(f))l(0,d,p+c),l(2146959360,d,p+u);else if(f>17976931348623157e292)l(0,d,p+c),l((h<<31|2146435072)>>>0,d,p+u);else{var b;if(f<22250738585072014e-324)b=f/5e-324,l(b>>>0,d,p+c),l((h<<31|b/4294967296)>>>0,d,p+u);else{var y=Math.floor(Math.log(f)/Math.LN2);y===1024&&(y=1023),b=f*Math.pow(2,-y),l(b*4503599627370496>>>0,d,p+c),l((h<<31|y+1023<<20|b*1048576&1048575)>>>0,d,p+u)}}}a.writeDoubleLE=r.bind(null,n,0,4),a.writeDoubleBE=r.bind(null,t,4,0);function s(l,c,u,f,d){var p=l(f,d+c),h=l(f,d+u),b=(h>>31)*2+1,y=h>>>20&2047,g=4294967296*(h&1048575)+p;return y===2047?g?NaN:b*(1/0):y===0?b*5e-324*g:b*Math.pow(2,y-1075)*(g+4503599627370496)}a.readDoubleLE=s.bind(null,i,0,4),a.readDoubleBE=s.bind(null,o,4,0)}(),a}function n(a,r,s){r[s]=a&255,r[s+1]=a>>>8&255,r[s+2]=a>>>16&255,r[s+3]=a>>>24}function t(a,r,s){r[s]=a>>>24,r[s+1]=a>>>16&255,r[s+2]=a>>>8&255,r[s+3]=a&255}function i(a,r){return(a[r]|a[r+1]<<8|a[r+2]<<16|a[r+3]<<24)>>>0}function o(a,r){return(a[r]<<24|a[r+1]<<16|a[r+2]<<8|a[r+3])>>>0}return _c}var Ec,ph;function Yy(){if(ph)return Ec;ph=1,Ec=e;function e(n){return null}return Ec}var Sc={},mh;function Gy(){return mh||(mh=1,function(e){var n=e;n.length=function(i){for(var o=0,a=0,r=0;r<i.length;++r)a=i.charCodeAt(r),a<128?o+=1:a<2048?o+=2:(a&64512)===55296&&(i.charCodeAt(r+1)&64512)===56320?(++r,o+=4):o+=3;return o},n.read=function(i,o,a){var r=a-o;if(r<1)return"";for(var s=null,l=[],c=0,u;o<a;)u=i[o++],u<128?l[c++]=u:u>191&&u<224?l[c++]=(u&31)<<6|i[o++]&63:u>239&&u<365?(u=((u&7)<<18|(i[o++]&63)<<12|(i[o++]&63)<<6|i[o++]&63)-65536,l[c++]=55296+(u>>10),l[c++]=56320+(u&1023)):l[c++]=(u&15)<<12|(i[o++]&63)<<6|i[o++]&63,c>8191&&((s||(s=[])).push(String.fromCharCode.apply(String,l)),c=0);return s?(c&&s.push(String.fromCharCode.apply(String,l.slice(0,c))),s.join("")):String.fromCharCode.apply(String,l.slice(0,c))},n.write=function(i,o,a){for(var r=a,s,l,c=0;c<i.length;++c)s=i.charCodeAt(c),s<128?o[a++]=s:s<2048?(o[a++]=s>>6|192,o[a++]=s&63|128):(s&64512)===55296&&((l=i.charCodeAt(c+1))&64512)===56320?(s=65536+((s&1023)<<10)+(l&1023),++c,o[a++]=s>>18|240,o[a++]=s>>12&63|128,o[a++]=s>>6&63|128,o[a++]=s&63|128):(o[a++]=s>>12|224,o[a++]=s>>6&63|128,o[a++]=s&63|128);return a-r}}(Sc)),Sc}var Mc,gh;function Qy(){if(gh)return Mc;gh=1,Mc=e;function e(n,t,i){var o=i||8192,a=o>>>1,r=null,s=o;return function(c){if(c<1||c>a)return n(c);s+c>o&&(r=n(o),s=0);var u=t.call(r,s,s+=c);return s&7&&(s=(s|7)+1),u}}return Mc}var Ic,bh;function Ky(){if(bh)return Ic;bh=1,Ic=n;var e=Xi();function n(a,r){this.lo=a>>>0,this.hi=r>>>0}var t=n.zero=new n(0,0);t.toNumber=function(){return 0},t.zzEncode=t.zzDecode=function(){return this},t.length=function(){return 1};var i=n.zeroHash="\0\0\0\0\0\0\0\0";n.fromNumber=function(r){if(r===0)return t;var s=r<0;s&&(r=-r);var l=r>>>0,c=(r-l)/4294967296>>>0;return s&&(c=~c>>>0,l=~l>>>0,++l>4294967295&&(l=0,++c>4294967295&&(c=0))),new n(l,c)},n.from=function(r){if(typeof r=="number")return n.fromNumber(r);if(e.isString(r))if(e.Long)r=e.Long.fromString(r);else return n.fromNumber(parseInt(r,10));return r.low||r.high?new n(r.low>>>0,r.high>>>0):t},n.prototype.toNumber=function(r){if(!r&&this.hi>>>31){var s=~this.lo+1>>>0,l=~this.hi>>>0;return s||(l=l+1>>>0),-(s+l*4294967296)}return this.lo+this.hi*4294967296},n.prototype.toLong=function(r){return e.Long?new e.Long(this.lo|0,this.hi|0,!!r):{low:this.lo|0,high:this.hi|0,unsigned:!!r}};var o=String.prototype.charCodeAt;return n.fromHash=function(r){return r===i?t:new n((o.call(r,0)|o.call(r,1)<<8|o.call(r,2)<<16|o.call(r,3)<<24)>>>0,(o.call(r,4)|o.call(r,5)<<8|o.call(r,6)<<16|o.call(r,7)<<24)>>>0)},n.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},n.prototype.zzEncode=function(){var r=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^r)>>>0,this.lo=(this.lo<<1^r)>>>0,this},n.prototype.zzDecode=function(){var r=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^r)>>>0,this.hi=(this.hi>>>1^r)>>>0,this},n.prototype.length=function(){var r=this.lo,s=(this.lo>>>28|this.hi<<4)>>>0,l=this.hi>>>24;return l===0?s===0?r<16384?r<128?1:2:r<2097152?3:4:s<16384?s<128?5:6:s<2097152?7:8:l<128?9:10},Ic}var vh;function Xi(){return vh||(vh=1,function(e){var n=e;n.asPromise=zy(),n.base64=Vy(),n.EventEmitter=Hy(),n.float=Wy(),n.inquire=Yy(),n.utf8=Gy(),n.pool=Qy(),n.LongBits=Ky(),n.isNode=!!(typeof mt<"u"&&mt&&mt.process&&mt.process.versions&&mt.process.versions.node),n.global=n.isNode&&mt||typeof window<"u"&&window||typeof self<"u"&&self||rs,n.emptyArray=Object.freeze?Object.freeze([]):[],n.emptyObject=Object.freeze?Object.freeze({}):{},n.isInteger=Number.isInteger||function(a){return typeof a=="number"&&isFinite(a)&&Math.floor(a)===a},n.isString=function(a){return typeof a=="string"||a instanceof String},n.isObject=function(a){return a&&typeof a=="object"},n.isset=n.isSet=function(a,r){var s=a[r];return s!=null&&a.hasOwnProperty(r)?typeof s!="object"||(Array.isArray(s)?s.length:Object.keys(s).length)>0:!1},n.Buffer=function(){try{var o=n.inquire("buffer").Buffer;return o.prototype.utf8Write?o:null}catch{return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(a){return typeof a=="number"?n.Buffer?n._Buffer_allocUnsafe(a):new n.Array(a):n.Buffer?n._Buffer_from(a):typeof Uint8Array>"u"?a:new Uint8Array(a)},n.Array=typeof Uint8Array<"u"?Uint8Array:Array,n.Long=n.global.dcodeIO&&n.global.dcodeIO.Long||n.global.Long||n.inquire("long"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(a){return a?n.LongBits.from(a).toHash():n.LongBits.zeroHash},n.longFromHash=function(a,r){var s=n.LongBits.fromHash(a);return n.Long?n.Long.fromBits(s.lo,s.hi,r):s.toNumber(!!r)};function t(o,a,r){for(var s=Object.keys(a),l=0;l<s.length;++l)(o[s[l]]===void 0||!r)&&(o[s[l]]=a[s[l]]);return o}n.merge=t,n.lcFirst=function(a){return a.charAt(0).toLowerCase()+a.substring(1)};function i(o){function a(r,s){if(!(this instanceof a))return new a(r,s);Object.defineProperty(this,"message",{get:function(){return r}}),Error.captureStackTrace?Error.captureStackTrace(this,a):Object.defineProperty(this,"stack",{value:new Error().stack||""}),s&&t(this,s)}return a.prototype=Object.create(Error.prototype,{constructor:{value:a,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return o},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),a}n.newError=i,n.ProtocolError=i("ProtocolError"),n.oneOfGetter=function(a){for(var r={},s=0;s<a.length;++s)r[a[s]]=1;return function(){for(var l=Object.keys(this),c=l.length-1;c>-1;--c)if(r[l[c]]===1&&this[l[c]]!==void 0&&this[l[c]]!==null)return l[c]}},n.oneOfSetter=function(a){return function(r){for(var s=0;s<a.length;++s)a[s]!==r&&delete this[a[s]]}},n.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},n._configure=function(){var o=n.Buffer;if(!o){n._Buffer_from=n._Buffer_allocUnsafe=null;return}n._Buffer_from=o.from!==Uint8Array.from&&o.from||function(r,s){return new o(r,s)},n._Buffer_allocUnsafe=o.allocUnsafe||function(r){return new o(r)}}}(rs)),rs}var Tc,yh;function Ah(){if(yh)return Tc;yh=1,Tc=l;var e=Xi(),n,t=e.LongBits,i=e.base64,o=e.utf8;function a(y,g,C){this.fn=y,this.len=g,this.next=void 0,this.val=C}function r(){}function s(y){this.head=y.head,this.tail=y.tail,this.len=y.len,this.next=y.states}function l(){this.len=0,this.head=new a(r,0,0),this.tail=this.head,this.states=null}var c=function(){return e.Buffer?function(){return(l.create=function(){return new n})()}:function(){return new l}};l.create=c(),l.alloc=function(g){return new e.Array(g)},e.Array!==Array&&(l.alloc=e.pool(l.alloc,e.Array.prototype.subarray)),l.prototype._push=function(g,C,E){return this.tail=this.tail.next=new a(g,C,E),this.len+=C,this};function u(y,g,C){g[C]=y&255}function f(y,g,C){for(;y>127;)g[C++]=y&127|128,y>>>=7;g[C]=y}function d(y,g){this.len=y,this.next=void 0,this.val=g}d.prototype=Object.create(a.prototype),d.prototype.fn=f,l.prototype.uint32=function(g){return this.len+=(this.tail=this.tail.next=new d((g=g>>>0)<128?1:g<16384?2:g<2097152?3:g<268435456?4:5,g)).len,this},l.prototype.int32=function(g){return g<0?this._push(p,10,t.fromNumber(g)):this.uint32(g)},l.prototype.sint32=function(g){return this.uint32((g<<1^g>>31)>>>0)};function p(y,g,C){for(;y.hi;)g[C++]=y.lo&127|128,y.lo=(y.lo>>>7|y.hi<<25)>>>0,y.hi>>>=7;for(;y.lo>127;)g[C++]=y.lo&127|128,y.lo=y.lo>>>7;g[C++]=y.lo}l.prototype.uint64=function(g){var C=t.from(g);return this._push(p,C.length(),C)},l.prototype.int64=l.prototype.uint64,l.prototype.sint64=function(g){var C=t.from(g).zzEncode();return this._push(p,C.length(),C)},l.prototype.bool=function(g){return this._push(u,1,g?1:0)};function h(y,g,C){g[C]=y&255,g[C+1]=y>>>8&255,g[C+2]=y>>>16&255,g[C+3]=y>>>24}l.prototype.fixed32=function(g){return this._push(h,4,g>>>0)},l.prototype.sfixed32=l.prototype.fixed32,l.prototype.fixed64=function(g){var C=t.from(g);return this._push(h,4,C.lo)._push(h,4,C.hi)},l.prototype.sfixed64=l.prototype.fixed64,l.prototype.float=function(g){return this._push(e.float.writeFloatLE,4,g)},l.prototype.double=function(g){return this._push(e.float.writeDoubleLE,8,g)};var b=e.Array.prototype.set?function(g,C,E){C.set(g,E)}:function(g,C,E){for(var x=0;x<g.length;++x)C[E+x]=g[x]};return l.prototype.bytes=function(g){var C=g.length>>>0;if(!C)return this._push(u,1,0);if(e.isString(g)){var E=l.alloc(C=i.length(g));i.decode(g,E,0),g=E}return this.uint32(C)._push(b,C,g)},l.prototype.string=function(g){var C=o.length(g);return C?this.uint32(C)._push(o.write,C,g):this._push(u,1,0)},l.prototype.fork=function(){return this.states=new s(this),this.head=this.tail=new a(r,0,0),this.len=0,this},l.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new a(r,0,0),this.len=0),this},l.prototype.ldelim=function(){var g=this.head,C=this.tail,E=this.len;return this.reset().uint32(E),E&&(this.tail.next=g.next,this.tail=C,this.len+=E),this},l.prototype.finish=function(){for(var g=this.head.next,C=this.constructor.alloc(this.len),E=0;g;)g.fn(g.val,C,E),E+=g.len,g=g.next;return C},l._configure=function(y){n=y,l.create=c(),n._configure()},Tc}var Oc,wh;function Zy(){if(wh)return Oc;wh=1,Oc=t;var e=Ah();(t.prototype=Object.create(e.prototype)).constructor=t;var n=Xi();function t(){e.call(this)}t._configure=function(){t.alloc=n._Buffer_allocUnsafe,t.writeBytesBuffer=n.Buffer&&n.Buffer.prototype instanceof Uint8Array&&n.Buffer.prototype.set.name==="set"?function(a,r,s){r.set(a,s)}:function(a,r,s){if(a.copy)a.copy(r,s,0,a.length);else for(var l=0;l<a.length;)r[s++]=a[l++]}},t.prototype.bytes=function(a){n.isString(a)&&(a=n._Buffer_from(a,"base64"));var r=a.length>>>0;return this.uint32(r),r&&this._push(t.writeBytesBuffer,r,a),this};function i(o,a,r){o.length<40?n.utf8.write(o,a,r):a.utf8Write?a.utf8Write(o,r):a.write(o,r)}return t.prototype.string=function(a){var r=n.Buffer.byteLength(a);return this.uint32(r),r&&this._push(i,r,a),this},t._configure(),Oc}var kc,Ch;function _h(){if(Ch)return kc;Ch=1,kc=a;var e=Xi(),n,t=e.LongBits,i=e.utf8;function o(f,d){return RangeError("index out of range: "+f.pos+" + "+(d||1)+" > "+f.len)}function a(f){this.buf=f,this.pos=0,this.len=f.length}var r=typeof Uint8Array<"u"?function(d){if(d instanceof Uint8Array||Array.isArray(d))return new a(d);throw Error("illegal buffer")}:function(d){if(Array.isArray(d))return new a(d);throw Error("illegal buffer")},s=function(){return e.Buffer?function(p){return(a.create=function(b){return e.Buffer.isBuffer(b)?new n(b):r(b)})(p)}:r};a.create=s(),a.prototype._slice=e.Array.prototype.subarray||e.Array.prototype.slice,a.prototype.uint32=function(){var d=4294967295;return function(){if(d=(this.buf[this.pos]&127)>>>0,this.buf[this.pos++]<128||(d=(d|(this.buf[this.pos]&127)<<7)>>>0,this.buf[this.pos++]<128)||(d=(d|(this.buf[this.pos]&127)<<14)>>>0,this.buf[this.pos++]<128)||(d=(d|(this.buf[this.pos]&127)<<21)>>>0,this.buf[this.pos++]<128)||(d=(d|(this.buf[this.pos]&15)<<28)>>>0,this.buf[this.pos++]<128))return d;if((this.pos+=5)>this.len)throw this.pos=this.len,o(this,10);return d}}(),a.prototype.int32=function(){return this.uint32()|0},a.prototype.sint32=function(){var d=this.uint32();return d>>>1^-(d&1)|0};function l(){var f=new t(0,0),d=0;if(this.len-this.pos>4){for(;d<4;++d)if(f.lo=(f.lo|(this.buf[this.pos]&127)<<d*7)>>>0,this.buf[this.pos++]<128)return f;if(f.lo=(f.lo|(this.buf[this.pos]&127)<<28)>>>0,f.hi=(f.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return f;d=0}else{for(;d<3;++d){if(this.pos>=this.len)throw o(this);if(f.lo=(f.lo|(this.buf[this.pos]&127)<<d*7)>>>0,this.buf[this.pos++]<128)return f}return f.lo=(f.lo|(this.buf[this.pos++]&127)<<d*7)>>>0,f}if(this.len-this.pos>4){for(;d<5;++d)if(f.hi=(f.hi|(this.buf[this.pos]&127)<<d*7+3)>>>0,this.buf[this.pos++]<128)return f}else for(;d<5;++d){if(this.pos>=this.len)throw o(this);if(f.hi=(f.hi|(this.buf[this.pos]&127)<<d*7+3)>>>0,this.buf[this.pos++]<128)return f}throw Error("invalid varint encoding")}a.prototype.bool=function(){return this.uint32()!==0};function c(f,d){return(f[d-4]|f[d-3]<<8|f[d-2]<<16|f[d-1]<<24)>>>0}a.prototype.fixed32=function(){if(this.pos+4>this.len)throw o(this,4);return c(this.buf,this.pos+=4)},a.prototype.sfixed32=function(){if(this.pos+4>this.len)throw o(this,4);return c(this.buf,this.pos+=4)|0};function u(){if(this.pos+8>this.len)throw o(this,8);return new t(c(this.buf,this.pos+=4),c(this.buf,this.pos+=4))}return a.prototype.float=function(){if(this.pos+4>this.len)throw o(this,4);var d=e.float.readFloatLE(this.buf,this.pos);return this.pos+=4,d},a.prototype.double=function(){if(this.pos+8>this.len)throw o(this,4);var d=e.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,d},a.prototype.bytes=function(){var d=this.uint32(),p=this.pos,h=this.pos+d;if(h>this.len)throw o(this,d);if(this.pos+=d,Array.isArray(this.buf))return this.buf.slice(p,h);if(p===h){var b=e.Buffer;return b?b.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,p,h)},a.prototype.string=function(){var d=this.bytes();return i.read(d,0,d.length)},a.prototype.skip=function(d){if(typeof d=="number"){if(this.pos+d>this.len)throw o(this,d);this.pos+=d}else do if(this.pos>=this.len)throw o(this);while(this.buf[this.pos++]&128);return this},a.prototype.skipType=function(f){switch(f){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(f=this.uint32()&7)!==4;)this.skipType(f);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+f+" at offset "+this.pos)}return this},a._configure=function(f){n=f,a.create=s(),n._configure();var d=e.Long?"toLong":"toNumber";e.merge(a.prototype,{int64:function(){return l.call(this)[d](!1)},uint64:function(){return l.call(this)[d](!0)},sint64:function(){return l.call(this).zzDecode()[d](!1)},fixed64:function(){return u.call(this)[d](!0)},sfixed64:function(){return u.call(this)[d](!1)}})},kc}var xc,Eh;function Jy(){if(Eh)return xc;Eh=1,xc=t;var e=_h();(t.prototype=Object.create(e.prototype)).constructor=t;var n=Xi();function t(i){e.call(this,i)}return t._configure=function(){n.Buffer&&(t.prototype._slice=n.Buffer.prototype.slice)},t.prototype.string=function(){var o=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+o,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+o,this.len))},t._configure(),xc}var Rc={},Nc,Sh;function Xy(){if(Sh)return Nc;Sh=1,Nc=n;var e=Xi();(n.prototype=Object.create(e.EventEmitter.prototype)).constructor=n;function n(t,i,o){if(typeof t!="function")throw TypeError("rpcImpl must be a function");e.EventEmitter.call(this),this.rpcImpl=t,this.requestDelimited=!!i,this.responseDelimited=!!o}return n.prototype.rpcCall=function t(i,o,a,r,s){if(!r)throw TypeError("request must be specified");var l=this;if(!s)return e.asPromise(t,l,i,o,a,r);if(!l.rpcImpl){setTimeout(function(){s(Error("already ended"))},0);return}try{return l.rpcImpl(i,o[l.requestDelimited?"encodeDelimited":"encode"](r).finish(),function(u,f){if(u)return l.emit("error",u,i),s(u);if(f===null){l.end(!0);return}if(!(f instanceof a))try{f=a[l.responseDelimited?"decodeDelimited":"decode"](f)}catch(d){return l.emit("error",d,i),s(d)}return l.emit("data",f,i),s(null,f)})}catch(c){l.emit("error",c,i),setTimeout(function(){s(c)},0);return}},n.prototype.end=function(i){return this.rpcImpl&&(i||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this},Nc}var Mh;function e3(){return Mh||(Mh=1,function(e){var n=e;n.Service=Xy()}(Rc)),Rc}var Lc,Ih;function t3(){return Ih||(Ih=1,Lc={}),Lc}var Th;function n3(){return Th||(Th=1,function(e){var n=e;n.build="minimal",n.Writer=Ah(),n.BufferWriter=Zy(),n.Reader=_h(),n.BufferReader=Jy(),n.util=Xi(),n.rpc=e3(),n.roots=t3(),n.configure=t;function t(){n.util._configure(),n.Writer._configure(n.BufferWriter),n.Reader._configure(n.BufferReader)}t()}(yc)),yc}var Pc,Oh;function i3(){return Oh||(Oh=1,Pc=n3()),Pc}var Ia=i3();const ce=Ia.Reader,Pe=Ia.Writer,Ro=Ia.util,T=Ia.roots.default||(Ia.roots.default={});T.ErrorCodes=(()=>{const e={},n=Object.create(e);return n[e[-1]="ConferenceWithPinDoesNotExist"]=-1,n[e[-2]="ConferenceWithPinAlreadyExists"]=-2,n[e[-3]="ConferencePinAndIdDoesNotMatch"]=-3,n[e[-4]="ConferenceAccessDenied"]=-4,n[e[-5]="ConferenceIsCancelled"]=-5,n[e[-6]="ConferencePinIsReadOnly"]=-6,n[e[-7]="ConferenceInvalidPin"]=-7,n[e[-8]="CannotGeneratePin"]=-8,n[e[-9]="FwdProfileDoesNotExist"]=-9,n[e[-10]="FwdProfileOverrideExpirationRequired"]=-10,n[e[0]="Success"]=0,n[e[1]="NoSuchRequest"]=1,n[e[2]="ExceptionOccured"]=2,n[e[3]="RequestIsNotSupported"]=3,n[e[4]="ServerIsBusy"]=4,n[e[5]="BridgeNotFound"]=5,n[e[6]="CannotCleanOwnExtension"]=6,n[e[7]="SetWakeupCallResult"]=7,n[e[8]="ExtensionNotFound"]=8,n[e[9]="NoPermission"]=9,n[e[12]="WebMeetingNoEmail"]=12,n[e[13]="WebMeetingNoAccess"]=13,n[e[16]="WebMeetingInvalidOrganizer"]=16,n[e[17]="WebMeetingInvalidParameters"]=17,n[e[18]="WebMeetingInvalidParticipant"]=18,n[e[19]="WebMeetingInvalidPin"]=19,n[e[20]="WebMeetingAccessDenied"]=20,n[e[21]="WebMeetingNotFound"]=21,n[e[22]="WebMeetingCannotDeleteQM"]=22,n[e[23]="WebMeetingPinIsReadonly"]=23,n[e[24]="WebMeetingNumberToCallIsReadonly"]=24,n[e[25]="WebMeetingInvalidWmUser"]=25,n[e[30]="ExtensionEmailRequired"]=30,n[e[31]="QueueNumberRequired"]=31,n[e[32]="ChatIsDisabled"]=32,n[e[33]="PersonalContactRequired"]=33,n[e[34]="RequiredFieldIsEmpty"]=34,n[e[35]="ContactNotFound"]=35,n[e[36]="ContactIsReadonly"]=36,n[e[37]="ActionIsNotAllowed"]=37,n[e[38]="FileNotFound"]=38,n[e[39]="OwnRecordingsDenied"]=39,n[e[40]="InvalidValue"]=40,n[e[41]="InvalidMedia"]=41,n[e[42]="InvalidOperation"]=42,n[e[43]="OperationFailed"]=43,n})();const No=T.ActionType=(()=>{const e={},n=Object.create(e);return n[e[0]="NoUpdates"]=0,n[e[1]="FullUpdate"]=1,n[e[2]="Inserted"]=2,n[e[3]="Updated"]=3,n[e[4]="Deleted"]=4,n})();T.DnType=(()=>{const e={},n=Object.create(e);return n[e[0]="None"]=0,n[e[1]="Extension"]=1,n[e[2]="Queue"]=2,n[e[4]="RingGroup"]=4,n[e[8]="IVR"]=8,n[e[16]="Fax"]=16,n[e[32]="Conference"]=32,n[e[64]="Parking"]=64,n[e[128]="ExternalLine"]=128,n[e[256]="SpecialMenu"]=256,n[e[512]="Service"]=512,n})(),T.ContactType=(()=>{const e={},n=Object.create(e);return n[e[0]="LocalUser"]=0,n[e[1]="CompanyPhonebook"]=1,n[e[2]="PersonalPhonebook"]=2,n[e[3]="BridgeExtension"]=3,n[e[4]="ExternalContact"]=4,n})();const Ei=T.ChatFileState=(()=>{const e={},n=Object.create(e);return n[e[0]="CF_Uploading"]=0,n[e[1]="CF_Available"]=1,n[e[2]="CF_Deleted"]=2,n})();T.ContactAddedByEnum=(()=>{const e={},n=Object.create(e);return n[e[0]="AB_Tcx"]=0,n[e[1]="AB_Crm"]=1,n[e[2]="AB_Office365"]=2,n})();const Dc=T.ChatMessageType=(()=>{const e={},n=Object.create(e);return n[e[0]="CMT_Normal"]=0,n[e[1]="CMT_Closed"]=1,n[e[2]="CMT_Dealt"]=2,n[e[3]="CMT_Reserved"]=3,n[e[4]="CMT_Taken"]=4,n[e[5]="CMT_Transferred"]=5,n[e[6]="CMT_Whisper"]=6,n[e[7]="CMT_Emergency"]=7,n[e[8]="CMT_License"]=8,n[e[9]="CMT_WebMeeting"]=9,n[e[10]="CMT_Blocked"]=10,n[e[11]="CMT_AutoReply"]=11,n[e[12]="CMT_ClosedByProvider"]=12,n[e[13]="CMT_PersonInDnd"]=13,n[e[14]="CMT_MessageTooLong"]=14,n[e[15]="CMT_GenericError"]=15,n[e[16]="CMT_AutoClosed"]=16,n[e[17]="CMT_ParticipantAdded"]=17,n[e[18]="CMT_ParticipantRemoved"]=18,n[e[19]="CMT_Muted"]=19,n})(),Lo=T.ChatRecipientType=(()=>{const e={},n=Object.create(e);return n[e[0]="CRT_Local"]=0,n[e[1]="CRT_3cxBridge"]=1,n[e[2]="CRT_Anonymous"]=2,n[e[3]="CRT_External"]=3,n[e[5]="CRT_System"]=5,n})();T.ChatRecipientStatus=(()=>{const e={},n=Object.create(e);return n[e[0]="CRS_Available"]=0,n[e[1]="CRS_Offline"]=1,n[e[2]="CRS_Busy"]=2,n})();const o3=T.ExternalChatCloseReason=(()=>{const e={},n=Object.create(e);return n[e[0]="ECCR_LogoutByAnonymous"]=0,n[e[1]="ECCR_LogoutByExtension"]=1,n[e[2]="ECCR_BlockedByExtension"]=2,n[e[3]="ECCR_IsHandled"]=3,n[e[4]="ECCR_NoAgentsAvailable"]=4,n[e[5]="ECCR_NotAvailable"]=5,n[e[6]="ECCR_AutoClose"]=6,n})();T.ChatDeliveryStatus=(()=>{const e={},n=Object.create(e);return n[e[0]="CDS_NotDelivered"]=0,n[e[1]="CDS_Delivered"]=1,n[e[2]="CDS_Failed"]=2,n})();const a3=T.Login=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(10).string(t.User),t.Password!=null&&Object.hasOwnProperty.call(t,"Password")&&i.uint32(18).string(t.Password),t.ClientVersion!=null&&Object.hasOwnProperty.call(t,"ClientVersion")&&i.uint32(26).string(t.ClientVersion),t.ClientInfo!=null&&Object.hasOwnProperty.call(t,"ClientInfo")&&i.uint32(34).string(t.ClientInfo),t.ProtocolVersion!=null&&Object.hasOwnProperty.call(t,"ProtocolVersion")&&i.uint32(42).string(t.ProtocolVersion),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.Login;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.User=t.string();break}case 2:{a.Password=t.string();break}case 3:{a.ClientVersion=t.string();break}case 4:{a.ClientInfo=t.string();break}case 5:{a.ProtocolVersion=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:100,LoginRequest:this})},e.prototype.typeId=100,e.prototype.typeName="LoginRequest",e})(),r3=T.LoginInfo=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.ExtensionId!=null&&Object.hasOwnProperty.call(t,"ExtensionId")&&i.uint32(8).int32(t.ExtensionId),t.IsAuthenticated!=null&&Object.hasOwnProperty.call(t,"IsAuthenticated")&&i.uint32(16).bool(t.IsAuthenticated),t.ValidationMessage!=null&&Object.hasOwnProperty.call(t,"ValidationMessage")&&i.uint32(26).string(t.ValidationMessage),t.Nonce!=null&&Object.hasOwnProperty.call(t,"Nonce")&&i.uint32(34).string(t.Nonce),t.SessionId!=null&&Object.hasOwnProperty.call(t,"SessionId")&&i.uint32(42).string(t.SessionId),t.AddpTimeout!=null&&Object.hasOwnProperty.call(t,"AddpTimeout")&&i.uint32(48).int32(t.AddpTimeout),t.ServerVersion!=null&&Object.hasOwnProperty.call(t,"ServerVersion")&&i.uint32(58).string(t.ServerVersion),t.UpdateAvailable!=null&&Object.hasOwnProperty.call(t,"UpdateAvailable")&&i.uint32(64).bool(t.UpdateAvailable),t.LicenseType!=null&&Object.hasOwnProperty.call(t,"LicenseType")&&i.uint32(72).int32(t.LicenseType),t.LicenseProduct!=null&&Object.hasOwnProperty.call(t,"LicenseProduct")&&i.uint32(82).string(t.LicenseProduct),t.PbxVersion!=null&&Object.hasOwnProperty.call(t,"PbxVersion")&&i.uint32(90).string(t.PbxVersion),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.LoginInfo;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.ExtensionId=t.int32();break}case 2:{a.IsAuthenticated=t.bool();break}case 3:{a.ValidationMessage=t.string();break}case 4:{a.Nonce=t.string();break}case 5:{a.SessionId=t.string();break}case 6:{a.AddpTimeout=t.int32();break}case 7:{a.ServerVersion=t.string();break}case 8:{a.UpdateAvailable=t.bool();break}case 9:{a.LicenseType=t.int32();break}case 10:{a.LicenseProduct=t.string();break}case 11:{a.PbxVersion=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:200,LoginResponse:this})},e.prototype.typeId=200,e.prototype.typeName="LoginResponse",e})(),s3=T.Logout=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.Logout;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:101,LogoutRequest:this})},e.prototype.typeId=101,e.prototype.typeName="LogoutRequest",e})(),l3=T.DateTime=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.Year!=null&&Object.hasOwnProperty.call(t,"Year")&&i.uint32(8).int32(t.Year),t.Month!=null&&Object.hasOwnProperty.call(t,"Month")&&i.uint32(16).int32(t.Month),t.Day!=null&&Object.hasOwnProperty.call(t,"Day")&&i.uint32(24).int32(t.Day),t.Hour!=null&&Object.hasOwnProperty.call(t,"Hour")&&i.uint32(32).int32(t.Hour),t.Minute!=null&&Object.hasOwnProperty.call(t,"Minute")&&i.uint32(40).int32(t.Minute),t.Second!=null&&Object.hasOwnProperty.call(t,"Second")&&i.uint32(48).int32(t.Second),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.DateTime;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Year=t.int32();break}case 2:{a.Month=t.int32();break}case 3:{a.Day=t.int32();break}case 4:{a.Hour=t.int32();break}case 5:{a.Minute=t.int32();break}case 6:{a.Second=t.int32();break}default:t.skipType(r&7);break}}return a},e})(),kh=T.RequestMyInfo=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestMyInfo;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:102,GetMyInfo:this})},e.prototype.typeId=102,e.prototype.typeName="GetMyInfo",e})();T.Contact=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.Id),t.FirstName!=null&&Object.hasOwnProperty.call(t,"FirstName")&&i.uint32(18).string(t.FirstName),t.LastName!=null&&Object.hasOwnProperty.call(t,"LastName")&&i.uint32(26).string(t.LastName),t.Number!=null&&Object.hasOwnProperty.call(t,"Number")&&i.uint32(34).string(t.Number),t.ExtensionNumber!=null&&Object.hasOwnProperty.call(t,"ExtensionNumber")&&i.uint32(42).string(t.ExtensionNumber),t.ContactType!=null&&Object.hasOwnProperty.call(t,"ContactType")&&i.uint32(48).int32(t.ContactType),t.Company!=null&&Object.hasOwnProperty.call(t,"Company")&&i.uint32(58).string(t.Company),t.AddressNumberOrData0!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData0")&&i.uint32(66).string(t.AddressNumberOrData0),t.AddressNumberOrData1!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData1")&&i.uint32(74).string(t.AddressNumberOrData1),t.AddressNumberOrData2!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData2")&&i.uint32(82).string(t.AddressNumberOrData2),t.AddressNumberOrData3!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData3")&&i.uint32(90).string(t.AddressNumberOrData3),t.AddressNumberOrData4!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData4")&&i.uint32(98).string(t.AddressNumberOrData4),t.AddressNumberOrData5!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData5")&&i.uint32(106).string(t.AddressNumberOrData5),t.AddressNumberOrData6!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData6")&&i.uint32(114).string(t.AddressNumberOrData6),t.AddressNumberOrData7!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData7")&&i.uint32(122).string(t.AddressNumberOrData7),t.AddressNumberOrData8!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData8")&&i.uint32(130).string(t.AddressNumberOrData8),t.AddressNumberOrData9!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData9")&&i.uint32(138).string(t.AddressNumberOrData9),i.uint32(144).int32(t.Action),t.ContactImage!=null&&Object.hasOwnProperty.call(t,"ContactImage")&&i.uint32(154).string(t.ContactImage),t.IsEditable!=null&&Object.hasOwnProperty.call(t,"IsEditable")&&i.uint32(160).bool(t.IsEditable),t.CrmContactData!=null&&Object.hasOwnProperty.call(t,"CrmContactData")&&i.uint32(178).string(t.CrmContactData),t.AddedBy!=null&&Object.hasOwnProperty.call(t,"AddedBy")&&i.uint32(184).int32(t.AddedBy),t.DnType!=null&&Object.hasOwnProperty.call(t,"DnType")&&i.uint32(192).int32(t.DnType),t.OpenLink!=null&&Object.hasOwnProperty.call(t,"OpenLink")&&i.uint32(202).string(t.OpenLink),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.Contact;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Id=t.int32();break}case 2:{a.FirstName=t.string();break}case 3:{a.LastName=t.string();break}case 4:{a.Number=t.string();break}case 5:{a.ExtensionNumber=t.string();break}case 6:{a.ContactType=t.int32();break}case 7:{a.Company=t.string();break}case 8:{a.AddressNumberOrData0=t.string();break}case 9:{a.AddressNumberOrData1=t.string();break}case 10:{a.AddressNumberOrData2=t.string();break}case 11:{a.AddressNumberOrData3=t.string();break}case 12:{a.AddressNumberOrData4=t.string();break}case 13:{a.AddressNumberOrData5=t.string();break}case 14:{a.AddressNumberOrData6=t.string();break}case 15:{a.AddressNumberOrData7=t.string();break}case 16:{a.AddressNumberOrData8=t.string();break}case 17:{a.AddressNumberOrData9=t.string();break}case 18:{a.Action=t.int32();break}case 19:{a.ContactImage=t.string();break}case 20:{a.IsEditable=t.bool();break}case 22:{a.CrmContactData=t.string();break}case 23:{a.AddedBy=t.int32();break}case 24:{a.DnType=t.int32();break}case 25:{a.OpenLink=t.string();break}default:t.skipType(r&7);break}}return a},e})();const ss=T.ResponseAcknowledge=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).bool(t.Success),t.ErrorCode!=null&&Object.hasOwnProperty.call(t,"ErrorCode")&&i.uint32(16).int32(t.ErrorCode),t.Message!=null&&Object.hasOwnProperty.call(t,"Message")&&i.uint32(26).string(t.Message),t.ExceptionType!=null&&Object.hasOwnProperty.call(t,"ExceptionType")&&i.uint32(34).string(t.ExceptionType),t.ExceptionMessage!=null&&Object.hasOwnProperty.call(t,"ExceptionMessage")&&i.uint32(42).string(t.ExceptionMessage),t.ErrorType!=null&&Object.hasOwnProperty.call(t,"ErrorType")&&i.uint32(48).int32(t.ErrorType),t.Parameter!=null&&Object.hasOwnProperty.call(t,"Parameter")&&i.uint32(58).string(t.Parameter),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ResponseAcknowledge;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Success=t.bool();break}case 2:{a.ErrorCode=t.int32();break}case 3:{a.Message=t.string();break}case 4:{a.ExceptionType=t.string();break}case 5:{a.ExceptionMessage=t.string();break}case 6:{a.ErrorType=t.int32();break}case 7:{a.Parameter=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:207,Acknowledge:this})},e.prototype.typeId=207,e.prototype.typeName="Acknowledge",e})(),xh=T.ChatRecipient=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.ExtNumber!=null&&Object.hasOwnProperty.call(t,"ExtNumber")&&i.uint32(10).string(t.ExtNumber),t.Name!=null&&Object.hasOwnProperty.call(t,"Name")&&i.uint32(18).string(t.Name),t.BridgeNumber!=null&&Object.hasOwnProperty.call(t,"BridgeNumber")&&i.uint32(26).string(t.BridgeNumber),t.Email!=null&&Object.hasOwnProperty.call(t,"Email")&&i.uint32(34).string(t.Email),t.Contact!=null&&Object.hasOwnProperty.call(t,"Contact")&&T.Contact.encode(t.Contact,i.uint32(42).fork()).ldelim(),t.IdRecipient!=null&&Object.hasOwnProperty.call(t,"IdRecipient")&&i.uint32(48).int32(t.IdRecipient),t.RecipientType!=null&&Object.hasOwnProperty.call(t,"RecipientType")&&i.uint32(56).int32(t.RecipientType),t.PhoneNumber!=null&&Object.hasOwnProperty.call(t,"PhoneNumber")&&i.uint32(66).string(t.PhoneNumber),t.IpAddress!=null&&Object.hasOwnProperty.call(t,"IpAddress")&&i.uint32(74).string(t.IpAddress),t.IsModerator!=null&&Object.hasOwnProperty.call(t,"IsModerator")&&i.uint32(80).bool(t.IsModerator),t.MemberGid!=null&&Object.hasOwnProperty.call(t,"MemberGid")&&i.uint32(90).string(t.MemberGid),t.UserData!=null&&Object.hasOwnProperty.call(t,"UserData")&&i.uint32(98).string(t.UserData),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatRecipient;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.ExtNumber=t.string();break}case 2:{a.Name=t.string();break}case 3:{a.BridgeNumber=t.string();break}case 4:{a.Email=t.string();break}case 5:{a.Contact=T.Contact.decode(t,t.uint32());break}case 6:{a.IdRecipient=t.int32();break}case 7:{a.RecipientType=t.int32();break}case 8:{a.PhoneNumber=t.string();break}case 9:{a.IpAddress=t.string();break}case 10:{a.IsModerator=t.bool();break}case 11:{a.MemberGid=t.string();break}case 12:{a.UserData=t.string();break}default:t.skipType(r&7);break}}return a},e})(),Rh=T.ChatRecipientEx=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.Recipient!=null&&Object.hasOwnProperty.call(t,"Recipient")&&T.ChatRecipient.encode(t.Recipient,i.uint32(10).fork()).ldelim(),t.IsAnonymousActive!=null&&Object.hasOwnProperty.call(t,"IsAnonymousActive")&&i.uint32(16).bool(t.IsAnonymousActive),t.IsRemoved!=null&&Object.hasOwnProperty.call(t,"IsRemoved")&&i.uint32(24).bool(t.IsRemoved),t.IsWhisperer!=null&&Object.hasOwnProperty.call(t,"IsWhisperer")&&i.uint32(32).bool(t.IsWhisperer),t.CanAddUsers!=null&&Object.hasOwnProperty.call(t,"CanAddUsers")&&i.uint32(40).bool(t.CanAddUsers),t.CanBeDeleted!=null&&Object.hasOwnProperty.call(t,"CanBeDeleted")&&i.uint32(48).bool(t.CanBeDeleted),t.Staus!=null&&Object.hasOwnProperty.call(t,"Staus")&&i.uint32(56).int32(t.Staus),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatRecipientEx;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Recipient=T.ChatRecipient.decode(t,t.uint32());break}case 2:{a.IsAnonymousActive=t.bool();break}case 3:{a.IsRemoved=t.bool();break}case 4:{a.IsWhisperer=t.bool();break}case 5:{a.CanAddUsers=t.bool();break}case 6:{a.CanBeDeleted=t.bool();break}case 7:{a.Staus=t.int32();break}default:t.skipType(r&7);break}}return a},e})(),c3=T.ChatRecipientRef=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.IdRecipient),t.Delivery!=null&&Object.hasOwnProperty.call(t,"Delivery")&&i.uint32(16).int32(t.Delivery),t.IsRead!=null&&Object.hasOwnProperty.call(t,"IsRead")&&i.uint32(24).bool(t.IsRead),t.IsSender!=null&&Object.hasOwnProperty.call(t,"IsSender")&&i.uint32(32).bool(t.IsSender),t.MemberGid!=null&&Object.hasOwnProperty.call(t,"MemberGid")&&i.uint32(42).string(t.MemberGid),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatRecipientRef;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.IdRecipient=t.int32();break}case 2:{a.Delivery=t.int32();break}case 3:{a.IsRead=t.bool();break}case 4:{a.IsSender=t.bool();break}case 5:{a.MemberGid=t.string();break}default:t.skipType(r&7);break}}return a},e})(),f3=T.ChatMessage=(()=>{function e(n){if(this.Recipients=[],n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.prototype.Recipients=Ro.emptyArray,e.encode=function(t,i){if(i||(i=Pe.create()),i.uint32(8).int32(t.Id),t.SenderNumber!=null&&Object.hasOwnProperty.call(t,"SenderNumber")&&i.uint32(18).string(t.SenderNumber),t.SenderName!=null&&Object.hasOwnProperty.call(t,"SenderName")&&i.uint32(26).string(t.SenderName),t.SenderBridgeNumber!=null&&Object.hasOwnProperty.call(t,"SenderBridgeNumber")&&i.uint32(34).string(t.SenderBridgeNumber),t.Recipient!=null&&Object.hasOwnProperty.call(t,"Recipient")&&T.ChatRecipient.encode(t.Recipient,i.uint32(42).fork()).ldelim(),t.Message!=null&&Object.hasOwnProperty.call(t,"Message")&&i.uint32(50).string(t.Message),t.Time!=null&&Object.hasOwnProperty.call(t,"Time")&&T.DateTime.encode(t.Time,i.uint32(58).fork()).ldelim(),t.IsNew!=null&&Object.hasOwnProperty.call(t,"IsNew")&&i.uint32(64).bool(t.IsNew),t.Party!=null&&Object.hasOwnProperty.call(t,"Party")&&i.uint32(74).string(t.Party),t.PartyNew!=null&&Object.hasOwnProperty.call(t,"PartyNew")&&i.uint32(82).string(t.PartyNew),t.File!=null&&Object.hasOwnProperty.call(t,"File")&&T.ChatFile.encode(t.File,i.uint32(90).fork()).ldelim(),t.IsAnonymousActive!=null&&Object.hasOwnProperty.call(t,"IsAnonymousActive")&&i.uint32(96).bool(t.IsAnonymousActive),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(104).int32(t.IdConversation),t.Recipients!=null&&t.Recipients.length)for(let o=0;o<t.Recipients.length;++o)T.ChatRecipientRef.encode(t.Recipients[o],i.uint32(114).fork()).ldelim();return t.MessageType!=null&&Object.hasOwnProperty.call(t,"MessageType")&&i.uint32(120).int32(t.MessageType),t.MsgGid!=null&&Object.hasOwnProperty.call(t,"MsgGid")&&i.uint32(130).string(t.MsgGid),t.CnvGid!=null&&Object.hasOwnProperty.call(t,"CnvGid")&&i.uint32(138).string(t.CnvGid),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatMessage;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Id=t.int32();break}case 2:{a.SenderNumber=t.string();break}case 3:{a.SenderName=t.string();break}case 4:{a.SenderBridgeNumber=t.string();break}case 5:{a.Recipient=T.ChatRecipient.decode(t,t.uint32());break}case 6:{a.Message=t.string();break}case 7:{a.Time=T.DateTime.decode(t,t.uint32());break}case 8:{a.IsNew=t.bool();break}case 9:{a.Party=t.string();break}case 10:{a.PartyNew=t.string();break}case 11:{a.File=T.ChatFile.decode(t,t.uint32());break}case 12:{a.IsAnonymousActive=t.bool();break}case 13:{a.IdConversation=t.int32();break}case 14:{a.Recipients&&a.Recipients.length||(a.Recipients=[]),a.Recipients.push(T.ChatRecipientRef.decode(t,t.uint32()));break}case 15:{a.MessageType=t.int32();break}case 16:{a.MsgGid=t.string();break}case 17:{a.CnvGid=t.string();break}default:t.skipType(r&7);break}}return a},e})(),ls=T.ChatFile=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.FileName!=null&&Object.hasOwnProperty.call(t,"FileName")&&i.uint32(10).string(t.FileName),t.FileLink!=null&&Object.hasOwnProperty.call(t,"FileLink")&&i.uint32(18).string(t.FileLink),t.FileState!=null&&Object.hasOwnProperty.call(t,"FileState")&&i.uint32(24).int32(t.FileState),t.Progress!=null&&Object.hasOwnProperty.call(t,"Progress")&&i.uint32(37).float(t.Progress),t.HasPreview!=null&&Object.hasOwnProperty.call(t,"HasPreview")&&i.uint32(40).bool(t.HasPreview),t.FileSize!=null&&Object.hasOwnProperty.call(t,"FileSize")&&i.uint32(48).uint64(t.FileSize),t.Width!=null&&Object.hasOwnProperty.call(t,"Width")&&i.uint32(56).int32(t.Width),t.Height!=null&&Object.hasOwnProperty.call(t,"Height")&&i.uint32(64).int32(t.Height),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatFile;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.FileName=t.string();break}case 2:{a.FileLink=t.string();break}case 3:{a.FileState=t.int32();break}case 4:{a.Progress=t.float();break}case 5:{a.HasPreview=t.bool();break}case 6:{a.FileSize=t.uint64();break}case 7:{a.Width=t.int32();break}case 8:{a.Height=t.int32();break}default:t.skipType(r&7);break}}return a},e})(),Nh=T.NotificationChatFileProgress=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.Id),t.Party!=null&&Object.hasOwnProperty.call(t,"Party")&&i.uint32(18).string(t.Party),t.File!=null&&Object.hasOwnProperty.call(t,"File")&&T.ChatFile.encode(t.File,i.uint32(26).fork()).ldelim(),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(32).int32(t.IdConversation),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.NotificationChatFileProgress;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Id=t.int32();break}case 2:{a.Party=t.string();break}case 3:{a.File=T.ChatFile.decode(t,t.uint32());break}case 4:{a.IdConversation=t.int32();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:232,ChatFileProgress:this})},e.prototype.typeId=232,e.prototype.typeName="ChatFileProgress",e})(),u3=T.RequestSendChatMessage=(()=>{function e(n){if(this.Recipients=[],n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.prototype.Recipients=Ro.emptyArray,e.encode=function(t,i){if(i||(i=Pe.create()),t.Message!=null&&Object.hasOwnProperty.call(t,"Message")&&i.uint32(10).string(t.Message),t.Recipients!=null&&t.Recipients.length)for(let o=0;o<t.Recipients.length;++o)T.ChatRecipient.encode(t.Recipients[o],i.uint32(18).fork()).ldelim();return t.SipFrom!=null&&Object.hasOwnProperty.call(t,"SipFrom")&&i.uint32(26).string(t.SipFrom),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestSendChatMessage;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Message=t.string();break}case 2:{a.Recipients&&a.Recipients.length||(a.Recipients=[]),a.Recipients.push(T.ChatRecipient.decode(t,t.uint32()));break}case 3:{a.SipFrom=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:110,SendChatMessage:this})},e.prototype.typeId=110,e.prototype.typeName="SendChatMessage",e})(),Lh=T.RequestSendChatMessageToConversation=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.IdConversation),t.Message!=null&&Object.hasOwnProperty.call(t,"Message")&&i.uint32(18).string(t.Message),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestSendChatMessageToConversation;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.IdConversation=t.int32();break}case 2:{a.Message=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:190,SendMessageToConversation:this})},e.prototype.typeId=190,e.prototype.typeName="SendMessageToConversation",e})(),Ph=T.RequestSendChatFile=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(10).string(t.Name),t.Party!=null&&Object.hasOwnProperty.call(t,"Party")&&i.uint32(18).string(t.Party),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(24).int32(t.IdConversation),t.IdSender!=null&&Object.hasOwnProperty.call(t,"IdSender")&&i.uint32(32).int32(t.IdSender),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestSendChatFile;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Name=t.string();break}case 2:{a.Party=t.string();break}case 3:{a.IdConversation=t.int32();break}case 4:{a.IdSender=t.int32();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:179,SendChatFile:this})},e.prototype.typeId=179,e.prototype.typeName="SendChatFile",e})(),Dh=T.RequestGetMyLastMessages=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.Party!=null&&Object.hasOwnProperty.call(t,"Party")&&i.uint32(10).string(t.Party),t.Count!=null&&Object.hasOwnProperty.call(t,"Count")&&i.uint32(16).int32(t.Count),t.StartFromId!=null&&Object.hasOwnProperty.call(t,"StartFromId")&&i.uint32(24).int32(t.StartFromId),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(32).int32(t.IdConversation),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestGetMyLastMessages;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Party=t.string();break}case 2:{a.Count=t.int32();break}case 3:{a.StartFromId=t.int32();break}case 4:{a.IdConversation=t.int32();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:162,GetMyLastMessages:this})},e.prototype.typeId=162,e.prototype.typeName="GetMyLastMessages",e})(),Po=T.ResponseMyMessages=(()=>{function e(n){if(this.Messages=[],n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.prototype.Messages=Ro.emptyArray,e.encode=function(t,i){if(i||(i=Pe.create()),t.Messages!=null&&t.Messages.length)for(let o=0;o<t.Messages.length;++o)T.ChatMessage.encode(t.Messages[o],i.uint32(10).fork()).ldelim();return i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ResponseMyMessages;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Messages&&a.Messages.length||(a.Messages=[]),a.Messages.push(T.ChatMessage.decode(t,t.uint32()));break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:209,MyChatMessages:this})},e.prototype.typeId=209,e.prototype.typeName="MyChatMessages",e})(),Fh=T.RequestSetChatReceived=(()=>{function e(n){if(this.Items=[],n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.prototype.Items=Ro.emptyArray,e.encode=function(t,i){if(i||(i=Pe.create()),t.Items!=null&&t.Items.length)for(let o=0;o<t.Items.length;++o)i.uint32(8).int32(t.Items[o]);return i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestSetChatReceived;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{if(a.Items&&a.Items.length||(a.Items=[]),(r&7)===2){let s=t.uint32()+t.pos;for(;t.pos<s;)a.Items.push(t.int32())}else a.Items.push(t.int32());break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:112,MessagesReceived:this})},e.prototype.typeId=112,e.prototype.typeName="MessagesReceived",e})(),Fc=T.ChatPartyInfo=(()=>{function e(n){if(this.Recipients=[],n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.prototype.Recipients=Ro.emptyArray,e.encode=function(t,i){if(i||(i=Pe.create()),t.Party!=null&&Object.hasOwnProperty.call(t,"Party")&&i.uint32(10).string(t.Party),t.Recipients!=null&&t.Recipients.length)for(let o=0;o<t.Recipients.length;++o)T.ChatRecipientEx.encode(t.Recipients[o],i.uint32(18).fork()).ldelim();return t.IsExternal!=null&&Object.hasOwnProperty.call(t,"IsExternal")&&i.uint32(24).bool(t.IsExternal),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(32).int32(t.IdConversation),t.IsArchived!=null&&Object.hasOwnProperty.call(t,"IsArchived")&&i.uint32(40).bool(t.IsArchived),t.PrivateName!=null&&Object.hasOwnProperty.call(t,"PrivateName")&&i.uint32(50).string(t.PrivateName),t.QueueNo!=null&&Object.hasOwnProperty.call(t,"QueueNo")&&i.uint32(58).string(t.QueueNo),t.QueueName!=null&&Object.hasOwnProperty.call(t,"QueueName")&&i.uint32(66).string(t.QueueName),t.PublicName!=null&&Object.hasOwnProperty.call(t,"PublicName")&&i.uint32(74).string(t.PublicName),t.TakenBy!=null&&Object.hasOwnProperty.call(t,"TakenBy")&&T.ChatRecipient.encode(t.TakenBy,i.uint32(82).fork()).ldelim(),t.NumberOfMessages!=null&&Object.hasOwnProperty.call(t,"NumberOfMessages")&&i.uint32(88).int32(t.NumberOfMessages),t.CloseReason!=null&&Object.hasOwnProperty.call(t,"CloseReason")&&i.uint32(96).int32(t.CloseReason),t.CnvGid!=null&&Object.hasOwnProperty.call(t,"CnvGid")&&i.uint32(106).string(t.CnvGid),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatPartyInfo;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Party=t.string();break}case 2:{a.Recipients&&a.Recipients.length||(a.Recipients=[]),a.Recipients.push(T.ChatRecipientEx.decode(t,t.uint32()));break}case 3:{a.IsExternal=t.bool();break}case 4:{a.IdConversation=t.int32();break}case 5:{a.IsArchived=t.bool();break}case 6:{a.PrivateName=t.string();break}case 7:{a.QueueNo=t.string();break}case 8:{a.QueueName=t.string();break}case 9:{a.PublicName=t.string();break}case 10:{a.TakenBy=T.ChatRecipient.decode(t,t.uint32());break}case 11:{a.NumberOfMessages=t.int32();break}case 12:{a.CloseReason=t.int32();break}case 13:{a.CnvGid=t.string();break}default:t.skipType(r&7);break}}return a},e})(),Bh=T.ResponseConversationInfo=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.Conversation!=null&&Object.hasOwnProperty.call(t,"Conversation")&&T.ChatPartyInfo.encode(t.Conversation,i.uint32(10).fork()).ldelim(),t.IsNew!=null&&Object.hasOwnProperty.call(t,"IsNew")&&i.uint32(16).bool(t.IsNew),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ResponseConversationInfo;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Conversation=T.ChatPartyInfo.decode(t,t.uint32());break}case 2:{a.IsNew=t.bool();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:236,ConversationInfo:this})},e.prototype.typeId=236,e.prototype.typeName="ConversationInfo",e})(),qh=T.NotificationChatTransferred=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),T.ChatPartyInfo.encode(t.PartyInfo,i.uint32(10).fork()).ldelim(),t.TransferredBy!=null&&Object.hasOwnProperty.call(t,"TransferredBy")&&T.ChatRecipient.encode(t.TransferredBy,i.uint32(18).fork()).ldelim(),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.NotificationChatTransferred;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.PartyInfo=T.ChatPartyInfo.decode(t,t.uint32());break}case 2:{a.TransferredBy=T.ChatRecipient.decode(t,t.uint32());break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:237,ChatTransferred:this})},e.prototype.typeId=237,e.prototype.typeName="ChatTransferred",e})(),d3=T.NotificationConversationRemoved=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.IdConversation),t.TakenBy!=null&&Object.hasOwnProperty.call(t,"TakenBy")&&T.ChatRecipient.encode(t.TakenBy,i.uint32(18).fork()).ldelim(),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.NotificationConversationRemoved;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.IdConversation=t.int32();break}case 2:{a.TakenBy=T.ChatRecipient.decode(t,t.uint32());break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:235,ConversationRemoved:this})},e.prototype.typeId=235,e.prototype.typeName="ConversationRemoved",e})(),Bc=T.RequestCloseConversation=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(8).int32(t.IdConversation),t.IsHandled!=null&&Object.hasOwnProperty.call(t,"IsHandled")&&i.uint32(16).bool(t.IsHandled),t.CloseReason!=null&&Object.hasOwnProperty.call(t,"CloseReason")&&i.uint32(24).int32(t.CloseReason),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestCloseConversation;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.IdConversation=t.int32();break}case 2:{a.IsHandled=t.bool();break}case 3:{a.CloseReason=t.int32();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:198,CloseConversation:this})},e.prototype.typeId=198,e.prototype.typeName="CloseConversation",e})(),Si=T.MyWebRTCEndpoint=(()=>{function e(n){if(this.Items=[],n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.prototype.Items=Ro.emptyArray,e.encode=function(t,i){if(i||(i=Pe.create()),i.uint32(8).int32(t.Action),t.Items!=null&&t.Items.length)for(let o=0;o<t.Items.length;++o)T.WebRTCCall.encode(t.Items[o],i.uint32(18).fork()).ldelim();return t.isWebRTCEnpointRegistered!=null&&Object.hasOwnProperty.call(t,"isWebRTCEnpointRegistered")&&i.uint32(24).bool(t.isWebRTCEnpointRegistered),t.DeviceContact!=null&&Object.hasOwnProperty.call(t,"DeviceContact")&&i.uint32(34).string(t.DeviceContact),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.MyWebRTCEndpoint;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Action=t.int32();break}case 2:{a.Items&&a.Items.length||(a.Items=[]),a.Items.push(T.WebRTCCall.decode(t,t.uint32()));break}case 3:{a.isWebRTCEnpointRegistered=t.bool();break}case 4:{a.DeviceContact=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:227,webRTCEndpoint:this})},e.prototype.typeId=227,e.prototype.typeName="webRTCEndpoint",e})(),st=T.WebRTCEndpointSDPState=(()=>{const e={},n=Object.create(e);return n[e[0]="WRTCTerminate"]=0,n[e[1]="WRTCOffer"]=1,n[e[2]="WRTCAnswer"]=2,n[e[3]="WRTCConfirm"]=3,n[e[4]="WRTCRequestForOffer"]=4,n[e[5]="WRTCReject"]=5,n[e[6]="WRTCProcessingOffer"]=6,n[e[7]="WRTCPreparingOffer"]=7,n[e[8]="WRTCAnswerProvided"]=8,n[e[9]="WRTCConfirmed"]=9,n[e[10]="WRTCInitial"]=10,n})(),Do=T.WebRTCHoldState=(()=>{const e={},n=Object.create(e);return n[e[0]="WebRTCHoldState_NOHOLD"]=0,n[e[1]="WebRTCHoldState_HELD"]=1,n[e[2]="WebRTCHoldState_HOLD"]=2,n[e[3]="WebRTCHoldState_BOTH"]=3,n})(),qc=T.WebRTCCall=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.Action),i.uint32(16).int32(t.Id),i.uint32(24).int32(t.sdpType),t.otherPartyDisplayname!=null&&Object.hasOwnProperty.call(t,"otherPartyDisplayname")&&i.uint32(34).string(t.otherPartyDisplayname),t.otherPartyNumber!=null&&Object.hasOwnProperty.call(t,"otherPartyNumber")&&i.uint32(42).string(t.otherPartyNumber),t.transactionId!=null&&Object.hasOwnProperty.call(t,"transactionId")&&i.uint32(48).int32(t.transactionId),t.sdp!=null&&Object.hasOwnProperty.call(t,"sdp")&&i.uint32(58).string(t.sdp),t.SIPDialogID!=null&&Object.hasOwnProperty.call(t,"SIPDialogID")&&i.uint32(66).string(t.SIPDialogID),t.holdState!=null&&Object.hasOwnProperty.call(t,"holdState")&&i.uint32(72).int32(t.holdState),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.WebRTCCall;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Action=t.int32();break}case 2:{a.Id=t.int32();break}case 3:{a.sdpType=t.int32();break}case 4:{a.otherPartyDisplayname=t.string();break}case 5:{a.otherPartyNumber=t.string();break}case 6:{a.transactionId=t.int32();break}case 7:{a.sdp=t.string();break}case 8:{a.SIPDialogID=t.string();break}case 9:{a.holdState=t.int32();break}default:t.skipType(r&7);break}}return a},e})(),Uc=T.RequestWebRTCChangeSDPState=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.Id),i.uint32(16).int32(t.sdpType),t.transactionId!=null&&Object.hasOwnProperty.call(t,"transactionId")&&i.uint32(24).int32(t.transactionId),t.sdp!=null&&Object.hasOwnProperty.call(t,"sdp")&&i.uint32(34).string(t.sdp),t.destinationNumber!=null&&Object.hasOwnProperty.call(t,"destinationNumber")&&i.uint32(42).string(t.destinationNumber),t.CallerDisplayName!=null&&Object.hasOwnProperty.call(t,"CallerDisplayName")&&i.uint32(50).string(t.CallerDisplayName),t.CallerID!=null&&Object.hasOwnProperty.call(t,"CallerID")&&i.uint32(58).string(t.CallerID),t.replaceConnectionId!=null&&Object.hasOwnProperty.call(t,"replaceConnectionId")&&i.uint32(64).int32(t.replaceConnectionId),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestWebRTCChangeSDPState;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Id=t.int32();break}case 2:{a.sdpType=t.int32();break}case 3:{a.transactionId=t.int32();break}case 4:{a.sdp=t.string();break}case 5:{a.destinationNumber=t.string();break}case 6:{a.CallerDisplayName=t.string();break}case 7:{a.CallerID=t.string();break}case 8:{a.replaceConnectionId=t.int32();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:164,ChangeSDPState:this})},e.prototype.typeId=164,e.prototype.typeName="ChangeSDPState",e})(),h3=T.ResponseWebRTCChangeSDPState=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).bool(t.Success),t.Message!=null&&Object.hasOwnProperty.call(t,"Message")&&i.uint32(18).string(t.Message),t.CallId!=null&&Object.hasOwnProperty.call(t,"CallId")&&i.uint32(24).int32(t.CallId),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ResponseWebRTCChangeSDPState;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Success=t.bool();break}case 2:{a.Message=t.string();break}case 3:{a.CallId=t.int32();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:228,ChangeSDPStateResponse:this})},e.prototype.typeId=228,e.prototype.typeName="ChangeSDPStateResponse",e})(),Uh=T.RequestRegisterWebRTCEndpoint=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).bool(t.register),t.NeedsRegistration!=null&&Object.hasOwnProperty.call(t,"NeedsRegistration")&&i.uint32(16).bool(t.NeedsRegistration),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestRegisterWebRTCEndpoint;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.register=t.bool();break}case 2:{a.NeedsRegistration=t.bool();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:163,registerWebRTC:this})},e.prototype.typeId=163,e.prototype.typeName="registerWebRTC",e})(),Ta=T.ChatTyping=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.Party!=null&&Object.hasOwnProperty.call(t,"Party")&&i.uint32(10).string(t.Party),t.User!=null&&Object.hasOwnProperty.call(t,"User")&&i.uint32(18).string(t.User),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(24).int32(t.IdConversation),t.IdRecipient!=null&&Object.hasOwnProperty.call(t,"IdRecipient")&&i.uint32(32).int32(t.IdRecipient),t.CnvGid!=null&&Object.hasOwnProperty.call(t,"CnvGid")&&i.uint32(42).string(t.CnvGid),t.MemberGid!=null&&Object.hasOwnProperty.call(t,"MemberGid")&&i.uint32(50).string(t.MemberGid),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatTyping;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Party=t.string();break}case 2:{a.User=t.string();break}case 3:{a.IdConversation=t.int32();break}case 4:{a.IdRecipient=t.int32();break}case 5:{a.CnvGid=t.string();break}case 6:{a.MemberGid=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:180,UserTypingChat:this})},e.prototype.typeId=180,e.prototype.typeName="UserTypingChat",e})(),$c=T.NotificationC2CState=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.Connected!=null&&Object.hasOwnProperty.call(t,"Connected")&&i.uint32(8).bool(t.Connected),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.NotificationC2CState;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Connected=t.bool();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:233,C2cState:this})},e.prototype.typeId=233,e.prototype.typeName="C2cState",e})(),$h=T.GenericMessage=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.MessageId),t.LoginRequest!=null&&Object.hasOwnProperty.call(t,"LoginRequest")&&T.Login.encode(t.LoginRequest,i.uint32(802).fork()).ldelim(),t.LogoutRequest!=null&&Object.hasOwnProperty.call(t,"LogoutRequest")&&T.Logout.encode(t.LogoutRequest,i.uint32(810).fork()).ldelim(),t.GetMyInfo!=null&&Object.hasOwnProperty.call(t,"GetMyInfo")&&T.RequestMyInfo.encode(t.GetMyInfo,i.uint32(818).fork()).ldelim(),t.SendChatMessage!=null&&Object.hasOwnProperty.call(t,"SendChatMessage")&&T.RequestSendChatMessage.encode(t.SendChatMessage,i.uint32(882).fork()).ldelim(),t.MessagesReceived!=null&&Object.hasOwnProperty.call(t,"MessagesReceived")&&T.RequestSetChatReceived.encode(t.MessagesReceived,i.uint32(898).fork()).ldelim(),t.GetMyLastMessages!=null&&Object.hasOwnProperty.call(t,"GetMyLastMessages")&&T.RequestGetMyLastMessages.encode(t.GetMyLastMessages,i.uint32(1298).fork()).ldelim(),t.registerWebRTC!=null&&Object.hasOwnProperty.call(t,"registerWebRTC")&&T.RequestRegisterWebRTCEndpoint.encode(t.registerWebRTC,i.uint32(1306).fork()).ldelim(),t.ChangeSDPState!=null&&Object.hasOwnProperty.call(t,"ChangeSDPState")&&T.RequestWebRTCChangeSDPState.encode(t.ChangeSDPState,i.uint32(1314).fork()).ldelim(),t.SendChatFile!=null&&Object.hasOwnProperty.call(t,"SendChatFile")&&T.RequestSendChatFile.encode(t.SendChatFile,i.uint32(1434).fork()).ldelim(),t.UserTypingChat!=null&&Object.hasOwnProperty.call(t,"UserTypingChat")&&T.ChatTyping.encode(t.UserTypingChat,i.uint32(1442).fork()).ldelim(),t.SendMessageToConversation!=null&&Object.hasOwnProperty.call(t,"SendMessageToConversation")&&T.RequestSendChatMessageToConversation.encode(t.SendMessageToConversation,i.uint32(1522).fork()).ldelim(),t.CloseConversation!=null&&Object.hasOwnProperty.call(t,"CloseConversation")&&T.RequestCloseConversation.encode(t.CloseConversation,i.uint32(1586).fork()).ldelim(),t.LoginResponse!=null&&Object.hasOwnProperty.call(t,"LoginResponse")&&T.LoginInfo.encode(t.LoginResponse,i.uint32(1602).fork()).ldelim(),t.Acknowledge!=null&&Object.hasOwnProperty.call(t,"Acknowledge")&&T.ResponseAcknowledge.encode(t.Acknowledge,i.uint32(1658).fork()).ldelim(),t.MyChatMessages!=null&&Object.hasOwnProperty.call(t,"MyChatMessages")&&T.ResponseMyMessages.encode(t.MyChatMessages,i.uint32(1674).fork()).ldelim(),t.webRTCEndpoint!=null&&Object.hasOwnProperty.call(t,"webRTCEndpoint")&&T.MyWebRTCEndpoint.encode(t.webRTCEndpoint,i.uint32(1818).fork()).ldelim(),t.ChangeSDPStateResponse!=null&&Object.hasOwnProperty.call(t,"ChangeSDPStateResponse")&&T.ResponseWebRTCChangeSDPState.encode(t.ChangeSDPStateResponse,i.uint32(1826).fork()).ldelim(),t.ChatFileProgress!=null&&Object.hasOwnProperty.call(t,"ChatFileProgress")&&T.NotificationChatFileProgress.encode(t.ChatFileProgress,i.uint32(1858).fork()).ldelim(),t.C2cState!=null&&Object.hasOwnProperty.call(t,"C2cState")&&T.NotificationC2CState.encode(t.C2cState,i.uint32(1866).fork()).ldelim(),t.ConversationRemoved!=null&&Object.hasOwnProperty.call(t,"ConversationRemoved")&&T.NotificationConversationRemoved.encode(t.ConversationRemoved,i.uint32(1882).fork()).ldelim(),t.ConversationInfo!=null&&Object.hasOwnProperty.call(t,"ConversationInfo")&&T.ResponseConversationInfo.encode(t.ConversationInfo,i.uint32(1890).fork()).ldelim(),t.ChatTransferred!=null&&Object.hasOwnProperty.call(t,"ChatTransferred")&&T.NotificationChatTransferred.encode(t.ChatTransferred,i.uint32(1898).fork()).ldelim(),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.GenericMessage;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.MessageId=t.int32();break}case 100:{a.LoginRequest=T.Login.decode(t,t.uint32());break}case 101:{a.LogoutRequest=T.Logout.decode(t,t.uint32());break}case 102:{a.GetMyInfo=T.RequestMyInfo.decode(t,t.uint32());break}case 110:{a.SendChatMessage=T.RequestSendChatMessage.decode(t,t.uint32());break}case 112:{a.MessagesReceived=T.RequestSetChatReceived.decode(t,t.uint32());break}case 162:{a.GetMyLastMessages=T.RequestGetMyLastMessages.decode(t,t.uint32());break}case 163:{a.registerWebRTC=T.RequestRegisterWebRTCEndpoint.decode(t,t.uint32());break}case 164:{a.ChangeSDPState=T.RequestWebRTCChangeSDPState.decode(t,t.uint32());break}case 179:{a.SendChatFile=T.RequestSendChatFile.decode(t,t.uint32());break}case 180:{a.UserTypingChat=T.ChatTyping.decode(t,t.uint32());break}case 190:{a.SendMessageToConversation=T.RequestSendChatMessageToConversation.decode(t,t.uint32());break}case 198:{a.CloseConversation=T.RequestCloseConversation.decode(t,t.uint32());break}case 200:{a.LoginResponse=T.LoginInfo.decode(t,t.uint32());break}case 207:{a.Acknowledge=T.ResponseAcknowledge.decode(t,t.uint32());break}case 209:{a.MyChatMessages=T.ResponseMyMessages.decode(t,t.uint32());break}case 227:{a.webRTCEndpoint=T.MyWebRTCEndpoint.decode(t,t.uint32());break}case 228:{a.ChangeSDPStateResponse=T.ResponseWebRTCChangeSDPState.decode(t,t.uint32());break}case 232:{a.ChatFileProgress=T.NotificationChatFileProgress.decode(t,t.uint32());break}case 233:{a.C2cState=T.NotificationC2CState.decode(t,t.uint32());break}case 235:{a.ConversationRemoved=T.NotificationConversationRemoved.decode(t,t.uint32());break}case 236:{a.ConversationInfo=T.ResponseConversationInfo.decode(t,t.uint32());break}case 237:{a.ChatTransferred=T.NotificationChatTransferred.decode(t,t.uint32());break}default:t.skipType(r&7);break}}return a},e.typeMap={100:a3,101:s3,102:kh,110:u3,112:Fh,162:Dh,163:Uh,164:Uc,179:Ph,180:Ta,190:Lh,198:Bc,200:r3,207:ss,209:Po,227:Si,228:h3,232:Nh,233:$c,235:d3,236:Bh,237:qh},e})();class jh{constructor(n,t){_(this,"chatConversationId",-1);_(this,"isOnline",new To(!1));_(this,"endpoint","");_(this,"fileEndpoint","");_(this,"messagesSubject$",new Te);_(this,"messages$",this.messagesSubject$.asObservable());_(this,"notificationChannelEndpoint","");_(this,"pbxEndpoint","");_(this,"serverProvideSystemMessages",!1);_(this,"supportsWebRTC",!1);_(this,"webRTCEndpoint",new Si);_(this,"conversation$",new oi(1));_(this,"webRTCEndpoint$",new oi(1));_(this,"sessionId","");this.sessionState=n,this.error=t}notify(n){this.messagesSubject$.next(n)}emojiEndpoint(){return""}fileEndPoint(n){return""}get(n){return Ze(()=>{const t=new Error(this.error);return t.name="Empty Session",t})}getSessionUniqueCode(){return-1}onWebRtcEndpoint(n){}}const zh=()=>new jh(Bn.Idle,"Can't send request to idle session"),p3=e=>new jh(Bn.Error,e);/*! * shared v11.1.11 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function qn(e,n){typeof console<"u"&&(console.warn("[intlify] "+e),n&&console.warn(n.stack))}const Vh={};function jc(e){Vh[e]||(Vh[e]=!0,qn(e))}const _n=typeof window<"u";let on,eo;{const e=_n&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(on=n=>{e.mark(n)},eo=(n,t,i)=>{e.measure(n,t,i),e.clearMarks(t),e.clearMarks(i)})}const m3=/\{([0-9a-zA-Z]+)\}/g;function cs(e,...n){return n.length===1&&ke(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),e.replace(m3,(t,i)=>n.hasOwnProperty(i)?n[i]:"")}const Un=(e,n=!1)=>n?Symbol.for(e):Symbol(e),g3=(e,n,t)=>b3({l:e,k:n,s:t}),b3=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ct=e=>typeof e=="number"&&isFinite(e),v3=e=>zc(e)==="[object Date]",Fo=e=>zc(e)==="[object RegExp]",fs=e=>Me(e)&&Object.keys(e).length===0,pt=Object.assign,y3=Object.create,$e=(e=null)=>y3(e);let Hh;const to=()=>Hh||(Hh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:$e());function Wh(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Yh(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function A3(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(i,o,a)=>`${o}="${Yh(a)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(i,o,a)=>`${o}='${Yh(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(qn("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(i=>{e=e.replace(i,"$1javascript:")}),e}const w3=Object.prototype.hasOwnProperty;function En(e,n){return w3.call(e,n)}const Je=Array.isArray,ze=e=>typeof e=="function",ne=e=>typeof e=="string",xe=e=>typeof e=="boolean",ke=e=>e!==null&&typeof e=="object",C3=e=>ke(e)&&ze(e.then)&&ze(e.catch),Gh=Object.prototype.toString,zc=e=>Gh.call(e),Me=e=>zc(e)==="[object Object]",_3=e=>e==null?"":Je(e)||Me(e)&&e.toString===Gh?JSON.stringify(e,null,2):String(e);function Vc(e,n=""){return e.reduce((t,i,o)=>o===0?t+i:t+n+i,"")}const Qh=2;function E3(e,n=0,t=e.length){const i=e.split(/\r?\n/);let o=0;const a=[];for(let r=0;r<i.length;r++)if(o+=i[r].length+1,o>=n){for(let s=r-Qh;s<=r+Qh||t>o;s++){if(s<0||s>=i.length)continue;const l=s+1;a.push(`${l}${" ".repeat(3-String(l).length)}| ${i[s]}`);const c=i[s].length;if(s===r){const u=n-(o-c)+1,f=Math.max(1,t>o?c-u:t-n);a.push(" | "+" ".repeat(u)+"^".repeat(f))}else if(s>r){if(t>o){const u=Math.max(Math.min(t-o,c),1);a.push(" | "+"^".repeat(u))}o+=c+1}}break}return a.join(` `)}function Hc(){const e=new Map;return{events:e,on(t,i){const o=e.get(t);o&&o.push(i)||e.set(t,[i])},off(t,i){const o=e.get(t);o&&o.splice(o.indexOf(i)>>>0,1)},emit(t,i){(e.get(t)||[]).slice().map(o=>o(i)),(e.get("*")||[]).slice().map(o=>o(t,i))}}}const us=e=>!ke(e)||Je(e);function ds(e,n){if(us(e)||us(n))throw new Error("Invalid value");const t=[{src:e,des:n}];for(;t.length;){const{src:i,des:o}=t.pop();Object.keys(i).forEach(a=>{a!=="__proto__"&&(ke(i[a])&&!ke(o[a])&&(o[a]=Array.isArray(i[a])?[]:$e()),us(o[a])||us(i[a])?o[a]=i[a]:t.push({src:i[a],des:o[a]}))})}}function S3(e,n,t){return{line:e,column:n,offset:t}}function Wc(e,n,t){return{start:e,end:n}}const ve={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},M3=17,I3={[ve.EXPECTED_TOKEN]:"Expected token: '{0}'",[ve.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ve.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ve.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ve.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ve.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ve.EMPTY_PLACEHOLDER]:"Empty placeholder",[ve.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ve.INVALID_LINKED_FORMAT]:"Invalid linked format",[ve.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ve.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ve.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ve.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ve.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ve.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Bo(e,n,t={}){const{domain:i,messages:o,args:a}=t,r=cs((o||I3)[e]||"",...a||[]),s=new SyntaxError(String(r));return s.code=e,n&&(s.location=n),s.domain=i,s}function T3(e){throw e}const O3=/<\/?[\w\s="/.':;#-\/]+>/,k3=e=>O3.test(e),si=" ",x3="\r",Bt=` `,R3="\u2028",N3="\u2029";function L3(e){const n=e;let t=0,i=1,o=1,a=0;const r=N=>n[N]===x3&&n[N+1]===Bt,s=N=>n[N]===Bt,l=N=>n[N]===N3,c=N=>n[N]===R3,u=N=>r(N)||s(N)||l(N)||c(N),f=()=>t,d=()=>i,p=()=>o,h=()=>a,b=N=>r(N)||l(N)||c(N)?Bt:n[N],y=()=>b(t),g=()=>b(t+a);function C(){return a=0,u(t)&&(i++,o=0),r(t)&&t++,t++,o++,n[t]}function E(){return r(t+a)&&a++,a++,n[t+a]}function x(){t=0,i=1,o=1,a=0}function M(N=0){a=N}function U(){const N=t+a;for(;N!==t;)C();a=0}return{index:f,line:d,column:p,peekOffset:h,charAt:b,currentChar:y,currentPeek:g,next:C,peek:E,reset:x,resetPeek:M,skipToPeek:U}}const Mi=void 0,P3=".",Kh="'",D3="tokenizer";function F3(e,n={}){const t=n.location!==!1,i=L3(e),o=()=>i.index(),a=()=>S3(i.line(),i.column(),i.index()),r=a(),s=o(),l={currentType:13,offset:s,startLoc:r,endLoc:r,lastType:13,lastOffset:s,lastStartLoc:r,lastEndLoc:r,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=n;function f(v,w,S,...P){const j=c();if(w.column+=S,w.offset+=S,u){const ie=t?Wc(j.startLoc,w):null,$=Bo(v,ie,{domain:D3,args:P});u($)}}function d(v,w,S){v.endLoc=a(),v.currentType=w;const P={type:w};return t&&(P.loc=Wc(v.startLoc,v.endLoc)),S!=null&&(P.value=S),P}const p=v=>d(v,13);function h(v,w){return v.currentChar()===w?(v.next(),w):(f(ve.EXPECTED_TOKEN,a(),0,w),"")}function b(v){let w="";for(;v.currentPeek()===si||v.currentPeek()===Bt;)w+=v.currentPeek(),v.peek();return w}function y(v){const w=b(v);return v.skipToPeek(),w}function g(v){if(v===Mi)return!1;const w=v.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w===95}function C(v){if(v===Mi)return!1;const w=v.charCodeAt(0);return w>=48&&w<=57}function E(v,w){const{currentType:S}=w;if(S!==2)return!1;b(v);const P=g(v.currentPeek());return v.resetPeek(),P}function x(v,w){const{currentType:S}=w;if(S!==2)return!1;b(v);const P=v.currentPeek()==="-"?v.peek():v.currentPeek(),j=C(P);return v.resetPeek(),j}function M(v,w){const{currentType:S}=w;if(S!==2)return!1;b(v);const P=v.currentPeek()===Kh;return v.resetPeek(),P}function U(v,w){const{currentType:S}=w;if(S!==7)return!1;b(v);const P=v.currentPeek()===".";return v.resetPeek(),P}function N(v,w){const{currentType:S}=w;if(S!==8)return!1;b(v);const P=g(v.currentPeek());return v.resetPeek(),P}function K(v,w){const{currentType:S}=w;if(!(S===7||S===11))return!1;b(v);const P=v.currentPeek()===":";return v.resetPeek(),P}function re(v,w){const{currentType:S}=w;if(S!==9)return!1;const P=()=>{const ie=v.currentPeek();return ie==="{"?g(v.peek()):ie==="@"||ie==="|"||ie===":"||ie==="."||ie===si||!ie?!1:ie===Bt?(v.peek(),P()):ee(v,!1)},j=P();return v.resetPeek(),j}function W(v){b(v);const w=v.currentPeek()==="|";return v.resetPeek(),w}function ee(v,w=!0){const S=(j=!1,ie="")=>{const $=v.currentPeek();return $==="{"||$==="@"||!$?j:$==="|"?!(ie===si||ie===Bt):$===si?(v.peek(),S(!0,si)):$===Bt?(v.peek(),S(!0,Bt)):!0},P=S();return w&&v.resetPeek(),P}function he(v,w){const S=v.currentChar();return S===Mi?Mi:w(S)?(v.next(),S):null}function Be(v){const w=v.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36}function se(v){return he(v,Be)}function Q(v){const w=v.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36||w===45}function q(v){return he(v,Q)}function z(v){const w=v.charCodeAt(0);return w>=48&&w<=57}function D(v){return he(v,z)}function te(v){const w=v.charCodeAt(0);return w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102}function X(v){return he(v,te)}function me(v){let w="",S="";for(;w=D(v);)S+=w;return S}function ge(v){let w="";for(;;){const S=v.currentChar();if(S==="{"||S==="}"||S==="@"||S==="|"||!S)break;if(S===si||S===Bt)if(ee(v))w+=S,v.next();else{if(W(v))break;w+=S,v.next()}else w+=S,v.next()}return w}function Ee(v){y(v);let w="",S="";for(;w=q(v);)S+=w;return v.currentChar()===Mi&&f(ve.UNTERMINATED_CLOSING_BRACE,a(),0),S}function De(v){y(v);let w="";return v.currentChar()==="-"?(v.next(),w+=`-${me(v)}`):w+=me(v),v.currentChar()===Mi&&f(ve.UNTERMINATED_CLOSING_BRACE,a(),0),w}function Xe(v){return v!==Kh&&v!==Bt}function Rt(v){y(v),h(v,"'");let w="",S="";for(;w=he(v,Xe);)w==="\\"?S+=at(v):S+=w;const P=v.currentChar();return P===Bt||P===Mi?(f(ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),P===Bt&&(v.next(),h(v,"'")),S):(h(v,"'"),S)}function at(v){const w=v.currentChar();switch(w){case"\\":case"'":return v.next(),`\\${w}`;case"u":return ft(v,w,4);case"U":return ft(v,w,6);default:return f(ve.UNKNOWN_ESCAPE_SEQUENCE,a(),0,w),""}}function ft(v,w,S){h(v,w);let P="";for(let j=0;j<S;j++){const ie=X(v);if(!ie){f(ve.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${w}${P}${v.currentChar()}`);break}P+=ie}return`\\${w}${P}`}function _t(v){return v!=="{"&&v!=="}"&&v!==si&&v!==Bt}function et(v){y(v);let w="",S="";for(;w=he(v,_t);)S+=w;return S}function ut(v){let w="",S="";for(;w=se(v);)S+=w;return S}function bn(v){const w=S=>{const P=v.currentChar();return P==="{"||P==="@"||P==="|"||P==="("||P===")"||!P||P===si?S:(S+=P,v.next(),w(S))};return w("")}function m(v){y(v);const w=h(v,"|");return y(v),w}function A(v,w){let S=null;switch(v.currentChar()){case"{":return w.braceNest>=1&&f(ve.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),v.next(),S=d(w,2,"{"),y(v),w.braceNest++,S;case"}":return w.braceNest>0&&w.currentType===2&&f(ve.EMPTY_PLACEHOLDER,a(),0),v.next(),S=d(w,3,"}"),w.braceNest--,w.braceNest>0&&y(v),w.inLinked&&w.braceNest===0&&(w.inLinked=!1),S;case"@":return w.braceNest>0&&f(ve.UNTERMINATED_CLOSING_BRACE,a(),0),S=O(v,w)||p(w),w.braceNest=0,S;default:{let j=!0,ie=!0,$=!0;if(W(v))return w.braceNest>0&&f(ve.UNTERMINATED_CLOSING_BRACE,a(),0),S=d(w,1,m(v)),w.braceNest=0,w.inLinked=!1,S;if(w.braceNest>0&&(w.currentType===4||w.currentType===5||w.currentType===6))return f(ve.UNTERMINATED_CLOSING_BRACE,a(),0),w.braceNest=0,F(v,w);if(j=E(v,w))return S=d(w,4,Ee(v)),y(v),S;if(ie=x(v,w))return S=d(w,5,De(v)),y(v),S;if($=M(v,w))return S=d(w,6,Rt(v)),y(v),S;if(!j&&!ie&&!$)return S=d(w,12,et(v)),f(ve.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,S.value),y(v),S;break}}return S}function O(v,w){const{currentType:S}=w;let P=null;const j=v.currentChar();switch((S===7||S===8||S===11||S===9)&&(j===Bt||j===si)&&f(ve.INVALID_LINKED_FORMAT,a(),0),j){case"@":return v.next(),P=d(w,7,"@"),w.inLinked=!0,P;case".":return y(v),v.next(),d(w,8,".");case":":return y(v),v.next(),d(w,9,":");default:return W(v)?(P=d(w,1,m(v)),w.braceNest=0,w.inLinked=!1,P):U(v,w)||K(v,w)?(y(v),O(v,w)):N(v,w)?(y(v),d(w,11,ut(v))):re(v,w)?(y(v),j==="{"?A(v,w)||P:d(w,10,bn(v))):(S===7&&f(ve.INVALID_LINKED_FORMAT,a(),0),w.braceNest=0,w.inLinked=!1,F(v,w))}}function F(v,w){let S={type:13};if(w.braceNest>0)return A(v,w)||p(w);if(w.inLinked)return O(v,w)||p(w);switch(v.currentChar()){case"{":return A(v,w)||p(w);case"}":return f(ve.UNBALANCED_CLOSING_BRACE,a(),0),v.next(),d(w,3,"}");case"@":return O(v,w)||p(w);default:{if(W(v))return S=d(w,1,m(v)),w.braceNest=0,w.inLinked=!1,S;if(ee(v))return d(w,0,ge(v));break}}return S}function V(){const{currentType:v,offset:w,startLoc:S,endLoc:P}=l;return l.lastType=v,l.lastOffset=w,l.lastStartLoc=S,l.lastEndLoc=P,l.offset=o(),l.startLoc=a(),i.currentChar()===Mi?d(l,13):F(i,l)}return{nextToken:V,currentOffset:o,currentPosition:a,context:c}}const B3="parser",q3=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function U3(e,n,t){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(n||t,16);return i<=55295||i>=57344?String.fromCodePoint(i):"�"}}}function $3(e={}){const n=e.location!==!1,{onError:t}=e;function i(g,C,E,x,...M){const U=g.currentPosition();if(U.offset+=x,U.column+=x,t){const N=n?Wc(E,U):null,K=Bo(C,N,{domain:B3,args:M});t(K)}}function o(g,C,E){const x={type:g};return n&&(x.start=C,x.end=C,x.loc={start:E,end:E}),x}function a(g,C,E,x){n&&(g.end=C,g.loc&&(g.loc.end=E))}function r(g,C){const E=g.context(),x=o(3,E.offset,E.startLoc);return x.value=C,a(x,g.currentOffset(),g.currentPosition()),x}function s(g,C){const E=g.context(),{lastOffset:x,lastStartLoc:M}=E,U=o(5,x,M);return U.index=parseInt(C,10),g.nextToken(),a(U,g.currentOffset(),g.currentPosition()),U}function l(g,C){const E=g.context(),{lastOffset:x,lastStartLoc:M}=E,U=o(4,x,M);return U.key=C,g.nextToken(),a(U,g.currentOffset(),g.currentPosition()),U}function c(g,C){const E=g.context(),{lastOffset:x,lastStartLoc:M}=E,U=o(9,x,M);return U.value=C.replace(q3,U3),g.nextToken(),a(U,g.currentOffset(),g.currentPosition()),U}function u(g){const C=g.nextToken(),E=g.context(),{lastOffset:x,lastStartLoc:M}=E,U=o(8,x,M);return C.type!==11?(i(g,ve.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),U.value="",a(U,x,M),{nextConsumeToken:C,node:U}):(C.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,$n(C)),U.value=C.value||"",a(U,g.currentOffset(),g.currentPosition()),{node:U})}function f(g,C){const E=g.context(),x=o(7,E.offset,E.startLoc);return x.value=C,a(x,g.currentOffset(),g.currentPosition()),x}function d(g){const C=g.context(),E=o(6,C.offset,C.startLoc);let x=g.nextToken();if(x.type===8){const M=u(g);E.modifier=M.node,x=M.nextConsumeToken||g.nextToken()}switch(x.type!==9&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(x)),x=g.nextToken(),x.type===2&&(x=g.nextToken()),x.type){case 10:x.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(x)),E.key=f(g,x.value||"");break;case 4:x.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(x)),E.key=l(g,x.value||"");break;case 5:x.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(x)),E.key=s(g,x.value||"");break;case 6:x.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(x)),E.key=c(g,x.value||"");break;default:{i(g,ve.UNEXPECTED_EMPTY_LINKED_KEY,C.lastStartLoc,0);const M=g.context(),U=o(7,M.offset,M.startLoc);return U.value="",a(U,M.offset,M.startLoc),E.key=U,a(E,M.offset,M.startLoc),{nextConsumeToken:x,node:E}}}return a(E,g.currentOffset(),g.currentPosition()),{node:E}}function p(g){const C=g.context(),E=C.currentType===1?g.currentOffset():C.offset,x=C.currentType===1?C.endLoc:C.startLoc,M=o(2,E,x);M.items=[];let U=null;do{const re=U||g.nextToken();switch(U=null,re.type){case 0:re.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(re)),M.items.push(r(g,re.value||""));break;case 5:re.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(re)),M.items.push(s(g,re.value||""));break;case 4:re.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(re)),M.items.push(l(g,re.value||""));break;case 6:re.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(re)),M.items.push(c(g,re.value||""));break;case 7:{const W=d(g);M.items.push(W.node),U=W.nextConsumeToken||null;break}}}while(C.currentType!==13&&C.currentType!==1);const N=C.currentType===1?C.lastOffset:g.currentOffset(),K=C.currentType===1?C.lastEndLoc:g.currentPosition();return a(M,N,K),M}function h(g,C,E,x){const M=g.context();let U=x.items.length===0;const N=o(1,C,E);N.cases=[],N.cases.push(x);do{const K=p(g);U||(U=K.items.length===0),N.cases.push(K)}while(M.currentType!==13);return U&&i(g,ve.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),a(N,g.currentOffset(),g.currentPosition()),N}function b(g){const C=g.context(),{offset:E,startLoc:x}=C,M=p(g);return C.currentType===13?M:h(g,E,x,M)}function y(g){const C=F3(g,pt({},e)),E=C.context(),x=o(0,E.offset,E.startLoc);return n&&x.loc&&(x.loc.source=g),x.body=b(C),e.onCacheKey&&(x.cacheKey=e.onCacheKey(g)),E.currentType!==13&&i(C,ve.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,g[E.offset]||""),a(x,C.currentOffset(),C.currentPosition()),x}return{parse:y}}function $n(e){if(e.type===13)return"EOF";const n=(e.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function j3(e,n={}){const t={ast:e,helpers:new Set};return{context:()=>t,helper:a=>(t.helpers.add(a),a)}}function Zh(e,n){for(let t=0;t<e.length;t++)Yc(e[t],n)}function Yc(e,n){switch(e.type){case 1:Zh(e.cases,n),n.helper("plural");break;case 2:Zh(e.items,n);break;case 6:{Yc(e.key,n),n.helper("linked"),n.helper("type");break}case 5:n.helper("interpolate"),n.helper("list");break;case 4:n.helper("interpolate"),n.helper("named");break}}function z3(e,n={}){const t=j3(e);t.helper("normalize"),e.body&&Yc(e.body,t);const i=t.context();e.helpers=Array.from(i.helpers)}function V3(e){const n=e.body;return n.type===2?Jh(n):n.cases.forEach(t=>Jh(t)),e}function Jh(e){if(e.items.length===1){const n=e.items[0];(n.type===3||n.type===9)&&(e.static=n.value,delete n.value)}else{const n=[];for(let t=0;t<e.items.length;t++){const i=e.items[t];if(!(i.type===3||i.type===9)||i.value==null)break;n.push(i.value)}if(n.length===e.items.length){e.static=Vc(n);for(let t=0;t<e.items.length;t++){const i=e.items[t];(i.type===3||i.type===9)&&delete i.value}}}}const H3="minifier";function qo(e){switch(e.t=e.type,e.type){case 0:{const n=e;qo(n.body),n.b=n.body,delete n.body;break}case 1:{const n=e,t=n.cases;for(let i=0;i<t.length;i++)qo(t[i]);n.c=t,delete n.cases;break}case 2:{const n=e,t=n.items;for(let i=0;i<t.length;i++)qo(t[i]);n.i=t,delete n.items,n.static&&(n.s=n.static,delete n.static);break}case 3:case 9:case 8:case 7:{const n=e;n.value&&(n.v=n.value,delete n.value);break}case 6:{const n=e;qo(n.key),n.k=n.key,delete n.key,n.modifier&&(qo(n.modifier),n.m=n.modifier,delete n.modifier);break}case 5:{const n=e;n.i=n.index,delete n.index;break}case 4:{const n=e;n.k=n.key,delete n.key;break}default:throw Bo(ve.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:H3,args:[e.type]})}delete e.type}const W3="parser";function Y3(e,n){const{filename:t,breakLineCode:i,needIndent:o}=n,a=n.location!==!1,r={filename:t,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:o,indentLevel:0};a&&e.loc&&(r.source=e.loc.source);const s=()=>r;function l(b,y){r.code+=b}function c(b,y=!0){const g=y?i:"";l(o?g+" ".repeat(b):g)}function u(b=!0){const y=++r.indentLevel;b&&c(y)}function f(b=!0){const y=--r.indentLevel;b&&c(y)}function d(){c(r.indentLevel)}return{context:s,push:l,indent:u,deindent:f,newline:d,helper:b=>`_${b}`,needIndent:()=>r.needIndent}}function G3(e,n){const{helper:t}=e;e.push(`${t("linked")}(`),Uo(e,n.key),n.modifier?(e.push(", "),Uo(e,n.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Q3(e,n){const{helper:t,needIndent:i}=e;e.push(`${t("normalize")}([`),e.indent(i());const o=n.items.length;for(let a=0;a<o&&(Uo(e,n.items[a]),a!==o-1);a++)e.push(", ");e.deindent(i()),e.push("])")}function K3(e,n){const{helper:t,needIndent:i}=e;if(n.cases.length>1){e.push(`${t("plural")}([`),e.indent(i());const o=n.cases.length;for(let a=0;a<o&&(Uo(e,n.cases[a]),a!==o-1);a++)e.push(", ");e.deindent(i()),e.push("])")}}function Z3(e,n){n.body?Uo(e,n.body):e.push("null")}function Uo(e,n){const{helper:t}=e;switch(n.type){case 0:Z3(e,n);break;case 1:K3(e,n);break;case 2:Q3(e,n);break;case 6:G3(e,n);break;case 8:e.push(JSON.stringify(n.value),n);break;case 7:e.push(JSON.stringify(n.value),n);break;case 5:e.push(`${t("interpolate")}(${t("list")}(${n.index}))`,n);break;case 4:e.push(`${t("interpolate")}(${t("named")}(${JSON.stringify(n.key)}))`,n);break;case 9:e.push(JSON.stringify(n.value),n);break;case 3:e.push(JSON.stringify(n.value),n);break;default:throw Bo(ve.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:W3,args:[n.type]})}}const J3=(e,n={})=>{const t=ne(n.mode)?n.mode:"normal",i=ne(n.filename)?n.filename:"message.intl";n.sourceMap;const o=n.breakLineCode!=null?n.breakLineCode:t==="arrow"?";":` `,a=n.needIndent?n.needIndent:t!=="arrow",r=e.helpers||[],s=Y3(e,{filename:i,breakLineCode:o,needIndent:a});s.push(t==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(a),r.length>0&&(s.push(`const { ${Vc(r.map(u=>`${u}: _${u}`),", ")} } = ctx`),s.newline()),s.push("return "),Uo(s,e),s.deindent(a),s.push("}"),delete e.helpers;const{code:l,map:c}=s.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function X3(e,n={}){const t=pt({},n),i=!!t.jit,o=!!t.minify,a=t.optimize==null?!0:t.optimize,s=$3(t).parse(e);return i?(a&&V3(s),o&&qo(s),{ast:s,code:""}):(z3(s,t),J3(s,t))}var eA={NODE_ENV:'"production"'};function tA(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(to().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(to().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function dn(e){return ke(e)&&Gc(e)===0&&(En(e,"b")||En(e,"body"))}const Xh=["b","body"];function nA(e){return Ii(e,Xh)}const ep=["c","cases"];function iA(e){return Ii(e,ep,[])}const tp=["s","static"];function oA(e){return Ii(e,tp)}const np=["i","items"];function aA(e){return Ii(e,np,[])}const ip=["t","type"];function Gc(e){return Ii(e,ip)}const op=["v","value"];function hs(e,n){const t=Ii(e,op);if(t!=null)return t;throw Oa(n)}const ap=["m","modifier"];function rA(e){return Ii(e,ap)}const rp=["k","key"];function sA(e){const n=Ii(e,rp);if(n)return n;throw Oa(6)}function Ii(e,n,t){for(let i=0;i<n.length;i++){const o=n[i];if(En(e,o)&&e[o]!=null)return e[o]}return t}const sp=[...Xh,...ep,...tp,...np,...rp,...ap,...op,...ip];function Oa(e){return new Error(`unhandled node type: ${e}`)}function Qc(e){return t=>lA(t,e)}function lA(e,n){const t=nA(n);if(t==null)throw Oa(0);if(Gc(t)===1){const a=iA(t);return e.plural(a.reduce((r,s)=>[...r,lp(e,s)],[]))}else return lp(e,t)}function lp(e,n){const t=oA(n);if(t!=null)return e.type==="text"?t:e.normalize([t]);{const i=aA(n).reduce((o,a)=>[...o,Kc(e,a)],[]);return e.normalize(i)}}function Kc(e,n){const t=Gc(n);switch(t){case 3:return hs(n,t);case 9:return hs(n,t);case 4:{const i=n;if(En(i,"k")&&i.k)return e.interpolate(e.named(i.k));if(En(i,"key")&&i.key)return e.interpolate(e.named(i.key));throw Oa(t)}case 5:{const i=n;if(En(i,"i")&&ct(i.i))return e.interpolate(e.list(i.i));if(En(i,"index")&&ct(i.index))return e.interpolate(e.list(i.index));throw Oa(t)}case 6:{const i=n,o=rA(i),a=sA(i);return e.linked(Kc(e,a),o?Kc(e,o):void 0,e.type)}case 7:return hs(n,t);case 8:return hs(n,t);default:throw new Error(`unhandled node on format message part: ${t}`)}}const cA="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function fA(e,n){n&&k3(e)&&qn(cs(cA,{source:e}))}const uA=e=>e;let ps=$e();function dA(e,n={}){let t=!1;const i=n.onError||T3;return n.onError=o=>{t=!0,i(o)},{...X3(e,n),detectError:t}}function hA(e,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ne(e)){const t=xe(n.warnHtmlMessage)?n.warnHtmlMessage:!0;fA(e,t);const o=(n.onCacheKey||uA)(e),a=ps[o];if(a)return a;const{ast:r,detectError:s}=dA(e,{...n,location:eA.NODE_ENV!=="production",jit:!0}),l=Qc(r);return s?l:ps[o]=l}else{if(!dn(e))return qn(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),()=>e;const t=e.cacheKey;if(t){const i=ps[t];return i||(ps[t]=Qc(e))}else return Qc(e)}}let ka=null;function pA(e){ka=e}function mA(e,n,t){ka&&ka.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:n,meta:t})}const gA=bA("function:translate");function bA(e){return n=>ka&&ka.emit(e,n)}const It={INVALID_ARGUMENT:M3,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},vA=24;function li(e){return Bo(e,null,{messages:yA})}const yA={[It.INVALID_ARGUMENT]:"Invalid arguments",[It.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[It.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[It.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[It.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[It.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[It.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Zc(e,n){return n.locale!=null?cp(n.locale):cp(e.locale)}let Jc;function cp(e){if(ne(e))return e;if(ze(e)){if(e.resolvedOnce&&Jc!=null)return Jc;if(e.constructor.name==="Function"){const n=e();if(C3(n))throw li(It.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Jc=n}else throw li(It.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw li(It.NOT_SUPPORT_LOCALE_TYPE)}function AA(e,n,t){return[...new Set([t,...Je(n)?n:ke(n)?Object.keys(n):ne(n)?[n]:[t]])]}function fp(e,n,t){const i=ne(t)?t:xa,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(i);if(!a){a=[];let r=[t];for(;Je(r);)r=up(a,r,n);const s=Je(n)||!Me(n)?n:n.default?n.default:null;r=ne(s)?[s]:s,Je(r)&&up(a,r,!1),o.__localeChainCache.set(i,a)}return a}function up(e,n,t){let i=!0;for(let o=0;o<n.length&&xe(i);o++){const a=n[o];ne(a)&&(i=wA(e,n[o],t))}return i}function wA(e,n,t){let i;const o=n.split("-");do{const a=o.join("-");i=CA(e,a,t),o.splice(-1,1)}while(o.length&&i===!0);return i}function CA(e,n,t){let i=!1;if(!e.includes(n)&&(i=!0,n)){i=n[n.length-1]!=="!";const o=n.replace(/!/g,"");e.push(o),(Je(t)||Me(t))&&t[o]&&(i=t[o])}return i}const Ti=[];Ti[0]={w:[0],i:[3,0],"[":[4],o:[7]},Ti[1]={w:[1],".":[2],"[":[4],o:[7]},Ti[2]={w:[2],i:[3,0],0:[3,0]},Ti[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Ti[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Ti[5]={"'":[4,0],o:8,l:[5,0]},Ti[6]={'"':[4,0],o:8,l:[6,0]};const _A=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function EA(e){return _A.test(e)}function SA(e){const n=e.charCodeAt(0),t=e.charCodeAt(e.length-1);return n===t&&(n===34||n===39)?e.slice(1,-1):e}function MA(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function IA(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:EA(n)?SA(n):"*"+n}function TA(e){const n=[];let t=-1,i=0,o=0,a,r,s,l,c,u,f;const d=[];d[0]=()=>{r===void 0?r=s:r+=s},d[1]=()=>{r!==void 0&&(n.push(r),r=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,i=4,d[0]();else{if(o=0,r===void 0||(r=IA(r),r===!1))return!1;d[1]()}};function p(){const h=e[t+1];if(i===5&&h==="'"||i===6&&h==='"')return t++,s="\\"+h,d[0](),!0}for(;i!==null;)if(t++,a=e[t],!(a==="\\"&&p())){if(l=MA(a),f=Ti[i],c=f[l]||f.l||8,c===8||(i=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(s=a,u()===!1))))return;if(i===7)return n}}const dp=new Map;function OA(e,n){return ke(e)?e[n]:null}function kA(e,n){if(!ke(e))return null;let t=dp.get(n);if(t||(t=TA(n),t&&dp.set(n,t)),!t)return null;const i=t.length;let o=e,a=0;for(;a<i;){const r=t[a];if(sp.includes(r)&&dn(o))return null;const s=o[r];if(s===void 0||ze(o))return null;o=s,a++}return o}const Vt={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},xA=8,RA={[Vt.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Vt.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Vt.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Vt.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Vt.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Vt.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Vt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function no(e,...n){return cs(RA[e],...n)}const NA="11.1.11",ms=-1,xa="en-US",gs="",hp=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function LA(){return{upper:(e,n)=>n==="text"&&ne(e)?e.toUpperCase():n==="vnode"&&ke(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&ne(e)?e.toLowerCase():n==="vnode"&&ke(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&ne(e)?hp(e):n==="vnode"&&ke(e)&&"__v_isVNode"in e?hp(e.children):e}}let pp;function PA(e){pp=e}let mp;function DA(e){mp=e}let gp;function FA(e){gp=e}let bp=null;const BA=e=>{bp=e},qA=()=>bp;let vp=null;const yp=e=>{vp=e},UA=()=>vp;let Ap=0;function $A(e={}){const n=ze(e.onWarn)?e.onWarn:qn,t=ne(e.version)?e.version:NA,i=ne(e.locale)||ze(e.locale)?e.locale:xa,o=ze(i)?xa:i,a=Je(e.fallbackLocale)||Me(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,r=Me(e.messages)?e.messages:Xc(o),s=Me(e.datetimeFormats)?e.datetimeFormats:Xc(o),l=Me(e.numberFormats)?e.numberFormats:Xc(o),c=pt($e(),e.modifiers,LA()),u=e.pluralRules||$e(),f=ze(e.missing)?e.missing:null,d=xe(e.missingWarn)||Fo(e.missingWarn)?e.missingWarn:!0,p=xe(e.fallbackWarn)||Fo(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,b=!!e.unresolving,y=ze(e.postTranslation)?e.postTranslation:null,g=Me(e.processor)?e.processor:null,C=xe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,x=ze(e.messageCompiler)?e.messageCompiler:pp;ze(e.messageCompiler)&&jc(no(Vt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const M=ze(e.messageResolver)?e.messageResolver:mp||OA,U=ze(e.localeFallbacker)?e.localeFallbacker:gp||AA,N=ke(e.fallbackContext)?e.fallbackContext:void 0,K=e,re=ke(K.__datetimeFormatters)?K.__datetimeFormatters:new Map,W=ke(K.__numberFormatters)?K.__numberFormatters:new Map,ee=ke(K.__meta)?K.__meta:{};Ap++;const he={version:t,cid:Ap,locale:i,fallbackLocale:a,messages:r,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:b,postTranslation:y,processor:g,warnHtmlMessage:C,escapeParameter:E,messageCompiler:x,messageResolver:M,localeFallbacker:U,fallbackContext:N,onWarn:n,__meta:ee};return he.datetimeFormats=s,he.numberFormats=l,he.__datetimeFormatters=re,he.__numberFormatters=W,he.__v_emitter=K.__v_emitter!=null?K.__v_emitter:void 0,mA(he,t,ee),he}const Xc=e=>({[e]:$e()});function bs(e,n){return e instanceof RegExp?e.test(n):e}function wp(e,n){return e instanceof RegExp?e.test(n):e}function ef(e,n,t,i,o){const{missing:a,onWarn:r}=e;{const s=e.__v_emitter;s&&s.emit("missing",{locale:t,key:n,type:o,groupId:`${o}:${n}`})}if(a!==null){const s=a(e,t,n,o);return ne(s)?s:n}else return wp(i,n)&&r(no(Vt.NOT_FOUND_KEY,{key:n,locale:t})),n}function Ra(e,n,t){const i=e;i.__localeChainCache=new Map,e.localeFallbacker(e,t,n)}function Cp(e,n){return e===n?!1:e.split("-")[0]===n.split("-")[0]}function jA(e,n){const t=n.indexOf(e);if(t===-1)return!1;for(let i=t+1;i<n.length;i++)if(Cp(e,n[i]))return!0;return!1}const _p=typeof Intl<"u",Ep={dateTimeFormat:_p&&typeof Intl.DateTimeFormat<"u",numberFormat:_p&&typeof Intl.NumberFormat<"u"};function Sp(e,...n){const{datetimeFormats:t,unresolving:i,fallbackLocale:o,onWarn:a,localeFallbacker:r}=e,{__datetimeFormatters:s}=e;if(!Ep.dateTimeFormat)return a(no(Vt.CANNOT_FORMAT_DATE)),gs;const[l,c,u,f]=tf(...n),d=xe(u.missingWarn)?u.missingWarn:e.missingWarn,p=xe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,h=!!u.part,b=Zc(e,u),y=r(e,o,b);if(!ne(l)||l==="")return new Intl.DateTimeFormat(b,f).format(c);let g={},C,E=null,x=b,M=null;const U="datetime format";for(let re=0;re<y.length;re++){if(C=M=y[re],b!==C&&bs(p,l)&&a(no(Vt.FALLBACK_TO_DATE_FORMAT,{key:l,target:C})),b!==C){const W=e.__v_emitter;W&&W.emit("fallback",{type:U,key:l,from:x,to:M,groupId:`${U}:${l}`})}if(g=t[C]||{},E=g[l],Me(E))break;ef(e,l,C,d,U),x=M}if(!Me(E)||!ne(C))return i?ms:l;let N=`${C}__${l}`;fs(f)||(N=`${N}__${JSON.stringify(f)}`);let K=s.get(N);return K||(K=new Intl.DateTimeFormat(C,pt({},E,f)),s.set(N,K)),h?K.formatToParts(c):K.format(c)}const Mp=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function tf(...e){const[n,t,i,o]=e,a=$e();let r=$e(),s;if(ne(n)){const l=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw li(It.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();s=new Date(c);try{s.toISOString()}catch{throw li(It.INVALID_ISO_DATE_ARGUMENT)}}else if(v3(n)){if(isNaN(n.getTime()))throw li(It.INVALID_DATE_ARGUMENT);s=n}else if(ct(n))s=n;else throw li(It.INVALID_ARGUMENT);return ne(t)?a.key=t:Me(t)&&Object.keys(t).forEach(l=>{Mp.includes(l)?r[l]=t[l]:a[l]=t[l]}),ne(i)?a.locale=i:Me(i)&&(r=i),Me(o)&&(r=o),[a.key||"",s,a,r]}function Ip(e,n,t){const i=e;for(const o in t){const a=`${n}__${o}`;i.__datetimeFormatters.has(a)&&i.__datetimeFormatters.delete(a)}}function Tp(e,...n){const{numberFormats:t,unresolving:i,fallbackLocale:o,onWarn:a,localeFallbacker:r}=e,{__numberFormatters:s}=e;if(!Ep.numberFormat)return a(no(Vt.CANNOT_FORMAT_NUMBER)),gs;const[l,c,u,f]=nf(...n),d=xe(u.missingWarn)?u.missingWarn:e.missingWarn,p=xe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,h=!!u.part,b=Zc(e,u),y=r(e,o,b);if(!ne(l)||l==="")return new Intl.NumberFormat(b,f).format(c);let g={},C,E=null,x=b,M=null;const U="number format";for(let re=0;re<y.length;re++){if(C=M=y[re],b!==C&&bs(p,l)&&a(no(Vt.FALLBACK_TO_NUMBER_FORMAT,{key:l,target:C})),b!==C){const W=e.__v_emitter;W&&W.emit("fallback",{type:U,key:l,from:x,to:M,groupId:`${U}:${l}`})}if(g=t[C]||{},E=g[l],Me(E))break;ef(e,l,C,d,U),x=M}if(!Me(E)||!ne(C))return i?ms:l;let N=`${C}__${l}`;fs(f)||(N=`${N}__${JSON.stringify(f)}`);let K=s.get(N);return K||(K=new Intl.NumberFormat(C,pt({},E,f)),s.set(N,K)),h?K.formatToParts(c):K.format(c)}const Op=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function nf(...e){const[n,t,i,o]=e,a=$e();let r=$e();if(!ct(n))throw li(It.INVALID_ARGUMENT);const s=n;return ne(t)?a.key=t:Me(t)&&Object.keys(t).forEach(l=>{Op.includes(l)?r[l]=t[l]:a[l]=t[l]}),ne(i)?a.locale=i:Me(i)&&(r=i),Me(o)&&(r=o),[a.key||"",s,a,r]}function kp(e,n,t){const i=e;for(const o in t){const a=`${n}__${o}`;i.__numberFormatters.has(a)&&i.__numberFormatters.delete(a)}}const zA=e=>e,VA=e=>"",HA="text",WA=e=>e.length===0?"":Vc(e),YA=_3;function xp(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function GA(e){const n=ct(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ct(e.named.count)||ct(e.named.n))?ct(e.named.count)?e.named.count:ct(e.named.n)?e.named.n:n:n}function QA(e,n){n.count||(n.count=e),n.n||(n.n=e)}function KA(e={}){const n=e.locale,t=GA(e),i=ke(e.pluralRules)&&ne(n)&&ze(e.pluralRules[n])?e.pluralRules[n]:xp,o=ke(e.pluralRules)&&ne(n)&&ze(e.pluralRules[n])?xp:void 0,a=g=>g[i(t,g.length,o)],r=e.list||[],s=g=>r[g],l=e.named||$e();ct(e.pluralIndex)&&QA(t,l);const c=g=>l[g];function u(g,C){const E=ze(e.messages)?e.messages(g,!!C):ke(e.messages)?e.messages[g]:!1;return E||(e.parent?e.parent.message(g):VA)}const f=g=>e.modifiers?e.modifiers[g]:zA,d=Me(e.processor)&&ze(e.processor.normalize)?e.processor.normalize:WA,p=Me(e.processor)&&ze(e.processor.interpolate)?e.processor.interpolate:YA,h=Me(e.processor)&&ne(e.processor.type)?e.processor.type:HA,y={list:s,named:c,plural:a,linked:(g,...C)=>{const[E,x]=C;let M="text",U="";C.length===1?ke(E)?(U=E.modifier||U,M=E.type||M):ne(E)&&(U=E||U):C.length===2&&(ne(E)&&(U=E||U),ne(x)&&(M=x||M));const N=u(g,!0)(y),K=M==="vnode"&&Je(N)&&U?N[0]:N;return U?f(U)(K,M):K},message:u,type:h,interpolate:p,normalize:d,values:pt($e(),r,l)};return y}const Rp=()=>"",hn=e=>ze(e);function Np(e,...n){const{fallbackFormat:t,postTranslation:i,unresolving:o,messageCompiler:a,fallbackLocale:r,messages:s}=e,[l,c]=of(...n),u=xe(c.missingWarn)?c.missingWarn:e.missingWarn,f=xe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=xe(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=ne(c.default)||xe(c.default)?xe(c.default)?a?l:()=>l:c.default:t?a?l:()=>l:null,b=t||h!=null&&(ne(h)||ze(h)),y=Zc(e,c);d&&ZA(c);let[g,C,E]=p?[l,y,s[y]||$e()]:Lp(e,l,y,r,f,u),x=g,M=l;if(!p&&!(ne(x)||dn(x)||hn(x))&&b&&(x=h,M=x),!p&&(!(ne(x)||dn(x)||hn(x))||!ne(C)))return o?ms:l;if(ne(x)&&e.messageCompiler==null)return qn(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`),l;let U=!1;const N=()=>{U=!0},K=hn(x)?x:Pp(e,l,C,x,M,N);if(U)return x;const re=tw(e,C,E,c),W=KA(re),ee=JA(e,K,W);let he=i?i(ee,l):ee;d&&ne(he)&&(he=A3(he));{const Be={timestamp:Date.now(),key:ne(l)?l:hn(x)?x.key:"",locale:C||(hn(x)?x.locale:""),format:ne(x)?x:hn(x)?x.source:"",message:he};Be.meta=pt({},e.__meta,qA()||{}),gA(Be)}return he}function ZA(e){Je(e.list)?e.list=e.list.map(n=>ne(n)?Wh(n):n):ke(e.named)&&Object.keys(e.named).forEach(n=>{ne(e.named[n])&&(e.named[n]=Wh(e.named[n]))})}function Lp(e,n,t,i,o,a){const{messages:r,onWarn:s,messageResolver:l,localeFallbacker:c}=e,u=c(e,i,t);let f=$e(),d,p=null,h=t,b=null;const y="translate";for(let g=0;g<u.length;g++){if(d=b=u[g],t!==d&&!Cp(t,d)&&bs(o,n)&&s(no(Vt.FALLBACK_TO_TRANSLATE,{key:n,target:d})),t!==d){const M=e.__v_emitter;M&&M.emit("fallback",{type:y,key:n,from:h,to:b,groupId:`${y}:${n}`})}f=r[d]||$e();let C=null,E,x;if(_n&&(C=window.performance.now(),E="intlify-message-resolve-start",x="intlify-message-resolve-end",on&&on(E)),(p=l(f,n))===null&&(p=f[n]),_n){const M=window.performance.now(),U=e.__v_emitter;U&&C&&p&&U.emit("message-resolve",{type:"message-resolve",key:n,message:p,time:M-C,groupId:`${y}:${n}`}),E&&x&&on&&eo&&(on(x),eo("intlify message resolve",E,x))}if(ne(p)||dn(p)||hn(p))break;if(!jA(d,u)){const M=ef(e,n,d,a,y);M!==n&&(p=M)}h=b}return[p,d,f]}function Pp(e,n,t,i,o,a){const{messageCompiler:r,warnHtmlMessage:s}=e;if(hn(i)){const d=i;return d.locale=d.locale||t,d.key=d.key||n,d}if(r==null){const d=()=>i;return d.locale=t,d.key=n,d}let l=null,c,u;_n&&(l=window.performance.now(),c="intlify-message-compilation-start",u="intlify-message-compilation-end",on&&on(c));const f=r(i,XA(e,t,o,i,s,a));if(_n){const d=window.performance.now(),p=e.__v_emitter;p&&l&&p.emit("message-compilation",{type:"message-compilation",message:i,time:d-l,groupId:`translate:${n}`}),c&&u&&on&&eo&&(on(u),eo("intlify message compilation",c,u))}return f.locale=t,f.key=n,f.source=i,f}function JA(e,n,t){let i=null,o,a;_n&&(i=window.performance.now(),o="intlify-message-evaluation-start",a="intlify-message-evaluation-end",on&&on(o));const r=n(t);if(_n){const s=window.performance.now(),l=e.__v_emitter;l&&i&&l.emit("message-evaluation",{type:"message-evaluation",value:r,time:s-i,groupId:`translate:${n.key}`}),o&&a&&on&&eo&&(on(a),eo("intlify message evaluation",o,a))}return r}function of(...e){const[n,t,i]=e,o=$e();if(!ne(n)&&!ct(n)&&!hn(n)&&!dn(n))throw li(It.INVALID_ARGUMENT);const a=ct(n)?String(n):(hn(n),n);return ct(t)?o.plural=t:ne(t)?o.default=t:Me(t)&&!fs(t)?o.named=t:Je(t)&&(o.list=t),ct(i)?o.plural=i:ne(i)?o.default=i:Me(i)&&pt(o,i),[a,o]}function XA(e,n,t,i,o,a){return{locale:n,key:t,warnHtmlMessage:o,onError:r=>{a&&a(r);{const s=ew(i),l=`Message compilation error: ${r.message}`,c=r.location&&s&&E3(s,r.location.start.offset,r.location.end.offset),u=e.__v_emitter;u&&s&&u.emit("compile-error",{message:s,error:r.message,start:r.location&&r.location.start.offset,end:r.location&&r.location.end.offset,groupId:`translate:${t}`}),console.error(c?`${l} ${c}`:l)}},onCacheKey:r=>g3(n,t,r)}}function ew(e){if(ne(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function tw(e,n,t,i){const{modifiers:o,pluralRules:a,messageResolver:r,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:n,modifiers:o,pluralRules:a,messages:(p,h)=>{let b=r(t,p);if(b==null&&(u||h)){const[,,y]=Lp(u||e,p,n,s,l,c);b=r(y,p)}if(ne(b)||dn(b)){let y=!1;const C=Pp(e,p,n,b,p,()=>{y=!0});return y?Rp:C}else return hn(b)?b:Rp}};return e.processor&&(d.processor=e.processor),i.list&&(d.list=i.list),i.named&&(d.named=i.named),ct(i.plural)&&(d.pluralIndex=i.plural),d}tA();function nw(){return Dp().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Dp(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const iw=typeof Proxy=="function",ow="devtools-plugin:setup",aw="plugin:settings:set";let $o,af;function rw(){var e;return $o!==void 0||(typeof window<"u"&&window.performance?($o=!0,af=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?($o=!0,af=globalThis.perf_hooks.performance):$o=!1),$o}function sw(){return rw()?af.now():Date.now()}class lw{constructor(n,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=n,this.hook=t;const i={};if(n.settings)for(const r in n.settings){const s=n.settings[r];i[r]=s.defaultValue}const o=`__vue-devtools-plugin-settings__${n.id}`;let a=Object.assign({},i);try{const r=localStorage.getItem(o),s=JSON.parse(r);Object.assign(a,s)}catch{}this.fallbacks={getSettings(){return a},setSettings(r){try{localStorage.setItem(o,JSON.stringify(r))}catch{}a=r},now(){return sw()}},t&&t.on(aw,(r,s)=>{r===this.plugin.id&&this.fallbacks.setSettings(s)}),this.proxiedOn=new Proxy({},{get:(r,s)=>this.target?this.target.on[s]:(...l)=>{this.onQueue.push({method:s,args:l})}}),this.proxiedTarget=new Proxy({},{get:(r,s)=>this.target?this.target[s]:s==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(s)?(...l)=>(this.targetQueue.push({method:s,args:l,resolve:()=>{}}),this.fallbacks[s](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:s,args:l,resolve:c})})})}async setRealTarget(n){this.target=n;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function cw(e,n){const t=e,i=Dp(),o=nw(),a=iw&&t.enableEarlyProxy;if(o&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))o.emit(ow,e,n);else{const r=a?new lw(t,o):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:t,setupFn:n,proxy:r}),r&&n(r.proxiedTarget)}}var fw={NODE_ENV:'"production"',VERSION:'"6.0.39"',BUILD_DATE:'"2025-08-19T09:30:12.270Z"',BUILD_NUMBER:'"39"',DEV:!1};const uw="11.1.11";function dw(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(to().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(to().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(to().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(to().__INTLIFY_PROD_DEVTOOLS__=!1)}const We={UNEXPECTED_RETURN_TYPE:vA,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Ht(e,...n){return Bo(e,null,{messages:hw,args:n})}const hw={[We.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[We.INVALID_ARGUMENT]:"Invalid argument",[We.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[We.NOT_INSTALLED]:"Need to install with `app.use` function",[We.UNEXPECTED_ERROR]:"Unexpected error",[We.REQUIRED_VALUE]:"Required in value: {0}",[We.INVALID_VALUE]:"Invalid value",[We.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[We.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[We.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[We.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},rf=Un("__translateVNode"),sf=Un("__datetimeParts"),lf=Un("__numberParts"),io=Un("__enableEmitter"),Na=Un("__disableEmitter"),Fp=Un("__setPluralRules"),Bp=Un("__injectWithOption"),cf=Un("__dispose"),pn={FALLBACK_TO_ROOT:xA,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},pw={[pn.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[pn.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[pn.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[pn.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead. About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[pn.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[pn.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function jo(e,...n){return cs(pw[e],...n)}function La(e){if(!ke(e)||dn(e))return e;for(const n in e)if(En(e,n))if(!n.includes("."))ke(e[n])&&La(e[n]);else{const t=n.split("."),i=t.length-1;let o=e,a=!1;for(let r=0;r<i;r++){if(t[r]==="__proto__")throw new Error(`unsafe key: ${t[r]}`);if(t[r]in o||(o[t[r]]=$e()),!ke(o[t[r]])){qn(jo(pn.IGNORE_OBJ_FLATTEN,{key:t[r]})),a=!0;break}o=o[t[r]]}if(a||(dn(o)?sp.includes(t[i])||delete e[n]:(o[t[i]]=e[n],delete e[n])),!dn(o)){const r=o[t[i]];ke(r)&&La(r)}}return e}function ff(e,n){const{messages:t,__i18n:i,messageResolver:o,flatJson:a}=n,r=Me(t)?t:Je(i)?$e():{[e]:$e()};if(Je(i)&&i.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(r[l]=r[l]||$e(),ds(c,r[l])):ds(c,r)}else ne(s)&&ds(JSON.parse(s),r)}),o==null&&a)for(const s in r)En(r,s)&&La(r[s]);return r}function qp(e){return e.type}function Up(e,n,t){let i=ke(n.messages)?n.messages:$e();"__i18nGlobal"in t&&(i=ff(e.locale.value,{messages:i,__i18n:t.__i18nGlobal}));const o=Object.keys(i);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,i[a])});{if(ke(n.datetimeFormats)){const a=Object.keys(n.datetimeFormats);a.length&&a.forEach(r=>{e.mergeDateTimeFormat(r,n.datetimeFormats[r])})}if(ke(n.numberFormats)){const a=Object.keys(n.numberFormats);a.length&&a.forEach(r=>{e.mergeNumberFormat(r,n.numberFormats[r])})}}}function $p(e){return de(Co,null,e,0)}const jp="__INTLIFY_META__",zp=()=>[],mw=()=>!1;let Vp=0;function Hp(e){return(n,t,i,o)=>e(t,i,Ki()||void 0,o)}const gw=()=>{const e=Ki();let n=null;return e&&(n=qp(e)[jp])?{[jp]:n}:null};function uf(e={}){const{__root:n,__injectWithOption:t}=e,i=n===void 0,o=e.flatJson,a=_n?Z:ib;let r=xe(e.inheritLocale)?e.inheritLocale:!0;const s=a(n&&r?n.locale.value:ne(e.locale)?e.locale:xa),l=a(n&&r?n.fallbackLocale.value:ne(e.fallbackLocale)||Je(e.fallbackLocale)||Me(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),c=a(ff(s.value,e)),u=a(Me(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),f=a(Me(e.numberFormats)?e.numberFormats:{[s.value]:{}});let d=n?n.missingWarn:xe(e.missingWarn)||Fo(e.missingWarn)?e.missingWarn:!0,p=n?n.fallbackWarn:xe(e.fallbackWarn)||Fo(e.fallbackWarn)?e.fallbackWarn:!0,h=n?n.fallbackRoot:xe(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,y=ze(e.missing)?e.missing:null,g=ze(e.missing)?Hp(e.missing):null,C=ze(e.postTranslation)?e.postTranslation:null,E=n?n.warnHtmlMessage:xe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const M=n?n.modifiers:Me(e.modifiers)?e.modifiers:{};let U=e.pluralRules||n&&n.pluralRules,N;N=(()=>{i&&yp(null);const I={version:uw,locale:s.value,fallbackLocale:l.value,messages:c.value,modifiers:M,pluralRules:U,missing:g===null?void 0:g,missingWarn:d,fallbackWarn:p,fallbackFormat:b,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:E,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};I.datetimeFormats=u.value,I.numberFormats=f.value,I.__datetimeFormatters=Me(N)?N.__datetimeFormatters:void 0,I.__numberFormatters=Me(N)?N.__numberFormatters:void 0,I.__v_emitter=Me(N)?N.__v_emitter:void 0;const L=$A(I);return i&&yp(L),L})(),Ra(N,s.value,l.value);function re(){return[s.value,l.value,c.value,u.value,f.value]}const W=Y({get:()=>s.value,set:I=>{N.locale=I,s.value=I}}),ee=Y({get:()=>l.value,set:I=>{N.fallbackLocale=I,l.value=I,Ra(N,s.value,I)}}),he=Y(()=>c.value),Be=Y(()=>u.value),se=Y(()=>f.value);function Q(){return ze(C)?C:null}function q(I){C=I,N.postTranslation=I}function z(){return y}function D(I){I!==null&&(g=Hp(I)),y=I,N.missing=g}function te(I,L){return I!=="translate"||!L.resolvedMessage}const X=(I,L,oe,pe,Ce,tt)=>{re();let Re;try{fw.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,i||(N.fallbackContext=n?UA():void 0),Re=I(N)}finally{i||(N.fallbackContext=void 0)}if(oe!=="translate exists"&&ct(Re)&&Re===ms||oe==="translate exists"&&!Re){const[wt,vn]=L();if(n&&ne(wt)&&te(oe,vn)){h&&(bs(p,wt)||wp(d,wt))&&qn(jo(pn.FALLBACK_TO_ROOT,{key:wt,type:oe}));{const{__v_emitter:Di}=N;Di&&h&&Di.emit("fallback",{type:oe,key:wt,to:"global",groupId:`${oe}:${wt}`})}}return n&&h?pe(n):Ce(wt)}else{if(tt(Re))return Re;throw Ht(We.UNEXPECTED_RETURN_TYPE)}};function me(...I){return X(L=>Reflect.apply(Np,null,[L,...I]),()=>of(...I),"translate",L=>Reflect.apply(L.t,L,[...I]),L=>L,L=>ne(L))}function ge(...I){const[L,oe,pe]=I;if(pe&&!ke(pe))throw Ht(We.INVALID_ARGUMENT);return me(L,oe,pt({resolvedMessage:!0},pe||{}))}function Ee(...I){return X(L=>Reflect.apply(Sp,null,[L,...I]),()=>tf(...I),"datetime format",L=>Reflect.apply(L.d,L,[...I]),()=>gs,L=>ne(L)||Je(L))}function De(...I){return X(L=>Reflect.apply(Tp,null,[L,...I]),()=>nf(...I),"number format",L=>Reflect.apply(L.n,L,[...I]),()=>gs,L=>ne(L)||Je(L))}function Xe(I){return I.map(L=>ne(L)||ct(L)||xe(L)?$p(String(L)):L)}const at={normalize:Xe,interpolate:I=>I,type:"vnode"};function ft(...I){return X(L=>{let oe;const pe=L;try{pe.processor=at,oe=Reflect.apply(Np,null,[pe,...I])}finally{pe.processor=null}return oe},()=>of(...I),"translate",L=>L[rf](...I),L=>[$p(L)],L=>Je(L))}function _t(...I){return X(L=>Reflect.apply(Tp,null,[L,...I]),()=>nf(...I),"number format",L=>L[lf](...I),zp,L=>ne(L)||Je(L))}function et(...I){return X(L=>Reflect.apply(Sp,null,[L,...I]),()=>tf(...I),"datetime format",L=>L[sf](...I),zp,L=>ne(L)||Je(L))}function ut(I){U=I,N.pluralRules=U}function bn(I,L){return X(()=>{if(!I)return!1;const oe=ne(L)?L:s.value,pe=O(oe),Ce=N.messageResolver(pe,I);return dn(Ce)||hn(Ce)||ne(Ce)},()=>[I],"translate exists",oe=>Reflect.apply(oe.te,oe,[I,L]),mw,oe=>xe(oe))}function m(I){let L=null;const oe=fp(N,l.value,s.value);for(let pe=0;pe<oe.length;pe++){const Ce=c.value[oe[pe]]||{},tt=N.messageResolver(Ce,I);if(tt!=null){L=tt;break}}return L}function A(I){const L=m(I);return L??(n?n.tm(I)||{}:{})}function O(I){return c.value[I]||{}}function F(I,L){if(o){const oe={[I]:L};for(const pe in oe)En(oe,pe)&&La(oe[pe]);L=oe[I]}c.value[I]=L,N.messages=c.value}function V(I,L){c.value[I]=c.value[I]||{};const oe={[I]:L};if(o)for(const pe in oe)En(oe,pe)&&La(oe[pe]);L=oe[I],ds(L,c.value[I]),N.messages=c.value}function v(I){return u.value[I]||{}}function w(I,L){u.value[I]=L,N.datetimeFormats=u.value,Ip(N,I,L)}function S(I,L){u.value[I]=pt(u.value[I]||{},L),N.datetimeFormats=u.value,Ip(N,I,L)}function P(I){return f.value[I]||{}}function j(I,L){f.value[I]=L,N.numberFormats=f.value,kp(N,I,L)}function ie(I,L){f.value[I]=pt(f.value[I]||{},L),N.numberFormats=f.value,kp(N,I,L)}Vp++,n&&_n&&(Kt(n.locale,I=>{r&&(s.value=I,N.locale=I,Ra(N,s.value,l.value))}),Kt(n.fallbackLocale,I=>{r&&(l.value=I,N.fallbackLocale=I,Ra(N,s.value,l.value))}));const $={id:Vp,locale:W,fallbackLocale:ee,get inheritLocale(){return r},set inheritLocale(I){r=I,I&&n&&(s.value=n.locale.value,l.value=n.fallbackLocale.value,Ra(N,s.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:he,get modifiers(){return M},get pluralRules(){return U||{}},get isGlobal(){return i},get missingWarn(){return d},set missingWarn(I){d=I,N.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(I){p=I,N.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(I){h=I},get fallbackFormat(){return b},set fallbackFormat(I){b=I,N.fallbackFormat=b},get warnHtmlMessage(){return E},set warnHtmlMessage(I){E=I,N.warnHtmlMessage=I},get escapeParameter(){return x},set escapeParameter(I){x=I,N.escapeParameter=I},t:me,getLocaleMessage:O,setLocaleMessage:F,mergeLocaleMessage:V,getPostTranslationHandler:Q,setPostTranslationHandler:q,getMissingHandler:z,setMissingHandler:D,[Fp]:ut};return $.datetimeFormats=Be,$.numberFormats=se,$.rt=ge,$.te=bn,$.tm=A,$.d=Ee,$.n=De,$.getDateTimeFormat=v,$.setDateTimeFormat=w,$.mergeDateTimeFormat=S,$.getNumberFormat=P,$.setNumberFormat=j,$.mergeNumberFormat=ie,$[Bp]=t,$[rf]=ft,$[sf]=et,$[lf]=_t,$[io]=I=>{N.__v_emitter=I},$[Na]=()=>{N.__v_emitter=void 0},$}const Wp="vue-i18n: composer properties",df={"vue-devtools-plugin-vue-i18n":"Vue I18n DevTools","vue-i18n-resource-inspector":"Vue I18n DevTools","vue-i18n-timeline":"Vue I18n"},bw={"vue-i18n-resource-inspector":"Search for scopes ..."},vw={"vue-i18n-timeline":16764185};let hf;async function yw(e,n){return new Promise((t,i)=>{try{cw({id:"vue-devtools-plugin-vue-i18n",label:df["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Wp],app:e},o=>{hf=o,o.on.visitComponentTree(({componentInstance:r,treeNode:s})=>{Aw(r,s,n)}),o.on.inspectComponent(({componentInstance:r,instanceData:s})=>{r.vnode.el&&r.vnode.el.__VUE_I18N__&&s&&(n.mode==="legacy"?r.vnode.el.__VUE_I18N__!==n.global.__composer&&Gp(s,r.vnode.el.__VUE_I18N__):Gp(s,r.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:df["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:bw["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(r=>{r.app===e&&r.inspectorId==="vue-i18n-resource-inspector"&&Sw(r,n)});const a=new Map;o.on.getInspectorState(async r=>{if(r.app===e&&r.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),Iw(r,n),r.nodeId==="global"){if(!a.has(r.app)){const[s]=await o.getComponentInstances(r.app);a.set(r.app,s)}o.highlightElement(a.get(r.app))}else{const s=Mw(r.nodeId,n);s&&o.highlightElement(s)}}),o.on.editInspectorState(r=>{r.app===e&&r.inspectorId==="vue-i18n-resource-inspector"&&Ow(r,n)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:df["vue-i18n-timeline"],color:vw["vue-i18n-timeline"]}),t(!0)})}catch(o){console.error(o),i(!1)}})}function Yp(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function Aw(e,n,t){const i=t.mode==="composition"?t.global:t.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==i){const o={label:`i18n (${Yp(e)} Scope)`,textColor:0,backgroundColor:16764185};n.tags.push(o)}}function Gp(e,n){const t=Wp;e.state.push({type:t,key:"locale",editable:!0,value:n.locale.value}),e.state.push({type:t,key:"availableLocales",editable:!1,value:n.availableLocales}),e.state.push({type:t,key:"fallbackLocale",editable:!0,value:n.fallbackLocale.value}),e.state.push({type:t,key:"inheritLocale",editable:!0,value:n.inheritLocale}),e.state.push({type:t,key:"messages",editable:!1,value:pf(n.messages.value)}),e.state.push({type:t,key:"datetimeFormats",editable:!1,value:n.datetimeFormats.value}),e.state.push({type:t,key:"numberFormats",editable:!1,value:n.numberFormats.value})}function pf(e){const n={};return Object.keys(e).forEach(t=>{const i=e[t];ze(i)&&"source"in i?n[t]=Ew(i):dn(i)&&i.loc&&i.loc.source?n[t]=i.loc.source:ke(i)?n[t]=pf(i):n[t]=i}),n}const ww={"<":"<",">":">",'"':""","&":"&"};function Cw(e){return e.replace(/[<>"&]/g,_w)}function _w(e){return ww[e]||e}function Ew(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${Cw(e.source)}")`:"(?)"}`}}}function Sw(e,n){e.rootNodes.push({id:"global",label:"Global Scope"});const t=n.mode==="composition"?n.global:n.global.__composer;for(const[i,o]of n.__instances){const a=n.mode==="composition"?o:o.__composer;t!==a&&e.rootNodes.push({id:a.id.toString(),label:`${Yp(i)} Scope`})}}function Mw(e,n){let t=null;if(e!=="global"){for(const[i,o]of n.__instances.entries())if(o.id.toString()===e){t=i;break}}return t}function Qp(e,n){if(e==="global")return n.mode==="composition"?n.global:n.global.__composer;{const t=Array.from(n.__instances.values()).find(i=>i.id.toString()===e);return t?n.mode==="composition"?t:t.__composer:null}}function Iw(e,n){const t=Qp(e.nodeId,n);return t&&(e.state=Tw(t)),null}function Tw(e){const n={},t="Locale related info",i=[{type:t,key:"locale",editable:!0,value:e.locale.value},{type:t,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:t,key:"availableLocales",editable:!1,value:e.availableLocales},{type:t,key:"inheritLocale",editable:!0,value:e.inheritLocale}];n[t]=i;const o="Locale messages info",a=[{type:o,key:"messages",editable:!1,value:pf(e.messages.value)}];n[o]=a;{const r="Datetime formats info",s=[{type:r,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];n[r]=s;const l="Datetime formats info",c=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}];n[l]=c}return n}function Pa(e,n){if(hf){let t;n&&"groupId"in n&&(t=n.groupId,delete n.groupId),hf.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:t,time:Date.now(),meta:{},data:n||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function Ow(e,n){const t=Qp(e.nodeId,n);if(t){const[i]=e.path;i==="locale"&&ne(e.state.value)?t.locale.value=e.state.value:i==="fallbackLocale"&&(ne(e.state.value)||Je(e.state.value)||ke(e.state.value))?t.fallbackLocale.value=e.state.value:i==="inheritLocale"&&xe(e.state.value)&&(t.inheritLocale=e.state.value)}}function kw(e){const n=ne(e.locale)?e.locale:xa,t=ne(e.fallbackLocale)||Je(e.fallbackLocale)||Me(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=ze(e.missing)?e.missing:void 0,o=xe(e.silentTranslationWarn)||Fo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=xe(e.silentFallbackWarn)||Fo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,r=xe(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=Me(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=ze(e.postTranslation)?e.postTranslation:void 0,f=ne(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=xe(e.sync)?e.sync:!0;let h=e.messages;if(Me(e.sharedMessages)){const M=e.sharedMessages;h=Object.keys(M).reduce((N,K)=>{const re=N[K]||(N[K]={});return pt(re,M[K]),N},h||{})}const{__i18n:b,__root:y,__injectWithOption:g}=e,C=e.datetimeFormats,E=e.numberFormats,x=e.flatJson;return{locale:n,fallbackLocale:t,messages:h,flatJson:x,datetimeFormats:C,numberFormats:E,missing:i,missingWarn:o,fallbackWarn:a,fallbackRoot:r,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,__i18n:b,__root:y,__injectWithOption:g}}function mf(e={}){const n=uf(kw(e)),{__extender:t}=e,i={id:n.id,get locale(){return n.locale.value},set locale(o){n.locale.value=o},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(o){n.fallbackLocale.value=o},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get missing(){return n.getMissingHandler()},set missing(o){n.setMissingHandler(o)},get silentTranslationWarn(){return xe(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(o){n.missingWarn=xe(o)?!o:o},get silentFallbackWarn(){return xe(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(o){n.fallbackWarn=xe(o)?!o:o},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(o){n.fallbackFormat=o},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(o){n.setPostTranslationHandler(o)},get sync(){return n.inheritLocale},set sync(o){n.inheritLocale=o},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){n.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(o){n.escapeParameter=o},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...o){return Reflect.apply(n.t,n,[...o])},rt(...o){return Reflect.apply(n.rt,n,[...o])},te(o,a){return n.te(o,a)},tm(o){return n.tm(o)},getLocaleMessage(o){return n.getLocaleMessage(o)},setLocaleMessage(o,a){n.setLocaleMessage(o,a)},mergeLocaleMessage(o,a){n.mergeLocaleMessage(o,a)},d(...o){return Reflect.apply(n.d,n,[...o])},getDateTimeFormat(o){return n.getDateTimeFormat(o)},setDateTimeFormat(o,a){n.setDateTimeFormat(o,a)},mergeDateTimeFormat(o,a){n.mergeDateTimeFormat(o,a)},n(...o){return Reflect.apply(n.n,n,[...o])},getNumberFormat(o){return n.getNumberFormat(o)},setNumberFormat(o,a){n.setNumberFormat(o,a)},mergeNumberFormat(o,a){n.mergeNumberFormat(o,a)}};return i.__extender=t,i.__enableEmitter=o=>{const a=n;a[io]&&a[io](o)},i.__disableEmitter=()=>{const o=n;o[Na]&&o[Na]()},i}function xw(e,n,t){return{beforeCreate(){const i=Ki();if(!i)throw Ht(We.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const a=o.i18n;if(o.__i18n&&(a.__i18n=o.__i18n),a.__root=n,this===this.$root)this.$i18n=Kp(e,a);else{a.__injectWithOption=!0,a.__extender=t.__vueI18nExtend,this.$i18n=mf(a);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Kp(e,o);else{this.$i18n=mf({__i18n:o.__i18n,__injectWithOption:!0,__extender:t.__vueI18nExtend,__root:n});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Up(n,o,o),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$te=(a,r)=>this.$i18n.te(a,r),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),t.__setInstance(i,this.$i18n)},mounted(){if(this.$el&&this.$i18n){const i=this.$i18n;this.$el.__VUE_I18N__=i.__composer;const o=this.__v_emitter=Hc();i.__enableEmitter&&i.__enableEmitter(o),o.on("*",Pa)}},unmounted(){const i=Ki();if(!i)throw Ht(We.UNEXPECTED_ERROR);const o=this.$i18n;this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Pa),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),t.__deleteInstance(i),delete this.$i18n}}}function Kp(e,n){e.locale=n.locale||e.locale,e.fallbackLocale=n.fallbackLocale||e.fallbackLocale,e.missing=n.missing||e.missing,e.silentTranslationWarn=n.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=n.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=n.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=n.postTranslation||e.postTranslation,e.warnHtmlInMessage=n.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=n.escapeParameterHtml||e.escapeParameterHtml,e.sync=n.sync||e.sync,e.__composer[Fp](n.pluralizationRules||e.pluralizationRules);const t=ff(e.locale,{messages:n.messages,__i18n:n.__i18n});return Object.keys(t).forEach(i=>e.mergeLocaleMessage(i,t[i])),n.datetimeFormats&&Object.keys(n.datetimeFormats).forEach(i=>e.mergeDateTimeFormat(i,n.datetimeFormats[i])),n.numberFormats&&Object.keys(n.numberFormats).forEach(i=>e.mergeNumberFormat(i,n.numberFormats[i])),e}const gf={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Rw({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((i,o)=>[...i,...o.type===rt?o.children:[o]],[]):n.reduce((t,i)=>{const o=e[i];return o&&(t[i]=o()),t},$e())}function Zp(){return rt}const Jp=Ve({name:"i18n-t",props:pt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ct(e)||!isNaN(e)}},gf),setup(e,n){const{slots:t,attrs:i}=n,o=e.i18n||Tt({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(t).filter(f=>f[0]!=="_"),r=$e();e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=ne(e.plural)?+e.plural:e.plural);const s=Rw(n,a),l=o[rf](e.keypath,s,r),c=pt($e(),i),u=ne(e.tag)||ke(e.tag)?e.tag:Zp();return s0(u,c,l)}}});function Nw(e){return Je(e)&&!ne(e[0])}function Xp(e,n,t,i){const{slots:o,attrs:a}=n;return()=>{const r={part:!0};let s=$e();e.locale&&(r.locale=e.locale),ne(e.format)?r.key=e.format:ke(e.format)&&(ne(e.format.key)&&(r.key=e.format.key),s=Object.keys(e.format).reduce((d,p)=>t.includes(p)?pt($e(),d,{[p]:e.format[p]}):d,$e()));const l=i(e.value,r,s);let c=[r.key];Je(l)?c=l.map((d,p)=>{const h=o[d.type],b=h?h({[d.type]:d.value,index:p,parts:l}):[d.value];return Nw(b)&&(b[0].key=`${d.type}-${p}`),b}):ne(l)&&(c=[l]);const u=pt($e(),a),f=ne(e.tag)||ke(e.tag)?e.tag:Zp();return s0(f,u,c)}}const e1=Ve({name:"i18n-n",props:pt({value:{type:Number,required:!0},format:{type:[String,Object]}},gf),setup(e,n){const t=e.i18n||Tt({useScope:e.scope,__useComponent:!0});return Xp(e,n,Op,(...i)=>t[lf](...i))}});function Lw(e,n){const t=e;if(e.mode==="composition")return t.__getInstance(n)||e.global;{const i=t.__getInstance(n);return i!=null?i.__composer:e.global.__composer}}function Pw(e){const n=r=>{jc(jo(pn.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));const{instance:s,value:l}=r;if(!s||!s.$)throw Ht(We.UNEXPECTED_ERROR);const c=Lw(e,s.$),u=t1(l);return[Reflect.apply(c.t,c,[...n1(u)]),c]};return{created:(r,s)=>{const[l,c]=n(s);_n&&e.global===c&&(r.__i18nWatcher=Kt(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),r.__composer=c,r.textContent=l},unmounted:r=>{_n&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:s})=>{if(r.__composer){const l=r.__composer,c=t1(s);r.textContent=Reflect.apply(l.t,l,[...n1(c)])}},getSSRProps:r=>{const[s]=n(r);return{textContent:s}}}}function t1(e){if(ne(e))return{path:e};if(Me(e)){if(!("path"in e))throw Ht(We.REQUIRED_VALUE,"path");return e}else throw Ht(We.INVALID_VALUE)}function n1(e){const{path:n,locale:t,args:i,choice:o,plural:a}=e,r={},s=i||{};return ne(t)&&(r.locale=t),ct(o)&&(r.plural=o),ct(a)&&(r.plural=a),[n,s,r]}function Dw(e,n,...t){const i=Me(t[0])?t[0]:{};(xe(i.globalInstall)?i.globalInstall:!0)&&([Jp.name,"I18nT"].forEach(a=>e.component(a,Jp)),[e1.name,"I18nN"].forEach(a=>e.component(a,e1)),[o1.name,"I18nD"].forEach(a=>e.component(a,o1))),e.directive("t",Pw(n))}const Fw=Un("global-vue-i18n");function Bw(e={}){const n=__VUE_I18N_LEGACY_API__&&xe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__;n&&jc(jo(pn.DEPRECATE_LEGACY_MODE));const t=xe(e.globalInjection)?e.globalInjection:!0,i=new Map,[o,a]=qw(e,n),r=Un("vue-i18n");function s(f){return i.get(f)||null}function l(f,d){i.set(f,d)}function c(f){i.delete(f)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(f,...d){if(f.__VUE_I18N__=u,f.__VUE_I18N_SYMBOL__=r,f.provide(f.__VUE_I18N_SYMBOL__,u),Me(d[0])){const b=d[0];u.__composerExtend=b.__composerExtend,u.__vueI18nExtend=b.__vueI18nExtend}let p=null;!n&&t&&(p=Yw(f,u.global)),__VUE_I18N_FULL_INSTALL__&&Dw(f,u,...d),__VUE_I18N_LEGACY_API__&&n&&f.mixin(xw(a,a.__composer,u));const h=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),h()};{if(!await yw(f,u))throw Ht(We.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const y=Hc();if(n){const g=a;g.__enableEmitter&&g.__enableEmitter(y)}else{const g=a;g[io]&&g[io](y)}y.on("*",Pa)}},get global(){return a},dispose(){o.stop()},__instances:i,__getInstance:s,__setInstance:l,__deleteInstance:c};return u}function Tt(e={}){const n=Ki();if(n==null)throw Ht(We.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw Ht(We.NOT_INSTALLED);const t=Uw(n),i=jw(t),o=qp(n),a=$w(e,o);if(a==="global")return Up(i,e,o),i;if(a==="parent"){let l=zw(t,n,e.__useComponent);return l==null&&(qn(jo(pn.NOT_FOUND_PARENT_SCOPE)),l=i),l}const r=t;let s=r.__getInstance(n);if(s==null){const l=pt({},e);"__i18n"in o&&(l.__i18n=o.__i18n),i&&(l.__root=i),s=uf(l),r.__composerExtend&&(s[cf]=r.__composerExtend(s)),Hw(r,n,s),r.__setInstance(n,s)}else a==="local"&&qn(jo(pn.DUPLICATE_USE_I18N_CALLING));return s}function qw(e,n){const t=Pg(),i=__VUE_I18N_LEGACY_API__&&n?t.run(()=>mf(e)):t.run(()=>uf(e));if(i==null)throw Ht(We.UNEXPECTED_ERROR);return[t,i]}function Uw(e){const n=ue(e.isCE?Fw:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Ht(e.isCE?We.NOT_INSTALLED_WITH_PROVIDE:We.UNEXPECTED_ERROR);return n}function $w(e,n){return fs(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function jw(e){return e.mode==="composition"?e.global:e.global.__composer}function zw(e,n,t=!1){let i=null;const o=n.root;let a=Vw(n,t);for(;a!=null;){const r=e;if(e.mode==="composition")i=r.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const s=r.__getInstance(a);s!=null&&(i=s.__composer,t&&i&&!i[Bp]&&(i=null))}if(i!=null||o===a)break;a=a.parent}return i}function Vw(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function Hw(e,n,t){let i=null;Xn(()=>{if(n.vnode.el){n.vnode.el.__VUE_I18N__=t,i=Hc();const o=t;o[io]&&o[io](i),i.on("*",Pa)}},n),vo(()=>{const o=t;n.vnode.el&&n.vnode.el.__VUE_I18N__&&(i&&i.off("*",Pa),o[Na]&&o[Na](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const a=o[cf];a&&(a(),delete o[cf])},n)}const Ww=["locale","fallbackLocale","availableLocales"],i1=["t","rt","d","n","tm","te"];function Yw(e,n){const t=Object.create(null);return Ww.forEach(o=>{const a=Object.getOwnPropertyDescriptor(n,o);if(!a)throw Ht(We.UNEXPECTED_ERROR);const r=Ge(a.value)?{get(){return a.value.value},set(s){a.value.value=s}}:{get(){return a.get&&a.get()}};Object.defineProperty(t,o,r)}),e.config.globalProperties.$i18n=t,i1.forEach(o=>{const a=Object.getOwnPropertyDescriptor(n,o);if(!a||!a.value)throw Ht(We.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,a)}),()=>{delete e.config.globalProperties.$i18n,i1.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const o1=Ve({name:"i18n-d",props:pt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},gf),setup(e,n){const t=e.i18n||Tt({useScope:e.scope,__useComponent:!0});return Xp(e,n,Mp,(...i)=>t[sf](...i))}});dw(),PA(hA),DA(kA),FA(fp);{const e=to();e.__INTLIFY__=!0,pA(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Gw={Auth:{Submit:"Chat",Name:"Name",Email:"Email",OfflineEnterValidEmail:"I'm sorry, that doesn't look like an email address. Can you try again?",FieldValidation:"Required field",OfflineSubmit:"Send",FieldsReplacement:"Please click Chat to initiate a chat with an agent",ChatIntro:"Could we have your contact info ?",CloseButton:"Close",PhoneText:"Phone",EnterValidPhone:"Invalid phone number",EnterValidName:"Invalid name",EnterValidEmail:"Invalid email",MaxCharactersReached:"Maximum characters reached",AuthEmailMessage:"Could we have your email?",AuthNameMessage:"Could we have your name?",GdprDefaultMessage:"I agree that my personal data to be processed and for the use of cookies in order to engage in a chat processed by COMPANY, for the purpose of Chat/Support for the time of 30 day(s) as per the GDPR.",DepartmentMessage:"Please select department"},Chat:{TypeYourMessage:"Type your message...",MessageNotDeliveredError:"A network related error occurred. Message not delivered.",TryAgain:" Click here to try again. ",FileError:"Unable to upload selected file.",RateComment:"Tell us your feedback",RateFeedbackRequest:"Do you want to give us more detailed feedback?",RateRequest:"Rate your conversation",UnsupportedFileError:"Selected file isn't supported.",OperatorJoined:"Agent %%OPERATOR%% joined the chat",NetworkError:"A network related error occurred."},Offline:{OfflineNameMessage:"Could we have your name?",OfflineEmailMessage:"Could we have your email?",CharactersLimit:"Length cannot exceed 50 characters",OfflineFormInvalidEmail:"I'm sorry, that doesn't look like an email address. Can you try again?",OfflineFormInvalidName:"I'm sorry, the provided name is not valid."},MessageBox:{Ok:"OK",TryAgain:"Try again"},Inputs:{InviteMessage:"Hello! How can we help you today?",EndingMessage:"Your session is over. Please feel free to contact us again!",NotAllowedError:"Allow microphone access from your browser",NotFoundError:"Microphone not found",ServiceUnavailable:"Service unavailable",UnavailableMessage:"We are away, leave us a message!",OperatorName:"Support",WindowTitle:"Live Chat & Talk",CallTitle:"Call Us",EndCallTitle:"End Call",PoweredBy:"Powered by 3CX",OfflineMessagePlaceholder:"Message",OfflineMessageSent:"We'll contact you soon.",InvalidIdErrorMessage:"Invalid ID. Contact the website admin. ID must match the Click2Talk friendly name",IsTyping:"is typing...",NewMessageTitleNotification:"New Message",ChatIsDisabled:"Chat is not available at the moment.",GreetingMessage:"Hey, we're here to help!",BlockMessage:"Your session is over because your ip banned by the agent",Dialing:"Dialing",Connected:"Connected",ChatWithUs:"Chat with us",CallingStatusTitle:"Calling...",MuteMic:"Mute",UnmuteMic:"Unmute",FullScreen:"Full screen",messageQueueTillAssigned:"Your messages are queued until an agent is assigned to you. Please bear with us a little while longer",NotRespondingStatusTitle:"Not responding",DisconnectStatusTitle:"Attempting to reconnect,",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Start new"},Rate:{Bad:"Bad",Good:"Good",Neutral:"Neutral",VeryBad:"Very bad",VeryGood:"Very good",GiveFeedback:"Yes",NoFeedback:"No"}},Qw={Auth:{Submit:"Chat",Name:"Nombre",Email:"Correo electrónico",OfflineEnterValidEmail:"Lo sentimos, eso no parece una dirección de correo. ¿Puede intentarlo de nuevo?",FieldValidation:"Campo requerido",OfflineSubmit:"Enviar",FieldsReplacement:"Por favor, haga clic en 'chat' para inciciar un chat con un agente",ChatIntro:"¿Podríamos tener su información de contacto?",CloseButton:"Cerrar",PhoneText:"Teléfono",EnterValidPhone:"Número de teléfono inválido",EnterValidName:"Nombre inválido",EnterValidEmail:"Correo electrónico inválido",MaxCharactersReached:"Número máximo de caracteres alcanzado",AuthEmailMessage:"¿Podría decirnos su correo electrónico?",AuthNameMessage:"¿Podría decirnos su nombre?",GdprDefaultMessage:"Estoy de acuerdo con que mis datos personales sean procesados y para el uso de cookies con el fin de participar en el chat gestionado por la EMPRESA, con el proposito de Chatear/Soporte por un tiempo de 30 días de acuerdo con GDPR.",DepartmentMessage:"Por favor, seleccione el departamento"},Chat:{TypeYourMessage:"Escriba su mensaje...",MessageNotDeliveredError:"Se detectó un error relacionado con la red. Mensaje no entregado.",TryAgain:" Haga clic aquí para intentarlo de nuevo. ",FileError:"No es posible subir el archivo seleccionado.",RateComment:"Denos su opinión",RateFeedbackRequest:"¿Quiere darnos un feedback más detallado?",RateRequest:"Califique su conversación",UnsupportedFileError:"El archivo seleccionado no está soportado.",OperatorJoined:"El agente %%OPERATOR%% se unió al chat",NetworkError:"Se ha producido un error relacionado con la red."},Offline:{OfflineNameMessage:"¿Podemos tener su nombre?",OfflineEmailMessage:"¿Podemos tener su correo electrónico?",CharactersLimit:"La extensión no puede ser mayor de 50 caracteres",OfflineFormInvalidEmail:"Lo sentimos, eso no parece una dirección de correo. ¿Puede intentarlo de nuevo?",OfflineFormInvalidName:"Lo sentimos, el nombre proporcionado no es válido."},MessageBox:{Ok:"Aceptar",TryAgain:"Inténtelo de nuevo"},Inputs:{InviteMessage:"¡Hola! ¿Cómo puedo ayudarle el día de hoy?",EndingMessage:"Su sesión ha terminado. ¡Por favor, no dude en contactarnos de nuevo!",NotAllowedError:"Permitir el acceso a su micrófono por parte del navegador",NotFoundError:"No se encontró un micrófono",ServiceUnavailable:"Servicio no disponible",UnavailableMessage:"Ahora estamos ausentes, ¡Déjenos un mensaje!",OperatorName:"Soporte",WindowTitle:"Live Chat & Talk",CallTitle:"Llámanos",EndCallTitle:"Finalizar llamada",PoweredBy:"Powered By 3CX",OfflineMessagePlaceholder:"Mensaje",OfflineMessageSent:"Nos pondremos en contacto pronto.",InvalidIdErrorMessage:"ID inválido. Contacte al administrador del sitio web. El ID debe ser igual al nombre amistoso de Click2Talk",IsTyping:"está escribiendo...",NewMessageTitleNotification:"Nuevo mensaje",ChatIsDisabled:"El chat no está disponible en este momento.",GreetingMessage:"Hola, ¡Estamos aquí para ayudar!",BlockMessage:"Su sesión ha terminado porque su IP ha sido bloqueada por el agente",Dialing:"Llamando",Connected:"Conectado",ChatWithUs:"Chatea con nosotros",CallingStatusTitle:"Llamando...",MuteMic:"Silenciar",UnmuteMic:"Activar Sonido",FullScreen:"Pantalla completa",messageQueueTillAssigned:"Sus mensajes se ponen en cola hasta que se le asigna un agente. Por favor, tenga un poco más de paciencia",NotRespondingStatusTitle:"Sin respuesta",DisconnectStatusTitle:"Intentando reconectar",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Empezar un nuevo chat"},Rate:{Bad:"Malo",Good:"Bueno",Neutral:"Neutral",VeryBad:"Muy malo",VeryGood:"Muy bueno",GiveFeedback:"Sí",NoFeedback:"No"}},Kw={Auth:{Submit:"Chat",Name:"Name",Email:"E-Mail-Adresse",OfflineEnterValidEmail:"Dies sieht leider nicht nach einer E-Mail-Adresse aus. Bitte überprüfen Sie die Angabe.",FieldValidation:"Pflichtfeld",OfflineSubmit:"Senden",FieldsReplacement:'Bitte klicken Sie auf "Chat", um einen Chat mit einem Agenten zu starten',ChatIntro:"Könnten Sie uns bitte Ihre Kontaktinformationen mitteilen?",CloseButton:"Schließen",PhoneText:"Telefonnummer",EnterValidPhone:"Ungültige Telefonnummer",EnterValidName:"Ungültiger Name",EnterValidEmail:"Ungültige E-Mail-Adresse",MaxCharactersReached:"Maximale Anzahl an Zeichen erreicht",AuthEmailMessage:"Könnten Sie uns bitte Ihre E-Mail-Adresse mitteilen?",AuthNameMessage:"Könnten Sie uns bitte Ihren Namen mitteilen?",GdprDefaultMessage:"Ich stimme der Verarbeitung meiner personenbezogenen Daten und der Verwendung von Cookies gemäß der DSGVO für die Dauer von 30 Tagen zu, um an einem von UNTERNEHMEN durchgeführten Chat zum Zwecke des Chats/Supports teilzunehmen.",DepartmentMessage:"Bitte eine Abteilung wählen"},Chat:{TypeYourMessage:"Geben Sie Ihre Nachricht ein ...",MessageNotDeliveredError:"Ein Netzwerkfehler ist aufgetreten. Nachricht nicht zugestellt.",TryAgain:" Klicken Sie hier, um es erneut zu versuchen.",FileError:"Ausgewählte Datei kann nicht hochgeladen werden.",RateComment:"Teilen Sie uns bitte Ihr Feedback mit",RateFeedbackRequest:"Möchten Sie uns detaillierteres Feedback geben?",RateRequest:"Bitte bewerten Sie Ihr Gespräch",UnsupportedFileError:"Die ausgewählte Datei wird nicht unterstützt.",OperatorJoined:"Agent %%OPERATOR%% ist dem Chat beigetreten",NetworkError:"Ein Netzwerkfehler ist aufgetreten."},Offline:{OfflineNameMessage:"Könnten Sie uns bitte Ihren Namen mitteilen?",OfflineEmailMessage:"Könnten Sie uns bitte Ihre E-Mail-Adresse mitteilen?",CharactersLimit:"Die maximale Länge beträgt 50 Zeichen",OfflineFormInvalidEmail:"Dies sieht leider nicht nach einer E-Mail-Adresse aus. Bitte überprüfen Sie die Angabe.",OfflineFormInvalidName:"Es tut mir leid, der angegebene Name ist ungültig."},MessageBox:{Ok:"OK",TryAgain:"Versuchen Sie es noch einmal"},Inputs:{InviteMessage:"Hallo! Wie können wir Ihnen weiterhelfen?",EndingMessage:"Ihre Sitzung ist beendet. Sie können uns gerne jederzeit erneut kontaktieren.",NotAllowedError:"Ermöglichen Sie den Mikrofonzugriff über Ihren Browser",NotFoundError:"Mikrofon nicht gefunden",ServiceUnavailable:"Dienst nicht verfügbar",UnavailableMessage:"Aktuell ist leider kein Agent verfügbar. Bitte hinterlassen Sie uns eine Nachricht.",OperatorName:"Support",WindowTitle:"3CX Live Chat & Talk",CallTitle:"Rufen Sie uns an",EndCallTitle:"Anruf beenden",PoweredBy:"Powered by 3CX",OfflineMessagePlaceholder:"Nachricht",OfflineMessageSent:"Wir werden uns schnellstmöglich bei Ihnen melden.",InvalidIdErrorMessage:"Ungültige ID. Wenden Sie sich an den Website-Administrator. Die ID muss mit dem Click2Talk-Anzeigenamen übereinstimmen",IsTyping:"tippt ...",NewMessageTitleNotification:"Neue Nachricht",ChatIsDisabled:"Der Chat ist momentan nicht verfügbar.",GreetingMessage:"Hallo, wie können wir Ihnen weiterhelfen?",BlockMessage:"Ihre Sitzung ist beendet, da Ihre IP-Adresse vom Agenten gesperrt wurde",Dialing:"Wählt",Connected:"Verbunden",ChatWithUs:"Chatten Sie mit uns",CallingStatusTitle:"Anruf erfolgt ...",MuteMic:"Stumm",UnmuteMic:"Stumm aufh.",FullScreen:"Vollbild",messageQueueTillAssigned:"Ihre Nachrichten befinden sich in der Warteschlange, bis Ihnen ein Agent zugewiesen wird. Vielen Dank für Ihre Geduld!",NotRespondingStatusTitle:"keine Antwort",DisconnectStatusTitle:"Versuch zur Wiederverbindung",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Neu anfangen"},Rate:{Bad:"Schlecht",Good:"Gut",Neutral:"Neutral",VeryBad:"Sehr schlecht",VeryGood:"Sehr gut",GiveFeedback:"Ja",NoFeedback:"Nein"}},Zw={Auth:{Submit:"Chat",Name:"Nom",Email:"Courriel",OfflineEnterValidEmail:"Désolé, cela ne ressemble pas à une adresse électronique. Pouvez-vous réessayer ?",FieldValidation:"Champ obligatoire",OfflineSubmit:"Envoyer",FieldsReplacement:"Cliquez sur 'Chat' pour commencer une discussion avec un agent",ChatIntro:"Pouvons-nous avoir vos coordonnées ?",CloseButton:"Fermer",PhoneText:"Téléphone",EnterValidPhone:"Numéro de téléphone invalide",EnterValidName:"Nom invalide",EnterValidEmail:"Courriel invalide",MaxCharactersReached:"Nombre maximum de caractères atteint",AuthEmailMessage:"Pourriez-vous nous communiquer votre adresse électronique ?",AuthNameMessage:"Pourriez-vous nous communiquer votre nom ?",GdprDefaultMessage:"Je suis d'accord que mes données personnelles soient traitées et accepte l'utilisation de cookies afin de commencer un chat traité par SOCIÉTÉ, dans le but du chat/d'assistance pendant la durée de 30 jour(s) selon le RGPD.",DepartmentMessage:"Veuillez sélectionner un département"},Chat:{TypeYourMessage:"Écrivez votre message...",MessageNotDeliveredError:"Une erreur liée au réseau est survenue. Le message n'a pas pu être délivré.",TryAgain:" Cliquez ici pour réessayer. ",FileError:"Impossible d'uploader le fichier sélectionné.",RateComment:"Merci de nous donner votre avis",RateFeedbackRequest:"Souhaitez-vous nous faire part de commentaires plus détaillés ?",RateRequest:"Notez votre conversation",UnsupportedFileError:"Le fichier sélectionné n'est pas supporté.",OperatorJoined:"L'agent %%OPERATOR%% a rejoint le chat",NetworkError:"Une erreur liée au réseau s'est produite."},Offline:{OfflineNameMessage:"Pourriez-vous nous communiquer votre nom ?",OfflineEmailMessage:"Merci de nous donner votre courriel. ",CharactersLimit:"La longueur ne peut pas excéder 50 caractères",OfflineFormInvalidEmail:"Désolé, cela ne ressemble pas à une adresse électronique. Pouvez-vous réessayer ?",OfflineFormInvalidName:"Désolé, le nom fourni n'est pas valide."},MessageBox:{Ok:"OK",TryAgain:"Merci de réessayer"},Inputs:{InviteMessage:"Bonjour, comment pouvons-nous vous aider ?",EndingMessage:"Votre session est terminée. N'hésitez pas à nous recontacter !",NotAllowedError:"Permettre l'accès au microphone depuis votre navigateur",NotFoundError:"Microphone introuvable",ServiceUnavailable:"Service indisponible",UnavailableMessage:"Nous sommes absents, laissez-nous un message !",OperatorName:"Support",WindowTitle:"Live Chat & Talk",CallTitle:"Appelez-nous",EndCallTitle:"Terminer l'appel",PoweredBy:"Powered By 3CX",OfflineMessagePlaceholder:"Message",OfflineMessageSent:"Nous vous contacterons bientôt.",InvalidIdErrorMessage:"ID invalide. Contactez l'administrateur de votre site web. L'ID doit correspondre au pseudonyme Click2Talk",IsTyping:"Est en train d'écrire...",NewMessageTitleNotification:"Nouveau message",ChatIsDisabled:"Le chat n'est pas disponible pour le moment.",GreetingMessage:"Bonjour, nous sommes là pour vous aider !",BlockMessage:"Votre chat est terminé car votre IP a été bannie par l'agent",Dialing:"Appel en cours\r",Connected:"Connecté",ChatWithUs:"Discutez avec nous",CallingStatusTitle:"En cours d'appel...",MuteMic:"Couper le son",UnmuteMic:"Rétablir le son",FullScreen:"Plein écran",messageQueueTillAssigned:"Vos messages sont mis en attente jusqu'à ce qu'un agent vous soit attribué. Veuillez patienter encore un peu.",NotRespondingStatusTitle:"Pas de réponse",DisconnectStatusTitle:"Tentative de reconnexion",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Commencer un nouveau chat"},Rate:{Bad:"Mauvais",Good:"Bon",Neutral:"Neutre",VeryBad:"Très mauvais",VeryGood:"Très bon",GiveFeedback:"Oui",NoFeedback:"Non"}},Jw={Auth:{Submit:"Chat",Name:"Nome",Email:"Email",OfflineEnterValidEmail:"Mi spiace ma questo non sembra un indirizzo mail. Puoi riprovare?",FieldValidation:"Campo obbligatorio",OfflineSubmit:"Invia",FieldsReplacement:"Clicca su 'Chat' per avviare una chat con un agente",ChatIntro:"Possiamo avere i tuoi dati di contatto?",CloseButton:"Chiuso",PhoneText:"Telefono",EnterValidPhone:"Numero di telefono non valido",EnterValidName:"Nome non valida",EnterValidEmail:"Email non valida",MaxCharactersReached:"Numero massimo di caratteri raggiunto",AuthEmailMessage:"Possiamo avere la tua email?",AuthNameMessage:"Possiamo avere il tuo nome?",GdprDefaultMessage:"Acconsento al trattamento dei miei dati personali e all'uso dei cookie per partecipare ad una chat elaborata dalla SOCIETÀ, ai fini della chat/assistenza per un periodo di 30 giorni come previsto dal GDPR.",DepartmentMessage:"Si prega di selezione il dipartimento"},Chat:{TypeYourMessage:"Scrivi il tuo messaggio ...",MessageNotDeliveredError:"Si è verificato un errore di rete. Messaggio non consegnato.",TryAgain:" Clicca qui per riprovare. ",FileError:"Impossibile caricare il file selezionato.",RateComment:"Dacci il tuo parere",RateFeedbackRequest:"Vuoi darci un parere più dettagliato?",RateRequest:"Valuta la tua conversazione",UnsupportedFileError:"Il file selezionato non è supportato.",OperatorJoined:"Agente %%OPERATOR%% collegato alla chat",NetworkError:"Si è verificato un errore di rete."},Offline:{OfflineNameMessage:"Possiamo avere il tuo nome?",OfflineEmailMessage:"Possiamo avere la tua email?",CharactersLimit:"Massimo 50 caratteri consentiti",OfflineFormInvalidEmail:"Mi spiace ma questo non sembra un indirizzo mail. Puoi riprovare?",OfflineFormInvalidName:"Il nome fornito non è valido."},MessageBox:{Ok:"OK",TryAgain:"Riprova"},Inputs:{InviteMessage:"Ciao! Come possiamo aiutarti oggi?",EndingMessage:"La sessione è terminata. Non esitare a contattarci di nuovo!",NotAllowedError:"Consenti l'accesso al microfono dal tuo browser",NotFoundError:"Microfono non trovato",ServiceUnavailable:"Servizio non disponibile",UnavailableMessage:"Siamo assenti, lasciaci un messaggio!",OperatorName:"Supporto",WindowTitle:"Live Chat & Talk",CallTitle:"Chiamaci",EndCallTitle:"Termina chiamata",PoweredBy:"Powered By 3CX",OfflineMessagePlaceholder:"Messaggio",OfflineMessageSent:"TI contatteremo al più presto.",InvalidIdErrorMessage:"ID non valido. Contatta l'amministratore del sito web. L'ID deve corrispondere al nome Click2Talk",IsTyping:"Sta scrivendo...",NewMessageTitleNotification:"Nuovo Messaggio",ChatIsDisabled:"La Chat non è al momento disponibile.",GreetingMessage:"Ciao, siamo qui per aiutare!",BlockMessage:"La tua sessione è terminata perché il tuo ip è stato bannato dall'agente",Dialing:"In chiamata",Connected:"Connesso",ChatWithUs:"Chatta con noi",CallingStatusTitle:"In chiamata...",MuteMic:"Disattiva audio",UnmuteMic:"Attiva audio",FullScreen:"Schermo intero",messageQueueTillAssigned:"I tuoi messaggi sono stati messi in coda finché non ti verrà assegnato un agente. Ti preghiamo di pazientare ancora un pò",NotRespondingStatusTitle:"Nessuna risposta",DisconnectStatusTitle:"Tentativo di riconnessione",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Inizia un nuova chat"},Rate:{Bad:"Male",Good:"Bene",Neutral:"Neutrale",VeryBad:"Molto male",VeryGood:"Molto bene",GiveFeedback:"Si",NoFeedback:"No"}},Xw={Auth:{Submit:"Czat",Name:"Przedstaw się",Email:"Email",OfflineEnterValidEmail:"Przykro mi, to nie wygląda jak adres email. Czy możesz spróbować ponownie?",FieldValidation:"Pole wymagane",OfflineSubmit:"Wyślij",FieldsReplacement:'Kliknij "Czat", aby rozpocząć rozmowę z agentem',ChatIntro:"Czy możemy prosić o Twoje imię i adres e-mail?",CloseButton:"Zamknij",PhoneText:"Telefon",EnterValidPhone:"Nieprawidłowy numer telefonu",EnterValidName:"Nieprawidłowa nazwa",EnterValidEmail:"Nieprawidłowy email",MaxCharactersReached:"Osiągnięto maksymalną ilość znaków",AuthEmailMessage:"Czy możesz podać swój email?",AuthNameMessage:"Czy możesz podać swoje imię?",GdprDefaultMessage:"Wyrażam zgodę na przetwarzanie moich danych osobowych i na użycie ciasteczek w celu przeprowadzenia czatu procesowanego przez FIRMĘ, w celu rozmowy/obsługi, przez 30 dni, zgodnie z polityką prywatności.",DepartmentMessage:"Wybierz dział"},Chat:{TypeYourMessage:"Wpisz swoją wiadomość….",MessageNotDeliveredError:"Błąd sieci. Wiadomość nie dostarczona.",TryAgain:" Kliknij tutaj, aby spróbować ponownie. ",FileError:"Nie można załadować wybranego pliku.",RateComment:"Podziel się swoją opinią",RateFeedbackRequest:"Czy chesz podać nam więcej szczegółów?",RateRequest:"Oceń swoją rozmowę",UnsupportedFileError:"Wybrany plik nie jest wspierany.",OperatorJoined:"Agent %%OPERATOR%% dołączył do czatu",NetworkError:"Wystąpił błąd związany z siecią."},Offline:{OfflineNameMessage:"Czy możesz się przedstawić?",OfflineEmailMessage:"Czy możesz podać swój email?",CharactersLimit:"Długość nie może przekraczać 50 znaków",OfflineFormInvalidEmail:"Przykro mi, to nie wygląda jak adres email. Czy możesz spróbować ponownie?",OfflineFormInvalidName:"Przykro mi, podana nazwa jest nieprawidłowa."},MessageBox:{Ok:"OK",TryAgain:"Spróbuj ponownie"},Inputs:{InviteMessage:"Witaj! Jak możemy Ci dziś pomóc?",EndingMessage:"Twoja sesja się zakończyła. Zapraszamy do ponownego kontaktu!",NotAllowedError:"Zezwól na dostęp do mikrofonu swojej przeglądarce",NotFoundError:"Nie znaleziono mikrofonu",ServiceUnavailable:"Usługa niedostępna",UnavailableMessage:"Nie ma nas, zostaw wiadomość!",OperatorName:"Wsparcie",WindowTitle:"Chat i rozmowa na żywo",CallTitle:"Zadzwoń do nas",EndCallTitle:"Zakończ rozmowę",PoweredBy:"Wspierane przez 3CX",OfflineMessagePlaceholder:"Wiadomość",OfflineMessageSent:"Wkrótce się z Tobą skontaktujemy.",InvalidIdErrorMessage:"Nieprawidłowe ID. Skontaktuj się z administratorem strony. ID musi odpowiadać Przyjaznej nazwie Click2Talk",IsTyping:"Pisze…",NewMessageTitleNotification:"Nowa wiadomość",ChatIsDisabled:"Czat jest w tym momencie niedostępny.",GreetingMessage:"Cześć, jesteśmy tu żeby pomóc!",BlockMessage:"Sesja zakończyła się gdyż agent zablokował Twój adres IP",Dialing:"Wybieranie",Connected:"Połączony",ChatWithUs:"Czat z nami",CallingStatusTitle:"Dzwonię...",MuteMic:"Wycisz",UnmuteMic:"Wł. dźwięk",FullScreen:"Pełny ekran",messageQueueTillAssigned:"Twoje wiadomości czekają w kolejce na przypisanie agenta. Prosimy o wyrozumiałość",NotRespondingStatusTitle:"Brak odpowiedzi",DisconnectStatusTitle:"Próba ponownego połączenia",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Zacznij nowy"},Rate:{Bad:"Źle",Good:"Dobrze",Neutral:"Neutralnie",VeryBad:"Bardzo źle",VeryGood:"Bardzo dobrze",GiveFeedback:"Tak",NoFeedback:"Nie"}},eC={Auth:{Submit:"Начать чат",Name:"Имя",Email:"E-mail",OfflineEnterValidEmail:"Это не похоже на адрес электронной почты. Можете попробовать еще раз?",FieldValidation:"Необходимое поле",OfflineSubmit:"Отправить",FieldsReplacement:"Нажмите 'Начать чат', чтобы связаться с оператором",ChatIntro:"Можно узнать ваши контакты?",CloseButton:"Закрыть",PhoneText:"Телефон",EnterValidPhone:"Неверный номер",EnterValidName:"Неверный имя",EnterValidEmail:"Неверный e-mail",MaxCharactersReached:"Достигнуто предельное количество символов",AuthEmailMessage:"Могли бы вы указать ваш e-mail?",AuthNameMessage:"Могли бы вы указать ваше имя?",GdprDefaultMessage:"Я согласен, что мои персональные данные будут обработаны, а также на использование cookies. Данные используются для чата с КОМПАНИЕЙ. Чат используется для поддержки и консультаций. Данные хранятся 30 дней в соответсвии с GDPR.",DepartmentMessage:"Выберите отдел"},Chat:{TypeYourMessage:"Введите сообщение...",MessageNotDeliveredError:"Ошибка сети. Сообщение не доставлено.",TryAgain:" Нажмите, чтобы попробовать снова. ",FileError:"Невозможно загрузить выбранный файл.",RateComment:"Оставьте свой отзыв",RateFeedbackRequest:"Хотите оставить подробный отзыв?",RateRequest:"Оцените диалог с оператором",UnsupportedFileError:"Выбранный файл не поддерживается.",OperatorJoined:"Оператор %%OPERATOR%% подключился к чату",NetworkError:"Произошла сетевая ошибка."},Offline:{OfflineNameMessage:"Могли бы вы указать ваше имя?",OfflineEmailMessage:"Могли бы вы указать ваш e-mail?",CharactersLimit:"Длина не должна превышать 50 символов",OfflineFormInvalidEmail:"Это не похоже на адрес электронной почты. Можете попробовать еще раз?",OfflineFormInvalidName:"Вы указали некорректное имя."},MessageBox:{Ok:"OK",TryAgain:"Попробуйте снова"},Inputs:{InviteMessage:"Здравствуйте! Мы можем вам помочь?",EndingMessage:"Сессия завершена. Свяжитесь с нами, когда будет удобно!",NotAllowedError:"Разрешите доступ браузера к микрофону",NotFoundError:"Микрофон не найден",ServiceUnavailable:"Сервис недоступен",UnavailableMessage:"Сейчас мы не на связи. Пожалуйста, оставьте сообщение!",OperatorName:"Поддержка",WindowTitle:"Live Chat & Talk",CallTitle:"Позвонить",EndCallTitle:"Завершить вызов",PoweredBy:"Заряжено 3CX",OfflineMessagePlaceholder:"Сообщение",OfflineMessageSent:"Мы свяжемся с вами в ближайшее время.",InvalidIdErrorMessage:"Неверный ID. Свяжитесь с администратором сайта. ID должен соответствовать короткому имени в параметрах Click2Talk",IsTyping:"набирает...",NewMessageTitleNotification:"Новое сообщение",ChatIsDisabled:"Чат сейчас недоступен.",GreetingMessage:"Добрый день! Готовы вам помочь!",BlockMessage:"Сессия завершена, поскольку ваш IP-адрес заблокирован оператором",Dialing:"Набор",Connected:"Соединено",ChatWithUs:"Написать",CallingStatusTitle:"Вызов...",MuteMic:"Откл. звук",UnmuteMic:"Вкл. звук",FullScreen:"На весь экран",messageQueueTillAssigned:"Ваши сообщения находятся в очереди, пока мы подбираем свободного оператора. Подождите еще немного, пожалуйста",NotRespondingStatusTitle:"Не отвечает",DisconnectStatusTitle:"Попытка повторного подключения",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Начать новый чат"},Rate:{Bad:"Плохо",Good:"Хорошо",Neutral:"Нейтрально",VeryBad:"Очень плохо",VeryGood:"Очень хорошо",GiveFeedback:"Да",NoFeedback:"Нет"}},bf={Auth:{Submit:"Bate-papo",Name:"Nome",Email:"E-mail",OfflineEnterValidEmail:"Desculpe, isso não parece ser um endereço de e-mail. Você pode tentar novamente?",FieldValidation:"Campo obrigatório",OfflineSubmit:"Enviar",FieldsReplacement:"Clique em 'Chat' para iniciar um bate-papo com um agente",ChatIntro:"Você poderia informar suas informações para contato?",CloseButton:"Fechar",PhoneText:"Telefone",EnterValidPhone:"Número de telefone inválido",EnterValidName:"Nome Inválido",EnterValidEmail:"E-mail Inválido",MaxCharactersReached:"Número máximo de caracteres atingido",AuthEmailMessage:"Você pode nos informar seu e-mail?",AuthNameMessage:"Você pode nos informar seu nome?",GdprDefaultMessage:"Concordo que meus dados pessoais sejam processados para uso de cookies para participar de um chat realizado pela EMPRESA, para fins de bate-papo/suporte pelo período de 30 dia(s) conforme o GDPR.",DepartmentMessage:"Por favor, selecione o departamento"},Chat:{TypeYourMessage:"Escreva sua mensagem...",MessageNotDeliveredError:"Ocorreu um erro relacionado à rede. Mensagem não enviada.",TryAgain:" Clique aqui para tentar novamente ",FileError:"Não foi possível carregar o arquivo selecionado.",RateComment:"Dê sua opinião",RateFeedbackRequest:"Você deseja nos dar um feedback mais detalhado?",RateRequest:"Avalie sua conversa",UnsupportedFileError:"O arquivo selecionado não é suportado.",OperatorJoined:"Agente %%OPERATOR%% entrou no chat",NetworkError:"Ocorreu um erro relacionado com a rede."},Offline:{OfflineNameMessage:"Podemos saber o seu nome?",OfflineEmailMessage:"Podemos saber o seu e-mail?",CharactersLimit:"O comprimento não pode exceder 50 caracteres",OfflineFormInvalidEmail:"Desculpe, isso não parece ser um endereço de e-mail. Você pode tentar novamente?",OfflineFormInvalidName:"Desculpe, o nome fornecido não é válido."},MessageBox:{Ok:"Ok",TryAgain:"Tente novamente"},Inputs:{InviteMessage:"Olá! Como podemos te ajudar hoje?",EndingMessage:"Sua sessão terminou. Por favor, sinta-se à vontade para nos contatar novamente!",NotAllowedError:"Permitir acesso ao microfone pelo seu navegador",NotFoundError:"Microfone não encontrado",ServiceUnavailable:"Serviço indisponível",UnavailableMessage:"Estamos fora, deixe-nos uma mensagem!",OperatorName:"Suporte",WindowTitle:"Chat ao vivo",CallTitle:"Entre em contato",EndCallTitle:"Terminar a chamada",PoweredBy:"Desenvolvido pela 3CX",OfflineMessagePlaceholder:"Mensagem",OfflineMessageSent:"Entraremos em contato em breve.",InvalidIdErrorMessage:"ID inválido. Entre em contato com o administrador do site. O ID deve corresponder ao utilizado no Click2Talk",IsTyping:"Digitando...",NewMessageTitleNotification:"Nova mensagem",ChatIsDisabled:"O chat não está disponível no momento.",GreetingMessage:"Ei, estamos aqui para ajudar!",BlockMessage:"Sua sessão acabou porque seu IP foi banido pelo agente",Dialing:"Discando",Connected:"Conectado",ChatWithUs:"Converse conosco",CallingStatusTitle:"Ligando...",MuteMic:"Mudo",UnmuteMic:"Desativar Mudo",FullScreen:"Tela Cheia",messageQueueTillAssigned:"As suas mensagens são enfileiradas até que um agente lhe seja designado. Por favor, aguarde mais um pouco",NotRespondingStatusTitle:"Não está respondendo",DisconnectStatusTitle:"Tentando reconectar",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Começe um novo"},Rate:{Bad:"Ruim",Good:"Bom",Neutral:"Neutro",VeryBad:"Muito ruim",VeryGood:"Muito bom",GiveFeedback:"Sim",NoFeedback:"Não"}},a1={Auth:{Submit:"聊天",Name:"姓名",Email:"邮箱",OfflineEnterValidEmail:"很抱歉,该地址看起来不像电子邮箱地址。您可以重试吗?",FieldValidation:"必填字段",OfflineSubmit:"发送",FieldsReplacement:'请点击 "聊天",开始与坐席交谈',ChatIntro:"能给我们您的联系方式吗?",CloseButton:"关闭",PhoneText:"电话",EnterValidPhone:"无效的电话号码",EnterValidName:"名称无效",EnterValidEmail:"无效的邮箱",MaxCharactersReached:"已达到最大字符限制",AuthEmailMessage:"能告诉我们您的邮箱吗?",AuthNameMessage:"能告诉我们您的姓名吗?",GdprDefaultMessage:"我同意根据 GDPR 处理我的个人数据并使用 cookie 进行公司处理的聊天,以提供聊天/支持的目的,期限为 30 天。",DepartmentMessage:"请选择部门"},Chat:{TypeYourMessage:"输入您的消息...",MessageNotDeliveredError:"发生网络相关错误。信息未送达。",TryAgain:" 点击此处再试一次 ",FileError:"无法上传所选文件。",RateComment:"告诉我们您的反馈",RateFeedbackRequest:"您是否想给我们更详细的反馈?",RateRequest:"为您的对话评分",UnsupportedFileError:"不支持所选文件。",OperatorJoined:"坐席%%OPERATOR%% 加入聊天",NetworkError:"发生网络相关错误。"},Offline:{OfflineNameMessage:"能告诉我们您的名字吗?",OfflineEmailMessage:"能告诉我们您的电子邮箱吗?",CharactersLimit:"长度不能超过50个字符",OfflineFormInvalidEmail:"很抱歉,该地址看起来不像电子邮箱地址。您可以重试吗?",OfflineFormInvalidName:"抱歉,您提供的名字无效。"},MessageBox:{Ok:"OK",TryAgain:"再次尝试"},Inputs:{InviteMessage:"您好!请问有什么可以帮到您的?",EndingMessage:"您的会话结束了。请随时与我们联系!",NotAllowedError:"允许通过浏览器访问麦克风",NotFoundError:"未发现麦克风",ServiceUnavailable:"服务不可用",UnavailableMessage:"我们不在线,给我们留言吧!",OperatorName:"支持",WindowTitle:"实时聊天和通话",CallTitle:"致电我们",EndCallTitle:"结束通话",PoweredBy:"由3CX提供支持",OfflineMessagePlaceholder:"留言信息",OfflineMessageSent:"我们会尽快与您联系。",InvalidIdErrorMessage:"无效的ID。联系网站管理员。ID必须与Click2Talk友好名称匹配",IsTyping:"正在输入...",NewMessageTitleNotification:"新消息",ChatIsDisabled:"实时聊天暂不可用。",GreetingMessage:"嘿,很高兴为您服务!",BlockMessage:"你的会话已经结束,因为你的IP被坐席禁止了",Dialing:"拨号",Connected:"已连接",ChatWithUs:"与我们聊天",CallingStatusTitle:"呼叫...",MuteMic:"静音",UnmuteMic:"取消静音",FullScreen:"全屏",messageQueueTillAssigned:"您的信息会被排在队列中,直到为您分配坐席。请再忍耐一段时间",NotRespondingStatusTitle:"未响应",DisconnectStatusTitle:"尝试重新连接",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"开始新的聊天"},Rate:{Bad:"差",Good:"好",Neutral:"一般",VeryBad:"非常差",VeryGood:"非常好",GiveFeedback:"是",NoFeedback:"否"}},r1={en:Gw,es:Qw,de:Kw,fr:Zw,it:Jw,pl:Xw,ru:eC,pt_BR:bf,pt_PT:bf,pt:bf,zh:a1,zh_CN:a1},an=Bw({legacy:!1,locale:"en",messages:r1}),vf=e=>n=>n.pipe(Cn(t=>t instanceof e),yt(t=>t)),s1=e=>{const n=new Uint8Array(e),t=$h.decode(n,n.length);return delete t.MessageId,Object.values(t)[0]};function zo(e,n){return e?n?`${e.replace(/\/+$/,"")}/${n.replace(/^\/+/,"")}`:e:n}const yf=e=>{const{t:n}=an.global;return typeof e=="string"?e:e instanceof Error?e.name==="NotAllowedError"?n("Inputs.NotAllowedError").toString():e.name==="NotFoundError"||e.name==="OverconstrainedError"?n("Inputs.NotFoundError").toString():e.name==="NetworkError"?n("Chat.NetworkError").toString():e.name==="messageQueue"?n("Inputs.messageQueueTillAssigned").toString():e.message:n("Inputs.ServiceUnavailable").toString()},l1=(()=>{const{t:e}=an.global,n=window.document.title,t=e("Inputs.NewMessageTitleNotification").toString();let i;const o=()=>{window.document.title=window.document.title===t?n:t},a=()=>{clearInterval(i),window.document.title=n,window.document.onmousemove=null,i=null};return{startBlinkWithStopOnMouseMove(){i||(i=setInterval(o,1e3),window.document.onmousemove=a)},startBlink(){i||(i=setInterval(o,1e3))},stopBlink(){i&&a()}}})(),Vo=window.location.protocol==="https:"||window.location.host.startsWith("localhost")||window.location.origin==="voipc://electron";function vs(e,n){n===void 0&&(n={});var t=n.selector,i=M2(n,["selector"]);return new Qe(function(o){var a=new AbortController,r=a.signal,s=!0,l=i.signal;if(l)if(l.aborted)a.abort();else{var c=function(){r.aborted||a.abort()};l.addEventListener("abort",c),o.add(function(){return l.removeEventListener("abort",c)})}var u=es(es({},i),{signal:r}),f=function(d){s=!1,o.error(d)};return fetch(e,u).then(function(d){t?ht(t(d)).subscribe(He(o,void 0,function(){s=!1,o.complete()},f)):(s=!1,o.next(d),o.complete())}).catch(f),function(){s&&a.abort()}})}class ci{constructor(n){_(this,"name","");_(this,"image","");Object.assign(this,n)}}const Oi=new ci;class Da{constructor(n){_(this,"isNew",!1);_(this,"chatState");_(this,"startingConv",new Fc);_(this,"idConversation",-1);_(this,"status",At.BROWSE);Object.assign(this,n)}}function c1(){try{return localStorage.getItem("callus.loggerenabled")==="true"}catch{return!1}}function tC(e){c1()&&console.log("Response",e)}function nC(e){c1()&&console.log(e)}function Fa(e){console.error("call-us:",e)}const Af=()=>e=>e.pipe(gc({connector:()=>new oi(1),resetOnError:!1,resetOnComplete:!1}));class oo{static Merge(n,t){return t.Action===No.FullUpdate||t.Action===No.Updated?oo.MergePlainObject(n,t):t.Action||Object.assign(n,t),n}static notify(n,t){const i=Reflect.get(n,`${t.toString()}$`);i!==void 0&&i.next(Reflect.get(n,t))}static MergePlainObject(n,t){n!==void 0&&Reflect.ownKeys(t).filter(i=>i!=="Action"&&i!=="Id").forEach(i=>{const o=Reflect.get(t,i),a=Reflect.get(n,i);if(o!==void 0){if(o instanceof Array){const r=o;if(r.length===0)return;if(r[0]instanceof Object){const s=a||[],l={};s.forEach(c=>{l[c.Id]=c}),r.forEach(c=>{const u=c.Id,f=l[u];switch(c.Action){case No.Deleted:delete l[u];break;case No.FullUpdate:l[u]=c;break;case No.Inserted:case No.Updated:l[u]=f===void 0?c:oo.Merge(f,c);break}}),Reflect.set(n,i,Object.values(l))}else Reflect.set(n,i,o)}else o instanceof Object?Reflect.set(n,i,a===void 0?o:oo.Merge(a,o)):Reflect.set(n,i,o);oo.notify(n,i)}})}}class iC{constructor(n,t){_(this,"chatConversationId");_(this,"error","");_(this,"isOnline",new To(!0));_(this,"notificationChannelEndpoint");_(this,"pbxEndpoint");_(this,"endpoint");_(this,"fileEndpoint");_(this,"messagesSubject$",new Te);_(this,"messages$",this.messagesSubject$.asObservable());_(this,"webRTCEndpoint",new Si);_(this,"conversation$",new oi(1));_(this,"webRTCEndpoint$",new oi(1));_(this,"sessionState",Bn.Connected);_(this,"supportsWebRTC");_(this,"serverProvideSystemMessages");this.sessionId=t,this.pbxEndpoint=n,this.endpoint=zo(n,"/MyPhone/MPWebService.asmx"),this.fileEndpoint=zo(n,"/MyPhone/downloadChatFile/"),this.supportsWebRTC=!0,this.webRTCEndpoint$.next(this.webRTCEndpoint),this.serverProvideSystemMessages=!0,this.chatConversationId=0}notify(n){this.messagesSubject$.next(n)}getSessionUniqueCode(){return this.chatConversationId}onWebRtcEndpoint(n){this.webRTCEndpoint=oo.Merge(this.webRTCEndpoint,n),this.webRTCEndpoint$.next(this.webRTCEndpoint)}fileEndPoint(n){return`${this.fileEndpoint}${n}?sessionId=${this.sessionId}`}emojiEndpoint(){return`${this.pbxEndpoint}/webclient/assets/emojione/32/`}get(n){const t=n,i=new Error("network error");return i.name="NetworkError",vs(this.endpoint,{headers:{"Content-Type":"application/octet-stream",MyPhoneSession:this.sessionId},method:"POST",body:$h.encode(t.toGenericMessage()).finish()}).pipe(fn(()=>Ze(()=>i)),we(o=>o.ok?o.arrayBuffer():Ze(()=>i)),yt(o=>{const a=s1(o);if(tC(a),a instanceof ss&&!a.Success){const r=new Error(a.Message||`Received unsuccessful ack for ${t.constructor.name}`);if(a.ErrorType===9&&(r.name="messageQueue"),console.error(a.Message),r.state=a.ErrorType,!(n instanceof Bc&&a.ErrorType===32))throw r}return a}))}}function f1(e){return e.MessageType===Dc.CMT_Normal}function oC(e,n){return new Po({Messages:e.Messages.filter(t=>{var a;const i=(a=t.Recipients.find(r=>r.IsSender))==null?void 0:a.IdRecipient,o=n.Recipients.find(r=>r.Recipient.IdRecipient===i);return(o==null?void 0:o.Recipient.RecipientType)!==Lo.CRT_Anonymous})})}function aC(e,n){const t=new iC(e,n.sessionId),i=new URL(e);return t.notificationChannelEndpoint=zo(`${i.protocol==="https:"?"wss:":"ws:"}${e.replace("http:","").replace("https:","")}`,`/ws/webclient?sessionId=${encodeURIComponent(n.sessionId)}&pass=${encodeURIComponent(n.pass)}`),t}class rC{constructor(n,t){_(this,"AddpTimeoutMs",2e4);this.pbxUrl=n,this.party=t}tokenStorageKey(){return`call-us-token-${encodeURIComponent(this.pbxUrl)}`}activeStorageKey(){return`call-us-chat-active-${encodeURIComponent(this.pbxUrl)+encodeURIComponent(this.party)}`}isChatActive(){return!!localStorage.getItem(this.activeStorageKey())}setChatActive(){localStorage.setItem(this.activeStorageKey(),"true")}dropChatActive(){localStorage.removeItem(this.activeStorageKey())}createClick2CallSession(n){const t=localStorage.getItem(this.tokenStorageKey());let i=zo(this.pbxUrl,`/MyPhone/c2clogin?login=true&c2cid=${encodeURIComponent(this.party)}`);n.email&&(i+=`&email=${encodeURIComponent(n.email)}`),n.name&&(i+=`&displayname=${encodeURIComponent(n.name)}`),n.phone&&(i+=`&phone=${encodeURIComponent(n.phone)}`);const o=vs(i).pipe(we(r=>r.ok?r.json():Ze(()=>an.global.t("Inputs.ServiceUnavailable"))));return(t?vs(zo(this.pbxUrl,`/MyPhone/c2clogin?login=true&c2cid=${encodeURIComponent(this.party)}&token=${encodeURIComponent(t)}`)).pipe(we(r=>r.ok?r.json():Ze(()=>an.global.t("Inputs.ServiceUnavailable"))),fn(()=>o)):o).pipe(Ci(r=>{r.token&&localStorage.setItem(this.tokenStorageKey(),r.token)}),fn(r=>r instanceof Response&&r.status===404?Ze(()=>an.global.t("Inputs.InvalidIdErrorMessage")):Ze(()=>r)),yt(r=>aC(this.pbxUrl,r)))}createNotificationChannel(n){return new Qe(t=>{const i=new WebSocket(n.notificationChannelEndpoint);return i.binaryType="arraybuffer",i.onmessage=o=>t.next(o.data),i.onerror=o=>t.error(o),()=>i.close()}).pipe(sy(this.AddpTimeoutMs),Cn(t=>t!=="ADDP"),$y(t=>t!=="START"),sh(t=>{if(t==="START"){this.setChatActive();const o=new kh,a=new Uh({register:!0});return pc(n.get(o),n.get(a)).pipe(Cn(r=>!(r instanceof ss)))}if(t==="NOT AUTH"||t==="STOP"){n.onWebRtcEndpoint(new Si);const o=new Da({idConversation:n.getSessionUniqueCode(),status:At.ENDED_BY_AGENT});return n.notify(o),Ze(()=>an.global.t("Inputs.ServiceUnavailable"))}const i=s1(t);return nC(i),Ke(i)}),gc())}processMyPhoneMessages(n,t,i){return new Qe(o=>{let a=!1,r=!1,s,l,c=new Fc;return i.subscribe({next:u=>{if(u instanceof $c?(t.isOnline.next(u.Connected),s=u):u instanceof Si?(t.onWebRtcEndpoint(u),r=!0):u instanceof qh?(c=u.PartyInfo,t.conversation$.next(u.PartyInfo)):u instanceof Bh&&(c=u.Conversation,t.conversation$.next(u.Conversation),l||(t.chatConversationId=u.Conversation.IdConversation,l=u)),(n||l)&&r&&!a){if(o.next(t),l){const f=l.Conversation;l.IsNew||t.get(new Dh({Count:10,IdConversation:f.IdConversation})).subscribe({next:d=>{d.Messages=d.Messages.reverse().filter(f1),t.notify(d)},error:()=>{}}),t.notify(new Da({startingConv:f,idConversation:f.IdConversation,isNew:l.IsNew,chatState:s,status:At.ACTIVE}))}a=!0}u instanceof Po&&(u=oC(u,c),u.Messages.length>0&&t.isOnline.next(!0),u.Messages=u.Messages.filter(f1)),t.notify(u)},error:u=>o.error(u),complete:()=>o.complete()})})}createMySession(n,t=!1){return this.createClick2CallSession(n).pipe(we(i=>this.processMyPhoneMessages(t,i,this.createNotificationChannel(i))),fn(i=>Ke(p3(yf(i)))))}dropSession(){return this.dropChatActive(),Ke(!0)}getInfo(n){return vs(n).pipe(we(t=>t.ok?t.json():Ze(()=>new Error(`Info endpoint returned error: ${t.status}`))),yt(t=>{const i=t.profilePicture||"";return{isAvailable:t.isAvailable,isChatEnabled:t.isChatEnabled,isQueue:t.isQueue,operator:new ci({name:t.name,image:i?new URL(i,n).href:""}),webRtcCodecs:t.webRtcCodecs}}),Af())}}function sC(){const e=new Date,n=new l3;return n.Year=e.getUTCFullYear(),n.Month=e.getUTCMonth()+1,n.Day=e.getUTCDate(),n.Hour=e.getUTCHours(),n.Minute=e.getUTCMinutes(),n.Second=e.getUTCSeconds(),n}const lC=["So what does this thing run on...gasoline?","No! It requires something with a little more kick...plutonium!","Wait, Doc, are you telling me...that this car is nuclear?","No, no, no! The plutonium is required to generate the 1.21 jigawatts needed to power the car!"];class cC{constructor(n,t){_(this,"chatConversationId",-1);_(this,"isOnline",new To(!0));_(this,"endpoint","");_(this,"fileEndpoint","");_(this,"messagesSubject$",new Te);_(this,"messages$");_(this,"notificationChannelEndpoint","");_(this,"pbxEndpoint","");_(this,"serverProvideSystemMessages",!1);_(this,"supportsWebRTC",!1);_(this,"webRTCEndpoint",new Si);_(this,"conversation$",new oi);_(this,"webRTCEndpoint$",new oi(1));_(this,"sessionId","");this.sessionState=n,this.error=t,this.conversation$.next(new Fc({IdConversation:10,Recipients:[new Rh({Recipient:new xh({RecipientType:Lo.CRT_Anonymous,IdRecipient:1,Name:"Marty"})}),new Rh({Recipient:new xh({RecipientType:Lo.CRT_Local,IdRecipient:2,Name:"Doc"})})]})),this.webRTCEndpoint$.next(new Si);const i=lC.map((a,r)=>({id:r+1,isVisitor:r%2===0,message:a})),o=Dt(i).pipe(sh(a=>os(Ke(new Ta({IdConversation:10,IdRecipient:a.isVisitor?1:2})).pipe(Cn(r=>r.IdRecipient===2),Sa(3e3)),Ke(new Po({Messages:[new f3({Id:a.id,IdConversation:10,Recipients:[new c3({IsSender:!0,IdRecipient:a.isVisitor?1:2})],Time:sC(),Message:a.message})]})).pipe(Sa(1500)))));this.messages$=os(Ke(new Da({idConversation:1,chatState:new $c({Connected:!0}),status:At.ACTIVE})).pipe(Sa(100)),o)}notify(){}emojiEndpoint(){return""}fileEndPoint(n){return""}get(n){return Ke(new ss({Success:!0}))}getSessionUniqueCode(){return-1}onWebRtcEndpoint(n){}}const fC=()=>new cC(Bn.Connected,"Can' send request to idle session"),wf="Webvisitor";function uC(e){const n=localStorage.getItem(e);if(n)try{return JSON.parse(n)}catch{}}function dC(e){return e.QueueNo&&!e.TakenBy}function u1(e,n){var i;if(dC(e))return new ci({name:n.operatorName,image:n.operatorIcon});const t=e.Recipients.find(o=>(o.Recipient.RecipientType===Lo.CRT_Local||o.Recipient.RecipientType===Lo.CRT_3cxBridge)&&!o.IsRemoved&&!o.IsWhisperer);if(t){const o=(i=t.Recipient.Contact)==null?void 0:i.ContactImage;return new ci({name:t.Recipient.Name,image:o?new URL(o,n.channelUrl).href:n.operatorIcon})}}function hC(e,n){return e.conversation$.pipe(yt(t=>u1(t,n)))}function pC(e,n){return e.mySession$.pipe(we(t=>hC(t,n)))}function mC(e,n){n.add(e.mySession$.subscribe(t=>{e.hasSession=t.sessionState===Bn.Connected}))}class gC{constructor(n,t,i=!1,o=!1){_(this,"mySession$");_(this,"connect$",new Te);_(this,"auth");_(this,"hasSession");_(this,"isAvaliable");_(this,"chatMessages",[]);_(this,"channel");this.channelURL=n,this.party=t,this.demo=i,this.callsOnly=o,this.channel=new rC(n,t),this.auth=uC(this.authStorageKey()),this.hasSession=!1,this.isAvaliable=!1,this.mySession$=this.connect$.pipe(we(a=>(a&&!this.auth&&this.setAuthentication({name:wf}),a&&this.auth?i?Ke(fC()):this.channel.createMySession(this.auth,o):Ke(zh()))),vc(zh()),Af())}authStorageKey(){return`call-us-auth-${encodeURIComponent(this.channelURL)}`}closeSession(){this.connect$.next(!1)}reconnect(){this.connect$.next(!0)}setAuthentication(n){this.auth=n,!this.demo&&(n?localStorage.setItem(this.authStorageKey(),JSON.stringify(n)):localStorage.removeItem(this.authStorageKey()))}injectAuthenticationName(n){var i;const t=((i=this.auth)==null?void 0:i.name)??"";return n.replace("%NAME%",t)}lastMessage(){return this.chatMessages[this.chatMessages.length-1]}clearMessages(){this.chatMessages=[]}notificationsOfType$(n){return this.mySession$.pipe(we(t=>t.messages$),vf(n))}get(n){return this.mySession$.pipe(Fn(1),we(t=>t.sessionState!==Bn.Connected?(this.reconnect(),this.mySession$.pipe(Cn(i=>i!==t))):Ke(t)),we(t=>t.get(n)),Fn(1))}}class bC{constructor(){_(this,"onError",new Te);_(this,"onRestored",new Te);_(this,"onMinimized",new Te);_(this,"onToggleCollapsed",new Te);_(this,"onRestart",new Te);_(this,"onLoaded",new Te);_(this,"onAnimationActivatedChange",new To(!0));_(this,"onChatInitiated",new To(!1));_(this,"onChatCompleted",new Te);_(this,"onClosed",new Te);_(this,"onClosed$",this.onClosed.asObservable().pipe(as(this.onChatCompleted)));_(this,"onFileUpload",new Te);_(this,"onClientChatTyping",new Te);_(this,"onEnableNotification",new Te);_(this,"onToggleSoundNotification",new Te);_(this,"onSoundNotification",new Te);_(this,"onUnattendedMessage",new Te);_(this,"onAttendChat",new Te);_(this,"onTriggerFocusInput",new Te);_(this,"onShowMessage",new Te);_(this,"onScrollToBottom",new Te)}}class vC{constructor(){_(this,"activeLoaders");_(this,"key");this.activeLoaders={},this.key=0}show(n="default"){this.activeLoaders[n]=!0,this.key+=1}hide(n="default"){delete this.activeLoaders[n],this.key+=1}loading(n="default"){return this.activeLoaders[n]}}const d1="browser",h1=S2({languages:Object.keys(r1),fallback:"en"}),p1={inviteMessage:{type:String,default:void 0},endingMessage:{type:String,default:void 0},firstResponseMessage:{type:String,default:""},unavailableMessage:{type:String,default:void 0},allowCall:{type:String,default:"true"},demo:{type:String,default:"false"},enableOnmobile:{type:String,default:"true"},enable:{type:String,default:"true"},allowMinimize:{type:String,default:"true"},minimized:{type:String,default:"false"},popupWhenOnline:{type:String,default:"false"},allowSoundnotifications:{type:String,default:"true"},enableMute:{type:String,default:"false"},soundnotificationUrl:{type:String,default:""},facebookIntegrationUrl:{type:String,default:""},twitterIntegrationUrl:{type:String,default:""},emailIntegrationUrl:{type:String,default:""},minimizedStyle:{type:String,default:"bubbleright"},bubblePosition:{type:String,default:"right"},animationStyle:{type:String,default:"none"},allowVideo:{type:String,default:"true"},authentication:{type:String,default:"none"},phonesystemUrl:{type:String,default:void 0},party:{type:String,default:""},operatorIcon:{type:String,default:""},windowIcon:{type:String,default:""},buttonIcon:{type:String,default:""},buttonIconType:{type:String,default:"default"},operatorName:{type:String,default:void 0},windowTitle:{type:String,default:void 0},enablePoweredby:{type:String,default:"true"},userIcon:{type:String,default:""},callTitle:{type:String,default:void 0},forceToOpen:{type:String,default:"false"},ignoreQueueownership:{type:String,default:"false"},showOperatorActualName:{type:String,default:"false"},aknowledgeReceived:{type:String,default:"true"},gdprEnabled:{type:String,default:"false"},filesEnabled:{type:String,default:"false"},offlineEnabled:{type:String,default:"true"},gdprMessage:{type:String,default:""},messageDateformat:{type:String,default:"both"},messageUserinfoFormat:{type:String,default:"both"},chatIcon:{type:String,default:""},chatLogo:{type:String,default:""},visitorName:{type:String,default:""},visitorEmail:{type:String,default:""},authenticationMessage:{type:String,default:""},startChatButtonText:{type:String,default:void 0},offlineFinishMessage:{type:String,default:void 0},greetingVisibility:{type:String,default:"none"},greetingMessage:{type:String,default:void 0},greetingOfflineVisibility:{type:String,default:"none"},chatDelay:{type:Number,default:0},greetingOfflineMessage:{type:String,default:void 0},offlineNameMessage:{type:String,default:void 0},offlineEmailMessage:{type:String,default:void 0},offlineFormInvalidEmail:{type:String,default:void 0},offlineFormMaximumCharactersReached:{type:String,default:void 0},offlineFormInvalidName:{type:String,default:void 0},enableDirectCall:{type:String,default:"false"},enableGa:{type:String,default:"false"},assetsGuid:{type:String,default:""},lang:{type:String,default:()=>h1}},m1=(e,n=!1)=>{an.global.locale.value=e.lang===d1?h1:e.lang,e.lang===d1?Fi.locale(navigator.language):Fi.locale(e.lang);const t=e.demo==="true",i=new bC,o=new vC,a=new gC(e.phonesystemUrl,e.party,t,n),r=a.channel;let s;return t?s=Ke({webRtcCodecs:[],isAvailable:!0,isChatEnabled:!0,isQueue:!1,operator:new ci({name:"Support"})}):s=r.getInfo(zo(e.phonesystemUrl,`/MyPhone/c2cinfo?c2cid=${encodeURIComponent(e.party)}`)),{preloadOperations$:new Te().asObservable(),eventBus:i,loadingService:o,myChatService:a,currentChannel:r,info$:s,i18n:an}};function Ot(){const e=new Io;return vo(()=>{e.unsubscribe()}),e}class yC{constructor(n){_(this,"callUsElement");_(this,"enableFullScreen",!1);_(this,"isFullScreen",!1);_(this,"componentTop");_(this,"componentBottom");_(this,"componentLeft");_(this,"componentRight");Object.assign(this,n)}goFullScreen(){if(!this.enableFullScreen||this.isFullScreen)return;this.isFullScreen=!0;const n=window.document.getElementsByTagName("body");n.length>0&&n[0].style.setProperty("overflow","hidden !important");const t=window.innerHeight*.01,i=document.documentElement.clientWidth*.01;window.document.documentElement.style.setProperty("--vh",`${t}px`),window.document.documentElement.style.setProperty("--vw",`${i}px`),window.addEventListener("resize",()=>{const o=window.innerHeight*.01,a=document.documentElement.clientWidth*.01;window.document.documentElement.style.setProperty("--vh",`${o}px`),window.document.documentElement.style.setProperty("--vw",`${a}px`)})}closeFullScreen(){if(!this.enableFullScreen||!this.isFullScreen)return;this.isFullScreen=!1;const n=window.document.getElementsByTagName("body");n.length>0&&n[0].style.setProperty("overflow","auto !important"),this.callUsElement&&(this.callUsElement.style.setProperty("top",this.componentTop??""),this.callUsElement.style.setProperty("bottom",this.componentBottom??""),this.callUsElement.style.setProperty("left",this.componentLeft??""),this.callUsElement.style.setProperty("right",this.componentRight??""))}getSavedPosition(){return{componentTop:this.componentTop,componentBottom:this.componentBottom,componentLeft:this.componentLeft,componentRight:this.componentRight}}}class AC{constructor(n){_(this,"enableGA",!1);_(this,"mode","gtag");this.enableGA=n}isActive(){let n=!1;return this.enableGA&&(typeof window.gtag=="function"&&(n=!0),typeof window.ga=="function"&&(this.mode="ga",n=!0)),n}dispatchEvent(n,t,i="3CX Live Chat"){this.isActive()&&(this.mode==="gtag"?window.gtag("event",n,{event_label:t,event_category:i}):this.mode==="ga"&&window.ga("send",{hitType:"event",eventAction:n,eventLabel:t,eventCategory:i}))}chatInitiatedEvent(n){const t=localStorage.getItem("wplc-ga-initiated");(!t||n===void 0||t&&n&&parseInt(t,10)!==n.getSessionUniqueCode())&&(this.dispatchEvent("chat_init","ChatInitiated"),n!==void 0&&localStorage.setItem("wplc-ga-initiated",n.getSessionUniqueCode().toString(10)))}chatInteractionEvent(){sessionStorage.getItem("wplc-ga-interacted")||(this.dispatchEvent("chat_interaction","InteractionWithChat"),sessionStorage.setItem("wplc-ga-interacted","1"))}}const g1=0,ys=1,Cf=2;class wC{constructor(){this.atomCharacters="!#$%&'*+-/=?^_`{|}~",this.index=0,this.type=0}isControl(n){return n.charCodeAt(0)<=31||n.charCodeAt(0)===127}isDigit(n){return n>="0"&&n<="9"}isLetter(n){return n>="A"&&n<="Z"||n>="a"&&n<="z"}isLetterOrDigit(n){return this.isLetter(n)||this.isDigit(n)}isAtom(n,t){return this.isControl(n)?!1:n.charCodeAt(0)<128?this.isLetterOrDigit(n)||this.atomCharacters.indexOf(n)!==-1:t}isDomain(n,t){return n.charCodeAt(0)<128?this.isLetter(n)||n==="-"?(this.type|=ys,!0):this.isDigit(n)?(this.type|=Cf,!0):!1:t?(this.type|=ys,!0):!1}isDomainStart(n,t){return n.charCodeAt(0)<128?this.isLetter(n)?(this.type=ys,!0):this.isDigit(n)?(this.type=Cf,!0):(this.type=g1,!1):t?(this.type=ys,!0):(this.type=g1,!1)}skipAtom(n,t){const i=this,o=i.index;for(;i.index<n.length&&i.isAtom(n[i.index],t);)i.index++;return i.index>o}skipSubDomain(n,t){const i=this,o=i.index;if(!this.isDomainStart(n[i.index],t))return!1;for(i.index++;i.index<n.length&&i.isDomain(n[i.index],t);)i.index++;return i.index===n.length&&i.index-o===1?!1:i.index-o<64&&n[i.index-1]!=="-"}skipDomain(n,t,i){const o=this;if(!o.skipSubDomain(n,i))return!1;if(o.index<n.length&&n[o.index]===".")do if(o.index++,o.index===n.length||!o.skipSubDomain(n,i))return!1;while(o.index<n.length&&n[o.index]===".");else if(!t)return!1;return o.type!==Cf}skipQuoted(n,t){const i=this;let o=!1;for(i.index++;i.index<n.length;){if(this.isControl(n[i.index])||n.charCodeAt(this.index)>=128&&!t)return!1;if(n[i.index]==="\\")o=!o;else if(o)o=!1;else if(n[i.index]==='"')break;i.index++}return i.index>=n.length||n[i.index]!=='"'?!1:(i.index++,!0)}skipIPv4Literal(n){const t=this;let i=0;for(;t.index<n.length&&i<4;){const o=t.index;let a=0;for(;t.index<n.length&&this.isDigit(n[t.index]);)a=a*10+(n[t.index]-"0"),t.index++;if(t.index===o||t.index-o>3||a>255)return!1;i++,i<4&&t.index<n.length&&n[t.index]==="."&&t.index++}return i===4}isHexDigit(n){return n>="A"&&n<="F"||n>="a"&&n<="f"||n>="0"&&n<="9"}skipIPv6Literal(n){const t=this;let i=!1,o=!1,a=0;for(;t.index<n.length;){let r=t.index;for(;t.index<n.length&&t.isHexDigit(n[t.index]);)t.index++;if(t.index>=n.length)break;if(t.index>r&&n[t.index]==="."&&(o||a===6))return t.index=r,t.skipIPv4Literal(n)?o?a<=4:a===6:!1;let s=t.index-r;if(s>4)return!1;if(s>0&&(i=!1,a++),n[t.index]!==":")break;for(r=t.index;t.index<n.length&&n[t.index]===":";)t.index++;if(s=t.index-r,s>2)return!1;if(s===2){if(o)return!1;o=!0}else i=!0}return!i&&(o?a<=6:a===8)}validate(n,t=!1,i=!1){const o=this;if(!n||!n.length||n.length>254)return!1;if(n[o.index]==='"'){if(!this.skipQuoted(n,i)||o.index>=n.length)return!1}else{if(!this.skipAtom(n,i)||o.index>=n.length)return!1;for(;n[o.index]===".";)if(o.index++,o.index>=n.length||!o.skipAtom(n,i)||o.index>=n.length)return!1}if(o.index+1>=n.length||o.index>64||n[o.index++]!=="@")return!1;if(n[o.index]!=="[")return o.skipDomain(n,t,i)?o.index===n.length:!1;if(o.index++,o.index+7>=n.length)return!1;if(n.substr(o.index,5).toLowerCase()==="ipv6:"){if(o.index+=5,!o.skipIPv6Literal(n))return!1}else if(!o.skipIPv4Literal(n,this.index))return!1;return o.index>=n.length||n[o.index++]!=="]"?!1:o.index===n.length}}function CC(e,n=!1,t=!1){return new wC().validate(e,t,n)}const _C=e=>!!e&&/^(https?:\/\/)?((w{3}\.)?)facebook.com\/.*/i.test(e),EC=e=>!!e&&/^(https?:\/\/)?((w{3}\.)?)twitter.com\/.*/i.test(e),SC=e=>!!e&&/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/|\/\/)?[a-z0-9.-]+([-.]{1})[a-z0-9]{1,5}(:[0-9]{1,5})?(\/[a-zA-Z0-9-._~:/?#@!$&*=;+%()']*)?$/i.test(e),As=e=>CC(e,!0,!0),_f=e=>/^([^\u0000-\u007F]|[\w\d-_\s])+$/i.test(e),ws=e=>!e||!!e&&e.length<=200,ao=(e,n=50)=>!e||!!e&&e.length<=n,Ef=e=>ao(e,254),MC=(e,n)=>SC(e)&&ws(e)?e:n,ki=(e,n)=>e?n?ao(e,n)?e:e.substring(0,n):ao(e,50)?e:e.substring(0,50):"",IC=(e,n)=>As(e)&&ws(e)?e:n,TC=(e,n)=>_C(e)&&ws(e)?e:n,OC=(e,n)=>EC(e)&&ws(e)?e:n;class Sf{constructor(n){_(this,"lastWebRTCState");_(this,"peerConnection");_(this,"remoteStream$",new oi(1));_(this,"localStream");_(this,"isActive",!1);_(this,"isMuted",!1);_(this,"isVideoCall",!1);_(this,"audio");_(this,"isVideoReceived",!1);_(this,"video");_(this,"toneSend$",tn);_(this,"isNegotiationInProgress",!1);Object.assign(this,n)}get isVideoSend(){return!!this.video}}const ro=new Sf({lastWebRTCState:new qc({sdpType:st.WRTCInitial,holdState:Do.WebRTCHoldState_NOHOLD})}),b1="data:audio/mpeg;base64,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mtCFf///+xDECgBDOAMQoARAAK+AYbQQiAD61IBU+IIABAwJJ4C+6z6nt1df9V3/Y5q+GOxYGSfc02ppIotcSnTL6Kf8ypaqhQ8NSpRGAg232gAAeed/7+R65f6//r/6/1P95TOa31IHZqRzGf/7EMQQgEcBeQughHfAWIBi/ACIAJEEwMqqOLQ3Nhzatfn/89ZFOVmOme49BwAAAIABwAr/T/t///////1////s9NXD6z2i+4MAADYQepbrKt9AwO3+//+Q/6H2f2MDh8DcUiu7//RZ//sQxBKABNgBEaCEQAB2gGK8AIgAWBQhWAFVgXABkACQu1P3btP//9b6v9n+3////1Y24sofjceADAAAAUDLFbHf/t///+n/c30oU78y///6bY/WW0CWTeJzzRdPqKa9vRGo/uXogFf/+xDEGYBDwAEToIRNwMKAYbQAiAD7dhqlSiRURsQoQFDh1iiKtu2qy3psGPiMdB1d/////////9+7////8XQ7NCODsi3fIgIMW5aVVKfbv3MbXGfqUijZ2al/v/pez7t5N3R/1rUxxv/7EMQbgAHEAxQAAEAAq4AiPBCJuIkT9troEdupAAB3end/+vR6kK4v1//yqf/n/84sd++B75tuI/7qRZnmXff//8z6syv7gy2m6GAQhABTLattTruc//////6v6933I//05oyqgAQA//sQxCiABmlxDaCEV8hngGKugCAAAAAFgbaCSAI5ruwExMaa5/OHQUHgca/fjQxxItIXcvktX85DmIp9Hv2e7lOb2W/0Xe5b+z/T/aAAA1SAgAAYOh0ZwKEIxKMTbuMIANNcWjNDBcT/+xDEKwAHTFcfWaGAAL4E59M6EABdOgBUQInjACIuttE414QGl5HaUwAAKgAwDACxGCSYbgjpiEDRmZIQ6fDVTZwkFQmK4MKYqAbphChjGEmCQYJ4ORgIAQLljMVER3IVxe70gBxAwP/7EMQfggdkISUd4QAg3wPlNb9wRNJpughATDhwy2DML5ZA2xvfTMcBMQhpOhMhnJQFxYJRe+7X1zDO6N+//6v9X/9Vv+3/1dgxsOMyBTVyQ8JrMk9Lw+Aejzn3EnMSAD43E7MlQTCD//sQxA+CRXgfJA37YmDdhCTpv2xM4w+PMBFYKpwTIf6PvAIgCoLmMCho6Sc9fGOivGcwqqR1LhdmI4C8binm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LAMNoARAAF2AYvQACACBAAAqq4UrvoW+l7kVNVfp//P9yOt8SOQau3OQp9JiFZEVSz/3rFksKPLFBLwAABmAEMv1////xX9X//2/9X+v+r7lpQCHcAAAAcVkAjW9v//s///7EMQHgAPoARPgBEAA1y6htBCKudPb9//Zq0JU49/6P/8UpQXv1kFgtvpAAEzKcnP5ev75/L/y/8rEY5/+v/h355T9tMZnI593oqeTnGam0///1V9nd3Om42V3WGV1RWt8YAId5O5p//sgxAaABgV9EeCEV8DKruG0EIq5xyLLz0eUvP+///zy9///yP1TL89V9P9WX/7///l9P92J2BMNe5cLXegAANuGdSPz89jqI8uf9v//8v/y/r+fThIVTnGKZB/OP7if+v///+u6rTlyjIEUSRhiWZAAAc93ql8H9ctf5ary/+X/7//7IMQLgEaxdwughFfIwq8htBCK+f/zr2uRpxkTU2UQ4E6KRBA24///f/z8tmWgMzJYKTsGlmgknik+51vNSv9f3X5Zy//3/mX/m5/9fLk95y53MlKXF+p7///4NXRn5keQGoSql4eERUcMPkAAGDFGniliMc3lh3qV+tyvZ92jsQj/+xDEDoPF2AMP4ARAAFqAIcAACbjdIqcKtSNZT25j/qryBNQkKEf//////937qZAO5JFej+v//NqSk8UCFZZLbYFpoQAAbQ9ZRjXhI96U2d6G/6P1/ygUQvjiJ5wRYtGVKuhxhUaum//7EMQVAgZ0AQughEuAOwBjvACIAHu1a4seEhIuYIAEwAAECAH/hX////1f/Wp6aiWuW+IAAWdSAA/Wd5/u6+v3l//xf/Y//8jXkfsoasnRuRHGLvI8DyWft///k6eizndbOwNwwGAJ//sQxB0ARtF9DaCEV8DGACF0EIm4Gp2Ipu92jdsf33f2ev7BNPKIkSIcf4CGBgOgc6PQ1KSZeeV/32GyJUJhEoIkENaMNbtboAAAiFqcjemxPVb6f6///encoVMJ3sUl6yDf//psuVH/+xDEEoAFDAMPoIRAALgAYfQAiAAx4VNeQb2SXbtEABjnIOi591NUjRYii5bf0fq/jn1RO21+igktSwKspMM+3/stoGAFVXZZVVVFC31gAAkzV7Wiux/Sxjfdo939qu7zbrUkqgtDzP/7EMQQgEXwAw/ghEAAooAh9BCJuCZU4YS04Kdn/rb33NNhvDf2SW28JEVMGmsoGabapD06f/0P36g6xfI00U6c/f0VJ//Y0k8DhQeq2w0tt13yAADSO2CBjF0V2vzddq/239+inXpr//sQxA2DxeQDD6CEQABJgGIAAAgAeSS2XdDfM5WVfa5Gj6OeoMk3FQD////////6PR4a0fp//0z8gKkaZXaGhkZaPWACHEhOmOY+hRJd+r7v6/7/u/36u691+uyj/p+TDTlQDQsKzKn/+xDEFgAEzAMR4ARAAKqAYjwAiAB3yQADyyBSBLkrt11ae7+r3+PpWXou798jvoQ/uQ7/9PLtOuJoAIlwiFcOBgQEKlXXjr6O///3f+z///p/R//6LxUIv/////5f6/+l0dbYuQ/0///7EMQXAwOgAxfgBEAAXYBiBAAIAPVsWgWS8dW2CVySwdIAAKzvpLeWDXc/z/3///l/fa/y8Swryfn0x+v0/wFERMOyX//89511eSihXyBkBGSDMzKPwprHPE667q37GX+xdu/Z9Wqz//sQxCYARnF1DaCEV8jggCF8EIm4IPPhkmsI4sHUBQMsW1oq0qErI5cr1bUULSTALUGwWGL////////9n/p/T/91vtIkJdxZJLN4hKSx1qnVNXRc/pu/3YszFvsXbQhE49rAiBdgSND/+xDEGYBCCAMSAABAAMMAYbQQiAD33HI1sfkP+KoEswFGGPN7tdrvugQQ14GWTvudLm6RQ+hY9Tlf6F+xn/c2cvedqum/fvr/+U0LUeWLCYIsEKqqqKG2qIBBMQHVoRTYv3j37KP9nf/7EMQigAXMAxGgBEAAmoBiPBCIAN/9nrd3ddxv9bKv/utywugACAAA/f//////V6NX/6/er//98cXAtoEklArxqO9Oqni3/9nSmEv2UX2tukEeRGPUsWT6P/o9I1TEVbqI3GpHmQAA//sQxCGAQqgDEwAAQBCTgGH0AIgAnPatdl19zNFvVX9PmdjrKaFUUsYlqDyYu1iWvYgSBdVFYt26etrFhAHBQEQy6vCu7MrXDMgEC6HrS9yHor2uo7f/u+d9X13f9lrP//o7E5CKKpL/+xDELYAGnAMLoIRAAJEAInwAiADbBYxJ4AAAtIacYbttY/088VH/2I/Wb3v0UtrDjBpFQ14wCDCrCjJ9zlPd3W6W8eXICYqLGCDAAU6swBhwCAAupVSHJZ8X+///7urUz/TUYT/////7EMQqAAbcAQughE3AgoBivBCIAP7xWYr3Ua2iWeIAAKMCDEsYkVWfoqvt/t21o0JrZvzjx1Ckqeh740XRW3UTWllqov6uxDkkBGeNms4Jq2AJgBqXUMtZd/rUyKf//1JlJPJixxBA//sQxCeARqADDaCEQACwgCG0EIm4dnjl2hMHHMJ9/9VOiXBIVBIK1f////////7vr/2f/9WFGFjevmFult9RAIeLJQNpeqxlO7a/p/3+3/s7N+xn1p/Win/0WkDwnUpVZZQFRCl0IAL/+xDEIAACFAESAABAAJcAIjQQiAADSzRZzJ/chGjmer/G+uzdqavtumVuNGypGK9F9E9kNSa3rVCg8mKhgur//////////////9mi+Au31v3jIACDfN1pPiyGp0EtHZ/u9X/T/R32M//7EMQuA8ZgAw3gBEAAMwBiwAAIAN/p//p96ExxyyNyXMAAArR6kIpvnNFtKi1atv0/u8whgnxo2tgsFSePHtFjoGCwjFXMFtSq6f1wG+MAASoPe6wC2+kAAWJPIWt6PmXYl9+j93R1//sQxDeABFQDE6CEQADXgGF0EIgA+zoZEAMEkNcZvNnRcmKkGHWxZ3T288m4HDAiLBoIAGBH/////9df+939/fs/7qnav1eXE1WADAAADgMAAN7f/60X//+oTf6dLvb/X093//fVMA//+xDENIMGhAENoIRNwFgAYkgACAAgAO4O34AACFjOi/ke7Sv////v/kEXf/zn/6F3lgdmZ3+HaAQFCjnWvreKJl9cx/9FH2Dnfynro/T/9qv//Xd/t7tb/mQAHHBd5BybWb379TLf1f/7EMQ4gAOcAROghEuAb4BivACIAK+kv+r9SuL60U6dN9X/7OytiQB9RMALwCAB1MVot/9t////U711uu/e31LfV/9XNm40u4Qrq6qiO6EAAJZzs5vuMlrnPl/P+v/15f/6f6/RbKuT//sQxEWABGwBFeAEQACagGJ0EIgApdxptoH3C2lokJXH3Cn/fH6XhEFBAI1nkABwcFGAAAAal/us9Xv///////7///+jItem//8XXUeggAKUwKtTTKJfbbGeq3/Z/+hf/emu1g59Cf//+xDESgAEFAERoARAANycYbwQiXj/frdSIFL//////2+y2Oteac20M2B6+i+7MPJ/+awKgYRE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";var Mf={exports:{}},v1;function kC(){return v1||(v1=1,function(e){const n={};n.generateIdentifier=function(){return Math.random().toString(36).substring(2,12)},n.localCName=n.generateIdentifier(),n.splitLines=function(t){return t.trim().split(` `).map(i=>i.trim())},n.splitSections=function(t){return t.split(` m=`).map((o,a)=>(a>0?"m="+o:o).trim()+`\r `)},n.getDescription=function(t){const i=n.splitSections(t);return i&&i[0]},n.getMediaSections=function(t){const i=n.splitSections(t);return i.shift(),i},n.matchPrefix=function(t,i){return n.splitLines(t).filter(o=>o.indexOf(i)===0)},n.parseCandidate=function(t){let i;t.indexOf("a=candidate:")===0?i=t.substring(12).split(" "):i=t.substring(10).split(" ");const o={foundation:i[0],component:{1:"rtp",2:"rtcp"}[i[1]]||i[1],protocol:i[2].toLowerCase(),priority:parseInt(i[3],10),ip:i[4],address:i[4],port:parseInt(i[5],10),type:i[7]};for(let a=8;a<i.length;a+=2)switch(i[a]){case"raddr":o.relatedAddress=i[a+1];break;case"rport":o.relatedPort=parseInt(i[a+1],10);break;case"tcptype":o.tcpType=i[a+1];break;case"ufrag":o.ufrag=i[a+1],o.usernameFragment=i[a+1];break;default:o[i[a]]===void 0&&(o[i[a]]=i[a+1]);break}return o},n.writeCandidate=function(t){const i=[];i.push(t.foundation);const o=t.component;o==="rtp"?i.push(1):o==="rtcp"?i.push(2):i.push(o),i.push(t.protocol.toUpperCase()),i.push(t.priority),i.push(t.address||t.ip),i.push(t.port);const a=t.type;return i.push("typ"),i.push(a),a!=="host"&&t.relatedAddress&&t.relatedPort&&(i.push("raddr"),i.push(t.relatedAddress),i.push("rport"),i.push(t.relatedPort)),t.tcpType&&t.protocol.toLowerCase()==="tcp"&&(i.push("tcptype"),i.push(t.tcpType)),(t.usernameFragment||t.ufrag)&&(i.push("ufrag"),i.push(t.usernameFragment||t.ufrag)),"candidate:"+i.join(" ")},n.parseIceOptions=function(t){return t.substring(14).split(" ")},n.parseRtpMap=function(t){let i=t.substring(9).split(" ");const o={payloadType:parseInt(i.shift(),10)};return i=i[0].split("/"),o.name=i[0],o.clockRate=parseInt(i[1],10),o.channels=i.length===3?parseInt(i[2],10):1,o.numChannels=o.channels,o},n.writeRtpMap=function(t){let i=t.payloadType;t.preferredPayloadType!==void 0&&(i=t.preferredPayloadType);const o=t.channels||t.numChannels||1;return"a=rtpmap:"+i+" "+t.name+"/"+t.clockRate+(o!==1?"/"+o:"")+`\r `},n.parseExtmap=function(t){const i=t.substring(9).split(" ");return{id:parseInt(i[0],10),direction:i[0].indexOf("/")>0?i[0].split("/")[1]:"sendrecv",uri:i[1],attributes:i.slice(2).join(" ")}},n.writeExtmap=function(t){return"a=extmap:"+(t.id||t.preferredId)+(t.direction&&t.direction!=="sendrecv"?"/"+t.direction:"")+" "+t.uri+(t.attributes?" "+t.attributes:"")+`\r `},n.parseFmtp=function(t){const i={};let o;const a=t.substring(t.indexOf(" ")+1).split(";");for(let r=0;r<a.length;r++)o=a[r].trim().split("="),i[o[0].trim()]=o[1];return i},n.writeFmtp=function(t){let i="",o=t.payloadType;if(t.preferredPayloadType!==void 0&&(o=t.preferredPayloadType),t.parameters&&Object.keys(t.parameters).length){const a=[];Object.keys(t.parameters).forEach(r=>{t.parameters[r]!==void 0?a.push(r+"="+t.parameters[r]):a.push(r)}),i+="a=fmtp:"+o+" "+a.join(";")+`\r `}return i},n.parseRtcpFb=function(t){const i=t.substring(t.indexOf(" ")+1).split(" ");return{type:i.shift(),parameter:i.join(" ")}},n.writeRtcpFb=function(t){let i="",o=t.payloadType;return t.preferredPayloadType!==void 0&&(o=t.preferredPayloadType),t.rtcpFeedback&&t.rtcpFeedback.length&&t.rtcpFeedback.forEach(a=>{i+="a=rtcp-fb:"+o+" "+a.type+(a.parameter&&a.parameter.length?" "+a.parameter:"")+`\r `}),i},n.parseSsrcMedia=function(t){const i=t.indexOf(" "),o={ssrc:parseInt(t.substring(7,i),10)},a=t.indexOf(":",i);return a>-1?(o.attribute=t.substring(i+1,a),o.value=t.substring(a+1)):o.attribute=t.substring(i+1),o},n.parseSsrcGroup=function(t){const i=t.substring(13).split(" ");return{semantics:i.shift(),ssrcs:i.map(o=>parseInt(o,10))}},n.getMid=function(t){const i=n.matchPrefix(t,"a=mid:")[0];if(i)return i.substring(6)},n.parseFingerprint=function(t){const i=t.substring(14).split(" ");return{algorithm:i[0].toLowerCase(),value:i[1].toUpperCase()}},n.getDtlsParameters=function(t,i){return{role:"auto",fingerprints:n.matchPrefix(t+i,"a=fingerprint:").map(n.parseFingerprint)}},n.writeDtlsParameters=function(t,i){let o="a=setup:"+i+`\r `;return t.fingerprints.forEach(a=>{o+="a=fingerprint:"+a.algorithm+" "+a.value+`\r `}),o},n.parseCryptoLine=function(t){const i=t.substring(9).split(" ");return{tag:parseInt(i[0],10),cryptoSuite:i[1],keyParams:i[2],sessionParams:i.slice(3)}},n.writeCryptoLine=function(t){return"a=crypto:"+t.tag+" "+t.cryptoSuite+" "+(typeof t.keyParams=="object"?n.writeCryptoKeyParams(t.keyParams):t.keyParams)+(t.sessionParams?" "+t.sessionParams.join(" "):"")+`\r `},n.parseCryptoKeyParams=function(t){if(t.indexOf("inline:")!==0)return null;const i=t.substring(7).split("|");return{keyMethod:"inline",keySalt:i[0],lifeTime:i[1],mkiValue:i[2]?i[2].split(":")[0]:void 0,mkiLength:i[2]?i[2].split(":")[1]:void 0}},n.writeCryptoKeyParams=function(t){return t.keyMethod+":"+t.keySalt+(t.lifeTime?"|"+t.lifeTime:"")+(t.mkiValue&&t.mkiLength?"|"+t.mkiValue+":"+t.mkiLength:"")},n.getCryptoParameters=function(t,i){return n.matchPrefix(t+i,"a=crypto:").map(n.parseCryptoLine)},n.getIceParameters=function(t,i){const o=n.matchPrefix(t+i,"a=ice-ufrag:")[0],a=n.matchPrefix(t+i,"a=ice-pwd:")[0];return o&&a?{usernameFragment:o.substring(12),password:a.substring(10)}:null},n.writeIceParameters=function(t){let i="a=ice-ufrag:"+t.usernameFragment+`\r a=ice-pwd:`+t.password+`\r `;return t.iceLite&&(i+=`a=ice-lite\r `),i},n.parseRtpParameters=function(t){const i={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},a=n.splitLines(t)[0].split(" ");i.profile=a[2];for(let s=3;s<a.length;s++){const l=a[s],c=n.matchPrefix(t,"a=rtpmap:"+l+" ")[0];if(c){const u=n.parseRtpMap(c),f=n.matchPrefix(t,"a=fmtp:"+l+" ");switch(u.parameters=f.length?n.parseFmtp(f[0]):{},u.rtcpFeedback=n.matchPrefix(t,"a=rtcp-fb:"+l+" ").map(n.parseRtcpFb),i.codecs.push(u),u.name.toUpperCase()){case"RED":case"ULPFEC":i.fecMechanisms.push(u.name.toUpperCase());break}}}n.matchPrefix(t,"a=extmap:").forEach(s=>{i.headerExtensions.push(n.parseExtmap(s))});const r=n.matchPrefix(t,"a=rtcp-fb:* ").map(n.parseRtcpFb);return i.codecs.forEach(s=>{r.forEach(l=>{s.rtcpFeedback.find(u=>u.type===l.type&&u.parameter===l.parameter)||s.rtcpFeedback.push(l)})}),i},n.writeRtpDescription=function(t,i){let o="";o+="m="+t+" ",o+=i.codecs.length>0?"9":"0",o+=" "+(i.profile||"UDP/TLS/RTP/SAVPF")+" ",o+=i.codecs.map(r=>r.preferredPayloadType!==void 0?r.preferredPayloadType:r.payloadType).join(" ")+`\r `,o+=`c=IN IP4 0.0.0.0\r `,o+=`a=rtcp:9 IN IP4 0.0.0.0\r `,i.codecs.forEach(r=>{o+=n.writeRtpMap(r),o+=n.writeFmtp(r),o+=n.writeRtcpFb(r)});let a=0;return i.codecs.forEach(r=>{r.maxptime>a&&(a=r.maxptime)}),a>0&&(o+="a=maxptime:"+a+`\r `),i.headerExtensions&&i.headerExtensions.forEach(r=>{o+=n.writeExtmap(r)}),o},n.parseRtpEncodingParameters=function(t){const i=[],o=n.parseRtpParameters(t),a=o.fecMechanisms.indexOf("RED")!==-1,r=o.fecMechanisms.indexOf("ULPFEC")!==-1,s=n.matchPrefix(t,"a=ssrc:").map(d=>n.parseSsrcMedia(d)).filter(d=>d.attribute==="cname"),l=s.length>0&&s[0].ssrc;let c;const u=n.matchPrefix(t,"a=ssrc-group:FID").map(d=>d.substring(17).split(" ").map(h=>parseInt(h,10)));u.length>0&&u[0].length>1&&u[0][0]===l&&(c=u[0][1]),o.codecs.forEach(d=>{if(d.name.toUpperCase()==="RTX"&&d.parameters.apt){let p={ssrc:l,codecPayloadType:parseInt(d.parameters.apt,10)};l&&c&&(p.rtx={ssrc:c}),i.push(p),a&&(p=JSON.parse(JSON.stringify(p)),p.fec={ssrc:l,mechanism:r?"red+ulpfec":"red"},i.push(p))}}),i.length===0&&l&&i.push({ssrc:l});let f=n.matchPrefix(t,"b=");return f.length&&(f[0].indexOf("b=TIAS:")===0?f=parseInt(f[0].substring(7),10):f[0].indexOf("b=AS:")===0?f=parseInt(f[0].substring(5),10)*1e3*.95-50*40*8:f=void 0,i.forEach(d=>{d.maxBitrate=f})),i},n.parseRtcpParameters=function(t){const i={},o=n.matchPrefix(t,"a=ssrc:").map(s=>n.parseSsrcMedia(s)).filter(s=>s.attribute==="cname")[0];o&&(i.cname=o.value,i.ssrc=o.ssrc);const a=n.matchPrefix(t,"a=rtcp-rsize");i.reducedSize=a.length>0,i.compound=a.length===0;const r=n.matchPrefix(t,"a=rtcp-mux");return i.mux=r.length>0,i},n.writeRtcpParameters=function(t){let i="";return t.reducedSize&&(i+=`a=rtcp-rsize\r `),t.mux&&(i+=`a=rtcp-mux\r `),t.ssrc!==void 0&&t.cname&&(i+="a=ssrc:"+t.ssrc+" cname:"+t.cname+`\r `),i},n.parseMsid=function(t){let i;const o=n.matchPrefix(t,"a=msid:");if(o.length===1)return i=o[0].substring(7).split(" "),{stream:i[0],track:i[1]};const a=n.matchPrefix(t,"a=ssrc:").map(r=>n.parseSsrcMedia(r)).filter(r=>r.attribute==="msid");if(a.length>0)return i=a[0].value.split(" "),{stream:i[0],track:i[1]}},n.parseSctpDescription=function(t){const i=n.parseMLine(t),o=n.matchPrefix(t,"a=max-message-size:");let a;o.length>0&&(a=parseInt(o[0].substring(19),10)),isNaN(a)&&(a=65536);const r=n.matchPrefix(t,"a=sctp-port:");if(r.length>0)return{port:parseInt(r[0].substring(12),10),protocol:i.fmt,maxMessageSize:a};const s=n.matchPrefix(t,"a=sctpmap:");if(s.length>0){const l=s[0].substring(10).split(" ");return{port:parseInt(l[0],10),protocol:l[1],maxMessageSize:a}}},n.writeSctpDescription=function(t,i){let o=[];return t.protocol!=="DTLS/SCTP"?o=["m="+t.kind+" 9 "+t.protocol+" "+i.protocol+`\r `,`c=IN IP4 0.0.0.0\r `,"a=sctp-port:"+i.port+`\r `]:o=["m="+t.kind+" 9 "+t.protocol+" "+i.port+`\r `,`c=IN IP4 0.0.0.0\r `,"a=sctpmap:"+i.port+" "+i.protocol+` 65535\r `],i.maxMessageSize!==void 0&&o.push("a=max-message-size:"+i.maxMessageSize+`\r `),o.join("")},n.generateSessionId=function(){return Math.random().toString().substr(2,22)},n.writeSessionBoilerplate=function(t,i,o){let a;const r=i!==void 0?i:2;return t?a=t:a=n.generateSessionId(),`v=0\r o=`+(o||"thisisadapterortc")+" "+a+" "+r+` IN IP4 127.0.0.1\r s=-\r t=0 0\r `},n.getDirection=function(t,i){const o=n.splitLines(t);for(let a=0;a<o.length;a++)switch(o[a]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return o[a].substring(2)}return i?n.getDirection(i):"sendrecv"},n.getKind=function(t){return n.splitLines(t)[0].split(" ")[0].substring(2)},n.isRejected=function(t){return t.split(" ",2)[1]==="0"},n.parseMLine=function(t){const o=n.splitLines(t)[0].substring(2).split(" ");return{kind:o[0],port:parseInt(o[1],10),protocol:o[2],fmt:o.slice(3).join(" ")}},n.parseOLine=function(t){const o=n.matchPrefix(t,"o=")[0].substring(2).split(" ");return{username:o[0],sessionId:o[1],sessionVersion:parseInt(o[2],10),netType:o[3],addressType:o[4],address:o[5]}},n.isValidSDP=function(t){if(typeof t!="string"||t.length===0)return!1;const i=n.splitLines(t);for(let o=0;o<i.length;o++)if(i[o].length<2||i[o].charAt(1)!=="=")return!1;return!0},e.exports=n}(Mf)),Mf.exports}var Cs=kC();const xC=e=>n=>new Qe(t=>(e(),n.subscribe(t))),RC=(e,n)=>t=>new Qe(i=>{let o=0,a=[];const r=[e.subscribe(()=>{o+=1}),n.subscribe(()=>{o-=1,o===0&&(a.forEach(s=>i.next(s)),a=[])}),t.subscribe({next:s=>{o>0?a.push(s):i.next(s)},error:s=>i.error(s),complete:()=>i.complete()})];return()=>{r.forEach(s=>s.unsubscribe())}});function NC(e){const n=new RegExp("a=rtpmap:(\\d+) [a-zA-Z0-9-]+\\/\\d+"),t=e.match(n);return t&&t.length===2?t[1]:null}function LC(e,n){const t=e.split(" "),i=t.slice(0,3);i.push(n);for(let o=3;o<t.length;o++)t[o]!==n&&i.push(t[o]);return i.join(" ")}function PC(e,n,t,i,o){const a=e.length;for(let r=n;r<a;++r)if(e[r].indexOf(i)===0&&(!o||e[r].toLowerCase().indexOf(o.toLowerCase())!==-1))return r;return null}function y1(e,n,t){return PC(e,0,-1,n,t)}function DC(e,n){const t=y1(e,"a=rtpmap",n);return t?NC(e[t]):null}function FC(e,n,t){if(!t)return e;const i=e.split(`\r `),o=y1(i,"m=",n);if(o===null)return e;const a=DC(i,t);return a&&(i[o]=LC(i[o],a)),e=i.join(`\r `),e}function BC(e,n){return n?e:e.replace("sendrecv","sendonly")}function A1(e){e.getAudioTracks().forEach(n=>n.stop()),e.getVideoTracks().forEach(n=>n.stop())}function _s(e,n,t){const{peerConnection:i}=e,o=a=>{e.localStream=a,a.getTracks().forEach(r=>{r.kind==="video"?t&&r.readyState==="live"&&(e.video=i.addTrack(r,a)):n&&r.readyState==="live"&&(r.enabled=!e.isMuted,e.audio=i.addTrack(r,a))}),e.audio&&e.audio.dtmf&&(e.toneSend$=xo(e.audio.dtmf,"tonechange").pipe(mc((r,s)=>r+s.tone,"")))};if(e.localStream){t||e.localStream.getVideoTracks().forEach(s=>s.stop()),n||e.localStream.getAudioTracks().forEach(s=>s.stop());const a=e.localStream.getVideoTracks().some(s=>s.readyState==="live"),r=e.localStream.getAudioTracks().some(s=>s.readyState==="live");if((!t||t&&a)&&(!n||n&&r))return o(e.localStream),Ke(e.localStream);A1(e.localStream)}return Dt(navigator.mediaDevices.getUserMedia({audio:n,video:t})).pipe(fn(a=>(console.log(a),Dt(navigator.mediaDevices.getUserMedia({audio:n,video:!1})))),Ci(o))}function If(e){function n(t){t.peerConnection&&t.peerConnection.close(),t.audio=void 0,t.isVideoReceived=!1,t.toneSend$=tn,t.video=void 0,t.remoteStream$.next(null)}return n(e),e.peerConnection=new RTCPeerConnection({}),e.peerConnection.ontrack=t=>e.remoteStream$.next(t.streams[0]),e.peerConnection}function w1(e,n){let t=!1,i=!1;return e&&Cs.splitSections(e).filter(o=>n.indexOf(Cs.getDirection(o))>=0&&!Cs.isRejected(o)).map(o=>Cs.getKind(o)).forEach(o=>{o==="video"?i=!0:o==="audio"&&(t=!0)}),[t,i]}function Tf(e){return w1(e,["sendrecv","recvonly"])}function qC(e){return w1(e,["sendrecv","sendonly"])}function C1(e,n){return Dt(e.setRemoteDescription(n))}function Es(e){e&&(e.localStream&&A1(e.localStream),e.peerConnection&&e.peerConnection.close(),e.isVideoCall=!1)}class UC{constructor(n){_(this,"mediaDevice$");_(this,"lastOutgoingMedia");_(this,"globalTransactionId",0);_(this,"forcedEmit",new To(!0));_(this,"suspendStream",new Te);_(this,"resumeStream",new Te);_(this,"webRtcCodecs",[]);this.myPhoneService=n;const t=this.myPhoneService.mySession$.pipe(we(i=>i.webRTCEndpoint$),vc(new Si),RC(this.suspendStream,this.resumeStream));this.mediaDevice$=vy([t,this.forcedEmit]).pipe(mc((i,o)=>{const a=i,[r]=o,s=r.Items.reduce((f,d)=>(f[d.Id]=d,f),{});this.lastOutgoingMedia&&s[this.lastOutgoingMedia.lastWebRTCState.Id]&&(a.push(this.lastOutgoingMedia),this.lastOutgoingMedia=void 0);const l=[];a.forEach(f=>{const d=s[f.lastWebRTCState.Id];if(!d)Es(f);else{const{lastWebRTCState:p}=f;f.lastWebRTCState={...d},!f.isActive&&d.holdState===Do.WebRTCHoldState_NOHOLD&&p.holdState===Do.WebRTCHoldState_HELD&&this.hold(f,!1).subscribe(),p.sdpType===d.sdpType&&p.sdp===d.sdp||this.processState(p.sdpType,f).subscribe(),delete s[d.Id],l.push(f)}});const c=Object.values(s).filter(f=>f.sdpType===st.WRTCOffer||f.sdpType===st.WRTCRequestForOffer).map(f=>new Sf({lastWebRTCState:{...f}}));return l.concat(c)},[]),Af())}setWebRtcCodecs(n){this.webRtcCodecs=n}setLocalDescription(n,t,i){return i&&this.webRtcCodecs&&this.webRtcCodecs.length>0&&this.webRtcCodecs.slice().reverse().forEach(o=>{t.sdp&&(t.sdp=FC(t.sdp,"audio",o))}),Dt(n.setLocalDescription(t)).pipe(we(()=>xo(n,"icegatheringstatechange")),Cn(()=>n.iceGatheringState==="complete"),Fn(1))}processState(n,t){switch(t.lastWebRTCState.sdpType){case st.WRTCAnswerProvided:return this.processAnswerProvided(n,t);case st.WRTCOffer:return this.processOffer(t);case st.WRTCRequestForOffer:return this.processRequestForOffer(t);case st.WRTCConfirmed:this.processConfirmed(t);break}return tn}processConfirmed(n){if(n.isNegotiationInProgress=!1,n.peerConnection.remoteDescription){const[t,i]=qC(n.peerConnection.remoteDescription.sdp);n.isVideoReceived=i}}processAnswerProvided(n,t){const i=t.lastWebRTCState;if(n===st.WRTCConfirmed)return this.setConfirmed(i.Id);const[o,a]=Tf(t.lastWebRTCState.sdp);return!a&&t.video&&(t.localStream&&t.localStream.getVideoTracks().forEach(r=>r.stop()),t.video=void 0),C1(t.peerConnection,{type:"answer",sdp:i.sdp}).pipe(we(()=>this.setConfirmed(i.Id)))}setConfirmed(n){return this.requestChangeState({Id:n,sdpType:st.WRTCConfirm})}processOffer(n){const[t,i]=Tf(n.lastWebRTCState.sdp);return!n.isVideoCall&&i&&window.confirm("Enable video in a call?")&&(n.isVideoCall=!0),this.processAnswer(n)}processRequestForOffer(n){return this.processAnswer(n)}getLastOutgoingMedia(){const n=this.lastOutgoingMedia;return this.lastOutgoingMedia=void 0,n}holdAll(n){return this.mediaDevice$.pipe(Fn(1),yt(t=>t.filter(i=>i.lastWebRTCState.Id!==n)),we(t=>t.length?xy(...t.map(i=>this.hold(i,!1))):Ke([])))}dropCall(n){return this.requestChangeState(new Uc({Id:n,sdpType:st.WRTCTerminate}))}makeCall(n,t){const i=new Sf({lastWebRTCState:new qc({sdpType:st.WRTCInitial,holdState:Do.WebRTCHoldState_NOHOLD})});i.isActive=!0,i.isNegotiationInProgress=!0,i.isVideoCall=t;const o=If(i);return this.holdAll().pipe(we(()=>_s(i,!0,t)),we(a=>Dt(o.createOffer({offerToReceiveAudio:!0,offerToReceiveVideo:t}))),we(a=>this.setLocalDescription(o,a,!0)),we(()=>o.localDescription&&o.localDescription.sdp?this.requestChangeState({Id:0,sdpType:st.WRTCOffer,destinationNumber:n,transactionId:this.globalTransactionId++,sdp:o.localDescription.sdp},!0):Ze(()=>"Local sdp missing")),Ci(a=>{i.lastWebRTCState=new qc({Id:a.CallId,sdpType:st.WRTCInitial}),this.lastOutgoingMedia=i}),fn(a=>(Es(i),Ze(()=>a))))}answer(n,t){return n.isNegotiationInProgress?tn:(n.isActive=!0,n.isVideoCall=t,this.holdAll(n.lastWebRTCState.Id).pipe(we(()=>this.processAnswer(n))))}processAnswer(n){const t=n.lastWebRTCState,i=If(n);n.isActive||(n.isMuted=!0),n.isNegotiationInProgress=!0;let o,a;if(t.sdpType===st.WRTCOffer){if(!t.sdp)return Ze(()=>"Offer doesn't have sdp");const[r,s]=Tf(t.sdp);a=st.WRTCAnswer,o=_s(n,r,s&&n.isVideoCall).pipe(we(()=>C1(i,{type:"offer",sdp:t.sdp})),we(()=>Dt(i.createAnswer())),we(l=>this.setLocalDescription(i,l,!1)))}else if(t.sdpType===st.WRTCRequestForOffer){a=st.WRTCOffer;const r={offerToReceiveAudio:!0,offerToReceiveVideo:n.isVideoCall};o=_s(n,!0,n.isVideoCall).pipe(we(()=>Dt(i.createOffer(r))),we(s=>this.setLocalDescription(i,s,!0)))}else return n.isNegotiationInProgress=!1,Ze(()=>`Can't answer when state ${t.sdpType}`);return o.pipe(we(()=>i.localDescription&&i.localDescription.sdp?this.requestChangeState({Id:t.Id,sdpType:a,transactionId:t.transactionId,sdp:i.localDescription.sdp}):Ze(()=>"Local sdp missing")),fn(r=>(n.isNegotiationInProgress=!1,Ze(()=>r))))}sendDtmf(n,t){n.audio&&n.audio.dtmf&&n.audio.dtmf.insertDTMF(t,100,100)}video(n){return n.isVideoCall&&(!n.isVideoReceived||!n.isVideoSend)||(n.isVideoCall=!n.isVideoCall),this.renegotiate(n,!0)}mute(n){this.setMute(n,!n.isMuted)}setMute(n,t){n.isMuted=t,n.audio&&n.audio.track&&(n.audio.track.enabled=!t)}hold(n,t){n.isActive=t;const i=n.lastWebRTCState;return!t&&i.holdState!==Do.WebRTCHoldState_NOHOLD||t&&i.holdState!==Do.WebRTCHoldState_HOLD?Ke(!0):(this.setMute(n,!t),this.renegotiate(n,t))}renegotiate(n,t){if(n.isNegotiationInProgress)return Ke(!0);const i=n.lastWebRTCState;n.isNegotiationInProgress=!0,this.forcedEmit.next(!0);const o=If(n);let a=Ke(!0);return t&&(a=this.holdAll(n.lastWebRTCState.Id)),a.pipe(we(()=>_s(n,!0,t?n.isVideoCall:!1)),we(()=>Dt(o.createOffer({offerToReceiveAudio:t,offerToReceiveVideo:t&&n.isVideoCall}))),we(r=>this.setLocalDescription(o,r,!0)),we(()=>o.localDescription&&o.localDescription.sdp?this.requestChangeState({Id:i.Id,sdpType:st.WRTCOffer,transactionId:this.globalTransactionId++,sdp:BC(o.localDescription.sdp,t)}):Ze(()=>"Local sdp missing")),fn(r=>(n.isNegotiationInProgress=!1,this.forcedEmit.next(!0),Ze(()=>r))))}requestChangeState(n,t){const i=this.myPhoneService.get(new Uc(n));return ay(i)?t?i.pipe(xC(()=>this.suspendStream.next()),we(o=>o!=null&&o.Success?Ke(o):Ze(()=>o==null?void 0:o.Message)),By(()=>this.resumeStream.next())):i.pipe(we(o=>o!=null&&o.Success?Ke(o):Ze(()=>o==null?void 0:o.Message))):Ze(()=>"Invalid channel setup")}}class _1{constructor(n){_(this,"isTryingCall",!1);_(this,"isEstablished",!1);_(this,"media",ro);Object.assign(this,n)}}function $C(e,n){const t=e.find(i=>i.media.lastWebRTCState.Id===n.lastWebRTCState.Id);return t?t.isEstablished?!0:n.lastWebRTCState.sdpType===st.WRTCConfirmed:!1}class jC{constructor(n){_(this,"callControl$",new Te);_(this,"myCalls$");_(this,"soundToPlay$");this.webrtcService=n,this.myCalls$=pc(this.webrtcService.mediaDevice$,this.callControl$).pipe(mc((t,i)=>{if(i==="removeTryingCall")return t.filter(r=>!r.isTryingCall);if(i==="requestTryingCall")return t.concat([new _1({isTryingCall:!0,media:ro})]);const o=i.map(r=>new _1({media:r,isEstablished:$C(t,r)})),a=t.find(r=>r.isTryingCall);return a&&o.length===0&&o.push(a),o},[]),Uy(1)),this.soundToPlay$=this.myCalls$.pipe(yt(t=>{if(t.length===0)return;const i=t[0];if(i.isEstablished)return;if(i.isTryingCall)return b1;const o=i.media.lastWebRTCState.sdpType;return o===st.WRTCOffer||o===st.WRTCProcessingOffer?b1:void 0}))}call$(n,t){return this.callControl$.next("requestTryingCall"),this.webrtcService.makeCall("",t||!1).pipe(fn(i=>(Es(this.webrtcService.getLastOutgoingMedia()),this.callControl$.next("removeTryingCall"),i.name==="Empty Session"?tn:Ze(()=>i))))}}const E1=(e,n)=>{n.add(e.phoneService.soundToPlay$.subscribe(t=>{e.audioNotificationUrl.value=t})),n.add(e.remoteStream$.subscribe(t=>{e.remoteStream.value=t,e.videoOnlyRemoteStream.value=e.videoOnly(t)})),n.add(e.phoneService.myCalls$.subscribe(t=>{e.hasCall.value=t.length>0,e.hasTryingCall.value=e.hasCall.value&&t[0].isTryingCall,e.hasEstablishedCall.value=e.hasCall.value&&t[0].isEstablished,e.media=t.length?t[0].media:ro,e.media.isVideoCall&&e.media.isVideoSend||e.media.isVideoReceived?e.isVideoActive.value=!0:e.isVideoActive.value=!1,e.media?(e.videoOnlyLocalStream.value=e.videoOnly(e.media.localStream),e.videoCallInProcess$.next(!0)):e.videoOnlyLocalStream.value=null})),e.addFullScreenListener()};class S1{constructor(n,t=!1){_(this,"hasTryingCall",Z(!1));_(this,"isFullScreen",Z(!1));_(this,"hasEstablishedCall",Z(!1));_(this,"videoContainer");_(this,"webRTCControlService");_(this,"phoneService");_(this,"media",ro);_(this,"videoOnlyLocalStream",Z(null));_(this,"remoteStream",Z(null));_(this,"videoOnlyRemoteStream",Z(null));_(this,"audioNotificationUrl",Z(null));_(this,"hasCall",Z(!1));_(this,"isVideoActive",Z(!1));_(this,"hasRecall",Z(!1));_(this,"hadCall",Z(!1));_(this,"callDrop",Z(!1));_(this,"remoteStream$");_(this,"videoCallInProcess$",new Te);_(this,"onFullScreenChange",()=>{this.isFullScreen.value=!!this.isFullscreenActive()});_(this,"onFullScreenChangeON",()=>{this.isFullScreen.value=!0});_(this,"onFullScreenChangeOFF",()=>{this.isFullScreen.value=!1});this.myChatService=n,this.demo=t,this.webRTCControlService=new UC(this.myChatService),this.phoneService=new jC(this.webRTCControlService),this.remoteStream$=this.phoneService.myCalls$.pipe(yt(i=>i.length>0?i[0].media:ro),we(i=>i.remoteStream$))}videoOnly(n){if(!n)return null;const t=n.getVideoTracks();return t.length===0?null:new MediaStream(t)}mute(){this.webRTCControlService.mute(this.media)}call(n){return this.demo?tn:(this.hadCall.value=!0,this.callDrop.value=!1,this.hasRecall.value=!1,this.phoneService.call$("",n||!1))}dropCall(){return this.media?(this.callDrop.value=!0,this.hasRecall.value=!1,this.webRTCControlService.dropCall(this.media.lastWebRTCState.Id)):Ze(()=>"No media initialized")}removeDroppedCall(){return this.hasCall.value=!1,this.hasRecall.value=!1,Es(this.media)}clearCallMemo(){this.hadCall.value=!1}isFullscreenSupported(){const n=document;return!!(n.fullscreenEnabled||n.webkitFullscreenEnabled||n.mozFullScreenEnabled||n.msFullscreenEnabled)}addFullScreenListener(){document.addEventListener("fullscreenchange",this.onFullScreenChange),document.addEventListener("webkitfullscreenchange",this.onFullScreenChange),document.addEventListener("mozfullscreenchange",this.onFullScreenChange),document.addEventListener("MSFullscreenChange",this.onFullScreenChange),this.videoContainer&&(this.videoContainer.addEventListener("webkitbeginfullscreen",this.onFullScreenChangeON),this.videoContainer.addEventListener("webkitendfullscreen",this.onFullScreenChangeOFF))}removeFullScreenListeners(){document.removeEventListener("fullscreenchange",this.onFullScreenChange),document.removeEventListener("webkitfullscreenchange",this.onFullScreenChange),document.removeEventListener("mozfullscreenchange",this.onFullScreenChange),document.removeEventListener("MSFullscreenChange",this.onFullScreenChange),this.videoContainer&&(this.videoContainer.removeEventListener("webkitbeginfullscreen",this.onFullScreenChangeON),this.videoContainer.removeEventListener("webkitendfullscreen",this.onFullScreenChangeOFF))}isFullscreenActive(){const n=document;return n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement||null}goFullScreen(){if(this.isFullScreen.value)return;const n=this.videoContainer;try{n!=null&&this.isFullscreenSupported()?n.requestFullscreen?n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen&&n.msRequestFullscreen():Fa("fullscreen is not supported")}catch(t){Fa(t)}}removeFullscreen(){if(this.isFullScreen.value)try{document.exitFullscreen?document.exitFullscreen().catch(n=>console.error(n)):document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}catch(n){console.log(n)}}}function zC(e){try{return JSON.parse(e)}catch{return""}}function M1(e,n){const t=[VC,T1,k1,O1,N1,R1,x1,R4];return[I1(n),...t.map(i=>i(e))]}function Of(e,n){const t=[HC,T1,WC,O1,k1,YC,GC,QC,KC,ZC,x1,JC,R1,XC,e4,t4,n4,i4,S4,M4,o4,a4,r4,s4,p4,l4,u4,c4,f4,d4,h4,m4,v4,g4,b4,y4,A4,w4,C4,N1,_4,E4,I4,T4,O4,k4,x4];return[I1(n),...t.map(i=>i(e))]}const xi=(e=!1)=>{const t=[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some(o=>navigator.userAgent.match(o)),i=window.innerWidth<600||window.innerHeight<600;return e?t&&i:t||i};function I1(e){return{name:"phonesystem-url",value:`${e}`}}function VC(e){return{name:"style",value:`position: fixed; right: 20px; bottom: 20px; justify-content: flex-end; flex-direction: column; display: flex; z-index: 99999; --call-us-form-header-background:#373737; --call-us-main-button-background:#0596d4; --call-us-form-width:330px;`}}function T1(e){return{name:"id",value:"wp-live-chat-by-3CX"}}function HC(e){var r,s,l,c,u,f,d,p;const n=xi();let t=`${(r=e.Styling)!=null&&r.UseRubik?"font-family:Rubik;":""}position:fixed;font-size:16px;line-height:17px;z-index: 99999;`;if((s=e.Styling)!=null&&s.Style){const h=zC((l=e.Styling)==null?void 0:l.Style);t+=`--call-us-main-accent-color:${h.mainAccent||h.callUsFormHeaderBackground||"#0596D4"};`,t+=`--call-us-main-background-color:${h.mainBackground||"#FFFFFF"};`,t+=`--call-us-plate-background-color:${h.plateBackground||"#494949"};`,t+=`--call-us-plate-font-color:${h.plateFont||"#ffffff"};`,t+=`--call-us-main-font-color:${h.mainFont||"#000000"};`,t+=`--call-us-agent-bubble-color:${h.mainFont||"#333333"}10;`}const i=window.matchMedia("(orientation: landscape)").matches,o=window.innerWidth<600||i&&window.innerHeight<600;let a="20px";return(c=e.ChatBox)!=null&&c.MinimizedStyle?(n&&o&&(a="0"),((u=e.ChatBox)==null?void 0:u.MinimizedStyle)==="BubbleLeft"&&(t+=`left: ${a}; bottom: 200px;`),((f=e.ChatBox)==null?void 0:f.MinimizedStyle)==="BubbleRight"&&(t+=`right: ${a}; bottom: 200px;`),((d=e.ChatBox)==null?void 0:d.MinimizedStyle)==="BottomLeft"&&(t+=`left: ${a}; bottom: 20px;`),((p=e.ChatBox)==null?void 0:p.MinimizedStyle)==="BottomRight"&&(t+=`right: ${a}; bottom: ${a};`)):t+=`right: ${a}; bottom: ${a};`,{name:"style",value:`${t}`}}function WC(e){var n,t;return((n=e.Styling)==null?void 0:n.Minimized)!=null?{name:"minimized",value:`${(t=e.Styling)==null?void 0:t.Minimized}`}:null}function O1(e){var n;return(n=e.Styling)!=null&&n.Animation?{name:"animation-style",value:`${e.Styling.Animation.toLowerCase()}`}:null}function k1(e){return{name:"party",value:`${e.Link??""}`}}function YC(e){var n,t;if((n=e.ChatBox)!=null&&n.MinimizedStyle)switch((t=e.ChatBox)==null?void 0:t.MinimizedStyle){case"BottomRight":case"BubbleRight":return{name:"minimized-style",value:"bubbleright"};case"BottomLeft":case"BubbleLeft":return{name:"minimized-style",value:"bubbleleft"}}return null}function GC(e){var n,t;return((n=e.Advanced)==null?void 0:n.CommunicationOptions)==="VideoPhoneAndChat"?{name:"allow-call",value:"true"}:((t=e.Advanced)==null?void 0:t.CommunicationOptions)==="PhoneAndChat"?{name:"allow-call",value:"true"}:{name:"allow-call",value:"false"}}function QC(e){return{name:"allow-video",value:"false"}}function KC(e){var n,t;return((n=e.General)==null?void 0:n.AllowSoundNotifications)!=null?{name:"allow-soundnotifications",value:`${(t=e.General)==null?void 0:t.AllowSoundNotifications}`}:null}function ZC(e){var n;return{name:"enable-mute",value:`${((n=e.General)==null?void 0:n.AllowSoundNotifications)??!1}`}}function x1(e){var n,t;return((n=e.General)==null?void 0:n.EnableOnMobile)!=null?{name:"enable-onmobile",value:`${(t=e.General)==null?void 0:t.EnableOnMobile}`}:null}function JC(e){var n,t;return((n=e.General)==null?void 0:n.DisableOfflineMessages)!=null?{name:"offline-enabled",value:`${!((t=e.General)!=null&&t.DisableOfflineMessages)}`}:null}function R1(e){return{name:"enable",value:"true"}}function XC(e){var n,t;return((n=e.Advanced)==null?void 0:n.IgnoreQueueOwnership)!=null?{name:"ignore-queueownership",value:`${(t=e.Advanced)==null?void 0:t.IgnoreQueueOwnership}`}:null}function e4(e){var n,t;return(n=e.General)!=null&&n.Authentication?{name:"authentication",value:`${(t=e.General)==null?void 0:t.Authentication.toLowerCase()}`}:null}function t4(e){var n,t;return(n=e.ChatBox)!=null&&n.OperatorName?{name:"operator-name",value:`${(t=e.ChatBox)==null?void 0:t.OperatorName}`}:null}function n4(e){var n,t;return((n=e.ChatBox)==null?void 0:n.ShowOperatorActualName)!=null?{name:"show-operator-actual-name",value:`${(t=e.ChatBox)==null?void 0:t.ShowOperatorActualName}`}:null}function i4(e){return{name:"aknowledge-received",value:"true"}}function o4(e){var n;return((n=e.General)==null?void 0:n.GdprEnabled)!=null?{name:"gdpr-enabled",value:`${e.General.GdprEnabled}`}:null}function a4(e){var n;return(n=e.Translations)!=null&&n.GdprMessage?{name:"gdpr-message",value:`${e.Translations.GdprMessage}`}:null}function r4(e){var n,t;return(n=e.ChatBox)!=null&&n.LiveMessageUserinfoFormat?{name:"message-userinfo-format",value:`${(t=e.ChatBox)==null?void 0:t.LiveMessageUserinfoFormat.toLowerCase()}`}:null}function s4(e){var n,t;return(n=e.ChatBox)!=null&&n.MessageDateformat?{name:"message-dateformat",value:`${(t=e.ChatBox)==null?void 0:t.MessageDateformat.toLowerCase()}`}:null}function l4(e){var n;return(n=e.Translations)!=null&&n.WindowTitle?{name:"window-title",value:`${e.Translations.WindowTitle}`}:null}function c4(e){var n,t;return(n=e.ChatBox)!=null&&n.ButtonIconType?{name:"button-icon-type",value:`${(t=e.ChatBox)==null?void 0:t.ButtonIconType.toLowerCase()}`}:null}function f4(e){var n,t,i;return(n=e.ChatBox)!=null&&n.ButtonIconUrl&&((t=e.ChatBox)==null?void 0:t.ButtonIconType)==="Url"?{name:"button-icon",value:`${(i=e.ChatBox)==null?void 0:i.ButtonIconUrl}`}:null}function u4(e){var n,t;return(n=e.ChatBox)!=null&&n.LiveChatLanguage?{name:"lang",value:`${(t=e.ChatBox)==null?void 0:t.LiveChatLanguage}`}:null}function d4(e){var n,t;return(n=e.Translations)!=null&&n.InviteMessage?{name:"invite-message",value:`${(t=e.Translations)==null?void 0:t.InviteMessage}`}:null}function h4(e){var n,t;return(n=e.Translations)!=null&&n.AuthenticationMessage?{name:"authentication-message",value:`${(t=e.Translations)==null?void 0:t.AuthenticationMessage}`}:null}function p4(e){var n,t;return(n=e.Translations)!=null&&n.StartChatButtonText?{name:"start-chat-button-text",value:`${(t=e.Translations)==null?void 0:t.StartChatButtonText}`}:null}function m4(e){var n;return(n=e.Translations)!=null&&n.UnavailableMessage?{name:"unavailable-message",value:`${e.Translations.UnavailableMessage}`}:null}function g4(e){var n,t;return(n=e.Translations)!=null&&n.OfflineFinishMessage?{name:"offline-finish-message",value:`${(t=e.Translations)==null?void 0:t.OfflineFinishMessage}`}:null}function b4(e){var n,t;return(n=e.Translations)!=null&&n.EndingMessage?{name:"ending-message",value:`${(t=e.Translations)==null?void 0:t.EndingMessage}`}:null}function v4(e){var n;return(n=e.Translations)!=null&&n.FirstResponseMessage?{name:"first-response-message",value:`${e.Translations.FirstResponseMessage}`}:null}function y4(e){var n;return(n=e.Translations)!=null&&n.GreetingMessage?{name:"greeting-visibility",value:"both"}:{name:"greeting-visibility",value:"none"}}function A4(e){var n;return(n=e.Translations)!=null&&n.GreetingOfflineMessage?{name:"greeting-offline-visibility",value:"both"}:{name:"greeting-offline-visibility",value:"none"}}function w4(e){var n,t;return(n=e.Translations)!=null&&n.GreetingMessage?{name:"greeting-message",value:(t=e.Translations)==null?void 0:t.GreetingMessage}:null}function C4(e){var n,t;return(n=e.Translations)!=null&&n.GreetingOfflineMessage?{name:"greeting-offline-message",value:(t=e.Translations)==null?void 0:t.GreetingOfflineMessage}:null}function N1(e){var n;return(n=e.ChatBox)!=null&&n.ChatDelay?{name:"chat-delay",value:`${e.ChatBox.ChatDelay}`}:null}function _4(e){var n,t;return(n=e.Translations)!=null&&n.OfflineNameMessage?{name:"offline-name-message",value:`${(t=e.Translations)==null?void 0:t.OfflineNameMessage}`}:null}function E4(e){var n,t;return(n=e.Translations)!=null&&n.OfflineEmailMessage?{name:"offline-email-message",value:`${(t=e.Translations)==null?void 0:t.OfflineEmailMessage}`}:null}function S4(e){var n,t;return(n=e.ChatBox)!=null&&n.WindowIcon?{name:"window-icon",value:`${(t=e.ChatBox)==null?void 0:t.WindowIcon}`}:null}function M4(e){var n,t;return(n=e.ChatBox)!=null&&n.OperatorIcon?{name:"operator-icon",value:`${(t=e.ChatBox)==null?void 0:t.OperatorIcon}`}:null}function I4(e){var n,t;return(n=e.Translations)!=null&&n.OfflineFormInvalidName?{name:"offline-form-invalid-name",value:`${(t=e.Translations)==null?void 0:t.OfflineFormInvalidName}`}:null}function T4(e){var n,t;return(n=e.Translations)!=null&&n.OfflineFormMaximumCharactersReached?{name:"offline-form-maximum-characters-reached",value:`${(t=e.Translations)==null?void 0:t.OfflineFormMaximumCharactersReached}`}:null}function O4(e){var n,t;return(n=e.Translations)!=null&&n.OfflineFormInvalidEmail?{name:"offline-form-invalid-email",value:`${(t=e.Translations)==null?void 0:t.OfflineFormInvalidEmail}`}:null}function k4(e){var n;return{name:"enable-direct-call",value:`${((n=e.Advanced)==null?void 0:n.EnableDirectCall)??!1}`}}function x4(e){return{name:"enable-ga",value:"false"}}function R4(e){var n,t;return(n=e.Advanced)!=null&&n.CallTitle?{name:"call-title",value:`${(t=e.Advanced)==null?void 0:t.CallTitle}`}:null}const Ba={created(e,n){const t=e;t.srcObject=n.value},update:(e,n)=>{const t=e;t.srcObject!==n.value&&(t.srcObject=n.value)}},N4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"};function L4(e,n){return k(),B("svg",N4,n[0]||(n[0]=[H("path",{d:"m441.9 167.3-19.8-19.8c-4.7-4.7-12.3-4.7-17 0L224 328.2 42.9 147.5c-4.7-4.7-12.3-4.7-17 0L6.1 167.3c-4.7 4.7-4.7 12.3 0 17l209.4 209.4c4.7 4.7 12.3 4.7 17 0l209.4-209.4c4.7-4.7 4.7-12.3 0-17"},null,-1)]))}const L1={render:L4},P4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"};function D4(e,n){return k(),B("svg",P4,n[0]||(n[0]=[H("path",{d:"M20.9 17.6c-.9-.8-1.8-1.5-2.8-2.1-1-.7-1.3-.6-1.9.5l-.6.9c-.4.5-.9.4-1.4 0-2.3-1.6-4.4-3.6-6-5.9-.3-.6-.5-1-.2-1.4l1.2-.8c1-.6 1-.9.3-1.9S8 4.9 7.2 4c-.6-.7-1-.7-1.6-.1l-.9 1c-1.2.9-1.6 2.5-1 3.8 2 6.1 6.8 10.8 12.9 12.7 1 .4 2.1.2 3-.5l.6-.6.8-.7c.8-1 .8-1.3-.1-2"},null,-1)]))}const qa={render:D4},F4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function B4(e,n){return k(),B("svg",F4,n[0]||(n[0]=[H("path",{d:"M193.94 256 296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31z"},null,-1)]))}const P1={render:B4},q4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"};function U4(e,n){return k(),B("svg",q4,n[0]||(n[0]=[H("path",{d:"M13.722 12.067a.5.5 0 0 1-.069.623l-.963.963a.5.5 0 0 1-.622.068l-4.172-2.657-1.703 1.702a.5.5 0 0 1-.847-.275L4.108 4.68a.5.5 0 0 1 .572-.572l7.811 1.238a.5.5 0 0 1 .275.848l-1.702 1.702zm5.588 1.586a.5.5 0 0 0 .622.068l4.172-2.657 1.703 1.702a.5.5 0 0 0 .847-.275l1.238-7.811a.5.5 0 0 0-.572-.572l-7.81 1.238a.5.5 0 0 0-.275.848l1.702 1.702-2.658 4.171a.5.5 0 0 0 .069.623zm-6.62 4.694a.5.5 0 0 0-.623-.068l-4.17 2.657-1.704-1.702a.5.5 0 0 0-.847.275L4.108 27.32a.5.5 0 0 0 .572.572l7.811-1.238a.5.5 0 0 0 .275-.848l-1.702-1.702 2.658-4.171a.5.5 0 0 0-.069-.623zm13.117.887-1.703 1.702-4.171-2.657a.5.5 0 0 0-.623.068l-.963.963a.5.5 0 0 0-.069.623l2.658 4.171-1.702 1.702a.5.5 0 0 0 .275.848l7.811 1.238a.5.5 0 0 0 .572-.572l-1.238-7.811a.5.5 0 0 0-.847-.275"},null,-1)]))}const $4={render:U4},j4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"};function z4(e,n){return k(),B("svg",j4,n[0]||(n[0]=[H("path",{d:"M12.5 14c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3s-3 1.3-3 3v6c0 1.7 1.3 3 3 3m5.3-3c0 3-2.5 5.1-5.3 5.1S7.2 14 7.2 11H5.5c0 3.4 2.7 6.2 6 6.7V21h2v-3.3c3.3-.5 6-3.3 6-6.7z"},null,-1)]))}const V4={render:z4},H4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"};function W4(e,n){return k(),B("svg",H4,n[0]||(n[0]=[H("path",{d:"M19.5 11h-1.7c0 .7-.2 1.4-.4 2.1l1.2 1.2q.9-1.5.9-3.3m-4 .2V5c0-1.7-1.3-3-3-3s-3 1.3-3 3v.2zM4.8 3 3.5 4.3l6 6v.7c0 1.7 1.3 3 3 3 .2 0 .4 0 .6-.1l1.7 1.7c-.7.3-1.5.5-2.3.5-2.8 0-5.3-2.1-5.3-5.1H5.5c0 3.4 2.7 6.2 6 6.7V21h2v-3.3c.9-.1 1.8-.5 2.5-.9l4.2 4.2 1.3-1.3z"},null,-1)]))}const Y4={render:W4},G4={xmlns:"http://www.w3.org/2000/svg"};function Q4(e,n){return k(),B("svg",G4,n[0]||(n[0]=[H("path",{d:"M2.5 7.5v5h3.333L10 16.667V3.333L5.833 7.5zM13.75 10a3.75 3.75 0 0 0-2.083-3.358v6.708A3.73 3.73 0 0 0 13.75 10m-2.083-7.308v1.717c2.408.717 4.167 2.95 4.167 5.592s-1.758 4.875-4.167 5.592v1.717c3.341-.76 5.833-3.743 5.833-7.31s-2.492-6.55-5.833-7.308"},null,-1)]))}const D1={render:Q4},K4={xmlns:"http://www.w3.org/2000/svg"};function Z4(e,n){return k(),B("svg",K4,n[0]||(n[0]=[H("path",{d:"M13.75 10a3.75 3.75 0 0 0-2.083-3.358v1.842l2.042 2.042c.025-.167.042-.342.042-.525zm2.083 0a5.7 5.7 0 0 1-.45 2.2l1.258 1.258A7.3 7.3 0 0 0 17.5 10a7.5 7.5 0 0 0-5.833-7.308v1.717a5.84 5.84 0 0 1 4.167 5.592zM3.558 2.5 2.5 3.558 6.442 7.5H2.5v5h3.333L10 16.667v-5.608l3.542 3.542a5.8 5.8 0 0 1-1.875.983V17.3a7.5 7.5 0 0 0 3.075-1.508l1.7 1.708 1.058-1.058-7.5-7.5zM10 3.333 8.258 5.075 10 6.817z"},null,-1)]))}const F1={render:Z4},J4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 37"};function X4(e,n){return k(),B("svg",J4,n[0]||(n[0]=[H("path",{d:"M14.69 18.65v17.89a.47.47 0 0 0 .47.46h6.64a.47.47 0 0 0 .47-.46V18.35h4.81a.46.46 0 0 0 .47-.42l.45-5.48a.47.47 0 0 0-.46-.51h-5.27V8.06a1.65 1.65 0 0 1 1.65-1.65h3.71a.47.47 0 0 0 .47-.47V.46a.47.47 0 0 0-.47-.46h-6.27a6.67 6.67 0 0 0-6.67 6.66v5.28h-3.32a.47.47 0 0 0-.47.47v5.48a.46.46 0 0 0 .47.46h3.32z"},null,-1)]))}const e_={render:X4},t_={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20"};function n_(e,n){return k(),B("svg",t_,n[0]||(n[0]=[H("path",{d:"M18.594.125.488 10.57a.94.94 0 0 0 .086 1.688L4.727 14 15.95 4.109c.215-.191.519.102.336.324l-9.41 11.465v3.145a.94.94 0 0 0 1.66.617l2.48-3.02 4.867 2.039a.94.94 0 0 0 1.289-.711l2.813-16.875a.94.94 0 0 0-1.391-.969z"},null,-1)]))}const i_={render:n_},o_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 39"};function a_(e,n){return k(),B("svg",o_,n[0]||(n[0]=[H("path",{d:"M38.08 6.78a15.9 15.9 0 0 1-3.82 1.08c.61-.1 1.48-1.21 1.84-1.65a7 7 0 0 0 1.25-2.3.15.15 0 0 0 0-.19.22.22 0 0 0-.21 0 19 19 0 0 1-4.49 1.72.31.31 0 0 1-.31-.08 3 3 0 0 0-.39-.4 7.9 7.9 0 0 0-2.18-1.34 7.6 7.6 0 0 0-3.34-.53 8 8 0 0 0-3.17.91 8.2 8.2 0 0 0-2.56 2.08 7.8 7.8 0 0 0-1.52 3.05 8.2 8.2 0 0 0-.08 3.23c0 .18 0 .2-.16.18-6.17-.92-10.56-2-15.43-7.86-.18-.21-.28-.2-.43 0C1.26 7.42 2.14 11.8 4.41 14c.31.28 1 .87 1.31 1.13A13.5 13.5 0 0 1 2.38 14c-.18-.12-.27 0-.28.15a4.5 4.5 0 0 0 0 .89A7.91 7.91 0 0 0 7 21.3a5 5 0 0 0 1 .3 9 9 0 0 1-2.92.09c-.21 0-.29.07-.21.27 1.29 3.5 4.06 4.55 6.14 5.14.28 0 .55 0 .83.11v.05c-.69 1-3.08 2.15-4.2 2.54a14.8 14.8 0 0 1-6.35.5c-.35-.05-.42-.05-.51 0s0 .14.1.23a15 15 0 0 0 1.32.78A21.2 21.2 0 0 0 6.42 33c7.65 2.11 16.26.56 22-5.15 4.51-4.48 6.09-10.66 6.09-16.84 0-.25.29-.38.46-.51A15.3 15.3 0 0 0 38 7.41a1.2 1.2 0 0 0 .27-.6c.03-.13-.04-.1-.19-.03"},null,-1)]))}const r_={render:a_},s_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 39"};function l_(e,n){return k(),B("svg",s_,n[0]||(n[0]=[H("path",{d:"M33.25 4.27H1.89V30a2.72 2.72 0 0 0 2.72 2.72h29.78A2.72 2.72 0 0 0 37.11 30V4.27zm0 2.27v.08L20 20.78 5.85 6.62a.07.07 0 0 1 0-.06zm1.14 23.92H4.61a.45.45 0 0 1-.45-.46V8.14l.08.09L18.5 22.49a2.13 2.13 0 0 0 1.51.62 2.14 2.14 0 0 0 1.53-.67l13.3-14.16V30a.45.45 0 0 1-.45.46"},null,-1)]))}const c_={render:l_},f_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"};function u_(e,n){return k(),B("svg",f_,n[0]||(n[0]=[t0('<circle cx="20" cy="50" r="10"><animate attributeName="opacity" begin=".1" dur="1s" repeatCount="indefinite" values="0;1;0"></animate></circle><circle cx="50" cy="50" r="10"><animate attributeName="opacity" begin=".2" dur="1s" repeatCount="indefinite" values="0;1;0"></animate></circle><circle cx="80" cy="50" r="10"><animate attributeName="opacity" begin=".3" dur="1s" repeatCount="indefinite" values="0;1;0"></animate></circle>',3)]))}const d_={render:u_},h_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30.34 30.34"};function p_(e,n){return k(),B("svg",h_,n[0]||(n[0]=[H("path",{d:"M22.562 12.491s1.227-.933.293-1.866-1.842.271-1.842.271l-9.389 9.391s-2.199 2.838-3.871 1.122c-1.67-1.718 1.121-3.872 1.121-3.872l12.311-12.31s2.873-3.165 5.574-.466c2.697 2.7-.477 5.579-.477 5.579L12.449 24.173s-4.426 5.113-8.523 1.015 1.066-8.474 1.066-8.474L15.494 6.209s1.176-.982.295-1.866c-.885-.883-1.865.295-1.865.295L1.873 16.689s-4.549 4.989.531 10.068c5.08 5.082 10.072.533 10.072.533l16.563-16.565s3.314-3.655-.637-7.608-7.607-.639-7.607-.639L6.543 16.728s-3.65 2.969-.338 6.279c3.312 3.314 6.227-.39 6.227-.39z"},null,-1)]))}const B1={render:p_},m_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"};function g_(e,n){return k(),B("svg",m_,n[0]||(n[0]=[H("path",{d:"M500.33 0h-47.41a12 12 0 0 0-12 12.57l4 82.76A247.42 247.42 0 0 0 256 8C119.34 8 7.9 119.53 8 256.19 8.1 393.07 119.1 504 256 504a247.1 247.1 0 0 0 166.18-63.91 12 12 0 0 0 .48-17.43l-34-34a12 12 0 0 0-16.38-.55A176 176 0 1 1 402.1 157.8l-101.53-4.87a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12h200.33a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12"},null,-1)]))}const b_={render:g_},v_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43.074 42.35"};function y_(e,n){return k(),B("svg",v_,n[0]||(n[0]=[t0('<g data-name="Layer 2" transform="translate(-11.86 -14.678)"><path d="M27.041 53.253c-1.064-1.771-2.107-3.505-3.087-5.276-.352-.636-.583-.81-1.592-.794-3.331.035-3.326.035-4.38.027l-.549-.008c-3.594-.003-5.572-1.992-5.572-5.602V20.27c0-3.607 1.983-5.591 5.588-5.591h31.993c3.523 0 5.462 1.947 5.462 5.48.005 9.007.005 12.633 0 21.64a4.892 4.892 0 0 1-5.399 5.401h-.008l-5.515-.005c-6.442-.008-4.361-.018-8.483.021a1.1 1.1 0 0 0-.505.352c-1.059 1.71-2.067 3.45-3.074 5.192l-1.169 2.007c-.084.147-.179.292-.297.473l-1.161 1.79z"></path><rect width="32.605" height="3.043" x="17.045" y="21.789" fill="currentColor" rx=".812"></rect><rect width="32.605" height="3.043" x="17.045" y="29.228" fill="currentColor" rx=".812"></rect><rect width="19.008" height="3.043" x="17.045" y="36.668" fill="currentColor" rx=".812"></rect></g>',1)]))}const Ss={render:y_},A_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"};function w_(e,n){return k(),B("svg",A_,n[0]||(n[0]=[H("path",{d:"M512 160h-96V64c0-35.3-28.7-64-64-64H64C28.7 0 0 28.7 0 64v160c0 35.3 28.7 64 64 64h32v52c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4l76.9-43.5V384c0 35.3 28.7 64 64 64h96l108.9 61.6c2.2 1.6 4.7 2.4 7.1 2.4 6.2 0 12-4.9 12-12v-52h32c35.3 0 64-28.7 64-64V224c0-35.3-28.7-64-64-64M64 256c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h288c17.6 0 32 14.4 32 32v160c0 17.6-14.4 32-32 32H215.6l-7.3 4.2-80.3 45.4V256zm480 128c0 17.6-14.4 32-32 32h-64v49.6l-80.2-45.4-7.3-4.2H256c-17.6 0-32-14.4-32-32v-96h128c35.3 0 64-28.7 64-64v-32h96c17.6 0 32 14.4 32 32z"},null,-1)]))}const q1={render:w_},C_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"};function __(e,n){return k(),B("svg",C_,n[0]||(n[0]=[H("path",{d:"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64m32 352c0 17.6-14.4 32-32 32H293.3l-8.5 6.4L192 460v-76H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32z"},null,-1)]))}const U1={render:__},E_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 46.9 46.9"};function S_(e,n){return k(),B("svg",E_,n[0]||(n[0]=[H("path",{fill:"#0596d4",d:"M23.4 46.9C10.5 46.9 0 36.4 0 23.4c0-6.2 2.5-12.1 6.8-16.5C11.2 2.5 17.2 0 23.4 0h.1c12.9 0 23.4 10.5 23.4 23.4 0 13-10.5 23.4-23.5 23.5m0-45.3c-12.1 0-21.9 9.8-21.8 21.9 0 5.8 2.3 11.3 6.4 15.4s9.6 6.4 15.4 6.4c12.1 0 21.8-9.8 21.8-21.9S35.5 1.6 23.4 1.6"},null,-1),H("circle",{cx:"23.4",cy:"23.4",r:"18.6",fill:"#eaeaea"},null,-1),H("path",{fill:"#fff",d:"M27 27.6c3.1-2 4-6.1 2-9.1s-6.1-4-9.1-2-4 6.1-2 9.1c.5.8 1.2 1.5 2 2-4.4.4-7.7 4-7.7 8.4v2.2c6.6 5.1 15.9 5.1 22.5 0V36c0-4.4-3.3-8-7.7-8.4"},null,-1)]))}const M_={render:S_},I_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"};function T_(e,n){return k(),B("svg",I_,n[0]||(n[0]=[H("path",{d:"M369.9 97.9 286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34m-22.6 22.7c2.1 2.1 3.5 4.6 4.2 7.4H256V32.5c2.8.7 5.3 2.1 7.4 4.2zM336 480H48c-8.8 0-16-7.2-16-16V48c0-8.8 7.2-16 16-16h176v104c0 13.3 10.7 24 24 24h104v304c0 8.8-7.2 16-16 16"},null,-1)]))}const O_={render:T_},k_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"};function x_(e,n){return k(),B("svg",k_,n[0]||(n[0]=[H("path",{d:"m460.115 373.846-6.941-4.008c-5.546-3.202-7.564-10.177-4.661-15.886 32.971-64.838 31.167-142.731-5.415-205.954-36.504-63.356-103.118-103.876-175.8-107.701C260.952 39.963 256 34.676 256 28.321v-8.012c0-6.904 5.808-12.337 12.703-11.982 83.552 4.306 160.157 50.861 202.106 123.67 42.069 72.703 44.083 162.322 6.034 236.838-3.14 6.149-10.75 8.462-16.728 5.011"},null,-1)]))}const R_={render:x_},N_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function L_(e,n){return k(),B("svg",N_,n[0]||(n[0]=[H("path",{d:"M193.94 256 296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31z"},null,-1)]))}const P_={render:L_},D_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"};function F_(e,n){return k(),B("svg",D_,n[0]||(n[0]=[H("path",{d:"M511.1 63.1v287.1c0 35.25-28.75 63.1-64 63.1h-144l-124.9 93.68c-7.875 5.75-19.12.05-19.12-9.7V413.3h-96c-35.25 0-64-28.75-64-63.1V63.1c0-35.25 28.75-63.1 64-63.1h384c36.12 0 64.02 28.75 64.02 63.1"},null,-1)]))}const $1={render:F_},B_={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",fill:"none"};function q_(e,n){return k(),B("svg",B_,n[0]||(n[0]=[H("path",{fill:"#fff",d:"M3.429 0H.857A.857.857 0 0 0 0 .857V3.43a.857.857 0 1 0 1.714 0V1.714H3.43a.857.857 0 1 0 0-1.714m7.714 0H8.57a.857.857 0 1 0 0 1.714h1.715V3.43a.857.857 0 1 0 1.714 0V.857A.856.856 0 0 0 11.143 0M3.429 10.286H1.714V8.57a.857.857 0 1 0-1.714 0v2.572c0 .474.383.857.857.857H3.43a.857.857 0 1 0 0-1.714m7.714-2.572a.857.857 0 0 0-.857.857v1.715H8.57a.857.857 0 1 0 0 1.714h2.572a.857.857 0 0 0 .857-.857V8.57a.856.856 0 0 0-.857-.857"},null,-1)]))}const U_={render:q_},$_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"};function j_(e,n){return k(),B("svg",$_,n[0]||(n[0]=[H("path",{d:"M300 224h136c10.7 0 16-12.9 8.4-20.5l-50.9-51L507.3 38.6c6.2-6.2 6.2-16.4 0-22.6L496 4.7c-6.2-6.2-16.4-6.2-22.6 0L359.5 118.6l-51-51C300.9 60 288 65.3 288 76v136c0 6.6 5.4 12 12 12m93.4 135.5 51-51c7.5-7.6 2.2-20.5-8.5-20.5H300c-6.6 0-12 5.4-12 12v136c0 10.7 12.9 16 20.5 8.4l51-50.9 113.9 113.9c6.2 6.2 16.4 6.2 22.6 0l11.3-11.3c6.2-6.2 6.2-16.4 0-22.6zM212 288H76c-10.7 0-16 12.9-8.4 20.5l50.9 51L4.7 473.4c-6.2 6.2-6.2 16.4 0 22.6L16 507.3c6.2 6.2 16.4 6.2 22.6 0l113.9-113.9 51 51c7.6 7.5 20.5 2.2 20.5-8.5V300c0-6.6-5.4-12-12-12m-93.4-135.5-51 51C60 211.1 65.3 224 76 224h136c6.6 0 12-5.4 12-12V76c0-10.7-12.9-16-20.5-8.4l-51 50.9L38.6 4.7c-6.2-6.2-16.4-6.2-22.6 0L4.7 16c-6.2 6.2-6.2 16.4 0 22.6z"},null,-1)]))}const z_={render:j_},V_={name:"ToolbarButton",components:{WplcIcon:Ss},props:{title:{type:String,default:"button"},disabled:Boolean},setup(e,n){return{onClick:i=>{i.stopPropagation(),n.emit("clicked")}}}},H_="*{box-sizing:border-box}.bubble{border-radius:var(--call-us-round-button, 50%);width:var(--call-us-main-button-width, 60px);height:var(--call-us-main-button-width, 60px)}.bubble svg{padding:var(--call-us-standart-right-left-padding, 11px)}.bubble .chevron_down_icon{width:60%}.single-button{box-shadow:0 4px 8px #0003,0 6px 20px #00000030;margin:0;background-color:var(--call-us-form-header-background, #373737)}.single-button svg{fill:#fff}.single-button svg rect{fill:var(--call-us-form-header-background, #373737)}.minimized-button{box-shadow:0 4px 8px #0003,0 6px 20px #00000030;margin:0;background-color:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.minimized-button .minimize-image{transition:transform .2s ease-in-out}.minimized-button img.minimize-image{width:30px;height:30px}.minimized-button .notification-indicator{position:absolute;height:13px;width:13px;background-color:#e44f4b;border-radius:var(--call-us-round-button, 50%);top:2px;right:2px;border:1px solid white}.minimized-button svg{fill:var(--call-us-main-background-color, #FFFFFF)}.minimized-button svg rect{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.button{position:relative;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;border:0}.button svg{width:80%}.button:focus{outline:none}.button:active:enabled{transform:scale(.95);transition:none}.button .bubble{border-radius:var(--call-us-round-button, 50%)}.button:disabled{transition:opacity .1s ease-in-out;opacity:.3;cursor:not-allowed}",je=(e,n)=>{const t=e.__vccOpts||e;for(const[i,o]of n)t[i]=o;return t},W_=["title","disabled"];function Y_(e,n,t,i,o,a){return k(),B("button",{id:"wplc-chat-button","aria-label":"Live Chat & Talk",title:t.title,class:R(["button"]),disabled:t.disabled,type:"button",onMousedown:n[0]||(n[0]=cn(()=>{},["prevent"])),onClick:n[1]||(n[1]=r=>e.$emit("click-inner"))},[fa(e.$slots,"default")],40,W_)}const j1=je(V_,[["render",Y_],["styles",[H_]]]),G_=Ve({components:{ToolBarButton:j1,GlyphiconChevron:L1,WplcIcon:Ss,WplcIconBubble:U1,WplcIconDoubleBubble:q1},props:{disabled:Boolean,collapsed:{type:Boolean,default:!0},config:{type:Object,default:()=>{}}},setup(e,n){const t=ue(zt),i=Z(!1),o=Z(void 0),a=Y(()=>e.config.minimizedStyle===ni.BubbleRight||e.config.minimizedStyle===ni.BubbleLeft),r=Ot();return Mt(()=>{r.add(t.onUnattendedMessage.subscribe(s=>{i.value=!s.preventBubbleIndication})),r.add(t.onAttendChat.subscribe(()=>{i.value=!1}))}),{showNotification:i,toolbarButton:o,isBubble:a}}}),Q_="*{box-sizing:border-box}.bubble{border-radius:var(--call-us-round-button, 50%);width:var(--call-us-main-button-width, 60px);height:var(--call-us-main-button-width, 60px)}.bubble svg{padding:var(--call-us-standart-right-left-padding, 11px);width:80%}.bubble .chevron_down_icon{width:60%}.minimized-button{box-shadow:0 4px 8px #0003,0 6px 20px #00000030;margin:0;background-color:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.minimized-button .minimize-image{transition:transform .2s ease-in-out}.minimized-button img.minimize-image{width:30px;height:30px}.minimized-button .notification-indicator{position:absolute;height:13px;width:13px;background-color:#e44f4b;border-radius:var(--call-us-round-button, 50%);top:2px;right:2px;border:1px solid white}.minimized-button svg{fill:var(--call-us-main-background-color, #FFFFFF)}.minimized-button svg rect{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}",K_=["src"],Z_={key:5,class:R(["notification-indicator"])};function J_(e,n,t,i,o,a){const r=le("WplcIconBubble"),s=le("WplcIconDoubleBubble"),l=le("WplcIcon"),c=le("GlyphiconChevron"),u=le("ToolBarButton");return k(),Se(u,{ref:"toolbarButton",class:R([["minimized-button"],"bubble"]),disabled:e.disabled,onClickInner:n[0]||(n[0]=f=>e.$emit("clicked-button"))},{default:Gt(()=>[e.isBubble?(k(),B(rt,{key:0},[e.collapsed&&e.config.buttonIconType==="url"&&e.config.buttonIcon!==""?(k(),B("img",{key:0,src:e.config.buttonIcon,class:R(["minimize-image"])},null,8,K_)):e.collapsed&&e.config.buttonIconType==="bubble"?(k(),Se(r,{key:1,class:R(["minimize-image"])})):e.collapsed&&e.config.buttonIconType==="doublebubble"?(k(),Se(s,{key:2,class:R(["minimize-image"])})):e.collapsed?(k(),Se(l,{key:3,class:R(["minimize-image"])})):e.collapsed?ae("",!0):(k(),Se(c,{key:4,class:R([["minimize-image"],["chevron_down_icon"]])})),e.showNotification?(k(),B("span",Z_)):ae("",!0)],64)):ae("",!0)]),_:1},8,["disabled"])}const X_=je(G_,[["render",J_],["styles",[Q_]]]),kf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAANlBMVEXz9Pa5vsq2u8jN0dnV2N/o6u7FydPi5Onw8fS+ws3f4ee6v8v29/jY2+Hu7/Ly9PbJztbQ1dxJagBAAAAC60lEQVR4nO3b2ZaCMBREUQbDJOP//2wbEGVIFCHKTa+zH7uVRVmBBJQgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMCpdOzvQQqaq2KmuSrOzQ02lSeRem8rpsQq/ozg72Kj4UkAxEev8awnzs7P1yiIadsfpQXjfZCHhUCzbfmeurdNz6bDRsBWRsB+k0cXxdHjpa0wkTBn3hKnjzRZyEgYk3IeEv2RKWCt1cN9EJ0zjfm7Mq/rAVgUnbLpwnK/zA2tnuQmzJHquuqJq91blJuwmAW8rHbV3q2ITFrOAt7Xz3l2UmrBMlpcHe9fOUhOqRYVhFO/cqtSEy0H6bh/tJ1uhCctqlTB/NSnG9pOt1ISXjxLq825laVFowo9GaRPrF9talJqw3n6macaZ09yi1ISG2cLyriwePwxzi1ITru4s2naxma59TC2KTRjE83FqmQ6yeDaUDS3KTRhMV96h5TTSLD4HQ4uCE9bxePUU5pYL/3mD5o9CcMKgTONc39NNLrV5iK4aNLUoOWHQ38RQtW3nsm6db92i8ISvGBtct+hvwqyzBFxE9DehrcHlQPU1YWNvcNGirwlfNThv0ZOE9eJG1OsGZy36kVBdczU9e7RvAz5b9CFhqfIwSp4XwG+OwUWLPiRUV/33Z4tbGtTvGK635CfUDfb/SO5rt20N9t8m65fLT9g3GD5abDY2qC+lvEg4NjhEvLW4tUFvEj4a7OXq3TzoW8Jpg0PEzfk8SThv8EMeJFw1+O8SHmrQg4QHG/Qg4cEGxSc83KD4hIcblJ6w3L508TXh+vtDEpLw3GwDEpKQhOdznVD2fRr9tdpRw/1HqQndIeEvkXCXUlDC+1NBndsnge/fwyVnp9PGH3p95dm1WMKza4/fI37j+UPXR/c+2X9/hjQI0uO3LsyuMioM9A8Sjy/W1iIhY7Sn2tzpUahdWyXiNDNSxcWtSlCBAAAAAAAAAAAAAAAAAAAAAAAAAAAAwCn+AEXGNosxDBhFAAAAAElFTkSuQmCC",Ms="data:image/png;base64,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",e6=Ve({components:{GlyphiconTimes:P1},props:{greetingMessage:{type:String,default:""},operator:{type:Object,default:()=>Oi}},setup(e,n){return{getAgentIcon:Y(()=>e.operator.image?e.operator.image:Ms),onGreetingClicked(){n.emit("clicked")},onGreetingClosed(){n.emit("closed")},updateNotFoundImage(i){i&&i.target&&(i.target.src=kf)}}}}),t6="*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn;animation-delay:.5s}.slideLeft{animation:slideLeft 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight{animation:slideRight 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp{animation:slideUp 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge{animation:nudge 1s ease-in}@keyframes nudge{0%{opacity:0}to{opacity:1}}@keyframes fly-in{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in{transition:all .5s;animation-duration:.3s;animation-name:fly-in}@keyframes show-with-delay{0%{opacity:0}to{opacity:1}}.show-with-delay{animation-name:show-with-delay;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.root-greetings{background:var(--call-us-main-background-color, #FFFFFF);color:var(--call-us-main-font-color, #000000);width:300px;font-size:var(--call-us-font-size, 14px);padding:var(--call-us-element-side-offset-medium, 10px);border-radius:6px;cursor:pointer;min-height:60px;margin-bottom:15px;box-shadow:0 4px 8px #0003,0 6px 20px #00000030;max-width:60vw;display:flex;flex-direction:row}.root-greetings .operator-img-container{display:flex;flex-direction:column;justify-content:center;width:30px;margin-right:var(--call-us-element-side-offset-medium, 10px)}.root-greetings .operator-img-container .operator-img{height:30px;width:30px}.root-greetings .operator-img-container .operator-img.rounded-circle{border-radius:var(--call-us-round-button, 50%);padding:1px;border:1px solid var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.root-greetings .operator-img-container svg path:first-of-type{fill:var(--call-us-form-header-background, #373737)}.root-greetings .greeting-content{display:flex;flex-direction:column;justify-content:center;flex-grow:1;white-space:pre-wrap;word-break:break-word}.root-greetings .greeting-action-container{display:flex;flex-direction:column;justify-content:flex-start;margin-left:var(--call-us-element-side-offset-small, 5px)}.root-greetings .greeting-action-container .action-btn.close-btn{width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);line-height:var(--call-us-variable-button-size, 20px);text-align:right}.root-greetings .greeting-action-container .action-btn:hover:active svg{transition:.2s;transform:scale(.9)}.root-greetings .greeting-action-container .action-btn:hover svg{transition:.2s;transform:scale(1.1)}.root-greetings .greeting-action-container .action-btn svg{fill:var(--call-us-main-font-color, #000000);width:10px;height:18px}",n6={class:R(["operator-img-container"])},i6=["src"],o6={class:R(["greeting-content"])},a6={class:R(["greeting-message"])},r6={class:R(["greeting-action-container"])};function s6(e,n,t,i,o,a){const r=le("GlyphiconTimes");return k(),B("div",{id:"greetingContainer",class:R(["root-greetings"]),onClick:n[2]||(n[2]=s=>e.onGreetingClicked())},[H("div",n6,[H("img",{src:e.getAgentIcon,alt:"avatar",class:R([["operator-img"],["rounded-circle"]]),onError:n[0]||(n[0]=s=>e.updateNotFoundImage(s))},null,40,i6)]),H("div",o6,[H("span",a6,Ae(e.greetingMessage),1)]),H("div",r6,[H("div",{id:"close_greeting_btn",class:R([["action-btn"],["close-btn"]]),onClick:n[1]||(n[1]=cn(s=>e.onGreetingClosed(),["stop"]))},[de(r)])])])}const l6=Ve({components:{MinimizedButton:X_,Greeting:je(e6,[["render",s6],["styles",[t6]]])},props:{disabled:{type:Boolean,default:!1},collapsed:{type:Boolean},config:{type:Object,default:()=>{}},panelState:{type:Number,default:ye.Chat},operator:{type:Object,default:()=>Oi}},setup(e,n){const t=ue(zt),i=ue(Aa),o=ue(Ln),a=Z(!1),r=Z(!0),s=Z(null),l=Ot(),c=Y(()=>e.panelState===ye.Authenticate||e.panelState===ye.Chat||e.panelState===ye.Intro?o.isAvaliable?e.config.greetingVisibility:e.config.greetingOfflineVisibility:Xt.None),u=Y(()=>{const M=!xi();return c.value===Xt.Both||c.value===Xt.Mobile&&!M||c.value===Xt.Desktop&&M}),f=()=>localStorage.getItem("callus.greeting_activated")==="true",d=Y(()=>!a.value&&e.collapsed&&!e.disabled&&u.value&&!f()),p=Y(()=>{if(e.config&&r.value)switch(e.config.animationStyle){case Jt.FadeIn:return["fadeIn"];case Jt.SlideLeft:return["slideLeft"];case Jt.SlideRight:return["slideRight"];case Jt.SlideUp:return["slideUp"]}return[]}),h=Y(()=>e.config.minimizedStyle===ni.BubbleLeft?"bubble_left":e.config.minimizedStyle===ni.BubbleRight?"bubble_right":[]),b=M=>{s.value===M.target&&t.onAnimationActivatedChange.next(!1)},y=Y(()=>e.panelState===ye.Authenticate||e.panelState===ye.Chat||e.panelState===ye.Intro?o.isAvaliable?e.config.greetingMessage:e.config.greetingOfflineMessage:""),g=()=>{E(),n.emit("clicked-button")},C=M=>{localStorage&&localStorage.setItem("callus.greeting_activated",M.toString())},E=()=>{C(!0),i.chatInteractionEvent(),a.value=!0},x=()=>{const M=f();C(M&&u.value)};return Mt(()=>{x(),l.add(t.onAnimationActivatedChange.pipe(Ma()).subscribe(M=>{r.value=M})),l.add(t.onChatInitiated.pipe(Ma()).subscribe(M=>{M&&C(!1)}))}),{animationsMinimizedBubble:p,getMinimizedStyle:h,showGreeting:d,greetingMessage:y,minimizedBubbleContainer:s,onBubbleClicked:g,onGreetingClosed:E,deactivateAnimation:b,isAnimationActivated:r,retrieveGreetingActivated:f,greetingVisibilityOnState:c,isGreetingEnabledOnDevice:u,storeGreetingActivated:C}}}),c6="*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn;animation-delay:.5s}.slideLeft{animation:slideLeft 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight{animation:slideRight 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp{animation:slideUp 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge{animation:nudge 1s ease-in}@keyframes nudge{0%{opacity:0}to{opacity:1}}@keyframes fly-in{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in{transition:all .5s;animation-duration:.3s;animation-name:fly-in}@keyframes show-with-delay{0%{opacity:0}to{opacity:1}}.show-with-delay{animation-name:show-with-delay;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.bubble-root{display:flex;flex-direction:column}.bubble-root.chat_expanded{margin-top:var(--call-us-offset-top-minimized-bubble, 15px)}.bubble-root.bubble_left{align-items:flex-start}.bubble-root.bubble_right{align-items:flex-end}";function f6(e,n,t,i,o,a){const r=le("Greeting"),s=le("MinimizedButton");return k(),B("div",{ref:"minimizedBubbleContainer",class:R([e.animationsMinimizedBubble,["bubble-root"],e.collapsed?"":["chat_expanded"],e.getMinimizedStyle]),onAnimationend:n[2]||(n[2]=l=>e.deactivateAnimation(l))},[e.showGreeting?(k(),Se(r,{key:0,ref:"greeting",greetingMessage:e.greetingMessage,operator:e.operator,onClicked:n[0]||(n[0]=l=>e.onBubbleClicked()),onClosed:n[1]||(n[1]=l=>e.onGreetingClosed())},null,8,["greetingMessage","operator"])):ae("",!0),de(s,{ref:"minimizedButton",config:e.config,collapsed:e.collapsed,disabled:e.disabled,onClickedButton:e.onBubbleClicked},null,8,["config","collapsed","disabled","onClickedButton"])],34)}const z1=je(l6,[["render",f6],["styles",[c6]]]),u6=Ve({props:{show:Boolean,text:String}}),d6='*{box-sizing:border-box}.loading{position:absolute;left:0;right:0;top:0;bottom:0;background:#ffffffb3;display:flex;justify-content:center;align-items:center;z-index:var(--call-us-z-index-overlay, 2)}.loading .loader,.loading .loader:before,.loading .loader:after{border-radius:var(--call-us-round-button, 50%);width:2.5em;height:2.5em;animation-fill-mode:both;animation:loading 1.8s infinite ease-in-out}.loading .loader{color:var(--call-us-form-header-background, #373737);font-size:6px;position:relative;text-indent:-9999em;transform:translateZ(0);animation-delay:-.16s}.loading .loader:before,.loading .loader:after{content:"";position:absolute;top:0}.loading .loader:before{left:-3.5em;animation-delay:-.32s}.loading .loader:after{left:3.5em}@keyframes loading{0%,80%,to{box-shadow:0 2.5em 0 -1.3em}40%{box-shadow:0 2.5em}}',h6={key:0,class:R("loading")},p6={class:R("loader")};function m6(e,n,t,i,o,a){return e.show?(k(),B("div",h6,[H("div",p6,Ae(e.text),1)])):ae("",!0)}const V1=je(u6,[["render",m6],["styles",[d6]]]),g6=Ve({components:{MinimizedBubble:z1,Loading:V1},props:{panelState:{type:Number,default:ye.Chat},allowMinimize:{type:Boolean},startMinimized:{type:Boolean},config:{type:Object,default:()=>{}},allowFullscreen:{type:Boolean,default:!1},operator:{type:Object,default:()=>Oi},isCallingWindow:{type:Boolean,default:!1},chatEnabled:{type:Boolean,default:!1}},setup(e,n){const t=ue(wi),i=ue(zt),o=ue(Eo),a=ue(en),r=Z(null),s=Z(!1),l=Z(!1),c=Z(!0),u=Y(()=>{let p=[];return t.isFullScreen?p=["full-screen"]:e.isCallingWindow?p=["calling-window"]:e.panelState===ye.Chat?p=["chat-form"]:e.panelState===ye.Intro?p=["intro-form"]:p=["small-form"],p}),f=()=>{e.allowMinimize&&(s.value?(i.onRestored.next(),t.enableFullScreen&&e.panelState!==ye.Intro&&t.goFullScreen()):(i.onMinimized.next(),t.closeFullScreen()))},d=Ot();return Mt(()=>{s.value=document.location.hash==="#popoutchat"?!1:e.startMinimized,d.add(i.onToggleCollapsed.subscribe({next:()=>f()})),d.add(i.onMinimized.subscribe({next:()=>{s.value=!0,sessionStorage.setItem("callus.collapsed","1")}})),d.add(i.onRestored.subscribe({next:()=>{s.value=!1,sessionStorage.setItem("callus.collapsed","0")}})),d.add(i.onAnimationActivatedChange.pipe(Ma()).subscribe({next:p=>{c.value=p}})),e.allowFullscreen?d.add(xo(window.matchMedia("(orientation: landscape)"),"change").pipe(vc(window.matchMedia("(orientation: landscape)")),yt(p=>({isLandscape:p.matches}))).subscribe({next:p=>{!e.isCallingWindow&&!s.value||e.allowFullscreen&&p.isLandscape&&e.isCallingWindow&&!a.isVideoActive.value?t.goFullScreen():t.closeFullScreen()}})):t.isFullScreen&&t.closeFullScreen()}),{panel:r,isAnimationActivated:c,collapsed:s,loadingService:o,hideCloseButton:l,onToggleCollapsed:f,getMinimizedStyle:Y(()=>e.config.minimizedStyle===ni.BubbleLeft?"bubble_left":(e.config.minimizedStyle===ni.BubbleRight,"bubble_right")),onClose(){l.value=!0,o.show(),n.emit("close")},isFullScreen:Y(()=>t.isFullScreen),animations:Y(()=>{if(e.config&&c.value)switch(e.config.animationStyle){case Jt.FadeIn:return["fadeIn"];case Jt.SlideLeft:return["slideLeft"];case Jt.SlideRight:return["slideRight"];case Jt.SlideUp:return["slideUp"]}return[]}),panelHeight:u,showPanel:Y(()=>!s.value||!e.allowMinimize),showBubble:Y(()=>e.allowMinimize),deactivateAnimation(p){r.value===p.target&&i.onAnimationActivatedChange.next(!1)},myWebRTCService:a}}}),b6='[data-v-c8580658]{box-sizing:border-box}.custom-scrollbar[data-v-c8580658]::-webkit-scrollbar,.panel .panel_content .panel_body[data-v-c8580658]::-webkit-scrollbar{width:4px}.custom-scrollbar[data-v-c8580658]::-webkit-scrollbar-track,.panel .panel_content .panel_body[data-v-c8580658]::-webkit-scrollbar-track{background:#f1f1f1}.custom-scrollbar[data-v-c8580658]::-webkit-scrollbar-thumb,.panel .panel_content .panel_body[data-v-c8580658]::-webkit-scrollbar-thumb{background:#888}.custom-scrollbar[data-v-c8580658]::-webkit-scrollbar-thumb:hover,.panel .panel_content .panel_body[data-v-c8580658]::-webkit-scrollbar-thumb:hover{background:#555}@keyframes fadeIn-c8580658{0%{opacity:0}to{opacity:1}}.fadeIn[data-v-c8580658]{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn-c8580658;animation-delay:.5s}.slideLeft[data-v-c8580658]{animation:slideLeft-c8580658 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft-c8580658{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight[data-v-c8580658]{animation:slideRight-c8580658 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight-c8580658{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp[data-v-c8580658]{animation:slideUp-c8580658 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp-c8580658{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge[data-v-c8580658]{animation:nudge-c8580658 1s ease-in}@keyframes nudge-c8580658{0%{opacity:0}to{opacity:1}}@keyframes fly-in-c8580658{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in[data-v-c8580658]{transition:all .5s;animation-duration:.3s;animation-name:fly-in-c8580658}@keyframes show-with-delay-c8580658{0%{opacity:0}to{opacity:1}}.show-with-delay[data-v-c8580658]{animation-name:show-with-delay-c8580658;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin[data-v-c8580658]{animation:spin-c8580658 2s linear infinite}@keyframes spin-c8580658{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.panel[data-v-c8580658]{display:flex;flex-direction:column;position:relative;flex-grow:1;max-height:100vh;justify-content:flex-end}.panel .limited[data-v-c8580658]{font-size:var(--call-us-font-size, 14px)}.panel.full-screen[data-v-c8580658]{height:calc(var(--vh, 1vh) * 100)!important;width:calc(var(--vw, 1vw) * 100)!important;border-radius:0}.panel.popout-small[data-v-c8580658]{width:calc(var(--call-us-form-width) / 2);margin-left:calc(var(--call-us-form-width) / 4)}.panel .minimized[data-v-c8580658]{display:none}.panel .panel_content[data-v-c8580658]{position:relative;height:100%;width:100%;display:flex;flex-direction:column;box-shadow:0 4px 8px #0003,0 6px 20px #00000030;border-radius:6px}.panel .panel_content .panel_body[data-v-c8580658]{position:relative;font-size:var(--call-us-font-size, 14px);max-height:100%;flex:1;overflow-y:auto;color:#000;background:var(--call-us-main-background-color, #FFFFFF);border-bottom-right-radius:inherit;border-bottom-left-radius:inherit;display:flex;flex-direction:column}.panel .panel_content.calling-window[data-v-c8580658],.panel .panel_content.chat-form[data-v-c8580658],.panel .panel_content.small-form[data-v-c8580658]{height:509px;min-width:var(--call-us-form-width-min, 280px);max-width:var(--call-us-form-width-max, 800px);width:300px;min-height:var(--call-us-form-height-min, 425px)}@media screen and (orientation: landscape){.panel .panel_content.calling-window[data-v-c8580658],.panel .panel_content.chat-form[data-v-c8580658],.panel .panel_content.small-form[data-v-c8580658]{min-height:0}}.panel .panel_content.calling-window[data-v-c8580658]{height:var(--call-us-max-height-calling-window, 509px);max-height:var(--call-us-max-height-calling-window, 509px)!important}@media screen and (orientation: portrait) and (max-width: 450px){.panel .panel_content.calling-window[data-v-c8580658]{width:100vw}}.panel .panel_content.small-form[data-v-c8580658]{min-height:var(--call-us-height-small-form, 410px);height:509px}@media screen and (orientation: landscape){.panel .panel_content.small-form[data-v-c8580658]{min-height:0}}.panel .panel_content.small-form-height[data-v-c8580658]{height:509px;min-height:var(--call-us-small-form-min-height, 450px);max-width:var(--call-us-small-form-min-height, 380px)}.panel .panel_content.intro-form[data-v-c8580658]{min-height:var(--call-us-intro-form-height-min, 124px);max-height:var(--call-us-intro-form-height-min, 124px);width:var(--call-us-intro-form-width, 229px)}.panel .panel_content.intro-form .panel_body[data-v-c8580658]{border-radius:inherit}.panel .panel_content.intro-form[data-v-c8580658]:after{content:"";position:absolute;top:124px;left:75%;right:0;margin:0 auto;width:0;height:0;border-top:12px solid var(--call-us-main-background-color, #FFFFFF);border-left:7.5px solid transparent;border-right:7.5px solid transparent}.panel.calling-window[data-v-c8580658]{height:var(--call-us-max-height-calling-window, 509px);max-height:var(--call-us-max-height-calling-window, 509px)!important}.panel svg rect[data-v-c8580658]{fill:var(--call-us-form-header-background, #373737)}',v6={class:R(["panel_body"])},y6={style:{height:"100%"}};function A6(e,n,t,i,o,a){const r=le("Loading"),s=le("MinimizedBubble");return k(),B("div",{ref:"panel",class:R([["panel"],e.animations,e.isFullScreen?["full-screen"]:""]),onAnimationend:n[0]||(n[0]=l=>e.deactivateAnimation(l))},[Zn(H("div",{class:R([["panel_content"],e.panelHeight,e.myWebRTCService.isVideoActive.value?["video_extend"]:""])},[fa(e.$slots,"overlay",{},void 0,!0),fa(e.$slots,"panel-top",{},void 0,!0),H("div",v6,[(k(),Se(r,{key:e.loadingService.key,show:e.loadingService.loading()&&!e.config.demo,text:"loading"},null,8,["show"])),H("div",y6,[fa(e.$slots,"panel-content",{},void 0,!0)])])],2),[[h0,e.showPanel]]),e.showBubble?(k(),Se(s,{key:0,ref:"minimizedBubble",collapsed:e.collapsed,config:e.config,operator:e.operator,panelState:e.panelState,disabled:!1,onClickedButton:e.onToggleCollapsed},null,8,["collapsed","config","operator","panelState","onClickedButton"])):ae("",!0)],34)}const xf=je(g6,[["render",A6],["styles",[b6]],["__scopeId","data-v-c8580658"]]),w6=Ve({directives:{object:Ba},components:{Panel:xf,WplcIcon:Ss,GlyphiconCall:qa},props:{config:{type:Object,default:()=>{}},webRtcCodecs:{type:Array,default:void 0},startMinimized:Boolean,operator:{type:Object,default:()=>Oi}},setup(e,n){const t=ue(wi),i=ue(zt),o=ue(ic),a=ue(Ln),r=ue(en),s=Tt(),{t:l}=s;r.webRTCControlService.setWebRtcCodecs(e.webRtcCodecs),$t(en,r);const c=Ot(),u=Y(()=>r.hasCall.value?r.hasCall.value&&r.hasEstablishedCall.value?l("Inputs.Connected").toString():l("Inputs.Dialing").toString():"");Mt(()=>{c.add(r.phoneService.myCalls$.pipe(yt(h=>h.length>0?h[0].media:ro),we(h=>Ke(h!==ro)),Ma()).subscribe({next:h=>{h||o.dropSession().subscribe({next:()=>{a.closeSession()},error:b=>{i.onError.next(b)}})}}))});const f=(h,b=!1)=>{r.hasCall.value||n.emit("chat",b)},d=()=>{i.onChatInitiated.next(!0),Vo&&(f(void 0,!0),r.call(!1).pipe(Fn(1)).subscribe({error:h=>i.onError.next(h)}))},p=()=>{r.dropCall().pipe(Fn(1)).subscribe({error:h=>i.onError.next(h)})};return{isWebRtcAllowed:Y(()=>Vo),fullscreenService:t,ViewState:ye,myWebRTCService:r,callStateTitle:u,t:l,startChat:f,dropCall:p,makeCall:d}}}),C6="[data-v-3fff492c]{box-sizing:border-box}.intro-root[data-v-3fff492c]{display:flex;align-items:center;justify-content:center;flex-flow:column;margin-block-end:0;flex-grow:1;color:var(--call-us-main-font-color, #000000)}.intro-root .action_option[data-v-3fff492c]{height:62px;padding:18.5px 10px;width:100%;font-size:var(--call-us-font-size, 14px);cursor:pointer;border-bottom:1px solid #E2DFDF;background-color:var(--call-us-main-background-color, #FFFFFF)}.intro-root .action_option[data-v-3fff492c]:hover{background-color:var(--call-us-main-font-color, #000000);color:var(--call-us-main-background-color, #FFFFFF);opacity:.8;transition:all .25s linear}.intro-root .action_option.disabled[data-v-3fff492c]{opacity:.2;cursor:default}.intro-root .action_option .option-icon[data-v-3fff492c]{height:25px;vertical-align:middle;margin-right:var(--call-us-element-side-offset-medium, 10px);fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));color:#fff}.intro-root .action_option .option-icon.end-call-icon[data-v-3fff492c]{transform:var(--call-us-default-rotation-drop-call, rotate(135deg));fill:#d80027}.intro-root .action_option[data-v-3fff492c]:last-child{border:none}",_6={class:R("intro-root")},E6=["src"],S6={key:1,autoplay:""};function M6(e,n,t,i,o,a){const r=le("WplcIcon"),s=le("GlyphiconCall"),l=le("Panel"),c=ca("object");return k(),Se(l,{config:e.config,startMinimized:e.startMinimized,allowMinimize:e.config.allowMinimize,panelState:e.ViewState.Intro,fullScreenService:e.fullscreenService,operator:e.operator},{"panel-content":Gt(()=>[H("div",_6,[e.myWebRTCService.audioNotificationUrl?(k(),B("audio",{key:0,src:e.myWebRTCService.audioNotificationUrl.value||void 0,autoplay:"",loop:""},null,8,E6)):ae("",!0),e.myWebRTCService.remoteStream.value?Zn((k(),B("audio",S6,null,512)),[[c,e.myWebRTCService.remoteStream.value]]):ae("",!0),H("div",{ref:"startChatOption",class:R(["action_option",e.myWebRTCService.hasCall.value?"disabled":""]),onClick:n[0]||(n[0]=(...u)=>e.startChat&&e.startChat(...u))},[de(r,{class:R(["option-icon"])}),ei(" "+Ae(e.t("Inputs.ChatWithUs")),1)],2),e.myWebRTCService.hasCall.value?(k(),B("div",{key:3,ref:"dropCallOption",class:R("action_option"),onClick:n[2]||(n[2]=(...u)=>e.dropCall&&e.dropCall(...u))},[de(s,{class:R([["option-icon"],["end-call-icon"]])}),ei(" "+Ae(e.callStateTitle),1)],512)):(k(),B("div",{key:2,ref:"makeCallOption",class:R(["action_option",e.isWebRtcAllowed?"":"disabled:"]),onClick:n[1]||(n[1]=(...u)=>e.makeCall&&e.makeCall(...u))},[de(s,{class:R(["option-icon"])}),ei(" "+Ae(e.t("Inputs.CallTitle")),1)],2))])]),_:1},8,["config","startMinimized","allowMinimize","panelState","fullScreenService","operator"])}const I6=je(w6,[["render",M6],["styles",[C6]],["__scopeId","data-v-3fff492c"]]);function H1(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,i)}return t}function Ri(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?H1(Object(t),!0).forEach(function(i){T6(e,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):H1(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})}return e}function T6(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function W1(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((t,i)=>(n.includes(i)||(t[i]=Ne(e[i])),t),{})}function Is(e){return typeof e=="function"}function O6(e){return ji(e)||mi(e)}function Y1(e,n,t){let i=e;const o=n.split(".");for(let a=0;a<o.length;a++){if(!i[o[a]])return t;i=i[o[a]]}return i}function Rf(e,n,t){return Y(()=>e.some(i=>Y1(n,i,{[t]:!1})[t]))}function G1(e,n,t){return Y(()=>e.reduce((i,o)=>{const a=Y1(n,o,{[t]:!1})[t]||[];return i.concat(a)},[]))}function Q1(e,n,t,i){return e.call(i,Ne(n),Ne(t),i)}function K1(e){return e.$valid!==void 0?!e.$valid:!e}function k6(e,n,t,i,o,a,r){let{$lazy:s,$rewardEarly:l}=o,c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],u=arguments.length>8?arguments[8]:void 0,f=arguments.length>9?arguments[9]:void 0,d=arguments.length>10?arguments[10]:void 0;const p=Z(!!i.value),h=Z(0);t.value=!1;const b=Kt([n,i].concat(c,d),()=>{if(s&&!i.value||l&&!f.value&&!t.value)return;let y;try{y=Q1(e,n,u,r)}catch(g){y=Promise.reject(g)}h.value++,t.value=!!h.value,p.value=!1,Promise.resolve(y).then(g=>{h.value--,t.value=!!h.value,a.value=g,p.value=K1(g)}).catch(g=>{h.value--,t.value=!!h.value,a.value=g,p.value=!0})},{immediate:!0,deep:typeof n=="object"});return{$invalid:p,$unwatch:b}}function x6(e,n,t,i,o,a,r,s){let{$lazy:l,$rewardEarly:c}=i;const u=()=>({}),f=Y(()=>{if(l&&!t.value||c&&!s.value)return!1;let d=!0;try{const p=Q1(e,n,r,a);o.value=p,d=K1(p)}catch(p){o.value=p}return d});return{$unwatch:u,$invalid:f}}function R6(e,n,t,i,o,a,r,s,l,c,u){const f=Z(!1),d=e.$params||{},p=Z(null);let h,b;e.$async?{$invalid:h,$unwatch:b}=k6(e.$validator,n,f,t,i,p,o,e.$watchTargets,l,c,u):{$invalid:h,$unwatch:b}=x6(e.$validator,n,t,i,p,o,l,c);const y=e.$message;return{$message:Is(y)?Y(()=>y(W1({$pending:f,$invalid:h,$params:W1(d),$model:n,$response:p,$validator:a,$propertyPath:s,$property:r}))):y||"",$params:d,$pending:f,$invalid:h,$response:p,$unwatch:b}}function N6(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=Ne(e),t=Object.keys(n),i={},o={},a={};let r=null;return t.forEach(s=>{const l=n[s];switch(!0){case Is(l.$validator):i[s]=l;break;case Is(l):i[s]={$validator:l};break;case s==="$validationGroups":r=l;break;case s.startsWith("$"):a[s]=l;break;default:o[s]=l}}),{rules:i,nestedValidators:o,config:a,validationGroups:r}}const L6="__root";function P6(e,n,t,i,o,a,r,s,l){const c=Object.keys(e),u=i.get(o,e),f=Z(!1),d=Z(!1),p=Z(0);if(u){if(!u.$partial)return u;u.$unwatch(),f.value=u.$dirty.value}const h={$dirty:f,$path:o,$touch:()=>{f.value||(f.value=!0)},$reset:()=>{f.value&&(f.value=!1)},$commit:()=>{}};return c.length?(c.forEach(b=>{h[b]=R6(e[b],n,h.$dirty,a,r,b,t,o,l,d,p)}),h.$externalResults=Y(()=>s.value?[].concat(s.value).map((b,y)=>({$propertyPath:o,$property:t,$validator:"$externalResults",$uid:`${o}-externalResult-${y}`,$message:b,$params:{},$response:null,$pending:!1})):[]),h.$invalid=Y(()=>{const b=c.some(y=>Ne(h[y].$invalid));return d.value=b,!!h.$externalResults.value.length||b}),h.$pending=Y(()=>c.some(b=>Ne(h[b].$pending))),h.$error=Y(()=>h.$dirty.value?h.$pending.value||h.$invalid.value:!1),h.$silentErrors=Y(()=>c.filter(b=>Ne(h[b].$invalid)).map(b=>{const y=h[b];return Nt({$propertyPath:o,$property:t,$validator:b,$uid:`${o}-${b}`,$message:y.$message,$params:y.$params,$response:y.$response,$pending:y.$pending})}).concat(h.$externalResults.value)),h.$errors=Y(()=>h.$dirty.value?h.$silentErrors.value:[]),h.$unwatch=()=>c.forEach(b=>{h[b].$unwatch()}),h.$commit=()=>{d.value=!0,p.value=Date.now()},i.set(o,e,h),h):(u&&i.set(o,e,h),h)}function D6(e,n,t,i,o,a,r){const s=Object.keys(e);return s.length?s.reduce((l,c)=>(l[c]=Nf({validations:e[c],state:n,key:c,parentKey:t,resultsCache:i,globalConfig:o,instance:a,externalResults:r}),l),{}):{}}function F6(e,n,t){const i=Y(()=>[n,t].filter(h=>h).reduce((h,b)=>h.concat(Object.values(Ne(b))),[])),o=Y({get(){return e.$dirty.value||(i.value.length?i.value.every(h=>h.$dirty):!1)},set(h){e.$dirty.value=h}}),a=Y(()=>{const h=Ne(e.$silentErrors)||[],b=i.value.filter(y=>(Ne(y).$silentErrors||[]).length).reduce((y,g)=>y.concat(...g.$silentErrors),[]);return h.concat(b)}),r=Y(()=>{const h=Ne(e.$errors)||[],b=i.value.filter(y=>(Ne(y).$errors||[]).length).reduce((y,g)=>y.concat(...g.$errors),[]);return h.concat(b)}),s=Y(()=>i.value.some(h=>h.$invalid)||Ne(e.$invalid)||!1),l=Y(()=>i.value.some(h=>Ne(h.$pending))||Ne(e.$pending)||!1),c=Y(()=>i.value.some(h=>h.$dirty)||i.value.some(h=>h.$anyDirty)||o.value),u=Y(()=>o.value?l.value||s.value:!1),f=()=>{e.$touch(),i.value.forEach(h=>{h.$touch()})},d=()=>{e.$commit(),i.value.forEach(h=>{h.$commit()})},p=()=>{e.$reset(),i.value.forEach(h=>{h.$reset()})};return i.value.length&&i.value.every(h=>h.$dirty)&&f(),{$dirty:o,$errors:r,$invalid:s,$anyDirty:c,$error:u,$pending:l,$touch:f,$reset:p,$silentErrors:a,$commit:d}}function Nf(e){let{validations:n,state:t,key:i,parentKey:o,childResults:a,resultsCache:r,globalConfig:s={},instance:l,externalResults:c}=e;const u=o?`${o}.${i}`:i,{rules:f,nestedValidators:d,config:p,validationGroups:h}=N6(n),b=Ri(Ri({},s),p),y=i?Y(()=>{const X=Ne(t);return X?Ne(X[i]):void 0}):t,g=Ri({},Ne(c)||{}),C=Y(()=>{const X=Ne(c);return i?X?Ne(X[i]):void 0:X}),E=P6(f,y,i,r,u,b,l,C,t),x=D6(d,y,u,r,b,l,C),M={};h&&Object.entries(h).forEach(X=>{let[me,ge]=X;M[me]={$invalid:Rf(ge,x,"$invalid"),$error:Rf(ge,x,"$error"),$pending:Rf(ge,x,"$pending"),$errors:G1(ge,x,"$errors"),$silentErrors:G1(ge,x,"$silentErrors")}});const{$dirty:U,$errors:N,$invalid:K,$anyDirty:re,$error:W,$pending:ee,$touch:he,$reset:Be,$silentErrors:se,$commit:Q}=F6(E,x,a),q=i?Y({get:()=>Ne(y),set:X=>{U.value=!0;const me=Ne(t),ge=Ne(c);ge&&(ge[i]=g[i]),Ge(me[i])?me[i].value=X:me[i]=X}}):null;i&&b.$autoDirty&&Kt(y,()=>{U.value||he();const X=Ne(c);X&&(X[i]=g[i])},{flush:"sync"});async function z(){return he(),b.$rewardEarly&&(Q(),await Pr()),await Pr(),new Promise(X=>{if(!ee.value)return X(!K.value);const me=Kt(ee,()=>{X(!K.value),me()})})}function D(X){return(a.value||{})[X]}function te(){Ge(c)?c.value=g:Object.keys(g).length===0?Object.keys(c).forEach(X=>{delete c[X]}):Object.assign(c,g)}return Nt(Ri(Ri(Ri({},E),{},{$model:q,$dirty:U,$error:W,$errors:N,$invalid:K,$anyDirty:re,$pending:ee,$touch:he,$reset:Be,$path:u||L6,$silentErrors:se,$validate:z,$commit:Q},a&&{$getResultsForChild:D,$clearExternalResults:te,$validationGroups:M}),x))}class B6{constructor(){this.storage=new Map}set(n,t,i){this.storage.set(n,{rules:t,result:i})}checkRulesValidity(n,t,i){const o=Object.keys(i),a=Object.keys(t);return a.length!==o.length||!a.every(s=>o.includes(s))?!1:a.every(s=>t[s].$params?Object.keys(t[s].$params).every(l=>Ne(i[s].$params[l])===Ne(t[s].$params[l])):!0)}get(n,t){const i=this.storage.get(n);if(!i)return;const{rules:o,result:a}=i,r=this.checkRulesValidity(n,t,o),s=a.$unwatch?a.$unwatch:()=>({});return r?a:{$dirty:a.$dirty,$partial:!0,$unwatch:s}}}const Ts={COLLECT_ALL:!0,COLLECT_NONE:!1},Z1=Symbol("vuelidate#injectChildResults"),J1=Symbol("vuelidate#removeChildResults");function q6(e){let{$scope:n,instance:t}=e;const i={},o=Z([]),a=Y(()=>o.value.reduce((u,f)=>(u[f]=Ne(i[f]),u),{}));function r(u,f){let{$registerAs:d,$scope:p,$stopPropagation:h}=f;h||n===Ts.COLLECT_NONE||p===Ts.COLLECT_NONE||n!==Ts.COLLECT_ALL&&n!==p||(i[d]=u,o.value.push(d))}t.__vuelidateInjectInstances=[].concat(t.__vuelidateInjectInstances||[],r);function s(u){o.value=o.value.filter(f=>f!==u),delete i[u]}t.__vuelidateRemoveInstances=[].concat(t.__vuelidateRemoveInstances||[],s);const l=ue(Z1,[]);$t(Z1,t.__vuelidateInjectInstances);const c=ue(J1,[]);return $t(J1,t.__vuelidateRemoveInstances),{childResults:a,sendValidationResultsToParent:l,removeValidationResultsFromParent:c}}function X1(e){return new Proxy(e,{get(n,t){return typeof n[t]=="object"?X1(n[t]):Y(()=>n[t])}})}let em=0;function U6(e,n){var t;let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(i=e,e=void 0,n=void 0);let{$registerAs:o,$scope:a=Ts.COLLECT_ALL,$stopPropagation:r,$externalResults:s,currentVueInstance:l}=i;const c=l||((t=Ki())===null||t===void 0?void 0:t.proxy),u=c?c.$options:{};o||(em+=1,o=`_vuelidate_${em}`);const f=Z({}),d=new B6,{childResults:p,sendValidationResultsToParent:h,removeValidationResultsFromParent:b}=c?q6({$scope:a,instance:c}):{childResults:Z({})};if(!e&&u.validations){const y=u.validations;n=Z({}),Mt(()=>{n.value=c,Kt(()=>Is(y)?y.call(n.value,new X1(n.value)):y,g=>{f.value=Nf({validations:g,state:n,childResults:p,resultsCache:d,globalConfig:i,instance:c,externalResults:s||c.vuelidateExternalResults})},{immediate:!0})}),i=u.validationsConfig||i}else{const y=Ge(e)||O6(e)?e:Nt(e||{});Kt(y,g=>{f.value=Nf({validations:g,state:n,childResults:p,resultsCache:d,globalConfig:i,instance:c??{},externalResults:s})},{immediate:!0})}return c&&(h.forEach(y=>y(f,{$registerAs:o,$scope:a,$stopPropagation:r})),bd(()=>b.forEach(y=>y(o)))),Y(()=>Ri(Ri({},Ne(f.value)),p.value))}const tm=e=>{if(e=Ne(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let n in e)return!0;return!1}return!!String(e).length};function so(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return i=>(i=Ne(i),!tm(i)||n.every(o=>(o.lastIndex=0,o.test(i))))}so(/^[a-zA-Z]*$/),so(/^[a-zA-Z0-9]*$/),so(/^\d*(\.\d+)?$/),so(/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i);function $6(e){return typeof e=="string"&&(e=e.trim()),tm(e)}var Lf={$validator:$6,$message:"Value is required",$params:{type:"required"}};so(/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i),so(/(^[0-9]*$)|(^-[0-9]+$)/),so(/^[-]?\d*(\.\d+)?$/);function kt(e,n){return n.find(i=>i)??""}function jn(e,n){return kt(e,n)}const Qo=class Qo{static convertDateToTicks(n){const t=n.getTime(),i=n.getTimezoneOffset()*60*1e3;return(t-i)*this.ticksPerMillisecondInCSharp+this.epochTicks}static convertTicksToDate(n){const t=(n-this.epochTicks)/this.ticksPerMillisecondInCSharp,i=new Date(t);return new Date(i.getTime()+i.getTimezoneOffset()*60*1e3)}static isDoubleByte(n){if(typeof n<"u"&&n!=null){for(let t=0,i=n.length;t<i;t+=1)if(n.charCodeAt(t)>255)return!0}return!1}static decodeHtml(n){const t=document.createElement("textarea");return t.innerHTML=n,t.value}static escapeHtml(n){const t=document.createElement("div");return t.innerHTML=n,t.textContent||t.innerText||""}static focusElement(n){setTimeout(()=>{n&&n.focus()},200)}static blurElement(n){setTimeout(()=>{n&&n.blur()},200)}static popupCenter(n,t,i){const o=window.screenLeft!==void 0?window.screenLeft:window.screenX,a=window.screenTop!==void 0?window.screenTop:window.screenY,r=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:window.screen.width,s=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:window.screen.height,l=r/window.screen.availWidth,c=(r-t)/2/l+o,u=(s-i)/2/l+a;return window.open(n,"_blank",`directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes, width=${t}, height=${i}, top=${u}, left=${c}`)}static retrieveHexFromCssColorProperty(n,t,i){const o=this.retrieveCssProperty(n,t),a=Qo.colorNameToHex(o);return a!==""?a.replace("#",""):i}static retrieveCssProperty(n,t){let i="";if(n.$root&&n.$root.$el&&n.$root.$el.getRootNode()instanceof ShadowRoot){const o=n.$root.$el.getRootNode();o&&(i=getComputedStyle(o.host).getPropertyValue(t))}return i}static setCssProperty(n,t,i){if(n.$root&&n.$root.$el&&n.$root.$el.getRootNode()instanceof ShadowRoot){const o=n.$root.$el.getRootNode();o&&o.host.style.setProperty(t,i)}}static colorNameToHex(n){const t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return typeof t[n.toLowerCase()]<"u"?t[n.toLowerCase()]:n}};_(Qo,"epochTicks",621355968e9),_(Qo,"ticksPerMillisecondInCSharp",1e4),_(Qo,"IdGenerator",(()=>{let n=-1;function t(){n=1e5}return{getNext(){return n<0&&t(),n+=1,n}}})());let Ho=Qo;const j6="*{box-sizing:border-box}.materialCheckbox{display:flex;align-items:flex-start;min-height:30px}.materialCheckbox input{cursor:pointer}label.lc_checkbox{display:inline-block;cursor:pointer;position:relative;padding-left:10px;margin:0;color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 3px)}",z6={name:"MaterialCheckbox",props:{value:Boolean,checkName:{type:String,default:""},checkLabel:{type:String,default:""}},data(){return{checked:this.value}},computed:{inputVal:{get(){return this.value},set(e){this.$emit("inputVal",e)}}}},V6={class:R("materialCheckbox")},H6=["id"],W6=["for"];function Y6(e,n,t,i,o,a){return k(),B("div",V6,[Zn(H("input",{id:"ck"+t.checkName,"onUpdate:modelValue":n[0]||(n[0]=r=>a.inputVal=r),type:"checkbox",name:"checkboxInput",class:R(["lc_checkbox"])},null,8,H6),[[d2,a.inputVal]]),H("label",{class:R(["lc_checkbox"]),for:"ck"+t.checkName},Ae(t.checkLabel),9,W6)])}const G6=je(z6,[["render",Y6],["styles",[j6]]]),Q6='*{box-sizing:border-box}.bar{border:0;padding:0;position:relative;display:block;width:100%}.bar:before{content:"";height:2px;width:0;bottom:0;position:absolute;background:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));transition:.3s ease all;left:0}.materialInput,.materialPhone,.materialTextarea{position:relative;flex-grow:1;margin-bottom:5px}.materialInput label,.materialPhone label,.materialTextarea label{color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 3px);font-palette:dark;font-weight:400;position:absolute;pointer-events:none;left:var(--call-us-element-side-offset-small, 5px);top:10px;transition:.3s ease all}.materialInput textarea,.materialPhone textarea,.materialTextarea textarea{overflow-x:hidden;resize:none}.materialInput textarea:focus~label,.materialInput textarea:valid~label,.materialPhone textarea:focus~label,.materialPhone textarea:valid~label,.materialTextarea textarea:focus~label,.materialTextarea textarea:valid~label{top:-30px;font-size:calc(var(--call-us-font-size, 14px) - 1px);color:var(--call-us-main-font-color, #000000)}.materialInput input,.materialPhone input,.materialTextarea input{background:var(--call-us-main-background-color, #FFFFFF)!important}.materialInput input:focus~label,.materialInput input:valid~label,.materialInput input:disabled~label,.materialPhone input:focus~label,.materialPhone input:valid~label,.materialPhone input:disabled~label,.materialTextarea input:focus~label,.materialTextarea input:valid~label,.materialTextarea input:disabled~label{top:-4px;font-size:calc(var(--call-us-font-size, 14px) - 1px);color:var(--call-us-main-font-color, #000000)}.materialInput.safari-input input,.materialPhone.safari-input input,.materialTextarea.safari-input input{font-size:calc(var(--call-us-font-size, 14px) + 2px)}.materialInput input,.materialInput textarea,.materialPhone input,.materialPhone textarea,.materialTextarea input,.materialTextarea textarea{background:none;color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 1px);font-family:inherit;padding:7px 0 3px;display:block;width:100%;border:none;border-radius:0;border-bottom:1px solid var(--call-us-main-font-color, #000000)}.materialInput input:focus,.materialInput textarea:focus,.materialPhone input:focus,.materialPhone textarea:focus,.materialTextarea input:focus,.materialTextarea textarea:focus{outline:none}.materialInput input:focus~.bar:before,.materialInput textarea:focus~.bar:before,.materialPhone input:focus~.bar:before,.materialPhone textarea:focus~.bar:before,.materialTextarea input:focus~.bar:before,.materialTextarea textarea:focus~.bar:before{width:100%}',K6={name:"MaterialInput",props:{value:{type:String,default:""},placeholder:{type:String,default:""},maxLength:{type:String,default:"50"},disabled:Boolean},setup(){return{isMobileSafari:/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&xi()}},computed:{inputVal:{get(){return this.value},set(e){this.$emit("inputVal",e)}}},methods:{focus(){this.$refs.input&&this.$refs.input.focus()}}},Z6=["placeholder","maxlength","disabled"];function J6(e,n,t,i,o,a){return k(),B("div",{class:R(["materialInput",i.isMobileSafari?["safari-input"]:""])},[Zn(H("input",{ref:"input","onUpdate:modelValue":n[0]||(n[0]=r=>a.inputVal=r),placeholder:t.placeholder,autocomplete:"false",maxlength:t.maxLength,type:"text",disabled:t.disabled},null,8,Z6),[[u2,a.inputVal]]),n[1]||(n[1]=H("span",{class:R("bar")},null,-1))],2)}const X6=je(K6,[["render",J6],["styles",[Q6]]]);function Os(e){const n=ue(zt),t=Ot();return{myWebRTCService:e,makeCall(i){t.add(e.call(i===!0||!1).pipe(Fn(1)).subscribe({error:o=>n.onError.next(o)}))},dropCall(){t.add(e.dropCall().pipe(Fn(1)).subscribe({error:i=>n.onError.next(i)}))}}}const eE=Ve({components:{GlyphiconCall:qa,ExitFullScreen:z_},directives:{object:Ba},props:{isPopoutWindow:{type:Boolean,default:!1}},setup(){const e=ue(en),n=Z(null),t=Os(e),{t:i}=Tt(),o=Y(()=>(window.innerWidth>600||window.innerHeight>600)&&e.isFullScreen.value);return Xn(()=>{e.isVideoActive.value&&n.value&&(e.videoContainer=n.value)}),{videoContainer:n,showFullScreenControllButtons:o,exitFullScreen:()=>{e.removeFullscreen()},t:i,...t}}}),tE="*{box-sizing:border-box}:-webkit-full-screen .awayVideo{width:100vw!important;height:100vh!important;max-width:100vw!important;max-height:100vh!important}.video-root{display:flex;align-items:center;position:relative;z-index:var(--call-us-z-index-video-output, 5);height:100%}.video-root video{-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center}.video-root .awayVideo{width:100%;height:100%}.video-root .homeVideo{width:15vw;height:15vh;position:absolute;bottom:0;right:0;border:2px solid #fff}.video-root .awayFullVideo{width:100%;height:100%}.video-root .homeFullVideo{width:15vw;height:15vh;max-width:25%;max-height:25%;position:absolute;bottom:0;right:0;border:2px solid #fff}.video-root .fs-control-btn{display:flex;position:absolute;bottom:50px;left:50%;margin-left:-112.5px}.video-root .fs-control-btn button:hover{background-color:#000000e6}.video-root .fs-control-btn button{width:100px;height:100px;background-color:#0000004d;border-radius:50%;border:solid white}.video-root .fs-control-btn button svg{width:38px;height:38px;fill:#fff}.video-root .fs-control-btn button:nth-child(1){margin-right:15px}.video-root .fs-control-btn button:nth-child(1) svg{transform:var(--call-us-default-rotation-drop-call, rotate(135deg));fill:#d80027}@media screen{.video-root .awayVideo{margin:0 auto}.video-root .homeVideo{max-width:15vw;max-height:15vh;position:absolute;bottom:0;right:5%}}@media screen and (orientation: landscape) and (max-height: 540px){.video-root .awayVideo,.video-root .mirrorVideo{position:fixed;width:100%;height:100%;left:0;top:0;-o-object-fit:contain;object-fit:contain;background-color:var(--call-us-plate-background-color, #494949)}}.video-root .mirrorVideo{transform:scaleX(-1)}",nE={id:"videoContainer",ref:"videoContainer",class:R(["video-root"])},iE={key:2,class:R(["fs-control-btn"])},oE=["aria-label","disabled"],aE=["aria-label"];function rE(e,n,t,i,o,a){const r=le("GlyphiconCall"),s=le("ExitFullScreen"),l=ca("object");return k(),B("div",nE,[e.myWebRTCService&&e.myWebRTCService.videoOnlyRemoteStream.value&&(e.myWebRTCService.media.isVideoReceived||!e.myWebRTCService.media.isVideoSend)?Zn((k(),B("video",{key:0,id:"wplc-remote-video",class:R(e.myWebRTCService.isFullScreen.value?"awayFullVideo":"awayVideo"),playsinline:"",autoplay:""},null,2)),[[l,e.myWebRTCService.videoOnlyRemoteStream.value]]):ae("",!0),e.myWebRTCService&&e.myWebRTCService.videoOnlyLocalStream.value&&e.myWebRTCService.media.isVideoSend?Zn((k(),B("video",{key:1,id:"wplc-home-video",class:R({mirrorVideo:!0,[e.myWebRTCService.isFullScreen.value||!e.isPopoutWindow?"homeFullVideo":"homeVideo"]:e.myWebRTCService.media.isVideoReceived,[e.myWebRTCService.isFullScreen.value||!e.isPopoutWindow?"awayFullVideo":"awayVideo"]:!e.myWebRTCService.media.isVideoReceived}),playsinline:"",autoplay:""},null,2)),[[l,e.myWebRTCService.videoOnlyLocalStream.value]]):ae("",!0),e.showFullScreenControllButtons?(k(),B("div",iE,[H("button",{id:"dropCallBtn",ref:"dropCallBtn","aria-label":e.t("Inputs.EndCallTitle"),disabled:e.myWebRTCService.hasTryingCall.value,onClick:n[0]||(n[0]=(...c)=>e.dropCall&&e.dropCall(...c))},[de(r)],8,oE),H("button",{id:"exitFsBtn",ref:"exitFullScreenBtn","aria-label":e.t("Auth.CloseButton"),onClick:n[1]||(n[1]=(...c)=>e.exitFullScreen&&e.exitFullScreen(...c))},[de(s)],8,aE)])):ae("",!0)],512)}const sE=Ve({components:{GlyphiconTimes:P1,GlyphiconChevron:L1,WplcIconBubble:U1,WplcIconDoubleBubble:q1,VideoOutput:je(eE,[["render",rE],["styles",[tE]]])},props:{config:{type:Object,default:()=>{}},operator:{type:Object,default:()=>Oi},currentState:{type:Number,default:ye.Chat},chatOnline:{type:Boolean,default:!0},isChatUntilCall:Boolean},setup(e,n){const t=ue(Ln),i=ue(en),o=ue(wi),a=ue(zt),r=Z(null),{t:s}=Tt(),l=Z(!1),c=Z(!1),u=kf,f=Y(()=>o.isFullScreen),d=Nt(new ci({name:e.operator.name,image:e.operator.image||e.config.operatorIcon})),p=Y(()=>e.currentState===ye.Chat&&!!t&&t.hasSession&&e.chatOnline||!0),h=Ot();Mt(()=>{t&&(h.add(t.mySession$.pipe(we(C=>C.isOnline)).subscribe(C=>{c.value=!C})),e.config.showOperatorActualName&&t&&h.add(pC(t,e.config).pipe(Cn(()=>p.value)).subscribe(C=>{C&&Object.assign(d,C)})))});const b=Y(()=>!!t&&t.hasSession&&!l.value&&e.chatOnline);Kt(()=>t.hasSession,(C,E)=>{E&&!C&&(l.value=!1)});const y=Y(()=>{let C=[];return!e.isChatUntilCall&&g.value?C=["calling-window"]:e.currentState===ye.Chat?C=["header-small"]:e.currentState===ye.Authenticate&&(C=["header-large"]),C}),g=Y(()=>i.hasCall.value||i.hasRecall.value);return{currentOperator:d,headerContainer:r,hideCloseButton:l,isOffline:c,showClose:b,panelType:y,hasCallOrRecall:g,getPropertyValue:jn,getAgentIcon(){return d.image!==""?d.image:Ms},updateNotFoundImage(C){C&&C.target&&(C.target.src=u)},showMinimize(){return f.value&&!!e.config.allowMinimize},onToggleCollapsed(){a.onToggleCollapsed.next()},onClose(){l.value=!0,n.emit("close")},showOperatorInfo:p,isFullScreen:f,t:s,myWebRTCService:i}}}),lE="button[data-v-512d1bae]{font-family:inherit;width:100%;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid;padding:var(--call-us-element-side-offset-small, 5px) 10px;font-size:var(--call-us-font-size, 14px);outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center}button[data-v-512d1bae]:disabled{opacity:.6;cursor:not-allowed}[data-v-512d1bae]{box-sizing:border-box}.header-root[data-v-512d1bae]{position:relative;display:flex;flex-direction:row;justify-content:flex-start;border-top-right-radius:inherit;border-top-left-radius:inherit;padding:0 var(--call-us-standart-right-left-padding, 11px)}.header-root.active-video[data-v-512d1bae]{flex-wrap:wrap}.header-root.active-video .video-block[data-v-512d1bae]{width:calc(100% + 20px);margin-left:-10px;margin-right:-10px}.header-root.header-small.active-video[data-v-512d1bae]{height:calc(var(--call-us-header-height, 40px) + var(--call-us-video-output-height, 187px));align-items:flex-start}.header-root.header-small.active-video .video-block[data-v-512d1bae]{height:var(--call-us-video-output-height, 187px);align-self:flex-end}.header-root.header-small.active-video .operator-info[data-v-512d1bae]{max-width:43%}.header-root.header-small .operator-info .operator-img-container svg path[data-v-512d1bae]:first-of-type{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.header-root.header-small .operator-info .operator_name[data-v-512d1bae]{color:var(--call-us-plate-font-color, #FFFFFF)}.header-root.header-small[data-v-512d1bae]{background:var(--call-us-plate-background-color, #494949);height:var(--call-us-header-height, 40px);align-items:center}.header-root.header-large.active-video[data-v-512d1bae],.header-root.calling-window.active-video[data-v-512d1bae]{height:calc(var(--call-us-max-height-calling-window, 509px) - var(--call-us-big-bottom-btn-height, 67px) * 2)}.header-root.header-large.active-video.full-screen[data-v-512d1bae],.header-root.calling-window.active-video.full-screen[data-v-512d1bae]{height:calc(100vh - var(--call-us-big-bottom-btn-height, 67px) * 2)!important}.header-root.header-large.active-video.full-screen .video-block[data-v-512d1bae],.header-root.calling-window.active-video.full-screen .video-block[data-v-512d1bae]{height:calc(calc(100vh - var(--call-us-big-bottom-btn-height, 67px) * 2) - var(--call-us-operator-info-height-video-call, 45px) - var(--call-us-header-height, 40px));max-height:calc(calc(100vh - var(--call-us-big-bottom-btn-height, 67px) * 2) - var(--call-us-operator-info-height-video-call, 45px) - var(--call-us-header-height, 40px))}.header-root.header-large.active-video .video-block[data-v-512d1bae],.header-root.calling-window.active-video .video-block[data-v-512d1bae]{height:calc(calc(var(--call-us-max-height-calling-window, 509px) - var(--call-us-big-bottom-btn-height, 67px) * 2) - var(--call-us-operator-info-height-video-call, 45px) - var(--call-us-header-height, 40px));max-height:calc(calc(var(--call-us-max-height-calling-window, 509px) - var(--call-us-big-bottom-btn-height, 67px) * 2) - var(--call-us-operator-info-height-video-call, 45px) - var(--call-us-header-height, 40px));padding-top:var(--call-us-element-side-offset-small, 5px);align-self:flex-end}.header-root.header-large.active-video .operator-info[data-v-512d1bae],.header-root.calling-window.active-video .operator-info[data-v-512d1bae]{height:var(--call-us-operator-info-height-video-call, 45px);margin:0;top:var(--call-us-header-height, 40px);left:17px}.header-root.header-large.active-video .operator-info .operator-img-container[data-v-512d1bae],.header-root.calling-window.active-video .operator-info .operator-img-container[data-v-512d1bae]{width:var(--call-us-operator-info-height-video-call, 45px);height:var(--call-us-operator-info-height-video-call, 45px)}.header-root.header-large.active-video .operator-info .operator-img-container .online-icon[data-v-512d1bae],.header-root.calling-window.active-video .operator-info .operator-img-container .online-icon[data-v-512d1bae]{width:8px;height:8px;right:1px;bottom:5px}.header-root.header-large.active-video .operator-info .operator_name[data-v-512d1bae],.header-root.calling-window.active-video .operator-info .operator_name[data-v-512d1bae]{padding:0 0 15px;margin-left:var(--call-us-element-side-offset-medium, 10px)}.header-root.header-large.active-video .operator-info[data-v-512d1bae],.header-root.calling-window.active-video .operator-info[data-v-512d1bae]{flex-direction:row}.header-root.header-large[data-v-512d1bae],.header-root.calling-window[data-v-512d1bae]{height:var(--call-us-header-height-large, 163px)}.header-root.header-large .powered-by[data-v-512d1bae],.header-root.calling-window .powered-by[data-v-512d1bae]{margin-right:var(--call-us-element-side-offset-medium, 10px);font-size:calc(var(--call-us-font-size, 14px) - 3px);color:var(--call-us-plate-font-color, #FFFFFF)}.header-root.header-large .action_menu[data-v-512d1bae],.header-root.calling-window .action_menu[data-v-512d1bae]{margin-left:auto}.header-root.header-large .operator-info[data-v-512d1bae],.header-root.calling-window .operator-info[data-v-512d1bae]{height:var(--call-us-operator-info-height-authorization, 164px);flex-direction:column;position:absolute;margin:auto;left:0;bottom:0;right:0;top:calc(var(--call-us-header-height, 40px) + 65px);color:var(--call-us-main-font-color, #000000);z-index:var(--call-us-z-index-operator-info-auth, 1)}.header-root.header-large .operator-info .operator-img-container[data-v-512d1bae],.header-root.calling-window .operator-info .operator-img-container[data-v-512d1bae]{width:var(--call-us-operator-auth-icon-width-and-height, 130px);height:var(--call-us-operator-auth-icon-width-and-height, 130px)}.header-root.header-large .operator-info .operator-img-container .operator-img circle[data-v-512d1bae],.header-root.calling-window .operator-info .operator-img-container .operator-img circle[data-v-512d1bae]{stroke:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.header-root.header-large .operator-info .operator-img-container .online-icon[data-v-512d1bae],.header-root.calling-window .operator-info .operator-img-container .online-icon[data-v-512d1bae]{width:12px;height:12px;right:12.8px;bottom:14px;visibility:hidden}.header-root.header-large .operator-info .operator_name[data-v-512d1bae],.header-root.calling-window .operator-info .operator_name[data-v-512d1bae]{padding-top:15px;margin:0}.header-root.header-large[data-v-512d1bae]{background:var(--call-us-accent-with-gradient, linear-gradient(180deg, rgba(34, 34, 34, .02) 0%, rgba(34, 34, 34, .3) 100%), var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4)))}@media screen and (orientation: landscape) and (max-height: 450px){.header-root.header-large[data-v-512d1bae]{flex-direction:row;justify-content:flex-start;height:var(--call-us-header-height, 40px)}.header-root.header-large .operator-info[data-v-512d1bae]{height:var(--call-us-operator-info-height-video-call, 45px);margin:0;top:var(--call-us-header-height, 40px);left:17px}.header-root.header-large .operator-info .operator-img-container[data-v-512d1bae]{width:var(--call-us-operator-info-height-video-call, 45px);height:var(--call-us-operator-info-height-video-call, 45px)}.header-root.header-large .operator-info .operator-img-container .online-icon[data-v-512d1bae]{width:8px;height:8px;right:1px;bottom:5px}.header-root.header-large .operator-info .operator_name[data-v-512d1bae]{padding:0 0 15px;margin-left:var(--call-us-element-side-offset-medium, 10px)}.header-root.header-large .operator-info[data-v-512d1bae]{flex-direction:row}.header-root.header-large .operator-info[data-v-512d1bae]{margin:auto;bottom:0;top:calc(var(--call-us-header-height, 40px) * 2.5)}.header-root.header-large .operator-info .operator_name[data-v-512d1bae]{padding:0}}@media screen and (orientation: landscape) and (max-height: 280px){.header-root.header-large[data-v-512d1bae]{height:30px}}@media screen and (orientation: landscape) and (max-height: 350px){.header-root.header-large .operator-info[data-v-512d1bae]{display:none}}.header-root.calling-window[data-v-512d1bae]{height:var(--call-us-header-height, 40px);position:static}.header-root.calling-window .operator-info[data-v-512d1bae]{bottom:300px;position:absolute;z-index:var(--call-us-z-index-header-call, 4)}.header-root.calling-window .operator-info .operator-img-container .online-icon[data-v-512d1bae]{visibility:visible}.header-root.calling-window .operator-info .operator_name[data-v-512d1bae]{color:#fff}@media screen and (orientation: landscape) and (max-height: 540px){.header-root.calling-window .operator-info[data-v-512d1bae]{height:var(--call-us-operator-info-height-video-call, 45px);margin:0;top:var(--call-us-header-height, 40px);left:17px}.header-root.calling-window .operator-info .operator-img-container[data-v-512d1bae]{width:var(--call-us-operator-info-height-video-call, 45px);height:var(--call-us-operator-info-height-video-call, 45px)}.header-root.calling-window .operator-info .operator-img-container .online-icon[data-v-512d1bae]{width:8px;height:8px;right:1px;bottom:5px}.header-root.calling-window .operator-info .operator_name[data-v-512d1bae]{padding:0 0 15px;margin-left:var(--call-us-element-side-offset-medium, 10px)}.header-root.calling-window .operator-info[data-v-512d1bae]{flex-direction:row}}@media screen and (orientation: landscape) and (max-height: 300px){.header-root.calling-window .operator-info[data-v-512d1bae]{display:none}}.header-root .header-title[data-v-512d1bae]{display:flex;flex-direction:row;height:var(--call-us-header-height, 40px);align-items:center;min-width:0}.header-root .header-title .panel_head_title[data-v-512d1bae]{flex-grow:1;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:var(--call-us-font-size, 14px);line-height:1.5em;margin:0}.header-root .header-title .logo-icon[data-v-512d1bae]{height:var(--call-us-default-line-height, 17px);padding-right:var(--call-us-element-side-offset-small, 5px)}.header-root .operator-info[data-v-512d1bae]{display:flex;flex-direction:row;height:var(--call-us-header-height, 40px);align-items:center;min-width:0}.header-root .operator-info div[data-v-512d1bae]:not(:first-of-type){margin-left:var(--call-us-element-side-offset-small, 5px)}.header-root .operator-info .operator-img-container[data-v-512d1bae]{position:relative;height:28px;width:28px;min-width:28px}.header-root .operator-info .operator-img-container .operator-img[data-v-512d1bae]{height:100%;width:100%}.header-root .operator-info .operator-img-container .operator-img.rounded-circle[data-v-512d1bae]{border-radius:var(--call-us-round-button, 50%);padding:2px;border:1px solid var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.header-root .operator-info .operator-img-container .online-icon[data-v-512d1bae]{position:absolute;height:7px;width:7px;background-color:#4cd137;border-radius:var(--call-us-round-button, 50%);bottom:0;right:0;border:1px solid white}.header-root .operator-info .operator-img-container .offline-icon[data-v-512d1bae]{background-color:#c23616!important}.header-root .operator-info .operator-img-container svg path[data-v-512d1bae]:first-of-type{fill:#eaeaea}.header-root .operator-info .operator_name[data-v-512d1bae]{color:var(--call-us-main-font-color, #000000);font-weight:600;max-width:80%;font-size:calc(var(--call-us-font-size, 14px) + 2px);line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-root .operator-info .operator_name.popout[data-v-512d1bae]{max-width:400px}.header-root .space-expander[data-v-512d1bae]{flex-grow:1}.header-root .powered-by[data-v-512d1bae]{color:var(--call-us-plate-font-color, #FFFFFF);text-decoration:none;font-size:calc(var(--call-us-font-size, 14px) - 3px);-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-grow:1;text-align:right;white-space:nowrap;height:var(--call-us-header-height, 40px);display:flex;align-items:center;justify-content:flex-end;z-index:var(--call-us-z-index-header-call, 4);margin-right:var(--call-us-element-side-offset-medium, 10px)}.header-root .powered-by a[data-v-512d1bae]{color:var(--call-us-plate-font-color, #FFFFFF)}.header-root .powered-by a[data-v-512d1bae]:link,.header-root .powered-by a[data-v-512d1bae]:visited,.header-root .powered-by a[data-v-512d1bae]:hover,.header-root .powered-by a[data-v-512d1bae]:active{text-decoration:none}.header-root .action_menu[data-v-512d1bae]{display:flex;flex-direction:row;height:var(--call-us-header-height, 40px);margin-left:auto;align-items:center}.header-root .action_menu button[data-v-512d1bae]:not(:first-of-type){margin-left:var(--call-us-element-side-offset-small, 5px)}.close_btn[data-v-512d1bae],.minimize_btn[data-v-512d1bae]{margin:0}.close_btn[data-v-512d1bae]:active,.minimize_btn[data-v-512d1bae]:active{transform:scale(1.2)}.close_btn[data-v-512d1bae]{z-index:var(--call-us-z-index-header-call, 4);width:21px;height:21px;background:#fff;border-radius:var(--call-us-round-button, 50%);padding:0;display:flex;justify-content:center;align-items:center;border:none}.close_btn svg[data-v-512d1bae]{fill:#111;width:15px;height:15px}.minimize_btn[data-v-512d1bae]{background:none;padding:0;border:none;width:13px;line-height:13px;height:13px}.minimize_btn svg[data-v-512d1bae]{fill:var(--call-us-plate-font-color, #FFFFFF)}",cE={key:0,class:R(["operator-info"])},fE={class:R(["operator-img-container"])},uE=["src"],dE={key:0,class:R([["online-icon"],["offline-icon"]])},hE={key:1,class:R(["online-icon"])},pE=["title"],mE={key:1,class:R(["header-title"])},gE=["src"],bE={key:2,class:R(["powered-by"])},vE=["aria-label"],yE={key:3,class:R(["video-block"])};function AE(e,n,t,i,o,a){const r=le("WplcIconBubble"),s=le("WplcIconDoubleBubble");le("GlyphiconChevron");const l=le("GlyphiconTimes"),c=le("VideoOutput");return k(),B("div",{ref:"headerContainer",class:R([["header-root"],e.panelType,e.hasCallOrRecall?["call-active"]:"",e.myWebRTCService.isVideoActive.value?["active-video"]:"",e.isFullScreen?["full-screen"]:""])},[e.showOperatorInfo?(k(),B("div",cE,[H("div",fE,[H("img",{ref:"operatorIcon",src:e.getAgentIcon(),alt:"avatar",class:R([["rounded-circle"],["operator-img"]]),onError:n[0]||(n[0]=u=>e.updateNotFoundImage(u))},null,40,uE),e.isOffline?(k(),B("span",dE)):(k(),B("span",hE))]),H("div",{class:R([["operator_name"]]),title:e.currentOperator.name},[H("span",null,Ae(e.currentOperator.name),1)],8,pE)])):(k(),B("div",mE,[e.config.windowIcon!=null&&e.config.windowIcon.replace(/\s/g,"").length>0?(k(),B("img",{key:0,ref:"windowIcon",class:R(["logo-icon"]),src:e.config.windowIcon,alt:"",onError:n[1]||(n[1]=u=>e.updateNotFoundImage(u))},null,40,gE)):e.config.buttonIconType==="bubble"?(k(),Se(r,{key:1,class:R(["logo-icon"])})):e.config.buttonIconType==="doublebubble"?(k(),Se(s,{key:2,class:R(["logo-icon"])})):ae("",!0)])),e.config.enablePoweredby?(k(),B("div",bE,[H("span",null,Ae(e.t("Inputs.PoweredBy")),1)])):ae("",!0),H("div",{class:R([["action_menu"],e.isFullScreen?["full-screen-menu"]:""])},[ae("",!0),e.showClose?(k(),B("button",{key:1,id:"close_btn",type:"button","aria-label":e.t("Auth.CloseButton"),class:R([["action_menu_btn"],["close_btn"]]),onClick:n[3]||(n[3]=u=>e.onClose())},[de(l)],8,vE)):ae("",!0)],2),e.myWebRTCService.isVideoActive.value?(k(),B("div",yE,[de(c,{id:"wplc_videoOutput",ref:"videoOutput"},null,512)])):ae("",!0)],2)}const nm=je(sE,[["render",AE],["styles",[lE]],["__scopeId","data-v-512d1bae"]]),wE=(e,n)=>{const t=Nt({name:"",email:"",gdprAccepted:!1}),i={name:{},email:{},gdprAccepted:{}},o=u=>As(u),a=u=>_f(u),r=u=>ao(u),s=u=>Ef(u),l=u=>u;(e===vt.Both||e===vt.Name)&&(i.name={required:Lf,nameValid:a,maxCharactersReached:r}),(e===vt.Both||e===vt.Email)&&(i.email={required:Lf,emailValid:o,maxEmailCharactersReached:s}),n&&(i.gdprAccepted={required:Lf,checkboxSelected:l});const c=U6(i,t);return{state:t,v$:c}},CE=Ve({components:{Panel:xf,CallUsHeader:nm,MessageSolid:$1,MaterialCheckbox:G6,MaterialInput:X6,Loading:V1},shadow:!1,props:{startMinimized:{type:Boolean},config:{type:Object,default:()=>{}},chatEnabled:{type:Boolean,default:!1},operator:{type:Object,default:()=>Oi}},setup(e,n){const t=ue(zt),i=ue(Eo),o=ue(wi),a=ue(Ln),r=Z(null),s=Z(null),l=Z(null),c=Z(!1),u=Z(!1),f=Z(!1),d=Z(!1),p=Z(e.config.authenticationType),h=Z(null),{t:b}=Tt(),y=Ot(),{state:g,v$:C}=wE(p.value,e.config.gdprEnabled),E=Y(()=>{var W;return d&&!!((W=a.auth)!=null&&W.email)}),x=Y(()=>{var W;return d&&!!((W=a.auth)!=null&&W.name)&&a.auth.name!==wf}),M=W=>{g.gdprAccepted=W},U=W=>{g.name=W},N=W=>{g.email=W},K=()=>{c.value=!0,C&&(C.value.$touch(),(!C.value.$invalid||p.value===vt.None)&&(d.value||(g.name||g.email?a.setAuthentication({name:g.name,email:g.email}):a.setAuthentication({name:wf})),(!e.config.gdprEnabled||!C.value.gdprAccepted.$error)&&n.emit("submit-auth")))},re=()=>{r.value instanceof HTMLElement?Ho.focusElement(r.value):s.value instanceof HTMLElement&&Ho.focusElement(s.value)};return Mt(()=>{a.auth?(p.value=vt.None,d.value=!0,g.name=a.auth.name||"",g.email=a.auth.email||""):(y.add(t.onRestored.subscribe({next:()=>re()})),u.value=!!e.config.visitorName,f.value=!!e.config.visitorEmail,g.name=e.config.visitorName||"",g.email=e.config.visitorEmail||"")}),Xn(()=>{var W;(W=h==null?void 0:h.value)==null||W.addEventListener("wheel",ee=>{var Be;ee.preventDefault();const he=h.value.scrollTop+-ee.wheelDelta*.05;(Be=h==null?void 0:h.value)==null||Be.scrollTo({top:he})},{passive:!1}),re()}),{nameInput:r,emailInput:s,submitButton:l,fullscreenService:o,ViewState:ye,loadingService:i,authType:p,AuthenticationType:vt,showEmailProvided:E,showNameProvided:x,getPropertyValue:jn,submit:K,isNameDisabled:u,isSubmitted:c,isEmailDisabled:f,authProvided:d,gdprChanged:M,gdprBox:h,t:b,state:g,handleInputName:U,handleInputEmail:N,v$:C}}}),_E="[data-v-910db608]{box-sizing:border-box}@keyframes fadeIn-910db608{0%{opacity:0}to{opacity:1}}.fadeIn[data-v-910db608]{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn-910db608;animation-delay:.5s}.slideLeft[data-v-910db608]{animation:slideLeft-910db608 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft-910db608{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight[data-v-910db608]{animation:slideRight-910db608 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight-910db608{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp[data-v-910db608]{animation:slideUp-910db608 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp-910db608{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge[data-v-910db608],form .error[data-v-910db608]{animation:nudge-910db608 1s ease-in}@keyframes nudge-910db608{0%{opacity:0}to{opacity:1}}@keyframes fly-in-910db608{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in[data-v-910db608]{transition:all .5s;animation-duration:.3s;animation-name:fly-in-910db608}@keyframes show-with-delay-910db608{0%{opacity:0}to{opacity:1}}.show-with-delay[data-v-910db608]{animation-name:show-with-delay-910db608;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin[data-v-910db608]{animation:spin-910db608 2s linear infinite}@keyframes spin-910db608{0%{transform:rotate(0)}to{transform:rotate(1turn)}}form[data-v-910db608]{position:relative}form .error[data-v-910db608]{color:red;font-size:calc(var(--call-us-font-size, 14px) - 3px)}form[data-v-910db608] ::-moz-placeholder{color:#777;opacity:1}form[data-v-910db608] ::placeholder{color:#777;opacity:1}.custom-scrollbar[data-v-910db608]::-webkit-scrollbar,.auth-root form .form_body .gdrp-box[data-v-910db608]::-webkit-scrollbar{width:4px}.custom-scrollbar[data-v-910db608]::-webkit-scrollbar-track,.auth-root form .form_body .gdrp-box[data-v-910db608]::-webkit-scrollbar-track{background:#f1f1f1}.custom-scrollbar[data-v-910db608]::-webkit-scrollbar-thumb,.auth-root form .form_body .gdrp-box[data-v-910db608]::-webkit-scrollbar-thumb{background:#888}.custom-scrollbar[data-v-910db608]::-webkit-scrollbar-thumb:hover,.auth-root form .form_body .gdrp-box[data-v-910db608]::-webkit-scrollbar-thumb:hover{background:#555}.auth-root[data-v-910db608]{display:flex;align-items:center;justify-content:center;height:100%;flex-flow:column;margin-block-end:0;flex-grow:1}.auth-root button[data-v-910db608]{cursor:pointer}.auth-root form[data-v-910db608]{width:100%;flex-grow:1;display:flex;flex-direction:column;overflow-y:auto;margin-block-end:0}.auth-root form .form_body[data-v-910db608]{line-height:var(--call-us-default-line-height, 17px);flex-grow:1;display:flex;flex-direction:column;overflow-y:auto;justify-content:var(--call-us-justify-content-auth-form, center);padding:50px var(--call-us-element-side-offset-high, 20px) 20px var(--call-us-element-side-offset-high, 20px)}@media screen and (orientation: landscape) and (max-height: 350px){.auth-root form .form_body[data-v-910db608]{padding:10px var(--call-us-element-side-offset-high, 20px) 10px var(--call-us-element-side-offset-high, 20px)}}.auth-root form .form_body input[data-v-910db608]{padding:var(--call-us-element-side-offset-medium, 10px) 0 5px 0}.auth-root form .form_body .chatIntroText[data-v-910db608],.auth-root form .form_body .replaceFieldsText[data-v-910db608]{color:var(--call-us-main-font-color, #000000)}.auth-root form .form_body .gdrp-box[data-v-910db608]{padding:5px;overflow-y:auto;max-height:90%;white-space:pre-wrap;word-break:break-word}.auth-root form .form_body .gdpr-error[data-v-910db608]{padding-left:30px}.auth-root form .form_body .chatIntroText[data-v-910db608]{word-break:break-word}.auth-root form .form_body .chatIntroText[data-v-910db608],.auth-root form .form_body .replaceFieldsText[data-v-910db608]{margin:var(--call-us-element-side-offset-small, 5px) 0 0 0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.auth-root form .form_body .replaceFieldsText[data-v-910db608]{font-weight:700;text-align:center}.auth-root .chat-disabled-container[data-v-910db608]{color:#646464;display:flex;flex:1 1 auto;flex-direction:row;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:1em}.auth-root[data-v-910db608] :focus{outline:none}.submit[data-v-910db608]{min-height:var(--call-us-submit-button-height, 44px);border:none;display:flex;justify-content:center;align-items:center}@media screen and (orientation: landscape) and (max-height: 350px){.submit[data-v-910db608]{min-height:30px}}.submit svg[data-v-910db608]{margin-right:15px;width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:var(--call-us-plate-font-color, #FFFFFF)}.submit[data-v-910db608]:active{opacity:.9}.submit[data-v-910db608]{transition:.1s ease all}.submit[data-v-910db608]{line-height:var(--call-us-default-line-height, 17px);align-self:flex-end;color:var(--call-us-plate-font-color, #FFFFFF);width:100%;height:var(--call-us-submit-button-height, 44px);background:var(--call-us-plate-background-color, #494949);margin:0;border-radius:0 0 6px 6px}",EE={slot:"panel-content",class:R("auth-root")},SE={class:R(["form_body"])},ME={key:0,class:R(["replaceFieldsText"])},IE={key:1,class:R("chatIntroText")},TE={key:2},OE={key:0},kE={key:0,class:R("error")},xE={key:1,class:R("error")},RE={key:2,class:R("error")},NE={key:3},LE={key:0},PE={key:0,class:R("error")},DE={key:1,class:R("error")},FE={key:2,class:R("error")},BE={ref:"gdprBox",class:R(["gdrp-box"])},qE={key:0,class:R(["gdpr-error"])},UE={key:0,class:R("error")},$E=["aria-label"],jE={key:1,ref:"chatDisabledMessage",class:R(["chat-disabled-container"])};function zE(e,n,t,i,o,a){const r=le("CallUsHeader"),s=le("Loading"),l=le("MaterialInput"),c=le("MaterialCheckbox"),u=le("MessageSolid"),f=le("Panel");return k(),Se(f,{config:e.config,startMinimized:e.startMinimized,allowMinimize:e.config.allowMinimize,panelState:e.ViewState.Authenticate,fullScreenService:e.fullscreenService,operator:e.operator},{"panel-top":Gt(()=>[de(r,{currentState:e.ViewState.Authenticate,config:e.config,operator:e.operator,isFullScreen:e.fullscreenService.isFullScreen},null,8,["currentState","config","operator","isFullScreen"])]),"panel-content":Gt(()=>[H("div",EE,[e.chatEnabled?(k(),B("form",{key:0,ref:"authenticateForm",novalidate:"true",onSubmit:n[0]||(n[0]=cn((...d)=>e.submit&&e.submit(...d),["prevent"]))},[H("div",SE,[de(s,{show:e.loadingService.loading(),text:"loading"},null,8,["show"]),e.authType===e.AuthenticationType.None?(k(),B("div",ME)):(k(),B("div",IE,Ae(e.getPropertyValue("ChatIntro",[e.config.authenticationMessage,e.t("Auth.ChatIntro")])),1)),e.authType===e.AuthenticationType.Both||e.authType===e.AuthenticationType.Name||e.showNameProvided?(k(),B("div",TE,[de(l,{id:"auth_name",ref:"nameInput",value:e.state.name,onInputVal:e.handleInputName,placeholder:e.t("Auth.Name"),disabled:e.isNameDisabled||e.authProvided,name:"name"},null,8,["value","onInputVal","placeholder","disabled"]),!e.showNameProvided&&e.v$.name.$dirty&&e.isSubmitted?(k(),B("div",OE,[e.v$.name.required.$invalid?(k(),B("div",kE,Ae(e.t("Auth.FieldValidation")),1)):e.v$.name.nameValid.$invalid?(k(),B("div",xE,Ae(e.t("Auth.EnterValidName")),1)):e.v$.name.maxCharactersReached.$invalid?(k(),B("div",RE,Ae(e.t("Auth.MaxCharactersReached")),1)):ae("",!0)])):ae("",!0)])):ae("",!0),e.authType===e.AuthenticationType.Both||e.authType===e.AuthenticationType.Email||e.showEmailProvided?(k(),B("div",NE,[de(l,{id:"auth_email",ref:"emailInput",value:e.state.email,onInputVal:e.handleInputEmail,name:"emailInput",placeholder:e.t("Auth.Email"),"max-length":"254",disabled:e.isEmailDisabled||e.authProvided},null,8,["value","onInputVal","placeholder","disabled"]),!e.showEmailProvided&&e.v$.email.$dirty&&e.isSubmitted?(k(),B("div",LE,[e.v$.email.required.$invalid?(k(),B("div",PE,Ae(e.t("Auth.FieldValidation")),1)):e.v$.email.emailValid.$invalid?(k(),B("div",DE,Ae(e.t("Auth.EnterValidEmail")),1)):e.v$.email.maxEmailCharactersReached.$invalid?(k(),B("div",FE,Ae(e.t("Auth.MaxCharactersReached")),1)):ae("",!0)])):ae("",!0)])):ae("",!0),e.config.gdprEnabled?(k(),B(rt,{key:4},[H("div",BE,[de(c,{id:"auth_gdpr",ref:"gdprCheck",value:e.state.gdprAccepted,onInputVal:e.gdprChanged,checkName:"gdprCheck",checkLabel:e.config.gdprMessage},null,8,["value","onInputVal","checkLabel"])],512),e.isSubmitted?(k(),B("div",qE,[e.v$.gdprAccepted.$invalid?(k(),B("div",UE,Ae(e.t("Auth.FieldValidation")),1)):ae("",!0)])):ae("",!0)],64)):ae("",!0)]),H("button",{id:"submitBtn",ref:"submitButton","aria-label":e.t("Auth.Submit"),class:R("submit"),type:"submit"},[de(u),ei(" "+Ae(e.getPropertyValue("StartButtonText",[e.config.startChatButtonText,e.t("Auth.Submit")])),1)],8,$E)],544)):(k(),B("div",jE,[H("div",null,Ae(e.t("Inputs.ChatIsDisabled")),1)],512))])]),_:1},8,["config","startMinimized","allowMinimize","panelState","fullScreenService","operator"])}const VE=je(CE,[["render",zE],["styles",[_E]],["__scopeId","data-v-910db608"]]);var Wo=(e=>(e[e.try=1]="try",e[e.ok=2]="ok",e[e.restart=3]="restart",e))(Wo||{});class ks{constructor(n){_(this,"chatUniqueCode");_(this,"notifyServer");_(this,"closedByClient");_(this,"closeMessage");Object.assign(this,n)}}const HE=Ve({props:{message:{type:String,default:""},button:{type:Number,default:Wo.ok}},setup(e,n){const{t}=Tt(),i=Z(null);return Xn(()=>{var o;(o=i.value)==null||o.focus()}),{submitButton:i,t,submit(){n.emit("submit")}}}}),WE="*{box-sizing:border-box}* button{font-family:inherit;width:100%;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid;padding:var(--call-us-element-side-offset-small, 5px) 10px;font-size:var(--call-us-font-size, 14px);outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center}* button:disabled{opacity:.6;cursor:not-allowed}.root-overlay{bottom:0;left:0;position:absolute;right:0;top:0;align-items:center;justify-content:center;overflow:hidden;z-index:var(--call-us-z-index-overlay, 6);display:flex}.root-overlay .content{border-radius:6px;background:var(--call-us-main-background-color, #FFFFFF);font-size:var(--call-us-font-size, 14px);display:flex;flex-direction:column;align-items:center;position:relative;width:80%}.root-overlay .content .content-message{color:var(--call-us-main-font-color, #000000);display:flex;flex-direction:column;width:100%;flex-grow:1;padding:var(--call-us-standart-right-left-padding, 11px)}.root-overlay .content button{font-size:var(--call-us-font-size, 14px)}.root-overlay .background{z-index:-1;bottom:0;left:0;position:absolute;right:0;top:0;background:#000;opacity:.5}.submit svg{margin-right:15px;width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:var(--call-us-plate-font-color, #FFFFFF)}.submit:active{opacity:.9}.submit{transition:.1s ease all}.submit{line-height:var(--call-us-default-line-height, 17px);align-self:flex-end;color:var(--call-us-plate-font-color, #FFFFFF);width:100%;height:var(--call-us-submit-button-height, 44px);background:var(--call-us-plate-background-color, #494949);margin:0;border-radius:0 0 6px 6px}",YE={class:R("root-overlay")},GE={class:R("content")},QE={class:R(["content-message"])},KE=["aria-label"];function ZE(e,n,t,i,o,a){return k(),B("div",YE,[H("div",GE,[H("div",QE,Ae(e.message),1),H("button",{id:"submitBtn",ref:"submitButton","aria-label":e.button===1?e.t("MessageBox.TryAgain"):e.t("MessageBox.Ok"),class:R("submit"),type:"submit",onClick:n[0]||(n[0]=(...r)=>e.submit&&e.submit(...r))},Ae(e.button===1?e.t("MessageBox.TryAgain"):e.t("MessageBox.Ok")),9,KE)]),H("div",{class:R("background"),onClick:n[1]||(n[1]=(...r)=>e.submit&&e.submit(...r))})])}const JE=je(HE,[["render",ZE],["styles",[WE]]]),im={"*\\0/*":"1f646","*\\O/*":"1f646","-___-":"1f611",":'-)":"1f602","':-)":"1f605","':-D":"1f605",">:-)":"1f606","':-(":"1f613",">:-(":"1f620",":'-(":"1f622","O:-)":"1f607","0:-3":"1f607","0:-)":"1f607","0;^)":"1f607","O;-)":"1f607","0;-)":"1f607","O:-3":"1f607","-__-":"1f611",":-Þ":"1f61b","</3":"1f494",":')":"1f602",":-D":"1f603","':)":"1f605","'=)":"1f605","':D":"1f605","'=D":"1f605",">:)":"1f606",">;)":"1f606",">=)":"1f606",";-)":"1f609","*-)":"1f609",";-]":"1f609",";^)":"1f609","':(":"1f613","'=(":"1f613",":-*":"1f618",":^*":"1f618",">:P":"1f61c","X-P":"1f61c",">:[":"1f61e",":-(":"1f61e",":-[":"1f61e",">:(":"1f620",":'(":"1f622",";-(":"1f622",">.<":"1f623","#-)":"1f635","%-)":"1f635","X-)":"1f635","\\0/":"1f646","\\O/":"1f646","0:3":"1f607","0:)":"1f607","O:)":"1f607","O=)":"1f607","O:3":"1f607","B-)":"1f60e","8-)":"1f60e","B-D":"1f60e","8-D":"1f60e","-_-":"1f611",">:\\":"1f615",">:/":"1f615",":-/":"1f615",":-.":"1f615",":-P":"1f61b",":Þ":"1f61b",":-b":"1f61b",":-O":"1f62e",O_O:"1f62e",">:O":"1f62e",":-X":"1f636",":-#":"1f636",":-)":"1f642","(y)":"1f44d","<3":"2764",":D":"1f603","=D":"1f603",";)":"1f609","*)":"1f609",";]":"1f609",";D":"1f609",":*":"1f618","=*":"1f618",":(":"1f61e",":[":"1f61e","=(":"1f61e",":@":"1f620",";(":"1f622","D:":"1f628",":$":"1f633","=$":"1f633","#)":"1f635","%)":"1f635","X)":"1f635","B)":"1f60e","8)":"1f60e",":/":"1f615",":\\":"1f615","=/":"1f615","=\\":"1f615",":L":"1f615","=L":"1f615",":P":"1f61b","=P":"1f61b",":b":"1f61b",":O":"1f62e",":X":"1f636",":#":"1f636","=X":"1f636","=#":"1f636",":)":"1f642","=]":"1f642","=)":"1f642",":]":"1f642"},XE="(\\*\\\\0\\/\\*|\\*\\\\O\\/\\*|\\-___\\-|\\:'\\-\\)|'\\:\\-\\)|'\\:\\-D|\\>\\:\\-\\)|>\\:\\-\\)|'\\:\\-\\(|\\>\\:\\-\\(|>\\:\\-\\(|\\:'\\-\\(|O\\:\\-\\)|0\\:\\-3|0\\:\\-\\)|0;\\^\\)|O;\\-\\)|0;\\-\\)|O\\:\\-3|\\-__\\-|\\:\\-Þ|\\:\\-Þ|\\<\\/3|<\\/3|\\:'\\)|\\:\\-D|'\\:\\)|'\\=\\)|'\\:D|'\\=D|\\>\\:\\)|>\\:\\)|\\>;\\)|>;\\)|\\>\\=\\)|>\\=\\)|;\\-\\)|\\*\\-\\)|;\\-\\]|;\\^\\)|'\\:\\(|'\\=\\(|\\:\\-\\*|\\:\\^\\*|\\>\\:P|>\\:P|X\\-P|\\>\\:\\[|>\\:\\[|\\:\\-\\(|\\:\\-\\[|\\>\\:\\(|>\\:\\(|\\:'\\(|;\\-\\(|\\>\\.\\<|>\\.<|#\\-\\)|%\\-\\)|X\\-\\)|\\\\0\\/|\\\\O\\/|0\\:3|0\\:\\)|O\\:\\)|O\\=\\)|O\\:3|B\\-\\)|8\\-\\)|B\\-D|8\\-D|\\-_\\-|\\>\\:\\\\|>\\:\\\\|\\>\\:\\/|>\\:\\/|\\:\\-\\/|\\:\\-\\.|\\:\\-P|\\:Þ|\\:Þ|\\:\\-b|\\:\\-O|O_O|\\>\\:O|>\\:O|\\:\\-X|\\:\\-#|\\:\\-\\)|\\(y\\)|\\<3|<3|\\:D|\\=D|;\\)|\\*\\)|;\\]|;D|\\:\\*|\\=\\*|\\:\\(|\\:\\[|\\=\\(|\\:@|;\\(|D\\:|\\:\\$|\\=\\$|#\\)|%\\)|X\\)|B\\)|8\\)|\\:\\/|\\:\\\\|\\=\\/|\\=\\\\|\\:L|\\=L|\\:P|\\=P|\\:b|\\:O|\\:X|\\:#|\\=X|\\=#|\\:\\)|\\=\\]|\\=\\)|\\:\\])",eS=new RegExp(`<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|((\\s|^)${XE}(?=\\s|$|[!,.?]))`,"gi");function kO(e){return e}function tS(e){if(e.indexOf("-")>-1){const t=[],i=e.split("-");for(let o=0;o<i.length;o+=1){let a=parseInt(i[o],16);if(a>=65536&&a<=1114111){const r=Math.floor((a-65536)/1024)+55296,s=(a-65536)%1024+56320;a=String.fromCharCode(r)+String.fromCharCode(s)}else a=String.fromCharCode(a);t.push(a)}return t.join("")}const n=parseInt(e,16);if(n>=65536&&n<=1114111){const t=Math.floor((n-65536)/1024)+55296,i=(n-65536)%1024+56320;return String.fromCharCode(t)+String.fromCharCode(i)}return String.fromCharCode(n)}function nS(e){return e.replace(eS,(n,t,i,o)=>{if(typeof o>"u"||o===""||!(o in im))return n;o=o;const a=im[o].toUpperCase();return i+tS(a)})}var Ua={exports:{}};/*! * bytes * Copyright(c) 2012-2014 TJ Holowaychuk * Copyright(c) 2015 Jed Watson * MIT Licensed */var om;function iS(){if(om)return Ua.exports;om=1,Ua.exports=o,Ua.exports.format=a,Ua.exports.parse=r;var e=/\B(?=(\d{3})+(?!\d))/g,n=/(?:\.0*|(\.[^0]+)0+)$/,t={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:Math.pow(1024,4),pb:Math.pow(1024,5)},i=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function o(s,l){return typeof s=="string"?r(s):typeof s=="number"?a(s,l):null}function a(s,l){if(!Number.isFinite(s))return null;var c=Math.abs(s),u=l&&l.thousandsSeparator||"",f=l&&l.unitSeparator||"",d=l&&l.decimalPlaces!==void 0?l.decimalPlaces:2,p=!!(l&&l.fixedDecimals),h=l&&l.unit||"";(!h||!t[h.toLowerCase()])&&(c>=t.pb?h="PB":c>=t.tb?h="TB":c>=t.gb?h="GB":c>=t.mb?h="MB":c>=t.kb?h="KB":h="B");var b=s/t[h.toLowerCase()],y=b.toFixed(d);return p||(y=y.replace(n,"$1")),u&&(y=y.split(".").map(function(g,C){return C===0?g.replace(e,u):g}).join(".")),y+f+h}function r(s){if(typeof s=="number"&&!isNaN(s))return s;if(typeof s!="string")return null;var l=i.exec(s),c,u="b";return l?(c=parseFloat(l[1]),u=l[4].toLowerCase()):(c=parseInt(s,10),u="b"),isNaN(c)?null:Math.floor(t[u]*c)}return Ua.exports}var oS=iS();const aS=Sn(oS),rS="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",sS="ελ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",Pf="numeric",Df="ascii",Ff="alpha",$a="asciinumeric",ja="alphanumeric",Bf="domain",am="emoji",lS="scheme",cS="slashscheme",qf="whitespace";function fS(e,n){return e in n||(n[e]=[]),n[e]}function lo(e,n,t){n[Pf]&&(n[$a]=!0,n[ja]=!0),n[Df]&&(n[$a]=!0,n[Ff]=!0),n[$a]&&(n[ja]=!0),n[Ff]&&(n[ja]=!0),n[ja]&&(n[Bf]=!0),n[am]&&(n[Bf]=!0);for(const i in n){const o=fS(i,t);o.indexOf(e)<0&&o.push(e)}}function uS(e,n){const t={};for(const i in n)n[i].indexOf(e)>=0&&(t[i]=!0);return t}function rn(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}rn.groups={},rn.prototype={accepts(){return!!this.t},go(e){const n=this,t=n.j[e];if(t)return t;for(let i=0;i<n.jr.length;i++){const o=n.jr[i][0],a=n.jr[i][1];if(a&&o.test(e))return a}return n.jd},has(e,n=!1){return n?e in this.j:!!this.go(e)},ta(e,n,t,i){for(let o=0;o<e.length;o++)this.tt(e[o],n,t,i)},tr(e,n,t,i){i=i||rn.groups;let o;return n&&n.j?o=n:(o=new rn(n),t&&i&&lo(n,t,i)),this.jr.push([e,o]),o},ts(e,n,t,i){let o=this;const a=e.length;if(!a)return o;for(let r=0;r<a-1;r++)o=o.tt(e[r]);return o.tt(e[a-1],n,t,i)},tt(e,n,t,i){i=i||rn.groups;const o=this;if(n&&n.j)return o.j[e]=n,n;const a=n;let r,s=o.go(e);if(s?(r=new rn,Object.assign(r.j,s.j),r.jr.push.apply(r.jr,s.jr),r.jd=s.jd,r.t=s.t):r=new rn,a){if(i)if(r.t&&typeof r.t=="string"){const l=Object.assign(uS(r.t,i),t);lo(a,l,i)}else t&&lo(a,t,i);r.t=a}return o.j[e]=r,r}};const _e=(e,n,t,i,o)=>e.ta(n,t,i,o),ot=(e,n,t,i,o)=>e.tr(n,t,i,o),rm=(e,n,t,i,o)=>e.ts(n,t,i,o),G=(e,n,t,i,o)=>e.tt(n,t,i,o),fi="WORD",Uf="UWORD",sm="ASCIINUMERICAL",lm="ALPHANUMERICAL",za="LOCALHOST",$f="TLD",jf="UTLD",xs="SCHEME",Yo="SLASH_SCHEME",zf="NUM",Vf="WS",Hf="NL",Va="OPENBRACE",Ha="CLOSEBRACE",Rs="OPENBRACKET",Ns="CLOSEBRACKET",Ls="OPENPAREN",Ps="CLOSEPAREN",Ds="OPENANGLEBRACKET",Fs="CLOSEANGLEBRACKET",Bs="FULLWIDTHLEFTPAREN",qs="FULLWIDTHRIGHTPAREN",Us="LEFTCORNERBRACKET",$s="RIGHTCORNERBRACKET",js="LEFTWHITECORNERBRACKET",zs="RIGHTWHITECORNERBRACKET",Vs="FULLWIDTHLESSTHAN",Hs="FULLWIDTHGREATERTHAN",Ws="AMPERSAND",Ys="APOSTROPHE",Gs="ASTERISK",Ni="AT",Qs="BACKSLASH",Ks="BACKTICK",Zs="CARET",Li="COLON",Wf="COMMA",Js="DOLLAR",zn="DOT",Xs="EQUALS",Yf="EXCLAMATION",mn="HYPHEN",Wa="PERCENT",el="PIPE",tl="PLUS",nl="POUND",Ya="QUERY",Gf="QUOTE",cm="FULLWIDTHMIDDLEDOT",Qf="SEMI",Vn="SLASH",Ga="TILDE",il="UNDERSCORE",fm="EMOJI",ol="SYM";var um=Object.freeze({__proto__:null,ALPHANUMERICAL:lm,AMPERSAND:Ws,APOSTROPHE:Ys,ASCIINUMERICAL:sm,ASTERISK:Gs,AT:Ni,BACKSLASH:Qs,BACKTICK:Ks,CARET:Zs,CLOSEANGLEBRACKET:Fs,CLOSEBRACE:Ha,CLOSEBRACKET:Ns,CLOSEPAREN:Ps,COLON:Li,COMMA:Wf,DOLLAR:Js,DOT:zn,EMOJI:fm,EQUALS:Xs,EXCLAMATION:Yf,FULLWIDTHGREATERTHAN:Hs,FULLWIDTHLEFTPAREN:Bs,FULLWIDTHLESSTHAN:Vs,FULLWIDTHMIDDLEDOT:cm,FULLWIDTHRIGHTPAREN:qs,HYPHEN:mn,LEFTCORNERBRACKET:Us,LEFTWHITECORNERBRACKET:js,LOCALHOST:za,NL:Hf,NUM:zf,OPENANGLEBRACKET:Ds,OPENBRACE:Va,OPENBRACKET:Rs,OPENPAREN:Ls,PERCENT:Wa,PIPE:el,PLUS:tl,POUND:nl,QUERY:Ya,QUOTE:Gf,RIGHTCORNERBRACKET:$s,RIGHTWHITECORNERBRACKET:zs,SCHEME:xs,SEMI:Qf,SLASH:Vn,SLASH_SCHEME:Yo,SYM:ol,TILDE:Ga,TLD:$f,UNDERSCORE:il,UTLD:jf,UWORD:Uf,WORD:fi,WS:Vf});const ui=/[a-z]/,Qa=new RegExp("\\p{L}","u"),Kf=new RegExp("\\p{Emoji}","u"),di=/\d/,Zf=/\s/,dm="\r",Jf=` `,dS="️",hS="",Xf="";let al=null,rl=null;function pS(e=[]){const n={};rn.groups=n;const t=new rn;al==null&&(al=pm(rS)),rl==null&&(rl=pm(sS)),G(t,"'",Ys),G(t,"{",Va),G(t,"}",Ha),G(t,"[",Rs),G(t,"]",Ns),G(t,"(",Ls),G(t,")",Ps),G(t,"<",Ds),G(t,">",Fs),G(t,"(",Bs),G(t,")",qs),G(t,"「",Us),G(t,"」",$s),G(t,"『",js),G(t,"』",zs),G(t,"<",Vs),G(t,">",Hs),G(t,"&",Ws),G(t,"*",Gs),G(t,"@",Ni),G(t,"`",Ks),G(t,"^",Zs),G(t,":",Li),G(t,",",Wf),G(t,"$",Js),G(t,".",zn),G(t,"=",Xs),G(t,"!",Yf),G(t,"-",mn),G(t,"%",Wa),G(t,"|",el),G(t,"+",tl),G(t,"#",nl),G(t,"?",Ya),G(t,'"',Gf),G(t,"/",Vn),G(t,";",Qf),G(t,"~",Ga),G(t,"_",il),G(t,"\\",Qs),G(t,"・",cm);const i=ot(t,di,zf,{[Pf]:!0});ot(i,di,i);const o=ot(i,ui,sm,{[$a]:!0}),a=ot(i,Qa,lm,{[ja]:!0}),r=ot(t,ui,fi,{[Df]:!0});ot(r,di,o),ot(r,ui,r),ot(o,di,o),ot(o,ui,o);const s=ot(t,Qa,Uf,{[Ff]:!0});ot(s,ui),ot(s,di,a),ot(s,Qa,s),ot(a,di,a),ot(a,ui),ot(a,Qa,a);const l=G(t,Jf,Hf,{[qf]:!0}),c=G(t,dm,Vf,{[qf]:!0}),u=ot(t,Zf,Vf,{[qf]:!0});G(t,Xf,u),G(c,Jf,l),G(c,Xf,u),ot(c,Zf,u),G(u,dm),G(u,Jf),ot(u,Zf,u),G(u,Xf,u);const f=ot(t,Kf,fm,{[am]:!0});G(f,"#"),ot(f,Kf,f),G(f,dS,f);const d=G(f,hS);G(d,"#"),ot(d,Kf,f);const p=[[ui,r],[di,o]],h=[[ui,null],[Qa,s],[di,a]];for(let b=0;b<al.length;b++)Pi(t,al[b],$f,fi,p);for(let b=0;b<rl.length;b++)Pi(t,rl[b],jf,Uf,h);lo($f,{tld:!0,ascii:!0},n),lo(jf,{utld:!0,alpha:!0},n),Pi(t,"file",xs,fi,p),Pi(t,"mailto",xs,fi,p),Pi(t,"http",Yo,fi,p),Pi(t,"https",Yo,fi,p),Pi(t,"ftp",Yo,fi,p),Pi(t,"ftps",Yo,fi,p),lo(xs,{scheme:!0,ascii:!0},n),lo(Yo,{slashscheme:!0,ascii:!0},n),e=e.sort((b,y)=>b[0]>y[0]?1:-1);for(let b=0;b<e.length;b++){const y=e[b][0],C=e[b][1]?{[lS]:!0}:{[cS]:!0};y.indexOf("-")>=0?C[Bf]=!0:ui.test(y)?di.test(y)?C[$a]=!0:C[Df]=!0:C[Pf]=!0,rm(t,y,y,C)}return rm(t,"localhost",za,{ascii:!0}),t.jd=new rn(ol),{start:t,tokens:Object.assign({groups:n},um)}}function hm(e,n){const t=mS(n.replace(/[A-Z]/g,s=>s.toLowerCase())),i=t.length,o=[];let a=0,r=0;for(;r<i;){let s=e,l=null,c=0,u=null,f=-1,d=-1;for(;r<i&&(l=s.go(t[r]));)s=l,s.accepts()?(f=0,d=0,u=s):f>=0&&(f+=t[r].length,d++),c+=t[r].length,a+=t[r].length,r++;a-=f,r-=d,c-=f,o.push({t:u.t,v:n.slice(a-c,a),s:a-c,e:a})}return o}function mS(e){const n=[],t=e.length;let i=0;for(;i<t;){let o=e.charCodeAt(i),a,r=o<55296||o>56319||i+1===t||(a=e.charCodeAt(i+1))<56320||a>57343?e[i]:e.slice(i,i+2);n.push(r),i+=r.length}return n}function Pi(e,n,t,i,o){let a;const r=n.length;for(let s=0;s<r-1;s++){const l=n[s];e.j[l]?a=e.j[l]:(a=new rn(i),a.jr=o.slice(),e.j[l]=a),e=a}return a=new rn(t),a.jr=o.slice(),e.j[n[r-1]]=a,a}function pm(e){const n=[],t=[];let i=0,o="0123456789";for(;i<e.length;){let a=0;for(;o.indexOf(e[i+a])>=0;)a++;if(a>0){n.push(t.join(""));for(let r=parseInt(e.substring(i,i+a),10);r>0;r--)t.pop();i+=a}else t.push(e[i]),i++}return n}const Ka={defaultProtocol:"http",events:null,format:mm,formatHref:mm,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function eu(e,n=null){let t=Object.assign({},Ka);e&&(t=Object.assign(t,e instanceof eu?e.o:e));const i=t.ignoreTags,o=[];for(let a=0;a<i.length;a++)o.push(i[a].toUpperCase());this.o=t,n&&(this.defaultRender=n),this.ignoreTags=o}eu.prototype={o:Ka,ignoreTags:[],defaultRender(e){return e},check(e){return this.get("validate",e.toString(),e)},get(e,n,t){const i=n!=null;let o=this.o[e];return o&&(typeof o=="object"?(o=t.t in o?o[t.t]:Ka[e],typeof o=="function"&&i&&(o=o(n,t))):typeof o=="function"&&i&&(o=o(n,t.t,t)),o)},getObj(e,n,t){let i=this.o[e];return typeof i=="function"&&n!=null&&(i=i(n,t.t,t)),i},render(e){const n=e.render(this);return(this.get("render",null,e)||this.defaultRender)(n,e.t,e)}};function mm(e){return e}function gm(e,n){this.t="token",this.v=e,this.tk=n}gm.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const n=this.toString(),t=e.get("truncate",n,this),i=e.get("format",n,this);return t&&i.length>t?i.substring(0,t)+"…":i},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=Ka.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const n=this,t=this.toHref(e.get("defaultProtocol")),i=e.get("formatHref",t,this),o=e.get("tagName",t,n),a=this.toFormattedString(e),r={},s=e.get("className",t,n),l=e.get("target",t,n),c=e.get("rel",t,n),u=e.getObj("attributes",t,n),f=e.getObj("events",t,n);return r.href=i,s&&(r.class=s),l&&(r.target=l),c&&(r.rel=c),u&&Object.assign(r,u),{tagName:o,attributes:r,content:a,eventListeners:f}}};function sl(e,n){class t extends gm{constructor(o,a){super(o,a),this.t=e}}for(const i in n)t.prototype[i]=n[i];return t.t=e,t}const bm=sl("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),vm=sl("text"),gS=sl("nl"),ll=sl("url",{isLink:!0,toHref(e=Ka.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==za&&e[1].t===Li}}),gn=e=>new rn(e);function bS({groups:e}){const n=e.domain.concat([Ws,Gs,Ni,Qs,Ks,Zs,Js,Xs,mn,zf,Wa,el,tl,nl,Vn,ol,Ga,il]),t=[Ys,Li,Wf,zn,Yf,Wa,Ya,Gf,Qf,Ds,Fs,Va,Ha,Ns,Rs,Ls,Ps,Bs,qs,Us,$s,js,zs,Vs,Hs],i=[Ws,Ys,Gs,Qs,Ks,Zs,Js,Xs,mn,Va,Ha,Wa,el,tl,nl,Ya,Vn,ol,Ga,il],o=gn(),a=G(o,Ga);_e(a,i,a),_e(a,e.domain,a);const r=gn(),s=gn(),l=gn();_e(o,e.domain,r),_e(o,e.scheme,s),_e(o,e.slashscheme,l),_e(r,i,a),_e(r,e.domain,r);const c=G(r,Ni);G(a,Ni,c),G(s,Ni,c),G(l,Ni,c);const u=G(a,zn);_e(u,i,a),_e(u,e.domain,a);const f=gn();_e(c,e.domain,f),_e(f,e.domain,f);const d=G(f,zn);_e(d,e.domain,f);const p=gn(bm);_e(d,e.tld,p),_e(d,e.utld,p),G(c,za,p);const h=G(f,mn);G(h,mn,h),_e(h,e.domain,f),_e(p,e.domain,f),G(p,zn,d),G(p,mn,h);const b=G(p,Li);_e(b,e.numeric,bm);const y=G(r,mn),g=G(r,zn);G(y,mn,y),_e(y,e.domain,r),_e(g,i,a),_e(g,e.domain,r);const C=gn(ll);_e(g,e.tld,C),_e(g,e.utld,C),_e(C,e.domain,r),_e(C,i,a),G(C,zn,g),G(C,mn,y),G(C,Ni,c);const E=G(C,Li),x=gn(ll);_e(E,e.numeric,x);const M=gn(ll),U=gn();_e(M,n,M),_e(M,t,U),_e(U,n,M),_e(U,t,U),G(C,Vn,M),G(x,Vn,M);const N=G(s,Li),K=G(l,Li),re=G(K,Vn),W=G(re,Vn);_e(s,e.domain,r),G(s,zn,g),G(s,mn,y),_e(l,e.domain,r),G(l,zn,g),G(l,mn,y),_e(N,e.domain,M),G(N,Vn,M),G(N,Ya,M),_e(W,e.domain,M),_e(W,n,M),G(W,Vn,M);const ee=[[Va,Ha],[Rs,Ns],[Ls,Ps],[Ds,Fs],[Bs,qs],[Us,$s],[js,zs],[Vs,Hs]];for(let he=0;he<ee.length;he++){const[Be,se]=ee[he],Q=G(M,Be);G(U,Be,Q),G(Q,se,M);const q=gn(ll);_e(Q,n,q);const z=gn();_e(Q,t),_e(q,n,q),_e(q,t,z),_e(z,n,q),_e(z,t,z),G(q,se,M),G(z,se,M)}return G(o,za,C),G(o,Hf,gS),{start:o,tokens:um}}function vS(e,n,t){let i=t.length,o=0,a=[],r=[];for(;o<i;){let s=e,l=null,c=null,u=0,f=null,d=-1;for(;o<i&&!(l=s.go(t[o].t));)r.push(t[o++]);for(;o<i&&(c=l||s.go(t[o].t));)l=null,s=c,s.accepts()?(d=0,f=s):d>=0&&d++,o++,u++;if(d<0)o-=u,o<i&&(r.push(t[o]),o++);else{r.length>0&&(a.push(tu(vm,n,r)),r=[]),o-=d,u-=d;const p=f.t,h=t.slice(o-u,o);a.push(tu(p,n,h))}}return r.length>0&&a.push(tu(vm,n,r)),a}function tu(e,n,t){const i=t[0].s,o=t[t.length-1].e,a=n.slice(i,o);return new e(a,t)}const xt={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function yS(){xt.scanner=pS(xt.customSchemes);for(let e=0;e<xt.tokenQueue.length;e++)xt.tokenQueue[e][1]({scanner:xt.scanner});xt.parser=bS(xt.scanner.tokens);for(let e=0;e<xt.pluginQueue.length;e++)xt.pluginQueue[e][1]({scanner:xt.scanner,parser:xt.parser});return xt.initialized=!0,xt}function ym(e){return xt.initialized||yS(),vS(xt.parser.start,e,hm(xt.scanner.start,e))}ym.scan=hm;function Am(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function AS(e){return e.replace(/"/g,""")}function wS(e){const n=[];for(const t in e){let i=e[t]+"";n.push(`${t}="${AS(i)}"`)}return n.join(" ")}function CS({tagName:e,attributes:n,content:t}){return`<${e} ${wS(n)}>${Am(t)}</${e}>`}function wm(e,n={}){n=new eu(n,CS);const t=ym(e),i=[];for(let o=0;o<t.length;o++){const a=t[o];a.t==="nl"&&n.get("nl2br")?i.push(`<br> `):!a.isLink||!n.check(a)?i.push(Am(a.toString())):i.push(n.render(a))}return i.join("")}String.prototype.linkify||Object.defineProperty(String.prototype,"linkify",{writable:!1,value:function(n){return wm(this,n)}});const _S=["jpeg","jpg","png","gif","bmp","webp","tif","tiff","heif","doc","docx","pdf","txt","rtf","ppt","pptx","xls","xlsx"],ES=["jpeg","jpg","png","gif","bmp","webp","tiff","tif"],Cm=19900,SS=e=>e&&!(e.replace(/\s/g,"").length<1),MS=(e,n)=>wm(e,{target:"_blank",rel:"noopener noreferrer"});function IS(e=0,n=0){let t=e;return typeof e!="number"&&(t=parseFloat(String(e))),Number.isNaN(t)||!Number.isFinite(t)?"?":aS(t,{unitSeparator:" ",decimalPlaces:0})}function TS(e){const n=e.lastIndexOf("."),t=e.substring(n+1);return _S.indexOf(t.toLowerCase())>=0}function OS(e){const n=e.lastIndexOf("."),t=e.substring(n+1);return ES.indexOf(t.toLowerCase())>=0}const kS={s:JSON.parse('{"2049":0,"2122":0,"2139":0,"2194":0,"2195":0,"2196":0,"2197":0,"2198":0,"2199":0,"2328":0,"2600":0,"2601":0,"2602":0,"2603":0,"2604":0,"2611":0,"2614":0,"2615":0,"2618":0,"2620":0,"2622":0,"2623":0,"2626":0,"2638":0,"2639":0,"2640":0,"2642":0,"2648":0,"2649":0,"2650":0,"2651":0,"2652":0,"2653":0,"2660":0,"2663":0,"2665":0,"2666":0,"2668":0,"2692":0,"2693":0,"2694":0,"2695":0,"2696":0,"2697":0,"2699":0,"2702":0,"2705":0,"2708":0,"2709":0,"2712":0,"2714":0,"2716":0,"2721":0,"2728":0,"2733":0,"2734":0,"2744":0,"2747":0,"2753":0,"2754":0,"2755":0,"2757":0,"2763":0,"2764":0,"2795":0,"2796":0,"2797":0,"2934":0,"2935":0,"3030":0,"3297":0,"3299":0,"1f9e1":0,"1f49b":0,"1f49a":0,"1f499":0,"1f49c":0,"1f5a4":0,"1f494":0,"1f495":0,"1f49e":0,"1f493":0,"1f497":0,"1f496":0,"1f498":0,"1f49d":0,"1f49f":0,"262e":0,"271d":0,"262a":0,"1f549":0,"1f52f":0,"1f54e":0,"262f":0,"1f6d0":0,"26ce":0,"264a":0,"264b":0,"264c":0,"264d":0,"264e":0,"264f":0,"1f194":0,"269b":0,"267e":{"e":0,"s":{"fe0f":0}},"1f251":0,"1f4f4":0,"1f4f3":0,"1f236":0,"1f21a":0,"1f238":0,"1f23a":0,"1f237":0,"1f19a":0,"1f4ae":0,"1f250":0,"1f234":0,"1f235":0,"1f239":0,"1f232":0,"1f170":0,"1f171":0,"1f18e":0,"1f191":0,"1f17e":0,"1f198":0,"274c":0,"2b55":0,"1f6d1":0,"26d4":0,"1f4db":0,"1f6ab":0,"1f4af":0,"1f4a2":0,"1f6b7":0,"1f6af":0,"1f6b3":0,"1f6b1":0,"1f51e":0,"1f4f5":0,"1f6ad":0,"203c":0,"1f505":0,"1f506":0,"303d":0,"26a0":0,"1f6b8":0,"1f531":0,"269c":0,"1f530":0,"267b":0,"1f22f":0,"1f4b9":0,"274e":0,"1f310":0,"1f4a0":0,"24c2":0,"1f300":0,"1f4a4":0,"1f3e7":0,"1f6be":0,"267f":0,"1f17f":0,"1f233":0,"1f202":0,"1f6c2":0,"1f6c3":0,"1f6c4":0,"1f6c5":0,"1f6b9":0,"1f6ba":0,"1f6bc":0,"1f6bb":0,"1f6ae":0,"1f3a6":0,"1f4f6":0,"1f201":0,"1f523":0,"1f524":0,"1f521":0,"1f520":0,"1f196":0,"1f197":0,"1f199":0,"1f192":0,"1f195":0,"1f193":0,"0030":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0031":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0032":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0033":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0034":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0035":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0036":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0037":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0038":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0039":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"1f51f":0,"1f522":0,"0023":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"002a":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"23cf":0,"25b6":0,"23f8":0,"23ef":0,"23f9":0,"23fa":0,"23ed":0,"23ee":0,"23e9":0,"23ea":0,"23eb":0,"23ec":0,"25c0":0,"1f53c":0,"1f53d":0,"27a1":0,"2b05":0,"2b06":0,"2b07":0,"21aa":0,"21a9":0,"1f500":0,"1f501":0,"1f502":0,"1f504":0,"1f503":0,"1f3b5":0,"1f3b6":0,"1f4b2":0,"1f4b1":0,"00a9":0,"00ae":0,"27b0":0,"27bf":0,"1f51a":0,"1f519":0,"1f51b":0,"1f51d":0,"1f51c":0,"1f518":0,"26aa":0,"26ab":0,"1f534":0,"1f535":0,"1f53a":0,"1f53b":0,"1f538":0,"1f539":0,"1f536":0,"1f537":0,"1f533":0,"1f532":0,"25aa":0,"25ab":0,"25fe":0,"25fd":0,"25fc":0,"25fb":0,"2b1b":0,"2b1c":0,"1f508":0,"1f507":0,"1f509":0,"1f50a":0,"1f514":0,"1f515":0,"1f4e3":0,"1f4e2":0,"1f5e8":0,"1f441":{"e":1,"s":{"fe0f":{"e":0,"s":{"200d":{"e":0,"s":{"1f5e8":{"e":0,"s":{"fe0f":0}}}}}}}},"1f4ac":0,"1f4ad":0,"1f5ef":0,"1f0cf":0,"1f3b4":0,"1f004":0,"1f550":0,"1f551":0,"1f552":0,"1f553":0,"1f554":0,"1f555":0,"1f556":0,"1f557":0,"1f558":0,"1f559":0,"1f55a":0,"1f55b":0,"1f55c":0,"1f55d":0,"1f55e":0,"1f55f":0,"1f560":0,"1f561":0,"1f562":0,"1f563":0,"1f564":0,"1f565":0,"1f566":0,"1f567":0,"26bd":0,"1f3c0":0,"1f3c8":0,"26be":0,"1f94e":0,"1f3be":0,"1f3d0":0,"1f3c9":0,"1f3b1":0,"1f3d3":0,"1f3f8":0,"1f945":0,"1f3d2":0,"1f3d1":0,"1f3cf":0,"1f94d":0,"26f3":0,"1f94f":0,"1f3f9":0,"1f3a3":0,"1f94a":0,"1f94b":0,"1f3bd":0,"1f6f9":0,"26f8":0,"1f94c":0,"1f6f7":0,"1f3bf":0,"26f7":0,"1f3c2":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f3cb":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f93c":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f938":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"26f9":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f93a":0,"1f93e":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3cc":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f3c7":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9d8":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3c4":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ca":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f93d":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f6a3":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d7":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f6b5":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f6b4":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3c6":0,"1f947":0,"1f948":0,"1f949":0,"1f3c5":0,"1f396":0,"1f3f5":0,"1f397":0,"1f3ab":0,"1f39f":0,"1f3aa":0,"1f939":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ad":0,"1f3a8":0,"1f3ac":0,"1f3a4":0,"1f3a7":0,"1f3bc":0,"1f3b9":0,"1f941":0,"1f3b7":0,"1f3ba":0,"1f3b8":0,"1f3bb":0,"1f3b2":0,"1f3af":0,"1f3b3":0,"1f3ae":0,"1f3b0":0,"231a":0,"1f4f1":0,"1f4f2":0,"1f4bb":0,"1f5a5":0,"1f5a8":0,"1f5b1":0,"1f5b2":0,"1f579":0,"265f":{"e":0,"s":{"fe0f":0}},"1f9e9":0,"1f5dc":0,"1f4bd":0,"1f4be":0,"1f4bf":0,"1f4c0":0,"1f4fc":0,"1f4f7":0,"1f4f8":0,"1f4f9":0,"1f3a5":0,"1f4fd":0,"1f39e":0,"1f4de":0,"260e":0,"1f4df":0,"1f4e0":0,"1f4fa":0,"1f4fb":0,"1f399":0,"1f39a":0,"1f39b":0,"23f1":0,"23f2":0,"23f0":0,"1f570":0,"231b":0,"23f3":0,"1f4e1":0,"1f9ed":0,"1f50b":0,"1f50c":0,"1f9f2":0,"1f4a1":0,"1f526":0,"1f56f":0,"1f9ef":0,"1f5d1":0,"1f6e2":0,"1f4b8":0,"1f4b5":0,"1f4b4":0,"1f4b6":0,"1f4b7":0,"1f4b0":0,"1f4b3":0,"1f48e":0,"1f9ff":0,"1f9f1":0,"1f9f0":0,"1f527":0,"1f528":0,"1f6e0":0,"26cf":0,"1f529":0,"26d3":0,"1f52b":0,"1f4a3":0,"1f52a":0,"1f5e1":0,"1f6e1":0,"1f6ac":0,"26b0":0,"26b1":0,"1f3fa":0,"1f52e":0,"1f4ff":0,"1f488":0,"1f9ea":0,"1f9eb":0,"1f9ec":0,"1f9ee":0,"1f52d":0,"1f52c":0,"1f573":0,"1f48a":0,"1f489":0,"1f321":0,"1f6bd":0,"1f6b0":0,"1f6bf":0,"1f6c1":0,"1f6c0":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9f9":0,"1f9fa":0,"1f9fb":0,"1f9fc":0,"1f9fd":0,"1f9f4":0,"1f9f5":0,"1f9f6":0,"1f6ce":0,"1f511":0,"1f5dd":0,"1f6aa":0,"1f6cb":0,"1f6cf":0,"1f6cc":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9f8":0,"1f5bc":0,"1f6cd":0,"1f6d2":0,"1f381":0,"1f388":0,"1f38f":0,"1f380":0,"1f38a":0,"1f389":0,"1f38e":0,"1f3ee":0,"1f390":0,"1f9e7":0,"1f4e9":0,"1f4e8":0,"1f4e7":0,"1f48c":0,"1f4e5":0,"1f4e4":0,"1f4e6":0,"1f3f7":0,"1f4ea":0,"1f4eb":0,"1f4ec":0,"1f4ed":0,"1f4ee":0,"1f4ef":0,"1f4dc":0,"1f4c3":0,"1f4c4":0,"1f9fe":0,"1f4d1":0,"1f4ca":0,"1f4c8":0,"1f4c9":0,"1f5d2":0,"1f5d3":0,"1f4c6":0,"1f4c5":0,"1f4c7":0,"1f5c3":0,"1f5f3":0,"1f5c4":0,"1f4cb":0,"1f4c1":0,"1f4c2":0,"1f5c2":0,"1f5de":0,"1f4f0":0,"1f4d3":0,"1f4d4":0,"1f4d2":0,"1f4d5":0,"1f4d7":0,"1f4d8":0,"1f4d9":0,"1f4da":0,"1f4d6":0,"1f516":0,"1f517":0,"1f4ce":0,"1f587":0,"1f4d0":0,"1f4cf":0,"1f9f7":0,"1f4cc":0,"1f4cd":0,"1f58a":0,"1f58b":0,"1f58c":0,"1f58d":0,"1f4dd":0,"270f":0,"1f50d":0,"1f50e":0,"1f50f":0,"1f510":0,"1f436":0,"1f431":0,"1f42d":0,"1f439":0,"1f430":0,"1f98a":0,"1f99d":0,"1f43b":0,"1f43c":0,"1f998":0,"1f9a1":0,"1f428":0,"1f42f":0,"1f981":0,"1f42e":0,"1f437":0,"1f43d":0,"1f438":0,"1f435":0,"1f648":0,"1f649":0,"1f64a":0,"1f412":0,"1f414":0,"1f427":0,"1f426":0,"1f424":0,"1f423":0,"1f425":0,"1f986":0,"1f9a2":0,"1f985":0,"1f989":0,"1f99c":0,"1f99a":0,"1f987":0,"1f43a":0,"1f417":0,"1f434":0,"1f984":0,"1f41d":0,"1f41b":0,"1f98b":0,"1f40c":0,"1f41a":0,"1f41e":0,"1f41c":0,"1f997":0,"1f577":0,"1f578":0,"1f982":0,"1f99f":0,"1f9a0":0,"1f422":0,"1f40d":0,"1f98e":0,"1f996":0,"1f995":0,"1f419":0,"1f991":0,"1f990":0,"1f980":0,"1f99e":0,"1f421":0,"1f420":0,"1f41f":0,"1f42c":0,"1f433":0,"1f40b":0,"1f988":0,"1f40a":0,"1f405":0,"1f406":0,"1f993":0,"1f98d":0,"1f418":0,"1f98f":0,"1f99b":0,"1f42a":0,"1f42b":0,"1f992":0,"1f999":0,"1f403":0,"1f402":0,"1f404":0,"1f40e":0,"1f416":0,"1f40f":0,"1f411":0,"1f410":0,"1f98c":0,"1f415":0,"1f429":0,"1f408":0,"1f413":0,"1f983":0,"1f54a":0,"1f407":0,"1f401":0,"1f400":0,"1f43f":0,"1f994":0,"1f43e":0,"1f409":0,"1f432":0,"1f335":0,"1f384":0,"1f332":0,"1f333":0,"1f334":0,"1f331":0,"1f33f":0,"1f340":0,"1f38d":0,"1f38b":0,"1f343":0,"1f342":0,"1f341":0,"1f344":0,"1f33e":0,"1f490":0,"1f337":0,"1f339":0,"1f940":0,"1f33a":0,"1f338":0,"1f33c":0,"1f33b":0,"1f31e":0,"1f31d":0,"1f31b":0,"1f31c":0,"1f31a":0,"1f315":0,"1f316":0,"1f317":0,"1f318":0,"1f311":0,"1f312":0,"1f313":0,"1f314":0,"1f319":0,"1f30e":0,"1f30d":0,"1f30f":0,"1f4ab":0,"2b50":0,"1f31f":0,"26a1":0,"1f4a5":0,"1f525":0,"1f32a":0,"1f308":0,"1f324":0,"26c5":0,"1f325":0,"1f326":0,"1f327":0,"26c8":0,"1f329":0,"1f328":0,"26c4":0,"1f32c":0,"1f4a8":0,"1f4a7":0,"1f4a6":0,"1f30a":0,"1f32b":0,"1f34f":0,"1f34e":0,"1f350":0,"1f34a":0,"1f34b":0,"1f34c":0,"1f349":0,"1f347":0,"1f353":0,"1f348":0,"1f352":0,"1f351":0,"1f96d":0,"1f34d":0,"1f965":0,"1f95d":0,"1f345":0,"1f346":0,"1f951":0,"1f966":0,"1f96c":0,"1f952":0,"1f336":0,"1f33d":0,"1f955":0,"1f954":0,"1f360":0,"1f950":0,"1f35e":0,"1f956":0,"1f968":0,"1f96f":0,"1f9c0":0,"1f95a":0,"1f373":0,"1f95e":0,"1f953":0,"1f969":0,"1f357":0,"1f356":0,"1f32d":0,"1f354":0,"1f35f":0,"1f355":0,"1f96a":0,"1f959":0,"1f32e":0,"1f32f":0,"1f957":0,"1f958":0,"1f96b":0,"1f35d":0,"1f35c":0,"1f372":0,"1f35b":0,"1f363":0,"1f371":0,"1f364":0,"1f359":0,"1f35a":0,"1f358":0,"1f365":0,"1f960":0,"1f362":0,"1f361":0,"1f367":0,"1f368":0,"1f366":0,"1f967":0,"1f370":0,"1f382":0,"1f96e":0,"1f9c1":0,"1f36e":0,"1f36d":0,"1f36c":0,"1f36b":0,"1f37f":0,"1f9c2":0,"1f369":0,"1f95f":0,"1f36a":0,"1f330":0,"1f95c":0,"1f36f":0,"1f95b":0,"1f37c":0,"1f375":0,"1f964":0,"1f376":0,"1f37a":0,"1f37b":0,"1f942":0,"1f377":0,"1f943":0,"1f378":0,"1f379":0,"1f37e":0,"1f944":0,"1f374":0,"1f37d":0,"1f963":0,"1f961":0,"1f962":0,"1f600":0,"1f603":0,"1f604":0,"1f601":0,"1f606":0,"1f605":0,"1f602":0,"1f923":0,"263a":0,"1f60a":0,"1f607":0,"1f642":0,"1f643":0,"1f609":0,"1f60c":0,"1f60d":0,"1f618":0,"1f970":0,"1f617":0,"1f619":0,"1f61a":0,"1f60b":0,"1f61b":0,"1f61d":0,"1f61c":0,"1f92a":0,"1f928":0,"1f9d0":0,"1f913":0,"1f60e":0,"1f929":0,"1f973":0,"1f60f":0,"1f612":0,"1f61e":0,"1f614":0,"1f61f":0,"1f615":0,"1f641":0,"1f623":0,"1f616":0,"1f62b":0,"1f629":0,"1f622":0,"1f62d":0,"1f624":0,"1f620":0,"1f621":0,"1f92c":0,"1f92f":0,"1f633":0,"1f631":0,"1f628":0,"1f630":0,"1f975":0,"1f976":0,"1f97a":0,"1f625":0,"1f613":0,"1f917":0,"1f914":0,"1f92d":0,"1f92b":0,"1f925":0,"1f636":0,"1f610":0,"1f611":0,"1f62c":0,"1f644":0,"1f62f":0,"1f626":0,"1f627":0,"1f62e":0,"1f632":0,"1f634":0,"1f924":0,"1f62a":0,"1f635":0,"1f910":0,"1f974":0,"1f922":0,"1f92e":0,"1f927":0,"1f637":0,"1f912":0,"1f915":0,"1f911":0,"1f920":0,"1f608":0,"1f47f":0,"1f479":0,"1f47a":0,"1f921":0,"1f4a9":0,"1f47b":0,"1f480":0,"1f47d":0,"1f47e":0,"1f916":0,"1f383":0,"1f63a":0,"1f638":0,"1f639":0,"1f63b":0,"1f63c":0,"1f63d":0,"1f640":0,"1f63f":0,"1f63e":0,"1f932":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f450":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f64c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44f":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91d":0,"1f44d":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44e":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91b":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91e":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91f":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f918":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f448":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f449":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f446":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f447":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"261d":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270b":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f590":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f596":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44b":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f919":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f4aa":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9b5":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9b6":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f595":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270d":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f64f":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f48d":0,"1f484":0,"1f48b":0,"1f444":0,"1f445":0,"1f442":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f443":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f463":0,"1f440":0,"1f9e0":0,"1f9b4":0,"1f9b7":0,"1f5e3":0,"1f464":0,"1f465":0,"1f476":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f467":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9d2":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f466":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f469":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"2764":{"e":1,"s":{"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"1f468":0,"1f469":0,"1f48b":{"e":1,"s":{"200d":{"e":1,"s":{"1f468":0,"1f469":0}}}}}}}}}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0,"1f469":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f9d1":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f468":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"2764":{"e":1,"s":{"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"1f468":0,"1f48b":{"e":0,"s":{"200d":{"e":0,"s":{"1f468":0}}}}}}}}}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0,"1f469":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f468":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f471":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d4":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f475":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9d3":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f474":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f472":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f473":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d5":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f46e":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f477":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f482":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f575":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f470":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f935":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f478":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f934":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f936":{"e":1,"s":{"1f3fb":0,"1f3fd":0,"1f3fc":0,"1f3fe":0,"1f3ff":0}},"1f385":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9b8":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9b9":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d9":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9dd":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9db":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9df":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9de":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9dc":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9da":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f47c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f930":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f931":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f647":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f481":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f645":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f646":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f64b":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f926":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f937":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f64e":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f64d":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f487":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f486":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d6":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f485":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f933":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f483":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f57a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3ff":0,"1f3fe":0}},"1f46f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f574":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f6b6":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3c3":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f46b":0,"1f46d":0,"1f46c":0,"1f491":0,"1f48f":0,"1f46a":0,"1f9e5":0,"1f45a":0,"1f455":0,"1f456":0,"1f454":0,"1f457":0,"1f459":0,"1f458":0,"1f97c":0,"1f460":0,"1f461":0,"1f462":0,"1f45e":0,"1f45f":0,"1f97e":0,"1f97f":0,"1f9e6":0,"1f9e4":0,"1f9e3":0,"1f3a9":0,"1f9e2":0,"1f452":0,"1f393":0,"26d1":0,"1f451":0,"1f45d":0,"1f45b":0,"1f45c":0,"1f4bc":0,"1f392":0,"1f453":0,"1f576":0,"1f97d":0,"1f302":0,"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f1ff":{"e":1,"s":{"1f1e6":0,"1f1f2":0,"1f1fc":0}},"1f1fe":{"e":1,"s":{"1f1f9":0,"1f1ea":0}},"1f1fd":{"e":1,"s":{"1f1f0":0}},"1f1fc":{"e":1,"s":{"1f1f8":0,"1f1eb":0}},"1f1fb":{"e":1,"s":{"1f1ec":0,"1f1e8":0,"1f1ee":0,"1f1fa":0,"1f1e6":0,"1f1ea":0,"1f1f3":0}},"1f1fa":{"e":1,"s":{"1f1ec":0,"1f1e6":0,"1f1f8":0,"1f1fe":0,"1f1ff":0,"1f1f2":0,"1f1f3":0}},"1f1f9":{"e":1,"s":{"1f1e9":0,"1f1eb":0,"1f1fc":0,"1f1ef":0,"1f1ff":0,"1f1ed":0,"1f1f1":0,"1f1ec":0,"1f1f0":0,"1f1f4":0,"1f1f9":0,"1f1f3":0,"1f1f7":0,"1f1f2":0,"1f1e8":0,"1f1fb":0,"1f1e6":0}},"1f1f8":{"e":1,"s":{"1f1fb":0,"1f1f2":0,"1f1f9":0,"1f1e6":0,"1f1f3":0,"1f1e8":0,"1f1f1":0,"1f1ec":0,"1f1fd":0,"1f1f0":0,"1f1ee":0,"1f1e7":0,"1f1f4":0,"1f1f8":0,"1f1ed":0,"1f1e9":0,"1f1f7":0,"1f1ff":0,"1f1ea":0,"1f1fe":0,"1f1ef":0}},"1f1f7":{"e":1,"s":{"1f1ea":0,"1f1f4":0,"1f1fa":0,"1f1fc":0,"1f1f8":0}},"1f1f6":{"e":1,"s":{"1f1e6":0}},"1f1f5":{"e":1,"s":{"1f1eb":0,"1f1f0":0,"1f1fc":0,"1f1f8":0,"1f1e6":0,"1f1ec":0,"1f1fe":0,"1f1ea":0,"1f1ed":0,"1f1f3":0,"1f1f1":0,"1f1f9":0,"1f1f7":0,"1f1f2":0}},"1f1f4":{"e":1,"s":{"1f1f2":0}},"1f1f3":{"e":1,"s":{"1f1e6":0,"1f1f7":0,"1f1f5":0,"1f1f1":0,"1f1e8":0,"1f1ff":0,"1f1ee":0,"1f1ea":0,"1f1ec":0,"1f1fa":0,"1f1eb":0,"1f1f4":0}},"1f1f2":{"e":1,"s":{"1f1f4":0,"1f1f0":0,"1f1ec":0,"1f1fc":0,"1f1fe":0,"1f1fb":0,"1f1f1":0,"1f1f9":0,"1f1ed":0,"1f1f6":0,"1f1f7":0,"1f1fa":0,"1f1fd":0,"1f1e9":0,"1f1e8":0,"1f1f3":0,"1f1ea":0,"1f1f8":0,"1f1e6":0,"1f1ff":0,"1f1f2":0,"1f1f5":0,"1f1eb":0}},"1f1f1":{"e":1,"s":{"1f1e6":0,"1f1fb":0,"1f1e7":0,"1f1f8":0,"1f1f7":0,"1f1fe":0,"1f1ee":0,"1f1f9":0,"1f1fa":0,"1f1f0":0,"1f1e8":0}},"1f1f0":{"e":1,"s":{"1f1ed":0,"1f1fe":0,"1f1f2":0,"1f1ff":0,"1f1ea":0,"1f1ee":0,"1f1fc":0,"1f1ec":0,"1f1f5":0,"1f1f7":0,"1f1f3":0}},"1f1ef":{"e":1,"s":{"1f1f2":0,"1f1f5":0,"1f1ea":0,"1f1f4":0}},"1f1ee":{"e":1,"s":{"1f1f4":0,"1f1e8":0,"1f1f8":0,"1f1f3":0,"1f1e9":0,"1f1f7":0,"1f1f6":0,"1f1ea":0,"1f1f2":0,"1f1f1":0,"1f1f9":0}},"1f1ed":{"e":1,"s":{"1f1f7":0,"1f1f9":0,"1f1f3":0,"1f1f0":0,"1f1fa":0,"1f1f2":0}},"1f1ec":{"e":1,"s":{"1f1f6":0,"1f1eb":0,"1f1e6":0,"1f1f2":0,"1f1ea":0,"1f1ed":0,"1f1ee":0,"1f1f7":0,"1f1f1":0,"1f1e9":0,"1f1f5":0,"1f1fa":0,"1f1f9":0,"1f1ec":0,"1f1f3":0,"1f1fc":0,"1f1fe":0,"1f1f8":0,"1f1e7":0}},"1f1eb":{"e":1,"s":{"1f1f0":0,"1f1f4":0,"1f1ef":0,"1f1ee":0,"1f1f7":0,"1f1f2":0}},"1f1ea":{"e":1,"s":{"1f1e8":0,"1f1ec":0,"1f1f7":0,"1f1ea":0,"1f1f9":0,"1f1fa":0,"1f1f8":0,"1f1ed":0,"1f1e6":0}},"1f1e9":{"e":1,"s":{"1f1ff":0,"1f1f0":0,"1f1ef":0,"1f1f2":0,"1f1f4":0,"1f1ea":0,"1f1ec":0}},"1f1e8":{"e":1,"s":{"1f1f2":0,"1f1e6":0,"1f1fb":0,"1f1eb":0,"1f1f1":0,"1f1f3":0,"1f1fd":0,"1f1e8":0,"1f1f4":0,"1f1ec":0,"1f1e9":0,"1f1f0":0,"1f1f7":0,"1f1ee":0,"1f1fa":0,"1f1fc":0,"1f1fe":0,"1f1ff":0,"1f1ed":0,"1f1f5":0}},"1f1e7":{"e":1,"s":{"1f1f8":0,"1f1ed":0,"1f1e9":0,"1f1e7":0,"1f1fe":0,"1f1ea":0,"1f1ff":0,"1f1ef":0,"1f1f2":0,"1f1f9":0,"1f1f4":0,"1f1e6":0,"1f1fc":0,"1f1f7":0,"1f1f3":0,"1f1ec":0,"1f1eb":0,"1f1ee":0,"1f1f6":0,"1f1f1":0,"1f1fb":0}},"1f1e6":{"e":1,"s":{"1f1eb":0,"1f1fd":0,"1f1f1":0,"1f1f8":0,"1f1e9":0,"1f1f4":0,"1f1ee":0,"1f1f6":0,"1f1ec":0,"1f1f7":0,"1f1f2":0,"1f1fc":0,"1f1fa":0,"1f1f9":0,"1f1ff":0,"1f1ea":0,"1f1e8":0}},"1f697":0,"1f695":0,"1f699":0,"1f68c":0,"1f68e":0,"1f3ce":0,"1f693":0,"1f691":0,"1f692":0,"1f690":0,"1f69a":0,"1f69b":0,"1f69c":0,"1f6f4":0,"1f6b2":0,"1f6f5":0,"1f3cd":0,"1f6a8":0,"1f694":0,"1f68d":0,"1f698":0,"1f696":0,"1f6a1":0,"1f6a0":0,"1f69f":0,"1f683":0,"1f68b":0,"1f69e":0,"1f69d":0,"1f684":0,"1f685":0,"1f688":0,"1f682":0,"1f686":0,"1f687":0,"1f68a":0,"1f689":0,"1f6eb":0,"1f6ec":0,"1f6e9":0,"1f4ba":0,"1f9f3":0,"1f6f0":0,"1f680":0,"1f6f8":0,"1f681":0,"1f6f6":0,"26f5":0,"1f6a4":0,"1f6e5":0,"1f6f3":0,"26f4":0,"1f6a2":0,"26fd":0,"1f6a7":0,"1f6a6":0,"1f6a5":0,"1f68f":0,"1f5fa":0,"1f5ff":0,"1f5fd":0,"1f5fc":0,"1f3f0":0,"1f3ef":0,"1f3df":0,"1f3a1":0,"1f3a2":0,"1f3a0":0,"26f2":0,"26f1":0,"1f3d6":0,"1f3dd":0,"1f3dc":0,"1f30b":0,"26f0":0,"1f3d4":0,"1f5fb":0,"1f3d5":0,"26fa":0,"1f3e0":0,"1f3e1":0,"1f3d8":0,"1f3da":0,"1f3d7":0,"1f3ed":0,"1f3e2":0,"1f3ec":0,"1f3e3":0,"1f3e4":0,"1f3e5":0,"1f3e6":0,"1f3e8":0,"1f3ea":0,"1f3eb":0,"1f3e9":0,"1f492":0,"1f3db":0,"26ea":0,"1f54c":0,"1f54d":0,"1f54b":0,"26e9":0,"1f6e4":0,"1f6e3":0,"1f5fe":0,"1f391":0,"1f3de":0,"1f305":0,"1f304":0,"1f320":0,"1f387":0,"1f386":0,"1f9e8":0,"1f307":0,"1f306":0,"1f3d9":0,"1f303":0,"1f30c":0,"1f309":0,"1f512":0,"1f513":0,"1f301":0,"1f3f3":{"e":1,"s":{"fe0f":{"e":0,"s":{"200d":{"e":0,"s":{"1f308":0}}}}}},"1f3f4":{"e":1,"s":{"200d":{"e":0,"s":{"2620":{"e":0,"s":{"fe0f":0}}}},"e0067":{"e":1,"s":{"e0062":{"e":1,"s":{"e0065":{"e":0,"s":{"e006e":{"e":0,"s":{"e0067":{"e":0,"s":{"e007f":0}}}}}},"e0073":{"e":0,"s":{"e0063":{"e":0,"s":{"e0074":{"e":0,"s":{"e007f":0}}}}}},"e0077":{"e":0,"s":{"e006c":{"e":0,"s":{"e0073":{"e":0,"s":{"e007f":0}}}}}}}}}}}},"1f3c1":0,"1f6a9":0,"1f38c":0,"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}')},xS=8;function RS(e,n,t=32){if(n||(n=""),!e)return"";const i=Array.from(e);for(let o=0;o<i.length;o+=1){let a=kS;const r=[];let s=[];for(let l=o;l<Math.min(o+xS,i.length);l+=1){const c=i[l].codePointAt(0);let u=c?c.toString(16):"";for(;u.length<4;)u=`0${u}`;if(a.s.hasOwnProperty(u))if(s.push(u),(a.s[u]===0||a.s[u].e===1)&&(r.push(...s),s=[]),a.s[u]!==0&&a.s[u].hasOwnProperty("s"))a=a.s[u];else break;else break}if(r.length>0){let l;r.length>1?l=i.splice(o,r.length,"").join(""):l=i[o],i[o]=`<img src="${n}${r.filter(c=>c!=="fe0f"&&c!=="200d").join("-")}.png" alt="${l}" class="emoji" style="width:${t}px;height:${t}px;">`}}return i.join("")}class nu{constructor(n){_(this,"question");_(this,"id");_(this,"message");_(this,"messageType");_(this,"time");_(this,"isLocal");_(this,"isNew");_(this,"senderName");_(this,"file");_(this,"index");_(this,"viewType");_(this,"icon");_(this,"isAutomated");_(this,"renderNew");_(this,"sent",!1);_(this,"errorType",nn.NoError);_(this,"emojiconUrl","");_(this,"preventSound",!1);_(this,"preventBubbleIndication",!1);_(this,"preventBlinkingTitle",!1);_(this,"preventTabNotification",!1);Object.assign(this,n)}viewMessage(){return RS(this.message,this.emojiconUrl)}}function Go(e,n,t,i,o,a,r,s,l,c,u,f,d,p,h,b=!0){const y=new nu;return y.id=e,y.isLocal=i,y.sent=o,y.icon=a,y.senderName=r,y.time=s,y.message=b?MS(l):l,y.question=c,y.renderNew=f,y.isAutomated=d,y.emojiconUrl=h,y.viewType=n,y.file=u,y.messageType=t,y.isNew=p,y}function Za(e,n,t,i,o=!0,a=!0){return Go(-1,_i.Text,n,!1,!0,t,"",new Date,e,void 0,void 0,a,!0,o,i)}function _m(e,n,t,i,o,a,r=!1,s=new Date){return Go(-1,_i.Text,un.Normal,!0,r,t,n,s,e,void 0,void 0,i,!1,o,a)}function NS(e,n,t,i,o,a,r,s){return Go(e,_i.Text,un.Normal,!1,!0,i,t,a,n,void 0,void 0,o,!1,s,r)}function Em(e,n,t,i,o=new Date){return Go(-1,_i.File,un.Normal,!0,!1,t,n,o,"",void 0,e,!0,!1,i,"")}function LS(e,n,t,i,o,a,r,s){return Go(e,_i.Text,un.Normal,!1,!0,i,t,a,"",void 0,n,o,!1,s,r)}function PS(e){return Go(-1,_i.Options,un.Normal,!1,!0,"","",new Date,"",e,void 0,!0,!0,!0,"")}class hi{constructor(n){_(this,"alias");_(this,"isEnable",!0);_(this,"text");_(this,"propertyToSubmit");_(this,"submitMethod");_(this,"validate");_(this,"sanitize");_(this,"onAnswer");_(this,"options");_(this,"showOptionsBorders",!0);_(this,"showSelectedLabel",!1);_(this,"showHoveredLabel",!1);_(this,"isCustomField",!1);_(this,"htmlAnswer",!1);_(this,"preventSound",!1);_(this,"preventBubbleIndication",!1);_(this,"preventTabNotification",!1);_(this,"type");_(this,"answer");Object.assign(this,n)}setAnswer(n){this.sanitize!==void 0?this.answer=this.sanitize(n.toString()):this.answer=n}getAnswer(){return this.answer}}class iu{constructor(n){_(this,"config");_(this,"currentIndex",-1);_(this,"questions");_(this,"submitOnCompletion");_(this,"submitMethod");_(this,"submitted",!1);_(this,"closeOnSubmission");Object.assign(this,n)}validateCurrent(n){let t="";return this.currentIndex>=0&&this.questions[this.currentIndex].validate!==void 0&&(t=this.questions[this.currentIndex].validate(n)),t}current(){if(this.currentIndex>=0)return this.questions[this.currentIndex]}next(){var t,i,o,a;let n=-1;if(((t=this.current())==null?void 0:t.getAnswer())!==void 0&&(((i=this.current())==null?void 0:i.type)===Ft.MultipleChoice||((o=this.current())==null?void 0:o.type)===Ft.SingleChoice)){const r=(a=this.current())==null?void 0:a.options.find(s=>{var l;return s.value===((l=this.current())==null?void 0:l.getAnswer())});r!==void 0&&(r.nextQuestionAlias!=="FINISH"?n=this.questions.findIndex(s=>s.alias===r.nextQuestionAlias):n=this.questions.length)}if(this.currentIndex>=0&&this.questions[this.currentIndex].submitMethod!==void 0&&this.questions[this.currentIndex].submitMethod(),n<0){let r=!1;for(;!r&&(this.currentIndex+=1,!(this.currentIndex>this.questions.length-1));)this.questions[this.currentIndex].isEnable&&(r=!0);if(r)return this.questions[this.currentIndex]}else if(n<this.questions.length)return this.currentIndex=n,this.questions[n];this.submitMethod!==void 0&&this.submitMethod().subscribe(()=>{this.submitted=!0})}getQuestionByAlias(n){let t;const i=this.questions.findIndex(o=>o.alias===n);return i>=0&&(t=this.questions[i]),t}addSubmissionCallback(n,t=""){if(t!==""){const i=this.questions.findIndex(o=>o.alias===t);i>=0&&(this.questions[i].submitMethod=n)}else this.submitMethod=n}getData(){const n={};return this.questions.forEach(t=>{t.propertyToSubmit!==void 0&&(n[t.propertyToSubmit]=t.getAnswer())}),n}buildFlow(n,t){this.questions=[],this.submitOnCompletion=n,this.config=t}}class Sm extends iu{constructor(t){super(t);_(this,"NAME_ALIAS","NAME");_(this,"EMAIL_ALIAS","EMAIL");_(this,"DEPARTMENT_ALIAS","DEPARTMENT");Object.assign(this,t),this.closeOnSubmission=!1}buildFlow(t,i){super.buildFlow(t,i);const{t:o}=an.global;this.questions.push(new hi({alias:this.NAME_ALIAS,type:Ft.Text,propertyToSubmit:"name",text:kt("AuthFormNameMessage",[o("Auth.AuthNameMessage").toString()]),isEnable:i.authenticationType===vt.Both||i.authenticationType===vt.Name,sanitize:a=>a.replace(/([^\u0000-\u007F]|[^\w\d-_\s])/g,""),validate:a=>{let r="";return _f(a)||(r=o("Auth.MaxCharactersReached").toString()),r}})),this.questions.push(new hi({alias:this.EMAIL_ALIAS,type:Ft.Text,propertyToSubmit:"email",text:kt("AuthFormEmailMessage",[o("Auth.AuthEmailMessage").toString()]),isEnable:i.authenticationType===vt.Both||i.authenticationType===vt.Email,validate:a=>{let r="";return As(a)?Ef(a)||(r=o("Auth.MaxCharactersReached").toString()):r=o("Auth.OfflineEnterValidEmail").toString(),r}})),this.questions.push(new hi({alias:this.DEPARTMENT_ALIAS,type:Ft.SingleChoice,options:[],propertyToSubmit:"department",text:o("Auth.DepartmentMessage").toString(),isEnable:!1}))}getData(){const t={};return this.questions.forEach(i=>{i.propertyToSubmit!==void 0&&(t[i.propertyToSubmit]=i.getAnswer())}),t}}const DS="data:audio/mpeg;base64,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",FS=Ve({props:{config:{type:Object,default:()=>{}}},setup(e){const n=ue(zt),t=Z(null),i=Z(!e.config.allowSoundNotifications),o=Z(!1),a=Ot(),r=()=>{n.onEnableNotification.subscribe(()=>{o.value=!0})},s=()=>{a.add(n.onToggleSoundNotification.subscribe({next:f=>{i.value=!f}}))},l=()=>{a.add(n.onAttendChat.subscribe({next:()=>l1.stopBlink()}))},c=()=>{a.add(n.onUnattendedMessage.subscribe({next:f=>{o.value&&!f.preventTabNotification&&!f.preventBlinkingTitle&&l1.startBlink()}}))},u=()=>{a.add(n.onSoundNotification.pipe(Cn(()=>!i.value&&o.value),Ly(100),Ci(()=>{t.value&&(t.value.pause(),t.value.currentTime=0)}),we(()=>Dt(t.value.play()).pipe(fn(f=>tn)))).subscribe())};return Mt(()=>{r(),s(),l(),c()}),Xn(()=>{t.value&&(e.config.soundnotificationUrl!==void 0&&e.config.soundnotificationUrl!==""?t.value.src=e.config.soundnotificationUrl:t.value.src=DS,u())}),vo(()=>{t.value&&t.value.remove()}),{lcAudio:t}}}),BS={ref:"lcAudio"};function qS(e,n,t,i,o,a){return k(),B("div",null,[H("audio",BS,null,512)])}const US=je(FS,[["render",qS]]);class $S extends iu{constructor(t){super(t);_(this,"MESSAGE_ALIAS","MESSAGE");_(this,"NAME_ALIAS","NAME");_(this,"EMAIL_ALIAS","EMAIL");_(this,"PHONE_ALIAS","PHONE");Object.assign(this,t)}buildFlow(t,i){const{t:o}=an.global;super.buildFlow(t,i),this.questions.push(new hi({alias:this.MESSAGE_ALIAS,type:Ft.Text,propertyToSubmit:"OfflineMessage",preventSound:!0,preventTabNotification:!0,text:kt("OfflineFormTitle",[this.config.unavailableMessage,o("Inputs.UnavailableMessage").toString()]),validate:a=>{let r="";return ao(a,500)||(r=kt("OfflineFormMaximumCharactersReached",[this.config.offlineFormMaximumCharactersReached,o("Auth.MaxCharactersReached").toString()])),r}})),this.questions.push(new hi({alias:this.NAME_ALIAS,type:Ft.Text,propertyToSubmit:"Name",text:kt("OfflineFormNameMessage",[this.config.offlineNameMessage,o("Offline.OfflineNameMessage").toString()]),validate:a=>{let r="";return _f(a)?ao(a)||(r=kt("OfflineFormMaximumCharactersReached",[this.config.offlineFormMaximumCharactersReached,o("Auth.MaxCharactersReached").toString()])):r=kt("OfflineFormInvalidName",[this.config.offlineFormInvalidName,o("Auth.EnterValidName").toString()]),r}})),this.questions.push(new hi({alias:this.EMAIL_ALIAS,type:Ft.Text,propertyToSubmit:"Email",text:kt("OfflineFormEmailMessage",[this.config.offlineEmailMessage,o("Offline.OfflineEmailMessage").toString()]),validate:a=>{let r="";return Ef(a)?As(a)||(r=kt("OfflineFormInvalidEmail",[this.config.offlineFormInvalidEmail,o("Auth.OfflineEnterValidEmail").toString()])):r=kt("OfflineFormMaximumCharactersReached",[this.config.offlineFormMaximumCharactersReached,o("Auth.MaxCharactersReached").toString()]),r}}))}getData(){return super.getData()}}class co{constructor(n){_(this,"value");_(this,"text");_(this,"description");_(this,"nextQuestionAlias");_(this,"getAnswerText",()=>this.text);Object.assign(this,n)}}class jS extends iu{constructor(n){super(n),Object.assign(this,n)}buildFlow(n,t){super.buildFlow(n,t);const{t:i}=an.global,o=[new co({value:"0",description:i("Rate.VeryBad").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm0-136c-31.2 0-60.6 13.8-80.6 37.8-5.7 6.8-4.8 16.9 2 22.5s16.9 4.8 22.5-2c27.9-33.4 84.2-33.4 112.1 0 5.3 6.4 15.4 8 22.5 2 6.8-5.7 7.7-15.8 2-22.5-19.9-24-49.3-37.8-80.5-37.8zm-48-96c0-2.9-.9-5.6-1.7-8.2.6.1 1.1.2 1.7.2 6.9 0 13.2-4.5 15.3-11.4 2.6-8.5-2.2-17.4-10.7-19.9l-80-24c-8.4-2.5-17.4 2.3-19.9 10.7-2.6 8.5 2.2 17.4 10.7 19.9l31 9.3c-6.3 5.8-10.5 14.1-10.5 23.4 0 17.7 14.3 32 32 32s32.1-14.3 32.1-32zm171.4-63.3l-80 24c-8.5 2.5-13.3 11.5-10.7 19.9 2.1 6.9 8.4 11.4 15.3 11.4.6 0 1.1-.2 1.7-.2-.7 2.7-1.7 5.3-1.7 8.2 0 17.7 14.3 32 32 32s32-14.3 32-32c0-9.3-4.1-17.5-10.5-23.4l31-9.3c8.5-2.5 13.3-11.5 10.7-19.9-2.4-8.5-11.4-13.2-19.8-10.7z"/></svg></div>'}),new co({value:"1",description:i("Rate.Bad").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm0-152c-44.4 0-86.2 19.6-114.8 53.8-5.7 6.8-4.8 16.9 2 22.5 6.8 5.7 16.9 4.8 22.5-2 22.4-26.8 55.3-42.2 90.2-42.2s67.8 15.4 90.2 42.2c5.3 6.4 15.4 8 22.5 2 6.8-5.7 7.7-15.8 2-22.5C334.2 339.6 292.4 320 248 320zm-80-80c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"/></svg></div>'}),new co({value:"2",description:i("Rate.Neutral").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm-80-232c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm16 160H152c-8.8 0-16 7.2-16 16s7.2 16 16 16h192c8.8 0 16-7.2 16-16s-7.2-16-16-16z"/></svg></div>'}),new co({value:"3",description:i("Rate.Good").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm90.2-146.2C315.8 352.6 282.9 368 248 368s-67.8-15.4-90.2-42.2c-5.7-6.8-15.8-7.7-22.5-2-6.8 5.7-7.7 15.7-2 22.5C161.7 380.4 203.6 400 248 400s86.3-19.6 114.8-53.8c5.7-6.8 4.8-16.9-2-22.5-6.8-5.6-16.9-4.7-22.6 2.1zM168 240c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"/></svg></div>'}),new co({value:"4",description:i("Rate.VeryGood").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm123.1-151.2C340.9 330.5 296 336 248 336s-92.9-5.5-123.1-15.2c-5.3-1.7-11.1-.5-15.3 3.1-4.2 3.7-6.2 9.2-5.3 14.8 9.2 55 83.2 93.3 143.8 93.3s134.5-38.3 143.8-93.3c.9-5.5-1.1-11.1-5.3-14.8-4.3-3.7-10.2-4.9-15.5-3.1zM248 400c-35 0-77-16.3-98.5-40.3 57.5 10.8 139.6 10.8 197.1 0C325 383.7 283 400 248 400zm-80-160c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"/></svg></div>'})];o.forEach(a=>{a.getAnswerText=()=>`${a.text}<div class='rate_text'>${a.description}</div>`}),this.questions.push(new hi({alias:"RATE",type:Ft.SingleChoice,options:o,propertyToSubmit:"rate",text:kt("RateMessage",[i("Chat.RateRequest").toString()]),showOptionsBorders:!1,showSelectedLabel:!0,showHoveredLabel:!0,htmlAnswer:!0,sanitize:a=>a.replace(/([^\u0000-\u007F]|[^\w\d-_\s])/g,""),validate:a=>{let r="";return Number.isNaN(Number(a))&&(r="Wrong answer"),r}})),this.questions.push(new hi({alias:"FEEDBACK",type:Ft.SingleChoice,options:[new co({text:i("Rate.GiveFeedback").toString(),value:1,description:"Yes",nextQuestionAlias:"COMMENT"}),new co({text:i("Rate.NoFeedback").toString(),value:0,description:"No",nextQuestionAlias:"FINISH"})],text:kt("RateFeedbackRequestMessage",[i("Chat.RateFeedbackRequest").toString()])})),this.questions.push(new hi({alias:"COMMENT",propertyToSubmit:"comment",text:kt("RateCommentsMessage",[i("Chat.RateComment").toString()]),validate:a=>{let r="";return ao(a,500)||(r=i("Auth.MaxCharactersReached").toString()),r}}))}getData(){return super.getData()}}class zS{constructor(n,t,i,o){_(this,"onReset",new Te);_(this,"onError",new Te);_(this,"onError$",this.onError.asObservable().pipe(as(this.onReset)));_(this,"onQuestionAnswered",new Te);_(this,"onQuestionAnswered$",this.onQuestionAnswered.asObservable().pipe(as(this.onReset)));_(this,"onNewQuestion",new Te);_(this,"onNewQuestion$",this.onNewQuestion.asObservable().pipe(as(this.onReset)));_(this,"thinking",new Te);_(this,"thinking$",this.thinking.asObservable());_(this,"chatFlowState");_(this,"emojiconUrl","");_(this,"currentFlow");_(this,"eventBus");_(this,"myChatService");this.config=n,this.chatFlowState=t,this.eventBus=i,this.myChatService=o}getCurrentFlow(){return this.currentFlow&&!this.currentFlow.submitted?this.currentFlow:void 0}think(n,t){this.currentFlow.submitted||setTimeout(()=>{this.thinking.next({key:t,value:n})},500)}answer(n){let t="",i=n.value;const o=this.currentFlow.current();if(o!==void 0&&(o.sanitize!==void 0&&(i=o.sanitize(n.value.toString())),t=this.currentFlow.validateCurrent(i.toString())),this.onQuestionAnswered.next(n.key),t===""){o!==void 0&&o.setAnswer(i);const a=this.currentFlow.next();a!==void 0&&this.onNewQuestion.next(a)}else this.onError.next(t)}start(){const n=this.currentFlow.next();n!==void 0&&this.onNewQuestion.next(n)}reset(){this.setChatFlowState(ri.Chat),this.onReset.next()}setChatFlowState(n){switch(this.chatFlowState=n,n){case ri.OfflineForm:this.currentFlow=new $S;break;case ri.Rate:this.currentFlow=new jS;break;case ri.Auth:this.currentFlow=new Sm;break}}onFlowNewQuestion(n){const t=Za(n.text,un.Normal,this.config.operatorIcon,this.emojiconUrl);t.preventSound=n.preventSound,t.preventBubbleIndication=n.preventBubbleIndication,t.preventTabNotification=n.preventTabNotification,this.eventBus.onShowMessage.next(t),n.type===Ft.SingleChoice||n.type===Ft.MultipleChoice?this.eventBus.onShowMessage.next(PS(n)):this.eventBus.onTriggerFocusInput.next()}onFlowError(n){this.eventBus.onShowMessage.next(Za(n,un.Normal,this.config.operatorIcon,this.emojiconUrl))}onFlowQuestionAnswered(n){n>=0&&(this.myChatService.chatMessages[n].sent=!0)}initFlow(n,t=!1,i=()=>Ke(!0),o=s=>this.onFlowNewQuestion(s),a=s=>this.onFlowQuestionAnswered(s),r=s=>this.onFlowError(s)){this.currentFlow.buildFlow(t,n),this.currentFlow.addSubmissionCallback(i,""),this.onError$.subscribe(s=>r(s)),this.onNewQuestion$.subscribe(s=>o(s)),this.onQuestionAnswered$.subscribe(s=>a(s))}}const VS="data:image/png;base64,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",HS=Ve({components:{FileIcon:O_,SpinnerThird:R_,Times:P_},filters:{},props:{file:{type:ls,default:()=>{}}},setup(e){const n=(E=0,x=0)=>IS(E,x),t=ue(Ln),i=ue(zt),o=Z(""),a=Z(""),r=Y(()=>!f.value),s=Y(()=>{if(e.file&&e.file.Height)return e.file.Height>e.file.Width?e.file.Height<200?e.file.Height:200:e.file.Height<120?e.file.Height:120}),l=Y(()=>s.value&&`${s.value}px`),c=Y(()=>{if(e.file&&s.value&&e.file.Width){const E=s&&s.value/e.file.Height;return`${e.file.Width*E}px`}}),u=Y(()=>{var E;if(((E=e.file)==null?void 0:E.FileState)===Ei.CF_Available)return a.value?a.value:e.file.FileLink||void 0}),f=Y(()=>OS(e.file.FileName)&&e.file.HasPreview&&!!e.file);let d;const p=Ei,h=Ot(),b=(E=!1)=>{d&&(E||(a.value=e.file&&e.file.FileLink?d.fileEndPoint(e.file.FileLink):""),f.value&&(o.value=e.file&&e.file.FileLink?d.fileEndPoint(`${e.file.FileLink}.preview`):""))},y=E=>e.file&&e.file.FileState===Ei.CF_Available?!0:(E.preventDefault(),!1),g=()=>{i.onScrollToBottom.next()},C=E=>{E&&E.target&&(E.target.src=kf)};return Kt(()=>e.file.HasPreview,(E,x)=>{E&&x!==E&&b(!0)}),Mt(()=>{h.add(t.mySession$.pipe(Cn(E=>E.sessionState===2)).subscribe({next:E=>{d=E,b()}}))}),Xn(()=>{h.add(t.mySession$.pipe(Cn(E=>E.sessionState===2)).subscribe({next:E=>{d=E,b()}}))}),{clientChatFileState:p,ChatFileState:Ei,link:u,showFileIcon:r,previewSource:o,imageLoaded:g,downloadFile:y,updateNotFoundImage:C,height:l,maxHeight:s,width:c,size:n}}}),WS="*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn;animation-delay:.5s}.slideLeft{animation:slideLeft 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight{animation:slideRight 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp{animation:slideUp 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge{animation:nudge 1s ease-in}@keyframes nudge{0%{opacity:0}to{opacity:1}}@keyframes fly-in{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in{transition:all .5s;animation-duration:.3s;animation-name:fly-in}@keyframes show-with-delay{0%{opacity:0}to{opacity:1}}.show-with-delay{animation-name:show-with-delay;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.root-file .file-download-link{text-decoration:none;color:inherit}.root-file .horizontal_container{display:grid;grid-template-columns:17px auto;grid-column-gap:var(--call-us-element-side-offset-small, 5px);align-items:center}.root-file .horizontal_container .horizontal_content_image{width:17px;align-self:center}.root-file .vertical_container{display:flex;flex-direction:column}.root-file .vertical_container .vertical_content_image{display:flex;flex-direction:column;margin-bottom:3px}.root-file .vertical_container .vertical_content_image img{-o-object-fit:scale-down;object-fit:scale-down;align-self:center;max-width:100%;max-height:200px}.root-file .file-info{min-width:0}.root-file .file-info .file-name{align-self:end;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;text-align:left}.root-file .file-info .file-size{float:left;font-size:calc(var(--call-us-font-size, 14px) - 3px);align-self:end;justify-self:end}",YS={class:R("root-file")},GS={key:0},QS=["href","download"],KS={key:1,class:R(["vertical_content_image"])},ZS=["src"],JS={key:2,class:R(["file-info"])},XS=["title"],eM={class:R(["file-size"])},tM={key:1,class:R(["horizontal_container"])},nM={key:0,class:R([["horizontal_content_image"],["spin"]])},iM={class:R(["file-info"])},oM=["title"],aM={class:R(["file-size"])};function rM(e,n,t,i,o,a){const r=le("FileIcon"),s=le("times");return k(),B("div",YS,[e.file.FileState===e.clientChatFileState.CF_Available?(k(),B("div",GS,[H("a",{ref:"downloadLink",class:R(["file-download-link"]),target:"_blank",href:e.link,download:e.file.FileName,onClick:n[2]||(n[2]=l=>e.downloadFile(l))},[H("div",{class:R([e.showFileIcon?["horizontal_container"]:["vertical_container"]])},[e.showFileIcon?(k(),Se(r,{key:0,class:R(["horizontal_content_image"])})):(k(),B("div",KS,[H("img",{ref:"downloadImage",style:Cr(e.width&&e.height?{width:e.width,height:e.height,maxHeight:e.height}:{}),alt:"download image",src:e.previewSource,onLoad:n[0]||(n[0]=(...l)=>e.imageLoaded&&e.imageLoaded(...l)),onError:n[1]||(n[1]=l=>e.updateNotFoundImage(l))},null,44,ZS)])),e.showFileIcon?(k(),B("div",JS,[H("span",{title:e.file.FileName,class:R(["file-name"])},Ae(e.file.FileName),9,XS),H("span",eM,Ae(e.size(e.file.FileSize)),1)])):ae("",!0)],2)],8,QS)])):ae("",!0),e.file.FileState!==e.clientChatFileState.CF_Available?(k(),B("div",tM,[e.file.FileState===e.ChatFileState.CF_Uploading?(k(),B("spinner-third",nM)):(k(),Se(s,{key:1,class:R([["horizontal_content_image"]])})),H("div",iM,[H("span",{title:e.file.FileName,class:R(["file-name"])},Ae(e.file.FileName),9,oM),H("span",aM,Ae(e.size(e.file.FileSize)),1)])])):ae("",!0)])}const sM=je(HS,[["render",rM],["styles",[WS]]]),lM={name:"ChatText",components:{},props:{message:{type:nu,default:()=>{}}}},cM=".msg_content{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;word-break:break-word;white-space:pre-line}.msg_content a{color:inherit}",fM=["innerHTML"];function uM(e,n,t,i,o,a){return k(),B("span",{class:R("msg_content"),innerHTML:t.message.viewMessage()},null,8,fM)}const dM=Ve({components:{Loader:d_,Redo:b_,OperatorIcon:M_,ChatFile:sM,ChatText:je(lM,[["render",uM],["styles",[cM]]])},props:{message:{type:Object,default:()=>new nu},config:{type:Object,default:()=>{}}},setup(e,n){const t=()=>Fi(e.message.time).format("LT"),i=()=>Fi(e.message.time).format("L"),o=()=>Fi(e.message.time).format("L LT"),{t:a}=Tt(),r=Z(null),s=Y(()=>e.config.messageDateformat==="both"?o():e.config.messageDateformat==="date"?i():e.config.messageDateformat==="time"?t():""),l=(K,re=!0)=>{K&&K.target&&(K.target.src=re?Ms:VS)},c=Y(()=>e.config.messageDateformat!=="none"||e.config.messageUserinfoFormat!=="none"&&e.config.messageUserinfoFormat!=="avatar"),u=Y(()=>!e.message.isAutomated&&(e.config.messageDateformat!=="none"||e.config.messageUserinfoFormat!=="none"&&e.config.messageUserinfoFormat!=="avatar")),f=Y(()=>e.message.isLocal&&(e.config.messageUserinfoFormat==="both"||e.config.messageUserinfoFormat==="avatar")),d=Y(()=>e.message.isLocal?c.value:u.value),p=Y(()=>e.config.messageUserinfoFormat==="both"||e.config.messageUserinfoFormat==="name"),h=Y(()=>e.config.messageDateformat==="date"||e.config.messageDateformat==="time"||e.config.messageDateformat==="both"),b=Y(()=>e.message.errorType===nn.NoError&&!e.message.sent&&!e.message.file),y=Y(()=>!e.message.isLocal&&(e.config.messageUserinfoFormat==="both"||e.config.messageUserinfoFormat==="avatar")),g=Y(()=>e.message.errorType!==nn.NoError&&!e.message.sent),C=Y(()=>e.message.errorType===nn.NoRetry||e.message.errorType===nn.CanRetry),E=Y(()=>e.message.errorType===nn.UnsupportedFile),x=Y(()=>e.message.errorType===nn.FileError),M=Y(()=>e.message.errorType===nn.CanRetry&&!e.message.sent&&!e.message.file),U=K=>n.emit("resend",K),N=Y(()=>e.message.icon?e.message.icon:Ms);return{chatText:r,timeStampString:s,showLocalAvatar:f,showSubArea:d,isUserInfoVisible:p,isTimeStampVisible:h,showSendingIndication:b,showAwayAvatar:y,showMessageNotDeliveredError:g,showNetworkError:C,showUnsupportedFileError:E,showFileError:x,getAgentIcon:N,showRetrySend:M,t:a,updateNotFoundImage:l,sendAgain:U}}}),hM='*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn;animation-delay:.5s}.slideLeft{animation:slideLeft 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight{animation:slideRight 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp{animation:slideUp 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge{animation:nudge 1s ease-in}@keyframes nudge{0%{opacity:0}to{opacity:1}}@keyframes fly-in{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in,.msg-root .msg_bubble{transition:all .5s;animation-duration:.3s;animation-name:fly-in}@keyframes show-with-delay{0%{opacity:0}to{opacity:1}}.show-with-delay{animation-name:show-with-delay;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.msg-root{display:flex;flex-direction:column}.msg-root .msg_bubble_client{justify-content:flex-start}.msg-root .msg_bubble_agent{justify-content:flex-end}.msg-root .msg_bubble{display:flex;flex-direction:row;margin:5px 0 1px!important}.msg-root .msg_bubble .avatar_container{height:27px;min-width:27px;max-width:27px}.msg-root .msg_bubble .avatar_container svg path:first-of-type{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.msg-root .msg_bubble .avatar_container .avatar_img{border-radius:var(--call-us-round-button, 50%);border:1px solid var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));padding:2px;height:28px;min-width:28px;max-width:28px}.msg-root .msg_bubble .msg_container{min-width:131px;line-height:1.4;margin-top:auto;margin-bottom:auto;border-radius:6px;padding:var(--call-us-standart-right-left-padding, 11px);position:relative;display:inline-flex;flex-direction:column;font-size:var(--call-us-font-size, 14px);word-wrap:break-word;word-break:break-word;color:var(--call-us-plate-font-color, #FFFFFF);align-self:flex-end}.msg-root .msg_bubble .msg_container .msg_sub_area{display:flex;flex-direction:row;justify-content:space-between;text-overflow:ellipsis;margin-top:var(--call-us-element-side-offset-small, 5px);font-size:calc(var(--call-us-font-size, 14px) - 3px)}.msg-root .msg_bubble .msg_container .msg_sub_area .msg_sender_name{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:60%;float:left;margin-right:var(--call-us-element-side-offset-small, 5px)}.msg-root .msg_bubble .msg_container .msg_sub_area .msg_timestamp{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.msg-root .msg_bubble .msg_container .sending_indication{display:inline-flex;flex-direction:row;justify-content:flex-end;position:absolute;bottom:0;right:2px}.msg-root .msg_bubble .msg_container .sending_indication .sending_icon{width:1em;height:1em;display:inline-block;fill:var(--call-us-form-header-background, #373737);margin:0 0 0 var(--call-us-element-side-offset-small, 5px)}.msg-root .msg_bubble .msg_client{margin-left:10px;background-color:var(--call-us-plate-background-color, #494949);color:var(--call-us-plate-font-color, #FFFFFF)}.msg-root .msg_bubble .msg_client.new_msg:before{content:"";position:absolute;width:0;height:0;left:-7px;top:8px;border-top:8px solid transparent;border-right:8px solid var(--call-us-plate-background-color, #494949);border-bottom:8px solid transparent}.msg-root .msg_bubble .msg_agent{margin-right:10px;background:var(--call-us-agent-bubble-color, rgba(51, 51, 51, .062745098));color:var(--call-us-main-font-color, #000000)}.msg-root .msg_bubble .msg_agent.new_msg:after{content:"";position:absolute;width:0;height:0;right:-8px;top:8px;border-top:8px solid transparent;border-left:8px solid var(--call-us-agent-bubble-color, rgba(51, 51, 51, .062745098));border-bottom:8px solid transparent}.msg-root .error-message{color:red;font-size:calc(var(--call-us-font-size, 14px) - 3px);margin-bottom:10px}.msg-root .error-message .error-message-retry{cursor:pointer}',pM={class:R([["msg-root"]])},mM={key:0,class:R(["avatar_container"])},gM=["src"],bM={key:2,class:R(["msg_sub_area"])},vM={key:0,class:R([["msg_sender_name"]])},yM={key:1,class:R([["msg_timestamp"]])},AM={key:3,class:R([["sending_indication"]])},wM={key:1,class:R(["avatar_container"])},CM=["src"],_M={key:0,class:R(["error-message"])},EM={key:0},SM={key:1},MM={key:2},IM={key:3};function TM(e,n,t,i,o,a){const r=le("OperatorIcon"),s=le("ChatFile"),l=le("ChatText"),c=le("loader"),u=le("Redo");return k(),B("div",pM,[H("div",{class:R([["msg_bubble"],e.message.isLocal?["msg_bubble_client"]:["msg_bubble_agent"]])},[e.showLocalAvatar?(k(),B("div",mM,[e.message.icon?(k(),B("img",{key:0,alt:"avatar",src:e.message.icon,class:R(["avatar_img"]),onError:n[0]||(n[0]=f=>e.updateNotFoundImage(f,!1))},null,40,gM)):(k(),Se(r,{key:1}))])):ae("",!0),H("div",{ref:"chatText",class:R([["msg_container"],e.message.renderNew?["new_msg"]:"",e.message.isLocal?["msg_client"]:["msg_agent"]])},[e.message.file?(k(),Se(s,{key:0,file:e.message.file},null,8,["file"])):(k(),Se(l,{key:1,message:e.message},null,8,["message"])),e.showSubArea?(k(),B("div",bM,[e.isUserInfoVisible?(k(),B("div",vM,Ae(e.message.senderName),1)):ae("",!0),e.isTimeStampVisible?(k(),B("span",yM,Ae(e.timeStampString),1)):ae("",!0)])):ae("",!0),e.showSendingIndication?(k(),B("div",AM,[de(c,{class:R([["sending_icon"]])})])):ae("",!0)],2),e.showAwayAvatar&&e.message.renderNew?(k(),B("div",wM,[H("img",{alt:"avatar",src:e.getAgentIcon,class:R(["avatar_img"]),onError:n[1]||(n[1]=f=>e.updateNotFoundImage(f))},null,40,CM)])):ae("",!0)],2),e.showMessageNotDeliveredError?(k(),B("div",_M,[e.showNetworkError?(k(),B("span",EM,Ae(e.t("Chat.MessageNotDeliveredError")),1)):e.showUnsupportedFileError?(k(),B("span",SM,Ae(e.t("Chat.UnsupportedFileError")),1)):e.showFileError?(k(),B("span",MM,Ae(e.t("Chat.FileError")),1)):ae("",!0),e.showRetrySend?(k(),B("span",IM,[ei(Ae(e.t("ChatryAgain"))+" ",1),H("span",{class:R(["error-message-retry"]),onClick:n[2]||(n[2]=f=>e.sendAgain(e.message.index))},[de(u,{style:{height:"12px",fill:"red"}})])])):ae("",!0)])):ae("",!0)])}const OM=je(dM,[["render",TM],["styles",[hM]]]),kM=Ve({props:{config:{type:Object,default:()=>{}}},setup(e){const n=ue(Ln),t=ue(R0);let i;const{t:o}=Tt(),a=Ot(),r=Z(!1),s=Z(""),l=()=>{a.add(t.thinking$.pipe(Ci(()=>{r.value=!0}),Sa(1e3),Ci(u=>{r.value=!1,t.answer(u)})).subscribe())},c=()=>{a.add(n.mySession$.pipe(we(u=>u.messages$.pipe(qy(),yt(([f,d])=>f instanceof Ta&&d instanceof Po&&d.Messages.some(p=>{var h;return((h=p.Recipients.find(b=>b.IsSender))==null?void 0:h.IdRecipient)===f.IdRecipient})?(r.value=!1,tn):d),vf(Ta),ch(u.conversation$),yt(f=>({typing:f,time:new Date})),lh(1e3),Ci(f=>{if(i=f.time,e.config.showOperatorActualName){const[d,p]=f.typing,h=p.Recipients.find(b=>b.Recipient.IdRecipient===d.IdRecipient);s.value=(h==null?void 0:h.Recipient.Name)||e.config.operatorName}else s.value=e.config.operatorName;r.value=!0}),Sa(2e3)))).subscribe(()=>{const u=i.getTime()-new Date().getTime();r.value=Math.abs(u)<2e3}))};return Mt(()=>{l(),c()}),{isTypingVisible:r,operatorName:s,t:o}}}),xM="*{box-sizing:border-box}.typing-indicator-root{display:flex;flex-direction:row;width:80%;justify-content:flex-end;text-align:right;right:var(--call-us-standart-right-left-padding, 11px);font-size:calc(var(--call-us-font-size, 14px) - 3px);white-space:nowrap;max-width:80%;color:var(--call-us-main-font-color, #000000)}.typing-indicator-root .typing_indicator_name{flex-grow:1;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.typing-indicator-root .typing_indicator_name span{margin-right:3px}",RM={key:0,class:R(["typing-indicator-root"])},NM={class:R(["typing_indicator_name"])},LM=["title"];function PM(e,n,t,i,o,a){return e.isTypingVisible?(k(),B("div",RM,[H("div",NM,[H("span",{title:e.operatorName},Ae(e.operatorName),9,LM)]),H("span",{ref:"typingIndicator"},Ae(e.t("Inputs.IsTyping")),513)])):ae("",!0)}const DM=je(kM,[["render",PM],["styles",[xM]]]),FM={PaperClip:B1,SoundActive:D1,SoundInactive:F1},BM={name:"ActionButton",components:{SoundActive:D1,SoundInactive:F1},props:{title:{type:String,default:""},componentKey:{type:String,default:""},disabled:Boolean},setup(e){return{components:FM}}},qM="*{box-sizing:border-box}.action-button{margin-right:var(--call-us-element-side-offset-small, 5px);cursor:pointer;width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);background:transparent;padding:0;fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));vertical-align:top;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid}.action-button a{width:100%;height:100%}.action-button svg{width:20px;height:20px}.action-button svg path{width:20px;height:20px}",UM=["title","aria-label","disabled"];function $M(e,n,t,i,o,a){return k(),B("button",{class:R(["action-button"]),title:t.title,"aria-label":t.title,disabled:t.disabled,type:"button",onClick:n[0]||(n[0]=cn(()=>{},["prevent","stop"]))},[(k(),Se(Ub(i.components[t.componentKey]))),fa(e.$slots,"default")],8,UM)}const jM=je(BM,[["render",$M],["styles",[qM]]]),zM=Ve({directives:{object:Ba},components:{GlyphiconCall:qa},props:{allowVideo:{type:Boolean,default:!1},allowCall:{type:Boolean,default:!1},isFullScreen:{type:Boolean,default:!1},isChatUntilCall:{type:Boolean,default:!1},chatOnline:{type:Boolean,default:!0},showCallControls:Boolean},setup(e){const n=ue(en),t=Os(n),{t:i}=Tt(),o=Y(()=>{let a=[];return!e.isChatUntilCall&&(n.hasCall.value||n.hasRecall.value)?a=["big-buttons"]:e.isChatUntilCall&&n.hasCall.value&&(a=["no-buttons"]),a});return{isWebRtcAllowed:Vo,t:i,isVideoActive:Y(()=>n.isVideoActive.value),isFullScreenSupported:Y(()=>n.isFullscreenSupported()),isCallWindow:o,makeVideoCall(){t.makeCall(!0)},toggleMute(){n.mute()},videoOutputClick(){n.goFullScreen()},...t}}}),VM="*{box-sizing:border-box}button{font-family:inherit;width:100%;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid;padding:var(--call-us-element-side-offset-small, 5px) 10px;font-size:var(--call-us-font-size, 14px);outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center}button:disabled{opacity:.6;cursor:not-allowed}.root-cc{display:flex;flex-direction:row;height:var(--call-us-call-controls-btn-height, 46.01px)}.root-cc.big-buttons{background:var(--call-us-plate-background-color, #494949);height:var(--call-us-big-bottom-btn-height, 67px)}.root-cc.big-buttons .call-us{font-size:calc(var(--call-us-font-size, 14px) + 6px)}.root-cc.big-buttons .call-us svg{width:var(--call-us-drop-size, 28px)!important;height:var(--call-us-drop-size, 28px)!important}.root-cc .call-us,.root-cc .call-us-drop{display:flex;align-items:center;justify-content:center;height:100%;width:100%;color:#fff;margin:0;outline:none}.root-cc .call-us:active,.root-cc .call-us-drop:active{transform:translateY(2px)}.root-cc .call-us .call-icon,.root-cc .call-us .drop-icon,.root-cc .call-us-drop .call-icon,.root-cc .call-us-drop .drop-icon{margin-right:var(--call-us-element-side-offset-medium, 10px);width:16px;height:16px;fill:#fff}.root-cc .call-us{background:#18ab00}.root-cc .call-us-drop{background:#d80027;font-size:calc(var(--call-us-font-size, 14px) + 6px)}.root-cc .call-us-drop svg{width:var(--call-us-drop-size, 28px)!important;height:var(--call-us-drop-size, 28px)!important;transform:var(--call-us-default-rotation-drop-call, rotate(135deg))}",HM=["src"],WM={key:1,autoplay:""},YM=["aria-label","disabled"],GM=["aria-label","disabled"];function QM(e,n,t,i,o,a){const r=le("GlyphiconCall"),s=ca("object");return e.showCallControls?(k(),B("div",{key:0,ref:"phoneControlsContainer",class:R([["root-cc"],e.isFullScreen?["full-screen-controls"]:"",e.isCallWindow])},[e.myWebRTCService.audioNotificationUrl.value?(k(),B("audio",{key:0,src:e.myWebRTCService.audioNotificationUrl.value,autoplay:"",loop:""},null,8,HM)):ae("",!0),e.myWebRTCService.remoteStream.value?Zn((k(),B("audio",WM,null,512)),[[s,e.myWebRTCService.remoteStream.value]]):ae("",!0),e.myWebRTCService.hasCall.value?(k(),B("button",{key:3,id:"callUsDropCallBtn",type:"button","aria-label":e.t("Inputs.EndCallTitle"),class:R([["call-us-drop"]]),disabled:e.myWebRTCService.hasTryingCall.value,onClick:n[1]||(n[1]=(...l)=>e.dropCall&&e.dropCall(...l))},[de(r,{class:R(["drop-icon"])}),ei(" "+Ae(e.t("Inputs.EndCallTitle")),1)],8,GM)):(k(),B(rt,{key:2},[e.allowCall?(k(),B("button",{key:0,id:"callUsCallBtn",type:"button","aria-label":e.t("Inputs.CallTitle"),class:R([["call-us"],e.myWebRTCService.hasRecall.value?["recall-window"]:""]),disabled:!e.isWebRtcAllowed,onClick:n[0]||(n[0]=()=>e.makeCall())},[de(r,{class:R(["call-icon"])}),ei(" "+Ae(e.t("Inputs.CallTitle")),1)],10,YM)):ae("",!0)],64))],2)):ae("",!0)}const KM=Ve({components:{ActionButton:jM,FacebookIcon:e_,PaperPlane:i_,TwitterIcon:r_,EmailIcon:c_,PaperClip:B1,MessageSolid:$1,CallControls:je(zM,[["render",QM],["styles",[VM]]])},props:{config:{type:Object,default:()=>{}},isChatActive:Boolean,chatEnabled:{type:Boolean,default:!1},chatOnline:{type:Boolean,default:!0},enableTyping:{type:Boolean,default:!0},isFullScreen:{type:Boolean,default:!1},currentState:{type:Number,default:ye.Chat},isChatUntilCall:Boolean,isCall:{type:Boolean,default:!1},allowCall:{type:Boolean,default:!1}},setup(e,n){const t=ue(zt),i=ue(Aa),o=ue(Ln),a=ue(en),r=Z(null),s=Z(null),l=Z(e.config.allowSoundNotifications),c=Z(""),{t:u}=Tt(),f=Y(()=>a&&(e.allowCall||e.config.allowVideo||a.hasCall.value)&&(e.chatEnabled?o.hasSession:!0)&&!e.isChatUntilCall),d=Y(()=>Cm),p=Ot(),h=()=>{setTimeout(()=>{r.value&&Ho.blurElement(r.value)},200)},b=()=>{setTimeout(()=>{r.value&&Ho.focusElement(r.value)},200)},y=()=>{p.add(t.onMinimized.subscribe({next:()=>{h()}}))},g=()=>{const ee=pc(t.onRestored,t.onTriggerFocusInput);p.add(ee.subscribe({next:()=>{i.chatInteractionEvent(),b()}}))},C=ee=>{c.value=ee.target.value,t.onClientChatTyping.next()},E=ee=>{n.emit("input-focus-change",ee),ee&&t.onAttendChat.next()},x=()=>{var ee;(ee=s.value)==null||ee.click()},M=()=>{const ee=s.value;ee&&t.onFileUpload.next(ee.files)},U=()=>{c.value&&(n.emit("send-message",c.value),c.value="")},N=()=>{t.onRestart.next()},K=()=>{l.value=!l.value,t.onToggleSoundNotification.next(l.value)},re=Y(()=>c.value.length>0);Mt(()=>{y(),g()});const W=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&xi();return{myMessage:c,chatInput:r,fileInput:s,soundFlag:l,t:u,maxChatMessageSize:d,isSendButtonEnabled:re,isMobileSafari:W,showCallControls:f,fireTyping:C,onInputFocusChange:E,filePickerToggle:x,fileSelection:M,sendMessage:U,onStartNewChat:N,onToggleSound:K,focusInput:b,blurInput:h}}}),ZM='[data-v-1a820332]{box-sizing:border-box}.bar[data-v-1a820332]{border:0;padding:0;position:relative;display:block;width:100%}.bar[data-v-1a820332]:before{content:"";height:2px;width:0;bottom:0;position:absolute;background:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));transition:.3s ease all;left:0}.materialInput[data-v-1a820332],.materialPhone[data-v-1a820332],.materialTextarea[data-v-1a820332]{position:relative;flex-grow:1;margin-bottom:5px}.materialInput label[data-v-1a820332],.materialPhone label[data-v-1a820332],.materialTextarea label[data-v-1a820332]{color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 3px);font-palette:dark;font-weight:400;position:absolute;pointer-events:none;left:var(--call-us-element-side-offset-small, 5px);top:10px;transition:.3s ease all}.materialInput textarea[data-v-1a820332],.materialPhone textarea[data-v-1a820332],.materialTextarea textarea[data-v-1a820332]{overflow-x:hidden;resize:none}.materialInput textarea:focus~label[data-v-1a820332],.materialInput textarea:valid~label[data-v-1a820332],.materialPhone textarea:focus~label[data-v-1a820332],.materialPhone textarea:valid~label[data-v-1a820332],.materialTextarea textarea:focus~label[data-v-1a820332],.materialTextarea textarea:valid~label[data-v-1a820332]{top:-30px;font-size:calc(var(--call-us-font-size, 14px) - 1px);color:var(--call-us-main-font-color, #000000)}.materialInput input[data-v-1a820332],.materialPhone input[data-v-1a820332],.materialTextarea input[data-v-1a820332]{background:var(--call-us-main-background-color, #FFFFFF)!important}.materialInput input:focus~label[data-v-1a820332],.materialInput input:valid~label[data-v-1a820332],.materialInput input:disabled~label[data-v-1a820332],.materialPhone input:focus~label[data-v-1a820332],.materialPhone input:valid~label[data-v-1a820332],.materialPhone input:disabled~label[data-v-1a820332],.materialTextarea input:focus~label[data-v-1a820332],.materialTextarea input:valid~label[data-v-1a820332],.materialTextarea input:disabled~label[data-v-1a820332]{top:-4px;font-size:calc(var(--call-us-font-size, 14px) - 1px);color:var(--call-us-main-font-color, #000000)}.materialInput.safari-input input[data-v-1a820332],.materialPhone.safari-input input[data-v-1a820332],.materialTextarea.safari-input input[data-v-1a820332]{font-size:calc(var(--call-us-font-size, 14px) + 2px)}.materialInput input[data-v-1a820332],.materialInput textarea[data-v-1a820332],.materialPhone input[data-v-1a820332],.materialPhone textarea[data-v-1a820332],.materialTextarea input[data-v-1a820332],.materialTextarea textarea[data-v-1a820332]{background:none;color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 1px);font-family:inherit;padding:7px 0 3px;display:block;width:100%;border:none;border-radius:0;border-bottom:1px solid var(--call-us-main-font-color, #000000)}.materialInput input[data-v-1a820332]:focus,.materialInput textarea[data-v-1a820332]:focus,.materialPhone input[data-v-1a820332]:focus,.materialPhone textarea[data-v-1a820332]:focus,.materialTextarea input[data-v-1a820332]:focus,.materialTextarea textarea[data-v-1a820332]:focus{outline:none}.materialInput input:focus~.bar[data-v-1a820332]:before,.materialInput textarea:focus~.bar[data-v-1a820332]:before,.materialPhone input:focus~.bar[data-v-1a820332]:before,.materialPhone textarea:focus~.bar[data-v-1a820332]:before,.materialTextarea input:focus~.bar[data-v-1a820332]:before,.materialTextarea textarea:focus~.bar[data-v-1a820332]:before{width:100%}.custom-scrollbar[data-v-1a820332]::-webkit-scrollbar,.footer-root .chat-message-input-form .chat-message-input[data-v-1a820332]::-webkit-scrollbar{width:4px}.custom-scrollbar[data-v-1a820332]::-webkit-scrollbar-track,.footer-root .chat-message-input-form .chat-message-input[data-v-1a820332]::-webkit-scrollbar-track{background:#f1f1f1}.custom-scrollbar[data-v-1a820332]::-webkit-scrollbar-thumb,.footer-root .chat-message-input-form .chat-message-input[data-v-1a820332]::-webkit-scrollbar-thumb{background:#888}.custom-scrollbar[data-v-1a820332]::-webkit-scrollbar-thumb:hover,.footer-root .chat-message-input-form .chat-message-input[data-v-1a820332]::-webkit-scrollbar-thumb:hover{background:#555}.footer-root[data-v-1a820332]{border-radius:0 0 15px 15px!important;border-top:0!important;background:var(--call-us-main-background-color, #FFFFFF);min-height:calc(var(--call-us-chat-input-height, 47px) + var(--call-us-call-controls-btn-height, 46.01px))}.footer-root.call[data-v-1a820332]{min-height:calc(var(--call-us-chat-input-height, 47px) + var(--call-us-big-bottom-btn-height, 67px))}.footer-root.chat-call[data-v-1a820332],.footer-root.calls-disabled[data-v-1a820332]{min-height:var(--call-us-chat-input-height, 47px)}.footer-root[data-v-1a820332]{margin-top:auto}.footer-root .chat-inputs[data-v-1a820332]{padding:0 var(--call-us-standart-right-left-padding, 11px) var(--call-us-standart-right-left-padding, 11px) var(--call-us-standart-right-left-padding, 11px);height:var(--call-us-chat-input-height, 47px);display:flex;flex-direction:row;align-items:center}.footer-root .chat-message-input-form[data-v-1a820332]{width:100%}.footer-root.chat-disabled[data-v-1a820332]{padding:0!important;min-height:unset;margin-top:auto}.footer-root .chat-message-input-form[data-v-1a820332]{margin:0;display:flex;flex-direction:row}.footer-root .chat-message-input-form .chat-message-input[data-v-1a820332]:disabled{cursor:not-allowed}.footer-root .chat-message-input-form .chat-message-input.safari-input[data-v-1a820332]{font-size:calc(var(--call-us-font-size, 14px) + 2px)}.footer-root .chat-message-input-form .chat-message-input[data-v-1a820332]{height:var(--call-us-msg-m-input-height, 32px);outline:none;box-sizing:border-box}.footer-root .chat-message-input-form .send-trigger[data-v-1a820332]{cursor:pointer;width:20px;height:20px;margin-top:10px;margin-left:10px;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid}.footer-root .chat-message-input-form .send-trigger.send_enable[data-v-1a820332]{cursor:pointer}.footer-root .chat-message-input-form .send-trigger.send_enable svg[data-v-1a820332]{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))!important}.footer-root .chat-message-input-form .send-trigger.send_disable[data-v-1a820332]{cursor:not-allowed;fill:#eee}.footer-root .banner[data-v-1a820332]{padding-top:var(--call-us-element-side-offset-small, 5px);position:relative;height:25px;display:flex;flex-direction:row;align-items:center;margin-top:-2px}.footer-root .banner .chat-action-buttons[data-v-1a820332]{color:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));display:flex;flex-direction:row}.footer-root .banner .chat-action-buttons .action-button[data-v-1a820332]{margin-right:var(--call-us-element-side-offset-small, 5px);cursor:pointer;width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px)}.footer-root .banner .chat-action-buttons .action-button svg[data-v-1a820332]{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));vertical-align:top}.start-new[data-v-1a820332]{line-height:var(--call-us-default-line-height, 17px);border:none;display:flex;align-items:center;justify-content:center;align-self:flex-end;color:var(--call-us-plate-font-color, #FFFFFF);width:100%;height:44px;background:var(--call-us-plate-background-color, #494949);border-radius:0 0 6px 6px}.start-new svg[data-v-1a820332]{margin-right:15px;width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:var(--call-us-plate-font-color, #FFFFFF)}.start-new[data-v-1a820332]:active{opacity:.9}.start-new[data-v-1a820332]{transition:.1s ease all}button.send-trigger[data-v-1a820332]{cursor:pointer;width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);margin-top:10px;margin-left:10px;background:transparent;padding:0}button.send-trigger.send_enable svg[data-v-1a820332]{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}button.send-trigger.send_disable svg[data-v-1a820332]{width:100%;fill:#eee}',JM={key:0,class:R(["chat-inputs"])},XM={class:R(["banner"])},eI={class:R(["chat-action-buttons"])},tI=["href"],nI=["href"],iI=["href"],oI={class:R("materialInput")},aI=["disabled","value","placeholder","maxLength"],rI=["aria-label","disabled"],sI=["aria-label"];function lI(e,n,t,i,o,a){const r=le("ActionButton"),s=le("FacebookIcon"),l=le("TwitterIcon"),c=le("EmailIcon"),u=le("PaperPlane"),f=le("CallControls"),d=le("MessageSolid");return k(),B("div",{class:R([["footer-root"],e.isChatActive?"":["chat-disabled"],e.isCall?["call"]:"",e.isChatUntilCall?["chat-call"]:"",e.showCallControls?"":["calls-disabled"]])},[e.isChatActive?(k(),B("div",JM,[e.chatEnabled?(k(),B(rt,{key:0},[H("div",XM,[H("div",eI,[e.config.filesEnabled&&e.chatOnline?(k(),B("input",{key:0,id:"avatar",ref:"fileInput",type:"file",style:{display:"none"},name:"file-picker",accept:"image/jpeg,image/pjpeg,image/png,image/gif,image/bmp,image/x-windows-bmp,image/tiff,image/x-tiff,application/msword,application/pdf,text/plain,application/rtf,application/x-rtf,application/mspowerpoint,application/powerpoint,application/vnd.ms-powerpoint,application/x-mspowerpoint,application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel",onChange:n[0]||(n[0]=cn((...p)=>e.fileSelection&&e.fileSelection(...p),["prevent"]))},null,544)):ae("",!0),e.config.filesEnabled&&e.chatOnline?(k(),Se(r,{key:1,componentKey:"PaperClip",disabled:!e.enableTyping,title:e.t("Inputs.AddFile"),onClick:cn(e.filePickerToggle,["prevent"])},null,8,["disabled","title","onClick"])):ae("",!0),e.config.enableMute&&e.chatEnabled?(k(),Se(r,{key:2,componentKey:e.soundFlag?"SoundActive":"SoundInactive",title:e.soundFlag?e.t("Inputs.MuteNotifications"):e.t("Inputs.UnmuteNotifications"),onClick:e.onToggleSound},null,8,["componentKey","title","onClick"])):ae("",!0),e.config.facebookIntegrationUrl?(k(),Se(r,{key:3,title:"facebook integration"},{default:Gt(()=>[H("a",{target:"_blank",href:e.config.facebookIntegrationUrl},[de(s)],8,tI)]),_:1})):ae("",!0),e.config.twitterIntegrationUrl?(k(),Se(r,{key:4,title:"twitter integration"},{default:Gt(()=>[H("a",{target:"_blank",href:e.config.twitterIntegrationUrl},[de(l)],8,nI)]),_:1})):ae("",!0),e.config.emailIntegrationUrl?(k(),Se(r,{key:5,title:"email integration"},{default:Gt(()=>[H("a",{href:"mailto:"+e.config.emailIntegrationUrl},[de(c)],8,iI)]),_:1})):ae("",!0)])]),H("form",{class:R(["chat-message-input-form"]),autocomplete:"off",autocorrect:"off",spellcheck:"false",onSubmit:n[7]||(n[7]=cn(p=>e.sendMessage(),["prevent"]))},[H("div",oI,[H("textarea",{ref:"chatInput",class:R([["chat-message-input"],e.isMobileSafari?["safari-input"]:""]),disabled:!e.enableTyping,value:e.myMessage,placeholder:e.t("Chat.TypeYourMessage"),maxLength:e.maxChatMessageSize,name:"chatInput",autocomplete:"off",spellcheck:"false",onInput:n[1]||(n[1]=p=>e.fireTyping(p)),onFocus:n[2]||(n[2]=p=>e.onInputFocusChange(!0)),onBlur:n[3]||(n[3]=p=>e.onInputFocusChange(!1)),onKeydown:[n[4]||(n[4]=T0(cn((...p)=>e.sendMessage&&e.sendMessage(...p),["exact","prevent"]),["enter"])),n[5]||(n[5]=T0(cn(p=>e.myMessage+=` `,["shift","exact","prevent"]),["enter"]))]},null,42,aI)]),H("button",{id:"sendBtn","aria-label":e.t("Auth.OfflineSubmit"),class:R([["send-trigger"],e.isSendButtonEnabled?["send_enable"]:["send_disable"]]),disabled:!e.enableTyping,onMousedown:n[6]||(n[6]=cn(p=>e.sendMessage(),["prevent"]))},[de(u)],42,rI)],32)],64)):ae("",!0)])):ae("",!0),de(f,{allowCall:e.allowCall,allowVideo:e.config.allowVideo,isFullScreen:e.isFullScreen,isChatUntilCall:e.isChatUntilCall,chatOnline:e.chatOnline,showCallControls:e.showCallControls},null,8,["allowCall","allowVideo","isFullScreen","isChatUntilCall","chatOnline","showCallControls"]),!e.isChatActive&&!e.showCallControls?(k(),B("button",{key:1,id:"startNewBtn",ref:"startNewBtn","aria-label":e.t("ChatCompleted.StartNew"),class:R(["start-new"]),type:"button",onClick:n[8]||(n[8]=p=>e.onStartNewChat())},[de(d),ei(" "+Ae(e.t("ChatCompleted.StartNew")),1)],8,sI)):ae("",!0)],2)}const cI=je(KM,[["render",lI],["styles",[ZM]],["__scopeId","data-v-1a820332"]]),fI=[At.MISSED,At.ENDED_DUE_AGENT_INACTIVITY,At.ENDED_DUE_CLIENT_INACTIVITY,At.ENDED_BY_CLIENT,At.ENDED_BY_AGENT,At.ENDED_DUE_BLOCK];function uI(e,n){var i;const t=(i=e.Recipient.Contact)==null?void 0:i.ContactImage;if(t)return new URL(t,n).href}const dI=Ve({components:{Notifier:US,ChatMsg:OM,ChatFooter:cI,TypingIndicator:DM},props:{config:{type:Object,default:()=>{}},operator:{type:Object,default:()=>Oi},chatEnabled:{type:Boolean,default:!1},chatOnline:{type:Boolean,default:!0},isChatUntilCall:{type:Boolean,default:!1},allowCall:{type:Boolean,default:!1}},setup(e,n){const t=ue(Ln),i=ue(zt),o=ue(Eo),a=ue(Aa),r=ue(en),s=ue(wi),{t:l}=Tt(),c=new zS(e.config,ri.Chat,i,t),u=Z(null),f=Z(!1),d=Ot();let p=!1,h=!1,b=!0,y="",g=-1,C="",E=[];const x=new Te,M=Y(()=>r.isVideoActive.value),U=Y(()=>{let m=!0;const A=c.getCurrentFlow();if(A!==void 0){const O=A.current();O!==void 0&&(m=O.type!==Ft.MultipleChoice&&O.type!==Ft.SingleChoice)}return m});$t(R0,c);const N=m=>{f.value=m},K=()=>{setTimeout(()=>{const m=u.value;m&&(m.scrollTop=m.scrollHeight)})},re=Y(()=>{let m;const A=c.getCurrentFlow();return A!==void 0&&c.chatFlowState!==ri.Chat?A.closeOnSubmission?m=!(A!=null&&A.submitted):m=!0:e.chatOnline?m=t.hasSession:m=!1,m}),W=m=>{const A=t.chatMessages.push(m);return m.isNew&&!m.isLocal&&!m.preventSound&&!f.value&&(i.onSoundNotification.next(),!e.isChatUntilCall&&r.hasCall.value&&n.emit("add-unread-message")),m.isNew&&!m.isLocal&&(!m.preventBubbleIndication||!m.preventTabNotification)&&!f.value&&i.onUnattendedMessage.next(m),K(),A},ee=m=>{if(b&&m.isLocal){let A=jn("FirstResponse",[e.config.firstResponseMessage]);if(A)if(A=t.injectAuthenticationName(A),t.chatMessages.filter(F=>!F.isAutomated&&!F.isLocal).length<=0){b=!1;const F=Za(A,un.Normal,e.operator.image,y);W(F)}else b=!1}},he=m=>m===40?nn.NoRetry:nn.CanRetry,Be=(m,A)=>{t.get(new Lh({Message:m,IdConversation:g})).subscribe({next:()=>{i.onTriggerFocusInput.next(),t.chatMessages[A].sent=!0,ee(t.chatMessages[A])},error:O=>{i.onError.next(O),t.chatMessages[A].errorType=he(O.state),K()}})},se=(m="",A=-1)=>{var O,F;if(SS(m))if(m.length<=Cm){i.onChatInitiated.next(!0);const V=t.lastMessage(),v=V==null?void 0:V.isLocal;let w;if(A<0&&(w=_m(m,C,e.config.userIcon,!v||V.senderName!==C,!0,y),A=W(w)-1),t.chatMessages[A].index=A,e.chatOnline&&c.chatFlowState===ri.Chat)A===1&&p&&(m=nS(`Offline Message: Name: ${((O=t.auth)==null?void 0:O.name)??""} Email: ${((F=t.auth)==null?void 0:F.email)??""} Content: ${m}`)),Be(m,A);else{const S=c.getCurrentFlow();S&&S.current()===void 0&&S instanceof Sm&&w!==void 0&&E.push(w),c.think(m,A)}}else i.onError.next("Chat message too large"),Fa("Chat message too large")},Q=m=>{se(t.chatMessages[m].message,m)},q=m=>{const A=m.filter(O=>O.IsNew).map(O=>O.Id);A.length>0&&t.get(new Fh({Items:A})).subscribe()},z=m=>{m=t.injectAuthenticationName(m);const A=Za(m,un.Completed,"",y,!0,!1);A.preventBubbleIndication=!0,A.preventBlinkingTitle=!0,W(A)},D=(m,A)=>{setTimeout(()=>{let O="";m?O=t.injectAuthenticationName(jn("ChatWelcomeMessage",[e.config.inviteMessage])):O=t.injectAuthenticationName(jn("UnavailableMessage",[e.config.unavailableMessage]));const F=Za(O,un.Normal,(A==null?void 0:A.image)||e.operator.image,y,!1);F.preventSound=!0,W(F)})},te=m=>{var A;if(h&&((A=t.lastMessage())==null?void 0:A.messageType)!==un.Completed||!h||m.closedByClient){const O=m.closeMessage||jn("ChatEndMessage",[e.config.endingMessage,l("Inputs.EndingMessage").toString()]);z(O)}i.onChatCompleted.next()},X=m=>{if(!m)return;const A=new ls;A.FileSize=m[0].size,A.FileState=Ei.CF_Uploading,A.FileName=m[0].name;const O=Em(A,C,e.config.userIcon,!0),F=W(O)-1,V=new Ph({IdConversation:g,Name:m[0].name});TS(m[0].name)?t.get(V).pipe(fn(v=>(t.chatMessages[F].errorType=nn.FileError,A.FileState=Ei.CF_Deleted,t.chatMessages[F].file=A,K(),Ze(()=>v)))).subscribe(v=>{A.FileLink=v.File.FileLink,A.FileState=Ei.CF_Available,t.chatMessages[F].file=A,t.chatMessages[F].sent=!0}):(t.chatMessages[F].errorType=nn.UnsupportedFile,A.FileState=Ei.CF_Deleted,t.chatMessages[F].file=A,K())},me=()=>{d.add(i.onShowMessage.subscribe({next:m=>{W(m)}}))},ge=()=>{d.add(x.pipe(Ry(i.onAttendChat)).subscribe({next:m=>{m.forEach(A=>{q(A)})}}))},Ee=()=>{d.add(i.onScrollToBottom.subscribe({next:()=>K()}))},De=()=>{d.add(t.notificationsOfType$(Da).subscribe({next:m=>{var A;if(fI.includes(m.status)){let O="";switch(h&&(O=((A=t.lastMessage())==null?void 0:A.message)??""),m.status){case At.ENDED_DUE_BLOCK:O=l("Inputs.BlockMessage").toString();break;case At.ENDED_DUE_AGENT_INACTIVITY:case At.ENDED_DUE_CLIENT_INACTIVITY:O=jn("InactivityMessage",["Chat session closed due to inactivity."]);break;case At.ENDED_BY_CLIENT:case At.ENDED_BY_AGENT:O=jn("ChatEndMessage",[e.config.endingMessage,l("Inputs.EndingMessage").toString()]);break;case At.MISSED:O=jn("ChatNoAnswerMessage",[e.config.endingMessage,l("Inputs.EndingMessage").toString()]);break}i.onClosed.next(new ks({notifyServer:!1,closedByClient:!1,chatUniqueCode:g,closeMessage:O}))}else m.status===At.ACTIVE&&(m.chatState&&(p=m.isNew&&!m.chatState.Connected,D(m.chatState.Connected,u1(m.startingConv,e.config))),g=m.idConversation)}}))},Xe=()=>{d.add(t.mySession$.subscribe({next:m=>{!t.hasSession&&m.sessionState===Bn.Error?i.onClosed.next(new ks({notifyServer:!1,closedByClient:!1,chatUniqueCode:g})):t.hasSession?(o.hide(),i.onEnableNotification.next(),i.onTriggerFocusInput.next(),h=m.serverProvideSystemMessages,y=m.emojiEndpoint(),c.emojiconUrl=y,g=m.getSessionUniqueCode(),E.length>0&&(E.forEach(A=>{Be(A.message,A.index)}),E=[]),a.chatInitiatedEvent(m)):e.chatEnabled||o.hide()}}))},Rt=()=>{const m=t.mySession$.pipe(we(A=>A.messages$.pipe(vf(Po),ch(A.conversation$))));d.add(m.subscribe({next:([A,O])=>{A.Messages.forEach(F=>{var V;if(F.IdConversation===O.IdConversation){if(F.MessageType===Dc.CMT_Closed||F.MessageType===Dc.CMT_Dealt)z(kt("ChatEndMessage",[e.config.endingMessage,l("Inputs.EndingMessage").toString()]));else{let v,w;F.File&&(w=new ls(F.File));const S=t.lastMessage(),P=S==null?void 0:S.isLocal,j=!!(S!=null&&S.file),ie=(V=F.Recipients.find(Re=>Re.IsSender))==null?void 0:V.IdRecipient,$=O.Recipients.find(Re=>Re.Recipient.IdRecipient===ie),I=($==null?void 0:$.Recipient.RecipientType)===Lo.CRT_Anonymous;let L;I?L=($==null?void 0:$.Recipient.Name)||e.config.visitorName:L=e.config.showOperatorActualName&&($==null?void 0:$.Recipient.Name)||e.config.operatorName;const oe=new Date(F.Time.Year,F.Time.Month-1,F.Time.Day,F.Time.Hour,F.Time.Minute,F.Time.Second),pe=oe.getTimezoneOffset(),Ce=I!==P||(S==null?void 0:S.senderName)!==L||!!F.File||j||(S==null?void 0:S.isAutomated)&&!0;let tt=F.Message;if(I)if(w)v=Em(w,L,e.config.userIcon,F.IsNew,new Date(oe.getTime()-pe*60*1e3));else{const Re=tt.match(/Offline Message:.*Content: (.*)/s);(Re==null?void 0:Re.length)===2&&([,tt]=Re),v=_m(tt,L,e.config.userIcon,Ce,F.IsNew,y,!F.IsNew,new Date(oe.getTime()-pe*60*1e3))}else{const Re=$&&uI($,e.config.channelUrl??"")||e.config.operatorIcon;w?v=LS(F.Id,w,L,Re,Ce,new Date(oe.getTime()-pe*60*1e3),y,F.IsNew):v=NS(F.Id,tt,L,Re,Ce,new Date(oe.getTime()-pe*60*1e3),y,F.IsNew)}W(v)}e.config.acknowledgeReceived&&(x.next(A.Messages),f.value&&i.onAttendChat.next())}})}}))},at=()=>{d.add(t.notificationsOfType$(Nh).subscribe({next:m=>{const A=t.chatMessages.findIndex(O=>O.id===m.Id);A>-1&&(t.chatMessages[A].file=new ls(m.File))}}))},ft=()=>{d.add(i.onClientChatTyping.pipe(Cn(()=>c.chatFlowState===ri.Chat),lh(2e3),we(()=>{const m=new Ta({IdConversation:g});return t.get(m)})).subscribe({error:m=>{i.onError.next(m)}}))},_t=()=>{d.add(i.onClosed$.subscribe({next:m=>{r.hasCall.value&&r.removeDroppedCall(),te(m)}}))},et=()=>{d.add(i.onFileUpload.subscribe({next:m=>X(m)}))},ut=()=>{d.add(xo(document,"resize").subscribe(()=>{xi()&&K()}))};Mt(()=>{var m,A;ut(),o.show(),t.clearMessages(),C=((m=t.auth)==null?void 0:m.name)??"",d.add(i.onRestored.subscribe(()=>K())),me(),ge(),Ee(),De(),Xe(),Rt(),at(),ft(),_t(),et(),C=((A=t.auth)==null?void 0:A.name)||e.config.visitorName}),Xn(()=>{e.chatOnline||i.onEnableNotification.next()});const bn=Y(()=>s.isFullScreen);return{myWebRTCService:r,isInputFocused:f,enableTyping:U,isVideoActive:M,chatHistory:u,myChatService:t,ChatViewMessageType:_i,chatFlowControlService:c,isChatActive:re,isFullScreen:bn,onResendMessage:Q,onInputFocusChange:N,sendMessage:se,automatedFirstResponseHandle:ee,addChatMessage:W,t:l}}}),hI='.bar[data-v-46c34c4c]{border:0;padding:0;position:relative;display:block;width:100%}.bar[data-v-46c34c4c]:before{content:"";height:2px;width:0;bottom:0;position:absolute;background:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));transition:.3s ease all;left:0}.materialInput[data-v-46c34c4c],.materialPhone[data-v-46c34c4c],.materialTextarea[data-v-46c34c4c]{position:relative;flex-grow:1;margin-bottom:5px}.materialInput label[data-v-46c34c4c],.materialPhone label[data-v-46c34c4c],.materialTextarea label[data-v-46c34c4c]{color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 3px);font-palette:dark;font-weight:400;position:absolute;pointer-events:none;left:var(--call-us-element-side-offset-small, 5px);top:10px;transition:.3s ease all}.materialInput textarea[data-v-46c34c4c],.materialPhone textarea[data-v-46c34c4c],.materialTextarea textarea[data-v-46c34c4c]{overflow-x:hidden;resize:none}.materialInput textarea:focus~label[data-v-46c34c4c],.materialInput textarea:valid~label[data-v-46c34c4c],.materialPhone textarea:focus~label[data-v-46c34c4c],.materialPhone textarea:valid~label[data-v-46c34c4c],.materialTextarea textarea:focus~label[data-v-46c34c4c],.materialTextarea textarea:valid~label[data-v-46c34c4c]{top:-30px;font-size:calc(var(--call-us-font-size, 14px) - 1px);color:var(--call-us-main-font-color, #000000)}.materialInput input[data-v-46c34c4c],.materialPhone input[data-v-46c34c4c],.materialTextarea input[data-v-46c34c4c]{background:var(--call-us-main-background-color, #FFFFFF)!important}.materialInput input:focus~label[data-v-46c34c4c],.materialInput input:valid~label[data-v-46c34c4c],.materialInput input:disabled~label[data-v-46c34c4c],.materialPhone input:focus~label[data-v-46c34c4c],.materialPhone input:valid~label[data-v-46c34c4c],.materialPhone input:disabled~label[data-v-46c34c4c],.materialTextarea input:focus~label[data-v-46c34c4c],.materialTextarea input:valid~label[data-v-46c34c4c],.materialTextarea input:disabled~label[data-v-46c34c4c]{top:-4px;font-size:calc(var(--call-us-font-size, 14px) - 1px);color:var(--call-us-main-font-color, #000000)}.materialInput.safari-input input[data-v-46c34c4c],.materialPhone.safari-input input[data-v-46c34c4c],.materialTextarea.safari-input input[data-v-46c34c4c]{font-size:calc(var(--call-us-font-size, 14px) + 2px)}.materialInput input[data-v-46c34c4c],.materialInput textarea[data-v-46c34c4c],.materialPhone input[data-v-46c34c4c],.materialPhone textarea[data-v-46c34c4c],.materialTextarea input[data-v-46c34c4c],.materialTextarea textarea[data-v-46c34c4c]{background:none;color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 1px);font-family:inherit;padding:7px 0 3px;display:block;width:100%;border:none;border-radius:0;border-bottom:1px solid var(--call-us-main-font-color, #000000)}.materialInput input[data-v-46c34c4c]:focus,.materialInput textarea[data-v-46c34c4c]:focus,.materialPhone input[data-v-46c34c4c]:focus,.materialPhone textarea[data-v-46c34c4c]:focus,.materialTextarea input[data-v-46c34c4c]:focus,.materialTextarea textarea[data-v-46c34c4c]:focus{outline:none}.materialInput input:focus~.bar[data-v-46c34c4c]:before,.materialInput textarea:focus~.bar[data-v-46c34c4c]:before,.materialPhone input:focus~.bar[data-v-46c34c4c]:before,.materialPhone textarea:focus~.bar[data-v-46c34c4c]:before,.materialTextarea input:focus~.bar[data-v-46c34c4c]:before,.materialTextarea textarea:focus~.bar[data-v-46c34c4c]:before{width:100%}.custom-scrollbar[data-v-46c34c4c]::-webkit-scrollbar,.chat-root .chat-container[data-v-46c34c4c]::-webkit-scrollbar{width:4px}.custom-scrollbar[data-v-46c34c4c]::-webkit-scrollbar-track,.chat-root .chat-container[data-v-46c34c4c]::-webkit-scrollbar-track{background:#f1f1f1}.custom-scrollbar[data-v-46c34c4c]::-webkit-scrollbar-thumb,.chat-root .chat-container[data-v-46c34c4c]::-webkit-scrollbar-thumb{background:#888}.custom-scrollbar[data-v-46c34c4c]::-webkit-scrollbar-thumb:hover,.chat-root .chat-container[data-v-46c34c4c]::-webkit-scrollbar-thumb:hover{background:#555}[data-v-46c34c4c]{box-sizing:border-box}.chat-root[data-v-46c34c4c]{position:relative;height:100%;display:flex;flex-direction:column;flex-grow:1}.chat-root .chat-container[data-v-46c34c4c]{overflow-y:auto;flex:1 1 auto;padding:var(--call-us-element-side-offset-small, 5px) var(--call-us-standart-right-left-padding, 11px) 0!important;block-size:1px}.chat-root .chat-container .indicator-container[data-v-46c34c4c]{display:flex;justify-content:flex-end;height:var(--call-us-font-size, 14px);line-height:var(--call-us-font-size, 14px)}.chat-root .chat-container div:last-of-type(-1) div[data-v-46c34c4c]{margin:0!important}.chat-root .chat-disabled-container[data-v-46c34c4c]{text-align:center;color:#646464;z-index:2;display:flex;flex:1 1 auto;flex-direction:row;justify-content:center;align-items:center;padding:var(--call-us-standart-right-left-padding, 11px) var(--call-us-standart-right-left-padding, 11px) 0!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:1em}',pI=".rate_svg svg[data-v-46c34c4c]{height:20px}.rate_text[data-v-46c34c4c]{margin-left:10px}",mI={class:R(["chat-root"])},gI={class:R(["indicator-container"])},bI={key:1,ref:"chatDisabledMessage",class:R(["chat-disabled-container"])};function vI(e,n,t,i,o,a){const r=le("notifier"),s=le("ChatMsg"),l=le("TypingIndicator"),c=le("ChatFooter");return k(),B("div",mI,[de(r,{config:e.config},null,8,["config"]),e.chatEnabled?(k(),B("div",{key:0,ref:"chatHistory",class:R([["chat-container"],e.isChatActive?"":["disabled"],e.myWebRTCService.hasCall.value&&!e.isChatUntilCall?["call"]:"",e.isVideoActive?["video"]:"",e.isFullScreen?["full-screen"]:""])},[(k(!0),B(rt,null,$b(e.myChatService.chatMessages,(u,f)=>(k(),B(rt,null,[u.viewType===e.ChatViewMessageType.Text||u.viewType===e.ChatViewMessageType.File?(k(),Se(s,{key:u.index,config:e.config,message:u,onResend:d=>e.onResendMessage(f)},null,8,["config","message","onResend"])):ae("",!0)],64))),256)),H("div",gI,[de(l,{style:{width:"100%",display:"flex","justify-content":"flex-end"},config:e.config},null,8,["config"])])],2)):(k(),B("div",bI,[H("div",null,Ae(e.t("Inputs.ChatIsDisabled")),1)],512)),de(c,{ref:"chatFooter",config:e.config,allowCall:e.allowCall,chatOnline:e.chatOnline,isChatActive:e.isChatActive,chatEnabled:e.chatEnabled,enableTyping:e.enableTyping,isChatUntilCall:e.isChatUntilCall,isCall:e.myWebRTCService.hasCall.value,onInputFocusChange:e.onInputFocusChange,onSendMessage:e.sendMessage},null,8,["config","allowCall","chatOnline","isChatActive","chatEnabled","enableTyping","isChatUntilCall","isCall","onInputFocusChange","onSendMessage"])])}const yI=je(dI,[["render",vI],["styles",[hI,pI]],["__scopeId","data-v-46c34c4c"]]),AI=Ve({name:"ActionButton",components:{GlyphiconMic:V4,GlyphiconMicoff:Y4},props:{title:{type:String,default:""},disabled:Boolean,muted:{type:Boolean,dafault:!1},isFsSupported:Boolean,isMinimizedWindow:{type:Boolean,default:!1}},setup(){const{t:e}=Tt();return{t:e}}}),wI="*{box-sizing:border-box}* button{font-family:inherit;width:100%;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid;padding:var(--call-us-element-side-offset-small, 5px) 10px;font-size:var(--call-us-font-size, 14px);outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center}* button:disabled{opacity:.6;cursor:not-allowed}.mute-button,.unmute-button{border-radius:var(--call-us-round-button, 50%);margin:0;width:var(--call-us-calling-window-btn-size, 23px);height:var(--call-us-calling-window-btn-size, 23px);padding:4px 2.7px 3px;background:linear-gradient(180deg,#424242,#131313)}.mute-button:active,.unmute-button:active{transform:scale(.95)}.mute-button .icon,.unmute-button .icon{width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:#fff}.mute-button .icon g rect,.unmute-button .icon g rect{fill:linear-gradient(180deg,#424242 0%,#131313 100%)}.cw-panel-button{color:#fff;height:var(--call-us-big-bottom-btn-height, 67px);border:1px solid #4F4F4F;width:100%;margin:0;background:none;display:flex;flex-direction:row;align-items:center;justify-content:center}.cw-panel-button:hover{opacity:.8}.cw-panel-button:active{transform:scale(.95)}.cw-panel-button span{margin-left:var(--call-us-element-side-offset-medium, 10px)}.cw-panel-button .icon{width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:#fff}.cw-panel-button .icon g rect{fill:linear-gradient(180deg,#424242 0%,#131313 100%)}.cw-panel-button.with-fs{flex-direction:column}.cw-panel-button.with-fs span{margin:0}.cw-panel-button.with-fs svg{margin:0}.cw-unmute{background:#3c3c3c}",CI=["aria-label","disabled"],_I={key:0},EI=["aria-label","disabled"],SI={key:0};function MI(e,n,t,i,o,a){const r=le("GlyphiconMic"),s=le("GlyphiconMicoff");return k(),B("div",null,[e.muted?(k(),B("button",{key:1,id:"callUsUnmuteBtn",ref:"unmuteBtn",type:"button","aria-label":e.t("Inputs.UnmuteMic"),class:R([e.isMinimizedWindow?["unmute-button"]:[["cw-panel-button"],["cw-unmute"]],e.isFsSupported?["with-fs"]:""]),disabled:e.disabled,onClick:n[1]||(n[1]=cn(l=>e.$emit("click"),["prevent","stop"]))},[de(s,{class:R(["icon"])}),e.isMinimizedWindow?ae("",!0):(k(),B("span",SI,Ae(e.t("Inputs.UnmuteMic")),1))],10,EI)):(k(),B("button",{key:0,id:"callUsMuteBtn",ref:"muteBtn","aria-label":e.t("Inputs.MuteMic"),type:"button",class:R([e.isMinimizedWindow?["mute-button"]:["cw-panel-button"],e.isFsSupported?["with-fs"]:""]),disabled:e.disabled,onClick:n[0]||(n[0]=cn(l=>e.$emit("click"),["prevent","stop"]))},[de(r,{class:R(["icon"])}),e.isMinimizedWindow?ae("",!0):(k(),B("span",_I,Ae(e.t("Inputs.MuteMic")),1))],10,CI))])}const II=Ve({components:{WplcIcon:Ss,GlyphiconCall:qa,GlyphiconFullscreen:$4,InVideoFullScreen:U_,MuteButton:je(AI,[["render",MI],["styles",[wI]]])},directives:{object:Ba},props:{isChatUntilCall:{type:Boolean,default:!1},unreadMessages:{type:Number,default:0},allowCall:{type:Boolean,default:!1}},setup(e,n){const t=ue(en),i=Ot(),o=ue(wi),a=Os(t),r=Z(!1),s=Z(""),l=Y(()=>t.isVideoActive.value&&t.isFullscreenSupported()),c=ue(Eo),{t:u}=Tt();let f;return Xn(()=>{o.enableFullScreen&&!e.isChatUntilCall&&window.matchMedia("(orientation: landscape)").matches?o.goFullScreen():o.isFullScreen&&o.closeFullScreen(),i.add(t.phoneService.myCalls$.pipe(we(b=>{const y=new Date().getTime();return b.length===0&&!t.callDrop.value&&!r.value?(t.hasRecall.value=!0,f=window.setTimeout(()=>{n.emit("toggle",!1),t.hasRecall.value=!1,t.callDrop.value=!1},5e3),Ke(u("Inputs.NotRespondingStatusTitle"))):b.length>0&&b[0].isEstablished?(r.value=!0,Ty(1e3).pipe(yt(()=>new Date().getTime()-y),yt(g=>{const C=Math.floor(g/1e3),E=Math.floor(C/60);return`${E}:${(C-E*60).toString().padStart(2,"0")}`}))):b.length>0&&!b[0].isEstablished?(clearTimeout(f),Ke(u("Inputs.CallingStatusTitle"))):(b.length===0&&(t.callDrop.value||r.value)&&n.emit("toggle",!1),tn)})).subscribe({next:b=>{s.value=b}}))}),vo(()=>{o.enableFullScreen&&!e.isChatUntilCall&&o.goFullScreen()}),{isWebRtcAllowed:Vo,toggleChatTillCall:b=>{n.emit("toggle",b),o.enableFullScreen&&(b||window.matchMedia("(orientation: landscape)").matches?o.goFullScreen():o.closeFullScreen())},videoOutputClick:()=>{t.goFullScreen()},loadingService:c,isFullScreenSupported:l,timeString:s,toggleMute:()=>{t.mute()},t:u,...a}}}),TI="*{box-sizing:border-box}* button{font-family:inherit;width:100%;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid;padding:var(--call-us-element-side-offset-small, 5px) 10px;font-size:var(--call-us-font-size, 14px);outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center}* button:disabled{opacity:.6;cursor:not-allowed}.calling-window-root .full-window,.calling-window-root .minimized{background:linear-gradient(180deg,#424242,#131313);color:#fff;display:flex}.calling-window-root .full-window{height:calc(100% - var(--call-us-big-bottom-btn-height, 67px))}.calling-window-root .full-window.loading-services{height:100%}.calling-window-root .full-window{position:absolute;top:0;z-index:var(--call-us-z-index-calling-window, 3);width:100%;border-top-left-radius:6px;border-top-right-radius:6px;flex-direction:column;justify-content:flex-end}.calling-window-root .full-window .call-status{text-align:center;margin-bottom:calc(var(--call-us-form-header-height, 123px) - 15px)}@media screen and (orientation: landscape) and (max-height: 540px){.calling-window-root .full-window .call-status{position:absolute;top:calc(var(--call-us-header-height, 40px) + 25px);left:72px;font-size:var(--call-us-font-size, 14px);font-weight:400}}@media screen and (orientation: landscape) and (max-height: 300px){.calling-window-root .full-window .call-status{display:none}}.calling-window-root .full-window .video-call-status{position:absolute;top:calc(var(--call-us-header-height, 40px) + 25px);left:72px;font-size:var(--call-us-font-size, 14px);font-weight:400}.calling-window-root .full-window .button-panel{display:flex;flex-direction:row}.calling-window-root .full-window .button-panel.with-fs button{flex-direction:column}.calling-window-root .full-window .button-panel.with-fs button span{margin:0}.calling-window-root .full-window .button-panel.with-fs button svg{margin:0}.calling-window-root .minimized{flex-wrap:nowrap;padding:0 var(--call-us-standart-right-left-padding, 11px) 0 var(--call-us-standart-right-left-padding, 11px);height:var(--call-us-minimized-calling-window-height, 47px);flex-direction:row;align-items:center;position:relative}.calling-window-root .minimized .call-status{height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:1}.cw-panel-button{color:#fff;height:var(--call-us-big-bottom-btn-height, 67px);border:1px solid #4F4F4F;width:100%;margin:0;background:none;display:flex;flex-direction:row;align-items:center;justify-content:center}.cw-panel-button:hover{opacity:.8}.cw-panel-button:active{transform:scale(.95)}.cw-panel-button span{margin-left:var(--call-us-element-side-offset-medium, 10px)}.cw-panel-button .icon{width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:#fff}.cw-panel-button .icon g rect{fill:linear-gradient(180deg,#424242 0%,#131313 100%)}.cw-panel-button .open-chat-img-container{position:relative}.cw-panel-button .open-chat-img-container .unread-badge{position:absolute;background:#d80027;font-size:calc(var(--call-us-font-size, 14px) - 6px);width:12px;height:10px;top:-5px;right:-5px;border-radius:40%}.round-call-control-btn{border-radius:var(--call-us-round-button, 50%);margin:0;width:var(--call-us-calling-window-btn-size, 23px);height:var(--call-us-calling-window-btn-size, 23px)}.round-call-control-btn:active{transform:scale(.95)}.round-call-control-btn svg{width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:#fff}.round-call-control-btn.call-us{padding:2.7px 1.7px;background-color:#18ab00}.round-call-control-btn.call-us-drop{padding:5px 2.7px 3px;background:#d80027}.round-call-control-btn.call-us-drop svg{transform:var(--call-us-default-rotation-drop-call, rotate(135deg))}.cw-full-screen{padding:0;width:24px;height:24px;background:#080;border-radius:5px;background:#434343cc;position:absolute;right:10px;top:calc(10px - var(--call-us-video-output-height, 187px));z-index:99999}.cw-full-screen .rect{width:8px;height:8px}",OI={class:R(["calling-window-root"])},kI=["src"],xI={key:1,autoplay:""},RI=["aria-label"],NI={class:R(["open-chat-img-container"])},LI={key:0,class:R(["unread-badge"])},PI=["aria-label"],DI={key:3,ref:"minimizedWindow",class:R(["minimized"])},FI=["aria-label","disabled"],BI=["aria-label","disabled"],qI=["aria-label"];function UI(e,n,t,i,o,a){const r=le("WplcIcon"),s=le("MuteButton"),l=le("GlyphiconFullscreen"),c=le("GlyphiconCall"),u=le("InVideoFullScreen"),f=ca("object");return k(),B("div",OI,[e.myWebRTCService.audioNotificationUrl.value?(k(),B("audio",{key:0,src:e.myWebRTCService.audioNotificationUrl.value,autoplay:"",loop:""},null,8,kI)):ae("",!0),e.myWebRTCService.remoteStream.value?Zn((k(),B("audio",xI,null,512)),[[f,e.myWebRTCService.remoteStream.value]]):ae("",!0),e.isChatUntilCall?(k(),B("div",DI,[de(s,{id:"callUsMuteBtn",muted:e.myWebRTCService.media.isMuted,isMinimizedWindow:!0,class:"cw",disabled:e.myWebRTCService.hasTryingCall.value,onClick:e.toggleMute},null,8,["muted","disabled","onClick"]),H("div",{class:R(["call-status"]),onClick:n[2]||(n[2]=d=>e.toggleChatTillCall(!1))},Ae(e.timeString),1),e.allowCall&&!e.myWebRTCService.hasCall.value?(k(),B("button",{key:0,id:"callBtn","aria-label":e.t("Inputs.CallTitle"),class:R([["round-call-control-btn"],["call-us"]]),type:"button",disabled:!e.isWebRtcAllowed,onClick:n[3]||(n[3]=()=>e.makeCall())},[de(c,{class:R(["call-icon"])})],8,FI)):(k(),B("button",{key:1,id:"dropBtn","aria-label":e.t("Inputs.EndCallTitle"),class:R([["round-call-control-btn"],["call-us-drop"]]),type:"button",disabled:e.myWebRTCService.hasTryingCall.value,onClick:n[4]||(n[4]=(...d)=>e.dropCall&&e.dropCall(...d))},[de(c,{class:R(["drop-icon"])})],8,BI)),e.isFullScreenSupported?(k(),B("button",{key:2,id:"fsBtnMinimized","aria-label":e.t("Inputs.FullScreen"),type:"button",class:R(["cw-full-screen"]),onClick:n[5]||(n[5]=d=>e.videoOutputClick())},[de(u)],8,qI)):ae("",!0)],512)):(k(),B("div",{key:2,ref:"fullWindow",class:R([["full-window"],e.loadingService.loading()||e.myWebRTCService.hasRecall.value&&!e.allowCall?["loading-services"]:""])},[H("div",{ref:"status",class:R(e.myWebRTCService.isVideoActive.value?["video-call-status"]:["call-status"])},Ae(e.timeString),3),H("div",{class:R([["button-panel"],e.isFullScreenSupported?["with-fs"]:""])},[H("button",{id:"openChatBtn",type:"button","aria-label":e.t("Auth.Submit"),class:R([["cw-panel-button"],["open-chat"]]),onClick:n[0]||(n[0]=d=>e.toggleChatTillCall(!0))},[H("div",NI,[de(r,{class:R(["icon"])}),e.unreadMessages>0?(k(),B("span",LI,Ae(e.unreadMessages<100?e.unreadMessages:"99"),1)):ae("",!0)]),H("span",null,Ae(e.t("Auth.Submit")),1)],8,RI),de(s,{id:"callUsMuteBtn",muted:e.myWebRTCService.media.isMuted,style:{width:"100%"},isMinimizedWindow:!1,class:"cw",disabled:e.myWebRTCService.hasTryingCall.value,isFsSupported:e.isFullScreenSupported,onClick:e.toggleMute},null,8,["muted","disabled","isFsSupported","onClick"]),e.isFullScreenSupported?(k(),B("button",{key:0,id:"fsBtn",type:"button","aria-label":e.t("Inputs.FullScreen"),class:R(["cw-panel-button"]),onClick:n[1]||(n[1]=d=>e.videoOutputClick())},[de(l,{class:R(["icon"])}),H("span",null,Ae(e.t("Inputs.FullScreen")),1)],8,PI)):ae("",!0)],2)],2))])}const $I=Ve({components:{Panel:xf,CallUsHeader:nm,OverlayMessage:JE,Chat:yI,CallingWindow:je(II,[["render",UI],["styles",[TI]]])},props:{chatEnabled:Boolean,chatOnline:Boolean,startMinimized:Boolean,enableAuthForm:Boolean,config:{type:Object,default:()=>{}},isQueue:{type:Boolean,default:!1},operator:{type:Object,default:()=>Oi}},setup(e){const n=ue(wi),t=ue(Ln),i=ue(zt),o=ue(ic),a=ue(Eo),r=ue(Aa),s=ue(en),l=Tt();e.chatOnline&&(o.isChatActive()||e.enableAuthForm)&&(a.show(),t.reconnect());const c=Z(""),u=Z(Wo.try),f=Z(!1),d=Z(!1),p=Z(!1),h=Z(""),b=Z(!1);let y=-1;const g=Z(0),C=Z(!1),E=Z(0),x=Y(()=>!e.chatEnabled||f.value),M=Y(()=>t.chatMessages.filter(q=>q.isLocal).length>0||s.hadCall.value),U=ye.Chat,N=Ot(),K=()=>{b.value=!0,i.onAttendChat.next(),i.onClosed.next(new ks({notifyServer:!0,closedByClient:!0,chatUniqueCode:y}))},re=()=>{E.value+=1},W=()=>{N.add(t.mySession$.pipe(Fn(1),we(q=>q.sessionState===Bn.Connected&&M.value?(s.clearCallMemo(),s.callDrop.value=!0,s.hasRecall.value=!1,q.get(new Bc({IdConversation:q.chatConversationId,CloseReason:o3.ECCR_LogoutByAnonymous}))):tn)).subscribe({error:q=>{K(),i.onError.next(q)},complete:()=>{K()}}))},ee=()=>{var q;if(c.value="",u.value===Wo.restart){h.value=jn("ChatEndMessage",[e.config.endingMessage,l.t("Inputs.EndingMessage").toString()]);const z=((q=t.auth)==null?void 0:q.name)??"";h.value=h.value.replace("%NAME%",z),i.onClosed.next(new ks({notifyServer:!1,closedByClient:!1,chatUniqueCode:y}))}},he=()=>{g.value++},Be=q=>{C.value=q,q&&(E.value=0)},se=()=>{const q=t.mySession$.pipe(Ci(z=>{z.sessionState===Bn.Error&&(z.error===l.t("Inputs.ServiceUnavailable")?f.value=!0:c.value=z.error??"",u.value=Wo.restart,Fa(c.value),a.hide())}));e.isQueue&&!e.config.ignoreQueueownership?(d.value=!1,p.value=!1,N.add(q.pipe(we(z=>z.conversation$),yt(z=>!z.QueueNo||z.TakenBy),Ma()).subscribe({next:z=>{z?(d.value=e.config.allowCall,p.value=e.config.allowVideo):(d.value=!1,p.value=!1)}}))):N.add(q.subscribe({next:()=>{d.value=e.config.allowCall,p.value=e.config.allowVideo}}))};Mt(()=>{N.add(i.onLoaded.subscribe({next:q=>{he(),q&&(t.reconnect(),se())}})),se(),N.add(i.onClosed.subscribe({next:()=>{o.dropSession().subscribe({next:()=>{a.hide(),t.closeSession(),r==null||r.dispatchEvent("chat_complete","ChatCompleted")},error:q=>{a.hide(),i.onError.next(q)}})}})),N.add(i.onError.subscribe({next:q=>{c.value=yf(q),u.value=Wo.ok,Fa(c.value),a.hide()}})),N.add(t.notificationsOfType$(Da).subscribe({next:q=>{q.idConversation!==y&&(y=q.idConversation)}}))});const Q=Y(()=>s.hasCall.value||s.hasRecall.value);return{myChatService:t,fullscreenService:n,currentState:U,notificationMessage:c,notificationButtonType:u,allowCall:d,allowVideo:p,ViewState:ye,chatComponentKey:g,isChatOpenTillCall:C,isCallingWindow:Q,unreadMessages:E,chatDisabled:x,onClose:W,onErrorFormSubmit:ee,setupChatServiceSubscriptions:se,toggleChatTillCall:Be,addUnreadMessage:re}}}),jI="[data-v-46b75349]{box-sizing:border-box}.phone-toolbar[data-v-46b75349]{padding-left:var(--call-us-element-side-offset-medium, 10px);padding-right:var(--call-us-element-side-offset-medium, 10px);background:var(--call-us-dialer-background, white);border-bottom:thin solid var(--call-us-border-color, darkgray);box-shadow:0 4px 8px #0003,0 6px 20px #00000030;flex-grow:1}.call-us-toolbar{display:flex;flex-direction:row;justify-content:center}.call-us-toolbar{width:31px;height:31px;background-color:transparent;border-radius:var(--call-us-round-button, 50%)}.root[data-v-46b75349]{font-size:var(--call-us-font-size, 14px)}.chat[data-v-46b75349]{overflow-y:hidden;transition:height .2s ease-in-out}";function zI(e,n,t,i,o,a){const r=le("OverlayMessage"),s=le("CallUsHeader"),l=le("CallingWindow"),c=le("Chat"),u=le("Panel");return k(),Se(u,{ref:"panelComponent",auth:e.myChatService.auth,allowMinimize:e.config.allowMinimize,startMinimized:e.startMinimized,config:e.config,operator:e.operator,panelState:e.currentState,allowFullscreen:!0,isCallingWindow:e.isCallingWindow&&!e.isChatOpenTillCall,onClose:n[2]||(n[2]=f=>e.onClose())},{overlay:Gt(()=>[e.notificationMessage?(k(),Se(r,{key:0,ref:"overlayMessageComponent",message:e.notificationMessage,button:e.notificationButtonType,onSubmit:n[0]||(n[0]=f=>e.onErrorFormSubmit())},null,8,["message","button"])):ae("",!0)]),"panel-top":Gt(()=>[de(s,{currentState:e.currentState,config:e.config,allowVideo:e.allowVideo,allowCall:e.allowCall,operator:e.operator,isFullScreen:e.fullscreenService.isFullScreen,chatOnline:e.chatOnline,isChatUntilCall:e.isChatOpenTillCall,onClose:n[1]||(n[1]=f=>e.onClose())},null,8,["currentState","config","allowVideo","allowCall","operator","isFullScreen","chatOnline","isChatUntilCall"]),e.isCallingWindow?(k(),Se(l,{key:0,ref:"callingWindow",allowCall:e.allowCall,isChatUntilCall:e.isChatOpenTillCall,config:e.config,unreadMessages:e.unreadMessages,onToggle:e.toggleChatTillCall},null,8,["allowCall","isChatUntilCall","config","unreadMessages","onToggle"])):ae("",!0)]),"panel-content":Gt(()=>[e.currentState===e.ViewState.Chat?(k(),Se(c,{slot:"panel-content",key:e.chatComponentKey,ref:"chatComponent",class:R("chat"),chatOnline:e.chatOnline,chatEnabled:!e.chatDisabled,config:e.config,operator:e.operator,isChatUntilCall:e.isChatOpenTillCall,allowCall:e.allowCall,onAddUnreadMessage:e.addUnreadMessage},null,8,["chatOnline","chatEnabled","config","operator","isChatUntilCall","allowCall","onAddUnreadMessage"])):ae("",!0)]),_:1},8,["auth","allowMinimize","startMinimized","config","operator","panelState","isCallingWindow"])}const VI=je($I,[["render",zI],["styles",[jI]],["__scopeId","data-v-46b75349"]]);function HI(e,n,t){return e?!1:n!==vt.None||t}const WI={components:{IntroForm:I6,AuthenticateForm:VE,MainForm:VI,MinimizedBubble:z1},props:p1,setup(e){const n=Z(null),t=Z(ye.None),i=Z(vt.None),o=Z(!1),a=Z(!1),r=Z(!1),s=Z(!0),l=Z(!1),c=Z([]),u=!1,f=Z(!1),d=Ot(),{i18n:p,...h}=m1(e,!1),{t:b}=p.global,y=Nt(new ci),g=Z(!1),C=Z(!0),E=Nt(h.eventBus),x=Nt(h.loadingService),M=Nt(h.myChatService),U=M.channel,N=Nt(new yC),K=Nt(new AC(e.enableGa==="true"));$t(wi,N),$t(Aa,K),$t(ic,U),$t(Ln,M),$t(zt,E),$t(Eo,x);const re=()=>{var te;let D;switch((te=e.authentication)==null?void 0:te.toLowerCase()){case"name":D=vt.Name;break;case"both":D=vt.Both;break;case"email":D=vt.Email;break;default:D=vt.None;break}return D},W=(()=>{var Rt,at,ft;const D=Vo&&e.allowCall==="true",te=e.allowVideo==="true",X=e.phonesystemUrl,me=e.minimizedStyle.toLowerCase()==="bubbleleft"?ni.BubbleLeft:ni.BubbleRight;let ge;switch(e.animationStyle.toLowerCase()){case"slidefromside":{ge=Jt.SlideLeft;break}case"fadein":{ge=Jt.FadeIn;break}case"slideup":{ge=Jt.SlideUp;break}default:ge=Jt.None}let Ee;switch(e.greetingVisibility.toLowerCase()){case"desktop":{Ee=Xt.Desktop;break}case"mobile":{Ee=Xt.Mobile;break}case"both":{Ee=Xt.Both;break}default:Ee=Xt.None}let De;switch(e.greetingOfflineVisibility.toLowerCase()){case"desktop":{De=Xt.Desktop;break}case"mobile":{De=Xt.Mobile;break}case"both":{De=Xt.Both;break}default:De=Xt.None}const Xe=ki(e.operatorName??"");return{enablePoweredby:e.enablePoweredby==="true",animationStyle:ge,minimizedStyle:me,windowTitle:ki(e.windowTitle??b("Inputs.WindowTitle")),allowSoundNotifications:e.allowSoundnotifications==="true",enableMute:e.enableMute==="true",facebookIntegrationUrl:TC(e.facebookIntegrationUrl,""),twitterIntegrationUrl:OC(e.twitterIntegrationUrl,""),emailIntegrationUrl:IC(e.emailIntegrationUrl,""),operatorName:Xe===""?b("Inputs.OperatorName").toString():Xe,operatorIcon:e.operatorIcon||"",userIcon:e.userIcon||"",allowCall:D,allowVideo:te,allowMinimize:e.allowMinimize==="true",inviteMessage:ki(e.inviteMessage??b("Inputs.InviteMessage"),250),endingMessage:ki(e.endingMessage??b("Inputs.EndingMessage"),250),unavailableMessage:ki(e.unavailableMessage??b("Inputs.UnavailableMessage"),250),firstResponseMessage:ki(e.firstResponseMessage,250),party:e.party,channelUrl:X,windowIcon:e.windowIcon||"",buttonIcon:MC(e.buttonIcon,""),buttonIconType:((Rt=e.buttonIconType)==null?void 0:Rt.toLowerCase())||"default",enableOnmobile:e.enableOnmobile==="false",enable:e.enable==="true",ignoreQueueownership:e.ignoreQueueownership==="true",showOperatorActualName:e.showOperatorActualName==="true",authenticationType:re(),acknowledgeReceived:e.aknowledgeReceived==="true",gdprEnabled:e.gdprEnabled==="true",filesEnabled:e.filesEnabled==="true",gdprMessage:e.gdprMessage&&e.gdprMessage.trim()!==""?e.gdprMessage.trim():b("Auth.GdprDefaultMessage").toString(),chatIcon:e.chatIcon,chatLogo:e.chatLogo,demo:e.demo==="true",messageDateformat:(at=e.messageDateformat)==null?void 0:at.toLowerCase(),messageUserinfoFormat:(ft=e.messageUserinfoFormat)==null?void 0:ft.toLowerCase(),soundnotificationUrl:e.soundnotificationUrl,visitorEmail:e.visitorEmail,visitorName:e.visitorName,authenticationMessage:ki(e.authenticationMessage,250),startChatButtonText:e.startChatButtonText??b("Auth.Submit"),offlineNameMessage:e.offlineNameMessage??b("Offline.OfflineNameMessage"),offlineEmailMessage:e.offlineEmailMessage??b("Offline.OfflineEmailMessage"),offlineFinishMessage:e.offlineFinishMessage??b("Inputs.OfflineMessageSent"),greetingVisibility:Ee,greetingMessage:e.greetingMessage??b("Inputs.GreetingMessage"),greetingOfflineVisibility:De,greetingOfflineMessage:e.greetingOfflineMessage??b("Inputs.GreetingMessage"),offlineFormInvalidEmail:e.offlineFormInvalidEmail??b("Offline.OfflineFormInvalidEmail"),offlineFormMaximumCharactersReached:e.offlineFormMaximumCharactersReached??b("Auth.MaxCharactersReached"),offlineFormInvalidName:e.offlineFormInvalidName??b("Offline.OfflineFormInvalidName"),enableDirectCall:e.enableDirectCall==="true"}})(),ee=new S1(h.myChatService,W.demo);$t(en,ee),ee.webRTCControlService.setWebRtcCodecs(c.value);const he=Y(()=>{let D="NONE";return t.value===ye.Chat||!C.value&&t.value===ye.Authenticate?D="CHAT":t.value===ye.Authenticate&&(C.value||e.allowCall==="false")&&(D="AUTH"),t.value===ye.Intro&&e.allowCall==="true"?D="INTRO":t.value===ye.Disabled&&(D="DISABLED"),D}),Be=D=>{let te=!0;return e.forceToOpen==="true"?te=!1:o.value||(e.popupWhenOnline==="true"?D&&(te=!1):te=xi(!0)),te},se=()=>{d.add(h.info$.subscribe({next:D=>{if(t.value=ye.Authenticate,s.value=!0,h.loadingService.hide(),M.isAvaliable=D.isAvailable,l.value=D.isQueue,c.value=D.webRtcCodecs,r.value=D.isChatEnabled===void 0?!0:D.isChatEnabled,o.value=Be(D.isAvailable),a.value=o.value,W.showOperatorActualName&&!D.isQueue?Object.assign(y,new ci({name:D.operator.name||W.operatorName,image:D.operator.image||W.operatorIcon})):Object.assign(y,new ci({name:W.operatorName,image:W.operatorIcon})),!D.isChatEnabled&&!W.enableDirectCall)t.value=ye.Authenticate,s.value=!1;else if(!D.isChatEnabled&&W.enableDirectCall)t.value=ye.Intro,s.value=!1;else if(h.currentChannel.isChatActive()){t.value=ye.Chat,s.value=!0;const te=sessionStorage.getItem("callus.collapsed");a.value=!!te&&te==="1"}else W.enableDirectCall?(t.value=ye.Intro,s.value=!0):(t.value=ye.Authenticate,s.value=!0);N.enableFullScreen&&t.value!==ye.Intro&&!o.value&&N.goFullScreen(),h.eventBus.onLoaded.next(h.currentChannel.isChatActive())},error:D=>{t.value=ye.Disabled}}))},Q=()=>{setTimeout(()=>{g.value=!0},e.chatDelay)},q=(D=!1)=>{HI(h.myChatService.auth,i.value,W.gdprEnabled)&&C.value&&!D?t.value=ye.Authenticate:t.value=ye.Chat,N.enableFullScreen&&N.goFullScreen(),o.value=!1,a.value=!1},z=()=>{h.eventBus.onChatInitiated.next(!0),t.value=ye.Chat,a.value=!1};return Mt(()=>{if(mC(M,d),E1(ee,d),d.add(h.preloadOperations$.subscribe({next:te=>{if(te){const X=localStorage.getItem("chatInfoGuid");X&&e.assetsGuid!==X&&localStorage.removeItem("chatInfo"),localStorage.setItem("chatInfoGuid",e.assetsGuid)}}})),Q(),h.loadingService.show(),N.enableFullScreen=xi(!0),f.value=e.enableOnmobile==="false"&&e.forceToOpen==="false"||e.enable==="false",f.value)return;i.value=re();const D=e.minimized==="false"?"none":e.minimized==="true"?"both":e.minimized;e.forceToOpen==="true"?o.value=!1:o.value=D==="both"||u||D==="mobile",d.add(h.eventBus.onRestart.subscribe({next:()=>{o.value=!1,h.loadingService.show(),se()}})),d.add(h.eventBus.onRestored.subscribe({next:()=>{t.value===ye.Authenticate&&W.enableDirectCall&&(t.value=ye.Intro)}})),se()}),Pl(()=>{M.closeSession(),d.unsubscribe(),ee.removeFullScreenListeners(),f.value=!0}),md(()=>{f.value=!1}),{root:n,chatForm:he,delayElapsed:g,currentChannel:U,isHidden:f,authWindowMinimized:o,config:W,operator:y,isChatEnabled:r,chatOnline:s,mainWindowMinimized:a,enableAuthForm:C,viewState:t,isQueue:l,webRtcCodecs:c,onStartChat:q,authenticateFormSubmit:z,loadChannelInfo:se,authenticationType:i,eventBus:E}}},YI="*{box-sizing:border-box}* button{font-family:inherit;width:100%;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid;padding:var(--call-us-element-side-offset-small, 5px) 10px;font-size:var(--call-us-font-size, 14px);outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center}* button:disabled{opacity:.6;cursor:not-allowed}",GI={key:0,id:"callus-container",ref:"root"};function QI(e,n,t,i,o,a){const r=le("IntroForm"),s=le("AuthenticateForm"),l=le("MainForm"),c=le("MinimizedBubble");return i.delayElapsed&&!i.isHidden?(k(),B("div",GI,[i.chatForm==="INTRO"?(k(),Se(r,{key:0,startMinimized:i.authWindowMinimized,config:i.config,webRtcCodecs:i.webRtcCodecs,operator:i.operator,onChat:i.onStartChat},null,8,["startMinimized","config","webRtcCodecs","operator","onChat"])):i.chatForm==="AUTH"?(k(),Se(s,{key:1,startMinimized:i.authWindowMinimized,config:i.config,chatEnabled:i.isChatEnabled,operator:i.operator,onSubmitAuth:i.authenticateFormSubmit},null,8,["startMinimized","config","chatEnabled","operator","onSubmitAuth"])):i.chatForm==="CHAT"?(k(),Se(l,{key:2,chatEnabled:i.isChatEnabled,chatOnline:i.chatOnline,isQueue:i.isQueue,startMinimized:i.mainWindowMinimized,operator:i.operator,config:i.config,enableAuthForm:i.enableAuthForm},null,8,["chatEnabled","chatOnline","isQueue","startMinimized","operator","config","enableAuthForm"])):i.chatForm==="DISABLED"?(k(),Se(c,{key:3,collapsed:!0,config:i.config,operator:i.operator,paneltate:i.viewState,disabled:!0},null,8,["config","operator","paneltate"])):ae("",!0)],512)):ae("",!0)}const KI=je(WI,[["render",QI],["styles",[YI]]]);class ZI extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const n=this.getAttribute("phonesystem-url");this.getAttribute("auto");const t=this.getAttribute("party");t&&n&&this.init(t,n)}async init(n,t){const i=new URL(`/MyPhone/config/${n}`,t);return fetch(i.href).then(o=>{if(!o.ok)throw new Error("Information request failed");return o.json()}).then(o=>{var l,c,u,f;const a=((l=o.Advanced)==null?void 0:l.CommunicationOptions)==="PhoneOnly",r=a?M1(o,i.href):Of(o,i.href),s=document.createElement(a?"call-us-phone":"call-us");if((c=o.Styling)!=null&&c.UseRubik){const d=document.createElement("style");d.setAttribute("type","text/css"),d.appendChild(document.createTextNode("@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap');")),document.head.appendChild(d)}s.setAttribute("lang",((u=o.ChatBox)==null?void 0:u.LiveChatLanguage)??"browser"),Array.from(this.attributes).filter(d=>d&&d.name&&d.value).forEach(d=>{s.setAttribute(d.name,d.value)}),r.filter(d=>d).forEach(d=>{const p=this.getAttribute(d.name);s.setAttribute(d.name,p||d.value)}),(f=this.shadowRoot)==null||f.appendChild(s),this.addEventListener("keydown",d=>{d.stopPropagation()})}).catch(o=>{var s;const a=document.createElement("call-us");a.setAttribute("lang","browser"),Of({},i.href).filter(l=>l).forEach(l=>{const c=this.getAttribute(l.name);a.setAttribute(l.name,c||l.value)}),(s=this.shadowRoot)==null||s.appendChild(a)})}}const JI=Ve({directives:{object:Ba},components:{GlyphiconCall:qa,ToolbarButton:j1},props:{disabled:Boolean,allowCall:Boolean,callTitle:{type:String,default:""}},setup(){const e=ue(en),n=Os(e);return{isWebRtcAllowed:Vo,...n}}}),XI="*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn;animation-delay:.5s}.slideLeft{animation:slideLeft 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight{animation:slideRight 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp{animation:slideUp 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge{animation:nudge 1s ease-in}@keyframes nudge{0%{opacity:0}to{opacity:1}}@keyframes fly-in{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in{transition:all .5s;animation-duration:.3s;animation-name:fly-in}@keyframes show-with-delay{0%{opacity:0}to{opacity:1}}.show-with-delay{animation-name:show-with-delay;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.root-cb .single-button{box-shadow:0 4px 8px #0003,0 6px 20px #00000030;margin:0;background-color:var(--call-us-form-header-background, #373737)}.root-cb .single-button svg{fill:#fff}.root-cb .single-button svg rect{fill:var(--call-us-form-header-background, #373737)}.root-cb .bubble{border-radius:var(--call-us-round-button, 50%);width:var(--call-us-main-button-width, 60px);height:var(--call-us-main-button-width, 60px)}.root-cb .bubble svg{padding:var(--call-us-element-side-offset-medium, 10px)}.root-cb .button-end-call svg{transform:var(--call-us-default-rotation-drop-call, rotate(135deg))}",eT={key:0,class:R([["root-cb"]])},tT=["src"],nT={key:1,autoplay:""};function iT(e,n,t,i,o,a){const r=le("GlyphiconCall"),s=le("ToolbarButton"),l=ca("object");return e.myWebRTCService?(k(),B("div",eT,[e.myWebRTCService.audioNotificationUrl.value?(k(),B("audio",{key:0,src:e.myWebRTCService.audioNotificationUrl.value,autoplay:"",loop:""},null,8,tT)):ae("",!0),e.myWebRTCService.remoteStream.value?Zn((k(),B("audio",nT,null,512)),[[l,e.myWebRTCService.remoteStream.value]]):ae("",!0),e.myWebRTCService.hasCall.value?(k(),Se(s,{key:3,ref:"singleButton",class:R([["single-button"],"bubble",["button-end-call"]]),onClick:e.dropCall},{default:Gt(()=>[de(r)]),_:1},8,["onClick"])):(k(),Se(s,{key:2,disabled:!e.isWebRtcAllowed||e.disabled,class:R([["single-button"],"bubble"]),title:e.callTitle,onClick:e.makeCall},{default:Gt(()=>[de(r)]),_:1},8,["disabled","title","onClick"]))])):ae("",!0)}const oT=Ve({components:{CallButton:je(JI,[["render",iT],["styles",[XI]]])},props:p1,setup(e){const n=Z(ye.None),t=Z(!1),i=Z(!1),o=e.demo==="true",a=m1(e,!0),r=Nt(a.eventBus),s=new S1(a.myChatService,o),{t:l}=an.global,c=Ot();$t(en,s),$t(zt,r);const u=Y(()=>{switch(e.animationStyle.toLowerCase()){case"slideleft":return["slideLeft"];case"slideright":return["slideRight"];case"fadein":return["fadeIn"];case"slideup":return["slideUp"]}return[]}),f=Y(()=>xi()&&e.enableOnmobile==="false"||e.enable==="false"),d=Y(()=>n.value===ye.Disabled),p=b=>!b.isAvailable,h=Y(()=>{if(n.value!==ye.Disabled){const b=ki(e.callTitle??l("Inputs.CallTitle"),250);return kt("CallTitle",[b,l("Inputs.CallTitle").toString()])}return""});return Mt(()=>{E1(s,c),setTimeout(()=>{t.value=!0},e.chatDelay),!f.value&&(c.add(r.onError.subscribe({next:b=>alert(yf(b))})),c.add(a.info$.subscribe({next:b=>{p(b)&&(n.value=ye.Disabled),s.webRTCControlService.setWebRtcCodecs(b.webRtcCodecs)},error:b=>{console.log(b),n.value=ye.Disabled}})))}),Pl(()=>{c.unsubscribe(),i.value=!0}),{delayElapsed:t,eventBus:r,animationsCallUs:u,isHidden:f,callTitleHover:h,viewState:n,isDisabled:d,invisible:i}}}),aT="*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn;animation-delay:.5s}.slideLeft{animation:slideLeft 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight{animation:slideRight 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp{animation:slideUp 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge{animation:nudge 1s ease-in}@keyframes nudge{0%{opacity:0}to{opacity:1}}@keyframes fly-in{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in{transition:all .5s;animation-duration:.3s;animation-name:fly-in}@keyframes show-with-delay{0%{opacity:0}to{opacity:1}}.show-with-delay{animation-name:show-with-delay;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.root-phone{display:inline-block}.root-phone :global(.call-us-toolbar){display:flex;flex-direction:row;justify-content:center}.root-phone :global(.call-us-toolbar) button{width:var(--call-us-main-button-width, 60px);height:var(--call-us-main-button-width, 60px);background-color:var(--call-us-form-header-background, #373737);border-radius:var(--call-us-round-button, 50%)}.root-phone button{box-shadow:0 4px 8px #0003,0 6px 20px #00000030}",rT={key:0,id:"callus-phone-container"};function sT(e,n,t,i,o,a){const r=le("CallButton");return e.delayElapsed&&!e.invisible?(k(),B("div",rT,[H("div",{class:R([e.animationsCallUs,e.isHidden?"":["root-phone"]])},[e.isHidden?ae("",!0):(k(),Se(r,{key:0,allowCall:!0,callTitle:e.callTitleHover,disabled:e.isDisabled},null,8,["callTitle","disabled"]))],2)])):ae("",!0)}const lT=je(oT,[["render",sT],["styles",[aT]]]);function Mm(e){e.use(an)}window.customElements.define("call-us-selector",ZI);const cT=E0(KI,{configureApp:Mm});window.customElements.define("call-us",cT);const fT=E0(lT,{configureApp:Mm});window.customElements.define("call-us-phone",fT),Wt.generateCallUsProperties=M1,Wt.generateLiveChatProperties=Of,Object.defineProperty(Wt,Symbol.toStringTag,{value:"Module"})});
Save
Back