1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[8645],{28645(bl,Va,le){le.d(Va,{liveChatRoutes:()=>t8});var Ae=le(85802),wa=le(59882),gr=le(78662),Sn=le(35218),Ca=le(7673),Nf=le(25558),cn=le(13816),li=le(11242),q=le(89417),vl=le(59053),bo=le(71747),_g=le(65310);const ci={Url:"Url",Default:"Default",Bubble:"Bubble",DoubleBubble:"DoubleBubble"};var vo=le(79177);function xg(e){const t=(0,vo.Ku)(e);return t?{Id:t.Id,Number:t.Number,Name:t.Name,Type:bo.J.Group}:null}var Rf=le(89079),kg=le(45054),Sg=le(98317),Ff=le(92996);let Ig=(()=>{class e{myGroup=(0,Ae.WQX)(Sg.r);tokenInfoService=(0,Ae.WQX)(Ff.Z);myGroupInfo$;constructor(){this.myGroupInfo$=this.tokenInfoService.hasMyGroupRole$.pipe((0,Nf.n)(n=>n?this.myGroup.getMyGroup({$select:["OfficeRoute","Number"]}):(0,Ca.of)(void 0)))}static \u0275fac=function(a){return new(a||e)};static \u0275prov=Ae.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var yo=le(96354),Tg=le(26725),ui=le(12678),br=le(95604),Og=le(61851),Ya=le(24708),Ng=le(93049),yl=le(84460),Rg=le(32834),Xn=le(68018),Lf=le(8516),u=le(35547);const Fg=[[["input","hidden",""]],[["",8,"input-group-append"]],[["button"]],[["val-errors"],["show-error-warning"]],[["","description",""]]],Lg=["input[hidden]",".input-group-append","button","val-errors,show-error-warning","[description]"];function Pg(e,t){if(1&e){const n=u.RV6();u.j41(0,"app-times-regular-icon",8),u.bIt("click",function(){Ae.eBV(n);const o=u.XpG();return Ae.Njj(o.clear())}),u.k0s()}}function Dg(e,t){if(1&e){const n=u.RV6();u.j41(0,"button",9),u.bIt("click",function(){Ae.eBV(n);const o=u.XpG();return Ae.Njj(o.inlineBtnClick())}),u.nrm(1,"lucide-icon",10),u.k0s()}if(2&e){const n=u.XpG();u.Y8G("disabled",n.disabled||n.inlineButtonDisabled),u.R7$(),u.Y8G("img",n.inlineBtnIcon)}}let Bg=(()=>{class e extends yl.m{parse(n){return(n||[]).join(", ")}format(n){return(n||"").split(/[,;]/).map(a=>a.trim()).filter(Boolean)}static \u0275fac=(()=>{let n;return function(o){return(n||(n=u.xGo(e)))(o||e)}})();static \u0275cmp=u.VBU({type:e,selectors:[["field-input-list"]],features:[u.Jv_([{provide:q.kq,multi:!0,useExisting:e}]),u.Vt3],ngContentSelectors:Lg,decls:14,vars:23,consts:[["inputElement",""],[3,"label","labelFor","inlineLabel","disabled","required","description","hint"],[1,"input-group"],["data-qa","input",1,"form-control",3,"ngModelChange","keydown","paste","focus","blur","type","id","maxlength","minlength","autocomplete","name","disabled","readonly","placeholder","ngModel"],["data-qa","clear",1,"clear"],["type","button","data-qa","btn",1,"btn","btn-border","btn-icon",3,"disabled"],["ngProjectAs","val-errors",5,["val-errors"]],["ngProjectAs","[description]",5,["","description",""]],["data-qa","clear",1,"clear",3,"click"],["type","button","data-qa","btn",1,"btn","btn-border","btn-icon",3,"click","disabled"],[3,"img"]],template:function(a,o){1&a&&(u.NAR(Fg),u.j41(0,"field-wrapper",1)(1,"div",2),u.SdG(2),u.j41(3,"input",3,0),u.nI1(5,"translate"),u.bIt("ngModelChange",function(r){return o.valueChanged(r)})("keydown",function(r){return o.preventInvalidInput(r)})("paste",function(r){return o.onPaste(r)})("focus",function(){return o.onFocus()})("blur",function(r){return o.onBlur(r)}),u.k0s(),u.nVh(6,Pg,1,0,"app-times-regular-icon",4),u.SdG(7,1),u.SdG(8,2),u.nVh(9,Dg,2,2,"button",5),u.k0s(),u.qex(10,6),u.SdG(11,3),u.bVm(),u.qex(12,7),u.SdG(13,4),u.bVm(),u.k0s()),2&a&&(u.Y8G("label",o.label)("labelFor",o.id)("inlineLabel",o.inlineLabel)("disabled",o.disabled)("required",o.isRequired)("description",o.description)("hint",o.hint),u.R7$(3),u.AVh("text-truncate",o.readonly),u.Y8G("type",o.type)("id",o.id)("maxlength",o.maxlength??null)("minlength",o.minlength)("autocomplete",o.autocomplete)("name",o.name)("disabled",o.disabled)("readonly",o.readonly||o.noManualInput)("placeholder",u.bMT(5,21,o.indeterminate?o.indeterminatePlaceholder:o.placeholder||""))("ngModel",o.value),u.R7$(3),u.vxM(o.indeterminate&&!o.disabled?6:-1),u.R7$(3),u.vxM(o.inlineBtnIcon?9:-1))},dependencies:[br.z,q.X1,q.me,q.BC,q.xh,q.tU,q.YN,q.vS,Rg.R,Lf.flO,Lf.WGl,Xn.D9],styles:["[_nghost-%COMP%]{display:block;margin-bottom:16px}[_nghost-%COMP%] field-wrapper[_ngcontent-%COMP%]{margin-bottom:0}[_nghost-%COMP%] .input-group>.btn{border-left:0}.max-length-3[_nghost-%COMP%] input[type=number]{max-width:calc(12px * 2 + .65em * 3);min-width:calc(12px * 2 + .65em * 3)}.max-length-4[_nghost-%COMP%] input[type=number]{max-width:calc(24px + 2.6em);min-width:calc(24px + 2.6em)}.max-length-5[_nghost-%COMP%] input[type=number]{max-width:calc(24px + 3.25em);min-width:calc(24px + 3.25em)}.max-length-6[_nghost-%COMP%] input[type=number]{max-width:calc(12px * 2 + .65em * 6);min-width:calc(12px * 2 + .65em * 6)}.max-length-7[_nghost-%COMP%] input[type=number]{max-width:calc(24px + 4.55em);min-width:calc(24px + 4.55em)}.min-length-3[_nghost-%COMP%] input[type=number]{min-width:calc(12px * 2 + .65em * 3)}.min-length-4[_nghost-%COMP%] input[type=number]{min-width:calc(24px + 2.6em)}.min-length-5[_nghost-%COMP%] input[type=number]{min-width:calc(24px + 3.25em)}.min-length-6[_nghost-%COMP%] input[type=number]{min-width:calc(12px * 2 + .65em * 6)}.min-length-7[_nghost-%COMP%] input[type=number]{min-width:calc(24px + 4.55em)}[_nghost-%COMP%] .clear[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px;cursor:pointer;--svg-color: currentColor;--svg-vertical-align: baseline}"],changeDetection:0})}return e})();var vr=le(66300),Pf=le(60240),Df=le(72510),jg=le(8876),Ug=le(317),Al=le(49769),yr=le(19781),zg=le(23773);function qg(e,t){if(1&e&&u.nrm(0,"app-tab-heading",21),2&e){const n=u.XpG();u.Y8G("invalid",n.invalid)}}function Gg(e,t){if(1&e&&(u.nrm(0,"input",23),u.nI1(1,"async")),2&e){const n=u.XpG(2);u.Y8G("disabled",!0)("value",u.bMT(1,2,n.groupDescription$))}}function Vg(e,t){if(1&e&&u.nrm(0,"app-dn-select",24),2&e){const n=u.XpG(),a=u.XpG();u.Y8G("searchDnTypes",a.searchDnTypes(n.hasGroup))}}function Yg(e,t){1&e&&(u.EFF(0),u.nI1(1,"translate")),2&e&&u.JRh(u.bMT(1,1,"_i18n.WebsiteDestinationRequired"))}function Wg(e,t){if(1&e&&(u.j41(0,"field-wrapper",22),u.nVh(1,Gg,2,4,"input",23)(2,Vg,1,1,"app-dn-select",24),u.j41(3,"val-errors",25),u.DNE(4,Yg,2,3,"ng-template",6),u.k0s()(),u.j41(5,"p"),u.EFF(6),u.nI1(7,"translate"),u.j41(8,"a",26),u.EFF(9),u.nI1(10,"translate"),u.k0s()()),2&e){const n=u.XpG();u.Y8G("required",!0),u.R7$(),u.vxM(t.hasGroup&&n.fromValue.DefaultRecord?1:2),u.R7$(5),u.SpI(" ",u.bMT(7,4,"_i18n.ConfigureOfficeHoursLiveChat")," "),u.R7$(3),u.JRh(u.bMT(10,6,"_i18n.OfficeHoursLinkLivechat"))}}function Hg(e,t){1&e&&(u.EFF(0),u.nI1(1,"translate")),2&e&&u.JRh(u.bMT(1,1,"_i18n.WebsiteLinkRequired"))}function $g(e,t){1&e&&(u.EFF(0),u.nI1(1,"translate")),2&e&&u.JRh(u.bMT(1,1,"_i18n.WebsiteErrorMsg"))}function Qg(e,t){1&e&&(u.EFF(0),u.nI1(1,"translate")),2&e&&u.JRh(u.bMT(1,1,"_i18n.CommunicationOptionError"))}function Jg(e,t){if(1&e&&u.nrm(0,"field-radio-group",14),2&e){const n=u.XpG();u.Y8G("options",n.callBtnUnderChatOptions)}}function Kg(e,t){1&e&&(u.j41(0,"field-checkbox",15),u.nrm(1,"val-errors",27),u.k0s()),2&e&&(u.Y8G("description","_i18n.ReCaptchaHint"),u.R7$(),u.Y8G("controlName","EnableReCaptcha"))}let Zg=(()=>{class e{myGroup=(0,Ae.WQX)(Ig);lab=(0,zg.D)();form;groupDescription$;invalid;userHasSystemAccess=!1;communicationTypeOptions;callBtnUnderChatOptions=[{label:"_i18n.Yes",value:!0},{label:"_i18n.No",value:!1}];chatAuthOptions=Tg.u;hasGroup$;constructor(){const n=this.myGroup,a=(0,Ae.WQX)(Ff.Z);this.communicationTypeOptions=[{label:"_i18n.ChatOnly",value:Sn.t.ChatOnly},...this.lab()?[{label:"_i18n.PhoneOnly",value:Sn.t.PhoneOnly}]:[],{label:"_i18n.PhoneAndChat",value:Sn.t.PhoneAndChat}],this.hasGroup$=a.hasMyGroupRole$.pipe((0,yo.T)(o=>({hasGroup:o}))),this.groupDescription$=n.myGroupInfo$.pipe((0,yo.T)(o=>o?`${o.OfficeRoute?.Route?.Number??""} ${o.OfficeRoute?.Route?.Name??""}`.trim():""))}searchDnTypes(n){const a=[bo.J.Extension,bo.J.RingGroup,bo.J.Queue,bo.J.Group];return n?a:a.concat([bo.J.Group])}get fromValue(){return this.form.value}get Advanced(){return this.form.get("Advanced")}get CommunicationOptions(){return this.Advanced.get("CommunicationOptions")}get enableDirectCall(){return this.CommunicationOptions.value===Sn.t.PhoneAndChat}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["app-general-tab"]],inputs:{form:"form",invalid:"invalid",userHasSystemAccess:"userHasSystemAccess"},decls:30,vars:18,consts:[["tabHeading",""],["data-qa","general-form",3,"formGroup"],[1,"row"],[1,"col-xl-6"],["label","_i18n.AddYourWebsite","formControlName","Website","data-qa","website"],["controlName","Website"],["valError","required"],["valError","url"],["formGroupName","General",1,"col-xl-6"],["label","_i18n.ChatOptionsInfo","data-qa","authentication","formControlName","Authentication",3,"options"],["formGroupName","Advanced"],["data-qa","communication-options","label","_i18n.AllowChatOrCall","formControlName","CommunicationOptions",3,"options"],["controlName","CommunicationOptions"],["valError","communicationOptionError"],["data-qa","enable-direct-call","label","_i18n.ShowCallBtnUnderChat","formControlName","EnableDirectCall",3,"options"],["label","_i18n.ReCaptchaEnabled","formControlName","EnableReCaptcha",3,"description"],["formGroupName","Styling","label","_i18n.StartUpMode","data-qa","start-up-mode"],["id","startUpMode","formControlName","Minimized","data-qa","select",3,"clearable","searchable"],[3,"value"],["formControlName","Group","label","_i18n.LimitTo"],["controlName","Group"],["label","_i18n.General",3,"invali
1d"],["label","_i18n.Destination","data-qa","destination",3,"required"],["data-qa","default-record-routing","type","text",1,"form-control",3,"disabled","value"],["formControlName","DN",3,"searchDnTypes"],["controlName","DN","data-qa","validation"],["routerLink","/office/office-hours",1,"link"],[3,"controlName"]],template:function(a,o){if(1&a&&(u.DNE(0,qg,1,1,"ng-template",0),u.j41(1,"div",1),u.nVh(2,Wg,11,8),u.nI1(3,"async"),u.j41(4,"div",2)(5,"div",3)(6,"field-input-list",4)(7,"val-errors",5),u.DNE(8,Hg,2,3,"ng-template",6)(9,$g,2,3,"ng-template",7),u.k0s()()(),u.j41(10,"div",8),u.nrm(11,"field-select",9),u.k0s(),u.j41(12,"div",3),u.qex(13,10),u.nrm(14,"field-radio-group",11),u.j41(15,"val-errors",12),u.DNE(16,Qg,2,3,"ng-template",13),u.k0s(),u.nVh(17,Jg,1,1,"field-radio-group",14),u.bVm(),u.nVh(18,Kg,2,2,"field-checkbox",15),u.k0s(),u.j41(19,"div",3)(20,"field-wrapper",16)(21,"ng-select",17)(22,"ng-option",18),u.EFF(23),u.nI1(24,"translate"),u.k0s(),u.j41(25,"ng-option",18),u.EFF(26),u.nI1(27,"translate"),u.k0s()()(),u.j41(28,"app-group-select",19),u.nrm(29,"val-errors",20),u.k0s()()()()),2&a){let i;u.R7$(),u.Y8G("formGroup",o.form),u.R7$(),u.vxM((i=u.bMT(3,12,o.hasGroup$))?2:-1,i),u.R7$(9),u.Y8G("options",o.chatAuthOptions),u.R7$(3),u.Y8G("options",o.communicationTypeOptions),u.R7$(3),u.vxM(o.enableDirectCall?17:-1),u.R7$(),u.vxM(o.lab()?18:-1),u.R7$(3),u.Y8G("clearable",!1)("searchable",!1),u.R7$(),u.Y8G("value",!0),u.R7$(),u.JRh(u.bMT(24,14,"_i18n.ChatIconOnly")),u.R7$(2),u.Y8G("value",!1),u.R7$(),u.JRh(u.bMT(27,16,"_i18n.ChatBox"))}},dependencies:[cn.Bh,ui.b,q.X1,q.BC,q.cb,q.j4,q.JD,q.$R,br.z,Og.A,Ya.IH,Ya.VI,Ng.Wk,Bg,vr.q,Pf.u,Df.vr,jg.c,Df.xt,Ug.x,yr.t,Xn.D9,Al.Jj],encapsulation:2})}return e})();const fi={SlideUp:"SlideUp",SlideFromSide:"SlideFromSide",FadeIn:"FadeIn",NoAnimation:"NoAnimation"};var Xg=le(17705),eb=le(43636);function nb(e,t){if(1&e){const n=u.RV6();u.j41(0,"input",8),u.mxI("ngModelChange",function(o){Ae.eBV(n);const i=u.XpG().$implicit,r=u.XpG().$implicit;return u.DH7(r[i],o)||(r[i]=o),Ae.Njj(o)}),u.bIt("ngModelChange",function(){Ae.eBV(n);const o=u.XpG(2).$implicit,i=u.XpG();return Ae.Njj(i.valueChanged(o))}),u.k0s(),u.j41(1,"span",9),u.EFF(2),u.nI1(3,"translate"),u.k0s()}if(2&e){const n=u.XpG().$implicit,a=u.XpG().$implicit,o=u.XpG();u.Y8G("id",n),u.R50("ngModel",a[n]),u.R7$(2),u.JRh(u.bMT(3,3,o.colorDescriptions[n]))}}function ab(e,t){if(1&e){const n=u.RV6();u.j41(0,"div",6),u.bIt("click",function(){const o=Ae.eBV(n).$implicit,i=u.XpG(2);return Ae.Njj(i.highlighted.set(o))}),u.nrm(1,"label",7),u.nVh(2,nb,4,5),u.k0s()}if(2&e){const n=t.$implicit,a=u.XpG().$implicit,o=u.r8f(0),i=u.XpG();u.AVh("pe-none",!o)("highlight",o&&i.highlighted()===n),u.BMQ("data-qa",n),u.R7$(),u.xc7("background-color",a[n]),u.Y8G("for",n),u.R7$(),u.vxM(o?2:-1)}}function ob(e,t){if(1&e){const n=u.RV6();u.SS7(0),u.j41(1,"div",2)(2,"input",3),u.bIt("click",function(){const o=Ae.eBV(n).$implicit,i=u.XpG();return Ae.Njj(i.valueChanged(o))}),u.k0s()(),u.Z7z(3,ab,3,9,"div",4,u.fX1),u.j41(5,"span",5),u.EFF(6),u.nI1(7,"translate"),u.k0s()}if(2&e){const n=t.$implicit,a=u.XpG(),o=a.isChecked(n);u.bH3(o&&n.isCustom),u.R7$(2),u.Y8G("checked",o),u.R7$(),u.Dyx(a.customizedParts),u.R7$(3),u.SpI("",u.bMT(7,3,n.description)," ")}}const Bf={callUsFormHeaderBackground:"#373737",callUsMainButtonBackground:"#0596d4",callUsClientTextColor:"#d4d4d4",callUsAgentTextColor:"#eeeeee"},ib={plateBackground:"_i18n.PlateBackground",mainBackground:"_i18n.MainBackground",mainAccent:"_i18n.MainAccent",mainFont:"_i18n.MainFont",plateFont:"_i18n.PlateFont"};let rb=(()=>{class e extends eb.s{styleJson;customizedParts=["plateBackground","mainBackground","mainAccent","mainFont","plateFont"];highlighted=(0,Ae.vPA)(this.customizedParts[0]);colorDescriptions=ib;styles=[{plateBackground:"#373737",mainBackground:"#FFFFFF",mainAccent:"#3397D4",mainFont:"#000000",plateFont:"#E6E6E6",callUsFormHeaderBackground:"#373737",callUsMainButtonBackground:"#0596d4",callUsClientTextColor:"#d4d4d4",callUsAgentTextColor:"#eeeeee",description:"3CX"}
1,{plateBackground:"#206C77",mainBackground:"#FFFFFF",mainAccent:"#47D6D6",mainFont:"#292929",plateFont:"#E6E6E6",callUsFormHeaderBackground:"#186c77",callUsMainButtonBackground:"#05d6d6",callUsClientTextColor:"#d4d4d4",callUsAgentTextColor:"#eeeeee",description:"Salty Water"},{plateBackground:"#D97E18",mainBackground:"#FFFFFF",mainAccent:"#D63004",mainFont:"#292929",plateFont:"#E6E6E6",callUsFormHeaderBackground:"#d97e17",callUsMainButtonBackground:"#d63005",callUsClientTextColor:"#d4d4d4",callUsAgentTextColor:"#eeeeee",description:"Summer Vibes"},{plateBackground:"#373737",mainBackground:"#404040",mainAccent:"#14A5FF",mainFont:"#FFFFFF",plateFont:"#D9D9D9",description:"Dark",...Bf},{plateBackground:"#373737",mainBackground:"#FFFFFF",mainAccent:"#3397D4",mainFont:"#292929",plateFont:"#E6E6E6",description:"Customize",isCustom:!0,...Bf}];constructor(){super((0,Ae.WQX)(Xg.gRc))}get stylesJsonForTest(){return this.styleJson}writeValue(n){if(!n)return this.styleJson=this.toJson(this.styles[0]),void this.setGlobalStyle(this.styleJson);if(!this.styleHasMatch(n)&&n){const o=this.styles.find(i=>i.isCustom);if(o){const i=function tb(e){try{return JSON.parse(e)}catch{return""}}(n);o.plateBackground=i.plateBackground||"#373737",o.mainBackground=i.mainBackground||"#FFFFFF",o.mainAccent=i.mainAccent||i.callUsFormHeaderBackground||"#3397D4",o.mainFont=i.mainFont||"#000000",o.plateFont=i.plateFont||"#E6E6E6",o.callUsFormHeaderBackground="#373737",o.callUsMainButtonBackground="#0596d4",o.callUsClientTextColor="#d4d4d4",o.callUsAgentTextColor="#eeeeee"}}this.styleJson=n,this.setGlobalStyle(this.styleJson)}valueChanged(n){this.styleJson=this.toJson(n),this.setGlobalStyle(this.styleJson),this.markAsTouched(),this.onChange(this.styleJson)}isChecked(n){return!(!n.isCustom||this.styleHasMatch(this.styleJson))||this.styleJson===this.toJson(n)}setGlobalStyle(n){try{const a=JSON.parse(n),o=document.documentElement;o.style.setProperty("--call-us-plate-background-color",a.plateBackground||"#373737"),o.style.setProperty("--call-us-main-background-color",a.mainBackground||"#FFFFFF"),o.style.setProperty("--call-us-main-accent-color",a.mainAccent||a.callUsFormHeaderBackground||"#0596D4"),o.style.setProperty("--call-us-main-font-color",a.mainFont||"#000000"),o.style.setProperty("--call-us-plate-font-color",a.plateFont||"#E6E6E6"),o.style.setProperty("--call-us-agent-bubble-color",`${a.mainFont||"#000000"}10`)}catch{}}toJson(n){return JSON.stringify({plateBackground:n.plateBackground,mainBackground:n.mainBackground,mainAccent:n.mainAccent,mainFont:n.mainFont,plateFont:n.plateFont,callUsFormHeaderBackground:n.mainAccent||n.callUsFormHeaderBackground,callUsMainButtonBackground:n.callUsMainButtonBackground,callUsClientTextColor:n.callUsClientTextColor,callUsAgentTextColor:n.callUsClientTextColor})}styleHasMatch(n){return this.styles.filter(a=>!a.isCustom).find(a=>this.toJson(a)===n)}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["app-live-chat-theme"]],features:[u.Jv_([{provide:q.kq,multi:!0,useExisting:e}]),u.Vt3],decls:4,vars:0,consts:[["data-qa","comp-template","label","_i18n.Dialer_Theme"],[1,"theme-palette"],["data-qa","checkbox",1,"form-check","mb-0"],["data-qa","input","type","radio","role","button",1,"form-check-input",3,"click","checked"],[1,"theme-palette-item",3,"pe-none","highlight"],[1,"pe-2"],[1,"theme-palette-item",3,"click"],[3,"for"],["type","color","data-qa","input",3,"ngModelChange","id","ngModel"],["data-qa","description"]],template:function(a,o){1&a&&(u.j41(0,"field-wrapper",0)(1,"div",1),u.Z7z(2,ob,8,5,null,null,u.fX1),u.k0s()()),2&a&&(u.R7$(2),u.Dyx(o.styles))},dependencies:[q.X1,q.me,q.BC,q.YN,q.vS,br.z,Xn.D9],styles:['.theme-palette[_ngcontent-%COMP%]{display:grid;grid-template-columns:30px repeat(5,auto) 1fr;gap:var(--spacer-s);align-items:center;padding:var(--spacer-xs) 0 var(--spacer-s)}.theme-palette[_ngcontent-%COMP%] .theme-palette-item[_ngcontent-%COMP%]{border:1px solid #c2baba;width:25px;height:25px}.theme-palette[_ngcontent-%COMP%] .theme-palette-item[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:100%;height:100%;cursor:pointer}.theme-palette[_ngcontent-%COMP%] .theme-palette-item[_ngcontent-%COMP%] input[type=color][_ngcontent-%COMP%]{appearance:none;border:none;padding:0;width:0;height:0;position:relative;top:calc(100% + var(--spacer-s));left:-100%}.theme-palette[_ngcontent-%COMP%] .theme-palette-item[_ngcontent-%COMP%] input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch-wrapper{padding:0}.theme-palette[_ngcontent-%COMP%] .theme-palette-item[_ngcontent-%COMP%] input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch{border:none}.theme-palette[_ngcontent-%COMP%] .theme-palette-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}.theme-palette[_ngcontent-%COMP%] .theme-palette-item.highlight[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{background:var(--bg-secondary);content:"";position:relative;display:block;width:100%;height:5px;left:0;top:calc(100% + var(--spacer-xs))}.theme-palette[_ngcontent-%COMP%] .theme-palette-item.highlight[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;display:inline-block;top:var(--spacer-xs);left:0;transform:translate(-35%);text-wrap:nowrap}']})}return e})();var sb=le(98352);let lb=(()=>{class e{static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["app-wplc_icon-custom-icon"],["","app-wplc_icon-custom-icon",""]],decls:6,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 43.074 42.35"],["data-name","Layer 2","transform","translate(-11.86 -14.678)"],["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 01-5.399 5.401h-.008l-5.515-.005c-6.442-.008-4.361-.018-8.483.021a1.099 1.099 0 00-.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"],["rx",".812","height","3.043","width","32.605","y","21.789","x","17.045"],["rx",".812","height","3.043","width","32.605","y","29.228","x","17.045"],["rx",".812","height","3.043","width","19.008","y","36.668","x","17.045"]],template:function(a,o){1&a&&(Ae.qSk(),u.rj2(0,"svg",0)(1,"g",1),u.Hgh(2,"path",2)(3,"rect",3)(4,"rect",4)(5,"rect",5),u.eux()())},encapsulation:2})}return e})(),cb=(()=>{class e{static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["app-wplc_icon_double_bubble-custom-icon"],["","app-wplc_icon_double_bubble-custom-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 576 512"],["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-64zM64 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"]],template:function(a,o){1&a&&(Ae.qSk(),u.rj2(0,"svg",0),u.Hgh(1,"path",1),u.eux())},encapsulation:2})}return e})(),ub=(()=>{class e{static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["app-wplc_icon_bubble-custom-icon"],["","app-wplc_icon_bubble-custom-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["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-64zm32 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 32v288z"]],template:function(a,o){1&a&&(Ae.qSk(),u.rj2(0,"svg",0),u.Hgh(1,"path",1),u.eux())},encapsulation:2})}return e})();var fb=le(86740);function db(e,t){1&e&&u.nrm(0,"app-wplc_icon-custom-icon",2)}function pb(e,t){1&e&&u.nrm(0,"app-wplc_icon_double_bubble-custom-icon",2)}function hb(e,t){1&e&&u.nrm(0,"app-wplc_icon_bubble-custom-icon",2)}function mb(e,t){1&e&&u.nrm(0,"app-upload-solid-icon",2)}function gb(e,t){if(1&e){const n=u.RV6();u.j41(0,"div",1),u.bIt("click",function(){const o=Ae.eBV(n).$implicit,i=u.XpG();return Ae.Njj(!i.disabled&&i.valueChanged(o))}),u.nVh(1,db,1,0,"app-wplc_icon-custom-icon",2)(2,pb,1,0,"app-wplc_icon_double_bubble-custom-icon",2)(3,hb,1,0,"app-wplc_icon_bubble-custom-icon",2)(4,mb,1,0,"app-upload-solid-icon",2),u.k0s()}if(2&e){let n;const a=t.$implicit,o=u.XpG();u.R7$(),u.vxM((n=a)===o.PbxButtonIconType.Default?1:n===o.PbxButtonIconType.DoubleBubble?2:n===o.PbxButtonIconType.Bubble?3:n===o.PbxButtonIconType.Url?4:-1)}}let bb=(()=>{class e extends sb.z{PbxButtonIconType=ci;options=[{value:ci.Default,label:""},{value:ci.DoubleBubble,label:""},{value:ci.Bubble,label:""}];static \u0275fac=(()=>{let n;return function(o){return(n||(n=u.xGo(e)))(o||e)}})();static \u0275cmp=u.VBU({type:e,selectors:[["app-live-chat-icon"]],features:[u.Jv_([{provide:q.kq,multi:!0,useExisting:e}]),u.Vt3],decls:2,vars:3,consts:[["label","_i18n.BubbleIcon","viewStyle","horizontal",3,"ngModelChange","options","ngModel","disabled"],["data-qa","bubble-icon",1,"icon-wrapper",3,"click"],[1,"svg-lg"]],template:function(a,o){1&a&&(u.j41(0,"field-radio-group",0),u.bIt("ngModelChange",function(r){return o.valueChanged(r)}),u.DNE(1,gb,5,1,"ng-template"),u.k0s()),2&a&&u.Y8G("options",o.options)("ngModel",o.value)("disabled",o.disabled)},dependencies:[Pf.u,q.X1,q.BC,q.YN,q.vS,lb,cb,ub,fb.P],styles:[".icon-wrapper[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003,0 3px 10px #00000014;background-color:var(--call-us-main-accent-color);display:inline-block;padding:1em;border-radius:50%;cursor:pointer}.icon-wrapper[_ngcontent-%COMP%] .svg-lg[_ngcontent-%COMP%]{--svg-color: var(--call-us-main-background-color)}.disabled[_ngcontent-%COMP%] .icon-wrapper[_ngcontent-%COMP%]{opacity:.5;cursor:default}"],changeDetection:0})}return e})();function vb(e,t){1&e&&u.nrm(0,"app-tab-heading",12)}let yb=(()=>{class e{form;PbxAnimationStyle=fi;
1animationOptions=[{value:fi.SlideUp,label:"_i18n.SlideUp"},{value:fi.SlideFromSide,label:"_i18n.SlideFromTheSide"},{value:fi.FadeIn,label:"_i18n.FadeIn"},{value:fi.NoAnimation,label:"_i18n.NoAnimation"}];static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["app-styling-tab"]],inputs:{form:"form"},decls:14,vars:5,consts:[["tabHeading",""],["data-qa","styling-form",3,"formGroup"],["formGroupName","Styling",1,"mb-5"],["formControlName","Style"],["formGroupName","ChatBox"],["formControlName","ButtonIconType"],["formGroupName","Styling"],[1,"mb-1"],["data-qa","override-website-font","formControlName","UseRubik","label","_i18n.FontUseRubikLabel","description","_i18n.FontUseRubikDescription"],[1,"row"],[1,"col-md-6"],["label","_i18n.ChatBoxAnimation","formControlName","Animation","data-qa","styling-form-animation",3,"options"],["label","_i18n.Styling"]],template:function(a,o){1&a&&(u.DNE(0,vb,1,0,"ng-template",0),u.j41(1,"div",1)(2,"div",2),u.nrm(3,"app-live-chat-theme",3),u.k0s(),u.qex(4,4),u.nrm(5,"app-live-chat-icon",5),u.bVm(),u.qex(6,6),u.j41(7,"p",7),u.EFF(8),u.nI1(9,"translate"),u.k0s(),u.nrm(10,"field-checkbox",8),u.j41(11,"div",9)(12,"div",10),u.nrm(13,"field-select",11),u.k0s()(),u.bVm(),u.k0s()),2&a&&(u.R7$(),u.Y8G("formGroup",o.form),u.R7$(7),u.JRh(u.bMT(9,3,"_i18n.FontLabel")),u.R7$(5),u.Y8G("options",o.animationOptions))},dependencies:[cn.Bh,ui.b,q.X1,q.BC,q.cb,q.j4,q.JD,q.$R,rb,bb,yr.t,vr.q,Xn.D9],encapsulation:2})}return e})();function Ab(e,t){1&e&&u.nrm(0,"app-tab-heading",22)}function wb(e,t){1&e&&(u.EFF(0),u.nI1(1,"translate")),2&e&&u.SpI(" ",u.bMT(1,1,"_i18n.WeblinkTextFieldInvalidPattern")," ")}function Cb(e,t){1&e&&(u.EFF(0),u.nI1(1,"translate")),2&e&&u.SpI(" ",u.bMT(1,1,"_i18n.WeblinkTextFieldInvalidPattern")," ")}function _b(e,t){1&e&&(u.EFF(0),u.nI1(1,"translate")),2&e&&u.JRh(u.bMT(1,1,"_i18n.WeblinkTextFieldInvalidPattern"))}function xb(e,t){1&e&&(u.EFF(0),u.nI1(1,"translate")),2&e&&u.JRh(u.bMT(1,1,"_i18n.WeblinkTextFieldInvalidPattern"))}function Eb(e,t){1&e&&(u.EFF(0),u.nI1(1,"translate")),2&e&&u.JRh(u.bMT(1,1,"_i18n.WeblinkTextFieldInvalidPattern"))}function Mb(e,t){1&e&&(u.EFF(0),u.nI1(1,"translate")),2&e&&u.JRh(u.bMT(1,1,"_i18n.WeblinkTextFieldInvalidPattern"))}let kb=(()=>{class e{form;showValidation;languageOptions=[{value:"browser",label:"_i18n.DefaultUserLanguage"},{value:"en",label:"English"},{value:"es",label:"Espa\xf1ol"},{value:"de",label:"Deutsch"},{value:"fr",label:"Fran\xe7ais"},{value:"it",label:"Italiano"},{value:"pl",label:"Polski"},{value:"ru",label:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},{value:"pt",label:"Portugu\xeas"},{value:"zh",label:"\u7b80\u4f53\u4e2d\u6587\u7248"}];static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["app-messages-tab"]],inputs:{form:"form",showValidation:"showValidation"},decls:59,vars:23,consts:[["tabHeading",""],["data-qa","message-form",3,"formGroup"],[1,"row"],["formGroupName","ChatBox",1,"col-md-6"],["label","_i18n.SystemLanguage","formControlName","LiveChatLanguage",3,"options","searchable"],["formGroupName","Translations"],[1,"col-md-6"],["data-qa","authentication-message","formControlName","AuthenticationMessage","label","_i18n.ChatBoxIntro","placeholder","_i18n.PlaceholderAuthenticationMessage",3,"maxlength"],["data-qa","start-chat-button-text","formControlName","StartChatButtonText","label","_i18n.StartChatButtonLabel","placeholder","_i18n.PlaceholderStartChatButtonText",3,"maxlength"],["data-qa","greeting-message","formControlName","GreetingMessage","label","_i18n.OnlineGreetingMessage","placeholder","_i18n.PlaceholderHelpMessage"],["controlName","GreetingMessage"],["valError","pattern"],["data-qa","greeting-offline-message","formControlName","GreetingOfflineMessage","label","_i18n.OfflineGreetingMessage","placeholder","_i18n.PlaceholderUnavailableMessage"],["controlName","GreetingOfflineMessage"],["data-qa","invite-message","formControlName","InviteMessage","label","_i18n.WelcomeMessage","placeholder","_i18n.PlaceholderInviteMessage"],["controlName","InviteMessage"],["data-qa","unavailable-message","formControlName","UnavailableMessage","label","_i18n.AwayMessage","placeholder","_i18n.PlaceholderUnavailableMessage"],["controlName","UnavailableMessage"],["data-qa","first-response-message","formControlName","FirstResponseMessage","label","_i18n.AutoResponseToFirstMessage","placeholder","_i18n.PlaceholderFirstResponseMessage"],["controlName","FirstResponseMessage"],["data-qa","ending-message","formControlName","EndingMessage","label","_i18n.OnChatEndMessage","placeholder","_i18n.PlaceholderEndingMessage"],["controlName","EndingMessage"],["label","_i18n.Messages"]],template:function(a,o){1&a&&(u.DNE(0,Ab,1,0,"ng-template",0),u.j41(1,"div",1)(2,"div",2)(3,"div",3),u.nrm(4,"field-select",4),u.k0s()(),u.j41(5,"div",5)(6,"fieldset")(7,"legend"),u.EFF(8),u.nI1(9,"translate"),u.k0s(),u.j41(10,"p"),u.EFF(11),u.nI1(12,"translate"),u.k0s(),u.j41(13,"div",2)(14,"div",6),u.nrm(15,"field-input",7),u.k0s(),u.j41(16,"div",6),u.nrm(17,"f
1ield-input",8),u.k0s()()(),u.j41(18,"fieldset")(19,"legend"),u.EFF(20),u.nI1(21,"translate"),u.k0s(),u.j41(22,"p"),u.EFF(23),u.nI1(24,"translate"),u.k0s(),u.j41(25,"div",2)(26,"div",6)(27,"field-input",9)(28,"val-errors",10),u.DNE(29,wb,2,3,"ng-template",11),u.k0s()()(),u.j41(30,"div",6)(31,"field-input",12)(32,"val-errors",13),u.DNE(33,Cb,2,3,"ng-template",11),u.k0s()()()()(),u.j41(34,"fieldset")(35,"legend"),u.EFF(36),u.nI1(37,"translate"),u.k0s(),u.j41(38,"p"),u.EFF(39),u.nI1(40,"translate"),u.k0s(),u.j41(41,"div",2)(42,"div",6)(43,"field-input",14)(44,"val-errors",15),u.DNE(45,_b,2,3,"ng-template",11),u.k0s()()(),u.j41(46,"div",6)(47,"field-input",16)(48,"val-errors",17),u.DNE(49,xb,2,3,"ng-template",11),u.k0s()()()(),u.j41(50,"div",2)(51,"div",6)(52,"field-input",18)(53,"val-errors",19),u.DNE(54,Eb,2,3,"ng-template",11),u.k0s()()(),u.j41(55,"div",6)(56,"field-input",20)(57,"val-errors",21),u.DNE(58,Mb,2,3,"ng-template",11),u.k0s()()()()()()()),2&a&&(u.R7$(),u.Y8G("formGroup",o.form),u.R7$(3),u.Y8G("options",o.languageOptions)("searchable",!0),u.R7$(4),u.JRh(u.bMT(9,11,"_i18n.CaptionAndButtons")),u.R7$(3),u.JRh(u.bMT(12,13,"_i18n.MessagesTabMessageParagraphCaptionAndButtons")),u.R7$(4),u.Y8G("maxlength",100),u.R7$(2),u.Y8G("maxlength",25),u.R7$(3),u.JRh(u.bMT(21,15,"_i18n.Greetings")),u.R7$(3),u.JRh(u.bMT(24,17,"_i18n.MessagesTabMessageParagraphGreetings")),u.R7$(13),u.JRh(u.bMT(37,19,"_i18n.AutoMessages")),u.R7$(3),u.JRh(u.bMT(40,21,"_i18n.MessagesTabMessageParagraphAutoMessages")))},dependencies:[cn.Bh,ui.b,q.X1,q.BC,q.cb,q.tU,q.j4,q.JD,q.$R,vr.q,yl.m,Ya.IH,Ya.VI,Xn.D9],encapsulation:2,changeDetection:0})}return e})();var Sb=le(50176);function Ib(e,t){if(1&e&&u.nrm(0,"app-tab-heading",8),2&e){const n=u.XpG();u.Y8G("invalid",n.invalid)}}let Tb=(()=>{class e{form;showValidation;invalid;userInfoFormatOptions=[{value:"Avatar",label:"_i18n.Avatar"},{value:"Name",label:"_i18n.Name"},{value:"Both",label:"_i18n.AvatarAndName"},{value:"None",label:"_i18n.None"}];static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["app-agent-tab"]],inputs:{form:"form",showValidation:"showValidation",invalid:"invalid"},decls:15,vars:9,consts:[["tabHeading",""],[3,"formGroup"],["formGroupName","ChatBox","data-qa","agent-form"],["data-qa","show-operator-actual-name","formControlName","ShowOperatorActualName","label","_i18n.ShowAgentName","description","_i18n.AgentTabMessageParagraph1"],["data-qa","display-for-chat-message","label","_i18n.DisplayForChatMessage","formControlName","LiveMessageUserinfoFormat",3,"options"],[1,"d-flex","gap-3"],["label","_i18n.DefaultPhoto","editorHeader","_i18n.AgentPhoto","formControlName","OperatorIcon"],["formControlName","OperatorName","label","_i18n.DefaultwAgentName","placeholder","_i18n.Support",1,"flex-grow-1",3,"maxlength"],["label","_i18n.Agent",3,"invalid"]],template:function(a,o){1&a&&(u.DNE(0,Ib,1,1,"ng-template",0),u.j41(1,"form",1)(2,"div",2),u.nrm(3,"field-checkbox",3)(4,"field-select",4),u.j41(5,"fieldset")(6,"legend"),u.EFF(7),u.nI1(8,"translate"),u.k0s(),u.j41(9,"p"),u.EFF(10),u.nI1(11,"translate"),u.k0s(),u.j41(12,"div",5),u.nrm(13,"app-profile-image",6)(14,"field-input",7),u.k0s()()()()),2&a&&(u.R7$(),u.Y8G("formGroup",o.form),u.R7$(3),u.Y8G("options",o.userInfoFormatOptions),u.R7$(3),u.JRh(u.bMT(8,5,"_i18n.DefaultAgentInfo")),u.R7$(3),u.JRh(u.bMT(11,7,"_i18n.AgentTabMessageParagraph2")),u.R7$(4),u.Y8G("maxlength",50))},dependencies:[cn.Bh,ui.b,q.X1,q.qT,q.BC,q.cb,q.tU,q.j4,q.JD,q.$R,yr.t,vr.q,Sb.W,yl.m,Xn.D9],encapsulation:2,changeDetection:0})}return e})();function Ob(e,t){1&e&&u.nrm(0,"app-tab-heading",9)}function Nb(e,t){1&e&&(u.j41(0,"div",2),u.nrm(1,"field-checkbox",10),u.k0s())}function Rb(e,t){1&e&&(u.EFF(0),u.nI1(1,"translate")),2&e&&u.JRh(u.bMT(1,1,"_i18n.WeblinkTextFieldInvalidPattern"))}let Fb=(()=>{class e{form;get Advanced(){return this.form.get("Advanced")}get CommunicationOptions(){return this.Advanced.get("CommunicationOptions")}get enableDirectCall(){return this.CommunicationOptions.value===Sn.t.PhoneAndChat}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["app-advanced-tab"]],inputs:{form:"form"},decls:15,vars:9,consts:[["tabHeading",""],["data-qa","advanced-form",3,"formGroup"],["formGroupName","Advanced"],["formGroupName","General"],["data-qa","gdpr-enabled","id","enablePrivacy","formControlName","GdprEnabled","label","_i18n.EnablePrivacyControls",3,"switch"],["formGroupName","Translations","label","_i18n.GDPRNoticeToVisitors"],["data-qa","gdpr-input","maxlength","255","formControlName","GdprMessage",1,"form-control",2,"min-height","100px","max-height","200px",3,"placeholder"],["controlName","GdprMessage"],["valError","pattern"],["label","_i18n.Advanced"],["data-qa","ignore-queue-ownership","formControlName","IgnoreQueueOwnership","label","_i18n.IgnoreQueueOwnership"]],template:function(a,o){1&a&&(u.DNE(0,Ob,1,0,"ng-template",0),u.j41(1,"div",1),u.nVh(2,Nb,2,0,"div",2),u.j41(3,"fieldset")(4,"legend"),u.EFF(5),u.nI1(6,"translate"),u.k0s(),u.j41(7,"div",3),u.nrm(8,"field-checkbox",4),u.k0s(),u.j41(9,"field-wrapper",5)(10,"textarea",6),u.nI1(11,"translate"),u.EFF(12," "),u.k0s(),u.j41(13,"val-errors",7),u.DNE(14,Rb,2,3,"ng-template",8),u.k0s()()()()),2&a&&(u.R7$(),u.Y8G("formGroup",o.form),u.R7$(),u.vxM(o.enableDirectCall?2:-1),u.R7$(3),u.JRh(u.bMT(6,5,"_i18n.Privacy")),u.R7$(3),u.Y8G("switch",!0),u.R7$(2),u.Y8G("placeholder",u.bMT(11,7,"_i18n.GdprDefaultMessage")))},dependencies:[cn.Bh,ui.b,q.X1,q.me,q.BC,q.cb,q.tU,q.j4,q.JD,q.$R,yr.t,br.z,Ya.IH,Ya.VI,Xn.D9],encapsulation:2})}return e})();var Ao=le(10467),Lb=Object.defineProperty,x=(e,t,n)=>((e,t,n)=>t in e?Lb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),wo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};
vendor: 6,144 bytes, line 1
1function di(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jf,wl={exports:{}};function Mt(){return jf||(jf=1,wl.exports=function(){var a=6e4,o=36e5,i="millisecond",r="second",s="minute",l="hour",c="day",d="week",f="month",p="quarter",h="year",m="date",b="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|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,_={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(re){var K=["th","st","nd","rd"],z=re%100;return"["+re+(K[(z-20)%10]||K[z]||K[0])+"]"}},I=function(re,K,z){var V=String(re);return!V||V.length>=K?re:""+Array(K+1-V.length).join(z)+re},N={s:I,z:function(re){var K=-re.utcOffset(),z=Math.abs(K),V=Math.floor(z/60),D=z%60;return(K<=0?"+":"-")+I(V,2,"0")+":"+I(D,2,"0")},m:function re(K,z){if(K.date()<z.date())return-re(z,K);var V=12*(z.year()-K.year())+(z.month()-K.month()),D=K.clone().add(V,f),te=z-D<0,pe=K.clone().add(V+(te?-1:1),f);return+(-(V+(z-D)/(te?D-pe:pe-D))||0)},a:function(re){return re<0?Math.ceil(re)||0:Math.floor(re)},p:function(re){return{M:f,y:h,w:d,d:c,D:m,h:l,m:s,s:r,ms:i,Q:p}[re]||String(re||"").toLowerCase().replace(/s$/,"")},u:function(re){return void 0===re}},S="en",G={};G[S]=_;var P="$isDayjsObject",ee=function(re){return re instanceof be||!(!re||!re[P])},se=function re(K,z,V){var D;if(!K)return S;if("string"==typeof K){var te=K.toLowerCase();G[te]&&(D=te),z&&(G[te]=z,D=te);var pe=K.split("-");if(!D&&pe.length>1)return re(pe[0])}else{var fe=K.name;G[fe]=K,D=fe}return!V&&D&&(S=D),D||!V&&S},Q=function(re,K){if(ee(re))return re.clone();var z="object"==typeof K?K:{};return z.date=re,z.args=arguments,new be(z)},ne=N;ne.l=se,ne.i=ee,ne.w=function(re,K){return Q(re,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var be=function(){function re(z){this.$L=se(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[P]=!0}var K=re.prototype;return K.parse=function(z){this.$d=function(V){var D=V.date,te=V.utc;if(null===D)return new Date(NaN);if(ne.u(D))return new Date;if(D instanceof Date)return new Date(D);if("string"==typeof D&&!/Z$/i.test(D)){var pe=D.match(g);if(pe){var fe=pe[2]-1||0,xe=(pe[7]||"0").substring(0,3);return te?new Date(Date.UTC(pe[1],fe,pe[3]||1,pe[4]||0,pe[5]||0,pe[6]||0,xe)):new Date(pe[1],fe,pe[3]||1,pe[4]||0,pe[5]||0,pe[6]||0,xe)}}return new Date(D)}(z),this.init()},K.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},K.$utils=function(){return ne},K.isValid=function(){return this.$d.toString()!==b},K.isSame=function(z,V){var D=Q(z);return this.startOf(V)<=D&&D<=this.endOf(V)},K.isAfter=function(z,V){return Q(z)<this.startOf(V)},K.isBefore=function(z,V){return this.endOf(V)<Q(z)},K.$g=function(z,V,D){return ne.u(z)?this[V]:this.set(D,z)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(z,V){var D=this,te=!!ne.u(V)||V,pe=ne.p(z),fe=function(kt,nt){var wt=ne.w(D.$u?Date.UTC(D.$y,nt,kt):new Date(D.$y,nt,kt),D);return te?wt:wt.endOf(c)},xe=function(kt,nt){return ne.w(D.toDate()[kt].apply(D.toDate("s"),(te?[0,0,0,0]:[23,59,59,999]).slice(nt)),D)},Ee=this.$W,Ye=this.$M,Ke=this.$D,gt="set"+(this.$u?"UTC":"");switch(pe){case h:return te?fe(1,0):fe(31,11);case f:return te?fe(1,Ye):fe(0,Ye+1);case d:var et=this.$locale().weekStart||0,bt=(Ee<et?Ee+7:Ee)-et;return fe(te?Ke-bt:Ke+(6-bt),Ye);case c:case m:return xe(gt+"Hours",0);case l:return xe(gt+"Minutes",1);case s:return xe(gt+"Seconds",2);case r:return xe(gt+"Milliseconds",3);default:return this.clone()}},K.endOf=function(z){return this.startOf(z,!1)},K.$set=function(z,V){var D,te=ne.p(z),pe="set"+(this.$u?"UTC":""),fe=(D={},D[c]=pe+"Date",D[m]=pe+"Date",D[f]=pe+"Month",D[h]=pe+"FullYear",D[l]=pe+"Hours",D[s]=pe+"Minutes",D[r]=pe+"Seconds",D[i]=pe+"Milliseconds",D)[te],xe=te===c?this.$D+(V-this.$W):V;if(te===f||te===h){var Ee=this.clone().set(m,1);Ee.$d[fe](xe),Ee.init(),this.$d=Ee.set(m,Math.min(this.$D,Ee.daysInMonth())).$d}else fe&&this.$d[fe](xe);return this.init(),this},K.set=function(z,V){return this.clone().$set(z,V)},K.get=function(z){return this[ne.p(z)]()},K.add=function(z,V){var D,te=this;z=Number(z);var pe=ne.p(V),fe=function(Ye){var Ke=Q(te);return ne.w(Ke.date(Ke.date()+Math.round(Ye*z)),te)};if(pe===f)return this.set(f,this.$M+z);if(pe===h)return this.set(h,this.$y+z);if(pe===c)return fe(1);if(pe===d)return fe(7);var xe=(D={},D[s]=a,D[l]=o,D[r]=1e3,D)[pe]||1,Ee=this.$d.getTime()+z*xe;return ne.w(Ee,this)},K.subtract=function(z,V){return this.add(-1*z,V)},K.format=function(z){var V=this,D=this.$locale();if(!this.isValid())return D.invalidDate||b;var te=z||"YYYY-MM-DDTHH:mm:ssZ",pe=ne.z(this),fe=this.$H,xe=this.$m,Ee=this.$M,Ye=D.weekdays,Ke=D.months,et=function(nt,wt,C,y){return nt&&(nt[wt]||nt(V,te))||C[wt].slice(0,y)},bt=function(nt){return ne.s(fe%12||12,nt,"0")},kt=D.meridiem||function(nt,wt,C){var y=nt<12?"AM":"PM";return C?y.toLowerCase():y};return te.replace(v,function(nt,wt){return wt||function(C){switch(C){case"YY":return String(V.$y).slice(-2);case"YYYY":return ne.s(V.$y,4,"0");case"M":return Ee+1;case"MM":return ne.s(Ee+1,2,"0");case"MMM":return et(D.monthsShort,Ee,Ke,3);case"MMMM":return et(Ke,Ee);case"D":return V.$D;case"DD":return ne.s(V.$D,2,"0");case"d":return String(V.$W);case"dd":return et(D.weekdaysMin,V.$W,Ye,2);case"ddd":return et(D.weekdaysShort,V.$W,Ye,3);case"dddd":return Ye[V.$W];case"H":return String(fe);case"HH":return ne.s(fe,2,"0");case"h":return bt(1);case"hh":return bt(2);case"a":return kt(fe,xe,!0);case"A":return kt(fe,xe,!1);case"m":return String(xe);case"mm":return ne.s(xe,2,"0");case"s":return String(V.$s);case"ss":return ne.s(V.$s,2,"0");case"SSS":return ne.s(V.$ms,3,"0");case"Z":return pe}return null}(nt)||pe.replace(":","")})}
1,K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(z,V,D){var te,pe=this,fe=ne.p(V),xe=Q(z),Ee=(xe.utcOffset()-this.utcOffset())*a,Ye=this-xe,Ke=function(){return ne.m(pe,xe)};switch(fe){case h:te=Ke()/12;break;case f:te=Ke();break;case p:te=Ke()/3;break;case d:te=(Ye-Ee)/6048e5;break;case c:te=(Ye-Ee)/864e5;break;case l:te=Ye/o;break;case s:te=Ye/a;break;case r:te=Ye/1e3;break;default:te=Ye}return D?te:ne.a(te)},K.daysInMonth=function(){return this.endOf(f).$D},K.$locale=function(){return G[this.$L]},K.locale=function(z,V){if(!z)return this.$L;var D=this.clone(),te=se(z,V,!0);return te&&(D.$L=te),D},K.clone=function(){return ne.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},re}(),Ve=be.prototype;return Q.prototype=Ve,[["$ms",i],["$s",r],["$m",s],["$H",l],["$W",c],["$M",f],["$y",h],["$D",m]].forEach(function(re){Ve[re[1]]=function(K){return this.$g(K,re[0],re[1])}}),Q.extend=function(re,K){return re.$i||(re(K,be,Q),re.$i=!0),Q},Q.locale=se,Q.isDayjs=ee,Q.unix=function(re){return Q(1e3*re)},Q.en=G[S],Q.Ls=G,Q.p={},Q}()),wl.exports}const Wa=di(Mt());var Uf,Cl={exports:{}};function Ub(){return Uf||(Uf=1,Cl.exports=(n={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"},function(a,o,i){var r=o.prototype,s=r.format;i.en.formats=n,r.format=function(l){void 0===l&&(l="YYYY-MM-DDTHH:mm:ssZ");var p,c=this.$locale().formats,d=(p=void 0===c?{}:c,l.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(h,m,b){var g=b&&b.toUpperCase();return m||p[b]||n[b]||p[g].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,_,I){return _||I.slice(1)})}));return s.call(this,d)}})),Cl.exports;var n}const qb=di(Ub());var zf,_l={exports:{}};function Vb(){return zf||(zf=1,_l.exports=function(n,a,o){o.updateLocale=function(i,r){var s=o.Ls[i];if(s)return(r?Object.keys(r):[]).forEach(function(l){s[l]=r[l]}),s}}),_l.exports}const Wb=di(Vb());var qf,xl={exports:{}};!function $b(){qf||(qf=1,xl.exports=function(n){var o=function a(l){return l&&"object"==typeof l&&"default"in l?l:{default:l}}(n);function i(l){return l>1&&l<5&&1!=~~(l/10)}function r(l,c,d,f){var p=l+" ";switch(d){case"s":return c||f?"p\xe1r sekund":"p\xe1r sekundami";case"m":return c?"minuta":f?"minutu":"minutou";case"mm":return c||f?p+(i(l)?"minuty":"minut"):p+"minutami";case"h":return c?"hodina":f?"hodinu":"hodinou";case"hh":return c||f?p+(i(l)?"hodiny":"hodin"):p+"hodinami";case"d":return c||f?"den":"dnem";case"dd":return c||f?p+(i(l)?"dny":"dn\xed"):p+"dny";case"M":return c||f?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return c||f?p+(i(l)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):p+"m\u011bs\xedci";case"y":return c||f?"rok":"rokem";case"yy":return c||f?p+(i(l)?"roky":"let"):p+"lety"}}var s={name:"cs",weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),months:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),monthsShort:"led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_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\u0159ed %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}(Mt()))}();var Gf,El={exports:{}};!function Jb(){Gf||(Gf=1,El.exports=function(n){var o=function a(l){return l&&"object"==typeof l&&"default"in l?l:{default:l}}(n),i={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,d){var f=i[d];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\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_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}(Mt()))}();var Vf,Ml={exports:{}};!function Zb(){return Vf||(Vf=1,Ml.exports=(o=function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}(Mt()),i={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])+"]"}},o.default.locale(i,null,!0),i)),Ml.exports;var o,i}();var Yf,kl={exports:{}};!function ev(){return Yf||(Yf=1,kl.exports=(o=function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}(Mt()),i={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}
1,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"}},o.default.locale(i,null,!0),i)),kl.exports;var o,i}();var Wf,Sl={exports:{}};!function nv(){return Wf||(Wf=1,Sl.exports=(o=function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}(Mt()),i={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(r){return r+"\xba"}},o.default.locale(i,null,!0),i)),Sl.exports;var o,i}();var Hf,Il={exports:{}};!function ov(){return Hf||(Hf=1,Il.exports=(o=function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}(Mt()),i={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\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".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+(1===r?"er":"")}},o.default.locale(i,null,!0),i)),Il.exports;var o,i}();var $f,Tl={exports:{}};!function rv(){return $f||($f=1,Tl.exports=(o=function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}(Mt()),i={name:"it",weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_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+"\xba"}},o.default.locale(i,null,!0),i)),Tl.exports;var o,i}();var Qf,Ol={exports:{}};!function lv(){return Qf||(Qf=1,Ol.exports=(o=function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}(Mt()),i={name:"ja",weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(r){return r+"\u65e5"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiem:function(r){return r<12?"\u5348\u524d":"\u5348\u5f8c"},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",
1yy:"%d\u5e74"}},o.default.locale(i,null,!0),i)),Ol.exports;var o,i}();var Jf,Nl={exports:{}};!function uv(){return Jf||(Jf=1,Nl.exports=(o=function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}(Mt()),i={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+(1===r||8===r||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"}},o.default.locale(i,null,!0),i)),Nl.exports;var o,i}();var Kf,Rl={exports:{}};!function dv(){Kf||(Kf=1,Rl.exports=function(n){var o=function a(p){return p&&"object"==typeof p&&"default"in p?p:{default:p}}(n);function i(p){return p%10<5&&p%10>1&&~~(p/10)%10!=1}function r(p,h,m){var b=p+" ";switch(m){case"m":return h?"minuta":"minut\u0119";case"mm":return b+(i(p)?"minuty":"minut");case"h":return h?"godzina":"godzin\u0119";case"hh":return b+(i(p)?"godziny":"godzin");case"MM":return b+(i(p)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return b+(i(p)?"lata":"lat")}}var s="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),l="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),c=/D MMMM/,d=function(p,h){return c.test(h)?s[p.month()]:l[p.month()]};d.s=l,d.f=s;var f={name:"pl",weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),months:d,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),ordinal:function(p){return p+"."},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\u0144",dd:"%d dni",M:"miesi\u0105c",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}(Mt()))}();var Zf,Fl={exports:{}};!function hv(){Zf||(Zf=1,Fl.exports=function(n){var o=function a(m){return m&&"object"==typeof m&&"default"in m?m:{default:m}}(n),i="\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),r="\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),s="\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),l="\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),c=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(m,b,g){var v,_;return"m"===g?b?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":m+" "+(v=+m,_={mm:b?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[g].split("_"),v%10==1&&v%100!=11?_[0]:v%10>=2&&v%10<=4&&(v%100<10||v%100>=20)?_[1]:_[2])}var f=function(m,b){return c.test(b)?i[m.month()]:r[m.month()]};f.s=r,f.f=i;var p=function(m,b){return c.test(b)?s[m.month()]:l[m.month()]};p.s=l,p.f=s;var h={name:"ru",weekdays:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u0432\u0441\u043a_\u043f\u043d\u0434_\u0432\u0442\u0440_\u0441\u0440\u0434_\u0447\u0442\u0432_\u043f\u0442\u043d_\u0441\u0431\u0442".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),months:f,monthsShort:p,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",m:d,mm:d,h:"\u0447\u0430\u0441",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},ordinal:function(m){return m},meridiem:function(m){return m<4?"\u043d\u043e\u0447\u0438":m<12?"\u0443\u0442\u0440\u0430":m<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"}};return o.default.locale(h,null,!0),h}(Mt()))}();var Xf,Ll={exports:{}};
1!function gv(){return Xf||(Xf=1,Ll.exports=(o=function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}(Mt()),i={name:"tr",weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_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 \xf6nce",s:"birka\xe7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(r){return r+"."}},o.default.locale(i,null,!0),i)),Ll.exports;var o,i}();var ed,Pl={exports:{}};!function vv(){return ed||(ed=1,Pl.exports=(o=function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}(Mt()),i={name:"zh-cn",weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(r,s){return"W"===s?r+"\u5468":r+"\u65e5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},meridiem:function(r,s){var l=100*r+s;return l<600?"\u51cc\u6668":l<900?"\u65e9\u4e0a":l<1100?"\u4e0a\u5348":l<1300?"\u4e2d\u5348":l<1800?"\u4e0b\u5348":"\u665a\u4e0a"}},o.default.locale(i,null,!0),i)),Pl.exports;var o,i}();var td,Dl={exports:{}};!function Av(){return td||(td=1,Dl.exports=(o=function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}(Mt()),i={name:"pt",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_Sa".split("_"),months:"janeiro_fevereiro_mar\xe7o_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+"\xba"},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 [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %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\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}},o.default.locale(i,null,!0),i)),Dl.exports;var o,i}();var nd,Bl={exports:{}};!function Cv(){return nd||(nd=1,Bl.exports=(o=function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}(Mt()),i={name:"pt-br",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),months:"janeiro_fevereiro_mar\xe7o_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+"\xba"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%
1d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}},o.default.locale(i,null,!0),i)),Bl.exports;var o,i}();var ad,jl={exports:{}};function ea(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}(function xv(){return ad||(ad=1,jl.exports=(o=function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}(Mt()),i={name:"nn",weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_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\xe5nad",MM:"%d m\xe5nadar",y:"eitt \xe5r",yy:"%d \xe5r"},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"}},o.default.locale(i,null,!0),i)),jl.exports;var o,i})(),Wa.extend(qb),Wa.extend(Wb);const ze=Object.freeze({}),Co=Object.freeze([]),St=()=>{},od=()=>!1,pi=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),wr=e=>e.startsWith("onUpdate:"),at=Object.assign,Ul=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ev=Object.prototype.hasOwnProperty,Fe=(e,t)=>Ev.call(e,t),ge=Array.isArray,Ha=e=>"[object Map]"===hi(e),Cr=e=>"[object Set]"===hi(e),id=e=>"[object Date]"===hi(e),ve=e=>"function"==typeof e,Ze=e=>"string"==typeof e,An=e=>"symbol"==typeof e,Ue=e=>null!==e&&"object"==typeof e,zl=e=>(Ue(e)||ve(e))&&ve(e.then)&&ve(e.catch),rd=Object.prototype.toString,hi=e=>rd.call(e),ql=e=>hi(e).slice(8,-1),_r=e=>"[object Object]"===hi(e),Gl=e=>Ze(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,mi=ea(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mv=ea("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),xr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},kv=/-\w/g,Ct=xr(e=>e.replace(kv,t=>t.slice(1).toUpperCase())),Sv=/\B([A-Z])/g,qt=xr(e=>e.replace(Sv,"-$1").toLowerCase()),$a=xr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qa=xr(e=>e?`on${$a(e)}`:""),_a=(e,t)=>!Object.is(e,t),_o=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Er=(e,t,n,a=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:a,value:n})},Vl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},sd=e=>{const t=Ze(e)?Number(e):NaN;return isNaN(t)?e:t};let ld;const gi=()=>ld||(ld=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Mr(e){if(ge(e)){const t={};for(let n=0;n<e.length;n++){const a=e[n],o=Ze(a)?Nv(a):Mr(a);if(o)for(const i in o)t[i]=o[i]}return t}if(Ze(e)||Ue(e))return e}const Iv=/;(?![^(]*\))/g,Tv=/:([^]+)/,Ov=/\/\*[^]*?\*\//g;function Nv(e){const t={};return e.replace(Ov,"").split(Iv).forEach(n=>{if(n){const a=n.split(Tv);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function L(e){let t="";if(Ze(e))t=e;else if(ge(e))for(let n=0;n<e.length;n++){const a=L(e[n]);a&&(t+=a+" ")}else if(Ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Pv=ea("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"),Dv=ea("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"),Bv=ea("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"),Uv=ea("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function cd(e){return!!e||""===e}function kr(e,t){if(e===t)return!0;let n=id(e),a=id(t);if(n||a)return!(!n||!a)&&e.getTime()===t.getTime();if(n=An(e),a=An(t),n||a)return e===t;if(n=ge(e),a=ge(t),n||a)return!(!n||!a)&&function zv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let a=0;n&&a<e.length;a++)n=kr(e[a],t[a]);return n}(e,t);if(n=Ue(e),a=Ue(t),n||a){if(!n||!a)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e){const s=e.hasOwnProperty(r),l=t.hasOwnProperty(r);if(s&&!l||!s&&l||!kr(e[r],t[r]))return!1}}return String(e)===String(t)}function ud(e,t){return e.findIndex(n=>kr(n,t))}const fd=e=>!(!e||!0!==e.__v_isRef),Ce=e=>Ze(e)?e:null==e?"":ge(e)||Ue(e)&&(e.toString===rd||!ve(e.toString))?fd(e)?Ce(e.value):JSON.stringify(e,dd,2):String(e),dd=(e,t)=>fd(t)?dd(e,t.value):Ha(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[a,o],i)=>(n[Yl(a,i)+" =>"]=o,n),{})}:Cr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Yl(n))}:An(t)?Yl(t):!Ue(t)||ge(t)||_r(t)?t:String(t),Yl=(e,t="")=>{var n;return An(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};function wn(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Gt,je;class pd{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Gt,!t&&Gt&&(this.index=(Gt.scopes||(Gt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let t,n;if(this._isPaused=!0,this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,n;if(this._isPaused=!1,this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Gt;try{return Gt=this,t()}finally{Gt=n}}else wn("cannot run an inactive effect scope.")}on(){1===++this._on&&(this.prevScope=Gt,Gt=this)}off(){this._on>0&&0===--this._on&&(Gt=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){let n,a;for(this._active=!1,n=0,a=this.effects.length;n<a;n++)this.effects[n].stop();for(this.effects.length=0,n=0,a=this.cleanups.length;n<a;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,a=this.scopes.length;n<a;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}const Wl=new WeakSet;class hd{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler
1=void 0,Gt&&Gt.active&&Gt.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,Wl.has(this)&&(Wl.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||gd(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,wd(this),bd(this);const t=je,n=Cn;je=this,Cn=!0;try{return this.fn()}finally{je!==this&&wn("Active effect was not restored correctly - this is likely a Vue internal bug."),vd(this),je=t,Cn=n,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)Jl(t);this.deps=this.depsTail=void 0,wd(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?Wl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ql(this)&&this.run()}get dirty(){return Ql(this)}}let bi,vi,md=0;function gd(e,t=!1){if(e.flags|=8,t)return e.next=vi,void(vi=e);e.next=bi,bi=e}function Hl(){md++}function $l(){if(--md>0)return;if(vi){let t=vi;for(vi=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;bi;){let t=bi;for(bi=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(a){e||(e=a)}t=n}}if(e)throw e}function bd(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vd(e){let t,n=e.depsTail,a=n;for(;a;){const o=a.prevDep;-1===a.version?(a===n&&(n=o),Jl(a),Yv(a)):t=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=o}e.deps=t,e.depsTail=n}function Ql(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(yd(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function yd(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===yi)||(e.globalVersion=yi,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!Ql(e))))return;e.flags|=2;const t=e.dep,n=je,a=Cn;je=e,Cn=!0;try{bd(e);const o=e.fn(e._value);(0===t.version||_a(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{je=n,Cn=a,vd(e),e.flags&=-3}}function Jl(e,t=!1){const{dep:n,prevSub:a,nextSub:o}=e;if(a&&(a.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=a,e.nextSub=void 0),n.subsHead===e&&(n.subsHead=o),n.subs===e&&(n.subs=a,!a&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Jl(i,!0)}!t&&! --n.sc&&n.map&&n.map.delete(n.key)}function Yv(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Cn=!0;const Ad=[];function Tn(){Ad.push(Cn),Cn=!1}function On(){const e=Ad.pop();Cn=void 0===e||e}function wd(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=je;je=void 0;try{t()}finally{je=n}}}let yi=0;class Wv{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Kl{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,this.subsHead=void 0}track(t){if(!je||!Cn||je===this.computed)return;let n=this.activeLink;if(void 0===n||n.sub!==je)n=this.activeLink=new Wv(je,this),je.deps?(n.prevDep=je.depsTail,je.depsTail.nextDep=n,je.depsTail=n):je.deps=je.depsTail=n,Cd(n);else if(-1===n.version&&(n.version=this.version,n.nextDep)){const a=n.nextDep;a.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=a),n.prevDep=je.depsTail,n.nextDep=void 0,je.depsTail.nextDep=n,je.depsTail=n,je.deps===n&&(je.deps=a)}return je.onTrack&&je.onTrack(at({effect:je},t)),n}trigger(t){this.version++,yi++,this.notify(t)}notify(t){Hl();try{for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(8&n.sub.flags)&&n.sub.onTrigger(at({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{$l()}}}function Cd(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let a=t.deps;a;a=a.nextDep)Cd(a)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),void 0===e.dep.subsHead&&(e.dep.subsHead=e),e.dep.subs=e}}const Zl=new WeakMap,Ja=Symbol("Object iterate"),Xl=Symbol("Map keys iterate"),Ai=Symbol("Array iterate");function _t(e,t,n){if(Cn&&je){let a=Zl.get(e);a||Zl.set(e,a=new Map);let o=a.get(n);o||(a.set(n,o=new Kl),o.map=a,o.key=n),o.track({target:e,type:t,key:n})}}function Nn(e,t,n,a,o,i){const r=Zl.get(e);if(!r)return void yi++;const s=l=>{l&&l.trigger({target:e,type:t,key:n,newValue:a,oldValue:o,oldTarget:i})};if(Hl(),"clear"===t)r.forEach(s);else{const l=ge(e),c=l&&Gl(n);if(l&&"length"===n){const d=Number(a);r.forEach((f,p)=>{("length"===p||p===Ai||!An(p)&&p>=d)&&s(f)})}else switch((void 0!==n||r.has(void 0))&&s(r.get(n)),c&&s(r.get(Ai)),t){case"add":l?c&&s(r.get("length")):(s(r.get(Ja)),Ha(e)&&s(r.get(Xl)));break;case"delete":l||(s(r.get(Ja)),Ha(e)&&s(r.get(Xl)));break;case"set":Ha(e)&&s(r.get(Ja))}}$l()}function xo(e){const t=Ne(e);
1return t===e?t:(_t(t,"iterate",Ai),un(e)?t:t.map(_n))}function Sr(e){return _t(e=Ne(e),"iterate",Ai),e}function xa(e,t){return Fn(e)?Ea(e)?Eo(_n(t)):Eo(t):_n(t)}const Hv={__proto__:null,[Symbol.iterator](){return ec(this,Symbol.iterator,e=>xa(this,e))},concat(...e){return xo(this).concat(...e.map(t=>ge(t)?xo(t):t))},entries(){return ec(this,"entries",e=>(e[1]=xa(this,e[1]),e))},every(e,t){return ta(this,"every",e,t,void 0,arguments)},filter(e,t){return ta(this,"filter",e,t,n=>n.map(a=>xa(this,a)),arguments)},find(e,t){return ta(this,"find",e,t,n=>xa(this,n),arguments)},findIndex(e,t){return ta(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ta(this,"findLast",e,t,n=>xa(this,n),arguments)},findLastIndex(e,t){return ta(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ta(this,"forEach",e,t,void 0,arguments)},includes(...e){return tc(this,"includes",e)},indexOf(...e){return tc(this,"indexOf",e)},join(e){return xo(this).join(e)},lastIndexOf(...e){return tc(this,"lastIndexOf",e)},map(e,t){return ta(this,"map",e,t,void 0,arguments)},pop(){return wi(this,"pop")},push(...e){return wi(this,"push",e)},reduce(e,...t){return _d(this,"reduce",e,t)},reduceRight(e,...t){return _d(this,"reduceRight",e,t)},shift(){return wi(this,"shift")},some(e,t){return ta(this,"some",e,t,void 0,arguments)},splice(...e){return wi(this,"splice",e)},toReversed(){return xo(this).toReversed()},toSorted(e){return xo(this).toSorted(e)},toSpliced(...e){return xo(this).toSpliced(...e)},unshift(...e){return wi(this,"unshift",e)},values(){return ec(this,"values",e=>xa(this,e))}};function ec(e,t,n){const a=Sr(e),o=a[t]();return a!==e&&!un(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.done||(i.value=n(i.value)),i}),o}const $v=Array.prototype;function ta(e,t,n,a,o,i){const r=Sr(e),s=r!==e&&!un(e),l=r[t];if(l!==$v[t]){const f=l.apply(e,i);return s?_n(f):f}let c=n;r!==e&&(s?c=function(f,p){return n.call(this,xa(e,f),p,e)}:n.length>2&&(c=function(f,p){return n.call(this,f,p,e)}));const d=l.call(r,c,a);return s&&o?o(d):d}function _d(e,t,n,a){const o=Sr(e);let i=n;return o!==e&&(un(e)?n.length>3&&(i=function(r,s,l){return n.call(this,r,s,l,e)}):i=function(r,s,l){return n.call(this,r,xa(e,s),l,e)}),o[t](i,...a)}function tc(e,t,n){const a=Ne(e);_t(a,"iterate",Ai);const o=a[t](...n);return-1!==o&&!1!==o||!Rr(n[0])?o:(n[0]=Ne(n[0]),a[t](...n))}function wi(e,t,n=[]){Tn(),Hl();const a=Ne(e)[t].apply(e,n);return $l(),On(),a}const Qv=ea("__proto__,__v_isRef,__isVue"),xd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(An));function Jv(e){An(e)||(e=String(e));const t=Ne(this);return _t(t,"has",e),t.hasOwnProperty(e)}class Ed{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,a){if("__v_skip"===n)return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if("__v_isReactive"===n)return!o;if("__v_isReadonly"===n)return o;if("__v_isShallow"===n)return i;if("__v_raw"===n)return a===(o?i?Nd:Od:i?Td:Id).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(a)?t:void 0;const r=ge(t);if(!o){let l;if(r&&(l=Hv[n]))return l;if("hasOwnProperty"===n)return Jv}const s=Reflect.get(t,n,ot(t)?t:a);if((An(n)?xd.has(n):Qv(n))||(o||_t(t,"get",n),i))return s;if(ot(s)){const l=r&&Gl(n)?s:s.value;return o&&Ue(l)?ac(l):l}return Ue(s)?o?ac(s):Lt(s):s}}class Md extends Ed{constructor(t=!1){super(!1,t)}set(t,n,a,o){let i=t[n];const r=ge(t)&&Gl(n);if(!this._isShallow){const c=Fn(i);if(!un(a)&&!Fn(a)&&(i=Ne(i),a=Ne(a)),!r&&ot(i)&&!ot(a))return c?(wn(`Set operation on key "${String(n)}" failed: target is readonly.`,t[n]),!0):(i.value=a,!0)}const s=r?Number(n)<t.length:Fe(t,n),l=Reflect.set(t,n,a,ot(t)?t:o);return t===Ne(o)&&(s?_a(a,i)&&Nn(t,"set",n,a,i):Nn(t,"add",n,a)),l}deleteProperty(t,n){const a=Fe(t,n),o=t[n],i=Reflect.deleteProperty(t,n);return i&&a&&Nn(t,"delete",n,void 0,o),i}has(t,n){const a=Reflect.has(t,n);
1return(!An(n)||!xd.has(n))&&_t(t,"has",n),a}ownKeys(t){return _t(t,"iterate",ge(t)?"length":Ja),Reflect.ownKeys(t)}}class kd extends Ed{constructor(t=!1){super(!0,t)}set(t,n){return wn(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return wn(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Kv=new Md,Zv=new kd,Xv=new Md(!0),e2=new kd(!0),nc=e=>e,Ir=e=>Reflect.getPrototypeOf(e);function Tr(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";wn(`${$a(e)} operation ${n}failed: target is readonly.`,Ne(this))}return"delete"!==e&&("clear"===e?void 0:this)}}function Or(e,t){const n=function n2(e,t){const n={get(a){const o=this.__v_raw,i=Ne(o),r=Ne(a);e||(_a(a,r)&&_t(i,"get",a),_t(i,"get",r));const{has:s}=Ir(i),l=t?nc:e?Eo:_n;return s.call(i,a)?l(o.get(a)):s.call(i,r)?l(o.get(r)):void(o!==i&&o.get(a))},get size(){const a=this.__v_raw;return!e&&_t(Ne(a),"iterate",Ja),a.size},has(a){const o=this.__v_raw,i=Ne(o),r=Ne(a);return e||(_a(a,r)&&_t(i,"has",a),_t(i,"has",r)),a===r?o.has(a):o.has(a)||o.has(r)},forEach(a,o){const i=this,r=i.__v_raw,s=Ne(r),l=t?nc:e?Eo:_n;return!e&&_t(s,"iterate",Ja),r.forEach((c,d)=>a.call(o,l(c),l(d),i))}};return at(n,e?{add:Tr("add"),set:Tr("set"),delete:Tr("delete"),clear:Tr("clear")}:{add(a){!t&&!un(a)&&!Fn(a)&&(a=Ne(a));const o=Ne(this);return Ir(o).has.call(o,a)||(o.add(a),Nn(o,"add",a,a)),this},set(a,o){!t&&!un(o)&&!Fn(o)&&(o=Ne(o));const i=Ne(this),{has:r,get:s}=Ir(i);let l=r.call(i,a);l?Sd(i,r,a):(a=Ne(a),l=r.call(i,a));const c=s.call(i,a);return i.set(a,o),l?_a(o,c)&&Nn(i,"set",a,o,c):Nn(i,"add",a,o),this},delete(a){const o=Ne(this),{has:i,get:r}=Ir(o);let s=i.call(o,a);s?Sd(o,i,a):(a=Ne(a),s=i.call(o,a));const l=r?r.call(o,a):void 0,c=o.delete(a);return s&&Nn(o,"delete",a,void 0,l),c},clear(){const a=Ne(this),o=0!==a.size,i=Ha(a)?new Map(a):new Set(a),r=a.clear();return o&&Nn(a,"clear",void 0,void 0,i),r}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=function t2(e,t,n){return function(...a){const o=this.__v_raw,i=Ne(o),r=Ha(i),s="entries"===e||e===Symbol.iterator&&r,l="keys"===e&&r,c=o[e](...a),d=n?nc:t?Eo:_n;return!t&&_t(i,"iterate",l?Xl:Ja),{next(){const{value:f,done:p}=c.next();return p?{value:f,done:p}:{value:s?[d(f[0]),d(f[1])]:d(f),done:p}},[Symbol.iterator](){return this}}}}(a,e,t)}),n}(e,t);return(a,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?a:Reflect.get(Fe(n,o)&&o in a?n:a,o,i)}const a2={get:Or(!1,!1)},o2={get:Or(!1,!0)},i2={get:Or(!0,!1)},r2={get:Or(!0,!0)};function Sd(e,t,n){const a=Ne(n);if(a!==n&&t.call(e,a)){const o=ql(e);wn(`Reactive ${o} contains both the raw and reactive versions of the same object${"Map"===o?" 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 Id=new WeakMap,Td=new WeakMap,Od=new WeakMap,Nd=new WeakMap;function Lt(e){return Fn(e)?e:Nr(e,!1,Kv,a2,Id)}function ac(e){return Nr(e,!0,Zv,i2,Od)}function Rn(e){return Nr(e,!0,e2,r2,Nd)}function Nr(e,t,n,a,o){if(!Ue(e))return wn(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=function l2(e){return e.__v_skip||!Object.isExtensible(e)?0:function s2(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(ql(e))}(e);if(0===i)return e;const r=o.get(e);if(r)return r;const s=new Proxy(e,2===i?a:n);return o.set(e,s),s}function Ea(e){return Fn(e)?Ea(e.__v_raw):!(!e||!e.__v_isReactive)}function Fn(e){return!(!e||!e.__v_isReadonly)}function un(e){return!(!e||!e.__v_isShallow)}function Rr(e){return!!e&&!!e.__v_raw}function Ne(e){const t=e&&e.__v_raw;return t?Ne(t):e}const _n=e=>Ue(e)?Lt(e):e,Eo=e=>Ue(e)?ac(e):e;function ot(e){return!!e&&!0===e.__v_isRef}function Z(e){return Rd(e,!1)}function f2(e){return Rd(e,!0)}function Rd(e,t){return ot(e)?e:new d2(e,t)}class d2{constructor(t,n){this.dep=new Kl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ne(t),this._value=n?t:_n(t),this.__v_isShallow=n}get value(){return this.dep.track({target:this,type:"get",key:"value"}),this._value}set value(t){const n=this._rawValue,a=this.__v_isShallow||un(t)||Fn(t);t=a?t:Ne(t),_a(t,n)&&(this._rawValue=t,this._value=a?t:_n(t),this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}))}}function Me(e){return ot(e)?e.value:e}const p2={get:(e,t,n)=>"__v_raw"===t?e:Me(Reflect.get(e,t,n)),set:(e,t,n,a)=>{const o=e[t];return ot(o)&&!ot(n)?(o.value=n,!0):Reflect.set(e,t,n,a)}};function Fd(e){return Ea(e)?e:new Proxy(e,p2)}class h2{constructor(t,n,a){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Kl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=yi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=a}notify(){if(this.flags|=16,!(8&this.flags)&&je!==this)return gd(this,!0),!0}get value(){const t=this.dep.track({target:this,type:"get",key:"value"});return yd(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):wn("Write operation failed: computed value is readonly")}}const Fr={},Lr=new WeakMap;let Ka;function na(e,t=1/0,n){if(t<=0||!Ue(e)||e.__v_skip||((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,ot(e))na(e.value,t,n);else if(ge(e))for(let a=0;a<e.length;a++)na(e[a],t,n);else if(Cr(e)||Ha(e))e.forEach(a=>{na(a,t,n)});else if(_r(e)){for(const a in e)na(e[a],t,n);for(const a of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,a)&&na(e[a],t,n)}return e}const Za=[];function Pr(e){Za.push(e)}function Dr(){Za.pop()}let oc=!1;function X(e,...t){if(oc)return;oc=!0,Tn();const n=Za.length?Za[Za.length-1].component:null,a=n&&n.appContext.config.warnHandler,o=function v2(){let e=Za[Za.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const a=e.component&&e.component.parent;e=a&&a.vnode}return t}();if(a)Mo(a,n,11,[e+t.map(i=>{var r,s;return null!=(s=null==(r=i.toString)?void 0:r.call(i))?s:JSON.stringify(i)}).join(""),n&&n.proxy,o.map(({vnode:i})=>`at <${Li(n,i.type)}>`).join("\n"),o]);else{const i=[`[Vue warn]: ${e}`,...t];o.length&&i.push("\n",...function y2(e){const t=[];return e.forEach((n,a)=>{t.push(...0===a?[]:["\n"],...function A2({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=` at <${Li(e.component,e.type,!!e.component&&null==e.component.parent)}`,i=">"+n;return e.props?[o,...w2(e.props),i]:[o+i]}(n))}),t}(o)),console.warn(...i)}On(),oc=!1}function w2(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(a=>{t.push(...Ld(a,e[a]))}),n.length>3&&t.push(" ..."),t}function Ld(e,t,n){return Ze(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}
1`]:ot(t)?(t=Ld(e,Ne(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ve(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ne(t),n?t:[`${e}=`,t])}const ic={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 Mo(e,t,n,a){try{return a?e(...a):e()}catch(o){Ci(o,t,n)}}function Ln(e,t,n,a){if(ve(e)){const o=Mo(e,t,n,a);return o&&zl(o)&&o.catch(i=>{Ci(i,t,n)}),o}if(ge(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Ln(e[i],t,n,a));return o}X("Invalid value type passed to callWithAsyncErrorHandling(): "+typeof e)}function Ci(e,t,n,a=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||ze;if(t){let s=t.parent;const l=t.proxy,c=ic[n];for(;s;){const d=s.ec;if(d)for(let f=0;f<d.length;f++)if(!1===d[f](e,l,c))return;s=s.parent}if(i)return Tn(),Mo(i,null,10,[e,l,c]),void On()}!function C2(e,t,n,a=!0){{const i=ic[t];if(n&&Pr(n),X("Unhandled error"+(i?` during execution of ${i}`:"")),n&&Dr(),a)throw e;console.error(e)}}(e,n,o,a,r)}const Pt=[];let Pn=-1;const ko=[];let ka=null,So=0;const Pd=Promise.resolve();let Br=null;function jr(e){const t=Br||Pd;return e?t.then(this?e.bind(this):e):t}function Ur(e){if(!(1&e.flags)){const t=_i(e),n=Pt[Pt.length-1];!n||!(2&e.flags)&&t>=_i(n)?Pt.push(e):Pt.splice(function x2(e){let t=Pn+1,n=Pt.length;for(;t<n;){const a=t+n>>>1,o=Pt[a],i=_i(o);i<e||i===e&&2&o.flags?t=a+1:n=a}return t}(t),0,e),e.flags|=1,Dd()}}function Dd(){Br||(Br=Pd.then(zd))}function Bd(e){ge(e)?ko.push(...e):ka&&-1===e.id?ka.splice(So+1,0,e):1&e.flags||(ko.push(e),e.flags|=1),Dd()}function jd(e,t,n=Pn+1){for(t=t||new Map;n<Pt.length;n++){const a=Pt[n];if(a&&2&a.flags){if(e&&a.id!==e.uid||rc(t,a))continue;Pt.splice(n,1),n--,4&a.flags&&(a.flags&=-2),a(),4&a.flags||(a.flags&=-2)}}}function Ud(e){if(ko.length){const t=[...new Set(ko)].sort((n,a)=>_i(n)-_i(a));if(ko.length=0,ka)return void ka.push(...t);for(ka=t,e=e||new Map,So=0;So<ka.length;So++){const n=ka[So];rc(e,n)||(4&n.flags&&(n.flags&=-2),8&n.flags||n(),n.flags&=-2)}ka=null,So=0}}const _i=e=>null==e.id?2&e.flags?-1:1/0:e.id;function zd(e){e=e||new Map;const t=n=>rc(e,n);try{for(Pn=0;Pn<Pt.length;Pn++){const n=Pt[Pn];if(n&&!(8&n.flags)){if(t(n))continue;4&n.flags&&(n.flags&=-2),Mo(n,n.i,n.i?15:14),4&n.flags||(n.flags&=-2)}}}finally{for(;Pn<Pt.length;Pn++){const n=Pt[Pn];n&&(n.flags&=-2)}Pn=-1,Pt.length=0,Ud(e),Br=null,(Pt.length||ko.length)&&zd(e)}}function rc(e,t){const n=e.get(t)||0;if(n>100){const a=t.i,o=a&&Tc(a.type);return Ci(`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(t,n+1),!1}let Dn=!1;const zr=new Map;gi().__VUE_HMR_RUNTIME__={createRecord:sc(qd),rerender:sc(function k2(e,t){const n=Xa.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(a=>{t&&(a.render=t,qr(a.type).render=t),a.renderCache=[],Dn=!0,8&a.job.flags||a.update(),Dn=!1}))}),reload:sc(function S2(e,t){const n=Xa.get(e);if(!n)return;t=qr(t),Gd(n.initialDef,t);const a=[...n.instances];for(let o=0;o<a.length;o++){const i=a[o],r=qr(i.type);let s=zr.get(r);s||(r!==n.initialDef&&Gd(r,t),zr.set(r,s=new Set)),s.add(i),i.appContext.propsCache.delete(i.type),i.appContext.emitsCache.delete(i.type),i.appContext.optionsCache.delete(i.type),i.ceReload?(s.add(i),i.ceReload(t.styles),s.delete(i)):i.parent?Ur(()=>
1{8&i.job.flags||(Dn=!0,i.parent.update(),Dn=!1,s.delete(i))}):i.appContext.reload?i.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),i.root.ce&&i!==i.root&&i.root.ce._removeChildStyle(r)}Bd(()=>{zr.clear()})})};const Xa=new Map;function qd(e,t){return!Xa.has(e)&&(Xa.set(e,{initialDef:qr(t),instances:new Set}),!0)}function qr(e){return z0(e)?e.__vccOpts:e}function Gd(e,t){at(e,t);for(const n in e)"__file"!==n&&!(n in t)&&delete e[n]}function sc(e){return(t,n)=>{try{return e(t,n)}catch(a){console.error(a),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Bn,xi=[],lc=!1;function Ei(e,...t){Bn?Bn.emit(e,...t):lc||xi.push({event:e,args:t})}function Vd(e,t){var n,a;Bn=e,Bn?(Bn.enabled=!0,xi.forEach(({event:o,args:i})=>Bn.emit(o,...i)),xi=[]):typeof window<"u"&&window.HTMLElement&&(null==(a=null==(n=window.navigator)?void 0:n.userAgent)||!a.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{Vd(o,t)}),setTimeout(()=>{Bn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,lc=!0,xi=[])},3e3)):(lc=!0,xi=[])}const O2=cc("component:added"),Yd=cc("component:updated"),N2=cc("component:removed");function cc(e){return t=>{Ei(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const F2=Wd("perf:start"),L2=Wd("perf:end");function Wd(e){return(t,n,a)=>{Ei(e,t.appContext.app,t.uid,t,n,a)}}let pt=null,Hd=null;function Gr(e){const t=pt;return pt=e,Hd=e&&e.type.__scopeId||null,t}function Qt(e,t=pt,n){if(!t||e._n)return e;const a=(...o)=>{a._d&&Xr(-1);const i=Gr(t);let r;try{r=e(...o)}finally{Gr(i),a._d&&Xr(1)}return Yd(t),r};return a._n=!0,a._c=!0,a._d=!0,a}function $d(e){Mv(e)&&X("Do not use built-in directive ids as custom directive id: "+e)}function aa(e,t){if(null===pt)return X("withDirectives can only be used inside render functions."),e;const n=as(pt),a=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,r,s,l=ze]=t[o];i&&(ve(i)&&(i={mounted:i,updated:i}),i.deep&&na(r),a.push({dir:i,instance:n,value:r,oldValue:void 0,arg:s,modifiers:l}))}return e}function eo(e,t,n,a){const o=e.dirs,i=t&&t.dirs;for(let r=0;r<o.length;r++){const s=o[r];i&&(s.oldValue=i[r].value);let l=s.dir[a];l&&(Tn(),Ln(l,n,8,[e.el,s,e,t]),On())}}const D2=Symbol("_vte"),j2=Symbol("_leaveCb");function uc(e,t){6&e.shapeFlag&&e.component?(e.transition=t,uc(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function We(e,t){return ve(e)?at({name:e.name},t,{setup:e}):e}function Qd(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Jd=new WeakSet,Vr=new WeakMap;function Mi(e,t,n,a,o=!1){if(ge(e))return void e.forEach((b,g)=>Mi(b,t&&(ge(t)?t[g]:t),n,a,o));if(Io(a)&&!o)return void(512&a.shapeFlag&&a.type.__asyncResolved&&a.component.subTree.component&&Mi(e,t,n,a.component.subTree));const i=4&a.shapeFlag?as(a.component):a.el,r=o?null:i,{i:s,r:l}=e;if(!s)return void X("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");const c=t&&t.r,d=s.refs===ze?s.refs={}:s.refs,f=s.setupState,p=Ne(f),h=f===ze?od:b=>(Fe(p,b)&&!ot(p[b])&&X(`Template ref "${b}" used on a non-ref value. It will not work in the production build.`),!Jd.has(p[b])&&Fe(p,b)),m=b=>!Jd.has(b);if(null!=c&&c!==l&&(Kd(t),Ze(c)?(d[c]=null,h(c)&&(f[c]=null)):ot(c)&&(m(c)&&(c.value=null),t.k&&(d[t.k]=null))),ve(l))Mo(l,s,12,[r,d]);else{const b=Ze(l),g=ot(l);
1if(b||g){const v=()=>{if(e.f){const _=b?h(l)?f[l]:d[l]:m(l)||!e.k?l.value:d[e.k];if(o)ge(_)&&Ul(_,i);else if(ge(_))_.includes(i)||_.push(i);else if(b)d[l]=[i],h(l)&&(f[l]=d[l]);else{const I=[i];m(l)&&(l.value=I),e.k&&(d[e.k]=I)}}else b?(d[l]=r,h(l)&&(f[l]=r)):g?(m(l)&&(l.value=r),e.k&&(d[e.k]=r)):X("Invalid template ref type:",l,`(${typeof l})`)};if(r){const _=()=>{v(),Vr.delete(e)};_.id=-1,Vr.set(e,_),Kt(_,n)}else Kd(e),v()}else X("Invalid template ref type:",l,`(${typeof l})`)}}function Kd(e){const t=Vr.get(e);t&&(t.flags|=8,Vr.delete(e))}gi(),gi();const Io=e=>!!e.type.__asyncLoader,fc=e=>e.type.__isKeepAlive;function Zd(e,t){Xd(e,"a",t)}function dc(e,t){Xd(e,"da",t)}function Xd(e,t,n=ht){const a=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Yr(t,a,n),n){let o=n.parent;for(;o&&o.parent;)fc(o.parent.vnode)&&U2(a,t,n,o),o=o.parent}}function U2(e,t,n,a){const o=Yr(t,e,a,!0);To(()=>{Ul(a[t],o)},n)}function Yr(e,t,n=ht,a=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{Tn();const s=Ri(n),l=Ln(t,n,e,r);return s(),On(),l});return a?o.unshift(i):o.push(i),i}X(`${Qa(ic[e].replace(/ hook$/,""))} 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 oa=e=>(t,n=ht)=>{(!Fi||"sp"===e)&&Yr(e,(...a)=>t(...a),n)},It=oa("bm"),ia=oa("m"),z2=oa("bu"),q2=oa("u"),e0=oa("bum"),To=oa("um"),G2=oa("sp"),V2=oa("rtg"),Y2=oa("rtc");function W2(e,t=ht){Yr("ec",e,t)}const Wr="components";function de(e,t){return pc(Wr,e,!0,t)||e}const t0=Symbol.for("v-ndc");function $2(e){return Ze(e)?pc(Wr,e,!1)||e:e||t0}function Hr(e){return pc("directives",e)}function pc(e,t,n=!0,a=!1){const o=pt||ht;if(o){const i=o.type;if(e===Wr){const s=Tc(i,!1);if(s&&(s===t||s===Ct(t)||s===$a(Ct(t))))return i}const r=n0(o[e]||i[e],t)||n0(o.appContext[e],t);if(!r&&a)return i;if(n&&!r){const s=e===Wr?"\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.":"";X(`Failed to resolve ${e.slice(0,-1)}: ${t}${s}`)}return r}X(`resolve${$a(e.slice(0,-1))} can only be used in render() or setup().`)}function n0(e,t){return e&&(e[t]||e[Ct(t)]||e[$a(Ct(t))])}function Q2(e,t,n,a){let o;const i=n,r=ge(e);if(r||Ze(e)){let l=!1,c=!1;r&&Ea(e)&&(l=!un(e),c=Fn(e),e=Sr(e)),o=new Array(e.length);for(let d=0,f=e.length;d<f;d++)o[d]=t(l?c?Eo(_n(e[d])):_n(e[d]):e[d],d,void 0,i)}else if("number"==typeof e){Number.isInteger(e)||X(`The v-for range expect an integer value but got ${e}.`),o=new Array(e);for(let s=0;s<e;s++)o[s]=t(s+1,s,void 0,i)}else if(Ue(e))if(e[Symbol.iterator])o=Array.from(e,(s,l)=>t(s,l,void 0,i));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,c=s.length;l<c;l++){const d=s[l];o[l]=t(e[d],d,l,i)}}else o=[];return o}function ki(e,t,n={},a,o){if(pt.ce||pt.parent&&Io(pt.parent)&&pt.parent.ce){const c=Object.keys(n).length>0;return"default"!==t&&(n.name=t),O(),Ie(ft,null,[me("slot",n,a)],c?-2:64)}let i=e[t];i&&i.length>1&&(X("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."),i=()=>[]),i&&i._c&&(i._d=!1),O();const r=i&&a0(i(n)),s=n.key||r&&r.key,l=Ie(ft,{key:(s&&!An(s)?s:`_${t}`)+(!r&&a?"_fb":"")},r||[],r&&1===e._?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function a0(e){return e.some(t=>!ao(t)||!(t.type===Yt||t.type===ft&&!a0(t.children)))?e:null}const hc=e=>e?B0(e)?as(e):hc(e.parent):null,to=at(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Rn(e.props),$attrs:e=>Rn(e.attrs),$slots:e=>Rn(e.slots),$refs:e=>Rn(e.refs),$parent:e=>hc(e.parent),$root:e=>hc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>l0(e),$forceUpdate:e=>e.f||(e.f=()=>{Ur(e.update)}),$nextTick:e=>e.n||(e.n=jr.bind(e.proxy)),$watch:e=>cy.bind(e)}),mc=e=>"_"===e||"$"===e,gc=(e,t)=>e!==ze&&!e.__isScriptSetup&&Fe(e,t),o0={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:a,data:o,props:i,accessCache:r,type:s,appContext:l}=e;if("__isVue"===t)return!0;
1if("$"!==t[0]){const p=r[t];if(void 0!==p)switch(p){case 1:return a[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(gc(a,t))return r[t]=1,a[t];if(o!==ze&&Fe(o,t))return r[t]=2,o[t];if(Fe(i,t))return r[t]=3,i[t];if(n!==ze&&Fe(n,t))return r[t]=4,n[t];bc&&(r[t]=0)}}const c=to[t];let d,f;return c?("$attrs"===t?(_t(e.attrs,"get",""),Jr()):"$slots"===t&&_t(e,"get",t),c(e)):(d=s.__cssModules)&&(d=d[t])?d:n!==ze&&Fe(n,t)?(r[t]=4,n[t]):(f=l.config.globalProperties,Fe(f,t)?f[t]:void(pt&&(!Ze(t)||0!==t.indexOf("__v"))&&(o!==ze&&mc(t[0])&&Fe(o,t)?X(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===pt&&X(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:a,setupState:o,ctx:i}=e;return gc(o,t)?(o[t]=n,!0):o.__isScriptSetup&&Fe(o,t)?(X(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):a!==ze&&Fe(a,t)?(a[t]=n,!0):Fe(e.props,t)?(X(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?(X(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:a,appContext:o,props:i,type:r}},s){let l;return!!(n[s]||e!==ze&&"$"!==s[0]&&Fe(e,s)||gc(t,s)||Fe(i,s)||Fe(a,s)||Fe(to,s)||Fe(o.config.globalProperties,s)||(l=r.__cssModules)&&l[s])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:Fe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function i0(e){return ge(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}o0.ownKeys=e=>(X("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));let bc=!0;function r0(e,t,n){Ln(ge(e)?e.map(a=>a.bind(t.proxy)):e.bind(t.proxy),t,n)}function s0(e,t,n,a){let o=a.includes(".")?p0(n,a):()=>n[a];if(Ze(e)){const i=t[e];ve(i)?Jt(o,i):X(`Invalid watch handler specified by key "${e}"`,i)}else if(ve(e))Jt(o,e.bind(n));else if(Ue(e))if(ge(e))e.forEach(i=>s0(i,t,n,a));else{const i=ve(e.handler)?e.handler.bind(n):t[e.handler];ve(i)?Jt(o,i,e):X(`Invalid watch handler specified by key "${e.handler}"`,i)}else X(`Invalid watch option: "${a}"`,e)}function l0(e){const t=e.type,{mixins:n,extends:a}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,s=i.get(t);let l;return s?l=s:o.length||n||a?(l={},o.length&&o.forEach(c=>$r(l,c,r,!0)),$r(l,t,r)):l=t,Ue(t)&&i.set(t,l),l}function $r(e,t,n,a=!1){const{mixins:o,extends:i}=t;i&&$r(e,i,n,!0),o&&o.forEach(r=>$r(e,r,n,!0));for(const r in t)if(a&&"expose"===r)X('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const s=ny[r]||n&&n[r];e[r]=s?s(e[r],t[r]):t[r]}return e}const ny={data:c0,props:u0,emits:u0,methods:Si,computed:Si,beforeCreate:Dt,created:Dt,beforeMount:Dt,mounted:Dt,beforeUpdate:Dt,updated:Dt,beforeDestroy:Dt,beforeUnmount:Dt,destroyed:Dt,unmounted:Dt,activated:Dt,deactivated:Dt,errorCaptured:Dt,serverPrefetch:Dt,components:Si,directives:Si,watch:function oy(e,t){if(!e)return t;if(!t)return e;const n=at(Object.create(null),e);for(const a in t)n[a]=Dt(e[a],t[a]);return n},provide:c0,inject:function ay(e,t){return Si(vc(e),vc(t))}};function c0(e,t){return t?e?function(){return at(ve(e)?e.call(this,this):e,ve(t)?t.call(this,this):t)}:t:e}function vc(e){if(ge(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Dt(e,t){return e?[...new Set([].concat(e,t))]:t}function Si(e,t){return e?at(Object.create(null),e,t):t}function u0(e,t){return e?ge(e)&&ge(t)?[...new Set([...e,...t])]:at(Object.create(null),i0(e),i0(t??{})):t}function f0(){return{app:null,config:{isNativeTag:od,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 iy=0;function ry(e,t){return function(n,a=null){ve(n)||(n=at({}
1,n)),null!=a&&!Ue(a)&&(X("root props passed to app.mount() must be an object."),a=null);const o=f0(),i=new WeakSet,r=[];let s=!1;const l=o.app={_uid:iy++,_component:n,_props:a,_container:null,_context:o,_instance:null,version:G0,get config(){return o.config},set config(c){X("app.config cannot be replaced. Modify individual options instead.")},use:(c,...d)=>(i.has(c)?X("Plugin has already been applied to target app."):c&&ve(c.install)?(i.add(c),c.install(l,...d)):ve(c)?(i.add(c),c(l,...d)):X('A plugin must either be a function or an object with an "install" function.'),l),mixin:c=>(o.mixins.includes(c)?X("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):o.mixins.push(c),l),component:(c,d)=>(Ic(c,o.config),d?(o.components[c]&&X(`Component "${c}" has already been registered in target app.`),o.components[c]=d,l):o.components[c]),directive:(c,d)=>($d(c),d?(o.directives[c]&&X(`Directive "${c}" has already been registered in target app.`),o.directives[c]=d,l):o.directives[c]),mount(c,d,f){if(!s){c.__vue_app__&&X("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=l._ceVNode||me(n,a);return p.appContext=o,!0===f?f="svg":!1===f&&(f=void 0),o.reload=()=>{const h=Sa(p);h.el=null,e(h,c,f)},e(p,c,f),s=!0,l._container=c,c.__vue_app__=l,l._instance=p.component,function I2(e,t){Ei("app:init",e,t,{Fragment:ft,Text:Fo,Comment:Yt,Static:Ii})}(l,G0),as(p.component)}X("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)`")},onUnmount(c){"function"!=typeof c&&X("Expected function as first argument to app.onUnmount(), but got "+typeof c),r.push(c)},unmount(){s?(Ln(r,l._instance,16),e(null,l._container),l._instance=null,function T2(e){Ei("app:unmount",e)}(l),delete l._container.__vue_app__):X("Cannot unmount an app that is not mounted.")},provide:(c,d)=>(c in o.provides&&(Fe(o.provides,c)?X(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`):X(`App already provides property with key "${String(c)}" inherited from its parent element. It will be overwritten with the new value.`)),o.provides[c]=d,l),runWithContext(c){const d=Oo;Oo=l;try{return c()}finally{Oo=d}}};return l}}let Oo=null;function Vt(e,t){if((!ht||ht.isMounted)&&X("provide() can only be used inside setup()."),ht){let n=ht.provides;const a=ht.parent&&ht.parent.provides;a===n&&(n=ht.provides=Object.create(a)),n[e]=t}}function he(e,t,n=!1){const a=ts();if(a||Oo){let o=Oo?Oo._context.provides:a?null==a.parent||a.ce?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ve(t)?t.call(a&&a.proxy):t;X(`injection "${String(e)}" not found.`)}else X("inject() can only be used inside setup() or functional components.")}const sy=Symbol.for("v-scx");function Jt(e,t,n){return ve(t)||X("`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."),d0(e,t,n)}function d0(e,t,n=ze){const{immediate:a,deep:o,flush:i,once:r}=n;t||(void 0!==a&&X('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&X('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==r&&X('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const s=at({},n);s.onWarn=X;const l=t&&a||!t&&"post"!==i;let c;if(Fi)if("sync"===i){const h=(()=>{{const e=he(sy);return e||X("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}})();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=St,h.resume=St,h.pause=St,h}const d=ht;s.call=(h,m,b)=>Ln(h,d,m,b);let f=!1;
1"post"===i?s.scheduler=h=>{Kt(h,d&&d.suspense)}:"sync"!==i&&(f=!0,s.scheduler=(h,m)=>{m?h():Ur(h)}),s.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,d&&(h.id=d.uid,h.i=d))};const p=function b2(e,t,n=ze){const{immediate:a,deep:o,once:i,scheduler:r,augmentJob:s,call:l}=n,c=S=>{(n.onWarn||wn)("Invalid watch source: ",S,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},d=S=>o?S:un(S)||!1===o||0===o?na(S,1):na(S);let f,p,h,m,b=!1,g=!1;if(ot(e)?(p=()=>e.value,b=un(e)):Ea(e)?(p=()=>d(e),b=!0):ge(e)?(g=!0,b=e.some(S=>Ea(S)||un(S)),p=()=>e.map(S=>ot(S)?S.value:Ea(S)?d(S):ve(S)?l?l(S,2):S():void c(S))):ve(e)?p=t?l?()=>l(e,2):e:()=>{if(h){Tn();try{h()}finally{On()}}const S=Ka;Ka=f;try{return l?l(e,3,[m]):e(m)}finally{Ka=S}}:(p=St,c(e)),t&&o){const S=p,G=!0===o?1/0:o;p=()=>na(S(),G)}const v=function Vv(){return Gt}(),_=()=>{f.stop(),v&&v.active&&Ul(v.effects,f)};if(i&&t){const S=t;t=(...G)=>{S(...G),_()}}let I=g?new Array(e.length).fill(Fr):Fr;const N=S=>{if(1&f.flags&&(f.dirty||S))if(t){const G=f.run();if(o||b||(g?G.some((P,ee)=>_a(P,I[ee])):_a(G,I))){h&&h();const P=Ka;Ka=f;try{const ee=[G,I===Fr?void 0:g&&I[0]===Fr?[]:I,m];I=G,l?l(t,3,ee):t(...ee)}finally{Ka=P}}}else f.run()};return s&&s(N),f=new hd(p),f.scheduler=r?()=>r(N,!1):N,m=S=>function g2(e,t=!1,n=Ka){if(n){let a=Lr.get(n);a||Lr.set(n,a=[]),a.push(e)}else t||wn("onWatcherCleanup() was called when there was no active watcher to associate with.")}(S,!1,f),h=f.onStop=()=>{const S=Lr.get(f);if(S){if(l)l(S,4);else for(const G of S)G();Lr.delete(f)}},f.onTrack=n.onTrack,f.onTrigger=n.onTrigger,t?a?N(!0):I=f.run():r?r(N.bind(null,!0),!0):f.run(),_.pause=f.pause.bind(f),_.resume=f.resume.bind(f),_.stop=_,_}(e,t,s);return Fi&&(c?c.push(p):l&&p()),p}function cy(e,t,n){const a=this.proxy,o=Ze(e)?e.includes(".")?p0(a,e):()=>a[e]:e.bind(a,a);let i;ve(t)?i=t:(i=t.handler,n=t);const r=Ri(this),s=d0(o,i.bind(a),n);return r(),s}function p0(e,t){const n=t.split(".");return()=>{let a=e;for(let o=0;o<n.length&&a;o++)a=a[n[o]];return a}}function fy(e,t,...n){if(e.isUnmounted)return;const a=e.vnode.props||ze;{const{emitsOptions:d,propsOptions:[f]}=e;if(d)if(t in d){const p=d[t];ve(p)&&(p(...n)||X(`Invalid event arguments: event validation failed for event "${t}".`))}else(!f||!(Qa(Ct(t))in f))&&X(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Qa(Ct(t))}" prop.`)}let o=n;const i=t.startsWith("update:"),r=i&&((e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ct(t)}Modifiers`]||e[`${qt(t)}Modifiers`])(a,t.slice(7));r&&(r.trim&&(o=n.map(d=>Ze(d)?d.trim():d)),r.number&&(o=n.map(Vl))),function P2(e,t,n){Ei("component:emit",e.appContext.app,e,t,n)}(e,t,o);{const d=t.toLowerCase();d!==t&&a[Qa(d)]&&X(`Event "${d}" is emitted in component ${Li(e,e.type)} but the handler is registered for "${t}". 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 "${qt(t)}" instead of "${t}".`)}let s,l=a[s=Qa(t)]||a[s=Qa(Ct(t))];!l&&i&&(l=a[s=Qa(qt(t))]),l&&Ln(l,e,6,o);const c=a[s+"Once"];if(c){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,Ln(c,e,6,o)}}const dy=new WeakMap;function h0(e,t,n=!1){const a=n?dy:t.emitsCache,o=a.get(e);if(void 0!==o)return o;const i=e.emits;let r={},s=!1;if(!ve(e)){const l=c=>{const d=h0(c,t,!0);d&&(s=!0,at(r,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return i||s?(ge(i)?i.forEach(l=>r[l]=null):at(r,i),Ue(e)&&a.set(e,r),r):(Ue(e)&&a.set(e,null),null)}function Qr(e,t){return!(!e||!pi(t))&&(t=t.slice(2).replace(/Once$/,""),Fe(e,t[0].toLowerCase()+t.slice(1))||Fe(e,qt(t))||Fe(e,t))}let yc=!1;function Jr(){yc=!0}function m0(e){const{type:t,vnode:n,proxy:a,withProxy:o,propsOptions:[i],slots:r,attrs:s,emit:l,render:c,renderCache:d,props:f,data:p,setupState:h,ctx:m,inheritAttrs:b}=e,g=Gr(e);let v,_;yc=!1;try{if(4&n.shapeFlag){const S=o||a,G=h.__isScriptSetup?new Proxy(S,{get:(P,ee,se)=>(X(`Property '${String(ee)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(P,ee,se))}):S;v=xn(c.call(G,S,d,Rn(f),h,p,m)),_=s}else{const S=t;s===f&&Jr(),v=xn(S(Rn(f),S.length>1?{get attrs(){return Jr(),Rn(s)},slots:r,emit:l}:null)),_=t.props?s:py(s)}}catch(S){Ti.length=0,Ci(S,e,1),v=me(Yt)}let N,I=v;if(v.patchFlag>0&&2048&v.patchFlag&&([I,N]=g0(v)),_&&!1!==b){const S=Object.keys(_),{shapeFlag:G}=I;if(S.length)if(7&G)i&&S.some(wr)&&(_=hy(_,i)),I=Sa(I,_,!1,!0);else if(!yc&&I.type!==Yt){const P=Object.keys(s),ee=[],se=[];for(let Q=0,ne=P.length;Q<ne;Q++){const be=P[Q];pi(be)?wr(be)||ee.push(be[2].toLowerCase()+be.slice(3)):se.push(be)}se.length&&X(`Extraneous non-props attributes (${se.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),ee.length&&X(`Extraneous non-emits event listeners (${ee.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.`)}}
1return n.dirs&&(b0(I)||X("Runtime directive used on component with non-element root node. The directives will not function as intended."),I=Sa(I,null,!1,!0),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&(b0(I)||X("Component inside <Transition> renders non-element root node that cannot be animated."),uc(I,n.transition)),N?N(I):v=I,Gr(g),v}const g0=e=>{const t=e.children,n=e.dynamicChildren,a=Ac(t,!1);if(!a)return[e,void 0];if(a.patchFlag>0&&2048&a.patchFlag)return g0(a);const o=t.indexOf(a),i=n?n.indexOf(a):-1;return[xn(a),s=>{t[o]=s,n&&(i>-1?n[i]=s:s.patchFlag>0&&(e.dynamicChildren=[...n,s]))}]};function Ac(e,t=!0){let n;for(let a=0;a<e.length;a++){const o=e[a];if(!ao(o))return;if(o.type!==Yt||"v-if"===o.children){if(n)return;if(n=o,t&&n.patchFlag>0&&2048&n.patchFlag)return Ac(n.children)}}return n}const py=e=>{let t;for(const n in e)("class"===n||"style"===n||pi(n))&&((t||(t={}))[n]=e[n]);return t},hy=(e,t)=>{const n={};for(const a in e)(!wr(a)||!(a.slice(9)in t))&&(n[a]=e[a]);return n},b0=e=>7&e.shapeFlag||e.type===Yt;function v0(e,t,n){const a=Object.keys(t);if(a.length!==Object.keys(e).length)return!0;for(let o=0;o<a.length;o++){const i=a[o];if(t[i]!==e[i]&&!Qr(n,i))return!0}return!1}const y0={},A0=()=>Object.create(y0),w0=e=>Object.getPrototypeOf(e)===y0;function C0(e,t,n,a){const[o,i]=e.propsOptions;let s,r=!1;if(t)for(let l in t){if(mi(l))continue;const c=t[l];let d;o&&Fe(o,d=Ct(l))?i&&i.includes(d)?(s||(s={}))[d]=c:n[d]=c:Qr(e.emitsOptions,l)||(!(l in a)||c!==a[l])&&(a[l]=c,r=!0)}if(i){const l=Ne(n),c=s||ze;for(let d=0;d<i.length;d++){const f=i[d];n[f]=wc(o,l,f,c[f],e,!Fe(c,f))}}return r}function wc(e,t,n,a,o,i){const r=e[n];if(null!=r){const s=Fe(r,"default");if(s&&void 0===a){const l=r.default;if(r.type!==Function&&!r.skipFactory&&ve(l)){const{propsDefaults:c}=o;if(n in c)a=c[n];else{const d=Ri(o);a=c[n]=l.call(null,t),d()}}else a=l;o.ce&&o.ce._setProp(n,a)}r[0]&&(i&&!s?a=!1:r[1]&&(""===a||a===qt(n))&&(a=!0))}return a}const Ay=new WeakMap;function _0(e,t,n=!1){const a=n?Ay:t.propsCache,o=a.get(e);if(o)return o;const i=e.props,r={},s=[];let l=!1;if(!ve(e)){const d=f=>{l=!0;const[p,h]=_0(f,t,!0);at(r,p),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return Ue(e)&&a.set(e,Co),Co;if(ge(i))for(let d=0;d<i.length;d++){Ze(i[d])||X("props must be strings when using array syntax.",i[d]);const f=Ct(i[d]);x0(f)&&(r[f]=ze)}else if(i){Ue(i)||X("invalid props options",i);for(const d in i){const f=Ct(d);if(x0(f)){const p=i[d],h=r[f]=ge(p)||ve(p)?{type:p}:at({},p),m=h.type;let b=!1,g=!0;if(ge(m))for(let v=0;v<m.length;++v){const _=m[v],I=ve(_)&&_.name;if("Boolean"===I){b=!0;break}"String"===I&&(g=!1)}else b=ve(m)&&"Boolean"===m.name;h[0]=b,h[1]=g,(b||Fe(h,"default"))&&s.push(f)}}}const c=[r,s];return Ue(e)&&a.set(e,c),c}function x0(e){return"$"!==e[0]&&!mi(e)||(X(`Invalid prop name: "${e}" is a reserved property.`),!1)}function E0(e,t,n){const a=Ne(t),o=n.propsOptions[0],i=Object.keys(e).map(r=>Ct(r));for(const r in o){let s=o[r];null!=s&&Cy(r,a[r],s,Rn(a),!i.includes(r))}}function Cy(e,t,n,a,o){const{type:i,required:r,validator:s,skipCheck:l}=n;if(r&&o)X('Missing required prop: "'+e+'"');else if(null!=t||r){if(null!=i&&!0!==i&&!l){let c=!1;const d=ge(i)?i:[i],f=[];for(let p=0;p<d.length&&!c;p++){const{valid:h,expectedType:m}=xy(t,d[p]);f.push(m||""),c=h}if(!c)return void X(function Ey(e,t,n){if(0===n.length)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let a=`Invalid prop: type check failed for prop "${e}". Expected ${n.map($a).join(" | ")}`;const o=n[0],i=ql(t),r=M0(t,o),s=M0(t,i);return 1===n.length&&k0(o)&&!function My(...e){return e.some(t=>"boolean"===t.toLowerCase())}(o,i)&&(a+=` with value ${r}`),a+=`, got ${i} `,k0(i)&&(a+=`with value ${s}.`),a}(e,t,f))}s&&!s(t,a)&&X('Invalid prop: custom validator check failed for prop "'+e+'".')}}const _y=ea("String,Number,Boolean,Function,Symbol,BigInt");function xy(e,t){let n;const a=function wy(e){return null===e?"null":"function"==typeof e?e.name||"":"object"==typeof e&&e.constructor&&e.constructor.name||""}(t);if("null"===a)n=null===e;else if(_y(a)){const o=typeof e;n=o===a.toLowerCase(),!n&&"object"===o&&(n=e instanceof t)}else n="Object"===a?Ue(e):"Array"===a?ge(e):e instanceof t;return{valid:n,expectedType:a}}function M0(e,t){return"String"===t?`"${e}"`:"Number"===t?`${Number(e)}`:`${e}`}function k0(e){return["string","number","boolean"].some(t=>e.toLowerCase()===t)}const Cc=e=>"_"===e||"_ctx"===e||"$stable"===e,_c=e=>ge(e)?e.map(xn):[xn(e)],ky=(e,t,n)=>{if(t._n)return t;const a=Qt((...o)=>(ht&&!(null===n&&pt)&&!(n&&n.root!==ht.root)&&X(`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.`),_c(t(...o))),n);return a._c=!1,a},S0=(e,t,n)=>{const a=e._ctx;for(const o in e){if(Cc(o))continue;const i=e[o];if(ve(i))t[o]=ky(o,i,a);else if(null!=i){X(`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`);const r=_c(i);t[o]=()=>r}}},I0=(e,t)=>{fc(e.vnode)||X("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=_c(t);
1e.slots.default=()=>n},xc=(e,t,n)=>{for(const a in t)(n||!Cc(a))&&(e[a]=t[a])};let Kr,ra;function No(e,t){e.appContext.config.performance&&Zr()&&ra.mark(`vue-${t}-${e.uid}`),F2(e,t,Zr()?ra.now():Date.now())}function Ro(e,t){if(e.appContext.config.performance&&Zr()){const n=`vue-${t}-${e.uid}`,a=n+":end",o=`<${Li(e,e.type)}> ${t}`;ra.mark(a),ra.measure(o,n,a),ra.clearMeasures(o),ra.clearMarks(n),ra.clearMarks(a)}L2(e,t,Zr()?ra.now():Date.now())}function Zr(){return void 0!==Kr||(typeof window<"u"&&window.performance?(Kr=!0,ra=window.performance):Kr=!1),Kr}const Kt=function Ly(e,t){t&&t.pendingBranch?ge(e)?t.effects.push(...e):t.effects.push(e):Bd(e)};function Oy(e){return function Ny(e){!function Ty(){const e=[];if(e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"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.\n\nFor more details, see https://link.vuejs.org/feature-flags.`)}}();const n=gi();n.__VUE__=!0,Vd(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:a,remove:o,patchProp:i,createElement:r,createText:s,createComment:l,setText:c,setElementText:d,parentNode:f,nextSibling:p,setScopeId:h=St,insertStaticContent:m}=e,b=(C,y,M,j=null,B=null,Y=null,A=void 0,w=null,k=!Dn&&!!y.dynamicChildren)=>{if(C===y)return;C&&!Ni(C,y)&&(j=bt(C),Ee(C,B,Y,!0),C=null),-2===y.patchFlag&&(k=!1,y.dynamicChildren=null);const{type:R,ref:W,shapeFlag:E}=y;switch(R){case Fo:g(C,y,M,j);break;case Yt:v(C,y,M,j);break;case Ii:null==C?_(y,M,j,A):I(C,y,M,A);break;case ft:Ve(C,y,M,j,B,Y,A,w,k);break;default:1&E?G(C,y,M,j,B,Y,A,w,k):6&E?re(C,y,M,j,B,Y,A,w,k):64&E||128&E?R.process(C,y,M,j,B,Y,A,w,k,wt):X("Invalid VNode type:",R,`(${typeof R})`)}null!=W&&B?Mi(W,C&&C.ref,Y,y||C,!y):null==W&&C&&null!=C.ref&&Mi(C.ref,null,Y,C,!0)},g=(C,y,M,j)=>{if(null==C)a(y.el=s(y.children),M,j);else{const B=y.el=C.el;y.children!==C.children&&c(B,y.children)}},v=(C,y,M,j)=>{null==C?a(y.el=l(y.children||""),M,j):y.el=C.el},_=(C,y,M,j)=>{[C.el,C.anchor]=m(C.children,y,M,j,C.el,C.anchor)},I=(C,y,M,j)=>{if(y.children!==C.children){const B=p(C.anchor);S(C),[y.el,y.anchor]=m(y.children,M,B,j)}else y.el=C.el,y.anchor=C.anchor},S=({el:C,anchor:y})=>{let M;for(;C&&C!==y;)M=p(C),o(C),C=M;o(y)},G=(C,y,M,j,B,Y,A,w,k)=>{if("svg"===y.type?A="svg":"math"===y.type&&(A="mathml"),null==C)P(y,M,j,B,Y,A,w,k);else{const R=C.el&&C.el._isVueCE?C.el:null;try{R&&R._beginPatch(),Q(C,y,B,Y,A,w,k)}finally{R&&R._endPatch()}}},P=(C,y,M,j,B,Y,A,w)=>{let k,R;const{props:W,shapeFlag:E,transition:F,dirs:ae}=C;if(k=C.el=r(C.type,Y,W&&W.is,W),8&E?d(k,C.children):16&E&&se(C.children,k,null,j,B,Ec(C,Y),A,w),ae&&eo(C,null,j,"created"),ee(k,C,C.scopeId,A,j),W){for(const Oe in W)"value"!==Oe&&!mi(Oe)&&i(k,Oe,null,W[Oe],Y,j);"value"in W&&i(k,"value",null,W.value,Y),(R=W.onVnodeBeforeMount)&&jn(R,j,C)}Er(k,"__vnode",C,!0),Er(k,"__vueParentComponent",j,!0),ae&&eo(C,null,j,"beforeMount");const ue=function Ry(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(B,F);ue&&F.beforeEnter(k),a(k,y,M),((R=W&&W.onVnodeMounted)||ue||ae)&&Kt(()=>{R&&jn(R,j,C),ue&&F.enter(k),ae&&eo(C,null,j,"mounted")},B)},ee=(C,y,M,j,B)=>{if(M&&h(C,M),j)for(let Y=0;Y<j.length;Y++)h(C,j[Y]);if(B){let Y=B.subTree;if(Y.patchFlag>0&&2048&Y.patchFlag&&(Y=Ac(Y.children)||Y),y===Y||N0(Y.type)&&(Y.ssContent===y||Y.ssFallback===y)){const A=B.vnode;ee(C,A,A.scopeId,A.slotScopeIds,B.parent)}}},se=(C,y,M,j,B,Y,A,w,k=0)=>{for(let R=k;R<C.length;R++){const W=C[R]=w?Ia(C[R]):xn(C[R]);b(null,W,y,M,j,B,Y,A,w)}},Q=(C,y,M,j,B,Y,A)=>{const w=y.el=C.el;w.__vnode=y;let{patchFlag:k,dynamicChildren:R,dirs:W}=y;k|=16&C.patchFlag;const E=C.props||ze,F=y.props||ze;let ae;if(M&&no(M,!1),(ae=F.onVnodeBeforeUpdate)&&jn(ae,M,y,C),W&&eo(y,C,M,"beforeUpdate"),M&&no(M,!0),Dn&&(k=0,A=!1,R=null),(E.innerHTML&&null==F.innerHTML||E.textContent&&null==F.textContent)&&d(w,""),R?(ne(C.dynamicChildren,R,w,M,j,Ec(y,B),Y),Mc(C,y)):A||te(C,y,w,null,M,j,Ec(y,B),Y,!1),k>0){if(16&k)be(w,E,F,M,B);else if(2&k&&E.class!==F.class&&i(w,"class",null,F.class,B),4&k&&i(w,"style",E.style,F.style,B),8&k){const ue=y.dynamicProps;for(let Oe=0;Oe<ue.length;Oe++){const Se=ue[Oe],tt=E[Se],$e=F[Se];($e!==tt||"value"===Se)&&i(w,Se,tt,$e,B,M)}}1&k&&C.children!==y.children&&d(w,y.children)}else!A&&null==R&&be(w,E,F,M,B);((ae=F.onVnodeUpdated)||W)&&Kt(()=>{ae&&jn(ae,M,y,C),W&&eo(y,C,M,"updated")},j)},ne=(C,y,M,j,B,Y,A)=>{for(let w=0;w<y.length;w++){const k=C[w],R=y[w],W=k.el&&(k.type===ft||!Ni(k,R)||198&k.shapeFlag)?f(k.el):M;b(k,R,W,null,j,B,Y,A,!0)}},be=(C,y,M,j,B)=>
1{if(y!==M){if(y!==ze)for(const Y in y)!mi(Y)&&!(Y in M)&&i(C,Y,y[Y],null,B,j);for(const Y in M){if(mi(Y))continue;const A=M[Y],w=y[Y];A!==w&&"value"!==Y&&i(C,Y,w,A,B,j)}"value"in M&&i(C,"value",y.value,M.value,B)}},Ve=(C,y,M,j,B,Y,A,w,k)=>{const R=y.el=C?C.el:s(""),W=y.anchor=C?C.anchor:s("");let{patchFlag:E,dynamicChildren:F,slotScopeIds:ae}=y;(Dn||2048&E)&&(E=0,k=!1,F=null),ae&&(w=w?w.concat(ae):ae),null==C?(a(R,M,j),a(W,M,j),se(y.children||[],M,W,B,Y,A,w,k)):E>0&&64&E&&F&&C.dynamicChildren?(ne(C.dynamicChildren,F,M,B,Y,A,w),Mc(C,y)):te(C,y,M,W,B,Y,A,w,k)},re=(C,y,M,j,B,Y,A,w,k)=>{y.slotScopeIds=w,null==C?512&y.shapeFlag?B.ctx.activate(y,M,j,A,k):K(y,M,j,B,Y,A,k):z(C,y,k)},K=(C,y,M,j,B,Y,A)=>{const w=C.component=function Gy(e,t,n){const a=e.type,o=(t?t.appContext:e.appContext)||zy,i={uid:qy++,vnode:e,type:a,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new pd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:_0(a,o),emitsOptions:h0(a,o),emit:null,emitted:null,propsDefaults:ze,inheritAttrs:a.inheritAttrs,ctx:ze,data:ze,props:ze,attrs:ze,slots:ze,refs:ze,setupState:ze,setupContext:null,suspense:n,suspenseId:n?n.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 i.ctx=function J2(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(to).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>to[n](e),set:St})}),t}(i),i.root=t?t.root:i,i.emit=fy.bind(null,i),e.ce&&e.ce(i),i}(C,j,B);if(w.type.__hmrId&&function E2(e){const t=e.type.__hmrId;let n=Xa.get(t);n||(qd(t,e.type),n=Xa.get(t)),n.instances.add(e)}(w),Pr(C),No(w,"mount"),fc(C)&&(w.ctx.renderer=wt),No(w,"init"),function Yy(e,t=!1,n=!1){t&&Sc(t);const{props:a,children:o}=e.vnode,i=B0(e);(function by(e,t,n,a=!1){const o={},i=A0();e.propsDefaults=Object.create(null),C0(e,t,o,i);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);E0(t||{},o,e),e.props=n?a?o:function c2(e){return Nr(e,!1,Xv,o2,Td)}(o):e.type.props?o:i,e.attrs=i})(e,a,i,t),((e,t,n)=>{const a=e.slots=A0();if(32&e.vnode.shapeFlag){const o=t._;o?(xc(a,t,n),n&&Er(a,"_",o,!0)):S0(t,a)}else t&&I0(e,t)})(e,o,n||t);const r=i?function Wy(e,t){const n=e.type;if(n.name&&Ic(n.name,e.appContext.config),n.components){const o=Object.keys(n.components);for(let i=0;i<o.length;i++)Ic(o[i],e.appContext.config)}if(n.directives){const o=Object.keys(n.directives);for(let i=0;i<o.length;i++)$d(o[i])}n.compilerOptions&&Hy()&&X('"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,o0),function K2(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(a=>{Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>e.props[a],set:St})})}(e);const{setup:a}=n;if(a){Tn();const o=e.setupContext=a.length>1?function Jy(e){const t=n=>{if(e.exposed&&X("expose() should be called only once per setup()."),null!=n){let a=typeof n;"object"===a&&(ge(n)?a="array":ot(n)&&(a="ref")),"object"!==a&&X(`expose() should be passed a plain object, received ${a}.`)}e.exposed=n||{}};{let n,a;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,$y))},get slots(){return a||(a=function Qy(e){return new Proxy(e.slots,{get:(t,n)=>(_t(e,"get","$slots"),t[n])})}(e))}
1,get emit(){return(o,...i)=>e.emit(o,...i)},expose:t})}}(e):null,i=Ri(e),r=Mo(a,e,0,[Rn(e.props),o]),s=zl(r);if(On(),i(),(s||e.sp)&&!Io(e)&&Qd(e),s){if(r.then(D0,D0),t)return r.then(l=>{j0(e,l,t)}).catch(l=>{Ci(l,e,0)});e.asyncDep=r,e.suspense||X(`Component <${Li(e,n)}>: 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 j0(e,r,t)}else U0(e,t)}(e,t):void 0;t&&Sc(!1)}(w,!1,A),Ro(w,"init"),Dn&&(C.el=null),w.asyncDep){if(B&&B.registerDep(w,V,A),!C.el){const k=w.subTree=me(Yt);v(null,k,y,M),C.placeholder=k.el}}else V(w,C,y,M,B,Y,A);Dr(),Ro(w,"mount")},z=(C,y,M)=>{const j=y.component=C.component;if(function my(e,t,n){const{props:a,children:o,component:i}=e,{props:r,children:s,patchFlag:l}=t,c=i.emitsOptions;if((o||s)&&Dn||t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!s||s&&s.$stable)||a!==r&&(a?!r||v0(a,r,c):!!r);if(1024&l)return!0;if(16&l)return a?v0(a,r,c):!!r;if(8&l){const d=t.dynamicProps;for(let f=0;f<d.length;f++){const p=d[f];if(r[p]!==a[p]&&!Qr(c,p))return!0}}return!1}(C,y,M)){if(j.asyncDep&&!j.asyncResolved)return Pr(y),D(j,y,M),void Dr();j.next=y,j.update()}else y.el=C.el,j.vnode=y},V=(C,y,M,j,B,Y,A)=>{const w=()=>{if(C.isMounted){let{next:E,bu:F,u:ae,parent:ue,vnode:Oe}=C;{const ln=T0(C);if(ln)return E&&(E.el=Oe.el,D(C,E,A)),void ln.asyncDep.then(()=>{C.isUnmounted||w()})}let tt,Se=E;Pr(E||C.vnode),no(C,!1),E?(E.el=Oe.el,D(C,E,A)):E=Oe,F&&_o(F),(tt=E.props&&E.props.onVnodeBeforeUpdate)&&jn(tt,ue,E,Oe),no(C,!0),No(C,"render");const $e=m0(C);Ro(C,"render");const lt=C.subTree;C.subTree=$e,No(C,"patch"),b(lt,$e,f(lt.el),bt(lt),C,B,Y),Ro(C,"patch"),E.el=$e.el,null===Se&&function gy({vnode:e,parent:t},n){for(;t;){const a=t.subTree;if(a.suspense&&a.suspense.activeBranch===e&&(a.el=e.el),a!==e)break;(e=t.vnode).el=n,t=t.parent}}(C,$e.el),ae&&Kt(ae,B),(tt=E.props&&E.props.onVnodeUpdated)&&Kt(()=>jn(tt,ue,E,Oe),B),Yd(C),Dr()}else{let E;const{props:ae}=y,{bm:ue,m:Oe,parent:Se,root:tt,type:$e}=C,lt=Io(y);no(C,!1),ue&&_o(ue),!lt&&(E=ae&&ae.onVnodeBeforeMount)&&jn(E,Se,y),no(C,!0);{tt.ce&&!1!==tt.ce._def.shadowRoot&&tt.ce._injectChildStyle($e),No(C,"render");const ln=C.subTree=m0(C);Ro(C,"render"),No(C,"patch"),b(null,ln,M,j,C,B,Y),Ro(C,"patch"),y.el=ln.el}if(Oe&&Kt(Oe,B),!lt&&(E=ae&&ae.onVnodeMounted)){const ln=y;Kt(()=>jn(E,Se,ln),B)}(256&y.shapeFlag||Se&&Io(Se.vnode)&&256&Se.vnode.shapeFlag)&&C.a&&Kt(C.a,B),C.isMounted=!0,O2(C),y=M=j=null}};C.scope.on();const k=C.effect=new hd(w);C.scope.off();const R=C.update=k.run.bind(k),W=C.job=k.runIfDirty.bind(k);
1W.i=C,W.id=C.uid,k.scheduler=()=>Ur(W),no(C,!0),k.onTrack=C.rtc?E=>_o(C.rtc,E):void 0,k.onTrigger=C.rtg?E=>_o(C.rtg,E):void 0,R()},D=(C,y,M)=>{y.component=C;const j=C.vnode.props;C.vnode=y,C.next=null,function yy(e,t,n,a){const{props:o,attrs:i,vnode:{patchFlag:r}}=e,s=Ne(o),[l]=e.propsOptions;let c=!1;if(function vy(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}(e)||!(a||r>0)||16&r){let d;C0(e,t,o,i)&&(c=!0);for(const f in s)(!t||!Fe(t,f)&&((d=qt(f))===f||!Fe(t,d)))&&(l?n&&(void 0!==n[f]||void 0!==n[d])&&(o[f]=wc(l,s,f,void 0,e,!0)):delete o[f]);if(i!==s)for(const f in i)(!t||!Fe(t,f))&&(delete i[f],c=!0)}else if(8&r){const d=e.vnode.dynamicProps;for(let f=0;f<d.length;f++){let p=d[f];if(Qr(e.emitsOptions,p))continue;const h=t[p];if(l)if(Fe(i,p))h!==i[p]&&(i[p]=h,c=!0);else{const m=Ct(p);o[m]=wc(l,s,m,h,e,!1)}else h!==i[p]&&(i[p]=h,c=!0)}}c&&Nn(e.attrs,"set",""),E0(t||{},o,e)}(C,y.props,j,M),((e,t,n)=>{const{vnode:a,slots:o}=e;let i=!0,r=ze;if(32&a.shapeFlag){const s=t._;s?Dn?(xc(o,t,n),Nn(e,"set","$slots")):n&&1===s?i=!1:xc(o,t,n):(i=!t.$stable,S0(t,o)),r=t}else t&&(I0(e,t),r={default:1});if(i)for(const s in o)!Cc(s)&&null==r[s]&&delete o[s]})(C,y.children,M),Tn(),jd(C),On()},te=(C,y,M,j,B,Y,A,w,k=!1)=>{const R=C&&C.children,W=C?C.shapeFlag:0,E=y.children,{patchFlag:F,shapeFlag:ae}=y;if(F>0){if(128&F)return void fe(R,E,M,j,B,Y,A,w,k);if(256&F)return void pe(R,E,M,j,B,Y,A,w,k)}8&ae?(16&W&&et(R,B,Y),E!==R&&d(M,E)):16&W?16&ae?fe(R,E,M,j,B,Y,A,w,k):et(R,B,Y,!0):(8&W&&d(M,""),16&ae&&se(E,M,j,B,Y,A,w,k))},pe=(C,y,M,j,B,Y,A,w,k)=>{const R=(C=C||Co).length,W=(y=y||Co).length,E=Math.min(R,W);let F;for(F=0;F<E;F++){const ae=y[F]=k?Ia(y[F]):xn(y[F]);b(C[F],ae,M,null,B,Y,A,w,k)}R>W?et(C,B,Y,!0,!1,E):se(y,M,j,B,Y,A,w,k,E)},fe=(C,y,M,j,B,Y,A,w,k)=>{let R=0;const W=y.length;let E=C.length-1,F=W-1;for(;R<=E&&R<=F;){const ae=C[R],ue=y[R]=k?Ia(y[R]):xn(y[R]);if(!Ni(ae,ue))break;b(ae,ue,M,null,B,Y,A,w,k),R++}for(;R<=E&&R<=F;){const ae=C[E],ue=y[F]=k?Ia(y[F]):xn(y[F]);if(!Ni(ae,ue))break;b(ae,ue,M,null,B,Y,A,w,k),E--,F--}if(R>E){if(R<=F){const ae=F+1,ue=ae<W?y[ae].el:j;for(;R<=F;)b(null,y[R]=k?Ia(y[R]):xn(y[R]),M,ue,B,Y,A,w,k),R++}}else if(R>F)for(;R<=E;)Ee(C[R],B,Y,!0),R++;else{const ae=R,ue=R,Oe=new Map;for(R=ue;R<=F;R++){const zt=y[R]=k?Ia(y[R]):xn(y[R]);null!=zt.key&&(Oe.has(zt.key)&&X("Duplicate keys found during update:",JSON.stringify(zt.key),"Make sure keys are unique."),Oe.set(zt.key,R))}let Se,tt=0;const $e=F-ue+1;let lt=!1,ln=0;const mr=new Array($e);for(R=0;R<$e;R++)mr[R]=0;for(R=ae;R<=E;R++){const zt=C[R];if(tt>=$e){Ee(zt,B,Y,!0);continue}let Zn;if(null!=zt.key)Zn=Oe.get(zt.key);else for(Se=ue;Se<=F;Se++)if(0===mr[Se-ue]&&Ni(zt,y[Se])){Zn=Se;break}void 0===Zn?Ee(zt,B,Y,!0):(mr[Zn-ue]=R+1,Zn>=ln?ln=Zn:lt=!0,b(zt,y[Zn],M,null,B,Y,A,w,k),tt++)}const yg=lt?function Fy(e){const t=e.slice(),n=[0];let a,o,i,r,s;const l=e.length;for(a=0;a<l;a++){const c=e[a];if(0!==c){if(o=n[n.length-1],e[o]<c){t[a]=o,n.push(a);continue}for(i=0,r=n.length-1;i<r;)s=i+r>>1,e[n[s]]<c?i=s+1:r=s;c<e[n[i]]&&(i>0&&(t[a]=n[i-1]),n[i]=a)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}(mr):Co;for(Se=yg.length-1,R=$e-1;R>=0;
1R--){const zt=ue+R,Zn=y[zt],Ag=y[zt+1],wg=zt+1<W?Ag.el||Ag.placeholder:j;0===mr[R]?b(null,Zn,M,wg,B,Y,A,w,k):lt&&(Se<0||R!==yg[Se]?xe(Zn,M,wg,2):Se--)}}},xe=(C,y,M,j,B=null)=>{const{el:Y,type:A,transition:w,children:k,shapeFlag:R}=C;if(6&R)xe(C.component.subTree,y,M,j);else if(128&R)C.suspense.move(y,M,j);else if(64&R)A.move(C,y,M,wt);else if(A!==ft)if(A!==Ii)if(2!==j&&1&R&&w)if(0===j)w.beforeEnter(Y),a(Y,y,M),Kt(()=>w.enter(Y),B);else{const{leave:W,delayLeave:E,afterLeave:F}=w,ae=()=>{C.ctx.isUnmounted?o(Y):a(Y,y,M)},ue=()=>{Y._isLeaving&&Y[j2](!0),W(Y,()=>{ae(),F&&F()})};E?E(Y,ae,ue):ue()}else a(Y,y,M);else(({el:C,anchor:y},M,j)=>{let B;for(;C&&C!==y;)B=p(C),a(C,M,j),C=B;a(y,M,j)})(C,y,M);else{a(Y,y,M);for(let W=0;W<k.length;W++)xe(k[W],y,M,j);a(C.anchor,y,M)}},Ee=(C,y,M,j=!1,B=!1)=>{const{type:Y,props:A,ref:w,children:k,dynamicChildren:R,shapeFlag:W,patchFlag:E,dirs:F,cacheIndex:ae}=C;if(-2===E&&(B=!1),null!=w&&(Tn(),Mi(w,null,M,C,!0),On()),null!=ae&&(y.renderCache[ae]=void 0),256&W)return void y.ctx.deactivate(C);const ue=1&W&&F,Oe=!Io(C);let Se;if(Oe&&(Se=A&&A.onVnodeBeforeUnmount)&&jn(Se,y,C),6&W)gt(C.component,M,j);else{if(128&W)return void C.suspense.unmount(M,j);ue&&eo(C,null,y,"beforeUnmount"),64&W?C.type.remove(C,y,M,wt,j):R&&!R.hasOnce&&(Y!==ft||E>0&&64&E)?et(R,y,M,!1,!0):(Y===ft&&384&E||!B&&16&W)&&et(k,y,M),j&&Ye(C)}(Oe&&(Se=A&&A.onVnodeUnmounted)||ue)&&Kt(()=>{Se&&jn(Se,y,C),ue&&eo(C,null,y,"unmounted")},M)},Ye=C=>{const{type:y,el:M,anchor:j,transition:B}=C;if(y===ft)return void(C.patchFlag>0&&2048&C.patchFlag&&B&&!B.persisted?C.children.forEach(A=>{A.type===Yt?o(A.el):Ye(A)}):Ke(M,j));if(y===Ii)return void S(C);const Y=()=>{o(M),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(1&C.shapeFlag&&B&&!B.persisted){const{leave:A,delayLeave:w}=B,k=()=>A(M,Y);w?w(C.el,Y,k):k()}else Y()},Ke=(C,y)=>{let M;for(;C!==y;)M=p(C),o(C),C=M;o(y)},gt=(C,y,M)=>{C.type.__hmrId&&function M2(e){Xa.get(e.type.__hmrId).instances.delete(e)}(C);const{bum:j,scope:B,job:Y,subTree:A,um:w,m:k,a:R}=C;O0(k),O0(R),j&&_o(j),B.stop(),Y&&(Y.flags|=8,Ee(A,C,y,M)),w&&Kt(w,y),Kt(()=>{C.isUnmounted=!0},y),(e=>{Bn&&"function"==typeof Bn.cleanupBuffer&&!Bn.cleanupBuffer(e)&&N2(e)})(C)},et=(C,y,M,j=!1,B=!1,Y=0)=>{for(let A=Y;A<C.length;A++)Ee(C[A],y,M,j,B)},bt=C=>{if(6&C.shapeFlag)return bt(C.component.subTree);if(128&C.shapeFlag)return C.suspense.next();const y=p(C.anchor||C.el),M=y&&y[D2];return M?p(M):y};let kt=!1;const nt=(C,y,M)=>{null==C?y._vnode&&Ee(y._vnode,null,null,!0):b(y._vnode||null,C,y,null,null,null,M),y._vnode=C,kt||(kt=!0,jd(),Ud(),kt=!1)},wt={p:b,um:Ee,m:xe,r:Ye,mt:K,mc:se,pc:te,pbc:ne,n:bt,o:e};return{render:nt,hydrate:void 0,createApp:ry(nt)}}(e)}function Ec({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function no({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Mc(e,t,n=!1){const a=e.children,o=t.children;if(ge(a)&&ge(o))for(let i=0;i<a.length;i++){const r=a[i];let s=o[i];1&s.shapeFlag&&!s.dynamicChildren&&((s.patchFlag<=0||32===s.patchFlag)&&(s=o[i]=Ia(o[i]),s.el=r.el),!n&&-2!==s.patchFlag&&Mc(r,s)),s.type===Fo&&-1!==s.patchFlag&&(s.el=r.el),s.type===Yt&&!s.el&&(s.el=r.el),s.el&&(s.el.__vnode=s)}}function T0(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:T0(t)}function O0(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const N0=e=>e.__isSuspense,ft=Symbol.for("v-fgt"),Fo=Symbol.for("v-txt"),Yt=Symbol.for("v-cmt"),Ii=Symbol.for("v-stc"),Ti=[];let Zt=null;function O(e=!1){Ti.push(Zt=e?null:[])}let Oi=1;function Xr(e,t=!1){Oi+=e,e<0&&Zt&&t&&(Zt.hasOnce=!0)}function R0(e){return e.dynamicChildren=Oi>0?Zt||Co:null,function Py(){Ti.pop(),Zt=Ti[Ti.length-1]||null}(),Oi>0&&Zt&&Zt.push(e),e}function U(e,t,n,a,o,i){return R0(H(e,t,n,a,o,i,!0))}function Ie(e,t,n,a,o){return R0(me(e,t,n,a,o,!0))}function ao(e){return!!e&&!0===e.__v_isVNode}function Ni(e,t){if(6&t.shapeFlag&&e.component){const n=zr.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}const F0=({key:e})=>e??null,es=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?Ze(e)||ot(e)||ve(e)?{i:pt,r:e,k:t,f:!!n}:e:null);function H(e,t=null,n=null,a=0,o=null,i=(e===ft?0:1),r=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,t
1ype:e,props:t,key:t&&F0(t),ref:t&&es(t),scopeId:Hd,slotScopeIds:null,children:n,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:i,patchFlag:a,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:pt};return s?(kc(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=Ze(n)?8:16),l.key!=l.key&&X("VNode created with invalid key (NaN). VNode type:",l.type),Oi>0&&!r&&Zt&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Zt.push(l),l}const me=(...e)=>function By(e,t=null,n=null,a=0,o=null,i=!1){if((!e||e===t0)&&(e||X(`Invalid vnode type when creating vnode: ${e}.`),e=Yt),ao(e)){const s=Sa(e,t,!0);return n&&kc(s,n),Oi>0&&!i&&Zt&&(6&s.shapeFlag?Zt[Zt.indexOf(e)]=s:Zt.push(s)),s.patchFlag=-2,s}if(z0(e)&&(e=e.__vccOpts),t){t=function jy(e){return e?Rr(e)||w0(e)?at({},e):e:null}(t);let{class:s,style:l}=t;s&&!Ze(s)&&(t.class=L(s)),Ue(l)&&(Rr(l)&&!ge(l)&&(l=at({},l)),t.style=Mr(l))}const r=Ze(e)?1:N0(e)?128:(e=>e.__isTeleport)(e)?64:Ue(e)?4:ve(e)?2:0;return 4&r&&Rr(e)&&X("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`.","\nComponent that was made reactive: ",e=Ne(e)),H(e,t,n,a,o,r,i,!0)}(...e);function Sa(e,t,n=!1,a=!1){const{props:o,ref:i,patchFlag:r,children:s,transition:l}=e,c=t?function Uy(...e){const t={};for(let n=0;n<e.length;n++){const a=e[n];for(const o in a)if("class"===o)t.class!==a.class&&(t.class=L([t.class,a.class]));else if("style"===o)t.style=Mr([t.style,a.style]);else if(pi(o)){const i=t[o],r=a[o];r&&i!==r&&(!ge(i)||!i.includes(r))&&(t[o]=i?[].concat(i,r):r)}else""!==o&&(t[o]=a[o])}return t}(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&F0(c),ref:t&&t.ref?n&&i?ge(i)?i.concat(es(t)):[i,es(t)]:es(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:-1===r&&ge(s)?s.map(L0):s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ft?-1===r?16:16|r:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Sa(e.ssContent),ssFallback:e.ssFallback&&Sa(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&a&&uc(d,l.clone(d)),d}function L0(e){const t=Sa(e);return ge(e.children)&&(t.children=e.children.map(L0)),t}function sa(e=" ",t=0){return me(Fo,null,e,t)}function P0(e,t){const n=me(Ii,null,e);return n.staticCount=t,n}function ie(e="",t=!1){return t?(O(),Ie(Yt,null,e)):me(Yt,null,e)}function xn(e){return null==e||"boolean"==typeof e?me(Yt):ge(e)?me(ft,null,e.slice()):ao(e)?Ia(e):me(Fo,null,String(e))}function Ia(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Sa(e)}function kc(e,t){let n=0;const{shapeFlag:a}=e;if(null==t)t=null;else if(ge(t))n=16;else if("object"==typeof t){if(65&a){const o=t.default;return void(o&&(o._c&&(o._d=!1),kc(e,o()),o._c&&(o._d=!0)))}{n=32;const o=t._;o||w0(t)?3===o&&pt&&(1===pt.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=pt}}else ve(t)?(t={default:t,_ctx:pt},n=32):(t=String(t),64&a?(n=16,t=[sa(t)]):n=8);e.children=t,e.shapeFlag|=n}function jn(e,t,n,a=null){Ln(e,t,7,[n,a])}const zy=f0();let qy=0,ht=null;const ts=()=>ht||pt;let ns,Sc;{const e=gi(),t=(n,a)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(a),i=>{o.length>1?o.forEach(r=>r(i)):o[0](i)}};ns=t("__VUE_INSTANCE_SETTERS__",n=>ht=n),Sc=t("__VUE_SSR_SETTERS__",n=>Fi=n)}const Ri=e=>{const t=ht;return ns(e),e.scope.on(),()=>{e.scope.off(),ns(t)}},D0=()=>{ht&&ht.scope.off(),ns(null)},Vy=ea("slot,component");function Ic(e,{isNativeTag:t}){(Vy(e)||t(e))&&X("Do not use built-in or reserved HTML elements as component id: "+e)}function B0(e){return 4&e.vnode.shapeFlag}let Fi=!1;function j0(e,t,n){ve(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ue(t)?(ao(t)&&X("setup() should not return VNodes directly - return a render function instead."),e.devtoolsRawSetupState=t,e.setupState=Fd(t),function Z2(e){const{ctx:t,setupState:n}=e;
1Object.keys(Ne(n)).forEach(a=>{if(!n.__isScriptSetup){if(mc(a[0]))return void X(`setup() return property ${JSON.stringify(a)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>n[a],set:St})}})}(e)):void 0!==t&&X("setup() should return an object. Received: "+(null===t?"null":typeof t)),U0(e,n)}const Hy=()=>!0;function U0(e,t,n){const a=e.type;e.render||(e.render=a.render||St);{const o=Ri(e);Tn();try{!function ey(e){const t=l0(e),n=e.proxy,a=e.ctx;bc=!1,t.beforeCreate&&r0(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:s,provide:l,inject:c,created:d,beforeMount:f,mounted:p,beforeUpdate:h,updated:m,activated:b,deactivated:g,beforeUnmount:_,unmounted:N,render:S,renderTracked:G,renderTriggered:P,errorCaptured:ee,serverPrefetch:se,expose:Q,inheritAttrs:ne,components:be,directives:Ve}=t,K=function X2(){const e=Object.create(null);return(t,n)=>{e[n]?X(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}();{const[V]=e.propsOptions;if(V)for(const D in V)K("Props",D)}if(c&&function ty(e,t,n=St){ge(e)&&(e=vc(e));for(const a in e){const o=e[a];let i;i=Ue(o)?"default"in o?he(o.from||a,o.default,!0):he(o.from||a):he(o),ot(i)?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):t[a]=i,n("Inject",a)}}(c,a,K),r)for(const V in r){const D=r[V];ve(D)?(Object.defineProperty(a,V,{value:D.bind(n),configurable:!0,enumerable:!0,writable:!0}),K("Methods",V)):X(`Method "${V}" has type "${typeof D}" in the component definition. Did you reference the function correctly?`)}if(o){ve(o)||X("The data option must be a function. Plain object usage is no longer supported.");const V=o.call(n,n);if(zl(V)&&X("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),Ue(V)){e.data=Lt(V);for(const D in V)K("Data",D),mc(D[0])||Object.defineProperty(a,D,{configurable:!0,enumerable:!0,get:()=>V[D],set:St})}else X("data() should return an object.")}if(bc=!0,i)for(const V in i){const D=i[V],te=ve(D)?D.bind(n,n):ve(D.get)?D.get.bind(n,n):St;te===St&&X(`Computed property "${V}" has no getter.`);const pe=!ve(D)&&ve(D.set)?D.set.bind(n):()=>{X(`Write operation failed: computed property "${V}" is readonly.`)},fe=$({get:te,set:pe});Object.defineProperty(a,V,{enumerable:!0,configurable:!0,get:()=>fe.value,set:xe=>fe.value=xe}),K("Computed",V)}if(s)for(const V in s)s0(s[V],a,n,V);if(l){const V=ve(l)?l.call(n):l;Reflect.ownKeys(V).forEach(D=>{Vt(D,V[D])})}function z(V,D){ge(D)?D.forEach(te=>V(te.bind(n))):D&&V(D.bind(n))}if(d&&r0(d,e,"c"),z(It,f),z(ia,p),z(z2,h),z(q2,m),z(Zd,b),z(dc,g),z(W2,ee),z(Y2,G),z(V2,P),z(e0,_),z(To,N),z(G2,se),ge(Q))if(Q.length){const V=e.exposed||(e.exposed={});Q.forEach(D=>{Object.defineProperty(V,D,{get:()=>n[D],set:te=>n[D]=te,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===St&&(e.render=S),null!=ne&&(e.inheritAttrs=ne),be&&(e.components=be),Ve&&(e.directives=Ve),se&&Qd(e)}(e)}finally{On(),o()}}!a.render&&e.render===St&&!t&&(a.template?X('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".'):X("Component is missing template or render function: ",a))}const $y={get:(e,t)=>(Jr(),_t(e,"get",""),e[t]),set:()=>(X("setupContext.attrs is readonly."),!1),deleteProperty:()=>(X("setupContext.attrs is readonly."),!1)};function as(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Fd(function u2(e){return!Fe(e,"__v_skip")&&Object.isExtensible(e)&&Er(e,"__v_skip",!0),e}(e.exposed)),{get:(t,n)=>n in t?t[n]:n in to?to[n](e):void 0,has:(t,n)=>n in t||n in to})):e.proxy}const Ky=/(?:^|[-_])\w/g;function Tc(e,t=!0){return ve(e)?e.displayName||e.name:e.name||t&&e.__name}function Li(e,t,n=!1){let a=Tc(t);if(!a&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(a=o[1])}if(!a&&e){const o=i=>{for(const r in i)if(i[r]===t)return r};a=o(e.components)||e.parent&&o(e.parent.type.components)||o(e.appContext.components)}return a?(e=>e.replace(Ky,t=>t.toUpperCase()).replace(/[-_]/g,""))(a):n?"App":"Anonymous"}function z0(e){return ve(e)&&"__vccOpts"in e}const $=(e,t)=>{const n=function m2(e,t,n=!1){let a,o;
1return ve(e)?a=e:(a=e.get,o=e.set),new h2(a,o,n)}(e,0,Fi);{const a=ts();a&&a.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function q0(e,t,n){try{Xr(-1);const a=arguments.length;return 2===a?Ue(t)&&!ge(t)?ao(t)?me(e,null,[t]):me(e,t):me(e,null,t):(a>3?n=Array.prototype.slice.call(arguments,2):3===a&&ao(n)&&(n=[n]),me(e,t,n))}finally{Xr(1)}}const G0="3.5.25",fn=X;let Oc;const V0=typeof window<"u"&&window.trustedTypes;if(V0)try{Oc=V0.createPolicy("vue",{createHTML:e=>e})}catch(e){fn(`Error creating trusted types policy: ${e}`)}const Y0=Oc?e=>Oc.createHTML(e):e=>e,la=typeof document<"u"?document:null,W0=la&&la.createElement("template"),t3={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,a)=>{const o="svg"===t?la.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?la.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?la.createElement(e,{is:n}):la.createElement(e);return"select"===e&&a&&null!=a.multiple&&o.setAttribute("multiple",a.multiple),o},createText:e=>la.createTextNode(e),createComment:e=>la.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
1{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>la.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,a,o,i){const r=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==i&&(o=o.nextSibling););else{W0.innerHTML=Y0("svg"===a?`<svg>${e}</svg>`:"mathml"===a?`<math>${e}</math>`:e);const s=W0.content;if("svg"===a||"mathml"===a){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},n3=Symbol("_vtc"),os=Symbol("_vod"),H0=Symbol("_vsh"),o3={name:"show",beforeMount(e,{value:t},{transition:n}){e[os]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Pi(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:a}){!t!=!n&&(a?t?(a.beforeEnter(e),Pi(e,!0),a.enter(e)):a.leave(e,()=>{Pi(e,!1)}):Pi(e,t))},beforeUnmount(e,{value:t}){Pi(e,t)}};function Pi(e,t){e.style.display=t?e[os]:"none",e[H0]=!t}const i3=Symbol("CSS_VAR_TEXT"),r3=/(?:^|;)\s*display\s*:/,l3=/[^\\];\s*$/,$0=/\s*!important$/;function is(e,t,n){if(ge(n))n.forEach(a=>is(e,t,a));else if(null==n&&(n=""),l3.test(n)&&fn(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const a=function c3(e,t){const n=Nc[t];if(n)return n;let a=Ct(t);if("filter"!==a&&a in e)return Nc[t]=a;a=$a(a);for(let o=0;o<Q0.length;o++){const i=Q0[o]+a;if(i in e)return Nc[t]=i}return t}(e,t);$0.test(n)?e.setProperty(qt(a),n.replace($0,""),"important"):e[a]=n}}const Q0=["Webkit","Moz","ms"],Nc={},J0="http://www.w3.org/1999/xlink";function K0(e,t,n,a,o,i=Uv(t)){a&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(J0,t.slice(6,t.length)):e.setAttributeNS(J0,t,n):null==n||i&&!cd(n)?e.removeAttribute(t):e.setAttribute(t,i?"":An(n)?String(n):n)}function Z0(e,t,n,a,o){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?Y0(n):n));const i=e.tagName;if("value"===t&&"PROGRESS"!==i&&!i.includes("-")){const s="OPTION"===i?e.getAttribute("value")||"":e.value,l=null==n?"checkbox"===e.type?"on":"":String(n);return(s!==l||!("_value"in e))&&(e.value=l),null==n&&e.removeAttribute(t),void(e._value=n)}let r=!1;if(""===n||null==n){const s=typeof e[t];"boolean"===s?n=cd(n):null==n&&"string"===s?(n="",r=!0):"number"===s&&(n=0,r=!0)}try{e[t]=n}catch(s){r||fn(`Failed setting prop "${t}" on <${i.toLowerCase()}>: value ${n}
1 is invalid.`,s)}r&&e.removeAttribute(o||t)}function oo(e,t,n,a){e.addEventListener(t,n,a)}const X0=Symbol("_vei");const ep=/(?:Once|Passive|Capture)$/;let Rc=0;const p3=Promise.resolve();function tp(e,t){return ve(e)||ge(e)?e:(fn(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?\nExpected function or array of functions, received type ${typeof e}.`),St)}const np=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ap={};function op(e,t,n){let a=We(e,t);_r(a)&&(a=at({},a,t));class o extends Fc{constructor(r){super(a,r,n)}}return o.def=a,o}const y3=typeof HTMLElement<"u"?HTMLElement:class{};class Fc extends y3{constructor(t,n={},a=dp){super(),this._def=t,this._props=n,this._createApp=a,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&a!==dp?this._root=this.shadowRoot:(this.shadowRoot&&fn("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),!1!==t.shadowRoot?(this.attachShadow(at({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Fc){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,jr(()=>{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,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let a=0;a<this.attributes.length;a++)this._setAttr(this.attributes[a].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(a,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:r}=a;let s;if(i&&!ge(i))for(const l in i){const c=i[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=sd(this._props[l])),(s||(s=Object.create(null)))[Ct(l)]=!0)}this._numberProps=s,this._resolveProps(a),this.shadowRoot?this._applyStyles(r):r&&fn("Custom element style injection is not supported when using shadowRoot: false"),this._mount(a)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(a=>{a.configureApp=this._def.configureApp,t(this._def=a,!0)}):t(this._def)}_mount(t){t.name||(t.name="VueElement"),this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const a in n)Fe(this,a)?fn(`Exposed property "${a}" already exists on custom element.`):Object.defineProperty(this,a,{get:()=>Me(n[a])})}_resolveProps(t){const{props:n}=t,a=ge(n)?n:Object.keys(n||{});for(const o of Object.keys(this))"_"!==o[0]&&a.includes(o)&&this._setProp(o,this[o]);for(const o of a.map(Ct))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let a=n?this.getAttribute(t):ap;const o=Ct(t);n&&this._numberProps&&this._numberProps[o]&&(a=sd(a)),this._setProp(o,a,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,a=!0,o=!1){if(n!==this._props[t]&&(this._dirty=!0,n===ap?delete this._props[t]:(this._props[t]=n,"key"===t&&this._app&&(this._app._ceVNode.key=n)),o&&this._instance&&this._update(),a)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),!0===n?this.setAttribute(qt(t),""):"string"==typeof n||"number"==typeof n?this.setAttribute(qt(t),n+""):n||this.removeAttribute(qt(t)),i&&i.observe(this,{attributes:!0})}}
1_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),S3(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=me(this._def,at(t,this._props));return this._instance||(n.ce=a=>{this._instance=a,a.ce=this,a.isCE=!0,a.ceReload=i=>{this._styles&&(this._styles.forEach(r=>this._root.removeChild(r)),this._styles.length=0),this._applyStyles(i),this._instance=null,this._update()};const o=(i,r)=>{this.dispatchEvent(new CustomEvent(i,_r(r[0])?at({detail:r},r[0]):{detail:r}))};a.emit=(i,...r)=>{o(i,r),qt(i)!==i&&o(qt(i),r)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const a=this._nonce;for(let o=t.length-1;o>=0;o--){const i=document.createElement("style");if(a&&i.setAttribute("nonce",a),i.textContent=t[o],this.shadowRoot.prepend(i),n){if(n.__hmrId){this._childStyles||(this._childStyles=new Map);let r=this._childStyles.get(n.__hmrId);r||this._childStyles.set(n.__hmrId,r=[]),r.push(i)}}else(this._styles||(this._styles=[])).push(i)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const a=1===n.nodeType&&n.getAttribute("slot")||"default";(t[a]||(t[a]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let a=0;a<t.length;a++){const o=t[a],i=o.getAttribute("name")||"default",r=this._slots[i],s=o.parentNode;if(r)for(const l of r){if(n&&1===l.nodeType){const c=n+"-s",d=document.createTreeWalker(l,1);let f;for(l.setAttribute(c,"");f=d.nextNode();)f.setAttribute(c,"")}s.insertBefore(l,o)}else for(;o.firstChild;)s.insertBefore(o.firstChild,o);s.removeChild(o)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const a of t){const o=a.querySelectorAll("slot");for(let i=0;i<o.length;i++)n.add(o[i])}return Array.from(n)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(t){if(this._styleChildren.delete(t),this._childStyles&&t.__hmrId){const n=this._childStyles.get(t.__hmrId);n&&(n.forEach(a=>this._root.removeChild(a)),n.length=0)}}}const rs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ge(t)?n=>_o(t,n):t};function A3(e){e.target.composing=!0}function ip(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Lo=Symbol("_assign");function rp(e,t,n){return t&&(e=e.trim()),n&&(e=Vl(e)),e}const w3={created(e,{modifiers:{lazy:t,trim:n,number:a}},o){e[Lo]=rs(o);const i=a||o.props&&"number"===o.props.type;oo(e,t?"change":"input",r=>{r.target.composing||e[Lo](rp(e.value,n,i))}),(n||i)&&oo(e,"change",()=>{e.value=rp(e.value,n,i)}),t||(oo(e,"compositionstart",A3),oo(e,"compositionend",ip),oo(e,"change",ip))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:a,trim:o,number:i}},r){if(e[Lo]=rs(r),e.composing)return;const l=t??"";(!i&&"number"!==e.type||/^0\d/.test(e.value)?e.value:Vl(e.value))!==l&&(document.activeElement===e&&"range"!==e.type&&(a&&t===n||o&&e.value.trim()===l)||(e.value=l))}},C3={deep:!0,created(e,t,n){e[Lo]=rs(n),oo(e,"change",()=>{const a=e._modelValue,o=function _3(e){return"_value"in e?e._value:e.value}(e),i=e.checked,r=e[Lo];if(ge(a)){const s=ud(a,o),l=-1!==s;if(i&&!l)r(a.concat(o));else if(!i&&l){const c=[...a];c.splice(s,1),r(c)}}else if(Cr(a)){const s=new Set(a);i?s.add(o):s.delete(o),r(s)}else r(lp(e,i))})},mounted:sp,beforeUpdate(e,t,n){e[Lo]=rs(n),sp(e,t,n)}};function sp(e,{value:t,oldValue:n},a){let o;if(e._modelValue=t,ge(t))o=ud(t,a.props.value)>-1;else if(Cr(t))o=t.has(a.props.value);else{if(t===n)return;o=kr(t,lp(e,!0))}e.checked!==o&&(e.checked=o)}function lp(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const x3=["ctrl","shift","alt","meta"],E3={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&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>
1x3.some(n=>e[`${n}Key`]&&!t.includes(n))},dn=(e,t)=>{const n=e._withMods||(e._withMods={}),a=t.join(".");return n[a]||(n[a]=(o,...i)=>{for(let r=0;r<t.length;r++){const s=E3[t[r]];if(s&&s(o,t))return}return e(o,...i)})},M3={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},cp=(e,t)=>{const n=e._withKeys||(e._withKeys={}),a=t.join(".");return n[a]||(n[a]=o=>{if(!("key"in o))return;const i=qt(o.key);return t.some(r=>r===i||M3[r]===i)?e(o):void 0})},k3=at({patchProp:(e,t,n,a,o,i)=>{const r="svg"===o;"class"===t?function a3(e,t,n){const a=e[n3];a&&(t=(t?[t,...a]:[...a]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,a,r):"style"===t?function s3(e,t,n){const a=e.style,o=Ze(n);let i=!1;if(n&&!o){if(t)if(Ze(t))for(const r of t.split(";")){const s=r.slice(0,r.indexOf(":")).trim();null==n[s]&&is(a,s,"")}else for(const r in t)null==n[r]&&is(a,r,"");for(const r in n)"display"===r&&(i=!0),is(a,r,n[r])}else if(o){if(t!==n){const r=a[i3];r&&(n+=";"+r),a.cssText=n,i=r3.test(n)}}else t&&e.removeAttribute("style");os in e&&(e[os]=i?a.display:"",e[H0]&&(a.display="none"))}(e,n,a):pi(t)?wr(t)||function f3(e,t,n,a,o=null){const i=e[X0]||(e[X0]={}),r=i[t];if(a&&r)r.value=tp(a,t);else{const[s,l]=function d3(e){let t;if(ep.test(e)){let n;for(t={};n=e.match(ep);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):qt(e.slice(2)),t]}(t);if(a){const c=i[t]=function m3(e,t){const n=a=>{if(a._vts){if(a._vts<=n.attached)return}else a._vts=Date.now();Ln(function g3(e,t){if(ge(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(a=>o=>!o._stopped&&a&&a(o))}return t}(a,n.value),t,5,[a])};return n.value=e,n.attached=Rc||(p3.then(()=>Rc=0),Rc=Date.now()),n}(tp(a,t),o);oo(e,s,c,l)}else r&&(function u3(e,t,n,a){e.removeEventListener(t,n,a)}(e,s,r,l),i[t]=void 0)}}(e,t,0,a,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function v3(e,t,n,a){if(a)return!!("innerHTML"===t||"textContent"===t||t in e&&np(t)&&ve(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t||"sandbox"===t&&"IFRAME"===e.tagName||"form"===t||"list"===t&&"INPUT"===e.tagName||"type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const o=e.tagName;if("IMG"===o||"VIDEO"===o||"CANVAS"===o||"SOURCE"===o)return!1}return(!np(t)||!Ze(n))&&t in e}(e,t,a,r))?(Z0(e,t,a),!e.tagName.includes("-")&&("value"===t||"checked"===t||"selected"===t)&&K0(e,t,a,r,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&Ze(a)?("true-value"===t?e._trueValue=a:"false-value"===t&&(e._falseValue=a),K0(e,t,a,r)):Z0(e,Ct(t),a,0,t)}},t3);let up;function fp(){return up||(up=Oy(k3))}const S3=(...e)=>{fp().render(...e)},dp=(...e)=>{const t=fp().createApp(...e);(function T3(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>Pv(t)||Dv(t)||Bv(t),writable:!1})})(t),function O3(e){{const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get:()=>t,set(){fn("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,a='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:()=>(fn(a),n),set(){fn(a)}})}}(t);const{mount:n}=t;return t.mount=a=>{const o=function N3(e){if(Ze(e)){const t=document.querySelector(e);return t||fn(`Failed to mount app: mount target selector "${e}" returned null.`),t}return window.ShadowRoot&&e instanceof window.ShadowRoot&&"closed"===e.mode&&fn('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}(a);if(!o)return;const i=t._component;!ve(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),1===o.nodeType&&(o.textContent="");const r=n(o,!1,function I3(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t};var xt=(e=>(e[e.Name=0]="Name",e[e.Email=1]="Email",e[e.Both=2]="Both",e[e.None=3]="None",e))(xt||{}),ca=(e=>(e[e.BubbleLeft=0]="BubbleLeft",e[e.BubbleRight=1]="BubbleRight",e))(ca||{}),Xt=(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]="Slide
1Up",e))(Xt||{}),en=(e=>(e[e.None=0]="None",e[e.Desktop=1]="Desktop",e[e.Mobile=2]="Mobile",e[e.Both=3]="Both",e))(en||{});const Un=Symbol("myChatService"),tn=Symbol("myWebRTCService"),Di=Symbol("gaService"),Po=Symbol("loadingService"),pp=Symbol("chatFlowControlService"),Ta=Symbol("fullscreenService"),Wt=Symbol("eventBus"),Lc=Symbol("myPhoneChannel");var hp,Bi={};function R3(){if(hp)return Bi;function t(){return typeof window>"u"?null:window.navigator.languages&&window.navigator.languages[0]||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage||window.navigator.systemLanguage||null}function n(i){return i.toLowerCase().replace(/-/,"_")}return hp=1,Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.default=void 0,Bi.default=function a(i){if(!i)return t();var r=i.languages,s=i.fallback;if(!i.languages)return s;var l=n(t());if(!l)return s;var c=r.filter(function(f){return n(f)===l});return c.length>0?c[0]||s:r.filter(function(f){return function e(i,r,s){var l=i.length;return(s=s??0)<0?s=0:s>l&&(s=l),r="".concat(r),i.slice(s,s+r.length)==r}(l,f)})[0]||s},Bi}const L3=di(R3());var Pc=function(e,t){return(Pc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(n[o]=a[o])})(e,t)};function zn(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Pc(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ss=function(){return ss=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ss.apply(this,arguments)};function mp(e,t){var a,o,i,n={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},r=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return r.next=s(0),r.throw=s(1),r.return=s(2),"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(c){return function(d){return function l(c){if(a)throw new TypeError("Generator is already executing.");for(;r&&(r=0,c[0]&&(n=0)),n;)try{if(a=1,o&&(i=2&c[0]?o.return:c[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,c[1])).done)return i;switch(o=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,o=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(!(i=(i=n.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){n=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){n.label=c[1];break}if(6===c[0]&&n.label<i[1]){n.label=i[1],i=c;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(c);break}i[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(d){c=[6,d],o=0}finally{a=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,d])}}}function Do(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function qn(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(s){r={error:s}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return i}function ua(e,t,n){if(n||2===arguments.length)for(var i,a=0,o=t.length;a<o;a++)(i||!(a in t))&&(i||(i=Array.prototype.slice.call(t,0,a)),i[a]=t[a]);return e.concat(i||Array.prototype.slice.call(t))}function Bo(e){return this instanceof Bo?(this.v=e,this):new Bo(e)}function De(e){return"function"==typeof e}function Dc(e){var n=e(function(a){Error.call(a),a.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Bc=Dc(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(n,a){return a+1+") "+n.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function ls(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var jo=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,a,o,i;if(!this.closed){this.closed=!0;var r=this._parentage;if(r)if(this._parentage=null,Array.isArray(r))try{for(var s=Do(r),l=s.next();!l.done;l=s.next())l.value.remove(this)}catch(b){t={error:b}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}else r.remove(this);var d=this.initialTeardown;
vendor: 6,592 bytes, line 1
1if(De(d))try{d()}catch(b){i=b instanceof Bc?b.errors:[b]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var p=Do(f),h=p.next();!h.done;h=p.next()){var m=h.value;try{vp(m)}catch(b){i=i??[],b instanceof Bc?i=ua(ua([],qn(i)),qn(b.errors)):i.push(b)}}}catch(b){a={error:b}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(a)throw a.error}}}if(i)throw new Bc(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)vp(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&ls(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&ls(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e;var t}(),gp=jo.EMPTY;function bp(e){return e instanceof jo||e&&"closed"in e&&De(e.remove)&&De(e.add)&&De(e.unsubscribe)}function vp(e){De(e)?e():e.unsubscribe()}function yp(e){!function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];setTimeout.apply(void 0,ua([e,t],qn(n)))}(function(){throw e})}function ji(){}function cs(e){e()}var jc=function(e){function t(n){var a=e.call(this)||this;return a.isStopped=!1,n?(a.destination=n,bp(n)&&n.add(a)):a.destination=V3,a}return zn(t,e),t.create=function(n,a,o){return new Ui(n,a,o)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(jo),q3=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(a){us(a)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(a){us(a)}else us(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){us(n)}},e}(),Ui=function(e){function t(n,a,o){var r,i=e.call(this)||this;return r=De(n)||!n?{next:n??void 0,error:a??void 0,complete:o??void 0}:n,i.destination=new q3(r),i}return zn(t,e),t}(jc);function us(e){yp(e)}var V3={closed:!0,next:ji,error:function G3(e){throw e},complete:ji},Uc="function"==typeof Symbol&&Symbol.observable||"@@observable";function io(e){return e}var it=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,a){var o=this,i=function H3(e){return e&&e instanceof jc||function W3(e){return e&&De(e.next)&&De(e.error)&&De(e.complete)}(e)&&bp(e)}(t)?t:new Ui(t,n,a);return cs(function(){var s=o.operator,l=o.source;i.add(s?s.call(i,l):l?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var a=this;return new(n=Ap(n))(function(o,i){var r=new Ui({next:function(s){try{t(s)}catch(l){i(l),r.unsubscribe()}},error:i,complete:o});a.subscribe(r)})},e.prototype._subscribe=function(t){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(t)},e.prototype[Uc]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return function Y3(e){return 0===e.length?io:1===e.length?e[0]:function(t){return e.reduce(function(n,a){return a(n)},t)}}(t)(this)},e.prototype.toPromise=function(t){var n=this;return new(t=Ap(t))(function(a,o){var i;n.subscribe(function(r){return i=r},function(r){return o(r)},function(){return a(i)})})},e.create=function(t){return new e(t)},e}();function Ap(e){var t;return null!==(t=e??void 0)&&void 0!==t?t:Promise}function ct(e){return function(t){if(function $3(e){return De(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(a){this.error(a)}});throw new TypeError("Unable to lift unknown Observable type")}}function Qe(e,t,n,a,o){return new Q3(e,t,n,a,o)}var Q3=function(e){function t(n,a,o,i,r,s){var l=e.call(this,n)||this;return l.onFinalize=r,l.shouldUnsubscribe=s,l._next=a?function(c){try{a(c)}catch(d){n.error(d)}}:e.prototype._next,l._error=i?function(c){try{i(c)}catch(d){n.error(d)}finally{this.unsubscribe()}}:e.prototype._error,l._complete=o?function(){try{o()}catch(c){n.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,l}return zn(t,e),t.prototype.unsubscribe=function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var a=this.closed;e.prototype.unsubscribe.call(this),!a&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}},t}(jc),J3=Dc(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Re=function(e){function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return zn(t,e),t.prototype.lift=function(n){var a=new wp(this,this);return a.operator=n,a},t.prototype._throwIfClosed=function(){if(this.closed)throw new J3},t.prototype.next=function(n){var a=this;cs(function(){var o,i;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var r=Do(a.currentObservers),s=r.next();!s.done;s=r.next())s.value.next(n)}catch(c){o={error:c}}finally{try{s&&!s.done&&(i=r.return)&&i.call(r)}finally{if(o)throw o.error}}}})},t.prototype.error=function(n){var a=this;cs(function(){if(a._throwIfClosed(),!a.isStopped){a.hasError=a.isStopped=!0,a.thrownError=n;for(var o=a.observers;o.length;)o.shift().error(n)}})},t.prototype.complete=function(){var n=this;cs(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var a=n.observers;a.length;)a.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}
1,enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var a=this,o=this,s=o.observers;return o.hasError||o.isStopped?gp:(this.currentObservers=null,s.push(n),new jo(function(){a.currentObservers=null,ls(s,n)}))},t.prototype._checkFinalizedStatuses=function(n){var a=this,r=a.isStopped;a.hasError?n.error(a.thrownError):r&&n.complete()},t.prototype.asObservable=function(){var n=new it;return n.source=this,n},t.create=function(n,a){return new wp(n,a)},t}(it),wp=function(e){function t(n,a){var o=e.call(this)||this;return o.destination=n,o.source=a,o}return zn(t,e),t.prototype.next=function(n){var a,o;null===(o=null===(a=this.destination)||void 0===a?void 0:a.next)||void 0===o||o.call(a,n)},t.prototype.error=function(n){var a,o;null===(o=null===(a=this.destination)||void 0===a?void 0:a.error)||void 0===o||o.call(a,n)},t.prototype.complete=function(){var n,a;null===(a=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===a||a.call(n)},t.prototype._subscribe=function(n){var a,o;return null!==(o=null===(a=this.source)||void 0===a?void 0:a.subscribe(n))&&void 0!==o?o:gp},t}(Re),Uo=function(e){function t(n){var a=e.call(this)||this;return a._value=n,a}return zn(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(n){var a=e.prototype._subscribe.call(this,n);return!a.closed&&n.next(this._value),a},t.prototype.getValue=function(){var n=this,i=n._value;if(n.hasError)throw n.thrownError;return this._throwIfClosed(),i},t.prototype.next=function(n){e.prototype.next.call(this,this._value=n)},t}(Re),zc={now:function(){return(zc.delegate||Date).now()},delegate:void 0},fa=function(e){function t(n,a,o){void 0===n&&(n=1/0),void 0===a&&(a=1/0),void 0===o&&(o=zc);var i=e.call(this)||this;return i._bufferSize=n,i._windowTime=a,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=a===1/0,i._bufferSize=Math.max(1,n),i._windowTime=Math.max(1,a),i}return zn(t,e),t.prototype.next=function(n){var a=this,i=a._buffer,r=a._infiniteTimeWindow,s=a._timestampProvider,l=a._windowTime;a.isStopped||(i.push(n),!r&&i.push(s.now()+l)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var a=this._innerSubscribe(n),i=this._infiniteTimeWindow,s=this._buffer.slice(),l=0;l<s.length&&!n.closed;l+=i?1:2)n.next(s[l]);return this._checkFinalizedStatuses(n),a},t.prototype._trimBuffer=function(){var n=this,a=n._bufferSize,o=n._timestampProvider,i=n._buffer,r=n._infiniteTimeWindow,s=(r?1:2)*a;if(a<1/0&&s<i.length&&i.splice(0,i.length-s),!r){for(var l=o.now(),c=0,d=1;d<i.length&&i[d]<=l;d+=2)c=d;c&&i.splice(0,c+1)}},t}(Re),K3=function(e){function t(n,a){return e.call(this)||this}return zn(t,e),t.prototype.schedule=function(n,a){return this},t}(jo),Z3=function(e){function t(n,a){var o=e.call(this,n,a)||this;return o.scheduler=n,o.work=a,o.pending=!1,o}return zn(t,e),t.prototype.schedule=function(n,a){var o;if(void 0===a&&(a=0),this.closed)return this;this.state=n;var i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,a)),this.pending=!0,this.delay=a,this.id=null!==(o=this.id)&&void 0!==o?o:this.requestAsyncId(r,this.id,a),this},t.prototype.requestAsyncId=function(n,a,o){return void 0===o&&(o=0),function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];return setInterval.apply(void 0,ua([e,t],qn(n)))}(n.flush.bind(n,this),o)},t.prototype.recycleAsyncId=function(n,a,o){if(void 0===o&&(o=0),null!=o&&this.delay===o&&!1===this.pending)return a;null!=a&&function(e){clearInterval(e)}(a)},t.prototype.execute=function(n,a){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(n,a);if(o)return o;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(n,a){var i,o=!1;try{this.work(n)}catch(r){o=!0,i=r||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var a=this.id,o=this.scheduler,i=o.actions;
1this.work=this.state=this.scheduler=null,this.pending=!1,ls(i,this),null!=a&&(this.id=this.recycleAsyncId(o,a,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(K3),_p=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(t,n,a){return void 0===n&&(n=0),new this.schedulerActionCtor(this,t).schedule(a,n)},e.now=zc.now,e}(),zo=new(function(e){function t(n,a){void 0===a&&(a=_p.now);var o=e.call(this,n,a)||this;return o.actions=[],o._active=!1,o}return zn(t,e),t.prototype.flush=function(n){var a=this.actions;if(this._active)a.push(n);else{var o;this._active=!0;do{if(o=n.execute(n.state,n.delay))break}while(n=a.shift());if(this._active=!1,o){for(;n=a.shift();)n.unsubscribe();throw o}}},t}(_p))(Z3),eA=zo,nn=new it(function(e){return e.complete()});function xp(e){return e&&De(e.schedule)}function qc(e){return e[e.length-1]}function Gc(e){return De(qc(e))?e.pop():void 0}function zi(e){return xp(qc(e))?e.pop():void 0}var Vc=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Ep(e){return De(e?.then)}function Mp(e){return De(e[Uc])}function kp(e){return Symbol.asyncIterator&&De(e?.[Symbol.asyncIterator])}function Sp(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var Ip=function nA(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Tp(e){return De(e?.[Ip])}function Op(e){return function B3(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,a=n.apply(e,t||[]),i=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function r(h){return function(m){return Promise.resolve(m).then(h,f)}}),o[Symbol.asyncIterator]=function(){return this},o;function s(h,m){a[h]&&(o[h]=function(b){return new Promise(function(g,v){i.push([h,b,g,v])>1||l(h,b)})},m&&(o[h]=m(o[h])))}function l(h,m){try{!function c(h){h.value instanceof Bo?Promise.resolve(h.value.v).then(d,f):p(i[0][2],h)}(a[h](m))}catch(b){p(i[0][3],b)}}function d(h){l("next",h)}function f(h){l("throw",h)}function p(h,m){h(m),i.shift(),i.length&&l(i[0][0],i[0][1])}}(this,arguments,function(){var t,n,a;return mp(this,function(i){switch(i.label){case 0:t=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,Bo(t.read())];case 3:return n=i.sent(),a=n.value,n.done?[4,Bo(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,Bo(a)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function Np(e){return De(e?.getReader)}function vt(e){if(e instanceof it)return e;if(null!=e){if(Mp(e))return function aA(e){return new it(function(t){var n=e[Uc]();if(De(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Vc(e))return function oA(e){return new it(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Ep(e))return function iA(e){return new it(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,yp)})}(e);if(kp(e))return Rp(e);if(Tp(e))return function rA(e){return new it(function(t){var n,a;try{for(var o=Do(e),i=o.next();!i.done;i=o.next())if(t.next(i.value),t.closed)return}catch(s){n={error:s}}finally{try{i&&!i.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}t.complete()})}(e);if(Np(e))return function sA(e){return Rp(Op(e))}(e)}throw Sp(e)}function Rp(e){return new it(function(t){(function lA(e,t){var n,a,o,i;return function D3(e,t,n,a){return new(n||(n=Promise))(function(i,r){function s(d){try{c(a.next(d))}catch(f){r(f)}}function l(d){try{c(a.throw(d))}catch(f){r(f)}}function c(d){d.done?i(d.value):function o(i){return i instanceof n?i:new n(function(r){r(i)})}(d.value).then(s,l)}c((a=a.apply(e,t||[])).next())})}(this,void 0,void 0,function(){var s;return mp(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=function j3(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];
1return t?t.call(e):(e=Do(e),n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n);function a(i){n[i]=e[i]&&function(r){return new Promise(function(s,l){!function o(i,r,s,l){Promise.resolve(l).then(function(c){i({value:c,done:s})},r)}(s,l,(r=e[i](r)).done,r.value)})}}}(e),l.label=1;case 1:return[4,n.next()];case 2:if((a=l.sent()).done)return[3,4];if(t.next(a.value),t.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]),a&&!a.done&&(i=n.return)?[4,i.call(n)]:[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 t.complete(),[2]}})})})(e,t).catch(function(n){return t.error(n)})})}function da(e,t,n,a,o){void 0===a&&(a=0),void 0===o&&(o=!1);var i=t.schedule(function(){n(),o?e.add(this.schedule(null,a)):this.unsubscribe()},a);if(e.add(i),!o)return i}function Fp(e,t){return void 0===t&&(t=0),ct(function(n,a){n.subscribe(Qe(a,function(o){return da(a,e,function(){return a.next(o)},t)},function(){return da(a,e,function(){return a.complete()},t)},function(o){return da(a,e,function(){return a.error(o)},t)}))})}function Lp(e,t){return void 0===t&&(t=0),ct(function(n,a){a.add(e.schedule(function(){return n.subscribe(a)},t))})}function Pp(e,t){if(!e)throw new Error("Iterable cannot be null");return new it(function(n){da(n,t,function(){var a=e[Symbol.asyncIterator]();da(n,t,function(){a.next().then(function(o){o.done?n.complete():n.next(o.value)})},0,!0)})})}function Bt(e,t){return t?function hA(e,t){if(null!=e){if(Mp(e))return function cA(e,t){return vt(e).pipe(Lp(t),Fp(t))}(e,t);if(Vc(e))return function fA(e,t){return new it(function(n){var a=0;return t.schedule(function(){a===e.length?n.complete():(n.next(e[a++]),n.closed||this.schedule())})})}(e,t);if(Ep(e))return function uA(e,t){return vt(e).pipe(Lp(t),Fp(t))}(e,t);if(kp(e))return Pp(e,t);if(Tp(e))return function dA(e,t){return new it(function(n){var a;return da(n,t,function(){a=e[Ip](),da(n,t,function(){var o,i,r;try{i=(o=a.next()).value,r=o.done}catch(s){return void n.error(s)}r?n.complete():n.next(i)},0,!0)}),function(){return De(a?.return)&&a.return()}})}(e,t);if(Np(e))return function pA(e,t){return Pp(Op(e),t)}(e,t)}throw Sp(e)}(e,t):vt(e)}function Xe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Bt(e,zi(e))}function rt(e,t){var n=De(e)?e:function(){return e};return new it(function(o){return o.error(n())})}function Dp(e){return e instanceof Date&&!isNaN(e)}var gA=Dc(function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}});function vA(e){throw new gA(e)}function Et(e,t){return ct(function(n,a){var o=0;n.subscribe(Qe(a,function(i){a.next(e.call(t,i,o++))}))})}var yA=Array.isArray;function Bp(e){return Et(function(t){return function AA(e,t){return yA(t)?e.apply(void 0,ua([],qn(t))):e(t)}(e,t)})}var wA=Array.isArray,CA=Object.getPrototypeOf,_A=Object.prototype,xA=Object.keys;function SA(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=zi(e),a=Gc(e),o=function EA(e){if(1===e.length){var t=e[0];if(wA(t))return{args:t,keys:null};if(function MA(e){return e&&"object"==typeof e&&CA(e)===_A}(t)){var n=xA(t);return{args:n.map(function(a){return t[a]}),keys:n}}}return{args:e,keys:null}}(e),i=o.args,r=o.keys;if(0===i.length)return Bt([],n);var s=new it(function IA(e,t,n){return void 0===n&&(n=io),function(a){jp(t,function(){for(var o=e.length,i=new Array(o),r=o,s=o,l=function(d){jp(t,function(){var f=Bt(e[d],t),p=!1;f.subscribe(Qe(a,function(h){i[d]=h,p||(p=!0,s--),s||a.next(n(i.slice()))},function(){--r||a.complete()}))},a)},c=0;c<o;c++)l(c)},a)}}(i,n,r?function(l){return function kA(e,t){return e.reduce(function(n,a,o){return n[a]=t[o],n},{})}(r,l)}:io));return a?s.pipe(Bp(a)):s}
1function jp(e,t,n){e?da(n,e,t):t()}function qo(e,t,n){return void 0===n&&(n=1/0),De(t)?qo(function(a,o){return Et(function(i,r){return t(a,i,o,r)})(vt(e(a,o)))},n):("number"==typeof t&&(n=t),ct(function(a,o){return function TA(e,t,n,a,o,i,r){var l=[],c=0,d=0,f=!1,p=function(){f&&!l.length&&!c&&t.complete()},m=function(b){c++;var g=!1;vt(n(b,d++)).subscribe(Qe(t,function(v){t.next(v)},function(){g=!0},void 0,function(){if(g)try{c--;for(var v=function(){var _=l.shift();r||m(_)};l.length&&c<a;)v();p()}catch(_){t.error(_)}}))};return e.subscribe(Qe(t,function(b){return c<a?m(b):l.push(b)},function(){f=!0,p()})),function(){}}(a,o,e,n)}))}function Up(e){return void 0===e&&(e=1/0),qo(io,e)}function fs(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function OA(){return Up(1)}()(Bt(e,zi(e)))}var NA=["addListener","removeListener"],RA=["addEventListener","removeEventListener"],FA=["on","off"];function Go(e,t,n,a){if(De(n)&&(a=n,n=void 0),a)return Go(e,t,n).pipe(Bp(a));var o=qn(function DA(e){return De(e.addEventListener)&&De(e.removeEventListener)}(e)?RA.map(function(s){return function(l){return e[s](t,l,n)}}):function LA(e){return De(e.addListener)&&De(e.removeListener)}(e)?NA.map(zp(e,t)):function PA(e){return De(e.on)&&De(e.off)}(e)?FA.map(zp(e,t)):[],2),i=o[0],r=o[1];if(!i&&Vc(e))return qo(function(s){return Go(s,t,n)})(vt(e));if(!i)throw new TypeError("Invalid event target");return new it(function(s){var l=function(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return s.next(1<c.length?c:c[0])};return i(l),function(){return r(l)}})}function zp(e,t){return function(n){return function(a){return e[n](t,a)}}}function Yc(e,t,n){void 0===e&&(e=0),void 0===n&&(n=eA);var a=-1;return null!=t&&(xp(t)?n=t:a=t),new it(function(o){var i=Dp(e)?+e-n.now():e;i<0&&(i=0);var r=0;return n.schedule(function(){o.closed||(o.next(r++),0<=a?this.schedule(void 0,a):o.complete())},i)})}function Wc(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=zi(e),a=function tA(e,t){return"number"==typeof qc(e)?e.pop():t}(e,1/0),o=e;return o.length?1===o.length?vt(o[0]):Up(a)(Bt(o,n)):nn}var jA=Array.isArray;function En(e,t){return ct(function(n,a){var o=0;n.subscribe(Qe(a,function(i){return e.call(t,i,o++)&&a.next(i)}))})}function pn(e){return ct(function(t,n){var i,a=null,o=!1;a=t.subscribe(Qe(n,void 0,void 0,function(r){i=vt(e(r,pn(e)(t))),a?(a.unsubscribe(),a=null,i.subscribe(n)):o=!0})),o&&(a.unsubscribe(),a=null,i.subscribe(n))})}function qp(e,t){return De(t)?qo(e,t,1):qo(e,1)}function Gn(e){return e<=0?function(){return nn}:ct(function(t,n){var a=0;t.subscribe(Qe(n,function(o){++a<=e&&(n.next(o),e<=a&&n.complete())}))})}function qi(e,t){void 0===t&&(t=zo);var n=Yc(e,t);return function WA(e,t){return qo(function(n,a){return vt(e(n,a)).pipe(Gn(1),function YA(e){return Et(function(){return e})}(n))})}(function(){return n})}function Gi(e,t){return void 0===t&&(t=io),e=e??HA,ct(function(n,a){var o,i=!0;n.subscribe(Qe(a,function(r){var s=t(r);(i||!e(o,s))&&(i=!1,o=s,a.next(r))}))})}function HA(e,t){return e===t}function Hc(e,t){return ct(function GA(e,t,n,a,o){return function(i,r){var s=n,l=t,c=0;i.subscribe(Qe(r,function(d){var f=c++;l=s?e(l,d,f):(s=!0,d),r.next(l)},o))}}(e,t,arguments.length>=2))}function $c(e){void 0===e&&(e={});var t=e.connector,n=void 0===t?function(){return new Re}:t,a=e.resetOnError,o=void 0===a||a,i=e.resetOnComplete,r=void 0===i||i,s=e.resetOnRefCountZero,l=void 0===s||s;return function(c){var d,f,p,h=0,m=!1,b=!1,g=function(){f?.unsubscribe(),f=void 0},v=function(){g(),d=p=void 0,m=b=!1},_=function(){var I=d;v(),I?.unsubscribe()};return ct(function(I,N){h++,!b&&!m&&g();var S=p=p??n();N.add(function(){0===--h&&!b&&!m&&(f=Qc(_,l))}),S.subscribe(N),!d&&h>0&&(d=new Ui({next:function(G){return S.next(G)},error:function(G){b=!0,g(),f=Qc(v,o,G),S.error(G)},complete:function(){m=!0,g(),f=Qc(v,r),S.complete()}}),vt(I).subscribe(d))})(c)}}function Qc(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];if(!0!==t){if(!1!==t){var o=new Ui({next:function(){o.unsubscribe(),e()}});return vt(t.apply(void 0,ua([],qn(n)))).subscribe(o)}}else e()}
1function Jc(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=zi(e);return ct(function(a,o){(n?fs(e,a,n):fs(e,a)).subscribe(o)})}function _e(e,t){return ct(function(n,a){var o=null,i=0,r=!1,s=function(){return r&&!o&&a.complete()};n.subscribe(Qe(a,function(l){o?.unsubscribe();var c=0,d=i++;vt(e(l,d)).subscribe(o=Qe(a,function(f){return a.next(t?t(l,f,d,c++):f)},function(){o=null,s()}))},function(){r=!0,s()}))})}function ds(e){return ct(function(t,n){vt(e).subscribe(Qe(n,function(){return n.complete()},ji)),!n.closed&&t.subscribe(n)})}function Oa(e,t,n){var a=De(e)||t||n?{next:e,error:t,complete:n}:e;return a?ct(function(o,i){var r;null===(r=a.subscribe)||void 0===r||r.call(a);var s=!0;o.subscribe(Qe(i,function(l){var c;null===(c=a.next)||void 0===c||c.call(a,l),i.next(l)},function(){var l;s=!1,null===(l=a.complete)||void 0===l||l.call(a),i.complete()},function(l){var c;s=!1,null===(c=a.error)||void 0===c||c.call(a,l),i.error(l)},function(){var l,c;s&&(null===(l=a.unsubscribe)||void 0===l||l.call(a)),null===(c=a.finalize)||void 0===c||c.call(a)}))}):io}function Gp(e,t,n){void 0===t&&(t=zo);var a=Yc(e,t);return function ZA(e,t){return ct(function(n,a){var o=t??{},i=o.leading,r=void 0===i||i,s=o.trailing,l=void 0!==s&&s,c=!1,d=null,f=null,p=!1,h=function(){f?.unsubscribe(),f=null,l&&(g(),p&&a.complete())},m=function(){f=null,p&&a.complete()},b=function(v){return f=vt(e(v)).subscribe(Qe(a,h,m))},g=function(){if(c){c=!1;var v=d;d=null,a.next(v),!p&&b(v)}};n.subscribe(Qe(a,function(v){c=!0,d=v,(!f||f.closed)&&(r?g():b(v))},function(){p=!0,(!(l&&c&&f)||f.closed)&&a.complete()}))})}(function(){return a},n)}function Vp(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Gc(e);return ct(function(a,o){for(var i=e.length,r=new Array(i),s=e.map(function(){return!1}),l=!1,c=function(f){vt(e[f]).subscribe(Qe(o,function(p){r[f]=p,!l&&!s[f]&&(s[f]=!0,(l=s.every(io))&&(s=null))},ji))},d=0;d<i;d++)c(d);a.subscribe(Qe(o,function(f){if(l){var p=ua([f],qn(r));o.next(n?n.apply(void 0,ua([],qn(p))):p)}}))})}var Zc,Wp,Vn=(e=>(e[e.Idle=0]="Idle",e[e.Error=1]="Error",e[e.Connected=2]="Connected",e))(Vn||{}),we=(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))(we||{}),an=(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))(an||{}),yt=(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))(yt||{}),pa=(e=>(e[e.Chat=0]="Chat",e[e.OfflineForm=1]="OfflineForm",e[e.Rate=2]="Rate",e[e.Auth=3]="Auth",e))(pa||{}),jt=(e=>(e[e.Text=0]="Text",e[e.SingleChoice=1]="SingleChoice",e[e.MultipleChoice=2]="MultipleChoice",e))(jt||{}),Na=(e=>(e[e.Text=0]="Text",e[e.File=1]="File",e[e.Options=2]="Options",e))(Na||{}),hn=(e=>(e[e.Normal=0]="Normal",e[e.Completed=1]="Completed",e))(hn||{}),Yp={},Kc={};function XA(){return Wp||(Wp=1,Zc=function e(t,n){for(var a=new Array(arguments.length-1),o=0,i=2,r=!0;i<arguments.length;)a[o++]=arguments[i++];return new Promise(function(s,l){a[o]=function(c){if(r)if(r=!1,c)l(c);else{for(var d=new Array(arguments.length-1),f=0;f<d.length;)d[f++]=arguments[f];s.apply(null,d)}};try{t.apply(n||null,a)}catch(c){r&&(r=!1,l(c))}})}),Zc}var $p,Xc,Qp,eu,Jp,tu,Kp,Hp={};function ew(){return $p||($p=1,function(e){var t=e;t.length=function(r){var s=r.length;if(!s)return 0;for(var l=0;--s%4>1&&"="===r.charAt(s);)++l;return Math.ceil(3*r.length)/4-l};for(var n=new Array(64),a=new Array(123),o=0;o<64;)a[n[o]=o<26?o+65:o<52?o+71:o<62?o-4:o-59|43]=o++;t.encode=function(r,s,l){for(var h,c=null,d=[],f=0,p=0;s<l;){var m=r[s++];switch(p){case 0:d[f++]=n[m>>2],h=(3&m)<<4,p=1;break;case 1:d[f++]=n[h|m>>4],h=(15&m)<<2,p=2;break;case 2:d[f++]=n[h|m>>6],d[f++]=n[63&m],p=0}f>8191&&((c||(c=[])).push(String.fromCharCode.apply(String,d)),f=0)}
vendor: 4,516 bytes, line 1
1return p&&(d[f++]=n[h],d[f++]=61,1===p&&(d[f++]=61)),c?(f&&c.push(String.fromCharCode.apply(String,d.slice(0,f))),c.join("")):String.fromCharCode.apply(String,d.slice(0,f))};var i="invalid encoding";t.decode=function(r,s,l){for(var f,c=l,d=0,p=0;p<r.length;){var h=r.charCodeAt(p++);if(61===h&&d>1)break;if(void 0===(h=a[h]))throw Error(i);switch(d){case 0:f=h,d=1;break;case 1:s[l++]=f<<2|(48&h)>>4,f=h,d=2;break;case 2:s[l++]=(15&f)<<4|(60&h)>>2,f=h,d=3;break;case 3:s[l++]=(3&f)<<6|h,d=0}}if(1===d)throw Error(i);return l-c},t.test=function(r){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(r)}}(Hp)),Hp}function tw(){if(Qp)return Xc;function e(){this._listeners={}}return Qp=1,Xc=e,e.prototype.on=function(t,n,a){return(this._listeners[t]||(this._listeners[t]=[])).push({fn:n,ctx:a||this}),this},e.prototype.off=function(t,n){if(void 0===t)this._listeners={};else if(void 0===n)this._listeners[t]=[];else for(var a=this._listeners[t],o=0;o<a.length;)a[o].fn===n?a.splice(o,1):++o;return this},e.prototype.emit=function(t){var n=this._listeners[t];if(n){for(var a=[],o=1;o<arguments.length;)a.push(arguments[o++]);for(o=0;o<n.length;)n[o].fn.apply(n[o++].ctx,a)}return this},Xc}function nw(){if(Jp)return eu;function e(i){return typeof Float32Array<"u"?function(){var r=new Float32Array([-0]),s=new Uint8Array(r.buffer),l=128===s[3];function c(h,m,b){r[0]=h,m[b]=s[0],m[b+1]=s[1],m[b+2]=s[2],m[b+3]=s[3]}function d(h,m,b){r[0]=h,m[b]=s[3],m[b+1]=s[2],m[b+2]=s[1],m[b+3]=s[0]}function f(h,m){return s[0]=h[m],s[1]=h[m+1],s[2]=h[m+2],s[3]=h[m+3],r[0]}function p(h,m){return s[3]=h[m],s[2]=h[m+1],s[1]=h[m+2],s[0]=h[m+3],r[0]}i.writeFloatLE=l?c:d,i.writeFloatBE=l?d:c,i.readFloatLE=l?f:p,i.readFloatBE=l?p:f}():function(){function r(l,c,d,f){var p=c<0?1:0;if(p&&(c=-c),0===c)l(1/c>0?0:2147483648,d,f);else if(isNaN(c))l(2143289344,d,f);else if(c>34028234663852886e22)l((p<<31|2139095040)>>>0,d,f);else if(c<11754943508222875e-54)l((p<<31|Math.round(c/1401298464324817e-60))>>>0,d,f);else{var h=Math.floor(Math.log(c)/Math.LN2);l((p<<31|h+127<<23|8388607&Math.round(c*Math.pow(2,-h)*8388608))>>>0,d,f)}}function s(l,c,d){var f=l(c,d),p=2*(f>>31)+1,h=f>>>23&255,m=8388607&f;return 255===h?m?NaN:p*(1/0):0===h?1401298464324817e-60*p*m:p*Math.pow(2,h-150)*(m+8388608)}i.writeFloatLE=r.bind(null,t),i.writeFloatBE=r.bind(null,n),i.readFloatLE=s.bind(null,a),i.readFloatBE=s.bind(null,o)}(),typeof Float64Array<"u"?function(){var r=new Float64Array([-0]),s=new Uint8Array(r.buffer),l=128===s[7];function c(h,m,b){r[0]=h,m[b]=s[0],m[b+1]=s[1],m[b+2]=s[2],m[b+3]=s[3],m[b+4]=s[4],m[b+5]=s[5],m[b+6]=s[6],m[b+7]=s[7]}function d(h,m,b){r[0]=h,m[b]=s[7],m[b+1]=s[6],m[b+2]=s[5],m[b+3]=s[4],m[b+4]=s[3],m[b+5]=s[2],m[b+6]=s[1],m[b+7]=s[0]}function f(h,m){return s[0]=h[m],s[1]=h[m+1],s[2]=h[m+2],s[3]=h[m+3],s[4]=h[m+4],s[5]=h[m+5],s[6]=h[m+6],s[7]=h[m+7],r[0]}function p(h,m){return s[7]=h[m],s[6]=h[m+1],s[5]=h[m+2],s[4]=h[m+3],s[3]=h[m+4],s[2]=h[m+5],s[1]=h[m+6],s[0]=h[m+7],r[0]}i.writeDoubleLE=l?c:d,i.writeDoubleBE=l?d:c,i.readDoubleLE=l?f:p,i.readDoubleBE=l?p:f}():function(){function r(l,c,d,f,p,h){var m=f<0?1:0;if(m&&(f=-f),0===f)l(0,p,h+c),l(1/f>0?0:2147483648,p,h+d);else if(isNaN(f))l(0,p,h+c),l(2146959360,p,h+d);else if(f>17976931348623157e292)l(0,p,h+c),l((m<<31|2146435072)>>>0,p,h+d);else{var b;if(f<22250738585072014e-324)l((b=f/5e-324)>>>0,p,h+c),l((m<<31|b/4294967296)>>>0,p,h+d);else{var g=Math.floor(Math.log(f)/Math.LN2);1024===g&&(g=1023),l(4503599627370496*(b=f*Math.pow(2,-g))>>>0,p,h+c),l((m<<31|g+1023<<20|1048576*b&1048575)>>>0,p,h+d)}}}function s(l,c,d,f,p){var h=l(f,p+c),m=l(f,p+d),b=2*(m>>31)+1,g=m>>>20&2047,v=4294967296*(1048575&m)+h;return 2047===g?v?NaN:b*(1/0):0===g?5e-324*b*v:b*Math.pow(2,g-1075)*(v+4503599627370496)}i.writeDoubleLE=r.bind(null,t,0,4),i.writeDoubleBE=r.bind(null,n,4,0),i.readDoubleLE=s.bind(null,a,0,4),i.readDoubleBE=s.bind(null,o,4,0)}(),i}function t(i,r,s){r[s]=255&i,r[s+1]=i>>>8&255,r[s+2]=i>>>16&255,r[s+3]=i>>>24}function n(i,r,s){r[s]=i>>>24,r[s+1]=i>>>16&255,r[s+2]=i>>>8&255,r[s+3]=255&i}function a(i,r){return(i[r]|i[r+1]<<8|i[r+2]<<16|i[r+3]<<24)>>>0}function o(i,r){return(i[r]<<24|i[r+1]<<16|i[r+2]<<8|i[r+3])>>>0}return Jp=1,eu=e(e)}function aw(){return Kp?tu:(Kp=1,tu=function e(t){return null})}var Xp,nu,e1,au,t1,n1,ou,a1,iu,i1,ru,r1,su,l1,Zp={};function ow(){return Xp||(Xp=1,(t=Zp).length=function(n){for(var a=0,o=0,i=0;i<n.length;++i)(o=n.charCodeAt(i))<128?a+=1:o<2048?a+=2:55296==(64512&o)&&56320==(64512&n.charCo
1deAt(i+1))?(++i,a+=4):a+=3;return a},t.read=function(n,a,o){if(o-a<1)return"";for(var c,r=null,s=[],l=0;a<o;)(c=n[a++])<128?s[l++]=c:c>191&&c<224?s[l++]=(31&c)<<6|63&n[a++]:c>239&&c<365?(c=((7&c)<<18|(63&n[a++])<<12|(63&n[a++])<<6|63&n[a++])-65536,s[l++]=55296+(c>>10),s[l++]=56320+(1023&c)):s[l++]=(15&c)<<12|(63&n[a++])<<6|63&n[a++],l>8191&&((r||(r=[])).push(String.fromCharCode.apply(String,s)),l=0);return r?(l&&r.push(String.fromCharCode.apply(String,s.slice(0,l))),r.join("")):String.fromCharCode.apply(String,s.slice(0,l))},t.write=function(n,a,o){for(var r,s,i=o,l=0;l<n.length;++l)(r=n.charCodeAt(l))<128?a[o++]=r:r<2048?(a[o++]=r>>6|192,a[o++]=63&r|128):55296==(64512&r)&&56320==(64512&(s=n.charCodeAt(l+1)))?(++l,a[o++]=(r=65536+((1023&r)<<10)+(1023&s))>>18|240,a[o++]=r>>12&63|128,a[o++]=r>>6&63|128,a[o++]=63&r|128):(a[o++]=r>>12|224,a[o++]=r>>6&63|128,a[o++]=63&r|128);return o-i}),Zp;var t}function iw(){return e1?nu:(e1=1,nu=function e(t,n,a){var o=a||8192,i=o>>>1,r=null,s=o;return function(l){if(l<1||l>i)return t(l);s+l>o&&(r=t(o),s=0);var c=n.call(r,s,s+=l);return 7&s&&(s=1+(7|s)),c}})}function rw(){if(t1)return au;t1=1,au=t;var e=ro();function t(i,r){this.lo=i>>>0,this.hi=r>>>0}var n=t.zero=new t(0,0);n.toNumber=function(){return 0},n.zzEncode=n.zzDecode=function(){return this},n.length=function(){return 1};var a=t.zeroHash="\0\0\0\0\0\0\0\0";t.fromNumber=function(i){if(0===i)return n;var r=i<0;r&&(i=-i);var s=i>>>0,l=(i-s)/4294967296>>>0;return r&&(l=~l>>>0,s=~s>>>0,++s>4294967295&&(s=0,++l>4294967295&&(l=0))),new t(s,l)},t.from=function(i){if("number"==typeof i)return t.fromNumber(i);if(e.isString(i)){if(!e.Long)return t.fromNumber(parseInt(i,10));i=e.Long.fromString(i)}return i.low||i.high?new t(i.low>>>0,i.high>>>0):n},t.prototype.toNumber=function(i){if(!i&&this.hi>>>31){var r=1+~this.lo>>>0,s=~this.hi>>>0;return r||(s=s+1>>>0),-(r+4294967296*s)}return this.lo+4294967296*this.hi},t.prototype.toLong=function(i){return e.Long?new e.Long(0|this.lo,0|this.hi,!!i):{low:0|this.lo,high:0|this.hi,unsigned:!!i}};var o=String.prototype.charCodeAt;return t.fromHash=function(i){return i===a?n:new t((o.call(i,0)|o.call(i,1)<<8|o.call(i,2)<<16|o.call(i,3)<<24)>>>0,(o.call(i,4)|o.call(i,5)<<8|o.call(i,6)<<16|o.call(i,7)<<24)>>>0)},t.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},t.prototype.zzEncode=function(){var i=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^i)>>>0,this.lo=(this.lo<<1^i)>>>0,this},t.prototype.zzDecode=function(){var i=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^i)>>>0,this.hi=(this.hi>>>1^i)>>>0,this},t.prototype.length=function(){var i=this.lo,r=(this.lo>>>28|this.hi<<4)>>>0,s=this.hi>>>24;return 0===s?0===r?i<16384?i<128?1:2:i<2097152?3:4:r<16384?r<128?5:6:r<2097152?7:8:s<128?9:10},au}function ro(){return n1||(n1=1,function(e){var t=e;function n(o,i,r){for(var s=Object.keys(i),l=0;l<s.length;++l)(void 0===o[s[l]]||!r)&&(o[s[l]]=i[s[l]]);return o}function a(o){function i(r,s){if(!(this instanceof i))return new i(r,s);Object.defineProperty(this,"message",{get:function(){return r}}),Error.captureStackTrace?Error.captureStackTrace(this,i):Object.defineProperty(this,"stack",{value:(new Error).stack||""}),s&&n(this,s)}return i.prototype=Object.create(Error.prototype,{constructor:{value:i,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}}),i}t.asPromise=XA(),t.base64=ew(),t.EventEmitter=tw(),t.float=nw(),t.inquire=aw(),t.utf8=ow(),t.pool=iw(),t.LongBits=rw(),t.isNode=!!(typeof wo<"u"&&wo&&wo.process&&wo.process.versions&&wo.process.versions.node),t.global=t.isNode&&wo||typeof window<"u"&&window||typeof self<"u"&&self||Kc,t.emptyArray=Object.freeze?Object.freeze([]):[],t.emptyObject=Object.freeze?Object.freeze({}):{},t.isInteger=Number.isInteger||function(o){return"number"==typeof o&&isFinite(o)&&Math.floor(o)===o},t.isString=function(o){return"string"==typeof o||o instanceof String},t.isObject=function(o){return o&&"object"==typeof o},t.isset=t.isSet=function(o,i){var r=o[i];return!(null==r||!o.hasOwnProperty(i))&&("object"!=typeof r||(Array.isArray(r)?r.length:Object.keys(r).length)>0)},t.Buffer=function(){try{var o=t.inquire("buffer").Buffer;return o.prototype.utf8Write?o:null}catch{return null}}(),t._Buffer_from=null,t._Buffer_allocUnsafe=null,t.newBuffer=function(o){return"number"==typeof o?t.Buffer?t._Buffer_allocUnsafe(o):new t.Array(o):t.Buffer?t._Buffer_from(o):typeof Uint8Array>"u"?o:new Uint8Array(o)},t.Array=typeof Uint8Array<"u"?Uint8Array:Array,t.Long=t.global.dcodeIO&&t.global.dcodeIO.Long||t.global.Long||t.inquire("long"),t.key2Re=/^true|false|0|1$/,t.key32Re=/^-?(?:0|[1-9][0-9]*)$/,t.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,t.longToHash=function(o){return o?t.LongBits.from(o).toHash():t.LongBits.zeroHash},t.longFromHash=function(o,i){var r=t.LongBits.fromHash(o);return t.Long?t.Long.fromBits(r.lo,r.hi,i):r.toNumber(!!i)},t.merge=n,t.lcFirst=function(o){return o.charAt(0).toLowerCase()+o.substring(1)},t.newError=a,t.ProtocolError=a("ProtocolError"),t.oneOfGetter=function(o){for(var i={},r=0;r<o.length;++r)i[o[r]]=1;return function(){for(var s=Object.keys(this),l=s.length-1;l>-1;--l)if(1===i[s[l]]&&null!=this[s[l]])return s[l]}},t.oneOfSetter=function(o){return function(i){for(var r=0;r<o.length;++r)o[r]!==i&&delete this[o[r]]}},t.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},t._configure=function(){var o=t.Buffer;o?(t._Buffer_from=o.from!==Uint8Array.from&&o.from||function(i,r){return new o(i,r)},t._Buffer_allocUnsafe=o.allocUnsafe||function(i){return new o(i)}):t._Buffer_from=t._Buffer_allocUnsafe=null}}(Kc)),Kc}function o1(){if(a1)return ou;a1=1,ou=l;var t,e=ro(),n=e.LongBits,a=e.base64,o=e.utf8;function i(g,v,_){this.fn=g,this.len=v,this.next=void 0,this.val=_}function r(){}function s(g){this.head=g.head,this.tail=g.tail,this.len=g.len,this.next=g.states}function l(){this.len=0,this.head=new i(r,0,0),this.tail=this.head,this.states=null}var c=function(){return e.Buffer?function(){return(l.create=function(){return new t})()}:function(){return new l}};function d(g,v,_){v[_]=255&g}function p(g,v){this.len=g,this.next=void 0,this.val=v}function h(g,v,_){for(;g.hi;)v[_++]=127&g.lo|128,g.lo=(g.lo>>>7|g.hi<<25)>>>0,g.hi>>>=7;for(;g.lo>127;)v[_++]=127&g.lo|128,g.lo=g.lo>>>7;v[_++]=g.lo}function m(g,v,_){v[_]=255&g,v[_+1]=g>>>8&255,v[_+2]=g>>>16&255,v[_+3]=g>>
vendor: 5,975 bytes, line 1
1>24}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,v,_){return this.tail=this.tail.next=new i(g,v,_),this.len+=v,this},(p.prototype=Object.create(i.prototype)).fn=function f(g,v,_){for(;g>127;)v[_++]=127&g|128,g>>>=7;v[_]=g},l.prototype.uint32=function(g){return this.len+=(this.tail=this.tail.next=new p((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(h,10,n.fromNumber(g)):this.uint32(g)},l.prototype.sint32=function(g){return this.uint32((g<<1^g>>31)>>>0)},l.prototype.int64=l.prototype.uint64=function(g){var v=n.from(g);return this._push(h,v.length(),v)},l.prototype.sint64=function(g){var v=n.from(g).zzEncode();return this._push(h,v.length(),v)},l.prototype.bool=function(g){return this._push(d,1,g?1:0)},l.prototype.sfixed32=l.prototype.fixed32=function(g){return this._push(m,4,g>>>0)},l.prototype.sfixed64=l.prototype.fixed64=function(g){var v=n.from(g);return this._push(m,4,v.lo)._push(m,4,v.hi)},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,v,_){v.set(g,_)}:function(g,v,_){for(var I=0;I<g.length;++I)v[_+I]=g[I]};return l.prototype.bytes=function(g){var v=g.length>>>0;if(!v)return this._push(d,1,0);if(e.isString(g)){var _=l.alloc(v=a.length(g));a.decode(g,_,0),g=_}return this.uint32(v)._push(b,v,g)},l.prototype.string=function(g){var v=o.length(g);return v?this.uint32(v)._push(o.write,v,g):this._push(d,1,0)},l.prototype.fork=function(){return this.states=new s(this),this.head=this.tail=new i(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 i(r,0,0),this.len=0),this},l.prototype.ldelim=function(){var g=this.head,v=this.tail,_=this.len;return this.reset().uint32(_),_&&(this.tail.next=g.next,this.tail=v,this.len+=_),this},l.prototype.finish=function(){for(var g=this.head.next,v=this.constructor.alloc(this.len),_=0;g;)g.fn(g.val,v,_),_+=g.len,g=g.next;return v},l._configure=function(g){t=g,l.create=c(),t._configure()},ou}function sw(){if(i1)return iu;i1=1,iu=n;var e=o1();(n.prototype=Object.create(e.prototype)).constructor=n;var t=ro();function n(){e.call(this)}function a(o,i,r){o.length<40?t.utf8.write(o,i,r):i.utf8Write?i.utf8Write(o,r):i.write(o,r)}return n._configure=function(){n.alloc=t._Buffer_allocUnsafe,n.writeBytesBuffer=t.Buffer&&t.Buffer.prototype instanceof Uint8Array&&"set"===t.Buffer.prototype.set.name?function(o,i,r){i.set(o,r)}:function(o,i,r){if(o.copy)o.copy(i,r,0,o.length);else for(var s=0;s<o.length;)i[r++]=o[s++]}},n.prototype.bytes=function(o){t.isString(o)&&(o=t._Buffer_from(o,"base64"));var i=o.length>>>0;return this.uint32(i),i&&this._push(n.writeBytesBuffer,i,o),this},n.prototype.string=function(o){var i=t.Buffer.byteLength(o);return this.uint32(i),i&&this._push(a,i,o),this},n._configure(),iu}function s1(){if(r1)return ru;r1=1,ru=i;var t,e=ro(),n=e.LongBits,a=e.utf8;function o(f,p){return RangeError("index out of range: "+f.pos+" + "+(p||1)+" > "+f.len)}function i(f){this.buf=f,this.pos=0,this.len=f.length}var r=typeof Uint8Array<"u"?function(f){if(f instanceof Uint8Array||Array.isArray(f))return new i(f);throw Error("illegal buffer")}:function(f){if(Array.isArray(f))return new i(f);throw Error("illegal buffer")},s=function(){return e.Buffer?function(f){return(i.create=function(p){return e.Buffer.isBuffer(p)?new t(p):r(p)})(f)}:r};function l(){var f=new n(0,0),p=0;if(!(this.len-this.pos>4)){for(;p<3;++p){if(this.pos>=this.len)throw o(this);if(f.lo=(f.lo|(127&this.buf[this.pos])<<7*p)>>>0,this.buf[this.pos++]<128)return f}return f.lo=(f.lo|(127&this.buf[this.pos++])<<7*p)>>>0,f}for(;p<4;++p)if(f.lo=(f.lo|(127&this.buf[this.pos])<<7*p)>>>0,this.buf[this.pos++]<128)return f;if(f.lo=(f.lo|(127&this.buf[this.pos])<<28)>>>0,f.hi=(f.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return f;if(p=0,this.len-this.pos>4){for(;p<5;++p)if(f.hi=(f.hi|(127&this.buf[this.pos])<<7*p+3)>>>0,this.buf[this.pos++]<128)return f}else for(;p<5;++p){if(this.pos>=this.len)throw o(this);if(f.hi=(f.hi|(127&this.buf[this.pos])<<7*p+3)>>>0,this.buf[this.pos++]<128)return f}throw Error("invalid varint encoding")}function c(f,p){return(f[p-4]|f[p-3]<<8|f[p-2]<<16|f[p-1]<<24)>>>0}function d(){if(this.pos+8>this.len)throw o(this,8);return new n(c(this.buf,this.pos+=4),c(this.buf,this.pos+=4))}return i.create=s(),i.prototype._slice=e.Array.prototype.subarray||e.Array.prototype.slice,i.prototype.uint32=function(){var f=4294967295;return function(){if(f=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128||(f=(f|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)||(f=(f|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)||(f=(f|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)||(f=(f|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128))return f;if((this.pos+=5)>this.len)throw this.pos=this.len,o(this,10);return f}}(),i.prototype.int32=function(){return 0|this.uint32()},i.prototype.sint32=function(){var f=this.uint32();return f>>>1^-(1&f)},i.prototype.bool=function(){return 0!==this.uint32()},i.prototype.fixed32=function(){if(this.pos+4>this.len)throw o(this,4);return c(this.buf,this.pos+=4)},i.prototype.sfixed32=function(){if(this.pos+4>this.len)throw o(this,4);return 0|c(this.buf,this.pos+=4)},i.prototype.float=function(){if(this.pos+4>this.len)throw o(this,4);var f=e.float.readFloatLE(this.buf,this.pos);return this.pos+=4,f},i.prototype.double=function(){if(this.pos+8>this.len)throw o(this,4);var f=e.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,f},i.prototype.bytes=function(){var f=this.uint32(),p=this.pos,h=this.pos+f;if(h>this.len)throw o(this,f);
1if(this.pos+=f,Array.isArray(this.buf))return this.buf.slice(p,h);if(p===h){var m=e.Buffer;return m?m.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,p,h)},i.prototype.string=function(){var f=this.bytes();return a.read(f,0,f.length)},i.prototype.skip=function(f){if("number"==typeof f){if(this.pos+f>this.len)throw o(this,f);this.pos+=f}else do{if(this.pos>=this.len)throw o(this)}while(128&this.buf[this.pos++]);return this},i.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(;4!=(f=7&this.uint32());)this.skipType(f);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+f+" at offset "+this.pos)}return this},i._configure=function(f){t=f,i.create=s(),t._configure();var p=e.Long?"toLong":"toNumber";e.merge(i.prototype,{int64:function(){return l.call(this)[p](!1)},uint64:function(){return l.call(this)[p](!0)},sint64:function(){return l.call(this).zzDecode()[p](!1)},fixed64:function(){return d.call(this)[p](!0)},sfixed64:function(){return d.call(this)[p](!1)}})},ru}function lw(){if(l1)return su;l1=1,su=n;var e=s1();(n.prototype=Object.create(e.prototype)).constructor=n;var t=ro();function n(a){e.call(this,a)}return n._configure=function(){t.Buffer&&(n.prototype._slice=t.Buffer.prototype.slice)},n.prototype.string=function(){var a=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+a,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+a,this.len))},n._configure(),su}var lu,u1,f1,d1,p1,h1,m1,g1,c1={};function cw(){if(u1)return lu;u1=1,lu=t;var e=ro();function t(n,a,o){if("function"!=typeof n)throw TypeError("rpcImpl must be a function");e.EventEmitter.call(this),this.rpcImpl=n,this.requestDelimited=!!a,this.responseDelimited=!!o}return(t.prototype=Object.create(e.EventEmitter.prototype)).constructor=t,t.prototype.rpcCall=function n(a,o,i,r,s){if(!r)throw TypeError("request must be specified");var l=this;if(!s)return e.asPromise(n,l,a,o,i,r);if(l.rpcImpl)try{return l.rpcImpl(a,o[l.requestDelimited?"encodeDelimited":"encode"](r).finish(),function(c,d){if(c)return l.emit("error",c,a),s(c);if(null!==d){if(!(d instanceof i))try{d=i[l.responseDelimited?"decodeDelimited":"decode"](d)}catch(f){return l.emit("error",f,a),s(f)}return l.emit("data",d,a),s(null,d)}l.end(!0)})}catch(c){return l.emit("error",c,a),void setTimeout(function(){s(c)},0)}else setTimeout(function(){s(Error("already ended"))},0)},t.prototype.end=function(n){return this.rpcImpl&&(n||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this},lu}function uw(){return f1||(f1=1,c1.Service=cw()),c1}function fw(){return p1||(p1=1,d1={}),d1}function dw(){return h1||(h1=1,function(e){var t=e;function n(){t.util._configure(),t.Writer._configure(t.BufferWriter),t.Reader._configure(t.BufferReader)}t.build="minimal",t.Writer=o1(),t.BufferWriter=sw(),t.Reader=s1(),t.BufferReader=lw(),t.util=ro(),t.rpc=uw(),t.roots=fw(),t.configure=n,n()}(Yp)),Yp}function pw(){return g1||(g1=1,m1=dw()),m1}var Vi=pw();const ce=Vi.Reader,Be=Vi.Writer,Vo=Vi.util,T=Vi.roots.default||(Vi.roots.default={});T.ErrorCodes=(()=>{const e={},t=Object.create(e);return t[e[-1]="ConferenceWithPinDoesNotExist"]=-1,t[e[-2]="ConferenceWithPinAlreadyExists"]=-2,t[e[-3]="ConferencePinAndIdDoesNotMatch"]=-3,t[e[-4]="ConferenceAccessDenied"]=-4,t[e[-5]="ConferenceIsCancelled"]=-5,t[e[-6]="ConferencePinIsReadOnly"]=-6,t[e[-7]="ConferenceInvalidPin"]=-7,t[e[-8]="CannotGeneratePin"]=-8,t[e[-9]="FwdProfileDoesNotExist"]=-9,t[e[-10]="FwdProfileOverrideExpirationRequired"]=-10,t[e[0]="Success"]=0,t[e[1]="NoSuchRequest"]=1,t[e[2]="ExceptionOccured"]=2,t[e[3]="RequestIsNotSupported"]=3,t[e[4]="ServerIsBusy"]=4,t[e[5]="BridgeNotFound"]=5,t[e[6]="CannotCleanOwnExtension"]=6,t[e[7]="SetWakeupCallResult"]=7,t[e[8]="ExtensionNotFound"]=8,t[e[9]="NoPermission"]=9,t[e[12]="WebMeetingNoEmail"]=12,t[e[13]="WebMeetingNoAccess"]=13,t[e[16]="WebMeetingInvalidOrganizer"]=16,t[e[17]="WebMeetingInvalidParameters"]=17,t[e[18]="WebMeetingInvalidParticipant"]=18,t[e[19]="WebMeetingInvalidPin"]=19,t[e[20]="WebMeetingAccessDenied"]=20,t[e[21]="WebMeetingNotFound"]=21,t[e[22]="WebMeetingCannotDeleteQM"]=22,t[e[23]="WebMeetingPinIsReadonly"]=23,t[e[24]="WebMeetingNumberToCallIsReadonly"]=24,t[e[25]="WebMeetingInvalidWmUser"]=25,t[e[30]="ExtensionEmailRequired"]=30,t[e[31]="QueueNumberRequired"]=31,t[e[32]="ChatIsDisabled"]=32,t[e[33]="PersonalContactRequired"]=33,t[e[34]="RequiredFieldIsEmpty"]=34,t[e[35]="ContactNotFound"]=35,t[e[36]="ContactIsReadonly"]=36,t[e[37]="ActionIsNotAllowed"]=37,t[e[38]="FileNotFound"]=38,t[e[39]="OwnRecordingsDenied"]=39,t[e[40]="InvalidValue"]=40,t[e[41]="InvalidMedia"]=41,t[e[42]="InvalidOperation"]=42,t[e[43]="OperationFailed"]=43,t})();const Yo=T.ActionType=(()=>{const e={},t=Object.create(e);return t[e[0]="NoUpdates"]=0,t[e[1]="FullUpdate"]=1,t[e[2]="Inserted"]=2,t[e[3]="Updated"]=3,t[e[4]="Deleted"]=4,t})();T.DnType=(()=>{const e={},t=Object.create(e);return t[e[0]="None"]=0,t[e[1]="Extension"]=1,t[e[2]="Queue"]=2,t[e[4]="RingGroup"]=4,t[e[8]="IVR"]=8,t[e[16]="Fax"]=16,t[e[32]="Conference"]=32,t[e[64]="Parking"]=64,t[e[128]="ExternalLine"]=128,t[e[256]="SpecialMenu"]=256,t[e[512]="Service"]=512,t})(),T.ContactType=(()=>{const e={},t=Object.create(e);return t[e[0]="LocalUser"]=0,t[e[1]="CompanyPhonebook"]=1,t[e[2]="PersonalPhonebook"]=2,t[e[3]="BridgeExtension"]=3,t[e[4]="ExternalContact"]=4,t})();const Ra=T.ChatFileState=(()=>{const e={},t=Object.create(e);return t[e[0]="CF_Uploading"]=0,t[e[1]="CF_Available"]=1,t[e[2]="CF_Deleted"]=2,t})();T.ContactAddedByEnum=(()=>{const e={},t=Object.create(e);return t[e[0]="AB_Tcx"]=0,t[e[1]="AB_Crm"]=1,t[e[2]="AB_Office365"]=2,t})();const cu=T.ChatMessageType=(()=>{const e={},t=Object.create(e);return t[e[0]="CMT_Normal"]=0,t[e[1]="CMT_Closed"]=1,t[e[2]="CMT_Dealt"]=2,t[e[3]="CMT_Reserved"]=3,t[e[4]="CMT_Taken"]=4,t[e[5]="CMT_Transferred"]=5,t[e[6]="CMT_Whisper"]=6,t[e[7]="CMT_Emergency"]=7,t[e[8]="CMT_License"]=8,t[e[9]="CMT_WebMeeting"]=9,t[e[10]="CMT_Blocked"]=10,t[e[11]="CMT_AutoReply"]=11,t[e[12]="CMT_ClosedByProvider"]=12,t[e[13]="CMT_PersonInDnd"]=13,t[e[14]="CMT_MessageTooLong"]=14,t[e[15]="CMT_GenericError"]=15,t[e[16]="CMT_AutoClosed"]=16,t[e[17]="CMT_ParticipantAdded"]=17,t[e[18]="CMT_ParticipantRemoved"]=18,t[e[19]="CMT_Muted"]=19,t})(),Wo=T.ChatRecipientType=(()=>{const e={},t=Object.create(e);return t[e[0]="CRT_Local"]=0,t[e[1]="CRT_3cxBridge"]=1,t[e[2]="CRT_Anonymous"]=2,t[e[3]="C
1RT_External"]=3,t[e[5]="CRT_System"]=5,t})();T.ChatRecipientStatus=(()=>{const e={},t=Object.create(e);return t[e[0]="CRS_Available"]=0,t[e[1]="CRS_Offline"]=1,t[e[2]="CRS_Busy"]=2,t})();const hw=T.ExternalChatCloseReason=(()=>{const e={},t=Object.create(e);return t[e[0]="ECCR_LogoutByAnonymous"]=0,t[e[1]="ECCR_LogoutByExtension"]=1,t[e[2]="ECCR_BlockedByExtension"]=2,t[e[3]="ECCR_IsHandled"]=3,t[e[4]="ECCR_NoAgentsAvailable"]=4,t[e[5]="ECCR_NotAvailable"]=5,t[e[6]="ECCR_AutoClose"]=6,t})();T.ChatDeliveryStatus=(()=>{const e={},t=Object.create(e);return t[e[0]="CDS_NotDelivered"]=0,t[e[1]="CDS_Delivered"]=1,t[e[2]="CDS_Failed"]=2,t})();const mw=T.Login=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n.uint32(10).string(t.User),null!=t.Password&&Object.hasOwnProperty.call(t,"Password")&&n.uint32(18).string(t.Password),null!=t.ClientVersion&&Object.hasOwnProperty.call(t,"ClientVersion")&&n.uint32(26).str
1ing(t.ClientVersion),null!=t.ClientInfo&&Object.hasOwnProperty.call(t,"ClientInfo")&&n.uint32(34).string(t.ClientInfo),null!=t.ProtocolVersion&&Object.hasOwnProperty.call(t,"ProtocolVersion")&&n.uint32(42).string(t.ProtocolVersion),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.Login;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.User=t.string();break;case 2:o.Password=t.string();break;case 3:o.ClientVersion=t.string();break;case 4:o.ClientInfo=t.string();break;case 5:o.ProtocolVersion=t.string();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:100,LoginRequest:this})},e.prototype.typeId=100,e.prototype.typeName="LoginRequest",e})(),gw=T.LoginInfo=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),null!=t.ExtensionId&&Object.hasOwnProperty.call(t,"ExtensionId")&&n.uint32(8).int32(t.ExtensionId),null!=t.IsAuthenticated&&Object.hasOwnProperty.call(t,"IsAuthenticated")&&n.uint32(16).bool(t.IsAuthenticated),null!=t.ValidationMessage&&Object.hasOwnProperty.call(t,"ValidationMessage")&&n.uint32(26).string(t.ValidationMessage),null!=t.Nonce&&Object.hasOwnProperty.call(t,"Nonce")&&n.uint32(34).string(t.Nonce),null!=t.SessionId&&Object.hasOwnProperty.call(t,"SessionId")&&n.uint32(42).string(t.SessionId),null!=t.AddpTimeout&&Object.hasOwnProperty.call(t,"AddpTimeout")&&n.uint32(48).int32(t.AddpTimeout),null!=t.ServerVersion&&Object.hasOwnProperty.call(t,"ServerVersion")&&n.uint32(58).string(t.ServerVersion),null!=t.UpdateAvailable&&Object.hasOwnProperty.call(t,"UpdateAvailable")&&n.uint32(64).bool(t.UpdateAvailable),null!=t.LicenseType&&Object.hasOwnProperty.call(t,"LicenseType")&&n.uint32(72).int32(t.LicenseType),null!=t.LicenseProduct&&Object.hasOwnProperty.call(t,"LicenseProduct")&&n.uint32(82).string(t.LicenseProduct),null!=t.PbxVersion&&Object.hasOwnProperty.call(t,"PbxVersion")&&n.uint32(90).string(t.PbxVersion),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.LoginInfo;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.ExtensionId=t.int32();break;case 2:o.IsAuthenticated=t.bool();break;case 3:o.ValidationMessage=t.string();break;case 4:o.Nonce=t.string();break;case 5:o.SessionId=t.string();break;case 6:o.AddpTimeout=t.int32();break;case 7:o.ServerVersion=t.string();break;case 8:o.UpdateAvailable=t.bool();break;case 9:o.LicenseType=t.int32();break;case 10:o.LicenseProduct=t.string();break;case 11:o.PbxVersion=t.string();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:200,LoginResponse:this})},e.prototype.typeId=200,e.prototype.typeName="LoginResponse",e})(),bw=T.Logout=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.Logout;for(;t.pos<a;){let i=t.uint32();t.skipType(7&i)}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:101,LogoutRequest:this})},e.prototype.typeId=101,e.prototype.typeName="LogoutRequest",e})(),vw=T.DateTime=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),null!=t.Year&&Object.hasOwnProperty.call(t,"Year")&&n.uint32(8).int32(t.Year),null!=t.Month&&Object.hasOwnProperty.call(t,"Month")&&n.uint32(16).int32(t.Month),null!=t.Day&&Object.hasOwnProperty.call(t,"Day")&&n.uint32(24).int32(t.Day),null!=t.Hour&&Object.hasOwnProperty.call(t,"Hour")&&n.uint32(32).int32(t.Hour),null!=t.Minute&&Object.hasOwnProperty.call(t,"Minute")&&n.uint32(40).int32(t.Minute),null!=t.Second&&Object.hasOwnProperty.call(t,"Second")&&n.uint32(48).int32(t.Second),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.DateTime;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Year=t.int32();break;case 2:o.Month=t.int32();break;case 3:o.Day=t.int32();break;case 4:o.Hour=t.int32();break;case 5:o.Minute=t.int32();break;case 6:o.Second=t.int32();break;default:t.skipType(7&i)}}return o},e})(),b1=T.RequestMyInfo=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.RequestMyInfo;for(;t.pos<a;){let i=t.uint32();t.skipType(7&i)}return o},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(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n.uint32(8).int32(t.Id),null!=t.FirstName&&Object.hasOwnProperty.call(t,"FirstName")&&n.uint32(18).string(t.FirstName),null!=t.LastName&&Object.hasOwnProperty.call(t,"LastName")&&n.uint32(26).string(t.LastName),null!=t.Number&&Object.hasOwnProperty.call(t,"Number")&&n.uint32(34).string(t.Number),null!=t.ExtensionNumber&&Object.hasOwnProperty.call(t,"ExtensionNumber")&&n.uint32(42).string(t.ExtensionNumber),null!=t.ContactType&&Object.hasOwnProperty.call(t,"ContactType")&&n.uint32(48).int32(t.ContactType),null!=t.Company&&Object.hasOwnProperty.call(t,"Company")&&n.uint32(58).string(t.Company),null!=t.AddressNumberOrData0&&Object.hasOwnProperty.call(t,"AddressNumberOrData0")&&n.uint32(66).string(t.AddressNumberOrData0),null!=t.AddressNumberOrData1&&Object.hasOwnProperty.call(t,"AddressNumberOrData1")&&n.uint32(74).string(t.AddressNumberOrData1),null!=t.AddressNumberOrData2&&Object.hasOwnProperty.call(t,"AddressNumberOrData2")&&n.uint32(82).string(t.AddressNumberOrData2),null!=t.AddressNumberOrData3&&Object.hasOwnProperty.call(t,"AddressNumberOrData3")&&n.uint32(90).string(t.AddressNumberOrData3),null!=t.AddressNumberOrData4&&Object.hasOwnProperty.call(t,"AddressNumberOrData4")&&n.uint32(98).string(t.AddressNumberOrData4),null!=t.AddressNumberOrData5&&Object.hasOwnProperty.call(t,"AddressNumberOrData5")&&n.uint32(106).string(t.AddressNumberOrData5),null!=t.AddressNumberOrData6&&Object.hasOwnProperty.call(t,"AddressNumberOrData6")&&n.uint32(114).string(t.AddressNumberOrData6),null!=t.AddressNumberOrData7&&Object.hasOwnProperty.call(t,"AddressNumberOrData7")&&n.uint32(122).string(t.AddressNumberOrData7),null!=t.AddressNumberOrData8&&Object.hasOwnProperty.call(t,"AddressNumberOrData8")&&n.uint32(130).string(t.AddressNumberOrData8),null!=t.AddressNumberOrData9&&Object.hasOwnProperty.call(t,"AddressNumberOrData9")&&n.uint32(138).string(t.AddressNumberOrData9),n.uint32(144).int32(t.Action),null!=t.ContactImage&&Object.hasOwnProperty.call(t,"ContactImage")&&n.uint32(154).string(t.ContactImage),null!=t.IsEditable&&Object.hasOwnProperty.call(t,"IsEditable")&&n.uint32(160).bool(t.IsEditable),null!=t.CrmContactData&&Object.hasOwnProperty.call(t,"CrmContactData")&&n.uint32(178).string(t.CrmContactData),null!=t.AddedBy&&Object.hasOwnProperty.call(t,"AddedBy")&&n.uint32(184).int32(t.AddedBy),null!=t.DnType&&Object.hasOwnProperty.call(t,"DnType")&&n.uint32(192).int32(t.DnType),null!=t.OpenLink&&Object.hasOwnProperty.call(t,"OpenLink")&&n.uint32(202).string(t.OpenLink),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.Contact;
1for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Id=t.int32();break;case 2:o.FirstName=t.string();break;case 3:o.LastName=t.string();break;case 4:o.Number=t.string();break;case 5:o.ExtensionNumber=t.string();break;case 6:o.ContactType=t.int32();break;case 7:o.Company=t.string();break;case 8:o.AddressNumberOrData0=t.string();break;case 9:o.AddressNumberOrData1=t.string();break;case 10:o.AddressNumberOrData2=t.string();break;case 11:o.AddressNumberOrData3=t.string();break;case 12:o.AddressNumberOrData4=t.string();break;case 13:o.AddressNumberOrData5=t.string();break;case 14:o.AddressNumberOrData6=t.string();break;case 15:o.AddressNumberOrData7=t.string();break;case 16:o.AddressNumberOrData8=t.string();break;case 17:o.AddressNumberOrData9=t.string();break;case 18:o.Action=t.int32();break;case 19:o.ContactImage=t.string();break;case 20:o.IsEditable=t.bool();break;case 22:o.CrmContactData=t.string();break;case 23:o.AddedBy=t.int32();break;case 24:o.DnType=t.int32();break;case 25:o.OpenLink=t.string();break;default:t.skipType(7&i)}}return o},e})();const ps=T.ResponseAcknowledge=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n.uint32(8).bool(t.Success),null!=t.ErrorCode&&Object.hasOwnProperty.call(t,"ErrorCode")&&n.uint32(16).int32(t.ErrorCode),null!=t.Message&&Object.hasOwnProperty.call(t,"Message")&&n.uint32(26).string(t.Message),null!=t.ExceptionType&&Object.hasOwnProperty.call(t,"ExceptionType")&&n.uint32(34).string(t.ExceptionType),null!=t.ExceptionMessage&&Object.hasOwnProperty.call(t,"ExceptionMessage")&&n.uint32(42).string(t.ExceptionMessage),null!=t.ErrorType&&Object.hasOwnProperty.call(t,"ErrorType")&&n.uint32(48).int32(t.ErrorType),null!=t.Parameter&&Object.hasOwnProperty.call(t,"Parameter")&&n.uint32(58).string(t.Parameter),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.ResponseAcknowledge;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Success=t.bool();break;case 2:o.ErrorCode=t.int32();break;case 3:o.Message=t.string();break;case 4:o.ExceptionType=t.string();break;case 5:o.ExceptionMessage=t.string();break;case 6:o.ErrorType=t.int32();break;case 7:o.Parameter=t.string();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:207,Acknowledge:this})},e.prototype.typeId=207,e.prototype.typeName="Acknowledge",e})(),v1=T.ChatRecipient=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),null!=t.ExtNumber&&Object.hasOwnProperty.call(t,"ExtNumber")&&n.uint32(10).string(t.ExtNumber),null!=t.Name&&Object.hasOwnProperty.call(t,"Name")&&n.uint32(18).string(t.Name),null!=t.BridgeNumber&&Object.hasOwnProperty.call(t,"BridgeNumber")&&n.uint32(26).string(t.BridgeNumber),null!=t.Email&&Object.hasOwnProperty.call(t,"Email")&&n.uint32(34).string(t.Email),null!=t.Contact&&Object.hasOwnProperty.call(t,"Contact")&&T.Contact.encode(t.Contact,n.uint32(42).fork()).ldelim(),null!=t.IdRecipient&&Object.hasOwnProperty.call(t,"IdRecipient")&&n.uint32(48).int32(t.IdRecipient),null!=t.RecipientType&&Object.hasOwnProperty.call(t,"RecipientType")&&n.uint32(56).int32(t.RecipientType),null!=t.PhoneNumber&&Object.hasOwnProperty.call(t,"PhoneNumber")&&n.uint32(66).string(t.PhoneNumber),null!=t.IpAddress&&Object.hasOwnProperty.call(t,"IpAddress")&&n.uint32(74).string(t.IpAddress),null!=t.IsModerator&&Object.hasOwnProperty.call(t,"IsModerator")&&n.uint32(80).bool(t.IsModerator),null!=t.MemberGid&&Object.hasOwnProperty.call(t,"MemberGid")&&n.uint32(90).string(t.MemberGid),null!=t.UserData&&Object.hasOwnProperty.call(t,"UserData")&&n.uint32(98).string(t.UserData),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.ChatRecipient;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.ExtNumber=t.string();break;case 2:o.Name=t.string();break;case 3:o.BridgeNumber=t.string();break;case 4:o.Email=t.string();break;case 5:o.Contact=T.Contact.decode(t,t.uint32());break;case 6:o.IdRecipient=t.int32();break;case 7:o.RecipientType=t.int32();break;case 8:o.PhoneNumber=t.string();break;case 9:o.IpAddress=t.string();break;case 10:o.IsModerator=t.bool();break;case 11:o.MemberGid=t.string();break;case 12:o.UserData=t.string();break;default:t.skipType(7&i)}}return o},e})(),y1=T.ChatRecipientEx=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),null!=t.Recipient&&Object.hasOwnProperty.call(t,"Recipient")&&T.ChatRecipient.encode(t.Recipient,n.uint32(10).fork()).ldelim(),null!=t.IsAnonymousActive&&Object.hasOwnProperty.call(t,"IsAnonymousActive")&&n.uint32(16).bool(t.IsAnonymousActive),null!=t.IsRemoved&&Object.hasOwnProperty.call(t,"IsRemoved")&&n.uint32(24).bool(t.IsRemoved),null!=t.IsWhisperer&&Object.hasOwnProperty.call(t,"IsWhisperer")&&n.uint32(32).bool(t.IsWhisperer),null!=t.CanAddUsers&&Object.hasOwnProperty.call(t,"CanAddUsers")&&n.uint32(40).bool(t.CanAddUsers),null!=t.CanBeDeleted&&Object.hasOwnProperty.call(t,"CanBeDeleted")&&n.uint32(48).bool(t.CanBeDeleted),null!=t.Staus&&Object.hasOwnProperty.call(t,"Staus")&&n.uint32(56).int32(t.Staus),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.ChatRecipientEx;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Recipient=T.ChatRecipient.decode(t,t.uint32());break;case 2:o.IsAnonymousActive=t.bool();break;case 3:o.IsRemoved=t.bool();break;case 4:o.IsWhisperer=t.bool();break;case 5:o.CanAddUsers=t.bool();break;case 6:o.CanBeDeleted=t.bool();break;
1case 7:o.Staus=t.int32();break;default:t.skipType(7&i)}}return o},e})(),yw=T.ChatRecipientRef=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n.uint32(8).int32(t.IdRecipient),null!=t.Delivery&&Object.hasOwnProperty.call(t,"Delivery")&&n.uint32(16).int32(t.Delivery),null!=t.IsRead&&Object.hasOwnProperty.call(t,"IsRead")&&n.uint32(24).bool(t.IsRead),null!=t.IsSender&&Object.hasOwnProperty.call(t,"IsSender")&&n.uint32(32).bool(t.IsSender),null!=t.MemberGid&&Object.hasOwnProperty.call(t,"MemberGid")&&n.uint32(42).string(t.MemberGid),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.ChatRecipientRef;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.IdRecipient=t.int32();break;case 2:o.Delivery=t.int32();break;case 3:o.IsRead=t.bool();break;case 4:o.IsSender=t.bool();break;case 5:o.MemberGid=t.string();break;default:t.skipType(7&i)}}return o},e})(),Aw=T.ChatMessage=(()=>{function e(t){if(this.Recipients=[],t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.prototype.Recipients=Vo.emptyArray,e.encode=function(t,n){if(n||(n=Be.create()),n.uint32(8).int32(t.Id),null!=t.SenderNumber&&Object.hasOwnProperty.call(t,"SenderNumber")&&n.uint32(18).string(t.SenderNumber),null!=t.SenderName&&Object.hasOwnProperty.call(t,"SenderName")&&n.uint32(26).string(t.SenderName),null!=t.SenderBridgeNumber&&Object.hasOwnProperty.call(t,"SenderBridgeNumber")&&n.uint32(34).string(t.SenderBridgeNumber),null!=t.Recipient&&Object.hasOwnProperty.call(t,"Recipient")&&T.ChatRecipient.encode(t.Recipient,n.uint32(42).fork()).ldelim(),null!=t.Message&&Object.hasOwnProperty.call(t,"Message")&&n.uint32(50).string(t.Message),null!=t.Time&&Object.hasOwnProperty.call(t,"Time")&&T.DateTime.encode(t.Time,n.uint32(58).fork()).ldelim(),null!=t.IsNew&&Object.hasOwnProperty.call(t,"IsNew")&&n.uint32(64).bool(t.IsNew),null!=t.Party&&Object.hasOwnProperty.call(t,"Party")&&n.uint32(74).string(t.Party),null!=t.PartyNew&&Object.hasOwnProperty.call(t,"PartyNew")&&n.uint32(82).string(t.PartyNew),null!=t.File&&Object.hasOwnProperty.call(t,"File")&&T.ChatFile.encode(t.File,n.uint32(90).fork()).ldelim(),null!=t.IsAnonymousActive&&Object.hasOwnProperty.call(t,"IsAnonymousActive")&&n.uint32(96).bool(t.IsAnonymousActive),null!=t.IdConversation&&Object.hasOwnProperty.call(t,"IdConversation")&&n.uint32(104).int32(t.IdConversation),null!=t.Recipients&&t.Recipients.length)for(let a=0;a<t.Recipients.length;++a)T.ChatRecipientRef.encode(t.Recipients[a],n.uint32(114).fork()).ldelim();return null!=t.MessageType&&Object.hasOwnProperty.call(t,"MessageType")&&n.uint32(120).int32(t.MessageType),null!=t.MsgGid&&Object.hasOwnProperty.call(t,"MsgGid")&&n.uint32(130).string(t.MsgGid),null!=t.CnvGid&&Object.hasOwnProperty.call(t,"CnvGid")&&n.uint32(138).string(t.CnvGid),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.ChatMessage;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Id=t.int32();break;case 2:o.SenderNumber=t.string();break;case 3:o.SenderName=t.string();break;case 4:o.SenderBridgeNumber=t.string();break;case 5:o.Recipient=T.ChatRecipient.decode(t,t.uint32());break;case 6:o.Message=t.string();break;case 7:o.Time=T.DateTime.decode(t,t.uint32());break;case 8:o.IsNew=t.bool();break;case 9:o.Party=t.string();break;case 10:o.PartyNew=t.string();break;case 11:o.File=T.ChatFile.decode(t,t.uint32());break;case 12:o.IsAnonymousActive=t.bool();break;case 13:o.IdConversation=t.int32();break;case 14:o.Recipients&&o.Recipients.length||(o.Recipients=[]),o.Recipients.push(T.ChatRecipientRef.decode(t,t.uint32()));break;case 15:o.MessageType=t.int32();break;case 16:o.MsgGid=t.string();break;case 17:o.CnvGid=t.string();break;default:t.skipType(7&i)}}return o},e})(),hs=T.ChatFile=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),null!=t.FileName&&Object.hasOwnProperty.call(t,"FileName")&&n.uint32(10).string(t.FileName),null!=t.FileLink&&Object.hasOwnProperty.call(t,"FileLink")&&n.uint32(18).string(t.FileLink),null!=t.FileState&&Object.hasOwnProperty.call(t,"FileState")&&n.uint32(24).int32(t.FileState),null!=t.Progress&&Object.hasOwnProperty.call(t,"Progress")&&n.uint32(37).float(t.Progress),null!=t.HasPreview&&Object.hasOwnProperty.call(t,"HasPreview")&&n.uint32(40).bool(t.HasPreview),null!=t.FileSize&&Object.hasOwnProperty.call(t,"FileSize")&&n.uint32(48).uint64(t.FileSize),null!=t.Width&&Object.hasOwnProperty.call(t,"Width")&&n.uint32(56).int32(t.Wi
1dth),null!=t.Height&&Object.hasOwnProperty.call(t,"Height")&&n.uint32(64).int32(t.Height),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.ChatFile;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.FileName=t.string();break;case 2:o.FileLink=t.string();break;case 3:o.FileState=t.int32();break;case 4:o.Progress=t.float();break;case 5:o.HasPreview=t.bool();break;case 6:o.FileSize=t.uint64();break;case 7:o.Width=t.int32();break;case 8:o.Height=t.int32();break;default:t.skipType(7&i)}}return o},e})(),A1=T.NotificationChatFileProgress=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n.uint32(8).int32(t.Id),null!=t.Party&&Object.hasOwnProperty.call(t,"Party")&&n.uint32(18).string(t.Party),null!=t.File&&Object.hasOwnProperty.call(t,"File")&&T.ChatFile.encode(t.File,n.uint32(26).fork()).ldelim(),null!=t.IdConversation&&Object.hasOwnProperty.call(t,"IdConversation")&&n.uint32(32).int32(t.IdConversation),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.NotificationChatFileProgress;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Id=t.int32();break;case 2:o.Party=t.string();break;case 3:o.File=T.ChatFile.decode(t,t.uint32());break;case 4:o.IdConversation=t.int32();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:232,ChatFileProgress:this})},e.prototype.typeId=232,e.prototype.typeName="ChatFileProgress",e})(),ww=T.RequestSendChatMessage=(()=>{function e(t){if(this.Recipients=[],t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.prototype.Recipients=Vo.emptyArray,e.encode=function(t,n){if(n||(n=Be.create()),null!=t.Message&&Object.hasOwnProperty.call(t,"Message")&&n.uint32(10).string(t.Message),null!=t.Recipients&&t.Recipients.length)for(let a=0;a<t.Recipients.length;++a)T.ChatRecipient.encode(t.Recipients[a],n.uint32(18).fork()).ldelim();return null!=t.SipFrom&&Object.hasOwnProperty.call(t,"SipFrom")&&n.uint32(26).string(t.SipFrom),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.RequestSendChatMessage;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Message=t.string();break;case 2:o.Recipients&&o.Recipients.length||(o.Recipients=[]),o.Recipients.push(T.ChatRecipient.decode(t,t.uint32()));break;case 3:o.SipFrom=t.string();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:110,SendChatMessage:this})},e.prototype.typeId=110,e.prototype.typeName="SendChatMessage",e})(),w1=T.RequestSendChatMessageToConversation=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n.uint32(8).int32(t.IdConversation),null!=t.Message&&Object.hasOwnProperty.call(t,"Message")&&n.uint32(18).string(t.Message),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.RequestSendChatMessageToConversation;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.IdConversation=t.int32();break;case 2:o.Message=t.string();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:190,SendMessageToConversation:this})},e.prototype.typeId=190,e.prototype.typeName="SendMessageToConversation",e})(),C1=T.RequestSendChatFile=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n.uint32(10).string(t.Name),null!=t.Party&&Object.hasOwnProperty.call(t,"Party")&&n.uint32(18).string(t.Party),null!=t.IdConversation&&Object.hasOwnProperty.call(t,"IdConversation")&&n.uint32(24).int32(t.IdConversation),null!=t.IdSender&&Object.hasOwnProperty.call(t,"IdSender")&&n.uint32(32).int32(t.IdSender),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.RequestSendChatFile;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Name=t.string();break;case 2:o.Party=t.string();break;case 3:o.IdConversation=t.int32();break;case 4:o.IdSender=t.int32();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:179,SendChatFile:this})},e.prototype.typeId=179,e.prototype.typeName="SendChatFile",e})(),_1=T.RequestGetMyLastMessages=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),null!=t.Party&&Object.hasOwnProperty.call(t,"Party")&&n.uint32(10).string(t.Party),null!=t.Count&&Object.hasOwnProperty.call(t,"Count")&&n.uint32(16).int32(t.Count),null!=t.StartFromId&&Object.hasOwnProperty.call(t,"StartFromId")&&n.uint32(24).int32(t.StartFromId),null!=t.IdConversation&&Object.hasOwnProperty.call(t,"IdConversation")&&n.uint32(32).int32(t.IdConversation),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.RequestGetMyLastMessages;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Party=t.string();break;case 2:o.Count=t.int32();break;case 3:o.StartFromId=t.int32();break;case 4:o.IdConversation=t.int32();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:162,GetMyLastMessages:this})},e.prototype.typeId=162,e.prototype.typeName="GetMyLastMessages",e})(),Ho=T.ResponseMyMessages=(()=>{function e(t){if(this.Messages=[],t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.prototype.Messages=Vo.emptyArray,e.encode=function(t,n){if(n||(n=Be.create()),null!=t.Messages&&t.Messages.length)for(let a=0;a<t.Messages.length;++a)T.ChatMessage.encode(t.Messages[a],n.uint32(10).fork()).ldelim();return n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.ResponseMyMessages;for(;t.pos<a;){let i=t.uint32();i>>>3==1?(o.Messages&&o.Messages.length||(o.Messages=[]),o.Messages.push(T.ChatMessage.decode(t,t.uint32()))):t.skipType(7&i)}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:209,MyChatMessages:this})},e.prototype.typeId=209,e.prototype.typeName="MyChatMessages",e})(),x1=T.RequestSetChatReceived=(()=>{function e(t){if(this.Items=[],t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.prototype.Items=Vo.emptyArray,e.encode=function(t,n){if(n||(n=Be.create()),null!=t.Items&&t.Items.length)for(let a=0;a<t.Items.length;++a)n.uint32(8).int32(t.Items[a]);return n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.RequestSetChatReceived;for(;t.pos<a;){let i=t.uint32();if(i>>>3==1)if(o.Items&&o.Items.length||(o.Items=[]),2==(7&i)){let r=t.uint32()+t.pos;for(;t.pos<r;)o.Items.push(t.int32())}else o.Items.push(t.int32());else t.skipType(7&i)}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:112,MessagesReceived:this})},e.prototype.typeId=112,e.prototype.typeName="MessagesReceived",e})(),uu=T.ChatPartyInfo=(()=>{function e(t){if(this.Recipients=[],t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.prototype.Recipients=Vo.emptyArray,e.encode=function(t,n){if(n||(n=Be.create()),null!=t.Party&&Object.hasOwnProperty.call(t,"Party")&&n.uint32(10).string(t.Party),null!=t.Recipients&&t.Recipients.length)for(let a=0;a<t.Recipients.length;++a)T.ChatRecipientEx.encode(t.Recipients[a],n.uint32(18).fork()).ldelim();return null!=t.IsExternal&&Object.hasOwnProperty.call(t,"IsExternal")&&n.uint32(24).bool(t.IsExternal),null!=t.IdConversation&&Object.hasOwnProperty.call(t,"IdConversation")&&n.uint32(32).int32(t.IdConversation),null!=t.IsArchived&&Object.hasOwnProperty.call(t,"IsArchived")&&n.uint32(40).bool(t.IsArchived),null!=t.PrivateName&&Object.hasOwnProperty.call(t,"PrivateName")&&n.uint32(50).string(t.PrivateName),null!=t.QueueNo&&Object.hasOwnProperty.call(t,"QueueNo")&&n.uint32(58).string(t.QueueNo),null!=t.QueueName&&Object.hasOwnProperty.call(t,"QueueName")&&n.uint32(66).string(t.QueueName),null!=t.PublicName&&Object.hasOwnProperty.call(t,"PublicName")&&n.uint32(74).string(t.PublicName),null!=t.TakenBy&&Object.hasOwnProperty.call(t,"TakenBy")&&T.ChatRecipient.encode(t.TakenBy,n.uint32(82).fork()).ldelim(),null!=t.NumberOfMessages&&Object.hasOwnProperty.call(t,"NumberOfMessages")&&n.uint32(88).int32(t.NumberOfMessages),null!=t.CloseReason&&Object.hasOwnProperty.call(t,"CloseReason")&&n.uint32(96).int32(t.CloseReason),null!=t.CnvGid&&Object.hasOwnProperty.call(t,"CnvGid")&&n.uint32(106).string(t.CnvGid),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.ChatPartyInfo;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Party=t.string();break;case 2:o.Recipients&&o.Recipients.length||(o.Recipients=[]),o.Recipients.push(T.ChatRecipientEx.decode(t,t.uint32()));break;case 3:o.IsExternal=t.bool();break;case 4:o.IdConversation=t.int32();break;case 5:o.IsArchived=t.bool();break;case 6:o.PrivateName=t.string();break;case 7:o.QueueNo=t.string();break;case 8:o.QueueName=t.string();break;
1case 9:o.PublicName=t.string();break;case 10:o.TakenBy=T.ChatRecipient.decode(t,t.uint32());break;case 11:o.NumberOfMessages=t.int32();break;case 12:o.CloseReason=t.int32();break;case 13:o.CnvGid=t.string();break;default:t.skipType(7&i)}}return o},e})(),E1=T.ResponseConversationInfo=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),null!=t.Conversation&&Object.hasOwnProperty.call(t,"Conversation")&&T.ChatPartyInfo.encode(t.Conversation,n.uint32(10).fork()).ldelim(),null!=t.IsNew&&Object.hasOwnProperty.call(t,"IsNew")&&n.uint32(16).bool(t.IsNew),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.ResponseConversationInfo;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Conversation=T.ChatPartyInfo.decode(t,t.uint32());break;case 2:o.IsNew=t.bool();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:236,ConversationInfo:this})},e.prototype.typeId=236,e.prototype.typeName="ConversationInfo",e})(),M1=T.NotificationChatTransferred=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),T.ChatPartyInfo.encode(t.PartyInfo,n.uint32(10).fork()).ldelim(),null!=t.TransferredBy&&Object.hasOwnProperty.call(t,"TransferredBy")&&T.ChatRecipient.encode(t.TransferredBy,n.uint32(18).fork()).ldelim(),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.NotificationChatTransferred;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.PartyInfo=T.ChatPartyInfo.decode(t,t.uint32());break;case 2:o.TransferredBy=T.ChatRecipient.decode(t,t.uint32());break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:237,ChatTransferred:this})},e.prototype.typeId=237,e.prototype.typeName="ChatTransferred",e})(),Cw=T.NotificationConversationRemoved=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n.uint32(8).int32(t.IdConversation),null!=t.TakenBy&&Object.hasOwnProperty.call(t,"TakenBy")&&T.ChatRecipient.encode(t.TakenBy,n.uint32(18).fork()).ldelim(),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.NotificationConversationRemoved;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.IdConversation=t.int32();break;case 2:o.TakenBy=T.ChatRecipient.decode(t,t.uint32());break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:235,ConversationRemoved:this})},e.prototype.typeId=235,e.prototype.typeName="ConversationRemoved",e})(),fu=T.RequestCloseConversation=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),null!=t.IdConversation&&Object.hasOwnProperty.call(t,"IdConversation")&&n.uint32(8).int32(t.IdConversation),null!=t.IsHandled&&Object.hasOwnProperty.call(t,"IsHandled")&&n.uint32(16).bool(t.IsHandled),null!=t.CloseReason&&Object.hasOwnProperty.call(t,"CloseReason")&&n.uint32(24).int32(t.CloseReason),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.RequestCloseConversation;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.IdConversation=t.int32();break;case 2:o.IsHandled=t.bool();break;case 3:o.CloseReason=t.int32();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:198,CloseConversation:this})},e.prototype.typeId=198,e.prototype.typeName="CloseConversation",e})(),Fa=T.MyWebRTCEndpoint=(()=>{function e(t){if(this.Items=[],t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.prototype.Items=Vo.emptyArray,e.encode=function(t,n){if(n||(n=Be.create()),n.uint32(8).int32(t.Action),null!=t.Items&&t.Items.length)for(let a=0;a<t.Items.length;++a)T.WebRTCCall.encode(t.Items[a],n.uint32(18).fork()).ldelim();return null!=t.isWebRTCEnpointRegistered&&Object.hasOwnProperty.call(t,"isWebRTCEnpointRegistered")&&n.uint32(24).bool(t.isWebRTCEnpointRegistered),null!=t.DeviceContact&&Object.hasOwnProperty.call(t,"DeviceContact")&&n.uint32(34).string(t.DeviceContact),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.MyWebRTCEndpoint;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Action=t.int32();break;case 2:o.Items&&o.Items.length||(o.Items=[]),o.Items.push(T.WebRTCCall.decode(t,t.uint32()));break;case 3:o.isWebRTCEnpointRegistered=t.bool();break;case 4:o.DeviceContact=t.string();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:227,webRTCEndpoint:this})},e.prototype.typeId=227,e.prototype.typeName="webRTCEndpoint",e})(),dt=T.WebRTCEndpointSDPState=(()=>{const e={},t=Object.create(e);return t[e[0]="WRTCTerminate"]=0,t[e[1]="WRTCOffer"]=1,t[e[2]="WRTCAnswer"]=2,t[e[3]="WRTCConfirm"]=3,t[e[4]="WRTCRequestForOffer"]=4,t[e[5]="WRTCReject"]=5,t[e[6]="WRTCProcessingOffer"]=6,t[e[7]="WRTCPreparingOffer"]=7,t[e[8]="WRTCAnswerProvided"]=8,t[e[9]="WRTCConfirmed"]=9,t[e[10]="WRTCInitial"]=10,t})(),$o=T.WebRTCHoldState=(()=>{const e={},t=Object.create(e);return t[e[0]="WebRTCHoldState_NOHOLD"]=0,t[e[1]="WebRTCHoldState_HELD"]=1,t[e[2]="WebRTCHoldState_HOLD"]=2,t[e[3]="WebRTCHoldState_BOTH"]=3,t})(),du=T.WebRTCCall=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n.uint32(8).int32(t.Action),n.uint32(16).int32(t.Id),n.uint32(24).int32(t.sdpType),null!=t.otherPartyDisplayname&&Object.hasOwnProperty.call(t,"otherPartyDisplayname")&&n.uint32(34).string(t.otherPartyDisplayname),null!=t.otherPartyNumber&&Object.hasOwnProperty.call(t,"otherPartyNumber")&&n.uint32(42).string(t.otherPartyNumber),null!=t.transactionId&&Object.hasOwnProperty.call(t,"transactionId")&&n.uint32(48).int32(t.transactionId),null!=t.sdp&&Object.hasOwnProperty.call(t,"sdp")&&n.uint32(58).string(t.sdp),null!=t.SIPDialogID&&Object.hasOwnProperty.call(t,"SIPDialogID")&&n.uint32(66).string(t.SIPDialogID),null!=t.holdState&&Object.hasOwnProperty.call(t,"holdState")&&n.uint32(72).int32(t.holdState),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.WebRTCCall;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Action=t.int32();break;case 2:o.Id=t.int32();break;case 3:o.sdpType=t.int32();break;
1case 4:o.otherPartyDisplayname=t.string();break;case 5:o.otherPartyNumber=t.string();break;case 6:o.transactionId=t.int32();break;case 7:o.sdp=t.string();break;case 8:o.SIPDialogID=t.string();break;case 9:o.holdState=t.int32();break;default:t.skipType(7&i)}}return o},e})(),pu=T.RequestWebRTCChangeSDPState=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n.uint32(8).int32(t.Id),n.uint32(16).int32(t.sdpType),null!=t.transactionId&&Object.hasOwnProperty.call(t,"transactionId")&&n.uint32(24).int32(t.transactionId),null!=t.sdp&&Object.hasOwnProperty.call(t,"sdp")&&n.uint32(34).string(t.sdp),null!=t.destinationNumber&&Object.hasOwnProperty.call(t,"destinationNumber")&&n.uint32(42).string(t.destinationNumber),null!=t.CallerDisplayName&&Object.hasOwnProperty.call(t,"CallerDisplayName")&&n.uint32(50).string(t.CallerDisplayName),null!=t.CallerID&&Object.hasOwnProperty.call(t,"CallerID")&&n.uint32(58).string(t.CallerID),null!=t.replaceConnectionId&&Object.hasOwnProperty.call(t,"replaceConnectionId")&&n.uint32(64).int32(t.replaceConnectionId),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.RequestWebRTCChangeSDPState;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Id=t.int32();break;case 2:o.sdpType=t.int32();break;case 3:o.transactionId=t.int32();break;case 4:o.sdp=t.string();break;case 5:o.destinationNumber=t.string();break;case 6:o.CallerDisplayName=t.string();break;case 7:o.CallerID=t.string();break;case 8:o.replaceConnectionId=t.int32();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:164,ChangeSDPState:this})},e.prototype.typeId=164,e.prototype.typeName="ChangeSDPState",e})(),_w=T.ResponseWebRTCChangeSDPState=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n.uint32(8).bool(t.Success),null!=t.Message&&Object.hasOwnProperty.call(t,"Message")&&n.uint32(18).string(t.Message),null!=t.CallId&&Object.hasOwnProperty.call(t,"CallId")&&n.uint32(24).int32(t.CallId),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.ResponseWebRTCChangeSDPState;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Success=t.bool();break;case 2:o.Message=t.string();break;case 3:o.CallId=t.int32();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:228,ChangeSDPStateResponse:this})},e.prototype.typeId=228,e.prototype.typeName="ChangeSDPStateResponse",e})(),k1=T.RequestRegisterWebRTCEndpoint=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n.uint32(8).bool(t.register),null!=t.NeedsRegistration&&Object.hasOwnProperty.call(t,"NeedsRegistration")&&n.uint32(16).bool(t.NeedsRegistration),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.RequestRegisterWebRTCEndpoint;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.register=t.bool();break;case 2:o.NeedsRegistration=t.bool();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:163,registerWebRTC:this})},e.prototype.typeId=163,e.prototype.typeName="registerWebRTC",e})(),Yi=T.ChatTyping=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),null!=t.Party&&Object.hasOwnProperty.call(t,"Party")&&n.uint32(10).string(t.Party),null!=t.User&&Object.hasOwnProperty.call(t,"User")&&n.uint32(18).string(t.User),null!=t.IdConversation&&Object.hasOwnProperty.call(t,"IdConversation")&&n.uint32(24).int32(t.IdConversation),null!=t.IdRecipient&&Object.hasOwnProperty.call(t,"IdRecipient")&&n.uint32(32).int32(t.IdRecipient),null!=t.CnvGid&&Object.hasOwnProperty.call(t,"CnvGid")&&n.uint32(42).string(t.CnvGid),null!=t.MemberGid&&Object.hasOwnProperty.call(t,"MemberGid")&&n.uint32(50).string(t.MemberGid),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.ChatTyping;
1for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.Party=t.string();break;case 2:o.User=t.string();break;case 3:o.IdConversation=t.int32();break;case 4:o.IdRecipient=t.int32();break;case 5:o.CnvGid=t.string();break;case 6:o.MemberGid=t.string();break;default:t.skipType(7&i)}}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:180,UserTypingChat:this})},e.prototype.typeId=180,e.prototype.typeName="UserTypingChat",e})(),hu=T.NotificationC2CState=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),null!=t.Connected&&Object.hasOwnProperty.call(t,"Connected")&&n.uint32(8).bool(t.Connected),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.NotificationC2CState;for(;t.pos<a;){let i=t.uint32();i>>>3==1?o.Connected=t.bool():t.skipType(7&i)}return o},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:233,C2cState:this})},e.prototype.typeId=233,e.prototype.typeName="C2cState",e})(),S1=T.GenericMessage=(()=>{function e(t){if(t)for(let n=Object.keys(t),a=0;a<n.length;++a)null!=t[n[a]]&&(this[n[a]]=t[n[a]])}return e.encode=function(t,n){return n||(n=Be.create()),n.uint32(8).int32(t.MessageId),null!=t.LoginRequest&&Object.hasOwnProperty.call(t,"LoginRequest")&&T.Login.encode(t.LoginRequest,n.uint32(802).fork()).ldelim(),null!=t.LogoutRequest&&Object.hasOwnProperty.call(t,"LogoutRequest")&&T.Logout.encode(t.LogoutRequest,n.uint32(810).fork()).ldelim(),null!=t.GetMyInfo&&Object.hasOwnProperty.call(t,"GetMyInfo")&&T.RequestMyInfo.encode(t.GetMyInfo,n.uint32(818).fork()).ldelim(),null!=t.SendChatMessage&&Object.hasOwnProperty.call(t,"SendChatMessage")&&T.RequestSendChatMessage.encode(t.SendChatMessage,n.uint32(882).fork()).ldelim(),null!=t.MessagesReceived&&Object.hasOwnProperty.call(t,"MessagesReceived")&&T.RequestSetChatReceived.encode(t.MessagesReceived,n.uint32(898).fork()).ldelim(),null!=t.GetMyLastMessages&&Object.hasOwnProperty.call(t,"GetMyLastMessages")&&T.RequestGetMyLastMessages.encode(t.GetMyLastMessages,n.uint32(1298).fork()).ldelim(),null!=t.registerWebRTC&&Object.hasOwnProperty.call(t,"registerWebRTC")&&T.RequestRegisterWebRTCEndpoint.encode(t.registerWebRTC,n.uint32(1306).fork()).ldelim(),null!=t.ChangeSDPState&&Object.hasOwnProperty.call(t,"ChangeSDPState")&&T.RequestWebRTCChangeSDPState.encode(t.ChangeSDPState,n.uint32(1314).fork()).ldelim(),null!=t.SendChatFile&&Object.hasOwnProperty.call(t,"SendChatFile")&&T.RequestSendChatFile.encode(t.SendChatFile,n.uint32(1434).fork()).ldelim(),null!=t.UserTypingChat&&Object.hasOwnProperty.call(t,"UserTypingChat")&&T.ChatTyping.encode(t.UserTypingChat,n.uint32(1442).fork()).ldelim(),null!=t.SendMessageToConversation&&Object.hasOwnProperty.call(t,"SendMessageToConversation")&&T.RequestSendChatMessageToConversation.encode(t.SendMessageToConversation,n.uint32(1522).fork()).ldelim(),null!=t.CloseConversation&&Object.hasOwnProperty.call(t,"CloseConversation")&&T.RequestCloseConversation.encode(t.CloseConversation,n.uint32(1586).fork()).ldelim(),null!=t.LoginResponse&&Object.hasOwnProperty.call(t,"LoginResponse")&&T.LoginInfo.encode(t.LoginResponse,n.uint32(1602).fork()).ldelim(),null!=t.Acknowledge&&Object.hasOwnProperty.call(t,"Acknowledge")&&T.ResponseAcknowledge.encode(t.Acknowledge,n.uint32(1658).fork()).ldelim(),null!=t.MyChatMessages&&Object.hasOwnProperty.call(t,"MyChatMessages")&&T.ResponseMyMessages.encode(t.MyChatMessages,n.uint32(1674).fork()).ldelim(),null!=t.webRTCEndpoint&&Object.hasOwnProperty.call(t,"webRTCEndpoint")&&T.MyWebRTCEndpoint.encode(t.webRTCEndpoint,n.uint32(1818).fork()).ldelim(),null!=t.ChangeSDPStateResponse&&Object.hasOwnProperty.call(t,"ChangeSDPStateResponse")&&T.ResponseWebRTCChangeSDPState.encode(t.ChangeSDPStateResponse,n.uint32(1826).fork()).ldelim(),null!=t.ChatFileProgress&&Object.hasOwnProperty.call(t,"ChatFileProgress")&&T.NotificationChatFileProgress.encode(t.ChatFileProgress,n.uint32(1858).fork()).ldelim(),null!=t.C2cState&&Object.hasOwnProperty.call(t,"C2cState")&&T.NotificationC2CState.encode(t.C2cState,n.uint32(1866).fork()).ldelim(),null!=t.ConversationRemoved&&Object.hasOwnProperty.call(t,"ConversationRemoved")&&T.NotificationConversationRemoved.encode(t.ConversationRemoved,n.uint32(1882).fork()).ldelim(),null!=t.ConversationInfo&&Object.hasOwnProperty.call(t,"ConversationInfo")&&T.ResponseConversationInfo.encode(t.ConversationInfo,n.uint32(1890).fork()).ldelim(),null!=t.ChatTransferred&&Object.hasOwnProperty.call(t,"ChatTransferred")&&T.NotificationChatTransferred.encode(t.ChatTransferred,n.uint32(1898).fork()).ldelim(),n},e.decode=function(t,n){t instanceof ce||(t=ce.create(t));let a=void 0===n?t.len:t.pos+n,o=new T.GenericMessage;for(;t.pos<a;){let i=t.uint32();switch(i>>>3){case 1:o.MessageId=t.int32();break;case 100:o.LoginRequest=T.Login.decode(t,t.uint32());break;case 101:o.LogoutRequest=T.Logout.decode(t,t.uint32());break;case 102:o.GetMyInfo=T.RequestMyInfo.decode(t,t.uint32());break;case 110:o.SendChatMessage=T.RequestSendChatMessage.decode(t,t.uint32());break;case 112:o.MessagesReceived=T.RequestSetChatReceived.decode(t,t.uint32());break;case 162:o.GetMyLastMessages=T.RequestGetMyLastMessages.decode(t,t.uint32());break;case 163:o.registerWebRTC=T.RequestRegisterWebRTCEndpoint.decode(t,t.uint32());break;case 164:o.ChangeSDPState=T.RequestWebRTCChangeSDPState.decode(t,t.uint32());break;case 179:o.SendChatFile=T.RequestSendChatFile.decode(t,t.uint32());break;case 180:o.UserTypingChat=T.ChatTyping.decode(t,t.uint32());break;case 190:o.SendMessageToConversation=T.RequestSendChatMessageToConversation.decode(t,t.uint32());break;case 198:o.CloseConversation=T.RequestCloseConversation.decode(t,t.uint32());break;case 200:o.LoginResponse=T.LoginInfo.decode(t,t.uint32());break;case 207:o.Acknowledge=T.ResponseAcknowledge.decode(t,t.uint32());break;case 209:o.MyChatMessages=T.ResponseMyMessages.decode(t,t.uint32());break;case 227:o.webRTCEndpoint=T.MyWebRTCEndpoint.decode(t,t.uint32());break;case 228:o.ChangeSDPStateResponse=T.ResponseWebRTCChangeSDPState.decode(t,t.uint32());break;case 232:o.ChatFileProgress=T.NotificationChatFileProgress.decode(t,t.uint32());break;case 233:o.C2cState=T.NotificationC2CState.decode(t,t.uint32());break;case 235:o.ConversationRemoved=T.NotificationConversationRemoved.decode(t,t.uint32());break;case 236:o.ConversationInfo=T.ResponseConversationInfo.decode(t,t.uint32());break;case 237:o.ChatTransferred=T.NotificationChatTransferred.decode(t,t.uint32());break;default:t.skipType(7&i)}}return o},e.typeMap={100:mw,101:bw,102:b1,110:ww,112:x1,162:_1,163:k1,164:pu,179:C1,180:Yi,190:w1,198:fu,200:gw,207:ps,209:Ho,227:Fa,228:_w,232:A1,233:hu,235:Cw,236:E1,237:M1},e})();class I1{constructor(t,n){x(this,"chatConversationId",-1),x(this,"isOnline",new Uo(!1)),x(this,"endpoint",""),x(this,"fileEndpoint",""),x(this,"messagesSubject$",new Re),x(this,"messages$",this.messagesSubject$.asObservable()),x(this,"notificationChannelEndpoint",""),x(this,"pbxEndpoint",""),x(this,"serverProvideSystemMessages",!1),x(this,"supportsWebRTC",!1),x(this,"webRTCEndpoint",new Fa),x(this,"conversation$",new fa(1)),x(this,"webRTCEndpoint$",new fa(1)),x(this,"sessionId",""),this.sessionState=t,this.error=n}notify(t){this.messagesSubject$.next(t)}emojiEndpoint(){return""}fileEndPoint(t){return""}get(t){return rt(()=>{const n=new Error(this.error);return n.name="Empty Session",n})}getSessionUniqueCode(){return-1}onWebRtcEndpoint(t){}}const T1=()=>new I1(Vn.Idle,"Can't send request to idle session");function Yn(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const O1={};function mu(e){O1[e]||(O1[e]=!0,Yn(e))}const Mn=typeof window<"u";let on,so;{const e=Mn&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(on=t=>{e.mark(t)},so=(t,n,a)=>{e.measure(t,n,a),e.clearMarks(n),e.clearMarks(a)})}const Ew=/\{([0-9a-zA-Z]+)\}/g;function ms(e,...t){return 1===t.length&&Le(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Ew,(n,a)=>t.hasOwnProperty(a)?t[a]:"")}const Wn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),mt=e=>"number"==typeof e&&isFinite(e),Qo=e=>"[object RegExp]"===gu(e),gs=e=>Te(e)&&0===Object.keys(e).length,At=Object.assign,Iw=Object.create,qe=(e=null)=>Iw(e);let N1;const lo=()=>N1||(N1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:qe());function R1(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function F1(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}const Ow=Object.prototype.hasOwnProperty;function kn(e,t){return Ow.call(e,t)}const st=Array.isArray,He=e=>"function"==typeof e,oe=e=>"string"==typeof e,Pe=e=>"boolean"==typeof e,Le=e=>null!==e&&"object"==typeof e,L1=Object.prototype.toString,gu=e=>L1.call(e),Te=e=>"[object Object]"===gu(e);function bu(e,t=""){return e.reduce((n,a,o)=>0===o?n+a:n+t+a,"")}function vu(){const e=new Map;return{events:e,on(t,n){const a=e.get(t);a&&a.push(n)||e.set(t,[n])},off(t,n){const a=e.get(t);a&&a.splice(a.indexOf(n)>>>0,1)},emit(t,n){(e.get(t)||[]).slice().map(a=>a(n)),(e.get("*")||[]).slice().map(a=>a(t,n))}}}const bs=e=>!Le(e)||st(e);function vs(e,t){if(bs(e)||bs(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:a,des:o}=n.pop();
1Object.keys(a).forEach(i=>{"__proto__"!==i&&(Le(a[i])&&!Le(o[i])&&(o[i]=Array.isArray(a[i])?[]:qe()),bs(o[i])||bs(a[i])?o[i]=a[i]:n.push({src:a[i],des:o[i]}))})}}function yu(e,t,n){return{start:e,end:t}}const ye_EXPECTED_TOKEN=1,ye_INVALID_TOKEN_IN_PLACEHOLDER=2,ye_UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER=3,ye_UNKNOWN_ESCAPE_SEQUENCE=4,ye_INVALID_UNICODE_ESCAPE_SEQUENCE=5,ye_UNBALANCED_CLOSING_BRACE=6,ye_UNTERMINATED_CLOSING_BRACE=7,ye_EMPTY_PLACEHOLDER=8,ye_NOT_ALLOW_NEST_PLACEHOLDER=9,ye_INVALID_LINKED_FORMAT=10,ye_MUST_HAVE_MESSAGES_IN_PLURAL=11,ye_UNEXPECTED_EMPTY_LINKED_MODIFIER=12,ye_UNEXPECTED_EMPTY_LINKED_KEY=13,ye_UNEXPECTED_LEXICAL_ANALYSIS=14,ye_UNHANDLED_CODEGEN_NODE_TYPE=15,ye_UNHANDLED_MINIFIER_NODE_TYPE=16,Dw={[ye_EXPECTED_TOKEN]:"Expected token: '{0}'",[ye_INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ye_UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ye_UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ye_INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ye_UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ye_UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ye_EMPTY_PLACEHOLDER]:"Empty placeholder",[ye_NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ye_INVALID_LINKED_FORMAT]:"Invalid linked format",[ye_MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ye_UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ye_UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ye_UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ye_UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ye_UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Jo(e,t,n={}){const{domain:a,messages:o,args:i}=n,r=ms((o||Dw)[e]||"",...i||[]),s=new SyntaxError(String(r));return s.code=e,t&&(s.location=t),s.domain=a,s}function Bw(e){throw e}const jw=/<\/?[\w\s="/.':;#-\/]+>/,Hn=" ",Ut="\n";function Vw(e){const t=e;let n=0,a=1,o=1,i=0;const r=P=>"\r"===t[P]&&t[P+1]===Ut,l=P=>"\u2029"===t[P],c=P=>"\u2028"===t[P],b=P=>r(P)||l(P)||c(P)?Ut:t[P];function _(){return i=0,(r(P=n)||(P=>t[P]===Ut)(P)||l(P)||c(P))&&(a++,o=0),r(n)&&n++,n++,o++,t[n];var P}return{index:()=>n,line:()=>a,column:()=>o,peekOffset:()=>i,charAt:b,currentChar:()=>b(n),currentPeek:()=>b(n+i),next:_,peek:function I(){return r(n+i)&&i++,i++,t[n+i]},reset:function N(){n=0,a=1,o=1,i=0},resetPeek:function S(P=0){i=P},skipToPeek:function G(){const P=n+i;for(;P!==n;)_();i=0}}}const ha=void 0;function Ww(e,t={}){const n=!1!==t.location,a=Vw(e),o=()=>a.index(),i=()=>function Lw(e,t,n){return{line:e,column:t,offset:n}}(a.line(),a.column(),a.index()),r=i(),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:d}=t;function f(A,w,k,...R){const W=c();if(w.column+=k,w.offset+=k,d){const F=Jo(A,n?yu(W.startLoc,w):null,{domain:"tokenizer",args:R});d(F)}}function p(A,w,k){A.endLoc=i(),A.currentType=w;const R={type:w};return n&&(R.loc=yu(A.startLoc,A.endLoc)),null!=k&&(R.value=k),R}const h=A=>p(A,13);function m(A,w){return A.currentChar()===w?(A.next(),w):(f(1,i(),0,w),"")}function b(A){let w="";for(;A.currentPeek()===Hn||A.currentPeek()===Ut;)w+=A.currentPeek(),A.peek();return w}function g(A){const w=b(A);return A.skipToPeek(),w}function v(A){if(A===ha)return!1;const w=A.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||95===w}function Q(A){b(A);const w="|"===A.currentPeek();return A.resetPeek(),w}function ne(A,w=!0){const k=(W=!1,E="")=>{const F=A.currentPeek();return"{"!==F&&"@"!==F&&F?"|"===F?!(E===Hn||E===Ut):F===Hn?(A.peek(),k(!0,Hn)):F!==Ut||(A.peek(),k(!0,Ut)):W},R=k();return w&&A.resetPeek(),R}function be(A,w){const k=A.currentChar();return k===ha?ha:w(k)?(A.next(),k):null}function Ve(A){const w=A.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||95===w||36===w}function re(A){return be(A,Ve)}function K(A){const w=A.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||95===w||36===w||45===w}function z(A){return be(A,K)}function V(A){const w=A.charCodeAt(0);return w>=48&&w<=57}function D(A){return be(A,V)}function te(A){const w=A.charCodeAt(0);return w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102}function pe(A){return be(A,te)}function fe(A){let w="",k="";for(;w=D(A);)k+=w;return k}function Ke(A){return"'"!==A&&A!==Ut}function et(A){const w=A.currentChar();switch(w){case"\\":case"'":return A.next(),`\\${w}`;case"u":return bt(A,w,4);case"U":return bt(A,w,6);default:return f(4,i(),0,w),""}}function bt(A,w,k){m(A,w);let R="";for(let W=0;W<k;W++){const E=pe(A);if(!E){f(5,i(),0,`\\${w}${R}${A.currentChar()}`);break}R+=E}return`\\${w}${R}`}function kt(A){return"{"!==A&&"}"!==A&&A!==Hn&&A!==Ut}function nt(A){g(A);let w="",k="";for(;w=be(A,kt);)k+=w;return k}function y(A){g(A);const w=m(A,"|");return g(A),w}function M(A,w){let k=null;switch(A.currentChar()){case"{":return w.braceNest>=1&&f(9,i(),0),A.next(),k=p(w,2,"{"),g(A),w.braceNest++,k;case"}":return w.braceNest>0&&2===w.currentType&&f(8,i(),0),A.next(),k=p(w,3,"}"),w.braceNest--,w.braceNest>0&&g(A),w.inLinked&&0===w.braceNest&&(w.inLinked=!1),k;case"@":return w.braceNest>0&&f(7,i(),0),k=j(A,w)||h(w),w.braceNest=0,k;default:{let R=!0,W=!0,E=!0;if(Q(A))return w.braceNest>0&&f(7,i(),0),k=p(w,1,y(A)),w.braceNest=0,w.inLinked=!1,k;if(w.braceNest>0&&(4===w.currentType||5===w.currentType||6===w.currentType))return f(7,i(),0),w.braceNest=0,B(A,w);if(R=function I(A,w){const{currentType:k}=w;
1if(2!==k)return!1;b(A);const R=v(A.currentPeek());return A.resetPeek(),R}(A,w))return k=p(w,4,function Ee(A){g(A);let w="",k="";for(;w=z(A);)k+=w;const R=A.currentChar();if(R&&"}"!==R&&R!==ha&&R!==Hn&&R!==Ut&&"\u3000"!==R){const W=nt(A);return f(2,i(),0,k+W),k+W}return A.currentChar()===ha&&f(7,i(),0),k}(A)),g(A),k;if(W=function N(A,w){const{currentType:k}=w;if(2!==k)return!1;b(A);const W=function _(A){if(A===ha)return!1;const w=A.charCodeAt(0);return w>=48&&w<=57}("-"===A.currentPeek()?A.peek():A.currentPeek());return A.resetPeek(),W}(A,w))return k=p(w,5,function Ye(A){g(A);let w="";return"-"===A.currentChar()?(A.next(),w+=`-${fe(A)}`):w+=fe(A),A.currentChar()===ha&&f(7,i(),0),w}(A)),g(A),k;if(E=function S(A,w){const{currentType:k}=w;if(2!==k)return!1;b(A);const R="'"===A.currentPeek();return A.resetPeek(),R}(A,w))return k=p(w,6,function gt(A){g(A),m(A,"'");let w="",k="";for(;w=be(A,Ke);)k+="\\"===w?et(A):w;const R=A.currentChar();return R===Ut||R===ha?(f(3,i(),0),R===Ut&&(A.next(),m(A,"'")),k):(m(A,"'"),k)}(A)),g(A),k;if(!R&&!W&&!E)return k=p(w,12,nt(A)),f(2,i(),0,k.value),g(A),k;break}}return k}function j(A,w){const{currentType:k}=w;let R=null;const W=A.currentChar();switch((7===k||8===k||11===k||9===k)&&(W===Ut||W===Hn)&&f(10,i(),0),W){case"@":return A.next(),R=p(w,7,"@"),w.inLinked=!0,R;case".":return g(A),A.next(),p(w,8,".");case":":return g(A),A.next(),p(w,9,":");default:return Q(A)?(R=p(w,1,y(A)),w.braceNest=0,w.inLinked=!1,R):function G(A,w){const{currentType:k}=w;if(7!==k)return!1;b(A);const R="."===A.currentPeek();return A.resetPeek(),R}(A,w)||function ee(A,w){const{currentType:k}=w;if(7!==k&&11!==k)return!1;b(A);const R=":"===A.currentPeek();return A.resetPeek(),R}(A,w)?(g(A),j(A,w)):function P(A,w){const{currentType:k}=w;if(8!==k)return!1;b(A);const R=v(A.currentPeek());return A.resetPeek(),R}(A,w)?(g(A),p(w,11,function wt(A){let w="",k="";for(;w=re(A);)k+=w;return k}(A))):function se(A,w){const{currentType:k}=w;if(9!==k)return!1;const R=()=>{const E=A.currentPeek();return"{"===E?v(A.peek()):!("@"===E||"|"===E||":"===E||"."===E||E===Hn||!E)&&(E===Ut?(A.peek(),R()):ne(A,!1))},W=R();return A.resetPeek(),W}(A,w)?(g(A),"{"===W?M(A,w)||R:p(w,10,function C(A){const w=k=>{const R=A.currentChar();return"{"!==R&&"@"!==R&&"|"!==R&&"("!==R&&")"!==R&&R&&R!==Hn?(k+=R,A.next(),w(k)):k};return w("")}(A))):(7===k&&f(10,i(),0),w.braceNest=0,w.inLinked=!1,B(A,w))}}function B(A,w){let k={type:13};if(w.braceNest>0)return M(A,w)||h(w);if(w.inLinked)return j(A,w)||h(w);switch(A.currentChar()){case"{":return M(A,w)||h(w);case"}":return f(6,i(),0),A.next(),p(w,3,"}");case"@":return j(A,w)||h(w);default:if(Q(A))return k=p(w,1,y(A)),w.braceNest=0,w.inLinked=!1,k;if(ne(A))return p(w,0,function xe(A){let w="";for(;;){const k=A.currentChar();if("{"===k||"}"===k||"@"===k||"|"===k||!k)break;if(k===Hn||k===Ut)if(ne(A))w+=k,A.next();else{if(Q(A))break;w+=k,A.next()}else w+=k,A.next()}return w}(A))}return k}return{nextToken:function Y(){const{currentType:A,offset:w,startLoc:k,endLoc:R}=l;return l.lastType=A,l.lastOffset=w,l.lastStartLoc=k,l.lastEndLoc=R,l.offset=o(),l.startLoc=i(),a.currentChar()===ha?p(l,13):B(a,l)},currentOffset:o,currentPosition:i,context:c}}const $w=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Qw(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(t||n,16);return a<=55295||a>=57344?String.fromCodePoint(a):"\ufffd"}}}function Jw(e={}){const t=!1!==e.location,{onError:n}=e;function a(v,_,I,N,...S){const G=v.currentPosition();if(G.offset+=N,G.column+=N,n){const ee=Jo(_,t?yu(I,G):null,{domain:"parser",args:S});n(ee)}}function o(v,_,I){const N={type:v};return t&&(N.start=_,N.end=_,N.loc={start:I,end:I}),N}function i(v,_,I,N){t&&(v.end=_,v.loc&&(v.loc.end=I))}function r(v,_){const I=v.context(),N=o(3,I.offset,I.startLoc);return N.value=_,i(N,v.currentOffset(),v.currentPosition()),N}function s(v,_){const I=v.context(),{lastOffset:N,lastStartLoc:S}=I,G=o(5,N,S);return G.index=parseInt(_,10),v.nextToken(),i(G,v.currentOffset(),v.currentPosition()),G}function l(v,_){const I=v.context(),{lastOffset:N,lastStartLoc:S}=I,G=o(4,N,S);return G.key=_,v.nextToken(),i(G,v.currentOffset(),v.currentPosition()),G}function c(v,_){const I=v.context(),{lastOffset:N,lastStartLoc:S}=I,G=o(9,N,S);return G.value=_.replace($w,Qw),v.nextToken(),i(G,v.currentOffset(),v.currentPosition()),G}function p(v){const _=v.context(),I=o(6,_.offset,_.startLoc);let N=v.nextToken();if(8===N.type){const S=function d(v){const _=v.nextToken(),I=v.context(),{lastOffset:N,lastStartLoc:S}=I,G=o(8,N,S);return 11!==_.type?(a(v,12,I.lastStartLoc,0),G.value="",i(G,N,S),{nextConsumeToken:_,node:G}):(null==_.value&&a(v,14,I.lastStartLoc,0,$n(_)),G.value=_.value||"",i(G,v.currentOffset(),v.currentPosition()),{node:G})}(v);I.modifier=S.node,N=S.nextConsumeToken||v.nextToken()}switch(9!==N.type&&a(v,14,_.lastStartLoc,0,$n(N)),N=v.nextToken(),2===N.type&&(N=v.nextToken()),N.type){case 10:null==N.value&&a(v,14,_.lastStartLoc,0,$n(N)),I.key=function f(v,_){const I=v.context(),N=o(7,I.offset,I.startLoc);return N.value=_,i(N,v.currentOffset(),v.currentPosition()),N}(v,N.value||"");break;case 4:null==N.value&&a(v,14,_.lastStartLoc,0,$n(N)),I.key=l(v,N.value||"");break;case 5:null==N.value&&a(v,14,_.lastStartLoc,0,$n(N)),I.key=s(v,N.value||"");break;case 6:null==N.value&&a(v,14,_.lastStartLoc,0,$n(N)),I.key=c(v,N.value||"");break;default:{a(v,13,_.lastStartLoc,0);const S=v.context(),G=o(7,S.offset,S.startLoc);return G.value="",i(G,S.offset,S.startLoc),I.key=G,i(I,S.offset,S.startLoc),{nextConsumeToken:N,node:I}}}return i(I,v.currentOffset(),v.currentPosition()),{node:I}}function h(v){const _=v.context(),S=o(2,1===_.currentType?v.currentOffset():_.offset,1===_.currentType?_.endLoc:_.startLoc);S.items=[];let G=null;do{const se=G||v.nextToken();switch(G=null,se.type){case 0:null==se.value&&a(v,14,_.lastStartLoc,0,$n(se)),S.items.push(r
1(v,se.value||""));break;case 5:null==se.value&&a(v,14,_.lastStartLoc,0,$n(se)),S.items.push(s(v,se.value||""));break;case 4:null==se.value&&a(v,14,_.lastStartLoc,0,$n(se)),S.items.push(l(v,se.value||""));break;case 6:null==se.value&&a(v,14,_.lastStartLoc,0,$n(se)),S.items.push(c(v,se.value||""));break;case 7:{const Q=p(v);S.items.push(Q.node),G=Q.nextConsumeToken||null;break}}}while(13!==_.currentType&&1!==_.currentType);return i(S,1===_.currentType?_.lastOffset:v.currentOffset(),1===_.currentType?_.lastEndLoc:v.currentPosition()),S}return{parse:function g(v){const _=Ww(v,At({},e)),I=_.context(),N=o(0,I.offset,I.startLoc);return t&&N.loc&&(N.loc.source=v),N.body=function b(v){const _=v.context(),{offset:I,startLoc:N}=_,S=h(v);return 13===_.currentType?S:function m(v,_,I,N){const S=v.context();let G=0===N.items.length;const P=o(1,_,I);P.cases=[],P.cases.push(N);do{const ee=h(v);G||(G=0===ee.items.length),P.cases.push(ee)}while(13!==S.currentType);return G&&a(v,11,I,0),i(P,v.currentOffset(),v.currentPosition()),P}(v,I,N,S)}(_),e.onCacheKey&&(N.cacheKey=e.onCacheKey(v)),13!==I.currentType&&a(_,14,I.lastStartLoc,0,v[I.offset]||""),i(N,_.currentOffset(),_.currentPosition()),N}}}function $n(e){if(13===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"\u2026":t}function B1(e,t){for(let n=0;n<e.length;n++)Au(e[n],t)}function Au(e,t){switch(e.type){case 1:B1(e.cases,t),t.helper("plural");break;case 2:B1(e.items,t);break;case 6:Au(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named")}}function j1(e){if(1===e.items.length){const t=e.items[0];(3===t.type||9===t.type)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const a=e.items[n];if(3!==a.type&&9!==a.type||null==a.value)break;t.push(a.value)}if(t.length===e.items.length){e.static=bu(t);for(let n=0;n<e.items.length;n++){const a=e.items[n];(3===a.type||9===a.type)&&delete a.value}}}}function Ko(e){switch(e.t=e.type,e.type){case 0:{const t=e;Ko(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let a=0;a<n.length;a++)Ko(n[a]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let a=0;a<n.length;a++)Ko(n[a]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Ko(t.key),t.k=t.key,delete t.key,t.modifier&&(Ko(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw Jo(16,null,{domain:"minifier",args:[e.type]})}delete e.type}function Zo(e,t){const{helper:n}=e;switch(t.type){case 0:!function r4(e,t){t.body?Zo(e,t.body):e.push("null")}(e,t);break;case 1:!function i4(e,t){const{helper:n,needIndent:a}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(a());const o=t.cases.length;for(let i=0;i<o&&(Zo(e,t.cases[i]),i!==o-1);i++)e.push(", ");e.deindent(a()),e.push("])")}}(e,t);break;case 2:!function o4(e,t){const{helper:n,needIndent:a}=e;e.push(`${n("normalize")}([`),e.indent(a());const o=t.items.length;for(let i=0;i<o&&(Zo(e,t.items[i]),i!==o-1);i++)e.push(", ");e.deindent(a()),e.push("])")}(e,t);break;case 6:!function a4(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Zo(e,t.key),t.modifier?(e.push(", "),Zo(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}(e,t);break;case 8:case 7:case 9:case 3:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;default:throw Jo(15,null,{domain:"parser",args:[t.type]})}}function l4(e,t={}){const n=At({},t),a=!!n.jit,o=!!n.minify,i=null==n.optimize||n.optimize,r=Jw(n).parse(e);return a?(i&&function Xw(e){const t=e.body;2===t.type?j1(t):t.cases.forEach(n=>j1(n))}(r),o&&Ko(r),{ast:r,code:""}):(function Zw(e,t={}){const n=function Kw(e){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}(e);n.helper("normalize"),e.body&&Au(e.body,n);const a=n.context();e.helpers=Array.from(a.helpers)}(r,n),((e,t={})=>{const n=oe(t.mode)?t.mode:"normal",a=oe(t.filename)?t.filename:"message.intl",i=t.needIndent?t.needIndent:"arrow"!==n,r=e.helpers||[],s=function n4(e,t){const{filename:n,breakLineCode:a,needIndent:o}=t,r={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:o,indentLevel:0};function l(h,m){r.code+=h}function c(h,m=!0){const b=m?a:"";l(o?b+" ".repeat(h):b)}return!1!==t.location&&e.loc&&(r.source=e.loc.source),{context:()=>r,push:l,indent:function d(h=!0){const m=++r.indentLevel;h&&c(m)},deindent:function f(h=!0){const m=--r.indentLevel;h&&c(m)},newline:function p(){c(r.indentLevel)},helper:h=>`_${h}`,needIndent:()=>r.needIndent}}(e,{filename:a,breakLineCode:null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",needIndent:i});s.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(i),r.length>0&&(s.push(`const { ${bu(r.map(d=>`${d}: _${d}`),", ")} } = ctx`),s.newline()),s.push("return "),Zo(s,e),s.deindent(i),s.push("}"),delete e.helpers;const{code:l,map:c}=s.context();return{ast:e,code:l,map:c?c.toJSON():void 0}})(r,n))}function mn(e){return Le(e)&&0===wu(e)&&(kn(e,"b")||kn(e,"body"))}const U1=["b","body"],z1=["c","cases"],q1=["s","static"],G1=["i","items"],V1=["t","type"];function wu(e){return La(e,V1)}const Y1=["v","value"];const W1=["m","modifier"],H1=["k","key"];function La(e,t,n){for(let a=0;a<t.length;a++){const o=t[a];if(kn(e,o)&&null!=e[o])return e[o]}return n}const $1=[...U1,...z1,...q1,...G1,...H1,...W1,...Y1,...V1];function Wi(e){return new Error(`unhandled node type: ${e}`)}function Cu(e){return t=>function b4(e,t){const n=function f4(e){return La(e,U1)}(t);if(null==n)throw Wi(0);if(1===wu(n)){const a=function d4(e){return La(e,z1,[])}(n);return e.plural(a.reduce((o,i)=>[...o,Q1(e,i)],[]))}return Q1(e,n)}(t,e)}function Q1(e,t){const n=function p4(e){return La(e,q1)}(t);if(null!=n)return"text"===e.type?n:e.normalize([n]);
1{const a=function h4(e){return La(e,G1,[])}(t).reduce((o,i)=>[...o,_u(e,i)],[]);return e.normalize(a)}}function _u(e,t){const n=wu(t);switch(n){case 3:case 9:case 7:case 8:return function ys(e,t){const n=La(e,Y1);if(null!=n)return n;throw Wi(t)}(t,n);case 4:{const a=t;if(kn(a,"k")&&a.k)return e.interpolate(e.named(a.k));if(kn(a,"key")&&a.key)return e.interpolate(e.named(a.key));throw Wi(n)}case 5:{const a=t;if(kn(a,"i")&&mt(a.i))return e.interpolate(e.list(a.i));if(kn(a,"index")&&mt(a.index))return e.interpolate(e.list(a.index));throw Wi(n)}case 6:{const a=t,o=function m4(e){return La(e,W1)}(a),i=function g4(e){const t=La(e,H1);if(t)return t;throw Wi(6)}(a);return e.linked(_u(e,i),o?_u(e,o):void 0,e.type)}default:throw new Error(`unhandled node on format message part: ${n}`)}}const A4=e=>e;let As=qe(),Hi=null;const E4=M4("function:translate");function M4(e){return t=>Hi&&Hi.emit(e,t)}const Tt_INVALID_ARGUMENT=17,Tt_INVALID_DATE_ARGUMENT=18,Tt_INVALID_ISO_DATE_ARGUMENT=19,Tt_NOT_SUPPORT_NON_STRING_MESSAGE=20,Tt_NOT_SUPPORT_LOCALE_PROMISE_VALUE=21,Tt_NOT_SUPPORT_LOCALE_ASYNC_FUNCTION=22,Tt_NOT_SUPPORT_LOCALE_TYPE=23;function ma(e){return Jo(e,null,{messages:S4})}const S4={[Tt_INVALID_ARGUMENT]:"Invalid arguments",[Tt_INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Tt_INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Tt_NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Tt_NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Tt_NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Tt_NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function xu(e,t){return function J1(e){if(oe(e))return e;if(He(e)){if(e.resolvedOnce&&null!=Eu)return Eu;if("Function"===e.constructor.name){const t=e();if((e=>Le(e)&&He(e.then)&&He(e.catch))(t))throw ma(21);return Eu=t}throw ma(22)}throw ma(23)}(null!=t.locale?t.locale:e.locale)}let Eu;function I4(e,t,n){return[...new Set([n,...st(t)?t:Le(t)?Object.keys(t):oe(t)?[t]:[n]])]}function K1(e,t,n){const a=oe(n)?n:$i,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(a);if(!i){i=[];let r=[n];for(;st(r);)r=Z1(i,r,t);const s=st(t)||!Te(t)?t:t.default?t.default:null;r=oe(s)?[s]:s,st(r)&&Z1(i,r,!1),o.__localeChainCache.set(a,i)}return i}function Z1(e,t,n){let a=!0;for(let o=0;o<t.length&&Pe(a);o++)oe(t[o])&&(a=T4(e,t[o],n));return a}function T4(e,t,n){let a;const o=t.split("-");do{a=O4(e,o.join("-"),n),o.splice(-1,1)}while(o.length&&!0===a);return a}function O4(e,t,n){let a=!1;if(!e.includes(t)&&(a=!0,t)){a="!"!==t[t.length-1];const o=t.replace(/!/g,"");e.push(o),(st(n)||Te(n))&&n[o]&&(a=n[o])}return a}const Pa=[];Pa[0]={w:[0],i:[3,0],"[":[4],o:[7]},Pa[1]={w:[1],".":[2],"[":[4],o:[7]},Pa[2]={w:[2],i:[3,0],0:[3,0]},Pa[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Pa[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Pa[5]={"'":[4,0],o:8,l:[5,0]},Pa[6]={'"':[4,0],o:8,l:[6,0]};const N4=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function L4(e){if(null==e)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"}const X1=new Map;function B4(e,t){return Le(e)?e[t]:null}const Ht_NOT_FOUND_KEY=1,Ht_FALLBACK_TO_TRANSLATE=2,Ht_CANNOT_FORMAT_NUMBER=3,Ht_FALLBACK_TO_NUMBER_FORMAT=4,Ht_CANNOT_FORMAT_DATE=5,Ht_FALLBACK_TO_DATE_FORMAT=6,Ht_EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER=7,z4={[Ht_NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ht_FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ht_CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ht_FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ht_CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ht_FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Ht_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 co(e,...t){return ms(z4[e],...t)}const $i="en-US",eh=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let th,nh,ah;const H4=()=>null;let ih=null;const rh=e=>{ih=e};let sh=0;const Mu=e=>({[e]:qe()});function _s(e,t){return e instanceof RegExp?e.test(t):e}function lh(e,t){return e instanceof RegExp?e.test(t):e}function ku(e,t,n,a,o){const{missing:i,onWarn:r}=e;{const s=e.__v_emitter;s&&s.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(null!==i){const s=i(e,n,t,o);return oe(s)?s:t}return lh(a,t)&&r(co(1,{key:t,locale:n})),t}function Qi(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function ch(e,t){return e!==t&&e.split("-")[0]===t.split("-")[0]}function J4(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let a=n+1;a<t.length;a++)if(ch(e,t[a]))return!0;return!1}const uh=typeof Intl<"u",fh_dateTimeFormat=uh&&typeof Intl.DateTimeFormat<"u",fh_numberFormat=uh&&typeof Intl.NumberFormat<"u";function dh(e,...t){const{datetimeFormats:n,unresolving:a,fallbackLocale:o,onWarn:i,localeFallbacker:r}=e,{__datetimeFormatters:s}=e;if(!fh_dateTimeFormat)return i(co(5)),"";const[l,c,d,f]=Su(...t),p=Pe(d.missingWarn)?d.missingWarn:e.missingWarn,h=Pe(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,m=!!d.part,b=xu(e,d),g=r(e,o,b);
1if(!oe(l)||""===l)return new Intl.DateTimeFormat(b,f).format(c);let _,v={},I=null,N=b,S=null;const G="datetime format";for(let se=0;se<g.length;se++){if(_=S=g[se],b!==_&&_s(h,l)&&i(co(6,{key:l,target:_})),b!==_){const Q=e.__v_emitter;Q&&Q.emit("fallback",{type:G,key:l,from:N,to:S,groupId:`${G}:${l}`})}if(v=n[_]||{},I=v[l],Te(I))break;ku(e,l,_,p,G),N=S}if(!Te(I)||!oe(_))return a?-1:l;let P=`${_}__${l}`;gs(f)||(P=`${P}__${JSON.stringify(f)}`);let ee=s.get(P);return ee||(ee=new Intl.DateTimeFormat(_,At({},I,f)),s.set(P,ee)),m?ee.formatToParts(c):ee.format(c)}const ph=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Su(...e){const[t,n,a,o]=e,i=qe();let s,r=qe();if(oe(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw ma(19);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 ma(19)}}else if((e=>"[object Date]"===gu(e))(t)){if(isNaN(t.getTime()))throw ma(18);s=t}else{if(!mt(t))throw ma(17);s=t}return oe(n)?i.key=n:Te(n)&&Object.keys(n).forEach(l=>{ph.includes(l)?r[l]=n[l]:i[l]=n[l]}),oe(a)?i.locale=a:Te(a)&&(r=a),Te(o)&&(r=o),[i.key||"",s,i,r]}function hh(e,t,n){const a=e;for(const o in n){const i=`${t}__${o}`;a.__datetimeFormatters.has(i)&&a.__datetimeFormatters.delete(i)}}function mh(e,...t){const{numberFormats:n,unresolving:a,fallbackLocale:o,onWarn:i,localeFallbacker:r}=e,{__numberFormatters:s}=e;if(!fh_numberFormat)return i(co(3)),"";const[l,c,d,f]=Iu(...t),p=Pe(d.missingWarn)?d.missingWarn:e.missingWarn,h=Pe(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,m=!!d.part,b=xu(e,d),g=r(e,o,b);if(!oe(l)||""===l)return new Intl.NumberFormat(b,f).format(c);let _,v={},I=null,N=b,S=null;const G="number format";for(let se=0;se<g.length;se++){if(_=S=g[se],b!==_&&_s(h,l)&&i(co(4,{key:l,target:_})),b!==_){const Q=e.__v_emitter;Q&&Q.emit("fallback",{type:G,key:l,from:N,to:S,groupId:`${G}:${l}`})}if(v=n[_]||{},I=v[l],Te(I))break;ku(e,l,_,p,G),N=S}if(!Te(I)||!oe(_))return a?-1:l;let P=`${_}__${l}`;gs(f)||(P=`${P}__${JSON.stringify(f)}`);let ee=s.get(P);return ee||(ee=new Intl.NumberFormat(_,At({},I,f)),s.set(P,ee)),m?ee.formatToParts(c):ee.format(c)}const gh=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Iu(...e){const[t,n,a,o]=e,i=qe();let r=qe();if(!mt(t))throw ma(17);const s=t;return oe(n)?i.key=n:Te(n)&&Object.keys(n).forEach(l=>{gh.includes(l)?r[l]=n[l]:i[l]=n[l]}),oe(a)?i.locale=a:Te(a)&&(r=a),Te(o)&&(r=o),[i.key||"",s,i,r]}function bh(e,t,n){const a=e;for(const o in n){const i=`${t}__${o}`;a.__numberFormatters.has(i)&&a.__numberFormatters.delete(i)}}const K4=e=>e,Z4=e=>"",eC=e=>0===e.length?"":bu(e),tC=e=>null==e?"":st(e)||Te(e)&&e.toString===L1?JSON.stringify(e,null,2):String(e);function vh(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}const yh=()=>"",gn=e=>He(e);function Ah(e,...t){const{fallbackFormat:n,postTranslation:a,unresolving:o,messageCompiler:i,fallbackLocale:r,messages:s}=e,[l,c]=Tu(...t),d=Pe(c.missingWarn)?c.missingWarn:e.missingWarn,f=Pe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,p=Pe(c.escapeParameter)?c.escapeParameter:e.escapeParameter,h=!!c.resolvedMessage,m=oe(c.default)||Pe(c.default)?Pe(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:null,b=n||null!=m&&(oe(m)||He(m)),g=xu(e,c);p&&function iC(e){st(e.list)?e.list=e.list.map(t=>oe(t)?R1(t):t):Le(e.named)&&Object.keys(e.named).forEach(t=>{oe(e.named[t])&&(e.named[t]=R1(e.named[t]))})}(c);let[v,_,I]=h?[l,g,s[g]||qe()]:wh(e,l,g,r,f,d),N=v,S=l;if(!h&&!(oe(N)||mn(N)||gn(N))&&b&&(N=m,S=N),!(h||(oe(N)||mn(N)||gn(N))&&oe(_)))return o?-1:l;if(oe(N)&&null==e.messageCompiler)return Yn(`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 G=!1;const ee=gn(N)?N:Ch(e,l,_,N,S,()=>{G=!0});if(G)return N;const se=function cC(e,t,n,a){const{modifiers:o,pluralRules:i,messageResolver:r,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,f={locale:t,modifiers:o,pluralRules:i,messages:(p,h)=>{let m=r(n,p);
1if(null==m&&(d||h)){const[,,b]=wh(d||e,p,t,s,l,c);m=r(b,p)}if(oe(m)||mn(m)){let b=!1;const g=Ch(e,p,t,m,p,()=>{b=!0});return b?yh:g}return gn(m)?m:yh}};return e.processor&&(f.processor=e.processor),a.list&&(f.list=a.list),a.named&&(f.named=a.named),mt(a.plural)&&(f.pluralIndex=a.plural),f}(e,_,I,c),ne=function rC(e,t,n){let o,i,a=null;Mn&&(a=window.performance.now(),o="intlify-message-evaluation-start",i="intlify-message-evaluation-end",on&&on(o));const r=t(n);if(Mn){const s=window.performance.now(),l=e.__v_emitter;l&&a&&l.emit("message-evaluation",{type:"message-evaluation",value:r,time:s-a,groupId:`translate:${t.key}`}),o&&i&&on&&so&&(on(i),so("intlify message evaluation",o,i))}return r}(e,ee,function oC(e={}){const t=e.locale,n=function nC(e){const t=mt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(mt(e.named.count)||mt(e.named.n))?mt(e.named.count)?e.named.count:mt(e.named.n)?e.named.n:t:t}(e),a=Le(e.pluralRules)&&oe(t)&&He(e.pluralRules[t])?e.pluralRules[t]:vh,o=Le(e.pluralRules)&&oe(t)&&He(e.pluralRules[t])?vh:void 0,r=e.list||[],l=e.named||qe();function d(g,v){return(He(e.messages)?e.messages(g,!!v):!!Le(e.messages)&&e.messages[g])||(e.parent?e.parent.message(g):Z4)}mt(e.pluralIndex)&&function aC(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,l);const p=Te(e.processor)&&He(e.processor.normalize)?e.processor.normalize:eC,h=Te(e.processor)&&He(e.processor.interpolate)?e.processor.interpolate:tC,b={list:g=>r[g],named:g=>l[g],plural:g=>g[a(n,g.length,o)],linked:(g,...v)=>{const[_,I]=v;let N="text",S="";1===v.length?Le(_)?(S=_.modifier||S,N=_.type||N):oe(_)&&(S=_||S):2===v.length&&(oe(_)&&(S=_||S),oe(I)&&(N=I||N));const G=d(g,!0)(b),P="vnode"===N&&st(G)&&S?G[0]:G;return S?(g=>e.modifiers?e.modifiers[g]:K4)(S)(P,N):P},message:d,type:Te(e.processor)&&oe(e.processor.type)?e.processor.type:"text",interpolate:h,normalize:p,values:At(qe(),r,l)};return b}(se));let be=a?a(ne,l):ne;p&&oe(be)&&(be=function Tw(e){return e=(e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(t,n,a)=>`${n}="${F1(a)}"`)).replace(/(\w+)\s*=\s*'([^']*)'/g,(t,n,a)=>`${n}='${F1(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(Yn("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(t=>{e=e.replace(t,"$1javascript:")}),e}(be));{const Ve={timestamp:Date.now(),key:oe(l)?l:gn(N)?N.key:"",locale:_||(gn(N)?N.locale:""),format:oe(N)?N:gn(N)?N.source:"",message:be};Ve.meta=At({},e.__meta,H4()||{}),E4(Ve)}return be}function wh(e,t,n,a,o,i){const{messages:r,onWarn:s,messageResolver:l,localeFallbacker:c}=e,d=c(e,a,n);let p,f=qe(),h=null,m=n,b=null;const g="translate";for(let v=0;v<d.length;v++){if(p=b=d[v],n!==p&&!ch(n,p)&&_s(o,t)&&s(co(2,{key:t,target:p})),n!==p){const S=e.__v_emitter;S&&S.emit("fallback",{type:g,key:t,from:m,to:b,groupId:`${g}:${t}`})}f=r[p]||qe();let I,N,_=null;if(Mn&&(_=window.performance.now(),I="intlify-message-resolve-start",N="intlify-message-resolve-end",on&&on(I)),null===(h=l(f,t))&&(h=f[t]),Mn){const S=window.performance.now(),G=e.__v_emitter;G&&_&&h&&G.emit("message-resolve",{type:"message-resolve",key:t,message:h,time:S-_,groupId:`${g}:${t}`}),I&&N&&on&&so&&(on(N),so("intlify message resolve",I,N))}if(oe(h)||mn(h)||gn(h))break;if(!J4(p,d)){const S=ku(e,t,p,i,g);S!==t&&(h=S)}m=b}return[h,p,f]}function Ch(e,t,n,a,o,i){const{messageCompiler:r,warnHtmlMessage:s}=e;if(gn(a)){const p=a;return p.locale=p.locale||n,p.key=p.key||t,p}if(null==r){const p=()=>a;return p.locale=n,p.key=t,p}let c,d,l=null;Mn&&(l=window.performance.now(),c="intlify-message-compilation-start",d="intlify-message-compilation-end",on&&on(c));const f=r(a,function sC(e,t,n,a,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:r=>{i&&i(r);{const s=function lC(e){return oe(e)?e:e.loc&&e.loc.source?e.loc.source:void 0}(a),l=`Message compilation error: ${r.message}`,c=r.location&&s&&function Fw(e,t=0,n=e.length){const a=e.split(/\r?\n/);let o=0;const i=[];for(let r=0;r<a.length;r++)if(o+=a[r].length+1,o>=t){for(let s=r-2;s<=r+2||n>o;s++){if(s<0||s>=a.length)continue;const l=s+1;i.push(`${l}${" ".repeat(3-String(l).length)}| ${a[s]}`);const c=a[s].length;if(s===r){const d=t-(o-c)+1,f=Math.max(1,n>o?c-d:n-t);i.push(" | "+" ".repeat(d)+"^".repeat(f))}else if(s>r){if(n>o){const d=Math.max(Math.min(n-o,c),1);i.push(" | "+"^".repeat(d))}o+=c+1}}break}return i.join("\n")}(s,r.location.start.offset,r.location.end.offset),d=e.__v_emitter;d&&s&&d.emit("compile-error",{message:s,error:r.message,start:r.location&&r.location.start.offset,end:r.location&&r.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${l}\n${c}`:l)}},onCacheKey:r=>((e,t,n)=>(e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"))({l:e,k:t,s:n}))(t,n,r)}}(e,n,o,a,s,i));if(Mn){const p=window.performance.now(),h=e.__v_emitter;
1h&&l&&h.emit("message-compilation",{type:"message-compilation",message:a,time:p-l,groupId:`translate:${t}`}),c&&d&&on&&so&&(on(d),so("intlify message compilation",c,d))}return f.locale=n,f.key=t,f.source=a,f}function Tu(...e){const[t,n,a]=e,o=qe();if(!(oe(t)||mt(t)||gn(t)||mn(t)))throw ma(17);const i=mt(t)?String(t):(gn(t),t);return mt(n)?o.plural=n:oe(n)?o.default=n:Te(n)&&!gs(n)?o.named=n:st(n)&&(o.list=n),mt(a)?o.plural=a:oe(a)?o.default=a:Te(a)&&At(o,a),[i,o]}function _h(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}!function u4(){"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(lo().__INTLIFY_PROD_DEVTOOLS__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(lo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}();const fC="function"==typeof Proxy;let Ji,Ou;class gC{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const a={};if(t.settings)for(const r in t.settings)a[r]=t.settings[r].defaultValue;const o=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},a);try{const r=localStorage.getItem(o),s=JSON.parse(r);Object.assign(i,s)}catch{}this.fallbacks={getSettings:()=>i,setSettings(r){try{localStorage.setItem(o,JSON.stringify(r))}catch{}i=r},now:()=>function mC(){return function hC(){var e;return void 0!==Ji||(typeof window<"u"&&window.performance?(Ji=!0,Ou=window.performance):typeof globalThis<"u"&&null!==(e=globalThis.perf_hooks)&&void 0!==e&&e.performance?(Ji=!0,Ou=globalThis.perf_hooks.performance):Ji=!1),Ji}()?Ou.now():Date.now()}()},n&&n.on("plugin:settings:set",(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]:"on"===s?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})})})}setRealTarget(t){var n=this;return(0,Ao.A)(function*(){n.target=t;for(const a of n.onQueue)n.target.on[a.method](...a.args);for(const a of n.targetQueue)a.resolve(yield n.target[a.method](...a.args))})()}}const Je_UNEXPECTED_RETURN_TYPE=24,Je_INVALID_ARGUMENT=25,Je_MUST_BE_CALL_SETUP_TOP=26,Je_NOT_INSTALLED=27,Je_REQUIRED_VALUE=28,Je_INVALID_VALUE=29,Je_CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN=30,Je_NOT_INSTALLED_WITH_PROVIDE=31,Je_UNEXPECTED_ERROR=32,Je_NOT_COMPATIBLE_LEGACY_VUE_I18N=33,Je_NOT_AVAILABLE_COMPOSITION_IN_LEGACY=34;function $t(e,...t){return Jo(e,null,{messages:wC,args:t})}const wC={[Je_UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Je_INVALID_ARGUMENT]:"Invalid argument",[Je_MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Je_NOT_INSTALLED]:"Need to install with `app.use` function",[Je_UNEXPECTED_ERROR]:"Unexpected error",[Je_REQUIRED_VALUE]:"Required in value: {0}",[Je_INVALID_VALUE]:"Invalid value",[Je_CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Je_NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Je_NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Je_NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Nu=Wn("__translateVNode"),Ru=Wn("__datetimeParts"),Fu=Wn("__numberParts"),uo=Wn("__enableEmitter"),Ki=Wn("__disableEmitter"),xh=Wn("__setPluralRules"),Eh=Wn("__injectWithOption"),Lu=Wn("__dispose"),bn_FALLBACK_TO_ROOT=8,bn_NOT_FOUND_PARENT_SCOPE=9,bn_IGNORE_OBJ_FLATTEN=10,bn_DEPRECATE_LEGACY_MODE=11,bn_DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE=12,bn_DUPLICATE_USE_I18N_CALLING=13,CC={[bn_FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[bn_NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[bn_IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[bn_DEPRECATE_LEGACY_MODE]:"Legacy API mode has been deprecated in v11. Use Composition API mode instead.\nAbout how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html",[bn_DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated
1in v11. Use translate APIs ('t' or '$t') instead.",[bn_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 Xo(e,...t){return ms(CC[e],...t)}function Zi(e){if(!Le(e)||mn(e))return e;for(const t in e)if(kn(e,t))if(t.includes(".")){const n=t.split("."),a=n.length-1;let o=e,i=!1;for(let r=0;r<a;r++){if("__proto__"===n[r])throw new Error(`unsafe key: ${n[r]}`);if(n[r]in o||(o[n[r]]=qe()),!Le(o[n[r]])){Yn(Xo(10,{key:n[r]})),i=!0;break}o=o[n[r]]}if(i||(mn(o)?$1.includes(n[a])||delete e[t]:(o[n[a]]=e[t],delete e[t])),!mn(o)){const r=o[n[a]];Le(r)&&Zi(r)}}else Le(e[t])&&Zi(e[t]);return e}function Pu(e,t){const{messages:n,__i18n:a,messageResolver:o,flatJson:i}=t,r=Te(n)?n:st(a)?qe():{[e]:qe()};if(st(a)&&a.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(r[l]=r[l]||qe(),vs(c,r[l])):vs(c,r)}else oe(s)&&vs(JSON.parse(s),r)}),null==o&&i)for(const s in r)kn(r,s)&&Zi(r[s]);return r}function kh(e,t,n){let a=Le(t.messages)?t.messages:qe();"__i18nGlobal"in n&&(a=Pu(e.locale.value,{messages:a,__i18n:n.__i18nGlobal}));const o=Object.keys(a);if(o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,a[i])}),Le(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(r=>{e.mergeDateTimeFormat(r,t.datetimeFormats[r])})}if(Le(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(r=>{e.mergeNumberFormat(r,t.numberFormats[r])})}}function Sh(e){return me(Fo,null,e,0)}function ei(){return ts()}const Th=()=>[],_C=()=>!1;let Oh=0;function Nh(e){return(t,n,a,o)=>e(n,a,ei()||void 0,o)}function Du(e={}){const{__root:t,__injectWithOption:n}=e,a=void 0===t,o=e.flatJson,i=Mn?Z:f2;let r=!Pe(e.inheritLocale)||e.inheritLocale;const s=i(t&&r?t.locale.value:oe(e.locale)?e.locale:$i),l=i(t&&r?t.fallbackLocale.value:oe(e.fallbackLocale)||st(e.fallbackLocale)||Te(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:s.value),c=i(Pu(s.value,e)),d=i(Te(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),f=i(Te(e.numberFormats)?e.numberFormats:{[s.value]:{}});let p=t?t.missingWarn:!Pe(e.missingWarn)&&!Qo(e.missingWarn)||e.missingWarn,h=t?t.fallbackWarn:!Pe(e.fallbackWarn)&&!Qo(e.fallbackWarn)||e.fallbackWarn,m=t?t.fallbackRoot:!Pe(e.fallbackRoot)||e.fallbackRoot,b=!!e.fallbackFormat,g=He(e.missing)?e.missing:null,v=He(e.missing)?Nh(e.missing):null,_=He(e.postTranslation)?e.postTranslation:null,I=t?t.warnHtmlMessage:!Pe(e.warnHtmlMessage)||e.warnHtmlMessage,N=!!e.escapeParameter;const S=t?t.modifiers:Te(e.modifiers)?e.modifiers:{};let P,G=e.pluralRules||t&&t.pluralRules;P=(()=>{a&&rh(null);const E={version:"11.2.1",locale:s.value,fallbackLocale:l.value,messages:c.value,modifiers:S,pluralRules:G,missing:null===v?void 0:v,missingWarn:p,fallbackWarn:h,fallbackFormat:b,unresolving:!0,postTranslation:null===_?void 0:_,warnHtmlMessage:I,escapeParameter:N,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};E.datetimeFormats=d.value,E.numberFormats=f.value,E.__datetimeFormatters=Te(P)?P.__datetimeFormatters:void 0,E.__numberFormatters=Te(P)?P.__numberFormatters:void 0,E.__v_emitter=Te(P)?P.__v_emitter:void 0;const F=function Q4(e={}){const t=He(e.onWarn)?e.onWarn:Yn,n=oe(e.version)?e.version:"11.2.1",a=oe(e.locale)||He(e.locale)?e.locale:$i,o=He(a)?$i:a,i=st(e.fallbackLocale)||Te(e.fallbackLocale)||oe(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:o,r=Te(e.messages)?e.messages:Mu(o),s=Te(e.datetimeFormats)?e.datetimeFormats:Mu(o),l=Te(e.numberFormats)?e.numberFormats:Mu(o),c=At(qe(),e.modifiers,function G4(){return{upper:(e,t)=>"text"===t&&oe(e)?e.toUpperCase():"vnode"===t&&Le(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&oe(e)?e.toLowerCase():"vnode"===t&&Le(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&oe(e)?eh(e):"vnode"===t&&Le(e)&&"__v_isVNode"in e?eh(e.children):e}}()),d=e.pluralRules||qe(),f=He(e.missing)?e.missing:null,p=!Pe(e.missingWarn)&&!Qo(e.missingWarn)||e.missingWarn,h=!Pe(e.fallbackWarn)&&!Qo(e.fallbackWarn)||e.fallbackWarn,m=!!e.fallbackFormat,b
1=!!e.unresolving,g=He(e.postTranslation)?e.postTranslation:null,v=Te(e.processor)?e.processor:null,_=!Pe(e.warnHtmlMessage)||e.warnHtmlMessage,I=!!e.escapeParameter,N=He(e.messageCompiler)?e.messageCompiler:th;He(e.messageCompiler)&&mu(co(7));const S=He(e.messageResolver)?e.messageResolver:nh||B4,G=He(e.localeFallbacker)?e.localeFallbacker:ah||I4,P=Le(e.fallbackContext)?e.fallbackContext:void 0,ee=e,se=Le(ee.__datetimeFormatters)?ee.__datetimeFormatters:new Map,Q=Le(ee.__numberFormatters)?ee.__numberFormatters:new Map,ne=Le(ee.__meta)?ee.__meta:{};sh++;const be={version:n,cid:sh,locale:a,fallbackLocale:i,messages:r,modifiers:c,pluralRules:d,missing:f,missingWarn:p,fallbackWarn:h,fallbackFormat:m,unresolving:b,postTranslation:g,processor:v,warnHtmlMessage:_,escapeParameter:I,messageCompiler:N,messageResolver:S,localeFallbacker:G,fallbackContext:P,onWarn:t,__meta:ne};return be.datetimeFormats=s,be.numberFormats=l,be.__datetimeFormatters=se,be.__numberFormatters=Q,be.__v_emitter=null!=ee.__v_emitter?ee.__v_emitter:void 0,function x4(e,t,n){Hi&&Hi.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}(be,n,ne),be}(E);return a&&rh(F),F})(),Qi(P,s.value,l.value);const se=$({get:()=>s.value,set:E=>{P.locale=E,s.value=E}}),Q=$({get:()=>l.value,set:E=>{P.fallbackLocale=E,l.value=E,Qi(P,s.value,E)}}),ne=$(()=>c.value),be=$(()=>d.value),Ve=$(()=>f.value),te=(E,F,ae,ue,Oe,Se)=>{let tt;try{a||(P.fallbackContext=t?ih:void 0),tt=E(P)}finally{a||(P.fallbackContext=void 0)}if("translate exists"!==ae&&mt(tt)&&-1===tt||"translate exists"===ae&&!tt){const[$e,lt]=F();if(t&&oe($e)&&function D(E,F){return"translate"!==E||!F.resolvedMessage}(ae,lt)){m&&(_s(h,$e)||lh(p,$e))&&Yn(Xo(8,{key:$e,type:ae}));{const{__v_emitter:ln}=P;ln&&m&&ln.emit("fallback",{type:ae,key:$e,to:"global",groupId:`${ae}:${$e}`})}}return t&&m?ue(t):Oe($e)}if(Se(tt))return tt;throw $t(24)};function pe(...E){return te(F=>Reflect.apply(Ah,null,[F,...E]),()=>Tu(...E),"translate",F=>Reflect.apply(F.t,F,[...E]),F=>F,F=>oe(F))}const Ke={normalize:function Ye(E){return E.map(F=>oe(F)||mt(F)||Pe(F)?Sh(String(F)):F)},interpolate:E=>E,type:"vnode"};function y(E){return c.value[E]||{}}Oh++,t&&Mn&&(Jt(t.locale,E=>{r&&(s.value=E,P.locale=E,Qi(P,s.value,l.value))}),Jt(t.fallbackLocale,E=>{r&&(l.value=E,P.fallbackLocale=E,Qi(P,s.value,l.value))}));const W={id:Oh,locale:se,fallbackLocale:Q,get inheritLocale(){return r},set inheritLocale(E){r=E,E&&t&&(s.value=t.locale.value,l.value=t.fallbackLocale.value,Qi(P,s.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:ne,get modifiers(){return S},get pluralRules(){return G||{}},get isGlobal(){return a},get missingWarn(){return p},set missingWarn(E){p=E,P.missingWarn=p},get fallbackWarn(){return h},set fallbackWarn(E){h=E,P.fallbackWarn=h},get fallbackRoot(){return m},set fallbackRoot(E){m=E},get fallbackFormat(){return b},set fallbackFormat(E){b=E,P.fallbackFormat=b},get warnHtmlMessage(){return I},set warnHtmlMessage(E){I=E,P.warnHtmlMessage=E},get escapeParameter(){return N},set escapeParameter(E){N=E,P.escapeParameter=E},t:pe,getLocaleMessage:y,setLocaleMessage:function M(E,F){if(o){const ae={[E]:F};for(const ue in ae)kn(ae,ue)&&Zi(ae[ue]);F=ae[E]}c.value[E]=F,P.messages=c.value},mergeLocaleMessage:function j(E,F){c.value[E]=c.value[E]||{};const ae={[E]:F};if(o)for(const ue in ae)kn(ae,ue)&&Zi(ae[ue]);vs(F=ae[E],c.value[E]),P.messages=c.value},getPostTranslationHandler:function re(){return He(_)?_:null},setPostTranslationHandler:function K(E){_=E,P.postTranslation=E},getMissingHandler:function z(){return g},setMissingHandler:function V(E){null!==E&&(v=Nh(E)),g=E,P.missing=v},[xh]:function kt(E){G=E,P.pluralRules=G}};return W.datetimeFormats=be,W.numberFormats=Ve,W.rt=function fe(...E){const[F,ae,ue]=E;if(ue&&!Le(ue))throw $t(25);return pe(F,ae,At({resolvedMessage:!0},ue||{}))},W.te=function nt(E,F){return te(()=>{if(!E)return!1;const ue=y(oe(F)?F:s.value),Oe=P.messageResolver(ue,E);return mn(Oe)||gn(Oe)||oe(Oe)},()=>[E],"translate exists",ae=>Reflect.apply(ae.te,ae,[E,F]),_C,ae=>Pe(ae))},W.tm=function C(E){return function wt(E){let F=null;const ae=K1(P,l.value,s.value);for(let ue=0;ue<ae.length;ue++){const Se=P.messageResolver(c.value[ae[ue]]||{},E);if(null!=Se){F=Se;break}}return F}(E)??(t&&t.tm(E)||{})},W.d=function xe(...E){return te(F=>Reflect.apply(dh,null,[F,...E]),()=>Su(...E),"datetime format",F=>Reflect.apply(F.d,F,[...E]),()=>"",F=>oe(F)||st(F))},W.n=function Ee(...E){return te(F=>Reflect.apply(mh,null,[F,...E]),()=>Iu(...E),"number format",F=>Reflect.apply(F.n,F,[...E]),()=>"",F=>oe(F)||st(F))},W.getDateTimeFormat=function B(E){return d.value[E]||{}},W.setDateTimeFormat=function Y(E,F){d.value[E]=F,P.datetimeFormats=d.value,hh(P,E,F)},W.mergeDateTimeFormat=function A(E,F){d.value[E]=At(d.value[E]||{},F),P.datetimeFormats=d.value,hh(P,E,F)},W.getNumberFormat=function w(E){return f.value[E]||{}},W.setNumberFormat=function k(E,F){f.value[E]=F,P.numberFormats=f.value,bh(P,E,F)},W.mergeNumberFormat=function R(E,F){f.value[E]=At(f.value[E]||{},F),P.numberFormats=f.value,bh(P,E,F)},W[Eh]=n,W[Nu]=function gt(...E){return te(F=>{let ae;const ue=F;try{ue.processor=Ke,ae=Reflect.apply(Ah,null,[ue,...E])}finally{ue.processor=null}return ae},()=>Tu(...E),"translate",F=>F[Nu](...E),F=>[Sh(F)],F=>st(F))},W[Ru]=function bt(...E){return te(F=>Reflect.apply(dh,null,[F,...E]),()=>Su(...E),"datetime format",F=>F[Ru](...E),Th,F=>oe(F)||st(F))},W[Fu]=function et(...E){return te(F=>Reflect.apply(mh,null,[F,...E]),()=>Iu(...E),"number format",F=>F[Fu](...E),Th,F=>oe(F)||st(F))},W[uo]=E=>{P.__v_emitter=E},W[Ki]=()=>{P.__v_emitter=void 0},W}const Rh="vue-i18n: composer properties";let ju;function Uu(){return Uu=(0,Ao.A)(function*(e,t){return new Promise((n,a)=>{try{!function bC(e,t){const n=e,a=_h(),o=function uC(){return _h().__VUE_DEVTOOLS_GLOBAL_HOOK__}(),i=fC&&n.enableEarlyProxy;if(!o||!a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&i){const r=i?new gC(n,o):null;(a.__VUE_DEVTOOLS_PLUGINS__=a.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:r}),r&&t(r.proxiedTarget)}else o.emit("devtools-plugin:setup",e,t)}({id:"vue-devtools-plugin-vue-i18n",label:"Vue I18n DevTools",packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Rh],app:e},o=>{ju=o,o.on.visitComponentTree(({componentInstance:r,treeNode:s})=>{!function kC(e,t,n){if(e&&e.__VUE_I18N__&&e.__VUE_I18N__!==("composition"===n.mode?n.global:n.global.__composer)){const o={label:`i18n (${Fh(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(o)}}(r,s,t)}
1),o.on.inspectComponent(({componentInstance:r,instanceData:s})=>{r.__VUE_I18N__&&s&&("legacy"===t.mode?r.__VUE_I18N__!==t.global.__composer&&Lh(s,r.__VUE_I18N__):Lh(s,r.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:"Vue I18n DevTools",icon:"language",treeFilterPlaceholder:"Search for scopes ..."}),o.on.getInspectorTree(r=>{r.app===e&&"vue-i18n-resource-inspector"===r.inspectorId&&function NC(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n="composition"===t.mode?t.global:t.global.__composer;for(const[a,o]of t.__instances){const i="composition"===t.mode?o:o.__composer;n!==i&&e.rootNodes.push({id:i.id.toString(),label:`${Fh(a)} Scope`})}}(r,t)});const i=new Map;o.on.getInspectorState(function(){var r=(0,Ao.A)(function*(s){if(s.app===e&&"vue-i18n-resource-inspector"===s.inspectorId)if(o.unhighlightElement(),function FC(e,t){const n=Ph(e.nodeId,t);n&&(e.state=function LC(e){const t={},n="Locale related info";t[n]=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];const o="Locale messages info",i=[{type:o,key:"messages",editable:!1,value:zu(e.messages.value)}];t[o]=i;{const r="Datetime formats info";t[r]=[{type:r,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];const l="Datetime formats info";t[l]=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}]}return t}(n))}(s,t),"global"===s.nodeId){if(!i.has(s.app)){const[l]=yield o.getComponentInstances(s.app);i.set(s.app,l)}o.highlightElement(i.get(s.app))}else{const l=function RC(e,t){let n=null;if("global"!==e)for(const[a,o]of t.__instances.entries())if(o.id.toString()===e){n=a;break}return n}(s.nodeId,t);l&&o.highlightElement(l)}});return function(s){return r.apply(this,arguments)}}()),o.on.editInspectorState(r=>{r.app===e&&"vue-i18n-resource-inspector"===r.inspectorId&&function PC(e,t){const n=Ph(e.nodeId,t);if(n){const[a]=e.path;"locale"===a&&oe(e.state.value)?n.locale.value=e.state.value:"fallbackLocale"===a&&(oe(e.state.value)||st(e.state.value)||Le(e.state.value))?n.fallbackLocale.value=e.state.value:"inheritLocale"===a&&Pe(e.state.value)&&(n.inheritLocale=e.state.value)}}(r,t)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:"Vue I18n",color:16764185}),n(!0)})}catch(o){console.error(o),a(!1)}})}),Uu.apply(this,arguments)}function Fh(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function Lh(e,t){const n=Rh;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:zu(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function zu(e){const t={};return Object.keys(e).forEach(n=>{const a=e[n];t[n]=He(a)&&"source"in a?function OC(e){return{_custom:{type:"function",display:"<span>\u0192</span> "+(e.source?`("${IC(e.source)}")`:"(?)")}}}(a):mn(a)&&a.loc&&a.loc.source?a.loc.source:Le(a)?zu(a):a}),t}const SC={"<":"<",">":">",'"':""","&":"&"};function IC(e){return e.replace(/[<>"&]/g,TC)}function TC(e){return SC[e]||e}function Ph(e,t){if("global"===e)return"composition"===t.mode?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(a=>a.id.toString()===e);return n?"composition"===t.mode?n:n.__composer:null}}function Xi(e,t){if(ju){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),ju.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:"compile-error"===e?"error":"fallback"===e||"missing"===e?"warning":"default"}})}}function qu(e={}){const t=Du(function DC(e){const t=oe(e.locale)?e.locale:$i,n=oe(e.fallbackLocale)||st(e.fallbackLocale)||Te(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,a=He(e.missing)?e.missing:void 0,o=!Pe(e.silentTranslationWarn)&&!Qo(e.silentTranslationWarn)||!e.silentTranslationWarn,i=!Pe(e.silentFallbackWarn)&&!Qo(e.silentFallbackWarn)||!e.silentFallbackWarn,r=!Pe(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,l=Te(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=He(e.postTranslation)?e.postTranslation:void 0,f=!oe(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,p=!!e.escapeParameterHtml,h=!Pe(e.sync)||e.sync;let m=e.messages;if(Te(e.sharedMessages)){const S=e.sharedMessages;m=Object.keys(S).reduce((G,P)=>{const ee=G[P]||(G[P]={});return At(ee,S[P]),G},m||{})}const{__i18n:b,__root:g,__injectWithOption:v}=e;return{locale:t,fallbackLocale:n,messages:m,flatJson:e.flatJson,datetimeFormats:e.datetimeFormats,numberFormats:e.numberFormats,missing:a,missingWarn:o,fallbackWarn:i,fallbackRoot:r,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:f,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:h,__i18n:b,__root:g,__injectWithOption:v}}(e)),{__extender:n}=e,a={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return Pe(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=Pe(o)?!o:o},get silentFallbackWarn(){return Pe(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn}
1,set silentFallbackWarn(o){t.fallbackWarn=Pe(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage="off"!==o},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t:(...o)=>Reflect.apply(t.t,t,[...o]),rt:(...o)=>Reflect.apply(t.rt,t,[...o]),te:(o,i)=>t.te(o,i),tm:o=>t.tm(o),getLocaleMessage:o=>t.getLocaleMessage(o),setLocaleMessage(o,i){t.setLocaleMessage(o,i)},mergeLocaleMessage(o,i){t.mergeLocaleMessage(o,i)},d:(...o)=>Reflect.apply(t.d,t,[...o]),getDateTimeFormat:o=>t.getDateTimeFormat(o),setDateTimeFormat(o,i){t.setDateTimeFormat(o,i)},mergeDateTimeFormat(o,i){t.mergeDateTimeFormat(o,i)},n:(...o)=>Reflect.apply(t.n,t,[...o]),getNumberFormat:o=>t.getNumberFormat(o),setNumberFormat(o,i){t.setNumberFormat(o,i)},mergeNumberFormat(o,i){t.mergeNumberFormat(o,i)}};return a.__extender=n,a.__enableEmitter=o=>{t[uo]&&t[uo](o)},a.__disableEmitter=()=>{t[Ki]&&t[Ki]()},a}function Dh(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[xh](t.pluralizationRules||e.pluralizationRules);const n=Pu(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(a=>e.mergeLocaleMessage(a,n[a])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a])),t.numberFormats&&Object.keys(t.numberFormats).forEach(a=>e.mergeNumberFormat(a,t.numberFormats[a])),e}const Gu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function Bh(){return ft}const jh=We({name:"i18n-t",props:At({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>mt(e)||!isNaN(e)}},Gu),setup(e,t){const{slots:n,attrs:a}=t,o=e.i18n||Ot({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>"_"!==f[0]),r=qe();e.locale&&(r.locale=e.locale),void 0!==e.plural&&(r.plural=oe(e.plural)?+e.plural:e.plural);const s=function jC({slots:e},t){return 1===t.length&&"default"===t[0]?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===ft?a.children:[a]],[]):t.reduce((n,a)=>{const o=e[a];return o&&(n[a]=o()),n},qe())}(t,i),l=o[Nu](e.keypath,s,r),c=At(qe(),a);return q0(oe(e.tag)||Le(e.tag)?e.tag:Bh(),c,l)}}});function Uh(e,t,n,a){const{slots:o,attrs:i}=t;return()=>{const r={part:!0};let s=qe();e.locale&&(r.locale=e.locale),oe(e.format)?r.key=e.format:Le(e.format)&&(oe(e.format.key)&&(r.key=e.format.key),s=Object.keys(e.format).reduce((p,h)=>n.includes(h)?At(qe(),p,{[h]:e.format[h]}):p,qe()));const l=a(e.value,r,s);let c=[r.key];st(l)?c=l.map((p,h)=>{const m=o[p.type],b=m?m({[p.type]:p.value,index:h,parts:l}):[p.value];return function zC(e){return st(e)&&!oe(e[0])}(b)&&(b[0].key=`${p.type}-${h}`),b}):oe(l)&&(c=[l]);const d=At(qe(),i);return q0(oe(e.tag)||Le(e.tag)?e.tag:Bh(),d,c)}}const zh=We({name:"i18n-n",props:At({value:{type:Number,required:!0},format:{type:[String,Object]}},Gu),setup(e,t){const n=e.i18n||Ot({useScope:e.scope,__useComponent:!0});return Uh(e,t,gh,(...a)=>n[Fu](...a))}});function qh(e){if(oe(e))return{path:e};if(Te(e)){if(!("path"in e))throw $t(28,"path");return e}throw $t(29)}function Gh(e){const{path:t,locale:n,args:a,choice:o,plural:i}=e,r={},s=a||{};return oe(n)&&(r.locale=n),mt(o)&&(r.plural=o),mt(i)&&(r.plural=i),[t,s,r]}const WC=Wn("global-vue-i18n");function Ot(e={}){const t=ei();if(null==t)throw $t(26);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw $t(27);const n=function QC(e){const t=he(e.isCE?WC:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw $t(e.isCE?31:32);return t}(t),a=function KC(e){return"composition"===e.mode?e.global:e.global.__composer}(n),o=function Mh(e){return e.type}(t),i=function JC(e,t){return gs(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,o);if("global"===i)return kh(a,e,o),a;
1if("parent"===i){let l=function ZC(e,t,n=!1){let a=null;const o=t.root;let i=function XC(e,t=!1){return null==e?null:t&&e.vnode.ctx||e.parent}(t,n);for(;null!=i;){const r=e;if("composition"===e.mode)a=r.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const s=r.__getInstance(i);null!=s&&(a=s.__composer,n&&a&&!a[Eh]&&(a=null))}if(null!=a||o===i)break;i=i.parent}return a}(n,t,e.__useComponent);return null==l&&(Yn(Xo(9)),l=a),l}const r=n;let s=r.__getInstance(t);if(null==s){const l=At({},e);"__i18n"in o&&(l.__i18n=o.__i18n),a&&(l.__root=a),s=Du(l),r.__composerExtend&&(s[Lu]=r.__composerExtend(s)),function e6(e,t,n){let a=null;ia(()=>{t.__VUE_I18N__=n,a=vu(),n[uo]&&n[uo](a),a.on("*",Xi)},t),To(()=>{const o=n;a&&a.off("*",Xi),o[Ki]&&o[Ki](),delete t.__VUE_I18N__,e.__deleteInstance(t);const i=o[Lu];i&&(i(),delete o[Lu])},t)}(r,t,s),r.__setInstance(t,s)}else"local"===i&&Yn(Xo(13));return s}const t6=["locale","fallbackLocale","availableLocales"],Vh=["t","rt","d","n","tm","te"],Yh=We({name:"i18n-d",props:At({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Gu),setup(e,t){const n=e.i18n||Ot({useScope:e.scope,__useComponent:!0});return Uh(e,t,ph,(...a)=>n[Ru](...a))}});(function AC(){"boolean"!=typeof __VUE_I18N_FULL_INSTALL__&&(lo().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!=typeof __VUE_I18N_LEGACY_API__&&(lo().__VUE_I18N_LEGACY_API__=!0),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(lo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(lo().__INTLIFY_PROD_DEVTOOLS__=!1)})(),function V4(e){th=e}(function C4(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&oe(e)){const n=!Pe(t.warnHtmlMessage)||t.warnHtmlMessage;!function y4(e,t){t&&(e=>jw.test(e))(e)&&Yn(ms("Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.",{source:e}))}(e,n);const a=(t.onCacheKey||A4)(e),o=As[a];if(o)return o;const{ast:i,detectError:r}=function w4(e,t={}){let n=!1;const a=t.onError||Bw;return t.onError=o=>{n=!0,a(o)},{...l4(e,t),detectError:n}}(e,{...t,location:!0,jit:!0}),s=Cu(i);return r?s:As[a]=s}{if(!mn(e))return Yn(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;return n?As[n]||(As[n]=Cu(e)):Cu(e)}}),function Y4(e){nh=e}(function j4(e,t){if(!Le(e))return null;let n=X1.get(t);if(n||(n=function D4(e){const t=[];let i,r,s,l,c,d,f,n=-1,a=0,o=0;const p=[];function h(){const m=e[n+1];if(5===a&&"'"===m||6===a&&'"'===m)return n++,s="\\"+m,p[0](),!0}for(p[0]=()=>{void 0===r?r=s:r+=s},p[1]=()=>{void 0!==r&&(t.push(r),r=void 0)},p[2]=()=>{p[0](),o++},p[3]=()=>{if(o>0)o--,a=4,p[0]();else{if(o=0,void 0===r||(r=function P4(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(function R4(e){return N4.test(e)}(t)?function F4(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t)}(r),!1===r))return!1;p[1]()}};null!==a;)if(n++,i=e[n],"\\"!==i||!h()){if(l=L4(i),f=Pa[a],c=f[l]||f.l||8,8===c||(a=c[0],void 0!==c[1]&&(d=p[c[1]],d&&(s=i,!1===d()))))return;if(7===a)return t}}(t),n&&X1.set(t,n)),!n)return null;const a=n.length;let o=e,i=0;for(;i<a;){const r=n[i];if($1.includes(r)&&mn(o))return null;const s=o[r];if(void 0===s||He(o))return null;o=s,i++}return o}),function W4(e){ah=e}(K1);{const e=lo();e.__INTLIFY__=!0,function _4(e){Hi=e}(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Vu={Auth:{Submit:"Bate-papo",Name:"Nome",Email:"E-mail",OfflineEnterValidEmail:"Desculpe, isso n\xe3o parece ser um endere\xe7o de e-mail. Voc\xea pode tentar novamente?",FieldValidation:"Campo obrigat\xf3rio",OfflineSubmit:"Enviar",FieldsReplacement:"Clique em 'Chat' para iniciar um bate-papo com um agente",ChatIntro:"Voc\xea poderia informar suas informa\xe7\xf5es para contato?",CloseButton:"Fechar",PhoneText:"Telefone",EnterValidPhone:"N\xfamero de telefone inv\xe1lido",EnterValidName:"Nome Inv\xe1lido",EnterValidEmail:"E-mail Inv\xe1lido",MaxCharactersReached:"N\xfamero m\xe1ximo de caracteres atingido",AuthEmailMessage:"Voc\xea pode nos informar seu e-mail?",AuthNameMessage:"Voc\xea pode nos informar seu nome?",GdprDefaultMessage:"Concordo que meus dados pessoais sejam processados \u200b\u200bpara uso de cookies para participar de um chat realizado pela EMPRESA, para fins de bate-papo/suporte pelo per\xedodo de 30 dia(s) conforme o GDPR.",DepartmentMessage:"Por favor, selecione o departamento"},Chat:{TypeYourMessage:"Escreva sua mensagem...",MessageNotDeliveredError:"Ocorreu um erro relacionado \xe0 rede. Mensagem n\xe3o enviada.",TryAgain:" Clique aqui para tentar novamente ",FileError:"N\xe3o foi poss\xedvel carregar o arquivo selecionado.",RateComment:"D\xea sua opini\xe3o",RateFeedbackRequest:"Voc\xea deseja nos dar um feedback mais detalhado?",RateRequest:"Avalie sua conversa",UnsupportedFileError:"O arquivo selecionado n\xe3o \xe9 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\xe3o pode exceder 50 caracteres",OfflineFormInvalidEmail:"Desculpe, isso n\xe3o parece ser um endere\xe7o de e-mail. Voc\xea pode tentar novamente?",OfflineFormInvalidName:"Desculpe, o nome fornecido n\xe3o \xe9 v\xe1lido."},MessageBox:{Ok:"Ok",TryAgain:"Tente novamente"},Inputs:{InviteMessage:"Ol\xe1! Como podemos te ajudar hoje?",EndingMessage:"Sua sess\xe3o terminou. Por favor, sinta-se \xe0 vontade para nos contatar novamente!",NotAllowedError:"Permitir acesso ao microfone pelo seu navegador",NotFoundError:"Microfone n\xe3o encontrado",ServiceUnavailable:"Servi\xe7o indispon\xedvel",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\xe1lido. 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\xe3o est\xe1 dispon\xedvel no momento.",GreetingMessage:"Ei, estamos aqui para ajudar!",BlockMessage:"Sua sess\xe3o 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\xe3o enfileiradas at\xe9 que um agente lhe seja designado. Por favor, aguarde mais um pouco",NotRespondingStatusTitle:"N\xe3o est\xe1 respondendo",DisconnectStatusTitle:"Tentando reconectar",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Come\xe7e um novo"},Rate:{Bad:"Ruim",Good:"Bom",Neutral:"Neutro",VeryBad:"Muito ruim",VeryGood:"Muito bom",GiveFeedback:"Sim",NoFeedback:"N\xe3o"}},Wh={Auth:{Submit:"\u804a\u5929",Name:"\u59d3\u540d",Email:"\u90ae\u7bb1",OfflineEnterValidEmail:"\u5f88\u62b1\u6b49\uff0c\u8be5\u5730\u5740\u770b\u8d77\u6765\u4e0d\u50cf\u7535\u5b50\u90ae\u7bb1\u5730\u5740\u3002\u60a8\u53ef\u4ee5\u91cd\u8bd5\u5417\uff1f",FieldValidation:"\u5fc5\u586b\u5b57\u6bb5",OfflineSubmit:"\u53d1\u9001",FieldsReplacement:'\u8bf7\u70b9\u51fb "\u804a\u5929"\uff0c\u5f00\u59cb\u4e0e\u5750\u5e2d\u4ea4\u8c08',ChatIntro:"\u80fd\u7ed9\u6211\u4eec\u60a8\u7684\u8054\u7cfb\u65b9\u5f0f\u5417\uff1f",CloseButton:"\u5173\u95ed",PhoneText:"\u7535\u8bdd",EnterValidPhone:"\u65e0\u6548\u7684\u7535\u8bdd\u53f7\u7801",EnterValidName:"\u540d\u79f0\u65e0\u6548",EnterValidEmail:"\u65e0\u6548\u7684\u90ae\u7bb1",MaxCharactersReached:"\u5df2\u8fbe\u5230\u6700\u5927\u5b57\u7b26\u9650\u5236",AuthEmailMessage:"\u80fd\u544a\u8bc9\u6211\u4eec\u60a8\u7684\u90ae\u7bb1\u5417\uff1f",AuthNameMessage:"\u80fd\u544a\u8bc9\u6211\u4eec\u60a8\u7684\u59d3\u540d\u5417\uff1f",GdprDefaultMessage:"\u6211\u540c\u610f\u6839\u636e GDPR \u5904\u7406\u6211\u7684\u4e2a\u4eba\u6570\u636e\u5e76\u4f7f\u7528 cookie \u8fdb\u884c\u516c\u53f8\u5904\u7406\u7684\u804a\u5929\uff0c\u4ee5\u63d0\u4f9b\u804a\u5929/\u652f\u6301\u7684\u76ee\u7684\uff0c\u671f\u9650\u4e3a 30 \u5929\u3002",DepartmentMessage:"\u8bf7\u9009\u62e9\u90e8\u95e8"},Chat:{TypeYourMessage:"\u8f93\u5165\u60a8\u7684\u6d88\u606f...",MessageNotDeliveredError:"\u53d1\u751f\u7f51\u7edc\u76f8\u5173\u9519\u8bef\u3002\u4fe1\u606f\u672a\u9001\u8fbe\u3002",TryAgain:" \u70b9\u51fb\u6b64\u5904\u518d\u8bd5\u4e00\u6b21 ",FileError:"\u65e0\u6cd5\u4e0a\u4f20\u6240\u9009\u6587\u4ef6\u3002",RateComment:"\u544a\u8bc9\u6211\u4eec\u60a8\u7684\u53cd\u9988",RateFeedbackRequest:"\u60a8\u662f\u5426\u60f3\u7ed9\u6211\u4eec\u66f4\u8be6\u7ec6\u7684\u53cd\u9988\uff1f",RateRequest:"\u4e3a\u60a8\u7684\u5bf9\u8bdd\u8bc4\u5206",UnsupportedFileError:"\u4e0
1d\u652f\u6301\u6240\u9009\u6587\u4ef6\u3002",OperatorJoined:"\u5750\u5e2d%%OPERATOR%% \u52a0\u5165\u804a\u5929",NetworkError:"\u53d1\u751f\u7f51\u7edc\u76f8\u5173\u9519\u8bef\u3002"},Offline:{OfflineNameMessage:"\u80fd\u544a\u8bc9\u6211\u4eec\u60a8\u7684\u540d\u5b57\u5417\uff1f",OfflineEmailMessage:"\u80fd\u544a\u8bc9\u6211\u4eec\u60a8\u7684\u7535\u5b50\u90ae\u7bb1\u5417\uff1f",CharactersLimit:"\u957f\u5ea6\u4e0d\u80fd\u8d85\u8fc750\u4e2a\u5b57\u7b26",OfflineFormInvalidEmail:"\u5f88\u62b1\u6b49\uff0c\u8be5\u5730\u5740\u770b\u8d77\u6765\u4e0d\u50cf\u7535\u5b50\u90ae\u7bb1\u5730\u5740\u3002\u60a8\u53ef\u4ee5\u91cd\u8bd5\u5417\uff1f",OfflineFormInvalidName:"\u62b1\u6b49\uff0c\u60a8\u63d0\u4f9b\u7684\u540d\u5b57\u65e0\u6548\u3002"},MessageBox:{Ok:"OK",TryAgain:"\u518d\u6b21\u5c1d\u8bd5"},Inputs:{InviteMessage:"\u60a8\u597d\uff01\u8bf7\u95ee\u6709\u4ec0\u4e48\u53ef\u4ee5\u5e2e\u5230\u60a8\u7684\uff1f",EndingMessage:"\u60a8\u7684\u4f1a\u8bdd\u7ed3\u675f\u4e86\u3002\u8bf7\u968f\u65f6\u4e0e\u6211\u4eec\u8054\u7cfb\uff01",NotAllowedError:"\u5141\u8bb8\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee\u9ea6\u514b\u98ce",NotFoundError:"\u672a\u53d1\u73b0\u9ea6\u514b\u98ce",ServiceUnavailable:"\u670d\u52a1\u4e0d\u53ef\u7528",UnavailableMessage:"\u6211\u4eec\u4e0d\u5728\u7ebf\uff0c\u7ed9\u6211\u4eec\u7559\u8a00\u5427!",OperatorName:"\u652f\u6301",WindowTitle:"\u5b9e\u65f6\u804a\u5929\u548c\u901a\u8bdd",CallTitle:"\u81f4\u7535\u6211\u4eec",EndCallTitle:"\u7ed3\u675f\u901a\u8bdd",PoweredBy:"\u75313CX\u63d0\u4f9b\u652f\u6301",OfflineMessagePlaceholder:"\u7559\u8a00\u4fe1\u606f",OfflineMessageSent:"\u6211\u4eec\u4f1a\u5c3d\u5feb\u4e0e\u60a8\u8054\u7cfb\u3002",InvalidIdErrorMessage:"\u65e0\u6548\u7684ID\u3002\u8054\u7cfb\u7f51\u7ad9\u7ba1\u7406\u5458\u3002ID\u5fc5\u987b\u4e0eClick2Talk\u53cb\u597d\u540d\u79f0\u5339\u914d",IsTyping:"\u6b63\u5728\u8f93\u5165...",NewMessageTitleNotification:"\u65b0\u6d88\u606f",ChatIsDisabled:"\u5b9e\u65f6\u804a\u5929\u6682\u4e0d\u53ef\u7528\u3002",GreetingMessage:"\u563f\uff0c\u5f88\u9ad8\u5174\u4e3a\u60a8\u670d\u52a1\uff01",BlockMessage:"\u4f60\u7684\u4f1a\u8bdd\u5df2\u7ecf\u7ed3\u675f\uff0c\u56e0\u4e3a\u4f60\u7684IP\u88ab\u5750\u5e2d\u7981\u6b62\u4e86",Dialing:"\u62e8\u53f7",Connected:"\u5df2\u8fde\u63a5",ChatWithUs:"\u4e0e\u6211\u4eec\u804a\u5929",CallingStatusTitle:"\u547c\u53eb...",MuteMic:"\u9759\u97f3",UnmuteMic:"\u53d6\u6d88\u9759\u97f3",FullScreen:"\u5168\u5c4f",messageQueueTillAssigned:"\u60a8\u7684\u4fe1\u606f\u4f1a\u88ab\u6392\u5728\u961f\u5217\u4e2d\uff0c\u76f4\u5230\u4e3a\u60a8\u5206\u914d\u5750\u5e2d\u3002\u8bf7\u518d\u5fcd\u8010\u4e00\u6bb5\u65f6\u95f4",NotRespondingStatusTitle:"\u672a\u54cd\u5e94",DisconnectStatusTitle:"\u5c1d\u8bd5\u91cd\u65b0\u8fde\u63a5",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"\u5f00\u59cb\u65b0\u7684\u804a\u5929"},Rate:{Bad:"\u5dee",Good:"\u597d",Neutral:"\u4e00\u822c",VeryBad:"\u975e\u5e38\u5dee",VeryGood:"\u975e\u5e38\u597d",GiveFeedback:"\u662f",NoFeedback:"\u5426"}},Hh={en:{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 val
1id."},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"}},es:{Auth:{Submit:"Chat",Name:"Nombre",Email:"Correo electr\xf3nico",OfflineEnterValidEmail:"Lo sentimos, eso no parece una direcci\xf3n de correo. \xbfPuede intentarlo de nuevo?",FieldValidation:"Campo requerido",OfflineSubmit:"Enviar",FieldsReplacement:"Por favor, haga clic en 'chat' para inciciar un chat con un agente",ChatIntro:"\xbfPodr\xedamos tener su informaci\xf3n de contacto?",CloseButton:"Cerrar",PhoneText:"Tel\xe9fono",EnterValidPhone:"N\xfamero de tel\xe9fono inv\xe1lido",EnterValidName:"Nombre inv\xe1lido",EnterValidEmail:"Correo electr\xf3nico inv\xe1lido",MaxCharactersReached:"N\xfamero m\xe1ximo de caracteres alcanzado",AuthEmailMessage:"\xbfPodr\xeda decirnos su correo electr\xf3nico?",AuthNameMessage:"\xbfPodr\xeda 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\xedas de acuerdo con GDPR.",DepartmentMessage:"Por favor, seleccione el departamento"},Chat:{TypeYourMessage:"Escriba su mensaje...",MessageNotDeliveredError:"Se detect\xf3 un error relacionado con la red. Mensaje no entregado.",TryAgain:" Haga clic aqu\xed para intentarlo de nuevo. ",FileError:"No es posible subir el archivo seleccionado.",RateComment:"Denos su opini\xf3n",RateFeedbackRequest:"\xbfQuiere darnos un feedback m\xe1s detallado?",RateRequest:"Califique su conversaci\xf3n",UnsupportedFileError:"El archivo seleccionado no est\xe1 soportado.",OperatorJoined:"El agente %%OPERATOR%% se uni\xf3 al chat",NetworkError:"Se ha producido un error relacionado con la red."},Offline:{OfflineNameMessage:"\xbfPodemos tener su nombre?",OfflineEmailMessage:"\xbfPodemos tener su correo electr\xf3nico?",CharactersLimit:"La extensi\xf3n no puede ser mayor de 50 caracteres",OfflineFormInvalidEmail:"Lo sentimos, eso no parece una direcci\xf3n de correo. \xbfPuede intentarlo de nuevo?",OfflineFormInvalidName:"Lo sentimos, el nombre proporcionado no es v\xe1lido."},MessageBox:{Ok:"Aceptar",TryAgain:"Int\xe9ntelo de nuevo"},Inputs:{InviteMessage:"\xa1Hola! \xbfC\xf3mo puedo ayudarle el d\xeda de hoy?",EndingMessage:"Su sesi\xf3n ha terminado. \xa1Por favor, no dude en contactarnos de nuevo!",NotAllowedError:"Permitir el acceso a su micr\xf3fono por parte del navegador",NotFoundError:"No se encontr\xf3 un micr\xf3fono",ServiceUnavailable:"Servicio no disponible",UnavailableMessage:"Ahora estamos ausentes, \xa1D\xe9jenos un mensaje!",OperatorName:"Soporte",WindowTitle:"Live Chat & Talk",CallTitle:"Ll\xe1manos",EndCallTitle:"Finalizar llamada",PoweredBy:"Powered By 3CX",OfflineMessagePlaceholder:"Mensaje",OfflineMessageSent:"Nos pondremos en contacto pronto.",InvalidIdErrorMessage:"ID inv\xe1lido. Contacte al administrador del sitio web. El ID debe ser igual al nombre amistoso de Click2Talk",IsTyping:"est\xe1 escribiendo...",NewMessageTitleNotification:"Nuevo mensaje",ChatIsDisabled:"El chat no est\xe1 disponible en este momento.",GreetingMessage:"Hola, \xa1Estamos aqu\xed para ayudar!",BlockMessage:"Su sesi\xf3n 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\xe1s 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\xed",NoFeedback:"No"}},de:{Auth:{Submit:"Chat",Name:"Name",Email:"E-Mail-Adresse",OfflineEnterValidEmail:"Dies sieht leider nicht nach einer E-Mail-Adresse aus. Bitte \xfcberpr\xfcfen Sie die Angabe.",FieldValidation:"Pflichtfeld",OfflineSubmit:"Senden",FieldsReplacement:'Bitte klicken Sie auf "Chat", um einen Chat mit einem Agenten zu starten',ChatIntro:"K\xf6nnten Sie uns bitte Ihre Kontaktinformationen mitteilen?",CloseButton:"Schlie\xdfen",PhoneText:"Telefonnummer",EnterValidPhone:"Ung\xfcltige Telefonnummer",EnterValidName:"Ung\xfcltiger Name",EnterValidEmail:"Ung\xfcltige E-Mail-Adresse",MaxCharactersReached:"Maximale Anzahl an Zeichen erreicht",AuthEmailMessage:"K\xf6nnten Sie uns bitte Ihre E-Mail-Adresse mitteilen?",AuthNameMessage:"K\xf6nnten Sie uns bitte Ihren Namen mitteilen?",GdprDefaultMessage:"Ich stimme der Verarbeitung meiner personenbezogenen Daten und der Verwendung von Cookies gem\xe4\xdf der DSGVO f\xfcr die Dauer von 30 Tagen zu, um an einem von UNTERNEHMEN durchgef\xfchrten Chat zum Zwecke des Chats/Supports teilzunehmen.",DepartmentMessage:"Bitte eine Abteilung w\xe4hlen"},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\xe4hlte Datei kann nicht hochgeladen werden.",RateComment:"Teilen Sie uns bitte Ihr Feedback mit",RateFeedbackRequest:"M\xf6chten Sie uns detaillierteres Feedback geben?",RateRequest:"Bitte bewerten Sie Ihr Gespr\xe4ch",UnsupportedFileError:"Die ausgew\xe4hlte Datei wird nicht unterst\xfctzt.",OperatorJoined:"Agent %%OPERATOR%% ist dem Chat beigetreten",NetworkError:"Ein Netzwerkfehler ist aufgetreten."},Offline:{OfflineNameMessage:"K\xf6nnten Sie uns bitte Ihren Namen mitteilen?",OfflineEmailMessage:"K\xf6nnten Sie uns bitte Ihre E-Mail-Adresse mitteilen?",CharactersLimit:"Die maximale L\xe4nge betr\xe4gt 50 Zeichen",OfflineFormInvalidEmail:"Dies sieht leider nicht nach einer E-Mail-Adresse aus. Bitte \xfcberpr\xfcfen Sie die Angabe.",OfflineFormInvalidName:"Es tut mir leid, der angegebene Name ist ung\xfcltig."},MessageBox:{Ok:"OK",TryAgain:"Versuchen Sie es noch einmal"},Inputs:{InviteMessage:"Hallo! Wie k\xf6nnen wir Ihnen weiterhelfen?",EndingMessage:"Ihre Sitzung ist beendet. Sie k\xf6nnen uns gerne jederzeit erneut kontaktieren.",NotAllowedError:"Erm\xf6glichen Sie den Mikrofonzugriff \xfcber Ihren Browser",NotFoundError:"Mikrofon nicht gefunden",ServiceUnavailable:"Dienst nicht verf\xfcgbar",UnavailableMessage:"Aktuell ist leider kein Agent verf\xfcgbar. 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\xf6glich bei Ihnen melden.",InvalidIdErrorMessage:"Ung\xfcltige ID. Wenden Sie sich an den Website-Administrator. Die ID muss mit dem Click2Talk-Anzeigenamen \xfcbereinstimmen",IsTyping:"tippt ...",NewMessageTitleNotification:"Neue Nachricht",ChatIsDisabled:"Der Chat ist momentan nicht verf\xfcgbar.",GreetingMessage:"Hallo, wie k\xf6nnen wir Ihnen weiterhelfen?",BlockMessage:"Ihre Sitzung ist beendet, da Ihre IP-Adresse vom Agenten gesperrt wurde",Dialing:"W\xe4hlt",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\xfcr 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"}},fr:{Auth:{Submit:"Chat",Name:"Nom",Email:"Courriel",OfflineEnterValidEmail:"D\xe9sol\xe9, cela ne ressemble pas \xe0 une adresse \xe9lectronique. Pouvez-vous r\xe9essayer ?",FieldValidation:"Champ obligatoire",OfflineSubmit:"Envoyer",FieldsReplacement:"Cliquez sur 'Chat' pour commencer une discussion avec un agent",ChatIntro:"Pouvons-nous avoir vos coordonn\xe9es ?",CloseButton:"Fermer",PhoneText:"T\xe9l\xe9phone",EnterValidPhone:"Num\xe9ro de t\xe9l\xe9phone invalide",EnterValidName:"Nom invalide",EnterValidEmail:"Courriel invalide",MaxCharactersReached:"Nombre maximum de caract\xe8res atteint",AuthEmailMessage:"Pourriez-vous nous communiquer votre adresse \xe9lectronique ?",AuthNameMessage:"Pourriez-vous nous communiquer votre nom ?",GdprDefaultMessage:"Je suis d'accord que mes donn\xe9es personnelles soient trait\xe9es et accepte l'utilisation de cookies afin de commencer un chat trait\xe9 par SOCI\xc9T\xc9, dans le but du chat/d'assistance pendant la dur\xe9e de 30 jour(s) selon le RGPD.",DepartmentMessage:"Veuillez s\xe9lectionner un d\xe9partement"},Chat:{TypeYourMessage:"\xc9crivez votre message...",MessageNotDeliveredError:"Une erreur li\xe9e au r\xe9seau est survenue. Le message n'a pas pu \xeatre d\xe9livr\xe9.",TryAgain:" Cliquez ici pour r\xe9essayer. ",FileError:"Impossible d'uploader le fichier s\xe9lectionn\xe9.",RateComment:"Merci de nous donner votre avis",RateFeedbackRequest:"Souhaitez-vous nous faire part de commentaires plus d\xe9taill\xe9s ?",RateRequest:"Notez votre conversation",UnsupportedFileError:"Le fichier s\xe9lectionn\xe9 n'est pas support\xe9.",OperatorJoined:"L'agent %%OPERATOR%% a rejoint le chat",NetworkError:"Une erreur li\xe9e au r\xe9seau 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\xe9der 50 caract\xe8res",OfflineFormInvalidEmail:"D\xe9sol\xe9, cela ne ressemble pas \xe0 une adresse \xe9lectronique. Pouvez-vous r\xe9essayer ?",OfflineFormInvalidName:"D\xe9sol\xe9, le nom fourni n'est pas valide."},MessageBox:{Ok:"OK",TryAgain:"Merci de r\xe9essayer"},Inputs:{InviteMessage:"Bonjour, comment pouvons-nous vous aider ?",EndingMessage:"Votre session est termin\xe9e. N'h\xe9sitez pas \xe0 nous recontacter !",NotAllowedError:"Permettre l'acc\xe8s 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:"Ap
1pelez-nous",EndCallTitle:"Terminer l'appel",PoweredBy:"Powered By 3CX",OfflineMessagePlaceholder:"Message",OfflineMessageSent:"Nous vous contacterons bient\xf4t.",InvalidIdErrorMessage:"ID invalide. Contactez l'administrateur de votre site web. L'ID doit correspondre au pseudonyme Click2Talk",IsTyping:"Est en train d'\xe9crire...",NewMessageTitleNotification:"Nouveau message",ChatIsDisabled:"Le chat n'est pas disponible pour le moment.",GreetingMessage:"Bonjour, nous sommes l\xe0 pour vous aider !",BlockMessage:"Votre chat est termin\xe9 car votre IP a \xe9t\xe9 bannie par l'agent",Dialing:"Appel en cours\r",Connected:"Connect\xe9",ChatWithUs:"Discutez avec nous",CallingStatusTitle:"En cours d'appel...",MuteMic:"Couper le son",UnmuteMic:"R\xe9tablir le son",FullScreen:"Plein \xe9cran",messageQueueTillAssigned:"Vos messages sont mis en attente jusqu'\xe0 ce qu'un agent vous soit attribu\xe9. Veuillez patienter encore un peu.",NotRespondingStatusTitle:"Pas de r\xe9ponse",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\xe8s mauvais",VeryGood:"Tr\xe8s bon",GiveFeedback:"Oui",NoFeedback:"Non"}},it:{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\xc0, 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 \xe8 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\xf9 dettagliato?",RateRequest:"Valuta la tua conversazione",UnsupportedFileError:"Il file selezionato non \xe8 supportato.",OperatorJoined:"Agente %%OPERATOR%% collegato alla chat",NetworkError:"Si \xe8 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 \xe8 valido."},MessageBox:{Ok:"OK",TryAgain:"Riprova"},Inputs:{InviteMessage:"Ciao! Come possiamo aiutarti oggi?",EndingMessage:"La sessione \xe8 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\xf9 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 \xe8 al momento disponibile.",GreetingMessage:"Ciao, siamo qui per aiutare!",BlockMessage:"La tua sessione \xe8 terminata perch\xe9 il tuo ip \xe8 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\xe9 non ti verr\xe0 assegnato un agente. Ti preghiamo di pazientare ancora un p\xf2",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"}},pl:{Auth:{Submit:"Czat",Name:"Przedstaw si\u0119",Email:"Email",OfflineEnterValidEmail:"Przykro mi, to nie wygl\u0105da jak adres email. Czy mo\u017cesz spr\xf3bowa\u0107 ponownie?",FieldValidation:"Pole wymagane",OfflineSubmit:"Wy\u015blij",FieldsReplacement:'Kliknij "Czat", aby rozpocz\u0105\u0107 rozmow\u0119 z agentem',ChatIntro:"Czy mo\u017cemy prosi\u0107 o Twoje imi\u0119 i adres e-mail?",CloseButton:"Zamknij",PhoneText:"Telefon",EnterValidPhone:"Nieprawid\u0142owy numer telefonu",EnterValidName:"Nieprawid\u0142owa nazwa",EnterValidEmail:"Nieprawid\u0142owy email",MaxCharactersReached:"O
1si\u0105gni\u0119to maksymaln\u0105 ilo\u015b\u0107 znak\xf3w",AuthEmailMessage:"Czy mo\u017cesz poda\u0107 sw\xf3j email?",AuthNameMessage:"Czy mo\u017cesz poda\u0107 swoje imi\u0119?",GdprDefaultMessage:"Wyra\u017cam zgod\u0119 na przetwarzanie moich danych osobowych i na u\u017cycie ciasteczek w celu przeprowadzenia czatu procesowanego przez FIRM\u0118, w celu rozmowy/obs\u0142ugi, przez 30 dni, zgodnie z polityk\u0105 prywatno\u015bci.",DepartmentMessage:"Wybierz dzia\u0142"},Chat:{TypeYourMessage:"Wpisz swoj\u0105 wiadomo\u015b\u0107\u2026.",MessageNotDeliveredError:"B\u0142\u0105d sieci. Wiadomo\u015b\u0107 nie dostarczona.",TryAgain:" Kliknij tutaj, aby spr\xf3bowa\u0107 ponownie. ",FileError:"Nie mo\u017cna za\u0142adowa\u0107 wybranego pliku.",RateComment:"Podziel si\u0119 swoj\u0105 opini\u0105",RateFeedbackRequest:"Czy chesz poda\u0107 nam wi\u0119cej szczeg\xf3\u0142\xf3w?",RateRequest:"Oce\u0144 swoj\u0105 rozmow\u0119",UnsupportedFileError:"Wybrany plik nie jest wspierany.",OperatorJoined:"Agent %%OPERATOR%% do\u0142\u0105czy\u0142 do czatu",NetworkError:"Wyst\u0105pi\u0142 b\u0142\u0105d zwi\u0105zany z sieci\u0105."},Offline:{OfflineNameMessage:"Czy mo\u017cesz si\u0119 przedstawi\u0107?",OfflineEmailMessage:"Czy mo\u017cesz poda\u0107 sw\xf3j email?",CharactersLimit:"D\u0142ugo\u015b\u0107 nie mo\u017ce przekracza\u0107 50 znak\xf3w",OfflineFormInvalidEmail:"Przykro mi, to nie wygl\u0105da jak adres email. Czy mo\u017cesz spr\xf3bowa\u0107 ponownie?",OfflineFormInvalidName:"Przykro mi, podana nazwa jest nieprawid\u0142owa."},MessageBox:{Ok:"OK",TryAgain:"Spr\xf3buj ponownie"},Inputs:{InviteMessage:"Witaj! Jak mo\u017cemy Ci dzi\u015b pom\xf3c?",EndingMessage:"Twoja sesja si\u0119 zako\u0144czy\u0142a. Zapraszamy do ponownego kontaktu!",NotAllowedError:"Zezw\xf3l na dost\u0119p do mikrofonu swojej przegl\u0105darce",NotFoundError:"Nie znaleziono mikrofonu",ServiceUnavailable:"Us\u0142uga niedost\u0119pna",UnavailableMessage:"Nie ma nas, zostaw wiadomo\u015b\u0107!",OperatorName:"Wsparcie",WindowTitle:"Chat i rozmowa na \u017cywo",CallTitle:"Zadzwo\u0144 do nas",EndCallTitle:"Zako\u0144cz rozmow\u0119",PoweredBy:"Wspierane przez 3CX",OfflineMessagePlaceholder:"Wiadomo\u015b\u0107",OfflineMessageSent:"Wkr\xf3tce si\u0119 z Tob\u0105 skontaktujemy.",InvalidIdErrorMessage:"Nieprawid\u0142owe ID. Skontaktuj si\u0119 z administratorem strony. ID musi odpowiada\u0107 Przyjaznej nazwie Click2Talk",IsTyping:"Pisze\u2026",NewMessageTitleNotification:"Nowa wiadomo\u015b\u0107",ChatIsDisabled:"Czat jest w tym momencie niedost\u0119pny.",GreetingMessage:"Cze\u015b\u0107, jeste\u015bmy tu \u017ceby pom\xf3c!",BlockMessage:"Sesja zako\u0144czy\u0142a si\u0119 gdy\u017c agent zablokowa\u0142 Tw\xf3j adres IP",Dialing:"Wybieranie",Connected:"Po\u0142\u0105czony",ChatWithUs:"Czat z nami",CallingStatusTitle:"Dzwoni\u0119...",MuteMic:"Wycisz",UnmuteMic:"W\u0142. d\u017awi\u0119k",FullScreen:"Pe\u0142ny ekran",messageQueueTillAssigned:"Twoje wiadomo\u015bci czekaj\u0105 w kolejce na przypisanie agenta. Prosimy o wyrozumia\u0142o\u015b\u0107",NotRespondingStatusTitle:"Brak odpowiedzi",DisconnectStatusTitle:"Pr\xf3ba ponownego po\u0142\u0105czenia",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Zacznij nowy"},Rate:{Bad:"\u0179le",Good:"Dobrze",Neutral:"Neutralnie",VeryBad:"Bardzo \u017ale",VeryGood:"Bardzo dobrze",GiveFeedback:"Tak",NoFeedback:"Nie"}},ru:{Auth:{Submit:"\u041d\u0430\u0447\u0430\u0442\u044c \u0447\u0430\u0442",Name:"\u0418\u043c\u044f",Email:"E-mail",OfflineEnterValidEmail:"\u042d\u0442\u043e \u043d\u0435 \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u0430\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b. \u041c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0435\u0449\u0435 \u0440\u0430\u0437?",FieldValidation:"\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u043f\u043e\u043b\u0435",OfflineSubmit:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c",FieldsReplacement:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 '\u041d\u0430\u0447\u0430\u0442\u044c \u0447\u0430\u0442', \u0447\u0442\u043e\u0431\u044b \u0441\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u0441 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c",ChatIntro:"\u041c\u043e\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0432\u0430\u0448\u0438 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u044b?",CloseButton:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c",PhoneText:"\u0422\u0435\u043b\u0435\u0444\u043e\u043d",EnterValidPhone:"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440",EnterValidName:"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0438\u043c\u044f",EnterValidEmail:"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 e-mail",MaxCharactersReached:"\u0414\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442\u043e \u043f\u0440\u0435\u0434\u0435\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432",AuthEmailMessage:"\u041c\u043e\u0433\u043b\u0438 \u0431\u044b \u0432\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0430\u0448 e-mail?",AuthNameMessage:"\u041c\u043e\u0433\u043b\u0438 \u0431\u044b \u0432\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0430\u0448\u0435 \u0438\u043c\u044f?",GdprDefaultMessage:"\u042f \u
10441\u043e\u0433\u043b\u0430\u0441\u0435\u043d, \u0447\u0442\u043e \u043c\u043e\u0438 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u044b, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 cookies. \u0414\u0430\u043d\u043d\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u0447\u0430\u0442\u0430 \u0441 \u041a\u041e\u041c\u041f\u0410\u041d\u0418\u0415\u0419. \u0427\u0430\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0438 \u043a\u043e\u043d\u0441\u0443\u043b\u044c\u0442\u0430\u0446\u0438\u0439. \u0414\u0430\u043d\u043d\u044b\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f 30 \u0434\u043d\u0435\u0439 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0432\u0438\u0438 \u0441 GDPR.",DepartmentMessage:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043e\u0442\u0434\u0435\u043b"},Chat:{TypeYourMessage:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435...",MessageNotDeliveredError:"\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0442\u0438. \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043d\u0435 \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e.",TryAgain:" \u041d\u0430\u0436\u043c\u0438\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u043d\u043e\u0432\u0430. ",FileError:"\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b.",RateComment:"\u041e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u0432\u043e\u0439 \u043e\u0442\u0437\u044b\u0432",RateFeedbackRequest:"\u0425\u043e\u0442\u0438\u0442\u0435 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u043e\u0442\u0437\u044b\u0432?",RateRequest:"\u041e\u0446\u0435\u043d\u0438\u0442\u0435 \u0434\u0438\u0430\u043b\u043e\u0433 \u0441 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c",UnsupportedFileError:"\u0412\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f.",OperatorJoined:"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 %%OPERATOR%% \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b\u0441\u044f \u043a \u0447\u0430\u0442\u0443",NetworkError:"\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u0441\u0435\u0442\u0435\u0432\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430."},Offline:{OfflineNameMessage:"\u041c\u043e\u0433\u043b\u0438 \u0431\u044b \u0432\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0430\u0448\u0435 \u0438\u043c\u044f?",OfflineEmailMessage:"\u041c\u043e\u0433\u043b\u0438 \u0431\u044b \u0432\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0430\u0448 e-mail?",CharactersLimit:"\u0414\u043b\u0438\u043d\u0430 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u0430 \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0442\u044c 50 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432",OfflineFormInvalidEmail:"\u042d\u0442\u043e \u043d\u0435 \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u0430\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b. \u041c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0435\u0449\u0435 \u0440\u0430\u0437?",OfflineFormInvalidName:"\u0412\u044b \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0435 \u0438\u043c\u044f."},MessageBox:{Ok:"OK",TryAgain:"\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0441\u043d\u043e\u0432\u0430"},Inputs:{InviteMessage:"\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435! \u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u0430\u043c \u043f\u043e\u043c\u043e\u0447\u044c?",EndingMessage:"\u0421\u0435\u0441\u0441\u0438\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430. \u0421\u0432\u044f\u0436\u0438\u0442\u0435\u0441\u044c \u0441 \u043d\u0430\u043c\u0438, \u043a\u043e\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u043e\u0431\u043d\u043e!",NotAllowedError:"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u043a \u043c\u0438\u043a\u0440\u043e\u0444\u043e\u043d\u0443",NotFoundError:"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d",ServiceUnavailable:"\u0421\u0435\u0440\u0432\u0438\u0441 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d",UnavailableMessage:"\u0421\u0435\u0439\u0447\u0430\u0441 \u043c\u044b \u043d\u0435 \u043d\u0430 \u0441\u0432\u044f\u0437\u0438. \u
1041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435!",OperatorName:"\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430",WindowTitle:"Live Chat & Talk",CallTitle:"\u041f\u043e\u0437\u0432\u043e\u043d\u0438\u0442\u044c",EndCallTitle:"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c \u0432\u044b\u0437\u043e\u0432",PoweredBy:"\u0417\u0430\u0440\u044f\u0436\u0435\u043d\u043e 3CX",OfflineMessagePlaceholder:"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435",OfflineMessageSent:"\u041c\u044b \u0441\u0432\u044f\u0436\u0435\u043c\u0441\u044f \u0441 \u0432\u0430\u043c\u0438 \u0432 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f.",InvalidIdErrorMessage:"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 ID. \u0421\u0432\u044f\u0436\u0438\u0442\u0435\u0441\u044c \u0441 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u043e\u043c \u0441\u0430\u0439\u0442\u0430. ID \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u043c\u0443 \u0438\u043c\u0435\u043d\u0438 \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 Click2Talk",IsTyping:"\u043d\u0430\u0431\u0438\u0440\u0430\u0435\u0442...",NewMessageTitleNotification:"\u041d\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435",ChatIsDisabled:"\u0427\u0430\u0442 \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d.",GreetingMessage:"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c! \u0413\u043e\u0442\u043e\u0432\u044b \u0432\u0430\u043c \u043f\u043e\u043c\u043e\u0447\u044c!",BlockMessage:"\u0421\u0435\u0441\u0441\u0438\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432\u0430\u0448 IP-\u0430\u0434\u0440\u0435\u0441 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c",Dialing:"\u041d\u0430\u0431\u043e\u0440",Connected:"\u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u043e",ChatWithUs:"\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c",CallingStatusTitle:"\u0412\u044b\u0437\u043e\u0432...",MuteMic:"\u041e\u0442\u043a\u043b. \u0437\u0432\u0443\u043a",UnmuteMic:"\u0412\u043a\u043b. \u0437\u0432\u0443\u043a",FullScreen:"\u041d\u0430 \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d",messageQueueTillAssigned:"\u0412\u0430\u0448\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u0438, \u043f\u043e\u043a\u0430 \u043c\u044b \u043f\u043e\u0434\u0431\u0438\u0440\u0430\u0435\u043c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430. \u041f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435 \u0435\u0449\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430",NotRespondingStatusTitle:"\u041d\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442",DisconnectStatusTitle:"\u041f\u043e\u043f\u044b\u0442\u043a\u0430 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"\u041d\u0430\u0447\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0447\u0430\u0442"},Rate:{Bad:"\u041f\u043b\u043e\u0445\u043e",Good:"\u0425\u043e\u0440\u043e\u0448\u043e",Neutral:"\u041d\u0435\u0439\u0442\u0440\u0430\u043b\u044c\u043d\u043e",VeryBad:"\u041e\u0447\u0435\u043d\u044c \u043f\u043b\u043e\u0445\u043e",VeryGood:"\u041e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e",GiveFeedback:"\u0414\u0430",NoFeedback:"\u041d\u0435\u0442"}},pt_BR:Vu,pt_PT:Vu,pt:Vu,zh:Wh,zh_CN:Wh},rn=function HC(e={}){const t=__VUE_I18N_LEGACY_API__&&Pe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__;t&&mu(Xo(11));const n=!Pe(e.globalInjection)||e.globalInjection,a=new Map,[o,i]=function $C(e,t){const n=function Gv(e){return new pd(e)}
1(),a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>qu(e)):n.run(()=>Du(e));if(null==a)throw $t(32);return[n,a]}(e,t),r=Wn("vue-i18n"),d={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},install:(f,...p)=>(0,Ao.A)(function*(){if(f.__VUE_I18N__=d,f.__VUE_I18N_SYMBOL__=r,f.provide(f.__VUE_I18N_SYMBOL__,d),Te(p[0])){const b=p[0];d.__composerExtend=b.__composerExtend,d.__vueI18nExtend=b.__vueI18nExtend}let h=null;!t&&n&&(h=function n6(e,t){const n=Object.create(null);return t6.forEach(a=>{const o=Object.getOwnPropertyDescriptor(t,a);if(!o)throw $t(32);const i=ot(o.value)?{get:()=>o.value.value,set(r){o.value.value=r}}:{get:()=>o.get&&o.get()};Object.defineProperty(n,a,i)}),e.config.globalProperties.$i18n=n,Vh.forEach(a=>{const o=Object.getOwnPropertyDescriptor(t,a);if(!o||!o.value)throw $t(32);Object.defineProperty(e.config.globalProperties,`$${a}`,o)}),()=>{delete e.config.globalProperties.$i18n,Vh.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}(f,d.global)),__VUE_I18N_FULL_INSTALL__&&function YC(e,t,...n){const a=Te(n[0])?n[0]:{};(!Pe(a.globalInstall)||a.globalInstall)&&([jh.name,"I18nT"].forEach(o=>e.component(o,jh)),[zh.name,"I18nN"].forEach(o=>e.component(o,zh)),[Yh.name,"I18nD"].forEach(o=>e.component(o,Yh))),e.directive("t",function VC(e){const t=n=>{mu(Xo(12));const{instance:a,value:o}=n;if(!a||!a.$)throw $t(32);const i=function GC(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const a=n.__getInstance(t);return null!=a?a.__composer:e.global.__composer}}(e,a.$),r=qh(o);return[Reflect.apply(i.t,i,[...Gh(r)]),i]};return{created:(n,a)=>{const[o,i]=t(a);Mn&&e.global===i&&(n.__i18nWatcher=Jt(i.locale,()=>{a.instance&&a.instance.$forceUpdate()})),n.__composer=i,n.textContent=o},unmounted:n=>{Mn&&n.__i18nWatcher&&(n.__i18nWatcher(),n.__i18nWatcher=void 0,delete n.__i18nWatcher),n.__composer&&(n.__composer=void 0,delete n.__composer)},beforeUpdate:(n,{value:a})=>{if(n.__composer){const o=n.__composer,i=qh(a);n.textContent=Reflect.apply(o.t,o,[...Gh(i)])}},getSSRProps:n=>{const[a]=t(n);return{textContent:a}}}}(t))}(f,d,...p),__VUE_I18N_LEGACY_API__&&t&&f.mixin(function BC(e,t,n){return{beforeCreate(){const a=ei();if(!a)throw $t(32);const o=this.$options;if(o.i18n){const i=o.i18n;if(o.__i18n&&(i.__i18n=o.__i18n),i.__root=t,this===this.$root)this.$i18n=Dh(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=qu(i);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Dh(e,o);else{this.$i18n=qu({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&kh(t,o,o),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$te=(i,r)=>this.$i18n.te(i,r),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(a,this.$i18n)},mounted(){if(this.$i18n){const a=ei();if(!a)return;const o=this.$i18n;a.__VUE_I18N__=o.__composer;const i=this.__v_emitter=vu();o.__enableEmitter&&o.__enableEmitter(i),i.on("*",Xi)}},unmounted(){const a=ei();if(!a)throw $t(32);const o=this.$i18n;a.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Xi),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__disableEmitter(),delete a.__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),n.__deleteInstance(a),delete this.$i18n}}}(i,i.__composer,d));const m=f.unmount;f.unmount=()=>{h&&h(),d.dispose(),m()};{if(!(yield function MC(e,t){return Uu.apply(this,arguments)}(f,d)))throw $t(30);const b=vu();t?i.__enableEmitter&&i.__enableEmitter(b):i[uo]&&i[uo](b),b.on("*",Xi)}})(),get global(){return i},dispose(){o.stop()},__instances:a,__getInstance:function s(f){return a.get(f)||null},__setInstance:function l(f,p){a.set(f,p)},__deleteInstance:function c(f){a.delete(f)}};return d}({legacy:!1,locale:"en",messages:Hh}),Yu=e=>t=>t.pipe(En(n=>n instanceof e),Et(n=>n)),$h=e=>{const t=new Uint8Array(e),n=S1.decode(t,t.length);return delete n.MessageId,Object.values(n)[0]};function ti(e,t){return e?t?`${e.replace(/\/+$/,"")}/${t.replace(/^\/+/,"")}`:e:t}const Wu=e=>{const{t}=rn.global;return"string"==typeof e?e:e instanceof Error?"NotAllowedError"===e.name?t("Inputs.NotAllowedError").toString():"NotFoundError"===e.name||"OverconstrainedError"===e.name?t("Inputs.NotFoundError").toString():"NetworkError"===e.name?t("Chat.NetworkError").toString():"messageQueue"===e.name?t("Inputs.messageQueueTillAssigned").toString():e.message:t("Inputs.ServiceUnavailable").toString()},Qh=(()=>{const{t:e}=rn.global,t=window.document.title,n=e("Inputs.NewMessageTitleNotification").toString();let a;const o=()=>{window.document.title=window.document.title===n?t:n},i=()=>{clearInterval(a),window.document.title=t,window.document.onmousemove=null,a=null};return{startBlinkWithStopOnMouseMove(){a||(a=setInterval(o,1e3),window.document.onmousemove=i)},startBlink(){a||(a=setInterval(o,1e3))},stopBlink(){a&&i()}}})(),ni="https:"===window.location.protocol||window.location.host.startsWith("localhost")||"voipc://electron"===window.location.origin;function xs(e,t){void 0===t&&(t={});var n=t.selector,a=function P3(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]])}return n}(t,["selector"]);return new it(function(o){var i=new AbortController,r=i.signal,s=!0,l=a.signal;if(l)if(l.aborted)i.abort();else{var c=function(){r.aborted||i.abort()};l.addEventListener("abort",c),o.add(function(){return l.removeEventListener("abort",c)})}var d=ss(ss({},a),{signal:r}),f=function(p){s=!1,o.error(p)};
1return fetch(e,d).then(function(p){n?vt(n(p)).subscribe(Qe(o,void 0,function(){s=!1,o.complete()},f)):(s=!1,o.next(p),o.complete())}).catch(f),function(){s&&i.abort()}})}class ga{constructor(t){x(this,"name",""),x(this,"image",""),Object.assign(this,t)}}const Da=new ga;class er{constructor(t){x(this,"isNew",!1),x(this,"chatState"),x(this,"startingConv",new uu),x(this,"idConversation",-1),x(this,"status",yt.BROWSE),Object.assign(this,t)}}function Jh(){try{return"true"===localStorage.getItem("callus.loggerenabled")}catch{return!1}}function tr(e){console.error("call-us:",e)}const Hu=()=>e=>e.pipe($c({connector:()=>new fa(1),resetOnError:!1,resetOnComplete:!1}));class ai{static Merge(t,n){return n.Action===Yo.FullUpdate||n.Action===Yo.Updated?ai.MergePlainObject(t,n):n.Action||Object.assign(t,n),t}static notify(t,n){const a=Reflect.get(t,`${n.toString()}$`);void 0!==a&&a.next(Reflect.get(t,n))}static MergePlainObject(t,n){void 0!==t&&Reflect.ownKeys(n).filter(a=>"Action"!==a&&"Id"!==a).forEach(a=>{const o=Reflect.get(n,a),i=Reflect.get(t,a);if(void 0!==o){if(o instanceof Array){const r=o;if(0===r.length)return;if(r[0]instanceof Object){const l={};(i||[]).forEach(c=>{l[c.Id]=c}),r.forEach(c=>{const d=c.Id,f=l[d];switch(c.Action){case Yo.Deleted:delete l[d];break;case Yo.FullUpdate:l[d]=c;break;case Yo.Inserted:case Yo.Updated:l[d]=void 0===f?c:ai.Merge(f,c)}}),Reflect.set(t,a,Object.values(l))}else Reflect.set(t,a,o)}else o instanceof Object?Reflect.set(t,a,void 0===i?o:ai.Merge(i,o)):Reflect.set(t,a,o);ai.notify(t,a)}})}}class C_{constructor(t,n){x(this,"chatConversationId"),x(this,"error",""),x(this,"isOnline",new Uo(!0)),x(this,"notificationChannelEndpoint"),x(this,"pbxEndpoint"),x(this,"endpoint"),x(this,"fileEndpoint"),x(this,"messagesSubject$",new Re),x(this,"messages$",this.messagesSubject$.asObservable()),x(this,"webRTCEndpoint",new Fa),x(this,"conversation$",new fa(1)),x(this,"webRTCEndpoint$",new fa(1)),x(this,"sessionState",Vn.Connected),x(this,"supportsWebRTC"),x(this,"serverProvideSystemMessages"),this.sessionId=n,this.pbxEndpoint=t,this.endpoint=ti(t,"/MyPhone/MPWebService.asmx"),this.fileEndpoint=ti(t,"/MyPhone/downloadChatFile/"),this.supportsWebRTC=!0,this.webRTCEndpoint$.next(this.webRTCEndpoint),this.serverProvideSystemMessages=!0,this.chatConversationId=0}notify(t){this.messagesSubject$.next(t)}getSessionUniqueCode(){return this.chatConversationId}onWebRtcEndpoint(t){this.webRTCEndpoint=ai.Merge(this.webRTCEndpoint,t),this.webRTCEndpoint$.next(this.webRTCEndpoint)}fileEndPoint(t){return`${this.fileEndpoint}${t}?sessionId=${this.sessionId}`}emojiEndpoint(){return`${this.pbxEndpoint}/webclient/assets/emojione/32/`}get(t){const n=t,a=new Error("network error");return a.name="NetworkError",xs(this.endpoint,{headers:{"Content-Type":"application/octet-stream",MyPhoneSession:this.sessionId},method:"POST",body:S1.encode(n.toGenericMessage()).finish()}).pipe(pn(()=>rt(()=>a)),_e(o=>o.ok?o.arrayBuffer():rt(()=>a)),Et(o=>{const i=$h(o);if(function A_(e){Jh()&&console.log("Response",e)}(i),i instanceof ps&&!i.Success){const r=new Error(i.Message||`Received unsuccessful ack for ${n.constructor.name}`);if(9===i.ErrorType&&(r.name="messageQueue"),console.error(i.Message),r.state=i.ErrorType,!(t instanceof fu&&32===i.ErrorType))throw r}return i}))}}function Kh(e){return e.MessageType===cu.CMT_Normal}class E_{constructor(t,n){x(this,"AddpTimeoutMs",2e4),this.pbxUrl=t,this.party=n}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(t){const n=localStorage.getItem(this.tokenStorageKey());let a=ti(this.pbxUrl,`/MyPhone/c2clogin?login=true&c2cid=${encodeURIComponent(this.party)}`);t.email&&(a+=`&email=${encodeURIComponent(t.email)}`),t.name&&(a+=`&displayname=${encodeURIComponent(t.name)}`),t.phone&&(a+=`&phone=${encodeURIComponent(t.phone)}`);const o=xs(a).pipe(_e(i=>i.ok?i.json():rt(()=>rn.global.t("Inputs.ServiceUnavailable"))));return(n?xs(ti(this.pbxUrl,`/MyPhone/c2clogin?login=true&c2cid=${encodeURIComponent(this.party)}&token=${encodeURIComponent(n)}`)).pipe(_e(i=>i.ok?i.json():rt(()=>rn.global.t("Inputs.ServiceUnavailable"))),pn(()=>o)):o).pipe(Oa(i=>{i.token&&localStorage.setItem(this.tokenStorageKey(),i.token)}),pn(i=>i instanceof Response&&404===i.status?rt(()=>rn.global.t("Inputs.InvalidIdErrorMessage")):rt(()=>i)),Et(i=>function x_(e,t){const n=new C_(e,t.sessionId),a=new URL(e);return n.notificationChannelEndpoint=ti(`${"https:"===a.protocol?"wss:":"ws:"}${e.replace("http:","").replace("https:","")}`,`/ws/webclient?sessionId=${encodeURIComponent(t.sessionId)}&pass=${encodeURIComponent(t.pass)}`),n}(this.pbxUrl,i)))}
1createNotificationChannel(t){return new it(n=>{const a=new WebSocket(t.notificationChannelEndpoint);return a.binaryType="arraybuffer",a.onmessage=o=>n.next(o.data),a.onerror=o=>n.error(o),()=>a.close()}).pipe(function bA(e){var n=Dp(e)?{first:e}:"number"==typeof e?{each:e}:e,a=n.first,o=n.each,i=n.with,r=void 0===i?vA:i,s=n.scheduler,l=void 0===s?zo:s,c=n.meta,d=void 0===c?null:c;if(null==a&&null==o)throw new TypeError("No timeout provided.");return ct(function(f,p){var h,m,b=null,g=0,v=function(_){m=da(p,l,function(){try{h.unsubscribe(),vt(r({meta:d,lastValue:b,seen:g})).subscribe(p)}catch(I){p.error(I)}},_)};h=f.subscribe(Qe(p,function(_){m?.unsubscribe(),g++,p.next(b=_),o>0&&v(o)},void 0,void 0,function(){null!=m&&m.closed||null==m||m.unsubscribe(),b=null})),!g&&v(null!=a?"number"==typeof a?a:+a-l.now():o)})}(this.AddpTimeoutMs),En(n=>"ADDP"!==n),function KA(e){return ct(function(t,n){var a=!1,o=0;t.subscribe(Qe(n,function(i){return(a||(a=!e(i,o++)))&&n.next(i)}))})}(n=>"START"!==n),qp(n=>{if("START"===n){this.setChatActive();const o=new b1,i=new k1({register:!0});return Wc(t.get(o),t.get(i)).pipe(En(r=>!(r instanceof ps)))}if("NOT AUTH"===n||"STOP"===n){t.onWebRtcEndpoint(new Fa);const o=new er({idConversation:t.getSessionUniqueCode(),status:yt.ENDED_BY_AGENT});return t.notify(o),rt(()=>rn.global.t("Inputs.ServiceUnavailable"))}const a=$h(n);return function w_(e){Jh()&&console.log(e)}(a),Xe(a)}),$c())}processMyPhoneMessages(t,n,a){return new it(o=>{let s,l,i=!1,r=!1,c=new uu;return a.subscribe({next:d=>{if(d instanceof hu?(n.isOnline.next(d.Connected),s=d):d instanceof Fa?(n.onWebRtcEndpoint(d),r=!0):d instanceof M1?(c=d.PartyInfo,n.conversation$.next(d.PartyInfo)):d instanceof E1&&(c=d.Conversation,n.conversation$.next(d.Conversation),l||(n.chatConversationId=d.Conversation.IdConversation,l=d)),(t||l)&&r&&!i){if(o.next(n),l){const f=l.Conversation;l.IsNew||n.get(new _1({Count:10,IdConversation:f.IdConversation})).subscribe({next:p=>{p.Messages=p.Messages.reverse().filter(Kh),n.notify(p)},error:()=>{}}),n.notify(new er({startingConv:f,idConversation:f.IdConversation,isNew:l.IsNew,chatState:s,status:t?yt.NOT_STARTED:yt.ACTIVE}))}i=!0}d instanceof Ho&&(d=function __(e,t){return new Ho({Messages:e.Messages.filter(n=>{var a;const o=null==(a=n.Recipients.find(r=>r.IsSender))?void 0:a.IdRecipient,i=t.Recipients.find(r=>r.Recipient.IdRecipient===o);return i?.Recipient.RecipientType!==Wo.CRT_Anonymous})})}(d,c),d.Messages.length>0&&n.isOnline.next(!0),d.Messages=d.Messages.filter(Kh)),n.notify(d)},error:d=>o.error(d),complete:()=>o.complete()})})}createMySession(t,n=!1){return this.createClick2CallSession(t).pipe(_e(a=>this.processMyPhoneMessages(n,a,this.createNotificationChannel(a))),pn(a=>{return Xe((e=Wu(a),new I1(Vn.Error,e)));var e}))}dropSession(){return this.dropChatActive(),Xe(!0)}getInfo(t){return xs(t).pipe(_e(n=>n.ok?n.json():rt(()=>new Error(`Info endpoint returned error: ${n.status}`))),Et(n=>{const a=n.profilePicture||"";return{isAvailable:n.isAvailable,isChatEnabled:n.isChatEnabled,isQueue:n.isQueue,operator:new ga({name:n.name,image:a?new URL(a,t).href:""}),webRtcCodecs:n.webRtcCodecs}}),Hu())}}function M_(){const e=new Date,t=new vw;return t.Year=e.getUTCFullYear(),t.Month=e.getUTCMonth()+1,t.Day=e.getUTCDate(),t.Hour=e.getUTCHours(),t.Minute=e.getUTCMinutes(),t.Second=e.getUTCSeconds(),t}const k_=["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 S_{constructor(t,n){x(this,"chatConversationId",-1),x(this,"isOnline",new Uo(!0)),x(this,"endpoint",""),x(this,"fileEndpoint",""),x(this,"messagesSubject$",new Re),x(this,"messages$"),x(this,"notificationChannelEndpoint",""),x(this,"pbxEndpoint",""),x(this,"serverProvideSystemMessages",!1),x(this,"supportsWebRTC",!1),x(this,"webRTCEndpoint",new Fa),x(this,"conversation$",new fa),x(this,"webRTCEndpoint$",new fa(1)),x(this,"sessionId",""),this.sessionState=t,this.error=n,this.conversation$.next(new uu({IdConversation:10,Recipients:[new y1({Recipient:new v1({RecipientType:Wo.CRT_Anonymous,IdRecipient:1,Name:"Marty"})}),new y1({Recipient:new v1({RecipientType:Wo.CRT_Local,IdRecipient:2,Name:"Doc"})})]})),this.webRTCEndpoint$.next(new Fa);const o=Bt(k_.map((i,r)=>({id:r+1,isVisitor:r%2==0,message:i}))).pipe(qp(i=>fs(Xe(new Yi({IdConversation:10,IdRecipient:i.isVisitor?1:2})).pipe(En(r=>2===r.IdRecipient),qi(3e3)),Xe(new Ho({Messages:[new Aw({Id:i.id,IdConversation:10,Recipients:[new yw({IsSender:!0,IdRecipient:i.isVisitor?1:2})],Time:M_(),Message:i.message})]})).pipe(qi(1500)))));this.messages$=fs(Xe(new er({idConversation:1,chatState:new hu({Connected:!0}),status:yt.ACTIVE})).pipe(qi(100)),o)}notify(){}emojiEndpoint(){return""}fileEndPoint(t){return""}get(t){return Xe(new ps({Success:!0}))}getSessionUniqueCode(){return-1}onWebRtcEndpoint(t){}}const $u="Webvisitor";function Zh(e,t){var n;if(function O_(e){return e.QueueNo&&!e.TakenBy}(e))return new ga({name:t.operatorName,image:t.operatorIcon});const a=e.Recipients.find(o=>!(o.Recipient.RecipientType!==Wo.CRT_Local&&o.Recipient.RecipientType!==Wo.CRT_3cxBridge||o.IsRemoved||o.IsWhisperer));if(a){const o=null==(n=a.Recipient.Contact)?void 0:n.ContactImage;return new ga({name:a.Recipient.Name,image:o?new URL(o,t.channelUrl).href:t.operatorIcon})}}class L_{constructor(t,n,a=!1,o=!1){x(this,"mySession$"),x(this,"connect$",new Re),x(this,"auth"),x(this,"hasSession"),x(this,"isAvaliable"),x(this,"chatMessages",[]),x(this,"channel"),this.channelURL=t,this.party=n,this.demo=a,this.callsOnly=o,this.channel=new E_(t,n),this.auth=function T_(e){const t=localStorage.getItem(e);if(t)try{return JSON.parse(t)}catch{}}(this.authStorageKey()),this.hasSession=!1,this.isAvaliable=!1,this.mySession$=this.connect$.pipe(_e(i=>(i&&!this.auth&&this.setAuthentication({name:$u}),i&&this.auth?a?Xe(new S_(Vn.Connected,"Can' send request to idle session")):this.channel.createMySession(this.auth,o):Xe(T1()))),Jc(T1()),Hu())}authStorageKey(){return`call-us-auth-${encodeURIComponent(this.channelURL)}`}closeSession(){this.connect$.next(!1)}reconnect(){this.connect$.next(!0)}setAuthentication(t){this.auth=t,!this.demo&&(t?localStorage.setItem(this.authStorageKey(),JSON.stringify(t)):localStorage.removeItem(this.authStorageKey()))}injectAuthenticationName(t){var n;const a=(null==(n=this.auth)?void 0:n.name)??"";return t.replace("%NAME%",a)}lastMessage(){return this.chatMessages[this.chatMessages.length-1]}clearMessages(){this.chatMessages=[]}notificationsOfType$(t){return this.mySession$.pipe(_e(n=>n.messages$),Yu(t))}get(t){return this.mySession$.pipe(Gn(1),_e(n=>n.sessionState!==Vn.Connected?(this.reconnect(),this.mySession$.pipe(En(a=>a!==n))):Xe(n)),_e(n=>n.get(t)),Gn(1))}}class P_{constructor(){x(this,"onError",new Re),x(this,"onRestored",new Re),x(this,"onMinimized",new Re),x(this,"onToggleCollapsed",new Re),x(this,"onRestart",new Re),x(this,"onLoaded",new Re),x(this,"onAnimationActivatedChange",new Uo(!0)),x(this,"onChatInitiated",new Uo(!1)),x(this,"onChatCompleted",new Re),x(this,"onClosed",new Re),x(this,"onClosed$",this.onClosed.asObservable().pipe(ds(this.onChatCompleted))),x(this,"onFileUpload",new Re),x(this,"onClientChatTyping",new Re),x(this,"onEnableNotification",new Re),x(this,"onToggleSoundNotification",new Re),x(this,"onSoundNotification",new Re),x(this,"onUnattendedMessage",new Re),x(this,"onAttendChat",new Re),x(this,"onTriggerFocusInput",new Re),x(this,"onShowMessage",new Re),x(this,"onScrollToBottom",new Re)}}class D_{constructor(){x(this,"activeLoaders"),x(this,"key"),this.activeLoaders={},this.key=0}show(t="default"){this.activeLoaders[t]=!0,this.key+=1}hide(t="default"){delete this.activeLoaders[t],this.key+=1}loading(t="default"){return this.activeLoaders[t]}}const Xh="browser",em=L3({languages:Object.keys(Hh),fallback:"en"}),tm={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:()=>em}},nm=(e,t=!1)=>{rn.global.locale.value=e.lang===Xh?em:e.lang,Wa.locale(e.lang===Xh?navigator.language:e.lang);const n="true"===e.demo,a=new P_,o=new D_,i=new L_(e.phonesystemUrl,e.party,n,t),r=i.channel;let s;return s=n?Xe({webRtcCodecs:[],isAvailable:!0,isChatEnabled:!0,isQueue:!1,operator:new ga({name:"Support"})}
1):r.getInfo(ti(e.phonesystemUrl,`/MyPhone/c2cinfo?c2cid=${encodeURIComponent(e.party)}`)),{preloadOperations$:(new Re).asObservable(),eventBus:a,loadingService:o,myChatService:i,currentChannel:r,info$:s,i18n:rn}};function Nt(){const e=new jo;return To(()=>{e.unsubscribe()}),e}class B_{constructor(t){x(this,"callUsElement"),x(this,"enableFullScreen",!1),x(this,"isFullScreen",!1),x(this,"componentTop"),x(this,"componentBottom"),x(this,"componentLeft"),x(this,"componentRight"),Object.assign(this,t)}goFullScreen(){if(!this.enableFullScreen||this.isFullScreen)return;this.isFullScreen=!0;const t=window.document.getElementsByTagName("body");t.length>0&&t[0].style.setProperty("overflow","hidden !important");const n=.01*window.innerHeight,a=.01*document.documentElement.clientWidth;window.document.documentElement.style.setProperty("--vh",`${n}px`),window.document.documentElement.style.setProperty("--vw",`${a}px`),window.addEventListener("resize",()=>{const o=.01*window.innerHeight,i=.01*document.documentElement.clientWidth;window.document.documentElement.style.setProperty("--vh",`${o}px`),window.document.documentElement.style.setProperty("--vw",`${i}px`)})}closeFullScreen(){if(!this.enableFullScreen||!this.isFullScreen)return;this.isFullScreen=!1;const t=window.document.getElementsByTagName("body");t.length>0&&t[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 j_{constructor(t){x(this,"enableGA",!1),x(this,"mode","gtag"),this.enableGA=t}isActive(){let t=!1;return this.enableGA&&("function"==typeof window.gtag&&(t=!0),"function"==typeof window.ga&&(this.mode="ga",t=!0)),t}dispatchEvent(t,n,a="3CX Live Chat"){this.isActive()&&("gtag"===this.mode?window.gtag("event",t,{event_label:n,event_category:a}):"ga"===this.mode&&window.ga("send",{hitType:"event",eventAction:t,eventLabel:n,eventCategory:a}))}chatInitiatedEvent(t){const n=localStorage.getItem("wplc-ga-initiated");(!n||void 0===t||n&&t&&parseInt(n,10)!==t.getSessionUniqueCode())&&(this.dispatchEvent("chat_init","ChatInitiated"),void 0!==t&&localStorage.setItem("wplc-ga-initiated",t.getSessionUniqueCode().toString(10)))}chatInteractionEvent(){sessionStorage.getItem("wplc-ga-interacted")||(this.dispatchEvent("chat_interaction","InteractionWithChat"),sessionStorage.setItem("wplc-ga-interacted","1"))}}class U_{constructor(){this.atomCharacters="!#$%&'*+-/=?^_`{|}~",this.index=0,this.type=0}isControl(t){return t.charCodeAt(0)<=31||127===t.charCodeAt(0)}isDigit(t){return t>="0"&&t<="9"}isLetter(t){return t>="A"&&t<="Z"||t>="a"&&t<="z"}isLetterOrDigit(t){return this.isLetter(t)||this.isDigit(t)}isAtom(t,n){return!this.isControl(t)&&(t.charCodeAt(0)<128?this.isLetterOrDigit(t)||-1!==this.atomCharacters.indexOf(t):n)}isDomain(t,n){return t.charCodeAt(0)<128?this.isLetter(t)||"-"===t?(this.type|=1,!0):!!this.isDigit(t)&&(this.type|=2,!0):!!n&&(this.type|=1,!0)}isDomainStart(t,n){return t.charCodeAt(0)<128?this.isLetter(t)?(this.type=1,!0):this.isDigit(t)?(this.type=2,!0):(this.type=0,!1):n?(this.type=1,!0):(this.type=0,!1)}skipAtom(t,n){const a=this,o=a.index;for(;a.index<t.length&&a.isAtom(t[a.index],n);)a.index++;return a.index>o}skipSubDomain(t,n){const a=this,o=a.index;if(!this.isDomainStart(t[a.index],n))return!1;for(a.index++;a.index<t.length&&a.isDomain(t[a.index],n);)a.index++;return(a.index!==t.length||a.index-o!==1)&&a.index-o<64&&"-"!==t[a.index-1]}skipDomain(t,n,a){const o=this;if(!o.skipSubDomain(t,a))return!1;if(o.index<t.length&&"."===t[o.index]){do{if(o.index++,o.index===t.length||!o.skipSubDomain(t,a))return!1}while(o.index<t.length&&"."===t[o.index])}else if(!n)return!1;return 2!==o.type}skipQuoted(t,n){const a=this;let o=!1;for(a.index++;a.index<t.length;){if(this.isControl(t[a.index])||t.charCodeAt(this.index)>=128&&!n)return!1;if("\\"===t[a.index])o=!o;else if(o)o=!1;else if('"'===t[a.index])break;a.index++}return!(a.index>=t.length||'"'!==t[a.index]||(a.index++,0))}skipIPv4Literal(t){const n=this;let a=0;for(;n.index<t.length&&a<4;){const o=n.index;let i=0;for(;n.index<t.length&&this.isDigit(t[n.index]);)i=10*i+(t[n.index]-"0"),n.index++;if(n.index===o||n.index-o>3||i>255)return!1;a++,a<4&&n.index<t.length&&"."===t[n.index]&&n.index++}return 4===a}isHexDigit(t){return t>="A"&&t<="F"||t>="a"&&t<="f"||t>="0"&&t<="9"}skipIPv6Literal(t){const n=this;let a=!1,o=!1,i=0;for(;n.index<t.length;){let r=n.index;for(;n.index<t.length&&n.isHexDigit(t[n.index]);)n.index++;if(n.index>=t.length)break;if(n.index>r&&"."===t[n.index]&&(o||6===i))return n.index=r,!!n.skipIPv4Literal(t)&&(o?i<=4:6===i);let s=n.index-r;if(s>4)return!1;if(s>0&&(a=!1,i++),":"!==t[n.index])break;for(r=n.index;n.index<t.length&&":"===t[n.index];)n.index++;if(s=n.index-r,s>2)return!1;if(2===s){if(o)return!1;o=!0}else a=!0}return!a&&(o?i<=6:8===i)}validate(t,n=!1,a=!1){const o=this;if(!t||!t.length||t.length>254)return!1;if('"'===t[o.index]){if(!this.skipQuoted(t,a)||o.index>=t.length)return!1}else{if(!this.skipAtom(t,a)||o.index>=t.length)return!1;for(;"."===t[o.index];
1)if(o.index++,o.index>=t.length||!o.skipAtom(t,a)||o.index>=t.length)return!1}if(o.index+1>=t.length||o.index>64||"@"!==t[o.index++])return!1;if("["!==t[o.index])return!!o.skipDomain(t,n,a)&&o.index===t.length;if(o.index++,o.index+7>=t.length)return!1;if("ipv6:"===t.substr(o.index,5).toLowerCase()){if(o.index+=5,!o.skipIPv6Literal(t))return!1}else if(!o.skipIPv4Literal(t,this.index))return!1;return!(o.index>=t.length||"]"!==t[o.index++])&&o.index===t.length}}const Ms=e=>function z_(e,t=!1,n=!1){return(new U_).validate(e,n,t)}(e,!0,!0),Ju=e=>/^([^\u0000-\u007F]|[\w\d-_\s])+$/i.test(e),ks=e=>!e||!!e&&e.length<=200,fo=(e,t=50)=>!e||!!e&&e.length<=t,Ku=e=>fo(e,254),Y_=(e,t)=>(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))(e)&&ks(e)?e:t,Ba=(e,t)=>e?t?fo(e,t)?e:e.substring(0,t):fo(e,50)?e:e.substring(0,50):"",W_=(e,t)=>Ms(e)&&ks(e)?e:t,H_=(e,t)=>(e=>!!e&&/^(https?:\/\/)?((w{3}\.)?)facebook.com\/.*/i.test(e))(e)&&ks(e)?e:t,$_=(e,t)=>(e=>!!e&&/^(https?:\/\/)?((w{3}\.)?)twitter.com\/.*/i.test(e))(e)&&ks(e)?e:t;class Zu{constructor(t){x(this,"lastWebRTCState"),x(this,"peerConnection"),x(this,"remoteStream$",new fa(1)),x(this,"localStream"),x(this,"isActive",!1),x(this,"isMuted",!1),x(this,"isVideoCall",!1),x(this,"audio"),x(this,"isVideoReceived",!1),x(this,"video"),x(this,"toneSend$",nn),x(this,"isNegotiationInProgress",!1),Object.assign(this,t)}get isVideoSend(){return!!this.video}}const po=new Zu({lastWebRTCState:new du({sdpType:dt.WRTCInitial,holdState:$o.WebRTCHoldState_NOHOLD})}),om="data:audio/mpeg;base64,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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+PMBFYKpwTIf6PvAIgCoLmMCho6Sc9fGOivGcwqqR1LhdmI4C8binmXnpjB4YXKmICLEK9QSfbr///0/////////VVAABIgWGo9Agsz/DCALn/+xDEBwDFtB0xDPuiMFMDq9DNMEzNjR1o+fGASClv5K6QgB1blh59Pt/9v/////9f////VWBbgAIDs4AWKBDgOlyU4IGBbLB96gBEBVBBGJSEYYO5gFmGNvKYeePR8L6QHjUbcYbokP/7IMQPAwh0Ix7ue2JA1wQjyb/sSJvEsaokG4lJt1MDpYeF4Et4B+ZErkqu9C/2f5t1X///q////7iQABahcYsEGYj52SsYVaHQm35iCRnzgCKBgRow4BLbBYNAu0ha7uVViPvq1b//////+///+r0VAAAIk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a3rVCg8mKhgur//////////////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/////
1/2+y2Oteac20M2B6+i+7MPJ/+awKgYREYPwzM7qqou/zACBSa0nmMdZVbc1+9qPzlb/zn9L8i/OtN9NTnW6FPNU/iz19a4uq///7EMRHgAN4ARXgBE3Al4AiNBCJuP/////////////6B9sBhhhwwARGrR2dHq/T/+5LU+z7/91rH+rv//sOLKpT131Fvg3BIABrSxzW1pScH7OLQhu//1XCnYKGl47Q0uhFMm6t/0xb//sQxFAAA7QDDAAAQAC4gGI8EIgA/9cVDYWAgAwRIA4KL8N9qe5Ht0ez/v///+gy1PHf///k3NggAE4AAAHZAAHS3//6f9X6f39n0k9hg1TZU/dv/0b3MKEVhsMjj0aWybw3IKbH3PL/+xDEU4ABiAMaAABAAIKAYnQAiABOfcze7o/jPX/XRQ1Uw9hvvyNyxBOdX/V8uScMJ7ZtBWJbqgAAVYkcYVi1PumNnV8c31c3q7bja3MPsELBG4nGj2BN0Dd+3/c9ObShwdCQzkErkP/7EMRmgEWsAw+ghEAAdgAifACIAFqEKtam1ddmL/am//V/ANj8J0rKNSxbhND70LRWXrBwsIjCFvQ7f1oi4YHhcMAgwHgQ///////R/Rl96d5uKLWW0tt/+uToiEQBQGhlHg1HAXSq//sQxGqARGwBEaCETcCiAGH0AIgAz/3/7f///bMDNgyipqfcw1FFd3/ye9ACcTUFdXZgeGwFQAIsHIaqzcZSzv//ov+z+n+n//d5/+3dyzmk6AAAAKBwAAAz/9//f///9LSuzKzGQA3/+xDEbgBGNAENoIRNwNmAIXQQibiB5yeNW6//vmSpB5ANKkejREVUTfyEAhLw0tb2r0kadaKff/avdRbfUvJdqvf41g9b/WpDP6epZoaRYwJSwMsKysu3oACAnvmE0qRlaeeX3f9////7EMRjgUNUAQ4AAE3Af4Ah9BCJuOj6//T/d0v/+coqt2uersvpAADVLUwm2OP70pMaOo99LQaQzv8TppyAspVIx9TCDnYsTRtakQHH+v1MJ0n1lgqIR7GEMiAABbmZTxSAV///7V7///sQxG+ABEgBE+AEQACPgGH0AIgAf//5F/9a88y+nJkyPox+RkM9JDzbabtv65////vXSs4JkCBTrwAAiFgAYD4AAjrYTuZ7f9H+xn/////2fT//+G4AAABIBwAO/+yj//6qvV9ZXrf/+xDEdYAFzAEP4IRNwIOAYnwQiABxv7FavkSFt3/rZUTAKmB4AHeQb8dkhAtrtcxZTp5j/6mbP+j+m2wX+7+rs//5IgzQgApmqXdgAAGlZHUhlqt/XrhNH9PR/2jFyMXQcabYuCMXEv/7EMR3AEbkAQ2ghE3A1y9hfBCK+QqZSwtUhLoz/RTNliwMhcGBSv///////9NDnXU3osOUq///6PIf//////+nb7lOcWHblrRJf//VmhAfiEVqAwklltuiAAFTVjxXY4aoJe7sV/S///sQxGoAA3gDFeAEYAB+gGHwAAgAZmVI9iswy9Y84hrbaa6NaNTfTr9WMYPIBaWbSV2S+IRvGRq70Jvs7s/u+hn1aPStmE1MQ0RoqS0zOi4y48pfzY//IDSwuLHyxAAVl2d2h3Zb/mD/+xDEdYAELAMX4IRAANSAYbwQiAAGGNNOYII2OtT1+lf+7+v////s+jQV+7+5WFlssku7IAAZUx6GUqv4C1LrGbP7Pbt+msgKZEVkXJVfFDJQxa5Zm//2NOlzLwgFgkTVF4AAA///v//7EMRzg8JsARAAAE3AX4AhwAAJuFf///9a6FfU1Vt/0f/9C3FAwSAAwEAgooIAHr0s9v9f/u//r9St26vcM3+2j/9aJA/GKpBY7IwJ6QAA8uZS3Lfl6/t/T9dqf9f//36bMo6TQs4F//sQxIcARcgDDaAEQADEgGG0AIgApooXALhK4LBs6H6+x7/4rB4RoAxQXFAZaGeFZlVbhUQCGuJjIvir0qv7xv/7vZaa6829tdOyq8aY/d/Mf9CX0LE4YqABQAAAMAAA/r////u///H/+xDEgIAELAMV4ARAAMeAIbQQibjv7NehONQpbP///DoIsDwCo7AtADalW9jqvY9H//9tH//r9v////0LClWafQWSwakAADRZqEN3psZXt+3+od+Y9b4xajrtUmi4gQOLMUPIqs7aP//7EMSAAAMwAw5gBEAAfoAiNBCIALZK4AhpYLTbW3/b7MkABRZq2rc8VnieXa0AEVtZZ/u/XtbvkylMzS3FONl7VUUmv/temFAaFDgsMQCAT/mf/z/+Q4aroV86f/Uo3w//r/9bfLr7//sQxIyABwDVC6CAUkCrAGI8AIgAuqhGBKJaMAsqdWn/9f5Gv//////t///9uGhETEFNRTMuOTkuM6qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr/+xDEhIBDpAMRoARAAHAAYrwAiACqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqv/7EMSRAAX0AQ2ghEAAyIAh9BCJuKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq//sQxImBQ6l3DkAEXQhegGD0AIgAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqo=";var rm,im={exports:{}};function Q_(){return rm||(rm=1,function(e){const t={generateIdentifier:function(){return Math.random().toString(36).substring(2,12)}};t.localCName=t.generateIdentifier(),t.splitLines=function(n){return n.trim().split("\n").map(a=>a.trim())},t.splitSections=function(n){return n.split("\nm=").map((a,o)=>(o>0?"m="+a:a).trim()+"\r\n")},t.getDescription=function(n){const a=t.splitSections(n);return a&&a[0]},t.getMediaSections=function(n){const a=t.splitSections(n);return a.shift(),a},t.matchPrefix=function(n,a){return t.splitLines(n).filter(o=>0===o.indexOf(a))},t.parseCandidate=function(n){let a;a=0===n.indexOf("a=candidate:")?n.substring(12).split(" "):n.substring(10).split(" ");const o={foundation:a[0],component:{1:"rtp",2:"rtcp"}[a[1]]||a[1],protocol:a[2].toLowerCase(),priority:parseInt(a[3],10),ip:a[4],address:a[4],port:parseInt(a[5],10),type:a[7]};for(let i=8;i<a.length;i+=2)switch(a[i]){case"raddr":o.relatedAddress=a[i+1];break;case"rport":o.relatedPort=parseInt(a[i+1],10);break;case"tcptype":o.tcpType=a[i+1];break;case"ufrag":o.ufrag=a[i+1],o.usernameFragment=a[i+1];break;default:void 0===o[a[i]]&&(o[a[i]]=a[i+1])}return o},t.writeCandidate=function(n){const a=[];a.push(n.foundation);const o=n.component;a.push("rtp"===o?1:"rtcp"===o?2:o),a.push(n.protocol.toUpperCase()),a.push(n.priority),a.push(n.address||n.ip),a.push(n.port);const i=n.type;return a.push("typ"),a.push(i),"host"!==i&&n.relatedAddress&&n.relatedPort&&(a.push("raddr"),a.push(n.relatedAddress),a.push("rport"),a.push(n.relatedPort)),n.tcpType&&"tcp"===n.protocol.toLowerCase()&&(a.push("tcptype"),a.push(n.tcpType)),(n.usernameFragment||n.ufrag)&&(a.push("ufrag"),a.push(n.usernameFragment||n.ufrag)),"candidate:"+a.join(" ")},t.parseIceOptions=function(n){return n.substring(14).split(" ")},t.parseRtpMap=function(n){let a=n.substring(9).split(" ");const o={payloadType:parseInt(a.shift(),10)};return a=a[0].split("/"),o.name=a[0],o.clockRate=parseInt(a[1],10),o.channels=3===a.length?parseInt(a[2],10):1,o.numChannels=o.channels,o},t.writeRtpMap=function(n){let a=n.payloadType;void 0!==n.preferredPayloadType&&(a=n.preferredPayloadType);const o=n.channels||n.numChannels||1;
vendor: 8,832 bytes, line 1
1return"a=rtpmap:"+a+" "+n.name+"/"+n.clockRate+(1!==o?"/"+o:"")+"\r\n"},t.parseExtmap=function(n){const a=n.substring(9).split(" ");return{id:parseInt(a[0],10),direction:a[0].indexOf("/")>0?a[0].split("/")[1]:"sendrecv",uri:a[1],attributes:a.slice(2).join(" ")}},t.writeExtmap=function(n){return"a=extmap:"+(n.id||n.preferredId)+(n.direction&&"sendrecv"!==n.direction?"/"+n.direction:"")+" "+n.uri+(n.attributes?" "+n.attributes:"")+"\r\n"},t.parseFmtp=function(n){const a={};let o;const i=n.substring(n.indexOf(" ")+1).split(";");for(let r=0;r<i.length;r++)o=i[r].trim().split("="),a[o[0].trim()]=o[1];return a},t.writeFmtp=function(n){let a="",o=n.payloadType;if(void 0!==n.preferredPayloadType&&(o=n.preferredPayloadType),n.parameters&&Object.keys(n.parameters).length){const i=[];Object.keys(n.parameters).forEach(r=>{i.push(void 0!==n.parameters[r]?r+"="+n.parameters[r]:r)}),a+="a=fmtp:"+o+" "+i.join(";")+"\r\n"}return a},t.parseRtcpFb=function(n){const a=n.substring(n.indexOf(" ")+1).split(" ");return{type:a.shift(),parameter:a.join(" ")}},t.writeRtcpFb=function(n){let a="",o=n.payloadType;return void 0!==n.preferredPayloadType&&(o=n.preferredPayloadType),n.rtcpFeedback&&n.rtcpFeedback.length&&n.rtcpFeedback.forEach(i=>{a+="a=rtcp-fb:"+o+" "+i.type+(i.parameter&&i.parameter.length?" "+i.parameter:"")+"\r\n"}),a},t.parseSsrcMedia=function(n){const a=n.indexOf(" "),o={ssrc:parseInt(n.substring(7,a),10)},i=n.indexOf(":",a);return i>-1?(o.attribute=n.substring(a+1,i),o.value=n.substring(i+1)):o.attribute=n.substring(a+1),o},t.parseSsrcGroup=function(n){const a=n.substring(13).split(" ");return{semantics:a.shift(),ssrcs:a.map(o=>parseInt(o,10))}},t.getMid=function(n){const a=t.matchPrefix(n,"a=mid:")[0];if(a)return a.substring(6)},t.parseFingerprint=function(n){const a=n.substring(14).split(" ");return{algorithm:a[0].toLowerCase(),value:a[1].toUpperCase()}},t.getDtlsParameters=function(n,a){return{role:"auto",fingerprints:t.matchPrefix(n+a,"a=fingerprint:").map(t.parseFingerprint)}},t.writeDtlsParameters=function(n,a){let o="a=setup:"+a+"\r\n";return n.fingerprints.forEach(i=>{o+="a=fingerprint:"+i.algorithm+" "+i.value+"\r\n"}),o},t.parseCryptoLine=function(n){const a=n.substring(9).split(" ");return{tag:parseInt(a[0],10),cryptoSuite:a[1],keyParams:a[2],sessionParams:a.slice(3)}},t.writeCryptoLine=function(n){return"a=crypto:"+n.tag+" "+n.cryptoSuite+" "+("object"==typeof n.keyParams?t.writeCryptoKeyParams(n.keyParams):n.keyParams)+(n.sessionParams?" "+n.sessionParams.join(" "):"")+"\r\n"},t.parseCryptoKeyParams=function(n){if(0!==n.indexOf("inline:"))return null;const a=n.substring(7).split("|");return{keyMethod:"inline",keySalt:a[0],lifeTime:a[1],mkiValue:a[2]?a[2].split(":")[0]:void 0,mkiLength:a[2]?a[2].split(":")[1]:void 0}},t.writeCryptoKeyParams=function(n){return n.keyMethod+":"+n.keySalt+(n.lifeTime?"|"+n.lifeTime:"")+(n.mkiValue&&n.mkiLength?"|"+n.mkiValue+":"+n.mkiLength:"")},t.getCryptoParameters=function(n,a){return t.matchPrefix(n+a,"a=crypto:").map(t.parseCryptoLine)},t.getIceParameters=function(n,a){const o=t.matchPrefix(n+a,"a=ice-ufrag:")[0],i=t.matchPrefix(n+a,"a=ice-pwd:")[0];return o&&i?{usernameFragment:o.substring(12),password:i.substring(10)}:null},t.writeIceParameters=function(n){let a="a=ice-ufrag:"+n.usernameFragment+"\r\na=ice-pwd:"+n.password+"\r\n";return n.iceLite&&(a+="a=ice-lite\r\n"),a},t.parseRtpParameters=function(n){const a={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},o=t.splitLines(n)[0].split(" ");a.profile=o[2];for(let r=3;r<o.length;r++){const s=o[r],l=t.matchPrefix(n,"a=rtpmap:"+s+" ")[0];if(l){const c=t.parseRtpMap(l),d=t.matchPrefix(n,"a=fmtp:"+s+" ");switch(c.parameters=d.length?t.parseFmtp(d[0]):{},c.rtcpFeedback=t.matchPrefix(n,"a=rtcp-fb:"+s+" ").map(t.parseRtcpFb),a.codecs.push(c),c.name.toUpperCase()){case"RED":case"ULPFEC":a.fecMechanisms.push(c.name.toUpperCase())}}}t.matchPrefix(n,"a=extmap:").forEach(r=>{a.headerExtensions.push(t.parseExtmap(r))});const i=t.matchPrefix(n,"a=rtcp-fb:* ").map(t.parseRtcpFb);return a.codecs.forEach(r=>{i.forEach(s=>{r.rtcpFeedback.find(l=>l.type===s.type&&l.parameter===s.parameter)||r.rtcpFeedback.push(s)})}),a},t.writeRtpDescription=function(n,a){let o="";o+="m="+n+" ",o+=a.codecs.length>0?"9":"0",o+=" "+(a.profile||"UDP/TLS/RTP/SAVPF")+" ",o+=a.codecs.map(r=>void 0!==r.preferredPayloadType?r.preferredPayloadType:r.payloadType).join(" ")+"\r\n",o+="c=IN IP4 0.0.0.0\r\n",o+="a=rtcp:9 IN IP4 0.0.0.0\r\n",a.codecs.forEach(r=>{o+=t.writeRtpMap(r),o+=t.writeFmtp(r),o+=t.writeRtcpFb(r)});let i=0;return a.codecs.forEach(r=>{r.maxptime>i&&(i=r.maxptime)}),i>0&&(o+="a=maxptime:"+i+"\r\n"),a.headerExtensions&&a.headerExtensions.forEach(r=>{o+=t.writeExtmap(r)}),o},t.parseRtpEncodingParameters=function(n){const a=[],o=t.parseRtpParameters(n),i=-1!==o.fecMechanisms.indexOf("RED"),r=-1!==o.fecMechanisms.indexOf("ULPFEC"),s=t.matchPrefix(n,"a=ssrc:").map(p=>t.parseSsrcMedia(p)).filter(p=>"cname"===p.attribute),l=s.length>0&&s[0].ssrc;let c;const d=t.matchPrefix(n,"a=ssrc-group:FID").map(p=>p.substring(17).split(" ").map(h=>parseInt(h,10)));d.length>0&&d[0].length>1&&d[0][0]===l&&(c=d[0][1]),o.codecs.forEach(p=>{if("RTX"===p.name.toUpperCase()&&p.parameters.apt){let h={ssrc:l,codecPayloadType:parseInt(p.parameters.apt,10)};l&&c&&(h.rtx={ssrc:c}),a.push(h),i&&(h=JSON.parse(JSON.stringify(h)),h.fec={ssrc:l,mechanism:r?"red+ulpfec":"red"},a.push(h))}}),0===a.length&&l&&a.push({ssrc:l});let f=t.matchPrefix(n,"b=");return f.length&&(f=0===f[0].indexOf("b=TIAS:")?parseInt(f[0].substring(7),10):0===f[0].indexOf("b=AS:")?1e3*parseInt(f[0].substring(5),10)*.95-16e3:void 0,a.forEach(p=>{p.maxBitrate=f})),a},t.parseRtcpParameters=function(n){const a={},o=t.matchPrefix(n,"a=ssrc:").map(s=>t.parseSsrcMedia(s)).filter(s=>"cname"===s.attribute)[0];o&&(a.cname=o.value,a.ssrc=o.ssrc);const i=t.matchPrefix(n,"a=rtcp-rsize");a.reducedSize=i.length>0,a.compound=0===i.length;const r=t.matchPrefix(n,"a=rtcp-mux");return a.mux=r.length>0,a},t.writeRtcpParameters=function(n){let a="";return n.reducedSize&&(a+="a=rtcp-rsize\r\n"),n.mux&&(a+="a=rtcp-mux\r\n"),void 0!==n.ssrc&&n.cname&&(a+="a=ssrc:"+n.ssrc+" cname:"+n.cname+"\r\n"),a},t.parseMsid=function(n){let a;const o=t.matchPrefix(n,"a=msid:");if(1===o.length)return a=o[0].substring(7).split(" "),{stream:a[0],track:a[1]};const i=t.matchPrefix(n,"a=ssrc:").map(r=>t.parseSsrcMedia(r)).filter(r=>"msid"===r.attribute);return i.length>0?(a=i[0].value.split(" "),{stream:a[0],track:a[1]}):void 0},t.parseSctpDescription=function(n){const a=t.parseMLine(n),o=t.matchPrefix(n,"a=max-message-size:");let i;o.length>0&&(i=parseInt(o[0].substring(19),10)),isNaN(i)&&(i=65536);const r=t.matchPrefix(n,"a=sctp-port:");if(r.length>0)return{port:parseInt(r[0].substring(12),10),protocol:a.fmt,maxMessageSize:i};const s=t.matchPrefix(n,"a=sctpmap:");if(s.length>0){const l=s[0].substring(10).split(" ");return{port:parseInt(l[0],10),protocol:l[1],maxMessageSize:i}}},t.writeSctpDescription=function(n,a){let o=[];return o="DTLS/SCTP"!==n.protocol?["m="+n.kind+" 9 "+n.protocol+" "+a.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+a.port+"\r\n"]:["m="+n.kind+" 9 "+n.protocol+" "+a.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+a.port+" "+a.protocol+" 65535\r\n"],void 0!==a.maxMessageSize&&o.push("a=max-message-size:"+a.maxMessageSize+"\r\n"),o.join("")},t.generateSessionId=function(){return Math.random().toString().substr(2,22)},t.writeSessionBoilerplate=function(n,a,o){let i;const r=void 0!==a?a:2;return i=n||t.generateSessionId(),"v=0\r\no="+(o||"thisisadapterortc")+" "+i+" "+r+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},t.getDirection=function(n,a){const o=t.splitLines(n);for(let i=0;i<o.length;i++)switch(o[i]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return o[i].substring(2)}return a?t.getDirection(a):"sendrecv"},t.getKind=function(n){return t.splitLines(n)[0].split(" ")[0].substring(2)},t.isRejected=function(n){return"0"===n.split(" ",2)[1]},t.parseMLine=function(n){const a=t.splitLines(n)[0].substring(2).split(" ");return{kind:a[0],port:parseInt(a[1],10),protocol:a[2],fmt:a.slice(3).join(" ")}},t.parseOLine=function(n){const a=t.matchPrefix(n,"o=")[0].substring(2).split(" ");return{username:a[0],sessionId:a[1],sessionVersion:parseInt(a[2],10),netType:a[3],addressType:a[4],address:a[5]}},t.isValidSDP=function(n){if("string"!=typeof n||0===n.length)return!1;const a=t.splitLines(n);for(let o=0;o<a.length;o++)if(a[o].length<2||"="!==a[o].charAt(1))return!1;return!0},e.exports=t}(im)),im.exports}var Ss=Q_();function sm(e,t,n){return function ex(e,t,n,a,o){const i=e.length;for(let r=t;r<i;++r)if(0===e[r].indexOf(a)&&(!o||-1!==e[r].toLowerCase().indexOf(o.toLowerCase())))return r;return null}(e,0,0,t,n)}function ax(e,t){return t?e:e.replace("sendrecv","sendonly")}
1function lm(e){e.getAudioTracks().forEach(t=>t.stop()),e.getVideoTracks().forEach(t=>t.stop())}function Is(e,t,n){const{peerConnection:a}=e,o=i=>{e.localStream=i,i.getTracks().forEach(r=>{"video"===r.kind?n&&"live"===r.readyState&&(e.video=a.addTrack(r,i)):t&&"live"===r.readyState&&(r.enabled=!e.isMuted,e.audio=a.addTrack(r,i))}),e.audio&&e.audio.dtmf&&(e.toneSend$=Go(e.audio.dtmf,"tonechange").pipe(Hc((r,s)=>r+s.tone,"")))};if(e.localStream){n||e.localStream.getVideoTracks().forEach(s=>s.stop()),t||e.localStream.getAudioTracks().forEach(s=>s.stop());const i=e.localStream.getVideoTracks().some(s=>"live"===s.readyState),r=e.localStream.getAudioTracks().some(s=>"live"===s.readyState);if((!n||n&&i)&&(!t||t&&r))return o(e.localStream),Xe(e.localStream);lm(e.localStream)}return Bt(navigator.mediaDevices.getUserMedia({audio:t,video:n})).pipe(pn(i=>(console.log(i),Bt(navigator.mediaDevices.getUserMedia({audio:t,video:!1})))),Oa(o))}function Xu(e){return function t(n){n.peerConnection&&n.peerConnection.close(),n.audio=void 0,n.isVideoReceived=!1,n.toneSend$=nn,n.video=void 0,n.remoteStream$.next(null)}(e),e.peerConnection=new RTCPeerConnection({}),e.peerConnection.ontrack=n=>e.remoteStream$.next(n.streams[0]),e.peerConnection}function cm(e,t){let n=!1,a=!1;return e&&Ss.splitSections(e).filter(o=>t.indexOf(Ss.getDirection(o))>=0&&!Ss.isRejected(o)).map(o=>Ss.getKind(o)).forEach(o=>{"video"===o?a=!0:"audio"===o&&(n=!0)}),[n,a]}function ef(e){return cm(e,["sendrecv","recvonly"])}function um(e,t){return Bt(e.setRemoteDescription(t))}function Ts(e){e&&(e.localStream&&lm(e.localStream),e.peerConnection&&e.peerConnection.close(),e.isVideoCall=!1)}class ix{constructor(t,n=!0){x(this,"mediaDevice$"),x(this,"lastOutgoingMedia"),x(this,"globalTransactionId",0),x(this,"forcedEmit",new Uo(!0)),x(this,"suspendStream",new Re),x(this,"resumeStream",new Re),x(this,"webRtcCodecs",[]),this.myPhoneService=t,this.allowVideo=n;const a=this.myPhoneService.mySession$.pipe(_e(o=>o.webRTCEndpoint$),Jc(new Fa),((e,t)=>n=>new it(a=>{let o=0,i=[];const r=[e.subscribe(()=>{o+=1}),t.subscribe(()=>{o-=1,0===o&&(i.forEach(s=>a.next(s)),i=[])}),n.subscribe({next:s=>{o>0?i.push(s):a.next(s)},error:s=>a.error(s),complete:()=>a.complete()})];return()=>{r.forEach(s=>s.unsubscribe())}}))(this.suspendStream,this.resumeStream));this.mediaDevice$=SA([a,this.forcedEmit]).pipe(Hc((o,i)=>{const r=o,[s]=i,l=s.Items.reduce((f,p)=>(f[p.Id]=p,f),{});this.lastOutgoingMedia&&l[this.lastOutgoingMedia.lastWebRTCState.Id]&&(r.push(this.lastOutgoingMedia),this.lastOutgoingMedia=void 0);const c=[];r.forEach(f=>{const p=l[f.lastWebRTCState.Id];if(p){const{lastWebRTCState:h}=f;f.lastWebRTCState={...p},!f.isActive&&p.holdState===$o.WebRTCHoldState_NOHOLD&&h.holdState===$o.WebRTCHoldState_HELD&&this.hold(f,!1).subscribe(),h.sdpType===p.sdpType&&h.sdp===p.sdp||this.processState(h.sdpType,f).subscribe(),delete l[p.Id],c.push(f)}else Ts(f)});const d=Object.values(l).filter(f=>f.sdpType===dt.WRTCOffer||f.sdpType===dt.WRTCRequestForOffer).map(f=>new Zu({lastWebRTCState:{...f}}));return c.concat(d)},[]),Hu())}setWebRtcCodecs(t){this.webRtcCodecs=t}forceAudioOnlyIfVideoNotAllowed(t){this.allowVideo||t.getTransceivers().forEach(n=>{n.receiver.track&&"video"===n.receiver.track.kind&&(n.direction="inactive"),n.sender.track&&"video"===n.sender.track.kind&&(n.sender.replaceTrack(null),n.direction="inactive")})}setLocalDescription(t,n,a){return a&&this.webRtcCodecs&&this.webRtcCodecs.length>0&&this.webRtcCodecs.slice().reverse().forEach(o=>{n.sdp&&(n.sdp=function nx(e,t,n){if(!n)return e;const a=e.split("\r\n"),o=sm(a,"m=",t);if(null===o)return e;const i=function tx(e,t){const n=sm(e,"a=rtpmap",t);return n?function Z_(e){const t=new RegExp("a=rtpmap:(\\d+) [a-zA-Z0-9-]+\\/\\d+"),n=e.match(t);return n&&2===n.length?n[1]:null}(e[n]):null}(a,n);return i&&(a[o]=function X_(e,t){const n=e.split(" "),a=n.slice(0,3);a.push(t);for(let o=3;o<n.length;o++)n[o]!==t&&a.push(n[o]);return a.join(" ")}(a[o],i)),a.join("\r\n")}(n.sdp,"audio",o))}),Bt(t.setLocalDescription(n)).pipe(_e(()=>Go(t,"icegatheringstatechange")),En(()=>"complete"===t.iceGatheringState),Gn(1))}
1processState(t,n){switch(n.lastWebRTCState.sdpType){case dt.WRTCAnswerProvided:return this.processAnswerProvided(t,n);case dt.WRTCOffer:return this.processOffer(n);case dt.WRTCRequestForOffer:return this.processRequestForOffer(n);case dt.WRTCConfirmed:this.processConfirmed(n)}return nn}processConfirmed(t){if(t.isNegotiationInProgress=!1,t.peerConnection.remoteDescription){const[n,a]=function ox(e){return cm(e,["sendrecv","sendonly"])}(t.peerConnection.remoteDescription.sdp);t.isVideoReceived=a&&this.allowVideo&&t.isVideoCall}}processAnswerProvided(t,n){const a=n.lastWebRTCState;if(t===dt.WRTCConfirmed)return this.setConfirmed(a.Id);const[o,i]=ef(n.lastWebRTCState.sdp);return!(i&&this.allowVideo)&&n.video&&(n.localStream&&n.localStream.getVideoTracks().forEach(r=>r.stop()),n.video=void 0),um(n.peerConnection,{type:"answer",sdp:a.sdp}).pipe(_e(()=>this.setConfirmed(a.Id)))}setConfirmed(t){return this.requestChangeState({Id:t,sdpType:dt.WRTCConfirm})}processOffer(t){const[n,a]=ef(t.lastWebRTCState.sdp),o=a&&this.allowVideo;return!t.isVideoCall&&o&&window.confirm("Enable video in a call?")?t.isVideoCall=!0:a&&!o&&(t.isVideoCall=!1,t.isVideoReceived=!1),this.processAnswer(t)}processRequestForOffer(t){return this.processAnswer(t)}getLastOutgoingMedia(){const t=this.lastOutgoingMedia;return this.lastOutgoingMedia=void 0,t}holdAll(t){return this.mediaDevice$.pipe(Gn(1),Et(n=>n.filter(a=>a.lastWebRTCState.Id!==t)),_e(n=>n.length?function zA(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Gc(e),a=function UA(e){return 1===e.length&&jA(e[0])?e[0]:e}(e);return a.length?new it(function(o){var i=a.map(function(){return[]}),r=a.map(function(){return!1});o.add(function(){i=r=null});for(var s=function(c){vt(a[c]).subscribe(Qe(o,function(d){if(i[c].push(d),i.every(function(p){return p.length})){var f=i.map(function(p){return p.shift()});o.next(n?n.apply(void 0,ua([],qn(f))):f),i.some(function(p,h){return!p.length&&r[h]})&&o.complete()}},function(){r[c]=!0,!i[c].length&&o.complete()}))},l=0;!o.closed&&l<a.length;l++)s(l);return function(){i=r=null}}):nn}(...n.map(a=>this.hold(a,!1))):Xe([])))}dropCall(t){return this.requestChangeState(new pu({Id:t,sdpType:dt.WRTCTerminate}))}makeCall(t,n){const a=new Zu({lastWebRTCState:new du({sdpType:dt.WRTCInitial,holdState:$o.WebRTCHoldState_NOHOLD})});a.isActive=!0,a.isNegotiationInProgress=!0,a.isVideoCall=n&&this.allowVideo;const o=Xu(a);return this.holdAll().pipe(_e(()=>Is(a,!0,a.isVideoCall)),_e(()=>Bt(o.createOffer({offerToReceiveAudio:!0,offerToReceiveVideo:a.isVideoCall}))),_e(i=>(this.forceAudioOnlyIfVideoNotAllowed(o),Xe(i))),_e(i=>this.setLocalDescription(o,i,!0)),_e(()=>o.localDescription&&o.localDescription.sdp?this.requestChangeState({Id:0,sdpType:dt.WRTCOffer,destinationNumber:t,transactionId:this.globalTransactionId++,sdp:o.localDescription.sdp},!0):rt(()=>"Local sdp missing")),Oa(i=>{a.lastWebRTCState=new du({Id:i.CallId,sdpType:dt.WRTCInitial}),this.lastOutgoingMedia=a}),pn(i=>(Ts(a),rt(()=>i))))}answer(t,n){return t.isNegotiationInProgress?nn:(t.isActive=!0,t.isVideoCall=n&&this.allowVideo,this.holdAll(t.lastWebRTCState.Id).pipe(_e(()=>this.processAnswer(t))))}processAnswer(t){const n=t.lastWebRTCState,a=Xu(t);let o,i;if(t.isActive||(t.isMuted=!0),t.isNegotiationInProgress=!0,n.sdpType===dt.WRTCOffer){if(!n.sdp)return rt(()=>"Offer doesn't have sdp");const[r,s]=ef(n.sdp),l=s&&this.allowVideo;s&&!l&&(t.isVideoCall=!1,t.isVideoReceived=!1),i=dt.WRTCAnswer,o=Is(t,r,l&&t.isVideoCall).pipe(_e(()=>um(a,{type:"offer",sdp:n.sdp})),_e(()=>(this.forceAudioOnlyIfVideoNotAllowed(a),Bt(a.createAnswer()))),_e(c=>this.setLocalDescription(a,c,!1)))}else{if(n.sdpType!==dt.WRTCRequestForOffer)return t.isNegotiationInProgress=!1,rt(()=>`Can't answer when state ${n.sdpType}`);{i=dt.WRTCOffer;const r={offerToReceiveAudio:!0,offerToReceiveVideo:t.isVideoCall};o=Is(t,!0,t.isVideoCall&&this.allowVideo).pipe(_e(()=>Bt(a.createOffer(r))),_e(s=>(this.forceAudioOnlyIfVideoNotAllowed(a),Xe(s))),_e(s=>this.setLocalDescription(a,s,!0)))}}return o.pipe(_e(()=>a.localDescription&&a.localDescription.sdp?this.requestChangeState({Id:n.Id,sdpType:i,transactionId:n.transactionId,sdp:a.localDescription.sdp}):rt(()=>"Local sdp missing")),pn(r=>(t.isNegotiationInProgress=!1,rt(()=>r))))}sendDtmf(t,n){t.audio&&t.audio.dtmf&&t.audio.dtmf.insertDTMF(n,100,100)}video(t){return t.isVideoCall&&(!t.isVideoReceived||!t.isVideoSend)||(t.isVideoCall=!t.isVideoCall),this.renegotiate(t,!0)}mute(t){this.setMute(t,!t.isMuted)}setMute(t,n){t.isMuted=n,t.audio&&t.audio.track&&(t.audio.track.enabled=!n)}hold(t,n){t.isActive=n;const a=t.lastWebRTCState;return!n&&a.holdState!==$o.WebRTCHoldState_NOHOLD||n&&a.holdState!==$o.WebRTCHoldState_HOLD?Xe(!0):(this.setMute(t,!n),this.renegotiate(t,n))}renegotiate(t,n){if(t.isNegotiationInProgress)return Xe(!0);const a=t.lastWebRTCState;t.isNegotiationInProgress=!0,this.forcedEmit.next(!0);const o=Xu(t);let i=Xe(!0);return n&&(i=this.holdAll(t.lastWebRTCState.Id)),i.pipe(_e(()=>Is(t,!0,!!n&&t.isVideoCall&&this.allowVideo)),_e(()=>Bt(o.createOffer({offerToReceiveAudio:n,offerToReceiveVideo:n&&t.isVideoCall&&this.allowVideo}))),_e(r=>(this.forceAudioOnlyIfVideoNotAllowed(o),Xe(r))),_e(r=>this.setLocalDescription(o,r,!0)),_e(()=>o.localDescription&&o.localDescription.sdp?this.requestChangeState({Id:a.Id,sdpType:dt.WRTCOffer,transactionId:this.globalTransactionId++,sdp:ax(o.localDescription.sdp,n)}):rt(()=>"Local sdp missing")),pn(r=>(t.isNegotiationInProgress=!1,this.forcedEmit.next(!0),rt(()=>r))))}requestChangeState(t,n){const a=this.myPhoneService.get(new pu(t));return function mA(e){return!!e&&(e instanceof it||De(e.lift)&&De(e.subscribe))}
1(a)?n?a.pipe((e=()=>this.suspendStream.next(),t=>new it(n=>(e(),t.subscribe(n)))),_e(o=>null!=o&&o.Success?Xe(o):rt(()=>o?.Message)),function $A(e){return ct(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}(()=>this.resumeStream.next())):a.pipe(_e(o=>null!=o&&o.Success?Xe(o):rt(()=>o?.Message))):rt(()=>"Invalid channel setup");var e}}class fm{constructor(t){x(this,"isTryingCall",!1),x(this,"isEstablished",!1),x(this,"media",po),Object.assign(this,t)}}function rx(e,t){const n=e.find(a=>a.media.lastWebRTCState.Id===t.lastWebRTCState.Id);return!(!n||!n.isEstablished&&t.lastWebRTCState.sdpType!==dt.WRTCConfirmed)}class sx{constructor(t){x(this,"callControl$",new Re),x(this,"myCalls$"),x(this,"soundToPlay$"),this.webrtcService=t,this.myCalls$=Wc(this.webrtcService.mediaDevice$,this.callControl$).pipe(Hc((n,a)=>{if("removeTryingCall"===a)return n.filter(r=>!r.isTryingCall);if("requestTryingCall"===a)return n.concat([new fm({isTryingCall:!0,media:po})]);const o=a.map(r=>new fm({media:r,isEstablished:rx(n,r)})),i=n.find(r=>r.isTryingCall);return i&&0===o.length&&o.push(i),o},[]),function JA(e,t,n){var a;return a=e,$c({connector:function(){return new fa(a,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}(1)),this.soundToPlay$=this.myCalls$.pipe(Et(n=>{if(0===n.length)return;const a=n[0];if(a.isEstablished)return;if(a.isTryingCall)return om;const o=a.media.lastWebRTCState.sdpType;return o===dt.WRTCOffer||o===dt.WRTCProcessingOffer?om:void 0}))}call$(t,n){return this.callControl$.next("requestTryingCall"),this.webrtcService.makeCall("",n||!1).pipe(pn(a=>(Ts(this.webrtcService.getLastOutgoingMedia()),this.callControl$.next("removeTryingCall"),"Empty Session"===a.name?nn:rt(()=>a))))}}const dm=(e,t)=>{t.add(e.phoneService.soundToPlay$.subscribe(n=>{e.audioNotificationUrl.value=n})),t.add(e.remoteStream$.subscribe(n=>{if(n&&!e.allowVideo){const a=n.getAudioTracks(),o=new MediaStream(a);e.remoteStream.value=o,e.videoOnlyRemoteStream.value=null}else e.remoteStream.value=n,e.videoOnlyRemoteStream.value=e.videoOnly(n)})),t.add(e.phoneService.myCalls$.subscribe(n=>{e.hasCall.value=n.length>0,e.hasTryingCall.value=e.hasCall.value&&n[0].isTryingCall,e.hasEstablishedCall.value=e.hasCall.value&&n[0].isEstablished,e.media=n.length?n[0].media:po,e.isVideoActive.value=!!(e.media.isVideoCall&&e.media.isVideoSend||e.media.isVideoReceived),e.media?(e.videoOnlyLocalStream.value=e.videoOnly(e.media.localStream),e.videoCallInProcess$.next(!0)):e.videoOnlyLocalStream.value=null})),e.addFullScreenListener()};class pm{constructor(t,n=!1,a=!0){x(this,"hasTryingCall",Z(!1)),x(this,"isFullScreen",Z(!1)),x(this,"hasEstablishedCall",Z(!1)),x(this,"videoContainer"),x(this,"webRTCControlService"),x(this,"phoneService"),x(this,"media",po),x(this,"videoOnlyLocalStream",Z(null)),x(this,"remoteStream",Z(null)),x(this,"videoOnlyRemoteStream",Z(null)),x(this,"audioNotificationUrl",Z(null)),x(this,"hasCall",Z(!1)),x(this,"isVideoActive",Z(!1)),x(this,"hasRecall",Z(!1)),x(this,"hadCall",Z(!1)),x(this,"callDrop",Z(!1)),x(this,"remoteStream$"),x(this,"videoCallInProcess$",new Re),x(this,"allowVideo"),x(this,"onFullScreenChange",()=>{this.isFullScreen.value=!!this.isFullscreenActive()}),x(this,"onFullScreenChangeON",()=>{this.isFullScreen.value=!0}),x(this,"onFullScreenChangeOFF",()=>{this.isFullScreen.value=!1}),this.myChatService=t,this.demo=n,this.allowVideo=a,this.webRTCControlService=new ix(this.myChatService,this.allowVideo),this.phoneService=new sx(this.webRTCControlService),this.remoteStream$=this.phoneService.myCalls$.pipe(Et(o=>o.length>0?o[0].media:po),_e(o=>o.remoteStream$))}videoOnly(t){if(!t)return null;const n=t.getVideoTracks();return 0===n.length?null:new MediaStream(n)}mute(){this.webRTCControlService.mute(this.media)}call(t){return this.demo?nn:(this.hadCall.value=!0,this.callDrop.value=!1,this.hasRecall.value=!1,this.phoneService.call$("",t||!1))}dropCall(){return this.media?(this.callDrop.value=!0,this.hasRecall.value=!1,this.webRTCControlService.dropCall(this.media.lastWebRTCState.Id)):rt(()=>"No media initialized")}removeDroppedCall(){return this.hasCall.value=!1,this.hasRecall.value=!1,Ts(this.media)}clearCallMemo(){this.hadCall.value=!1}isFullscreenSupported(){const t=document;return!!(t.fullscreenEnabled||t.webkitFullscreenEnabled||t.mozFullScreenEnabled||t.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 t=document;return t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||null}goFullScreen(){if(this.isFullScreen.value)return;const t=this.videoContainer;try{null!=t&&this.isFullscreenSupported()?t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen():tr("fullscreen is not supported")}catch(n){tr(n)}}removeFullscreen(){if(this.isFullScreen.value)try{document.exitFullscreen?document.exitFullscreen().catch(t=>console.error(t)):document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}catch(t){console.log(t)}}}function hm(e){try{return JSON.parse(e)}catch{return""}}function mm(e,t){const n=[lx,bm,ym,Am,vm,_m,Cm,wm,Qx];return[gm(t),...n.map(a=>a(e))]}function Os(e,t){const n=[cx,bm,ux,vm,ym,fx,dx,Am,px,hx,wm,mx,Cm,gx,bx,vx,yx,Ax,qx,Gx,wx,Cx,_x,xx,Ox,Ex,Sx,Mx,kx,Ix,Tx,Nx,Lx,Rx,Fx,Px,Dx,Bx,jx,_m,Ux,zx,Vx,Yx,Wx,Hx,$x];return[gm(t),...n.map(a=>a(e))]}const ja=(e=!1)=>{const t=[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some(a=>navigator.userAgent.match(a)),n=window.innerWidth<600||window.innerHeight<600;return e?t&&n:t||n};function gm(e){return{name:"phonesystem-url",value:`${e}`}}function lx(e){var t,n;let a="position: fixed; right: 20px; bottom: 20px; justify-content: flex-end; \n flex-direction: column; display: flex; z-index: 99999; \n --call-us-form-header-background:#373737;\n --call-us-main-button-background:#0596d4;\n --call-us-form-width:330px;";if(null!=(t=e.Styling)&&t.Style){const o=hm(null==(n=e.Styling)?void 0:n.Style);a+=`--call-us-main-accent-color:${o.mainAccent||o.callUsFormHeaderBackgroun
1d||"#0596D4"};`,a+=`--call-us-main-background-color:${o.mainBackground||"#FFFFFF"};`,a+=`--call-us-plate-background-color:${o.plateBackground||"#494949"};`,a+=`--call-us-plate-font-color:${o.plateFont||"#ffffff"};`,a+=`--call-us-main-font-color:${o.mainFont||"#000000"};`,a+=`--call-us-agent-bubble-color:${o.mainFont||"#333333"}10;`}return{name:"style",value:a}}function bm(e){return{name:"id",value:"wp-live-chat-by-3CX"}}function cx(e){var t,n,a,o,i,r,s,l;const c=ja();let d=(null!=(t=e.Styling)&&t.UseRubik?"font-family:Rubik;":"")+"position:fixed;font-size:16px;line-height:17px;z-index: 99999;";if(null!=(n=e.Styling)&&n.Style){const m=hm(null==(a=e.Styling)?void 0:a.Style);d+=`--call-us-main-accent-color:${m.mainAccent||m.callUsFormHeaderBackground||"#0596D4"};`,d+=`--call-us-main-background-color:${m.mainBackground||"#FFFFFF"};`,d+=`--call-us-plate-background-color:${m.plateBackground||"#494949"};`,d+=`--call-us-plate-font-color:${m.plateFont||"#ffffff"};`,d+=`--call-us-main-font-color:${m.mainFont||"#000000"};`,d+=`--call-us-agent-bubble-color:${m.mainFont||"#333333"}10;`}const f=window.matchMedia("(orientation: landscape)").matches,p=window.innerWidth<600||f&&window.innerHeight<600;let h="20px";return null!=(o=e.ChatBox)&&o.MinimizedStyle?(c&&p&&(h="0"),"BubbleLeft"===(null==(i=e.ChatBox)?void 0:i.MinimizedStyle)&&(d+=`left: ${h}; bottom: 200px;`),"BubbleRight"===(null==(r=e.ChatBox)?void 0:r.MinimizedStyle)&&(d+=`right: ${h}; bottom: 200px;`),"BottomLeft"===(null==(s=e.ChatBox)?void 0:s.MinimizedStyle)&&(d+=`left: ${h}; bottom: 20px;`),"BottomRight"===(null==(l=e.ChatBox)?void 0:l.MinimizedStyle)&&(d+=`right: ${h}; bottom: ${h};`)):d+=`right: ${h}; bottom: ${h};`,{name:"style",value:`${d}`}}function ux(e){var t,n;return null!=(null==(t=e.Styling)?void 0:t.Minimized)?{name:"minimized",value:`${null==(n=e.Styling)?void 0:n.Minimized}`}:null}function vm(e){var t;return null!=(t=e.Styling)&&t.Animation?{name:"animation-style",value:`${e.Styling.Animation.toLowerCase()}`}:null}function ym(e){return{name:"party",value:`${e.Link??""}`}}function fx(e){var t,n;if(null!=(t=e.ChatBox)&&t.MinimizedStyle)switch(null==(n=e.ChatBox)?void 0:n.MinimizedStyle){case"BottomRight":case"BubbleRight":return{name:"minimized-style",value:"bubbleright"};case"BottomLeft":case"BubbleLeft":return{name:"minimized-style",value:"bubbleleft"}}return null}function dx(e){var t,n;return"VideoPhoneAndChat"===(null==(t=e.Advanced)?void 0:t.CommunicationOptions)||"PhoneAndChat"===(null==(n=e.Advanced)?void 0:n.CommunicationOptions)?{name:"allow-call",value:"true"}:{name:"allow-call",value:"false"}}function Am(e){return{name:"allow-video",value:"false"}}function px(e){var t,n;return null!=(null==(t=e.General)?void 0:t.AllowSoundNotifications)?{name:"allow-soundnotifications",value:`${null==(n=e.General)?void 0:n.AllowSoundNotifications}`}:null}function hx(e){var t;return{name:"enable-mute",value:`${(null==(t=e.General)?void 0:t.AllowSoundNotifications)??!1}`}}function wm(e){var t,n;return null!=(null==(t=e.General)?void 0:t.EnableOnMobile)?{name:"enable-onmobile",value:`${null==(n=e.General)?void 0:n.EnableOnMobile}`}:null}function mx(e){var t,n;return null!=(null==(t=e.General)?void 0:t.DisableOfflineMessages)?{name:"offline-enabled",value:`${!(null!=(n=e.General)&&n.DisableOfflineMessages)}`}:null}function Cm(e){return{name:"enable",value:"true"}}function gx(e){var t,n;return null!=(null==(t=e.Advanced)?void 0:t.IgnoreQueueOwnership)?{name:"ignore-queueownership",value:`${null==(n=e.Advanced)?void 0:n.IgnoreQueueOwnership}`}:null}function bx(e){var t,n;return null!=(t=e.General)&&t.Authentication?{name:"authentication",value:`${null==(n=e.General)?void 0:n.Authentication.toLowerCase()}`}:null}function vx(e){var t,n;return null!=(t=e.ChatBox)&&t.OperatorName?{name:"operator-name",value:`${null==(n=e.ChatBox)?void 0:n.OperatorName}`}:null}function yx(e){var t,n;return null!=(null==(t=e.ChatBox)?void 0:t.ShowOperatorActualName)?{name:"show-operator-actual-name",value:`${null==(n=e.ChatBox)?void 0:n.ShowOperatorActualName}`}:null}function Ax(e){return{name:"aknowledge-received",value:"true"}}function wx(e){var t;return null!=(null==(t=e.General)?void 0:t.GdprEnabled)?{name:"gdpr-enabled",value:`${e.General.GdprEnabled}`}:null}function Cx(e){var t;return null!=(t=e.Translations)&&t.GdprMessage?{name:"gdpr-message",value:`${e.Translations.GdprMessage}`}:null}function _x(e){var t,n;return null!=(t=e.ChatBox)&&t.LiveMessageUserinfoFormat?{name:"message-userinfo-format",value:`${null==(n=e.ChatBox)?void 0:n.LiveMessageUserinfoFormat.toLowerCase()}`}:null}function xx(e){var t,n;return null!=(t=e.ChatBox)&&t.MessageDateformat?{name:"message-dateformat",value:`${null==(n=e.ChatBox)?void 0:n.MessageDateformat.toLowerCase()}`}:null}function Ex(e){var t;return null!=(t=e.Translations)&&t.WindowTitle?{name:"window-title",value:`${e.Translations.WindowTitle}`}:null}function Mx(e){var t,n;return null!=(t=e.ChatBox)&&t.ButtonIconType?{name:"button-icon-type",value:`${null==(n=e.ChatBox)?void 0:n.ButtonIconType.toLowerCase()}`}:null}function kx(e){var t,n,a;return null!=(t=e.ChatBox)&&t.ButtonIconUrl&&"Url"===(null==(n=e.ChatBox)?void 0:n.ButtonIconType)?{name:"button-icon",value:`${null==(a=e.ChatBox)?void 0:a.ButtonIconUrl}`}:null}function Sx(e){var t,n;return null!=(t=e.ChatBox)&&t.LiveChatLanguage?{name:"lang",value:`${null==(n=e.ChatBox)?void 0:n.LiveChatLanguage}`}:null}function Ix(e){var t,n;return null!=(t=e.Translations)&&t.InviteMessage?{name:"invite-message",value:`${null==(n=e.Translations)?void 0:n.InviteMessage}`}:null}function Tx(e){var t,n;return null!=(t=e.Translations)&&t.AuthenticationMessage?{name:"authentication-message",value:`${null==(n=e.Translations)?void 0:n.AuthenticationMessage}`}:null}function Ox(e){var t,n;return null!=(t=e.Translations)&&t.StartChatButtonText?{name:"start-chat-button-text",value:`${null==(n=e.Translations)?void 0:n.StartChatButtonText}`}:null}function Nx(e){var t;return null!=(t=e.Translations)&&t.UnavailableMessage?{name:"unavailable-message",value:`${e.Translations.UnavailableMessage}`}:null}function Rx(e){var t,n;return null!=(t=e.Translations)&&t.OfflineFinishMessage?{name:"offline-finish-message",value:`${null==(n=e.Translations)?void 0:n.OfflineFinishMessage}`}:null}function Fx(e){var t,n;return null!=(t=e.Translations)&&t.EndingMessage?{name:"ending-message",value:`${null==(n=e.Translations)?void 0:n.EndingMessage}`}:null}function Lx(e){var t;return null!=(t=e.Translations)&&t.FirstResponseMessage?{name:"first-response-message",value:`${e.Translations.FirstResponseMessage}`}:null}function Px(e){var t;return null!=(t=e.Translations)&&t.GreetingMessage?{name:"greeting-visibility",value:"both"}:{name:"greeting-visibility",value:"none"}}function Dx(e){var t;return null!=(t=e.Translations)&&t.GreetingOfflineMessage?{name:"greeting-offline-visibility",value:"both"}:{name:"greeting-offline-visibility",value:"none"}}function Bx(e){var t,n;return null!=(t=e.Translations)&&t.GreetingMessage?{name:"greeting-message",value:null==(n=e.Translations)?void 0:n.GreetingMessage}:null}function jx(e){var t,n;return null!=(t=e.Translations)&&t.GreetingOfflineMessage?{name:"greeting-offline-message",value:null==(n=e.Translations)?void 0:n.GreetingOfflineMessage}:null}function _m(e){var t;return null!=(t=e.ChatBox)&&t.ChatDelay?{name:"chat-delay",value:`${e.ChatBox.ChatDelay}`}:null}function Ux(e){var t,n;return null!=(t=e.Translations)&&t.OfflineNameMessage?{name:"offline-name-message",value:`${null==(n=e.Translations)?void 0:n.OfflineNameMessage}`}:null}function zx(e){var t,n;return null!=(t=e.Translations)&&t.OfflineEmailMessage?{name:"offline-email-message",value:`${null==(n=e.Translations)?void 0:n.OfflineEmailMessage}`}:null}function qx(e){var t,n;return null!=(t=e.ChatBox)&&t.WindowIcon?{name:"window-icon",value:`${null==(n=e.ChatBox)?void 0:n.WindowIcon}`}:null}function Gx(e){var t,n;return null!=(t=e.ChatBox)&&t.OperatorIcon?{name:"operator-icon",value:`${null==(n=e.ChatBox)?void 0:n.OperatorIcon}`}:null}function Vx(e){var t,n;return null!=(t=e.Translations)&&t.OfflineFormInvalidName?{name:"offline-form-invalid-name",value:`${null==(n=e.Translations)?void 0:n.OfflineFormInvalidName}`}:null}function Yx(e){var t,n;return null!=(t=e.Translations)&&t.OfflineFormMaximumCharactersReached?{name:"offline-form-maximum-characters-reached",value:`${null==(n=e.Translations)?void 0:n.OfflineFormMaximumCharactersReached}`}:null}function Wx(e){var t,n;return null!=(t=e.Translations)&&t.OfflineFormInvalidEmail?{name:"offline-form-invalid-email",value:`${null==(n=e.Translations)?void 0:n.OfflineFormInvalidEmail}`}:null}function Hx(e){var t;return{name:"enable-direct-call",value:`${(null==(t=e.Advanced)?void 0:t.EnableDirectCall)??!1}`}}function $x(e){return{name:"enable-ga",value:"false"}}function Qx(e){var t,n;return null!=(t=e.Advanced)&&t.CallTitle?{name:"call-title",value:`${null==(n=e.Advanced)?void 0:n.CallTitle}`}:null}const nr={created(e,t){e.srcObject=t.value},update:(e,t)=>
1{e.srcObject!==t.value&&(e.srcObject=t.value)}},Jx={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},xm={render:function Kx(e,t){return O(),U("svg",Jx,[...t[0]||(t[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)])])}},Zx={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"},oi={render:function Xx(e,t){return O(),U("svg",Zx,[...t[0]||(t[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)])])}},eE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},Em={render:function tE(e,t){return O(),U("svg",eE,[...t[0]||(t[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)])])}},nE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},oE={render:function aE(e,t){return O(),U("svg",nE,[...t[0]||(t[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)])])}},iE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"},sE={render:function rE(e,t){return O(),U("svg",iE,[...t[0]||(t[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)])])}},lE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"},uE={render:function cE(e,t){return O(),U("svg",lE,[...t[0]||(t[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)])])}},fE={xmlns:"http://www.w3.org/2000/svg"},Mm={render:function dE(e,t){return O(),U("svg",fE,[...t[0]||(t[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)])])}},pE={xmlns:"http://www.w3.org/2000/svg"},km={render:function hE(e,t){return O(),U("svg",pE,[...t[0]||(t[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)])])}},mE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 37"},bE={render:function gE(e,t){return O(),U("svg",mE,[...t[0]||(t[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)])])}},vE={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20"},AE={render:function yE(e,t){return O(),U("svg",vE,[...t[0]||(t[0]=[H("path",{d:"M18.594.125.488 10.5
17a.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)])])}},wE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 39"},_E={render:function CE(e,t){return O(),U("svg",wE,[...t[0]||(t[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)])])}},xE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 39"},ME={render:function EE(e,t){return O(),U("svg",xE,[...t[0]||(t[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)])])}},kE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"},IE={render:function SE(e,t){return O(),U("svg",kE,[...t[0]||(t[0]=[P0('<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)])])}},TE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30.34 30.34"},Sm={render:function OE(e,t){return O(),U("svg",TE,[...t[0]||(t[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)])])}},NE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},FE={render:function RE(e,t){return O(),U("svg",NE,[...t[0]||(t[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)])])}},LE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43.074 42.35"},tf={render:function PE(e,t){return O(),U("svg",LE,[...t[0]||(t[0]=[P0('<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)])])}},DE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},Im={render:function BE(e,t){return O(),U("svg",DE,[...t[0]||(t[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)])])}},jE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Tm={render:function UE(e,t){return O(),U("svg",jE,[...t[0]||(t[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)])])}},zE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 46.9 46.9"},GE={render:function qE(e,t){return O(),U("svg",zE,[...t[0]||(t[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)])])}},VE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},WE={render:function YE(e,t){return O(),U("svg",VE,[...t[0]||(t[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)])])}},HE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},QE={render:function $E(e,t){return O(),U("svg",HE,[...t[0]||(t[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)])])}},JE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},ZE={render:function KE(e,t){return O(),U("svg",JE,[...t[0]||(t[0]=[H("path",{d:"M193.94 256 296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l
1-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)])])}},XE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Om={render:function eM(e,t){return O(),U("svg",XE,[...t[0]||(t[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)])])}},tM={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",fill:"none"},aM={render:function nM(e,t){return O(),U("svg",tM,[...t[0]||(t[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)])])}},oM={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},rM={render:function iM(e,t){return O(),U("svg",oM,[...t[0]||(t[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)])])}},sM=["title","disabled"],Ge=(e,t)=>{const n=e.__vccOpts||e;for(const[a,o]of t)n[a]=o;return n},nf=Ge(We({__name:"toolbar-button",props:{title:{default:"button",type:String},disabled:{type:Boolean}},emits:["click-inner"],setup:e=>(t,n)=>(O(),U("button",{id:"wplc-chat-button","aria-label":"Live Chat & Talk",title:e.title,class:L(["button"]),disabled:e.disabled,type:"button",onMousedown:n[0]||(n[0]=dn(()=>{},["prevent"])),onClick:n[1]||(n[1]=a=>t.$emit("click-inner"))},[ki(t.$slots,"default")],40,sM))}),[["styles",["*{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}"]]]),uM=We({components:{ToolBarButton:nf,GlyphiconChevron:xm,WplcIcon:tf,WplcIconBubble:Tm,WplcIconDoubleBubble:Im},props:{disabled:Boolean,collapsed:{type:Boolean,default:!0},config:{type:Object,default:()=>{}}},setup(e,t){const n=he(Wt),a=Z(!1),o=Z(void 0),i=$(()=>e.config.minimizedStyle===ca.BubbleRight||e.config.minimizedStyle===ca.BubbleLeft),r=Nt();return It(()=>{r.add(n.onUnattendedMessage.subscribe(s=>{a.value=!s.preventBubbleIndication})),r.add(n.onAttendChat.subscribe(()=>{a.value=!1}))}),{showNotification:a,toolbarButton:o,isBubble:i}}}),dM=["src"],pM={key:5,class:L(["notification-indicator"])},mM=Ge(uM,[["render",function hM(e,t,n,a,o,i){const r=de("WplcIconBubble"),s=de("WplcIconDoubleBubble"),l=de("WplcIcon"),
1c=de("GlyphiconChevron"),d=de("ToolBarButton");return O(),Ie(d,{ref:"toolbarButton",class:L([["minimized-button"],"bubble"]),disabled:e.disabled,onClickInner:t[0]||(t[0]=f=>e.$emit("clicked-button"))},{default:Qt(()=>[e.isBubble?(O(),U(ft,{key:0},[e.collapsed&&"url"===e.config.buttonIconType&&""!==e.config.buttonIcon?(O(),U("img",{key:0,src:e.config.buttonIcon,class:L(["minimize-image"])},null,8,dM)):e.collapsed&&"bubble"===e.config.buttonIconType?(O(),Ie(r,{key:1,class:L(["minimize-image"])})):e.collapsed&&"doublebubble"===e.config.buttonIconType?(O(),Ie(s,{key:2,class:L(["minimize-image"])})):e.collapsed?(O(),Ie(l,{key:3,class:L(["minimize-image"])})):e.collapsed?ie("",!0):(O(),Ie(c,{key:4,class:L([["minimize-image"],["chevron_down_icon"]])})),e.showNotification?(O(),U("span",pM)):ie("",!0)],64)):ie("",!0)]),_:1},8,["disabled"])}],["styles",["*{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))}"]]]),af="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",Ns="data:image/png;base64,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",gM=We({components:{GlyphiconTimes:Em},props:{greetingMessage:{type:String,default:""},operator:{type:Object,default:()=>Da}},setup:(e,t)=>({getAgentIcon:$(()=>e.operator.image?e.operator.image:Ns),onGreetingClicked(){t.emit("clicked")},onGreetingClosed(){t.emit("closed")},updateNotFoundImage(n){n&&n.target&&(n.target.src=af)}})}),vM={class:L(["operator-img-container"])},yM=["src"],AM={class:L(["greeting-content"])},wM={class:L(["greeting-message"])},CM={class:L(["greeting-action-container"])},Nm=Ge(We({components:{MinimizedButton:mM,Greeting:Ge(gM,[["render",function _M(e,t,n,a,o,i){const r=de("GlyphiconTimes");return O(),U("div",{id:"greetingContainer",class:L(["root-greetings"]),onClick:t[2]||(t[2]=s=>e.onGreetingClicked())},[H("div",vM,[H("img",{src:e.getAgentIcon,alt:"avatar",class:L([["operator-img"],["rounded-circle"]]),onError:t[0]||(t[0]=s=>e.updateNotFoundImage(s))},null,40,yM)]),H("div",AM,[H("span",wM,Ce(e.greetingMessage),1)]),H("div",CM,[H("div",{id:"close_greeting_btn",class:L([["action-btn"],["close-btn"]]),onClick:t[1]||(t[1]=dn(s=>e.onGreetingClosed(),["stop"]))},[me(r)])])])}],["styles",["*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}
1to{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}"]]])},props:{disabled:{type:Boolean,default:!1},collapsed:{type:Boolean},config:{type:Object,default:()=>{}},panelState:{type:Number,default:we.Chat},operator:{type:Object,default:()=>Da}},setup(e,t){const n=he(Wt),a=he(Di),o=he(Un),i=Z(!1),r=Z(!0),s=Z(null),l=Nt(),c=$(()=>e.panelState===we.Authenticate||e.panelState===we.Chat||e.panelState===we.Intro?o.isAvaliable?e.config.greetingVisibility:e.config.greetingOfflineVisibility:en.None),d=$(()=>{const S=!ja();return c.value===en.Both||c.value===en.Mobile&&!S||c.value===en.Desktop&&S}),f=()=>"true"===localStorage.getItem("callus.greeting_activated"),p=$(()=>!i.value&&e.collapsed&&!e.disabled&&d.value&&!f()),h=$(()=>{if(e.config&&r.value)switch(e.config.animationStyle){case Xt.FadeIn:return["fadeIn"];case Xt.SlideLeft:return["slideLeft"];case Xt.SlideRight:return["slideRight"];case Xt.SlideUp:return["slideUp"]}return[]}),m=$(()=>e.config.minimizedStyle===ca.BubbleLeft?"bubble_left":e.config.minimizedStyle===ca.BubbleRight?"bubble_right":[]),g=$(()=>e.panelState===we.Authenticate||e.panelState===we.Chat||e.panelState===we.Intro?o.isAvaliable?e.config.greetingMessage:e.config.greetingOfflineMessage:""),_=S=>{localStorage&&localStorage.setItem("callus.greeting_activated",S.toString())},I=()=>{_(!0),a.chatInteractionEvent(),i.value=!0};return It(()=>{(()=>{const S=f();_(S&&d.value)})(),l.add(n.onAnimationActivatedChange.pipe(Gi()).subscribe(S=>{r.value=S})),l.add(n.onChatInitiated.pipe(Gi()).subscribe(S=>{S&&_(!1)}))}),{animationsMinimizedBubble:h,getMinimizedStyle:m,showGreeting:p,greetingMessage:g,minimizedBubbleContainer:s,onBubbleClicked:()=>{I(),t.emit("clicked-button")},onGreetingClosed:I,deactivateAnimation:S=>{s.value===S.target&&n.onAnimationActivatedChange.next(!1)}
1,isAnimationActivated:r,retrieveGreetingActivated:f,greetingVisibilityOnState:c,isGreetingEnabledOnDevice:d,storeGreetingActivated:_}}}),[["render",function kM(e,t,n,a,o,i){const r=de("Greeting"),s=de("MinimizedButton");return O(),U("div",{ref:"minimizedBubbleContainer",class:L([e.animationsMinimizedBubble,["bubble-root"],e.collapsed?"":["chat_expanded"],e.getMinimizedStyle]),onAnimationend:t[2]||(t[2]=l=>e.deactivateAnimation(l))},[e.showGreeting?(O(),Ie(r,{key:0,ref:"greeting",greetingMessage:e.greetingMessage,operator:e.operator,onClicked:t[0]||(t[0]=l=>e.onBubbleClicked()),onClosed:t[1]||(t[1]=l=>e.onGreetingClosed())},null,8,["greetingMessage","operator"])):ie("",!0),me(s,{ref:"minimizedButton",config:e.config,collapsed:e.collapsed,disabled:e.disabled,onClickedButton:e.onBubbleClicked},null,8,["config","collapsed","disabled","onClickedButton"])],34)}],["styles",["*{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}"]]]),SM=We({props:{show:Boolean,text:String}}),TM={key:0,class:L("loading")},OM={class:L("loader")},Rm=Ge(SM,[["render",function NM(e,t,n,a,o,i){return e.show?(O(),U("div",TM,[H("div",OM,Ce(e.text),1)])):ie("",!0)}],["styles",['*{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}}']]]),RM=We({components:{MinimizedBubble:Nm,Loading:Rm},props:{panelState:{type:Number,default:we.Chat},allowMinimize:{type:Boolean},startMinimized:{type:Boolean},config:{type:Object,default:()=>{}},allowFullscreen:{type:Boolean,default:!1},operator:{type:Object,default:()=>Da},isCallingWindow:{type:Boolean,default:!1},chatEnabled:{type:Boolean,default:!1}},setup(e,t){const n=he(Ta),a=he(Wt),o=he(Po),i=he(tn),r=Z(null),s=Z(!1),l=Z(!1),c=Z(!0),d=$(()=>{let h=[];return h=n.isFullScreen?["full-screen"]:e.isCallingWindow?["calling-window"]:e.panelState===we.Chat?["chat-form"]:e.panelState===we.Intro?["intro-form"]:["small-form"],h}),f=()=>{e.allowMinimize&&(s.value?(a.onRestored.next(),n.enableFullScreen&&e.panelState!==we.Intro&&n.goFullScreen()):(a.onMinimized.next(),n.closeFullScreen()))},p=Nt();return It(()=>{s.value="#popoutchat"!==document.location.hash&&e.startMinimized,p.add(a.onToggleCollapsed.subscribe({next:()=>f()})),p.add(a.onMinimized.subscribe({next:()=>{s.value=!0,sessionStorage.setItem("callus.collapsed","1")}})),p.add(a.onRestored.subscribe({next:()=>{s.value=!1,sessionStorage.setItem("callus.collapsed","0")}})),p.add(a.onAnimationActivatedChange.pipe(Gi()).subscribe({next:h=>{c.value=h}})),e.allowFullscreen?p.add(Go(window.matchMedia("(orientation: landscape)"),"change").pipe(Jc(window.matchMedia("(orientation: landscape)")),Et(h=>({isLandscape:h.matches}))).subscribe({next:h=>{!e.isCallingWindow&&!s.value||e.allowFullscreen&&h.isLandscape&&e.isCallingWindow&&!i.isVideoActive.value?n.goFullScreen():n.closeFullScreen()}})):n.isFullScreen&&n.closeFullScreen()}
1),{panel:r,isAnimationActivated:c,collapsed:s,loadingService:o,hideCloseButton:l,onToggleCollapsed:f,getMinimizedStyle:$(()=>e.config.minimizedStyle===ca.BubbleLeft?"bubble_left":"bubble_right"),onClose(){l.value=!0,o.show(),t.emit("close")},isFullScreen:$(()=>n.isFullScreen),animations:$(()=>{if(e.config&&c.value)switch(e.config.animationStyle){case Xt.FadeIn:return["fadeIn"];case Xt.SlideLeft:return["slideLeft"];case Xt.SlideRight:return["slideRight"];case Xt.SlideUp:return["slideUp"]}return[]}),panelHeight:d,showPanel:$(()=>!s.value||!e.allowMinimize),showBubble:$(()=>e.allowMinimize),deactivateAnimation(h){r.value===h.target&&a.onAnimationActivatedChange.next(!1)},myWebRTCService:i}}}),LM={class:L(["panel_body"])},PM={style:{height:"100%"}},of=Ge(RM,[["render",function DM(e,t,n,a,o,i){const r=de("Loading"),s=de("MinimizedBubble");return O(),U("div",{ref:"panel",class:L([["panel"],e.animations,e.isFullScreen?["full-screen"]:""]),onAnimationend:t[0]||(t[0]=l=>e.deactivateAnimation(l))},[aa(H("div",{class:L([["panel_content"],e.panelHeight,e.myWebRTCService.isVideoActive.value?["video_extend"]:""])},[ki(e.$slots,"overlay",{},void 0,!0),ki(e.$slots,"panel-top",{},void 0,!0),H("div",LM,[(O(),Ie(r,{key:e.loadingService.key,show:e.loadingService.loading()&&!e.config.demo,text:"loading"},null,8,["show"])),H("div",PM,[ki(e.$slots,"panel-content",{},void 0,!0)])])],2),[[o3,e.showPanel]]),e.showBubble?(O(),Ie(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"])):ie("",!0)],34)}],["styles",['[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}
1.panel svg rect[data-v-c8580658]{fill:var(--call-us-form-header-background, #373737)}']],["__scopeId","data-v-c8580658"]]),BM=We({directives:{object:nr},components:{Panel:of,WplcIcon:tf,GlyphiconCall:oi},props:{config:{type:Object,default:()=>{}},webRtcCodecs:{type:Array,default:void 0},startMinimized:Boolean,operator:{type:Object,default:()=>Da}},setup(e,t){const n=he(Ta),a=he(Wt),o=he(Lc),i=he(Un),r=he(tn),s=Ot(),{t:l}=s;r.webRTCControlService.setWebRtcCodecs(e.webRtcCodecs),Vt(tn,r);const c=Nt(),d=$(()=>r.hasCall.value?r.hasCall.value&&r.hasEstablishedCall.value?l("Inputs.Connected").toString():l("Inputs.Dialing").toString():"");It(()=>{c.add(r.phoneService.myCalls$.pipe(Et(m=>m.length>0?m[0].media:po),_e(m=>Xe(m!==po)),Gi()).subscribe({next:m=>{m||o.dropSession().subscribe({next:()=>{i.closeSession()},error:b=>{a.onError.next(b)}})}}))});const f=(m,b=!1)=>{r.hasCall.value||t.emit("chat",b)};return{isWebRtcAllowed:$(()=>ni),fullscreenService:n,ViewState:we,myWebRTCService:r,callStateTitle:d,t:l,startChat:f,dropCall:()=>{r.dropCall().pipe(Gn(1)).subscribe({error:m=>a.onError.next(m)})},makeCall:()=>{a.onChatInitiated.next(!0),ni&&(f(0,!0),r.call(!1).pipe(Gn(1)).subscribe({error:m=>a.onError.next(m)}))}}}}),UM={class:L("intro-root")},zM=["src"],qM={key:1,autoplay:""},VM=Ge(BM,[["render",function GM(e,t,n,a,o,i){const r=de("WplcIcon"),s=de("GlyphiconCall"),l=de("Panel"),c=Hr("object");return O(),Ie(l,{config:e.config,startMinimized:e.startMinimized,allowMinimize:e.config.allowMinimize,panelState:e.ViewState.Intro,fullScreenService:e.fullscreenService,operator:e.operator},{"panel-content":Qt(()=>[H("div",UM,[e.myWebRTCService.audioNotificationUrl?(O(),U("audio",{key:0,src:e.myWebRTCService.audioNotificationUrl.value||void 0,autoplay:"",loop:""},null,8,zM)):ie("",!0),e.myWebRTCService.remoteStream.value?aa((O(),U("audio",qM,null,512)),[[c,e.myWebRTCService.remoteStream.value]]):ie("",!0),H("div",{ref:"startChatOption",class:L(["action_option",e.myWebRTCService.hasCall.value?"disabled":""]),onClick:t[0]||(t[0]=(...d)=>e.startChat&&e.startChat(...d))},[me(r,{class:L(["option-icon"])}),sa(" "+Ce(e.t("Inputs.ChatWithUs")),1)],2),e.myWebRTCService.hasCall.value?(O(),U("div",{key:3,ref:"dropCallOption",class:L("action_option"),onClick:t[2]||(t[2]=(...d)=>e.dropCall&&e.dropCall(...d))},[me(s,{class:L([["option-icon"],["end-call-icon"]])}),sa(" "+Ce(e.callStateTitle),1)],512)):(O(),U("div",{key:2,ref:"makeCallOption",class:L(["action_option",e.isWebRtcAllowed?"":"disabled:"]),onClick:t[1]||(t[1]=(...d)=>e.makeCall&&e.makeCall(...d))},[me(s,{class:L(["option-icon"])}),sa(" "+Ce(e.t("Inputs.CallTitle")),1)],2))])]),_:1},8,["config","startMinimized","allowMinimize","panelState","fullScreenService","operator"])}],["styles",["[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);
1fill: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}"]],["__scopeId","data-v-3fff492c"]]);function Fm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,a)}return n}function Ua(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fm(Object(n),!0).forEach(function(a){YM(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fm(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function YM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lm(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object.keys(e).reduce((n,a)=>(t.includes(a)||(n[a]=Me(e[a])),n),{})}function Rs(e){return"function"==typeof e}function Pm(e,t,n){let a=e;const o=t.split(".");for(let i=0;i<o.length;i++){if(!a[o[i]])return n;a=a[o[i]]}return a}function rf(e,t,n){return $(()=>e.some(a=>Pm(t,a,{[n]:!1})[n]))}function Dm(e,t,n){return $(()=>e.reduce((a,o)=>{const i=Pm(t,o,{[n]:!1})[n]||[];return a.concat(i)},[]))}function Bm(e,t,n,a){return e.call(a,Me(t),Me(n),a)}function jm(e){return void 0!==e.$valid?!e.$valid:!e}function sf(e){let{validations:t,state:n,key:a,parentKey:o,childResults:i,resultsCache:r,globalConfig:s={},instance:l,externalResults:c}=e;const d=o?`${o}.${a}
1`:a,{rules:f,nestedValidators:p,config:h,validationGroups:m}=function JM(){const t=Me(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),n=Object.keys(t),a={},o={},i={};let r=null;return n.forEach(s=>{const l=t[s];switch(!0){case Rs(l.$validator):a[s]=l;break;case Rs(l):a[s]={$validator:l};break;case"$validationGroups"===s:r=l;break;case s.startsWith("$"):i[s]=l;break;default:o[s]=l}}),{rules:a,nestedValidators:o,config:i,validationGroups:r}}(t),b=Ua(Ua({},s),h),g=a?$(()=>{const fe=Me(n);return fe?Me(fe[a]):void 0}):n,v=Ua({},Me(c)||{}),_=$(()=>{const fe=Me(c);return a?fe?Me(fe[a]):void 0:fe}),I=function ZM(e,t,n,a,o,i,r,s,l){const c=Object.keys(e),d=a.get(o,e),f=Z(!1),p=Z(!1),h=Z(0);if(d){if(!d.$partial)return d;d.$unwatch(),f.value=d.$dirty.value}const m={$dirty:f,$path:o,$touch:()=>{f.value||(f.value=!0)},$reset:()=>{f.value&&(f.value=!1)},$commit:()=>{}};return c.length?(c.forEach(b=>{m[b]=function QM(e,t,n,a,o,i,r,s,l,c,d){const f=Z(!1),p=e.$params||{},h=Z(null);let m,b;({$invalid:m,$unwatch:b}=e.$async?function HM(e,t,n,a,o,i,r){let{$lazy:s,$rewardEarly:l}=o,c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[],d=arguments.length>8?arguments[8]:void 0,f=arguments.length>9?arguments[9]:void 0,p=arguments.length>10?arguments[10]:void 0;const h=Z(!!a.value),m=Z(0);n.value=!1;const b=Jt([t,a].concat(c,p),()=>{if(s&&!a.value||l&&!f.value&&!n.value)return;let g;try{g=Bm(e,t,d,r)}catch(v){g=Promise.reject(v)}m.value++,n.value=!!m.value,h.value=!1,Promise.resolve(g).then(v=>{m.value--,n.value=!!m.value,i.value=v,h.value=jm(v)}).catch(v=>{m.value--,n.value=!!m.value,i.value=v,h.value=!0})},{immediate:!0,deep:"object"==typeof t});return{$invalid:h,$unwatch:b}}(e.$validator,t,f,n,a,h,o,e.$watchTargets,l,c,d):function $M(e,t,n,a,o,i,r,s){let{$lazy:l,$rewardEarly:c}=a;return{$unwatch:()=>({}),$invalid:$(()=>{if(l&&!n.value||c&&!s.value)return!1;let p=!0;try{const h=Bm(e,t,r,i);o.value=h,p=jm(h)}catch(h){o.value=h}return p})}}(e.$validator,t,n,a,h,o,l,c));const g=e.$message;return{$message:Rs(g)?$(()=>g(Lm({$pending:f,$invalid:m,$params:Lm(p),$model:t,$response:h,$validator:i,$propertyPath:s,$property:r}))):g||"",$params:p,$pending:f,$invalid:m,$response:h,$unwatch:b}}(e[b],t,m.$dirty,i,r,b,n,o,l,p,h)}),m.$externalResults=$(()=>s.value?[].concat(s.value).map((b,g)=>({$propertyPath:o,$property:n,$validator:"$externalResults",$uid:`${o}-externalResult-${g}`,$message:b,$params:{},$response:null,$pending:!1})):[]),m.$invalid=$(()=>{const b=c.some(g=>Me(m[g].$invalid));return p.value=b,!!m.$externalResults.value.length||b}),m.$pending=$(()=>c.some(b=>Me(m[b].$pending))),m.$error=$(()=>!!m.$dirty.value&&(m.$pending.value||m.$invalid.value)),m.$silentErrors=$(()=>c.filter(b=>Me(m[b].$invalid)).map(b=>{const g=m[b];return Lt({$propertyPath:o,$property:n,$validator:b,$uid:`${o}-${b}`,$message:g.$message,$params:g.$params,$response:g.$response,$pending:g.$pending})}).concat(m.$externalResults.value)),m.$errors=$(()=>m.$dirty.value?m.$silentErrors.value:[]),m.$unwatch=()=>c.forEach(b=>{m[b].$unwatch()}),m.$commit=()=>{p.value=!0,h.value=Date.now()},a.set(o,e,m),m):(d&&a.set(o,e,m),m)}(f,g,a,r,d,b,l,_,n),N=function XM(e,t,n,a,o,i,r){const s=Object.keys(e);return s.length?s.reduce((l,c)=>(l[c]=sf({validations:e[c],state:t,key:c,parentKey:n,resultsCache:a,globalConfig:o,instance:i,externalResults:r}),l),{}):{}}(p,g,d,r,b,l,_),S={};m&&Object.entries(m).forEach(fe=>{let[xe,Ee]=fe;S[xe]={$invalid:rf(Ee,N,"$invalid"),$error:rf(Ee,N,"$error"),$pending:rf(Ee,N,"$pending"),$errors:Dm(Ee,N,"$errors"),$silentErrors:Dm(Ee,N,"$silentErrors")}});const{$dirty:G,$errors:P,$invalid:ee,$anyDirty:se,$error:Q,$pending:ne,$touch:be,$reset:Ve,$silentErrors:re,$commit:K}=function ek(e,t,n){const a=$(()=>[t,n].filter(m=>m).reduce((m,b)=>m.concat(Object.values(Me(b))),[])),o=$({get:()=>e.$dirty.value||!!a.value.length&&a.value.every(m=>m.$dirty),set(m){e.$dirty.value=m}}),i=$(()=>{const m=Me(e.$silentErrors)||[],b=a.value.filter(g=>(Me(g).$silentErrors||[]).length).reduce((g,v)=>g.concat(...v.$silentErrors),[]);return m.concat(b)}),r=$(()=>{const m=Me(e.$errors)||[],b=a.value.filter(g=>(Me(g).$errors||[]).length).reduce((g,v)=>g.concat(...v.$errors),[]);return m.concat(b)}),s=$(()=>a.value.some(m=>
1m.$invalid)||Me(e.$invalid)||!1),l=$(()=>a.value.some(m=>Me(m.$pending))||Me(e.$pending)||!1),c=$(()=>a.value.some(m=>m.$dirty)||a.value.some(m=>m.$anyDirty)||o.value),d=$(()=>!!o.value&&(l.value||s.value)),f=()=>{e.$touch(),a.value.forEach(m=>{m.$touch()})};return a.value.length&&a.value.every(m=>m.$dirty)&&f(),{$dirty:o,$errors:r,$invalid:s,$anyDirty:c,$error:d,$pending:l,$touch:f,$reset:()=>{e.$reset(),a.value.forEach(m=>{m.$reset()})},$silentErrors:i,$commit:()=>{e.$commit(),a.value.forEach(m=>{m.$commit()})}}}(I,N,i),z=a?$({get:()=>Me(g),set:fe=>{G.value=!0;const xe=Me(n),Ee=Me(c);Ee&&(Ee[a]=v[a]),ot(xe[a])?xe[a].value=fe:xe[a]=fe}}):null;function D(){return(D=(0,Ao.A)(function*(){return be(),b.$rewardEarly&&(K(),yield jr()),yield jr(),new Promise(fe=>{if(!ne.value)return fe(!ee.value);const xe=Jt(ne,()=>{fe(!ee.value),xe()})})})).apply(this,arguments)}return a&&b.$autoDirty&&Jt(g,()=>{G.value||be();const fe=Me(c);fe&&(fe[a]=v[a])},{flush:"sync"}),Lt(Ua(Ua(Ua({},I),{},{$model:z,$dirty:G,$error:Q,$errors:P,$invalid:ee,$anyDirty:se,$pending:ne,$touch:be,$reset:Ve,$path:d||"__root",$silentErrors:re,$validate:function V(){return D.apply(this,arguments)},$commit:K},i&&{$getResultsForChild:function te(fe){return(i.value||{})[fe]},$clearExternalResults:function pe(){ot(c)?c.value=v:0===Object.keys(v).length?Object.keys(c).forEach(fe=>{delete c[fe]}):Object.assign(c,v)},$validationGroups:S}),N))}class tk{constructor(){this.storage=new Map}set(t,n,a){this.storage.set(t,{rules:n,result:a})}checkRulesValidity(t,n,a){const o=Object.keys(a),i=Object.keys(n);return!(i.length!==o.length||!i.every(r=>o.includes(r)))&&i.every(r=>!n[r].$params||Object.keys(n[r].$params).every(s=>Me(a[r].$params[s])===Me(n[r].$params[s])))}get(t,n){const a=this.storage.get(t);if(!a)return;const{rules:o,result:i}=a;return this.checkRulesValidity(t,n,o)?i:{$dirty:i.$dirty,$partial:!0,$unwatch:i.$unwatch?i.$unwatch:()=>({})}}}const Fs={COLLECT_ALL:!0,COLLECT_NONE:!1},Um=Symbol("vuelidate#injectChildResults"),zm=Symbol("vuelidate#removeChildResults");function qm(e){return new Proxy(e,{get:(t,n)=>"object"==typeof t[n]?qm(t[n]):$(()=>t[n])})}let Gm=0;function ak(e,t){var n;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};1===arguments.length&&(a=e,e=void 0,t=void 0);let{$registerAs:o,$scope:i=Fs.COLLECT_ALL,$stopPropagation:r,$externalResults:s,currentVueInstance:l}=a;const c=l||(null===(n=ts())||void 0===n?void 0:n.proxy),d=c?c.$options:{};o||(Gm+=1,o=`_vuelidate_${Gm}`);const f=Z({}),p=new tk,{childResults:h,sendValidationResultsToParent:m,removeValidationResultsFromParent:b}=c?function nk(e){let{$scope:t,instance:n}=e;const a={},o=Z([]),i=$(()=>o.value.reduce((d,f)=>(d[f]=Me(a[f]),d),{}));n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],function r(d,f){let{$registerAs:p,$scope:h,$stopPropagation:m}=f;m||t===Fs.COLLECT_NONE||h===Fs.COLLECT_NONE||t!==Fs.COLLECT_ALL&&t!==h||(a[p]=d,o.value.push(p))}),n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],function s(d){o.value=o.value.filter(f=>f!==d),delete a[d]});const l=he(Um,[]);Vt(Um,n.__vuelidateInjectInstances);const c=he(zm,[]);return Vt(zm,n.__vuelidateRemoveInstances),{childResults:i,sendValidationResultsToParent:l,removeValidationResultsFromParent:c}}({$scope:i,instance:c}):{childResults:Z({})};if(!e&&d.validations){const g=d.validations;t=Z({}),It(()=>{t.value=c,Jt(()=>Rs(g)?g.call(t.value,new qm(t.value)):g,v=>{f.value=sf({validations:v,state:t,childResults:h,resultsCache:p,globalConfig:a,instance:c,externalResults:s||c.vuelidateExternalResults})},{immediate:!0})}),a=d.validationsConfig||a}else Jt(ot(e)||function WM(e){return Ea(e)||Fn(e)}(e)?e:Lt(e||{}),v=>{f.value=sf({validations:v,state:t,childResults:h,resultsCache:p,globalConfig:a,instance:c??{},externalResults:s})},{immediate:!0});return c&&(m.forEach(g=>g(f,{$registerAs:o,$scope:i,$stopPropagation:r})),e0(()=>b.forEach(g=>g(o)))),$(()=>Ua(Ua({},Me(f.value)),h.value))}const Vm=e=>{if(e=Me(e),Array.isArray(e))return!!e.length;if(null==e)return!1;if(!1===e)return!0;if(e instanceof Date)return!isNaN(e.getTime());if("object"==typeof e){for(let t in e)return!0;return!1}return!!String(e).length};function ho(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a=>(a=Me(a),!Vm(a)||t.every(o=>(o.lastIndex=0,o.test(a))))}ho(/^[a-zA-Z]*$/),ho(/^[a-zA-Z0-9]*$/),ho(/^\d*(\.\d+)?$/),ho(/^(?:[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);var lf={$validator:function ok(e){return"string"==typeof e&&(e=e.trim()),Vm(e)},$message:"Value is required",$params:{type:"required"}};function Rt(e,t){return t.find(n=>n)??""}function Qn(e,t){return Rt(0,t)}
1ho(/^(?:(?:(?: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),ho(/(^[0-9]*$)|(^-[0-9]+$)/),ho(/^[-]?\d*(\.\d+)?$/);const Ls=class Cg{static convertDateToTicks(t){return(t.getTime()-60*t.getTimezoneOffset()*1e3)*this.ticksPerMillisecondInCSharp+this.epochTicks}static convertTicksToDate(t){const a=new Date((t-this.epochTicks)/this.ticksPerMillisecondInCSharp);return new Date(a.getTime()+60*a.getTimezoneOffset()*1e3)}static isDoubleByte(t){if(typeof t<"u"&&null!=t)for(let n=0,a=t.length;n<a;n+=1)if(t.charCodeAt(n)>255)return!0;return!1}static decodeHtml(t){const n=document.createElement("textarea");return n.innerHTML=t,n.value}static escapeHtml(t){const n=document.createElement("div");return n.innerHTML=t,n.textContent||n.innerText||""}static focusElement(t){setTimeout(()=>{t&&t.focus()},200)}static blurElement(t){setTimeout(()=>{t&&t.blur()},200)}static popupCenter(t,n,a){const o=void 0!==window.screenLeft?window.screenLeft:window.screenX,i=void 0!==window.screenTop?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;return window.open(t,"_blank",`directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes, width=${n}, height=${a}, top=${(s-a)/2/l+i}, left=${(r-n)/2/l+o}`)}static retrieveHexFromCssColorProperty(t,n,a){const o=this.retrieveCssProperty(t,n),i=Cg.colorNameToHex(o);return""!==i?i.replace("#",""):a}static retrieveCssProperty(t,n){let a="";if(t.$root&&t.$root.$el&&t.$root.$el.getRootNode()instanceof ShadowRoot){const o=t.$root.$el.getRootNode();o&&(a=getComputedStyle(o.host).getPropertyValue(n))}return a}static setCssProperty(t,n,a){if(t.$root&&t.$root.$el&&t.$root.$el.getRootNode()instanceof ShadowRoot){const o=t.$root.$el.getRootNode();o&&o.host.style.setProperty(n,a)}}static colorNameToHex(t){const n={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",s
1almon:"#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 n[t.toLowerCase()]<"u"?n[t.toLowerCase()]:t}};x(Ls,"epochTicks",621355968e9),x(Ls,"ticksPerMillisecondInCSharp",1e4),x(Ls,"IdGenerator",(()=>{let e=-1;return{getNext:()=>(e<0&&function t(){e=1e5}(),e+=1,e)}})());let Ps=Ls;const rk={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)}}}},sk={class:L("materialCheckbox")},lk=["id"],ck=["for"],fk=Ge(rk,[["render",function uk(e,t,n,a,o,i){return O(),U("div",sk,[aa(H("input",{id:"ck"+n.checkName,"onUpdate:modelValue":t[0]||(t[0]=r=>i.inputVal=r),type:"checkbox",name:"checkboxInput",class:L(["lc_checkbox"])},null,8,lk),[[C3,i.inputVal]]),H("label",{class:L(["lc_checkbox"]),for:"ck"+n.checkName},Ce(n.checkLabel),9,ck)])}],["styles",["*{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)}"]]]),pk={name:"MaterialInput",props:{value:{type:String,default:""},placeholder:{type:String,default:""},maxLength:{type:String,default:"50"},disabled:Boolean},setup:()=>({isMobileSafari:/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&ja()}),computed:{inputVal:{get(){return this.value},set(e){this.$emit("inputVal",e)}}},methods:{focus(){this.$refs.input&&this.$refs.input.focus()}}},hk=["placeholder","maxlength","disabled"],gk=Ge(pk,[["render",function mk(e,t,n,a,o,i){return O(),U("div",{class:L(["materialInput",a.isMobileSafari?["safari-input"]:""])},[aa(H("input",{ref:"input","onUpdate:modelValue":t[0]||(t[0]=r=>i.inputVal=r),placeholder:n.placeholder,autocomplete:"false",maxlength:n.maxLength,type:"text",disabled:n.disabled},null,8,hk),[[w3,i.inputVal]]),t[1]||(t[1]=H("span",{class:L("bar")},null,-1))],2)}],["styles",['*{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;
1font-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%}']]]);function Ds(e){const t=he(Wt),n=Nt();return{myWebRTCService:e,makeCall(a){n.add(e.call(!0===a||!1).pipe(Gn(1)).subscribe({error:o=>t.onError.next(o)}))},dropCall(){n.add(e.dropCall().pipe(Gn(1)).subscribe({error:a=>t.onError.next(a)}))}}}const bk=We({components:{GlyphiconCall:oi,ExitFullScreen:rM},directives:{object:nr},props:{isPopoutWindow:{type:Boolean,default:!1}},setup(){const e=he(tn),t=Z(null),n=Ds(e),{t:a}=Ot(),o=$(()=>(window.innerWidth>600||window.innerHeight>600)&&e.isFullScreen.value);return ia(()=>{e.isVideoActive.value&&t.value&&(e.videoContainer=t.value)}),{videoContainer:t,showFullScreenControllButtons:o,exitFullScreen:()=>{e.removeFullscreen()},t:a,...n}}}),yk={id:"videoContainer",ref:"videoContainer",class:L(["video-root"])},Ak={key:2,class:L(["fs-control-btn"])},wk=["aria-label","disabled"],Ck=["aria-label"],Ek=We({components:{GlyphiconTimes:Em,GlyphiconChevron:xm,WplcIconBubble:Tm,WplcIconDoubleBubble:Im,VideoOutput:Ge(bk,[["render",function _k(e,t,n,a,o,i){const r=de("GlyphiconCall"),s=de("ExitFullScreen"),l=Hr("object");return O(),U("div",yk,[e.myWebRTCService&&e.myWebRTCService.videoOnlyRemoteStream.value&&(e.myWebRTCService.media.isVideoReceived||!e.myWebRTCService.media.isVideoSend)?aa((O(),U("video",{key:0,id:"wplc-remote-video",class:L(e.myWebRTCService.isFullScreen.value?"awayFullVideo":"awayVideo"),playsinline:"",autoplay:""},null,2)),[[l,e.myWebRTCService.videoOnlyRemoteStream.value]]):ie("",!0),e.myWebRTCService&&e.myWebRTCService.videoOnlyLocalStream.value&&e.myWebRTCService.media.isVideoSend?aa((O(),U("video",{key:1,id:"wplc-home-video",class:L({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]]):ie("",!0),e.showFullScreenControllButtons?(O(),U("div",Ak,[H("button",{id:"dropCallBtn",ref:"dropCallBtn","aria-label":e.t("Inputs.EndCallTitle"),disabled:e.myWebRTCService.hasTryingCall.value,onClick:t[0]||(t[0]=(...c)=>e.dropCall&&e.dropCall(...c))},[me(r)],8,wk),H("button",{id:"exitFsBtn",ref:"exitFullScreenBtn","aria-label":e.t("Auth.CloseButton"),onClick:t[1]||(t[1]=(...c)=>e.exitFullScreen&&e.exitFullScreen(...c))},[me(s)],8,Ck)])):ie("",!0)],512)}],["styles",["*{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)}}
1.video-root .mirrorVideo{transform:scaleX(-1)}"]]])},props:{config:{type:Object,default:()=>{}},operator:{type:Object,default:()=>Da},currentState:{type:Number,default:we.Chat},chatOnline:{type:Boolean,default:!0},isChatUntilCall:Boolean},setup(e,t){const n=he(Un),a=he(tn),o=he(Ta),i=he(Wt),r=Z(null),{t:s}=Ot(),l=Z(!1),c=Z(!1),d=af,f=$(()=>o.isFullScreen),p=Lt(new ga({name:e.operator.name,image:e.operator.image||e.config.operatorIcon})),h=$(()=>e.currentState===we.Chat&&!!n&&n.hasSession&&e.chatOnline||!0),m=Nt();It(()=>{n&&(m.add(n.mySession$.pipe(_e(_=>_.isOnline)).subscribe(_=>{c.value=!_})),e.config.showOperatorActualName&&n&&m.add(function R_(e,t){return e.mySession$.pipe(_e(n=>function N_(e,t){return e.conversation$.pipe(Et(n=>Zh(n,t)))}(n,t)))}(n,e.config).pipe(En(()=>h.value)).subscribe(_=>{_&&Object.assign(p,_)})))});const b=$(()=>!!n&&n.hasSession&&!l.value&&e.chatOnline);Jt(()=>n.hasSession,(_,I)=>{I&&!_&&(l.value=!1)});const g=$(()=>{let _=[];return!e.isChatUntilCall&&v.value?_=["calling-window"]:e.currentState===we.Chat?_=["header-small"]:e.currentState===we.Authenticate&&(_=["header-large"]),_}),v=$(()=>a.hasCall.value||a.hasRecall.value);return{currentOperator:p,headerContainer:r,hideCloseButton:l,isOffline:c,showClose:b,panelType:g,hasCallOrRecall:v,getPropertyValue:Qn,getAgentIcon:()=>""!==p.image?p.image:Ns,updateNotFoundImage(_){_&&_.target&&(_.target.src=d)},showMinimize:()=>f.value&&!!e.config.allowMinimize,onToggleCollapsed(){i.onToggleCollapsed.next()},onClose(){l.value=!0,t.emit("close")},showOperatorInfo:h,isFullScreen:f,t:s,myWebRTCService:a}}}),kk={key:0,class:L(["operator-info"])},Sk={class:L(["operator-img-container"])},Ik=["src"],Tk={key:0,class:L([["online-icon"],["offline-icon"]])},Ok={key:1,class:L(["online-icon"])},Nk=["title"],Rk={key:1,class:L(["header-title"])},Fk=["src"],Lk={key:2,class:L(["powered-by"])},Pk=["aria-label"],Dk={key:3,class:L(["video-block"])},Ym=Ge(Ek,[["render",function Bk(e,t,n,a,o,i){const r=de("WplcIconBubble"),s=de("WplcIconDoubleBubble");de("GlyphiconChevron");const l=de("GlyphiconTimes"),c=de("VideoOutput");return O(),U("div",{ref:"headerContainer",class:L([["header-root"],e.panelType,e.hasCallOrRecall?["call-active"]:"",e.myWebRTCService.isVideoActive.value?["active-video"]:"",e.isFullScreen?["full-screen"]:""])},[e.showOperatorInfo?(O(),U("div",kk,[H("div",Sk,[H("img",{ref:"operatorIcon",src:e.getAgentIcon(),alt:"avatar",class:L([["rounded-circle"],["operator-img"]]),onError:t[0]||(t[0]=d=>e.updateNotFoundImage(d))},null,40,Ik),e.isOffline?(O(),U("span",Tk)):(O(),U("span",Ok))]),H("div",{class:L([["operator_name"]]),title:e.currentOperator.name},[H("span",null,Ce(e.currentOperator.name),1)],8,Nk)])):(O(),U("div",Rk,[null!=e.config.windowIcon&&e.config.windowIcon.replace(/\s/g,"").length>0?(O(),U("img",{key:0,ref:"windowIcon",class:L(["logo-icon"]),src:e.config.windowIcon,alt:"",onError:t[1]||(t[1]=d=>e.updateNotFoundImage(d))},null,40,Fk)):"bubble"===e.config.buttonIconType?(O(),Ie(r,{key:1,class:L(["logo-icon"])})):"doublebubble"===e.config.buttonIconType?(O(),Ie(s,{key:2,class:L(["logo-icon"])})):ie("",!0)])),e.config.enablePoweredby?(O(),U("div",Lk,[H("span",null,Ce(e.t("Inputs.PoweredBy")),1)])):ie("",!0),H("div",{class:L([["action_menu"],e.isFullScreen?["full-screen-menu"]:""])},[ie("",!0),e.showClose?(O(),U("button",{key:1,id:"close_btn",type:"button","aria-label":e.t("Auth.CloseButton"),class:L([["action_menu_btn"],["close_btn"]]),onClick:t[3]||(t[3]=d=>e.onClose())},[me(l)],8,Pk)):ie("",!0)],2),e.myWebRTCService.isVideoActive.value?(O(),U("div",Dk,[me(c,{id:"wplc_videoOutput",ref:"videoOutput"},null,512)])):ie("",!0)],2)}],["styles",["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
1(--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;
1font-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}
1.minimize_btn svg[data-v-512d1bae]{fill:var(--call-us-plate-font-color, #FFFFFF)}"]],["__scopeId","data-v-512d1bae"]]),Uk=We({components:{Panel:of,CallUsHeader:Ym,MessageSolid:Om,MaterialCheckbox:fk,MaterialInput:gk,Loading:Rm},shadow:!1,props:{startMinimized:{type:Boolean},config:{type:Object,default:()=>{}},chatEnabled:{type:Boolean,default:!1},operator:{type:Object,default:()=>Da}},setup(e,t){const n=he(Wt),a=he(Po),o=he(Ta),i=he(Un),r=Z(null),s=Z(null),l=Z(null),c=Z(!1),d=Z(!1),f=Z(!1),p=Z(!1),h=Z(e.config.authenticationType),m=Z(null),{t:b}=Ot(),g=Nt(),{state:v,v$:_}=((e,t)=>{const n=Lt({name:"",email:"",gdprAccepted:!1}),a={name:{},email:{},gdprAccepted:{}};return(e===xt.Both||e===xt.Name)&&(a.name={required:lf,nameValid:d=>Ju(d),maxCharactersReached:d=>fo(d)}),(e===xt.Both||e===xt.Email)&&(a.email={required:lf,emailValid:d=>Ms(d),maxEmailCharactersReached:d=>Ku(d)}),t&&(a.gdprAccepted={required:lf,checkboxSelected:d=>d}),{state:n,v$:ak(a,n)}})(h.value,e.config.gdprEnabled),I=$(()=>{var Q;return p&&!(null==(Q=i.auth)||!Q.email)}),N=$(()=>{var Q;return p&&!(null==(Q=i.auth)||!Q.name)&&i.auth.name!==$u}),se=()=>{r.value instanceof HTMLElement?Ps.focusElement(r.value):s.value instanceof HTMLElement&&Ps.focusElement(s.value)};return It(()=>{i.auth?(h.value=xt.None,p.value=!0,v.name=i.auth.name||"",v.email=i.auth.email||""):(g.add(n.onRestored.subscribe({next:()=>se()})),d.value=!!e.config.visitorName,f.value=!!e.config.visitorEmail,v.name=e.config.visitorName||"",v.email=e.config.visitorEmail||"")}),ia(()=>{var Q;null==(Q=m?.value)||Q.addEventListener("wheel",ne=>{var be;ne.preventDefault();const Ve=m.value.scrollTop+.05*-ne.wheelDelta;null==(be=m?.value)||be.scrollTo({top:Ve})},{passive:!1}),se()}),{nameInput:r,emailInput:s,submitButton:l,fullscreenService:o,ViewState:we,loadingService:a,authType:h,AuthenticationType:xt,showEmailProvided:I,showNameProvided:N,getPropertyValue:Qn,submit:()=>{c.value=!0,_&&(_.value.$touch(),(!_.value.$invalid||h.value===xt.None)&&(p.value||i.setAuthentication(v.name||v.email?{name:v.name,email:v.email}:{name:$u}),(!e.config.gdprEnabled||!_.value.gdprAccepted.$error)&&t.emit("submit-auth")))},isNameDisabled:d,isSubmitted:c,isEmailDisabled:f,authProvided:p,gdprChanged:Q=>{v.gdprAccepted=Q},gdprBox:m,t:b,state:v,handleInputName:Q=>{v.name=Q},handleInputEmail:Q=>{v.email=Q},v$:_}}}),qk={slot:"panel-content",class:L("auth-root")},Gk={class:L(["form_body"])},Vk={key:0,class:L(["replaceFieldsText"])},Yk={key:1,class:L("chatIntroText")},Wk={key:2},Hk={key:0},$k={key:0,class:L("error")},Qk={key:1,class:L("error")},Jk={key:2,class:L("error")},Kk={key:3},Zk={key:0},Xk={key:0,class:L("error")},eS={key:1,class:L("error")},tS={key:2,class:L("error")},nS={ref:"gdprBox",class:L(["gdrp-box"])},aS={key:0,class:L(["gdpr-error"])},oS={key:0,class:L("error")},iS=["aria-label"],rS={key:1,ref:"chatDisabledMessage",class:L(["chat-disabled-container"])},lS=Ge(Uk,[["render",function sS(e,t,n,a,o,i){const r=de("CallUsHeader"),s=de("Loading"),l=de("MaterialInput"),c=de("MaterialCheckbox"),d=de("MessageSolid"),f=de("Panel");return O(),Ie(f,{config:e.config,startMinimized:e.startMinimized,allowMinimize:e.config.allowMinimize,panelState:e.ViewState.Authenticate,fullScreenService:e.fullscreenService,operator:e.operator},{"panel-top":Qt(()=>[me(r,{currentState:e.ViewState.Authenticate,config:e.config,operator:e.operator,isFullScreen:e.fullscreenService.isFullScreen},null,8,["currentState","config","operator","isFullScreen"])]),"panel-content":Qt(()=>[H("div",qk,[e.chatEnabled?(O(),U("form",{key:0,ref:"authenticateForm",novalidate:"true",onSubmit:t[0]||(t[0]=dn((...p)=>e.submit&&e.submit(...p),["prevent"]))},[H("div",Gk,[me(s,{show:e.loadingService.loading(),text:"loading"},null,8,["show"]),e.authType===e.AuthenticationType.None?(O(),U("div",Vk)):(O(),U("div",Yk,Ce(e.getPropertyValue("ChatIntro",[e.config.authenticationMessage,e.t("Auth.ChatIntro")])),1)),e.authType===e.AuthenticationType.Both||e.authType===e.AuthenticationType.Name||e.showNameProvided?(O(),U("div",Wk,[me(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?(O(),U("div",Hk,[e.v$.name.required.$invalid?(O(),U("div",$k,Ce(e.t("Auth.FieldValidation")),1)):e.v$.name.nameValid.$invalid?(O(),U("div",Qk,Ce(e.t("Auth.EnterValidName")),1)):e.v$.name.maxCharactersReached.$invalid?(O(),U("div",Jk,Ce(e.t("Auth.MaxCharactersReached")),1)):ie("",!0)])):ie("",!0)])):ie("",!0),e.authType===e.AuthenticationType.Both||e.authType===e.AuthenticationType.Email||e.showEmailProvided?(O(),U("div",Kk,[me(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?(O(),U("div",Zk,[e.v$.email.required.$invalid?(O(),U("div",Xk,Ce(e.t("Auth.FieldValidation")),1)):e.v$.email.emailValid.$invalid?(O(),U("div",eS,Ce(e.t("Auth.EnterValidEmail")),1)):e.v$.email.maxEmailCharactersReached.$invalid?(O(),U("div",tS,Ce(e.t("Auth.MaxCharactersReached")),1)):ie("",!0)])):ie("",!0)])):ie("",!0),e.config.gdprEnabled?(O(),U(ft,{key:4},[H("div",nS,[me(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?(O(),U("div",aS,[e.v$.gdprAccepted.$invalid?(O(),U("div",oS,Ce(e.t("Auth.FieldValidation")),1)):ie("",!0)])):ie("",!0)],64)):ie("",!0)]),H("button",{id:"submitBtn",ref:"submitButton","aria-label":e.t("Auth.Submit"),class:L("submit"),type:"submit"},[me(d),sa(" "+Ce(e.getPropertyValue("StartButtonText",[e.config.startChatButtonText,e.t("Auth.Submit")])),1)],8,iS)],544)):(O(),U("div",rS,[H("div",null,Ce(e.t("Inputs.ChatIsDisabled")),1)],512))])]),_:1},8,["config","startMinimized","allowMinimize","panelState","fullScreenService","operator"])}],["styles",["[data-v-910db608]{box-sizing:border-box}@keyframes fadeIn-910db608{0%{opacity:0}
1to{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);
1fill: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}"]],["__scopeId","data-v-910db608"]]);var ii=(e=>(e[e.try=1]="try",e[e.ok=2]="ok",e[e.restart=3]="restart",e))(ii||{});class Bs{constructor(t){x(this,"chatUniqueCode"),x(this,"notifyServer"),x(this,"closedByClient"),x(this,"closeMessage"),Object.assign(this,t)}}const cS=We({props:{message:{type:String,default:""},button:{type:Number,default:ii.ok}},setup(e,t){const{t:n}=Ot(),a=Z(null);return ia(()=>{var o;null==(o=a.value)||o.focus()}),{submitButton:a,t:n,submit(){t.emit("submit")}}}}),fS={class:L("root-overlay")},dS={class:L("content")},pS={class:L(["content-message"])},hS=["aria-label"],gS=Ge(cS,[["render",function mS(e,t,n,a,o,i){return O(),U("div",fS,[H("div",dS,[H("div",pS,Ce(e.message),1),H("button",{id:"submitBtn",ref:"submitButton","aria-label":e.t(1===e.button?"MessageBox.TryAgain":"MessageBox.Ok"),class:L("submit"),type:"submit",onClick:t[0]||(t[0]=(...r)=>e.submit&&e.submit(...r))},Ce(e.t(1===e.button?"MessageBox.TryAgain":"MessageBox.Ok")),9,hS)]),H("div",{class:L("background"),onClick:t[1]||(t[1]=(...r)=>e.submit&&e.submit(...r))})])}],["styles",["*{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);
1fill: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}"]]]),Wm={"*\\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",":-\xc3\u017e":"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",":\xc3\u017e":"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"},vS=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|((\\s|^)(\\*\\\\0\\/\\*|\\*\\\\O\\/\\*|\\-___\\-|\\:'\\-\\)|'\\:\\-\\)|'\\:\\-D|\\>\\:\\-\\)|>\\:\\-\\)|'\\:\\-\\(|\\>\\:\\-\\(|>\\:\\-\\(|\\:'\\-\\(|O\\:\\-\\)|0\\:\\-3|0\\:\\-\\)|0;\\^\\)|O;\\-\\)|0;\\-\\)|O\\:\\-3|\\-__\\-|\\:\\-\xc3\u017e|\\:\\-\xc3\u017e|\\<\\/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|\\:\xc3\u017e|\\:\xc3\u017e|\\:\\-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|\\=#|\\:\\)|\\=\\]|\\=\\)|\\:\\])(?=\\s|$|[!,.?]))","gi");var Hm,ar={exports:{}};function wS(){if(Hm)return ar.exports;Hm=1,ar.exports=function o(s,l){return"string"==typeof s?r(s):"number"==typeof s?i(s,l):null},ar.exports.format=i,ar.exports.parse=r;var e=/\B(?=(\d{3})+(?!\d))/g,t=/(?:\.0*|(\.[^0]+)0+)$/,n={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:Math.pow(1024,4),pb:Math.pow(1024,5)},a=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function i(s,l){if(!Number.isFinite(s))return null;var c=Math.abs(s),d=l&&l.thousandsSeparator||"",f=l&&l.unitSeparator||"",p=l&&void 0!==l.decimalPlaces?l.decimalPlaces:2,h=!(!l||!l.fixedDecimals),m=l&&l.unit||"";(!m||!n[m.toLowerCase()])&&(m=c>=n.pb?"PB":c>=n.tb?"TB":c>=n.gb?"GB":c>=n.mb?"MB":c>=n.kb?"KB":"B");var g=(s/n[m.toLowerCase()]).toFixed(p);return h||(g=g.replace(t,"$1")),d&&(g=g.split(".").map(function(v,_){return 0===_?v.replace(e,d):v}).join(".")),g+f+m}function r(s){if("number"==typeof s&&!isNaN(s))return s;if("string"!=typeof s)return null;var c,l=a.exec(s),d="b";return l?(c=parseFloat(l[1]),d=l[4].toLowerCase()):(c=parseInt(s,10),d="b"),isNaN(c)?null:Math.floor(n[d]*c)}return ar.exports}const _S=di(wS()),cf="numeric",uf="ascii",ff="alpha",or="asciinumeric",ir="alphanumeric",df="domain",$m="emoji",MS="scheme",kS="slashscheme",pf="whitespace";function SS(e,t){return e in t||(t[e]=[]),t[e]}function mo(e,t,n){t[cf]&&(t[or]=!0,t[ir]=!0),t[uf]&&(t[or]=!0,t[ff]=!0),t[or]&&(t[ir]=!0),t[ff]&&(t[ir]=!0),t[ir]&&(t[df]=!0),t.emoji&&(t[df]=!0);for(const a in t){const o=SS(a,n);o.indexOf(e)<0&&o.push(e)}}function sn(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}sn.groups={},sn.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let a=0;a<t.jr.length;a++){const i=t.jr[a][1];if(i&&t.jr[a][0].test(e))return i}return t.jd},has(e,t=!1){return t?e in this.j:!!this.go(e)},ta(e,t,n,a){for(let o=0;o<e.length;o++)this.tt(e[o],t,n,a)},tr(e,t,n,a){let o;return a=a||sn.groups,t&&t.j?o=t:(o=new sn(t),n&&a&&mo(t,n,a)),this.jr.push([e,o]),o},ts(e,t,n,a){let o=this;const i=e.length;if(!i)return o;for(let r=0;r<i-1;r++)o=o.tt(e[r]);return o.tt(e[i-1],t,n,a)},tt(e,t,n,a){a=a||sn.groups;const o=this;if(t&&t.j)return o.j[e]=t,t;const i=t;let r,s=o.go(e);if(s?(r=new sn,Object.assign(r.j,s.j),r.jr.push.apply(r.jr,s.jr),r.jd=s.jd,r.t=s.t):r=new sn,i){if(a)if(r.t&&"string"==typeof r.t){const l=Object.assign(function IS(e,t){const n={};for(const a in t)t[a].indexOf(e)>=0&&(n[a]=!0);return n}(r.t,a),n);mo(i,l,a)}else n&&mo(i,n,a);r.t=i}return o.j[e]=r,r}};const ke=(e,t,n,a,o)=>e.ta(t,n,a,o),ut=(e,t,n,a,o)=>e.tr(t,n,a,o),Qm=(e,t,n,a,o)=>e.ts(t,n,a,o),J=(e,t,n,a,o)=>e.tt(t,n,a,o),ba="WORD",hf="UWORD",Jm="ASCIINUMERICAL",Km="ALPHANUMERICAL",rr="LOCALHOST",gf="UTLD",js="SCHEME",ri="SLASH_SCHEME",sr="OPENBRACE",lr="CLOSEBRACE",Us="OPENBRACKET",zs="CLOSEBRACKET",qs="OPENPAREN",Gs="CLOSEPAREN",Vs="OPENANGLEBRACKET",Ys="CLOSEANGLEBRACKET",Ws="FULLWIDTHLEFTPAREN",Hs="FULLWIDTHRIGHTPAREN",$s="LEFTCORNERBRACKET",Qs="RIGHTCORNERBRACKET",Js="LEFTWHITECORNERBRACKET",Ks="RIGHTWHITECORNERBRACKET",Zs="FULLWIDTHLESSTHAN",Xs="FULLWIDTHGREATERTHAN",el="AMPERSAND",tl="APOSTROPHE",nl="ASTERISK",za="AT",al="BACKSLASH",ol="BACKTICK",il="CARET",qa="COLON",Af="COMMA",rl="DOLLAR",Jn="DOT",sl="EQUALS",wf="EXCLAMATION",vn="HYPHEN",cr="PERCENT",ll="PIPE",cl="PLUS",ul="POUND",ur="QUERY",Cf="QUOTE",Zm="FULLWIDTHMIDDLEDOT",_f="SEMI",Kn="SLASH",fr="TILDE",fl="UNDERSCORE",dl="SYM";var eg=Object.freeze({__proto__:null,ALPHANUMERICAL:Km,AMPERSAND:el,APOSTROPHE:tl,ASCIINUMERICAL:Jm,ASTERISK:nl,AT:za,BACKSLASH:al,BACKTICK:ol,CARET:il,CLOSEANGLEBRACKET:Ys,CLOSEBRACE:lr,CLOSEBRACKET:zs,CLOSEPAREN:Gs,COLON:qa,COMMA:Af,DOLLAR:rl,DOT:Jn,EMOJI:"EMOJI",EQUALS:sl,EXCLAMATION:wf,FULLWIDTHGREATERTHAN:Xs,FULLWIDTHLEFTPAREN:Ws,FULLWIDTHLESSTHAN:Zs,FULLWIDTHMIDDLEDOT:Zm,FULLWIDTHRIGHTPAREN:Hs,HYPHEN:vn,LEFTCORNERBRACKET:$s,LEFTWHITECORNERBRACKET:Js,LOCALHOST:rr,NL:"NL",NUM:"NUM",OPENANGLEBRACKET:Vs,OPENBRACE:sr,OPENBRACKET:Us,OPENPAREN:qs,PERCENT:cr,PIPE:ll,PLUS:cl,POUND:ul,QUERY:ur,QUOTE:Cf,RIGHTCORNERBRACKET:Qs,RIGHTWHITECORNERBRACKET:Ks,SCHEME:js,SEMI:_f,SLASH:Kn,SLASH_SCHEME:ri,SYM:dl,TILDE:fr,TLD:"TLD",UNDERSCORE:fl,UTLD:gf,UWORD:hf,WORD:ba,WS:"WS"});const va=/[a-z]/,dr=new RegExp("\\p{L}","u"),xf=new RegExp("\\p{Emoji}","u"),ya=/\d/,Ef=/\s/;let pl=null,hl=null;function ng(e,t){const n=function RS(e){const t=[],n=e.length;let a=0;for(;a<n;){let i,o=e.charCodeAt(a),r=o<55296||o>56319||a+1===n||(i=e.charCodeAt(a+1))<56320||i>57343?e[a]:e.slice(a,a+2);t.push(r),a+=r.length}return t}(t.replace(/[A-Z]/g,s=>s.toLowerCase())),a=n.length,o=[];let i=0,r=0;for(;r<a;){let s=e,l=null,c=0,d=null,f=-1,p=-1;for(;r<a&&(l=s.go(n[r]));)s=l,s.accepts()?(f=0,p=0,d=s):f>=0&&(f+=n[r].length,p++),c+=n[r].length,i+=n[r].length,r++;i-=f,r-=p,c-=f,o.push({t:d.t,v:t.slice(i-c,i),s:i-c,e:i})}return o}function Ga(e,t,n,a,o){let i;const r=t.length;for(let s=0;s<r-1;s++){const l=t[s];e.j[l]?i=e.j[l]:(i=new sn(a),i.jr=o.slice(),e.j[l]=i),e=i}return i=new sn(n),i.jr=o.slice(),e.j[t[r-1]]=i,i}function ag(e){const t=[],n=[];let a=0;for(;a<e.length;){let i=0;for(;"0123456789".indexOf(e[a+i])>=0;)i++;if(i>0){t.push(n.join(""));for(let r=parseInt(e.substring(a,a+i),10);r>0;r--)n.pop();a+=i}else n.push(e[a]),a++}return t}const pr={defaultProtocol:"http",events:null,format:og,formatHref:og,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Sf(e,t=null){let n=Object.assign({},pr);e&&(n=Object.assign(n,e instanceof Sf?e.o:e));const a=n.ignoreTags,o=[];for(let i=0;i<a.length;i++)o.push(a[i].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=o}function og(e){return e}function ig(e,t){this.t="token",this.v=e,this.tk=t}
vendor: 2,245 bytes, line 1
1function ml(e,t){class n extends ig{constructor(o,i){super(o,i),this.t=e}}for(const a in t)n.prototype[a]=t[a];return n.t=e,n}Sf.prototype={o:pr,ignoreTags:[],defaultRender:e=>e,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const a=null!=t;let o=this.o[e];return o&&("object"==typeof o?(o=n.t in o?o[n.t]:pr[e],"function"==typeof o&&a&&(o=o(t,n))):"function"==typeof o&&a&&(o=o(t,n.t,n)),o)},getObj(e,t,n){let a=this.o[e];return"function"==typeof a&&null!=t&&(a=a(t,n.t,n)),a},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}},ig.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),a=e.get("format",t,this);return n&&a.length>n?a.substring(0,n)+"\u2026":a},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=pr.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 t=this,n=this.toHref(e.get("defaultProtocol")),a=e.get("formatHref",n,this),o=e.get("tagName",n,t),i=this.toFormattedString(e),r={},s=e.get("className",n,t),l=e.get("target",n,t),c=e.get("rel",n,t),d=e.getObj("attributes",n,t),f=e.getObj("events",n,t);return r.href=a,s&&(r.class=s),l&&(r.target=l),c&&(r.rel=c),d&&Object.assign(r,d),{tagName:o,attributes:r,content:i,eventListeners:f}}};const rg=ml("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),sg=ml("text"),FS=ml("nl"),gl=ml("url",{isLink:!0,toHref(e=pr.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==rr&&e[1].t===qa}}),yn=e=>new sn(e);function If(e,t,n){return new e(t.slice(n[0].s,n[n.length-1].e),n)}const Ft={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};
1function lg(e){return Ft.initialized||function DS(){Ft.scanner=function NS(e=[]){const t={};sn.groups=t;const n=new sn;null==pl&&(pl=ag("aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xf6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yac
1hts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==hl&&(hl=ag("\u03b5\u03bb1\u03c52\u0431\u04331\u0435\u043b3\u0434\u0435\u0442\u04384\u0435\u044e2\u043a\u0430\u0442\u043e\u043b\u0438\u043a6\u043e\u043c3\u043c\u043a\u04342\u043e\u043d1\u0441\u043a\u0432\u04306\u043e\u043d\u043b\u0430\u0439\u043d5\u0440\u04333\u0440\u0443\u04412\u04442\u0441\u0430\u0439\u04423\u0440\u04313\u0443\u043a\u04403\u049b\u0430\u04373\u0570\u0561\u05753\u05d9\u05e9\u05e8\u05d0\u05dc5\u05e7\u05d5\u05dd3\u0627\u0628\u0648\u0638\u0628\u064a5\u0631\u0627\u0645\u0643\u06485\u0644\u0627\u0631\u062f\u06464\u0628\u062d\u0631\u064a\u06465\u062c\u0632\u0627\u0626\u06315\u0633\u0639\u0648\u062f\u064a\u06296\u0639\u0644\u064a\u0627\u06465\u0645\u063a\u0631\u06285\u0645\u0627\u0631\u0627\u062a5\u06cc\u0631\u0627\u06465\u0628\u0627\u0631\u062a2\u0632\u0627\u06314\u064a\u062a\u06433\u06be\u0627\u0631\u062a5\u062a\u0648\u0646\u06334\u0633\u0648\u062f\u0627\u06463\u0631\u064a\u06295\u0634\u0628\u0643\u06294\u0639\u0631\u0627\u06422\u06282\u0645\u0627\u06464\u0641\u0644\u0633\u0637\u064a\u06466\u0642\u0637\u06313\u0643\u0627\u062b\u0648\u0644\u064a\u06436\u0648\u06453\u0645\u0635\u06312\u0644\u064a\u0633\u064a\u06275\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u06277\u0642\u06394\u0647\u0645\u0631\u0627\u06475\u067e\u0627\u06a9\u0633\u062a\u0627\u06467\u0680\u0627\u0631\u062a4\u0915\u0949\u092e3\u0928\u0947\u091f3\u092d\u093e\u0930\u09240\u092e\u094d3\u094b\u09245\u0938\u0902\u0917\u0920\u09285\u09ac\u09be\u0982\u09b2\u09be5\u09ad\u09be\u09b0\u09a42\u09f0\u09a44\u0a2d\u0a3e\u0a30\u0a244\u0aad\u0abe\u0ab0\u0aa44\u0b2d\u0b3e\u0b30\u0b244\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe6\u0bb2\u0b99\u0bcd\u0b95\u0bc86\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd11\u0c2d\u0c3e\u0c30\u0c24\u0c4d5\u0cad\u0cbe\u0cb0\u0ca44\u0d2d\u0d3e\u0d30\u0d24\u0d025\u0dbd\u0d82\u0d9a\u0dcf4\u0e04\u0e2d\u0e213\u0e44\u0e17\u0e223\u0ea5\u0eb2\u0ea73\u10d2\u10d42\u307f\u3093\u306a3\u30a2\u30de\u30be\u30f34\u30af\u30e9\u30a6\u30c94\u30b0\u30fc\u30b0\u30eb4\u30b3\u30e02\u30b9\u30c8\u30a23\u30bb\u30fc\u30eb3\u30d5\u30a1\u30c3\u30b7\u30e7\u30f36\u30dd\u30a4\u30f3\u30c84\u4e16\u754c2\u4e2d\u4fe11\u56fd1\u570b1\u6587\u7f513\u4e9a\u9a6c\u900a3\u4f01\u4e1a2\u4f5b\u5c712\u4fe1\u606f2\u5065\u5eb72\u516b\u53662\u516c\u53f81\u76ca2\u53f0\u6e7e1\u70632\u5546\u57ce1\u5e971\u68072\u5609\u91cc0\u5927\u9152\u5e975\u5728\u7ebf2\u5927\u62ff2\u5929\u4e3b\u65593\u5a31\u4e502\u5bb6\u96fb2\u5e7f\u4e1c2\u5fae\u535a2\u6148\u55842\u6211\u7231\u4f603\u624b\u673a2\u62db\u80582\u653f\u52a11\u5e9c2\u65b0\u52a0\u57612\u95fb2\u65f6\u5c1a2\u66f8\u7c4d2\u673a\u67842\u6de1\u9a6c\u95213\u6e38\u620f2\u6fb3\u95802\u70b9\u770b2\u79fb\u52a82\u7ec4\u7ec7\u673a\u67844\u7f51\u57401\u5e971\u7ad91\u7edc2\u8054\u901a2\u8c37\u6b4c2\u8d2d\u72692\u901a\u8ca92\u96c6\u56e22\u96fb\u8a0a\u76c8\u79d14\u98de\u5229\u6d663\u98df\u54c12\u9910\u53852\u9999\u683c\u91cc\u62c93\u6e2f2\ub2f7\ub1371\ucef42\uc0bc\uc1312\ud55c\uad6d2")),J(n,"'",tl),J(n,"{",sr),J(n,"}",lr),J(n,"[",Us),J(n,"]",zs),J(n,"(",qs),J(n,")",Gs),J(n,"<",Vs),J(n,">",Ys),J(n,"\uff08",Ws),J(n,"\uff09",Hs),J(n,"\u300c",$s),J(n,"\u300d",Qs),J(n,"\u300e",Js),J(n,"\u300f",Ks),J(n,"\uff1c",Zs),J(n,"\uff1e",Xs),J(n,"&",el),J(n,"*",nl),J(n,"@",za),J(n,"`",ol),J(n,"^",il),J(n,":",qa),J(n,",",Af),J(n,"$",rl),J(n,".",Jn),J(n,"=",sl),J(n,"!",wf),J(n,"-",vn),J(n,"%",cr),J(n,"|",ll),J(n,"+",cl),J(n,"#",ul),J(n,"?",ur),J(n,'"',Cf),J(n,"/",Kn),J(n,";",_f),J(n,"~",fr),J(n,"_",fl),J(n,"\\",al),J(n,"\u30fb",Zm);const a=ut(n,ya,"NUM",{[cf]:!0});ut(a,ya,a);const o=ut(a,va,Jm,{[or]:!0}),i=ut(a,dr,Km,{[ir]:!0}),r=ut(n,va,ba,{[uf]:!0});ut(r,ya,o),ut(r,va,r),ut(o,ya,o),ut(o,va,o);const s=ut(n,dr,hf,{[ff]:!0});ut(s,va),ut(s,ya,i),ut(s,dr,s),ut(i,ya,i),ut(i,va),ut(i,dr,i);const l=J(n,"\n","NL",{[pf]:!0}),c=J(n,"\r","WS",{[pf]:!0}),d=ut(n,Ef,"WS",{[pf]:!0});J(n,"\ufffc",d),J(c,"\n",l),J(c,"\ufffc",d),ut(c,Ef,d),J(d,"\r"),J(d,"\n"),ut(d,Ef,d),J(d,"\ufffc",d);const f=ut(n,xf,"EMOJI",{[$m]:!0});J(f,"#"),ut(f,xf,f),J(f,"\ufe0f",f);const p=J(f,"\u200d");J(p,"#"),ut(p,xf,f);const h=[[va,r],[ya,o]],m=[[va,null],[dr,s],[ya,i]];for(let b=0;b<pl.length;b++)Ga(n,pl[b],"TLD",ba,h);for(let b=0;b<hl.length;b++)Ga(n,hl[b],gf,hf,m);mo("TLD",{tld:!0,ascii:!0},t),mo(gf,{utld:!0,alpha:!0},t),Ga(n,"file",js,ba,h),Ga(n,"mailto",js,ba,h),Ga(n,"http",ri,ba,h),Ga(n,"https",ri,ba,h),Ga(n,"ftp",ri,ba,h),Ga(n,"ftps",ri,ba,h),mo(js,{scheme:!0,ascii:!0},t),mo(ri,{slashscheme:!0,ascii:!0},t),e=e.sort((b,g)=>b[0]>g[0]?1:-1);for(let b=0;b<e.length;b++){const g=e[b][0],v=e[b][1]?{[MS]:!0}:{[kS]:!0};g.indexOf("-")>=0?v[df]=!0:va.test(g)?ya.test(g)?v[or]=!0:v[uf]=!0:v[cf]=!0,Qm(n,g,g,v)}return Qm(n,"localhost",rr,{ascii:!0}),n.jd=new sn(dl),{start:n,tokens:Object.assign({groups:t},eg)}}(Ft.customSchemes);for(let e=0;e<Ft.tokenQueue.length;e++)Ft.tokenQueue[e][1]({scanner:Ft.scanner});Ft.parser=function LS({groups:e}){const t=e.domain.concat([el,nl,za,al,ol,il,rl,sl,vn,"NUM",cr,ll,cl,ul,Kn,dl,fr,fl]),n=[tl,qa,Af,Jn,wf,cr,ur,Cf,_f,Vs,Ys,sr,lr,zs,Us,qs,Gs,Ws,Hs,$s,Qs,Js,Ks,Zs,Xs],a=[el,tl,nl,al,ol,il,rl,sl,vn,sr,lr,cr,ll,cl,ul,ur,Kn,dl,fr,fl],o=yn(),i=J(o,fr);ke(i,a,i),ke(i,e.domain,i);const r=yn(),s=yn(),l=yn();
1ke(o,e.domain,r),ke(o,e.scheme,s),ke(o,e.slashscheme,l),ke(r,a,i),ke(r,e.domain,r);const c=J(r,za);J(i,za,c),J(s,za,c),J(l,za,c);const d=J(i,Jn);ke(d,a,i),ke(d,e.domain,i);const f=yn();ke(c,e.domain,f),ke(f,e.domain,f);const p=J(f,Jn);ke(p,e.domain,f);const h=yn(rg);ke(p,e.tld,h),ke(p,e.utld,h),J(c,rr,h);const m=J(f,vn);J(m,vn,m),ke(m,e.domain,f),ke(h,e.domain,f),J(h,Jn,p),J(h,vn,m);const b=J(h,qa);ke(b,e.numeric,rg);const g=J(r,vn),v=J(r,Jn);J(g,vn,g),ke(g,e.domain,r),ke(v,a,i),ke(v,e.domain,r);const _=yn(gl);ke(v,e.tld,_),ke(v,e.utld,_),ke(_,e.domain,r),ke(_,a,i),J(_,Jn,v),J(_,vn,g),J(_,za,c);const I=J(_,qa),N=yn(gl);ke(I,e.numeric,N);const S=yn(gl),G=yn();ke(S,t,S),ke(S,n,G),ke(G,t,S),ke(G,n,G),J(_,Kn,S),J(N,Kn,S);const P=J(s,qa),ee=J(l,qa),se=J(ee,Kn),Q=J(se,Kn);ke(s,e.domain,r),J(s,Jn,v),J(s,vn,g),ke(l,e.domain,r),J(l,Jn,v),J(l,vn,g),ke(P,e.domain,S),J(P,Kn,S),J(P,ur,S),ke(Q,e.domain,S),ke(Q,t,S),J(Q,Kn,S);const ne=[[sr,lr],[Us,zs],[qs,Gs],[Vs,Ys],[Ws,Hs],[$s,Qs],[Js,Ks],[Zs,Xs]];for(let be=0;be<ne.length;be++){const[Ve,re]=ne[be],K=J(S,Ve);J(G,Ve,K),J(K,re,S);const z=yn(gl);ke(K,t,z);const V=yn();ke(K,n),ke(z,t,z),ke(z,n,V),ke(V,t,z),ke(V,n,V),J(z,re,S),J(V,re,S)}return J(o,rr,_),J(o,"NL",FS),{start:o,tokens:eg}}(Ft.scanner.tokens);for(let e=0;e<Ft.pluginQueue.length;e++)Ft.pluginQueue[e][1]({scanner:Ft.scanner,parser:Ft.parser});
1return Ft.initialized=!0,Ft}(),function PS(e,t,n){let a=n.length,o=0,i=[],r=[];for(;o<a;){let s=e,l=null,c=null,d=0,f=null,p=-1;for(;o<a&&!(l=s.go(n[o].t));)r.push(n[o++]);for(;o<a&&(c=l||s.go(n[o].t));)l=null,s=c,s.accepts()?(p=0,f=s):p>=0&&p++,o++,d++;if(p<0)o-=d,o<a&&(r.push(n[o]),o++);else{r.length>0&&(i.push(If(sg,t,r)),r=[]),o-=p,d-=p;const h=f.t,m=n.slice(o-d,o);i.push(If(h,t,m))}}return r.length>0&&i.push(If(sg,t,r)),i}(Ft.parser.start,e,ng(Ft.scanner.start,e))}function cg(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function BS(e){return e.replace(/"/g,""")}function US({tagName:e,attributes:t,content:n}){return`<${e} ${function jS(e){const t=[];for(const n in e)t.push(`${n}="${BS(e[n]+"")}"`);return t.join(" ")}(t)}>${cg(n)}</${e}>`}function ug(e,t={}){t=new Sf(t,US);const n=lg(e),a=[];for(let o=0;o<n.length;o++){const i=n[o];"nl"===i.t&&t.get("nl2br")?a.push("<br>\n"):i.isLink&&t.check(i)?a.push(t.render(i)):a.push(cg(i.toString()))}return a.join("")}lg.scan=ng,String.prototype.linkify||Object.defineProperty(String.prototype,"linkify",{writable:!1,value:function(e){return ug(this,e)}});const zS=["jpeg","jpg","png","gif","bmp","webp","tif","tiff","heif","doc","docx","pdf","txt","rtf","ppt","pptx","xls","xlsx"],qS=["jpeg","jpg","png","gif","bmp","webp","tiff","tif"],QS={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}}
1,"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}}
1,"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"
1: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}}
1,"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":{"fe
10f":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}')};class Tf{constructor(t){x(this,"question"),x(this,"id"),x(this,"message"),x(this,"messageType"),x(this,"time"),x(this,"isLocal"),x(this,"isNew"),x(this,"senderName"),x(this,"file"),x(this,"index"),x(this,"viewType"),x(this,"icon"),x(this,"isAutomated"),x(this,"renderNew"),x(this,"sent",!1),x(this,"errorType",an.NoError),x(this,"emojiconUrl",""),x(this,"preventSound",!1),x(this,"preventBubbleIndication",!1),x(this,"preventBlinkingTitle",!1),x(this,"preventTabNotification",!1),Object.assign(this,t)}viewMessage(){return function KS(e,t,n=32){if(t||(t=""),!e)return"";const a=Array.from(e);for(let o=0;o<a.length;o+=1){let i=QS;const r=[];let s=[];for(let l=o;l<Math.min(o+8,a.length);l+=1){const c=a[l].codePointAt(0);let d=c?c.toString(16):"";for(;d.length<4;)d=`0${d}`;if(!i.s.hasOwnProperty(d))break;if(s.push(d),(0===i.s[d]||1===i.s[d].e)&&(r.push(...s),s=[]),0===i.s[d]||!i.s[d].hasOwnProperty("s"))break;i=i.s[d]}if(r.length>0){let l;l=r.length>1?a.splice(o,r.length,"").join(""):a[o],a[o]=`<img src="${t}
1${r.filter(c=>"fe0f"!==c&&"200d"!==c).join("-")}.png" alt="${l}" class="emoji" style="width:${n}px;height:${n}px;">`}}return a.join("")}(this.message,this.emojiconUrl)}}function si(e,t,n,a,o,i,r,s,l,c,d,f,p,h,m,b=!0){const g=new Tf;return g.id=e,g.isLocal=a,g.sent=o,g.icon=i,g.senderName=r,g.time=s,g.message=b?(e=>ug(e,{target:"_blank",rel:"noopener noreferrer"}))(l):l,g.question=c,g.renderNew=f,g.isAutomated=p,g.emojiconUrl=m,g.viewType=t,g.file=d,g.messageType=n,g.isNew=h,g}function hr(e,t,n,a,o=!0,i=!0){return si(-1,Na.Text,t,!1,!0,n,"",new Date,e,void 0,void 0,i,!0,o,a)}function dg(e,t,n,a,o,i,r=!1,s=new Date){return si(-1,Na.Text,hn.Normal,!0,r,n,t,s,e,void 0,void 0,a,!1,o,i)}function pg(e,t,n,a,o=new Date){return si(-1,Na.File,hn.Normal,!0,!1,n,t,o,"",void 0,e,!0,!1,a,"")}class Aa{constructor(t){x(this,"alias"),x(this,"isEnable",!0),x(this,"text"),x(this,"propertyToSubmit"),x(this,"submitMethod"),x(this,"validate"),x(this,"sanitize"),x(this,"onAnswer"),x(this,"options"),x(this,"showOptionsBorders",!0),x(this,"showSelectedLabel",!1),x(this,"showHoveredLabel",!1),x(this,"isCustomField",!1),x(this,"htmlAnswer",!1),x(this,"preventSound",!1),x(this,"preventBubbleIndication",!1),x(this,"preventTabNotification",!1),x(this,"type"),x(this,"answer"),Object.assign(this,t)}setAnswer(t){this.answer=void 0!==this.sanitize?this.sanitize(t.toString()):t}getAnswer(){return this.answer}}class Of{constructor(t){x(this,"config"),x(this,"currentIndex",-1),x(this,"questions"),x(this,"submitOnCompletion"),x(this,"submitMethod"),x(this,"submitted",!1),x(this,"closeOnSubmission"),Object.assign(this,t)}validateCurrent(t){let n="";return this.currentIndex>=0&&void 0!==this.questions[this.currentIndex].validate&&(n=this.questions[this.currentIndex].validate(t)),n}current(){if(this.currentIndex>=0)return this.questions[this.currentIndex]}next(){var t,n,a,o;let i=-1;if(void 0!==(null==(t=this.current())?void 0:t.getAnswer())&&((null==(n=this.current())?void 0:n.type)===jt.MultipleChoice||(null==(a=this.current())?void 0:a.type)===jt.SingleChoice)){const r=null==(o=this.current())?void 0:o.options.find(s=>{var l;return s.value===(null==(l=this.current())?void 0:l.getAnswer())});void 0!==r&&(i="FINISH"!==r.nextQuestionAlias?this.questions.findIndex(s=>s.alias===r.nextQuestionAlias):this.questions.length)}if(this.currentIndex>=0&&void 0!==this.questions[this.currentIndex].submitMethod&&this.questions[this.currentIndex].submitMethod(),i<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(i<this.questions.length)return this.currentIndex=i,this.questions[i];void 0!==this.submitMethod&&this.submitMethod().subscribe(()=>{this.submitted=!0})}getQuestionByAlias(t){let n;const a=this.questions.findIndex(o=>o.alias===t);return a>=0&&(n=this.questions[a]),n}addSubmissionCallback(t,n=""){if(""!==n){const a=this.questions.findIndex(o=>o.alias===n);a>=0&&(this.questions[a].submitMethod=t)}else this.submitMethod=t}getData(){const t={};return this.questions.forEach(n=>{void 0!==n.propertyToSubmit&&(t[n.propertyToSubmit]=n.getAnswer())}),t}buildFlow(t,n){this.questions=[],this.submitOnCompletion=t,this.config=n}}class hg extends Of{constructor(t){super(t),x(this,"NAME_ALIAS","NAME"),x(this,"EMAIL_ALIAS","EMAIL"),x(this,"DEPARTMENT_ALIAS","DEPARTMENT"),Object.assign(this,t),this.closeOnSubmission=!1}buildFlow(t,n){super.buildFlow(t,n);const{t:a}=rn.global;this.questions.push(new Aa({alias:this.NAME_ALIAS,type:jt.Text,propertyToSubmit:"name",text:Rt(0,[a("Auth.AuthNameMessage").toString()]),isEnable:n.authenticationType===xt.Both||n.authenticationType===xt.Name,sanitize:o=>o.replace(/([^\u0000-\u007F]|[^\w\d-_\s])/g,""),validate:o=>{let i="";return Ju(o)||(i=a("Auth.MaxCharactersReached").toString()),i}})),this.questions.push(new Aa({alias:this.EMAIL_ALIAS,type:jt.Text,propertyToSubmit:"email",text:Rt(0,[a("Auth.AuthEmailMessage").toString()]),isEnable:n.authenticationType===xt.Both||n.authenticationType===xt.Email,validate:o=>{let i="";return Ms(o)?Ku(o)||(i=a("Auth.MaxCharactersReached").toString()):i=a("Auth.OfflineEnterValidEmail").toString(),i}})),this.questions.push(new Aa({alias:this.DEPARTMENT_ALIAS,type:jt.SingleChoice,options:[],propertyToSubmit:"department",text:a("Auth.DepartmentMessage").toString(),isEnable:!1}))}getData(){const t={};return this.questions.forEach(n=>{void 0!==n.propertyToSubmit&&(t[n.propertyToSubmit]=n.getAnswer())}),t}}const a5={ref:"lcAudio"},i5=Ge(We({props:{config:{type:Object,default:()=>{}}},setup(e){const t=he(Wt),n=Z(null),a=Z(!e.config.allowSoundNotifications),o=Z(!1),i=Nt(),d=()=>{i.add(t.onSoundNotification.pipe(En(()=>!a.value&&o.value),function VA(e,t){return void 0===t&&(t=zo),ct(function(n,a){var o=null,i=null,r=null,s=function(){if(o){o.unsubscribe(),o=null;var c=i;i=null,a.next(c)}};function l(){var c=r+e,d=t.now();if(d<c)return o=this.schedule(void 0,c-d),void a.add(o);s()}n.subscribe(Qe(a,function(c){i=c,r=t.now(),o||(o=t.schedule(l,e),a.add(o))},function(){s(),a.complete()},void 0,function(){i=o=null}))})}(100),Oa(()=>{n.value&&(n.value.pause(),n.value.currentTime=0)}),_e(()=>Bt(n.value.play()).pipe(pn(f=>nn)))).subscribe())};return It(()=>{t.onEnableNotification.subscribe(()=>{o.value=!0}),i.add(t.onToggleSoundNotification.subscribe({next:f=>{a.value=!f}})),i.add(t.onAttendChat.subscribe({next:()=>Qh.stopBlink()})),i.add(t.onUnattendedMessage.subscribe({next:f=>{o.value&&!f.preventTabNotification&&!f.preventBlinkingTitle&&Qh.startBlink()}}))}),ia(()=>{n.value&&(n.value.src=void 0!==e.config.soundnotificationUrl&&""!==e.config.soundnotificationUrl?e.config.soundnotificationUrl:"data:audio/mpeg;base64,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",d())}),To(()=>{n.value&&n.value.remove()}),{lcAudio:n}}}),[["render",function o5(e,t,n,a,o,i){return O(),U("div",null,[H("audio",a5,null,512)])}]]);class r5 extends Of{constructor(t){super(t),x(this,"MESSAGE_ALIAS","MESSAGE"),x(this,"NAME_ALIAS","NAME"),x(this,"EMAIL_ALIAS","EMAIL"),x(this,"PHONE_ALIAS","PHONE"),Object.assign(this,t)}buildFlow(t,n){const{t:a}=rn.global;super.buildFlow(t,n),this.questions.push(new Aa({alias:this.MESSAGE_ALIAS,type:jt.Text,propertyToSubmit:"OfflineMessage",preventSound:!0,preventTabNotification:!0,text:Rt(0,[this.config.unavailableMessage,a("Inputs.UnavailableMessage").toString()]),validate:o=>{let i="";return fo(o,500)||(i=Rt(0,[this.config.offlineFormMaximumCharactersReached,a("Auth.MaxCharactersReached").toString()])),i}})),this.questions.push(new Aa({alias:this.NAME_ALIAS,type:jt.Text,propertyToSubmit:"Name",text:Rt(0,[this.config.offlineNameMessage,a("Offline.OfflineNameMessage").toString()]),validate:o=>{let i="";return Ju(o)?fo(o)||(i=Rt(0,[this.config.offlineFormMaximumCharactersReached,a("Auth.MaxCharactersReached").toString()])):i=Rt(0,[this.config.offlineFormInvalidName,a("Auth.EnterValidName").toString()]),i}})),this.questions.push(new Aa({alias:this.EMAIL_ALIAS,type:jt.Text,propertyToSubmit:"Email",text:Rt(0,[this.config.offlineEmailMessage,a("Offline.OfflineEmailMessage").toString()]),validate:o=>{let i="";return Ku(o)?Ms(o)||(i=Rt(0,[this.config.offlineFormInvalidEmail,a("Auth.OfflineEnterValidEmail").toString()])):i=Rt(0,[this.config.offlineFormMaximumCharactersReached,a("Auth.MaxCharactersReached").toString()]),i}}))}getData(){return super.getData()}}class go{constructor(t){x(this,"value"),x(this,"text"),x(this,"description"),x(this,"nextQuestionAlias"),x(this,"getAnswerText",()=>this.text),Object.assign(this,t)}}class s5 extends Of{constructor(t){super(t),Object.assign(this,t)}buildFlow(t,n){super.buildFlow(t,n);const{t:a}
1=rn.global,o=[new go({value:"0",description:a("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 go({value:"1",description:a("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 go({value:"2",description:a("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 go({value:"3",description:a("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 go({value:"4",description:a("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(i=>{i.getAnswerText=()=>`${i.text}<div class='rate_text'>${i.description}</div>`}),this.questions.push(new Aa({alias:"RATE",type:jt.SingleChoice,options:o,propertyToSubmit:"rate",text:Rt(0,[a("Chat.RateRequest").toString()]),showOptionsBorders:!1,showSelectedLabel:!0,showHoveredLabel:!0,htmlAnswer:!0,sanitize:i=>i.replace(/([^\u0000-\u007F]|[^\w\d-_\s])/g,""),validate:i=>{let r="";return Number.isNaN(Number(i))&&(r="Wrong answer"),r}})),this.questions.push(new Aa({alias:"FEEDBACK",type:jt.SingleChoice,options:[new go({text:a("Rate.GiveFeedback").toString(),value:1,description:"Yes",nextQuestionAlias:"COMMENT"}),new go({text:a("Rate.NoFeedback").toString(),value:0,description:"No",nextQuestionAlias:"FINISH"})],text:Rt(0,[a("Chat.RateFeedbackRequest").toString()])})),this.questions.push(new Aa({alias:"COMMENT",propertyToSubmit:"comment",text:Rt(0,[a("Chat.RateComment").toString()]),validate:i=>{let r="";return fo(i,500)||(r=a("Auth.MaxCharactersReached").toString()),r}}))}getData(){return super.getData()}}class l5{constructor(t,n,a,o){x(this,"onReset",new Re),x(this,"onError",new Re),x(this,"onError$",this.onError.asObservable().pipe(ds(this.onReset))),x(this,"onQuestionAnswered",new Re),x(this,"onQuestionAnswered$",this.onQuestionAnswered.asObservable().pipe(ds(this.onReset))),x(this,"onNewQuestion",new Re),x(this,"onNewQuestion$",this.onNewQuestion.asObservable().pipe(ds(this.onReset))),x(this,"thinking",new Re),x(this,"thinking$",this.thinking.asObservable()),x(this,"chatFlowState"),x(this,"emojiconUrl",""),x(this,"currentFlow"),x(this,"eventBus"),x(this,"myChatService"),this.config=t,this.chatFlowState=n,this.eventBus=a,this.myChatService=o}getCurrentFlow(){return this.currentFlow&&!this.currentFlow.submitted?this.currentFlow:void 0}think(t,n){this.currentFlow.submitted||setTimeout(()=>{this.thinking.next({key:n,value:t})},500)}answer(t){let n="",a=t.value;const o=this.currentFlow.current();
1if(void 0!==o&&(void 0!==o.sanitize&&(a=o.sanitize(t.value.toString())),n=this.currentFlow.validateCurrent(a.toString())),this.onQuestionAnswered.next(t.key),""===n){void 0!==o&&o.setAnswer(a);const i=this.currentFlow.next();void 0!==i&&this.onNewQuestion.next(i)}else this.onError.next(n)}start(){const t=this.currentFlow.next();void 0!==t&&this.onNewQuestion.next(t)}reset(){this.setChatFlowState(pa.Chat),this.onReset.next()}setChatFlowState(t){switch(this.chatFlowState=t,t){case pa.OfflineForm:this.currentFlow=new r5;break;case pa.Rate:this.currentFlow=new s5;break;case pa.Auth:this.currentFlow=new hg}}onFlowNewQuestion(t){const n=hr(t.text,hn.Normal,this.config.operatorIcon,this.emojiconUrl);n.preventSound=t.preventSound,n.preventBubbleIndication=t.preventBubbleIndication,n.preventTabNotification=t.preventTabNotification,this.eventBus.onShowMessage.next(n),t.type===jt.SingleChoice||t.type===jt.MultipleChoice?this.eventBus.onShowMessage.next(function e5(e){return si(-1,Na.Options,hn.Normal,!1,!0,"","",new Date,"",e,void 0,!0,!0,!0,"")}(t)):this.eventBus.onTriggerFocusInput.next()}onFlowError(t){this.eventBus.onShowMessage.next(hr(t,hn.Normal,this.config.operatorIcon,this.emojiconUrl))}onFlowQuestionAnswered(t){t>=0&&(this.myChatService.chatMessages[t].sent=!0)}initFlow(t,n=!1,a=()=>Xe(!0),o=s=>this.onFlowNewQuestion(s),i=s=>this.onFlowQuestionAnswered(s),r=s=>this.onFlowError(s)){this.currentFlow.buildFlow(n,t),this.currentFlow.addSubmissionCallback(a,""),this.onError$.subscribe(s=>r(s)),this.onNewQuestion$.subscribe(s=>o(s)),this.onQuestionAnswered$.subscribe(s=>i(s))}}const u5=We({components:{FileIcon:WE,SpinnerThird:QE,Times:ZE},filters:{},props:{file:{type:hs,default:()=>{}}},setup(e){const n=he(Un),a=he(Wt),o=Z(""),i=Z(""),r=$(()=>!f.value),s=$(()=>{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=$(()=>s.value&&`${s.value}px`),c=$(()=>{if(e.file&&s.value&&e.file.Width)return e.file.Width*(s&&s.value/e.file.Height)+"px"}),d=$(()=>{var I;if((null==(I=e.file)?void 0:I.FileState)===Ra.CF_Available)return i.value?i.value:e.file.FileLink||void 0}),f=$(()=>function HS(e){const t=e.lastIndexOf("."),n=e.substring(t+1);return qS.indexOf(n.toLowerCase())>=0}(e.file.FileName)&&e.file.HasPreview&&!!e.file);let p;const h=Ra,m=Nt(),b=(I=!1)=>{p&&(I||(i.value=e.file&&e.file.FileLink?p.fileEndPoint(e.file.FileLink):""),f.value&&(o.value=e.file&&e.file.FileLink?p.fileEndPoint(`${e.file.FileLink}.preview`):""))};return Jt(()=>e.file.HasPreview,(I,N)=>{I&&N!==I&&b(!0)}),It(()=>{m.add(n.mySession$.pipe(En(I=>2===I.sessionState)).subscribe({next:I=>{p=I,b()}}))}),ia(()=>{m.add(n.mySession$.pipe(En(I=>2===I.sessionState)).subscribe({next:I=>{p=I,b()}}))}),{clientChatFileState:h,ChatFileState:Ra,link:d,showFileIcon:r,previewSource:o,imageLoaded:()=>{a.onScrollToBottom.next()},downloadFile:I=>!(!e.file||e.file.FileState!==Ra.CF_Available)||(I.preventDefault(),!1),updateNotFoundImage:I=>{I&&I.target&&(I.target.src=af)},height:l,maxHeight:s,width:c,size:(I=0,N=0)=>function YS(e=0){let n=e;return"number"!=typeof e&&(n=parseFloat(String(e))),Number.isNaN(n)||!Number.isFinite(n)?"?":_S(n,{unitSeparator:" ",decimalPlaces:0})}(I,N)}}}),d5={class:L("root-file")},p5={key:0},h5=["href","download"],m5={key:1,class:L(["vertical_content_image"])},g5=["src"],b5={key:2,class:L(["file-info"])},v5=["title"],y5={class:L(["file-size"])},A5={key:1,class:L(["horizontal_container"])},w5={key:0,class:L([["horizontal_content_image"],["spin"]])},C5={class:L(["file-info"])},_5=["title"],x5={class:L(["file-size"])},I5=["innerHTML"],N5=We({components:{Loader:IE,Redo:FE,OperatorIcon:GE,ChatFile:Ge(u5,[["render",function E5(e,t,n,a,o,i){const r=de("FileIcon"),s=de("times");return O(),U("div",d5,[e.file.FileState===e.clientChatFileState.CF_Available?(O(),U("div",p5,[H("a",{ref:"downloadLink",class:L(["file-download-link"]),target:"_blank",href:e.link,download:e.file.FileName,onClick:t[2]||(t[2]=l=>e.downloadFile(l))},[H("div",{class:L([e.showFileIcon?["horizontal_container"]:["vertical_container"]])},[e.showFileIcon?(O(),Ie(r,{key:0,class:L(["horizontal_content_image"])})):(O(),U("div",m5,[H("img",{ref:"downloadImage",style:Mr(e.width&&e.height?{width:e.width,height:e.height,maxHeight:e.height}:{}),alt:"download image",src:e.previewSource,onLoad:t[0]||(t[0]=(...l)=>e.imageLoaded&&e.imageLoaded(...l)),onError:t[1]||(t[1]=l=>e.updateNotFoundImage(l))}
1,null,44,g5)])),e.showFileIcon?(O(),U("div",b5,[H("span",{title:e.file.FileName,class:L(["file-name"])},Ce(e.file.FileName),9,v5),H("span",y5,Ce(e.size(e.file.FileSize)),1)])):ie("",!0)],2)],8,h5)])):ie("",!0),e.file.FileState!==e.clientChatFileState.CF_Available?(O(),U("div",A5,[e.file.FileState===e.ChatFileState.CF_Uploading?(O(),U("spinner-third",w5)):(O(),Ie(s,{key:1,class:L([["horizontal_content_image"]])})),H("div",C5,[H("span",{title:e.file.FileName,class:L(["file-name"])},Ce(e.file.FileName),9,_5),H("span",x5,Ce(e.size(e.file.FileSize)),1)])])):ie("",!0)])}],["styles",["*{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}"]]]),ChatText:Ge({name:"ChatText",components:{},props:{message:{type:Tf,default:()=>{}}}},[["render",function T5(e,t,n,a,o,i){return O(),U("span",{class:L("msg_content"),innerHTML:n.message.viewMessage()},null,8,I5)}],["styles",[".msg_content{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;word-break:break-word;white-space:pre-line}.msg_content a{color:inherit}"]]])},props:{message:{type:Object,default:()=>new Tf},config:{type:Object,default:()=>{}}},setup(e,t){const{t:i}=Ot(),r=Z(null),s=$(()=>"both"===e.config.messageDateformat?Wa(e.message.time).format("L LT"):"date"===e.config.messageDateformat?Wa(e.message.time).format("L"):"time"===e.config.messageDateformat?Wa(e.message.time).format("LT"):""),c=$(()=>"none"!==e.config.messageDateformat||"none"!==e.config.messageUserinfoFormat&&"avatar"!==e.config.messageUserinfoFormat),d=$(()=>!e.message.isAutomated&&("none"!==e.config.messageDateformat||"none"!==e.config.messageUserinfoFormat&&"avatar"!==e.config.messageUserinfoFormat)),f=$(()=>e.message.isLocal&&("both"===e.config.messageUserinfoFormat||"avatar"===e.config.messageUserinfoFormat)),p=$(()=>e.message.isLocal?c.value:d.value),h=$(()=>"both"===e.config.messageUserinfoFormat||"name"===e.config.messageUserinfoFormat),m=$(()=>"date"===e.config.messageDateformat||"time"===e.config.messageDateformat||"both"===e.config.messageDateformat),b=$(()=>e.message.errorType===an.NoError&&!e.message.sent&&!e.message.file),g=$(()=>!e.message.isLocal&&("both"===e.config.messageUserinfoFormat||"avatar"===e.config.messageUserinfoFormat)),v=$(()=>e.message.errorType!==an.NoError&&!e.message.sent),_=$(()=>e.message.errorType===an.NoRetry||e.message.errorType===an.CanRetry),I=$(()=>e.message.errorType===an.UnsupportedFile),N=$(()=>e.message.errorType===an.FileError),S=$(()=>e.message.errorType===an.CanRetry&&!e.message.sent&&!e.message.file);return{chatText:r,timeStampString:s,showLocalAvatar:f,showSubArea:p,isUserInfoVisible:h,isTimeStampVisible:m,showSendingIndication:b,showAwayAvatar:g,showMessageNotDeliveredError:v,showNetworkError:_,showUnsupportedFileError:I,showFileError:N,getAgentIcon:$(()=>e.message.icon?e.message.icon:Ns),showRetrySend:S,t:i,updateNotFoundImage:(ee,se=!0)=>{ee&&ee.target&&(ee.target.src=se?Ns:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAAAAADmVT4XAAAHf0lEQVR42u2cu47rMA6G5/3fSQABkj/AxpUrdypduEjlRtK/hZ255eY4zjm72ENM
1MUDG1hfeRJHCfETgKfFVZBVbBbsk4uPJ9T8B7JdgJ8HH8s6vF2+V30DPP7+85ANwN98vL4CY+wJgZpcqvSW/TXAGsCfF3cz8rIEdAL+NuQdg1QD+tOp/vOQM8PSLfmvk6bW/APyF17wiXz7wD+AfwD+A/02AH2nwKyvaHwNQVTV3BJbd5Pm0fIQGzsXErn3hdQB3M1NVVd3zhgOccKnq9u6KrwP8+PrP74wvAogsK5uqiojonwZwRNcPOec89H0XWBWBtwGEKcJVYYAkDHmcK1uttTZyHnPfqYgDGqEC6OEAgKkBCEnaDVMplYu0RpKFp9xpEg1XczW8AcDN4Zq0yzPJxjNArevv89h7UnVgkyme9QHzCJPU5VMjWZZ1W62NtZSyaGTOfRJHbIrKZzVggAr6U2H7VP/510aylkKWeQhRmMbxAG6aPM+VbJWsq/Hb2Q0WdZAlRxLDG0zguli/tUaytvrph7WUykKyFpJl7NTfYAJzRSYL2VpbIH544LeYmDqR40wAA1w9Ivn43fnvyalLCDVXv5cPtgK4A+ZIkWe2DevXyjp2YnD1gLwOADNAVXLhJmmVZEYKCMIO0ABU4SL9iVulNZacEO6qeN0JoQoVnMiylaCQc6cC3E3JGwEM6hAMbbXvFgs0so2RLHCAEzoUkO7Exk0+2Lhk6jKIRNyrkp8CGMhSWbc4ANlYCzl24n4vJW8FMI3Uz3xaypC2pKMNecCQhvr0+q2NENgBAID69LwCKuc+qb4O4I7U7bBAI3OSx7vM4zB0SwNZd6hg1A022AAgOu4DOHUSrwM4JOaNu+CvfDD36QANIKR7/usvKhsSjnDClFttOxDYRjkIgH8XQDJ3rX8QgLlk8v8Z4K+b4L/ACf92GGoaCndtRsyHZEJP3bzPCcpBqTj5uGMvOmwzQkjaE4etcvQNp/SHABqahrZrM8qij4/pjwHg0p32AJRezHBAPeDqueyIgsOKUvfUz88boQ1Jww9wQgMEI1ka66bKqBayLk0CPPbCDZnQ4NrPayS2bbVQYckQwHHEZoQQz+1bV/Lx+o1jiANHFKWuCEndvPV43shSWHsROEIPAHC4quV5ezncWEZThwNHlOVwBdQzuWlbLqWSY5cizI8IQwMMcEg3FpYNe0Ir5NQnBQw4IBFpmIVJRIrTFidsJOdeJFQcbkcUJOc+hXTj2pVtV8KxkrU0kq3MQ0obOgNPAmhAu7GcN+YLW8yfWejUiwaOB3AT6UaSrSxJ8UoKrGycetvWrH7WBCIqKYaZZGutXk/BrBlJQuV4ADMHTGRBuFaAVHIee1F3wOVwADcEVC31U2k3/L+eehEDHK6HA4SJSop+mhtbu7UpzdOAJCb6hihwFQxTWUOwXGnPLlDTEKrbB5EPAcIUMI+kXT61x+VxZTvlTlO4AWqv1wMKqIWm6Md57cXfB2jkPPaRNEw3DDAfV0SigSQxnrixVVVJnsaQhC3h+NgEamHST5+zCG7RATn1YmEHlGQanpDn9m0csmF5ss0ZyeMIE6TI5elG4XmCiAMAYjxPAdqm4nwdaDZyjNcBLHVjPQMs1caDgqh9zS3q2KXdAKEIdaRu4ubvfqEHTl2Ca9w5H9wEMIhCpJuWOe3zALVVLlNU3Gta3wFQtRQj9zSqv2WEMZKp7gCARqQYG3d2qD4naGOkiNvzw9s+YFDk9WvU8rQWlkeWKarCnvcBj7RMa9ta6zzfIlrPsiXLnRr1jgmkn9fiq+yzQCFra41zL3tMkGI6J58dDK18u2UxRdpuAjU3NSBp5isR8D0SmDUBpuaX0/RrAG7mnvrTAcuvCKc+rTfYHwMs1a9qTJv33w3b4xSqBvilsa/4gCFULBfWQ1RQycqSTTSupaMLAMAcIt287D+H+EBjmzsR+JUT0xUANZfIa6fjACmFbMwhbroBwGFqsozL9yfhi0slnHuxaxcqLp0QpqbD+eRxTBiSjYOaGh47oYl56g7R/S9LdMlNNgAYdPeU6G7nJItiSxguN0bq0QCVp06wwQfgKkN7hwbaIFduuV0AhEpMxyuArJziyqn5UgMi/cx3OCHnXuSxBkyR+R4NMEMfO6EiNl/be3aMN8blafnjck7Zt3dYgCxsffoxCHE3+7g2qX2HBdYx1mMAw/QOCyyvnGAPAaSbWd8TBZVzJw8BUl9Z3gNQWL+c4LYGMtu7ANo3J7gJgJGs7/GBSo54CNC9yQdXL+xuAhjcEJBuZrnXh2jt+8XmG5/XK3c/W2Ph3InB1GFq5m6mPwA8oH1hZWufC/2W7Q2KX881srH0ioADcAAAvjKhuZsDOlSWLYnoWaD1Gvyg6+LuAPA7FcMtF5Z7DZFHC9dar37camVjzWpuZmYXJljVgFyWBtNeE5z/5vK5xsaal0GWrWekb04Id7gaxrdEwKeMPzwAwBeAOVwtJrLVcjsM2gMh2Wq5PNKUVmptdQpTc9VLE8AcphanWuZ7UtafekNKKeX2s2VySSIpnf97gPwHyADaGwjjz7sAAAAASUVORK5CYII=")},sendAgain:ee=>t.emit("resend",ee)}}}),F5={class:L([["msg-root"]])},L5={key:0,class:L(["avatar_container"])},P5=["src"],D5={key:2,class:L(["msg_sub_area"])},B5={key:0,class:L([["msg_sender_name"]])},j5={key:1,class:L([["msg_timestamp"]])},U5={key:3,class:L([["sending_indication"]])},z5={key:1,class:L(["avatar_container"])},q5=["src"],G5={key:0,class:L(["error-message"])},V5={key:0},Y5={key:1},W5={key:2},H5={key:3},Q5=Ge(N5,[["render",function $5(e,t,n,a,o,i){const r=de("OperatorIcon"),s=de("ChatFile"),l=de("ChatText"),c=de("loader"),d=de("Redo");return O(),U("div",F5,[H("div",{class:L([["msg_bubble"],e.message.isLocal?["msg_bubble_client"]:["msg_bubble_agent"]])},[e.showLocalAvatar?(O(),U("div",L5,[e.message.icon?(O(),U("img",{key:0,alt:"avatar",src:e.message.icon,class:L(["avatar_img"]),onError:t[0]||(t[0]=f=>e.updateNotFoundImage(f,!1))},null,40,P5)):(O(),Ie(r,{key:1}))])):ie("",!0),H("div",{ref:"chatText",class:L([["msg_container"],e.message.renderNew?["new_msg"]:"",e.message.isLocal?["msg_client"]:["msg_agent"]])},[e.message.file?(O(),Ie(s,{key:0,file:e.message.file},null,8,["file"])):(O(),Ie(l,{key:1,message:e.message},null,8,["message"])),e.showSubArea?(O(),U("div",D5,[e.isUserInfoVisible?(O(),U("div",B5,Ce(e.message.senderName),1)):ie("",!0),e.isTimeStampVisible?(O(),U("span",j5,Ce(e.timeStampString),1)):ie("",!0)])):ie("",!0),e.showSendingIndication?(O(),U("div",U5,[me(c,{class:L([["sending_icon"]])})])):ie("",!0)],2),e.showAwayAvatar&&e.message.renderNew?(O(),U("div",z5,[H("img",{alt:"avatar",src:e.getAgentIcon,class:L(["avatar_img"]),onError:t[1]||(t[1]=f=>e.updateNotFoundImage(f))},null,40,q5)])):ie("",!0)],2),e.showMessageNotDeliveredError?(O(),U("div",G5,[e.showNetworkError?(O(),U("span",V5,Ce(e.t("Chat.MessageNotDeliveredError")),1)):e.showUnsupportedFileError?(O(),U("span",Y5,Ce(e.t("Chat.UnsupportedFileError")),1)):e.showFileError?(O(),U("span",W5,Ce(e.t("Chat.FileError")),1)):ie("",!0),e.showRetrySend?(O(),U("span",H5,[sa(Ce(e.t("ChatryAgain"))+" ",1),H("span",{class:L(["error-message-retry"]),onClick:t[2]||(t[2]=f=>e.sendAgain(e.message.index))},[me(d,{style:{height:"12px",fill:"red"}})])])):ie("",!0)])):ie("",!0)])}],["styles",['*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}
1to{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;
1font-size:calc(var(--call-us-font-size, 14px) - 3px);margin-bottom:10px}.msg-root .error-message .error-message-retry{cursor:pointer}']]]),J5=We({props:{config:{type:Object,default:()=>{}}},setup(e){const t=he(Un),n=he(pp);let a;const{t:o}=Ot(),i=Nt(),r=Z(!1),s=Z("");return It(()=>{i.add(n.thinking$.pipe(Oa(()=>{r.value=!0}),qi(1e3),Oa(d=>{r.value=!1,n.answer(d)})).subscribe()),i.add(t.mySession$.pipe(_e(d=>d.messages$.pipe(function QA(){return ct(function(e,t){var n,a=!1;e.subscribe(Qe(t,function(o){var i=n;n=o,a&&t.next([i,o]),a=!0}))})}(),Et(([f,p])=>f instanceof Yi&&p instanceof Ho&&p.Messages.some(h=>{var m;return(null==(m=h.Recipients.find(b=>b.IsSender))?void 0:m.IdRecipient)===f.IdRecipient})?(r.value=!1,nn):p),Yu(Yi),Vp(d.conversation$),Et(f=>({typing:f,time:new Date})),Gp(1e3),Oa(f=>{if(a=f.time,e.config.showOperatorActualName){const[p,h]=f.typing,m=h.Recipients.find(b=>b.Recipient.IdRecipient===p.IdRecipient);s.value=m?.Recipient.Name||e.config.operatorName}else s.value=e.config.operatorName;r.value=!0}),qi(2e3)))).subscribe(()=>{const d=a.getTime()-(new Date).getTime();r.value=Math.abs(d)<2e3}))}),{isTypingVisible:r,operatorName:s,t:o}}}),Z5={key:0,class:L(["typing-indicator-root"])},X5={class:L(["typing_indicator_name"])},eI=["title"],nI=Ge(J5,[["render",function tI(e,t,n,a,o,i){return e.isTypingVisible?(O(),U("div",Z5,[H("div",X5,[H("span",{title:e.operatorName},Ce(e.operatorName),9,eI)]),H("span",{ref:"typingIndicator"},Ce(e.t("Inputs.IsTyping")),513)])):ie("",!0)}],["styles",["*{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}"]]]),aI={PaperClip:Sm,SoundActive:Mm,SoundInactive:km},oI={name:"ActionButton",components:{SoundActive:Mm,SoundInactive:km},props:{title:{type:String,default:""},componentKey:{type:String,default:""},disabled:Boolean},setup:e=>({components:aI})},rI=["title","aria-label","disabled"],lI=Ge(oI,[["render",function sI(e,t,n,a,o,i){return O(),U("button",{class:L(["action-button"]),title:n.title,"aria-label":n.title,disabled:n.disabled,type:"button",onClick:t[0]||(t[0]=dn(()=>{},["prevent","stop"]))},[(O(),Ie($2(a.components[n.componentKey]))),ki(e.$slots,"default")],8,rI)}],["styles",["*{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}"]]]),cI=We({directives:{object:nr},components:{GlyphiconCall:oi},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 t=he(tn),n=Ds(t),{t:a}=Ot(),o=$(()=>{let i=[];return e.isChatUntilCall||!t.hasCall.value&&!t.hasRecall.value?e.isChatUntilCall&&t.hasCall.value&&(i=["no-buttons"]):i=["big-buttons"],i});return{isWebRtcAllowed:ni,t:a,isVideoActive:$(()=>t.isVideoActive.value),isFullScreenSupported:$(()=>t.isFullscreenSupported()),isCallWindow:o,makeVideoCall(){n.makeCall(!0)},toggleMute(){t.mute()},videoOutputClick(){t.goFullScreen()},...n}}}),fI=["src"],dI={key:1,autoplay:""},pI=["aria-label","disabled"],hI=["aria-label","disabled"],bI=We({components:{ActionButton:lI,FacebookIcon:bE,PaperPlane:AE,TwitterIcon:_E,EmailIcon:ME,PaperClip:Sm,MessageSolid:Om,CallControls:Ge(cI,[["render",function mI(e,t,n,a,o,i){const r=de("GlyphiconCall"),s=Hr("object");return e.showCallControls?(O(),U("div",{key:0,ref:"phoneControlsContainer",class:L([["root-cc"],e.isFullScreen?["full-screen-controls"]:"",e.isCallWindow])},[e.myWebRTCService.audioNotificationUrl.value?(O(),U("audio",{key:0,src:e.myWebRTCService.audioNotificationUrl.value,autoplay:"",loop:""},null,8,fI)):ie("",!0),e.myWebRTCService.remoteStream.value?aa((O(),U("audio",dI,null,512)),[[s,e.myWebRTCService.remoteStream.value]]):ie("",!0),e.myWebRTCService.hasCall.value?(O(),U("button",{key:3,id:"callUsDropCallBtn",type:"button","aria-label":e.t("Inputs.EndCallTitle"),class:L([["call-us-drop"]]),disabled:e.myWebRTCService.hasTryingCall.value,onClick:t[1]||(t[1]=(...l)=>e.dropCall&&e.dropCall(...l))},[me(r,{class:L(["drop-icon"])}),sa(" "+Ce(e.t("Inputs.EndCallTitle")),1)],8,hI)):(O(),U(ft,{key:2},[e.allowCall?(O(),U("button",{key:0,id:"callUsCallBtn",type:"button","aria-label":e.t("Inputs.CallTitle"),class:L([["call-us"],e.myWebRTCService.hasRecall.value?["recall-window"]:""]),disabled:!e.isWebRtcAllowed,onClick:t[0]||(t[0]=()=>e.makeCall())},[me(r,{class:L(["call-icon"])}),sa(" "+Ce(e.t("Inputs.CallTitle")),1)],10,pI)):ie("",!0)],64))],2)):ie("",!0)}],["styles",["*{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;
1height: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))}"]]])},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:we.Chat},isChatUntilCall:Boolean,isCall:{type:Boolean,default:!1},allowCall:{type:Boolean,default:!1}},setup(e,t){const n=he(Wt),a=he(Di),o=he(Un),i=he(tn),r=Z(null),s=Z(null),l=Z(e.config.allowSoundNotifications),c=Z(""),{t:d}=Ot(),f=$(()=>i&&(e.allowCall||e.config.allowVideo||i.hasCall.value)&&(!e.chatEnabled||o.hasSession)&&!e.isChatUntilCall),p=$(()=>19900),h=Nt(),m=()=>{setTimeout(()=>{r.value&&Ps.blurElement(r.value)},200)},b=()=>{setTimeout(()=>{r.value&&Ps.focusElement(r.value)},200)},se=$(()=>c.value.length>0);It(()=>{h.add(n.onMinimized.subscribe({next:()=>{m()}})),(()=>{const ne=Wc(n.onRestored,n.onTriggerFocusInput);h.add(ne.subscribe({next:()=>{a.chatInteractionEvent(),b()}}))})()});const Q=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&ja();return{myMessage:c,chatInput:r,fileInput:s,soundFlag:l,t:d,maxChatMessageSize:p,isSendButtonEnabled:se,isMobileSafari:Q,showCallControls:f,fireTyping:ne=>{c.value=ne.target.value,n.onClientChatTyping.next()},onInputFocusChange:ne=>{t.emit("input-focus-change",ne),ne&&n.onAttendChat.next()},filePickerToggle:()=>{var ne;null==(ne=s.value)||ne.click()},fileSelection:()=>{const ne=s.value;ne&&n.onFileUpload.next(ne.files)},sendMessage:()=>{c.value&&(t.emit("send-message",c.value),c.value="")},onStartNewChat:()=>{n.onRestart.next()},onToggleSound:()=>{l.value=!l.value,n.onToggleSoundNotification.next(l.value)},focusInput:b,blurInput:m}}}),yI={key:0,class:L(["chat-inputs"])},AI={class:L(["banner"])},wI={class:L(["chat-action-buttons"])},CI=["href"],_I=["href"],xI=["href"],EI={class:L("materialInput")},MI=["disabled","value","placeholder","maxLength"],kI=["aria-label","disabled"],SI=["aria-label"],OI=[yt.MISSED,yt.ENDED_DUE_AGENT_INACTIVITY,yt.ENDED_DUE_CLIENT_INACTIVITY,yt.ENDED_BY_CLIENT,yt.ENDED_BY_AGENT,yt.ENDED_DUE_BLOCK],RI=We({components:{Notifier:i5,ChatMsg:Q5,ChatFooter:Ge(bI,[["render",function II(e,t,n,a,o,i){const r=de("ActionButton"),s=de("FacebookIcon"),l=de("TwitterIcon"),c=de("EmailIcon"),d=de("PaperPlane"),f=de("CallControls"),p=de("MessageSolid");return O(),U("div",{class:L([["footer-root"],e.isChatActive?"":["chat-disabled"],e.isCall?["call"]:"",e.isChatUntilCall?["chat-call"]:"",e.showCallControls?"":["calls-disabled"]])},[e.isChatActive?(O(),U("div",yI,[e.chatEnabled?(O(),U(ft,{key:0},[H("div",AI,[H("div",wI,[e.config.filesEnabled&&e.chatOnline?(O(),U("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:t[0]||(t[0]=dn((...h)=>e.fileSelection&&e.fileSelection(...h),["prevent"]))},null,544)):ie("",!0),e.config.filesEnabled&&e.chatOnline?(O(),Ie(r,{key:1,componentKey:"PaperClip",disabled:!e.enableTyping,title:e.t("Inputs.AddFile"),onClick:dn(e.filePickerToggle,["prevent"])},null,8,["disabled","title","onClick"])):ie("",!0),e.config.enableMute&&e.chatEnabled?(O(),Ie(r,{key:2,componentKey:e.soundFlag?"SoundActive":"SoundInactive",title:e.t(e.soundFlag?"Inputs.MuteNotifications":"Inputs.UnmuteNotifications"),onClick:e.onToggleSound},null,8,["componentKey","title","onClick"])):ie("",!0),e.config.facebookIntegrationUrl?(O(),Ie(r,{key:3,title:"facebook integration"},{default:Qt(()=>[H("a",{target:"_blank",href:e.config.facebookIntegrationUrl},[me(s)],8,CI)]),_:1})):ie("",!0),e.config.twitterIntegrationUrl?(O(),Ie(r,{key:4,title:"twitter integration"},{default:Qt(()=>[H("a",{target:"_blank",href:e.config.twitterIntegrationUrl},[me(l)],8,_I)]),_:1})):ie("",!0),e.config.emailIntegrationUrl?(O(),Ie(r,{key:5,title:"email integration"},{default:Qt(()=>[H("a",{href:"mailto:"+e.config.emailIntegrationUrl},[me(c)],8,xI)]),_:1})):ie("",!0)])]),H("form",{class:L(["chat-message-input-form"]),autocomplete:"off",autocorrect:"off",spellcheck:"false",onSubmit:t[7]||(t[7]=dn(h=>e.sendMessage(),["prevent"]))},[H("div",EI,[H("textarea",{ref:"chatInput",class:L([["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:t[1]||(t[1]=h=>e.fireTyping(h)),onFocus:t[2]||(t[2]=h=>e.onInputFocusChange(!0)),onBlur:t[3]||(t[3]=h=>e.onInputFocusChange(!1)),onKeydown:[t[4]||(t[4]=cp(dn((...h)=>e.sendMessage&&e.sendMessage(...h),["exact","prevent"]),["enter"])),t[5]||(t[5]=cp(dn(h=>e.myMessage+="\n",["shift","exact","prevent"]),["enter"]))]},null,42,MI)]),H("button",{id:"sendBtn","aria-label":e.t("Auth.OfflineSubmit"),class:L([["send-trigger"],e.isSendButtonEnabled?["send_enable"]:["send_disable"]]),disabled:!e.enableTyping,onMousedown:t[6]||(t[6]=dn(h=>e.sendMessage(),["prevent"]))},[me(d)],42,kI)],32)],64)):ie("",!0)])):ie("",!0),me(f,{allowCall:e.allowCall,allowVideo:e.config.allowVideo,isFullScreen:e.isFullScreen,isChatUntilCall:e.isChatUntilCall,chatOnline:e.chatOnline,showCallControls:e.showCallControls}
1,null,8,["allowCall","allowVideo","isFullScreen","isChatUntilCall","chatOnline","showCallControls"]),e.isChatActive||e.showCallControls?ie("",!0):(O(),U("button",{key:1,id:"startNewBtn",ref:"startNewBtn","aria-label":e.t("ChatCompleted.StartNew"),class:L(["start-new"]),type:"button",onClick:t[8]||(t[8]=h=>e.onStartNewChat())},[me(p),sa(" "+Ce(e.t("ChatCompleted.StartNew")),1)],8,SI))],2)}],["styles",['[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}
1.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);
1fill: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}']],["__scopeId","data-v-1a820332"]]),TypingIndicator:nI},props:{config:{type:Object,default:()=>{}},operator:{type:Object,default:()=>Da},chatEnabled:{type:Boolean,default:!1},chatOnline:{type:Boolean,default:!0},isChatUntilCall:{type:Boolean,default:!1},allowCall:{type:Boolean,default:!1}},setup(e,t){const n=he(Un),a=he(Wt),o=he(Po),i=he(Di),r=he(tn),s=he(Ta),{t:l}=Ot(),c=new l5(e.config,pa.Chat,a,n),d=Z(null),f=Z(!1),p=Nt();let h=!1,m=!1,b=!0,g="",v=-1,_="",I=[];const N=new Re,S=$(()=>r.isVideoActive.value),G=$(()=>{let y=!0;const M=c.getCurrentFlow();if(void 0!==M){const j=M.current();void 0!==j&&(y=j.type!==jt.MultipleChoice&&j.type!==jt.SingleChoice)}return y});Vt(pp,c);const ee=()=>{setTimeout(()=>{const y=d.value;y&&(y.scrollTop=y.scrollHeight)})},se=$(()=>{let y;const M=c.getCurrentFlow();return y=void 0!==M&&c.chatFlowState!==pa.Chat?!M.closeOnSubmission||!(null!=M&&M.submitted):!!e.chatOnline&&n.hasSession,y}),Q=y=>{const M=n.chatMessages.push(y);return y.isNew&&!y.isLocal&&!y.preventSound&&!f.value&&(a.onSoundNotification.next(),!e.isChatUntilCall&&r.hasCall.value&&t.emit("add-unread-message")),y.isNew&&!y.isLocal&&(!y.preventBubbleIndication||!y.preventTabNotification)&&!f.value&&a.onUnattendedMessage.next(y),ee(),M},ne=y=>{if(b&&y.isLocal){let M=Qn(0,[e.config.firstResponseMessage]);if(M)if(M=n.injectAuthenticationName(M),n.chatMessages.filter(j=>!j.isAutomated&&!j.isLocal).length<=0){b=!1;const j=hr(M,hn.Normal,e.operator.image,g);Q(j)}else b=!1}},Ve=(y,M)=>{n.get(new w1({Message:y,IdConversation:v})).subscribe({next:()=>{a.onTriggerFocusInput.next(),n.chatMessages[M].sent=!0,ne(n.chatMessages[M])},error:j=>{a.onError.next(j),n.chatMessages[M].errorType=(y=>40===y?an.NoRetry:an.CanRetry)(j.state),ee()}})},re=(y="",M=-1)=>{var j,B;if((e=>e&&!(e.replace(/\s/g,"").length<1))(y))if(y.length<=19900){a.onChatInitiated.next(!0);const Y=n.lastMessage(),A=Y?.isLocal;let w;if(M<0&&(w=dg(y,_,e.config.userIcon,!A||Y.senderName!==_,!0,g),M=Q(w)-1),n.chatMessages[M].index=M,e.chatOnline&&c.chatFlowState===pa.Chat)1===M&&h&&(y=function AS(e){return e.replace(vS,(t,n,a,o)=>typeof o>"u"||""===o||!(o in Wm)?t:a+function yS(e){if(e.indexOf("-")>-1){const n=[],a=e.split("-");for(let o=0;o<a.length;o+=1){let i=parseInt(a[o],16);if(i>=65536&&i<=1114111){const r=Math.floor((i-65536)/1024)+55296,s=(i-65536)%1024+56320;i=String.fromCharCode(r)+String.fromCharCode(s)}else i=String.fromCharCode(i);n.push(i)}return n.join("")}const t=parseInt(e,16);if(t>=65536&&t<=1114111){const n=Math.floor((t-65536)/1024)+55296,a=(t-65536)%1024+56320;return String.fromCharCode(n)+String.fromCharCode(a)}return String.fromCharCode(t)}(Wm[o].toUpperCase()))}(`Offline Message:\n\nName: ${(null==(j=n.auth)?void 0:j.name)??""}\nEmail: ${(null==(B=n.auth)?void 0:B.email)??""}\nContent: ${y}`)),Ve(y,M);
1else{const k=c.getCurrentFlow();k&&void 0===k.current()&&k instanceof hg&&void 0!==w&&I.push(w),c.think(y,M)}}else a.onError.next("Chat message too large"),tr("Chat message too large")},V=y=>{const M=hr(y=n.injectAuthenticationName(y),hn.Completed,"",g,!0,!1);M.preventBubbleIndication=!0,M.preventBlinkingTitle=!0,Q(M)};It(()=>{var y,M;p.add(Go(document,"resize").subscribe(()=>{ja()&&ee()})),o.show(),n.clearMessages(),_=(null==(y=n.auth)?void 0:y.name)??"",p.add(a.onRestored.subscribe(()=>ee())),p.add(a.onShowMessage.subscribe({next:y=>{Q(y)}})),p.add(N.pipe(function qA(e){return ct(function(t,n){var a=[];return t.subscribe(Qe(n,function(o){return a.push(o)},function(){n.next(a),n.complete()})),vt(e).subscribe(Qe(n,function(){var o=a;a=[],n.next(o)},ji)),function(){a=null}})}(a.onAttendChat)).subscribe({next:y=>{y.forEach(M=>{(y=>{const M=y.filter(j=>j.IsNew).map(j=>j.Id);M.length>0&&n.get(new x1({Items:M})).subscribe()})(M)})}})),p.add(a.onScrollToBottom.subscribe({next:()=>ee()})),p.add(n.notificationsOfType$(er).subscribe({next:y=>{var M;if(OI.includes(y.status)){let j="";switch(m&&(j=(null==(M=n.lastMessage())?void 0:M.message)??""),y.status){case yt.ENDED_DUE_BLOCK:j=l("Inputs.BlockMessage").toString();break;case yt.ENDED_DUE_AGENT_INACTIVITY:case yt.ENDED_DUE_CLIENT_INACTIVITY:j=Qn(0,["Chat session closed due to inactivity."]);break;case yt.ENDED_BY_CLIENT:case yt.ENDED_BY_AGENT:case yt.MISSED:j=Qn(0,[e.config.endingMessage,l("Inputs.EndingMessage").toString()])}a.onClosed.next(new Bs({notifyServer:!1,closedByClient:!1,chatUniqueCode:v,closeMessage:j}))}else y.status===yt.ACTIVE&&(y.chatState&&(h=y.isNew&&!y.chatState.Connected,((y,M)=>{setTimeout(()=>{let j="";j=n.injectAuthenticationName(Qn(0,y?[e.config.inviteMessage]:[e.config.unavailableMessage]));const B=hr(j,hn.Normal,M?.image||e.operator.image,g,!1);B.preventSound=!0,Q(B)})})(y.chatState.Connected,Zh(y.startingConv,e.config))),v=y.idConversation)}})),p.add(n.mySession$.subscribe({next:y=>{n.hasSession||y.sessionState!==Vn.Error?n.hasSession?(o.hide(),a.onEnableNotification.next(),a.onTriggerFocusInput.next(),m=y.serverProvideSystemMessages,g=y.emojiEndpoint(),c.emojiconUrl=g,v=y.getSessionUniqueCode(),I.length>0&&(I.forEach(M=>{Ve(M.message,M.index)}),I=[]),i.chatInitiatedEvent(y)):e.chatEnabled||o.hide():a.onClosed.next(new Bs({notifyServer:!1,closedByClient:!1,chatUniqueCode:v}))}})),(()=>{const y=n.mySession$.pipe(_e(M=>M.messages$.pipe(Yu(Ho),Vp(M.conversation$))));p.add(y.subscribe({next:([M,j])=>{M.Messages.forEach(B=>{var Y;if(B.IdConversation===j.IdConversation){if(B.MessageType===cu.CMT_Closed||B.MessageType===cu.CMT_Dealt)V(Rt(0,[e.config.endingMessage,l("Inputs.EndingMessage").toString()]));else{let A,w;B.File&&(w=new hs(B.File));const k=n.lastMessage(),R=k?.isLocal,W=!(null==k||!k.file),E=null==(Y=B.Recipients.find(lt=>lt.IsSender))?void 0:Y.IdRecipient,F=j.Recipients.find(lt=>lt.Recipient.IdRecipient===E),ae=F?.Recipient.RecipientType===Wo.CRT_Anonymous;let ue;ue=ae?F?.Recipient.Name||e.config.visitorName:e.config.showOperatorActualName&&F?.Recipient.Name||e.config.operatorName;const Oe=new Date(B.Time.Year,B.Time.Month-1,B.Time.Day,B.Time.Hour,B.Time.Minute,B.Time.Second),Se=Oe.getTimezoneOffset(),tt=ae!==R||k?.senderName!==ue||!!B.File||W||k?.isAutomated&&!0;let $e=B.Message;if(ae)if(w)A=pg(w,ue,e.config.userIcon,B.IsNew,new Date(Oe.getTime()-60*Se*1e3));else{const lt=$e.match(/Offline Message:.*Content: (.*)/s);2===lt?.length&&([,$e]=lt),A=dg($e,ue,e.config.userIcon,tt,B.IsNew,g,!B.IsNew,new Date(Oe.getTime()-60*Se*1e3))}else{const lt=F&&function NI(e,t){var n;const a=null==(n=e.Recipient.Contact)?void 0:n.ContactImage;if(a)return new URL(a,t).href}(F,e.config.channelUrl??"")||e.config.operatorIcon;A=w?function XS(e,t,n,a,o,i,r,s){return si(e,Na.Text,hn.Normal,!1,!0,a,n,i,"",void 0,t,o,!1,s,r)}(B.Id,w,ue,lt,tt,new Date(Oe.getTime()-60*Se*1e3),g,B.IsNew):function ZS(e,t,n,a,o,i,r,s){return si(e,Na.Text,hn.Normal,!1,!0,a,n,i,t,void 0,void 0,o,!1,s,r)}(B.Id,$e,ue,lt,tt,new Date(Oe.getTime()-60*Se*1e3),g,B.IsNew)}Q(A)}e.config.acknowledgeReceived&&(N.next(M.Messages),f.value&&a.onAttendChat.next())}})}}))})(),p.add(n.notificationsOfType$(A1).subscribe({next:y=>{const M=n.chatMessages.findIndex(j=>j.id===y.Id);M>-1&&(n.chatMessages[M].file=new hs(y.File))}})),p.add(a.onClientChatTyping.pipe(En(()=>c.chatFlowState===pa.Chat),Gp(2e3),_e(()=>{const y=new Yi({IdConversation:v});return n.get(y)})).subscribe({error:y=>{a.onError.next(y)}})),p.add(a.onClosed$.subscribe({next:y=>{r.hasCall.value&&r.removeDroppedCall(),(y=>{var M;if(m&&(null==(M=n.lastMessage())?void 0:M.messageType)!==hn.Completed||!m||y.closedByClient){const j=y.closeMessage||Qn(0,[e.config.endingMessage,l("Inputs.EndingMessage").toString()]);V(j)}a.onChatCompleted.next()})(y)}})),p.add(a.onFileUpload.subscribe({next:y=>(y=>{if(!y)return;const M=new hs;M.FileSize=y[0].size,M.FileState=Ra.CF_Uploading,M.FileName=y[0].name;const j=pg(M,_,e.config.userIcon,!0),B=Q(j)-1,Y=new C1({IdConversation:v,Name:y[0].name});!function WS(e){const t=e.lastIndexOf("."),n=e.substring(t+1);return zS.indexOf(n.toLowerCase())>=0}(y[0].name)?(n.chatMessages[B].errorType=an.UnsupportedFile,M.FileState=Ra.CF_Deleted,n.chatMessages[B].file=M,ee()):n.get(Y).pipe(pn(A=>(n.chatMessages[B].errorType=an.FileError,M.FileState=Ra.CF_Deleted,n.chatMessages[B].file=M,ee(),rt(()=>A)))).subscribe(A=>{M.FileLink=A.File.FileLink,M.FileState=Ra.CF_Available,n.chatMessages[B].file=M,n.chatMessages[B].sent=!0})})(y)})),_=(null==(M=n.auth)?void 0:M.name)||e.config.visitorName}),ia(()=>{e.chatOnline||a.onEnableNotification.next()});const C=$(()=>s.isFullScreen);return{myWebRTCService:r,isInputFocused:f,enableTyping:G,isVideoActive:S,chatHistory:d,myChatService:n,ChatViewMessageType:Na,chatFlowControlService:c,isChatActive:se,isFullScreen:C,onResendMessage:y=>{re(n.chatMessages[y].message,y)},onInputFocusChange:y=>{f.value=y},sendMessage:re,automatedFirstResponseHandle:ne,addChatMessage:Q,t:l}}}),PI={class:L(["chat-root"])},DI={class:L(["indicator-container"])},BI={key:1,ref:"chatDisabledMessage",class:L(["chat-disabled-container"])},UI=Ge(RI,[["render",function jI(e,t,n,a,o,i){const r=de("notifier"),s=de("ChatMsg"),l=de("TypingIndicator"),c=de("ChatFooter");return O(),U("div",PI,[me(r,{config:e.config},null,8,["config"]),e.chatEnabled?(O(),U("div",{key:0,ref:"chatHistory",class:L([["chat-container"],e.isChatActive?"":["disabled"],e.myWebRTCService.hasCall.value&&!e.isChatUntilCall?["call"]:"",e.isVideoActive?["video"]:"",e.isFullScreen?["full-screen"]:""])},[(O(!0),U(ft,null,Q2(e.myChatService.chatMessages,(d,f)=>
1(O(),U(ft,null,[d.viewType===e.ChatViewMessageType.Text||d.viewType===e.ChatViewMessageType.File?(O(),Ie(s,{key:d.index,config:e.config,message:d,onResend:p=>e.onResendMessage(f)},null,8,["config","message","onResend"])):ie("",!0)],64))),256)),H("div",DI,[me(l,{style:{width:"100%",display:"flex","justify-content":"flex-end"},config:e.config},null,8,["config"])])],2)):(O(),U("div",BI,[H("div",null,Ce(e.t("Inputs.ChatIsDisabled")),1)],512)),me(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"])])}],["styles",['.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}
1.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}',".rate_svg svg[data-v-46c34c4c]{height:20px}.rate_text[data-v-46c34c4c]{margin-left:10px}"]],["__scopeId","data-v-46c34c4c"]]),zI=We({name:"ActionButton",components:{GlyphiconMic:sE,GlyphiconMicoff:uE},props:{title:{type:String,default:""},disabled:Boolean,muted:{type:Boolean,dafault:!1},isFsSupported:Boolean,isMinimizedWindow:{type:Boolean,default:!1}},setup(){const{t:e}=Ot();return{t:e}}}),GI=["aria-label","disabled"],VI={key:0},YI=["aria-label","disabled"],WI={key:0},QI=We({components:{WplcIcon:tf,GlyphiconCall:oi,GlyphiconFullscreen:oE,InVideoFullScreen:aM,MuteButton:Ge(zI,[["render",function HI(e,t,n,a,o,i){const r=de("GlyphiconMic"),s=de("GlyphiconMicoff");return O(),U("div",null,[e.muted?(O(),U("button",{key:1,id:"callUsUnmuteBtn",ref:"unmuteBtn",type:"button","aria-label":e.t("Inputs.UnmuteMic"),class:L([e.isMinimizedWindow?["unmute-button"]:[["cw-panel-button"],["cw-unmute"]],e.isFsSupported?["with-fs"]:""]),disabled:e.disabled,onClick:t[1]||(t[1]=dn(l=>e.$emit("click"),["prevent","stop"]))},[me(s,{class:L(["icon"])}),e.isMinimizedWindow?ie("",!0):(O(),U("span",WI,Ce(e.t("Inputs.UnmuteMic")),1))],10,YI)):(O(),U("button",{key:0,id:"callUsMuteBtn",ref:"muteBtn","aria-label":e.t("Inputs.MuteMic"),type:"button",class:L([e.isMinimizedWindow?["mute-button"]:["cw-panel-button"],e.isFsSupported?["with-fs"]:""]),disabled:e.disabled,onClick:t[0]||(t[0]=dn(l=>e.$emit("click"),["prevent","stop"]))},[me(r,{class:L(["icon"])}),e.isMinimizedWindow?ie("",!0):(O(),U("span",VI,Ce(e.t("Inputs.MuteMic")),1))],10,GI))])}],["styles",["*{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}
1.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}"]]])},directives:{object:nr},props:{isChatUntilCall:{type:Boolean,default:!1},unreadMessages:{type:Number,default:0},allowCall:{type:Boolean,default:!1}},setup(e,t){const n=he(tn),a=Nt(),o=he(Ta),i=Ds(n),r=Z(!1),s=Z(""),l=$(()=>n.isVideoActive.value&&n.isFullscreenSupported()),c=he(Po),{t:d}=Ot();let f;return ia(()=>{o.enableFullScreen&&!e.isChatUntilCall&&window.matchMedia("(orientation: landscape)").matches?o.goFullScreen():o.isFullScreen&&o.closeFullScreen(),a.add(n.phoneService.myCalls$.pipe(_e(p=>{const h=(new Date).getTime();return 0!==p.length||n.callDrop.value||r.value?p.length>0&&p[0].isEstablished?(r.value=!0,function BA(e,t){return void 0===t&&(t=zo),Yc(e,e,t)}(1e3).pipe(Et(()=>(new Date).getTime()-h),Et(m=>{const b=Math.floor(m/1e3),g=Math.floor(b/60);return`${g}:${(b-60*g).toString().padStart(2,"0")}`}))):p.length>0&&!p[0].isEstablished?(clearTimeout(f),Xe(d("Inputs.CallingStatusTitle"))):(0===p.length&&(n.callDrop.value||r.value)&&t.emit("toggle",!1),nn):(n.hasRecall.value=!0,f=window.setTimeout(()=>{t.emit("toggle",!1),n.hasRecall.value=!1,n.callDrop.value=!1},5e3),Xe(d("Inputs.NotRespondingStatusTitle")))})).subscribe({next:p=>{s.value=p}}))}),To(()=>{o.enableFullScreen&&!e.isChatUntilCall&&o.goFullScreen()}),{isWebRtcAllowed:ni,toggleChatTillCall:p=>{t.emit("toggle",p),o.enableFullScreen&&(p||window.matchMedia("(orientation: landscape)").matches?o.goFullScreen():o.closeFullScreen())},videoOutputClick:()=>{n.goFullScreen()},loadingService:c,isFullScreenSupported:l,timeString:s,toggleMute:()=>{n.mute()},t:d,...i}}}),KI={class:L(["calling-window-root"])},ZI=["src"],XI={key:1,autoplay:""},eT=["aria-label"],tT={class:L(["open-chat-img-container"])},nT={key:0,class:L(["unread-badge"])},aT=["aria-label"],oT={key:3,ref:"minimizedWindow",class:L(["minimized"])},iT=["aria-label","disabled"],rT=["aria-label","disabled"],sT=["aria-label"],uT=We({components:{Panel:of,CallUsHeader:Ym,OverlayMessage:gS,Chat:UI,CallingWindow:Ge(QI,[["render",function lT(e,t,n,a,o,i){const r=de("WplcIcon"),s=de("MuteButton"),l=de("GlyphiconFullscreen"),c=de("GlyphiconCall"),d=de("InVideoFullScreen"),f=Hr("object");return O(),U("div",KI,[e.myWebRTCService.audioNotificationUrl.value?(O(),U("audio",{key:0,src:e.myWebRTCService.audioNotificationUrl.value,autoplay:"",loop:""},null,8,ZI)):ie("",!0),e.myWebRTCService.remoteStream.value?aa((O(),U("audio",XI,null,512)),[[f,e.myWebRTCService.remoteStream.value]]):ie("",!0),e.isChatUntilCall?(O(),U("div",oT,[me(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:L(["call-status"]),onClick:t[2]||(t[2]=p=>e.toggleChatTillCall(!1))},Ce(e.timeString),1),e.allowCall&&!e.myWebRTCService.hasCall.value?(O(),U("button",{key:0,id:"callBtn","aria-label":e.t("Inputs.CallTitle"),class:L([["round-call-control-btn"],["call-us"]]),type:"button",disabled:!e.isWebRtcAllowed,onClick:t[3]||(t[3]=()=>e.makeCall())},[me(c,{class:L(["call-icon"])})],8,iT)):(O(),U("button",{key:1,id:"dropBtn","aria-label":e.t("Inputs.EndCallTitle"),class:L([["round-call-control-btn"],["call-us-drop"]]),type:"button",disabled:e.myWebRTCService.hasTryingCall.value,onClick:t[4]||(t[4]=(...p)=>e.dropCall&&e.dropCall(...p))},[me(c,{class:L(["drop-icon"])})],8,rT)),e.isFullScreenSupported?(O(),U("button",{key:2,id:"fsBtnMinimized","aria-label":e.t("Inputs.FullScreen"),type:"button",class:L(["cw-full-screen"]),onClick:t[5]||(t[5]=p=>e.videoOutputClick())},[me(d)],8,sT)):ie("",!0)],512)):(O(),U("div",{key:2,ref:"fullWindow",class:L([["full-window"],e.loadingService.loading()||e.myWebRTCService.hasRecall.value&&!e.allowCall?["loading-services"]:""])},[H("div",{ref:"status",class:L(e.myWebRTCService.isVideoActive.value?["video-call-status"]:["call-status"])}
1,Ce(e.timeString),3),H("div",{class:L([["button-panel"],e.isFullScreenSupported?["with-fs"]:""])},[H("button",{id:"openChatBtn",type:"button","aria-label":e.t("Auth.Submit"),class:L([["cw-panel-button"],["open-chat"]]),onClick:t[0]||(t[0]=p=>e.toggleChatTillCall(!0))},[H("div",tT,[me(r,{class:L(["icon"])}),e.unreadMessages>0?(O(),U("span",nT,Ce(e.unreadMessages<100?e.unreadMessages:"99"),1)):ie("",!0)]),H("span",null,Ce(e.t("Auth.Submit")),1)],8,eT),me(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?(O(),U("button",{key:0,id:"fsBtn",type:"button","aria-label":e.t("Inputs.FullScreen"),class:L(["cw-panel-button"]),onClick:t[1]||(t[1]=p=>e.videoOutputClick())},[me(l,{class:L(["icon"])}),H("span",null,Ce(e.t("Inputs.FullScreen")),1)],8,aT)):ie("",!0)],2)],2))])}],["styles",["*{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;
1font-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}"]]])},props:{chatEnabled:Boolean,chatOnline:Boolean,startMinimized:Bo
1olean,enableAuthForm:Boolean,config:{type:Object,default:()=>{}},isQueue:{type:Boolean,default:!1},operator:{type:Object,default:()=>Da}},setup(e){const t=he(Ta),n=he(Un),a=he(Wt),o=he(Lc),i=he(Po),r=he(Di),s=he(tn),l=Ot();e.chatOnline&&(o.isChatActive()||e.enableAuthForm)&&(i.show(),n.reconnect());const c=Z(""),d=Z(ii.try),f=Z(!1),p=Z(!1),h=Z(!1),m=Z(""),b=Z(!1);let g=-1;const v=Z(0),_=Z(!1),I=Z(0),N=$(()=>!e.chatEnabled||f.value),S=$(()=>n.chatMessages.filter(z=>z.isLocal).length>0||s.hadCall.value),G=we.Chat,P=Nt(),ee=()=>{b.value=!0,a.onAttendChat.next(),a.onClosed.next(new Bs({notifyServer:!0,closedByClient:!0,chatUniqueCode:g}))},re=()=>{const z=n.mySession$.pipe(Oa(V=>{V.sessionState===Vn.Error&&(V.error===l.t("Inputs.ServiceUnavailable")?f.value=!0:c.value=V.error??"",d.value=ii.restart,tr(c.value),i.hide())}));e.isQueue&&!e.config.ignoreQueueownership?(p.value=!1,h.value=!1,P.add(z.pipe(_e(V=>V.conversation$),Et(V=>!V.QueueNo||V.TakenBy),Gi()).subscribe({next:V=>{V?(p.value=e.config.allowCall,h.value=e.config.allowVideo):(p.value=!1,h.value=!1)}}))):P.add(z.subscribe({next:()=>{p.value=e.config.allowCall,h.value=e.config.allowVideo}}))};It(()=>{P.add(a.onLoaded.subscribe({next:z=>{v.value++,z&&(n.reconnect(),re())}})),re(),P.add(a.onClosed.subscribe({next:()=>{o.dropSession().subscribe({next:()=>{i.hide(),n.closeSession(),r?.dispatchEvent("chat_complete","ChatCompleted")},error:z=>{i.hide(),a.onError.next(z)}})}})),P.add(a.onError.subscribe({next:z=>{c.value=Wu(z),d.value=ii.ok,tr(c.value),i.hide()}})),P.add(n.notificationsOfType$(er).subscribe({next:z=>{z.idConversation!==g&&(g=z.idConversation)}}))});const K=$(()=>s.hasCall.value||s.hasRecall.value);return{myChatService:n,fullscreenService:t,currentState:G,notificationMessage:c,notificationButtonType:d,allowCall:p,allowVideo:h,ViewState:we,chatComponentKey:v,isChatOpenTillCall:_,isCallingWindow:K,unreadMessages:I,chatDisabled:N,onClose:()=>{P.add(n.mySession$.pipe(Gn(1),_e(z=>z.sessionState===Vn.Connected&&S.value?(s.clearCallMemo(),s.callDrop.value=!0,s.hasRecall.value=!1,z.get(new fu({IdConversation:z.chatConversationId,CloseReason:hw.ECCR_LogoutByAnonymous}))):nn)).subscribe({error:z=>{ee(),a.onError.next(z)},complete:()=>{ee()}}))},onErrorFormSubmit:()=>{var z;if(c.value="",d.value===ii.restart){m.value=Qn(0,[e.config.endingMessage,l.t("Inputs.EndingMessage").toString()]);const V=(null==(z=n.auth)?void 0:z.name)??"";m.value=m.value.replace("%NAME%",V),a.onClosed.next(new Bs({notifyServer:!1,closedByClient:!1,chatUniqueCode:g}))}},setupChatServiceSubscriptions:re,toggleChatTillCall:z=>{_.value=z,z&&(I.value=0)},addUnreadMessage:()=>{I.value+=1}}}}),bT={key:0,id:"callus-container",ref:"root"},yT=Ge({components:{IntroForm:VM,AuthenticateForm:lS,MainForm:Ge(uT,[["render",function dT(e,t,n,a,o,i){const r=de("OverlayMessage"),s=de("CallUsHeader"),l=de("CallingWindow"),c=de("Chat"),d=de("Panel");return O(),Ie(d,{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:t[2]||(t[2]=f=>e.onClose())},{overlay:Qt(()=>[e.notificationMessage?(O(),Ie(r,{key:0,ref:"overlayMessageComponent",message:e.notificationMessage,button:e.notificationButtonType,onSubmit:t[0]||(t[0]=f=>e.onErrorFormSubmit())},null,8,["message","button"])):ie("",!0)]),"panel-top":Qt(()=>[me(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:t[1]||(t[1]=f=>e.onClose())},null,8,["currentState","config","allowVideo","allowCall","operator","isFullScreen","chatOnline","isChatUntilCall"]),e.isCallingWindow?(O(),Ie(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"])):ie("",!0)]),"panel-content":Qt(()=>[e.currentState===e.ViewState.Chat?(O(),Ie(c,{slot:"panel-content",key:e.chatComponentKey,ref:"chatComponent",class:L("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"])):ie("",!0)]),_:1},8,["auth","allowMinimize","startMinimized","config","operator","panelState","isCallingWindow"])}],["styles",["[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}
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}"]],["__scopeId","data-v-46b75349"]]),MinimizedBubble:Nm},props:tm,setup(e){const t=Z(null),n=Z(we.None),a=Z(xt.None),o=Z(!1),i=Z(!1),r=Z(!1),s=Z(!0),l=Z(!1),c=Z([]),f=Z(!1),p=Nt(),{i18n:h,...m}=nm(e,!1),{t:b}=h.global,g=Lt(new ga),v=Z(!1),_=Z(!0),I=Lt(m.eventBus),N=Lt(m.loadingService),S=Lt(m.myChatService),G=S.channel,P=Lt(new B_),ee=Lt(new j_("true"===e.enableGa));Vt(Ta,P),Vt(Di,ee),Vt(Lc,G),Vt(Un,S),Vt(Wt,I),Vt(Po,N);const se=()=>{var D;let te;switch(null==(D=e.authentication)?void 0:D.toLowerCase()){case"name":te=xt.Name;break;case"both":te=xt.Both;break;case"email":te=xt.Email;break;default:te=xt.None}return te},Q=(()=>{var D,te,pe;const fe=ni&&"true"===e.allowCall,xe="true"===e.allowVideo,Ee=e.phonesystemUrl,Ye="bubbleleft"===e.minimizedStyle.toLowerCase()?ca.BubbleLeft:ca.BubbleRight;let Ke,gt,et;switch(e.animationStyle.toLowerCase()){case"slidefromside":Ke=Xt.SlideLeft;break;case"fadein":Ke=Xt.FadeIn;break;case"slideup":Ke=Xt.SlideUp;break;default:Ke=Xt.None}switch(e.greetingVisibility.toLowerCase()){case"desktop":gt=en.Desktop;break;case"mobile":gt=en.Mobile;break;case"both":gt=en.Both;break;default:gt=en.None}switch(e.greetingOfflineVisibility.toLowerCase()){case"desktop":et=en.Desktop;break;case"mobile":et=en.Mobile;break;case"both":et=en.Both;break;default:et=en.None}const bt=Ba(e.operatorName??"");return{enablePoweredby:"true"===e.enablePoweredby,animationStyle:Ke,minimizedStyle:Ye,windowTitle:Ba(e.windowTitle??b("Inputs.WindowTitle")),allowSoundNotifications:"true"===e.allowSoundnotifications,enableMute:"true"===e.enableMute,facebookIntegrationUrl:H_(e.facebookIntegrationUrl,""),twitterIntegrationUrl:$_(e.twitterIntegrationUrl,""),emailIntegrationUrl:W_(e.emailIntegrationUrl,""),operatorName:""===bt?b("Inputs.OperatorName").toString():bt,operatorIcon:e.operatorIcon||"",userIcon:e.userIcon||"",allowCall:fe,allowVideo:xe,allowMinimize:"true"===e.allowMinimize,inviteMessage:Ba(e.inviteMessage??b("Inputs.InviteMessage"),250),endingMessage:Ba(e.endingMessage??b("Inputs.EndingMessage"),250),unavailableMessage:Ba(e.unavailableMessage??b("Inputs.UnavailableMessage"),250),firstResponseMessage:Ba(e.firstResponseMessage,250),party:e.party,channelUrl:Ee,windowIcon:e.windowIcon||"",buttonIcon:Y_(e.buttonIcon,""),buttonIconType:(null==(D=e.buttonIconType)?void 0:D.toLowerCase())||"default",enableOnmobile:"false"===e.enableOnmobile,enable:"true"===e.enable,ignoreQueueownership:"true"===e.ignoreQueueownership,showOperatorActualName:"true"===e.showOperatorActualName,authenticationType:se(),acknowledgeReceived:"true"===e.aknowledgeReceived,gdprEnabled:"true"===e.gdprEnabled,filesEnabled:"true"===e.filesEnabled,gdprMessage:e.gdprMessage&&""!==e.gdprMessage.trim()?e.gdprMessage.trim():b("Auth.GdprDefaultMessage").toString(),chatIcon:e.chatIcon,chatLogo:e.chatLogo,demo:"true"===e.demo,messageDateformat:null==(te=e.messageDateformat)?void 0:te.toLowerCase(),messageUserinfoFormat:null==(pe=e.messageUserinfoFormat)?void 0:pe.toLowerCase(),soundnotificationUrl:e.soundnotificationUrl,visitorEmail:e.visitorEmail,visitorName:e.visitorName,authenticationMessage:Ba(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:gt,greetingMessage:e.greetingMessage??b("Inputs.GreetingMessage"),greetingOfflineVisibility:et,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:"true"===e.enableDirectCall}})(),ne=new pm(m.myChatService,Q.demo);Vt(tn,ne),ne.webRTCControlService.setWebRtcCodecs(c.value);const be=$(()=>{let D="NONE";return n.value===we.Chat||!_.value&&n.value===we.Authenticate?D="CHAT":n.value===we.Authenticate&&(_.value||"false"===e.allowCall)&&(D="AUTH"),n.value===we.Intro&&"true"===e.allowCall?D="INTRO":n.value===we.Disabled&&(D="DISABLED"),D}),re=()=>{p.add(m.info$.subscribe({next:D=>{if(n.value=we.Authenticate,s.value=!0,m.loadingService.hide(),S.isAvaliable=D.isAvailable,l.value=D.isQueue,c.value=D.webRtcCodecs,r.value=void 0===D.isChatEnabled||D.isChatEnabled,o.value=(D=>{let te=!0;return"true"===e.forceToOpen?te=!1:o.value||("true"===e.popupWhenOnline?D&&(te=!1):te=ja(!0)),te})(D.isAvailable),i.value=o.value,Object.assign(g,new ga(Q.showOperatorActualName&&!D.isQueue?{name:D.operator.name||Q.operatorName,image:D.operator.image||Q.operatorIcon}:{name:Q.operatorName,image:Q.operatorIcon})),D.isChatEnabled||Q.enableDirectCall)if(!D.isChatEnabled&&Q.enableDirectCall)n.value=we.Intro,s.value=!1;else if(m.currentChannel.isChatActive()){n.value=we.Chat,s.value=!0;const te=sessionStorage.getItem("callus.collapsed");i.value=!!te&&"1"===te}else Q.enableDirectCall?(n.value=we.Intro,s.value=!0):(n.value=we.Authenticate,s.value=!0);else n.value=we.Authenticate,s.value=!1;P.enableFullScreen&&n.value!==we.Intro&&!o.value&&P.goFullScreen(),m.eventBus.onLoaded.next(m.currentChannel.isChatActive())},error:D=>{n.value=we.Disabled}}))};return It(()=>{if(function F_(e,t){t.add(e.mySession$.subscribe(n=>{e.hasSession=n.sessionState===Vn.Connected}))}(S,p),dm(ne,p),p.add(m.preloadOperations$.subscribe({next:te=>{if(te){const pe=localStorage.getItem("chatInfoGuid");pe&&e.assetsGuid!==pe&&localStorage.removeItem("chatInfo"),localStorage.setItem("chatInfoGuid",e.assetsGuid)}}})),setTimeout(()=>{v.value=!0},e.chatDelay),m.loadingService.show(),P.enableFullScreen=ja(!0),f.value="false"===e.enableO
1nmobile&&"false"===e.forceToOpen||"false"===e.enable,f.value)return;a.value=se();const D="false"===e.minimized?"none":"true"===e.minimized?"both":e.minimized;o.value="true"!==e.forceToOpen&&("both"===D||"mobile"===D),p.add(m.eventBus.onRestart.subscribe({next:()=>{o.value=!1,m.loadingService.show(),re()}})),p.add(m.eventBus.onRestored.subscribe({next:()=>{n.value===we.Authenticate&&Q.enableDirectCall&&(n.value=we.Intro)}})),re()}),dc(()=>{S.closeSession(),p.unsubscribe(),ne.removeFullScreenListeners(),f.value=!0}),Zd(()=>{f.value=!1}),{root:t,chatForm:be,delayElapsed:v,currentChannel:G,isHidden:f,authWindowMinimized:o,config:Q,operator:g,isChatEnabled:r,chatOnline:s,mainWindowMinimized:i,enableAuthForm:_,viewState:n,isQueue:l,webRtcCodecs:c,onStartChat:(D=!1)=>{n.value=function hT(e,t,n){return!e&&(t!==xt.None||n)}(m.myChatService.auth,a.value,Q.gdprEnabled)&&_.value&&!D?we.Authenticate:we.Chat,P.enableFullScreen&&P.goFullScreen(),o.value=!1,i.value=!1},authenticateFormSubmit:()=>{m.eventBus.onChatInitiated.next(!0),n.value=we.Chat,i.value=!1},loadChannelInfo:re,authenticationType:a,eventBus:I}}},[["render",function vT(e,t,n,a,o,i){const r=de("IntroForm"),s=de("AuthenticateForm"),l=de("MainForm"),c=de("MinimizedBubble");return a.delayElapsed&&!a.isHidden?(O(),U("div",bT,["INTRO"===a.chatForm?(O(),Ie(r,{key:0,startMinimized:a.authWindowMinimized,config:a.config,webRtcCodecs:a.webRtcCodecs,operator:a.operator,onChat:a.onStartChat},null,8,["startMinimized","config","webRtcCodecs","operator","onChat"])):"AUTH"===a.chatForm?(O(),Ie(s,{key:1,startMinimized:a.authWindowMinimized,config:a.config,chatEnabled:a.isChatEnabled,operator:a.operator,onSubmitAuth:a.authenticateFormSubmit},null,8,["startMinimized","config","chatEnabled","operator","onSubmitAuth"])):"CHAT"===a.chatForm?(O(),Ie(l,{key:2,chatEnabled:a.isChatEnabled,chatOnline:a.chatOnline,isQueue:a.isQueue,startMinimized:a.mainWindowMinimized,operator:a.operator,config:a.config,enableAuthForm:a.enableAuthForm},null,8,["chatEnabled","chatOnline","isQueue","startMinimized","operator","config","enableAuthForm"])):"DISABLED"===a.chatForm?(O(),Ie(c,{key:3,collapsed:!0,config:a.config,operator:a.operator,paneltate:a.viewState,disabled:!0},null,8,["config","operator","paneltate"])):ie("",!0)],512)):ie("",!0)}],["styles",["*{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}"]]]);class AT extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const t=this.getAttribute("phonesystem-url");this.getAttribute("auto");const n=this.getAttribute("party");n&&t&&this.init(n,t)}init(t,n){var a=this;return(0,Ao.A)(function*(){const o=new URL(`/MyPhone/config/${t}`,n);return fetch(o.href).then(i=>{if(!i.ok)throw new Error("Information request failed");return i.json()}).then(i=>{var r,s,l,c;const d="PhoneOnly"===(null==(r=i.Advanced)?void 0:r.CommunicationOptions),f=d?mm(i,o.href):Os(i,o.href),p=document.createElement(d?"call-us-phone":"call-us");if(null!=(s=i.Styling)&&s.UseRubik){const h=document.createElement("style");h.setAttribute("type","text/css"),h.appendChild(document.createTextNode("@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap');")),document.head.appendChild(h)}p.setAttribute("lang",(null==(l=i.ChatBox)?void 0:l.LiveChatLanguage)??"browser"),Array.from(a.attributes).filter(h=>h&&h.name&&h.value).forEach(h=>{p.setAttribute(h.name,h.value)}),f.filter(h=>h).forEach(h=>{const m=a.getAttribute(h.name);p.setAttribute(h.name,m||h.value)}),null==(c=a.shadowRoot)||c.appendChild(p),a.addEventListener("keydown",h=>{h.stopPropagation()})}).catch(i=>{var r;const s=document.createElement("call-us");s.setAttribute("lang","browser"),Os({},o.href).filter(l=>l).forEach(l=>{const c=a.getAttribute(l.name);s.setAttribute(l.name,c||l.value)}),null==(r=a.shadowRoot)||r.appendChild(s)})})()}}const wT={key:0,class:L([["root-cb"]])},CT=["src"],_T={key:1,autoplay:""},MT=Ge(We({__name:"call-button",props:{disabled:{type:Boolean,default:!1},allowCall:{type:Boolean,default:!1},callTitle:{default:"",type:String},demo:{type:Boolean,default:!1}},setup(e){const t=e,n=t.demo?null:he(tn,null),{makeCall:a,dropCall:o}=t.demo||!n?{makeCall:()=>{},dropCall:()=>{}}:Ds(n),i=Z(!1),r=$(()=>t.demo?i.value:n?.hasCall.value??!1),s=()=>{t.demo?i.value=!0:a()},l=()=>{t.demo?i.value=!1:o()},c=nr;return(d,f)=>{var p,h;return Me(n)||e.demo?(O(),U("div",wT,[!e.demo&&null!=(p=Me(n))&&p.audioNotificationUrl.value?(O(),U("audio",{key:0,src:Me(n).audioNotificationUrl.value,autoplay:"",loop:""},null,8,CT)):ie("",!0),!e.demo&&null!=(h=Me(n))&&h.remoteStream.value?aa((O(),U("audio",_T,null,512)),[[Me(c),Me(n).remoteStream.value]]):ie("",!0),r.value?(O(),Ie(nf,{key:3,ref:"singleButton",class:L([["minimized-button"],"bubble",["button-end-call"]]),onClick:l},{default:Qt(()=>[me(Me(oi))]),_:1},512)):(O(),Ie(nf,{key:2,disabled:!e.demo&&(!Me(ni)||e.disabled),class:L([["minimized-button"],"bubble"]),title:e.callTitle,onClick:s},{default:Qt(()=>[me(Me(oi))]),_:1},8,["disabled","title"]))])):ie("",!0)}}}),[["styles",["*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}
1to{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))}"]]]),kT={key:0,id:"callus-phone-container"},TT=Ge(We({__name:"call-us-phone",props:tm,setup(e){const t=e,n=Z(we.None),a=Z(!1),o=Z(!1),i="true"===t.demo,r=nm(t,!0),s=Lt(r.eventBus),l=new pm(r.myChatService,i,!1),{t:c}=rn.global,d=Nt();Vt(tn,l),Vt(Wt,s);const f=$(()=>{switch(t.animationStyle.toLowerCase()){case"slideleft":return["slideLeft"];case"slideright":return["slideRight"];case"fadein":return["fadeIn"];case"slideup":return["slideUp"]}return[]}),p=$(()=>ja()&&"false"===t.enableOnmobile||"false"===t.enable),h=$(()=>n.value===we.Disabled),b=$(()=>n.value!==we.Disabled?Rt(0,[Ba(t.callTitle??c("Inputs.CallTitle"),250),c("Inputs.CallTitle").toString()]):"");return It(()=>{dm(l,d),setTimeout(()=>{a.value=!0},t.chatDelay),!p.value&&(d.add(s.onError.subscribe({next:g=>alert(Wu(g))})),d.add(r.info$.subscribe({next:g=>{(g=>!g.isAvailable)(g)&&(n.value=we.Disabled),l.webRTCControlService.setWebRtcCodecs(g.webRtcCodecs)},error:g=>{console.log(g),n.value=we.Disabled}})))}),dc(()=>{d.unsubscribe(),o.value=!0}),(g,v)=>a.value&&!o.value?(O(),U("div",kT,[H("div",{class:L([f.value,p.value?"":["root-phone"]])},[p.value?ie("",!0):(O(),Ie(MT,{key:0,allowCall:!0,callTitle:b.value,disabled:h.value,demo:i},null,8,["callTitle","disabled"]))],2)])):ie("",!0)}}),[["styles",["*{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}
1.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}"]]]);function mg(e){e.use(rn)}window.customElements.define("call-us-selector",AT),window.customElements.define("call-us",op(yT,{configureApp:mg})),window.customElements.define("call-us-phone",op(TT,{configureApp:mg}));var RT=le(54381),FT=le(84572),LT=le(50644),PT=le(33971),DT=le(83188);let BT=(()=>{class e{static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["app-wordpress-brands-icon"],["","app-wordpress-brands-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M61.7 169.4l101.5 278C92.2 413 43.3 340.2 43.3 256c0-30.9 6.6-60.1 18.4-86.6zm337.9 75.9c0-26.3-9.4-44.5-17.5-58.7-10.8-17.5-20.9-32.4-20.9-49.9 0-19.6 14.8-37.8 35.7-37.8.9 0 1.8.1 2.8.2-37.9-34.7-88.3-55.9-143.7-55.9-74.3 0-139.7 38.1-177.8 95.9 5 .2 9.7.3 13.7.3 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l77.5 230.4L249.8 247l-33.1-90.8c-11.5-.7-22.3-2-22.3-2-11.5-.7-10.1-18.2 1.3-17.5 0 0 35.1 2.7 56 2.7 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l76.9 228.7 21.2-70.9c9-29.4 16-50.5 16-68.7zm-139.9 29.3l-63.8 185.5c19.1 5.6 39.2 8.7 60.1 8.7 24.8 0 48.5-4.3 70.6-12.1-.6-.9-1.1-1.9-1.5-2.9l-65.4-179.2zm183-120.7c.9 6.8 1.4 14 1.4 21.9 0 21.6-4 45.8-16.2 76.2l-65 187.9C426.2 403 468.7 334.5 468.7 256c0-37-9.4-71.8-26-102.1zM504 256c0 136.8-111.3 248-248 248C119.2 504 8 392.7 8 256 8 119.2 119.2 8 256 8c136.7 0 248 111.2 248 248zm-11.4 0c0-130.5-106.2-236.6-236.6-236.6C125.5 19.4 19.4 125.5 19.4 256S125.6 492.6 256 492.6c130.5 0 236.6-106.1 236.6-236.6z"]],template:function(a,o){1&a&&(Ae.qSk(),u.rj2(0,"svg",0),u.Hgh(1,"path",1),u.eux())},encapsulation:2})}return e})(),jT=(()=>{class e{static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["app-copy-light-icon"],["","app-copy-light-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M448 352H288c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32H396.1c4.2 0 8.3 1.7 11.3 4.7l67.9 67.9c3 3 4.7 7.1 4.7 11.3V320c0 17.7-14.3 32-32 32zM497.9 81.9L430.1 14.1c-9-9-21.2-14.1-33.9-14.1H288c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V115.9c0-12.7-5.1-24.9-14.1-33.9zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H224c35.3 0 64-28.7 64-64V416H256v32c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32H192V128H64z"]],template:function(a,o){1&a&&(Ae.qSk(),u.rj2(0,"svg",0),u.Hgh(1,"path",1),u.eux())},encapsulation:2})}return e})();var UT=le(2275),zT=le(15792),qT=le(19158);const GT=e=>({p1:e});let $T=(()=>{class e{route=(0,Ae.WQX)(wa.nX);router=(0,Ae.WQX)(wa.Ix);fb=(0,Ae.WQX)(q.ok);translateService=(0,Ae.WQX)(Xn.c$);defsService=(0,Ae.WQX)(RT.G);webLink;$fqdn;form;constructor(){this.form=this.fb.group({email:[null,[q.k0.required,q.k0.email]]})}ngOnInit(){this.webLink=this.route.snapshot.data.data,this.$fqdn=this.defsService.getSystemParameters().pipe((0,yo.T)(n=>n.PbxExternalHost),(0,LT.H9)())}getSnippet(){return this.$fqdn.pipe((0,yo.T)(n=>{let a,o;this.webLink.Advanced?.CommunicationOptions===Sn.t.PhoneOnly?(a=mm(this.webLink,`https://${n}`),o="call-us-phone"):(a=Os(this.webLink,`https://${n}`),o="call-us");const i=a.map(r=>r?{...r,value:r.value.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}:null);return function WT(e,t){return`\x3c!--Use the below code snippet to provide real time updates to the live chat plugin without the need of copying and paste each time to your website when changes are made via PBX--\x3e\n<call-us-selector phonesystem-url="${t}" party="${e}"></call-us-selector>\n`}(this.webLink.Link,`https://${n}`)+function YT(e,t){return["\x3c!--Incase you don't want real time updates to the live chat plugin when options are changed, use the below code snippet. Please note that each time you change the settings you will need to copy and paste the snippet code to your website--\x3e",`\x3c!--<${t}`,...e.map(i=>function VT(e){return e?`${e.name}="${e.value}"`:""}(i)),`></${t}>--\x3e`,'<script defer src="https://downloads-global.3cx.com/downloads/livechatandtalk/v1/callus.js" id="tcx-callus-js" charset="utf-8"><\/script>'].filter(i=>i).reduce((i,r)=>i+" \n"+r,"")}(i,o)}))}getEmailSnippet(){return this.$fqdn.pipe((0,yo.T)(n=>`<call-us-selector phonesystem-url="https://${n}" party="${this.webLink.Link}"></call-us-selector>\r<script defer src="https://downloads-global.3cx.com/downloads/livechatandtalk/v1/callus.js" id="tcx-callus-js" charset="utf-8"><\/script>`))}getCopyLink(){return this.$fqdn.pipe((0,yo.T)(n=>
1new URL(`/${this.webLink.Link}`,`https://${n}`).toString()))}sendToEmailAddress(){this.form.invalid||(0,FT.z)([this.getEmailSnippet(),this.getCopyLink()]).subscribe(([n,a])=>{(0,PT.b8)(this.initialMailTemplate(n,a))})}initialMailTemplate(n,a){const o="mailto:"+this.form.value.email,i="?subject="+encodeURIComponent(this.translateService.instant("_i18n.EmailSubjectToWebmaster",{WebsiteURL:this.webLink.Website})),r=this.translateService.instant(["_i18n.EmailBody1ToWebmaster","_i18n.EmailBody2ToWebmaster","_i18n.EmailBody3ToWebmaster","_i18n.EmailBody4ToWebmaster","_i18n.EmailBody5ToWebmaster","_i18n.EmailBody6ToWebmaster","_i18n.EmailBody7ToWebmaster"],{WebsiteURL:this.webLink.Website,WordpressPlugin:"https://wordpress.org/plugins/wp-live-chat-support/",CodeSnippet:n,WordpressURL:a,HelpDocuments:"Drupal: https://www.3cx.com/docs/drupal-live-chat/\r\nJoomla: https://www.3cx.com/docs/joomla-live-chat/\r\nSquarespace: https://www.3cx.com/docs/squarespace-live-chat/\r\nWeebly: https://www.3cx.com/docs/weebly-live-chat/\r\nWix: https://www.3cx.com/docs/wix-live-chat/"});return o+i+"&body="+encodeURIComponent(r["_i18n.EmailBody1ToWebmaster"]+r["_i18n.EmailBody2ToWebmaster"]+r["_i18n.EmailBody3ToWebmaster"]+r["_i18n.EmailBody4ToWebmaster"]+r["_i18n.EmailBody5ToWebmaster"]+r["_i18n.EmailBody6ToWebmaster"]+r["_i18n.EmailBody7ToWebmaster"])}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["ng-component"]],decls:73,vars:67,consts:[["header","_i18n.BackToNumbersAndMessaging",3,"back"],["href","https://www.3cx.com/docs/shopify-live-chat/","target","_blank","rel","noopener",1,"link"],["href","https://www.3cx.com/docs/drupal-live-chat/","target","_blank","rel","noopener",1,"link"],["href","https://www.3cx.com/docs/joomla-live-chat/","target","_blank","rel","noopener",1,"link"],["href","https://www.3cx.com/docs/squarespace-live-chat/","target","_blank","rel","noopener",1,"link"],["href","https://www.3cx.com/docs/wix-live-chat/","target","_blank","rel","noopener",1,"link"],["href","https://www.3cx.com/docs/weebly-live-chat/","target","_blank","rel","noopener",1,"link"],[1,"d-flex","flex-column","flex-md-row","align-items-center","py-4","justify-content-md-center","gap-4"],[1,"d-flex","flex-column","gap-3","align-items-center"],[1,"action-picture"],[3,"innerHTML"],["data-qa","get-copy-link",3,"source","showActionText"],[1,"my-4"],["data-qa","get-snippet",3,"source"],[1,"link"],[3,"formGroup"],[1,"form-label"],[1,"input-group","gap-2"],["data-qa","email","type","text","formControlName","email",1,"form-control",3,"placeholder"],["data-qa","send","type","button",1,"btn","btn-primary",3,"click"],["controlName","email"]],template:function(a,o){1&a&&(u.j41(0,"app-page",0),u.bIt("back",function(){return o.router.navigate(["../../.."],{relativeTo:o.route})}),u.j41(1,"fieldset")(2,"legend"),u.EFF(3),u.nI1(4,"translate"),u.k0s(),u.j41(5,"p"),u.EFF(6),u.nI1(7,"translate"),u.j41(8,"a",1),u.EFF(9),u.nI1(10,"translate"),u.k0s(),u.EFF(11,", "),u.j41(12,"a",2),u.EFF(13),u.nI1(14,"translate"),u.k0s(),u.EFF(15,", "),u.j41(16,"a",3),u.EFF(17),u.nI1(18,"translate"),u.k0s(),u.EFF(19,", "),u.j41(20,"a",4),u.EFF(21),u.nI1(22,"translate"),u.k0s(),u.EFF(23,", "),u.j41(24,"a",5),u.EFF(25),u.nI1(26,"translate"),u.k0s(),u.j41(27,"span"),u.EFF(28),u.nI1(29,"translate"),u.k0s(),u.j41(30,"a",6),u.EFF(31),u.nI1(32,"translate"),u.k0s()(),u.j41(33,"div",7)(34,"div",8),u.nrm(35,"app-wordpress-brands-icon",9),u.j41(36,"div"),u.nrm(37,"span",10),u.nI1(38,"appLinkify"),u.nI1(39,"translate"),u.nI1(40,"safeHtml"),u.EFF(41,"\xa0 "),u.j41(42,"span"),u.EFF(43),u.nI1(44,"translate"),u.k0s(),u.EFF(45,"\xa0 "),u.nrm(46,"app-simple-copy",11),u.nI1(47,"async"),u.k0s()(),u.j41(48,"h3",12),u.EFF(49),u.nI1(50,"translate"),u.k0s(),u.j41(51,"div",8),u.nrm(52,"app-copy-light-icon",9),u.j41(53,"app-simple-copy",13),u.nI1(54,"async"),u.j41(55,"a",14),u.EFF(56),u.nI1(57,"translate"),u.k0s()()()()(),u.j41(58,"fieldset")(59,"legend"),u.EFF(60),u.nI1(61,"translate"),u.k0s(),u.j41(62,"div",15)(63,"label",16),u.EFF(64),u.nI1(65,"translate"),u.k0s(),u.j41(66,"div",17),u.nrm(67,"input",18),u.nI1(68,"translate"),u.j41(69,"button",19),u.bIt("click",function(){return o.sendToEmailAddress()}),u.EFF(70),u.nI1(71,"translate"),u.k0s()(),u.nrm(72,"val-errors",20),u.k0s()()()),2&a&&(u.R7$(3),u.JRh(u.bMT(4,21,"_i18n.WebsiteInformationHeader")),u.R7$(3),u.SpI(" ",u.bMT(7,23,"_i18n.WebsiteInformationBody")," "),u.R7$(3),u.JRh(u.bMT(10,25,"_i18n.Shopify")),u.R7$(4),u.JRh(u.bMT(14,27,"_i18n.Drupal")),u.R7$(4),u.JRh(u.bMT(18,29,"_i18n.Joomla")),u.R7$(4),u.JRh(u.bMT(22,31,"_i18n.Squarespace")),u.R7$(4),u.JRh(u.bMT(26,33,"_i18n.Wix")),u.R7$(3),u.SpI(" ",u.bMT(29,35,"_i18n.And")," "),u.R7$(3),u.JRh(u.bMT(32,37,"_i18n.Weebly")),u.R7$(6),u.Y8G("innerHTML",u.bMT(40,45,u.i5U(39,42,"_i18n.InstallWordpressPlugin",u.eq3(65,GT,u.i5U(38,39,"https://wordpress.org/plugins/wp-live-chat-support/","WordPress")))),u.npT),u.R7$(6),u.SpI(" ",u.bMT(44,47,"_i18n.And")," "),u.R7$(3),u.Y8G("source",u.bMT(47,49,o.getCopyLink()))("showActionText",!0),u.R7$(3),u.SpI(" ",u.bMT(50,51,"_i18n.Or")," "),u.R7$(4),u.Y8G("source",u.bMT(54,53,o.getSnippet())),u.R7$(3),u.JRh(u.bMT(57,55,"_i18n.CopySnippet")),u.R7$(4),u.JRh(u.bMT(61,57,"_i18n.SendInstructions")),u.R7$(2),u.Y8G("formGroup",o.form),u.R7$(2),u.JRh(u.bMT(65,59,"_i18n.SendEmailToYourWebmaster")),u.R7$(3),u.Y8G("placeholder",u.bMT(68,61,"_i18n.EnterEmailAddress")),u.R7$(3),u.JRh(u.bMT(71,63,"_i18n.Send")))},dependencies:[DT.H,BT,UT.T,jT,q.X1,q.me,q.BC,q.cb,q.j4,q.JD,Ya.IH,Xn.D9,Al.Jj,zT.F,qT.$],styles:[".action-picture[_ngcontent-%COMP%]{--svg-size: 150px;--svg-color: currentColor}"]})}return e})();const QT=["placeholder1"];let JT=(()=>{class e{placeholder1;settings;fullForm;ngAfterViewInit(){this.refresh(this.fullForm)}ngOnChanges(n){JSON.stringify(n.fullForm.previousValue)!==JSON.stringify(n.fullForm.currentValue)&&n.fullForm.previousValue?.Link===n.fullForm.currentValue?.Link&&n.fullForm.previousValue?.Website===n.fullForm.currentValue?.Website&&n.fullForm.previousValue?.DN?.Number===n.fullForm.currentValue?.DN?.Number&&n.fullForm.previousValue?.Styling?.Style===n.fullForm.currentValue?.Styling?.Style&&this.refresh(n.fullForm.currentValue)}myTimeout;refresh(n){const{Group:a,...o}=n,i=function HT(e,t){const n=document.createElement(t,{});return n.setAttribute("demo","true"),e.filter(a=>"style"!==a?.name).filter(a=>"chat-delay"!==a?.name).forEach(a=>{a&&n.setAttribute(a.name,a.value)}),n}(Os({...o,Styling:{...o.Styling,Animation:"NoAnimation"}},"https://example.com:5001/"),o.Advanced?.CommunicationOptions===Sn.t.PhoneOnly?"call-us-phone":"call-us");i.setAttribute("style","display: none"),this.placeholder1.nativeElement.append(i),this.myTimeout&&clearTimeout(this.myTimeout),this.myTimeout=setTimeout(()=>{i.removeAttribute("style"),this.placeholder1.nativeElement.replaceChildren(i)})}ngOnDestroy(){this.myTimeout&&clearTimeout(this.myTimeout)}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["app-live-chat-docker"]],viewQuery:function(a,o){if(1&a&&u.GBs(QT,7),2&a){let i;u.mGM(i=u.lsd())&&(o.placeholder1=i.first)}},inputs:{fullForm:"fullForm"},features:[u.OA$],decls:2,vars:0,consts:[["placeholder1",""]],template:function(a,o){1&a&&u.Hgh(0,"div",null,0)},styles:["[_nghost-%COMP%]{min-width:300px;display:flex;height:100%;padding-bottom:20px;padding-top:20px;justify-content:flex-end;align-items:flex-end}"]})}return e})();var KT=le(96106);const ZT=["tabsetComponent"];let gg=(()=>{class e{route=(0,Ae.WQX)(wa.nX);router=(0,Ae.WQX)(wa.Ix);destroyService=(0,Ae.WQX)(Ae.abz);websiteLinksApiService=(0,Ae.WQX)(gr.m);webLink;tabsetComponent;get edit(){return!!this.webLink.Id}get formValue(){return this.form.value}get f(){return this.form.controls}form;
1constructor(){this.webLink=this.route.snapshot.data.data??function Mg(){return{Website:[],Name:"",Link:`LiveChat${Math.trunc(1e6*Math.random())}`,ChatEnabled:!0,CallsEnabled:!0,DefaultRecord:!1,Translations:{OfflineNameMessage:"",OfflineEmailMessage:"",OfflineFormInvalidName:"",OfflineFormMaximumCharactersReached:"",OfflineFormInvalidEmail:"",InviteMessage:"",AuthenticationMessage:"",UnavailableMessage:"",OfflineFinishMessage:"",EndingMessage:"",FirstResponseMessage:"",StartChatButtonText:"",WindowTitle:"",GdprMessage:"",GreetingMessage:"",GreetingOfflineMessage:""},Styling:{Animation:"NoAnimation",Minimized:!0,Style:""},General:{Authentication:"Both",Greeting:"DesktopAndMobile",DisableOfflineMessages:!1,GdprEnabled:!1,EnableOnMobile:!0,AllowSoundNotifications:!0,EnableGA:!1},Advanced:{IgnoreQueueOwnership:!1,EnableDirectCall:!0,CommunicationOptions:"PhoneAndChat",CallTitle:""},ChatBox:{MinimizedStyle:"BottomRight",ButtonIconType:"Default",ButtonIconUrl:"",Height:"28.5vh",LiveChatLanguage:"browser",LiveMessageUserinfoFormat:"Both",OperatorName:"",ShowOperatorActualName:!0,MessageDateformat:"Both",ChatDelay:2e3,WindowIcon:"",OperatorIcon:""},DN:void 0}}(),this.form=function Eg(e,t){let n,a=!1;return e.Id?e.Group?n=vo.MQ.groups(t).find(o=>o.Number===e.Group)??null:(n=null,a=!vo.MQ.groupsAccess(t)):n=(0,vo.Qz)(t),new q.gE({Id:new q.MJ(e.Id??null),DN:new q.MJ(e.DN??xg(t),{validators:vl.h3,nonNullable:!0}),Website:new q.MJ(e.Website||[],{validators:[q.k0.required,vl.LI],nonNullable:!0}),EnableReCaptcha:new q.MJ(e.EnableReCaptcha||!1),Group:new q.MJ({value:n,disabled:a}),DefaultRecord:new q.MJ(e.DefaultRecord||!1),ChatEnabled:new q.MJ(e.ChatEnabled||!1),CallsEnabled:new q.MJ(e.CallsEnabled||!1),Name:new q.MJ(e.Name||""),Link:new q.MJ(e.Link||"",{nonNullable:!0}),Translations:new q.gE({OfflineNameMessage:new q.MJ(e.Translations?.OfflineNameMessage||""),OfflineEmailMessage:new q.MJ(e.Translations?.OfflineEmailMessage||""),OfflineFormInvalidName:new q.MJ(e.Translations?.OfflineFormInvalidName||""),OfflineFormMaximumCharactersReached:new q.MJ(e.Translations?.OfflineFormMaximumCharactersReached||""),OfflineFormInvalidEmail:new q.MJ(e.Translations?.OfflineFormInvalidEmail||""),InviteMessage:new q.MJ(e.Translations?.InviteMessage||""),AuthenticationMessage:new q.MJ(e.Translations?.AuthenticationMessage||""),UnavailableMessage:new q.MJ(e.Translations?.UnavailableMessage||""),OfflineFinishMessage:new q.MJ(e.Translations?.OfflineFinishMessage||""),EndingMessage:new q.MJ(e.Translations?.EndingMessage||""),StartChatButtonText:new q.MJ(e.Translations?.StartChatButtonText||""),FirstResponseMessage:new q.MJ(e.Translations?.FirstResponseMessage||""),WindowTitle:new q.MJ(e.Translations?.WindowTitle||""),GdprMessage:new q.MJ({value:e.Translations?.GdprMessage||"",disabled:!e.General?.GdprEnabled}),GreetingMessage:new q.MJ(e.Translations?.GreetingMessage||""),GreetingOfflineMessage:new q.MJ(e.Translations?.GreetingOfflineMessage||"")}),Styling:new q.gE({Animation:new q.MJ(e.Styling?.Animation||"SlideUp"),Style:new q.MJ(e.Styling?.Style||""),Minimized:new q.MJ(e.Styling?.Minimized||!1),UseRubik:new q.MJ(e.Styling?.UseRubik||!1)}),General:new q.gE({Greeting:new q.MJ(e.General?.Greeting||"Disabled"),DisableOfflineMessages:new q.MJ(e.General?.DisableOfflineMessages??null),GdprEnabled:new q.MJ(e.General?.GdprEnabled||!1),EnableOnMobile:new q.MJ(e.General?.EnableOnMobile||!1),AllowSoundNotifications:new q.MJ(e.General?.AllowSoundNotifications||!1),EnableGA:new q.MJ(e.General?.EnableGA||!1),Authentication:new q.MJ(e.General?.Authentication||_g.n.None)}),Advanced:new q.gE({IgnoreQueueOwnership:new q.MJ(e.Advanced?.IgnoreQueueOwnership||!1),EnableDirectCall:new q.MJ(e.Advanced?.EnableDirectCall||!1),CommunicationOptions:new q.MJ(e.Advanced?.CommunicationOptions||"PhoneAndChat",vl.yE),CallTitle:new q.MJ(e.Advanced?.CallTitle||"")}),ChatBox:new q.gE({MinimizedStyle:new q.MJ(e.ChatBox?.MinimizedStyle||"BubbleLeft"),Height:new q.MJ(e.ChatBox?.Height||"28.5vh"),LiveChatLanguage:new q.MJ(e.ChatBox?.LiveChatLanguage||"browser"),LiveMessageUserinfoFormat:new q.MJ(e.ChatBox?.LiveMessageUserinfoFormat||"Avatar"),ShowOperatorActualName:new q.MJ(e.ChatBox?.ShowOperatorActualName||!1),OperatorName:new q.MJ(e.ChatBox?.OperatorName||""),MessageDateformat:new q.MJ(e.ChatBox?.MessageDateformat||"Date"),ChatDelay:new q.MJ(e.ChatBox?.ChatDelay||1e3),WindowIcon:new q.MJ(e.ChatBox?.WindowIcon||""),OperatorIcon:new q.MJ(e.ChatBox?.OperatorIcon||""),ButtonIconType:new q.MJ(e.ChatBox?.ButtonIconType||ci.Default),ButtonIconUrl:new q.MJ(e.ChatBox?.ButtonIconUrl||"")})})}(this.webLink,this.route)}ngOnInit(){this.formValue.Id&&this.form.markAllAsTouched(),this.General.controls.GdprEnabled.valueChanges.pipe((0,Rf.pQ)(this.destroyService)).subscribe(n=>{const a=this.Translations.controls.GdprMessage;n?a?.enable():(a?.reset(),a?.disable())}),this.Advanced.controls.CommunicationOptions.valueChanges.pipe((0,Rf.pQ)(this.destroyService)).subscribe(n=>{this.Advanced.controls.EnableDirectCall.patchValue(n!==Sn.t.ChatOnly)})}get Advanced(){return this.f.Advanced}get General(){return this.f.General}get Translations(){return this.f.Translations}get dn(){return this.f.DN}get icon(){return this.f.ChatBox.controls.OperatorIcon}get website(){return this.f.Website}get communicationOption(){return this.Advanced.controls.CommunicationOptions}get tabGeneral(){return(0,li.S)([this.dn,this.website,this.communicationOption])}get tabAgent(){return(0,li.S)([this.icon])}get isNew(){return null==this.formValue.Id}navigateToList(){return this.router.navigate(this.isNew?["../.."]:["../../.."],{relativeTo:this.route})}onValidation(){this.tabsetComponent&&(0,li.q)(this.tabsetComponent,[this.tabGeneral,(0,Ca.of)(!1),(0,Ca.of)(!1),this.tabAgent]),this.showValidation=!0}
1showValidation;save$=()=>{let n;const{Group:a,...o}=this.form.value,i={...o,Group:a?.Number??""};return n=this.isNew?this.websiteLinksApiService.createWeblink({pbxWeblink:i}):this.websiteLinksApiService.updateWeblink({link:this.webLink.Link,pbxWeblink:i}).pipe((0,KT.Pr)("_i18n.LiveChatNotFoundErrorMessage")),n.pipe((0,Nf.n)(()=>this.isNew?this.router.navigate(["../info",this.formValue.Link],{relativeTo:this.route}):this.navigateToList()))};static \u0275fac=function(a){return new(a||e)};static \u0275cmp=u.VBU({type:e,selectors:[["ng-component"]],viewQuery:function(a,o){if(1&a&&u.GBs(ZT,5),2&a){let i;u.mGM(i=u.lsd())&&(o.tabsetComponent=i.first)}},decls:19,vars:18,consts:[["tabsetComponent",""],["helpUrl","_i18n.LiveChatUri",3,"back","showValidation","formGroup","save$","isNewEntity","header"],[1,"row"],[1,"col"],["data-qa","tabs"],["id","generals"],[3,"form","invalid"],["id","styling"],[3,"form"],["id","messages"],[3,"form","showValidation"],["id","agent"],[3,"form","showValidation","invalid"],["id","advanced"],["data-qa","advance-tab",3,"form"],[1,"col-lg-auto","col-12","livechat-container"],["data-qa","live-chat-docker",3,"fullForm"]],template:function(a,o){1&a&&(u.j41(0,"edit-panel",1),u.bIt("back",function(){return o.navigateToList()})("showValidation",function(){return o.onValidation()}),u.j41(1,"div",2)(2,"div",3)(3,"tabset",4,0)(5,"tab",5),u.nrm(6,"app-general-tab",6),u.nI1(7,"async"),u.k0s(),u.j41(8,"tab",7),u.nrm(9,"app-styling-tab",8),u.k0s(),u.j41(10,"tab",9),u.nrm(11,"app-messages-tab",10),u.k0s(),u.j41(12,"tab",11),u.nrm(13,"app-agent-tab",12),u.nI1(14,"async"),u.k0s(),u.j41(15,"tab",13),u.nrm(16,"app-advanced-tab",14),u.k0s()()(),u.j41(17,"div",15),u.nrm(18,"app-live-chat-docker",16),u.k0s()()()),2&a&&(u.Y8G("formGroup",o.form)("save$",o.save$)("isNewEntity",!o.edit)("header",o.edit?"_i18n.EditLiveChat":"_i18n.AddLiveChat"),u.R7$(6),u.Y8G("form",o.form)("invalid",u.bMT(7,14,o.tabGeneral)),u.R7$(3),u.Y8G("form",o.form),u.R7$(2),u.Y8G("form",o.form)("showValidation",o.showValidation),u.R7$(2),u.Y8G("form",o.form)("showValidation",o.showValidation)("invalid",u.bMT(14,16,o.tabAgent)),u.R7$(3),u.Y8G("form",o.form),u.R7$(2),u.Y8G("fullForm",o.formValue))},dependencies:[kg.Q,q.X1,q.cb,q.j4,cn.fw,cn.V6,Zg,yb,kb,Tb,Fb,JT,Al.Jj],styles:["@media(max-width:1399.98px){.d-xxl-down-none[_ngcontent-%COMP%], .xxl-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:1199.98px){.d-xl-down-none[_ngcontent-%COMP%], .xl-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:991.98px){.d-lg-down-none[_ngcontent-%COMP%], .lg-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:767.98px){.d-md-down-none[_ngcontent-%COMP%], .md-visible[_ngcontent-%COMP%]{display:none!important}}@media(max-width:575.98px){.d-sm-down-none[_ngcontent-%COMP%], .sm-visible[_ngcontent-%COMP%]{display:none!important}}@media(min-width:992px){.livechat-container[_ngcontent-%COMP%]{height:630px;padding-top:20px}}"]})}return e})();var XT=le(99437),e8=le(19037);const bg=e=>{const t=(0,Ae.WQX)(gr.m),n=(0,Ae.WQX)(e8.s);return t.getWeblink({link:e.params.id,$expand:["DN"]}).pipe((0,XT.W)(a=>n.handleError(a)))};var vg=le(36463);const t8=[{path:"edit/:id",component:gg,resolve:{params:vg.cT,data:bg,...vo.T4}},{path:"info/:id",component:$T,resolve:{data:bg}},{path:"new",component:gg,resolve:{params:vg.cT,...vo.T4}}]},19158(bl,Va,le){le.d(Va,{$:()=>Sn});var Ae=le(85802),wa=le(345),gr=le(35547);let Sn=(()=>{class Ca{sanitizer=(0,Ae.WQX)(wa.up);transform(cn){return cn&&this.sanitizer.bypassSecurityTrustHtml(cn)}static \u0275fac=function(li){return new(li||Ca)};static \u0275pipe=gr.EJ8({name:"safeHtml",type:Ca,pure:!0})}return Ca})()},26725(bl,Va,le){le.d(Va,{u:()=>wa});var Ae=le(65310);const wa=[{value:Ae.n.Both,label:"_i18n.NameAndEmailAddress"},{value:Ae.n.Name,label:"_i18n.Name"},{value:Ae.n.Email,label:"_i18n.Email"},{value:Ae.n.None,label:"_i18n.None"}]},65310(bl,Va,le){le.d(Va,{n:()=>Ae});const Ae={Both:"Both",Name:"Name",Email:"Email",None:"None"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.