PageSourceSearch

https://linuxliteracy.com/main.f446a78cadfd9b0f.js

js linuxliteracy.com collected 2026-10-05 05:29:08 UTC 2,107,170 bytes, 1 lines download raw bytes

1(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[8792],{81753(ot,V,l){"use strict";l.d(V,{AS:()=>_,HF:()=>C,_E:()=>o,eI:()=>g,fE:()=>d,mG:()=>h});var f=l(25916);const g="???",h=-1;function _(M){return!!M&&(M.Allowed===h||M.Used<M.Allowed)}function C(M,A,D){if(M){const w=M.split("."),O=function y(M){return M?M===f.K.MajorRelease?"Major Release":M:""}(A);return`${w[0]}.${w[1]} Update ${w[2]} (Build ${w[3]}${O?" "+O:""}${D?` - AI ${D}`:""})`}return null}function o(M){if(M){const A=M.split(".");return`${A[0]}.${A[1]}`}return null}function d(M,A){return M+(A?` (${A})`:"")}},83185(ot,V,l){"use strict";l.d(V,{$z:()=>d,Bl:()=>x,D8:()=>O,DN:()=>y,G0:()=>N,Gp:()=>M,Lt:()=>A,PZ:()=>o,U:()=>w,XT:()=>D});var f=l(7673),g=l(96354),h=l(25558),_=l(74237),C=l(59053);const o=[{label:"_i18n.AllUsersExceptThese",value:_.c.SyncAllUsersExceptSelected},{label:"_i18n.OnlyTheseUsers",value:_.c.SyncSelected},{label:"_i18n.SyncOnlyTheseGroups",value:_.c.SyncSelectedGroups}],y=[{label:"_i18n.AllUsersExceptThese",value:_.c.SyncAllUsersExceptSelected},{label:"_i18n.OnlyTheseUsers",value:_.c.SyncSelected}],d=(q,K)=>q.reduce((te,H)=>{const ee=K(H);return te[ee]||(te[ee]=[]),te[ee].push(H),te},{});function M(q,K){const te=q.value?.filter(H=>H.Phones&&H.Phones.length>0).map(H=>H.Phones[0].MacAddress).filter(w).filter(H=>C.QI.test(H))??[];return 0===te.length?(0,f.of)({value:[]}):K.getPhoneRegistrars({usersGetPhoneRegistrarsRequestBody:{macs:te}})}function A(){document.location.href=""}function D(q,K){if(!q)return"";if(q.length>K){const te=q.slice(0,K);return te.push("..."),te.join(", ")}return q.join(", ")}function w(q){return!!q}function O(q){return q.myPhoneSession.pipe((0,h.n)(K=>K.systemParameters$),(0,g.T)(K=>K.MultiCompanyMode))}function x(q,K){try{return JSON.parse(q)}catch{return K}}function N(q){return q.replaceAll("\r","").replaceAll("\n","</br>")}},37201(ot,V,l){"use strict";l.d(V,{BV:()=>g,I0:()=>C,Jz:()=>D,Ue:()=>M,Vq:()=>x,YK:()=>w,bY:()=>A,cE:()=>O,gj:()=>f,mD:()=>h});const f="observers",g={Id:"users",Name:"_i18n.User",CanControl:[]},h=["system_owners","system_admins"],C=["receptionists","managers","group_admins","group_owners",...h],M=["system_owners","system_admins"],A=["system_owners","system_admins","group_admins","group_owners","managers","supervisors"],D=["group_admins","group_owners"],w=[g,{Id:"system",Name:"_i18n.System",CanControl:[]},{Id:f,Name:"_i18n.Observer",CanControl:[]},{Id:"receptionists",Name:"_i18n.Receptionist",CanControl:[]},{Id:"supervisors",Name:"_i18n.Supervisor",CanControl:[]},{Id:"group_admins",Name:"_i18n.GroupAdmins",CanControl:["users","receptionists",f]},{Id:"managers",Name:"_i18n.Manager",CanControl:["users","receptionists","group_admins",f]},{Id:"group_owners",Name:"_i18n.Owners",CanControl:["group_owners","users","receptionists","managers","group_admins",f,"supervisors"]},{Id:"system_admins",Name:"_i18n.SysAdmins",CanControl:["users","receptionists","group_admins",f]},{Id:"system_owners",Name:"_i18n.SysOwners",CanControl:["group_owners","users","receptionists","managers","group_admins","system_admins","system_owners",f,"supervisors"]}];function O(N){return N?w.find(q=>q.Id===N)?.Name??"":""}function x(N){return N.filter(q=>q!==f).reduce((q,K)=>{const te=w.indexOf(q),H=w.findIndex(ee=>ee.Id===K);return-1===H||te-H>0?w[te]:w[H]},g)}},56344(ot,V,l){"use strict";l.d(V,{H:()=>f,T:()=>g});const f="/xapi/v1";function g(){return window.location.origin}},38844(ot,V,l){"use strict";l.d(V,{t:()=>g});var f=l(85802);let g=(()=>{class h{asideMenuVisible=!1;settings={themeID:7,navbarHeaderLogo:"img/logo.png",theme:"theme-default",asideColor:"bg-white",headerFixed:!0,asideFixed:!1,asideDock:!1,container:!1,wallboardMode:!1,phoneConnected:"phoneicon-blue",selectLang:"",selectedDevice:""};_state={};get state(){return this._state=this._clone(this._state)}set state(C){throw new Error("do not mutate the `.state` directly")}get(C){const o=this.state;return o.hasOwnProperty(C)?o[C]:o}set(C,o){return this._state[C]=o}_clone(C){return JSON.parse(JSON.stringify(C))}static \u0275fac=function(o){return new(o||h)};static \u0275prov=f.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()},79737(ot,V,l){"use strict";l.d(V,{e6:()=>O,oL:()=>d,in:()=>w,l6:()=>N,kD:()=>H,ET:()=>x,Th:()=>te,Gq:()=>D,r8:()=>A});
1class f extends Error{}f.prototype.name="InvalidTokenError";var C=l(37201),o=l(81753);function d(ee){return ee?function _(ee,F){if("string"!=typeof ee)throw new f("Invalid token specified: must be a string");F||(F={});const J=!0===F.header?0:1,ne=ee.split(".")[J];if("string"!=typeof ne)throw new f(`Invalid token specified: missing part #${J+1}`);let de;try{de=function h(ee){let F=ee.replace(/-/g,"+").replace(/_/g,"/");switch(F.length%4){case 0:break;case 2:F+="==";break;case 3:F+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function g(ee){return decodeURIComponent(atob(ee).replace(/(.)/g,(F,J)=>{let ne=J.charCodeAt(0).toString(16).toUpperCase();return ne.length<2&&(ne="0"+ne),"%"+ne}))}(F)}catch{return atob(F)}}(ne)}catch(Le){throw new f(`Invalid token specified: invalid base64 for part #${J+1} (${Le.message})`)}try{return JSON.parse(de)}catch(Le){throw new f(`Invalid token specified: invalid json for part #${J+1} (${Le.message})`)}}(ee):void 0}function A(ee){const F=ee?function M(ee){const F=ee.role;return F?Array.isArray(F)?F:[F]:[]}(ee):[];return{singleCompany:F.includes("SingleCompany"),id:ee?.jti||o.eI,originalName:ee?.original_name??"",machineAdmin:F.includes("MachineAdmin"),roles:F,local:F.includes("Local"),globalAdmin:F.includes("GlobalAdmin"),outboundRules:F.includes("Trunks"),paid:F.includes("Paid"),userName:ee?.unique_name??"",myRole:ee?ee.MaxRole:"users",adminSection:F.some(J=>["Users","Trunks","Reports","Groups.Create","PhoneSystemAdmin","Groups.ReadWrite"].includes(J)&&"receptionists"!==ee?.MaxRole),audit:F.some(J=>["Admin","GlobalAdmin"].includes(J)),admin:F.includes("Admin"),groups:F.includes("Groups.Create"),reports:F.includes("Reports"),callHandling:F.includes("PhoneSystemAdmin"),trunks:F.includes("Trunks"),officeHours:F.includes("Groups.Create")||F.includes("Groups.ReadWrite"),overrideOfficeHours:F.includes("Groups.Create")||F.includes("Groups.ReadWrite")||F.includes("Groups.Read"),users:F.includes("Users"),enterprise:F.includes("Enterprise"),branding:F.includes("Branding")}}function D(ee){return ee.includes("MyGroup")}function w(ee){return ee.includes("Admin")}function O(ee){return ee.includes("Groups.Create")||ee.includes("Groups.ReadWrite")||ee.includes("PhoneSystemAdmin")}const x=ee=>C.Ue.some(F=>ee===F),N=ee=>C.bY.some(F=>ee===F),te=ee=>C.Jz.some(F=>ee===F),H=ee=>C.mD.some(F=>ee===F)},92996(ot,V,l){"use strict";l.d(V,{Z:()=>D});var f=l(85802),g=l(84362),h=l(7673),_=l(1807),C=l(96354),o=l(12498),y=l(99437),d=l(96697),M=l(79737),A=l(50644);let D=(()=>{class w{tokenService=(0,f.WQX)(g.B);myToken$=this.tokenService.accessToken$.pipe((0,o.L)({delay:(x,N)=>"logout"===x.message?(0,h.of)(0):(0,_.O)(5e3*Math.max(N,4))}),(0,C.T)(M.oL),(0,C.T)(M.r8),(0,A.H9)());roles$=this.myToken$.pipe((0,C.T)(x=>x.roles));hasMyGroupRole$=this.roles$.pipe((0,C.T)(M.Gq));getNewAccessToken(){this.tokenService.invalidate()}getMyToken$(){return this.tokenService.accessToken$.pipe((0,y.W)(()=>(0,h.of)(void 0)),(0,C.T)(M.oL),(0,C.T)(M.r8),(0,d.s)(1))}getRoles$(){return this.getMyToken$().pipe((0,C.T)(x=>x.roles))}getHasMyGroupRole$(){return this.getRoles$().pipe((0,C.T)(M.Gq))}static \u0275fac=function(N){return new(N||w)};static \u0275prov=f.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},84362(ot,V,l){"use strict";l.d(V,{B:()=>F});var f=l(85802),g=l(18530),h=l(59030),_=l(25558),C=l(28793),o=l(7673),y=l(1033),d=l(18810),M=l(91413),A=l(3710),D=l(12449),w=l(20681);let O=(()=>{class J extends D.d{httpClient;constructor(de,Le,ut){super(Le,ut),this.httpClient=de}tokenTenantToken(de,Le,ut,Oe,xe,Ce="body",Te=!1,Fe){if(null==de)throw new Error("Required parameter tenant was null or undefined when calling tokenTenantToken.");if(null==Le)throw new Error("Required parameter grantType was null or undefined when calling tokenTenantToken.");let Ke=this.defaultHeaders;const Qe=Fe?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json","application/json;IEEE754Compatible=false","application/json;IEEE754Compatible=true","application/xml","text/plain","application/octet-stream","text/json"]);void 0!==Qe&&(Ke=Ke.set("Accept",Qe));const kt=Fe?.context??new M._y,ct=Fe?.transferCache??!0;let fe;this.canConsumeForm(["multipart/form-data"]),fe=new M.Nl({encoder:this.encoder}
1),void 0!==ut&&(fe=fe.append("client_id",ut)||fe),void 0!==Oe&&(fe=fe.append("client_secret",Oe)||fe),void 0!==Le&&(fe=fe.append("grant_type",Le)||fe),void 0!==xe&&(fe=fe.append("expires_in_minutes",xe)||fe);let ve="json";Qe&&(ve=Qe.startsWith("text")?"text":this.configuration.isJsonMime(Qe)?"json":"blob");let he=`/connect/${this.configuration.encodeParam({name:"tenant",value:de,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})}/token`;const{basePath:Pe,withCredentials:Ve}=this.configuration;return this.httpClient.request("post",`${Pe}${he}`,{context:kt,body:fe,responseType:ve,...Ve?{withCredentials:Ve}:{},headers:Ke,observe:Ce,...void 0!==ct?{transferCache:ct}:{},reportProgress:Te})}tokenToken(de,Le,ut,Oe,xe,Ce,Te,Fe="body",Ke=!1,Qe){if(null==de)throw new Error("Required parameter grantType was null or undefined when calling tokenToken.");let kt=this.defaultHeaders;const ct=Qe?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json","application/json;IEEE754Compatible=false","application/json;IEEE754Compatible=true","application/xml","text/plain","application/octet-stream","text/json"]);void 0!==ct&&(kt=kt.set("Accept",ct));const Pt=Qe?.context??new M._y,Ze=Qe?.transferCache??!0;let Xe;this.canConsumeForm(["multipart/form-data"]),Xe=new M.Nl({encoder:this.encoder}),void 0!==Le&&(Xe=Xe.append("impersonate",Le)||Xe),void 0!==ut&&(Xe=Xe.append("client_id",ut)||Xe),void 0!==Oe&&(Xe=Xe.append("client_secret",Oe)||Xe),void 0!==xe&&(Xe=Xe.append("scope",xe)||Xe),void 0!==de&&(Xe=Xe.append("grant_type",de)||Xe),void 0!==Ce&&(Xe=Xe.append("refresh_token",Ce)||Xe),void 0!==Te&&(Xe=Xe.append("expires_in_minutes",Te)||Xe);let Pe="json";ct&&(Pe=ct.startsWith("text")?"text":this.configuration.isJsonMime(ct)?"json":"blob");const{basePath:dt,withCredentials:Dt}=this.configuration;return this.httpClient.request("post",`${dt}/connect/token`,{context:Pt,body:Xe,responseType:Pe,...Dt?{withCredentials:Dt}:{},headers:kt,observe:Fe,...void 0!==Ze?{transferCache:Ze}:{},reportProgress:Ke})}static \u0275fac=function(Le){return new(Le||J)(f.KVO(M.Qq),f.KVO(A.o,8),f.KVO(w.V,8))};static \u0275prov=f.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})();var x=l(77498),N=l(96354),q=l(22037),K=l(12426),te=l(42610),H=l(50644);let F=(()=>{class J{localStorageService=(0,f.WQX)(K.sj);impersonateUsername=this.localStorageService.retrieve(te.Hh.ImpersonateUsername);tokenApi=(0,f.WQX)(O);accessToken$;_invalidate$=new g.B;constructor(){this.accessToken$=(0,h.v)(()=>this.getToken$()).pipe((0,_.n)(de=>de?.access_token?(0,C.x)((0,o.of)(de?.access_token),(0,y.O)((0,o.of)("expired").pipe((0,x.c)(this.getExpirationMs(de))),this._invalidate$).pipe((0,_.n)(Le=>(0,d.$)(()=>new Error(Le))))):(0,d.$)(()=>new Error("Server returned empty access token"))),(0,H.ug)())}getShortAccessToken$(){return this.tokenApi.tokenToken("refresh_token",this.impersonateUsername||void 0,q.J,void 0,void 0,void 0,1).pipe((0,N.T)(de=>de.access_token))}dropImpersonation(){this.impersonateUsername=null,this.localStorageService.clear(te.Hh.ImpersonateUsername)}onLogin(de){}invalidate(){this._invalidate$.next("logout")}getExpirationMs(de){return 6e4*Math.max(de.expires_in/2,de.expires_in-1)}getToken$(){return this.tokenApi.tokenToken("refresh_token",this.impersonateUsername||void 0,q.J)}static \u0275fac=function(Le){return new(Le||J)};static \u0275prov=f.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})()},48615(ot,V,l){"use strict";l.d(V,{H8:()=>y,OU:()=>M,UP:()=>d,Xb:()=>w,gm:()=>o,nr:()=>C,uF:()=>D});var f=l(53349);const h=navigator.userAgent,_=l.n(f)().getParser(h),C=_.satisfies({safari:">0"})||!1,o=_.satisfies({firefox:">0"})||!1,y=_.satisfies({chrome:">0"})||!1,d=_.satisfies({edge:">0"})||!1,M=`${_.getBrowserName()} on ${_.getOSName()}`,D=(_.getOSName(),"Windows"===_.getOSName());function w(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|PlayBook|Opera Mini/i.test(h)}},58664(ot,V,l){"use strict";l.d(V,{d:()=>H});var f=l(85802),g=l(18530),h=l(57786),_=l(7673),C=l(983),o=l(25558),y=l(5964),d=l(96354),M=l(13946),A=l(44668),D=l(23386),w=l(53993),O=l(50644),x=l(1211),N=l(20284),q=l(59882),K=l(16444),te=l(89079);let H=(()=>{class ee{myPhoneService=(0,f.WQX)(K.gx);phoneService=(0,f.WQX)(N.u);route=(0,f.WQX)(q.nX);toggleDialer$=new g.B;dialerVisibilityInfo$;isDialerVisible;isStandaloneDialer=!1;constructor(){const J=this.route.queryParams.pipe((0,d.T)(ut=>
1ut.phone),(0,O.H9)()),ne=J.pipe((0,y.p)(ut=>!!ut?.replace("tel:","")&&!this.isDialerVisible()),(0,d.T)(()=>({isVisible:!0,stealFocus:!0}))),de=this.toggleDialer$.pipe((0,D.c)(300),(0,d.T)(ut=>({isVisible:ut,stealFocus:ut}))),Le=this.phoneService.myCalls$.pipe((0,M.J)(),(0,w.E)(J),(0,o.n)(([[ut,Oe],xe])=>{if(!Oe||!ut?.calls.size&&!Oe.calls.size)return C.w;if(Oe.calls.isEmpty()&&!xe)return(0,_.of)({isVisible:!1,stealFocus:!1});if(Oe.hasNewCalls){const Ce=Oe.calls.some(Te=>Te.isTrying||Te.state===x.Tll.Dialing||this.isStandaloneDialer&&Te.state===x.Tll.Ringing);return(0,_.of)({isVisible:!0,stealFocus:Ce})}return C.w}));this.dialerVisibilityInfo$=this.myPhoneService.myPhoneSessionInit$.pipe((0,o.n)(()=>(0,h.h)(ne,de,Le)),(0,A.t)({bufferSize:1,refCount:!1})),this.isDialerVisible=(0,te.ot)(this.dialerVisibilityInfo$.pipe((0,d.T)(ut=>ut.isVisible)),{initialValue:!1})}toggleDialer(J){this.toggleDialer$.next(J??!this.isDialerVisible())}focusDialer(){this.toggleDialer(!0)}static \u0275fac=function(ne){return new(ne||ee)};static \u0275prov=f.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}return ee})()},91250(ot,V,l){"use strict";l.d(V,{GS:()=>_,VR:()=>C,bG:()=>y,jk:()=>M,vQ:()=>A,wl:()=>d});var f=l(1211),g=l(60889),h=l(85802),_=function(D){return D[D.None=0]="None",D[D.Transfer=1]="Transfer",D[D.AttTransfer=2]="AttTransfer",D[D.NewCall=3]="NewCall",D[D.Conference=4]="Conference",D[D.AttConference=5]="AttConference",D}(_||{});function C(D){if(D.isTrying)return"_i18n.Trying";switch(D.state){case f.Tll.UnknownState:return"_i18n.Unknown";case f.Tll.Ringing:return D.isQueueCall?"_i18n.Incoming_queue_call":"_i18n.Incoming_call";case f.Tll.Dialing:return"_i18n.Dialing";case f.Tll.Connected:if(!D.isWebRtcBrowserAgent)return"_i18n.Connected";switch(D.media.lastWebRTCState.holdState){case f.sER.WebRTCHoldState_HELD:return"_i18n.PutOnHold";case f.sER.WebRTCHoldState_HOLD:case f.sER.WebRTCHoldState_BOTH:return"_i18n.OnHold";default:return"_i18n.Connected"}case f.Tll.WaitingForNewParty:return"_i18n.WaitingForOtherParty";case f.Tll.TryingToTransfer:return"_i18n.TryingToTransfer";default:return""+D.state}}function y(D,w,O){const x=[{numberOfChars:O,fontSize:w},{numberOfChars:O+1,fontSize:w-1},{numberOfChars:O+2,fontSize:w-2},{numberOfChars:O+3,fontSize:w-3},{numberOfChars:O+4,fontSize:w-4},{numberOfChars:O+5,fontSize:w-5},{numberOfChars:O+6,fontSize:w-6},{numberOfChars:O+7,fontSize:w-7},{numberOfChars:Number.MAX_VALUE,fontSize:w-8}];for(const N of x)if(D<=N.numberOfChars)return N.fontSize>=16?N.fontSize:16;return w}function d(){const D=new Uint32Array(8);window.crypto.getRandomValues(D);let w="";for(let O=0;O<D.length;O++)w+=(O<2||O>5?"":"-")+D[O].toString(16).slice(-4);return w}function M(D,w,O,x){const N=D||"";return w<0||w>N.length||O<0||O>N.length||w>O?N:N.slice(0,w)+x+N.slice(O)}let A=(()=>{class D{isWebRTCCall(O){return!(!O?.isWebRtcBrowserAgent||!O?.media.isActive)}isVideoActive(O){return O.media.isVideoCall&&(O.media.isVideoSend||O.media.isVideoReceived)}isDialing(O){return O.state===f.Tll.Dialing||O.isTrying}isOnHold(O){return O.media.lastWebRTCState.holdState===f.sER.WebRTCHoldState_HOLD}isVideoAnswerAllowed(O){if(!O)return!1;const[x,N]=(0,g.yE)(O.media.lastWebRTCState.sdp);return O.media.lastWebRTCState.sdpType===f.Pqd.WRTCRequestForOffer||N}static \u0275fac=function(x){return new(x||D)};static \u0275prov=h.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},13499(ot,V,l){"use strict";l.d(V,{$:()=>F});var f=l(85802),g=l(18530),h=l(84412),_=l(92771),C=l(57786),o=l(13798),y=l(88141),d=l(59882),M=l(23294),A=l(5964),D=l(96354),w=l(31943),O=l(44668),x=l(25558),N=l(16444),q=l(20284),K=l(33238),te=l(1211),H=l(58664),ee=l(91250);let F=(()=>{class J{route=(0,f.WQX)(d.nX);router=(0,f.WQX)(d.Ix);myPhoneService=(0,f.WQX)(N.gx);phoneService=(0,f.WQX)(q.u);dialerVisibilityService=(0,f.WQX)(H.d);phoneNumberEvent=new _.m(1);typedPhoneNumber$=this.phoneNumberEvent.asObservable();newPrimaryCallSelected$=new g.B;dialerAction=new g.B;dialerActionEmitted$=this.dialerAction.asObservable();callSearchAction=new h.t(ee.GS.None);callSearchAction$=this.callSearchAction.asObservable();queryPhoneNumber$=this.route.queryParams.pipe((0,o.Z)(0),(0,D.T)(({phone:de})=>String(de||"").replace("tel:","")),(0,A.p)(Boolean),(0,y.M)(()=>{this.router.navigate([],{queryParams:{phone:void 0},queryParamsHandling:"merge"})}));calls$=this.phoneService.myCalls$.pipe((0,D.T)(de=>de.calls));myPrivateConferenceCall$=this.myPhoneService.myPhoneSession.pipe((0,D.T)(de=>de.myInfo.Number),(0,M.F)(),(0,x.n)(de=>this.calls$.pipe((0,D.T)(Le=>Le.find(ut=>ut.conferenceType===te.kqr.LCCT_AdHocPrivate&&ut.conferenceOwner===de)??null))));activeCall$=(0,C.h)(this.phoneService.myCalls$,this.newPrimaryCallSelected$).pipe((0,w.S)((de,Le)=>{if(Le instanceof K.K){const ut=de.selectedCall?de.selectedCall.myCallId:-1;let Oe=Le.calls.find(xe=>xe.myCallId===ut)??Le.calls.get(0)??null;if(Oe&&Le.hasNewCalls){const xe=Le.calls.find(Ce=>Ce.isTrying);xe&&!Oe.isTrying&&(Oe=xe)}return{calls:Le,selectedCall:Oe}}{const ut=de.calls.calls.find(Oe=>Oe.myCallId===Le);return{calls:de.calls,selectedCall:ut||de.selectedCall}}},{calls:new K.K,selectedCall:null}),(0,D.T)(de=>de.selectedCall),(0,O.t)({refCount:!0,bufferSize:1}));setPrimaryCall(de){this.newPrimaryCallSelected$.next(de)}setTypedPhone(de){this.phoneNumberEvent.next(de)}makeCall(de,Le=!1){this.phoneService.call(de,Le),this.setTypedPhone("")}makeNewCall(){this.dialerVisibilityService.toggleDialer(!0),this.dialerAction.next({action:"newCall"})}editBeforeCall(de){this.dialerVisibilityService.toggleDialer(!0),this.setTypedPhone(de),this.dialerAction.next({action:"newCall",number:de})}setSearchAction(de){this.callSearchAction.next(de)}static \u0275fac=function(Le){return new(Le||J)};static \u0275prov=f.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})()},33544(ot,V,l){"use strict";l.d(V,{c:()=>g});var f=l(46062);function g(h){const _=h.bridgeId;return _!==f.Ij?`${h.nativeExtensionNumber}#${_}`:h.nativeExtensionNumber}},31251(ot,V,l){"use strict";l.d(V,{cM:()=>q,qv:()=>K,Iz:()=>H});var f=l(33971),g=l(1211),h=l(20039),_=l(7673),C=l(78127),o=l(43123);const y='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
1<path d="M27.1 21.7 23.4 18c-.1-.1-.2-.2-.4-.3-.6-.3-1.3-.1-1.6.5-.2.5-.1.9.3 1.3l1.9 1.9h-8.4c-.4 0-.7.1-1 .5-.3.4-.3.8-.1 1.2.2.4.6.6 1 .6h8.4l-.7.7-1.3 1.3c-.6.6-.5 1.4.2 1.8.5.3 1 .2 1.4-.3l3.7-3.7c.9-.6.9-1.2.3-1.8zM24.1 4c.4 0-1.2 0 0 0z"/><path d="M14.3 20c.3-.2.7-.4 1.1-.4h5.5c-.3-.6-.3-1.2 0-1.8.3-.6.7-1 1.3-1.2.6-.2 1.2-.1 1.7.2.2.1.4.3.6.5l1.8 1.8c.5-.4.8-1.1.8-2V6.6C27 4.9 26.1 4 24.5 4H6.3c-1.5 0-2.4.9-2.4 2.4v10.8c0 1.4.9 2.3 2.3 2.4H7c1 0 1.4.4 1.4 1.4v4l5.9-5z"/></svg>',d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M27 6.24C27 4.86 26.14 4 24.76 4H6.33C4.83 4 4 4.84 4.01 6.35v14.27c0 1.55.84 2.36 2.4 2.36h.76c-.65-1.2-1.31-2.39-1.96-3.56l-.09-.16c-.21-.37-.64-1.14-.32-2.09.24-.73.74-1.23 1.38-1.36.61-.13 1.23.11 1.7.65.3.34.6.69.9 1.03l.55.64V8.9c.01-1.32.83-1.86 1.6-1.92 1.01-.07 1.81.61 1.97 1.68.03.23.04.45.04.68v3.19c.12-.04.24-.07.36-.08.49-.06.96.06 1.32.34.04.03.07.06.11.09.29-.27.65-.41 1-.44.49-.04.96.11 1.32.43.21.19.38.42.5.69.23-.1.48-.15.72-.16.53.01.99.17 1.32.5.24.24.53.67.53 1.37v1.96c.01 1.88.01 3.83-.11 5.75-.05.78-.19 1.55-.36 2.3 1.03.88 2.08 1.77 3.17 2.69v-3.74c0-.93.36-1.29 1.3-1.3.24 0 .48.01.72 0 1.31-.03 2.16-.87 2.16-2.19.01-4.06.01-10.4 0-14.5z"/><path d="M18.27 14.41c-.47.01-.73.31-.73.91-.01.93 0 1.87 0 2.8 0 .31-.02.62-.38.63-.37 0-.42-.31-.42-.65v-2.06c0-.54 0-1.08-.02-1.62-.03-.63-.41-1.02-.92-.98-.45.04-.67.39-.66 1.04.01 1.24 0 2.49 0 3.73 0 .3-.08.53-.37.54-.31.01-.41-.22-.41-.54v-2.65c0-.46 0-.92-.05-1.37-.07-.54-.42-.81-.89-.75-.45.06-.67.38-.67.94 0 1.26 0 2.52.01 3.78 0 .34-.06.6-.41.6-.32-.01-.38-.28-.38-.58-.01-1.39-.03-2.78-.03-4.17 0-1.55 0-3.11.01-4.66 0-.18 0-.36-.03-.54-.08-.55-.43-.87-.89-.83-.44.04-.68.33-.68.93-.01 1.75 0 3.5 0 5.25s.01 3.5-.01 5.25c0 .23-.11.62-.22.65-.18.05-.46-.08-.61-.24-.8-.88-1.57-1.8-2.36-2.69-.5-.57-1.13-.4-1.38.36-.16.49.03.9.25 1.29.78 1.4 1.56 2.79 2.32 4.21.78 1.46 1.54 2.95 2.23 4.48.17.37.42.54.79.54 1.18-.01 2.36 0 3.53 0h2.51c.36 0 .66-.14.75-.57.2-.95.45-1.9.64-2.86.11-.54.2-1.08.23-1.62.16-2.54.09-5.1.11-7.65-.02-.6-.35-.91-.86-.9z"/></svg>',M='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M64 352c0 35.3 28.7 64 64 64h96v84c0 9.8 11.2 15.5 19.1 9.7L368 416h2L64 179.5V352zm569.8 106.1-77.6-60c12.1-11.6 19.8-28 19.8-46.1V64c0-35.3-28.7-64-64-64H128c-21.5 0-40.4 10.7-52 27L45.5 3.4C38.5-2 28.5-.8 23 6.2L3.4 31.4c-5.4 7-4.2 17 2.8 22.4l588.4 454.7c7 5.4 17 4.2 22.5-2.8l19.6-25.3c5.4-6.8 4.1-16.9-2.9-22.3z"/></svg>',A='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 288c79.5 0 144-64.5 144-144S335.5 0 256 0 112 64.5 112 144s64.5 144 144 144zm128 32h-55.1c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16H128C57.3 320 0 377.3 0 448v16c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48v-16c0-70.7-57.3-128-128-128z"/></svg>';var D=l(963);const O='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"/></svg>\n',x='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><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.31L193.94 256z"/></svg>';
1class q extends((0,h.mS)({Id:0,IsNew:!1,UnsafeMessage:"",ShowDate:!1,Sended:new Date,NewSender:!1,Sender:0,NewDay:!1,Attachment:void 0,IdConversation:0,Participants:(0,h.B8)(),MessageType:g._J6.CMT_Normal,Param:""})){get messageLinkified(){const F=(0,C.X)(this.UnsafeMessage,!0);return Object.defineProperty(this,"messageLinkified",{get:()=>F}),F}get messageEmojified(){const F=(0,C.X)(this.UnsafeMessage,!1);return Object.defineProperty(this,"messageEmojified",{get:()=>F}),F}get showDeliveryStatus(){const F=this.MessageType===g._J6.CMT_Normal;return Object.defineProperty(this,"showDeliveryStatus",{get:()=>F}),F}get isWhispered(){return this.MessageType===g._J6.CMT_Whisper}get isSystemMessage(){switch(this.MessageType){case g._J6.CMT_Blocked:case g._J6.CMT_ClosedByProvider:case g._J6.CMT_GenericError:case g._J6.CMT_Closed:case g._J6.CMT_AutoClosed:case g._J6.CMT_Taken:case g._J6.CMT_Muted:case g._J6.CMT_Dealt:case g._J6.CMT_Transferred:case g._J6.CMT_ParticipantAdded:case g._J6.CMT_ParticipantRemoved:case g._J6.CMT_PersonInDnd:case g._J6.CMT_MessageTooLong:case g._J6.CMT_NumberBlocked:case g._J6.CMT_NumberUnblocked:case g._J6.CMT_CallInitiated:return!0;default:return!1}}get messageIcon(){let F;switch(this.MessageType){case g._J6.CMT_Blocked:F=x;break;case g._J6.CMT_NumberBlocked:F='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc. --\x3e<path d="M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"/></svg>';break;case g._J6.CMT_PersonInDnd:case g._J6.CMT_MessageTooLong:case g._J6.CMT_ClosedByProvider:case g._J6.CMT_GenericError:case g._J6.CMT_Closed:case g._J6.CMT_AutoClosed:F=x;break;case g._J6.CMT_Muted:F=M;break;case g._J6.CMT_Taken:F=d;break;case g._J6.CMT_Dealt:F=O;break;case g._J6.CMT_Transferred:F=y;break;case g._J6.CMT_ParticipantRemoved:case g._J6.CMT_ParticipantAdded:F=A;break;default:this.Attachment&&(F=D)}return Object.defineProperty(this,"messageIcon",{get:()=>F}),F}get interlocutors(){return this.Participants.filter(F=>!F.IsSender)}get isFailure(){return this.interlocutors.some(F=>F.Delivery===g.XfZ.CDS_Failed)}get isRead(){return this.interlocutors.every(F=>F.IsRead)}get messageMainStatus(){return this.interlocutors.some(F=>F.Delivery===g.XfZ.CDS_Failed)?g.XfZ.CDS_Failed:this.interlocutors.some(F=>F.Delivery===g.XfZ.CDS_NotDelivered)?g.XfZ.CDS_NotDelivered:this.interlocutors.every(F=>F.Delivery===g.XfZ.CDS_Delivered)?g.XfZ.CDS_Delivered:g.XfZ.CDS_NotDelivered}constructor(F){super({Id:F.Id,UnsafeMessage:F.Message,IsNew:F.IsNew,Sended:(0,f.Nu)(F.Time),Attachment:F.File?new g.Pzt(F.File):void 0,Sender:F.Recipients?.find(J=>J.IsSender)?.IdRecipient??-1,IdConversation:F.IdConversation,Participants:(0,h.B8)(F.Recipients),MessageType:F.MessageType,Param:F.Param})}}function K(ee){switch(ee){case g._J6.CMT_Blocked:case g._J6.CMT_NumberBlocked:case g._J6.CMT_PersonInDnd:case g._J6.CMT_MessageTooLong:case g._J6.CMT_ClosedByProvider:case g._J6.CMT_Closed:case g._J6.CMT_AutoClosed:return x;case g._J6.CMT_Taken:return d;case g._J6.CMT_Muted:return M;case g._J6.CMT_Dealt:return O;case g._J6.CMT_Transferred:return y;case g._J6.CMT_ParticipantRemoved:case g._J6.CMT_ParticipantAdded:return A;default:return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z"/></svg>\n'}}const te={[g._J6.CMT_PersonInDnd]:"_i18n.ChatMessagePersonInDnd",[g._J6.CMT_MessageTooLong]:"_i18n.ChatMessageMessageTooLong",[g._J6.CMT_ClosedByProvider]:"_i18n.ChatMessageClosedByProvider",[g._J6.CMT_Closed]:"_i18n.ChatMessageClosed",[g._J6.CMT_AutoClosed]:"_i18n.ChatMessageAutoClosed",[g._J6.CMT_Blocked]:"_i18n.ChatMessageBlocked",[g._J6.CMT_NumberBlocked]:"_i18n.NumberBlockedChatMessage",[g._J6.CMT_NumberUnblocked]:"_i18n.NumberUnblockedCh
1atMessage",[g._J6.CMT_Dealt]:"_i18n.ChatMessageDealt",[g._J6.CMT_Taken]:"_i18n.ChatMessageTaken",[g._J6.CMT_Muted]:"_i18n.ChatMessageMuted",[g._J6.CMT_Transferred]:"_i18n.ChatMessageTransferredWithParams",[g._J6.CMT_ParticipantAdded]:"_i18n.ChatParticipantAdded",[g._J6.CMT_ParticipantRemoved]:"_i18n.ChatParticipantRemoved",[g._J6.CMT_CallInitiated]:"_i18n.ConversationStartedByCall"};function H(ee,F,J,ne){const de=te[F.MessageType.valueOf()];if(de){if(F.MessageType===g._J6.CMT_ParticipantAdded){const Le=F.Param.includes(" ")?F.Param.trim():F.UnsafeMessage.split(" added ")[1]??"";return ee.get(de,{p1:ne?(0,o.Z)(Le):Le})}if(F.MessageType===g._J6.CMT_ParticipantRemoved){const Le=F.Param.includes(" ")?F.Param.trim():F.UnsafeMessage.split(" removed ")[1]??"";return ee.get(de,{p1:ne?(0,o.Z)(Le):Le})}if(F.MessageType===g._J6.CMT_CallInitiated){const Le=F.Param||F.UnsafeMessage.split(" started ")[0]||"";return ee.get(de,{p1:ne?(0,o.Z)(Le):Le})}return F.MessageType===g._J6.CMT_NumberBlocked||F.MessageType===g._J6.CMT_NumberUnblocked?ee.get(de,{p1:ne?(0,o.Z)(F.Param??""):F.Param??""}):F.MessageType===g._J6.CMT_Transferred?F.Param?ee.get(de,{p1:ne?(0,o.Z)(F.Param):F.Param}):ee.get("_i18n.ChatMessageTransferred"):ee.get(de)}return(0,_.of)(F.Attachment?J||(ne?(0,o.Z)(F.Attachment.FileName):F.Attachment.FileName):J)}},78127(ot,V,l){"use strict";l.d(V,{X:()=>wn});var f=l(24979);const _="numeric",C="ascii",o="alpha",y="asciinumeric",d="alphanumeric",M="domain",A="emoji",D="scheme",w="slashscheme",O="whitespace";function x(Ge,qe){return Ge in qe||(qe[Ge]=[]),qe[Ge]}function N(Ge,qe,xt){qe[_]&&(qe[y]=!0,qe[d]=!0),qe[C]&&(qe[y]=!0,qe[o]=!0),qe[y]&&(qe[d]=!0),qe[o]&&(qe[d]=!0),qe[d]&&(qe[M]=!0),qe[A]&&(qe[M]=!0);for(const un in qe){const gt=x(un,xt);gt.indexOf(Ge)<0&&gt.push(Ge)}}function K(Ge=null){this.j={},this.jr=[],this.jd=null,this.t=Ge}K.groups={},K.prototype={accepts(){return!!this.t},go(Ge){const qe=this,xt=qe.j[Ge];if(xt)return xt;for(let un=0;un<qe.jr.length;un++){const mn=qe.jr[un][1];if(mn&&qe.jr[un][0].test(Ge))return mn}return qe.jd},has(Ge,qe=!1){return qe?Ge in this.j:!!this.go(Ge)},ta(Ge,qe,xt,un){for(let gt=0;gt<Ge.length;gt++)this.tt(Ge[gt],qe,xt,un)},tr(Ge,qe,xt,un){let gt;return un=un||K.groups,qe&&qe.j?gt=qe:(gt=new K(qe),xt&&un&&N(qe,xt,un)),this.jr.push([Ge,gt]),gt},ts(Ge,qe,xt,un){let gt=this;const mn=Ge.length;if(!mn)return gt;for(let Rn=0;Rn<mn-1;Rn++)gt=gt.tt(Ge[Rn]);return gt.tt(Ge[mn-1],qe,xt,un)},tt(Ge,qe,xt,un){if(un=un||K.groups,qe&&qe.j)return this.j[Ge]=qe,qe;const mn=qe;let Rn,Wn=this.go(Ge);if(Wn?(Rn=new K,Object.assign(Rn.j,Wn.j),Rn.jr.push.apply(Rn.jr,Wn.jr),Rn.jd=Wn.jd,Rn.t=Wn.t):Rn=new K,mn){if(un)if(Rn.t&&"string"==typeof Rn.t){const ii=Object.assign(function q(Ge,qe){const xt={};for(const un in qe)qe[un].indexOf(Ge)>=0&&(xt[un]=!0);return xt}(Rn.t,un),xt);N(mn,ii,un)}else xt&&N(mn,xt,un);Rn.t=mn}return this.j[Ge]=Rn,Rn}};const te=(Ge,qe,xt,un,gt)=>Ge.ta(qe,xt,un,gt),H=(Ge,qe,xt,un,gt)=>Ge.tr(qe,xt,un,gt),ee=(Ge,qe,xt,un,gt)=>Ge.ts(qe,xt,un,gt),F=(Ge,qe,xt,un,gt)=>Ge.tt(qe,xt,un,gt),J="WORD",ne="UWORD",de="ASCIINUMERICAL",Le="ALPHANUMERICAL",ut="LOCALHOST",xe="UTLD",Ce="SCHEME",Te="SLASH_SCHEME",kt="OPENBRACE",ct="CLOSEBRACE",Pt="OPENBRACKET",Ze="CLOSEBRACKET",fe="OPENPAREN",ie="CLOSEPAREN",Xe="OPENANGLEBRACKET",ve="CLOSEANGLEBRACKET",he="FULLWIDTHLEFTPAREN",Pe="FULLWIDTHRIGHTPAREN",Ve="LEFTCORNERBRACKET",dt="RIGHTCORNERBRACKET",Dt="LEFTWHITECORNERBRACKET",wt="RIGHTWHITECORNERBRACKET",Yt="FULLWIDTHLESSTHAN",Tt="FULLWIDTHGREATERTHAN",qt="AMPERSAND",We="APOSTROPHE",yt="ASTERISK",je="AT",St="BACKSLASH",me="BACKTICK",rt="CARET",bt="COLON",we="COMMA",Mt="DOLLAR",p="DOT",Bt="EQUALS",it="EXCLAMATION",Lt="HYPHEN",Me="PERCENT",le="PIPE",$="PLUS",Ee="POUND",Et="QUERY",dn="QUOTE",an="FULLWIDTHMIDDLEDOT",Nt="SEMI",at="SLASH",st="TILDE",zt="UNDERSCORE",hn="SYM";var Vn=Object.freeze({__proto__:null,ALPHANUMERICAL:Le,AMPERSAND:qt,APOSTROPHE:We,ASCIINUMERICAL:de,ASTERISK:yt,AT:je,BACKSLASH:St,BACKTICK:me,CARET:rt,CLOSEANGLEBRACKET:ve,CLOSEBRACE:ct,CLOSEBRACKET:Ze,CLOSEPAREN:ie,COLON:bt,COMMA:we,DOLLAR:Mt,DOT:p,EMOJI:"EMOJI",EQUALS:Bt,EXCLAMATION:it,FULLWIDTHGREATERTHAN:Tt,FULLWIDTHLEFTPAREN:he,FULLWIDTHLESSTHAN:Yt,FULLWIDTHMIDDLEDOT:an,FULLWIDTHRIGHTPAREN:Pe,HYPHEN:Lt,LEFTCORNERBRACKET:Ve,LEFTWHITECORNERBRACKET:Dt,LOCALHOST:ut,NL:"NL",NUM:"NUM",OPENANGLEBRACKET:Xe,OPENBRACE:kt,OPENBRACKET:Pt,OPENPAREN:fe,PERCENT:Me,PIPE:le,PLUS:$,POUND:Ee,QUERY:Et,QUOTE:dn,RIGHTCORNERBRACKET:dt,RIGHTWHITECORNERBRACKET:wt,SCHEME:Ce,SEMI:Nt,SLASH:at,SLASH_SCHEME:Te,SYM:hn,TILDE:st,TLD:"TLD",UNDERSCORE:zt,UTLD:xe,UWORD:ne,WORD:J,WS:"WS"});const Pn=/[a-z]/,xn=new RegExp("\\p{L}","u"),ei=new RegExp("\\p{Emoji}","u"),ri=/\d/,fi=/\s/;let An=null,Ki=null;function Wi(Ge,qe){const xt=function qi(Ge){const qe=[],xt=Ge.length;let un=0;for(;un<xt;
vendor: 7,404 bytes, line 1
1){let mn,gt=Ge.charCodeAt(un),Rn=gt<55296||gt>56319||un+1===xt||(mn=Ge.charCodeAt(un+1))<56320||mn>57343?Ge[un]:Ge.slice(un,un+2);qe.push(Rn),un+=Rn.length}return qe}(qe.replace(/[A-Z]/g,Wn=>Wn.toLowerCase())),un=xt.length,gt=[];let mn=0,Rn=0;for(;Rn<un;){let Wn=Ge,ii=null,ki=0,Mi=null,vi=-1,Si=-1;for(;Rn<un&&(ii=Wn.go(xt[Rn]));)Wn=ii,Wn.accepts()?(vi=0,Si=0,Mi=Wn):vi>=0&&(vi+=xt[Rn].length,Si++),ki+=xt[Rn].length,mn+=xt[Rn].length,Rn++;mn-=vi,Rn-=Si,ki-=vi,gt.push({t:Mi.t,v:qe.slice(mn-ki,mn),s:mn-ki,e:mn})}return gt}function eo(Ge,qe,xt,un,gt){let mn;const Rn=qe.length;for(let Wn=0;Wn<Rn-1;Wn++){const ii=qe[Wn];Ge.j[ii]?mn=Ge.j[ii]:(mn=new K(un),mn.jr=gt.slice(),Ge.j[ii]=mn),Ge=mn}return mn=new K(xt),mn.jr=gt.slice(),Ge.j[qe[Rn-1]]=mn,mn}function Yi(Ge){const qe=[],xt=[];let un=0;for(;un<Ge.length;){let mn=0;for(;"0123456789".indexOf(Ge[un+mn])>=0;)mn++;if(mn>0){qe.push(xt.join(""));for(let Rn=parseInt(Ge.substring(un,un+mn),10);Rn>0;Rn--)xt.pop();un+=mn}else xt.push(Ge[un]),un++}return qe}const En={defaultProtocol:"http",events:null,format:ln,formatHref:ln,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function li(Ge,qe=null){let xt=Object.assign({},En);Ge&&(xt=Object.assign(xt,Ge instanceof li?Ge.o:Ge));const un=xt.ignoreTags,gt=[];for(let mn=0;mn<un.length;mn++)gt.push(un[mn].toUpperCase());this.o=xt,qe&&(this.defaultRender=qe),this.ignoreTags=gt}function ln(Ge){return Ge}function _t(Ge,qe){this.t="token",this.v=Ge,this.tk=qe}function Wt(Ge,qe){class xt extends _t{constructor(gt,mn){super(gt,mn),this.t=Ge}}for(const un in qe)xt.prototype[un]=qe[un];return xt.t=Ge,xt}li.prototype={o:En,ignoreTags:[],defaultRender:Ge=>Ge,check(Ge){return this.get("validate",Ge.toString(),Ge)},get(Ge,qe,xt){const un=null!=qe;let gt=this.o[Ge];return gt&&("object"==typeof gt?(gt=xt.t in gt?gt[xt.t]:En[Ge],"function"==typeof gt&&un&&(gt=gt(qe,xt))):"function"==typeof gt&&un&&(gt=gt(qe,xt.t,xt)),gt)},getObj(Ge,qe,xt){let un=this.o[Ge];return"function"==typeof un&&null!=qe&&(un=un(qe,xt.t,xt)),un},render(Ge){const qe=Ge.render(this);return(this.get("render",null,Ge)||this.defaultRender)(qe,Ge.t,Ge)}},_t.prototype={isLink:!1,toString(){return this.v},toHref(Ge){return this.toString()},toFormattedString(Ge){const qe=this.toString(),xt=Ge.get("truncate",qe,this),un=Ge.get("format",qe,this);return xt&&un.length>xt?un.substring(0,xt)+"\u2026":un},toFormattedHref(Ge){return Ge.get("formatHref",this.toHref(Ge.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(Ge=En.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(Ge),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(Ge){return{type:this.t,value:this.toFormattedString(Ge),isLink:this.isLink,href:this.toFormattedHref(Ge),start:this.startIndex(),end:this.endIndex()}},validate(Ge){return Ge.get("validate",this.toString(),this)},render(Ge){const qe=this,xt=this.toHref(Ge.get("defaultProtocol")),un=Ge.get("formatHref",xt,this),gt=Ge.get("tagName",xt,qe),mn=this.toFormattedString(Ge),Rn={},Wn=Ge.get("className",xt,qe),ii=Ge.get("target",xt,qe),ki=Ge.get("rel",xt,qe),Mi=Ge.getObj("attributes",xt,qe),vi=Ge.getObj("events",xt,qe);return Rn.href=un,Wn&&(Rn.class=Wn),ii&&(Rn.target=ii),ki&&(Rn.rel=ki),Mi&&Object.assign(Rn,Mi),{tagName:gt,attributes:Rn,content:mn,eventListeners:vi}}};const ye=Wt("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),lt=Wt("text"),Vt=Wt("nl"),On=Wt("url",{isLink:!0,toHref(Ge=En.defaultProtocol){return this.hasProtocol()?this.v:`${Ge}://${this.v}`},hasProtocol(){const Ge=this.tk;return Ge.length>=2&&Ge[0].t!==ut&&Ge[1].t===bt}}),Qn=Ge=>new K(Ge);function At(Ge,qe,xt){return new Ge(qe.slice(xt[0].s,xt[xt.length-1].e),xt)}typeof console<"u"&&console&&console;const rn={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Ut(Ge){return rn.initialized||function Fi(){rn.scanner=function Hi(Ge=[]){const qe={};K.groups=qe;const xt=new K;null==An&&(An=Yi("aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2
1ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xf6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==Ki&&(Ki=Yi("\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")),F(xt,"'",We),F(xt,"{",kt),F(xt,"}",ct),F(xt,"[",Pt),F(xt,"]",Ze),F(xt,"(",fe),F(xt,")",ie),F(xt,"<",Xe),F(xt,">",ve),F(xt,"\uff08",he),F(xt,"\uff09",Pe),F(xt,"\u300c",Ve),F(xt,"\u300d",dt),F(xt,"\u300e",Dt),F(xt,"\u300f",wt),F(xt,"\uff1c",Yt),F(xt,"\uff1e",Tt),F(xt,"&",qt),F(xt,"*",yt),F(xt,"@",je),F(xt,"`",me),F(xt,"^",rt),F(xt,":",bt),F(xt,",",we),F(xt,"$",Mt),F(xt,".",p),F(xt,"=",Bt),F(xt,"!",it),F(xt,"-",Lt),F(xt,"%",Me),F(xt,"|",le),F(xt,"+",$),F(xt,"#",Ee),F(xt,"?",Et),F(xt,'"',dn),F(xt,"/",at),F(xt,";",Nt),F(xt,"~",st),F(xt,"_",zt),F(xt,"\\",St),F(xt,"\u30fb",an);const un=H(xt,ri,"NUM",{[_]:!0});H(un,ri,un);const gt=H(un,Pn,de,{[y]:!0}),mn=H(un,xn,Le,{[d]:!0}),Rn=H(xt,Pn,J,{[C]:!0});H(Rn,ri,gt),H(Rn,Pn,Rn),H(gt,ri,gt),H(gt,Pn,gt);const Wn=H(xt,xn,ne,{[o]:!0});H(Wn,Pn),H(Wn,ri,mn),H(Wn,xn,Wn),H(mn,ri,mn),H(mn,Pn),H(mn,xn,mn);const ii=F(xt,"\n","NL",{[O]:!0}),ki=F(xt,"\r","WS",{[O]:!0}),Mi=H(xt,fi,"WS",{[O]:!0});F(xt,"\ufffc",Mi),F(ki,"\n",ii),F(ki,"\ufffc",Mi),H(ki,fi,Mi),F(Mi,"\r"),F(Mi,"\n"),H(Mi,fi,Mi),F(Mi,"\ufffc",Mi);const vi=H(xt,ei,"EMOJI",{[A]:!0});F(vi,"#"),H(vi,ei,vi),F(vi,"\ufe0f",vi);const Si=F(vi,"\u200d");F(Si,"#"),H(Si,ei,vi);const $i=[[Pn,Rn],[ri,gt]],ro=[[Pn,null],[xn,Wn],[ri,mn]];for(let no=0;no<An.length;no++)eo(xt,An[no],"TLD",J,$i);for(let no=0;no<Ki.length;no++)eo(xt,Ki[no],xe,ne,ro);N("TLD",{tld:!0,ascii:!0},qe),N(xe,{utld:!0,alpha:!0},qe),eo(xt,"file",Ce,J,$i),eo(xt,"mailto",Ce,J,$i),eo(xt,"http",Te,J,$i),eo(xt,"https",Te,J,$i),eo(xt,"ftp",Te,J,$i),eo(xt,"ftps",Te,J,$i),N(Ce,{scheme:!0,ascii:!0},qe),N(Te,{slashscheme:!0,ascii:!0},qe),Ge=Ge.sort((no,mo)=>no[0]>mo[0]?1:-1);for(let no=0;no<Ge.length;no++){const mo=Ge[no][0],yo=Ge[no][1]?{[D]:!0}:{[w]:!0};mo.indexOf("-")>=0?yo[M]=!0:Pn.test(mo)?ri.test(mo)?yo[y]=!0:yo[C]=!0:yo[_]=!0,ee(xt,mo,mo,yo)}return ee(xt,"localhost",ut,{ascii:!0}),xt.jd=new K(hn),{start:xt,tokens:Object.assign({groups:qe},Vn)}}(rn.customSchemes);for(let Ge=0;Ge<rn.tokenQueue.length;Ge++)rn.tokenQueue[Ge][1]({scanner:rn.scanner});rn.parser=function Ni({groups:Ge}){const qe=Ge.domain.concat([qt,yt,je,St,me,rt,Mt,Bt,Lt,"NUM",Me,le,$,Ee,at,hn,st,zt]),xt=[We,bt,we,p,it,Me,Et,dn,Nt,Xe,ve,kt,ct,Ze,Pt,fe,ie,he,Pe,Ve,dt,Dt,wt,Yt,Tt],un=[qt,We,yt,St,me,rt,Mt,Bt,Lt,kt,ct,Me,le,$,Ee,Et,at,hn,st,zt],gt=Qn(),mn=F(gt,st);te(mn,un,mn),te(mn,Ge.domain,mn);const Rn=Qn(),Wn=Qn(),ii=Qn();te(gt,Ge.domain,Rn),te(gt,Ge.scheme,Wn),te(gt,Ge.slashscheme,ii),te(Rn,un,mn),te(Rn,Ge.domain,Rn);const ki=F(Rn,je);F(mn,je,ki),F(Wn,je,ki),F(ii,je,ki);const Mi=F(mn,p);te(Mi,un,mn),te(Mi,Ge.domain,mn);const vi=Qn();te(ki,Ge.domain,vi),te(vi,Ge.domain,vi);const Si=F(vi,p);te(Si,Ge.domain,vi);const $i=Qn(ye);te(Si,Ge.tld,$i),te(Si,Ge.utld,$i),F(ki,ut,$i);const ro=F(vi,Lt);F(ro,Lt,ro),te(ro,Ge.domain,vi),te($i,Ge.domain,vi),F($i,p,Si),F($i,Lt,ro);const no=F($i,bt);te(no,Ge.numeric,ye);const mo=F(Rn,Lt),Vo=F(Rn,p);F(mo,Lt,mo),te(mo,Ge.domain,Rn),te(Vo,un,mn),te(Vo,Ge.domain,Rn);const yo=Qn(On);te(Vo,Ge.tld,yo),te(Vo,Ge.utld,yo),te(yo,Ge.domain,Rn),te(yo,un,mn),F(yo,p,Vo),F(yo,Lt,mo),F(yo,je,ki);const hs=F(yo,bt),No=Qn(On);te(hs,Ge.numeric,No);const uo=Qn(On),Xo=Qn();
1te(uo,qe,uo),te(uo,xt,Xo),te(Xo,qe,uo),te(Xo,xt,Xo),F(yo,at,uo),F(No,at,uo);const Mo=F(Wn,bt),is=F(ii,bt),ls=F(is,at),Yo=F(ls,at);te(Wn,Ge.domain,Rn),F(Wn,p,Vo),F(Wn,Lt,mo),te(ii,Ge.domain,Rn),F(ii,p,Vo),F(ii,Lt,mo),te(Mo,Ge.domain,uo),F(Mo,at,uo),F(Mo,Et,uo),te(Yo,Ge.domain,uo),te(Yo,qe,uo),F(Yo,at,uo);const Jo=[[kt,ct],[Pt,Ze],[fe,ie],[Xe,ve],[he,Pe],[Ve,dt],[Dt,wt],[Yt,Tt]];for(let ho=0;ho<Jo.length;ho++){const[es,bo]=Jo[ho],Po=F(uo,es);F(Xo,es,Po),F(Po,bo,uo);const zo=Qn(On);te(Po,qe,zo);const Xi=Qn();te(Po,xt),te(zo,qe,zo),te(zo,xt,Xi),te(Xi,qe,zo),te(Xi,xt,Xi),F(zo,bo,uo),F(Xi,bo,uo)}return F(gt,ut,yo),F(gt,"NL",Vt),{start:gt,tokens:Vn}}(rn.scanner.tokens);for(let Ge=0;Ge<rn.pluginQueue.length;Ge++)rn.pluginQueue[Ge][1]({scanner:rn.scanner,parser:rn.parser});return rn.initialized=!0,rn}(),function ht(Ge,qe,xt){let un=xt.length,gt=0,mn=[],Rn=[];for(;gt<un;){let Wn=Ge,ii=null,ki=null,Mi=0,vi=null,Si=-1;for(;gt<un&&!(ii=Wn.go(xt[gt].t));)Rn.push(xt[gt++]);for(;gt<un&&(ki=ii||Wn.go(xt[gt].t));)ii=null,Wn=ki,Wn.accepts()?(Si=0,vi=Wn):Si>=0&&Si++,gt++,Mi++;if(Si<0)gt-=Mi,gt<un&&(Rn.push(xt[gt]),gt++);else{Rn.length>0&&(mn.push(At(lt,qe,Rn)),Rn=[]),gt-=Si,Mi-=Si;const $i=vi.t,ro=xt.slice(gt-Mi,gt);mn.push(At($i,qe,ro))}}return Rn.length>0&&mn.push(At(lt,qe,Rn)),mn}(rn.parser.start,Ge,Wi(rn.scanner.start,Ge))}Ut.scan=Wi;var Kn={amp:"&",gt:">",lt:"<",nbsp:"\xa0",quot:'"'},ai=/^#[xX]([A-Fa-f0-9]+)$/,Pi=/^#([0-9]+)$/,oi=/^([A-Za-z0-9]+)$/,mi=function(){function Ge(qe){this.named=qe}return Ge.prototype.parse=function(qe){if(qe){var xt=qe.match(ai);if(xt)return String.fromCharCode(parseInt(xt[1],16));if(xt=qe.match(Pi))return String.fromCharCode(parseInt(xt[1],10));if(xt=qe.match(oi))return this.named[xt[1]]||"&"+xt[1]+";"}},Ge}(),wi=/[\t\n\f ]/,_i=/[A-Za-z]/,hi=/\r\n?/g;function Ti(Ge){return wi.test(Ge)}function to(Ge){return _i.test(Ge)}var xo=function(){function Ge(qe,xt,un){void 0===un&&(un="precompile"),this.delegate=qe,this.entityParser=xt,this.mode=un,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var gt=this.peek();if("<"!==gt||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===gt){var mn=this.tagNameBuffer.toLowerCase();("pre"===mn||"textarea"===mn)&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var gt=this.peek(),mn=this.tagNameBuffer;"<"!==gt||this.isIgnoredEndTag()?"&"===gt&&"script"!==mn&&"style"!==mn?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(gt)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var gt=this.consume();"!"===gt?this.transitionTo("markupDeclarationOpen"):"/"===gt?this.transitionTo("endTagOpen"):("@"===gt||":"===gt||to(gt))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(gt))},markupDeclarationOpen:function(){var gt=this.consume();"-"===gt&&"-"===this.peek()?(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment()):"DOCTYPE"===gt.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){Ti(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var gt=this.consume();Ti(gt)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(gt.toLowerCase()))},doctypeName:function(){var gt=this.consume();Ti(gt)?this.transitionTo("afterDoctypeName"):">"===gt?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(gt.toLowerCase())},afterDoctypeName:function(){var gt=this.consume();if(!Ti(gt))if(">"===gt)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var mn=gt.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),Rn="PUBLIC"===mn.toUpperCase(),Wn="SYSTEM"===mn.toUpperCase();(Rn||Wn)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),Rn?this.transitionTo("afterDoctypePublicKeyword"):Wn&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var gt=this.peek();Ti(gt)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):'"'===gt?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):"'"===gt?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):">"===gt&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var gt=this.consume();'"'===gt?this.transitionTo("afterDoctypePublicIdentifier"):">"===gt?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(gt)},doctypePublicIdentifierSingleQuoted:function(){var gt=this.consume();"'"===gt?this.transitionTo("afterDoctypePublicIdentifier"):">"===gt?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(gt)},afterDoctypePublicIdentifier:function(){var gt=this.consume();Ti(gt)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):">"===gt?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===gt?this.transitionTo("doctype
1SystemIdentifierDoubleQuoted"):"'"===gt&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var gt=this.consume();Ti(gt)||(">"===gt?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===gt?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===gt&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var gt=this.consume();'"'===gt?this.transitionTo("afterDoctypeSystemIdentifier"):">"===gt?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(gt)},doctypeSystemIdentifierSingleQuoted:function(){var gt=this.consume();"'"===gt?this.transitionTo("afterDoctypeSystemIdentifier"):">"===gt?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(gt)},afterDoctypeSystemIdentifier:function(){var gt=this.consume();Ti(gt)||">"===gt&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var gt=this.consume();"-"===gt&&"-"===this.peek()?this.transitionTo("commentStartDash"):">"===gt?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(gt),this.transitionTo("comment"))},commentStartDash:function(){var gt=this.consume();"-"===gt?this.transitionTo("commentEnd"):">"===gt?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var gt=this.consume();"-"===gt?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(gt)},commentEndDash:function(){var gt=this.consume();"-"===gt&&"-"===this.peek()?this.delegate.appendToCommentData(gt):"-"===gt?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+gt),this.transitionTo("comment"))},commentEnd:function(){var gt=this.consume();">"===gt?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+gt),this.transitionTo("comment"))},tagName:function(){var gt=this.consume();Ti(gt)?this.transitionTo("beforeAttributeName"):"/"===gt?this.transitionTo("selfClosingStartTag"):">"===gt?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(gt)},endTagName:function(){var gt=this.consume();Ti(gt)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===gt?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===gt?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(gt)},beforeAttributeName:function(){var gt=this.peek();Ti(gt)?this.consume():"/"===gt?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===gt?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===gt?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(gt)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var gt=this.peek();Ti(gt)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===gt?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===gt?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===gt?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===gt||"'"===gt||"<"===gt?(this.delegate.reportSyntaxError(gt+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(gt)):(this.consume(),this.delegate.appendToAttributeName(gt))},afterAttributeName:function(){var gt=this.peek();Ti(gt)?this.consume():"/"===gt?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===gt?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===gt?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(gt))},beforeAttributeValue:function(){var gt=this.peek();Ti(gt)?this.consume():'"'===gt?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===gt?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===gt?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(gt))},attributeValueDoubleQuoted:function(){var gt=this.consume();'"'===gt?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):this.delegate.appendToAttributeValue("&"===gt?this.consumeCharRef()||"&":gt)},attributeValueSingleQuoted:function(){var gt=this.consume();"'"===gt?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):this.delegate.appendToAttributeValue("&"===gt?this.consumeCharRef()||"&":gt)},attributeValueUnquoted:function(){var gt=this.peek();Ti(gt)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===gt?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===gt?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===gt?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(gt))},afterAttributeValueQuoted:function(){var gt=this.peek();Ti(gt)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===gt?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===gt?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var gt=this.consume();("@"===gt||":"===gt||to(gt))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(gt))}},this.reset()}return Ge.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},Ge.prototype.transitionTo=function(qe){this.state=qe},Ge.prototype.tokenize=function(qe){this.reset(),this.tokenizePart(qe),this.tokenizeEOF()},Ge.prototype.tokenizePart=function(qe){for(this.input+=function lo(Ge){return Ge.replace(hi,"\n")}(qe);this.index<this.input.length;){var xt=this.states[this.state];if(void 0===xt)throw new Error("unhandled state "+this.state);xt.call(this)}},Ge.prototype.tokenizeEOF=function(){this.flushData()},Ge.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},Ge.prototype.peek=function(){return this.input.charAt(this.index)},Ge.prototype.consume=function(){var qe=this.peek();return this.index++,"\n"===qe?(this.line++,this.column=0):this.column++,qe},Ge.prototype.consumeCharRef=function(){var qe=this.input.indexOf(";",this.index);if(-1!==qe){var xt=this.input.slice(this.index,qe),un=this.entityParser.parse(xt);if(un){for(var gt=xt.length;gt;)this.consume(),gt--;return this.consume(),un}}},Ge.prototype.markTagStart=function(){this.delegate.tagOpen()},Ge.prototype.appendToTagName=function(qe){this.tagNameBuffer+=qe,this.delegate.appendToTagName(qe)},Ge.prototype.isIgnoredEndTag=function(){var qe=this.tagNameBuffer;return"title"===qe&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===qe&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===qe&&"<\/script>"!==this.input.substring(this.index,this.index+9)},Ge}(),Qt=function(){function Ge(qe,xt){void 0===xt&&(xt={}),this.options=xt,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new xo(this,qe,xt.mode),this._currentAttribute=void 0}return Ge.prototype.tokenize=function(qe){return this.tokens=[],this.tokenizer.tokenize(qe),this.tokens},Ge.prototype.tokenizePart=function(qe){return this.tokens=[],this.tokenizer.tokenizePart(qe),this.tokens},Ge.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},Ge.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},Ge.prototype.current=function(){var qe=this.token;if(null===qe)throw new Error("token was unexpectedly null");if(0===arguments.length)return qe;
1for(var xt=0;xt<arguments.length;xt++)if(qe.type===arguments[xt])return qe;throw new Error("token type was unexpectedly "+qe.type)},Ge.prototype.push=function(qe){this.token=qe,this.tokens.push(qe)},Ge.prototype.currentAttribute=function(){return this._currentAttribute},Ge.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},Ge.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},Ge.prototype.appendToDoctypeName=function(qe){this.current("Doctype").name+=qe},Ge.prototype.appendToDoctypePublicIdentifier=function(qe){var xt=this.current("Doctype");void 0===xt.publicIdentifier?xt.publicIdentifier=qe:xt.publicIdentifier+=qe},Ge.prototype.appendToDoctypeSystemIdentifier=function(qe){var xt=this.current("Doctype");void 0===xt.systemIdentifier?xt.systemIdentifier=qe:xt.systemIdentifier+=qe},Ge.prototype.endDoctype=function(){this.addLocInfo()},Ge.prototype.beginData=function(){this.push({type:"Chars",chars:""})},Ge.prototype.appendToData=function(qe){this.current("Chars").chars+=qe},Ge.prototype.finishData=function(){this.addLocInfo()},Ge.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},Ge.prototype.appendToCommentData=function(qe){this.current("Comment").chars+=qe},Ge.prototype.finishComment=function(){this.addLocInfo()},Ge.prototype.tagOpen=function(){},Ge.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},Ge.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},Ge.prototype.finishTag=function(){this.addLocInfo()},Ge.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},Ge.prototype.appendToTagName=function(qe){this.current("StartTag","EndTag").tagName+=qe},Ge.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},Ge.prototype.appendToAttributeName=function(qe){this.currentAttribute()[0]+=qe},Ge.prototype.beginAttributeValue=function(qe){this.currentAttribute()[2]=qe},Ge.prototype.appendToAttributeValue=function(qe){this.currentAttribute()[1]+=qe},Ge.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},Ge.prototype.reportSyntaxError=function(qe){this.current().syntaxError=qe},Ge}();const yn="LinkifyResult",Un="StartTag",tn="Chars";function go(Ge,qe){const xt=Ut(Ge),un=[];for(let gt=0;gt<xt.length;gt++){const mn=xt[gt];"nl"===mn.t&&qe.get("nl2br")?un.push({type:Un,tagName:"br",attributes:[],selfClosing:!0}):mn.isLink&&qe.check(mn)?un.push({type:yn,rendered:qe.render(mn)}):un.push({type:tn,chars:mn.toString()})}return un}function To(Ge,qe,xt,un){let gt=1;for(;xt<qe.length&&gt>0;){let mn=qe[xt];mn.type===Un&&mn.tagName.toUpperCase()===Ge?gt++:"EndTag"===mn.type&&mn.tagName.toUpperCase()===Ge&&gt--,un.push(mn),xt++}return un}function Io({tagName:Ge,attributes:qe,content:xt}){return`<${Ge} ${function Ot(Ge){const qe=[];for(const xt in Ge)qe.push(`${xt}="${Ie(Ge[xt]+"")}"`);return qe.join(" ")}(qe)}>${Do(xt)}</${Ge}>`}function Do(Ge){return Ge.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Ie(Ge){return Ge.replace(/"/g,"&quot;")}function ze(Ge){const qe=[];for(let xt=0;xt<Ge.length;xt++)qe.push(`${Ge[xt][0]}="${Ie(Ge[xt][1]+"")}"`);return qe}var pt=l(43123);function wn(Ge,qe){return Ge=(0,pt.Z)(Ge).trim(),qe&&(Ge=function on(Ge){try{return Ge&&function zi(Ge,qe={}){const xt=function cn(Ge,qe){return new Qt(new mi(Kn),qe).tokenize(Ge)}(Ge),un=[],gt=[],mn=new li(qe,Io);for(let Rn=0;Rn<xt.length;Rn++){const Wn=xt[Rn];if(Wn.type===Un){un.push(Wn);const ii=Wn.tagName.toUpperCase();if(!("A"===ii||mn.ignoreTags.indexOf(ii)>=0))continue;let Mi=un.length;To(ii,xt,++Rn,un),Rn+=un.length-Mi-1}else if(Wn.type!==tn)un.push(Wn);else{const ii=go(Wn.chars,mn);un.push.apply(un,ii)}}for(let Rn=0;Rn<un.length;Rn++){const Wn=un[Rn];switch(Wn.type){case yn:gt.push(Wn.rendered);break;case Un:{let ii="<"+Wn.tagName;Wn.attributes.length>0&&(ii+=" "+ze(Wn.attributes).join(" ")),Wn.selfClosing&&(ii+=" /"),ii+=">",gt.push(ii);break}case"EndTag":gt.push(`</${Wn.tagName}>`);break;case tn:gt.push(Do(Wn.chars));break;case"Comment":gt.push(`\x3c!--${Do(Wn.chars)}--\x3e`);break;case"Doctype":{let ii=`<!DOCTYPE ${Wn.name}`;Wn.publicIdentifier&&(ii+=` PUBLIC "${Wn.publicIdentifier}"`),Wn.systemIdentifier&&(ii+=` "${Wn.systemIdentifier}"`),ii+=">",gt.push(ii);break}}}return gt.join("")}(Ge,{target:"_blank",rel:"noopener noreferrer"})}catch{return Ge}}(Ge)),(0,f.W)(Ge)}},43123(ot,V,l){"use strict";function f(h){return h.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function g(h){return h.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#039;/g,"'")}l.d(V,{U:()=>g,Z:()=>f})},31360(ot,V,l){"use strict";l.d(V,{Y:()=>h});const h={"WARNINGS.STRING_TOO_LONG":"_i18n.StringTooLong","WARNINGS.XAPI.TOO_MANY_ITEMS_IN_LIST":"_i18n.TooManyItemsInList","WARNINGS.XAPI.CAPTCHA_ERROR":"_i18n.CaptchaError","WARNINGS.LIMIT_REACHED":"_i18n.RequestLimitReached","WARNINGS.LICENSE_NOT_FOUND":"_i18n.LicensePartnerKeyIsNotFound","WARNINGS.ERP_SERVER_ERROR":"_i18n.ErpServerError","WARNINGS.XAPI.OUTBOUND_RULES_LIMIT_REACHED":"_i18n.OutboundRulesLimitReached","WARNINGS.CANNOT_BE_DELETED":"_i18n.CantBeDeleted","WARNINGS.XAPI.INVALID_FILE_NAME":"_i18n.InvalidFileName","WARNINGS.XAPI.INVALID_TIMEZONE":"_i18n.InvalidTimeZone","WARNINGS.CSV_IMPORT_LIMIT_REACHED":"_i18n.MaximumNumberOfRowsAllowed","WARNINGS.CSV_LINE_CORRUPTED":"_i18n.CsvLineCorrupted","WARNINGS.FAX_SERVER_CANNOT_BE_DELETED":"_i18n.FaxServerCantBeDeleted","WARNINGS.GROUP_CANNOT_BE_DELETED":"_i18n.DefaultGroupCantBeDeleted","WARNINGS.GROUP_WITH_MEMBERS_CANNOT_BE_DELETED":"_i18n.DepartmentWithMembersCantBeDeleted","WARNINGS.INTERNATIONALPREFIX_IS_MISSING":"_i18n.InternationalPrefixIsMissing","WARNINGS.RING_GROUP_ENABLE_PAGING":"_i18n.XapiRingGroupEnablePaging","WARNINGS.WAKEUP_IVR_EXISTS":"_i18n.XapiWakeUpIvrExists","WARNINGS.WRONG_CSV_FILE_REQUIRED_COLUMNS_NOT_FOUND":"_i18n.RequiredColumnsNotFound","WARNINGS.XAPI.ALREADY_IN_USE":"_i18n.XapiInUse","WARNINGS.MAC_ADDRESS_ALREADY_IN_USE":"_i18n.MacAddressAlreadyInUse","WARNINGS.XAPI.MAC_USED_BY":"_i18n.MacUsedBy","WARNINGS.XAPI.CANNOT_CONNECT_FTP":"_i18n.CannotConnectFtp","WARNINGS.XAPI.CANNOT_CONNECT_GOOGLE_BUCKET":"_i18n.CannotConnectGb","WARNINGS.XAPI.CANNOT_CONNECT_AMAZON_S3_BUCKET":"_i18n.CannotConnectS3","WARNINGS.XAPI.CANNOT_CONNECT_SFTP":"_i18n.CannotConnectSftp","WARNINGS.XAPI.CANNOT_CONNECT_SMB":"_i18n.CannotConnectSmb","WARNINGS.XAPI.CAN_NOT_BE_EMPTY_STRING":"_i18n.FieldIsRequired","WARNINGS.XAPI.CHAT_LOG_IS_DISABLED":"_i18n.ChatLogIsDisabled","WARNINGS.XAPI.CREATE_1_SIP_TRUCK_EMERGENCY":"_i18n.Create1SIPTrunkEm","WARNINGS.XAPI.DUPLICATE":"_i18n.Duplicate","WARNINGS.XAPI.FILE_FORMAT_IS_INCORRECT":"_i18n.IncorrectFileFormat","WARNINGS.XAPI.FILE_IS_TOO_LARGE":"_i18n.ChatsFileExceedsMaxSize","WARNINGS.XAPI.FILE_NOT_FOUND":"_i18n.FileNotFound","WARNINGS.XAPI.FILE_NOT_ACCESSIBLE":"_i18n.FileNotAccessible","WARNINGS.XAPI.FORBIDDEN_CHANGE":"_i18n.ForbiddenChange","WARNINGS.INVALID":"_i18n.XapiInvalid","WARNINGS.XAPI.INVALID_CREDENTIALS":"_i18n.XapiInvalidCredentials","WARNINGS.INVALID_HEX_CHARACTER":"_i18n.InvalidHexCharacter","WARNINGS.XAPI.INVALID_LICENSE_TYPE":"_i18n.FeatureUnavailableOnCurrentEdition","WARNINGS.INVALID_PASSWORD":"_i18n.XapiInvalidPassword","WARNINGS.XAPI.INVALID_PATH":"_i18n.XapiInvalidPath","WARNINGS.XAPI.INVALID_PIN_NUMBER":"_i18n.InvalidPinNumber","WARNINGS.LENGTH_NOT_MORE_2048_CHARS":"_i18n.XapiStringTooLong2048","WARNINGS.LENGTH_NOT_MORE_255_CHARS":"_i18n.XapiStringTooLong255","WARNINGS.LENGTH_NOT_MORE_50_CHARS":"_i18n.XapiStringTooLong50","WARNINGS.XAPI.MCM_MODE_REQUIRED":"_i18n.McmModeRequired","WARNINGS.XAPI.NON_EXISTENT_EXT_NUMBER":"_i18n.ExtensionNumberNotFound","WARNINGS.XAPI.NOT_FOUND":"_i18n.XapiNotFound","WARNINGS.XAPI.NOT_SUPPORTED":"_i18n.XapiNotSupported","WARNINGS.NO_MORE_NUMBERS_AVAILABLE":"_i18n.NoAvailableExtensionNumbers","WARNINGS.XAPI.NO_USERS_IN_TEAMS":"_i18n.NoUsersInTeams","WARNINGS.XAPI.NUMBER_IGNORED":"_i18n.XapiNumberIgnored","WARNINGS.XAPI.OTHER_USER_ROLE_DOWNGRADE":"_i18n.OtherUserRoleDowngrade","WARNINGS.XAPI.OUT_OF_THE_RANGE":"_i18n.XapiOutOfRange","WARNINGS.XAPI.PATH_SHOULD_NOT_CONTAIN_SPACES":"_i18n.XapiInvalidPath","WARNINGS.XAPI.PLAYLIST_IN_USE":"_i18n.PlaylistInUse","WARNINGS.XAPI.PLAYLIST_NO_SOURCE":"_i18n.PlaylistSourceNotFound","WARNINGS.XAPI.REQUIRED":"_i18n.FieldIsRequired","WARNINGS.XAPI.SBC_CERT_EXPIRED":"_i18n.CertificateExpired","WARNINGS.XAPI.SBC_CERT_FQDN_MISMATCH":"_i18n.SbcCertFqdnMismatch","WARNINGS.XAPI.CERTIFICATE_EXPIRED":"_i18n.CertificateExpired","WARNINGS.XAPI.SBC_KEY_CERT_MISMATCH":"_i18n.SbcKeyCertMismatch","WARNINGS.XAPI.TOO_MANY_PHONES":"_i18n.TooManyPhonesForUser","WARNINGS.XAPI.TOO_MANY_TRUNKS":"_i18n.ErrorTooManyTrunks","WARNINGS.XAPI.AWS_STORAGE_UNDER_USAGE":"_i18n.AmazonStorageUnderUsage","WARNINGS.XAPI.TOO_MANY_SBC":"_i18n.ErrorTooManySbcs","WARNINGS.XAPI.TOO_MANY_PROMPTS":"_i18n.ErrorTooManyPrompts","WARNINGS.XAPI.USER_ROLE_DOWNGRADE":"_i18n.XapiNotAllowedRoleDowngrade","WARNINGS.SUPPORTED_MEDIA_FORMAT_WAV":"_i18n.SupportedMediaFormatWav","WARNINGS.WRONG_CSV_FILE_REQUIRED_HEADER_NOT_FOUND":"_i18n.WrongCsvFileRequiredHeaderNotFound","WARNINGS.CSV_INVALID_FILE_FORMAT":"_i18n.IncorrectFileFormatCsv","WARNINGS.INVALID_IP_MASK":"_i18n.InvalidIpMask","WARNINGS.ALREADY_EXPIRED":"_i18n.AlreadyExpired","WARNINGS.BACKUP_NOT_FOUND_OR_INVALID":"_i18n.BackupNotFoundOrInvalid","WARNINGS.NO_SECRET_DEFINED":"_i18n.NoSecretDefined","WARNINGS.INVALID_SECURITY_CODE":"_i18n.InvalidSecurityCode","WARNINGS.INVALID_CALL_FLOW_FILE":"_i18n.InvalidCallFlowFile","WARNINGS.EXTRACTING_OUTSIDE_THE_DESTINATION_DIRECTORY":"_i18n.ExtractingOutsideDestinationDirectory","WARNINGS.WIRESHARK_NOT_FOUND":"_i18n.WiresharkNotFound","WARNINGS.CAPTURE_LOCALHOST_NOT_ALLOWED":"_i18n.CaptureLocalhostNotAllowed","WARNINGS.CAPTURE_ONGOING":"_i18n.CaptureOngoing","WARNINGS.CANNOT_DELETE_TRUNKS_BINDED_ERMERGENCY_NUMBER":"_i18n.EmergencyTrunkCantBeDeleted","WARNINGS.OPERATOR_CANNOT_BE_DELETED":"_i18n.OperatorC
1antBeDeleted","WARNINGS.USER_EXTENSION_CANNOT_BE_DELETED":"_i18n.SelfCantBeDeleted","WARNINGS.TOO_MANY_BACKUPS":"_i18n.XapiTooManyBackups","WARNINGS.CONTACTS_SPECIFY_PHONE_NUMBER":"_i18n.MustSpecifyAtLeastOnePhoneNumber","WARNINGS.CONTACTS_SPECIFY_NAME_SURNAME_COMPANY":"_i18n.MustSpecifyAtLeastOneContactName","WARNINGS.CONTACTS_SPECIFY_NAME_SURNAME":"_i18n.FnOrLn","WARNINGS.BACKUP_LOCATION_CONFIG_ERROR":"_i18n.CantLocateBackupConfig","WARNINGS.ERROR_DOWNLOADING_FROM_UPDATES_SERVER":"_i18n.ErrorDownloadingFromUpdatesServer","WARNINGS.UNABLE_REACH_UPDATES_SERVER":"_i18n.UpdatesServerUnreachable","WARNINGS.BLACKLIST_NUMBER_LIMIT_EXCEEDED":"_i18n.BlackListNumberLimitExceeded","WARNINGS.DOUBLE_QUOTES_NOT_ALLOWED":"_i18n.DoubleQuotesAreNotAllowed","WARNINGS.MCU_REQUEST_ALREADY_IN_PROGRESS":"_i18n.MCUMultipleRequestRestricted","WARNINGS.MCU_LIMIT_REACHED":"_i18n.MCUDisabledAddMeetingServer","WARNINGS.MCU_REQUEST_NOT_FOUND":"_i18n.MCURequestNotFound","WARNINGS.MCU_REQUEST_TIMEOUT":"_i18n.MCURequestTimeout","WARNINGS.MCU_WEBMEETING_BRIDGE_NOT_FOUND":"_i18n.MCUWebmeetingBridgeNotFound","WARNINGS.CONVERTER_REQUEST_ALREADY_IN_PROGRESS":"_i18n.MultipleTranscriptionConverterRequestRestricted","WARNINGS.CONVERTER_LIMIT_REACHED":"_i18n.TranscriptionConverterLimitReached","WARNINGS.CONVERTER_WEBMEETING_BRIDGE_NOT_FOUND":"_i18n.MCUWebmeetingBridgeNotFound","WARNINGS.CONVERTER_REQUEST_NOT_FOUND":"_i18n.TranscriptionConverterRequestNotFound","WARNINGS.CONVERTER_REQUEST_TIMEOUT":"_i18n.TranscriptionConverterRequestTimeout","WARNINGS.XAPI.OPENAI_KEY_IS_MISSING":"_i18n.OpenAiKeyIsMissing","license_error.CannotReplaceKeyToNfrKey":"_i18n.LicenseCannotReplaceKeyToNfrKey","license_error.MacLimitReached":"_i18n.LicenseMacLimitReached","license_error.KeyNotEnabled":"_i18n.LicenseKeyNotEnabled","license_error.VersionMismatch":"_i18n.LicenseVersionMismatch","license_error.UnknownErpFailure401":"_i18n.LicenseUnknownErpFailure401","license_error.KeyNotFound":"_i18n.LicenseKeyNotFound","license_error.KeyNotLatest":"_i18n.LicenseKeyNotLatest","license_error.ErpServerError":"_i18n.LicenseErpServerError","license_error.PhoneSystemEditionAlreadyActivated":"_i18n.LicensePhoneSystemEditionAlreadyActivated","license_error.HttpsErr_InvalidResponseHeader":"_i18n.LicenseHttpsErr_InvalidResponseHeader","license_error.HttpsErr_ErrorTCP":"_i18n.LicenseHttpsErr_ErrorTCP","license_error.HttpsErr_TlsHandshakeFailed":"_i18n.LicenseHttpsErr_TlsHandshakeFailed","license_error.HttpsErr_InvalidHost":"_i18n.LicenseHttpsErr_InvalidHost","license_error.HttpsErr_InvalidTSLength":"_i18n.LicenseHttpsErr_InvalidTSLength","license_error.HttpsErr_RecvTimeout":"_i18n.LicenseHttpsErr_RecvTimeout","license_error.HttpsErr_MissingTrustedStorage":"_i18n.LicenseHttpsErr_MissingTrustedStorage","license_error.HttpsErr_InvalidTrustedStorage":"_i18n.LicenseHttpsErr_InvalidTrustedStorage","license_error.Unknown":"_i18n.LicenseUnknown","license_error.FailedToFindSuitableNetworkAdapter":"_i18n.LicenseFailedToFindSuitableNetworkAdapter","license_error.OtherError":"_i18n.LicenseOtherError","license_error.NewLicenseKeyIsNotFound":"_i18n.LicenseNewLicenseKeyIsNotFound","license_error.OldLicenseKeyIsNotFound":"_i18n.LicenseOldLicenseKeyIsNotFound","license_error.NewLicenseKeyIsEqualToOldLicenseKey":"_i18n.LicenseNewLicenseKeyIsEqualToOldLicenseKey","license_error.NewKeyIsNotEnabled":"_i18n.LicenseNewKeyIsNotEnabled","license_error.NewKeyMaintenanceIsExpired":"_i18n.LicenseNewKeyMaintenanceIsExpired","license_error.NewKeyIsExpired":"_i18n.LicenseNewKeyIsExpired","license_error.NewKeyIsBoundToFqdn":"_i18n.LicenseNewKeyIsBoundToFqdn","license_error.NewKeyIsFree":"_i18n.LicenseNewKeyIsFree","license_error.ProductTypeIsDeprecated":"_i18n.LicenseProductTypeIsDeprecated","license_error.OldKeyIsNotFound":"_i18n.LicenseOldKeyIsNotFound","license_error.CannotReplaceCommercialKeyWithFreeKey":"_i18n.LicenseCannotReplaceCommercialKeyWithFreeKey","license_error.CannotReplaceMcmKeyWithNonMcmKey":"_i18n.LicenseCannotReplaceMcmKeyWithNonMcmKey","license_error.NewKeyCannotBePerpetual":"_i18n.LicenseNewKeyCannotBePerpetual","license_error.KeyIsNotFound":"_i18n.LicensePartnerKeyIsNotFound","license_error.KeyIsNullOrInvalid":"_i18n.LicensePartnerKeyIsNullOrInvalid","license_error.ResellerAlreadyLinked":"_i18n.LicensePartnerResellerAlreadyLinked","license_error.KeyOrPartnerIdIsNullOrInvalid":"_i18n.LicensePartnerKeyOrPartnerIdIsNullOrInvalid","license_error.KeyCannotBeLinkedToReseller":"_i18n.LicensePartnerKeyCannotBeLinkedToReseller","license_error.KeyOrParentIdNotFound":"_i18n.LicensePartnerKeyOrParentIdNotFound","license_error.CannotUnlinkResellerFromNfrKey":"_i18n.LicensePartnerCannotUnlinkResellerFromNfrKey","license_error.ResellerOtherError":"_i18n.LicensePartnerResellerOtherError","license_error.LinkedResellerNotFound":"_i18n.LicenseLinkedResellerNotFoundError","license_error.OldKeyIsCommercial":"_i18n.LicenseOldKeyIsCommercial"}},7881(ot,V,l){"use strict";l.d(V,{PE:()=>g,vg:()=>C,wk:()=>M});var f=l(91413);function g(A){if(!A)return"";if(A instanceof f.yz)switch(A.status){case 0:return"_i18n.GeneralNetworkError";case 413:return"_i18n.ChatsFileExceedsMaxSize";case 403:return"_i18n.ForbiddenResource";case 404:return"_i18n.Response404Message";case 429:return"_i18n.TooManyRequests";case 502:return"_i18n.Response502Message";case 504:return"_i18n.Response504Message";case 527:return A.error;default:return"string"==typeof A.error&&A.error||A.error?.detail||A.error?.Detail||function o(A){const D=A.error?.error?.details;if(D&&Array.isArray(D))return D.map(({target:w,message:O})=>d(w,O)).join(h)}(A)||A.error?.error?.message||A.error?.Message||500===A.status&&"_i18n.Response500Message"||function y(A){if(A.error&&"object"==typeof A.error)return Object.entries(A.error).map(([D,w])=>d(D,w)).join(h)}(A)||`${A.status} ${A.statusText}`}if("string"==typeof A)return A;if(A instanceof Error)switch(A.name){case"NotAllowedError":return"_i18n.WebRtcNotAllowedError";case"NotFoundError":return"_i18n.WebRtcNotFoundError";default:return A.message}return"object"==typeof A&&"message"in A&&A.message&&"string"==typeof A.message?A.message:"Unspecified error"}const h="<br/>",_=": ",C="\r\n";
1function d(A,D){return[A,Array.isArray(D)?D[0]:D].filter(Boolean).join(_)}function M(A,D){return A.split(h).map(w=>{const O=w.split(C)[0].indexOf(_),x=O>0?w.substring(0,O):void 0,N=O>0?w.substring(O+2):w;return x?[x,D(N)].join(_):D(N)}).join(h)}},91968(ot,V,l){"use strict";l.d(V,{J:()=>M,U:()=>A});var f=l(17705),g=l(85802),h=l(32271),_=l(68018),C=l(89079),o=l(7881),y=l(31360),d=l(35547);let M=(()=>{class D{translate=(0,g.WQX)(_.c$);message=f.hFB.required();params=(0,f.hFB)();checkLanguageChange=(0,C.ot)(this.translate.onLangChange);translated=(0,h.EW)(()=>{this.checkLanguageChange();const O=this.message(),x=this.params();return O?(0,o.wk)(O,N=>this.translateValue(N,x)):""});translateValue(O,x){const[N,...q]=O.split("\r\n"),K=y.Y[N]??N,te=this.translate.instant(K)?.includes("{{p0}}")?0:1,H=q.reduce((ee,F,J)=>Object.assign(ee,{[`p${J+te}`]:F}),{});return this.translate.instant(K,{...x,...H})}static \u0275fac=function(x){return new(x||D)};static \u0275cmp=d.VBU({type:D,selectors:[["app-server-error"]],inputs:{message:[1,"message"],params:[1,"params"]},decls:1,vars:1,consts:[["data-qa","server-error",1,"text-break",3,"innerHTML"]],template:function(x,N){1&x&&d.Hgh(0,"span",0),2&x&&d.Avn("innerHTML",N.translated(),d.npT)},encapsulation:2,changeDetection:0})}return D})();function A(D,w){return[D,..."string"==typeof w?[w]:w].join(o.vg)}},99788(ot,V,l){"use strict";l.d(V,{e:()=>f});class f extends Error{translateParams;constructor(h,_){super(h),this.translateParams=_}}},24979(ot,V,l){"use strict";l.d(V,{W:()=>h});const f=JSON.parse('{"s":{"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}}');function h(_,C){if(C||(C=""),!_)return"";const o=Array.from(_);for(let y=0;y<o.length;y++){let d=f;const M=[];let A=[];for(let D=y;D<Math.min(y+8,o.length);D++){const w=o[D].codePointAt(0);let O=w?w.toString(16):"";for(;O.length<4;)O="0"+O;if(!d.s.hasOwnProperty(O))break;if(A.push(O),(0===d.s[O]||1===d.s[O].e)&&(M.push(...A),A=[]),0===d.s[O]||!d.s[O].hasOwnProperty("s"))break;d=d.s[O]}if(M.length>0){let D;D=M.length>1?o.splice(y,M.length,"").join(""):o[y],o[y]=`<img src="${C}assets/emojione/32/${M.filter(w=>"fe0f"!==w&&"200d"!==w).join("-")}.png" alt="${D}" class="emoji">`}}return o.join("")}},18539(ot,V,l){"use strict";l.d(V,{P:()=>f});const f=/Selenium/.test(window.navigator.userAgent)},422(ot,V,l){"use strict";l.d(V,{O1:()=>_,XD:()=>o,cQ:()=>C});var f=l(25843),g=l(99788);const h=["bytes","kB","MB","GB","TB","FB"];function _(y=0,d=2,M=""){if(isNaN(parseFloat(String(y)))||!isFinite(y))return"?";if(0===y)return M;let A=0;for(;y>=1024;)y/=1024,A++;return y.toFixed(d)+" "+h[A]}function C(y){return o(y*f.MB)}function o(y){return new g.e("_i18n.FileSizeLimit",{p1:_(y,0)})}},5918(ot,V,l){"use strict";l.d(V,{E:()=>x});var f=l(85802),g=l(12426),h=l(42610),_=l(84572),C=l(7673),o=l(23294),y=l(96354),d=l(25558),M=l(1211),A=l(16444),D=l(38601);function w(N){switch(N){case"en-gb":return"uk";case"pt-br":return"pt";case"zh-cn":return"zh";default:return N}}function O(N){if(!N)return N;const q=N.toLowerCase();switch(q){case"uk":return"en-gb";case"pt":return"pt-br";case"zh":return"zh-cn";default:return q}}let x=(()=>{class N{localStorage=(0,f.WQX)(g.sj);myPhoneService=(0,f.WQX)(A.gx);modalService=(0,f.WQX)(D.B);sessionLanguage$=this.myPhoneService.myPhoneSession.pipe((0,d.n)(K=>(0,_.z)([K.systemParameters$.pipe((0,y.T)(te=>te.SystemLanguage),(0,o.F)()),K.bridgesMap$.pipe((0,d.n)(te=>Object.values(te).find(ee=>"local"===ee.id)?.groupsMap$??(0,C.of)(void 0)),(0,d.n)(te=>{const ee=(te?Object.values(te):[]).find(F=>F.groupId.IsPrimaryGroup);return ee?ee.language$:(0,C.of)("")}),(0,o.F)()),K.myInfo$.pipe((0,y.T)(te=>te.Language),(0,o.F)())])),(0,y.T)(([K,te,H])=>O(H||te||K||"")),(0,o.F)());selectLanguage(K){const te=O(K);this.localStorage.store(h.Hh.Language,te),this.requestSetSystemLanguage(te)}requestSetSystemLanguage(K){this.myPhoneService.get(new M.APB({L
1anguage:w(K)})).subscribe({error:te=>this.modalService.error(te)})}static \u0275fac=function(te){return new(te||N)};static \u0275prov=f.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})()},6581(ot,V,l){"use strict";l.d(V,{m:()=>N});var f=l(85802),g=l(67374),h=l.n(g),_=l(12426),C=l(68018),o=l(28460),y=l(25013),d=l(76115),M=l(96106),A=l(42610),D=l(96354),w=l(50644),O=l(91413),x=l(23773);let N=(()=>{class q{translate=(0,f.WQX)(C.c$);httpClient=(0,f.WQX)(O.Qq);bsLocaleService=(0,f.WQX)(o.ZJ);extendedSwPushService=(0,f.WQX)(y.Xd);localStorageLanguage$;localStorageLang=(0,x.I)(A.Hh.Language,null);constructor(){const te=(0,f.WQX)(_.sj);(0,d.Oi)(this.translate),this.localStorageLanguage$=(0,M.lB)(te,A.Hh.Language).pipe((0,D.T)(ee=>this.getSelectedLanguage(ee)),(0,w.H9)())}getSelectedLanguage(te){let H=d.xl.find(ee=>ee.id===te);if(!H){const ee=this.translate.getBrowserCultureLang();ee&&(H=d.xl.find(F=>F.id===ee.toLowerCase()))}if(!H){const ee=this.translate.getBrowserLang();ee&&(H=d.xl.find(F=>F.id===ee.toLowerCase()))}return H||d.xl[0]}applyLanguage(te){this.translate.use(te.id),this.extendedSwPushService.setLanguage(te.id),this.bsLocaleService.use(te.id),h().locale(te.id)}static \u0275fac=function(H){return new(H||q)};static \u0275prov=f.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})()},76115(ot,V,l){"use strict";l.d(V,{Oe:()=>Ki,TQ:()=>An,Oi:()=>eo,SN:()=>Hi,xl:()=>Wi});var f=l(67374),g=l.n(f),h=l(50356),_=l.n(h),C=l(51409),o=l.n(C),y=l(51583),d=l.n(y),M=l(72494),A=l.n(M),D=l(34230),w=l.n(D),O=l(59531),x=l.n(O),N=l(74128),q=l.n(N),K=l(3518),te=l.n(K),H=l(30587),ee=l.n(H),F=l(1092),J=l.n(F),ne=l(84564),de=l.n(ne),Le=l(7803),ut=l.n(Le);const Oe='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="256" fill="#f0f0f0"/><path d="M244.87 256H512c0-23.106-3.08-45.49-8.819-66.783H244.87V256zm0-133.565h229.556a257.35 257.35 0 0 0-59.07-66.783H244.87v66.783zM256 512c60.249 0 115.626-20.824 159.356-55.652H96.644C140.374 491.176 195.751 512 256 512zM37.574 389.565h436.852a254.474 254.474 0 0 0 28.755-66.783H8.819a254.474 254.474 0 0 0 28.755 66.783z" fill="#d80027"/><path d="M118.584 39.978h23.329l-21.7 15.765 8.289 25.509-21.699-15.765-21.699 15.765 7.16-22.037a257.407 257.407 0 0 0-49.652 55.337h7.475l-13.813 10.035a255.58 255.58 0 0 0-6.194 10.938l6.596 20.301-12.306-8.941a253.567 253.567 0 0 0-8.372 19.873l7.267 22.368h26.822l-21.7 15.765 8.289 25.509-21.699-15.765-12.998 9.444A258.468 258.468 0 0 0 0 256h256V0c-50.572 0-97.715 14.67-137.416 39.978zm9.918 190.422-21.699-15.765L85.104 230.4l8.289-25.509-21.7-15.765h26.822l8.288-25.509 8.288 25.509h26.822l-21.7 15.765 8.289 25.509zm-8.289-100.083 8.289 25.509-21.699-15.765-21.699 15.765 8.289-25.509-21.7-15.765h26.822l8.288-25.509 8.288 25.509h26.822l-21.7 15.765zM220.328 230.4l-21.699-15.765L176.93 230.4l8.289-25.509-21.7-15.765h26.822l8.288-25.509 8.288 25.509h26.822l-21.7 15.765 8.289 25.509zm-8.289-100.083 8.289 25.509-21.699-15.765-21.699 15.765 8.289-25.509-21.7-15.765h26.822l8.288-25.509 8.288 25.509h26.822l-21.7 15.765zm0-74.574 8.289 25.509-21.699-15.765-21.699 15.765 8.289-25.509-21.7-15.765h26.822l8.288-25.509 8.288 25.509h26.822l-21.7 15.765z" fill="#0052b4"/></svg>',xe='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="256" fill="#f0f0f0"/><path d="M512 256c0-110.071-69.472-203.906-166.957-240.077v480.155C442.528 459.906 512 366.071 512 256z" fill="#d80027"/><path d="M0 256c0 110.071 69.473 203.906 166.957 240.077V15.923C69.473 52.094 0 145.929 0 256z" fill="#0052b4"/></svg>',Ce='<svg xmlns="http://www.w3.org/2000/svg" viewBox="-49 141 512 512"><circle cx="207" cy="397" r="256" fill="#d80027"/><path d="m91.1 296.8 22.1 68h71.5l-57.8 42.1 22.1 68-57.9-42-57.9 42 22.2-68-57.9-42.1H69zm163.4 240.7-16.9-20.8-25 9.7 14.5-22.5-16.9-20.9 25.9 6.9 14.6-22.5 1.4 26.8 26 6.9-25.1 9.6zm33.6-61 8-25.6-21.9-15.5 26.8-.4 7.9-25.6 8.7 25.4 26.8-.3-21.5 16 8.6 25.4-21.9-15.5zm45.3-147.6L321.6 353l19.2 18.7-26.5-3.8-11.8 24-4.6-26.4-26.6-3.8 23.8-12.5-4.6-26.5 19.2 18.7zm-78.2-73-2 26.7 24.9 10.1-26.1 6.4-1.9 26.8-14.1-22.8-26.1 6.4 17.3-20.5-14.2-22.7 24.9 10.1z" fill="#ffda44"/></svg>',Te='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 256c0 31.314 5.633 61.31 15.923 89.043L256 367.304l240.077-22.261C506.367 317.31 512 287.314 512 256s-5.633-61.31-15.923-89.043L256 144.696 15.923 166.957C5.633 194.69 0 224.686 0 256z" fill="#ffda44"/><path d="M496.077 166.957C459.906 69.473 366.071 0 256 0S52.094 69.473 15.923 166.957h480.154zM15.923 345.043C52.094 442.527 145.929 512 256 512s203.906-69.473 240.077-166.957H15.923z" fill="#d80027"/></svg>',Fe='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M15.923 345.043C52.094 442.527 145.929 512 256 512s203.906-69.473 240.077-166.957L256 322.783l-240.077 22.26z" fill="#ffda44"/><path d="M256 0C145.929 0 52.094 69.472 15.923 166.957L256 189.217l240.077-22.261C459.906 69.472 366.071 0 256 0z" fill="#000000"/><path d="M15.923 166.957C5.633 194.69 0 224.686 0 256s5.633 61.31 15.923 89.043h480.155C506.368 317.31 512 287.314 512 256s-5.632-61.31-15.923-89.043H15.923z" fill="#d80027"/></svg>\n',Ke='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="256" fill="#f0f0f0"/><path d="M512 256c0-110.071-69.472-203.906-166.957-240.077v480.155C442.528 459.906 512 366.071 512 256z" fill="#d80027"/><path d="M0 256c0 110.071 69.472 203.906 166.957 240.077V15.923C69.472 52.094 0 145.929 0 256z" fill="#6da544"/></svg>',Qe='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="256" fill="#f0f0f0"/><path d="M52.92 100.142c-20.109 26.163-35.272 56.318-44.101 89.077h133.178L52.92 100.142zm450.261 89.077c-8.829-32.758-23.993-62.913-44.101-89.076l-89.075 89.076h133.176zM8.819 322.784c8.83 32.758 23.993 62.913 44.101 89.075l89.074-89.075H8.819zM411.858 52.921c-26.163-20.109-56.317-35.272-89.076-44.102v133.177l89.076-89.075zM100.142 459.079c26.163 20.109 56.318 35.272 89.076 44.102V370.005l-89.076 89.074zm89.075-450.26c-32.758 8.83-62.913 23.993-89.075 44.101l89.075 89.075V8.819zm133.566 494.362c32.758-8.83 62.913-23.993 89.075-44.101l-89.075-89.075v133.176zm47.222-180.397 89.075 89.076c20.108-26.162 35.272-56.318 44.101-89.076H370.005z" fill="#0052b4"/><g fill="#d80027"><path d="M509.833 222.609H289.392V2.167A258.556 258.556 0 0 0 256 0c-11.319 0-22.461.744-33.391 2.167v220.441H2.167A258.556 258.556 0 0 0 0 256c0 11.319.744 22.461 2.167 33.391h220.441v220.442a258.35 258.35 0 0 0 66.783 0V289.392h220.442A258.533 258.533 0 0 0 512 256c0-11.317-.744-22.461-2.167-33.391z"/><path d="M322.783 322.784 437.019 437.02a256.636 256.636 0 0 0 15.048-16.435l-97.802-97.802h-31.482v.001zm-133.566 0h-.002L74.98 437.019a256.636 256.636 0 0 0 16.435 15.048l97.802-97.804v-31.479zm0-133.565v-.002L74.981 74.98a256.636 256.636 0 0 0-15.048 16.435l97.803 97.803h31.481zm133.566 0L437.02 74.981a256.328 256.328 0 0 0-16.435-15.047l-97.802 97.803v31.482z"/></g></svg>',kt='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="256" fill="#f0f0f0"/><path d="M496.077 345.043C506.368 317.31 512 287.314 512 256s-5.632-61.31-15.923-89.043H15.923C5.633 194.69 0 224.686 0 256s5.633 61.31 15.923 89.043L256 367.304l240.077-22.261z" fill="#0052b4"/><path d="M256 512c110.071 0 203.906-69.472 240.077-166.957H15.923C52.094 442.528 145.929 512 256 512z" fill="#d80027"/></svg>',ct='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 473.68 473.68" style="enable-background:new 0 0 473.68 473.68" xml:space="preserve"><circle style="fill:#fff" cx="236.85" cy="236.85" r="236.83"/><path style="fill:#efecec" d="M460.14 157.877H314.219c6.335 50.593 6.376 106.339.12 156.995h146.116a236.43 236.43 0 0 0 13.219-78.03 236.24 236.24 0 0 0-13.534-78.965z"/><path style="fill:#e63026" d="M314.219 157.877h145.922a6.687 6.687 0 0 0-.075-.206C429.753 72.204 351.786 9.323 258.105.976c36.253 19.872 46.839 82.832 56.114 156.901z"/><path style="fill:#2b479d" d="M258.109 472.701c93.848-8.362 171.927-71.46 202.12-157.156.079-.228.146-.452.228-.673h-146.12c-9.194 74.47-19.827 137.874-56.228 157.829z"/><path style="fill:#efefef" d="M.001 236.842a236.43 236.43 0 0 0 13.219 78.03h313.313c6.256-50.66 6.215-106.402-.12-156.995H13.534C4.798 182.577.001 209.143.001 236.842z"/><path style="fill:#e73b36" d="M13.604 157.672a5.85 5.85 0 0 0-.075.206h312.883C317.138 83.808 294.356 20.849 258.109.977 251.098.355 244.007 0 236.835 0 133.807 0 46.185 65.805 13.604 157.672z"/><path style="fill:#3757a6" d="M326.533 314.872H13.22c.079.221.15.445.228.673C45.9 407.647 133.637 473.68 236.835 473.68c7.173 0 14.263-.352 21.274-.98 36.401-19.954 59.228-83.358 68.424-157.828z"/></svg>',Pt='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="256" fill="#f0f0f0"/><path d="M512 256c0 141.384-114.616 256-256 256S0 397.384 0 256" fill="#d80027"/></svg>',Ze='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="256" fill="#d80027"/><g fill="#f0f0f0"><path d="m245.518 209.186 21.005 28.945 34.017-11.03-21.038 28.92 21.002 28.944-34.005-11.072-21.037 28.92.022-35.761-34.006-11.072 34.018-11.03z"/>
1<path d="M188.194 328.348c-39.956 0-72.348-32.392-72.348-72.348s32.392-72.348 72.348-72.348c12.458 0 24.18 3.151 34.414 8.696-16.055-15.702-38.012-25.392-62.24-25.392-49.178 0-89.043 39.866-89.043 89.043s39.866 89.043 89.043 89.043c24.23 0 46.186-9.691 62.24-25.392-10.234 5.547-21.956 8.698-34.414 8.698z"/></g></svg>',fe='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="256" fill="#f0f0f0"/><path d="M233.739 256S75.13 437.055 74.98 437.019C121.306 483.346 185.307 512 256 512c141.384 0 256-114.616 256-256H233.739z" fill="#d80027"/><path d="M74.98 74.98c-99.974 99.974-99.974 262.065 0 362.04L256 256 74.98 74.98z" fill="#0052b4"/></svg>',ie='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve"><circle style="fill:#6da544" cx="256" cy="256" r="256"/><path style="fill:#ffda44" d="M256 100.174 467.478 256 256 411.826 44.522 256z"/><circle style="fill:#f0f0f0" cx="256" cy="256" r="89.043"/><path style="fill:#0052b4" d="M211.478 250.435c-15.484 0-30.427 2.355-44.493 6.725.623 48.64 40.227 87.884 89.015 87.884 30.168 0 56.812-15.017 72.919-37.968-27.557-34.497-69.958-56.641-117.441-56.641zM343.393 273.06a89.45 89.45 0 0 0 1.651-17.06c0-49.178-39.866-89.043-89.043-89.043-36.694 0-68.194 22.201-81.826 53.899a183.693 183.693 0 0 1 37.305-3.812c51.717-.001 98.503 21.497 131.913 56.016z"/></svg>',Xe=l.p+"i18n/de_DE-f18b0bb6.xml",ve=l.p+"i18n/fr_FR-4b5fbd07.xml",he=l.p+"i18n/es_ES-67889546.xml",Pe=l.p+"i18n/it_IT-e0b09352.xml",Ve=l.p+"i18n/pt_BR-1d871f57.xml",dt=l.p+"i18n/nl_NL-356cce39.xml",Dt=l.p+"i18n/ru_RU-ec660dd2.xml",wt=l.p+"i18n/pl_PL-484fd1d2.xml",Yt=l.p+"i18n/zh_CN-8a7c6e4e.xml",Tt=l.p+"i18n/tr_TR-82acaf82.xml",qt=l.p+"i18n/cs_CZ-51a02853.xml",We=l.p+"i18n/de_DE-b0e79ccd.json",yt=l.p+"i18n/fr_FR-e1f96870.json",je=l.p+"i18n/es_ES-ab03a66d.json",St=l.p+"i18n/it_IT-e8d6910e.json",me=l.p+"i18n/pt_BR-8e8a3117.json",rt=l.p+"i18n/ru_RU-4b6acde0.json",bt=l.p+"i18n/zh_CN-5a2dca14.json",we=JSON.parse('{"_i18n":{"ConferenceUri":"https://www.3cx.de/benutzerhandbuch/videokonferenzen/","AboutUri":"https://www.3cx.de/","WebclientManualUri":"https://www.3cx.de/benutzerhandbuch/webclient/","OfficeUri":"https://www.3cx.de/docs/adminhandbuch/installation/","OfficeUsersAdmin":"https://www.3cx.de/docs/adminhandbuch/","OfficeUsersUri":"https://www.3cx.de/docs/adminhandbuch/benutzer-erstellen/","OfficeGroupsUri":"https://www.3cx.de/docs/adminhandbuch/benutzer-erstellen/","OfficeVoiceAndChatUri":"https://www.3cx.de/docs/adminhandbuch/","OfficeOfficeHoursUri":"https://www.3cx.de/docs/adminhandbuch/office-hours/","OfficeCallHandling":"https://www.3cx.de/docs/adminhandbuch/callcenter-warteschleifen/","SbcGuideLink":"https://www.3cx.de/docs/adminhandbuch/sbc-installation/","OfficeSbcEditorUri":"https://www.3cx.de/docs/adminhandbuch/sbc-installation/","OfficeDectEditorUri":"https://www.3cx.de/docs/adminhandbuch/ip-telefone/","FreeEditionRegistrationRequiredGuideLink":"https://www.3cx.de/docs/registrieren-kostenloses-abo/","NoSystemOwnerSetGuideLink":"https://www.3cx.de/docs/systemeigentuemer-zuweisen/","DashboardUri":"https://www.3cx.de/docs/adminhandbuch/system-management/","TrunkEditorUri":"https://www.3cx.de/docs/adminhandbuch/sip-trunks/","LiveChatUri":"https://www.3cx.de/docs/adminhandbuch/livechat/","OutboundCallRoutingUri":"https://www.3cx.de/docs/adminhandbuch/ausgehende_regeln/","BackupUri":"https://www.3cx.de/docs/adminhandbuch/backup/","AdvancedUri":"https://www.3cx.de/docs/adminhandbuch/erweiterte-funktionen/","UsersUri":"https://www.3cx.de/docs/adminhandbuch/benutzer-erstellen/","IPPhonesUri":"https://www.3cx.de/docs/adminhandbuch/ip-telefone/","OfficeHoursUri":"https://www.3cx.de/docs/adminhandbuch/office-hours/","ReportsUri":"https://www.3cx.de/docs/adminhandbuch/berichte/","GoogleUri":"https://www.3cx.com/docs/manual/google-workspace/","CallHandlingUri":"https://www.3cx.de/docs/adminhandbuch/callcenter-warteschleifen/","DepartmentsUri":"https://www.3cx.de/docs/adminhandbuch/abteilungen/","FAXEditorUri":"https://www.3cx.de/docs/adminhandbuch/fax-server-konfiguration/","EmergencyEditorUri":"https://www.3cx.de/docs/adminhandbuch/notrufnummern/","BackupAndRestoreUri":"https://www.3cx.de/docs/adminhandbuch/benutzer-erstellen/","OutboundRulesUri":"https://www.3cx.de/docs/adminhandbuch/benutzer-erstellen/","PhonesUri":"https://www.3cx.de/docs/adminhandbuch/benutzer-erstellen/","PhonebookEditorUri":"https://www.3cx.de/docs/adminhandbuch/firmentelefonbuch/","AdminManualUri":"https://www.3cx.de/docs/adminhandbuch/","Microsoft365Uri":"https://www.3cx.de/docs/adminhandbuch/microsoft-365/","DialCodesUri":"https://www.3cx.de/docs/funktionswahl-codes/","SystemUri":"https://www.3cx.de/docs/adminhandbuch/systemoptionen/","Microsoft365TeamsUri":"https://www.3cx.de/docs/adminhandbuch/microsoft-teams/","HotdeskingUri":"https://www.3cx.de/docs/hotdesking/","RecordingsUri":"https://www.3cx.de/docs/adminhandbuch/call-recording/","HotelUri":"https://www.3cx.de/docs/hotel-modul/","VideoConferenceCenterGuidelink":"https://www.3cx.de/docs/videokonferenzserver/","GoogleBigQueryGuideLink":"https://www.3cx.de/docs/google-bigquery-konfiguration/","PostgreSqlGuideUri":"https://www.3cx.de/docs/postgresql-konfiguration/","ServicePrincipalGuideUri":"https://www.3cx.de/docs/konfiguration-rest-api/","SqlServerGuideUri":"https://www.3cx.de/docs/microsoft-sql-server-konfiguration/","OpenAiWhisperGuideLink":"https://www.3cx.de/docs/openai-transkription/","SetupTranscription3CXUri":"https://www.3cx.de/docs/ai-transkription/","MySqlGuideUri":"https://www.3cx.de/docs/mysql-konfiguration/","hubSpotGuideLink":"https://www.3cx.de/docs/hubspot-pbx-crm-integration/","salesforceGuideLink":"https://www.3cx.de/docs/salesforce-crm-integration/","zohoGuideLink":"https://www.3cx.de/docs/pbx-crm-integration-zoho/","PricingUri":"https://www.3cx.de/kaufen/preise/","SetupTranscriptionGrokUri":"https://www.3cx.de/docs/grok-xai-transkription/"}}'),Mt=JSON.parse('{"_i18n":{"ConferenceUri":"https://www.3cx.es/manual-usuario/video-conferencia/","AboutUri":"https://www.3cx.es/","WebclientManualUri":"https://www.3cx.es/manual-usuario/cliente-web/","OfficeUri":"https://www.3cx.es/docs/manual/instalacion/","OfficeUsersAdmin":"https://www.3cx.es/docs/manual/","OfficeUsersUri":"https://www.3cx.es/docs/manual/crear-extensiones/","OfficeGroupsUri":"https://www.3cx.es/docs/manual/crear-extensiones/","OfficeVoiceAndChatUri":"https://www.3cx.es/docs/manual/","OfficeOfficeHoursUri":"https://www.3cx.es/docs/manual/horas-oficina/","OfficeCallHandling":"https://www.3cx.es/docs/manual/colas-de-llamadas-call-center/","SbcGuideLink":"https://www.3cx.es/docs/instalar-sbc/","OfficeSbcEditorUri":"https://www.3cx.es/docs/instalar-sbc/","OfficeDectEditorUri":"https://www.3cx.es/docs/manual/telefonos-ip/","FreeEditionRegistrationRequiredGuideLink":"https://www.3cx.es/docs/gratuita-suscripcion-registro/","NoSystemOwnerSetGuideLink":"https://www.3cx.es/docs/asignar-propietario-del-sistema/","DashboardUri":"https://www.3cx.es/docs/manual/administracion-del-sistema/","TrunkEditorUri":"https://www.3cx.es/docs/manual/troncales-sip/","LiveChatUri":"https://www.3cx.es/docs/manual/chat-en-vivo/","OutboundCallRoutingUri":"https://www.3cx.es/docs/manual/enrutamiento-llamadas-salientes/","AdvancedUri":"https://www.3cx.es/docs/manual/avanzado/","UsersUri":"https://www.3cx.es/docs/manual/crear-extensiones/","OfficeHoursUri":"https://www.3cx.es/docs/manual/horas-oficina/","ReportsUri":"https://www.3cx.es/docs/manual/reportes-llamadas/","GoogleUri":"https://www.3cx.com/docs/manual/google-workspace/","DepartmentsUri":"https://www.3cx.es/docs/manual/departamentos/","FAXEditorUri":"https://www.3cx.es/docs/manual/servidor-de-fax/","EmergencyEditorUri":"https://www.3cx.es/docs/manual/numeros-de-emergencia/","BackupAndRestoreUri":"https://www.3cx.es/docs/manual/crear-extensiones/","OutboundRulesUri":"https://www.3cx.es/docs/manual/crear-extensiones/","PhonesUri":"https://www.3cx.es/docs/manual/crear-extensiones/","PhonebookEditorUri":"https://www.3cx.es/docs/manual/agenda-telefonica/","AdminManualUri":"https://www.3cx.es/docs/manual/","Microsoft365Uri":"https://www.3cx.es/docs/manual/microsoft-365/","DialCodesUri":"https://www.3cx.es/docs/codigos-marcacion-pbx/","SystemUri":"https://www.3cx.es/docs/manual/sistema/","Microsoft365TeamsUri":"https://www.3cx.es/docs/microsoft-teams-business-voice/","HotdeskingUri":"https://www.3cx.es/docs/hot-desking/","RecordingsUri":"https://www.3cx.es/docs/manual/grabacion-llamada/","HotelUri":"https://www.3cx.es/docs/pbx-hotel/","VideoConferenceCenterGuidelink":"https://www.3cx.es/docs/servidor-videoconferencia/","GoogleBigQueryGuideLink":"https://www.3cx.es/docs/configuracion-google-bigquery/","PostgreSqlGuideUri":"https://www.3cx.es/docs/configuracion-postgresql/","ServicePrincipalGuideUri":"https://www.3cx.es/docs/configuracion-rest-api/","SqlServerGuideUri":"https://www.3cx.es/docs/configuracion-servidor-microsoft-sql/","OpenAiWhisperGuideLink":"https://www.3cx.es/docs/transcripcion-openai/","SetupTranscription3CXUri":"https://www.3cx.es/docs/transcripcion-ai/","MySqlGuideUri":"https://www.3cx.es/docs/configuracion-mysql/","bitrixGuideLink":"https://www.3cx.es/docs/integracion-crm-bitrix24/","hubSpotGuideLink":"https://www.3cx.es/docs/integracion-crm-hubspot/","salesforceGuideLink":"https://www.3cx.es/docs/integracion-crm-salesforce/","zohoGuideLink":"https://www.3cx.es/docs/integracion-crm-zoho/","PricingUri":"https://www.3cx.es/ordering/pricing/","SetupTranscriptionGrokUri":"https://www.3cx.es/docs/transcripcion-xai-grok/"}}'),p=JSON.parse('{"_i18n":{"ConferenceUri":"https://www.3cx.fr/manuel-utilisation/visioconference/","AboutUri":"https://www.3cx.fr/","WebclientManualUri":"https://www.3cx.fr/manuel-utilisation/client-web/","OfficeUri":"https://www.3cx.fr/docs/manuel/installation/","OfficeUsersAdmin":"https://www.3cx.fr/docs/manuel/","OfficeUsersUri":"https://www.3cx.fr/docs/manuel/creer-extensions/","OfficeGroupsUri":"https://www.3cx.fr/docs/manuel/deployer-equipe/","OfficeVoiceAndChatUri":"https://www.3cx.fr/docs/manuel/","OfficeOfficeHoursUri":"https://www.3cx.fr/docs/manuel/heures-bureau/","OfficeCallHandling":"https://www.3cx.fr/docs/manuel/call-center-files-attente/","SbcGuideLink":"https://www.3cx.fr/docs/installation-sbc/","OfficeSbcEditorUri":"https://www.3cx.fr/docs/installation-sbc/","OfficeDectEditorUri":"https://www.3cx.fr/docs/manuel/telephones-ip/","FreeEditionRegistrationRequiredGuideLink":"https://www.3cx.fr/docs/enregistrement-souscription-free/","NoSystemOwnerSetGuideLink":"https://www.3cx.fr/docs/assigner-proprietaire-systeme/","DashboardUri":"https://www.3cx.fr/docs/manuel/administration-systeme/","TrunkEditorUri":"https://www.3cx.fr/docs/manuel/trunks-sip/","LiveChatUri":"https://www.3cx.fr/docs/manuel/live-chat/","OutboundCallRoutingUri":"https://www.3cx.fr/docs/manuel/routage-appels-sortants/","BackupUri":"https://www.3cx.fr/docs/manuel/sauvegarde/","AdvancedUri":"https://www.3cx.fr/docs/manuel/fonctionnalites-avancees/","UsersUri":"https://www.3cx.fr/docs/manuel/creer-extensions/","IPPhonesUri":"https://www.3cx.fr/docs/manuel/telephones-ip/","OfficeHoursUri":"https://www.3cx.fr/docs/manuel/heures-bureau/","ReportsUri":"https://www.3cx.fr/docs/manuel/rapports-appels/","GoogleUri":"https://www.3cx.com/docs/manual/google-workspace/","CallHandlingUri":"https://www.3cx.fr/docs/manuel/call-center-files-attente/","DepartmentsUri":"https://www.3cx.fr/docs/manuel/departements/","FAXEditorUri":"https://www.3cx.fr/docs/manuel/serveur-fax/","EmergencyEditorUri":"https://www.3cx.fr/docs/manuel/numeros-urgence/","BackupAndRestoreUri":"https://www.3cx.fr/docs/manuel/creer-extensions/","OutboundRulesUri":"https://www.3cx.fr/docs/manuel/creer-extensions/","PhonesUri":"https://www.3cx.fr/docs/manuel/creer-extensions/","PhonebookEditorUri":"https://www.3cx.fr/docs/manuel/annuaire/","AdminManualUri":"https://www.3cx.fr/docs/manuel/","Microsoft365Uri":"https://www.3cx.fr/docs/manuel/microsoft-365/","DialCodesUri":"https://www.3cx.fr/docs/raccourcis-appels-pabx/","SystemUri":"https://www.3cx.fr/docs/manuel/systeme/","Microsoft365TeamsUri":"https://www.3cx.fr/docs/microsoft-teams/","HotdeskingUri":"https://www.3cx.fr/docs/manuel/hot-desking/","RecordingsUri":"https://www.3cx.fr/docs/manuel/enregistrement-appels/","HotelUri":"https://www.3cx.fr/docs/pbx-hotel/","VideoConferenceCenterGuidelink":"https://www.3cx.fr/docs/serveur-visioconference/","GoogleBigQueryGuideLink":"https://www.3cx.fr/docs/configuration-google-bigquery/","PostgreSqlGuideUri":"https://www.3cx.fr/docs/configuration-postgresql/","ServicePrincipalGuideUri":"https://www.3cx.fr/docs/api-rest-configuration/","SqlServerGuideUri":"https://www.3cx.fr/docs/configuration-serveur-microsoft-sql/","OpenAiWhisperGuideLink":"https://www.3cx.fr/docs/transcription-openai/","SetupTranscription3CXUri":"https://www.3cx.fr/docs/transcription-ia/","MySqlGuideUri":"https://www.3cx.fr/docs/configuration-mysql/","hubSpotGuideLink":"https://www.3cx.fr/docs/integration-pbx-crm-hubspot/","salesforceGuideLink":"https://www.3cx.fr/docs/integration-pbx-crm-salesforce/","zohoGuideLink":"https://www.3cx.fr/docs/integration-pbx-crm-zoho/","PricingUri":"https://www.3cx.fr/commander/tarifs/","SetupTranscriptionGrokUri":"https://www.3cx.fr/docs/grok-xai-transcription/"}}'),Bt=JSON.parse('{"_i18n":{"ConferenceUri":"https://www.3cx.it/manuale-uso/video-conferenza/","AboutUri":"https://www.3cx.it/","WebclientManualUri":"https://www.3cx.it/manuale-uso/web-client/","OfficeUri":"https://www.3cx.it/doc/manuale/installazione/","OfficeUsersAdmin":"https://www.3cx.it/doc/manuale/","OfficeUsersUri":"https://www.3cx.it/doc/manuale/creazione-interni/","OfficeGroupsUri":"https://www.3cx.it/doc/manuale/creazione-team/","OfficeVoiceAndChatUri":"https://www.3cx.it/doc/manuale/","OfficeOfficeHoursUri":"https://www.3cx.it/doc/manuale/orari-di-ufficio/","OfficeCallHandling":"https://www.3cx.it/doc/manuale/call-center-code-chiamate/","SbcGuideLink":"https://www.3cx.it/doc/installazione-sbc/","OfficeSbcEditorUri":"https://www.3cx.it/doc/installazione-sbc/","OfficeDectEditorUri":"https://www.3cx.it/doc/manuale/telefoni-ip/","FreeEditionRegistrationRequiredGuideLink":"https://www.3cx.it/doc/registrazione-edizione-free/","NoSystemOwnerSetGuideLink":"https://www.3cx.it/doc/assegnazione-proprietario-sistema/","DashboardUri":"https://www.3cx.it/doc/manuale/gestione-sistema/","TrunkEditorUri":"https://www.3cx.it/doc/manuale/trunk-sip/","LiveChatUri":"https://www.3cx.it/doc/manuale/live-chat/","OutboundCallRoutingUri":"https://www.3cx.it/doc/manuale/routing-chiamate-uscita/","BackupUri":"https://www.3cx.it/doc/manuale/backup/","AdvancedUri":"https://www.3cx.it/doc/manuale/avanzato/","UsersUri":"https://www.3cx.it/doc/manuale/creazione-interni/","IPPhonesUri":"https://www.3cx.it/doc/manuale/telefoni-ip/","OfficeHoursUri":"https://www.3cx.it/doc/manuale/orari-di-ufficio/","ReportsUri":"https://www.3cx.it/doc/manuale/report-chiamate/","GoogleUri":"https://www.3cx.com/docs/manual/google-workspace/","CallHandlingUri":"https://www.3cx.it/doc/manuale/call-center-code-chiamate/","DepartmentsUri":"https://www.3cx.it/doc/manuale/dipartimenti/","FAXEditorUri":"https://www.3cx.it/doc/manuale/fax-server/","EmergencyEditorUri":"https://www.3cx.it/doc/manuale/numeri-di-emergenza/","BackupAndRestoreUri":"https://www.3cx.it/doc/manuale/creazione-interni/","OutboundRulesUri":"https://www.3cx.it/doc/manuale/creazione-interni/","PhonesUri":"https://www.3cx.it/doc/manuale/creazione-interni/","PhonebookEditorUri":"https://www.3cx.it/doc/manuale/rubrica-telefonica/","AdminManualUri":"https://www.3cx.it/doc/manuale/","Microsoft365Uri":"https://www.3cx.it/doc/manuale/microsoft-365/","DialCodesUri":"https://www.3cx.it/doc/centralino-codici-chiamata/","SystemUri":"https://www.3cx.it/doc/manuale/sistema/","Microsoft365TeamsUri":"https://www.3cx.it/doc/microsoft-teams-business-voice/","HotdeskingUri":"https://www.3cx.it/doc/manuale/hot-desking/","RecordingsUri":"https://www.3cx.it/doc/manuale/registrazione-chiamate/","HotelUri":"https://www.3cx.it/doc/telefono-hotel/","VideoConferenceCenterGuidelink":"https://www.3cx.it/doc/server-videoconferenza/","GoogleBigQueryGuideLink":"https://www.3cx.it/doc/configurazione-google-bigquery/","PostgreSqlGuideUri":"https://www.
13cx.it/doc/configurazione-postgresql/","ServicePrincipalGuideUri":"https://www.3cx.it/doc/configurazione-api-3cx/","SqlServerGuideUri":"https://www.3cx.it/doc/server-microsoft-sql/","OpenAiWhisperGuideLink":"https://www.3cx.it/doc/trascrizione-openai/","SetupTranscription3CXUri":"https://www.3cx.it/doc/transcizione-ai/","MySqlGuideUri":"https://www.3cx.it/doc/configurazione-mysql/","hubSpotGuideLink":"https://www.3cx.it/doc/integrazione-crm-hubspot/","salesforceGuideLink":"https://www.3cx.it/doc/integrazione-crm-salesforce/","zohoGuideLink":"https://www.3cx.it/doc/integrazione-crm-zoho/","PricingUri":"https://www.3cx.it/acquisto/prezzi/","SetupTranscriptionGrokUri":"https://www.3cx.it/doc/trascrizione-xai-grok/"}}'),it=JSON.parse('{"_i18n":{"ConferenceUri":"https://www.3cx.nl/gebruikershandleiding/videoconferentie/","WebclientManualUri":"https://www.3cx.nl/gebruikershandleiding/web-client/","PricingUri":"https://www.3cx.nl/kopen/prijzen/"}}'),Lt=JSON.parse('{"_i18n":{"ConferenceUri":"https://www.3cx.com.br/manual-usuario/videoconferencia/","AboutUri":"https://www.3cx.com.br/","WebclientManualUri":"https://www.3cx.com.br/manual-usuario/web-client/","OfficeUri":"https://www.3cx.com.br/docs/manual/instalar/","OfficeUsersAdmin":"https://www.3cx.com.br/docs/manual/","OfficeUsersUri":"https://www.3cx.com.br/docs/manual/criacao-ramais/","OfficeGroupsUri":"https://www.3cx.com.br/docs/manual/configuracao-equipe/","OfficeVoiceAndChatUri":"https://www.3cx.com.br/docs/manual/","OfficeOfficeHoursUri":"https://www.3cx.com.br/docs/manual/horario-comercial/","OfficeCallHandling":"https://www.3cx.com.br/docs/manual/filas-call-center/","SbcGuideLink":"https://www.3cx.com.br/docs/manual/3cx-session-border-controller/","OfficeSbcEditorUri":"https://www.3cx.com.br/docs/manual/3cx-session-border-controller/","OfficeDectEditorUri":"https://www.3cx.com.br/docs/manual/telefones-ip/","FreeEditionRegistrationRequiredGuideLink":"https://www.3cx.com.br/docs/registro-assinatura-gratuita/","NoSystemOwnerSetGuideLink":"https://www.3cx.com.br/docs/atribuir-proprietario-do-sistema/","DashboardUri":"https://www.3cx.com.br/docs/manual/gerenciamento-de-sistemas/","TrunkEditorUri":"https://www.3cx.com.br/docs/manual/troncos-sip/","LiveChatUri":"https://www.3cx.com.br/docs/manual/chat-ao-vivo/","OutboundCallRoutingUri":"https://www.3cx.com.br/docs/manual/encaminhamento-chamadas-saida/","BackupUri":"https://www.3cx.com.br/docs/manual/backup/","AdvancedUri":"https://www.3cx.com.br/docs/manual/recursos-avancados/","UsersUri":"https://www.3cx.com.br/docs/manual/criacao-ramais/","IPPhonesUri":"https://www.3cx.com.br/docs/manual/telefones-ip/","OfficeHoursUri":"https://www.3cx.com.br/docs/manual/horario-comercial/","ReportsUri":"https://www.3cx.com.br/docs/manual/relatorios-chamadas/","GoogleUri":"https://www.3cx.com/docs/manual/google-workspace/","CallHandlingUri":"https://www.3cx.com.br/docs/manual/filas-call-center/","DepartmentsUri":"https://www.3cx.com.br/docs/manual/departamentos/","FAXEditorUri":"https://www.3cx.com.br/docs/manual/servidor-fax/","EmergencyEditorUri":"https://www.3cx.com.br/docs/manual/numeros-de-emergencia/","BackupAndRestoreUri":"https://www.3cx.com.br/docs/manual/criacao-ramais/","OutboundRulesUri":"https://www.3cx.com.br/docs/manual/criacao-ramais/","PhonesUri":"https://www.3cx.com.br/docs/manual/criacao-ramais/","PhonebookEditorUri":"https://www.3cx.com.br/docs/manual/lista-telefonica/","AdminManualUri":"https://www.3cx.com.br/docs/manual/","Microsoft365Uri":"https://www.3cx.com.br/docs/manual/microsoft-365/","DialCodesUri":"https://www.3cx.com.br/docs/codigos-discagem-pabx/","SystemUri":"https://www.3cx.com.br/docs/manual/sistema/","Microsoft365TeamsUri":"https://www.3cx.com.br/docs/microsoft-teams/","HotdeskingUri":"https://www.3cx.com.br/docs/hot-desking/","RecordingsUri":"https://www.3cx.com.br/docs/manual/gravacao-de-chamadas/","HotelUri":"https://www.3cx.com.br/docs/hotel-pbx/","VideoConferenceCenterGuidelink":"https://www.3cx.com.br/docs/servidor-videoconferencia/","GoogleBigQueryGuideLink":"https://www.3cx.com.br/docs/configuracao-google-bigquery/","PostgreSqlGuideUri":"https://www.3cx.com.br/docs/configuracao-postgresql/","ServicePrincipalGuideUri":"https://www.3cx.com.br/docs/configuracao-api-3cx/","SqlServerGuideUri":"https://www.3cx.com.br/docs/configuracao-servidor-microsoft-sql/","OpenAiWhisperGuideLink":"https://www.3cx.com.br/docs/transcricao-openai/","SetupTranscription3CXUri":"https://www.3cx.com.br/docs/transcricao-ia/","MySqlGuideUri":"https://www.3cx.com.br/docs/configuracao-mysql/","hubSpotGuideLink":"https://www.3cx.com.br/docs/integracao-crm-hubspot-pabx/","salesforceGuideLink":"https://www.3cx.com.br/docs/integracao-crm-salesforce/","PricingUri":"https://www.3cx.com.br/ordering/pricing/","SetupTranscriptionGrokUri":"https://www.3cx.com.br/docs/transcricao-xai-grok/"}}'),Me=JSON.parse('{"_i18n":{"ConferenceUri":"https://www.3cx.ru/user-manual/vi
1deo-conferencing/","AboutUri":"https://www.3cx.ru/","WebclientManualUri":"https://www.3cx.ru/user-manual/web-client/","OfficeUri":"https://www.3cx.ru/docs/manual/install/","OfficeUsersAdmin":"https://www.3cx.ru/docs/manual/","OfficeGroupsUri":"https://www.3cx.ru/docs/manual/setup-team/","OfficeVoiceAndChatUri":"https://www.3cx.ru/docs/manual/","OfficeOfficeHoursUri":"https://www.3cx.ru/docs/manual/office-hours/","OfficeCallHandling":"https://www.3cx.ru/docs/manual/call-center-queues/","SbcGuideLink":"https://www.3cx.ru/docs/3cx-tunnel-session-border-controller/","OfficeSbcEditorUri":"https://www.3cx.ru/docs/3cx-tunnel-session-border-controller/","OfficeDectEditorUri":"https://www.3cx.ru/docs/manual/ip-phones/","FreeEditionRegistrationRequiredGuideLink":"https://www.3cx.ru/docs/free-subscription-registration/","NoSystemOwnerSetGuideLink":"https://www.3cx.ru/docs/assign-system-owner/","TrunkEditorUri":"https://www.3cx.ru/docs/manual/sip-trunks/","LiveChatUri":"https://www.3cx.ru/docs/manual/live-chat/","AdvancedUri":"https://www.3cx.ru/docs/manual/advanced/","IPPhonesUri":"https://www.3cx.ru/docs/manual/ip-phones/","GoogleUri":"https://www.3cx.com/docs/manual/google-workspace/","CallHandlingUri":"https://www.3cx.ru/docs/manual/call-center-queues/","FAXEditorUri":"https://www.3cx.ru/docs/manual/fax-server/","AdminManualUri":"https://www.3cx.ru/docs/manual/","Microsoft365Uri":"https://www.3cx.ru/docs/manual/microsoft-365/","DialCodesUri":"https://www.3cx.ru/docs/dial-codes-atc/","Microsoft365TeamsUri":"https://www.3cx.ru/docs/microsoft-teams/","HotdeskingUri":"https://www.3cx.ru/docs/hot-desking/","HotelUri":"https://www.3cx.ru/docs/hotel-pbx/","VideoConferenceCenterGuidelink":"https://www.3cx.ru/docs/video-conference-server/","GoogleBigQueryGuideLink":"https://www.3cx.ru/docs/google-bigquery-configuration/","ServicePrincipalGuideUri":"https://www.3cx.ru/docs/configuration-rest-api/","SqlServerGuideUri":"https://www.3cx.ru/docs/microsoft-sql-server-configuration/","PostgreSqlGuideUri":"https://www.3cx.ru/docs/postgresql-configuration/","OpenAiWhisperGuideLink":"https://www.3cx.ru/docs/manual/openai-transcription/","SetupTranscription3CXUri":"https://www.3cx.ru/docs/ai-transcription/","MySqlGuideUri":"https://www.3cx.ru/docs/mysql-configuration/","bitrixGuideLink":"https://www.3cx.ru/docs/bitrix24-crm-integration/","hubSpotGuideLink":"https://www.3cx.ru/docs/hubspot-pbx-crm-integration/","salesforceGuideLink":"https://www.3cx.ru/docs/salesforce-crm-integration/","zohoGuideLink":"https://www.3cx.ru/docs/pbx-crm-integration-zoho/","PricingUri":"https://www.3cx.ru/ordering/pricing/","SetupTranscriptionGrokUri":"https://www.3cx.ru/docs/grok-xai-transcription/"}}'),le=JSON.parse('{"_i18n":{"ConferenceUri":"https://www.3cx.cn/user-manual/video-conferencing/","AboutUri":"https://www.3cx.cn/","WebclientManualUri":"https://www.3cx.cn/user-manual/web-client/","OfficeUri":"https://www.3cx.com/docs/manual/install/","OfficeUsersAdmin":"https://www.3cx.cn/docs/manual/","OfficeUsersUri":"https://www.3cx.cn/docs/manual/create-extensions/","OfficeGroupsUri":"https://www.3cx.cn/docs/manual/create-extensions/","OfficeVoiceAndChatUri":"https://www.3cx.cn/docs/manual/","OfficeOfficeHoursUri":"https://www.3cx.cn/docs/manual/office-hours/","OfficeCallHandling":"https://www.3cx.cn/docs/manual/call-center-queues/","SbcGuideLink":"https://www.3cx.cn/docs/3cx-tunnel-session-border-controller/","OfficeSbcEditorUri":"https://www.3cx.cn/docs/3cx-tunnel-session-border-controller/","OfficeDectEditorUri":"https://www.3cx.cn/docs/manual/ip-phones/","FreeEditionRegistrationRequiredGuideLink":"https://www.3cx.com/docs/free-subscription-registration/","NoSystemOwnerSetGuideLink":"https://www.3cx.cn/docs/voicemail-transcription/","EventLogsUri":"https://www.3cx.cn/docs/event-log/","CallParkingUri":"https://www.3cx.com/blog/docs/call-parking/","CodecsUri":"https://www.3cx.com/sip-phones/codecs/","DialCodesUri":"https://www.3cx.cn/docs/pbx-dial-codes/","HotelUri":"https://www.3cx.cn/docs/hotel-pbx/","CrmUri":"https://www.3cx.cn/docs/crm-integration-guides/","Microsoft365Uri":"https://www.3cx.cn/docs/manual/microsoft-365/","AdminManualUri":"https://www.3cx.cn/docs/manual","PhonebookEditorUri":"https://www.3cx.cn/docs/manual/phonebook/","TrunkEditorUri":"https://www.3cx.cn/docs/manual/sip-trunks/","PhonesUri":"https://www.3cx.cn/docs/manual/create-extensions/","OutboundRulesUri":"https://www.3cx.cn/docs/manual/create-extensions/","BackupAndRestoreUri":"https://www.3cx.cn/docs/manual/create-extensions/","EmergencyEditorUri":"https://www.3cx.cn/docs/manual/emergency-numbers/","FAXEditorUri":"https://www.3cx.cn/docs/manual/fax-server/","OutboundCallRoutingUri":"https://www.3cx.cn/docs/manual/outboun
1d-call-routing/","BackupUri":"https://www.3cx.cn/docs/manual/backup/","DashboardUri":"https://www.3cx.cn/docs/manual/system-management/","AdvancedUri":"https://www.3cx.cn/docs/manual/advanced-features/","UsersUri":"https://www.3cx.cn/docs/manual/create-extensions/","IPPhonesUri":"https://www.3cx.cn/docs/manual/ip-phones/","OfficeHoursUri":"https://www.3cx.cn/docs/manual/office-hours/","ReportsUri":"https://www.3cx.cn/docs/manual/call-reports/","GoogleUri":"https://www.3cx.cn/docs/manual/google-workspace/","AmazonIntegrationUri":"https://www.3cx.com/docs/aws-s3-buckets/","SystemUri":"https://www.3cx.cn/docs/manual/system/","LiveChatUri":"https://www.3cx.cn/docs/manual/live-chat/","CallHandlingUri":"https://www.3cx.cn/docs/manual/call-center-queues/","CrmIntegrationUri":"https://www.3cx.com/docs/crm-integration-guides/","DepartmentsUri":"https://www.3cx.cn/docs/manual/departments/","CFDUri":"https://www.3cx.cn/docs/manual/call-flow-designer/","DigitalReceptionistUri":"https://www.3cx.com/docs/manual/ivr-digital-receptionist/","1CGuideLink":"https://www.3cx.ru/docs/1c-crm-integration/","vTigerGuideLink":"https://www.3cx.com/docs/vtiger-crm-pbx-integration/","amoCrmGuideLink":"https://www.3cx.com/docs/amocrm-pbx-integration/","bitrixGuideLink":"https://www.3cx.cn/docs/bitrix24-crm-integration/","connectwiseGuideLink":"https://www.3cx.cn/docs/pbx-crm-integration-connectwise/","freshdeskGuideLink":"https://www.3cx.com/docs/freshdesk-crm-integration/","freshworksGuideLink":"https://www.3cx.cn/docs/freshwork-crm-integration/","hubSpotGuideLink":"https://www.3cx.cn/docs/hubspot-pbx-crm-integration/","salesforceGuideLink":"https://www.3cx.cn/docs/salesforce-crm-integration/","zendeskGuideLink":"https://www.3cx.cn/docs/zendesk-crm-integration/","zohoGuideLink":"https://www.3cx.cn/docs/pbx-crm-integration-zoho/","microsoftDynamicsGuideLink":"https://www.3cx.cn/docs/dynamics-crm-integration/","databaseMongoGuideLink":"https://www.3cx.cn/docs/mongodb-pbx-integration/","databaseMySqlGuideLink":"https://www.3cx.cn/docs/sql-database-pbx-integration/","databaseMsSqlGuideLink":"https://www.3cx.cn/docs/sql-database-pbx-integration/","databasePostgreSQLGuideLink":"https://www.3cx.cn/docs/sql-database-pbx-integration/","jetpackCrmGuideLink":"https://www.3cx.cn/docs/pbx-crm-integration-jetpack/","pipedriveCrmGuideLink":"https://www.3cx.cn/docs/pipedrive-pbx-crm-integration/","kommoGuideLink":"https://www.3cx.cn/docs/kommocrm-pbx-integration/","TranscriptionUri":"https://www.3cx.cn/docs/voicemail-transcription/","Microsoft365TeamsUri":"https://www.3cx.cn/docs/microsoft-teams/","HotdeskingUri":"https://www.3cx.cn/docs/hot-desking/","OpenAiWhisperGuideLink":"https://www.3cx.cn/docs/openai-transcription/","VideoConferenceCenterGuidelink":"https://www.3cx.cn/docs/video-conference-server/","RemoteStorageUri":"https://www.3cx.com/docs/manual/remote-data-storage/","E911GeolocationGuideLink":"https://www.3cx.com/docs/manual/e911-geolocation/","GoogleBigQueryGuideLink":"https://www.3cx.cn/docs/google-bigquery-configuration/","PostgreSqlGuideUri":"https://www.3cx.cn/docs/postgresql-configuration/","SqlServerGuideUri":"https://www.3cx.cn/docs/microsoft-sql-server-configuration/","Re
1sellerGuideUri":"https://www.3cx.cn/ordering/find-reseller/","ServicePrincipalGuideUri":"https://www.3cx.cn/docs/configuration-rest-api/","SetupTranscription3CXUri":"https://www.3cx.cn/docs/ai-transcription/","MySqlGuideUri":"https://www.3cx.cn/docs/mysql-configuration/","SetupTranscriptionGrokUri":"https://www.3cx.cn/docs/grok-xai-transcription/"}}'),$=JSON.parse('{"_i18n":{"ConferenceUri":"https://www.3cx.pl/uzytkownik/wideokonferencje/","AboutUri":"https://www.3cx.pl/","WebclientManualUri":"https://www.3cx.pl/uzytkownik/web-client/","OfficeUri":"https://www.3cx.pl/docs/administrator/instalacja/","OfficeUsersAdmin":"https://www.3cx.pl/docs/podrecznik-administratora/","OfficeUsersUri":"https://www.3cx.pl/docs/administrator/tworzenie-uzytkownikow/","OfficeGroupsUri":"https://www.3cx.pl/docs/administrator/tworzenie-uzytkownikow/","OfficeVoiceAndChatUri":"https://www.3cx.pl/docs/podrecznik-administratora/","OfficeOfficeHoursUri":"https://www.3cx.pl/docs/administrator/godziny-pracy/","OfficeCallHandling":"https://www.3cx.pl/docs/administrator/kolejki-call-center/","SbcGuideLink":"https://www.3cx.pl/docs/3cx-tunnel-sbc/","OfficeSbcEditorUri":"https://www.3cx.pl/docs/3cx-tunnel-sbc/","OfficeDectEditorUri":"https://www.3cx.pl/docs/administrator/telefony-ip/","FreeEditionRegistrationRequiredGuideLink":"https://www.3cx.pl/docs/rejestracja-darmowej-subskrypcji/","DialCodesUri":"https://www.3cx.pl/docs/kody-wybierania-pbx/","HotelUri":"https://www.3cx.pl/docs/hotel-pbx/","Microsoft365Uri":"https://www.3cx.pl/docs/administrator/microsoft-365/","PhonebookEditorUri":"https://www.3cx.pl/docs/administrator/ksiazka-telefoniczna/","TrunkEditorUri":"https://www.3cx.pl/docs/administrator/sip-trunk/","PhonesUri":"https://www.3cx.pl/docs/administrator/tworzenie-uzytkownikow/","OutboundRulesUri":"https://www.3cx.pl/docs/administrator/tworzenie-uzytkownikow/","BackupAndRestoreUri":"https://www.3cx.pl/docs/administrator/tworzenie-uzytkownikow/","EmergencyEditorUri":"https://www.3cx.pl/docs/administrator/numery-alarmowe/","FAXEditorUri":"https://www.3cx.pl/docs/administrator/serwer-faksowy/","OutboundCallRoutingUri":"https://www.3cx.pl/docs/administrator/routing-polaczen-wychodzacych/","BackupUri":"https://www.3cx.pl/docs/administrator/backup/","DashboardUri":"https://www.3cx.pl/docs/administrator/zarzadzanie-systemem/","AdvancedUri":"https://www.3cx.pl/docs/administrator/zaawansowane-funkcje/","UsersUri":"https://www.3cx.pl/docs/administrator/tworzenie-uzytkownikow/","IPPhonesUri":"https://www.3cx.pl/docs/administrator/telefony-ip/","OfficeHoursUri":"https://www.3cx.pl/docs/administrator/godziny-pracy/","ReportsUri":"https://www.3cx.pl/docs/administrator/raporty-polaczen/","GoogleUri":"https://www.3cx.pl/docs/administrator/google-workspace/","AmazonIntegrationUri":"https://www.3cx.pl/docs/aws-s3-buckets/","SystemUri":"https://www.3cx.pl/docs/administrator/system/","LiveChatUri":"https://www.3cx.pl/docs/administrator/live-chat/","CallHandlingUri":"https://www.3cx.pl/docs/administrator/kolejki-call-center/","DepartmentsUri":"https://www.3cx.pl/docs/administrator/dzialy/","Microsoft365TeamsUri":"https://www.3cx.pl/docs/microsoft-teams/","HotdeskingUri":"https://www.3cx.pl/docs/hot-desking/","OpenAiWhisperGuideLink":"https://www.3cx.pl/docs/transkrypcja-openai/","VideoConferenceCenterGuidelink":"https://www.3cx.pl/docs/serwer-wideokonferencji/","GoogleBigQueryGuideLink":"https://www.3cx.pl/docs/konfiguracja-google-bigquery/","PostgreSqlGuideUri":"https://www.3cx.pl/docs/postgresql-konfiguracja/","SqlServerGuideUri":"https://www.3cx.pl/docs/konfiguracja-serwera-microsoft-sql/","ResellerGuideUri":"https://www.3cx.com/ordering/find-reseller/","ServicePrincipalGuideUri":"https://www.3cx.pl/docs/konfiguracja-rest-api/","SetupTranscription3CXUri":"https://www.3cx.pl/docs/transkrypcja-ai/","MySqlGuideUri":"https://www.3cx.pl/docs/konfiguracja-mysql/","SetupTranscriptionGrokUri":"https://www.3cx.pl/docs/grok-xai-transcription/"}}'),Ee=JSON.parse('{"_i18n":{"ConferenceUri":"https://www.3cx.com.tr/kullanici-kilavuzu/3cx-video-konferans/","AboutUri":"https://www.3cx.com.tr/","WebclientManualUri":"https://www.3cx.com.tr/kullanici-kilavuzu/3cx-web-istemcisi/","OfficeUri":"https://www.3cx.com.tr/docs/yonet
1ici-kilavuzu/kurulum/","OfficeUsersAdmin":"https://www.3cx.com/docs/manual/","OfficeUsersUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/abone-olusturma/","OfficeGroupsUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/abone-olusturma/","OfficeVoiceAndChatUri":"https://www.3cx.com/docs/manual/","OfficeOfficeHoursUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/ofis-saatleri/","OfficeCallHandling":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/cagri-kuyruklari/","SbcGuideLink":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/3cx-sbc-session-border-controller/","OfficeSbcEditorUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/3cx-sbc-session-border-controller/","OfficeDectEditorUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/ip-telefon-yapilandirma/","NoSystemOwnerSetGuideLink":"https://www.3cx.com.tr/docs/3cx-sistem-sahibi-atama/","Microsoft365Uri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/microsoft-365/","AdminManualUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/","PhonebookEditorUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/sirket-telefon-rehberi/","TrunkEditorUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/sip-trunk/","PhonesUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/abone-olusturma/","OutboundRulesUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/abone-olusturma/","BackupAndRestoreUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/abone-olusturma/","EmergencyEditorUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/acil-durum-numaralari/","FAXEditorUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/faks-sunucusu/","OutboundCallRoutingUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/giden-arama-yonlendirme/","BackupUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/yedekleme/","DashboardUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/telefon-sisteminizi-yonetme/","AdvancedUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/gelismis-ozellikler/","UsersUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/abone-olusturma/","IPPhonesUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/ip-telefon-yapilandirma/","OfficeHoursUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/ofis-saatleri/","ReportsUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/cagri-raporalama/","GoogleUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/google-workspace/","AmazonIntegrationUri":"https://www.3cx.com.tr/docs/aws-s3-buckets/","SystemUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/sistem-secenekleri/","LiveChatUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/canli-sohbeti-ayarlama/","CallHandlingUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/cagri-kuyruklari/","CrmIntegrationUri":"https://www.3cx.com/docs/crm-integration-guides/","DepartmentsUri":"https://www.3cx.com.tr/docs/yonetici-kilavuzu/departmanlar/","CFDUri":"https://www.3cx.com/docs/manual/call-flow-designer/","DigitalReceptionistUri":"https://www.3cx.com/docs/manual/ivr-digital-receptionist/","hubSpotGuideLink":"https://www.3cx.com.tr/docs/hubspot-crm-entegrasyonu/","salesforceGuideLink":"https://www.3cx.com.tr/docs/salesforce-crm-entegrasyonu/","zohoGuideLink":"https://www.3cx.com.tr/docs/zoho-crm-entegrasyonu/","OpenAiWhisperGuideLink":"https://www.3cx.com.tr/docs/openai-whisper/","VideoConferenceCenterGuidelink":"https://www.3cx.com.tr/docs/ozel-video-konferans-sunucusu/","GoogleBigQueryGuideLink":"https://www.3cx.com.tr/docs/google-bigquery-yapilandirma/","PostgreSqlGuideUri":"https://www.3cx.com.tr/docs/postgresql-yapilandirma/","MySqlGuideUri":"https://www.3cx.com.tr/docs/mysql-yapilandirma/","SqlServerGuideUri":"https://www.3cx.com.tr/docs/microsoft-sql-server-yapilandirma/","ResellerGuideUri":"https://www.3cx.com/ordering/find-reseller/","SetupTranscription3CXUri":"https://www.3cx.com.tr/docs/yapay-zeka-transkripsiyonu/","ServicePrincipalGuideUri":"https://www.3cx.com.tr/docs/3cx-api-yapilandirma/","PricingUri":"https://www.3cx.com.tr/destek-politikalari/planlar-ucretler/"}}'),Et=l.p+"i18n/de-43722f6c.json",dn=l.p+"i18n/fr-073e474d.json",an=l.p+"i18n/es-b1ca2f4d.json",Nt=l.p+"i18n/it-f7a9ebeb.json",at=l.p+"i18n/pt-dbc0fbe5.json",st=l.p+"i18n/ru-4e884466.json",zt=l.p+"i18n/cn-49eb9cb2.json",Dn=l.p+"i18n/pl-ea50611a.json",hn=l.p+"i18n/tr-fe35e6c5.json",Vn=JSON.parse('{"name":"en","options":{"months":["January","February","March","April","May","June","July","August","September","October","November","December"],"shortMonths":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"days":["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],"shortDays":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"toolbar":{"exportToSVG":"Download SVG","exportToPNG":"Download PNG","exportToCSV":"Download CSV","menu":"Menu","selection":"Selection","selectionZoom":"Selection Zoom","zoomIn":"Zoom In","zoomOut":"Zoom Out","pan":"Panning","reset":"Reset Zoom"}}}'),Pn=JSON.parse('{"name":"de","options":{"months":["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],"shortMonths":["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],"days":["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],"shortDays":["So","Mo","Di","Mi","Do","Fr","Sa"],"toolbar":{"exportToSVG":"SVG speichern","exportToPNG":"PNG speichern","exportToCSV":"CSV speichern","menu":"Men\xfc","selection":"Auswahl","selectionZoom":"Auswahl vergr\xf6\xdfern","zoomIn":"Vergr\xf6\xdfern","zoomOut":"Verkleinern","pan":"Verschieben","reset":"Zoom zur\xfccksetzen"}}}'),xn=JSON.parse('{"name":"fr","options":{"months":["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"],"shortMonths":["janv.","f\xe9vr.","mars","avr.","mai","juin","juill.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],"days":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],"shortDays":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"toolbar":{"exportToSVG":"T\xe9l\xe9charger au format SVG","exportToPNG":"T\xe9l\xe9charger au format PNG","exportToCSV":"T\xe9l\xe9charger au format CSV","menu":"Menu","selection":"S\xe9lection","selectionZoom":"S\xe9lection et zoom","zoomIn":"Zoomer","zoomOut":"D\xe9zoomer","pan":"Navigation","reset":"R\xe9initialiser le zoom"}}}'),ei=JSON.parse('{"name":"es","options":{"months":["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],"shortMonths":["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],"days":["Domingo","Lunes","Martes","Mi\xe9rcoles","Jueves","Viernes","S\xe1bado"],"shortDays":["Dom","Lun","Mar","Mie","Jue","Vie","Sab"],"toolbar":{"exportToSVG":"Descargar SVG","exportToPNG":"Descargar PNG","exportToCSV":"Descargar CSV","menu":"Menu","selection":"Seleccionar","selectionZoom":"Seleccionar Zoom","zoomIn":"Aumentar","zoomOut":"Disminuir","pan":"Navegaci\xf3n","reset":"Reiniciar Zoom"}}}'),ci=JSON.parse('{"name":"it","options":{"months":["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],"shortMonths":["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],"days":["Domenica","Luned\xec","Marted\xec","Mercoled\xec","Gioved\xec","Venerd\xec","Sabato"],"shortDays":["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],"toolbar":{"exportToSVG":"Scarica SVG","exportToPNG":"Scarica PNG","exportToCSV":"Scarica CSV","menu":"Menu","selection":"Selezione","selectionZoom":"Seleziona Zoom","zoomIn":"Zoom In","zoomOut":"Zoom Out","pan":"Sposta","reset":"Reimposta Zoom"}}}'),ri=JSON.parse('{"name":"pt-br","options":{"months":["Janeiro","Fevereiro","Mar\xe7o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],"shortMonths":["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],"days":["Domingo","Segunda","Ter\xe7a","Quarta","Quinta","Sexta","S\xe1bado"],"shortDays":["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],"toolbar":{"exportToSVG":"Baixar SVG","exportToPNG":"Baixar PNG","exportToCSV":"Baixar CSV","menu":"Menu","selection":"Selecionar","selectionZoom":"Selecionar Zoom","zoomIn":"Aumentar","zoomOut":"Diminuir","pan":"Navega\xe7\xe3o","reset":"Reiniciar Zoom"}}}'),fi=JSON.parse('{"name":"nl","options":{"months":["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],"shortMonths":["jan.","feb.","mrt.","apr.","mei.","jun.","jul.","aug.","sep.","okt.","nov.","dec."],"days":["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],"shortDays":["zo.","ma.","di.","wo.","do.","vr.","za."],"toolbar":{"exportToSVG":"Download SVG","exportToPNG":"Download PNG","exportToCSV":"Download CSV","menu":"Menu","selection":"Selectie","selectionZoom":"Zoom selectie","zoomIn":"Zoom in","zoomOut":"Zoom out","pan":"Verplaatsen","reset":"Standaardwaarden"}}}'),so=JSON.parse('{"name":"ru","options":{"months":["\u042f\u043d\u0432\u0430\u0440\u044c","\u0424\u0435\u0432\u0440\u0430\u043b\u044c","\u041c\u0430\u0440\u0442","\u0410\u043f\u0440\u0435\u043b\u044c","\u041c\u0430\u0439","\u0418\u044e\u043d\u044c","\u0418\u044e\u043b\u044c","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c","\u041e\u043a\u0442\u044f\u0431\u0440\u044c","\u041d\u043e\u044f\u0431\u0440\u044c","\u0414\u0435\u043a\u0430\u0431\u0440\u044c"],"shortMonths":["\u042f\u043d\u0432","\u0424\u0435\u0432","\u041c\u0430\u0440","\u0410\u043f\u0440","\u041c\u0430\u0439","\u0418\u044e\u043d","\u0418\u044e\u043b","\u0410\u0432\u0433","\u0421\u0435\u043d","\u041e\u043a\u0442","\u041d\u043e\u044f","\u0414\u0435\u043a"],"days":["\u0412\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0412\u0442\u043e\u0440\u043d\u0438\u043a","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0435\u0440\u0433","\u041f\u044f\u0442\u043d\u0438\u0446\u0430","\u0421\u0443\u0431\u0431\u043e\u0442\u0430"],"shortDays":["\u0412\u0441","\u041f\u043d","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041f\u0442","\u0421\u0431"],"toolbar":{"exportToSVG":"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c SVG","exportToPNG":"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c PNG","exportToCSV":"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c CSV","menu":"\u041c\u0435\u043d\u044e","selection":"\u0412\u044b\u0431\u043e\u0440","selectionZoom":"\u0412\u044b\u0431\u043e\u0440 \u0441 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435\u043c","zoomIn":"\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c","zoomOut":"\u0423\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c","pan":"\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435","reset":"\u0421\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435"}}}'),Li=JSON.parse('{"name":"pl","options":{"months":["Stycze\u0144","Luty","Marzec","Kwiecie\u0144","Maj","Czerwiec","Lipiec","Sierpie\u0144","Wrzesie\u0144","Pa\u01
17adziernik","Listopad","Grudzie\u0144"],"shortMonths":["Sty","Lut","Mar","Kwi","Maj","Cze","Lip","Sie","Wrz","Pa\u017a","Lis","Gru"],"days":["Niedziela","Poniedzia\u0142ek","Wtorek","\u015aroda","Czwartek","Pi\u0105tek","Sobota"],"shortDays":["Nd","Pn","Wt","\u015ar","Cz","Pt","Sb"],"toolbar":{"exportToSVG":"Pobierz SVG","exportToPNG":"Pobierz PNG","exportToCSV":"Pobierz CSV","menu":"Menu","selection":"Wybieranie","selectionZoom":"Zoom: Wybieranie","zoomIn":"Zoom: Przybli\u017c","zoomOut":"Zoom: Oddal","pan":"Przesuwanie","reset":"Resetuj"}}}'),Cn=JSON.parse('{"name":"zh-cn","options":{"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"],"shortMonths":["\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"],"days":["\u661f\u671f\u5929","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],"shortDays":["\u5468\u65e5","\u5468\u4e00","\u5468\u4e8c","\u5468\u4e09","\u5468\u56db","\u5468\u4e94","\u5468\u516d"],"toolbar":{"exportToSVG":"\u4e0b\u8f7d SVG","exportToPNG":"\u4e0b\u8f7d PNG","exportToCSV":"\u4e0b\u8f7d CSV","menu":"\u83dc\u5355","selection":"\u9009\u62e9","selectionZoom":"\u9009\u62e9\u7f29\u653e","zoomIn":"\u653e\u5927","zoomOut":"\u7f29\u5c0f","pan":"\u5e73\u79fb","reset":"\u91cd\u7f6e\u7f29\u653e"}}}'),ti=JSON.parse('{"name":"tr","options":{"months":["Ocak","\u015eubat","Mart","Nisan","May\u0131s","Haziran","Temmuz","A\u011fustos","Eyl\xfcl","Ekim","Kas\u0131m","Aral\u0131k"],"shortMonths":["Oca","\u015eub","Mar","Nis","May","Haz","Tem","A\u011fu","Eyl","Eki","Kas","Ara"],"days":["Pazar","Pazartesi","Sal\u0131","\xc7ar\u015famba","Per\u015fembe","Cuma","Cumartesi"],"shortDays":["Paz","Pzt","Sal","\xc7ar","Per","Cum","Cmt"],"toolbar":{"exportToSVG":"SVG \u0130ndir","exportToPNG":"PNG \u0130ndir","exportToCSV":"CSV \u0130ndir","menu":"Men\xfc","selection":"Se\xe7im","selectionZoom":"Se\xe7im Yak\u0131nla\u015ft\u0131r","zoomIn":"Yak\u0131nla\u015ft\u0131r","zoomOut":"Uzakla\u015ft\u0131r","pan":"Kayd\u0131r","reset":"Yak\u0131nla\u015ft\u0131rmay\u0131 S\u0131f\u0131rla"}}}'),si=JSON.parse('{"name":"cs","options":{"months":["Leden","\xdanor","B\u0159ezen","Duben","Kv\u011bten","\u010cerven","\u010cervenec","Srpen","Z\xe1\u0159\xed","\u0158\xedjen","Listopad","Prosinec"],"shortMonths":["Led","\xdano","B\u0159e","Dub","Kv\u011b","\u010cvn","\u010cvc","Srp","Z\xe1\u0159","\u0158\xedj","Lis","Pro"],"days":["Ned\u011ble","Pond\u011bl\xed","\xdater\xfd","St\u0159eda","\u010ctvrtek","P\xe1tek","Sobota"],"shortDays":["Ne","Po","\xdat","St","\u010ct","P\xe1","So"],"toolbar":{"exportToSVG":"St\xe1hnout SVG","exportToPNG":"St\xe1hnout PNG","exportToCSV":"St\xe1hnout CSV","menu":"Menu","selection":"Vybrat","selectionZoom":"Zoom: Vybrat","zoomIn":"Zoom: P\u0159ibl\xed\u017eit","zoomOut":"Zoom: Odd\xe1lit","pan":"P\u0159esouvat","reset":"Resetovat"}}}'),An=l.p+"i18n/en-d904c01c.json",Ki=[Vn,Pn,xn,ei,ci,ri,fi,so,Li,Cn,ti,si],Hi={en:Oe,"en-gb":Qe,de:Fe,fr:xe,es:Te,it:Ke,pt:ie,nl:ct,ru:kt,pl:Pt,"zh-cn":Ce,tr:Ze,cs:fe},Wi=[{id:"en",phoneSystemId:"EN",value:"English (US)",data:[],flag:Oe,apexLocale:Vn},{id:"en-gb",phoneSystemId:"UK",value:"English (UK)",data:[],flag:Qe,apexLocale:Vn},{id:"de",phoneSystemId:"DE",value:"Deutsch",phoneLinks:Et,data:[Xe,We,we],flag:Fe,apexLocale:Pn},{id:"fr",phoneSystemId:"FR",value:"Fran\xe7ais",phoneLinks:dn,data:[ve,yt,p],flag:xe,apexLocale:xn},{id:"es",phoneSystemId:"ES",value:"Espa\xf1ol",phoneLinks:an,data:[he,je,Mt],flag:Te,apexLocale:ei},{id:"it",phoneSystemId:"IT",value:"Italiano",phoneLinks:Nt,data:[Pe,St,Bt],flag:Ke,apexLocale:ci},{id:"pt-br",phoneSystemId:"PT",value:"Portugu\xeas (BR)",phoneLinks:at,data:[Ve,me,Lt],flag:ie,apexLocale:ri},{id:"nl",phoneSystemId:"NL",value:"Nederlands",data:[dt,it],flag:ct,apexLocale:fi},{id:"ru",phoneSystemId:"RU",value:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",ph
1oneLinks:st,data:[Dt,rt,Me],flag:kt,apexLocale:so},{id:"pl",phoneSystemId:"PL",value:"Polski",phoneLinks:Dn,data:[wt,$],flag:Pt,apexLocale:Li},{id:"zh-cn",phoneSystemId:"ZH",value:"\u7b80\u4f53\u4e2d\u6587\u7248",phoneLinks:zt,data:[Yt,bt,le],flag:Ce,apexLocale:Cn},{id:"tr",phoneSystemId:"TR",value:"T\xfcrk\xe7e",phoneLinks:hn,data:[Tt,Ee],flag:Ze,apexLocale:ti},{id:"cs",phoneSystemId:"CS",value:"\u010cesk\xfd",data:[qt],flag:fe,apexLocale:si}],qi=[d(),ut(),o(),w(),x(),A(),de(),ee(),q(),J(),te(),_()];function eo(Yi){qi.forEach(li=>g().locale(li.name,li)),g().locale("en");const En=Wi.map(li=>li.id);Yi.addLangs(En)}},3389(ot,V,l){"use strict";l.d(V,{p:()=>Me});var f=l(59053),g=l(62564),h=l(24708),_=l(68018),C=l(91968),o=l(35547);const y=le=>({p1:le}),d=le=>({min:le}),M=le=>({max:le}),A=(le,$)=>({from:le,to:$});function D(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.i5U(1,1,"_i18n.FTPPathSupportedProtocols",$.error))}function w(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.DefaultErrorsInvalidTime"))}function O(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.DefaultErrorsStopDateBeforeStart"))}function x(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.DefaultErrorsStopTimeBeforeStart"))}function N(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.MobileNotValid"))}function q(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidEmail"))}function K(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.DefaultErrorsInvalidEmailList"))}function te(le,$){if(1&le&&(o.EFF(0),o.nI1(1,"translate"),o.nI1(2,"translate"),o.nI1(3,"translate")),2&le){const Ee=$.$implicit;o.SpI(" ",Ee?o.bMT(1,1,Ee.toString())+" "+o.bMT(2,3,"_i18n.IsRequired"):o.bMT(3,5,"_i18n.FieldIsRequired")," ")}}function H(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.DefaultErrorsFirstNameOrLastNameRequired"))}function ee(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidPhoneNumber"))}function F(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidMobile"))}function J(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.DefaultErrorsInvalidHost"))}function ne(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.DefaultErrorsInvalidIPAddress"))}function de(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.DefaultErrorsInvalidHostName"))}function Le(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidIpV4"))}function ut(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.DefaultErrorsInvalidXml"))}function Oe(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.i5U(1,1,"_i18n.ValueCannotBeLessThan",o.eq3(4,y,$.error.requiredLength)))}function xe(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.i5U(1,1,"_i18n.ValueCannotBeMoreThan",o.eq3(4,y,$.error.requiredLength)))}function Ce(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidFormat"))}function Te(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.DefaultErrorsInvalidNumber"))}function Fe(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.DefaultErrorsInvalidInteger"))}function Ke(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidMacAddress"))}function Qe(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.i5U(1,1,"_i18n.DefaultErrorsMinNumber",o.eq3(4,d,$.error.min)))}function kt(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.i5U(1,1,"_i18n.DefaultErrorsMaxNumber",o.eq3(4,M,$.error.max)))}function ct(le,$){if(1&le&&(o.EFF(0),o.nI1(1,"translate"),o.nI1(2,"translate")),2&le){const Ee=$.label,Et=$.error;o.Lme(" ",Ee?o.bMT(1,2,Ee.toString())+": ":"","",o.i5U(2,4,"_i18n.AllowedValuesFrom",o.l_i(7,A,Et.min,Et.max))," ")}}function Pt(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidDateFormat"))}function Ze(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.XapiOutOfRange"))}function fe(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.ListElementNotFound"))}function ie(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.ListHasDuplicateMembers"))}function Xe(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidDialCode"))}function ve(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidAlphanumeric"))}function he(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidHexCharacter"))}function Pe(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.XapiInUse"))}function Ve(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidUrl"))}function dt(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidExtensionNumber"))}function Dt(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.NoAvailableExtensionNumbers"))}function wt(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.DateOrTimeCantBeInThePast"))}function Yt(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.XapiInvalid"))}function Tt(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidRange"))}function qt(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.PasswordWeak"))}function We(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.PasswordWeakWithSpecialChars"))}function yt(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.PasswordMismatch"))}function je(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.XapiDuplicate"))}function St(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.XapiNotFound"))}function me(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.ExtensionNumberNotFound"))}function rt(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.XapiInvalidCredentials"))}function bt(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.XapiNotSupported"))}function we(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.ChatsFileExceedsMaxSize"))}function Mt(le,$){1&le&&o.nrm(0,"app-server-error",53),2&le&&o.Y8G("message",$.error)}function p(le,$){if(1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le){const Ee=$.error;o.JRh(o.i5U(1,1,Ee.message??Ee,Ee.translateParams))}}function Bt(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.InvalidCertificateFileFormat"))}function it(le,$){1&le&&(o.EFF(0),o.nI1(1,"translate")),2&le&&o.JRh(o.bMT(1,1,"_i18n.FileNameCannotBeMoreThan50"))}function Lt(le,$){if(1&le&&(o.EFF(0),o.nI1(1,"fileSize"),o.nI1(2,"translate")),2&le){const Ee=o.XpG();o.JRh(o.i5U(2,3,"_i18n.FileSizeLimit",o.eq3(6,y,o.bMT(1,1,Ee.MaxCertificateFileSize))))}}let Me=(()=>{class le{MaxCertificateFileSize=f.Pe;static \u0275fac=function(Et){return new(Et||le)};static \u0275cmp=o.VBU({type:le,selectors:[["default-validation-errors"]],decls:54,vars:0,consts:[["valError","startWithError"],["valError","invali
1dTime"],["valError","stopDateBeforeStart"],["valError","stopTimeBeforeStart"],["valError","mobileNumberIsInvalid"],["valError","email"],["valError","emailList"],["valError","required"],["valError","firstNameOrLastNameRequired"],["valError","invalidPhoneNumber"],["valError","invalidMobile"],["valError","invalidHost"],["valError","invalidIPAddress"],["valError","invalidHostName"],["valError","invalidIpV4"],["valError","invalidXml"],["valError","minlength"],["valError","maxlength"],["valError","pattern"],["valError","invalidNumber"],["valError","invalidInteger"],["valError","invalidMacAddress"],["valError","min"],["valError","max"],["valError","range"],["valError","invalidDate"],["valError","outOfRange"],["valError","listElementNotFound"],["valError","duplicateMembers"],["valError","invalidDialCode"],["valError","invalidAlphanumeric"],["valError","invalidHexCharacter"],["valError","unique"],["valError","invalidUrl"],["valError","invalidExtensionNumber"],["valError","noAvailableExtensionNumbers"],["valError","dateInThePast"],["valError","invalid"],["valError","invalidRange"],["valError","password"],["valError","passwordWithSpecialChars"],["valError","passwordMismatch"],["valError","duplicate"],["valError","notFound"],["valError","extensionNumberNotFound"],["valError","invalidCredentials"],["valError","notSupported"],["valError","fileTooBig"],["valError","xapiError"],["valError","customError"],["valError","invalidCertificateFormat"],["valError","fileNameSize"],["valError","certificateSize"],[3,"message"]],template:function(Et,dn){1&Et&&(o.j41(0,"val-default-errors"),o.DNE(1,D,2,4,"ng-template",0)(2,w,2,3,"ng-template",1)(3,O,2,3,"ng-template",2)(4,x,2,3,"ng-template",3)(5,N,2,3,"ng-template",4)(6,q,2,3,"ng-template",5)(7,K,2,3,"ng-template",6)(8,te,4,7,"ng-template",7)(9,H,2,3,"ng-template",8)(10,ee,2,3,"ng-template",9)(11,F,2,3,"ng-template",10)(12,J,2,3,"ng-template",11)(13,ne,2,3,"ng-template",12)(14,de,2,3,"ng-template",13)(15,Le,2,3,"ng-template",14)(16,ut,2,3,"ng-template",15)(17,Oe,2,6,"ng-template",16)(18,xe,2,6,"ng-template",17)(19,Ce,2,3,"ng-template",18)(20,Te,2,3,"ng-template",19)(21,Fe,2,3,"ng-template",20)(22,Ke,2,3,"ng-template",21)(23,Qe,2,6,"ng-template",22)(24,kt,2,6,"ng-template",23)(25,ct,3,10,"ng-template",24)(26,Pt,2,3,"ng-template",25)(27,Ze,2,3,"ng-template",26)(28,fe,2,3,"ng-template",27)(29,ie,2,3,"ng-template",28)(30,Xe,2,3,"ng-template",29)(31,ve,2,3,"ng-template",30)(32,he,2,3,"ng-template",31)(33,Pe,2,3,"ng-template",32)(34,Ve,2,3,"ng-template",33)(35,dt,2,3,"ng-template",34)(36,Dt,2,3,"ng-template",35)(37,wt,2,3,"ng-template",36)(38,Yt,2,3,"ng-template",37)(39,Tt,2,3,"ng-template",38)(40,qt,2,3,"ng-template",39)(41,We,2,3,"ng-template",40)(42,yt,2,3,"ng-template",41)(43,je,2,3,"ng-template",42)(44,St,2,3,"ng-template",43)(45,me,2,3,"ng-template",44)(46,rt,2,3,"ng-template",45)(47,bt,2,3,"ng-template",46)(48,we,2,3,"ng-template",47)(49,Mt,1,1,"ng-template",48)(50,p,2,4,"ng-template",49)(51,Bt,2,3,"ng-template",50)(52,it,2,3,"ng-template",51)(53,Lt,3,8,"ng-template",52),o.k0s())},dependencies:[h.N4,h.VI,h.VF,C.J,g.s,_.D9],encapsulation:2})}return le})()},36897(ot,V,l){"use strict";l.d(V,{P:()=>A});var f=l(85802),g=l(96697),h=l(25558),_=l(42610),C=l(83185),o=l(25013),y=l(16444),d=l(12426),M=l(96106);let A=(()=>{class D{swPush=(0,f.WQX)(o.Xd);myPhoneService=(0,f.WQX)(y.gx);localStorageService=(0,f.WQX)(d.sj);dropImpersonation(){this.myPhoneService.myPhoneSession.pipe((0,g.s)(1),(0,h.n)(O=>this.swPush.pushUnsubscribe(O)),(0,M.ee)("push dropImpersonation")).subscribe({complete:()=>{this.localStorageService.clear(_.Hh.ImpersonateUsername),(0,C.Lt)()}})}impersonate(O){this.myPhoneService.myPhoneSession.pipe((0,g.s)(1),(0,h.n)(x=>this.swPush.pushUnsubscribe(x)),(0,M.ee)("push impersonate")).subscribe({complete:()=>{this.localStorageService.store(_.Hh.ImpersonateUsername,O),(0,C.Lt)()}})}static \u0275fac=function(x){return new(x||D)};static \u0275prov=f.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},19630(ot,V,l){"use strict";l.d(V,{a:()=>K});var f=l(85802),g=l(18530),h=l(59030),_=l(96354),C=l(7673),o=l(84572),y=function(te){return te[te.Decoded=0]="Decoded",te[te.Encoded=1]="Encoded",te}(y||{}),d=l(91413),M=l(99437),A=l(44668),D=l(23294),w=l(53993),O=l(96697),x=l(22040),N=l(40678),q=l(27199);let K=(()=>{class te{http=(0,f.WQX)(d.Qq);settingsService=(0,f.WQX)(x.h);openUrl$;
1openUrlSubject=new g.B;clientCrmList$;selectedClientCrm$;hasClientCrmIntegration$;constructor(){const ee=this.settingsService;this.openUrl$=this.openUrlSubject.asObservable(),this.clientCrmList$=(0,h.v)(()=>l.e(7052).then(l.t.bind(l,27052,19))).pipe((0,_.T)(F=>F.default.data.sort((J,ne)=>J.name.localeCompare(ne.name))),(0,M.W)(F=>(console.error(F),(0,C.of)([]))),(0,A.t)(1)),this.selectedClientCrm$=(0,o.z)([ee.generalSettings$.pipe((0,_.T)(F=>F.crmName),(0,D.F)()),this.settingsService.generalSettings$.pipe((0,_.T)(F=>F.autoOpenUrl),(0,D.F)()),this.clientCrmList$]).pipe((0,_.T)(([F,J,ne])=>J===N.Vz.ClientCrmUrl?ne.find(de=>de.name===F):void 0),(0,A.t)(1)),this.hasClientCrmIntegration$=this.selectedClientCrm$.pipe((0,_.T)(F=>!!F),(0,A.t)(1))}canOpenContactClientSideCrmUrl(ee){return!!ee&&(ee.bestPhone.length>0||!!ee.emailAddress)}openUrl(ee){this.openUrlSubject.next(ee)}clientSideCrmUrl$(ee,F){return this.selectedClientCrm$.pipe((0,w.E)(this.settingsService.generalSettings$),(0,_.T)(([J,ne])=>{if(J){let de=ee?J.phone_lookup_url.replace("%phone%",encodeURIComponent((0,q.b)(ee))):F?J.email_lookup_url.replace("%email%",encodeURIComponent(F)):"";
1return J.variables.forEach(Le=>{const ut=Le.variableId;let Oe=ne.crmVariables.find(xe=>xe.variableId===ut)?.variableValue??"";Le.isEncode===y.Encoded&&(Oe=encodeURIComponent(Oe)),de=de.replace(`%${ut}%`,Oe)}),de}}))}openClientCrmUrl(ee,F){this.clientSideCrmUrl$(ee,F).pipe((0,O.s)(1)).subscribe(J=>{J&&this.openUrl(J)})}static \u0275fac=function(F){return new(F||te)};static \u0275prov=f.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}return te})()},53805(ot,V,l){"use strict";l.d(V,{Y:()=>q});var f=l(85802),g=l(96106),h=l(42610),_=l(96354),C=l(23294),o=l(12426),y=l(38601),d=l(50644),M=l(40953),A=l(54999),D=l(22972),w=l(68018),O=l(58689),x=l(35547);let N=(()=>{class K extends D.m{isNewDesign=(0,f.WQX)(O.T);buttons=A.P.OkCancel;static \u0275fac=(()=>{let H;return function(F){return(H||(H=x.xGo(K)))(F||K)}})();static \u0275cmp=x.VBU({type:K,selectors:[["app-silent-mode-dialog"]],features:[x.Vt3],decls:6,vars:10,consts:[["dialog",""],[3,"submitted","newDesign","header","buttons","okText","cancelText"]],template:function(ee,F){1&ee&&(x.j41(0,"app-modal-dialog",1,0),x.nI1(2,"translate"),x.bIt("submitted",function(){return F.onSubmit()}),x.j41(3,"p"),x.EFF(4),x.nI1(5,"translate"),x.k0s()()),2&ee&&(x.Y8G("newDesign",F.isNewDesign)("header",x.bMT(2,6,"_i18n.ConfirmationRequired"))("buttons",F.buttons)("okText","_i18n.OK")("cancelText","_i18n.Cancel"),x.R7$(4),x.JRh(x.bMT(5,8,"_i18n.SilentModeEnableConfirmationWebclient")))},dependencies:[M.p,w.D9],encapsulation:2,changeDetection:0})}return K})(),q=(()=>{class K{localStorageService=(0,f.WQX)(o.sj);modalService=(0,f.WQX)(y.B);silentMode$;constructor(){this.silentMode$=(0,g.lB)(this.localStorageService,h.Hh.SilentMode,!1).pipe((0,_.T)(H=>!!H),(0,C.F)(),(0,d.H9)())}setSilentMode(H){H?this.modalService.showDialog(N).pipe(g.nx).subscribe(()=>{this.localStorageService.store(h.Hh.SilentMode,H)}):this.localStorageService.store(h.Hh.SilentMode,H)}static \u0275fac=function(ee){return new(ee||K)};static \u0275prov=f.jDH({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})()},23773(ot,V,l){"use strict";l.d(V,{D:()=>o,I:()=>C});var f=l(42610),g=l(85802),h=l(12426),_=l(89079);function C(y,d){const M=(0,g.WQX)(h.sj),A=(0,g.vPA)(M.retrieve(y)??d),D=A.set.bind(A);return A.set=w=>{M.store(y,w)},M.observe(y).pipe((0,_.pQ)()).subscribe(w=>{D(w??d)}),A}const o=()=>C(f.Hh.Lab,!1)},38601(ot,V,l){"use strict";l.d(V,{B:()=>Oe});var f=l(96354),g=l(31943),h=l(70980),_=l(73557),C=l(96697),o=l(85802),y=l(22972),d=l(54999),M=l(40953),A=l(68018),D=l(35547);let w=(()=>{class xe extends y.m{header="";message="";messageTranslateParams;buttons=d.P.Ok;okText="_i18n.OK";okClass="btn-primary";static \u0275fac=(()=>{let Te;return function(Ke){return(Te||(Te=D.xGo(xe)))(Ke||xe)}})();static \u0275cmp=D.VBU({type:xe,selectors:[["app-message-box"]],inputs:{header:"header",message:"message",messageTranslateParams:"messageTranslateParams",buttons:"buttons",okText:"okText",okClass:"okClass"},features:[D.Vt3],decls:3,vars:9,consts:[[3,"submitted","customClicked","header","buttons","scrollable","okText","okClass"],["data-qa","modal-text",3,"innerHTML"]],template:function(Fe,Ke){1&Fe&&(D.j41(0,"app-modal-dialog",0),D.bIt("submitted",function(){return Ke.onSubmit()})("customClicked",function(){return Ke.onCustom()}),D.nrm(1,"p",1),D.nI1(2,"translate"),D.k0s()),2&Fe&&(D.Y8G("header",Ke.header)("buttons",Ke.buttons)("scrollable",!0)("okText",Ke.okText)("okClass",Ke.okClass),D.R7$(),D.Y8G("innerHTML",D.i5U(2,6,Ke.message,Ke.messageTranslateParams),D.npT))},dependencies:[M.p,A.D9],encapsulation:2,changeDetection:0})}return xe})();var O=l(91968);let x=(()=>{class xe extends y.m{header="_i18n.ErrorHeaderOfDialog";error;translateParams;buttons=d.P.Ok;okText="_i18n.Close";static \u0275fac=(()=>{let Te;return function(Ke){return(Te||(Te=D.xGo(xe)))(Ke||xe)}})();static \u0275cmp=D.VBU({type:xe,selectors:[["app-error-message-box"]],inputs:{header:"header",error:"error",translateParams:"translateParams",buttons:"buttons",okText:"okText"},features:[D.Vt3],decls:3,vars:6,consts:[[3,"submitted","customClicked","header","buttons","scrollable","okText"],["data-qa","modal-text"],[3,"message","params"]],template:function(Fe,Ke){1&Fe&&(D.j41(0,"app-modal-dialog",0),D.bIt("submitted",function(){return Ke.onSubmit()})("customClicked",function(){return Ke.onCustom()}),D.j41(1,"p",1),D.nrm(2,"app-server-error",2),D.k0s()()),2&Fe&&(D.Y8G("header",Ke.header)("buttons",Ke.buttons)("scrollable",!0)("okText",Ke.okText),D.R7$(2),D.Y8G("message",Ke.error)("params",Ke.translateParams))},dependencies:[M.p,O.J],encapsulation:2})}return xe})();var N=l(50779),q=l(47820);const K=["childModal"];let te=(()=>{class xe{header="";max;size="";value;childModal;ngAfterViewInit(){this.childModal.show()}static \u0275fac=function(Fe){return new(Fe||xe)};static \u0275cmp=D.VBU({type:xe,selectors:[["progress-modal"]],viewQuery:function(Fe,Ke){if(1&Fe&&D.GBs(K,5),2&Fe){let Qe;D.mGM(Qe=D.lsd())&&(Ke.childModal=Qe.first)}},inputs:{header:"header",max:"max",size:"size",value:"value"},decls:11,vars:11,consts:[["childModal","bs-modal"],["bsModal","","tabindex","-1","role","dialog","aria-labelledby","mySmallMod
1alLabel","aria-hidden","true",1,"modal","fade"],["id","modalProgress",1,"modal-dialog"],[1,"modal-content"],[1,"modal-header"],["data-qa","modal-title",1,"modal-title"],[1,"modal-body"],[3,"max","value"]],template:function(Fe,Ke){1&Fe&&(D.j41(0,"div",1,0)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h4",5),D.EFF(6),D.nI1(7,"translate"),D.k0s()(),D.j41(8,"div",6)(9,"progressbar",7),D.EFF(10),D.k0s()()()()()),2&Fe&&(D.R7$(2),D.AVh("modal-lg","lg"===Ke.size)("modal-sm","sm"===Ke.size),D.R7$(4),D.JRh(D.bMT(7,9,Ke.header)),D.R7$(3),D.Y8G("max",Ke.max)("value",Ke.value),D.R7$(),D.Lme("",Ke.value,"/",Ke.max))},dependencies:[N.hZ,q.eh,A.D9],encapsulation:2})}return xe})();var H=l(57786),ee=l(1807),F=l(7881),J=l(96106),ne=l(99788),de=l(43123);let Oe=(()=>{class xe{bsModalService=(0,o.WQX)(N.I8);applicationViewContainerRef;messageBox(Te,Fe,Ke,Qe=d.P.Ok,kt="_i18n.OK",ct="btn-primary"){return this.showDialog(w,{header:Fe,message:Te,messageTranslateParams:Ke?Object.keys(Ke).reduce((Pt,Ze)=>("string"==typeof Ke[Ze]&&(Pt[Ze]=(0,de.Z)(Ke[Ze])),Pt),Ke):void 0,buttons:Qe,okText:kt,okClass:ct})}information(Te,Fe){this.messageBox(Te,"_i18n.InformationHeaderOfDialog",Fe)}error(Te,Fe){const Ke=Te instanceof ne.e?{error:Te.message,translateParams:{...Te.translateParams,...Fe}}:{error:(0,F.PE)(Te),translateParams:Fe};this.showDialog(x,Ke)}warning(Te,Fe){this.messageBox(Te,"_i18n.WarningHeaderOfDialog",Fe)}confirmation(Te,Fe="_i18n.ConfirmationRequired",Ke,Qe="_i18n.OK",kt="btn-primary"){return this.messageBox(Te,Fe,Ke,d.P.OkCancel,Qe,kt).pipe(J.nx)}confirmDangerAction(Te,Fe,Ke,Qe="_i18n.Proceed"){return this.confirmation(Te,Fe,Ke,Qe,"btn-danger")}confirmDeletion(Te,Fe){return this.confirmDangerAction(Te,"_i18n.ConfirmationRequired",Fe,"_i18n.Delete")}confirmRetryAfterError(Te){return this.showDialog(x,{error:(0,F.PE)(Te),buttons:d.P.OkCancel,okText:"_i18n.RetryDialogButton"}).pipe(J.nx)}progress(Te,Fe,Ke){let Qe;return(0,H.h)((0,ee.O)(1e3).pipe((0,f.T)(()=>-1)),Ke).pipe((0,g.S)((kt,ct)=>-1===ct?(Qe=this.applicationViewContainerRef.createComponent(te),Object.assign(Qe.instance,{header:Te,max:Fe,value:kt}),kt):(Qe&&(Qe.instance.value=ct),ct),0),(0,h.j)(()=>Qe?.destroy()),(0,_.w)())}show(Te,Fe){return this.bsModalService.show(Te,Fe)}showComponent(Te,Fe){const Ke=this.bsModalService.show(Te,{...Fe,class:"modal-component"}),Qe=Ke.content;return Ke.onHide.pipe((0,C.s)(1),(0,f.T)(()=>Qe.output||{decision:d.R.Cancel}))}showDialog(Te,Fe,Ke){return this.showComponent(Te,{...Ke,initialState:Fe})}showConfirmationComponent(Te){return this.showDialog(Te).pipe(J.nx)}closeAllDialogs(){this.bsModalService.hide()}static \u0275fac=function(Fe){return new(Fe||xe)};static \u0275prov=o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})()},58079(ot,V,l){"use strict";l.d(V,{S:()=>f});var f=function(g){return g[g.UnknownState=0]="UnknownState",g[g.Ringing=1]="Ringing",g[g.Dialing=2]="Dialing",g[g.Connected=3]="Connected",g[g.Connecting=4]="Connecting",g[g.Breached=5]="Breached",g[g.WaitingInQueue=6]="WaitingInQueue",g}(f||{})},48039(ot,V,l){"use strict";l.d(V,{D:()=>C,T:()=>_});var f=l(1211),g=l(84412),h=l(75930);function _(o,y){return Object.values(y).reduce((d,M)=>{let A,D=""+M.CallId;const w=M.OriginatorType===f.Jhl.Queue,x=M.OwnerType===f.Jhl.Queue||w;w?(A=`${M.OriginatorDn} ${M.OriginatorName}`,w&&M.State===f.Tll.Ringing&&(D=`${M.CallId}+${M.OwnerDn}`)):x&&(A=`${M.OwnerDn} ${M.OwnerDisplayName}`);const N=d[D];return N?(o.updateActiveCallConnection(N,M),x&&(N.QueueName=A,N.IsQueueCall=x)):d[D]=o.createActiveCall(D,M,x,A),d},{})}class C{_idToLocalConnection={};activeCalls$=new g.t({});reset(){this._idToLocalConnection={},this.next()}next(){this.activeCalls$.next({...this._idToLocalConnection})}processDeletedItems(y){y.forEach(d=>{delete this._idToLocalConnection[d]}),y.length>0&&this.next()}processDeleted(y){delete this._idToLocalConnection[y],this.next()}updateConnections(y,d){void 0===y||void 0===y.Items||(y.Items.forEach(M=>this.updateConnection(M,d)),y.Items.length>0&&this.next())}updateConnection(y,d){if(y.Action===f.X2v.FullUpdate)delete this._idToLocalConnection[y.Id],this._idToLocalConnection[y.Id]=y,void 0!==d&&-1===d.indexOf(y.Id)&&d.push(y.Id);else if(y.Action===f.X2v.Deleted){if(delete this._idToLocalConnection[y.Id],void 0!==d){const M=d.indexOf(y.Id);-1!==M&&d.splice(M,1)}}else if(y.Action===f.X2v.Updated){const M=this._idToLocalConnection[y.Id];void 0!==M&&h.X.Merge(M,y)}}}},46062(ot,V,l){"use strict";l.d(V,{Ij:()=>g,Lb:()=>y,T9:()=>M,eE:()=>f,kK:()=>_,ni:()=>A,ou:()=>d,s4:()=>C,yH:()=>o,z0:()=>h});var f=function(D){return D[D.Extension=0]="Extension",D[D.CompanyPhonebook=1]="CompanyPhonebook",D[D.PersonalPhonebook=2]="PersonalPhonebook",D[D.SystemExtension=3]="SystemExtension",D[D.External=4]="External",D[D.DepartmentPhonebook=5]="DepartmentPhonebook",D}(f||{});const g="local",h="department",_="phonebook",C="external",o="webrtc",y=o,d="livechat",M="messenger",A="sms"},55461(ot,V,l){"use strict";l.d(V,{M:()=>o});var f=l(19724),g=l(18810),h=l(25558),_=l(91413),C=l(83529);function o(y){return(0,C.$)(new URL(`/MyPhone/${y.link}`,y.basePath).href,{method:"POST",headers:y.headers,body:y.body}).pipe((0,h.n)(d=>{if(d.ok)return(0,f.H)(d.blob());{const M={status:d.status,statusText:d.statusText,url:d.url};return(0,g.$)(()=>new _.yz(M))}}))}},30203(ot,V,l){"use strict";l.d(V,{$M:()=>de,SK:()=>Le});var M=l(28793),A=l(57786),D=l(7673),w=l(983),O=l(1211),x=l(99437),N=l(70274),q=l(5964),K=l(28492),te=l(62087),H=l(17279),ee=l(11111);function de(ut,Oe,xe,Ce,Te,Fe){const Ke=Oe.addpTimeout||1e3;return(0,H.Q)(Oe,Ce,new URL(Te)).pipe((0,te.w)(2*Ke),(0,q.p)(Qe=>"ADDP"!==Qe),(0,K.j)(Qe=>"START"!==Qe),(0,N.H)(Qe=>{if("START"===Qe)return Le(xe,Fe);
1{const kt=ut.decode(Qe);return kt?(0,D.of)(kt):w.w}}),(0,ee.B)(100),(0,q.p)(Qe=>Qe.length>0))}function Le(ut,Oe){const xe=[ut.get(new O.gVK),ut.get(new O.JZp({register:!0,NeedsRegistration:Oe})).pipe((0,x.W)(()=>w.w)),ut.get(new O.EDG),ut.get(new O.JqP).pipe((0,x.W)(()=>w.w)),ut.get(new O.CzA({SearchByMask:1,Sources:[O.SjL.CS_Conference|O.SjL.CS_SpecialMenu],Count:2,Offset:0}))];return(0,M.x)(ut.get(new O.r_c),(0,A.h)(...xe).pipe((0,q.p)(Ce=>!(Ce instanceof O.UsZ))))}},98810(ot,V,l){"use strict";l.d(V,{q:()=>h});var f=l(11045),g=l(92771);class h{id;name="";prefix="";isConnected;isAllowed;groupsMap={};contactsMap=new f.P;contactsMap$=new g.m(1);groupsMap$=new g.m(1);isHidden=!1;constructor(C){this.id=C,this.onContactsChanged()}onContactsChanged(){this.contactsMap$.next(this.contactsMap)}onGroupChanged(){this.groupsMap$.next(this.groupsMap)}get contacts(){return this.contactsMap.getSortedContacts()}get groups(){return Object.values(this.groupsMap)}}},11111(ot,V,l){"use strict";l.d(V,{B:()=>g});var f=l(71985);const g=h=>_=>new f.c(C=>{let o,y=[];const d=()=>{void 0!==o&&(self.clearTimeout(o),o=void 0)},A=_.subscribe({next:D=>{void 0===o?(C.next([D]),o=self.setTimeout(()=>{y.length>0&&(C.next(y),y=[]),o=void 0},h)):y.push(D)},error:D=>{d(),C.error(D)},complete:()=>{d(),C.complete()}});return()=>{d(),A.unsubscribe()}})},68739(ot,V,l){"use strict";l.d(V,{KA:()=>D,NF:()=>A,Rj:()=>M,YV:()=>d,Zp:()=>O,a3:()=>w,c9:()=>x});var f=l(43462),g=l(46062),h=l(49629),_=l(1211),C=l(92771),o=l(43849),y=l(27199);const d="#58666e";function M(N){switch(N.ContactType){case _.PmU.CompanyPhonebook:return g.kK;case _.PmU.ExternalContact:return g.s4;case _.PmU.PersonalPhonebook:return g.Ij;case _.PmU.GroupPhonebook:return g.z0;case _.PmU.BridgeExtension:return N.AddressNumberOrData9;default:return g.Ij}}function A(N){return N.ContactType===_.PmU.LocalUser||N.ContactType===_.PmU.BridgeExtension?`${N.Id}@${M(N)}`:N.Id.toString()}class D{type;bridgeId;id;identity=new C.m(1);connections=new _.Baj;displayedConnection;phones={};sanitizedPhones={};addedBy=_.xBw.AB_Tcx;myContact;chatEnabled;hideInPhonebook;firstName="";lastName="";firstNameLastName="";tags;lastNameFirstName="";isRegistered;isDnd;isDummy;currentProfile=new f.WV;queueStatus;isQueueAgent;monitorExpiration;isBusy;isVoicemailEnabled;isEditable;isFavorite;dnType;availableForTransfer;isBridged;isGroupContact=!1;nativeExtensionNumber="";nativeMobileNumber="";get extensionNumber(){return this.phones.extension||""}profilePicture="";emailAddress;company="";title;department;statusTemporarilyChanged;overrideCurrentProfile=new f.WV;overrideExpiresUTCTime;overrideAttachedData;isRinging;crmUrl;groups=[];hasAvatarLetters=!0;avatarColor=d;forceShowProfile=!1;get queueCssClassName(){return this.type!==g.eE.Extension?"":this.queueStatus?"on":"off_queue"}get statusCssClassName(){return this.type===g.eE.Extension||this.forceShowProfile?this.isRinging?"ringing":this.isBusy?"busy":h.A.getProfileCssClass(this.isRegistered?this.profile?.internalName:void 0):""}get bestPhone(){return this.phones.extension||this.bestMobile}get bestMobile(){return this.phones.mobile||this.phones.mobile2||this.phones.business||this.phones.home||this.phones.business2||""}get bestSmsMobile(){return this.nativeMobileNumber||this.phones.mobile2||this.phones.business||this.phones.home||this.phones.business2||""}get isAvailableForTransfer(){return void 0===this.availableForTransfer||this.availableForTransfer}get isBridgedExtension(){return void 0===this.isBridged||this.isBridged}get isAIAgent(){return this.tags?.includes("AI")}static updatePhone(q,K,te){q.phones[K]=te,q.sanitizedPhones[K]=(0,y.b)(te)}static myPhoneTypeContactMapper(q){switch(q.ContactType){case _.PmU.CompanyPhonebook:return g.eE.CompanyPhonebook;case _.PmU.GroupPhonebook:return g.eE.DepartmentPhonebook;case _.PmU.PersonalPhonebook:return g.eE.PersonalPhonebook;case _.PmU.BridgeExtension:return g.eE.Extension;case _.PmU.LocalUser:return void 0===q.DnType||q.DnType===_.Jhl.Extension?g.eE.Extension:g.eE.SystemExtension;
1default:return g.eE.External}}static create(q){const K=q.ContactType===_.PmU.BridgeExtension,te=new D(A(q),D.myPhoneTypeContactMapper(q),M(q),{isVoicemailEnabled:q.VmailEnabled,dnType:q.DnType,firstName:q.FirstName||"",lastName:(q.DnType===_.Jhl.Extension||q.DnType===_.Jhl.Service||!q.DnType)&&q.LastName||"",company:K?"":q.Company||"",title:q.AddressNumberOrData2,department:K?"":q.AddressNumberOrData8,addedBy:q.AddedBy,isEditable:q.IsEditable,crmUrl:q.CrmContactData,emailAddress:q.AddressNumberOrData5,profilePicture:q.ContactImage,availableForTransfer:q.AvailableForTransfer,isBridged:K});return h.A.onContactNameChanged(te),D.updatePhone(te,"extension",q.ExtensionNumber),te.nativeExtensionNumber=K?q.AddressNumberOrData8:q.ExtensionNumber,te.nativeMobileNumber=K?q.AddressNumberOrData7:q.Number,D.updatePhone(te,"extension",q.ExtensionNumber),D.updatePhone(te,"mobile",q.Number),D.updatePhone(te,"mobile2",q.AddressNumberOrData0),D.updatePhone(te,"home",q.AddressNumberOrData1),D.updatePhone(te,"business",q.AddressNumberOrData3),D.updatePhone(te,"business2",q.AddressNumberOrData4),D.updatePhone(te,"other",q.AddressNumberOrData6),D.updatePhone(te,"businessFax",q.AddressNumberOrData7),q.ContactType!==_.PmU.BridgeExtension&&D.updatePhone(te,"pager",q.AddressNumberOrData9),te}static responseContacts(q){return q.Entries.map(K=>D.create(K))}constructor(q,K,te,H){this.type=K,this.bridgeId=te,this.id=q,H&&Object.assign(this,H),this.onIdentityChanged()}setContactProfile(q){let K;this.forceShowProfile=!0,q?(this.isRegistered=!0,K=this.profile.merge({internalName:f.SB.Available})):(this.isRegistered=!1,K=this.profile.merge({internalName:f.SB.Unregistered})),this.statusTemporarilyChanged?this.overrideCurrentProfile=K:this.currentProfile=K}onIdentityChanged(){this.identity.next(this)}get profile(){return this.statusTemporarilyChanged?this.overrideCurrentProfile:this.currentProfile}canBeAddedToPhonebook(){return this.isDummy}isPhonebookContact(){return!this.isDummy&&(this.type===g.eE.PersonalPhonebook||this.type===g.eE.CompanyPhonebook||this.type===g.eE.DepartmentPhonebook)}}const w=new D("",g.eE.CompanyPhonebook,g.kK,{isDummy:!0}),O=new D("",g.eE.Extension,g.Ij,{isDummy:!0}),x=new D("",g.eE.CompanyPhonebook,g.kK,{isGroupContact:!0,profilePicture:o,hasAvatarLetters:!1})},17279(ot,V,l){"use strict";l.d(V,{Q:()=>_,m:()=>h});var f=l(71985),g=l(96354);
1class h extends Error{status;constructor(o,y){super(o),this.status=y,Object.setPrototypeOf(this,h.prototype)}}function _(C,o,y){return new f.c(M=>{const A=y.protocol.replace("http","ws")+"//",O=o(A+y.host+"/ws/webclient?sessionId="+C.sessionKey+"&pass="+C.pass);return O.binaryType="arraybuffer",O.onopen=()=>{},O.onmessage=x=>{"NOT AUTH"===x.data||"STOP"===x.data?M.error(new h("Notification channel cancelled by server",1e3)):M.next(x.data)},O.onclose=x=>{M.error(x)},()=>O.close()}).pipe((0,g.T)(M=>M instanceof ArrayBuffer?new Uint8Array(M):M))}},5836(ot,V,l){"use strict";l.d(V,{p:()=>D});var f=l(85802),g=l(1211),h=l(85212),_=l(30871),C=l(96354),o=l(55461),y=l(91413),d=l(97144),M=l(68018);const A={[g.tGV.ProLicenseRequired]:"_i18n.RequiresSimultaneousCallsWarningPro",[g.tGV.ConferenceWithPinDoesNotExist]:"_i18n.ConferenceWithPinDoesNotExist",[g.tGV.ConferenceWithPinAlreadyExists]:"_i18n.ConferenceWithPinAlreadyExists",[g.tGV.ConferencePinAndIdDoesNotMatch]:"_i18n.ConferencePinAndIdDoesNotMatch",[g.tGV.ConferenceAccessDenied]:"_i18n.ConferenceAccessDenied",[g.tGV.ConferenceIsCancelled]:"_i18n.ConferenceIsCancelled",[g.tGV.ConferencePinIsReadOnly]:"_i18n.ConferencePinIsReadOnly",[g.tGV.ConferenceInvalidPin]:"_i18n.ConferenceInvalidPin",[g.tGV.CannotGeneratePin]:"_i18n.CannotGeneratePin",[g.tGV.FwdProfileDoesNotExist]:"_i18n.FwdProfileDoesNotExist",[g.tGV.FwdProfileOverrideExpirationRequired]:"_i18n.FwdProfileOverrideExpirationRequired",[g.tGV.Success]:"_i18n.Success",[g.tGV.BlockedCountryCode]:"_i18n.BlockedCountryCode",[g.tGV.NoSuchRequest]:"_i18n.NoSuchRequest",[g.tGV.ExceptionOccured]:"_i18n.ExceptionOccurred",[g.tGV.RequestIsNotSupported]:"_i18n.RequestIsNotSupported",[g.tGV.ServerIsBusy]:"_i18n.ServerIsBusy",[g.tGV.BridgeNotFound]:"_i18n.BridgeNotFoundAck",[g.tGV.CannotCleanOwnExtension]:"_i18n.CannotCleanOwnExtension",[g.tGV.SetWakeupCallResult]:"_i18n.SetWakeupCallResult",[g.tGV.ExtensionNotFound]:"_i18n.ExtensionNotFound",[g.tGV.NoPermission]:"_i18n.NoPermission",[g.tGV.WebMeetingNoEmail]:"_i18n.WebMeetingNoEmail",[g.tGV.WebMeetingNoAccess]:"_i18n.WebMeetingNoAccess",[g.tGV.WebMeetingInvalidOrganizer]:"_i18n.WebMeetingInvalidOrganizer",[g.tGV.WebMeetingInvalidParameters]:"_i18n.WebMeetingInvalidParameters",[g.tGV.WebMeetingInvalidParticipant]:"_i18n.WebMeetingInvalidParticipant",[g.tGV.WebMeetingInvalidPin]:"_i18n.WebMeetingInvalidPin",[g.tGV.WebMeetingAccessDenied]:"_i18n.WebMeetingAccessDenied",[g.tGV.WebMeetingNotFound]:"_i18n.WebMeetingNotFound",[g.tGV.WebMeetingCannotDeleteQM]:"_i18n.WebMeetingCannotDeleteQM",[g.tGV.WebMeetingPinIsReadonly]:"_i18n.WebMeetingPinIsReadonly",[g.tGV.WebMeetingNumberToCallIsReadonly]:"_i18n.WebMeetingNumberToCallIsReadonly",[g.tGV.WebMeetingInvalidWmUser]:"_i18n.WebMeetingInvalidWmUser",[g.tGV.ExtensionEmailRequired]:"_i18n.ExtensionEmailRequired",[g.tGV.QueueNumberRequired]:"_i18n.QueueNumberRequired",[g.tGV.ChatIsDisabled]:"_i18n.ChatIsDisabled",[g.tGV.PersonalContactRequired]:"_i18n.PersonalContactRequired",[g.tGV.RequiredFieldIsEmpty]:"_i18n.RequiredFieldIsEmpty",[g.tGV.ContactNotFound]:"_i18n.ContactNotFound",[g.tGV.ContactIsReadonly]:"_i18n.ContactIsReadonly",[g.tGV.ActionIsNotAllowed]:"_i18n.ActionIsNotAllowed",[g.tGV.FileNotFound]:"_i18n.FileNotFoundAck",[g.tGV.OwnRecordingsDenied]:"_i18n.OwnRecordingsDenied",[g.tGV.InvalidValue]:"_i18n.InvalidValue",[g.tGV.InvalidMedia]:"_i18n.InvalidMedia",[g.tGV.InvalidOperation]:"_i18n.InvalidOperation",[g.tGV.OperationFailed]:"_i18n.OperationFailedAck",[g.tGV.StillProcessing]:"_i18n.StillProcessing"};let D=(()=>{class w{_encoder=(0,f.WQX)(h.o);httpClient=(0,f.WQX)(y.Qq);translateService=(0,f.WQX)(M.c$);transportImplementation(x,N,q){return this.httpClient.post(new URL(_.C,q).href,x.buffer.slice(x.byteOffset,x.byteLength+x.byteOffset),{headers:N,responseType:"arraybuffer"})}transport(x,N,q){if(!d.c.production){const K=x.constructor?.name;K&&(N={...N,"X-Request-Name":K})}return this.transportImplementation(this._encoder.encode(x),N,q).pipe((0,C.T)(K=>this.processResponse(x,K)))}fetchPost(x,N,q,K){return(0,o.M)({link:x,basePath:K,body:N,headers:new Headers(q)})}processResponse(x,N){const q=this._encoder.decode(new Uint8Array(N));if(q instanceof g.UsZ){const K=q;if(!K.Success){const te=this.getErrorMessage(K)||K.Message||`Received unsuccessful ack for ${x.constructor.name}`,H=new Error(te);throw H.source=K,H}}return q}getErrorMessage(x){const N={};if(x.Parameters?.forEach((K,te)=>{N[`p${te+1}`]=K}),x.IsCustomMessage)return x.Message;if(x.ErrorType===g.tGV.WebMeetingInvalidParticipant&&2===x.Parameters?.length)return this.translateService.instant("_i18n.WebMeetingInvalidParticipantWithError",N);const q=A[x.ErrorType];return q?this.translateService.instant(q,N):""}static \u0275fac=function(N){return new(N||w)};static \u0275prov=f.jDH({token:w,factory:w.\u0275fac})}return w})()},15532(ot,V,l){"use strict";l.d(V,{Y:()=>C});var f=l(11045),g=l(84412),h=l(92771),_=l(1211);class C{id;name;language$=new g.t("");bridge;groupId=new _.$vF;currentGroupHours;overrideExpiresAt;disableCustomPrompt;allowCallService;allowCallService$=new h.m(1);contactsMap=new f.P;contactsMap$=new h.m(1);isHidden=!1;constructor(y,d){this.id=y,this.bridge=d,this.onContactsChanged()}onContactsChanged(){this.contactsMap$.next(this.contactsMap)}get contacts(){return this.contactsMap.getSortedContacts()}isFavorite(){return!(!this.name||!this.name.startsWith("___FAVORITES___"))}onAllowCallServiceChanged(){this.allowCallService$.next(this.allowCallService)}}},39797(ot,V,l){"use strict";l.d(V,{V:()=>f});
1class f extends Error{}},75930(ot,V,l){"use strict";l.d(V,{X:()=>g});var f=l(1211);class g{static Merge(_,C){return C.Action===f.X2v.FullUpdate||C.Action===f.X2v.Updated?g.MergePlainObject(_,C):C.Action||Object.assign(_,C),_}static notify(_,C){const o=Reflect.get(_,C.toString()+"$");void 0!==o&&o.next(Reflect.get(_,C))}static MergePlainObject(_,C){if(void 0===_)return;const o=Reflect.ownKeys(C),y=o.find(M=>"Action"===M),d=y?Reflect.get(C,y):void 0;o.filter(M=>"Action"!==M&&"Id"!==M).forEach(M=>{const A=Reflect.get(C,M),D=Reflect.get(_,M);if(void 0!==A){if(A instanceof Array){const w=A;if(0===w.length){if(d!==f.X2v.FullUpdate)return;Reflect.set(_,M,A)}if(w[0]instanceof Object){const x={};(D||[]).forEach(N=>{x[N.Id]=N}),w.forEach(N=>{const q=N.Id,K=x[q];switch(N.Action){case f.X2v.Deleted:delete x[q];break;case f.X2v.FullUpdate:x[q]=N;break;case f.X2v.Inserted:case f.X2v.Updated:x[q]=void 0===K?N:g.Merge(K,N)}}),Reflect.set(_,M,Object.values(x))}else Reflect.set(_,M,A)}else A instanceof Object?Reflect.set(_,M,void 0===D?A:g.Merge(D,A)):Reflect.set(_,M,A);g.notify(_,M)}})}}},49629(ot,V,l){"use strict";l.d(V,{A:()=>C,y:()=>_});var f=l(27199),g=l(73042),h=l(43462);const _=new RegExp(/[^\p{L}\p{N}]+/gu);class C{static onContactNameChanged(y){y.firstName&&y.lastName?(y.firstNameLastName=C.getFirstNameLastName(y),y.lastNameFirstName=C.getLastNameFirstName(y)):(y.firstNameLastName=y.firstName||y.lastName||y.company||"",y.lastNameFirstName=y.firstNameLastName)}static getFirstNameLastName(y){return y.firstName&&y.lastName?y.firstName+" "+y.lastName:y.firstName||y.lastName||""}static getLastNameFirstName(y){return y.firstName&&y.lastName?y.lastName+", "+y.firstName:y.firstName||y.lastName||""}static getProfileCssClass(y){switch(y){case h.SB.Available:return"available";case h.SB.Away:return"away";case h.SB.OutOfOffice:return"out_of_office";case h.SB.Custom1:return"custom1";case h.SB.Custom2:return"custom2";default:return"off"}}static filterObjectUsingText(y,d){if(!y)return[];if(!d)return y;function A(w){if(void 0===w)return!1;if("object"!=typeof w)return function M(w){return void 0!==w&&w.toLowerCase().includes(d.toLowerCase())}(w.toString());for(const O in w)if(w.hasOwnProperty(O)){const x=w[O];if(!x||x instanceof Array)continue;const N=A(x);if(N)return N}return!1}const D=[];for(const w of y)A(w)&&D.push(w);return D}static filterContactUsingText(y,d){function M(D){return void 0!==D&&D.toLowerCase().includes(d.toLowerCase())}if(g.Q.isNullOrEmpty(d))return y;const A=[];for(const D of y)(M(D.firstNameLastName)||M(D.lastNameFirstName)||M(D.company)||M(D.emailAddress)||(0,f.I)(D.sanitizedPhones,d))&&A.push(D);return A}}},52439(ot,V,l){"use strict";l.d(V,{t:()=>g});var f=l(1211);class g extends f.AXF{OwnerPresentationString;OtherPartyPresentationString}},62647(ot,V,l){"use strict";l.d(V,{$j:()=>M,A4:()=>o,Ps:()=>O,Vy:()=>q,hw:()=>x,jM:()=>w,yV:()=>A});var f=l(85802),g=l(12426),h=l(42610),_=l(96106);function o(K){return Array.isArray(K)?K.map(te=>o(te)):K instanceof Date?new Date(K.getTime()):K&&"object"==typeof K?Object.getOwnPropertyNames(K).reduce((te,H)=>(Object.defineProperty(te,H,Object.getOwnPropertyDescriptor(K,H)),te[H]=o(K[H]),te),Object.create(Object.getPrototypeOf(K))):K}var y=function(K){return K[K.MyPhoneSession=0]="MyPhoneSession",K[K.PhoneService=1]="PhoneService",K[K.WebRtcService=2]="WebRtcService",K}(y||{}),d=function(K){return K[K.Pending=0]="Pending",K[K.Fulfilled=1]="Fulfilled",K[K.Rejected=2]="Rejected",K}(d||{});const M={color:"color: #E8B311;",label:"MyPhoneSession",value:y.MyPhoneSession},A={color:"color: #0096D1;",label:"PhoneService",value:y.PhoneService},w={value:d.Pending,color:"color: #B5B5B5;",label:"get-request"},O={value:d.Fulfilled,color:"color: #36B213;",label:"get-response"},x={value:d.Rejected,color:"color: #E05B4A;",label:"get-failed"};function N(K){return K?"color: #e04aa4":""}let q=(()=>{class K{storage=(0,f.WQX)(g.sj);logEnabled;enabledLevel=new Map;constructor(){(0,_.lB)(this.storage,h.Hh.LoggerEnabled).subscribe(H=>{this.logEnabled=H??!1}),(0,_.lB)(this.storage,h.Hh.LoggerLevel).subscribe(H=>{H?.includes("myphone")?this.enabledLevel.get(y.MyPhoneSession)||this.enabledLevel.set(y.MyPhoneSession,y.MyPhoneSession):this.enabledLevel.delete(y.MyPhoneSession),H?.includes("phonesvc")?this.enabledLevel.get(y.PhoneService)||this.enabledLevel.set(y.PhoneService,y.PhoneService):this.enabledLevel.delete(y.PhoneService),H?.includes("webrtcsvc")?this.enabledLevel.get(y.WebRtcService)||this.enabledLevel.set(y.WebRtcService,y.WebRtcService):this.enabledLevel.delete(y.WebRtcService)})}info(H,...ee){this.logEnabled&&console.log(H,...ee)}getLogLevelEnabled(H){return this.logEnabled&&(this.enabledLevel.size<1||void 0!==this.enabledLevel.get(H))}
1showRequest(H){this.getLogLevelEnabled(H.loggingLevel.value)&&console.log(`%c[${H.loggingLevel.label}]%c${H.requestState.label}[${H.reqIndex}]${H.operationName?` %c[${H.operationName}]`:""}`,H.loggingLevel.color,H.requestState.color,N(H.operationName),`${H.message??""}${H.typeName??""}`,...H.optionalParams??[])}showInfo(H){this.getLogLevelEnabled(H.loggingLevel.value)&&console.log(`%c[${H.loggingLevel.label}]${H.operationName?` %c[${H.operationName}]`:""}`,H.loggingLevel.color,N(H.operationName),`${H.message??""}${H.typeName??""}`,...H.optionalParams??[])}static \u0275fac=function(ee){return new(ee||K)};static \u0275prov=f.jDH({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})()},85212(ot,V,l){"use strict";l.d(V,{o:()=>C});var f=l(1211);class g{encode(y){return f.r7i.encode(y.toGenericMessage()).finish()}decode(y){try{const d=f.r7i.decode(y,y.length);return Object.entries(d).find(([M])=>"MessageId"!==M)[1]}catch{return console.warn("Invalid notification"),null}}}var h=l(35547),_=l(85802);let C=(()=>{class o extends g{static \u0275fac=(()=>{let d;return function(A){return(d||(d=h.xGo(o)))(A||o)}})();static \u0275prov=_.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})()},30871(ot,V,l){"use strict";l.d(V,{C:()=>g,P:()=>h});const f="application/octet-stream",g="/MyPhone/MPWebService.asmx";function h(_){return{Accept:f,"Content-Type":f,MyPhoneSession:_,"ngsw-bypass":"bypass"}}},94276(ot,V,l){"use strict";l.d(V,{r:()=>it});var f=l(84412),g=l(18530),h=l(92771),_=l(84572),C=l(59030),o=l(18810),y=l(7673),d=l(15532),M=l(98810),A=l(46062);const D=String(A.eE.CompanyPhonebook),w=String(A.eE.PersonalPhonebook);class O extends M.q{companyPhonebook;personalPhonebook;constructor(){super(A.kK),this.companyPhonebook=new d.Y(D,this),this.companyPhonebook.name="_i18n.CompanyPhonebook",this.groupsMap[D]=this.companyPhonebook,this.personalPhonebook=new d.Y(w,this),this.personalPhonebook.name="_i18n.PersonalPhonebook",this.groupsMap[w]=this.personalPhonebook}}var x=l(1211);class N extends x.__H{VoiceMailBox$=new f.t(new x.Dk2);Connections$=new f.t(new x.Baj);ActiveDevices$=new f.t(new x.zNT);AllowWebrtcEndpoint$=new f.t(!1);PrivateConference$=new f.t(new x.Z6W);MyGroups$=new f.t(new x.Kfy)}var q=l(48039),K=l(96697),te=l(96354);class H{activeCallHandler;_prksCalls={};_ivrsCalls={};_myCalls=[];_grpcons={};_myExtensionInfoFullUpdate;_IVRFullUpdate;_parkingFullUpdate;_localGroupsUpdate;_db;activeCalls$;constructor(Me){this.activeCallHandler=Me,this._db=new q.D,this.activeCalls$=this._db.activeCalls$.asObservable()}getCallById(Me){return this.activeCalls$.pipe((0,K.s)(1),(0,te.T)(le=>(0,q.T)(this.activeCallHandler,le)),(0,te.T)(le=>le[""+Me]))}ACUpdateParkings(Me){if(Me.Action===x.X2v.FullUpdate)this._parkingFullUpdate=!0,Object.values(this._prksCalls).forEach(le=>le.forEach($=>this._db.processDeleted($))),this._prksCalls={};else if(!this._parkingFullUpdate)return;void 0!==Me.Items&&Me.Items.forEach(le=>{if(le.Action===x.X2v.Deleted||le.Action===x.X2v.FullUpdate){const $=this._prksCalls[le.Id];void 0!==$&&($.forEach(Ee=>this._db.processDeleted(Ee)),delete this._prksCalls[le.Id])}if(le.Action===x.X2v.FullUpdate||le.Action===x.X2v.Updated){let $=this._prksCalls[le.Id];void 0===$&&(this._prksCalls[le.Id]=[],$=this._prksCalls[le.Id]),this._db.updateConnections(le.WaitingCalls,$)}})}ACUpdateMyExtensionInfo(Me){if(Me.Action===x.X2v.FullUpdate)this._myExtensionInfoFullUpdate=!0,Object.values(this._myCalls).forEach(le=>this._db.processDeleted(le)),this._myCalls=[];else if(!this._myExtensionInfoFullUpdate)return;this._db.updateConnections(Me.Connections,this._myCalls)}ACUpdateIVRs(Me){if(Me.Action===x.X2v.FullUpdate)this._IVRFullUpdate=!0,Object.values(this._ivrsCalls).forEach(le=>le.forEach($=>this._db.processDeleted($))),this._ivrsCalls={};else if(!this._IVRFullUpdate)return;void 0!==Me.Items&&Me.Items.forEach(le=>{if(le.Action===x.X2v.Deleted||le.Action===x.X2v.FullUpdate){const $=this._ivrsCalls[le.Id];void 0!==$&&($.forEach(Ee=>this._db.processDeleted(Ee)),delete this._ivrsCalls[le.Id])}if(le.Action===x.X2v.FullUpdate||le.Action===x.X2v.Updated){let $=this._ivrsCalls[le.Id];void 0===$&&(this._ivrsCalls[le.Id]=[],$=this._ivrsCalls[le.Id]),this._db.updateConnections(le.WaitingCalls,$)}})}deleteGroupConnections(Me){const le=this._grpcons[Me];void 0!==le&&(Object.values(le).forEach($=>$.forEach(Ee=>this._db.processDeleted(Ee))),delete this._grpcons[Me])}ACUpdateGroups(Me){if(Me.FromLocalPbx)try{if(Me.Action===x.X2v.FullUpdate)this._localGroupsUpdate=!0,this._grpcons={};else if(!this._localGroupsUpdate)return;if(void 0===Me.Items)return;
1Me.Items.forEach(le=>{if(le.Action===x.X2v.Deleted&&this.deleteGroupConnections(le.Id),void 0!==le.Members){le.Members.Action===x.X2v.Deleted&&this.deleteGroupConnections(le.Id);let $=this._grpcons[le.Id];void 0===$&&(this._grpcons[le.Id]={},$=this._grpcons[le.Id]),le.Members.Items.forEach(Ee=>this.processGroupMember(Ee,$))}})}catch{}}processGroupMember(Me,le){if(!Me.Connections)return;let $=le[Me.Id];(Me.Connections.Action===x.X2v.FullUpdate||void 0===$)&&(void 0!==$&&$.forEach(Ee=>this._db.processDeleted(Ee)),le[Me.Id]=[],$=le[Me.Id]),Me.Connections&&this._db.updateConnections(Me.Connections,$)}}var ee=l(9623);class F{requestServerTimeSent;tsDelta=0;get delta(){return this.tsDelta}millisecondsToClientTime(Me){return new Date(Me-this.tsDelta)}toClientTime(Me){return this.millisecondsToClientTime(Me.valueOf())}toServerTime(Me){return new Date(Me.valueOf()+this.tsDelta)}refresh(Me){this.tsDelta=(0,ee.Om)(this.requestServerTimeSent,Me)}}var J=l(58079);class ne{id;Callee;Caller;StartedAt;IsBreached;IsWaiting;RawState;Connections=[];CanShow;Participants=[];CallerType;CalleeType;OriginatorType;QueueName;IsQueueCall;constructor(Me,le){this.id=Me,Object.assign(this,le)}get State(){if(this.IsBreached)return J.S.Breached;if(this.IsWaiting)return J.S.WaitingInQueue;if(this.RawState===x.Tll.WaitingForNewParty)return J.S.Connecting;if(this.RawState===x.Tll.Connected||this.RawState===x.Tll.TryingToTransfer)return J.S.Connected;if(1===this.Connections.length){if(this.RawState===x.Tll.Dialing)return J.S.Dialing;if(this.RawState===x.Tll.Ringing)return J.S.Ringing}return this.RawState===x.Tll.Dialing||this.RawState===x.Tll.Ringing?J.S.Connecting:J.S.UnknownState}get CallDetails(){const Me=[];return(this.CallerType===x.Jhl.ExternalLine||this.CalleeType===x.Jhl.ExternalLine)&&Me.push("_i18n.ExternalCall"),this.CalleeType===x.Jhl.IVR&&Me.push("_i18n.IVR"),this.CalleeType===x.Jhl.Queue?Me.push(this.IsBreached?"_i18n.Breached":"_i18n.WaitingInQueue"):this.OriginatorType===x.Jhl.Queue&&this.RawState===x.Tll.Ringing&&Me.push("_i18n.ConnectedToQueue"),this.CalleeType===x.Jhl.Parking&&Me.push("_i18n.Parked"),Me}}var de=l(75930),Le=l(52439),ut=l(33971);class Oe{timeSync;_contactSource;constructor(Me,le){this.timeSync=Me,this._contactSource=le}addNewConnection(Me,le){const $=new Le.t(Me);le.Connections.push($),(0,ut.oX)(this._contactSource,$),this.showCall(le)}createActiveCall(Me,le,$,Ee){const Et=new ne(Me,{QueueName:Ee,IsQueueCall:$});return this.addNewConnection(le,Et),Et}updateActiveCallConnection(Me,le){const $=Me.Connections.find(Ee=>Ee.Id===le.Id);if(void 0!==$)de.X.Merge($,le),(0,ut.oX)(this._contactSource,$),this.showCall(Me);else{if(le.Action!==x.X2v.FullUpdate)return;this.addNewConnection(le,Me)}}showCall(Me){if(0===Me.Connections.length)return void(Me.CanShow=!1);if(1===Me.Connections.length)return void(void 0!==Me.Connections[0].IsIncoming&&this.showOneConnection(Me,Me.Connections[0],Me.Connections[0].IsIncoming));const le=Me.Connections.filter(Ee=>void 0!==Ee.State&&Ee.State!==x.Tll.TryingToTransfer&&Ee.State!==x.Tll.UnknownState).sort((Ee,Et)=>Ee.LegId-Et.LegId);if(0===le.length)return;const $=le[0];if($.State===x.Tll.Ringing){const Ee=le.find(Et=>Et.State===x.Tll.Connected);return void(void 0!==Ee?this.showOneConnection(Me,Ee,!1):this.showOneConnection(Me,$,!0))}this.showOneConnection(Me,$,!1)}showOneConnection(Me,le,$){Me.CanShow=!1,void 0!==le.State&&le.State!==x.Tll.UnknownState&&(Me.CanShow=!0,Me.Participants=[],le.OtherPartyCallerId&&Me.Participants.push(le.OtherPartyCallerId),le.OwnerCallerId&&Me.Participants.push(le.OwnerCallerId),$?(Me.Caller=le.OtherPartyPresentationString,Me.CallerType=le.OtherPartyType,Me.Callee=Oe.GetOriginator(Me,le)+le.OwnerPresentationString,Me.CalleeType=le.OwnerType):(Me.Caller=le.OwnerPresentationString,Me.CallerType=le.OwnerType,Me.Callee=Oe.GetOriginator(Me,le)+le.OtherPartyPresentationString,Me.CalleeType=le.OtherPartyType),Me.OriginatorType=le.OriginatorType,Me.IsBreached=Me.CalleeType===x.Jhl.Queue&&Me.Connections.some(Ee=>Ee.SLABreach),Me.IsWaiting=Me.CalleeType===x.Jhl.Queue,Me.RawState=le.State,le.AnsweredAt?Me.StartedAt=this.timeSync.toClientTime((0,ee.jD)(le.AnsweredAt)).getTime():le.StartedAt&&(Me.StartedAt=this.timeSync.toClientTime((0,ee.jD)(le.StartedAt)).getTime()))}static GetOriginator(Me,le){if(le.State===x.Tll.Ringing&&void 0!==le.OriginatorType&&le.OriginatorType===x.Jhl.RingGroup){let $=le.OriginatorName;return void 0!==le.OriginatorDn&&($+=" "+le.OriginatorDn),$+": "}if(le.State===x.Tll.Dialing||le.State===x.Tll.WaitingForNewParty){const $=Me.Connections.find(Ee=>Ee.State===x.Tll.Ringing&&Ee.OriginatorType===x.Jhl.RingGroup);if(void 0!==$){let Ee=$.OriginatorName;return $.OriginatorDn&&(Ee+=" "+$.OriginatorDn),Ee+": "}}return""}}var xe=l(62647),Ce=l(25558),Te=l(31943),Fe=l(23294),Ke=l(97647),Qe=l(27199),kt=l(73042);class ct{contactDb={};contactDbById={};doNotMatch;matchExactly;matchAtLeast;digitCountMatch;setDefaultMatchOptions(){this.doNotMatch=!1,this.matchExactly=!1,this.matchAtLeast=!1,this.digitCountMatch=6}constructor(Me){this.setDefaultMatchOptions(),void 0!==Me&&Me.pipe((0,K.s)(1)).subscribe(le=>{this.setDefaultMatchOptions(),-1===le.PhonebookMinMatch?this.matchExactly=!0:0===le.PhonebookMinMatch?this.doNotMatch=!0:(this.matchAtLeast=!0,this.digitCountMatch=le.PhonebookMinMatch)})}prepareNumber(Me){let le=(0,Qe.b)(Me);const $=le.length;return(this.matchAtLeast||this.doNotMatch)&&$>this.digitCountMatch&&(le=le.substring($-this.digitCountMatch)),kt.Q.reverse(le)}addPhone(Me,le){this.contactDbById[le.id]=le,(Me=this.prepareNumber(Me))&&(this.contactDb[Me]=le)}findPhone(Me,le,$){if(Me=this.prepareNumber(Me)){const Ee=this.contactDb[Me];return!Ee||!$&&Ee.hideInPhonebook?void 0:Ee}}findById(Me){return this.contactDbById[Me]}removeIfSelf(Me,le){return!(!(Me=this.prepareNumber(Me))||this.contactDb[Me]!==le||(delete this.contactDb[Me],0))}findByEmail(Me){return Me?Object.values(this.contactDb).find($=>$.emailAddress===Me):void 0}}class Pt{systemParameters$;_bridges={};constructor(Me){this.systemParameters$=Me}addPhone(Me,le,$,Ee){let Et=this._bridges[Me];Et||(Et={contacts:new ct(this.systemParameters$),prefix:le},this._bridges[Me]=Et),Et.contacts.addPhone($,Ee)}findByEmail(Me){for(const le of Object.values(this._bridges)){const $=le.contacts.findByEmail(Me);
1if($)return $}}findPhone(Me,le,$){if(le){const Ee=this._bridges[le];return Ee?Ee.contacts.findPhone(Me,void 0,$)||(Ee.prefix?Ee.contacts.findPhone(Ee.prefix+Me,void 0,$):void 0):void 0}for(const Ee of Object.values(this._bridges)){const Et=Ee.contacts.findPhone(Me,void 0,$);if(Et)return Et}}}class Ze{contactDb;constructor(Me){this.contactDb=Me}findPhone(Me,le,$){for(const Ee of this.contactDb){const Et=Ee.findPhone(Me,le,$);if(Et)return Et}}findByEmail(Me){for(const le of this.contactDb){const $=le.findByEmail(Me);if($)return $}}}var fe=l(68739);class ie{contactDb;localContactDb;bridgesContactDb;bridgesMobilesContactDb;queueContactDb;constructor(Me){this.bridgesContactDb=new Pt(Me),this.bridgesMobilesContactDb=new ct(Me),this.queueContactDb=new ct(Me),this.contactDb=new Ze([this.bridgesContactDb,this.bridgesMobilesContactDb]),this.localContactDb=new Ze([this.bridgesContactDb,this.queueContactDb])}findContactByDn(Me,le,$){return le===x.Jhl.ExternalLine?this.contactDb.findPhone(Me,$):this.localContactDb.findPhone(Me,A.Ij)}createMergedContact(Me){if(Me&&fe.KA.myPhoneTypeContactMapper(Me)===A.eE.Extension){const le=this.bridgesContactDb._bridges[(0,fe.Rj)(Me)];return(le?le.contacts.findById((0,fe.NF)(Me)):void 0)||fe.KA.create(Me)}return Me?fe.KA.create(Me):new fe.KA(fe.a3.id,fe.a3.type,fe.a3.bridgeId,{isDummy:!0})}}var Xe=l(77783),ve=l.n(Xe),he=l(44668);class Pe{cacheDb;defaultCacheRows=200;constructor(...Me){this.cacheDb=this.cacheDb?this.cacheDb:new Map,Me.forEach(le=>this.createBrunch(le))}deleteBrunch(Me){return this.cacheDb.delete(Me)}cacheRequest(Me,le,$){const Ee=this.getOrCreate(Me),Et=ve().sha1(le);let dn=Ee.data.get(Et);if(Ee.data.delete(Et),!dn){if(Ee.data.size>=Ee.maxCountInBranch&&Ee.data.size>0){const an=Ee.data.keys().next();Ee.data.delete(an.value)}dn=$().pipe((0,he.t)(1),(0,te.T)(an=>Object.assign(Object.create(Object.getPrototypeOf(an)),an)))}return Ee.data.set(Et,dn),dn}getOrCreate(Me){let le;return this.cacheDb.has(Me)||this.createBrunch({name:Me}),le=this.cacheDb.get(Me),le}createBrunch(Me){this.cacheDb.set(Me.name,{maxCountInBranch:Me.maxCount?Me.maxCount:this.defaultCacheRows,data:new Map})}}var Ve=l(30871),dt=l(50644);const Dt=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,wt=Lt=>{if("string"!=typeof Lt)throw new TypeError("Invalid argument expected string");const Me=Lt.match(Dt);
1if(!Me)throw new Error(`Invalid argument not valid semver ('${Lt}' received)`);return Me.shift(),Me},Yt=Lt=>"*"===Lt||"x"===Lt||"X"===Lt,Tt=Lt=>{const Me=parseInt(Lt,10);return isNaN(Me)?Lt:Me},We=(Lt,Me)=>{if(Yt(Lt)||Yt(Me))return 0;const[le,$]=((Lt,Me)=>typeof Lt!=typeof Me?[String(Lt),String(Me)]:[Lt,Me])(Tt(Lt),Tt(Me));return le>$?1:le<$?-1:0},yt=(Lt,Me)=>{for(let le=0;le<Math.max(Lt.length,Me.length);le++){const $=We(Lt[le]||"0",Me[le]||"0");if(0!==$)return $}return 0},me={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},rt=Object.keys(me),bt=Lt=>{if("string"!=typeof Lt)throw new TypeError("Invalid operator type, expected string but got "+typeof Lt);if(-1===rt.indexOf(Lt))throw new Error(`Invalid operator, expected one of ${rt.join("|")}`)},we=(Lt,Me)=>{if((Me=Me.replace(/([><=]+)\s+/g,"$1")).includes("||"))return Me.split("||").some(xn=>we(Lt,xn));if(Me.includes(" - ")){const[xn,ei]=Me.split(" - ",2);return we(Lt,`>=${xn} <=${ei}`)}if(Me.includes(" "))return Me.trim().replace(/\s{2,}/g," ").split(" ").every(xn=>we(Lt,xn));const le=Me.match(/^([<>=~^]+)/),$=le?le[1]:"=";if("^"!==$&&"~"!==$)return((Lt,Me,le)=>{bt(le);const $=((Lt,Me)=>{const le=wt(Lt),$=wt(Me),Ee=le.pop(),Et=$.pop(),dn=yt(le,$);return 0!==dn?dn:Ee&&Et?yt(Ee.split("."),Et.split(".")):Ee||Et?Ee?-1:1:0})(Lt,Me);return me[le].includes($)})(Lt,Me,$);const[Ee,Et,dn,,an]=wt(Lt),[Nt,at,st,,zt]=wt(Me),Dn=[Ee,Et,dn],hn=[Nt,at??"x",st??"x"];if(zt&&(!an||0!==yt(Dn,hn)||-1===yt(an.split("."),zt.split("."))))return!1;const Vn=hn.findIndex(xn=>"0"!==xn)+1,Pn="~"===$?2:Vn>1?Vn:1;return!(0!==yt(Dn.slice(0,Pn),hn.slice(0,Pn))||-1===yt(Dn.slice(Pn),hn.slice(Pn)))};class p{myExtensionInfo;queues;parkings;ivrs;conferences}var Bt=l(39797);class it{sessionParam;logger;dataTransport;domainUrl;caps;fullUpdate=new p;isActive=!0;isActive$=new f.t(!0);isCachingActiveSubj=new f.t(!0);isCachingActive$;errorDetected$=new g.B;resetAbandonedQueueCallsUserSaw$=new f.t(!0);newAbandonedQueueCallsAmount$;timeSync=new F;myInfo=new N;myInfo$=new h.m(1);connectionsDeleted$=new h.m(1);systemParameters=new x.dtu;systemParameters$=new h.m(1);phonebook=new O;bridgesMap={};queues={};queues$=new h.m(1);queuesIdentity$=new h.m(1);bridgesMap$=new h.m(1);contactMatcher;chatIsAllowed$;allowBlockCalls$;myPrimaryDepartmentId$;get contactDb(){return this.contactMatcher.contactDb}unreadChatCount$;newChatMessages$;chatMessageState$;availableProviders$;anonymousSessionClosed;userTyping$;quickMeetingActive$=new f.t(!1);chatMonitoringEvent$;conversationRemoved$;conversationInfo$;chatTransferred$;messageDownloadProgress$;contactDeleted$;contactUpdated$;responseExtensionChanged$;cache;activeCalls;webRTCEndpoint=new x.H6C({isWebRTCEnpointRegistered:!1});webRTCEndpoint$=new h.m(1);parkings=new x.EPQ;parkings$=new h.m(1);conferences=new x.WiJ;conferences$=new h.m(1);conferenceGateway="";specialMenuNumber="";activeCallHandler;canEditCompanyPhonebook$;isCrmCreationAllowed$;isMcmMode$;isReceptionist$;headers;index=0;constructor(Me,le,$,Ee){this.sessionParam=Me,this.logger=le,this.dataTransport=$,this.domainUrl=Ee,this.caps=function Mt(Lt){return{pickupEnabled:we(Lt,">=18.0.3")}}(Me.version),this.cache=new Pe,this.contactMatcher=new ie(this.systemParameters$),this.headers=(0,Ve.P)(Me.sessionKey),this.onWebRTCChanged(),this.onBridgesChanged(),this.messageDownloadProgress$=new g.B,this.newChatMessages$=new g.B,this.chatMessageState$=new g.B,this.userTyping$=new g.B,this.chatMonitoringEvent$=new g.B,this.unreadChatCount$=new g.B,this.conversationInfo$=new g.B,this.conversationRemoved$=new g.B,this.anonymousSessionClosed=new g.B,this.chatTransferred$=new g.B,this.availableProviders$=new h.m(1),this.contactDeleted$=new g.B,this.contactUpdated$=new g.B,this.responseExtensionChanged$=new g.B,this.activeCallHandler=new Oe(this.timeSync,(an,Nt,at,
1st)=>this.contactSource(an,Nt,at,st)),this.activeCalls=new H(this.activeCallHandler),this.newAbandonedQueueCallsAmount$=this.resetAbandonedQueueCallsUserSaw$.pipe((0,Ce.n)(()=>this.queuesIdentity$.pipe((0,Te.S)((an,Nt)=>Object.values(Nt).map(an?st=>{const zt=an.find(hn=>hn.queueId===st.id),Dn=Number(st.stat?st.stat.TotalCallsAbandoned:0);return zt?{queueId:zt.queueId,abandonedCallsSeen:Math.min(zt.abandonedCallsSeen,Dn),abandonedCallsTotal:Dn}:{queueId:st.id,abandonedCallsSeen:0,abandonedCallsTotal:Dn}}:st=>{const zt=Number(st.stat?st.stat.TotalCallsAbandoned:0);return{queueId:st.id,abandonedCallsSeen:zt,abandonedCallsTotal:zt}}),void 0))),(0,te.T)(an=>{const Nt=an?.reduce((st,zt)=>st+zt.abandonedCallsSeen,0)??0,at=an?.reduce((st,zt)=>st+zt.abandonedCallsTotal,0)??0;return Math.max(at-Nt,0)}),(0,dt.H9)()),this.renewAmountOfAbandonedQueueCallsThatUserSaw(),this.canEditCompanyPhonebook$=this.myInfo.MyGroups$.pipe((0,te.T)(an=>an.Items.some(Nt=>Nt.AllowToManageCompanyBook))),this.isReceptionist$=this.myInfo.MyGroups$.pipe((0,te.T)(an=>an.Items.some(Nt=>"receptionists"===Nt.RoleName)));const Et=this.licenseHasHotelFeatures(),dn=this.bridgesMap$.pipe((0,Ce.n)(an=>(0,_.z)(Object.values(an).map(Nt=>Nt.groupsMap$))));(0,_.z)([this.myInfo.MyGroups$,dn]).subscribe(([an,Nt])=>{Nt.forEach(at=>{Object.values(at).forEach(st=>{if(st.bridge.id!==A.Ij)return;const zt=an.Items.find(Dn=>""+Dn.Id===st.id);st.groupId=new x.$vF({...zt,AssignClearOperations:Et&&zt?.AssignClearOperations})})})}),this.myPrimaryDepartmentId$=this.myInfo.MyGroups$.pipe((0,te.T)(an=>an.Items.find(Nt=>Nt.IsPrimaryGroup)),(0,Fe.F)(),(0,Ke.u)({connector:()=>new h.m(1)})),this.myPrimaryDepartmentId$.subscribe(()=>{this.cache.deleteBrunch("RequestLookupContact")}),this.chatIsAllowed$=this.systemParameters$.pipe((0,te.T)(an=>an.ChatIsEnabled),(0,Ke.u)({connector:()=>new h.m(1)})),this.allowBlockCalls$=this.systemParameters$.pipe((0,te.T)(an=>an.AllowBlockCalls),(0,Ke.u)({connector:()=>new h.m(1)})),this.isCrmCreationAllowed$=this.systemParameters$.pipe((0,te.T)(an=>an.CrmConfigured&&an.CrmAddContactAllowed),(0,Ke.u)({connector:()=>new h.m(1)})),this.isMcmMode$=this.systemParameters$.pipe((0,te.T)(an=>an.MultiCompanyMode),(0,Ke.u)({connector:()=>new h.m(1)})),this.isCachingActive$=this.isCachingActiveSubj.asObservable()}isPro(){return 4===this.sessionParam.licenseType}licenseExpirationDate(){return this.sessionParam?.licenseExpiredAt?new Date(this.sessionParam.licenseExpiredAt):null}licenseProduct(){return this.sessionParam.licenseProduct}licenseHasHotelFeatures(){const Me=this.sessionParam;return!!Me.licenseProduct&&"3CXPSPBX"!==Me.licenseProduct}renewAmountOfAbandonedQueueCallsThatUserSaw(){this.resetAbandonedQueueCallsUserSaw$.next(!0)}activateCaching(){this.isCachingActiveSubj.next(!0)}deactivateCaching(){this.isCachingActiveSubj.next(!1)}protobufToClientTime(Me){return this.timeSync.millisecondsToClientTime((0,ee.rc)(Me))}contactSource(Me,le,$,Ee){return $!==x.Jhl.ExternalLine&&$===x.Jhl.SpecialMenu?Ee!==Me?`[Voice Mail] - ${this.lookupContactName(Me,le,$,Ee)}`:"Special Menu":this.lookupContactName(Me,le,$,Ee)}lookupContactName(Me,le,$,Ee){const Et=this.contactMatcher.findContactByDn(Me,$,Ee);return le?(0,ut.bm)(le,Et,this.systemParameters.IsLastFirst):Et&&Et.firstNameLastName?this.systemParameters.IsLastFirst?Et.lastNameFirstName:Et.firstNameLastName:le}onWebRTCChanged(){this.webRTCEndpoint$.next(this.webRTCEndpoint)}onBridgesChanged(){this.bridgesMap$.next(this.bridgesMap)}onQueuesChanged(){this.queues$.next(this.queues)}onQueuesIdentityChanged(){this.queuesIdentity$.next(this.queues)}deactivate(){this.isActive=!1,this.isActive$.next(this.isActive)}get(Me){return(0,C.v)(()=>{if(!this.isActive)return(0,o.$)(()=>new Error("_i18n.SessionExpired"));Me instanceof x.EDG&&(this.timeSync.requestServerTimeSent=Date.now());const le=this.index++,$={loggingLevel:xe.$j,reqIndex:le,requestState:xe.jM};return this.logger.logEnabled&&this.logger.showRequest({...$,typeName:Me.typeName,optionalParams:[Me]}),this.joinCache(Me).pipe((0,Ce.n)(Ee=>(this.logger.logEnabled&&this.logger.showRequest({...$,requestState:xe.Ps,typeName:Me.typeName,optionalParams:[Ee]}),Ee instanceof x.skA&&!Ee.IsAuthenticated?(this.deactivate(),this.errorDetected$.error(new Bt.V),(0,o.$)(()=>new Error("_i18n.SessionExpired"))):(0,y.of)(Ee))))})}joinCache(Me){const le=()=>this.dataTransport.transport(Me,this.headers,this.domainUrl);return this.isCachingActiveSubj.value&&(Me instanceof x.CzA||Me instanceof x.U2C)?this.cache.cac
1heRequest("RequestLookupContact",Me,le):le()}fetchPost(Me,le){return this.dataTransport.fetchPost(Me,le,this.headers,this.domainUrl)}createMergedContact(Me){return this.contactMatcher.createMergedContact(Me)}}},16444(ot,V,l){"use strict";l.d(V,{gx:()=>dn,_g:()=>Et});var f=l(85802),g=l(91413),h=l(85212),_=l(94276),C=l(31251),o=l(59882),y=l(75930),d=l(15532),M=l(68739),A=l(46062),D=l(49629),w=l(98810);class O extends w.q{contactsByExtensionMap={}}var x=l(27199),N=l(1211),q=l(52439),K=l(33971),te=l(9623),H=l(13652);class ee{myPhoneSession;constructor(Nt){this.myPhoneSession=Nt}Merge(Nt){const at=Nt.FromLocalPbx?A.Ij:Nt.BridgeNumber;if(void 0!==at)switch(Nt.Action){case N.X2v.Deleted:this.deleteBridge(at),this.myPhoneSession.onBridgesChanged();break;case N.X2v.FullUpdate:{this.deleteBridge(at);const st=new O(at);this.myPhoneSession.bridgesMap[at]=this.updateBridge(st,Nt),this.myPhoneSession.onBridgesChanged()}break;case N.X2v.Updated:{const st=this.myPhoneSession.bridgesMap[at];if(void 0===st)return;this.updateBridge(st,Nt)}}else console.log("Update skipped because bridgeNumber undefined")}deleteBridge(Nt){const at=this.myPhoneSession.bridgesMap[Nt];
1void 0!==at&&(at.contactsMap.getContacts().forEach(ee.contactDeleted),delete this.myPhoneSession.bridgesMap[Nt])}static contactDeleted(Nt){Nt.isRegistered=!1}static contactAdded(Nt){}static contactUpdated(Nt){}updateBridge(Nt,at){void 0!==at.RemotePbx&&(Nt.name=at.RemotePbx),void 0!==at.Prefix&&Nt.prefix!==at.Prefix&&(Nt.prefix=at.Prefix,Nt.contactsMap.getContacts().forEach(zt=>{zt.phones.extension=Nt.prefix+zt.nativeExtensionNumber,zt.nativeMobileNumber&&(zt.phones.mobile=Nt.prefix+zt.nativeMobileNumber),zt.onIdentityChanged()})),void 0!==at.IsConnected&&(Nt.isConnected=at.IsConnected),void 0!==at.IsAllowed&&(Nt.isAllowed=at.IsAllowed);let st=!1;return at.Action===N.X2v.FullUpdate&&(Object.keys(Nt.groupsMap).forEach(zt=>ee.deleteGroup(Nt,zt)),st=!0),void 0!==at.Items&&at.Items.forEach(zt=>{switch(zt.Action){case N.X2v.Deleted:ee.deleteGroup(Nt,zt.Id.toString()),st=!0;break;case N.X2v.FullUpdate:ee.deleteGroup(Nt,zt.Id.toString()),this.addGroup(Nt,zt),st=!0;break;case N.X2v.Updated:this.updateGroup(Nt,Nt.groupsMap[zt.Id],zt);break;case N.X2v.Inserted:this.addGroup(Nt,zt),st=!0}}),st&&Nt.onGroupChanged(),Nt}static deleteGroup(Nt,at){const st=Nt.groupsMap[at];void 0!==st&&(ee.deleteMembersFromGroup(Nt,st,st.contactsMap.getIds()),delete Nt.groupsMap[at])}addGroup(Nt,at){const st=new d.Y(""+at.Id,Nt);st.language$.next(at.Language),Nt.groupsMap[st.id]=this.updateGroup(Nt,st,at)}updateGroup(Nt,at,st){return void 0!==st.Name&&(at.name=st.Name),void 0!==st.CurrentGroupHours&&(at.currentGroupHours=st.CurrentGroupHours),void 0!==st.OverrideExpiresAt&&(at.overrideExpiresAt=st.OverrideExpiresAt),void 0!==st.DisableCustomPrompt&&(at.disableCustomPrompt=st.DisableCustomPrompt),void 0!==st.AllowCallService&&(at.allowCallService=st.AllowCallService,at.onAllowCallServiceChanged()),void 0!==st.Language&&at.language$.next(st.Language),void 0!==st.Members&&(this.updateGroupMembers(Nt,at,st.Members),at.onContactsChanged(),Nt.onContactsChanged()),at}updateGroupMembers(Nt,at,st){if(st)switch(st.Action){case N.X2v.Deleted:ee.deleteMembersFromGroup(Nt,at,st.Items.map(zt=>`${zt.Id}@${Nt.id}`));break;case N.X2v.FullUpdate:ee.deleteMembersFromGroup(Nt,at,at.contactsMap.getIds()),this.addMembers(Nt,at,st.Items);break;case N.X2v.Updated:this.updateMembers(Nt,at,st);break;case N.X2v.Inserted:this.addMembers(Nt,at,st.Items)}}static deleteMembersFromGroup(Nt,at,st){let zt=!1;at.contactsMap.getIds().filter(Dn=>st.includes(Dn)).forEach(Dn=>{const hn=at.contactsMap.getContactById(Dn),Vn=hn.groups.indexOf(at);-1!==Vn&&(hn.groups.splice(Vn,1),hn.isFavorite&&at.isFavorite()&&(hn.isFavorite=!1)),at.contactsMap.removeContact(Dn),0===hn.groups.length?(zt=!0,ee.contactDeleted(hn),delete Nt.contactsByExtensionMap[hn.nativeExtensionNumber],Nt.contactsMap.removeContact(Dn)):hn.onIdentityChanged()}),zt&&Nt.onContactsChanged()}updateMembers(Nt,at,st){!st||!st.Items||st.Items.forEach(zt=>{const Dn=`${zt.Id}@${Nt.id}`;switch(zt.Action){case N.X2v.Deleted:ee.deleteMembersFromGroup(Nt,at,[Dn]);break;case N.X2v.FullUpdate:ee.deleteMembersFromGroup(Nt,at,[Dn]),this.addMembers(Nt,at,[zt]);break;case N.X2v.Updated:{const hn=at.contactsMap.getContactById(Dn);this.updateMember(Nt,hn,zt),ee.contactUpdated(hn),at.contactsMap.setContact(hn)}break;case N.X2v.Inserted:this.addMembers(Nt,at,[zt])}})}addMembers(Nt,at,st){if(!st)return;let zt=!1;st.forEach(Dn=>{const hn=`${Dn.Id}@${Nt.id}`;let Vn=!1,Pn=Nt.contactsMap.getContactById(hn);void 0===Pn&&(Pn=new M.KA(hn,A.eE.Extension,Nt.id),Pn.tags=Dn.IsAIAgent?[H.I.Ai]:[],Pn.myContact=Dn.ExtensionNumber===this.myPhoneSession.myInfo.Number&&Pn.bridgeId===A.Ij,Pn.chatEnabled=!Pn.myContact,Vn=!0),this.updateMember(Nt,Pn,Dn),Vn&&(Nt.contactsMap.setContact(Pn),Nt.contactsByExtensionMap[Pn.nativeExtensionNumber]=Pn,zt=!0),at.contactsMap.setContact(Pn),Pn.groups.push(at),!Pn.isFavorite&&at.isFavorite()&&(Pn.isFavorite=!0),Vn&&ee.contactAdded(Pn)}),Nt.onContactsChanged()}updateMember(Nt,at,st){const zt=this.myPhoneSession.contactMatcher;if(void 0!==st.ExtensionNumber&&(at.nativeExtensionNumber=st.ExtensionNumber,at.phones.extension=Nt.prefix+st.ExtensionNumber,at.sanitizedPhones.extension=(0,x.b)(Nt.prefix+st.ExtensionNumber),zt.bridgesContactDb.addPhone(Nt.id,Nt.prefix,at.phones.extension,at)),void 0!==st.MobileNumber){at.nativeMobileNumber=st.MobileNumber;const Pn=at.phones.mobile;if(Pn&&zt.bridgesMobilesContactDb.removeIfSelf(Pn,at),st.MobileNumber){const xn=Nt.prefix+st.MobileNumber;at.phones.mobile=xn,at.sanitizedPhones.mobile=(0,x.b)(xn),zt.bridgesMobilesContactDb.addPhone(xn,at)}else at.phones.mobile="",at.sanitizedPhones.mobile=""}if(void 0!==st.ContactImage){const Pn=st.ContactImage;at.profilePicture=Pn.startsWith("http://")||Pn.startsWith("https://")?st.ContactImage+"?ngsw-bypass":st.ContactImage}let Dn=!1;if(void 0!==st.FirstName&&(Dn=!0,at.firstName=st.FirstName),void 0!==st.LastName&&(Dn=!0,at.lastName=st.LastName),Dn&&D.A.onContactNameChanged(at),void 0!==st.IsReg
1istered&&(at.isRegistered=st.IsRegistered),void 0!==st.IsDnd&&(at.isDnd=st.IsDnd),void 0!==st.QueueStatus&&(at.queueStatus=st.QueueStatus),void 0!==st.IsQueueAgent&&(at.isQueueAgent=st.IsQueueAgent),void 0!==st.IsBusy&&(at.isBusy=st.IsBusy),void 0!==st.VmailEnabled&&(at.isVoicemailEnabled=st.VmailEnabled),void 0!==st.MonitorExpiration&&(at.monitorExpiration=(0,te.jD)(st.MonitorExpiration)),void 0!==st.Connections){y.X.Merge(at.connections,st.Connections);const Pn=at.connections.Items.find(xn=>xn.OwnerType===N.Jhl.Extension&&xn.OwnerDn===at.extensionNumber&&!(xn.OtherPartyDisplayName??"").startsWith("Barge In"));Pn?(at.displayedConnection=new q.t(Pn),(0,K.oX)((xn,ei,ci,ri)=>this.myPhoneSession.contactSource(xn,ei,ci,ri),at.displayedConnection)):at.displayedConnection=void 0}void 0!==st.EmailAddress&&(at.emailAddress=st.EmailAddress),void 0!==st.StatusTemporarilyChanged&&(at.statusTemporarilyChanged=st.StatusTemporarilyChanged),void 0!==st.OverrideExpiresAtUTCTime&&(at.overrideExpiresUTCTime=(0,te.jD)(st.OverrideExpiresAtUTCTime)),void 0!==st.OverrideAttachedData&&(at.overrideAttachedData=st.OverrideAttachedData),void 0!==st.IsRinging&&(at.isRinging=st.IsRinging);const hn=at.currentProfile.toJSON();void 0!==st.CurrentProfile&&(hn.name=st.CurrentProfile),void 0!==st.CurrentProfileInternalName&&(hn.internalName=st.CurrentProfileInternalName),void 0!==st.AwayFwdType&&(hn.fwdType=st.AwayFwdType),void 0!==st.CurrentStatus&&(hn.status=st.CurrentStatus),void 0!==st.AwayNumber&&(hn.awayNumber=st.AwayNumber),at.currentProfile=at.currentProfile.merge(hn);const Vn=at.overrideCurrentProfile.toJSON();void 0!==st.OverrideCurrentProfile&&(Vn.name=st.OverrideCurrentProfile),void 0!==st.OverrideCurrentProfileInternalName&&(Vn.internalName=st.OverrideCurrentProfileInternalName),void 0!==st.OverrideFwdType&&(Vn.fwdType=st.OverrideFwdType),void 0!==st.OverrideCurrentStatus&&(Vn.status=st.OverrideCurrentStatus),void 0!==st.OverrideNumber&&(Vn.awayNumber=st.OverrideNumber),at.overrideCurrentProfile=at.overrideCurrentProfile.merge(Vn),at.onIdentityChanged()}}var F=l(48039);class J{id;queueNumber;name;callDb=new F.D;agents=[];stat;get displayName(){return`${this.queueNumber} ${this.name}`}constructor(Nt,at,st){this.id=Nt,this.queueNumber=at,this.name=st}}class ne{id;queueStatus=!1;stat;firstName="";lastName="";firstNameLastName="";lastNameFirstName="";agentNumber="";activeCalls=new N.Baj;constructor(Nt){this.id=Nt}}class de{session;constructor(Nt){this.session=Nt}Merge(Nt){let at=!1;switch(Nt.Action){case N.X2v.Deleted:at=!0,this.deleteQueues();break;case N.X2v.FullUpdate:at=!0,this.deleteQueues(),Nt.Items&&Nt.Items.forEach(st=>this.addQueue(st));break;case N.X2v.Inserted:at=!0,Nt.Items&&Nt.Items.forEach(st=>this.addQueue(st));break;case N.X2v.Updated:Nt.Items&&Nt.Items.forEach(st=>{this.updateQueue(st)&&(at=!0)})}at&&this.session.onQueuesChanged()}deleteQueues(){Object.values(this.session.queues).forEach(Nt=>this.deleteQueue(Nt))}deleteQueue(Nt){Nt&&(this.deleteAgents(Nt),delete this.session.queues[Nt.id])}addQueue(Nt){const at=this.session.contactMatcher,st=new J(Nt.Id,Nt.Number,Nt.Name),zt=this.createQueueContact(Nt);this.session.queues[Nt.Id]=st,at.queueContactDb.addPhone(st.queueNumber,zt),this.updateQueueData(st,Nt)}createQueueContact(Nt){return new M.KA(Nt.Id.toString(),A.eE.Extension,"local",{firstNameLastName:Nt.Name,lastNameFirstName:Nt.Name})}updateQueue(Nt){let at=!1;const st=this.session.contactMatcher,zt=this.session.queues[Nt.Id],Dn=st.queueContactDb.findById(zt?.queueNumber);switch(Nt.Action){case N.X2v.Deleted:this.deleteQueue(zt),st.queueContactDb.removeIfSelf(zt?.queueNumber,Dn),at=!0;break;case N.X2v.FullUpdate:this.deleteQueue(zt),st.queueContactDb.removeIfSelf(zt?.queueNumber,Dn),this.addQueue(Nt),st.queueContactDb.addPhone(Nt.Number,this.createQueueContact(Nt)),at=!0;break;case N.X2v.Inserted:this.addQueue(Nt),st.queueContactDb.addPhone(Nt.Number,this.createQueueContact(Nt)),at=!0;break;case N.X2v.Updated:zt&&(this.updateQueueData(zt,Nt),st.queueContactDb.removeIfSelf(zt?.queueNumber,Dn),st.queueContactDb.addPhone(Nt.Number,this.createQueueContact(Nt)))}return at}updateQueueData(Nt,at){at.Agents&&this.joinAgents(Nt,at.Agents),at.Stat&&(at.Stat.Action===N.X2v.Deleted||(Nt.stat=Nt.stat?y.X.Merge(Nt.stat,at.Stat):at.Stat)),void 0!==at.Name&&(Nt.name=at.Name),Nt.callDb.updateConnections(at.WaitingCalls,[])}joinAgents(Nt,at){if(void 0!==at)switch(at.Action){case N.X2v.Deleted:this.deleteAgents(Nt);break;case N.X2v.FullUpdate:this.deleteAgents(Nt),this.updateAgents(Nt,at);break;case N.X2v.Inserted:case N.X2v.Updated:this.updateAgents(Nt,at)}}updateAgents(Nt,at){if(at.Items)switch(at.Action){case N.X2v.Deleted:this.deleteAgents(Nt);break;case N.X2v.FullUpdate:this.deleteAgents(Nt),this.updateAllAgents(Nt,at.Items);break;case N.X2v.Inserted:case N.X2v.Updated:this.updateAllAgents(Nt,at.Items)}}updateAllAgents(Nt,at){at&&at.forEach(st=>
1{const zt=Nt.agents.find(Dn=>Dn.id===st.Id);switch(st.Action){case N.X2v.Deleted:this.deleteAgent(Nt,zt);break;case N.X2v.FullUpdate:this.deleteAgent(Nt,zt),this.updateAgent(Nt,st);break;case N.X2v.Inserted:case N.X2v.Updated:this.updateAgent(Nt,st)}})}deleteAgents(Nt){Nt.agents.forEach(at=>this.deleteAgent(Nt,at)),Nt.agents=[]}deleteAgent(Nt,at){if(at){Nt.callDb.processDeletedItems(at.activeCalls.Items.map(zt=>zt.Id));const st=Nt.agents.findIndex(zt=>zt.id===at.id);st>=0&&Nt.agents.splice(st,1)}}updateAgent(Nt,at){if(Nt&&at){Nt.callDb.updateConnections(at.ActiveCalls,[]);let st=Nt.agents.find(Dn=>Dn.id===at.Id);st||(st=new ne(at.Id),Nt.agents.push(st));let zt=!1;void 0!==at.FirstName&&(st.firstName=at.FirstName,zt=!0),void 0!==at.LastName&&(st.lastName=at.LastName,zt=!0),zt&&(st.firstNameLastName=`${st.firstName} ${st.lastName}`.trim(),st.lastNameFirstName=`${st.lastName} ${st.firstName}`.trim()),void 0!==at.Number&&(st.agentNumber=at.Number),void 0!==at.QueueStatus&&(st.queueStatus=at.QueueStatus),at.Stat&&(st.stat=at.Stat.Action===N.X2v.Deleted?void 0:st.stat?y.X.Merge(st.stat,at.Stat):at.Stat),at.ActiveCalls&&y.X.Merge(st.activeCalls,at.ActiveCalls)}}}var Le=l(43236),ut=l(40941),Oe=l(56745),xe=l(78074),Ce=l(30203),Fe=l(23055),Ke=l(62647),Qe=l(18530),kt=l(35060),ct=l(43984),Pt=l(12498),Ze=l(7673),fe=l(57786),ie=l(88141),Xe=l(92771),ve=l(1033),he=l(1807),Pe=l(28793),Ve=l(71985),dt=l(25558),Dt=l(77048),wt=l(70980),Yt=l(96354),Tt=l(96697),qt=l(3710),We=l(12449),yt=l(20681);let je=(()=>{class an extends We.d{httpClient;constructor(at,st,zt){super(st,zt),this.httpClient=at}myPhoneLog(at,st="body",zt=!1,Dn){if(null==at)throw new Error("Required parameter logMessageVM was null or undefined when calling myPhoneLog.");let hn=this.defaultHeaders;hn=this.configuration.addCredentialToHeaders("Application","Authorization",hn,"Bearer ");const Vn=Dn?.httpHeaderAccept??this.configuration.selectHeaderAccept([]);void 0!==Vn&&(hn=hn.set("Accept",Vn));const Pn=Dn?.context??new g._y,xn=Dn?.transferCache??!0,ci=this.configuration.selectHeaderContentType(["application/json","application/json;IEEE754Compatible=false","application/json;IEEE754Compatible=true","application/xml","text/plain"]);void 0!==ci&&(hn=hn.set("Content-Type",ci));let ri="json";Vn&&(ri=Vn.startsWith("text")?"text":this.configuration.isJsonMime(Vn)?"json":"blob");const{basePath:so,withCredentials:Li}=this.configuration;return this.httpClient.request("post",`${so}/webclient/api/MyPhone/log`,{context:Pn,body:at,responseType:ri,...Li?{withCredentials:Li}:{},headers:hn,observe:st,...void 0!==xn?{transferCache:xn}:{},reportProgress:zt})}myPhonePost(at="body",st=!1,zt){let Dn=this.defaultHeaders;Dn=this.configuration.addCredentialToHeaders("Application","Authorization",Dn,"Bearer ");const hn=zt?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json"]);void 0!==hn&&(Dn=Dn.set("Accept",hn));const Vn=zt?.context??new g._y,Pn=zt?.transferCache??!0;let xn="json";hn&&(xn=hn.startsWith("text")?"text":this.configuration.isJsonMime(hn)?"json":"blob");const{basePath:ci,withCredentials:ri}=this.configuration;return this.httpClient.request("post",`${ci}/webclient/api/MyPhone`,{context:Vn,responseType:xn,...ri?{withCredentials:ri}:{},headers:Dn,observe:at,...void 0!==Pn?{transferCache:Pn}:{},reportProgress:st})}myPhoneSession(at,st="body",zt=!1,Dn){if(null==at)throw new Error("Required parameter loginFingerprintVM was null or undefined when calling myPhoneSession.");let hn=this.defaultHeaders;hn=this.configuration.addCredentialToHeaders("Application","Authorization",hn,"Bearer ");const Vn=Dn?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json"]);void 0!==Vn&&(hn=hn.set("Accept",Vn));const Pn=Dn?.context??new g._y,xn=Dn?.transferCache??!0,ci=this.configuration.selectHeaderContentType(["application/json","application/json;IEEE754Compatible=false","application/json;IEEE754Compatible=true","application/xml","text/plain"]);void 0!==ci&&(hn=hn.set("Content-Type",ci));let ri="json";Vn&&(ri=Vn.startsWith("text")?"text":this.configuration.isJsonMime(Vn)?"json":"blob");const{basePath:so,withCredentials:Li}=this.configuration;return this.httpClient.request("post",`${so}/webclient/api/MyPhone/session`,{context:Pn,body:at,responseType:ri,...Li?{withCredentials:Li}:{},headers:hn,observe:st,...void 0!==xn?{transferCache:xn}:{},reportProgress:zt})}static \u0275fac=function(st){return new(st||an)(f.KVO(g.Qq),f.KVO(qt.o,8),f.KVO(yt.V,8))};
1static \u0275prov=f.jDH({token:an,factory:an.\u0275fac,providedIn:"root"})}return an})(),St=(()=>{class an extends We.d{httpClient;constructor(at,st,zt){super(st,zt),this.httpClient=at}logoutGet(at="body",st=!1,zt){let Dn=this.defaultHeaders;Dn=this.configuration.addCredentialToHeaders("Application","Authorization",Dn,"Bearer ");const hn=zt?.httpHeaderAccept??this.configuration.selectHeaderAccept([]);void 0!==hn&&(Dn=Dn.set("Accept",hn));const Vn=zt?.context??new g._y,Pn=zt?.transferCache??!0;let xn="json";hn&&(xn=hn.startsWith("text")?"text":this.configuration.isJsonMime(hn)?"json":"blob");const{basePath:ci,withCredentials:ri}=this.configuration;return this.httpClient.request("post",`${ci}/webclient/api/Logout`,{context:Vn,responseType:xn,...ri?{withCredentials:ri}:{},headers:Dn,observe:at,...void 0!==Pn?{transferCache:Pn}:{},reportProgress:st})}static \u0275fac=function(st){return new(st||an)(f.KVO(g.Qq),f.KVO(qt.o,8),f.KVO(yt.V,8))};static \u0275prov=f.jDH({token:an,factory:an.\u0275fac,providedIn:"root"})}return an})();var me=l(5836),rt=l(22037),bt=l(25013),we=l(96106),Mt=l(42610),p=l(12426),Bt=l(84362),it=l(39797),Lt=l(56344),Me=l(23773);function Et(){return 5e3+Math.floor(55e3*Math.random())}let dn=(()=>{class an{router=(0,f.WQX)(o.Ix);zone=(0,f.WQX)(f.SKi);_encoder=(0,f.WQX)(h.o);myPhoneApiService=(0,f.WQX)(je);logoutApiService=(0,f.WQX)(St);dataTransport=(0,f.WQX)(me.p);swPush=(0,f.WQX)(bt.Xd);localStorageService=(0,f.WQX)(p.sj);tokenService=(0,f.WQX)(Bt.B);logger=(0,f.WQX)(Ke.Vy);retryNow$=new Qe.B;reconnectTime=0;reconnectAttempt=0;isReconnecting=!1;myPhoneSession;_myPhoneSession;_logout=!1;isPro$;licenseHasHotelFeatures$;licenseHasWebinarFeatures$;hasQueues$;vmailEnabled$;connectStartTime;myPhoneSessionInit$=new Qe.B;wrtcReg=(0,Me.I)(Mt.Hh.WebRTCRegistration,!1);constructor(){const at=this.zone,st=(0,f.WQX)(Fe.w),zt=this.logger,Dn=()=>(this.gotoLogin(),kt.t);this._myPhoneSession=(0,ct.x)(this.myPhoneApiService.myPhoneSession(rt.g).pipe((0,Pt.L)({delay:hn=>this.isReconnecting&&1===this.reconnectAttempt?(this.reconnectAttempt+=1,(0,Ze.of)(!0)):(this.reconnectAttempt+=1,this.isReconnecting=!0,console.log(hn),hn instanceof g.yz&&(401===hn.status||403===hn.status)?Dn():hn instanceof g.yz&&0===hn.status?(this.isReconnecting=!0,this.retryWithFixedDelay()):this.retryWithRandomDelay())}),(0,dt.n)(hn=>{this.connectStartTime=Date.now();const Vn=new _.r(hn,zt,this.dataTransport,(0,Lt.T)());return(0,fe.h)(Vn.errorDetected$,this.processMyPhoneMessages(Vn,function Te(an,Nt,at,st,zt=!1){return(0,Ce.$M)(Nt,at.sessionParam,at,st,at.domainUrl,zt).pipe((0,ut.Q)((0,xe.v)(an,Le.E)),(0,Oe._)((0,xe.w)(an,Le.E)))}(at,this._encoder,Vn,st,this.wrtcReg())))}),(0,Pt.L)({delay:hn=>(this.reconnectAttempt+=1,this.isReconnecting=!0,console.log(hn),(hn instanceof it.V||1===this.reconnectAttempt?(0,Ze.of)(0):this.retryWithRandomDelay()).pipe((0,Dt.v)(()=>!this._logout)))}),(0,ie.M)(()=>{this.isReconnecting=!1,this.reconnectAttempt=0}),(0,wt.j)(()=>{this.isReconnecting=!1,this.reconnectAttempt=0})),{connector:()=>new Xe.m(1)}),this.myPhoneSession=this._myPhoneSession,this.isPro$=this.myPhoneSession.pipe((0,Yt.T)(hn=>hn.isPro())),this.vmailEnabled$=this.myPhoneSession.pipe((0,dt.n)(hn=>hn.myInfo$),(0,Yt.T)(hn=>hn.VmailEnabled)),this.licenseHasHotelFeatures$=this.myPhoneSession.pipe((0,Yt.T)(hn=>hn.licenseHasHotelFeatures())),this.licenseHasWebinarFeatures$=this.licenseHasHotelFeatures$,this.hasQueues$=this.myPhoneSession.pipe((0,dt.n)(hn=>hn.queues$),(0,Yt.T)(hn=>Object.keys(hn).length>0))}sessionSubscription;retryWithRandomDelay(){const at=Et();return this.reconnectTime=Date.now()+at,(0,ve.O)([(0,he.O)(at),this.retryNow$]).pipe((0,ie.M)(()=>{this.reconnectTime=0}))}retryWithFixedDelay(){return this.reconnectTime=Date.now()+1e4,(0,he.O)(1e4).pipe((0,ie.M)(()=>{this.reconnectTime=0}))}connect(){this.sessionSubscription||(this._logout=!1,this.sessionSubscription=this._myPhoneSession.connect(),this.myPhoneSessionInit$.next(!0))}disconnect(){this.sessionSubscription?.unsubscribe(),this.sessionSubscription=void 0}gotoLogin(){this.tokenService.invalidate(),this._logout=!0;const at=window.location.hash?.startsWith("#/office")?{queryParams:{next:window.location.hash.replace("#/office","/office")}}:{};this.router.navigate(["/login"],at)}logout(){this._logout=!0,this.myPhoneSession.pipe((0,Tt.s)(1),(0,dt.n)(at=>(0,Pe.x)(this.swPush.pushUnsubscribe(at),at.get(new N.fQS).pipe((0,we.ee)("Logout")),this.logoutApiService.logoutGet().pipe((0,we.ee)("Webclient logout"))))).subscribe({complete:()=>{this.localStorageService.store(Mt.Hh.LogoutTimestamp,(new Date).getTime()),this.gotoLogin()}})}get(at){return this.myPhoneSession.pipe((0,Tt.s)(1),(0,dt.n)(st=>st.get(at)))}httpPost(at,st){return this.myPhoneSession.pipe((0,Tt.s)(1),(0,dt.n)(zt=>zt.fetchPost(at,st)))}processMyPhoneMessages(at,st){let zt=!1,Dn=!1,hn=!1,Vn=!1;return new Ve.c(Pn=>st.subscribe({next:xn=>{try{xn.forEach(ei=>{if(this.logger.logEnabled){const ci=Object.getPrototypeOf(ei);ci.typeName&&this.logger.showInfo({loggingLevel:Ke.$j,typeName:ci.typeName,optionalParams:[(0,Ke.A4)(ei)]})}an.join(at,ei),Vn||(ei instanceof N.__H?zt=!0:ei instanceof N.ZEm&&ei.FromLocalPbx?hn=!0:ei instanceof N.qyi&&(Dn=!0),zt&&hn&&Dn&&(this.logger.logEnabled&&this.logger.showInfo({loggingLevel:Ke.$j,message:"Session initiated in "+(Date.now()-(this.connectStartTime??0))/1e3}),this.isReconnecting=!1,Vn=!0,Pn.next(at)))})}catch(ei){void 0!==at&&at.deactivate(),Pn.error(ei)}},error:xn=>{void 0!==at&&at.deactivate(),Pn.error(xn)},complete:()=>
1Pn.complete()}))}static join(at,st){if(st instanceof N.__H){if(st.Action===N.X2v.FullUpdate&&(at.fullUpdate.myExtensionInfo=!0),!at.fullUpdate.myExtensionInfo)return;const zt=st.Connections?.Items?.filter(Dn=>Dn.Action===N.X2v.Deleted)??[];zt.length>0&&at.connectionsDeleted$.next(zt),y.X.Merge(at.myInfo,st),at.myInfo$.next(at.myInfo),at.activeCalls.ACUpdateMyExtensionInfo(st)}else if(st instanceof N.dtu)void 0!==st.PhonebookMinMatch&&at.cache.deleteBrunch("RequestLookupContact"),y.X.MergePlainObject(at.systemParameters,st),at.systemParameters$.next(at.systemParameters);else if(st instanceof N.ZEm)new ee(at).Merge(st),at.activeCalls.ACUpdateGroups(st);else if(st instanceof N.jF9){if(st.Action===N.X2v.FullUpdate&&(at.fullUpdate.queues=!0),!at.fullUpdate.queues)return;new de(at).Merge(st),at.onQueuesIdentityChanged()}else if(st instanceof N.EPQ){if(st.Action===N.X2v.FullUpdate&&(at.fullUpdate.parkings=!0,at.parkings.Items=[]),!at.fullUpdate.parkings)return;y.X.Merge(at.parkings,st),at.parkings$.next(at.parkings),at.activeCalls.ACUpdateParkings(st)}else if(st instanceof N.$RB){if(st.Action===N.X2v.FullUpdate&&(at.fullUpdate.ivrs=!0),!at.fullUpdate.ivrs)return;at.activeCalls.ACUpdateIVRs(st)}else if(st instanceof N._pt)at.cache.deleteBrunch("RequestLookupContact"),st.Update.Action===N.X2v.Deleted?at.contactDeleted$.next(st.Update):at.contactUpdated$.next(st.Update);else if(st instanceof N.GeC)at.cache.deleteBrunch("RequestLookupContact");else if(st instanceof N.mKs)at.newChatMessages$.next(st.Messages.map(zt=>new C.cM(zt)));else if(st instanceof N.h2E)at.chatMessageState$.next(st);else if(st instanceof N.BIg)at.availableProviders$.next(st);else if(st instanceof N._jD)at.anonymousSessionClosed.next(st);else if(st instanceof N._Gs)at.unreadChatCount$.next(st.Items);else if(st instanceof N.rRr)at.messageDownloadProgress$.next(st);else if(st instanceof N.C4f)at.userTyping$.next(st);else if(st instanceof N.eAH)st.IsQuickMeeting&&at.quickMeetingActive$.next(1===st.State);else if(st instanceof N.x9d)at.chatMonitoringEvent$.next(st);else if(st instanceof N.jOx)at.conversationRemoved$.next(st);else if(st instanceof N.oO$)at.chatTransferred$.next(st);else if(st instanceof N.loJ)at.conversationInfo$.next(st);else if(st instanceof N.WiJ){if(st.Action===N.X2v.FullUpdate&&(at.fullUpdate.conferences=!0),!at.fullUpdate.conferences)return;y.X.MergePlainObject(at.conferences,st),at.conferences$.next(at.conferences)}else if(st instanceof N.qyi)at.timeSync.refresh(st);else if(st instanceof N.H6C)y.X.Merge(at.webRTCEndpoint,st),at.onWebRTCChanged();else if(st instanceof N.OeX){const zt=st.Entries.find(hn=>hn.DnType===N.Jhl.Conference),Dn=st.Entries.find(hn=>hn.DnType===N.Jhl.SpecialMenu);zt&&(at.conferenceGateway=zt.ExtensionNumber),Dn&&(at.specialMenuNumber=Dn.ExtensionNumber)}}static \u0275fac=function(st){return new(st||an)};
1static \u0275prov=f.jDH({token:an,factory:an.\u0275fac})}return an})()},43462(ot,V,l){"use strict";l.d(V,{SB:()=>h,WV:()=>g,_n:()=>_,md:()=>C});var f=l(20039);class g extends((0,f.mS)({name:"",internalName:"",status:"",fwdType:void 0,awayNumber:""})){}const h={Available:"Available",Away:"Away",OutOfOffice:"Out of office",Custom1:"Custom 1",Custom2:"Custom 2",Unregistered:"off",Exceptions:"Exceptions"};function _(o){return o.internalName!==h.Unregistered}function C(o,y,d){return y||(o===h.Custom1&&d.Custom1Name?d.Custom1Name:o===h.Custom2&&d.Custom2Name?d.Custom2Name:o)}},47625(ot,V,l){"use strict";l.d(V,{f:()=>g});var f=l(42610);function g(h){return!!window.SharedWorker&&h.retrieve(f.Hh.SharedWorker)}},11045(ot,V,l){"use strict";l.d(V,{P:()=>f});class f{contactsMap={};sortedContacts=[];sortIsNeeded=!1;setContact(h){const _=this.contactsMap[h.id];this.contactsMap[h.id]=h,this.sortIsNeeded||(this.sortIsNeeded=void 0===_||_.firstNameLastName!==h.firstNameLastName)}removeContact(h){const _=this.contactsMap[h];if(delete this.contactsMap[h],!this.sortIsNeeded){const C=this.sortedContacts.indexOf(_);this.sortedContacts.splice(C,1)}}getSortedContacts(){if(this.sortIsNeeded){const h=Object.values(this.contactsMap);this.sortedContacts=h.sort((_,C)=>_.firstNameLastName>C.firstNameLastName?1:_.firstNameLastName<C.firstNameLastName?-1:_.id>C.id?1:_.id<C.id?-1:0),this.sortIsNeeded=!1}return this.sortedContacts}getContacts(){return this.sortIsNeeded?Object.values(this.contactsMap):this.sortedContacts}getContactById(h){return this.contactsMap[h]}internal(){return this.contactsMap}getIds(){return Object.keys(this.contactsMap)}}},9623(ot,V,l){"use strict";l.d(V,{B9:()=>_,Om:()=>d,Up:()=>o,jD:()=>y,rc:()=>C});var f=l(1211);const g=new Date(0);function _(M){return new f.c9I({Year:M.getUTCFullYear(),Day:M.getUTCDate(),Month:M.getUTCMonth()+1,Hour:M.getUTCHours(),Minute:M.getUTCMinutes(),Second:M.getUTCSeconds()})}function C(M){return M?Date.UTC(M.Year,M.Month-1,M.Day,M.Hour,M.Minute,M.Second):0}function o(M){return M?new Date(1e3*M.seconds+M.nanos/1e6):g}function y(M){return M?new Date(C(M)):g}function d(M,A){const D=M,w=Date.now();let O=y(A.ArrivedAtServerLocalUTCtime).valueOf();O+=A.ArrivedAtMSecs;let x=y(A.SentAtServerLocalUTCtime).valueOf();x+=A.SentAtMSecs;const N=(O-D+(x-w))/2;return console.log("Delta time",N),N}},23055(ot,V,l){"use strict";l.d(V,{w:()=>g});const g=new(l(85802).nKC)("WEB_SOCKET_FACTORY")},78074(ot,V,l){"use strict";l.d(V,{v:()=>_,w:()=>h});class f{zone;scheduler;constructor(o,y){this.zone=o,this.scheduler=y}schedule(...o){return this.zone.runOutsideAngular(()=>this.scheduler.schedule.apply(this.scheduler,o))}now(){return this.scheduler.now()}}class g{zone;scheduler;constructor(o,y){this.zone=o,this.scheduler=y}schedule(...o){return this.zone.run(()=>this.scheduler.schedule.apply(this.scheduler,o))}now(){return this.scheduler.now()}}function h(C,o){return new f(C,o)}function _(C,o){return new g(C,o)}},12094(ot,V,l){"use strict";l.d(V,{s:()=>M});var f=l(85802),g=l(59882),h=l(5964),_=l(96354),C=l(44668),o=l(84412),y=l(19724),d=l(42610);let M=(()=>{class A{router=(0,f.WQX)(g.Ix);historySize=20;navigationSubscription;historySubj=new o.t([]);history$;previousUrl$;constructor(){this.history$=this.historySubj.asObservable().pipe((0,C.t)({refCount:!0,bufferSize:1})),this.previousUrl$=this.history$.pipe((0,_.T)(w=>this.previousUrl(w)))}navigatePreviousUrl$(w=d.lX,O=void 0){const x=this.getHistory(),N=x.slice(0,x.length-1);return this.historySubj.next(N),(0,y.H)(N.length>0?this.router.navigateByUrl(N[N.length-1],O):this.router.navigate(w,O))}startNavigationHistory(){this.navigationSubscription||(this.navigationSubscription=this.router.events.pipe((0,h.p)(w=>w instanceof g.wF)).subscribe(w=>{if(w instanceof g.wF){const O=this.getHistory();if(O[O.length-1]!==w.urlAfterRedirects){const x=O.length<this.historySize?O:O.slice(1);this.historySubj.next([...x,w.urlAfterRedirects])}}}))}getHistory(){return this.historySubj.value}
1getPreviousUrl(){return this.previousUrl(this.historySubj.value)}previousUrl(w){if(w.length>1)return w[w.length-2]}static \u0275fac=function(O){return new(O||A)};static \u0275prov=f.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},25013(ot,V,l){"use strict";l.d(V,{Xd:()=>Le,fP:()=>J});var f=l(85802),g=l(28873),h=l(84412),_=l(84572),C=l(19724),o=l(33726),y=l(7673),d=l(983),M=l(25558),A=l(99437),D=l(96354),w=l(99172),O=l(96697),x=l(88141),N=l(50644),q=l(1211),K=l(96106),te=l(48615),H=l(18539),ee=l(38008);const J="3cx-worker.js";function de(){return"Notification"in window?"granted"===Notification.permission?"granted":"denied"===Notification.permission?"denied":"prompt":"denied"}let Le=(()=>{class ut{swPush=(0,f.WQX)(g.fQ);isEnabled$;registration$;pushSubscription=null;permissionState$;refreshPermissions$=new h.t(!0);constructor(){const xe=this.swPush;this.permissionState$="permissions"in navigator&&!H.P?(0,C.H)(navigator.permissions.query({name:"notifications"})).pipe((0,M.n)(Te=>(0,o.R)(Te,"change").pipe((0,D.T)(()=>Te.state),(0,w.Z)(Te.state))),(0,A.W)(()=>this.refreshPermissions$.pipe((0,D.T)(()=>de())))):this.refreshPermissions$.pipe((0,D.T)(()=>de()));const Ce=navigator.serviceWorker;Ce&&xe.isEnabled&&!(0,ee._)("denied")?(this.registration$=(0,C.H)(Ce.ready).pipe((0,N.H9)()),this.isEnabled$=this.registration$.pipe((0,D.T)(Te=>!!Te.pushManager)),this.isEnabled$.pipe((0,M.n)(Te=>Te?this.swPush.subscription:(0,y.of)(null))).subscribe({next:Te=>{this.pushSubscription=Te}})):(this.isEnabled$=(0,y.of)(!1),this.registration$=d.w)}pushUnsubscribe(xe){const Ce=this.pushSubscription?.toJSON().keys?.p256dh;return Ce?(0,_.z)([(0,C.H)(this.swPush.unsubscribe()).pipe((0,K.ee)("push unsubscribe")),xe.get(new q.ZPP({Subscriptions:new q.P9w({Action:q.X2v.Updated,Items:[new q.QVh({Action:q.X2v.Deleted,Subscription:new q._uw({DestinationAddress:Ce})})]})})).pipe((0,K.ee)("myphone push unsubscribe"))]):d.w}pushSubscribe(xe){return xe.systemParameters$.pipe((0,O.s)(1),(0,M.n)(Ce=>this.swPush.requestSubscription({serverPublicKey:Ce.VapidPublicKey})),(0,D.T)(Ce=>function ne(ut){return new q._uw({DeliveryType:"V",ModelName:te.OU,Instance:ut.endpoint,DestinationAddress:ut.keys?.p256dh,Options:ut.keys?.auth})}(Ce.toJSON())),(0,M.n)(Ce=>xe.get(Ce)),(0,K.ee)("push subscribe"))}get notificationClicks(){return this.swPush.notificationClicks}getNotifications(xe){return this.registration$.pipe((0,M.n)(Ce=>Ce.getNotifications?(0,C.H)(Ce.getNotifications({tag:xe})):d.w))}closeNotifications(xe){this.getNotifications(xe).pipe((0,O.s)(1)).subscribe({next:Ce=>{Ce.forEach(Te=>{Te.close()})}})}setLanguage(xe){this.registration$.pipe((0,O.s)(1),(0,x.M)(Ce=>Ce?.active?.postMessage({type:"lang",value:xe})),(0,O.s)(1)).subscribe()}setSilentMode(xe){this.registration$.pipe((0,O.s)(1),(0,x.M)(Ce=>Ce?.active?.postMessage({type:"silentMode",value:xe})),(0,O.s)(1)).subscribe()}static \u0275fac=function(Ce){return new(Ce||ut)};static \u0275prov=f.jDH({token:ut,factory:ut.\u0275fac,providedIn:"root"})}return ut})()},38008(ot,V,l){"use strict";function f(g){return"Notification"in window&&Notification.permission===g}l.d(V,{_:()=>f})},98866(ot,V,l){"use strict";l.d(V,{BI:()=>g,dF:()=>_,n2:()=>f,xw:()=>h,yj:()=>C});const f=3e4,g=1e4,h="answer",_="decline";class C{action;localConnectionId;callId;constructor(y){Object.assign(this,y)}}},95195(ot,V,l){"use strict";l.d(V,{J:()=>Fe,B:()=>Te});var f=l(96354),g=l(25558),h=l(96697),_=l(53993),C=l(85802),o=l(68018),y=l(43984),d=l(92771),M=l(18530),A=l(1033),D=l(1807),w=l(59030),O=l(98866),x=l(5964),N=l(43123);class q{translate;router;notificationActions$;notificationActionsSubject$=new M.B;messageNotificationRemover$;messageAllNotificationsRemover$;promise=Promise.resolve();constructor(Qe,kt){this.translate=Qe,this.router=kt,this.notificationActions$=this.notificationActionsSubject$.asObservable(),this.messageNotificationRemover$=new M.B,this.messageAllNotificationsRemover$=new M.B}createChatNotification(Qe,kt=!0){this.chatNotificationBuilder(Qe,kt).pipe((0,g.n)(ct=>(0,A.O)((0,D.O)(O.BI),this.messageNotificationRemover$.pipe((0,x.p)(Pt=>Pt===Qe.conversationId)),this.messageAllNotificationsRemover$).pipe((0,f.T)(()=>ct))),(0,h.s)(1)).subscribe({next:ct=>{ct.close()},error:()=>{}})}chatNotificationBuilder(Qe,kt){return(0,w.v)(()=>new Promise(ct=>{const Pt={timestamp:Qe.eventTime,renotify:!0,body:(0,N.U)(Qe.text),tag:Qe.chatLink,silent:kt};Qe.avatar&&(Pt.icon=Qe.avatar);const Ze=new Notification(Qe.sender,Pt);Ze.addEventListener("click",()=>{Ze.close(),this.router.navigateByUrl(Qe.chatLink),window.focus()}),ct(Ze)}))}next(Qe){this.promise=this.promise.then(Qe,Qe)}createCallNotification(Qe,kt,ct){this.next(()=>new Promise(Pt=>{const Ze=Qe.isQueueCall?"_i18n.Incoming_queue_call":"_i18n.Incoming_call";this.translate.get([Ze,"_i18n.Unknown"]).subscribe(fe=>{const ie=Qe.localConnectionId,ve={requireInteraction:!0,body:Qe.phone||Qe.displayName?`${Qe.phone} ${Qe.displayName}`:fe["_i18n.Unknown"],tag:""+ie,silent:ct};kt&&(ve.icon=kt);try{const he=new Notification(fe[Ze],ve);he.addEventListener("show",()=>{setTimeout(()=>this.next(()=>he.close()),O.n2),he.addEventListener("click",()=>{this.next(()=>he.close()),this.notificationActionsSubject$.next(new O.yj({action:O.xw,localConnectionId:ie}))}),he.addEventListener("close",()=>{Qe.notification=void 0}),Qe.notification=he})}catch{}Pt(Qe)})}))}removeChatNotification(Qe){Qe?this.messageNotificationRemover$.next(Qe):this.messageAllNotificationsRemover$.next()}removeCallNotification(Qe){this.next(()=>{Qe.notification&&Qe.notification.close()})}}var K=l(59882),te=l(22040),ee=l(38052),F=l(73801),J=l(7673),ne=l(983);class de{swPush;notificationActions$;constructor(Qe,kt){this.swPush=kt,this.notificationActions$=kt.notificationClicks.pipe((0,g.n)(ct=>void 0===ct.notification.data.call||"answer"!==ct.action&&"decline"!==ct.action?ne.w:(0,J.of)(new O.yj({action:ct.action,callId:+ct.notification.data.call}))))}createChatNotification(Qe,kt){}createCallNotification(Qe,kt,ct){}removeChatNotification(Qe){Qe&&this.swPush.closeNotifications("chat-"+Qe.toString(10))}removeCallNotification(Qe){Qe.callId&&this.swPush.closeNotifications("call-"+Qe.callId.toString(10))}}var Le=l(16444),ut=l(25013),Oe=l(38008),xe=l(53805);let Ce;function Te(Ke,Qe){return(!Ke||Ke.startsWith("http://")||Ke.startsWith("https://")||Ke===ee)&&(Ke=F),Ce||(Ce=document.createElement("a")),Ce.href=function H(Ke,Qe){return Qe?.startsWith("/")?new URL(Qe,Ke).href:Qe}(Qe,Ke),Ce.href}let Fe=(()=>{class Ke{silentModeService=(0,C.WQX)(xe.Y);settingsService=(0,C.WQX)(te.h);_callsWaitingForImage={};impl$;notificationActions$;constructor(){const kt=(0,C.WQX)(o.c$),ct=(0,C.WQX)(K.Ix),Pt=(0,C.WQX)(Le.gx),Ze=(0,C.WQX)(ut.Xd);this.impl$=(0,y.x)(Ze.isEnabled$.pipe((0,f.T)(fe=>fe?new de(Pt,Ze):new q(kt,ct))),{connector:()=>new d.m(1),resetOnDisconnect:!1}),this.notificationActions$=this.impl$.pipe((0,g.n)(fe=>fe.notificationActions$)),this.impl$.connect()}createChatNotification(kt){(0,Oe._)("granted")&&this.settingsService.generalSettings$.pipe((0,h.s)(1),(0,g.n)(ct=>this.impl$.pipe((0,h.s)(1))),(0,_.E)(this.silentModeService.silentMode$)).subscribe({next:([ct,Pt])=>{ct.createChatNotification(kt,Pt)},error:()=>{}})}removeChatNotification(kt){this.impl$.pipe((0,h.s)(1)).subscribe({next:ct=>ct.removeChatNotification(kt),error:ct=>{}})}createCallNotification(kt,ct){(0,Oe._)("granted")&&(document.hasFocus()||(this._callsWaitingForImage[kt.myCallId]=kt,this.impl$.pipe((0,_.E)(this.silentModeService.silentMode$),(0,h.s)(1)).subscribe({next:([Pt,Ze])=>{this._callsWaitingForImage[kt.myCallId]&&(delete this._callsWaitingForImage[kt.myCallId],ct&&Pt.createCallNotification(kt,Te(kt.contact.profilePicture,ct),Ze))},error:()=>{delete this._callsWaitingForImage[kt.myCallId]}})))}removeCallNotification(kt){delete this._callsWaitingForImage[kt.myCallId],this.impl$.pipe((0,h.s)(1)).subscribe({next:ct=>ct.removeCallNotification(kt),error:()=>{}})}static \u0275fac=function(ct){return new(ct||Ke)};static \u0275prov=C.jDH({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})()},42181(ot,V,l){"use strict";l.d(V,{y:()=>o});var f=l(18530),g=l(57786),h=l(23294),_=l(96354),C=l(85802);let o=(()=>{class y{onTerminate$=new f.B;onResume$=new f.B;onHold$=new f.B;onDialing$=new f.B;onRinging$=new f.B;onIncomingAccepted$=new f.B;onOutgoingAccepted$=new f.B;callState$;
1constructor(){this.callState$=(0,g.h)(this.onIncomingAccepted$.pipe((0,_.T)(M=>({call:M,state:"AcceptedIncoming"}))),this.onOutgoingAccepted$.pipe((0,_.T)(M=>({call:M,state:"AcceptedOutgoing"}))),this.onRinging$.pipe((0,_.T)(M=>({call:M,state:"Ringing"}))),this.onDialing$.pipe((0,h.F)((M,A)=>M.myCallId===A.myCallId),(0,_.T)(M=>({call:M,state:"Dialing"}))),this.onHold$.pipe((0,_.T)(M=>({call:M,state:"Hold"}))),this.onResume$.pipe((0,_.T)(M=>({call:M,state:"Resume"}))),this.onTerminate$.pipe((0,_.T)(M=>({call:M,state:"Terminated"}))))}terminateCall(M){this.onTerminate$.next(M)}resumeCall(M){this.onResume$.next(M)}holdCall(M){this.onHold$.next(M)}outgoingCall(M){this.onDialing$.next(M)}incomingCall(M){this.onRinging$.next(M)}incomingCallAccepted(M){this.onIncomingAccepted$.next(M)}outgoingCallAccepted(M){this.onOutgoingAccepted$.next(M)}static \u0275fac=function(A){return new(A||y)};static \u0275prov=C.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},90422(ot,V,l){"use strict";l.d(V,{MC:()=>C,VD:()=>y,d7:()=>o,lo:()=>_,tn:()=>d});var f=l(23294),g=l(96354),h=l(25558);function _(A){return A.myPhoneSession.pipe((0,h.n)(D=>D.webRTCEndpoint$.pipe((0,g.T)(w=>w.isWebRTCEnpointRegistered))),(0,f.F)())}function C(A){return A.pipe((0,g.T)(D=>!D||0===D.length))}function o(A){return A.pipe((0,g.T)(D=>D&&D.media?D.media.label:null))}var y=function(A){return A[A.None=0]="None",A[A.Microphone=1]="Microphone",A[A.Camera=2]="Camera",A[A.Both=3]="Both",A}(y||{});function d(A,D,w,O=y.None){return{audio:M(D,(O&y.Microphone)===y.Microphone,A.mic),video:M(w,(O&y.Camera)===y.Camera,A.cam)}}function M(A,D,w){return A&&(w?{deviceId:D?{exact:w}:w}:A)}},12539(ot,V,l){"use strict";l.d(V,{q:()=>H});var f=l(85802),g=l(18530),h=l(84572),_=l(19724),C=l(33726),o=l(57786),y=l(983),d=l(35060),M=l(12426),A=l(42610),D=l(99437),w=l(23294),O=l(96354),x=l(44668),N=l(99172),q=l(25558),K=l(96106),te=l(11920);let H=(()=>{class ee{localStorageService=(0,f.WQX)(M.sj);permissionsRequested$=new g.B;onDeviceChanged$;deviceList$;audioDeviceList$;videoDeviceList$;microphoneDeviceList$;selectedInputAudioDevice$;selectedOutputAudioDevice$;selectedInputVideoDevice$;selectedRingerDevice$;mediaPeerConstraints$;constructor(){navigator.mediaDevices?(this.onDeviceChanged$=(0,o.h)((0,C.R)(navigator.mediaDevices,"devicechange").pipe((0,D.W)(J=>d.t)),this.permissionsRequested$),this.deviceList$=this.onDeviceChanged$.pipe((0,N.Z)(!0),(0,q.n)(()=>this.getDevices()),(0,x.t)({refCount:!1,bufferSize:1}),(0,w.F)((J,ne)=>{const de=J.map(xe=>xe.label),Le=ne.map(xe=>xe.label),ut=de.every(xe=>Le.includes(xe)),Oe=Le.every(xe=>de.includes(xe));return ut&&Oe}))):(this.onDeviceChanged$=y.w,this.deviceList$=y.w),this.audioDeviceList$=this.deviceList$.pipe((0,O.T)(J=>J.filter(this.checkDeviceInfo("audiooutput")))),this.videoDeviceList$=this.deviceList$.pipe((0,O.T)(J=>J.filter(this.checkDeviceInfo("videoinput")))),this.microphoneDeviceList$=this.deviceList$.pipe((0,O.T)(J=>J.filter(this.checkDeviceInfo("audioinput")))),this.selectedInputAudioDevice$=(0,h.z)([this.getSelected(A.Hh.SelectedMicrophone),this.microphoneDeviceList$]).pipe((0,O.T)(([J,ne])=>(0,te.C7)(ne,"audioinput",J)),(0,x.t)({refCount:!1,bufferSize:1}),(0,w.F)(ee.distSelectedDev)),this.selectedOutputAudioDevice$=(0,h.z)([this.getSelected(A.Hh.SelectedSpeaker),this.audioDeviceList$]).pipe((0,O.T)(([J,ne])=>(0,te.C7)(ne,"audiooutput",J)),(0,x.t)({refCount:!1,bufferSize:1}),(0,w.F)(ee.distSelectedDev)),this.selectedInputVideoDevice$=(0,h.z)([this.getSelected(A.Hh.SelectedCamera),this.videoDeviceList$]).pipe((0,O.T)(([J,ne])=>(0,te.C7)(ne,"videoinput",J)),(0,x.t)({refCount:!1,bufferSize:1}),(0,w.F)(ee.distSelectedDev)),this.selectedRingerDevice$=(0,h.z)([this.getSelected(A.Hh.SelectedRinger),this.audioDeviceList$]).pipe((0,O.T)(([J,ne])=>(0,te.C7)(ne,"audiooutput",J)),(0,x.t)({refCount:!1,bufferSize:1}),(0,w.F)(ee.distSelectedDev)),this.mediaPeerConstraints$=(0,h.z)([this.selectedInputVideoDevice$,this.selectedInputAudioDevice$]).pipe((0,q.n)(([J,ne])=>(0,_.H)(navigator.mediaDevices.enumerateDevices()).pipe((0,O.T)(de=>{const Le=(0,te.C7)(de,"videoinput",J.labelId??null).media?.deviceId;return{mic:(0,te.C7)(de,"audioinput",ne.labelId??null).media?.deviceId,cam:Le}}))))}save(J,ne){this.localStorageService.store(J,ne)}requestPermissions(){navigator.mediaDevices&&(0,_.H)(navigator.mediaDevices.getUserMedia({audio:!0,video:!0})).pipe((0,D.W)(J=>(console.log(J),(0,_.H)(navigator.mediaDevices.getUserMedia({audio:!0,video:!1}))))).subscribe({next:J=>
1{J.active&&J.getTracks().forEach(ne=>ne.stop()),this.permissionsRequested$.next(!0)},error:J=>{console.log("PERMISSIONS WAS NOT GRANTED",J)}})}getDevices(){return(0,_.H)(navigator.mediaDevices.enumerateDevices()).pipe((0,D.W)(J=>d.t))}getSelected(J){return(0,K.lB)(this.localStorageService,J).pipe((0,w.F)())}static distSelectedDev(J,ne){return!(!ne.media||!J.media||J.media.label!==ne.media.label)}checkDeviceInfo(J){return ne=>ne.kind===J&&!!ne.label}static \u0275fac=function(ne){return new(ne||ee)};static \u0275prov=f.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}return ee})()},90558(ot,V,l){"use strict";l.d(V,{$S:()=>ee,F0:()=>xe,JD:()=>Oe,Jc:()=>te,N9:()=>H,Ni:()=>Qe,gc:()=>Pt,q8:()=>Ce,sm:()=>Te});var f=l(23294),g=l(96354),h=l(97647),_=l(25558),C=l(96697),o=l(85802),y=l(12426),d=l(42610),M=l(33971),A=l(1211),D=l(16444),w=l(92771),O=l(84572),x=l(983),N=l(96106);const q=new RegExp(/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/),K=new RegExp(/\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*/),te="3CX Push Service",H="3CX Mobile Client",ee="3CX WebRTC proxy",J=["3cx teams agent","3cx dialer","3cxphone for android","3cxphone for iphone"];function ut(Ze){return Ze.UserAgent===ee}function Oe(Ze){return!(!Ze||Ze.UserAgent!==H)}function xe(Ze){return!(!Ze||!ut(Ze))}function Ce(Ze){return!Ze||ut(Ze)}const Te="Browser";function Fe(Ze){const fe=function de(Ze){return Ze&&Ze.Items?Ze.Items.filter(fe=>fe.UserAgent&&!function ne(Ze){const fe=Ze.UserAgent.toLowerCase();return J.some(ie=>fe.startsWith(ie))}(fe)):[]}(Ze);return fe.find(ie=>ie.UserAgent===ee)||fe.push(new A.cHJ({Id:0,UserAgent:ee,Contact:Te})),function Le(Ze){const fe=[],ie=[],Xe=[];return Ze.forEach(ve=>{xe(ve)?ie.push(ve):function F(Ze){return Ze.UserAgent.toLowerCase().includes("3cx")}(ve)?fe.push(ve):Xe.push(ve)}),Xe.concat(ie).concat(fe)}(fe)}function Ke(Ze,fe){const ie=M.TJ.getUserScopedLocalStorageKey(Ze,d.Hh.SelectedPhoneDevice);return(0,N.lB)(fe,ie).pipe((0,g.T)(Xe=>null===Xe||"object"!=typeof Xe?{userAgent:Xe}:Xe))}function Qe(Ze){return Ze?.match(q)?.[0].trim()||Ze?.match(K)?.[0].trim()||void 0}let Pt=(()=>{class Ze{myphone=(0,o.WQX)(D.gx);localStorageService=(0,o.WQX)(y.sj);phones$;isWebRTCSelected$;selectedPhoneDevice$;selectedPhoneDeviceAgent$;constructor(){const ie=this.myphone,Xe=this.localStorageService;this.selectedPhoneDevice$=ie.myPhoneSession.pipe((0,_.n)(ve=>ve.domainUrl?function ct(Ze,fe){return function kt(Ze,fe,ie){const Xe=Ze.pipe((0,g.T)(ve=>Fe(ve)));return(0,O.z)([Xe,Ke(fe,ie)]).pipe((0,g.T)(ve=>{const[he,Pe]=ve,Ve=he.find(dt=>dt.UserAgent===Pe.userAgent&&Qe(dt.Contact)===Pe.ipAddress);if(void 0!==Ve)return Ve;{const dt=he.find(wt=>wt.UserAgent===Pe.userAgent),Dt=Pe.userAgent===ee||Pe.userAgent===H?he.find(wt=>xe(wt)):void 0;return dt||Dt||(he.length>0?he[0]:void 0)}}))}(Ze.myInfo.ActiveDevices$,Ze.myInfo.Number,fe)}(ve,Xe):x.w),(0,f.F)((ve,he)=>ve===he,ve=>ve?ve.Contact:void 0),(0,h.u)({connector:()=>new w.m(1)})),this.selectedPhoneDeviceAgent$=this.selectedPhoneDevice$.pipe((0,g.T)(ve=>ve?ve.UserAgent:"")),this.isWebRTCSelected$=this.selectedPhoneDevice$.pipe((0,g.T)(ve=>xe(ve)),(0,f.F)(),(0,h.u)({connector:()=>new w.m(1)})),this.phones$=ie.myPhoneSession.pipe((0,_.n)(ve=>ve.myInfo.ActiveDevices$.pipe((0,g.T)(he=>ve.domainUrl?Fe(he):[]))),(0,h.u)({connector:()=>new w.m(1)}))}selectPhoneDevice(ie){this.myphone.myPhoneSession.pipe((0,C.s)(1)).subscribe(Xe=>{const ve=M.TJ.getUserScopedLocalStorageKey(Xe.myInfo.Number,d.Hh.SelectedPhoneDevice),he={userAgent:ie.UserAgent,ipAddress:Qe(ie.Contact)};this.localStorageService.store(ve,he)})}static \u0275fac=function(Xe){return new(Xe||Ze)};static \u0275prov=o.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})()},87263(ot,V,l){"use strict";l.d(V,{IA:()=>ne,IM:()=>d,LS:()=>de,Nf:()=>o,Nw:()=>w,OW:()=>h,R4:()=>ee,U$:()=>C,Vg:()=>A,Vv:()=>M,_7:()=>J,_A:()=>D,dW:()=>g,n6:()=>Le});var f=l(68605);const g=27027,h="Universal Headset -";function _(){return"hid"in navigator}function C(Oe){return"HID debug interface"!==Oe.productName&&Oe.vendorId!==g}function o(Oe,xe){return Oe.collections.some(Ce=>Ce.usagePage===xe&&(Ce.inputReports?.length??0)>0)}function y(Oe){return Oe.find(Ce=>C(Ce)&&o(Ce,f.pp.TELEPHONY))??null}function d(){return _()?navigator.hid.getDevices().then(Oe=>y(Oe)):Promise.resolve(null)}function M(Oe,...xe){"true"===localStorage.getItem("wc.loggerenabled")&&console.log(Oe,...xe)}function A(Oe,...xe){"true"===localStorage.getItem("wc.loggerenabled")&&console.warn(Oe,...xe.map(Te=>Te instanceof Error?Te.message:Te))}function D(Oe){return Oe.opened?Promise.resolve(Oe):Oe.open().then(()=>Oe)}function w(){return _()?navigator.hid.requestDevice({filters:[{usagePage:f.pp.TELEPHONY}]}).then(Oe=>y(Oe)):Promise.resolve(null)}function x(Oe){const xe=function N(Oe){return Oe>>>16}(Oe),Ce=function q(Oe){return 65535&Oe}(Oe),Te=f.Mt[Oe]??f.HO[Oe]??"UNKNOWN";return`${function O(Oe){return`${f.pp[Oe]??"UNKNOWN"}(0x${Oe.toString(16).padStart(4,"0")})`}(xe)}.${Te}(0x${Ce.toString(16).padStart(4,"0")})`}const K=Oe=>f.wV.includes(Oe),te=Oe=>f.fN.includes(Oe);function H(Oe){return void 0===Oe.isAbsolute||void 0===Oe.hasPreferredState||void 0===Oe.logicalMinimum||void 0===Oe.logicalMaximum?f.OR.Undefined:Oe.isAbsolute||Oe.hasPreferredState||-1!==Oe.logicalMinimum||1!==Oe.logicalMaximum?!Oe.isAbsolute&&Oe.hasPreferredState&&0===Oe.logicalMinimum&&1===Oe.logicalMaximum?f.OR.ToggleButton:Oe.isAbsolute&&!Oe.hasPreferredState&&0===Oe.logicalMinimum&&1===Oe.logicalMaximum?f.OR.ToggleSwitch:f.OR.Undefined:f.OR.OnOffButtons}function ee(Oe){const xe=Oe.collections.find(Ce=>Ce.usagePage===f.pp.TELEPHONY);if(void 0===xe)throw new Error("getDeviceCollection: No collection for "+f.pp.TELEPHONY);return xe}function J(Oe){return Oe.map(xe=>({...xe,items:xe.items?.map(Ce=>{const{usageMinimum:Te,usageMaximum:Fe}=Ce;return Ce.isRange&&Te&&Fe&&1===Ce.reportSize?Array.from({length:Ce.reportCount},(Ke,Qe)=>((Oe,xe)=>({...xe,isRange:!1,reportCount:1,reportSize:1,usages:[Oe]}))(Te+Qe,Ce)):[Ce]}).flat()}))}function ne(Oe){const xe=f.wV.reduce((Ce,Te)=>({...Ce,[Te]:void 0}),{});for(const Ce of Oe){let Te=0;if(void 0!==Ce.items&&void 0!==Ce.reportId)for(const Fe of Ce.items){const{usageMinimum:Ke=0,usageMaximum:Qe=0}=Fe,kt=void 0===Fe.usages&&Fe.isRange&&Ke&&Qe;if(void 0===Fe.usages&&!kt||void 0===Fe.reportSize||void 0===Fe.reportCount||void 0===Fe.isAbsolute)continue;const ct=void 0!==Fe.usages?Fe.usages:kt?Array.from({length:Qe-Ke+1},(Ze,fe)=>fe+Ke):[],Pt=ct.length===Fe.reportCount;for(const[Ze,fe]of ct.entries())K(fe)&&(xe[fe]={name:x(fe),reportId:Ce.reportId,offset:Te+(!kt&&Pt?Ze*Fe.reportSize:0),size:Fe.reportSize,expectedValue:kt?Ze+1:1,controlType:H(Fe)});Te+=Fe.reportCount*Fe.reportSize}}return M(h,"inputUsages",xe),xe}function de(Oe){const xe=f.fN.reduce((Ce,Te)=>({...Ce,[Te]:void 0}),{});for(const Ce of Oe){if(void 0===Ce.items||void 0===Ce.reportId)continue;let Te=0,Fe=[];for(const Qe of Ce.items){if(void 0===Qe.usages||void 0===Qe.reportSize||void 0===Qe.reportCount){Fe=[];break}const kt=Qe.usages.length===Qe.reportCount;for(const[ct,Pt]of Qe.usages.entries())te(Pt)&&Fe.push([Pt,Te+(kt?ct*Qe.reportSize:0)]);Te+=Qe.reportCount*Qe.reportSize}const Ke=Te;for(const[Qe,kt]of Fe)xe[Qe]={name:x(Qe),offset:kt,reportId:Ce.reportId,state:!1,generator:()=>{const ct=new Uint8Array(Ke/8);return{reportId:Ce.reportId,data:ct}},setter:(ct,Pt)=>(kt>=0&&(Pt[Math.trunc(kt/8)]|=(ct?1:0)<<kt%8),Pt)}}return M(h,"outputUsages",xe),xe}function Le(Oe,xe){const Ce=[];return f.wV.forEach(Te=>{const Fe=xe?.[Te];void 0!==Fe&&Oe.reportId===Fe.reportId&&(Fe.offset+Fe.size<=8*Oe.data.byteLength?Ce.pu
1sh({usage:Te,isSet:ut(Oe.data,Fe.offset,Fe.size)===Fe.expectedValue}):console.warn(h,"Miscalculated offset for INPUT_USAGE",Te))}),Ce}function ut(Oe,xe,Ce){let Te=0;for(let Fe=xe;Fe<xe+Ce;Fe+=1){const Ke=Math.trunc(Fe/8),Qe=Fe%8;Te+=(Oe.getUint8(Ke)>>Qe&1)<<Fe-xe}return Te}},68605(ot,V,l){"use strict";l.d(V,{HO:()=>g,Mt:()=>_,OR:()=>h,fN:()=>C,pp:()=>f,wV:()=>o});var f=function(y){return y[y.TELEPHONY=11]="TELEPHONY",y[y.LED=8]="LED",y[y.BUTTON=9]="BUTTON",y}(f||{}),g=function(y){return y[y.PHONE=720897]="PHONE",y[y.HOOK_SWITCH=720928]="HOOK_SWITCH",y[y.FLASH=720929]="FLASH",y[y.FEATURE=720930]="FEATURE",y[y.HOLD=720931]="HOLD",y[y.REDIAL=720932]="REDIAL",y[y.DROP=720934]="DROP",y[y.PHONE_MUTE=720943]="PHONE_MUTE",y[y.ANSWER_ON_OFF=721012]="ANSWER_ON_OFF",y[y.LINE_BUSY_TONE=721047]="LINE_BUSY_TONE",y[y.RINGER=721054]="RINGER",y[y.REJECT_VENDOR=786429]="REJECT_VENDOR",y[y.PROGRAMMABLE_TELEPHONY_BUTTON=720903]="PROGRAMMABLE_TELEPHONY_BUTTON",y[y.PROGRAMMABLE_BUTTON=589831]="PROGRAMMABLE_BUTTON",y}(g||{}),h=function(y){return y[y.Undefined=0]="Undefined",y[y.OnOffButtons=1]="OnOffButtons",y[y.ToggleButton=2]="ToggleButton",y[y.ToggleSwitch=3]="ToggleSwitch",y}(h||{}),_=function(y){return y[y.MUTE=524297]="MUTE",y[y.OFF_HOOK=524311]="OFF_HOOK",y[y.RING=524312]="RING",y[y.RINGER=721054]="RINGER",y[y.HOLD=524320]="HOLD",y}(_||{});const C=[_.OFF_HOOK,_.RING,_.MUTE,_.RINGER,_.HOLD],o=[g.PROGRAMMABLE_BUTTON,g.PROGRAMMABLE_TELEPHONY_BUTTON,g.HOOK_SWITCH,g.FLASH,g.PHONE_MUTE,g.LINE_BUSY_TONE]},97992(ot,V,l){"use strict";l.d(V,{T:()=>f});var f=function(g){return g[g.AcceptCall=0]="AcceptCall",g[g.TerminateCall=1]="TerminateCall",g[g.RejectCall=2]="RejectCall",g[g.HoldCall=3]="HoldCall",g[g.ResumeCall=4]="ResumeCall",g[g.ToggleMuteCall=5]="ToggleMuteCall",g[g.FlashCall=6]="FlashCall",g[g.SendDtmf=7]="SendDtmf",g[g.MakeCall=8]="MakeCall",g[g.Unknown=9]="Unknown",g}(f||{})},47924(ot,V,l){"use strict";l.d(V,{o:()=>f});let f=(()=>{class g{static NO_CALL=-1;activeCall=g.NO_CALL;isActiveCallMuted=!1;totalCalls=new Set;ringingCalls=new Set;holdCalls=new Set;get hasRingingCalls(){return this.ringingCalls.size>0}get hasHoldCalls(){return this.holdCalls.size>0}get hasNoCalls(){return 0===this.callCount}get callCount(){return this.totalCalls.size}}return g})()},83082(ot,V,l){"use strict";l.d(V,{j:()=>f});class f{constructor(h){Object.assign(this,h)}static Ok=new f({alertClass:"success",text:"_i18n.HeadsetReady"});static Progress=new f({alertClass:"info",text:"_i18n.HeadsetDiagnosticsProgress"});static error(h){return new f({alertClass:"danger",text:h})}alertClass;text}},86908(ot,V,l){"use strict";l.d(V,{i:()=>he});var f=l(96354),g=l(23294),h=l(25558),_=l(40941),C=l(96697),o=l(85802),y=l(7673),d=l(19724),M=l(97647),A=l(92771),D=l(43236),w=l(18530),O=l(12426),x=l(42610),N=l(35060),q=l(83082);class K{diagnostics$=(0,y.of)(q.j.Ok);headsetEvents$=N.t;connectDevice(){}holdCall(Ve){}incomingCall(Ve,dt){}incomingCallAccepted(Ve){}mute(Ve,dt){}outgoingCall(Ve,dt){}outgoingCallAccepted(Ve){}resumeCall(Ve){}terminateCall(Ve){}}var te=l(53349),H=l.n(te),ee=l(78074),F=l(97992),J=l(59030),ne=l(33726),de=l(57786),Le=l(18810),ut=l(99437),Oe=l(12498),xe=l(27468),Ce=l(5964),Te=l(63489),Fe=l(88141),Ke=l(99172),Qe=l(47924),kt=l(68605),ct=l(87263),Pt=l(83762);class ie{diagnostics$;headsetEvents$;device$;requestedDevice$=new w.B;callState=new Qe.o;constructor(){const Ve=(0,J.v)(()=>(0,ct.IM)()).pipe((0,f.T)(Yt=>({type:"init",device:Yt}))),dt=this.requestedDevice$.pipe((0,Ce.p)(Yt=>!!Yt&&(0,ct.U$)(Yt)),(0,f.T)(Yt=>({type:"request",device:Yt}))),Dt=(0,ne.R)(navigator.hid,"connect").pipe((0,f.T)(Yt=>({type:"connect",device:Yt.device}))),wt=(0,ne.R)(navigator.hid,"disconnect").pipe((0,Ce.p)(Yt=>!!Yt.device&&(0,ct.U$)(Yt.device)),(0,f.T)(Yt=>({type:"disconnect",device:Yt.device})));this.device$=(0,de.h)(Ve,dt,Dt,wt).pipe((0,Te.i)((Yt,Tt)=>"init"===Tt.type?((0,ct.Vv)(ct.OW,"device init:",Tt.device?.productName),(0,y.of)(Tt.device)):"request"===Tt.type?((0,ct.Vv)(ct.OW,"device paired:",Tt.device?.productName),Tt.device?(0,y.of)(Tt.device):Yt?(0,y.of)(Yt):(0,d.H)((0,ct.IM)())):"connect"!==Tt.type||Yt?"disconnect"===Tt.type&&Tt.device===Yt?((0,ct.Vv)(ct.OW,"device disconnected:",Tt.device?.productName),(0,d.H)((0,ct.IM)())):(0,y.of)(Yt):((0,ct.Vv)(ct.OW,"device connected:",Tt.device?.productName),(0,y.of)(Tt.device)),null,1),(0,g.F)(),(0,h.n)(Yt=>{if(Yt){if(!(0,ct.Nf)(Yt,kt.pp.TELEPHONY))return(0,Le.$)(()=>new Error(`Device "${Yt.productName}" does not support Standard telephony page (${kt.pp.TELEPHONY}).`));if(!(0,ct.U$)(Yt))return(0,Le.$)(()=>new Error(`Device "${Yt.productName}" is not a a supported HID device.`));if(!Yt.opened)return(0,ct.Vv)(ct.OW,"device opening:",Yt.productName),(0,d.H)((0,ct._A)(Yt))}return(0,y.of)(Yt)}),(0,f.T)(Yt=>Yt?function fe(Pe){if((0,ct.Vv)(ct.OW,Pe.productName+" device collections:",Pe.collections),void 0===Pe.collections)throw new Error("getDeviceCollection: Undefined device collection");const Ve=(0,ct.R4)(Pe);let dt,Dt;
1Ve.inputReports&&(dt=(0,ct.IA)(Ve.inputReports)),Ve.outputReports&&(Dt=(0,ct.LS)((0,ct._7)(Ve.outputReports)));const wt=new Set(Object.values(Dt??{}).map(Yt=>Yt?.reportId).filter(Yt=>void 0!==Yt)).size>1;return(0,ct.Vv)(ct.OW,"Command Mode is "+(wt?"enabled":"disabled")),{hookState:!1,device:Pe,commandMode:wt,inputEventInfos:dt,outputEventInfos:Dt}}(Yt):null),(0,ut.W)(Yt=>{throw(0,ct.Vg)(ct.OW,Yt),Yt}),(0,Oe.L)({delay:5e3}),(0,M.u)({connector:()=>new A.m(1)})),this.headsetEvents$=this.device$.pipe((0,Ce.p)(Pt.z2),(0,h.n)(Yt=>(0,ne.R)(Yt.device,"inputreport").pipe((0,h.n)(Tt=>this.onInputReport(Yt,Tt,(0,ct.n6)(Tt,Yt.inputEventInfos))))),(0,Fe.M)(Yt=>(0,ct.Vv)(ct.OW,`Headset Command Fired ${F.T[Yt.Action]} (Value:${Yt.Value}) with CallId ${Yt.CallId}`))),this.diagnostics$=this.device$.pipe((0,f.T)(Yt=>Yt?new q.j({alertClass:"success",text:`${Yt.device.productName} ${Yt.device.opened?"connected":"not connected"}`}):q.j.error("No device is connected")),(0,Ke.Z)(q.j.Progress))}connectDevice(){(0,J.v)(()=>(0,ct.Nw)()).pipe((0,C.s)(1)).subscribe({next:Ve=>this.requestedDevice$.next(Ve)})}holdCall(Ve){(0,ct.Vv)(ct.OW,`pbx call command: holdCall (${Ve})`),this.callState.holdCalls.add(Ve),Ve===this.callState.activeCall&&(this.callState.activeCall=Qe.o.NO_CALL,this.callState.isActiveCallMuted=!1),this.synchronizeState([[kt.Mt.OFF_HOOK,this.callState.activeCall!==Qe.o.NO_CALL],[kt.Mt.HOLD,!0]])}incomingCall(Ve,dt){(0,ct.Vv)(ct.OW,`pbx call command: incomingCall (${Ve})`),this.callState.ringingCalls.add(Ve),this.callState.totalCalls.add(Ve),this.synchronizeState([[kt.Mt.RING,!0],[kt.Mt.RINGER,!0]])}incomingCallAccepted(Ve){(0,ct.Vv)(ct.OW,`pbx call command: incomingCallAccepted (${Ve})`),this.callState.activeCall=Ve,this.callState.isActiveCallMuted=!1,this.callState.ringingCalls.delete(Ve),this.synchronizeState([[kt.Mt.RING,this.callState.hasRingingCalls],[kt.Mt.RINGER,this.callState.hasRingingCalls],[kt.Mt.OFF_HOOK,!0],[kt.Mt.MUTE,!1]])}mute(Ve,dt){(0,ct.Vv)(ct.OW,`pbx call command mute (${Ve}) with value ${dt}`),this.callState.isActiveCallMuted=dt,this.synchronizeState([[kt.Mt.MUTE,dt]])}outgoingCall(Ve,dt){(0,ct.Vv)(ct.OW,`pbx call command: outgoingCall (${Ve})`),this.callState.totalCalls.add(Ve),this.callState.activeCall=Ve,this.callState.isActiveCallMuted=!1,this.synchronizeState([[kt.Mt.OFF_HOOK,!0],[kt.Mt.MUTE,!1]])}outgoingCallAccepted(Ve){(0,ct.Vv)(ct.OW,`pbx call command: outgoingCallAccepted (${Ve})`)}resumeCall(Ve){(0,ct.Vv)(ct.OW,`pbx call command: resumeCall (${Ve})`),this.callState.holdCalls.delete(Ve),this.callState.activeCall=Ve,this.synchronizeState([[kt.Mt.OFF_HOOK,!0],[kt.Mt.HOLD,!1],[kt.Mt.MUTE,!1]])}terminateCall(Ve){(0,ct.Vv)(ct.OW,`pbx call command: terminateCall (${Ve})`),this.callState.ringingCalls.delete(Ve),this.callState.holdCalls.delete(Ve),this.callState.totalCalls.delete(Ve),this.callState.activeCall===Ve&&(this.callState.activeCall=Qe.o.NO_CALL,this.callState.isActiveCallMuted=!1),this.synchronizeState(this.buildFullState())}buildFullState(){return[[kt.Mt.OFF_HOOK,!(this.callState.hasNoCalls||this.callState.activeCall===Qe.o.NO_CALL||this.callState.callCount===this.callState.holdCalls.size)],[kt.Mt.RING,this.callState.hasRingingCalls],[kt.Mt.RINGER,this.callState.hasRingingCalls],[kt.Mt.MUTE,this.callState.isActiveCallMuted],[kt.Mt.HOLD,this.callState.hasHoldCalls]]}synchronizeState(Ve){return this.device$.pipe((0,C.s)(1),(0,h.n)(dt=>{if(!dt||!dt.device.opened)throw new Error("No device is connected");const Dt=dt.commandMode?[...Ve]:this.buildFullState(),wt=Dt.find(qt=>qt[0]===kt.Mt.RING),Yt=Dt.find(qt=>qt[0]===kt.Mt.OFF_HOOK),Tt=Dt.find(qt=>qt[0]===kt.Mt.HOLD);return Yt?.[1]&&wt?.[1]&&!dt.outputEventInfos?.[kt.Mt.OFF_HOOK]?.state&&dt.outputEventInfos?.[kt.Mt.RING]?.state?((0,ct.Vv)(ct.OW,"Ringing workaround in effect"),this.send$(dt,dt.commandMode?[[kt.Mt.RING,!1],[kt.Mt.RINGER,!1]]:Dt.map(qt=>qt[0]===kt.Mt.RING?[kt.Mt.RING,!1]:qt[0]===kt.Mt.RINGER?[kt.Mt.RINGER,!1]:qt)).pipe((0,h.n)(()=>this.send$(dt,Dt)))):!Yt?.[1]&&Tt?.[1]&&dt.outputEventInfos?.[kt.Mt.OFF_HOOK]?.state&&!dt.outputEventInfos?.[kt.Mt.HOLD]?.state?((0,ct.Vv)(ct.OW,"Hold workaround in effect"),this.send$(
1dt,dt.commandMode?[[kt.Mt.HOLD,!1]]:Dt.map(qt=>qt[0]===kt.Mt.HOLD?[kt.Mt.HOLD,!1]:qt)).pipe((0,h.n)(()=>this.send$(dt,Dt)))):Yt?.[1]&&!Tt?.[1]&&!dt.outputEventInfos?.[kt.Mt.OFF_HOOK]?.state&&dt.outputEventInfos?.[kt.Mt.HOLD]?.state?((0,ct.Vv)(ct.OW,"Resume workaround in effect"),this.send$(dt,dt.commandMode?[[kt.Mt.OFF_HOOK,!1]]:Dt.map(qt=>qt[0]===kt.Mt.OFF_HOOK?[kt.Mt.OFF_HOOK,!1]:qt)).pipe((0,h.n)(()=>this.send$(dt,Dt)))):this.send$(dt,Dt)})).subscribe({next:()=>{},error:dt=>{(0,ct.Vg)(ct.OW,dt)}})}send$(Ve,dt){const Dt=[];for(const[wt,Yt]of dt){const Tt=Ve.outputEventInfos?.[wt];void 0!==Tt&&(void 0===Dt.find(We=>We.reportId===Tt?.reportId)&&Dt.push(Tt?.generator()),Tt.state=Yt)}return(0,xe.p)(Dt.map(wt=>{const Yt=[];return kt.fN.forEach(Tt=>{const qt=Ve.outputEventInfos?.[Tt];void 0!==qt&&qt.reportId===wt.reportId&&(Yt.push({usage:Tt,isSet:qt?.state??!1}),qt.state&&(wt.data=qt.setter(qt.state,wt.data)))}),(0,d.H)(Ve.device.sendReport(wt.reportId,wt.data)).pipe((0,Fe.M)(()=>{(0,ct.Vv)(ct.OW,`Send Actions to Headset on report ${wt.reportId}:`,Yt.map(Tt=>`${kt.Mt[Tt.usage]} (0x${Tt.usage.toString(16).padStart(2,"0")}) : ${Tt.isSet}`).join(", ")),(0,ct.Vv)(ct.OW,"Send report with",`reportId: ${wt.reportId} `,`data: ${wt.data}`)}))}))}onInputReport(Ve,dt,Dt){Dt.length>0&&(0,ct.Vv)(ct.OW,`Received states on report id ${dt.reportId}:`,Dt.map(Tt=>`${kt.HO[Tt.usage]} (0x${Tt.usage.toString(16).padStart(2,"0")}) : ${Tt.isSet}`).join(", "));const wt=this.callState.activeCall!==Qe.o.NO_CALL,Yt=this.callState.ringingCalls.values().next()?.value;return Dt.map(({usage:Tt,isSet:qt})=>{switch(Tt){case kt.HO.HOOK_SWITCH:if(Ve.hookState!==qt)if(Ve.hookState=qt,qt){if(void 0!==Yt)return[{CallId:Yt,Action:F.T.AcceptCall}]}else if(wt)return[{CallId:this.callState.activeCall,Action:F.T.TerminateCall}];break;case kt.HO.PHONE_MUTE:if(wt&&qt)return[{CallId:this.callState.activeCall,Action:F.T.ToggleMuteCall}];break;case kt.HO.PROGRAMMABLE_TELEPHONY_BUTTON:case kt.HO.PROGRAMMABLE_BUTTON:if(qt&&void 0!==Yt)return[{CallId:Yt,Action:F.T.RejectCall}];break;case kt.HO.FLASH:if(qt)return void 0!==Yt?[{CallId:Yt,Action:F.T.AcceptCall}]:[{CallId:-1,Action:F.T.FlashCall}]}return[]}).flat()}}var Xe=l(96106);const ve=H().getParser(window.navigator.userAgent);let he=(()=>{class Pe{impl$;headsetEvents$;diagnostics$;AvailableHeadsets;emptyHeadset={value:"",label:"_i18n.HeadSetNone"};allHeadSets=[this.emptyHeadset,{value:"yealinkHID",label:"Yealink"},{value:"generic",label:"_i18n.UniversalHeadsetDriver"},{value:"jabraLegacy",label:"_i18n.JabraLegacy"},{value:"plantronicsLegacy",label:"_i18n.PlantronicsLegacy",prohibitedPlatforms:[{firefox:">0"}]}];headsetManagers={};incomingCalls=new Set;outgoingCalls=new Set;establishedCalls=new Set;constructor(){const dt=(0,o.WQX)(O.sj),Dt=(0,o.WQX)(o.SKi);this.AvailableHeadsets=this.allHeadSets.filter(Yt=>this.isHeadsetAvailable(Yt.value));const wt=(0,Xe.lB)(dt,x.Hh.SelectedHeadset,"").pipe((0,f.T)(Yt=>{const Tt=this.normalizeHeadsetName(Yt);return this.isHeadsetAvailable(Tt)?Tt:this.emptyHeadset.value}),(0,g.F)());this.impl$=wt.pipe((0,h.n)(Yt=>this.headsetManagers[Yt]?(0,y.of)(this.headsetManagers[Yt]):"generic"===Yt?(this.headsetManagers[Yt]=new ie,(0,y.of)(this.headsetManagers[Yt])):"yealinkHID"===Yt?(0,d.H)(l.e(1786).then(l.bind(l,77540))).pipe((0,f.T)(Tt=>(this.headsetManagers[Yt]=new Tt.YealinkHidService,this.headsetManagers[Yt]))):"jabraLegacy"===Yt?(0,d.H)(Promise.all([l.e(2076),l.e(1532)]).then(l.bind(l,33197))).pipe((0,f.T)(Tt=>(this.headsetManagers[Yt]=new Tt.JabraHeadsetClientService,this.headsetManagers[Yt]))):"plantronicsLegacy"===Yt?(0,d.H)(l.e(7530).then(l.bind(l,59620))).pipe((0,f.T)(Tt=>(this.headsetManagers[Yt]=new Tt.PlantronicsService,this.headsetManagers[Yt]))):(0,y.of)(new K)),(0,M.u)({connector:()=>new A.m(1)})),this.headsetEvents$=this.impl$.pipe((0,h.n)(Yt=>Yt.headsetEvents$),(0,_.Q)((0,ee.v)(Dt,D.E)),(0,M.u)({resetOnRefCountZero:!0,connector:()=>new w.B})),this.diagnostics$=this.impl$.pipe((0,h.n)(Yt=>Yt.diagnostics$),(0,_.Q)((0,ee.v)(Dt,D.E)))}normalizeHeadsetName(dt){return["jabra","plantronics","sennheiser"].includes(dt)?"generic":dt}isHeadsetAvailable(dt){const Dt=this.allHeadSets.find(wt=>wt.value.toLocaleLowerCase()===(dt||"").toLocaleLowerCase());return!(Dt?.value&&!("hid"in navigator)||(Dt&&Dt.allowedPlatforms&&Dt.allowedPlatforms.length>0?!Dt.allowedPlatforms.find(wt=>ve.satisfies(wt)):Dt&&Dt.prohibitedPlatforms&&Dt.prohibitedPlatforms.length>0?Dt.prohibitedPlatforms.find(wt=>ve.satisfies(wt)):!Dt))}execAction(dt){this.impl$.pipe((0,C.s)(1)).subscribe(Dt=>dt(Dt))}incomingCall(dt,Dt){this.incomingCalls.add(dt),this.execAction(wt=>wt.incomingCall(dt,Dt))}
1outgoingCall(dt,Dt){this.outgoingCalls.add(dt),this.execAction(wt=>wt.outgoingCall(dt,Dt))}callAccepted(dt){this.incomingCalls.has(dt)?(this.incomingCalls.delete(dt),this.establishedCalls.add(dt),this.execAction(Dt=>Dt.incomingCallAccepted(dt))):this.outgoingCalls.has(dt)&&(this.outgoingCalls.delete(dt),this.establishedCalls.add(dt),this.execAction(Dt=>Dt.outgoingCallAccepted(dt)))}reset(){const dt=Array.from(this.establishedCalls).concat(Array.from(this.incomingCalls),Array.from(this.outgoingCalls));this.establishedCalls.clear(),this.incomingCalls.clear(),this.outgoingCalls.clear(),this.execAction(Dt=>{dt.forEach(wt=>Dt.terminateCall(wt))})}terminateCall(dt){this.outgoingCalls.delete(dt),this.incomingCalls.delete(dt),this.establishedCalls.delete(dt),this.execAction(Dt=>Dt.terminateCall(dt))}holdCall(dt){this.execAction(Dt=>Dt.holdCall(dt))}resumeCall(dt){this.execAction(Dt=>Dt.resumeCall(dt))}mute(dt,Dt){this.execAction(wt=>wt.mute(dt,Dt))}connectDevice(){this.execAction(dt=>dt.connectDevice())}static \u0275fac=function(Dt){return new(Dt||Pe)};static \u0275prov=o.jDH({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})()},30782(ot,V,l){"use strict";l.d(V,{B:()=>_,d:()=>C});var f=l(92771),g=l(983),h=l(1211);class _{constructor(y){Object.assign(this,y)}get myWebRtcCallId(){return this.lastWebRTCState.Id}lastWebRTCState;peerConnection;remoteStream$=new f.m(1);localStream;isActive;isMuted;isVideoCall;audio;get isVideoSend(){return!!this.video}isVideoReceived;video;toneSend$=g.w;isNegotiationInProgress}const C=new _({lastWebRTCState:new h.aw_({sdpType:h.Pqd.WRTCInitial,holdState:h.sER.WebRTCHoldState_NOHOLD})})},33238(ot,V,l){"use strict";l.d(V,{K:()=>g});var f=l(20039);class g extends((0,f.mS)({hasNewCalls:!1,isNewCallAllowed:!0,calls:(0,f.B8)(),hiddenCalls:(0,f.B8)()})){}},27199(ot,V,l){"use strict";l.d(V,{I:()=>h,b:()=>g});const f=new RegExp("[^%+*#0-9a-zA-Z]","g");function g(_){return _?_.replace(f,""):""}function h(_,C){if(!C)return!1;const o=g(C);if(0===o.length)return!1;function y(d){return void 0!==d&&d.includes(o)}return y(_.extension)||y(_.mobile)||y(_.mobile2)||y(_.business)||y(_.business2)||y(_.home)||y(_.businessFax)||y(_.other)||y(_.pager)}},83762(ot,V,l){"use strict";l.d(V,{Kk:()=>M,c7:()=>D,le:()=>y,nt:()=>A,rW:()=>d,z2:()=>C});var f=l(1211),g=l(40678),h=l(27199),_=l(48615);function C(w){return null!=w}function y(w){const O=new f.roJ;return O.ActionIfRinging=f.Os3.RA_Busy,O.LocalConnectionId=w.localConnectionId,O.IsLocal=!0,O}function d(w,O,x){(O.isIncoming||O.isPickedUp)&&O.contact.crmUrl&&!O.isUrlAutoOpened&&"MakeCall"!==O.phone&&"LiveChat"!==O.phone&&O.state===f.Tll.Connected&&O.otherPartyDnType===f.Jhl.ExternalLine&&!x&&(w.openUrl(O.contact.crmUrl),O.isUrlAutoOpened=!0)}function M(w){const O=w.media;return!w.isHold&&w.media.lastWebRTCState.sdpType===f.Pqd.WRTCConfirmed&&O.audio&&O.audio.dtmf&&(!(_.H8||_.UP)||O.audio.dtmf.canInsertDTMF)}function A(w,O,x){function N(){const q=(0,h.b)(O.phone);O.integrationUrl=x.integrationsUrl.replace("%CallerNumber%",q).replace("%CallerDisplayName%",O.displayName||q||"")}if(void 0!==O.displayName&&"LiveChat"!==O.phone)if(O.integrationUrl)try{new URL(O.integrationUrl).searchParams.get("displayName")!==O.displayName&&N()}catch{}else N();(O.isIncoming||O.isPickedUp)&&O.integrationUrl&&!O.isUrlAutoOpened&&"MakeCall"!==O.phone&&"LiveChat"!==O.phone&&(x.launchIntegrationWhen===g.im.Ringing&&O.state===f.Tll.Ringing||x.launchIntegrationWhen===g.im.Connected&&O.state===f.Tll.Connected)&&O.otherPartyDnType===f.Jhl.ExternalLine&&(w.openUrl(O.integrationUrl),O.isUrlAutoOpened=!0)}function D(w,O,x){(O.isIncoming||O.isPickedUp)&&x.autoOpenUrl===g.Vz.ClientCrmUrl&&!O.isUrlAutoOpened&&"MakeCall"!==O.phone&&(x.callLo
1okup===g.y7.Ringing&&O.state===f.Tll.Ringing||x.callLookup===g.y7.Connected&&O.state===f.Tll.Connected)&&O.otherPartyDnType===f.Jhl.ExternalLine&&("LiveChat"!==O.phone&&O.phone&&"LiveChat"!==O.phone&&O.phone?(w.openClientCrmUrl(O.phone,void 0),O.isUrlAutoOpened=!0):O.contact.emailAddress&&(w.openClientCrmUrl(void 0,O.contact.emailAddress),O.isUrlAutoOpened=!0))}},20284(ot,V,l){"use strict";l.d(V,{u:()=>Lt});var f=l(18530),g=l(57786),h=l(84572),_=l(7673),C=l(92771),o=l(88141),y=l(983),d=l(71985),M=l(62087),A=l(18810),D=l(25558),w=l(96354),O=l(23294),x=l(99172),N=l(63489),q=l(53993),K=l(97647),te=l(96697),H=l(99437),ee=l(20140),F=l(85802),J=l(38601),ne=l(16444),de=l(73042),Le=l(90558),ut=l(68739),Oe=l(1211),xe=l(30782);class Ce{myCallId;isWebRtcBrowserAgent;constructor(le,$){this.myCallId=le,this.isWebRtcBrowserAgent=$}isPushCall=!1;media=xe.d;isHold=!1;isTrying;isHidden;isReplaced;SIPDialogID;DeviceID;phone;tapiCallId;integrationUrl;displayName;otherPartyDisplayNameLC;lcCrmUrl;contact=ut.a3;callId;legId;localConnectionId;webRTCId;replacingConnectionId;fromPushWakeUpAction;state=Oe.Tll.UnknownState;conferenceType;conferenceOwner;conferenceId;deletedConnections=[];startedAt;isQueueCall;isHoldEnabled;isVideoEnabled;isDivertToVmAllowed;isMuteEnabled;isAnswerEnabled;isAutoAnswered;isConnCapabilitiesTransfer;isTransferEnabled;isRecordingEnabled;isAttTransferEnabled;isAttConferenceEnabled;joinToConnectionId;joinConferenceOtherConnectionId;isConferenceEnabled;isConferenceCall;deviceDirectControl;isRecording;isRecordingPaused;isIncoming;isUrlAutoOpened;isPickedUp;isSendingWebrtcRequest;prependNameToCID;notification;otherPartyCompanyContactRefs;otherPartyDn;otherPartyDnType;callScreening;get idCallLegInfo(){return`{ id: ${this.myCallId}, callId: ${this.callId}, legId: ${this.legId} }`}get isRinging(){return this.state===Oe.Tll.Ringing}get isBeingProcessed(){return this.media?.isNegotiationInProgress||this.isSendingWebrtcRequest}}var Te=l(33238),Fe=l(22040),Ke=l(20039);class Qe extends((0,Ke.mS)({hasNewCalls:!1,requestAttTransfer:void 0,requestAttConference:void 0,calls:(0,Ke.B8)()})){}var kt=l(40678),ct=l(19630),Pt=l(95195),Ze=l(60889),fe=l(12426),ie=l(42610),Xe=l(44652),ve=l(47625),he=l(96106),Pe=l(42181);class Ve{phoneNumber;isWebRTCCall;callId;tapiCallId;constructor(le,$,Ee,Et){this.phoneNumber=le,this.isWebRTCCall=$,this.callId=Ee,this.tapiCallId=Et}}class dt{myCallId;constructor(le){this.myCallId=le}}class Dt{myCallId;webRtcId;constructor(le,$){this.myCallId=le,this.webRtcId=$}}class wt{myCallId;localConnectionId;constructor(le,$){this.myCallId=le,this.localConnectionId=$}}class Yt{leftMyCallId;rightMyCallId;constructor(le,$){this.leftMyCallId=le,this.rightMyCallId=$}}class Tt{leftMyCallId;rightMyCallId;constructor(le,$){this.leftMyCallId=le,this.rightMyCallId=$}}class qt{myCallId;constructor(le){this.myCallId=le}}class We{myCallId;constructor(le){this.myCallId=le}}var yt=function(Me){return Me[Me.Answer=0]="Answer",Me[Me.Decline=1]="Decline",Me}(yt||{});class je{connection;isAnswer;constructor(le,$){this.connection=le,this.isAnswer=$}}class St{myCallId;contact;constructor(le,$){this.myCallId=le,this.contact=$}}var me=l(83762),rt=l(46062),bt=l(86908),we=l(62647),Mt=l(50644),p=l(33971);let Lt=(()=>{class Me{modalService=(0,F.WQX)(J.B);myphone=(0,F.WQX)(ne.gx);settingsService=(0,F.WQX)(Fe.h);callState=(0,F.WQX)(Pe.y);webrtcService=(0,F.WQX)(Ze.w$);deviceService=(0,F.WQX)(Le.gc);storage=(0,F.WQX)(fe.sj);contactService=(0,F.WQX)(Xe.D);notificationService=(0,F.WQX)(Pt.J);integrationService=(0,F.WQX)(ct.a);headsetService=(0,F.WQX)(bt.i);logger=(0,F.WQX)(we.Vy);myCalls$;callControl=new f.B;myCallId=0;refresh$=new f.B;lastDialerNumber;pushDeviceRegistration$;numberBlacklisted$=new f.B;constructor(){const $=this.deviceService,Ee=this.integrationService,Et=(0,he.lB)(this.storage,ie.Hh.AutoAnswer,!1),dn=this.myphone.myPhoneSession.pipe((0,D.n)(an=>an.myInfo.ActiveDevices$));this.pushDeviceRegistration$=dn.pipe((0,w.T)(an=>an.Items?.find(Nt=>Nt.UserAgent===Le.N9))),this.myCalls$=this.myphone.myPhoneSession.pipe((0,D.n)(an=>{const Nt=an.myInfo$.pipe((0,w.T)(Dn=>Dn.AllowControlOwnRecordings),(0,O.F)()),at=an.systemParameters$.pipe((0,w.T)(Dn=>Dn.MultiCompanyMode)),st=an.myInfo.Connections$.pipe((0,w.T)(Dn=>Dn&&Dn.Items?Dn.Items:[])),zt=(0,g.h)((0,h.z)([st.pipe((0,Mt.lc)(this.refresh$)),this.pushDeviceRegistration$,$.selectedPhoneDevice$,this.webrtcService.mediaDevice$,this.webrtcService.webRTCEndpoint$,an.connectionsDeleted$.pipe((0,x.Z)([]))]),this.callControl).pipe((0,N.i)((Dn,hn)=>{if(hn instanceof Ve)return this.contactService.requestContactByNumber(hn.phoneNumber).pipe((0,w.T)(Vn=>this.handleNewCallReq(Dn,hn,an,Vn)));if(hn instanceof je)return(0,_.of)(this.handleRequestWakeUpPush(Dn,hn));if(hn instanceof Dt)return(0,_.of)(this.assignWebRTCId(Dn,hn));if(hn instanceof wt)return(0,_.of)(this.assignLocalConnectionId(Dn,hn));if(hn instanceof dt)return(0,_.of)(this.handleRemoveNewCallReq(Dn,hn));if(hn instanceof We)return(0,_.of)(this.handleRemoveDroppingCallReq(Dn,hn));if(hn instanceof Yt)return(0,_.of)(this.handleRequestAttTransfer(Dn,hn));if(hn instanceof Tt)return(0,_.of)(this.handleRequestAttConference(Dn,hn));if(hn instanceof qt)return(0,_.of)(this.handleAttendedConferenceCallCompleted(Dn,hn));if(hn instanceof St)return(0,_.of)(this.assignFoundContact(Dn,hn,an));
1{const[Vn,Pn,xn,ei,ci,ri]=hn,fi=!!ci.DeviceContact&&""!==ci.DeviceContact;return(0,_.of)(this.handleCalls(Dn,Vn.length>0?Vn:[],an,xn,ei,Pn?.Contact,fi,ri))}},new Qe,1));return(0,h.z)([zt,Nt]).pipe((0,q.E)(this.settingsService.generalSettings$,Et,at),(0,w.T)(Dn=>{const[[hn,Vn],Pn,xn,ei]=Dn,ci=hn.calls;let ri=hn.requestAttTransfer&&ci.find(An=>!An.isHidden&&An.myCallId===hn.requestAttTransfer?.leftMyCallId),fi=hn.requestAttTransfer&&ci.find(An=>!An.isHidden&&An.myCallId===hn.requestAttTransfer?.rightMyCallId);const so=ri&&fi;so||(ri=void 0,fi=void 0);let Li=hn.requestAttConference&&ci.find(An=>!An.isHidden&&An.myCallId===hn.requestAttConference?.leftMyCallId),Cn=hn.requestAttConference&&ci.find(An=>!An.isHidden&&An.myCallId===hn.requestAttConference?.rightMyCallId);const ti=Li&&Cn;ti||(Li=void 0,Cn=void 0);const si=!ci.some(An=>An.isTrying||An.state===Oe.Tll.Dialing);ci.forEach(An=>{const Ki=!An.isWebRtcBrowserAgent||An.media!==xe.d,Hi=Ki&&An.media.lastWebRTCState.holdState===Oe.sER.WebRTCHoldState_HOLD,Wi=Ki&&An.media.lastWebRTCState.holdState===Oe.sER.WebRTCHoldState_NOHOLD;An.state===Oe.Tll.Connected&&(An.isHold&&!Hi?(An.isWebRtcBrowserAgent&&this.headsetService.resumeCall(An.myCallId),this.callState.resumeCall(An)):!An.isHold&&Hi&&(An.isWebRtcBrowserAgent&&this.headsetService.holdCall(An.myCallId),this.callState.holdCall(An))),An.isHold=Hi;const qi=Hi||Wi;switch(An.isTransferEnabled=qi&&An.state===Oe.Tll.Connected&&An.isConnCapabilitiesTransfer,An.isRecordingEnabled=Vn&&An.isTransferEnabled&&!Hi,Pn.autoOpenUrl){case kt.Vz.Off:break;case kt.Vz.CrmUrl:(0,me.rW)(Ee,An,ei);break;case kt.Vz.IntegrationsUrl:(0,me.nt)(Ee,An,Pn);break;case kt.Vz.ClientCrmUrl:(0,me.c7)(Ee,An,Pn)}An.isAttTransferEnabled=qi&&An.deviceDirectControl&&An.isTransferEnabled&&si&&!so,An.joinToConnectionId=An===fi&&ri?ri.localConnectionId:An===ri&&fi?fi.localConnectionId:void 0,An.isAttConferenceEnabled=qi&&An.deviceDirectControl&&An.isTransferEnabled&&si&&!ti,An.joinConferenceOtherConnectionId=An===Cn&&Li?Li.localConnectionId:An===Li&&Cn?Cn.localConnectionId:void 0,An.isConferenceEnabled=qi&&An.deviceDirectControl&&An.isTransferEnabled&&si,An.isConferenceCall=An.phone===an.conferenceGateway,An.isHoldEnabled=!An.media.isNegotiationInProgress&&Wi&&An.isWebRtcBrowserAgent&&An.state===Oe.Tll.Connected,An.isMuteEnabled=An.isHoldEnabled,An.isVideoEnabled=An.isHoldEnabled,An.isAnswerEnabled=(An.state===Oe.Tll.Ringing||An.state===Oe.Tll.Dialing&&An.isWebRtcBrowserAgent)&&An.deviceDirectControl,xn&&An.isAnswerEnabled&&!An.isAutoAnswered&&!(0,ve.f)(this.storage)&&(1===ci.size&&this.answer(An,!1),An.isAutoAnswered=!0)}),ci.sort((An,Ki)=>Ki.myCallId-An.myCallId);const Ei=An=>An.isHidden;return new Te.K({calls:ci.filter(An=>!Ei(An)),hiddenCalls:ci.filter(An=>Ei(An)),hasNewCalls:hn.hasNewCalls,isNewCallAllowed:si})}))}),(0,x.Z)(new Te.K),(0,K.u)({connector:()=>new C.m(1)}))}handleRequestAttTransfer($,Ee){return $.merge({requestAttTransfer:Ee})}handleRequestAttConference($,Ee){return $.merge({requestAttConference:Ee})}handleAttendedConferenceCallCompleted($,Ee){const Et=$.requestAttTransfer&&$.calls.find(dn=>!dn.isHidden&&(dn.myCallId===$.requestAttTransfer?.rightMyCallId||dn.myCallId===$.requestAttTransfer?.leftMyCallId));return $.merge({requestAttConference:void 0,...Et?{requestAttTransfer:void 0}:{}})}handleRemoveDroppingCallReq($,Ee){const Et=$.calls.find(dn=>dn.myCallId===Ee.myCallId);return Et&&(Et.isHidden=!0),$}handleNewCallReq($,Ee,Et,dn){const an=new Ce(Ee.callId,Ee.isWebRTCCall);return an.isTrying=!0,an.phone=Ee.phoneNumber,an.tapiCallId=Ee.tapiCallId,an.contact=dn,an.displayName=Et.systemParameters.IsLastFirst?dn.lastNameFirstName:dn.firstNameLastName,this.logger.showInfo({loggingLevel:we.yV,message:`Creating new trying outgoing call ${an.myCallId} to following destination: ${an.phone}`}),$.merge({calls:$.calls.insert(0,an),hasNewCalls:!0})}handleRequestWakeUpPush($,Ee){const Et=$.calls.find(dn=>dn.localConnectionId===Ee.connection.Id);if(Et)return Ee.isAnswer?this.answer(Et,!1):this.drop(Et),$;{const dn=new Ce(this.myCallId++,!0);return dn.localConnectionId=Ee.connection.Id,dn.phone=Ee.connection.OtherPartyDisplayName,dn.displayName=Ee.connection.OtherPartyDisplayName,dn.isAnswerEnabled=!1,dn.fromPushWakeUpAction=Ee.isAnswer?yt.Answer:yt.Decline,$.merge({calls:$.calls.insert(0,dn),hasNewCalls:!0})}}assignLocalConnectionId($,Ee){const Et=$.calls.find(dn=>dn.myCallId===Ee.myCallId);if(Et){if(Et.deletedConnections.includes(Ee.localConnectionId))return this.callControl.next(new dt(Et.myCallId)),$;Et.localConnectionId=Ee.localConnectionId}return $}assignWebRTCId($,Ee){const Et=$.calls.find(dn=>dn.myCallId===Ee.myCallId);return Et&&(Et.webRTCId=Ee.webRtcId),$}assignPersonalInformationFromContact($,Ee){const Et=$.otherPartyDisplayNameLC,dn={loggingLevel:we.yV,operationName:"AppendCallDisplayName"};de.Q.isNullOrEmpty(Et)?$.contact&&($.displayName=Ee.systemParameters.IsLastFirst?$.contact.lastNameFirstName:$.contact.firstNameLastName,dn.message=$.contact.
1isDummy?"Call display name is ruled by not founded contact":`Call display name is ruled by founded contact, appended: ${$.displayName}`):($.displayName=Et,$.contact&&($.contact.type===rt.eE.PersonalPhonebook||$.contact.type===rt.eE.DepartmentPhonebook)&&($.displayName=(0,p.bm)($.displayName,$.contact,Ee.systemParameters.IsLastFirst)),dn.message=`Call display name is ruled by Local Connection, appended: ${$.displayName}`),this.logger.showInfo(dn),$.lcCrmUrl?($.contact.crmUrl=$.lcCrmUrl,this.logger.showInfo({...dn,operationName:"AppendCallCrmURl",message:`CrmUrl appended: ${$.lcCrmUrl}`})):$.contact.crmUrl=""}assignFoundContact($,Ee,Et){const dn=$.calls.find(an=>an.myCallId===Ee.myCallId);return dn&&(dn.contact=Ee.contact,this.assignPersonalInformationFromContact(dn,Et)),$}handleRemoveNewCallReq($,Ee){return this.logger.showInfo({loggingLevel:we.yV,message:`Removing trying outgoing call ${Ee.myCallId}`}),$.merge({hasNewCalls:!1,calls:$.calls.filter(Et=>Et.myCallId!==Ee.myCallId)})}drop($){const Ee={loggingLevel:we.yV,requestState:we.jM,reqIndex:$.myCallId};$.replacingConnectionId=$.localConnectionId,this.deviceService.selectedPhoneDevice$.pipe((0,te.s)(1),(0,D.n)(Et=>{if((0,Le.F0)(Et)&&$.media&&$.media!==xe.d)return Ee.operationName="TerminateCallWebRTC",this.logger.showRequest({...Ee,message:`Sending request to terminate webRTC call ${$.idCallLegInfo}`}),this.webrtcService.drop($);{const dn=(0,me.le)($);return Ee.operationName="RequestDropCall",this.logger.showRequest({...Ee,message:`Sending request to call control API ${$.idCallLegInfo}`}),this.myphone.get(dn)}})).subscribe({next:()=>{this.logger.showRequest({...Ee,requestState:we.Ps,message:`Call terminated ${$.idCallLegInfo}`})},error:Et=>{this.logError($.myCallId,Et,Ee),this.onError(Et)}})}requestAttTransfer($,Ee){this.callControl.next(new Yt($,Ee))}requestAttConference($,Ee){this.callControl.next(new Tt($,Ee))}requestAttendedCallCompleted($){this.callControl.next(new qt($))}requestMakePushWakeUpCall($,Ee){this.callControl.next(new je($,Ee))}join$($,Ee,Et){const dn={loggingLevel:we.yV,requestState:we.jM,reqIndex:$,operationName:"JoinCalls"};return this.myphone.myPhoneSession.pipe((0,te.s)(1),(0,D.n)(an=>{if(!Et)throw new Error("_i18n.PhoneNotConnected");const Nt=new Oe.Dsb;return Nt.MovePartyOfLocalConnectionId=$,Nt.ReplaceLocalConnectionIdWithMovedParty=Ee,Nt.DeviceContact=Et,this.logger.showRequest({...dn,message:`Sending request to join calls LeftCallId:${$} RightCallId:${Ee} DeviceId:${Et}`}),an.get(Nt).pipe((0,o.M)(at=>{this.logger.showRequest({...dn,requestState:we.Ps,message:`Calls with ids ${$}, ${Ee} joined on Device:${Et}`})}),(0,H.W)(at=>this.logError($,at,dn)))}))}lookUpContact$($){const Ee={loggingLevel:we.yV,requestState:we.jM,reqIndex:$.myCallId,message:`Sending request for call with id ${$.myCallId}`,operationName:"LookupContact"};return this.logger.showRequest(Ee),this.contactService.requestContactByNumber($.phone).pipe((0,te.s)(1)).subscribe({next:Et=>{this.callControl.next(new St($.myCallId,Et)),this.logger.showRequest({...Ee,requestState:we.Ps,message:`Contact attached to call ${$.idCallLegInfo}`,optionalParams:[Et]})},error:Et=>{this.logError($.callId,Et,Ee),this.onError(Et)}})}answer($,Ee){this.deviceService.selectedPhoneDevice$.pipe((0,te.s)(1),(0,D.n)(Et=>{if((0,Le.F0)(Et)){if($.media&&$.media!==xe.d){if(!$.media.isNegotiationInProgress)return this.answerWithRegistration$($,Ee)}else if(!$.isSendingWebrtcRequest&&!$.isPickedUp)return $.isSendingWebrtcRequest=!0,this.pickUpIncomingCall$($,Ee);return y.w}{const an={loggingLevel:we.yV,operationName:"AutoAnswer",reqIndex:$.myCallId,requestState:we.jM,message:`Sending request to Call control API, Call ${$.idCallLegInfo}, Local Connection "${$.localConnectionId}"`};return this.logger.showRequest(an),this.myphone.get(new Oe.DGP({LocalConnectionId:$.localConnectionId})).pipe((0,o.M)(Nt=>{this.logger.showRequest(Nt.Success?{...an,requestState:we.Ps,message:`Call ${$.idCallLegInfo}, answered with Call Control API`}:{...an,requestState:we.hw,message:`Request "${$.myCallId}" failed`})}))}})).subscribe({error:Et=>{$.isSendingWebrtcRequest=!1,this.onError(Et)}})}answerWithRegistration$($,Ee){const Et={loggingLevel:we.yV,requestState:we.jM,reqIndex:$.myCallId,message:`Sending request to answer MyCall ${$.idCallLegInfo}`,operationName:"Answer"};return this.logger.showRequest(Et),this.webrtcService.answer($.media,Ee).pipe((0,o.M)(dn=>{$.webRTCId=dn.CallId,this.logger.showRequest({...Et,requestState:we.Ps,message:`WebRTC connection attached to MyCall ${$.idCallLegInfo}`})}),(0,H.W)(dn=>this.logError($.myCallId,dn,Et)))}pickUpNewCall$($,Ee,Et){const dn=this.myCallId++;this.callControl.next(new Ve(Ee,!0,dn));const an={loggingLevel:we.yV,requestState:we.jM,reqIndex:dn,message:`Sending request to pickup existing call with Local Connection "${$}"`,operationName:"PickUP"};return this.logger.showRequest(an),this.webrtcService.pickupCall($,dn,Et).pipe((0,o.M)(Nt=>{this.callControl.next(new Dt(dn,Nt.lastWebRTCState.Id)),this.logger.showRequest({...an,requestState:we.Ps,message:`WebRTC connection with ID ${Nt.lastWebRTCState.Id} attached to MyCall with ID ${dn}`})}),(0,H.W)(Nt=>this.handleTryingCallError(dn,Nt,an)))}pickUpIncomingCall$($,Ee){$.replacingConnectionId=$.localConnectionId,$.isPickedUp=!0;const Et={loggingLevel:we.yV,requestState:we.jM,reqIndex:$.myCallId,message:`Sending request to pickup from Local Connection ${$.localConnectionId} MyCall ${$.idCallLegInfo}`,operationName:"PickUp"};return this.logger.showRequest(Et),this.webrtcService.pickupCall($.localConnectionId,$.myCallId,Ee).pipe((0,o.M)(dn=>{this.callControl.next(new Dt($.myCallId,dn.lastWebRTCState.Id)),$.isSendingWebrtcRequest=!1,this.logger.showRequest({...Et,requestState:we.Ps,message:`WebRTC connection with ID ${dn.lastWebRTCState.Id} attached to MyCall ${$.idCallLegInfo}`})}),(0,H.W)(dn=>this.logError($.myCallId,dn,Et)))}bargeIn$($,Ee){const Et=this.myCallId++,dn={loggingLevel:we.yV,requestState:we.jM,reqIndex:Et,message:`Sending request to BargeIn into call with Local Connection ${$}`,operationName:"BargeIn"};return this.logger.showRequest(dn),this.callControl.next(new Ve(Oe.cW9[Ee],!0,Et)),this.webrtcService.makeBargeInCall($,Et,Ee).pipe((0,o.M)(an=>{this.callControl.next(new Dt(Et,an.lastWebRTCState.Id)),this.logger.showRequest({...dn,requestState:we.Ps,message:`WebRTC connection with ID ${an.lastWebRTCState.Id} attached to MyCall with ID ${Et}`})}),(0,H.W)(an=>this.handleTryingCallError(Et,an,dn)))}onError($){$&&$.source instanceof Oe.UsZ||"Invalid connection Id"!==$.message&&this.modalService.error($)}makeConnectedCall$($,Ee){return this.call$(Ee).pipe((0,D.n)(Et=>new d.c(dn=>this.myCalls$.subscribe({next:an=>{const Nt=an.calls.reduce((zt,Dn)=>(zt[Dn.localConnectionId]=Dn,zt),{}),at=Nt[$];let st;st=Et instanceof Oe.aw_?(0,Ke.B8)(Object.values(Nt)).find(zt=>zt.webRTCId===Et?.Id):(0,Ke.B8)(Object.values(Nt)).find(zt=>zt.localConnectionId===Et),at&&st?st.state===Oe.Tll.Connected&&(st.isWebRtcBrowserAgent&&st.media.lastWebRTCState.sdpType!==Oe.Pqd.WRTCConfirmed||dn.next([at,st])):dn.complete()},error:an=>dn.error(an),complete:()=>dn.complete()}
1))))}call$($,Ee,Et){$&&(this.lastDialerNumber=$);const dn={loggingLevel:we.yV,requestState:we.jM};return this.settingsService.preprocessPhoneNumber($).pipe((0,D.n)(an=>(0,h.z)([this.myCalls$,this.deviceService.selectedPhoneDevice$,this.myphone.myPhoneSession]).pipe((0,te.s)(1),(0,D.n)(Nt=>{const[at,st,zt]=Nt;if(!at.isNewCallAllowed)return y.w;const Dn=(0,Le.F0)(st)||!st,hn=this.myCallId++;let Vn;return dn.reqIndex=hn,this.callControl.next(new Ve(an,Dn,hn,Et)),Dn?(dn.operationName="WebRTCMakeCall",this.logger.showRequest({...dn,message:`Sending request to Destination: ${an}`}),Vn=this.webrtcService.makeCall(an,hn,Ee||!1).pipe((0,o.M)(Pn=>{this.callControl.next(new Dt(hn,Pn.lastWebRTCState.Id)),this.logger.showRequest({...dn,requestState:we.Ps,message:`WebRTC connection "${Pn.lastWebRTCState.Id}" attached to MyCall "${hn}"`})}),(0,w.T)(Pn=>Pn.lastWebRTCState))):(dn.operationName="RequestMakeCall",this.logger.showRequest({...dn,message:`Sending request to Destination: ${an} and device: ${st.Contact}`}),Vn=zt.get(new Oe.YHv({Destination:an,DeviceID:st.Contact,EnableCallControl:!0})).pipe((0,D.n)(Pn=>zt.get(new Oe.pVU({LocalConnectionId:Pn.LocalConnectionId})).pipe((0,ee.v)((0,_.of)(Pn)))),(0,o.M)(([Pn,xn])=>{Pn&&0!==Pn.ConnectionCapabilities?(this.callControl.next(new wt(hn,xn.LocalConnectionId)),this.refresh$.next(),this.logger.showRequest({...dn,requestState:we.Ps,message:`Local Connection "${xn.LocalConnectionId}" attached to MyCall "${hn}" and device: ${st.Contact}`})):(this.logger.showInfo({...dn,message:`Capabilities for connection with Id ${xn.LocalConnectionId} are missing, terminating the trying call...`}),this.callControl.next(new dt(hn)))}),(0,w.T)(([,Pn])=>Pn.LocalConnectionId))),Vn.pipe((0,te.s)(1),(0,H.W)(Pn=>this.handleTryingCallError(hn,Pn,dn)))}))))}callEstablishingInProgress=!1;call($,Ee){if(!this.callEstablishingInProgress)return this.callEstablishingInProgress=!0,this.call$($,Ee).pipe((0,te.s)(1)).subscribe({error:Et=>{this.modalService.error(Et)},complete:()=>{this.callEstablishingInProgress=!1}})}blockNumber$($){return $?this.modalService.confirmation("_i18n.BlockNumberConfirmation","_i18n.BlockNumber").pipe((0,D.n)(()=>this.myphone.myPhoneSession.pipe((0,w.T)(Ee=>Ee.myInfo.Number))),(0,D.n)(Ee=>this.myphone.get(new Oe._II({Number:$,Description:`Number blacklisted by extension ${Ee}`}))),(0,H.W)(Ee=>{throw Ee&&"object"==typeof Ee&&"source"in Ee&&Ee.source instanceof Oe.UsZ&&Ee.source.ErrorType===Oe.tGV.InvalidValue&&0===Ee.source.ErrorCode?new Error("_i18n.NumberCannotBeBlocked"):Ee}),(0,o.M)(()=>this.numberBlacklisted$.next($))):y.w}updateMyCallFromLocalConnection($,Ee,Et,dn,an){const Nt=Ee.OtherPartyCallerId;if($.isPushCall=Ee.DeviceContact===an,$.localConnectionId=Ee.Id,$.SIPDialogID=dn??[],$.deviceDirectControl=!!$.isWebRtcBrowserAgent||Ee.DeviceDirectControl,$.isRecording=Ee.Recording,$.isRecordingPaused=Ee.RecordingPaused,$.legId=Ee.LegId,$.isIncoming=Ee.IsIncoming,$.callId=Ee.CallId,$.isQueueCall=Ee.OriginatorType===Oe.Jhl.Queue,$.isDivertToVmAllowed=Ee.OriginatorType!==Oe.Jhl.Queue,$.DeviceID=Ee.DeviceContact,$.prependNameToCID=Et.systemParameters.PrependNameToCID,$.conferenceType=Ee.ConferenceType,$.conferenceOwner=Ee.ConferenceOwner,$.conferenceId=Ee.ConferenceStateID,Ee.State===Oe.Tll.UnknownState)return;const at=$.phone,st=$.state,zt=$.lcCrmUrl,Dn=$.otherPartyDisplayNameLC,hn=void 0===Ee.OtherPartyCompanyContactRefs?"":Ee.OtherPartyCompanyContactRefs.split(",")[0];($.phone!==Nt||$.otherPartyCompanyContactRefs!==hn||$.otherPartyDnType!==Ee.OtherPartyType||$.otherPartyDn!==Ee.OtherPartyDn||$.callScreening!==Ee.CallScreening)&&($.phone=Nt,$.callScreening=Ee.CallScreening,$.otherPartyDn=Ee.OtherPartyDn,$.otherPartyDnType=Ee.OtherPartyType,$.otherPartyCompanyContactRefs=hn,$.integrationUrl=void 0);const Vn=$.displayName;Ee.CrmContactUrl&&Ee.CrmContactUrl!==zt?($.lcCrmUrl=Ee.CrmContactUrl,$.otherPartyDisplayNameLC=Ee.OtherPartyDisplayName):!Ee.CrmContactUrl&&!de.Q.isNullOrEmpty($.lcCrmUrl)&&($.lcCrmUrl=""),$.otherPartyDisplayNameLC=Ee.OtherPartyDisplayName?Ee.OtherPartyDisplayName:"",$.state===Oe.Tll.Ringing&&(Ee.State===Oe.Tll.Connected||Ee.State===Oe.Tll.WaitingForNewParty)&&
1(this.callState.incomingCallAccepted($),this.logger.showInfo({loggingLevel:we.yV,message:`Incoming call accepted, ${$.idCallLegInfo}`})),$.state===Oe.Tll.Dialing&&Ee.State===Oe.Tll.Connected&&(this.callState.outgoingCallAccepted($),this.logger.showInfo({loggingLevel:we.yV,message:`Outgoing call accepted, ${$.idCallLegInfo}`})),$.state===Oe.Tll.Dialing&&Ee.State===Oe.Tll.Dialing&&this.callState.outgoingCall($),$.state=Ee.State,$.state===Oe.Tll.Connected&&st!==Oe.Tll.Connected&&$.isWebRtcBrowserAgent&&(this.headsetService.callAccepted($.myCallId),this.logger.showInfo({loggingLevel:we.yV,message:`webRTC Call established with SIPDialogID ${$.SIPDialogID?.[0]}, ${$.idCallLegInfo}`})),Ee.AnsweredAt&&($.startedAt=Et.protobufToClientTime(Ee.AnsweredAt).getTime()),$.isConnCapabilitiesTransfer=(Ee.CallCapabilitiesMask&Oe.h3E.CC_Transfer)===Oe.h3E.CC_Transfer,$.state===Oe.Tll.Ringing?(at!==$.phone||Vn!==$.displayName)&&this.notificationService.createCallNotification($,Et.domainUrl):this.notificationService.removeCallNotification($),at!==$.phone?($.contact=ut.a3,this.lookUpContact$($)):($.otherPartyDisplayNameLC!==Dn||$.lcCrmUrl!==zt)&&this.assignPersonalInformationFromContact($,Et)}handleCalls($,Ee,Et,dn,an,Nt,at,st){const zt=(0,Le.F0)(dn),Dn=Ee.reduce((Cn,ti)=>(Cn[ti.Id]=ti,Cn),{}),hn=Ee.reduce((Cn,ti)=>{let si=Cn[ti.CallId];return si||(si=[],Cn[ti.Id]=si),si.push(ti.SIPDialogID),Cn},{}),Vn={},Pn=$.calls.map(Cn=>{if(Cn.isTrying)return Cn.deletedConnections=Cn.deletedConnections.concat(st.map(ti=>ti.Id)),Cn;if(Cn.deletedConnections=[],Cn.localConnectionId&&!Cn.callId){const ti=Object.values(Dn).find(si=>si.Id===Cn.localConnectionId);ti&&(this.updateMyCallFromLocalConnection(Cn,ti,Et,hn[ti.Id],Nt),Cn.fromPushWakeUpAction===yt.Answer&&this.answer(Cn,!1),Cn.fromPushWakeUpAction===yt.Decline&&this.drop(Cn),delete Dn[Cn.callId])}if(zt&&Cn.webRTCId){const ti=an.find(An=>Cn.webRTCId===An.lastWebRTCState.Id);if(!ti)return void this.headsetService.terminateCall(Cn.myCallId);const si=ti.lastWebRTCState;si.SIPDialogID&&(Cn.SIPDialogID?.includes(si.SIPDialogID)||(Cn.SIPDialogID=[si.SIPDialogID],Cn.media=ti,Cn.isWebRtcBrowserAgent=!0));const Ei=Object.values(Dn).find(An=>Cn.SIPDialogID?.includes(An.SIPDialogID));Ei?(this.updateMyCallFromLocalConnection(Cn,Ei,Et,[si.SIPDialogID],Nt),delete Dn[Cn.localConnectionId],delete Vn[Cn.myCallId]):Vn[Cn.myCallId]=Cn}else{const ti=Dn[Cn.localConnectionId];if(!ti)return void this.headsetService.terminateCall(Cn.myCallId);delete Dn[ti.Id],this.updateMyCallFromLocalConnection(Cn,ti,Et,hn[ti.Id],Nt)}return Cn}).filter(me.z2),xn=Pn.find(Cn=>Cn.isTrying);zt?an.forEach(Cn=>{xn&&Cn.lastWebRTCState.Id===xn.webRTCId&&(xn.isTrying=!1)}):Object.values(Dn).forEach(Cn=>{xn&&Cn.Id===xn.localConnectionId&&(xn.isTrying=!1,Vn[xn.myCallId]=xn,this.updateMyCallFromLocalConnection(xn,Cn,Et,hn[Cn.Id],Nt))}),Object.values(Dn).forEach(Cn=>{if(Cn.ReplacesCall&&Cn.ReplacesLeg){const ti=Pn.find(si=>si.callId===Cn.ReplacesCall&&si.legId===Cn.ReplacesLeg);if(ti){const si=new Ce(this.myCallId++,ti.isWebRtcBrowserAgent);Object.assign(si,ti),si.isHidden=!0,si.isReplaced=!0,Pn.push(si),this.updateMyCallFromLocalConnection(ti,Cn,Et,hn[Cn.Id],Nt),delete Dn[Cn.Id]}}});const ei=Pn.reduce((Cn,ti)=>(Cn[ti.myCallId]=ti,Cn),{});$.calls.forEach(Cn=>{!ei[Cn.myCallId]&&!Cn.isReplaced&&(this.callState.terminateCall(Cn),this.notificationService.removeCallNotification(Cn))});const ri=(0!==Object.values(Vn).length||Pn.find(Cn=>Cn.isTrying)?(0,Ke.B8)([]):(0,Ke.B8)(Object.values(Dn)).filter(Cn=>zt&&!at?Cn.DeviceContact===Nt:Cn.DeviceContact===dn?.Contact).map(Cn=>{if(!Cn||$.calls.some(si=>si.replacingConnectionId===Cn?.Id))return;const ti=new Ce(this.myCallId++,dn?.UserAgent===Le.$S);return this.updateMyCallFromLocalConnection(ti,Cn,Et,hn[Cn.Id],Nt),this.logger.showInfo({loggingLevel:we.yV,message:`New incoming call from Local Connection, ${ti.idCallLegInfo}`}),zt&&this.headsetService.incomingCall(ti.myCallId,ti.media.lastWebRTCState),ti})).filter(me.z2),fi=an.map(Cn=>{const ti=Object.values(Dn).find(Ei=>Ei.SIPDialogID===Cn.lastWebRTCState.SIPDialogID&&!$.calls.some(An=>
1An.SIPDialogID?.includes(Ei.SIPDialogID)));if(!ti)return;const si=new Ce(this.myCallId++,(0,Le.q8)(dn));return si.media=Cn,this.updateMyCallFromLocalConnection(si,ti,Et,hn[ti.Id],Nt),this.headsetService.incomingCall(si.myCallId,si.media.lastWebRTCState),si}).filter(me.z2),so=ri.concat(fi),Li=so.concat(Pn);return $.merge({calls:Li,hasNewCalls:!so.isEmpty()})}terminateHeadsetCall($){this.headsetService.terminateCall($)}logError($,Ee,Et){return Et&&this.logger.showRequest({...Et,loggingLevel:we.yV,requestState:we.hw,message:`Request "${$}" failed`}),Ee instanceof M.M?y.w:(0,A.$)(()=>Ee)}handleTryingCallError($,Ee,Et){return(0,Ze.nQ)(this.webrtcService.getLastOutgoingMedia()),this.headsetService.terminateCall($),this.callControl.next(new dt($)),Et?this.logError($,Ee,Et):Ee instanceof M.M?y.w:(0,A.$)(()=>Ee)}static \u0275fac=function(Ee){return new(Ee||Me)};static \u0275prov=F.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}return Me})()},24659(ot,V,l){"use strict";l.d(V,{t:()=>M});var f=l(85802),g=l(59882),h=l(68018),_=l(5964),C=l(96354),o=l(44668),y=l(25558),d=l(7673);let M=(()=>{class A{title$;constructor(){const w=(0,f.WQX)(g.Ix),O=(0,f.WQX)(h.c$);this.title$=w.events.pipe((0,C.T)(x=>x instanceof g.wF?x:x instanceof g.OY&&x.routerEvent instanceof g.wF?x.routerEvent:null),(0,_.p)(Boolean),(0,y.n)(x=>{const N=w.currentNavigation()?.extras.state;if(N?.title)return O.stream(N?.title);{const q=this.getDeepestTitle(w.routerState.snapshot.root);return q?O.stream(q):(0,d.of)("")}}),(0,o.t)({refCount:!1,bufferSize:1}))}getDeepestTitle(w){let O=w.data?w.data.title:"";return w.firstChild&&(O=this.getDeepestTitle(w.firstChild)||O),O}static \u0275fac=function(O){return new(O||A)};static \u0275prov=f.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},50644(ot,V,l){"use strict";l.d(V,{H9:()=>o,lc:()=>d,ug:()=>y});var f=l(92771),g=l(84572),h=l(96354),_=l(97647),C=l(99172);const o=()=>M=>M.pipe((0,_.u)({connector:()=>new f.m(1),resetOnError:!1,resetOnComplete:!1})),y=()=>M=>M.pipe((0,_.u)({connector:()=>new f.m(1),resetOnComplete:!1,resetOnRefCountZero:!1})),d=M=>A=>(0,g.z)([A,M.pipe((0,C.Z)(null))]).pipe((0,h.T)(([D])=>D))},96106(ot,V,l){"use strict";l.d(V,{A4:()=>de,AI:()=>Oe,EK:()=>Ke,Or:()=>F,Pr:()=>ut,Sf:()=>Ce,Tg:()=>Le,Y$:()=>xe,ee:()=>ne,kx:()=>kt,lB:()=>J,nx:()=>Te,tN:()=>ee,yh:()=>Qe});var C=l(71985),o=l(59030),y=l(7673),d=l(18810),M=l(983),A=l(25558),D=l(99437),w=l(77498),O=l(70980),x=l(96354),N=l(88141),q=l(54999),K=l(1211),te=l(91413),H=l(91968);const ee=300,F=()=>ct=>ct.pipe((0,A.n)(Pt=>Pt?(0,y.of)(Pt).pipe((0,w.c)(ee)):(0,y.of)(Pt)));function J(ct,Pt,Ze){return new C.c(fe=>(fe.next(ct.retrieve(Pt)??Ze),ct.observe(Pt).pipe((0,x.T)(ie=>ie??Ze)).subscribe(fe)))}const ne=ct=>Pt=>Pt.pipe((0,D.W)(Ze=>(console.warn(ct,Ze),M.w))),de=()=>ct=>ct.pipe((0,D.W)(()=>M.w)),Le=ct=>Pt=>Pt.pipe((0,D.W)(Ze=>(ct.error(Ze),M.w))),ut=(ct,Pt)=>Ze=>Ze.pipe(Oe(404,ct,Pt?[Pt]:[])),Oe=(ct,Pt,Ze=[])=>fe=>fe.pipe((0,D.W)(ie=>(0,d.$)(()=>ie instanceof te.yz&&ie.status===ct?new Error((0,H.U)(Pt,Ze)):ie))),xe=()=>ct=>ct.pipe((0,D.W)(Pt=>Pt instanceof te.yz&&404===Pt.status?(0,y.of)(void 0):(0,d.$)(()=>Pt))),Ce=ct=>Pt=>Pt.pipe((0,A.n)(Ze=>Ze.decision===q.R.Ok&&null!=(Ze.payload??ct)?(0,y.of)(Ze.payload??ct):M.w)
1),Te=ct=>ct.pipe((0,A.n)(({decision:Pt})=>Pt===q.R.Ok?(0,y.of)(void 0):M.w));function Ke(ct){return ct.pipe((0,A.n)(([Pt,Ze])=>{if(Pt){if(Pt?.OwnerDn===Ze.myInfo.Number)return(0,y.of)(Pt);{const fe=new K.pVU;return fe.LocalConnectionId=Pt.Id,Ze.get(fe).pipe((0,x.T)(ie=>(Pt.CallCapabilitiesMask=ie.ConnectionCapabilities,Pt)))}}return M.w}))}function Qe(ct){return ct.pipe((0,x.T)(({value:Pt})=>Pt??[]))}function kt(ct){return Pt=>(0,o.v)(()=>{let Ze;return Pt.pipe((0,N.M)(fe=>Ze=fe),(0,O.j)(()=>ct(Ze)))})}},89324(ot,V,l){"use strict";l.d(V,{G:()=>F});var f=l(85802),g=l(48615),h=l(68018),_=l(22972),C=l(40953),o=l(54999),y=l(35547);function d(J,ne){1&J&&(y.j41(0,"p"),y.EFF(1),y.nI1(2,"translate"),y.k0s()),2&J&&(y.R7$(),y.JRh(y.bMT(2,1,ne)))}let M=(()=>{class J extends _.m{buttons=o.P.OkCancel;showCeDeprecation=!1;isPwaInstallAvailable;getPayload(){return{installPwaApp:!0}}get dialogTitle(){return this.showCeDeprecation?"_i18n.DeprecateExtensionTitlePwa":"_i18n.Install3cxPwa"}get dialogMainInfo(){return this.showCeDeprecation?"_i18n.DeprecateExtensionMainInfoPwa":""}static \u0275fac=(()=>{let de;return function(ut){return(de||(de=y.xGo(J)))(ut||J)}})();static \u0275cmp=y.VBU({type:J,selectors:[["ng-component"]],hostVars:2,hostBindings:function(Le,ut){2&Le&&y.AVh("modal-pwa",!0)},inputs:{showCeDeprecation:"showCeDeprecation",isPwaInstallAvailable:"isPwaInstallAvailable"},features:[y.Vt3],decls:16,vars:12,consts:[["okText","_i18n.InstallNow","cancelText","_i18n.Close",3,"submitted","header","buttons","okDisabled"],[1,"modal-text"],[3,"translate"],[3,"innerHTML"]],template:function(Le,ut){if(1&Le&&(y.j41(0,"app-modal-dialog",0),y.bIt("submitted",function(){return ut.onSubmit()}),y.nVh(1,d,3,3,"p"),y.j41(2,"ul",1)(3,"li",2),y.EFF(4,"Eliminates login and tabs."),y.k0s(),y.j41(5,"li",2),y.EFF(6,"Get notified for incoming calls or chats."),y.k0s(),y.j41(7,"li",2),y.EFF(8,"Automatic updates."),y.k0s(),y.j41(9,"li",2),y.EFF(10,"Runs securely within your browser."),y.k0s(),y.j41(11,"li",2),y.EFF(12,"Use in tandem with iOS, Android & deskphone."),y.k0s(),y.j41(13,"li"),y.nrm(14,"span",3),y.nI1(15,"translate"),y.k0s()()()),2&Le){let Oe;y.Y8G("header",ut.dialogTitle)("buttons",ut.buttons)("okDisabled",!ut.isPwaInstallAvailable),y.R7$(),y.vxM((Oe=ut.dialogMainInfo)?1:-1,Oe),y.R7$(2),y.Y8G("translate","_i18n.Install3cxPwaAppInfo1"),y.R7$(2),y.Y8G("translate","_i18n.Install3cxPwaAppInfo2"),y.R7$(2),y.Y8G("translate","_i18n.Install3cxPwaAppInfo3"),y.R7$(2),y.Y8G("translate","_i18n.Install3cxPwaAppInfo4"),y.R7$(2),y.Y8G("translate","_i18n.Install3cxPwaAppInfo5"),y.R7$(3),y.Y8G("innerHTML",y.bMT(15,10,"_i18n.Install3cxPwaAppInfo6"),y.npT)}},dependencies:[C.p,h.Mm,h.D9],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:576px){.modal-pwa[_nghost-%COMP%]{--bs-modal-width: 560px}}.actionButton[_ngcontent-%COMP%]{width:110px;min-width:110px}ul[_ngcontent-%COMP%], ol[_ngcontent-%COMP%]{padding-left:var(--spacer-l)}ul[_ngcontent-%COMP%]   [_ngcontent-%COMP%]::marker{font-size:20px}@media(min-width:992px){.app-panel[_ngcontent-%COMP%]{width:calc(50% - var(--spacer))}}.panel-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:stretch;align-self:stretch}.panel[_ngcontent-%COMP%]{padding:var(--spacer);border:1px solid var(--border-color);background:var(--background);width:100%}[_nghost-%COMP%]     .modal-title{font-size:var(--font-size-h3)}"]})}return J})();var A=l(38601),D=l(81535),w=l(84412),O=l(57786),x=l(33726),N=l(25558),q=l(7673),K=l(96354),te=l(96697),H=l(99437),ee=l(96106);let F=(()=>{class J{modalService=(0,f.WQX)(A.B);mdr=(0,f.WQX)(D.D);isPwaStandAloneQuery;pwaInstallPrompt=new w.t(null);pwaInstallationEventsSubscription;isWindows=g.uF;constructor(){this.isPwaStandAloneQuery=this.mdr.matchMedia("(display-mode: standalone)")}listenPwaInstallationEvents(){this.pwaInstallationEventsSubscription||(this.pwaInstallationEventsSubscription=(0,O.h)((0,x.R)(window,"beforeinstallprompt").pipe((0,K.T)(de=>de)),(0,x.R)(window,"appinstalled").pipe((0,K.T)(()=>null))).subscribe(de=>{this.pwaInstallPrompt.next(de??null)}))}
1showPWAModal(de=!1){this.isProgressiveWebAppVisible()&&this.modalService.showDialog(M,{showCeDeprecation:de,isPwaInstallAvailable:this.isPwaInstallAvailable()}).pipe((0,ee.Sf)()).subscribe(({installPwaApp:Le})=>{Le&&this.firePwaInstallation()})}firePwaInstallation(){this.pwaInstallPrompt.pipe((0,te.s)(1),(0,N.n)(de=>de?(de.prompt(),de.userChoice):Promise.resolve(null)),(0,H.W)(de=>(console.log(de),(0,q.of)(null)))).subscribe(de=>{if(de){const{outcome:Le}=de;Le&&"accepted"===Le&&this.pwaInstallPrompt.next(null)}})}isPwaInstallAvailable(){return!!this.pwaInstallPrompt.getValue()}isProgressiveWebAppVisible(){return!(0,g.Xb)()&&(g.H8||g.UP)&&!this.isPwaStandAlone()&&this.isPwaInstallAvailable()}isChromeExtAppVisible(){return g.H8&&!(0,g.Xb)()}isEdgeExtAppVisible(){return g.UP&&!(0,g.Xb)()}isWindowsPhoneAppVisible(){return g.uF}isPwaStandAlone(){const de=document.referrer.startsWith("android-app://"),Le=navigator.standalone||this.isPwaStandAloneQuery.matches;return de||Le}static \u0275fac=function(Le){return new(Le||J)};static \u0275prov=f.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})()},44652(ot,V,l){"use strict";l.d(V,{D:()=>te});var f=l(85802),g=l(1211),h=l(96049),_=l(57786),C=l(7673),o=l(56977),y=l(68739),d=l(96697),M=l(25558),A=l(96354),D=l(97647),w=l(77498),O=l(99437),x=l(16444),N=l(20039);class q extends((0,N.mS)({status:"loading",contacts:[],error:""})){}let te=(()=>{class H{myPhone=(0,f.WQX)(x.gx);SHOW_LOADING_IN=300;requestFactory(F,J){const ne=Object.assign(new g.CzA(J.request),F);
1return ne.Input&&J.isInValidForNumberRequest(ne.Input)&&(ne.SearchByMask=(ne.SearchByMask&g.GLU.CF_ExtensionNumber)===g.GLU.CF_ExtensionNumber?ne.SearchByMask^g.GLU.CF_ExtensionNumber:ne.SearchByMask,ne.SearchByMask=(ne.SearchByMask&g.GLU.CF_Other)===g.GLU.CF_Other?ne.SearchByMask^g.GLU.CF_Other:ne.SearchByMask),ne}requestContact(F){return this.myPhone.myPhoneSession.pipe((0,d.s)(1),(0,M.n)(J=>J.get(F)),(0,A.T)(J=>J))}requestCrmContact(F){return this.myPhone.myPhoneSession.pipe((0,d.s)(1),(0,M.n)(J=>{if(J.systemParameters.CrmConfigured&&F.InputString?.length>=2){const ne=J.get(F).pipe((0,A.T)(de=>new q({status:"ok",contacts:de.Entries.map(y.KA.create)})),(0,D.u)());return(0,_.h)(ne,(0,C.of)(new q).pipe((0,w.c)(this.SHOW_LOADING_IN),(0,o.Q)(ne)))}return(0,C.of)(new q({status:"unavailable"}))}),(0,O.W)(J=>(0,C.of)(new q({status:"error",error:J.message}))))}requestContactByNumber(F,J=h.o.headerSearch()){if(J.isInValidForNumberRequest(F)||!F.match(/\d+/g))return(0,C.of)(y.a3);const ne=Object.assign(new g.U2C({Number:F}),J.exactMatchType);return this.myPhone.myPhoneSession.pipe((0,d.s)(1),(0,M.n)(de=>de.get(ne).pipe((0,A.T)(Le=>de.createMergedContact(Le.Contact)),(0,O.W)(Le=>(0,C.of)(de.createMergedContact(void 0))))))}requestContactByEmail(F,J=h.o.allEmails()){return J.contextRequestHasEmail()?this.myPhone.myPhoneSession.pipe((0,d.s)(1),(0,M.n)(ne=>ne.get(Object.assign(new g.CzA({Input:F,SearchByMask:g.GLU.CF_Email}),new g.CzA(J.request))).pipe((0,A.T)(de=>0===de.TotalCount?y.a3:ne.createMergedContact(de.Entries.find(Le=>Le.AddressNumberOrData5.toLowerCase()===F.toLowerCase()))),(0,O.W)(de=>(0,C.of)(ne.createMergedContact(void 0)))))):(0,C.of)(y.a3)}static \u0275fac=function(J){return new(J||H)};static \u0275prov=f.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},58689(ot,V,l){"use strict";l.d(V,{T:()=>D,e:()=>A});var f=l(85802),g=l(32271),h=l(42610),_=l(59882),C=l(5964),o=l(96354),y=l(99172),d=l(89079),M=l(23773);const A=new f.nKC("isNewDesignEnabled",{providedIn:"root",factory:()=>(0,M.I)(h.Hh.NewDesign,!0)}),D=new f.nKC("isNewDesign",{providedIn:"root",factory:()=>{const w=(0,f.WQX)(_.Ix),O=(0,f.WQX)(A),x=(0,d.ot)(w.events.pipe((0,o.T)(N=>N instanceof _.wF?N:N instanceof _.OY&&N.routerEvent instanceof _.wF?N.routerEvent:null),(0,y.Z)(w.routerState.snapshot),(0,C.p)(Boolean),(0,o.T)(N=>/\/office(\/|$)/.test(N.url))));return(0,g.EW)(()=>O()&&!x())}})},69296(ot,V,l){"use strict";l.d(V,{Z:()=>D,Y:()=>A});var f=l(81535),g=l(85802),h=l(33726),_=l(57786),C=l(25558);let o=(()=>{class w{_doc;constructor(){const x=(0,g.WQX)(g.qQL);this._doc=x}applyApplicationTheme(x){this._doc.body.setAttribute("data-theme",x)}static \u0275fac=function(N){return new(N||w)};static \u0275prov=g.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();var y=l(96354),d=l(50644),M=l(22040);const A=[{label:"_i18n.Light",value:"light"},{label:"_i18n.DarkThemeColor",value:"dark"},{label:"_i18n.SystemThemeColor",value:"system"}];let D=(()=>{class w{mdr=(0,g.WQX)(f.D);themeDomService=(0,g.WQX)(o);settingsService=(0,g.WQX)(M.h);dark;applicationTheme$;applicationColorScheme$;defaultTheme="system";constructor(){const N=this.settingsService.generalSettings$.pipe((0,y.T)(K=>K.applicationTheme));this.dark=this.mdr.matchMedia("(prefers-color-scheme: dark)");const q=(0,h.R)(this.dark,"change");this.applicationTheme$=(0,_.h)(N,q).pipe((0,C.n)(()=>N),(0,y.T)(K=>A.some(te=>te.value===K)?K:this.defaultTheme),(0,d.H9)()),this.applicationColorScheme$=this.applicationTheme$.pipe((0,y.T)(K=>"system"===K?this.systemTheme:K))}get systemTheme(){return this.dark.matches?"dark":"light"}applyTheme(x){const N=A.some(q=>q.value===x)?x:this.defaultTheme;this.themeDomService.applyApplicationTheme("system"===N?this.systemTheme:N)}selectTheme(x){this.settingsService.setField("applicationTheme",x)}static \u0275fac=function(N){return new(N||w)};static \u0275prov=g.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},22040(ot,V,l){"use strict";l.d(V,{h:()=>A});var f=l(85802),g=l(12426),h=l(40678),_=l(42610),C=l(27199),o=l(96354),y=l(96697),d=l(96106),M=l(50644);let A=(()=>{class D{localStorage=(0,f.WQX)(g.sj);generalSettings$;constructor(){this.generalSettings$=(0,d.lB)(this.localStorage,_.Hh.GeneralSettings).pipe((0,o.T)(x=>new h.Ii(x)),(0,M.H9)())}preprocessPhoneNumber(O){return this.generalSettings$.pipe((0,y.s)(1),(0,o.T)(x=>O&&(O=(0,C.b)(O),x.expandPhoneBookPlusEnabled?O.replace("+",x.expandPhoneBookPlus):O)))}setField(O,x){this.generalSettings$.pipe((0,y.s)(1)).subscribe(N=>{Object.assign(N,{[O]:x}),this.localStorage.store(_.Hh.GeneralSettings,N)})}static \u0275fac=function(x){return new(x||D)};static \u0275prov=f.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},40678(ot,V,l){"use strict";l.d(V,{Ii:()=>o,Vz:()=>C,im:()=>_,y7:()=>g});var f=l(43462),g=function(y){return y[y.Manual=0]="Manual",y[y.Ringing=1]="Ringing",y[y.
1Connected=2]="Connected",y}(g||{}),h=function(y){return y[y.ShowBoth=0]="ShowBoth",y[y.Show3CXOnly=1]="Show3CXOnly",y[y.ShowWebOnly=2]="ShowWebOnly",y}(h||{}),_=function(y){return y[y.Ringing=0]="Ringing",y[y.Connected=1]="Connected",y}(_||{}),C=function(y){return y[y.Off=0]="Off",y[y.CrmUrl=1]="CrmUrl",y[y.IntegrationsUrl=2]="IntegrationsUrl",y[y.ClientCrmUrl=3]="ClientCrmUrl",y}(C||{});class o{constructor(d){Object.assign(this,d)}applicationTheme="system";useIdleStatus=!1;idleStatusTime=5;idleStatus=f.SB.Away;wallboardCustomMessage1="3CX Wallboard";wallboardCustomMessage2;playNewChatMessageSound;showChatToaster=!0;callLookup=g.Manual;crmName="";crmVariables=[];launchIntegrationWhen=_.Ringing;isTapiEnabled=!1;showChatNotifications=h.ShowBoth;chatSoundFile="Default";expandPhoneBookPlusEnabled;expandPhoneBookPlus="00";autoOpenUrl=C.Off;integrationsUrl="http://example.com/search?phoneNumber=%CallerNumber%&displayName=%CallerDisplayName%";launchExternalApplication;launchExternalPath;launchExternalParameters="%CallerNumber% %CallerDisplayName%";launchExternalWhen=_.Ringing}},42610(ot,V,l){"use strict";l.d(V,{Ct:()=>C,Hh:()=>f,Xy:()=>h,hh:()=>_,lX:()=>g});const f={ImpersonateUsername:"Impersonate",OpenId:"OpenId",BrandUrl:"BrandUrl",BrandImage:"BrandImage",ShowUnregisteredExtensions:"ShowUnregisteredExtensions",CompactView:"CompactView",PeopleTileSize:"PeopleTileSize",SortByExtensionNumber:"SortByExtensionNumber",ShowPersonalContacts:"ShowPersonalContacts",AsideFolded:"AsideFolded",HiddenGroups:"HiddenGroups",Provision:"Provision",SharedWorker:"sharedWorker",ManagerSelectedQueue:"ManagerSelectedQueue",SelectedPhoneDevice:"SelectedPhoneDevice",Language:"Language",ActiveCallsFilter:"ActiveCallsFilter",LoggerEnabled:"LoggerEnabled",LoggerLevel:"LoggerLevel",GeneralSettings:"GeneralSettings",KeyboardShortcuts:"KeyboardShortcuts",SwitchboardQueueFilter:"SwitchboardQueueFilter",WallboardQueueFilter:"WallboardQueueFilter",ChatBlackList:"chatBlackList",ExternalCalendarTypeId:"externalCalendarTypeId",ChatInfoOpen:"chatInfoOpen",BrowserExtForceProv:"browserextension",SelectedCamera:"SelectedVideoDevice",SelectedMicrophone:"SelectedAudioDevice",SelectedSpeaker:"SelectedSpeakerDevice",SelectedRinger:"SelectedRingingDevice",SilentMode:"SilentMode",SelectedHeadset:"SelectedHeadset",DontShowIcsNotify:"DontShowIcsNotify",AutoAnswer:"AutoAnswer",FocusOnIncomingCall:"FocusOnIncomingCall",BrowserDisclaimerShown:"BrowserDisclaimerShown",ActiveHost:"activehost",PushDisabled:"pushdisabled",Version:"version",Lab:"lab",ShowBlf:"ShowBlf",Provider:"BestChatProvider",SavePeople:"SavePeople",SaveContactsQueryParams:"SaveContactsQueryParams",WebRtcCodecPriority:"WebRtcCodecPriority",AdvanceEditor:"AdvanceEditor",LogoutTimestamp:"LogoutTimestamp",ChatTemplateSelectedLanguage:"ChatTemplateSelectedLanguage",ChatTemplateSelectedGroup:"ChatTemplateSelectedGroup",UsersPageSize:"UsersPageSize",ContactsPageSize:"ContactsPageSize",EventLogsPageSize:"EventLogsPageSize",RecordingsPageSize:"RecordingsPageSize",SessionsPageSize:"SessionsPageSize",ReportPageSize:"ReportPageSize",M365AddUsers:"M365AddUsers",GoogleAddUsers:"GoogleAddUsers",AddPeers:"AddPeers",WebRTCRegistration:"webrtc_reg",NewDesign:"NewDesign",AddPhonesPageSize:"AddPhones",DisplayCallRecentsInDialer:"DisplayCallRecentsInDialer"},g=["/people"],h={},_=f.AddPeers,C=f.AddPhonesPageSize},80377(ot,V,l){"use strict";l.d(V,{h:()=>h});var f=l(35547),g=l(85802);let h=(()=>{class _{static \u0275fac=function(y){return new(y||_)};static \u0275cmp=f.VBU({type:_,selectors:[["show-3cx-logo-icon"],["","show-3cx-logo-icon",""]],decls:7,vars:0,consts:[["version","1.1","id","Layer_1","xmlns","http://www.w3.org/2000/svg","x","0","y","0","viewBox","0 0 136.44 50.113",0,"xml","space","preserve"],["d","M17.87 20.557c1.2-.1 2.3-.4 3.3-.8s1.9-1.1 2.5-1.9c.7-.8 1-1.9 1-3.3 0-2-.7-3.6-2-4.7-1.4-1.1-2.9-1.6-4.7-1.6-2.4 0-4.3.8-5.5 2.4s-1.8 3.6-1.8 6.1h-9.2c.1-2.4.5-4.7 1.3-6.7s1.9-3.7 3.3-5.2c1.4-1.4 3.1-2.6 5.1-3.3 2-.8 4.2-1.2 6.7-1.2 1.9 0 3.8.3 5.7.9s3.6 1.4 5.1 2.6c1.5 1.1 2.8 2.5 3.7 4.1 1 1.6 1.4 3.5 1.4 5.6 0 2.3-.6 4.4-1.7 6.1-1.1 1.8-2.8 3-5 3.6v.1c2.6.6 4.7 1.9 6.2 3.8s2.2 4.3 2.2 7c0 2.5-.5 4.7-1.5 6.7s-2.3 3.6-3.9 4.9c-1.6 1.3-3.5 2.3-5.6 3s-4.4 1-6.7 1c-2.7 0-5.1-.4-7.3-1.2-2.2-.8-4.1-1.9-5.6-3.4s-2.7-3.3-3.6-5.4c-.8-2.1-1.2-4.6-1.2-7.3h9.2c0 1.3.2 2.5.6 3.6.4 1.2.9 2.2 1.6 3 .7.8 1.5 1.5 2.6 2 1 .5 2.2.7 3.6.7 2.2 0 4-.7 5.5-2s2.3-3.2 2.3-5.5c0-1.8-.4-3.2-1.1-4.1-.7-1-1.6-1.6-2.7-2.1-1.1-.4-2.3-.7-3.6-.7-1.3-.1-2.5-.1-3.7-.1v-6.8c1.2.1 2.3.1 3.5.1z",1,"st-brand-blue-fill"],["d","M63.57 6.557c5.4 0 10.7 2.2 14.6 6l1 1v-8.2l-.3-.2c-4.5-3.1-9.4
1-4.7-15.1-4.7-14.5 0-26.3 11.1-26.3 24.8 0 13.5 11.8 24.4 26.3 24.4 5.3 0 10.6-1.7 15.1-4.7l.3-.2v-8.1l-1 1c-4 3.8-9.3 6-14.5 6-10.5 0-19.4-8.5-19.4-18.6.1-10 8.9-18.5 19.3-18.5z",1,"st-brand-back-fill"],["d","M79.37 15.757v19l8.3-9.9z",1,"st-brand-blue-fill"],["d","m129.67 49.357-19.6-23.9 19.6-23.8h-10.4l-14.3 17.5-14.3-17.5h-10.4l19.5 23.8-19.5 23.9h10.3l14.4-17.6 14.4 17.6zm1.3-2.7c0-1.5 1.2-2.7 2.7-2.7s2.7 1.2 2.7 2.7-1.2 2.7-2.7 2.7c-1.5 0-2.7-1.2-2.7-2.7zm4.9 0c0-1.3-1-2.3-2.3-2.3-1.2 0-2.3 1-2.3 2.3s1 2.3 2.3 2.3 2.3-1 2.3-2.3zm-1 1.4h-.5l-.9-1.3h-.5v1.3h-.4v-2.9h1.3c.5 0 1 .1 1 .8 0 .6-.4.8-.9.8l.9 1.3zm-1.3-1.7c.4 0 1 .1 1-.4 0-.3-.4-.4-.7-.4h-.8v.8h.5z",1,"st-brand-back-fill"]],template:function(y,d){1&y&&(g.qSk(),f.rj2(0,"svg",0)(1,"style"),f.EFF(2,".st-brand-blue-fill{fill:#0895d3}.st-brand-back-fill{fill:#fff}"),f.eux(),f.Hgh(3,"path",1)(4,"path",2)(5,"path",3)(6,"path",4),f.eux())},encapsulation:2})}return _})()},74743(ot,V,l){"use strict";l.d(V,{a:()=>h});var f=l(35547),g=l(85802);let h=(()=>{class _{static \u0275fac=function(y){return new(y||_)};static \u0275cmp=f.VBU({type:_,selectors:[["app-spinner-regular-icon"],["","app-spinner-regular-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M288 32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0 448a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM448 256a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zM32 288a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM75 437a32 32 0 1 0 45.3-45.3A32 32 0 1 0 75 437zm316.8 0A32 32 0 1 0 437 391.8 32 32 0 1 0 391.8 437zM75 75a32 32 0 1 0 45.3 45.3A32 32 0 1 0 75 75z"]],template:function(y,d){1&y&&(g.qSk(),f.rj2(0,"svg",0),f.Hgh(1,"path",1),f.eux())},encapsulation:2})}return _})()},3065(ot,V,l){"use strict";l.d(V,{m:()=>N});var f=l(17705),g=l(85802),h=l(73725),_=l(42610),C=l(6118),o=l(59053),y=l(3389),d=l(80377),M=l(68018),A=l(23773),D=l(35547);const w=["*"];function O(q,K){if(1&q&&D.nrm(0,"img",4),2&q){const te=D.XpG();D.Y8G("src",te.brandImage(),D.B4B)}}function x(q,K){1&q&&D.nrm(0,"show-3cx-logo-icon",5)}let N=(()=>{class q{splashService=(0,g.WQX)(h.l);signInApiService=(0,g.WQX)(C.Y);cd=(0,g.WQX)(f.gRc);isValidBrandingUrl=o.lx;brandUrl=(0,A.I)(_.Hh.BrandUrl,null);brandImage=(0,A.I)(_.Hh.BrandImage,null);ngOnInit(){this.signInApiService.signInBrandingOptions().subscribe({next:te=>{this.brandImage.set(te.BrandingImageUrl??null),this.brandUrl.set(te.BrandUrl&&(0,o.lx)(te.BrandUrl)?te.BrandUrl:null),this.splashService.remove(),this.cd.markForCheck()},error:te=>{this.splashService.remove()}})}static \u0275fac=function(H){return new(H||q)};static \u0275cmp=D.VBU({type:q,selectors:[["standalone-view"]],ngContentSelectors:w,decls:9,vars:5,consts:[[1,"login","new-design"],[1,"container","w-xxl"],[1,"p-3","text-center"],["target","_blank",1,"d-block",3,"href"],[1,"brand-logo",3,"src"],[1,"logo","standalone-logo"]],template:function(H,ee){1&H&&(D.NAR(),D.nrm(0,"default-validation-errors"),D.j41(1,"div",0)(2,"div",1)(3,"div",2)(4,"a",3),D.nI1(5,"translate"),D.nVh(6,O,1,1,"img",4)(7,x,1,0,"show-3cx-logo-icon",5),D.k0s()(),D.SdG(8),D.k0s()()),2&H&&(D.R7$(4),D.Y8G("href",D.mNQ(ee.isValidBrandingUrl(ee.brandUrl())?ee.brandUrl():D.bMT(5,3,"_i18n.AboutUri")),D.B4B),D.R7$(2),D.vxM(ee.brandImage()?6:7))},dependencies:[y.p,d.h,M.D9],styles:[".login[_ngcontent-%COMP%]{position:absolute;display:flex;width:100%;height:100%;align-items:center;min-width:300px;background:var(--bg-tertiary)}.login[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:30px;border-radius:10px;background-color:var(--bg-tertiary-active)}.login[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]     .btn-lg{border-radius:2px;padding-top:8px;padding-bottom:8px}.login[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]     .list-group-item{padding:0}.login[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{display:inline-block;width:100px;--svg-size: 100%}.brand-logo[_ngcontent-%COMP%]{max-width:256px;max-height:256px}"]})}return q})()},47548(ot,V,l){"use strict";l.d(V,{N:()=>h});var f=l(35547),g=l(85802);let h=(()=>{class _{el=(0,g.WQX)(f.aKT);truncatedText;ngOnChanges(o){if(o.truncatedText){const y=o.truncatedText.currentValue||"";this.el.nativeElement.setAttribute("title",y),this.el.nativeElement.textContent=y}}static \u0275fac=function(y){return new(y||_)};static \u0275dir=f.FsC({type:_,selectors:[["","truncatedText",""]],hostVars:2,hostBindings:function(y,d){2&y&&f.AVh("text-truncate",!0)},inputs:{truncatedText:"truncatedText"},features:[f.OA$]})}return _})()},38357(ot,V,l){"use strict";function f(_){let C=_.value;return"string"===_.dataType&&"string"==typeof _.value&&"date-time"!==_.dataFormat&&(C=`'${_.value.replaceAll("'","''")}'`),encodeURIComponent(String(C))}function g(_){if(_)return`"${_.replaceAll("\\","\\\\").replaceAll('"','\\"')}"`}function h(_,C=!1){let o=_.replace(/'/g,"''");return C&&(o=o.toLowerCase()),o}l.d(V,{Bj:()=>g,Y:()=>h,tA:()=>f})},62564(ot,V,l){"use strict";l.d(V,{s:()=>h});var f=l(422),g=l(35547);let h=(()=>{class _{transform=f.O1;static \u0275fac=function(y){return new(y||_)};static \u0275pipe=g.EJ8({name:"fileSize",type:_,pure:!0})}return _})()},9852(ot,V,l){"use strict";l.d(V,{_:()=>M});var f=l(85802),g=l(16444),h=l(84572),_=l(7673),C=l(96354),o=l(25558),y=l(49629),d=l(35547);let M=(()=>{class D{service=(0,f.WQX)(g.gx);transform(O,x){return function A(D,w,O){return w&&(w.identity||w.firstName||w.lastName)?(0,h.z)([w.identity??(0,_.of)(w),D.myPhoneSession.pipe((0,o.n)(x=>x.systemParameters$))]).pipe((0,C.T)(([x,N])=>(N.IsLastFirst?y.A.getLastNameFirstName(x):y.A.getFirstNameLastName(x))||x.company?.trim()||O||"")):(0,_.of)(w?.company?.trim()||O||"")}(this.service,O,x)}static \u0275fac=function(x){return new(x||D)};static \u0275pipe=d.EJ8({name:"lforfl",type:D,pure:!0})}return D})()},58369(ot,V,l){"use strict";l.d(V,{Q:()=>g,i:()=>f});var f=function(h){return h[h.none=0]="none",h[h.internalNumber=1]="internalNumber",h[h.voicemail=2]="voicemail",h[h.externalNumber=3]="externalNumber",h[h.email=4]="email",h[h.chatAddress=5]="chatAddress",h}(f||{});class g{type;contact;searchText;assignResult;constructor(_,C,o,y){this.type=_,this.contact=C,this.searchText=o,this.assignResult=void 0!==y?y:void 0!==o?o:""}}},96049(ot,V,l){"use strict";l.d(V,{o:()=>o});var f=l(1211),g=l(58369),h=l(46062),_=l(33544),C=l(20039);class o extends((0,C.mS)({request:new f.CzA,useNativeMobile:!1,vMailCode:void 0,converter:void 0,resultFilter:void 0}
1)){isInValidForNumberRequest(d){return d.includes("*")}contextRequestHasEmail(){return(this.request.SearchByMask&f.GLU.CF_Email)===f.GLU.CF_Email}contextRequestHasCRM(){return this.request.Sources?.some(d=>d===f.SjL.CS_Company_CRM||d===f.SjL.CS_Personal_CRM)}get exactMatchType(){return new f.U2C({DnType:this.request.Sources?o.contactSourcesToDnTypeMask(this.request.Sources):void 0,SearchCompany:this.request.Sources?.some(d=>d===f.SjL.CS_Company_3CX||d===f.SjL.CS_Company_CRM||d===f.SjL.CS_Company_M365||d===f.SjL.CS_Company_GOOGLE),SearchBridge:this.request.Sources?.includes(f.SjL.CS_Bridges),SearchPersonal:this.request.Sources?.some(d=>d===f.SjL.CS_Personal_3CX||d===f.SjL.CS_Personal_CRM||d===f.SjL.CS_Personal_M365||d===f.SjL.CS_Personal_GOOGLE),SearchGroup:this.request.Sources?.some(d=>d===f.SjL.CS_Group_3CX)})}static get allDnTypes(){return f.Jhl.SpecialMenu|f.Jhl.Service|f.Jhl.RingGroup|f.Jhl.Queue|f.Jhl.Parking|f.Jhl.IVR|f.Jhl.Fax|f.Jhl.ExternalLine|f.Jhl.Extension|f.Jhl.Conference}static dnTypeToSources(d){return[...(d&f.Jhl.Extension)===f.Jhl.Extension?[f.SjL.CS_Extension]:[],...(d&f.Jhl.Queue)===f.Jhl.Queue?[f.SjL.CS_Queue]:[],...(d&f.Jhl.RingGroup)===f.Jhl.RingGroup?[f.SjL.CS_RingGroup]:[],...(d&f.Jhl.IVR)===f.Jhl.IVR?[f.SjL.CS_IVR]:[],...(d&f.Jhl.Fax)===f.Jhl.Fax?[f.SjL.CS_Fax]:[],...(d&f.Jhl.Conference)===f.Jhl.Conference?[f.SjL.CS_Conference]:[],...(d&f.Jhl.Parking)===f.Jhl.Parking?[f.SjL.CS_Parking]:[],...(d&f.Jhl.ExternalLine)===f.Jhl.ExternalLine?[f.SjL.CS_ExternalLine]:[],...(d&f.Jhl.SpecialMenu)===f.Jhl.SpecialMenu?[f.SjL.CS_SpecialMenu]:[],...(d&f.Jhl.Service)===f.Jhl.Service?[f.SjL.CS_Service]:[]]}static contactSourceToDnTypeMapper=new Map([[f.SjL.CS_Extension,f.Jhl.Extension],[f.SjL.CS_Queue,f.Jhl.Queue],[f.SjL.CS_RingGroup,f.Jhl.RingGroup],[f.SjL.CS_IVR,f.Jhl.IVR],[f.SjL.CS_Fax,f.Jhl.Fax],[f.SjL.CS_Conference,f.Jhl.Conference],[f.SjL.CS_Parking,f.Jhl.Parking],[f.SjL.CS_ExternalLine,f.Jhl.ExternalLine],[f.SjL.CS_SpecialMenu,f.Jhl.SpecialMenu],[f.SjL.CS_Service,f.Jhl.Service]]);static contactSourcesToDnTypeMask(d){let M=0;return d.forEach(A=>{M|=o.contactSourceToDnTypeMapper.get(A)||0}),M}static get allSourceDnTypes(){return[f.SjL.CS_Extension,f.SjL.CS_Queue,f.SjL.CS_IVR,f.SjL.CS_Fax,f.SjL.CS_Conference,f.SjL.CS_Parking,f.SjL.CS_ExternalLine,f.SjL.CS_RingGroup,f.SjL.CS_SpecialMenu,f.SjL.CS_Service]}static get allSourceForwardingTypes(){return[f.SjL.CS_Extension,f.SjL.CS_Queue,f.SjL.CS_IVR,f.SjL.CS_Fax,f.SjL.CS_Conference,f.SjL.CS_RingGroup,f.SjL.CS_SpecialMenu,f.SjL.CS_Parking,f.SjL.CS_Service]}static get fullSearch(){return f.GLU.CF_Company|f.GLU.CF_ExtensionNumber|f.GLU.CF_Email|f.GLU.CF_FirstName|f.GLU.CF_LastName|f.GLU.CF_Mobile|f.GLU.CF_Mobile2|f.GLU.CF_Business|f.GLU.CF_Business2|f.GLU.CF_Home}static get allPersonalSources(){return[f.SjL.CS_Personal_3CX,f.SjL.CS_Personal_CRM,f.SjL.CS_Personal_M365,f.SjL.CS_Personal_GOOGLE]}static get allCompanySources(){return[f.SjL.CS_Company_3CX,f.SjL.CS_Group_3CX,f.SjL.CS_Company_CRM,f.SjL.CS_Company_M365,f.SjL.CS_Company_GOOGLE]}static personalPhonebook(){return new o({request:new f.CzA({Sources:[f.SjL.CS_Personal_3CX,f.SjL.CS_Personal_M365,f.SjL.CS_Personal_GOOGLE,f.SjL.CS_Personal_CRM],SearchByMask:o.fullSearch}),resultFilter:d=>!0})}static companyPhonebook(){return new o({request:new f.CzA({Sources:[f.SjL.CS_Company_3CX,f.SjL.CS_Group_3CX],SearchByMask:o.fullSearch}),resultFilter:d=>!0})}static crmPhonebook(){return new o({request:new f.CzA({Sources:[f.SjL.CS_Company_CRM],SearchByMask:o.fullSearch}),resultFilter:d=>!0})}static office365Phonebook(){return new o({request:new f.CzA({Sources:[f.SjL.CS_Personal_M365,f.SjL.CS_Company_M365],SearchByMask:o.fullSearch}),resultFilter:d=>!0})}static googlePhonebook(){return new o({request:new f.CzA({Sources:[f.SjL.CS_Personal_GOOGLE,f.SjL.CS_Company_GOOGLE],SearchByMask:o.fullSearch}),resultFilter:d=>!0})}static allPhonebook(d=!1){return new o({request:new f.CzA({Sources:[...d?[]:[f.SjL.CS_Personal_CRM],f.SjL.CS_Personal_3CX,f.SjL.CS_Personal_M365,f.SjL.CS_Personal_GOOGLE,...d?[]:[f.SjL.CS_Company_CRM],f.SjL.CS_Company_3CX,f.SjL.CS_Company_M365,f.SjL.CS_Company_GOOGLE,f.SjL.CS_Group_3CX],SearchByMask:o.fullSearch}),resultFilter:M=>!0})}static allPersons(){return new o({request:new f.CzA({Sources:[f.SjL.CS_Extension,...o.allCompanySources,...o.allPersonalSources,f.SjL.CS_Bridges],SearchByMask:o.fullSearch,GroupBy:!0}),resultFilter:d=>!0})}static default(){return new o({request:new f.CzA({Sources:[...o.allSourceForwardingTypes,...o.allCompanySources,...o.allPersonalSources,f.SjL.CS_Bridges],SearchByMask:o.fullSearch,GroupBy:!0}),resultFilter:d=>d.type!==g.i.email})}static allEmails(){return new o({request:new f.CzA({Sources:[f.SjL.CS_Extension,...o.allCompanySources,...o.allPersonalSources,f.SjL.CS_Bridges],Count:25,SearchByMask:f.GLU.CF_Email,MustHaveMaskList:[f.GLU.CF_Email],GroupBy:!0}),resultFilter:d=>
1d.type===g.i.email})}static headerSearch(){return new o({request:new f.CzA({Sources:[...o.allSourceForwardingTypes,...o.allCompanySources,...o.allPersonalSources,f.SjL.CS_Bridges],SearchByMask:o.fullSearch,GroupBy:!0}),resultFilter:d=>d.type!==g.i.email&&d.type!==g.i.voicemail})}static chatEnabled(d){return new o({request:new f.CzA({Sources:[f.SjL.CS_Extension,f.SjL.CS_Bridges],SearchByMask:o.fullSearch^f.GLU.CF_Mobile^f.GLU.CF_Mobile2^f.GLU.CF_Business^f.GLU.CF_Business2^f.GLU.CF_Home,GroupBy:!0,SortBy:f.NEu.Number}),converter:M=>M.type===g.i.internalNumber?new g.Q(g.i.chatAddress,M.contact,M.searchText,(0,_.c)(M.contact)):new g.Q(g.i.none,M.contact),resultFilter:M=>M.type===g.i.chatAddress&&(d||!M.contact?.myContact)})}static addToChatContext(d,M=!0){const A=o.chatEnabled(d),D=A.request.Sources?.filter(w=>w!==f.SjL.CS_Bridges);return M&&D.push(f.SjL.CS_Queue),A.merge({request:new f.CzA({...A.request,Sources:D})})}static forPrivateConference(){return new o({request:new f.CzA({Sources:[f.SjL.CS_Extension,...o.allCompanySources,...o.allPersonalSources,f.SjL.CS_Bridges],SearchByMask:o.fullSearch,GroupBy:!0}),resultFilter:d=>d.type!==g.i.email&&d.type!==g.i.voicemail})}static forAudioConference(){return new o({request:new f.CzA({Sources:[f.SjL.CS_Extension,...o.allCompanySources,...o.allPersonalSources,f.SjL.CS_Bridges],SearchByMask:o.fullSearch,GroupBy:!0}),resultFilter:d=>{const M=d.contact.type;return d.type!==g.i.voicemail&&!((M===h.eE.Extension||M===h.eE.SystemExtension)&&d.type===g.i.email)}})}static forSmsChat(){return new o({useNativeMobile:!0,request:new f.CzA({Sources:[f.SjL.CS_Extension,...o.allCompanySources,...o.allPersonalSources,f.SjL.CS_Bridges],MustHaveMaskList:[f.GLU.CF_Mobile|f.GLU.CF_Mobile2|f.GLU.CF_Home|f.GLU.CF_Business|f.GLU.CF_Business2],SearchByMask:o.fullSearch^f.GLU.CF_ExtensionNumber,GroupBy:!0}),resultFilter:d=>d.type===g.i.externalNumber})}static forVideoAndAudioConference(){return new o({request:new f.CzA({Sources:[f.SjL.CS_Extension,...o.allCompanySources,...o.allPersonalSources,f.SjL.CS_Bridges],MustHaveMaskList:[f.GLU.CF_Email],SearchByMask:o.fullSearch,GroupBy:!0}),resultFilter:d=>d.type===g.i.email,converter:d=>d.contact.emailAddress?new g.Q(g.i.email,d.contact,d.searchText,d.contact.emailAddress):new g.Q(g.i.none,d.contact)})}}},73042(ot,V,l){"use strict";l.d(V,{Q:()=>f});class f{static isNullOrWhitespace(h){return typeof h>"u"||null==h||h.replace(/\s/g,"").length<1}static empty(){return""}static isNullOrEmpty(h){return null==h||""===h}static format(h,..._){let C=h,o=_.length;for(;o>0;){o--;let y=_[o];void 0===y&&(y=""),C=C.replace(new RegExp("\\{"+o+"\\}","gm"),y)}return C}static join(h,_){let C="";for(const o of _)""!==C&&(C+=h),C+=o;return C}static reverse(h){let _="";for(let C=h.length-1;C>=0;_+=h[C--]);return _}static normalizeMultiline(h){return(h??"").replace(/\r\n/g,"\n").replace(/[ \t]+$/gm,"").replace(/^(?:\n)+|(?:\n)+$/g,"").normalize("NFC")}static equalsNormalized(h,_){return f.normalizeMultiline(h)===f.normalizeMultiline(_)}}},33971(ot,V,l){"use strict";l.d(V,{l8:()=>K,TJ:()=>H,bm:()=>Le,b8:()=>Ke,W0:()=>de,AE:()=>Qe,mq:()=>kt,q2:()=>ct,B9:()=>F,h1:()=>Oe,Pe:()=>xe,Nu:()=>te,kb:()=>ne,TA:()=>Pt,Jd:()=>Te,b$:()=>Fe,t9:()=>ee,oX:()=>ut});var f=l(73042),g=l(1211);class y{constructor(){this.atomCharacters="!#$%&'*+-/=?^_`{|}~",this.index=0,this.type=0}isControl(fe){return fe.charCodeAt(0)<=31||127===fe.charCodeAt(0)}isDigit(fe){return fe>="0"&&fe<="9"}isLetter(fe){return fe>="A"&&fe<="Z"||fe>="a"&&fe<="z"}isLetterOrDigit(fe){return this.isLetter(fe)||this.isDigit(fe)}isAtom(fe,ie){return!this.isControl(fe)&&(fe.charCodeAt(0)<128?this.isLetterOrDigit(fe)||-1!==this.atomCharacters.indexOf(fe):ie)}isDomain(fe,ie){return fe.charCodeAt(0)<128?this.isLetter(fe)||"-"===fe?(this.type|=1,!0):!!this.isDigit(fe)&&(this.type|=2,!0):!!ie&&(this.type|=1,!0)}isDomainStart(fe,ie){return fe.charCodeAt(0)<128?this.isLetter(fe)?(this.type=1,!0):this.isDigit(fe)?(this.type=2,!0):(this.type=0,!1):ie?(this.type=1,!0):(this.type=0,!1)}skipAtom(fe,ie){const Xe=this,ve=Xe.index;for(;Xe.index<fe.length&&Xe.isAtom(fe[Xe.index],ie);)Xe.index++;return Xe.index>ve}skipSubDomain(fe,ie){const Xe=this,ve=Xe.index;if(!this.isDomainStart(fe[Xe.index],ie))return!1;for(Xe.index++;Xe.index<fe.length&&Xe.isDomain(fe[Xe.index],ie);)Xe.index++;return(Xe.index!==fe.length||Xe.index-ve!==1)&&Xe.index-ve<64&&"-"!==fe[Xe.index-1]}skipDomain(fe,ie,Xe){const ve=this;if(!ve.skipSubDomain(fe,Xe))return!1;if(ve.index<fe.length&&"."===fe[ve.index]){do{if(ve.index++,ve.index===fe.length||!ve.skipSubDomain(fe,Xe))return!1}while(ve.index<fe.length&&"."===fe[ve.index])}else if(!ie)return!1;return 2!==ve.type}skipQuoted(fe,ie){const Xe=this;let ve=!1;for(Xe.index++;Xe.index<fe.length;){if(this.isControl(fe[Xe.index])||fe.charCodeAt(this.index)>=128&&!ie)return!1;if("\\"===fe[Xe.index])ve=!ve;else if(ve)ve=!1;else if('"'===fe[Xe.index])break;Xe.index++}return!(Xe.index>
1=fe.length||'"'!==fe[Xe.index]||(Xe.index++,0))}skipIPv4Literal(fe){const ie=this;let Xe=0;for(;ie.index<fe.length&&Xe<4;){const ve=ie.index;let he=0;for(;ie.index<fe.length&&this.isDigit(fe[ie.index]);)he=10*he+(fe[ie.index]-"0"),ie.index++;if(ie.index===ve||ie.index-ve>3||he>255)return!1;Xe++,Xe<4&&ie.index<fe.length&&"."===fe[ie.index]&&ie.index++}return 4===Xe}isHexDigit(fe){return fe>="A"&&fe<="F"||fe>="a"&&fe<="f"||fe>="0"&&fe<="9"}skipIPv6Literal(fe){const ie=this;let Xe=!1,ve=!1,he=0;for(;ie.index<fe.length;){let Pe=ie.index;for(;ie.index<fe.length&&ie.isHexDigit(fe[ie.index]);)ie.index++;if(ie.index>=fe.length)break;if(ie.index>Pe&&"."===fe[ie.index]&&(ve||6===he))return ie.index=Pe,!!ie.skipIPv4Literal(fe)&&(ve?he<=4:6===he);let Ve=ie.index-Pe;if(Ve>4)return!1;if(Ve>0&&(Xe=!1,he++),":"!==fe[ie.index])break;for(Pe=ie.index;ie.index<fe.length&&":"===fe[ie.index];)ie.index++;if(Ve=ie.index-Pe,Ve>2)return!1;if(2===Ve){if(ve)return!1;ve=!0}else Xe=!0}return!Xe&&(ve?he<=6:8===he)}validate(fe,ie=!1,Xe=!1){const ve=this;if(!fe||!fe.length||fe.length>254)return!1;if('"'===fe[ve.index]){if(!this.skipQuoted(fe,Xe)||ve.index>=fe.length)return!1}else{if(!this.skipAtom(fe,Xe)||ve.index>=fe.length)return!1;for(;"."===fe[ve.index];)if(ve.index++,ve.index>=fe.length||!ve.skipAtom(fe,Xe)||ve.index>=fe.length)return!1}if(ve.index+1>=fe.length||ve.index>64||"@"!==fe[ve.index++])return!1;if("["!==fe[ve.index])return!!ve.skipDomain(fe,ie,Xe)&&ve.index===fe.length;if(ve.index++,ve.index+7>=fe.length)return!1;if("ipv6:"===fe.substr(ve.index,5).toLowerCase()){if(ve.index+=5,!ve.skipIPv6Literal(fe))return!1}else if(!ve.skipIPv4Literal(fe,this.index))return!1;return!(ve.index>=fe.length||"]"!==fe[ve.index++])&&ve.index===fe.length}}var M=l(25558),A=l(84572),D=l(96354),w=l(23294),O=l(96106),x=l(42610),N=l(46062),q=l(85802),K=function(Ze){return Ze[Ze.Icon=0]="Icon",Ze[Ze.Logo=1]="Logo",Ze}(K||{});function te(Ze){if(null!=Ze)return new Date(Date.UTC(Ze.Year,Ze.Month-1,Ze.Day,Ze.Hour,Ze.Minute,Ze.Second))}let H=(()=>{class Ze{static getUserScopedLocalStorageKey(ie,Xe){return`${ie}__${Xe}`}static isValidPhoneNumber(ie){return!!(ie&&/^\+?([()*\-.#\s0-9]*)$/.test(ie)&&ie.replaceAll(/\D/g,"").length>=4)}static substrEmailToName=ie=>ie.substring(0,ie.lastIndexOf("@"));static \u0275fac=function(Xe){return new(Xe||Ze)};static \u0275prov=q.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})();function ee(Ze){return f.Q.isNullOrEmpty(Ze)?Ze:(Ze=(Ze=Ze.trim().replace(/[^%+*#0-9a-zA-Z]/g,"")).replace("%2b","+")).replace("%2B","+")}function F(Ze){return function d(Ze,fe=!1,ie=!1){return(new y).validate(Ze,ie,fe)}(Ze,!0,!0)}function ne(Ze,fe,ie=K.Icon){if(Ze)return new URL(function J(Ze,fe,ie){return`/MyPhone/providericon?encodedProvider=${Ze}&sessionId=${fe}&type=${ie}`}(Ze,fe.sessionParam.sessionKey,ie),fe.domainUrl).href}const de=()=>Math.round(2.5*window.innerHeight/60);function Le(Ze,fe,ie){if(!fe||fe.type!==N.eE.PersonalPhonebook&&fe.type!==N.eE.DepartmentPhonebook)return Ze;const Xe=(ie?fe.lastNameFirstName:fe.firstNameLastName).trim();return Xe?`${Ze}:${Xe}`:Ze}function ut(Ze,fe){{let ie=Ze(fe.OtherPartyCallerId,fe.OtherPartyDisplayName,fe.OtherPartyType,fe.OtherPartyDn);fe.OtherPartyCallerId&&fe.OtherPartyCallerId!==ie&&(ie+=" "+fe.OtherPartyCallerId),fe.OtherPartyPresentationString=ie}{let ie=Ze(fe.OwnerCallerId,fe.OwnerDisplayName,fe.OwnerType,fe.OwnerDn);fe.OwnerCallerId&&fe.OwnerCallerId!==ie&&(ie+=" "+fe.OwnerCallerId),fe.OwnerPresentationString=ie}}function Oe(Ze){const fe=window.open(Ze);return!!fe&&!(fe.closed||typeof fe.closed>"u")}function xe(Ze,fe,ie,Xe,ve){Oe(Ze)||fe.confirmation(ie,Xe,ve).subscribe(()=>{window.open(Ze)})}function Ce(Ze,fe){return Ze?g.NEu.Number:fe.IsLastFirst?g.NEu.LastName:g.NEu.FirstName}const Te=Ze=>Ze.pipe((0,M.n)(fe=>fe.systemParameters$),(0,D.T)(fe=>Ce(!1,fe)),(0,w.F)());function Fe(Ze){const fe=(0,O.lB)(Ze,x.Hh.SortByExtensionNumber,!1);return ie=>ie.pipe((0,M.n)(Xe=>(0,A.z)([Xe.systemParameters$,fe])),(0,D.T)(([Xe,ve])=>Ce(ve,Xe)),(0,w.F)())}function Ke(Ze){const fe=document.createElement("a");fe.href=Ze,fe.target="_blank",document.body.appendChild(fe),fe.style.display="none",fe.click(),fe.remove()}function Qe(Ze,fe){const ie=document.createElement("a");ie.href=Ze,ie.download=fe??"",document.body.appendChild(ie),ie.style.display="none",ie.click(),ie.remove()}function kt(Ze,fe,ie="text/csv;charset=utf-8;"){const Xe=new Blob([Ze],{type:ie}),ve=window.URL.createObjectURL(Xe);Qe(ve,fe),window.URL.revokeObjectURL(ve)}function ct(Ze,fe){const ie=Ze.item(0),Xe=new FileReader;ie&&(Xe.readAsText(ie,"UTF-8"),Xe.onload=ve=>{fe(ve,ie)},Xe.onerror=ve=>{console.error(ve)})}function Pt(Ze,fe,ie,Xe="dataUrl"){const ve=new FileReader;
1"text"===Xe?ve.readAsText(Ze,"UTF-8"):ve.readAsDataURL(Ze),ve.onload=he=>fe(he.target?.result??null),ve.onerror=he=>ie?.(he)}},73725(ot,V,l){"use strict";l.d(V,{l:()=>_});var f=l(84412),g=l(50644),h=l(85802);let _=(()=>{class C{_splashScreen;splashScreenVisibilitySubj=new f.t(!0);splashScreenVisibility$;constructor(){this._splashScreen=document.getElementById("splash-screen"),this.splashScreenVisibility$=this.splashScreenVisibilitySubj.asObservable().pipe((0,g.H9)())}show(){this.splashScreenVisibilitySubj.next(!0),null!==this._splashScreen&&this._splashScreen.classList.contains("loading-finished")&&this._splashScreen.classList.remove("loading-finished")}remove(){this.splashScreenVisibilitySubj.next(!1),null!==this._splashScreen&&!this._splashScreen.classList.contains("loading-finished")&&this._splashScreen.classList.add("loading-finished")}static \u0275fac=function(d){return new(d||C)};static \u0275prov=h.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},67266(ot,V,l){"use strict";var f=l(62460);(0,f.mO)("en-gb",f.F_),(0,f.mO)("en"),(0,f.mO)("de",f._K),(0,f.mO)("fr",f.JH),(0,f.mO)("es",f.Rj),(0,f.mO)("it",f.Cl),(0,f.mO)("pt-br",f.Z5),(0,f.mO)("nl",f.tu),(0,f.mO)("ru",f.sI),(0,f.mO)("pl",f.je),(0,f.mO)("zh-cn",f.e6),(0,f.mO)("tr",f.b9),(0,f.mO)("cs",f.xu)},22972(ot,V,l){"use strict";l.d(V,{m:()=>_});var f=l(54999),g=l(983),h=l(99437);class _{buttons=f.P.Ok;output={decision:f.R.Cancel};showValidation=!1;createDialogValidate(o,y){return()=>!o.invalid||(this.showValidation=!0,o.markAllAsTouched(),y.markForCheck(),!1)}onClose(o){this.output={decision:o}}onSubmit(){this.output={decision:f.R.Ok,payload:this.getPayload()}}onCustom(){this.output={decision:f.R.Custom,payload:this.getCustomPayload()}}getPayload(){}getCustomPayload(){}handleError=(o,y,d,M=!1)=>A=>A.pipe((0,h.W)(D=>{if(!o.error(y,D,d,M,!1))throw D;return g.w}))}},40953(ot,V,l){"use strict";l.d(V,{p:()=>de});var f=l(17705),g=l(85802),h=l(50779),_=l(68018),C=l(54999),o=l(96697),y=l(7881),d=l(91968),M=l(534),A=l(74743),D=l(35547);const w=["body"],O=[[["","dialog-header",""]],"*",[["","extraButton",""]]],x=["[dialog-header]","*","[extraButton]"];function N(Le,ut){if(1&Le){const Oe=D.RV6();D.j41(0,"button",10),D.bIt("click",function(){g.eBV(Oe);const Ce=D.XpG();return g.Njj(Ce.cancel())}),D.k0s()}}function q(Le,ut){if(1&Le&&D.nrm(0,"app-server-error",8),2&Le){const Oe=D.XpG();D.Y8G("message",Oe.error)}}function K(Le,ut){if(1&Le){const Oe=D.RV6();D.j41(0,"button",17),D.bIt("click",function(){g.eBV(Oe);const Ce=D.XpG(2);return g.Njj(Ce.backClicked.emit())}),D.EFF(1),D.nI1(2,"translate"),D.k0s()}if(2&Le){const Oe=D.XpG(2);D.Y8G("disabled",Oe.handlingButtonClick),D.R7$(),D.SpI(" ",D.bMT(2,2,Oe.backText)," ")}}function te(Le,ut){1&Le&&D.nrm(0,"app-spinner-regular-icon",19)}function H(Le,ut){if(1&Le){const Oe=D.RV6();D.j41(0,"button",18),D.bIt("click",function(){g.eBV(Oe);const Ce=D.XpG(2);return g.Njj(Ce.nextClicked.emit())}),D.nVh(1,te,1,0,"app-spinner-regular-icon",19),D.EFF(2),D.nI1(3,"translate"),D.k0s()}if(2&Le){const Oe=D.XpG(2);D.Y8G("disabled",Oe.nextIsLoading||Oe.handlingButtonClick),D.R7$(),D.vxM(Oe.nextIsLoading?1:-1),D.R7$(),D.SpI(" ",D.bMT(3,3,Oe.nextText)," ")}}function ee(Le,ut){if(1&Le){const Oe=D.RV6();D.j41(0,"button",20,1),D.bIt("click",function(){g.eBV(Oe);const Ce=D.XpG(2);return g.Njj(Ce.submit())}),D.EFF(2),D.nI1(3,"translate"),D.k0s()}if(2&Le){const Oe=D.XpG(2);D.HbH(D.VkB("btn ",Oe.okClass)),D.Y8G("disabled",Oe.okDisabled||Oe.handlingButtonClick),D.R7$(2),D.SpI(" ",D.bMT(3,5,Oe.okText)," ")}}function F(Le,ut){if(1&Le){const Oe=D.RV6();D.j41(0,"button",21,2),D.bIt("click",function(){g.eBV(Oe);const Ce=D.XpG(2);return g.Njj(Ce.cancel())}),D.EFF(2),D.nI1(3,"translate"),D.k0s()}if(2&Le){const Oe=D.XpG(2);D.Y8G("disabled",Oe.handlingButtonClick),D.R7$(2),D.SpI(" ",D.bMT(3,2,Oe.cancelText)," ")}}function J(Le,ut){if(1&Le){const Oe=D.RV6();D.j41(0,"button",22,3),D.bIt("click",function(){g.eBV(Oe);const Ce=D.XpG(2);return g.Njj(Ce.custom())}),D.EFF(2),D.nI1(3,"translate"),D.k0s()}if(2&Le){const Oe=D.XpG(2);D.HbH(D.VkB("btn ",Oe.customClass)),D.Y8G("disabled",Oe.customDisabled||Oe.handlingButtonClick),D.R7$(2),D.SpI(" ",D.bMT(3,5,Oe.customText)," ")}}function ne(Le,ut){if(1&Le&&(D.j41(0,"div",9),D.nVh(1,K,3,4,"button",11),D.nVh(2,H,4,5,"button",12),D.j41(3,"span",13),D.nI1(4,"translate"),D.nVh(5,ee,4,7,"button",14),D.k0s(),D.nVh(6,F,4,4,"button",15),D.nVh(7,J,4,7,"button",16),D.SdG(8,2),D.k0s()),2&Le){const Oe=D.XpG();D.R7$(),D.vxM(Oe.isBackVisible?1:-1),D.R7$(),D.vxM(Oe.isNextVisible?2:-1),D.R7$(),D.Y8G("tooltip",D.bMT(4,6,Oe.okDisabledReason)),D.R7$(2),D.vxM(Oe.isOkVisible?5:-1),D.R7$(),D.vxM(Oe.isCancelVisible?6:-1),D.R7$(),D.vxM(Oe.isCustomVisible?7:-1)}}let de=(()=>{class Le{bsModalRef=(0,g.WQX)(h.Y$);cd=(0,g.WQX)(f.gRc);newDesign=(0,f.hFB)();closeDisabled=!1;header="";buttons=C.P.Ok;disableSubmitOnEnter=!1;okDisabled=!1;okDisabledReason="";customDisabled=!1;nextIsLoading=!1;okText="_i18n.OK";okClass="btn-primary";cancelText="_i18n.Cancel";backText="_i18n.Back";nextText="_i18n.Next";autofocus;validateBeforeSubmit=()=>!0;submit$;waitRecalculationsBeforeSave;customText="";customClass="btn-border";scrollable;containsInnerScrollable;showValidation;submitted=(0,f.CGW)();customClicked=(0,f.CGW)();backClicked=(0,f.CGW)();nextClicked=(0,f.CGW)();dialogBody;handlingButtonClick=!1;error;ngAfterContentInit(){this.autofocus&&setTimeout(()=>{this.dialogBody.nativeElement.querySelector("input:not(:disabled), textarea:not(:disabled), field-wrapper:not(.disabled) ng-select input")?.focus()},100)}submitOnEnter(){this.disableSubmitOnEnter||this.submit()}submit(){this.waitRecalculationsBeforeSave?setTimeout(()=>this.doSubmit(),1):this.doSubmit()}doSubmit(){this.handleButtonClick(C.R.Ok,this.submitted)}cancel(){this.closeDisabled||this.handleButtonClick(C.R.Cancel)}custom(){this.handleButtonClick(C.R.Custom,this.customClicked)}get isOkVisible(){return this.isButtonVisible(C.P.Ok)}get isCancelVisible(){return this.isButtonVisible(C.P.Cancel)}get isCustomVisible(){return this.customText&&this.isButtonVisible(C.P.Custom)}get isBackVisible(){return this.isButtonVisible(C.P.Back)}get isNextVisible(){return this.isButtonVisible(C.P.Next)}isButtonVisible(Oe){return"number"==typeof this.buttons&&0!==(this.buttons&Oe)}handleButtonClick(Oe,xe){if(!this.handlingButtonClick){if(Oe===C.R.Ok&&
1!this.validateBeforeSubmit())return this.showValidation=!0,void this.cd.markForCheck();if(this.handlingButtonClick=!0,this.error="",this.cd.markForCheck(),Oe===C.R.Ok&&this.submit$)return void this.submit$().pipe((0,o.s)(1)).subscribe({next:()=>{this.closeDialog(xe)},error:Ce=>{this.error=(0,y.PE)(Ce),this.handlingButtonClick=!1,this.cd.markForCheck()},complete:()=>{this.handlingButtonClick=!1,this.cd.markForCheck()}});this.closeDialog(xe)}}closeDialog(Oe){Oe?.emit(),setTimeout(()=>{this.bsModalRef.hide()},10)}static \u0275fac=function(xe){return new(xe||Le)};static \u0275cmp=D.VBU({type:Le,selectors:[["app-modal-dialog"]],viewQuery:function(xe,Ce){if(1&xe&&D.GBs(w,7),2&xe){let Te;D.mGM(Te=D.lsd())&&(Ce.dialogBody=Te.first)}},hostVars:8,hostBindings:function(xe,Ce){1&xe&&D.bIt("keydown.enter",function(){return Ce.submitOnEnter()},D.EBC)("keydown.esc",function(){return Ce.cancel()},D.EBC),2&xe&&D.AVh("new-design",Ce.newDesign())("scrollable",Ce.scrollable)("contains-inner-scrollable",Ce.containsInnerScrollable)("show-validation",Ce.showValidation)},inputs:{newDesign:[1,"newDesign"],closeDisabled:"closeDisabled",header:"header",buttons:"buttons",disableSubmitOnEnter:"disableSubmitOnEnter",okDisabled:"okDisabled",okDisabledReason:"okDisabledReason",customDisabled:"customDisabled",nextIsLoading:"nextIsLoading",okText:"okText",okClass:"okClass",cancelText:"cancelText",backText:"backText",nextText:"nextText",autofocus:"autofocus",validateBeforeSubmit:"validateBeforeSubmit",submit$:"submit$",waitRecalculationsBeforeSave:"waitRecalculationsBeforeSave",customText:"customText",customClass:"customClass",scrollable:"scrollable",containsInnerScrollable:"containsInnerScrollable",showValidation:"showValidation"},outputs:{submitted:"submitted",customClicked:"customClicked",backClicked:"backClicked",nextClicked:"nextClicked"},ngContentSelectors:x,decls:12,vars:6,consts:[["body",""],["okBtn",""],["cancelBtn",""],["customBtn",""],[1,"modal-header"],["data-qa","modal-title",1,"modal-title"],["type","button","aria-label","Close","data-qa","modal-cross",1,"btn-close"],[1,"modal-body"],["data-qa","modal-error",1,"text-error",3,"message"],[1,"modal-footer"],["type","button","aria-label","Close","data-qa","modal-cross",1,"btn-close",3,"click"],["type","button","data-qa","modal-back",1,"btn","btn-border","me-auto",3,"disabled"],["type","button","data-qa","modal-next",1,"btn","btn-primary",3,"disabled"],[3,"tooltip"],["type","button","data-qa","modal-ok",3,"class","disabled"],["type","button","data-qa","modal-cancel",1,"btn","btn-border",3,"disabled"],["type","button","data-qa","modal-custom",3,"class","disabled"],["type","button","data-qa","modal-back",1,"btn","btn-border","me-auto",3,"click","disabled"],["type","button","data-qa","modal-next",1,"btn","btn-primary",3,"click","disabled"],[1,"customSVGIcons","svg-sm"],["type","button","data-qa","modal-ok",3,"click","disabled"],["type","button","data-qa","modal-cancel",1,"btn","btn-border",3,"click","disabled"],["type","button","data-qa","modal-custom",3,"click","disabled"]],template:function(xe,Ce){1&xe&&(D.NAR(O),D.j41(0,"div",4)(1,"h4",5)(2,"span"),D.EFF(3),D.nI1(4,"translate"),D.k0s(),D.SdG(5),D.k0s(),D.nVh(6,N,1,0,"button",6),D.k0s(),D.j41(7,"div",7,0),D.SdG(9,1),D.nVh(10,q,1,1,"app-server-error",8),D.k0s(),D.nVh(11,ne,9,8,"div",9)),2&xe&&(D.R7$(3),D.JRh(D.bMT(4,4,Ce.header)),D.R7$(3),D.vxM(Ce.closeDisabled?-1:6),D.R7$(4),D.vxM(Ce.error?10:-1),D.R7$(),D.vxM(Ce.buttons?11:-1))},dependencies:[h.Q_,M.dg,A.a,d.J,_.D9],styles:["app-server-error[_ngcontent-%COMP%]{max-height:2.8em;overflow:hidden}"],changeDetection:0})}return Le})()},54999(ot,V,l){"use strict";l.d(V,{P:()=>g,R:()=>f});var f=function(h){return h[h.Ok=1]="Ok",h[h.Cancel=0]="Cancel",h[h.Custom=2]="Custom",h}(f||{}),g=function(h){return h[h.None=0]="None",h[h.Ok=1]="Ok",h[h.Cancel=2]="Cancel",h[h.OkCancel=3]="OkCancel",h[h.Custom=4]="Custom",h[h.OkCustom=5]="OkCustom",h[h.CancelCustom=6]="CancelCustom",h[h.OkCancelCustom=7]="OkCancelCustom",h[h.Back=8]="Back",h[h.BackOk=9]="BackOk",h[h.Next=16]="Next",h[h.BackNext=24]="BackNext",h}(g||{})},17855(ot,V,l){"use strict";l.d(V,{F4:()=>H,X2:()=>ee,cX:()=>te});var f=l(85802),g=l(1211),h=l(68739),_=l(46062),C=l(73801),o=l(49629),y=l(16444),d=l(96354),M=l(99172),A=l(25558),D=l(43462),w=l(49769),O=l(9852),x=l(9623),N=l(47548),q=l(35547);function K(F,J){if(1&F&&(q.nrm(0,"span",0),q.nI1(1,"lforfl"),q.nI1(2,"async"),q.j41(3,"span"),q.EFF(4),q.k0s()),2&F){const ne=J;q.Y8G("truncatedText",q.bMT(2,4,q.bMT(1,2,ne))),q.R7$(4),q.JRh(ne.phones.extension)}}function te(F,J=!0){const ne=new h.KA("0",_.eE.Extension,_.Ij);return ne.phones.extension=F.Number,ne.phones.mobile=F.MobileNumber,ne.nativeMobileNumber=F.MobileNumber,ne.isRegistered=!0,ne.firstName=F.FirstName||"",ne.lastName=F.LastName||"",ne.queueStatus=F.QueueStatus,ne.statusTemporarilyChanged=F.HasCurrentProfileOverride,ne.currentProfile=new D.WV({internalName:F.MyProfiles.Items.find(de=>de.Id===F.CurrentProfile)?.Name}),ne.overrideCurrentProfile=new D.WV({internalName:F.MyProfiles.Items.find(de=>de.Id===F.CurrentProfileOverride)?.Name}),ne.profilePicture=F.ContactImage||!J?F.ContactImage:C,ne.isBusy=F.Connections.Items.filter(de=>de.OwnerDn===F.Number).length>0,ne.isRinging=F.Connections.Items.some(de=>de.State===g.Tll.Ringing),ne.monitorExpiration=(0,x.jD)(F.MonitorExpiration),o.A.onContactNameChanged(ne),ne}const H=(F=!0)=>J=>
1J.pipe((0,A.n)(ne=>ne.myInfo$),(0,d.T)(ne=>te(ne,F)));let ee=(()=>{class F{myPhone=(0,f.WQX)(y.gx);myContact$=this.myPhone.myPhoneSession.pipe(H(),(0,M.Z)(h.a3));containerClass="d-flex gap-2 mw-0";static \u0275fac=function(de){return new(de||F)};static \u0275cmp=q.VBU({type:F,selectors:[["app-my-name"]],hostVars:2,hostBindings:function(de,Le){2&de&&q.HbH(Le.containerClass)},decls:2,vars:3,consts:[[1,"line-clamp-1",3,"truncatedText"]],template:function(de,Le){if(1&de&&(q.nVh(0,K,5,6),q.nI1(1,"async")),2&de){let ut;q.vxM((ut=q.bMT(1,1,Le.myContact$))?0:-1,ut)}},dependencies:[N.N,w.Jj,O._],encapsulation:2})}return F})()},59053(ot,V,l){"use strict";l.d(V,{Pe:()=>jt,xB:()=>Tn,lC:()=>Ni,nb:()=>At,XD:()=>Nt,HD:()=>dn,sw:()=>me,n0:()=>Vn,Si:()=>Bn,PD:()=>rn,bl:()=>Bt,yE:()=>p,Zt:()=>dt,ys:()=>Lt,eA:()=>ei,ps:()=>St,CO:()=>yt,h3:()=>Li,Xm:()=>wt,Bj:()=>Dt,nU:()=>fi,q8:()=>ye,sy:()=>we,iM:()=>Yi,jp:()=>Pn,ZG:()=>We,md:()=>je,n$:()=>st,xw:()=>zt,PN:()=>rt,BY:()=>bt,Ct:()=>Wi,sh:()=>qi,w3:()=>An,lx:()=>Cn,AG:()=>Hi,qu:()=>Ei,K3:()=>ci,J9:()=>si,WM:()=>Dn,Ep:()=>hn,QI:()=>Ee,YG:()=>Et,YR:()=>Mt,J3:()=>qt,Oh:()=>Fi,FX:()=>bi,V$:()=>Yt,YX:()=>lt,YS:()=>ln,Bn:()=>$,hx:()=>En,GQ:()=>eo,vT:()=>_t,gU:()=>le,G1:()=>On,Xi:()=>Vt,V7:()=>Wt,IF:()=>li,LI:()=>ti,lj:()=>kn,j$:()=>Sn,ln:()=>it,QO:()=>xn});var f=l(89417),g=l(33971),h=l(35218);const _="[a-fA-F\\d:]",C=Ut=>Ut&&Ut.includeBoundaries?`(?:(?<=\\s|^)(?=${_})|(?<=${_})(?=\\s|$))`:"",o="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",y="[a-fA-F\\d]{1,4}",d=`\n(?:\n(?:${y}:){7}(?:${y}|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8\n(?:${y}:){6}(?:${o}|:${y}|:)|                             // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4\n(?:${y}:){5}(?::${o}|(?::${y}){1,2}|:)|                   // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4\n(?:${y}:){4}(?:(?::${y}){0,1}:${o}|(?::${y}){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4\n(?:${y}:){3}(?:(?::${y}){0,2}:${o}|(?::${y}){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4\n(?:${y}:){2}(?:(?::${y}){0,3}:${o}|(?::${y}){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4\n(?:${y}:){1}(?:(?::${y}){0,4}:${o}|(?::${y}){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::${y}){0,5}:${o}|(?::${y}){1,7}|:))             // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})?                                             // %eth0            %1\n`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),M=new RegExp(`(?:^${o}$)|(?:^${d}$)`),A=new RegExp(`^${o}$`),D=new RegExp(`^${d}$`),w=Ut=>Ut&&Ut.exact?M:new RegExp(`(?:${C(Ut)}${o}${C(Ut)})|(?:${C(Ut)}${d}${C(Ut)})`,"g");w.v4=Ut=>Ut&&Ut.exact?A:new RegExp(`${C(Ut)}${o}${C(Ut)}`,"g"),w.v6=Ut=>Ut&&Ut.exact?D:new RegExp(`${C(Ut)}${d}${C(Ut)}`,"g");const O=w,{toString:q}=Object.prototype,te={global:"g",ignoreCase:"i",multiline:"m",dotAll:"s",sticky:"y",unicode:"u"};function Le(Ut,vn,{}={}){try{return function x(Ut){const vn=(...Hn)=>Ut(...Hn);return Object.defineProperty(vn,"name",{value:`functionTimeout(${Ut.name||"<anonymous>"})`,configurable:!0}),vn}(()=>function H(Ut,vn={}){if(!function K(Ut){return"[object RegExp]"===q.call(Ut)}(Ut))throw new TypeError("Expected a RegExp instance");const Hn=Object.keys(te).map(ai=>("boolean"==typeof vn[ai]?vn[ai]:Ut[ai])?te[ai]:"").join(""),Kn=new RegExp(vn.source||Ut.source,Hn);return Kn.lastIndex="number"==typeof vn.lastIndex?vn.lastIndex:Ut.lastIndex,Kn}(Ut).test(vn))()}catch(Kn){throw Kn}}const Ke={timeout:400};function Qe(Ut){return!(Ut.length>45)&&Le(O({exact:!0}),Ut,Ke)}var Ze=l(34187),fe=l.n(Ze),ie=l(9625),Xe=l.n(ie),ve=l(25843),he=l(422);const{parse:Ve}=Xe(),dt=(Ut,vn)=>Hn=>Ut()?vn(Hn):null,Dt=Ut=>Ut.value&&!(0,g.B9)(Ut.value)?{email:!0}:null,wt=Ut=>Ut.value&&Ut.value.split(",").some(vn=>vn.trim()&&!(0,g.B9)(vn))?{emailList:!0}:null,Yt=Ut=>Ut.value&&!g.TJ.isValidPhoneNumber(Ut.value)?{mobileNumberIsInvalid:!0}:null,Tt=Ut=>/\*/.test(Ut),qt=Ut=>Tt(Ut.value)?{starCodeError:!0}:null,We=(Ut,vn)=>-1===Ut.search(/^[^\s"%]*$/)||vn&&/\*/.test(Ut),yt=Ut=>Ut.value&&We(Ut.value)?{didIsInvalid:!0}:null,je=Ut=>Ut.includes('"')||Ut.includes("%"),St=Ut=>Ut.value&&je(Ut.value)?{didIsInvalid:!0}:null,me=Ut=>Ut.value&&-1===Ut.value.search(/^[^\s"]*$/)?{authenticationId:!0}:null,rt=Ut=>{const vn=Ut.startsWith("*")&&!Ut.substring(1).includes("*"),Hn=Ut.endsWith("*")&&!Ut.substring(0,Ut.length-1).includes("*");return Tt(Ut)&&vn===Hn},bt=Ut=>rt(Ut.value)?{invalidStarPositionInDid:!0}:null,we=Ut=>Ut.value&&!/^[a-zA-Z0-9+*._]+$/.test(Ut.value)?{invalidDirectNumber:!0}:null,Mt=Ut=>Ut.value?we(Ut)?{myMobileIsForwardedToAndInvalid:!0}:null:{myMobileIsForwardedToAndEmpty:!0},p=Ut=>Ut.value===h.t.VideoPhoneAndChat?{communicationOptionError:!0}:null,Bt=20,it=[f.k0.required,f.k0.maxLength(50),f.k0.pattern(/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{10,}$/)];function Lt(Ut){return vn=>vn.value?.Concealed?null:Ut({value:vn.value?.Value})}const Me=f.k0.pattern(/^[^\\*;#"&<>^$%)(@`/:!{}\[\]|+'=\-_ ]*$/),le=f.k0.pattern(/^\d{6}$/),$=[...it,Me],Ee=/^[0-9A-F]{12}$/i,Et=f.k0.pattern(/^[0-9a-f]{12}$/i),dn=Ut=>Ut.value&&!/^[a-zA-Z0-9]*$/.test(Ut.value)?{invalidAlphanumeric:!0}:null,Nt=Ut=>Ut.value&&!/^[0-9a-zA-Z_\-.]+$/.test(Ut.value)?{invalidChars:!0}
1:null,st=Ut=>/[\x00-\x1F]+/.test(Ut),zt=Ut=>Ut.value&&st(Ut.value)?{invalidHexCharacter:!0}:null,Dn=f.k0.pattern(/^[a-z0-9]*$/),hn=f.k0.pattern(/^[a-z_0-9]*$/),Vn=f.k0.pattern(/^[a-z0-9*]*$/),Pn=f.k0.pattern(/^[-]?[0-9]+$/),xn=Ut=>Ut.value&&!Ut.value.trim()?{whitespace:!0}:null,ei=Ut=>Ut.value&&!/^(\\*[0-9*]+)?$/.test(Ut.value)?{invalidDialCode:!0}:null,ci=f.k0.pattern(/^\s*([A-Za-z0-9]){4}-([A-Za-z0-9]){4}-([A-Za-z0-9]){4}-([A-Za-z0-9]){4}\s*$/);function fi(Ut){return vn=>vn.value&&!((Ut,vn)=>(vn?new RegExp(`^[0-9]{${vn.From},${vn.To}}$`):new RegExp("^[0-9]*$")).test(Ut))(vn.value,Ut)?{invalidExtensionNumber:!0}:null}const Li=Ut=>Ut.value?.Number?null:{required:!0};function Cn(Ut){try{if(!Ut)return!1;const vn=new URL(Ut);return"https:"===vn.protocol||"http:"===vn.protocol}catch{return!1}}function ti(Ut){return Ut.value&&Ut.value.some(Hn=>!Cn(Hn))?{url:!0}:null}function si(Ut){return vn=>vn.value&&-1===Ut.indexOf(vn.value)?{listElementNotFound:!0}:null}function Ei(Ut){try{const vn=Qe(Ut)?Ve(Ut).kind():void 0;return"ipv4"===vn||"ipv6"===vn&&!Ut.includes(".")}catch{return!1}}const An=Ut=>{const vn=fe()(Ut.value)&&!Qe(Ut.value);return Ut.value&&!vn?{invalidHostName:!0}:null},Hi=Ut=>Ut.value&&!function Ki(Ut){return Ei(Ut)||fe()(Ut)}(Ut.value)?{invalidIPAddress:!0}:null,Wi=Ut=>Ut.value&&!Ei(Ut.value)?{invalidIPAddress:!0}:null,qi=({value:Ut})=>!Ut||Ei(Ut)&&"ipv4"===Ve(Ut).kind()?null:{invalidIpV4:!0},eo=Ut=>Ut.value?null:{invalidTime:!0},Yi=(...Ut)=>vn=>Ut.reduce((Kn,ai)=>Kn.replaceAll(ai,""),vn?.value?.toLowerCase()??"")?null:{required:!0},En=(...Ut)=>vn=>vn?.value&&!Ut.find(Hn=>vn?.value.toLowerCase().startsWith(Hn.toLowerCase()))?{startWithError:{p1:Ut}}:null,li=(Ut=!1)=>vn=>{const{value:Hn}=vn;if(Hn&&(!Ut||Hn.split("//")[1]))try{return new URL(Hn),null}catch{return{invalidUrl:!0}}return null};function ln(Ut,vn){if(!Ut||!vn||0===vn.length)return;const Hn=vn.reduce((Kn,ai)=>(delete Kn[ai],Kn),{...Ut.errors});0===Object.keys(Hn||{}).length?Ut.setErrors(null):Ut.setErrors(Hn)}function Tn(Ut,vn){!Ut||!vn||!Object.keys(vn)||Ut.setErrors({...Ut.errors,...vn})}function _t(Ut,vn,Hn){Hn?Tn(Ut,vn):ln(Ut,Object.keys(vn))}function Wt(Ut){return function(Hn){const Kn=Hn.parent?.controls;return Hn.value&&Kn&&Object.keys(Kn).some(Pi=>{if(Ut&&Ut.length&&!Ut.includes(Pi))return!1;const oi=Kn[Pi];return oi!==Hn&&oi.value===Hn.value})?{unique:!0}:null}}function ye(Ut){return function(Hn){const Kn=Hn.controls;if(!Hn.value||!Kn)return null;const ai=Object.keys(Kn).filter(mi=>!Ut||!Ut.length||Ut.includes(mi)),Pi=ai.map(mi=>Kn[mi].value),oi=Pi.filter(mi=>Pi.indexOf(mi)===Pi.lastIndexOf(mi));return ai.forEach(mi=>{const wi=Kn[mi];wi.errors?.unique&&oi.includes(wi.value)&&wi.updateValueAndValidity({onlySelf:!0})}),null}}const lt=(Ut,vn)=>Hn=>"number"==typeof Hn?.value&&(Hn?.value<Ut||Hn?.value>vn)?{range:{min:Ut,max:vn}}:null,Vt=Ut=>{const vn=Ut.value;if(!vn||vn.length<=1)return null;const Hn=vn.map(ai=>ai.Number).filter(ai=>ai&&""!==ai.trim()),Kn=new Set(Hn);return Hn.length!==Kn.size?{duplicateExtensionNumbers:!0}:null},On=(Ut,vn)=>Hn=>{const Kn=Hn.value;return Kn?.Number&&Ut.some(Pi=>(!vn||Pi.Number!==vn.Number)&&Pi.Number===Kn.Number)?{unique:!0}:null},Bn=(Ut,vn,Hn)=>Kn=>{const ai=Hn?255:8;let Pi=new RegExp("^(\\+)?(\\d){0,"+ai+"}$");Ut||(Pi=new RegExp("^(\\d){1,"+ai+"}$"));const oi=Kn.value?.trim();if(!oi)return null;const mi=oi.split(",");for(let wi of mi){wi=wi.trim();const _i=wi.split("-");if(1===_i.length){if(!Pi.test(wi))return{invalid:!0};continue}if(2!==_i.length)return{invalid:!0};const hi=_i[0].trim(),Ti=_i[1].trim();if(!vn&&hi.length!==Ti.length)return{invalid:!0};if(hi.length>ai)return{invalid:!0};if(!Pi.test(hi)||!Pi.test(Ti))return{invalid:!0};const to=Number.parseInt(hi,10),lo=Number.parseInt(Ti,10);if(to>=lo)return{invalidRange:!0};if(lo-to>20)return{rangeCantBeMoreThan20:!0}}return null},Ni=50,At=[f.k0.required,f.k0.maxLength(Ni),({value:Ut})=>{if(!Ut)return null;const vn=Ut.split("");return Ut.length>=10&&/\d/.test(Ut)&&(Ut.length>=15||/[!#$%&()*+,-./:;<=>?@{}
1]/.test(Ut))&&vn.indexOf(" ")<0&&vn.some(Kn=>Kn===Kn.toUpperCase()&&Kn!==Kn.toLowerCase())&&vn.some(Kn=>Kn===Kn.toLowerCase()&&Kn!==Kn.toUpperCase())?null:{passwordWithSpecialChars:!0}}],jt=131072,rn=Ut=>Ut.value&&Ut.value.size&&Ut.value.size>jt?{certificateSize:!0}:null;function Sn(Ut,vn={}){const Hn=Ut.name.split(".").pop(),{maxSizeMb:Kn,allowedExtensions:ai,accept:Pi,incorrectExtensionText:oi}=vn,mi=ai?.map(_i=>_i.replace(/^\./,""))??Pi?.split(",").map(_i=>[..._i.matchAll(/^\s*(\.|[a-z0-9]+\/)([a-z0-9]+)\s*$/g)][0]?.[2]).filter(Boolean);if(mi?.length&&(!Hn||!mi.includes(Hn.toLowerCase())))return oi||"_i18n.IncorrectFileFormat";if(Ut.name.length>50)return"_i18n.FileNameCannotBeMoreThan50";if(/^(nul|prn|con|aux|lpt[0-9]|com[0-9])(\.|$)/.test(Ut.name)||/(^\.|\.$)/.test(Ut.name)||/["<>|:*?/\\]/.test(Ut.name))return"_i18n.InvalidFileName";const wi=Kn||ve.cF;return Ut.size>wi*ve.MB?(0,he.cQ)(wi):null}const kn=Ut=>Sn(Ut,{incorrectExtensionText:"_i18n.IncorrectAudioFormat",maxSizeMb:ve.l2,allowedExtensions:["wav"]}),bi=Ut=>vn=>{if(!vn.value)return null;const Hn=vn.value;return Array.isArray(Hn)&&Hn.some(ai=>ai.Number&&ai.Number.length>Ut)?{extensionNumberTooLong:!0}:null},Fi=Ut=>vn=>{if(!vn.value)return null;const Hn=vn.value;return Hn&&Hn.Number&&Hn.Number.length>Ut?{peerNumberTooLong:!0}:null}},11920(ot,V,l){"use strict";l.d(V,{C7:()=>A,h4:()=>x,vN:()=>w});var f=l(19724),g=l(33726),h=l(7673),_=l(99437),C=l(31943),o=l(25558),y=l(96697),d=l(88141),M=l(90422);function A(N,q,K){const te=N.find(ee=>ee.label===K&&ee.kind===q);if(te)return{media:te,labelId:K??""};const H=N&&N.find(ee=>"default"===ee.deviceId&&ee.kind===q);return H&&H instanceof MediaDeviceInfo?{media:H,labelId:K??""}:N&&N.length>0?{media:N[0],labelId:K??""}:{media:void 0,labelId:K??""}}function D(N,q,K,te){const H=N.getSenders();if(0===H.length)return N.addTrack(q,K);const ee=H.find(F=>!(!F.track||F.track.kind!==te));return ee?(ee.replaceTrack(q),ee):N.addTrack(q,K)}function w(N){N.getAudioTracks().forEach(q=>q.stop()),N.getVideoTracks().forEach(q=>q.stop())}function O(N){return N.video||N.audio?navigator.mediaDevices.getUserMedia(N):Promise.resolve(new MediaStream)}function x(N,q,K,te,H=!1){const ee=N.peerConnection,F=J=>{N.localStream=J,J.getTracks().forEach(ne=>{"video"===ne.kind?K&&"live"===ne.readyState&&(N.video=D(ee,ne,J,"video")):q&&"live"===ne.readyState&&(ne.enabled=!N.isMuted,N.audio=D(ee,ne,J,"audio"))}),N.audio&&N.audio.dtmf&&(N.toneSend$=(0,g.R)(N.audio.dtmf,"tonechange").pipe((0,C.S)((ne,de)=>ne+de.tone,"")))};if(N.localStream&&!H){K||N.localStream.getVideoTracks().forEach(de=>de.stop()),q||N.localStream.getAudioTracks().forEach(de=>de.stop());const J=N.localStream.getVideoTracks().some(de=>"live"===de.readyState),ne=N.localStream.getAudioTracks().some(de=>"live"===de.readyState);if((!K||K&&J)&&(!q||q&&ne))return F(N.localStream),(0,h.of)(N.localStream);w(N.localStream)}return H&&N.localStream&&(N.localStream.getVideoTracks().forEach(J=>J.stop()),N.localStream.getAudioTracks().forEach(J=>J.stop())),te.pipe((0,y.s)(1),(0,o.n)(J=>{const ne=(0,M.tn)(J,q,K,M.VD.Both);return(0,f.H)(O({audio:ne.audio,video:ne.video})).pipe((0,_.W)(de=>{console.log(de);const Le=(0,M.tn)(J,q,K,M.VD.Microphone);return(0,f.H)(O({audio:Le.audio,video:Le.video})).pipe((0,_.W)(ut=>{console.log(ut);const Oe=(0,M.tn)(J,q,K,M.VD.None);return(0,f.H)(O({audio:Oe.audio,video:Oe.video}))}))}))}),(0,_.W)(J=>(console.log(J),(0,f.H)(O({audio:q,video:!1})))),(0,d.M)(F))}},60889(ot,V,l){"use strict";l.d(V,{w$:()=>yt,nQ:()=>We,yE:()=>wt});var f=l(983),g=l(19724),h=l(84412),_=l(18530),C=l(84572),o=l(92771),y=l(33726),d=l(44437),M=l(7673),A=l(18810),D=l(25558),w=l(31943),O=l(97647),x=l(96354),N=l(96697),q=l(5964),K=l(88141),te=l(99437),H=l(70980),ee=l(85802),F=l(38601),J=l(7881),ne=l(54999),de=l(16444),Le=l(30782),ut=l(31080),Oe=l(1211),xe=l(71985),Fe=l(12539);function kt(je,St,me){return function Qe(je,St,me,rt,bt){const we=-1!==me?me:je.length;for(let Mt=St;Mt<we;++Mt)if(je[Mt].startsWith(rt)&&(!bt||je[Mt].toLowerCase().includes(bt.toLowerCase())))return Mt;return null}(je,0,-1,St,me)}var fe=l(42610),ie=l(20039),Xe=l(11920),ve=l(86908),he=l(96106),Pe=l(23773);function Ve(je,St){return St?je:je.replace("sendrecv","sendonly")}function dt(je){return function St(me){me.peerConnection&&me.peerConnection.close(),me.audio=void 0,me.isVideoReceived=!1,me.toneSend$=f.w,me.video=void 0,me.remoteStream$.next(null)}(je),je.peerConnection=new RTCPeerConnection({}),je.peerConnection.ontrack=me=>je.remoteStream$.next(me.streams[0]),je.peerConnection}function Dt(je,St){let me=!1,rt=!1;return je&&ut.splitSections(je).filter(bt=>St.includes(ut.getDirection(bt,""))&&!ut.isRejected(bt)).map(bt=>
1ut.getKind(bt)).forEach(bt=>{"video"===bt?rt=!0:"audio"===bt&&(me=!0)}),[me,rt]}function wt(je){return Dt(je,["sendrecv","recvonly"])}function Yt(je){return Dt(je,["sendrecv","sendonly"])}function qt(je,St){return(0,g.H)(je.setRemoteDescription(St))}function We(je){je&&(je.localStream&&(0,Xe.vN)(je.localStream),!je.isNegotiationInProgress&&je.peerConnection&&je.peerConnection.close())}let yt=(()=>{class je{modalService=(0,ee.WQX)(F.B);headsetService=(0,ee.WQX)(ve.i);deviceService=(0,ee.WQX)(Fe.q);myPhoneService=(0,ee.WQX)(de.gx);webRtcCodecPriority=(0,Pe.I)(fe.Hh.WebRtcCodecPriority,void 0);mediaDevice$;webRTCEndpoint$;_lastInboundMedia;_lastOutboundMedia;_globalTransactionId=0;_forcedEmit=new h.t(!0);_suspendStream=new _.B;_resumeStream=new _.B;constructor(){this.webRTCEndpoint$=this.myPhoneService.myPhoneSession.pipe((0,D.n)(me=>me.webRTCEndpoint$),((je,St)=>me=>new xe.c(rt=>{let bt=0,we=[];const Mt=[je.subscribe(()=>{bt++}),St.subscribe(()=>{bt--,0===bt&&(we.forEach(p=>rt.next(p)),we=[])}),me.subscribe({next:p=>{bt>0?we.push(p):rt.next(p)},error:p=>rt.error(p),complete:()=>rt.complete()})];return()=>{Mt.forEach(p=>p.unsubscribe())}}))(this._suspendStream,this._resumeStream)),this.mediaDevice$=(0,C.z)([this.webRTCEndpoint$,this._forcedEmit]).pipe((0,w.S)((me,rt)=>{const[bt]=rt,we=bt.Items.reduce((p,Bt)=>(p[Bt.Id]=Bt,p),{});this._lastOutboundMedia&&we[this._lastOutboundMedia.lastWebRTCState.Id]&&(me.push(this._lastOutboundMedia),this._lastOutboundMedia=void 0),this._lastInboundMedia&&we[this._lastInboundMedia.lastWebRTCState.Id]&&(me.push(this._lastInboundMedia),this._lastInboundMedia=void 0);const Mt=[];return me.forEach(p=>{const Bt=we[p.lastWebRTCState.Id];if(Bt){const it=p.lastWebRTCState;p.lastWebRTCState=new Oe.aw_(Bt),!p.isActive&&Bt.holdState===Oe.sER.WebRTCHoldState_NOHOLD&&it.holdState===Oe.sER.WebRTCHoldState_HELD&&this.hold(p,!1).subscribe({error:Lt=>{console.warn(Lt)}}),it.sdpType===Bt.sdpType&&it.sdp===Bt.sdp||this.processState(it.sdpType,p).subscribe({error:Lt=>{"Call is not found"!==(0,J.PE)(Lt)&&this.modalService.error(Lt)}}),delete we[Bt.Id],Mt.push(p)}else We(p)}),Mt},[]),(0,he.kx)(me=>me.forEach(rt=>We(rt))),(0,O.u)({connector:()=>new o.m(1)}))}setLocalDescription(me,rt,bt){return this.myPhoneService.myPhoneSession.pipe((0,x.T)(we=>we.systemParameters),(0,N.s)(1),(0,D.n)(we=>{if(bt){const Mt=this.webRtcCodecPriority()??we.WebRtcCodecs;Mt?.length>0&&Mt.slice().reverse().forEach(p=>{rt.sdp&&(rt.sdp=function Ze(je,St,me){if(!me)return je;const rt=je.split("\r\n"),bt=kt(rt,"m=",St);if(null===bt)return je;const we=function Pt(je,St){const me=kt(je,"a=rtpmap",St);return me?function ct(je){const St=new RegExp("a=rtpmap:(\\d+) [a-zA-Z0-9-]+\\/\\d+"),me=je.match(St);return me&&2===me.length?me[1]:null}(je[me]):null}(rt,me);return we&&(rt[bt]=function Ke(je,St){const me=je.split(" "),rt=me.slice(0,3);rt.push(St);for(let bt=3;bt<me.length;bt++)me[bt]!==St&&rt.push(me[bt]);return rt.join(" ")}(rt[bt],we)),rt.join("\r\n")}(rt.sdp,"audio",p))})}return(0,g.H)(me.setLocalDescription(rt)).pipe((0,D.n)(()=>(0,y.R)(me,"icegatheringstatechange")),(0,q.p)(()=>"complete"===me.iceGatheringState),(0,N.s)(1))}))}processState(me,rt){if(!rt.peerConnection)return f.w;switch(rt.lastWebRTCState.sdpType){case Oe.Pqd.WRTCAnswerProvided:return this.processAnswerProvided(me,rt);case Oe.Pqd.WRTCOffer:return this.processOffer(rt);case Oe.Pqd.WRTCRequestForOffer:return this.processRequestForOffer(rt);case Oe.Pqd.WRTCConfirmed:this.processConfirmed(rt)}return f.w}processConfirmed(me){if(me.isNegotiationInProgress=!1,me.peerConnection?.remoteDescription){const[rt,bt]=Yt(me.peerConnection.remoteDescription.sdp);me.isVideoReceived=bt}}processAnswerProvided(me,rt){const bt=rt.lastWebRTCState;if(me===Oe.Pqd.WRTCConfirmed)return this.setConfirmed(bt.Id);const[we,Mt]=wt(rt.lastWebRTCState.sdp);return!Mt&&rt.video&&(rt.localStream&&rt.localStream.getVideoTracks().forEach(p=>p.stop()),rt.video=void 0),qt(rt.peerConnection,{type:"answer",sdp:bt.sdp}).pipe((0,D.n)(()=>this.setConfirmed(bt.Id)))}setConfirmed(me){return this.requestChangeState({Id:me,sdpType:Oe.Pqd.WRTCConfirm})}processOffer(me){const[rt,bt]=Yt(me.lastWebRTCState.sdp);return!me.isVideoCall&&bt?this.modalService.messageBox("_i18n.IfAnswerWithVideo","_i18n.ConfirmationRequired",void 0,ne.P.OkCancel).pipe((0,D.n)(({decision:we})=>(me.isVideoCall=we===ne.R.Ok,this.processAnswer(me)))):this.processAnswer(me)}processRequestForOffer(me){return this.processAnswer(me)}getLastOutgoingMedia(){const me=this._lastOutboundMedia;return this._lastOutboundMedia=void 0,me}getLastInboundMedia(){const me=this._lastInboundMedia;return this._lastInboundMedia=void 0,me}holdAll(me){return this.mediaDevice$.pipe((0,N.s)(1),(0,x.T)(rt=>rt.filter(bt=>bt.lastWebRTCState.Id!==me)),(0,D.n)(rt=>rt.length?(0,d.y)(...rt.map(bt=>this.hold(bt,!1))):(0,M.of)([])))}pickupCall(me,rt,bt){return this.setupCall(bt,{replaceConnectionId:me}).pipe((0,K.M)(we=>{this._lastOutboundMedia=we,this.headsetService.outgoingCall(rt,we.lastWebRTCState)}))}makeCall(me,rt,bt){return this.setupCall(bt,{destinationNumber:me}).pipe((0,K.M)(we=>{this._lastOutboundMedia=we,this.headsetService.outgoingCall(rt,we.lastWebRTCState)}))}makeBargeInCall(me,rt,bt){return this.setupCall(!1,{replaceConnectionId:me,destinationNumber:Oe.cW9[bt]}).pipe((0,K.M)(we=>{this._lastOutboundMedia=we,this.headsetService.outgoingCall(rt,we.lastWebRTCState)}))}setupCall(me,rt){const bt=new Le.B({lastWebRTCState:new Oe.aw_({sdpType:Oe.Pqd.WRTCInitial,holdState:Oe.sER.WebRTCHoldState_NOHOLD})});bt.isActive=!0,bt.isNegotiationInProgress=!0,bt.isVideoCall=me;const we=dt(bt);return this.holdAll().pipe((0,D.n)(()=>(0,Xe.h4)(bt,!0,me,this.deviceService.mediaPeerConstraints$)),(0,K.M)(()=>{this.deviceService.permissionsRequested$.next(!0)}),(0,D.n)(Mt=>(0,g.H)(we.createOffer({offerToReceiveAudio:!0,offerToReceiveVideo:me}))),(0,D.n)(Mt=>this.setLocalDescription(we,Mt,!0)),(0,D.n)(()=>we.localDescription&&we.localDescription.sdp?this.requestChangeState({Id:0,sdpType:Oe.Pqd.WRTCOffer,transactionId:this._globalTransactionId++,sdp:we.localDescription.sdp,...rt},!0):(0,A.$)(()=>new Error("Local sdp missing"))),(0,x.T)(Mt=>(bt.lastWebRTCState=new Oe.aw_({Id:Mt.CallId,sdpType:Oe.Pqd.WRTCInitial}),bt)),(0,te.W)(Mt=>(We(bt),(0,A.$)(()=>Mt))))}answer(me,rt){return me.isNegotiationInProgress?f.w:(me.isActive=!0,me.isVideoCall=rt,this.holdAll(me.lastWebRTCState.Id).pipe((0,D.n)(()=>this.processAnswer(me))))}processAnswer(me){const rt=me.lastWebRTCState,bt=dt(me);let we,Mt;if(me.isActive||(me.isMuted=!0),me.isNegotiationInProgress=!0,rt.sdpType===Oe.Pqd.WRTCOffer){if(!rt.sdp)return(0,A.$)(()=>new Error("Offer doesn't have sdp"));const[p,Bt]=wt(rt.sdp);Mt=Oe.Pqd.WRTCAnswer,we=(0,Xe.h4)(me,p,Bt&&me.isVideoCall,this.deviceService.mediaPeerConstraints$).pipe((0,K.M)(()=>this.deviceService.permissionsRequested$.next(!0)),(0,D.n)(()=>qt(bt,{type:"offer",sdp:rt.sdp})),(0,D.n)(()=>(0,g.H)(bt.createAnswer())),(0,D.n)(it=>this.setLocalDescription(bt,it,!1)))}else{if(rt.sdpType!==Oe.Pqd.WRTCRequestForOffer)return me.isNegotiationInProgress=!1,(0,A.$)(()=>new Error(`Can't answer when state ${rt.sdpType}`));{Mt=Oe.Pqd.WRTCOffer;const p={offerToReceiveAudio:!0,offerToReceiveVideo:me.isVideoCall};we=(0,Xe.h4)(me,!0,me.isVideoCall,this.deviceService.mediaPeerConstraints$).pipe((0,K.M)(()=>this.deviceService.permissionsRequested$.next(!0)),(0,D.n)(()=>(0,g.H)(bt.createOffer(p))),(0,D.n)(Bt=>this.setLocalDescription(bt,Bt,!0)))}}return we.pipe((0,D.n)(()=>bt.localDescription&&bt.localDescription.sdp?this.requestChangeState({Id:rt.Id,sdpType:Mt,transactionId:rt.transactionId,sdp:bt.localDescription.sdp}):(0,A.$)(()=>new Error("Local sdp missing"))),(0,te.W)(p=>(me.isNegotiationInProgress=!1,(0,A.$)(()=>p))))}associateCalls(me,rt){const bt=rt.reduce((we,Mt)=>(we[Mt.lastWebRTCState.SIPDialogID]=Mt,we),{});return me.forEach(we=>{we.media=function Tt(je,St){return St.find(me=>!!je.SIPDialogID&&je.SIPDialogID?.includes(me.lastWebRTCState.SIPDialogID)
1)||Le.d}(we,rt),we.isWebRtcBrowserAgent=we.media!==Le.d,we.SIPDialogID?.forEach(Mt=>{delete bt[Mt]})}),(0,ie.B8)(Object.values(bt))}sendDtmf(me,rt){me.audio&&me.audio.dtmf&&me.audio.dtmf.insertDTMF(rt,100,100)}video(me){return me.isVideoCall&&(!me.isVideoReceived||!me.isVideoSend)||(me.isVideoCall=!me.isVideoCall),this.renegotiate(me,!0)}mute(me,rt){this.setMute(me,!me.isMuted),this.headsetService.mute(rt,me.isMuted)}setMute(me,rt){me.isMuted=rt,me.audio&&me.audio.track&&(me.audio.track.enabled=!rt)}hold(me,rt){me.isActive=rt;const bt=me.lastWebRTCState;return this.setMute(me,!rt),rt||bt.holdState===Oe.sER.WebRTCHoldState_NOHOLD?rt&&bt.holdState!==Oe.sER.WebRTCHoldState_HOLD?this.holdAll(me.lastWebRTCState.Id):this.renegotiate(me,rt).pipe((0,te.W)(we=>"Call is not found"===(0,J.PE)(we)?(console.warn(we),(0,M.of)(!0)):(0,A.$)(()=>we))):(0,M.of)(!0)}reactivate(me){return this.renegotiate(me,!0)}renegotiate(me,rt){if(me.isNegotiationInProgress)return(0,M.of)(!0);const bt=me.lastWebRTCState;me.isNegotiationInProgress=!0,this._forcedEmit.next(!0);const we=dt(me);let Mt=(0,M.of)(!0);return rt&&(Mt=this.holdAll(me.lastWebRTCState.Id)),Mt.pipe((0,D.n)(()=>(0,Xe.h4)(me,!0,!!rt&&me.isVideoCall,this.deviceService.mediaPeerConstraints$)),(0,K.M)(()=>this.deviceService.permissionsRequested$.next(!0)),(0,D.n)(()=>(0,g.H)(we.createOffer({offerToReceiveAudio:rt,offerToReceiveVideo:rt&&me.isVideoCall}))),(0,D.n)(p=>this.setLocalDescription(we,p,!0)),(0,D.n)(()=>we.localDescription&&we.localDescription.sdp?this.requestChangeState({Id:bt.Id,sdpType:Oe.Pqd.WRTCOffer,transactionId:this._globalTransactionId++,sdp:Ve(we.localDescription.sdp,rt)}):(0,A.$)(()=>new Error("Local sdp missing"))),(0,te.W)(p=>(me.isNegotiationInProgress=!1,We(me),this._forcedEmit.next(!0),(0,A.$)(()=>p))))}drop(me){return this.myPhoneService.get(new Oe.f7x({Id:me.media.lastWebRTCState.Id,sdpType:Oe.Pqd.WRTCTerminate}))}requestChangeState(me,rt){return rt?this.myPhoneService.get(new Oe.f7x(me)).pipe((je=>St=>new xe.c(me=>(je(),St.subscribe(me))))(()=>this._suspendStream.next()),(0,D.n)(bt=>bt.Success?(0,M.of)(bt):(0,A.$)(()=>new Error(bt.Message))),(0,H.j)(()=>this._resumeStream.next())):this.myPhoneService.get(new Oe.f7x(me)).pipe((0,D.n)(bt=>bt.Success?(0,M.of)(bt):(0,A.$)(()=>new Error(bt.Message))))}static \u0275fac=function(rt){return new(rt||je)};static \u0275prov=ee.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})()},22037(ot,V,l){"use strict";l.d(V,{J:()=>f,g:()=>g});const f="Webclient",g={name:f,version:"20.0.9.0",isHuman:!0}},97144(ot,V,l){"use strict";l.d(V,{c:()=>g}),(0,l(17705).SmG)();const g={production:!0,decorateModuleRef:h=>h}},25843(ot,V,l){"use strict";l.d(V,{GB:()=>g,MB:()=>f,MG:()=>d,X6:()=>y,Yh:()=>o,__:()=>D,cF:()=>A,ev:()=>h,fs:()=>w,l2:()=>C,uL:()=>M,uS:()=>_});const f=1048576,g=1024*f,h=1,_=10,C=10,o=2,y=1,d=1024,M=5,A=300,D=50,w=16},12449(ot,V,l){"use strict";l.d(V,{d:()=>C});var f=l(91413),g=l(81423),h=l(20681),_=l(37863);class C{basePath="http://localhost";defaultHeaders=new f.Lr;configuration;encoder;constructor(y,d){if(this.configuration=d||new h.V,"string"!=typeof this.configuration.basePath){const M=Array.isArray(y)?y[0]:void 0;null!=M&&(y=M),"string"!=typeof y&&(y=this.basePath),this.configuration.basePath=y}this.encoder=this.configuration.encoder||new g.n}canConsumeForm(y){return-1!==y.indexOf("multipart/form-data")}addToHttpParams(y,d,M,A,D){if(null==M)return y;if(A===_.l2.DeepObject){if("object"!=typeof M)throw Error(`An object must be provided for key ${d} as it is a deep object`);return Object.keys(M).reduce((w,O)=>w.append(`${d}[${O}]`,M[O]),y)}return A===_.l2.Json?y.append(d,JSON.stringify(M)):Object(M)!==M?y.append(d,M.toString()):M instanceof Date?y.append(d,M.toISOString()):Array.isArray(M)?y.set(d,M,A===_.l2.Form?{explode:D,delimiter:","}:A===_.l2.SpaceDelimited?{explode:D,delimiter:" "}:{explode:D,delimiter:"|"}):A===_.l2.Form?D?(Object.keys(M).forEach(w=>{y=this.addToHttpParams(y,w,M[w],A,D)}),y):(0,_.I1)(y,d,M,","):(0,_.I1)(y,d,M,A===_.l2.SpaceDelimited?" ":"|")}}},6118(ot,V,l){"use strict";l.d(V,{Y:()=>o});var f=l(91413),g=l(3710),h=l(12449),_=l(85802),C=l(20681);let o=(()=>{class y extends h.d{httpClient;constructor(M,A,D){super(A,D),this.httpClient=M}signInBrandingOptions(M="body",A=!1,D){let w=this.defaultHeaders;const O=D?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json"]);void 0!==O&&(w=w.set("Accept",O));const x=D?.context??new f._y,N=D?.transferCache??!0;let q="json";O&&(q=O.startsWith("text")?"text":this.configuration.isJsonMime(O)?"json":"blob");const{basePath:te,withCredentials:H}=this.configuration;return this.httpClient.request("get",`${te}
1/SignIn/brandingOptions`,{context:x,responseType:q,...H?{withCredentials:H}:{},headers:w,observe:M,...void 0!==N?{transferCache:N}:{},reportProgress:A})}signInOptions(M="body",A=!1,D){let w=this.defaultHeaders;const O=D?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json"]);void 0!==O&&(w=w.set("Accept",O));const x=D?.context??new f._y,N=D?.transferCache??!0;let q="json";O&&(q=O.startsWith("text")?"text":this.configuration.isJsonMime(O)?"json":"blob");const{basePath:te,withCredentials:H}=this.configuration;return this.httpClient.request("get",`${te}/SignIn/options`,{context:x,responseType:q,...H?{withCredentials:H}:{},headers:w,observe:M,...void 0!==N?{transferCache:N}:{},reportProgress:A})}static \u0275fac=function(A){return new(A||y)(_.KVO(f.Qq),_.KVO(g.o,8),_.KVO(C.V,8))};static \u0275prov=_.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},20681(ot,V,l){"use strict";l.d(V,{V:()=>f});class f{apiKeys;username;password;accessToken;basePath;withCredentials;encoder;encodeParam;credentials;constructor({accessToken:h,apiKeys:_,basePath:C,credentials:o,encodeParam:y,encoder:d,password:M,username:A,withCredentials:D}={}){_&&(this.apiKeys=_),void 0!==A&&(this.username=A),void 0!==M&&(this.password=M),void 0!==h&&(this.accessToken=h),void 0!==C&&(this.basePath=C),void 0!==D&&(this.withCredentials=D),d&&(this.encoder=d),this.encodeParam=y??(w=>this.defaultEncodeParam(w)),this.credentials=o??{},this.credentials.Application||(this.credentials.Application=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}selectHeaderContentType(h){if(0===h.length)return;const _=h.find(C=>this.isJsonMime(C));return void 0===_?h[0]:_}selectHeaderAccept(h){if(0===h.length)return;const _=h.find(C=>this.isJsonMime(C));return void 0===_?h[0]:_}isJsonMime(h){const _=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==h&&(_.test(h)||"application/json-patch+json"===h.toLowerCase())}lookupCredential(h){const _=this.credentials[h];return"function"==typeof _?_():_}addCredentialToHeaders(h,_,C,o){const y=this.lookupCredential(h);return y?C.set(_,(o??"")+y):C}addCredentialToQuery(h,_,C){const o=this.lookupCredential(h);return o?C.set(_,o):C}defaultEncodeParam(h){const _="date-time"===h.dataFormat&&h.value instanceof Date?h.value.toISOString():h.value;return encodeURIComponent(String(_))}}},81423(ot,V,l){"use strict";l.d(V,{I:()=>g,n:()=>f});class f{encodeKey(_){return encodeURIComponent(_)}encodeValue(_){return encodeURIComponent(_)}decodeKey(_){return decodeURIComponent(_)}decodeValue(_){return decodeURIComponent(_)}}class g{encodeKey(_){return _}encodeValue(_){return _}decodeKey(_){return _}decodeValue(_){return _}}},37863(ot,V,l){"use strict";l.d(V,{I1:()=>C,l2:()=>h,rx:()=>_});var f=l(91413),g=l(81423),h=function(y){return y[y.Json=0]="Json",y[y.Form=1]="Form",y[y.DeepObject=2]="DeepObject",y[y.SpaceDelimited=3]="SpaceDelimited",y[y.PipeDelimited=4]="PipeDelimited",y}(h||{});class _{params=new Map;defaults;encoder;constructor(d,M){this.encoder=d||new g.n,this.defaults={explode:M?.explode??!0,delimiter:M?.delimiter??","}}resolveOptions(d){return{explode:d?.explode??this.defaults.explode,delimiter:d?.delimiter??this.defaults.delimiter}}set(d,M,A){const D=Array.isArray(M)?M.slice():[M],w=this.resolveOptions(A);return this.params.set(d,{values:D,options:w}),this}append(d,M,A){const D=this.params.get(d);return D?(A&&(D.options=this.resolveOptions({...D.options,...A})),D.values.push(M)):this.set(d,[M],A),this}toString(){const d=this.toRecord(),M=[];for(const A in d)M.push(`${A}=${d[A]}`);return M.join("&")}toRecord(){const d={};for(const[M,A]of this.params.entries()){const D=this.encoder.encodeKey(M);if(A.options.explode)d[D]=A.values.map(w=>this.encoder.encodeValue(w));else{const w=A.values.map(O=>this.encoder.encodeValue(O));d[D]=w.join(A.options.delimiter)}}return d}toHttpParams(){const d=this.toRecord();return new f.Nl({encoder:new g.I}).appendAll(d)}}function C(y,d,M,A){let D=[];for(const w in M){D.push(w);const O=M[w];Array.isArray(O)?D.push(...O.map(o)):D.push(o(O))}return y.set(d,D,{explode:!1,delimiter:A})}function o(y){return y instanceof Date?y.toISOString():y.toString()}},3710(ot,V,l){"use strict";l.d(V,{o:()=>g});const g=new(l(85802).nKC)("basePath")},4511(ot,V,l){"use strict";l.d(V,{V:()=>f});class f{apiKeys;username;password;accessToken;basePath;withCredentials;encoder;encodeParam;credentials;constructor({accessToken:h,apiKeys:_,basePath:C,credentials:o,encodeParam
1:y,encoder:d,password:M,username:A,withCredentials:D}={}){_&&(this.apiKeys=_),void 0!==A&&(this.username=A),void 0!==M&&(this.password=M),void 0!==h&&(this.accessToken=h),void 0!==C&&(this.basePath=C),void 0!==D&&(this.withCredentials=D),d&&(this.encoder=d),this.encodeParam=y??(w=>this.defaultEncodeParam(w)),this.credentials=o??{},this.credentials.Application||(this.credentials.Application=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}selectHeaderContentType(h){if(0===h.length)return;const _=h.find(C=>this.isJsonMime(C));return void 0===_?h[0]:_}selectHeaderAccept(h){if(0===h.length)return;const _=h.find(C=>this.isJsonMime(C));return void 0===_?h[0]:_}isJsonMime(h){const _=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==h&&(_.test(h)||"application/json-patch+json"===h.toLowerCase())}lookupCredential(h){const _=this.credentials[h];return"function"==typeof _?_():_}addCredentialToHeaders(h,_,C,o){const y=this.lookupCredential(h);return y?C.set(_,(o??"")+y):C}addCredentialToQuery(h,_,C){const o=this.lookupCredential(h);return o?C.set(_,o):C}defaultEncodeParam(h){const _="date-time"===h.dataFormat&&h.value instanceof Date?h.value.toISOString():h.value;return encodeURIComponent(String(_))}}},14527(ot,V,l){"use strict";l.d(V,{Z:()=>f});const f={Square:"Square",Circle:"Circle"}},74237(ot,V,l){"use strict";l.d(V,{c:()=>f});const f={SyncAllUsers:"SyncAllUsers",SyncAllUsersExceptSelected:"SyncAllUsersExceptSelected",SyncSelected:"SyncSelected",SyncSelectedGroups:"SyncSelectedGroups"}},35218(ot,V,l){"use strict";l.d(V,{t:()=>f});const f={ChatOnly:"ChatOnly",PhoneAndChat:"PhoneAndChat",PhoneOnly:"PhoneOnly",VideoPhoneAndChat:"VideoPhoneAndChat"}},25916(ot,V,l){"use strict";l.d(V,{K:()=>f});const f={Release:"Release",Beta:"Beta",MajorRelease:"MajorRelease",Alpha:"Alpha",Hotfix:"Hotfix"}},13652(ot,V,l){"use strict";l.d(V,{I:()=>f});const f={Ms:"MS",Teams:"Teams",Google:"Google",WakeUp:"WakeUp",FaxServer:"FaxServer",Principal:"Principal",WeakId:"WeakID",WeakPass:"WeakPass",Wm:"WM",Ai:"AI"}},94796(ot,V,l){"use strict";l.d(V,{o:()=>g});const g=new(l(85802).nKC)("basePath")},39065(ot,V,l){"use strict";var f=l(67374),g=l.n(f),h=l(24955),_=l.n(h),C=l(81047),o=l.n(C),y=l(2781),d=l.n(y),M=l(47538),A=l.n(M),D=l(34543),w=l.n(D),O=l(35859),x=l.n(O),N=l(9038),q=l.n(N),K=l(38037),te=l.n(K),H=l(60
1501),ee=l.n(H),F=l(22411),J=l.n(F),ne=l(55180),de=l.n(ne),Le=l(50902),ut=l.n(Le),Oe=l(85164),xe=l.n(Oe),Ce=l(82807),Te=l.n(Ce),Fe=l(80456),Ke=l.n(Fe),Qe=l(57981),kt=l.n(Qe);const ct={"en-gb":{LDM:"D MMMM"},en:{LDM:"D MMMM"},br:{LDM:"D [a viz] MMMM"},de:{LDM:"D. MMMM"},fr:{LDM:"D MMMM"},it:{LDM:"D MMMM"},es:{LDM:"D [de] MMMM"},zh:{LDM:"M\u6708D\u65e5"},ru:{LDM:"D MMMM"},nl:{LDM:"D MMMM"},tr:{LDM:"D MMMM"},pl:{LDM:"D MMMM"},cs:{LDM:"D. MMMM"}};g().extend(_()),g().extend(d()),g().extend(A()),g().extend(w()),g().extend(o()),g().extend(x()),g().extend(q()),g().extend(te()),g().extend(ee()),g().extend(J()),g().extend(de()),g().extend(ut()),g().extend(xe()),g().extend(Te()),g().extend(Ke()),g().extend(kt()),g().extend((ue,P)=>{const S=P.prototype,G=S.format;S.format=function(He){const Ct=g().locale();return G.call(this,He&&ct[Ct]?.[He]||He)}}),l(67266);var ie=l(85802),Xe=l(16444),ve=l(23055),he=l(12426),Pe=l(71985),Ve=l(18530),dt=l(35060),Dt=l(70274),wt=l(19724),Yt=l(57786),Tt=l(43984),qt=l(7673),We=l(92771),yt=l(1033),je=l(1807),St=l(88141),me=l(44437),rt=l(94276),bt=l(59882),we=l(62647),Mt=l(25558),p=l(12498),Bt=l(5964),it=l(53993),Lt=l(96354),Me=l(77048),le=l(70980),$=l(96697);class Ee{type;payload;id;constructor(P){Object.assign(this,P)}}class Et{type;payload;id;constructor(P){Object.assign(this,P)}}var dn=l(17279);class an{statusText;type="shared-worker-error";url=location.origin;status=900;constructor(P){P instanceof Response?(this.statusText=P.statusText,this.type=P.type,this.url=P.url,this.status=P.status):P instanceof CloseEvent?(P.currentTarget instanceof WebSocket&&(this.url=P.currentTarget.url),this.statusText=P.reason,this.status=P.code):P instanceof dn.m?(this.status=P.status,this.statusText=P.message):P&&P.message?this.statusText=P.message:Object.assign(this,P)}}var Nt=l(1211),at=l(5836);class st{ofType;message;constructor(P){Object.assign(this,P)}}function zt(ue){const P=new st(ue);return new Nt.r7i.typeMap[P.ofType](P.message)}var hn=l(30203),Vn=l(42610),Pn=l(96106),xn=l(17705),ei=l(10467);const ri="http://localhost".replace(/\/+$/,"");class fi{configuration;constructor(P={}){this.configuration=P}set config(P){this.configuration=P}get basePath(){return null!=this.configuration.basePath?this.configuration.basePath:ri}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||Hi}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const P=this.configuration.apiKey;if(P)return"function"==typeof P?P:()=>P}get accessToken(){const P=this.configuration.accessToken;if(P)return"function"==typeof P?P:(0,ei.A)(function*(){return P})}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}const so=new fi;class Li{configuration;static jsonRegex=new RegExp("^(:?application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$","i");middleware;constructor(P=so){this.configuration=P,this.middleware=P.middleware}withMiddleware(...P){const S=this.clone();return S.middleware=S.middleware.concat(...P),S}withPreMiddleware(...P){const S=P.map(G=>({pre:G}));return this.withMiddleware(...S)}withPostMiddleware(...P){const S=P.map(G=>({post:G}));return this.withMiddleware(...S)}isJsonMime(P){return!!P&&Li.jsonRegex.test(P)}request(P,S){var G=this;return(0,ei.A)(function*(){const{url:ge,init:He}=yield G.createFetchParams(P,S),Ct=yield G.fetchApi(ge,He);if(Ct&&Ct.status>=200&&Ct.status<300)return Ct;throw new si(Ct,"Response returned an error code")})()}createFetchParams(P,S){var G=this;return(0,ei.A)(function*(){let ge=G.configuration.basePath+P.path;void 0!==P.query&&0!==Object.keys(P.query).length&&(ge+="?"+G.configuration.queryParamsStringify(P.query));const He=Object.assign({},G.configuration.headers,P.headers);Object.keys(He).forEach(zn=>void 0===He[zn]?delete He[zn]:{});const Ct="function"==typeof S?S:(0,ei.A)(function*(){return S}),Gt={method:P.method,headers:He,body:P.body,credentials:G.configuration.credentials},sn={...Gt,...yield Ct({init:Gt,context:P})};let pn;return pn=function ti(ue){return typeof FormData<"u"&&ue instanceof FormData}(sn.body)||sn.body instanceof URLSearchParams||function Cn(ue){return typeof Blob<"u"&&ue instanceof Blob}(sn.body)?sn.body:G.isJsonMime(He["Content-Type"])?JSON.stringify(sn.body):sn.body,{url:ge,init:{...sn,body:pn}}})()}fetchApi=(()=>{var S,P=this;return S=(0,ei.A)(function*(G,ge){let Ct,He={url:G,init:ge};for(const Gt of P.middleware)Gt.pre&&(He=(yield Gt.pre({fetch:P.fetchApi,...He}))||He);try{Ct=yield(P.configuration.fetchApi||fetch)(He.url,He.init)}catch(Gt){for(const sn of P.middleware)sn.onError&&(Ct=(yield sn.onError({fetch:P.fetchApi,url:He.url,init:He.init,error:Gt,response:Ct?Ct.clone():void 0}))||Ct);if(void 0===Ct)throw Gt instanceof Error?new Ei(Gt,"The request failed and the interceptors did not return an alternative response"):Gt}for(const Gt of P.middleware)Gt.post&&(Ct=(yield Gt.post({fetch:P.fetchApi,url:He.url,init:He.init,response:Ct.clone()}))||Ct);return Ct}),function(G,ge){return S.apply(this,arguments)}})();clone(){const S=new(0,this.constructor)(this.configuration);return S.middleware=this.middleware.slice(),S}}
1class si extends Error{response;name="ResponseError";constructor(P,S){super(S),this.response=P}}class Ei extends Error{cause;name="FetchError";constructor(P,S){super(S),this.cause=P}}class An extends Error{field;name="RequiredError";constructor(P,S){super(S),this.field=P}}function Hi(ue,P=""){return Object.keys(ue).map(S=>Wi(S,ue[S],P)).filter(S=>S.length>0).join("&")}function Wi(ue,P,S=""){const G=S+(S.length?`[${ue}]`:ue);if(P instanceof Array){const ge=P.map(He=>encodeURIComponent(String(He))).join(`&${encodeURIComponent(G)}=`);return`${encodeURIComponent(G)}=${ge}`}return P instanceof Set?Wi(ue,Array.from(P),S):P instanceof Date?`${encodeURIComponent(G)}=${encodeURIComponent(P.toISOString())}`:P instanceof Object?Hi(P,G):`${encodeURIComponent(G)}=${encodeURIComponent(String(P))}`}function Yi(ue){for(const P of ue)if("multipart/form-data"===P.contentType)return!0;return!1}class En{raw;transformer;constructor(P,S=G=>G){this.raw=P,this.transformer=S}value(){var P=this;return(0,ei.A)(function*(){return P.transformer(yield P.raw.json())})()}}function Wt(ue){return function ye(ue){return null==ue?ue:{pbx_version:ue.pbx_version,token_type:ue.token_type,expires_in:ue.expires_in,access_token:ue.access_token,refresh_token:null==ue.refresh_token?void 0:ue.refresh_token}}(ue)}class On extends Li{tokenTenantTokenRaw(P,S){var G=this;return(0,ei.A)(function*(){if(null==P.tenant)throw new An("tenant",'Required parameter "tenant" was null or undefined when calling tokenTenantToken().');
1if(null==P.grantType)throw new An("grantType",'Required parameter "grantType" was null or undefined when calling tokenTenantToken().');let sn;Yi([{contentType:"multipart/form-data"}]),sn=new URLSearchParams,null!=P.clientId&&sn.append("client_id",P.clientId),null!=P.clientSecret&&sn.append("client_secret",P.clientSecret),null!=P.grantType&&sn.append("grant_type",P.grantType),null!=P.expiresInMinutes&&sn.append("expires_in_minutes",P.expiresInMinutes);let Ln="/connect/{tenant}/token";Ln=Ln.replace("{tenant}",encodeURIComponent(String(P.tenant)));const zn=yield G.request({path:Ln,method:"POST",headers:{},query:{},body:sn},S);return new En(zn,Ri=>Wt(Ri))})()}tokenTenantToken(P,S){var G=this;return(0,ei.A)(function*(){return yield(yield G.tokenTenantTokenRaw(P,S)).value()})()}tokenTokenRaw(P,S){var G=this;return(0,ei.A)(function*(){if(null==P.grantType)throw new An("grantType",'Required parameter "grantType" was null or undefined when calling tokenToken().');let sn;Yi([{contentType:"multipart/form-data"}]),sn=new URLSearchParams,null!=P.impersonate&&sn.append("impersonate",P.impersonate),null!=P.clientId&&sn.append("client_id",P.clientId),null!=P.clientSecret&&sn.append("client_secret",P.clientSecret),null!=P.scope&&sn.append("scope",P.scope),null!=P.grantType&&sn.append("grant_type",P.grantType),null!=P.refreshToken&&sn.append("refresh_token",P.refreshToken),null!=P.expiresInMinutes&&sn.append("expires_in_minutes",P.expiresInMinutes);const zn=yield G.request({path:"/connect/token",method:"POST",headers:{},query:{},body:sn},S);return new En(zn,Ri=>Wt(Ri))})()}tokenToken(P,S){var G=this;return(0,ei.A)(function*(){return yield(yield G.tokenTokenRaw(P,S)).value()})()}}var Bn=l(56344);function Qn(ue){setTimeout(()=>{document.location&&(document.location.href=window.location.pathname)},ue)}let Ni=(()=>{class ue{originalHandler=new ie.zcH;basePath=(0,Bn.T)();handleError(S){if(localStorage.getItem("wc.keeplogs")||(0,xn.naY)())console.error("CRITICAL ERROR HANDLER TRIGGERED: PAGE WILL RELOAD ON PROD",S),this.originalHandler.handleError(S);else if(fetch&&this.basePath){const G=S.stack??S.message??"Error message is not set";new On(new fi({basePath:this.basePath})).tokenToken({grantType:"refresh_token"}).then(He=>fetch(new URL("/webclient/api/MyPhone/log",this.basePath).href,{method:"POST",headers:new Headers({Accept:"application/json","Content-Type":"application/json",Authorization:"Bearer "+He.access_token}),body:JSON.stringify({message:"Webclient error",stack:G.substring(0,2048)}),credentials:"include"})).finally(()=>this.reload())}else this.reload()}reload(){Qn(5e3)}static \u0275fac=function(G){return new(G||ue)};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac})}return ue})();var ht=l(50644),At=l(39797),jt=l(23773);let rn=(()=>{class ue{router=(0,ie.WQX)(bt.Ix);localStorageService=(0,ie.WQX)(he.sj);dataTransport=(0,ie.WQX)(at.p);logger=(0,ie.WQX)(we.Vy);sharedWorker=(0,ie.WQX)(SharedWorker);retryNow$=new Ve.B;reconnectTime;_logout;hasQueues$;vmailEnabled$;isPro$;isReconnecting;licenseHasHotelFeatures$;licenseHasWebinarFeatures$;myPhoneSession;_myPhoneSession;connectStartTime;myPhoneSessionInit$=new Ve.B;wrtcReg=(0,jt.I)(Vn.Hh.WebRTCRegistration,!1);constructor(){const S=this.localStorageService,G=this.logger,ge=this.sharedWorker,He=()=>(this._logout=!0,this.gotoLogin(),dt.t),Ct=(0,Pn.lB)(S,Vn.Hh.Provision,{domain:(0,Bn.T)()}),Gt=Ct.pipe((0,Mt.n)(Ln=>Ln&&Ln.domain?(this.connectStartTime=Date.now(),function nn(ue,P){return new Pe.c(S=>{const G=Ct=>{Ct.data.error?S.error(new an(Ct.data.error)):S.next(new Et(Ct.data))},ge=Ct=>S.error(Ct),He=ue.port;return He.addEventListener("message",G),He.addEventListener("messageerror",ge),He.postMessage(new Ee({type:"connect",payload:P})),He.start(),()=>{He.removeEventListener("message",G),He.removeEventListener("messageerror",ge)}})}(ge,{basePath:Ln.domain,username:Ln.username??"",loggerEnabled:S.retrieve(Vn.Hh.LoggerEnabled)}).pipe((0,p.L)({delay:(zn,Ri)=>{if(console.log(zn),zn instanceof an&&1006===zn.status)S.store(Vn.Hh.SharedWorker,!1),Qn(0);else{if(zn instanceof an&&(401===zn.status||403===zn.status))return He();if(zn instanceof an&&1e3===zn.status)return He()}return this.isReconnecting=!0,this.retry()}}))):He()),(0,ht.H9)()),sn=Gt.pipe((0,Bt.p)(Ln=>"notification"===Ln.type),(0,Dt.H)(Ln=>(0,wt.H)(Ln.payload.map(zt)))),pn=Ln=>(0,Yt.h)((0,hn.SK)(Ln,this.wrtcReg()),sn);this._myPhoneSession=(0,Tt.x)(Gt.pipe((0,Bt.p)(Ln=>"connection"===Ln.type),(0,it.E)(Ct),(0,Lt.T)(([Ln,zn])=>new rt.r(Ln.payload,G,this.dataTransport,zn.domain)),(0,Mt.n)(Ln=>(0,Yt.h)(Ln.errorDetected$,this.processMyPhoneMessages(Ln,pn(Ln)))),(0,p.L)({delay:Ln=>(console.log(Ln),this.isReconnecting=!0,this.reconnectTime=0,(Ln instanceof At.V?(0,qt.of)(0):this.retry()).pipe((0,Me.v)(()=>!this._logout)))}),(0,le.j)(()=>this.isReconnecting=!1),(0,Lt.T)(Ln=>Ln)),{connector:()=>new We.m(1)}),this.myPhoneSession=this._myPhoneSession,this.isPro$=this.myPhoneSession.pipe((0,Lt.T)(Ln=>Ln.isPro())),this.vmailEnabled$=this.myPhoneSession.pipe((0,Mt.n)(Ln=>Ln.myInfo$),(0,Lt.T)(Ln=>Ln.VmailEnabled)),this.licenseHasHotelFeatures$=this.myPhoneSession.pipe((0,Lt.T)(Ln=>Ln.licenseHasHotelFeatures())),this.licenseHasWebinarFeatures$=this.licenseHasHotelFeatures$,this.hasQueues$=this.myPhoneSession.pipe((0,Mt.n)(Ln=>Ln.queues$),(0,Lt.T)(Ln=>Object.keys(Ln).length>0))}sessionSubscription;retry(){const S=(0,Xe._g)();
1return this.reconnectTime=Date.now()+S,(0,yt.O)([(0,je.O)(S),this.retryNow$]).pipe((0,St.M)(()=>{this.reconnectTime=0}))}connect(){this.sessionSubscription||(this._logout=!1,this.sessionSubscription=this._myPhoneSession.connect(),this.myPhoneSessionInit$.next(!0))}disconnect(){this.sessionSubscription?.unsubscribe(),this.sessionSubscription=void 0}get(S){return this.myPhoneSession.pipe((0,$.s)(1),(0,Mt.n)(G=>G.get(S)))}httpPost(S,G){return this.myPhoneSession.pipe((0,$.s)(1),(0,Mt.n)(ge=>ge.fetchPost(S,G)))}gotoLogin(){this.router.navigate(["/login"])}logout(){this._logout=!0,(0,me.y)(this.get(new Nt.fQS),(0,qt.of)(this.sharedWorker.port.postMessage(new Ee({type:"logout"})))).subscribe({next:()=>{this.localStorageService.store(Vn.Hh.LogoutTimestamp,(new Date).getTime()),this.gotoLogin()},error:()=>{this.localStorageService.store(Vn.Hh.LogoutTimestamp,(new Date).getTime()),this.gotoLogin()}})}processMyPhoneMessages(S,G){let ge=!1,He=!1,Ct=!1,Gt=!1;return new Pe.c(sn=>G.subscribe({next:pn=>{try{if(this.logger.logEnabled){const Ln=Object.getPrototypeOf(pn);Ln.typeName&&this.logger.showInfo({loggingLevel:we.$j,typeName:Ln.typeName,optionalParams:[(0,we.A4)(pn)]})}if(!S.isActive)return;Xe.gx.join(S,pn),Gt||(pn instanceof Nt.__H?ge=!0:pn instanceof Nt.ZEm&&pn.FromLocalPbx?Ct=!0:pn instanceof Nt.qyi&&(He=!0),ge&&Ct&&He&&(this.logger.logEnabled&&this.logger.showInfo({loggingLevel:we.$j,message:"Session initiated in "+(Date.now()-(this.connectStartTime??0))/1e3}),this.isReconnecting=!1,Gt=!0,sn.next(S)))}catch(Ln){void 0!==S&&S.deactivate(),sn.error(Ln)}},error:pn=>{void 0!==S&&S.deactivate(),sn.error(pn)},complete:()=>sn.complete()}))}static \u0275fac=function(G){return new(G||ue)};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac})}return ue})();var Sn=l(43236),kn=l(91250),Xn=l(40941),bi=l(56745),Fi=l(78074),Ut=l(55461);const vn=new ie.nKC("SHARED_WORKER_FACTORY");let Hn=(()=>{class ue{zone=(0,ie.WQX)(ie.SKi);worker=(0,ie.WQX)(vn);fetchPost(S,G,ge,He){return(0,Ut.M)({link:S,basePath:He,body:G,headers:new Headers(ge)})}transport(S,G){return new Pe.c(ge=>{const He=(0,kn.wl)(),Ct=this.worker.port;let Gt=!1;const sn=pn=>{const Ln=new Et(pn.data);"get"===Ln.type&&Ln.id===He&&(Gt=!0,ge.next(Ln))};return Ct.addEventListener("message",sn),Ct.postMessage(new Ee({type:"get-request",payload:new st({ofType:S.typeId,message:S}),id:He})),()=>{Ct.removeEventListener("message",sn),Gt||Ct.postMessage(new Ee({type:"cancel-request",id:He}))}}).pipe((0,$.s)(1),(0,Lt.T)(ge=>function Dn(ue){return zt(ue.payload)}(ge)),(0,Lt.T)(ge=>{if(ge instanceof Nt.UsZ&&!ge.Success){const He=new Error(ge.Message||`Received unsuccessful ack for ${S.constructor.name}`);throw He.source=ge,He}return ge}),(0,Xn.Q)((0,Fi.v)(this.zone,Sn.E)),(0,bi._)((0,Fi.w)(this.zone,Sn.E)))}static \u0275fac=function(G){return new(G||ue)};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac})}return ue})();var Kn=l(47625);var _i=l(68018),hi=l(91413),Ti=l(18810),to=l(84362),lo=l(99437),xo=l(83185);const Qt={"Cache-Control":"no-store",Pragma:"no-cache","ngsw-bypass":"bypass"};let cn=(()=>{class ue{tokenService=(0,ie.WQX)(to.B);myPhoneService=(0,ie.WQX)(Xe.gx);router=(0,ie.WQX)(bt.Ix);navigateLogin(){this.myPhoneService.gotoLogin(),this.myPhoneService.disconnect()}intercept(S,G){return/^(\.?\/)?(media|i18n)\//.test(S.url)?G.handle(S):!/^\/?webclient\/api|xapi/.test(S.url)||/^\/?webclient\/api\/Login/.test(S.url)?G.handle(S.clone({setHeaders:Qt})).pipe((0,p.L)({delay:ge=>{if(ge instanceof hi.yz&&403===ge.status&&this.tokenService.impersonateUsername)return this.tokenService.dropImpersonation(),(0,xo.Lt)(),(0,qt.of)(!0);throw ge}}),(0,lo.W)(ge=>(ge instanceof hi.yz&&(401===ge.status||403===ge.status)&&this.navigateLogin(),(0,Ti.$)(()=>ge)))):this.tokenService.accessToken$.pipe((0,$.s)(1),(0,Mt.n)(ge=>G.handle(S.clone({setHeaders:{...Qt,Authorization:"Bearer "+ge}}))),(0,p.L)({count:1,delay:ge=>{if(ge instanceof hi.yz&&401===ge.status)return this.tokenService.invalidate(),(0,qt.of)(!0);throw ge}}),(0,lo.W)(ge=>(ge instanceof hi.yz&&(401===ge.status?this.navigateLogin():403===ge.status&&this.router.navigate(Vn.lX)),(0,Ti.$)(()=>ge))))}static \u0275fac=function(G){return new(G||ue)};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac})}return ue})();var yn=l(46494),Un=l(73117),Zn=l(60177),tn=l(35547);class Zi{_doc;constructor(P){this._doc=P}manager}let fo=(()=>{class ue extends Zi{constructor(S){super(S)}supports(S){return!0}addEventListener(S,G,ge,He){return S.addEventListener(G,ge,He),()=>this.removeEventListener(S,G,ge,He)}removeEventListener(S,G,ge,He){return S.removeEventListener(G,ge,He)}static \u0275fac=function(G){return new(G||ue)(ie.KVO(ie.qQL))};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac})}return ue})();const zi=new ie.nKC("");let go=(()=>{class ue{_zone;_plugins;_eventNameToPlugin=new Map;
vendor: 9,630 bytes, line 1
1constructor(S,G){this._zone=G,S.forEach(Ct=>{Ct.manager=this});const ge=S.filter(Ct=>!(Ct instanceof fo));this._plugins=ge.slice().reverse();const He=S.find(Ct=>Ct instanceof fo);He&&this._plugins.push(He)}addEventListener(S,G,ge,He){return this._findPluginFor(G).addEventListener(S,G,ge,He)}getZone(){return this._zone}_findPluginFor(S){let G=this._eventNameToPlugin.get(S);if(G)return G;if(G=this._plugins.find(He=>He.supports(S)),!G)throw new ie.buA(5101,!1);return this._eventNameToPlugin.set(S,G),G}static \u0275fac=function(G){return new(G||ue)(ie.KVO(zi),ie.KVO(ie.SKi))};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac})}return ue})();const To="ng-app-id";function Io(ue){for(const P of ue)P.remove()}function Do(ue,P){const S=P.createElement("style");return S.textContent=ue,S}function Ot(ue,P){const S=P.createElement("link");return S.setAttribute("rel","stylesheet"),S.setAttribute("href",ue),S}let ze=(()=>{class ue{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(S,G,ge,He={}){this.doc=S,this.appId=G,this.nonce=ge,function Ie(ue,P,S,G){const ge=ue.head?.querySelectorAll(`style[${To}="${P}"],link[${To}="${P}"]`);if(ge)for(const He of ge)He.removeAttribute(To),He instanceof HTMLLinkElement?G.set(He.href.slice(He.href.lastIndexOf("/")+1),{usage:0,elements:[He]}):He.textContent&&S.set(He.textContent,{usage:0,elements:[He]})}(S,G,this.inline,this.external),this.hosts.add(S.head)}addStyles(S,G){for(const ge of S)this.addUsage(ge,this.inline,Do);G?.forEach(ge=>this.addUsage(ge,this.external,Ot))}removeStyles(S,G){for(const ge of S)this.removeUsage(ge,this.inline);G?.forEach(ge=>this.removeUsage(ge,this.external))}addUsage(S,G,ge){const He=G.get(S);He?He.usage++:G.set(S,{usage:1,elements:[...this.hosts].map(Ct=>this.addElement(Ct,ge(S,this.doc)))})}removeUsage(S,G){const ge=G.get(S);ge&&(ge.usage--,ge.usage<=0&&(Io(ge.elements),G.delete(S)))}ngOnDestroy(){for(const[,{elements:S}]of[...this.inline,...this.external])Io(S);this.hosts.clear()}addHost(S){this.hosts.add(S);for(const[G,{elements:ge}]of this.inline)ge.push(this.addElement(S,Do(G,this.doc)));for(const[G,{elements:ge}]of this.external)ge.push(this.addElement(S,Ot(G,this.doc)))}removeHost(S){this.hosts.delete(S)}addElement(S,G){return this.nonce&&G.setAttribute("nonce",this.nonce),S.appendChild(G)}static \u0275fac=function(G){return new(G||ue)(ie.KVO(ie.qQL),ie.KVO(tn.sZ2),ie.KVO(tn.BIS,8),ie.KVO(tn.Agw))};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac})}return ue})();const pt={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},on=/%COMP%/g,mn=new ie.nKC("",{factory:()=>!0});function ii(ue,P){return P.map(S=>S.replace(on,ue))}let Mi=(()=>{class ue{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(S,G,ge,He,Ct,Gt,sn=null,pn=null){this.eventManager=S,this.sharedStylesHost=G,this.appId=ge,this.removeStylesOnCompDestroy=He,this.doc=Ct,this.ngZone=Gt,this.nonce=sn,this.tracingService=pn,this.defaultRenderer=new vi(S,Ct,Gt,this.tracingService)}createRenderer(S,G){if(!S||!G)return this.defaultRenderer;const ge=this.getOrCreateRenderer(S,G);return ge instanceof Vo?ge.applyToHost(S):ge instanceof mo&&ge.applyStyles(),ge}getOrCreateRenderer(S,G){const ge=this.rendererByCompId;let He=ge.get(G.id);if(!He){const Ct=this.doc,Gt=this.ngZone,sn=this.eventManager,pn=this.sharedStylesHost,Ln=this.removeStylesOnCompDestroy,zn=this.tracingService;switch(G.encapsulation){case tn.gXe.Emulated:He=new Vo(sn,pn,G,this.appId,Ln,Ct,Gt,zn);break;case tn.gXe.ShadowDom:return new no(sn,S,G,Ct,Gt,this.nonce,zn,pn);case tn.gXe.ExperimentalIsolatedShadowDom:return new no(sn,S,G,Ct,Gt,this.nonce,zn);default:He=new mo(sn,pn,G,Ln,Ct,Gt,zn)}ge.set(G.id,He)}return He}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(S){this.rendererByCompId.delete(S)}static \u0275fac=function(G){return new(G||ue)(ie.KVO(go),ie.KVO(ze),ie.KVO(tn.sZ2),ie.KVO(mn),ie.KVO(ie.qQL),ie.KVO(ie.SKi),ie.KVO(tn.BIS),ie.KVO(tn.a8H,8))};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac})}return ue})();class vi{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(P,S,G,ge){this.eventManager=P,this.doc=S,this.ngZone=G,this.tracingService=ge}destroy(){}destroyNode=null;createElement(P,S){return S?this.doc.createElementNS(pt[S]||S,P):this.doc.createElement(P)}createComment(P){return this.doc.createComment(P)}createText(P){return this.doc.createTextNode(P)}appendChild(P,S){(ro(P)?P.content:P).appendChild(S)}insertBefore(P,S,G){P&&(ro(P)?P.content:P).insertBefore(S,G)}removeChild(P,S){S.remove()}selectRootElement(P,S){let G="string"==typeof P?this.doc.querySelector(P):P;if(!G)throw new ie.buA(-5104,!1);return S||(G.textContent=""),G}parentNode(P){return P.parentNode}nextSibling(P){return P.nextSibling}setAttribute(P,S,G,ge){if(ge){S=ge+":"+S;const He=pt[ge];He?P.setAttributeNS(He,S,G):P.setAttribute(S,G)}else P.setAttribute(S,G)}removeAttribute(P,S,G){if(G){const ge=pt[G];ge?P.removeAttributeNS(ge,S):P.removeAttribute(`${G}:${S}`)}else P.removeAttribute(S)}addClass(P,S){P.classList.add(S)}removeClass(P,S){P.classList.remove(S)}setStyle(P,S,G,ge){ge&(tn.czy.DashCase|tn.czy.Important)?P.style.setProperty(S,G,ge&tn.czy.Important?"important":""):P.style[S]=G}removeStyle(P,S,G){G&tn.czy.DashCase?P.style.removeProperty(S):P.style[S]=""}setProperty(P,S,G){null!=P&&(P[S]=G)}setValue(P,S){P.nodeValue=S}listen(P,S,G,ge){if("string"==typeof P&&!(P=(0,yn.rb)().getGlobalEventTarget(this.doc,P)))throw new ie.buA(5102,!1);let He=this.decoratePreventDefault(G);return this.tracingService?.wrapEventListener&&(He=this.tracingService.wrapEventListener(P,S,He)),this.eventManager.addEventListener(P,S,He,ge)}decoratePreventDefault(P){return S=>{if("__ngUnwrap__"===S)return P;!1===P(S)&&S.preventDefault()}}}function ro(ue){return"TEMPLATE"===ue.tagName&&void 0!==ue.content}class no extends vi{hostEl;sharedStylesHost;shadowRoot;constructor(P,S,G,ge,He,Ct,Gt,sn){super(P,ge,He,Gt),this.hostEl=S,this.sharedStylesHost=sn,this.shadowRoot=S.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let pn=G.styles;pn=ii(G.id,pn);for(const zn of pn){const Ri=document.createElement("style");Ct&&Ri.setAttribute("nonce",Ct),Ri.textContent=zn,this.shadowRoot.appendChild(Ri)}const Ln=G.getExternalStyles?.();if(Ln)for(const zn of Ln){const Ri=Ot(zn,ge);Ct&&Ri.setAttribute("nonce",Ct),this.shadowRoot.appendChild(Ri)}}nodeOrShadowRoot(P){return P===this.hostEl?this.shadowRoot:P}appendChild(P,S){return super.appendChild(this.nodeOrShadowRoot(P),S)}insertBefore(P,S,G){return super.insertBefore(this.nodeOrShadowRoot(P),S,G)}removeChild(P,S){return super.removeChild(null,S)}parentNode(P){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(P)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class mo extends vi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(P,S,G,ge,He,Ct,Gt,sn){super(P,He,Ct,Gt),this.sharedStylesHost=S,this.removeStylesOnCompDestroy=ge;let pn=G.styles;this.styles=sn?ii(sn,pn):pn,this.styleUrls=G.getExternalStyles?.(sn)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===tn.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Vo extends mo{contentAttr;hostAttr;constructor(P,S,G,ge,He,Ct,Gt,sn){const pn=ge+"-"+G.id;super(P,S,G,He,Ct,Gt,sn,pn),this.contentAttr=function Rn(ue){return"_ngcontent-%COMP%".replace(on,ue)}(pn),this.hostAttr=function Wn(ue){return"_nghost-%COMP%".replace(on,ue)}(pn)}applyToHost(P){this.applyStyles(),this.setAttribute(P,this.hostAttr,"")}createElement(P,S){const G=super.createElement(P,S);return super.setAttribute(G,this.contentAttr,""),G}}class Jo extends yn.qj{supportsDOMEvents=!0;static makeCurrent(){(0,yn.ig)(new Jo)}onAndCancel(P,S,G,ge){return P.addEventListener(S,G,ge),()=>{P.removeEventListener(S,G,ge)}}dispatchEvent(P,S){P.dispatchEvent(S)}remove(P){P.remove()}createElement(P,S){return(S=S||this.getDefaultDocument()).createElement(P)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(P){return P.nodeType===Node.ELEMENT_NODE}isShadowRoot(P){return P instanceof DocumentFragment}getGlobalEventTarget(P,S){return"window"===S?window:"document"===S?P:"body"===S?P.body:null}getBaseHref(P){const S=function es(){return ho=ho||document.head.querySelector("base"),ho?ho.getAttribute("href"):null}();return null==S?null:function bo(ue){return new URL(ue,document.baseURI).pathname}(S)}resetBaseElement(){ho=null}getUserAgent(){return window.navigator.userAgent}getCookie(P){return(0,Un.b)(document.cookie,P)}}let ho=null,zo=(()=>{class ue{build(){return new XMLHttpRequest}static \u0275fac=function(G){return new(G||ue)};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac})}return ue})();const Xi=["alt","control","meta","shift"],ms={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ao={alt:ue=>ue.altKey,control:ue=>ue.ctrlKey,meta:ue=>ue.metaKey,shift:ue=>ue.shiftKey};let Go=(()=>{class ue extends Zi{constructor(S){super(S)}supports(S){return null!=ue.parseEventName(S)}
1addEventListener(S,G,ge,He){const Ct=ue.parseEventName(G),Gt=ue.eventCallback(Ct.fullKey,ge,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,yn.rb)().onAndCancel(S,Ct.domEventName,Gt,He))}static parseEventName(S){const G=S.toLowerCase().split("."),ge=G.shift();if(0===G.length||"keydown"!==ge&&"keyup"!==ge)return null;const He=ue._normalizeKey(G.pop());let Ct="",Gt=G.indexOf("code");if(Gt>-1&&(G.splice(Gt,1),Ct="code."),Xi.forEach(pn=>{const Ln=G.indexOf(pn);Ln>-1&&(G.splice(Ln,1),Ct+=pn+".")}),Ct+=He,0!=G.length||0===He.length)return null;const sn={};return sn.domEventName=ge,sn.fullKey=Ct,sn}static matchEventFullKeyCode(S,G){let ge=ms[S.key]||S.key,He="";return G.indexOf("code.")>-1&&(ge=S.code,He="code."),!(null==ge||!ge)&&(ge=ge.toLowerCase()," "===ge?ge="space":"."===ge&&(ge="dot"),Xi.forEach(Ct=>{Ct!==ge&&(0,Ao[Ct])(S)&&(He+=Ct+".")}),He+=ge,He===G)}static eventCallback(S,G,ge){return He=>{ue.matchEventFullKeyCode(He,S)&&ge.runGuarded(()=>G(He))}}static _normalizeKey(S){return"esc"===S?"escape":S}static \u0275fac=function(G){return new(G||ue)(ie.KVO(ie.qQL))};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac})}return ue})();function os(){return(os=(0,ei.A)(function*(ue,P,S){const G={rootComponent:ue,...Z(P,S)};return(0,xn.TL3)(G)})).apply(this,arguments)}function Z(ue,P){return{platformRef:P?.platformRef,appProviders:[...So,...ue?.providers??[]],platformProviders:Ji}}const Ji=[{provide:tn.Agw,useValue:Zn.AJ},{provide:tn.PLl,useValue:function Ye(){Jo.makeCurrent()},multi:!0},{provide:ie.qQL,useFactory:function Nn(){return(0,tn._9u)(document),document}}],So=[{provide:ie.GBX,useValue:"root"},{provide:ie.zcH,useFactory:function Ft(){return new ie.zcH}},{provide:zi,useClass:fo,multi:!0},{provide:zi,useClass:Go,multi:!0},Mi,ze,go,{provide:tn._9s,useExisting:Mi},{provide:Un.N,useClass:zo},[]];var us=l(13220),ui=l(68173);function Fo(ue){return new ie.buA(3e3,!1)}function Zo(ue){return new ie.buA(3002,!1)}function ds(ue){switch(ue.length){case 0:return new ui.sf;case 1:return ue[0];default:return new ui.PZ(ue)}}function Vs(ue,P,S=new Map,G=new Map){const ge=[],He=[];let Ct=-1,Gt=null;if(P.forEach(sn=>{const pn=sn.get("offset"),Ln=pn==Ct,zn=Ln&&Gt||new Map;sn.forEach((Ri,po)=>{let Vi=po,ao=Ri;if("offset"!==po)switch(Vi=ue.normalizePropertyName(Vi,ge),ao){case ui.FX:ao=S.get(po);break;case ui.kp:ao=G.get(po);break;default:ao=ue.normalizeStyleValue(po,Vi,ao,ge)}zn.set(Vi,ao)}),Ln||He.push(zn),Gt=zn,Ct=pn}),ge.length)throw function hr(){return new ie.buA(3502,!1)}();return He}function ws(ue,P,S,G){switch(P){case"start":ue.onStart(()=>G(S&&Pr(S,"start",ue)));break;case"done":ue.onDone(()=>G(S&&Pr(S,"done",ue)));break;case"destroy":ue.onDestroy(()=>G(S&&Pr(S,"destroy",ue)))}}function Pr(ue,P,S){const He=mr(ue.element,ue.triggerName,ue.fromState,ue.toState,P||ue.phaseName,S.totalTime??ue.totalTime,!!S.disabled),Ct=ue._data;return null!=Ct&&(He._data=Ct),He}function mr(ue,P,S,G,ge="",He=0,Ct){return{element:ue,triggerName:P,fromState:S,toState:G,phaseName:ge,totalTime:He,disabled:!!Ct}}function Uo(ue,P,S){let G=ue.get(P);return G||ue.set(P,G=S),G}function ps(ue){const P=ue.indexOf(":");return[ue.substring(1,P),ue.slice(P+1)]}const Sr=typeof document>"u"?null:document.documentElement;function Fs(ue){const P=ue.parentNode||ue.host||null;return P===Sr?null:P}let fs=null,bs=!1;function vs(ue,P){for(;P;){if(P===ue)return!0;P=Fs(P)}return!1}function Gs(ue,P,S){if(S)return Array.from(ue.querySelectorAll(P));const G=ue.querySelector(P);return G?[G]:[]}const Ts="ng-enter",Eo="ng-leave",Cs="ng-trigger",Bs=".ng-trigger",Rr="ng-animating",R=".ng-animating";function I(ue){if("number"==typeof ue)return ue;const P=ue.match(/^(-?[\.\d]+)(m?s)/);return!P||P.length<2?0:Q(parseFloat(P[1]),P[2])}function Q(ue,P){return"s"===P?1e3*ue:ue}function oe(ue,P,S){return ue.hasOwnProperty("duration")?ue:function Be(ue,P,S){let G,ge=0,He="";if("string"==typeof ue){const Ct=ue.match(_e);if(null===Ct)return P.push(Fo()),{duration:0,delay:0,easing:""};G=Q(parseFloat(Ct[1]),Ct[2]);const Gt=Ct[3];null!=Gt&&(ge=Q(parseFloat(Gt),Ct[4]));const sn=Ct[5];sn&&(He=sn)}else G=ue;if(!S){let Ct=!1,Gt=P.length;G<0&&(P.push(function xs(){return new ie.buA(3100,!1)}()),Ct=!0),ge<0&&(P.push(function qo(){return new ie.buA(3101,!1)}()),Ct=!0),Ct&&P.splice(Gt,0,Fo())}return{duration:G,delay:ge,easing:He}}(ue,P,S)}const _e=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Xt(ue,P,S){P.forEach((G,ge)=>{const He=wo(ge);S&&!S.has(ge)&&S.set(ge,ue.style[He]),ue.style[He]=G})}function fn(ue,P){P.forEach((S,G)=>{const ge=wo(G);ue.style[ge]=""})}function bn(ue){return Array.isArray(ue)?1==ue.length?ue[0]:(0,ui.K2)(ue):ue}const qn=new RegExp("{{\\s*(.+?)\\s*}}","g");function Di(ue){let P=[];if("string"==typeof ue){let S;for(;S=qn.exec(ue);)P.push(S[1]);qn.lastIndex=0}return P}function yi(ue,P,S){const G=`${ue}`,ge=G.replace(qn,(He,Ct)=>{let Gt=P[Ct];return null==Gt&&(S.push(function Ae(){return new ie.buA(3003,!1)}()),Gt=""),Gt.toString()});return ge==G?ue:ge}const xi=/-+([a-z0-9])/g;function wo(ue){return ue.replace(xi,(...P)=>
1P[1].toUpperCase())}function z(ue,P,S){switch(P.type){case ui.If.Trigger:return ue.visitTrigger(P,S);case ui.If.State:return ue.visitState(P,S);case ui.If.Transition:return ue.visitTransition(P,S);case ui.If.Sequence:return ue.visitSequence(P,S);case ui.If.Group:return ue.visitGroup(P,S);case ui.If.Animate:return ue.visitAnimate(P,S);case ui.If.Keyframes:return ue.visitKeyframes(P,S);case ui.If.Style:return ue.visitStyle(P,S);case ui.If.Reference:return ue.visitReference(P,S);case ui.If.AnimateChild:return ue.visitAnimateChild(P,S);case ui.If.AnimateRef:return ue.visitAnimateRef(P,S);case ui.If.Query:return ue.visitQuery(P,S);case ui.If.Stagger:return ue.visitStagger(P,S);default:throw function se(){return new ie.buA(3004,!1)}()}}function ce(ue,P){return window.getComputedStyle(ue)[P]}let Gn=(()=>{class ue{validateStyleProperty(S){return function ko(ue){fs||(fs=function _r(){return typeof document<"u"?document.body:null}()||{},bs=!!fs.style&&"WebkitAppearance"in fs.style);let P=!0;return fs.style&&!function Xs(ue){return"ebkit"==ue.substring(1,6)}(ue)&&(P=ue in fs.style,!P&&bs&&(P="Webkit"+ue.charAt(0).toUpperCase()+ue.slice(1)in fs.style)),P}(S)}containsElement(S,G){return vs(S,G)}getParentElement(S){return Fs(S)}query(S,G,ge){return Gs(S,G,ge)}computeStyle(S,G,ge){return ge||""}animate(S,G,ge,He,Ct,Gt=[],sn){return new ui.sf(ge,He)}static \u0275fac=function(G){return new(G||ue)};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac})}return ue})();class gi{static NOOP=new Gn}class Ui{}const qs=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class lr extends Ui{normalizePropertyName(P,S){return wo(P)}normalizeStyleValue(P,S,G,ge){let He="";const Ct=G.toString().trim();if(qs.has(S)&&0!==G&&"0"!==G)if("number"==typeof G)He="px";else{const Gt=G.match(/^[+-]?[\d\.]+([a-z]*)$/);Gt&&0==Gt[1].length&&ge.push(function tt(){return new ie.buA(3005,!1)}())}return Ct+He}}const Wr=new Set(["true","1"]),Ms=new Set(["false","0"]);function qr(ue,P){const S=Wr.has(ue)||Ms.has(ue),G=Wr.has(P)||Ms.has(P);return(ge,He)=>{let Ct="*"==ue||ue==ge,Gt="*"==P||P==He;return!Ct&&S&&"boolean"==typeof ge&&(Ct=ge?Wr.has(ue):Ms.has(ue)),!Gt&&G&&"boolean"==typeof He&&(Gt=He?Wr.has(P):Ms.has(P)),Ct&&Gt}}const xa=new RegExp("s*:selfs*,?","g");function ca(ue,P,S,G){return new da(ue).build(P,S,G)}class da{_driver;constructor(P){this._driver=P}build(P,S,G){const ge=new Qa(S);return this._resetContextStyleTimingState(ge),z(this,bn(P),ge)}_resetContextStyleTimingState(P){P.currentQuerySelector="",P.collectedStyles=new Map,P.collectedStyles.set("",new Map),P.currentTime=0}visitTrigger(P,S){let G=S.queryCount=0,ge=S.depCount=0;const He=[],Ct=[];return"@"==P.name.charAt(0)&&S.errors.push(function $t(){return new ie.buA(3006,!1)}()),P.definitions.forEach(Gt=>{if(this._resetContextStyleTimingState(S),Gt.type==ui.If.State){const sn=Gt,pn=sn.name;pn.toString().split(/\s*,\s*/).forEach(Ln=>{sn.name=Ln,He.push(this.visitState(sn,S))}),sn.name=pn}else if(Gt.type==ui.If.Transition){const sn=this.visitTransition(Gt,S);G+=sn.queryCount,ge+=sn.depCount,Ct.push(sn)}else S.errors.push(function ni(){return new ie.buA(3007,!1)}())}),{type:ui.If.Trigger,name:P.name,states:He,transitions:Ct,queryCount:G,depCount:ge,options:null}}visitState(P,S){const G=this.visitStyle(P.styles,S),ge=P.options&&P.options.params||null;if(G.containsDynamicStyles){const He=new Set,Ct=ge||{};G.styles.forEach(Gt=>{Gt instanceof Map&&Gt.forEach(sn=>{Di(sn).forEach(pn=>{Ct.hasOwnProperty(pn)||He.add(pn)})})}),He.size&&S.errors.push(function Bi(){return new ie.buA(3008,!1)}(0,He.values()))}return{type:ui.If.State,name:P.name,style:G,options:ge?{params:ge}:null}}visitTransition(P,S){S.queryCount=0,S.depCount=0;const G=z(this,bn(P.animation),S),ge=function er(ue,P){const S=[];
1return"string"==typeof ue?ue.split(/\s*,\s*/).forEach(G=>function la(ue,P,S){if(":"==ue[0]){const sn=function Kr(ue,P){switch(ue){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(S,G)=>parseFloat(G)>parseFloat(S);case":decrement":return(S,G)=>parseFloat(G)<parseFloat(S);default:return P.push(function Bo(){return new ie.buA(3016,!1)}()),"* => *"}}(ue,S);if("function"==typeof sn)return void P.push(sn);ue=sn}const G=ue.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==G||G.length<4)return S.push(function js(){return new ie.buA(3015,!1)}()),P;const ge=G[1],He=G[2],Ct=G[3];P.push(qr(ge,Ct)),"<"==He[0]&&("*"!=ge||"*"!=Ct)&&P.push(qr(Ct,ge))}(G,S,P)):S.push(ue),S}(P.expr,S.errors);return{type:ui.If.Transition,matchers:ge,animation:G,queryCount:S.queryCount,depCount:S.depCount,options:Hs(P.options)}}visitSequence(P,S){return{type:ui.If.Sequence,steps:P.steps.map(G=>z(this,G,S)),options:Hs(P.options)}}visitGroup(P,S){const G=S.currentTime;let ge=0;const He=P.steps.map(Ct=>{S.currentTime=G;const Gt=z(this,Ct,S);return ge=Math.max(ge,S.currentTime),Gt});return S.currentTime=ge,{type:ui.If.Group,steps:He,options:Hs(P.options)}}visitAnimate(P,S){const G=function va(ue,P){if(ue.hasOwnProperty("duration"))return ue;if("number"==typeof ue)return ha(oe(ue,P).duration,0,"");const S=ue;if(S.split(/\s+/).some(He=>"{"==He.charAt(0)&&"{"==He.charAt(1))){const He=ha(0,0,"");return He.dynamic=!0,He.strValue=S,He}const ge=oe(S,P);return ha(ge.duration,ge.delay,ge.easing)}(P.timings,S.errors);S.currentAnimateTimings=G;let ge,He=P.styles?P.styles:(0,ui.iF)({});if(He.type==ui.If.Keyframes)ge=this.visitKeyframes(He,S);else{let Ct=P.styles,Gt=!1;if(!Ct){Gt=!0;const pn={};G.easing&&(pn.easing=G.easing),Ct=(0,ui.iF)(pn)}S.currentTime+=G.duration+G.delay;const sn=this.visitStyle(Ct,S);sn.isEmptyStep=Gt,ge=sn}return S.currentAnimateTimings=null,{type:ui.If.Animate,timings:G,style:ge,options:null}}visitStyle(P,S){const G=this._makeStyleAst(P,S);return this._validateStyleAst(G,S),G}_makeStyleAst(P,S){const G=[],ge=Array.isArray(P.styles)?P.styles:[P.styles];for(let Gt of ge)"string"==typeof Gt?Gt===ui.kp?G.push(Gt):S.errors.push(Zo()):G.push(new Map(Object.entries(Gt)));let He=!1,Ct=null;return G.forEach(Gt=>{if(Gt instanceof Map&&(Gt.has("easing")&&(Ct=Gt.get("easing"),Gt.delete("easing")),!He))for(let sn of Gt.values())if(sn.toString().indexOf("{{")>=0){He=!0;break}}),{type:ui.If.Style,styles:G,easing:Ct,offset:P.offset,containsDynamicStyles:He,options:null}}_validateStyleAst(P,S){const G=S.currentAnimateTimings;let ge=S.currentTime,He=S.currentTime;G&&He>0&&(He-=G.duration+G.delay),P.styles.forEach(Ct=>{"string"!=typeof Ct&&Ct.forEach((Gt,sn)=>{const pn=S.collectedStyles.get(S.currentQuerySelector),Ln=pn.get(sn);let zn=!0;Ln&&(He!=ge&&He>=Ln.startTime&&ge<=Ln.endTime&&(S.errors.push(function Qs(){return new ie.buA(3010,!1)}()),zn=!1),He=Ln.startTime),zn&&pn.set(sn,{startTime:He,endTime:ge}),S.options&&function jn(ue,P,S){const G=P.params||{},ge=Di(ue);ge.length&&ge.forEach(He=>{G.hasOwnProperty(He)||S.push(function be(){return new ie.buA(3001,!1)}())})}(Gt,S.options,S.errors)})})}visitKeyframes(P,S){const G={type:ui.If.Keyframes,styles:[],options:null};if(!S.currentAnimateTimings)return S.errors.push(function Ns(){return new ie.buA(3011,!1)}()),G;let He=0;const Ct=[];let Gt=!1,sn=!1,pn=0;const Ln=P.steps.map(Ks=>{const ir=this._makeStyleAst(Ks,S);let Mr=null!=ir.offset?ir.offset:function Zr(ue){if("string"==typeof ue)return null;let P=null;if(Array.isArray(ue))ue.forEach(S=>{if(S instanceof Map&&S.has("offset")){const G=S;P=parseFloat(G.get("offset")),G.delete("offset")}});else if(ue instanceof Map&&ue.has("offset")){const S=ue;P=parseFloat(S.get("offset")),S.delete("offset")}return P}(ir.styles),dr=0;return null!=Mr&&(He++,dr=ir.offset=Mr),sn=sn||dr<0||dr>1,Gt=Gt||dr<pn,pn=dr,Ct.push(dr),ir});sn&&S.errors.push(function ns(){return new ie.buA(3012,!1)}()),Gt&&S.errors.push(function Or(){return new ie.buA(3200,!1)}());const zn=P.steps.length;let Ri=0;He>0&&He<zn?S.errors.push(function _s(){return new ie.buA(3202,!1)}()):0==He&&(Ri=1/(zn-1));const po=zn-1,Vi=S.currentTime,ao=S.currentAnimateTimings,gs=ao.duration;return Ln.forEach((Ks,ir)=>{const Mr=Ri>
10?ir==po?1:Ri*ir:Ct[ir],dr=Mr*gs;S.currentTime=Vi+ao.delay+dr,ao.duration=dr,this._validateStyleAst(Ks,S),Ks.offset=Mr,G.styles.push(Ks)}),G}visitReference(P,S){return{type:ui.If.Reference,animation:z(this,bn(P.animation),S),options:Hs(P.options)}}visitAnimateChild(P,S){return S.depCount++,{type:ui.If.AnimateChild,options:Hs(P.options)}}visitAnimateRef(P,S){return{type:ui.If.AnimateRef,animation:this.visitReference(P.animation,S),options:Hs(P.options)}}visitQuery(P,S){const G=S.currentQuerySelector,ge=P.options||{};S.queryCount++,S.currentQuery=P;const[He,Ct]=function fa(ue){const P=!!ue.split(/\s*,\s*/).find(S=>":self"==S);return P&&(ue=ue.replace(xa,"")),ue=ue.replace(/@\*/g,Bs).replace(/@\w+/g,S=>Bs+"-"+S.slice(1)).replace(/:animating/g,R),[ue,P]}(P.selector);S.currentQuerySelector=G.length?G+" "+He:He,Uo(S.collectedStyles,S.currentQuerySelector,new Map);const Gt=z(this,bn(P.animation),S);return S.currentQuery=null,S.currentQuerySelector=G,{type:ui.If.Query,selector:He,limit:ge.limit||0,optional:!!ge.optional,includeSelf:Ct,animation:Gt,originalSelector:P.selector,options:Hs(P.options)}}visitStagger(P,S){S.currentQuery||S.errors.push(function or(){return new ie.buA(3013,!1)}());const G="full"===P.timings?{duration:0,delay:0,easing:"full"}:oe(P.timings,S.errors,!0);return{type:ui.If.Stagger,animation:z(this,bn(P.animation),S),timings:G,options:null}}}class Qa{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(P){this.errors=P}}function Hs(ue){return ue?(ue={...ue}).params&&(ue.params=function Va(ue){return ue?{...ue}:null}(ue.params)):ue={},ue}function ha(ue,P,S){return{duration:ue,delay:P,easing:S}}function Ca(ue,P,S,G,ge,He,Ct=null,Gt=!1){return{type:1,element:ue,keyframes:P,preStyleProps:S,postStyleProps:G,duration:ge,delay:He,totalTime:ge+He,easing:Ct,subTimeline:Gt}}class Ss{_map=new Map;get(P){return this._map.get(P)||[]}append(P,S){let G=this._map.get(P);G||this._map.set(P,G=[]),G.push(...S)}has(P){return this._map.has(P)}clear(){this._map.clear()}}const Na=new RegExp(":enter","g"),pa=new RegExp(":leave","g");function ga(ue,P,S,G,ge,He=new Map,Ct=new Map,Gt,sn,pn=[]){return(new ma).buildKeyframes(ue,P,S,G,ge,He,Ct,Gt,sn,pn)}class ma{buildKeyframes(P,S,G,ge,He,Ct,Gt,sn,pn,Ln=[]){pn=pn||new Ss;const zn=new Ma(P,S,pn,ge,He,Ln,[]);zn.options=sn;const Ri=sn.delay?I(sn.delay):0;zn.currentTimeline.delayNextStep(Ri),zn.currentTimeline.setStyles([Ct],null,zn.errors,sn),z(this,G,zn);const po=zn.timelines.filter(Vi=>Vi.containsAnimation());if(po.length&&Gt.size){let Vi;for(let ao=po.length-1;ao>=0;ao--){const gs=po[ao];if(gs.element===S){Vi=gs;break}}Vi&&!Vi.allowOnlyTimelineStyles()&&Vi.setStyles([Gt],null,zn.errors,sn)}return po.length?po.map(Vi=>Vi.buildKeyframes()):[Ca(S,[],[],[],0,Ri,"",!1)]}visitTrigger(P,S){}visitState(P,S){}visitTransition(P,S){}visitAnimateChild(P,S){const G=S.subInstructions.get(S.element);if(G){const ge=S.createSubContext(P.options),He=S.currentTimeline.currentTime,Ct=this._visitSubInstructions(G,ge,ge.options);He!=Ct&&S.transformIntoNewTimeline(Ct)}S.previousNode=P}visitAnimateRef(P,S){const G=S.createSubContext(P.options);G.transformIntoNewTimeline(),this._applyAnimationRefDelays([P.options,P.animation.options],S,G),this.visitReference(P.animation,G),S.transformIntoNewTimeline(G.currentTimeline.currentTime),S.previousNode=P}_applyAnimationRefDelays(P,S,G){for(const ge of P){const He=ge?.delay;if(He){const Ct="number"==typeof He?He:I(yi(He,ge?.params??{},S.errors));G.delayNextStep(Ct)}}}_visitSubInstructions(P,S,G){let He=S.currentTimeline.currentTime;const Ct=null!=G.duration?I(G.duration):null,Gt=null!=G.delay?I(G.delay):null;return 0!==Ct&&P.forEach(sn=>{const pn=S.appendInstructionToTimeline(sn,Ct,Gt);He=Math.max(He,pn.duration+pn.delay)}),He}visitReference(P,S){S.updateOptions(P.options,!0),z(this,P.animation,S),S.previousNode=P}visitSequence(P,S){const G=S.subContextCount;let ge=S;const He=P.options;if(He&&(He.params||He.delay)&&(ge=S.createSubContext(He),ge.transformIntoNewTimeline(),null!=He.delay)){ge.previousNode.type==ui.If.Style&&(ge.currentTimeline.snapshotCurrentStyles(),ge.previousNode=br);const Ct=I(He.delay);ge.delayNextStep(Ct)}P.steps.length&&(P.steps.forEach(Ct=>z(this,Ct,ge)),ge.currentTimeline.applyStylesToKeyframe(),ge.subContextCount>G&&ge.transformIntoNewTimeline()),S.previousNode=P}visitGroup(P,S){const G=[];let ge=S.currentTimeline.currentTime;const He=P.options&&P.options.delay?I(P.options.delay):0;P.steps.forEach(Ct=>{const Gt=S.createSubContext(P.options);He&&Gt.delayNextStep(He),z(this,Ct,Gt),ge=Math.max(ge,Gt.currentTimeline.currentTime),G.push(Gt.currentTimeline)}),G.forEach(Ct=>S.currentTimeline.mergeTimelineCollectedStyles(Ct)),S.transformIntoNewTimeline(ge),S.previousNode=P}_visitTiming(P,S){if(P.dynamic){const G=P.strValue;return oe(S.params?yi(G,S.params,S.errors):G,S.errors)}return{duration:P.duration,delay:P.delay,easing:P.easing}}visitAnimate(P,S){const G=S.currentAnimateTimings=this._visitTiming(P.timings,S),ge=S.currentTimeline;G.delay&&(S.incrementTime(G.delay),ge.snapshotCurrentStyles());const He=P.style;He.type==ui.If.Keyframes?this.visitKeyframes(He,S):(S.incrementTime(G.duration),this.visitStyle(He,S),ge.applyStylesToKeyframe()),S.currentAnimateTimings=null,S.previousNode=P}visitStyle(P,S){const G=S.currentTimeline,ge=S.currentAnimateTimings;!ge&&G.hasCurrentStyleProperties()&&G.forwardFrame();const He=ge&&ge.easing||P.easing;P.isEmptyStep?G.applyEmptyStep(He):G.setStyles(P.styles,He,S.errors,S.options),S.previousNode=P}visitKeyframes(P,S){const G=S.currentAnimateTimings,ge=S.currentTimeline.duration,He=G.duration,Gt=S.createSubContext().currentTimeline;
vendor: 4,147 bytes, line 1
1Gt.easing=G.easing,P.styles.forEach(sn=>{Gt.forwardTime((sn.offset||0)*He),Gt.setStyles(sn.styles,sn.easing,S.errors,S.options),Gt.applyStylesToKeyframe()}),S.currentTimeline.mergeTimelineCollectedStyles(Gt),S.transformIntoNewTimeline(ge+He),S.previousNode=P}visitQuery(P,S){const G=S.currentTimeline.currentTime,ge=P.options||{},He=ge.delay?I(ge.delay):0;He&&(S.previousNode.type===ui.If.Style||0==G&&S.currentTimeline.hasCurrentStyleProperties())&&(S.currentTimeline.snapshotCurrentStyles(),S.previousNode=br);let Ct=G;const Gt=S.invokeQuery(P.selector,P.originalSelector,P.limit,P.includeSelf,!!ge.optional,S.errors);S.currentQueryTotal=Gt.length;let sn=null;Gt.forEach((pn,Ln)=>{S.currentQueryIndex=Ln;const zn=S.createSubContext(P.options,pn);He&&zn.delayNextStep(He),pn===S.element&&(sn=zn.currentTimeline),z(this,P.animation,zn),zn.currentTimeline.applyStylesToKeyframe(),Ct=Math.max(Ct,zn.currentTimeline.currentTime)}),S.currentQueryIndex=0,S.currentQueryTotal=0,S.transformIntoNewTimeline(Ct),sn&&(S.currentTimeline.mergeTimelineCollectedStyles(sn),S.currentTimeline.snapshotCurrentStyles()),S.previousNode=P}visitStagger(P,S){const G=S.parentContext,ge=S.currentTimeline,He=P.timings,Ct=Math.abs(He.duration),Gt=Ct*(S.currentQueryTotal-1);let sn=Ct*S.currentQueryIndex;switch(He.duration<0?"reverse":He.easing){case"reverse":sn=Gt-sn;break;case"full":sn=G.currentStaggerTime}const Ln=S.currentTimeline;sn&&Ln.delayNextStep(sn);const zn=Ln.currentTime;z(this,P.animation,S),S.previousNode=P,G.currentStaggerTime=ge.currentTime-zn+(ge.startTime-G.currentTimeline.startTime)}}const br={};class Ma{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=br;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(P,S,G,ge,He,Ct,Gt,sn){this._driver=P,this.element=S,this.subInstructions=G,this._enterClassName=ge,this._leaveClassName=He,this.errors=Ct,this.timelines=Gt,this.currentTimeline=sn||new Yr(this._driver,S,0),Gt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(P,S){if(!P)return;const G=P;let ge=this.options;null!=G.duration&&(ge.duration=I(G.duration)),null!=G.delay&&(ge.delay=I(G.delay));const He=G.params;if(He){let Ct=ge.params;Ct||(Ct=this.options.params={}),Object.keys(He).forEach(Gt=>{(!S||!Ct.hasOwnProperty(Gt))&&(Ct[Gt]=yi(He[Gt],Ct,this.errors))})}}_copyOptions(){const P={};if(this.options){const S=this.options.params;if(S){const G=P.params={};Object.keys(S).forEach(ge=>{G[ge]=S[ge]})}}return P}createSubContext(P=null,S,G){const ge=S||this.element,He=new Ma(this._driver,ge,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(ge,G||0));return He.previousNode=this.previousNode,He.currentAnimateTimings=this.currentAnimateTimings,He.options=this._copyOptions(),He.updateOptions(P),He.currentQueryIndex=this.currentQueryIndex,He.currentQueryTotal=this.currentQueryTotal,He.parentContext=this,this.subContextCount++,He}transformIntoNewTimeline(P){return this.previousNode=br,this.currentTimeline=this.currentTimeline.fork(this.element,P),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(P,S,G){const ge={duration:S??P.duration,delay:this.currentTimeline.currentTime+(G??0)+P.delay,easing:""},He=new Da(this._driver,P.element,P.keyframes,P.preStyleProps,P.postStyleProps,ge,P.stretchStartingKeyframe);return this.timelines.push(He),ge}incrementTime(P){this.currentTimeline.forwardTime(this.currentTimeline.duration+P)}delayNextStep(P){P>0&&this.currentTimeline.delayNextStep(P)}invokeQuery(P,S,G,ge,He,Ct){let Gt=[];if(ge&&Gt.push(this.element),P.length>0){P=(P=P.replace(Na,"."+this._enterClassName)).replace(pa,"."+this._leaveClassName);let pn=this._driver.query(this.element,P,1!=G);0!==G&&(pn=G<0?pn.slice(pn.length+G,pn.length):pn.slice(0,G)),Gt.push(...pn)}return!He&&0==Gt.length&&Ct.push(function Rs(){return new ie.buA(3014,!1)}()),Gt}}class Yr{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;
1_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(P,S,G,ge){this._driver=P,this.element=S,this.startTime=G,this._elementTimelineStylesLookup=ge,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(S),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(S,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(P){const S=1===this._keyframes.size&&this._pendingStyles.size;this.duration||S?(this.forwardTime(this.currentTime+P),S&&this.snapshotCurrentStyles()):this.startTime+=P}fork(P,S){return this.applyStylesToKeyframe(),new Yr(this._driver,P,S||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(P){this.applyStylesToKeyframe(),this.duration=P,this._loadKeyframe()}_updateStyle(P,S){this._localTimelineStyles.set(P,S),this._globalTimelineStyles.set(P,S),this._styleSummary.set(P,{time:this.currentTime,value:S})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(P){P&&this._previousKeyframe.set("easing",P);for(let[S,G]of this._globalTimelineStyles)this._backFill.set(S,G||ui.kp),this._currentKeyframe.set(S,ui.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(P,S,G,ge){S&&this._previousKeyframe.set("easing",S);const He=ge&&ge.params||{},Ct=function ke(ue,P){const S=new Map;let G;return ue.forEach(ge=>{if("*"===ge){G??=P.keys();for(let He of G)S.set(He,ui.kp)}else for(let[He,Ct]of ge)S.set(He,Ct)}),S}(P,this._globalTimelineStyles);for(let[Gt,sn]of Ct){const pn=yi(sn,He,G);this._pendingStyles.set(Gt,pn),this._localTimelineStyles.has(Gt)||this._backFill.set(Gt,this._globalTimelineStyles.get(Gt)??ui.kp),this._updateStyle(Gt,pn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((P,S)=>{this._currentKeyframe.set(S,P)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((P,S)=>{this._currentKeyframe.has(S)||this._currentKeyframe.set(S,P)}))}snapshotCurrentStyles(){for(let[P,S]of this._localTimelineStyles)this._pendingStyles.set(P,S),this._updateStyle(P,S)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const P=[];for(let S in this._currentKeyframe)P.push(S);return P}
1mergeTimelineCollectedStyles(P){P._styleSummary.forEach((S,G)=>{const ge=this._styleSummary.get(G);(!ge||S.time>ge.time)&&this._updateStyle(G,S.value)})}buildKeyframes(){this.applyStylesToKeyframe();const P=new Set,S=new Set,G=1===this._keyframes.size&&0===this.duration;let ge=[];this._keyframes.forEach((Gt,sn)=>{const pn=new Map([...this._backFill,...Gt]);pn.forEach((Ln,zn)=>{Ln===ui.FX?P.add(zn):Ln===ui.kp&&S.add(zn)}),G||pn.set("offset",sn/this.duration),ge.push(pn)});const He=[...P.values()],Ct=[...S.values()];if(G){const Gt=ge[0],sn=new Map(Gt);Gt.set("offset",0),sn.set("offset",1),ge=[Gt,sn]}return Ca(this.element,ge,He,Ct,this.duration,this.startTime,this.easing,!1)}}class Da extends Yr{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(P,S,G,ge,He,Ct,Gt=!1){super(P,S,Ct.delay),this.keyframes=G,this.preStyleProps=ge,this.postStyleProps=He,this._stretchStartingKeyframe=Gt,this.timings={duration:Ct.duration,delay:Ct.delay,easing:Ct.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let P=this.keyframes,{delay:S,duration:G,easing:ge}=this.timings;if(this._stretchStartingKeyframe&&S){const He=[],Ct=G+S,Gt=S/Ct,sn=new Map(P[0]);sn.set("offset",0),He.push(sn);const pn=new Map(P[0]);pn.set("offset",Je(Gt)),He.push(pn);const Ln=P.length-1;for(let zn=1;zn<=Ln;zn++){let Ri=new Map(P[zn]);const po=Ri.get("offset");Ri.set("offset",Je((S+po*G)/Ct)),He.push(Ri)}G=Ct,S=0,ge="",P=He}return Ca(this.element,P,this.preStyleProps,this.postStyleProps,G,S,ge,!0)}}function Je(ue,P=3){const S=Math.pow(10,P-1);return Math.round(ue*S)/S}function a(ue,P,S,G,ge,He,Ct,Gt,sn,pn,Ln,zn,Ri){return{type:0,element:ue,triggerName:P,isRemovalTransition:ge,fromState:S,fromStyles:He,toState:G,toStyles:Ct,timelines:Gt,queriedElements:sn,preStyleProps:pn,postStyleProps:Ln,totalTime:zn,errors:Ri}}const r={};class e{_triggerName;ast;_stateStyles;constructor(P,S,G){this._triggerName=P,this.ast=S,this._stateStyles=G}match(P,S,G,ge){return function k(ue,P,S,G,ge){return ue.some(He=>He(P,S,G,ge))}(this.ast.matchers,P,S,G,ge)}buildStyles(P,S,G){let ge=this._stateStyles.get("*");return void 0!==P&&(ge=this._stateStyles.get(P?.toString())||ge),ge?ge.buildStyles(S,G):new Map}build(P,S,G,ge,He,Ct,Gt,sn,pn,Ln){const zn=[],Ri=this.ast.options&&this.ast.options.params||r,Vi=this.buildStyles(G,Gt&&Gt.params||r,zn),ao=sn&&sn.params||r,gs=this.buildStyles(ge,ao,zn),Ks=new Set,ir=new Map,Mr=new Map,dr="void"===ge,cl={params:re(ao,Ri),delay:this.ast.options?.delay},Aa=Ln?[]:ga(P,S,this.ast.animation,He,Ct,Vi,gs,cl,pn,zn);let co=0;return Aa.forEach(Dr=>{co=Math.max(Dr.duration+Dr.delay,co)}),zn.length?a(S,this._triggerName,G,ge,dr,Vi,gs,[],[],ir,Mr,co,zn):(Aa.forEach(Dr=>{const el=Dr.element,tl=Uo(ir,el,new Set);Dr.preStyleProps.forEach(nl=>tl.add(nl));const El=Uo(Mr,el,new Set);Dr.postStyleProps.forEach(nl=>El.add(nl)),el!==S&&Ks.add(el)}),a(S,this._triggerName,G,ge,dr,Vi,gs,Aa,[...Ks.values()],ir,Mr,co))}}function re(ue,P){const S={...P};return Object.entries(ue).forEach(([G,ge])=>{null!=ge&&(S[G]=ge)}),S}class u{styles;defaultParams;normalizer;constructor(P,S,G){this.styles=P,this.defaultParams=S,this.normalizer=G}buildStyles(P,S){const G=new Map,ge=re(P,this.defaultParams);return this.styles.styles.forEach(He=>{"string"!=typeof He&&He.forEach((Ct,Gt)=>{Ct&&(Ct=yi(Ct,ge,S));const sn=this.normalizer.normalizePropertyName(Gt,S);Ct=this.normalizer.normalizeStyleValue(Gt,sn,Ct,S),G.set(Gt,Ct)})}),G}}class Oi{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(P,S,G){this.name=P,this.ast=S,this._normalizer=G,S.states.forEach(ge=>{this.states.set(ge.name,new u(ge.style,ge.options&&ge.options.params||{},G))}),Ho(this.states,"true","1"),Ho(this.states,"false","0"),S.transitions.forEach(ge=>{this.transitionFactories.push(new e(P,ge,this.states))}),this.fallbackTransition=function Ai(ue,P){return new e(ue,{type:ui.If.Transition,animation:{type:ui.If.Sequence,steps:[],options:null},matchers:[(Ct,Gt)=>!0],options:null,queryCount:0,depCount:0},P)}(P,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(P,S,G,ge){return this.transitionFactories.find(Ct=>Ct.match(P,S,G,ge))||null}matchStyles(P,S,G){return this.fallbackTransition.buildStyles(P,S,G)}}function Ho(ue,P,S){ue.has(P)?ue.has(S)||ue.set(S,ue.get(P)):ue.has(S)&&ue.set(P,ue.get(S))}const $o=new Ss;class Us{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(P,S,G){this.bodyNode=P,this._driver=S,this._normalizer=G}register(P,S){const G=[],He=ca(this._driver,S,G,[]);if(G.length)throw function rr(){return new ie.buA(3503,!1)}();this._animations.set(P,He)}_buildPlayer(P,S,G){const ge=P.element,He=Vs(this._normalizer,P.ke
1yframes,S,G);return this._driver.animate(ge,He,P.duration,P.delay,P.easing,[],!0)}create(P,S,G={}){const ge=[],He=this._animations.get(P);let Ct;const Gt=new Map;if(He?(Ct=ga(this._driver,S,He,Ts,Eo,new Map,new Map,G,$o,ge),Ct.forEach(Ln=>{const zn=Uo(Gt,Ln.element,new Map);Ln.postStyleProps.forEach(Ri=>zn.set(Ri,null))})):(ge.push(function Tr(){return new ie.buA(3300,!1)}()),Ct=[]),ge.length)throw function Ir(){return new ie.buA(3504,!1)}();Gt.forEach((Ln,zn)=>{Ln.forEach((Ri,po)=>{Ln.set(po,this._driver.computeStyle(zn,po,ui.kp))})});const pn=ds(Ct.map(Ln=>{const zn=Gt.get(Ln.element);return this._buildPlayer(Ln,new Map,zn)}));return this._playersById.set(P,pn),pn.onDestroy(()=>this.destroy(P)),this.players.push(pn),pn}destroy(P){const S=this._getPlayer(P);S.destroy(),this._playersById.delete(P);const G=this.players.indexOf(S);G>=0&&this.players.splice(G,1)}_getPlayer(P){const S=this._playersById.get(P);if(!S)throw function pr(){return new ie.buA(3301,!1)}();return S}listen(P,S,G,ge){const He=mr(S,"","","");return ws(this._getPlayer(P),G,He,ge),()=>{}}command(P,S,G,ge){if("register"==G)return void this.register(P,ge[0]);if("create"==G)return void this.create(P,S,ge[0]||{});const He=this._getPlayer(P);switch(G){case"play":He.play();break;case"pause":He.pause();break;case"reset":He.reset();break;case"restart":He.restart();break;case"finish":He.finish();break;case"init":He.init();break;case"setPosition":He.setPosition(parseFloat(ge[0]));break;case"destroy":this.destroy(P)}}}const $s="ng-animate-queued",tr="ng-animate-disabled",zr=[],_a={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Oa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ur="__ng_removed";class ya{namespaceId;value;options;get params(){return this.options.params}constructor(P,S=""){this.namespaceId=S;const G=P&&P.hasOwnProperty("value");if(this.value=function _l(ue){return ue??null}(G?P.value:P),G){const{value:He,...Ct}=P;this.options=Ct}else this.options={};this.options.params||(this.options.params={})}absorbOptions(P){const S=P.params;if(S){const G=this.options.params;Object.keys(S).forEach(ge=>{null==G[ge]&&(G[ge]=S[ge])})}}}const nr="void",Lr=new ya(nr);class ml{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(P,S,G){this.id=P,this.hostElement=S,this._engine=G,this._hostClassName="ng-tns-"
vendor: 18,638 bytes, line 1
1+P,Gr(S,this._hostClassName)}listen(P,S,G,ge){if(!this._triggers.has(S))throw function ar(){return new ie.buA(3302,!1)}();if(null==G||0==G.length)throw function Os(){return new ie.buA(3303,!1)}();if(!function ba(ue){return"start"==ue||"done"==ue}(G))throw function As(){return new ie.buA(3400,!1)}();const He=Uo(this._elementListeners,P,[]),Ct={name:S,phase:G,callback:ge};He.push(Ct);const Gt=Uo(this._engine.statesByElement,P,new Map);return Gt.has(S)||(Gr(P,Cs),Gr(P,Cs+"-"+S),Gt.set(S,Lr)),()=>{this._engine.afterFlush(()=>{const sn=He.indexOf(Ct);sn>=0&&He.splice(sn,1),this._triggers.has(S)||Gt.delete(S)})}}register(P,S){return!this._triggers.has(P)&&(this._triggers.set(P,S),!0)}_getTrigger(P){const S=this._triggers.get(P);if(!S)throw function $r(){return new ie.buA(3401,!1)}();return S}trigger(P,S,G,ge=!0){const He=this._getTrigger(S),Ct=new Ta(this.id,S,P);let Gt=this._engine.statesByElement.get(P);Gt||(Gr(P,Cs),Gr(P,Cs+"-"+S),this._engine.statesByElement.set(P,Gt=new Map));let sn=Gt.get(S);const pn=new ya(G,this.id);if(!(G&&G.hasOwnProperty("value"))&&sn&&pn.absorbOptions(sn.options),Gt.set(S,pn),sn||(sn=Lr),pn.value!==nr&&sn.value===pn.value){if(!function Ba(ue,P){const S=Object.keys(ue),G=Object.keys(P);if(S.length!=G.length)return!1;for(let ge=0;ge<S.length;ge++){const He=S[ge];if(!P.hasOwnProperty(He)||ue[He]!==P[He])return!1}return!0}(sn.params,pn.params)){const ao=[],gs=He.matchStyles(sn.value,sn.params,ao),Ks=He.matchStyles(pn.value,pn.params,ao);ao.length?this._engine.reportError(ao):this._engine.afterFlush(()=>{fn(P,gs),Xt(P,Ks)})}return}const Ri=Uo(this._engine.playersByElement,P,[]);Ri.forEach(ao=>{ao.namespaceId==this.id&&ao.triggerName==S&&ao.queued&&ao.destroy()});let po=He.matchTransition(sn.value,pn.value,P,pn.params),Vi=!1;if(!po){if(!ge)return;po=He.fallbackTransition,Vi=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:P,triggerName:S,transition:po,fromState:sn,toState:pn,player:Ct,isFallbackTransition:Vi}),Vi||(Gr(P,$s),Ct.onStart(()=>{Fa(P,$s)})),Ct.onDone(()=>{let ao=this.players.indexOf(Ct);ao>=0&&this.players.splice(ao,1);const gs=this._engine.playersByElement.get(P);if(gs){let Ks=gs.indexOf(Ct);Ks>=0&&gs.splice(Ks,1)}}),this.players.push(Ct),Ri.push(Ct),Ct}deregister(P){this._triggers.delete(P),this._engine.statesByElement.forEach(S=>S.delete(P)),this._elementListeners.forEach((S,G)=>{this._elementListeners.set(G,S.filter(ge=>ge.name!=P))})}clearElementCache(P){this._engine.statesByElement.delete(P),this._elementListeners.delete(P);const S=this._engine.playersByElement.get(P);S&&(S.forEach(G=>G.destroy()),this._engine.playersByElement.delete(P))}_signalRemovalForInnerTriggers(P,S){const G=this._engine.driver.query(P,Bs,!0);G.forEach(ge=>{if(ge[ur])return;const He=this._engine.fetchNamespacesByElement(ge);He.size?He.forEach(Ct=>Ct.triggerLeaveAnimation(ge,S,!1,!0)):this.clearElementCache(ge)}),this._engine.afterFlushAnimationsDone(()=>G.forEach(ge=>this.clearElementCache(ge)))}triggerLeaveAnimation(P,S,G,ge){const He=this._engine.statesByElement.get(P),Ct=new Map;if(He){const Gt=[];if(He.forEach((sn,pn)=>{if(Ct.set(pn,sn.value),this._triggers.has(pn)){const Ln=this.trigger(P,pn,nr,ge);Ln&&Gt.push(Ln)}}),Gt.length)return this._engine.markElementAsRemoved(this.id,P,!0,S,Ct),G&&ds(Gt).onDone(()=>this._engine.processLeaveNode(P)),!0}return!1}prepareLeaveAnimationListeners(P){const S=this._elementListeners.get(P),G=this._engine.statesByElement.get(P);if(S&&G){const ge=new Set;S.forEach(He=>{const Ct=He.name;if(ge.has(Ct))return;ge.add(Ct);const sn=this._triggers.get(Ct).fallbackTransition,pn=G.get(Ct)||Lr,Ln=new ya(nr),zn=new Ta(this.id,Ct,P);this._engine.totalQueuedPlayers++,this._queue.push({element:P,triggerName:Ct,transition:sn,fromState:pn,toState:Ln,player:zn,isFallbackTransition:!0})})}}removeNode(P,S){const G=this._engine;if(P.childElementCount&&this._signalRemovalForInnerTriggers(P,S),this.triggerLeaveAnimation(P,S,!0))return;let ge=!1;if(G.totalAnimations){const He=G.players.length?G.playersByQueriedElement.get(P):[];if(He&&He.length)ge=!0;else{let Ct=P;for(;Ct=Ct.parentNode;)if(G.statesByElement.get(Ct)){ge=!0;break}}}if(this.prepareLeaveAnimationListeners(P),ge)G.markElementAsRemoved(this.id,P,!1,S);else{const He=P[ur];(!He||He===_a)&&(G.afterFlush(()=>this.clearElementCache(P)),G.destroyInnerAnimations(P),G._onRemovalComplete(P,S))}}insertNode(P,S){Gr(P,this._hostClassName)}drainQueuedTransitions(P){const S=[];return this._queue.forEach(G=>{const ge=G.player;if(ge.destroyed)return;const He=G.element,Ct=this._elementListeners.get(He);Ct&&Ct.forEach(Gt=>{if(Gt.name==G.triggerName){const sn=mr(He,G.triggerName,G.fromState.value,G.toState.value);sn._data=P,ws(G.player,Gt.phase,sn,Gt.callback)}}),ge.markedForDestroy?this._engine.afterFlush(()=>{ge.destroy()}):S.push(G)}),this._queue=[],S.sort((G,ge)=>{const He=G.transition.ast.depCount,Ct=ge.transition.ast.depCount;return 0==He||0==Ct?He-Ct:this._engine.driver.containsElement(G.element,ge.element)?1:-1})}destroy(P){this.players.forEach(S=>S.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,P)}}class wa{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(P,S)=>{};_onRemovalComplete(P,S){this.onRemovalComplete(P,S)}constructor(P,S,G){this.bodyNode=P,this.driver=S,this._normalizer=G}get queuedPlayers(){const P=[];return this._namespaceList.forEach(S=>{S.players.forEach(G=>{G.queued&&P.push(G)})}),P}createNamespace(P,S){const G=new ml(P,S,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,S)?this._balanceNamespaceList(G,S):(this.newHostElements.set(S,G),this.collectEnterElement(S)),this._namespaceLookup[P]=G}_balanceNamespaceList(P,S){const G=this._namespaceList,ge=this.namespacesByHostElement;if(G.length-1>=0){let Ct=!1,Gt=this.driver.getParentElement(S);for(;Gt;){const sn=ge.get(Gt);if(sn){const pn=G.indexOf(sn);G.splice(pn+1,0,P),Ct=!0;break}Gt=this.driver.getParentElement(Gt)}Ct||G.unshift(P)}else G.push(P);return ge.set(S,P),P}register(P,S){let G=this._namespaceLookup[P];return G||(G=this.createNamespace(P,S)),G}registerTrigger(P,S,G){let ge=this._namespaceLookup[P];ge&&ge.register(S,G)&&this.totalAnimations++}destroy(P,S){P&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const G=this._fetchNamespace(P);this.namespacesByHostElement.delete(G.hostElement);const ge=this._namespaceList.indexOf(G);ge>=0&&this._namespaceList.splice(ge,1),G.destroy(S),delete this._namespaceLookup[P]}))}_fetchNamespace(P){return this._namespaceLookup[P]}fetchNamespacesByElement(P){const S=new Set,G=this.statesByElement.get(P);if(G)for(let ge of G.values())if(ge.namespaceId){const He=this._fetchNamespace(ge.namespaceId);He&&S.add(He)}return S}trigger(P,S,G,ge){if(Ia(S)){const He=this._fetchNamespace(P);if(He)return He.trigger(S,G,ge),!0}return!1}insertNode(P,S,G,ge){if(!Ia(S))return;const He=S[ur];if(He&&He.setForRemoval){He.setForRemoval=!1,He.setForMove=!0;const Ct=this.collectedLeaveElements.indexOf(S);Ct>=0&&this.collectedLeaveElements.splice(Ct,1)}if(P){const Ct=this._fetchNamespace(P);Ct&&Ct.insertNode(S,G)}ge&&this.collectEnterElement(S)}collectEnterElement(P){this.collectedEnterElements.push(P)}markElementAsDisabled(P,S){S?this.disabledNodes.has(P)||(this.disabledNodes.add(P),Gr(P,tr)):this.disabledNodes.has(P)&&(this.disabledNodes.delete(P),Fa(P,tr))}removeNode(P,S,G){if(Ia(S)){const ge=P?this._fetchNamespace(P):null;ge?ge.removeNode(S,G):this.markElementAsRemoved(P,S,!1,G);const He=this.namespacesByHostElement.get(S);He&&He.id!==P&&He.removeNode(S,G)}else this._onRemovalComplete(S,G)}markElementAsRemoved(P,S,G,ge,He){this.collectedLeaveElements.push(S),S[ur]={namespaceId:P,setForRemoval:ge,hasAnimation:G,removedBeforeQueried:!1,previousTriggersValues:He}}listen(P,S,G,ge,He){return Ia(S)?this._fetchNamespace(P).listen(S,G,ge,He):()=>{}}_buildInstruction(P,S,G,ge,He){return P.transition.build(this.driver,P.element,P.fromState.value,P.toState.value,G,ge,P.fromState.options,P.toState.options,S,He)}destroyInnerAnimations(P){let S=this.driver.query(P,Bs,!0);S.forEach(G=>this.destroyActiveAnimationsForElement(G)),0!=this.playersByQueriedElement.size&&(S=this.driver.query(P,R,!0),S.forEach(G=>this.finishActiveQueriedAnimationOnElement(G)))}destroyActiveAnimationsForElement(P){const S=this.playersByElement.get(P);S&&S.forEach(G=>{G.queued?G.markedForDestroy=!0:G.destroy()})}finishActiveQueriedAnimationOnElement(P){const S=this.playersByQueriedElement.get(P);S&&S.forEach(G=>G.finish())}whenRenderingDone(){return new Promise(P=>{if(this.players.length)return ds(this.players).onDone(()=>P());P()})}processLeaveNode(P){const S=P[ur];if(S&&S.setForRemoval){if(P[ur]=_a,S.namespaceId){this.destroyInnerAnimations(P);const G=this._fetchNamespace(S.namespaceId);G&&G.clearElementCache(P)}this._onRemovalComplete(P,S.setForRemoval)}P.classList?.contains(tr)&&this.markElementAsDisabled(P,!1),this.driver.query(P,".ng-animate-disabled",!0).forEach(G=>{this.markElementAsDisabled(G,!1)})}flush(P=-1){let S=[];if(this.newHostElements.size&&(this.newHostElements.forEach((G,ge)=>this._balanceNamespaceList(G,ge)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let G=0;G<this.collectedEnterElements.length;G++)Gr(this.collectedEnterElements[G],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const G=[];try{S=this._flushAnimations(G,P)}finally{for(let ge=0;ge<G.length;ge++)G[ge]()}}else for(let G=0;G<this.collectedLeaveElements.length;G++)this.processLeaveNode(this.collectedLeaveElements[G]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(G=>G()),this._flushFns=[],this._whenQuietFns.length){const G=this._whenQuietFns;this._whenQuietFns=[],S.length?ds(S).onDone(()=>{G.forEach(ge=>ge())}):G.forEach(ge=>ge())}}reportError(P){throw function gr(){return new ie.buA(3402,!1)}()}_flushAnimations(P,S){const G=new Ss,ge=[],He=new Map,Ct=[],Gt=new Map,sn=new Map,pn=new Map,Ln=new Set;this.disabledNodes.forEach(Ii=>{Ln.add(Ii);const Gi=this.driver.query(Ii,".ng-animate-queued",!0);for(let Qi=0;Qi<Gi.length;Qi++)Ln.add(Gi[Qi])});const zn=this.bodyNode,Ri=Array.from(this.statesByElement.keys()),po=Cr(Ri,this.collectedEnterElements),Vi=new Map;let ao=0;po.forEach((Ii,Gi)=>{const Qi=Ts+ao++;Vi.set(Gi,Qi),Ii.forEach(Co=>Gr(Co,Qi))});const gs=[],Ks=new Set,ir=new Set;for(let Ii=0;Ii<this.collectedLeaveElements.length;Ii++){const Gi=this.collectedLeaveElements[Ii],Qi=Gi[ur];Qi&&Qi.setForRemoval&&(gs.push(Gi),Ks.add(Gi),Qi.hasAnimation?this.driver.query(Gi,".ng-star-inserted",!0).forEach(Co=>Ks.add(Co)):ir.add(Gi))}const Mr=new Map,dr=Cr(Ri,Array.from(Ks));dr.forEach((Ii,Gi)=>{const Qi=Eo+ao++;Mr.set(Gi,Qi),Ii.forEach(Co=>Gr(Co,Qi))}),P.push(()=>{po.forEach((Ii,Gi)=>{const Qi=Vi.get(Gi);Ii.forEach(Co=>Fa(Co,Qi))}),dr.forEach((Ii,Gi)=>{const Qi=Mr.get(Gi);Ii.forEach(Co=>Fa(Co,Qi))}),gs.forEach(Ii=>{this.processLeaveNode(Ii)})});const cl=[],Aa=[];for(let Ii=this._namespaceList.length-1;Ii>=0;Ii--)this._namespaceList[Ii].drainQueuedTransitions(S).forEach(Qi=>{const Co=Qi.player,Ls=Qi.element;if(cl.push(Co),this.collectedEnterElements.length){const Er=Ls[ur];if(Er&&Er.setForMove){if(Er.previousTriggersValues&&Er.previousTriggersValues.has(Qi.triggerName)){const Xr=Er.previousTriggersValues.get(Qi.triggerName),Nr=this.statesByElement.get(Qi.element);if(Nr&&Nr.has(Qi.triggerName)){const Lc=Nr.get(Qi.triggerName);Lc.value=Xr,Nr.set(Qi.triggerName,Lc)}}return void Co.destroy()}}const oa=!zn||!this.driver.containsElement(zn,Ls),xr=Mr.get(Ls),za=Vi.get(Ls),Ds=this._buildInstruction(Qi,G,za,xr,oa);if(Ds.errors&&Ds.errors.length)return void Aa.push(Ds);if(oa)return Co.onStart(()=>fn(Ls,Ds.fromStyles)),Co.onDestroy(()=>Xt(Ls,Ds.toStyles)),void ge.push(Co);if(Qi.isFallbackTransition)return Co.onStart(()=>fn(Ls,Ds.fromStyles)),Co.onDestroy(()=>Xt(Ls,Ds.toStyles)),void ge.push(Co);const ju=[];Ds.timelines.forEach(Er=>{Er.stretchStartingKeyframe=!0,this.disabledNodes.has(Er.element)||ju.push(Er)}),Ds.timelines=ju,G.append(Ls,Ds.timelines),Ct.push({instruction:Ds,player:Co,element:Ls}),Ds.queriedElements.forEach(Er=>Uo(Gt,Er,[]).push(Co)),Ds.preStyleProps.forEach((Er,Xr)=>{if(Er.size){let Nr=sn.get(Xr);Nr||sn.set(Xr,Nr=new Set),Er.forEach((Lc,Fu)=>Nr.add(Fu))}}),Ds.postStyleProps.forEach((Er,Xr)=>{let Nr=pn.get(Xr);Nr||pn.set(Xr,Nr=new Set),Er.forEach((Lc,Fu)=>Nr.add(Fu))})});if(Aa.length){const Ii=[];Aa.forEach(Gi=>{Ii.push(function ys(){return new ie.buA(3505,!1)}())}),cl.forEach(Gi=>Gi.destroy()),this.reportError(Ii)}const co=new Map,Dr=new Map;Ct.forEach(Ii=>{const Gi=Ii.element;G.has(Gi)&&(Dr.set(Gi,Gi),this._beforeAnimationBuild(Ii.player.namespaceId,Ii.instruction,co))}),ge.forEach(Ii=>{const Gi=Ii.element;this._getPreviousPlayers(Gi,!1,Ii.namespaceId,Ii.triggerName,null).forEach(Co=>{Uo(co,Gi,[]).push(Co),Co.destroy()})});const el=gs.filter(Ii=>Ja(Ii,sn,pn)),tl=new Map;rl(tl,this.driver,ir,pn,ui.kp).forEach(Ii=>{Ja(Ii,sn,pn)&&el.push(Ii)});const nl=new Map;po.forEach((Ii,Gi)=>{rl(nl,this.driver,new Set(Ii),sn,ui.FX)}),el.forEach(Ii=>{const Gi=tl.get(Ii),Qi=nl.get(Ii);tl.set(Ii,new Map([...Gi?.entries()??[],...Qi?.entries()??[]]))});const Ol=[],ul=[],Jl={};Ct.forEach(Ii=>{const{element:Gi,player:Qi,instruction:Co}=Ii;if(G.has(Gi)){if(Ln.has(Gi))return Qi.onDestroy(()=>Xt(Gi,Co.toStyles)),Qi.disabled=!0,Qi.overrideTotalTime(Co.totalTime),void ge.push(Qi);let Ls=Jl;if(Dr.size>1){let xr=Gi;const za=[];for(;xr=xr.parentNode;){const Ds=Dr.get(xr);if(Ds){Ls=Ds;break}za.push(xr)}za.forEach(Ds=>Dr.set(Ds,Ls))}const oa=this._buildAnimation(Qi.namespaceId,Co,co,He,nl,tl);if(Qi.setRealPlayer(oa),Ls===Jl)Ol.push(Qi);else{const xr=this.playersByElement.get(Ls);xr&&xr.length&&(Qi.parentPlayer=ds(xr)),ge.push(Qi)}}else fn(Gi,Co.fromStyles),Qi.onDestroy(()=>Xt(Gi,Co.toStyles)),ul.push(Qi),Ln.has(Gi)&&ge.push(Qi)}),ul.forEach(Ii=>{const Gi=He.get(Ii.element);if(Gi&&Gi.length){const Qi=ds(Gi);Ii.setRealPlayer(Qi)}}),ge.forEach(Ii=>{Ii.parentPlayer?Ii.syncPlayerEvents(Ii.parentPlayer):Ii.destroy()});for(let Ii=0;Ii<gs.length;Ii++){const Gi=gs[Ii],Qi=Gi[ur];if(Fa(Gi,Eo),Qi&&Qi.hasAnimation)continue;let Co=[];if(Gt.size){let oa=Gt.get(Gi);oa&&oa.length&&Co.push(...oa);let xr=this.driver.query(Gi,R,!0);for(let za=0;za<xr.length;za++){let Ds=Gt.get(xr[za]);Ds&&Ds.length&&Co.push(...Ds)}}const Ls=Co.filter(oa=>!oa.destroyed);Ls.length?Xa(this,Gi,Ls):this.processLeaveNode(Gi)}return gs.length=0,Ol.forEach(Ii=>{this.players.push(Ii),Ii.onDone(()=>{Ii.destroy();const Gi=this.players.indexOf(Ii);this.players.splice(Gi,1)}),Ii.play()}),Ol}afterFlush(P){this._flushFns.push(P)}afterFlushAnimationsDone(P){this._whenQuietFns.push(P)}_getPreviousPlayers(P,S,G,ge,He){let Ct=[];if(S){const Gt=this.playersByQueriedElement.get(P);Gt&&(Ct=Gt)}else{const Gt=this.playersByElement.get(P);if(Gt){const sn=!He||He==nr;Gt.forEach(pn=>{pn.queued||!sn&&pn.triggerName!=ge||Ct.push(pn)})}}return(G||ge)&&(Ct=Ct.filter(Gt=>!(G&&G!=Gt.namespaceId||ge&&ge!=Gt.triggerName))),Ct}_beforeAnimationBuild(P,S,G){const He=S.element,Ct=S.isRemovalTransition?void 0:P,Gt=S.isRemovalTransition?void 0:S.triggerName;for(const sn of S.timelines){const pn=sn.element,Ln=pn!==He,zn=Uo(G,pn,[]);this._getPreviousPlayers(pn,Ln,Ct,Gt,S.toState).forEach(po=>{const Vi=po.getRealPlayer();Vi.beforeDestroy&&Vi.beforeDestroy(),po.destroy(),zn.push(po)})}fn(He,S.fromStyles)}_buildAnimation(P,S,G,ge,He,Ct){const Gt=S.triggerName,sn=S.element,pn=[],Ln=new Set,zn=new Set,Ri=S.timelines.map(Vi=>{const ao=Vi.element;Ln.add(ao);const gs=ao[ur];if(gs&&gs.removedBeforeQueried)return new ui.sf(Vi.duration,Vi.delay);const Ks=ao!==sn,ir=function Ha(ue){const P=[];return $a(ue,P),P}((G.get(ao)||zr).map(co=>co.getRealPlayer())).filter(co=>!!co.element&&co.element===ao),Mr=He.get(ao),dr=Ct.get(ao),cl=Vs(this._normalizer,Vi.keyframes,Mr,dr),Aa=this._buildPlayer(Vi,cl,ir);if(Vi.subTimeline&&ge&&zn.add(ao),Ks){const co=new Ta(P,Gt,ao);co.setRealPlayer(Aa),pn.push(co)}return Aa});pn.forEach(Vi=>{Uo(this.playersByQueriedElement,Vi.element,[]).push(Vi),Vi.onDone(()=>function Kl(ue,P,S){let G=ue.get(P);if(G){if(G.length){const ge=G.indexOf(S);G.splice(ge,1)}0==G.length&&ue.delete(P)}return G}(this.playersByQueriedElement,Vi.element,Vi))}),Ln.forEach(Vi=>Gr(Vi,Rr));const po=ds(Ri);return po.onDestroy(()=>{Ln.forEach(Vi=>Fa(Vi,Rr)),Xt(sn,S.toStyles)}),zn.forEach(Vi=>{Uo(ge,Vi,[]).push(po)}),po}_buildPlayer(P,S,G){return S.length>0?this.driver.animate(P.element,S,P.duration,P.delay,P.easing,G):new ui.sf(P.duration,P.delay)}}class Ta{namespaceId;triggerName;element;_player=new ui.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(P,S,G){this.namespaceId=P,this.triggerName=S,this.element=G}setRealPlayer(P){this._containsRealPlayer||(this._player=P,this._queuedCallbacks.forEach((S,G)=>{S.forEach(ge=>ws(P,G,void 0,ge))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(P.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(P){this.totalTime=P}syncPlayerEvents(P){const S=this._player;S.triggerCallback&&P.onStart(()=>S.triggerCallback("start")),P.onDone(()=>this.finish()),P.onDestroy(()=>this.destroy())}_queueEvent(P,S){Uo(this._queuedCallbacks,P,[]).push(S)}onDone(P){this.queued&&this._queueEvent("done",P),this._player.onDone(P)}onStart(P){this.queued&&this._queueEvent("start",P),this._player.onStart(P)}onDestroy(P){this.queued&&this._queueEvent("destroy",P),this._player.onDestroy(P)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(P){this.queued||this._player.setPosition(P)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(P){const S=this._player;S.triggerCallback&&S.triggerCallback(P)}}function Ia(ue){return ue&&1===ue.nodeType}function vr(ue,P){const S=ue.style.display;return ue.style.display=P??"none",S}function rl(ue,P,S,G,ge){const He=[];
1S.forEach(sn=>He.push(vr(sn)));const Ct=[];G.forEach((sn,pn)=>{const Ln=new Map;sn.forEach(zn=>{const Ri=P.computeStyle(pn,zn,ge);Ln.set(zn,Ri),(!Ri||0==Ri.length)&&(pn[ur]=Oa,Ct.push(pn))}),ue.set(pn,Ln)});let Gt=0;return S.forEach(sn=>vr(sn,He[Gt++])),Ct}function Cr(ue,P){const S=new Map;if(ue.forEach(Gt=>S.set(Gt,[])),0==P.length)return S;const ge=new Set(P),He=new Map;function Ct(Gt){if(!Gt)return 1;let sn=He.get(Gt);if(sn)return sn;const pn=Gt.parentNode;return sn=S.has(pn)?pn:ge.has(pn)?1:Ct(pn),He.set(Gt,sn),sn}return P.forEach(Gt=>{const sn=Ct(Gt);1!==sn&&S.get(sn).push(Gt)}),S}function Gr(ue,P){ue.classList?.add(P)}function Fa(ue,P){ue.classList?.remove(P)}function Xa(ue,P,S){ds(S).onDone(()=>ue.processLeaveNode(P))}function $a(ue,P){for(let S=0;S<ue.length;S++){const G=ue[S];G instanceof ui.PZ?$a(G.players,P):P.push(G)}}function Ja(ue,P,S){const G=S.get(ue);if(!G)return!1;let ge=P.get(ue);return ge?G.forEach(He=>ge.add(He)):P.set(ue,G),S.delete(ue),!0}class Qr{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(P,S)=>{};constructor(P,S,G){this._driver=S,this._normalizer=G,this._transitionEngine=new wa(P.body,S,G),this._timelineEngine=new Us(P.body,S,G),this._transitionEngine.onRemovalComplete=(ge,He)=>this.onRemovalComplete(ge,He)}registerTrigger(P,S,G,ge,He){const Ct=P+"-"+ge;let Gt=this._triggerCache[Ct];if(!Gt){const sn=[],Ln=ca(this._driver,He,sn,[]);if(sn.length)throw function sr(){return new ie.buA(3404,!1)}();Gt=function E(ue,P,S){return new Oi(ue,P,S)}(ge,Ln,this._normalizer),this._triggerCache[Ct]=Gt}this._transitionEngine.registerTrigger(S,ge,Gt)}register(P,S){this._transitionEngine.register(P,S)}destroy(P,S){this._transitionEngine.destroy(P,S)}onInsert(P,S,G,ge){this._transitionEngine.insertNode(P,S,G,ge)}onRemove(P,S,G){this._transitionEngine.removeNode(P,S,G)}disableAnimations(P,S){this._transitionEngine.markElementAsDisabled(P,S)}process(P,S,G,ge){if("@"==G.charAt(0)){const[He,Ct]=ps(G);this._timelineEngine.command(He,S,Ct,ge)}else this._transitionEngine.trigger(P,S,G,ge)}listen(P,S,G,ge,He){if("@"==G.charAt(0)){const[Ct,Gt]=ps(G);return this._timelineEngine.listen(Ct,S,Gt,He)}return this._transitionEngine.listen(P,S,G,ge,He)}flush(P=-1){this._transitionEngine.flush(P)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(P){this._transitionEngine.afterFlushAnimationsDone(P)}}let Pa=(()=>{class ue{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(S,G,ge){this._element=S,this._startStyles=G,this._endStyles=ge;let He=ue.initialStylesByElement.get(S);He||ue.initialStylesByElement.set(S,He=new Map),this._initialStyles=He}start(){this._state<1&&(this._startStyles&&Xt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Xt(this._element,this._initialStyles),this._endStyles&&(Xt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ue.initialStylesByElement.delete(this._element),this._startStyles&&(fn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fn(this._element,this._endStyles),this._endStyles=null),Xt(this._element,this._initialStyles),this._state=3)}}return ue})();function ia(ue){let P=null;return ue.forEach((S,G)=>{(function qa(ue){return"display"===ue||"position"===ue})(G)&&(P=P||new Map,P.set(G,S))}),P}class Ka{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(P,S,G,ge){this.element=P,this.keyframes=S,this.options=G,this._specialStyles=ge,this._duration=G.duration,this._delay=G.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(P=>P()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const P=this.keyframes,S=this._triggerWebAnimation(this.element,P,this.options);if(!S)return this._onFinish(),null;this.domPlayer=S,this._finalKeyframe=P.length?P[P.length-1]:new Map;const G=()=>this._onFinish();return S.addEventListener("finish",G),this.onDestroy(()=>{S.removeEventListener("finish",G)}),S}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(P){const S=[];return P.forEach(G=>{S.push(Object.fromEntries(G))}),S}_triggerWebAnimation(P,S,G){const ge=this._convertKeyframesToObject(S);try{return P.animate(ge,G)}catch{return null}}onStart(P){this._originalOnStartFns.push(P),this._onStartFns.push(P)}onDone(P){this._originalOnDoneFns.push(P),this._onDoneFns.push(P)}onDestroy(P){this._onDestroyFns.push(P)}play(){const P=this._buildPlayer();P&&(this.hasStarted()||(this._onStartFns.forEach(S=>S()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),P.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(P=>P()),this._onDestroyFns=[])}setPosition(P){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=P*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const P=new Map;this.hasStarted()&&this._finalKeyframe.forEach((G,ge)=>{"offset"!==ge&&P.set(ge,this._finished?G:ce(this.element,ge))}),this.currentSnapshot=P}triggerCallback(P){const S="start"===P?this._onStartFns:this._onDoneFns;
1S.forEach(G=>G()),S.length=0}}class U{validateStyleProperty(P){return!0}validateAnimatableStyleProperty(P){return!0}containsElement(P,S){return vs(P,S)}getParentElement(P){return Fs(P)}query(P,S,G){return Gs(P,S,G)}computeStyle(P,S,G){return ce(P,S)}animate(P,S,G,ge,He,Ct=[]){const sn={duration:G,delay:ge,fill:0==ge?"both":"forwards"};He&&(sn.easing=He);const pn=new Map,Ln=Ct.filter(po=>po instanceof Ka);(function W(ue,P){return 0===ue||0===P})(G,ge)&&Ln.forEach(po=>{po.currentSnapshot.forEach((Vi,ao)=>pn.set(ao,Vi))});let zn=function et(ue){return ue.length?ue[0]instanceof Map?ue:ue.map(P=>new Map(Object.entries(P))):[]}(S).map(po=>new Map(po));zn=function ae(ue,P,S){if(S.size&&P.length){let G=P[0],ge=[];if(S.forEach((He,Ct)=>{G.has(Ct)||ge.push(Ct),G.set(Ct,He)}),ge.length)for(let He=1;He<P.length;He++){let Ct=P[He];ge.forEach(Gt=>Ct.set(Gt,ce(ue,Gt)))}}return P}(P,zn,pn);const Ri=function na(ue,P){let S=null,G=null;return Array.isArray(P)&&P.length?(S=ia(P[0]),P.length>1&&(G=ia(P[P.length-1]))):P instanceof Map&&(S=ia(P)),S||G?new Pa(ue,S,G):null}(P,zn);return new Ka(P,zn,sn,Ri)}}const Mn="@.disabled";class $n{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(P,S,G,ge){this.namespaceId=P,this.delegate=S,this.engine=G,this._onDestroy=ge}get data(){return this.delegate.data}destroyNode(P){this.delegate.destroyNode?.(P)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(P,S){return this.delegate.createElement(P,S)}createComment(P){return this.delegate.createComment(P)}createText(P){return this.delegate.createText(P)}appendChild(P,S){this.delegate.appendChild(P,S),this.engine.onInsert(this.namespaceId,S,P,!1)}insertBefore(P,S,G,ge=!0){this.delegate.insertBefore(P,S,G),this.engine.onInsert(this.namespaceId,S,P,ge)}removeChild(P,S,G,ge){ge?this.delegate.removeChild(P,S,G,ge):this.parentNode(S)&&this.engine.onRemove(this.namespaceId,S,this.delegate)}selectRootElement(P,S){return this.delegate.selectRootElement(P,S)}parentNode(P){return this.delegate.parentNode(P)}nextSibling(P){return this.delegate.nextSibling(P)}setAttribute(P,S,G,ge){this.delegate.setAttribute(P,S,G,ge)}removeAttribute(P,S,G){this.delegate.removeAttribute(P,S,G)}addClass(P,S){this.delegate.addClass(P,S)}removeClass(P,S){this.delegate.removeClass(P,S)}setStyle(P,S,G,ge){this.delegate.setStyle(P,S,G,ge)}removeStyle(P,S,G){this.delegate.removeStyle(P,S,G)}setProperty(P,S,G){"@"==S.charAt(0)&&S==Mn?this.disableAnimations(P,!!G):this.delegate.setProperty(P,S,G)}setValue(P,S){this.delegate.setValue(P,S)}listen(P,S,G,ge){return this.delegate.listen(P,S,G,ge)}disableAnimations(P,S){this.engine.disableAnimations(P,S)}}class di extends $n{factory;constructor(P,S,G,ge,He){super(S,G,ge,He),this.factory=P,this.namespaceId=S}setProperty(P,S,G){"@"==S.charAt(0)?"."==S.charAt(1)&&S==Mn?this.disableAnimations(P,G=void 0===G||!!G):this.engine.process(this.namespaceId,P,S.slice(1),G):this.delegate.setProperty(P,S,G)}listen(P,S,G,ge){if("@"==S.charAt(0)){const He=function Ko(ue){switch(ue){case"body":return document.body;case"document":return document;case"window":return window;default:return ue}}(P);let Ct=S.slice(1),Gt="";return"@"!=Ct.charAt(0)&&([Ct,Gt]=function v(ue){const P=ue.indexOf(".");return[ue.substring(0,P),ue.slice(P+1)]}(Ct)),this.engine.listen(this.namespaceId,He,Ct,Gt,sn=>{this.factory.scheduleListenerCallback(sn._data||-1,G,sn)})}return this.delegate.listen(P,S,G,ge)}}class L{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(P,S,G){this.delegate=P,this.engine=S,this._zone=G,S.onRemovalComplete=(ge,He)=>{He?.removeChild(null,ge)}}createRenderer(P,S){const ge=this.delegate.createRenderer(P,S);if(!P||!S?.data?.animation){const pn=this._rendererCache;let Ln=pn.get(ge);return Ln||(Ln=new $n("",ge,this.engine,()=>pn.delete(ge)),pn.set(ge,Ln)),Ln}const He=S.id,Ct=S.id+"-"+this._currentId;this._currentId++,this.engine.register(Ct,P);const Gt=pn=>{Array.isArray(pn)?pn.forEach(Gt):this.engine.registerTrigger(He,Ct,P,pn.name,pn)};return S.data.animation.forEach(Gt),new di(this,Ct,ge,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(P,S,G){if(P>=0&&P<this._microtaskId)return void this._zone.run(()=>S(G));const ge=this._animationCallbacksBuffer;0==ge.length&&queueMicrotask(()=>{this._zone.run(()=>{ge.forEach(He=>{const[Ct,Gt]=He;Ct(Gt)}),this._animationCallbacksBuffer=[]})}),ge.push([S,G])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(P){this.engine.flush(),this.delegate.componentReplaced?.(P)}}const Fn=[{provide:Ui,useFactory:function Jt(){return new lr}},{provide:Qr,useClass:(()=>{class ue extends Qr{constructor(S,G,ge){super(S,G,ge)}ngOnDestroy(){this.flush()}static \u0275fac=function(G){return new(G||ue)(ie.KVO(ie.qQL),ie.KVO(gi),ie.KVO(Ui))};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac})}return ue})()},{provide:tn._9s,useFactory:function gn(){return new L((0,ie.WQX)(Mi),(0,ie.WQX)(Qr),(0,ie.WQX)(ie.SKi))}}],Ci=[{provide:gi,useClass:Gn},{provide:tn.bc$,useValue:"NoopAnimations"},...Fn],rs=[{provide:gi,useFactory:()=>new U},{provide:tn.bc$,useFactory:()=>"BrowserAnimations"},...Fn];var vl=l(50779),Sa=l(43358),ka=l(93049),Cc=l(3065);let bu=(()=>{class ue{static \u0275fac=function(G){return new(G||ue)};static \u0275cmp=tn.VBU({type:ue,selectors:[["no-content"]],decls:6,vars:2,consts:[[1,"text-center"],[1,"mb-4","themeColor",3,"translate"],["routerLink","/people","data-qa","go_to_team",1,"dashed_link",3,"translate"]],template:function(G,ge){1&G&&(tn.j41(0,"standalone-view")(1,"div",0)(2,"h2",1),tn.EFF(3,"404: Page Not Found "),tn.
1k0s(),tn.j41(4,"a",2),tn.EFF(5,"Home"),tn.k0s()()()),2&G&&(tn.R7$(2),tn.Y8G("translate","_i18n.PageMissing"),tn.R7$(2),tn.Y8G("translate","_i18n.Home"))},dependencies:[Cc.m,_i.Mm,ka.Wk],styles:[".themeColor[_ngcontent-%COMP%]{color:var(--text-secondary)}"]})}return ue})();var vu=l(73725),Ip=l(13946),Pp=l(5918),Vd=l(14527);let Mc=(()=>{class ue{AvatarStyle$;constructor(){this.AvatarStyle$=(0,qt.of)(Vd.Z.Circle)}attachAvatarStyleClassToBody(S){document.body.className=document.body.classList.value.split(" ").filter(G=>G&&!G.toLowerCase().startsWith("avatar-style-")).join(" "),document.body.classList.add(`avatar-style-${(S??Vd.Z.Square).toLowerCase()}`)}static \u0275fac=function(G){return new(G||ue)};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();var Yl=l(84412),Sp=l(84572),Dc=l(49769);function Ec(ue,P){1&ue&&(tn.j41(0,"span",1),tn.EFF(1,"Reconnecting"),tn.k0s()),2&ue&&tn.Y8G("translate","_i18n.Reconnecting")}function Gd(ue,P){if(1&ue){const S=tn.RV6();tn.j41(0,"span"),tn.EFF(1),tn.nI1(2,"async"),tn.k0s(),tn.j41(3,"a",2),tn.bIt("click",function(){ie.eBV(S);const ge=tn.XpG();return ie.Njj(ge.retryNow.emit())}),tn.EFF(4),tn.nI1(5,"translate"),tn.k0s()}if(2&ue){const S=tn.XpG();tn.R7$(),tn.JRh(tn.bMT(2,2,S.text$)),tn.R7$(3),tn.JRh(tn.bMT(5,4,"_i18n.TryNow"))}}let Oc=(()=>{class ue{translateService=(0,ie.WQX)(_i.c$);isVisible;reconnectTime;retryNow=(0,xn.CGW)();text$;isVisible$=new Yl.t(!1);reconnectTime$=new Yl.t(0);constructor(){this.text$=(0,Sp.z)([this.isVisible$,this.reconnectTime$]).pipe((0,Mt.n)(([S,G])=>S?(0,je.O)(0,1e3).pipe((0,Mt.n)(ge=>this.translateService.get("_i18n.ReconnectTime",{p1:Math.floor(Math.max(G-Date.now(),0)/1e3)}))):(0,qt.of)("")))}ngOnChanges(S){S.isVisible&&this.isVisible$.next(this.isVisible),S.reconnectTime&&this.reconnectTime$.next(this.reconnectTime)}static \u0275fac=function(G){return new(G||ue)};static \u0275cmp=tn.VBU({type:ue,selectors:[["snackbar"]],inputs:{isVisible:"isVisible",reconnectTime:"reconnectTime"},outputs:{retryNow:"retryNow"},features:[tn.OA$],decls:3,vars:3,consts:[["id","snackbar"],[3,"translate"],[1,"ms-1","dashed_link",3,"click"]],template:function(G,ge){1&G&&(tn.j41(0,"div",0),tn.nVh(1,Ec,2,1,"span",1)(2,Gd,6,6),tn.k0s()),2&G&&(tn.AVh("show",ge.isVisible),tn.R7$(),tn.vxM(0===ge.reconnectTime?1:ge.reconnectTime>0?2:-1))},dependencies:[_i.Mm,_i.D9,Dc.Jj],styles:["#snackbar[_ngcontent-%COMP%]{visibility:hidden;min-width:250px;background-color:var(--bg-primary-hover);color:var(--text-primary);text-align:center;border-radius:2px;padding:16px;position:fixed;z-index:1200;left:0;transform:translate(calc(50vw - 50%));bottom:20px}#snackbar.show[_ngcontent-%COMP%]{visibility:visible;animation:_ngcontent-%COMP%_fadein .5s}@keyframes _ngcontent-%COMP%_fadein{0%{bottom:0;opacity:0}
1to{bottom:30px;opacity:1}}@keyframes _ngcontent-%COMP%_fadeout{0%{bottom:30px;opacity:1}to{bottom:0;opacity:0}}"],changeDetection:0})}return ue})();var al=l(89079),Hd=l(92996),$d=l(68739),Cu=l(99172),Mu=l(17855),Du=l(9852),Kd=l(36897);const Yd=(ue,P)=>({token:ue,impersonatedContact:P}),Eu=(ue,P)=>({number:ue,name:P});function zl(ue,P){if(1&ue){const S=tn.RV6();tn.rj2(0,"div",0)(1,"span"),tn.EFF(2),tn.nI1(3,"lforfl"),tn.nI1(4,"async"),tn.nI1(5,"translate"),tn.eux(),tn.rj2(6,"button",1),tn.VwU("click",function(){ie.eBV(S);const ge=tn.XpG(2);return ie.Njj(ge.impersonate.dropImpersonation())}),tn.EFF(7),tn.nI1(8,"translate"),tn.eux()()}if(2&ue){const S=tn.XpG();tn.R7$(2),tn.JRh(tn.i5U(5,6,"_i18n.ImpersonationBanner",tn.l_i(11,Eu,S.token.userName,tn.bMT(4,4,tn.bMT(3,2,S.impersonatedContact))))),tn.R7$(5),tn.SpI(" ",tn.bMT(8,9,"_i18n.Logout")," ")}}function Ou(ue,P){1&ue&&tn.nVh(0,zl,9,14,"div",0),2&ue&&tn.vxM(P.token&&P.token.originalName&&P.impersonatedContact?0:-1)}let wc=(()=>{class ue{impersonate=(0,ie.WQX)(Kd.P);myPhoneService=(0,ie.WQX)(Xe.gx);tokenInfoService=(0,ie.WQX)(Hd.Z);impersonatedContact$=this.myPhoneService.myPhoneSession.pipe((0,Mu.F4)(),(0,Cu.Z)($d.a3));static \u0275fac=function(G){return new(G||ue)};static \u0275cmp=tn.VBU({type:ue,selectors:[["app-impersonation-banner"]],decls:3,vars:8,consts:[[1,"d-flex","flex-row","gap-2","p-1","justify-content-center","align-items-center"],["type","button",1,"btn","btn-gray","px-1","py-0","h-auto",3,"click"]],template:function(G,ge){if(1&G&&(tn.nVh(0,Ou,1,1),tn.nI1(1,"async"),tn.nI1(2,"async")),2&G){let He;tn.vxM((He=tn.l_i(5,Yd,tn.bMT(1,1,ge.tokenInfoService.myToken$),tn.bMT(2,3,ge.impersonatedContact$)))?0:-1,He)}},dependencies:[Dc.Jj,_i.D9,Du._],styles:["[_nghost-%COMP%]{display:block;background-color:var(--bg-info);color:#000}"],changeDetection:0})}return ue})();const zd=[{path:"login",loadComponent:()=>Promise.all([l.e(4693),l.e(2573),l.e(757),l.e(2076),l.e(1074)]).then(l.bind(l,61074)).then(ue=>ue.WcLoginComponent)},{path:"reset",loadComponent:()=>Promise.all([l.e(4693),l.e(2076),l.e(2794)]).then(l.bind(l,62794)).then(ue=>ue.ResetPasswordComponent)},{path:"forgot",loadComponent:()=>Promise.all([l.e(4693),l.e(757),l.e(2076),l.e(7282)]).then(l.bind(l,67282)).then(ue=>ue.ForgotPasswordComponent)},{path:"support",loadComponent:()=>Promise.all([l.e(2076),l.e(2402)]).then(l.bind(l,52402)).then(ue=>ue.SupportComponent)},{path:"p1/:id",loadComponent:()=>Promise.all([l.e(2573),l.e(2076),l.e(3571)]).then(l.bind(l,63571)).then(ue=>ue.MobileProvisionComponent)},{path:"app/settings/office365",redirectTo:"office/integrations/microsoft365"},{path:"app/settings/google",redirectTo:"office/integrations/google"},{path:"tel",redirectTo:"/"},{path:"error",component:(()=>{class ue{activatedRoute=(0,ie.WQX)(bt.nX);errorCode$;statusText$;constructor(){const S=this.activatedRoute;this.errorCode$=S.queryParamMap.pipe((0,Lt.T)(G=>G.get("code")||"")),this.statusText$=S.queryParamMap.pipe((0,Lt.T)(G=>G.get("desc")||""))}static \u0275fac=function(G){return new(G||ue)};static \u0275cmp=tn.VBU({type:ue,selectors:[["no-content"]],decls:11,vars:8,consts:[[1,"text-center"],[1,"mb-4","themeColor",3,"translate"],["routerLink","/people",1,"dashed_link",3,"translate"]],template:function(G,ge){1&G&&(tn.j41(0,"standalone-view")(1,"div",0)(2,"h2",1)(3,"span"),tn.EFF(4),tn.nI1(5,"async"),tn.k0s(),tn.j41(6,"span"),tn.EFF(7),tn.nI1(8,"async"),tn.k0s()(),tn.j41(9,"a",2),tn.EFF(10,"Home"),tn.k0s()()()),2&G&&(tn.R7$(2),tn.Y8G("translate","_i18n.PageMissing"),tn.R7$(2),tn.JRh(tn.bMT(5,4,ge.errorCode$)),tn.R7$(3),tn.JRh(tn.bMT(8,6,ge.statusText$)),tn.R7$(2),tn.Y8G("translate","_i18n.Home"))},dependencies:[Cc.m,_i.Mm,ka.Wk,Dc.Jj],styles:[".themeColor[_ngcontent-%COMP%]{color:var(--text-secondary)}"]})}return ue})()},{path:"",component:(()=>{class ue{myPhoneService=(0,ie.WQX)(Xe.gx);constructor(){const S=this.myPhoneService,G=(0,ie.WQX)(vu.l),ge=(0,ie.WQX)(he.sj),He=(0,ie.WQX)(bt.Ix),Ct=(0,ie.WQX)(ie.abz),Gt=(0,ie.WQX)(Pp.E),sn=(0,ie.WQX)(Mc);S.connect(),S.myPhoneSession.pipe((0,$.s)(1),(0,al.pQ)(Ct)).subscribe(()=>{G.remove()}),Gt.sessionLanguage$.pipe((0,al.pQ)(Ct)).subscribe(pn=>{ge.store(Vn.Hh.Language,pn)}),(0,Pn.lB)(ge,Vn.Hh.LogoutTimestamp,-1).pipe((0,Ip.J)(),(0,Bt.p)(([,pn])=>pn>0),(0,al.pQ)(Ct)).subscribe(()=>{He.navigate(["/login"])}),sn.AvatarStyle$.pipe((0,al.pQ)(Ct)).subscribe(pn=>{sn.attachAvatarStyleClassToBody(pn)})}ngOnDestroy(){this.myPhoneService.disconnect()}static \u0275fac=function(G){return new(G||ue)};static \u0275cmp=tn.VBU({type:ue,selectors:[["app-authorized-area"]],hostAttrs:[1,"d-flex","flex-column"],decls:4,vars:2,consts:[[1,"flex-child"],[3,"retryNow","reconnectTime","isVisible"]],template:function(G,ge){1&G&&(tn.nrm(0,"app-impersonation-banner"),tn.j41(1,"div",0),tn.nrm(2,"router-outlet"),tn.
1k0s(),tn.j41(3,"snackbar",1),tn.bIt("retryNow",function(){return ge.myPhoneService.retryNow$.next()}),tn.k0s()),2&G&&(tn.R7$(3),tn.Y8G("reconnectTime",ge.myPhoneService.reconnectTime)("isVisible",ge.myPhoneService.isReconnecting))},dependencies:[bt.n3,Oc,wc],encapsulation:2})}return ue})(),children:[{path:"call",loadComponent:()=>Promise.all([l.e(4693),l.e(1692),l.e(4461),l.e(8776),l.e(1473),l.e(242),l.e(9803)]).then(l.bind(l,89803)).then(ue=>ue.StandaloneDialerComponent)},{path:"dialer",loadComponent:()=>Promise.all([l.e(4693),l.e(1692),l.e(4461),l.e(8776),l.e(1473),l.e(242),l.e(9803)]).then(l.bind(l,89803)).then(ue=>ue.StandaloneDialerComponent),data:{title:"_i18n.Dialer"}},{path:"wallboard",data:{fullScreen:!0},loadChildren:()=>Promise.all([l.e(2076),l.e(6813)]).then(l.bind(l,80280)).then(ue=>ue.wallboardRoutes)},{path:"reports",loadChildren:()=>Promise.all([l.e(4693),l.e(9775),l.e(1692),l.e(8776),l.e(3089),l.e(2050),l.e(7466),l.e(5562),l.e(401),l.e(6559),l.e(9682),l.e(9430)]).then(l.bind(l,18307)).then(ue=>ue.reportsRoutes)},{path:"ActiveCalls",data:{fullScreen:!0},loadChildren:()=>Promise.all([l.e(1811),l.e(4693),l.e(9775),l.e(5656),l.e(1692),l.e(4461),l.e(9022),l.e(4421),l.e(3195),l.e(1941),l.e(2076),l.e(1667)]).then(l.bind(l,31327)).then(ue=>ue.activeCallsRoutes)},{path:"queue_calls",data:{fullScreen:!0},loadChildren:()=>Promise.all([l.e(1811),l.e(4693),l.e(9775),l.e(5656),l.e(1692),l.e(4461),l.e(9022),l.e(4421),l.e(3195),l.e(1941),l.e(2076),l.e(4048)]).then(l.bind(l,86484)).then(ue=>ue.allQueueCallsRoutes)},{path:"receptionist",data:{fullScreen:!0},loadChildren:()=>Promise.all([l.e(1811),l.e(4693),l.e(9775),l.e(9765),l.e(5656),l.e(7199),l.e(1692),l.e(4461),l.e(9022),l.e(3775),l.e(4421),l.e(3195),l.e(8776),l.e(1473),l.e(6993),l.e(2839),l.e(2076),l.e(6300)]).then(l.bind(l,42839)).then(ue=>ue.receptionistRoutes)},{path:"",loadChildren:()=>Promise.all([l.e(4693),l.e(1692),l.e(4461),l.e(3195),l.e(8776),l.e(1473),l.e(2573),l.e(242),l.e(6559),l.e(2076),l.e(6940)]).then(l.bind(l,51946)).then(ue=>ue.LAYOUT_ROUTES)}]},{path:"**",component:bu}];var wu=l(28873),Tc=l(25013),Ic=l(38844),Tu=l(38601),Pc=l(6581),Ql=l(345),Ya=l(33726),Iu=l(24659),Pu=l(69296),Cl=l(77498);const Su=l.p+"media/Silent-1164be82.mp3";var Qd=l(53805),Xd=l(12094),ku=l(13499),Jd=l(58664),Za=l(89324);function Ru(ue,P){if(1&ue){const S=tn.RV6();tn.j41(0,"div",0)(1,"div",1),tn.nrm(2,"span",2),tn.j41(3,"button",3),tn.bIt("click",function(){ie.eBV(S);const ge=tn.XpG();return ie.Njj(ge.installApp())}),tn.EFF(4),tn.nI1(5,"translate"),tn.k0s()()()}if(2&ue){const S=tn.XpG();tn.R7$(2),tn.Y8G("translate",S.label),tn.R7$(2),tn.SpI(" ",tn.bMT(5,2,"_i18n.Reload")," ")}}let qd=(()=>{class ue{swUpdate=(0,ie.WQX)(wu.EI);label="_i18n.UpdatePwaIsAvailable";updateNotification$;ngOnInit(){this.updateNotification$=this.swUpdate.isEnabled?this.swUpdate.versionUpdates.pipe((0,Bt.p)(S=>"VERSION_READY"===S.type),(0,Lt.T)(()=>!0),(0,Cu.Z)(!1)):(0,qt.of)(!1)}get showUpdateNotification(){return this.swUpdate.isEnabled}installApp(){this.swUpdate.isEnabled&&this.swUpdate.activateUpdate().catch(()=>!0).then(S=>{S&&window.location.reload()})}static \u0275fac=function(G){return new(G||ue)};static \u0275cmp=tn.VBU({type:ue,selectors:[["app-update-notification-bar"]],decls:2,vars:3,consts:[[1,"updateNotification"],[1,"d-flex","flex-row","gap-2","py-1","justify-content-center","align-items-center"],[3,"translate"],["type","button",1,"btn","btn-primary","px-1","py-0","h-auto",3,"click"]],template:function(G,ge){1&G&&(tn.nVh(0,Ru,6,4,"div",0),tn.nI1(1,"async")),2&G&&tn.vxM(tn.bMT(1,1,ge.updateNotification$)&&ge.showUpdateNotification?0:-1)},dependencies:[_i.Mm,_i.D9,Dc.Jj],styles:[".updateNotification[_ngcontent-%COMP%]{transition:height ease-in-out .1s;height:30px;@starting-style{height:0}}"]})}return ue})();var Sc=l(97144),kc=l(9625);function ef(ue,P){1&ue&&(tn.rj2(0,"div",0)(1,"span"),tn.EFF(2,"Please do not use localhost in dev to avoid DNS related delays. Use 127.0.0.1"),tn.eux()())}l.n(kc)();let tf=(()=>{class ue{insecure;localhostInDev;constructor(){let S=window.location.hostname;S.startsWith("[")&&S.endsWith("]")&&(S=S.substring(1,S.length-1)),this.localhostInDev=!Sc.c.production&&"localhost"===S.toLowerCase()}static \u0275fac=function(G){return new(G||ue)};static \u0275cmp=tn.VBU({type:ue,selectors:[["app-push-status-disclaimer"]],decls:1,vars:1,consts:[[1,"d-flex","flex-row","gap-2","py-1","justify-content-center","align-items-center"]],template:function(G,ge){1&G&&tn.nVh(0,ef,3,0,"div",0),2&G&&tn.vxM(ge.localhostInDev?0:-1)},styles:["[_nghost-%COMP%]{background-color:red;color:#fff;font-weight:700}"],changeDetection:0})}return ue})();var Au=l(18539),Rc=l(24708),Lp=l(72510);let xp=(()=>{class ue{app=(0,ie.WQX)(Ic.t);vld=(0,ie.WQX)(Rc.r2);routerTitle=(0,ie.WQX)(Iu.t);navigationService=(0,ie.WQX)(Xd.s);lang=(0,ie.WQX)(Pc.m);silentModeService=(0,ie.WQX)(Qd.Y);title=(0,ie.WQX)(Ql.hE);themeListenerService=(0,ie.WQX)(Pu.Z);extendedSwPushService=(0,ie.WQX)(Tc.Xd);appsUtilityService=(0,ie.WQX)(Za.G);destroyService=(0,ie.WQX)(ie.abz);ngSelectConfig=(0,ie.WQX)(Lp.Ci);translate=(0,ie.WQX)(_i.c$);name="3CX";url="https://3cx.com";themeSubscription;registerShortcutsSubscription;userPageInteractionSubscription;constructor(){this.vld.displayMode=Rc.q5.ONE;const S=(0,ie.WQX)(tn.c1b),G=(0,ie.WQX)(Tu.B),ge=(0,ie.WQX)(he.sj),He=(0,ie.WQX)(ku.$),Ct=(0,ie.WQX)(Jd.d);Au.P&&(console.log("Disabling CSS animations"),document.body.classList.add("notransition")),ge.retrieve(Vn.Hh.HiddenGroups)||ge.store(Vn.Hh.HiddenGroups,[]),G.applicationViewContainerRef
1=S,"launchQueue"in window&&window.launchQueue.setConsumer(Gt=>{if(Gt.targetURL){const sn=new URL(Gt.targetURL).hash;if(sn.startsWith("#/tel/")){const Ln=sn.split("/")[2].split("=")[1],zn=new URL(decodeURIComponent(Ln)),Ri=decodeURIComponent(zn.pathname);He.setTypedPhone(Ri),Ct.toggleDialer(!0)}}})}ngOnInit(){this.appsUtilityService.listenPwaInstallationEvents(),this.navigationService.startNavigationHistory(),this.routerTitle.title$.pipe((0,Lt.T)(S=>S?`${S} - ${this.name}`:this.name),(0,al.pQ)(this.destroyService)).subscribe(S=>{this.title.setTitle(S)}),this.lang.localStorageLanguage$.subscribe(S=>this.lang.applyLanguage(S)),this.silentModeService.silentMode$.subscribe(S=>this.extendedSwPushService.setSilentMode(S)),this.themeSubscription=this.themeListenerService.applicationTheme$.subscribe(S=>{this.themeListenerService.applyTheme(S)});{const S=(0,Ya.R)(document,"click"),G=(0,Ya.R)(document,"keydown"),ge=(0,Yt.h)(S,G).pipe((0,$.s)(1),(0,Cl.c)(50));this.userPageInteractionSubscription=ge.subscribe(()=>{new Audio(Su).play().catch(()=>{})})}{const S={loadingText:"_i18n.Loading",notFoundText:"_i18n.NoItemsFound"};this.translate.onLangChange.pipe((0,Mt.n)(()=>this.translate.get(Object.values(S))),(0,al.pQ)(this.destroyService)).subscribe(G=>{Object.assign(this.ngSelectConfig,Object.fromEntries(Object.entries(S).map(([ge,He])=>[ge,G[He]])))})}}ngOnDestroy(){this.themeSubscription.unsubscribe(),this.registerShortcutsSubscription?.unsubscribe(),this.userPageInteractionSubscription?.unsubscribe()}static \u0275fac=function(G){return new(G||ue)};static \u0275cmp=tn.VBU({type:ue,selectors:[["app"]],hostAttrs:[1,"d-flex","flex-column","h-100","w-100"],decls:4,vars:0,consts:[[1,"flex-child"]],template:function(G,ge){1&G&&(tn.nrm(0,"app-update-notification-bar")(1,"app-push-status-disclaimer"),tn.j41(2,"div",0),tn.nrm(3,"router-outlet"),tn.k0s())},dependencies:[qd,tf,bt.n3],encapsulation:2})}return ue})();var Ml=l(27468),Xl=l(76115);const nf=l.p+"i18n/admin-a8b08778.json",of=JSON.parse('{"_i18n":{"ConferenceUri":"https://www.3cx.com/user-manual/video-conferencing/","AboutUri":"https://www.3cx.com/","WebclientManualUri":"https://www.3cx.com/user-manual/web-client/","OfficeUri":"https://www.3cx.com/docs/manual/install/","OfficeUsersAdmin":"https://www.3cx.com/docs/manual/","OfficeUsersUri":"https://www.3cx.com/docs/manual/create-extensions/","OfficeGroupsUri":"https://www.3cx.com/docs/manual/create-extensions/","OfficeVoiceAndChatUri":"https://www.3cx.com/docs/manual/","OfficeOfficeHoursUri":"https://www.3cx.com/docs/manual/office-hours/","OfficeCallHandling":"https://www.3cx.com/docs/manual/call-center-queues/","SbcGuideLink":"https://www.3cx.com/docs/3cx-tunnel-session-border-controller/","OfficeSbcEditorUri":"https://www.3cx.com/docs/3cx-tunnel-session-border-controller/","OfficeDectEditorUri":"https://www.3cx.com/docs/manual/ip-phones/","FreeEditionRegistrationRequiredGuideLink":"https://www.3cx.com/docs/free-subscription-registration/","NoSystemOwnerSetGuideLink":"https://www.3cx.com/docs/assign-system-owner/","EventLogsUri":"https://www.3cx.com/docs/event-log/","CallParkingUri":"https://www.3cx.com/blog/docs/call-parking/","CodecsUri":"https://www.3cx.com/sip-phones/codecs/","DialCodesUri":"https://www.3cx.com/docs/pbx-dial-codes/","HotelUri":"https://www.3cx.com/docs/hotel-pbx/","CrmUri":"https://www.3cx.com/docs/crm-integration-guides/","Microsoft365Uri":"https://www.3cx.com/docs/manual/microsoft-365/","AdminManualUri":"https://www.3cx.com/docs/manual","PhonebookEditorUri":"https://www.3cx.com/docs/manual/phonebook/","TrunkEditorUri":"https://www.3cx.com/docs/manual/sip-trunks/","PhonesUri":"https://www.3cx.com/docs/manual/create-extensions/","OutboundRulesUri":"https://www.3cx.com/docs/manual/create-extensions/","BackupAndRestoreUri":"https://www.3cx.com/docs/manual/create-extensions/","EmergencyEditorUri":"https://www.3cx.com/docs/manual/emergency-numbers/","FAXEditorUri":"https://www.3cx.com/docs/manual/fax-server/","OutboundCallRoutingUri":"https://www.3cx.com/docs/manual/outbound-call-routing/","BackupUri":"https://www.3cx.com/docs/manual/backup/","DashboardUri":"https://www.3cx.com/docs/manual/system-management/","AdvancedUri":"https://www.3cx.com/docs/manual/advanced-features/","UsersUri":"https://www.3cx.com/docs/manual/create-extensions/","IPPhonesUri":"https://www.3cx.com/docs/manual/ip-phones/","OfficeHoursUri":"https://www.3cx.com/docs/manual/office-hours/","ReportsUri":"https://www.3cx.com/docs/manual/call-reports/","GoogleUri":"https://www.3cx.com/docs/manual/google-workspace/","AmazonIntegrationUri":"https://www.3cx.com/docs/aws-s3-buckets/","ElasticsearchRemoteSysLogUri":"https://www.3cx.com/docs/custom-syslog-server/","CustomRemoteSysLogUri":"https://www.3cx.com/docs/custom-syslog-server/","SystemUri":"https://www.3cx.com/docs/manual/system/","LiveChatUri":"https://www.3cx.com/docs/manual/live-chat/","CallHandlingUri":"https://www.3cx.com/docs/manual/call-center-queues/","CrmIntegrationUri":"https://www.3cx.com/docs/crm-integration-guides/","DepartmentsUri":"https://www.3cx.com/docs/manual/departments/","CFDUri":"https://www.3cx.com/docs/manual/call-flow-designer/","DigitalReceptionistUri":"https://www.3cx.com/docs/manual/ivr-digital-receptionist/","1CGuideLink":"https://www.3cx.ru/docs/1c-crm-integration/","vTigerGuideLink":"https://www.3cx.com/docs/vtiger-crm-pbx-integration/","amoCrmGuideLink":"https://www.3cx.com/docs/amocrm-pbx-integration/","bitrixGuideLink":"https://www.3cx.com/docs/bitrix24-crm-integration/","connectwiseGuideLink":"https://www.3cx.com/docs/pbx-crm-integration-connectwise/","freshdeskGuideLink":"https://www.3cx.com/docs/freshdesk-crm-integration/","freshworksGuideLink":"https://www.3cx.com/docs/freshwork-crm-integration/","hubSpotGuideLink":"https://www.3cx.com/docs/hubspot-pbx-crm-integration/","salesforceGuideLink":"https://www.3cx.com/docs/salesforce-crm-integration/","zendeskGuideLink":"https://www.3cx.com/docs/zendesk-crm-integration/","zohoGuideLink":"https://www.3cx.com/docs/pbx-crm-integration-zoho/","microsoftDynamicsGuideLink":"https://www.3cx.com/docs/dynamics-crm-integration/","databaseMongoGuideLink":"https://www.3cx.com/docs/mongodb-pbx-integration/","databaseMySqlGuideLink":"https://www.3cx.com/docs/sql-database-pbx-integration/","databaseMsSqlGuideLink":"https://www.3cx.com/docs/sql-database-pbx-integration/","databasePostgreSQLGuideLink":"https://www.3cx.com/docs/sql-database-pbx-integration/","jetpackCrmGuideLink":"https://www.3cx.com/docs/pbx-crm-integration-jetpack/","pipedriveCrmGuideLink":"https://www.3cx.com/docs/pipedrive-pbx-crm-integration/","kommoGuideLink":"https://www.3cx.com/docs/kommocrm-pbx-integration/","TranscriptionUri":"https://www.3cx.com/docs/voicemail-transcription/","Microsoft365TeamsUri":"https://www.3cx.com/docs/microsoft-teams/","HotdeskingUri":"https://www.3cx.com/docs/hot-desking/","OpenAiWhisperGuideLink":"https://www.3cx.com/docs/manual/openai-transcription/","SetupTranscription3CXLocalUri":"https://www.3cx.com/docs/transcription-engine-server/","SetupTranscriptionGrokUri":"https://www.3cx.com/docs/grok-xai-transcription/","VideoConferenceCenterGuidelink":"https://www.3cx.com/docs/video-conference-server/","RemoteStorageUri":"https://www.3cx.com/docs/manual/remote-data-storage/","E911GeolocationGuideLink":"https://www.3cx.com/docs/manual/e911-geolocation/","GoogleBigQueryGuideLink":"https://www.3cx.com/docs/google-bigquery-configuration/","PostgreSqlGuideUri":"https://www.3cx.com/docs/postgresql-configuration/","MySqlGuideUri":"https://www.3cx.com/docs/mysql-configuration/","SqlServerGuideUri":"https://www.3cx.com/docs/microsoft-sql-server-configuration/","Re
1sellerGuideUri":"https://www.3cx.com/ordering/find-reseller/","SetupTranscription3CXUri":"https://www.3cx.com/docs/ai-transcription/","AIGuideUri":"https://www.3cx.com/docs/ai-agent-configuration/","ServicePrincipalGuideUri":"https://www.3cx.com/docs/configuration-rest-api/","PricingUri":"https://www.3cx.com/ordering/pricing/"}}'),sf=l.p+"i18n/apps-f9a56fa9.xml";let Np=(()=>{class ue{http=(0,ie.WQX)(hi.Qq);getTranslation(S){const G=Xl.xl.find(ge=>ge.id===S);return G?(0,Ml.p)([nf,of,sf,...G.data].map(ge=>"string"==typeof ge?this.http.get(ge).pipe((0,lo.W)(()=>(0,qt.of)({_i18n:{}}))):(0,qt.of)(ge))).pipe((0,Lt.T)(ge=>ge.reduce((He,Ct)=>({_i18n:Object.assign(He._i18n,Ct._i18n)}),{_i18n:{}}))):(0,Ti.$)(()=>new Error("Language not found"))}static \u0275fac=function(G){return new(G||ue)};static \u0275prov=ie.jDH({token:ue,factory:ue.\u0275fac})}return ue})();var jp=l(72806),Lu=l(4511),rf=l(94796),lf=l(38357),Ac=l(20681),xu=l(3710);const Dl=navigator;Dl.mediaSession&&Dl.mediaSession.setActionHandler&&(Dl.mediaSession.setActionHandler("play",()=>{}),Dl.mediaSession.setActionHandler("pause",()=>{})),(0,jp.Yl)("bs5"),function zs(){return os.apply(this,arguments)}(xp,{providers:[(0,xn.Jn2)(),(0,ie.oKB)(us.kq.forRoot({animationType:us.rJ.pulse}),vl.Q_.forRoot()),function Nu(ue){return(0,ie.EmA)(["string"==typeof ue?{provide:xu.o,useValue:ue}:{provide:Ac.V,useValue:new Ac.V({...ue})}])}({withCredentials:!1,basePath:""}),function af(ue){return(0,ie.EmA)(["string"==typeof ue?{provide:rf.o,useValue:ue}:{provide:Lu.V,useValue:new Lu.V({...ue})}])}
1({withCredentials:!1,basePath:"/xapi/v1",encodeParam:ue=>(0,lf.tA)(ue)}),(0,Sa.tD)(),(0,wu.Pg)(Tc.fP,{scope:window.location.pathname,enabled:"serviceWorker"in navigator,registrationStrategy:"registerWhenStable:30000"}),[{provide:vn,useFactory:function ai(){if((0,Kn.f)((0,ie.WQX)(he.sj))){const ue=new SharedWorker(l.tu(new URL(l.p+l.u(2981),l.b)),{type:void 0,name:"3cx.myphone.worker"});return window.addEventListener("beforeunload",()=>{ue.port.postMessage(new Ee({type:"disconnect"}))}),ue}}},{provide:at.p,useFactory:function Pi(){return(0,Kn.f)((0,ie.WQX)(he.sj))?new Hn:new at.p}},{provide:ve.w,useFactory:function oi(){return ue=>new WebSocket(ue)}},{provide:Xe.gx,useFactory:function mi(){return(0,Kn.f)((0,ie.WQX)(he.sj))?new rn:new Xe.gx}}],(0,_i.D8)({loader:{provide:_i.Wr,useClass:Np}}),(0,he.S4)((0,he.bM)({separator:".",caseSensitive:!1,prefix:"wc"}),(0,he.ZY)()),{provide:ie.zcH,useClass:Ni},function cf(){return Au.P?function Wd(){return[...Ci]}():function bl(){return(0,tn._jY)("NgEagerAnimations"),[...rs]}()}(),(0,hi.$R)((0,hi.Sx)()),{provide:hi.a7,useClass:cn,multi:!0},(0,ka.lh)(zd,(0,ka.GB)(),(0,ka.lG)())]}).catch(ue=>console.error(ue))},74714(ot){"use strict";ot.exports=function V(l,f){for(var g=new Array(arguments.length-1),h=0,_=2,C=!0;_<arguments.length;)g[h++]=arguments[_++];return new Promise(function(y,d){g[h]=function(A){if(C)if(C=!1,A)d(A);else{for(var D=new Array(arguments.length-1),w=0;w<D.length;)D[w++]=arguments[w];y.apply(null,D)}};try{l.apply(f||null,g)}catch(M){C&&(C=!1,d(M))}})}},87530(ot,V){"use strict";var l=V;l.length=function(o){var y=o.length;if(!y)return 0;for(var d=0;--y%4>1&&"="===o.charAt(y);)++d;return Math.ceil(3*o.length)/4-d};for(var f=new Array(64),g=new Array(123),h=0;h<64;)g[f[h]=h<26?h+65:h<52?h+71:h<62?h-4:h-59|43]=h++;l.encode=function(o,y,d){for(var O,M=null,A=[],D=0,w=0;y<d;){var x=o[y++];switch(w){case 0:A[D++]=f[x>>2],O=(3&x)<<4,w=1;break;case 1:A[D++]=f[O|x>>4],O=(15&x)<<2,w=2;break;case 2:A[D++]=f[O|x>>6],A[D++]=f[63&x],w=0}D>8191&&((M||(M=[])).push(String.fromCharCode.apply(String,A)),D=0)}return w&&(A[D++]=f[O],A[D++]=61,1===w&&(A[D++]=61)),M?(D&&M.push(String.fromCharCode.apply(String,A.slice(0,D))),M.join("")):String.fromCharCode.apply(String,A.slice(0,D))};var _="invalid encoding";l.decode=function(o,y,d){for(var D,M=d,A=0,w=0;w<o.length;
vendor: 4,224 bytes, line 1
1){var O=o.charCodeAt(w++);if(61===O&&A>1)break;if(void 0===(O=g[O]))throw Error(_);switch(A){case 0:D=O,A=1;break;case 1:y[d++]=D<<2|(48&O)>>4,D=O,A=2;break;case 2:y[d++]=(15&D)<<4|(60&O)>>2,D=O,A=3;break;case 3:y[d++]=(3&D)<<6|O,A=0}}if(1===A)throw Error(_);return d-M},l.test=function(o){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(o)}},13911(ot){"use strict";function V(){this._listeners={}}ot.exports=V,V.prototype.on=function(f,g,h){return(this._listeners[f]||(this._listeners[f]=[])).push({fn:g,ctx:h||this}),this},V.prototype.off=function(f,g){if(void 0===f)this._listeners={};else if(void 0===g)this._listeners[f]=[];else for(var h=this._listeners[f],_=0;_<h.length;)h[_].fn===g?h.splice(_,1):++_;return this},V.prototype.emit=function(f){var g=this._listeners[f];if(g){for(var h=[],_=1;_<arguments.length;)h.push(arguments[_++]);for(_=0;_<g.length;)g[_].fn.apply(g[_++].ctx,h)}return this}},61353(ot){"use strict";function V(_){return typeof Float32Array<"u"?function(){var C=new Float32Array([-0]),o=new Uint8Array(C.buffer),y=128===o[3];function d(w,O,x){C[0]=w,O[x]=o[0],O[x+1]=o[1],O[x+2]=o[2],O[x+3]=o[3]}function M(w,O,x){C[0]=w,O[x]=o[3],O[x+1]=o[2],O[x+2]=o[1],O[x+3]=o[0]}function A(w,O){return o[0]=w[O],o[1]=w[O+1],o[2]=w[O+2],o[3]=w[O+3],C[0]}function D(w,O){return o[3]=w[O],o[2]=w[O+1],o[1]=w[O+2],o[0]=w[O+3],C[0]}_.writeFloatLE=y?d:M,_.writeFloatBE=y?M:d,_.readFloatLE=y?A:D,_.readFloatBE=y?D:A}():function(){function C(y,d,M,A){var D=d<0?1:0;if(D&&(d=-d),0===d)y(1/d>0?0:2147483648,M,A);else if(isNaN(d))y(2143289344,M,A);else if(d>34028234663852886e22)y((D<<31|2139095040)>>>0,M,A);else if(d<11754943508222875e-54)y((D<<31|Math.round(d/1401298464324817e-60))>>>0,M,A);else{var w=Math.floor(Math.log(d)/Math.LN2);y((D<<31|w+127<<23|8388607&Math.round(d*Math.pow(2,-w)*8388608))>>>0,M,A)}}function o(y,d,M){var A=y(d,M),D=2*(A>>31)+1,w=A>>>23&255,O=8388607&A;return 255===w?O?NaN:D*(1/0):0===w?1401298464324817e-60*D*O:D*Math.pow(2,w-150)*(O+8388608)}_.writeFloatLE=C.bind(null,l),_.writeFloatBE=C.bind(null,f),_.readFloatLE=o.bind(null,g),_.readFloatBE=o.bind(null,h)}(),typeof Float64Array<"u"?function(){var C=new Float64Array([-0]),o=new Uint8Array(C.buffer),y=128===o[7];function d(w,O,x){C[0]=w,O[x]=o[0],O[x+1]=o[1],O[x+2]=o[2],O[x+3]=o[3],O[x+4]=o[4],O[x+5]=o[5],O[x+6]=o[6],O[x+7]=o[7]}function M(w,O,x){C[0]=w,O[x]=o[7],O[x+1]=o[6],O[x+2]=o[5],O[x+3]=o[4],O[x+4]=o[3],O[x+5]=o[2],O[x+6]=o[1],O[x+7]=o[0]}function A(w,O){return o[0]=w[O],o[1]=w[O+1],o[2]=w[O+2],o[3]=w[O+3],o[4]=w[O+4],o[5]=w[O+5],o[6]=w[O+6],o[7]=w[O+7],C[0]}function D(w,O){return o[7]=w[O],o[6]=w[O+1],o[5]=w[O+2],o[4]=w[O+3],o[3]=w[O+4],o[2]=w[O+5],o[1]=w[O+6],o[0]=w[O+7],C[0]}_.writeDoubleLE=y?d:M,_.writeDoubleBE=y?M:d,_.readDoubleLE=y?A:D,_.readDoubleBE=y?D:A}():function(){function C(y,d,M,A,D,w){var O=A<0?1:0;if(O&&(A=-A),0===A)y(0,D,w+d),y(1/A>0?0:2147483648,D,w+M);else if(isNaN(A))y(0,D,w+d),y(2146959360,D,w+M);else if(A>17976931348623157e292)y(0,D,w+d),y((O<<31|2146435072)>>>0,D,w+M);else{var x;if(A<22250738585072014e-324)y((x=A/5e-324)>>>0,D,w+d),y((O<<31|x/4294967296)>>>0,D,w+M);else{var N=Math.floor(Math.log(A)/Math.LN2);1024===N&&(N=1023),y(4503599627370496*(x=A*Math.pow(2,-N))>>>0,D,w+d),y((O<<31|N+1023<<20|1048576*x&1048575)>>>0,D,w+M)}}}function o(y,d,M,A,D){var w=y(A,D+d),O=y(A,D+M),x=2*(O>>31)+1,N=O>>>20&2047,q=4294967296*(1048575&O)+w;return 2047===N?q?NaN:x*(1/0):0===N?5e-324*x*q:x*Math.pow(2,N-1075)*(q+4503599627370496)}_.writeDoubleLE=C.bind(null,l,0,4),_.writeDoubleBE=C.bind(null,f,4,0),_.readDoubleLE=o.bind(null,g,0,4),_.readDoubleBE=o.bind(null,h,4,0)}(),_}function l(_,C,o){C[o]=255&_,C[o+1]=_>>>8&255,C[o+2]=_>>>16&255,C[o+3]=_>>>24}function f(_,C,o){C[o]=_>>>24,C[o+1]=_>>>16&255,C[o+2]=_>>>8&255,C[o+3]=255&_}function g(_,C){return(_[C]|_[C+1]<<8|_[C+2]<<16|_[C+3]<<24)>>>0}function h(_,C){return(_[C]<<24|_[C+1]<<16|_[C+2]<<8|_[C+3])>>>0}ot.exports=V(V)},11059(ot){"use strict";ot.exports=function V(l,f,g){var h=g||8192,_=h>>>1,C=null,o=h;return function(d){if(d<1||d>_)return l(d);o+d>h&&(C=l(h),o=0);var M=f.call(C,o,o+=d);return 7&o&&(o=1+(7|o)),M}}},60338(ot,V){"use strict";var l=V;l.length=function(h){for(var _=0,C=0,o=0;o<h.length;
1++o)(C=h.charCodeAt(o))<128?_+=1:C<2048?_+=2:55296==(64512&C)&&56320==(64512&h.charCodeAt(o+1))?(++o,_+=4):_+=3;return _},l.read=function(h,_,C){if(C-_<1)return"";for(var o="",y=_;y<C;){var d=h[y++];if(d<=127)o+=String.fromCharCode(d);else if(d>=192&&d<224){var M=(31&d)<<6|63&h[y++];o+=M>=128?String.fromCharCode(M):"\ufffd"}else if(d>=224&&d<240){var A=(15&d)<<12|(63&h[y++])<<6|63&h[y++];o+=A>=2048?String.fromCharCode(A):"\ufffd"}else if(d>=240){var D=(7&d)<<18|(63&h[y++])<<12|(63&h[y++])<<6|63&h[y++];D<65536||D>1114111?o+="\ufffd":(D-=65536,o+=String.fromCharCode(55296+(D>>10)),o+=String.fromCharCode(56320+(1023&D)))}}return o},l.write=function(h,_,C){for(var y,d,o=C,M=0;M<h.length;++M)(y=h.charCodeAt(M))<128?_[C++]=y:y<2048?(_[C++]=y>>6|192,_[C++]=63&y|128):55296==(64512&y)&&56320==(64512&(d=h.charCodeAt(M+1)))?(++M,_[C++]=(y=65536+((1023&y)<<10)+(1023&d))>>18|240,_[C++]=y>>12&63|128,_[C++]=y>>6&63|128,_[C++]=63&y|128):(_[C++]=y>>12|224,_[C++]=y>>6&63|128,_[C++]=63&y|128);return C-o}},53349(ot){ot.exports=function(V){var l={};function f(g){if(l[g])return l[g].exports;var h=l[g]={i:g,l:!1,exports:{}};return V[g].call(h.exports,h,h.exports,f),h.l=!0,h.exports}return f.m=V,f.c=l,f.d=function(g,h,_){f.o(g,h)||Object.defineProperty(g,h,{enumerable:!0,get:_})},f.r=function(g){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(g,"__esModule",{value:!0})},f.t=function(g,h){if(1&h&&(g=f(g)),8&h||4&h&&"object"==typeof g&&g&&g.__esModule)return g;var _=Object.create(null);if(f.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:g}),2&h&&"string"!=typeof g)for(var C in g)f.d(_,C,function(o){return g[o]}.bind(null,C));return _},f.n=function(g){var h=g&&g.__esModule?function(){return g.default}:function(){return g};return f.d(h,"a",h),h},f.o=function(g,h){return Object.prototype.hasOwnProperty.call(g,h)},f.p="",f(f.s=90)}({17:function(V,l,f){"use strict";l.__esModule=!0,l.default=void 0;var g=f(18),h=function(){function _(){}return _.getFirstMatch=function(C,o){var y=o.match(C);return y&&y.length>0&&y[1]||""},_.getSecondMatch=function(C,o){var y=o.match(C);return y&&y.length>1&&y[2]||""},_.matchAndReturnConst=function(C,o,y){if(C.test(o))return y},_.getWindowsVersionName=function(C){switch(C){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},_.getMacOSVersionName=function(C){var o=C.split(".").splice(0,2).map(function(M){return parseInt(M,10)||0});o.push(0);var y=o[0];if(10===y)switch(o[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}switch(y){case 11:return"Big Sur";case 12:return"Monterey";case 13:return"Ventura";case 14:return"Sonoma";case 15:return"Sequoia";default:return}},_.getAndroidVersionName=function(C){var o=C.split(".").splice(0,2).map(function(y){return parseInt(y,10)||0});if(o.push(0),!(1===o[0]&&o[1]<5))return 1===o[0]&&o[1]<6?"Cupcake":1===o[0]&&o[1]>=6?"Donut":2===o[0]&&o[1]<2?"Eclair":2===o[0]&&2===o[1]?"Froyo":2===o[0]&&o[1]>2?"Gingerbread":3===o[0]?"Honeycomb":4===o[0]&&o[1]<1?"Ice Cream Sandwich":4===o[0]&&o[1]<4?"Jelly Bean":4===o[0]&&o[1]>=4?"KitKat":5===o[0]?"Lollipop":6===o[0]?"Marshmallow":7===o[0]?"Nougat":8===o[0]?"Oreo":9===o[0]?"Pie":void 0},_.getVersionPrecision=function(C){return C.split(".").length},_.compareVersions=function(C,o,y){void 0===y&&(y=!1);var d=_.getVersionPrecision(C),M=_.getVersionPrecision(o),A=Math.max(d,M),D=0,w=_.map([C,o],function(O){var x=A-_.getVersionPrecision(O),N=O+new Array(x+1).join(".0");return _.map(N.split("."),function(q){return new Array(20-q.length).join("0")+q}).reverse()});for(y&&(D=A-Math.min(d,M)),A-=1;A>=D;){if(w[0][A]>w[1][A])return 1;if(w[0][A]===w[1][A]){if(A===D)return 0;A-=1}else if(w[0][A]<w[1][A])return-1}},_.map=function(C,o){var y,d=[];if(Array.prototype.map)return Array.prototype.map.call(C,o);for(y=0;y<C.length;y+=1)d.push(o(C[y]));return d},_.find=function(C,o){var y,d;if(Array.prototype.find)return Array.prototype.find.call(C,o);for(y=0,d=C.length;y<d;y+=1){var M=C[y];if(o(M,y))return M}},_.assign=function(C){for(var o,y,d=C,M=arguments.length,A=new Array(M>1?M-1:0),D=1;D<M;D++)A[D-1]=arguments[D];if(Object.assign)return Object.assign.apply(Object,[C].concat(A));var w=function(){var O=A[o];"object"==typeof O&&null!==O&&Object.keys(O).forEach(function(x){d[x]=O[x]})};for(o=0,y=A.length;o<y;o+=1)w();return C},_.getBrowserAlias=function(C){return g.BROWSER_ALIASES_MAP[C]},_.getBrowserTypeByAlias=function(C){return g.BROWSER_MAP[C]||""},_}();l.default=h,V.exports=l.default},18:function(V,l,f){"use strict";
vendor: 9,880 bytes, line 1
1l.__esModule=!0,l.ENGINE_MAP=l.OS_MAP=l.PLATFORMS_MAP=l.BROWSER_MAP=l.BROWSER_ALIASES_MAP=void 0,l.BROWSER_ALIASES_MAP={AmazonBot:"amazonbot","Amazon Silk":"amazon_silk","Android Browser":"android",BaiduSpider:"baiduspider",Bada:"bada",BingCrawler:"bingcrawler",Brave:"brave",BlackBerry:"blackberry","ChatGPT-User":"chatgpt_user",Chrome:"chrome",ClaudeBot:"claudebot",Chromium:"chromium",Diffbot:"diffbot",DuckDuckBot:"duckduckbot",DuckDuckGo:"duckduckgo",Electron:"electron",Epiphany:"epiphany",FacebookExternalHit:"facebookexternalhit",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot",GPTBot:"gptbot","Internet Explorer":"ie",InternetArchiveCrawler:"internetarchivecrawler","K-Meleon":"k_meleon",LibreWolf:"librewolf",Linespider:"linespider",Maxthon:"maxthon","Meta-ExternalAds":"meta_externalads","Meta-ExternalAgent":"meta_externalagent","Meta-ExternalFetcher":"meta_externalfetcher","Meta-WebIndexer":"meta_webindexer","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver","OAI-SearchBot":"oai_searchbot",Omgilibot:"omgilibot",Opera:"opera","Opera Coast":"opera_coast","Pale Moon":"pale_moon",PerplexityBot:"perplexitybot","Perplexity-User":"perplexity_user",PhantomJS:"phantomjs",PingdomBot:"pingdombot",Puffin:"puffin",QQ:"qq",QQLite:"qqlite",QupZilla:"qupzilla",Roku:"roku",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SlackBot:"slackbot",SeaMonkey:"seamonkey",Sleipnir:"sleipnir","Sogou Browser":"sogou",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat",YahooSlurp:"yahooslurp","Yandex Browser":"yandex",YandexBot:"yandexbot",YouBot:"youbot"},l.BROWSER_MAP={amazonbot:"AmazonBot",amazon_silk:"Amazon Silk",android:"Android Browser",baiduspider:"BaiduSpider",bada:"Bada",bingcrawler:"BingCrawler",blackberry:"BlackBerry",brave:"Brave",chatgpt_user:"ChatGPT-User",chrome:"Chrome",claudebot:"ClaudeBot",chromium:"Chromium",diffbot:"Diffbot",duckduckbot:"DuckDuckBot",duckduckgo:"DuckDuckGo",edge:"Microsoft Edge",electron:"Electron",epiphany:"Epiphany",facebookexternalhit:"FacebookExternalHit",firefox:"Firefox",focus:"Focus",generic:"Generic",google_search:"Google Search",googlebot:"Googlebot",gptbot:"GPTBot",ie:"Internet Explorer",internetarchivecrawler:"InternetArchiveCrawler",k_meleon:"K-Meleon",librewolf:"LibreWolf",linespider:"Linespider",maxthon:"Maxthon",meta_externalads:"Meta-ExternalAds",meta_externalagent:"Meta-ExternalAgent",meta_externalfetcher:"Meta-ExternalFetcher",meta_webindexer:"Meta-WebIndexer",mz:"MZ Browser",naver:"NAVER Whale Browser",oai_searchbot:"OAI-SearchBot",omgilibot:"Omgilibot",opera:"Opera",opera_coast:"Opera Coast",pale_moon:"Pale Moon",perplexitybot:"PerplexityBot",perplexity_user:"Perplexity-User",phantomjs:"PhantomJS",pingdombot:"PingdomBot",puffin:"Puffin",qq:"QQ Browser",qqlite:"QQ Browser Lite",qupzilla:"QupZilla",roku:"Roku",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",slackbot:"SlackBot",sleipnir:"Sleipnir",sogou:"Sogou Browser",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yahooslurp:"YahooSlurp",yandex:"Yandex Browser",yandexbot:"YandexBot",youbot:"YouBot"},l.PLATFORMS_MAP={bot:"bot",desktop:"desktop",mobile:"mobile",tablet:"tablet",tv:"tv"},l.OS_MAP={Android:"Android",Bada:"Bada",BlackBerry:"BlackBerry",ChromeOS:"Chrome OS",HarmonyOS:"HarmonyOS",iOS:"iOS",Linux:"Linux",MacOS:"macOS",PlayStation4:"PlayStation 4",Roku:"Roku",Tizen:"Tizen",WebOS:"WebOS",Windows:"Windows",WindowsPhone:"Windows Phone"},l.ENGINE_MAP={Blink:"Blink",EdgeHTML:"EdgeHTML",Gecko:"Gecko",Presto:"Presto",Trident:"Trident",WebKit:"WebKit"}},90:function(V,l,f){"use strict";l.__esModule=!0,l.default=void 0;var g,h=(g=f(91))&&g.__esModule?g:{default:g},_=f(18);function C(y,d){for(var M=0;M<d.length;M++){var A=d[M];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(y,A.key,A)}}var o=function(){function y(){}var d,A;return y.getParser=function(D,w,O){if(void 0===w&&(w=!1),void 0===O&&(O=null),"string"!=typeof D)throw new Error("UserAgent should be a string");return new h.default(D,w,O)},y.parse=function(D,w){return void 0===w&&(w=null),new h.default(D,w).getResult()},d=y,A=[{key:"BROWSER_MAP",get:function(){return _.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return _.ENGINE_MAP}},{key:"OS_MAP",get:function(){return _.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return _.PLATFORMS_MAP}}],null&&C(d.prototype,null),A&&C(d,A),y}();l.default=o,V.exports=l.default},91:function(V,l,f){"use strict";l.__esModule=!0,l.default=void 0;var g=y(f(92)),h=y(f(93)),_=y(f(94)),C=y(f(95)),o=y(f(17));function y(M){return M&&M.__esModule?M:{default:M}}var d=function(){function M(D,w,O){if(void 0===w&&(w=!1),void 0===O&&(O=null),null==D||""===D)throw new Error("UserAgent parameter can't be empty");this._ua=D;var x=!1;"boolean"==typeof w?(x=w,this._hints=O):this._hints=null!=w&&"object"==typeof w?w:null,this.parsedResult={},!0!==x&&this.parse()}var A=M.prototype;return A.getHints=function(){return this._hints},A.hasBrand=function(D){if(!this._hints||!Array.isArray(this._hints.brands))return!1;var w=D.toLowerCase();return this._hints.brands.some(function(O){return O.brand&&O.brand.toLowerCase()===w})},A.getBrandVersion=function(D){if(this._hints&&Array.isArray(this._hints.brands)){var w=D.toLowerCase(),O=this._hints.brands.find(function(x){return x.brand&&x.brand.toLowerCase()===w});return O?O.version:void 0}},A.getUA=function(){return this._ua},A.test=function(D){return D.test(this._ua)},A.parseBrowser=function(){var D=this;this.parsedResult.browser={};var w=o.default.find(g.default,function(O){if("function"==typeof O.test)return O.test(D);if(Array.isArray(O.test))return O.test.some(function(x){return D.test(x)});throw new Error("Browser's test function is not valid")});return w&&(this.parsedResult.browser=w.describe(this.getUA(),this)),this.parsedResult.browser},A.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},A.getBrowserName=function(D){return D?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},A.getBrowserVersion=function(){return this.getBrowser().version},A.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},A.parseOS=function(){var D=this;this.parsedResult.os={};var w=o.default.find(h.default,function(O){if("function"==typeof O.test)return O.test(D);if(Array.isArray(O.test))return O.test.some(function(x){return D.test(x)});throw new Error("Browser's test function is not valid")});return w&&(this.parsedResult.os=w.describe(this.getUA())),this.parsedResult.os},A.getOSName=function(D){var w=this.getOS().name;return D?String(w).toLowerCase()||"":w||""},A.getOSVersion=function(){return this.getOS().version},A.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},A.getPlatformType=function(D){void 0===D&&(D=!1);var w=this.getPlatform().type;return D?String(w).toLowerCase()||"":w||""},A.parsePlatform=function(){var D=this;this.parsedResult.platform={};var w=o.default.find(_.default,function(O){if("function"==typeof O.test)return O.test(D);if(Array.isArray(O.test))return O.test.some(function(x){return D.test(x)});throw new Error("Browser's test function is not valid")});return w&&(this.parsedResult.platform=w.describe(this.getUA())),this.parsedResult.platform},A.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},A.getEngineName=function(D){return D?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},A.parseEngine=function(){var D=this;this.parsedResult.engine={};var w=o.default.find(C.default,function(O){if("function"==typeof O.test)return O.test(D);if(Array.isArray(O.test))return O.test.some(function(x){return D.test(x)});throw new Error("Browser's test function is not valid")});return w&&(this.parsedResult.engine=w.describe(this.getUA())),this.parsedResult.engine},A.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},A.getResult=function(){return o.default.assign({},this.parsedResult)},A.satisfies=function(D){var w=this,O={},x=0,N={},q=0;if(Object.keys(D).forEach(function(de){var Le=D[de];"string"==typeof Le?(N[de]=Le,q+=1):"object"==typeof Le&&(O[de]=Le,x+=1)}),x>0){var K=Object.keys(O),te=o.default.find(K,function(de){return w.isOS(de)});if(te){var H=this.satisfies(O[te]);if(void 0!==H)return H}var ee=o.default.find(K,function(de){return w.isPlatform(de)});if(ee){var F=this.satisfies(O[ee]);if(void 0!==F)return F}}if(q>0){var J=Object.keys(N),ne=o.default.find(J,function(de){return w.isBrowser(de,!0)});if(void 0!==ne)return this.compareVersion(N[ne])}},A.isBrowser=function(D,w){void 0===w&&(w=!1);var O=this.getBrowserName().toLowerCase(),x=D.toLowerCase(),N=o.default.getBrowserTypeByAlias(x);return w&&N&&(x=N.toLowerCase()),x===O},A.compareVersion=function(D){var w=[0],O=D,x=!1,N=this.getBrowserVersion();if("string"==typeof N)return">"===D[0]||"<"===D[0]?(O=D.substr(1),"="===D[1]?(x=!0,O=D.substr(2)):w=[],w.push(">"===D[0]?1:-1)):"="===D[0]?O=D.substr(1):"~"===D[0]&&(x=!0,O=D.substr(1)),w.indexOf(o.default.compareVersions(N,O,x))>-1},A.isOS=function(D){return this.getOSName(!0)===String(D).toLowerCase()},A.isPlatform=function(D){return this.getPlatformType(!0)===String(D).toLowerCase()},A.isEngine=function(D){return this.getEngineName(!0)===String(D).toLowerCase()},A.is=function(D,w){return void 0===w&&(w=!1),this.isBrowser(D,w)||this.isOS(D)||this.isPlatform(D)},A.some=function(D){var w=this;return void 0===D&&(D=[]),D.some(function(O){return w.is(O)})},M}();l.default=d,V.exports=l.default},92:function(V,l,f){"use strict";
vendor: 11,838 bytes, line 1
1l.__esModule=!0,l.default=void 0;var g,h=(g=f(17))&&g.__esModule?g:{default:g},_=/version\/(\d+(\.?_?\d+)+)/i;l.default=[{test:[/gptbot/i],describe:function(o){var y={name:"GPTBot"},d=h.default.getFirstMatch(/gptbot\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/chatgpt-user/i],describe:function(o){var y={name:"ChatGPT-User"},d=h.default.getFirstMatch(/chatgpt-user\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/oai-searchbot/i],describe:function(o){var y={name:"OAI-SearchBot"},d=h.default.getFirstMatch(/oai-searchbot\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(o){var y={name:"ClaudeBot"},d=h.default.getFirstMatch(/(?:claudebot|claude-web|claude-user|claude-searchbot)\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(o){var y={name:"Omgilibot"},d=h.default.getFirstMatch(/(?:omgilibot|webzio-extended)\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/diffbot/i],describe:function(o){var y={name:"Diffbot"},d=h.default.getFirstMatch(/diffbot\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/perplexitybot/i],describe:function(o){var y={name:"PerplexityBot"},d=h.default.getFirstMatch(/perplexitybot\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/perplexity-user/i],describe:function(o){var y={name:"Perplexity-User"},d=h.default.getFirstMatch(/perplexity-user\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/youbot/i],describe:function(o){var y={name:"YouBot"},d=h.default.getFirstMatch(/youbot\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/meta-webindexer/i],describe:function(o){var y={name:"Meta-WebIndexer"},d=h.default.getFirstMatch(/meta-webindexer\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/meta-externalads/i],describe:function(o){var y={name:"Meta-ExternalAds"},d=h.default.getFirstMatch(/meta-externalads\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/meta-externalagent/i],describe:function(o){var y={name:"Meta-ExternalAgent"},d=h.default.getFirstMatch(/meta-externalagent\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/meta-externalfetcher/i],describe:function(o){var y={name:"Meta-ExternalFetcher"},d=h.default.getFirstMatch(/meta-externalfetcher\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/googlebot/i],describe:function(o){var y={name:"Googlebot"},d=h.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/linespider/i],describe:function(o){var y={name:"Linespider"},d=h.default.getFirstMatch(/(?:linespider)(?:-[-\w]+)?[\s/](\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/amazonbot/i],describe:function(o){var y={name:"AmazonBot"},d=h.default.getFirstMatch(/amazonbot\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/bingbot/i],describe:function(o){var y={name:"BingCrawler"},d=h.default.getFirstMatch(/bingbot\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/baiduspider/i],describe:function(o){var y={name:"BaiduSpider"},d=h.default.getFirstMatch(/baiduspider\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/duckduckbot/i],describe:function(o){var y={name:"DuckDuckBot"},d=h.default.getFirstMatch(/duckduckbot\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/ia_archiver/i],describe:function(o){var y={name:"InternetArchiveCrawler"},d=h.default.getFirstMatch(/ia_archiver\/(\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{name:"FacebookExternalHit"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(o){var y={name:"SlackBot"},d=h.default.getFirstMatch(/(?:slackbot|slack-imgproxy)(?:-[-\w]+)?[\s/](\d+(\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/yahoo!?[\s/]*slurp/i],describe:function(){return{name:"YahooSlurp"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{name:"YandexBot"}}},{test:[/pingdom/i],describe:function(){return{name:"PingdomBot"}}},{test:[/opera/i],describe:function(o){var y={name:"Opera"},d=h.default.getFirstMatch(_,o)||h.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/opr\/|opios/i],describe:function(o){var y={name:"Opera"},d=h.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/SamsungBrowser/i],describe:function(o){var y={name:"Samsung Internet for Android"},d=h.default.getFirstMatch(_,o)||h.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/Whale/i],describe:function(o){var y={name:"NAVER Whale Browser"},d=h.default.getFirstMatch(_,o)||h.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/PaleMoon/i],describe:function(o){var y={name:"Pale Moon"},d=h.default.getFirstMatch(_,o)||h.default.getFirstMatch(/(?:PaleMoon)[\s/](\d+(?:\.\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/MZBrowser/i],describe:function(o){var y={name:"MZ Browser"},d=h.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/focus/i],describe:function(o){var y={name:"Focus"},d=h.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/swing/i],describe:function(o){var y={name:"Swing"},d=h.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/coast/i],describe:function(o){var y={name:"Opera Coast"},d=h.default.getFirstMatch(_,o)||h.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(o){var y={name:"Opera Touch"},d=h.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/yabrowser/i],describe:function(o){var y={name:"Yandex Browser"},d=h.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/ucbrowser/i],describe:function(o){var y={name:"UC Browser"},d=h.default.getFirstMatch(_,o)||h.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/Maxthon|mxios/i],describe:function(o){var y={name:"Maxthon"},d=h.default.getFirstMatch(_,o)||h.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/epiphany/i],describe:function(o){var y={name:"Epiphany"},d=h.default.getFirstMatch(_,o)||h.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/puffin/i],describe:function(o){var y={name:"Puffin"},d=h.default.getFirstMatch(_,o)||h.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/sleipnir/i],describe:function(o){var y={name:"Sleipnir"},d=h.default.getFirstMatch(_,o)||h.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/k-meleon/i],describe:function(o){var y={name:"K-Meleon"},d=h.default.getFirstMatch(_,o)||h.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/micromessenger/i],describe:function(o){var y={name:"WeChat"},d=h.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/qqbrowser/i],describe:function(o){var y={name:/qqbrowserlite/i.test(o)?"QQ Browser Lite":"QQ Browser"},d=h.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/msie|trident/i],describe:function(o){var y={name:"Internet Explorer"},d=h.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/\sedg\//i],describe:function(o){var y={name:"Microsoft Edge"},d=h.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/edg([ea]|ios)/i],describe:function(o){var y={name:"Microsoft Edge"},d=h.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/vivaldi/i],describe:function(o){var y={name:"Vivaldi"},d=h.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/seamonkey/i],describe:function(o){var y={name:"SeaMonkey"},d=h.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/sailfish/i],describe:function(o){var y={name:"Sailfish"},d=h.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,o);return d&&(y.version=d),y}},{test:[/silk/i],describe:function(o){var y={name:"Amazon Silk"},d=h.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/phantom/i],describe:function(o){var y={name:"PhantomJS"},d=h.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/slimerjs/i],describe:function(o){var y={name:"SlimerJS"},d=h.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(o){var y={name:"BlackBerry"},d=h.default.getFirstMatch(_,o)||h.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/(web|hpw)[o0]s/i],describe:function(o){var y={name:"WebOS Browser"},d=h.default.getFirstMatch(_,o)||h.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/bada/i],describe:function(o){var y={name:"Bada"},d=h.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/tizen/i],describe:function(o){var y={name:"Tizen"},d=h.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/qupzilla/i],describe:function(o){var y={name:"QupZilla"},d=h.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/librewolf/i],describe:function(o){var y={name:"LibreWolf"},d=h.default.getFirstMatch(/(?:librewolf)[\s/](\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/firefox|iceweasel|fxios/i],describe:function(o){var y={name:"Firefox"},d=h.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/electron/i],describe:function(o){var y={name:"Electron"},d=h.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/sogoumobilebrowser/i,/metasr/i,/se 2\.[x]/i],describe:function(o){var y={name:"Sogou Browser"},d=h.default.getFirstMatch(/(?:sogoumobilebrowser)[\s/](\d+(\.?_?\d+)+)/i,o),M=h.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,o),A=h.default.getFirstMatch(/se ([\d.]+)x/i,o),D=d||M||A;return D&&(y.version=D),y}},{test:[/MiuiBrowser/i],describe:function(o){var y={name:"Miui"},d=h.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:function(o){return!!o.hasBrand("DuckDuckGo")||o.test(/\sDdg\/[\d.]+$/i)},describe:function(o,y){var d={name:"DuckDuckGo"};if(y){var M=y.getBrandVersion("DuckDuckGo");
vendor: 9,586 bytes, line 1
1if(M)return d.version=M,d}var A=h.default.getFirstMatch(/\sDdg\/([\d.]+)$/i,o);return A&&(d.version=A),d}},{test:function(o){return o.hasBrand("Brave")},describe:function(o,y){var d={name:"Brave"};if(y){var M=y.getBrandVersion("Brave");if(M)return d.version=M,d}return d}},{test:[/chromium/i],describe:function(o){var y={name:"Chromium"},d=h.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,o)||h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/chrome|crios|crmo/i],describe:function(o){var y={name:"Chrome"},d=h.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/GSA/i],describe:function(o){var y={name:"Google Search"},d=h.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:function(o){var y=!o.test(/like android/i),d=o.test(/android/i);return y&&d},describe:function(o){var y={name:"Android Browser"},d=h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/playstation 4/i],describe:function(o){var y={name:"PlayStation 4"},d=h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/safari|applewebkit/i],describe:function(o){var y={name:"Safari"},d=h.default.getFirstMatch(_,o);return d&&(y.version=d),y}},{test:[/.*/i],describe:function(o){var y=-1!==o.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:h.default.getFirstMatch(y,o),version:h.default.getSecondMatch(y,o)}}}],V.exports=l.default},93:function(V,l,f){"use strict";l.__esModule=!0,l.default=void 0;var g,h=(g=f(17))&&g.__esModule?g:{default:g},_=f(18);l.default=[{test:[/Roku\/DVP/],describe:function(o){var y=h.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,o);return{name:_.OS_MAP.Roku,version:y}}},{test:[/windows phone/i],describe:function(o){var y=h.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,o);return{name:_.OS_MAP.WindowsPhone,version:y}}},{test:[/windows /i],describe:function(o){var y=h.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,o),d=h.default.getWindowsVersionName(y);return{name:_.OS_MAP.Windows,version:y,versionName:d}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(o){var y={name:_.OS_MAP.iOS},d=h.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,o);return d&&(y.version=d),y}},{test:[/macintosh/i],describe:function(o){var y=h.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,o).replace(/[_\s]/g,"."),d=h.default.getMacOSVersionName(y),M={name:_.OS_MAP.MacOS,version:y};return d&&(M.versionName=d),M}},{test:[/(ipod|iphone|ipad)/i],describe:function(o){var y=h.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,o).replace(/[_\s]/g,".");return{name:_.OS_MAP.iOS,version:y}}},{test:[/OpenHarmony/i],describe:function(o){var y=h.default.getFirstMatch(/OpenHarmony\s+(\d+(\.\d+)*)/i,o);return{name:_.OS_MAP.HarmonyOS,version:y}}},{test:function(o){var y=!o.test(/like android/i),d=o.test(/android/i);return y&&d},describe:function(o){var y=h.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,o),d=h.default.getAndroidVersionName(y),M={name:_.OS_MAP.Android,version:y};return d&&(M.versionName=d),M}},{test:[/(web|hpw)[o0]s/i],describe:function(o){var y=h.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,o),d={name:_.OS_MAP.WebOS};return y&&y.length&&(d.version=y),d}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(o){var y=h.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,o)||h.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,o)||h.default.getFirstMatch(/\bbb(\d+)/i,o);return{name:_.OS_MAP.BlackBerry,version:y}}},{test:[/bada/i],describe:function(o){var y=h.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,o);return{name:_.OS_MAP.Bada,version:y}}},{test:[/tizen/i],describe:function(o){var y=h.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,o);return{name:_.OS_MAP.Tizen,version:y}}},{test:[/linux/i],describe:function(){return{name:_.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:_.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(o){var y=h.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,o);return{name:_.OS_MAP.PlayStation4,version:y}}}],V.exports=l.default},94:function(V,l,f){"use strict";l.__esModule=!0,l.default=void 0;var g,h=(g=f(17))&&g.__esModule?g:{default:g},_=f(18);l.default=[{test:[/googlebot/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Google"}}},{test:[/linespider/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Line"}}},{test:[/amazonbot/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Amazon"}}},{test:[/gptbot/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"OpenAI"}}},{test:[/chatgpt-user/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"OpenAI"}}},{test:[/oai-searchbot/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"OpenAI"}}},{test:[/baiduspider/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Baidu"}}},{test:[/bingbot/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Bing"}}},{test:[/duckduckbot/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"DuckDuckGo"}}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Anthropic"}}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Webz.io"}}},{test:[/diffbot/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Diffbot"}}},{test:[/perplexitybot/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Perplexity AI"}}},{test:[/perplexity-user/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Perplexity AI"}}},{test:[/youbot/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"You.com"}}},{test:[/ia_archiver/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Internet Archive"}}},{test:[/meta-webindexer/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/meta-externalads/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/meta-externalagent/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/meta-externalfetcher/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Slack"}}},{test:[/yahoo/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Yahoo"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Yandex"}}},{test:[/pingdom/i],describe:function(){return{type:_.PLATFORMS_MAP.bot,vendor:"Pingdom"}}},{test:[/huawei/i],describe:function(o){var y=h.default.getFirstMatch(/(can-l01)/i,o)&&"Nova",d={type:_.PLATFORMS_MAP.mobile,vendor:"Huawei"};return y&&(d.model=y),d}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:_.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:_.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:_.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:_.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:_.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:_.PLATFORMS_MAP.tablet}}},{test:function(o){var y=o.test(/ipod|iphone/i),d=o.test(/like (ipod|iphone)/i);return y&&!d},describe:function(o){var y=h.default.getFirstMatch(/(ipod|iphone)/i,o);return{type:_.PLATFORMS_MAP.mobile,vendor:"Apple",model:y}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:_.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/Nokia/i],describe:function(o){var y=h.default.getFirstMatch(/Nokia\s+([0-9]+(\.[0-9]+)?)/i,o),d={type:_.PLATFORMS_MAP.mobile,vendor:"Nokia"};return y&&(d.model=y),d}},{test:[/[^-]mobi/i],describe:function(){return{type:_.PLATFORMS_MAP.mobile}}},{test:function(o){return"blackberry"===o.getBrowserName(!0)},describe:function(){return{type:_.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(o){return"bada"===o.getBrowserName(!0)},describe:function(){return{type:_.PLATFORMS_MAP.mobile}}},{test:function(o){return"windows phone"===o.getBrowserName()},describe:function(){return{type:_.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(o){var y=Number(String(o.getOSVersion()).split(".")[0]);return"android"===o.getOSName(!0)&&y>=3},describe:function(){return{type:_.PLATFORMS_MAP.tablet}}},{test:function(o){return"android"===o.getOSName(!0)},describe:function(){return{type:_.PLATFORMS_MAP.mobile}}},{test:[/smart-?tv|smarttv/i],describe:function(){return{type:_.PLATFORMS_MAP.tv}}},{test:[/netcast/i],describe:function(){return{type:_.PLATFORMS_MAP.tv}}},{test:function(o){return"macos"===o.getOSName(!0)},describe:function(){return{type:_.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(o){return"windows"===o.getOSName(!0)},describe:function(){return{type:_.PLATFORMS_MAP.desktop}}},{test:function(o){return"linux"===o.getOSName(!0)},describe:function(){return{type:_.PLATFORMS_MAP.desktop}}},{test:function(o){return"playstation 4"===o.getOSName(!0)},describe:function(){return{type:_.PLATFORMS_MAP.tv}}},{test:function(o){return"roku"===o.getOSName(!0)},describe:function(){return{type:_.PLATFORMS_MAP.tv}}}],V.exports=l.default},95:function(V,l,f){"use strict";
1l.__esModule=!0,l.default=void 0;var g,h=(g=f(17))&&g.__esModule?g:{default:g},_=f(18);l.default=[{test:function(o){return"microsoft edge"===o.getBrowserName(!0)},describe:function(o){if(/\sedg\//i.test(o))return{name:_.ENGINE_MAP.Blink};var y=h.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,o);return{name:_.ENGINE_MAP.EdgeHTML,version:y}}},{test:[/trident/i],describe:function(o){var y={name:_.ENGINE_MAP.Trident},d=h.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:function(o){return o.test(/presto/i)},describe:function(o){var y={name:_.ENGINE_MAP.Presto},d=h.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:function(o){var y=o.test(/gecko/i),d=o.test(/like gecko/i);return y&&!d},describe:function(o){var y={name:_.ENGINE_MAP.Gecko},d=h.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:_.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(o){var y={name:_.ENGINE_MAP.WebKit},d=h.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,o);return d&&(y.version=d),y}}],V.exports=l.default}})},67374(ot){ot.exports=function(){"use strict";var l=6e4,f=36e5,g="millisecond",h="second",_="minute",C="hour",o="day",y="week",d="month",M="quarter",A="year",D="date",w="Invalid Date",O=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,x=/\[([^\]]+)]|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,N={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(Oe){var xe=["th","st","nd","rd"],Ce=Oe%100;return"["+Oe+(xe[(Ce-20)%10]||xe[Ce]||xe[0])+"]"}},q=function(Oe,xe,Ce){var Te=String(Oe);return!Te||Te.length>=xe?Oe:""+Array(xe+1-Te.length).join(Ce)+Oe},K={s:q,z:function(Oe){var xe=-Oe.utcOffset(),Ce=Math.abs(xe),Te=Math.floor(Ce/60),Fe=Ce%60;return(xe<=0?"+":"-")+q(Te,2,"0")+":"+q(Fe,2,"0")},m:function Oe(xe,Ce){if(xe.date()<Ce.date())return-Oe(Ce,xe);var Te=12*(Ce.year()-xe.year())+(Ce.month()-xe.month()),Fe=xe.clone().add(Te,d),Ke=Ce-Fe<0,Qe=xe.clone().add(Te+(Ke?-1:1),d);return+(-(Te+(Ce-Fe)/(Ke?Fe-Qe:Qe-Fe))||0)},a:function(Oe){return Oe<0?Math.ceil(Oe)||0:Math.floor(Oe)},p:function(Oe){return{M:d,y:A,w:y,d:o,D,h:C,m:_,s:h,ms:g,Q:M}[Oe]||String(Oe||"").toLowerCase().replace(/s$/,"")},u:function(Oe){return void 0===Oe}},te="en",H={};H[te]=N;var ee="$isDayjsObject",F=function(Oe){return Oe instanceof Le||!(!Oe||!Oe[ee])},J=function Oe(xe,Ce,Te){var Fe;if(!xe)return te;if("string"==typeof xe){var Ke=xe.toLowerCase();H[Ke]&&(Fe=Ke),Ce&&(H[Ke]=Ce,Fe=Ke);var Qe=xe.split("-");if(!Fe&&Qe.length>1)return Oe(Qe[0])}else{var kt=xe.name;H[kt]=xe,Fe=kt}return!Te&&Fe&&(te=Fe),Fe||!Te&&te},ne=function(Oe,xe){if(F(Oe))return Oe.clone();var Ce="object"==typeof xe?xe:{};return Ce.date=Oe,Ce.args=arguments,new Le(Ce)},de=K;de.l=J,de.i=F,de.w=function(Oe,xe){return ne(Oe,{locale:xe.$L,utc:xe.$u,x:xe.$x,$offset:xe.$offset})};var Le=function(){function Oe(Ce){this.$L=J(Ce.locale,null,!0),this.parse(Ce),this.$x=this.$x||Ce.x||{},this[ee]=!0}var xe=Oe.prototype;return xe.parse=function(Ce){this.$d=function(Te){var Fe=Te.date,Ke=Te.utc;if(null===Fe)return new Date(NaN);if(de.u(Fe))return new Date;if(Fe instanceof Date)return new Date(Fe);if("string"==typeof Fe&&!/Z$/i.test(Fe)){var Qe=Fe.match(O);if(Qe){var kt=Qe[2]-1||0,ct=(Qe[7]||"0").substring(0,3);return Ke?new Date(Date.UTC(Qe[1],kt,Qe[3]||1,Qe[4]||0,Qe[5]||0,Qe[6]||0,ct)):new Date(Qe[1],kt,Qe[3]||1,Qe[4]||0,Qe[5]||0,Qe[6]||0,ct)}}return new Date(Fe)}(Ce),this.init()},xe.init=function(){var Ce=this.$d;this.$y=Ce.getFullYear(),this.$M=Ce.getMonth(),this.$D=Ce.getDate(),this.$W=Ce.getDay(),this.$H=Ce.getHours(),this.$m=Ce.getMinutes(),this.$s=Ce.getSeconds(),this.$ms=Ce.getMilliseconds()},xe.$utils=function(){return de},xe.isValid=function(){return this.$d.toString()!==w},xe.isSame=function(Ce,Te){var Fe=ne(Ce);return this.startOf(Te)<=Fe&&Fe<=this.endOf(Te)},xe.isAfter=function(Ce,Te){return ne(Ce)<this.startOf(Te)},xe.isBefore=function(Ce,Te){return this.endOf(Te)<ne(Ce)},xe.$g=function(Ce,Te,Fe){return de.u(Ce)?this[Te]:this.set(Fe,Ce)},xe.unix=function(){return Math.floor(this.valueOf()/1e3)},xe.valueOf=function(){return this.$d.getTime()},xe.startOf=function(Ce,Te){var Fe=this,Ke=!!de.u(Te)||Te,Qe=de.p(Ce),kt=function(he,Pe){var Ve=de.w(Fe.$u?Date.UTC(Fe.$y,Pe,he):new Date(Fe.$y,Pe,he),Fe);return Ke?Ve:Ve.endOf(o)},ct=function(he,Pe){return de.w(Fe.toDate()[he].apply(Fe.toDate("s"),(Ke?[0,0,0,0]:[23,59,59,999]).slice(Pe)),Fe)},Pt=this.$W,Ze=this.$M,fe=this.$D,ie="set"+(this.$u?"UTC":"");switch(Qe){case A:return Ke?kt(1,0):kt(31,11);case d:return Ke?kt(1,Ze):kt(0,Ze+1);case y:var Xe=this.$locale().weekStart||0,ve=(Pt<Xe?Pt+7:Pt)-Xe;return kt(Ke?fe-ve:fe+(6-ve),Ze);case o:case D:return ct(ie+"Hours",0);case C:return ct(ie+"Minutes",1);case _:return ct(ie+"Seconds",2);case h:return ct(ie+"Milliseconds",3);default:return this.clone()}},xe.endOf=function(Ce){return this.startOf(Ce,!1)},xe.$set=function(Ce,Te){var Fe,Ke=de.p(Ce),Qe="set"+(this.$u?"UTC":""),kt=(Fe={},Fe[o]=Qe+"Date",Fe[D]=Qe+"Date",Fe[d]=Qe+"Month",Fe[A]=Qe+"FullYear",Fe[C]=Qe+"Hours",Fe[_]=Qe+"Minutes",Fe[h]=Qe+"Seconds",Fe[g]=Qe+"Milliseconds",Fe)[Ke],ct=Ke===o?this.$D+(Te-this.$W):Te;if(Ke===d||Ke===A){var Pt=this.clone().set(D,1);Pt.$d[kt](ct),Pt.init(),this.$d=Pt.set(D,Math.min(this.$D,Pt.daysInMonth())).$d}else kt&&this.$d[kt](ct);return this.init(),this},xe.set=function(Ce,Te){return this.clone().$set(Ce,Te)},xe.get=function(Ce){return this[de.p(Ce)]()},xe.add=function(Ce,Te){var Fe,Ke=this;Ce=Number(Ce);var Qe=de.p(Te),kt=function(Ze){var fe=ne(Ke);return de.w(fe.date(fe.date()+Math.round(Ze*Ce)),Ke)};if(Qe===d)return this.set(d,this.$M+Ce);if(Qe===A)return this.set(A,this.$y+Ce);if(Qe===o)return kt(1);if(Qe===y)return kt(7);var ct=(Fe={},Fe[_]=l,Fe[C]=f,Fe[h]=1e3,Fe)[Qe]||1,Pt=this.$d.getTime()+Ce*ct;return de.w(Pt,this)},xe.subtract=function(Ce,Te){return this.add(-1*Ce,Te)},xe.format=function(Ce){var Te=this,Fe=this.$locale();if(!this.isValid())return Fe.invalidDate||w;
1var Ke=Ce||"YYYY-MM-DDTHH:mm:ssZ",Qe=de.z(this),kt=this.$H,ct=this.$m,Pt=this.$M,Ze=Fe.weekdays,fe=Fe.months,Xe=function(Pe,Ve,dt,Dt){return Pe&&(Pe[Ve]||Pe(Te,Ke))||dt[Ve].slice(0,Dt)},ve=function(Pe){return de.s(kt%12||12,Pe,"0")},he=Fe.meridiem||function(Pe,Ve,dt){var Dt=Pe<12?"AM":"PM";return dt?Dt.toLowerCase():Dt};return Ke.replace(x,function(Pe,Ve){return Ve||function(dt){switch(dt){case"YY":return String(Te.$y).slice(-2);case"YYYY":return de.s(Te.$y,4,"0");case"M":return Pt+1;case"MM":return de.s(Pt+1,2,"0");case"MMM":return Xe(Fe.monthsShort,Pt,fe,3);case"MMMM":return Xe(fe,Pt);case"D":return Te.$D;case"DD":return de.s(Te.$D,2,"0");case"d":return String(Te.$W);case"dd":return Xe(Fe.weekdaysMin,Te.$W,Ze,2);case"ddd":return Xe(Fe.weekdaysShort,Te.$W,Ze,3);case"dddd":return Ze[Te.$W];case"H":return String(kt);case"HH":return de.s(kt,2,"0");case"h":return ve(1);case"hh":return ve(2);case"a":return he(kt,ct,!0);case"A":return he(kt,ct,!1);case"m":return String(ct);case"mm":return de.s(ct,2,"0");case"s":return String(Te.$s);case"ss":return de.s(Te.$s,2,"0");case"SSS":return de.s(Te.$ms,3,"0");case"Z":return Qe}return null}(Pe)||Qe.replace(":","")})},xe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},xe.diff=function(Ce,Te,Fe){var Ke,Qe=this,kt=de.p(Te),ct=ne(Ce),Pt=(ct.utcOffset()-this.utcOffset())*l,Ze=this-ct,fe=function(){return de.m(Qe,ct)};switch(kt){case A:Ke=fe()/12;break;case d:Ke=fe();break;case M:Ke=fe()/3;break;case y:Ke=(Ze-Pt)/6048e5;break;case o:Ke=(Ze-Pt)/864e5;break;case C:Ke=Ze/f;break;case _:Ke=Ze/l;break;case h:Ke=Ze/1e3;break;default:Ke=Ze}return Fe?Ke:de.a(Ke)},xe.daysInMonth=function(){return this.endOf(d).$D},xe.$locale=function(){return H[this.$L]},xe.locale=function(Ce,Te){if(!Ce)return this.$L;var Fe=this.clone(),Ke=J(Ce,Te,!0);return Ke&&(Fe.$L=Ke),Fe},xe.clone=function(){return de.w(this.$d,this)},xe.toDate=function(){return new Date(this.valueOf())},xe.toJSON=function(){return this.isValid()?this.toISOString():null},xe.toISOString=function(){return this.$d.toISOString()},xe.toString=function(){return this.$d.toUTCString()},Oe}(),ut=Le.prototype;return ne.prototype=ut,[["$ms",g],["$s",h],["$m",_],["$H",C],["$W",o],["$M",d],["$y",A],["$D",D]].forEach(function(Oe){ut[Oe[1]]=function(xe){return this.$g(xe,Oe[0],Oe[1])}}),ne.extend=function(Oe,xe){return Oe.$i||(Oe(xe,Le,ne),Oe.$i=!0),ne},ne.locale=J,ne.isDayjs=F,ne.unix=function(Oe){return ne(1e3*Oe)},ne.en=H[te],ne.Ls=H,ne.p={},ne}()},50356(ot,V,l){ot.exports=function(f){"use strict";var h=function g(y){return y&&"object"==typeof y&&"default"in y?y:{default:y}}(f);function _(y){return y>1&&y<5&&1!=~~(y/10)}function C(y,d,M,A){var D=y+" ";switch(M){case"s":return d||A?"p\xe1r sekund":"p\xe1r sekundami";case"m":return d?"minuta":A?"minutu":"minutou";case"mm":return d||A?D+(_(y)?"minuty":"minut"):D+"minutami";case"h":return d?"hodina":A?"hodinu":"hodinou";case"hh":return d||A?D+(_(y)?"hodiny":"hodin"):D+"hodinami";case"d":return d||A?"den":"dnem";case"dd":return d||A?D+(_(y)?"dny":"dn\xed"):D+"dny";case"M":return d||A?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return d||A?D+(_(y)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):D+"m\u011bs\xedci";case"y":return d||A?"rok":"rokem";case"yy":return d||A?D+(_(y)?"roky":"let"):D+"lety"}}var o={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(y){return y+"."},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:C,m:C,mm:C,h:C,hh:C,d:C,dd:C,M:C,MM:C,y:C,yy:C}};return h.default.locale(o,null,!0),o}(l(67374))},51409(ot,V,l){ot.exports=function(f){"use strict";var h=function g(y){return y&&"object"==typeof y&&"default"in y?y:{default:y}}(f),_={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 C(y,d,M){var A=_[M];return Array.isArray(A)&&(A=A[d?0:1]),A.replace("%d",y)}var o={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(y){return y+"."},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:C,m:C,mm:C,h:C,hh:C,d:C,dd:C,M:C,MM:C,y:C,yy:C}};return h.default.locale(o,null,!0),o}(l(67374))}
vendor: 14,268 bytes, line 1
1,51583(ot,V,l){ot.exports=function(f){"use strict";var h=function g(C){return C&&"object"==typeof C&&"default"in C?C:{default:C}}(f),_={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(C){var o=["th","st","nd","rd"],y=C%100;return"["+C+(o[(y-20)%10]||o[y]||o[0])+"]"}};return h.default.locale(_,null,!0),_}(l(67374))},72494(ot,V,l){ot.exports=function(f){"use strict";var h=function g(C){return C&&"object"==typeof C&&"default"in C?C:{default:C}}(f),_={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(C){return C+"\xba"}};return h.default.locale(_,null,!0),_}(l(67374))},34230(ot,V,l){ot.exports=function(f){"use strict";var h=function g(C){return C&&"object"==typeof C&&"default"in C?C:{default:C}}(f),_={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(C){return C+(1===C?"er":"")}};return h.default.locale(_,null,!0),_}(l(67374))},59531(ot,V,l){ot.exports=function(f){"use strict";var h=function g(C){return C&&"object"==typeof C&&"default"in C?C:{default:C}}(f),_={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(C){return C+"\xba"}};return h.default.locale(_,null,!0),_}(l(67374))},74128(ot,V,l){ot.exports=function(f){"use strict";var h=function g(C){return C&&"object"==typeof C&&"default"in C?C:{default:C}}(f),_={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(C){return"["+C+(1===C||8===C||C>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return h.default.locale(_,null,!0),_}(l(67374))},3518(ot,V,l){ot.exports=function(f){"use strict";var h=function g(D){return D&&"object"==typeof D&&"default"in D?D:{default:D}}(f);function _(D){return D%10<5&&D%10>1&&~~(D/10)%10!=1}function C(D,w,O){var x=D+" ";switch(O){case"m":return w?"minuta":"minut\u0119";case"mm":return x+(_(D)?"minuty":"minut");case"h":return w?"godzina":"godzin\u0119";case"hh":return x+(_(D)?"godziny":"godzin");case"MM":return x+(_(D)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return x+(_(D)?"lata":"lat")}}var o="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),y="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),d=/D MMMM/,M=function(D,w){return d.test(w)?o[D.month()]:y[D.month()]};M.s=y,M.f=o;var A={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:M,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),ordinal:function(D){return D+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:C,mm:C,h:C,hh:C,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:C,y:"rok",yy:C},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 h.default.locale(A,null,!0),A}(l(67374))},7803(ot,V,l){ot.exports=function(f){"use strict";var h=function g(C){return C&&"object"==typeof C&&"default"in C?C:{default:C}}(f),_={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(C){return C+"\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:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}};return h.default.locale(_,null,!0),_}(l(67374))},30587(ot,V,l){ot.exports=function(f){"use strict";var h=function g(O){return O&&"object"==typeof O&&"default"in O?O:{default:O}}(f),_="\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("_"),C="\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("_"),o="\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("_"),y="\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("_"),d=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function M(O,x,N){var q,K;return"m"===N?x?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":O+" "+(q=+O,K={mm:x?"\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"}[N].split("_"),q%10==1&&q%100!=11?K[0]:q%10>=2&&q%10<=4&&(q%100<10||q%100>=20)?K[1]:K[2])}var A=function(O,x){return d.test(x)?_[O.month()]:C[O.month()]};A.s=C,A.f=_;var D=function(O,x){return d.test(x)?o[O.month()]:y[O.month()]};D.s=y,D.f=o;var w={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:A,monthsShort:D,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:M,mm:M,h:"\u0447\u0430\u0441",hh:M,d:"\u0434\u0435\u043d\u044c",dd:M,M:"\u043c\u0435\u0441\u044f\u0446",MM:M,y:"\u0433\u043e\u0434",yy:M},ordinal:function(O){return O},meridiem:function(O){return O<4?"\u043d\u043e\u0447\u0438":O<12?"\u0443\u0442\u0440\u0430":O<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"}};return h.default.locale(w,null,!0),w}(l(67374))},1092(ot,V,l){ot.exports=function(f){"use strict";var h=function g(C){return C&&"object"==typeof C&&"default"in C?C:{default:C}}(f),_={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(C){return C+"."}};return h.default.locale(_,null,!0),_}(l(67374))},84564(ot,V,l){ot.exports=function(f){"use strict";var h=function g(C){return C&&"object"==typeof C&&"default"in C?C:{default:C}}(f),_={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(C,o){return"W"===o?C+"\u5468":C+"\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(C,o){var y=100*C+o;return y<600?"\u51cc\u6668":y<900?"\u65e9\u4e0a":y<1100?"\u4e0a\u5348":y<1300?"\u4e2d\u5348":y<1800?"\u4e0b\u5348":"\u665a\u4e0a"}};return h.default.locale(_,null,!0),_}(l(67374))},34543(ot){ot.exports=function(){"use strict";return function(V,l,f){var g="h:mm A",h={lastDay:"[Yesterday at] "+g,sameDay:"[Today at] "+g,nextDay:"[Tomorrow at] "+g,nextWeek:"dddd [at] "+g,lastWeek:"[Last] dddd [at] "+g,sameElse:"MM/DD/YYYY"};
1l.prototype.calendar=function(_,C){var o=C||this.$locale().calendar||h,y=f(_||void 0).startOf("d"),d=this.diff(y,"d",!0),M="sameElse",A=d<-6?M:d<-1?"lastWeek":d<0?"lastDay":d<1?"sameDay":d<2?"nextDay":d<7?"nextWeek":M,D=o[A]||h[A];return"function"==typeof D?D.call(this,f()):this.format(D)}}}()},55180(ot){ot.exports=function(){"use strict";var V={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"},l=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,f=/\d/,g=/\d\d/,h=/\d\d?/,_=/\d*[^-_:/,()\s\d]+/,C={},o=function(O){return(O=+O)+(O>68?1900:2e3)},y=function(O){return function(x){this[O]=+x}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(O){(this.zone||(this.zone={})).offset=function(x){if(!x||"Z"===x)return 0;var N=x.match(/([+-]|\d\d)/g),q=60*N[1]+(+N[2]||0);return 0===q?0:"+"===N[0]?-q:q}(O)}],M=function(O){var x=C[O];return x&&(x.indexOf?x:x.s.concat(x.f))},A=function(O,x){var N,q=C.meridiem;if(q){for(var K=1;K<=24;K+=1)if(O.indexOf(q(K,0,x))>-1){N=K>12;break}}else N=O===(x?"pm":"PM");return N},D={A:[_,function(O){this.afternoon=A(O,!1)}],a:[_,function(O){this.afternoon=A(O,!0)}],Q:[f,function(O){this.month=3*(O-1)+1}],S:[f,function(O){this.milliseconds=100*+O}],SS:[g,function(O){this.milliseconds=10*+O}],SSS:[/\d{3}/,function(O){this.milliseconds=+O}],s:[h,y("seconds")],ss:[h,y("seconds")],m:[h,y("minutes")],mm:[h,y("minutes")],H:[h,y("hours")],h:[h,y("hours")],HH:[h,y("hours")],hh:[h,y("hours")],D:[h,y("day")],DD:[g,y("day")],Do:[_,function(O){var x=C.ordinal,N=O.match(/\d+/);if(this.day=N[0],x)for(var q=1;q<=31;q+=1)x(q).replace(/\[|\]/g,"")===O&&(this.day=q)}],w:[h,y("week")],ww:[g,y("week")],M:[h,y("month")],MM:[g,y("month")],MMM:[_,function(O){var x=M("months"),N=(M("monthsShort")||x.map(function(q){return q.slice(0,3)})).indexOf(O)+1;if(N<1)throw new Error;this.month=N%12||N}],MMMM:[_,function(O){var x=M("months").indexOf(O)+1;if(x<1)throw new Error;this.month=x%12||x}],Y:[/[+-]?\d+/,y("year")],YY:[g,function(O){this.year=o(O)}],YYYY:[/\d{4}/,y("year")],Z:d,ZZ:d};return function(O,x,N){N.p.customParseFormat=!0,O&&O.parseTwoDigitYear&&(o=O.parseTwoDigitYear);var q=x.prototype,K=q.parse;q.parse=function(te){var H=te.date,ee=te.utc,F=te.args;this.$u=ee;var J=F[1];if("string"==typeof J){var ne=!0===F[2],de=!0===F[3],Le=ne||de,ut=F[2];de&&(ut=F[2]),C=this.$locale(),!ne&&ut&&(C=N.Ls[ut]),this.$d=function(Te,Fe,Ke,Qe){try{if(["x","X"].indexOf(Fe)>-1)return new Date(("X"===Fe?1e3:1)*Te);var kt=function w(O){var N;N=C&&C.formats;for(var q=(O=O.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(ne,de,Le){var ut=Le&&Le.toUpperCase();return de||N[Le]||V[Le]||N[ut].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Oe,xe,Ce){return xe||Ce.slice(1)})})).match(l),K=q.length,te=0;te<K;te+=1){var H=q[te],ee=D[H],J=ee&&ee[1];q[te]=J?{regex:ee&&ee[0],parser:J}:H.replace(/^\[|\]$/g,"")}return function(ne){for(var de={},Le=0,ut=0;Le<K;Le+=1){var Oe=q[Le];if("string"==typeof Oe)ut+=Oe.length;else{var xe=Oe.regex,Ce=Oe.parser,Te=ne.slice(ut),Fe=xe.exec(Te)[0];Ce.call(de,Fe),ne=ne.replace(Fe,"")}}return function(Ke){var Qe=Ke.afternoon;if(void 0!==Qe){var kt=Ke.hours;Qe?kt<12&&(Ke.hours+=12):12===kt&&(Ke.hours=0),delete Ke.afternoon}}(de),de}}(Fe)(Te),ct=kt.year,Pt=kt.month,Ze=kt.day,fe=kt.hours,ie=kt.minutes,Xe=kt.seconds,ve=kt.milliseconds,he=kt.zone,Pe=kt.week,Ve=new Date,dt=Ze||(ct||Pt?1:Ve.getDate()),Dt=ct||Ve.getFullYear(),wt=0;ct&&!Pt||(wt=Pt>0?Pt-1:Ve.getMonth());var Yt,Tt=fe||0,qt=ie||0,We=Xe||0,yt=ve||0;return he?new Date(Date.UTC(Dt,wt,dt,Tt,qt,We,yt+60*he.offset*1e3)):Ke?new Date(Date.UTC(Dt,wt,dt,Tt,qt,We,yt)):(Yt=new Date(Dt,wt,dt,Tt,qt,We,yt),Pe&&(Yt=Qe(Yt).week(Pe).toDate()),Yt)}catch{return new Date("")}}(H,J,ee,N),this.init(),ut&&!0!==ut&&(this.$L=this.locale(ut).$L),Le&&H!=this.format(J)&&(this.$d=new Date("")),C={}}else if(J instanceof Array)for(var Oe=J.length,xe=1;xe<=Oe;xe+=1){F[1]=J[xe-1];var Ce=N.apply(this,F);if(Ce.isValid()){this.$d=Ce.$d,this.$L=Ce.$L,this.init();break}xe===Oe&&(this.$d=new Date(""))}else K.call(this,te)}}}()},2781(ot){ot.exports=function(){"use strict";var V,l,f=1e3,g=6e4,h=36e5,_=864e5,C=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
1|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,o=31536e6,y=2628e6,d=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,M={years:o,months:y,days:_,hours:h,minutes:g,seconds:f,milliseconds:1,weeks:6048e5},A=function(H){return H instanceof K},D=function(H,ee,F){return new K(H,F,ee.$l)},w=function(H){return l.p(H)+"s"},O=function(H){return H<0},x=function(H){return O(H)?Math.ceil(H):Math.floor(H)},N=function(H){return Math.abs(H)},q=function(H,ee){return H?O(H)?{negative:!0,format:""+N(H)+ee}:{negative:!1,format:""+H+ee}:{negative:!1,format:""}},K=function(){function H(F,J,ne){var de=this;if(this.$d={},this.$l=ne,void 0===F&&(this.$ms=0,this.parseFromMilliseconds()),J)return D(F*M[w(J)],this);if("number"==typeof F)return this.$ms=F,this.parseFromMilliseconds(),this;if("object"==typeof F)return Object.keys(F).forEach(function(Oe){de.$d[w(Oe)]=F[Oe]}),this.calMilliseconds(),this;if("string"==typeof F){var Le=F.match(d);if(Le){var ut=Le.slice(2).map(function(Oe){return null!=Oe?Number(Oe):0});return this.$d.years=ut[0],this.$d.months=ut[1],this.$d.weeks=ut[2],this.$d.days=ut[3],this.$d.hours=ut[4],this.$d.minutes=ut[5],this.$d.seconds=ut[6],this.calMilliseconds(),this}}return this}var ee=H.prototype;return ee.calMilliseconds=function(){var F=this;this.$ms=Object.keys(this.$d).reduce(function(J,ne){return J+(F.$d[ne]||0)*M[ne]},0)},ee.parseFromMilliseconds=function(){var F=this.$ms;this.$d.years=x(F/o),this.$d.months=x((F%=o)/y),this.$d.days=x((F%=y)/_),this.$d.hours=x((F%=_)/h),this.$d.minutes=x((F%=h)/g),this.$d.seconds=x((F%=g)/f),this.$d.milliseconds=F%=f},ee.toISOString=function(){var F=q(this.$d.years,"Y"),J=q(this.$d.months,"M"),ne=+this.$d.days||0;this.$d.weeks&&(ne+=7*this.$d.weeks);var de=q(ne,"D"),Le=q(this.$d.hours,"H"),ut=q(this.$d.minutes,"M"),Oe=this.$d.seconds||0;this.$d.milliseconds&&(Oe+=this.$d.milliseconds/1e3,Oe=Math.round(1e3*Oe)/1e3);var xe=q(Oe,"S"),Fe=(F.negative||J.negative||de.negative||Le.negative||ut.negative||xe.negative?"-":"")+"P"+F.format+J.format+de.format+(Le.format||ut.format||xe.format?"T":"")+Le.format+ut.format+xe.format;return"P"===Fe||"-P"===Fe?"P0D":Fe},ee.toJSON=function(){return this.toISOString()},ee.format=function(F){var J=F||"YYYY-MM-DDTHH:mm:ss",ne={Y:this.$d.years,YY:l.s(this.$d.years,2,"0"),YYYY:l.s(this.$d.years,4,"0"),M:this.$d.months,MM:l.s(this.$d.months,2,"0"),D:this.$d.days,DD:l.s(this.$d.days,2,"0"),H:this.$d.hours,HH:l.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:l.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:l.s(this.$d.seconds,2,"0"),SSS:l.s(this.$d.milliseconds,3,"0")};return J.replace(C,function(de,Le){return Le||String(ne[de])})},ee.as=function(F){return this.$ms/M[w(F)]},ee.get=function(F){var J=this.$ms,ne=w(F);return"milliseconds"===ne?J%=1e3:J="weeks"===ne?x(J/M[ne]):this.$d[ne],J||0},ee.add=function(F,J,ne){var de;return de=J?F*M[w(J)]:A(F)?F.$ms:D(F,this).$ms,D(this.$ms+de*(ne?-1:1),this)},ee.subtract=function(F,J){return this.add(F,J,!0)},ee.locale=function(F){var J=this.clone();return J.$l=F,J},ee.clone=function(){return D(this.$ms,this)},ee.humanize=function(F){return V().add(this.$ms,"ms").locale(this.$l).fromNow(!F)},ee.valueOf=function(){return this.asMilliseconds()},ee.milliseconds=function(){return this.get("milliseconds")},ee.asMilliseconds=function(){return this.as("milliseconds")},ee.seconds=function(){return this.get("seconds")},ee.asSeconds=function(){return this.as("seconds")},ee.minutes=function(){return this.get("minutes")},ee.asMinutes=function(){return this.as("minutes")},ee.hours=function(){return this.get("hours")},ee.asHours=function(){return this.as("hours")},ee.days=function(){return this.get("days")},ee.asDays=function(){return this.as("days")},ee.weeks=function(){return this.get("weeks")},ee.asWeeks=function(){return this.as("weeks")},ee.months=function(){return this.get("months")},ee.asMonths=function(){return this.as("months")},ee.years=function(){return this.get("years")},ee.asYears=function(){return this.as("years")},H}(),te=function(H,ee,F){return H.add(ee.years()*F,"y").add(ee.months()*F,"M").add(ee.days()*F,"d").add(ee.hours()*F,"h").add(ee.minutes()*F,"m").add(ee.seconds()*F,"s").add(ee.milliseconds()*F,"ms")};return function(H,ee,F){V=F,l=F().$utils(),F.duration=function(de,Le){var ut=F.locale();return D(de,{$l:ut},Le)},F.isDuration=A;var J=ee.prototype.add,ne=ee.prototype.subtract;ee.prototype.add=function(de,Le){return A(de)?te(this,de,1):J.bind(this)(de,Le)},ee.prototype.subtract=function(de,Le){return A(de)?te(this,de,-1):ne.bind(this)(de,Le)}}}()},60501(ot){ot.exports=function(){"use strict";return function(V,l,f){l.prototype.isBetween=function(g,h,_,C){var o=f(g),y=f(h),d="("===(C=C||"()")[0],M=")"===C[1];return(d?this.isAfter(o,_):!this.isBefore(o,_))&&(M?this.isBefore(y,_):!this.isAfter(y,_))||(d?this.isBefore(o,_):!this.isAfter(o,_))&&(M?this.isAfter(y,_):!this.isBefore(y,_))}}}()}
1,9038(ot){ot.exports=function(){"use strict";return function(V,l){l.prototype.isSameOrAfter=function(f,g){return this.isSame(f,g)||this.isAfter(f,g)}}}()},38037(ot){ot.exports=function(){"use strict";return function(V,l){l.prototype.isSameOrBefore=function(f,g){return this.isSame(f,g)||this.isBefore(f,g)}}}()},80456(ot){ot.exports=function(){"use strict";return function(V,l,f){l.prototype.isToday=function(){var g="YYYY-MM-DD",h=f();return this.format(g)===h.format(g)}}}()},57981(ot){ot.exports=function(){"use strict";return function(V,l,f){l.prototype.isYesterday=function(){var g="YYYY-MM-DD",h=f().subtract(1,"day");return this.format(g)===h.format(g)}}}()},81047(ot){ot.exports=function(){"use strict";return function(V,l,f){var h=function(d){return d&&(d.indexOf?d:d.s)},_=function(d,M,A,D,w){var O=d.name?d:d.$locale(),x=h(O[M]),N=h(O[A]),q=x||N.map(function(te){return te.slice(0,D)});if(!w)return q;var K=O.weekStart;return q.map(function(te,H){return q[(H+(K||0))%7]})},C=function(){return f.Ls[f.locale()]},o=function(d,M){return d.formats[M]||d.formats[M.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(D,w,O){return w||O.slice(1)})},y=function(){var d=this;return{months:function(M){return M?M.format("MMMM"):_(d,"months")},monthsShort:function(M){return M?M.format("MMM"):_(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(M){return M?M.format("dddd"):_(d,"weekdays")},weekdaysMin:function(M){return M?M.format("dd"):_(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(M){return M?M.format("ddd"):_(d,"weekdaysShort","weekdays",3)},longDateFormat:function(M){return o(d.$locale(),M)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};l.prototype.localeData=function(){return y.bind(this)()},f.localeData=function(){var d=C();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return f.weekdays()},weekdaysShort:function(){return f.weekdaysShort()},weekdaysMin:function(){return f.weekdaysMin()},months:function(){return f.months()},monthsShort:function(){return f.monthsShort()},longDateFormat:function(M){return o(d,M)},meridiem:d.meridiem,ordinal:d.ordinal}},f.months=function(){return _(C(),"months")},f.monthsShort=function(){return _(C(),"monthsShort","months",3)},f.weekdays=function(d){return _(C(),"weekdays",null,null,d)},f.weekdaysShort=function(d){return _(C(),"weekdaysShort","weekdays",3,d)},f.weekdaysMin=function(d){return _(C(),"weekdaysMin","weekdays",2,d)}}}()},24955(ot){ot.exports=function(){"use strict";var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(l,f,g){var h=f.prototype,_=h.format;g.en.formats=V,h.format=function(C){void 0===C&&(C="YYYY-MM-DDTHH:mm:ssZ");var M,o=this.$locale().formats,y=(M=void 0===o?{}:o,C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(A,D,w){var O=w&&w.toUpperCase();return D||M[w]||V[w]||M[O].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(x,N,q){return N||q.slice(1)})}));return _.call(this,y)}}}()},22411(ot){ot.exports=function(){"use strict";return function(V,l,f){var g=function(h,_){if(!_||!_.length||1===_.length&&!_[0]||1===_.length&&Array.isArray(_[0])&&!_[0].length)return null;var C;1===_.length&&_[0].length>0&&(_=_[0]),C=(_=_.filter(function(y){return y}))[0];for(var o=1;o<_.length;o+=1)_[o].isValid()&&!_[o][h](C)||(C=_[o]);return C};f.max=function(){var h=[].slice.call(arguments,0);return g("isAfter",h)},f.min=function(){var h=[].slice.call(arguments,0);return g("isBefore",h)}}}()},82807(ot){ot.exports=function(){"use strict";return function(V,l,f){var g=l.prototype,h=function(M){var A,D=M.date,w=M.utc,O={};if(!(null===(A=D)||A instanceof Date||A instanceof Array||g.$utils().u(A)||"Object"!==A.constructor.name)){if(!Object.keys(D).length)return new Date;var x=w?f.utc():f();Object.keys(D).forEach(function(J){var ne,de;O[(ne=J,de=g.$utils().p(ne),"date"===de?"day":de)]=D[J]});var N=O.day||(O.year||O.month>=0?1:x.date()),q=O.year||x.year(),K=O.month>=0?O.month:O.year||O.day?0:x.month(),te=O.hour||0,H=O.minute||0,ee=O.second||0,F=O.millisecond||0;return w?new Date(Date.UTC(q,K,N,te,H,ee,F)):new Date(q,K,N,te,H,ee,F)}return D},_=g.parse;g.parse=function(M){M.date=h.bind(this)(M),_.bind(this)(M)};
1var C=g.set,o=g.add,y=g.subtract,d=function(M,A,D,w){void 0===w&&(w=1);var O=Object.keys(A),x=this;return O.forEach(function(N){x=M.bind(x)(A[N]*w,N)}),x};g.set=function(M,A){return A=void 0===A?M:A,"Object"===M.constructor.name?d.bind(this)(function(D,w){return C.bind(this)(w,D)},A,M):C.bind(this)(M,A)},g.add=function(M,A){return"Object"===M.constructor.name?d.bind(this)(o,M,A):o.bind(this)(M,A)},g.subtract=function(M,A){return"Object"===M.constructor.name?d.bind(this)(o,M,A,-1):y.bind(this)(M,A)}}}()},85164(ot){ot.exports=function(){"use strict";return function(V,l,f){V=V||{};var g=l.prototype,h={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"};function _(o,y,d,M){return g.fromToBase(o,y,d,M)}f.en.relativeTime=h,g.fromToBase=function(o,y,d,M,A){for(var D,w,O,x=d.$locale().relativeTime||h,N=V.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],q=N.length,K=0;K<q;K+=1){var te=N[K];te.d&&(D=M?f(o).diff(d,te.d,!0):d.diff(o,te.d,!0));var H=(V.rounding||Math.round)(Math.abs(D));if(O=D>0,H<=te.r||!te.r){H<=1&&K>0&&(te=N[K-1]);var ee=x[te.l];A&&(H=A(""+H)),w="string"==typeof ee?ee.replace("%d",H):ee(H,y,te.l,O);break}}if(y)return w;var F=O?x.future:x.past;return"function"==typeof F?F(w):F.replace("%s",w)},g.to=function(o,y){return _(o,y,this,!0)},g.from=function(o,y){return _(o,y,this)};var C=function(o){return o.$u?f.utc():f()};g.toNow=function(o){return this.to(C(this),o)},g.fromNow=function(o){return this.from(C(this),o)}}}()},50902(ot){ot.exports=function(){"use strict";var V={year:0,month:1,day:2,hour:3,minute:4,second:5},l={};return function(f,g,h){var _,C=function(M,A,D){void 0===D&&(D={});var w=new Date(M);return function(x,N){void 0===N&&(N={});var q=N.timeZoneName||"short",K=x+"|"+q,te=l[K];return te||(te=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:x,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:q}),l[K]=te),te}(A,D).formatToParts(w)},o=function(M,A){for(var D=C(M,A),w=[],O=0;O<D.length;O+=1){var x=D[O],K=V[x.type];K>=0&&(w[K]=parseInt(x.value,10))}var te=w[3],F=+M;return(h.utc(w[0]+"-"+w[1]+"-"+w[2]+" "+(24===te?0:te)+":"+w[4]+":"+w[5]+":000").valueOf()-(F-=F%1e3))/6e4},y=g.prototype;y.tz=function(M,A){void 0===M&&(M=_);var D,w=this.utcOffset(),O=this.toDate(),x=O.toLocaleString("en-US",{timeZone:M}),N=Math.round((O-new Date(x))/1e3/60),q=15*-Math.round(O.getTimezoneOffset()/15)-N;if(Number(q)){if(D=h(x,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(q,!0),A){var K=D.utcOffset();D=D.add(w-K,"minute")}}else D=this.utcOffset(0,A);return D.$x.$timezone=M,D},y.offsetName=function(M){var A=this.$x.$timezone||h.tz.guess(),D=C(this.valueOf(),A,{timeZoneName:M}).find(function(w){return"timezonename"===w.type.toLowerCase()});return D&&D.value};var d=y.startOf;y.startOf=function(M,A){if(!this.$x||!this.$x.$timezone)return d.call(this,M,A);var D=h(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return d.call(D,M,A).tz(this.$x.$timezone,!0)},h.tz=function(M,A,D){var w=D&&A,O=D||A||_,x=o(+h(),O);if("string"!=typeof M)return h(M).tz(O);var N=function(H,ee,F){var J=H-60*ee*1e3,ne=o(J,F);if(ee===ne)return[J,ee];var de=o(J-=60*(ne-ee)*1e3,F);return ne===de?[J,ne]:[H-60*Math.min(ne,de)*1e3,Math.max(ne,de)]}(h.utc(M,w).valueOf(),x,O),K=N[1],te=h(N[0]).utcOffset(K);return te.$x.$timezone=O,te},h.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},h.tz.setDefault=function(M){_=M}}}()},47538(ot){ot.exports=function(){"use strict";function V(){return V=Object.assign||function(l){for(var f=1;f<arguments.length;f++){var g=arguments[f];for(var h in g)Object.prototype.hasOwnProperty.call(g,h)&&(l[h]=g[h])}return l},V.apply(this,arguments)}return function(l,f,g){g.updateLocale=function(h,_){var C=g.Ls[h];if(C)return(_?Object.keys(_):[]).forEach(function(o){C[o]=C[o]&&_[o]&&"object"==typeof C[o]&&"object"==typeof _[o]&&!Array.isArray(C[o]
1)?V({},C[o],_[o]):_[o]}),C}}}()},35859(ot){ot.exports=function(){"use strict";var V="minute",l=/[+-]\d\d(?::?\d\d)?/g,f=/([+-]|\d\d)/g;return function(g,h,_){var C=h.prototype;_.utc=function(w){return new h({date:w,utc:!0,args:arguments})},C.utc=function(w){var O=_(this.toDate(),{locale:this.$L,utc:!0});return w?O.add(this.utcOffset(),V):O},C.local=function(){return _(this.toDate(),{locale:this.$L,utc:!1})};var o=C.parse;C.parse=function(w){w.utc&&(this.$u=!0),this.$utils().u(w.$offset)||(this.$offset=w.$offset),o.call(this,w)};var y=C.init;C.init=function(){if(this.$u){var w=this.$d;this.$y=w.getUTCFullYear(),this.$M=w.getUTCMonth(),this.$D=w.getUTCDate(),this.$W=w.getUTCDay(),this.$H=w.getUTCHours(),this.$m=w.getUTCMinutes(),this.$s=w.getUTCSeconds(),this.$ms=w.getUTCMilliseconds()}else y.call(this)};var d=C.utcOffset;C.utcOffset=function(w,O){var x=this.$utils().u;if(x(w))return this.$u?0:x(this.$offset)?d.call(this):this.$offset;if("string"==typeof w&&null===(w=function(te){void 0===te&&(te="");var H=te.match(l);if(!H)return null;var ee=(""+H[0]).match(f)||["-",0,0],J=60*+ee[1]+ +ee[2];return 0===J?0:"+"===ee[0]?J:-J}(w)))return this;var N=Math.abs(w)<=16?60*w:w;if(0===N)return this.utc(O);var q=this.clone();if(O)return q.$offset=N,q.$u=!1,q;var K=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(q=this.local().add(N+K,V)).$offset=N,q.$x.$localOffset=K,q};var M=C.format;C.format=function(w){return M.call(this,w||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},C.valueOf=function(){var w=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*w},C.isUTC=function(){return!!this.$u},C.toISOString=function(){return this.toDate().toISOString()},C.toString=function(){return this.toDate().toUTCString()};var A=C.toDate;C.toDate=function(w){return"s"===w&&this.$offset?_(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():A.call(this)};var D=C.diff;C.diff=function(w,O,x){if(w&&this.$u===w.$u)return D.call(this,w,O,x);var N=this.local(),q=_(w).local();return D.call(N,q,O,x)}}}()},20039(ot,V,l){"use strict";l.d(V,{B8:()=>ts,NZ:()=>js,mS:()=>ko});var f="@@__IMMUTABLE_INDEXED__@@";function g(R){return!(!R||!R[f])}var h="@@__IMMUTABLE_KEYED__@@";function _(R){return!(!R||!R[h])}function C(R){return _(R)||g(R)}var o="@@__IMMUTABLE_ITERABLE__@@";function y(R){return!(!R||!R[o])}var d=function(I){return y(I)?I:yt(I)},M=function(R){function I(Q){return _(Q)?Q:je(Q)}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I}(d),A=function(R){function I(Q){return g(Q)?Q:St(Q)}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I}(d),D=function(R){function I(Q){return y(Q)&&!C(Q)?Q:me(Q)}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I}(d);d.Keyed=M,d.Indexed=A,d.Set=D;var N="function"==typeof Symbol&&Symbol.iterator,q="@@iterator",K=N||q,te=function(I){this.next=I};function H(R,I,Q,oe){var _e=0===R?I:1===R?Q:[I,Q];return oe?oe.value=_e:oe={value:_e,done:!1},oe}function ee(){return{value:void 0,done:!0}}function F(R){return!!Array.isArray(R)||!!de(R)}function J(R){return!(!R||"function"!=typeof R.next)}function ne(R){var I=de(R);return I&&I.call(R)}function de(R){var I=R&&(N&&R[N]||R[q]);if("function"==typeof I)return I}te.prototype.toString=function(){return"[Iterator]"},te.KEYS=0,te.VALUES=1,te.ENTRIES=2,te.prototype.inspect=te.prototype.toSource=function(){return this.toString()},te.prototype[K]=function(){return this};var Oe="delete",Fe={};function Qe(R){R&&(R.value=!0)}function kt(){}function ct(R){return void 0===R.size&&(R.size=R.__iterate(Ze)),R.size}function Pt(R,I){if("number"!=typeof I){var Q=I>>>0;if(""+Q!==I||4294967295===Q)return NaN;I=Q}return I<0?ct(R)+I:I}function Ze(){return!0}function fe(R,I,Q){return(0===R&&!he(R)||void 0!==Q&&R<=-Q)&&(void 0===I||void 0!==Q&&I>=Q)}function ie(R,I){return ve(R,I,0)}function Xe(R,I){return ve(R,I,I)}function ve(R,I,Q){return void 0===R?Q:he(R)?I===1/0?I:0|Math.max(0,I+R):void 0===I||I===R?R:0|Math.min(I,R)}function he(R){return R<0||0===R&&1/R==-1/0}
vendor: 5,402 bytes, line 1
1var Pe="@@__IMMUTABLE_RECORD__@@";function Ve(R){return!(!R||!R[Pe])}function dt(R){return y(R)||Ve(R)}var Dt="@@__IMMUTABLE_ORDERED__@@";function wt(R){return!(!R||!R[Dt])}var Yt="@@__IMMUTABLE_SEQ__@@";function Tt(R){return!(!R||!R[Yt])}var qt=Object.prototype.hasOwnProperty;function We(R){return!(!Array.isArray(R)&&"string"!=typeof R)||R&&"object"==typeof R&&Number.isInteger(R.length)&&R.length>=0&&(0===R.length?1===Object.keys(R).length:R.hasOwnProperty(R.length-1))}var yt=function(R){function I(Q){return null==Q?p():dt(Q)?Q.toSeq():function Lt(R){var I=Me(R);if(I)return function Le(R){var I=de(R);return I&&I===R.entries}(R)?I.fromEntrySeq():function ut(R){var I=de(R);return I&&I===R.keys}(R)?I.toSetSeq():I;if("object"==typeof R)return new bt(R);throw new TypeError("Expected Array or collection object of values, or keyed object: "+R)}(Q)}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.prototype.toSeq=function(){return this},I.prototype.toString=function(){return this.__toString("Seq {","}")},I.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},I.prototype.__iterate=function(oe,_e){var Be=this._cache;if(Be){for(var et=Be.length,It=0;It!==et;){var Xt=Be[_e?et-++It:It++];if(!1===oe(Xt[1],Xt[0],this))break}return It}return this.__iterateUncached(oe,_e)},I.prototype.__iterator=function(oe,_e){var Be=this._cache;if(Be){var et=Be.length,It=0;return new te(function(){if(It===et)return{value:void 0,done:!0};var Xt=Be[_e?et-++It:It++];return H(oe,Xt[0],Xt[1])})}return this.__iteratorUncached(oe,_e)},I}(d),je=function(R){function I(Q){return null==Q?p().toKeyedSeq():y(Q)?_(Q)?Q.toSeq():Q.fromEntrySeq():Ve(Q)?Q.toSeq():Bt(Q)}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.prototype.toKeyedSeq=function(){return this},I}(yt),St=function(R){function I(Q){return null==Q?p():y(Q)?_(Q)?Q.entrySeq():Q.toIndexedSeq():Ve(Q)?Q.toSeq().entrySeq():it(Q)}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.of=function(){return I(arguments)},I.prototype.toIndexedSeq=function(){return this},I.prototype.toString=function(){return this.__toString("Seq [","]")},I}(yt),me=function(R){function I(Q){return(y(Q)&&!C(Q)?Q:St(Q)).toSetSeq()}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.of=function(){return I(arguments)},I.prototype.toSetSeq=function(){return this},I}(yt);yt.isSeq=Tt,yt.Keyed=je,yt.Set=me,yt.Indexed=St,yt.prototype[Yt]=!0;var rt=function(R){function I(Q){this._array=Q,this.size=Q.length}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.prototype.get=function(oe,_e){return this.has(oe)?this._array[Pt(this,oe)]:_e},I.prototype.__iterate=function(oe,_e){for(var Be=this._array,et=Be.length,It=0;It!==et;){var Xt=_e?et-++It:It++;if(!1===oe(Be[Xt],Xt,this))break}return It},I.prototype.__iterator=function(oe,_e){var Be=this._array,et=Be.length,It=0;return new te(function(){if(It===et)return{value:void 0,done:!0};var Xt=_e?et-++It:It++;return H(oe,Xt,Be[Xt])})},I}(St),bt=function(R){function I(Q){var oe=Object.keys(Q).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(Q):[]);this._object=Q,this._keys=oe,this.size=oe.length}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.prototype.get=function(oe,_e){return void 0===_e||this.has(oe)?this._object[oe]:_e},I.prototype.has=function(oe){return qt.call(this._object,oe)},I.prototype.__iterate=function(oe,_e){for(var Be=this._object,et=this._keys,It=et.length,Xt=0;Xt!==It;){var fn=et[_e?It-++Xt:Xt++];if(!1===oe(Be[fn],fn,this))break}return Xt},I.prototype.__iterator=function(oe,_e){var Be=this._object,et=this._keys,It=et.length,Xt=0;return new te(function(){if(Xt===It)return{value:void 0,done:!0};var fn=et[_e?It-++Xt:Xt++];return H(oe,fn,Be[fn])})},I}(je);bt.prototype[Dt]=!0;var Mt,we=function(R){function I(Q){this._collection=Q,this.size=Q.length||Q.size}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.prototype.__iterateUncached=function(oe,_e){if(_e)return this.cacheResult().__iterate(oe,_e);var et=ne(this._collection),It=0;if(J(et))for(var Xt;!(Xt=et.next()).done&&!1!==oe(Xt.value,It++,this););return It},I.prototype.__iteratorUncached=function(oe,_e){if(_e)return this.cacheResult().__iterator(oe,_e);var et=ne(this._collection);if(!J(et))return new te(ee);var It=0;return new te(function(){var Xt=et.next();return Xt.done?Xt:H(oe,It++,Xt.value)})},I}(St);function p(){return Mt||(Mt=new rt([]))}function Bt(R){var I=Me(R);if(I)return I.fromEntrySeq();if("object"==typeof R)return new bt(R);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+R)}function it(R){var I=Me(R);if(I)return I;throw new TypeError("Expected Array or collection object of values: "+R)}function Me(R){return We(R)?new rt(R):F(R)?new we(R):void 0}function le(){return this.__ensureOwner()}function $(){return this.__ownerID?this:this.__ensureOwner(new kt)}var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(I,Q){var oe=65535&(I|=0),_e=65535&(Q|=0);return oe*_e+((I>>>16)*_e+oe*(Q>>>16)<<16>>>0)|0};function Et(R){return R>>>1&1073741824|3221225471&R}var dn=Object.prototype.valueOf;
1function an(R){if(null==R)return Nt(R);if("function"==typeof R.hashCode)return Et(R.hashCode(R));var I=function ei(R){return R.valueOf!==dn&&"function"==typeof R.valueOf?R.valueOf(R):R}(R);if(null==I)return Nt(I);switch(typeof I){case"boolean":return I?1108378657:1108378656;case"number":return function at(R){if(R!=R||R===1/0)return 0;var I=0|R;for(I!==R&&(I^=4294967295*R);R>4294967295;)I^=R/=4294967295;return Et(I)}(I);case"string":return I.length>ti?function st(R){var I=An[R];return void 0===I&&(I=zt(R),Ei===si&&(Ei=0,An={}),Ei++,An[R]=I),I}(I):zt(I);case"object":case"function":return function hn(R){var I;if(ri&&void 0!==(I=fi.get(R))||void 0!==(I=R[Cn])||!Pn&&(void 0!==(I=R.propertyIsEnumerable&&R.propertyIsEnumerable[Cn])||(I=function xn(R){if(R&&R.nodeType>0)switch(R.nodeType){case 1:return R.uniqueID;case 9:return R.documentElement&&R.documentElement.uniqueID}}(R),void 0!==I)))return I;if(I=ci(),ri)fi.set(R,I);else{if(void 0!==Vn&&!1===Vn(R))throw new Error("Non-extensible objects are not allowed as keys.");if(Pn)Object.defineProperty(R,Cn,{enumerable:!1,configurable:!1,writable:!1,value:I});else if(void 0!==R.propertyIsEnumerable&&R.propertyIsEnumerable===R.constructor.prototype.propertyIsEnumerable)R.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},R.propertyIsEnumerable[Cn]=I;else{if(void 0===R.nodeType)throw new Error("Unable to set a non-enumerable property on object.");R[Cn]=I}}return I}(I);case"symbol":return function Dn(R){var I=so[R];return void 0!==I||(I=ci(),so[R]=I),I}(I);default:if("function"==typeof I.toString)return zt(I.toString());throw new Error("Value type "+typeof I+" cannot be hashed.")}}function Nt(R){return null===R?1108378658:1108378659}function zt(R){for(var I=0,Q=0;Q<R.length;Q++)I=31*I+R.charCodeAt(Q)|0;return Et(I)}var Vn=Object.isExtensible,Pn=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();function ci(){var R=++Li;return 1073741824&Li&&(Li=0),R}var fi,ri="function"==typeof WeakMap;ri&&(fi=new WeakMap);var so=Object.create(null),Li=0,Cn="__immutablehash__";"function"==typeof Symbol&&(Cn=Symbol(Cn));var ti=16,si=255,Ei=0,An={},Ki=function(R){function I(Q,oe){this._iter=Q,this._useKeys=oe,this.size=Q.size}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.prototype.get=function(oe,_e){return this._iter.get(oe,_e)},I.prototype.has=function(oe){return this._iter.has(oe)},I.prototype.valueSeq=function(){return this._iter.valueSeq()},I.prototype.reverse=function(){var oe=this,_e=En(this,!0);return this._useKeys||(_e.valueSeq=function(){return oe._iter.toSeq().reverse()}),_e},I.prototype.map=function(oe,_e){var Be=this,et=Yi(this,oe,_e);return this._useKeys||(et.valueSeq=function(){return Be._iter.toSeq().map(oe,_e)}),et},I.prototype.__iterate=function(oe,_e){var Be=this;return this._iter.__iterate(function(et,It){return oe(et,It,Be)},_e)},I.prototype.__iterator=function(oe,_e){return this._iter.__iterator(oe,_e)},I}(je);Ki.prototype[Dt]=!0;var Hi=function(R){function I(Q){this._iter=Q,this.size=Q.size}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.prototype.includes=function(oe){return this._iter.includes(oe)},I.prototype.__iterate=function(oe,_e){var Be=this,et=0;return _e&&ct(this),this._iter.__iterate(function(It){return oe(It,_e?Be.size-++et:et++,Be)},_e)},I.prototype.__iterator=function(oe,_e){var Be=this,et=this._iter.__iterator(1,_e),It=0;return _e&&ct(this),new te(function(){var Xt=et.next();return Xt.done?Xt:H(oe,_e?Be.size-++It:It++,Xt.value,Xt)})},I}(St),Wi=function(R){function I(Q){this._iter=Q,this.size=Q.size}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.prototype.has=function(oe){return this._iter.includes(oe)},I.prototype.__iterate=function(oe,_e){var Be=this;return this._iter.__iterate(function(et){return oe(et,et,Be)},_e)},I.prototype.__iterator=function(oe,_e){var Be=this._iter.__iterator(1,_e);return new te(function(){var et=Be.next();return et.done?et:H(oe,et.value,et.value,et)})},I}(me),qi=function(R){function I(Q){this._iter=Q,this.size=Q.size}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.prototype.entrySeq=function(){return this._iter.toSeq()},I.prototype.__iterate=function(oe,_e){var Be=this;return this._iter.__iterate(function(et){if(et){Sn(et);var It=y(et);return oe(It?et.get(1):et[1],It?et.get(0):et[0],Be)}},_e)},I.prototype.__iterator=function(oe,_e){var Be=this._iter.__iterator(1,_e);return new te(function(){for(;;){var et=Be.next();if(et.done)return et;var It=et.value;if(It){Sn(It);var Xt=y(It);return H(oe,Xt?It.get(0):It[0],Xt?It.get(1):It[1],et)}}})},I}(je);function eo(R){var I=Xn(R);return I._iter=R,I.size=R.size,I.flip=function(){return R},I.reverse=function(){var Q=R.reverse.apply(this);return Q.flip=function(){return R.reverse()},Q},I.has=function(Q){return R.includes(Q)},I.includes=function(Q){return R.has(Q)},I.cacheResult=bi,I.__iterateUncached=function(Q,oe){var _e=this;return R.__iterate(function(Be,et){return!1!==Q(et,Be,_e)},oe)},I.__iteratorUncached=function(Q,oe){if(2===Q){var _e=R.__iterator(Q,oe);return new te(function(){var Be=_e.next();if(!Be.done){var et=Be.value[0];Be.value[0]=Be.value[1],Be.value[1]=et}return Be})}return R.__iterator(1===Q?0:1,oe)},I}function Yi(R,I,Q){var oe=Xn(R);return oe.size=R.size,oe.has=function(_e){return R.has(_e)},oe.get=function(_e,Be){var et=R.get(_e,Fe);return et===Fe?Be:I.call(Q,et,_e,R)},oe.__iterateUncached=function(_e,Be){var et=this;return R.__iterate(function(It,Xt,fn){return!1!==_e(I.call(Q,It,Xt,fn),Xt,et)},Be)},oe.__iteratorUncached=function(_e,Be){var et=R.__iterator(2,Be);return new te(function(){var It=et.next();if(It.done)return It;var Xt=It.value,fn=Xt[0];return H(_e,fn,I.call(Q,Xt[1],fn,R),It)})},oe}function En(R,I){var Q=this,oe=Xn(R);
1return oe._iter=R,oe.size=R.size,oe.reverse=function(){return R},R.flip&&(oe.flip=function(){var _e=eo(R);return _e.reverse=function(){return R.flip()},_e}),oe.get=function(_e,Be){return R.get(I?_e:-1-_e,Be)},oe.has=function(_e){return R.has(I?_e:-1-_e)},oe.includes=function(_e){return R.includes(_e)},oe.cacheResult=bi,oe.__iterate=function(_e,Be){var et=this,It=0;return Be&&ct(R),R.__iterate(function(Xt,fn){return _e(Xt,I?fn:Be?et.size-++It:It++,et)},!Be)},oe.__iterator=function(_e,Be){var et=0;Be&&ct(R);var It=R.__iterator(2,!Be);return new te(function(){var Xt=It.next();if(Xt.done)return Xt;var fn=Xt.value;return H(_e,I?fn[0]:Be?Q.size-++et:et++,fn[1],Xt)})},oe}function li(R,I,Q,oe){var _e=Xn(R);return oe&&(_e.has=function(Be){var et=R.get(Be,Fe);return et!==Fe&&!!I.call(Q,et,Be,R)},_e.get=function(Be,et){var It=R.get(Be,Fe);return It!==Fe&&I.call(Q,It,Be,R)?It:et}),_e.__iterateUncached=function(Be,et){var It=this,Xt=0;return R.__iterate(function(fn,bn,jn){if(I.call(Q,fn,bn,jn))return Xt++,Be(fn,oe?bn:Xt-1,It)},et),Xt},_e.__iteratorUncached=function(Be,et){var It=R.__iterator(2,et),Xt=0;return new te(function(){for(;;){var fn=It.next();if(fn.done)return fn;var bn=fn.value,jn=bn[0],qn=bn[1];if(I.call(Q,qn,jn,R))return H(Be,oe?jn:Xt++,qn,fn)}})},_e}function Wt(R,I,Q,oe){var _e=R.size;if(fe(I,Q,_e))return R;if(typeof _e>"u"&&(I<0||Q<0))return Wt(R.toSeq().cacheResult(),I,Q,oe);var Xt,Be=ie(I,_e),It=Xe(Q,_e)-Be;It==It&&(Xt=It<0?0:It);var fn=Xn(R);return fn.size=0===Xt?Xt:R.size&&Xt||void 0,!oe&&Tt(R)&&Xt>=0&&(fn.get=function(bn,jn){return(bn=Pt(this,bn))>=0&&bn<Xt?R.get(bn+Be,jn):jn}),fn.__iterateUncached=function(bn,jn){var qn=this;if(0===Xt)return 0;if(jn)return this.cacheResult().__iterate(bn,jn);var Di=0,yi=!0,xi=0;return R.__iterate(function(wo,Ro){if(!yi||!(yi=Di++<Be))return xi++,!1!==bn(wo,oe?Ro:xi-1,qn)&&xi!==Xt}),xi},fn.__iteratorUncached=function(bn,jn){if(0!==Xt&&jn)return this.cacheResult().__iterator(bn,jn);if(0===Xt)return new te(ee);var qn=R.__iterator(bn,jn),Di=0,yi=0;return new te(function(){for(;Di++<Be;)qn.next();if(++yi>Xt)return{value:void 0,done:!0};var xi=qn.next();return oe||1===bn||xi.done?xi:H(bn,yi-1,0===bn?void 0:xi.value[1],xi)})},fn}function lt(R,I,Q,oe){var _e=Xn(R);return _e.__iterateUncached=function(Be,et){var It=this;if(et)return this.cacheResult().__iterate(Be,et);var Xt=!0,fn=0;return R.__iterate(function(bn,jn,qn){if(!Xt||!(Xt=I.call(Q,bn,jn,qn)))return fn++,Be(bn,oe?jn:fn-1,It)}),fn},_e.__iteratorUncached=function(Be,et){var It=this;if(et)return this.cacheResult().__iterator(Be,et);var Xt=R.__iterator(2,et),fn=!0,bn=0;return new te(function(){var jn,qn,Di;do{if((jn=Xt.next()).done)return oe||1===Be?jn:H(Be,bn++,0===Be?void 0:jn.value[1],jn);var yi=jn.value;qn=yi[0],Di=yi[1],fn&&(fn=I.call(Q,Di,qn,It))}while(fn);return 2===Be?jn:H(Be,qn,Di,jn)})},_e}Hi.prototype.cacheResult=Ki.prototype.cacheResult=Wi.prototype.cacheResult=qi.prototype.cacheResult=bi;var Vt=function(R){function I(Q){this._wrappedIterables=Q.flatMap(function(oe){return oe._wrappedIterables?oe._wrappedIterables:[oe]}),this.size=this._wrappedIterables.reduce(function(oe,_e){if(void 0!==oe){var Be=_e.size;if(void 0!==Be)return oe+Be}},0),this[h]=this._wrappedIterables[0][h],this[f]=this._wrappedIterables[0][f],this[Dt]=this._wrappedIterables[0][Dt]}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.prototype.__iterateUncached=function(oe,_e){if(0!==this._wrappedIterables.length){if(_e)return this.cacheResult().__iterate(oe,_e);for(var Be=0,et=_(this),It=et?2:1,Xt=this._wrappedIterables[Be].__iterator(It,_e),fn=!0,bn=0;fn;){for(var jn=Xt.next();jn.done;){if(++Be===this._wrappedIterables.length)return bn;jn=(Xt=this._wrappedIterables[Be].__iterator(It,_e)).next()}fn=!1!==(et?oe(jn.value[1],jn.value[0],this):oe(jn.value,bn,this)),bn++}return bn}},I.prototype.__iteratorUncached=function(oe,_e){var Be=this;if(0===this._wrappedIterables.length)return new te(ee);if(_e)return this.cacheResult().__iterator(oe,_e);var et=0,It=this._wrappedIterables[et].__iterator(oe,_e);return new te(function(){for(var Xt=It.next();Xt.done;){if(++et===Be._wrappedIterables.length)return Xt;Xt=(It=Be._wrappedIterables[et].__iterator(oe,_e)).next()}return Xt})},I}(yt);function Bn(R,I,Q){var oe=Xn(R);return oe.__iterateUncached=function(_e,Be){if(Be)return this.cacheResult().__iterate(_e,Be);var et=0,It=!1;return function Xt(fn,bn){fn.__iterate(function(jn,qn){return(!I||bn<I)&&y(jn)?Xt(jn,bn+1):(et++,!1===_e(jn,Q?qn:et-1,oe)&&(It=!0)),!It},Be)}(R,0),et},oe.__iteratorUncached=function(_e,Be){if(Be)return this.cacheResult().__iterator(_e,Be);var et=R.__iterator(_e,Be),It=[],Xt=0;return new te(function(){for(;et;){var fn=et.next();if(!1===fn.done){var bn=fn.value;if(2===_e&&(bn=bn[1]),I&&!(It.length<I)||!y(bn))return Q?fn:H(_e,Xt++,bn,fn);It.push(et),et=bn.__iterator(_e,Be)}else et=It.pop()}return{value:void 0,done:!0}})},oe}function ht(R,I,Q){I||(I=Fi);var oe=_(R),_e=0,Be=R.toSeq().map(function(et,It){return[It,et,_e++,Q?Q(et,It,R):et]}).valueSeq().toArray();return Be.sort(function(et,It){return I(et[3],It[3])||et[2]-It[2]}
1).forEach(oe?function(et,It){Be[It].length=2}:function(et,It){Be[It]=et[1]}),oe?je(Be):g(R)?St(Be):me(Be)}function At(R,I,Q){if(I||(I=Fi),Q){var oe=R.toSeq().map(function(_e,Be){return[_e,Q(_e,Be,R)]}).reduce(function(_e,Be){return jt(I,_e[1],Be[1])?Be:_e});return oe&&oe[0]}return R.reduce(function(_e,Be){return jt(I,_e,Be)?Be:_e})}function jt(R,I,Q){var oe=R(Q,I);return 0===oe&&Q!==I&&(null==Q||Q!=Q)||oe>0}function nn(R,I,Q,oe){var _e=Xn(R),Be=new rt(Q).map(function(et){return et.size});return _e.size=oe?Be.max():Be.min(),_e.__iterate=function(et,It){for(var fn,Xt=this.__iterator(1,It),bn=0;!(fn=Xt.next()).done&&!1!==et(fn.value,bn++,this););return bn},_e.__iteratorUncached=function(et,It){var Xt=Q.map(function(jn){return jn=d(jn),ne(It?jn.reverse():jn)}),fn=0,bn=!1;return new te(function(){var jn;return bn||(jn=Xt.map(function(qn){return qn.next()}),bn=oe?jn.every(function(qn){return qn.done}):jn.some(function(qn){return qn.done})),bn?{value:void 0,done:!0}:H(et,fn++,I.apply(null,jn.map(function(qn){return qn.value})))})},_e}function rn(R,I){return R===I?R:Tt(R)?I:R.constructor(I)}function Sn(R){if(R!==Object(R))throw new TypeError("Expected [K, V] tuple: "+R)}function kn(R){return _(R)?M:g(R)?A:D}function Xn(R){return Object.create((_(R)?je:g(R)?St:me).prototype)}function bi(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):yt.prototype.cacheResult.call(this)}function Fi(R,I){return void 0===R&&void 0===I?0:void 0===R?1:void 0===I?-1:R>I?1:R<I?-1:0}function Ut(R){return!(!R||"function"!=typeof R.equals||"function"!=typeof R.hashCode)}function vn(R,I){if(R===I||R!=R&&I!=I)return!0;if(!R||!I)return!1;if("function"==typeof R.valueOf&&"function"==typeof I.valueOf){if((R=R.valueOf())===(I=I.valueOf())||R!=R&&I!=I)return!0;if(!R||!I)return!1}return!!(Ut(R)&&Ut(I)&&R.equals(I))}function Hn(R,I,Q,oe){return Xi(R,[I],Q,oe)}function Kn(){for(var R=[],I=arguments.length;I--;)R[I]=arguments[I];return Pi(this,R)}function ai(R){for(var I=[],Q=arguments.length-1;Q-- >0;)I[Q]=arguments[Q+1];if("function"!=typeof R)throw new TypeError("Invalid merger function: "+R);return Pi(this,I,R)}function Pi(R,I,Q){for(var oe=[],_e=0;_e<I.length;_e++){var Be=M(I[_e]);0!==Be.size&&oe.push(Be)}return 0===oe.length?R:0!==R.toSeq().size||R.__ownerID||1!==oe.length?R.withMutations(function(et){for(var It=Q?function(fn,bn){Hn(et,bn,Fe,function(jn){return jn===Fe?fn:Q(jn,fn,bn)})}:function(fn,bn){et.set(bn,fn)},Xt=0;Xt<oe.length;Xt++)oe[Xt].forEach(It)}):Ve(R)?R:R.constructor(oe[0])}var oi=Object.prototype.toString;function wi(R){return"object"==typeof R&&(dt(R)||Array.isArray(R)||function mi(R){if(!R||"object"!=typeof R||"[object Object]"!==oi.call(R))return!1;var I=Object.getPrototypeOf(R);if(null===I)return!0;for(var Q=I,oe=Object.getPrototypeOf(I);null!==oe;)Q=oe,oe=Object.getPrototypeOf(Q);return Q===I}(R))}function _i(R){return"string"==typeof R&&("__proto__"===R||"constructor"===R)}function hi(R,I){I=I||0;for(var Q=Math.max(0,R.length-I),oe=new Array(Q),_e=0;_e<Q;_e++)oe[_e]=R[_e+I];return oe}function Ti(R){if(Array.isArray(R))return hi(R);var I={};for(var Q in R)_i(Q)||qt.call(R,Q)&&(I[Q]=R[Q]);return I}function cn(R,I,Q){return yn(R,I,function Un(R){return function I(Q,oe,_e){return wi(Q)&&wi(oe)&&function Zn(R,I){var Q=yt(R),oe=yt(I);return g(Q)===g(oe)&&_(Q)===_(oe)}(Q,oe)?yn(Q,[oe],I):R?R(Q,oe,_e):oe}}(Q))}function yn(R,I,Q){if(!wi(R))throw new TypeError("Cannot merge into non-data-structure value: "+R);if(dt(R))return"function"==typeof Q&&R.mergeWith?R.mergeWith.apply(R,[Q].concat(I)):R.merge?R.merge.apply(R,I):R.concat.apply(R,I);for(var oe=Array.isArray(R),_e=R,Be=oe?A:M,et=oe?function(Xt){_e===R&&(_e=Ti(_e)),_e.push(Xt)}:function(Xt,fn){if(!_i(fn)){var bn=qt.call(_e,fn),jn=bn&&Q?Q(_e[fn],Xt,fn):Xt;(!bn||jn!==_e[fn])&&(_e===R&&(_e=Ti(_e)),_e[fn]=jn)}},It=0;It<I.length;It++)Be(I[It]).forEach(et);return _e}function tn(){for(var R=[],I=arguments.length;I--;)R[I]=arguments[I];return cn(this,R)}function Zi(R){for(var I=[],Q=arguments.length-1;Q-- >0;)I[Q]=arguments[Q+1];return cn(this,I,R)}function fo(R){for(var I=[],Q=arguments.length-1;Q-- >0;)I[Q]=arguments[Q+1];return Xi(this,R,Si(),function(oe){return cn(oe,I)})}function zi(R){for(var I=[],Q=arguments.length-1;Q-- >0;)I[Q]=arguments[Q+1];return Xi(this,R,Si(),function(oe){return yn(oe,I)})}function To(R,I){return function go(R,I,Q){return Xi(R,I,Fe,function(){return Q})}(this,R,I)}function Io(R,I,Q){return 1===arguments.length?R(this):Hn(this,R,I,Q)}function Do(R,I,Q){return Xi(this,R,I,Q)}function Ie(){return this.__altered}function Ot(R){var I=this.asMutable();return R(I),I.wasAltered()?I.__ensureOwner(this.__ownerID):this}
1var ze="@@__IMMUTABLE_MAP__@@";function pt(R){return!(!R||!R[ze])}function on(R,I){if(!R)throw new Error(I)}function wn(R){on(R!==1/0,"Cannot perform this action with an infinite size.")}var Ge=function(R){function I(Q){return null==Q?Si():pt(Q)&&!wt(Q)?Q:Si().withMutations(function(oe){var _e=R(Q);wn(_e.size),_e.forEach(function(Be,et){return oe.set(et,Be)})})}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.prototype.toString=function(){return this.__toString("Map {","}")},I.prototype.get=function(oe,_e){return this._root?this._root.get(0,void 0,oe,_e):_e},I.prototype.set=function(oe,_e){return $i(this,oe,_e)},I.prototype.remove=function(oe){return $i(this,oe,Fe)},I.prototype.deleteAll=function(oe){var _e=d(oe);return 0===_e.size?this:this.withMutations(function(Be){_e.forEach(function(et){return Be.remove(et)})})},I.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Si()},I.prototype.sort=function(oe){return cs(ht(this,oe))},I.prototype.sortBy=function(oe,_e){return cs(ht(this,_e,oe))},I.prototype.map=function(oe,_e){var Be=this;return this.withMutations(function(et){et.forEach(function(It,Xt){et.set(Xt,oe.call(_e,It,Xt,Be))})})},I.prototype.__iterator=function(oe,_e){return new Wn(this,oe,_e)},I.prototype.__iterate=function(oe,_e){var Be=this,et=0;return this._root&&this._root.iterate(function(It){return et++,oe(It[1],It[0],Be)},_e),et},I.prototype.__ensureOwner=function(oe){return oe===this.__ownerID?this:oe?Mi(this.size,this._root,oe,this.__hash):0===this.size?Si():(this.__ownerID=oe,this.__altered=!1,this)},I}(M);Ge.isMap=pt;var qe=Ge.prototype;qe[ze]=!0,qe[Oe]=qe.remove,qe.removeAll=qe.deleteAll,qe.setIn=To,qe.removeIn=qe.deleteIn=Go,qe.update=Io,qe.updateIn=Do,qe.merge=qe.concat=Kn,qe.mergeWith=ai,qe.mergeDeep=tn,qe.mergeDeepWith=Zi,qe.mergeIn=zi,qe.mergeDeepIn=fo,qe.withMutations=Ot,qe.wasAltered=Ie,qe.asImmutable=le,qe["@@transducer/init"]=qe.asMutable=$,qe["@@transducer/step"]=function(R,I){return R.set(I[0],I[1])},qe["@@transducer/result"]=function(R){return R.asImmutable()};var xt=function(I,Q){this.ownerID=I,this.entries=Q};xt.prototype.get=function(I,Q,oe,_e){for(var Be=this.entries,et=0,It=Be.length;et<It;et++)if(vn(oe,Be[et][0]))return Be[et][1];return _e},xt.prototype.update=function(I,Q,oe,_e,Be,et,It){for(var Xt=Be===Fe,fn=this.entries,bn=0,jn=fn.length;bn<jn&&!vn(_e,fn[bn][0]);bn++);var qn=bn<jn;if(qn?fn[bn][1]===Be:Xt)return this;if(Qe(It),(Xt||!qn)&&Qe(et),!Xt||1!==fn.length){if(!qn&&!Xt&&fn.length>=is)return function Vo(R,I,Q,oe){R||(R=new kt);for(var _e=new Rn(R,an(Q),[Q,oe]),Be=0;Be<I.length;Be++){var et=I[Be];_e=_e.update(R,0,void 0,et[0],et[1])}return _e}(I,fn,_e,Be);var Di=I&&I===this.ownerID,yi=Di?fn:hi(fn);return qn?Xt?bn===jn-1?yi.pop():yi[bn]=yi.pop():yi[bn]=[_e,Be]:yi.push([_e,Be]),Di?(this.entries=yi,this):new xt(I,yi)}};var un=function(I,Q,oe){this.ownerID=I,this.bitmap=Q,this.nodes=oe};un.prototype.get=function(I,Q,oe,_e){void 0===Q&&(Q=an(oe));var Be=1<<(31&(0===I?Q:Q>>>I)),et=this.bitmap;return 0===(et&Be)?_e:this.nodes[No(et&Be-1)].get(I+5,Q,oe,_e)},un.prototype.update=function(I,Q,oe,_e,Be,et,It){void 0===oe&&(oe=an(_e));var Xt=31&(0===Q?oe:oe>>>Q),fn=1<<Xt,bn=this.bitmap,jn=0!==(bn&fn);if(!jn&&Be===Fe)return this;var qn=No(bn&fn-1),Di=this.nodes,yi=jn?Di[qn]:void 0,xi=ro(yi,I,Q+5,oe,_e,Be,et,It);if(xi===yi)return this;if(!jn&&xi&&Di.length>=ls)return function hs(R,I,Q,oe,_e){for(var Be=0,et=new Array(32),It=0;0!==Q;It++,Q>>>=1)et[It]=1&Q?I[Be++]:void 0;return et[oe]=_e,new gt(R,Be+1,et)}(I,Di,bn,Xt,xi);if(jn&&!xi&&2===Di.length&&no(Di[1^qn]))return Di[1^qn];if(jn&&xi&&1===Di.length&&no(xi))return xi;var wo=I&&I===this.ownerID,Ro=jn?xi?bn:bn^fn:bn|fn,W=jn?xi?uo(Di,qn,xi,wo):function Mo(R,I,Q){var oe=R.length-1;if(Q&&I===oe)return R.pop(),R;for(var _e=new Array(oe),Be=0,et=0;et<oe;et++)et===I&&(Be=1),_e[et]=R[et+Be];return _e}(Di,qn,wo):function Xo(R,I,Q,oe){var _e=R.length+1;if(oe&&I+1===_e)return R[I]=Q,R;for(var Be=new Array(_e),et=0,It=0;It<_e;It++)It===I?(Be[It]=Q,et=-1):Be[It]=R[It+et];return Be}(Di,qn,xi,wo);return wo?(this.bitmap=Ro,this.nodes=W,this):new un(I,Ro,W)};var gt=function(I,Q,oe){this.ownerID=I,this.count=Q,this.nodes=oe};gt.prototype.get=function(I,Q,oe,_e){void 0===Q&&(Q=an(oe));var et=this.nodes[31&(0===I?Q:Q>>>I)];return et?et.get(I+5,Q,oe,_e):_e},gt.prototype.update=function(I,Q,oe,_e,Be,et,It){void 0===oe&&(oe=an(_e));var Xt=31&(0===Q?oe:oe>>>Q),bn=this.nodes,jn=bn[Xt];if(Be===Fe&&!jn)return this;var qn=ro(jn,I,Q+5,oe,_e,Be,et,It);if(qn===jn)return this;var Di=this.count;if(jn){if(!qn&&--Di<Yo)return function yo(R,I,Q,oe){for(var _e=0,Be=0,et=new Array(Q),It=0,Xt=1,fn=I.length;It<fn;It++,Xt<<=1){var bn=I[It];void 0!==bn&&It!==oe&&(_e|=Xt,et[Be++]=bn)}return new un(R,_e,et)}(I,bn,Di,Xt)}else Di++;var yi=I&&I===this.ownerID,xi=uo(bn,Xt,qn,yi);return yi?(this.count=Di,this.nodes=xi,this):new gt(I,Di,xi)};
vendor: 3,775 bytes, line 1
1var mn=function(I,Q,oe){this.ownerID=I,this.keyHash=Q,this.entries=oe};mn.prototype.get=function(I,Q,oe,_e){for(var Be=this.entries,et=0,It=Be.length;et<It;et++)if(vn(oe,Be[et][0]))return Be[et][1];return _e},mn.prototype.update=function(I,Q,oe,_e,Be,et,It){void 0===oe&&(oe=an(_e));var Xt=Be===Fe;if(oe!==this.keyHash)return Xt?this:(Qe(It),Qe(et),mo(this,I,Q,oe,[_e,Be]));for(var fn=this.entries,bn=0,jn=fn.length;bn<jn&&!vn(_e,fn[bn][0]);bn++);var qn=bn<jn;if(qn?fn[bn][1]===Be:Xt)return this;if(Qe(It),(Xt||!qn)&&Qe(et),Xt&&2===jn)return new Rn(I,this.keyHash,fn[1^bn]);var Di=I&&I===this.ownerID,yi=Di?fn:hi(fn);return qn?Xt?bn===jn-1?yi.pop():yi[bn]=yi.pop():yi[bn]=[_e,Be]:yi.push([_e,Be]),Di?(this.entries=yi,this):new mn(I,this.keyHash,yi)};var Rn=function(I,Q,oe){this.ownerID=I,this.keyHash=Q,this.entry=oe};Rn.prototype.get=function(I,Q,oe,_e){return vn(oe,this.entry[0])?this.entry[1]:_e},Rn.prototype.update=function(I,Q,oe,_e,Be,et,It){var Xt=Be===Fe,fn=vn(_e,this.entry[0]);return(fn?Be===this.entry[1]:Xt)?this:(Qe(It),Xt?void Qe(et):fn?I&&I===this.ownerID?(this.entry[1]=Be,this):new Rn(I,this.keyHash,[_e,Be]):(Qe(et),mo(this,I,Q,an(_e),[_e,Be])))},xt.prototype.iterate=mn.prototype.iterate=function(R,I){for(var Q=this.entries,oe=0,_e=Q.length-1;oe<=_e;oe++)if(!1===R(Q[I?_e-oe:oe]))return!1},un.prototype.iterate=gt.prototype.iterate=function(R,I){for(var Q=this.nodes,oe=0,_e=Q.length-1;oe<=_e;oe++){var Be=Q[I?_e-oe:oe];if(Be&&!1===Be.iterate(R,I))return!1}},Rn.prototype.iterate=function(R,I){return R(this.entry)};var vi,Wn=function(R){function I(Q,oe,_e){this._type=oe,this._reverse=_e,this._stack=Q._root&&ki(Q._root)}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.prototype.next=function(){for(var oe=this._type,_e=this._stack;_e;){var Be=_e.node,et=_e.index++,It=void 0;if(Be.entry){if(0===et)return ii(oe,Be.entry)}else if(Be.entries){if(et<=(It=Be.entries.length-1))return ii(oe,Be.entries[this._reverse?It-et:et])}else if(et<=(It=Be.nodes.length-1)){var Xt=Be.nodes[this._reverse?It-et:et];if(Xt){if(Xt.entry)return ii(oe,Xt.entry);_e=this._stack=ki(Xt,_e)}continue}_e=this._stack=this._stack.__prev}return{value:void 0,done:!0}},I}(te);function ii(R,I){return H(R,I[0],I[1])}function ki(R,I){return{node:R,index:0,__prev:I}}function Mi(R,I,Q,oe){var _e=Object.create(qe);return _e.size=R,_e._root=I,_e.__ownerID=Q,_e.__hash=oe,_e.__altered=!1,_e}function Si(){return vi||(vi=Mi(0))}function $i(R,I,Q){var oe,_e;if(R._root){var Be={value:!1},et={value:!1};if(oe=ro(R._root,R.__ownerID,0,void 0,I,Q,Be,et),!et.value)return R;_e=R.size+(Be.value?Q===Fe?-1:1:0)}else{if(Q===Fe)return R;_e=1,oe=new xt(R.__ownerID,[[I,Q]])}return R.__ownerID?(R.size=_e,R._root=oe,R.__hash=void 0,R.__altered=!0,R):oe?Mi(_e,oe):Si()}function ro(R,I,Q,oe,_e,Be,et,It){return R?R.update(I,Q,oe,_e,Be,et,It):Be===Fe?R:(Qe(It),Qe(et),new Rn(I,oe,[_e,Be]))}function no(R){return R.constructor===Rn||R.constructor===mn}function mo(R,I,Q,oe,_e){if(R.keyHash===oe)return new mn(I,oe,[R.entry,_e]);var It,Be=31&(0===Q?R.keyHash:R.keyHash>>>Q),et=31&(0===Q?oe:oe>>>Q),Xt=Be===et?[mo(R,I,Q+5,oe,_e)]:(It=new Rn(I,oe,_e),Be<et?[R,It]:[It,R]);return new un(I,1<<Be|1<<et,Xt)}function No(R){return R=(R=(858993459&(R-=R>>1&1431655765))+(R>>2&858993459))+(R>>4)&252645135,127&(R+=R>>8)+(R>>16)}function uo(R,I,Q,oe){var _e=oe?R:hi(R);return _e[I]=Q,_e}var is=8,ls=16,Yo=8;function Jo(R){if(We(R)&&"string"!=typeof R)return R;if(wt(R))return R.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+R)}function ho(R){try{return"string"==typeof R?JSON.stringify(R):String(R)}catch{return JSON.stringify(R)}}function bo(R,I,Q){return dt(R)?R.get(I,Q):function es(R,I){return dt(R)?R.has(I):wi(R)&&qt.call(R,I)}
1(R,I)?"function"==typeof R.get?R.get(I):R[I]:Q}function Xi(R,I,Q,oe){oe||(oe=Q,Q=void 0);var _e=ms(dt(R),R,Jo(I),0,Q,oe);return _e===Fe?Q:_e}function ms(R,I,Q,oe,_e,Be){var et=I===Fe;if(oe===Q.length){var It=et?_e:I,Xt=Be(It);return Xt===It?I:Xt}if(!et&&!wi(I))throw new TypeError("Cannot update within non-data-structure value in path ["+Array.from(Q).slice(0,oe).map(ho)+"]: "+I);var fn=Q[oe],bn=et?Fe:bo(I,fn,Fe),jn=ms(bn===Fe?R:dt(bn),bn,Q,oe+1,_e,Be);return jn===bn?I:jn===Fe?function Po(R,I){if(!wi(R))throw new TypeError("Cannot update non-data-structure value: "+R);if(dt(R)){if(!R.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+R);return R.remove(I)}if(!qt.call(R,I))return R;var Q=Ti(R);return Array.isArray(Q)?Q.splice(I,1):delete Q[I],Q}(I,fn):function zo(R,I,Q){if("string"==typeof I&&_i(I))return R;if(!wi(R))throw new TypeError("Cannot update non-data-structure value: "+R);if(dt(R)){if(!R.set)throw new TypeError("Cannot update immutable value without .set() method: "+R);return R.set(I,Q)}if(qt.call(R,I)&&Q===R[I])return R;var oe=Ti(R);return oe[I]=Q,oe}(et?R?Si():{}:I,fn,jn)}function Go(R){return function Ao(R,I){return Xi(R,I,function(){return Fe})}(this,R)}
1var zs="@@__IMMUTABLE_LIST__@@";function os(R){return!(!R||!R[zs])}var ts=function(R){function I(Q){var oe=Ye();if(null==Q)return oe;if(os(Q))return Q;var _e=R(Q),Be=_e.size;return 0===Be?oe:(wn(Be),Be>0&&Be<32?pe(0,Be,5,null,new Z(_e.toArray())):oe.withMutations(function(et){et.setSize(Be),_e.forEach(function(It,Xt){return et.set(Xt,It)})}))}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.of=function(){return this(arguments)},I.prototype.toString=function(){return this.__toString("List [","]")},I.prototype.get=function(oe,_e){if((oe=Pt(this,oe))>=0&&oe<this.size){var Be=oo(this,oe+=this._origin);return Be&&Be.array[31&oe]}return _e},I.prototype.set=function(oe,_e){return function Ft(R,I,Q){if((I=Pt(R,I))!=I)return R;if(I>=R.size||I<0)return R.withMutations(function(et){I<0?jo(et,I).set(0,Q):jo(et,0,I+1).set(I,Q)});var oe=R._tail,_e=R._root,Be={value:!1};return(I+=R._origin)>=_o(R._capacity)?oe=Nn(oe,R.__ownerID,0,I,Q,Be):_e=Nn(_e,R.__ownerID,R._level,I,Q,Be),Be.value?R.__ownerID?(R._root=_e,R._tail=oe,R.__hash=void 0,R.__altered=!0,R):pe(R._origin,R._capacity,R._level,_e,oe):R}(this,oe,_e)},I.prototype.remove=function(oe){return this.has(oe)?0===oe?this.shift():oe===this.size-1?this.pop():this.splice(oe,1):this},I.prototype.insert=function(oe,_e){return this.splice(oe,0,_e)},I.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):Ye()},I.prototype.push=function(){var oe=arguments,_e=this.size;return this.withMutations(function(Be){jo(Be,0,_e+oe.length);for(var et=0;et<oe.length;et++)Be.set(_e+et,oe[et])})},I.prototype.pop=function(){return jo(this,0,-1)},I.prototype.unshift=function(){var oe=arguments;return this.withMutations(function(_e){jo(_e,-oe.length);for(var Be=0;Be<oe.length;Be++)_e.set(Be,oe[Be])})},I.prototype.shift=function(){return jo(this,1)},I.prototype.shuffle=function(oe){return void 0===oe&&(oe=Math.random),this.withMutations(function(_e){for(var et,It,Be=_e.size;Be;)et=Math.floor(oe()*Be--),It=_e.get(et),_e.set(et,_e.get(Be)),_e.set(Be,It)})},I.prototype.concat=function(){for(var oe=arguments,_e=[],Be=0;Be<arguments.length;Be++){var et=oe[Be],It=R("string"!=typeof et&&F(et)?et:[et]);0!==It.size&&_e.push(It)}return 0===_e.length?this:0!==this.size||this.__ownerID||1!==_e.length?this.withMutations(function(Xt){_e.forEach(function(fn){return fn.forEach(function(bn){return Xt.push(bn)})})}):this.constructor(_e[0])},I.prototype.setSize=function(oe){return jo(this,0,oe)},I.prototype.map=function(oe,_e){var Be=this;return this.withMutations(function(et){for(var It=0;It<Be.size;It++)et.set(It,oe.call(_e,et.get(It),It,Be))})},I.prototype.slice=function(oe,_e){var Be=this.size;return fe(oe,_e,Be)?this:jo(this,ie(oe,Be),Xe(_e,Be))},I.prototype.__iterator=function(oe,_e){var Be=_e?this.size:0,et=j(this,_e);return new te(function(){var It=et();return It===nt?{value:void 0,done:!0}:H(oe,_e?--Be:Be++,It)})},I.prototype.__iterate=function(oe,_e){for(var It,Be=_e?this.size:0,et=j(this,_e);(It=et())!==nt&&!1!==oe(It,_e?--Be:Be++,this););return Be},I.prototype.__ensureOwner=function(oe){return oe===this.__ownerID?this:oe?pe(this._origin,this._capacity,this._level,this._root,this._tail,oe,this.__hash):0===this.size?Ye():(this.__ownerID=oe,this.__altered=!1,this)},I}(A);ts.isList=os;var vo=ts.prototype;vo[zs]=!0,vo[Oe]=vo.remove,vo.merge=vo.concat,vo.setIn=To,vo.deleteIn=vo.removeIn=Go,vo.update=Io,vo.updateIn=Do,vo.mergeIn=zi,vo.mergeDeepIn=fo,vo.withMutations=Ot,vo.wasAltered=Ie,vo.asImmutable=le,vo["@@transducer/init"]=vo.asMutable=$,vo["@@transducer/step"]=function(R,I){return R.push(I)},vo["@@transducer/result"]=function(R){return R.asImmutable()};var Z=function(I,Q){this.array=I,this.ownerID=Q};Z.prototype.removeBefore=function(I,Q,oe){if(!(oe&(1<<Q+5)-1)||0===this.array.length)return this;var _e=oe>>>Q&31;if(_e>=this.array.length)return new Z([],I);var et,Be=0===_e;if(Q>0){var It=this.array[_e];if((et=It&&It.removeBefore(I,Q-5,oe))===It&&Be)return this}if(Be&&!et)return this;var Xt=Ji(this,I);if(!Be)for(var fn=0;fn<_e;fn++)Xt.array[fn]=void 0;return et&&(Xt.array[_e]=et),Xt},Z.prototype.removeAfter=function(I,Q,oe){if(oe===(Q?1<<Q+5:32)||
10===this.array.length)return this;var Be,_e=oe-1>>>Q&31;if(_e>=this.array.length)return this;if(Q>0){var et=this.array[_e];if((Be=et&&et.removeAfter(I,Q-5,oe))===et&&_e===this.array.length-1)return this}var It=Ji(this,I);return It.array.splice(_e+1),Be&&(It.array[_e]=Be),It};var nt={};function j(R,I){var Q=R._origin,oe=R._capacity,_e=_o(oe),Be=R._tail;return function et(fn,bn,jn){return 0===bn?function It(fn,bn){var jn=bn===_e?Be&&Be.array:fn&&fn.array,qn=bn>Q?0:Q-bn,Di=oe-bn;return Di>32&&(Di=32),function(){if(qn===Di)return nt;var yi=I?--Di:qn++;return jn&&jn[yi]}}(fn,jn):function Xt(fn,bn,jn){var qn,Di=fn&&fn.array,yi=jn>Q?0:Q-jn>>bn,xi=1+(oe-jn>>bn);return xi>32&&(xi=32),function(){for(;;){if(qn){var wo=qn();if(wo!==nt)return wo;qn=null}if(yi===xi)return nt;var Ro=I?--xi:yi++;qn=et(Di&&Di[Ro],bn-5,jn+(Ro<<bn))}}}(fn,bn,jn)}(R._root,R._level,0)}function pe(R,I,Q,oe,_e,Be,et){var It=Object.create(vo);return It.size=I-R,It._origin=R,It._capacity=I,It._level=Q,It._root=oe,It._tail=_e,It.__ownerID=Be,It.__hash=et,It.__altered=!1,It}function Ye(){return pe(0,0,5)}function Nn(R,I,Q,oe,_e,Be){var Xt,et=oe>>>Q&31,It=R&&et<R.array.length;if(!It&&void 0===_e)return R;if(Q>0){var fn=R&&R.array[et],bn=Nn(fn,I,Q-5,oe,_e,Be);return bn===fn?R:((Xt=Ji(R,I)).array[et]=bn,Xt)}return It&&R.array[et]===_e?R:(Be&&Qe(Be),Xt=Ji(R,I),void 0===_e&&et===Xt.array.length-1?Xt.array.pop():Xt.array[et]=_e,Xt)}function Ji(R,I){return I&&R&&I===R.ownerID?R:new Z(R?R.array.slice():[],I)}function oo(R,I){if(I>=_o(R._capacity))return R._tail;if(I<1<<R._level+5){for(var Q=R._root,oe=R._level;Q&&oe>0;)Q=Q.array[I>>>oe&31],oe-=5;return Q}}function jo(R,I,Q){void 0!==I&&(I|=0),void 0!==Q&&(Q|=0);var oe=R.__ownerID||new kt,_e=R._origin,Be=R._capacity,et=_e+I,It=void 0===Q?Be:Q<0?Be+Q:_e+Q;if(et===_e&&It===Be)return R;if(et>=It)return R.clear();for(var Xt=R._level,fn=R._root,bn=0;et+bn<0;)fn=new Z(fn&&fn.array.length?[void 0,fn]:[],oe),bn+=1<<(Xt+=5);bn&&(et+=bn,_e+=bn,It+=bn,Be+=bn);for(var jn=_o(Be),qn=_o(It);qn>=1<<Xt+5;)fn=new Z(fn&&fn.array.length?[fn]:[],oe),Xt+=5;var Di=R._tail,yi=qn<jn?oo(R,It-1):qn>jn?new Z([],oe):Di;if(Di&&qn>jn&&et<Be&&Di.array.length){for(var xi=fn=Ji(fn,oe),wo=Xt;wo>5;wo-=5){var Ro=jn>>>wo&31;xi=xi.array[Ro]=Ji(xi.array[Ro],oe)}xi.array[jn>>>5&31]=Di}if(It<Be&&(yi=yi&&yi.removeAfter(oe,0,It)),et>=qn)et-=qn,It-=qn,Xt=5,fn=null,yi=yi&&yi.removeBefore(oe,0,et);else if(et>_e||qn<jn){for(bn=0;fn;){var W=et>>>Xt&31;if(W!==qn>>>Xt&31)break;W&&(bn+=(1<<Xt)*W),Xt-=5,fn=fn.array[W]}fn&&et>_e&&(fn=fn.removeBefore(oe,Xt,et-bn)),fn&&qn<jn&&(fn=fn.removeAfter(oe,Xt,qn-bn)),bn&&(et-=bn,It-=bn)}return R.__ownerID?(R.size=It-et,R._origin=et,R._capacity=It,R._level=Xt,R._root=fn,R._tail=yi,R.__hash=void 0,R.__altered=!0,R):pe(et,It,Xt,fn,yi)}function _o(R){return R<32?0:R-1>>>5<<5}function So(R){return pt(R)&&wt(R)}var ui,cs=function(R){function I(Q){return null==Q?ss():So(Q)?Q:ss().withMutations(function(oe){var _e=M(Q);wn(_e.size),_e.forEach(function(Be,et){return oe.set(et,Be)})})}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.of=function(){return this(arguments)},I.prototype.toString=function(){return this.__toString("OrderedMap {","}")},I.prototype.get=function(oe,_e){var Be=this._map.get(oe);return void 0!==Be?this._list.get(Be)[1]:_e},I.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):ss()},I.prototype.set=function(oe,_e){return Qo(this,oe,_e)},I.prototype.remove=function(oe){return Qo(this,oe,Fe)},I.prototype.__iterate=function(oe,_e){var Be=this;return this._list.__iterate(function(et){return et&&oe(et[1],et[0],Be)},_e)},I.prototype.__iterator=function(oe,_e){return this._list.fromEntrySeq().__iterator(oe,_e)},I.prototype.__ensureOwner=function(oe){if(oe===this.__ownerID)return this;var _e=this._map.__ensureOwner(oe),Be=this._list.__ensureOwner(oe);return oe?us(_e,Be,oe,this.__hash):0===this.size?ss():(this.__ownerID=oe,this.__altered=!1,this._map=_e,this._list=Be,this)},I}(Ge);function us(R,I,Q,oe){var _e=Object.create(cs.prototype);return _e.size=R?R.size:0,_e._map=R,_e._list=I,_e.__ownerID=Q,_e.__hash=oe,_e.__altered=!1,_e}function ss(){return ui||(ui=us(Si(),Ye()))}function Qo(R,I,Q){var It,Xt,oe=R._map,_e=R._list,Be=oe.get(I),et=void 0!==Be;if(Q===Fe){if(!et)return R;_e.size>=32&&_e.size>=2*oe.size?(It=(Xt=_e.filter(function(fn,bn){return void 0!==fn&&Be!==bn})).toKeyedSeq().map(function(fn){return fn[0]}).flip().toMap(),R.__ownerID&&(It.__ownerID=Xt.__ownerID=R.__ownerID)):(It=oe.remove(I),Xt=Be===_e.size-1?_e.pop():_e.set(Be,void 0))}else if(et){if(Q===_e.get(Be)[1])return R;It=oe,Xt=_e.set(Be,[I,Q])}else It=oe.set(I,_e.size),Xt=_e.set(_e.size,[I,Q]);return R.__ownerID?(R.size=It.size,R._map=It,R._list=Xt,R.__hash=void 0,R.__altered=!0,R):us(It,Xt)}cs.isOrderedMap=So,cs.prototype[Dt]=!0,cs.prototype[Oe]=cs.prototype.remove;var Fo="@@__IMMUTABLE_STACK__@@";function xs(R){return!(!R||!R[Fo])}var qo=function(R){function I(Q){return null==Q?tt():xs(Q)?Q:tt().pushAll(Q)}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.of=function(){return this(arguments)},I.prototype.toString=function(){return this.__toString("Stack [","]")},I.prototype.get=function(oe,_e){var Be=this._head;for(oe=Pt(this,oe);Be&&oe--;)Be=Be.next;return Be?Be.value:_e},I.prototype.peek=function(){return this._head&&this._head.value},I.prototype.push=function(){var oe=arguments;if(0===arguments.length)return this;for(var _e=this.size+arguments.length,Be=this._head,et=arguments.length-1;et>=0;et--)Be={value:oe[et],next:Be};return this.__ownerID?(this.size=_e,this._head=Be,this.__hash=void 0,this.__altered=!0,this):Ae(_e,Be)},I.prototype.pushAll=function(oe){if(0===(oe=R(oe)).size)return this;if(0===this.size&&xs(oe))return oe;wn(oe.size);var _e=this.size,Be=this._head;return oe.__iterate(function(et){_e++,Be={value:et,next:Be}},!0),this.__ownerID?(this.size=_e,this._head=Be,this.__hash=void 0,this.__altered=!0,this):Ae(_e,Be)},I.prototype.pop=function(){return this.slice(1)},I.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):tt()},I.prototype.slice=function(oe,_e){if(fe(oe,_e,this.size))return this;var Be=ie(oe,this.size);if(Xe(_e,this.size)!==this.size)return R.prototype.slice.call(this,oe,_e);for(var It=this.size-Be,Xt=this._head;Be--;)Xt=Xt.next;return this.__ownerID?(this.size=It,this._head=Xt,this.__hash=void 0,this.__altered=!0,this):Ae(It,Xt)},I.prototype.__ensureOwner=function(oe){return oe===this.__ownerID?this:oe?Ae(this.size,this._head,oe,this.__hash):0===this.size?tt():(this.__ownerID=oe,this.__altered=!1,this)},I.prototype.__iterate=function(oe,_e){var Be=this;if(_e)return new rt(this.toArray()).__iterate(function(Xt,fn){return oe(Xt,fn,Be)},_e);for(var et=0,It=this._head;It&&!1!==oe(It.value,et++,this);)It=It.next;return et},I.prototype.__iterator=function(oe,_e){if(_e)return new rt(this.toArray()).__iterator(oe,_e);var Be=0,et=this._head;return new te(function(){if(et){var It=et.value;return et=et.next,H(oe,Be++,It)}return{value:void 0,done:!0}})},I}(A);qo.isStack=xs;var se,be=qo.prototype;function Ae(R,I,Q,oe){var _e=Object.create(be);return _e.size=R,_e._head=I,_e.__ownerID=Q,_e.__hash=oe,_e.__altered=!1,_e}function tt(){return se||(se=Ae(0))}function $t(R,I,Q,oe,_e,Be){return wn(R.size),R.__iterate(function(et,It,Xt){_e?(_e=!1,Q=et):Q=I.call(oe,Q,et,It,Xt)},Be),Q}function ni(R,I){return I}function Bi(R,I){return[I,R]}function Zo(R){return function(){for(var I=[],Q=arguments.length;Q--;)I[Q]=arguments[Q];return!R.apply(this,I)}}function Qs(R){return function(){for(var I=[],Q=arguments.length;Q--;)I[Q]=arguments[Q];return-R.apply(this,I)}}function Ns(R,I){return R<I?1:R>I?-1:0}function ns(R,I){if(R===I)return!0;
1if(!y(I)||void 0!==R.size&&void 0!==I.size&&R.size!==I.size||void 0!==R.__hash&&void 0!==I.__hash&&R.__hash!==I.__hash||_(R)!==_(I)||g(R)!==g(I)||wt(R)!==wt(I))return!1;if(0===R.size&&0===I.size)return!0;var Q=!C(R);if(wt(R)){var oe=R.entries();return I.every(function(Xt,fn){var bn=oe.next().value;return bn&&vn(bn[1],Xt)&&(Q||vn(bn[0],fn))})&&oe.next().done}var _e=!1;if(void 0===R.size)if(void 0===I.size)"function"==typeof R.cacheResult&&R.cacheResult();else{_e=!0;var Be=R;R=I,I=Be}var et=!0,It=I.__iterate(function(Xt,fn){if(Q?!R.has(Xt):_e?!vn(Xt,R.get(fn,Fe)):!vn(R.get(fn,Fe),Xt))return et=!1,!1});return et&&R.size===It}be[Fo]=!0,be.shift=be.pop,be.unshift=be.push,be.unshiftAll=be.pushAll,be.withMutations=Ot,be.wasAltered=Ie,be.asImmutable=le,be["@@transducer/init"]=be.asMutable=$,be["@@transducer/step"]=function(R,I){return R.unshift(I)},be["@@transducer/result"]=function(R){return R.asImmutable()};var _s,Or=function(R){function I(Q,oe,_e){if(void 0===_e&&(_e=1),!(this instanceof I))return new I(Q,oe,_e);if(on(0!==_e,"Cannot step a Range by 0"),on(void 0!==Q,"You must define a start value when using Range"),on(void 0!==oe,"You must define an end value when using Range"),_e=Math.abs(_e),oe<Q&&(_e=-_e),this._start=Q,this._end=oe,this._step=_e,this.size=Math.max(0,Math.ceil((oe-Q)/_e-1)+1),0===this.size){if(_s)return _s;_s=this}}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},I.prototype.get=function(oe,_e){return this.has(oe)?this._start+Pt(this,oe)*this._step:_e},I.prototype.includes=function(oe){var _e=(oe-this._start)/this._step;return _e>=0&&_e<this.size&&_e===Math.floor(_e)},I.prototype.slice=function(oe,_e){return fe(oe,_e,this.size)?this:(oe=ie(oe,this.size),(_e=Xe(_e,this.size))<=oe?new I(0,0):new I(this.get(oe,this._end),this.get(_e,this._end),this._step))}
1,I.prototype.indexOf=function(oe){var _e=oe-this._start;if(_e%this._step===0){var Be=_e/this._step;if(Be>=0&&Be<this.size)return Be}return-1},I.prototype.lastIndexOf=function(oe){return this.indexOf(oe)},I.prototype.__iterate=function(oe,_e){for(var Be=this.size,et=this._step,It=_e?this._start+(Be-1)*et:this._start,Xt=0;Xt!==Be&&!1!==oe(It,_e?Be-++Xt:Xt++,this);)It+=_e?-et:et;return Xt},I.prototype.__iterator=function(oe,_e){var Be=this.size,et=this._step,It=_e?this._start+(Be-1)*et:this._start,Xt=0;return new te(function(){if(Xt===Be)return{value:void 0,done:!0};var fn=It;return It+=_e?-et:et,H(oe,_e?Be-++Xt:Xt++,fn)})},I.prototype.equals=function(oe){return oe instanceof I?this._start===oe._start&&this._end===oe._end&&this._step===oe._step:ns(this,oe)},I}(St),or="@@__IMMUTABLE_SET__@@";function Rs(R){return!(!R||!R[or])}var js=function(R){function I(Q){return null==Q?hr():Rs(Q)&&!wt(Q)?Q:hr().withMutations(function(oe){var _e=R(Q);wn(_e.size),_e.forEach(function(Be){return oe.add(Be)})})}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.of=function(){return this(arguments)},I.fromKeys=function(oe){return this(M(oe).keySeq())},I.intersect=function(oe){return(oe=d(oe).toArray()).length?Bo.intersect.apply(I(oe.pop()),oe):hr()},I.union=function(oe){return(oe=d(oe).toArray()).length?Bo.union.apply(I(oe.pop()),oe):hr()},I.prototype.toString=function(){return this.__toString("Set {","}")},I.prototype.has=function(oe){return this._map.has(oe)},I.prototype.add=function(oe){return wr(this,this._map.set(oe,oe))},I.prototype.remove=function(oe){return wr(this,this._map.remove(oe))},I.prototype.clear=function(){return wr(this,this._map.clear())},I.prototype.map=function(oe,_e){var Be=this,et=!1,It=wr(this,this._map.mapEntries(function(Xt){var fn=Xt[1],bn=oe.call(_e,fn,fn,Be);return bn!==fn&&(et=!0),[bn,bn]},_e));return et?It:this},I.prototype.union=function(){for(var oe=[],_e=arguments.length;_e--;)oe[_e]=arguments[_e];return 0===(oe=oe.filter(function(Be){return 0!==Be.size})).length?this:0!==this.size||this.__ownerID||1!==oe.length?this.withMutations(function(Be){for(var et=0;et<oe.length;et++)"string"==typeof oe[et]?Be.add(oe[et]):R(oe[et]).forEach(function(It){return Be.add(It)})}):this.constructor(oe[0])},I.prototype.intersect=function(){for(var oe=[],_e=arguments.length;_e--;)oe[_e]=arguments[_e];if(0===oe.length)return this;oe=oe.map(function(et){return R(et)});var Be=[];return this.forEach(function(et){oe.every(function(It){return It.includes(et)})||Be.push(et)}),this.withMutations(function(et){Be.forEach(function(It){et.remove(It)})})},I.prototype.subtract=function(){for(var oe=[],_e=arguments.length;_e--;)oe[_e]=arguments[_e];if(0===oe.length)return this;oe=oe.map(function(et){return R(et)});var Be=[];return this.forEach(function(et){oe.some(function(It){return It.includes(et)})&&Be.push(et)}),this.withMutations(function(et){Be.forEach(function(It){et.remove(It)})})},I.prototype.sort=function(oe){return Uo(ht(this,oe))},I.prototype.sortBy=function(oe,_e){return Uo(ht(this,_e,oe))},I.prototype.wasAltered=function(){return this._map.wasAltered()},I.prototype.__iterate=function(oe,_e){var Be=this;return this._map.__iterate(function(et){return oe(et,et,Be)},_e)},I.prototype.__iterator=function(oe,_e){return this._map.__iterator(oe,_e)},I.prototype.__ensureOwner=function(oe){if(oe===this.__ownerID)return this;var _e=this._map.__ensureOwner(oe);return oe?this.__make(_e,oe):0===this.size?this.__empty():(this.__ownerID=oe,this._map=_e,this)},I}(D);js.isSet=Rs;var sr,Bo=js.prototype;function wr(R,I){return R.__ownerID?(R.size=I.size,R._map=I,R):I===R._map?R:0===I.size?R.__empty():R.__make(I)}function Hr(R,I){var Q=Object.create(Bo);return Q.size=R?R.size:0,Q._map=R,Q.__ownerID=I,Q}function hr(){return sr||(sr=Hr(Si()))}function rr(R,I,Q){for(var oe=Jo(I),_e=0;_e!==oe.length;)if((R=bo(R,oe[_e++],Fe))===Fe)return Q;return R}function Tr(R,I){return rr(this,R,I)}function ar(){wn(this.size);var R={};return this.__iterate(function(I,Q){_i(Q)||(R[Q]=I)}),R}function Os(R){if(!R||"object"!=typeof R)return R;if(!y(R)){if(!wi(R))return R;R=yt(R)}if(_(R)){var I={};return R.__iterate(function(oe,_e){_i(_e)||(I[_e]=Os(oe))}),I}var Q=[];return R.__iterate(function(oe){Q.push(Os(oe))}),Q}function gr(R,I){return R^I+2654435769+(R<<6)+(R>>2)|0}function ys(R,I){var Q=function(oe){R.prototype[oe]=I[oe]};
vendor: 1,954 bytes, line 1
1return Object.keys(I).forEach(Q),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(I).forEach(Q),R}Bo[or]=!0,Bo[Oe]=Bo.remove,Bo.merge=Bo.concat=Bo.union,Bo.withMutations=Ot,Bo.asImmutable=le,Bo["@@transducer/init"]=Bo.asMutable=$,Bo["@@transducer/step"]=function(R,I){return R.add(I)},Bo["@@transducer/result"]=function(R){return R.asImmutable()},Bo.__empty=hr,Bo.__make=Hr,d.Iterator=te,ys(d,{toArray:function(){wn(this.size);var I=new Array(this.size||0),Q=_(this),oe=0;return this.__iterate(function(_e,Be){I[oe++]=Q?[Be,_e]:_e}),I},toIndexedSeq:function(){return new Hi(this)},toJS:function(){return Os(this)},toKeyedSeq:function(){return new Ki(this,!0)},toMap:function(){return Ge(this.toKeyedSeq())},toObject:ar,toOrderedMap:function(){return cs(this.toKeyedSeq())},toOrderedSet:function(){return Uo(_(this)?this.valueSeq():this)},toSet:function(){return js(_(this)?this.valueSeq():this)},toSetSeq:function(){return new Wi(this)},toSeq:function(){return g(this)?this.toIndexedSeq():_(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qo(_(this)?this.valueSeq():this)},toList:function(){return ts(_(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(I,Q){return 0===this.size?I+Q:I+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+Q},concat:function(){for(var I=[],Q=arguments.length;Q--;)I[Q]=arguments[Q];return rn(this,function On(R,I){var Q=_(R),oe=[R].concat(I).map(function(Be){return y(Be)?Q&&(Be=M(Be)):Be=Q?Bt(Be):it(Array.isArray(Be)?Be:[Be]),Be}).filter(function(Be){return 0!==Be.size});if(0===oe.length)return R;if(1===oe.length){var _e=oe[0];if(_e===R||Q&&_(_e)||g(R)&&g(_e))return _e}return new Vt(oe)}(this,I))},includes:function(I){return this.some(function(Q){return vn(Q,I)})},entries:function(){return this.__iterator(2)},every:function(I,Q){wn(this.size);var oe=!0;return this.__iterate(function(_e,Be,et){if(!I.call(Q,_e,Be,et))return oe=!1,!1}),oe}
1,filter:function(I,Q){return rn(this,li(this,I,Q,!0))},partition:function(I,Q){return function _t(R,I,Q){var oe=_(R),_e=[[],[]];R.__iterate(function(et,It){_e[I.call(Q,et,It,R)?1:0].push(oe?[It,et]:et)});var Be=kn(R);return _e.map(function(et){return rn(R,Be(et))})}(this,I,Q)},find:function(I,Q,oe){var _e=this.findEntry(I,Q);return _e?_e[1]:oe},forEach:function(I,Q){return wn(this.size),this.__iterate(Q?I.bind(Q):I)},join:function(I){wn(this.size),I=void 0!==I?""+I:",";var Q="",oe=!0;return this.__iterate(function(_e){oe?oe=!1:Q+=I,Q+=null!=_e?_e.toString():""}),Q},keys:function(){return this.__iterator(0)},map:function(I,Q){return rn(this,Yi(this,I,Q))},reduce:function(I,Q,oe){return $t(this,I,Q,oe,arguments.length<2,!1)},reduceRight:function(I,Q,oe){return $t(this,I,Q,oe,arguments.length<2,!0)},reverse:function(){return rn(this,En(this,!0))},slice:function(I,Q){return rn(this,Wt(this,I,Q,!0))},some:function(I,Q){wn(this.size);var oe=!1;return this.__iterate(function(_e,Be,et){if(I.call(Q,_e,Be,et))return oe=!0,!1}),oe},sort:function(I){return rn(this,ht(this,I))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(I,Q){return ct(I?this.toSeq().filter(I,Q):this)},countBy:function(I,Q){return function ln(R,I,Q){var oe=Ge().asMutable();return R.__iterate(function(_e,Be){oe.update(I.call(Q,_e,Be,R),0,function(et){return et+1})}),oe.asImmutable()}(this,I,Q)},equals:function(I){return ns(this,I)},entrySeq:function(){var I=this;if(I._cache)return new rt(I._cache);var Q=I.toSeq().map(Bi).toIndexedSeq();return Q.fromEntrySeq=function(){return I.toSeq()},Q},filterNot:function(I,Q){return this.filter(Zo(I),Q)},findEntry:function(I,Q,oe){var _e=oe;return this.__iterate(function(Be,et,It){if(I.call(Q,Be,et,It))return _e=[et,Be],!1}),_e},findKey:function(I,Q){var oe=this.findEntry(I,Q);return oe&&oe[0]},findLast:function(I,Q,oe){return this.toKeyedSeq().reverse().find(I,Q,oe)},findLastEntry:function(I,Q,oe){return this.toKeyedSeq().reverse().findEntry(I,Q,oe)},findLastKey:function(I,Q){return this.toKeyedSeq().reverse().findKey(I,Q)},first:function(I){return this.find(Ze,null,I)},flatMap:function(I,Q){return rn(this,function Qn(R,I,Q){var oe=kn(R);return R.toSeq().map(function(_e,Be){return oe(I.call(Q,_e,Be,R))}).flatten(!0)}(this,I,Q))},flatten:function(I){return rn(this,Bn(this,I,!0))},fromEntrySeq:function(){return new qi(this)},get:function(I,Q){return this.find(function(oe,_e){return vn(_e,I)},void 0,Q)},getIn:Tr,groupBy:function(I,Q){return function Tn(R,I,Q){var oe=_(R),_e=(wt(R)?cs():Ge()).asMutable();R.__iterate(function(et,It){_e.update(I.call(Q,et,It,R),function(Xt){return(Xt=Xt||[]).push(oe?[It,et]:et),Xt})});var Be=kn(R);return _e.map(function(et){return rn(R,Be(et))}).asImmutable()}(this,I,Q)},has:function(I){return this.get(I,Fe)!==Fe},hasIn:function pr(R){return function Ir(R,I){return rr(R,I,Fe)!==Fe}(this,R)},isSubset:function(I){return I="function"==typeof I.includes?I:d(I),this.every(function(Q){return I.includes(Q)})},isSuperset:function(I){return(I="function"==typeof I.isSubset?I:d(I)).isSubset(this)},keyOf:function(I){return this.findKey(function(Q){return vn(Q,I)})},keySeq:function(){return this.toSeq().map(ni).toIndexedSeq()},last:function(I){return this.toSeq().reverse().first(I)},lastKeyOf:function(I){return this.toKeyedSeq().reverse().keyOf(I)},max:function(I){return At(this,I)},maxBy:function(I,Q){return At(this,Q,I)},min:function(I){return At(this,I?Qs(I):Ns)},minBy:function(I,Q){return At(this,Q?Qs(Q):Ns,I)},rest:function(){return this.slice(1)},skip:function(I){return 0===I?this:this.slice(Math.max(0,I))},skipLast:function(I){return 0===I?this:this.slice(0,-Math.max(0,I))},skipWhile:function(I,Q){return rn(this,lt(this,I,Q,!0))},skipUntil:function(I,Q){return this.skipWhile(Zo(I),Q)},sortBy:function(I,Q){return rn(this,ht(this,Q,I))},take:function(I){return this.slice(0,Math.max(0,I))},takeLast:function(I){return this.slice(-Math.max(0,I))},takeWhile:function(I,Q){return rn(this,function ye(R,I,Q){var oe=Xn(R);return oe.__iterateUncached=function(_e,Be){var et=this;if(Be)return this.cacheResult().__iterate(_e,Be);var It=0;return R.__iterate(function(Xt,fn,bn){return I.call(Q,Xt,fn,bn)&&++It&&_e(Xt,f
1n,et)}),It},oe.__iteratorUncached=function(_e,Be){var et=this;if(Be)return this.cacheResult().__iterator(_e,Be);var It=R.__iterator(2,Be),Xt=!0;return new te(function(){if(!Xt)return{value:void 0,done:!0};var fn=It.next();if(fn.done)return fn;var bn=fn.value,jn=bn[0],qn=bn[1];return I.call(Q,qn,jn,et)?2===_e?fn:H(_e,jn,qn,fn):(Xt=!1,{value:void 0,done:!0})})},oe}(this,I,Q))},takeUntil:function(I,Q){return this.takeWhile(Zo(I),Q)},update:function(I){return I(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function As(R){if(R.size===1/0)return 0;var I=wt(R),Q=_(R),oe=I?1:0;return R.__iterate(Q?I?function(_e,Be){oe=31*oe+gr(an(_e),an(Be))|0}:function(_e,Be){oe=oe+gr(an(_e),an(Be))|0}:I?function(_e){oe=31*oe+an(_e)|0}:function(_e){oe=oe+an(_e)|0}),function $r(R,I){return I=Ee(I,3432918353),I=Ee(I<<15|I>>>-15,461845907),I=Ee(I<<13|I>>>-13,5),I=Ee((I=(I+3864292196|0)^R)^I>>>16,2246822507),Et((I=Ee(I^I>>>13,3266489909))^I>>>16)}(R.size,oe)}(this))}});var Lo=d.prototype;Lo[o]=!0,Lo[K]=Lo.values,Lo.toJSON=Lo.toArray,Lo.__toStringMapper=ho,Lo.inspect=Lo.toSource=function(){return this.toString()},Lo.chain=Lo.flatMap,Lo.contains=Lo.includes,ys(M,{flip:function(){return rn(this,eo(this))},mapEntries:function(I,Q){var oe=this,_e=0;return rn(this,this.toSeq().map(function(Be,et){return I.call(Q,[et,Be],_e++,oe)}).fromEntrySeq())},mapKeys:function(I,Q){var oe=this;return rn(this,this.toSeq().flip().map(function(_e,Be){return I.call(Q,_e,Be,oe)}).flip())}});var ds=M.prototype;ds[h]=!0,ds[K]=Lo.entries,ds.toJSON=ar,ds.__toStringMapper=function(R,I){return ho(I)+": "+ho(R)},ys(A,{toKeyedSeq:function(){return new Ki(this,!1)}
1,filter:function(I,Q){return rn(this,li(this,I,Q,!1))},findIndex:function(I,Q){var oe=this.findEntry(I,Q);return oe?oe[0]:-1},indexOf:function(I){var Q=this.keyOf(I);return void 0===Q?-1:Q},lastIndexOf:function(I){var Q=this.lastKeyOf(I);return void 0===Q?-1:Q},reverse:function(){return rn(this,En(this,!1))},slice:function(I,Q){return rn(this,Wt(this,I,Q,!1))},splice:function(I,Q){var oe=arguments.length;if(Q=Math.max(Q||0,0),0===oe||2===oe&&!Q)return this;I=ie(I,I<0?this.count():this.size);var _e=this.slice(0,I);return rn(this,1===oe?_e:_e.concat(hi(arguments,2),this.slice(I+Q)))},findLastIndex:function(I,Q){var oe=this.findLastEntry(I,Q);return oe?oe[0]:-1},first:function(I){return this.get(0,I)},flatten:function(I){return rn(this,Bn(this,I,!1))},get:function(I,Q){return(I=Pt(this,I))<0||this.size===1/0||void 0!==this.size&&I>this.size?Q:this.find(function(oe,_e){return _e===I},void 0,Q)},has:function(I){return(I=Pt(this,I))>=0&&(void 0!==this.size?this.size===1/0||I<this.size:-1!==this.indexOf(I))},interpose:function(I){return rn(this,function Ni(R,I){var Q=Xn(R);return Q.size=R.size&&2*R.size-1,Q.__iterateUncached=function(oe,_e){var Be=this,et=0;return R.__iterate(function(It){return(!et||!1!==oe(I,et++,Be))&&!1!==oe(It,et++,Be)},_e),et},Q.__iteratorUncached=function(oe,_e){var It,Be=R.__iterator(1,_e),et=0;return new te(function(){return(!It||et%2)&&(It=Be.next()).done?It:et%2?H(oe,et++,I):H(oe,et++,It.value,It)})},Q}(this,I))},interleave:function(){var I=[this].concat(hi(arguments)),Q=nn(this.toSeq(),St.of,I),oe=Q.flatten(!0);return Q.size&&(oe.size=Q.size*I.length),rn(this,oe)},keySeq:function(){return Or(0,this.size)},last:function(I){return this.get(-1,I)},skipWhile:function(I,Q){return rn(this,lt(this,I,Q,!1))},zip:function(){return rn(this,nn(this,Pr,[this].concat(hi(arguments))))},zipAll:function(){return rn(this,nn(this,Pr,[this].concat(hi(arguments)),!0))},zipWith:function(I){var Q=hi(arguments);return Q[0]=this,rn(this,nn(this,I,Q))}});var Vs=A.prototype;Vs[f]=!0,Vs[Dt]=!0,ys(D,{get:function(I,Q){return this.has(I)?I:Q},includes:function(I){return this.has(I)},keySeq:function(){return this.valueSeq()}});var ws=D.prototype;function Pr(){return hi(arguments)}function mr(R){return Rs(R)&&wt(R)}ws.has=Lo.includes,ws.contains=ws.includes,ws.keys=ws.values,ys(je,ds),ys(St,Vs),ys(me,ws);var Uo=function(R){function I(Q){return null==Q?Xs():mr(Q)?Q:Xs().withMutations(function(oe){var _e=D(Q);wn(_e.size),_e.forEach(function(Be){return oe.add(Be)})})}return R&&(I.__proto__=R),(I.prototype=Object.create(R&&R.prototype)).constructor=I,I.of=function(){return this(arguments)},I.fromKeys=function(oe){return this(M(oe).keySeq())},I.prototype.toString=function(){return this.__toString("OrderedSet {","}")},I}(js);Uo.isOrderedSet=mr;var Fs,ps=Uo.prototype;function Sr(R,I){var Q=Object.create(ps);return Q.size=R?R.size:0,Q._map=R,Q.__ownerID=I,Q}function Xs(){return Fs||(Fs=Sr(ss()))}ps[Dt]=!0,ps.zip=Vs.zip,ps.zipWith=Vs.zipWith,ps.zipAll=Vs.zipAll,ps.__empty=Xs,ps.__make=Sr;var ko=function(I,Q){var oe;!function bs(R){if(Ve(R))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(dt(R))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===R||"object"!=typeof R)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(I);var _e=function(It){var Xt=this;if(It instanceof _e)return It;if(!(this instanceof _e))return new _e(It);if(!oe){oe=!0;var fn=Object.keys(I),bn=Be._indices={};Be._name=Q,Be._keys=fn,Be._defaultValues=I;for(var jn=0;jn<fn.length;jn++){var qn=fn[jn];bn[qn]=jn,Be[qn]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+vs(this)+' with property "'+qn+'" since that property name is part of the Record API.'):Js(Be,qn)}}return this.__ownerID=void 0,this._values=ts().withMutations(function(Di){Di.setSize(Xt._keys.length),M(It).forEach(function(yi,xi){Di.set(Xt._indices[xi],yi===Xt._defaultValues[xi]?void 0:yi)})}),this},Be=_e.prototype=Object.create(io);return Be.constructor=_e,Q&&(_e.displayName=Q),_e};ko.prototype.toString=function(){for(var oe,I=vs(this)+" { ",Q=this._keys,_e=0,Be=Q.length;_e!==Be;_e++)I+=(_e?", ":"")+(oe=Q[_e])+": "+ho(this.get(oe));return I+" }"},ko.prototype.equals=function(I){return this===I||Ve(I)&&Gs(this).equals(Gs(I))},ko.prototype.hashCode=function(){return Gs(this).hashCode()}
1,ko.prototype.has=function(I){return this._indices.hasOwnProperty(I)},ko.prototype.get=function(I,Q){if(!this.has(I))return Q;var _e=this._values.get(this._indices[I]);return void 0===_e?this._defaultValues[I]:_e},ko.prototype.set=function(I,Q){if(this.has(I)){var oe=this._values.set(this._indices[I],Q===this._defaultValues[I]?void 0:Q);if(oe!==this._values&&!this.__ownerID)return _r(this,oe)}return this},ko.prototype.remove=function(I){return this.set(I)},ko.prototype.clear=function(){var I=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:_r(this,I)},ko.prototype.wasAltered=function(){return this._values.wasAltered()},ko.prototype.toSeq=function(){return Gs(this)},ko.prototype.toJS=function(){return Os(this)},ko.prototype.entries=function(){return this.__iterator(2)},ko.prototype.__iterator=function(I,Q){return Gs(this).__iterator(I,Q)},ko.prototype.__iterate=function(I,Q){return Gs(this).__iterate(I,Q)},ko.prototype.__ensureOwner=function(I){if(I===this.__ownerID)return this;var Q=this._values.__ensureOwner(I);return I?_r(this,Q,I):(this.__ownerID=I,this._values=Q,this)},ko.isRecord=Ve,ko.getDescriptiveName=vs;var io=ko.prototype;function _r(R,I,Q){var oe=Object.create(Object.getPrototypeOf(R));return oe._values=I,oe.__ownerID=Q,oe}function vs(R){return R.constructor.displayName||R.constructor.name||"Record"}function Gs(R){return Bt(R._keys.map(function(I){return[I,R.get(I)]}))}function Js(R,I){try{Object.defineProperty(R,I,{get:function(){return this.get(I)},set:function(Q){on(this.__ownerID,"Cannot set on an immutable record."),this.set(I,Q)}})}catch{}}io[Pe]=!0,io[Oe]=io.remove,io.deleteIn=io.removeIn=Go,io.getIn=Tr,io.hasIn=Lo.hasIn,io.merge=Kn,io.mergeWith=ai,io.mergeIn=zi,io.mergeDeep=tn,io.mergeDeepWith=Zi,io.mergeDeepIn=fo,io.setIn=To,io.update=Io,io.updateIn=Do,io.withMutations=Ot,io.asMutable=$,io.asImmutable=le,io[K]=io.entries,io.toJSON=io.toObject=Lo.toObject,io.inspect=io.toSource=function(){return this.toString()}},9625(ot){!function(V){"use strict";const l="(0?\\d+|0x[a-f0-9]+)",f={fourOctet:new RegExp(`^${l}\\.${l}\\.${l}\\.${l}$`,"i"),threeOctet:new RegExp(`^${l}\\.${l}\\.${l}$`,"i"),twoOctet:new RegExp(`^${l}\\.${l}$`,"i"),longValue:new RegExp(`^${l}$`,"i")},g=new RegExp("^0[0-7]+$","i"),h=new RegExp("^0x[a-f0-9]+$","i"),_="%[0-9a-z]{1,}",C="(?:[0-9a-f]+::?)+",o={zoneIndex:new RegExp(_,"i"),native:new RegExp(`^(::)?(${C})?([0-9a-f]+)?(::)?(${_})?$`,"i"),deprecatedTransitional:new RegExp(`^(?:::)(${l}\\.${l}\\.${l}\\.${l}(${_})?)$`,"i"),transitional:new RegExp(`^((?:${C})|(?:::)(?:${C})?)${l}\\.${l}\\.${l}\\.${l}(${_})?$`,"i")};function y(w,O){if(w.indexOf("::")!==w.lastIndexOf("::"))return null;let K,te,x=0,N=-1,q=(w.match(o.zoneIndex)||[])[0];for(q&&(q=q.substring(1),w=w.replace(/%.+$/,""));(N=w.indexOf(":",N+1))>=0;)x++;if("::"===w.substr(0,2)&&x--,"::"===w.substr(-2,2)&&x--,x>O)return null;for(te=O-x,K=":";te--;)K+="0:";return":"===(w=w.replace("::",K))[0]&&(w=w.slice(1)),":"===w[w.length-1]&&(w=w.slice(0,-1)),{parts:O=function(){const H=w.split(":"),ee=[];for(let F=0;F<H.length;F++)ee.push(parseInt(H[F],16));return ee}(),zoneId:q}}function d(w,O,x,N){if(w.length!==O.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");let K,q=0;for(;N>0;){if(K=x-N,K<0&&(K=0),w[q]>>K!==O[q]>>K)return!1;N-=x,q+=1}return!0}function M(w){if(h.test(w))return parseInt(w,16);if("0"===w[0]&&!isNaN(parseInt(w[1],10))){if(g.test(w))return parseInt(w,8);throw new Error(`ipaddr: cannot parse ${w} as octal`)}return parseInt(w,10)}function A(w,O){for(;w.length<O;)w=`0${w}`;return w}const D={};D.IPv4=function(){function w(O){if(4!==O.length)throw new Error("ipaddr: ipv4 octet count should be 4");let x,N;for(x=0;x<O.length;x++)if(N=O[x],!(0<=N&&N<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=O}return w.prototype.SpecialRanges={unspecified:[[new w([0,0,0,0]),8]],broadcast:[[new w([255,255,255,255]),32]],multicast:[[new w([224,0,0,0]),4]],linkLocal:[[new w([169,254,0,0]),16]],loopback:[[new w([127,0,0,0]),8]],carrierGradeNat:[[new w([100,64,0,0]),10]],private:[[new w([10,0,0,0]),8],[new w([172,16,0,0]),12],[new w([192,168,0,0]),16]],reserved:[[new w([192,0,0,0]),24],[new w([192,0,2,0]),24],[new w([192,88,99,0]),24],[new w([198,18,0,0]),15],[new w([198,51,100,0]),24],[new w([203,0,113,0]),24],[new w([240,0,0,0]),4]],as112:[[new w([192,175,48,0]),24],[new w([192,3
vendor: 6,433 bytes, line 1
11,196,0]),24]],amt:[[new w([192,52,193,0]),24]]},w.prototype.kind=function(){return"ipv4"},w.prototype.match=function(O,x){let N;if(void 0===x&&(N=O,O=N[0],x=N[1]),"ipv4"!==O.kind())throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return d(this.octets,O.octets,8,x)},w.prototype.prefixLengthFromSubnetMask=function(){let O=0,x=!1;const N={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};let q,K,te;for(q=3;q>=0;q-=1){if(K=this.octets[q],!(K in N))return null;if(te=N[K],x&&0!==te)return null;8!==te&&(x=!0),O+=te}return 32-O},w.prototype.range=function(){return D.subnetMatch(this,this.SpecialRanges)},w.prototype.toByteArray=function(){return this.octets.slice(0)},w.prototype.toIPv4MappedAddress=function(){return D.IPv6.parse(`::ffff:${this.toString()}`)},w.prototype.toNormalizedString=function(){return this.toString()},w.prototype.toString=function(){return this.octets.join(".")},w}(),D.IPv4.broadcastAddressFromCIDR=function(w){try{const O=this.parseCIDR(w),x=O[0].toByteArray(),N=this.subnetMaskFromPrefixLength(O[1]).toByteArray(),q=[];let K=0;for(;K<4;)q.push(parseInt(x[K],10)|255^parseInt(N[K],10)),K++;return new this(q)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},D.IPv4.isIPv4=function(w){return null!==this.parser(w)},D.IPv4.isValid=function(w){try{return new this(this.parser(w)),!0}catch{return!1}},D.IPv4.isValidCIDR=function(w){try{return this.parseCIDR(w),!0}catch{return!1}},D.IPv4.isValidFourPartDecimal=function(w){return!(!D.IPv4.isValid(w)||!w.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},D.IPv4.isValidCIDRFourPartDecimal=function(w){const O=w.match(/^(.+)\/(\d+)$/);return!(!D.IPv4.isValidCIDR(w)||!O)&&D.IPv4.isValidFourPartDecimal(O[1])},D.IPv4.networkAddressFromCIDR=function(w){let O,x,N,q,K;try{for(O=this.parseCIDR(w),N=O[0].toByteArray(),K=this.subnetMaskFromPrefixLength(O[1]).toByteArray(),q=[],x=0;x<4;)q.push(parseInt(N[x],10)&parseInt(K[x],10)),x++;return new this(q)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},D.IPv4.parse=function(w){const O=this.parser(w);if(null===O)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(O)},D.IPv4.parseCIDR=function(w){let O;if(O=w.match(/^(.+)\/(\d+)$/)){const x=parseInt(O[2]);if(x>=0&&x<=32){const N=[this.parse(O[1]),x];return Object.defineProperty(N,"toString",{value:function(){return this.join("/")}}),N}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},D.IPv4.parser=function(w){let O,x,N;if(O=w.match(f.fourOctet))return function(){const q=O.slice(1,6),K=[];for(let te=0;te<q.length;te++)x=q[te],K.push(M(x));return K}();if(O=w.match(f.longValue)){if(N=M(O[1]),N>4294967295||N<0)throw new Error("ipaddr: address outside defined range");return function(){const q=[];let K;for(K=0;K<=24;K+=8)q.push(N>>K&255);return q}().reverse()}return(O=w.match(f.twoOctet))?function(){const q=O.slice(1,4),K=[];if(N=M(q[1]),N>16777215||N<0)throw new Error("ipaddr: address outside defined range");return K.push(M(q[0])),K.push(N>>16&255),K.push(N>>8&255),K.push(255&N),K}():(O=w.match(f.threeOctet))?function(){const q=O.slice(1,5),K=[];if(N=M(q[2]),N>65535||N<0)throw new Error("ipaddr: address outside defined range");return K.push(M(q[0])),K.push(M(q[1])),K.push(N>>8&255),K.push(255&N),K}():null},D.IPv4.subnetMaskFromPrefixLength=function(w){if((w=parseInt(w))<0||w>32)throw new Error("ipaddr: invalid IPv4 prefix length");const O=[0,0,0,0];let x=0;const N=Math.floor(w/8);for(;x<N;)O[x]=255,x++;return N<4&&(O[N]=Math.pow(2,w%8)-1<<8-w%8),new this(O)},D.IPv6=function(){function w(O,x){let N,q;if(16===O.length)for(this.parts=[],N=0;N<=14;N+=2)this.parts.push(O[N]<<8|O[N+1]);else{if(8!==O.length)throw new Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=O}for(N=0;N<this.parts.length;N++)if(q=this.parts[N],!(0<=q&&q<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");x&&(this.zoneId=x)}return w.prototype.SpecialRanges={unspecified:[new w([0,0,0,0,0,0,0,0]),128],linkLocal:[new w([65152,0,0,0,0,0,0,0]),10],multicast:[new w([65280,0,0,0,0,0,0,0]),8],loopback:[new w([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new w([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new w([0,0,0,0,0,65535,0,0]),96],discard:[new w([256,0,0,0,0,0,0,0]),64],rfc6145:[new w([0,0,0,0,65535,0,0,0]),96],rfc6052:[new w([100,65435,0,0,0,0,0,0]),96],"6to4":[new w([8194,0,0,0,0,0,0,0]),16],teredo:[new w([8193,0,0,0,0,0,0,0]),32],benchmarking:[new w([8193,2,0,0,0,0,0,0]),48],amt:[new w([8193,3,0,0,0,0,0,0]),32],as112v6:[[new w([8193,4,274,0,0,0,0,0]),48],[new w([9760,79,32768,0,0,0,0,0]),48]],deprecated:[new w([8193,16,0,0,0,0,0,0]),28],orchid2:[new w([8193,32,0,0,0,0,0,0]),28],droneRemoteIdProtocolEntityTags:[new w([8193,48,0,0,0,0,0,0]),28],reserved:[[new w([8193,0,0,0,0,0,0,0]),23],[new w([8193,3512,0,0,0,0,0,0]),32]]},w.prototype.isIPv4MappedAddress=function(){return"ipv4Mapped"===this.range()},w.prototype.kind=function(){return"ipv6"},w.prototype.match=function(O,x){let N;if(void 0===x&&(N=O,O=N[0],x=N[1]),"ipv6"!==O.kind())throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return d(this.parts,O.parts,16,x)},w.prototype.prefixLengthFromSubnetMask=function(){let O=0,x=!1;const N={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0};let q,K;for(let te=7;te>=0;te-=1){if(q=this.parts[te],!(q in N))return null;if(K=N[q],x&&0!==K)return null;16!==K&&(x=!0),O+=K}return 128-O},w.prototype.range=function(){return D.subnetMatch(this,this.SpecialRanges)},w.prototype.toByteArray=function(){let O;const x=[],N=this.parts;for(let q=0;q<N.length;q++)O=N[q],x.push(O>>8),x.push(255&O);return x},w.prototype.toFixedLengthString=function(){const O=function(){const N=[];for(let q=0;q<this.parts.length;q++)N.push(A(this.parts[q].toString(16),4));return N}.call(this).join(":");let x="";return this.zoneId&&(x=`%${this.zoneId}`),O+x},w.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");const O=this.parts.slice(-2),x=O[0],N=O[1];return new D.IPv4([x>>8,255&x,N>>8,255&N])},w.prototype.toNormalizedString=function(){const O=function(){const N=[];for(let q=0;q<this.parts.length;q++)N.push(this.parts[q].toString(16));return N}.call(this).join(":");let x="";return this.zoneId&&(x=`%${this.zoneId}`),O+x}
1,w.prototype.toRFC5952String=function(){const O=/((^|:)(0(:|$)){2,})/g,x=this.toNormalizedString();let K,N=0,q=-1;for(;K=O.exec(x);)K[0].length>q&&(N=K.index,q=K[0].length);return q<0?x:`${x.substring(0,N)}::${x.substring(N+q)}`},w.prototype.toString=function(){return this.toRFC5952String()},w}(),D.IPv6.broadcastAddressFromCIDR=function(w){try{const O=this.parseCIDR(w),x=O[0].toByteArray(),N=this.subnetMaskFromPrefixLength(O[1]).toByteArray(),q=[];let K=0;for(;K<16;)q.push(parseInt(x[K],10)|255^parseInt(N[K],10)),K++;return new this(q)}catch(O){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${O})`)}},D.IPv6.isIPv6=function(w){return null!==this.parser(w)},D.IPv6.isValid=function(w){if("string"==typeof w&&-1===w.indexOf(":"))return!1;try{const O=this.parser(w);return new this(O.parts,O.zoneId),!0}catch{return!1}},D.IPv6.isValidCIDR=function(w){if("string"==typeof w&&-1===w.indexOf(":"))return!1;try{return this.parseCIDR(w),!0}catch{return!1}},D.IPv6.networkAddressFromCIDR=function(w){let O,x,N,q,K;try{for(O=this.parseCIDR(w),N=O[0].toByteArray(),K=this.subnetMaskFromPrefixLength(O[1]).toByteArray(),q=[],x=0;x<16;)q.push(parseInt(N[x],10)&parseInt(K[x],10)),x++;return new this(q)}catch(te){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${te})`)}},D.IPv6.parse=function(w){const O=this.parser(w);if(null===O.parts)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(O.parts,O.zoneId)},D.IPv6.parseCIDR=function(w){let O,x,N;if((x=w.match(/^(.+)\/(\d+)$/))&&(O=parseInt(x[2]),O>=0&&O<=128))return N=[this.parse(x[1]),O],Object.defineProperty(N,"toString",{value:function(){return this.join("/")}}),N;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},D.IPv6.parser=function(w){let O,x,N,q,K,te;if(N=w.match(o.deprecatedTransitional))return this.parser(`::ffff:${N[1]}`);if(o.native.test(w))return y(w,8);if((N=w.match(o.transitional))&&(te=N[6]||"",O=N[1],N[1].endsWith("::")||(O=O.slice(0,-1)),O=y(O+te,6),O.parts)){for(K=[parseInt(N[2]),parseInt(N[3]),parseInt(N[4]),parseInt(N[5])],x=0;x<K.length;x++)if(q=K[x],!(0<=q&&q<=255))return null;return O.parts.push(K[0]<<8|K[1]),O.parts.push(K[2]<<8|K[3]),{parts:O.parts,zoneId:O.zoneId}}return null},D.IPv6.subnetMaskFromPrefixLength=function(w){if((w=parseInt(w))<0||w>128)throw new Error("ipaddr: invalid IPv6 prefix length");const O=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let x=0;const N=Math.floor(w/8);for(;x<N;)O[x]=255,x++;return N<16&&(O[N]=Math.pow(2,w%8)-1<<8-w%8),new this(O)},D.fromByteArray=function(w){const O=w.length;if(4===O)return new D.IPv4(w);if(16===O)return new D.IPv6(w);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},D.isValid=function(w){return D.IPv6.isValid(w)||D.IPv4.isValid(w)},D.isValidCIDR=function(w){return D.IPv6.isValidCIDR(w)||D.IPv4.isValidCIDR(w)},D.parse=function(w){if(D.IPv6.isValid(w))return D.IPv6.parse(w);if(D.IPv4.isValid(w))return D.IPv4.parse(w);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},D.parseCIDR=function(w){try{return D.IPv6.parseCIDR(w)}catch{try{return D.IPv4.parseCIDR(w)}catch{throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},D.process=function(w){const O=this.parse(w);return"ipv6"===O.kind()&&O.isIPv4MappedAddress()?O.toIPv4Address():O},D.subnetMatch=function(w,O,x){let N,q,K,te;for(q in null==x&&(x="unicast"),O)if(Object.prototype.hasOwnProperty.call(O,q))for(K=O[q],K[0]&&!(K[0]instanceof Array)&&(K=[K]),N=0;N<K.length;N++)if(te=K[N],w.kind()===te[0].kind()&&w.match.apply(w,te))return q;return x},ot.exports?ot.exports=D:V.ipaddr=D}(this)},34187(ot){ot.exports=function(l){return!("string"!=typeof l||!/^[a-zA-Z0-9-.]{1,253}\.?$/g.test(l)||(l.endsWith(".")&&(l=l.slice(0,l.length-1)),l.length>253))&&l.split(".").every(function(_){return/^([a-zA-Z0-9-]+)$/g.test(_)&&_.length<64&&!_.startsWith("-")&&!_.endsWith("-")})}},77783(ot){ot.exports=function V(l,f,g){function h(o,y){if(!f[o]){if(!l[o]){if(_)return _(o,!0);throw new Error("Cannot find module '"+o+"'")}y=f[o]={exports:{}},l[o][0].call(y.exports,function(M){return h(l[o][1][M]||M)},y,y.exports,V,l,f,g)}return f[o].exports}for(var _=void 0,C=0;C<g.length;C++)h(g[C]);return h}({1:[function(V,l,f){(function(g,h,_,C,o,y,d,M,A){"use strict";var D=V("crypto");function w(H,ee){var F;return void 0===(F="passthrough"!==(ee=N(H,ee)).algorithm?D.createHash(ee.algorithm):new te).write&&(F.write=F.update,F.end=F.update),K(ee,F).dispatch(H),F.update||F.end(""),F.digest?F.digest("buffer"===ee.encoding?void 0:ee.encoding):(H=F.read(),"buffer"!==ee.encoding?H.toString(ee.encoding):H)}
1(f=l.exports=w).sha1=function(H){return w(H)},f.keys=function(H){return w(H,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},f.MD5=function(H){return w(H,{algorithm:"md5",encoding:"hex"})},f.keysMD5=function(H){return w(H,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var O=D.getHashes?D.getHashes().slice():["sha1","md5"],x=(O.push("passthrough"),["buffer","hex","binary","base64"]);function N(H,ee){var F={};if(F.algorithm=(ee=ee||{}).algorithm||"sha1",F.encoding=ee.encoding||"hex",F.excludeValues=!!ee.excludeValues,F.algorithm=F.algorithm.toLowerCase(),F.encoding=F.encoding.toLowerCase(),F.ignoreUnknown=!0===ee.ignoreUnknown,F.respectType=!1!==ee.respectType,F.respectFunctionNames=!1!==ee.respectFunctionNames,F.respectFunctionProperties=!1!==ee.respectFunctionProperties,F.unorderedArrays=!0===ee.unorderedArrays,F.unorderedSets=!1!==ee.unorderedSets,F.unorderedObjects=!1!==ee.unorderedObjects,F.replacer=ee.replacer||void 0,F.excludeKeys=ee.excludeKeys||void 0,void 0===H)throw new Error("Object argument required.");for(var J=0;J<O.length;++J)O[J].toLowerCase()===F.algorithm.toLowerCase()&&(F.algorithm=O[J]);if(-1===O.indexOf(F.algorithm))throw new Error('Algorithm "'+F.algorithm+'"  not supported. supported values: '+O.join(", "));if(-1===x.indexOf(F.encoding)&&"passthrough"!==F.algorithm)throw new Error('Encoding "'+F.encoding+'"  not supported. supported values: '+x.join(", "));return F}function q(H){if("function"==typeof H)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(H))}function K(H,ee,F){function J(ne){return ee.update?ee.update(ne,"utf8"):ee.write(ne,"utf8")}return F=F||[],{dispatch:function(ne){return this["_"+(null===(ne=H.replacer?H.replacer(ne):ne)?"null":typeof ne)](ne)},_object:function(ne){var de,Le=Object.prototype.toString.call(ne),ut=/\[object (.*)\]/i.exec(Le);if(ut=(ut=ut?ut[1]:"unknown:["+Le+"]").toLowerCase(),0<=(Le=F.indexOf(ne)))return this.dispatch("[CIRCULAR:"+Le+"]");if(F.push(ne),void 0!==_&&_.isBuffer&&_.isBuffer(ne))return J("buffer:"),J(ne);if("object"===ut||"function"===ut||"asyncfunction"===ut)return Le=Object.keys(ne),H.unorderedObjects&&(Le=Le.sort()),!1===H.respectType||q(ne)||Le.splice(0,0,"prototype","__proto__","constructor"),H.excludeKeys&&(Le=Le.filter(function(Oe){return!H.excludeKeys(Oe)})),J("object:"+Le.length+":"),de=this,Le.forEach(function(Oe){de.dispatch(Oe),J(":"),H.excludeValues||de.dispatch(ne[Oe]),J(",")});if(!this["_"+ut]){if(H.ignoreUnknown)return J("["+ut+"]");throw new Error('Unknown object type "'+ut+'"')}this["_"+ut](ne)},_array:function(ne,Oe){Oe=void 0!==Oe?Oe:!1!==H.unorderedArrays;var Le=this;if(J("array:"+ne.length+":"),!Oe||ne.length<=1)return ne.forEach(function(xe){return Le.dispatch(xe)});var ut=[];return Oe=ne.map(function(xe){var Ce=new te,Te=F.slice();return K(H,Ce,Te).dispatch(xe),ut=ut.concat(Te.slice(F.length)),Ce.read().toString()}),F=F.concat(ut),Oe.sort(),this._array(Oe,!1)},_date:function(ne){return J("date:"+ne.toJSON())},_symbol:function(ne){return J("symbol:"+ne.toString())},_error:function(ne){return J("error:"+ne.toString())},_boolean:function(ne){return J("bool:"+ne.toString())},_string:function(ne){J("string:"+ne.length+":"),J(ne.toString())},_function:function(ne){J("fn:"),q(ne)?this.dispatch("[native]"):this.dispatch(ne.toString()),!1!==H.respectFunctionNames&&this.dispatch("function-name:"+String(ne.name)),H.respectFunctionProperties&&this._object(ne)},_number:function(ne){return J("number:"+ne.toString())},_xml:function(ne){return J("xml:"+ne.toString())},_null:function(){return J("Null")},_undefined:function(){return J("Undefined")},_regexp:function(ne){return J("regex:"+ne.toString())},_uint8array:function(ne){return J("uint8array:"),this.dispatch(Array.prototype.slice.call(ne))},_uint8clampedarray:function(ne){return J("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(ne))},_int8array:function(ne){return J("int8array:"),this.dispatch(Array.prototype.slice.call(ne))},_uint16array:function(ne){return J("uint16array:"),this.dispatch(Array.prototype.slice.call(ne))},_int16array:function(ne){return J("int16array:"),this.dispatch(Array.prototype.slice.call(ne))},_uint32array:function(ne){return J("uint32array:"),this.dispatch(Array.prototype.slice.call(ne))},_int32array:function(ne){return J("int32array:"),this.dispatch(Array.prototype.slice.call(ne))},_float32array:function(ne){return J("float32array:"),this.dispatch(Array.prototype.slice.call(ne))},_float64array:function(ne){return J("float64array:"),this.dispatch(Array.prototype.slice.call(ne))},_arraybuffer:function(ne){return J("arraybuffer:"),this.dispatch(new Uint8Array(ne))},_url:function(ne){return J("url:"+ne.toString())},_map:function(ne){return J("map:"),ne=Array.from(ne),this._array(ne,!1!==H.unorderedSets)},_set:function(ne){return J("set:"),ne=Array.from(ne),this._array(ne,!1!==H.unorderedSets)},_file:function(ne){return J("file:"),this.dispatch([ne.name,ne.size,ne.type,ne.lastModfied])},_blob:function(){if(H.ignoreUnknown)return J("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return J("domwindow")},_bigint:function(ne){return J("bigint:"+ne.toString())},_process:function(){return J("process")},_timer:function(){return J("timer")},_pipe:function(){return J("pipe")},_tcp:function(){return J("tcp")},_udp:function(){return J("udp")},_tty:function(){return J("tty")},_statwatcher:function(){return J("statwatcher")},_securecontext:function(){return J("securecontext")},_connection:function(){return J("connection")},_zlib:function(){return J("zlib")},_context:function(){return J("context")},_nodescript:function(){return J("nodescript")},_httpparser:function(){return J("httpparser")},_dataview:function(){return J("dataview")},_signal:function(){return J("signal")},_fsevent:function(){return J("fsevent")},_tlswrap:function(){return J("tlswrap")}}}function te(){return{buf:"",write:function(H){this.buf+=H},end:function(H){this.buf+=H},read:function(){return this.buf}}}f.writeToStream=function(H,ee,F){return void 0===F&&(F=ee,ee={}),K(ee=N(H,ee),F).dispatch(H)}}).call(this,V("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},V("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(V,l,f){(function(g,h,_,C,o,y,d,M,A){!function(D){"use strict";var w=typeof Uint8Array<"u"?Uint8Array:Array;
1function ee(F){return 43===(F=F.charCodeAt(0))||45===F?62:47===F||95===F?63:F<48?-1:F<58?F-48+26+26:F<91?F-65:F<123?F-97+26:void 0}D.toByteArray=function(F){var J,ne;if(0<F.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var de="="===F.charAt((de=F.length)-2)?2:"="===F.charAt(de-1)?1:0,Le=new w(3*F.length/4-de),ut=0<de?F.length-4:F.length,Oe=0;function xe(Ce){Le[Oe++]=Ce}for(J=0;J<ut;J+=4,0)xe((16711680&(ne=ee(F.charAt(J))<<18|ee(F.charAt(J+1))<<12|ee(F.charAt(J+2))<<6|ee(F.charAt(J+3))))>>16),xe((65280&ne)>>8),xe(255&ne);return 2==de?xe(255&(ne=ee(F.charAt(J))<<2|ee(F.charAt(J+1))>>4)):1==de&&(xe((ne=ee(F.charAt(J))<<10|ee(F.charAt(J+1))<<4|ee(F.charAt(J+2))>>2)>>8&255),xe(255&ne)),Le},D.fromByteArray=function(F){var J,ne,de,Le,ut=F.length%3,Oe="";function xe(Ce){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Ce)}for(J=0,de=F.length-ut;J<de;J+=3)Oe+=xe((Le=ne=(F[J]<<16)+(F[J+1]<<8)+F[J+2])>>18&63)+xe(Le>>12&63)+xe(Le>>6&63)+xe(63&Le);switch(ut){case 1:Oe=(Oe+=xe((ne=F[F.length-1])>>2))+xe(ne<<4&63)+"==";break;case 2:Oe=(Oe=(Oe+=xe((ne=(F[F.length-2]<<8)+F[F.length-1])>>10))+xe(ne>>4&63))+xe(ne<<2&63)+"="}return Oe}}(void 0===f?this.base64js={}:f)}).call(this,V("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},V("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(V,l,f){(function(g,h,O,C,o,y,d,M,A){var D=V("base64-js"),w=V("ieee754");function O(he,Pe,Ve){if(!(this instanceof O))return new O(he,Pe,Ve);var dt,Dt,wt,Yt,Tt=typeof he;if("base64"===Pe&&"string"==Tt)for(he=(Yt=he).trim?Yt.trim():Yt.replace(/^\s+|\s+$/g,"");he.length%4!=0;)he+="=";if("number"==Tt)dt=Fe(he);else if("string"==Tt)dt=O.byteLength(he,Pe);else{if("object"!=Tt)throw new Error("First argument needs to be a number, array or string.");dt=Fe(he.length)}if(O._useTypedArrays?Dt=O._augment(new Uint8Array(dt)):((Dt=this).length=dt,Dt._isBuffer=!0),O._useTypedArrays&&"number"==typeof he.byteLength)Dt._set(he);else if(Ke(Yt=he)||O.isBuffer(Yt)||Yt&&"object"==typeof Yt&&"number"==typeof Yt.length)for(wt=0;wt<dt;wt++)Dt[wt]=O.isBuffer(he)?he.readUInt8(wt):he[wt];else if("string"==Tt)Dt.write(he,0,Pe);else if("number"==Tt&&!O._useTypedArrays&&!Ve)for(wt=0;wt<dt;wt++)Dt[wt]=0;return Dt}function K(he,Pe,Ve,wt){var Dt;if(wt||(ve("boolean"==typeof Ve,"missing or invalid endian"),ve(null!=Pe,"missing offset"),ve(Pe+1<he.length,"Trying to read beyond buffer length")),!((wt=he.length)<=Pe))return Ve?(Dt=he[Pe],Pe+1<wt&&(Dt|=he[Pe+1]<<8)):(Dt=he[Pe]<<8,Pe+1<wt&&(Dt|=he[Pe+1])),Dt}function te(he,Pe,Ve,wt){var Dt;if(wt||(ve("boolean"==typeof Ve,"missing or invalid endian"),ve(null!=Pe,"missing offset"),ve(Pe+3<he.length,"Trying to read beyond buffer length")),!((wt=he.length)<=Pe))return Ve?(Pe+2<wt&&(Dt=he[Pe+2]<<16),Pe+1<wt&&(Dt|=he[Pe+1]<<8),Dt|=he[Pe],Pe+3<wt&&(Dt+=he[Pe+3]<<24>>>0)):(Pe+1<wt&&(Dt=he[Pe+1]<<16),Pe+2<wt&&(Dt|=he[Pe+2]<<8),Pe+3<wt&&(Dt|=he[Pe+3]),Dt+=he[Pe]<<24>>>0),Dt}function H(he,Pe,Ve,dt){if(dt||(ve("boolean"==typeof Ve,"missing or invalid endian"),ve(null!=Pe,"missing offset"),ve(Pe+1<he.length,"Trying to read beyond buffer length")),!(he.length<=Pe))return 32768&(dt=K(he,Pe,Ve,!0))?-1*(65535-dt+1):dt}function ee(he,Pe,Ve,dt){if(dt||(ve("boolean"==typeof Ve,"missing or invalid endian"),ve(null!=Pe,"missing offset"),ve(Pe+3<he.length,"Trying to read beyond buffer length")),!(he.length<=Pe))return 2147483648&(dt=te(he,Pe,Ve,!0))?-1*(4294967295-dt+1):dt}function F(he,Pe,Ve,dt){return dt||(ve("boolean"==typeof Ve,"missing or invalid endian"),ve(Pe+3<he.length,"Trying to read beyond buffer length")),w.read(he,Pe,Ve,23,4)}function J(he,Pe,Ve,dt){return dt||(ve("boolean"==typeof Ve,"missing or invalid endian"),ve(Pe+7<he.length,"Trying to read beyond buffer length")),w.read(he,Pe,Ve,52,8)}function ne(he,Pe,Ve,dt,Dt){if(Dt||(ve(null!=Pe,"missing value"),ve("boolean"==typeof dt,"missing or invalid endian"),ve(null!=Ve,"missing offset"),ve(Ve+1<he.length,"trying to write beyond buffer length"),fe(Pe,65535)),!((Dt=he.length)<=Ve))for(var wt=0,Yt=Math.min(Dt-Ve,2);wt<Yt;wt++)he[Ve+wt]=(Pe&255<<8*(dt?wt:1-wt))>>>8*(dt?wt:1-wt)}function de(he,Pe,Ve,dt,Dt){if(Dt||(ve(null!=Pe,"missing value"),ve("boolean"==typeof dt,"missing or invalid endian"),ve(null!=Ve,"missing offset"),ve(Ve+3<he.length,"trying to write beyond buffer length"),fe(Pe,4294967295)),!((Dt=he.length)<=Ve))for(var wt=0,Yt=Math.min(Dt-Ve,4);wt<Yt;wt++)he[Ve+wt]=Pe>>
vendor: 9,057 bytes, line 1
1>8*(dt?wt:3-wt)&255}function Le(he,Pe,Ve,dt,Dt){Dt||(ve(null!=Pe,"missing value"),ve("boolean"==typeof dt,"missing or invalid endian"),ve(null!=Ve,"missing offset"),ve(Ve+1<he.length,"Trying to write beyond buffer length"),ie(Pe,32767,-32768)),he.length<=Ve||ne(he,0<=Pe?Pe:65535+Pe+1,Ve,dt,Dt)}function ut(he,Pe,Ve,dt,Dt){Dt||(ve(null!=Pe,"missing value"),ve("boolean"==typeof dt,"missing or invalid endian"),ve(null!=Ve,"missing offset"),ve(Ve+3<he.length,"Trying to write beyond buffer length"),ie(Pe,2147483647,-2147483648)),he.length<=Ve||de(he,0<=Pe?Pe:4294967295+Pe+1,Ve,dt,Dt)}function Oe(he,Pe,Ve,dt,Dt){Dt||(ve(null!=Pe,"missing value"),ve("boolean"==typeof dt,"missing or invalid endian"),ve(null!=Ve,"missing offset"),ve(Ve+3<he.length,"Trying to write beyond buffer length"),Xe(Pe,34028234663852886e22,-34028234663852886e22)),he.length<=Ve||w.write(he,Pe,Ve,dt,23,4)}function xe(he,Pe,Ve,dt,Dt){Dt||(ve(null!=Pe,"missing value"),ve("boolean"==typeof dt,"missing or invalid endian"),ve(null!=Ve,"missing offset"),ve(Ve+7<he.length,"Trying to write beyond buffer length"),Xe(Pe,17976931348623157e292,-17976931348623157e292)),he.length<=Ve||w.write(he,Pe,Ve,dt,52,8)}f.Buffer=O,f.SlowBuffer=O,f.INSPECT_MAX_BYTES=50,O.poolSize=8192,O._useTypedArrays=function(){try{var he=new ArrayBuffer(0),Pe=new Uint8Array(he);return Pe.foo=function(){return 42},42===Pe.foo()&&"function"==typeof Pe.subarray}catch{return!1}}(),O.isEncoding=function(he){switch(String(he).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},O.isBuffer=function(he){return!(null==he||!he._isBuffer)},O.byteLength=function(he,Pe){var Ve;switch(he+="",Pe||"utf8"){case"hex":Ve=he.length/2;break;case"utf8":case"utf-8":Ve=kt(he).length;break;case"ascii":case"binary":case"raw":Ve=he.length;break;case"base64":Ve=ct(he).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":Ve=2*he.length;break;default:throw new Error("Unknown encoding")}return Ve},O.concat=function(he,Pe){if(ve(Ke(he),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===he.length)return new O(0);if(1===he.length)return he[0];if("number"!=typeof Pe)for(Dt=Pe=0;Dt<he.length;Dt++)Pe+=he[Dt].length;for(var Ve=new O(Pe),dt=0,Dt=0;Dt<he.length;Dt++){var wt=he[Dt];wt.copy(Ve,dt),dt+=wt.length}return Ve},O.prototype.write=function(he,Pe,Ve,dt){isFinite(Pe)?isFinite(Ve)||(dt=Ve,Ve=void 0):(qt=dt,dt=Pe,Pe=Ve,Ve=qt),Pe=Number(Pe)||0;var Dt,wt,Yt,Tt,qt=this.length-Pe;switch((!Ve||qt<(Ve=Number(Ve)))&&(Ve=qt),dt=String(dt||"utf8").toLowerCase()){case"hex":Dt=function(We,yt,je,St){je=Number(je)||0;var me=We.length-je;(!St||me<(St=Number(St)))&&(St=me),ve((me=yt.length)%2==0,"Invalid hex string"),me/2<St&&(St=me/2);for(var rt=0;rt<St;rt++){var bt=parseInt(yt.substr(2*rt,2),16);ve(!isNaN(bt),"Invalid hex string"),We[je+rt]=bt}return O._charsWritten=2*rt,rt}(this,he,Pe,Ve);break;case"utf8":case"utf-8":wt=this,Yt=Pe,Tt=Ve,Dt=O._charsWritten=Pt(kt(he),wt,Yt,Tt);break;case"ascii":case"binary":Dt=function x(he,Pe,Ve,dt){return O._charsWritten=Pt(function(Dt){for(var wt=[],Yt=0;Yt<Dt.length;Yt++)wt.push(255&Dt.charCodeAt(Yt));return wt}(Pe),he,Ve,dt)}(this,he,Pe,Ve);break;case"base64":wt=this,Yt=Pe,Tt=Ve,Dt=O._charsWritten=Pt(ct(he),wt,Yt,Tt);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":Dt=function N(he,Pe,Ve,dt){return O._charsWritten=Pt(function(Dt){for(var wt,Yt,Tt=[],qt=0;qt<Dt.length;qt++)wt=(Yt=Dt.charCodeAt(qt))>>8,Tt.push(Yt%=256),Tt.push(wt);return Tt}(Pe),he,Ve,dt)}(this,he,Pe,Ve);break;default:throw new Error("Unknown encoding")}return Dt},O.prototype.toString=function(he,Pe,Ve){var dt,Dt,wt,Yt,Tt=this;if(he=String(he||"utf8").toLowerCase(),Pe=Number(Pe)||0,(Ve=void 0!==Ve?Number(Ve):Tt.length)===Pe)return"";switch(he){case"hex":dt=function(qt,We,yt){var je=qt.length;(!We||We<0)&&(We=0),(!yt||yt<0||je<yt)&&(yt=je);for(var St="",me=We;me<yt;me++)St+=Qe(qt[me]);return St}(Tt,Pe,Ve);break;case"utf8":case"utf-8":dt=function(qt,We,yt){var je="",St="";yt=Math.min(qt.length,yt);for(var me=We;me<yt;me++)qt[me]<=127?(je+=Ze(St)+String.fromCharCode(qt[me]),St=""):St+="%"+qt[me].toString(16);return je+Ze(St)}(Tt,Pe,Ve);break;case"ascii":case"binary":dt=function q(he,Pe,Ve){var dt="";Ve=Math.min(he.length,Ve);for(var Dt=Pe;Dt<Ve;Dt++)dt+=String.fromCharCode(he[Dt]);return dt}(Tt,Pe,Ve);break;case"base64":Dt=Tt,Yt=Ve,dt=0===(wt=Pe)&&Yt===Dt.length?D.fromByteArray(Dt):D.fromByteArray(Dt.slice(wt,Yt));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":dt=function(qt,We,yt){for(var je=qt.slice(We,yt),St="",me=0;me<je.length;me+=2)St+=String.fromCharCode(je[me]+256*je[me+1]);return St}(Tt,Pe,Ve);break;default:throw new Error("Unknown encoding")}return dt},O.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},O.prototype.copy=function(he,Pe,Ve,dt){if(Pe=Pe||0,(dt=dt||0===dt?dt:this.length)!==(Ve=Ve||0)&&0!==he.length&&0!==this.length){ve(Ve<=dt,"sourceEnd < sourceStart"),ve(0<=Pe&&Pe<he.length,"targetStart out of bounds"),ve(0<=Ve&&Ve<this.length,"sourceStart out of bounds"),ve(0<=dt&&dt<=this.length,"sourceEnd out of bounds"),dt>this.length&&(dt=this.length);var Dt=(dt=he.length-Pe<dt-Ve?he.length-Pe+Ve:dt)-Ve;if(Dt<100||!O._useTypedArrays)for(var wt=0;wt<Dt;wt++)he[wt+Pe]=this[wt+Ve];else he._set(this.subarray(Ve,Ve+Dt),Pe)}},O.prototype.slice=function(he,Pe){var Ve=this.length;if(he=Te(he,Ve,0),Pe=Te(Pe,Ve,Ve),O._useTypedArrays)return O._augment(this.subarray(he,Pe));for(var dt=Pe-he,Dt=new O(dt,void 0,!0),wt=0;wt<dt;wt++)Dt[wt]=this[wt+he];return Dt},O.prototype.get=function(he){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(he)},O.prototype.set=function(he,Pe){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(he,Pe)},O.prototype.readUInt8=function(he,Pe){if(Pe||(ve(null!=he,"missing offset"),ve(he<this.length,"Trying to read beyond buffer length")),!(he>=this.length))return this[he]},O.prototype.readUInt16LE=function(he,Pe){return K(this,he,!0,Pe)},O.prototype.readUInt16BE=function(he,Pe){return K(this,he,!1,Pe)},O.prototype.readUInt32LE=function(he,Pe){return te(this,he,!0,Pe)},O.prototype.readUInt32BE=function(he,Pe){return te(this,he,!1,Pe)},O.prototype.readInt8=function(he,Pe){if(Pe||(ve(null!=he,"missing offset"),ve(he<this.length,"Trying to read beyond buffer length")),!(he>=this.length))return 128&this[he]?-1*(255-this[he]+1):this[he]},O.prototype.readInt16LE=function(he,Pe){return H(this,he,!0,Pe)},O.prototype.readInt16BE=function(he,Pe){return H(this,he,!1,Pe)},O.prototype.readInt32LE=function(he,Pe){return ee(this,he,!0,Pe)},O.prototype.readInt32BE=function(he,Pe){return ee(this,he,!1,Pe)},O.prototype.readFloatLE=function(he,Pe){return F(this,he,!0,Pe)},O.prototype.readFloatBE=function(he,Pe){return F(this,he,!1,Pe)},O.prototype.readDoubleLE=function(he,Pe){return J(this,he,!0,Pe)},O.prototype.readDoubleBE=function(he,Pe){return J(this,he,!1,Pe)},O.prototype.writeUInt8=function(he,Pe,Ve){Ve||(ve(null!=he,"missing value"),ve(null!=Pe,"missing offset"),ve(Pe<this.length,"trying to write beyond buffer length"),fe(he,255)),Pe>=this.length||(this[Pe]=he)},O.prototype.writeUInt16LE=function(he,Pe,Ve){ne(this,he,Pe,!0,Ve)},O.prototype.writeUInt16BE=function(he,Pe,Ve){ne(this,he,Pe,!1,Ve)},O.prototype.writeUInt32LE=function(he,Pe,Ve){de(this,he,Pe,!0,Ve)},O.prototype.writeUInt32BE=function(he,Pe,Ve){de(this,he,Pe,!1,Ve)},O.prototype.writeInt8=function(he,Pe,Ve){Ve||(ve(null!=he,"missing value"),ve(null!=Pe,"missing offset"),ve(Pe<this.length,"Trying to write beyond buffer length"),ie(he,127,-128)),Pe>=this.length||this.writeUInt8(0<=he?he:255+he+1,Pe,Ve)},O.prototype.writeInt16LE=function(he,Pe,Ve){Le(this,he,Pe,!0,Ve)},O.prototype.writeInt16BE=function(he,Pe,Ve){Le(this,he,Pe,!1,Ve)},O.prototype.writeInt32LE=function(he,Pe,Ve){ut(this,he,Pe,!0,Ve)},O.prototype.writeInt32BE=function(he,Pe,Ve){ut(this,he,Pe,!1,Ve)},O.prototype.writeFloatLE=function(he,Pe,Ve){Oe(this,he,Pe,!0,Ve)},O.prototype.writeFloatBE=function(he,Pe,Ve){Oe(this,he,Pe,!1,Ve)},O.prototype.writeDoubleLE=function(he,Pe,Ve){xe(this,he,Pe,!0,Ve)},O.prototype.writeDoubleBE=function(he,Pe,Ve){xe(this,he,Pe,!1,Ve)},O.prototype.fill=function(he,Pe,Ve){if(Pe=Pe||0,Ve=Ve||this.length,ve("number"==typeof(he="string"==typeof(he=he||0)?he.charCodeAt(0):he)&&!isNaN(he),"value is not a number"),ve(Pe<=Ve,"end < start"),Ve!==Pe&&0!==this.length){ve(0<=Pe&&Pe<this.length,"start out of bounds"),ve(0<=Ve&&Ve<=this.length,"end out of bounds");for(var dt=Pe;dt<Ve;dt++)this[dt]=he}},O.prototype.inspect=function(){for(var he=[],Pe=this.length,Ve=0;Ve<Pe;Ve++)if(he[Ve]=Qe(this[Ve]),Ve===f.INSPECT_MAX_BYTES){he[Ve+1]="...";break}return"<Buffer "+he.join(" ")+">"},O.prototype.toArrayBuffer=function(){if(typeof Uint8Array>"u")throw new Error("Buffer.toArrayBuffer not supported in this browser");if(O._useTypedArrays)return new O(this).buffer;
1for(var he=new Uint8Array(this.length),Pe=0,Ve=he.length;Pe<Ve;Pe+=1)he[Pe]=this[Pe];return he.buffer};var Ce=O.prototype;function Te(he,Pe,Ve){return"number"!=typeof he?Ve:Pe<=(he=~~he)?Pe:0<=he||0<=(he+=Pe)?he:0}function Fe(he){return(he=~~Math.ceil(+he))<0?0:he}function Ke(he){return(Array.isArray||function(Pe){return"[object Array]"===Object.prototype.toString.call(Pe)})(he)}function Qe(he){return he<16?"0"+he.toString(16):he.toString(16)}function kt(he){for(var Pe=[],Ve=0;Ve<he.length;Ve++){var dt=he.charCodeAt(Ve);if(dt<=127)Pe.push(he.charCodeAt(Ve));else for(var Dt=Ve,wt=(55296<=dt&&dt<=57343&&Ve++,encodeURIComponent(he.slice(Dt,Ve+1)).substr(1).split("%")),Yt=0;Yt<wt.length;Yt++)Pe.push(parseInt(wt[Yt],16))}return Pe}function ct(he){return D.toByteArray(he)}function Pt(he,Pe,Ve,dt){for(var Dt=0;Dt<dt&&!(Dt+Ve>=Pe.length||Dt>=he.length);Dt++)Pe[Dt+Ve]=he[Dt];return Dt}function Ze(he){try{return decodeURIComponent(he)}catch{return"\ufffd"}}function fe(he,Pe){ve("number"==typeof he,"cannot write a non-number as a number"),ve(0<=he,"specified a negative value for writing an unsigned value"),ve(he<=Pe,"value is larger than maximum value for type"),ve(Math.floor(he)===he,"value has a fractional component")}function ie(he,Pe,Ve){ve("number"==typeof he,"cannot write a non-number as a number"),ve(he<=Pe,"value larger than maximum allowed value"),ve(Ve<=he,"value smaller than minimum allowed value"),ve(Math.floor(he)===he,"value has a fractional component")}function Xe(he,Pe,Ve){ve("number"==typeof he,"cannot write a non-number as a number"),ve(he<=Pe,"value larger than maximum allowed value"),ve(Ve<=he,"value smaller than minimum allowed value")}function ve(he,Pe){if(!he)throw new Error(Pe||"Failed assertion")}O._augment=function(he){return he._isBuffer=!0,he._get=he.get,he._set=he.set,he.get=Ce.get,he.set=Ce.set,he.write=Ce.write,he.toString=Ce.toString,he.toLocaleString=Ce.toString,he.toJSON=Ce.toJSON,he.copy=Ce.copy,he.slice=Ce.slice,he.readUInt8=Ce.readUInt8,he.readUInt16LE=Ce.readUInt16LE,he.readUInt16BE=Ce.readUInt16BE,he.readUInt32LE=Ce.readUInt32LE,he.readUInt32BE=Ce.readUInt32BE,he.readInt8=Ce.readInt8,he.readInt16LE=Ce.readInt16LE,he.readInt16BE=Ce.readInt16BE,he.readInt32LE=Ce.readInt32LE,he.readInt32BE=Ce.readInt32BE,he.readFloatLE=Ce.readFloatLE,he.readFloatBE=Ce.readFloatBE,he.readDoubleLE=Ce.readDoubleLE,he.readDoubleBE=Ce.readDoubleBE,he.writeUInt8=Ce.writeUInt8,he.writeUInt16LE=Ce.writeUInt16LE,he.writeUInt16BE=Ce.writeUInt16BE,he.writeUInt32LE=Ce.writeUInt32LE,he.writeUInt32BE=Ce.writeUInt32BE,he.writeInt8=Ce.writeInt8,he.writeInt16LE=Ce.writeInt16LE,he.writeInt16BE=Ce.writeInt16BE,he.writeInt32LE=Ce.writeInt32LE,he.writeInt32BE=Ce.writeInt32BE,he.writeFloatLE=Ce.writeFloatLE,he.writeFloatBE=Ce.writeFloatBE,he.writeDoubleLE=Ce.writeDoubleLE,he.writeDoubleBE=Ce.writeDoubleBE,he.fill=Ce.fill,he.inspect=Ce.inspect,he.toArrayBuffer=Ce.toArrayBuffer,he}}).call(this,V("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},V("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(V,l,f){(function(g,h,D,C,o,y,d,M,A){D=V("buffer").Buffer;var O=new D(4);O.fill(0),l.exports={hash:function(x,N,q,K){for(var te=N(function(ne,de){ne.length%4!=0&&(ne=D.concat([ne,O],ne.length+(4-ne.length%4)));for(var ut=[],Oe=de?ne.readInt32BE:ne.readInt32LE,xe=0;xe<ne.length;xe+=4)ut.push(Oe.call(ne,xe));return ut}(x=D.isBuffer(x)?x:new D(x),K),8*x.length),H=(N=K,new D(q)),ee=N?H.writeInt32BE:H.writeInt32LE,F=0;F<te.length;F++)ee.call(H,te[F],4*F,!0);return H}}}).call(this,V("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},V("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(V,l,f){(function(g,h,D,C,o,y,d,M,A){D=V("buffer").Buffer;var w=V("./sha"),O=V("./sha256"),x=V("./rng"),N={sha1:w,sha256:O,md5:V("./md5")},q=64,K=new D(q);function te(ne,de){var Le=N[ne=ne||"sha1"],ut=[];return Le||H("algorithm:",ne,"is not yet supported"),{update:function(Oe){return D.isBuffer(Oe)||(Oe=new D(Oe)),ut.push(Oe),this},digest:function(Oe){var xe=D.concat(ut);return xe=de?function(Ce,Te,Fe){D.isBuffer(Te)||(Te=new D(Te)),D.isBuffer(Fe)||(Fe=new D(Fe)),Te.length>q?Te=Ce(Te):Te.length<q&&(Te=D.concat([Te,K],q));for(var Ke=new D(q),Qe=new D(q),kt=0;kt<q;kt++)Ke[kt]=54^Te[kt],Qe[kt]=92^Te[kt];return Fe=Ce(D.concat([Ke,Fe])),Ce(D.concat([Qe,Fe]))}
1(Le,de,xe):Le(xe),ut=null,Oe?xe.toString(Oe):xe}}}function H(){var ne=[].slice.call(arguments).join(" ");throw new Error([ne,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}K.fill(0),f.createHash=function(ne){return te(ne)},f.createHmac=te,f.randomBytes=function(ne,de){if(!de||!de.call)return new D(x(ne));try{de.call(this,void 0,new D(x(ne)))}catch(Le){de(Le)}};var ee,F=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],J=function(ne){f[ne]=function(){H("sorry,",ne,"is not implemented yet")}};for(ee in F)J(F[ee])}).call(this,V("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},V("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(V,l,f){(function(g,h,_,C,o,y,d,M,A){var D=V("./helpers");function w(H,ee){H[ee>>5]|=128<<ee%32,H[14+(ee+64>>>9<<4)]=ee;for(var F=1732584193,J=-271733879,ne=-1732584194,de=271733878,Le=0;Le<H.length;Le+=16){var ut=F,Oe=J,xe=ne,Ce=de;F=x(F,J,ne,de,H[Le+0],7,-680876936),de=x(de,F,J,ne,H[Le+1],12,-389564586),ne=x(ne,de,F,J,H[Le+2],17,606105819),J=
vendor: 4,191 bytes, line 1
1x(J,ne,de,F,H[Le+3],22,-1044525330),F=x(F,J,ne,de,H[Le+4],7,-176418897),de=x(de,F,J,ne,H[Le+5],12,1200080426),ne=x(ne,de,F,J,H[Le+6],17,-1473231341),J=x(J,ne,de,F,H[Le+7],22,-45705983),F=x(F,J,ne,de,H[Le+8],7,1770035416),de=x(de,F,J,ne,H[Le+9],12,-1958414417),ne=x(ne,de,F,J,H[Le+10],17,-42063),J=x(J,ne,de,F,H[Le+11],22,-1990404162),F=x(F,J,ne,de,H[Le+12],7,1804603682),de=x(de,F,J,ne,H[Le+13],12,-40341101),ne=x(ne,de,F,J,H[Le+14],17,-1502002290),F=N(F,J=x(J,ne,de,F,H[Le+15],22,1236535329),ne,de,H[Le+1],5,-165796510),de=N(de,F,J,ne,H[Le+6],9,-1069501632),ne=N(ne,de,F,J,H[Le+11],14,643717713),J=N(J,ne,de,F,H[Le+0],20,-373897302),F=N(F,J,ne,de,H[Le+5],5,-701558691),de=N(de,F,J,ne,H[Le+10],9,38016083),ne=N(ne,de,F,J,H[Le+15],14,-660478335),J=N(J,ne,de,F,H[Le+4],20,-405537848),F=N(F,J,ne,de,H[Le+9],5,568446438),de=N(de,F,J,ne,H[Le+14],9,-1019803690),ne=N(ne,de,F,J,H[Le+3],14,-187363961),J=N(J,ne,de,F,H[Le+8],20,1163531501),F=N(F,J,ne,de,H[Le+13],5,-1444681467),de=N(de,F,J,ne,H[Le+2],9,-51403784),ne=N(ne,de,F,J,H[Le+7],14,1735328473),F=q(F,J=N(J,ne,de,F,H[Le+12],20,-1926607734),ne,de,H[Le+5],4,-378558),de=q(de,F,J,ne,H[Le+8],11,-2022574463),ne=q(ne,de,F,J,H[Le+11],16,1839030562),J=q(J,ne,de,F,H[Le+14],23,-35309556),F=q(F,J,ne,de,H[Le+1],4,-1530992060),de=q(de,F,J,ne,H[Le+4],11,1272893353),ne=q(ne,de,F,J,H[Le+7],16,-155497632),J=q(J,ne,de,F,H[Le+10],23,-1094730640),F=q(F,J,ne,de,H[Le+13],4,681279174),de=q(de,F,J,ne,H[Le+0],11,-358537222),ne=q(ne,de,F,J,H[Le+3],16,-722521979),J=q(J,ne,de,F,H[Le+6],23,76029189),F=q(F,J,ne,de,H[Le+9],4,-640364487),de=q(de,F,J,ne,H[Le+12],11,-421815835),ne=q(ne,de,F,J,H[Le+15],16,530742520),F=K(F,J=q(J,ne,de,F,H[Le+2],23,-995338651),ne,de,H[Le+0],6,-198630844),de=K(de,F,J,ne,H[Le+7],10,1126891415),ne=K(ne,de,F,J,H[Le+14],15,-1416354905),J=K(J,ne,de,F,H[Le+5],21,-57434055),F=K(F,J,ne,de,H[Le+12],6,1700485571),de=K(de,F,J,ne,H[Le+3],10,-1894986606),ne=K(ne,de,F,J,H[Le+10],15,-1051523),J=K(J,ne,de,F,H[Le+1],21,-2054922799),F=K(F,J,ne,de,H[Le+8],6,1873313359),de=K(de,F,J,ne,H[Le+15],10,-30611744),ne=K(ne,de,F,J,H[Le+6],15,-1560198380),J=K(J,ne,de,F,H[Le+13],21,1309151649),F=K(F,J,ne,de,H[Le+4],6,-145523070),de=K(de,F,J,ne,H[Le+11],10,-1120210379),ne=K(ne,de,F,J,H[Le+2],15,718787259),J=K(J,ne,de,F,H[Le+9],21,-343485551),F=te(F,ut),J=te(J,Oe),ne=te(ne,xe),de=te(de,Ce)}return Array(F,J,ne,de)}function O(H,ee,F,J,ne,de){return te((ee=te(te(ee,H),te(J,de)))<<ne|ee>>>32-ne,F)}function x(H,ee,F,J,ne,de,Le){return O(ee&F|~ee&J,H,ee,ne,de,Le)}function N(H,ee,F,J,ne,de,Le){return O(ee&J|F&~J,H,ee,ne,de,Le)}function q(H,ee,F,J,ne,de,Le){return O(ee^F^J,H,ee,ne,de,Le)}function K(H,ee,F,J,ne,de,Le){return O(F^(ee|~J),H,ee,ne,de,Le)}function te(H,ee){var F=(65535&H)+(65535&ee);return(H>>16)+(ee>>16)+(F>>16)<<16|65535&F}l.exports=function(H){return D.hash(H,w,16)}}).call(this,V("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},V("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(V,l,f){(function(g,h,_,C,o,y,d,M,A){l.exports=function(w){for(var O,x=new Array(w),N=0;N<w;N++)!(3&N)&&(O=4294967296*Math.random()),x[N]=O>>>((3&N)<<3)&255;return x}}).call(this,V("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},V("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(V,l,f){(function(g,h,_,C,o,y,d,M,A){var D=V("./helpers");function w(N,q){N[q>>5]|=128<<24-q%32,N[15+(q+64>>9<<4)]=q;for(var K,te,H,ee=Array(80),F=1732584193,J=-271733879,ne=-1732584194,de=271733878,Le=-1009589776,ut=0;ut<N.length;ut+=16){for(var Oe=F,xe=J,Ce=ne,Te=de,Fe=Le,Ke=0;Ke<80;Ke++){ee[Ke]=Ke<16?N[ut+Ke]:x(ee[Ke-3]^ee[Ke-8]^ee[Ke-14]^ee[Ke-16],1);var Qe=O(O(x(F,5),(Qe=J,te=ne,H=de,(K=Ke)<20?Qe&te|~Qe&H:!(K<40)&&K<60?Qe&te|Qe&H|te&H:Qe^te^H)),O(O(Le,ee[Ke]),(K=Ke)<20?1518500249:K<40?1859775393:K<60?-1894007588:-899497514));Le=de,de=ne,ne=x(J,30),J=F,F=Qe}
1F=O(F,Oe),J=O(J,xe),ne=O(ne,Ce),de=O(de,Te),Le=O(Le,Fe)}return Array(F,J,ne,de,Le)}function O(N,q){var K=(65535&N)+(65535&q);return(N>>16)+(q>>16)+(K>>16)<<16|65535&K}function x(N,q){return N<<q|N>>>32-q}l.exports=function(N){return D.hash(N,w,20,!0)}}).call(this,V("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},V("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(V,l,f){(function(g,h,_,C,o,y,d,M,A){function D(q,K){var te=(65535&q)+(65535&K);return(q>>16)+(K>>16)+(te>>16)<<16|65535&te}function w(q,K){var te,H=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),ee=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),F=new Array(64);q[K>>5]|=128<<24-K%32,q[15+(K+64>>9<<4)]=K;for(var J,ne,de=0;de<q.length;de+=16){for(var Le=ee[0],ut=ee[1],Oe=ee[2],xe=ee[3],Ce=ee[4],Te=ee[5],Fe=ee[6],Ke=ee[7],Qe=0;Qe<64;Qe++)F[Qe]=Qe<16?q[Qe+de]:D(D(D(x(ne=F[Qe-2],17)^x(ne,19)^N(ne,10),F[Qe-7]),x(ne=F[Qe-15],7)^x(ne,18)^N(ne,3)),F[Qe-16]),te=D(D(D(D(Ke,x(ne=Ce,6)^x(ne,11)^x(ne,25)),Ce&Te^~Ce&Fe),H[Qe]),F[Qe]),J=D(x(J=Le,2)^x(J,13)^x(J,22),Le&ut^Le&Oe^ut&Oe),Ke=Fe,Fe=Te,Te=Ce,Ce=D(xe,te),xe=Oe,Oe=ut,ut=Le,Le=D(te,J);ee[0]=D(Le,ee[0]),ee[1]=D(ut,ee[1]),ee[2]=D(Oe,ee[2]),ee[3]=D(xe,ee[3]),ee[4]=D(Ce,ee[4]),ee[5]=D(Te,ee[5]),ee[6]=D(Fe,ee[6]),ee[7]=D(Ke,ee[7])}return ee}var O=V("./helpers"),x=function(q,K){return q>>>K|q<<32-K},N=function(q,K){return q>>>K};l.exports=function(q){return O.hash(q,w,32,!0)}}).call(this,V("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},V("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(V,l,f){(function(g,h,_,C,o,y,d,M,A){f.read=function(D,w,O,x,de){var q,K,te=8*de-x-1,H=(1<<te)-1,ee=H>>1,F=-7,J=O?de-1:0,ne=O?-1:1;for(de=D[w+J],J+=ne,q=de&(1<<-F)-1,de>>=-F,F+=te;0<F;q=256*q+D[w+J],J+=ne,F-=8);for(K=q&(1<<-F)-1,q>>=-F,F+=x;0<F;K=256*K+D[w+J],J+=ne,F-=8);if(0===q)q=1-ee;else{if(q===H)return K?NaN:1/0*(de?-1:1);K+=Math.pow(2,x),q-=ee}return(de?-1:1)*K*Math.pow(2,q-x)},f.write=function(D,w,O,x,N,Le){var K,te,H=8*Le-N-1,ee=(1<<H)-1,F=ee>>1,J=23===N?Math.pow(2,-24)-Math.pow(2,-77):0,ne=x?0:Le-1,de=x?1:-1;for(Le=w<0||0===w&&1/w<0?1:0,w=Math.abs(w),isNaN(w)||w===1/0?(te=isNaN(w)?1:0,K=ee):(K=Math.floor(Math.log(w)/Math.LN2),w*(x=Math.pow(2,-K))<1&&(K--,x*=2),2<=(w+=1<=K+F?J/x:J*Math.pow(2,1-F))*x&&(K++,x/=2),ee<=K+F?(te=0,K=ee):1<=K+F?(te=(w*x-1)*Math.pow(2,N),K+=F):(te=w*Math.pow(2,F-1)*Math.pow(2,N),K=0));8<=N;D[O+ne]=255&te,ne+=de,te/=256,N-=8);for(K=K<<N|te,H+=N;0<H;D[O+ne]=255&K,ne+=de,K/=256,H-=8);D[O+ne-de]|=128*Le}}).call(this,V("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},V("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(V,l,f){(function(g,h,_,C,o,y,d,M,A){var D,w,O;function x(){}(g=l.exports={}).nextTick=(w=typeof window<"u"&&window.setImmediate,O=typeof window<"u"&&window.postMessage&&window.addEventListener,w?function(N){return window.setImmediate(N)}:O?(D=[],window.addEventListener("message",function(N){var q=N.source;q!==window&&null!==q||"process-tick"!==N.data||(N.stopPropagation(),0<D.length&&D.shift()())},!0),function(N){D.push(N),window.postMessage("process-tick","*")}):function(N){setTimeout(N,0)}),g.title="browser",g.browser=!0,g.env={},g.argv=[],g.on=x,g.addListener=x,g.once=x,g.off=x,g.removeListener=x,g.removeAllListeners=x,g.emit=x,g.binding=function(N){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(N){throw new Error("process.chdir is not supported")}}).call(this,V("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},V("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)},56443(ot,V,l){"use strict";ot.exports=l(36055)},96370(ot,V,l){"use strict";ot.exports=function f(g){try{var h=l(12300)(g);return h&&(h.length||Object.keys(h).length)?h:null}catch{return null}}},36055(ot,V,l){"use strict";var f=V;function g(){f.util._configure(),f.Writer._configure(f.BufferWriter),f.Reader._
1configure(f.BufferReader)}f.build="minimal",f.Writer=l(86874),f.BufferWriter=l(42523),f.Reader=l(95082),f.BufferReader=l(58187),f.util=l(67829),f.rpc=l(36222),f.roots=l(85608),f.configure=g,g()},95082(ot,V,l){"use strict";ot.exports=o;var g,f=l(67829),h=f.LongBits,_=f.utf8;function C(w,O){return RangeError("index out of range: "+w.pos+" + "+(O||1)+" > "+w.len)}function o(w){this.buf=w,this.pos=0,this.len=w.length}var y=typeof Uint8Array<"u"?function(O){if(O instanceof Uint8Array||Array.isArray(O))return new o(O);throw Error("illegal buffer")}:function(O){if(Array.isArray(O))return new o(O);throw Error("illegal buffer")},d=function(){return f.Buffer?function(x){return(o.create=function(q){return f.Buffer.isBuffer(q)?new g(q):y(q)})(x)}:y};function M(){var w=new h(0,0),O=0;if(!(this.len-this.pos>4)){for(;O<3;++O){if(this.pos>=this.len)throw C(this);if(w.lo=(w.lo|(127&this.buf[this.pos])<<7*O)>>>0,this.buf[this.pos++]<128)return w}return w.lo=(w.lo|(127&this.buf[this.pos++])<<7*O)>>>0,w}for(;O<4;++O)if(w.lo=(w.lo|(127&this.buf[this.pos])<<7*O)>>>0,this.buf[this.pos++]<128)return w;if(w.lo=(w.lo|(127&this.buf[this.pos])<<28)>>>0,w.hi=(w.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return w;if(O=0,this.len-this.pos>4){for(;O<5;++O)if(w.hi=(w.hi|(127&this.buf[this.pos])<<7*O+3)>>>0,this.buf[this.pos++]<128)return w}else for(;O<5;++O){if(this.pos>=this.len)throw C(this);if(w.hi=(w.hi|(127&this.buf[this.pos])<<7*O+3)>>>0,this.buf[this.pos++]<128)return w}throw Error("invalid varint encoding")}function A(w,O){return(w[O-4]|w[O-3]<<8|w[O-2]<<16|w[O-1]<<24)>>>0}function D(){if(this.pos+8>this.len)throw C(this,8);return new h(A(this.buf,this.pos+=4),A(this.buf,this.pos+=4))}o.create=d(),o.prototype._slice=f.Array.prototype.subarray||f.Array.prototype.slice,o.prototype.uint32=function(){var O=4294967295;return function(){if(O=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128||(O=(O|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)||(O=(O|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)||(O=(O|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)||(O=(O|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128))return O;if((this.pos+=5)>this.len)throw this.pos=this.len,C(this,10);return O}}(),o.prototype.int32=function(){return 0|this.uint32()},o.prototype.sint32=function(){var O=this.uint32();return O>>>1^-(1&O)},o.prototype.bool=function(){return 0!==this.uint32()},o.prototype.fixed32=function(){if(this.pos+4>this.len)throw C(this,4);return A(this.buf,this.pos+=4)},o.prototype.sfixed32=function(){if(this.pos+4>this.len)throw C(this,4);return 0|A(this.buf,this.pos+=4)},o.prototype.float=function(){if(this.pos+4>this.len)throw C(this,4);var O=f.float.readFloatLE(this.buf,this.pos);return this.pos+=4,O},o.prototype.double=function(){if(this.pos+8>this.len)throw C(this,4);var O=f.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,O},o.prototype.bytes=function(){var O=this.uint32(),x=this.pos,N=this.pos+O;if(N>this.len)throw C(this,O);if(this.pos+=O,Array.isArray(this.buf))return this.buf.slice(x,N);if(x===N){var q=f.Buffer;return q?q.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,x,N)},o.prototype.string=function(){var O=this.bytes();return _.read(O,0,O.length)},o.prototype.skip=function(O){if("number"==typeof O){if(this.pos+O>this.len)throw C(this,O);this.pos+=O}else do{if(this.pos>=this.len)throw C(this)}while(128&this.buf[this.pos++]);return this},o.recursionLimit=f.recursionLimit,o.prototype.skipType=function(w,O){if(void 0===O&&(O=0),O>o.recursionLimit)throw Error("maximum nesting depth exceeded");switch(w){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(w=7&this.uint32());)this.skipType(w,O+1);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+w+" at offset "+this.pos)}return this},o._configure=function(w){g=w,o.create=d(),g._configure();var O=f.Long?"toLong":"toNumber";f.merge(o.prototype,{int64:function(){return M.call(this)[O](!1)},uint64:function(){return M.call(this)[O](!0)},sint64:function(){return M.call(this).zzDecode()[O](!1)},fixed64:function(){return D.call(this)[O](!0)},sfixed64:function(){return D.call(this)[O](!1)}})}},58187(ot,V,l){"use strict";ot.exports=h;var f=l(95082);(h.prototype=Object.create(f.prototype)).constructor=h;var g=l(67829);function h(_){f.call(this,_)}h._configure=function(){g.Buffer&&(h.prototype._slice=g.Buffer.prototype.slice)},h.prototype.string=function(){var C=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+C,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+C,this.len))},h._configure()},85608(ot){"use strict";ot.exports={}},36222(ot,V,l){"use strict";V.Service=l(50574)},50574(ot,V,l){"use strict";ot.exports=g;var f=l(67829);
1function g(h,_,C){if("function"!=typeof h)throw TypeError("rpcImpl must be a function");f.EventEmitter.call(this),this.rpcImpl=h,this.requestDelimited=!!_,this.responseDelimited=!!C}(g.prototype=Object.create(f.EventEmitter.prototype)).constructor=g,g.prototype.rpcCall=function h(_,C,o,y,d){if(!y)throw TypeError("request must be specified");var M=this;if(!d)return f.asPromise(h,M,_,C,o,y);if(M.rpcImpl)try{return M.rpcImpl(_,C[M.requestDelimited?"encodeDelimited":"encode"](y).finish(),function(D,w){if(D)return M.emit("error",D,_),d(D);if(null!==w){if(!(w instanceof o))try{w=o[M.responseDelimited?"decodeDelimited":"decode"](w)}catch(O){return M.emit("error",O,_),d(O)}return M.emit("data",w,_),d(null,w)}M.end(!0)})}catch(A){return M.emit("error",A,_),void setTimeout(function(){d(A)},0)}else setTimeout(function(){d(Error("already ended"))},0)},g.prototype.end=function(_){return this.rpcImpl&&(_||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},34446(ot,V,l){"use strict";ot.exports=g;var f=l(67829);function g(o,y){this.lo=o>>>0,this.hi=y>>>0}var h=g.zero=new g(0,0);h.toNumber=function(){return 0},h.zzEncode=h.zzDecode=function(){return this},h.length=function(){return 1};var _=g.zeroHash="\0\0\0\0\0\0\0\0";g.fromNumber=function(y){if(0===y)return h;var d=y<0;d&&(y=-y);var M=y>>>0,A=(y-M)/4294967296>>>0;return d&&(A=~A>>>0,M=~M>>>0,++M>4294967295&&(M=0,++A>4294967295&&(A=0))),new g(M,A)},g.from=function(y){if("number"==typeof y)return g.fromNumber(y);if(f.isString(y)){if(!f.Long)return g.fromNumber(parseInt(y,10));y=f.Long.fromString(y)}return y.low||y.high?new g(y.low>>>0,y.high>>>0):h},g.prototype.toNumber=function(y){if(!y&&this.hi>>>31){var d=1+~this.lo>>>0,M=~this.hi>>>0;return d||(M=M+1>>>0),-(d+4294967296*M)}return this.lo+4294967296*this.hi},g.prototype.toLong=function(y){return f.Long?new f.Long(0|this.lo,0|this.hi,!!y):{low:0|this.lo,high:0|this.hi,unsigned:!!y}};var C=String.prototype.charCodeAt;g.fromHash=function(y){return y===_?h:new g((C.call(y,0)|C.call(y,1)<<8|C.call(y,2)<<16|C.call(y,3)<<24)>>>0,(C.call(y,4)|C.call(y,5)<<8|C.call(y,6)<<16|C.call(y,7)<<24)>>>0)},g.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)},g.prototype.zzEncode=function(){var y=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^y)>>>0,this.lo=(this.lo<<1^y)>>>0,this},g.prototype.zzDecode=function(){var y=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^y)>>>0,this.hi=(this.hi>>>1^y)>>>0,this},g.prototype.length=function(){var y=this.lo,d=(this.lo>>>28|this.hi<<4)>>>0,M=this.hi>>>24;return 0===M?0===d?y<16384?y<128?1:2:y<2097152?3:4:d<16384?d<128?5:6:d<2097152?7:8:M<128?9:10}},67829(ot,V,l){"use strict";var f=V;function g(_,C,o){for(var y=Object.keys(C),d=0;d<y.length;++d)(void 0===_[y[d]]||!o)&&"__proto__"!==y[d]&&(_[y[d]]=C[y[d]]);return _}function h(_){function C(o,y){if(!(this instanceof C))return new C(o,y);Object.defineProperty(this,"message",{get:function(){return o}}),Error.captureStackTrace?Error.captureStackTrace(this,C):Object.defineProperty(this,"stack",{value:(new Error).stack||""}),y&&g(this,y)}return C.prototype=Object.create(Error.prototype,{constructor:{value:C,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return _},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),C}f.asPromise=l(74714),f.base64=l(87530),f.EventEmitter=l(13911),f.float=l(61353),f.inquire=l(96370),f.utf8=l(60338),f.pool=l(11059),f.LongBits=l(34446),f.isNode=!!(typeof global<"u"&&global&&global.process&&global.process.versions&&global.process.versions.node),f.global=f.isNode&&global||typeof window<"u"&&window||typeof self<"u"&&self||this,f.emptyArray=Object.freeze?Object.freeze([]):[],f.emptyObject=Object.freeze?Object.freeze({}):{},f.isInteger=Number.isInteger||function(C){return"number"==typeof C&&isFinite(C)&&Math.floor(C)===C},f.isString=function(C){return"string"==typeof C||C instanceof String},f.isObject=function(C){return C&&"object"==typeof C},f.isset=f.isSet=function(C,o){var y=C[o];return!(null==y||!C.hasOwnProperty(o))&&("object"!=typeof y||(Array.isArray(y)?y.length:Object.keys(y).length)>0)},f.Buffer=function(){try{var _=f.inquire("buffer").Buffer;return _.prototype.utf8Write?_:null}catch{return null}}(),f._Buffer_from=null,f._Buffer_allocUnsafe=null,f.newBuffer=function(C){return"number"==typeof C?f.Buffer?f._Buffer_allocUnsafe(C):new f.Array(C):f.Buffer?f._Buffer_from(C):typeof Uint8Array>"u"?C:new Uint8Array(C)},f.Array=typeof Uint8Array<"u"?Uint8Array:Array,f.Long=f.global.dcodeIO&&f.global.dcodeIO.Long||f.global.Long||f.inquire("long"),f.key2Re=/^true|false|0|1$/,f.key32Re=/^-?(?:0|[1-9][0-9]*)$/,f.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,f.longToHash=function(C){return C?f.LongBits.from(C).toHash():f.LongBits.zeroHash},f.longFromHash=function(C,o){var y=f.LongBits.fromHash(C);return f.Long?f.Long.fromBits(y.lo,y.hi,o):y.toNumber(!!o)},f.merge=g,f.recursionLimit=100,f.makeProp=function(C,o){Object.defineProperty(C,o,{enumerable:!0,configurable:!0,writable:!0})},f.lcFirst=function(C){return C.charAt(0).toLowerCase()+C.substring(1)},f.newError=h,f.ProtocolError=h("ProtocolError"),f.oneOfGetter=function(C){for(var o={},y=0;y<C.length;++y)o[C[y]]=1;return function(){for(var d=Object.keys(this),M=d.length-1;M>-1;--M)if(1===o[d[M]]&&null!=this[d[M]])return d[M]}},f.oneOfSetter=function(C){return function(o){for(var y=0;y<C.length;++y)C[y]!==o&&delete this[C[y]]}},f.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},f._configure=function(){var _=f.Buffer;_?(f._Buffer_from=_.from!==Uint8Array.from&&_.from||function(o,y){return new _(o,y)},f._Buffer_allocUnsafe=_.allocUnsafe||function(o){return new _(o)}):f._Buffer_from=f._Buffer_allocUnsafe=null}},86874(ot,V,l){"use strict";ot.exports=M;var g,f=l(67829),h=f.LongBits,_=f.base64,C=f.utf8;function o(K,te,H){this.fn=K,this.len=te,this.next=void 0,this.val=H}function y(){}function d(K){this.head=K.head,this.tail=K.tail,this.len=K.len,this.next=K.states}function M(){this.len=0,this.head=new o(y,0,0),this.tail=this.head,this.states=null}var A=function(){return f.Buffer?function(){return(M.create=function(){return new g})()}:function(){return new M}};function D(K,te,H){te[H]=255&K}function O(K,te){this.len=K,this.next=void 0,this.val=te}function x(K,te,H){for(;K.hi;)te[H++]=127&K.lo|128,K.lo=(K.lo>>>7|K.hi<<25)>>>0,K.hi>>>=7;for(;K.lo>127;)te[H++]=127&K.lo|128,K.lo=K.lo>>>7;te[H++]=K.lo}function N(K,te,H){te[H]=255&K,te[H+1]=K>>>8&255,te[H+2]=K>>>16&255,te[H+3]=K>>>24}M.create=A(),M.alloc=function(te){return new f.Array(te)},f.Array!==Array&&(M.alloc=f.pool(M.alloc,f.Array.prototype.subarray)),M.prototype._push=function(te,H,ee){return this.tail=this.tail.next=new o(te,H,ee),this.len+=H,this},(O.prototype=Object.create(o.prototype)).fn=function w(K,te,H){for(;K>127;)te[H++]=127&K|128,K>>>=7;te[H]=K},M.prototype.uint32=function(te){return this.len+=(this.tail=this.tail.next=new O((te>>
1>=0)<128?1:te<16384?2:te<2097152?3:te<268435456?4:5,te)).len,this},M.prototype.int32=function(te){return te<0?this._push(x,10,h.fromNumber(te)):this.uint32(te)},M.prototype.sint32=function(te){return this.uint32((te<<1^te>>31)>>>0)},M.prototype.int64=M.prototype.uint64=function(te){var H=h.from(te);return this._push(x,H.length(),H)},M.prototype.sint64=function(te){var H=h.from(te).zzEncode();return this._push(x,H.length(),H)},M.prototype.bool=function(te){return this._push(D,1,te?1:0)},M.prototype.sfixed32=M.prototype.fixed32=function(te){return this._push(N,4,te>>>0)},M.prototype.sfixed64=M.prototype.fixed64=function(te){var H=h.from(te);return this._push(N,4,H.lo)._push(N,4,H.hi)},M.prototype.float=function(te){return this._push(f.float.writeFloatLE,4,te)},M.prototype.double=function(te){return this._push(f.float.writeDoubleLE,8,te)};var q=f.Array.prototype.set?function(te,H,ee){H.set(te,ee)}:function(te,H,ee){for(var F=0;F<te.length;++F)H[ee+F]=te[F]};M.prototype.bytes=function(te){var H=te.length>>>0;if(!H)return this._push(D,1,0);if(f.isString(te)){var ee=M.alloc(H=_.length(te));_.decode(te,ee,0),te=ee}return this.uint32(H)._push(q,H,te)},M.prototype.string=function(te){var H=C.length(te);return H?this.uint32(H)._push(C.write,H,te):this._push(D,1,0)},M.prototype.fork=function(){return this.states=new d(this),this.head=this.tail=new o(y,0,0),this.len=0,this},M.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 o(y,0,0),this.len=0),this},M.prototype.ldelim=function(){var te=this.head,H=this.tail,ee=this.len;return this.reset().uint32(ee),ee&&(this.tail.next=te.next,this.tail=H,this.len+=ee),this},M.prototype.finish=function(){for(var te=this.head.next,H=this.constructor.alloc(this.len),ee=0;te;)te.fn(te.val,H,ee),ee+=te.len,te=te.next;return H},M._configure=function(K){g=K,M.create=A(),g._configure()}},42523(ot,V,l){"use strict";ot.exports=h;var f=l(86874);(h.prototype=Object.create(f.prototype)).constructor=h;var g=l(67829);function h(){f.call(this)}function _(C,o,y){C.length<40?g.utf8.write(C,o,y):o.utf8Write?o.utf8Write(C,y):o.write(C,y)}h._configure=function(){h.alloc=g._Buffer_allocUnsafe,h.writeBytesBuffer=g.Buffer&&g.Buffer.prototype instanceof Uint8Array&&"set"===g.Buffer.prototype.set.name?function(o,y,d){y.set(o,d)}:function(o,y,d){if(o.copy)o.copy(y,d,0,o.length);else for(var M=0;M<o.length;)y[d++]=o[M++]}},h.prototype.bytes=function(o){g.isString(o)&&(o=g._Buffer_from(o,"base64"));var y=o.length>>>0;return this.uint32(y),y&&this._push(h.writeBytesBuffer,y,o),this},h.prototype.string=function(o){var y=g.Buffer.byteLength(o);return this.uint32(y),y&&this._push(_,y,o),this},h._configure()},84412(ot,V,l){"use strict";l.d(V,{t:()=>g});var f=l(18530);class g extends f.B{constructor(_){super(),this._value=_}get value(){return this.getValue()}_subscribe(_){const C=super._subscribe(_);return!C.closed&&_.next(this._value),C}getValue(){const{hasError:_,thrownError:C,_value:o}=this;if(_)throw C;return this._throwIfClosed(),o}next(_){super.next(this._value=_)}}},10021(ot,V,l){"use strict";l.d(V,{A2:()=>g,M7:()=>f,ro:()=>h});const f=_("C",void 0,void 0);function g(C){return _("E",void 0,C)}function h(C){return _("N",C,void 0)}function _(C,o,y){return{kind:C,value:o,error:y}}},71985(ot,V,l){"use strict";l.d(V,{c:()=>d});var f=l(62998),g=l(13961),h=l(3494),_=l(71203),C=l(41026),o=l(98071),y=l(49786);let d=(()=>{class w{constructor(x){x&&(this._subscribe=x)}lift(x){const N=new w;return N.source=this,N.operator=x,N}subscribe(x,N,q){const K=function D(w){return w&&w instanceof f.vU||function A(w){return w&&(0,o.T)(w.next)&&(0,o.T)(w.error)&&(0,o.T)(w.complete)}(w)&&(0,g.Uv)(w)}(x)?x:new f.Ms(x,N,q);return(0,y.Y)(()=>{const{operator:te,source:H}=this;K.add(te?te.call(K,H):H?this._subscribe(K):this._trySubscribe(K))}),K}_trySubscribe(x){try{return this._subscribe(x)}catch(N){x.error(N)}}forEach(x,N){return new(N=M(N))((q,K)=>{const te=new f.Ms({next:H=>{try{x(H)}catch(ee){K(ee),te.unsubscribe()}},error:K,complete:q});this.subscribe(te)})}_subscribe(x){var N;return null===(N=this.source)||void 0===N?void 0:N.subscribe(x)}[h.s](){return this}pipe(...x){return(0,_.m)(x)(this)}toPromise(x){return new(x=M(x))((N,q)=>{let K;this.subscribe(te=>K=te,te=>q(te),()=>N(K))})}}return w.create=O=>new w(O),w})();function M(w){var O;return null!==(O=w??C.$.Promise)&&void 0!==O?O:Promise}},92771(ot,V,l){"use strict";l.d(V,{m:()=>h});var f=l(18530),g=l(86129);class h extends f.B{constructor(C=1/0,o=1/0,y=g.U){super(),this._bufferSize=C,this._windowTime=o,this._timestampProvider=y,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=o===1/0,this._bufferSize=Math.max(1,C),this._windowTime=Math.max(1,o)}next(C){const{isStopped:o,_buffer:y,_infiniteTimeWindow:d,_timestampProvider:M,_windowTime:A}=this;o||(y.push(C),!d&&y.push(M.now()+A)),this._trimBuffer(),super.next(C)}_subscribe(C){this._throwIfClosed(),this._trimBuffer();const o=this._innerSubscribe(C),{_infiniteTimeWindow:y,_buffer:d}=this,M=d.slice();for(let A=0;A<M.length&&!C.closed;A+=y?1:2)C.next(M[A]);return this._checkFinalizedStatuses(C),o}_trimBuffer(){const{_bufferSize:C,_timestampProvider:o,_buffer:y,_infiniteTimeWindow:d}=this,M=(d?1:2)*C;if(C<1/0&&M<y.length&&y.splice(0,y.length-M),!d){const A=o.now();let D=0;for(let w=1;w<y.length&&y[w]<=A;w+=2)D=w;D&&y.splice(0,D+1)}}}},78399(ot,V,l){"use strict";l.d(V,{_:()=>g});var f=l(86129);
vendor: 4,259 bytes, line 1
1class g{constructor(_,C=g.now){this.schedulerActionCtor=_,this.now=C}schedule(_,C=0,o){return new this.schedulerActionCtor(this,_).schedule(o,C)}}g.now=f.U.now},18530(ot,V,l){"use strict";l.d(V,{B:()=>o});var f=l(71985),g=l(13961),h=l(89117),_=l(57908),C=l(49786);let o=(()=>{class d extends f.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(A){const D=new y(this,this);return D.operator=A,D}_throwIfClosed(){if(this.closed)throw new h.P}next(A){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const D of this.currentObservers)D.next(A)}})}error(A){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=A;const{observers:D}=this;for(;D.length;)D.shift().error(A)}})}complete(){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:A}=this;for(;A.length;)A.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var A;return(null===(A=this.observers)||void 0===A?void 0:A.length)>0}_trySubscribe(A){return this._throwIfClosed(),super._trySubscribe(A)}_subscribe(A){return this._throwIfClosed(),this._checkFinalizedStatuses(A),this._innerSubscribe(A)}_innerSubscribe(A){const{hasError:D,isStopped:w,observers:O}=this;return D||w?g.Kn:(this.currentObservers=null,O.push(A),new g.yU(()=>{this.currentObservers=null,(0,_.o)(O,A)}))}_checkFinalizedStatuses(A){const{hasError:D,thrownError:w,isStopped:O}=this;D?A.error(w):O&&A.complete()}asObservable(){const A=new f.c;return A.source=this,A}}return d.create=(M,A)=>new y(M,A),d})();class y extends o{constructor(M,A){super(),this.destination=M,this.source=A}next(M){var A,D;null===(D=null===(A=this.destination)||void 0===A?void 0:A.next)||void 0===D||D.call(A,M)}error(M){var A,D;null===(D=null===(A=this.destination)||void 0===A?void 0:A.error)||void 0===D||D.call(A,M)}complete(){var M,A;null===(A=null===(M=this.destination)||void 0===M?void 0:M.complete)||void 0===A||A.call(M)}_subscribe(M){var A,D;return null!==(D=null===(A=this.source)||void 0===A?void 0:A.subscribe(M))&&void 0!==D?D:g.Kn}}},62998(ot,V,l){"use strict";l.d(V,{Ms:()=>O,vU:()=>M});var f=l(98071),g=l(13961),h=l(41026),_=l(45334),C=l(85343),o=l(10021),y=l(19270),d=l(49786);class M extends g.yU{constructor(H){super(),this.isStopped=!1,H?(this.destination=H,(0,g.Uv)(H)&&H.add(this)):this.destination=K}static create(H,ee,F){return new O(H,ee,F)}next(H){this.isStopped?q((0,o.ro)(H),this):this._next(H)}error(H){this.isStopped?q((0,o.A2)(H),this):(this.isStopped=!0,this._error(H))}complete(){this.isStopped?q(o.M7,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(H){this.destination.next(H)}_error(H){try{this.destination.error(H)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const A=Function.prototype.bind;function D(te,H){return A.call(te,H)}class w{constructor(H){this.partialObserver=H}next(H){const{partialObserver:ee}=this;if(ee.next)try{ee.next(H)}catch(F){x(F)}}error(H){const{partialObserver:ee}=this;if(ee.error)try{ee.error(H)}catch(F){x(F)}else x(H)}complete(){const{partialObserver:H}=this;if(H.complete)try{H.complete()}catch(ee){x(ee)}}}class O extends M{constructor(H,ee,F){let J;if(super(),(0,f.T)(H)||!H)J={next:H??void 0,error:ee??void 0,complete:F??void 0};else{let ne;this&&h.$.useDeprecatedNextContext?(ne=Object.create(H),ne.unsubscribe=()=>this.unsubscribe(),J={next:H.next&&D(H.next,ne),error:H.error&&D(H.error,ne),complete:H.complete&&D(H.complete,ne)}):J=H}this.destination=new w(J)}}function x(te){h.$.useDeprecatedSynchronousErrorHandling?(0,d.l)(te):(0,_.m)(te)}function q(te,H){const{onStoppedNotification:ee}=h.$;ee&&y.f.setTimeout(()=>ee(te,H))}const K={closed:!0,next:C.l,error:function N(te){throw te},complete:C.l}},13961(ot,V,l){"use strict";l.d(V,{Kn:()=>C,Uv:()=>o,yU:()=>_});var f=l(98071),g=l(14079),h=l(57908);class _{constructor(M){this.initialTeardown=M,this.closed=!1,this._parentage=null,this._finalizers=null}
1unsubscribe(){let M;if(!this.closed){this.closed=!0;const{_parentage:A}=this;if(A)if(this._parentage=null,Array.isArray(A))for(const O of A)O.remove(this);else A.remove(this);const{initialTeardown:D}=this;if((0,f.T)(D))try{D()}catch(O){M=O instanceof g.Z?O.errors:[O]}const{_finalizers:w}=this;if(w){this._finalizers=null;for(const O of w)try{y(O)}catch(x){M=M??[],x instanceof g.Z?M=[...M,...x.errors]:M.push(x)}}if(M)throw new g.Z(M)}}add(M){var A;if(M&&M!==this)if(this.closed)y(M);else{if(M instanceof _){if(M.closed||M._hasParent(this))return;M._addParent(this)}(this._finalizers=null!==(A=this._finalizers)&&void 0!==A?A:[]).push(M)}}_hasParent(M){const{_parentage:A}=this;return A===M||Array.isArray(A)&&A.includes(M)}_addParent(M){const{_parentage:A}=this;this._parentage=Array.isArray(A)?(A.push(M),A):A?[A,M]:M}_removeParent(M){const{_parentage:A}=this;A===M?this._parentage=null:Array.isArray(A)&&(0,h.o)(A,M)}remove(M){const{_finalizers:A}=this;A&&(0,h.o)(A,M),M instanceof _&&M._removeParent(this)}}_.EMPTY=(()=>{const d=new _;return d.closed=!0,d})();const C=_.EMPTY;function o(d){return d instanceof _||d&&"closed"in d&&(0,f.T)(d.remove)&&(0,f.T)(d.add)&&(0,f.T)(d.unsubscribe)}function y(d){(0,f.T)(d)?d():d.unsubscribe()}},41026(ot,V,l){"use strict";l.d(V,{$:()=>f});const f={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},84572(ot,V,l){"use strict";l.d(V,{P:()=>D,z:()=>A});var f=l(71985),g=l(93073),h=l(19724),_=l(33669),C=l(6450),o=l(9326),y=l(58496),d=l(54360),M=l(45225);function A(...O){const x=(0,o.lI)(O),N=(0,o.ms)(O),{args:q,keys:K}=(0,g.D)(O);if(0===q.length)return(0,h.H)([],x);const te=new f.c(D(q,x,K?H=>(0,y.e)(K,H):_.D));return N?te.pipe((0,C.I)(N)):te}function D(O,x,N=_.D){return q=>{w(x,()=>{const{length:K}=O,te=new Array(K);let H=K,ee=K;for(let F=0;F<K;F++)w(x,()=>{const J=(0,h.H)(O[F],x);let ne=!1;J.subscribe((0,d._)(q,de=>{te[F]=de,ne||(ne=!0,ee--),ee||q.next(N(te.slice()))},()=>{--H||q.complete()}))},q)},q)}}function w(O,x,N){O?(0,M.N)(N,O,x):x()}},28793(ot,V,l){"use strict";l.d(V,{x:()=>C});var f=l(26365),h=l(9326),_=l(19724);function C(...o){return function g(){return(0,f.U)(1)}()((0,_.H)(o,(0,h.lI)(o)))}},43984(ot,V,l){"use strict";l.d(V,{x:()=>C});var f=l(18530),g=l(71985),h=l(59030);const _={connector:()=>new f.B,resetOnDisconnect:!0};function C(o,y=_){let d=null;const{connector:M,resetOnDisconnect:A=!0}=y;let D=M();const w=new g.c(O=>D.subscribe(O));return w.connect=()=>((!d||d.closed)&&(d=(0,h.v)(()=>o).subscribe(D),A&&d.add(()=>D=M())),d),w}},59030(ot,V,l){"use strict";l.d(V,{v:()=>h});var f=l(71985),g=l(58750);function h(_){return new f.c(C=>{(0,g.Tg)(_()).subscribe(C)})}},83529(ot,V,l){"use strict";l.d(V,{$:()=>C});var f=l(31635),g=l(54360),h=l(71985),_=l(58750);function C(o,y={}){const{selector:d}=y,M=(0,f.Tt)(y,["selector"]);return new h.c(A=>{const D=new AbortController,{signal:w}=D;let O=!0;const{signal:x}=M;if(x)if(x.aborted)D.abort();else{const K=()=>{w.aborted||D.abort()};x.addEventListener("abort",K),A.add(()=>x.removeEventListener("abort",K))}const N=Object.assign(Object.assign({},M),{signal:w}),q=K=>{O=!1,A.error(K)};return fetch(o,N).then(K=>{d?(0,_.Tg)(d(K)).subscribe((0,g._)(A,void 0,()=>{O=!1,A.complete()},q)):(O=!1,A.next(K),A.complete())}).catch(q),()=>{O&&D.abort()}})}},983(ot,V,l){"use strict";l.d(V,{w:()=>h});const h=new(l(71985).c)(o=>o.complete())},27468(ot,V,l){"use strict";l.d(V,{p:()=>d});var f=l(71985),g=l(93073),h=l(58750),_=l(9326),C=l(54360),o=l(6450),y=l(58496);function d(...M){const A=(0,_.ms)(M),{args:D,keys:w}=(0,g.D)(M),O=new f.c(x=>{const{length:N}=D;if(!N)return void x.complete();const q=new Array(N);let K=N,te=N;for(let H=0;H<N;H++){let ee=!1;(0,h.Tg)(D[H]).subscribe((0,C._)(x,F=>{ee||(ee=!0,te--),q[H]=F},()=>K--,void 0,()=>{(!K||!ee)&&(te||x.next(w?(0,y.e)(w,q):q),x.complete())}))}});return A?O.pipe((0,o.I)(A)):O}},19724(ot,V,l){"use strict";l.d(V,{H:()=>h});var f=l(22593),g=l(58750);function h(_,C){return C?(0,f.c)(_,C):(0,g.Tg)(_)}},33726(ot,V,l){"use strict";l.d(V,{R:()=>A});var f=l(58750),g=l(71985),h=l(73028),_=l(47441),C=l(98071),o=l(6450);const y=["addListener","removeListener"],d=["addEventListener","removeEventListener"],M=["on","off"];function A(N,q,K,te){if((0,C.T)(K)&&(te=K,K=void 0),te)return A(N,q,K).pipe((0,o.I)(te));const[H,ee]=function x(N){return(0,C.T)(N.addEventListener)&&(0,C.T)(N.removeEventListener)}(N)?d.map(F=>J=>N[F](q,J,K)):function w(N){return(0,C.T)(N.addListener)&&(0,C.T)(N.removeListener)}(N)?y.map(D(N,q)):function O(N){return(0,C.T)(N.on)&&(0,C.T)(N.off)}(N)?M.map(D(N,q)):[];if(!H&&(0,_.X)(N))return(0,h.Z)(F=>A(F,q,K))((0,f.Tg)(N));if(!H)throw new TypeError("Invalid event target");return new g.c(F=>{const J=(...ne)=>F.next(1<ne.length?ne:ne[0]);return H(J),()=>ee(J)})}function D(N,q){return K=>te=>N[K](q,te)}},58750(ot,V,l){"use strict";l.d(V,{Tg:()=>O});var f=l(31635),g=l(47441),h=l(59858),_=l(71985),C=l(55055),o=l(37953),y=l(50591),d=l(85397),M=l(15196),A=l(98071),D=l(45334),w=l(3494);function O(F){if(F instanceof _.c)return F;if(null!=F){if((0,C.l)(F))return function x(F){return new _.c(J=>{const ne=F[w.s]();if((0,A.T)(ne.subscribe))return ne.subscribe(J);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(F);if((0,g.X)(F))return function N(F){return new _.c(J=>{for(let ne=0;ne<F.length&&!J.closed;ne++)J.next(F[ne]);J.complete()})}
1(F);if((0,h.y)(F))return function q(F){return new _.c(J=>{F.then(ne=>{J.closed||(J.next(ne),J.complete())},ne=>J.error(ne)).then(null,D.m)})}(F);if((0,o.T)(F))return te(F);if((0,d.x)(F))return function K(F){return new _.c(J=>{for(const ne of F)if(J.next(ne),J.closed)return;J.complete()})}(F);if((0,M.U)(F))return function H(F){return te((0,M.C)(F))}(F)}throw(0,y.L)(F)}function te(F){return new _.c(J=>{(function ee(F,J){var ne,de,Le,ut;return(0,f.sH)(this,void 0,void 0,function*(){try{for(ne=(0,f.xN)(F);!(de=yield ne.next()).done;)if(J.next(de.value),J.closed)return}catch(Oe){Le={error:Oe}}finally{try{de&&!de.done&&(ut=ne.return)&&(yield ut.call(ne))}finally{if(Le)throw Le.error}}J.complete()})})(F,J).catch(ne=>J.error(ne))})}},57786(ot,V,l){"use strict";l.d(V,{h:()=>o});var f=l(26365),g=l(58750),h=l(983),_=l(9326),C=l(19724);function o(...y){const d=(0,_.lI)(y),M=(0,_.R0)(y,1/0),A=y;return A.length?1===A.length?(0,g.Tg)(A[0]):(0,f.U)(M)((0,C.H)(A,d)):h.w}},35060(ot,V,l){"use strict";l.d(V,{t:()=>h});var f=l(71985),g=l(85343);const h=new f.c(g.l)},7673(ot,V,l){"use strict";l.d(V,{of:()=>h});var f=l(9326),g=l(19724);function h(..._){const C=(0,f.lI)(_);return(0,g.H)(_,C)}},1033(ot,V,l){"use strict";l.d(V,{O:()=>C});var f=l(71985),g=l(58750),h=l(42326),_=l(54360);function C(...y){return 1===(y=(0,h.K)(y)).length?(0,g.Tg)(y[0]):new f.c(function o(y){return d=>{let M=[];for(let A=0;M&&!d.closed&&A<y.length;A++)M.push((0,g.Tg)(y[A]).subscribe((0,_._)(d,D=>{if(M){for(let w=0;w<M.length;w++)w!==A&&M[w].unsubscribe();M=null}d.next(D)})))}}(y))}},18810(ot,V,l){"use strict";l.d(V,{$:()=>h});var f=l(71985),g=l(98071);function h(_,C){const o=(0,g.T)(_)?_:()=>_,y=d=>d.error(o());return new f.c(C?d=>C.schedule(y,0,d):y)}},1807(ot,V,l){"use strict";l.d(V,{O:()=>C});var f=l(71985),g=l(43236),h=l(79470),_=l(28211);function C(o=0,y,d=g.b){let M=-1;return null!=y&&((0,h.m)(y)?d=y:M=y),new f.c(A=>{let D=(0,_.v)(o)?+o-d.now():o;D<0&&(D=0);let w=0;return d.schedule(function(){A.closed||(A.next(w++),0<=M?this.schedule(void 0,M):A.complete())},D)})}},44437(ot,V,l){"use strict";l.d(V,{y:()=>y});var f=l(71985),g=l(58750),h=l(42326),_=l(983),C=l(54360),o=l(9326);function y(...d){const M=(0,o.ms)(d),A=(0,h.K)(d);return A.length?new f.c(D=>{let w=A.map(()=>[]),O=A.map(()=>!1);D.add(()=>{w=O=null});for(let x=0;!D.closed&&x<A.length;x++)(0,g.Tg)(A[x]).subscribe((0,C._)(D,N=>{if(w[x].push(N),w.every(q=>q.length)){const q=w.map(K=>K.shift());D.next(M?M(...q):q),w.some((K,te)=>!K.length&&O[te])&&D.complete()}},()=>{O[x]=!0,!w[x].length&&D.complete()}));return()=>{w=O=null}}):_.w}},54360(ot,V,l){"use strict";l.d(V,{H:()=>h,_:()=>g});var f=l(62998);function g(_,C,o,y,d){return new h(_,C,o,y,d)}class h extends f.vU{constructor(C,o,y,d,M,A){super(C),this.onFinalize=M,this.shouldUnsubscribe=A,this._next=o?function(D){try{o(D)}catch(w){C.error(w)}}:super._next,this._error=d?function(D){try{d(D)}catch(w){C.error(w)}finally{this.unsubscribe()}}:super._error,this._complete=y?function(){try{y()}catch(D){C.error(D)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var C;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:o}=this;super.unsubscribe(),!o&&(null===(C=this.onFinalize)||void 0===C||C.call(this))}}}},13798(ot,V,l){"use strict";l.d(V,{Z:()=>y});var f=l(43236),g=l(39974),h=l(58750),_=l(54360),o=l(1807);function y(d,M=f.E){return function C(d){return(0,g.N)((M,A)=>{let D=!1,w=null,O=null,x=!1;const N=()=>{if(O?.unsubscribe(),O=null,D){D=!1;const K=w;w=null,A.next(K)}x&&A.complete()},q=()=>{O=null,x&&A.complete()};M.subscribe((0,_._)(A,K=>{D=!0,w=K,O||(0,h.Tg)(d(K)).subscribe(O=(0,_._)(A,N,q))},()=>{x=!0,(!D||!O||O.closed)&&A.complete()}))})}(()=>(0,o.O)(d,M))}},99437(ot,V,l){"use strict";l.d(V,{W:()=>_});var f=l(58750),g=l(54360),h=l(39974);function _(C){return(0,h.N)((o,y)=>{let A,d=null,M=!1;d=o.subscribe((0,g._)(y,void 0,void 0,D=>{A=(0,f.Tg)(C(D,_(C)(o))),d?(d.unsubscribe(),d=null,A.subscribe(y)):M=!0})),M&&(d.unsubscribe(),d=null,A.subscribe(y))})}},20140(ot,V,l){"use strict";l.d(V,{v:()=>d});var f=l(84572),g=l(39974),h=l(42326),_=l(6450),C=l(71203),o=l(9326);function y(...M){const A=(0,o.ms)(M);return A?(0,C.F)(y(...M),(0,_.I)(A)):(0,g.N)((D,w)=>{(0,f.P)([D,...(0,h.K)(M)])(w)})}function d(...M){return y(...M)}},70274(ot,V,l){"use strict";l.d(V,{H:()=>h});var f=l(73028),g=l(98071);function h(_,C){return(0,g.T)(C)?(0,f.Z)(_,C,1):(0,f.Z)(_,1)}},70152(ot,V,l){"use strict";l.d(V,{B:()=>_});var f=l(43236),g=l(39974),h=l(54360);function _(C,o=f.E){return(0,g.N)((y,d)=>{let M=null,A=null,D=null;const w=()=>
1{if(M){M.unsubscribe(),M=null;const x=A;A=null,d.next(x)}};function O(){const x=D+C,N=o.now();if(N<x)return M=this.schedule(void 0,x-N),void d.add(M);w()}y.subscribe((0,h._)(d,x=>{A=x,D=o.now(),M||(M=o.schedule(O,C),d.add(M))},()=>{w(),d.complete()},void 0,()=>{A=M=null}))})}},39901(ot,V,l){"use strict";l.d(V,{U:()=>h});var f=l(39974),g=l(54360);function h(_){return(0,f.N)((C,o)=>{let y=!1;C.subscribe((0,g._)(o,d=>{y=!0,o.next(d)},()=>{y||o.next(_),o.complete()}))})}},77498(ot,V,l){"use strict";l.d(V,{c:()=>D});var f=l(43236),g=l(28793),h=l(96697),_=l(73557),C=l(96354),y=l(73028),d=l(58750);function M(w,O){return O?x=>(0,g.x)(O.pipe((0,h.s)(1),(0,_.w)()),x.pipe(M(w))):(0,y.Z)((x,N)=>(0,d.Tg)(w(x,N)).pipe((0,h.s)(1),function o(w){return(0,C.T)(()=>w)}(x)))}var A=l(1807);function D(w,O=f.E){const x=(0,A.O)(w,O);return M(()=>x)}},23294(ot,V,l){"use strict";l.d(V,{F:()=>_});var f=l(33669),g=l(39974),h=l(54360);function _(o,y=f.D){return o=o??C,(0,g.N)((d,M)=>{let A,D=!0;d.subscribe((0,h._)(M,w=>{const O=y(w);(D||!o(A,O))&&(D=!1,A=O,M.next(w))}))})}function C(o,y){return o===y}},5964(ot,V,l){"use strict";l.d(V,{p:()=>h});var f=l(39974),g=l(54360);function h(_,C){return(0,f.N)((o,y)=>{let d=0;o.subscribe((0,g._)(y,M=>_.call(C,M,d++)&&y.next(M)))})}},70980(ot,V,l){"use strict";l.d(V,{j:()=>g});var f=l(39974);function g(h){return(0,f.N)((_,C)=>{try{_.subscribe(C)}finally{C.add(h)}})}},61594(ot,V,l){"use strict";l.d(V,{$:()=>y});var f=l(9350),g=l(5964),h=l(96697),_=l(39901),C=l(93774),o=l(33669);function y(d,M){const A=arguments.length>=2;return D=>D.pipe(d?(0,g.p)((w,O)=>d(w,O,D)):o.D,(0,h.s)(1),A?(0,_.U)(M):(0,C.v)(()=>new f.G))}},73557(ot,V,l){"use strict";l.d(V,{w:()=>_});var f=l(39974),g=l(54360),h=l(85343);function _(){return(0,f.N)((C,o)=>{C.subscribe((0,g._)(o,h.l))})}},96354(ot,V,l){"use strict";l.d(V,{T:()=>h});var f=l(39974),g=l(54360);function h(_,C){return(0,f.N)((o,y)=>{let d=0;o.subscribe((0,g._)(y,M=>{y.next(_.call(C,M,d++))}))})}},26365(ot,V,l){"use strict";l.d(V,{U:()=>h});var f=l(73028),g=l(33669);function h(_=1/0){return(0,f.Z)(g.D,_)}},85412(ot,V,l){"use strict";l.d(V,{h:()=>_});var f=l(58750),g=l(45225),h=l(54360);function _(C,o,y,d,M,A,D,w){const O=[];let x=0,N=0,q=!1;const K=()=>{q&&!O.length&&!x&&o.complete()},te=ee=>x<d?H(ee):O.push(ee),H=ee=>{A&&o.next(ee),x++;let F=!1;(0,f.Tg)(y(ee,N++)).subscribe((0,h._)(o,J=>{M?.(J),A?te(J):o.next(J)},()=>{F=!0},void 0,()=>{if(F)try{for(x--;O.length&&x<d;){const J=O.shift();D?(0,g.N)(o,D,()=>H(J)):H(J)}K()}catch(J){o.error(J)}}))};return C.subscribe((0,h._)(o,te,()=>{q=!0,K()})),()=>{w?.()}}},73028(ot,V,l){"use strict";l.d(V,{Z:()=>o});var f=l(96354),g=l(58750),h=l(39974),_=l(85412),C=l(98071);function o(y,d,M=1/0){return(0,C.T)(d)?o((A,D)=>(0,f.T)((w,O)=>d(A,w,D,O))((0,g.Tg)(y(A,D))),M):("number"==typeof d&&(M=d),(0,h.N)((A,D)=>(0,_.h)(A,D,y,M)))}},63489(ot,V,l){"use strict";l.d(V,{i:()=>h});var f=l(39974),g=l(85412);function h(_,C,o=1/0){return(0,f.N)((y,d)=>{let M=C;return(0,g.h)(y,d,(A,D)=>_(M,A,D),o,A=>{M=A},!1,void 0,()=>M=null)})}},40941(ot,V,l){"use strict";l.d(V,{Q:()=>_});var f=l(45225),g=l(39974),h=l(54360);function _(C,o=0){return(0,g.N)((y,d)=>{y.subscribe((0,h._)(d,M=>(0,f.N)(d,C,()=>d.next(M),o),()=>(0,f.N)(d,C,()=>d.complete(),o),M=>(0,f.N)(d,C,()=>d.error(M),o)))})}},13946(ot,V,l){"use strict";l.d(V,{J:()=>h});var f=l(39974),g=l(54360);function h(){return(0,f.N)((_,C)=>{let o,y=!1;_.subscribe((0,g._)(C,d=>{const M=o;o=d,y&&C.next([M,d]),y=!0}))})}},12498(ot,V,l){"use strict";l.d(V,{L:()=>o});var f=l(39974),g=l(54360),h=l(33669),_=l(1807),C=l(58750);function o(y=1/0){let d;d=y&&"object"==typeof y?y:{count:y};const{count:M=1/0,delay:A,resetOnSuccess:D=!1}=d;return M<=0?h.D:(0,f.N)((w,O)=>{let N,x=0;const q=()=>{let K=!1;N=w.subscribe((0,g._)(O,te=>{D&&(x=0),O.next(te)},void 0,te=>{if(x++<M){const H=()=>{N?(N.unsubscribe(),N=null,q()):K=!0};if(null!=A){const ee="number"==typeof A?(0,_.O)(A):(0,C.Tg)(A(te,x)),F=(0,g._)(O,()=>{F.unsubscribe(),H()},()=>{O.complete()});ee.subscribe(F)}else H()}else O.error(te)})),K&&(N.unsubscribe(),N=null,q())};q()})}},31943(ot,V,l){"use strict";l.d(V,{S:()=>h});var f=l(39974),g=l(46649);function h(_,C){return(0,f.N)((0,g.S)(_,C,arguments.length>=2,!0))}},46649(ot,V,l){"use strict";l.d(V,{S:()=>g});var f=l(54360);function g(h,_,C,o,y){return(d,M)=>{let A=C,D=_,w=0;d.subscribe((0,f._)(M,O=>{const x=w++;D=A?h(D,O,x):(A=!0,O),o&&M.next(D)},y&&(()=>{A&&M.next(D),M.complete()}
1)))}}},97647(ot,V,l){"use strict";l.d(V,{u:()=>C});var f=l(58750),g=l(18530),h=l(62998),_=l(39974);function C(y={}){const{connector:d=()=>new g.B,resetOnError:M=!0,resetOnComplete:A=!0,resetOnRefCountZero:D=!0}=y;return w=>{let O,x,N,q=0,K=!1,te=!1;const H=()=>{x?.unsubscribe(),x=void 0},ee=()=>{H(),O=N=void 0,K=te=!1},F=()=>{const J=O;ee(),J?.unsubscribe()};return(0,_.N)((J,ne)=>{q++,!te&&!K&&H();const de=N=N??d();ne.add(()=>{q--,0===q&&!te&&!K&&(x=o(F,D))}),de.subscribe(ne),!O&&q>0&&(O=new h.Ms({next:Le=>de.next(Le),error:Le=>{te=!0,H(),x=o(ee,M,Le),de.error(Le)},complete:()=>{K=!0,H(),x=o(ee,A),de.complete()}}),(0,f.Tg)(J).subscribe(O))})(w)}}function o(y,d,...M){if(!0===d)return void y();if(!1===d)return;const A=new h.Ms({next:()=>{A.unsubscribe(),y()}});return(0,f.Tg)(d(...M)).subscribe(A)}},44668(ot,V,l){"use strict";l.d(V,{t:()=>h});var f=l(92771),g=l(97647);function h(_,C,o){let y,d=!1;return _&&"object"==typeof _?({bufferSize:y=1/0,windowTime:C=1/0,refCount:d=!1,scheduler:o}=_):y=_??1/0,(0,g.u)({connector:()=>new f.m(y,C,o),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:d})}},65245(ot,V,l){"use strict";l.d(V,{i:()=>g});var f=l(5964);function g(h){return(0,f.p)((_,C)=>h<=C)}},28492(ot,V,l){"use strict";l.d(V,{j:()=>h});var f=l(39974),g=l(54360);function h(_){return(0,f.N)((C,o)=>{let y=!1,d=0;C.subscribe((0,g._)(o,M=>(y||(y=!_(M,d++)))&&o.next(M)))})}},99172(ot,V,l){"use strict";l.d(V,{Z:()=>_});var f=l(28793),g=l(9326),h=l(39974);function _(...C){const o=(0,g.lI)(C);return(0,h.N)((y,d)=>{(o?(0,f.x)(C,y,o):(0,f.x)(C,y)).subscribe(d)})}},56745(ot,V,l){"use strict";l.d(V,{_:()=>g});var f=l(39974);function g(h,_=0){return(0,f.N)((C,o)=>{o.add(h.schedule(()=>C.subscribe(o),_))})}},25558(ot,V,l){"use strict";l.d(V,{n:()=>_});var f=l(58750),g=l(39974),h=l(54360);function _(C,o){return(0,g.N)((y,d)=>{let M=null,A=0,D=!1;const w=()=>D&&!M&&d.complete();y.subscribe((0,h._)(d,O=>{M?.unsubscribe();let x=0;const N=A++;(0,f.Tg)(C(O,N)).subscribe(M=(0,h._)(d,q=>d.next(o?o(O,q,N,x++):q),()=>{M=null,w()}))},()=>{D=!0,w()}))})}},96697(ot,V,l){"use strict";l.d(V,{s:()=>_});var f=l(983),g=l(39974),h=l(54360);function _(C){return C<=0?()=>f.w:(0,g.N)((o,y)=>{let d=0;o.subscribe((0,h._)(y,M=>{++d<=C&&(y.next(M),C<=d&&y.complete())}))})}},55109(ot,V,l){"use strict";l.d(V,{o:()=>_});var f=l(983),g=l(39974),h=l(54360);function _(C){return C<=0?()=>f.w:(0,g.N)((o,y)=>{let d=[];o.subscribe((0,h._)(y,M=>{d.push(M),C<d.length&&d.shift()},()=>{for(const M of d)y.next(M);y.complete()},void 0,()=>{d=null}))})}},56977(ot,V,l){"use strict";l.d(V,{Q:()=>C});var f=l(39974),g=l(54360),h=l(58750),_=l(85343);function C(o){return(0,f.N)((y,d)=>{(0,h.Tg)(o).subscribe((0,g._)(d,()=>d.complete(),_.l)),!d.closed&&y.subscribe(d)})}},77048(ot,V,l){"use strict";l.d(V,{v:()=>h});var f=l(39974),g=l(54360);function h(_,C=!1){return(0,f.N)((o,y)=>{let d=0;o.subscribe((0,g._)(y,M=>{const A=_(M,d++);(A||C)&&y.next(M),!A&&y.complete()}))})}},88141(ot,V,l){"use strict";l.d(V,{M:()=>C});var f=l(98071),g=l(39974),h=l(54360),_=l(33669);function C(o,y,d){const M=(0,f.T)(o)||y||d?{next:o,error:y,complete:d}:o;return M?(0,g.N)((A,D)=>{var w;null===(w=M.subscribe)||void 0===w||w.call(M);let O=!0;A.subscribe((0,h._)(D,x=>{var N;null===(N=M.next)||void 0===N||N.call(M,x),D.next(x)},()=>{var x;O=!1,null===(x=M.complete)||void 0===x||x.call(M),D.complete()},x=>{var N;O=!1,null===(N=M.error)||void 0===N||N.call(M,x),D.error(x)},()=>{var x,N;O&&(null===(x=M.unsubscribe)||void 0===x||x.call(M)),null===(N=M.finalize)||void 0===N||N.call(M)}))}):_.D}},23386(ot,V,l){"use strict";l.d(V,{c:()=>y});var f=l(43236),g=l(39974),h=l(54360),_=l(58750),o=l(1807);function y(d,M=f.E,A){const D=(0,o.O)(d,M);return function C(d,M){return(0,g.N)((A,D)=>{const{leading:w=!0,trailing:O=!1}=M??{};let x=!1,N=null,q=null,K=!1;const te=()=>{q?.unsubscribe(),q=null,O&&(F(),K&&D.complete())},H=()=>{q=null,K&&D.complete()},ee=J=>q=(0,_.Tg)(d(J)).subscribe((0,h._)(D,te,H)),F=()=>{if(x){x=!1;const J=N;N=null,D.next(J),!K&&ee(J)}};A.subscribe((0,h._)(D,J=>{x=!0,N=J,(!q||q.closed)&&(w?F():ee(J))},()=>{K=!0,(!(O&&x&&q)||q.closed)&&D.complete()}
1))})}(()=>D,A)}},93774(ot,V,l){"use strict";l.d(V,{v:()=>_});var f=l(9350),g=l(39974),h=l(54360);function _(o=C){return(0,g.N)((y,d)=>{let M=!1;y.subscribe((0,h._)(d,A=>{M=!0,d.next(A)},()=>M?d.complete():d.error(o())))})}function C(){return new f.G}},62087(ot,V,l){"use strict";l.d(V,{M:()=>d,w:()=>M});var f=l(43236),g=l(28211),h=l(39974),_=l(58750),C=l(81853),o=l(54360),y=l(45225);const d=(0,C.L)(D=>function(O=null){D(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=O});function M(D,w){const{first:O,each:x,with:N=A,scheduler:q=w??f.E,meta:K=null}=(0,g.v)(D)?{first:D}:"number"==typeof D?{each:D}:D;if(null==O&&null==x)throw new TypeError("No timeout provided.");return(0,h.N)((te,H)=>{let ee,F,J=null,ne=0;const de=Le=>{F=(0,y.N)(H,q,()=>{try{ee.unsubscribe(),(0,_.Tg)(N({meta:K,lastValue:J,seen:ne})).subscribe(H)}catch(ut){H.error(ut)}},Le)};ee=te.subscribe((0,o._)(H,Le=>{F?.unsubscribe(),ne++,H.next(J=Le),x>0&&de(x)},void 0,void 0,()=>{F?.closed||F?.unsubscribe(),J=null})),!ne&&de(null!=O?"number"==typeof O?O:+O-q.now():x)})}function A(D){throw new d(D)}},53993(ot,V,l){"use strict";l.d(V,{E:()=>y});var f=l(39974),g=l(54360),h=l(58750),_=l(33669),C=l(85343),o=l(9326);function y(...d){const M=(0,o.ms)(d);return(0,f.N)((A,D)=>{const w=d.length,O=new Array(w);let x=d.map(()=>!1),N=!1;for(let q=0;q<w;q++)(0,h.Tg)(d[q]).subscribe((0,g._)(D,K=>{O[q]=K,!N&&!x[q]&&(x[q]=!0,(N=x.every(_.D))&&(x=null))},C.l));A.subscribe((0,g._)(D,q=>{if(N){const K=[q,...O];D.next(M?M(...K):K)}}))})}},95588(ot,V,l){"use strict";l.d(V,{V:()=>g});var f=l(71985);function g(h,_){return new f.c(C=>{let o=0;return _.schedule(function(){o===h.length?C.complete():(C.next(h[o++]),C.closed||this.schedule())})})}},33163(ot,V,l){"use strict";l.d(V,{M:()=>h});var f=l(71985),g=l(45225);function h(_,C){if(!_)throw new Error("Iterable cannot be null");return new f.c(o=>{(0,g.N)(o,C,()=>{const y=_[Symbol.asyncIterator]();(0,g.N)(o,C,()=>{y.next().then(d=>{d.done?o.complete():o.next(d.value)})},0,!0)})})}},57119(ot,V,l){"use strict";l.d(V,{S:()=>C});var f=l(71985),g=l(4761),h=l(98071),_=l(45225);function C(o,y){return new f.c(d=>{let M;return(0,_.N)(d,y,()=>{M=o[g.l](),(0,_.N)(d,y,()=>{let A,D;try{({value:A,done:D}=M.next())}catch(w){return void d.error(w)}D?d.complete():d.next(A)},0,!0)}),()=>(0,h.T)(M?.return)&&M.return()})}},11260(ot,V,l){"use strict";l.d(V,{x:()=>_});var f=l(58750),g=l(40941),h=l(56745);function _(C,o){return(0,f.Tg)(C).pipe((0,h._)(o),(0,g.Q)(o))}},33220(ot,V,l){"use strict";l.d(V,{P:()=>_});var f=l(58750),g=l(40941),h=l(56745);function _(C,o){return(0,f.Tg)(C).pipe((0,h._)(o),(0,g.Q)(o))}},51506(ot,V,l){"use strict";l.d(V,{v:()=>h});var f=l(33163),g=l(15196);function h(_,C){return(0,f.M)((0,g.C)(_),C)}},22593(ot,V,l){"use strict";l.d(V,{c:()=>x});var f=l(11260),g=l(33220),h=l(95588),_=l(57119),C=l(33163),o=l(55055),y=l(59858),d=l(47441),M=l(85397),A=l(37953),D=l(50591),w=l(15196),O=l(51506);function x(N,q){if(null!=N){if((0,o.l)(N))return(0,f.x)(N,q);if((0,d.X)(N))return(0,h.V)(N,q);if((0,y.y)(N))return(0,g.P)(N,q);if((0,A.T)(N))return(0,C.M)(N,q);if((0,M.x)(N))return(0,_.S)(N,q);if((0,w.U)(N))return(0,O.v)(N,q)}throw(0,D.L)(N)}},3260(ot,V,l){"use strict";l.d(V,{r:()=>g});var f=l(13961);class g extends f.yU{constructor(_,C){super()}schedule(_,C=0){return this}}},97302(ot,V,l){"use strict";l.d(V,{R:()=>_});var f=l(3260),g=l(48198),h=l(57908);class _ extends f.r{constructor(o,y){super(o,y),this.scheduler=o,this.work=y,this.pending=!1}schedule(o,y=0){var d;if(this.closed)return this;this.state=o;const M=this.id,A=this.scheduler;return null!=M&&(this.id=this.recycleAsyncId(A,M,y)),this.pending=!0,this.delay=y,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(A,this.id,y),this}requestAsyncId(o,y,d=0){return g.f.setInterval(o.flush.bind(o,this),d)}recycleAsyncId(o,y,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return y;null!=y&&g.f.clearInterval(y)}execute(o,y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(o,y);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(o,y){let M,d=!1;try{this.work(o)}catch(A){d=!0,M=A||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),M}unsubscribe(){if(!this.closed){const{id:o,scheduler:y}=this,{actions:d}=y;
vendor: 8,742 bytes, line 1
1this.work=this.state=this.scheduler=null,this.pending=!1,(0,h.o)(d,this),null!=o&&(this.id=this.recycleAsyncId(y,o,null)),this.delay=null,super.unsubscribe()}}}},707(ot,V,l){"use strict";l.d(V,{q:()=>g});var f=l(78399);class g extends f._{constructor(_,C=f._.now){super(_,C),this.actions=[],this._active=!1}flush(_){const{actions:C}=this;if(this._active)return void C.push(_);let o;this._active=!0;do{if(o=_.execute(_.state,_.delay))break}while(_=C.shift());if(this._active=!1,o){for(;_=C.shift();)_.unsubscribe();throw o}}}},30536(ot,V,l){"use strict";l.d(V,{X:()=>y});var f=l(97302),g=l(13961);const h={schedule(M){let A=requestAnimationFrame,D=cancelAnimationFrame;const{delegate:w}=h;w&&(A=w.requestAnimationFrame,D=w.cancelAnimationFrame);const O=A(x=>{D=void 0,M(x)});return new g.yU(()=>D?.(O))},requestAnimationFrame(...M){const{delegate:A}=h;return(A?.requestAnimationFrame||requestAnimationFrame)(...M)},cancelAnimationFrame(...M){const{delegate:A}=h;return(A?.cancelAnimationFrame||cancelAnimationFrame)(...M)},delegate:void 0};var C=l(707);const y=new class o extends C.q{flush(A){let D;this._active=!0,A?D=A.id:(D=this._scheduled,this._scheduled=void 0);const{actions:w}=this;let O;A=A||w.shift();do{if(O=A.execute(A.state,A.delay))break}while((A=w[0])&&A.id===D&&w.shift());if(this._active=!1,O){for(;(A=w[0])&&A.id===D&&w.shift();)A.unsubscribe();throw O}}}(class _ extends f.R{constructor(A,D){super(A,D),this.scheduler=A,this.work=D}requestAsyncId(A,D,w=0){return null!==w&&w>0?super.requestAsyncId(A,D,w):(A.actions.push(this),A._scheduled||(A._scheduled=h.requestAnimationFrame(()=>A.flush(void 0))))}recycleAsyncId(A,D,w=0){var O;if(null!=w?w>0:this.delay>0)return super.recycleAsyncId(A,D,w);const{actions:x}=A;null!=D&&D===A._scheduled&&(null===(O=x[x.length-1])||void 0===O?void 0:O.id)!==D&&(h.cancelAnimationFrame(D),A._scheduled=void 0)}})},25007(ot,V,l){"use strict";l.d(V,{$:()=>x});var f=l(97302);let h,g=1;const _={};function C(q){return q in _&&(delete _[q],!0)}const o={setImmediate(q){const K=g++;return _[K]=!0,h||(h=Promise.resolve()),h.then(()=>C(K)&&q()),K},clearImmediate(q){C(q)}},{setImmediate:d,clearImmediate:M}=o,A={setImmediate(...q){const{delegate:K}=A;return(K?.setImmediate||d)(...q)},clearImmediate(q){const{delegate:K}=A;return(K?.clearImmediate||M)(q)},delegate:void 0};var w=l(707);const x=new class O extends w.q{flush(K){this._active=!0;const te=this._scheduled;this._scheduled=void 0;const{actions:H}=this;let ee;K=K||H.shift();do{if(ee=K.execute(K.state,K.delay))break}while((K=H[0])&&K.id===te&&H.shift());if(this._active=!1,ee){for(;(K=H[0])&&K.id===te&&H.shift();)K.unsubscribe();throw ee}}}(class D extends f.R{constructor(K,te){super(K,te),this.scheduler=K,this.work=te}requestAsyncId(K,te,H=0){return null!==H&&H>0?super.requestAsyncId(K,te,H):(K.actions.push(this),K._scheduled||(K._scheduled=A.setImmediate(K.flush.bind(K,void 0))))}recycleAsyncId(K,te,H=0){var ee;if(null!=H?H>0:this.delay>0)return super.recycleAsyncId(K,te,H);const{actions:F}=K;null!=te&&(null===(ee=F[F.length-1])||void 0===ee?void 0:ee.id)!==te&&(A.clearImmediate(te),K._scheduled===te&&(K._scheduled=void 0))}})},43236(ot,V,l){"use strict";l.d(V,{E:()=>h,b:()=>_});var f=l(97302);const h=new(l(707).q)(f.R),_=h},86129(ot,V,l){"use strict";l.d(V,{U:()=>f});const f={now:()=>(f.delegate||Date).now(),delegate:void 0}},48198(ot,V,l){"use strict";l.d(V,{f:()=>f});const f={setInterval(g,h,..._){const{delegate:C}=f;return C?.setInterval?C.setInterval(g,h,..._):setInterval(g,h,..._)},clearInterval(g){const{delegate:h}=f;return(h?.clearInterval||clearInterval)(g)},delegate:void 0}},19270(ot,V,l){"use strict";l.d(V,{f:()=>f});const f={setTimeout(g,h,..._){const{delegate:C}=f;return C?.setTimeout?C.setTimeout(g,h,..._):setTimeout(g,h,..._)},clearTimeout(g){const{delegate:h}=f;return(h?.clearTimeout||clearTimeout)(g)},delegate:void 0}},4761(ot,V,l){"use strict";l.d(V,{l:()=>g});const g=function f(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494(ot,V,l){"use strict";l.d(V,{s:()=>f});const f="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350(ot,V,l){"use strict";l.d(V,{G:()=>g});const g=(0,l(81853).L)(h=>function(){h(this),this.name="EmptyError",this.message="no elements in sequence"})},89117(ot,V,l){"use strict";l.d(V,{P:()=>g});const g=(0,l(81853).L)(h=>function(){h(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})},14079(ot,V,l){"use strict";l.d(V,{Z:()=>g});const g=(0,l(81853).L)(h=>function(C){h(this),this.message=C?`${C.length} errors occurred during unsubscription:\n${C.map((o,y)=>`${y+1}) ${o.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=C})},9326(ot,V,l){"use strict";l.d(V,{R0:()=>o,lI:()=>C,ms:()=>_});var f=l(98071),g=l(79470);function h(y){return y[y.length-1]}function _(y){return(0,f.T)(h(y))?y.pop():void 0}function C(y){return(0,g.m)(h(y))?y.pop():void 0}function o(y,d){return"number"==typeof h(y)?y.pop():d}},93073(ot,V,l){"use strict";l.d(V,{D:()=>C});const{isArray:f}=Array,{getPrototypeOf:g,prototype:h,keys:_}=Object;function C(y){if(1===y.length){const d=y[0];if(f(d))return{args:d,keys:null};if(function o(y){return y&&"object"==typeof y&&g(y)===h}(d)){const M=_(d);return{args:M.map(A=>d[A]),keys:M}}}return{args:y,keys:null}}},42326(ot,V,l){"use strict";l.d(V,{K:()=>g});const{isArray:f}=Array;function g(h){return 1===h.length&&f(h[0])?h[0]:h}},57908(ot,V,l){"use strict";function f(g,h){if(g){const _=g.indexOf(h);0<=_&&g.splice(_,1)}}l.d(V,{o:()=>f})},81853(ot,V,l){"use strict";function f(g){const _=g(C=>{Error.call(C),C.stack=(new Error).stack});return _.prototype=Object.create(Error.prototype),_.prototype.constructor=_,_}l.d(V,{L:()=>f})},58496(ot,V,l){"use strict";function f(g,h){return g.reduce((_,C,o)=>(_[C]=h[o],_),{})}l.d(V,{e:()=>f})},49786(ot,V,l){"use strict";l.d(V,{Y:()=>h,l:()=>_});var f=l(41026);let g=null;function h(C){if(f.$.useDeprecatedSynchronousErrorHandling){const o=!g;if(o&&(g={errorThrown:!1,error:null}),C(),o){const{errorThrown:y,error:d}=g;if(g=null,y)throw d}}else C()}function _(C){f.$.useDeprecatedSynchronousErrorHandling&&g&&(g.errorThrown=!0,g.error=C)}},45225(ot,V,l){"use strict";function f(g,h,_,C=0,o=!1){const y=h.schedule(function(){_(),o?g.add(this.schedule(null,C)):this.unsubscribe()},C);if(g.add(y),!o)return y}l.d(V,{N:()=>f})},33669(ot,V,l){"use strict";function f(g){return g}l.d(V,{D:()=>f})},47441(ot,V,l){"use strict";l.d(V,{X:()=>f});const f=g=>g&&"number"==typeof g.length&&"function"!=typeof g},37953(ot,V,l){"use strict";l.d(V,{T:()=>g});var f=l(98071);function g(h){return Symbol.asyncIterator&&(0,f.T)(h?.[Symbol.asyncIterator])}},28211(ot,V,l){"use strict";function f(g){return g instanceof Date&&!isNaN(g)}l.d(V,{v:()=>f})},98071(ot,V,l){"use strict";function f(g){return"function"==typeof g}l.d(V,{T:()=>f})},55055(ot,V,l){"use strict";l.d(V,{l:()=>h});var f=l(3494),g=l(98071);function h(_){return(0,g.T)(_[f.s])}},85397(ot,V,l){"use strict";l.d(V,{x:()=>h});var f=l(4761),g=l(98071);function h(_){return(0,g.T)(_?.[f.l])}},74402(ot,V,l){"use strict";l.d(V,{A:()=>h});var f=l(71985),g=l(98071);function h(_){return!!_&&(_ instanceof f.c||(0,g.T)(_.lift)&&(0,g.T)(_.subscribe))}},59858(ot,V,l){"use strict";l.d(V,{y:()=>g});var f=l(98071);function g(h){return(0,f.T)(h?.then)}},15196(ot,V,l){"use strict";l.d(V,{C:()=>h,U:()=>_});var f=l(31635),g=l(98071);function h(C){return(0,f.AQ)(this,arguments,function*(){const y=C.getReader();try{for(;;){const{value:d,done:M}=yield(0,f.N3)(y.read());if(M)return yield(0,f.N3)(void 0);yield yield(0,f.N3)(d)}}finally{y.releaseLock()}})}function _(C){return(0,g.T)(C?.getReader)}},79470(ot,V,l){"use strict";l.d(V,{m:()=>g});var f=l(98071);function g(h){return h&&(0,f.T)(h.schedule)}},39974(ot,V,l){"use strict";l.d(V,{N:()=>h});var f=l(98071);function h(_){return C=>{if(function g(_){return(0,f.T)(_?.lift)}(C))return C.lift(function(o){try{return _(o,this)}catch(y){this.error(y)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450(ot,V,l){"use strict";l.d(V,{I:()=>_});var f=l(96354);const{isArray:g}=Array;function _(C){return(0,f.T)(o=>function h(C,o){return g(o)?C(...o):C(o)}(C,o))}},85343(ot,V,l){"use strict";function f(){}l.d(V,{l:()=>f})},71203(ot,V,l){"use strict";l.d(V,{F:()=>g,m:()=>h});var f=l(33669);function g(..._){return h(_)}function h(_){return 0===_.length?f.D:1===_.length?_[0]:function(o){return _.reduce((y,d)=>d(y),o)}}},45334(ot,V,l){"use strict";l.d(V,{m:()=>h});var f=l(41026),g=l(19270);function h(_){g.f.setTimeout(()=>{const{onUnhandledError:C}=f.$;if(!C)throw _;C(_)})}},50591(ot,V,l){"use strict";function f(g){return new TypeError(`You provided ${null!==g&&"object"==typeof g?"an invali
1d object":`'${g}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}l.d(V,{L:()=>f})},31080(ot){"use strict";const V={generateIdentifier:function(){return Math.random().toString(36).substring(2,12)}};V.localCName=V.generateIdentifier(),V.splitLines=function(l){return l.trim().split("\n").map(f=>f.trim())},V.splitSections=function(l){return l.split("\nm=").map((g,h)=>(h>0?"m="+g:g).trim()+"\r\n")},V.getDescription=function(l){const f=V.splitSections(l);return f&&f[0]},V.getMediaSections=function(l){const f=V.splitSections(l);return f.shift(),f},V.matchPrefix=function(l,f){return V.splitLines(l).filter(g=>0===g.indexOf(f))},V.parseCandidate=function(l){let f;f=0===l.indexOf("a=candidate:")?l.substring(12).split(" "):l.substring(10).split(" ");const g={foundation:f[0],component:{1:"rtp",2:"rtcp"}[f[1]]||f[1],protocol:f[2].toLowerCase(),priority:parseInt(f[3],10),ip:f[4],address:f[4],port:parseInt(f[5],10),type:f[7]};for(let h=8;h<f.length;h+=2)switch(f[h]){case"raddr":g.relatedAddress=f[h+1];break;case"rport":g.relatedPort=parseInt(f[h+1],10);break;case"tcptype":g.tcpType=f[h+1];break;case"ufrag":g.ufrag=f[h+1],g.usernameFragment=f[h+1];break;default:void 0===g[f[h]]&&(g[f[h]]=f[h+1])}return g},V.writeCandidate=function(l){const f=[];f.push(l.foundation);const g=l.component;f.push("rtp"===g?1:"rtcp"===g?2:g),f.push(l.protocol.toUpperCase()),f.push(l.priority),f.push(l.address||l.ip),f.push(l.port);const h=l.type;return f.push("typ"),f.push(h),"host"!==h&&l.relatedAddress&&void 0!==l.relatedPort&&(f.push("raddr"),f.push(l.relatedAddress),f.push("rport"),f.push(l.relatedPort)),l.tcpType&&"tcp"===l.protocol.toLowerCase()&&(f.push("tcptype"),f.push(l.tcpType)),(l.usernameFragment||l.ufrag)&&(f.push("ufrag"),f.push(l.usernameFragment||l.ufrag)),"candidate:"+f.join(" ")},V.parseIceOptions=function(l){return l.substring(14).split(" ")},V.parseRtpMap=function(l){let f=l.substring(9).split(" ");const g={payloadType:parseInt(f.shift(),10)};return f=f[0].split("/"),g.name=f[0],g.clockRate=parseInt(f[1],10),g.channels=3===f.length?parseInt(f[2],10):1,g.numChannels=g.channels,g},V.writeRtpMap=function(l){let f=l.payloadType;void 0!==l.preferredPayloadType&&(f=l.preferredPayloadType);const g=l.channels||l.numChannels||1;return"a=rtpmap:"+f+" "+l.name+"/"+l.clockRate+(1!==g?"/"+g:"")+"\r\n"},V.parseExtmap=function(l){const f=l.substring(9).split(" ");return{id:parseInt(f[0],10),direction:f[0].indexOf("/")>0?f[0].split("/")[1]:"sendrecv",uri:f[1],attributes:f.slice(2).join(" ")}},V.writeExtmap=function(l){return"a=extmap:"+(l.id||l.preferredId)+(l.direction&&"sendrecv"!==l.direction?"/"+l.direction:"")+" "+l.uri+(l.attributes?" "+l.attributes:"")+"\r\n"},V.parseFmtp=function(l){const f={};let g;const h=l.substring(l.indexOf(" ")+1).split(";");for(let _=0;_<h.length;_++)g=h[_].trim().split("="),f[g[0].trim()]=g[1];return f},V.writeFmtp=function(l){let f="",g=l.payloadType;if(void 0!==l.preferredPayloadType&&(g=l.preferredPayloadType),l.parameters&&Object.keys(l.parameters).length){const h=[];Object.keys(l.parameters).forEach(_=>{h.push(void 0!==l.parameters[_]?_+"="+l.parameters[_]:_)}),f+="a=fmtp:"+g+" "+h.join(";")+"\r\n"}return f},V.parseRtcpFb=function(l){const f=l.substring(l.indexOf(" ")+1).split(" ");return{type:f.shift(),parameter:f.join(" ")}},V.writeRtcpFb=function(l){let f="",g=l.payloadType;return void 0!==l.preferredPayloadType&&(g=l.preferredPayloadType),l.rtcpFeedback&&l.rtcpFeedback.length&&l.rtcpFeedback.forEach(h=>{f+="a=rtcp-fb:"+g+" "+h.type+(h.parameter&&h.parameter.length?" "+h.parameter:"")+"\r\n"}),f},V.parseSsrcMedia=function(l){const f=l.indexOf(" "),g={ssrc:parseInt(l.substring(7,f),10)},h=l.indexOf(":",f);return h>-1?(g.attribute=l.substring(f+1,h),g.value=l.substring(h+1)):g.attribute=l.substring(f+1),g},V.parseSsrcGroup=function(l){const f=l.substring(13).split(" ");return{semantics:f.shift(),ssrcs:f.map(g=>parseInt(g,10))}},V.getMid=function(l){const f=V.matchPrefix(l,"a=mid:")[0];if(f)return f.substring(6)},V.parseFingerprint=function(l){const f=l.substring(14).split(" ");return{algorithm:f[0].toLowerCase(),value:f[1].toUpperCase()}},V.getDtlsParameters=function(l,f){return{role:"auto",fingerprints:V.matchPrefix(l+f,"a=fingerprint:").map(V.parseFingerprint)}},V.writeDtlsParameters=function(l,f){let g="a=setup:"+f+"\r\n";
vendor: 6,857 bytes, line 1
1return l.fingerprints.forEach(h=>{g+="a=fingerprint:"+h.algorithm+" "+h.value+"\r\n"}),g},V.parseCryptoLine=function(l){const f=l.substring(9).split(" ");return{tag:parseInt(f[0],10),cryptoSuite:f[1],keyParams:f[2],sessionParams:f.slice(3)}},V.writeCryptoLine=function(l){return"a=crypto:"+l.tag+" "+l.cryptoSuite+" "+("object"==typeof l.keyParams?V.writeCryptoKeyParams(l.keyParams):l.keyParams)+(l.sessionParams?" "+l.sessionParams.join(" "):"")+"\r\n"},V.parseCryptoKeyParams=function(l){if(0!==l.indexOf("inline:"))return null;const f=l.substring(7).split("|");return{keyMethod:"inline",keySalt:f[0],lifeTime:f[1],mkiValue:f[2]?f[2].split(":")[0]:void 0,mkiLength:f[2]?f[2].split(":")[1]:void 0}},V.writeCryptoKeyParams=function(l){return l.keyMethod+":"+l.keySalt+(l.lifeTime?"|"+l.lifeTime:"")+(l.mkiValue&&l.mkiLength?"|"+l.mkiValue+":"+l.mkiLength:"")},V.getCryptoParameters=function(l,f){return V.matchPrefix(l+f,"a=crypto:").map(V.parseCryptoLine)},V.getIceParameters=function(l,f){const g=V.matchPrefix(l+f,"a=ice-ufrag:")[0],h=V.matchPrefix(l+f,"a=ice-pwd:")[0];return g&&h?{usernameFragment:g.substring(12),password:h.substring(10)}:null},V.writeIceParameters=function(l){let f="a=ice-ufrag:"+l.usernameFragment+"\r\na=ice-pwd:"+l.password+"\r\n";return l.iceLite&&(f+="a=ice-lite\r\n"),f},V.parseRtpParameters=function(l){const f={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},h=V.splitLines(l)[0].split(" ");f.profile=h[2];for(let C=3;C<h.length;C++){const o=h[C],y=V.matchPrefix(l,"a=rtpmap:"+o+" ")[0];if(y){const d=V.parseRtpMap(y),M=V.matchPrefix(l,"a=fmtp:"+o+" ");switch(d.parameters=M.length?V.parseFmtp(M[0]):{},d.rtcpFeedback=V.matchPrefix(l,"a=rtcp-fb:"+o+" ").map(V.parseRtcpFb),f.codecs.push(d),d.name.toUpperCase()){case"RED":case"ULPFEC":f.fecMechanisms.push(d.name.toUpperCase())}}}V.matchPrefix(l,"a=extmap:").forEach(C=>{f.headerExtensions.push(V.parseExtmap(C))});const _=V.matchPrefix(l,"a=rtcp-fb:* ").map(V.parseRtcpFb);return f.codecs.forEach(C=>{_.forEach(o=>{C.rtcpFeedback.find(d=>d.type===o.type&&d.parameter===o.parameter)||C.rtcpFeedback.push(o)})}),f},V.writeRtpDescription=function(l,f){let g="";g+="m="+l+" ",g+=f.codecs.length>0?"9":"0",g+=" "+(f.profile||"UDP/TLS/RTP/SAVPF")+" ",g+=f.codecs.map(_=>void 0!==_.preferredPayloadType?_.preferredPayloadType:_.payloadType).join(" ")+"\r\n",g+="c=IN IP4 0.0.0.0\r\n",g+="a=rtcp:9 IN IP4 0.0.0.0\r\n",f.codecs.forEach(_=>{g+=V.writeRtpMap(_),g+=V.writeFmtp(_),g+=V.writeRtcpFb(_)});let h=0;return f.codecs.forEach(_=>{_.maxptime>h&&(h=_.maxptime)}),h>0&&(g+="a=maxptime:"+h+"\r\n"),f.headerExtensions&&f.headerExtensions.forEach(_=>{g+=V.writeExtmap(_)}),g},V.parseRtpEncodingParameters=function(l){const f=[],g=V.parseRtpParameters(l),h=-1!==g.fecMechanisms.indexOf("RED"),_=-1!==g.fecMechanisms.indexOf("ULPFEC"),C=V.matchPrefix(l,"a=ssrc:").map(A=>V.parseSsrcMedia(A)).filter(A=>"cname"===A.attribute),o=C.length>0&&C[0].ssrc;let y;const d=V.matchPrefix(l,"a=ssrc-group:FID").map(A=>A.substring(17).split(" ").map(w=>parseInt(w,10)));d.length>0&&d[0].length>1&&d[0][0]===o&&(y=d[0][1]),g.codecs.forEach(A=>{if("RTX"===A.name.toUpperCase()&&A.parameters.apt){let D={ssrc:o,codecPayloadType:parseInt(A.parameters.apt,10)};o&&y&&(D.rtx={ssrc:y}),f.push(D),h&&(D=JSON.parse(JSON.stringify(D)),D.fec={ssrc:o,mechanism:_?"red+ulpfec":"red"},f.push(D))}}),0===f.length&&o&&f.push({ssrc:o});let M=V.matchPrefix(l,"b=");return M.length&&(M=0===M[0].indexOf("b=TIAS:")?parseInt(M[0].substring(7),10):0===M[0].indexOf("b=AS:")?1e3*parseInt(M[0].substring(5),10)*.95-16e3:void 0,f.forEach(A=>{A.maxBitrate=M})),f},V.parseRtcpParameters=function(l){const f={},g=V.matchPrefix(l,"a=ssrc:").map(C=>V.parseSsrcMedia(C)).filter(C=>"cname"===C.attribute)[0];g&&(f.cname=g.value,f.ssrc=g.ssrc);const h=V.matchPrefix(l,"a=rtcp-rsize");f.reducedSize=h.length>0,f.compound=0===h.length;const _=V.matchPrefix(l,"a=rtcp-mux");return f.mux=_.length>0,f},V.writeRtcpParameters=function(l){let f="";return l.reducedSize&&(f+="a=rtcp-rsize\r\n"),l.mux&&(f+="a=rtcp-mux\r\n"),void 0!==l.ssrc&&l.cname&&(f+="a=ssrc:"+l.ssrc+" cname:"+l.cname+"\r\n"),f},V.parseMsid=function(l){let f;const g=V.matchPrefix(l,"a=msid:");if(1===g.length)return f=g[0].substring(7).split(" "),{stream:f[0],track:f[1]};const h=V.matchPrefix(l,"a=ssrc:").map(_=>V.parseSsrcMedia(_)).filter(_=>"msid"===_.attribute);return h.length>0?(f=h[0].value.split(" "),{stream:f[0],track:f[1]}):void 0},V.parseSctpDescription=function(l){const f=V.parseMLine(l),g=V.matchPrefix(l,"a=max-message-size:");let h;g.length>0&&(h=parseInt(g[0].substring(19),10)),isNaN(h)&&(h=65536);const _=V.matchPrefix(l,"a=sctp-port:");if(_.length>0)return{port:parseInt(_[0].substring(12),10),protocol:f.fmt,maxMessageSize:h};const C=V.matchPrefix(l,"a=sctpmap:");if(C.length>0){const o=C[0].substring(10).split(" ");return{port:parseInt(o[0],10),protocol:o[1],maxMessageSize:h}}},V.writeSctpDescription=function(l,f){let g=[];return g="DTLS/SCTP"!==l.protocol?["m="+l.kind+" 9 "+l.protocol+" "+f.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+f.port+"\r\n"]:["m="+l.kind+" 9 "+l.protocol+" "+f.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+f.port+" "+f.protocol+" 65535\r\n"],void 0!==f.maxMessageSize&&g.push("a=max-message-size:"+f.maxMessageSize+"\r\n"),g.join("")},V.generateSessionId=function(){return Math.random().toString().substr(2,22)},V.writeSessionBoilerplate=function(l,f,g){let h;const _=void 0!==f?f:2;return h=l||V.generateSessionId(),"v=0\r\no="+(g||"thisisadapterortc")+" "+h+" "+_+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},V.getDirection=function(l,f){const g=V.splitLines(l);for(let h=0;h<g.length;h++)switch(g[h]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return g[h].substring(2)}return f?V.getDirection(f):"sendrecv"},V.getKind=function(l){return V.splitLines(l)[0].split(" ")[0].substring(2)},V.isRejected=function(l){return"0"===l.split(" ",2)[1]},V.parseMLine=function(l){const g=V.splitLines(l)[0].substring(2).split(" ");return{kind:g[0],port:parseInt(g[1],10),protocol:g[2],fmt:g.slice(3).join(" ")}},V.parseOLine=function(l){const g=V.matchPrefix(l,"o=")[0].substring(2).split(" ");return{username:g[0],sessionId:g[1],sessionVersion:parseInt(g[2],10),netType:g[3],addressType:g[4],address:g[5]}},V.isValidSDP=function(l){if("string"!=typeof l||0===l.length)return!1;const f=V.splitLines(l);for(let g=0;g<f.length;g++)if(f[g].length<2||"="!==f[g].charAt(1))return!1;return!0},ot.exports=V},1211(ot,V,l){"use strict";l.d(V,{$RB:()=>qo,$RH:()=>Vo,$vF:()=>dn,APB:()=>Ei,AV4:()=>w,AXF:()=>Vn,BDK:()=>go,BIg:()=>ce,Baj:()=>Pn,Blz:()=>ca,Bve:()=>ht,C4f:()=>Eo,CTt:()=>te,Cpw:()=>qr,Cvu:()=>Qe,CzA:()=>br,DGP:()=>j,Dk2:()=>Lt,Dsb:()=>pe,EDG:()=>Or,EKp:()=>Ms,EPQ:()=>Ae,Eyr:()=>Os,Fdx:()=>We,GCD:()=>Tt,GLU:()=>Ze,GRz:()=>Ot,GeC:()=>ni,H6C:()=>As,HfB:()=>bt,Hi0:()=>$t,I9Q:()=>
1qt,Icu:()=>ts,JZp:()=>ws,Jhl:()=>N,JoO:()=>Z,JqP:()=>z,KDE:()=>St,Kf$:()=>Wi,Kfy:()=>an,KlC:()=>rn,Kt_:()=>Be,LYu:()=>Tr,Ln:()=>Pi,MJd:()=>Fs,MMH:()=>dt,N7N:()=>qi,NEu:()=>O,NgQ:()=>Fi,Nhk:()=>ea,ODZ:()=>js,OOj:()=>mr,OX6:()=>zo,OeX:()=>Xn,Om9:()=>Yi,Os3:()=>ms,P9w:()=>yr,Pbb:()=>Xi,PmU:()=>K,Pqd:()=>$r,Pzt:()=>un,Q24:()=>kn,QBB:()=>Fe,QHp:()=>Uo,QVh:()=>kr,Q_1:()=>vo,Qax:()=>Hn,QjU:()=>bs,RL6:()=>li,RYs:()=>Dt,S2g:()=>Mt,SDV:()=>ro,SjL:()=>fe,Slg:()=>Cs,TG2:()=>or,TMB:()=>va,Tll:()=>zt,U2C:()=>jt,U2O:()=>Pr,U9T:()=>to,UsZ:()=>Ie,UwP:()=>yi,VWt:()=>lt,WAk:()=>It,WS6:()=>os,Wfq:()=>ne,WiJ:()=>On,WrK:()=>Mo,Wyw:()=>Ji,X2v:()=>M,XfZ:()=>Ke,YHv:()=>nt,YSh:()=>Bi,Z6W:()=>fi,ZEm:()=>Et,ZPP:()=>Ts,_Gs:()=>ps,_II:()=>Ma,_J6:()=>xe,__H:()=>si,_jD:()=>ho,_pt:()=>ns,_rP:()=>d,_uw:()=>Js,aWT:()=>Wn,aw_:()=>ys,bVp:()=>ai,bsN:()=>Qn,c10:()=>jn,c9I:()=>Pe,cHJ:()=>p,cW9:()=>zs,cl0:()=>kt,dnh:()=>Ps,dtu:()=>_o,eAH:()=>cr,ePS:()=>tn,eWQ:()=>Xs,exz:()=>H,f7x:()=>Lo,fMu:()=>hs,fQS:()=>ve,g1b:()=>ki,gI9:()=>Di,gJe:()=>yt,gVK:()=>Bn,gx$:()=>ko,h2E:()=>es,h3E:()=>Dn,hJ0:()=>ze,hJ2:()=>cs,hLO:()=>Ns,hVK:()=>Zr,iG2:()=>oe,idX:()=>Ve,ix6:()=>Ce,jF9:()=>Fo,jOx:()=>Yo,k6o:()=>vt,kY3:()=>la,klW:()=>qn,kqr:()=>hn,l6C:()=>Un,lDi:()=>ua,loJ:()=>yo,lqj:()=>Po,m6U:()=>Ur,mG3:()=>No,mIv:()=>Yt,mKs:()=>Si,mko:()=>Ni,nRF:()=>Ye,oKl:()=>Le,oO$:()=>is,oZY:()=>ee,obr:()=>D,pTE:()=>fs,pVU:()=>se,qyi:()=>_s,r7i:()=>ke,rA:()=>$i,rKu:()=>A,rRr:()=>gt,rTA:()=>Jo,r_c:()=>oo,rad:()=>wt,roJ:()=>Ao,sER:()=>gr,shj:()=>lo,skA:()=>Xe,su0:()=>ci,tGV:()=>y,tHC:()=>Vt,taH:()=>da,uT2:()=>ut,ue7:()=>Ne,vFC:()=>xa,vUS:()=>Rn,vXy:()=>rt,vyG:()=>q,w9u:()=>vi,wmy:()=>_e,wtg:()=>bi,x7K:()=>bo,x9d:()=>wo,xBw:()=>Oe,xc6:()=>ls,zNT:()=>Bt,zfq:()=>Nn,zlC:()=>Qa,zqb:()=>Ft});var f=l(56443);const h=f.Reader,_=f.Writer,C=f.util,o=f.roots.default||(f.roots.default={}),y=o.ErrorCodes=(()=>{const a={},r=Object.create(a);return r[a[-1]="ConferenceWithPinDoesNotExist"]=-1,r[a[-2]="ConferenceWithPinAlreadyExists"]=-2,r[a[-3]="ConferencePinAndIdDoesNotMatch"]=-3,r[a[-4]="ConferenceAccessDenied"]=-4,r[a[-5]="ConferenceIsCancelled"]=-5,r[a[-6]="ConferencePinIsReadOnly"]=-6,r[a[-7]="ConferenceInvalidPin"]=-7,r[a[-8]="CannotGeneratePin"]=-8,r[a[-9]="FwdProfileDoesNotExist"]=-9,r[a[-10]="FwdProfileOverrideExpirationRequired"]=-10,r[a[0]="Success"]=0,r[a[1]="NoSuchRequest"]=1,r[a[2]="ExceptionOccured"]=2,r[a[3]="RequestIsNotSupported"]=3,r[a[4]="ServerIsBusy"]=4,r[a[5]="BridgeNotFound"]=5,r[a[6]="CannotCleanOwnExtension"]=6,r[a[7]="SetWakeupCallResult"]=7,r[a[8]="ExtensionNotFound"]=8,r[a[9]="NoPermission"]=9,r[a[12]="WebMeetingNoEmail"]=12,r[a[13]="WebMeetingNoAccess"]=13,r[a[16]="WebMeetingInvalidOrganizer"]=16,r[a[17]="WebMeetingInvalidParameters"]=17,r[a[18]="WebMeetingInvalidParticipant"]=18,r[a[19]="WebMeetingInvalidPin"]=19,r[a[20]="WebMeetingAccessDenied"]=20,r[a[21]="WebMeetingNotFound"]=21,r[a[22]="WebMeetingCannotDeleteQM"]=22,r[a[23]="WebMeetingPinIsReadonly"]=23,r[a[24]="WebMeetingNumberToCallIsReadonly"]=24,r[a[25]="WebMeetingInvalidWmUser"]=25,r[a[30]="ExtensionEmailRequired"]=30,r[a[31]="QueueNumberRequired"]=31,r[a[32]="ChatIsDisabled"]=32,r[a[33]="PersonalContactRequired"]=33,r[a[34]="RequiredFieldIsEmpty"]=34,r[a[35]="ContactNotFound"]=35,r[a[36]="ContactIsReadonly"]=36,r[a[37]="ActionIsNotAllowed"]=37,r[a[38]="FileNotFound"]=38,r[a[39]="OwnRecordingsDenied"]=39,r[a[40]="InvalidValue"]=40,r[a[41]="InvalidMedia"]=41,r[a[42]="InvalidOperation"]=42,r[a[43]="OperationFailed"]=43,r[a[44]="StillProcessing"]=44,r[a[45]="BlockedCountryCode"]=45,r[a[46]="ProLicenseRequired"]=46,r})(),d=o.RecordingAction=(()=>{const a={},r=Object.create(a);return r[a[0]="Start"]=0,r[a[1]="Stop"]=1,r[a[2]="Pause"]=2,r[a[3]="Resume"]=3,r})(),M=o.ActionType=(()=>{const a={},r=Object.create(a);return r[a[0]="NoUpdates"]=0,r[a[1]="FullUpdate"]=1,r[a[2]="Inserted"]=2,r[a[3]="Updated"]=3,r[a[4]="Deleted"]=4,r})(),A=o.CallHistoryType=(()=>{const a={},r=Object.create(a);return r[a[0]="AllCalls"]=0,r[a[1]="Missed"]=1,r[a[2]="Received"]=2,r[a[3]="Outgoing"]=3,r})(),D=o.DayOfWeek=(()=>{const a={},r=Object.create(a);return r[a[0]="Sunday"]=0,r[a[1]="Monday"]=1,r[a[2]="Tuesday"]=2,r[a[3]="Wednesday"]=3,r[a[4]="Thursday"]=4,r[a[5]="Friday"]=5,r[a[6]="Saturday"]=6,r})(),w=o.HoursType=(()=>{const a={},r=Object.create(a);return r[a[1]="AllHours"]=1,r[a[2]="OfficeHours"]=2,r[a[3]="OutOfOfficeHours"]=3,r[a[4]="SpecificHours"]=4,r[a[5]="SpecificHoursExcludingHolidays"]=5,r[a[6]="OutOfSpecificHours"]=6,r[a[7]="OutOfSpecificHoursIncludingHolidays"]=7,r[a[8]="Never"]=8,r[a[9]="BreakTime"]=9,r})(),O=o.SortContactsBy=(()=>{const a={},r=Object.create(a);return r[a[1]="FirstName"]=1,r[a[2]="LastName"]=2,r[a[3]="Number"]=3,r[a[4]="ExtNumberThenFirst"]=4,r[a[5]="ExtNumberThenLast"]=5,r})(),N=(o.SearchByMask=(()=>{const a={},r=Object.create(a);return r[a[1]="SBM_FirstName"]=1,r[a[2]="SBM_LastName"]=2,r[a[4]="SBM_Company"]=4,r[a[8]="SBM_Email"]=8,r[a[16]="SBM_ExtNumber"]=16,r[a[32]="SBM_OtherNumber"]=32,r})(),o.DnType=(()=>{const a={},r=Object.create(a);return r[a[0]="None"]=0,r[a[1]="Extension"]=1,r[a[2]="Queue"]=2,r[a[4]="RingGroup"]=4,r[a[8]="IVR"]=8,r[a[16]="Fax"]=16,r[a[32]="Conference"]=32,r[a[64]="Parking"]=64,r[a[128]="ExternalLine"]=128,r[a[256]="SpecialMenu"]=256,r[a[512]="Service"]=512,r})()),q=o.UsersFolder=(()=>{const a={},r=Object.create(a);return r[a[0]="VoiceMailFolder"]=0,r[a[1]="RecordingFolder"]=1,r[a[2]="ConfigurationFolder"]=2,r[a[3]="GreetingsFolder"]=3,r[a[4]="NotificationsFolder"]=4,r[a[5]="GroupPrompts"]=5,r})(),K=o.ContactType=(()=>{const a={},r=Object.create(a);return r[a[0]="LocalUser"]=0,r[a[1]="CompanyPhonebook"]=1,r[a[2]="PersonalPhonebook"]=2,r[a[3]="BridgeExtension"]=3,r[a[4]="ExternalContact"]=4,r[a[5]="GroupPhonebook"]=5,r})(),te=o.ContactOptionMask=(()=>{const a={},r=Object.create(a);return r[a[1]="CO_3CX"]=1,r[a[2]="CO_CRM"]=2,r[a[4]="CO_M365"]=4,r[a[8]="CO_GOOGLE"]=8,r})(),H=o.DeleteHistoryType=(()=>{const a={},r=Object.create(a);return r[a[0]="IdList"]=0,r[a[1]="All"]=1,r[a[2]="StartingFrom"]=2,r[a[3]="ConnectionIdList"]=3,r})(),ee=o.QueueCallDealStatus=(()=>{const a={},r=Object.create(a);return r[a[0]="NotDealt"]=0,r[a[1]="Dealing"]=1,r[a[2]="Dealt"]=2,r})(),ne=(o.ChatStatusType=(()=>{const a={},r=Object.create(a);return r[a[0]="Online"]=0,r[a[1]="Away"]=1,r[a[2]="DoNotDisturb"]=2,r[a[3]="Invisible"]=3,r[a[4]="Offline"]=4,r})(),o.WebMeetingRole=(()=>{const a={},r=Object.create(a);return r[a[0]="Organizer"]=0,r[a[1]="Moderator"]=1,r[a[2]="Participant"]=2,r})(),o.MeetingType=(()=>{const a={},r=Object.create(a);return r[a[0]="AudioConference"]=0,r[a[1]="WebMeeting"]=1,r[a[2]="Mixed"]=2,r})()),Le=(o.WebMeetingProfile=(()=>{const a={},r=Object.create(a);return r[a[0]="Webmeeting"]=0,r[a[1]="Webinar"]=1,r})(),o.CalendarServiceType=(()=>{const a={},r=Object.create(a);return r[a[0]="NoService"]=0,r[a[1]="Google"]=1,r[a[2]="Office365"]=2,r[a[3]="Outlook"]=3,r[a[4]="IcsFile"]=4,r[a[5]="Tcx"]=5,r})()),ut=o.ChatFileState=(()=>{const a={},r=Object.create(a);return r[a[0]="CF_Uploading"]=0,r[a[1]="CF_Available"]=1,r[a[2]="CF_Deleted"]=2,r})(),Oe=o.ContactAddedByEnum=(()=>{const a={},r=Object.create(a);return r[a[0]="AB_Tcx"]=0,r[a[1]="AB_Crm"]=1,r[a[2]="AB_Office365"]=2,r[a[3]="AB_Google"]=3,r})(),xe=o.ChatMessageType=(()=>{const a={},r=Object.create(a);return r[a[0]="CMT_Normal"]=0,r[a[1]="CMT_Closed"]=1,r[a[2]="CMT_Dealt"]=2,r[a[3]="CMT_Reserved"]=3,r[a[4]="CMT_Taken"]=4,r[a[5]="CMT_Transferred"]=5,r[a[6]="CMT_Whisper"]=6,r[a[7]="CMT_Emergency"]=7,r[a[8]="CMT_License"]=8,r[a[9]="CMT_WebMeeting"]=9,r[a[10]="CMT_Blocked"]=10,r[a[11]="CMT_AutoReply"]=11,r[a[12]="CMT_ClosedByProvider"]=12,r[a[13]="CMT_PersonInDnd"]=13,r[a[14]="CMT_MessageTooLong"]=14,r[a[15]="CMT_GenericError"]=15,r[a[16]="CMT_AutoClosed"]=16,r[a[17]="CMT_ParticipantAdded"]=17,r[a[18]="CMT_ParticipantRemoved"]=18,r[a[19]="CMT_Muted"]=19,r[a[20]="CMT_CallInitiated"]=20,r[a[21]="CMT_NumberBlocked"]=21,r[a[22]="CMT_NumberUnblocked"]=22,r})(),Ce=o.ChatRecipientType=(()=>{const a={},r=Object.create(a);return r[a[0]="CRT_Local"]=0,r[a[1]="CRT_3cxBridge"]=1,r[a[2]="CRT_Anonymous"]=2,r[a[3]="CRT_External"]=3,r[a[5
1]="CRT_System"]=5,r})(),Fe=(o.ChatRecipientStatus=(()=>{const a={},r=Object.create(a);return r[a[0]="CRS_Available"]=0,r[a[1]="CRS_Offline"]=1,r[a[2]="CRS_Busy"]=2,r})(),o.ExternalChatCloseReason=(()=>{const a={},r=Object.create(a);return r[a[0]="ECCR_LogoutByAnonymous"]=0,r[a[1]="ECCR_LogoutByExtension"]=1,r[a[2]="ECCR_BlockedByExtension"]=2,r[a[3]="ECCR_IsHandled"]=3,r[a[4]="ECCR_NoAgentsAvailable"]=4,r[a[5]="ECCR_NotAvailable"]=5,r[a[6]="ECCR_AutoClose"]=6,r})()),Ke=o.ChatDeliveryStatus=(()=>{const a={},r=Object.create(a);return r[a[0]="CDS_NotDelivered"]=0,r[a[1]="CDS_Delivered"]=1,r[a[2]="CDS_Failed"]=2,r})(),Qe=o.ForwardDestinationType=(()=>{const a={},r=Object.create(a);return r[a[0]="FD_Disconnect"]=0,r[a[1]="FD_VoiceMail"]=1,r[a[2]="FD_Internal"]=2,r[a[3]="FD_External"]=3,r[a[4]="FD_Rebound"]=4,r[a[5]="FD_Deflect"]=5,r})(),kt=o.GroupHoursMode=(()=>{const a={},r=Object.create(a);return r[a[0]="GHM_Default"]=0,r[a[1]="GHM_ForceOpened"]=1,r[a[2]="GHM_ForceClosed"]=2,r[a[4]="GHM_ForceBreak"]=4,r[a[8]="GHM_ForceCustomOperator"]=8,r[a[16]="GHM_ForceHoliday"]=16,r})(),Ze=(o.FileType=(()=>{const a={},r=Object.create(a);return r[a[0]="FT_Uknown"]=0,r[a[1]="FT_Image"]=1,r[a[2]="FT_Audio"]=2,r[a[3]="FT_Video"]=3,r})(),o.CrmRequestState=(()=>{const a={},r=Object.create(a);return r[a[0]="CRS_Preparing"]=0,r[a[1]="CRS_Ready"]=1,r[a[2]="CRS_Error"]=2,r})(),o.ContactFields=(()=>{const a={},r=Object.create(a);return r[a[1]="CF_ExtensionNumber"]=1,r[a[2]="CF_FirstName"]=2,r[a[4]="CF_LastName"]=4,r[a[8]="CF_Company"]=8,r[a[16]="CF_Title"]=16,r[a[32]="CF_Department"]=32,r[a[64]="CF_Email"]=64,r[a[128]="CF_Mobile"]=128,r[a[256]="CF_Mobile2"]=256,r[a[512]="CF_Home"]=512,r[a[1024]="CF_Business"]=1024,r[a[2048]="CF_Business2"]=2048,r[a[4096]="CF_BusinessFax"]=4096,r[a[8192]="CF_Other"]=8192,r})()),fe=o.ContactSource=(()=>{const a={},r=Object.create(a);return r[a[1]="CS_Extension"]=1,r[a[2]="CS_Queue"]=2,r[a[4]="CS_RingGroup"]=4,r[a[8]="CS_IVR"]=8,r[a[16]="CS_Fax"]=16,r[a[32]="CS_Conference"]=32,r[a[64]="CS_Parking"]=64,r[a[128]="CS_ExternalLine"]=128,r[a[256]="CS_SpecialMenu"]=256,r[a[512]="CS_Service"]=512,r[a[1024]="CS_Bridges"]=1024,r[a[2048]="CS_Company_3CX"]=2048,r[a[4096]="CS_Personal_3CX"]=4096,r[a[8192]="CS_Company_CRM"]=8192,r[a[16384]="CS_Personal_CRM"]=16384,r[a[32768]="CS_Company_M365"]=32768,r[a[65536]="CS_Personal_M365"]=65536,r[a[131072]="CS_Company_GOOGLE"]=131072,r[a[262144]="CS_Personal_GOOGLE"]=262144,r[a[524288]="CS_Group_3CX"]=524288,r})(),ie=o.Login=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.User&&Object.hasOwnProperty.call(e,"User")&&t.uint32(10).string(e.User),null!=e.Password&&Object.hasOwnProperty.call(e,"Password")&&t.uint32(18).string(e.Password),null!=e.ClientVersion&&Object.hasOwnProperty.call(e,"ClientVersion")&&t.uint32(26).string(e.ClientVersion),null!=e.ClientInfo&&Object.hasOwnProperty.call(e,"ClientInfo")&&t.uint32(34).string(e.ClientInfo),null!=e.ProtocolVersion&&Object.hasOwnProperty.call(e,"ProtocolVersion")&&t.uint32(42).string(e.ProtocolVersion),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Login;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.User=e.string();break;case 2:u.Password=e.string();break;case 3:u.ClientVersion=e.string();break;case 4:u.ClientInfo=e.string();break;case 5:u.ProtocolVersion=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:100,LoginRequest:this})},a.prototype.typeId=100,a.prototype.typeName="LoginRequest",a})(),Xe=o.LoginInfo=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.ExtensionId&&Object.hasOwnProperty.call(e,"ExtensionId")&&t.uint32(8).int32(e.ExtensionId),null!=e.IsAuthenticated&&Object.hasOwnProperty.call(e,"IsAuthenticated")&&t.uint32(16).bool(e.IsAuthenticated),null!=e.ValidationMessage&&Object.hasOwnProperty.call(e,"ValidationMessage")&&t.uint32(26).string(e.ValidationMessage),null!=e.Nonce&&Object.hasOwnProperty.call(e,"Nonce")&&t.uint32(34).string(e.Nonce),null!=e.SessionId&&Object.hasOwnProperty.call(e,"SessionId")&&t.uint32(42).string(e.SessionId),null!=e.AddpTimeout&&Object.hasOwnProperty.call(e,"AddpTimeout")&&t.uint32(48).int32(e.AddpTimeout),null!=e.ServerVersion&&Object.hasOwnProperty.call(e,"ServerVersion")&&t.uint32(58).string(e.ServerVersion),null!=e.UpdateAvailable&&Object.hasOwnProperty.call(e,"UpdateAvailable")&&t.uint32(64).bool(e.UpdateAvailable),null!=e.LicenseType&&Object.hasOwnProperty.call(e,"LicenseType")&&t.uint32(72).int32(e.LicenseType),null!=e.LicenseProduct&&Object.hasOwnProperty.call(e,"LicenseProduct")&&t.uint32(82).string(e.LicenseProduct),null!=e.PbxVersion&&Object.hasOwnProperty.call(e,"PbxVersion")&&t.uint32(90).string(e.PbxVersion),null!=e.LicenseExpiredAt&&Object.hasOwnProperty.call(e,"LicenseExpiredAt")&&o.DateTime.encode(e.LicenseExpiredAt,t.uint32(98).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.LoginInfo;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.ExtensionId=e.int32();break;case 2:u.IsAuthenticated=e.bool();break;case 3:u.ValidationMessage=e.string();break;case 4:u.Nonce=e.string();break;case 5:u.SessionId=e.string();break;case 6:u.AddpTimeout=e.int32();break;case 7:u.ServerVersion=e.string();break;case 8:u.UpdateAvailable=e.bool();break;case 9:u.LicenseType=e.int32();break;case 10:u.LicenseProduct=e.string();break;case 11:u.PbxVersion=e.string();break;case 12:u.LicenseExpiredAt=o.DateTime.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:200,LoginResponse:this})},a.prototype.typeId=200,a.prototype.typeName="LoginResponse",a})(),ve=o.Logout=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Logout;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:101,LogoutRequest:this})},a.prototype.typeId=101,a.prototype.typeName="LogoutRequest",a})(),Pe=(o.Timestamp=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.seconds&&Object.hasOwnProperty.call(e,"seconds")&&t.uint32(8).int64(e.seconds),null!=e.nanos&&Object.hasOwnProperty.call(e,"nanos")&&t.uint32(16).int32(e.nanos),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Timestamp;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.seconds=e.int64();break;case 2:u.nanos=e.int32();break;default:e.skipType(7&E)}}return u},a})(),o.DateTime=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Year&&Object.hasOwnProperty.call(e,"Year")&&t.uint32(8).int32(e.Year),null!=e.Month&&Object.hasOwnProperty.call(e,"Month")&&t.uint32(16).int32(e.Month),null!=e.Day&&Object.hasOwnProperty.call(e,"Day")&&t.uint32(24).int32(e.Day),null!=e.Hour&&Object.hasOwnProperty.call(e,"Hour")&&t.uint32(32).int32(e.Hour),null!=e.Minute&&Object.hasOwnProperty.call(e,"Minute")&&t.uint32(40).int32(e.Minute),null!=e.Second&&Object.hasOwnProperty.call(e,"Second")&&t.uint32(48).int32(e.Second),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.DateTime;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Year=e.int32();break;case 2:u.Month=e.int32();break;case 3:u.Day=e.int32();break;case 4:u.Hour=e.int32();break;case 5:u.Minute=e.int32();break;case 6:u.Second=e.int32();break;default:e.skipType(7&E)}}return u},a})()),Ve=o.ForwardDestination=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.FwdType&&Object.hasOwnProperty.call(e,"FwdType")&&t.uint32(8).int32(e.FwdType),null!=e.Number&&Object.hasOwnProperty.call(e,"Number")&&t.uint32(18).string(e.Number),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ForwardDestination;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.FwdType=e.int32();break;case 2:u.Number=e.string();break;default:e.skipType(7&E)}}return u},a})(),dt=o.AvailableFPType=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.NoAnswerTimeout&&Object.hasOwnProperty.call(e,"NoAnswerTimeout")&&t.uint32(8).int32(e.NoAnswerTimeout),null!=e.RingMyMobile&&Object.hasOwnProperty.call(e,"RingMyMobile")&&t.uint32(16).bool(e.RingMyMobile),null!=e.UsePhoneBusyStatus&&Object.hasOwnProperty.call(e,"UsePhoneBusyStatus")&&t.uint32(24).bool(e.UsePhoneBusyStatus),null!=e.NoAnswerAllCalls&&Object.hasOwnProperty.call(e,"NoAnswerAllCalls")&&t.uint32(32).bool(e.NoAnswerAllCalls),null!=e.NoAnswerExternal&&Object.hasOwnProperty.call(e,"NoAnswerExternal")&&o.ForwardDestination.encode(e.NoAnswerExternal,t.uint32(42).fork()).ldelim(),null!=e.NoAnswerInternal&&Object.hasOwnProperty.call(e,"NoAnswerInternal")&&o.ForwardDestination.encode(e.NoAnswerInternal,t.uint32(50).fork()).ldelim(),null!=e.BusyAllCalls&&Object.hasOwnProperty.call(e,"BusyAllCalls")&&t.uint32(56).bool(e.BusyAllCalls),null!=e.BusyExternal&&Object.hasOwnProperty.call(e,"BusyExternal")&&o.ForwardDestination.encode(e.BusyExternal,t.uint32(66).fork()).ldelim(),null!=e.BusyInternal&&Object.hasOwnProperty.call(e,"BusyInternal")&&o.ForwardDestination.encode(e.BusyInternal,t.uint32(74).fork()).ldelim(),null!=e.NotRegisteredAllCalls&&Object.hasOwnProperty.call(e,"NotRegisteredAllCalls")&&t.uint32(80).bool(e.NotRegisteredAllCalls),null!=e.NotRegisteredExternal&&Object.hasOwnProperty.call(e,"NotRegisteredExternal")&&o.ForwardDestination.encode(e.NotRegisteredExternal,t.uint32(90).fork()).ldelim(),null!=e.NotRegisteredInternal&&Object.hasOwnProperty.call(e,"NotRegisteredInternal")&&o.ForwardDestination.encode(e.NotRegisteredInternal,t.uint32(98).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.AvailableFPType;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.NoAnswerTimeout=e.int32();break;case 2:u.RingMyMobile=e.bool();break;case 3:u.UsePhoneBusyStatus=e.bool();break;case 4:u.NoAnswerAllCalls=e.bool();break;case 5:u.NoAnswerExternal=o.ForwardDestination.decode(e,e.uint32());break;case 6:u.NoAnswerInternal=o.ForwardDestination.decode(e,e.uint32());break;case 7:u.BusyAllCalls=e.bool();break;case 8:u.BusyExternal=o.ForwardDestination.decode(e,e.uint32());break;case 9:u.BusyInternal=o.ForwardDestination.decode(e,e.uint32());break;case 10:u.NotRegisteredAllCalls=e.bool();break;case 11:u.NotRegisteredExternal=o.ForwardDestination.decode(e,e.uint32());break;case 12:u.NotRegisteredInternal=o.ForwardDestination.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),Dt=o.AwayFPType=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.AllHoursInternal&&Object.hasOwnProperty.call(e,"AllHoursInternal")&&t.uint32(8).bool(e.AllHoursInternal),null!=e.AllHoursExternal&&Object.hasOwnProperty.call(e,"AllHoursExternal")&&t.uint32(16).bool(e.AllHoursExternal),null!=e.InternalRule&&Object.hasOwnProperty.call(e,"InternalRule")&&o.ForwardDestination.encode(e.InternalRule,t.uint32(26).fork()).ldelim(),null!=e.ExternalRule&&Object.hasOwnProperty.call(e,"ExternalRule")&&o.ForwardDestination.encode(e.ExternalRule,t.uint32(34).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.AwayFPType;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.AllHoursInternal=e.bool();break;case 2:u.AllHoursExternal=e.bool();break;case 3:u.InternalRule=o.ForwardDestination.decode(e,e.uint32());break;case 4:u.ExternalRule=o.ForwardDestination.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),wt=o.RuleCallType=(()=>{const a={},r=Object.create(a);return r[a[1]="RCT_AllCalls"]=1,r[a[2]="RCT_InternalCallsOnly"]=2,r[a[3]="RCT_ExternalCallsOnly"]=3,r})(),Yt=o.BossSecretaryRule=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.AdditionalSecretary&&Object.hasOwnProperty.call(e,"AdditionalSecretary")&&t.uint32(10).string(e.AdditionalSecretary),null!=e.Hours&&Object.hasOwnProperty.call(e,"Hours")&&o.OfficeHoursRule.encode(e.Hours,t.uint32(18).fork()).ldelim(),null!=e.Destination&&Object.hasOwnProperty.call(e,"Destination")&&o.ForwardDestination.encode(e.Destination,t.uint32(26).fork()).ldelim(),null!=e.Enabled&&Object.hasOwnProperty.call(e,"Enabled")&&t.uint32(32).bool(e.Enabled),null!=e.AllowedDirectCalls&&Object.hasOwnProperty.call(e,"AllowedDirectCalls")&&t.uint32(42).string(e.AllowedDirectCalls),null!=e.CallType&&Object.hasOwnProperty.call(e,"CallType")&&t.uint32(48).int32(e.CallType),null!=e.Allowed&&Object.hasOwnProperty.call(e,"Allowed")&&t.uint32(56).bool(e.Allowed),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.BossSecretaryRule;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.AdditionalSecretary=e.string();break;case 2:u.Hours=o.OfficeHoursRule.decode(e,e.uint32());break;case 3:u.Destination=o.ForwardDestination.decode(e,e.uint32());break;case 4:u.Enabled=e.bool();break;case 5:u.AllowedDirectCalls=e.string();break;case 6:u.CallType=e.int32();break;case 7:u.Allowed=e.bool();break;default:e.skipType(7&E)}}return u},a})(),Tt=o.ExceptionFPType=(()=>{function a(r){if(this.Exceptions=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Exceptions=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Exceptions&&e.Exceptions.length)for(let k=0;k<e.Exceptions.length;++k)o.ExceptionRule.encode(e.Exceptions[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ExceptionFPType;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Exceptions&&u.Exceptions.length||(u.Exceptions=[]),u.Exceptions.push(o.ExceptionRule.decode(e,e.uint32()))):e.ski
1pType(7&E)}return u},a})(),qt=o.ExceptionRule=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.CallerId&&Object.hasOwnProperty.call(e,"CallerId")&&t.uint32(10).string(e.CallerId),null!=e.Hours&&Object.hasOwnProperty.call(e,"Hours")&&o.OfficeHoursRule.encode(e.Hours,t.uint32(18).fork()).ldelim(),null!=e.Destination&&Object.hasOwnProperty.call(e,"Destination")&&o.ForwardDestination.encode(e.Destination,t.uint32(26).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ExceptionRule;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.CallerId=e.string();break;case 2:u.Hours=o.OfficeHoursRule.decode(e,e.uint32());break;case 3:u.Destination=o.ForwardDestination.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),We=o.ForwardingProfile=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(26).string(e.Name),null!=e.CustomMessage&&Object.hasOwnProperty.call(e,"CustomMessage")&&t.uint32(34).string(e.CustomMessage),null!=e.CustomName&&Object.hasOwnProperty.call(e,"CustomName")&&t.uint32(42).string(e.CustomName),null!=e.Available&&Object.hasOwnProperty.call(e,"Available")&&o.AvailableFPType.encode(e.Available,t.uint32(50).fork()).ldelim(),null!=e.Away&&Object.hasOwnProperty.call(e,"Away")&&o.AwayFPType.encode(e.Away,t.uint32(58).fork()).ldelim(),null!=e.DefaultHours&&Object.hasOwnProperty.call(e,"DefaultHours")&&o.OfficeHoursFPType.encode(e.DefaultHours,t.uint32(66).fork()).ldelim(),null!=e.Exceptions&&Object.hasOwnProperty.call(e,"Exceptions")&&o.ExceptionFPType.encode(e.Exceptions,t.uint32(74).fork()).ldelim(),null!=e.BlockPush&&Object.hasOwnProperty.call(e,"BlockPush")&&t.uint32(80).bool(e.BlockPush),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ForwardingProfile;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Name=e.string();break;case 4:u.CustomMessage=e.string();break;case 5:u.CustomName=e.string();break;case 6:u.Available=o.AvailableFPType.decode(e,e.uint32());break;case 7:u.Away=o.AwayFPType.decode(e,e.uint32());break;case 8:u.DefaultHours=o.OfficeHoursFPType.decode(e,e.uint32());break;case 9:u.Exceptions=o.ExceptionFPType.decode(e,e.uint32());break;case 10:u.BlockPush=e.bool();break;default:e.skipType(7&E)}}return u},a})(),yt=o.ForwardingProfiles=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.ForwardingProfile.encode(e.Items[k],t.uint32(18).fork()).ldelim();return null!=e.BossSecretary&&Object.hasOwnProperty.call(e,"BossSecretary")&&o.BossSecretaryRule.encode(e.BossSecretary,t.uint32(26).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ForwardingProfiles;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.ForwardingProfile.decode(e,e.uint32()));break;case 3:u.BossSecretary=o.BossSecretaryRule.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),St=(o.OfficeHoursFPType=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.ExtSpecHours&&Object.hasOwnProperty.call(e,"ExtSpecHours")&&o.OfficeHoursRule.encode(e.ExtSpecHours,t.uint32(10).fork()).ldelim(),null!=e.AwayHours&&Object.hasOwnProperty.call(e,"AwayHours")&&o.OfficeHoursRule.encode(e.AwayHours,t.uint32(18).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.OfficeHoursFPType;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.ExtSpecHours=o.OfficeHoursRule.decode(e,e.uint32());break;case 2:u.AwayHours=o.OfficeHoursRule.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),o.OfficeHoursRule=(()=>{function a(r){if(this.Days=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Days=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.RuleHoursType&&Object.hasOwnProperty.call(e,"RuleHoursType")&&t.uint32(8).int32(e.RuleHoursType),null!=e.Days&&e.Days.length)for(let k=0;k<e.Days.length;++k)o.TimeRange.encode(e.Days[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.OfficeHoursRule;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.RuleHoursType=e.int32();break;case 2:u.Days&&u.Days.length||(u.Days=[]),u.Days.push(o.TimeRange.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})()),rt=(o.TimeRange=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Day&&Object.hasOwnProperty.call(e,"Day")&&t.uint32(8).int32(e.Day),null!=e.From&&Object.hasOwnProperty.call(e,"From")&&o.DateTime.encode(e.From,t.uint32(18).fork()).ldelim(),null!=e.To&&Object.hasOwnProperty.call(e,"To")&&o.DateTime.encode(e.To,t.uint32(26).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.TimeRange;
1for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Day=e.int32();break;case 2:u.From=o.DateTime.decode(e,e.uint32());break;case 3:u.To=o.DateTime.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),o.RequestUpdateFwdProfile=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Update&&Object.hasOwnProperty.call(e,"Update")&&o.ForwardingProfiles.encode(e.Update,t.uint32(10).fork()).ldelim(),null!=e.TargetExtension&&Object.hasOwnProperty.call(e,"TargetExtension")&&t.uint32(18).string(e.TargetExtension),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUpdateFwdProfile;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Update=o.ForwardingProfiles.decode(e,e.uint32());break;case 2:u.TargetExtension=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:108,UpdateFwdProfiles:this})},a.prototype.typeId=108,a.prototype.typeName="UpdateFwdProfiles",a})()),bt=o.RequestGetFwdProfiles=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.TargetExtension&&Object.hasOwnProperty.call(e,"TargetExtension")&&t.uint32(10).string(e.TargetExtension),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetFwdProfiles;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.TargetExtension=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:561,GetFwdProfiles:this})},a.prototype.typeId=561,a.prototype.typeName="GetFwdProfiles",a})(),we=o.ResponseGetFwdProfiles=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Profiles&&Object.hasOwnProperty.call(e,"Profiles")&&o.ForwardingProfiles.encode(e.Profiles,t.uint32(10).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseGetFwdProfiles;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Profiles=o.ForwardingProfiles.decode(e,e.uint32()):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:266,FwdProfiles:this})},a.prototype.typeId=266,a.prototype.typeName="FwdProfiles",a})(),Mt=o.RequestUpdateFavorites=(()=>{function a(r){if(this.ExtensionNumbers=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.ExtensionNumbers=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.ExtensionNumbers&&e.ExtensionNumbers.length)for(let k=0;k<e.ExtensionNumbers.length;++k)t.uint32(18).string(e.ExtensionNumbers[k]);return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUpdateFavorites;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.ExtensionNumbers&&u.ExtensionNumbers.length||(u.ExtensionNumbers=[]),u.ExtensionNumbers.push(e.string());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:169,UpdateFavorites:this})},a.prototype.typeId=169,a.prototype.typeName="UpdateFavorites",a})(),p=o.Registration=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Contact&&Object.hasOwnProperty.call(e,"Contact")&&t.uint32(26).string(e.Contact),null!=e.SourceAddress&&Object.hasOwnProperty.call(e,"S
1ourceAddress")&&t.uint32(34).string(e.SourceAddress),null!=e.UserAgent&&Object.hasOwnProperty.call(e,"UserAgent")&&t.uint32(42).string(e.UserAgent),null!=e.ExpiresAt&&Object.hasOwnProperty.call(e,"ExpiresAt")&&o.DateTime.encode(e.ExpiresAt,t.uint32(50).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Registration;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Contact=e.string();break;case 4:u.SourceAddress=e.string();break;case 5:u.UserAgent=e.string();break;case 6:u.ExpiresAt=o.DateTime.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),Bt=o.Registrations=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.Registration.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Registrations;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.Registration.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})(),Lt=(o.VoiceMail=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Folder&&Ob
1ject.hasOwnProperty.call(e,"Folder")&&t.uint32(24).int32(e.Folder),null!=e.Filename&&Object.hasOwnProperty.call(e,"Filename")&&t.uint32(34).string(e.Filename),null!=e.CallerId&&Object.hasOwnProperty.call(e,"CallerId")&&t.uint32(42).string(e.CallerId),null!=e.CallerName&&Object.hasOwnProperty.call(e,"CallerName")&&t.uint32(50).string(e.CallerName),null!=e.ReceivedAt&&Object.hasOwnProperty.call(e,"ReceivedAt")&&o.DateTime.encode(e.ReceivedAt,t.uint32(58).fork()).ldelim(),null!=e.Duration&&Object.hasOwnProperty.call(e,"Duration")&&t.uint32(64).int32(e.Duration),null!=e.IsNew&&Object.hasOwnProperty.call(e,"IsNew")&&t.uint32(72).bool(e.IsNew),null!=e.Transcription&&Object.hasOwnProperty.call(e,"Transcription")&&t.uint32(82).string(e.Transcription),null!=e.CallerContact&&Object.hasOwnProperty.call(e,"CallerContact")&&o.Contact.encode(e.CallerContact,t.uint32(90).fork()).ldelim(),null!=e.IsArchived&&Object.hasOwnProperty.call(e,"IsArchived")&&t.uint32(96).bool(e.IsArchived),null!=e.GroupBox&&Object.hasOwnProperty.call(e,"GroupBox")&&t.uint32(106).string(e.GroupBox),null!=e.HeardBy&&Object.hasOwnProperty.call(e,"HeardBy")&&t.uint32(114).string(e.HeardBy),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.VoiceMail;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Folder=e.int32();break;case 4:u.Filename=e.string();break;case 5:u.CallerId=e.string();break;case 6:u.CallerName=e.string();break;case 7:u.ReceivedAt=o.DateTime.decode(e,e.uint32());break;case 8:u.Duration=e.int32();break;case 9:u.IsNew=e.bool();break;case 10:u.Transcription=e.string();break;case 11:u.CallerContact=o.Contact.decode(e,e.uint32());break;case 12:u.IsArchived=e.bool();break;case 13:u.GroupBox=e.string();break;case 14:u.HeardBy=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.VoiceMails=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.VoiceMail.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.VoiceMails;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.VoiceMail.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:268,ResponseVoiceMails:this})},a.prototype.typeId=268,a.prototype.typeName="ResponseVoiceMails",a})()),Me=o.RequestGetVoiceMails=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.After&&Object.hasOwnProperty.call(e,"After")&&o.Timestamp.encode(e.After,t.uint32(10).fork()).ldelim(),null!=e.Before&&Object.hasOwnProperty.call(e,"Before")&&o.Timestamp.encode(e.Before,t.uint32(18).fork()).ldelim(),null!=e.Offset&&Object.hasOwnProperty.call(e,"Offset")&&t.uint32(24).int32(e.Offset),null!=e.Limit&&Object.hasOwnProperty.call(e,"Limit")&&t.uint32(32).int32(e.Limit),null!=e.QueryString&&Object.hasOwnProperty.call(e,"QueryString")&&t.uint32(42).string(e.QueryString),null!=e.NewOld&&Object.hasOwnProperty.call(e,"NewOld")&&t.uint32(48).bool(e.NewOld),null!=e.StartFromId&&Object.hasOwnProperty.call(e,"StartFromId")&&t.uint32(56).int32(e.StartFromId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetVoiceMails;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.After=o.Timestamp.decode(e,e.uint32());break;case 2:u.Before=o.Timestamp.decode(e,e.uint32());break;case 3:u.Offset=e.int32();break;case 4:u.Limit=e.int32();break;case 5:u.QueryString=e.string();break;case 6:u.NewOld=e.bool();break;case 7:u.StartFromId=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:565,GetVoiceMails:this})},a.prototype.typeId=565,a.prototype.typeName="GetVoiceMails",a})(),Et=(o.GroupMember=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.ExtensionNumber&&Object.hasOwnProperty.call(e,"ExtensionNumber")&&t.uint32(26).string(e.ExtensionNumber),null!=e.FirstName&&Object.hasOwnProperty.call(e,"FirstName")&&t.uint32(34).string(e.FirstName),null!=e.LastName&&Object.hasOwnProperty.call(e,"LastName")&&t.uint32(42).string(e.LastName),null!=e.IsRegistered&&Object.hasOwnProperty.call(e,"IsReg
1istered")&&t.uint32(48).bool(e.IsRegistered),null!=e.IsDnd&&Object.hasOwnProperty.call(e,"IsDnd")&&t.uint32(56).bool(e.IsDnd),null!=e.CurrentProfile&&Object.hasOwnProperty.call(e,"CurrentProfile")&&t.uint32(66).string(e.CurrentProfile),null!=e.CurrentStatus&&Object.hasOwnProperty.call(e,"CurrentStatus")&&t.uint32(74).string(e.CurrentStatus),null!=e.QueueStatus&&Object.hasOwnProperty.call(e,"QueueStatus")&&t.uint32(80).bool(e.QueueStatus),null!=e.IsBusy&&Object.hasOwnProperty.call(e,"IsBusy")&&t.uint32(88).bool(e.IsBusy),null!=e.ChatStatus&&Object.hasOwnProperty.call(e,"ChatStatus")&&t.uint32(96).int32(e.ChatStatus),null!=e.MobileNumber&&Object.hasOwnProperty.call(e,"MobileNumber")&&t.uint32(106).string(e.MobileNumber),null!=e.CurrentProfileInternalName&&Object.hasOwnProperty.call(e,"CurrentProfileInternalName")&&t.uint32(114).string(e.CurrentProfileInternalName),null!=e.Connections&&Object.hasOwnProperty.call(e,"Connections")&&o.LocalConnections.encode(e.Connections,t.uint32(122).fork()).ldelim(),null!=e.AwayFwdType&&Object.hasOwnProperty.call(e,"AwayFwdType")&&t.uint32(128).int32(e.AwayFwdType),null!=e.AwayNumber&&Object.hasOwnProperty.call(e,"AwayNumber")&&t.uint32(138).string(e.AwayNumber),null!=e.EmailAddress&&Object.hasOwnProperty.call(e,"EmailAddress")&&t.uint32(146).string(e.EmailAddress),null!=e.StatusTemporarilyChanged&&Object.hasOwnProperty.call(e,"StatusTemporarilyChanged")&&t.uint32(152).bool(e.StatusTemporarilyChanged),null!=e.OverrideCurrentProfile&&Object.hasOwnProperty.call(e,"OverrideCurrentProfile")&&t.uint32(162).string(e.OverrideCurrentProfile),null!=e.OverrideCurrentStatus&&Object.hasOwnProperty.call(e,"OverrideCurrentStatus")&&t.uint32(170).string(e.OverrideCurrentStatus),null!=e.OverrideExpiresAtUTCTime&&Object.hasOwnProperty.call(e,"OverrideExpiresAtUTCTime")&&o.DateTime.encode(e.OverrideExpiresAtUTCTime,t.uint32(178).fork()).ldelim(),null!=e.OverrideCurrentProfileInternalName&&Object.hasOwnProperty.call(e,"OverrideCurrentProfileInternalName")&&t.uint32(186).string(e.OverrideCurrentProfileInternalName),null!=e.OverrideAttachedData&&Object.hasOwnProperty.call(e,"OverrideAttachedData")&&t.uint32(194).string(e.OverrideAttachedData),null!=e.OverrideFwdType&&Object.hasOwnProperty.call(e,"OverrideFwdType")&&t.uint32(200).int32(e.OverrideFwdType),null!=e.OverrideNumber&&Object.hasOwnProperty.call(e,"OverrideNumber")&&t.uint32(210).string(e.OverrideNumber),null!=e.IsRinging&&Object.hasOwnProperty.call(e,"IsRinging")&&t.uint32(216).bool(e.IsRinging),null!=e.ContactImage&&Object.hasOwnProperty.call(e,"ContactImage")&&t.uint32(226).string(e.ContactImage),null!=e.IsInternal&&Object.hasOwnProperty.call(e,"IsInternal")&&t.uint32(232).bool(e.IsInternal),null!=e.IsQueueAgent&&Object.hasOwnProperty.call(e,"IsQueueAgent")&&t.uint32(240).bool(e.IsQueueAgent),null!=e.MonitorExpiration&&Object.hasOwnProperty.call(e,"MonitorExpiration")&&o.DateTime.encode(e.MonitorExpiration,t.uint32(250).fork()).ldelim(),null!=e.ExtGuid&&Object.hasOwnProperty.call(e,"ExtGuid")&&t.uint32(258).string(e.ExtGuid),null!=e.IsAIAgent&&Object.hasOwnProperty.call(e,"IsAIAgent")&&t.uint32(264).bool(e.IsAIAgent),null!=e.VmailEnabled&&Object.hasOwnProperty.call(e,"VmailEnabled")&&t.uint32(272).bool(e.VmailEnabled),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.GroupMember;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.ExtensionNumber=e.string();break;case 4:u.FirstName=e.string();break;case 5:u.LastName=e.string();break;case 6:u.IsRegistered=e.bool();break;case 7:u.IsDnd=e.bool();break;case 8:u.CurrentProfile=e.string();break;case 9:u.CurrentStatus=e.string();break;case 10:u.QueueStatus=e.bool();break;case 11:u.IsBusy=e.bool();break;case 12:u.ChatStatus=e.int32();break;case 13:u.MobileNumber=e.string();break;case 14:u.CurrentProfileInternalName=e.string();break;case 15:u.Connections=o.LocalConnections.decode(e,e.uint32());break;case 16:u.AwayFwdType=e.int32();break;case 17:u.AwayNumber=e.string();break;case 18:u.EmailAddress=e.string();break;case 19:u.StatusTemporarilyChanged=e.bool();break;case 20:u.OverrideCurrentProfile=e.string();break;case 21:u.OverrideCurrentStatus=e.string();break;case 22:u.OverrideExpiresAtUTCTime=o.DateTime.decode(e,e.uint32());break;case 23:u.OverrideCurrentProfileInternalName=e.string();break;case 24:u.OverrideAttachedData=e.string();break;case 25:u.OverrideFwdType=e.int32();break;case 26:u.OverrideNumber=e.string();break;case 27:u.IsRinging=e.bool();break;case 28:u.ContactImage=e.string();break;case 29:u.IsInternal=e.bool();break;case 30:u.IsQueueAgent=e.bool();break;case 31:u.MonitorExpiration=o.DateTime.decode(e,e.uint32());break;case 32:u.ExtGuid=e.string();break;case 33:u.IsAIAgent=e.bool();break;case 34:u.VmailEnabled=e.bool();break;default:e.skipType(7&E)}}return u},a})(),o.GroupMembers=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.GroupMember.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.GroupMembers;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.GroupMember.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})(),o.Group=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(26).string(e.Name),null!=e.Members&&Object.hasOwnProperty.call(e,"Members")&&o.GroupMembers.encode(e.Members,t.uint32(42).fork()).ldelim(),null!=e.Language&&Object.hasOwnProperty.call(e,"Language")&&t.uint32(50).string(e.Language),null!=e.CurrentGroupHours&&Object.hasOwnProperty.call(e,"CurrentGroupHours")&&t.uint32(56).int32(e.CurrentGroupHours),null!=e.OverrideExpiresAt&&Object.hasOwnProperty.call(e,"OverrideExpiresAt")&&o.DateTime.encode(e.OverrideExpiresAt,t.uint32(66).fork()).ldelim(),null!=e.OpenedHoursOperator&&Object.hasOwnProperty.call(e,"OpenedHoursOperator")&&o.ForwardDestination.encode(e.OpenedHoursOperator,t.uint32(74).fork()).ldelim(),null!=e.BreakTimeOperator&&Object.hasOwnProperty.call(e,"BreakTimeOperator")&&o.ForwardDestination.encode(e.BreakTimeOperator,t.uint32(82).fork()).ldelim(),null!=e.ClosedHoursOperator&&Object.hasOwnProperty.call(e,"ClosedHoursOperator")&&o.ForwardDestination.encode(e.ClosedHoursOperator,t.uint32(90).fork()).ldelim(),null!=e.CustomOperator&&Object.hasOwnProperty.call(e,"CustomOperator")&&o.ForwardDestination.encode(e.CustomOperator,t.uint32(98).fork()).ldelim(),null!=e.OpenedHoursPrompt&&Object.hasOwnProperty.call(e,"OpenedHoursPrompt")&&t.uint32(106).string(e.OpenedHoursPrompt),null!=e.ClosedHoursPrompt&&Object.hasOwnProperty.call(e,"ClosedHoursPrompt")&&t.uint32(114).string(e.ClosedHoursPrompt),null!=e.BreakTimePrompt&&Object.hasOwnProperty.call(e,"BreakTimePrompt")&&t.uint32(122).string(e.BreakTimePrompt),null!=e.CustomPrompt&&Object.hasOwnProperty.call(e,"CustomPrompt")&&t.uint32(130).string(e.CustomPrompt),null!=e.DisableCustomPrompt&&Object.hasOwnProperty.call(e,"DisableCustomPrompt")&&t.uint32(136).bool(e.DisableCustomPrompt),null!=e.DisableOpenedHoursPrompt&&Object.hasOwnProperty.call(e,"DisableOpenedHoursPrompt")&&t.uint32(144).bool(e.DisableOpenedHoursPrompt),null!=e.DisableClosedHoursPrompt&&Object.hasOwnProperty.call(e,"DisableClosedHoursPrompt")&&t.uint32(152).bool(e.DisableClosedHoursPrompt),null!=e.DisableBreakTimePrompt&&Object.hasOwnProperty.call(e,"DisableBreakTimePrompt")&&t.uint32(160).bool(e.DisableBreakTimePrompt),null!=e.AllowCallService&&Object.hasOwnProperty.call(e,"AllowCallService")&&t.uint32(168).bool(e.AllowCallService),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Group;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Name=e.string();break;case 5:u.Members=o.GroupMembers.decode(e,e.uint32());break;case 6:u.Language=e.string();break;case 7:u.CurrentGroupHours=e.int32();break;case 8:u.OverrideExpiresAt=o.DateTime.decode(e,e.uint32());break;case 9:u.OpenedHoursOperator=o.ForwardDestination.decode(e,e.uint32());break;case 10:u.BreakTimeOperator=o.ForwardDestination.decode(e,e.uint32());break;case 11:u.ClosedHoursOperator=o.ForwardDestination.decode(e,e.uint32());break;case 12:u.CustomOperator=o.ForwardDestination.decode(e,e.uint32());break;case 13:u.OpenedHoursPrompt=e.string();break;case 14:u.ClosedHoursPrompt=e.string();break;case 15:u.BreakTimePrompt=e.string();break;case 16:u.CustomPrompt=e.string();break;case 17:u.DisableCustomPrompt=e.bool();break;case 18:u.DisableOpenedHoursPrompt=e.bool();break;case 19:u.DisableClosedHoursPrompt=e.bool();break;case 20:u.DisableBreakTimePrompt=e.bool();break;case 21:u.AllowCallService=e.bool();break;default:e.skipType(7&E)}}return u},a})(),o.Groups=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.Group.encode(e.Items[k],t.uint32(18).fork()).ldelim();return null!=e.FromLocalPbx&&Object.hasOwnProperty.call(e,"FromLocalPbx")&&t.uint32(24).bool(e.FromLocalPbx),null!=e.RemotePbx&&Object.hasOwnProperty.call(e,"RemotePbx")&&t.uint32(34).string(e.RemotePbx),null!=e.BridgeNumber&&Object.hasOwnProperty.call(e,"BridgeNumber")&&t.uint32(42).string(e.BridgeNumber),null!=e.IsConnected&&Object.hasOwnProperty.call(e,"IsConnected")&&t.uint32(48).bool(e.IsConnected),null!=e.IsAllowed&&Object.hasOwnProperty.call(e,"IsAllowed")&&t.uint32(56).bool(e.IsAllowed),null!=e.Prefix&&Object.hasOwnProperty.call(e,"Prefix")&&t.uint32(66).string(e.Prefix),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Groups;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.Group.decode(e,e.uint32()));break;case 3:u.FromLocalPbx=e.bool();break;case 4:u.RemotePbx=e.string();break;case 5:u.BridgeNumber=e.string();break;case 6:u.IsConnected=e.bool();break;case 7:u.IsAllowed=e.bool();break;case 8:u.Prefix=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:208,GroupsInfo:this})},a.prototype.typeId=208,a.prototype.typeName="GroupsInfo",a})()),dn=o.GroupId=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(26).string(e.Name),null!=e.AllowChangePresence&&Object.hasOwnProperty.call(e,"AllowChangePresence")&&t.uint32(32).bool(e.AllowChangePresence),null!=e.ShowGroupMembers&&Object.hasOwnProperty.call(e,"ShowGroupMembers")&&t.uint32(40).bool(e.ShowGroupMembers),null!=e.ShowGroupCalls&&Object.hasOwnProperty.call(e,"ShowGroupCalls")&&t.uint32(48).bool(e.ShowGroupCalls),null!=e.ShowMyPresence&&Object.hasOwnProperty.call(e,"ShowMyPresence")&&t.uint32(56).bool(e.ShowMyPresence),null!=e.ShowMyCalls&&Object.hasOwnProperty.call(e,"ShowMyCalls")&&t.uint32(64).bool(e.ShowMyCalls),null!=e.PerformOperations&&Object.hasOwnProperty.call(e,"PerformOperations")&&t.uint32(72).bool(e.PerformOperations),null!=e.AssignClearOperations&&Object.hasOwnProperty.call(e,"AssignClearOperations")&&t.uint32(80).bool(e.AssignClearOperations),null!=e.AllowToManageCompanyBook&&Object.hasOwnProperty.call(e,"AllowToManageCompanyBook")&&t.uint32(88).bool(e.AllowToManageCompanyBook),null!=e.RoleName&&Object.hasOwnProperty.call(e,"RoleName")&&t.uint32(98).string(e.RoleName),null!=e.Number&&Object.hasOwnProperty.call(e,"Number")&&t.uint32(106).string(e.Number),null!=e.IsPrimaryGroup&&Object.hasOwnProperty.call(e,"IsPrimaryGroup")&&t.uint32(112).bool(e.IsPrimaryGroup),null!=e.CanSeeGroupRecordings&&Object.hasOwnProperty.call(e,"CanSeeGroupRecordings")&&t.uint32(120).bool(e.CanSeeGroupRecordings),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.GroupId;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Name=e.string();break;case 4:u.AllowChangePresence=e.bool();break;case 5:u.ShowGroupMembers=e.bool();break;case 6:u.ShowGroupCalls=e.bool();break;case 7:u.ShowMyPresence=e.bool();break;case 8:u.ShowMyCalls=e.bool();break;case 9:u.PerformOperations=e.bool();break;case 10:u.AssignClearOperations=e.bool();break;case 11:u.AllowToManageCompanyBook=e.bool();break;case 12:u.RoleName=e.string();break;
vendor: 23,861 bytes, line 1
1case 13:u.Number=e.string();break;case 14:u.IsPrimaryGroup=e.bool();break;case 15:u.CanSeeGroupRecordings=e.bool();break;default:e.skipType(7&E)}}return u},a})(),an=o.GroupIds=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.GroupId.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.GroupIds;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.GroupId.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})(),zt=(o.CallParticipant=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.CallerName&&Object.hasOwnProperty.call(e,"CallerName")&&t.uint32(26).string(e.CallerName),null!=e.CallerID&&Object.hasOwnProperty.call(e,"CallerID")&&t.uint32(34).string(e.CallerID),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.CallParticipant;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.CallerName=e.string();break;case 4:u.CallerID=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.CallParticipants=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.CallParticipant.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.CallParticipants;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.CallParticipant.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})(),o.CallState=(()=>{const a={},r=Object.create(a);return r[a[0]="Unknown"]=0,r[a[1]="Initiating"]=1,r[a[2]="Routing"]=2,r[a[3]="Talking"]=3,r[a[4]="Transferring"]=4,r[a[5]="Rerouting"]=5,r})(),o.LocalConnectionState=(()=>{const a={},r=Object.create(a);return r[a[0]="UnknownState"]=0,r[a[1]="Ringing"]=1,r[a[2]="Dialing"]=2,r[a[3]="Connected"]=3,r[a[4]="WaitingForNewParty"]=4,r[a[5]="TryingToTransfer"]=5,r})()),Dn=o.ConnectionCapabilities=(()=>{const a={},r=Object.create(a);return r[a[0]="CC_None"]=0,r[a[1]="CC_Drop"]=1,r[a[2]="CC_Divert"]=2,r[a[4]="CC_Transfer"]=4,r[a[8]="CC_Pickup"]=8,r[a[16]="CC_BargeIn"]=16,r[a[32]="CC_Quality"]=32,r})(),hn=o.LocalConnectionConferenceType=(()=>{const a={},r=Object.create(a);return r[a[0]="LCCT_NotAConference"]=0,r[a[1]="LCCT_AdHocPublic"]=1,r[a[2]="LCCT_AdHocPrivate"]=2,r[a[3]="LCCT_Scheduled"]=3,r})(),Vn=o.LocalConnection=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.CallId&&Object.hasOwnProperty.call(e,"CallId")&&t.uint32(24).int32(e.CallId),null!=e.LegId&&Object.hasOwnProperty.call(e,"LegId")&&t.uint32(32).int32(e.LegId),null!=e.State&&Object.hasOwnProperty.call(e,"State")&&t.uint32(40).int32(e.State),null!=e.OriginatorType&&Object.hasOwnProperty.call(e,"OriginatorType")&&t.uint32(48).int32(e.OriginatorType),null!=e.OriginatorDn&&Object.hasOwnProperty.call(e,"OriginatorDn")&&t.uint32(58).string(e.OriginatorDn),null!=e.OriginatorName&&Object.hasOwnProperty.call(e,"OriginatorName")&&t.uint32(66).string(e.OriginatorName),null!=e.OtherPartyType&&Object.hasOwnProperty.call(e,"OtherPartyType")&&t.uint32(72).int32(e.OtherPartyType),null!=e.OtherPartyDisplayName&&Object.hasOwnProperty.call(e,"OtherPartyDisplayName")&&t.uint32(82).string(e.OtherPartyDisplayName),null!=e.OtherPartyCallerId&&Object.hasOwnProperty.call(e,"OtherPartyCallerId")&&t.uint32(90).string(e.OtherPartyCallerId),null!=e.IsIncoming&&Object.hasOwnProperty.call(e,"IsIncoming")&&t.uint32(96).bool(e.IsIncoming),null!=e.StartedAt&&Object.hasOwnProperty.call(e,"StartedAt")&&o.DateTime.encode(e.StartedAt,t.uint32(106).fork()).ldelim(),null!=e.AnsweredAt&&Object.hasOwnProperty.call(e,"AnsweredAt")&&o.DateTime.encode(e.AnsweredAt,t.uint32(114).fork()).ldelim(),null!=e.OwnerType&&Object.hasOwnProperty.call(e,"OwnerType")&&t.uint32(120).int32(e.OwnerType),null!=e.OwnerDn&&Object.hasOwnProperty.call(e,"OwnerDn")&&t.uint32(130).string(e.OwnerDn),null!=e.OwnerDisplayName&&Object.hasOwnProperty.call(e,"OwnerDisplayName")&&t.uint32(138).string(e.OwnerDisplayName),null!=e.LocalID&&Object.hasOwnProperty.call(e,"LocalID")&&t.uint32(146).string(e.LocalID),null!=e.CallCapabilitiesMask&&Object.hasOwnProperty.call(e,"CallCapabilitiesMask")&&t.uint32(152).int32(e.CallCapabilitiesMask),null!=e.ReplacesCall&&Object.hasOwnProperty.call(e,"ReplacesCall")&&t.uint32(160).int32(e.ReplacesCall),null!=e.ReplacesLeg&&Object.hasOwnProperty.call(e,"ReplacesLeg")&&t.uint32(168).int32(e.ReplacesLeg),null!=e.OtherPartyDn&&Object.hasOwnProperty.call(e,"OtherPartyDn")&&t.uint32(178).string(e.OtherPartyDn),null!=e.OwnerCallerId&&Object.hasOwnProperty.call(e,"OwnerCallerId")&&t.uint32(186).string(e.OwnerCallerId),null!=e.SLABreach&&Object.hasOwnProperty.call(e,"SLABreach")&&t.uint32(192).bool(e.SLABreach),null!=e.DeviceContact&&Object.hasOwnProperty.call(e,"DeviceContact")&&t.uint32(202).string(e.DeviceContact),null!=e.Recording&&Object.hasOwnProperty.call(e,"Recording")&&t.uint32(208).bool(e.Recording),null!=e.tag3cx&&Object.hasOwnProperty.call(e,"tag3cx")&&t.uint32(218).string(e.tag3cx),null!=e.RecordingPaused&&Object.hasOwnProperty.call(e,"RecordingPaused")&&t.uint32(224).bool(e.RecordingPaused),null!=e.DeviceDirectControl&&Object.hasOwnProperty.call(e,"DeviceDirectControl")&&t.uint32(232).bool(e.DeviceDirectControl),null!=e.OtherPartyCompanyContactRefs&&Object.hasOwnProperty.call(e,"OtherPartyCompanyContactRefs")&&t.uint32(242).string(e.OtherPartyCompanyContactRefs),null!=e.SIPDialogID&&Object.hasOwnProperty.call(e,"SIPDialogID")&&t.uint32(258).string(e.SIPDialogID),null!=e.CrmContactUrl&&Object.hasOwnProperty.call(e,"CrmContactUrl")&&t.uint32(266).string(e.CrmContactUrl),null!=e.ConferenceStateID&&Object.hasOwnProperty.call(e,"ConferenceStateID")&&t.uint32(272).int32(e.ConferenceStateID),null!=e.ConferenceType&&Object.hasOwnProperty.call(e,"ConferenceType")&&t.uint32(280).int32(e.ConferenceType),null!=e.ConferenceName&&Object.hasOwnProperty.call(e,"ConferenceName")&&t.uint32(290).string(e.ConferenceName),null!=e.ConferenceOwner&&Object.hasOwnProperty.call(e,"ConferenceOwner")&&t.uint32(298).string(e.ConferenceOwner),null!=e.CallScreening&&Object.hasOwnProperty.call(e,"CallScreening")&&t.uint32(306).string(e.CallScreening),null!=e.SIPPickupInfo&&Object.hasOwnProperty.call(e,"SIPPickupInfo")&&t.uint32(314).string(e.SIPPickupInfo),null!=e.SIPOtherPartyCID&&Object.hasOwnProperty.call(e,"SIPOtherPartyCID")&&t.uint32(322).string(e.SIPOtherPartyCID),null!=e.SIPOtherPartyCN&&Object.hasOwnProperty.call(e,"SIPOtherPartyCN")&&t.uint32(330).string(e.SIPOtherPartyCN),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.LocalConnection;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.CallId=e.int32();break;case 4:u.LegId=e.int32();break;case 5:u.State=e.int32();break;case 6:u.OriginatorType=e.int32();break;case 7:u.OriginatorDn=e.string();break;case 8:u.OriginatorName=e.string();break;case 9:u.OtherPartyType=e.int32();break;case 10:u.OtherPartyDisplayName=e.string();break;case 11:u.OtherPartyCallerId=e.string();break;case 12:u.IsIncoming=e.bool();break;case 13:u.StartedAt=o.DateTime.decode(e,e.uint32());break;case 14:u.AnsweredAt=o.DateTime.decode(e,e.uint32());break;case 15:u.OwnerType=e.int32();break;case 16:u.OwnerDn=e.string();break;case 17:u.OwnerDisplayName=e.string();break;case 18:u.LocalID=e.string();break;case 19:u.CallCapabilitiesMask=e.int32();break;case 20:u.ReplacesCall=e.int32();break;case 21:u.ReplacesLeg=e.int32();break;case 22:u.OtherPartyDn=e.string();break;case 23:u.OwnerCallerId=e.string();break;case 24:u.SLABreach=e.bool();break;case 25:u.DeviceContact=e.string();break;case 26:u.Recording=e.bool();break;case 27:u.tag3cx=e.string();break;case 28:u.RecordingPaused=e.bool();break;case 29:u.DeviceDirectControl=e.bool();break;case 30:u.OtherPartyCompanyContactRefs=e.string();break;case 32:u.SIPDialogID=e.string();break;case 33:u.CrmContactUrl=e.string();break;case 34:u.ConferenceStateID=e.int32();break;case 35:u.ConferenceType=e.int32();break;case 36:u.ConferenceName=e.string();break;case 37:u.ConferenceOwner=e.string();break;case 38:u.CallScreening=e.string();break;case 39:u.SIPPickupInfo=e.string();break;case 40:u.SIPOtherPartyCID=e.string();break;case 41:u.SIPOtherPartyCN=e.string();break;default:e.skipType(7&E)}}return u},a})(),Pn=o.LocalConnections=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.LocalConnection.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.LocalConnections;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.LocalConnection.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})(),ci=(o.Call=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Owner&&Object.hasOwnProperty.call(e,"Owner")&&t.uint32(34).string(e.Owner),null!=e.TalkingTo&&Object.hasOwnProperty.call(e,"TalkingTo")&&t.uint32(42).string(e.TalkingTo),null!=e.RoutingTo&&Object.hasOwnProperty.call(e,"RoutingTo")&&t.uint32(50).string(e.RoutingTo),null!=e.StartedAt&&Object.hasOwnProperty.call(e,"StartedAt")&&o.DateTime.encode(e.StartedAt,t.uint32(58).fork()).ldelim(),null!=e.AnsweredAt&&Object.hasOwnProperty.call(e,"AnsweredAt")&&o.DateTime.encode(e.AnsweredAt,t.uint32(66).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Call;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 4:u.Owner=e.string();break;case 5:u.TalkingTo=e.string();break;case 6:u.RoutingTo=e.string();break;case 7:u.StartedAt=o.DateTime.decode(e,e.uint32());break;case 8:u.AnsweredAt=o.DateTime.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),o.Calls=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.Call.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Calls;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.Call.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})(),o.ConferenceParticipantStatus=(()=>{const a={},r=Object.create(a);return r[a[0]="CONNECTED"]=0,r[a[1]="MUTED"]=1,r[a[2]="HELDBYCONFERENCE"]=2,r[a[3]="HELDBYPARTICIPANT"]=3,r[a[4]="JOINING"]=4,r[a[5]="FAILEDTOREACH"]=5,r[a[6]="DISCONNECTED"]=6,r})()),fi=(o.ConferenceParticipant=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Number&&Object.hasOwnProperty.call(e,"Number")&&t.uint32(26).string(e.Number),null!=e.DisplayName&&Object.hasOwnProperty.call(e,"DisplayName")&&t.uint32(34).string(e.DisplayName),null!=e.Status&&Object.hasOwnProperty.call(e,"Status")&&t.uint32(40).int32(e.Status),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ConferenceParticipant;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Number=e.string();break;case 4:u.DisplayName=e.string();break;case 5:u.Status=e.int32();break;default:e.skipType(7&E)}}return u},a})(),o.ConferenceParticipants=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.ConferenceParticipant.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ConferenceParticipants;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.ConferenceParticipant.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})()),si=(o.WebRtcInboundRule=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.IsEnabled&&Object.hasOwnProperty.call(e,"IsEnabled")&&t.uint32(24).bool(e.IsEnabled),null!=e.DID&&Object.hasOwnProperty.call(e,"DID")&&t.uint32(34).string(e.DID),null!=e.CallUrl&&Object.hasOwnProperty.call(e,"CallUrl")&&t.uint32(42).string(e.CallUrl),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.WebRtcInboundRule;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.IsEnabled=e.bool();break;case 4:u.DID=e.string();break;case 5:u.CallUrl=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.WebRtcInboundRules=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.WebRtcInboundRule.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.WebRtcInboundRules;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.WebRtcInboundRule.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})(),o.DIDRuleInfo=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.ActiveHoursType&&Object.hasOwnProperty.call(e,"ActiveHoursType")&&t.uint32(24).int32(e.ActiveHoursType),null!=e.DIDName&&Object.hasOwnProperty.call(e,"DIDName")&&t.uint32(34).string(e.DIDName),null!=e.DIDNumber&&Object.hasOwnProperty.call(e,"DIDNumber")&&t.uint32(42).string(e.DIDNumber),null!=e.CalledAtSpecifiedTime&&Object.hasOwnProperty.call(e,"CalledAtSpecifiedTime")&&t.uint32(48).bool(e.CalledAtSpecifiedTime),null!=e.CalledOutOfSpecifiedTime&&Object.hasOwnProperty.call(e,"CalledOutOfSpecifiedTime")&&t.uint32(56).bool(e.CalledOutOfSpecifiedTime),null!=e.CalledOnHolidays&&Object.hasOwnProperty.call(e,"CalledOnHolidays")&&t.uint32(64).bool(e.CalledOnHolidays),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.DIDRuleInfo;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.ActiveHoursType=e.int32();break;case 4:u.DIDName=e.string();break;case 5:u.DIDNumber=e.string();break;case 6:u.CalledAtSpecifiedTime=e.bool();break;case 7:u.CalledOutOfSpecifiedTime=e.bool();break;case 8:u.CalledOnHolidays=e.bool();break;default:e.skipType(7&E)}}return u},a})(),o.DIDRuleInfos=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.DIDRuleInfo.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.DIDRuleInfos;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.DIDRuleInfo.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})(),o.MyExtensionInfo=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Number&&Object.hasOwnProperty.call(e,"Number")&&t.uint32(26).string(e.Number),null!=e.MobileNumber&&Object.hasOwnProperty.call(e,"MobileNumber")&&t.uint32(34).string(e.MobileNumber),null!=e.Email&&Object.hasOwnProperty.call(e,"Email")&&t.uint32(42).string(e.Email),null!=e.QueueStatus&&Object.hasOwnProperty.call(e,"QueueStatus")&&t.uint32(48).bool(e.QueueStatus),null!=e.FirstName&&Object.hasOwnProperty.call(e,"FirstName")&&t.uint32(58).string(e.FirstName),null!=e.LastName&&Object.hasOwnProperty.call(e,"LastName")&&t.uint32(66).string(e.LastName),null!=e.ActiveDevices&&Object.hasOwnProperty.call(e,"ActiveDevices")&&o.Registrations.encode(e.ActiveDevices,t.uint32(74).fork()).ldelim(),null!=e.CurrentProfile&&Object.hasOwnProperty.call(e,"CurrentProfile")&&t.uint32(80).int32(e.CurrentProfile),null!=e.VoiceMailBox&&Object.hasOwnProperty.call(e,"VoiceMailBox")&&o.VoiceMails.encode(e.VoiceMailBox,t.uint32(90).fork()).ldelim(),null!=e.MyGroups&&Object.hasOwnProperty.call(e,"MyGroups")&&o.GroupIds.encode(e.MyGroups,t.uint32(98).fork()).ldelim(),null!=e.MyProfiles&&Object.hasOwnProperty.call(e,"MyProfiles")&&o.ForwardingProfiles.encode(e.MyProfiles,t.uint32(106).fork()).ldelim(),null!=e.DND&&Object.hasOwnProperty.call(e,"DND")&&t.uint32(112).bool(e.DND),null!=e.MyCalls&&Object.hasOwnProperty.call(e,"MyCalls")&&o.Calls.encode(e.MyCalls,t.uint32(122).fork()).ldelim(),null!=e.OfficeHours&&Object.hasOwnProperty.call(e,"OfficeHours")&&t.uint32(128).int32(e.OfficeHours),null!=e.ChatStatus&&Object.hasOwnProperty.call(e,"ChatStatus")&&t.uint32(136).int32(e.ChatStatus),null!=e.Connections&&Object.hasOwnProperty.call(e,"Connections")&&o.LocalConnections.encode(e.Connections,t.uint32(146).fork()).ldelim(),null!=e.OtherConnections&&Object.hasOwnProperty.call(e,"OtherConnections")&&o.LocalConnections.encode(e.OtherConnections,t.uint32(162).fork()).ldelim(),null!=e.PrivateConference&&Object.hasOwnProperty.call(e,"PrivateConference")&&o.ConferenceParticipants.encode(e.PrivateConference,t.uint32(170).fork()).ldelim(),null!=e.AllowEditFwRules&&Object.hasOwnProperty.call(e,"AllowEditFwRules")&&t.uint32(176).bool(e.AllowEditFwRules),null!=e.DeskphonePassword&&Object.hasOwnProperty.call(e,"DeskphonePassword")&&t.uint32(186).string(e.DeskphonePassword),null!=e.MissedCallsCount&&Object.hasOwnProperty.call(e,"MissedCallsCount")&&t.uint32(192).int32(e.MissedCallsCount),null!=e.WebMeetingMD5Password&&Object.hasOwnProperty.call(e,"WebMeetingMD5Password")&&t.uint32(202).string(e.WebMeetingMD5Password),null!=e.WebRtcInboundRules&&Object.hasOwnProperty.call(e,"WebRtcInboundRules")&&o.WebRtcInboundRules.encode(e.WebRtcInboundRules,t.uint32(210).fork()).ldelim(),null!=e.HasCurrentProfileOverride&&Object.hasOwnProperty.call(e,"HasCurrentProfileOverride")&&t.uint32(216).bool(e.HasCurrentProfileOverride),null!=e.CurrentProfileOverride&&Object.hasOwnProperty.call(e,"CurrentProfileOverride")&&t.uint32(224).int32(e.CurrentProfileOverride),null!=e.OverrideExpiresAtUTCTime&&Object.hasOwnProperty.call(e,"OverrideExpiresAtUTCTime")&&o.DateTime.encode(e.OverrideExpiresAtUTCTime,t.uint32(234).fork()).ldelim(),null!=e.OverrideCurrentStatus&&Object.hasOwnProperty.call(e,"OverrideCurrentStatus")&&t.uint32(242).string(e.OverrideCurrentStatus),null!=e.OverrideAttachedData&&Object.hasOwnProperty.call(e,"OverrideAttachedData")&&t.uint32(250).string(e.OverrideAttachedData),null!=e.SharedBlfs&&Object.hasOwnProperty.call(e,"SharedBlfs")&&t.uint32(258).string(e.SharedBlfs),null!=e.QuickMeetingLink&&Object.hasOwnProperty.call(e,"QuickMeetingLink")&&t.uint32(266).string(e.QuickMeetingLink),null!=e.WmFriendlyName&&Object.hasOwnProperty.call(e,"WmFriendlyName")&&t.uint32(274).string(e.WmFriendlyName),null!=e.WmPrivateRooms&&Object.hasOwnProperty.call(e,"WmPrivateRooms")&&t.uint32(280).bool(e.WmPrivateRooms),null!=e.WmModerateParticipants&&Object.hasOwnProperty.call(e,"WmModerateParticipants")&&t.uint32(288).bool(e.WmModerateParticipants),null!=e.QuickMeetingOpenLink&&Object.hasOwnProperty.call(e,"QuickMeetingOpenLink")&&t.uint32(298).string(e.QuickMeetingOpenLink),null!=e.ContactImage&&Object.hasOwnProperty.call(e,"ContactImage")&&t.uint32(306).string(e.ContactImage),null!=e.CanSeeRecordings&&Object.hasOwnProperty.call(e,"CanSeeRecordings")&&t.uint32(312).bool(e.CanSeeRecordings),null!=e.CanDeleteRecordings&&Object.hasOwnProperty.call(e,"CanDeleteRecordings")&&t.uint32(320).bool(e.CanDeleteRecordings),null!=e.ProvLink&&Object.hasOwnProperty.call(e,"ProvLink")&&t.uint32(330).string(e.ProvLink),null!=e.AllowControlOwnRecordings&&Object.hasOwnProperty.call(e,"AllowControlOwnRecordings")&&t.uint32(336).bool(e.AllowControlOwnRecordings),null!=e.Subscriptions&&Object.hasOwnProperty.call(e,"Subscriptions")&&o.PushSub
1scriptions.encode(e.Subscriptions,t.uint32(346).fork()).ldelim(),null!=e.AllowWebrtcEndpoint&&Object.hasOwnProperty.call(e,"AllowWebrtcEndpoint")&&t.uint32(352).bool(e.AllowWebrtcEndpoint),null!=e.Settings&&Object.hasOwnProperty.call(e,"Settings")&&o.UserSettings.encode(e.Settings,t.uint32(362).fork()).ldelim(),null!=e.ActiveDids&&Object.hasOwnProperty.call(e,"ActiveDids")&&o.DIDRuleInfos.encode(e.ActiveDids,t.uint32(370).fork()).ldelim(),null!=e.Language&&Object.hasOwnProperty.call(e,"Language")&&t.uint32(378).string(e.Language),null!=e.Office365Enabled&&Object.hasOwnProperty.call(e,"Office365Enabled")&&t.uint32(384).bool(e.Office365Enabled),null!=e.HasExchangeLicense&&Object.hasOwnProperty.call(e,"HasExchangeLicense")&&t.uint32(392).bool(e.HasExchangeLicense),null!=e.MonitorExpiration&&Object.hasOwnProperty.call(e,"MonitorExpiration")&&o.DateTime.encode(e.MonitorExpiration,t.uint32(402).fork()).ldelim(),null!=e.AgentSettings&&Object.hasOwnProperty.call(e,"AgentSettings")&&t.uint32(410).string(e.AgentSettings),null!=e.TotalVmails&&Object.hasOwnProperty.call(e,"TotalVmails")&&t.uint32(416).int32(e.TotalVmails),null!=e.NewVmails&&Object.hasOwnProperty.call(e,"NewVmails")&&t.uint32(424).int32(e.NewVmails),null!=e.VmailEnabled&&Object.hasOwnProperty.call(e,"VmailEnabled")&&t.uint32(432).bool(e.VmailEnabled),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.MyExtensionInfo;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Number=e.string();break;case 4:u.MobileNumber=e.string();break;case 5:u.Email=e.string();break;case 6:u.QueueStatus=e.bool();break;case 7:u.FirstName=e.string();break;case 8:u.LastName=e.string();break;case 9:u.ActiveDevices=o.Registrations.decode(e,e.uint32());break;case 10:u.CurrentProfile=e.int32();break;case 11:u.VoiceMailBox=o.VoiceMails.decode(e,e.uint32());break;case 12:u.MyGroups=o.GroupIds.decode(e,e.uint32());break;case 13:u.MyProfiles=o.ForwardingProfiles.decode(e,e.uint32());break;case 14:u.DND=e.bool();break;case 15:u.MyCalls=o.Calls.decode(e,e.uint32());break;case 16:u.OfficeHours=e.int32();break;case 17:u.ChatStatus=e.int32();break;case 18:u.Connections=o.LocalConnections.decode(e,e.uint32());break;case 20:u.OtherConnections=o.LocalConnections.decode(e,e.uint32());break;case 21:u.PrivateConference=o.ConferenceParticipants.decode(e,e.uint32());break;case 22:u.AllowEditFwRules=e.bool();break;case 23:u.DeskphonePassword=e.string();break;case 24:u.MissedCallsCount=e.int32();break;case 25:u.WebMeetingMD5Password=e.string();break;case 26:u.WebRtcInboundRules=o.WebRtcInboundRules.decode(e,e.uint32());break;case 27:u.HasCurrentProfileOverride=e.bool();break;case 28:u.CurrentProfileOverride=e.int32();break;case 29:u.OverrideExpiresAtUTCTime=o.DateTime.decode(e,e.uint32());break;case 30:u.OverrideCurrentStatus=e.string();break;case 31:u.OverrideAttachedData=e.string();break;case 32:u.SharedBlfs=e.string();break;case 33:u.QuickMeetingLink=e.string();break;case 34:u.WmFriendlyName=e.string();break;case 35:u.WmPrivateRooms=e.bool();break;case 36:u.WmModerateParticipants=e.bool();break;case 37:u.QuickMeetingOpenLink=e.string();break;case 38:u.ContactImage=e.string();break;case 39:u.CanSeeRecordings=e.bool();break;case 40:u.CanDeleteRecordings=e.bool();break;case 41:u.ProvLink=e.string();break;case 42:u.AllowControlOwnRecordings=e.bool();break;case 43:u.Subscriptions=o.PushSubscriptions.decode(e,e.uint32());break;case 44:u.AllowWebrtcEndpoint=e.bool();break;case 45:u.Settings=o.UserSettings.decode(e,e.uint32());break;case 46:u.ActiveDids=o.DIDRuleInfos.decode(e,e.uint32());break;case 47:u.Language=e.string();break;case 48:u.Office365Enabled=e.bool();break;case 49:u.HasExchangeLicense=e.bool();break;case 50:u.MonitorExpiration=o.DateTime.decode(e,e.uint32());break;case 51:u.AgentSettings=e.string();break;case 52:u.TotalVmails=e.int32();break;case 53:u.NewVmails=e.int32();break;case 54:u.VmailEnabled=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:201,MyInfo:this})},a.prototype.typeId=201,a.prototype.typeName="MyInfo",a})()),Ei=o.RequestSetLanguage=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Language&&Object.hasOwnProperty.call(e,"Language")&&t.uint32(10).string(e.Language),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSetLanguage;
1for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Language=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:514,SetLanguage:this})},a.prototype.typeId=514,a.prototype.typeName="SetLanguage",a})(),Ki=(o.UserSettings=(()=>{function a(r){if(this.ChatBlockedUsers=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.ChatBlockedUsers=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.ChatBlockedUsers&&e.ChatBlockedUsers.length)for(let k=0;k<e.ChatBlockedUsers.length;++k)t.uint32(10).string(e.ChatBlockedUsers[k]);return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.UserSettings;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.ChatBlockedUsers&&u.ChatBlockedUsers.length||(u.ChatBlockedUsers=[]),u.ChatBlockedUsers.push(e.string())):e.skipType(7&E)}return u},a})(),o.RequestUpdateUserSettings=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Settings&&Object.hasOwnProperty.call(e,"Settings")&&o.UserSettings.encode(e.Settings,t.uint32(10).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUpdateUserSettings;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Settings=o.UserSettings.decode(e,e.uint32()):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:192,UpdateUserSettings:this})},a.prototype.typeId=192,a.prototype.typeName="UpdateUserSettings",a})()),Hi=o.ConferenceState=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Participants&&Object.hasOwnProperty.call(e,"Participants")&&o.ConferenceParticipants.encode(e.Participants,t.uint32(26).fork()).ldelim(),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(34).string(e.Name),null!=e.Description&&Object.hasOwnProperty.call(e,"Description")&&t.uint32(42).string(e.Description),null!=e.StartAt&&Object.hasOwnProperty.call(e,"StartAt")&&t.uint32(50).string(e.StartAt),null!=e.EndAt&&Object.hasOwnProperty.call(e,"EndAt")&&t.uint32(58).string(e.EndAt),null!=e.IsActive&&Object.hasOwnProperty.call(e,"IsActive")&&t.uint32(64).bool(e.IsActive),null!=e.IsScheduled&&Object.hasOwnProperty.call(e,"IsScheduled")&&t.uint32(72).bool(e.IsScheduled),null!=e.PinCode&&Object.hasOwnProperty.call(e,"PinCode")&&t.uint32(82).string(e.PinCode),null!=e.ScheduleID&&Object.hasOwnProperty.call(e,"ScheduleID")&&t.uint32(88).int32(e.ScheduleID),null!=e.Cancelled&&Object.hasOwnProperty.call(e,"Cancelled")&&t.uint32(96).bool(e.Cancelled),null!=e.DisableUserInteractions&&Object.hasOwnProperty.call(e,"DisableUserInteractions")&&t.uint32(104).bool(e.DisableUserInteractions),null!=e.Type&&Object.hasOwnProperty.call(e,"Type")&&t.uint32(112).int32(e.Type),null!=e.webMeetingParticipants&&Object.hasOwnProperty.call(e,"webMeetingParticipants")&&o.ConferenceParticipants.encode(e.webMeetingParticipants,t.uint32(122).fork()).ldelim(),null!=e.OwnedBy&&Object.hasOwnProperty.call(e,"OwnedBy")&&t.uint32(130).string(e.OwnedBy),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ConferenceState;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Participants=o.ConferenceParticipants.decode(e,e.uint32());break;case 4:u.Name=e.string();break;case 5:u.Description=e.string();break;case 6:u.StartAt=e.string();break;case 7:u.EndAt=e.string();break;case 8:u.IsActive=e.bool();break;case 9:u.IsScheduled=e.bool();break;case 10:u.PinCode=e.string();break;case 11:u.ScheduleID=e.int32();break;case 12:u.Cancelled=e.bool();break;case 13:u.DisableUserInteractions=e.bool();break;case 14:u.Type=e.int32();break;case 15:u.webMeetingParticipants=o.ConferenceParticipants.decode(e,e.uint32());break;case 16:u.OwnedBy=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:181,UpdateWebMeetingParticipants:this})},a.prototype.typeId=181,a.prototype.typeName="UpdateWebMeetingParticipants",a})(),Wi=o.RequestUpsertScheduledConference=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.StartAtUTC&&Object.hasOwnProperty.call(e,"StartAtUTC")&&t.uint32(18).string(e.StartAtUTC),null!=e.EndAtUTC&&Object.hasOwnProperty.call(e,"EndAtUTC")&&t.uint32(26).string(e.EndAtUTC),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(34).string(e.Name),null!=e.Description&&Object.hasOwnProperty.call(e,"Description")&&t.uint32(42).string(e.Description),null!=e.Moderators&&Object.hasOwnProperty.call(e,"Moderators")&&t.uint32(50).string(e.Moderators),null!=e.DisableUserInteractions&&Object.hasOwnProperty.call(e,"DisableUserInteractions")&&t.uint32(56).bool(e.DisableUserInteractions),null!=e.ConferencePIN&&Object.hasOwnProperty.call(e,"ConferencePIN")&&t.uint32(66).string(e.ConferencePIN),null!=e.ExternalNumberOfConference&&Object.hasOwnProperty.call(e,"ExternalNumberOfConference")&&t.uint32(74).string(e.ExternalNumberOfConference),null!=e.Emails&&Object.hasOwnProperty.call(e,"Emails")&&t.uint32(82).string(e.Emails),null!=e.EmailBody&&Object.hasOwnProperty.call(e,"EmailBody")&&t.uint32(90).string(e.EmailBody),null!=e.DeleteSchedule&&Object.hasOwnProperty.call(e,"DeleteSchedule")&&t.uint32(96).bool(e.DeleteSchedule),null!=e.InternalParticipants&&Object.hasOwnProperty.call(e,"InternalParticipants")&&t.uint32(106).string(e.InternalParticipants),null!=e.CallToExternalNumbers&&Object.hasOwnProperty.call(e,"CallToExternalNumbers")&&t.uint32(114).string(e.CallToExternalNumbers),null!=e.CalendarType&&Object.hasOwnProperty.call(e,"CalendarType")&&t.uint32(120).int32(e.CalendarType),null!=e.webMeetingScheduleState&&Object.hasOwnProperty.call(e,"webMeetingScheduleState")&&o.WebMeetingState.encode(e.webMeetingScheduleState,t.uint32(130).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUpsertScheduledConference;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.StartAtUTC=e.string();break;case 3:u.EndAtUTC=e.string();break;case 4:u.Name=e.string();break;case 5:u.Description=e.string();break;case 6:u.Moderators=e.string();break;case 7:u.DisableUserInteractions=e.bool();break;case 8:u.ConferencePIN=e.string();break;case 9:u.ExternalNumberOfConference=e.string();break;case 10:u.Emails=e.string();break;case 11:u.EmailBody=e.string();break;case 12:u.DeleteSchedule=e.bool();break;case 13:u.InternalParticipants=e.string();break;case 14:u.CallToExternalNumbers=e.string();break;case 15:u.CalendarType=e.int32();break;case 16:u.webMeetingScheduleState=o.WebMeetingState.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:133,ScheduleConferenceRequest:this})},a.prototype.typeId=133,a.prototype.typeName="ScheduleConferenceRequest",a})(),qi=o.WebMeetingParticipant=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Key&&Object.hasOwnProperty.call(e,"Key")&&t.uint32(18).string(e.Key),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(26).string(e.Name),null!=e.Email&&Object.hasOwnProperty.call(e,"Email")&&t.uint32(34).string(e.Email),null!=e.Moderator&&Object.hasOwnProperty.call(e,"Moderator")&&t.uint32(40).bool(e.Moderator),null!=e.ExtensionNumber&&Object.hasOwnProperty.call(e,"ExtensionNumber")&&t.uint32(50).string(e.ExtensionNumber),null!=e.NotificationStatus&&Object.hasOwnProperty.call(e,"NotificationStatus")&&t.uint32(58).string(e.NotificationStatus),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.WebMeetingParticipant;
1for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Key=e.string();break;case 3:u.Name=e.string();break;case 4:u.Email=e.string();break;case 5:u.Moderator=e.bool();break;case 6:u.ExtensionNumber=e.string();break;case 7:u.NotificationStatus=e.string();break;default:e.skipType(7&E)}}return u},a})(),eo=o.WebMeetings=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.WebMeetingState.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.WebMeetings;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.WebMeetingState.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:224,ActiveWebMeetings:this})},a.prototype.typeId=224,a.prototype.typeName="ActiveWebMeetings",a})(),Yi=o.WebMeetingParticipants=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.WebMeetingParticipant.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.WebMeetingParticipants;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.WebMeetingParticipant.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})(),En=o.RequestGetWebMeetings=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetWebMeetings;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:154,GetWebMeetings:this})},a.prototype.typeId=154,a.prototype.typeName="GetWebMeetings",a})(),li=o.WebMeetingState=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.StartAtUTC&&Object.hasOwnProperty.call(e,"StartAtUTC")&&t.uint32(26).string(e.StartAtUTC),null!=e.Duration&&Object.hasOwnProperty.call(e,"Duration")&&t.uint32(32).int32(e.Duration),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(42).string(e.Name),null!=e.Description&&Object.hasOwnProperty.call(e,"Description")&&t.uint32(50).string(e.Description),null!=e.Organizer&&Object.hasOwnProperty.call(e,"Organizer")&&o.WebMeetingParticipant.encode(e.Organizer,t.uint32(58).fork()).ldelim(),null!=e.HideParticipants&&Object.hasOwnProperty.call(e,"HideParticipants")&&t.uint32(64).bool(e.HideParticipants),null!=e.ForceModerator&&Object.hasOwnProperty.call(e,"ForceModerator")&&t.uint32(72).bool(e.ForceModerator),null!=e.CanChangeMedia&&Object.hasOwnProperty.call(e,"CanChangeMedia")&&t.uint32(80).bool(e.CanChangeMedia),null!=e.NeedOrganizer&&Object.hasOwnProperty.call(e,"NeedOrganizer")&&t.uint32(88).bool(e.NeedOrganizer),null!=e.PreferredMCU&&Object.hasOwnProperty.call(e,"PreferredMCU")&&t.uint32(98).string(e.PreferredMCU),null!=e.Participants&&Object.hasOwnProperty.call(e,"Participants")&&o.WebMeetingParticipants.encode(e.Participants,t.uint32(106).fork()).ldelim(),null!=e.UserRole&&Object.hasOwnProperty.call(e,"UserRole")&&t.uint32(112).int32(e.UserRole),null!=e.Type&&Object.hasOwnProperty.call(e,"Type")&&t.uint32(128).int32(e.Type),null!=e.Pin&&Object.hasOwnProperty.call(e,"Pin")&&t.uint32(138).string(e.Pin),null!=e.NumberToCall&&Object.hasOwnProperty.call(e,"NumberToCall")&&t.uint32(146).string(e.NumberToCall),null!=e.DisableUserInteractions&&Object.hasOwnProperty.call(e,"DisableUserInteractions")&&t.uint32(152).bool(e.DisableUserInteractions),null!=e.BitrateData&&Object.hasOwnProperty.call(e,"BitrateData")&&t.uint32(160).int32(e.BitrateData),null!=e.BitrateVideo&&Object.hasOwnProperty.call(e,"BitrateVideo")&&t.uint32(168).int32(e.BitrateVideo),null!=e.VideoFormat&&Object.hasOwnProperty.call(e,"VideoFormat")&&t.uint32(178).string(e.VideoFormat),null!=e.ParticipantsProperties&&Object.hasOwnProperty.call(e,"ParticipantsProperties")&&t.uint32(186).string(e.ParticipantsProperties),null!=e.IsPrivateRoom&&Object.hasOwnProperty.call(e,"IsPrivateRoom")&&t.uint32(192).bool(e.IsPrivateRoom),null!=e.EmailBody&&Object.hasOwnProperty.call(e,"EmailBody")&&t.uint32(202).string(e.EmailBody),null!=e.MeetingProfile&&Object.hasOwnProperty.call(e,"MeetingProfile")&&t.uint32(208).int32(e.MeetingProfile),null!=e.CalendarType&&Object.hasOwnProperty.call(e,"CalendarType")&&t.uint32(216).int32(e.CalendarType),null!=e.JoinLink&&Object.hasOwnProperty.call(e,"JoinLink")&&t.uint32(226).string(e.JoinLink),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.WebMeetingState;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.StartAtUTC=e.string();break;case 4:u.Duration=e.int32();break;case 5:u.Name=e.string();break;case 6:u.Description=e.string();break;case 7:u.Organizer=o.WebMeetingParticipant.decode(e,e.uint32());break;case 8:u.HideParticipants=e.bool();break;case 9:u.ForceModerator=e.bool();break;case 10:u.CanChangeMedia=e.bool();break;case 11:u.NeedOrganizer=e.bool();break;case 12:u.PreferredMCU=e.string();break;case 13:u.Participants=o.WebMeetingParticipants.decode(e,e.uint32());break;case 14:u.UserRole=e.int32();break;case 16:u.Type=e.int32();break;case 17:u.Pin=e.string();break;case 18:u.NumberToCall=e.string();break;case 19:u.DisableUserInteractions=e.bool();break;case 20:u.BitrateData=e.int32();break;case 21:u.BitrateVideo=e.int32();break;case 22:u.VideoFormat=e.string();break;case 23:u.ParticipantsProperties=e.string();break;case 24:u.IsPrivateRoom=e.bool();break;case 25:u.EmailBody=e.string();break;case 26:u.MeetingProfile=e.int32();break;case 27:u.CalendarType=e.int32();break;case 28:u.JoinLink=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:153,UpsertWebMeeting:this})},a.prototype.typeId=153,a.prototype.typeName="UpsertWebMeeting",a})(),ln=o.RequestWebMeetingPrivateRoom=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.MeetingTitle&&Object.hasOwnProperty.call(e,"MeetingTitle")&&t.uint32(10).string(e.MeetingTitle),null!=e.OrganizerProperties&&Object.hasOwnProperty.call(e,"OrganizerProperties")&&t.uint32(18).string(e.OrganizerProperties),null!=e.ParticipantsProperties&&Object.hasOwnProperty.call(e,"ParticipantsProperties")&&t.uint32(26).string(e.ParticipantsProperties),null!=e.HideParticipants&&Object.hasOwnProperty.call(e,"HideParticipants")&&t.uint32(32).bool(e.HideParticipants),null!=e.ForceModerator&&Object.hasOwnProperty.call(e,"ForceModerator")&&t.uint32(40).bool(e.ForceModerator),null!=e.CanChangeMedia&&Object.hasOwnProperty.call(e,"CanChangeMedia")&&t.uint32(48).bool(e.CanChangeMedia),null!=e.BitrateData&&Object.hasOwnProperty.call(e,"BitrateData")&&t.uint32(56).int32(e.BitrateData),null!=e.BitrateVideo&&Object.hasOwnProperty.call(e,"BitrateVideo")&&t.uint32(64).int32(e.BitrateVideo),null!=e.VideoFormat&&Object.hasOwnProperty.call(e,"VideoFormat")&&t.uint32(74).string(e.VideoFormat),null!=e.ParticipantName&&Object.hasOwnProperty.call(e,"ParticipantName")&&t.uint32(82).string(e.ParticipantName),null!=e.ClickToCall&&Object.hasOwnProperty.call(e,"ClickToCall")&&t.uint32(88).bool(e.ClickToCall),null!=e.OrganizerKey&&Object.hasOwnProperty.call(e,"OrganizerKey")&&t.uint32(98).string(e.OrganizerKey),null!=e.OpenLink&&Object.hasOwnProperty.call(e,"OpenLink")&&t.uint32(106).string(e.OpenLink),null!=e.MeetingRowId&&Object.hasOwnProperty.call(e,"MeetingRowId")&&t.uint32(112).int32(e.MeetingRowId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestWebMeetingPrivateRoom;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.MeetingTitle=e.string();break;case 2:u.OrganizerProperties=e.string();break;case 3:u.ParticipantsProperties=e.string();break;case 4:u.HideParticipants=e.bool();break;case 5:u.ForceModerator=e.bool();break;case 6:u.CanChangeMedia=e.bool();break;case 7:u.BitrateData=e.int32();break;case 8:u.BitrateVideo=e.int32();break;case 9:u.VideoFormat=e.string();break;case 10:u.ParticipantName=e.string();break;case 11:u.ClickToCall=e.bool();break;case 12:u.OrganizerKey=e.string();break;case 13:u.OpenLink=e.string();break;case 14:u.MeetingRowId=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:158,CreatePrivateRoom:this})},a.prototype.typeId=158,a.prototype.typeName="CreatePrivateRoom",a})(),Tn=o.ResponseWebMeetingPrivateRoom=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.OpenLink&&Object.hasOwnProperty.call(e,"OpenLink")&&t.uint32(10).string(e.OpenLink),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseWebMeetingPrivateRoom;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>
13==1?u.OpenLink=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:226,PrivateRoom:this})},a.prototype.typeId=226,a.prototype.typeName="PrivateRoom",a})(),_t=o.RequestWebMeetingError=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.ErrorMessage&&Object.hasOwnProperty.call(e,"ErrorMessage")&&t.uint32(10).string(e.ErrorMessage),null!=e.ErrorCode&&Object.hasOwnProperty.call(e,"ErrorCode")&&t.uint32(16).int32(e.ErrorCode),null!=e.Severity&&Object.hasOwnProperty.call(e,"Severity")&&t.uint32(24).int32(e.Severity),null!=e.AttachedData&&Object.hasOwnProperty.call(e,"AttachedData")&&t.uint32(34).string(e.AttachedData),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestWebMeetingError;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.ErrorMessage=e.string();break;case 2:u.ErrorCode=e.int32();break;case 3:u.Severity=e.int32();break;case 4:u.AttachedData=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:159,SendError:this})},a.prototype.typeId=159,a.prototype.typeName="SendError",a})(),Wt=o.RequestPutWebMeetingReports=(()=>{function a(r){if(this.Statistics=[],this.Reports=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Statistics=C.emptyArray,a.prototype.Reports=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Statistics&&e.Statistics.length)for(let k=0;k<e.Statistics.length;++k)t.uint32(10).string(e.Statistics[k]);if(null!=e.Reports&&e.Reports.length)for(let k=0;k<e.Reports.length;++k)t.uint32(18).string(e.Reports[k]);return null!=e.SessionId&&Object.hasOwnProperty.call(e,"SessionId")&&t.uint32(26).string(e.SessionId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestPutWebMeetingReports;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Statistics&&u.Statistics.length||(u.Statistics=[]),u.Statistics.push(e.string());break;case 2:u.Reports&&u.Reports.length||(u.Reports=[]),u.Reports.push(e.string());break;case 3:u.SessionId=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:157,PutWebMeetingReports:this})},a.prototype.typeId=157,a.prototype.typeName="PutWebMeetingReports",a})(),ye=o.RequestPutWebMeetingReports2=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.MeetingId&&Object.hasOwnProperty.call(e,"MeetingId")&&t.uint32(10).string(e.MeetingId),null!=e.SessionId&&Object.hasOwnProperty.call(e,"SessionId")&&t.uint32(18).string(e.SessionId),null!=e.Report&&Object.hasOwnProperty.call(e,"Report")&&t.uint32(26).string(e.Report),null!=e.MeetingTitle&&Object.hasOwnProperty.call(e,"MeetingTitle")&&t.uint32(34).string(e.MeetingTitle),null!=e.OrganizerExtension&&Object.hasOwnProperty.call(e,"OrganizerExtension")&&t.uint32(42).string(e.OrganizerExtension),null!=e.OrganizerName&&Object.hasOwnProperty.call(e,"OrganizerName")&&t.uint32(50).string(e.OrganizerName),null!=e.OrganizerEmail&&Object.hasOwnProperty.call(e,"OrganizerEmail")&&t.uint32(58).string(e.OrganizerEmail),null!=e.Duration&&Object.hasOwnProperty.call(e,"Duration")&&t.uint32(64).int32(e.Duration),null!=e.BandwidthUp&&Object.hasOwnProperty.call(e,"BandwidthUp")&&t.uint32(72).int32(e.BandwidthUp),null!=e.BandwidthDown&&Object.hasOwnProperty.call(e,"BandwidthDown")&&t.uint32(80).int32(e.BandwidthDown),null!=e.Participants&&Object.hasOwnProperty.call(e,"Participants")&&t.uint32(88).int32(e.Participants),null!=e.MaxParticipants&&Object.hasOwnProperty.call(e,"MaxParticipants")&&t.uint32(96).int32(e.MaxParticipants),null!=e.Invites&&Object.hasOwnProperty.call(e,"Invites")&&t.uint32(104).int32(e.Invites),null!=e.OpenLinks&&Object.hasOwnProperty.call(e,"OpenLinks")&&t.uint32(112).int32(e.OpenLinks),null!=e.Recorded&&Object.hasOwnProperty.call(e,"Recorded")&&t.uint32(120).bool(e.Recorded),null!=e.Mcu&&Object.hasOwnProperty.call(e,"Mcu")&&t.uint32(130).string(e.Mcu),null!=e.MeetingBegin&&Object.hasOwnProperty.call(e,"MeetingBegin")&&o.DateTime.encode(e.MeetingBegin,t.uint32(138).fork()).ldelim(),null!=e.MeetingRowId&&Object.hasOwnProperty.call(e,"MeetingRowId")&&t.uint32(144).int32(e.MeetingRowId),null!=e.MeetingObjects&&Object.hasOwnProperty.call(e,"MeetingObjects")&&t.uint32(154).string(e.MeetingObjects),null!=e.SentAt&&Object.hasOwnProperty.call(e,"SentAt")&&o.DateTime.encode(e.SentAt,t.uint32(162).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestPutWebMeetingReports2;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.MeetingId=e.string();break;case 2:u.SessionId=e.string();break;case 3:u.Report=e.string();break;case 4:u.MeetingTitle=e.string();break;case 5:u.OrganizerExtension=e.string();break;case 6:u.OrganizerName=e.string();break;case 7:u.OrganizerEmail=e.string();break;case 8:u.Duration=e.int32();break;case 9:u.BandwidthUp=e.int32();break;case 10:u.BandwidthDown=e.int32();break;case 11:u.Participants=e.int32();break;case 12:u.MaxParticipants=e.int32();break;case 13:u.Invites=e.int32();break;case 14:u.OpenLinks=e.int32();break;case 15:u.Recorded=e.bool();break;case 16:u.Mcu=e.string();break;case 17:u.MeetingBegin=o.DateTime.decode(e,e.uint32());break;case 18:u.MeetingRowId=e.int32();break;case 19:u.MeetingObjects=e.string();break;case 20:u.SentAt=o.DateTime.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:509,PutWebMeetingReports2:this})},a.prototype.typeId=509,a.prototype.typeName="PutWebMeetingReports2",a})(),lt=o.RequestGetConferenceSchedule=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.PinCode&&Ob
1ject.hasOwnProperty.call(e,"PinCode")&&t.uint32(18).string(e.PinCode),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetConferenceSchedule;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.PinCode=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:134,GetSchedule:this})},a.prototype.typeId=134,a.prototype.typeName="GetSchedule",a})(),Vt=o.RequestCreateConferenceScheduleTemplate=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestCreateConferenceScheduleTemplate;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:135,CreateConferenceScheduleTemplate:this})},a.prototype.typeId=135,a.prototype.typeName="CreateConferenceScheduleTemplate",a})(),On=o.Conferences=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.ConferenceState.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Conferences;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.ConferenceState.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:219,ActiveConferences:this})},a.prototype.typeId=219,a.prototype.typeName="ActiveConferences",a})(),Bn=o.RequestMyInfo=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.DontSendVM&&Object.hasOwnProperty.call(e,"DontSendVM")&&t.uint32(8).bool(e.DontSendVM),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestMyInfo;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.DontSendVM=e.bool():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:102,GetMyInfo:this})},a.prototype.typeId=102,a.prototype.typeName="GetMyInfo",a})(),Qn=o.FPStatusOverrideAction=(()=>{const a={},r=Object.create(a);return r[a[1]="FPOverride_ResetOverrideProfile"]=1,r[a[2]="FPOverride_SetAsOverrideProfile"]=2,r[a[3]="FPOverride_SetCurrentLeaveOverride"]=3,r})(),Ni=o.RequestChangeStatus=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.ProfileId&&Object.hasOwnProperty.call(e,"ProfileId")&&t.uint32(8).int32(e.ProfileId),null!=e.CustomMessage&&Object.hasOwnProperty.call(e,"CustomMessage")&&t.uint32(18).string(e.CustomMessage),null!=e.QueueStatus&&Object.hasOwnProperty.call(e,"QueueStatus")&&t.uint32(24).bool(e.QueueStatus),null!=e.DND&&Object.hasOwnProperty.call(e,"DND")&&t.uint32(32).bool(e.DND),null!=e.FirstName&&Object.hasOwnProperty.call(e,"FirstName")&&t.uint32(42).string(e.FirstName),null!=e.LastName&&Object.hasOwnProperty.call(e,"LastName")&&t.uint32(50).string(e.LastName),null!=e.OfficeHours&&Object.hasOwnProperty.call(e,"OfficeHours")&&t.uint32(56).int32(e.OfficeHours),null!=e.ChatStatus&&Object.hasOwnProperty.call(e,"ChatStatus")&&t.uint32(64).int32(e.ChatStatus),null!=e.CustomName&&Object.hasOwnProperty.call(e,"CustomName")&&t.uint32(74).string(e.CustomName),null!=e.MyGroupSettings&&Object.hasOwnProperty.call(e,"MyGroupSettings")&&o.GroupIds.encode(e.MyGroupSettings,t.uint32(82).fork()).ldelim(),null!=e.MobileNumber&&Object.hasOwnProperty.call(e,"MobileNumber")&&t.uint32(90).string(e.MobileNumber),null!=e.OverrideProfileAction&&Object.hasOwnProperty.call(e,"OverrideProfileAction")&&t.uint32(96).int32(e.OverrideProfileAction),null!=e.OverrideExpiresAtUTCtime&&Object.hasOwnProperty.call(e,"OverrideExpiresAtUTCtime")&&o.DateTime.encode(e.OverrideExpiresAtUTCtime,t.uint32(106).fork()).ldelim(),null!=e.OverrideExpiresSeconds&&Object.hasOwnProperty.call(e,"OverrideExpiresSeconds")&&t.uint32(112).int32(e.OverrideExpiresSeconds),null!=e.OverrideAttachedData&&Object.hasOwnProperty.call(e,"OverrideAttachedData")&&t.uint32(122).string(e.OverrideAttachedData),null!=e.IsInternal&&Object.hasOwnProperty.call(e,"IsInternal")&&t.uint32(128).bool(e.IsInternal),null!=e.TargetExtension&&Object.hasOwnProperty.call(e,"TargetExtension")&&t.uint32(138).string(e.TargetExtension),null!=e.InternalProfileName&&Object.hasOwnProperty.call(e,"InternalProfileName")&&t.uint32(146).string(e.InternalProfileName),null!=e.Email&&Object.hasOwnProperty.call(e,"Email")&&t.uint32(154).string(e.Email),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestChangeStatus;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.ProfileId=e.int32();break;case 2:u.CustomMessage=e.string();break;case 3:u.QueueStatus=e.bool();break;case 4:u.DND=e.bool();break;case 5:u.FirstName=e.string();break;case 6:u.LastName=e.string();break;case 7:u.OfficeHours=e.int32();break;case 8:u.ChatStatus=e.int32();break;case 9:u.CustomName=e.string();break;case 10:u.MyGroupSettings=o.GroupIds.decode(e,e.uint32());break;case 11:u.MobileNumber=e.string();break;case 12:u.OverrideProfileAction=e.int32();break;case 13:u.OverrideExpiresAtUTCtime=o.DateTime.decode(e,e.uint32());break;case 14:u.OverrideExpiresSeconds=e.int32();break;case 15:u.OverrideAttachedData=e.string();break;case 16:u.IsInternal=e.bool();break;case 17:u.TargetExtension=e.string();break;case 18:u.InternalProfileName=e.string();break;case 19:u.Email=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:103,ChangeStatus:this})},a.prototype.typeId=103,a.prototype.typeName="ChangeStatus",a})(),ht=o.Contact=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.FirstName&&Object.hasOwnProperty.call(e,"FirstName")&&t.uint32(18).string(e.FirstName),null!=e.LastName&&Object.hasOwnProperty.call(e,"LastName")&&t.uint32(26).string(e.LastName),null!=e.Number&&Object.hasOwnProperty.call(e,"Number")&&t.uint32(34).string(e.Number),null!=e.ExtensionNumber&&Object.hasOwnProperty.call(e,"ExtensionNumber")&&t.uint32(42).string(e.ExtensionNumber),null!=e.ContactType&&Object.hasOwnProperty.call(e,"ContactType")&&t.uint32(48).int32(e.ContactType),null!=e.Company&&Object.hasOwnProperty.call(e,"Company")&&t.uint32(58).string(e.Company),null!=e.AddressNumberOrData0&&Object.hasOwnProperty.call(e,"AddressNumberOrData0")&&t.uint32(66).string(e.AddressNumberOrData0),null!=e.AddressNumberOrData1&&Object.hasOwnProperty.call(e,"AddressNumberOrData1")&&t.uint32(74).string(e.AddressNumberOrData1),null!=e.AddressNumberOrData2&&Object.hasOwnProperty.call(e,"AddressNumberOrData2")&&t.uint32(82).string(e.AddressNumberOrData2),null!=e.AddressNumberOrData3&&Object.hasOwnProperty.call(e,"AddressNumberOrData3")&&t.uint32(90).string(e.AddressNumberOrData3),null!=e.AddressNumberOrData4&&Object.hasOwnProperty.call(e,"AddressNumberOrData4")&&t.uint32(98).string(e.AddressNumberOrData4),null!=e.AddressNumberOrData5&&Object.hasOwnProperty.call(e,"AddressNumberOrData5")&&t.uint32(106).string(e.AddressNumberOrData5),null!=e.AddressNumberOrData6&&Object.hasOwnProperty.call(e,"AddressNumberOrData6")&&t.uint32(114).string(e.AddressNumberOrData6),null!=e.AddressNumberOrData7&&Object.hasOwnProperty.call(e,"AddressNumberOrData7")&&t.uint32(122).string(e.AddressNumberOrData7),null!=e.AddressNumberOrData8&&Object.hasOwnProperty.call(e,"AddressNumberOrData8")&&t.uint32(130).string(e.AddressNumberOrData8),null!=e.AddressNumberOrData9&&Object.hasOwnProperty.call(e,"AddressNumberOrData9")&&t.uint32(138).string(e.AddressNumberOrData9),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(144).int32(e.Action),null!=e.ContactImage&&Object.hasOwnProperty.call(e,"ContactImage")&&t.uint32(154).string(e.ContactImage),null!=e.IsEditable&&Object.hasOwnProperty.call(e,"IsEditable")&&t.uint32(160).bool(e.IsEditable),null!=e.CrmContactData&&Object.hasOwnProperty.call(e,"CrmContactData")&&t.uint32(178).string(e.CrmContactData),null!=e.AddedBy&&Object.hasOwnProperty.call(e,"AddedBy")&&t.uint32(184).int32(e.AddedBy),null!=e.DnType&&Object.hasOwnProperty.call(e,"DnType")&&t.uint32(192).int32(e.DnType),null!=e.OpenLink&&Object.hasOwnProperty.call(e,"OpenLink")&&t.uint32(202).string(e.OpenLink),null!=e.AvailableForTransfer&&Object.hasOwnProperty.call(e,"AvailableForTransfer")&&t.uint32(208).bool(e.AvailableForTransfer),null!=e.GroupId&&Object.hasOwnProperty.call(e,"GroupId")&&t.uint32(216).int32(e.GroupId),null!=e.VmailEnabled&&Object.hasOwnProperty.call(e,"VmailEnabled")&&t.uint32(224).bool(e.VmailEnabled),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Contact;
1for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.FirstName=e.string();break;case 3:u.LastName=e.string();break;case 4:u.Number=e.string();break;case 5:u.ExtensionNumber=e.string();break;case 6:u.ContactType=e.int32();break;case 7:u.Company=e.string();break;case 8:u.AddressNumberOrData0=e.string();break;case 9:u.AddressNumberOrData1=e.string();break;case 10:u.AddressNumberOrData2=e.string();break;case 11:u.AddressNumberOrData3=e.string();break;case 12:u.AddressNumberOrData4=e.string();break;case 13:u.AddressNumberOrData5=e.string();break;case 14:u.AddressNumberOrData6=e.string();break;case 15:u.AddressNumberOrData7=e.string();break;case 16:u.AddressNumberOrData8=e.string();break;case 17:u.AddressNumberOrData9=e.string();break;case 18:u.Action=e.int32();break;case 19:u.ContactImage=e.string();break;case 20:u.IsEditable=e.bool();break;case 22:u.CrmContactData=e.string();break;case 23:u.AddedBy=e.int32();break;case 24:u.DnType=e.int32();break;case 25:u.OpenLink=e.string();break;case 26:u.AvailableForTransfer=e.bool();break;case 27:u.GroupId=e.int32();break;case 28:u.VmailEnabled=e.bool();break;default:e.skipType(7&E)}}return u},a})(),At=o.RequestLookupContact=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Input&&Object.hasOwnProperty.call(e,"Input")&&t.uint32(10).string(e.Input),null!=e.Offset&&Object.hasOwnProperty.call(e,"Offset")&&t.uint32(16).int32(e.Offset),null!=e.Count&&Object.hasOwnProperty.call(e,"Count")&&t.uint32(24).int32(e.Count),null!=e.ExtIncluded&&Object.hasOwnProperty.call(e,"ExtIncluded")&&t.uint32(32).bool(e.ExtIncluded),null!=e.SortBy&&Object.hasOwnProperty.call(e,"SortBy")&&t.uint32(40).int32(e.SortBy),null!=e.MustHaveEmail&&Object.hasOwnProperty.call(e,"MustHaveEmail")&&t.uint32(48).bool(e.MustHaveEmail),null!=e.SearchBy&&Object.hasOwnProperty.call(e,"SearchBy")&&t.uint32(56).int32(e.SearchBy),null!=e.SearchBridge&&Object.hasOwnProperty.call(e,"SearchBridge")&&t.uint32(64).bool(e.SearchBridge),null!=e.SearchCompany&&Object.hasOwnProperty.call(e,"SearchCompany")&&t.uint32(72).bool(e.SearchCompany),null!=e.SearchPersonal&&Object.hasOwnProperty.call(e,"SearchPersonal")&&t.uint32(80).bool(e.SearchPersonal),null!=e.SysExtsMask&&Object.hasOwnProperty.call(e,"SysExtsMask")&&t.uint32(88).int32(e.SysExtsMask),null!=e.MustHaveMobile&&Object.hasOwnProperty.call(e,"MustHaveMobile")&&t.uint32(96).bool(e.MustHaveMobile),null!=e.IncludeCompanyOptions&&Object.hasOwnProperty.call(e,"IncludeCompanyOptions")&&t.uint32(104).int32(e.IncludeCompanyOptions),null!=e.IncludePersonalOptions&&Object.hasOwnProperty.call(e,"IncludePersonalOptions")&&t.uint32(112).int32(e.IncludePersonalOptions),null!=e.SearchGroup&&Object.hasOwnProperty.call(e,"SearchGroup")&&t.uint32(120).bool(e.SearchGroup),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestLookupContact;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Input=e.string();break;case 2:u.Offset=e.int32();break;case 3:u.Count=e.int32();break;case 4:u.ExtIncluded=e.bool();break;case 5:u.SortBy=e.int32();break;case 6:u.MustHaveEmail=e.bool();break;case 7:u.SearchBy=e.int32();break;case 8:u.SearchBridge=e.bool();break;case 9:u.SearchCompany=e.bool();break;case 10:u.SearchPersonal=e.bool();break;case 11:u.SysExtsMask=e.int32();break;case 12:u.MustHaveMobile=e.bool();break;case 13:u.IncludeCompanyOptions=e.int32();break;case 14:u.IncludePersonalOptions=e.int32();break;case 15:u.SearchGroup=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:104,LookupContact:this})},a.prototype.typeId=104,a.prototype.typeName="LookupContact",a})(),jt=o.RequestExactMatch=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Number&&Object.hasOwnProperty.call(e,"Number")&&t.uint32(10).string(e.Number),null!=e.DnType&&Object.hasOwnProperty.call(e,"DnType")&&t.uint32(16).int32(e.DnType),null!=e.SearchCompany&&Object.hasOwnProperty.call(e,"SearchCompany")&&t.uint32(24).bool(e.SearchCompany),null!=e.SearchPersonal&&Object.hasOwnProperty.call(e,"SearchPersonal")&&t.uint32(32).bool(e.SearchPersonal),null!=e.SearchBridge&&Object.hasOwnProperty.call(e,"SearchBridge")&&t.uint32(40).bool(e.SearchBridge),null!=e.SearchGroup&&Object.hasOwnProperty.call(e,"SearchGroup")&&t.uint32(48).bool(e.SearchGroup),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestExactMatch;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Number=e.string();break;case 2:u.DnType=e.int32();break;case 3:u.SearchCompany=e.bool();break;case 4:u.SearchPersonal=e.bool();break;case 5:u.SearchBridge=e.bool();break;case 6:u.SearchGroup=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:193,ExactMatchRequest:this})},a.prototype.typeId=193,a.prototype.typeName="ExactMatchRequest",a}
1)(),nn=o.ResponseExactMatch=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Contact&&Object.hasOwnProperty.call(e,"Contact")&&o.Contact.encode(e.Contact,t.uint32(10).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseExactMatch;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Contact=o.Contact.decode(e,e.uint32()):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:240,ExactMatchResponse:this})},a.prototype.typeId=240,a.prototype.typeName="ExactMatchResponse",a})(),rn=o.RequestBatchExactMatch=(()=>{function a(r){if(this.ToSearch=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.ToSearch=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.ToSearch&&e.ToSearch.length)for(let k=0;k<e.ToSearch.length;++k)o.RequestExactMatch.encode(e.ToSearch[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestBatchExactMatch;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.ToSearch&&u.ToSearch.length||(u.ToSearch=[]),u.ToSearch.push(o.RequestExactMatch.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:529,BatchExactMatch:this})},a.prototype.typeId=529,a.prototype.typeName="BatchExactMatch",a})(),Sn=o.ResponseBatchExactMatch=(()=>{function a(r){if(this.Result=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Result=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Result&&e.Result.length)for(let k=0;k<e.Result.length;++k)o.ResponseExactMatch.encode(e.Result[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseBatchExactMatch;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Result&&u.Result.length||(u.Result=[]),u.Result.push(o.ResponseExactMatch.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:263,BatchExactMatchResult:this})},a.prototype.typeId=263,a.prototype.typeName="BatchExactMatchResult",a})(),kn=o.RequestGetContactById=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.ContactType&&Object.hasOwnProperty.call(e,"ContactType")&&t.uint32(16).int32(e.ContactType),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetContactById;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.ContactType=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:194,GetContactById:this})},a.prototype.typeId=194,a.prototype.typeName="GetContactById",a})(),Xn=o.ResponseLookup=(()=>{function a(r){if(this.Entries=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Entries=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Entries&&e.Entries.length)for(let k=0;k<e.Entries.length;++k)o.Contact.encode(e.Entries[k],t.uint32(10).fork()).ldelim();return null!=e.TotalCount&&Object.hasOwnProperty.call(e,"TotalCount")&&t.uint32(16).int32(e.TotalCount),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseLookup;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Entries&&u.Entries.length||(u.Entries=[]),u.Entries.push(o.Contact.decode(e,e.uint32()));break;case 2:u.TotalCount=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:202,LookupResult:this})}
1,a.prototype.typeId=202,a.prototype.typeName="LookupResult",a})(),bi=o.RequestGetFile=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Folder&&Object.hasOwnProperty.call(e,"Folder")&&t.uint32(8).int32(e.Folder),null!=e.FileName&&Object.hasOwnProperty.call(e,"FileName")&&t.uint32(18).string(e.FileName),null!=e.Extension&&Object.hasOwnProperty.call(e,"Extension")&&t.uint32(26).string(e.Extension),null!=e.ItemId&&Object.hasOwnProperty.call(e,"ItemId")&&t.uint32(32).int32(e.ItemId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetFile;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Folder=e.int32();break;case 2:u.FileName=e.string();break;case 3:u.Extension=e.string();break;case 4:u.ItemId=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:105,GetFile:this})},a.prototype.typeId=105,a.prototype.typeName="GetFile",a})(),Fi=o.RequestPutFile=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Folder&&Ob
1ject.hasOwnProperty.call(e,"Folder")&&t.uint32(8).int32(e.Folder),null!=e.FileName&&Object.hasOwnProperty.call(e,"FileName")&&t.uint32(18).string(e.FileName),null!=e.Content&&Object.hasOwnProperty.call(e,"Content")&&t.uint32(26).bytes(e.Content),null!=e.Extension&&Object.hasOwnProperty.call(e,"Extension")&&t.uint32(34).string(e.Extension),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestPutFile;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Folder=e.int32();break;case 2:u.FileName=e.string();break;case 3:u.Content=e.bytes();break;case 4:u.Extension=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:113,PutFile:this})},a.prototype.typeId=113,a.prototype.typeName="PutFile",a})(),Ut=o.ResponseFile=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Content&&Object.hasOwnProperty.call(e,"Content")&&t.uint32(10).bytes(e.Content),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseFile;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Content=e.bytes():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:203,FileResult:this})},a.prototype.typeId=203,a.prototype.typeName="FileResult",a})(),Hn=(o.QueueCallRecord=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.QueueNumber&&Object.hasOwnProperty.call(e,"QueueNumber")&&t.uint32(18).string(e.QueueNumber),null!=e.TimeStart&&Object.hasOwnProperty.call(e,"TimeStart")&&o.DateTime.encode(e.TimeStart,t.uint32(26).fork()).ldelim(),null!=e.Waiting&&Object.hasOwnProperty.call(e,"Waiting")&&t.uint32(34).string(e.Waiting),null!=e.Polling&&Object.hasOwnProperty.call(e,"Polling")&&t.uint32(42).string(e.Polling),null!=e.FromUserPart&&Object.hasOwnProperty.call(e,"FromUserPart")&&t.uint32(50).string(e.FromUserPart),null!=e.FromDisplayName&&Object.hasOwnProperty.call(e,"FromDisplayName")&&t.uint32(58).string(e.FromDisplayName),null!=e.DealStatus&&Object.hasOwnProperty.call(e,"DealStatus")&&t.uint32(64).int32(e.DealStatus),null!=e.IsManager&&Object.hasOwnProperty.call(e,"IsManager")&&t.uint32(72).bool(e.IsManager),null!=e.Queue&&Object.hasOwnProperty.call(e,"Queue")&&o.Contact.encode(e.Queue,t.uint32(82).fork()).ldelim(),null!=e.User&&Object.hasOwnProperty.call(e,"User")&&o.Contact.encode(e.User,t.uint32(90).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.QueueCallRecord;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.QueueNumber=e.string();break;case 3:u.TimeStart=o.DateTime.decode(e,e.uint32());break;case 4:u.Waiting=e.string();break;case 5:u.Polling=e.string();break;case 6:u.FromUserPart=e.string();break;case 7:u.FromDisplayName=e.string();break;case 8:u.DealStatus=e.int32();break;case 9:u.IsManager=e.bool();break;case 10:u.Queue=o.Contact.decode(e,e.uint32());break;case 11:u.User=o.Contact.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),o.RequestQueueCalls=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.TimeStart&&Object.hasOwnProperty.call(e,"TimeStart")&&o.DateTime.encode(e.TimeStart,t.uint32(10).fork()).ldelim(),null!=e.RecordLimit&&Object.hasOwnProperty.call(e,"RecordLimit")&&t.uint32(16).int32(e.RecordLimit),null!=e.RecordOffset&&Object.hasOwnProperty.call(e,"RecordOffset")&&t.uint32(24).int32(e.RecordOffset),null!=e.Search&&Object.hasOwnProperty.call(e,"Search")&&t.uint32(34).string(e.Search),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestQueueCalls;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.TimeStart=o.DateTime.decode(e,e.uint32());break;case 2:u.RecordLimit=e.int32();break;case 3:u.RecordOffset=e.int32();break;case 4:u.Search=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:145,GetQueueCalls:this})},a.prototype.typeId=145,a.prototype.typeName="GetQueueCalls",a})()),Kn=o.RequestQueueCallsCount=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.TimeStart&&Object.hasOwnProperty.call(e,"TimeStart")&&o.DateTime.encode(e.TimeStart,t.uint32(10).fork()).ldelim(),null!=e.Search&&Object.hasOwnProperty.call(e,"Search")&&t.uint32(18).string(e.Search),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestQueueCallsCount;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.TimeStart=o.DateTime.decode(e,e.uint32());break;case 2:u.Search=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:146,GetQueueCallsCount:this})},a.prototype.typeId=146,a.prototype.typeName="GetQueueCallsCount",a})(),ai=o.RequestSetQueueCallData=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.DealStatus&&Object.hasOwnProperty.call(e,"DealStatus")&&t.uint32(16).int32(e.DealStatus),null!=e.IsVisible&&Object.hasOwnProperty.call(e,"IsVisible")&&t.uint32(24).bool(e.IsVisible),null!=e.QueueNumber&&Object.hasOwnProperty.call(e,"QueueNumber")&&t.uint32(34).string(e.QueueNumber),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSetQueueCallData;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.DealStatus=e.int32();break;case 3:u.IsVisible=e.bool();break;case 4:u.QueueNumber=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:147,SetQueueCallData:this})},a.prototype.typeId=147,a.prototype.typeName="SetQueueCallData",a})(),Pi=o.RequestSetQueueCallDataBulk=(()=>{function a(r){if(this.IdList=[],this.QueueNumbers=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.IdList=C.emptyArray,a.prototype.QueueNumbers=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.IdList&&e.IdList.length)for(let k=0;k<e.IdList.length;++k)t.uint32(8).int32(e.IdList[k]);if(null!=e.QueueNumbers&&e.QueueNumbers.length)for(let k=0;k<e.QueueNumbers.length;++k)t.uint32(18).string(e.QueueNumbers[k]);return null!=e.DealStatus&&Object.hasOwnProperty.call(e,"DealStatus")&&t.uint32(24).int32(e.DealStatus),null!=e.IsVisible&&Object.hasOwnProperty.call(e,"IsVisible")&&t.uint32(32).bool(e.IsVisible),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSetQueueCallDataBulk;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:if(u.IdList&&u.IdList.length||(u.IdList=[]),2==(7&E)){let Oi=e.uint32()+e.pos;for(;e.pos<Oi;)u.IdList.push(e.int32())}else u.IdList.push(e.int32());break;case 2:u.QueueNumbers&&u.QueueNumbers.length||(u.QueueNumbers=[]),u.QueueNumbers.push(e.string());break;case 3:u.DealStatus=e.int32();break;case 4:u.IsVisible=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:149,SetQueueCallDataBulk:this})},a.prototype.typeId=149,a.prototype.typeName="SetQueueCallDataBulk",a})(),oi=o.ResponseQueueCalls=(()=>{function a(r){if(this.Records=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Records=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Records&&e.Records.length)for(let k=0;k<e.Records.length;++k)o.QueueCallRecord.encode(e.Records[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseQueueCalls;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Records&&u.Records.length||(u.Records=[]),u.Records.push(o.QueueCallRecord.decode(e,e.uint32()))):e.ski
1pType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:223,QueueCalls:this})},a.prototype.typeId=223,a.prototype.typeName="QueueCalls",a})(),to=(o.CallHistoryViaRole=(()=>{const a={},r=Object.create(a);return r[a[1]="ForwardedBy"]=1,r[a[2]="PickedUpFrom"]=2,r[a[3]="TransferredBy"]=3,r[a[4]="JoinedBy"]=4,r})(),o.CallHistoryParty=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.StartTime&&Object.hasOwnProperty.call(e,"StartTime")&&o.DateTime.encode(e.StartTime,t.uint32(18).fork()).ldelim(),null!=e.ConnectedAt&&Object.hasOwnProperty.call(e,"ConnectedAt")&&o.DateTime.encode(e.ConnectedAt,t.uint32(26).fork()).ldelim(),null!=e.EndedAt&&Object.hasOwnProperty.call(e,"EndedAt")&&o.DateTime.encode(e.EndedAt,t.uint32(34).fork()).ldelim(),null!=e.PartyDN&&Object.hasOwnProperty.call(e,"PartyDN")&&t.uint32(42).string(e.PartyDN),null!=e.PartyDNType&&Object.hasOwnProperty.call(e,"PartyDNType")&&t.uint32(48).int32(e.PartyDNType),null!=e.PartyDNName&&Object.hasOwnProperty.call(e,"PartyDNName")&&t.uint32(58).string(e.PartyDNName),null!=e.PartyCallerId&&Object.hasOwnProperty.call(e,"PartyCallerId")&&t.uint32(66).string(e.PartyCallerId),null!=e.ViaRole&&Object.hasOwnProperty.call(e,"ViaRole")&&t.uint32(72).int32(e.ViaRole),null!=e.ViaDN&&Object.hasOwnProperty.call(e,"ViaDN")&&t.uint32(82).string(e.ViaDN),null!=e.ViaDNType&&Object.hasOwnProperty.call(e,"ViaDNType")&&t.uint32(88).int32(e.ViaDNType),null!=e.ViaDNName&&Object.hasOwnProperty.call(e,"ViaDNName")&&t.uint32(98).string(e.ViaDNName),null!=e.ViaCallerId&&Object.hasOwnProperty.call(e,"ViaCallerId")&&t.uint32(106).string(e.ViaCallerId),null!=e.CallType&&Object.hasOwnProperty.call(e,"CallType")&&t.uint32(112).int32(e.CallType),null!=e.PartyContact&&Object.hasOwnProperty.call(e,"PartyContact")&&o.Contact.encode(e.PartyContact,t.uint32(122).fork()).ldelim(),null!=e.ViaContact&&Object.hasOwnProperty.call(e,"ViaContact")&&o.Contact.encode(e.ViaContact,t.uint32(130).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.CallHistoryParty;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.StartTime=o.DateTime.decode(e,e.uint32());break;case 3:u.ConnectedAt=o.DateTime.decode(e,e.uint32());break;case 4:u.EndedAt=o.DateTime.decode(e,e.uint32());break;case 5:u.PartyDN=e.string();break;case 6:u.PartyDNType=e.int32();break;case 7:u.PartyDNName=e.string();break;case 8:u.PartyCallerId=e.string();break;case 9:u.ViaRole=e.int32();break;case 10:u.ViaDN=e.string();break;case 11:u.ViaDNType=e.int32();break;case 12:u.ViaDNName=e.string();break;case 13:u.ViaCallerId=e.string();break;case 14:u.CallType=e.int32();break;case 15:u.PartyContact=o.Contact.decode(e,e.uint32());break;case 16:u.ViaContact=o.Contact.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),o.CallHistoryConnections=(()=>{function a(r){if(this.parties=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.parties=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.parties&&e.parties.length)for(let k=0;k<e.parties.length;++k)o.CallHistoryParty.encode(e.parties[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.CallHistoryConnections;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.parties&&u.parties.length||(u.parties=[]),u.parties.push(o.CallHistoryParty.decode(e,e.uint32()))):e.skipType(7&E)}return u},a})(),o.Quality=(()=>{const a={},r=Object.create(a);return r[a[0]="UnknownQuality"]=0,r[a[1]="AllGood"]=1,r[a[2]="NetworkToYou"]=2,r[a[3]="NetworkFromYou"]=3,r[a[4]="NetworkYouAndPbx"]=4,r[a[5]="NetworkToParty"]=5,r[a[6]="NetworkFromParty"]=6,r[a[7]="NetworkPartyAndPbx"]=7,r[a[8]="ToPBx"]=8,r[a[9]="FromPbx"]=9,r[a[10]="FromToPbx"]=10,r})(),o.MSEndpointType=(()=>{const a={},r=Object.create(a);return r[a[1]="Local"]=1,r[a[2]="External"]=2,r[a[3]="Stun"]=3,r[a[4]="Tunnel"]=4,r})(),o.RequestCallReport=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.ActiveConnection&&Object.hasOwnProperty.call(e,"ActiveConnection")&&t.uint32(8).int32(e.ActiveConnection),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestCallReport;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>
13==1?u.ActiveConnection=e.int32():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:555,CallReport:this})},a.prototype.typeId=555,a.prototype.typeName="CallReport",a})()),lo=o.RequestMonitor=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.DN&&Object.hasOwnProperty.call(e,"DN")&&t.uint32(10).string(e.DN),null!=e.Days&&Object.hasOwnProperty.call(e,"Days")&&t.uint32(16).int32(e.Days),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestMonitor;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.DN=e.string();break;case 2:u.Days=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:556,Monitor:this})},a.prototype.typeId=556,a.prototype.typeName="Monitor",a})(),xo=o.RequestRights=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.DN&&Object.hasOwnProperty.call(e,"DN")&&t.uint32(10).string(e.DN),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestRights;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.DN=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:559,GetRights:this})},a.prototype.typeId=559,a.prototype.typeName="GetRights",a})(),Qt=o.ResponseRights=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Monitor&&Object.hasOwnProperty.call(e,"Monitor")&&t.uint32(8).bool(e.Monitor),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseRights;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Monitor=e.bool():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:265,Rights:this})},a.prototype.typeId=265,a.prototype.typeName="Rights",a})(),Un=(o.QualityReport=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.CallID&&Object.hasOwnProperty.call(e,"CallID")&&t.uint32(8).int32(e.CallID),null!=e.Summary&&Object.hasOwnProperty.call(e,"Summary")&&t.uint32(16).int32(e.Summary),null!=e.Party1&&Object.hasOwnProperty.call(e,"Party1")&&o.QualityReport.LegReport.encode(e.Party1,t.uint32(26).fork()).ldelim(),null!=e.Party2&&Object.hasOwnProperty.call(e,"Party2")&&o.QualityReport.LegReport.encode(e.Party2,t.uint32(34).fork()).ldelim(),null!=e.Transcoding&&Object.hasOwnProperty.call(e,"Transcoding")&&t.uint32(40).bool(e.Transcoding),null!=e.MOS&&Object.hasOwnProperty.call(e,"MOS")&&t.uint32(53).float(e.MOS),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.QualityReport;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.CallID=e.int32();break;case 2:u.Summary=e.int32();break;case 3:u.Party1=o.QualityReport.LegReport.decode(e,e.uint32());break;case 4:u.Party2=o.QualityReport.LegReport.decode(e,e.uint32());break;case 5:u.Transcoding=e.bool();break;case 6:u.MOS=e.float();break;default:e.skipType(7&E)}}return u},a.LegReport=function(){function r(e){if(e)for(let t=Object.keys(e),k=0;k<t.length;++k)null!=e[t[k]]&&(this[t[k]]=e[t[k]])}return r.encode=function(t,k){return k||(k=_.create()),null!=t.Number&&Object.hasOwnProperty.call(t,"Number")&&k.uint32(10).string(t.Number),null!=t.UserAgent&&Object.hasOwnProperty.call(t,"UserAgent")&&k.uint32(18).string(t.UserAgent),null!=t.Address&&Object.hasOwnProperty.call(t,"Address")&&k.uint32(26).string(t.Address),null!=t.Type&&Object.hasOwnProperty.call(t,"Type")&&k.uint32(32).int32(t.Type),null!=t.Codec&&Object.hasOwnProperty.call(t,"Codec")&&k.uint32(42).string(t.Codec),null!=t.MOSFromPBX&&Object.hasOwnProperty.call(t,"MOSFromPBX")&&k.uint32(53).float(t.MOSFromPBX),null!=t.RTT&&Object.hasOwnProperty.call(t,"RTT")&&k.uint32(61).float(t.RTT),null!=t.RxJitter&&Object.hasOwnProperty.call(t,"RxJitter")&&k.uint32(69).float(t.RxJitter),null!=t.RxLost&&Object.hasOwnProperty.call(t,"RxLost")&&k.uint32(77).float(t.RxLost),null!=t.RxPackets&&Object.hasOwnProperty.call(t,"RxPackets")&&k.uint32(80).int32(t.RxPackets),null!=t.MOSToPBX&&Object.hasOwnProperty.call(t,"MOSToPBX")&&k.uint32(93).float(t.MOSToPBX),null!=t.TxJitter&&Object.hasOwnProperty.call(t,"TxJitter")&&k.uint32(101).float(t.TxJitter),null!=t.TxLost&&Object.hasOwnProperty.call(t,"TxLost")&&k.uint32(109).float(t.TxLost),null!=t.TxPackets&&Object.hasOwnProperty.call(t,"TxPackets")&&k.uint32(112).int32(t.TxPackets),null!=t.TxBursts&&Object.hasOwnProperty.call(t,"TxBursts")&&k.uint32(120).int32(t.TxBursts),null!=t.TxBurstLen&&Object.hasOwnProperty.call(t,"TxBurstLen")&&k.uint32(128).int32(t.TxBurstLen),null!=t.Duration&&Object.hasOwnProperty.call(t,"Duration")&&k.uint32(136).int32(t.Duration),null!=t.TunnelAddress&&Object.hasOwnProperty.call(t,"TunnelAddress")&&k.uint32(146).string(t.TunnelAddress),k},r.decode=function(t,k,re){t instanceof h||(t=h.create(t));let u=void 0===k?t.len:t.pos+k,E=new o.QualityReport.LegReport;for(;t.pos<u;){let Oi=t.uint32();if(Oi===re)break;switch(Oi>>>3){case 1:E.Number=t.string();break;case 2:E.UserAgent=t.string();break;case 3:E.Address=t.string();break;case 4:E.Type=t.int32();break;case 5:E.Codec=t.string();break;case 6:E.MOSFromPBX=t.float();break;case 7:E.RTT=t.float();break;case 8:E.RxJitter=t.float();break;case 9:E.RxLost=t.float();break;case 10:E.RxPackets=t.int32();break;case 11:E.MOSToPBX=t.float();break;case 12:E.TxJitter=t.float();break;case 13:E.TxLost=t.float();break;case 14:E.TxPackets=t.int32();break;case 15:E.TxBursts=t.int32();break;case 16:E.TxBurstLen=t.int32();break;case 17:E.Duration=t.int32();break;case 18:E.TunnelAddress=t.string();break;default:t.skipType(7&Oi)}}return E},r}(),a})(),o.CallHistoryRecord=(()=>{function a(r){if(this.Quality=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Quality=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.DnOwner&&Object.hasOwnProperty.call(e,"DnOwner")&&t.uint32(10).string(e.DnOwner),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.connections&&Object.hasOwnProperty.call(e,"connections")&&o.CallHistoryConnections.encode(e.connections,t.uint32(26).fork()).ldelim(),null!=e.Quality&&e.Quality.length)for(let k=0;k<e.Quality.length;++k)o.QualityReport.encode(e.Quality[k],t.uint32(34).fork()).ldelim();return null!=e.HasQualityRecords&&Object.hasOwnProperty.call(e,"HasQualityRecords")&&t.uint32(40).bool(e.HasQualityRecords),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.CallHistoryRecord;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.DnOwner=e.string();break;case 2:u.Id=e.int32();break;case 3:u.connections=o.CallHistoryConnections.decode(e,e.uint32());break;case 4:u.Quality&&u.Quality.length||(u.Quality=[]),u.Quality.push(o.QualityReport.decode(e,e.uint32()));break;case 5:u.HasQualityRecords=e.bool();break;default:e.skipType(7&E)}}return u},a})(),o.RequestCallQualityReport=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.CallId&&Object.hasOwnProperty.call(e,"CallId")&&t.uint32(8).int32(e.CallId),null!=e.OwnerCdrId&&Object.hasOwnProperty.call(e,"OwnerCdrId")&&t.uint32(18).string(e.OwnerCdrId),null!=e.PartyCdrId&&Object.hasOwnProperty.call(e,"PartyCdrId")&&t.uint32(26).string(e.PartyCdrId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestCallQualityReport;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.CallId=e.int32();break;case 2:u.OwnerCdrId=e.string();break;case 3:u.PartyCdrId=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:558,GetCallQualityReport:this})},a.prototype.typeId=558,a.prototype.typeName="GetCallQualityReport",a})()),Zn=o.ResponseCallQualityReport=(()=>{function a(r){if(this.Quality=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Quality=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Quality&&e.Quality.length)for(let k=0;k<e.Quality.length;++k)o.QualityReport.encode(e.Quality[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseCallQualityReport;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Quality&&u.Quality.length||(u.Quality=[]),u.Quality.push(o.QualityReport.decode(e,e.uint32()))):e.ski
1pType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:262,CallQualityReport:this})},a.prototype.typeId=262,a.prototype.typeName="CallQualityReport",a})(),tn=o.RequestCallHistory=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.CallType&&Object.hasOwnProperty.call(e,"CallType")&&t.uint32(8).int32(e.CallType),null!=e.DnOwner&&Object.hasOwnProperty.call(e,"DnOwner")&&t.uint32(18).string(e.DnOwner),null!=e.RecordLimit&&Object.hasOwnProperty.call(e,"RecordLimit")&&t.uint32(24).int32(e.RecordLimit),null!=e.RecordOffset&&Object.hasOwnProperty.call(e,"RecordOffset")&&t.uint32(32).int32(e.RecordOffset),null!=e.Search&&Object.hasOwnProperty.call(e,"Search")&&t.uint32(42).string(e.Search),null!=e.From&&Object.hasOwnProperty.call(e,"From")&&o.DateTime.encode(e.From,t.uint32(50).fork()).ldelim(),null!=e.To&&Object.hasOwnProperty.call(e,"To")&&o.DateTime.encode(e.To,t.uint32(58).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestCallHistory;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.CallType=e.int32();break;case 2:u.DnOwner=e.string();break;case 3:u.RecordLimit=e.int32();break;case 4:u.RecordOffset=e.int32();break;case 5:u.Search=e.string();break;case 6:u.From=o.DateTime.decode(e,e.uint32());break;case 7:u.To=o.DateTime.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:106,GetCallHistory:this})},a.prototype.typeId=106,a.prototype.typeName="GetCallHistory",a})(),Zi=o.RequestCallHistoryCount=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.CallType&&Object.hasOwnProperty.call(e,"CallType")&&t.uint32(8).int32(e.CallType),null!=e.DnOwner&&Object.hasOwnProperty.call(e,"DnOwner")&&t.uint32(18).string(e.DnOwner),null!=e.Search&&Object.hasOwnProperty.call(e,"Search")&&t.uint32(26).string(e.Search),null!=e.From&&Object.hasOwnProperty.call(e,"From")&&o.DateTime.encode(e.From,t.uint32(34).fork()).ldelim(),null!=e.To&&Object.hasOwnProperty.call(e,"To")&&o.DateTime.encode(e.To,t.uint32(42).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestCallHistoryCount;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.CallType=e.int32();break;case 2:u.DnOwner=e.string();break;case 3:u.Search=e.string();break;case 4:u.From=o.DateTime.decode(e,e.uint32());break;case 5:u.To=o.DateTime.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:107,GetCallHistoryCount:this})},a.prototype.typeId=107,a.prototype.typeName="GetCallHistoryCount",a})(),fo=o.ResponseCallHistory=(()=>{function a(r){if(this.Records=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Records=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Records&&e.Records.length)for(let k=0;k<e.Records.length;++k)o.CallHistoryRecord.encode(e.Records[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseCallHistory;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Records&&u.Records.length||(u.Records=[]),u.Records.push(o.CallHistoryRecord.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:204,CallHistory:this})},a.prototype.typeId=204,a.prototype.typeName="CallHistory",a})(),zi=o.ResponseCallHistoryCount=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Count&&Object.hasOwnProperty.call(e,"Count")&&t.uint32(8).int32(e.Count),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseCallHistoryCount;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>
13==1?u.Count=e.int32():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:205,CallHistoryCount:this})},a.prototype.typeId=205,a.prototype.typeName="CallHistoryCount",a})(),go=o.RequestDeleteCallHistory=(()=>{function a(r){if(this.IdList=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.IdList=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Type&&Object.hasOwnProperty.call(e,"Type")&&t.uint32(8).int32(e.Type),null!=e.IdList&&e.IdList.length)for(let k=0;k<e.IdList.length;++k)t.uint32(16).int32(e.IdList[k]);return null!=e.StartFrom&&Object.hasOwnProperty.call(e,"StartFrom")&&o.DateTime.encode(e.StartFrom,t.uint32(26).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestDeleteCallHistory;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Type=e.int32();break;case 2:if(u.IdList&&u.IdList.length||(u.IdList=[]),2==(7&E)){let Oi=e.uint32()+e.pos;for(;e.pos<Oi;)u.IdList.push(e.int32())}else u.IdList.push(e.int32());break;case 3:u.StartFrom=o.DateTime.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:148,DeleteCallHistory:this})},a.prototype.typeId=148,a.prototype.typeName="DeleteCallHistory",a})(),Io=(o.ExtensionInfo=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Type&&Object.hasOwnProperty.call(e,"Type")&&t.uint32(24).int32(e.Type),null!=e.Number&&Object.hasOwnProperty.call(e,"Number")&&t.uint32(34).string(e.Number),null!=e.FirstName&&Object.hasOwnProperty.call(e,"FirstName")&&t.uint32(42).string(e.FirstName),null!=e.LastName&&Object.hasOwnProperty.call(e,"LastName")&&t.uint32(50).string(e.LastName),null!=e.MobileNumber&&Object.hasOwnProperty.call(e,"MobileNumber")&&t.uint32(58).string(e.MobileNumber),null!=e.EmailAddress&&Object.hasOwnProperty.call(e,"EmailAddress")&&t.uint32(66).string(e.EmailAddress),null!=e.Other&&Object.hasOwnProperty.call(e,"Other")&&t.uint32(74).string(e.Other),null!=e.ContactImage&&Object.hasOwnProperty.call(e,"ContactImage")&&t.uint32(82).string(e.ContactImage),null!=e.HideInPhoneBook&&Object.hasOwnProperty.call(e,"HideInPhoneBook")&&t.uint32(88).bool(e.HideInPhoneBook),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ExtensionInfo;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Type=e.int32();break;case 4:u.Number=e.string();break;case 5:u.FirstName=e.string();break;case 6:u.LastName=e.string();break;case 7:u.MobileNumber=e.string();break;case 8:u.EmailAddress=e.string();break;case 9:u.Other=e.string();break;case 10:u.ContactImage=e.string();break;case 11:u.HideInPhoneBook=e.bool();break;default:e.skipType(7&E)}}return u},a})(),o.RequestGetExtensions=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Type&&Object.hasOwnProperty.call(e,"Type")&&t.uint32(8).int32(e.Type),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetExtensions;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Type=e.int32():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:109,GetExtensions:this})},a.prototype.typeId=109,a.prototype.typeName="GetExtensions",a})()),Do=o.ResponseGetExtensions=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.ExtensionInfo.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseGetExtensions;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.ExtensionInfo.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:206,Extensions:this})},a.prototype.typeId=206,a.prototype.typeName="Extensions",a})(),Ie=o.ResponseAcknowledge=(()=>{function a(r){if(this.Parameters=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Parameters=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Success&&Object.hasOwnProperty.call(e,"Success")&&t.uint32(8).bool(e.Success),null!=e.ErrorCode&&Object.hasOwnProperty.call(e,"ErrorCode")&&t.uint32(16).int32(e.ErrorCode),null!=e.Message&&Object.hasOwnProperty.call(e,"Message")&&t.uint32(26).string(e.Message),null!=e.ExceptionType&&Object.hasOwnProperty.call(e,"ExceptionType")&&t.uint32(34).string(e.ExceptionType),null!=e.ExceptionMessage&&Object.hasOwnProperty.call(e,"ExceptionMessage")&&t.uint32(42).string(e.ExceptionMessage),null!=e.ErrorType&&Object.hasOwnProperty.call(e,"ErrorType")&&t.uint32(48).int32(e.ErrorType),null!=e.Parameters&&e.Parameters.length)for(let k=0;k<e.Parameters.length;++k)t.uint32(58).string(e.Parameters[k]);return null!=e.IsCustomMessage&&Object.hasOwnProperty.call(e,"IsCustomMessage")&&t.uint32(64).bool(e.IsCustomMessage),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseAcknowledge;
1for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Success=e.bool();break;case 2:u.ErrorCode=e.int32();break;case 3:u.Message=e.string();break;case 4:u.ExceptionType=e.string();break;case 5:u.ExceptionMessage=e.string();break;case 6:u.ErrorType=e.int32();break;case 7:u.Parameters&&u.Parameters.length||(u.Parameters=[]),u.Parameters.push(e.string());break;case 8:u.IsCustomMessage=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:207,Acknowledge:this})},a.prototype.typeId=207,a.prototype.typeName="Acknowledge",a})(),Ot=o.ChatRecipient=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.ExtNumber&&Object.hasOwnProperty.call(e,"ExtNumber")&&t.uint32(10).string(e.ExtNumber),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(18).string(e.Name),null!=e.BridgeNumber&&Object.hasOwnProperty.call(e,"BridgeNumber")&&t.uint32(26).string(e.BridgeNumber),null!=e.Email&&Object.hasOwnProperty.call(e,"Email")&&t.uint32(34).string(e.Email),null!=e.Contact&&Object.hasOwnProperty.call(e,"Contact")&&o.Contact.encode(e.Contact,t.uint32(42).fork()).ldelim(),null!=e.IdRecipient&&Object.hasOwnProperty.call(e,"IdRecipient")&&t.uint32(48).int32(e.IdRecipient),null!=e.RecipientType&&Object.hasOwnProperty.call(e,"RecipientType")&&t.uint32(56).int32(e.RecipientType),null!=e.PhoneNumber&&Object.hasOwnProperty.call(e,"PhoneNumber")&&t.uint32(66).string(e.PhoneNumber),null!=e.IpAddress&&Object.hasOwnProperty.call(e,"IpAddress")&&t.uint32(74).string(e.IpAddress),null!=e.IsModerator&&Object.hasOwnProperty.call(e,"IsModerator")&&t.uint32(80).bool(e.IsModerator),null!=e.MemberGid&&Object.hasOwnProperty.call(e,"MemberGid")&&t.uint32(90).string(e.MemberGid),null!=e.UserData&&Object.hasOwnProperty.call(e,"UserData")&&t.uint32(98).string(e.UserData),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ChatRecipient;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.ExtNumber=e.string();break;case 2:u.Name=e.string();break;case 3:u.BridgeNumber=e.string();break;case 4:u.Email=e.string();break;case 5:u.Contact=o.Contact.decode(e,e.uint32());break;case 6:u.IdRecipient=e.int32();break;case 7:u.RecipientType=e.int32();break;case 8:u.PhoneNumber=e.string();break;case 9:u.IpAddress=e.string();break;case 10:u.IsModerator=e.bool();break;case 11:u.MemberGid=e.string();break;case 12:u.UserData=e.string();break;default:e.skipType(7&E)}}return u},a})(),ze=o.ChatRecipientEx=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Recipient&&Object.hasOwnProperty.call(e,"Recipient")&&o.ChatRecipient.encode(e.Recipient,t.uint32(10).fork()).ldelim(),null!=e.IsAnonymousActive&&Object.hasOwnProperty.call(e,"IsAnonymousActive")&&t.uint32(16).bool(e.IsAnonymousActive),null!=e.IsRemoved&&Object.hasOwnProperty.call(e,"IsRemoved")&&t.uint32(24).bool(e.IsRemoved),null!=e.IsWhisperer&&Object.hasOwnProperty.call(e,"IsWhisperer")&&t.uint32(32).bool(e.IsWhisperer),null!=e.CanAddUsers&&Object.hasOwnProperty.call(e,"CanAddUsers")&&t.uint32(40).bool(e.CanAddUsers),null!=e.CanBeDeleted&&Object.hasOwnProperty.call(e,"CanBeDeleted")&&t.uint32(48).bool(e.CanBeDeleted),null!=e.Staus&&Object.hasOwnProperty.call(e,"Staus")&&t.uint32(56).int32(e.Staus),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ChatRecipientEx;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Recipient=o.ChatRecipient.decode(e,e.uint32());break;case 2:u.IsAnonymousActive=e.bool();break;case 3:u.IsRemoved=e.bool();break;case 4:u.IsWhisperer=e.bool();break;case 5:u.CanAddUsers=e.bool();break;case 6:u.CanBeDeleted=e.bool();break;case 7:u.Staus=e.int32();break;default:e.skipType(7&E)}}return u},a})(),on=(o.ChatRecipientRef=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdRecipient&&Object.hasOwnProperty.call(e,"IdRecipient")&&t.uint32(8).int32(e.IdRecipient),null!=e.Delivery&&Object.hasOwnProperty.call(e,"Delivery")&&t.uint32(16).int32(e.Delivery),null!=e.IsRead&&Object.hasOwnProperty.call(e,"IsRead")&&t.uint32(24).bool(e.IsRead),null!=e.IsSender&&Object.hasOwnProperty.call(e,"IsSender")&&t.uint32(32).bool(e.IsSender),null!=e.MemberGid&&Object.hasOwnProperty.call(e,"MemberGid")&&t.uint32(42).string(e.MemberGid),null!=e.Emoji&&Object.hasOwnProperty.call(e,"Emoji")&&t.uint32(50).string(e.Emoji),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ChatRecipientRef;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdRecipient=e.int32();break;case 2:u.Delivery=e.int32();break;case 3:u.IsRead=e.bool();break;case 4:u.IsSender=e.bool();break;case 5:u.MemberGid=e.string();break;case 6:u.Emoji=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.RequestSetMessageEmoji=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.MsgGid&&Object.hasOwnProperty.call(e,"MsgGid")&&t.uint32(10).string(e.MsgGid),null!=e.MemberGid&&Object.hasOwnProperty.call(e,"MemberGid")&&t.uint32(18).string(e.MemberGid),null!=e.Emoji&&Object.hasOwnProperty.call(e,"Emoji")&&t.uint32(26).string(e.Emoji),null!=e.IdMessage&&Object.hasOwnProperty.call(e,"IdMessage")&&t.uint32(32).int32(e.IdMessage),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSetMessageEmoji;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.MsgGid=e.string();break;case 2:u.MemberGid=e.string();break;case 3:u.Emoji=e.string();break;case 4:u.IdMessage=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:524,SetMessageEmoji:this})},a.prototype.typeId=524,a.prototype.typeName="SetMessageEmoji",a})()),wn=o.RequestEditChatMessage=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdMessage&&Object.hasOwnProperty.call(e,"IdMessage")&&t.uint32(8).int32(e.IdMessage),null!=e.MsgGid&&Object.hasOwnProperty.call(e,"MsgGid")&&t.uint32(18).string(e.MsgGid),null!=e.Message&&Object.hasOwnProperty.call(e,"Message")&&t.uint32(26).string(e.Message),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestEditChatMessage;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdMessage=e.int32();break;case 2:u.MsgGid=e.string();break;case 3:u.Message=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:525,EditChatMessage:this})},a.prototype.typeId=525,a.prototype.typeName="EditChatMessage",a})(),Ge=o.NotificationChatMessageChanged=(()=>{function a(r){if(this.Recipients=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Recipients=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.IdMessage&&Object.hasOwnProperty.call(e,"IdMessage")&&t.uint32(8).int32(e.IdMessage),null!=e.MsgGid&&Object.hasOwnProperty.call(e,"MsgGid")&&t.uint32(18).string(e.MsgGid),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(24).int32(e.IdConversation),null!=e.CnvGid&&Object.hasOwnProperty.call(e,"CnvGid")&&t.uint32(34).string(e.CnvG
1id),null!=e.Recipients&&e.Recipients.length)for(let k=0;k<e.Recipients.length;++k)o.ChatRecipientRef.encode(e.Recipients[k],t.uint32(42).fork()).ldelim();return null!=e.Message&&Object.hasOwnProperty.call(e,"Message")&&t.uint32(50).string(e.Message),null!=e.EditedAt&&Object.hasOwnProperty.call(e,"EditedAt")&&o.DateTime.encode(e.EditedAt,t.uint32(58).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.NotificationChatMessageChanged;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdMessage=e.int32();break;case 2:u.MsgGid=e.string();break;case 3:u.IdConversation=e.int32();break;case 4:u.CnvGid=e.string();break;case 5:u.Recipients&&u.Recipients.length||(u.Recipients=[]),u.Recipients.push(o.ChatRecipientRef.decode(e,e.uint32()));break;case 6:u.Message=e.string();break;case 7:u.EditedAt=o.DateTime.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:258,ChatMessageChanged:this})},a.prototype.typeId=258,a.prototype.typeName="ChatMessageChanged",a})(),un=(o.ForwardInfo=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.OriginalMsgId&&Object.hasOwnProperty.call(e,"OriginalMsgId")&&t.uint32(8).int32(e.OriginalMsgId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ForwardInfo;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.OriginalMsgId=e.int32():e.skipType(7&E)}return u},a})(),o.ChatMessage=(()=>{function a(r){if(this.Recipients=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Recipients=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.SenderNumber&&Object.hasOwnProperty.call(e,"SenderNumber")&&t.uint32(18).string(e.SenderNumber),null!=e.SenderName&&Object.hasOwnProperty.call(e,"SenderName")&&t.uint32(26).string(e.SenderName),null!=e.SenderBridgeNumber&&Object.hasOwnProperty.call(e,"SenderBridgeNumber")&&t.uint32(34).string(e.SenderBridgeNumber),null!=e.Recipient&&Object.hasOwnProperty.call(e,"Recipient")&&o.ChatRecipient.encode(e.Recipient,t.uint32(42).fork()).ldelim(),null!=e.Message&&Object.hasOwnProperty.call(e,"Message")&&t.uint32(50).string(e.Message),null!=e.Time&&Object.hasOwnProperty.call(e,"Time")&&o.DateTime.encode(e.Time,t.uint32(58).fork()).ldelim(),null!=e.IsNew&&Object.hasOwnProperty.call(e,"IsNew")&&t.uint32(64).bool(e.IsNew),null!=e.Party&&Object.hasOwnProperty.call(e,"Party")&&t.uint32(74).string(e.Party),null!=e.PartyNew&&Object.hasOwnProperty.call(e,"PartyNew")&&t.uint32(82).string(e.PartyNew),null!=e.File&&Object.hasOwnProperty.call(e,"File")&&o.ChatFile.encode(e.File,t.uint32(90).fork()).ldelim(),null!=e.IsAnonymousActive&&Object.hasOwnProperty.call(e,"IsAnonymousActive")&&t.uint32(96).bool(e.IsAnonymousActive),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(104).int32(e.IdConversation),null!=e.Recipients&&e.Recipients.length)for(let k=0;k<e.Recipients.length;++k)o.ChatRecipientRef.encode(e.Recipients[k],t.uint32(114).fork()).ldelim();return null!=e.MessageType&&Object.hasOwnProperty.call(e,"MessageType")&&t.uint32(120).int32(e.MessageType),null!=e.MsgGid&&Object.hasOwnProperty.call(e,"MsgGid")&&t.uint32(130).string(e.MsgGid),null!=e.CnvGid&&Object.hasOwnProperty.call(e,"CnvGid")&&t.uint32(138).string(e.CnvGid),null!=e.Param&&Object.hasOwnProperty.call(e,"Param")&&t.uint32(146).string(e.Param),null!=e.ReplyOnIdMessage&&Object.hasOwnProperty.call(e,"ReplyOnIdMessage")&&t.uint32(152).int32(e.ReplyOnIdMessage),null!=e.ReplyOnMsgGid&&Object.hasOwnProperty.call(e,"ReplyOnMsgGid")&&t.uint32(162).string(e.ReplyOnMsgGid),null!=e.EditedAt&&Object.hasOwnProperty.call(e,"EditedAt")&&o.DateTime.encode(e.EditedAt,t.uint32(170).fork()).ldelim(),null!=e.Forwarded&&Object.hasOwnProperty.call(e,"Forwarded")&&o.ForwardInfo.encode(e.Forwarded,t.uint32(178).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ChatMessage;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.SenderNumber=e.string();break;case 3:u.SenderName=e.string();break;case 4:u.SenderBridgeNumber=e.string();break;case 5:u.Recipient=o.ChatRecipient.decode(e,e.uint32());break;case 6:u.Message=e.string();break;case 7:u.Time=o.DateTime.decode(e,e.uint32());break;case 8:u.IsNew=e.bool();break;case 9:u.Party=e.string();break;case 10:u.PartyNew=e.string();break;case 11:u.File=o.ChatFile.decode(e,e.uint32());break;case 12:u.IsAnonymousActive=e.bool();break;case 13:u.IdConversation=e.int32();break;case 14:u.Recipients&&u.Recipients.length||(u.Recipients=[]),u.Recipients.push(o.ChatRecipientRef.decode(e,e.uint32()));break;case 15:u.MessageType=e.int32();break;case 16:u.MsgGid=e.string();break;case 17:u.CnvGid=e.string();break;case 18:u.Param=e.string();break;case 19:u.ReplyOnIdMessage=e.int32();break;case 20:u.ReplyOnMsgGid=e.string();break;case 21:u.EditedAt=o.DateTime.decode(e,e.uint32());break;case 22:u.Forwarded=o.ForwardInfo.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),o.ChatFile=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.FileName&&Object.hasOwnProperty.call(e,"FileName")&&t.uint32(10).string(e.FileName),null!=e.FileLink&&Object.hasOwnProperty.call(e,"FileLink")&&t.uint32(18).string(e.FileLink),null!=e.FileState&&Object.hasOwnProperty.call(e,"FileState")&&t.uint32(24).int32(e.FileState),null!=e.Progress&&Object.hasOwnProperty.call(e,"Progress")&&t.uint32(37).float(e.Progress),null!=e.HasPreview&&Object.hasOwnProperty.call(e,"HasPreview")&&t.uint32(40).bool(e.HasPreview),null!=e.FileSize&&Object.hasOwnProperty.call(e,"FileSize")&&t.uint32(48).uint64(e.FileSize),null!=e.Width&&Object.hasOwnProperty.call(e,"Width")&&t.uint32(56).int32(e.Width),null!=e.Height&&Object.hasOwnProperty.call(e,"Height")&&t.uint32(64).int32(e.Height),null!=e.Type&&Object.hasOwnProperty.call(e,"Type")&&t.uint32(72).int32(e.Type),null!=e.Format&&Object.hasOwnProperty.call(e,"Format")&&t.uint32(82).string(e.Format),null!=e.DurationMs&&Object.hasOwnProperty.call(e,"DurationMs")&&t.uint32(88).int32(e.DurationMs),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ChatFile;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.FileName=e.string();break;case 2:u.FileLink=e.string();break;case 3:u.FileState=e.int32();break;case 4:u.Progress=e.float();break;case 5:u.HasPreview=e.bool();break;case 6:u.FileSize=e.uint64();break;case 7:u.Width=e.int32();break;case 8:u.Height=e.int32();break;case 9:u.Type=e.int32();break;case 10:u.Format=e.string();break;case 11:u.DurationMs=e.int32();break;default:e.skipType(7&E)}}return u},a})()),gt=o.NotificationChatFileProgress=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.Party&&Object.hasOwnProperty.call(e,"Party")&&t.uint32(18).string(e.Party),null!=e.File&&Object.hasOwnProperty.call(e,"File")&&o.ChatFile.encode(e.File,t.uint32(26).fork()).ldelim(),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(32).int32(e.IdConversation),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.NotificationChatFileProgress;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.Party=e.string();break;case 3:u.File=o.ChatFile.decode(e,e.uint32());break;case 4:u.IdConversation=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:232,ChatFileProgress:this})},a.prototype.typeId=232,a.prototype.typeName="ChatFileProgress",a})(),mn=o.RequestSendChatMessage=(()=>{function a(r){if(this.Recipients=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Recipients=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Message&&Object.hasOwnProperty.call(e,"Message")&&t.uint32(10).string(e.Message),null!=e.Recipients&&e.Recipients.length)for(let k=0;k<e.Recipients.length;++k)o.ChatRecipient.encode(e.Recipients[k],t.uint32(18).fork()).ldelim();return null!=e.SipFrom&&Object.hasOwnProperty.call(e,"SipFrom")&&t.uint32(26).string(e.SipFrom),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSendChatMessage;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Message=e.string();break;case 2:u.Recipients&&u.Recipients.length||(u.Recipients=[]),u.Recipients.push(o.ChatRecipient.decode(e,e.uint32()));break;case 3:u.SipFrom=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:110,SendChatMessage:this})},a.prototype.typeId=110,a.prototype.typeName="SendChatMessage",a})(),Rn=o.RequestSendChatMessageToConversation=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(8).int32(e.IdConversation),null!=e.Message&&Object.hasOwnProperty.call(e,"Message")&&t.uint32(18).string(e.Message),null!=e.ReplyOnIdMessage&&Object.hasOwnProperty.call(e,"ReplyOnIdMessage")&&t.uint32(24).int32(e.ReplyOnIdMessage),null!=e.ReplyOnMsgGid&&Object.hasOwnProperty.call(e,"ReplyOnMsgGid")&&t.uint32(34).string(e.ReplyOnMsgGid),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSendChatMessageToConversation;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdConversation=e.int32();break;case 2:u.Message=e.string();break;case 3:u.ReplyOnIdMessage=e.int32();break;case 4:u.ReplyOnMsgGid=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:190,SendMessageToConversation:this})},a.prototype.typeId=190,a.prototype.typeName="SendMessageToConversation",a})(),Wn=o.RequestSendChatFile=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(10).string(e.Name),null!=e.Party&&Object.hasOwnProperty.call(e,"Party")&&t.uint32(18).string(e.Party),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(24).int32(e.IdConversation),null!=e.IdSender&&Object.hasOwnProperty.call(e,"IdSender")&&t.uint32(32).int32(e.IdSender),null!=e.Message&&Object.hasOwnProperty.call(e,"Message")&&t.uint32(42).string(e.Message),null!=e.ReplyOnIdMessage&&Object.hasOwnProperty.call(e,"ReplyOnIdMessage")&&t.uint32(48).int32(e.ReplyOnIdMessage),null!=e.ReplyOnMsgGid&&Object.hasOwnProperty.call(e,"ReplyOnMsgGid")&&t.uint32(58).string(e.ReplyOnMsgGid),null!=e.MsgGid&&Object.hasOwnProperty.call(e,"MsgGid")&&t.uint32(66).string(e.MsgGid),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSendChatFile;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Name=e.string();break;case 2:u.Party=e.string();break;case 3:u.IdConversation=e.int32();break;case 4:u.IdSender=e.int32();break;case 5:u.Message=e.string();break;case 6:u.ReplyOnIdMessage=e.int32();break;case 7:u.ReplyOnMsgGid=e.string();break;case 8:u.MsgGid=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:179,SendChatFile:this})},a.prototype.typeId=179,a.prototype.typeName="SendChatFile",a})(),ii=o.RequestGetMyMessages=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.OnlyNew&&Object.hasOwnProperty.call(e,"OnlyNew")&&t.uint32(8).bool(e.OnlyNew),null!=e.FromNumber&&Object.hasOwnProperty.call(e,"FromNumber")&&t.uint32(18).string(e.FromNumber),null!=e.FromBridgeNumber&&Object.hasOwnProperty.call(e,"FromBridgeNumber")&&t.uint32(26).string(e.FromBridgeNumber),null!=e.StartingFrom&&Object.hasOwnProperty.call(e,"StartingFrom")&&o.DateTime.encode(e.StartingFrom,t.uint32(34).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetMyMessages;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.OnlyNew=e.bool();break;case 2:u.FromNumber=e.string();break;case 3:u.FromBridgeNumber=e.string();break;case 4:u.StartingFrom=o.DateTime.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:111,GetMyMessages:this})},a.prototype.typeId=111,a.prototype.typeName="GetMyMessages",a}
1)(),ki=o.RequestGetMyLastMessages=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Party&&Object.hasOwnProperty.call(e,"Party")&&t.uint32(10).string(e.Party),null!=e.Count&&Object.hasOwnProperty.call(e,"Count")&&t.uint32(16).int32(e.Count),null!=e.StartFromId&&Object.hasOwnProperty.call(e,"StartFromId")&&t.uint32(24).int32(e.StartFromId),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(32).int32(e.IdConversation),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetMyLastMessages;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Party=e.string();break;case 2:u.Count=e.int32();break;case 3:u.StartFromId=e.int32();break;case 4:u.IdConversation=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:162,GetMyLastMessages:this})},a.prototype.typeId=162,a.prototype.typeName="GetMyLastMessages",a})(),Mi=o.RequestGetMessages=(()=>{function a(r){if(this.Ids=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Ids=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Ids&&e.Ids.length)for(let k=0;k<e.Ids.length;++k)t.uint32(8).int32(e.Ids[k]);return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetMessages;for(;e.pos<re;){let E=e.uint32();if(E===k)break;if(E>>>3==1)if(u.Ids&&u.Ids.length||(u.Ids=[]),2==(7&E)){let Oi=e.uint32()+e.pos;for(;e.pos<Oi;)u.Ids.push(e.int32())}else u.Ids.push(e.int32());else e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:526,GetMessagesByIds:this})},a.prototype.typeId=526,a.prototype.typeName="GetMessagesByIds",a})(),vi=o.RequestGetQMLastMessages=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(8).int32(e.IdConversation),null!=e.Count&&Object.hasOwnProperty.call(e,"Count")&&t.uint32(16).int32(e.Count),null!=e.StartFromId&&Object.hasOwnProperty.call(e,"StartFromId")&&t.uint32(24).int32(e.StartFromId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetQMLastMessages;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdConversation=e.int32();break;case 2:u.Count=e.int32();break;case 3:u.StartFromId=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:502,GetQmLastMessages:this})},a.prototype.typeId=502,a.prototype.typeName="GetQmLastMessages",a})(),Si=o.ResponseMyMessages=(()=>{function a(r){if(this.Messages=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Messages=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Messages&&e.Messages.length)for(let k=0;k<e.Messages.length;++k)o.ChatMessage.encode(e.Messages[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseMyMessages;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Messages&&u.Messages.length||(u.Messages=[]),u.Messages.push(o.ChatMessage.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:209,MyChatMessages:this})},a.prototype.typeId=209,a.prototype.typeName="MyChatMessages",a})(),$i=o.RequestSetChatReceived=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)t.uint32(8).int32(e.Items[k]);return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSetChatReceived;for(;e.pos<re;){let E=e.uint32();if(E===k)break;if(E>>>3==1)if(u.Items&&u.Items.length||(u.Items=[]),2==(7&E)){let Oi=e.uint32()+e.pos;for(;e.pos<Oi;)u.Items.push(e.int32())}else u.Items.push(e.int32());else e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:112,MessagesReceived:this})},a.prototype.typeId=112,a.prototype.typeName="MessagesReceived",a})(),ro=o.RequestMyChatParties=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.From&&Object.hasOwnProperty.call(e,"From")&&t.uint32(8).int32(e.From),null!=e.Count&&Object.hasOwnProperty.call(e,"Count")&&t.uint32(16).int32(e.Count),null!=e.FillParticipants&&Object.hasOwnProperty.call(e,"FillParticipants")&&t.uint32(24).bool(e.FillParticipants),null!=e.IsArchived&&Object.hasOwnProperty.call(e,"IsArchived")&&t.uint32(32).bool(e.IsArchived),null!=e.SearchString&&Object.hasOwnProperty.call(e,"SearchString")&&t.uint32(42).string(e.SearchString),null!=e.IsActive&&Object.hasOwnProperty.call(e,"IsActive")&&t.uint32(48).bool(e.IsActive),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestMyChatParties;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.From=e.int32();break;case 2:u.Count=e.int32();break;case 3:u.FillParticipants=e.bool();break;case 4:u.IsArchived=e.bool();break;case 5:u.SearchString=e.string();break;case 6:u.IsActive=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:138,GetMyChatParties:this})},a.prototype.typeId=138,a.prototype.typeName="GetMyChatParties",a})(),no=o.ResponseMyChatParties=(()=>{function a(r){if(this.Items=[],this.LastMessages=[],this.Participants=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.prototype.LastMessages=C.emptyArray,a.prototype.Participants=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)t.uint32(10).string(e.Items[k]);if(null!=e.LastMessages&&e.LastMessages.length)for(let k=0;k<e.LastMessages.length;++k)o.ChatMessage.encode(e.LastMessages[k],t.uint32(18).fork()).ldelim();if(null!=e.Participants&&e.Participants.length)for(let k=0;k<e.Participants.length;++k)o.ChatPartyInfo.encode(e.Participants[k],t.uint32(26).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseMyChatParties;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(e.string());break;case 2:u.LastMessages&&u.LastMessages.length||(u.LastMessages=[]),u.LastMessages.push(o.ChatMessage.decode(e,e.uint32()));break;case 3:u.Participants&&u.Participants.length||(u.Participants=[]),u.Participants.push(o.ChatPartyInfo.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:220,MyChatParties:this})},a.prototype.typeId=220,a.prototype.typeName="MyChatParties",a})(),Vo=(o.ChatPartyInfo=(()=>{function a(r){if(this.Recipients=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Recipients=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Party&&Object.hasOwnProperty.call(e,"Party")&&t.uint32(10).string(e.Party),null!=e.Recipients&&e.Recipients.length)for(let k=0;k<e.Recipients.length;++k)o.ChatRecipientEx.encode(e.Recipients[k],t.uint32(18).fork()).ldelim();return null!=e.IsExternal&&Object.hasOwnProperty.call(e,"IsExternal")&&t.uint32(24).bool(e.IsExternal),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(32).int32(e.IdConversation),null!=e.IsArchived&&Object.hasOwnProperty.call(e,"IsArchived")&&t.uint32(40).bool(e.IsArchived),null!=e.PrivateName&&Object.hasOwnProperty.call(e,"PrivateName")&&t.uint32(50).string(e.PrivateName),null!=e.QueueNo&&Object.hasOwnProperty.call(e,"QueueNo")&&t.uint32(58).string(e.QueueNo),null!=e.QueueName&&Object.hasOwnProperty.call(e,"QueueName")&&t.uint32(66).string(e.QueueName),null!=e.PublicName&&Object.hasOwnProperty.call(e,"PublicName")&&t.uint32(74).string(e.PublicName),null!=e.TakenBy&&Object.hasOwnProperty.call(e,"TakenBy")&&o.ChatRecipient.encode(e.TakenBy,t.uint32(82).fork()).ldelim(),null!=e.NumberOfMessages&&Object.hasOwnProperty.call(e,"NumberOfMessages")&&t.uint32(88).int32(e.NumberOfMessages),null!=e.CloseReason&&Object.hasOwnProperty.call(e,"CloseReason")&&t.uint32(96).int32(e.CloseReason),null!=e.CnvGid&&Object.hasOwnProperty.call(e,"CnvGid")&&t.uint32(106).string(e.CnvG
1id),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ChatPartyInfo;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Party=e.string();break;case 2:u.Recipients&&u.Recipients.length||(u.Recipients=[]),u.Recipients.push(o.ChatRecipientEx.decode(e,e.uint32()));break;case 3:u.IsExternal=e.bool();break;case 4:u.IdConversation=e.int32();break;case 5:u.IsArchived=e.bool();break;case 6:u.PrivateName=e.string();break;case 7:u.QueueNo=e.string();break;case 8:u.QueueName=e.string();break;case 9:u.PublicName=e.string();break;case 10:u.TakenBy=o.ChatRecipient.decode(e,e.uint32());break;case 11:u.NumberOfMessages=e.int32();break;case 12:u.CloseReason=e.int32();break;case 13:u.CnvGid=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.RequestCreateConversation=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Party&&Object.hasOwnProperty.call(e,"Party")&&t.uint32(10).string(e.Party),null!=e.PublicName&&Object.hasOwnProperty.call(e,"PublicName")&&t.uint32(18).string(e.PublicName),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(24).int32(e.IdConversation),null!=e.PrivateName&&Object.hasOwnProperty.call(e,"PrivateName")&&t.uint32(34).string(e.PrivateName),null!=e.UserData&&Object.hasOwnProperty.call(e,"UserData")&&t.uint32(42).string(e.UserData),null!=e.CnvGid&&Object.hasOwnProperty.call(e,"CnvGid")&&t.uint32(50).string(e.CnvGid),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestCreateConversation;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Party=e.string();break;case 2:u.PublicName=e.string();break;case 3:u.IdConversation=e.int32();break;case 4:u.PrivateName=e.string();break;case 5:u.UserData=e.string();break;case 6:u.CnvGid=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:189,CreateConversation:this})},a.prototype.typeId=189,a.prototype.typeName="CreateConversation",a})()),yo=o.ResponseConversationInfo=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Conversation&&Object.hasOwnProperty.call(e,"Conversation")&&o.ChatPartyInfo.encode(e.Conversation,t.uint32(10).fork()).ldelim(),null!=e.IsNew&&Object.hasOwnProperty.call(e,"IsNew")&&t.uint32(16).bool(e.IsNew),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseConversationInfo;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Conversation=o.ChatPartyInfo.decode(e,e.uint32());break;case 2:u.IsNew=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:236,ConversationInfo:this})},a.prototype.typeId=236,a.prototype.typeName="ConversationInfo",a})(),hs=o.RequestDeleteChat=(()=>{function a(r){if(this.Items=[],this.ConversationIds=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.prototype.ConversationIds=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)t.uint32(10).string(e.Items[k]);if(null!=e.ConversationIds&&e.ConversationIds.length)for(let k=0;k<e.ConversationIds.length;++k)t.uint32(16).int32(e.ConversationIds[k]);return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestDeleteChat;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(e.string());break;case 2:if(u.ConversationIds&&u.ConversationIds.length||(u.ConversationIds=[]),2==(7&E)){let Oi=e.uint32()+e.pos;for(;e.pos<Oi;)u.ConversationIds.push(e.int32())}else u.ConversationIds.push(e.int32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:139,DeleteChat:this})},a.prototype.typeId=139,a.prototype.typeName="DeleteChat",a}
1)(),No=o.RequestUpdateConversation=(()=>{function a(r){if(this.ParticipantUpdates=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.ParticipantUpdates=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(8).int32(e.IdConversation),null!=e.IsArchived&&Object.hasOwnProperty.call(e,"IsArchived")&&t.uint32(16).bool(e.IsArchived),null!=e.PrivateName&&Object.hasOwnProperty.call(e,"PrivateName")&&t.uint32(26).string(e.PrivateName),null!=e.PublicName&&Object.hasOwnProperty.call(e,"PublicName")&&t.uint32(34).string(e.PublicName),null!=e.ParticipantUpdates&&e.ParticipantUpdates.length)for(let k=0;k<e.ParticipantUpdates.length;++k)o.ChatRecipientEx.encode(e.ParticipantUpdates[k],t.uint32(42).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUpdateConversation;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdConversation=e.int32();break;case 2:u.IsArchived=e.bool();break;case 3:u.PrivateName=e.string();break;case 4:u.PublicName=e.string();break;case 5:u.ParticipantUpdates&&u.ParticipantUpdates.length||(u.ParticipantUpdates=[]),u.ParticipantUpdates.push(o.ChatRecipientEx.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:186,UpdateConversation:this})},a.prototype.typeId=186,a.prototype.typeName="UpdateConversation",a})(),uo=o.RequestGetConversations=(()=>{function a(r){if(this.CnvGids=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.CnvGids=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.CnvGids&&e.CnvGids.length)for(let k=0;k<e.CnvGids.length;++k)t.uint32(10).string(e.CnvGids[k]);return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetConversations;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.CnvGids&&u.CnvGids.length||(u.CnvGids=[]),u.CnvGids.push(e.string())):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:510,GetConversations:this})},a.prototype.typeId=510,a.prototype.typeName="GetConversations",a})(),Xo=o.ResponseGetConversations=(()=>{function a(r){if(this.Conversations=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Conversations=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Conversations&&e.Conversations.length)for(let k=0;k<e.Conversations.length;++k)o.ChatPartyInfo.encode(e.Conversations[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseGetConversations;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Conversations&&u.Conversations.length||(u.Conversations=[]),u.Conversations.push(o.ChatPartyInfo.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:249,ResponseConversations:this})},a.prototype.typeId=249,a.prototype.typeName="ResponseConversations",a})(),Mo=o.RequestTransferChatTo=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(8).int32(e.IdConversation),null!=e.Participant&&Object.hasOwnProperty.call(e,"Participant")&&o.ChatRecipient.encode(e.Participant,t.uint32(18).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestTransferChatTo;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdConversation=e.int32();break;case 2:u.Participant=o.ChatRecipient.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:187,TransferChatTo:this})},a.prototype.typeId=187,a.prototype.typeName="TransferChatTo",a})(),is=o.NotificationChatTransferred=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.PartyInfo&&Object.hasOwnProperty.call(e,"PartyInfo")&&o.ChatPartyInfo.encode(e.PartyInfo,t.uint32(10).fork()).ldelim(),null!=e.TransferredBy&&Object.hasOwnProperty.call(e,"TransferredBy")&&o.ChatRecipient.encode(e.TransferredBy,t.uint32(18).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.NotificationChatTransferred;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.PartyInfo=o.ChatPartyInfo.decode(e,e.uint32());break;case 2:u.TransferredBy=o.ChatRecipient.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:237,ChatTransferred:this})},a.prototype.typeId=237,a.prototype.typeName="ChatTransferred",a})(),ls=o.RequestAgentTakesOverChat=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(8).int32(e.IdConversation),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestAgentTakesOverChat;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>
13==1?u.IdConversation=e.int32():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:188,AgentTakesOverChat:this})},a.prototype.typeId=188,a.prototype.typeName="AgentTakesOverChat",a})(),Yo=o.NotificationConversationRemoved=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(8).int32(e.IdConversation),null!=e.TakenBy&&Object.hasOwnProperty.call(e,"TakenBy")&&o.ChatRecipient.encode(e.TakenBy,t.uint32(18).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.NotificationConversationRemoved;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdConversation=e.int32();break;case 2:u.TakenBy=o.ChatRecipient.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:235,ConversationRemoved:this})},a.prototype.typeId=235,a.prototype.typeName="ConversationRemoved",a})(),Jo=o.RequestCloseConversation=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(8).int32(e.IdConversation),null!=e.IsHandled&&Object.hasOwnProperty.call(e,"IsHandled")&&t.uint32(16).bool(e.IsHandled),null!=e.CloseReason&&Object.hasOwnProperty.call(e,"CloseReason")&&t.uint32(24).int32(e.CloseReason),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestCloseConversation;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdConversation=e.int32();break;case 2:u.IsHandled=e.bool();break;case 3:u.CloseReason=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:198,CloseConversation:this})},a.prototype.typeId=198,a.prototype.typeName="CloseConversation",a})(),ho=o.AnonymousSessionClosed=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(8).int32(e.IdConversation),null!=e.CloseReason&&Object.hasOwnProperty.call(e,"CloseReason")&&t.uint32(16).int32(e.CloseReason),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.AnonymousSessionClosed;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdConversation=e.int32();break;case 2:u.CloseReason=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:239,AnonymousClosed:this})},a.prototype.typeId=239,a.prototype.typeName="AnonymousClosed",a})(),es=o.NotificationChatMessageStatus=(()=>{function a(r){if(this.IdMessage=[],this.MsgGid=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.IdMessage=C.emptyArray,a.prototype.MsgGid=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.IdMessage&&e.IdMessage.length)for(let k=0;k<e.IdMessage.length;++k)t.uint32(8).int32(e.IdMessage[k]);if(null!=e.RecipientStatus&&Object.hasOwnProperty.call(e,"RecipientStatus")&&o.ChatRecipientRef.encode(e.RecipientStatus,t.uint32(18).fork()).ldelim(),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(24).int32(e.IdConversation),null!=e.MsgGid&&e.MsgGid.length)for(let k=0;k<e.MsgGid.length;++k)t.uint32(34).string(e.MsgGid[k]);return null!=e.CnvGid&&Object.hasOwnProperty.call(e,"CnvGid")&&t.uint32(42).string(e.CnvGid),null!=e.SenderGid&&Object.hasOwnProperty.call(e,"SenderGid")&&t.uint32(50).string(e.SenderGid),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.NotificationChatMessageStatus;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:if(u.IdMessage&&u.IdMessage.length||(u.IdMessage=[]),2==(7&E)){let Oi=e.uint32()+e.pos;for(;e.pos<Oi;)u.IdMessage.push(e.int32())}else u.IdMessage.push(e.int32());break;case 2:u.RecipientStatus=o.ChatRecipientRef.decode(e,e.uint32());break;case 3:u.IdConversation=e.int32();break;case 4:u.MsgGid&&u.MsgGid.length||(u.MsgGid=[]),u.MsgGid.push(e.string());break;case 5:u.CnvGid=e.string();break;case 6:u.SenderGid=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:241,DeliveryStatus:this})},a.prototype.typeId=241,a.prototype.typeName="DeliveryStatus",a})(),bo=o.RequestWhisperMessage=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(8).int32(e.IdConversation),null!=e.Message&&Object.hasOwnProperty.call(e,"Message")&&t.uint32(18).string(e.Message),null!=e.FileName&&Object.hasOwnProperty.call(e,"FileName")&&t.uint32(26).string(e.FileName),null!=e.ReplyOnIdMessage&&Object.hasOwnProperty.call(e,"ReplyOnIdMessage")&&t.uint32(32).int32(e.ReplyOnIdMessage),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestWhisperMessage;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdConversation=e.int32();break;case 2:u.Message=e.string();break;case 3:u.FileName=e.string();break;case 4:u.ReplyOnIdMessage=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:197,WhisperMessage:this})},a.prototype.typeId=197,a.prototype.typeName="WhisperMessage",a})(),Po=o.RequestSetVoiceMailHeard=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.IsHeard&&Object.hasOwnProperty.call(e,"IsHeard")&&t.uint32(16).bool(e.IsHeard),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSetVoiceMailHeard;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.IsHeard=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:114,SetVMRead:this})},a.prototype.typeId=114,a.prototype.typeName="SetVMRead",a})(),zo=o.RequestDeleteVoiceMail=(()=>{function a(r){if(this.Ids=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Ids=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.Ids&&e.Ids.length)for(let k=0;k<e.Ids.length;++k)t.uint32(16).int32(e.Ids[k]);return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestDeleteVoiceMail;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:if(u.Ids&&u.Ids.length||(u.Ids=[]),2==(7&E)){let Oi=e.uint32()+e.pos;for(;e.pos<Oi;)u.Ids.push(e.int32())}else u.Ids.push(e.int32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:126,DeleteVM:this})},a.prototype.typeId=126,a.prototype.typeName="DeleteVM",a})(),Xi=o.RequestPlayVoiceMail=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestPlayVoiceMail;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>
13==1?u.Id=e.int32():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:127,PlayVM:this})},a.prototype.typeId=127,a.prototype.typeName="PlayVM",a})(),ms=o.RejectAction=(()=>{const a={},r=Object.create(a);return r[a[0]="RA_Terminate"]=0,r[a[1]="RA_Busy"]=1,r[a[2]="RA_NoAnswer"]=2,r})(),Ao=o.RequestDropCall=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.LocalConnectionId&&Object.hasOwnProperty.call(e,"LocalConnectionId")&&t.uint32(8).int32(e.LocalConnectionId),null!=e.IsLocal&&Object.hasOwnProperty.call(e,"IsLocal")&&t.uint32(16).bool(e.IsLocal),null!=e.ActionIfRinging&&Object.hasOwnProperty.call(e,"ActionIfRinging")&&t.uint32(24).int32(e.ActionIfRinging),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestDropCall;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.LocalConnectionId=e.int32();break;case 2:u.IsLocal=e.bool();break;case 3:u.ActionIfRinging=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:115,DropCall:this})},a.prototype.typeId=115,a.prototype.typeName="DropCall",a})(),Go=o.ResponseCallControl=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Success&&Object.hasOwnProperty.call(e,"Success")&&t.uint32(8).bool(e.Success),null!=e.Message&&Object.hasOwnProperty.call(e,"Message")&&t.uint32(18).string(e.Message),null!=e.LocalConnectionId&&Object.hasOwnProperty.call(e,"LocalConnectionId")&&t.uint32(24).int32(e.LocalConnectionId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseCallControl;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Success=e.bool();break;case 2:u.Message=e.string();break;case 3:u.LocalConnectionId=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:261,CallControlResponse:this})},a.prototype.typeId=261,a.prototype.typeName="CallControlResponse",a})(),zs=o.BargeInMode=(()=>{const a={},r=Object.create(a);return r[a[0]="BargeIn"]=0,r[a[1]="Listen"]=1,r[a[2]="Whisper"]=2,r})(),os=o.RequestBargeInCall=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.LocalConnectionId&&Object.hasOwnProperty.call(e,"LocalConnectionId")&&t.uint32(8).int32(e.LocalConnectionId),null!=e.mode&&Object.hasOwnProperty.call(e,"mode")&&t.uint32(16).int32(e.mode),null!=e.DeviceContact&&Object.hasOwnProperty.call(e,"DeviceContact")&&t.uint32(26).string(e.DeviceContact),null!=e.EnableCallControl&&Object.hasOwnProperty.call(e,"EnableCallControl")&&t.uint32(32).bool(e.EnableCallControl),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestBargeInCall;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.LocalConnectionId=e.int32();break;case 2:u.mode=e.int32();break;case 3:u.DeviceContact=e.string();break;case 4:u.EnableCallControl=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:123,BargeInCall:this})},a.prototype.typeId=123,a.prototype.typeName="BargeInCall",a})(),ts=o.RequestDivertCall=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.LocalConnectionId&&Object.hasOwnProperty.call(e,"LocalConnectionId")&&t.uint32(8).int32(e.LocalConnectionId),null!=e.IsLocal&&Object.hasOwnProperty.call(e,"IsLocal")&&t.uint32(16).bool(e.IsLocal),null!=e.Destination&&Object.hasOwnProperty.call(e,"Destination")&&t.uint32(26).string(e.Destination),null!=e.vmail&&Object.hasOwnProperty.call(e,"vmail")&&t.uint32(32).bool(e.vmail),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestDivertCall;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.LocalConnectionId=e.int32();break;case 2:u.IsLocal=e.bool();break;case 3:u.Destination=e.string();break;case 4:u.vmail=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:116,DivertCall:this})},a.prototype.typeId=116,a.prototype.typeName="DivertCall",a})(),vo=o.RequestPickupCall=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.LocalConnectionId&&Object.hasOwnProperty.call(e,"LocalConnectionId")&&t.uint32(8).int32(e.LocalConnectionId),null!=e.IsLocal&&Object.hasOwnProperty.call(e,"IsLocal")&&t.uint32(16).bool(e.IsLocal),null!=e.DeviceID&&Object.hasOwnProperty.call(e,"DeviceID")&&t.uint32(26).string(e.DeviceID),null!=e.EnableCallControl&&Object.hasOwnProperty.call(e,"EnableCallControl")&&t.uint32(32).bool(e.EnableCallControl),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestPickupCall;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.LocalConnectionId=e.int32();break;case 2:u.IsLocal=e.bool();break;case 3:u.DeviceID=e.string();break;case 4:u.EnableCallControl=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:117,PickupCall:this})},a.prototype.typeId=117,a.prototype.typeName="PickupCall",a})(),Z=o.RequestTransferCall=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.LocalConnectionId&&Object.hasOwnProperty.call(e,"LocalConnectionId")&&t.uint32(8).int32(e.LocalConnectionId),null!=e.IsLocal&&Object.hasOwnProperty.call(e,"IsLocal")&&t.uint32(16).bool(e.IsLocal),null!=e.Destination&&Object.hasOwnProperty.call(e,"Destination")&&t.uint32(26).string(e.Destination),null!=e.CallScreening&&Object.hasOwnProperty.call(e,"CallScreening")&&t.uint32(34).string(e.CallScreening),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestTransferCall;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.LocalConnectionId=e.int32();break;case 2:u.IsLocal=e.bool();break;case 3:u.Destination=e.string();break;case 4:u.CallScreening=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:118,TransferCall:this})},a.prototype.typeId=118,a.prototype.typeName="TransferCall",a})(),nt=o.RequestMakeCall=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Destination&&Object.hasOwnProperty.call(e,"Destination")&&t.uint32(10).string(e.Destination),null!=e.UseIntercomToSource&&Object.hasOwnProperty.call(e,"UseIntercomToSource")&&t.uint32(16).bool(e.UseIntercomToSource),null!=e.DeviceID&&Object.hasOwnProperty.call(e,"DeviceID")&&t.uint32(26).string(e.DeviceID),null!=e.EnableCallControl&&Object.hasOwnProperty.call(e,"EnableCallControl")&&t.uint32(32).bool(e.EnableCallControl),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestMakeCall;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Destination=e.string();break;case 2:u.UseIntercomToSource=e.bool();break;case 3:u.DeviceID=e.string();break;case 4:u.EnableCallControl=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:119,MakeCall:this})},a.prototype.typeId=119,a.prototype.typeName="MakeCall",a})(),j=o.RequestAutoAnswerConnection=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.LocalConnectionId&&Object.hasOwnProperty.call(e,"LocalConnectionId")&&t.uint32(8).int32(e.LocalConnectionId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestAutoAnswerConnection;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>
13==1?u.LocalConnectionId=e.int32():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:152,ConvertToAutoAnswer:this})},a.prototype.typeId=152,a.prototype.typeName="ConvertToAutoAnswer",a})(),pe=o.RequestJoinCalls=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.DeviceContact&&Object.hasOwnProperty.call(e,"DeviceContact")&&t.uint32(10).string(e.DeviceContact),null!=e.MovePartyOfLocalConnectionId&&Object.hasOwnProperty.call(e,"MovePartyOfLocalConnectionId")&&t.uint32(16).int32(e.MovePartyOfLocalConnectionId),null!=e.ReplaceLocalConnectionIdWithMovedParty&&Object.hasOwnProperty.call(e,"ReplaceLocalConnectionIdWithMovedParty")&&t.uint32(24).int32(e.ReplaceLocalConnectionIdWithMovedParty),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestJoinCalls;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.DeviceContact=e.string();break;case 2:u.MovePartyOfLocalConnectionId=e.int32();break;case 3:u.ReplaceLocalConnectionIdWithMovedParty=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:166,JoinCalls:this})},a.prototype.typeId=166,a.prototype.typeName="JoinCalls",a})(),Ye=o.OptConnectParticipant=(()=>{const a={},r=Object.create(a);return r[a[1]="THIS_CONNECTION"]=1,r[a[2]="OTHER_CONNECTION"]=2,r[a[3]="BOTH_CONNECTIONS"]=3,r})(),Ft=o.RequestJoinCallParticipantsToConference=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.LocalConnectionId&&Object.hasOwnProperty.call(e,"LocalConnectionId")&&t.uint32(8).int32(e.LocalConnectionId),null!=e.IsLocal&&Object.hasOwnProperty.call(e,"IsLocal")&&t.uint32(16).bool(e.IsLocal),null!=e.ConferencePIN&&Object.hasOwnProperty.call(e,"ConferencePIN")&&t.uint32(26).string(e.ConferencePIN),null!=e.Participants&&Object.hasOwnProperty.call(e,"Participants")&&t.uint32(32).int32(e.Participants),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestJoinCallParticipantsToConference;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.LocalConnectionId=e.int32();break;case 2:u.IsLocal=e.bool();break;case 3:u.ConferencePIN=e.string();break;case 4:u.Participants=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:136,JoinCallParticipantsToConference:this})},a.prototype.typeId=136,a.prototype.typeName="JoinCallParticipantsToConference",a})(),Nn=o.RequestUpdateContact=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.NewContact&&Object.hasOwnProperty.call(e,"NewContact")&&o.Contact.encode(e.NewContact,t.uint32(18).fork()).ldelim(),null!=e.ImageContent&&Object.hasOwnProperty.call(e,"ImageContent")&&t.uint32(26).bytes(e.ImageContent),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUpdateContact;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.NewContact=o.Contact.decode(e,e.uint32());break;case 3:u.ImageContent=e.bytes();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:120,UpdateContact:this})},a.prototype.typeId=120,a.prototype.typeName="UpdateContact",a})(),Ji=o.RequestChangeConference=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.method&&Object.hasOwnProperty.call(e,"method")&&t.uint32(10).string(e.method),null!=e.member&&Object.hasOwnProperty.call(e,"member")&&t.uint32(18).string(e.member),null!=e.mute&&Object.hasOwnProperty.call(e,"mute")&&t.uint32(26).string(e.mute),null!=e.hold&&Object.hasOwnProperty.call(e,"hold")&&t.uint32(34).string(e.hold),null!=e.pin&&Object.hasOwnProperty.call(e,"pin")&&t.uint32(42).string(e.pin),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestChangeConference;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.method=e.string();break;case 2:u.member=e.string();break;case 3:u.mute=e.string();break;case 4:u.hold=e.string();break;case 5:u.pin=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:121,ChangeConference:this})},a.prototype.typeId=121,a.prototype.typeName="ChangeConference",a})(),oo=o.RequestGetSystemParameters=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetSystemParameters;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:122,GetSystemParameters:this})},a.prototype.typeId=122,a.prototype.typeName="GetSystemParameters",a})(),_o=(o.ENL=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.From&&Object.hasOwnProperty.call(e,"From")&&t.uint32(8).int32(e.From),null!=e.To&&Object.hasOwnProperty.call(e,"To")&&t.uint32(16).int32(e.To),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ENL;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.From=e.int32();break;case 2:u.To=e.int32();break;default:e.skipType(7&E)}}return u},a})(),o.ResponseSystemParameters=(()=>{function a(r){if(this.WebRtcCodecs=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.WebRtcCodecs=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.VmailDialCode&&Object.hasOwnProperty.call(e,"VmailDialCode")&&t.uint32(10).string(e.VmailDialCode),null!=e.IntercomDialCode&&Object.hasOwnProperty.call(e,"IntercomDialCode")&&t.uint32(18).string(e.IntercomDialCode),null!=e.Custom1Name&&Object.hasOwnProperty.call(e,"Custom1Name")&&t.uint32(26).string(e.Custom1Name),null!=e.Custom2Name&&Object.hasOwnProperty.call(e,"Custom2Name")&&t.uint32(34).string(e.Custom2Name),null!=e.WebMeetingURI&&Object.hasOwnProperty.call(e,"WebMeetingURI")&&t.uint32(42).string(e.WebMeetingURI),null!=e.WebRtcGatewayDn&&Object.hasOwnProperty.call(e,"WebRtcGatewayDn")&&t.uint32(50).string(e.WebRtcGatewayDn),null!=e.WebMeetingParameters&&Object.hasOwnProperty.call(e,"WebMeetingParameters")&&t.uint32(58).string(e.WebMeetingParameters),null!=e.WebMeetingBestMCU&&Object.hasOwnProperty.call(e,"WebMeetingBestMCU")&&t.uint32(66).string(e.WebMeetingBestMCU),null!=e.DialCodeProfile&&Object.hasOwnProperty.call(e,"DialCodeProfile")&&t.uint32(74).string(e.DialCodeProfile),null!=e.LoggedInQueue&&Object.hasOwnProperty.call(e,"LoggedInQueue")&&t.uint32(82).string(e.LoggedInQueue),null!=e.LoggedOutQueue&&Object.hasOwnProperty.call(e,"LoggedOutQueue")&&t.uint32(90).string(e.LoggedOutQueue),null!=e.IsLastFirst&&Object.hasOwnProperty.call(e,"IsLastFirst")&&t.uint32(96).bool(e.IsLastFirst),null!=e.PhonebookMinMatch&&Object.hasOwnProperty.call(e,"PhonebookMinMatch")&&t.uint32(104).int32(e.PhonebookMinMatch),null!=e.CstaUserAgents&&Object.hasOwnProperty.call(e,"CstaUserAgents")&&t.uint32(122).string(e.CstaUserAgents),null!=e.HotelIvr&&Object.hasOwnProperty.call(e,"HotelIvr")&&t.uint32(130).string(e.HotelIvr),null!=e.ConfCallParticipants&&Object.hasOwnProperty.call(e,"ConfCallParticipants")&&t.uint32(136).bool(e.ConfCallParticipants),null!=e.ChatIsEnabled&&Object.hasOwnProperty.call(e,"ChatIsEnabled")&&t.uint32(144).bool(e.ChatIsEnabled),null!=e.AllowWebrtcEndpoint&&Object.hasOwnProperty.call(e,"AllowWebrtcEndpoint")&&t.uint32(152).bool(e.AllowWebrtcEndpoint),null!=e.MaxChatAttachmentFileSize&&Object.hasOwnProperty.call(e,"MaxChatAttachmentFileSize")&&t.uint32(160).uint64(e.MaxChatAttachmentFileSize),null!=e.PbxExternalHost&&Object.hasOwnProperty.call(e,"PbxExternalHost")&&t.uint32(170).string(e.PbxExternalHost),null!=e.PbxInternalHost&&Object.hasOwnProperty.call(e,"PbxInternalHost")&&t.uint32(178).string(e.PbxInternalHost),null!=e.WebRtcCodecs&&e.WebRtcCodecs.length)for(let k=0;k<e.WebRtcCodecs.length;++k)t.uint32(186).string(e.WebRtcCodecs[k]);return null!=e.IsElectronEnabled&&Object.hasOwnProperty.call(e,"IsElectronEnabled")&&t.uint32(192).bool(e.IsElectronEnabled),null!=e.HideCrmContacts&&Object.hasOwnProperty.call(e,"HideCrmContacts")&&t.uint32(200).bool(e.HideCrmContacts),null!=e.CurrentInOutOfficeMode&&Ob
1ject.hasOwnProperty.call(e,"CurrentInOutOfficeMode")&&t.uint32(208).int32(e.CurrentInOutOfficeMode),null!=e.DefaultMaxImageSizeForProviders&&Object.hasOwnProperty.call(e,"DefaultMaxImageSizeForProviders")&&t.uint32(216).uint64(e.DefaultMaxImageSizeForProviders),null!=e.VapidPublicKey&&Object.hasOwnProperty.call(e,"VapidPublicKey")&&t.uint32(226).string(e.VapidPublicKey),null!=e.SystemLanguage&&Object.hasOwnProperty.call(e,"SystemLanguage")&&t.uint32(234).string(e.SystemLanguage),null!=e.MultiCompanyMode&&Object.hasOwnProperty.call(e,"MultiCompanyMode")&&t.uint32(240).bool(e.MultiCompanyMode),null!=e.AllowChangePasswords&&Object.hasOwnProperty.call(e,"AllowChangePasswords")&&t.uint32(248).bool(e.AllowChangePasswords),null!=e.CrmConfigured&&Object.hasOwnProperty.call(e,"CrmConfigured")&&t.uint32(256).bool(e.CrmConfigured),null!=e.CrmAddContactAllowed&&Object.hasOwnProperty.call(e,"CrmAddContactAllowed")&&t.uint32(264).bool(e.CrmAddContactAllowed),null!=e.HasSystemOwner&&Object.hasOwnProperty.call(e,"HasSystemOwner")&&t.uint32(272).bool(e.HasSystemOwner),null!=e.LicenseProduct&&Object.hasOwnProperty.call(e,"LicenseProduct")&&t.uint32(282).string(e.LicenseProduct),null!=e.LicenseExpiredAt&&Object.hasOwnProperty.call(e,"LicenseExpiredAt")&&o.DateTime.encode(e.LicenseExpiredAt,t.uint32(290).fork()).ldelim(),null!=e.PrependNameToCID&&Object.hasOwnProperty.call(e,"PrependNameToCID")&&t.uint32(296).bool(e.PrependNameToCID),null!=e.HideInteractionHistory&&Object.hasOwnProperty.call(e,"HideInteractionHistory")&&t.uint32(304).bool(e.HideInteractionHistory),null!=e.AvatarStyle&&Object.hasOwnProperty.call(e,"AvatarStyle")&&t.uint32(314).string(e.AvatarStyle),null!=e.BrandLogoImage&&Object.hasOwnProperty.call(e,"BrandLogoImage")&&t.uint32(322).string(e.BrandLogoImage),null!=e.BrandMainImage&&Object.hasOwnProperty.call(e,"BrandMainImage")&&t.uint32(330).string(e.BrandMainImage),null!=e.BrandUrl&&Object.hasOwnProperty.call(e,"BrandUrl")&&t.uint32(338).string(e.BrandUrl),null!=e.PickupDialCode&&Object.hasOwnProperty.call(e,"PickupDialCode")&&t.uint32(346).string(e.PickupDialCode),null!=e.AllowBlockCalls&&Object.hasOwnProperty.call(e,"AllowBlockCalls")&&t.uint32(352).bool(e.AllowBlockCalls),null!=e.ENL&&Object.hasOwnProperty.call(e,"ENL")&&o.ENL.encode(e.ENL,t.uint32(362).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseSystemParameters;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.VmailDialCode=e.string();break;case 2:u.IntercomDialCode=e.string();break;case 3:u.Custom1Name=e.string();break;case 4:u.Custom2Name=e.string();break;case 5:u.WebMeetingURI=e.string();break;case 6:u.WebRtcGatewayDn=e.string();break;case 7:u.WebMeetingParameters=e.string();break;case 8:u.WebMeetingBestMCU=e.string();break;case 9:u.DialCodeProfile=e.string();break;case 10:u.LoggedInQueue=e.string();break;case 11:u.LoggedOutQueue=e.string();break;case 12:u.IsLastFirst=e.bool();break;case 13:u.PhonebookMinMatch=e.int32();break;case 15:u.CstaUserAgents=e.string();break;case 16:u.HotelIvr=e.string();break;case 17:u.ConfCallParticipants=e.bool();break;case 18:u.ChatIsEnabled=e.bool();break;case 19:u.AllowWebrtcEndpoint=e.bool();break;case 20:u.MaxChatAttachmentFileSize=e.uint64();break;case 21:u.PbxExternalHost=e.string();break;case 22:u.PbxInternalHost=e.string();break;case 23:u.WebRtcCodecs&&u.WebRtcCodecs.length||(u.WebRtcCodecs=[]),u.WebRtcCodecs.push(e.string());break;case 24:u.IsElectronEnabled=e.bool();break;case 25:u.HideCrmContacts=e.bool();break;case 26:u.CurrentInOutOfficeMode=e.int32();break;case 27:u.DefaultMaxImageSizeForProviders=e.uint64();break;case 28:u.VapidPublicKey=e.string();break;case 29:u.SystemLanguage=e.string();break;case 30:u.MultiCompanyMode=e.bool();break;case 31:u.AllowChangePasswords=e.bool();break;case 32:u.CrmConfigured=e.bool();break;case 33:u.CrmAddContactAllowed=e.bool();break;case 34:u.HasSystemOwner=e.bool();break;case 35:u.LicenseProduct=e.string();break;case 36:u.LicenseExpiredAt=o.DateTime.decode(e,e.uint32());break;case 37:u.PrependNameToCID=e.bool();break;case 38:u.HideInteractionHistory=e.bool();break;case 39:u.AvatarStyle=e.string();break;case 40:u.BrandLogoImage=e.string();break;case 41:u.BrandMainImage=e.string();break;case 42:u.BrandUrl=e.string();break;case 43:u.PickupDialCode=e.string();break;case 44:u.AllowBlockCalls=e.bool();break;case 45:u.ENL=o.ENL.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:210,SystemParameters:this})},a.prototype.typeId=210,a.prototype.typeName="SystemParameters",a})()),So=o.RequestSetOfficeHoursMode=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.CurrentInOutOfficeMode&&Ob
1ject.hasOwnProperty.call(e,"CurrentInOutOfficeMode")&&t.uint32(8).int32(e.CurrentInOutOfficeMode),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSetOfficeHoursMode;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.CurrentInOutOfficeMode=e.int32():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:512,SetOfficeHoursMode:this})},a.prototype.typeId=512,a.prototype.typeName="SetOfficeHoursMode",a})(),cs=o.QueueStatistics=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.CurCallsWaiting&&Object.hasOwnProperty.call(e,"CurCallsWaiting")&&t.uint32(34).string(e.CurCallsWaiting),null!=e.CurCallsPolling&&Object.hasOwnProperty.call(e,"CurCallsPolling")&&t.uint32(42).string(e.CurCallsPolling),null!=e.CurCallsRepolling&&Object.hasOwnProperty.call(e,"CurCallsRepolling")&&t.uint32(50).string(e.CurCallsRepolling),null!=e.CurCallsServicing&&Object.hasOwnProperty.call(e,"CurCallsServicing")&&t.uint32(58).string(e.CurCallsServicing),null!=e.TotalCallsIn&&Object.hasOwnProperty.call(e,"TotalCallsIn")&&t.uint32(66).string(e.TotalCallsIn),null!=e.TotalCallsServiced&&Object.hasOwnProperty.call(e,"TotalCallsServiced")&&t.uint32(74).string(e.TotalCallsServiced),null!=e.TotalCallsDroppedInWait&&Object.hasOwnProperty.call(e,"TotalCallsDroppedInWait")&&t.uint32(82).string(e.TotalCallsDroppedInWait),null!=e.TotalCallsDroppedInPoll&&Object.hasOwnProperty.call(e,"TotalCallsDroppedInPoll")&&t.uint32(90).string(e.TotalCallsDroppedInPoll),null!=e.TotalAgentsDialed&&Object.hasOwnProperty.call(e,"TotalAgentsDialed")&&t.uint32(98).string(e.TotalAgentsDialed),null!=e.TotalAgentsRefused&&Object.hasOwnProperty.call(e,"TotalAgentsRefused")&&t.uint32(106).string(e.TotalAgentsRefused),null!=e.TotalAgentCallsExpired&&Object.hasOwnProperty.call(e,"TotalAgentCallsExpired")&&t.uint32(114).string(e.TotalAgentCallsExpired),null!=e.TotalCallsReachedMaxTime&&Object.hasOwnProperty.call(e,"TotalCallsReachedMaxTime")&&t.uint32(122).string(e.TotalCallsReachedMaxTime),null!=e.TotalUserRequestedEnd&&Object.hasOwnProperty.call(e,"TotalUserRequestedEnd")&&t.uint32(130).string(e.TotalUserRequestedEnd),null!=e.TotalNoAgentsEnded&&Object.hasOwnProperty.call(e,"TotalNoAgentsEnded")&&t.uint32(138).string(e.TotalNoAgentsEnded),null!=e.TotalTransfersFailed&&Object.hasOwnProperty.call(e,"TotalTransfersFailed")&&t.uint32(146).string(e.TotalTransfersFailed),null!=e.TotalCallbacksRequested&&Object.hasOwnProperty.call(e,"TotalCallbacksRequested")&&t.uint32(154).string(e.TotalCallbacksRequested),null!=e.TotalCallbacksServiced&&Object.hasOwnProperty.call(e,"TotalCallbacksServiced")&&t.uint32(162).string(e.TotalCallbacksServiced),null!=e.TotalCallbacksFailed&&Object.hasOwnProperty.call(e,"TotalCallbacksFailed")&&t.uint32(170).string(e.TotalCallbacksFailed),null!=e.TotalWaitingTime&&Object.hasOwnProperty.call(e,"TotalWaitingTime")&&t.uint32(178).string(e.TotalWaitingTime),null!=e.TotalServicingTime&&Object.hasOwnProperty.call(e,"TotalServicingTime")&&t.uint32(186).string(e.TotalServicingTime),null!=e.LongestWaitingTime&&Object.hasOwnProperty.call(e,"LongestWaitingTime")&&t.uint32(194).string(e.LongestWaitingTime),null!=e.TotalCallsEscalated&&Object.hasOwnProperty.call(e,"TotalCallsEscalated")&&t.uint32(202).string(e.TotalCallsEscalated),null!=e.TotalCallsAbandoned&&Object.hasOwnProperty.call(e,"TotalCallsAbandoned")&&t.uint32(210).string(e.TotalCallsAbandoned),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.QueueStatistics;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 4:u.CurCallsWaiting=e.string();break;case 5:u.CurCallsPolling=e.string();break;case 6:u.CurCallsRepolling=e.string();break;case 7:u.CurCallsServicing=e.string();break;case 8:u.TotalCallsIn=e.string();break;case 9:u.TotalCallsServiced=e.string();break;case 10:u.TotalCallsDroppedInWait=e.string();break;case 11:u.TotalCallsDroppedInPoll=e.string();break;case 12:u.TotalAgentsDialed=e.string();break;case 13:u.TotalAgentsRefused=e.string();break;case 14:u.TotalAgentCallsExpired=e.string();break;case 15:u.TotalCallsReachedMaxTime=e.string();break;case 16:u.TotalUserRequestedEnd=e.string();break;case 17:u.TotalNoAgentsEnded=e.string();break;case 18:u.TotalTransfersFailed=e.string();break;case 19:u.TotalCallbacksRequested=e.string();break;case 20:u.TotalCallbacksServiced=e.string();break;case 21:u.TotalCallbacksFailed=e.string();break;case 22:u.TotalWaitingTime=e.string();break;case 23:u.TotalServicingTime=e.string();break;case 24:u.LongestWaitingTime=e.string();break;case 25:u.TotalCallsEscalated=e.string();break;case 26:u.TotalCallsAbandoned=e.string();break;default:e.skipType(7&E)}}return u},a})(),Fo=(o.QueueAgentStat=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.TotalTimesDialed&&Object.hasOwnProperty.call(e,"TotalTimesDialed")&&t.uint32(26).string(e.TotalTimesDialed),null!=e.TotalTimesRefused&&Object.hasOwnProperty.call(e,"TotalTimesRefused")&&t.uint32(34).string(e.TotalTimesRefused),null!=e.TotalTimesCallExpired&&Object.hasOwnProperty.call(e,"TotalTimesCallExpired")&&t.uint32(42).string(e.TotalTimesCallExpired),null!=e.TotalCallsServiced&&Object.hasOwnProperty.call(e,"TotalCallsServiced")&&t.uint32(50).string(e.TotalCallsServiced),null!=e.TotalTalkTime&&Object.hasOwnProperty.call(e,"TotalTalkTime")&&t.uint32(58).string(e.TotalTalkTime),null!=e.TotalCallsEscalated&&Object.hasOwnProperty.call(e,"TotalCallsEscalated")&&t.uint32(66).string(e.TotalCallsEscalated),null!=e.TotalLoggedInTime&&Object.hasOwnProperty.call(e,"TotalLoggedInTime")&&t.uint32(74).string(e.TotalLoggedInTime),null!=e.LastLogInUtc&&Object.hasOwnProperty.call(e,"LastLogInUtc")&&t.uint32(82).string(e.LastLogInUtc),null!=e.LastLogOutUtc&&Object.hasOwnProperty.call(e,"LastLogOutUtc")&&t.uint32(90).string(e.LastLogOutUtc),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.QueueAgentStat;
vendor: 4,393 bytes, line 1
1for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 3:u.TotalTimesDialed=e.string();break;case 4:u.TotalTimesRefused=e.string();break;case 5:u.TotalTimesCallExpired=e.string();break;case 6:u.TotalCallsServiced=e.string();break;case 7:u.TotalTalkTime=e.string();break;case 8:u.TotalCallsEscalated=e.string();break;case 9:u.TotalLoggedInTime=e.string();break;case 10:u.LastLogInUtc=e.string();break;case 11:u.LastLogOutUtc=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.QueueAgent=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Number&&Object.hasOwnProperty.call(e,"Number")&&t.uint32(26).string(e.Number),null!=e.FirstName&&Object.hasOwnProperty.call(e,"FirstName")&&t.uint32(34).string(e.FirstName),null!=e.LastName&&Object.hasOwnProperty.call(e,"LastName")&&t.uint32(42).string(e.LastName),null!=e.Stat&&Object.hasOwnProperty.call(e,"Stat")&&o.QueueAgentStat.encode(e.Stat,t.uint32(50).fork()).ldelim(),null!=e.ActiveCalls&&Object.hasOwnProperty.call(e,"ActiveCalls")&&o.LocalConnections.encode(e.ActiveCalls,t.uint32(58).fork()).ldelim(),null!=e.QueueStatus&&Object.hasOwnProperty.call(e,"QueueStatus")&&t.uint32(64).bool(e.QueueStatus),null!=e.Available&&Object.hasOwnProperty.call(e,"Available")&&t.uint32(72).bool(e.Available),null!=e.Priority&&Object.hasOwnProperty.call(e,"Priority")&&t.uint32(80).int32(e.Priority),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.QueueAgent;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Number=e.string();break;case 4:u.FirstName=e.string();break;case 5:u.LastName=e.string();break;case 6:u.Stat=o.QueueAgentStat.decode(e,e.uint32());break;case 7:u.ActiveCalls=o.LocalConnections.decode(e,e.uint32());break;case 8:u.QueueStatus=e.bool();break;case 9:u.Available=e.bool();break;case 10:u.Priority=e.int32();break;default:e.skipType(7&E)}}return u},a})(),o.QueueAgents=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.QueueAgent.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.QueueAgents;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.QueueAgent.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})(),o.QueueStat=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(26).string(e.Name),null!=e.Number&&Object.hasOwnProperty.call(e,"Number")&&t.uint32(34).string(e.Number),null!=e.Agents&&Object.hasOwnProperty.call(e,"Agents")&&o.QueueAgents.encode(e.Agents,t.uint32(42).fork()).ldelim(),null!=e.Stat&&Object.hasOwnProperty.call(e,"Stat")&&o.QueueStatistics.encode(e.Stat,t.uint32(50).fork()).ldelim(),null!=e.WaitingCalls&&Object.hasOwnProperty.call(e,"WaitingCalls")&&o.LocalConnections.encode(e.WaitingCalls,t.uint32(58).fork()).ldelim(),null!=e.PollingCalls&&Object.hasOwnProperty.call(e,"PollingCalls")&&o.LocalConnections.encode(e.PollingCalls,t.uint32(66).fork()).ldelim(),null!=e.CallBackCalls&&Object.hasOwnProperty.call(e,"CallBackCalls")&&o.LocalConnections.encode(e.CallBackCalls,t.uint32(74).fork()).ldelim(),null!=e.Available&&Object.hasOwnProperty.call(e,"Available")&&t.uint32(80).bool(e.Available),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.QueueStat;
1for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Name=e.string();break;case 4:u.Number=e.string();break;case 5:u.Agents=o.QueueAgents.decode(e,e.uint32());break;case 6:u.Stat=o.QueueStatistics.decode(e,e.uint32());break;case 7:u.WaitingCalls=o.LocalConnections.decode(e,e.uint32());break;case 8:u.PollingCalls=o.LocalConnections.decode(e,e.uint32());break;case 9:u.CallBackCalls=o.LocalConnections.decode(e,e.uint32());break;case 10:u.Available=e.bool();break;default:e.skipType(7&E)}}return u},a})(),o.Queues=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.QueueStat.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Queues;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.QueueStat.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:211,QueuesInfo:this})},a.prototype.typeId=211,a.prototype.typeName="QueuesInfo",a})()),qo=(o.IVRInfo=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(26).string(e.Name),null!=e.Number&&Object.hasOwnProperty.call(e,"Number")&&t.uint32(34).string(e.Number),null!=e.WaitingCalls&&Object.hasOwnProperty.call(e,"WaitingCalls")&&o.LocalConnections.encode(e.WaitingCalls,t.uint32(42).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.IVRInfo;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Name=e.string();break;case 4:u.Number=e.string();break;case 5:u.WaitingCalls=o.LocalConnections.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),o.IVRs=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.IVRInfo.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.IVRs;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.IVRInfo.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:213,IVRsInfo:this})},a.prototype.typeId=213,a.prototype.typeName="IVRsInfo",a})()),Ae=(o.ParkingInfo=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(26).string(e.Name),null!=e.Number&&Object.hasOwnProperty.call(e,"Number")&&t.uint32(34).string(e.Number),null!=e.WaitingCalls&&Object.hasOwnProperty.call(e,"WaitingCalls")&&o.LocalConnections.encode(e.WaitingCalls,t.uint32(42).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ParkingInfo;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Name=e.string();break;case 4:u.Number=e.string();break;case 5:u.WaitingCalls=o.LocalConnections.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),o.Parkings=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.ParkingInfo.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Parkings;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.ParkingInfo.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:212,ParkingsInfo:this})},a.prototype.typeId=212,a.prototype.typeName="ParkingsInfo",a})()),se=o.RequestConnectionAccessRights=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.LocalConnectionId&&Object.hasOwnProperty.call(e,"LocalConnectionId")&&t.uint32(8).int32(e.LocalConnectionId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestConnectionAccessRights;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>
13==1?u.LocalConnectionId=e.int32():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:124,GetAccessRights:this})},a.prototype.typeId=124,a.prototype.typeName="GetAccessRights",a})(),tt=o.ResponseConnectionAccessRights=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.ConnectionCapabilities&&Object.hasOwnProperty.call(e,"ConnectionCapabilities")&&t.uint32(8).int32(e.ConnectionCapabilities),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseConnectionAccessRights;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.ConnectionCapabilities=e.int32():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:214,ConnectionCapabilityMask:this})},a.prototype.typeId=214,a.prototype.typeName="ConnectionCapabilityMask",a})(),$t=o.RequestResetMyMissedCalls=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestResetMyMissedCalls;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:125,ResetMyMissedCalls:this})},a.prototype.typeId=125,a.prototype.typeName="ResetMyMissedCalls",a})(),ni=o.ResponseExtensionsChanged=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Type&&Object.hasOwnProperty.call(e,"Type")&&t.uint32(8).int32(e.Type),null!=e.Update&&Object.hasOwnProperty.call(e,"Update")&&o.Contact.encode(e.Update,t.uint32(18).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseExtensionsChanged;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Type=e.int32();break;case 2:u.Update=o.Contact.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:215,ExtensionsChangedEvent:this})},a.prototype.typeId=215,a.prototype.typeName="ExtensionsChangedEvent",a})(),Bi=o.RequestGetFolder=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Folder&&Ob
1ject.hasOwnProperty.call(e,"Folder")&&t.uint32(8).int32(e.Folder),null!=e.IdGroup&&Object.hasOwnProperty.call(e,"IdGroup")&&t.uint32(16).int32(e.IdGroup),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetFolder;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Folder=e.int32();break;case 2:u.IdGroup=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:128,GetFolderRequest:this})},a.prototype.typeId=128,a.prototype.typeName="GetFolderRequest",a})(),Zo=o.ResponseGetFolder=(()=>{function a(r){if(this.Files=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Files=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Folder&&Object.hasOwnProperty.call(e,"Folder")&&t.uint32(8).int32(e.Folder),null!=e.Files&&e.Files.length)for(let k=0;k<e.Files.length;++k)t.uint32(18).string(e.Files[k]);return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseGetFolder;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Folder=e.int32();break;case 2:u.Files&&u.Files.length||(u.Files=[]),u.Files.push(e.string());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:216,GetFolderResponse:this})},a.prototype.typeId=216,a.prototype.typeName="GetFolderResponse",a})(),Qs=o.RequestDeleteFile=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Folder&&Ob
1ject.hasOwnProperty.call(e,"Folder")&&t.uint32(8).int32(e.Folder),null!=e.File&&Object.hasOwnProperty.call(e,"File")&&t.uint32(18).string(e.File),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestDeleteFile;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Folder=e.int32();break;case 2:u.File=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:129,DeleteFile:this})},a.prototype.typeId=129,a.prototype.typeName="DeleteFile",a})(),Ns=o.RequestPlayRecording=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.File&&Object.hasOwnProperty.call(e,"File")&&t.uint32(10).string(e.File),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestPlayRecording;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.File=e.string();break;case 2:u.Id=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:130,PlayRec:this})},a.prototype.typeId=130,a.prototype.typeName="PlayRec",a})(),ns=o.ResponseContactChanged=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Update&&Object.hasOwnProperty.call(e,"Update")&&o.Contact.encode(e.Update,t.uint32(10).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseContactChanged;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Update=o.Contact.decode(e,e.uint32()):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:217,ContactChangedEvent:this})},a.prototype.typeId=217,a.prototype.typeName="ContactChangedEvent",a})(),Or=o.RequestServerTime=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestServerTime;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:131,ServerTimeRequest:this})},a.prototype.typeId=131,a.prototype.typeName="ServerTimeRequest",a})(),_s=o.ResponseServerTime=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.ArrivedAtServerLocalUTCtime&&Object.hasOwnProperty.call(e,"ArrivedAtServerLocalUTCtime")&&o.DateTime.encode(e.ArrivedAtServerLocalUTCtime,t.uint32(10).fork()).ldelim(),null!=e.SentAtServerLocalUTCtime&&Object.hasOwnProperty.call(e,"SentAtServerLocalUTCtime")&&o.DateTime.encode(e.SentAtServerLocalUTCtime,t.uint32(18).fork()).ldelim(),null!=e.ArrivedAtMSecs&&Object.hasOwnProperty.call(e,"ArrivedAtMSecs")&&t.uint32(24).int32(e.ArrivedAtMSecs),null!=e.SentAtMSecs&&Object.hasOwnProperty.call(e,"SentAtMSecs")&&t.uint32(32).int32(e.SentAtMSecs),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseServerTime;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.ArrivedAtServerLocalUTCtime=o.DateTime.decode(e,e.uint32());break;case 2:u.SentAtServerLocalUTCtime=o.DateTime.decode(e,e.uint32());break;case 3:u.ArrivedAtMSecs=e.int32();break;case 4:u.SentAtMSecs=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:218,ServerTimeResponse:this})},a.prototype.typeId=218,a.prototype.typeName="ServerTimeResponse",a})(),or=o.RequestSetQueueStatus=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.QueueId&&Object.hasOwnProperty.call(e,"QueueId")&&t.uint32(8).int32(e.QueueId),null!=e.AgentId&&Object.hasOwnProperty.call(e,"AgentId")&&t.uint32(16).int32(e.AgentId),null!=e.NewQueueStatus&&Object.hasOwnProperty.call(e,"NewQueueStatus")&&t.uint32(24).bool(e.NewQueueStatus),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSetQueueStatus;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.QueueId=e.int32();break;case 2:u.AgentId=e.int32();break;case 3:u.NewQueueStatus=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:132,SetQueueStatus:this})},a.prototype.typeId=132,a.prototype.typeName="SetQueueStatus",a})(),Rs=o.RequestRecordCall=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.LocalConnectionId&&Object.hasOwnProperty.call(e,"LocalConnectionId")&&t.uint32(8).int32(e.LocalConnectionId),null!=e.IsLocal&&Object.hasOwnProperty.call(e,"IsLocal")&&t.uint32(16).bool(e.IsLocal),null!=e.Folder&&Ob
1ject.hasOwnProperty.call(e,"Folder")&&t.uint32(26).string(e.Folder),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestRecordCall;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.LocalConnectionId=e.int32();break;case 2:u.IsLocal=e.bool();break;case 3:u.Folder=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:137,RecordCall:this})},a.prototype.typeId=137,a.prototype.typeName="RecordCall",a})(),js=o.RequestControlCallRecording=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.LocalConnectionId&&Object.hasOwnProperty.call(e,"LocalConnectionId")&&t.uint32(8).int32(e.LocalConnectionId),null!=e.IsLocal&&Object.hasOwnProperty.call(e,"IsLocal")&&t.uint32(16).bool(e.IsLocal),null!=e.RecAction&&Object.hasOwnProperty.call(e,"RecAction")&&t.uint32(24).int32(e.RecAction),null!=e.Folder&&Ob
1ject.hasOwnProperty.call(e,"Folder")&&t.uint32(34).string(e.Folder),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestControlCallRecording;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.LocalConnectionId=e.int32();break;case 2:u.IsLocal=e.bool();break;case 3:u.RecAction=e.int32();break;case 4:u.Folder=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:167,RecordingControl:this})},a.prototype.typeId=167,a.prototype.typeName="RecordingControl",a})(),Bo=o.RequestGetMyRights=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetMyRights;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:140,GetMyRights:this})},a.prototype.typeId=140,a.prototype.typeName="GetMyRights",a})(),wr=o.ResponseGetMyRights=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.CanModifyCompanyBook&&Object.hasOwnProperty.call(e,"CanModifyCompanyBook")&&t.uint32(8).bool(e.CanModifyCompanyBook),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseGetMyRights;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.CanModifyCompanyBook=e.bool():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:221,MyRights:this})},a.prototype.typeId=221,a.prototype.typeName="MyRights",a})(),Hr=o.RequestGetGreetings=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetGreetings;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:141,GetGreetings:this})},a.prototype.typeId=141,a.prototype.typeName="GetGreetings",a})(),sr=o.RequestSetGreetings=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Default&&Object.hasOwnProperty.call(e,"Default")&&t.uint32(10).string(e.Default),null!=e.Available&&Object.hasOwnProperty.call(e,"Available")&&t.uint32(18).string(e.Available),null!=e.Away&&Object.hasOwnProperty.call(e,"Away")&&t.uint32(26).string(e.Away),null!=e.OutOfOffice&&Object.hasOwnProperty.call(e,"OutOfOffice")&&t.uint32(34).string(e.OutOfOffice),null!=e.Custom1&&Object.hasOwnProperty.call(e,"Custom1")&&t.uint32(42).string(e.Custom1),null!=e.Custom2&&Object.hasOwnProperty.call(e,"Custom2")&&t.uint32(50).string(e.Custom2),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSetGreetings;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Default=e.string();break;case 2:u.Available=e.string();break;case 3:u.Away=e.string();break;case 4:u.OutOfOffice=e.string();break;case 5:u.Custom1=e.string();break;case 6:u.Custom2=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:142,SetGreetings:this})},a.prototype.typeId=142,a.prototype.typeName="SetGreetings",a})(),hr=o.ResponseGreetings=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Default&&Object.hasOwnProperty.call(e,"Default")&&t.uint32(10).string(e.Default),null!=e.Available&&Object.hasOwnProperty.call(e,"Available")&&t.uint32(18).string(e.Available),null!=e.Away&&Object.hasOwnProperty.call(e,"Away")&&t.uint32(26).string(e.Away),null!=e.OutOfOffice&&Object.hasOwnProperty.call(e,"OutOfOffice")&&t.uint32(34).string(e.OutOfOffice),null!=e.Custom1&&Object.hasOwnProperty.call(e,"Custom1")&&t.uint32(42).string(e.Custom1),null!=e.Custom2&&Object.hasOwnProperty.call(e,"Custom2")&&t.uint32(50).string(e.Custom2),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseGreetings;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Default=e.string();break;case 2:u.Available=e.string();break;case 3:u.Away=e.string();break;case 4:u.OutOfOffice=e.string();break;case 5:u.Custom1=e.string();break;case 6:u.Custom2=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:222,Greetings:this})},a.prototype.typeId=222,a.prototype.typeName="Greetings",a})(),rr=o.RequestPlayVMGreetingOnPhone=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.FileName&&Object.hasOwnProperty.call(e,"FileName")&&t.uint32(10).string(e.FileName),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestPlayVMGreetingOnPhone;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>
13==1?u.FileName=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:143,PlayVMGreetingOnPhone:this})},a.prototype.typeId=143,a.prototype.typeName="PlayVMGreetingOnPhone",a})(),Tr=o.RequestRecordVMGreetingFromPhone=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.FileName&&Object.hasOwnProperty.call(e,"FileName")&&t.uint32(10).string(e.FileName),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestRecordVMGreetingFromPhone;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.FileName=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:144,RecordVMGreetingFromPhone:this})},a.prototype.typeId=144,a.prototype.typeName="RecordVMGreetingFromPhone",a})(),Ir=o.RequestUpdateWebRtcInboundRules=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.WebRtcInboundRule.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUpdateWebRtcInboundRules;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.WebRtcInboundRule.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:150,UpdateWebRtcInboundRules:this})},a.prototype.typeId=150,a.prototype.typeName="UpdateWebRtcInboundRules",a})(),pr=o.RequestWelcomeEmail=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestWelcomeEmail;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:151,SendWelcomeEmail:this})},a.prototype.typeId=151,a.prototype.typeName="SendWelcomeEmail",a})(),ar=o.RequestWmReinviteOrganizer=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.ParticipantName&&Object.hasOwnProperty.call(e,"ParticipantName")&&t.uint32(10).string(e.ParticipantName),null!=e.MeetingRowId&&Object.hasOwnProperty.call(e,"MeetingRowId")&&t.uint32(16).int32(e.MeetingRowId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestWmReinviteOrganizer;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.ParticipantName=e.string();break;case 2:u.MeetingRowId=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:160,ReinviteOrganizer:this})},a.prototype.typeId=160,a.prototype.typeName="ReinviteOrganizer",a})(),Os=o.RequestSetSharedBlfs=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.SharedBlfs&&Object.hasOwnProperty.call(e,"SharedBlfs")&&t.uint32(10).string(e.SharedBlfs),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSetSharedBlfs;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.SharedBlfs=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:161,SetSharedBlfs:this})},a.prototype.typeId=161,a.prototype.typeName="SetSharedBlfs",a})(),As=o.MyWebRTCEndpoint=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.WebRTCCall.encode(e.Items[k],t.uint32(18).fork()).ldelim();return null!=e.isWebRTCEnpointRegistered&&Object.hasOwnProperty.call(e,"isWebRTCEnpointRegistered")&&t.uint32(24).bool(e.isWebRTCEnpointRegistered),null!=e.DeviceContact&&Object.hasOwnProperty.call(e,"DeviceContact")&&t.uint32(34).string(e.DeviceContact),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.MyWebRTCEndpoint;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.WebRTCCall.decode(e,e.uint32()));break;case 3:u.isWebRTCEnpointRegistered=e.bool();break;case 4:u.DeviceContact=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:227,webRTCEndpoint:this})},a.prototype.typeId=227,a.prototype.typeName="webRTCEndpoint",a})(),$r=o.WebRTCEndpointSDPState=(()=>{const a={},r=Object.create(a);return r[a[0]="WRTCTerminate"]=0,r[a[1]="WRTCOffer"]=1,r[a[2]="WRTCAnswer"]=2,r[a[3]="WRTCConfirm"]=3,r[a[4]="WRTCRequestForOffer"]=4,r[a[5]="WRTCReject"]=5,r[a[6]="WRTCProcessingOffer"]=6,r[a[7]="WRTCPreparingOffer"]=7,r[a[8]="WRTCAnswerProvided"]=8,r[a[9]="WRTCConfirmed"]=9,r[a[10]="WRTCInitial"]=10,r})(),gr=o.WebRTCHoldState=(()=>{const a={},r=Object.create(a);return r[a[0]="WebRTCHoldState_NOHOLD"]=0,r[a[1]="WebRTCHoldState_HELD"]=1,r[a[2]="WebRTCHoldState_HOLD"]=2,r[a[3]="WebRTCHoldState_BOTH"]=3,r})(),ys=o.WebRTCCall=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.sdpType&&Object.hasOwnProperty.call(e,"sdpType")&&t.uint32(24).int32(e.sdpType),null!=e.otherPartyDisplayname&&Object.hasOwnProperty.call(e,"otherPartyDisplayname")&&t.uint32(34).string(e.otherPartyDisplayname),null!=e.otherPartyNumber&&Object.hasOwnProperty.call(e,"otherPartyNumber")&&t.uint32(42).string(e.otherPartyNumber),null!=e.transactionId&&Object.hasOwnProperty.call(e,"transactionId")&&t.uint32(48).int32(e.transactionId),null!=e.sdp&&Object.hasOwnProperty.call(e,"sdp")&&t.uint32(58).string(e.sdp),null!=e.SIPDialogID&&Object.hasOwnProperty.call(e,"SIPDialogID")&&t.uint32(66).string(e.SIPDialogID),null!=e.holdState&&Object.hasOwnProperty.call(e,"holdState")&&t.uint32(72).int32(e.holdState),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.WebRTCCall;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.sdpType=e.int32();break;case 4:u.otherPartyDisplayname=e.string();break;case 5:u.otherPartyNumber=e.string();break;case 6:u.transactionId=e.int32();break;case 7:u.sdp=e.string();break;case 8:u.SIPDialogID=e.string();break;case 9:u.holdState=e.int32();break;default:e.skipType(7&E)}}return u},a})(),Lo=o.RequestWebRTCChangeSDPState=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.sdpType&&Object.hasOwnProperty.call(e,"sdpType")&&t.uint32(16).int32(e.sdpType),null!=e.transactionId&&Object.hasOwnProperty.call(e,"transactionId")&&t.uint32(24).int32(e.transactionId),null!=e.sdp&&Object.hasOwnProperty.call(e,"sdp")&&t.uint32(34).string(e.sdp),null!=e.destinationNumber&&Object.hasOwnProperty.call(e,"destinationNumber")&&t.uint32(42).string(e.destinationNumber),null!=e.CallerDisplayName&&Object.hasOwnProperty.call(e,"CallerDisplayName")&&t.uint32(50).string(e.CallerDisplayName),null!=e.CallerID&&Object.hasOwnProperty.call(e,"CallerID")&&t.uint32(58).string(e.CallerID),null!=e.replaceConnectionId&&Object.hasOwnProperty.call(e,"replaceConnectionId")&&t.uint32(64).int32(e.replaceConnectionId),null!=e.sipRejectCode&&Object.hasOwnProperty.call(e,"sipRejectCode")&&t.uint32(72).int32(e.sipRejectCode),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestWebRTCChangeSDPState;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.sdpType=e.int32();break;case 3:u.transactionId=e.int32();break;case 4:u.sdp=e.string();break;case 5:u.destinationNumber=e.string();break;case 6:u.CallerDisplayName=e.string();break;case 7:u.CallerID=e.string();break;case 8:u.replaceConnectionId=e.int32();break;case 9:u.sipRejectCode=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:164,ChangeSDPState:this})},a.prototype.typeId=164,a.prototype.typeName="ChangeSDPState",a})(),ds=o.ResponseWebRTCChangeSDPState=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Success&&Object.hasOwnProperty.call(e,"Success")&&t.uint32(8).bool(e.Success),null!=e.Message&&Object.hasOwnProperty.call(e,"Message")&&t.uint32(18).string(e.Message),null!=e.CallId&&Object.hasOwnProperty.call(e,"CallId")&&t.uint32(24).int32(e.CallId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseWebRTCChangeSDPState;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Success=e.bool();break;case 2:u.Message=e.string();break;case 3:u.CallId=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:228,ChangeSDPStateResponse:this})},a.prototype.typeId=228,a.prototype.typeName="ChangeSDPStateResponse",a})(),ws=(o.WebRTCTransferCall=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.destination&&Object.hasOwnProperty.call(e,"destination")&&t.uint32(18).string(e.destination),null!=e.ToCallId&&Object.hasOwnProperty.call(e,"ToCallId")&&t.uint32(24).int32(e.ToCallId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.WebRTCTransferCall;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.destination=e.string();break;case 3:u.ToCallId=e.int32();break;default:e.skipType(7&E)}}return u},a})(),o.RequestRegisterWebRTCEndpoint=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.register&&Object.hasOwnProperty.call(e,"register")&&t.uint32(8).bool(e.register),null!=e.NeedsRegistration&&Object.hasOwnProperty.call(e,"NeedsRegistration")&&t.uint32(16).bool(e.NeedsRegistration),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestRegisterWebRTCEndpoint;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.register=e.bool();break;case 2:u.NeedsRegistration=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:163,registerWebRTC:this})},a.prototype.typeId=163,a.prototype.typeName="registerWebRTC",a})()),Pr=o.RequestChangeWebClientPassword=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.OldPassword&&Object.hasOwnProperty.call(e,"OldPassword")&&t.uint32(10).string(e.OldPassword),null!=e.NewPassword&&Object.hasOwnProperty.call(e,"NewPassword")&&t.uint32(18).string(e.NewPassword),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestChangeWebClientPassword;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.OldPassword=e.string();break;case 2:u.NewPassword=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:168,ChangeWCPassword:this})},a.prototype.typeId=168,a.prototype.typeName="ChangeWCPassword",a})(),mr=o.RequestUnreadMessagesCount=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUnreadMessagesCount;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:165,GetUnreadMessagesCount:this})},a.prototype.typeId=165,a.prototype.typeName="GetUnreadMessagesCount",a})(),Uo=o.PartyWithUnreadMessages=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Party&&Object.hasOwnProperty.call(e,"Party")&&t.uint32(10).string(e.Party),null!=e.Count&&Object.hasOwnProperty.call(e,"Count")&&t.uint32(16).int32(e.Count),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(24).int32(e.IdConversation),null!=e.IsArchived&&Object.hasOwnProperty.call(e,"IsArchived")&&t.uint32(32).bool(e.IsArchived),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.PartyWithUnreadMessages;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Party=e.string();break;case 2:u.Count=e.int32();break;case 3:u.IdConversation=e.int32();break;case 4:u.IsArchived=e.bool();break;default:e.skipType(7&E)}}return u},a})(),ps=o.ResponseUnreadMessagesCount=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;++k)o.PartyWithUnreadMessages.encode(e.Items[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseUnreadMessagesCount;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.PartyWithUnreadMessages.decode(e,e.uint32()))):e.ski
1pType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:229,UnreadMessagesCount:this})},a.prototype.typeId=229,a.prototype.typeName="UnreadMessagesCount",a})(),Sr=o.RequestContactsByRef=(()=>{function a(r){if(this.IntRefs=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.IntRefs=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.IntRefs&&e.IntRefs.length)for(let k=0;k<e.IntRefs.length;++k)t.uint32(8).int32(e.IntRefs[k]);return null!=e.StrRefs&&Object.hasOwnProperty.call(e,"StrRefs")&&t.uint32(18).string(e.StrRefs),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestContactsByRef;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:if(u.IntRefs&&u.IntRefs.length||(u.IntRefs=[]),2==(7&E)){let Oi=e.uint32()+e.pos;for(;e.pos<Oi;)u.IntRefs.push(e.int32())}else u.IntRefs.push(e.int32());break;case 2:u.StrRefs=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:170,GetContactsByRef:this})},a.prototype.typeId=170,a.prototype.typeName="GetContactsByRef",a})(),Fs=o.RequestCleanExtension=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.TargetExtension&&Object.hasOwnProperty.call(e,"TargetExtension")&&t.uint32(10).string(e.TargetExtension),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestCleanExtension;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.TargetExtension=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:171,CleanExtension:this})},a.prototype.typeId=171,a.prototype.typeName="CleanExtension",a})(),Xs=o.RequestAssignExtension=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.TargetExtension&&Object.hasOwnProperty.call(e,"TargetExtension")&&t.uint32(10).string(e.TargetExtension),null!=e.FirstName&&Object.hasOwnProperty.call(e,"FirstName")&&t.uint32(18).string(e.FirstName),null!=e.LastName&&Object.hasOwnProperty.call(e,"LastName")&&t.uint32(26).string(e.LastName),null!=e.Email&&Object.hasOwnProperty.call(e,"Email")&&t.uint32(34).string(e.Email),null!=e.Mobile&&Object.hasOwnProperty.call(e,"Mobile")&&t.uint32(42).string(e.Mobile),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestAssignExtension;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.TargetExtension=e.string();break;case 2:u.FirstName=e.string();break;case 3:u.LastName=e.string();break;case 4:u.Email=e.string();break;case 5:u.Mobile=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:172,AssignExtension:this})},a.prototype.typeId=172,a.prototype.typeName="AssignExtension",a})(),fs=o.RequestSetWakeupCall=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.TargetExtension&&Object.hasOwnProperty.call(e,"TargetExtension")&&t.uint32(10).string(e.TargetExtension),null!=e.When&&Object.hasOwnProperty.call(e,"When")&&o.DateTime.encode(e.When,t.uint32(18).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSetWakeupCall;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.TargetExtension=e.string();break;case 2:u.When=o.DateTime.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:173,SetWakeupCall:this})},a.prototype.typeId=173,a.prototype.typeName="SetWakeupCall",a})(),bs=o.RequestDeleteWakeupCall=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.TargetExtension&&Object.hasOwnProperty.call(e,"TargetExtension")&&t.uint32(10).string(e.TargetExtension),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestDeleteWakeupCall;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>
13==1?u.TargetExtension=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:174,DeleteWakeupCall:this})},a.prototype.typeId=174,a.prototype.typeName="DeleteWakeupCall",a})(),ko=o.RequestGetWakeupCalls=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetWakeupCalls;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:175,GetWakeupCalls:this})},a.prototype.typeId=175,a.prototype.typeName="GetWakeupCalls",a})(),_r=(o.WakeupCall=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.ExtensionNumber&&Object.hasOwnProperty.call(e,"ExtensionNumber")&&t.uint32(10).string(e.ExtensionNumber),null!=e.When&&Object.hasOwnProperty.call(e,"When")&&o.DateTime.encode(e.When,t.uint32(18).fork()).ldelim(),null!=e.Status&&Object.hasOwnProperty.call(e,"Status")&&t.uint32(26).string(e.Status),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.WakeupCall;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.ExtensionNumber=e.string();break;case 2:u.When=o.DateTime.decode(e,e.uint32());break;case 3:u.Status=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.ResponseWakeupCalls=(()=>{function a(r){if(this.WakeupCalls=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.WakeupCalls=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.WakeupCalls&&e.WakeupCalls.length)for(let k=0;k<e.WakeupCalls.length;++k)o.WakeupCall.encode(e.WakeupCalls[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseWakeupCalls;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.WakeupCalls&&u.WakeupCalls.length||(u.WakeupCalls=[]),u.WakeupCalls.push(o.WakeupCall.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:230,WakeupCalls:this})},a.prototype.typeId=230,a.prototype.typeName="WakeupCalls",a})()),vs=o.RequestOneTimeLogin=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestOneTimeLogin;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:176,GetOneTimeLogin:this})},a.prototype.typeId=176,a.prototype.typeName="GetOneTimeLogin",a})(),Gs=o.ResponseOneTimeLogin=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Token&&Object.hasOwnProperty.call(e,"Token")&&t.uint32(10).string(e.Token),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseOneTimeLogin;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Token=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:231,OneTimeLogin:this})},a.prototype.typeId=231,a.prototype.typeName="OneTimeLogin",a})(),Js=o.PushSubscriptionData=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.DeliveryType&&Object.hasOwnProperty.call(e,"DeliveryType")&&t.uint32(10).string(e.DeliveryType),null!=e.DestinationAddress&&Object.hasOwnProperty.call(e,"DestinationAddress")&&t.uint32(18).string(e.DestinationAddress),null!=e.ModelName&&Object.hasOwnProperty.call(e,"ModelName")&&t.uint32(26).string(e.ModelName),null!=e.CustomName&&Object.hasOwnProperty.call(e,"CustomName")&&t.uint32(34).string(e.CustomName),null!=e.Instance&&Object.hasOwnProperty.call(e,"Instance")&&t.uint32(42).string(e.Instance),null!=e.Options&&Object.hasOwnProperty.call(e,"Options")&&t.uint32(50).string(e.Options),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));
1let re=void 0===t?e.len:e.pos+t,u=new o.PushSubscriptionData;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.DeliveryType=e.string();break;case 2:u.DestinationAddress=e.string();break;case 3:u.ModelName=e.string();break;case 4:u.CustomName=e.string();break;case 5:u.Instance=e.string();break;case 6:u.Options=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:178,RefreshSubscription:this})},a.prototype.typeId=178,a.prototype.typeName="RefreshSubscription",a})(),kr=o.PushSubscription=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Subscription&&Object.hasOwnProperty.call(e,"Subscription")&&o.PushSubscriptionData.encode(e.Subscription,t.uint32(26).fork()).ldelim(),null!=e.LastActivity&&Object.hasOwnProperty.call(e,"LastActivity")&&o.DateTime.encode(e.LastActivity,t.uint32(34).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.PushSubscription;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Subscription=o.PushSubscriptionData.decode(e,e.uint32());break;case 4:u.LastActivity=o.DateTime.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),yr=o.PushSubscriptions=(()=>{function a(r){if(this.Items=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Items=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Items&&e.Items.length)for(let k=0;k<e.Items.length;
1++k)o.PushSubscription.encode(e.Items[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.PushSubscriptions;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Items&&u.Items.length||(u.Items=[]),u.Items.push(o.PushSubscription.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})(),Ts=o.RequestUpdatePushSubscriptions=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Subscriptions&&Object.hasOwnProperty.call(e,"Subscriptions")&&o.PushSubscriptions.encode(e.Subscriptions,t.uint32(10).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUpdatePushSubscriptions;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Subscriptions=o.PushSubscriptions.decode(e,e.uint32()):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:177,UpdatePushSubscriptions:this})},a.prototype.typeId=177,a.prototype.typeName="UpdatePushSubscriptions",a})(),Eo=o.ChatTyping=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Party&&Object.hasOwnProperty.call(e,"Party")&&t.uint32(10).string(e.Party),null!=e.User&&Object.hasOwnProperty.call(e,"User")&&t.uint32(18).string(e.User),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(24).int32(e.IdConversation),null!=e.IdRecipient&&Object.hasOwnProperty.call(e,"IdRecipient")&&t.uint32(32).int32(e.IdRecipient),null!=e.CnvGid&&Object.hasOwnProperty.call(e,"CnvGid")&&t.uint32(42).string(e.CnvGid),null!=e.MemberGid&&Object.hasOwnProperty.call(e,"MemberGid")&&t.uint32(50).string(e.MemberGid),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ChatTyping;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Party=e.string();break;case 2:u.User=e.string();break;case 3:u.IdConversation=e.int32();break;case 4:u.IdRecipient=e.int32();break;case 5:u.CnvGid=e.string();break;case 6:u.MemberGid=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:180,UserTypingChat:this})},a.prototype.typeId=180,a.prototype.typeName="UserTypingChat",a})(),Cs=o.RequestBlacklistAnonymous=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.SessionId&&Object.hasOwnProperty.call(e,"SessionId")&&t.uint32(10).string(e.SessionId),null!=e.ForMinutes&&Object.hasOwnProperty.call(e,"ForMinutes")&&t.uint32(16).int32(e.ForMinutes),null!=e.Reason&&Object.hasOwnProperty.call(e,"Reason")&&t.uint32(26).string(e.Reason),null!=e.MemberGid&&Object.hasOwnProperty.call(e,"MemberGid")&&t.uint32(34).string(e.MemberGid),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestBlacklistAnonymous;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.SessionId=e.string();break;case 2:u.ForMinutes=e.int32();break;case 3:u.Reason=e.string();break;case 4:u.MemberGid=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:182,BlockAnonymous:this})},a.prototype.typeId=182,a.prototype.typeName="BlockAnonymous",a})(),Bs=o.NotificationC2CState=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Connected&&Object.hasOwnProperty.call(e,"Connected")&&t.uint32(8).bool(e.Connected),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.NotificationC2CState;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>
13==1?u.Connected=e.bool():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:233,C2cState:this})},a.prototype.typeId=233,a.prototype.typeName="C2cState",a})(),Rr=o.RequestDisconnectAnonymous=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.SessionId&&Object.hasOwnProperty.call(e,"SessionId")&&t.uint32(10).string(e.SessionId),null!=e.IsHandled&&Object.hasOwnProperty.call(e,"IsHandled")&&t.uint32(16).bool(e.IsHandled),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestDisconnectAnonymous;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.SessionId=e.string();break;case 2:u.IsHandled=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:183,DisconnectAnonymous:this})},a.prototype.typeId=183,a.prototype.typeName="DisconnectAnonymous",a})(),Q=(o.RecordingParticipant=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.DNType&&Object.hasOwnProperty.call(e,"DNType")&&t.uint32(16).int32(e.DNType),null!=e.DN&&Object.hasOwnProperty.call(e,"DN")&&t.uint32(26).string(e.DN),null!=e.CallerId&&Object.hasOwnProperty.call(e,"CallerId")&&t.uint32(34).string(e.CallerId),null!=e.DNName&&Object.hasOwnProperty.call(e,"DNName")&&t.uint32(42).string(e.DNName),null!=e.DidNumber&&Object.hasOwnProperty.call(e,"DidNumber")&&t.uint32(50).string(e.DidNumber),null!=e.CallerContact&&Object.hasOwnProperty.call(e,"CallerContact")&&o.Contact.encode(e.CallerContact,t.uint32(58).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RecordingParticipant;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 2:u.DNType=e.int32();break;case 3:u.DN=e.string();break;case 4:u.CallerId=e.string();break;case 5:u.DNName=e.string();break;case 6:u.DidNumber=e.string();break;case 7:u.CallerContact=o.Contact.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a})(),o.RecordingData=(()=>{function a(r){if(this.Participants=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Participants=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.StartTime&&Object.hasOwnProperty.call(e,"StartTime")&&o.Timestamp.encode(e.StartTime,t.uint32(26).fork()).ldelim(),null!=e.EndTime&&Object.hasOwnProperty.call(e,"EndTime")&&o.Timestamp.encode(e.EndTime,t.uint32(34).fork()).ldelim(),null!=e.Participants&&e.Participants.length)for(let k=0;k<e.Participants.length;++k)o.RecordingParticipant.encode(e.Participants[k],t.uint32(42).fork()).ldelim();return null!=e.Summary&&Object.hasOwnProperty.call(e,"Summary")&&t.uint32(50).string(e.Summary),null!=e.IsArchived&&Object.hasOwnProperty.call(e,"IsArchived")&&t.uint32(56).bool(e.IsArchived),null!=e.CanDelete&&Object.hasOwnProperty.call(e,"CanDelete")&&t.uint32(72).bool(e.CanDelete),null!=e.HasTranscription&&Object.hasOwnProperty.call(e,"HasTranscription")&&t.uint32(80).bool(e.HasTranscription),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RecordingData;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 3:u.StartTime=o.Timestamp.decode(e,e.uint32());break;case 4:u.EndTime=o.Timestamp.decode(e,e.uint32());break;case 5:u.Participants&&u.Participants.length||(u.Participants=[]),u.Participants.push(o.RecordingParticipant.decode(e,e.uint32()));break;case 6:u.Summary=e.string();break;case 7:u.IsArchived=e.bool();break;case 9:u.CanDelete=e.bool();break;case 10:u.HasTranscription=e.bool();break;default:e.skipType(7&E)}}return u},a})(),o.ResponseRecordings=(()=>{function a(r){if(this.Records=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Records=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Records&&e.Records.length)for(let k=0;k<e.Records.length;++k)o.RecordingData.encode(e.Records[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseRecordings;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Records&&u.Records.length||(u.Records=[]),u.Records.push(o.RecordingData.decode(e,e.uint32()))):e.ski
1pType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:234,ResponseRecordings:this})},a.prototype.typeId=234,a.prototype.typeName="ResponseRecordings",a})()),oe=o.ParticipantFilter=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.DidNumber&&Object.hasOwnProperty.call(e,"DidNumber")&&t.uint32(10).string(e.DidNumber),null!=e.DNName&&Object.hasOwnProperty.call(e,"DNName")&&t.uint32(18).string(e.DNName),null!=e.CallerId&&Object.hasOwnProperty.call(e,"CallerId")&&t.uint32(26).string(e.CallerId),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ParticipantFilter;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.DidNumber=e.string();break;case 2:u.DNName=e.string();break;case 3:u.CallerId=e.string();break;default:e.skipType(7&E)}}return u},a})(),_e=o.RequestGetRecordings=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.After&&Object.hasOwnProperty.call(e,"After")&&o.Timestamp.encode(e.After,t.uint32(10).fork()).ldelim(),null!=e.Before&&Object.hasOwnProperty.call(e,"Before")&&o.Timestamp.encode(e.Before,t.uint32(18).fork()).ldelim(),null!=e.IsArchived&&Object.hasOwnProperty.call(e,"IsArchived")&&t.uint32(24).bool(e.IsArchived),null!=e.InternalCallsOnly&&Object.hasOwnProperty.call(e,"InternalCallsOnly")&&t.uint32(32).bool(e.InternalCallsOnly),null!=e.Offset&&Object.hasOwnProperty.call(e,"Offset")&&t.uint32(40).int32(e.Offset),null!=e.Limit&&Object.hasOwnProperty.call(e,"Limit")&&t.uint32(48).int32(e.Limit),null!=e.From&&Object.hasOwnProperty.call(e,"From")&&o.ParticipantFilter.encode(e.From,t.uint32(58).fork()).ldelim(),null!=e.To&&Object.hasOwnProperty.call(e,"To")&&o.ParticipantFilter.encode(e.To,t.uint32(66).fork()).ldelim(),null!=e.Filter&&Object.hasOwnProperty.call(e,"Filter")&&o.ParticipantFilter.encode(e.Filter,t.uint32(74).fork()).ldelim(),null!=e.PersonalOnly&&Object.hasOwnProperty.call(e,"PersonalOnly")&&t.uint32(80).bool(e.PersonalOnly),null!=e.Transcription&&Object.hasOwnProperty.call(e,"Transcription")&&t.uint32(90).string(e.Transcription),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetRecordings;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.After=o.Timestamp.decode(e,e.uint32());break;case 2:u.Before=o.Timestamp.decode(e,e.uint32());break;case 3:u.IsArchived=e.bool();break;case 4:u.InternalCallsOnly=e.bool();break;case 5:u.Offset=e.int32();break;case 6:u.Limit=e.int32();break;case 7:u.From=o.ParticipantFilter.decode(e,e.uint32());break;case 8:u.To=o.ParticipantFilter.decode(e,e.uint32());break;case 9:u.Filter=o.ParticipantFilter.decode(e,e.uint32());break;case 10:u.PersonalOnly=e.bool();break;case 11:u.Transcription=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:184,GetRecordings:this})},a.prototype.typeId=184,a.prototype.typeName="GetRecordings",a})(),Be=o.RequestGetTranscription=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetTranscription;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Id=e.int32():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:564,GetTranscription:this})},a.prototype.typeId=564,a.prototype.typeName="GetTranscription",a})(),et=o.ResponseGetTranscription=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.Transcription&&Object.hasOwnProperty.call(e,"Transcription")&&t.uint32(18).string(e.Transcription),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseGetTranscription;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.Transcription=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:267,TranscriptionResponse:this})},a.prototype.typeId=267,a.prototype.typeName="TranscriptionResponse",a})(),It=o.RequestDeleteRecording=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.Delete&&Object.hasOwnProperty.call(e,"Delete")&&t.uint32(16).bool(e.Delete),null!=e.Archive&&Object.hasOwnProperty.call(e,"Archive")&&t.uint32(24).bool(e.Archive),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestDeleteRecording;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.Delete=e.bool();break;case 3:u.Archive=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:185,DeleteRecording:this})},a.prototype.typeId=185,a.prototype.typeName="DeleteRecording",a})(),fn=(o.ChatRating=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(8).int32(e.IdConversation),null!=e.Rating&&Object.hasOwnProperty.call(e,"Rating")&&t.uint32(16).int32(e.Rating),null!=e.Comments&&Object.hasOwnProperty.call(e,"Comments")&&t.uint32(26).string(e.Comments),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ChatRating;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdConversation=e.int32();break;case 2:u.Rating=e.int32();break;case 3:u.Comments=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.RequestChatRating=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Rating&&Object.hasOwnProperty.call(e,"Rating")&&o.ChatRating.encode(e.Rating,t.uint32(10).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestChatRating;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>
13==1?u.Rating=o.ChatRating.decode(e,e.uint32()):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:191,SendChatRating:this})},a.prototype.typeId=191,a.prototype.typeName="SendChatRating",a})()),bn=o.NotificationChatRating=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Rating&&Object.hasOwnProperty.call(e,"Rating")&&o.ChatRating.encode(e.Rating,t.uint32(10).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.NotificationChatRating;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Rating=o.ChatRating.decode(e,e.uint32()):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:238,ChatRating:this})},a.prototype.typeId=238,a.prototype.typeName="ChatRating",a})(),jn=o.RequestMyQueues=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestMyQueues;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:501,GetMyQueues:this})},a.prototype.typeId=501,a.prototype.typeName="GetMyQueues",a})(),qn=o.ResponseMyQueues=(()=>{function a(r){if(this.QueueNumber=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.QueueNumber=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.QueueNumber&&e.QueueNumber.length)for(let k=0;k<e.QueueNumber.length;++k)t.uint32(10).string(e.QueueNumber[k]);return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseMyQueues;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.QueueNumber&&u.QueueNumber.length||(u.QueueNumber=[]),u.QueueNumber.push(e.string())):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:245,MyQueues:this})},a.prototype.typeId=245,a.prototype.typeName="MyQueues",a})(),Di=o.RequestStartChatMonitoring=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.QueueNumber&&Object.hasOwnProperty.call(e,"QueueNumber")&&t.uint32(10).string(e.QueueNumber),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestStartChatMonitoring;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.QueueNumber=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:195,StartChatMonitoring:this})},a.prototype.typeId=195,a.prototype.typeName="StartChatMonitoring",a})(),yi=o.RequestStopChatMonitoring=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestStopChatMonitoring;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:196,StopChatMonitoring:this})},a.prototype.typeId=196,a.prototype.typeName="StopChatMonitoring",a})(),xi=o.ResponseChatMonitoring=(()=>{function a(r){if(this.Conversations=[],this.Messages=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Conversations=C.emptyArray,a.prototype.Messages=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Conversations&&e.Conversations.length)for(let k=0;k<e.Conversations.length;++k)o.ChatPartyInfo.encode(e.Conversations[k],t.uint32(10).fork()).ldelim();if(null!=e.Messages&&e.Messages.length)for(let k=0;k<e.Messages.length;++k)o.ChatMessage.encode(e.Messages[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseChatMonitoring;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Conversations&&u.Conversations.length||(u.Conversations=[]),u.Conversations.push(o.ChatPartyInfo.decode(e,e.uint32()));break;case 2:u.Messages&&u.Messages.length||(u.Messages=[]),u.Messages.push(o.ChatMessage.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:242,ChatMonitoringFullState:this})},a.prototype.typeId=242,a.prototype.typeName="ChatMonitoringFullState",a})(),wo=o.ChatMonitoringEvent=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.OnConversationChanged&&Object.hasOwnProperty.call(e,"OnConversationChanged")&&o.ResponseConversationInfo.encode(e.OnConversationChanged,t.uint32(10).fork()).ldelim(),null!=e.OnCloseConversation&&Object.hasOwnProperty.call(e,"OnCloseConversation")&&o.AnonymousSessionClosed.encode(e.OnCloseConversation,t.uint32(18).fork()).ldelim(),null!=e.OnTyping&&Object.hasOwnProperty.call(e,"OnTyping")&&o.ChatTyping.encode(e.OnTyping,t.uint32(42).fork()).ldelim(),null!=e.OnNewMessage&&Object.hasOwnProperty.call(e,"OnNewMessage")&&o.ChatMessage.encode(e.OnNe
1wMessage,t.uint32(50).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ChatMonitoringEvent;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.OnConversationChanged=o.ResponseConversationInfo.decode(e,e.uint32());break;case 2:u.OnCloseConversation=o.AnonymousSessionClosed.decode(e,e.uint32());break;case 5:u.OnTyping=o.ChatTyping.decode(e,e.uint32());break;case 6:u.OnNewMessage=o.ChatMessage.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:243,ChatMonitoringNotification:this})},a.prototype.typeId=243,a.prototype.typeName="ChatMonitoringNotification",a})(),Ro=o.RequestProviderMapping=(()=>{function a(r){if(this.Mappings=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Mappings=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Mappings&&e.Mappings.length)for(let k=0;k<e.Mappings.length;++k)o.ProviderMapping.encode(e.Mappings[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestProviderMapping;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Mappings&&u.Mappings.length||(u.Mappings=[]),u.Mappings.push(o.ProviderMapping.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:199,ProviderMapping:this})},a.prototype.typeId=199,a.prototype.typeName="ProviderMapping",a})(),z=(o.ProviderInfo=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.ExternalNumber&&Object.hasOwnProperty.call(e,"ExternalNumber")&&t.uint32(10).string(e.ExternalNumber),null!=e.EncodedProvider&&Object.hasOwnProperty.call(e,"EncodedProvider")&&t.uint32(18).string(e.EncodedProvider),null!=e.Type&&Object.hasOwnProperty.call(e,"Type")&&t.uint32(26).string(e.Type),null!=e.InstanceName&&Object.hasOwnProperty.call(e,"InstanceName")&&t.uint32(34).string(e.InstanceName),null!=e.LocalLogo&&Object.hasOwnProperty.call(e,"LocalLogo")&&t.uint32(42).string(e.LocalLogo),null!=e.ProviderId&&Object.hasOwnProperty.call(e,"ProviderId")&&t.uint32(50).string(e.ProviderId),null!=e.LocalIcon&&Object.hasOwnProperty.call(e,"LocalIcon")&&t.uint32(58).string(e.LocalIcon),null!=e.UsePhoneNumbers&&Object.hasOwnProperty.call(e,"UsePhoneNumbers")&&t.uint32(64).bool(e.UsePhoneNumbers),null!=e.UnavailableAutoReply&&Object.hasOwnProperty.call(e,"UnavailableAutoReply")&&t.uint32(74).string(e.UnavailableAutoReply),null!=e.RouteTo&&Object.hasOwnProperty.call(e,"RouteTo")&&t.uint32(82).string(e.RouteTo),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ProviderInfo;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.ExternalNumber=e.string();break;case 2:u.EncodedProvider=e.string();break;case 3:u.Type=e.string();break;case 4:u.InstanceName=e.string();break;case 5:u.LocalLogo=e.string();break;case 6:u.ProviderId=e.string();break;case 7:u.LocalIcon=e.string();break;case 8:u.UsePhoneNumbers=e.bool();break;case 9:u.UnavailableAutoReply=e.string();break;case 10:u.RouteTo=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.ProviderMapping=(()=>{function a(r){if(this.DNs=[],this.Groups=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.DNs=C.emptyArray,a.prototype.Groups=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Provider&&Object.hasOwnProperty.call(e,"Provider")&&o.ProviderInfo.encode(e.Provider,t.uint32(10).fork()).ldelim(),null!=e.DNs&&e.DNs.length)for(let k=0;k<e.DNs.length;++k)t.uint32(18).string(e.DNs[k]);if(null!=e.Groups&&e.Groups.length)for(let k=0;k<e.Groups.length;++k)t.uint32(26).string(e.Groups[k]);return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ProviderMapping;
1for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Provider=o.ProviderInfo.decode(e,e.uint32());break;case 2:u.DNs&&u.DNs.length||(u.DNs=[]),u.DNs.push(e.string());break;case 3:u.Groups&&u.Groups.length||(u.Groups=[]),u.Groups.push(e.string());break;default:e.skipType(7&E)}}return u},a})(),o.RequestAvailableProviders=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestAvailableProviders;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:500,GetMyProviders:this})},a.prototype.typeId=500,a.prototype.typeName="GetMyProviders",a})()),ce=o.ResponseAvailableProviders=(()=>{function a(r){if(this.Providers=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Providers=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Providers&&e.Providers.length)for(let k=0;k<e.Providers.length;++k)o.ProviderInfo.encode(e.Providers[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseAvailableProviders;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Providers&&u.Providers.length||(u.Providers=[]),u.Providers.push(o.ProviderInfo.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:244,MyProviders:this})},a.prototype.typeId=244,a.prototype.typeName="MyProviders",a})(),Ne=o.RequestGetConversationEvents=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(8).int32(e.IdConversation),null!=e.Offset&&Object.hasOwnProperty.call(e,"Offset")&&t.uint32(16).int32(e.Offset),null!=e.Count&&Object.hasOwnProperty.call(e,"Count")&&t.uint32(24).int32(e.Count),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetConversationEvents;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdConversation=e.int32();break;case 2:u.Offset=e.int32();break;case 3:u.Count=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:503,GetConversationEvents:this})},a.prototype.typeId=503,a.prototype.typeName="GetConversationEvents",a})(),vt=o.RequestGetQMConversationEvents=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(8).int32(e.IdConversation),null!=e.Offset&&Object.hasOwnProperty.call(e,"Offset")&&t.uint32(16).int32(e.Offset),null!=e.Count&&Object.hasOwnProperty.call(e,"Count")&&t.uint32(24).int32(e.Count),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetQMConversationEvents;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdConversation=e.int32();break;case 2:u.Offset=e.int32();break;case 3:u.Count=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:504,GetQMConversationEvents:this})},a.prototype.typeId=504,a.prototype.typeName="GetQMConversationEvents",a})(),Ht=o.ResponseConversationEvents=(()=>{function a(r){if(this.Events=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Events=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Events&&e.Events.length)for(let k=0;k<e.Events.length;++k)o.ConversationEvent.encode(e.Events[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseConversationEvents;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Events&&u.Events.length||(u.Events=[]),u.Events.push(o.ConversationEvent.decode(e,e.uint32()))):e.ski
1pType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:246,ConversationEvents:this})},a.prototype.typeId=246,a.prototype.typeName="ConversationEvents",a})(),In=(o.ConversationEvent=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdMessage&&Object.hasOwnProperty.call(e,"IdMessage")&&t.uint32(8).int32(e.IdMessage),null!=e.TimeSent&&Object.hasOwnProperty.call(e,"TimeSent")&&o.DateTime.encode(e.TimeSent,t.uint32(18).fork()).ldelim(),null!=e.MessageType&&Object.hasOwnProperty.call(e,"MessageType")&&t.uint32(24).int32(e.MessageType),null!=e.Sender&&Object.hasOwnProperty.call(e,"Sender")&&o.ChatRecipient.encode(e.Sender,t.uint32(34).fork()).ldelim(),null!=e.Message&&Object.hasOwnProperty.call(e,"Message")&&t.uint32(42).string(e.Message),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ConversationEvent;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdMessage=e.int32();break;case 2:u.TimeSent=o.DateTime.decode(e,e.uint32());break;case 3:u.MessageType=e.int32();break;case 4:u.Sender=o.ChatRecipient.decode(e,e.uint32());break;case 5:u.Message=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.RequestRefreshConversation=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(8).int32(e.IdConversation),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestRefreshConversation;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.IdConversation=e.int32():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:505,RefreshConversation:this})},a.prototype.typeId=505,a.prototype.typeName="RefreshConversation",a})()),gi=(o.Param=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(10).string(e.Name),null!=e.Value&&Object.hasOwnProperty.call(e,"Value")&&t.uint32(18).string(e.Value),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.Param;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Name=e.string();break;case 2:u.Value=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.WmBridgeParameters=(()=>{function a(r){if(this.Parameters=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Parameters=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Parameters&&e.Parameters.length)for(let k=0;k<e.Parameters.length;++k)o.Param.encode(e.Parameters[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.WmBridgeParameters;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Parameters&&u.Parameters.length||(u.Parameters=[]),u.Parameters.push(o.Param.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:247,WmParam
1s:this})},a.prototype.typeId=247,a.prototype.typeName="WmParams",a})()),Oo=(o.MeetingRow=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(26).string(e.Name),null!=e.Description&&Object.hasOwnProperty.call(e,"Description")&&t.uint32(34).string(e.Description),null!=e.Pin&&Object.hasOwnProperty.call(e,"Pin")&&t.uint32(42).string(e.Pin),null!=e.Target&&Object.hasOwnProperty.call(e,"Target")&&t.uint32(50).string(e.Target),null!=e.StartAt&&Object.hasOwnProperty.call(e,"StartAt")&&o.DateTime.encode(e.StartAt,t.uint32(58).fork()).ldelim(),null!=e.EndAt&&Object.hasOwnProperty.call(e,"EndAt")&&o.DateTime.encode(e.EndAt,t.uint32(66).fork()).ldelim(),null!=e.MeetingObject&&Object.hasOwnProperty.call(e,"MeetingObject")&&t.uint32(74).string(e.MeetingObject),null!=e.MeetingType&&Object.hasOwnProperty.call(e,"MeetingType")&&t.uint32(80).int32(e.MeetingType),null!=e.Documents&&Object.hasOwnProperty.call(e,"Documents")&&t.uint32(90).string(e.Documents),null!=e.UniqueName&&Object.hasOwnProperty.call(e,"UniqueName")&&t.uint32(98).string(e.UniqueName),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.MeetingRow;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Name=e.string();break;case 4:u.Description=e.string();break;case 5:u.Pin=e.string();break;case 6:u.Target=e.string();break;case 7:u.StartAt=o.DateTime.decode(e,e.uint32());break;case 8:u.EndAt=o.DateTime.decode(e,e.uint32());break;case 9:u.MeetingObject=e.string();break;case 10:u.MeetingType=e.int32();break;case 11:u.Documents=e.string();break;case 12:u.UniqueName=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.RequestUpdateMeetingDocuments=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.Documents&&Object.hasOwnProperty.call(e,"Documents")&&t.uint32(18).string(e.Documents),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUpdateMeetingDocuments;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.Documents=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:506,UpdateMeetingDocuments:this})},a.prototype.typeId=506,a.prototype.typeName="UpdateMeetingDocuments",a})()),qs=o.MeetingRows=(()=>{function a(r){if(this.Rows=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Rows=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Rows&&e.Rows.length)for(let k=0;k<e.Rows.length;++k)o.MeetingRow.encode(e.Rows[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.MeetingRows;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Rows&&u.Rows.length||(u.Rows=[]),u.Rows.push(o.MeetingRow.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:248,NotificationMeetingRows:this})},a.prototype.typeId=248,a.prototype.typeName="NotificationMeetingRows",a})(),lr=o.WmPollings=(()=>{function a(r){if(this.Pollings=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Pollings=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Pollings&&e.Pollings.length)for(let k=0;k<e.Pollings.length;++k)o.WmPolling.encode(e.Pollings[k],t.uint32(18).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.WmPollings;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Pollings&&u.Pollings.length||(u.Pollings=[]),u.Pollings.push(o.WmPolling.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:507,WebMeetingPollings:this})},a.prototype.typeId=507,a.prototype.typeName="WebMeetingPollings",a})(),cr=(o.WmPolling=(()=>{function a(r){if(this.Fields=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Fields=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(26).string(e.Name),null!=e.Owner&&Object.hasOwnProperty.call(e,"Owner")&&t.uint32(34).string(e.Owner),null!=e.Fields&&e.Fields.length)for(let k=0;k<e.Fields.length;++k)o.Param.encode(e.Fields[k],t.uint32(42).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.WmPolling;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.Name=e.string();break;case 4:u.Owner=e.string();break;case 5:u.Fields&&u.Fields.length||(u.Fields=[]),u.Fields.push(o.Param.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a})(),o.MeetingStateNotification=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(16).int32(e.Id),null!=e.State&&Object.hasOwnProperty.call(e,"State")&&t.uint32(24).int32(e.State),null!=e.IsQuickMeeting&&Object.hasOwnProperty.call(e,"IsQuickMeeting")&&t.uint32(32).bool(e.IsQuickMeeting),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.MeetingStateNotification;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Id=e.int32();break;case 3:u.State=e.int32();break;case 4:u.IsQuickMeeting=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:250,MeetingState:this})},a.prototype.typeId=250,a.prototype.typeName="MeetingState",a}
1)()),Jr=o.MeetingStateNotifications=(()=>{function a(r){if(this.States=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.States=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.States&&e.States.length)for(let k=0;k<e.States.length;++k)o.MeetingStateNotification.encode(e.States[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.MeetingStateNotifications;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.States&&u.States.length||(u.States=[]),u.States.push(o.MeetingStateNotification.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:251,MeetingStates:this})},a.prototype.typeId=251,a.prototype.typeName="MeetingStates",a})(),Ps=o.RequestCloseMeeting=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestCloseMeeting;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Id=e.int32():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:511,CloseMeeting:this})},a.prototype.typeId=511,a.prototype.typeName="CloseMeeting",a})(),Ur=o.RequestForwardChatMessage=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.SrcIdMessage&&Object.hasOwnProperty.call(e,"SrcIdMessage")&&t.uint32(8).int32(e.SrcIdMessage),null!=e.DstIdConversation&&Object.hasOwnProperty.call(e,"DstIdConversation")&&t.uint32(16).int32(e.DstIdConversation),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestForwardChatMessage;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.SrcIdMessage=e.int32();break;case 2:u.DstIdConversation=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:508,ForwardMessage:this})},a.prototype.typeId=508,a.prototype.typeName="ForwardMessage",a})(),Zs=o.RequestCheckIpBlocked=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IpAddress&&Object.hasOwnProperty.call(e,"IpAddress")&&t.uint32(10).string(e.IpAddress),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestCheckIpBlocked;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.IpAddress=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:513,RqCheckIpBlocked:this})},a.prototype.typeId=513,a.prototype.typeName="RqCheckIpBlocked",a})(),er=o.ResponseCheckIpBlocked=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IpAddress&&Object.hasOwnProperty.call(e,"IpAddress")&&t.uint32(10).string(e.IpAddress),null!=e.IsBlocked&&Object.hasOwnProperty.call(e,"IsBlocked")&&t.uint32(16).bool(e.IsBlocked),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseCheckIpBlocked;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IpAddress=e.string();break;case 2:u.IsBlocked=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:252,RespCheckIpBlocked:this})},a.prototype.typeId=252,a.prototype.typeName="RespCheckIpBlocked",a})(),la=o.RequestPreviousInteractions=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Contact&&Object.hasOwnProperty.call(e,"Contact")&&o.Contact.encode(e.Contact,t.uint32(10).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestPreviousInteractions;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>
13==1?u.Contact=o.Contact.decode(e,e.uint32()):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:515,GetPreviousInteractions:this})},a.prototype.typeId=515,a.prototype.typeName="GetPreviousInteractions",a})(),Wr=(o.InteractionDetails=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IsChat&&Object.hasOwnProperty.call(e,"IsChat")&&t.uint32(8).bool(e.IsChat),null!=e.IdConversation&&Object.hasOwnProperty.call(e,"IdConversation")&&t.uint32(16).int32(e.IdConversation),null!=e.LocalExtension&&Object.hasOwnProperty.call(e,"LocalExtension")&&o.Contact.encode(e.LocalExtension,t.uint32(26).fork()).ldelim(),null!=e.LastActivity&&Object.hasOwnProperty.call(e,"LastActivity")&&o.DateTime.encode(e.LastActivity,t.uint32(34).fork()).ldelim(),null!=e.CallType&&Object.hasOwnProperty.call(e,"CallType")&&t.uint32(40).int32(e.CallType),null!=e.Duration&&Object.hasOwnProperty.call(e,"Duration")&&t.uint32(48).int32(e.Duration),null!=e.QueueNumber&&Object.hasOwnProperty.call(e,"QueueNumber")&&t.uint32(58).string(e.QueueNumber),null!=e.QueueName&&Object.hasOwnProperty.call(e,"QueueName")&&t.uint32(66).string(e.QueueName),null!=e.IsTaken&&Object.hasOwnProperty.call(e,"IsTaken")&&t.uint32(72).bool(e.IsTaken),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.InteractionDetails;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IsChat=e.bool();break;case 2:u.IdConversation=e.int32();break;case 3:u.LocalExtension=o.Contact.decode(e,e.uint32());break;case 4:u.LastActivity=o.DateTime.decode(e,e.uint32());break;case 5:u.CallType=e.int32();break;case 6:u.Duration=e.int32();break;case 7:u.QueueNumber=e.string();break;case 8:u.QueueName=e.string();break;case 9:u.IsTaken=e.bool();break;default:e.skipType(7&E)}}return u},a})(),o.ResponsePreviousInteractions=(()=>{function a(r){if(this.Interactions=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Interactions=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Interactions&&e.Interactions.length)for(let k=0;k<e.Interactions.length;++k)o.InteractionDetails.encode(e.Interactions[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponsePreviousInteractions;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Interactions&&u.Interactions.length||(u.Interactions=[]),u.Interactions.push(o.InteractionDetails.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:253,PreviousInteractions:this})},a.prototype.typeId=253,a.prototype.typeName="PreviousInteractions",a})()),Ms=o.RequestUpdateGroup=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdGroup&&Object.hasOwnProperty.call(e,"IdGroup")&&t.uint32(8).int32(e.IdGroup),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(18).string(e.Name),null!=e.Language&&Object.hasOwnProperty.call(e,"Language")&&t.uint32(26).string(e.Language),null!=e.CurrentGroupHours&&Object.hasOwnProperty.call(e,"CurrentGroupHours")&&t.uint32(32).int32(e.CurrentGroupHours),null!=e.OverrideExpiresAt&&Object.hasOwnProperty.call(e,"OverrideExpiresAt")&&o.DateTime.encode(e.OverrideExpiresAt,t.uint32(42).fork()).ldelim(),null!=e.OpenedHoursOperator&&Object.hasOwnProperty.call(e,"OpenedHoursOperator")&&o.ForwardDestination.encode(e.OpenedHoursOperator,t.uint32(50).fork()).ldelim(),null!=e.BreakTimeOperator&&Object.hasOwnProperty.call(e,"BreakTimeOperator")&&o.ForwardDestination.encode(e.BreakTimeOperator,t.uint32(58).fork()).ldelim(),null!=e.ClosedHoursOperator&&Object.hasOwnProperty.call(e,"ClosedHoursOperator")&&o.ForwardDestination.encode(e.ClosedHoursOperator,t.uint32(66).fork()).ldelim(),null!=e.CustomOperator&&Object.hasOwnProperty.call(e,"CustomOperator")&&o.ForwardDestination.encode(e.CustomOperator,t.uint32(74).fork()).ldelim(),null!=e.OpenedHoursPrompt&&Object.hasOwnProperty.call(e,"OpenedHoursPrompt")&&t.uint32(82).string(e.OpenedHoursPrompt),null!=e.ClosedHoursPrompt&&Object.hasOwnProperty.call(e,"ClosedHoursPrompt")&&t.uint32(90).string(e.ClosedHoursPrompt),null!=e.BreakTimePrompt&&Object.hasOwnProperty.call(e,"BreakTimePrompt")&&t.uint32(98).string(e.BreakTimePrompt),null!=e.CustomPrompt&&Object.hasOwnProperty.call(e,"CustomPrompt")&&t.uint32(106).string(e.CustomPrompt),null!=e.DisableCustomPrompt&&Object.hasOwnProperty.call(e,"DisableCustomPrompt")&&t.uint32(112).bool(e.DisableCustomPrompt),null!=e.DisableOpenedHoursPrompt&&Object.hasOwnProperty.call(e,"DisableOpenedHoursPrompt")&&t.uint32(120).bool(e.DisableOpenedHoursPrompt),null!=e.DisableClosedHoursPrompt&&Object.hasOwnProperty.call(e,"DisableClosedHoursPrompt")&&t.uint32(128).bool(e.DisableClosedHoursPrompt),null!=e.DisableBreakTimePrompt&&Object.hasOwnProperty.call(e,"DisableBreakTimePrompt")&&t.uint32(136).bool(e.DisableBreakTimePrompt),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUpdateGroup;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdGroup=e.int32();break;case 2:u.Name=e.string();break;case 3:u.Language=e.string();break;case 4:u.CurrentGroupHours=e.int32();break;case 5:u.OverrideExpiresAt=o.DateTime.decode(e,e.uint32());break;case 6:u.OpenedHoursOperator=o.ForwardDestination.decode(e,e.uint32());break;case 7:u.BreakTimeOperator=o.ForwardDestination.decode(e,e.uint32());break;case 8:u.ClosedHoursOperator=o.ForwardDestination.decode(e,e.uint32());break;case 9:u.CustomOperator=o.ForwardDestination.decode(e,e.uint32());break;case 10:u.OpenedHoursPrompt=e.string();break;case 11:u.ClosedHoursPrompt=e.string();break;case 12:u.BreakTimePrompt=e.string();break;case 13:u.CustomPrompt=e.string();break;case 14:u.DisableCustomPrompt=e.bool();break;case 15:u.DisableOpenedHoursPrompt=e.bool();break;case 16:u.DisableClosedHoursPrompt=e.bool();break;case 17:u.DisableBreakTimePrompt=e.bool();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:516,UpdateGroup:this})},a.prototype.typeId=516,a.prototype.typeName="UpdateGroup",a})(),qr=o.RequestGetChatTemplateCategories=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.OwnerDn&&Object.hasOwnProperty.call(e,"OwnerDn")&&t.uint32(10).string(e.OwnerDn),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetChatTemplateCategories;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>
13==1?u.OwnerDn=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:517,GetChatTemplateCategories:this})},a.prototype.typeId=517,a.prototype.typeName="GetChatTemplateCategories",a})(),Wa=o.ResponseGetChatTemplateCategories=(()=>{function a(r){if(this.Categories=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Categories=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Categories&&e.Categories.length)for(let k=0;k<e.Categories.length;++k)o.ChatTemplateCategory.encode(e.Categories[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseGetChatTemplateCategories;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Categories&&u.Categories.length||(u.Categories=[]),u.Categories.push(o.ChatTemplateCategory.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:254,ChatTemplateCategories:this})},a.prototype.typeId=254,a.prototype.typeName="ChatTemplateCategories",a})(),xa=o.ChatTemplateCategory=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(18).string(e.Name),null!=e.OwnerDn&&Object.hasOwnProperty.call(e,"OwnerDn")&&t.uint32(26).string(e.OwnerDn),null!=e.OrderIndex&&Object.hasOwnProperty.call(e,"OrderIndex")&&t.uint32(32).int32(e.OrderIndex),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ChatTemplateCategory;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.Name=e.string();break;case 3:u.OwnerDn=e.string();break;case 4:u.OrderIndex=e.int32();break;default:e.skipType(7&E)}}return u},a})(),ca=o.RequestUpdateCategory=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Category&&Object.hasOwnProperty.call(e,"Category")&&o.ChatTemplateCategory.encode(e.Category,t.uint32(18).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUpdateCategory;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Category=o.ChatTemplateCategory.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:520,UpdateCategory:this})},a.prototype.typeId=520,a.prototype.typeName="UpdateCategory",a})(),ua=o.RequestBulkUpdateCategory=(()=>{function a(r){if(this.Categories=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Categories=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Categories&&e.Categories.length)for(let k=0;k<e.Categories.length;++k)o.RequestUpdateCategory.encode(e.Categories[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestBulkUpdateCategory;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Categories&&u.Categories.length||(u.Categories=[]),u.Categories.push(o.RequestUpdateCategory.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:522,BulkUpdateCategory:this})},a.prototype.typeId=522,a.prototype.typeName="BulkUpdateCategory",a})(),da=o.RequestGetChatTemplateLanguages=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetChatTemplateLanguages;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:518,GetChatTemplateLanguages:this})},a.prototype.typeId=518,a.prototype.typeName="GetChatTemplateLanguages",a})(),fa=o.ResponseGetChatTemplateLanguages=(()=>{function a(r){if(this.Languages=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Languages=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Languages&&e.Languages.length)for(let k=0;k<e.Languages.length;++k)o.ChatTemplateLanguage.encode(e.Languages[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseGetChatTemplateLanguages;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Languages&&u.Languages.length||(u.Languages=[]),u.Languages.push(o.ChatTemplateLanguage.decode(e,e.uint32()))):e.ski
1pType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:255,ChatTemplateLanguages:this})},a.prototype.typeId=255,a.prototype.typeName="ChatTemplateLanguages",a})(),Qa=(o.ChatTemplateLanguage=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(18).string(e.Name),null!=e.Locale&&Object.hasOwnProperty.call(e,"Locale")&&t.uint32(26).string(e.Locale),null!=e.Icon&&Object.hasOwnProperty.call(e,"Icon")&&t.uint32(34).string(e.Icon),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ChatTemplateLanguage;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.Name=e.string();break;case 3:u.Locale=e.string();break;case 4:u.Icon=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.ChatTemplate=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(8).int32(e.Id),null!=e.IdCategory&&Object.hasOwnProperty.call(e,"IdCategory")&&t.uint32(16).int32(e.IdCategory),null!=e.IdLanguage&&Object.hasOwnProperty.call(e,"IdLanguage")&&t.uint32(24).int32(e.IdLanguage),null!=e.Name&&Object.hasOwnProperty.call(e,"Name")&&t.uint32(34).string(e.Name),null!=e.Template&&Object.hasOwnProperty.call(e,"Template")&&t.uint32(42).string(e.Template),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ChatTemplate;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.int32();break;case 2:u.IdCategory=e.int32();break;case 3:u.IdLanguage=e.int32();break;case 4:u.Name=e.string();break;case 5:u.Template=e.string();break;default:e.skipType(7&E)}}return u},a})()),Zr=o.RequestGetChatTemplates=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.IdCategory&&Object.hasOwnProperty.call(e,"IdCategory")&&t.uint32(8).int32(e.IdCategory),null!=e.IdLanguage&&Object.hasOwnProperty.call(e,"IdLanguage")&&t.uint32(16).int32(e.IdLanguage),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetChatTemplates;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.IdCategory=e.int32();break;case 2:u.IdLanguage=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:519,GetChatTemplates:this})},a.prototype.typeId=519,a.prototype.typeName="GetChatTemplates",a})(),va=o.RequestUpdateChatTemplate=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Action&&Object.hasOwnProperty.call(e,"Action")&&t.uint32(8).int32(e.Action),null!=e.Template&&Object.hasOwnProperty.call(e,"Template")&&o.ChatTemplate.encode(e.Template,t.uint32(18).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUpdateChatTemplate;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Action=e.int32();break;case 2:u.Template=o.ChatTemplate.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:521,UpdateTemplate:this})},a.prototype.typeId=521,a.prototype.typeName="UpdateTemplate",a})(),Hs=o.ResponseGetChatTemplates=(()=>{function a(r){if(this.Templates=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Templates=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Templates&&e.Templates.length)for(let k=0;k<e.Templates.length;++k)o.ChatTemplate.encode(e.Templates[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseGetChatTemplates;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Templates&&u.Templates.length||(u.Templates=[]),u.Templates.push(o.ChatTemplate.decode(e,e.uint32()))):e.ski
1pType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:256,ChatTemplates:this})},a.prototype.typeId=256,a.prototype.typeName="ChatTemplates",a})(),ha=o.RequestGetMeetingDetails=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.OrganizerExtension&&Object.hasOwnProperty.call(e,"OrganizerExtension")&&t.uint32(10).string(e.OrganizerExtension),null!=e.StartDate&&Object.hasOwnProperty.call(e,"StartDate")&&o.DateTime.encode(e.StartDate,t.uint32(18).fork()).ldelim(),null!=e.EndDate&&Object.hasOwnProperty.call(e,"EndDate")&&o.DateTime.encode(e.EndDate,t.uint32(26).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetMeetingDetails;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.OrganizerExtension=e.string();break;case 2:u.StartDate=o.DateTime.decode(e,e.uint32());break;case 3:u.EndDate=o.DateTime.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:523,GetMeetingDetails:this})},a.prototype.typeId=523,a.prototype.typeName="GetMeetingDetails",a})(),Ca=o.ResponseMeetingDetails=(()=>{function a(r){if(this.MeetingDetails=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.MeetingDetails=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.MeetingDetails&&e.MeetingDetails.length)for(let k=0;k<e.MeetingDetails.length;++k)o.RequestPutWebMeetingReports2.encode(e.MeetingDetails[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseMeetingDetails;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.MeetingDetails&&u.MeetingDetails.length||(u.MeetingDetails=[]),u.MeetingDetails.push(o.RequestPutWebMeetingReports2.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:257,MeetingDetails:this})},a.prototype.typeId=257,a.prototype.typeName="MeetingDetails",a})(),Ss=o.RequestGetCrmContacts=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.PageNumber&&Object.hasOwnProperty.call(e,"PageNumber")&&t.uint32(8).int32(e.PageNumber),null!=e.PageSize&&Object.hasOwnProperty.call(e,"PageSize")&&t.uint32(16).int32(e.PageSize),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetCrmContacts;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.PageNumber=e.int32();break;case 2:u.PageSize=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:527,GetCrmContacts:this})},a.prototype.typeId=527,a.prototype.typeName="GetCrmContacts",a})(),Ga=o.ResponseCrmContacts=(()=>{function a(r){if(this.Entries=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Entries=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.PageNumber&&Object.hasOwnProperty.call(e,"PageNumber")&&t.uint32(8).int32(e.PageNumber),null!=e.PageSize&&Object.hasOwnProperty.call(e,"PageSize")&&t.uint32(16).int32(e.PageSize),null!=e.Entries&&e.Entries.length)for(let k=0;k<e.Entries.length;++k)o.Contact.encode(e.Entries[k],t.uint32(26).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseCrmContacts;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.PageNumber=e.int32();break;case 2:u.PageSize=e.int32();break;case 3:u.Entries&&u.Entries.length||(u.Entries=[]),u.Entries.push(o.Contact.decode(e,e.uint32()));break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:259,CrmContactList:this})},a.prototype.typeId=259,a.prototype.typeName="CrmContactList",a})(),ea=o.RequestSearchCrmContacts=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.InputString&&Object.hasOwnProperty.call(e,"InputString")&&t.uint32(10).string(e.InputString),null!=e.MaxContactCount&&Object.hasOwnProperty.call(e,"MaxContactCount")&&t.uint32(16).int32(e.MaxContactCount),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestSearchCrmContacts;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.InputString=e.string();break;case 2:u.MaxContactCount=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:528,SearchCrmContacts:this})},a.prototype.typeId=528,a.prototype.typeName="SearchCrmContacts",a})(),Na=o.ResponseSearchCrmContacts=(()=>{function a(r){if(this.Entries=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Entries=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Entries&&e.Entries.length)for(let k=0;k<e.Entries.length;++k)o.Contact.encode(e.Entries[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseSearchCrmContacts;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Entries&&u.Entries.length||(u.Entries=[]),u.Entries.push(o.Contact.decode(e,e.uint32()))):e.ski
1pType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:260,FoundCrmContacts:this})},a.prototype.typeId=260,a.prototype.typeName="FoundCrmContacts",a})(),pa=(o.AudioInfo=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(10).string(e.Id),null!=e.File&&Object.hasOwnProperty.call(e,"File")&&t.uint32(18).string(e.File),null!=e.Type&&Object.hasOwnProperty.call(e,"Type")&&t.uint32(24).int32(e.Type),null!=e.CallerNumber&&Object.hasOwnProperty.call(e,"CallerNumber")&&t.uint32(34).string(e.CallerNumber),null!=e.CallerName&&Object.hasOwnProperty.call(e,"CallerName")&&t.uint32(42).string(e.CallerName),null!=e.CalleeNumber&&Object.hasOwnProperty.call(e,"CalleeNumber")&&t.uint32(50).string(e.CalleeNumber),null!=e.CalleeName&&Object.hasOwnProperty.call(e,"CalleeName")&&t.uint32(58).string(e.CalleeName),null!=e.Language&&Object.hasOwnProperty.call(e,"Language")&&t.uint32(66).string(e.Language),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.AudioInfo;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.string();break;case 2:u.File=e.string();break;case 3:u.Type=e.int32();break;case 4:u.CallerNumber=e.string();break;case 5:u.CallerName=e.string();break;case 6:u.CalleeNumber=e.string();break;case 7:u.CalleeName=e.string();break;case 8:u.Language=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.RequestAudioTranscode=(()=>{function a(r){if(this.AudioFiles=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.AudioFiles=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.AudioFiles&&e.AudioFiles.length)for(let k=0;k<e.AudioFiles.length;++k)o.AudioInfo.encode(e.AudioFiles[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestAudioTranscode;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.AudioFiles&&u.AudioFiles.length||(u.AudioFiles=[]),u.AudioFiles.push(o.AudioInfo.decode(e,e.uint32()))):e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:557,SendAudioFiles:this})},a.prototype.typeId=557,a.prototype.typeName="SendAudioFiles",a})()),ma=(o.AudioTranscode=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Id&&Object.hasOwnProperty.call(e,"Id")&&t.uint32(10).string(e.Id),null!=e.Success&&Object.hasOwnProperty.call(e,"Success")&&t.uint32(16).bool(e.Success),null!=e.Transcription&&Object.hasOwnProperty.call(e,"Transcription")&&t.uint32(26).string(e.Transcription),null!=e.Summary&&Object.hasOwnProperty.call(e,"Summary")&&t.uint32(34).string(e.Summary),null!=e.SentimentScore&&Object.hasOwnProperty.call(e,"SentimentScore")&&t.uint32(40).int32(e.SentimentScore),null!=e.SentimentText&&Object.hasOwnProperty.call(e,"SentimentText")&&t.uint32(50).string(e.SentimentText),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.AudioTranscode;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Id=e.string();break;case 2:u.Success=e.bool();break;case 3:u.Transcription=e.string();break;case 4:u.Summary=e.string();break;case 5:u.SentimentScore=e.int32();break;case 6:u.SentimentText=e.string();break;default:e.skipType(7&E)}}return u},a})(),o.ResponseAudioTranscode=(()=>{function a(r){if(this.TranscodingResults=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.TranscodingResults=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.TranscodingResults&&e.TranscodingResults.length)for(let k=0;k<e.TranscodingResults.length;++k)o.AudioTranscode.encode(e.TranscodingResults[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseAudioTranscode;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.TranscodingResults&&u.TranscodingResults.length||(u.TranscodingResults=[]),u.TranscodingResults.push(o.AudioTranscode.decode(e,e.uint32()))):e.ski
1pType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:264,AudioTranscodeResults:this})},a.prototype.typeId=264,a.prototype.typeName="AudioTranscodeResults",a})()),br=o.RequestLookupContactNew=(()=>{function a(r){if(this.Sources=[],this.MustHaveMaskList=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Sources=C.emptyArray,a.prototype.MustHaveMaskList=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Input&&Object.hasOwnProperty.call(e,"Input")&&t.uint32(10).string(e.Input),null!=e.Offset&&Object.hasOwnProperty.call(e,"Offset")&&t.uint32(16).int32(e.Offset),null!=e.Count&&Object.hasOwnProperty.call(e,"Count")&&t.uint32(24).int32(e.Count),null!=e.Sources&&e.Sources.length)for(let k=0;k<e.Sources.length;++k)t.uint32(32).int32(e.Sources[k]);if(null!=e.GroupBy&&Object.hasOwnProperty.call(e,"GroupBy")&&t.uint32(40).bool(e.GroupBy),null!=e.MustHaveMaskList&&e.MustHaveMaskList.length)for(let k=0;k<e.MustHaveMaskList.length;++k)t.uint32(48).int32(e.MustHaveMaskList[k]);return null!=e.SearchByMask&&Object.hasOwnProperty.call(e,"SearchByMask")&&t.uint32(56).int32(e.SearchByMask),null!=e.SortBy&&Object.hasOwnProperty.call(e,"SortBy")&&t.uint32(64).int32(e.SortBy),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestLookupContactNew;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Input=e.string();break;case 2:u.Offset=e.int32();break;case 3:u.Count=e.int32();break;case 4:if(u.Sources&&u.Sources.length||(u.Sources=[]),2==(7&E)){let Oi=e.uint32()+e.pos;for(;e.pos<Oi;)u.Sources.push(e.int32())}else u.Sources.push(e.int32());break;case 5:u.GroupBy=e.bool();break;case 6:if(u.MustHaveMaskList&&u.MustHaveMaskList.length||(u.MustHaveMaskList=[]),2==(7&E)){let Oi=e.uint32()+e.pos;for(;e.pos<Oi;)u.MustHaveMaskList.push(e.int32())}else u.MustHaveMaskList.push(e.int32());break;case 7:u.SearchByMask=e.int32();break;case 8:u.SortBy=e.int32();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:560,LookupContactNew:this})},a.prototype.typeId=560,a.prototype.typeName="LookupContactNew",a})(),Ma=o.RequestBlockPhoneNumber=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Number&&Object.hasOwnProperty.call(e,"Number")&&t.uint32(10).string(e.Number),null!=e.Description&&Object.hasOwnProperty.call(e,"Description")&&t.uint32(18).string(e.Description),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestBlockPhoneNumber;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.Number=e.string();break;case 2:u.Description=e.string();break;default:e.skipType(7&E)}}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:562,BlockPhoneNumber:this})},a.prototype.typeId=562,a.prototype.typeName="BlockPhoneNumber",a})(),Yr=o.RequestUnblockPhoneNumber=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.Number&&Object.hasOwnProperty.call(e,"Number")&&t.uint32(10).string(e.Number),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestUnblockPhoneNumber;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?u.Number=e.string():e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:563,UnblockPhoneNumber:this})},a.prototype.typeId=563,a.prototype.typeName="UnblockPhoneNumber",a})(),Da=o.RequestGetGroupInfos=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.RequestGetGroupInfos;for(;e.pos<re;){let E=e.uint32();if(E===k)break;e.skipType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:566,GetGroupInfos:this})},a.prototype.typeId=566,a.prototype.typeName="GetGroupInfos",a})(),Je=o.ResponseGroupInfos=(()=>{function a(r){if(this.Groups=[],r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.prototype.Groups=C.emptyArray,a.encode=function(e,t){if(t||(t=_.create()),null!=e.Groups&&e.Groups.length)for(let k=0;k<e.Groups.length;++k)o.GroupId.encode(e.Groups[k],t.uint32(10).fork()).ldelim();return t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.ResponseGroupInfos;for(;e.pos<re;){let E=e.uint32();if(E===k)break;E>>>3==1?(u.Groups&&u.Groups.length||(u.Groups=[]),u.Groups.push(o.GroupId.decode(e,e.uint32()))):e.ski
1pType(7&E)}return u},a.prototype.toGenericMessage=function(){return new o.GenericMessage({MessageId:269,GroupInfos:this})},a.prototype.typeId=269,a.prototype.typeName="GroupInfos",a})(),ke=o.GenericMessage=(()=>{function a(r){if(r)for(let e=Object.keys(r),t=0;t<e.length;++t)null!=r[e[t]]&&(this[e[t]]=r[e[t]])}return a.encode=function(e,t){return t||(t=_.create()),null!=e.MessageId&&Object.hasOwnProperty.call(e,"MessageId")&&t.uint32(8).int32(e.MessageId),null!=e.LoginRequest&&Object.hasOwnProperty.call(e,"LoginRequest")&&o.Login.encode(e.LoginRequest,t.uint32(802).fork()).ldelim(),null!=e.LogoutRequest&&Object.hasOwnProperty.call(e,"LogoutRequest")&&o.Logout.encode(e.LogoutRequest,t.uint32(810).fork()).ldelim(),null!=e.GetMyInfo&&Object.hasOwnProperty.call(e,"GetMyInfo")&&o.RequestMyInfo.encode(e.GetMyInfo,t.uint32(818).fork()).ldelim(),null!=e.ChangeStatus&&Object.hasOwnProperty.call(e,"ChangeStatus")&&o.RequestChangeStatus.encode(e.ChangeStatus,t.uint32(826).fork()).ldelim(),null!=e.LookupContact&&Object.hasOwnProperty.call(e,"LookupContact")&&o.RequestLookupContact.encode(e.LookupContact,t.uint32(834).fork()).ldelim(),null!=e.GetFile&&Object.hasOwnProperty.call(e,"GetFile")&&o.RequestGetFile.encode(e.GetFile,t.uint32(842).fork()).ldelim(),null!=e.GetCallHistory&&Object.hasOwnProperty.call(e,"GetCallHistory")&&o.RequestCallHistory.encode(e.GetCallHistory,t.uint32(850).fork()).ldelim(),null!=e.GetCallHistoryCount&&Object.hasOwnProperty.call(e,"GetCallHistoryCount")&&o.RequestCallHistoryCount.encode(e.GetCallHistoryCount,t.uint32(858).fork()).ldelim(),null!=e.UpdateFwdProfiles&&Object.hasOwnProperty.call(e,"UpdateFwdProfiles")&&o.RequestUpdateFwdProfile.encode(e.UpdateFwdProfiles,t.uint32(866).fork()).ldelim(),null!=e.GetExtensions&&Object.hasOwnProperty.call(e,"GetExtensions")&&o.RequestGetExtensions.encode(e.GetExtensions,t.uint32(874).fork()).ldelim(),null!=e.SendChatMessage&&Object.hasOwnProperty.call(e,"SendChatMessage")&&o.RequestSendChatMessage.encode(e.SendChatMessage,t.uint32(882).fork()).ldelim(),null!=e.GetMyMessages&&Object.hasOwnProperty.call(e,"GetMyMessages")&&o.RequestGetMyMessages.encode(e.GetMyMessages,t.uint32(890).fork()).ldelim(),null!=e.MessagesReceived&&Object.hasOwnProperty.call(e,"MessagesReceived")&&o.RequestSetChatReceived.encode(e.MessagesReceived,t.uint32(898).fork()).ldelim(),null!=e.PutFile&&Object.hasOwnProperty.call(e,"PutFile")&&o.RequestPutFile.encode(e.PutFile,t.uint32(906).fork()).ldelim(),null!=e.SetVMRead&&Object.hasOwnProperty.call(e,"SetVMRead")&&o.RequestSetVoiceMailHeard.encode(e.SetVMRead,t.uint32(914).fork()).ldelim(),null!=e.DropCall&&Object.hasOwnProperty.call(e,"DropCall")&&o.RequestDropCall.encode(e.DropCall,t.uint32(922).fork()).ldelim(),null!=e.DivertCall&&Object.hasOwnProperty.call(e,"DivertCall")&&o.RequestDivertCall.encode(e.DivertCall,t.uint32(930).fork()).ldelim(),null!=e.PickupCall&&Object.hasOwnProperty.call(e,"PickupCall")&&o.RequestPickupCall.encode(e.PickupCall,t.uint32(938).fork()).ldelim(),null!=e.TransferCall&&Object.hasOwnProperty.call(e,"TransferCall")&&o.RequestTransferCall.encode(e.TransferCall,t.uint32(946).fork()).ldelim(),null!=e.MakeCall&&Object.hasOwnProperty.call(e,"MakeCall")&&o.RequestMakeCall.encode(e.MakeCall,t.uint32(954).fork()).ldelim(),null!=e.UpdateContact&&Object.hasOwnProperty.call(e,"UpdateContact")&&o.RequestUpdateContact.encode(e.UpdateContact,t.uint32(962).fork()).ldelim(),null!=e.ChangeConference&&Object.hasOwnProperty.call(e,"ChangeConference")&&o.RequestChangeConference.encode(e.ChangeConference,t.uint32(970).fork()).ldelim(),null!=e.GetSystemParameters&&Object.hasOwnProperty.call(e,"GetSystemParameters")&&o.RequestGetSystemParameters.encode(e.GetSystemParameters,t.uint32(978).fork()).ldelim(),null!=e.BargeInCall&&Object.hasOwnProperty.call(e,"BargeInCall")&&o.RequestBargeInCall.encode(e.BargeInCall,t.uint32(986).fork()).ldelim(),null!=e.GetAccessRights&&Object.hasOwnProperty.call(e,"GetAccessRights")&&o.RequestConnectionAccessRights.encode(e.GetAccessRights,t.uint32(994).fork()).ldelim(),null!=e.ResetMyMissedCalls&&Object.hasOwnProperty.call(e,"ResetMyMissedCalls")&&o.RequestResetMyMissedCalls.encode(e.ResetMyMissedCalls,t.uint32(1002).fork()).ldelim(),null!=e.DeleteVM&&Object.hasOwnProperty.call(e,"DeleteVM")&&o.RequestDeleteVoiceMail.encode(e.DeleteVM,t.uint32(1010).fork()).ldelim(),null!=e.PlayVM&&Object.hasOwnProperty.call(e,"PlayVM")&&o.RequestPlayVoiceMail.encode(e.PlayVM,t.uint32(1018).fork()).ldelim(),null!=e.GetFolderRequest&&Object.hasOwnProperty.call(e,"GetFolderRequest")&&o.RequestGetFolder.encode(e.GetFolderRequest,t.uint32(1026).fork()).ldelim(),null!=e.DeleteFile&&Object.hasOwnProperty.call(e,"DeleteFile")&&o.RequestDeleteFile.encode(e.DeleteFile,t.uint32(1034).fork()).ldelim(),null!=e.PlayRec&&Object.hasOwnProperty.call(e,"PlayRec")&&o.RequestPlayRecording.encode(e.PlayRec,t.uint32(1042).fork()).ldelim(),null!=e.ServerTimeRequest&&Object.hasOwnProperty.call(e,"ServerTimeRequest")&&o.RequestServerTime.encode(e.ServerTimeRequest,t.uint32(1050).fork()).ldelim(),null!=e.SetQueueStatus&&Object.hasOwnProperty.call(e,"SetQueueStatus")&&o.RequestSetQueueStatus.encode(e.SetQueueStatus,t.uint32(1058).fork()).ldelim(),null!=e.ScheduleConferenceRequest&&Object.hasOwnProperty.call(e,"ScheduleConferenceRequest")&&o.RequestUpsertScheduledConference.encode(e.ScheduleConferenceRequest,t.uint32(1066).fork()).ldelim(),null!=e.GetSchedule&&Object.hasOwnProperty.call(e,"GetSchedule")&&o.RequestGetConferenceSchedule.encode(e.GetSchedule,t.uint32(1074).fork()).ldelim(),null!=e.CreateConferenceScheduleTemplate&&Object.hasOwnProperty.call(e,"CreateConferenceScheduleTemplate")&&o.RequestCreateConferenceScheduleTemplate.encode(e.CreateConferenceScheduleTemplate,t.uint32(1082).fork()).ldelim(),null!=e.JoinCallParticipantsToConference&&Object.hasOwnProperty.call(e,"JoinCallParticipantsToConference")&&o.RequestJoinCallParticipantsToConference.encode(e.JoinCallParticipantsToConference,t.uint32(1090).fork()).ldelim(),null!=e.RecordCall&&Object.hasOwnProperty.call(e,"RecordCall")&&o.RequestRecordCall.encode(e.RecordCall,t.uint32(1098).fork()).ldelim(),null!=e.GetMyChatParties&&Object.hasOwnProperty.call(e,"GetMyChatParties")&&o.RequestMyChatParties.encode(e.GetMyChatParties,t.uint32(1106).fork()).ldelim(),null!=e.DeleteChat&&Object.hasOwnProperty.call(e,"DeleteChat")&&o.RequestDeleteChat.encode(e.DeleteChat,t.uint32(1114).fork()).ldelim(),null!=e.GetMyRights&&Object.hasOwnProperty.call(e,"GetMyRights")&&o.RequestGetMyRights.encode(e.GetMyRights,t.uint32(1122).fork()).ldelim(),null!=e.GetGreetings&&Object.hasOwnProperty.call(e,"GetGreetings")&&o.RequestGetGreetings.encode(e.GetGreetings,t.uint32(1130).fork()).ldelim(),null!=e.SetGreetings&&Object.hasOwnProperty.call(e,"SetGreetings")&&o.RequestSetGreetings.encode(e.SetGreetings,t.uint32(1138).fork()).ldelim(),null!=e.PlayVMGreetingOnPhone&&Object.hasOwnProperty.call(e,"PlayVMGreetingOnPhone")&&o.RequestPlayVMGreetingOnPhone.encode(e.PlayVMGreetingOnPhone,t.uint32(1146).fork()).ldelim(),null!=e.RecordVMGreetingFromPhone&&Object.hasOwnProperty.call(e,"RecordVMGreetingFromPhone")&&o.RequestRecordVMGreetingFromPhone.encode(e.RecordVMGreetingFromPhone,t.uint32(1154).fork()).ldelim(),null!=e.GetQueueCalls&&Object.hasOwnProperty.call(e,"GetQueueCalls")&&o.RequestQueueCalls.encode(e.GetQueueCalls,t.uint32(1162).fork()).ldelim(),null!=e.GetQueueCallsCount&&Object.hasOwnProperty.call(e,"GetQueueCallsCount")&&o.RequestQueueCallsCount.encode(e.GetQueueCallsCount,t.uint32(1170).fork()).ldelim(),null!=e.SetQueueCallData&&Object.hasOwnProperty.call(e,"SetQueueCallData")&&o.RequestSetQueueCallData.encode(e.SetQueueCallData,t.uint32(1178).fork()).ldelim(),null!=e.DeleteCallHistory&&Object.hasOwnProperty.call(e,"DeleteCallHistory")&&o.RequestDeleteC
1allHistory.encode(e.DeleteCallHistory,t.uint32(1186).fork()).ldelim(),null!=e.SetQueueCallDataBulk&&Object.hasOwnProperty.call(e,"SetQueueCallDataBulk")&&o.RequestSetQueueCallDataBulk.encode(e.SetQueueCallDataBulk,t.uint32(1194).fork()).ldelim(),null!=e.UpdateWebRtcInboundRules&&Object.hasOwnProperty.call(e,"UpdateWebRtcInboundRules")&&o.RequestUpdateWebRtcInboundRules.encode(e.UpdateWebRtcInboundRules,t.uint32(1202).fork()).ldelim(),null!=e.SendWelcomeEmail&&Object.hasOwnProperty.call(e,"SendWelcomeEmail")&&o.RequestWelcomeEmail.encode(e.SendWelcomeEmail,t.uint32(1210).fork()).ldelim(),null!=e.ConvertToAutoAnswer&&Object.hasOwnProperty.call(e,"ConvertToAutoAnswer")&&o.RequestAutoAnswerConnection.encode(e.ConvertToAutoAnswer,t.uint32(1218).fork()).ldelim(),null!=e.UpsertWebMeeting&&Object.hasOwnProperty.call(e,"UpsertWebMeeting")&&o.WebMeetingState.encode(e.UpsertWebMeeting,t.uint32(1226).fork()).ldelim(),null!=e.GetWebMeetings&&Object.hasOwnProperty.call(e,"GetWebMeetings")&&o.RequestGetWebMeetings.encode(e.GetWebMeetings,t.uint32(1234).fork()).ldelim(),null!=e.PutWebMeetingReports&&Object.hasOwnProperty.call(e,"PutWebMeetingReports")&&o.RequestPutWebMeetingReports.encode(e.PutWebMeetingReports,t.uint32(1258).fork()).ldelim(),null!=e.CreatePrivateRoom&&Object.hasOwnProperty.call(e,"CreatePrivateRoom")&&o.RequestWebMeetingPrivateRoom.encode(e.CreatePrivateRoom,t.uint32(1266).fork()).ldelim(),null!=e.SendError&&Object.hasOwnProperty.call(e,"SendError")&&o.RequestWebMeetingError.encode(e.SendError,t.uint32(1274).fork()).ldelim(),null!=e.ReinviteOrganizer&&Object.hasOwnProperty.call(e,"ReinviteOrganizer")&&o.RequestWmReinviteOrganizer.encode(e.ReinviteOrganizer,t.uint32(1282).fork()).ldelim(),null!=e.SetSharedBlfs&&Object.hasOwnProperty.call(e,"SetSharedBlfs")&&o.RequestSetSharedBlfs.encode(e.SetSharedBlfs,t.uint32(1290).fork()).ldelim(),null!=e.GetMyLastMessages&&Object.hasOwnProperty.call(e,"GetMyLastMessages")&&o.RequestGetMyLastMessages.encode(e.GetMyLastMessages,t.uint32(1298).fork()).ldelim(),null!=e.registerWebRTC&&Object.hasOwnProperty.call(e,"registerWebRTC")&&o.RequestRegisterWebRTCEndpoint.encode(e.registerWebRTC,t.uint32(1306).fork()).ldelim(),null!=e.ChangeSDPState&&Object.hasOwnProperty.call(e,"ChangeSDPState")&&o.RequestWebRTCChangeSDPState.encode(e.ChangeSDPState,t.uint32(1314).fork()).ldelim(),null!=e.GetUnreadMessagesCount&&Object.hasOwnProperty.call(e,"GetUnreadMessagesCount")&&o.RequestUnreadMessagesCount.encode(e.GetUnreadMessagesCount,t.uint32(1322).fork()).ldelim(),null!=e.JoinCalls&&Object.hasOwnProperty.call(e,"JoinCalls")&&o.RequestJoinCalls.encode(e.JoinCalls,t.uint32(1330).fork()).ldelim(),null!=e.RecordingControl&&Object.hasOwnProperty.call(e,"RecordingControl")&&o.RequestControlCallRecording.encode(e.RecordingControl,t.uint32(1338).fork()).ldelim(),null!=e.ChangeWCPassword&&Object.hasOwnProperty.call(e,"ChangeWCPassword")&&o.RequestChangeWebClientPassword.encode(e.ChangeWCPassword,t.uint32(1346).fork()).ldelim(),null!=e.UpdateFavorites&&Object.hasOwnProperty.call(e,"UpdateFavorites")&&o.RequestUpdateFavorites.encode(e.UpdateFavorites,t.uint32(1354).fork()).ldelim(),null!=e.GetContactsByRef&&Object.hasOwnProperty.call(e,"GetContactsByRef")&&o.RequestContactsByRef.encode(e.GetContactsByRef,t.uint32(1362).fork()).ldelim(),null!=e.CleanExtension&&Object.hasOwnProperty.call(e,"CleanExtension")&&o.RequestCleanExtension.encode(e.CleanExtension,t.uint32(1370).fork()).ldelim(),null!=e.AssignExtension&&Object.hasOwnProperty.call(e,"AssignExtension")&&o.RequestAssignExtension.encode(e.AssignExtension,t.uint32(1378).fork()).ldelim(),null!=e.SetWakeupCall&&Object.hasOwnProperty.call(e,"SetWakeupCall")&&o.RequestSetWakeupCall.encode(e.SetWakeupCall,t.uint32(1386).fork()).ldelim(),null!=e.DeleteWakeupCall&&Object.hasOwnProperty.call(e,"DeleteWakeupCall")&&o.RequestDeleteWakeupCall.encode(e.DeleteWakeupCall,t.uint32(1394).fork()).ldelim(),null!=e.GetWakeupCalls&&Object.hasOwnProperty.call(e,"GetWakeupCalls")&&o.RequestGetWakeupCalls.encode(e.GetWakeupCalls,t.uint32(1402).fork()).ldelim(),null!=e.GetOneTimeLogin&&Object.hasOwnProperty.call(e,"GetOneTimeLogin")&&o.RequestOneTimeLogin.encode(e.GetOneTimeLogin,t.uint32(1410).fork()).ldelim(),null!=e.UpdatePushSub
1scriptions&&Object.hasOwnProperty.call(e,"UpdatePushSubscriptions")&&o.RequestUpdatePushSubscriptions.encode(e.UpdatePushSubscriptions,t.uint32(1418).fork()).ldelim(),null!=e.RefreshSubscription&&Object.hasOwnProperty.call(e,"RefreshSubscription")&&o.PushSubscriptionData.encode(e.RefreshSubscription,t.uint32(1426).fork()).ldelim(),null!=e.SendChatFile&&Object.hasOwnProperty.call(e,"SendChatFile")&&o.RequestSendChatFile.encode(e.SendChatFile,t.uint32(1434).fork()).ldelim(),null!=e.UserTypingChat&&Object.hasOwnProperty.call(e,"UserTypingChat")&&o.ChatTyping.encode(e.UserTypingChat,t.uint32(1442).fork()).ldelim(),null!=e.UpdateWebMeetingParticipants&&Object.hasOwnProperty.call(e,"UpdateWebMeetingParticipants")&&o.ConferenceState.encode(e.UpdateWebMeetingParticipants,t.uint32(1450).fork()).ldelim(),null!=e.BlockAnonymous&&Object.hasOwnProperty.call(e,"BlockAnonymous")&&o.RequestBlacklistAnonymous.encode(e.BlockAnonymous,t.uint32(1458).fork()).ldelim(),null!=e.DisconnectAnonymous&&Object.hasOwnProperty.call(e,"DisconnectAnonymous")&&o.RequestDisconnectAnonymous.encode(e.DisconnectAnonymous,t.uint32(1466).fork()).ldelim(),null!=e.GetRecordings&&Object.hasOwnProperty.call(e,"GetRecordings")&&o.RequestGetRecordings.encode(e.GetRecordings,t.uint32(1474).fork()).ldelim(),null!=e.DeleteRecording&&Object.hasOwnProperty.call(e,"DeleteRecording")&&o.RequestDeleteRecording.encode(e.DeleteRecording,t.uint32(1482).fork()).ldelim(),null!=e.UpdateConversation&&Object.hasOwnProperty.call(e,"UpdateConversation")&&o.RequestUpdateConversation.encode(e.UpdateConversation,t.uint32(1490).fork()).ldelim(),null!=e.TransferChatTo&&Object.hasOwnProperty.call(e,"TransferChatTo")&&o.RequestTransferChatTo.encode(e.TransferChatTo,t.uint32(1498).fork()).ldelim(),null!=e.AgentTakesOverChat&&Object.hasOwnProperty.call(e,"AgentTakesOverChat")&&o.RequestAgentTakesOverChat.encode(e.AgentTakesOverChat,t.uint32(1506).fork()).ldelim(),null!=e.CreateConversation&&Object.hasOwnProperty.call(e,"CreateConversation")&&o.RequestCreateConversation.encode(e.CreateConversation,t.uint32(1514).fork()).ldelim(),null!=e.SendMessageToConversation&&Object.hasOwnProperty.call(e,"SendMessageToConversation")&&o.RequestSendChatMessageToConversation.encode(e.SendMessageToConversation,t.uint32(1522).fork()).ldelim(),null!=e.SendChatRating&&Object.hasOwnProperty.call(e,"SendChatRating")&&o.RequestChatRating.encode(e.SendChatRating,t.uint32(1530).fork()).ldelim(),null!=e.UpdateUserSettings&&Object.hasOwnProperty.call(e,"UpdateUserSettings")&&o.RequestUpdateUserSettings.encode(e.UpdateUserSettings,t.uint32(1538).fork()).ldelim(),null!=e.ExactMatchRequest&&Object.hasOwnProperty.call(e,"ExactMatchRequest")&&o.RequestExactMatch.encode(e.ExactMatchRequest,t.uint32(1546).fork()).ldelim(),null!=e.GetContactById&&Object.hasOwnProperty.call(e,"GetContactById")&&o.RequestGetContactById.encode(e.GetContactById,t.uint32(1554).fork()).ldelim(),null!=e.StartChatMonitoring&&Object.hasOwnProperty.call(e,"StartChatMonitoring")&&o.RequestStartChatMonitoring.encode(e.StartChatMonitoring,t.uint32(1562).fork()).ldelim(),null!=e.StopChatMonitoring&&Object.hasOwnProperty.call(e,"StopChatMonitoring")&&o.RequestStopChatMonitoring.encode(e.StopChatMonitoring,t.uint32(1570).fork()).ldelim(),null!=e.WhisperMessage&&Object.hasOwnProperty.call(e,"WhisperMessage")&&o.RequestWhisperMessage.encode(e.WhisperMessage,t.uint32(1578).fork()).ldelim(),null!=e.CloseConversation&&Object.hasOwnProperty.call(e,"CloseConversation")&&o.RequestCloseConversation.encode(e.CloseConversation,t.uint32(1586).fork()).ldelim(),null!=e.ProviderMapping&&Object.hasOwnProperty.call(e,"ProviderMapping")&&o.RequestProviderMapping.encode(e.ProviderMapping,t.uint32(1594).fork()).ldelim(),null!=e.LoginResponse&&Object.hasOwnProperty.call(e,"LoginResponse")&&o.LoginInfo.encode(e.LoginResponse,t.uint32(1602).fork()).ldelim(),null!=e.MyInfo&&Object.hasOwnProperty.call(e,"MyInfo")&&o.MyExtensionInfo.encode(e.MyInfo,t.uint32(1610).fork()).ldelim(),null!=e.LookupResult&&Object.hasOwnProperty.call(e,"LookupResult")&&o.ResponseLookup.encode(e.LookupResult,t.uint32(1618).fork()).ldelim(),null!=e.FileResult&&Object.hasOwnProperty.call(e,"FileResult")&&o.ResponseFile.encode(e.FileResult,t.uint32(1626).fork()).ldelim(),null!=e.CallHistory&&Object.hasOwnProperty.call(e,"CallHistory")&&o.ResponseCallHistory.encode(e.CallHistory,t.uint32(1634).fork()).ldelim(),null!=e.CallHistoryCount&&Object.hasOwnProperty.call(e,"CallHistoryCount")&&o.ResponseCallHistoryCount.encode(e.CallHistoryCount,t.uint32(1642).fork()).ldelim(),null!=e.Extensions&&Object.hasOwnProperty.call(e,"Extensions")&&o.ResponseGetExtensions.encode(e.Extensions,t.uint32(1650).fork()).ldelim(),null!=e.Acknowledge&&Object.hasOwnProperty.call(e,"Acknowledge")&&o.ResponseAcknowledge.encode(e.Acknowledge,t.uint32(1658).fork()).ldelim(),null!=e.GroupsInfo&&Object.hasOwnProperty.call(e,"GroupsInfo")&&o.Groups.encode(e.GroupsInfo,t.uint32(1666).fork()).ldelim(),null!=e.MyChatMessages&&Object.hasOwnProperty.call(e,"MyChatMessages")&&o.ResponseMyMessages.encode(e.MyChatMessages,t.uint32(1674).fork()).ldelim(),null!=e.SystemParameters&&Object.hasOwnProperty.call(e,"SystemParameters")&&o.ResponseSystemParameters.encode(e.SystemParameters,t.uint32(1682).fork()).ldelim(),null!=e.QueuesInfo&&Object.hasOwnProperty.call(e,"QueuesInfo")&&o.Queues.encode(e.QueuesInfo,t.uint32(1690).fork()).ldelim(),null!=e.ParkingsInfo&&Object.hasOwnProperty.call(e,"ParkingsInfo")&&o.Parkings.encode(e.ParkingsInfo,t.uint32(1698).fork()).ldelim(),null!=e.IVRsInfo&&Object.hasOwnProperty.call(e,"IVRsInfo")&&o.IVRs.encode(e.IVRsInfo,t.uint32(1706).fork()).ldelim(),null!=e.ConnectionCapabilityMask&&Object.hasOwnProperty.call(e,"ConnectionCapabilityMask")&&o.ResponseConnectionAccessRights.encode(e.ConnectionCapabilityMask,t.uint32(1714).fork()).ldelim(),null!=e.ExtensionsChangedEvent&&Object.hasOwnProperty.call(e,"ExtensionsChangedEvent")&&o.ResponseExtensionsChanged.encode(e.ExtensionsChangedEvent,t.uint32(1722).fork()).ldelim(),null!=e.GetFolderResponse&&Object.hasOwnProperty.call(e,"GetFolderResponse")&&o.ResponseGetFolder.encode(e.GetFolderResponse,t.uint32(1730).fork()).ldelim(),null!=e.ContactChangedEvent&&Object.hasOwnProperty.call(e,"ContactChangedEvent")&&o.ResponseContactChanged.encode(e.ContactChangedEvent,t.uint32(1738).fork()).ldelim(),null!=e.ServerTimeResponse&&Object.hasOwnProperty.call(e,"ServerTimeResponse")&&o.ResponseServerTime.encode(e.ServerTimeResponse,t.uint32(1746).fork()).ldelim(),null!=e.ActiveConferences&&Object.hasOwnProperty.call(e,"ActiveConferences")&&o.Conferences.encode(e.ActiveConferences,t.uint32(1754).fork()).ldelim(),null!=e.MyChatParties&&Object.hasOwnProperty.call(e,"MyChatParties")&&o.ResponseMyChatParties.encode(e.MyChatParties,t.uint32(1762).fork()).ldelim(),null!=e.MyRights&&Object.hasOwnProperty.call(e,"MyRights")&&o.ResponseGetMyRights.encode(e.MyRights,t.uint32(1770).fork()).ldelim(),null!=e.Greetings&&Object.hasOwnProperty.call(e,"Greetings")&&o.ResponseGreetings.encode(e.Greetings,t.uint32(1778).fork()).ldelim(),null!=e.QueueCalls&&Object.hasOwnProperty.call(e,"QueueCalls")&&o.ResponseQueueCalls.encode(e.QueueCalls,t.uint32(1786).fork()).ldelim(),null!=e.ActiveWebMeetings&&Object.hasOwnProperty.call(e,"ActiveWebMeetings")&&o.WebMeetings.encode(e.ActiveWebMeetings,t.uint32(1794).fork()).ldelim(),null!=e.PrivateRoom&&Object.hasOwnProperty.call(e,"PrivateRoom")&&o.ResponseWebMeetingPrivateRoom.encode(e.PrivateRoom,t.uint32(1810).fork()).ldelim(),null!=e.webRTCEndpoint&&Object.hasOwnProperty.call(e,"webRTCEndpoint")&&o.MyWebRTCEndpoint.encode(e.webRTCEndpoint,t.uint32(1818).fork()).ldelim(),null!=e.ChangeSDPStateResponse&&Object.hasOwnProperty.call(e,"ChangeSDPStateResponse")&&o.ResponseWebRTCChangeSDPState.encode(e.ChangeSDPStateResponse,t.uint32(1826).fork()).ldelim(),null!=e.UnreadMessagesCount&&Object.hasOwnProperty.call(e,"UnreadMessagesCount")&&o.ResponseUnreadMessagesCount.encode(e.UnreadMessagesCount,t.uint32(1834).fork()).ldelim(),null!=e.WakeupCalls&&Object.hasOwnProperty.call(e,"WakeupCalls")&&o.ResponseWakeupCalls.encode(e.WakeupCalls,t.uint32(1842).fork()).ldelim(),null!=e.OneTimeLogin&&Object.hasOwnProperty.call(e,"OneTimeLogin")&&o.ResponseOneTimeLogin.encode(e.OneTimeLogin,t.uint32(1850).fork()).ldelim(),null!=e.ChatFileProgress&&Object.hasOwnProperty.call(e,"ChatFileProgress")&&o.NotificationChatFileProgress.encode(e.ChatFileProgress,t.uint32(1858).fork()).ldelim(),null!=e.C2cState&&Object.hasOwnProperty.call(e,"C2cState")&&o.NotificationC2CState.encode(e.C2cState,t.uint32(1866).fork()).ldelim(),null!=e.ResponseRecordings&&Object.hasOwnProperty.call(e,"ResponseRecordings")&&o.ResponseRecordings.encode(e.ResponseRecordings,t.uint32(1874).fork()).ldelim(),null!=e.ConversationRemoved&&Object.hasOwnProperty.call(e,"ConversationRemoved")&&o.NotificationConversationRemoved.encode(e.ConversationRemoved,t.uint32(1882).fork()).ldelim(),null!=e.ConversationInfo&&Object.hasOwnProperty.call(e,"ConversationInfo")&&o.ResponseConversationInfo.encode(e.ConversationInfo,t.uint32(1890).fork()).ldelim(),null!=e.ChatTransferred&&Object.hasOwnProperty.call(e,"ChatTransferred")&&o.NotificationChatTransferred.encode(e.ChatTransferred,t.uint32(1898).fork()).ldelim(),null!=e.ChatRating&&Object.hasOwnProperty.call(e,"ChatRating")&&o.NotificationChatRating.encode(e.ChatRating,t.uint32(1906).fork()).ldelim(),null!=e.AnonymousClosed&&Object.hasOwnProperty.call(e,"AnonymousClosed")&&o.AnonymousSessionClosed.encode(e.AnonymousClosed,t.uint32(1914).fork()).ldelim(),null!=e.ExactMatchResponse&&Object.hasOwnProperty.call(e,"ExactMatchResponse")&&o.ResponseEx
1actMatch.encode(e.ExactMatchResponse,t.uint32(1922).fork()).ldelim(),null!=e.DeliveryStatus&&Object.hasOwnProperty.call(e,"DeliveryStatus")&&o.NotificationChatMessageStatus.encode(e.DeliveryStatus,t.uint32(1930).fork()).ldelim(),null!=e.ChatMonitoringFullState&&Object.hasOwnProperty.call(e,"ChatMonitoringFullState")&&o.ResponseChatMonitoring.encode(e.ChatMonitoringFullState,t.uint32(1938).fork()).ldelim(),null!=e.ChatMonitoringNotification&&Object.hasOwnProperty.call(e,"ChatMonitoringNotification")&&o.ChatMonitoringEvent.encode(e.ChatMonitoringNotification,t.uint32(1946).fork()).ldelim(),null!=e.MyProviders&&Object.hasOwnProperty.call(e,"MyProviders")&&o.ResponseAvailableProviders.encode(e.MyProviders,t.uint32(1954).fork()).ldelim(),null!=e.MyQueues&&Object.hasOwnProperty.call(e,"MyQueues")&&o.ResponseMyQueues.encode(e.MyQueues,t.uint32(1962).fork()).ldelim(),null!=e.ConversationEvents&&Object.hasOwnProperty.call(e,"ConversationEvents")&&o.ResponseConversationEvents.encode(e.ConversationEvents,t.uint32(1970).fork()).ldelim(),null!=e.WmParams&&Object.hasOwnProperty.call(e,"WmParams")&&o.WmBridgeParameters.encode(e.WmParams,t.uint32(1978).fork()).ldelim(),null!=e.NotificationMeetingRows&&Object.hasOwnProperty.call(e,"NotificationMeetingRows")&&o.MeetingRows.encode(e.NotificationMeetingRows,t.uint32(1986).fork()).ldelim(),null!=e.ResponseConversations&&Object.hasOwnProperty.call(e,"ResponseConversations")&&o.ResponseGetConversations.encode(e.ResponseConversations,t.uint32(1994).fork()).ldelim(),null!=e.MeetingState&&Object.hasOwnProperty.call(e,"MeetingState")&&o.MeetingStateNotification.encode(e.MeetingState,t.uint32(2002).fork()).ldelim(),null!=e.MeetingStates&&Object.hasOwnProperty.call(e,"MeetingStates")&&o.MeetingStateNotifications.encode(e.MeetingStates,t.uint32(2010).fork()).ldelim(),null!=e.RespCheckIpBlocked&&Object.hasOwnProperty.call(e,"RespCheckIpBlocked")&&o.ResponseCheckIpBlocked.encode(e.RespCheckIpBlocked,t.uint32(2018).fork()).ldelim(),null!=e.PreviousInteractions&&Object.hasOwnProperty.call(e,"PreviousInteractions")&&o.ResponsePreviousInteractions.encode(e.PreviousInteractions,t.uint32(2026).fork()).ldelim(),null!=e.ChatTemplateCategories&&Object.hasOwnProperty.call(e,"ChatTemplateCategories")&&o.ResponseGetChatTemplateCategories.encode(e.ChatTemplateCategories,t.uint32(2034).fork()).ldelim(),null!=e.ChatTemplateLanguages&&Object.hasOwnProperty.call(e,"ChatTemplateLanguages")&&o.ResponseGetChatTemplateLanguages.encode(e.ChatTemplateLanguages,t.uint32(2042).fork()).ldelim(),null!=e.ChatTemplates&&Object.hasOwnProperty.call(e,"ChatTemplates")&&o.ResponseGetChatTemplates.encode(e.ChatTemplates,t.uint32(2050).fork()).ldelim(),null!=e.MeetingDetails&&Object.hasOwnProperty.call(e,"MeetingDetails")&&o.ResponseMeetingDetails.encode(e.MeetingDetails,t.uint32(2058).fork()).ldelim(),null!=e.ChatMessageChanged&&Object.hasOwnProperty.call(e,"ChatMessageChanged")&&o.NotificationChatMessageChanged.encode(e.ChatMessageChanged,t.uint32(2066).fork()).ldelim(),null!=e.CrmContactList&&Object.hasOwnProperty.call(e,"CrmContactList")&&o.ResponseCrmContacts.encode(e.CrmContactList,t.uint32(2074).fork()).ldelim(),null!=e.FoundCrmContacts&&Object.hasOwnProperty.call(e,"FoundCrmContacts")&&o.ResponseSearchCrmContacts.encode(e.FoundCrmContacts,t.uint32(2082).fork()).ldelim(),null!=e.CallControlResponse&&Object.hasOwnProperty.call(e,"CallControlResponse")&&o.ResponseCallControl.encode(e.CallControlResponse,t.uint32(2090).fork()).ldelim(),null!=e.CallQualityReport&&Object.hasOwnProperty.call(e,"CallQualityReport")&&o.ResponseCallQualityReport.encode(e.CallQualityReport,t.uint32(2098).fork()).ldelim(),null!=e.BatchExactMatchResult&&Object.hasOwnProperty.call(e,"BatchExactMatchResult")&&o.ResponseBatchExactMatch.encode(e.BatchExactMatchResult,t.uint32(2106).fork()).ldelim(),null!=e.AudioTranscodeResults&&Object.hasOwnProperty.call(e,"AudioTranscodeResults")&&o.ResponseAudioTranscode.encode(e.AudioTranscodeResults,t.uint32(2114).fork()).ldelim(),null!=e.Rights&&Object.hasOwnProperty.call(e,"Rights")&&o.ResponseRights.encode(e.Rights,t.uint32(2122).fork()).ldelim(),null!=e.FwdProfiles&&Object.hasOwnProperty.call(e,"FwdProfiles")&&o.ResponseGetFwdProfiles.encode(e.FwdProfiles,t.uint32(2130).fork()).ldelim(),null!=e.TranscriptionResponse&&Object.hasOwnProperty.call(e,"TranscriptionResponse")&&o.ResponseGetTranscription.encode(e.TranscriptionResponse,t.uint32(2138).fork()).ldelim(),null!=e.ResponseVoiceMails&&Object.hasOwnProperty.call(e,"ResponseVoiceMails")&&o.VoiceMails.encode(e.ResponseVoiceMails,t.uint32(2146).fork()).ldelim(),null!=e.GroupInfos&&Object.hasOwnProperty.call(e,"GroupInfos")&&o.ResponseGroupInfos.encode(e.GroupInfos,t.uint32(2154).fork()).ldelim(),null!=e.GetMyProviders&&Object.hasOwnProperty.call(e,"GetMyProviders")&&o.RequestAvailableProviders.encode(e.GetMyProviders,t.uint32(4002).fork()).ldelim(),null!=e.GetMyQueues&&Object.hasOwnProperty.call(e,"GetMyQueues")&&o.RequestMyQueues.encode(e.GetMyQueues,t.uint32(4010).fork()).ldelim(),null!=e.GetQmLastMessages&&Object.hasOwnProperty.call(e,"GetQmLastMessages")&&o.RequestGetQMLastMessages.encode(e.GetQm
vendor: 7,925 bytes, line 1
1LastMessages,t.uint32(4018).fork()).ldelim(),null!=e.GetConversationEvents&&Object.hasOwnProperty.call(e,"GetConversationEvents")&&o.RequestGetConversationEvents.encode(e.GetConversationEvents,t.uint32(4026).fork()).ldelim(),null!=e.GetQMConversationEvents&&Object.hasOwnProperty.call(e,"GetQMConversationEvents")&&o.RequestGetQMConversationEvents.encode(e.GetQMConversationEvents,t.uint32(4034).fork()).ldelim(),null!=e.RefreshConversation&&Object.hasOwnProperty.call(e,"RefreshConversation")&&o.RequestRefreshConversation.encode(e.RefreshConversation,t.uint32(4042).fork()).ldelim(),null!=e.UpdateMeetingDocuments&&Object.hasOwnProperty.call(e,"UpdateMeetingDocuments")&&o.RequestUpdateMeetingDocuments.encode(e.UpdateMeetingDocuments,t.uint32(4050).fork()).ldelim(),null!=e.WebMeetingPollings&&Object.hasOwnProperty.call(e,"WebMeetingPollings")&&o.WmPollings.encode(e.WebMeetingPollings,t.uint32(4058).fork()).ldelim(),null!=e.ForwardMessage&&Object.hasOwnProperty.call(e,"ForwardMessage")&&o.RequestForwardChatMessage.encode(e.ForwardMessage,t.uint32(4066).fork()).ldelim(),null!=e.PutWebMeetingReports2&&Object.hasOwnProperty.call(e,"PutWebMeetingReports2")&&o.RequestPutWebMeetingReports2.encode(e.PutWebMeetingReports2,t.uint32(4074).fork()).ldelim(),null!=e.GetConversations&&Object.hasOwnProperty.call(e,"GetConversations")&&o.RequestGetConversations.encode(e.GetConversations,t.uint32(4082).fork()).ldelim(),null!=e.CloseMeeting&&Object.hasOwnProperty.call(e,"CloseMeeting")&&o.RequestCloseMeeting.encode(e.CloseMeeting,t.uint32(4090).fork()).ldelim(),null!=e.SetOfficeHoursMode&&Object.hasOwnProperty.call(e,"SetOfficeHoursMode")&&o.RequestSetOfficeHoursMode.encode(e.SetOfficeHoursMode,t.uint32(4098).fork()).ldelim(),null!=e.RqCheckIpBlocked&&Object.hasOwnProperty.call(e,"RqCheckIpBlocked")&&o.RequestCheckIpBlocked.encode(e.RqCheckIpBlocked,t.uint32(4106).fork()).ldelim(),null!=e.SetLanguage&&Object.hasOwnProperty.call(e,"SetLanguage")&&o.RequestSetLanguage.encode(e.SetLanguage,t.uint32(4114).fork()).ldelim(),null!=e.GetPreviousInteractions&&Object.hasOwnProperty.call(e,"GetPreviousInteractions")&&o.RequestPreviousInteractions.encode(e.GetPreviousInteractions,t.uint32(4122).fork()).ldelim(),null!=e.UpdateGroup&&Object.hasOwnProperty.call(e,"UpdateGroup")&&o.RequestUpdateGroup.encode(e.UpdateGroup,t.uint32(4130).fork()).ldelim(),null!=e.GetChatTemplateCategories&&Object.hasOwnProperty.call(e,"GetChatTemplateCategories")&&o.RequestGetChatTemplateCategories.encode(e.GetChatTemplateCategories,t.uint32(4138).fork()).ldelim(),null!=e.GetChatTemplateLanguages&&Object.hasOwnProperty.call(e,"GetChatTemplateLanguages")&&o.RequestGetChatTemplateLanguages.encode(e.GetChatTemplateLanguages,t.uint32(4146).fork()).ldelim(),null!=e.GetChatTemplates&&Object.hasOwnProperty.call(e,"GetChatTemplates")&&o.RequestGetChatTemplates.encode(e.GetChatTemplates,t.uint32(4154).fork()).ldelim(),null!=e.UpdateCategory&&Object.hasOwnProperty.call(e,"UpdateCategory")&&o.RequestUpdateCategory.encode(e.UpdateCategory,t.uint32(4162).fork()).ldelim(),null!=e.UpdateTemplate&&Object.hasOwnProperty.call(e,"UpdateTemplate")&&o.RequestUpdateChatTemplate.encode(e.UpdateTemplate,t.uint32(4170).fork()).ldelim(),null!=e.BulkUpdateCategory&&Object.hasOwnProperty.call(e,"BulkUpdateCategory")&&o.RequestBulkUpdateCategory.encode(e.BulkUpdateCategory,t.uint32(4178).fork()).ldelim(),null!=e.GetMeetingDetails&&Object.hasOwnProperty.call(e,"GetMeetingDetails")&&o.RequestGetMeetingDetails.encode(e.GetMeetingDetails,t.uint32(4186).fork()).ldelim(),null!=e.SetMessageEmoji&&Object.hasOwnProperty.call(e,"SetMessageEmoji")&&o.RequestSetMessageEmoji.encode(e.SetMessageEmoji,t.uint32(4194).fork()).ldelim(),null!=e.EditChatMessage&&Object.hasOwnProperty.call(e,"EditChatMessage")&&o.RequestEditChatMessage.encode(e.EditChatMessage,t.uint32(4202).fork()).ldelim(),null!=e.GetMessagesByIds&&Object.hasOwnProperty.call(e,"GetMessagesByIds")&&o.RequestGetMessages.encode(e.GetMessagesByIds,t.uint32(4210).fork()).ldelim(),null!=e.GetCrmContacts&&Object.hasOwnProperty.call(e,"GetCrmContacts")&&o.RequestGetCrmContacts.encode(e.GetCrmContacts,t.uint32(4218).fork()).ldelim(),null!=e.SearchCrmContacts&&Object.hasOwnProperty.call(e,"SearchCrmContacts")&&o.RequestSearchCrmContacts.encode(e.SearchCrmContacts,t.uint32(4226).fork()).ldelim(),null!=e.BatchExactMatch&&Object.hasOwnProperty.call(e,"BatchExactMatch")&&o.RequestBatchExactMatch.encode(e.BatchExactMatch,t.uint32(4234).fork()).ldelim(),null!=e.CallReport&&Object.hasOwnProperty.call(e,"CallReport")&&o.RequestCallReport.encode(e.CallReport,t.uint32(4442).fork()).ldelim(),null!=e.Monitor&&Object.hasOwnProperty.call(e,"Monitor")&&o.RequestMonitor.encode(e.Monitor,t.uint32(4450).fork()).ldelim(),null!=e.SendAudioFiles&&Object.hasOwnProperty.call(e,"SendAudioFiles")&&o.RequestAudioTranscode.encode(e.SendAudioFiles,t.uint32(4458).fork()).ldelim(),null!=e.GetCallQualityReport&&Object.hasOwnProperty.call(e,"GetCallQualityReport")&&o.RequestCallQualityReport.encode(e.GetCallQualityReport,t.uint32(4466).fork()).ldelim(),null!=e.GetRights&&Object.hasOwnProperty.call(e,"GetRights")&&o.RequestRights.encode(e.GetRights,t.uint32(4474).fork()).ldelim(),null!=e.LookupContactNew&&Object.hasOwnProperty.call(e,"LookupContactNew")&&o.RequestLookupContactNew.encode(e.LookupContactNew,t.uint32(4482).fork()).ldelim(),null!=e.GetFwdProfiles&&Object.hasOwnProperty.call(e,"GetFwdProfiles")&&o.RequestGetFwdProfiles.encode(e.GetFwdProfiles,t.uint32(4490).fork()).ldelim(),null!=e.BlockPhoneNumber&&Object.hasOwnProperty.call(e,"BlockPhoneNumber")&&o.RequestBlockPhoneNumber.encode(e.BlockPhoneNumber,t.uint32(4498).fork()).ldelim(),null!=e.UnblockPhoneNumber&&Object.hasOwnProperty.call(e,"UnblockPhoneNumber")&&o.RequestUnblockPhoneNumber.encode(e.UnblockPhoneNumber,t.uint32(4506).fork()).ldelim(),null!=e.GetTranscription&&Object.hasOwnProperty.call(e,"GetTranscription")&&o.RequestGetTranscription.encode(e.GetTranscription,t.uint32(4514).fork()).ldelim(),null!=e.GetVoiceMails&&Object.hasOwnProperty.call(e,"GetVoiceMails")&&o.RequestGetVoiceMails.encode(e.GetVoiceMails,t.uint32(4522).fork()).ldelim(),null!=e.GetGroupInfos&&Object.hasOwnProperty.call(e,"GetGroupInfos")&&o.RequestGetGroupInfos.encode(e.GetGroupInfos,t.uint32(4530).fork()).ldelim(),t},a.decode=function(e,t,k){e instanceof h||(e=h.create(e));let re=void 0===t?e.len:e.pos+t,u=new o.GenericMessage;for(;e.pos<re;){let E=e.uint32();if(E===k)break;switch(E>>>3){case 1:u.MessageId=e.int32();break;case 100:u.LoginRequest=o.Login.decode(e,e.uint32());break;case 101:u.LogoutRequest=o.Logout.decode(e,e.uint32());break;case 102:u.GetMyInfo=o.RequestMyInfo.decode(e,e.uint32());break;case 103:u.ChangeStatus=o.RequestChangeStatus.decode(e,e.uint32());break;case 104:u.LookupContact=o.RequestLookupContact.decode(e,e.uint32());break;case 105:u.GetFile=o.RequestGetFile.decode(e,e.uint32());break;case 106:u.GetCallHistory=o.RequestCallHistory.decode(e,e.uint32());break;case 107:u.GetCallHistoryCount=o.RequestCallHistoryCount.decode(e,e.uint32());break;case 108:u.UpdateFwdProfiles=o.RequestUpdateFwdProfile.decode(e,e.uint32());break;case 109:u.GetExtensions=o.RequestGetExtensions.decode(e,e.uint32());break;case 110:u.SendChatMessage=o.RequestSendChatMessage.decode(e,e.uint32());break;case 111:u.GetMyMessages=o.RequestGetMyMessages.decode(e,e.uint32());break;case 112:u.MessagesReceived=o.RequestSetChatReceived.decode(e,e.uint32());break;case 113:u.PutFile=o.RequestPutFile.decode(e,e.uint32());break;case 114:u.SetVMRead=o.RequestSetVoiceMailHeard.decode(e,e.uint32());break;case 115:u.DropCall=o.RequestDropCall.decode(e,e.uint32());break;case 116:u.DivertCall=o.RequestDivertCall.decode(e,e.uint32());break;case 117:u.PickupCall=o.RequestPickupCall.decode(e,e.uint32());break;case 118:u.TransferCall=o.RequestTransferCall.decode(e,e.uint32());break;case 119:u.MakeCall=o.RequestMakeCall.decode(e,e.uint32());break;
1case 120:u.UpdateContact=o.RequestUpdateContact.decode(e,e.uint32());break;case 121:u.ChangeConference=o.RequestChangeConference.decode(e,e.uint32());break;case 122:u.GetSystemParameters=o.RequestGetSystemParameters.decode(e,e.uint32());break;case 123:u.BargeInCall=o.RequestBargeInCall.decode(e,e.uint32());break;case 124:u.GetAccessRights=o.RequestConnectionAccessRights.decode(e,e.uint32());break;case 125:u.ResetMyMissedCalls=o.RequestResetMyMissedCalls.decode(e,e.uint32());break;case 126:u.DeleteVM=o.RequestDeleteVoiceMail.decode(e,e.uint32());break;case 127:u.PlayVM=o.RequestPlayVoiceMail.decode(e,e.uint32());break;case 128:u.GetFolderRequest=o.RequestGetFolder.decode(e,e.uint32());break;case 129:u.DeleteFile=o.RequestDeleteFile.decode(e,e.uint32());break;case 130:u.PlayRec=o.RequestPlayRecording.decode(e,e.uint32());break;case 131:u.ServerTimeRequest=o.RequestServerTime.decode(e,e.uint32());break;case 132:u.SetQueueStatus=o.RequestSetQueueStatus.decode(e,e.uint32());break;case 133:u.ScheduleConferenceRequest=o.RequestUpsertScheduledConference.decode(e,e.uint32());break;case 134:u.GetSchedule=o.RequestGetConferenceSchedule.decode(e,e.uint32());break;case 135:u.CreateConferenceScheduleTemplate=o.RequestCreateConferenceScheduleTemplate.decode(e,e.uint32());break;case 136:u.JoinCallParticipantsToConference=o.RequestJoinCallParticipantsToConference.decode(e,e.uint32());break;case 137:u.RecordCall=o.RequestRecordCall.decode(e,e.uint32());break;case 138:u.GetMyChatParties=o.RequestMyChatParties.decode(e,e.uint32());break;case 139:u.DeleteChat=o.RequestDeleteChat.decode(e,e.uint32());break;case 140:u.GetMyRights=o.RequestGetMyRights.decode(e,e.uint32());break;case 141:u.GetGreetings=o.RequestGetGreetings.decode(e,e.uint32());break;case 142:u.SetGreetings=o.RequestSetGreetings.decode(e,e.uint32());break;case 143:u.PlayVMGreetingOnPhone=o.RequestPlayVMGreetingOnPhone.decode(e,e.uint32());break;case 144:u.RecordVMGreetingFromPhone=o.RequestRecordVMGreetingFromPhone.decode(e,e.uint32());break;case 145:u.GetQueueCalls=o.RequestQueueCalls.decode(e,e.uint32());break;case 146:u.GetQueueCallsCount=o.RequestQueueCallsCount.decode(e,e.uint32());break;case 147:u.SetQueueCallData=o.RequestSetQueueCallData.decode(e,e.uint32());break;case 148:u.DeleteCallHistory=o.RequestDeleteCallHistory.decode(e,e.uint32());break;case 149:u.SetQueueCallDataBulk=o.RequestSetQueueCallDataBulk.decode(e,e.uint32());break;case 150:u.UpdateWebRtcInboundRules=o.RequestUpdateWebRtcInboundRules.decode(e,e.uint32());break;case 151:u.SendWelcomeEmail=o.RequestWelcomeEmail.decode(e,e.uint32());break;case 152:u.ConvertToAutoAnswer=o.RequestAutoAnswerConnection.decode(e,e.uint32());break;case 153:u.UpsertWebMeeting=o.WebMeetingState.decode(e,e.uint32());break;case 154:u.GetWebMeetings=o.RequestGetWebMeetings.decode(e,e.uint32());break;case 157:u.PutWebMeetingReports=o.RequestPutWebMeetingReports.decode(e,e.uint32());break;case 158:u.CreatePrivateRoom=o.RequestWebMeetingPrivateRoom.decode(e,e.uint32());break;case 159:u.SendError=o.RequestWebMeetingError.decode(e,e.uint32());break;case 160:u.ReinviteOrganizer=o.RequestWmReinviteOrganizer.decode(e,e.uint32());break;case 161:u.SetSharedBlfs=o.RequestSetSharedBlfs.decode(e,e.uint32());break;case 162:u.GetMyLastMessages=o.RequestGetMyLastMessages.decode(e,e.uint32());break;case 163:u.registerWebRTC=o.RequestRegisterWebRTCEndpoint.decode(e,e.uint32());break;case 164:u.ChangeSDPState=o.RequestWebRTCChangeSDPState.decode(e,e.uint32());break;case 165:u.GetUnreadMessagesCount=o.RequestUnreadMessagesCount.decode(e,e.uint32());break;case 166:u.JoinCalls=o.RequestJoinCalls.decode(e,e.uint32());break;case 167:u.RecordingControl=o.RequestControlCallRecording.decode(e,e.uint32());break;case 168:u.ChangeWCPassword=o.RequestChangeWebClientPassword.decode(e,e.uint32());break;case 169:u.UpdateFavorites=o.RequestUpdateFavorites.decode(e,e.uint32());break;case 170:u.GetContactsByRef=o.RequestContactsByRef.decode(e,e.uint32());break;case 171:u.CleanExtension=o.RequestCleanExtension.decode(e,e.uint32());break;case 172:u.AssignExtension=o.RequestAssignExtension.decode(e,e.uint32());break;case 173:u.SetWakeupCall=o.RequestSetWakeupCall.decode(e,e.uint32());break;case 174:u.DeleteWakeupCall=o.RequestDeleteWakeupCall.decode(e,e.uint32());break;case 175:u.GetWakeupCalls=o.RequestGetWakeupCalls.decode(e,e.uint32());break;case 176:u.GetOneTimeLogin=o.RequestOneTimeLogin.decode(e,e.uint32());break;
1case 177:u.UpdatePushSubscriptions=o.RequestUpdatePushSubscriptions.decode(e,e.uint32());break;case 178:u.RefreshSubscription=o.PushSubscriptionData.decode(e,e.uint32());break;case 179:u.SendChatFile=o.RequestSendChatFile.decode(e,e.uint32());break;case 180:u.UserTypingChat=o.ChatTyping.decode(e,e.uint32());break;case 181:u.UpdateWebMeetingParticipants=o.ConferenceState.decode(e,e.uint32());break;case 182:u.BlockAnonymous=o.RequestBlacklistAnonymous.decode(e,e.uint32());break;case 183:u.DisconnectAnonymous=o.RequestDisconnectAnonymous.decode(e,e.uint32());break;case 184:u.GetRecordings=o.RequestGetRecordings.decode(e,e.uint32());break;case 185:u.DeleteRecording=o.RequestDeleteRecording.decode(e,e.uint32());break;case 186:u.UpdateConversation=o.RequestUpdateConversation.decode(e,e.uint32());break;case 187:u.TransferChatTo=o.RequestTransferChatTo.decode(e,e.uint32());break;case 188:u.AgentTakesOverChat=o.RequestAgentTakesOverChat.decode(e,e.uint32());break;case 189:u.CreateConversation=o.RequestCreateConversation.decode(e,e.uint32());break;case 190:u.SendMessageToConversation=o.RequestSendChatMessageToConversation.decode(e,e.uint32());break;case 191:u.SendChatRating=o.RequestChatRating.decode(e,e.uint32());break;case 192:u.UpdateUserSettings=o.RequestUpdateUserSettings.decode(e,e.uint32());break;case 193:u.ExactMatchRequest=o.RequestExactMatch.decode(e,e.uint32());break;case 194:u.GetContactById=o.RequestGetContactById.decode(e,e.uint32());break;case 195:u.StartChatMonitoring=o.RequestStartChatMonitoring.decode(e,e.uint32());break;case 196:u.StopChatMonitoring=o.RequestStopChatMonitoring.decode(e,e.uint32());break;case 197:u.WhisperMessage=o.RequestWhisperMessage.decode(e,e.uint32());break;case 198:u.CloseConversation=o.RequestCloseConversation.decode(e,e.uint32());break;case 199:u.ProviderMapping=o.RequestProviderMapping.decode(e,e.uint32());break;case 500:u.GetMyProviders=o.RequestAvailableProviders.decode(e,e.uint32());break;case 501:u.GetMyQueues=o.RequestMyQueues.decode(e,e.uint32());break;case 502:u.GetQmLastMessages=o.RequestGetQMLastMessages.decode(e,e.uint32());break;case 503:u.GetConversationEvents=o.RequestGetConversationEvents.decode(e,e.uint32());break;case 504:u.GetQMConversationEvents=o.RequestGetQMConversationEvents.decode(e,e.uint32());break;case 505:u.RefreshConversation=o.RequestRefreshConversation.decode(e,e.uint32());break;case 506:u.UpdateMeetingDocuments=o.RequestUpdateMeetingDocuments.decode(e,e.uint32());break;case 507:u.WebMeetingPollings=o.WmPollings.decode(e,e.uint32());break;case 508:u.ForwardMessage=o.RequestForwardChatMessage.decode(e,e.uint32());break;case 509:u.PutWebMeetingReports2=o.RequestPutWebMeetingReports2.decode(e,e.uint32());break;case 510:u.GetConversations=o.RequestGetConversations.decode(e,e.uint32());break;case 511:u.CloseMeeting=o.RequestCloseMeeting.decode(e,e.uint32());break;case 512:u.SetOfficeHoursMode=o.RequestSetOfficeHoursMode.decode(e,e.uint32());break;case 513:u.RqCheckIpBlocked=o.RequestCheckIpBlocked.decode(e,e.uint32());break;case 514:u.SetLanguage=o.RequestSetLanguage.decode(e,e.uint32());break;case 515:u.GetPreviousInteractions=o.RequestPreviousInteractions.decode(e,e.uint32());break;case 516:u.UpdateGroup=o.RequestUpdateGroup.decode(e,e.uint32());break;case 517:u.GetChatTemplateCategories=o.RequestGetChatTemplateCategories.decode(e,e.uint32());break;case 518:u.GetChatTemplateLanguages=o.RequestGetChatTemplateLanguages.decode(e,e.uint32());break;case 519:u.GetChatTemplates=o.RequestGetChatTemplates.decode(e,e.uint32());break;case 520:u.UpdateCategory=o.RequestUpdateCategory.decode(e,e.uint32());break;case 521:u.UpdateTemplate=o.RequestUpdateChatTemplate.decode(e,e.uint32());break;case 522:u.BulkUpdateCategory=o.RequestBulkUpdateCategory.decode(e,e.uint32());break;case 523:u.GetMeetingDetails=o.RequestGetMeetingDetails.decode(e,e.uint32());break;case 524:u.SetMessageEmoji=o.RequestSetMessageEmoji.decode(e,e.uint32());break;case 525:u.EditChatMessage=o.RequestEditChatMessage.decode(e,e.uint32());break;case 526:u.GetMessagesByIds=o.RequestGetMessages.decode(e,e.uint32());break;case 527:u.GetCrmContacts=o.RequestGetCrmContacts.decode(e,e.uint32());break;case 528:u.SearchCrmContacts=o.RequestSearchCrmContacts.decode(e,e.uint32());break;case 529:u.BatchExactMatch=o.RequestBatchExactMatch.decode(e,e.uint32());break;case 555:u.CallReport=o.RequestCallReport.decode(e,e.uint32());break;case 556:u.Monitor=o.RequestMonitor.decode(e,e.uint32());break;case 557:u.SendAudioFiles=o.RequestAudioTranscode.decode(e,e.uint32());break;case 558:u.GetCallQualityReport=o.RequestCallQualityReport.decode(e,e.uint32());break;case 559:u.GetRights=o.RequestRights.decode(e,e.uint32());break;case 560:u.LookupContactNew=o.RequestLookupContactNew.decode(e,e.uint32());break;case 561:u.GetFwdProfiles=o.RequestGetFwdProfiles.decode(e,e.uint32());break;case 562:u.BlockPhoneNumber=o.RequestBlockPhoneNumber.decode(e,e.uint32());break;case 563:u.UnblockPhoneNumber=o.RequestUnblockPhoneNumber.decode(e,e.uint32());break;case 564:u.GetTranscription=o.RequestGetTranscription.decode(e,e.uint32());break;case 565:u.GetVoiceMails=o.RequestGetVoiceMails.decode(e,e.uint32());break;case 566:u.GetGroupInfos=o.RequestGetGroupInfos.decode(e,e.uint32());break;case 200:u.LoginResponse=o.LoginInfo.decode(e,e.uint32());break;case 201:u.MyInfo=o.MyExtensionInfo.decode(e,e.uint32());break;case 202:u.LookupResult=o.ResponseLookup.decode(e,e.uint32());break;case 203:u.FileResult=o.ResponseFile.decode(e,e.uint32());break;case 204:u.CallHistory=o.ResponseCallHistory.decode(e,e.uint32());break;case 205:u.CallHistoryCount=o.ResponseCallHistoryCount.decode(e,e.uint32());break;case 206:u.Extensions=o.ResponseGetExtensions.decode(e,e.uint32());break;case 207:u.Acknowledge=o.ResponseAcknowledge.decode(e,e.uint32());break;case 208:u.GroupsInfo=o.Groups.decode(e,e.uint32());break;case 209:u.MyChatMessages=o.ResponseMyMessages.decode(e,e.uint32());break;case 210:u.SystemParameters=o.ResponseSystemParameters.decode(e,e.uint32());break;case 211:u.QueuesInfo=o.Queues.decode(e,e.uint32());break;case 212:u.ParkingsInfo=o.Parkings.decode(e,e.uint32());break;case 213:u.IVRsInfo=o.IVRs.decode(e,e.uint32());break;case 214:u.ConnectionCapabilityMask=o.ResponseConnectionAccessRights.decode(e,e.uint32());break;case 215:u.ExtensionsChangedEvent=o.ResponseExtensionsChanged.decode(e,e.uint32());break;case 216:u.GetFolderResponse=o.ResponseGetFolder.decode(e,e.uint32());break;case 217:u.ContactChangedEvent=o.ResponseContactChanged.decode(e,e.uint32());break;case 218:u.ServerTimeResponse=o.ResponseServerTime.decode(e,e.uint32());break;case 219:u.ActiveConferences=o.Conferences.decode(e,e.uint32());break;case 220:u.MyChatParties=o.ResponseMyChatParties.decode(e,e.uint32());break;case 221:u.MyRights=o.ResponseGetMyRights.decode(e,e.uint32());break;case 222:u.Greetings=o.ResponseGreetings.decode(e,e.uint32());break;case 223:u.QueueCalls=o.ResponseQueueCalls.decode(e,e.uint32());break;case 224:u.ActiveWebMeetings=o.WebMeetings.decode(e,e.uint32());break;case 226:u.PrivateRoom=o.ResponseWebMeetingPrivateRoom.decode(e,e.uint32());break;case 227:u.webRTCEndpoint=o.MyWebRTCEndpoint.decode(e,e.uint32());break;case 228:u.ChangeSDPStateResponse=o.ResponseWebRTCChangeSDPState.decode(e,e.uint32());break;case 229:u.UnreadMessagesCount=o.ResponseUnreadMessagesCount.decode(e,e.uint32());break;case 230:u.WakeupCalls=o.ResponseWakeupCalls.decode(e,e.uint32());break;case 231:u.OneTimeLogin=o.ResponseOneTimeLogin.decode(e,e.uint32());break;case 232:u.ChatFileProgress=o.NotificationChatFileProgress.decode(e,e.uint32());break;case 233:u.C2cState=o.NotificationC2CState.decode(e,e.uint32());break;case 234:u.ResponseRecordings=o.ResponseRecordings.decode(e,e.uint32());break;case 235:u.ConversationRemoved=o.NotificationConversationRemoved.decode(e,e.uint32());break;case 236:u.ConversationInfo=o.ResponseConversationInfo.decode(e,e.uint32());break;case 237:u.ChatTransferred=o.NotificationChatTransferred.decode(e,e.uint32());break;case 238:u.ChatRating=o.NotificationChatRating.decode(e,e.uint32());break;case 239:u.AnonymousClosed=o.AnonymousSessionClosed.decode(e,e.uint32());break;
1case 240:u.ExactMatchResponse=o.ResponseExactMatch.decode(e,e.uint32());break;case 241:u.DeliveryStatus=o.NotificationChatMessageStatus.decode(e,e.uint32());break;case 242:u.ChatMonitoringFullState=o.ResponseChatMonitoring.decode(e,e.uint32());break;case 243:u.ChatMonitoringNotification=o.ChatMonitoringEvent.decode(e,e.uint32());break;case 244:u.MyProviders=o.ResponseAvailableProviders.decode(e,e.uint32());break;case 245:u.MyQueues=o.ResponseMyQueues.decode(e,e.uint32());break;case 246:u.ConversationEvents=o.ResponseConversationEvents.decode(e,e.uint32());break;case 247:u.WmParams=o.WmBridgeParameters.decode(e,e.uint32());break;case 248:u.NotificationMeetingRows=o.MeetingRows.decode(e,e.uint32());break;case 249:u.ResponseConversations=o.ResponseGetConversations.decode(e,e.uint32());break;case 250:u.MeetingState=o.MeetingStateNotification.decode(e,e.uint32());break;case 251:u.MeetingStates=o.MeetingStateNotifications.decode(e,e.uint32());break;case 252:u.RespCheckIpBlocked=o.ResponseCheckIpBlocked.decode(e,e.uint32());break;case 253:u.PreviousInteractions=o.ResponsePreviousInteractions.decode(e,e.uint32());break;case 254:u.ChatTemplateCategories=o.ResponseGetChatTemplateCategories.decode(e,e.uint32());break;case 255:u.ChatTemplateLanguages=o.ResponseGetChatTemplateLanguages.decode(e,e.uint32());break;case 256:u.ChatTemplates=o.ResponseGetChatTemplates.decode(e,e.uint32());break;case 257:u.MeetingDetails=o.ResponseMeetingDetails.decode(e,e.uint32());break;case 258:u.ChatMessageChanged=o.NotificationChatMessageChanged.decode(e,e.uint32());break;case 259:u.CrmContactList=o.ResponseCrmContacts.decode(e,e.uint32());break;case 260:u.FoundCrmContacts=o.ResponseSearchCrmContacts.decode(e,e.uint32());break;case 261:u.CallControlResponse=o.ResponseCallControl.decode(e,e.uint32());break;case 262:u.CallQualityReport=o.ResponseCallQualityReport.decode(e,e.uint32());break;case 263:u.BatchExactMatchResult=o.ResponseBatchExactMatch.decode(e,e.uint32());break;case 264:u.AudioTranscodeResults=o.ResponseAudioTranscode.decode(e,e.uint32());break;case 265:u.Rights=o.ResponseRights.decode(e,e.uint32());break;case 266:u.FwdProfiles=o.ResponseGetFwdProfiles.decode(e,e.uint32());break;case 267:u.TranscriptionResponse=o.ResponseGetTranscription.decode(e,e.uint32());break;case 268:u.ResponseVoiceMails=o.VoiceMails.decode(e,e.uint32());break;case 269:u.GroupInfos=o.ResponseGroupInfos.decode(e,e.uint32());break;default:e.skipType(7&E)}}return u},a.typeMap={100:ie,101:ve,102:Bn,103:Ni,104:At,105:bi,106:tn,107:Zi,108:rt,109:Io,110:mn,111:ii,112:$i,113:Fi,114:Po,115:Ao,116:ts,117:vo,118:Z,119:nt,120:Nn,121:Ji,122:oo,123:os,124:se,125:$t,126:zo,127:Xi,128:Bi,129:Qs,130:Ns,131:Or,132:or,133:Wi,134:lt,135:Vt,136:Ft,137:Rs,138:ro,139:hs,140:Bo,141:Hr,142:sr,143:rr,144:Tr,145:Hn,146:Kn,147:ai,148:go,149:Pi,150:Ir,151:pr,152:j,153:li,154:En,157:Wt,158:ln,159:_t,160:ar,161:Os,162:ki,163:ws,164:Lo,165:mr,166:pe,167:js,168:Pr,169:Mt,170:Sr,171:Fs,172:Xs,173:fs,174:bs,175:ko,176:vs,177:Ts,178:Js,179:Wn,180:Eo,181:Hi,182:Cs,183:Rr,184:_e,185:It,186:No,187:Mo,188:ls,189:Vo,190:Rn,191:fn,192:Ki,193:jt,194:kn,195:Di,196:yi,197:bo,198:Jo,199:Ro,500:z,501:jn,502:vi,503:Ne,504:vt,505:In,506:Oo,507:lr,508:Ur,509:ye,510:uo,511:Ps,512:So,513:Zs,514:Ei,515:la,516:Ms,517:qr,518:da,519:Zr,520:ca,521:va,522:ua,523:ha,524:on,525:wn,526:Mi,527:Ss,528:ea,529:rn,555:to,556:lo,557:pa,558:Un,559:xo,560:br,561:bt,562:Ma,563:Yr,564:Be,565:Me,566:Da,200:Xe,201:si,202:Xn,203:Ut,204:fo,205:zi,206:Do,207:Ie,208:Et,209:Si,210:_o,211:Fo,212:Ae,213:qo,214:tt,215:ni,216:Zo,217:ns,218:_s,219:On,220:no,221:wr,222:hr,223:oi,224:eo,226:Tn,227:As,228:ds,229:ps,230:_r,231:Gs,232:gt,233:Bs,234:Q,235:Yo,236:yo,237:is,238:bn,239:ho,240:nn,241:es,242:xi,243:wo,244:ce,245:qn,246:Ht,247:gi,248:qs,249:Xo,250:cr,251:Jr,252:er,253:Wr,254:Wa,255:fa,256:Hs,257:Ca,258:Ge,259:Ga,260:Na,261:Go,262:Zn,263:Sn,264:ma,265:Qt,266:we,267:et,268:Lt,269:Je},a})()},12300(ot){function V(l){var f=new Error("Cannot find module '"+l+"'");throw f.code="MODULE_NOT_FOUND",f}V.keys=()=>[],V.resolve=V,V.id=12300,ot.exports=V},38052(ot,V,l){"use strict";ot.exports=l.p+"media/user.file-7ad8face.svg"},73801(ot,V,l){"use strict";ot.exports=l.p+"media/user_transparent.file-8b528733.svg"},43849(ot,V,l){"use strict";ot.exports=l.p+"media/users.file-8acc34a3.svg"},963(ot){"use strict";ot.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><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-34zm-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.2l83.9 83.9zM336 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 16zm-48-244v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm0 64v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm0 64v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12z"/></svg>'},68173(ot,V,l){"use strict";l.d(V,{FX:()=>te,If:()=>f,K2:()=>o,Os:()=>C,P:()=>x,PZ:()=>K,hZ:()=>h,i0:()=>_,iF:()=>y,kY:()=>A,kp:()=>g,sf:()=>q,wk:()=>d});var f=function(H){return H[H.State=0]="State",H[H.Transition=1]="Transition",H[H.Sequence=2]="Sequence",H[H.Group=3]="Group",H[H.Animate=4]="Animate",H[H.Keyframes=5]="Keyframes",H[H.Style=6]="Style",H[H.Trigger=7]="Trigger",H[H.Reference=8]="Reference",H[H.AnimateChild=9]="AnimateChild",H[H.AnimateRef=10]="AnimateRef",H[H.Query=11]="Query",H[H.Stagger=12]="Stagger",H}(f||{});const g="*";function h(H,ee){return{type:f.Trigger,name:H,definitions:ee,options:{}}}
1function _(H,ee=null){return{type:f.Animate,styles:ee,timings:H}}function C(H,ee=null){return{type:f.Group,steps:H,options:ee}}function o(H,ee=null){return{type:f.Sequence,steps:H,options:ee}}function y(H){return{type:f.Style,styles:H,offset:null}}function d(H,ee,F){return{type:f.State,name:H,styles:ee,options:F}}function A(H,ee,F=null){return{type:f.Transition,expr:H,animation:ee,options:F}}function x(H,ee,F=null){return{type:f.Query,selector:H,animation:ee,options:F}}class q{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(ee=0,F=0){this.totalTime=ee+F}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ee=>ee()),this._onDoneFns=[])}onStart(ee){this._originalOnStartFns.push(ee),this._onStartFns.push(ee)}onDone(ee){this._originalOnDoneFns.push(ee),this._onDoneFns.push(ee)}onDestroy(ee){this._onDestroyFns.push(ee)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ee=>ee()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ee=>ee()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ee){this._position=this.totalTime?ee*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ee){const F="start"==ee?this._onStartFns:this._onDoneFns;F.forEach(J=>J()),F.length=0}}class K{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(ee){this.players=ee;let F=0,J=0,ne=0;const de=this.players.length;0==de?queueMicrotask(()=>this._onFinish()):this.players.forEach(Le=>{Le.onDone(()=>{++F==de&&this._onFinish()}),Le.onDestroy(()=>{++J==de&&this._onDestroy()}),Le.onStart(()=>{++ne==de&&this._onStart()})}),this.totalTime=this.players.reduce((Le,ut)=>Math.max(Le,ut.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ee=>ee()),this._onDoneFns=[])}init(){this.players.forEach(ee=>ee.init())}onStart(ee){this._onStartFns.push(ee)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ee=>ee()),this._onStartFns=[])}onDone(ee){this._onDoneFns.push(ee)}onDestroy(ee){this._onDestroyFns.push(ee)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ee=>ee.play())}pause(){this.players.forEach(ee=>ee.pause())}restart(){this.players.forEach(ee=>ee.restart())}finish(){this._onFinish(),this.players.forEach(ee=>ee.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ee=>ee.destroy()),this._onDestroyFns.forEach(ee=>ee()),this._onDestroyFns=[])}reset(){this.players.forEach(ee=>ee.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ee){const F=ee*this.totalTime;this.players.forEach(J=>{const ne=J.totalTime?Math.min(1,F/J.totalTime):1;J.setPosition(ne)})}getPosition(){const ee=this.players.reduce((F,J)=>null===F||J.totalTime>F.totalTime?J:F,null);return null!=ee?ee.getPosition():0}beforeDestroy(){this.players.forEach(ee=>{ee.beforeDestroy&&ee.beforeDestroy()})}triggerCallback(ee){const F="start"==ee?this._onStartFns:this._onDoneFns;F.forEach(J=>J()),F.length=0}}const te="!"},67523(ot,V,l){"use strict";function f(g){return Array.isArray(g)?g:[g]}l.d(V,{F:()=>f})},81535(ot,V,l){"use strict";l.d(V,{D:()=>K,Q:()=>ee});var f=l(85802),g=l(35547),h=l(71985),_=l(18530),C=l(84572),o=l(28793),y=l(70152),d=l(96354),M=l(65245),A=l(99172),D=l(96697),w=l(56977),O=l(27421),x=l(67523);const N=new Set;let q,K=(()=>{class J{_platform=(0,f.WQX)(O.O);_nonce=(0,f.WQX)(g.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):H}matchMedia(de){return(this._platform.WEBKIT||this._platform.BLINK)&&function te(J,ne){if(!N.has(J))try{q||(q=document.createElement("style"),ne&&q.setAttribute("nonce",ne),q.setAttribute("type","text/css"),document.head.appendChild(q)),q.sheet&&(q.sheet.insertRule(`@media ${J} {body{ }}`,0),N.add(J))}catch(de){console.error(de)}}(de,this._nonce),this._matchMedia(de)}static \u0275fac=function(Le){return new(Le||J)};static \u0275prov=f.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})();function H(J){return{matches:"all"===J||""===J,media:J,addListener:()=>{},removeListener:()=>{}}}let ee=(()=>{class J{_mediaMatcher=(0,f.WQX)(K);_zone=(0,f.WQX)(f.SKi);_queries=new Map;
1_destroySubject=new _.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(de){return F((0,x.F)(de)).some(ut=>this._registerQuery(ut).mql.matches)}observe(de){const ut=F((0,x.F)(de)).map(xe=>this._registerQuery(xe).observable);let Oe=(0,C.z)(ut);return Oe=(0,o.x)(Oe.pipe((0,D.s)(1)),Oe.pipe((0,M.i)(1),(0,y.B)(0))),Oe.pipe((0,d.T)(xe=>{const Ce={matches:!1,breakpoints:{}};return xe.forEach(({matches:Te,query:Fe})=>{Ce.matches=Ce.matches||Te,Ce.breakpoints[Fe]=Te}),Ce}))}_registerQuery(de){if(this._queries.has(de))return this._queries.get(de);const Le=this._mediaMatcher.matchMedia(de),Oe={observable:new h.c(xe=>{const Ce=Te=>this._zone.run(()=>xe.next(Te));return Le.addListener(Ce),()=>{Le.removeListener(Ce)}}).pipe((0,A.Z)(Le),(0,d.T)(({matches:xe})=>({query:de,matches:xe})),(0,w.Q)(this._destroySubject)),mql:Le};return this._queries.set(de,Oe),Oe}static \u0275fac=function(Le){return new(Le||J)};static \u0275prov=f.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})();function F(J){return J.map(ne=>ne.split(",")).reduce((ne,de)=>ne.concat(de)).map(ne=>ne.trim())}},27421(ot,V,l){"use strict";l.d(V,{O:()=>C});var f=l(85802),g=l(35547),h=l(60177);let _;try{_=typeof Intl<"u"&&Intl.v8BreakIterator}catch{_=!1}let C=(()=>{class o{_platformId=(0,f.WQX)(g.Agw);isBrowser=this._platformId?(0,h.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!_)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(M){return new(M||o)};static \u0275prov=f.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})()},49769(ot,V,l){"use strict";l.d(V,{B3:()=>rn,Jj:()=>Kn,MD:()=>Do,OI:()=>li,P9:()=>To,Sq:()=>_t,T3:()=>Sn,YU:()=>En,bT:()=>lt,e1:()=>Ni,fG:()=>ht,fw:()=>A,ux:()=>Qn,vh:()=>to});var _=l(17705),C=l(35547),o=l(85802),y=l(32271),d=l(45984),M=l(46494);let A=(()=>{class Ie extends d.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(ze,pt){super(),this._platformLocation=ze,null!=pt&&(this._baseHref=pt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ze){this._removeListenerFns.push(this._platformLocation.onPopState(ze),this._platformLocation.onHashChange(ze))}getBaseHref(){return this._baseHref}path(ze=!1){const pt=this._platformLocation.hash??"#";return pt.length>0?pt.substring(1):pt}prepareExternalUrl(ze){const pt=(0,d.om)(this._baseHref,ze);return pt.length>0?"#"+pt:pt}pushState(ze,pt,on,wn){const Ge=this.prepareExternalUrl(on+(0,d.Q)(wn))||this._platformLocation.pathname;this._platformLocation.pushState(ze,pt,Ge)}replaceState(ze,pt,on,wn){const Ge=this.prepareExternalUrl(on+(0,d.Q)(wn))||this._platformLocation.pathname;this._platformLocation.replaceState(ze,pt,Ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ze=0){this._platformLocation.historyGo?.(ze)}static \u0275fac=function(pt){return new(pt||Ie)(o.KVO(M.Vw),o.KVO(d.kB,8))};static \u0275prov=o.jDH({token:Ie,factory:Ie.\u0275fac})}return Ie})();var x=function(Ie){return Ie[Ie.Format=0]="Format",Ie[Ie.Standalone=1]="Standalone",Ie}(x||{}),N=function(Ie){return Ie[Ie.Narrow=0]="Narrow",Ie[Ie.Abbreviated=1]="Abbreviated",Ie[Ie.Wide=2]="Wide",Ie[Ie.Short=3]="Short",Ie}(N||{}),q=function(Ie){return Ie[Ie.Short=0]="Short",Ie[Ie.Medium=1]="Medium",Ie[Ie.Long=2]="Long",Ie[Ie.Full=3]="Full",Ie}(q||{});function ut(Ie,Ot){return Xe((0,C.kBR)(Ie)[C.NSC.DateFormat],Ot)}function Oe(Ie,Ot){return Xe((0,C.kBR)(Ie)[C.NSC.TimeFormat],Ot)}function xe(Ie,Ot){return Xe((0,C.kBR)(Ie)[C.NSC.DateTimeFormat],Ot)}function Ce(Ie,Ot){const ze=(0,C.kBR)(Ie),pt=ze[C.NSC.NumberSymbols][Ot];if(typeof pt>"u"){if(12===Ot)return ze[C.NSC.NumberSymbols][0];if(13===Ot)return ze[C.NSC.NumberSymbols][1]}return pt}function Pt(Ie){if(!Ie[C.NSC.ExtraData])throw new o.buA(2303,!1)}function Xe(Ie,Ot){for(let ze=Ot;ze>-1;ze--)if(typeof Ie[ze]<"u")return Ie[ze];throw new o.buA(2304,!1)}function ve(Ie){const[Ot,ze]=Ie.split(":");return{hours:+Ot,minutes:+ze}}const dt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Dt={},wt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Yt(Ie,Ot,ze,pt){let on=function Nt(Ie){if(st(Ie))return Ie;if("number"==typeof Ie&&!isNaN(Ie))return new Date(Ie);if("string"==typeof Ie){if(Ie=Ie.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Ie)){const[on,wn=1,Ge=1]=Ie.split("-").map(qe=>+qe);return qt(on,wn-1,Ge)}
1const ze=parseFloat(Ie);if(!isNaN(Ie-ze))return new Date(ze);let pt;if(pt=Ie.match(dt))return function at(Ie){const Ot=new Date(0);let ze=0,pt=0;const on=Ie[8]?Ot.setUTCFullYear:Ot.setFullYear,wn=Ie[8]?Ot.setUTCHours:Ot.setHours;Ie[9]&&(ze=Number(Ie[9]+Ie[10]),pt=Number(Ie[9]+Ie[11])),on.call(Ot,Number(Ie[1]),Number(Ie[2])-1,Number(Ie[3]));const Ge=Number(Ie[4]||0)-ze,qe=Number(Ie[5]||0)-pt,xt=Number(Ie[6]||0),un=Math.floor(1e3*parseFloat("0."+(Ie[7]||0)));return wn.call(Ot,Ge,qe,xt,un),Ot}(pt)}const Ot=new Date(Ie);if(!st(Ot))throw new o.buA(2311,!1);return Ot}(Ie);Ot=We(ze,Ot)||Ot;let qe,Ge=[];for(;Ot;){if(qe=wt.exec(Ot),!qe){Ge.push(Ot);break}{Ge=Ge.concat(qe.slice(1));const gt=Ge.pop();if(!gt)break;Ot=gt}}let xt=on.getTimezoneOffset();pt&&(xt=Et(pt,xt),on=function an(Ie,Ot){const on=Ie.getTimezoneOffset();return function dn(Ie,Ot){return(Ie=new Date(Ie.getTime())).setMinutes(Ie.getMinutes()+Ot),Ie}(Ie,-1*(Et(Ot,on)-on))}(on,pt));let un="";return Ge.forEach(gt=>{const mn=function Ee(Ie){if($[Ie])return $[Ie];let Ot;switch(Ie){case"G":case"GG":case"GGG":Ot=bt(3,N.Abbreviated);break;case"GGGG":Ot=bt(3,N.Wide);break;case"GGGGG":Ot=bt(3,N.Narrow);break;case"y":Ot=me(0,1,0,!1,!0);break;case"yy":Ot=me(0,2,0,!0,!0);break;case"yyy":Ot=me(0,3,0,!1,!0);break;case"yyyy":Ot=me(0,4,0,!1,!0);break;case"Y":Ot=le(1);break;case"YY":Ot=le(2,!0);break;case"YYY":Ot=le(3);break;case"YYYY":Ot=le(4);break;case"M":case"L":Ot=me(1,1,1);break;case"MM":case"LL":Ot=me(1,2,1);break;case"MMM":Ot=bt(2,N.Abbreviated);break;case"MMMM":Ot=bt(2,N.Wide);break;case"MMMMM":Ot=bt(2,N.Narrow);break;case"LLL":Ot=bt(2,N.Abbreviated,x.Standalone);break;case"LLLL":Ot=bt(2,N.Wide,x.Standalone);break;case"LLLLL":Ot=bt(2,N.Narrow,x.Standalone);break;case"w":Ot=Me(1);break;case"ww":Ot=Me(2);break;case"W":Ot=Me(1,!0);break;case"d":Ot=me(2,1);break;case"dd":Ot=me(2,2);break;case"c":case"cc":Ot=me(7,1);break;case"ccc":Ot=bt(1,N.Abbreviated,x.Standalone);break;case"cccc":Ot=bt(1,N.Wide,x.Standalone);break;case"ccccc":Ot=bt(1,N.Narrow,x.Standalone);break;case"cccccc":Ot=bt(1,N.Short,x.Standalone);break;case"E":case"EE":case"EEE":Ot=bt(1,N.Abbreviated);break;case"EEEE":Ot=bt(1,N.Wide);break;case"EEEEE":Ot=bt(1,N.Narrow);break;case"EEEEEE":Ot=bt(1,N.Short);break;case"a":case"aa":case"aaa":Ot=bt(0,N.Abbreviated);break;case"aaaa":Ot=bt(0,N.Wide);break;case"aaaaa":Ot=bt(0,N.Narrow);break;case"b":case"bb":case"bbb":Ot=bt(0,N.Abbreviated,x.Standalone,!0);break;case"bbbb":Ot=bt(0,N.Wide,x.Standalone,!0);break;case"bbbbb":Ot=bt(0,N.Narrow,x.Standalone,!0);break;case"B":case"BB":case"BBB":Ot=bt(0,N.Abbreviated,x.Format,!0);break;case"BBBB":Ot=bt(0,N.Wide,x.Format,!0);break;case"BBBBB":Ot=bt(0,N.Narrow,x.Format,!0);break;case"h":Ot=me(3,1,-12);break;
1case"hh":Ot=me(3,2,-12);break;case"H":Ot=me(3,1);break;case"HH":Ot=me(3,2);break;case"m":Ot=me(4,1);break;case"mm":Ot=me(4,2);break;case"s":Ot=me(5,1);break;case"ss":Ot=me(5,2);break;case"S":Ot=me(6,1);break;case"SS":Ot=me(6,2);break;case"SSS":Ot=me(6,3);break;case"Z":case"ZZ":case"ZZZ":Ot=Mt(0);break;case"ZZZZZ":Ot=Mt(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ot=Mt(1);break;case"OOOO":case"ZZZZ":case"zzzz":Ot=Mt(2);break;default:return null}return $[Ie]=Ot,Ot}(gt);un+=mn?mn(on,ze,xt):"''"===gt?"'":gt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),un}function qt(Ie,Ot,ze){const pt=new Date(0);return pt.setFullYear(Ie,Ot,ze),pt.setHours(0,0,0),pt}function We(Ie,Ot){const ze=function H(Ie){return(0,C.kBR)(Ie)[C.NSC.LocaleId]}(Ie);if(Dt[ze]??={},Dt[ze][Ot])return Dt[ze][Ot];let pt="";switch(Ot){case"shortDate":pt=ut(Ie,q.Short);break;case"mediumDate":pt=ut(Ie,q.Medium);break;case"longDate":pt=ut(Ie,q.Long);break;case"fullDate":pt=ut(Ie,q.Full);break;case"shortTime":pt=Oe(Ie,q.Short);break;case"mediumTime":pt=Oe(Ie,q.Medium);break;case"longTime":pt=Oe(Ie,q.Long);break;case"fullTime":pt=Oe(Ie,q.Full);break;case"short":const on=We(Ie,"shortTime"),wn=We(Ie,"shortDate");pt=yt(xe(Ie,q.Short),[on,wn]);break;case"medium":const Ge=We(Ie,"mediumTime"),qe=We(Ie,"mediumDate");pt=yt(xe(Ie,q.Medium),[Ge,qe]);break;case"long":const xt=We(Ie,"longTime"),un=We(Ie,"longDate");pt=yt(xe(Ie,q.Long),[xt,un]);break;case"full":const gt=We(Ie,"fullTime"),mn=We(Ie,"fullDate");pt=yt(xe(Ie,q.Full),[gt,mn])}return pt&&(Dt[ze][Ot]=pt),pt}function yt(Ie,Ot){return Ot&&(Ie=Ie.replace(/\{([^}]+)}/g,function(ze,pt){return null!=Ot&&pt in Ot?Ot[pt]:ze})),Ie}function je(Ie,Ot,ze="-",pt,on){let wn="";(Ie<0||on&&Ie<=0)&&(on?Ie=1-Ie:(Ie=-Ie,wn=ze));let Ge=String(Ie);for(;Ge.length<Ot;)Ge="0"+Ge;return pt&&(Ge=Ge.slice(Ge.length-Ot)),wn+Ge}function me(Ie,Ot,ze=0,pt=!1,on=!1){return function(wn,Ge){let qe=function rt(Ie,Ot){switch(Ie){case 0:return Ot.getFullYear();case 1:return Ot.getMonth();case 2:return Ot.getDate();case 3:return Ot.getHours();case 4:return Ot.getMinutes();case 5:return Ot.getSeconds();case 6:return Ot.getMilliseconds();case 7:return Ot.getDay();default:throw new o.buA(2301,!1)}}(Ie,wn);if((ze>0||qe>-ze)&&(qe+=ze),3===Ie)0===qe&&-12===ze&&(qe=12);else if(6===Ie)return function St(Ie,Ot){return je(Ie,3).substring(0,Ot)}(qe,Ot);const xt=Ce(Ge,5);return je(qe,Ot,xt,pt,on)}}function bt(Ie,Ot,ze=x.Format,pt=!1){return function(on,wn){return function we(Ie,Ot,ze,pt,on,wn){switch(ze){case 2:return function J(Ie,Ot,ze){const pt=(0,C.kBR)(Ie),wn=Xe([pt[C.NSC.MonthsFormat],pt[C.NSC.MonthsStandalone]],Ot);return Xe(wn,ze)}(Ot,on,pt)[Ie.getMonth()];case 1:return function F(Ie,Ot,ze){const pt=(0,C.kBR)(Ie),wn=Xe([pt[C.NSC.DaysFormat],pt[C.NSC.DaysStandalone]],Ot);return Xe(wn,ze)}(Ot,on,pt)[Ie.getDay()];case 0:const Ge=Ie.getHours(),qe=Ie.getMinutes();if(wn){const un=function Ze(Ie){const Ot=(0,C.kBR)(Ie);return Pt(Ot),(Ot[C.NSC.ExtraData][2]||[]).map(pt=>"string"==typeof pt?ve(pt):[ve(pt[0]),ve(pt[1])])}(Ot),gt=function fe(Ie,Ot,ze){const pt=(0,C.kBR)(Ie);Pt(pt);const wn=Xe([pt[C.NSC.ExtraData][0],pt[C.NSC.ExtraData][1]],Ot)||[];return Xe(wn,ze)||[]}(Ot,on,pt),mn=un.findIndex(Rn=>{if(Array.isArray(Rn)){const[Wn,ii]=Rn,ki=Ge>=Wn.hours&&qe>=Wn.minutes,Mi=Ge<ii.hours||Ge===ii.hours&&qe<ii.minutes;if(Wn.hours<ii.hours){if(ki&&Mi)return!0}else if(ki||Mi)return!0}else if(Rn.hours===Ge&&Rn.minutes===qe)return!0;return!1});if(-1!==mn)return gt[mn]}return function ee(Ie,Ot,ze){const pt=(0,C.kBR)(Ie),wn=Xe([pt[C.NSC.DayPeriodsFormat],pt[C.NSC.DayPeriodsStandalone]],Ot);return Xe(wn,ze)}(Ot,on,pt)[Ge<12?0:1];case 3:return function ne(Ie,Ot){return Xe((0,C.kBR)(Ie)[C.NSC.Eras],Ot)}(Ot,pt)[Ie.getFullYear()<=0?0:1];default:throw new o.buA(2302,!1)}}(on,wn,Ie,Ot,ze,pt)}}function Mt(Ie){return function(Ot,ze,pt){const on=-1*pt,wn=Ce(ze,5),Ge=on>0?Math.floor(on/60):Math.ceil(on/60);switch(Ie){case 0:return(on>=0?"+":"")+je(Ge,2,wn)+je(Math.abs(on%60),2,wn);case 1:return"GMT"+(on>=0?"+":"")+je(Ge,1,wn);case 2:return"GMT"+(on>=0?"+":"")+je(Ge,2,wn)+":"+je(Math.abs(on%60),2,wn);case 3:return 0===pt?"Z":(on>=0?"+":"")+je(Ge,2,wn)+":"+je(Math.abs(on%60),2,wn);default:throw new o.buA(2310,!1)}}}function Lt(Ie){const Ot=Ie.getDay(),ze=0===Ot?-3:4-Ot;return qt(Ie.getFullYear(),Ie.getMonth(),Ie.getDate()+ze)}function Me(Ie,Ot=!1){return function(ze,pt){let on;if(Ot){const wn=new Date(ze.getFullYear(),ze.getMonth(),1).getDay()-1,Ge=ze.getDate();on=1+Math.floor((Ge+wn)/7)}else{const wn=Lt(ze),Ge=function it(Ie){const Ot=qt(Ie,0,1).getDay();return qt(Ie,0,1+(Ot<=4?4:11)-Ot)}(wn.getFullYear()),qe=wn.getTime()-Ge.getTime();on=1+Math.round(qe/6048e5)}return je(on,Ie,Ce(pt,5))}}
1function le(Ie,Ot=!1){return function(ze,pt){return je(Lt(ze).getFullYear(),Ie,Ce(pt,5),Ot)}}const $={};function Et(Ie,Ot){Ie=Ie.replace(/:/g,"");const ze=Date.parse("Jan 01, 1970 00:00:00 "+Ie)/6e4;return isNaN(ze)?Ot:ze}function st(Ie){return Ie instanceof Date&&!isNaN(Ie.valueOf())}const eo=/\s+/,Yi=[];let En=(()=>{class Ie{_ngEl;_renderer;initialClasses=Yi;rawClass;stateMap=new Map;constructor(ze,pt){this._ngEl=ze,this._renderer=pt}set klass(ze){this.initialClasses=null!=ze?ze.trim().split(eo):Yi}set ngClass(ze){this.rawClass="string"==typeof ze?ze.trim().split(eo):ze}ngDoCheck(){for(const pt of this.initialClasses)this._updateState(pt,!0);const ze=this.rawClass;if(Array.isArray(ze)||ze instanceof Set)for(const pt of ze)this._updateState(pt,!0);else if(null!=ze)for(const pt of Object.keys(ze))this._updateState(pt,!!ze[pt]);this._applyStateDiff()}_updateState(ze,pt){const on=this.stateMap.get(ze);void 0!==on?(on.enabled!==pt&&(on.changed=!0,on.enabled=pt),on.touched=!0):this.stateMap.set(ze,{enabled:pt,changed:!0,touched:!0})}_applyStateDiff(){for(const ze of this.stateMap){const pt=ze[0],on=ze[1];on.changed?(this._toggleClass(pt,on.enabled),on.changed=!1):on.touched||(on.enabled&&this._toggleClass(pt,!1),this.stateMap.delete(pt)),on.touched=!1}}_toggleClass(ze,pt){(ze=ze.trim()).length>
10&&ze.split(eo).forEach(on=>{pt?this._renderer.addClass(this._ngEl.nativeElement,on):this._renderer.removeClass(this._ngEl.nativeElement,on)})}static \u0275fac=function(pt){return new(pt||Ie)(C.rXU(C.aKT),C.rXU(C.sFG))};static \u0275dir=C.FsC({type:Ie,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return Ie})(),li=(()=>{class Ie{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(ze){this._viewContainerRef=ze}_needToReCreateNgModuleInstance(ze){return void 0!==ze.ngComponentOutletNgModule}_needToReCreateComponentInstance(ze){return void 0!==ze.ngComponentOutlet||void 0!==ze.ngComponentOutletContent||void 0!==ze.ngComponentOutletInjector||void 0!==ze.ngComponentOutletEnvironmentInjector||this._needToReCreateNgModuleInstance(ze)}ngOnChanges(ze){if(this._needToReCreateComponentInstance(ze)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const pt=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(ze)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,C.w6W)(this.ngComponentOutletNgModule,function ln(Ie){return Ie.get(C.Ab1).injector}(pt)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:pt,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const ze of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(ze,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(ze){for(const[pt,on]of this._inputsUsed)on?(ze.setInput(pt,this.ngComponentOutletInputs[pt]),this._inputsUsed.set(pt,!1)):(ze.setInput(pt,void 0),this._inputsUsed.delete(pt))}static \u0275fac=function(pt){return new(pt||Ie)(C.rXU(C.c1b))};static \u0275dir=C.FsC({type:Ie,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule"},exportAs:["ngComponentOutlet"],features:[C.OA$]})}return Ie})();class Tn{$implicit;ngForOf;index;count;constructor(Ot,ze,pt,on){this.$implicit=Ot,this.ngForOf=ze,this.index=pt,this.count=on}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let _t=(()=>{class Ie{_viewContainer;_template;_differs;set ngForOf(ze){this._ngForOf=ze,this._ngForOfDirty=!0}set ngForTrackBy(ze){this._trackByFn=ze}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(ze,pt,on){this._viewContainer=ze,this._template=pt,this._differs=on}set ngForTemplate(ze){ze&&(this._template=ze)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const ze=this._ngForOf;!this._differ&&ze&&(this._differ=this._differs.find(ze).create(this.ngForTrackBy))}if(this._differ){const ze=this._differ.diff(this._ngForOf);ze&&this._applyChanges(ze)}}_applyChanges(ze){const pt=this._viewContainer;ze.forEachOperation((on,wn,Ge)=>{if(null==on.previousIndex)pt.createEmbeddedView(this._template,new Tn(on.item,this._ngForOf,-1,-1),null===Ge?void 0:Ge);else if(null==Ge)pt.remove(null===wn?void 0:wn);else if(null!==wn){const qe=pt.get(wn);pt.move(qe,Ge),Wt(qe,on)}});for(let on=0,wn=pt.length;on<wn;on++){const qe=pt.get(on).context;qe.index=on,qe.count=wn,qe.ngForOf=this._ngForOf}ze.forEachIdentityChange(on=>{Wt(pt.get(on.currentIndex),on)})}static ngTemplateContextGuard(ze,pt){return!0}static \u0275fac=function(pt){return new(pt||Ie)(C.rXU(C.c1b),C.rXU(C.C4Q),C.rXU(_._q3))};static \u0275dir=C.FsC({type:Ie,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return Ie})();function Wt(Ie,Ot){Ie.context.$implicit=Ot.item}let lt=(()=>{class Ie{_viewContainer;_context=new Vt;_thenTemplateRef=null;_elseTemplateRef=null;
1_thenViewRef=null;_elseViewRef=null;constructor(ze,pt){this._viewContainer=ze,this._thenTemplateRef=pt}set ngIf(ze){this._context.$implicit=this._context.ngIf=ze,this._updateView()}set ngIfThen(ze){On(ze),this._thenTemplateRef=ze,this._thenViewRef=null,this._updateView()}set ngIfElse(ze){On(ze),this._elseTemplateRef=ze,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(ze,pt){return!0}static \u0275fac=function(pt){return new(pt||Ie)(C.rXU(C.c1b),C.rXU(C.C4Q))};static \u0275dir=C.FsC({type:Ie,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return Ie})();class Vt{$implicit=null;ngIf=null}function On(Ie,Ot){if(Ie&&!Ie.createEmbeddedView)throw new o.buA(2020,!1)}class Bn{_viewContainerRef;_templateRef;_created=!1;constructor(Ot,ze){this._viewContainerRef=Ot,this._templateRef=ze}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ot){Ot&&!this._created?this.create():!Ot&&this._created&&this.destroy()}}let Qn=(()=>{class Ie{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(ze){this._ngSwitch=ze,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(ze){this._defaultViews.push(ze)}_matchCase(ze){const pt=ze===this._ngSwitch;return this._lastCasesMatched||=pt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),pt}_updateDefaultCases(ze){if(this._defaultViews.length>0&&ze!==this._defaultUsed){this._defaultUsed=ze;for(const pt of this._defaultViews)pt.enforceState(ze)}}static \u0275fac=function(pt){return new(pt||Ie)};static \u0275dir=C.FsC({type:Ie,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return Ie})(),Ni=(()=>{class Ie{ngSwitch;_view;ngSwitchCase;constructor(ze,pt,on){this.ngSwitch=on,on._addCase(),this._view=new Bn(ze,pt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(pt){return new(pt||Ie)(C.rXU(C.c1b),C.rXU(C.C4Q),C.rXU(Qn,9))};static \u0275dir=C.FsC({type:Ie,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return Ie})(),ht=(()=>{class Ie{constructor(ze,pt,on){on._addDefault(new Bn(ze,pt))}static \u0275fac=function(pt){return new(pt||Ie)(C.rXU(C.c1b),C.rXU(C.C4Q),C.rXU(Qn,9))};static \u0275dir=C.FsC({type:Ie,selectors:[["","ngSwitchDefault",""]]})}return Ie})(),rn=(()=>{class Ie{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(ze,pt,on){this._ngEl=ze,this._differs=pt,this._renderer=on}set ngStyle(ze){this._ngStyle=ze,!this._differ&&ze&&(this._differ=this._differs.find(ze).create())}ngDoCheck(){if(this._differ){const ze=this._differ.diff(this._ngStyle);ze&&this._applyChanges(ze)}}_setStyle(ze,pt){const[on,wn]=ze.split("."),Ge=-1===on.indexOf("-")?void 0:C.czy.DashCase;null!=pt?this._renderer.setStyle(this._ngEl.nativeElement,on,wn?`${pt}${wn}`:pt,Ge):this._renderer.removeStyle(this._ngEl.nativeElement,on,Ge)}_applyChanges(ze){ze.forEachRemovedItem(pt=>this._setStyle(pt.key,null)),ze.forEachAddedItem(pt=>this._setStyle(pt.key,pt.currentValue)),ze.forEachChangedItem(pt=>this._setStyle(pt.key,pt.currentValue))}static \u0275fac=function(pt){return new(pt||Ie)(C.rXU(C.aKT),C.rXU(_.MKu),C.rXU(C.sFG))};static \u0275dir=C.FsC({type:Ie,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return Ie})(),Sn=(()=>{class Ie{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=(0,o.WQX)(o.zZn);
1constructor(ze){this._viewContainerRef=ze}ngOnChanges(ze){if(this._shouldRecreateView(ze)){const pt=this._viewContainerRef;if(this._viewRef&&pt.remove(pt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const on=this._createContextForwardProxy();this._viewRef=pt.createEmbeddedView(this.ngTemplateOutlet,on,{injector:this._getInjector()})}}_getInjector(){return"outlet"===this.ngTemplateOutletInjector?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(ze){return!!ze.ngTemplateOutlet||!!ze.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(ze,pt,on)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,pt,on),get:(ze,pt,on)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,pt,on)}})}static \u0275fac=function(pt){return new(pt||Ie)(C.rXU(C.c1b))};static \u0275dir=C.FsC({type:Ie,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[C.OA$]})}return Ie})();function Xn(Ie,Ot){return new o.buA(2100,!1)}class Fi{createSubscription(Ot,ze,pt){return(0,y.O8)(()=>Ot.subscribe({next:ze,error:pt}))}dispose(Ot){(0,y.O8)(()=>Ot.unsubscribe())}}class Ut{createSubscription(Ot,ze,pt){return Ot.then(on=>ze?.(on),on=>pt?.(on)),{unsubscribe:()=>{ze=null,pt=null}}}dispose(Ot){Ot.unsubscribe()}}const vn=new Ut,Hn=new Fi;let Kn=(()=>{class Ie{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,o.WQX)(o.ZTf);constructor(ze){this._ref=ze}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(ze){if(!this._obj){if(ze)try{this.markForCheckOnValueUpdate=!1,this._subscribe(ze)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return ze!==this._obj?(this._dispose(),this.transform(ze)):this._latestValue}_subscribe(ze){this._obj=ze,this._strategy=this._selectStrategy(ze),this._subscription=this._strategy.createSubscription(ze,pt=>this._updateLatestValue(ze,pt),pt=>this.applicationErrorHandler(pt))}_selectStrategy(ze){if((0,C.yLl)(ze))return vn;if((0,C.cdK)(ze))return Hn;throw Xn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(ze,pt){ze===this._obj&&(this._latestValue=pt,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(pt){return new(pt||Ie)(C.rXU(_.gRc,16))};static \u0275pipe=C.EJ8({name:"async",type:Ie,pure:!1})}return Ie})();const hi=new o.nKC(""),Ti=new o.nKC("");let to=(()=>{class Ie{locale;defaultTimezone;defaultOptions;constructor(ze,pt,on){this.locale=ze,this.defaultTimezone=pt,this.defaultOptions=on}transform(ze,pt,on,wn){if(null==ze||""===ze||ze!=ze)return null;try{return Yt(ze,pt??this.defaultOptions?.dateFormat??"mediumDate",wn||this.locale,on??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ge){throw Xn()}}static \u0275fac=function(pt){return new(pt||Ie)(C.rXU(C.xe9,16),C.rXU(hi,24),C.rXU(Ti,24))};static \u0275pipe=C.EJ8({name:"date",type:Ie,pure:!0})}return Ie})(),To=(()=>{class Ie{transform(ze,pt,on){if(null==ze)return null;if("string"!=typeof ze&&!Array.isArray(ze))throw Xn();return ze.slice(pt,on)}static \u0275fac=function(pt){return new(pt||Ie)};static \u0275pipe=C.EJ8({name:"slice",type:Ie,pure:!1})}return Ie})(),Do=(()=>{class Ie{static \u0275fac=function(pt){return new(pt||Ie)};static \u0275mod=C.$C({type:Ie});static \u0275inj=o.G2t({})}return Ie})()},45984(ot,V,l){"use strict";l.d(V,{Q:()=>y,Sm:()=>A,aZ:()=>x,hb:()=>d,kB:()=>M,om:()=>C});var g=l(85802),h=l(18530),_=l(46494);function C(H,ee){return H?ee?H.endsWith("/")?ee.startsWith("/")?H+ee.slice(1):H+ee:ee.startsWith("/")?H+ee:`${H}/${ee}`:H:ee}function o(H){const ee=H.search(/#|\?|$/);return"/"===H[ee-1]?H.slice(0,ee-1)+H.slice(ee):H}function y(H){return H&&"?"!==H[0]?`?${H}`:H}let d=(()=>{class H{historyGo(F){throw new Error("")}static \u0275fac=function(J){return new(J||H)};static \u0275prov=g.jDH({token:H,factory:()=>(0,g.WQX)(A),providedIn:"root"})}return H})();const M=new g.nKC("");let A=(()=>{class H extends d{_platformLocation;_baseHref;_removeListenerFns=[];constructor(F,J){super(),this._platformLocation=F,this._baseHref=J??this._platformLocation.getBaseHrefFromDOM()??(0,g.WQX)(g.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(F){this._removeListenerFns.push(this._platformLocation.onPopState(F),this._platformLocation.on
vendor: 12,418 bytes, line 1
1HashChange(F))}getBaseHref(){return this._baseHref}prepareExternalUrl(F){return C(this._baseHref,F)}path(F=!1){const J=this._platformLocation.pathname+y(this._platformLocation.search),ne=this._platformLocation.hash;return ne&&F?`${J}${ne}`:J}pushState(F,J,ne,de){const Le=this.prepareExternalUrl(ne+y(de));this._platformLocation.pushState(F,J,Le)}replaceState(F,J,ne,de){const Le=this.prepareExternalUrl(ne+y(de));this._platformLocation.replaceState(F,J,Le)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(F=0){this._platformLocation.historyGo?.(F)}static \u0275fac=function(J){return new(J||H)(g.KVO(_.Vw),g.KVO(M,8))};static \u0275prov=g.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})(),x=(()=>{class H{_subject=new h.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(F){this._locationStrategy=F;const J=this._locationStrategy.getBaseHref();this._basePath=function te(H){if(new RegExp("^(https?:)?//").test(H)){const[,F]=H.split(/\/\/[^\/]+/);return F}return H}(o(K(J))),this._locationStrategy.onPopState(ne=>{this._subject.next({url:this.path(!0),pop:!0,state:ne.state,type:ne.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(F=!1){return this.normalize(this._locationStrategy.path(F))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(F,J=""){return this.path()==this.normalize(F+y(J))}normalize(F){return H.stripTrailingSlash(function q(H,ee){if(!H||!ee.startsWith(H))return ee;const F=ee.substring(H.length);return""===F||["/",";","?","#"].includes(F[0])?F:ee}(this._basePath,K(F)))}prepareExternalUrl(F){return F&&"/"!==F[0]&&(F="/"+F),this._locationStrategy.prepareExternalUrl(F)}go(F,J="",ne=null){this._locationStrategy.pushState(ne,"",F,J),this._notifyUrlChangeListeners(this.prepareExternalUrl(F+y(J)),ne)}replaceState(F,J="",ne=null){this._locationStrategy.replaceState(ne,"",F,J),this._notifyUrlChangeListeners(this.prepareExternalUrl(F+y(J)),ne)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(F=0){this._locationStrategy.historyGo?.(F)}onUrlChange(F){return this._urlChangeListeners.push(F),this._urlChangeSubscription??=this.subscribe(J=>{this._notifyUrlChangeListeners(J.url,J.state)}),()=>{const J=this._urlChangeListeners.indexOf(F);this._urlChangeListeners.splice(J,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(F="",J){this._urlChangeListeners.forEach(ne=>ne(F,J))}subscribe(F,J,ne){return this._subject.subscribe({next:F,error:J??void 0,complete:ne??void 0})}static normalizeQueryParams=y;static joinWithSlash=C;static stripTrailingSlash=o;static \u0275fac=function(J){return new(J||H)(g.KVO(d))};static \u0275prov=g.jDH({token:H,factory:()=>function N(){return new x((0,g.KVO)(d))}(),providedIn:"root"})}return H})();function K(H){return H.replace(/\/index.html$/,"")}},91413(ot,V,l){"use strict";l.d(V,{$R:()=>li,Lr:()=>J,Nl:()=>Ke,Qq:()=>Dn,Sx:()=>_t,_y:()=>Le,a7:()=>le,hv:()=>Ve,yz:()=>Yt}),l(10467);var A=l(85802),D=l(35547),w=l(70274),O=l(5964),x=l(70980),N=l(96354),q=l(25558),K=l(71985),H=(l(19724),l(7673)),ee=l(73117),F=l(46494);class J{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(At){At?"string"==typeof At?this.lazyInit=()=>{this.headers=new Map,At.split("\n").forEach(jt=>{const nn=jt.indexOf(":");if(nn>0){const rn=jt.slice(0,nn),Sn=jt.slice(nn+1).trim();this.addHeaderEntry(rn,Sn)}})}:typeof Headers<"u"&&At instanceof Headers?(this.headers=new Map,At.forEach((jt,nn)=>{this.addHeaderEntry(nn,jt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(At).forEach(([jt,nn])=>{this.setHeaderEntries(jt,nn)})}:this.headers=new Map}has(At){return this.init(),this.headers.has(At.toLowerCase())}get(At){this.init();const jt=this.headers.get(At.toLowerCase());return jt&&jt.length>0?jt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(At){return this.init(),this.headers.get(At.toLowerCase())||null}append(At,jt){return this.clone({name:At,value:jt,op:"a"})}set(At,jt){return this.clone({name:At,value:jt,op:"s"})}delete(At,jt){return this.clone({name:At,value:jt,op:"d"})}maybeSetNormalizedName(At,jt){this.normalizedNames.has(jt)||this.normalizedNames.set(jt,At)}init(){this.lazyInit&&(this.lazyInit instanceof J?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(At=>this.applyUpdate(At)),this.lazyUpdate=null))}copyFrom(At){At.init(),Array.from(At.headers.keys()).forEach(jt=>{this.headers.set(jt,At.headers.get(jt)),this.normalizedNames.set(jt,At.normalizedNames.get(jt))})}clone(At){const jt=new J;return jt.lazyInit=this.lazyInit&&this.lazyInit instanceof J?this.lazyInit:this,jt.lazyUpdate=(this.lazyUpdate||[]).concat([At]),jt}applyUpdate(At){const jt=At.name.toLowerCase();switch(At.op){case"a":case"s":let nn=At.value;if("string"==typeof nn&&(nn=[nn]),0===nn.length)return;this.maybeSetNormalizedName(At.name,jt);const rn=("a"===At.op?this.headers.get(jt):void 0)||[];rn.push(...nn),this.headers.set(jt,rn);break;case"d":const Sn=At.value;if(Sn){let kn=this.headers.get(jt);if(!kn)return;kn=kn.filter(Xn=>-1===Sn.indexOf(Xn)),0===kn.length?(this.headers.delete(jt),this.normalizedNames.delete(jt)):this.headers.set(jt,kn)}else this.headers.delete(jt),this.normalizedNames.delete(jt)}}addHeaderEntry(At,jt){const nn=At.toLowerCase();this.maybeSetNormalizedName(At,nn),this.headers.has(nn)?this.headers.get(nn).push(jt):this.headers.set(nn,[jt])}setHeaderEntries(At,jt){const nn=(Array.isArray(jt)?jt:[jt]).map(Sn=>Sn.toString()),rn=At.toLowerCase();this.headers.set(rn,nn),this.maybeSetNormalizedName(At,rn)}forEach(At){this.init(),Array.from(this.normalizedNames.keys()).forEach(jt=>At(this.normalizedNames.get(jt),this.headers.get(jt)))}}class Le{map=new Map;set(At,jt){return this.map.set(At,jt),this}get(At){return this.map.has(At)||this.map.set(At,At.defaultValue()),this.map.get(At)}delete(At){return this.map.delete(At),this}has(At){return this.map.has(At)}keys(){return this.map.keys()}}class ut{encodeKey(At){return Te(At)}encodeValue(At){return Te(At)}decodeKey(At){return decodeURIComponent(At)}decodeValue(At){return decodeURIComponent(At)}}const xe=/%(\d[a-f0-9])/gi,Ce={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Te(ht){return encodeURIComponent(ht).replace(xe,(At,jt)=>Ce[jt]??At)}function Fe(ht){return`${ht}`}class Ke{map;encoder;updates=null;cloneFrom=null;constructor(At={}){if(this.encoder=At.encoder||new ut,At.fromString){if(At.fromObject)throw new A.buA(2805,!1);this.map=function Oe(ht,At){const jt=new Map;return ht.length>0&&ht.replace(/^\?/,"").split("&").forEach(rn=>{const Sn=rn.indexOf("="),[kn,Xn]=-1==Sn?[At.decodeKey(rn),""]:[At.decodeKey(rn.slice(0,Sn)),At.decodeValue(rn.slice(Sn+1))],bi=jt.get(kn)||[];bi.push(Xn),jt.set(kn,bi)}),jt}(At.fromString,this.encoder)}else At.fromObject?(this.map=new Map,Object.keys(At.fromObject).forEach(jt=>{const nn=At.fromObject[jt],rn=Array.isArray(nn)?nn.map(Fe):[Fe(nn)];this.map.set(jt,rn)})):this.map=null}has(At){return this.init(),this.map.has(At)}get(At){this.init();const jt=this.map.get(At);return jt?jt[0]:null}getAll(At){return this.init(),this.map.get(At)||null}keys(){return this.init(),Array.from(this.map.keys())}append(At,jt){return this.clone({param:At,value:jt,op:"a"})}appendAll(At){const jt=[];return Object.keys(At).forEach(nn=>{const rn=At[nn];Array.isArray(rn)?rn.forEach(Sn=>{jt.push({param:nn,value:Sn,op:"a"})}):jt.push({param:nn,value:rn,op:"a"})}),this.clone(jt)}set(At,jt){return this.clone({param:At,value:jt,op:"s"})}delete(At,jt){return this.clone({param:At,value:jt,op:"d"})}toString(){return this.init(),this.keys().map(At=>{const jt=this.encoder.encodeKey(At);return this.map.get(At).map(nn=>jt+"="+this.encoder.encodeValue(nn)).join("&")}).filter(At=>""!==At).join("&")}clone(At){const jt=new Ke({encoder:this.encoder});return jt.cloneFrom=this.cloneFrom||this,jt.updates=(this.updates||[]).concat(At),jt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(At=>this.map.set(At,this.cloneFrom.map.get(At))),this.updates.forEach(At=>{switch(At.op){case"a":case"s":const jt=("a"===At.op?this.map.get(At.param):void 0)||[];jt.push(Fe(At.value)),this.map.set(At.param,jt);break;case"d":if(void 0===At.value){this.map.delete(At.param);break}{let nn=this.map.get(At.param)||[];const rn=nn.indexOf(Fe(At.value));-1!==rn&&nn.splice(rn,1),nn.length>0?this.map.set(At.param,nn):this.map.delete(At.param)}}}),this.cloneFrom=this.updates=null)}}function kt(ht){return typeof ArrayBuffer<"u"&&ht instanceof ArrayBuffer}function ct(ht){return typeof Blob<"u"&&ht instanceof Blob}function Pt(ht){return typeof FormData<"u"&&ht instanceof FormData}const fe="Content-Type",Xe="text/plain",ve="application/json",he=`${ve}, ${Xe}, */*`;class Pe{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(At,jt,nn,rn){let Sn;if(this.url=jt,this.method=At.toUpperCase(),function Qe(ht){switch(ht){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||rn?(this.body=void 0!==nn?nn:null,Sn=rn):Sn=nn,Sn){if(this.reportProgress=!!Sn.reportProgress,this.withCredentials=!!Sn.withCredentials,this.keepalive=!!Sn.keepalive,Sn.responseType&&(this.responseType=Sn.responseType),Sn.headers&&(this.headers=Sn.headers),Sn.context&&(this.context=Sn.context),Sn.params&&(this.params=Sn.params),Sn.priority&&(this.priority=Sn.priority),Sn.cache&&(this.cache=Sn.cache),Sn.credentials&&(this.credentials=Sn.credentials),"number"==typeof Sn.timeout){if(Sn.timeout<1||!Number.isInteger(Sn.timeout))throw new A.buA(2822,"");this.timeout=Sn.timeout}Sn.mode&&(this.mode=Sn.mode),Sn.redirect&&(this.redirect=Sn.redirect),Sn.integrity&&(this.integrity=Sn.integrity),Sn.referrer&&(this.referrer=Sn.referrer),Sn.referrerPolicy&&(this.referrerPolicy=Sn.referrerPolicy),this.transferCache=Sn.transferCache}if(this.headers??=new J,this.context??=new Le,this.params){const kn=this.params.toString();if(0===kn.length)this.urlWithParams=jt;else{const Xn=jt.indexOf("?");this.urlWithParams=jt+(-1===Xn?"?":Xn<jt.length-1?"&":"")+kn}}else this.params=new Ke,this.urlWithParams=jt}serializeBody(){return null===this.body?null:"string"==typeof this.body||kt(this.body)||ct(this.body)||Pt(this.body)||function Ze(ht){return typeof URLSearchParams<"u"&&ht instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Ke?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Pt(this.body)?null:ct(this.body)?this.body.type||null:kt(this.body)?null:"string"==typeof this.body?Xe:this.body instanceof Ke?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?ve:null}clone(At={}){const jt=At.method||this.method,nn=At.url||this.url,rn=At.responseType||this.responseType,Sn=At.keepalive??this.keepalive,kn=At.priority||this.priority,Xn=At.cache||this.cache,bi=At.mode||this.mode,Fi=At.redirect||this.redirect,Ut=At.credentials||this.credentials,vn=At.referrer||this.referrer,Hn=At.integrity||this.integrity,Kn=At.referrerPolicy||this.referrerPolicy,ai=At.transferCache??this.transferCache,Pi=At.timeout??this.timeout,oi=void 0!==At.body?At.body:this.body,mi=At.withCredentials??this.withCredentials,wi=At.reportProgress??this.reportProgress;let _i=At.headers||this.headers,hi=At.params||this.params;const Ti=At.context??this.context;return void 0!==At.setHeaders&&(_i=Object.keys(At.setHeaders).reduce((to,lo)=>to.set(lo,At.setHeaders[lo]),_i)),At.setParams&&(hi=Object.keys(At.setParams).reduce((to,lo)=>to.set(lo,At.setParams[lo]),hi)),new Pe(jt,nn,oi,{params:hi,headers:_i,context:Ti,reportProgress:wi,responseType:rn,withCredentials:mi,transferCache:ai,keepalive:Sn,cache:Xn,priority:kn,timeout:Pi,mode:bi,redirect:Fi,credentials:Ut,referrer:vn,integrity:Hn,referrerPolicy:Kn})}}
1var Ve=function(ht){return ht[ht.Sent=0]="Sent",ht[ht.UploadProgress=1]="UploadProgress",ht[ht.ResponseHeader=2]="ResponseHeader",ht[ht.DownloadProgress=3]="DownloadProgress",ht[ht.Response=4]="Response",ht[ht.User=5]="User",ht}(Ve||{});class dt{headers;status;statusText;url;ok;type;redirected;responseType;constructor(At,jt=200,nn="OK"){this.headers=At.headers||new J,this.status=void 0!==At.status?At.status:jt,this.statusText=At.statusText||nn,this.url=At.url||null,this.redirected=At.redirected,this.responseType=At.responseType,this.ok=this.status>=200&&this.status<300}}class Dt extends dt{constructor(At={}){super(At)}type=Ve.ResponseHeader;clone(At={}){return new Dt({headers:At.headers||this.headers,status:void 0!==At.status?At.status:this.status,statusText:At.statusText||this.statusText,url:At.url||this.url||void 0})}}class wt extends dt{body;constructor(At={}){super(At),this.body=void 0!==At.body?At.body:null}type=Ve.Response;clone(At={}){return new wt({body:void 0!==At.body?At.body:this.body,headers:At.headers||this.headers,status:void 0!==At.status?At.status:this.status,statusText:At.statusText||this.statusText,url:At.url||this.url||void 0,redirected:At.redirected??this.redirected,responseType:At.responseType??this.responseType})}}class Yt extends dt{name="HttpErrorResponse";message;error;ok=!1;constructor(At){super(At,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${At.url||"(unknown url)"}`:`Http failure response for ${At.url||"(unknown url)"}: ${At.status} ${At.statusText}`,this.error=At.error||null}}const je=new A.nKC(""),Mt=/^\)\]\}',?\n/;let Bt=(()=>{class ht{xhrFactory;tracingService=(0,A.WQX)(D.a8H,{optional:!0});constructor(jt){this.xhrFactory=jt}maybePropagateTrace(jt){return this.tracingService?.propagate?this.tracingService.propagate(jt):jt}handle(jt){if("JSONP"===jt.method)throw new A.buA(-2800,!1);const nn=this.xhrFactory;return(0,H.of)(null).pipe((0,q.n)(()=>new K.c(Sn=>{const kn=nn.build();if(kn.open(jt.method,jt.urlWithParams),jt.withCredentials&&(kn.withCredentials=!0),jt.headers.forEach((oi,mi)=>kn.setRequestHeader(oi,mi.join(","))),jt.headers.has("Accept")||kn.setRequestHeader("Accept",he),!jt.headers.has(fe)){const oi=jt.detectContentTypeHeader();null!==oi&&kn.setRequestHeader(fe,oi)}if(jt.timeout&&(kn.timeout=jt.timeout),jt.responseType){const oi=jt.responseType.toLowerCase();kn.responseType="json"!==oi?oi:"text"}const Xn=jt.serializeBody();let bi=null;const Fi=()=>{if(null!==bi)return bi;const oi=kn.statusText||"OK",mi=new J(kn.getAllResponseHeaders());return bi=new Dt({headers:mi,status:kn.status,statusText:oi,url:kn.responseURL||jt.url}),bi},Ut=this.maybePropagateTrace(()=>{let{headers:oi,status:mi,statusText:wi,url:_i}=Fi(),hi=null;204!==mi&&(hi=typeof kn.response>"u"?kn.responseText:kn.response),0===mi&&(mi=hi?200:0);let Ti=mi>=200&&mi<300;if("json"===jt.responseType&&"string"==typeof hi){const to=hi;hi=hi.replace(Mt,"");try{hi=""!==hi?JSON.parse(hi):null}catch(lo){hi=to,Ti&&(Ti=!1,hi={error:lo,text:hi})}}Ti?(Sn.next(new wt({body:hi,headers:oi,status:mi,statusText:wi,url:_i||void 0})),Sn.complete()):Sn.error(new Yt({error:hi,headers:oi,status:mi,statusText:wi,url:_i||void 0}))}),vn=this.maybePropagateTrace(oi=>{const{url:mi}=Fi(),wi=new Yt({error:oi,status:kn.status||0,statusText:kn.statusText||"Unknown Error",url:mi||void 0});Sn.error(wi)});let Hn=vn;jt.timeout&&(Hn=this.maybePropagateTrace(oi=>{const{url:mi}=Fi(),wi=new Yt({error:new DOMException("Request timed out","TimeoutError"),status:kn.status||0,statusText:kn.statusText||"Request timeout",url:mi||void 0});Sn.error(wi)}));let Kn=!1;const ai=this.maybePropagateTrace(oi=>{Kn||(Sn.next(Fi()),Kn=!0);let mi={type:Ve.DownloadProgress,loaded:oi.loaded};oi.lengthComputable&&(mi.total=oi.total),"text"===jt.responseType&&kn.responseText&&(mi.partialText=kn.responseText),Sn.next(mi)}),Pi=this.maybePropagateTrace(oi=>{let mi={type:Ve.UploadProgress,loaded:oi.loaded};oi.lengthComputable&&(mi.total=oi.total),Sn.next(mi)});return kn.addEventListener("load",Ut),kn.addEventListener("error",vn),kn.addEventListener("timeout",Hn),kn.addEventListener("abort",vn),jt.reportProgress&&(kn.addEventListener("progress",ai),null!==Xn&&kn.upload&&kn.upload.addEventListener("progress",Pi)),kn.send(Xn),Sn.next({type:Ve.Sent}),()=>{kn.removeEventListener("error",vn),kn.removeEventListener("abort",vn),kn.removeEventListener("load",Ut),kn.removeEventListener("timeout",Hn),jt.reportProgress&&(kn.removeEventListener("progress",ai),null!==Xn&&kn.upload&&kn.upload.removeEventListener("progress",Pi)),kn.readyState!==kn.DONE&&kn.abort()}})))}static \u0275fac=function(nn){return new(nn||ht)(A.KVO(ee.N))};static \u0275prov=A.jDH({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})();function it(ht,At){return At(ht)}function Lt(ht,At){return(jt,nn)=>At.intercept(jt,{handle:rn=>ht(rn,nn)})}const le=new A.nKC(""),$=new A.nKC("",{factory:()=>[]}
1),Ee=new A.nKC(""),Et=new A.nKC("",{factory:()=>!0});function dn(){let ht=null;return(At,jt)=>{null===ht&&(ht=((0,A.WQX)(le,{optional:!0})??[]).reduceRight(Lt,it));const nn=(0,A.WQX)(A.u5s);if((0,A.WQX)(Et)){const Sn=nn.add();return ht(At,jt).pipe((0,x.j)(Sn))}return ht(At,jt)}}let an=(()=>{class ht{static \u0275fac=function(nn){return new(nn||ht)};static \u0275prov=A.jDH({token:ht,factory:function(nn){let rn=null;return rn=nn?new(nn||ht):A.KVO(Bt),rn},providedIn:"root"})}return ht})(),at=(()=>{class ht{backend;injector;chain=null;pendingTasks=(0,A.WQX)(A.u5s);contributeToStability=(0,A.WQX)(Et);constructor(jt,nn){this.backend=jt,this.injector=nn}handle(jt){if(null===this.chain){const nn=Array.from(new Set([...this.injector.get($),...this.injector.get(Ee,[])]));this.chain=nn.reduceRight((rn,Sn)=>function Me(ht,At,jt){return(nn,rn)=>(0,A.N4e)(jt,()=>At(nn,Sn=>ht(Sn,rn)))}(rn,Sn,this.injector),it)}if(this.contributeToStability){const nn=this.pendingTasks.add();return this.chain(jt,rn=>this.backend.handle(rn)).pipe((0,x.j)(nn))}return this.chain(jt,nn=>this.backend.handle(nn))}static \u0275fac=function(nn){return new(nn||ht)(A.KVO(an),A.KVO(A.uvJ))};static \u0275prov=A.jDH({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})(),st=(()=>{class ht{static \u0275fac=function(nn){return new(nn||ht)};static \u0275prov=A.jDH({token:ht,factory:function(nn){let rn=null;return rn=nn?new(nn||ht):A.KVO(at),rn},providedIn:"root"})}return ht})();function zt(ht,At){return{body:At,headers:ht.headers,context:ht.context,observe:ht.observe,params:ht.params,reportProgress:ht.reportProgress,responseType:ht.responseType,withCredentials:ht.withCredentials,credentials:ht.credentials,transferCache:ht.transferCache,timeout:ht.timeout,keepalive:ht.keepalive,priority:ht.priority,cache:ht.cache,mode:ht.mode,redirect:ht.redirect,integrity:ht.integrity,referrer:ht.referrer,referrerPolicy:ht.referrerPolicy}}let Dn=(()=>{class ht{handler;constructor(jt){this.handler=jt}request(jt,nn,rn={}){let Sn;if(jt instanceof Pe)Sn=jt;else{let bi,Fi;bi=rn.headers instanceof J?rn.headers:new J(rn.headers),rn.params&&(Fi=rn.params instanceof Ke?rn.params:new Ke({fromObject:rn.params})),Sn=new Pe(jt,nn,void 0!==rn.body?rn.body:null,{headers:bi,context:rn.context,params:Fi,reportProgress:rn.reportProgress,responseType:rn.responseType||"json",withCredentials:rn.withCredentials,transferCache:rn.transferCache,keepalive:rn.keepalive,priority:rn.priority,cache:rn.cache,mode:rn.mode,redirect:rn.redirect,credentials:rn.credentials,referrer:rn.referrer,referrerPolicy:rn.referrerPolicy,integrity:rn.integrity,timeout:rn.timeout})}const kn=(0,H.of)(Sn).pipe((0,w.H)(bi=>this.handler.handle(bi)));if(jt instanceof Pe||"events"===rn.observe)return kn;const Xn=kn.pipe((0,O.p)(bi=>bi instanceof wt));switch(rn.observe||"body"){case"body":switch(Sn.responseType){case"arraybuffer":return Xn.pipe((0,N.T)(bi=>{if(null!==bi.body&&!(bi.body instanceof ArrayBuffer))throw new A.buA(2806,!1);return bi.body}));case"blob":return Xn.pipe((0,N.T)(bi=>{if(null!==bi.body&&!(bi.body instanceof Blob))throw new A.buA(2807,!1);return bi.body}));case"text":return Xn.pipe((0,N.T)(bi=>{if(null!==bi.body&&"string"!=typeof bi.body)throw new A.buA(2808,!1);return bi.body}));default:return Xn.pipe((0,N.T)(bi=>bi.body))}case"response":return Xn;default:throw new A.buA(2809,!1)}}delete(jt,nn={}){return this.request("DELETE",jt,nn)}get(jt,nn={}){return this.request("GET",jt,nn)}head(jt,nn={}){return this.request("HEAD",jt,nn)}jsonp(jt,nn){return this.request("JSONP",jt,{params:(new Ke).append(nn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(jt,nn={}){return this.request("OPTIONS",jt,nn)}patch(jt,nn,rn={}){return this.request("PATCH",jt,zt(rn,nn))}post(jt,nn,rn={}){return this.request("POST",jt,zt(rn,nn))}put(jt,nn,rn={}){return this.request("PUT",jt,zt(rn,nn))}static \u0275fac=function(nn){return new(nn||ht)(A.KVO(st))};static \u0275prov=A.jDH({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})();const ti=new A.nKC("",{factory:()=>!0}),Ei=new A.nKC("",{factory:()=>"XSRF-TOKEN"}),Ki=new A.nKC("",{factory:()=>"X-XSRF-TOKEN"});let Hi=(()=>{class ht{cookieName=(0,A.WQX)(Ei);doc=(0,A.WQX)(A.qQL);
1lastCookieString="";lastToken=null;parseCount=0;getToken(){const jt=this.doc.cookie||"";return jt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ee.b)(jt,this.cookieName),this.lastCookieString=jt),this.lastToken}static \u0275fac=function(nn){return new(nn||ht)};static \u0275prov=A.jDH({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})(),Wi=(()=>{class ht{static \u0275fac=function(nn){return new(nn||ht)};static \u0275prov=A.jDH({token:ht,factory:function(nn){let rn=null;return rn=nn?new(nn||ht):A.KVO(Hi),rn},providedIn:"root"})}return ht})();function qi(ht,At){if(!(0,A.WQX)(ti)||"GET"===ht.method||"HEAD"===ht.method)return At(ht);try{const rn=(0,A.WQX)(F.Vw).href,{origin:Sn}=new URL(rn),{origin:kn}=new URL(ht.url,Sn);if(Sn!==kn)return At(ht)}catch{return At(ht)}const jt=(0,A.WQX)(Wi).getToken(),nn=(0,A.WQX)(Ki);return null!=jt&&!ht.headers.has(nn)&&(ht=ht.clone({headers:ht.headers.set(nn,jt)})),At(ht)}var Yi=function(ht){return ht[ht.Interceptors=0]="Interceptors",ht[ht.LegacyInterceptors=1]="LegacyInterceptors",ht[ht.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ht[ht.NoXsrfProtection=3]="NoXsrfProtection",ht[ht.JsonpSupport=4]="JsonpSupport",ht[ht.RequestsMadeViaParent=5]="RequestsMadeViaParent",ht[ht.Fetch=6]="Fetch",ht}(Yi||{});function li(...ht){const At=[Dn,at,{provide:st,useExisting:at},{provide:an,useFactory:()=>(0,A.WQX)(je,{optional:!0})??(0,A.WQX)(Bt)},{provide:$,useValue:qi,multi:!0}];for(const jt of ht)At.push(...jt.\u0275providers);return(0,A.EmA)(At)}const Tn=new A.nKC("");function _t(){return function En(ht,At){return{\u0275kind:ht,\u0275providers:At}}(Yi.LegacyInterceptors,[{provide:Tn,useFactory:dn},{provide:$,useExisting:Tn,multi:!0}])}},46494(ot,V,l){"use strict";l.d(V,{Vw:()=>o,hj:()=>y,ig:()=>_,qj:()=>C,rb:()=>h});var f=l(85802);let g=null;function h(){return g}function _(M){g??=M}class C{}let o=(()=>{class M{historyGo(D){throw new Error("")}static \u0275fac=function(w){return new(w||M)};static \u0275prov=f.jDH({token:M,factory:()=>(0,f.WQX)(d),providedIn:"platform"})}return M})();const y=new f.nKC("");let d=(()=>{class M extends o{_location;_history;_doc=(0,f.WQX)(f.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return h().getBaseHref(this._doc)}onPopState(D){const w=h().getGlobalEventTarget(this._doc,"window");return w.addEventListener("popstate",D,!1),()=>w.removeEventListener("popstate",D)}onHashChange(D){const w=h().getGlobalEventTarget(this._doc,"window");return w.addEventListener("hashchange",D,!1),()=>w.removeEventListener("hashchange",D)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(D){this._location.pathname=D}pushState(D,w,O){this._history.pushState(D,w,O)}replaceState(D,w,O){this._history.replaceState(D,w,O)}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}static \u0275fac=function(w){return new(w||M)};static \u0275prov=f.jDH({token:M,factory:()=>new M,providedIn:"platform"})}return M})()},73117(ot,V,l){"use strict";function f(h,_){_=encodeURIComponent(_);for(const C of h.split(";")){const o=C.indexOf("="),[y,d]=-1==o?[C,""]:[C.slice(0,o),C.slice(o+1)];if(y.trim()===_)return decodeURIComponent(d)}return null}l.d(V,{N:()=>g,b:()=>f});class g{}},60177(ot,V,l){"use strict";l.d(V,{AJ:()=>xe,UE:()=>Te,Vy:()=>Fe,Xr:()=>Qe});var Le=l(85802);const xe="browser";function Te(Qt){return Qt===xe}function Fe(Qt){return"server"===Qt}let Qe=(()=>{class Qt{static \u0275prov=(0,Le.jDH)({token:Qt,providedIn:"root",factory:()=>new kt((0,Le.WQX)(Le.qQL),window)})}return Qt})();class kt{document;window;offset=()=>[0,0];constructor(cn,yn){this.document=cn,this.window=yn}setOffset(cn){this.offset=Array.isArray(cn)?()=>cn:cn}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(cn,yn){this.window.scrollTo({...yn,left:cn[0],top:cn[1]})}scrollToAnchor(cn,yn){const Un=function ct(Qt,cn){const yn=Qt.getElementById(cn)||Qt.getElementsByName(cn)[0];if(yn)return yn;if("function"==typeof Qt.createTreeWalker&&Qt.body&&"function"==typeof Qt.body.attachShadow){const Un=Qt.createTreeWalker(Qt.body,NodeFilter.SHOW_ELEMENT);let Zn=Un.currentNode;for(;Zn;){const tn=Zn.shadowRoot;if(tn){const Zi=tn.getElementById(cn)||tn.querySelector(`[name="${cn}"]`);if(Zi)return Zi}Zn=Un.nextNode()}}return null}(this.document,cn);Un&&(this.scrollToElement(Un,yn),Un.focus())}setHistoryScrollRestoration(cn){try{this.window.history.scrollRestoration=cn}catch{console.warn((0,Le.OsK)(2400,!1))}}scrollToElement(cn,yn){const Un=cn.getBoundingClientRect(),Zn=Un.left+this.window.pageXOffset,tn=Un.top+this.window.pageYOffset,Zi=this.offset();this.window.scrollTo({...yn,left:Zn-Zi[0],top:tn-Zi[1]})}}},35547(ot,V,l){"use strict";l.d(V,{$C:()=>Lm,$Ln:()=>D_,$o8:()=>gr,AVh:()=>lp,Ab1:()=>jl,Aen:()=>L0,Agw:()=>Lo,Avn:()=>$h,B1s:()=>Fn,B4B:()=>Sc,BIS:()=>Vs,BMQ:()=>Rh,BUC:()=>F_,C4Q:()=>Wc,C5r:()=>xy,C6U:()=>np,C7A:()=>s_,Co$:()=>Sm,CsU:()=>EM,DH7:()=>ry,DNE:()=>mh,DUP:()=>Pl,DkB:()=>zh,Dyx:()=>Y_,E5c:()=>fp,EBC:()=>xu,EFF:()=>H0,EJ8:()=>Nm,Ef8:()=>ye,FsC:()=>xm,FuF:()=>K1,GBs:()=>tp,H1s:()=>T_,HbH:()=>x0,Hgh:()=>Uh,Hps:()=>Mh,JRh:()=>up,Jt5:()=>q_,Jv_:()=>_y,KED:()=>y2,LHq:()=>hp,Lme:()=>dp,NAR:()=>C0,NCX:()=>Zu,NOj:()=>ue,NSC:()=>_c,NYb:()=>OM,NyB:()=>O0,OA$:()=>Hi,OM3:()=>Xc,OR8:()=>Ll,Ocv:()=>V2,Ol2:()=>fh,PLl:()=>ys,PYC:()=>$e,PYt:()=>Pm,QR4:()=>su,QTQ:()=>zg,Ql9:()=>F2,R50:()=>pp,R7$:()=>Ii,RPW:()=>Ci,RV6:()=>J_,SS7:()=>mp,SdG:()=>M0,SpI:()=>Ld,TFI:()=>vd,UQu:()=>N2,VBU:()=>Rm,VFN:()=>hy,VeQ:()=>Pr,VkB:()=>dy,Vm6:()=>H_,Vt3:()=>ph,VwU:()=>qh,VzW:()=>eC,WPN:()=>Za,WeM:()=>Kp,XpG:()=>v0,Xx1:()=>zt,Y8G:()=>jh,YEm:()=>Os,Z7z:()=>K_,Zhj:()=>z1,_9s:()=>Gf,_9u:()=>ar,_jY:()=>jr,_qm:()=>is,_ys:()=>$p,a8H:()=>Zl,aCM:()=>L,aKT:()=>Jo,ai1:()=>fy,bH1:()=>km,bH3:()=>ly,bIt:()=>Jh,bMT:()=>Ry,bVm:()=>lu,bc$:()=>ds,brH:()=>Ly,c1b:()=>
vendor: 60,597 bytes, line 1
1dd,cDI:()=>FC,cdK:()=>O_,czy:()=>Ls,d80:()=>B2,dOL:()=>M_,dfE:()=>cf,e6s:()=>ND,eHC:()=>ud,eq3:()=>vy,eu8:()=>Vh,eux:()=>wd,f$h:()=>kc,fX1:()=>$_,gXe:()=>Lr,gil:()=>vl,hnC:()=>$1,i5U:()=>Ay,iLQ:()=>I_,iWE:()=>X,j41:()=>au,jOp:()=>kh,k0s:()=>Ed,kBR:()=>Yh,kS0:()=>Mi,l4e:()=>Ey,lJ4:()=>by,lJT:()=>P_,l_i:()=>Cy,lsd:()=>E0,mGM:()=>D0,mNQ:()=>uy,mS5:()=>lt,mU9:()=>H1,mal:()=>yf,mxI:()=>gp,n$t:()=>Rc,nI1:()=>ky,nVh:()=>V_,npT:()=>Ru,nrm:()=>Bh,o8S:()=>Oh,ozJ:()=>zf,p2i:()=>gn,pJN:()=>Uo,phd:()=>IM,pl0:()=>PM,qex:()=>Td,r8f:()=>cy,rAh:()=>Jt,rXU:()=>ac,rj2:()=>Od,rpG:()=>tb,sFG:()=>zv,sGs:()=>Oy,sMw:()=>My,sZ2:()=>As,sdS:()=>w0,sgu:()=>X1,tSv:()=>Ac,tvf:()=>Xt,uiO:()=>Pn,utN:()=>u1,vDg:()=>tm,vZN:()=>Md,vxM:()=>G_,vzT:()=>ru,w6W:()=>Z1,wEZ:()=>ip,wni:()=>ep,wr$:()=>Ou,xGo:()=>Rn,xc7:()=>ap,xe9:()=>nb,yLl:()=>E_,ypd:()=>SM,ziG:()=>Dy,zoo:()=>Hp,zvX:()=>Kh,zw6:()=>mr});var Mt=l(10467),p=l(85802),Bt=l(15824),it=l(18530),Lt=l(13961),Me=l(96354);function le(n){return{toString:n}.toString()}const $="__annotations__",Ee="__parameters__",Et="__prop__metadata__";function dn(n,i,s,c,m){return le(()=>{const b=an(i);function T(...B){if(this instanceof T)return b.call(this,...B),this;const Y=new T(...B);return function(Ue){return m&&m(Ue,...B),(Ue.hasOwnProperty($)?Ue[$]:Object.defineProperty(Ue,$,{value:[]})[$]).push(Y),Ue}}return s&&(T.prototype=Object.create(s.prototype)),T.prototype.ngMetadataName=n,T.annotationCls=T,T})}function an(n){return function(...s){if(n){const c=n(...s);for(const m in c)this[m]=c[m]}}}function Nt(n,i,s){return le(()=>{const c=an(i);function m(...b){if(this instanceof m)return c.apply(this,b),this;const T=new m(...b);return B.annotation=T,B;function B(Y,Se,Ue){const mt=Y.hasOwnProperty(Ee)?Y[Ee]:Object.defineProperty(Y,Ee,{value:[]})[Ee];for(;mt.length<=Ue;)mt.push(null);return(mt[Ue]=mt[Ue]||[]).push(T),Y}}return m.prototype.ngMetadataName=n,m.annotationCls=m,m})}const st=(0,p.z6V)(Nt("Inject",n=>({token:n})),-1),zt=(0,p.z6V)(Nt("Optional"),8),Dn=(0,p.z6V)(Nt("Self"),2),hn=(0,p.z6V)(Nt("SkipSelf"),4),Vn=(0,p.z6V)(Nt("Host"),1);function Pn(n){const i=p.laP.ng;if(i&&i.\u0275compilerFacade)return i.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const xn={\u0275\u0275defineInjectable:p.jDH,\u0275\u0275defineInjector:p.G2t,\u0275\u0275inject:p.KVO,\u0275\u0275invalidFactoryDep:p.dmw,resolveForwardRef:p.nl4},ei=Function;function ci(n){return"function"==typeof n}const ri=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,fi=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,so=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Li=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class ti{_reflect;constructor(i){this._reflect=i||p.laP.Reflect}factory(i){return(...s)=>new i(...s)}_zipTypesAndAnnotations(i,s){let c;c=(0,p.WfI)(typeof i>"u"?s.length:i.length);for(let m=0;m<c.length;m++)c[m]=typeof i>"u"?[]:i[m]&&i[m]!=Object?[i[m]]:[],s&&null!=s[m]&&(c[m]=c[m].concat(s[m]));return c}_ownParameters(i,s){if(function Cn(n){return ri.test(n)||Li.test(n)||fi.test(n)&&!so.test(n)}(i.toString()))return null;if(i.parameters&&i.parameters!==s.parameters)return i.parameters;const m=i.ctorParameters;if(m&&m!==s.ctorParameters){const B="function"==typeof m?m():m,Y=B.map(Ue=>Ue&&Ue.type),Se=B.map(Ue=>Ue&&si(Ue.decorators));return this._zipTypesAndAnnotations(Y,Se)}const b=i.hasOwnProperty(Ee)&&i[Ee],T=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",i);return T||b?this._zipTypesAndAnnotations(T,b):(0,p.WfI)(i.length)}parameters(i){if(!ci(i))return[];const s=Ei(i);let c=this._ownParameters(i,s);return!c&&s!==Object&&(c=this.parameters(s)),c||[]}_ownAnnotations(i,s){if(i.annotations&&i.annotations!==s.annotations){let c=i.annotations;return"function"==typeof c&&c.annotations&&(c=c.annotations),c}return i.decorators&&i.decorators!==s.decorators?si(i.decorators):i.hasOwnProperty($)?i[$]:null}annotations(i){if(!ci(i))return[];const s=Ei(i),c=this._ownAnnotations(i,s)||[];return(s!==Object?this.annotations(s):[]).concat(c)}_ownPropMetadata(i,s){if(i.propMetadata&&i.propMetadata!==s.propMetadata){let c=i.propMetadata;return"function"==typeof c&&c.propMetadata&&(c=c.propMetadata),c}if(i.propDecorators&&i.propDecorators!==s.propDecorators){const c=i.propDecorators,m={};return Object.keys(c).forEach(b=>{m[b]=si(c[b])}),m}return i.hasOwnProperty(Et)?i[Et]:null}propMetadata(i){if(!ci(i))return{};const s=Ei(i),c={};if(s!==Object){const b=this.propMetadata(s);Object.keys(b).forEach(T=>{c[T]=b[T]})}const m=this._ownPropMetadata(i,s);return m&&Object.keys(m).forEach(b=>{const T=[];c.hasOwnProperty(b)&&T.push(...c[b]),T.push(...m[b]),c[b]=T}),c}ownPropMetadata(i){return ci(i)&&this._ownPropMetadata(i,Ei(i))||{}}hasLifecycleHook(i,s){return i instanceof ei&&s in i.prototype}}function si(n){return n?n.map(i=>new(0,i.type.annotationCls)(...i.args?i.args:[])):[]}function Ei(n){const i=n.prototype?Object.getPrototypeOf(n.prototype):null;return(i?i.constructor:null)||Object}function An(n,i,s,c){null!==i?i.applyValueToInputSignal(i,c):n[s]=c}class Ki{previousValue;currentValue;firstChange;constructor(i,s,c){this.previousValue=i,this.currentValue=s,this.firstChange=c}isFirstChange(){return this.firstChange}}const Hi=(()=>{const n=()=>Wi;return n.ngInherit=!0,n})();function Wi(n){return n.type.prototype.ngOnChanges&&(n.setInput=eo),qi}function qi(){const n=En(this),i=n?.current;if(i){const s=n.previous;if(s===p.MZA)n.previous=i;else for(let c in i)s[c]=i[c];n.current=null,this.ngOnChanges(i)}}function eo(n,i,s,c,m){const b=this.declaredInputs[c],T=En(n)||function li(n,i){return n[Yi]=i}(n,{previous:p.MZA,current:null}),B=T.current||(T.current={}),Y=T.previous,Se=Y[b];B[b]=new Ki(Se&&Se.currentValue,s,Y===p.MZA),An(n,i,m,s)}const Yi="__ngSimpleChanges__";function En(n){return n[Yi]||null}const ln=[],ye=function(n,i=null,s){for(let c=0;c<ln.length;c++)(0,ln[c])(n,i,s)};var lt=function(n){return n[n.TemplateCreateStart=0]="TemplateCreateStart",n[n.TemplateCreateEnd=1]="TemplateCreateEnd",n[n.TemplateUpdateStart=2]="TemplateUpdateStart",n[n.TemplateUpdateEnd=3]="TemplateUpdateEnd",n[n.LifecycleHookStart=4]="LifecycleHookStart",n[n.LifecycleHookEnd=5]="LifecycleHookEnd",n[n.OutputStart=6]="OutputStart",n[n.OutputEnd=7]="OutputEnd",n[n.BootstrapApplicationStart=8]="BootstrapApplicationStart",n[n.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",n[n.BootstrapComponentStart=10]="BootstrapComponentStart",n[n.BootstrapComponentEnd=11]="BootstrapComponentEnd",n[n.ChangeDetectionStart=12]="ChangeDetectionStart",n[n.ChangeDetectionEnd=13]="ChangeDetectionEnd",n[n.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",n[n.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",n[n.AfterRenderHooksStart=16]="AfterRenderHooksStart",n[n.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",n[n.ComponentStart=18]="ComponentStart",n[n.ComponentEnd=19]="ComponentEnd",n[n.DeferBlockStateStart=20]="DeferBlockStateStart",n[n.DeferBlockStateEnd=21]="DeferBlockStateEnd",n[n.DynamicComponentStart=22]="DynamicComponentStart",n[n.DynamicComponentEnd=23]="DynamicComponentEnd",n[n.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",n[n.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",n}(lt||{});function On(n,i){for(let s=i.directiveStart,c=i.directiveEnd;s<c;s++){const b=n.data[s].type.prototype,{ngAfterContentInit:T,ngAfterContentChecked:B,ngAfterViewInit:Y,ngAfterViewChecked:Se,ngOnDestroy:Ue}=b;T&&(n.contentHooks??=[]).push(-s,T),B&&((n.contentHooks??=[]).push(s,B),(n.contentCheckHooks??=[]).push(s,B)),Y&&(n.viewHooks??=[]).push(-s,Y),Se&&((n.viewHooks??=[]).push(s,Se),(n.viewCheckHooks??=[]).push(s,Se)),null!=Ue&&(n.destroyHooks??=[]).push(s,Ue)}}function Bn(n,i,s){ht(n,i,3,s)}function Qn(n,i,s,c){(3&n[p.Wg1])===s&&ht(n,i,s,c)}function Ni(n,i){let s=n[p.Wg1];(3&s)===i&&(s&=16383,s+=1,n[p.Wg1]=s)}function ht(n,i,s,c){const b=c??-1,T=i.length-1;let B=0;for(let Y=void 0!==c?65535&n[p.wVl]:0;Y<T;Y++)if("number"==typeof i[Y+1]){if(B=i[Y],null!=c&&B>=c)break}else i[Y]<0&&(n[p.wVl]+=65536),(B<b||-1==b)&&(jt(n,s,i,Y),n[p.wVl]=(4294901760&n[p.wVl])+Y+2),Y++}function At(n,i){ye(lt.LifecycleHookStart,n,i);const s=(0,Bt.Ht)(null);try{i.call(n)}finally{(0,Bt.Ht)(s),ye(lt.LifecycleHookEnd,n,i)}}function jt(n,i,s,c){const m=s[c]<0,b=s[c+1],B=n[m?-s[c]:s[c]];m?n[p.Wg1]>>14<n[p.wVl]>>16&&(3&n[p.Wg1])===i&&(n[p.Wg1]+=16384,At(B,b)):At(B,b)}class rn{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(i,s,c,m){this.factory=i,this.name=m,this.canSeeViewProviders=s,this.injectImpl=c}}function kn(n){return null!=n&&"object"==typeof n&&(null===n.insertBeforeIndex||"number"==typeof n.insertBeforeIndex||Array.isArray(n.insertBeforeIndex))}function Kn(n){return 3===n||4===n||6===n}function ai(n){return 64===n.charCodeAt(0)}function Pi(n,i){if(null!==i&&0!==i.length)if(null===n||0===n.length)n=i.slice();else{let s=-1;for(let c=0;c<i.length;c++){const m=i[c];"number"==typeof m?s=m:0===s||oi(n,s,m,0,-1===s||2===s?i[++c]:null)}}return n}function oi(n,i,s,c,m){let b=0,T=n.length;if(-1===i)T=-1;else for(;b<n.length;){const B=n[b++];if("number"==typeof B){if(B===i){T=-1;break}if(B>i){T=b-1;break}}}for(;b<n.length;){const B=n[b];if("number"==typeof B)break;if(B===s)return void(null!==m&&(n[b+1]=m));b++,null!==m&&b++}-1!==T&&(n.splice(T,0,i),b=T+1),n.splice(b++,0,s),null!==m&&n.splice(b++,0,m)}function mi(n){return-1!==n}function wi(n){return 32767&n}function hi(n,i){let s=function _i(n){return n>>16}(n),c=i;for(;s>0;)c=c[p.X5O],s--;return c}let Ti=!0;function to(n){const i=Ti;return Ti=n,i}let cn=0;const yn={};function Zn(n,i){const s=Zi(n,i);if(-1!==s)return s;const c=i[p.eDl];c.firstCreatePass&&(n.injectorIndex=i.length,tn(c.data,n),tn(i,null),tn(c.blueprint,null));const m=fo(n,i),b=n.injectorIndex;if(mi(m)){const T=wi(m),B=hi(m,i),Y=B[p.eDl].data;for(let Se=0;Se<8;Se++)i[b+Se]=B[T+Se]|Y[T+Se]}return i[b+8]=m,b}function tn(n,i){n.push(0,0,0,0,0,0,0,0,i)}function Zi(n,i){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===i[n.injectorIndex+8]?-1:n.injectorIndex}function fo(n,i){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let s=0,c=null,m=i;for(;null!==m;){if(c=ki(m),null===c)return-1;if(s++,m=m[p.X5O],-1!==c.injectorIndex)return c.injectorIndex|s<<16}return-1}function zi(n,i,s){!function Un(n,i,s){let c;"string"==typeof s?c=s.charCodeAt(0)||0:s.hasOwnProperty(p.p9y)&&(c=s[p.p9y]),null==c&&(c=s[p.p9y]=cn++);const m=255&c;i.data[n+(m>>5)]|=1<<m}(n,i,s)}function To(n,i,s){if(8&s||void 0!==n)return n;(0,p.$Hz)(i,"NodeInjector")}function Io(n,i,s,c){if(8&s&&void 0===c&&(c=null),!(3&s)){const m=n[p.YEL],b=(0,p.a2B)(void 0);try{return m?m.get(i,c,8&s):(0,p.MzJ)(i,c,8&s)}finally{(0,p.a2B)(b)}}return To(c,i,s)}function Do(n,i,s,c=0,m){if(null!==n){if(2048&i[p.Wg1]&&!(2&c)){const T=function ii(n,i,s,c,m){let b=n,T=i;for(;null!==b&&null!==T&&2048&T[p.Wg1]&&!(0,p.EFk)(T);){const B=Ie(b,T,s,2|c,yn);if(B!==yn)return B;let Y=b.parent;if(!Y){const Se=T[p.oMQ];if(Se){const Ue=Se.get(s,yn,-5&c);if(Ue!==yn)return Ue}Y=ki(T),T=T[p.X5O]}b=Y}return m}(n,i,s,c,yn);if(T!==yn)return T}const b=Ie(n,i,s,c,yn);if(b!==yn)return b}return Io(i,s,c,m)}function Ie(n,i,s,c,m){const b=function wn(n){if("string"==typeof n)return n.charCodeAt(0)||0;const i=n.hasOwnProperty(p.p9y)?n[p.p9y]:void 0;return"number"==typeof i?i>=0?255&i:mn:i}(s);if("function"==typeof b){if(!(0,p.ihb)(i,n,c))return 1&c?To(m,s,c):Io(i,s,c,m);try{let T;if(T=b(c),null!=T||8&c)return T;(0,p.$Hz)(s)}finally{(0,p.niQ)()}}else if("number"==typeof b){let T=null,B=Zi(n,i),Y=-1,Se=1&c?i[p.b5C][p.qlT]:null;for((-1===B||4&c)&&(Y=-1===B?fo(n,i):i[B+8],-1!==Y&&qe(c,!1)?(T=i[p.eDl],B=wi(Y),i=hi(Y,i)):B=-1);-1!==B;){const Ue=i[p.eDl];if(Ge(b,B,Ue.data)){const mt=Ot(B,i,s,T,c,Se);if(mt!==yn)return mt}Y=i[B+8],-1!==Y&&qe(c,i[p.eDl].data[B+8]===Se)&&Ge(b,B,i)?(T=Ue,B=wi(Y),i=hi(Y,i)):B=-1}}return m}function Ot(n,i,s,c,m,b){const T=i[p.eDl],B=T.data[n+8],Ue=ze(B,T,s,null==c?(0,p.Qs1)(B)&&Ti:c!=T&&!!(3&B.type),1&m&&b===B);return null!==Ue?on(i,T,Ue,B,m):yn}function ze(n,i,s,c,m){const b=n.providerIndexes,T=i.data,B=1048575&b,Y=n.directiveStart,Ue=b>>20,Kt=m?B+Ue:n.directiveEnd;for(let en=c?B:B+Ue;en<Kt;en++){const _n=T[en];if(en<Y&&s===_n||en>=Y&&_n.type===s)return en}if(m){const en=T[Y];if(en&&(0,p.JlV)(en)&&en.type===s)return Y}return null}function on(n,i,s,c,m){let b=n[s];const T=i.data;if(b instanceof rn){const B=b;if(B.resolving)throw(0,p.PQT)("");const Y=to(B.canSeeViewProviders);B.resolving=!0;const mt=B.injectImpl?(0,p.a2B)(B.injectImpl):null;(0,p.ihb)(n,c,0);try{b=n[s]=B.factory(void 0,m,T,n,c),i.firstCreatePass&&s>=c.directiveStart&&function Vt(n,i,s){const{ngOnChanges:c,ngOnInit:m,ngDoCheck:b}=i.type.prototype;if(c){const T=Wi(i);(s.preOrderHooks??=[]).push(n,T),(s.preOrderCheckHooks??=[]).push(n,T)}m&&(s.preOrderHooks??=[]).push(0-n,m),b&&((s.preOrderHooks??=[]).push(n,b),(s.preOrderCheckHooks??=[]).push(n,b))}(s,T[s],i)}finally{null!==mt&&(0,p.a2B)(mt),to(Y),B.resolving=!1,(0,p.niQ)()}}return b}function Ge(n,i,s){return!!(s[i+(n>>5)]&1<<n)}function qe(n,i){return!(2&n||1&n&&i)}class gt{_tNode;_lView;constructor(i,s){this._tNode=i,this._lView=s}get(i,s,c){return Do(this._tNode,this._lView,i,(0,p.hjC)(c),s)}}function mn(){return new gt((0,p.Mx4)(),(0,p.OAn)())}function Rn(n){return le(()=>{const i=n.prototype.constructor,s=i[p.zSs]||Wn(i),c=Object.prototype;let m=Object.getPrototypeOf(n.prototype).constructor;for(;m&&m!==c;){const b=m[p.zSs]||Wn(m);if(b&&b!==s)return b;m=Object.getPrototypeOf(m)}return b=>new b})}function Wn(n){return(0,p.Jzi)(n)?()=>{const i=Wn((0,p.nl4)(n));return i&&i()}:(0,p.wGu)(n)}function ki(n){const i=n[p.eDl],s=i.type;return 2===s?i.declTNode:1===s?n[p.qlT]:null}function Mi(n){return function go(n,i){if("class"===i)return n.classes;if("style"===i)return n.styles;const s=n.attrs;if(s){const c=s.length;let m=0;for(;m<c;){const b=s[m];if(Kn(b))break;if(0===b)m+=2;else if("number"==typeof b)for(m++;m<c&&"string"==typeof s[m];)m++;else{if(b===i)return s[m+1];m+=2}}}return null}((0,p.Mx4)(),n)}const vi=Nt("Attribute",n=>({attributeName:n,__NG_ELEMENT_ID__:()=>Mi(n)}));let Si=null;function ro(n){return no(function $i(){return Si=Si||new ti}().parameters(n))}function no(n){return n.map(i=>function mo(n){const i={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(n)&&n.length>0)for(let s=0;s<n.length;s++){const c=n[s];if(void 0===c)continue;const m=Object.getPrototypeOf(c);if(c instanceof zt||"Optional"===m.ngMetadataName)i.optional=!0;else if(c instanceof hn||"SkipSelf"===m.ngMetadataName)i.skipSelf=!0;else if(c instanceof Dn||"Self"===m.ngMetadataName)i.self=!0;else if(c instanceof Vn||"Host"===m.ngMetadataName)i.host=!0;else if(c instanceof st)i.token=c.token;else if(c instanceof vi){if(void 0===c.attributeName)throw new p.buA(-204,!1);i.attribute=c.attributeName}else i.token=c}else i.token=void 0===n||Array.isArray(n)&&0===n.length?null:n;return i}(i))}const yo=(0,p.kLh)({provide:String,useValue:p.kLh});function hs(n){return void 0!==n.useClass}function uo(n){return void 0!==n.useFactory}const is=dn("Injectable",void 0,void 0,0,(n,i)=>function Vo(n,i){let s=null,c=null;n.hasOwnProperty(p.yAH)||Object.defineProperty(n,p.yAH,{get:()=>(null===s&&(s=Pn().compileInjectable(xn,`ng:///${n.name}/\u0275prov.js`,function Mo(n,i){const s=i||{providedIn:null},c={name:n.name,type:n,typeArgumentCount:0,providedIn:s.providedIn};return(hs(s)||uo(s))&&void 0!==s.deps&&(c.deps=no(s.deps)),hs(s)?c.useClass=s.useClass:function No(n){return yo in n}(s)?c.useValue=s.useValue:uo(s)?c.useFactory=s.useFactory:function Xo(n){return void 0!==n.useExisting}(s)&&(c.useExisting=s.useExisting),c}(n,i))),s)}),n.hasOwnProperty(p.zSs)||Object.defineProperty(n,p.zSs,{get:()=>{if(null===c){const m=Pn();c=m.compileFactory(xn,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,typeArgumentCount:0,deps:ro(n),target:m.FactoryTarget.Injectable})}return c},configurable:!0})}(n,i));function ls(){return Yo((0,p.Mx4)(),(0,p.OAn)())}function Yo(n,i){return new Jo((0,p.d31)(n,i))}let Jo=(()=>class n{nativeElement;constructor(s){this.nativeElement=s}static __NG_ELEMENT_ID__=ls})();function ho(n){return n instanceof Jo?n.nativeElement:n}function es(){return this._results[Symbol.iterator]()}class bo{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new it.B}constructor(i=!1){this._emitDistinctChangesOnly=i}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,s){return this._results.reduce(i,s)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,s){this.dirty=!1;const c=(0,p.Bqz)(i);(this._changesDetected=!(0,p.ng7)(this._results,c,s))&&(this._results=c,this.length=c.length,this.last=c[this.length-1],this.first=c[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(i){this._onDirty=i}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=es}function Ao(n){return!(128&~n.flags)}var os=function(n){return n[n.OnPush=0]="OnPush",n[n.Eager=1]="Eager",n[n.Default=1]="Default",n}(os||{});const ts=new Map;let vo=0;function pe(n){ts.delete(n[p.ID])}const jo="__ngContext__";function _o(n,i){(0,p.q$2)(i)?(n[jo]=i[p.ID],function nt(n){ts.set(n[p.ID],n)}(i)):n[jo]=i}function $t(n){return Bi(n[p.EJG])}function ni(n){return Bi(n[p.K29])}function Bi(n){for(;null!==n&&!(0,p.A0l)(n);)n=n[p.K29];return n}let pr;function ar(n){pr=n}function Os(){if(void 0!==pr)return pr;if(typeof document<"u")return document;throw new p.buA(210,!1)}const As=new p.nKC("",{factory:()=>$r}),$r="ng",gr={provide:p.Z63,multi:!0,useValue:()=>{const n=(0,p.WQX)(As);if(!/^[a-zA-Z0-9\-_]+$/.test(n))throw new p.buA(211,`APP_ID value "${n}" is not alphanumeric. The APP_ID must be a string of alphanumeric characters. (a-zA-Z0-9), hyphens (-) and underscores (_) are allowed.`)}},ys=new p.nKC(""),Lo=new p.nKC("",{providedIn:"platform",factory:()=>"unknown"}),ds=new p.nKC(""),Vs=new p.nKC("",{factory:()=>(0,p.WQX)(p.qQL).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ws={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Pr=new p.nKC("",{factory:()=>ws});function mr(n){return n}let Uo=(()=>{class n{static \u0275prov=(0,p.jDH)({token:n,providedIn:"root",factory:()=>{const s=new n;return s.store=function ps(n,i){const s=n.getElementById(i+"-state");if(s?.textContent)try{return JSON.parse(s.textContent)}catch(c){console.warn("Exception while restoring TransferState for app "+i,c)}return{}}((0,p.WQX)(p.qQL),(0,p.WQX)(As)),s}});store={};onSerializeCallbacks={};get(s,c){return void 0!==this.store[s]?this.store[s]:c}set(s,c){this.store[s]=c}remove(s){delete this.store[s]}hasKey(s){return this.store.hasOwnProperty(s)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(s,c){this.onSerializeCallbacks[s]=c}toJson(){for(const s in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(s))try{this.store[s]=this.onSerializeCallbacks[s]()}catch(c){console.warn("Exception in onSerialize callback: ",c)}return JSON.stringify(this.store).replace(/</g,"\\u003C").replace(/\//g,"\\u002F")}}return n})();const R=!1,I=new p.nKC("",{factory:()=>R}),et=new p.nKC(""),Xt=new p.nKC(""),fn={passive:!0,capture:!0},bn=new WeakMap,jn=new WeakMap,qn=new WeakMap,Di=["click","keydown"],yi=["mouseenter","mouseover","focusin"],xi=new Map;class wo{callbacks=new Set;listener=()=>{for(const i of this.callbacks)i()}}function Ro(n,i){let s=jn.get(n);if(!s){s=new wo,jn.set(n,s);for(const c of Di)n.addEventListener(c,s.listener,fn)}return s.callbacks.add(i),()=>{const{callbacks:c,listener:m}=s;if(c.delete(i),0===c.size){jn.delete(n);for(const b of Di)n.removeEventListener(b,m,fn)}}}function W(n,i){let s=bn.get(n);if(!s){s=new wo,bn.set(n,s);for(const c of yi)n.addEventListener(c,s.listener,fn)}return s.callbacks.add(i),()=>{const{callbacks:c,listener:m}=s;if(c.delete(i),0===c.size){for(const b of yi)n.removeEventListener(b,m,fn);bn.delete(n)}}}function ce(n){return n?`${n.rootMargin}/${"number"==typeof n.threshold?n.threshold:n.threshold?.join("\n")}`:""}const Ps=new p.nKC("");function Zs(n){return!(32&~n.flags)}function fa(n){let i=n._lView;return 2===i[p.eDl].type?null:((0,p.EFk)(i)&&(i=i[p.Yw1]),i)}function ga(n){return n.get(et,!1,{optional:!0})}function ur(n,i){const s=n.contentQueries;if(null!==s){const c=(0,Bt.Ht)(null);try{for(let m=0;m<s.length;m+=2){const T=s[m+1];if(-1!==T){const B=n.data[T];(0,p.GA0)(s[m]),B.contentQueries(2,i[T],T)}}}finally{(0,Bt.Ht)(c)}}}function ya(n,i,s){(0,p.GA0)(0);const c=(0,Bt.Ht)(null);try{i(n,s)}finally{(0,Bt.Ht)(c)}}function nr(n,i,s){if((0,p.srX)(i)){const c=(0,Bt.Ht)(null);try{const b=i.directiveEnd;for(let T=i.directiveStart;T<b;T++){const B=n.data[T];B.contentQueries&&B.contentQueries(1,s[T],T)}}finally{(0,Bt.Ht)(c)}}}var Lr=function(n){return n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n[n.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",n}(Lr||{});let Qr,qa;function na(){if(void 0===Qr&&(Qr=null,p.laP.trustedTypes))try{Qr=p.laP.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Qr}function Pa(n){return na()?.createHTML(n)||n}function Ka(){if(void 0===qa&&(qa=null,p.laP.trustedTypes))try{qa=p.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return qa}function U(n){return Ka()?.createHTML(n)||n}function Re(n){return Ka()?.createScript(n)||n}function ft(n){return Ka()?.createScriptURL(n)||n}class Zt{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${p.ok8})`}}class Mn extends Zt{getTypeName(){return"HTML"}}class $n extends Zt{getTypeName(){return"Style"}}class di extends Zt{getTypeName(){return"Script"}}class Ko extends Zt{getTypeName(){return"URL"}}class v extends Zt{getTypeName(){return"ResourceURL"}}function L(n){return n instanceof Zt?n.changingThisBreaksApplicationSecurity:n}function X(n,i){const s=function De(n){return n instanceof Zt&&n.getTypeName()||null}(n);if(null!=s&&s!==i){if("ResourceURL"===s&&"URL"===i)return!0;throw new Error(`Required a safe ${i}, got a ${s} (see ${p.ok8})`)}return s===i}function $e(n){return new Mn(n)}function Jt(n){return new $n(n)}function gn(n){return new di(n)}function Fn(n){return new Ko(n)}function Ci(n){return new v(n)}function rs(n){const i=new bl(n);return function yu(){try{return!!(new window.DOMParser).parseFromString(Pa(""),"text/html")}catch{return!1}}()?new yl(i):i}class yl{inertDocumentHelper;constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i="<body><remove></remove>"+i;try{const s=(new window.DOMParser).parseFromString(Pa(i),"text/html").body;return null===s?this.inertDocumentHelper.getInertBodyElement(i):(s.firstChild?.remove(),s)}catch{return null}}}class bl{defaultDoc;inertDocument;constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){const s=this.inertDocument.createElement("template");return s.innerHTML=Pa(i),s}}const Wd=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function vl(n){return(n=String(n)).match(Wd)?n:"unsafe:"+n}function Sa(n){const i={};for(const s of n.split(","))i[s]=!0;return i}function ka(...n){const i={};for(const s of n)for(const c in s)s.hasOwnProperty(c)&&(i[c]=!0);return i}const Cc=Sa("area,br,col,hr,img,wbr"),bu=Sa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),vu=Sa("rp,rt"),Mc=ka(Cc,ka(bu,Sa("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ka(vu,Sa("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ka(vu,bu)),Yl=Sa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ec=ka(Yl,Sa("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Sa("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Gd=Sa("script,style,template"),Oc=ka(Yl,Sa("action,formaction,data,codebase"));class al{sanitizedSomething=!1;buf=[];sanitizeChildren(i){let s=i.firstChild,c=!0,m=[];for(;s;)if(s.nodeType===Node.ELEMENT_NODE?c=this.startElement(s):s.nodeType===Node.TEXT_NODE?this.chars(s.nodeValue):this.sanitizedSomething=!0,c&&s.firstChild)m.push(s),s=Cu(s);else for(;s;){s.nodeType===Node.ELEMENT_NODE&&this.endElement(s);let b=$d(s);if(b){s=b;break}s=m.pop()}return this.buf.join("")}startElement(i){const s=Mu(i).toLowerCase();if(!Mc.hasOwnProperty(s))return this.sanitizedSomething=!0,!Gd.hasOwnProperty(s);this.buf.push("<"),this.buf.push(s);const c=i.attributes;for(let m=0;m<c.length;m++){const b=c.item(m),T=b.name,B=T.toLowerCase();if(!Ec.hasOwnProperty(B)){this.sanitizedSomething=!0;continue}let Y=b.value;Yl[B]&&(Y=vl(Y)),this.buf.push(" ",T,'="',Eu(Y),'"')}return this.buf.push(">"),!0}endElement(i){const s=Mu(i).toLowerCase();Mc.hasOwnProperty(s)&&!Cc.hasOwnProperty(s)&&(this.buf.push("</"),this.buf.push(s),this.buf.push(">"))}chars(i){this.buf.push(Eu(i))}}function $d(n){const i=n.nextSibling;if(i&&n!==i.previousSibling)throw Du(i);return i}function Cu(n){const i=n.firstChild;if(i&&function Hd(n,i){return(n.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(n,i))throw Du(i);return i}function Mu(n){const i=n.nodeName;return"string"==typeof i?i:"FORM"}function Du(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}const Kd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Yd=/([^\#-~ |!])/g;function Eu(n){return n.replace(/&/g,"&amp;").replace(Kd,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(Yd,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let zl;function Ou(n,i){let s=null;try{zl=zl||rs(n);let c=i?String(i):"";s=zl.getInertBodyElement(c);let m=5,b=c;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,c=b,b=s.innerHTML,s=zl.getInertBodyElement(c)}while(c!==b);return Pa((new al).sanitizeChildren(wc(s)||s))}finally{if(s){const c=wc(s)||s;for(;c.firstChild;)c.firstChild.remove()}}}function wc(n){return"content"in n&&function kp(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}const Rp=/^>|^->|<!--|-->|--!>|<!-$/g,zd=/(<|>)/g;function Ic(n,i){return n.createText(i)}function Tu(n,i,s){n.setValue(i,s)}function Pc(n,i){return n.createComment(function Tc(n){return n.replace(Rp,i=>i.replace(zd,"\u200b$1\u200b"))}(i))}function Ql(n,i,s){return n.createElement(i,s)}function Ya(n,i,s,c,m){n.insertBefore(i,s,c,m)}function Iu(n,i,s){n.appendChild(i,s)}function Pu(n,i,s,c,m){null!==c?Ya(n,i,s,c,m):Iu(n,i,s)}function Cl(n,i,s,c){n.removeChild(null,i,s,c)}function ku(n,i,s){const{mergedAttrs:c,classes:m,styles:b}=s;null!==c&&function Hn(n,i,s){let c=0;for(;c<s.length;){const m=s[c];if("number"==typeof m){if(0!==m)break;c++;const b=s[c++],T=s[c++],B=s[c++];n.setAttribute(i,T,B,b)}else{const b=m,T=s[++c];ai(b)?n.setProperty(i,b,T):n.setAttribute(i,b,T),c++}}}(n,i,c),null!==m&&function Xd(n,i,s){""===s?n.removeAttribute(i,"class"):n.setAttribute(i,"class",s)}(n,i,m),null!==b&&function Qd(n,i,s){n.setAttribute(i,"style",s)}(n,i,b)}var Za=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(Za||{});function Ru(n){const i=Ml();return i?U(i.sanitize(Za.HTML,n)||""):X(n,"HTML")?U(L(n)):Ou(Os(),(0,p.eFE)(n))}function Sc(n){const i=Ml();return i?i.sanitize(Za.URL,n)||"":X(n,"URL")?L(n):vl((0,p.eFE)(n))}function kc(n){const i=Ml();if(i)return ft(i.sanitize(Za.RESOURCE_URL,n)||"");if(X(n,"ResourceURL"))return ft(L(n));throw new p.buA(904,!1)}const tf={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},script:{src:!0,href:!0,"xlink:href":!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function Rc(n,i,s){return function Au(n,i){return!0===tf[n]?.[i]?kc:Sc}(i,s)(n)}function Ml(){const n=(0,p.OAn)();return n&&n[p.M0L].sanitizer}const Xl=new Set(["href","xlink:href"]),nf={iframe:{sandbox:!0,allow:!0,allowfullscreen:!0,referrerpolicy:!0,csp:!0,fetchpriority:!0},animate:{attributename:!0,to:Xl,values:Xl,from:Xl},set:{attributename:!0,to:Xl},animatemotion:{attributename:!0},animatetransform:{attributename:!0}};function Ac(n){return n.ownerDocument.defaultView}function xu(n){return n.ownerDocument}function Ra(n){return n instanceof Function?n():n}function cf(n){if(ue(n),!(0,p.xUg)(n).standalone)throw new p.buA(907,`The ${(0,p.PP7)(n)} component is not marked as standalone, but Angular expects to have a standalone component here. Please make sure the ${(0,p.PP7)(n)} component does not have the \`standalone: false\` flag in the decorator.`)}function ue(n){if(!(0,p.xUg)(n))throw new p.buA(906,`The ${(0,p.PP7)(n)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function Ct(n,i,s){let c=n.length;for(;;){const m=n.indexOf(i,s);if(-1===m)return m;if(0===m||n.charCodeAt(m-1)<=32){const b=i.length;if(m+b===c||n.charCodeAt(m+b)<=32)return m}s=m+1}}const Gt="ng-template";function sn(n,i,s,c){let m=0;if(c){for(;m<i.length&&"string"==typeof i[m];m+=2)if("class"===i[m]&&-1!==Ct(i[m+1].toLowerCase(),s,0))return!0}else if(pn(n))return!1;if(m=i.indexOf(1,m),m>-1){let b;for(;++m<i.length&&"string"==typeof(b=i[m]);)if(b.toLowerCase()===s)return!0}return!1}function pn(n){return 4===n.type&&n.value!==Gt}function Ln(n,i,s){return i===(4!==n.type||s?n.value:Gt)}function zn(n,i,s){let c=4;const m=n.attrs,b=null!==m?function gs(n){for(let i=0;i<n.length;i++)if(Kn(n[i]))return i;return n.length}(m):0;let T=!1;for(let B=0;B<i.length;B++){const Y=i[B];if("number"!=typeof Y){if(!T)if(4&c){if(c=2|1&c,""!==Y&&!Ln(n,Y,s)||""===Y&&1===i.length){if(Ri(c))return!1;T=!0}}else if(8&c){if(null===m||!sn(n,m,Y,s)){if(Ri(c))return!1;T=!0}}else{const Se=i[++B],Ue=po(Y,m,pn(n),s);if(-1===Ue){if(Ri(c))return!1;T=!0;continue}if(""!==Se){let mt;if(mt=Ue>b?"":m[Ue+1].toLowerCase(),2&c&&Se!==mt){if(Ri(c))return!1;T=!0}}}}else{if(!T&&!Ri(c)&&!Ri(Y))return!1;if(T&&Ri(Y))continue;T=!1,c=Y|1&c}}return Ri(c)||T}function Ri(n){return!(1&n)}function po(n,i,s,c){if(null===i)return-1;let m=0;if(c||!s){let b=!1;for(;m<i.length;){const T=i[m];if(T===n)return m;if(3===T||6===T)b=!0;else{if(1===T||2===T){let B=i[++m];for(;"string"==typeof B;)B=i[++m];continue}if(4===T)break;if(0===T){m+=4;continue}}m+=b?1:2}return-1}return function Ks(n,i){let s=n.indexOf(4);if(s>-1)for(s++;s<n.length;){const c=n[s];if("number"==typeof c)return-1;if(c===i)return s;s++}return-1}(i,n)}function Vi(n,i,s=!1){for(let c=0;c<i.length;c++)if(zn(n,i[c],s))return!0;return!1}function ir(n,i){e:for(let s=0;s<i.length;s++){const c=i[s];if(n.length===c.length){for(let m=0;m<n.length;m++)if(n[m]!==c[m])continue e;return!0}}return!1}function Mr(n,i){return n?":not("+i.trim()+")":i}function dr(n){let i=n[0],s=1,c=2,m="",b=!1;for(;s<n.length;){let T=n[s];if("string"==typeof T)if(2&c){const B=n[++s];m+="["+T+(B.length>0?'="'+B+'"':"")+"]"}else 8&c?m+="."+T:4&c&&(m+=" "+T);else""!==m&&!Ri(T)&&(i+=Mr(b,m),m=""),c=T,b=b||!Ri(c);s++}return""!==m&&(i+=Mr(b,m)),i}const co={};function Dr(n,i,s,c,m,b,T,B,Y,Se,Ue){const mt=p.Yw1+c,Kt=mt+m,en=function el(n,i){const s=[];for(let c=0;c<i;c++)s.push(c<n?null:co);return s}(mt,Kt),_n="function"==typeof Se?Se():Se;return en[p.eDl]={type:n,blueprint:en,template:s,queries:null,viewQuery:B,declTNode:i,data:en.slice().fill(null,mt),bindingStartIndex:mt,expandoStartIndex:Kt,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof b?b():b,pipeRegistry:"function"==typeof T?T():T,firstChild:null,schemas:Y,consts:_n,incompleteFirstPass:!1,ssrId:Ue}}function tl(n){const i=n.tView;return null===i||i.incompleteFirstPass?n.tView=Dr(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts,n.id):i}function El(n,i,s,c,m,b,T,B,Y,Se,Ue){const mt=i.blueprint.slice();return mt[p.jgP]=m,mt[p.Wg1]=1228|c,(null!==Se||n&&2048&n[p.Wg1])&&(mt[p.Wg1]|=2048),(0,p.HUe)(mt),mt[p.f7T]=mt[p.X5O]=n,mt[p.SKP]=s,mt[p.M0L]=T||n&&n[p.M0L],mt[p.GpT]=B||n&&n[p.GpT],mt[p.YEL]=Y||n&&n[p.YEL]||null,mt[p.qlT]=b,mt[p.ID]=function Z(){return vo++}(),mt[p.tcA]=Ue,mt[p.oMQ]=Se,mt[p.b5C]=2==i.type?n[p.b5C]:mt,mt}function Ol(n){let i=16;return n.signals?i=4096:n.onPush&&(i=64),i}function ul(n,i,s,c){if(0===s)return-1;const m=i.length;for(let b=0;b<s;b++)i.push(c),n.blueprint.push(c),n.data.push(null);return m}function Jl(n,i){return n[p.EJG]?n[p.Yrj][p.K29]=i:n[p.EJG]=i,n[p.Yrj]=i,i}function Ii(n=1){Gi((0,p.klJ)(),(0,p.OAn)(),(0,p._px)()+n,!1)}function Gi(n,i,s,c){if(!c)if(3&~i[p.Wg1]){const b=n.preOrderHooks;null!==b&&Qn(i,b,0,s)}else{const b=n.preOrderCheckHooks;null!==b&&Bn(i,b,s)}(0,p.ypq)(s)}var Qi=function(n){return n[n.None=0]="None",n[n.SignalBased=1]="SignalBased",n[n.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",n}(Qi||{});function Co(n,i,s,c){const m=(0,Bt.Ht)(null);try{const[b,T,B]=n.inputs[s];let Y=null;0!==(T&Qi.SignalBased)&&(Y=i[b][Bt.bh]),null!==Y&&void 0!==Y.transformFn?c=Y.transformFn(c):null!==B&&(c=B.call(i,c)),null!==n.setInput?n.setInput(i,Y,c,s,b):An(i,Y,b,c)}finally{(0,Bt.Ht)(m)}}var Ls=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(Ls||{});let oa;function xr(n,i){return oa(n,i)}const Ds=new p.nKC("",{factory:()=>!1}),ju=new p.nKC("",{factory:()=>uf}),uf=4e3,Xr=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function Nr(n){return n[p.YEL].get(Ds,!1)}function df(n){const i=ql.get(n);if(i){for(const s of i.cleanupFns)s();ql.delete(n)}wl.delete(n)}const ab=()=>{},ql=new WeakMap,wl=new WeakMap,xc=new WeakMap,Nc=new WeakSet;function ff(n,i){const s=xc.get(n);if(s&&s.length>0){const c=s.findIndex(m=>m===i);c>-1&&s.splice(c,1)}0===s?.length&&xc.delete(n)}function hf(n,i){const s=xc.get(n);s?s.includes(i)||s.push(i):xc.set(n,[i])}function Bu(n){const i=n[p.Isx]??={};return i.enter??=new Map}function Tl(n){const i=n[p.Isx]??={};return i.leave??=new Map}function Fp(n){const i="function"==typeof n?n():n;let s=Array.isArray(i)?i:null;return"string"==typeof i&&(s=i.trim().split(/\s+/).filter(c=>c)),s}function jc(n){return n.composedPath?n.composedPath()[0]:n.target}function pf(n,i){const s=wl.get(i);return void 0===s||i===jc(n)&&(void 0!==s.animationName&&n.animationName===s.animationName||void 0!==s.propertyName&&("all"===s.propertyName||n.propertyName===s.propertyName))}function Uu(n,i,s){const c=n.get(i.index)??{animateFns:[]};c.animateFns.push(s),n.set(i.index,c)}function gf(n,i){if(n)for(const s of n)s();for(const s of i)s()}function mf(n,i){const s=Tl(n).get(i.index);s&&(s.resolvers=void 0)}function Wu(n,i,s,c,m){ff(i,s),gf(c,m),mf(n,i)}function Vu(n){if(!n)return 0;const i=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*i}function Il(n,i){return n.getPropertyValue(i).split(",").map(c=>c.trim())}function Bp(n,i){return void 0!==n&&n.duration>i.duration}function Up(n){return(null!=n.animationName||null!=n.propertyName)&&n.duration>0}function Wp(n,i,s){if(!s)return;const c=n.getAnimations();return 0===c.length?function hb(n,i){const s=getComputedStyle(n),c=function fb(n){const i=Il(n,"animation-name"),s=Il(n,"animation-delay"),c=Il(n,"animation-duration"),m=Il(n,"animation-iteration-count"),b={animationName:"",propertyName:void 0,duration:0};for(let T=0;T<i.length;T++){const B=Vu(s[T])+Vu(c[T]);B>b.duration&&"infinite"!==m[T]&&(b.animationName=i[T],b.duration=B)}return b}(s),m=function db(n){const i=Il(n,"transition-property"),s=Il(n,"transition-duration"),c=Il(n,"transition-delay"),m={propertyName:"",duration:0,animationName:void 0};for(let b=0;b<i.length;b++){const T=Vu(c[b])+Vu(s[b]);T>m.duration&&(m.propertyName=i[b],m.duration=T)}return m}(s),b=c.duration>m.duration?c:m;Bp(i.get(n),b)||Up(b)&&i.set(n,b)}(n,i):function pb(n,i,s){let c={animationName:void 0,propertyName:void 0,duration:0};for(const m of s){const b=m.effect?.getTiming();if(b?.iterations===1/0)continue;const T="number"==typeof b?.duration?b.duration:0;let B=(b?.delay??0)+T;const Y=m.playbackRate;let Se,Ue;void 0!==Y&&0!==Y&&1!==Y&&(B/=Math.abs(Y)),m.animationName?Ue=m.animationName:Se=m.transitionProperty,B>=c.duration&&(c={animationName:Ue,propertyName:Se,duration:B})}Bp(i.get(n),c)||Up(c)&&i.set(n,c)}(n,i,c)}const Pl=new Set;var _f=function(n){return n[n.CHANGE_DETECTION=0]="CHANGE_DETECTION",n[n.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",n}(_f||{});const Zl=new p.nKC(""),Vp=new Set;function jr(n){Vp.has(n)||(Vp.add(n),performance?.mark?.("mark_feature_usage",{detail:{feature:n}}))}let Gp=(()=>{class n{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,p.jDH)({token:n,providedIn:"root",factory:()=>new n})}return n})();const Hp=[0,1,2,3];let gb=(()=>{class n{ngZone=(0,p.WQX)(p.SKi);scheduler=(0,p.WQX)(p.hk6);errorHandler=(0,p.WQX)(p.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,p.WQX)(Zl,{optional:!0})}execute(){const s=this.sequences.size>0;s&&ye(lt.AfterRenderHooksStart),this.executing=!0;for(const c of Hp)for(const m of this.sequences)if(!m.erroredOrDestroyed&&m.hooks[c])try{m.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,m.hooks[c])(m.pipelinedValue),m.snapshot))}catch(b){m.erroredOrDestroyed=!0,this.errorHandler?.handleError(b)}this.executing=!1;for(const c of this.sequences)c.afterRun(),c.once&&(this.sequences.delete(c),c.destroy());for(const c of this.deferredRegistrations)this.sequences.add(c);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),s&&ye(lt.AfterRenderHooksEnd)}register(s){const{view:c}=s;void 0!==c?((c[p.JEi]??=[]).push(s),(0,p.blu)(c),c[p.Wg1]|=8192):this.executing?this.deferredRegistrations.add(s):this.addSequence(s)}addSequence(s){this.sequences.add(s),this.scheduler.notify(7)}unregister(s){this.executing&&this.sequences.has(s)?(s.erroredOrDestroyed=!0,s.pipelinedValue=void 0,s.once=!0):(this.sequences.delete(s),this.deferredRegistrations.delete(s))}maybeTrace(s,c){return c?c.run(_f.AFTER_NEXT_RENDER,s):s()}static \u0275prov=(0,p.jDH)({token:n,providedIn:"root",factory:()=>new n})}return n})();class $p{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(i,s,c,m,b,T=null){this.impl=i,this.hooks=s,this.view=c,this.once=m,this.snapshot=T,this.unregisterOnDestroy=b?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const i=this.view?.[p.JEi];i&&(this.view[p.JEi]=i.filter(s=>s!==this))}}function Kp(n,i){const s=i?.injector??(0,p.WQX)(p.zZn);return jr("NgAfterRender"),Yp(n,s,i,!1)}function yf(n,i){const s=i?.injector??(0,p.WQX)(p.zZn);return jr("NgAfterNextRender"),Yp(n,s,i,!0)}function Yp(n,i,s,c){const m=i.get(Gp);m.impl??=i.get(gb);const b=i.get(Zl,null,{optional:!0}),T=!0!==s?.manualCleanup?i.get(p.abz):null,B=i.get(p.r4V,null,{optional:!0}),Y=new $p(m.impl,function mb(n){return n instanceof Function?[void 0,void 0,n,void 0]:[n.earlyRead,n.write,n.mixedReadWrite,n.read]}(n),B?.view,c,T,b?.snapshot(null));return m.impl.register(Y),Y}const Gu=new p.nKC("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:(0,p.WQX)(p.uvJ)})});function zp(n,i,s){const c=n.get(Gu);if(Array.isArray(i))for(const m of i)c.queue.add(m),s?.detachedLeaveAnimationFns?.push(m);else c.queue.add(i),s?.detachedLeaveAnimationFns?.push(i);c.scheduler&&c.scheduler(n)}function yb(n){const i=n.get(Gu);i.isScheduled||(yf(()=>{i.isScheduled=!1;for(let s of i.queue)s();i.queue.clear()},{injector:i.injector}),i.isScheduled=!0)}function Hu(n){const i=n.get(Gu);i.scheduler=yb,i.scheduler(n)}function bf(n,i){for(const[s,c]of i)zp(n,c.animateFns)}function Qp(n,i,s,c){const m=n?.[p.Isx]?.enter;null!==i&&m&&m.has(s.index)&&bf(c,m)}function ec(n,i,s,c,m,b,T,B){if(null!=m){let Y,Se=!1;(0,p.A0l)(m)?Y=m:(0,p.q$2)(m)&&(Se=!0,m=m[p.jgP]);const Ue=(0,p.IvY)(m);0===n&&null!==c?(Qp(B,c,b,s),null==T?Iu(i,c,Ue):Ya(i,c,Ue,T||null,!0)):1===n&&null!==c?(Qp(B,c,b,s),Ya(i,c,Ue,T||null,!0),function lb(n,i){const s=xc.get(n);if(!s||0===s.length)return;const c=i.parentNode,m=i.previousSibling;for(let b=s.length-1;b>=0;b--){const T=s[b],B=T.parentNode;T===i?(s.splice(b,1),Nc.add(T),T.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(m&&T===m||B&&c&&B!==c)&&(s.splice(b,1),T.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),T.parentNode?.removeChild(T))}}(b,Ue)):2===n?(B?.[p.Isx]?.leave?.has(b.index)&&hf(b,Ue),Nc.delete(Ue),qp(B,b,s,mt=>{Nc.has(Ue)?Nc.delete(Ue):Cl(i,Ue,Se,mt)})):3===n&&(Nc.delete(Ue),qp(B,b,s,()=>{i.destroyNode(Ue)})),null!=Y&&function Ob(n,i,s,c,m,b,T){const B=c[p.s6P];B!==(0,p.IvY)(c)&&ec(i,n,s,b,B,m,T);for(let Se=p.Y20;Se<c.length;Se++){const Ue=c[Se];$u(Ue[p.eDl],Ue,n,i,b,B)}}(i,n,s,Y,b,c,T)}}function Xp(n,i){Jp(n,i),i[p.jgP]=null,i[p.qlT]=null}function Jp(n,i){i[p.M0L].changeDetectionScheduler?.notify(9),$u(n,i,i[p.GpT],2,null,null)}function vf(n,i){const s=n[p.nfM],c=s.indexOf(i);s.splice(c,1)}function Fc(n,i){if((0,p.EPY)(i))return;const s=i[p.GpT];s.destroyNode&&$u(n,i,s,3,null,null),function vb(n){let i=n[p.EJG];if(!i)return Cf(n[p.eDl],n);for(;i;){let s=null;if((0,p.q$2)(i))s=i[p.EJG];else{const c=i[p.Y20];c&&(s=c)}if(!s){for(;i&&!i[p.K29]&&i!==n;)(0,p.q$2)(i)&&Cf(i[p.eDl],i),i=i[p.f7T];null===i&&(i=n),(0,p.q$2)(i)&&Cf(i[p.eDl],i),s=i&&i[p.K29]}i=s}}(i)}function Cf(n,i){if((0,p.EPY)(i))return;const s=(0,Bt.Ht)(null);try{i[p.Wg1]&=-129,i[p.Wg1]|=256,i[p.Iaj]&&(0,Bt.XR)(i[p.Iaj]),function Db(n,i){let s;if(null!=n&&null!=(s=n.destroyHooks))for(let c=0;c<s.length;c+=2){const m=i[s[c]];if(!(m instanceof rn)){const b=s[c+1];if(Array.isArray(b))for(let T=0;T<b.length;T+=2){const B=m[b[T]],Y=b[T+1];ye(lt.LifecycleHookStart,B,Y);try{Y.call(B)}finally{ye(lt.LifecycleHookEnd,B,Y)}}else{ye(lt.LifecycleHookStart,m,b);try{b.call(m)}finally{ye(lt.LifecycleHookEnd,m,b)}}}}}(n,i),function Mb(n,i){const s=n.cleanup,c=i[p.VVG];if(null!==s)for(let T=0;T<s.length-1;T+=2)if("string"==typeof s[T]){const B=s[T+3];B>=0?c[B]():c[-B].unsubscribe(),T+=2}else s[T].call(c[s[T+1]]);null!==c&&(i[p.VVG]=null);const m=i[p.Czx];if(null!==m){i[p.Czx]=null;for(let T=0;T<m.length;T++)(0,m[T])()}const b=i[p.tQN];if(null!==b){i[p.tQN]=null;for(const T of b)T.destroy()}}(n,i),1===i[p.eDl].type&&i[p.GpT].destroy();const c=i[p.rQE];if(null!==c&&(0,p.A0l)(i[p.f7T])){c!==i[p.f7T]&&vf(c,i);const m=i[p.Ds7];null!==m&&m.detachView(n)}pe(i)}finally{(0,Bt.Ht)(s)}}function qp(n,i,s,c){const m=n?.[p.Isx];if(null==m||null==m.leave||!m.leave.has(i.index))return c(!1);n&&Pl.add(n[p.ID]),zp(s,()=>{if(m.leave&&m.leave.has(i.index)){const T=m.leave.get(i.index),B=[];if(T){for(let Y=0;Y<T.animateFns.length;Y++){const Se=T.animateFns[Y],{promise:Ue}=Se();B.push(Ue)}m.detachedLeaveAnimationFns=void 0}m.running=Promise.allSettled(B),function Cb(n,i){const s=n[p.Isx]?.running;s?s.then(()=>{n[p.Isx].running=void 0,Pl.delete(n[p.ID]),i(!0)}):i(!1)}(n,c)}else n&&Pl.delete(n[p.ID]),c(!1)},m)}function Mf(n,i,s){return Zp(n,i.parent,s)}function Zp(n,i,s){let c=i;for(;null!==c&&168&c.type;)c=(i=c).parent;if(null===c)return s[p.jgP];if((0,p.Qs1)(c)){const{encapsulation:m}=n.data[c.directiveStart+c.componentOffset];if(m===Lr.None||m===Lr.Emulated)return null}return(0,p.d31)(c,s)}function eg(n,i,s){return ng(n,i,s)}function tg(n,i,s){return 40&n.type?(0,p.d31)(n,s):null}let Df,ng=tg;function ig(n,i){ng=n,Df=i}function Ef(n,i,s,c){const m=Mf(n,c,i),b=i[p.GpT],B=eg(c.parent||i[p.qlT],c,i);if(null!=m)if(Array.isArray(s))for(let Y=0;Y<s.length;Y++)Pu(b,m,s[Y],B,!1);else Pu(b,m,s,B,!1);void 0!==Df&&Df(b,c,i,s,m)}function Sl(n,i){if(null!==i){const s=i.type;if(3&s)return(0,p.d31)(i,n);if(4&s)return Of(-1,n[i.index]);if(8&s){const c=i.child;if(null!==c)return Sl(n,c);{const m=n[i.index];return(0,p.A0l)(m)?Of(-1,m):(0,p.IvY)(m)}}if(128&s)return Sl(n,i.next);if(32&s)return xr(i,n)()||(0,p.IvY)(n[i.index]);{const c=og(n,i);return null!==c?Array.isArray(c)?c[0]:Sl((0,p._0$)(n[p.b5C]),c):Sl(n,i.next)}}return null}function og(n,i){return null!==i?n[p.b5C][p.qlT].projection[i.projection]:null}function Of(n,i){const s=p.Y20+n+1;if(s<i.length){const c=i[s],m=c[p.eDl].firstChild;if(null!==m)return Sl(c,m)}return i[p.s6P]}function wf(n,i,s,c,m,b,T){for(;null!=s;){const B=c[p.YEL];if(128===s.type){s=s.next;continue}const Y=c[s.index],Se=s.type;if(T&&0===i&&(Y&&_o((0,p.IvY)(Y),c),s.flags|=2),!Zs(s))if(8&Se)wf(n,i,s.child,c,m,b,!1),ec(i,n,B,m,Y,s,b,c);else if(32&Se){const Ue=xr(s,c);let mt;for(;mt=Ue();)ec(i,n,B,m,mt,s,b,c);ec(i,n,B,m,Y,s,b,c)}else 16&Se?sg(n,i,c,s,m,b):ec(i,n,B,m,Y,s,b,c);s=T?s.projectionNext:s.next}}function $u(n,i,s,c,m,b){wf(s,c,n.firstChild,i,m,b,!1)}function sg(n,i,s,c,m,b){const T=s[p.b5C],Y=T[p.qlT].projection[c.projection];if(Array.isArray(Y))for(let Se=0;Se<Y.length;Se++)ec(i,n,s[p.YEL],m,Y[Se],c,b,s);else{let Se=Y;const Ue=T[p.f7T];Ao(c)&&(Se.flags|=128),wf(n,i,Se,Ue,m,b,!0)}}function rg(n,i,s,c,m){const b=(0,p._px)(),T=2&c;try{(0,p.ypq)(-1),T&&i.length>p.Yw1&&Gi(n,i,p.Yw1,!1),ye(T?lt.TemplateUpdateStart:lt.TemplateCreateStart,m,s),s(c,m)}finally{(0,p.ypq)(b),ye(T?lt.TemplateUpdateEnd:lt.TemplateCreateEnd,m,s)}}function Ku(n,i,s){(function kb(n,i,s){const c=s.directiveStart,m=s.directiveEnd;(0,p.Qs1)(s)&&function nl(n,i,s){const c=(0,p.d31)(i,n),m=tl(s),b=n[p.M0L].rendererFactory,T=Jl(n,El(n,m,null,Ol(s),c,i,null,b.createRenderer(c,s),null,null,null));n[i.index]=T}(i,s,n.data[c+s.componentOffset]),n.firstCreatePass||Zn(s,i);const b=s.initialInputs;for(let T=c;T<m;T++){const B=n.data[T],Y=on(i,n,T,s);_o(Y,i),null!==b&&xb(0,T-c,Y,B,0,b),(0,p.JlV)(B)&&((0,p.KdJ)(s.index,i)[p.SKP]=on(i,n,T,s))}})(n,i,s),!(64&~s.flags)&&function Rb(n,i,s){const c=s.directiveStart,m=s.directiveEnd,b=s.index,T=(0,p.Z9v)();try{(0,p.ypq)(b);for(let B=c;B<m;B++){const Y=n.data[B],Se=i[B];(0,p.RZ9)(B),(null!==Y.hostBindings||0!==Y.hostVars||null!==Y.hostAttrs)&&Ab(Y,Se)}}finally{(0,p.ypq)(-1),(0,p.RZ9)(T)}}(n,i,s)}function tc(n,i,s=p.d31){const c=i.localNames;if(null!==c){let m=i.index+1;for(let b=0;b<c.length;b+=2){const T=c[b+1],B=-1===T?s(i,n):n[T];n[m++]=B}}}let ag=()=>null;function Tf(n,i,s,c,m,b){Xu(n,i[p.eDl],i,s,c)?(0,p.Qs1)(n)&&lg(i,n.index):(3&n.type&&(s=function Sb(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(s)),If(n,i,s,c,m,b))}function If(n,i,s,c,m,b){if(3&n.type){const T=(0,p.d31)(n,i);c=null!=b?b(c,n.value||"",s):c,m.setProperty(T,s,c)}}function lg(n,i){const s=(0,p.KdJ)(i,n);16&s[p.Wg1]||(s[p.Wg1]|=64)}function Ab(n,i){null!==n.hostBindings&&n.hostBindings(1,i)}function Pf(n,i){const s=n.directiveRegistry;let c=null;if(s)for(let m=0;m<s.length;m++){const b=s[m];Vi(i,b.selectors,!1)&&(c??=[],(0,p.JlV)(b)?c.unshift(b):c.push(b))}return c}function Yu(n,i,s,c,m,b,T){if(null==b)n.removeAttribute(i,m,s);else{const B=null==T?(0,p.eFE)(b):T(b,c||"",m);n.setAttribute(i,m,B,s)}}function xb(n,i,s,c,m,b){const T=b[i];if(null!==T)for(let B=0;B<T.length;B+=2)Co(c,s,T[B],T[B+1])}function zu(n,i,s,c,m){const b=p.Yw1+s,T=i[p.eDl],B=m(T,i,n,c,s);i[b]=B,(0,p.iMd)(n,!0);const Y=2===n.type;return Y?(ku(i[p.GpT],B,n),(0===(0,p.znI)()||(0,p.yoD)(n))&&_o(B,i),(0,p.Fje)()):_o(B,i),(0,p.SX7)()&&(!Y||!Zs(n))&&Ef(T,i,B,n),n}function Qu(n){let i=n;return(0,p.YWB)()?(0,p.Pfq)():(i=i.parent,(0,p.iMd)(i,!1)),i}function ug(n,i,s){return(null===n||(0,p.JlV)(n))&&(s=(0,p.zAe)(s[i.index])),s[p.GpT]}function Sf(n,i){const s=n[p.YEL];if(!s)return;let c;try{c=s.get(p.ZTf,null)}catch{c=null}c?.(i)}function Xu(n,i,s,c,m){const b=n.inputs?.[c],T=n.hostDirectiveInputs?.[c];let B=!1;if(T)for(let Y=0;Y<T.length;Y+=2){const Se=T[Y];Co(i.data[Se],s[Se],T[Y+1],m),B=!0}if(b)for(const Y of b)Co(i.data[Y],s[Y],c,m),B=!0;return B}function jb(n,i){const s=(0,p.KdJ)(i,n),c=s[p.eDl];!function Fb(n,i){for(let s=i.length;s<n.blueprint.length;s++)i.push(n.blueprint[s])}(c,s);const m=s[p.jgP];null!==m&&null===s[p.tcA]&&(s[p.tcA]=null),ye(lt.ComponentStart);try{Ju(c,s,s[p.SKP])}finally{ye(lt.ComponentEnd,s[p.SKP])}}function Ju(n,i,s){(0,p.ID8)(i);try{const c=n.viewQuery;null!==c&&ya(1,c,s);const m=n.template;null!==m&&rg(n,i,m,1,s),n.firstCreatePass&&(n.firstCreatePass=!1),i[p.Ds7]?.finishViewCreation(n),n.staticContentQueries&&ur(n,i),n.staticViewQueries&&ya(2,n.viewQuery,s);const b=n.components;null!==b&&function Bb(n,i){for(let s=0;s<i.length;s++)jb(n,i[s])}(i,b)}catch(c){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),c}finally{i[p.Wg1]&=-5,(0,p.bll)()}}function nc(n,i,s,c){const m=(0,Bt.Ht)(null);try{const b=i.tView,Y=El(n,b,s,4096&n[p.Wg1]?4096:16,null,i,null,null,c?.injector??null,c?.embeddedViewInjector??null,c?.dehydratedView??null);Y[p.rQE]=n[i.index];const Ue=n[p.Ds7];return null!==Ue&&(Y[p.Ds7]=Ue.createEmbeddedView(b)),Ju(b,Y,s),Y}finally{(0,Bt.Ht)(m)}}function kl(n,i){return!i||null===i.firstChild||Ao(n)}function Bc(n,i,s,c,m=!1){for(;null!==s;){if(128===s.type){s=m?s.projectionNext:s.next;continue}const b=i[s.index];null!==b&&c.push((0,p.IvY)(b)),(0,p.A0l)(b)&&Ub(b,c);const T=s.type;if(8&T)Bc(n,i,s.child,c);else if(32&T){const B=xr(s,i);let Y;for(;Y=B();)c.push(Y)}else if(16&T){const B=og(i,s);if(Array.isArray(B))c.push(...B);else{const Y=(0,p._0$)(i[p.b5C]);Bc(Y[p.eDl],Y,B,c,!0)}}s=m?s.projectionNext:s.next}return c}function Ub(n,i){for(let s=p.Y20;s<n.length;s++){const c=n[s],m=c[p.eDl].firstChild;null!==m&&Bc(c[p.eDl],c,m,i)}n[p.s6P]!==n[p.jgP]&&i.push(n[p.s6P])}function dg(n){if(null!==n[p.JEi]){for(const i of n[p.JEi])i.impl.addSequence(i);n[p.JEi].length=0}}let fg=[];const Hb={...Bt.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:n=>{(0,p.blu)(n.lView)},consumerOnSignalRead(){this.lView[p.Iaj]=this}},Kb={...Bt.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:n=>{let i=(0,p._0$)(n.lView);for(;i&&!hg(i[p.eDl]);)i=(0,p._0$)(i);i&&(0,p.HAh)(i)},consumerOnSignalRead(){this.lView[p.Iaj]=this}};function hg(n){return 2!==n.type}function pg(n){if(null===n[p.tQN])return;let i=!0;for(;i;){let s=!1;for(const c of n[p.tQN])c.dirty&&(s=!0,null===c.zone||Zone.current===c.zone?c.run():c.zone.run(()=>c.run()));i=s&&!!(8192&n[p.Wg1])}}function qu(n,i=0){const c=n[p.M0L].rendererFactory;c.begin?.();try{!function zb(n,i){const s=(0,p.yP_)();try{(0,p.cBl)(!0),kf(n,i);let c=0;for(;(0,p.dMS)(n);){if(100===c)throw new p.buA(103,!1);c++,kf(n,1)}}finally{(0,p.cBl)(s)}}(n,i)}finally{c.end?.()}}function gg(n,i,s,c){if((0,p.EPY)(i))return;const m=i[p.Wg1];(0,p.ID8)(i);let B=!0,Y=null,Se=null;hg(n)?(Se=function Wb(n){return n[p.Iaj]??function Vb(n){const i=fg.pop()??Object.create(Hb);return i.lView=n,i}(n)}(i),Y=(0,Bt.Bg)(Se)):null===(0,Bt.nR)()?(B=!1,Se=function $b(n){const i=n[p.Iaj]??Object.create(Kb);return i.lView=n,i}(i),Y=(0,Bt.Bg)(Se)):i[p.Iaj]&&((0,Bt.XR)(i[p.Iaj]),i[p.Iaj]=null);try{(0,p.HUe)(i),(0,p.Kw3)(n.bindingStartIndex),null!==s&&rg(n,i,s,2,c);const Ue=!(3&~m);if(Ue){const en=n.preOrderCheckHooks;null!==en&&Bn(i,en,null)}else{const en=n.preOrderHooks;null!==en&&Qn(i,en,0,null),Ni(i,0)}if(function Qb(n){for(let i=$t(n);null!==i;i=ni(i)){if(!(2&i[p.Wg1]))continue;const s=i[p.nfM];for(let c=0;c<s.length;c++)(0,p.HAh)(s[c])}}(i),pg(i),mg(i,0),null!==n.contentQueries&&ur(n,i),Ue){const en=n.contentCheckHooks;null!==en&&Bn(i,en)}else{const en=n.contentHooks;null!==en&&Qn(i,en,1),Ni(i,1)}!function Jb(n,i){const s=n.hostBindingOpCodes;if(null!==s)try{for(let c=0;c<s.length;c++){const m=s[c];if(m<0)(0,p.ypq)(~m);else{const b=m,T=s[++c],B=s[++c];(0,p.vQI)(T,b);const Y=i[b];ye(lt.HostBindingsUpdateStart,Y);try{B(2,Y)}finally{ye(lt.HostBindingsUpdateEnd,Y)}}}}finally{(0,p.ypq)(-1)}}(n,i);const mt=n.components;null!==mt&&yg(i,mt,0);const Kt=n.viewQuery;if(null!==Kt&&ya(2,Kt,c),Ue){const en=n.viewCheckHooks;null!==en&&Bn(i,en)}else{const en=n.viewHooks;null!==en&&Qn(i,en,2),Ni(i,2)}if(!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),i[p.pcR]){for(const en of i[p.pcR])en();i[p.pcR]=null}dg(i),i[p.Wg1]&=-73}catch(Ue){throw(0,p.blu)(i),Ue}finally{null!==Se&&((0,Bt.Wu)(Se,Y),B&&function Gb(n){n.lView[p.Iaj]!==n&&(n.lView=null,fg.push(n))}(Se)),(0,p.bll)()}}function mg(n,i){for(let s=$t(n);null!==s;s=ni(s))for(let c=p.Y20;c<s.length;c++)_g(s[c],i)}function Xb(n,i,s){ye(lt.ComponentStart);const c=(0,p.KdJ)(i,n);try{_g(c,s)}finally{ye(lt.ComponentEnd,c[p.SKP])}}function _g(n,i){(0,p.F1c)(n)&&kf(n,i)}function kf(n,i){const c=n[p.eDl],m=n[p.Wg1],b=n[p.Iaj];let T=!!(0===i&&16&m);if(T||=!!(64&m&&0===i),T||=!!(1024&m),T||=!(!b?.dirty||!(0,Bt.si)(b)),T||=!1,b&&(b.dirty=!1),n[p.Wg1]&=-9217,T)gg(c,n,c.template,n[p.SKP]);else if(8192&m){const B=(0,Bt.Ht)(null);try{pg(n),mg(n,1);const Y=c.components;null!==Y&&yg(n,Y,1),dg(n)}finally{(0,Bt.Ht)(B)}}}function yg(n,i,s){for(let c=0;c<i.length;c++)Xb(n,i[c],s)}function ic(n,i){const s=(0,p.yP_)()?64:1088;for(n[p.M0L].changeDetectionScheduler?.notify(i);n;){n[p.Wg1]|=s;const c=(0,p._0$)(n);if((0,p.EFk)(n)&&!c)return n;n=c}return null}function bg(n,i,s,c){return[n,!0,0,i,null,c,null,s,null,null]}function vg(n,i){const s=p.Y20+i;if(s<n.length)return n[s]}function oc(n,i,s,c=!0){const m=i[p.eDl];if(function qb(n,i,s,c){const m=p.Y20+c,b=s.length;c>0&&(s[m-1][p.K29]=i),c<b-p.Y20?(i[p.K29]=s[m],(0,p.EYC)(s,p.Y20+c,i)):(s.push(i),i[p.K29]=null),i[p.f7T]=s;const T=i[p.rQE];null!==T&&s!==T&&Cg(T,i);const B=i[p.Ds7];null!==B&&B.insertView(n),(0,p._gW)(i),i[p.Wg1]|=128}(m,i,n,s),c){const T=Of(s,n),B=i[p.GpT],Y=B.parentNode(n[p.s6P]);null!==Y&&function bb(n,i,s,c,m,b){c[p.jgP]=m,c[p.qlT]=i,$u(n,c,s,1,m,b)}(m,n[p.qlT],B,i,Y,T)}const b=i[p.tcA];null!==b&&null!==b.firstChild&&(b.firstChild=null)}function Rf(n,i){const s=Uc(n,i);return void 0!==s&&Fc(s[p.eDl],s),s}function Uc(n,i){if(n.length<=p.Y20)return;const s=p.Y20+i,c=n[s];if(c){const m=c[p.rQE];null!==m&&m!==n&&vf(m,c),i>0&&(n[s-1][p.K29]=c[p.K29]);const b=(0,p.E6O)(n,p.Y20+i);Xp(c[p.eDl],c);const T=b[p.Ds7];null!==T&&T.detachView(b[p.eDl]),c[p.f7T]=null,c[p.K29]=null,c[p.Wg1]&=-129}return c}function Cg(n,i){const s=n[p.nfM],c=i[p.f7T];((0,p.q$2)(c)||i[p.b5C]!==c[p.f7T][p.b5C])&&(n[p.Wg1]|=2),null===s?n[p.nfM]=[i]:s.push(i)}class Zu{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const i=this._lView,s=i[p.eDl];return Bc(s,i,s.firstChild,[])}constructor(i,s){this._lView=i,this._cdRefInjectingView=s}get context(){return this._lView[p.SKP]}set context(i){this._lView[p.SKP]=i}get destroyed(){return(0,p.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const i=this._lView[p.f7T];if((0,p.A0l)(i)){const s=i[p.bm_],c=s?s.indexOf(this):-1;c>-1&&(Uc(i,c),(0,p.E6O)(s,c))}this._attachedToViewContainer=!1}Fc(this._lView[p.eDl],this._lView)}onDestroy(i){(0,p.ik5)(this._lView,i)}markForCheck(){ic(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[p.Wg1]&=-129}reattach(){(0,p._gW)(this._lView),this._lView[p.Wg1]|=128}detectChanges(){this._lView[p.Wg1]|=1024,qu(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new p.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const i=(0,p.EFk)(this._lView),s=this._lView[p.rQE];null!==s&&!i&&vf(s,this._lView),Jp(this._lView[p.eDl],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new p.buA(902,!1);this._appRef=i;const s=(0,p.EFk)(this._lView),c=this._lView[p.rQE];null!==c&&!s&&Cg(c,this._lView),(0,p._gW)(this._lView)}}let Wc=(()=>class n{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Zb;constructor(s,c,m){this._declarationLView=s,this._declarationTContainer=c,this.elementRef=m}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(s,c){return this.createEmbeddedViewImpl(s,c)}createEmbeddedViewImpl(s,c,m){const b=nc(this._declarationLView,this._declarationTContainer,s,{embeddedViewInjector:c,dehydratedView:m});return new Zu(b)}})();function Zb(){return ed((0,p.Mx4)(),(0,p.OAn)())}function ed(n,i){return 4&n.type?new Wc(i,n,Yo(n,i)):null}function Eg(n,i,s){const c=i.insertBeforeIndex,m=Array.isArray(c)?c[0]:c;return null===m?tg(n,0,s):(0,p.IvY)(s[m])}function Og(n,i,s,c,m){const b=i.insertBeforeIndex;if(Array.isArray(b)){let T=c,B=null;if(3&i.type||(B=T,T=m),null!==T&&-1===i.componentOffset)for(let Y=1;Y<b.length;Y++)Ya(n,T,s[b[Y]],B,!1)}}function Rl(n,i,s,c,m){let b=n.data[i];if(null===b)b=Nf(n,i,s,c,m),(0,p.JjR)()&&(b.flags|=32);else if(64&b.type){b.type=s,b.value=c,b.attrs=m;const T=(0,p.Ab)();b.injectorIndex=null===T?-1:T.injectorIndex}return(0,p.iMd)(b,!0),b}function Nf(n,i,s,c,m){const b=(0,p.veI)(),T=(0,p.YWB)(),Y=n.data[i]=function uv(n,i,s,c,m,b){let T=i?i.injectorIndex:-1,B=0;return(0,p.KtD)()&&(B|=128),{type:s,index:c,insertBeforeIndex:null,injectorIndex:T,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:B,providerIndexes:0,value:m,attrs:b,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,T?b:b&&b.parent,s,i,c,m);return function cv(n,i,s,c){null===n.firstChild&&(n.firstChild=i),null!==s&&(c?null==s.child&&null!==i.parent&&(s.child=i):null===s.next&&(s.next=i,i.prev=s))}(n,Y,b,T),Y}function wg(n,i){if(n.push(i),n.length>1)for(let s=n.length-2;s>=0;s--){const c=n[s];Tg(c)||dv(c,i)&&null===fv(c)&&hv(c,i.index)}}function Tg(n){return!(64&n.type)}function dv(n,i){return Tg(i)||n.index>i.index}function fv(n){const i=n.insertBeforeIndex;return Array.isArray(i)?i[0]:i}function hv(n,i){const s=n.insertBeforeIndex;Array.isArray(s)?s[0]=i:(ig(Eg,Og),n.insertBeforeIndex=i)}function $c(n,i){const s=n.data[i];return null===s||"string"==typeof s?null:s.hasOwnProperty("currentCaseLViewIndex")?s:s.value}function mv(n,i,s){const c=Nf(n,s,64,null,null);return wg(i,c),c}
vendor: 4,145 bytes, line 1
1function nd(n,i){const s=i[n.currentCaseLViewIndex];return null===s?s:s<0?~s:s}function Ig(n){return n>>>17}function Pg(n){return(131070&n)>>>1}function jf(n,i,s){n.index=0;const c=nd(i,s);n.removes=null!==c?i.remove[c]:p.Mlv}function id(n){if(n.index<n.removes.length){const i=n.removes[n.index++];return i>0?n.lView[i]:(n.stack.push(n.index,n.removes),jf(n,n.lView[p.eDl].data[~i],n.lView),id(n))}return 0===n.stack.length?(n.lView=void 0,null):(n.removes=n.stack.pop(),n.index=n.stack.pop(),id(n))}function yv(){const n={stack:[],index:-1};return function i(s,c){for(n.lView=c;n.stack.length;)n.stack.pop();return jf(n,s.value,c),id.bind(null,n)}}function Fv(n,i,s){for(const c of s.node.cases[s.case]){const m=i.get(c.index-p.Yw1);m&&Cl(n,m,!1)}}function sd(n){const i=n[p.qFA]??[],c=n[p.f7T][p.GpT],m=[];for(const b of i)void 0!==b.data.di?m.push(b):Ug(b,c);n[p.qFA]=m}function Bv(n){const{lContainer:i}=n,s=i[p.qFA];if(null===s)return;const m=i[p.f7T][p.GpT];for(const b of s)Ug(b,m)}function Ug(n,i){let s=0,c=n.firstChild;if(c){const m=n.data.r;for(;s<m;){const b=c.nextSibling;Cl(i,c,!1),c=b,s++}}}function rd(n){sd(n);const i=n[p.jgP];(0,p.q$2)(i)&&zc(i);for(let s=p.Y20;s<n.length;s++)zc(n[s])}function zc(n){!function jv(n){const i=n[p.tcA];if(i){const{i18nNodes:s,dehydratedIcuData:c}=i;if(s&&c){const m=n[p.GpT];for(const b of c.values())Fv(m,s,b)}i.i18nNodes=void 0,i.dehydratedIcuData=void 0}}(n);const i=n[p.eDl];for(let s=p.Yw1;s<i.bindingStartIndex;s++)(0,p.A0l)(n[s])?rd(n[s]):(0,p.q$2)(n[s])&&zc(n[s])}let Kv=class{},Kg=class{};class Yv{resolveComponentFactory(i){throw new p.buA(917,!1)}}let Xc=class{static NULL=new Yv};class Gf{}let zv=(()=>class n{destroyNode=null;static __NG_ELEMENT_ID__=()=>function Qv(){const n=(0,p.OAn)(),i=(0,p.Mx4)(),s=(0,p.KdJ)(i.index,n);return((0,p.q$2)(s)?s:n)[p.GpT]}()})(),Xv=(()=>{class n{static \u0275prov=(0,p.jDH)({token:n,providedIn:"root",factory:()=>null})}return n})();function Hf(n){return void 0!==n.ngModule}function Ll(n){return!!(0,p.phH)(n)}function ad(n){return!!(0,p.oyA)(n)}function Yg(n){return!!(0,p.HaV)(n)}function Jc(n){return!!(0,p.xUg)(n)}function qv(n,i){if((0,p.Jzi)(n)&&!(n=(0,p.nl4)(n)))throw new Error(`Expected forwardRef function, imported from "${(0,p.PP7)(i)}", to return a standalone entity or NgModule but got "${(0,p.PP7)(n)||n}".`);if(null==(0,p.phH)(n)){const s=(0,p.xUg)(n)||(0,p.HaV)(n)||(0,p.oyA)(n);if(null==s)throw Hf(n)?new Error(`A module with providers was imported from "${(0,p.PP7)(i)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,p.PP7)(n)}" type, imported from "${(0,p.PP7)(i)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!s.standalone){const c=function Jv(n){return(0,p.xUg)(n)?"component":(0,p.HaV)(n)?"directive":(0,p.oyA)(n)?"pipe":"type"}(n);throw new Error(`The "${(0,p.PP7)(n)}" ${c}, imported from "${(0,p.PP7)(i)}", is not standalone. Does the ${c} have the standalone: false flag?`)}}}class Zv{ownerNgModule=new WeakMap;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new WeakMap;standaloneComponentsScopeCache=new WeakMap;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const i of this.ngModulesWithSomeUnresolvedDecls){const s=(0,p.phH)(i);if(s?.declarations)for(const c of Ra(s.declarations))Jc(c)&&this.ownerNgModule.set(c,i)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(i,s){this.resolveNgModulesDecls();const c=(0,p.xUg)(i);if(null===c)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${i}`);if(c.standalone){const m=this.getStandaloneComponentScope(i,s);return m.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...m.compilation.directives,...m.compilation.pipes,...m.compilation.ngModules]}}{if(!this.ownerNgModule.has(i))return{dependencies:[]};const m=this.getNgModuleScope(this.ownerNgModule.get(i));return m.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...m.compilation.directives,...m.compilation.pipes]}}}
vendor: 20,018 bytes, line 1
1registerNgModule(i,s){if(!Ll(i))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${i}`);this.ngModulesWithSomeUnresolvedDecls.add(i)}clearScopeCacheFor(i){this.ngModulesScopeCache.delete(i),this.standaloneComponentsScopeCache.delete(i)}getNgModuleScope(i){if(this.ngModulesScopeCache.has(i))return this.ngModulesScopeCache.get(i);const s=this.computeNgModuleScope(i);return this.ngModulesScopeCache.set(i,s),s}computeNgModuleScope(i){const s=(0,p.WbQ)(i),c={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const m of Ra(s.imports))if(Ll(m)){const b=this.getNgModuleScope(m);dl(b.exported.directives,c.compilation.directives),dl(b.exported.pipes,c.compilation.pipes)}else{if(!(0,p.QuC)(m)){c.compilation.isPoisoned=!0;break}if(Yg(m)||Jc(m))c.compilation.directives.add(m);else{if(!ad(m))throw new p.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");c.compilation.pipes.add(m)}}if(!c.compilation.isPoisoned)for(const m of Ra(s.declarations)){if(Ll(m)||(0,p.QuC)(m)){c.compilation.isPoisoned=!0;break}ad(m)?c.compilation.pipes.add(m):c.compilation.directives.add(m)}for(const m of Ra(s.exports))if(Ll(m)){const b=this.getNgModuleScope(m);dl(b.exported.directives,c.exported.directives),dl(b.exported.pipes,c.exported.pipes),dl(b.exported.directives,c.compilation.directives),dl(b.exported.pipes,c.compilation.pipes)}else ad(m)?c.exported.pipes.add(m):c.exported.directives.add(m);return c}getStandaloneComponentScope(i,s){if(this.standaloneComponentsScopeCache.has(i))return this.standaloneComponentsScopeCache.get(i);const c=this.computeStandaloneComponentScope(i,s);return this.standaloneComponentsScopeCache.set(i,c),c}computeStandaloneComponentScope(i,s){const c={compilation:{directives:new Set([i]),pipes:new Set,ngModules:new Set}};for(const m of(0,p.Bqz)(s??[])){const b=(0,p.nl4)(m);try{qv(b,i)}catch{return c.compilation.isPoisoned=!0,c}if(Ll(b)){c.compilation.ngModules.add(b);const T=this.getNgModuleScope(b);if(T.exported.isPoisoned)return c.compilation.isPoisoned=!0,c;dl(T.exported.directives,c.compilation.directives),dl(T.exported.pipes,c.compilation.pipes)}else if(ad(b))c.compilation.pipes.add(b);else{if(!Yg(b)&&!Jc(b))return c.compilation.isPoisoned=!0,c;c.compilation.directives.add(b)}}return c}isOrphanComponent(i){const s=(0,p.xUg)(i);return!(!s||s.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(i)))}}function dl(n,i){for(const s of n)i.add(s)}const qc=new Zv,$f={};class rc{injector;parentInjector;constructor(i,s){this.injector=i,this.parentInjector=s}get(i,s,c){const m=this.injector.get(i,$f,c);return m!==$f||s===$f?m:this.parentInjector.get(i,s,c)}}function ld(n,i,s){let c=s?n.styles:null,m=s?n.classes:null,b=0;if(null!==i)for(let T=0;T<i.length;T++){const B=i[T];if("number"==typeof B)b=B;else if(1==b)m=(0,p.n$e)(m,B);else if(2==b){const Se=i[++T];c=(0,p.n$e)(c,B+": "+Se+";")}}s?n.styles=c:n.stylesWithoutHost=c,s?n.classes=m:n.classesWithoutHost=m}function ac(n,i=0){const s=(0,p.OAn)();return null===s?(0,p.KVO)(n,i):Do((0,p.Mx4)(),s,(0,p.nl4)(n),i)}function zg(){throw new Error("invalid")}function Qg(n,i,s,c,m){const b=null===c?null:{"":-1},T=m(n,s);if(null!==T){let B=T,Y=null,Se=null;for(const Ue of T)if(null!==Ue.resolveHostDirectives){[B,Y,Se]=Ue.resolveHostDirectives(T);break}!function n1(n,i,s,c,m,b,T){const B=c.length;let Y=null;for(let Kt=0;Kt<B;Kt++){const en=c[Kt];null===Y&&(0,p.JlV)(en)&&(Y=en,t1(n,s,Kt)),zi(Zn(s,i),n,en.type)}(function l1(n,i,s){n.flags|=1,n.directiveStart=i,n.directiveEnd=i+s,n.providerIndexes=i})(s,n.data.length,B),Y?.viewProvidersResolver&&Y.viewProvidersResolver(Y);for(let Kt=0;Kt<B;Kt++){const en=c[Kt];en.providersResolver&&en.providersResolver(en)}let Se=!1,Ue=!1,mt=ul(n,i,B,null);B>0&&(s.directiveToIndex=new Map);for(let Kt=0;Kt<B;Kt++){const en=c[Kt];if(s.mergedAttrs=Pi(s.mergedAttrs,en.hostAttrs),o1(n,s,i,mt,en),a1(mt,en,m),null!==T&&T.has(en)){const[Jn,pi]=T.get(en);s.directiveToIndex.set(en.type,[mt,Jn+s.directiveStart,pi+s.directiveStart])}else(null===b||!b.has(en))&&s.directiveToIndex.set(en.type,mt);null!==en.contentQueries&&(s.flags|=4),(null!==en.hostBindings||null!==en.hostAttrs||0!==en.hostVars)&&(s.flags|=64);const _n=en.type.prototype;!Se&&(_n.ngOnChanges||_n.ngOnInit||_n.ngDoCheck)&&((n.preOrderHooks??=[]).push(s.index),Se=!0),!Ue&&(_n.ngOnChanges||_n.ngDoCheck)&&((n.preOrderCheckHooks??=[]).push(s.index),Ue=!0),mt++}!function i1(n,i,s){for(let c=i.directiveStart;c<i.directiveEnd;c++){const m=n.data[c];if(null!==s&&s.has(m)){const b=s.get(m);Jg(0,i,b,c),Jg(1,i,b,c),Zg(i,c,!0)}else Xg(0,i,m,c),Xg(1,i,m,c),Zg(i,c,!1)}}(n,s,b)}(n,i,s,B,b,Y,Se)}null!==b&&null!==c&&function e1(n,i,s){const c=n.localNames=[];for(let m=0;m<i.length;m+=2){const b=s[i[m+1]];if(null==b)throw new p.buA(-301,!1);c.push(i[m],b)}}(s,c,b)}function t1(n,i,s){i.componentOffset=s,(n.components??=[]).push(i.index)}function Xg(n,i,s,c){const m=0===n?s.inputs:s.outputs;for(const b in m)if(m.hasOwnProperty(b)){let T;T=0===n?i.inputs??={}:i.outputs??={},T[b]??=[],T[b].push(c),qg(i,b)}}function Jg(n,i,s,c){const m=0===n?s.inputs:s.outputs;for(const b in m)if(m.hasOwnProperty(b)){const T=m[b];let B;B=0===n?i.hostDirectiveInputs??={}:i.hostDirectiveOutputs??={},B[T]??=[],B[T].push(c,b),qg(i,T)}}function qg(n,i){"class"===i?n.flags|=8:"style"===i&&(n.flags|=16)}function Zg(n,i,s){const{attrs:c,inputs:m,hostDirectiveInputs:b}=n;if(null===c||!s&&null===m||s&&null===b||pn(n))return n.initialInputs??=[],void n.initialInputs.push(null);let T=null,B=0;for(;B<c.length;){const Y=c[B];if(0!==Y)if(5!==Y){if("number"==typeof Y)break;if(!s&&m.hasOwnProperty(Y)){const Se=m[Y];for(const Ue of Se)if(Ue===i){T??=[],T.push(Y,c[B+1]);break}}else if(s&&b.hasOwnProperty(Y)){const Se=b[Y];for(let Ue=0;Ue<Se.length;Ue+=2)if(Se[Ue]===i){T??=[],T.push(Se[Ue+1],c[B+1]);break}}B+=2}else B+=2;else B+=4}n.initialInputs??=[],n.initialInputs.push(T)}function o1(n,i,s,c,m){n.data[c]=m;const b=m.factory||(m.factory=(0,p.wGu)(m.type,!0)),T=new rn(b,(0,p.JlV)(m),ac,null);n.blueprint[c]=T,s[c]=T,function s1(n,i,s,c,m){const b=m.hostBindings;if(b){let T=n.hostBindingOpCodes;null===T&&(T=n.hostBindingOpCodes=[]);const B=~i.index;(function r1(n){let i=n.length;for(;i>0;){const s=n[--i];if("number"==typeof s&&s<0)return s}return 0})(T)!=B&&T.push(B),T.push(s,c,b)}}(n,i,c,ul(n,s,m.hostVars,co),m)}function a1(n,i,s){if(s){if(i.exportAs)for(let c=0;c<i.exportAs.length;c++)s[i.exportAs[c]]=n;(0,p.JlV)(i)&&(s[""]=n)}}function Kf(n,i,s,c,m,b,T,B){const Y=i[p.eDl],Se=Y.consts,mt=Rl(Y,n,s,c,(0,p.db4)(Se,T));return b&&Qg(Y,i,mt,(0,p.db4)(Se,B),m),mt.mergedAttrs=Pi(mt.mergedAttrs,mt.attrs),null!==mt.attrs&&ld(mt,mt.attrs,!1),null!==mt.mergedAttrs&&ld(mt,mt.mergedAttrs,!0),null!==Y.queries&&Y.queries.elementStart(Y,mt),mt}function Yf(n,i){On(n,i),(0,p.srX)(i)&&n.queries.elementEnd(i)}function em(n,i,s,c,m,b){const T=i.consts,Y=Rl(i,n,s,c,(0,p.db4)(T,m));if(Y.mergedAttrs=Pi(Y.mergedAttrs,Y.attrs),null!=b){const Se=(0,p.db4)(T,b);Y.localNames=[];for(let Ue=0;Ue<Se.length;Ue+=2)Y.localNames.push(Se[Ue],-1)}return null!==Y.attrs&&ld(Y,Y.attrs,!1),null!==Y.mergedAttrs&&ld(Y,Y.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,Y),Y}function zf(n){return!!tm(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function u1(n,i){if(Array.isArray(n))for(let s=0;s<n.length;s++)i(n[s]);else{const s=n[Symbol.iterator]();let c;for(;!(c=s.next()).done;)i(c.value)}}function tm(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function Ua(n,i,s){return n[i]=s}function lc(n,i){return n[i]}function Es(n,i,s){return s!==co&&(!Object.is(n[i],s)&&(n[i]=s,!0))}function xl(n,i,s,c){const m=Es(n,i,s);return Es(n,i+1,c)||m}function cd(n,i,s,c,m){const b=xl(n,i,s,c);return Es(n,i+2,m)||b}function La(n,i,s,c,m,b){const T=xl(n,i,s,c);return xl(n,i+2,m,b)||T}function fl(n,i,s){return function c(m){ic((0,p.Qs1)(n)?(0,p.KdJ)(n.index,i):i,5);const T=i[p.SKP];let B=nm(i,T,s,m),Y=c.__ngNextListenerFn__;for(;Y;)B=nm(i,T,Y,m)&&B,Y=Y.__ngNextListenerFn__;return B}}function nm(n,i,s,c){const m=(0,Bt.Ht)(null);try{return ye(lt.OutputStart,i,s),!1!==s(c)}catch(b){return Sf(n,b),!1}finally{ye(lt.OutputEnd,i,s),(0,Bt.Ht)(m)}}function Qf(n,i,s,c,m,b,T,B){const Y=(0,p.yoD)(n);let Se=!1,Ue=null;if(!c&&Y&&(Ue=function h1(n,i,s,c){const m=n.cleanup;if(null!=m)for(let b=0;b<m.length-1;b+=2){const T=m[b];if(T===s&&m[b+1]===c){const B=i[p.VVG],Y=m[b+2];return B&&B.length>Y?B[Y]:null}"string"==typeof T&&(b+=2)}return null}(i,s,b,n.index)),null!==Ue)(Ue.__ngLastListenerFn__||Ue).__ngNextListenerFn__=T,Ue.__ngLastListenerFn__=T,Se=!0;else{const mt=(0,p.d31)(n,s),Kt=c?c(mt):mt,en=m.listen(Kt,b,B);(function f1(n){return n.startsWith("animation")||n.startsWith("transition")})(b)||im(c?Jn=>c((0,p.IvY)(Jn[n.index])):n.index,i,s,b,B,en,!1)}return Se}function im(n,i,s,c,m,b,T){const B=i.firstCreatePass?(0,p.vNG)(i):null,Y=(0,p.d_l)(s),Se=Y.length;Y.push(m,b),B&&B.push(c,n,Se,(Se+1)*(T?-1:1))}function cc(n,i,s,c,m,b){const B=i[p.eDl],mt=i[s][B.data[s].outputs[c]].subscribe(b);im(n.index,B,i,m,b,mt,!0)}class rm{lView;tView;tNode;hasPassThrough;constructor(i,s,c){this.lView=i,this.tView=s,this.tNode=c,this.hasPassThrough=!!(4096&c.flags)}get customControl(){return-1!==this.tNode.customControlIndex?this.lView[this.tNode.customControlIndex]:void 0}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(i,s){lm(this.tView.data[this.tNode.customControlIndex],i)&&cc(this.tNode,this.lView,this.tNode.customControlIndex,i,i,fl(this.tNode,this.lView,s))}listenToCustomControlModel(i){const s=1024&this.tNode.flags?"valueChange":"checkedChange";cc(this.tNode,this.lView,this.tNode.customControlIndex,s,s,fl(this.tNode,this.lView,i))}listenToDom(i,s){Qf(this.tNode,this.tView,this.lView,void 0,this.lView[p.GpT],i,s,fl(this.tNode,this.lView,s))}setInputOnDirectives(i,s){const c=this.tNode.inputs?.[i],m=this.tNode.hostDirectiveInputs?.[i];if(!c&&!m)return!1;if(c)for(const b of c)Co(this.tView.data[b],this.lView[b],i,s);if(m)for(let b=0;b<m.length;b+=2){const T=m[b];Co(this.tView.data[T],this.lView[T],m[b+1],s)}return!0}setCustomControlModelInput(i){Co(this.tView.data[this.tNode.customControlIndex],this.lView[this.tNode.customControlIndex],1024&this.tNode.flags?"value":"checked",i)}customControlHasInput(i){return-1!==this.tNode.customControlIndex&&null!=this.tView.data[this.tNode.customControlIndex].inputs[i]}}function am(n,i){return function v1(n,i){return i in n.inputs}(n,i)&&lm(n,i+"Change")}function lm(n,i){return i in n.outputs}const il=Symbol("BINDING");function Xf(n){return n.debugInfo?.className||n.type.name||null}class dm extends Xc{ngModule;constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){const s=(0,p.xUg)(i);return new ud(s,this.ngModule)}}class ud extends Kg{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function E1(n){return Object.keys(n).map(i=>{const[s,c,m]=n[i],b={propName:s,templateName:i,isSignal:0!==(c&Qi.SignalBased)};return m&&(b.transform=m),b})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function O1(n){return Object.keys(n).map(i=>({propName:n[i],templateName:i}))}(this.componentDef.outputs),this.cachedOutputs}constructor(i,s){super(),this.componentDef=i,this.ngModule=s,this.componentType=i.type,this.selector=function cl(n){return n.map(dr).join(",")}(i.selectors),this.ngContentSelectors=i.ngContentSelectors??[],this.isBoundToModule=!!s}create(i,s,c,m,b,T){ye(lt.DynamicComponentStart);const B=(0,Bt.Ht)(null);try{const Y=this.componentDef,Se=function w1(n,i,s){let c=i instanceof p.uvJ?i:i?.injector;return c&&null!==n.getStandaloneInjector&&(c=n.getStandaloneInjector(c)||c),c?new rc(s,c):s}(Y,m||this.ngModule,i),Ue=function T1(n){const i=n.get(Gf,null);if(null===i)throw new p.buA(407,!1);return{rendererFactory:i,sanitizer:n.get(Xv,null),changeDetectionScheduler:n.get(p.hk6,null),ngReflect:!1,tracingService:n.get(Zl,null,{optional:!0})}}(Se),mt=Ue.tracingService;return mt&&mt.componentCreate?mt.componentCreate(Xf(Y),()=>this.createComponentRef(Ue,Se,s,c,b,T)):this.createComponentRef(Ue,Se,s,c,b,T)}finally{(0,Bt.Ht)(B)}}createComponentRef(i,s,c,m,b,T){const B=this.componentDef,Y=function S1(n,i,s,c){const m=n?["ng-version","21.2.10"]:function Aa(n){const i=[],s=[];let c=1,m=2;for(;c<n.length;){let b=n[c];if("string"==typeof b)2===m?""!==b&&i.push(b,n[++c]):8===m&&s.push(b);else{if(!Ri(m))break;m=b}c++}return s.length&&i.push(1,...s),i}(i.selectors[0]);let b=null,T=null,B=0;if(s)for(const Ue of s)B+=Ue[il].requiredVars,Ue.create&&(Ue.targetIdx=0,(b??=[]).push(Ue)),Ue.update&&(Ue.targetIdx=0,(T??=[]).push(Ue));if(c)for(let Ue=0;Ue<c.length;Ue++){const mt=c[Ue];if("function"!=typeof mt)for(const Kt of mt.bindings){B+=Kt[il].requiredVars;const en=Ue+1;Kt.create&&(Kt.targetIdx=en,(b??=[]).push(Kt)),Kt.update&&(Kt.targetIdx=en,(T??=[]).push(Kt))}}const Y=[i];if(c)for(const Ue of c){const Kt=(0,p.HaV)("function"==typeof Ue?Ue:Ue.type);Y.push(Kt)}return Dr(0,null,function k1(n,i){return n||i?s=>{if(1&s&&n)for(const c of n)c.create();if(2&s&&i)for(const c of i)c.update()}:null}(b,T),1,B,Y,null,null,null,[m],null)}(m,B,T,b),Se=i.rendererFactory.createRenderer(null,B),Ue=m?function Tb(n,i,s,c){const b=c.get(I,R)||s===Lr.ShadowDom||s===Lr.ExperimentalIsolatedShadowDom,T=n.selectRootElement(i,b);return function Ib(n){ag(n)}(T),T}(Se,m,B.encapsulation,s):function I1(n,i){const s=function P1(n){return(n.selectors[0][0]||"div").toLowerCase()}(n);return Ql(i,s,"svg"===s?p.jNX:"math"===s?p.rJ1:null)}(B,Se),mt=T?.some(fm)||b?.some(_n=>"function"!=typeof _n&&_n.bindings.some(fm)),Kt=El(null,Y,null,512|Ol(B),null,null,i,Se,s,null,null);Kt[p.Yw1]=Ue,(0,p.ID8)(Kt);let en=null;try{const _n=Kf(p.Yw1,Kt,2,"#host",()=>Y.directiveRegistry,!0,0);ku(Se,Ue,_n),_o(Ue,Kt),Ku(Y,Kt,_n),nr(Y,_n,Kt),Yf(Y,_n),void 0!==c&&function A1(n,i,s){const c=n.projection=[];for(let m=0;m<i.length;m++){const b=s[m];c.push(null!=b&&b.length?Array.from(b):null)}}(_n,this.ngContentSelectors,c),en=(0,p.KdJ)(_n.index,Kt),Kt[p.SKP]=en[p.SKP],Ju(Y,Kt,null)}catch(_n){throw null!==en&&pe(en),pe(Kt),_n}finally{ye(lt.DynamicComponentEnd),(0,p.bll)()}return new R1(this.componentType,Kt,!!mt)}}function fm(n){const i=n[il].kind;return"input"===i||"twoWay"===i}class R1 extends Kv{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(i,s,c){super(),this._rootLView=s,this._hasInputBindings=c,this._tNode=(0,p.XRZ)(s[p.eDl],p.Yw1),this.location=Yo(this._tNode,s),this.instance=(0,p.KdJ)(this._tNode.index,s)[p.SKP],this.hostView=this.changeDetectorRef=new Zu(s,void 0),this.componentType=i}setInput(i,s){const c=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(i)&&Object.is(this.previousInputValues.get(i),s))return;const m=this._rootLView;Xu(c,m[p.eDl],m,i,s),this.previousInputValues.set(i,s),ic((0,p.KdJ)(c.index,m),1)}get injector(){return new gt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}}let dd=(()=>class n{static __NG_ELEMENT_ID__=L1})();function L1(){return pm((0,p.Mx4)(),(0,p.OAn)())}class Jf extends dd{_lContainer;_hostTNode;_hostLView;constructor(i,s,c){super(),this._lContainer=i,this._hostTNode=s,this._hostLView=c}get element(){return Yo(this._hostTNode,this._hostLView)}get injector(){return new gt(this._hostTNode,this._hostLView)}get parentInjector(){const i=fo(this._hostTNode,this._hostLView);if(mi(i)){const s=hi(i,this._hostLView),c=wi(i);return new gt(s[p.eDl].data[c+8],s)}return new gt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){const s=hm(this._lContainer);return null!==s&&s[i]||null}get length(){return this._lContainer.length-p.Y20}createEmbeddedView(i,s,c){let m,b;"number"==typeof c?m=c:null!=c&&(m=c.index,b=c.injector);const B=i.createEmbeddedViewImpl(s||{},b,null);return this.insertImpl(B,m,kl(this._hostTNode,null)),B}createComponent(i,s,c,m,b,T,B){const Y=i&&!ci(i);let Se;if(Y)Se=s;else{const pi=s||{};Se=pi.index,c=pi.injector,m=pi.projectableNodes,b=pi.environmentInjector||pi.ngModuleRef,T=pi.directives,B=pi.bindings}const Ue=Y?i:new ud((0,p.xUg)(i)),mt=c||this.parentInjector;if(!b&&null==Ue.ngModule){const ji=(Y?mt:this.parentInjector).get(p.uvJ,null);ji&&(b=ji)}(0,p.xUg)(Ue.componentType??{});const Jn=Ue.create(mt,m,null,b,T,B);return this.insertImpl(Jn.hostView,Se,kl(this._hostTNode,null)),Jn}insert(i,s){return this.insertImpl(i,s,!0)}insertImpl(i,s,c){const m=i._lView;if((0,p.ITl)(m)){const B=this.indexOf(i);if(-1!==B)this.detach(B);else{const Y=m[p.f7T],Se=new Jf(Y,Y[p.qlT],Y[p.f7T]);Se.detach(Se.indexOf(i))}}const b=this._adjustIndex(s),T=this._lContainer;return oc(T,m,b,c),i.attachToViewContainerRef(),(0,p.EYC)(qf(T),b,i),i}move(i,s){return this.insert(i,s)}indexOf(i){const s=hm(this._lContainer);return null!==s?s.indexOf(i):-1}remove(i){const s=this._adjustIndex(i,-1),c=Uc(this._lContainer,s);c&&((0,p.E6O)(qf(this._lContainer),s),Fc(c[p.eDl],c))}detach(i){const s=this._adjustIndex(i,-1),c=Uc(this._lContainer,s);return c&&null!=(0,p.E6O)(qf(this._lContainer),s)?new Zu(c):null}_adjustIndex(i,s=0){return i??this.length+s}}function hm(n){return n[p.bm_]}function qf(n){return n[p.bm_]||(n[p.bm_]=[])}function pm(n,i){let s;const c=i[n.index];return(0,p.A0l)(c)?s=c:(s=bg(c,i,null,n),i[n.index]=s,Jl(i,s)),gm(s,i,n,c),new Jf(s,n,i)}let gm=function _m(n,i,s,c){if(n[p.s6P])return;let m;m=8&s.type?(0,p.IvY)(c):function x1(n,i){const s=n[p.GpT],c=s.createComment(""),m=(0,p.d31)(i,n),b=s.parentNode(m);return Ya(s,b,c,s.nextSibling(m),!1),c}(i,s),n[p.s6P]=m};class eh{queryList;matches=null;constructor(i){this.queryList=i}clone(){return new eh(this.queryList)}setDirty(){this.queryList.setDirty()}}class th{queries;constructor(i=[]){this.queries=i}createEmbeddedView(i){const s=i.queries;if(null!==s){const c=null!==i.contentQueries?i.contentQueries[0]:s.length,m=[];for(let b=0;b<c;b++){const T=s.getByIndex(b);m.push(this.queries[T.indexInDeclarationView].clone())}return new th(m)}return null}insertView(i){this.dirtyQueriesWithMatches(i)}detachView(i){this.dirtyQueriesWithMatches(i)}finishViewCreation(i){this.dirtyQueriesWithMatches(i)}dirtyQueriesWithMatches(i){for(let s=0;s<this.queries.length;s++)null!==rh(i,s).matches&&this.queries[s].setDirty()}}class ym{flags;read;predicate;constructor(i,s,c=null){this.flags=s,this.read=c,this.predicate="string"==typeof i?function V1(n){return n.split(",").map(i=>i.trim())}(i):i}}class nh{queries;constructor(i=[]){this.queries=i}elementStart(i,s){for(let c=0;c<this.queries.length;c++)this.queries[c].elementStart(i,s)}elementEnd(i){for(let s=0;s<this.queries.length;s++)this.queries[s].elementEnd(i)}embeddedTView(i){let s=null;for(let c=0;c<this.length;c++){const m=null!==s?s.length:0,b=this.getByIndex(c).embeddedTView(i,m);b&&(b.indexInDeclarationView=c,null!==s?s.push(b):s=[b])}return null!==s?new nh(s):null}template(i,s){for(let c=0;c<this.queries.length;c++)this.queries[c].template(i,s)}getByIndex(i){return this.queries[i]}get length(){return this.queries.length}track(i){this.queries.push(i)}}class ih{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(i,s=-1){this.metadata=i,this._declarationNodeIndex=s}elementStart(i,s){this.isApplyingToNode(s)&&this.matchTNode(i,s)}elementEnd(i){this._declarationNodeIndex===i.index&&(this._appliesToNextNode=!1)}template(i,s){this.elementStart(i,s)}embeddedTView(i,s){return this.isApplyingToNode(i)?(this.crossesNgTemplate=!0,this.addMatch(-i.index,s),new ih(this.metadata)):null}isApplyingToNode(i){if(this._appliesToNextNode&&1&~this.metadata.flags){const s=this._declarationNodeIndex;let c=i.parent;for(;null!==c&&8&c.type&&c.index!==s;)c=c.parent;return s===(null!==c?c.index:-1)}return this._appliesToNextNode}
vendor: 4,239 bytes, line 1
1matchTNode(i,s){const c=this.metadata.predicate;if(Array.isArray(c))for(let m=0;m<c.length;m++){const b=c[m];this.matchTNodeWithReadOption(i,s,F1(s,b)),this.matchTNodeWithReadOption(i,s,ze(s,i,b,!1,!1))}else c===Wc?4&s.type&&this.matchTNodeWithReadOption(i,s,-1):this.matchTNodeWithReadOption(i,s,ze(s,i,c,!1,!1))}matchTNodeWithReadOption(i,s,c){if(null!==c){const m=this.metadata.read;if(null!==m)if(m===Jo||m===dd||m===Wc&&4&s.type)this.addMatch(s.index,-2);else{const b=ze(s,i,m,!1,!1);null!==b&&this.addMatch(s.index,b)}else this.addMatch(s.index,c)}}addMatch(i,s){null===this.matches?this.matches=[i,s]:this.matches.push(i,s)}}function F1(n,i){const s=n.localNames;if(null!==s)for(let c=0;c<s.length;c+=2)if(s[c]===i)return s[c+1];return null}function U1(n,i,s,c){return-1===s?function B1(n,i){return 11&n.type?Yo(n,i):4&n.type?ed(n,i):null}(i,n):-2===s?function W1(n,i,s){return s===Jo?Yo(i,n):s===Wc?ed(i,n):s===dd?pm(i,n):void 0}(n,i,c):on(n,n[p.eDl],s,i)}function bm(n,i,s,c){const m=i[p.Ds7].queries[c];if(null===m.matches){const b=n.data,T=s.matches,B=[];for(let Y=0;null!==T&&Y<T.length;Y+=2){const Se=T[Y];B.push(Se<0?null:U1(i,b[Se],T[Y+1],s.metadata.read))}m.matches=B}return m.matches}function oh(n,i,s,c){const m=n.queries.getByIndex(s),b=m.matches;if(null!==b){const T=bm(n,i,m,s);for(let B=0;B<b.length;B+=2){const Y=b[B];if(Y>0)c.push(T[B/2]);else{const Se=b[B+1],Ue=i[-Y];for(let mt=p.Y20;mt<Ue.length;mt++){const Kt=Ue[mt];Kt[p.rQE]===Kt[p.f7T]&&oh(Kt[p.eDl],Kt,Se,c)}if(null!==Ue[p.nfM]){const mt=Ue[p.nfM];for(let Kt=0;Kt<mt.length;Kt++){const en=mt[Kt];oh(en[p.eDl],en,Se,c)}}}}}return c}function sh(n,i){return n[p.Ds7].queries[i].queryList}function vm(n,i,s){const c=new bo(!(4&~s));return(0,p.B22)(n,i,c,c.destroy),(i[p.Ds7]??=new th).queries.push(new eh(c))-1}function Cm(n,i,s){const c=(0,p.klJ)();return c.firstCreatePass&&(Dm(c,new ym(n,i,s),-1),!(2&~i)&&(c.staticViewQueries=!0)),vm(c,(0,p.OAn)(),i)}function Mm(n,i,s,c){const m=(0,p.klJ)();if(m.firstCreatePass){const b=(0,p.Mx4)();Dm(m,new ym(i,s,c),b.index),function G1(n,i){const s=n.contentQueries||(n.contentQueries=[]);i!==(s.length?s[s.length-1]:-1)&&s.push(n.queries.length-1,i)}(m,n),!(2&~s)&&(m.staticContentQueries=!0)}return vm(m,(0,p.OAn)(),s)}function Dm(n,i,s){null===n.queries&&(n.queries=new nh),n.queries.track(new ih(i,s))}function rh(n,i){return n.queries.getByIndex(i)}function Em(n,i){const s=n[p.eDl],c=rh(s,i);return c.crossesNgTemplate?oh(s,n,i,[]):bm(s,n,c,i)}function ah(n,i,s){let c;const m=(0,Bt.KZ)(()=>{c._dirtyCounter();const b=function Y1(n,i){const s=n._lView,c=n._queryIndex;if(void 0===s||void 0===c||4&s[p.Wg1])return i?void 0:p.Mlv;const m=sh(s,c),b=Em(s,c);return m.reset(b,ho),i?m.first:m._changesDetected||void 0===n._flatValue?n._flatValue=m.toArray():n._flatValue}(c,n);if(i&&void 0===b)throw new p.buA(-951,!1);return b});return c=m[Bt.bh],c._dirtyCounter=(0,p.vPA)(0),c._flatValue=void 0,m}function H1(n){return ah(!0,!1)}function $1(n){return ah(!0,!0)}function K1(n){return ah(!1,!1)}function Om(n,i){const s=n[Bt.bh];s._lView=(0,p.OAn)(),s._queryIndex=i,s._queryList=sh(s._lView,i),s._queryList.onDirty(()=>s._dirtyCounter.update(c=>c+1))}let Nl=new Map;const Zc=new Set;function z1(n){return lh.apply(this,arguments)}function lh(){return lh=(0,Mt.A)(function*(n){const i=Nl;Nl=new Map;const s=new Map;function c(b){const T=s.get(b);if(T)return T;const B=n(b).then(Y=>function J1(n,i){return ch.apply(this,arguments)}(b,Y));return s.set(b,B),B}const m=Array.from(i).map(function(){var b=(0,Mt.A)(function*([T,B]){if(B.styleUrl&&B.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");const Y=[];B.templateUrl&&Y.push(c(B.templateUrl).then(Kt=>{B.template=Kt}));const Se="string"==typeof B.styles?[B.styles]:B.styles??[];B.styles=Se;let{styleUrl:Ue,styleUrls:mt}=B;if(Ue&&(mt=[Ue],B.styleUrl=void 0),mt?.length){const Kt=Promise.all(mt.map(en=>c(en))).then(en=>{Se.push(...en),B.styleUrls=void 0});Y.push(Kt)}yield Promise.all(Y),Zc.delete(T)});return function(T){return b.apply(this,arguments)}}());yield Promise.all(m)}),lh.apply(this,arguments)}function X1(){return 0===Nl.size}
vendor: 4,942 bytes, line 1
1function ch(){return(ch=(0,Mt.A)(function*(n,i){if("string"==typeof i)return i;if(void 0!==i.status&&200!==i.status)throw new p.buA(918,!1);return i.text()})).apply(this,arguments)}const uh=new Map;function Im(n,i){(function q1(n,i,s){if(i&&i!==s)throw new p.buA(921,!1)})(0,uh.get(i)||null,n),uh.set(i,n)}let jl=class{},Pm=class{};function Z1(n,i){return new dh(n,i??null,[])}class dh extends jl{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new dm(this);constructor(i,s,c,m=!0){super(),this.ngModuleType=i,this._parent=s;const b=(0,p.phH)(i);this._bootstrapComponents=Ra(b.bootstrap),this._r3Injector=(0,p.Pz9)(i,s,[{provide:jl,useValue:this},{provide:Xc,useValue:this.componentFactoryResolver},...c],(0,p.AsM)(i),new Set(["environment"])),m&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(s=>s()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}}class Sm extends Pm{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new dh(this.moduleType,i,[])}}function eC(n,i,s){return new dh(n,i,s,!1)}class km extends jl{injector;componentFactoryResolver=new dm(this);instance=null;constructor(i){super();const s=new p.e5P([...i.providers,{provide:jl,useValue:this},{provide:Xc,useValue:this.componentFactoryResolver}],i.parent||(0,p.WB9)(),i.debugName,new Set(["environment"]));this.injector=s,i.runEnvironmentInitializers&&s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}}function fh(n,i,s=null){return new km({providers:n,parent:i,debugName:s,runEnvironmentInitializers:!0}).injector}let tC=(()=>{class n{_injector;cachedInjectors=new Map;constructor(s){this._injector=s}getOrCreateStandaloneInjector(s){if(!s.standalone)return null;if(!this.cachedInjectors.has(s)){const c=(0,p.jXY)(!1,s.type),m=c.length>0?fh([c],this._injector,""):null;this.cachedInjectors.set(s,m)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,p.jDH)({token:n,providedIn:"environment",factory:()=>new n((0,p.KVO)(p.uvJ))})}return n})();function Rm(n){return le(()=>{const i=jm(n),s={...i,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===os.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&n.dependencies||null,getStandaloneInjector:i.standalone?m=>m.get(tC).getOrCreateStandaloneInjector(s):null,getExternalStyles:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Lr.Emulated,styles:n.styles||p.Mlv,_:null,schemas:n.schemas||null,tView:null,id:""};i.standalone&&jr("NgStandalone"),Fm(s);const c=n.dependencies;return s.directiveDefs=fd(c,Am),s.pipeDefs=fd(c,p.oyA),s.id=function sC(n){let i=0;const c=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,"function"==typeof n.consts?"":n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery];for(const b of c.join("|"))i=Math.imul(31,i)+b.charCodeAt(0)|0;return i+=2147483648,"c"+i}(s),s})}function Am(n){return(0,p.xUg)(n)||(0,p.HaV)(n)}function Lm(n){return le(()=>({type:n.type,bootstrap:n.bootstrap||p.Mlv,declarations:n.declarations||p.Mlv,imports:n.imports||p.Mlv,exports:n.exports||p.Mlv,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function nC(n,i){if(null==n)return p.MZA;const s={};for(const c in n)if(n.hasOwnProperty(c)){const m=n[c];let b,T,B,Y;Array.isArray(m)?(B=m[0],b=m[1],T=m[2]??b,Y=m[3]||null):(b=m,T=m,B=Qi.None,Y=null),s[b]=[c,B,Y],i[b]=T}return s}function iC(n){if(null==n)return p.MZA;const i={};for(const s in n)n.hasOwnProperty(s)&&(i[n[s]]=s);return i}function xm(n){return le(()=>{const i=jm(n);return Fm(i),i})}function Nm(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:n.standalone??!0,onDestroy:n.type.prototype.ngOnDestroy||null}}function jm(n){const i={};return{type:n.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputConfig:n.inputs||p.MZA,exportAs:n.exportAs||null,standalone:n.standalone??!0,signals:!0===n.signals,selectors:n.selectors||p.Mlv,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:nC(n.inputs,i),outputs:iC(n.outputs),debugInfo:null}}function Fm(n){n.features?.forEach(i=>
vendor: 4,590 bytes, line 1
1i(n))}function fd(n,i){return n?()=>{const s="function"==typeof n?n():n,c=[];for(const m of s){const b=i(m);null!==b&&c.push(b)}return c}:null}function lC(n){const i=[];let s=!1,c=null,m=null;for(let b=0;b<n.length;b++){const T=n[b];if(null!==T.hostDirectives){const B=i.length;c??=new Map,m??=new Map,Bm(T,i,c),m.set(T,[B,i.length-1])}0===b&&(0,p.JlV)(T)&&(s=!0,i.push(T))}for(let b=s?1:0;b<n.length;b++)i.push(n[b]);return[i,c,m]}function Bm(n,i,s){if(null!==n.hostDirectives)for(const c of n.hostDirectives)if("function"==typeof c){const m=c();for(const b of m)Um(hh(b),i,s)}else Um(c,i,s)}function Um(n,i,s){const c=(0,p.HaV)(n.directive);(function cC(n,i){for(const s in i)i.hasOwnProperty(s)&&(n[i[s]]=n[s])})(c.declaredInputs,n.inputs),Bm(c,i,s),s.set(c,n),i.push(c)}function hh(n){return"function"==typeof n?{directive:(0,p.nl4)(n),inputs:p.MZA,outputs:p.MZA}:{directive:(0,p.nl4)(n.directive),inputs:Wm(n.inputs),outputs:Wm(n.outputs)}}function Wm(n){if(void 0===n||0===n.length)return p.MZA;const i={};for(let s=0;s<n.length;s+=2)i[n[s]]=n[s+1];return i}function ph(n){let i=function uC(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),s=!0;const c=[n];for(;i;){let m;if((0,p.JlV)(n))m=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new p.buA(903,!1);m=i.\u0275dir}if(m){if(s){c.push(m);const T=n;T.inputs=gh(n.inputs),T.declaredInputs=gh(n.declaredInputs),T.outputs=gh(n.outputs);const B=m.hostBindings;B&&gC(n,B);const Y=m.viewQuery,Se=m.contentQueries;if(Y&&hC(n,Y),Se&&pC(n,Se),dC(n,m),(0,p.dwj)(n.outputs,m.outputs),(0,p.JlV)(m)&&m.data.animation){const Ue=n.data;Ue.animation=(Ue.animation||[]).concat(m.data.animation)}}const b=m.features;if(b)for(let T=0;T<b.length;T++){const B=b[T];B&&B.ngInherit&&B(n),B===ph&&(s=!1)}}i=Object.getPrototypeOf(i)}!function fC(n){let i=0,s=null;for(let c=n.length-1;c>=0;c--){const m=n[c];m.hostVars=i+=m.hostVars,m.hostAttrs=Pi(m.hostAttrs,s=Pi(s,m.hostAttrs))}}(c)}function dC(n,i){for(const s in i.inputs){if(!i.inputs.hasOwnProperty(s)||n.inputs.hasOwnProperty(s))continue;const c=i.inputs[s];void 0!==c&&(n.inputs[s]=c,n.declaredInputs[s]=i.declaredInputs[s])}}function gh(n){return n===p.MZA?{}:n===p.Mlv?[]:n}function hC(n,i){const s=n.viewQuery;n.viewQuery=s?(c,m)=>{i(c,m),s(c,m)}:i}function pC(n,i){const s=n.contentQueries;n.contentQueries=s?(c,m,b)=>{i(c,m,b),s(c,m,b)}:i}function gC(n,i){const s=n.hostBindings;n.hostBindings=s?(c,m)=>{i(c,m),s(c,m)}:i}function Gm(n,i,s,c,m,b,T,B){if(s.firstCreatePass){n.mergedAttrs=Pi(n.mergedAttrs,n.attrs);const Ue=n.tView=Dr(2,n,m,b,T,s.directiveRegistry,s.pipeRegistry,null,s.schemas,s.consts,null);null!==s.queries&&(s.queries.template(s,n),Ue.queries=s.queries.embeddedTView(n))}B&&(n.flags|=B),(0,p.iMd)(n,!1);const Y=$m(s,i,n,c);(0,p.SX7)()&&Ef(s,i,Y,n),_o(Y,i);const Se=bg(Y,i,Y,n);i[c+p.Yw1]=Se,Jl(i,Se)}function Fl(n,i,s,c,m,b,T,B,Y,Se,Ue){const mt=s+p.Yw1;let Kt;if(i.firstCreatePass){if(Kt=Rl(i,mt,4,T||null,B||null),null!=Se){const en=(0,p.db4)(i.consts,Se);Kt.localNames=[];for(let _n=0;_n<en.length;_n+=2)Kt.localNames.push(en[_n],-1)}}else Kt=i.data[mt];return Gm(Kt,n,i,s,c,m,b,Y),null!=Se&&tc(n,Kt,Ue),Kt}function mh(n,i,s,c,m,b,T,B){const Y=(0,p.OAn)(),Se=(0,p.klJ)();return function mC(n,i,s,c,m,b,T,B,Y,Se,Ue){const mt=s+p.Yw1;let Kt;i.firstCreatePass?(Kt=Rl(i,mt,4,T||null,B||null),(0,p.ckz)()&&Qg(i,n,Kt,(0,p.db4)(i.consts,Se),Pf),On(i,Kt)):Kt=i.data[mt],Gm(Kt,n,i,s,c,m,b,Y),(0,p.yoD)(Kt)&&Ku(i,n,Kt),null!=Se&&tc(n,Kt,Ue)}(Y,Se,n,i,s,c,m,(0,p.db4)(Se.consts,b),void 0,T,B),mh}let $m=function Km(n,i,s,c){return(0,p.m7n)(!0),i[p.GpT].createComment("")};var Ys=function(n){return n[n.NOT_STARTED=0]="NOT_STARTED",n[n.IN_PROGRESS=1]="IN_PROGRESS",n[n.COMPLETE=2]="COMPLETE",n[n.FAILED=3]="FAILED",n}(Ys||{}),as=function(n){return n[n.Placeholder=0]="Placeholder",n[n.Loading=1]="Loading",n[n.Complete=2]="Complete",n[n.Error=3]="Error",n}(as||{}),uc=function(n){return n[n.Initial=-1]="Initial",n}(uc||{}),zm=function(n){return n[n.Manual=0]="Manual",n[n.Playthrough=1]="Playthrough",n}(zm||{});function tu(n,i,s){const c=Xm(n);null===i[c]&&(i[c]=[]),i[c].push(s)}function gd(n,i){const s=Xm(n),c=i[s];if(null!==c){for(const m of c)m();i[s]=null}}function Qm(n){gd(1,n),gd(0,n),gd(2,n)}function Xm(n){let i=4;return 1===n?i=5:2===n&&(i=9),i}function nu(n){return n+1}function sa(n,i){return n[nu(i.index)]}function Fr(n,i){const s=nu(i.index);return n.data[s]}function _h(n,i){return i===as.Placeholder?n.placeholderBlockConfig?.[0]??null:i===as.Loading?n.loadingBlockConfig?.[0]??null:null}function Jm(n){return n.loadingBlockConfig?.[1]??null}
vendor: 31,399 bytes, line 1
1function qm(n,i){if(!n||0===n.length)return i;const s=new Set(n);for(const c of i)s.add(c);return n.length===s.size?n:Array.from(s)}function yh(n,i,s,c){const m=s.get(p.SKi);return function z(n,i,s,c){const m=ce(c);let b=qn.get(n)?.get(m);xi.has(m)||xi.set(m,{observer:s(c),count:0});const T=xi.get(m);if(!b){b=new wo,T.observer.observe(n);let B=qn.get(n);B?B.set(m,b):(B=new Map,qn.set(n,B)),B.set(m,b),T.count++}return b.callbacks.add(i),()=>{if(qn.get(n)?.has(m)){if(b.callbacks.delete(i),0===b.callbacks.size){T.observer.unobserve(n),T.count--;const B=qn.get(n);B&&(B.delete(m),0===B.size&&qn.delete(n))}0===T.count&&(T.observer.disconnect(),xi.delete(m))}}}(n,()=>m.run(i),b=>m.runOutsideAngular(()=>function ae(n){const i=ce(n);return new IntersectionObserver(s=>{for(const c of s)c.isIntersecting&&qn.has(c.target)&&qn.get(c.target)?.get(i)?.listener()},n)}(b)),c)}function hc(n,i,s,c,m,b,T,B){const Y=n[p.YEL],Se=Y.get(p.SKi);let Ue;Ue=Kp({read:function mt(){if((0,p.EPY)(n))return void Ue.destroy();const Kt=sa(n,i),en=Kt[1];if(en!==uc.Initial&&en!==as.Placeholder)return void Ue.destroy();const _n=function wC(n,i,s){return null==s?n:s>=0?(0,p.jRZ)(s,n):n[i.index][p.Y20]??null}(n,i,c);if(!_n||(Ue.destroy(),(0,p.EPY)(_n)))return;const Jn=function TC(n,i){return(0,p.vaC)(p.Yw1+i,n)}(_n,s),pi=m(Jn,()=>{Se.run(()=>{n!==_n&&(0,p.DyX)(_n,pi),b()})},Y,B);n!==_n&&(0,p.ik5)(_n,pi),tu(T,Kt,pi)}},{injector:Y})}function md(n,i){const s=i.get(SC);return s.add(n),()=>s.remove(n)}let SC=(()=>{class n{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=(0,p.WQX)(p.SKi);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(s){(this.executingCallbacks?this.deferred:this.current).add(s),null===this.idleId&&this.scheduleIdleCallback()}remove(s){const{current:c,deferred:m}=this;c.delete(s),m.delete(s),0===c.size&&0===m.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const s=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const c of this.current)c();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const c of this.deferred)this.current.add(c);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(s))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,p.jDH)({token:n,providedIn:"root",factory:()=>new n})}return n})();function _d(n){return(i,s)=>e_(n,i,s)}function e_(n,i,s){const c=s.get(kC),m=s.get(p.SKi);return c.add(n,i,m),()=>c.remove(i)}let kC=(()=>{class n{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(s,c,m){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+s,c),this.scheduleTimer(m)}remove(s){const{current:c,deferred:m}=this;-1===this.removeFromQueue(c,s)&&this.removeFromQueue(m,s),0===c.length&&0===m.length&&this.clearTimeout()}addToQueue(s,c,m){let b=s.length;for(let T=0;T<s.length;T+=2)if(s[T]>c){b=T;break}(0,p.llW)(s,b,c,m)}removeFromQueue(s,c){let m=-1;for(let b=0;b<s.length;b+=2)if(s[b+1]===c){m=b;break}return m>-1&&(0,p.gsJ)(s,m,2),m}scheduleTimer(s){const c=()=>{this.clearTimeout(),this.executingCallbacks=!0;const b=[...this.current],T=Date.now();for(let Y=0;Y<b.length;Y+=2){const Ue=b[Y+1];if(!(b[Y]<=T))break;Ue()}let B=-1;for(let Y=0;Y<this.current.length&&this.current[Y]<=T;Y+=2)B=Y+1;if(B>=0&&(0,p.gsJ)(this.current,0,B+1),this.executingCallbacks=!1,this.deferred.length>0){for(let Y=0;Y<this.deferred.length;Y+=2)this.addToQueue(this.current,this.deferred[Y],this.deferred[Y+1]);this.deferred.length=0}this.scheduleTimer(s)};if(this.current.length>0){const b=Date.now(),T=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-T>16){this.clearTimeout();const B=Math.max(T-b,16);this.invokeTimerAt=T,this.timeoutId=s.runOutsideAngular(()=>setTimeout(()=>s.run(c),B))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,p.jDH)({token:n,providedIn:"root",factory:()=>new n})}return n})(),RC=(()=>{class n{cachedInjectors=new Map;getOrCreateInjector(s,c,m,b){if(!this.cachedInjectors.has(s)){const T=m.length>0?fh(m,c,b):null;this.cachedInjectors.set(s,T)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,p.jDH)({token:n,providedIn:"environment",factory:()=>new n})}return n})();const AC=new p.nKC("");function bh(n,i,s){return n.get(RC).getOrCreateInjector(i,n,s,"")}function hl(n,i,s,c=!1){const m=s[p.f7T],b=m[p.eDl];if((0,p.EPY)(m))return;const T=sa(m,i),Y=T[7];if(!(null!==Y&&n<Y)&&i_(T[1],n)&&i_(T[0]??-1,n)){const Se=Fr(b,i),mt=c||null===Jm(Se)&&null===_h(Se,as.Loading)&&!_h(Se,as.Placeholder)?t_:vh;try{mt(n,T,s,i,m)}catch(Kt){Sf(m,Kt)}}}function t_(n,i,s,c,m){ye(lt.DeferBlockStateStart);const b=function EC(n,i,s){const m=Fr(i[p.eDl],s);switch(n){case as.Complete:return m.primaryTmplIndex;case as.Loading:return m.loadingTmplIndex;case as.Error:return m.errorTmplIndex;case as.Placeholder:return m.placeholderTmplIndex;default:return null}}(n,m,c);if(null!==b){i[1]=n;const T=m[p.eDl],Y=(0,p.XRZ)(T,b+p.Yw1),Se=0;let Ue;if(Rf(s,Se),n===as.Complete){const _n=Fr(T,c),Jn=_n.providers;Jn&&Jn.length>0&&(Ue=function LC(n,i,s){if(n instanceof rc){const m=n.injector,T=bh(n.parentInjector,i,s);return new rc(m,T)}const c=n.get(p.uvJ);if(c!==n){const m=bh(c,i,s);return new rc(n,m)}return bh(n,i,s)}(m[p.YEL],_n,Jn))}const{dehydratedView:mt,dehydratedViewIx:Kt}=function xC(n,i){const s=n[p.qFA]?.findIndex(m=>m.data.s===i[1])??-1;return{dehydratedView:s>-1?n[p.qFA][s]:null,dehydratedViewIx:s}}(s,i),en=nc(m,Y,null,{injector:Ue,dehydratedView:mt});if(oc(s,en,Se,kl(Y,mt)),ic(en,2),Kt>-1&&s[p.qFA]?.splice(Kt,1),(n===as.Complete||n===as.Error)&&Array.isArray(i[8])){for(const _n of i[8])_n();i[8]=null}}ye(lt.DeferBlockStateEnd)}function NC(n,i,s,c,m){const b=Date.now(),B=Fr(m[p.eDl],c);if(null===i[2]||i[2]<=b){i[2]=null;const Y=Jm(B),Se=null!==i[3];if(n!==as.Loading||null===Y||Se){n>as.Loading&&Se&&(i[3](),i[3]=null,i[0]=null),t_(n,i,s,c,m);const Ue=_h(B,n);null!==Ue&&(i[2]=b+Ue,n_(Ue,i,c,s,m))}else{i[0]=n;const Ue=n_(Y,i,c,s,m);i[3]=Ue}}else i[0]=n}function n_(n,i,s,c,m){return e_(n,()=>{const T=i[0];i[2]=null,i[0]=null,null!==T&&hl(T,s,c)},m[p.YEL])}function i_(n,i){return n<i}function pc(n,i){hl(as.Placeholder,i,n[i.index])}function o_(n,i,s){n.loadingPromise.then(()=>{n.loadingState===Ys.COMPLETE?hl(as.Complete,i,s):n.loadingState===Ys.FAILED&&hl(as.Error,i,s)})}let vh=null;function FC(n,i,s,c){return le(()=>{const m=n;null!==i&&(m.hasOwnProperty("decorators")&&void 0!==m.decorators?m.decorators.push(...i):m.decorators=i),null!==s&&(m.ctorParameters=s),null!==c&&(m.propDecorators=m.hasOwnProperty("propDecorators")&&void 0!==m.propDecorators?{...m.propDecorators,...c}:c)})}let s_=(()=>{class n{log(s){console.log(s)}warn(s){console.warn(s)}static \u0275fac=function(c){return new(c||n)};static \u0275prov=(0,p.jDH)({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();function Mh(n){return"function"==typeof n&&void 0!==n[Bt.bh]}function a_(n){return Mh(n)&&"function"==typeof n.set}function EM(n,i){!function C_(n,i){if(typeof COMPILED>"u"||!COMPILED){const s=p.laP;s.ng??={},s.ng[n]=i}}(n,i)}const M_=new p.nKC(""),D_=new p.nKC("");let Eh,OM=(()=>{class n{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(s,c,m){this._ngZone=s,this.registry=c,(0,p.M6u)()&&(this._destroyRef=(0,p.WQX)(p.abz,{optional:!0})??void 0),Eh||(function TM(n){Eh=n}(m),m.addToWindow(c)),this._watchAngularEvents(),s.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const s=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),c=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{p.SKi.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{s.unsubscribe(),c.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let s=this._callbacks.pop();clearTimeout(s.timeoutId),s.doneCb()}});else{let s=this.getPendingTasks();this._callbacks=this._callbacks.filter(c=>!c.updateCb||!c.updateCb(s)||(clearTimeout(c.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(s=>({source:s.source,creationLocation:s.creationLocation,data:s.data})):[]}addCallback(s,c,m){let b=-1;c&&c>0&&(b=setTimeout(()=>{this._callbacks=this._callbacks.filter(T=>T.timeoutId!==b),s()},c)),this._callbacks.push({doneCb:s,timeoutId:b,updateCb:m})}whenStable(s,c,m){if(m&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(s,c,m),this._runCallbacksIfReady()}registerApplication(s){this.registry.registerApplication(s,this)}unregisterApplication(s){this.registry.unregisterApplication(s)}findProviders(s,c,m){return[]}static \u0275fac=function(c){return new(c||n)((0,p.KVO)(p.SKi),(0,p.KVO)(wM),(0,p.KVO)(D_))};static \u0275prov=(0,p.jDH)({token:n,factory:n.\u0275fac})}return n})(),wM=(()=>{class n{_applications=new Map;registerApplication(s,c){this._applications.set(s,c)}unregisterApplication(s){this._applications.delete(s)}unregisterAllApplications(){this._applications.clear()}getTestability(s){return this._applications.get(s)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(s,c=!0){return Eh?.findTestabilityInTree(this,s,c)??null}static \u0275fac=function(c){return new(c||n)};static \u0275prov=(0,p.jDH)({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();function E_(n){return!!n&&"function"==typeof n.then}function O_(n){return!!n&&"function"==typeof n.subscribe}const w_=new p.nKC("");function IM(n){return(0,p.EmA)([{provide:w_,multi:!0,useValue:n}])}let T_=(()=>{class n{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((s,c)=>{this.resolve=s,this.reject=c});appInits=(0,p.WQX)(w_,{optional:!0})??[];injector=(0,p.WQX)(p.zZn);constructor(){}runInitializers(){if(this.initialized)return;const s=[];for(const m of this.appInits){const b=(0,p.N4e)(this.injector,m);if(E_(b))s.push(b);else if(O_(b)){const T=new Promise((B,Y)=>{b.subscribe({complete:B,error:Y})});s.push(T)}}const c=()=>{this.done=!0,this.resolve()};Promise.all(s).then(()=>{c()}).catch(m=>{this.reject(m)}),0===s.length&&c(),this.initialized=!0}static \u0275fac=function(c){return new(c||n)};static \u0275prov=(0,p.jDH)({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const I_=new p.nKC("");function PM(){}function SM(){(0,Bt.KO)(()=>{throw new p.buA(600,"")})}function P_(n,i){return Array.isArray(i)?i.reduce(P_,n):{...n,...i}}let Oh=(()=>{class n{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,p.WQX)(p.ZTf);afterRenderManager=(0,p.WQX)(Gp);zonelessEnabled=(0,p.WQX)(p.Evm);rootEffectScheduler=(0,p.WQX)(p.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new it.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,p.WQX)(p.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,Me.T)(s=>!s))}constructor(){(0,p.WQX)(Zl,{optional:!0})}whenStable(){let s;return new Promise(c=>{s=this.isStable.subscribe({next:m=>{m&&c()}})}).finally(()=>{s.unsubscribe()})}_injector=(0,p.WQX)(p.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(s,c){return this.bootstrapImpl(s,c)}bootstrapImpl(s,c,m=p.zZn.NULL){return this._injector.get(p.SKi).run(()=>{ye(lt.BootstrapComponentStart);const T=s instanceof Kg;if(!this._injector.get(T_).done)throw new p.buA(405,"");let Y;Y=T?s:this._injector.get(Xc).resolveComponentFactory(s),this.componentTypes.push(Y.componentType);const Se=function kM(n){return n.isBoundToModule}(Y)?void 0:this._injector.get(jl),mt=Y.create(m,[],c||Y.selector,Se),Kt=mt.location.nativeElement,en=mt.injector.get(M_,null);return en?.registerApplication(Kt),mt.onDestroy(()=>{this.detachView(mt.hostView),vd(this.components,mt),en?.unregisterApplication(Kt)}),this._loadComponent(mt),ye(lt.BootstrapComponentEnd,mt),mt})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ye(lt.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(_f.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw ye(lt.ChangeDetectionEnd),new p.buA(101,!1);const s=(0,Bt.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,Bt.Ht)(s),this.afterTick.next(),ye(lt.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Gf,null,{optional:!0}));let s=0;for(;0!==this.dirtyFlags&&s++<10;){ye(lt.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{ye(lt.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let s=!1;if(7&this.dirtyFlags){const c=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:m}of this.allViews)(c||(0,p.dMS)(m))&&(qu(m,c&&!this.zonelessEnabled?0:1),s=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}s||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:s})=>(0,p.dMS)(s))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(s){const c=s;this._views.push(c),c.attachToAppRef(this)}detachView(s){const c=s;vd(this._views,c),c.detachFromAppRef()}_loadComponent(s){this.attachView(s.hostView);try{this.tick()}catch(m){this.internalErrorHandler(m)}this.components.push(s),this._injector.get(I_,[]).forEach(m=>m(s))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(s=>s()),this._views.slice().forEach(s=>s.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(s){return this._destroyListeners.push(s),()=>vd(this._destroyListeners,s)}destroy(){if(this._destroyed)throw new p.buA(406,!1);const s=this._injector;s.destroy&&!s.destroyed&&s.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(c){return new(c||n)};static \u0275prov=(0,p.jDH)({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function vd(n,i){const s=n.indexOf(i);s>-1&&n.splice(s,1)}function wh(){let n,i;return{promise:new Promise((c,m)=>{n=c,i=m}),resolve:n,reject:i}}function S_(n){const i=(0,p.OAn)(),s=(0,p.Mx4)();if(pc(i,s),!A_(0,i))return;const c=i[p.YEL];tu(0,sa(i,s),n(()=>Wl(0,i,s),c))}function k_(n){const i=(0,p.OAn)(),s=i[p.YEL],c=(0,p.Mx4)(),b=Fr(i[p.eDl],c);b.loadingState===Ys.NOT_STARTED&&tu(1,sa(i,c),n(()=>ou(b,i,c),s))}function R_(n,i,s){const c=i[p.YEL],m=sa(i,s),b=m[6];tu(2,m,n(()=>Vl(c,b),c))}function ou(n,i,s){Th(n,i,s)}function Th(n,i,s){const c=i[p.YEL],m=i[p.eDl];if(n.loadingState!==Ys.NOT_STARTED)return n.loadingPromise??Promise.resolve();const b=sa(i,s),T=function OC(n,i){return(0,p.XRZ)(n,i.primaryTmplIndex+p.Yw1)}(m,n);n.loadingState=Ys.IN_PROGRESS,gd(1,b);let B=n.dependencyResolverFn;const Y=c.get(p.u5s).add();return B?(n.loadingPromise=Promise.allSettled(B()).then(Se=>{let Ue=!1,mt=null;const Kt=[],en=[];for(let _n=0;_n<Se.length;_n++){const Jn=Se[_n];if("fulfilled"!==Jn.status){Ue=!0,mt=Jn.reason instanceof Error?Jn.reason:new Error(String(Jn.reason));break}{const pi=Jn.value,ji=(0,p.xUg)(pi)||(0,p.HaV)(pi);if(ji)Kt.push(ji);else{const Yn=(0,p.oyA)(pi);Yn&&en.push(Yn)}}}if(Ue){if(n.loadingState=Ys.FAILED,null===n.errorTmplIndex){const pi=new p.buA(-750,"");Sf(i,pi)}}else{n.loadingState=Ys.COMPLETE;const _n=T.tView;if(Kt.length>0){_n.directiveRegistry=qm(_n.directiveRegistry,Kt);const Jn=Kt.map(ji=>ji.type),pi=(0,p.jXY)(!1,...Jn);n.providers=pi}en.length>0&&(_n.pipeRegistry=qm(_n.pipeRegistry,en))}}),n.loadingPromise.finally(()=>{n.loadingPromise=null,Y()})):(n.loadingPromise=Promise.resolve().then(()=>{n.loadingPromise=null,n.loadingState=Ys.COMPLETE,Y()}),n.loadingPromise)}function A_(n,i){return i[p.YEL].get(AC,null,{optional:!0})?.behavior!==zm.Manual}function Wl(n,i,s){const c=i[p.eDl],m=i[s.index];if(!A_(0,i))return;const b=sa(i,s),T=Fr(c,s);switch(Qm(b),T.loadingState){case Ys.NOT_STARTED:hl(as.Loading,s,m),Th(T,i,s),T.loadingState===Ys.IN_PROGRESS&&o_(T,s,m);break;case Ys.IN_PROGRESS:hl(as.Loading,s,m),o_(T,s,m);break;case Ys.COMPLETE:hl(as.Complete,s,m);break;case Ys.FAILED:hl(as.Error,s,m)}}function Vl(n,i,s){return Ih.apply(this,arguments)}function Ih(){return(Ih=(0,Mt.A)(function*(n,i,s){const c=n.get(Ps);if(c.hydrating.has(i))return;const{parentBlockPromise:b,hydrationQueue:T}=function u(n,i){const s=i.get(Ps),m=i.get(Uo).get("__nghDeferData__",{});let b=!1,T=n,B=null;const Y=[];for(;!b&&T;){b=s.has(T);const Se=s.hydrating.get(T);if(null===B&&null!=Se){B=Se.promise;break}Y.unshift(T),T=m[T].p}return{parentBlockPromise:B,hydrationQueue:Y}}(i,n);if(0===T.length)return;null!==b&&T.shift(),function xM(n,i){for(let s of i)n.hydrating.set(s,wh())}(c,T),null!==b&&(yield b);const B=T[0];c.has(B)?yield L_(n,T,s):c.awaitParentBlock(B,(0,Mt.A)(function*(){return yield L_(n,T,s)}))})).apply(this,arguments)}function L_(n,i,s){return Ph.apply(this,arguments)}function Ph(){return(Ph=(0,Mt.A)(function*(n,i,s){const c=n.get(Ps),m=c.hydrating,b=n.get(p.rev),T=b.add();for(let Y=0;Y<i.length;Y++){const Se=i[Y],Ue=c.get(Se);if(null==Ue){LM(Y,i,c),x_(i.slice(Y),c);break}if(yield jM(Ue),yield NM(n),AM(Ue)){Bv(Ue),x_(i.slice(Y),c);break}m.get(Se).resolve()}const B=i[i.length-1];yield m.get(B)?.promise,b.remove(T),s&&s(i),function Wv(n,i,s,c){null!==n&&(s.cleanup(i),rd(n.lContainer),function Uv(n){const i=n._views;for(const s of i){const c=fa(s);null!==c&&null!==c[p.jgP]&&((0,p.q$2)(c)?zc(c):rd(c))}}(c))}(c.get(B),i,c,n.get(Oh))})).apply(this,arguments)}function AM(n){return sa(n.lView,n.tNode)[1]===as.Error}function LM(n,i,s){const c=n-1,m=c>-1?s.get(i[c]):null;m&&rd(m.lContainer)}function x_(n,i){const s=i.hydrating;for(const c in n)s.get(c)?.reject();i.cleanup(n)}function NM(n){return new Promise(i=>yf(i,{injector:n}))}function jM(n){return Sh.apply(this,arguments)}function Sh(){return(Sh=(0,Mt.A)(function*(n){const{tNode:i,lView:s}=n,c=sa(s,i);return new Promise(m=>{(function FM(n,i){Array.isArray(n[8])||(n[8]=[]),n[8].push(i)})(c,m),Wl(0,s,i)})})).apply(this,arguments)}function Ws(n,i,s){return 0===n?N_(i,s):2!==n||!N_(i,s)}function N_(n,i){const s=n[p.YEL],c=Fr(n[p.eDl],i),m=ga(s),b=function BM(n){return null!=n&&!(1&~n)}(c.flags),B=null!==sa(n,i)[6];return!(b&&B&&m)}function pl(n,i){const s=Fr(n,i);return s.hydrateTriggers??=new Map}function kh(n,i){const s=(0,p.OAn)();if(Es(s,(0,p.xbp)(),i)){const m=(0,p.klJ)(),b=(0,p.CpD)();if(Xu(b,m,s,n,i))(0,p.Qs1)(b)&&lg(s,b.index);else{const B=(0,p.d31)(b,s);Yu(s[p.GpT],B,null,b.value,n,i,null)}}return kh}function Rh(n,i,s,c){const m=(0,p.OAn)();return Es(m,(0,p.xbp)(),i)&&((0,p.klJ)(),function Lb(n,i,s,c,m,b){const T=(0,p.d31)(n,i);Yu(i[p.GpT],T,b,n.value,s,c,m)}((0,p.CpD)(),m,n,i,s,c)),Rh}function su(n){if(jr("NgAnimateEnter"),!Xr)return su;const i=(0,p.OAn)();if(Nr(i))return su;const s=(0,p.Mx4)(),c=i[p.YEL].get(p.SKi);return Uu(Bu(i),s,()=>function hD(n,i,s,c){const m=(0,p.d31)(i,n),b=n[p.GpT],T=Fp(s),B=[];let Y=!1;const Se=mt=>{if(jc(mt)!==m)return;const Kt=mt instanceof AnimationEvent?"animationend":"transitionend";c.runOutsideAngular(()=>{b.listen(m,Kt,Ue)})},Ue=mt=>{jc(mt)===m&&(pf(mt,m)&&(Y=!0),function pD(n,i,s){const c=ql.get(i);if(jc(n)===i&&c&&pf(n,i)){n.stopPropagation();for(const m of c.classList)s.removeClass(i,m);df(i)}}(mt,m,b))};if(T&&T.length>0){c.runOutsideAngular(()=>{B.push(b.listen(m,"animationstart",Se)),B.push(b.listen(m,"transitionstart",Se))}),function rb(n,i,s){const c=ql.get(n);if(c){for(const m of i)c.classList.push(m);for(const m of s)c.cleanupFns.push(m)}else ql.set(n,{classList:i,cleanupFns:s})}(m,T,B);for(const mt of T)b.addClass(m,mt);c.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!Y&&(Wp(m,wl,Xr),!wl.has(m))){for(const mt of T)b.removeClass(m,mt);df(m)}})})}}(i,s,n,c)),Hu(i[p.YEL]),bf(i[p.YEL],Bu(i)),su}function ru(n){if(jr("NgAnimateLeave"),!Xr)return ru;const i=(0,p.OAn)();if(Nr(i))return ru;const c=(0,p.Mx4)(),m=i[p.YEL].get(p.SKi);return Uu(Tl(i),c,()=>function mD(n,i,s,c){const{promise:m,resolve:b}=wh(),T=(0,p.d31)(i,n),B=n[p.GpT];Pl.add(n[p.ID]),(Tl(n).get(i.index).resolvers??=[]).push(b);const Y=Fp(s);return Y&&Y.length>0?function _D(n,i,s,c,m,b){!function cb(n,i){if(!Xr)return;const s=ql.get(n);if(s&&s.classList.length>0&&function ub(n,i){for(const s of i)if(n.classList.contains(s))return!0;return!1}(n,s.classList))for(const c of s.classList)i.removeClass(n,c);df(n)}(n,m);const T=[],B=Tl(s).get(i.index)?.resolvers;let Y,Se=!1;const Ue=mt=>{if((jc(mt)===n||"animation-fallback"===mt.type)&&("animation-fallback"===mt.type||pf(mt,n))){if(Se=!0,Y&&clearTimeout(Y),"animation-fallback"!==mt.type&&mt.stopPropagation(),wl.delete(n),ff(i,n),Array.isArray(i.projection))for(const en of c)m.removeClass(n,en);gf(B,T),mf(s,i)}};b.runOutsideAngular(()=>{T.push(m.listen(n,"animationend",Ue)),T.push(m.listen(n,"transitionend",Ue))}),hf(i,n);for(const mt of c)m.addClass(n,mt);b.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(Se)return;Wp(n,wl,Xr);const mt=wl.get(n);mt?(Y=setTimeout(()=>{Ue(new CustomEvent("animation-fallback"))},mt.duration+50),T.push(()=>clearTimeout(Y))):(ff(i,n),gf(B,T),mf(s,i))})})}(T,i,n,Y,B,c):b(),{promise:m,resolve:b}}(i,c,n,m)),Hu(i[p.YEL]),ru}function F_(){return(0,p.OAn)()[p.b5C][p.SKP]}class bD{destroy(i){}updateValue(i,s){}swap(i,s){const c=Math.min(i,s),m=Math.max(i,s),b=this.detach(m);if(m-c>1){const T=this.detach(c);this.attach(c,b),this.attach(m,T)}else this.attach(c,b)}move(i,s){this.attach(s,this.detach(i))}}function Lh(n,i,s,c,m){return n===s&&Object.is(i,c)?1:Object.is(m(n,i),m(s,c))?-1:0}function xh(n,i,s,c){return!(void 0===i||!i.has(c)||(n.attach(s,i.get(c)),i.delete(c),0))}function B_(n,i,s,c,m){if(xh(n,i,c,s(c,m)))n.updateValue(c,m);else{const b=n.create(c,m);n.attach(c,b)}}function U_(n,i,s,c){const m=new Set;for(let b=i;b<=s;b++)m.add(c(b,n.at(b)));return m}class W_{kvMap=new Map;_vMap=void 0;has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;const s=this.kvMap.get(i);return void 0!==this._vMap&&this._vMap.has(s)?(this.kvMap.set(i,this._vMap.get(s)),this._vMap.delete(s)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,s){if(this.kvMap.has(i)){let c=this.kvMap.get(i);void 0===this._vMap&&(this._vMap=new Map);const m=this._vMap;for(;m.has(c);)c=m.get(c);m.set(c,s)}else this.kvMap.set(i,s)}forEach(i){for(let[s,c]of this.kvMap)if(i(c,s),void 0!==this._vMap){const m=this._vMap;for(;m.has(c);)c=m.get(c),i(c,s)}}}function V_(n,i,s,c,m,b,T,B){jr("NgControlFlow");const Y=(0,p.OAn)(),Se=(0,p.klJ)();return Fl(Y,Se,n,i,s,c,m,(0,p.db4)(Se.consts,b),256,T,B),Md}function Md(n,i,s,c,m,b,T,B){jr("NgControlFlow");const Y=(0,p.OAn)(),Se=(0,p.klJ)();return Fl(Y,Se,n,i,s,c,m,(0,p.db4)(Se.consts,b),512,T,B),Md}function G_(n,i){jr("NgControlFlow");const s=(0,p.OAn)(),c=(0,p.xbp)(),m=s[c]!==co?s[c]:-1,b=-1!==m?Dd(s,p.Yw1+m):void 0;if(Es(s,c,n)){const B=(0,Bt.Ht)(null);try{if(void 0!==b&&Rf(b,0),-1!==n){const Y=p.Yw1+n,Se=Dd(s,Y),Ue=Nh(s[p.eDl],Y),mt=null;oc(Se,nc(s,Ue,i,{dehydratedView:mt}),0,kl(Ue,mt))}}finally{(0,Bt.Ht)(B)}}else if(void 0!==b){const B=vg(b,0);void 0!==B&&(B[p.SKP]=i)}}class CD{lContainer;$implicit;$index;constructor(i,s,c){this.lContainer=i,this.$implicit=s,this.$index=c}get $count(){return this.lContainer.length-p.Y20}}function H_(n){return n}function $_(n,i){return i}class MD{hasEmptyBlock;trackByFn;liveCollection;constructor(i,s,c){this.hasEmptyBlock=i,this.trackByFn=s,this.liveCollection=c}}function K_(n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt){jr("NgControlFlow");const en=(0,p.OAn)(),_n=(0,p.klJ)(),Jn=void 0!==Y,pi=(0,p.OAn)(),ji=B?T.bind(pi[p.b5C][p.SKP]):T,Yn=new MD(Jn,ji);pi[p.Yw1+n]=Yn,Fl(en,_n,n+1,i,s,c,m,(0,p.db4)(_n.consts,b),256),Jn&&Fl(en,_n,n+2,Y,Se,Ue,mt,(0,p.db4)(_n.consts,Kt),512)}class DD extends bD{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(i,s,c){super(),this.lContainer=i,this.hostLView=s,this.templateTNode=c}get length(){return this.lContainer.length-p.Y20}at(i){return this.getLView(i)[p.SKP].$implicit}attach(i,s){const c=s[p.tcA];this.needsIndexUpdate||=i!==this.length,oc(this.lContainer,s,i,kl(this.templateTNode,c)),function ED(n,i){if(n.length<=p.Y20)return;const c=n[p.Y20+i],m=c?c[p.Isx]:void 0;c&&m&&m.detachedLeaveAnimationFns&&m.detachedLeaveAnimationFns.length>0&&(function _b(n,i){const s=n.get(Gu);if(i.detachedLeaveAnimationFns){for(const c of i.detachedLeaveAnimationFns)s.queue.delete(c);i.detachedLeaveAnimationFns=void 0}}(c[p.YEL],m),Pl.delete(c[p.ID]),m.detachedLeaveAnimationFns=void 0)}(this.lContainer,i)}detach(i){return this.needsIndexUpdate||=i!==this.length-1,function OD(n,i){if(n.length<=p.Y20)return;const c=n[p.Y20+i],m=c?c[p.Isx]:void 0;m&&m.leave&&m.leave.size>0&&(m.detachedLeaveAnimationFns=[])}(this.lContainer,i),function wD(n,i){return Uc(n,i)}(this.lContainer,i)}create(i,s){return nc(this.hostLView,this.templateTNode,new CD(this.lContainer,s,i),{dehydratedView:null})}destroy(i){Fc(i[p.eDl],i)}updateValue(i,s){this.getLView(i)[p.SKP].$implicit=s}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i<this.length;i++)this.getLView(i)[p.SKP].$index=i}getLView(i){return function TD(n,i){return vg(n,i)}(this.lContainer,i)}}function Y_(n){const i=(0,Bt.Ht)(null),s=(0,p._px)();try{const c=(0,p.OAn)(),m=c[p.eDl],b=c[s],T=s+1,B=Dd(c,T);if(void 0===b.liveCollection){const Se=Nh(m,T);b.liveCollection=new DD(B,c,Se)}else b.liveCollection.reset();const Y=b.liveCollection;if(function vD(n,i,s,c){let m,b,T=0,B=n.length-1;if(Array.isArray(i)){(0,Bt.Ht)(c);let Se=i.length-1;for((0,Bt.Ht)(null);T<=B&&T<=Se;){const Ue=n.at(T),mt=i[T],Kt=Lh(T,Ue,T,mt,s);if(0!==Kt){Kt<0&&n.updateValue(T,mt),T++;continue}const en=n.at(B),_n=i[Se],Jn=Lh(B,en,Se,_n,s);if(0!==Jn){Jn<0&&n.updateValue(B,_n),B--,Se--;continue}const pi=s(T,Ue),ji=s(B,en),Yn=s(T,mt);if(Object.is(Yn,ji)){const Wo=s(Se,_n);Object.is(Wo,pi)?(n.swap(T,B),n.updateValue(B,_n),Se--,B--):n.move(B,T),n.updateValue(T,mt),T++;continue}if(m??=new W_,b??=U_(n,T,B,s),xh(n,m,T,Yn))n.updateValue(T,mt),T++,B++;else if(b.has(Yn))m.set(pi,n.detach(T)),B--;else{const Wo=n.create(T,i[T]);n.attach(T,Wo),T++,B++}}for(;T<=Se;)B_(n,m,s,T,i[T]),T++}else if(null!=i){(0,Bt.Ht)(c);const Se=i[Symbol.iterator]();(0,Bt.Ht)(null);let Ue=Se.next();for(;!Ue.done&&T<=B;){const mt=n.at(T),Kt=Ue.value,en=Lh(T,mt,T,Kt,s);if(0!==en)en<0&&n.updateValue(T,Kt),T++,Ue=Se.next();else{m??=new W_,b??=U_(n,T,B,s);const _n=s(T,Kt);if(xh(n,m,T,_n))n.updateValue(T,Kt),T++,B++,Ue=Se.next();else if(b.has(_n)){const Jn=s(T,mt);m.set(Jn,n.detach(T)),B--}else n.attach(T,n.create(T,Kt)),T++,B++,Ue=Se.next()}}for(;!Ue.done;)B_(n,m,s,n.length,Ue.value),Ue=Se.next()}for(;T<=B;)n.destroy(n.detach(B--));m?.forEach(Se=>{n.destroy(Se)})}(Y,n,b.trackByFn,i),Y.updateIndexes(),b.hasEmptyBlock){const Se=(0,p.xbp)(),Ue=0===Y.length;if(Es(c,Se,Ue)){const mt=s+2,Kt=Dd(c,mt);if(Ue){const en=Nh(m,mt),_n=null;oc(Kt,nc(c,en,void 0,{dehydratedView:_n}),0,kl(en,_n))}else m.firstUpdatePass&&sd(Kt),Rf(Kt,0)}}}finally{(0,Bt.Ht)(i)}}function Dd(n,i){return n[i]}function Nh(n,i){return(0,p.XRZ)(n,i)}function jh(n,i,s){const c=(0,p.OAn)();return Es(c,(0,p.xbp)(),i)&&((0,p.klJ)(),Tf((0,p.CpD)(),c,n,i,c[p.GpT],s)),jh}function Fh(n,i,s,c,m){Xu(i,n,s,m?"class":"style",c)}function au(n,i,s,c){const m=(0,p.OAn)(),b=m[p.eDl],T=n+p.Yw1,B=b.firstCreatePass?Kf(T,m,2,i,Pf,(0,p.ckz)(),s,c):b.data[T];if((0,p.Qs1)(B)){const Y=m[p.M0L].tracingService;if(Y&&Y.componentCreate)return Y.componentCreate(Xf(b.data[B.directiveStart+B.componentOffset]),()=>(z_(n,i,m,B,c),au))}return z_(n,i,m,B,c),au}function z_(n,i,s,c,m){if(zu(c,s,n,i,Wh),(0,p.yoD)(c)){const b=s[p.eDl];Ku(b,s,c),nr(b,c,s)}null!=m&&tc(s,c)}function Ed(){const n=(0,p.klJ)(),s=Qu((0,p.Mx4)());return n.firstCreatePass&&Yf(n,s),(0,p.UhH)(s)&&(0,p.krE)(),(0,p.N79)(),null!=s.classesWithoutHost&&function bi(n){return!!(8&n.flags)}(s)&&Fh(n,s,(0,p.OAn)(),s.classesWithoutHost,!0),null!=s.stylesWithoutHost&&function Fi(n){return!!(16&n.flags)}(s)&&Fh(n,s,(0,p.OAn)(),s.stylesWithoutHost,!1),Ed}function Bh(n,i,s,c){return au(n,i,s,c),Ed(),Bh}function Od(n,i,s,c){const m=(0,p.OAn)(),b=m[p.eDl],T=n+p.Yw1,B=b.firstCreatePass?em(T,b,2,i,s,c):b.data[T];return zu(B,m,n,i,Wh),null!=c&&tc(m,B),Od}function wd(){const i=Qu((0,p.Mx4)());return(0,p.UhH)(i)&&(0,p.krE)(),(0,p.N79)(),wd}function Uh(n,i,s,c){return Od(n,i,s,c),wd(),Uh}let Wh=(n,i,s,c,m)=>((0,p.m7n)(!0),Ql(i[p.GpT],c,(0,p.UaU)()));function Td(n,i,s){const c=(0,p.OAn)(),m=c[p.eDl],b=n+p.Yw1,T=m.firstCreatePass?Kf(b,c,8,"ng-container",Pf,(0,p.ckz)(),i,s):m.data[b];if(zu(T,c,n,"ng-container",Hh),(0,p.yoD)(T)){const B=c[p.eDl];Ku(B,c,T),nr(B,T,c)}return null!=s&&tc(c,T),Td}function lu(){const n=(0,p.klJ)(),s=Qu((0,p.Mx4)());return n.firstCreatePass&&Yf(n,s),lu}function Vh(n,i,s){return Td(n,i,s),lu(),Vh}function Gh(n,i,s){const c=(0,p.OAn)(),m=c[p.eDl],b=n+p.Yw1,T=m.firstCreatePass?em(b,m,8,"ng-container",i,s):m.data[b];return zu(T,c,n,"ng-container",Hh),null!=s&&tc(c,T),Gh}function Q_(){return Qu((0,p.Mx4)()),lu}let Hh=(n,i,s,c,m)=>((0,p.m7n)(!0),Pc(i[p.GpT],""));function J_(){return(0,p.OAn)()}function $h(n,i,s){const c=(0,p.OAn)();return Es(c,(0,p.xbp)(),i)&&((0,p.klJ)(),If((0,p.CpD)(),c,n,i,c[p.GpT],s)),$h}function Kh(n,i,s){const c=(0,p.OAn)();if(Es(c,(0,p.xbp)(),i)){const b=(0,p.klJ)(),T=(0,p.CpD)();If(T,c,n,i,ug((0,p.MT)(b.data),T,c),s)}return Kh}const cu=void 0;var kD=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],cu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],cu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202fa","h:mm:ss\u202fa","h:mm:ss\u202fa z","h:mm:ss\u202fa zzzz"],["{1}
1, {0}",cu,cu,cu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function SD(n){const i=Math.floor(Math.abs(n)),s=n.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===s?1:5}];let mc={};function Yh(n){const i=function RD(n){return n.toLowerCase().replace(/_/g,"-")}(n);let s=Z_(i);if(s)return s;const c=i.split("-")[0];if(s=Z_(c),s)return s;if("en"===c)return kD;throw new p.buA(701,!1)}function q_(n){return Yh(n)[_c.PluralCase]}function Z_(n){return n in mc||(mc[n]=p.laP.ng&&p.laP.ng.common&&p.laP.ng.common.locales&&p.laP.ng.common.locales[n]),mc[n]}var _c=function(n){return n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencyCode=15]="CurrencyCode",n[n.CurrencySymbol=16]="CurrencySymbol",n[n.CurrencyName=17]="CurrencyName",n[n.Currencies=18]="Currencies",n[n.Directionality=19]="Directionality",n[n.PluralCase=20]="PluralCase",n[n.E
vendor: 7,546 bytes, line 1
1xtraData=21]="ExtraData",n}(_c||{});const AD=["zero","one","two","few","many"],zh="en-US",Id={marker:"element"},Pd={marker:"ICU"};var aa=function(n){return n[n.SHIFT=2]="SHIFT",n[n.APPEND_EAGERLY=1]="APPEND_EAGERLY",n[n.COMMENT=2]="COMMENT",n}(aa||{});let e0=zh;function ND(n){"string"==typeof n&&(e0=n.toLowerCase().replace(/_/g,"-"))}let uu=0,du=0;let fu=(n,i,s,c)=>((0,p.m7n)(!0),function t0(n,i,s){const c=n[p.GpT];switch(s){case Node.COMMENT_NODE:return Pc(c,i);case Node.TEXT_NODE:return Ic(c,i);case Node.ELEMENT_NODE:return Ql(c,i,null)}}(n,s,c));function n0(n,i,s,c){const m=s[p.GpT];let T,b=null;for(let B=0;B<i.length;B++){const Y=i[B];if("string"==typeof Y){const Se=i[++B];null===s[Se]&&(s[Se]=fu(s,0,Y,Node.TEXT_NODE))}else if("number"==typeof Y)switch(1&Y){case 0:const Se=Ig(Y);let Ue,mt;if(null===b&&(b=Se,T=m.parentNode(c)),Se===b?(Ue=c,mt=T):(Ue=null,mt=(0,p.IvY)(s[Se])),null!==mt){const Jn=Pg(Y);Ya(m,mt,s[Jn],Ue,!1);const ji=$c(n,Jn);if(null!==ji&&"object"==typeof ji){const Yn=nd(ji,s);null!==Yn&&n0(n,ji.create[Yn],s,s[ji.anchorIdx])}}break;case 1:const en=i[++B],_n=i[++B];Yu(m,(0,p.vaC)(Y>>>1,s),null,null,en,_n,null)}else switch(Y){case Pd:const Se=i[++B],Ue=i[++B];null===s[Ue]&&_o(s[Ue]=fu(s,0,Se,Node.COMMENT_NODE),s);break;case Id:const mt=i[++B],Kt=i[++B];null===s[Kt]&&_o(s[Kt]=fu(s,0,mt,Node.ELEMENT_NODE),s)}}}function i0(n,i,s,c,m){for(let b=0;b<s.length;b++){const T=s[b],B=s[++b];if(T&m){let Y="";for(let Se=b+1;Se<=b+B;Se++){const Ue=s[Se];if("string"==typeof Ue)Y+=Ue;else if("number"==typeof Ue)if(Ue<0)Y+=(0,p.eFE)(i[c-Ue]);else{const mt=Ue>>>2;switch(3&Ue){case 1:const Kt=s[++Se],en=s[++Se],_n=n.data[mt];"string"==typeof _n?Yu(i[p.GpT],i[mt],null,_n,Kt,Y,en):Tf(_n,i,Kt,Y,i[p.GpT],en);break;case 0:const Jn=i[mt];null!==Jn&&Tu(i[p.GpT],Jn,Y);break;case 2:VD(n,$c(n,mt),i,Y);break;case 3:o0(n,$c(n,mt),c,i)}}}}else{const Y=s[b+1];if(Y>0&&!(3&~Y)){const Ue=$c(n,Y>>>2);i[Ue.currentCaseLViewIndex]<0&&o0(n,Ue,c,i)}}b+=B}}function o0(n,i,s,c){let m=c[i.currentCaseLViewIndex];if(null!==m){let b=uu;m<0&&(m=c[i.currentCaseLViewIndex]=~m,b=-1),i0(n,c,i.update[m],s,b)}}function VD(n,i,s,c){const m=function GD(n,i){let s=n.cases.indexOf(i);if(-1===s)switch(n.type){case 1:{const c=function LD(n,i){const s=q_(i)(parseInt(n,10)),c=AD[s];return void 0!==c?c:"other"}(i,function jD(){return e0}());s=n.cases.indexOf(c),-1===s&&"other"!==c&&(s=n.cases.indexOf("other"));break}case 0:s=n.cases.indexOf("other")}return-1===s?null:s}(i,c);if(nd(i,s)!==m&&(s0(n,i,s),s[i.currentCaseLViewIndex]=null===m?null:~m,null!==m)){const T=s[i.anchorIdx];T&&n0(n,i.create[m],s,T)}}function s0(n,i,s){let c=nd(i,s);if(null!==c){const m=i.remove[c];for(let b=0;b<m.length;b++){const T=m[b];if(T>0){const B=(0,p.vaC)(T,s);null!==B&&Cl(s[p.GpT],B)}else s0(n,$c(n,~T),s)}}}const Sd=/\ufffd(\d+):?\d*\ufffd/gi,HD=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,$D=/\ufffd(\d+)\ufffd/,a0=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,KD=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,YD=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,zD=/\uE500/g;function l0(n,i,s,c,m,b,T){const B=ul(n,c,1,null);let Y=B<<aa.SHIFT,Se=(0,p.Ab)();i===Se&&(Se=null),null===Se&&(Y|=aa.APPEND_EAGERLY),T&&(Y|=aa.COMMENT,function za(n){void 0===oa&&(oa=n())}(yv)),m.push(Y,null===b?"":b);const Ue=Nf(n,B,T?32:1,null===b?"":b,null);wg(s,Ue);const mt=Ue.index;return(0,p.iMd)(Ue,!1),null!==Se&&i!==Se&&function gv(n,i){let s=n.insertBeforeIndex;null===s?(ig(Eg,Og),s=n.insertBeforeIndex=[null,i]):((0,p.Xln)(Array.isArray(s),!0,"Expecting array here"),s.push(i))}(Se,mt),Ue}function JD(n,i,s,c,m,b,T,B){const Y=B.match(Sd),Ue=l0(i,s,c,T,m,Y?null:B,!1).index;Y&&kd(b,B,Ue,null,0,null),n.push({kind:0,index:Ue})}function kd(n,i,s,c,m,b){const T=n.length,B=T+1;n.push(null,null);const Y=T+2,Se=i.split(Sd);let Ue=0;for(let mt=0;mt<Se.length;mt++){const Kt=Se[mt];if(1&mt){const en=m+parseInt(Kt,10);n.push(-1-en),Ue|=c0(en)}else""!==Kt&&n.push(Kt)}return n.push(s<<2|(c?1:0)),c&&n.push(c,b),n[T]=Ue,n[B]=n.length-Y,Ue}function ZD(n){let i=0;for(let s=0;s<n.length;s++){const c=n[s];"number"==typeof c&&c<0&&i++}return i}function c0(n){return 1<<Math.min(n,31)}function u0(n){let i,b,s="",c=0,m=!1;for(;null!==(i=KD.exec(n));)m?i[0]===`\ufffd/*${b}\ufffd`&&(c=i.index,m=!1):(s+=n.substring(c,i.index+i[0].length),b=i[1],m=!0);return s+=n.slice(c),s}function d0(n,i,s,c,m,b,T){let B=0;const Y={type:b.type,currentCaseLViewIndex:ul(i,s,1,null),anchorIdx:T,cases:[],create:[],remove:[],update:[]};(function oE(n,i,s){n.push(c0(i.mainBinding),2,-1-i.mainBinding,s<<2|2)})(c,b,T),function pv(n,i,s){const c=n.data[i];null===c?n.data[i]=s:c.value=s}(i,T,Y);const Se=b.values,Ue=[];for(let mt=0;mt<Se.length;mt++){const Kt=Se[mt],en=[];for(let Jn=0;Jn<Kt.length;Jn++){const pi=Kt[Jn];if("string"!=typeof pi){const ji=en.push(pi)-1;Kt[Jn]=`\x3c!--\ufffd${ji}\ufffd--\x3e`}}const _n=[];Ue.push(_n),B=nE(_n,i,Y,s,c,m,b.cases[mt],Kt.join(""),en)|B}B&&function sE(n,i,s){n.push(i,1,s<<2|3)}(c,B,T),n.push({kind:3,index:T,cases:Ue,currentCaseLViewIndex:Y.currentCaseLViewIndex})}function tE(n){const i=[],s=[];let c=1,m=0;const b=Qh(n=n.replace(a0,function(T,B,Y){return c="select"===Y?0:1,m=parseInt(B.slice(1),10),""}));for(let T=0;T<b.length;){let B=b[T++].trim();1===c&&(B=B.replace(/\s*(?:=)?(\w+)\s*/,"$1")),B.length&&i.push(B);const Y=Qh(b[T++]);i.length>s.length&&s.push(Y)}return{type:c,mainBinding:m,cases:i,values:s}}function Qh(n){if(!n)return[];let i=0;const s=[],c=[],m=/[{}]/g;let b;for(m.lastIndex=0;b=m.exec(n);){const B=b.index;if("}"==b[0]){if(s.pop(),0==s.length){const Y=n.substring(i,B);a0.test(Y)?c.push(tE(Y)):c.push(Y),i=B+1}}else{if(0==s.length){const Y=n.substring(i,B);c.push(Y),i=B+1}s.push("{")}}const T=n.substring(i);return c.push(T),c}function nE(n,i,s,c,m,b,T,B,Y){const Se=[],Ue=[],mt=[];s.cases.push(T),s.create.push(Se),s.remove.push(Ue),s.update.push(mt);const en=rs(Os()).getInertBodyElement(B),_n=wc(en)||en;return _n?f0(n,i,s,c,m,Se,Ue,mt,_n,b,Y,0):0}function f0(n,i,s,c,m,b,T,B,Y,Se,Ue,mt){let Kt=0,en=Y.firstChild;for(;en;){const _n=ul(i,c,1,null);switch(en.nodeType){case Node.ELEMENT_NODE:const Jn=en,pi=Jn.tagName.toLowerCase();if(Mc.hasOwnProperty(pi)){Xh(b,Id,pi,Se,_n),i.data[_n]=pi;const Br=Jn.attributes;for(let sl=0;sl<Br.length;sl++){const $l=Br.item(sl),Ud=$l.name.toLowerCase();$l.value.match(Sd)?Ec.hasOwnProperty(Ud)&&kd(B,$l.value,_n,$l.name,0,Oc[Ud]?vl:null):Ec[Ud]&&p0(b,_n,$l.name,Oc[Ud]?"unsafe:blocked":$l.value)}const ks={kind:1,index:_n,children:[]};n.push(ks),Kt=f0(ks.children,i,s,c,m,b,T,B,en,_n,Ue,mt+1)|Kt,h0(T,_n,mt)}break;case Node.TEXT_NODE:const ji=en.textContent||"",Yn=ji.match(Sd);Xh(b,null,Yn?"":ji,Se,_n),h0(T,_n,mt),Yn&&(Kt=kd(B,ji,_n,null,0,null)|Kt),n.push({kind:0,index:_n});break;case Node.COMMENT_NODE:const Wo=$D.exec(en.textContent||"");if(Wo){const ks=Ue[parseInt(Wo[1],10)];Xh(b,Pd,"",Se,_n),d0(n,i,c,m,Se,ks,_n),iE(T,_n,mt)}}en=en.nextSibling}return Kt}function h0(n,i,s){0===s&&n.push(i)}function iE(n,i,s){0===s&&(n.push(~i),n.push(i))}function Xh(n,i,s,c,m){null!==i&&n.push(i),n.push(s,m,function _v(n,i,s){return n|i<<17|s<<1}(0,c,m))}function p0(n,i,s,c){n.push(i<<1|1,s,c)}const rE=/\[(\ufffd.+?\ufffd?)\]/,aE=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,lE=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,cE=/{([A-Z0-9_]+)}/g,uE=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,dE=/\/\*/,fE=/\d+\:(\d+)/;function m0(n,i,s=-1){const c=(0,p.klJ)(),m=(0,p.OAn)(),b=p.Yw1+n,T=(0,p.db4)(c.consts,i),B=(0,p.Ab)();c.firstCreatePass&&function XD(n,i,s,c,m,b){const T=(0,p.Ab)(),B=[],Y=[],Se=[[]],Ue=[[]];
vendor: 4,293 bytes, line 1
1m=function eE(n,i){if(function kg(n){return-1===n}(i))return u0(n);{const s=n.indexOf(`:${i}\ufffd`)+2+i.toString().length,c=n.search(new RegExp(`\ufffd\\/\\*\\d+:${i}\ufffd`));return u0(n.substring(s,c))}}(m,b);const mt=function QD(n){return n.replace(zD," ")}(m).split(YD);for(let Kt=0;Kt<mt.length;Kt++){let en=mt[Kt];if(1&Kt){const _n=47===en.charCodeAt(0),Jn=en.charCodeAt(_n?1:0),pi=p.Yw1+Number.parseInt(en.substring(_n?2:1));if(_n)Se.shift(),Ue.shift(),(0,p.iMd)((0,p.Ab)(),!1);else{const ji=mv(n,Se[0],pi);Se.unshift([]),(0,p.iMd)(ji,!0);const Yn={kind:2,index:pi,children:[],type:35===Jn?0:1};Ue[0].push(Yn),Ue.unshift(Yn.children)}}else{const _n=Qh(en);for(let Jn=0;Jn<_n.length;Jn++){let pi=_n[Jn];if(1&Jn){const ji=pi;if("object"!=typeof ji)throw new Error(`Unable to parse ICU expression in "${m}" message.`);const Wo=l0(n,T,Se[0],s,B,"",!0).index;d0(Ue[0],n,s,Y,i,ji,Wo)}else""!==pi&&JD(Ue[0],n,T,Se[0],B,Y,s,pi)}}}n.data[c]={create:B,update:Y,ast:Ue[0],parentTNodeIndex:i}}(c,null===B?0:B.index,m,b,T,s),2===c.type?m[p.b5C][p.Wg1]|=32:m[p.Wg1]|=32;const Y=c.data[b],Ue=Zp(c,B===m[p.qlT]?null:B,m);(function WD(n,i,s,c){const m=n[p.GpT];for(let b=0;b<i.length;b++){const T=i[b++],Se=(T&aa.APPEND_EAGERLY)===aa.APPEND_EAGERLY,Ue=T>>>aa.SHIFT;let mt=n[Ue],Kt=!1;null===mt&&(mt=n[Ue]=fu(n,0,i[b],(T&aa.COMMENT)===aa.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),Kt=(0,p.SX7)()),Se&&null!==s&&Kt&&Ya(m,s,mt,c,!1)}})(m,Y.create,Ue,B&&8&B.type?m[B.index]:null),(0,p.xyx)(!0)}function _0(){(0,p.xyx)(!1)}function Jh(n,i,s){const c=(0,p.OAn)(),m=(0,p.klJ)(),b=(0,p.Mx4)();return Zh(m,c,c[p.GpT],b,n,i,s),Jh}function qh(n,i,s){const c=(0,p.OAn)(),m=(0,p.klJ)(),b=(0,p.Mx4)();return(3&b.type||s)&&Qf(b,m,c,s,c[p.GpT],n,i,fl(b,c,i)),qh}function Zh(n,i,s,c,m,b,T){let B=!0,Y=null;if((3&c.type||T)&&(Y??=fl(c,i,b),Qf(c,n,i,T,s,m,b,Y)&&(B=!1)),B){const Se=c.outputs?.[m],Ue=c.hostDirectiveOutputs?.[m];if(Ue&&Ue.length)for(let mt=0;mt<Ue.length;mt+=2){const Kt=Ue[mt],en=Ue[mt+1];Y??=fl(c,i,b),cc(c,i,Kt,en,m,Y)}if(Se&&Se.length)for(const mt of Se)Y??=fl(c,i,b),cc(c,i,mt,m,m,Y)}}function v0(n=1){return(0,p.jvu)(n)}function yE(n,i){let s=null;const c=function ao(n){const i=n.attrs;if(null!=i){const s=i.indexOf(5);if(!(1&s))return i[s+1]}return null}(n);for(let m=0;m<i.length;m++){const b=i[m];if("*"!==b){if(null===c?Vi(n,b,!0):ir(c,b))return m}else s=m}return s}function C0(n){const i=(0,p.OAn)()[p.b5C][p.qlT];if(!i.projection){const c=i.projection=(0,p.WfI)(n?n.length:1,null),m=c.slice();let b=i.child;for(;null!==b;){if(128!==b.type){const T=n?yE(b,n):0;null!==T&&(m[T]?m[T].projectionNext=b:c[T]=b,m[T]=b)}b=b.next}}}function M0(n,i=0,s,c,m,b){const T=(0,p.OAn)(),B=(0,p.klJ)(),Y=c?n+1:null;null!==Y&&Fl(T,B,Y,c,m,b,null,s);const Se=Rl(B,p.Yw1+n,16,null,s||null);null===Se.projection&&(Se.projection=i),(0,p.Pfq)();const mt=!T[p.tcA]||(0,p.KtD)();null===T[p.b5C][p.qlT].projection[Se.projection]&&null!==Y?function bE(n,i,s){const c=p.Yw1+s,m=i.data[c],b=n[c];oc(b,nc(n,m,void 0,{dehydratedView:null}),0,kl(m,null))}(T,B,Y):mt&&!Zs(Se)&&function Eb(n,i,s){sg(i[p.GpT],0,i,s,Mf(n,s,i),eg(s.parent||i[p.qlT],s,i))}(B,T,Se)}function ep(n,i,s,c){return Mm(n,i,s,c),ep}function tp(n,i,s){return Cm(n,i,s),tp}function D0(n){const i=(0,p.OAn)(),s=(0,p.klJ)(),c=(0,p.w7Z)();(0,p.GA0)(c+1);const m=rh(s,c);if(n.dirty&&(0,p.vOT)(i)===!(2&~m.metadata.flags)){if(null===m.matches)n.reset([]);else{const b=Em(i,c);n.reset(b,ho),n.notifyOnChanges()}return!0}return!1}function E0(){return sh((0,p.OAn)(),(0,p.w7Z)())}function np(n,i,s,c,m){return Om(i,Mm(n,s,c,m)),np}function ip(n,i,s,c){return Om(n,Cm(i,s,c)),ip}function O0(n=1){(0,p.GA0)((0,p.w7Z)()+n)}function w0(n){const i=(0,p.VPL)();return(0,p.Hh6)(i,p.Yw1+n)}function Rd(n,i){return n<<17|i<<2}function Gl(n){return n>>17&32767}function op(n){return 2|n}function yc(n){return(131068&n)>>2}function sp(n,i){return-131069&n|i<<2}function rp(n){return 1|n}function T0(n,i,s,c){const m=n[s+1],b=null===i;let T=c?Gl(m):yc(m),B=!1;for(;0!==T&&(!1===B||b);){const Se=n[T+1];OE(n[T],i)&&(B=!0,n[T+1]=c?rp(Se):op(Se)),T=c?Gl(Se):yc(Se)}B&&(n[s+1]=c?op(m):rp(m))}function OE(n,i){return null===n||null==i||(Array.isArray(n)?n[1]:n)===i||!(!Array.isArray(n)||"string"!=typeof i)&&(0,p.FRF)(n,i)>=0}const fr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
vendor: 4,478 bytes, line 1
1;function I0(n){return n.substring(fr.key,fr.keyEnd)}function wE(n){return n.substring(fr.value,fr.valueEnd)}function P0(n,i){const s=fr.textEnd;return s===i?-1:(i=fr.keyEnd=function PE(n,i,s){for(;i<s&&n.charCodeAt(i)>32;)i++;return i}(n,fr.key=i,s),bc(n,i,s))}function S0(n,i){const s=fr.textEnd;let c=fr.key=bc(n,i,s);return s===c?-1:(c=fr.keyEnd=function SE(n,i,s){let c;for(;i<s&&(45===(c=n.charCodeAt(i))||95===c||(-33&c)>=65&&(-33&c)<=90||c>=48&&c<=57);)i++;return i}(n,c,s),c=R0(n,c,s),c=fr.value=bc(n,c,s),c=fr.valueEnd=function kE(n,i,s){let c=-1,m=-1,b=-1,T=i,B=T;for(;T<s;){const Y=n.charCodeAt(T++);if(59===Y)return B;34===Y||39===Y?B=T=A0(n,Y,T,s):i===T-4&&85===b&&82===m&&76===c&&40===Y?B=T=A0(n,41,T,s):Y>32&&(B=T),b=m,m=c,c=-33&Y}return B}(n,c,s),R0(n,c,s))}function k0(n){fr.key=0,fr.keyEnd=0,fr.value=0,fr.valueEnd=0,fr.textEnd=n.length}function bc(n,i,s){for(;i<s&&n.charCodeAt(i)<=32;)i++;return i}function R0(n,i,s,c){return(i=bc(n,i,s))<s&&i++,i}function A0(n,i,s,c){let m=-1,b=s;for(;b<c;){const T=n.charCodeAt(b++);if(T==i&&92!==m)return b;m=92==T&&92===m?0:T}throw new Error}function ap(n,i,s){return N0(n,i,s,!1),ap}function lp(n,i){return N0(n,i,null,!0),lp}function L0(n){j0(U0,RE,n,!1)}function RE(n,i){for(let s=function IE(n){return k0(n),S0(n,bc(n,0,fr.textEnd))}(i);s>=0;s=S0(i,s))U0(n,I0(i),wE(i))}function x0(n){j0(BE,AE,n,!0)}function AE(n,i){for(let s=function TE(n){return k0(n),P0(n,bc(n,0,fr.textEnd))}(i);s>=0;s=P0(i,s))(0,p.ezK)(n,I0(i),!0)}function N0(n,i,s,c){const m=(0,p.OAn)(),b=(0,p.klJ)(),T=(0,p.b$O)(2);b.firstUpdatePass&&B0(b,n,T,c),i!==co&&Es(m,T,i)&&W0(b,b.data[(0,p._px)()],m,m[p.GpT],n,m[T+1]=function WE(n,i){return null==n||""===n||("string"==typeof i?n+=i:"object"==typeof n&&(n=(0,p.AsM)(L(n)))),n}(i,s),c,T)}function j0(n,i,s,c){const m=(0,p.klJ)(),b=(0,p.b$O)(2);m.firstUpdatePass&&B0(m,null,b,c);const T=(0,p.OAn)();if(s!==co&&Es(T,b,s)){const B=m.data[(0,p._px)()];if(G0(B,c)&&!F0(m,b)){let Y=c?B.classesWithoutHost:B.stylesWithoutHost;null!==Y&&(s=(0,p.n$e)(Y,s||"")),Fh(m,B,T,s,c)}else!function UE(n,i,s,c,m,b,T,B){m===co&&(m=p.Mlv);let Y=0,Se=0,Ue=0<m.length?m[0]:null,mt=0<b.length?b[0]:null;for(;null!==Ue||null!==mt;){const Kt=Y<m.length?m[Y+1]:void 0,en=Se<b.length?b[Se+1]:void 0;let Jn,_n=null;Ue===mt?(Y+=2,Se+=2,Kt!==en&&(_n=mt,Jn=en)):null===mt||null!==Ue&&Ue<mt?(Y+=2,_n=Ue):(Se+=2,_n=mt,Jn=en),null!==_n&&W0(n,i,s,c,_n,Jn,T,B),Ue=Y<m.length?m[Y]:null,mt=Se<b.length?b[Se]:null}}(m,B,T,T[p.GpT],T[b+1],T[b+1]=function FE(n,i,s){if(null==s||""===s)return p.Mlv;const c=[],m=L(s);if(Array.isArray(m))for(let b=0;b<m.length;b++)n(c,m[b],!0);else if(m instanceof Set)for(const b of m)n(c,b,!0);else if("object"==typeof m)for(const b in m)m.hasOwnProperty(b)&&n(c,b,m[b]);else"string"==typeof m&&i(c,m);return c}(n,i,s),c,b)}}function F0(n,i){return i>=n.expandoStartIndex}function B0(n,i,s,c){const m=n.data;if(null===m[s+1]){const b=m[(0,p._px)()],T=F0(n,s);G0(b,c)&&null===i&&!T&&(i=!1),i=function LE(n,i,s,c){const m=(0,p.MT)(n);let b=c?i.residualClasses:i.residualStyles;if(null===m)0===(c?i.classBindings:i.styleBindings)&&(s=pu(s=cp(null,n,i,s,c),i.attrs,c),b=null);else{const T=i.directiveStylingLast;if(-1===T||n[T]!==m)if(s=cp(m,n,i,s,c),null===b){let Y=function xE(n,i,s){const c=s?i.classBindings:i.styleBindings;if(0!==yc(c))return n[Gl(c)]}(n,i,c);void 0!==Y&&Array.isArray(Y)&&(Y=cp(null,n,i,Y[1],c),Y=pu(Y,i.attrs,c),function NE(n,i,s,c){n[Gl(s?i.classBindings:i.styleBindings)]=c}(n,i,c,Y))}else b=function jE(n,i,s){let c;const m=i.directiveEnd;for(let b=1+i.directiveStylingLast;b<m;b++)c=pu(c,n[b].hostAttrs,s);return pu(c,i.attrs,s)}(n,i,c)}return void 0!==b&&(c?i.residualClasses=b:i.residualStyles=b),s}(m,b,i,c),function DE(n,i,s,c,m,b){let T=b?i.classBindings:i.styleBindings,B=Gl(T),Y=yc(T);n[c]=s;let Ue,Se=!1;if(Array.isArray(s)?(Ue=s[1],(null===Ue||(0,p.FRF)(s,Ue)>0)&&(Se=!0)):Ue=s,m)if(0!==Y){const Kt=Gl(n[B+1]);n[c+1]=Rd(Kt,B),0!==Kt&&(n[Kt+1]=sp(n[Kt+1],c)),n[B+1]=function CE(n,i){return 131071&n|i<<17}(n[B+1],c)}else n[c+1]=Rd(B,0),0!==B&&(n[B+1]=sp(n[B+1],c)),B=c;else n[c+1]=Rd(Y,0),0===B?B=c:n[Y+1]=sp(n[Y+1],c),Y=c;Se&&(n[c+1]=op(n[c+1])),T0(n,Ue,c,!0),T0(n,Ue,c,!1),function EE(n,i,s,c,m){const b=m?n.residualClasses:n.residualStyles;null!=b&&"string"==typeof i&&(0,p.FRF)(b,i)>=0&&(s[c+1]=rp(s[c+1]))}(i,Ue,n,c,b),T=Rd(B,Y),b?i.classBindings=T:i.styleBindings=T}(m,b,i,s,T,c)}}function cp(n,i,s,c,m){let b=null;const T=s.directiveEnd;let B=s.directiveStylingLast;
vendor: 11,915 bytes, line 1
1for(-1===B?B=s.directiveStart:B++;B<T&&(b=i[B],c=pu(c,b.hostAttrs,m),b!==n);)B++;return null!==n&&(s.directiveStylingLast=B),c}function pu(n,i,s){const c=s?1:2;let m=-1;if(null!==i)for(let b=0;b<i.length;b++){const T=i[b];"number"==typeof T?m=T:m===c&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),(0,p.ezK)(n,T,!!s||i[++b]))}return void 0===n?null:n}function U0(n,i,s){(0,p.ezK)(n,i,L(s))}function BE(n,i,s){const c=String(i);""!==c&&!c.includes(" ")&&(0,p.ezK)(n,c,s)}function W0(n,i,s,c,m,b,T,B){if(!(3&i.type))return;const Y=n.data,Se=Y[B+1],Ue=function ME(n){return!(1&~n)}(Se)?V0(Y,i,s,m,yc(Se),T):void 0;Ad(Ue)||(Ad(b)||function vE(n){return!(2&~n)}(Se)&&(b=V0(Y,null,s,m,B,T)),function wb(n,i,s,c,m){if(i)m?n.addClass(s,c):n.removeClass(s,c);else{let b=-1===c.indexOf("-")?void 0:Ls.DashCase;null==m?n.removeStyle(s,c,b):("string"==typeof m&&m.endsWith("!important")&&(m=m.slice(0,-10),b|=Ls.Important),n.setStyle(s,c,m,b))}}(c,T,(0,p.vaC)((0,p._px)(),s),m,b))}function V0(n,i,s,c,m,b){const T=null===i;let B;for(;m>0;){const Y=n[m],Se=Array.isArray(Y),Ue=Se?Y[1]:Y,mt=null===Ue;let Kt=s[m+1];Kt===co&&(Kt=mt?p.Mlv:void 0);let en=mt?(0,p.K7h)(Kt,c):Ue===c?Kt:void 0;if(Se&&!Ad(en)&&(en=(0,p.K7h)(Y,c)),Ad(en)&&(B=en,T))return B;const _n=n[m+1];m=T?Gl(_n):yc(_n)}if(null!==i){let Y=b?i.residualClasses:i.residualStyles;null!=Y&&(B=(0,p.K7h)(Y,c))}return B}function Ad(n){return void 0!==n}function G0(n,i){return!!(n.flags&(i?8:16))}function H0(n,i=""){const s=(0,p.OAn)(),c=(0,p.klJ)(),m=n+p.Yw1,b=c.firstCreatePass?Rl(c,m,1,i,null):c.data[m],T=$0(c,s,b,i);s[m]=T,(0,p.SX7)()&&Ef(c,s,T,b),(0,p.iMd)(b,!1)}let $0=(n,i,s,c)=>((0,p.m7n)(!0),Ic(i[p.GpT],c));function K0(n,i){let s=!1,c=(0,p.c$7)();for(let b=1;b<i.length;b+=2)s=Es(n,c++,i[b])||s;if((0,p.Kw3)(c),!s)return co;let m=i[0];for(let b=1;b<i.length;b+=2)m+=(0,p.eFE)(i[b])+(b+1!==i.length?i[b+1]:"");return m}function Y0(n,i,s,c=""){return Es(n,(0,p.xbp)(),s)?i+(0,p.eFE)(s)+c:co}function z0(n,i,s,c,m,b=""){const B=xl(n,(0,p.c$7)(),s,m);return(0,p.b$O)(2),B?i+(0,p.eFE)(s)+c+(0,p.eFE)(m)+b:co}function Q0(n,i,s,c,m,b,T,B=""){const Se=cd(n,(0,p.c$7)(),s,m,T);return(0,p.b$O)(3),Se?i+(0,p.eFE)(s)+c+(0,p.eFE)(m)+b+(0,p.eFE)(T)+B:co}function X0(n,i,s,c,m,b,T,B,Y,Se=""){const mt=La(n,(0,p.c$7)(),s,m,T,Y);return(0,p.b$O)(4),mt?i+(0,p.eFE)(s)+c+(0,p.eFE)(m)+b+(0,p.eFE)(T)+B+(0,p.eFE)(Y)+Se:co}function J0(n,i,s,c,m,b,T,B,Y,Se,Ue,mt=""){const Kt=(0,p.c$7)();let en=La(n,Kt,s,m,T,Y);return en=Es(n,Kt+4,Ue)||en,(0,p.b$O)(5),en?i+(0,p.eFE)(s)+c+(0,p.eFE)(m)+b+(0,p.eFE)(T)+B+(0,p.eFE)(Y)+Se+(0,p.eFE)(Ue)+mt:co}function q0(n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt,en=""){const _n=(0,p.c$7)();let Jn=La(n,_n,s,m,T,Y);return Jn=xl(n,_n+4,Ue,Kt)||Jn,(0,p.b$O)(6),Jn?i+(0,p.eFE)(s)+c+(0,p.eFE)(m)+b+(0,p.eFE)(T)+B+(0,p.eFE)(Y)+Se+(0,p.eFE)(Ue)+mt+(0,p.eFE)(Kt)+en:co}function Z0(n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt,en,_n,Jn=""){const pi=(0,p.c$7)();let ji=La(n,pi,s,m,T,Y);return ji=cd(n,pi+4,Ue,Kt,_n)||ji,(0,p.b$O)(7),ji?i+(0,p.eFE)(s)+c+(0,p.eFE)(m)+b+(0,p.eFE)(T)+B+(0,p.eFE)(Y)+Se+(0,p.eFE)(Ue)+mt+(0,p.eFE)(Kt)+en+(0,p.eFE)(_n)+Jn:co}function ey(n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt,en,_n,Jn,pi,ji=""){const Yn=(0,p.c$7)();let Wo=La(n,Yn,s,m,T,Y);return Wo=La(n,Yn+4,Ue,Kt,_n,pi)||Wo,(0,p.b$O)(8),Wo?i+(0,p.eFE)(s)+c+(0,p.eFE)(m)+b+(0,p.eFE)(T)+B+(0,p.eFE)(Y)+Se+(0,p.eFE)(Ue)+mt+(0,p.eFE)(Kt)+en+(0,p.eFE)(_n)+Jn+(0,p.eFE)(pi)+ji:co}function up(n){return Ld("",n),up}function Ld(n,i,s){const c=(0,p.OAn)(),m=Y0(c,n,i,s);return m!==co&&ol(c,(0,p._px)(),m),Ld}function dp(n,i,s,c,m){const b=(0,p.OAn)(),T=z0(b,n,i,s,c,m);return T!==co&&ol(b,(0,p._px)(),T),dp}function fp(n,i,s,c,m,b,T){const B=(0,p.OAn)(),Y=Q0(B,n,i,s,c,m,b,T);return Y!==co&&ol(B,(0,p._px)(),Y),fp}function hp(n,i,s,c,m,b,T,B,Y){const Se=(0,p.OAn)(),Ue=X0(Se,n,i,s,c,m,b,T,B,Y);return Ue!==co&&ol(Se,(0,p._px)(),Ue),hp}function ol(n,i,s){const c=(0,p.vaC)(i,n);Tu(n[p.GpT],c,s)}function pp(n,i,s){a_(i)&&(i=i());const c=(0,p.OAn)();return Es(c,(0,p.xbp)(),i)&&((0,p.klJ)(),Tf((0,p.CpD)(),c,n,i,c[p.GpT],s)),pp}function ry(n,i){const s=a_(n);return s&&n.set(i),s}function gp(n,i){const s=(0,p.OAn)(),c=(0,p.klJ)(),m=(0,p.Mx4)();return Zh(c,s,s[p.GpT],m,n,i),gp}const ay={};function mp(n){jr("NgLet");const i=(0,p.klJ)(),s=(0,p.OAn)(),c=n+p.Yw1,m=Rl(i,c,128,null,null);return(0,p.iMd)(m,!1),(0,p.M_e)(i,s,c,ay),mp}function ly(n){const i=(0,p.klJ)(),s=(0,p.OAn)(),c=(0,p._px)();return(0,p.M_e)(i,s,c,n),n}function cy(n){const i=(0,p.VPL)(),s=(0,p.Hh6)(i,p.Yw1+n);if(s===ay)throw new p.buA(314,!1);return s}function uy(n){return Es((0,p.OAn)(),(0,p.xbp)(),n)?(0,p.eFE)(n):co}function dy(n,i,s=""){return Y0((0,p.OAn)(),n,i,s)}function fy(n,i,s,c,m=""){return z0((0,p.OAn)(),n,i,s,c,m)}function hy(n,i,s,c,m,b,T=""){return Q0((0,p.OAn)(),n,i,s,c,m,b,T)}function py(n,i,s){const c=(0,p.klJ)();c.firstCreatePass&&gy(i,c.data,c.blueprint,(0,p.JlV)(n),s)}function gy(n,i,s,c,m){if(n=(0,p.nl4)(n),Array.isArray(n))for(let b=0;b<n.length;b++)gy(n[b],i,s,c,m);else{const b=(0,p.klJ)(),T=(0,p.OAn)(),B=(0,p.Mx4)();let Y=(0,p.Y3W)(n)?n:(0,p.nl4)(n.provide);const Se=(0,p.Rc9)(n),Ue=1048575&B.providerIndexes,mt=B.directiveStart,Kt=B.providerIndexes>>20;if((0,p.Y3W)(n)||!n.multi){const en=new rn(Se,m,ac,null),_n=yp(Y,i,m?Ue:Ue+Kt,mt);-1===_n?(zi(Zn(B,T),b,Y),_p(b,n,i.length),i.push(Y),B.directiveStart++,B.directiveEnd++,m&&(B.providerIndexes+=1048576),s.push(en),T.push(en)):(s[_n]=en,T[_n]=en)}else{const en=yp(Y,i,Ue+Kt,mt),_n=yp(Y,i,Ue,Ue+Kt),pi=_n>=0&&s[_n];if(m&&!pi||!m&&!(en>=0&&s[en])){zi(Zn(B,T),b,Y);const ji=function ZE(n,i,s,c,m){const T=new rn(n,s,ac,null);return T.multi=[],T.index=i,T.componentProviders=0,my(T,m,c&&!s),T}(m?qE:JE,s.length,m,c,Se);!m&&pi&&(s[_n].providerFactory=ji),_p(b,n,i.length,0),i.push(Y),B.directiveStart++,B.directiveEnd++,m&&(B.providerIndexes+=1048576),s.push(ji),T.push(ji)}else _p(b,n,en>-1?en:_n,my(s[m?_n:en],Se,!m&&c));!m&&c&&pi&&s[_n].componentProviders++}}}function _p(n,i,s,c){const m=(0,p.Y3W)(i),b=(0,p.MME)(i);if(m||b){const Y=(b?(0,p.nl4)(i.useClass):i).prototype.ngOnDestroy;if(Y){const Se=n.destroyHooks||(n.destroyHooks=[]);if(!m&&i.multi){const Ue=Se.indexOf(s);-1===Ue?Se.push(s,[c,Y]):Se[Ue+1].push(c,Y)}else Se.push(s,Y)}}}function my(n,i,s){return s&&n.componentProviders++,n.multi.push(i)-1}function yp(n,i,s,c){for(let m=s;m<c;m++)if(i[m]===n)return m;return-1}function JE(n,i,s,c,m){return bp(this.multi,[])}function qE(n,i,s,c,m){const b=this.multi;let T;if(this.providerFactory){const B=this.providerFactory.componentProviders,Y=on(c,c[p.eDl],this.providerFactory.index,m);T=Y.slice(0,B),bp(b,T);for(let Se=B;Se<Y.length;Se++)T.push(Y[Se])}else T=[],bp(b,T);return T}function bp(n,i){for(let s=0;s<n.length;s++)i.push((0,n[s])());return i}function _y(n,i){return s=>{s.providersResolver=(c,m)=>py(c,m?m(n):n,!1),i&&(s.viewProvidersResolver=(c,m)=>py(c,m?m(i):i,!0))}}function xd(n){if("function"==typeof n)return n;const i=(0,p.Bqz)(n);return i.some(p.Jzi)?()=>i.map(p.nl4).map(yy):i.map(yy)}function yy(n){return Hf(n)?n.ngModule:n}function by(n,i){const s=(0,p.gxQ)()+n,c=(0,p.OAn)();return c[s]===co?Ua(c,s,i()):lc(c,s)}function vy(n,i,s){return wy((0,p.OAn)(),(0,p.gxQ)(),n,i,s)}function Cy(n,i,s,c){return Ty((0,p.OAn)(),(0,p.gxQ)(),n,i,s,c)}function My(n,i,s,c,m){return Iy((0,p.OAn)(),(0,p.gxQ)(),n,i,s,c,m)}function Dy(n,i,s,c,m,b,T){return Py((0,p.OAn)(),(0,p.gxQ)(),n,i,s,c,m,b)}function Ey(n,i,s,c,m,b,T,B){const Y=(0,p.gxQ)()+n,Se=(0,p.OAn)(),Ue=La(Se,Y,s,c,m,b);return xl(Se,Y+4,T,B)||Ue?Ua(Se,Y+6,i(s,c,m,b,T,B)):lc(Se,Y+6)}function Oy(n,i,s,c,m,b,T,B,Y){const Se=(0,p.gxQ)()+n,Ue=(0,p.OAn)();let mt=La(Ue,Se,s,c,m,b);return cd(Ue,Se+4,T,B,Y)||mt?Ua(Ue,Se+7,i(s,c,m,b,T,B,Y)):lc(Ue,Se+7)}function gu(n,i){const s=n[i];return s===co?void 0:s}function wy(n,i,s,c,m,b){const T=i+s;return Es(n,T,m)?Ua(n,T+1,b?c.call(b,m):c(m)):gu(n,T+1)}function Ty(n,i,s,c,m,b,T){const B=i+s;return xl(n,B,m,b)?Ua(n,B+2,T?c.call(T,m,b):c(m,b)):gu(n,B+2)}function Iy(n,i,s,c,m,b,T,B){const Y=i+s;return cd(n,Y,m,b,T)?Ua(n,Y+3,B?c.call(B,m,b,T):c(m,b,T)):gu(n,Y+3)}function Py(n,i,s,c,m,b,T,B,Y){const Se=i+s;return La(n,Se,m,b,T,B)?Ua(n,Se+4,Y?c.call(Y,m,b,T,B):c(m,b,T,B)):gu(n,Se+4)}function Sy(n,i,s,c,m,b){let T=i+s,B=!1;for(let Y=0;Y<m.length;Y++)Es(n,T++,m[Y])&&(B=!0);return B?Ua(n,T,c.apply(b,m)):gu(n,T)}function ky(n,i){const s=(0,p.klJ)();let c;const m=n+p.Yw1;s.firstCreatePass?(c=function r2(n,i){if(i)for(let s=i.length-1;s>=0;s--){const c=i[s];if(n===c.name)return c}}(i,s.pipeRegistry),s.data[m]=c,c.onDestroy&&(s.destroyHooks??=[]).push(m,c.onDestroy)):c=s.data[m];const b=c.factory||(c.factory=(0,p.wGu)(c.type,!0)),B=(0,p.a2B)(ac);try{const Y=to(!1),Se=b();return to(Y),(0,p.M_e)(s,(0,p.OAn)(),m,Se),Se}finally{(0,p.a2B)(B)}}function Ry(n,i,s){const c=n+p.Yw1,m=(0,p.OAn)(),b=(0,p.Hh6)(m,c);return mu(m,c)?wy(m,(0,p.gxQ)(),i,b.transform,s,b):b.transform(s)}function Ay(n,i,s,c){const m=n+p.Yw1,b=(0,p.OAn)(),T=(0,p.Hh6)(b,m);return mu(b,m)?Ty(b,(0,p.gxQ)(),i,T.transform,s,c,T):T.transform(s,c)}function Ly(n,i,s,c,m){const b=n+p.Yw1,T=(0,p.OAn)(),B=(0,p.Hh6)(T,b);return mu(T,b)?Iy(T,(0,p.gxQ)(),i,B.transform,s,c,m,B):B.transform(s,c,m)}function mu(n,i){return n[p.eDl].data[i].pure}function xy(n,i){return ed(n,i)}function Nd(n,i,s,c,m){const b=m[p.eDl];if(b!==c.tView)for(let T=p.Yw1;T<b.bindingStartIndex;T++){const B=m[T];if((0,p.A0l)(B)){(0,p.q$2)(B[p.jgP])&&Nd(n,i,s,c,B[p.jgP]);for(let Y=p.Y20;Y<B.length;Y++)Nd(n,i,s,c,B[Y])}else(0,p.q$2)(B)&&Nd(n,i,s,c,B)}else!function g2(n,i,s,c,m){const b=m[p.SKP];let T=m[p.jgP];const B=m[p.f7T],Y=m[p.qlT],Se=m[p.YEL].get(p.SKi,null),Ue=()=>{if(c.encapsulation===Lr.ShadowDom||c.encapsulation===Lr.ExperimentalIsolatedShadowDom){const _n=T.cloneNode(!1);T.replaceWith(_n),T=_n}const mt=tl(s),Kt=El(B,mt,b,Ol(s),T,Y,null,null,null,null,null);(function m2(n,i,s,c){for(let m=p.Yw1;m<n[p.eDl].bindingStartIndex;m++){const b=n[m];if(((0,p.q$2)(b)||(0,p.A0l)(b))&&b[p.K29]===i){b[p.K29]=s;break}}n[p.EJG]===i&&(n[p.EJG]=s),n[p.Yrj]===i&&(n[p.Yrj]=s),s[p.K29]=i[p.K29],i[p.K29]=null,n[c]=s})(B,m,Kt,Y.index),Fc(m[p.eDl],m),zc(m);const en=m[p.M0L].rendererFactory;(function p2(n,i){n.componentReplaced?.(i.id)})(en,c),Kt[p.GpT]=en.createRenderer(T,s),Xp(m[p.eDl],m),function _2(n){if(null!==n.projection){for(const i of n.projection)kn(i)&&(i.projectionNext=null,i.flags&=-3);n.projection=null}}(Y),Ju(mt,Kt,b),gg(mt,Kt,mt.template,b)};null===Se?Ny(n,i,Ue):Se.run(()=>Ny(n,i,Ue))}(n,i,s,c,m)}function Ny(n,i,s){try{s()}catch(c){if(null!==i&&c.message){const b=c.message+(c.stack?"\n"+c.stack:"");n?.hot?.send?.("angular:invalidate",{id:i,message:b,error:!0})}throw c}}const gl={\u0275\u0275animateEnter:su,\u0275\u0275animateEnterListener:function Cd(n){if(jr("NgAnimateEnter"),!Xr)return Cd;const i=(0,p.OAn)();if(Nr(i))return Cd;const s=(0,p.Mx4)();return Uu(Bu(i),s,()=>function gD(n,i,s){const c=(0,p.d31)(i,n);s.call(n[p.SKP],{target:c,animationComplete:ab})}(i,s,n)),Hu(i[p.YEL]),bf(i[p.YEL],Bu(i)),Cd},\u0275\u0275animateLeave:ru,\u0275\u0275animateLeaveListener:function Ah(n){if(jr("NgAnimateLeave"),!Xr)return Ah;const i=(0,p.OAn)(),s=(0,p.Mx4)();Pl.add(i[p.ID]);const c=i[p.YEL].get(p.SKi),m=i[p.YEL].get(ju);return Uu(Tl(i),s,()=>function yD(n,i,s,c,m){const{promise:b,resolve:T}=wh(),B=(0,p.d31)(i,n),Y=[],Se=n[p.GpT],Ue=Nr(n);(Tl(n).get(i.index).resolvers??=[]).push(T);const mt=Tl(n).get(i.index)?.resolvers;if(Ue)Wu(n,i,B,mt,Y);else{const Kt=setTimeout(()=>Wu(n,i,B,mt,Y),m),en={target:B,animationComplete:()=>{Wu(n,i,B,mt,Y),clearTimeout(Kt)}};hf(i,B),c.runOutsideAngular(()=>{Y.push(Se.listen(B,"animationend",()=>{Wu(n,i,B,mt,Y),clearTimeout(Kt)},{once:!0}))}),s.call(n[p.SKP],en)}return{promise:b,resolve:T}}(i,s,n,c,m)),Hu(i[p.YEL]),Ah},\u0275\u0275attribute:Rh,\u0275\u0275defineComponent:Rm,\u0275\u0275defineDirective:xm,\u0275\u0275defineInjectable:p.jDH,\u0275\u0275defineInjector:p.G2t,\u0275\u0275defineNgModule:Lm,\u0275\u0275definePipe:Nm,\u0275\u0275directiveInject:ac,\u
vendor: 9,706 bytes, line 1
10275\u0275getInheritedFactory:Rn,\u0275\u0275inject:p.KVO,\u0275\u0275injectAttribute:Mi,\u0275\u0275invalidFactory:zg,\u0275\u0275invalidFactoryDep:p.dmw,\u0275\u0275templateRefExtractor:xy,\u0275\u0275resetView:p.Njj,\u0275\u0275HostDirectivesFeature:function aC(n){const i=s=>{const c=Array.isArray(n);null===s.hostDirectives?(s.resolveHostDirectives=lC,s.hostDirectives=c?n.map(hh):[n]):c?s.hostDirectives.unshift(...n.map(hh)):s.hostDirectives.unshift(n)};return i.ngInherit=!0,i},\u0275\u0275NgOnChangesFeature:Hi,\u0275\u0275ControlFeature:function rC(n){return i=>{i.controlDef={create:(s,c)=>{s?.\u0275ngControlCreate(c)},update:(s,c)=>{s?.\u0275ngControlUpdate?.(c)},passThroughInput:n}}},\u0275\u0275ProvidersFeature:_y,\u0275\u0275InheritDefinitionFeature:ph,\u0275\u0275ExternalStylesFeature:function e2(n){return i=>{n.length<1||(i.getExternalStyles=s=>n.map(m=>m+"?ngcomp"+(s?"="+encodeURIComponent(s):"")+"&e="+i.encapsulation))}},\u0275\u0275nextContext:v0,\u0275\u0275namespaceHTML:p.joV,\u0275\u0275namespaceMathML:p.By9,\u0275\u0275namespaceSVG:p.qSk,\u0275\u0275enableBindings:p.cSN,\u0275\u0275disableBindings:p.fuf,\u0275\u0275elementStart:au,\u0275\u0275elementEnd:Ed,\u0275\u0275element:Bh,\u0275\u0275elementContainerStart:Td,\u0275\u0275elementContainerEnd:lu,\u0275\u0275domElement:Uh,\u0275\u0275domElementStart:Od,\u0275\u0275domElementEnd:wd,\u0275\u0275domElementContainer:function X_(n,i,s){return Gh(n,i,s),Q_(),X_},\u0275\u0275domElementContainerStart:Gh,\u0275\u0275domElementContainerEnd:Q_,\u0275\u0275domTemplate:function Hm(n,i,s,c,m,b,T,B){const Y=(0,p.OAn)(),Se=(0,p.klJ)();return Fl(Y,Se,n,i,s,c,m,(0,p.db4)(Se.consts,b),void 0,T,B),Hm},\u0275\u0275domListener:qh,\u0275\u0275elementContainer:Vh,\u0275\u0275pureFunction0:by,\u0275\u0275pureFunction1:vy,\u0275\u0275pureFunction2:Cy,\u0275\u0275pureFunction3:My,\u0275\u0275pureFunction4:Dy,\u0275\u0275pureFunction5:function i2(n,i,s,c,m,b,T){const B=(0,p.gxQ)()+n,Y=(0,p.OAn)(),Se=La(Y,B,s,c,m,b);return Es(Y,B+4,T)||Se?Ua(Y,B+5,i(s,c,m,b,T)):lc(Y,B+5)},\u0275\u0275pureFunction6:Ey,\u0275\u0275pureFunction7:Oy,\u0275\u0275pureFunction8:function o2(n,i,s,c,m,b,T,B,Y,Se){const Ue=(0,p.gxQ)()+n,mt=(0,p.OAn)(),Kt=La(mt,Ue,s,c,m,b);return La(mt,Ue+4,T,B,Y,Se)||Kt?Ua(mt,Ue+8,i(s,c,m,b,T,B,Y,Se)):lc(mt,Ue+8)},\u0275\u0275pureFunctionV:function s2(n,i,s){return Sy((0,p.OAn)(),(0,p.gxQ)(),n,i,s)},\u0275\u0275getCurrentView:J_,\u0275\u0275restoreView:p.eBV,\u0275\u0275listener:Jh,\u0275\u0275projection:M0,\u0275\u0275syntheticHostProperty:Kh,\u0275\u0275syntheticHostListener:function b0(n,i){const s=(0,p.Mx4)(),c=(0,p.OAn)(),m=(0,p.klJ)();return Zh(m,c,ug((0,p.MT)(m.data),s,c),s,n,i),b0},\u0275\u0275pipeBind1:Ry,\u0275\u0275pipeBind2:Ay,\u0275\u0275pipeBind3:Ly,\u0275\u0275pipeBind4:function a2(n,i,s,c,m,b){const T=n+p.Yw1,B=(0,p.OAn)(),Y=(0,p.Hh6)(B,T);return mu(B,T)?Py(B,(0,p.gxQ)(),i,Y.transform,s,c,m,b,Y):Y.transform(s,c,m,b)},\u0275\u0275pipeBindV:function l2(n,i,s){const c=n+p.Yw1,m=(0,p.OAn)(),b=(0,p.Hh6)(m,c);return mu(m,c)?Sy(m,(0,p.gxQ)(),i,b.transform,s,b):b.transform.apply(b,s)},\u0275\u0275projectionDef:C0,\u0275\u0275domProperty:$h,\u0275\u0275ariaProperty:kh,\u0275\u0275property:jh,\u0275\u0275control:function _1(){!function sm(){const n=(0,p.OAn)(),i=(0,p.klJ)(),s=(0,p.CpD)();-1!==s.controlDirectiveIndex&&i.data[s.controlDirectiveIndex].controlDef.update(n[s.controlDirectiveIndex],new rm(n,i,s))}()},\u0275\u0275controlCreate:function m1(){!function om(){const n=(0,p.OAn)(),i=(0,p.klJ)(),s=(0,p.Mx4)();i.firstCreatePass&&function y1(n,i){for(let m=i.directiveStart;m<i.directiveEnd;m++)if(n.data[m].controlDef){i.controlDirectiveIndex=m;break}if(-1===i.controlDirectiveIndex)return;const c=n.data[i.controlDirectiveIndex].controlDef;c.passThroughInput&&(i.inputs?.[c.passThroughInput]?.length??0)>1?i.flags|=4096:function b1(n,i){for(let s=i.directiveStart;s<i.directiveEnd;s++){const c=n.data[s];if(am(c,"value"))return i.flags|=1024,void(i.customControlIndex=s);if(am(c,"checked"))return i.flags|=2048,void(i.customControlIndex=s)}}(n,i)}(i,s),-1!==s.controlDirectiveIndex&&(jr("NgSignalForms"),i.data[s.controlDirectiveIndex].controlDef.create(n[s.controlDirectiveIndex],new rm(n,i,s)))}()},\u0275\u0275pipe:ky,\u0275\u0275queryRefresh:D0,\u0275\u0275queryAdvance:O0,\u0275\u0275viewQuery:tp,\u0275\u0275viewQuerySignal:ip,\u0275\u0275loadQuery:E0,\u0275\u0275contentQuery:ep,\u0275\u0275contentQuerySignal:np,\u0275\u0275reference:w0,\u0275\u0275classMap:x0,\u0275\u0275styleMap:L0,\u0275\u0275styleProp:ap,\u0275\u0275classProp:lp,\u0275\u0275advance:Ii,\u0275\u0275template:mh,\u0275\u0275conditional:G_,\u0275\u0275conditionalCreate:V_,\u0275\u0275conditionalBranchCreate:Md,\u0275\u0275defer:function HM(n,i,s,c,m,b,T,B,Y,Se){const Ue=(0,p.OAn)(),mt=(0,p.klJ)(),Kt=n+p.Yw1,en=Fl(Ue,mt,n,null,0,0),_n=Ue[p.YEL],Jn=ga(_n);if(mt.firstCreatePass){jr("NgDefer");const sl={primaryTmplIndex:i,loadingTmplIndex:c??null,placeholderTmplIndex:m??null,errorTmplIndex:b??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:s??null,loadingState:Ys.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:Se??0};Y?.(mt,sl,B,T),function DC(n,i,s){const c=nu(i);n.data[c]=s}(mt,Kt,sl)}const pi=Ue[Kt];let ji=null,Yn=null;if(pi[p.qFA]?.length>0){const sl=pi[p.qFA][0].data;Yn=sl.di??null,ji=sl.s}const Wo=[null,uc.Initial,null,null,null,null,Yn,ji,null,null];!function MC(n,i,s){n[nu(i)]=s}(Ue,Kt,Wo);let Br=null;null!==Yn&&Jn&&(Br=_n.get(Ps),Br.add(Yn,{lView:Ue,tNode:en,lContainer:pi}));const ks=()=>{Qm(Wo),null!==Yn&&Br?.cleanup([Yn])};tu(0,Wo,()=>(0,p.DyX)(Ue,ks)),(0,p.ik5)(Ue,ks)},\u0275\u0275deferWhen:function $M(n){const i=(0,p.OAn)(),s=(0,p.CpD)();if(Ws(0,i,s)&&Es(i,(0,p.xbp)(),n)){const m=(0,Bt.Ht)(null);try{const b=!!n,B=sa(i,s)[1];!1===b&&B===uc.Initial?pc(i,s):!0===b&&(B===uc.Initial||B===as.Placeholder)&&Wl(0,i,s)}finally{(0,Bt.Ht)(m)}}},\u0275\u0275deferOnIdle:function QM(){Ws(0,(0,p.OAn)(),(0,p.Mx4)())&&S_(md)},\u0275\u0275deferOnImmediate:function qM(){const n=(0,p.OAn)(),i=(0,p.Mx4)();Ws(0,n,i)&&(null===Fr(n[p.eDl],i).loadingTmplIndex&&pc(n,i),Wl(0,n,i))},\u0275\u0275deferOnTimer:function tD(n){Ws(0,(0,p.OAn)(),(0,p.Mx4)())&&S_(_d(n))},\u0275\u0275deferOnHover:function oD(n,i){const s=(0,p.OAn)(),c=(0,p.Mx4)();Ws(0,s,c)&&(pc(s,c),hc(s,c,n,i,W,()=>Wl(0,s,c),0))},\u0275\u0275deferOnInteraction:function aD(n,i){const s=(0,p.OAn)(),c=(0,p.Mx4)();Ws(0,s,c)&&(pc(s,c),hc(s,c,n,i,Ro,()=>Wl(0,s,c),0))},\u0275\u0275deferOnViewport:function uD(n,i,s){const c=(0,p.OAn)(),m=(0,p.Mx4)();Ws(0,c,m)&&(pc(c,m),hc(c,m,n,i,yh,()=>Wl(0,c,m),0,s))},\u0275\u0275deferPrefetchWhen:function KM(n){const i=(0,p.OAn)(),s=(0,p.CpD)();if(Ws(1,i,s)&&Es(i,(0,p.xbp)(),n)){const m=(0,Bt.Ht)(null);try{const b=!!n,B=Fr(i[p.eDl],s);!0===b&&B.loadingState===Ys.NOT_STARTED&&ou(B,i,s)}finally{(0,Bt.Ht)(m)}}},\u0275\u0275deferPrefetchOnIdle:function XM(){Ws(1,(0,p.OAn)(),(0,p.Mx4)())&&k_(md)},\u0275\u0275deferPrefetchOnImmediate:function ZM(){const n=(0,p.OAn)(),i=(0,p.Mx4)();if(!Ws(1,n,i))return;const c=Fr(n[p.eDl],i);c.loadingState===Ys.NOT_STARTED&&Th(c,n,i)},\u0275\u0275deferPrefetchOnTimer:function nD(n){Ws(1,(0,p.OAn)(),(0,p.Mx4)())&&k_(_d(n))},\u0275\u0275deferPrefetchOnHover:function sD(n,i){const s=(0,p.OAn)(),c=(0,p.Mx4)();if(!Ws(1,s,c))return;const b=Fr(s[p.eDl],c);b.loadingState===Ys.NOT_STARTED&&hc(s,c,n,i,W,()=>ou(b,s,c),1)},\u0275\u0275deferPrefetchOnInteraction:function lD(n,i){const s=(0,p.OAn)(),c=(0,p.Mx4)();if(!Ws(1,s,c))return;const b=Fr(s[p.eDl],c);b.loadingState===Ys.NOT_STARTED&&hc(s,c,n,i,Ro,()=>ou(b,s,c),1)},\u0275\u0275deferPrefetchOnViewport:function dD(n,i,s){const c=(0,p.OAn)(),m=(0,p.Mx4)();if(!Ws(1,c,m))return;const T=Fr(c[p.eDl],m);T.loadingState===Ys.NOT_STARTED&&hc(c,m,n,i,yh,()=>ou(T,c,m),1,s)},\u0275\u0275deferHydrateWhen:function YM(n){const i=(0,p.OAn)(),s=(0,p.CpD)();if(!Ws(2,i,s))return;const c=(0,p.xbp)();if(pl((0,p.klJ)(),s).set(6,null),Es(i,c,n)){const T=i[p.YEL],B=(0,Bt.Ht)(null);try{1==!!n&&Vl(T,sa(i,s)[6])}finally{(0,Bt.Ht)(B)}}},\u0275\u0275deferHydrateNever:function zM(){const n=(0,p.OAn)(),i=(0,p.Mx4)();Ws(2,n,i)&&pl((0,p.klJ)(),i).set(7,null)},\u0275\u0275deferHydrateOnIdle:function JM(){const n=(0,p.OAn)(),i=(0,p.Mx4)();Ws(2,n,i)&&(pl((0,p.klJ)(),i).set(0,null),R_(md,n,i))},\u0275\u0275deferHydrateOnImmediate:function eD(){const n=(0,p.OAn)(),i=(0,p.Mx4)();Ws(2,n,i)&&(pl((0,p.klJ)(),i).set(1,null),Vl(n[p.YEL],sa(n,i)[6]))},\u0275\u0275deferHydrateOnTimer:function iD(n){const i=(0,p.OAn)(),s=(0,p.Mx4)();Ws(2,i,s)&&(pl((0,p.klJ)(),s).set(5,{type:5,delay:n}),R_(_d(n),i,s))},\u0275\u0275deferHydrateOnHover:function rD(){const n=(0,p.OAn)(),i=(0,p.Mx4)();Ws(2,n,i)&&pl((0,p.klJ)(),i).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function cD(){const n=(0,p.OAn)(),i=(0,p.Mx4)();Ws(2,n,i)&&pl((0,p.klJ)(),i).set(3,null)},\u0275\u0275deferHydrateOnViewport:function fD(n){const i=(0,p.OAn)(),s=(0,p.Mx4)();Ws(2,i,s)&&pl((0,p.klJ)(),s).set(2,n?{type:2,intersectionObserverOptions:n}:null)},\u0275\u0275deferEnableTimerScheduling:function jC(n,i,s,c){const m=n.consts;null!=s&&(i.placeholderBlockConfig=(0,p.db4)(m,s)),null!=c&&(i.loadingBlockConfig=(0,p.db4)(m,c)),null===vh&&(vh=NC)},\u0275\u0275repeater:Y_,\u0275\u0275repeaterCreate:K_,\u0275\u0275repeaterTrackByIndex:H_,\u0275\u0275repeaterTrackByIdentity:$_,\u0275\u0275componentInstance:F_,\u0275\u0275text:H0,\u0275\u0275textInterpolate:up,\u0275\u0275textInterpolate1:Ld,\u0275\u0275textInterpolate2:dp,\u0275\u0275textInterpolate3:fp,\u0275\u0275textInterpolate4:hp,\u0275\u0275textInterpolate5:function ty(n,i,s,c,m,b,T,B,Y,Se,Ue){const mt=(0,p.OAn)(),Kt=J0(mt,n,i,s,c,m,b,T,B,Y,Se,Ue);
1return Kt!==co&&ol(mt,(0,p._px)(),Kt),ty},\u0275\u0275textInterpolate6:function ny(n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt){const en=(0,p.OAn)(),_n=q0(en,n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt);return _n!==co&&ol(en,(0,p._px)(),_n),ny},\u0275\u0275textInterpolate7:function iy(n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt,en,_n){const Jn=(0,p.OAn)(),pi=Z0(Jn,n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt,en,_n);return pi!==co&&ol(Jn,(0,p._px)(),pi),iy},\u0275\u0275textInterpolate8:function oy(n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt,en,_n,Jn,pi){const ji=(0,p.OAn)(),Yn=ey(ji,n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt,en,_n,Jn,pi);return Yn!==co&&ol(ji,(0,p._px)(),Yn),oy},\u0275\u0275textInterpolateV:function sy(n){const i=(0,p.OAn)(),s=K0(i,n);return s!==co&&ol(i,(0,p._px)(),s),sy},\u0275\u0275i18n:function pE(n,i,s){m0(n,i,s),_0()},\u0275\u0275i18nAttributes:function gE(n,i){const s=(0,p.klJ)(),c=(0,p.db4)(s.consts,i);!function qD(n,i,s){const m=(0,p.Mx4)().index,b=[];if(n.firstCreatePass&&null===n.data[i]){for(let T=0;T<s.length;T+=2){const B=s[T],Y=s[T+1];if(""!==Y){if(HD.test(Y))throw new Error(`ICU expressions are not supported in attributes. Message: "${Y}".`);kd(b,Y,m,B,ZD(b),Oc[B.toLowerCase()]?vl:null)}}n.data[i]=b}}(s,n+p.Yw1,c)},\u0275\u0275i18nExp:function y0(n){return function FD(n){n&&(uu|=1<<Math.min(du,31)),du++}(Es((0,p.OAn)(),(0,p.xbp)(),n)),y0},\u0275\u0275i18nStart:m0,\u0275\u0275i18nEnd:_0,\u0275\u0275i18nApply:function mE(n){!function BD(n,i,s){if(du>0){const c=n.data[s];i0(n,i,Array.isArray(c)?c:c.update,(0,p.c$7)()-du-1,uu)}uu=0,du=0}((0,p.klJ)(),(0,p.OAn)(),n+p.Yw1)},\u0275\u0275i18nPostprocess:function _E(n,i={}){return function hE(n,i={}){let s=n;if(rE.test(n)){const c={},m=[0];s=s.replace(aE,(b,T,B)=>{const Y=T||B,Se=c[Y]||[];if(Se.length||(Y.split("|").forEach(Jn=>{const pi=Jn.match(fE),ji=pi?parseInt(pi[1],10):0,Yn=dE.test(Jn);Se.push([ji,Yn,Jn])}),c[Y]=Se),!Se.length)throw new Error(`i18n postprocess: unmatched placeholder - ${Y}`);const Ue=m[m.length-1];let mt=0;for(let Jn=0;Jn<Se.length;Jn++)if(Se[Jn][0]===Ue){mt=Jn;break}const[Kt,en,_n]=Se[mt];return en?m.pop():Ue!==Kt&&m.push(Kt),Se.splice(mt,1),_n})}return Object.keys(i).length&&(s=s.replace(lE,(c,m,b,T,B,Y)=>i.hasOwnProperty(b)?`${m}${i[b]}${Y}`:c),s=s.replace(cE,(c,m)=>i.hasOwnProperty(m)?i[m]:c),s=s.replace(uE,(c,m)=>{if(i.hasOwnProperty(m)){const b=i[m];if(!b.length)throw new Error(`i18n postprocess: unmatched ICU - ${c} with key: ${m}`);return b.shift()}return c})),s}(n,i)},\u0275\u0275resolveWindow:Ac,\u0275\u0275resolveDocument:xu,\u0275\u0275resolveBody:function Nu(n){return n.ownerDocument.body},\u0275\u0275setComponentScope:function t2(n,i,s){const c=n.\u0275cmp;c.directiveDefs=fd(i,Am),c.pipeDefs=fd(s,p.oyA)},\u0275\u0275setNgModuleScope:function n2(n,i){return le(()=>{const s=(0,p.WbQ)(n);s.declarations=xd(i.declarations||p.Mlv),s.imports=xd(i.imports||p.Mlv),s.exports=xd(i.exports||p.Mlv),i.bootstrap&&(s.bootstrap=xd(i.bootstrap)),qc.registerNgModule(n,i)})},\u0275\u0275registerNgModuleType:Im,\u0275\u0275getComponentDepsFactory:function c2(n,i){return()=>{try{return qc.getComponentDependencies(n,i).dependencies}catch(s){throw console.error(`Computing dependencies in local compilation mode for the component "${n.name}" failed with the exception:`,s),s}}},\u0275setClassDebugInfo:function u2(n,i){const s=(0,p.xUg)(n);null!==s&&(s.debugInfo=i)},\u0275\u0275declareLet:mp,\u0275\u0275storeLet:ly,\u0275\u0275arrowFunction:function XE(n,i,s){const c=(0,p.gxQ)()+n,m=(0,p.OAn)();return m[c]===co?Ua(m,c,i(s,m)):lc(m,c)},\u0275\u0275readContextLet:cy,\u0275\u0275attachSourceLocations:function GE(n,i){const s=(0,p.klJ)(),c=(0,p.OAn)(),m=c[p.GpT],b="data-ng-source-location";for(const[T,B,Y,Se]of i){(0,p.XRZ)(s,T+p.Yw1);const mt=(0,p.vaC)(T+p.Yw1,c);mt.hasAttribute(b)||m.setAttribute(mt,b,`${n}@o:${B},l:${Y},c:${Se}`)}},\u0275\u0275interpolate:uy,\u0275\u0275interpolate1:dy,\u0275\u0275interpolate2:fy,\u0275\u0275interpolate3:hy,\u0275\u0275interpolate4:function HE(n,i,s,c,m,b,T,B,Y=""){return X0((0,p.OAn)(),n,i,s,c,m,b,T,B,Y)},\u0275\u0275interpolate5:function $E(n,i,s,c,m,b,T,B,Y,Se,Ue=""){return J0((0,p.OAn)(),n,i,s,c,m,b,T,B,Y,Se,Ue)},\u0275\u0275interpolate6:function KE(n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt=""){return q0((0,p.OAn)(),n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt)},\u0275\u0275interpolate7:function YE(n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt,en,_n=""){return Z0((0,p.OAn)(),n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt,en,_n)},\u0275\u0275interpolate8:function zE(n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt,en,_n,Jn,pi=""){return ey((0,p.OAn)(),n,i,s,c,m,b,T,B,Y,Se,Ue,mt,Kt,en,_n,Jn,pi)},\u0275\u0275interpolateV:function QE(n){return K0((0,p.OAn)(),n)},\u0275\u0275sanitizeHtml:Ru,\u0275\u0275sanitizeStyle:function qd(n){const i=Ml();return i?i.sanitize(Za.STYLE,n)||"":X(n,"Style")?L(n):(0,p.eFE)(n)},\u0275\u0275sanitizeResourceUrl:kc,\u0275\u0275sanitizeScript:function Zd(n){const i=Ml();if(i)return Re(i.sanitize(Za.SCRIPT,n)||"");if(X(n,"Script"))return Re(L(n));throw new p.buA(905,!1)},\u0275\u0275validateAttribute:function of(n,i,s){const c=i.toLowerCase(),m=s.toLowerCase(),b=nf[c]?.[m];if(!b)return n;const T=(0,p.CpD)();if(2!==T.type)return n;const B=(0,p.OAn)();if("iframe"===c&&function Jd(n){const i=(0,p.OAn)();n.src="",n.srcdoc=Pa(""),Cl(i[p.GpT],n)}((0,p.d31)(T,B)),"boolean"!=typeof b){const Ue=(0,p.d31)(T,B).getAttribute("attributeName");if(Ue&&b.has(Ue.toLowerCase()))throw new p.buA(-910,!1);return n}throw new p.buA(-910,!1)},\u0275\u0275sanitizeUrl:Sc,\u0275\u0275sanitizeUrlOrResourceUrl:Rc,\u
vendor: 45,942 bytes, line 1
10275\u0275trustConstantHtml:function ef(n){return Pa(n[0])},\u0275\u0275trustConstantResourceUrl:function Ap(n){return function ia(n){return na()?.createScriptURL(n)||n}(n[0])},forwardRef:p.Rfq,resolveForwardRef:p.nl4,\u0275\u0275twoWayProperty:pp,\u0275\u0275twoWayBindingSet:ry,\u0275\u0275twoWayListener:gp,\u0275\u0275replaceMetadata:function f2(n,i,s,c,m=null,b=null){const T=(0,p.xUg)(n);i.apply(null,[n,s,...c]);const{newDef:B,oldDef:Y}=function h2(n,i){const s={...n};return{newDef:Object.assign(n,i,{directiveDefs:s.directiveDefs,pipeDefs:s.pipeDefs,setInput:s.setInput,type:s.type}),oldDef:s}}(T,(0,p.xUg)(n));if(n[p.CQl]=B,Y.tView){const Se=function Ye(){return ts}().values();for(const Ue of Se)(0,p.EFk)(Ue)&&null===Ue[p.f7T]&&Nd(m,b,B,Y,Ue)}},\u0275\u0275getReplaceMetadataURL:function d2(n,i,s){const c=`./@ng/component?c=${n}&t=${encodeURIComponent(i)}`;return new URL(c,s).href}};let vc=null;function y2(n){null!==vc&&(n.defaultEncapsulation!==vc.defaultEncapsulation||n.preserveWhitespaces!==vc.preserveWhitespaces)||(vc=n)}const _u=[];function Vy(n){return Hf(n)?n.ngModule:n}const N2=dn("NgModule",n=>n,void 0,0,(n,i)=>function M2(n,i={}){(function D2(n,i){const c=(0,p.Bqz)(i.declarations||p.Mlv);let m=null;Object.defineProperty(n,p.hmW,{configurable:!0,get:()=>(null===m&&(m=Pn().compileNgModule(gl,`ng:///${n.name}/\u0275mod.js`,{type:n,bootstrap:(0,p.Bqz)(i.bootstrap||p.Mlv).map(p.nl4),declarations:c.map(p.nl4),imports:(0,p.Bqz)(i.imports||p.Mlv).map(p.nl4).map(Vy),exports:(0,p.Bqz)(i.exports||p.Mlv).map(p.nl4).map(Vy),schemas:i.schemas?(0,p.Bqz)(i.schemas):null,id:i.id||null}),m.schemas||(m.schemas=[])),m)});let b=null;Object.defineProperty(n,p.zSs,{get:()=>{if(null===b){const B=Pn();b=B.compileFactory(gl,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,deps:ro(n),target:B.FactoryTarget.NgModule,typeArgumentCount:0})}return b},configurable:!1});let T=null;Object.defineProperty(n,p.ONQ,{get:()=>{if(null===T){const B={name:n.name,type:n,providers:i.providers||p.Mlv,imports:[(i.imports||p.Mlv).map(p.nl4),(i.exports||p.Mlv).map(p.nl4)]};T=Pn().compileInjector(gl,`ng:///${n.name}/\u0275inj.js`,B)}return T},configurable:!1})})(n,i),void 0!==i.id&&Im(n,i.id),function v2(n,i){_u.push({moduleType:n,ngModule:i})}(n,i)}(n,i));class j2{ngModuleFactory;componentFactories;constructor(i,s){this.ngModuleFactory=i,this.componentFactories=s}}let F2=(()=>{class n{compileModuleSync(s){return new Sm(s)}compileModuleAsync(s){return Promise.resolve(this.compileModuleSync(s))}compileModuleAndAllComponentsSync(s){const c=this.compileModuleSync(s),b=Ra((0,p.phH)(s).declarations).reduce((T,B)=>{const Y=(0,p.xUg)(B);return Y&&T.push(new ud(Y)),T},[]);return new j2(c,b)}compileModuleAndAllComponentsAsync(s){return Promise.resolve(this.compileModuleAndAllComponentsSync(s))}clearCache(){}clearCacheFor(s){}getModuleId(s){}static \u0275fac=function(c){return new(c||n)};static \u0275prov=(0,p.jDH)({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const B2=new p.nKC("");let U2=(()=>{class n{applicationErrorHandler=(0,p.WQX)(p.ZTf);appRef=(0,p.WQX)(Oh);taskService=(0,p.WQX)(p.rev);ngZone=(0,p.WQX)(p.SKi);zonelessEnabled=(0,p.WQX)(p.Evm);tracing=(0,p.WQX)(Zl,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Lt.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(p.AbJ):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,p.WQX)(p.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const s=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(s)):this.taskService.remove(s)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const s=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(s)})})}notify(s){if(!this.zonelessEnabled&&5===s)return;switch(s){case 0:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const c=this.useMicrotaskScheduler?p.uiq:p.l4E;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>c(()=>this.tick())):this.ngZone.runOutsideAngular(()=>c(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(p.AbJ+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const s=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(c){this.applicationErrorHandler(c)}finally{this.taskService.remove(s),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const s=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(s)}}static \u0275fac=function(c){return new(c||n)};static \u0275prov=(0,p.jDH)({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function tb(){return[{provide:p.hk6,useExisting:U2},{provide:p.SKi,useClass:p.myG},{provide:p.Evm,useValue:!0}]}const nb=new p.nKC("",{factory:()=>(0,p.WQX)(nb,{optional:!0,skipSelf:!0})||function W2(){return typeof $localize<"u"&&$localize.locale||zh}()}),V2=new p.nKC("",{factory:()=>"USD"})},15824(ot,V,l){"use strict";l.d(V,{Ag:()=>Ke,Bg:()=>te,EF:()=>kt,H8:()=>Te,Ht:()=>o,JC:()=>O,KE:()=>d,KO:()=>ie,KZ:()=>Fe,Ny:()=>Qe,TO:()=>K,Wu:()=>ee,XR:()=>ne,a7:()=>Oe,bh:()=>C,j2:()=>Ve,lh:()=>qt,mC:()=>dt,mK:()=>D,n5:()=>ve,nR:()=>y,pL:()=>A,s0:()=>wt,si:()=>J,vX:()=>Tt});let f=null,g=!1,h=1;const C=Symbol("SIGNAL");function o(We){const yt=f;return f=We,yt}function y(){return f}function d(){return g}const A={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function D(We){if(g)throw new Error("");if(null===f)return;f.consumerOnSignalRead(We);const yt=f.producersTail;if(void 0!==yt&&yt.producer===We)return;let je;const St=f.recomputing;if(St&&(je=void 0!==yt?yt.nextProducer:f.producers,void 0!==je&&je.producer===We))return f.producersTail=je,void(je.lastReadVersion=We.version);const me=We.consumersTail;if(void 0!==me&&me.consumer===f&&(!St||function Ce(We,yt){const je=yt.producersTail;if(void 0!==je){let St=yt.producers;do{if(St===We)return!0;if(St===je)break;St=St.nextProducer}while(void 0!==St)}return!1}(me,f)))return;const rt=ut(f),bt={producer:We,consumer:f,nextProducer:je,prevConsumer:me,lastReadVersion:We.version,nextConsumer:void 0};f.producersTail=bt,void 0!==yt?yt.nextProducer=bt:f.producers=bt,rt&&de(We,bt)}function O(We){if((!ut(We)||We.dirty)&&(We.dirty||We.lastCleanEpoch!==h)){if(!We.producerMustRecompute(We)&&!J(We))return void K(We);We.producerRecomputeValue(We),K(We)}}function x(We){if(void 0===We.consumers)return;const yt=g;g=!0;try{for(let je=We.consumers;void 0!==je;je=je.nextConsumer){const St=je.consumer;St.dirty||q(St)}}finally{g=yt}}function N(){return!1!==f?.consumerAllowSignalWrites}function q(We){We.dirty=!0,x(We),We.consumerMarkedDirty?.(We)}function K(We){We.dirty=!1,We.lastCleanEpoch=h}function te(We){return We&&function H(We){We.producersTail=void 0,We.recomputing=!0}(We),o(We)}function ee(We,yt){o(yt),We&&function F(We){We.recomputing=!1;const yt=We.producersTail;let je=void 0!==yt?yt.nextProducer:We.producers;if(void 0!==je){if(ut(We))do{je=Le(je)}while(void 0!==je);void 0!==yt?yt.nextProducer=void 0:We.producers=void 0}}(We)}function J(We){for(let yt=We.producers;void 0!==yt;yt=yt.nextProducer){const je=yt.producer,St=yt.lastReadVersion;if(St!==je.version||(O(je),St!==je.version))return!0}return!1}function ne(We){if(ut(We)){let yt=We.producers;for(;void 0!==yt;)yt=Le(yt)}We.producers=void 0,We.producersTail=void 0,We.consumers=void 0,We.consumersTail=void 0}function de(We,yt){const je=We.consumersTail,St=ut(We);if(void 0!==je?(yt.nextConsumer=je.nextConsumer,je.nextConsumer=yt):(yt.nextConsumer=void 0,We.consumers=yt),yt.prevConsumer=je,We.consumersTail=yt,!St)for(let me=We.producers;void 0!==me;me=me.nextProducer)de(me.producer,me)}function Le(We){const yt=We.producer,je=We.nextProducer,St=We.nextConsumer,me=We.prevConsumer;if(We.nextConsumer=void 0,We.prevConsumer=void 0,void 0!==St?St.prevConsumer=me:yt.consumersTail=me,void 0!==me)me.nextConsumer=St;else if(yt.consumers=St,!ut(yt)){let rt=yt.producers;for(;void 0!==rt;)rt=Le(rt)}return je}function ut(We){return We.consumerIsAlwaysLive||void 0!==We.consumers}function Oe(We){}function Te(We,yt){return Object.is(We,yt)}function Fe(We,yt){const je=Object.create(ct);je.computation=We,void 0!==yt&&(je.equal=yt);const St=()=>{if(O(je),D(je),je.value===kt)throw je.error;return je.value};return St[C]=je,St}const Ke=Symbol("UNSET"),Qe=Symbol("COMPUTING"),kt=Symbol("ERRORED"),ct={...A,value:Ke,dirty:!0,error:null,equal:Te,kind:"computed",producerMustRecompute:We=>We.value===Ke||We.value===Qe,producerRecomputeValue(We){if(We.value===Qe)throw new Error("");const yt=We.value;We.value=Qe;const je=te(We);let St,me=!1;try{St=We.computation(),o(null),me=yt!==Ke&&yt!==kt&&St!==kt&&We.equal(yt,St)}catch(rt){St=kt,We.error=rt}finally{ee(We,je)}me?We.value=yt:(We.value=St,We.version++)}};let Ze=function Pt(){throw new Error};function fe(We){Ze(We)}function ie(We){Ze=We}function ve(We,yt){const je=Object.create(wt);je.value=We,void 0!==yt&&(je.equal=yt);const St=()=>function Pe(We){return D(We),We.value}(je);return St[C]=je,[St,bt=>Ve(je,bt),bt=>dt(je,bt)]}function Ve(We,yt){N()||fe(We),We.equal(We.value,yt)||(We.value=yt,function Yt(We){We.version++,function w(){h++}(),x(We)}(We))}function dt(We,yt){N()||fe(We),Ve(We,yt(We.value))}const wt={...A,equal:Te,value:void 0,kind:"signal"},Tt={...A,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function qt(We){if(We.dirty=!1,We.version>0&&!J(We))return;We.version++;const yt=te(We);try{We.cleanup(),We.fn()}finally{ee(We,yt)}}},85802(ot,V,l){"use strict";l.d(V,{JEi:()=>cs,Isx:()=>us,EJG:()=>vo,Yrj:()=>Z,VVG:()=>Ao,Y20:()=>be,SKP:()=>Go,hk6:()=>rl,eVN:()=>Q,b5C:()=>j,rQE:()=>pe,X5O:()=>nt,qFA:()=>Qo,qQL:()=>Ma,dUD:()=>N,abz:()=>Yr,tQN:()=>_o,pcR:()=>jo,oMQ:()=>Ji,Mlv:()=>zi,MZA:()=>fo,M0L:()=>os,Z63:()=>go,Ap:()=>q,dTm:()=>Ba,VML:()=>Ha,uvJ:()=>$i,zcH:()=>ya,bkB:()=>t,Wg1:()=>bo,Yw1:()=>ui,jgP:()=>ho,tcA:()=>ms,ID:()=>Nn,YEL:()=>zs,B9r:()=>Io,GBX:()=>ii,ZTf:()=>nr,nKC:()=>it,zZn:()=>br,rJ1:()=>ds,nfM:()=>qo,s6P:()=>Fo,K29:()=>zo,CQl:()=>xn,p9y:()=>so,zSs:()=>fi,ONQ:()=>Bt,hmW:()=>ri,yAH:()=>p,SKi:()=>$o,myG:()=>zr,oTH:()=>Do,Czx:()=>oo,f7T:()=>Po,wVl:()=>Ye,GYQ:()=>Gr,u5s:()=>Xa,rev:()=>r,Ds7:()=>Ft,e5P:()=>ro,Iaj:()=>So,GpT:()=>ts,buA:()=>te,AQb:()=>Fa,kHH:()=>ke,jNX:()=>Lo,eDl:()=>es,qlT:()=>Xi,bm_:()=>xs,RxE:()=>O,r4V:()=>ba,ok8:()=>K,Evm:()=>Cr,laP:()=>F,EYC:()=>lo,AbJ:()=>Ai,ng7:()=>hi,llW:()=>yn,gsJ:()=>cn,GZS:()=>Bo,iYM:()=>Dt,PEr:()=>pr,z7f:()=>Yt,LZP:()=>Tt,Xln:()=>Ze,yzR:()=>Tr,TWe:()=>Ir,LIA:()=>Pt,GWr:()=>Pe,pbo:()=>Ve,bBq:()=>Hr,Af3:()=>Jo,zQk:()=>ar,oZy:()=>Os,tF7:()=>qt,ZFY:()=>Sn,cP4:()=>sr,MdC:()=>rr,XvL:()=>ve,KET:()=>wr,Tkx:()=>ys,iw4:()=>fe,tdH:()=>Ia,pr_:()=>yt,IAh:()=>Xe,U45:()=>Qe,WrV:()=>kt,kNT:()=>We,MI:()=>gr,biv:()=>$r,ZQF:()=>ie,Cv0:()=>ct,W0r:()=>js,R2n:()=>Rs,O8q:()=>_s,VKj:()=>Or,Rom:()=>or,z6V:()=>mi,n$e:()=>Oe,hjC:()=>ai,Pz9:()=>ma,PQT:()=>_t,VX4:()=>Wt,_Z$:()=>Yi,N79:()=>It,xLP:()=>to,QZP:()=>Ja,A7J:()=>hn,BI7:()=>zt,U7d:()=>at,uXy:()=>st,nZS:()=>Nt,ihb:()=>Wa,ID8:()=>xa,gv8:()=>Lr,dwj:()=>Le,Bqz:()=>Ti,OsK:()=>ee,Rfq:()=>Te,c$7:()=>lr,gxQ:()=>qs,ckz:()=>Xt,kLh:()=>de,xUg:()=>si,KdJ:()=>Xs,db4:()=>io,VPL:()=>Rt,MT:()=>Kr,Z9v:()=>er,Ab:()=>ce,w7Z:()=>Wr,Mx4:()=>ae,veI:()=>z,HaV:()=>An,Agf:()=>Ei,znI:()=>Be,wGu:()=>_i,ebl:()=>Mt,OAn:()=>xi,_0$:()=>Cs,UaU:()=>ea,vaC:()=>Pr,d31:()=>mr,ZRn:()=>Uo,phH:()=>Cn,WbQ:()=>ti,WB9:()=>Si,d_l:()=>Bs,vNG:()=>Rr,oyA:()=>Ki,_px:()=>Zr,CpD:()=>Hs,XRZ:()=>ps,klJ:()=>wo,oKB:()=>ze,Fje:()=>et,b$O:()=>Jr,SMZ:()=>ne,WQX:()=>Kn,MzJ:()=>rn,jXY:()=>pt,MME:()=>Wn,JlV:()=>Bi,Qs1:()=>$t,srX:()=>tt,vOT:()=>fs,YWB:()=>vt,EPY:()=>ns,yoD:()=>ni,P3H:()=>Gn,Jzi:()=>Ke,rFz:()=>In,JjR:()=>Ps,M6u:()=>Yo,KtD:()=>fn,muV:()=>rt,A0l:()=>se,q$2:()=>Ae,yP_:()=>Ui,EFk:()=>Zo,UhH:()=>bn,QuC:()=>Wi,Y3W:()=>Rn,K7h:()=>Zn,FRF:()=>tn,ezK:()=>Un,m7n:()=>pa,niQ:()=>fa,krE:()=>yi,bll:()=>Va,Hh6:()=>Sr,EmA:()=>Ie,blu:()=>yr,HAh:()=>vs,WfI:()=>Qt,xbp:()=>cr,jvu:()=>Qa,Rc9:()=>yo,E6O:()=>xo,DyX:()=>Eo,eFE:()=>qi,dMS:()=>Js,HUe:()=>_r,nl4:()=>Fe,N4e:()=>ls,XaM:()=>Vn,uiq:()=>u,l4E:()=>re,Kw3:()=>Is,vQI:()=>Zs,RZ9:()=>la,GA0:()=>Ms,iMd:()=>Ne,Pfq:()=>Ht,xyx:()=>Ur,a2B:()=>nn,kcM:()=>dn,DFp:()=>le,P2g:()=>gi,cBl:()=>Oo,ypq:()=>va,vPA:()=>Kl,HO5:()=>_l,M_e:()=>Fs,B22:()=>R,ik5:()=>Ts,AsM:()=>ut,PP7:()=>eo,$8:()=>wt,$Hz:()=>Vt,zAe:()=>ws,IvY:()=>Vs,_gW:()=>kr,F1c:()=>bs,ITl:()=>ko,brz:()=>wn,jRZ:()=>Gs,SX7:()=>ja,jDH:()=>je,G2t:()=>St,fuf:()=>Di,cSN:()=>jn,KVO:()=>vn,dmw:()=>Hn,joV:()=>Ss,By9:()=>Ca,qSk:()=>ha,Njj:()=>W,eBV:()=>Ro});var f=l(15824),g=l(84412),h=l(71985),_=l(18530),C=l(13961);let o;function y(){return o}function d(U){const Re=o;return o=U,Re}const A=Symbol("NotFound");function w(U){return U===A||"\u0275NotFound"===U?.name}Error;class O{full;major;minor;patch;constructor(Re){this.full=Re;const ft=Re.split(".");this.major=ft[0],this.minor=ft[1],this.patch=ft.slice(2).join(".")}}const x=new O("21.2.10"),N=(()=>{const U=x.full;return`https://${U.includes("-next")||U.includes("-rc")||"0.0.0-PLACEHOLDER"===U?"next":`v${x.major}`}.angular.dev`})(),q=`${N}/errors`,K="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class te extends Error{code;constructor(Re,ft){super(ee(Re,ft)),this.code=Re}}function ee(U,Re){return`${function H(U){return`NG0${Math.abs(U)}`}(U)}${Re?": "+Re:""}`}const F=globalThis;function ne(){return!1}function de(U){for(let Re in U)if(U[Re]===de)return Re;throw Error("")}function Le(U,Re){for(const ft in Re)Re.hasOwnProperty(ft)&&!U.hasOwnProperty(ft)&&(U[ft]=Re[ft])}function ut(U){if("string"==typeof U)return U;if(Array.isArray(U))return`[${U.map(ut).join(", ")}]`;if(null==U)return""+U;const Re=U.overriddenName||U.name;if(Re)return`${Re}`;const ft=U.toString();if(null==ft)return""+ft;const Zt=ft.indexOf("\n");return Zt>=0?ft.slice(0,Zt):ft}function Oe(U,Re){return U?Re?`${U} ${Re}`:U:Re||""}const Ce=de({__forward_ref__:de});function Te(U){return U.__forward_ref__=Te,U}function Fe(U){return Ke(U)?U():U}function Ke(U){return"function"==typeof U&&U.hasOwnProperty(Ce)&&U.__forward_ref__===Te}function Qe(U,Re){"number"!=typeof U&&wt(Re,typeof U,"number","===")}function kt(U,Re,ft){Qe(U,"Expected a number"),function he(U,Re,ft){U<=Re||wt(ft,U,Re,"<=")}(U,ft,"Expected number to be less than or equal to"),Ve(U,Re,"Expected number to be greater than or equal to")}function ct(U,Re){"string"!=typeof U&&wt(Re,null===U?"null":typeof U,"string","===")}function Pt(U,Re){"function"!=typeof U&&wt(Re,null===U?"null":typeof U,"function","===")}function Ze(U,Re,ft){U!=Re&&wt(ft,U,Re,"==")}function fe(U,Re,ft){U==Re&&wt(ft,U,Re,"!=")}function ie(U,Re,ft){U!==Re&&wt(ft,U,Re,"===")}function Xe(U,Re,ft){U===Re&&wt(ft,U,Re,"!==")}function ve(U,Re,ft){U<Re||wt(ft,U,Re,"<")}function Pe(U,Re,ft){U>Re||wt(ft,U,Re,">")}function Ve(U,Re,ft){U>=Re||wt(ft,U,Re,">=")}function Dt(U,Re){null==U&&wt(Re,U,null,"!=")}function wt(U,Re,ft,Zt){throw new Error(`ASSERTION ERROR: ${U}`+(null==Zt?"":` [Expected=> ${ft} ${Zt} ${Re} <=Actual]`))}function Yt(U){U instanceof Node||wt(`The provided value must be an instance of a DOM Node but got ${ut(U)}`)}function Tt(U){U instanceof Element||wt(`The provided value must be an element but got ${ut(U)}`)}function qt(U,Re){Dt(U,"Array must be defined.");const ft=U.length;(Re<0||Re>=ft)&&wt(`Index expected to be less than ${ft} but got ${Re}`)}function We(U,...Re){if(-1!==Re.indexOf(U))return!0;wt(`Expected value to be one of ${JSON.stringify(Re)} but was ${JSON.stringify(U)}.`)}function yt(U){null!==(0,f.nR)()&&wt(`${U}() should never be called in a reactive context.`)}function je(U){return{token:U.token,providedIn:U.providedIn||null,factory:U.factory,value:void 0}}function St(U){return{providers:U.providers||[],imports:U.imports||[]}}function me(U){return function bt(U,Re){return U.hasOwnProperty(Re)&&U[Re]||null}(U,p)}function rt(U){return null!==me(U)}function Mt(U){return U&&U.hasOwnProperty(Bt)?U[Bt]:null}const p=de({\u0275prov:de}),Bt=de({\u0275inj:de});class it{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(Re,ft){this._desc=Re,this.\u0275prov=void 0,"number"==typeof ft?this.__NG_ELEMENT_ID__=ft:void 0!==ft&&(this.\u0275prov=je({token:this,providedIn:ft.providedIn||"root",factory:ft.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let Lt;function Me(){return wt("getInjectorProfilerContext should never be called in production mode"),Lt}function le(U){wt("setInjectorProfilerContext should never be called in production mode");const Re=Lt;return Lt=U,Re}const $=[],Ee=()=>{};function dn(U){return wt("setInjectorProfiler should never be called in production mode"),null!==U?($.includes(U)||$.push(U),()=>function Et(U){const Re=$.indexOf(U);-1!==Re&&$.splice(Re,1)}(U)):($.length=0,Ee)}function an(U){wt("Injector profiler should never be called in production mode");for(let Re=0;Re<$.length;Re++)(0,$[Re])(U)}function Nt(U,Re=!1){let ft;wt("Injector profiler should never be called in production mode"),ft="function"==typeof U||U instanceof it?U:Fe(U.provide);let Zt=U;U instanceof it&&(Zt=U.\u0275prov||U),an({type:2,context:Me(),providerRecord:{token:ft,provider:Zt,isViewProvider:Re}})}function at(U){wt("Injector profiler should never be called in production mode"),an({type:5,context:Me(),token:U})}function st(U){wt("Injector profiler should never be called in production mode"),an({type:1,context:Me(),instance:{value:U}})}function zt(U,Re,ft){wt("Injector profiler should never be called in production mode"),an({type:0,context:Me(),service:{token:U,value:Re,flags:ft}})}function hn(U){wt("Injector profiler should never be called in production mode"),an({type:4,context:Me(),effectPhase:U})}function Vn(U,Re,ft){wt("runInInjectorProfilerContext should never be called in production mode");const Zt=le({injector:U,token:Re});try{ft()}finally{le(Zt)}}function Pn(U){return U&&!!U.\u0275providers}const xn=de({\u0275cmp:de}),ei=de({\u0275dir:de}),ci=de({\u0275pipe:de}),ri=de({\u0275mod:de}),fi=de({\u0275fac:de}),so=de({__NG_ELEMENT_ID__:de}),Li=de({__NG_ENV_ID__:de});function Cn(U){return Hi(U),U[ri]||null}function ti(U){const Re=Cn(U);if(!Re)throw new te(915,!1);return Re}function si(U){return Hi(U),U[xn]||null}function Ei(U){const Re=An(U);if(!Re)throw new te(916,!1);return Re}function An(U){return Hi(U),U[ei]||null}function Ki(U){return Hi(U),U[ci]||null}function Hi(U,Re){if(null==U)throw new te(-919,!1)}function Wi(U){const Re=si(U)||An(U)||Ki(U);return null!==Re&&Re.standalone}function qi(U){return"string"==typeof U?U:null==U?"":String(U)}function eo(U){return"function"==typeof U?U.name||U.toString():"object"==typeof U&&null!=U&&"function"==typeof U.type?U.type.name||U.type.toString():qi(U)}function Yi(U){const Re=si(U);return null!==Re&&Re.debugInfo?function En(U){return U.filePath&&U.lineNumber?`${U.className} (at ${U.filePath}:${U.lineNumber})`:U.className}(Re.debugInfo):eo(U)}const li=de({ngErrorCode:de}),ln=de({ngErrorMessage:de}),Tn=de({ngTokenPath:de});function _t(U,Re){return Qn("",-200,Re)}function Wt(U,Re){return function Bn(U,Re){return U.message=function ht(U,Re,ft=[],Zt=null){let Mn="";ft&&ft.length>1&&(Mn=` Path: ${ft.join(" -> ")}.`);return ee(Re,`${U}${Zt?` Source: ${Zt}.`:""}${Mn}`)}(U[ln]||U.message,U[li],U[Tn],Re),U}(_t(0,Re),null)}function Vt(U,Re){throw new te(-201,!1)}function Qn(U,Re,ft){const Zt=new te(Re,U);return Zt[li]=Re,Zt[ln]=U,ft&&(Zt[Tn]=ft),Zt}let At;function jt(){return At}function nn(U){const Re=At;return At=U,Re}function rn(U,Re,ft){const Zt=me(U);return Zt&&"root"==Zt.providedIn?void 0===Zt.value?Zt.value=Zt.factory():Zt.value:8&ft?null:void 0!==Re?Re:void Vt()}function Sn(U){}const Xn={},bi="__NG_DI_FLAG__";class Fi{injector;constructor(Re){this.injector=Re}retrieve(Re,ft){const Zt=ai(ft)||0;try{return this.injector.get(Re,8&Zt?null:Xn,Zt)}catch(Mn){if(w(Mn))return Mn;throw Mn}}}function Ut(U,Re=0){const ft=y();if(void 0===ft)throw new te(-203,!1);if(null===ft)return rn(U,void 0,Re);{const Zt=function Pi(U){return{optional:!!(8&U),host:!!(1&U),self:!!(2&U),skipSelf:!!(4&U)}}(Re),Mn=ft.retrieve(U,Zt);if(w(Mn)){if(Zt.optional)return null;throw Mn}return Mn}}function vn(U,Re=0){return(jt()||Ut)(Fe(U),Re)}function Hn(U){throw new te(202,!1)}function Kn(U,Re){return vn(U,ai(Re))}function ai(U){return typeof U>"u"||"number"==typeof U?U:0|(U.optional&&8)|(U.host&&1)|(U.self&&2)|(U.skipSelf&&4)}function oi(U){const Re=[];for(let ft=0;ft<U.length;ft++){const Zt=Fe(U[ft]);if(Array.isArray(Zt)){if(0===Zt.length)throw new te(900,!1);let Mn,$n=0;for(let di=0;di<Zt.length;di++){const Ko=Zt[di],v=wi(Ko);"number"==typeof v?-1===v?Mn=Ko.token:$n|=v:Mn=Ko}Re.push(vn(Mn,$n))}else Re.push(vn(Zt))}return Re}function mi(U,Re){return U[bi]=Re,U.prototype[bi]=Re,U}function wi(U){return U[bi]}function _i(U,Re){return U.hasOwnProperty(fi)?U[fi]:null}function hi(U,Re,ft){if(U.length!==Re.length)return!1;for(let Zt=0;Zt<U.length;Zt++){let Mn=U[Zt],$n=Re[Zt];if(ft&&(Mn=ft(Mn),$n=ft($n)),$n!==Mn)return!1}return!0}function Ti(U){return U.flat(Number.POSITIVE_INFINITY)}function to(U,Re){U.forEach(ft=>Array.isArray(ft)?to(ft,Re):Re(ft))}function lo(U,Re,ft){Re>=U.length?U.push(ft):U.splice(Re,0,ft)}function xo(U,Re){return Re>=U.length-1?U.pop():U.splice(Re,1)[0]}function Qt(U,Re){const ft=[];for(let Zt=0;Zt<U;Zt++)ft.push(Re);return ft}function cn(U,Re,ft){const Zt=U.length-ft;for(;Re<Zt;)U[Re]=U[Re+ft],Re++;for(;ft--;)U.pop()}function yn(U,Re,ft,Zt){let Mn=U.length;if(Mn==Re)U.push(ft,Zt);else if(1===Mn)U.push(Zt,U[0]),U[0]=ft;else{for(Mn--,U.push(U[Mn-1],U[Mn]);Mn>Re;)U[Mn]=U[Mn-2],Mn--;U[Re]=ft,U[Re+1]=Zt}}function Un(U,Re,ft){let Zt=tn(U,Re);return Zt>=0?U[1|Zt]=ft:(Zt=~Zt,yn(U,Zt,Re,ft)),Zt}function Zn(U,Re){const ft=tn(U,Re);if(ft>=0)return U[1|ft]}function tn(U,Re){return function Zi(U,Re,ft){let Zt=0,Mn=U.length>>ft;for(;Mn!==Zt;){const $n=Zt+(Mn-Zt>>1),di=U[$n<<ft];if(Re===di)return $n<<ft;di>Re?Mn=$n:Zt=$n+1}return~(Mn<<ft)}(U,Re,1)}const fo={},zi=[],go=new it(""),To=new it("",-1),Io=new it("");class Do{get(Re,ft=Xn){if(ft===Xn){const Mn=Qn("",-201);throw Mn.name="\u0275NotFound",Mn}return ft}}function Ie(U){return{\u0275providers:U}}function ze(...U){return{\u0275providers:pt(0,U),\u0275fromNgModule:!0}}function pt(U,...Re){const ft=[],Zt=new Set;let Mn;const $n=di=>{ft.push(di)};return to(Re,di=>{const Ko=di;wn(Ko,$n,[],Zt)&&(Mn||=[],Mn.push(Ko))}),void 0!==Mn&&on(Mn,$n),ft}function on(U,Re){for(let ft=0;ft<U.length;ft++){const{ngModule:Zt,providers:Mn}=U[ft];qe(Mn,$n=>{Re($n,Zt)})}}function wn(U,Re,ft,Zt){if(!(U=Fe(U)))return!1;let Mn=null,$n=Mt(U);const di=!$n&&si(U);if($n||di){if(di&&!di.standalone)return!1;Mn=U}else{const v=U.ngModule;if($n=Mt(v),!$n)return!1;Mn=v}const Ko=Zt.has(Mn);if(di){if(Ko)return!1;if(Zt.add(Mn),di.dependencies){const v="function"==typeof di.dependencies?di.dependencies():di.dependencies;for(const L of v)wn(L,Re,ft,Zt)}}else{if(!$n)return!1;{if(null!=$n.imports&&!Ko){let L;Zt.add(Mn),to($n.imports,X=>{wn(X,Re,ft,Zt)&&(L||=[],L.push(X))}),void 0!==L&&on(L,Re)}if(!Ko){const L=_i(Mn)||(()=>new Mn);Re({provide:Mn,useFactory:L,deps:zi},Mn),Re({provide:Io,useValue:Mn,multi:!0},Mn),Re({provide:go,useValue:()=>vn(Mn),multi:!0},Mn)}const v=$n.providers;if(null!=v&&!Ko){const L=U;qe(v,X=>{Re(X,L)})}}}return Mn!==U&&void 0!==U.providers}function qe(U,Re){for(let ft of U)Pn(ft)&&(ft=ft.\u0275providers),Array.isArray(ft)?qe(ft,Re):Re(ft)}const xt=de({provide:String,useValue:de});function un(U){return null!==U&&"object"==typeof U&&xt in U}function Rn(U){return"function"==typeof U}function Wn(U){return!!U.useClass}const ii=new it(""),ki={},Mi={};let vi;function Si(){return void 0===vi&&(vi=new Do),vi}class $i{}class ro extends $i{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(Re,ft,Zt,Mn){super(),this.parent=ft,this.source=Zt,this.scopes=Mn,is(Re,di=>this.processProvider(di)),this.records.set(To,No(void 0,this)),Mn.has("environment")&&this.records.set($i,No(void 0,this));const $n=this.records.get(ii);null!=$n&&"string"==typeof $n.value&&this.scopes.add($n.value),this.injectorDefTypes=new Set(this.get(Io,zi,{self:!0}))}retrieve(Re,ft){const Zt=ai(ft)||0;try{return this.get(Re,Xn,Zt)}catch(Mn){if(w(Mn))return Mn;throw Mn}}destroy(){hs(this),this._destroyed=!0;const Re=(0,f.Ht)(null);try{for(const Zt of this._ngOnDestroyHooks)Zt.ngOnDestroy();const ft=this._onDestroyHooks;this._onDestroyHooks=[];for(const Zt of ft)Zt()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,f.Ht)(Re)}}onDestroy(Re){return hs(this),this._onDestroyHooks.push(Re),()=>this.removeOnDestroy(Re)}runInContext(Re){hs(this);const ft=d(this),Zt=nn(void 0);try{return Re()}finally{d(ft),nn(Zt)}}get(Re,ft=Xn,Zt){if(hs(this),Re.hasOwnProperty(Li))return Re[Li](this);const Mn=ai(Zt),di=d(this),Ko=nn(void 0);try{if(!(4&Mn)){let L=this.records.get(Re);if(void 0===L){const X=function Mo(U){return"function"==typeof U||"object"==typeof U&&"InjectionToken"===U.ngMetadataName}(Re)&&me(Re);L=X&&this.injectableDefInScope(X)?No(no(Re),ki):null,this.records.set(Re,L)}if(null!=L)return this.hydrate(Re,L,Mn)}return(2&Mn?Si():this.parent).get(Re,ft=8&Mn&&ft===Xn?null:ft)}catch(v){const L=function Ni(U){return U[li]}(v);throw-200===L||-201===L?new te(L,null):v}finally{nn(Ko),d(di)}}resolveInjectorInitializers(){const Re=(0,f.Ht)(null),ft=d(this),Zt=nn(void 0);try{const $n=this.get(go,zi,{self:!0});for(const di of $n)di()}finally{d(ft),nn(Zt),(0,f.Ht)(Re)}}toString(){return"R3Injector[...]"}processProvider(Re){let ft=Rn(Re=Fe(Re))?Re:Fe(Re&&Re.provide);const Zt=function Vo(U){return un(U)?No(void 0,U.useValue):No(yo(U),ki)}(Re);if(!Rn(Re)&&!0===Re.multi){let Mn=this.records.get(ft);Mn||(Mn=No(void 0,ki,!0),Mn.factory=()=>oi(Mn.multi),this.records.set(ft,Mn)),ft=Re,Mn.multi.push(Re)}this.records.set(ft,Zt)}hydrate(Re,ft,Zt){const Mn=(0,f.Ht)(null);try{if(ft.value===Mi)throw _t();return ft.value===ki&&(ft.value=Mi,ft.value=ft.factory(void 0,Zt)),"object"==typeof ft.value&&ft.value&&function Xo(U){return null!==U&&"object"==typeof U&&"function"==typeof U.ngOnDestroy}(ft.value)&&this._ngOnDestroyHooks.add(ft.value),ft.value}finally{(0,f.Ht)(Mn)}}injectableDefInScope(Re){if(!Re.providedIn)return!1;const ft=Fe(Re.providedIn);return"string"==typeof ft?"any"===ft||this.scopes.has(ft):this.injectorDefTypes.has(ft)}removeOnDestroy(Re){const ft=this._onDestroyHooks.indexOf(Re);-1!==ft&&this._onDestroyHooks.splice(ft,1)}}function no(U){const Re=me(U),ft=null!==Re?Re.factory:_i(U);if(null!==ft)return ft;if(U instanceof it)throw new te(-204,!1);if(U instanceof Function)return function mo(U){if(U.length>0)throw new te(-204,!1);const ft=function we(U){return(U?.[p]??null)||null}(U);return null!==ft?()=>ft.factory(U):()=>new U}(U);throw new te(-204,!1)}function yo(U,Re,ft){let Zt;if(Rn(U)){const Mn=Fe(U);return _i(Mn)||no(Mn)}if(un(U))Zt=()=>Fe(U.useValue);else if(function mn(U){return!(!U||!U.useFactory)}(U))Zt=()=>U.useFactory(...oi(U.deps||[]));else if(function gt(U){return!(!U||!U.useExisting)}(U))Zt=(Mn,$n)=>vn(Fe(U.useExisting),void 0!==$n&&8&$n?8:void 0);else{const Mn=Fe(U&&(U.useClass||U.provide));if(!function uo(U){return!!U.deps}(U))return _i(Mn)||no(Mn);Zt=()=>new Mn(...oi(U.deps))}return Zt}function hs(U){if(U.destroyed)throw new te(-205,!1)}function No(U,Re,ft=!1){return{factory:U,value:Re,multi:ft?[]:void 0}}function is(U,Re){for(const ft of U)Array.isArray(ft)?is(ft,Re):ft&&Pn(ft)?is(ft.\u0275providers,Re):Re(ft)}function ls(U,Re){let ft;U instanceof ro?(hs(U),ft=U):ft=new Fi(U);const Mn=d(ft),$n=nn(void 0);try{return Re()}finally{d(Mn),nn($n)}}function Yo(){return void 0!==jt()||null!=y()}function Jo(U){if(!Yo())throw new te(-203,!1)}const ho=0,es=1,bo=2,Po=3,zo=4,Xi=5,ms=6,Ao=7,Go=8,zs=9,os=10,ts=11,vo=12,Z=13,nt=14,j=15,pe=16,Ye=17,Ft=18,Nn=19,Ji=20,oo=21,jo=22,_o=23,So=24,cs=25,us=26,ui=27,Qo=6,Fo=7,xs=8,qo=9,be=10;function Ae(U){return Array.isArray(U)&&"object"==typeof U[1]}function se(U){return Array.isArray(U)&&!0===U[1]}function tt(U){return!!(4&U.flags)}function $t(U){return U.componentOffset>-1}function ni(U){return!(1&~U.flags)}function Bi(U){return!!U.template}function Zo(U){return!!(512&U[bo])}function ns(U){return!(256&~U[bo])}function Or(U,Re){or(U,Re[es])}function _s(U,Re){const ft=Re+ui;qt(U,ft),ve(ft,U[es].bindingStartIndex,"TNodes should be created before any bindings")}function or(U,Re){Rs(U);const ft=Re.data;for(let Zt=ui;Zt<ft.length;Zt++)if(ft[Zt]===U)return;wt("This TNode does not belong to this TView.")}function Rs(U){Dt(U,"TNode must be defined"),U&&"object"==typeof U&&U.hasOwnProperty("directiveStylingLast")||wt("Not of type TNode, got: "+U)}function js(U){Dt(U,"Expected TIcu to be defined"),"number"!=typeof U.currentCaseLViewIndex&&wt("Object is not of TIcu type.")}function Bo(U,Re="Type passed in is not ComponentType, it does not have '\u0275cmp' property."){si(U)||wt(Re)}function wr(U,Re="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){Cn(U)||wt(Re)}function Hr(U){Dt(U,"currentTNode should exist!"),Dt(U.parent,"currentTNode should have a parent")}function sr(U){Dt(U,"LContainer must be defined"),Ze(se(U),!0,"Expecting LContainer")}function rr(U){Dt(U,"LView must be defined"),Ze(Ae(U),!0,"Expecting LView")}function Tr(U,Re){Ze(U.firstCreatePass,!0,Re||"Should only be called in first create pass.")}function Ir(U,Re){Ze(U.firstUpdatePass,!0,"Should only be called in first update pass.")}function pr(U){(void 0===U.type||null==U.selectors||void 0===U.inputs)&&wt("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function ar(U,Re){As(ui,U.bindingStartIndex,Re)}function Os(U,Re){As(U[1].expandoStartIndex,U.length,Re)}function As(U,Re,ft){U<=ft&&ft<Re||wt(`Index out of range (expecting ${U} <= ${ft} < ${Re})`)}function $r(U,Re){Dt(U[j],"Component views should exist."),Dt(U[j][Xi].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function gr(U,Re){Dt(U,"Component views should always have a parent view (component's host view)")}function ys(U,Re){Os(U,Re),Os(U,Re+8),Qe(U[Re+0],"injectorIndex should point to a bloom filter"),Qe(U[Re+1],"injectorIndex should point to a bloom filter"),Qe(U[Re+2],"injectorIndex should point to a bloom filter"),Qe(U[Re+3],"injectorIndex should point to a bloom filter"),Qe(U[Re+4],"injectorIndex should point to a bloom filter"),Qe(U[Re+5],"injectorIndex should point to a bloom filter"),Qe(U[Re+6],"injectorIndex should point to a bloom filter"),Qe(U[Re+7],"injectorIndex should point to a bloom filter"),Qe(U[Re+8],"injectorIndex should point to parent injector")}const Lo="svg",ds="math";function Vs(U){for(;Array.isArray(U);)U=U[ho];return U}function ws(U){for(;Array.isArray(U);){if("object"==typeof U[1])return U;U=U[ho]}return null}function Pr(U,Re){return Vs(Re[U])}function mr(U,Re){return Vs(Re[U.index])}function Uo(U,Re){const ft=null===U?-1:U.index;return-1!==ft?Vs(Re[ft]):null}function ps(U,Re){return U.data[Re]}function Sr(U,Re){return U[Re]}function Fs(U,Re,ft,Zt){ft>=U.data.length&&(U.data[ft]=null,U.blueprint[ft]=null),Re[ft]=Zt}function Xs(U,Re){const ft=Re[U];return Ae(ft)?ft:ft[ho]}function fs(U){return!(4&~U[bo])}function bs(U){return!(128&~U[bo])}function ko(U){return se(U[Po])}function io(U,Re){return null==Re?null:U[Re]}function _r(U){U[Ye]=0}function vs(U){1024&U[bo]||(U[bo]|=1024,bs(U)&&yr(U))}function Gs(U,Re){for(;U>0;)Re=Re[nt],U--;return Re}function Js(U){return!!(9216&U[bo]||U[So]?.dirty)}function kr(U){U[os].changeDetectionScheduler?.notify(8),64&U[bo]&&(U[bo]|=1024),Js(U)&&yr(U)}function yr(U){U[os].changeDetectionScheduler?.notify(0);let Re=Cs(U);for(;null!==Re&&!(8192&Re[bo])&&(Re[bo]|=8192,bs(Re));)Re=Cs(Re)}function Ts(U,Re){if(ns(U))throw new te(911,!1);null===U[oo]&&(U[oo]=[]),U[oo].push(Re)}function Eo(U,Re){if(null===U[oo])return;const ft=U[oo].indexOf(Re);-1!==ft&&U[oo].splice(ft,1)}function Cs(U){const Re=U[Po];return se(Re)?Re[Po]:Re}function Bs(U){return U[Ao]??=[]}function Rr(U){return U.cleanup??=[]}function R(U,Re,ft,Zt){const Mn=Bs(Re);Mn.push(ft),U.firstCreatePass&&Rr(U).push(Zt,Mn.length-1)}const I={lFrame:ua(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Q=function(U){return U[U.Off=0]="Off",U[U.Exhaustive=1]="Exhaustive",U[U.OnlyDirtyViews=2]="OnlyDirtyViews",U}(Q||{});let oe=0,_e=!1;function Be(){return I.lFrame.elementDepthCount}function et(){I.lFrame.elementDepthCount++}function It(){I.lFrame.elementDepthCount--}function Xt(){return I.bindingsEnabled}function fn(){return null!==I.skipHydrationRootTNode}function bn(U){return I.skipHydrationRootTNode===U}function jn(){I.bindingsEnabled=!0}function Di(){I.bindingsEnabled=!1}function yi(){I.skipHydrationRootTNode=null}function xi(){return I.lFrame.lView}function wo(){return I.lFrame.tView}function Ro(U){return I.lFrame.contextLView=U,U[Go]}function W(U){return I.lFrame.contextLView=null,U}function ae(){let U=z();for(;null!==U&&64===U.type;)U=U.parent;return U}function z(){return I.lFrame.currentTNode}function ce(){const U=I.lFrame,Re=U.currentTNode;return U.isParent?Re:Re.parent}function Ne(U,Re){const ft=I.lFrame;ft.currentTNode=U,ft.isParent=Re}function vt(){return I.lFrame.isParent}function Ht(){I.lFrame.isParent=!1}function Rt(){return I.lFrame.contextLView}function In(){return wt("Must never be called in production mode"),oe!==Q.Off}function Gn(){return wt("Must never be called in production mode"),oe===Q.Exhaustive}function gi(U){wt("Must never be called in production mode"),oe=U}function Ui(){return _e}function Oo(U){const Re=_e;return _e=U,Re}function qs(){const U=I.lFrame;let Re=U.bindingRootIndex;return-1===Re&&(Re=U.bindingRootIndex=U.tView.bindingStartIndex),Re}function lr(){return I.lFrame.bindingIndex}function Is(U){return I.lFrame.bindingIndex=U}function cr(){return I.lFrame.bindingIndex++}function Jr(U){const Re=I.lFrame,ft=Re.bindingIndex;return Re.bindingIndex=Re.bindingIndex+U,ft}function Ps(){return I.lFrame.inI18n}function Ur(U){I.lFrame.inI18n=U}function Zs(U,Re){const ft=I.lFrame;ft.bindingIndex=ft.bindingRootIndex=U,la(Re)}function er(){return I.lFrame.currentDirectiveIndex}function la(U){I.lFrame.currentDirectiveIndex=U}function Kr(U){const Re=I.lFrame.currentDirectiveIndex;return-1===Re?null:U[Re]}function Wr(){return I.lFrame.currentQueryIndex}function Ms(U){I.lFrame.currentQueryIndex=U}function qr(U){const Re=U[es];return 2===Re.type?Re.declTNode:1===Re.type?U[Xi]:null}function Wa(U,Re,ft){if(4&ft){let Mn=Re,$n=U;for(;!(Mn=Mn.parent,null!==Mn||1&ft||(Mn=qr($n),null===Mn||($n=$n[nt],10&Mn.type))););if(null===Mn)return!1;Re=Mn,U=$n}const Zt=I.lFrame=ca();return Zt.currentTNode=Re,Zt.lView=U,!0}function xa(U){const Re=ca(),ft=U[es];I.lFrame=Re,Re.currentTNode=ft.firstChild,Re.lView=U,Re.tView=ft,Re.contextLView=U,Re.bindingIndex=ft.bindingStartIndex,Re.inI18n=!1}function ca(){const U=I.lFrame,Re=null===U?null:U.child;return null===Re?ua(U):Re}function ua(U){const Re={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:U,child:null,inI18n:!1};return null!==U&&(U.child=Re),Re}function da(){const U=I.lFrame;return I.lFrame=U.parent,U.currentTNode=null,U.lView=null,U}const fa=da;function Va(){const U=da();U.isParent=!0,U.tView=null,U.selectedIndex=-1,U.contextLView=null,U.elementDepthCount=0,U.currentDirectiveIndex=-1,U.currentNamespace=null,U.bindingRootIndex=-1,U.bindingIndex=-1,U.currentQueryIndex=0}function Qa(U){return(I.lFrame.contextLView=Gs(U,I.lFrame.contextLView))[Go]}function Zr(){return I.lFrame.selectedIndex}function va(U){I.lFrame.selectedIndex=U}function Hs(){const U=I.lFrame;return ps(U.tView,U.selectedIndex)}function ha(){I.lFrame.currentNamespace=Lo}function Ca(){I.lFrame.currentNamespace=ds}function Ss(){!function Ga(){I.lFrame.currentNamespace=null}()}function ea(){return I.lFrame.currentNamespace}let Na=!0;function ja(){return Na}function pa(U){Na=U}function ga(U,Re=null,ft=null,Zt){const Mn=ma(U,Re,ft);return Mn.resolveInjectorInitializers(),Mn}function ma(U,Re=null,ft=null,Zt,Mn=new Set){const $n=[ft||zi,ze(U)];return new ro($n,Re||Si(),null,Mn)}class br{static THROW_IF_NOT_FOUND=Xn;static NULL=new Do;static create(Re,ft){if(Array.isArray(Re))return ga({name:""},ft,Re);{const Zt=Re.name??"";return ga({name:Zt},Re.parent,Re.providers)}}static \u0275prov=je({token:br,providedIn:"any",factory:()=>vn(To)});static __NG_ELEMENT_ID__=-1}const Ma=new it("");let Yr=(()=>class U{static __NG_ELEMENT_ID__=Je;static __NG_ENV_ID__=ft=>ft})();class Da extends Yr{_lView;constructor(Re){super(),this._lView=Re}get destroyed(){return ns(this._lView)}onDestroy(Re){const ft=this._lView;return Ts(ft,Re),()=>Eo(ft,Re)}}function Je(){return new Da(xi())}const ke=!1,a=new it("");let r=(()=>{class U{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new g.t(!1);debugTaskTracker=Kn(a,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new h.c(ft=>{ft.next(!1),ft.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const ft=this.taskId++;return this.pendingTasks.add(ft),this.debugTaskTracker?.add(ft),ft}has(ft){return this.pendingTasks.has(ft)}remove(ft){this.pendingTasks.delete(ft),this.debugTaskTracker?.remove(ft),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=je({token:U,providedIn:"root",factory:()=>new U})}return U})();const t=class e extends _.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(Re=!1){super(),this.__isAsync=Re,Yo()&&(this.destroyRef=Kn(Yr,{optional:!0})??void 0,this.pendingTasks=Kn(r,{optional:!0})??void 0)}emit(Re){const ft=(0,f.Ht)(null);try{super.next(Re)}finally{(0,f.Ht)(ft)}}subscribe(Re,ft,Zt){let Mn=Re,$n=ft||(()=>null),di=Zt;if(Re&&"object"==typeof Re){const v=Re;Mn=v.next?.bind(v),$n=v.error?.bind(v),di=v.complete?.bind(v)}this.__isAsync&&($n=this.wrapInTimeout($n),Mn&&(Mn=this.wrapInTimeout(Mn)),di&&(di=this.wrapInTimeout(di)));const Ko=super.subscribe({next:Mn,error:$n,complete:di});return Re instanceof C.yU&&Re.add(Ko),Ko}wrapInTimeout(Re){return ft=>{const Zt=this.pendingTasks?.add();setTimeout(()=>{try{Re(ft)}finally{void 0!==Zt&&this.pendingTasks?.remove(Zt)}})}}};function k(...U){}function re(U){let Re,ft;function Zt(){U=k;try{void 0!==ft&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(ft),void 0!==Re&&clearTimeout(Re)}catch{}}return Re=setTimeout(()=>{U(),Zt()}),"function"==typeof requestAnimationFrame&&(ft=requestAnimationFrame(()=>{U(),Zt()})),()=>Zt()}function u(U){return queueMicrotask(()=>U()),()=>{U=k}}const Oi="isAngularZone",Ai=Oi+"_ID";let Ho=0;class $o{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new t(!1);onMicrotaskEmpty=new t(!1);onStable=new t(!1);onError=new t(!1);constructor(Re){const{enableLongStackTrace:ft=!1,shouldCoalesceEventChangeDetection:Zt=!1,shouldCoalesceRunChangeDetection:Mn=!1,scheduleInRootZone:$n=ke}=Re;if(typeof Zone>"u")throw new te(908,!1);Zone.assertZonePatched();const di=this;di._nesting=0,di._outer=di._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(di._inner=di._inner.fork(new Zone.TaskTrackingZoneSpec)),ft&&Zone.longStackTraceZoneSpec&&(di._inner=di._inner.fork(Zone.longStackTraceZoneSpec)),di.shouldCoalesceEventChangeDetection=!Mn&&Zt,di.shouldCoalesceRunChangeDetection=Mn,di.callbackScheduled=!1,di.scheduleInRootZone=$n,function tr(U){const Re=()=>{!function Vr(U){function Re(){re(()=>{U.callbackScheduled=!1,Ar(U),U.isCheckStableRunning=!0,$s(U),U.isCheckStableRunning=!1})}U.isCheckStableRunning||U.callbackScheduled||(U.callbackScheduled=!0,U.scheduleInRootZone?Zone.root.run(()=>{Re()}):U._outer.run(()=>{Re()}),Ar(U))}(U)},ft=Ho++;U._inner=U._inner.fork({name:"angular",properties:{[Oi]:!0,[Ai]:ft,[Ai+ft]:!0},onInvokeTask:(Zt,Mn,$n,di,Ko,v)=>{if(function _a(U){return ur(U,"__ignore_ng_zone__")}(v))return Zt.invokeTask($n,di,Ko,v);try{return ta(U),Zt.invokeTask($n,di,Ko,v)}finally{(U.shouldCoalesceEventChangeDetection&&"eventTask"===di.type||U.shouldCoalesceRunChangeDetection)&&Re(),Ea(U)}},onInvoke:(Zt,Mn,$n,di,Ko,v,L)=>{try{return ta(U),Zt.invoke($n,di,Ko,v,L)}finally{U.shouldCoalesceRunChangeDetection&&!U.callbackScheduled&&!function Oa(U){return ur(U,"__scheduler_tick__")}(v)&&Re(),Ea(U)}},onHasTask:(Zt,Mn,$n,di)=>{Zt.hasTask($n,di),Mn===$n&&("microTask"==di.change?(U._hasPendingMicrotasks=di.microTask,Ar(U),$s(U)):"macroTask"==di.change&&(U.hasPendingMacrotasks=di.macroTask))},onHandleError:(Zt,Mn,$n,di)=>(Zt.handleError($n,di),U.runOutsideAngular(()=>U.onError.emit(di)),!1)})}(di)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Oi)}static assertInAngularZone(){if(!$o.isInAngularZone())throw new te(909,!1)}static assertNotInAngularZone(){if($o.isInAngularZone())throw new te(909,!1)}run(Re,ft,Zt){return this._inner.run(Re,ft,Zt)}runTask(Re,ft,Zt,Mn){const $n=this._inner,di=$n.scheduleEventTask("NgZoneEvent: "+Mn,Re,Us,k,k);try{return $n.runTask(di,ft,Zt)}finally{$n.cancelTask(di)}}runGuarded(Re,ft,Zt){return this._inner.runGuarded(Re,ft,Zt)}runOutsideAngular(Re){return this._outer.run(Re)}}const Us={};function $s(U){if(0==U._nesting&&!U.hasPendingMicrotasks&&!U.isStable)try{U._nesting++,U.onMicrotaskEmpty.emit(null)}finally{if(U._nesting--,!U.hasPendingMicrotasks)try{U.runOutsideAngular(()=>U.onStable.emit(null))}finally{U.isStable=!0}}}function Ar(U){U.hasPendingMicrotasks=!!(U._hasPendingMicrotasks||(U.shouldCoalesceEventChangeDetection||U.shouldCoalesceRunChangeDetection)&&!0===U.callbackScheduled)}function ta(U){U._nesting++,U.isStable&&(U.isStable=!1,U.onUnstable.emit(null))}function Ea(U){U._nesting--,$s(U)}class zr{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new t;onMicrotaskEmpty=new t;onStable=new t;onError=new t;run(Re,ft,Zt){return Re.apply(ft,Zt)}runGuarded(Re,ft,Zt){return Re.apply(ft,Zt)}runOutsideAngular(Re){return Re()}runTask(Re,ft,Zt,Mn){return Re.apply(ft,Zt)}}function ur(U,Re){return!(!Array.isArray(U)||1!==U.length)&&!0===U[0]?.data?.[Re]}class ya{_console=console;handleError(Re){this._console.error("ERROR",Re)}}const nr=new it("",{factory:()=>{const U=Kn($o),Re=Kn($i);let ft;return Zt=>{U.runOutsideAngular(()=>{Re.destroyed&&!ft?setTimeout(()=>{throw Zt}):(ft??=Re.get(ya),ft.handleError(Zt))})}}}),Lr={provide:go,useValue:()=>{Kn(ya,{optional:!0})},multi:!0};function Kl(U,Re){const[ft,Zt,Mn]=(0,f.n5)(U,Re?.equal),$n=ft;return $n.set=Zt,$n.update=Mn,$n.asReadonly=_l.bind($n),$n}function _l(){const U=this[f.bh];if(void 0===U.readonlyFn){const Re=()=>this();Re[f.bh]=U,U.readonlyFn=Re}return U.readonlyFn}function Ia(U,Re){if(null!==(0,f.nR)())throw new te(-602,!1)}let ba=(()=>class U{view;node;constructor(ft,Zt){this.view=ft,this.node=Zt}static __NG_ELEMENT_ID__=vr})();function vr(){return new ba(xi(),ae())}class rl{}const Cr=new it("",{factory:()=>!0}),Gr=new it("",{factory:()=>!1}),Fa=new it("");let Xa=(()=>{class U{internalPendingTasks=Kn(r);scheduler=Kn(rl);errorHandler=Kn(nr);add(){const ft=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(ft)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(ft))}}run(ft){const Zt=this.add();ft().catch(this.errorHandler).finally(Zt)}static \u0275prov=je({token:U,providedIn:"root",factory:()=>new U})}return U})(),Ha=(()=>{class U{static \u0275prov=je({token:U,providedIn:"root",factory:()=>new $a})}return U})();class $a{dirtyEffectCount=0;queues=new Map;add(Re){this.enqueue(Re),this.schedule(Re)}schedule(Re){Re.dirty&&this.dirtyEffectCount++}remove(Re){const Zt=this.queues.get(Re.zone);Zt.has(Re)&&(Zt.delete(Re),Re.dirty&&this.dirtyEffectCount--)}enqueue(Re){const ft=Re.zone;this.queues.has(ft)||this.queues.set(ft,new Set);const Zt=this.queues.get(ft);Zt.has(Re)||Zt.add(Re)}flush(){for(;this.dirtyEffectCount>0;){let Re=!1;for(const[ft,Zt]of this.queues)Re||=null===ft?this.flushQueue(Zt):ft.run(()=>this.flushQueue(Zt));Re||(this.dirtyEffectCount=0)}}flushQueue(Re){let ft=!1;for(const Zt of Re)Zt.dirty&&(this.dirtyEffectCount--,ft=!0,Zt.run());return ft}}class Ba{[f.bh];constructor(Re){this[f.bh]=Re}destroy(){this[f.bh].destroy()}}
1function Ja(U,Re){const ft=Re?.injector??Kn(br);let Mn,Zt=!0!==Re?.manualCleanup?ft.get(Yr):null;const $n=ft.get(ba,null,{optional:!0}),di=ft.get(rl);return null!==$n?(Mn=function ia(U,Re,ft){const Zt=Object.create(Pa);return Zt.view=U,Zt.zone=typeof Zone<"u"?Zone.current:null,Zt.notifier=Re,Zt.fn=Ka(Zt,ft),U[_o]??=new Set,U[_o].add(Zt),Zt.consumerMarkedDirty(Zt),Zt}($n.view,di,U),Zt instanceof Da&&Zt._lView===$n.view&&(Zt=null)):Mn=function qa(U,Re,ft){const Zt=Object.create(na);return Zt.fn=Ka(Zt,U),Zt.scheduler=Re,Zt.notifier=ft,Zt.zone=typeof Zone<"u"?Zone.current:null,Zt.scheduler.add(Zt),Zt.notifier.notify(12),Zt}(U,ft.get(Ha),di),Mn.injector=ft,null!==Zt&&(Mn.onDestroyFns=[Zt.onDestroy(()=>Mn.destroy())]),new Ba(Mn)}const Qr={...f.vX,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const U=Oo(!1);try{(0,f.lh)(this)}finally{Oo(U)}},cleanup(){if(!this.cleanupFns?.length)return;const U=(0,f.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,f.Ht)(U)}}},na={...Qr,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if((0,f.XR)(this),null!==this.onDestroyFns)for(const U of this.onDestroyFns)U();this.cleanup(),this.scheduler.remove(this)}},Pa={...Qr,consumerMarkedDirty(){this.view[bo]|=8192,yr(this.view),this.notifier.notify(13)},destroy(){if((0,f.XR)(this),null!==this.onDestroyFns)for(const U of this.onDestroyFns)U();this.cleanup(),this.view[_o]?.delete(this)}};function Ka(U,Re){return()=>{Re(ft=>(U.cleanupFns??=[]).push(ft))}}},32271(ot,V,l){"use strict";l.d(V,{Zf:()=>M,EW:()=>w,uu:()=>x,Zc:()=>q,O8:()=>D});var f=l(10467),g=l(85802),h=l(15824);function _(Ce,Te,Fe){const Ke=Object.create(y);Ke.source=Ce,Ke.computation=Te,null!=Fe&&(Ke.equal=Fe);const kt=()=>{if((0,h.JC)(Ke),(0,h.mK)(Ke),Ke.value===h.EF)throw Ke.error;return Ke.value};return kt[h.bh]=Ke,(0,h.a7)(Ke),kt}const y={...h.pL,value:h.Ag,dirty:!0,error:null,equal:h.H8,kind:"linkedSignal",producerMustRecompute:Ce=>Ce.value===h.Ag||Ce.value===h.Ny,producerRecomputeValue(Ce){if(Ce.value===h.Ny)throw new Error("");const Te=Ce.value;Ce.value=h.Ny;const Fe=(0,h.Bg)(Ce);let Ke,Qe=!1;try{const kt=Ce.source(),ct=Te!==h.Ag&&Te!==h.EF;Ke=Ce.computation(kt,ct?{source:Ce.sourceValue,value:Te}:void 0),Ce.sourceValue=kt,(0,h.Ht)(null),Qe=ct&&Ke!==h.EF&&Ce.equal(Te,Ke)}catch(kt){Ke=h.EF,Ce.error=kt}finally{(0,h.Wu)(Ce,Fe)}Qe?Ce.value=Te:(Ce.value=Ke,Ce.version++)}};class M{destroyed=!1;listeners=null;errorHandler=(0,g.WQX)(g.zcH,{optional:!0});destroyRef=(0,g.WQX)(g.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(Te){if(this.destroyed)throw new g.buA(953,!1);return(this.listeners??=[]).push(Te),{unsubscribe:()=>{const Fe=this.listeners?.indexOf(Te);void 0!==Fe&&-1!==Fe&&this.listeners?.splice(Fe,1)}}}emit(Te){if(this.destroyed)return void console.warn((0,g.OsK)(953,!1));if(null===this.listeners)return;const Fe=(0,h.Ht)(null);try{for(const Ke of this.listeners)try{Ke(Te)}catch(Qe){this.errorHandler?.handleError(Qe)}}finally{(0,h.Ht)(Fe)}}}function D(Ce){return function d(Ce){const Te=(0,h.Ht)(null);try{return Ce()}finally{(0,h.Ht)(Te)}}(Ce)}function w(Ce,Te){return(0,h.KZ)(Ce,Te?.equal)}const O=Ce=>Ce;function x(Ce,Te){return N("function"==typeof Ce?_(Ce,O,Te?.equal):_(Ce.source,Ce.computation,Ce.equal))}function N(Ce,Te){const Fe=Ce[h.bh],Ke=Ce;return Ke.set=Qe=>function C(Ce,Te){(0,h.JC)(Ce),(0,h.j2)(Ce,Te),(0,h.TO)(Ce)}(Fe,Qe),Ke.update=Qe=>function o(Ce,Te){if((0,h.JC)(Ce),Ce.value===h.EF)throw Ce.error;(0,h.mC)(Ce,Te),(0,h.TO)(Ce)}(Fe,Qe),Ke.asReadonly=g.HO5.bind(Ce),Ke}function q(Ce){return new te(Ce.params??Ce.request??(()=>null),function ee(Ce){return function F(Ce){return!!Ce.stream}(Ce)?Ce.stream:function(){var Te=(0,f.A)(function*(Fe){try{return(0,g.vPA)({value:yield Ce.loader(Fe)},void 0)}catch(Ke){return(0,g.vPA)({error:Le(Ke)},void 0)}});return function(Fe){return Te.apply(this,arguments)}}()}(Ce),Ce.defaultValue,Ce.equal?function H(Ce){return(Te,Fe)=>void 0===Te||void 0===Fe?Te===Fe:Ce(Te,Fe)}(Ce.equal):void 0,Ce.debugName,Ce.injector??(0,g.WQX)(g.zZn))}class K{value;isLoading;constructor(Te,Fe){this.value=Te,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=g.HO5,this.isLoading=w(()=>"loading"===this.status()||"reloading"===this.status(),void 0)}isError=w(()=>"error"===this.status());update(Te){this.set(Te(D(this.value)))}isValueDefined=w(()=>!this.isError()&&void 0!==this.value());_snapshot;get snapshot(){return this._snapshot??=w(()=>{const Te=this.status();return"error"===Te?{status:"error",error:this.error()}:{status:Te,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}}class te extends K{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(Te,Fe,Ke,Qe,kt,ct,Pt){super(w(()=>{const Ze=this.state().stream?.();if(!Ze||"loading"===this.state().status&&this.error())return Ke;if(!ne(Ze))throw new Oe(this.error());return Ze.value},{equal:Qe}),kt),this.loaderFn=Fe,this.equal=Qe,this.debugName=kt,this.extRequest=x({s
1ource:Te,computation:Ze=>({request:Ze,reload:0})}),this.state=x({source:this.extRequest,computation:(Ze,fe)=>{if(fe)return{extRequest:Ze,status:void 0===Ze.request?"idle":"loading",previousStatus:J(fe.value),stream:fe.value.extRequest.request===Ze.request?fe.value.stream:void 0};{const ie=Pt?.(Ze.request);return Pt=void 0,{extRequest:Ze,status:void 0===Ze.request?"idle":ie?"resolved":"loading",previousStatus:"idle",stream:ie}}}}),this.effectRef=(0,g.QZP)(this.loadEffect.bind(this),{injector:ct,manualCleanup:!0}),this.pendingTasks=ct.get(g.u5s),this.unregisterOnDestroy=ct.get(g.abz).onDestroy(()=>this.destroy()),this.status=w(()=>J(this.state()),void 0),this.error=w(()=>{const Ze=this.state().stream?.();return Ze&&!ne(Ze)?Ze.error:void 0},void 0)}set(Te){if(this.destroyed)return;const Fe=D(this.error),Ke=D(this.state);if(!Fe){const Qe=D(this.value);if("local"===Ke.status&&(this.equal?this.equal(Qe,Te):Qe===Te))return}this.state.set({extRequest:Ke.extRequest,status:"local",previousStatus:"local",stream:(0,g.vPA)({value:Te},void 0)}),this.abortInProgressLoad()}reload(){const{status:Te}=D(this.state);return"idle"!==Te&&"loading"!==Te&&(this.extRequest.update(({request:Fe,reload:Ke})=>({request:Fe,reload:Ke+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){var Te=this;return(0,f.A)(function*(){const Fe=Te.extRequest(),{status:Ke,previousStatus:Qe}=D(Te.state);if(void 0===Fe.request)return;if("loading"!==Ke)return;Te.abortInProgressLoad();let kt=Te.resolvePendingTask=Te.pendingTasks.add();const{signal:ct}=Te.pendingController=new AbortController;try{const Pt=yield D(()=>Te.loaderFn({params:Fe.request,abortSignal:ct,previous:{status:Qe}}));if(ct.aborted||D(Te.extRequest)!==Fe)return;Te.state.set({extRequest:Fe,status:"resolved",previousStatus:"resolved",stream:Pt})}catch(Pt){if(ct.aborted||D(Te.extRequest)!==Fe)return;Te.state.set({extRequest:Fe,status:"resolved",previousStatus:"error",stream:(0,g.vPA)({error:Le(Pt)},void 0)})}finally{kt?.(),kt=void 0}})()}abortInProgressLoad(){D(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}}function J(Ce){switch(Ce.status){case"loading":return 0===Ce.extRequest.reload?"loading":"reloading";case"resolved":return ne(Ce.stream())?"resolved":"error";default:return Ce.status}}function ne(Ce){return void 0===Ce.error}function Le(Ce){return function ut(Ce){return Ce instanceof Error||"object"==typeof Ce&&"string"==typeof Ce.name&&"string"==typeof Ce.message}(Ce)?Ce:new xe(Ce)}class Oe extends Error{constructor(Te){super(Te.message,{cause:Te})}}class xe extends Error{constructor(Te){super(String(Te),{cause:Te})}}},17705(ot,V,l){"use strict";l.d(V,{CGW:()=>mo,ES_:()=>$i,HJs:()=>ma,Jn2:()=>pe,L39:()=>cr,MKu:()=>et,SmG:()=>or,TL3:()=>Di,Udg:()=>Jr,_q3:()=>oe,a0P:()=>ga,ebz:()=>Xo,gRc:()=>ko,geq:()=>zo,hFB:()=>hs,naY:()=>_s,sbv:()=>Yo,tEk:()=>Jo});var Ge=l(35547),qe=l(85802),xt=l(32271),un=l(13961),gt=l(15824);const mn=Symbol("InputSignalNode#UNSET"),Rn={...gt.s0,transformFn:void 0,applyValueToInputSignal(Je,ke){(0,gt.j2)(Je,ke)}};function ii(Je,ke){const a=Object.create(Rn);function r(){if((0,gt.mK)(a),a.value===mn)throw new qe.buA(-950,null);return a.value}return a.value=Je,a.transformFn=ke?.transform,r[gt.bh]=a,r}class $i{attributeName;constructor(ke){this.attributeName=ke}__NG_ELEMENT_ID__=()=>(0,Ge.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function mo(Je){return new xt.Zf}function Vo(Je,ke){return ii(Je,ke)}const hs=(Vo.required=function yo(Je){return ii(mn,Je)},Vo);function No(Je,ke){return(0,Ge.mU9)(ke)}const Xo=(No.required=function uo(Je,ke){return(0,Ge.hnC)(ke)},No);function is(Je,ke){return(0,Ge.mU9)(ke)}const Yo=(is.required=function ls(Je,ke){return(0,Ge.hnC)(ke)},is);function Jo(Je,ke){return(0,Ge.FuF)(ke)}function ho(Je,ke){const a=Object.create(Rn),r=new xt.Zf;function e(){return(0,gt.mK)(a),es(a.value),a.value}return a.value=Je,e[gt.bh]=a,e.asReadonly=qe.HO5.bind(e),e.set=t=>{a.equal(a.value,t)||((0,gt.j2)(a,t),r.emit(t))},e.update=t=>{es(a.value),e.set(t(a.value))},e.subscribe=r.subscribe.bind(r),e.destroyRef=r.destroyRef,e}function es(Je){if(Je===mn)throw new qe.buA(952,!1)}function bo(Je,ke){return ho(Je)}const zo=(bo.required=function Po(Je){return ho(mn)},bo);let Z=(()=>{class Je{zone=(0,qe.WQX)(qe.SKi);
vendor: 14,003 bytes, line 1
1changeDetectionScheduler=(0,qe.WQX)(qe.hk6);applicationRef=(0,qe.WQX)(Ge.o8S);applicationErrorHandler=(0,qe.WQX)(qe.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(a){this.applicationErrorHandler(a)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||Je)};static \u0275prov=(0,qe.jDH)({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})();const nt=new qe.nKC("",{factory:()=>!1});function pe(Je){const ke=Je?.scheduleInRootZone,a=function j({ngZoneFactory:Je,scheduleInRootZone:ke}){return Je??=()=>new qe.SKi({...Ye(),scheduleInRootZone:ke}),[{provide:qe.Evm,useValue:!1},{provide:qe.SKi,useFactory:Je},{provide:qe.Z63,multi:!0,useFactory:()=>{const a=(0,qe.WQX)(Z,{optional:!0});return()=>a.initialize()}},{provide:qe.Z63,multi:!0,useFactory:()=>{const a=(0,qe.WQX)(Ft);return()=>{a.initialize()}}},{provide:qe.AQb,useValue:ke??qe.kHH}]}({ngZoneFactory:()=>{const r=Ye(Je);return r.scheduleInRootZone=ke,r.shouldCoalesceEventChangeDetection&&(0,Ge._jY)("NgZone_CoalesceEvent"),new qe.SKi(r)},scheduleInRootZone:ke});return(0,qe.EmA)([{provide:nt,useValue:!0},a])}function Ye(Je){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:Je?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:Je?.runCoalescing??!1}}let Ft=(()=>{class Je{subscription=new un.yU;initialized=!1;zone=(0,qe.WQX)(qe.SKi);pendingTasks=(0,qe.WQX)(qe.rev);initialize(){if(this.initialized)return;this.initialized=!0;let a=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(a=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{qe.SKi.assertNotInAngularZone(),queueMicrotask(()=>{null!==a&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(a),a=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{qe.SKi.assertInAngularZone(),a??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||Je)};static \u0275prov=(0,qe.jDH)({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})();const So=new qe.nKC(""),cs=new qe.nKC("");function us(Je){return!Je.moduleRef}let be=null;function _s(){return!1}function or(){}let ko=(()=>class Je{static __NG_ELEMENT_ID__=io})();function io(Je){return function _r(Je,ke,a){if((0,qe.Qs1)(Je)&&!a){const r=(0,qe.KdJ)(Je.index,ke);return new Ge.NCX(r,r)}return 175&Je.type?new Ge.NCX(ke[qe.b5C],ke):null}((0,qe.Mx4)(),(0,qe.OAn)(),!(16&~Je))}class Js{supports(ke){return(0,Ge.ozJ)(ke)}create(ke){return new yr(ke)}}const kr=(Je,ke)=>ke;class yr{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(ke){this._trackByFn=ke||kr}forEachItem(ke){let a;for(a=this._itHead;null!==a;a=a._next)ke(a)}forEachOperation(ke){let a=this._itHead,r=this._removalsHead,e=0,t=null;for(;a||r;){const k=!r||a&&a.currentIndex<Bs(r,e,t)?a:r,re=Bs(k,e,t),u=k.currentIndex;if(k===r)e--,r=r._nextRemoved;else if(a=a._next,null==k.previousIndex)e++;else{t||(t=[]);const E=re-e,Oi=u-e;if(E!=Oi){for(let Ho=0;Ho<E;Ho++){const $o=Ho<t.length?t[Ho]:t[Ho]=0,Us=$o+Ho;Oi<=Us&&Us<E&&(t[Ho]=$o+1)}t[k.previousIndex]=Oi-E}}re!==u&&ke(k,re,u)}}forEachPreviousItem(ke){let a;for(a=this._previousItHead;null!==a;a=a._nextPrevious)ke(a)}forEachAddedItem(ke){let a;for(a=this._additionsHead;null!==a;a=a._nextAdded)ke(a)}forEachMovedItem(ke){let a;for(a=this._movesHead;null!==a;a=a._nextMoved)ke(a)}forEachRemovedItem(ke){let a;for(a=this._removalsHead;null!==a;a=a._nextRemoved)ke(a)}forEachIdentityChange(ke){let a;for(a=this._identityChangesHead;null!==a;a=a._nextIdentityChange)ke(a)}diff(ke){if(null==ke&&(ke=[]),!(0,Ge.ozJ)(ke))throw new qe.buA(900,!1);return this.check(ke)?this:null}onDestroy(){}check(ke){this._reset();let e,t,k,a=this._itHead,r=!1;if(Array.isArray(ke)){this.length=ke.length;for(let re=0;re<this.length;re++)t=ke[re],k=this._trackByFn(re,t),null!==a&&Object.is(a.trackById,k)?(r&&(a=this._verifyReinsertion(a,t,k,re)),Object.is(a.item,t)||this._addIdentityChange(a,t)):(a=this._mismatch(a,t,k,re),r=!0),a=a._next}else e=0,(0,Ge.utN)(ke,re=>{k=this._trackByFn(e,re),null!==a&&Object.is(a.trackById,k)?(r&&(a=this._verifyReinsertion(a,re,k,e)),Object.is(a.item,re)||this._addIdentityChange(a,re)):(a=this._mismatch(a,re,k,e),r=!0),a=a._next,e++}),this.length=e;return this._truncate(a),this.collection=ke,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let ke;for(ke=this._previousItHead=this._itHead;null!==ke;ke=ke._next)ke._nextPrevious=ke._next;for(ke=this._additionsHead;null!==ke;ke=ke._nextAdded)ke.previousIndex=ke.currentIndex;for(this._additionsHead=this._additionsTail=null,ke=this._movesHead;null!==ke;ke=ke._nextMoved)ke.previousIndex=ke.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(ke,a,r,e){let t;return null===ke?t=this._itTail:(t=ke._prev,this._remove(ke)),null!==(ke=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(ke.item,a)||this._addIdentityChange(ke,a),this._reinsertAfter(ke,t,e)):null!==(ke=null===this._linkedRecords?null:this._linkedRecords.get(r,e))?(Object.is(ke.item,a)||this._addIdentityChange(ke,a),this._moveAfter(ke,t,e)):ke=this._addAfter(new Ts(a,r),t,e),ke}_verifyReinsertion(ke,a,r,e){let t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==t?ke=this._reinsertAfter(t,ke._prev,e):ke.currentIndex!=e&&(ke.currentIndex=e,this._addToMoves(ke,e)),ke}_truncate(ke){for(;null!==ke;){const a=ke._next;this._addToRemovals(this._unlink(ke)),ke=a}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(ke,a,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(ke);const e=ke._prevRemoved,t=ke._nextRemoved;return null===e?this._removalsHead=t:e._nextRemoved=t,null===t?this._removalsTail=e:t._prevRemoved=e,this._insertAfter(ke,a,r),this._addToMoves(ke,r),ke}_moveAfter(ke,a,r){return this._unlink(ke),this._insertAfter(ke,a,r),this._addToMoves(ke,r),ke}_addAfter(ke,a,r){return this._insertAfter(ke,a,r),this._additionsTail=null===this._additionsTail?this._additionsHead=ke:this._additionsTail._nextAdded=ke,ke}_insertAfter(ke,a,r){const e=null===a?this._itHead:a._next;return ke._next=e,ke._prev=a,null===e?this._itTail=ke:e._prev=ke,null===a?this._itHead=ke:a._next=ke,null===this._linkedRecords&&(this._linkedRecords=new Cs),this._linkedRecords.put(ke),ke.currentIndex=r,ke}_remove(ke){return this._addToRemovals(this._unlink(ke))}_unlink(ke){null!==this._linkedRecords&&this._linkedRecords.remove(ke);const a=ke._prev,r=ke._next;return null===a?this._itHead=r:a._next=r,null===r?this._itTail=a:r._prev=a,ke}_addToMoves(ke,a){return ke.previousIndex===a||(this._movesTail=null===this._movesTail?this._movesHead=ke:this._movesTail._nextMoved=ke),ke}_addToRemovals(ke){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Cs),this._unlinkedRecords.put(ke),ke.currentIndex=null,ke._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=ke,ke._prevRemoved=null):(ke._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=ke),ke}_addIdentityChange(ke,a){return ke.item=a,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=ke:this._identityChangesTail._nextIdentityChange=ke,ke}}class Ts{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(ke,a){this.item=ke,this.trackById=a}}class Eo{_head=null;_tail=null;add(ke){null===this._head?(this._head=this._tail=ke,ke._nextDup=null,ke._prevDup=null):(this._tail._nextDup=ke,ke._prevDup=this._tail,ke._nextDup=null,this._tail=ke)}get(ke,a){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===a||a<=r.currentIndex)&&Object.is(r.trackById,ke))return r;return null}remove(ke){const a=ke._prevDup,r=ke._nextDup;return null===a?this._head=r:a._nextDup=r,null===r?this._tail=a:r._prevDup=a,null===this._head}}class Cs{map=new Map;put(ke){const a=ke.trackById;let r=this.map.get(a);r||(r=new Eo,this.map.set(a,r)),r.add(ke)}get(ke,a){const e=this.map.get(ke);return e?e.get(ke,a):null}remove(ke){const a=ke.trackById;return this.map.get(a).remove(ke)&&this.map.delete(a),ke}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Bs(Je,ke,a){const r=Je.previousIndex;if(null===r)return r;let e=0;return a&&r<a.length&&(e=a[r]),r+ke+e}class Rr{supports(ke){return ke instanceof Map||(0,Ge.vDg)(ke)}create(){return new R}}class R{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(ke){let a;for(a=this._mapHead;null!==a;a=a._next)ke(a)}forEachPreviousItem(ke){let a;for(a=this._previousMapHead;null!==a;a=a._nextPrevious)ke(a)}forEachChangedItem(ke){let a;for(a=this._changesHead;null!==a;a=a._nextChanged)ke(a)}forEachAddedItem(ke){let a;for(a=this._additionsHead;null!==a;a=a._nextAdded)ke(a)}forEachRemovedItem(ke){let a;for(a=this._removalsHead;null!==a;a=a._nextRemoved)ke(a)}diff(ke){if(ke){if(!(ke instanceof Map||(0,Ge.vDg)(ke)))throw new qe.buA(900,!1)}else ke=new Map;return this.check(ke)?this:null}check(ke){this._reset();let a=this._mapHead;if(this._appendAfter=null,this._forEach(ke,(r,e)=>{if(a&&a.key===e)this._maybeAddToChanges(a,r),this._appendAfter=a,a=a._next;else{const t=this._getOrCreateRecordForKey(e,r);a=this._insertBeforeOrAppend(a,t)}}),a){a._prev&&(a._prev._next=null),this._removalsHead=a;for(let r=a;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(ke,a){if(ke){const r=ke._prev;return a._next=ke,a._prev=r,ke._prev=a,r&&(r._next=a),ke===this._mapHead&&(this._mapHead=a),this._appendAfter=ke,ke}return this._appendAfter?(this._appendAfter._next=a,a._prev=this._appendAfter):this._mapHead=a,this._appendAfter=a,null}_getOrCreateRecordForKey(ke,a){if(this._records.has(ke)){const e=this._records.get(ke);this._maybeAddToChanges(e,a);const t=e._prev,k=e._next;return t&&(t._next=k),k&&(k._prev=t),e._next=null,e._prev=null,e}const r=new I(ke);return this._records.set(ke,r),r.currentValue=a,this._addToAdditions(r),r}_reset(){if(this.isDirty){let ke;for(this._previousMapHead=this._mapHead,ke=this._previousMapHead;null!==ke;ke=ke._next)ke._nextPrevious=ke._next;for(ke=this._changesHead;null!==ke;ke=ke._nextChanged)ke.previousValue=ke.currentValue;for(ke=this._additionsHead;null!=ke;ke=ke._nextAdded)ke.previousValue=ke.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(ke,a){Object.is(a,ke.currentValue)||(ke.previousValue=ke.currentValue,ke.currentValue=a,this._addToChanges(ke))}_addToAdditions(ke){null===this._additionsHead?this._additionsHead=this._additionsTail=ke:(this._additionsTail._nextAdded=ke,this._additionsTail=ke)}_addToChanges(ke){null===this._changesHead?this._changesHead=this._changesTail=ke:(this._changesTail._nextChanged=ke,this._changesTail=ke)}_forEach(ke,a){ke instanceof Map?ke.forEach(a):Object.keys(ke).forEach(r=>a(ke[r],r))}}class I{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(ke){this.key=ke}}function Q(){return new oe([new Js])}let oe=(()=>{class Je{factories;static \u0275prov=(0,qe.jDH)({token:Je,providedIn:"root",factory:Q});constructor(a){this.factories=a}static create(a,r){if(null!=r){const e=r.factories.slice();a=a.concat(e)}return new Je(a)}static extend(a){return{provide:Je,useFactory:()=>{const r=(0,qe.WQX)(Je,{optional:!0,skipSelf:!0});return Je.create(a,r||Q())}}}find(a){const r=this.factories.find(e=>e.supports(a));if(null!=r)return r;throw new qe.buA(901,!1)}}return Je})();function Be(){return new et([new Rr])}let et=(()=>{class Je{static \u0275prov=(0,qe.jDH)({token:Je,providedIn:"root",factory:Be});factories;constructor(a){this.factories=a}static create(a,r){if(r){const e=r.factories.slice();a=a.concat(e)}return new Je(a)}static extend(a){return{provide:Je,useFactory:()=>{const r=(0,qe.WQX)(Je,{optional:!0,skipSelf:!0});return Je.create(a,r||Be())}}}find(a){const r=this.factories.find(e=>e.supports(a));if(r)return r;throw new qe.buA(901,!1)}}return Je})();function Di(Je){const{rootComponent:ke,appProviders:a,platformProviders:r,platformRef:e}=Je;(0,Ge.Ef8)(Ge.mS5.BootstrapApplicationStart);try{const t=e?.injector??function Zo(Je=[]){if(be)return be;(0,Ge.pl0)();
1const ke=function tt(Je=[],ke){return qe.zZn.create({name:ke,providers:[{provide:qe.GBX,useValue:"platform"},{provide:So,useValue:new Set([()=>be=null])},...Je]})}(Je);return be=ke,(0,Ge.ypd)(),function Ns(Je){const ke=Je.get(Ge.PLl,null);(0,qe.N4e)(Je,()=>{ke?.forEach(a=>a())})}(ke),ke}(r),k=[(0,Ge.rpG)(),qe.gv8,...a||[]];return function ui(Je){const ke=us(Je)?Je.r3Injector:Je.moduleRef.injector,a=ke.get(qe.SKi);return a.run(()=>{us(Je)?Je.r3Injector.resolveInjectorInitializers():Je.moduleRef.resolveInjectorInitializers();const r=ke.get(qe.ZTf);let e;if(a.runOutsideAngular(()=>{e=a.onError.subscribe({next:r})}),us(Je)){const t=()=>ke.destroy(),k=Je.platformInjector.get(So);k.add(t),ke.onDestroy(()=>{e.unsubscribe(),k.delete(t)})}else{const t=()=>Je.moduleRef.destroy(),k=Je.platformInjector.get(So);k.add(t),Je.moduleRef.onDestroy(()=>{(0,Ge.TFI)(Je.allPlatformModules,Je.moduleRef),e.unsubscribe(),k.delete(t)})}return function xs(Je,ke,a){try{const r=a();return(0,Ge.yLl)(r)?r.catch(e=>{throw ke.runOutsideAngular(()=>Je(e)),e}):r}catch(r){throw ke.runOutsideAngular(()=>Je(r)),r}}(r,a,()=>{const t=ke.get(qe.rev),k=t.add(),re=ke.get(Ge.H1s);return re.runInitializers(),re.donePromise.then(()=>{const u=ke.get(Ge.xe9,Ge.DkB);if((0,Ge.e6s)(u||Ge.DkB),!ke.get(cs,!0))return us(Je)?ke.get(Ge.o8S):(Je.allPlatformModules.push(Je.moduleRef),Je.moduleRef);if(us(Je)){const Oi=ke.get(Ge.o8S);return void 0!==Je.rootComponent&&Oi.bootstrap(Je.rootComponent),Oi}return Je.moduleRef}).finally(()=>{t.remove(k)})})})}({r3Injector:new Ge.bH1({providers:k,parent:t,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:t,rootComponent:ke})}catch(t){return Promise.reject(t)}finally{(0,Ge.Ef8)(Ge.mS5.BootstrapApplicationEnd)}}function cr(Je){return"boolean"==typeof Je?Je:null!=Je&&"false"!==Je}function Jr(Je,ke=NaN){return isNaN(parseFloat(Je))||isNaN(Number(Je))?ke:Number(Je)}function ga(Je,ke){const a=(0,qe.xUg)(Je),r=ke.elementInjector||(0,qe.WB9)();return new Ge.eHC(a).create(r,ke.projectableNodes,ke.hostElement,ke.environmentInjector,ke.directives,ke.bindings)}function ma(Je){const ke=(0,qe.xUg)(Je);if(!ke)return null;const a=new Ge.eHC(ke);return{get selector(){return a.selector},get type(){return a.componentType},get inputs(){return a.inputs},get outputs(){return a.outputs},get ngContentSelectors(){return a.ngContentSelectors},get isStandalone(){return ke.standalone},get isSignal(){return ke.signals}}}},89079(ot,V,l){"use strict";l.d(V,{br:()=>ee,ot:()=>F,p:()=>te,pQ:()=>q});var D=l(71985),w=l(92771),O=l(56977),x=l(85802),N=l(32271);function q(ut){ut||(ut=(0,x.WQX)(x.abz));const Oe=new D.c(xe=>{if(!ut.destroyed)return ut.onDestroy(xe.next.bind(xe));xe.next()});return xe=>xe.pipe((0,O.Q)(Oe))}class K{source;destroyed=!1;destroyRef=(0,x.WQX)(x.abz);constructor(Oe){this.source=Oe,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}subscribe(Oe){if(this.destroyed)throw new x.buA(953,!1);const xe=this.source.pipe(q(this.destroyRef)).subscribe({next:Ce=>Oe(Ce)});return{unsubscribe:()=>xe.unsubscribe()}}}function te(ut,Oe){return new K(ut)}function ee(ut,Oe){const xe=Oe?.injector??(0,x.WQX)(x.zZn),Ce=new w.m(1),Te=(0,x.QZP)(()=>{let Fe;try{Fe=ut()}catch(Ke){return void(0,N.O8)(()=>Ce.error(Ke))}(0,N.O8)(()=>Ce.next(Fe))},{injector:xe,manualCleanup:!0});return xe.get(x.abz).onDestroy(()=>{Te.destroy(),Ce.complete()}),Ce.asObservable()}function F(ut,Oe){const Ce=Oe?.manualCleanup?null:Oe?.injector?.get(x.abz)??(0,x.WQX)(x.abz),Te=function J(ut=Object.is){return(Oe,xe)=>1===Oe.kind&&1===xe.kind&&ut(Oe.value,xe.value)}(Oe?.equal);let Fe,Ke;Fe=(0,x.vPA)(Oe?.requireSync?{kind:0}:{kind:1,value:Oe?.initialValue},{equal:Te});const Qe=ut.subscribe({next:kt=>Fe.set({kind:1,value:kt}),error:kt=>{Fe.set({kind:2,error:kt}),Ke?.()},complete:()=>{Ke?.()}});if(Oe?.requireSync&&0===Fe().kind)throw new x.buA(601,!1);return Ke=Ce?.onDestroy(Qe.unsubscribe.bind(Qe)),(0,N.EW)(()=>{const kt=Fe();switch(kt.kind){case 1:return kt.value;case 2:throw kt.error;case 0:throw new x.buA(601,!1)}},{equal:Oe?.equal})}},89417(ot,V,l){"use strict";l.d(V,{$R:()=>$i,BC:()=>bt,Fm:()=>Ge,JD:()=>yo,MJ:()=>xo,Q0:()=>ze,Qk:()=>Qo,X1:()=>qo,YN:()=>xs,YS:()=>Z,Yp:()=>un,ZU:()=>je,Zm:()=>N,cV:()=>Ti,cb:()=>we,cz:()=>J,gE:()=>En,j4:()=>uo,k0:()=>Le,kq:()=>O,l_:()=>vi,me:()=>H,ok:()=>ss,pg:()=>ne,qT:()=>Ie,rS:()=>Li,tU:()=>Ji,v8:()=>no,vO:()=>St,vS:()=>Io,wz:()=>ls,xH:()=>Yo,xh:()=>Ft,y7:()=>Po});var g=l(35547),h=l(85802),_=l(17705),C=l(32271),o=l(18530),y=l(27468),d=l(19724),M=l(96354),A=l(46494);let D=(()=>{class be{_renderer;_elementRef;onChange=se=>{};onTouched=()=>{};constructor(se,tt){this._renderer=se,this._elementRef=tt}setProperty(se,tt){this._renderer.setProperty(this._elementRef.nativeElement,se,tt)}registerOnTouched(se){this.onTouched=se}registerOnChange(se){this.onChange=se}setDisabledState(se){this.setProperty("disabled",se)}static \u0275fac=function(tt){return new(tt||be)(g.rXU(g.sFG),g.rXU(g.aKT))};static \u0275dir=g.FsC({type:be})}return be})(),w=(()=>{class be extends D{static \u0275fac=(()=>{let se;return function($t){return(se||(se=g.xGo(be)))($t||be)}})();static \u0275dir=g.FsC({type:be,features:[g.Vt3]})}return be})();const O=new h.nKC(""),x={provide:O,useExisting:(0,h.Rfq)(()=>N),multi:!0};let N=(()=>{class be extends w{writeValue(se){this.setProperty("checked",se)}static \u0275fac=(()=>{let se;return function($t){return(se||(se=g.xGo(be)))($t||be)}})();static \u0275dir=g.FsC({type:be,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(tt,$t){1&tt&&g.bIt("change",function(Bi){return $t.onCh
1ange(Bi.target.checked)})("blur",function(){return $t.onTouched()})},standalone:!1,features:[g.Jv_([x]),g.Vt3]})}return be})();const q={provide:O,useExisting:(0,h.Rfq)(()=>H),multi:!0},te=new h.nKC("");let H=(()=>{class be extends D{_compositionMode;_composing=!1;constructor(se,tt,$t){super(se,tt),this._compositionMode=$t,null==this._compositionMode&&(this._compositionMode=!function K(){const be=(0,A.rb)()?(0,A.rb)().getUserAgent():"";return/android (\d+)/.test(be.toLowerCase())}())}writeValue(se){this.setProperty("value",se??"")}_handleInput(se){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(se)}_compositionStart(){this._composing=!0}_compositionEnd(se){this._composing=!1,this._compositionMode&&this.onChange(se)}static \u0275fac=function(tt){return new(tt||be)(g.rXU(g.sFG),g.rXU(g.aKT),g.rXU(te,8))};static \u0275dir=g.FsC({type:be,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(tt,$t){1&tt&&g.bIt("input",function(Bi){return $t._handleInput(Bi.target.value)})("blur",function(){return $t.onTouched()})("compositionstart",function(){return $t._compositionStart()})("compositionend",function(Bi){return $t._compositionEnd(Bi.target.value)})},standalone:!1,features:[g.Jv_([q]),g.Vt3]})}return be})();function ee(be){return null==be||0===F(be)}function F(be){return null==be?null:Array.isArray(be)||"string"==typeof be?be.length:be instanceof Set?be.size:null}const J=new h.nKC(""),ne=new h.nKC(""),de=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Le{static min(Ae){return function ut(be){return Ae=>{if(null==Ae.value||null==be)return null;const se=parseFloat(Ae.value);return!isNaN(se)&&se<be?{min:{min:be,actual:Ae.value}}:null}}(Ae)}static max(Ae){return function Oe(be){return Ae=>{if(null==Ae.value||null==be)return null;const se=parseFloat(Ae.value);return!isNaN(se)&&se>be?{max:{max:be,actual:Ae.value}}:null}}(Ae)}static required(Ae){return xe(Ae)}static requiredTrue(Ae){return function Ce(be){return!0===be.value?null:{required:!0}}(Ae)}static email(Ae){return function Te(be){return ee(be.value)||de.test(be.value)?null:{email:!0}}(Ae)}static minLength(Ae){return Fe(Ae)}static maxLength(Ae){return Ke(Ae)}static pattern(Ae){return function Qe(be){if(!be)return kt;let Ae,se;return"string"==typeof be?(se="","^"!==be.charAt(0)&&(se+="^"),se+=be,"$"!==be.charAt(be.length-1)&&(se+="$"),Ae=new RegExp(se)):(se=be.toString(),Ae=be),tt=>{if(ee(tt.value))return null;const $t=tt.value;return Ae.test($t)?null:{pattern:{requiredPattern:se,actualValue:$t}}}}(Ae)}static nullValidator(Ae){return null}static compose(Ae){return ve(Ae)}static composeAsync(Ae){return Pe(Ae)}}function xe(be){return ee(be.value)?{required:!0}:null}function Fe(be){return Ae=>{const se=Ae.value?.length??F(Ae.value);return null===se||0===se?null:se<be?{minlength:{requiredLength:be,actualLength:se}}:null}}function Ke(be){return Ae=>{const se=Ae.value?.length??F(Ae.value);return null!==se&&se>be?{maxlength:{requiredLength:be,actualLength:se}}:null}}function kt(be){return null}function ct(be){return null!=be}function Pt(be){return(0,g.yLl)(be)?(0,d.H)(be):be}function Ze(be){let Ae={};return be.forEach(se=>{Ae=null!=se?{...Ae,...se}:Ae}),0===Object.keys(Ae).length?null:Ae}function fe(be,Ae){return Ae.map(se=>se(be))}function Xe(be){return be.map(Ae=>function ie(be){return!be.validate}(Ae)?Ae:se=>Ae.validate(se))}function ve(be){if(!be)return null;const Ae=be.filter(ct);return 0==Ae.length?null:function(se){return Ze(fe(se,Ae))}}function he(be){return null!=be?ve(Xe(be)):null}function Pe(be){if(!be)return null;const Ae=be.filter(ct);return 0==Ae.length?null:function(se){const tt=fe(se,Ae).map(Pt);return(0,y.p)(tt).pipe((0,M.T)(Ze))}}function Ve(be){return null!=be?Pe(Xe(be)):null}function dt(be,Ae){return null===be?[Ae]:Array.isArray(be)?[...be,Ae]:[be,Ae]}function Dt(be){return be._rawValidators}function wt(be){return be._rawAsyncValidators}function Yt(be){return be?Array.isArray(be)?be:[be]:[]}function Tt(be,Ae){return Array.isArray(be)?be.includes(Ae):be===Ae}function qt(be,Ae){const se=Yt(Ae);return Yt(be).forEach($t=>{Tt(se,$t)||se.push($t)}
1),se}function We(be,Ae){return Yt(Ae).filter(se=>!Tt(be,se))}class yt{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(Ae){this._rawValidators=Ae||[],this._composedValidatorFn=he(this._rawValidators)}_setAsyncValidators(Ae){this._rawAsyncValidators=Ae||[],this._composedAsyncValidatorFn=Ve(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(Ae){this._onDestroyCallbacks.push(Ae)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ae=>Ae()),this._onDestroyCallbacks=[]}reset(Ae=void 0){this.control?.reset(Ae)}hasError(Ae,se){return!!this.control&&this.control.hasError(Ae,se)}getError(Ae,se){return this.control?this.control.getError(Ae,se):null}}class je extends yt{name;get formDirective(){return null}get path(){return null}}class St extends yt{_parent=null;name=null;valueAccessor=null}class me{_cd;constructor(Ae){this._cd=Ae}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let bt=(()=>{class be extends me{constructor(se){super(se)}static \u0275fac=function(tt){return new(tt||be)(g.rXU(St,2))};static \u0275dir=g.FsC({type:be,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(tt,$t){2&tt&&g.AVh("ng-untouched",$t.isUntouched)("ng-touched",$t.isTouched)("ng-pristine",$t.isPristine)("ng-dirty",$t.isDirty)("ng-valid",$t.isValid)("ng-invalid",$t.isInvalid)("ng-pending",$t.isPending)},standalone:!1,features:[g.Vt3]})}return be})(),we=(()=>{class be extends me{constructor(se){super(se)}static \u0275fac=function(tt){return new(tt||be)(g.rXU(je,10))};static \u0275dir=g.FsC({type:be,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(tt,$t){2&tt&&g.AVh("ng-untouched",$t.isUntouched)("ng-touched",$t.isTouched)("ng-pristine",$t.isPristine)("ng-dirty",$t.isDirty)("ng-valid",$t.isValid)("ng-invalid",$t.isInvalid)("ng-pending",$t.isPending)("ng-submitted",$t.isSubmitted)},standalone:!1,features:[g.Vt3]})}return be})();const Pn="VALID",xn="INVALID",ei="PENDING",ci="DISABLED";class ri{}class fi extends ri{value;source;constructor(Ae,se){super(),this.value=Ae,this.source=se}}class so extends ri{pristine;source;constructor(Ae,se){super(),this.pristine=Ae,this.source=se}}class Li extends ri{touched;source;constructor(Ae,se){super(),this.touched=Ae,this.source=se}}class Cn extends ri{status;source;constructor(Ae,se){super(),this.status=Ae,this.source=se}}class ti extends ri{source;constructor(Ae){super(),this.source=Ae}}class si extends ri{source;constructor(Ae){super(),this.source=Ae}}function Ei(be){return(Wi(be)?be.validators:be)||null}function Ki(be,Ae){return(Wi(Ae)?Ae.asyncValidators:be)||null}function Wi(be){return null!=be&&!Array.isArray(be)&&"object"==typeof be}function qi(be,Ae,se){const tt=be.controls;if(!(Ae?Object.keys(tt):tt).length)throw new h.buA(1e3,"");if(!tt[se])throw new h.buA(1001,"")}function eo(be,Ae,se){be._forEachChild((tt,$t)=>{if(void 0===se[$t])throw new h.buA(-1002,"")})}class Yi{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(Ae,se){this._assignValidators(Ae),this._assignAsyncValidators(se)}get validator(){return this._composedValidatorFn}set validator(Ae){this._rawValidators=this._composedValidatorFn=Ae}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ae){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ae}get parent(){return this._parent}get status(){return(0,C.O8)(this.statusReactive)}set status(Ae){(0,C.O8)(()=>this.statusReactive.set(Ae))}_status=(0,C.EW)(()=>this.statusReactive());statusReactive=(0,h.vPA)(void 0);get valid(){return this.status===Pn}get invalid(){return this.status===xn}get pending(){return this.status===ei}get disabled(){return this.status===ci}get enabled(){return this.status!==ci}errors;get pristine(){return(0,C.O8)(this.pristineReactive)}set pristine(Ae){(0,C.O8)(()=>this.pristineReactive.set(Ae))}_pristine=(0,C.EW)(()=>this.pristineReactive());pristineReactive=(0,h.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,C.O8)(this.touchedReactive)}set touched(Ae){(0,C.O8)(()=>this.touchedReactive.set(Ae))}_touched=(0,C.EW)(()=>this.touchedReactive());touchedReactive=(0,h.vPA)(!1);get untouched(){return!this.touched}_events=new o.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ae){this._assignValidators(Ae)}setAsyncValidators(Ae){this._assignAsyncValidators(Ae)}addValidators(Ae){this.setValidators(qt(Ae,this._rawValidators))}addAsyncValidators(Ae){this.setAsyncValidators(qt(Ae,this._rawAsyncValidators))}removeValidators(Ae){this.setValidators(We(Ae,this._rawValidators))}removeAsyncValidators(Ae){this.setAsyncValidators(We(Ae,this._rawAsyncValidators))}hasValidator(Ae){return Tt(this._rawValidators,Ae)}hasAsyncValidator(Ae){return Tt(this._rawAsyncValidators,Ae)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ae={}){const se=!1===this.touched;this.touched=!0;const tt=Ae.sourceControl??this;Ae.onlySelf||this._parent?.markAsTouched({...Ae,sourceControl:tt}),se&&!1!==Ae.emitEvent&&this._events.next(new Li(!0,tt))}
vendor: 5,575 bytes, line 1
1markAllAsDirty(Ae={}){this.markAsDirty({onlySelf:!0,emitEvent:Ae.emitEvent,sourceControl:this}),this._forEachChild(se=>se.markAllAsDirty(Ae))}markAllAsTouched(Ae={}){this.markAsTouched({onlySelf:!0,emitEvent:Ae.emitEvent,sourceControl:this}),this._forEachChild(se=>se.markAllAsTouched(Ae))}markAsUntouched(Ae={}){const se=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const tt=Ae.sourceControl??this;this._forEachChild($t=>{$t.markAsUntouched({onlySelf:!0,emitEvent:Ae.emitEvent,sourceControl:tt})}),Ae.onlySelf||this._parent?._updateTouched(Ae,tt),se&&!1!==Ae.emitEvent&&this._events.next(new Li(!1,tt))}markAsDirty(Ae={}){const se=!0===this.pristine;this.pristine=!1;const tt=Ae.sourceControl??this;Ae.onlySelf||this._parent?.markAsDirty({...Ae,sourceControl:tt}),se&&!1!==Ae.emitEvent&&this._events.next(new so(!1,tt))}markAsPristine(Ae={}){const se=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const tt=Ae.sourceControl??this;this._forEachChild($t=>{$t.markAsPristine({onlySelf:!0,emitEvent:Ae.emitEvent})}),Ae.onlySelf||this._parent?._updatePristine(Ae,tt),se&&!1!==Ae.emitEvent&&this._events.next(new so(!0,tt))}markAsPending(Ae={}){this.status=ei;const se=Ae.sourceControl??this;!1!==Ae.emitEvent&&(this._events.next(new Cn(this.status,se)),this.statusChanges.emit(this.status)),Ae.onlySelf||this._parent?.markAsPending({...Ae,sourceControl:se})}disable(Ae={}){const se=this._parentMarkedDirty(Ae.onlySelf);this.status=ci,this.errors=null,this._forEachChild($t=>{$t.disable({...Ae,onlySelf:!0})}),this._updateValue();const tt=Ae.sourceControl??this;!1!==Ae.emitEvent&&(this._events.next(new fi(this.value,tt)),this._events.next(new Cn(this.status,tt)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Ae,skipPristineCheck:se},this),this._onDisabledChange.forEach($t=>$t(!0))}enable(Ae={}){const se=this._parentMarkedDirty(Ae.onlySelf);this.status=Pn,this._forEachChild(tt=>{tt.enable({...Ae,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ae.emitEvent}),this._updateAncestors({...Ae,skipPristineCheck:se},this),this._onDisabledChange.forEach(tt=>tt(!1))}_updateAncestors(Ae,se){Ae.onlySelf||(this._parent?.updateValueAndValidity(Ae),Ae.skipPristineCheck||this._parent?._updatePristine({},se),this._parent?._updateTouched({},se))}setParent(Ae){this._parent=Ae}getRawValue(){return this.value}updateValueAndValidity(Ae={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const tt=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Pn||this.status===ei)&&this._runAsyncValidator(tt,Ae.emitEvent)}const se=Ae.sourceControl??this;!1!==Ae.emitEvent&&(this._events.next(new fi(this.value,se)),this._events.next(new Cn(this.status,se)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),Ae.onlySelf||this._parent?.updateValueAndValidity({...Ae,sourceControl:se})}_updateTreeValidity(Ae={emitEvent:!0}){this._forEachChild(se=>se._updateTreeValidity(Ae)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ae.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ci:Pn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ae,se){if(this.asyncValidator){this.status=ei,this._hasOwnPendingAsyncValidator={emitEvent:!1!==se,shouldHaveEmitted:!1!==Ae};const tt=Pt(this.asyncValidator(this));this._asyncValidationSubscription=tt.subscribe($t=>{this._hasOwnPendingAsyncValidator=null,this.setErrors($t,{emitEvent:se,shouldHaveEmitted:Ae})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const Ae=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,Ae}return!1}setErrors(Ae,se={}){this.errors=Ae,this._updateControlsErrors(!1!==se.emitEvent,this,se.shouldHaveEmitted)}get(Ae){let se=Ae;return null==se||(Array.isArray(se)||(se=se.split(".")),0===se.length)?null:se.reduce((tt,$t)=>tt&&tt._find($t),this)}getError(Ae,se){const tt=se?this.get(se):this;return tt?.errors?tt.errors[Ae]:null}hasError(Ae,se){return!!this.getError(Ae,se)}get root(){let Ae=this;for(;Ae._parent;)Ae=Ae._parent;return Ae}_updateControlsErrors(Ae,se,tt){this.status=this._calculateStatus(),Ae&&this.statusChanges.emit(this.status),(Ae||tt)&&this._events.next(new Cn(this.status,se)),this._parent&&this._parent._updateControlsErrors(Ae,se,tt)}_initObservables(){this.valueChanges=new h.bkB,this.statusChanges=new h.bkB}_calculateStatus(){return this._allControlsDisabled()?ci:this.errors?xn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ei)?ei:this._anyControlsHaveStatus(xn)?xn:Pn}_anyControlsHaveStatus(Ae){return this._anyControls(se=>se.status===Ae)}_anyControlsDirty(){return this._anyControls(Ae=>Ae.dirty)}_anyControlsTouched(){return this._anyControls(Ae=>Ae.touched)}_updatePristine(Ae,se){const tt=!this._anyControlsDirty(),$t=this.pristine!==tt;this.pristine=tt,Ae.onlySelf||this._parent?._updatePristine(Ae,se),$t&&this._events.next(new so(this.pristine,se))}_updateTouched(Ae={},se){this.touched=this._anyControlsTouched(),this._events.next(new Li(this.touched,se)),Ae.onlySelf||this._parent?._updateTouched(Ae,se)}_onDisabledChange=[];_registerOnCollectionChange(Ae){this._onCollectionChange=Ae}_setUpdateStrategy(Ae){Wi(Ae)&&null!=Ae.updateOn&&(this._updateOn=Ae.updateOn)}_parentMarkedDirty(Ae){return!Ae&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}
vendor: 6,906 bytes, line 1
1_find(Ae){return null}_assignValidators(Ae){this._rawValidators=Array.isArray(Ae)?Ae.slice():Ae,this._composedValidatorFn=function An(be){return Array.isArray(be)?he(be):be||null}(this._rawValidators)}_assignAsyncValidators(Ae){this._rawAsyncValidators=Array.isArray(Ae)?Ae.slice():Ae,this._composedAsyncValidatorFn=function Hi(be){return Array.isArray(be)?Ve(be):be||null}(this._rawAsyncValidators)}}class En extends Yi{constructor(Ae,se,tt){super(Ei(se),Ki(tt,se)),this.controls=Ae,this._initObservables(),this._setUpdateStrategy(se),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(Ae,se){return this.controls[Ae]?this.controls[Ae]:(this.controls[Ae]=se,se.setParent(this),se._registerOnCollectionChange(this._onCollectionChange),se)}addControl(Ae,se,tt={}){this.registerControl(Ae,se),this.updateValueAndValidity({emitEvent:tt.emitEvent}),this._onCollectionChange()}removeControl(Ae,se={}){this.controls[Ae]&&this.controls[Ae]._registerOnCollectionChange(()=>{}),delete this.controls[Ae],this.updateValueAndValidity({emitEvent:se.emitEvent}),this._onCollectionChange()}setControl(Ae,se,tt={}){this.controls[Ae]&&this.controls[Ae]._registerOnCollectionChange(()=>{}),delete this.controls[Ae],se&&this.registerControl(Ae,se),this.updateValueAndValidity({emitEvent:tt.emitEvent}),this._onCollectionChange()}contains(Ae){return this.controls.hasOwnProperty(Ae)&&this.controls[Ae].enabled}setValue(Ae,se={}){eo(this,0,Ae),Object.keys(Ae).forEach(tt=>{qi(this,!0,tt),this.controls[tt].setValue(Ae[tt],{onlySelf:!0,emitEvent:se.emitEvent})}),this.updateValueAndValidity(se)}patchValue(Ae,se={}){null!=Ae&&(Object.keys(Ae).forEach(tt=>{const $t=this.controls[tt];$t&&$t.patchValue(Ae[tt],{onlySelf:!0,emitEvent:se.emitEvent})}),this.updateValueAndValidity(se))}reset(Ae={},se={}){this._forEachChild((tt,$t)=>{tt.reset(Ae?Ae[$t]:null,{...se,onlySelf:!0})}),this._updatePristine(se,this),this._updateTouched(se,this),this.updateValueAndValidity(se),!1!==se?.emitEvent&&this._events.next(new si(this))}getRawValue(){return this._reduceChildren({},(Ae,se,tt)=>(Ae[tt]=se.getRawValue(),Ae))}_syncPendingControls(){let Ae=this._reduceChildren(!1,(se,tt)=>!!tt._syncPendingControls()||se);return Ae&&this.updateValueAndValidity({onlySelf:!0}),Ae}_forEachChild(Ae){Object.keys(this.controls).forEach(se=>{const tt=this.controls[se];tt&&Ae(tt,se)})}_setUpControls(){this._forEachChild(Ae=>{Ae.setParent(this),Ae._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ae){for(const[se,tt]of Object.entries(this.controls))if(this.contains(se)&&Ae(tt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(se,tt,$t)=>((tt.enabled||this.disabled)&&(se[$t]=tt.value),se))}_reduceChildren(Ae,se){let tt=Ae;return this._forEachChild(($t,ni)=>{tt=se(tt,$t,ni)}),tt}_allControlsDisabled(){for(const Ae of Object.keys(this.controls))if(this.controls[Ae].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Ae){return this.controls.hasOwnProperty(Ae)?this.controls[Ae]:null}}class _t extends En{}const ye=new h.nKC("",{factory:()=>lt}),lt="always";function Vt(be,Ae){return[...Ae.path,be]}function On(be,Ae,se=lt){ht(be,Ae),Ae.valueAccessor.writeValue(be.value),(be.disabled||"always"===se)&&Ae.valueAccessor.setDisabledState?.(be.disabled),function jt(be,Ae){Ae.valueAccessor.registerOnChange(se=>{be._pendingValue=se,be._pendingChange=!0,be._pendingDirty=!0,"change"===be.updateOn&&rn(be,Ae)})}(be,Ae),function Sn(be,Ae){const se=(tt,$t)=>{Ae.valueAccessor.writeValue(tt),$t&&Ae.viewToModelUpdate(tt)};be.registerOnChange(se),Ae._registerOnDestroy(()=>{be._unregisterOnChange(se)})}(be,Ae),function nn(be,Ae){Ae.valueAccessor.registerOnTouched(()=>{be._pendingTouched=!0,"blur"===be.updateOn&&be._pendingChange&&rn(be,Ae),"submit"!==be.updateOn&&be.markAsTouched()})}(be,Ae),function Ni(be,Ae){if(Ae.valueAccessor.setDisabledState){const se=tt=>{Ae.valueAccessor.setDisabledState(tt)};be.registerOnDisabledChange(se),Ae._registerOnDestroy(()=>{be._unregisterOnDisabledChange(se)})}}(be,Ae)}function Bn(be,Ae,se=!0){const tt=()=>{};Ae?.valueAccessor?.registerOnChange(tt),Ae?.valueAccessor?.registerOnTouched(tt),At(be,Ae),be&&(Ae._invokeOnDestroyCallbacks(),be._registerOnCollectionChange(()=>{}))}function Qn(be,Ae){be.forEach(se=>{se.registerOnValidatorChange&&se.registerOnValidatorChange(Ae)})}function ht(be,Ae){const se=Dt(be);null!==Ae.validator?be.setValidators(dt(se,Ae.validator)):"function"==typeof se&&be.setValidators([se]);const tt=wt(be);null!==Ae.asyncValidator?be.setAsyncValidators(dt(tt,Ae.asyncValidator)):"function"==typeof tt&&be.setAsyncValidators([tt]);const $t=()=>be.updateValueAndValidity();Qn(Ae._rawValidators,$t),Qn(Ae._rawAsyncValidators,$t)}function At(be,Ae){let se=!1;if(null!==be){if(null!==Ae.validator){const $t=Dt(be);if(Array.isArray($t)&&$t.length>0){const ni=$t.filter(Bi=>Bi!==Ae.validator);ni.length!==$t.length&&(se=!0,be.setValidators(ni))}}if(null!==Ae.asyncValidator){const $t=wt(be);if(Array.isArray($t)&&$t.length>0){const ni=$t.filter(Bi=>Bi!==Ae.asyncValidator);ni.length!==$t.length&&(se=!0,be.setAsyncValidators(ni))}}}const tt=()=>{};return Qn(Ae._rawValidators,tt),Qn(Ae._rawAsyncValidators,tt),se}function rn(be,Ae){be._pendingDirty&&be.markAsDirty(),be.setValue(be._pendingValue,{emitModelToViewChange:!1}),Ae.viewToModelUpdate(be._pendingValue),be._pendingChange=!1}function kn(be,Ae){ht(be,Ae)}function Kn(be,Ae){if(!be.hasOwnProperty("model"))return!1;const se=be.model;return!!se.isFirstChange()||!Object.is(Ae,se.currentValue)}function Pi(be,Ae){be._syncPendingControls(),Ae.forEach(se=>{const tt=se.control;"submit"===tt.updateOn&&tt._pendingChange&&(se.viewToModelUpdate(tt._pendingValue),tt._pendingChange=!1)})}function oi(be,Ae){if(!Ae)return null;let se,tt,$t;return Array.isArray(Ae),Ae.forEach(ni=>{ni.constructor===H?se=ni:function ai(be){return Object.getPrototypeOf(be.constructor)===w}(ni)?tt=ni:$t=ni}),$t||tt||se||null}const _i={provide:je,useExisting:(0,h.Rfq)(()=>Ti)},hi=Promise.resolve();let Ti=(()=>{class be extends je{callSetDisabledState;get submitted(){return(0,C.O8)(this.submittedReactive)}_submitted=(0,C.EW)(()=>this.submittedReactive());submittedReactive=(0,h.vPA)(!1);_directives=new Set;form;ngSubmit=new h.bkB;options;constructor(se,tt,$t){super(),this.callSetDisabledState=$t,this.form=new En({},he(se),Ve(tt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(se){hi.then(()=>{const tt=this._findContainer(se.path);se.control=tt.registerControl(se.name,se.control),On(se.control,se,this.callSetDisabledState),se.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(se)})}getControl(se){return this.form.get(se.path)}
1removeControl(se){hi.then(()=>{this._findContainer(se.path)?.removeControl(se.name),this._directives.delete(se)})}addFormGroup(se){hi.then(()=>{const tt=this._findContainer(se.path),$t=new En({});kn($t,se),tt.registerControl(se.name,$t),$t.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(se){hi.then(()=>{this._findContainer(se.path)?.removeControl?.(se.name)})}getFormGroup(se){return this.form.get(se.path)}updateModel(se,tt){hi.then(()=>{this.form.get(se.path).setValue(tt)})}setValue(se){this.control.setValue(se)}onSubmit(se){return this.submittedReactive.set(!0),Pi(this.form,this._directives),this.ngSubmit.emit(se),this.form._events.next(new ti(this.control)),"dialog"===se?.target?.method}onReset(){this.resetForm()}resetForm(se=void 0){this.form.reset(se),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(se){return se.pop(),se.length?this.form.get(se):this.form}static \u0275fac=function(tt){return new(tt||be)(g.rXU(J,10),g.rXU(ne,10),g.rXU(ye,8))};static \u0275dir=g.FsC({type:be,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(tt,$t){1&tt&&g.bIt("submit",function(Bi){return $t.onSubmit(Bi)})("reset",function(){return $t.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[g.Jv_([_i]),g.Vt3]})}return be})();function to(be,Ae){const se=be.indexOf(Ae);se>-1&&be.splice(se,1)}function lo(be){return"object"==typeof be&&null!==be&&2===Object.keys(be).length&&"value"in be&&"disabled"in be}const xo=class extends Yi{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(Ae=null,se,tt){super(Ei(se),Ki(tt,se)),this._applyFormState(Ae),this._setUpdateStrategy(se),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Wi(se)&&(se.nonNullable||se.initialValueIsDefault)&&(this.defaultValue=lo(Ae)?Ae.value:Ae)}setValue(Ae,se={}){this.value=this._pendingValue=Ae,this._onChange.length&&!1!==se.emitModelToViewChange&&this._onChange.forEach(tt=>tt(this.value,!1!==se.emitViewToModelChange)),this.updateValueAndValidity(se)}patchValue(Ae,se={}){this.setValue(Ae,se)}reset(Ae=this.defaultValue,se={}){this._applyFormState(Ae),this.markAsPristine(se),this.markAsUntouched(se),this.setValue(this.value,se),se.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,!1!==se?.emitEvent&&this._events.next(new si(this))}_updateValue(){}_anyControls(Ae){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ae){this._onChange.push(Ae)}_unregisterOnChange(Ae){to(this._onChange,Ae)}registerOnDisabledChange(Ae){this._onDisabledChange.push(Ae)}_unregisterOnDisabledChange(Ae){to(this._onDisabledChange,Ae)}_forEachChild(Ae){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(Ae){lo(Ae)?(this.value=this._pendingValue=Ae.value,Ae.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ae}};let yn=(()=>{class be extends je{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective?.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Vt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let se;return function($t){return(se||(se=g.xGo(be)))($t||be)}})();static \u0275dir=g.FsC({type:be,standalone:!1,features:[g.Vt3]})}return be})();const go={provide:St,useExisting:(0,h.Rfq)(()=>Io)},To=Promise.resolve();let Io=(()=>{class be extends St{_changeDetectorRef;callSetDisabledState;control=new xo;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new h.bkB;constructor(se,tt,$t,ni,Bi,Zo){super(),this._changeDetectorRef=Bi,this.callSetDisabledState=Zo,this._parent=se,this._setValidators(tt),this._setAsyncValidators($t),this.valueAccessor=oi(0,ni)}ngOnChanges(se){if(this._checkForErrors(),!this._registered||"name"in se){if(this._registered&&(this._checkName(),this.formDirective)){const tt=se.name.previousValue;this.formDirective.removeControl({name:tt,path:this._getPath(tt)})}this._setUpControl()}"isDisabled"in se&&this._updateDisabled(se),Kn(se,this.viewModel)&&(this._updateV
1alue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(se){this.viewModel=se,this.update.emit(se)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){On(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(se){To.then(()=>{this.control.setValue(se,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(se){const tt=se.isDisabled.currentValue,$t=0!==tt&&(0,_.L39)(tt);To.then(()=>{$t&&!this.control.disabled?this.control.disable():!$t&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(se){return this._parent?Vt(se,this._parent):[se]}static \u0275fac=function(tt){return new(tt||be)(g.rXU(je,9),g.rXU(J,10),g.rXU(ne,10),g.rXU(O,10),g.rXU(_.gRc,8),g.rXU(ye,8))};static \u0275dir=g.FsC({type:be,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[g.Jv_([go]),g.Vt3,g.OA$]})}return be})(),Ie=(()=>{class be{static \u0275fac=function(tt){return new(tt||be)};static \u0275dir=g.FsC({type:be,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return be})();const Ot={provide:O,useExisting:(0,h.Rfq)(()=>ze),multi:!0};let ze=(()=>{class be extends w{writeValue(se){this.setProperty("value",se??"")}registerOnChange(se){this.onChange=tt=>{se(""==tt?null:parseFloat(tt))}}static \u0275fac=(()=>{let se;return function($t){return(se||(se=g.xGo(be)))($t||be)}})();static \u0275dir=g.FsC({type:be,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(tt,$t){1&tt&&g.bIt("input",function(Bi){return $t.onChange(Bi.target.value)})("blur",function(){return $t.onTouched()})},standalone:!1,features:[g.Jv_([Ot]),g.Vt3]})}return be})();const pt={provide:O,useExisting:(0,h.Rfq)(()=>Ge),multi:!0};let wn=(()=>{class be{_accessors=[];add(se,tt){this._accessors.push([se,tt])}remove(se){for(let tt=this._accessors.length-1;tt>=0;--tt)if(this._accessors[tt][1]===se)return void this._accessors.splice(tt,1)}select(se){this._accessors.forEach(tt=>{this._isSameGroup(tt,se)&&tt[1]!==se&&tt[1].fireUncheck(se.value)})}_isSameGroup(se,tt){return!!se[0].control&&se[0]._parent===tt._control._parent&&se[1].name===tt.name}static \u0275fac=function(tt){return new(tt||be)};static \u0275prov=h.jDH({token:be,factory:be.\u0275fac,providedIn:"root"})}return be})(),Ge=(()=>{class be extends w{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=(0,h.WQX)(ye,{optional:!0})??lt;constructor(se,tt,$t,ni){super(se,tt),this._registry=$t,this._injector=ni}ngOnInit(){this._control=this._injector.get(St),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(se){this._state=se===this.value,this.setProperty("checked",this._state)}registerOnChange(se){this._fn=se,this.onChange=()=>{se(this.value),this._registry.select(this)}}setDisabledState(se){(this.setDisabledStateFired||se||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",se),this.setDisabledStateFired=!0}fireUncheck(se){this.writeValue(se)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(tt){return new(tt||be)(g.rXU(g.sFG),g.rXU(g.aKT),g.rXU(wn),g.rXU(h.zZn))};static \u0275dir=g.FsC({type:be,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(tt,$t){1&tt&&g.bIt("change",function(){return $t.onCh
1ange()})("blur",function(){return $t.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[g.Jv_([pt]),g.Vt3]})}return be})();class un extends Yi{constructor(Ae,se,tt){super(Ei(se),Ki(tt,se)),this.controls=Ae,this._initObservables(),this._setUpdateStrategy(se),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(Ae){return this.controls[this._adjustIndex(Ae)]}push(Ae,se={}){Array.isArray(Ae)?Ae.forEach(tt=>{this.controls.push(tt),this._registerControl(tt)}):(this.controls.push(Ae),this._registerControl(Ae)),this.updateValueAndValidity({emitEvent:se.emitEvent}),this._onCollectionChange()}insert(Ae,se,tt={}){this.controls.splice(Ae,0,se),this._registerControl(se),this.updateValueAndValidity({emitEvent:tt.emitEvent})}removeAt(Ae,se={}){let tt=this._adjustIndex(Ae);tt<0&&(tt=0),this.controls[tt]&&this.controls[tt]._registerOnCollectionChange(()=>{}),this.controls.splice(tt,1),this.updateValueAndValidity({emitEvent:se.emitEvent})}setControl(Ae,se,tt={}){let $t=this._adjustIndex(Ae);$t<0&&($t=0),this.controls[$t]&&this.controls[$t]._registerOnCollectionChange(()=>{}),this.controls.splice($t,1),se&&(this.controls.splice($t,0,se),this._registerControl(se)),this.updateValueAndValidity({emitEvent:tt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ae,se={}){eo(this,0,Ae),Ae.forEach((tt,$t)=>{qi(this,!1,$t),this.at($t).setValue(tt,{onlySelf:!0,emitEvent:se.emitEvent})}),this.updateValueAndValidity(se)}patchValue(Ae,se={}){null!=Ae&&(Ae.forEach((tt,$t)=>{this.at($t)&&this.at($t).patchValue(tt,{onlySelf:!0,emitEvent:se.emitEvent})}),this.updateValueAndValidity(se))}reset(Ae=[],se={}){this._forEachChild((tt,$t)=>{tt.reset(Ae[$t],{...se,onlySelf:!0})}),this._updatePristine(se,this),this._updateTouched(se,this),this.updateValueAndValidity(se),!1!==se?.emitEvent&&this._events.next(new si(this))}getRawValue(){return this.controls.map(Ae=>Ae.getRawValue())}clear(Ae={}){this.controls.length<1||(this._forEachChild(se=>se._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ae.emitEvent}))}_adjustIndex(Ae){return Ae<0?Ae+this.length:Ae}_syncPendingControls(){let Ae=this.controls.reduce((se,tt)=>!!tt._syncPendingControls()||se,!1);return Ae&&this.updateValueAndValidity({onlySelf:!0}),Ae}_forEachChild(Ae){this.controls.forEach((se,tt)=>{Ae(se,tt)})}_updateValue(){this.value=this.controls.filter(Ae=>Ae.enabled||this.disabled).map(Ae=>Ae.value)}_anyControls(Ae){return this.controls.some(se=>se.enabled&&Ae(se))}_setUpControls(){this._forEachChild(Ae=>this._registerControl(Ae))}_allControlsDisabled(){for(const Ae of this.controls)if(Ae.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ae){Ae.setParent(this),Ae._registerOnCollectionChange(this._onCollectionChange)}_find(Ae){return this.at(Ae)??null}}let Rn=(()=>{class be extends je{callSetDisabledState;get submitted(){return(0,C.O8)(this._submittedReactive)}set submitted(se){this._submittedReactive.set(se)}_submitted=(0,C.EW)(()=>this._submittedReactive());_submittedReactive=(0,h.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(se,tt,$t){super(),this.callSetDisabledState=$t,this._setValidators(se),this._setAsyncValidators(tt)}ngOnChanges(se){this.onChanges(se)}ngOnDestroy(){this.onDestroy()}onChanges(se){this._checkFormPresent(),se.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(At(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(se){const tt=this.form.get(se.path);return On(tt,se,this.callSetDisabledState),tt.updateValueAndValidity({emitEvent:!1}),this.directives.push(se),tt}getControl(se){return this.form.get(se.path)}
1removeControl(se){Bn(se.control||null,se,!1),function mi(be,Ae){const se=be.indexOf(Ae);se>-1&&be.splice(se,1)}(this.directives,se)}addFormGroup(se){this._setUpFormContainer(se)}removeFormGroup(se){this._cleanUpFormContainer(se)}getFormGroup(se){return this.form.get(se.path)}getFormArray(se){return this.form.get(se.path)}addFormArray(se){this._setUpFormContainer(se)}removeFormArray(se){this._cleanUpFormContainer(se)}updateModel(se,tt){this.form.get(se.path).setValue(tt)}onReset(){this.resetForm()}resetForm(se=void 0,tt={}){this.form.reset(se,tt),this._submittedReactive.set(!1)}onSubmit(se){return this.submitted=!0,Pi(this.form,this.directives),this.ngSubmit.emit(se),this.form._events.next(new ti(this.control)),"dialog"===se?.target?.method}_updateDomValue(){this.directives.forEach(se=>{const tt=se.control,$t=this.form.get(se.path);tt!==$t&&(Bn(tt||null,se),(be=>be instanceof xo)($t)&&(On($t,se,this.callSetDisabledState),se.control=$t))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(se){const tt=this.form.get(se.path);kn(tt,se),tt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(se){const tt=this.form?.get(se.path);tt&&function Xn(be,Ae){return At(be,Ae)}(tt,se)&&tt.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){ht(this.form,this),this._oldForm&&At(this._oldForm,this)}_checkFormPresent(){}static \u0275fac=function(tt){return new(tt||be)(g.rXU(J,10),g.rXU(ne,10),g.rXU(ye,8))};static \u0275dir=g.FsC({type:be,features:[g.Vt3,g.OA$]})}return be})();const ki=new h.nKC(""),Mi={provide:St,useExisting:(0,h.Rfq)(()=>vi)};let vi=(()=>{class be extends St{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(se){}model;update=new h.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(se,tt,$t,ni,Bi){super(),this._ngModelWarningConfig=ni,this.callSetDisabledState=Bi,this._setValidators(se),this._setAsyncValidators(tt),this.valueAccessor=oi(0,$t)}ngOnChanges(se){if(this._isControlChanged(se)){const tt=se.form.previousValue;tt&&Bn(tt,this,!1),On(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Kn(se,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Bn(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(se){this.viewModel=se,this.update.emit(se)}_isControlChanged(se){return se.hasOwnProperty("form")}static \u0275fac=function(tt){return new(tt||be)(g.rXU(J,10),g.rXU(ne,10),g.rXU(O,10),g.rXU(ki,8),g.rXU(ye,8))};static \u0275dir=g.FsC({type:be,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[g.Jv_([Mi]),g.Vt3,g.OA$]})}return be})();const Si={provide:je,useExisting:(0,h.Rfq)(()=>$i)};let $i=(()=>{class be extends yn{name=null;constructor(se,tt,$t){super(),this._parent=se,this._setValidators(tt),this._setAsyncValidators($t)}_checkParentType(){mo(this._parent)}static \u0275fac=function(tt){return new(tt||be)(g.rXU(je,13),g.rXU(J,10),g.rXU(ne,10))};static \u0275dir=g.FsC({type:be,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[g.Jv_([Si]),g.Vt3]})}return be})();const ro={provide:je,useExisting:(0,h.Rfq)(()=>no)};let no=(()=>{class be extends je{_parent;name=null;constructor(se,tt,$t){super(),this._parent=se,this._setValidators(tt),this._setAsyncValidators($t)}ngOnInit(){mo(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Vt(null==this.name?this.name:this.name.toString(),this._parent)}static \u0275fac=function(tt){return new(tt||be)(g.rXU(je,13),g.rXU(J,10),g.rXU(ne,10))};static \u0275dir=g.FsC({type:be,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[g.Jv_([ro]),g.Vt3]})}return be})();function mo(be){return!(be instanceof $i||be instanceof Rn||be instanceof no)}const Vo={provide:St,useExisting:(0,h.Rfq)(()=>yo)};let yo=(()=>{class be extends St{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(se){}model;update=new h.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(se,tt,$t,ni,Bi){super(),this._ngModelWarningConfig=Bi,this._parent=se,this._setValidators(tt),this._setAsyncValidators($t),this.valueAccessor=oi(0,ni)}ngOnChanges(se){this._added||this._setUpControl(),Kn(se,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(se){this.viewModel=se,this.update.emit(se)}get path(){return Vt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(tt){return new(tt||be)(g.rXU(je,13),g.rXU(J,10),g.rXU(ne,10),g.rXU(O,10),g.rXU(ki,8))};static \u0275dir=g.FsC({type:be,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[g.Jv_([Vo]),g.Vt3,g.OA$]})}return be})();const No={provide:je,useExisting:(0,h.Rfq)(()=>uo)};let uo=(()=>{class be extends Rn{form=null;ngSubmit=new h.bkB;get control(){return this.form}static \u0275fac=(()=>{let se;return function($t){return(se||(se=g.xGo(be)))($t||be)}})();static \u0275dir=g.FsC({type:be,selectors:[["","formGroup",""]],hostBindings:function(tt,$t){1&tt&&g.bIt("submit",function(Bi){return $t.onSubmit(Bi)})("reset",function(){return $t.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[g.Jv_([No]),g.Vt3]})}return be})();const Xo={provide:O,useExisting:(0,h.Rfq)(()=>ls),multi:!0};function Mo(be,Ae){return null==be?`${Ae}`:(Ae&&"object"==typeof Ae&&(Ae="Object"),`${be}: ${Ae}`.slice(0,50))}let ls=(()=>{class be extends w{value;_optionMap=new Map;_idCounter=0;set compareWith(se){this._compareWith=se}_compareWith=Object.is;appRefInjector=(0,h.WQX)(g.o8S).injector;destroyRef=(0,h.WQX)(h.abz);cdr=(0,h.WQX)(_.gRc);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.de
1stroyed||(this._queuedWrite=!0,(0,g.mal)({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(se){this.cdr.markForCheck(),this.value=se;const $t=Mo(this._getOptionId(se),se);this.setProperty("value",$t)}registerOnChange(se){this.onChange=tt=>{this.value=this._getOptionValue(tt),se(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(se){for(const tt of this._optionMap.keys())if(this._compareWith(this._optionMap.get(tt),se))return tt;return null}_getOptionValue(se){const tt=function is(be){return be.split(":")[0]}(se);return this._optionMap.has(tt)?this._optionMap.get(tt):se}static \u0275fac=(()=>{let se;return function($t){return(se||(se=g.xGo(be)))($t||be)}})();static \u0275dir=g.FsC({type:be,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(tt,$t){1&tt&&g.bIt("change",function(Bi){return $t.onChange(Bi.target.value)})("blur",function(){return $t.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[g.Jv_([Xo]),g.Vt3]})}return be})(),Yo=(()=>{class be{_element;_renderer;_select;id;constructor(se,tt,$t){this._element=se,this._renderer=tt,this._select=$t,this._select&&(this.id=this._select._registerOption())}set ngValue(se){null!=this._select&&(this._select._optionMap.set(this.id,se),this._setElementValue(Mo(this.id,se)),this._select._writeValueAfterRender())}set value(se){this._setElementValue(se),this._select?._writeValueAfterRender()}_setElementValue(se){this._renderer.setProperty(this._element.nativeElement,"value",se)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(tt){return new(tt||be)(g.rXU(g.aKT),g.rXU(g.sFG),g.rXU(ls,9))};static \u0275dir=g.FsC({type:be,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return be})();const Jo={provide:O,useExisting:(0,h.Rfq)(()=>bo),multi:!0};function ho(be,Ae){return null==be?`${Ae}`:("string"==typeof Ae&&(Ae=`'${Ae}'`),Ae&&"object"==typeof Ae&&(Ae="Object"),`${be}: ${Ae}`.slice(0,50))}let bo=(()=>{class be extends w{value;_optionMap=new Map;_idCounter=0;set compareWith(se){this._compareWith=se}_compareWith=Object.is;writeValue(se){let tt;if(this.value=se,Array.isArray(se)){const $t=se.map(ni=>this._getOptionId(ni));tt=(ni,Bi)=>{ni._setSelected($t.indexOf(Bi.toString())>-1)}}else tt=($t,ni)=>{$t._setSelected(!1)};this._optionMap.forEach(tt)}registerOnChange(se){this.onChange=tt=>{const $t=[],ni=tt.selectedOptions;if(void 0!==ni){const Bi=ni;for(let Zo=0;Zo<Bi.length;Zo++){const Ns=this._getOptionValue(Bi[Zo].value);$t.push(Ns)}}else{const Bi=tt.options;for(let Zo=0;Zo<Bi.length;Zo++){const Qs=Bi[Zo];if(Qs.selected){const Ns=this._getOptionValue(Qs.value);$t.push(Ns)}}}this.value=$t,se($t)}}_registerOption(se){const tt=(this._idCounter++).toString();return this._optionMap.set(tt,se),tt}_getOptionId(se){for(const tt of this._optionMap.keys())if(this._compareWith(this._optionMap.get(tt)._value,se))return tt;return null}_getOptionValue(se){const tt=function es(be){return be.split(":")[0]}(se);return this._optionMap.has(tt)?this._optionMap.get(tt)._value:se}static \u0275fac=(()=>{let se;return function($t){return(se||(se=g.xGo(be)))($t||be)}})();static \u0275dir=g.FsC({type:be,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(tt,$t){1&tt&&g.bIt("change",function(Bi){return $t.onChange(Bi.target)})("blur",function(){return $t.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[g.Jv_([Jo]),g.Vt3]})}return be})(),Po=(()=>{class be{_element;_renderer;_select;id;_value;constructor(se,tt,$t){this._element=se,this._renderer=tt,this._select=$t,this._select&&(this.id=this._select._registerOption(this))}set ngValue(se){null!=this._select&&(this._value=se,this._setElementValue(ho(this.id,se)),this._select.writeValue(this._select.value))}set value(se){this._select?(this._value=se,this._setElementValue(ho(this.id,se)),this._select.writeValue(this._select.value)):this._setElementValue(se)}_setElementValue(se){this._renderer.setProperty(this._element.nativeElement,"value",se)}_setSelected(se){this._renderer.setProperty(this._element.nativeElement,"selected",se)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}static \u0275fac=function(tt){return new(tt||be)(g.rXU(g.aKT),g.rXU(g.sFG),g.rXU(bo,9))};static \u0275dir=g.FsC({type:be,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return be})();function zo(be){return"number"==typeof be?be:parseInt(be,10)}let ms=(()=>{class be{_validator=kt;_onChange;_enabled;ngOnChanges(se){if(this.inputName in se){const tt=this.normalizeInput(se[this.inputName].currentValue);this._enabled=this.enabled(tt),this._validator=this._enabled?this.createValidator(tt):kt,this._onChange?.()}}validate(se){return this._validator(se)}registerOnValidatorChange(se){this._onChange=se}enabled(se){return null!=se}static \u0275fac=function(tt){return new(tt||be)};static \u0275dir=g.FsC({type:be,features:[g.OA$]})}return be})();const ts={provide:J,useExisting:(0,h.Rfq)(()=>Z),multi:!0};let Z=(()=>{class be extends ms{required;inputName="required";normalizeInput=_.L39;createValidator=se=>xe;enabled(se){return se}static \u0275fac=(()=>{let se;return function($t){return(se||(se=g.xGo(be)))($t||be)}})();static \u0275dir=g.FsC({type:be,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(tt,$t){2&tt&&g.BMQ("required",$t._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[g.Jv_([ts]),g.Vt3]})}return be})();const Ye={provide:J,useExisting:(0,h.Rfq)(()=>Ft),multi:!0};let Ft=(()=>{class be extends ms{minlength;inputName="minlength";normalizeInput=se=>zo(se);createValidator=se=>Fe(se);static \u0275fac=(()=>{let se;return function($t){return(se||(se=g.xGo(be)))($t||be)}})();static \u0275dir=g.FsC({type:be,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(tt,$t){2&tt&&g.BMQ("minlength",$t._enabled?$t.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[g.Jv_([Ye]),g.Vt3]})}return be})();const Nn={provide:J,useExisting:(0,h.Rfq)(()=>Ji),multi:!0};let Ji=(()=>{class be extends ms{maxlength;inputName="maxlength";normalizeInput=se=>zo(se);createValidator=se=>Ke(se);static \u0275fac=(()=>{let se;return function($t){return(se||(se=g.xGo(be)))($t||be)}})();static \u0275dir=g.FsC({type:be,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(tt,$t){2&tt&&g.BMQ("maxlength",$t._enabled?$t.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[g.Jv_([Nn]),g.Vt3]})}return be})(),us=(()=>{class be{static \u0275fac=function(tt){return new(tt||be)};static \u0275mod=g.$C({type:be});static \u0275inj=h.G2t({})}return be})();function ui(be){return!!be&&(void 0!==be.asyncValidators||void 0!==be.validators||void 0!==be.updateOn)}let ss=(()=>{class be{useNonNullable=!1;get nonNullable(){const se=new be;return se.useNonNullable=!0,se}group(se,tt=null){const $t=this._reduceControls(se);let ni={};return ui(tt)?ni=tt:null!==tt&&(ni.validators=tt.validator,ni.asyncValidators=tt.asyncValidator),new En($t,ni)}record(se,tt=null){const $t=this._reduceControls(se);return new _t($t,tt)}control(se,tt,$t){let ni={};return this.useNonNullable?(ui(tt)?ni=tt:(ni.validators=tt,ni.asyncValidators=$t),new xo(se,{...ni,nonNullable:!0})):new xo(se,tt,$t)}array(se,tt,$t){const ni=se.map(Bi=>this._createControl(Bi));return new un(ni,tt,$t)}_reduceControls(se){const tt={};return Object.keys(se).forEach($t=>{tt[$t]=this._createControl(se[$t])}),tt}_createControl(se){return se instanceof xo||se instanceof Yi?se:Array.isArray(se)?this.control(se[0],se.length>1?se[1]:null,se.length>2?se[2]:null):this.control(se)}static \u0275fac=function(tt){return new(tt||be)};static \u0275prov=h.jDH({token:be,factory:be.\u0275fac,providedIn:"root"})}return be})(),Qo=(()=>{class be{static \u0275fac=function(tt){return new(tt||be)};static \u0275prov=h.jDH({token:be,factory:()=>(0,h.WQX)(ss).nonNullable,providedIn:"root"})}return be})(),xs=(()=>{class be{static withConfig(se){return{ngModule:be,providers:[{provide:ye,useValue:se.callSetDisabledState??lt}]}}static \u0275fac=function(tt){return new(tt||be)};static \u0275mod=g.$C({type:be});static \u0275inj=h.G2t({imports:[us]})}return be})(),qo=(()=>{class be{static withConfig(se){return{ngModule:be,providers:[{provide:ki,useValue:se.warnOnNgModelWithFormControl??"always"},{provide:ye,useValue:se.callSetDisabledState??lt}]}}static \u0275fac=function(tt){return new(tt||be)};static \u0275mod=g.$C({type:be});static \u0275inj=h.G2t({imports:[us]})}return be})()},345(ot,V,l){"use strict";l.d(V,{hE:()=>Oe,up:()=>he});var ne=l(85802),de=l(35547);let Oe=(()=>{class St{_doc;constructor(rt){this._doc=rt}getTitle(){return this._doc.title}setTitle(rt){this._doc.title=rt||""}static \u0275fac=function(bt){return new(bt||St)(ne.KVO(ne.qQL))};static \u0275prov=ne.jDH({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})(),he=(()=>{class St{static \u0275fac=function(bt){return new(bt||St)};static \u0275prov=ne.jDH({token:St,factory:function(bt){let we=null;return we=bt?new(bt||St):ne.KVO(Pe),we},providedIn:"root"})}return St})(),Pe=(()=>{class St extends he{_doc;constructor(rt){super(),this._doc=rt}sanitize(rt,bt){if(null==bt)return null;switch(rt){case de.WPN.NONE:return bt;case de.WPN.HTML:return(0,de.iWE)(bt,"HTML")?(0,de.aCM)(bt):(0,de.wr$)(this._doc,String(bt)).toString();case de.WPN.STYLE:return(0,de.iWE)(bt,"Style")?(0,de.aCM)(bt):bt;case de.WPN.SCRIPT:if((0,de.iWE)(bt,"Script"))return(0,de.aCM)(bt);throw new ne.buA(5200,!1);case de.WPN.URL:return(0,de.iWE)(bt,"URL")?(0,de.aCM)(bt):(0,de.gil)(String(bt));case de.WPN.RESOURCE_URL:if((0,de.iWE)(bt,"ResourceURL"))return(0,de.aCM)(bt);throw new ne.buA(5201,!1);default:throw new ne.buA(5202,!1)}}bypassSecurityTrustHtml(rt){return(0,de.PYC)(rt)}bypassSecurityTrustStyle(rt){return(0,de.rAh)(rt)}bypassSecurityTrustScript(rt){return(0,de.p2i)(rt)}bypassSecurityTrustUrl(rt){return(0,de.B1s)(rt)}bypassSecurityTrustResourceUrl(rt){return(0,de.RPW)(rt)}static \u0275fac=function(bt){return new(bt||St)(ne.KVO(ne.qQL))};static \u0275prov=ne.jDH({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})()},59882(ot,V,l){"use strict";l.d(V,{$m:()=>je,Cq:()=>Hn,D$:()=>io,E:()=>yt,Ix:()=>wo,J2:()=>oe,J_:()=>bs,L6:()=>Pi,Lg:()=>Rr,OY:()=>yn,Pu:()=>Cs,Sd:()=>Ee,Us:()=>fo,Wj:()=>qi,XR:()=>Q,Z:()=>bi,Zp:()=>go,bK:()=>Bs,bw:()=>ko,c1:()=>vi,el:()=>Bt,fN:()=>Di,gk:()=>xi,lW:()=>ai,mo:()=>vn,n3:()=>ki,nU:()=>Et,nX:()=>wn,tD:()=>Si,tE:()=>We,wF:()=>Fi,wO:()=>Wi,wU:()=>Sn,we:()=>$i});var f=l(10467),g=l(45984),h=l(85802),_=l(35547),C=l(17705),o=l(32271),y=l(71985),d=l(18530),M=l(84412),A=l(13961),D=l(71203),w=l(74402),O=l(9350),x=l(84572),N=l(28793),q=l(59030),K=l(19724),te=l(7673),H=l(18810),ee=l(983),F=l(99437),J=l(70274),ne=l(5964),de=l(70980),Le=l(61594),ut=l(96354),Oe=l(73028),xe=l(99172),Ce=l(25558),Te=l(96697),Fe=l(55109),Ke=l(56977),Qe=l(88141),kt=l(345);const ct="primary",Pt=Symbol("RouteTitle");class Ze{params;constructor(ae){this.params=ae||{}}has(ae){return Object.prototype.hasOwnProperty.call(this.params,ae)}get(ae){if(this.has(ae)){const z=this.params[ae];return Array.isArray(z)?z[0]:z}return null}getAll(ae){if(this.has(ae)){const z=this.params[ae];return Array.isArray(z)?z:[z]}return[]}get keys(){return Object.keys(this.params)}}function fe(W){return new Ze(W)}function ie(W,ae,z){for(let ce=0;ce<W.length;ce++){const Ne=W[ce],vt=ae[ce];if(":"===Ne[0])z[Ne.substring(1)]=vt;else if(Ne!==vt.path)return!1}return!0}function Xe(W,ae,z){const ce=z.path.split("/"),Ne=ce.indexOf("**");if(-1===Ne){if(ce.length>W.length||"full"===z.pathMatch&&(ae.hasChildren()||ce.length<W.length))return null;const In={},Gn=W.slice(0,ce.length);return ie(ce,Gn,In)?{consumed:Gn,posParams:In}:null}if(Ne!==ce.lastIndexOf("**"))return null;const vt=ce.slice(0,Ne),Ht=ce.slice(Ne+1);if(vt.length+Ht.length>W.length||"full"===z.pathMatch&&ae.hasChildren()&&"**"!==z.path)return null;const Rt={};return ie(vt,W.slice(0,vt.length),Rt)&&ie(Ht,W.slice(W.length-Ht.length),Rt)?{consumed:W,posParams:Rt}:null}function ve(W){return new Promise((ae,z)=>{W.pipe((0,Le.$)()).subscribe({next:ce=>ae(ce),error:ce=>z(ce)})})}function Pe(W,ae){const z=W?Ve(W):void 0,ce=ae?Ve(ae):void 0;if(!z||!ce||z.length!=ce.length)return!1;let Ne;for(let vt=0;vt<z.length;vt++)if(Ne=z[vt],!dt(W[Ne],ae[Ne]))return!1;return!0}function Ve(W){return[...Object.keys(W),...Object.getOwnPropertySymbols(W)]}function dt(W,ae){if(Array.isArray(W)&&Array.isArray(ae)){if(W.length!==ae.length)return!1;const z=[...W].sort(),ce=[...ae].sort();return z.every((Ne,vt)=>ce[vt]===Ne)}return W===ae}function wt(W){return(0,w.A)(W)?W:(0,_.yLl)(W)?(0,K.H)(Promise.resolve(W)):(0,te.of)(W)}
1function Yt(W){return(0,w.A)(W)?ve(W):Promise.resolve(W)}const Tt={exact:function rt(W,ae,z){if(!le(W.segments,ae.segments)||!p(W.segments,ae.segments,z)||W.numberOfChildren!==ae.numberOfChildren)return!1;for(const ce in ae.children)if(!W.children[ce]||!rt(W.children[ce],ae.children[ce],z))return!1;return!0},subset:we},qt={exact:function me(W,ae){return Pe(W,ae)},subset:function bt(W,ae){return Object.keys(ae).length<=Object.keys(W).length&&Object.keys(ae).every(z=>dt(W[z],ae[z]))},ignored:()=>!0},We={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},yt={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function je(W,ae,z){const ce=W instanceof Bt?W:ae.parseUrl(W);return(0,o.EW)(()=>St(ae.lastSuccessfulNavigation()?.finalUrl??new Bt,ce,{...yt,...z}))}function St(W,ae,z){return Tt[z.paths](W.root,ae.root,z.matrixParams)&&qt[z.queryParams](W.queryParams,ae.queryParams)&&!("exact"===z.fragment&&W.fragment!==ae.fragment)}function we(W,ae,z){return Mt(W,ae,ae.segments,z)}function Mt(W,ae,z,ce){if(W.segments.length>z.length){const Ne=W.segments.slice(0,z.length);return!(!le(Ne,z)||ae.hasChildren()||!p(Ne,z,ce))}if(W.segments.length===z.length){if(!le(W.segments,z)||!p(W.segments,z,ce))return!1;for(const Ne in ae.children)if(!W.children[Ne]||!we(W.children[Ne],ae.children[Ne],ce))return!1;return!0}{const Ne=z.slice(0,W.segments.length),vt=z.slice(W.segments.length);return!!(le(W.segments,Ne)&&p(W.segments,Ne,ce)&&W.children[ct])&&Mt(W.children[ct],ae,vt,ce)}}function p(W,ae,z){return ae.every((ce,Ne)=>qt[z](W[Ne].parameters,ce.parameters))}class Bt{root;queryParams;fragment;_queryParamMap;constructor(ae=new it([],{}),z={},ce=null){this.root=ae,this.queryParams=z,this.fragment=ce}get queryParamMap(){return this._queryParamMap??=fe(this.queryParams),this._queryParamMap}toString(){return dn.serialize(this)}}class it{segments;children;parent=null;constructor(ae,z){this.segments=ae,this.children=z,Object.values(z).forEach(ce=>ce.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return an(this)}}class Lt{path;parameters;_parameterMap;constructor(ae,z){this.path=ae,this.parameters=z}get parameterMap(){return this._parameterMap??=fe(this.parameters),this._parameterMap}toString(){return Pn(this)}}function le(W,ae){return W.length===ae.length&&W.every((z,ce)=>z.path===ae[ce].path)}let Ee=(()=>{class W{static \u0275fac=function(ce){return new(ce||W)};static \u0275prov=h.jDH({token:W,factory:()=>new Et,providedIn:"root"})}return W})();class Et{parse(ae){const z=new Ei(ae);return new Bt(z.parseRootSegment(),z.parseQueryParams(),z.parseFragment())}serialize(ae){const z=`/${Nt(ae.root,!0)}`,ce=function ei(W){const ae=Object.entries(W).map(([z,ce])=>Array.isArray(ce)?ce.map(Ne=>`${st(z)}=${st(Ne)}`).join("&"):`${st(z)}=${st(ce)}`).filter(z=>z);return ae.length?`?${ae.join("&")}`:""}(ae.queryParams);return`${z}${ce}${"string"==typeof ae.fragment?`#${function zt(W){return encodeURI(W)}(ae.fragment)}`:""}`}}const dn=new Et;function an(W){return W.segments.map(ae=>Pn(ae)).join("/")}function Nt(W,ae){if(!W.hasChildren())return an(W);if(ae){const z=W.children[ct]?Nt(W.children[ct],!1):"",ce=[];return Object.entries(W.children).forEach(([Ne,vt])=>{Ne!==ct&&ce.push(`${Ne}:${Nt(vt,!1)}`)}),ce.length>0?`${z}(${ce.join("//")})`:z}{const z=function $(W,ae){let z=[];return Object.entries(W.children).forEach(([ce,Ne])=>{ce===ct&&(z=z.concat(ae(Ne,ce)))}),Object.entries(W.children).forEach(([ce,Ne])=>{ce!==ct&&(z=z.concat(ae(Ne,ce)))}),z}(W,(ce,Ne)=>Ne===ct?[Nt(W.children[ct],!1)]:[`${Ne}:${Nt(ce,!1)}`]);return 1===Object.keys(W.children).length&&null!=W.children[ct]?`${an(W)}/${z[0]}`:`${an(W)}/(${z.join("//")})`}}function at(W){return encodeURIComponent(W).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function st(W){return at(W).replace(/%3B/gi,";")}function Dn(W){return at(W).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function hn(W){return decodeURIComponent(W)}function Vn(W){return hn(W.replace(/\+/g,"%20"))}function Pn(W){return`${Dn(W.path)}${function xn(W){return Object.entries(W).map(([ae,z])=>`;${Dn(ae)}=${Dn(z)}`).join("")}(W.parameters)}`}const ci=/^[^\/()?;#]+/;function ri(W){const ae=W.match(ci);return ae?ae[0]:""}const fi=/^[^\/()?;=#]+/,Li=/^[^=?&#]+/,ti=/^[^&#]+/;class Ei{url;remaining;constructor(ae){this.url=ae,this.remaining=ae}parseRootSegment(){for(;this.consumeOptional("/"););return""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new it([],{}):new it([],this.parseChildren())}parseQueryParams(){const ae={};if(this.consumeOptional("?"))do{this.parseQueryParam(ae)}while(this.consumeOptional("&"));return ae}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(ae=0){if(ae>50)throw new h.buA(4010,!1);if(""===this.remaining)return{};this.consumeOptional("/");const z=[];for(this.peekStartsWith("(")||z.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),z.push(this.parseSegment());let ce={};this.peekStartsWith("/(")&&(this.capture("/"),ce=this.parseParens(!0,ae));let Ne={};return this.peekStartsWith("(")&&(Ne=this.parseParens(!1,ae)),(z.length>0||Object.keys(ce).length>0)&&(Ne[ct]=new it(z,ce)),Ne}parseSegment(){const ae=ri(this.remaining);if(""===ae&&this.peekStartsWith(";"))throw new h.buA(4009,!1);return this.capture(ae),new Lt(hn(ae),this.parseMatrixParams())}parseMatrixParams(){const ae={};for(;this.consumeOptional(";");)this.parseParam(ae);return ae}parseParam(ae){const z=function so(W){const ae=W.match(fi);return ae?ae[0]:""}(this.remaining);if(!z)return;this.capture(z);let ce="";if(this.consumeOptional("=")){const Ne=ri(this.remaining);Ne&&(ce=Ne,this.capture(ce))}ae[hn(z)]=hn(ce)}parseQueryParam(ae){const z=function Cn(W){const ae=W.match(Li);return ae?ae[0]:""}(this.remaining);if(!z)return;this.capture(z);let ce="";if(this.consumeOptional("=")){const Ht=function si(W){const ae=W.match(ti);return ae?ae[0]:""}(this.remaining);Ht&&(ce=Ht,this.capture(ce))}const Ne=Vn(z),vt=Vn(ce);if(ae.hasOwnProperty(Ne)){let Ht=ae[Ne];Array.isArray(Ht)||(Ht=[Ht],ae[Ne]=Ht),Ht.push(vt)}else ae[Ne]=vt}parseParens(ae,z){const ce={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Ne=ri(this.remaining),vt=this.remaining[Ne.length];if("/"!==vt&&")"!==vt&&";"!==vt)throw new h.buA(4010,!1);let Ht;Ne.indexOf(":")>-1?(Ht=Ne.slice(0,Ne.indexOf(":")),this.capture(Ht),this.capture(":")):ae&&(Ht=ct);const Rt=this.parseChildren(z+1);ce[Ht??ct]=1===Object.keys(Rt).length&&Rt[ct]?Rt[ct]:new it([],Rt),this.consumeOptional("//")}return ce}peekStartsWith(ae){return this.remaining.startsWith(ae)}consumeOptional(ae){return!!this.peekStartsWith(ae)&&(this.remaining=this.remaining.substring(ae.length),!0)}capture(ae){if(!this.consumeOptional(ae))throw new h.buA(4011,!1)}}function An(W){return W.segments.length>0?new it([],{[ct]:W}):W}function Ki(W){const ae={};for(const[ce,Ne]of Object.entries(W.children)){const vt=Ki(Ne);if(ce===ct&&0===vt.segments.length&&vt.hasChildren())for(const[Ht,Rt]of Object.entries(vt.children))ae[Ht]=Rt;else(vt.segments.length>0||vt.hasChildren())&&(ae[ce]=vt)}return function Hi(W){if(1===W.numberOfChildren&&W.children[ct]){const ae=W.children[ct];return new it(W.segments.concat(ae.segments),ae.children)}return W}(new it(W.segments,ae))}function Wi(W){return W instanceof Bt}function qi(W,ae,z=null,ce=null,Ne=new Et){return Yi(eo(W),ae,z,ce,Ne)}function eo(W){let ae;const Ne=An(function z(vt){const Ht={};for(const In of vt.children){const Gn=z(In);Ht[In.outlet]=Gn}const Rt=new it(vt.url,Ht);return vt===W&&(ae=Rt),Rt}(W.root));return ae??Ne}function Yi(W,ae,z,ce,Ne){let vt=W;for(;vt.parent;)vt=vt.parent;if(0===ae.length)return Tn(vt,vt,vt,z,ce,Ne);const Ht=function ye(W){if("string"==typeof W[0]&&1===W.length&&"/"===W[0])return new Wt(!0,0,W);let ae=0,z=!1;const ce=W.reduce((Ne,vt,Ht)=>{if("object"==typeof vt&&null!=vt){if(vt.outlets){const Rt={};return Object.entries(vt.outlets).forEach(([In,Gn])=>{Rt[In]="string"==typeof Gn?Gn.split("/"):Gn}),[...Ne,{outlets:Rt}]}if(vt.segmentPath)return[...Ne,vt.segmentPath]}return"string"!=typeof vt?[...Ne,vt]:0===Ht?(vt.split("/").forEach((Rt,In)=>{0==In&&"."===Rt||(0==In&&""===Rt?z=!0:".."===Rt?ae++:""!=Rt&&Ne.push(Rt))}),Ne):[...Ne,vt]},[]);return new Wt(z,ae,ce)}(ae);if(Ht.toRoot())return Tn(vt,vt,new it([],{}),z,ce,Ne);const Rt=function Vt(W,ae,z){if(W.isAbsolute)return new lt(ae,!0,0);if(!z)return new lt(ae,!1,NaN);if(null===z.parent)return new lt(z,!0,0);const ce=En(W.commands[0])?0:1;return function On(W,ae,z){let ce=W,Ne=ae,vt=z;for(;vt>Ne;){if(vt-=Ne,ce=ce.parent,!ce)throw new h.buA(4005,!1);Ne=ce.segments.length}return new lt(ce,!1,Ne-vt)}(z,z.segments.length-1+ce,W.numberOfDoubleDots)}(Ht,vt,W),In=Rt.processChildren?Ni(Rt.segmentGroup,Rt.index,Ht.commands):Qn(Rt.segmentGroup,Rt.index,Ht.commands);return Tn(vt,Rt.segmentGroup,In,z,ce,Ne)}function En(W){return"object"==typeof W&&null!=W&&!W.outlets&&!W.segmentPath}function li(W){return"object"==typeof W&&null!=W&&W.outlets}function ln(W,ae,z){W||="\u0275";const ce=new Bt;return ce.queryParams={[W]:ae},z.parse(z.serialize(ce)).queryParams[W]}function Tn(W,ae,z,ce,Ne,vt){const Ht={};for(const[Gn,gi]of Object.entries(ce??{}))Ht[Gn]=Array.isArray(gi)?gi.map(Ui=>ln(Gn,Ui,vt)):ln(Gn,gi,vt);let Rt;Rt=W===ae?z:_t(W,ae,z);const In=An(Ki(Rt));return new Bt(In,Ht,Ne)}function _t(W,ae,z){const ce={};
1return Object.entries(W.children).forEach(([Ne,vt])=>{ce[Ne]=vt===ae?z:_t(vt,ae,z)}),new it(W.segments,ce)}class Wt{isAbsolute;numberOfDoubleDots;commands;constructor(ae,z,ce){if(this.isAbsolute=ae,this.numberOfDoubleDots=z,this.commands=ce,ae&&ce.length>0&&En(ce[0]))throw new h.buA(4003,!1);const Ne=ce.find(li);if(Ne&&Ne!==function Dt(W){return W.length>0?W[W.length-1]:null}(ce))throw new h.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class lt{segmentGroup;processChildren;index;constructor(ae,z,ce){this.segmentGroup=ae,this.processChildren=z,this.index=ce}}function Qn(W,ae,z){if(W??=new it([],{}),0===W.segments.length&&W.hasChildren())return Ni(W,ae,z);const ce=function ht(W,ae,z){let ce=0,Ne=ae;const vt={match:!1,pathIndex:0,commandIndex:0};for(;Ne<W.segments.length;){if(ce>=z.length)return vt;const Ht=W.segments[Ne],Rt=z[ce];if(li(Rt))break;const In=`${Rt}`,Gn=ce<z.length-1?z[ce+1]:null;if(Ne>0&&void 0===In)break;if(In&&Gn&&"object"==typeof Gn&&void 0===Gn.outlets){if(!rn(In,Gn,Ht))return vt;ce+=2}else{if(!rn(In,{},Ht))return vt;ce++}Ne++}return{match:!0,pathIndex:Ne,commandIndex:ce}}(W,ae,z),Ne=z.slice(ce.commandIndex);if(ce.match&&ce.pathIndex<W.segments.length){const vt=new it(W.segments.slice(0,ce.pathIndex),{});return vt.children[ct]=new it(W.segments.slice(ce.pathIndex),W.children),Ni(vt,0,Ne)}return ce.match&&0===Ne.length?new it(W.segments,{}):ce.match&&!W.hasChildren()?At(W,ae,z):ce.match?Ni(W,0,Ne):At(W,ae,z)}function Ni(W,ae,z){if(0===z.length)return new it(W.segments,{});{const ce=function Bn(W){return li(W[0])?W[0].outlets:{[ct]:W}}(z),Ne={};if(Object.keys(ce).some(vt=>vt!==ct)&&W.children[ct]&&1===W.numberOfChildren&&0===W.children[ct].segments.length){const vt=Ni(W.children[ct],ae,z);return new it(W.segments,vt.children)}return Object.entries(ce).forEach(([vt,Ht])=>{"string"==typeof Ht&&(Ht=[Ht]),null!==Ht&&(Ne[vt]=Qn(W.children[vt],ae,Ht))}),Object.entries(W.children).forEach(([vt,Ht])=>{void 0===ce[vt]&&(Ne[vt]=Ht)}),new it(W.segments,Ne)}}function At(W,ae,z){const ce=W.segments.slice(0,ae);let Ne=0;for(;Ne<z.length;){const vt=z[Ne];if(li(vt)){const In=jt(vt.outlets);return new it(ce,In)}if(0===Ne&&En(z[0])){ce.push(new Lt(W.segments[ae].path,nn(z[0]))),Ne++;continue}const Ht=li(vt)?vt.outlets[ct]:`${vt}`,Rt=Ne<z.length-1?z[Ne+1]:null;Ht&&Rt&&En(Rt)?(ce.push(new Lt(Ht,nn(Rt))),Ne+=2):(ce.push(new Lt(Ht,{})),Ne++)}return new it(ce,{})}function jt(W){const ae={};return Object.entries(W).forEach(([z,ce])=>{"string"==typeof ce&&(ce=[ce]),null!==ce&&(ae[z]=At(new it([],{}),0,ce))}),ae}function nn(W){const ae={};return Object.entries(W).forEach(([z,ce])=>ae[z]=`${ce}`),ae}function rn(W,ae,z){return W==z.path&&Pe(ae,z.parameters)}const Sn="imperative";var kn=function(W){return W[W.NavigationStart=0]="NavigationStart",W[W.NavigationEnd=1]="NavigationEnd",W[W.NavigationCancel=2]="NavigationCancel",W[W.NavigationError=3]="NavigationError",W[W.RoutesRecognized=4]="RoutesRecognized",W[W.ResolveStart=5]="ResolveStart",W[W.ResolveEnd=6]="ResolveEnd",W[W.GuardsCheckStart=7]="GuardsCheckStart",W[W.GuardsCheckEnd=8]="GuardsCheckEnd",W[W.RouteConfigLoadStart=9]="RouteConfigLoadStart",W[W.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",W[W.ChildActivationStart=11]="ChildActivationStart",W[W.ChildActivationEnd=12]="ChildActivationEnd",W[W.ActivationStart=13]="ActivationStart",W[W.ActivationEnd=14]="ActivationEnd",W[W.Scroll=15]="Scroll",W[W.NavigationSkipped=16]="NavigationSkipped",W}(kn||{});class Xn{id;url;constructor(ae,z){this.id=ae,this.url=z}}class bi extends Xn{type=kn.NavigationStart;navigationTrigger;restoredState;constructor(ae,z,ce="imperative",Ne=null){super(ae,z),this.navigationTrigger=ce,this.restoredState=Ne}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Fi extends Xn{urlAfterRedirects;type=kn.NavigationEnd;constructor(ae,z,ce){super(ae,z),this.urlAfterRedirects=ce}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Ut=function(W){return W[W.Redirect=0]="Redirect",W[W.SupersededByNewNavigation=1]="SupersededByNewNavigation",W[W.NoDataFromRe
1solver=2]="NoDataFromResolver",W[W.GuardRejected=3]="GuardRejected",W[W.Aborted=4]="Aborted",W}(Ut||{}),vn=function(W){return W[W.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",W[W.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",W}(vn||{});class Hn extends Xn{reason;code;type=kn.NavigationCancel;constructor(ae,z,ce,Ne){super(ae,z),this.reason=ce,this.code=Ne}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ai extends Xn{reason;code;type=kn.NavigationSkipped;constructor(ae,z,ce,Ne){super(ae,z),this.reason=ce,this.code=Ne}}class Pi extends Xn{error;target;type=kn.NavigationError;constructor(ae,z,ce,Ne){super(ae,z),this.error=ce,this.target=Ne}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class oi extends Xn{urlAfterRedirects;state;type=kn.RoutesRecognized;constructor(ae,z,ce,Ne){super(ae,z),this.urlAfterRedirects=ce,this.state=Ne}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mi extends Xn{urlAfterRedirects;state;type=kn.GuardsCheckStart;constructor(ae,z,ce,Ne){super(ae,z),this.urlAfterRedirects=ce,this.state=Ne}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wi extends Xn{urlAfterRedirects;state;shouldActivate;type=kn.GuardsCheckEnd;constructor(ae,z,ce,Ne,vt){super(ae,z),this.urlAfterRedirects=ce,this.state=Ne,this.shouldActivate=vt}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class _i extends Xn{urlAfterRedirects;state;type=kn.ResolveStart;constructor(ae,z,ce,Ne){super(ae,z),this.urlAfterRedirects=ce,this.state=Ne}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hi extends Xn{urlAfterRedirects;state;type=kn.ResolveEnd;constructor(ae,z,ce,Ne){super(ae,z),this.urlAfterRedirects=ce,this.state=Ne}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ti{route;type=kn.RouteConfigLoadStart;constructor(ae){this.route=ae}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class to{route;type=kn.RouteConfigLoadEnd;constructor(ae){this.route=ae}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class lo{snapshot;type=kn.ChildActivationStart;constructor(ae){this.snapshot=ae}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xo{snapshot;type=kn.ChildActivationEnd;constructor(ae){this.snapshot=ae}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qt{snapshot;type=kn.ActivationStart;constructor(ae){this.snapshot=ae}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cn{snapshot;type=kn.ActivationEnd;constructor(ae){this.snapshot=ae}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yn{routerEvent;position;anchor;scrollBehavior;type=kn.Scroll;constructor(ae,z,ce,Ne){this.routerEvent=ae,this.position=z,this.anchor=ce,this.scrollBehavior=Ne}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Un{}class Zn{}class tn{url;navigationBehaviorOptions;constructor(ae,z){this.url=ae,this.navigationBehaviorOptions=z}}function fo(W){switch(W.type){case kn.ActivationEnd:return`ActivationEnd(path: '${W.snapshot.routeConfig?.path||""}')`;case kn.ActivationStart:return`ActivationStart(path: '${W.snapshot.routeConfig?.path||""}')`;case kn.ChildActivationEnd:return`ChildActivationEnd(path: '${W.snapshot.routeConfig?.path||""}')`;case kn.ChildActivationStart:return`ChildActivationStart(path: '${W.snapshot.routeConfig?.path||""}')`;case kn.GuardsCheckEnd:return`GuardsCheckEnd(id: ${W.id}, url: '${W.url}', urlAfterRedirects: '${W.urlAfterRedirects}', state: ${W.state}, shouldActivate: ${W.shouldActivate})`;case kn.GuardsCheckStart:return`GuardsCheckStart(id: ${W.id}, url: '${W.url}', urlAfterRedirects: '${W.urlAfterRedirects}', state: ${W.state})`;case kn.NavigationCancel:return`NavigationCancel(id: ${W.id}, url: '${W.url}')`;case kn.NavigationSkipped:return`NavigationSkipped(id: ${W.id}, url: '${W.url}')`;case kn.NavigationEnd:return`NavigationEnd(id: ${W.id}, url: '${W.url}', urlAfterRedirects: '${W.urlAfterRedirects}')`;case kn.NavigationError:return`NavigationError(id: ${W.id}, url: '${W.url}', error: ${W.error})`;case kn.NavigationStart:return`NavigationStart(id: ${W.id}, url: '${W.url}')`;case kn.ResolveEnd:return`ResolveEnd(id: ${W.id}, url: '${W.url}', urlAfterRedirects: '${W.urlAfterRedirects}', state: ${W.state})`;case kn.ResolveStart:return`ResolveStart(id: ${W.id}, url: '${W.url}', urlAfterRedirects: '${W.urlAfterRedirects}', state: ${W.state})`;case kn.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${W.route.path})`;case kn.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${W.route.path})`;case kn.RoutesRecognized:return`RoutesRecognized(id: ${W.id}, url: '${W.url}', urlAfterRedirects: '${W.urlAfterRedirects}', state: ${W.state})`;case kn.Scroll:return`Scroll(anchor: '${W.anchor}', position: '${W.position?`${W.position[0]}, ${W.position[1]}`:null}')`}}class zi{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(ae){this.rootInjector=ae,this.children=new go(this.rootInjector)}}let go=(()=>{class W{rootInjector;contexts=new Map;constructor(z){this.rootInjector=z}onChildOutletCreated(z,ce){const Ne=this.getOrCreateContext(z);Ne.outlet=ce,this.contexts.set(z,Ne)}onChildOutletDestroyed(z){const ce=this.getContext(z);ce&&(ce.outlet=null,ce.attachRef=null)}onOutletDeactivated(){const z=this.contexts;return this.contexts=new Map,z}onOutletReAttached(z){this.contexts=z}getOrCreateContext(z){let ce=this.getContext(z);return ce||(ce=new zi(this.rootInjector),this.contexts.set(z,ce)),ce}getContext(z){return this.contexts.get(z)||null}static \u0275fac=function(ce){return new(ce||W)(h.KVO(h.uvJ))};static \u0275prov=h.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();class To{_root;constructor(ae){this._root=ae}get root(){return this._root.value}
1parent(ae){const z=this.pathFromRoot(ae);return z.length>1?z[z.length-2]:null}children(ae){const z=Io(ae,this._root);return z?z.children.map(ce=>ce.value):[]}firstChild(ae){const z=Io(ae,this._root);return z&&z.children.length>0?z.children[0].value:null}siblings(ae){const z=Do(ae,this._root);return z.length<2?[]:z[z.length-2].children.map(Ne=>Ne.value).filter(Ne=>Ne!==ae)}pathFromRoot(ae){return Do(ae,this._root).map(z=>z.value)}}function Io(W,ae){if(W===ae.value)return ae;for(const z of ae.children){const ce=Io(W,z);if(ce)return ce}return null}function Do(W,ae){if(W===ae.value)return[ae];for(const z of ae.children){const ce=Do(W,z);if(ce.length)return ce.unshift(ae),ce}return[]}class Ie{value;children;constructor(ae,z){this.value=ae,this.children=z}toString(){return`TreeNode(${this.value})`}}function Ot(W){const ae={};return W&&W.children.forEach(z=>ae[z.value.outlet]=z),ae}class ze extends To{snapshot;constructor(ae,z){super(ae),this.snapshot=z,un(this,ae)}toString(){return this.snapshot.toString()}}function pt(W,ae){const z=function on(W,ae){const Ht=new qe([],{},{},"",{},ct,W,null,{},ae);return new xt("",new Ie(Ht,[]))}(W,ae),ce=new M.t([new Lt("",{})]),Ne=new M.t({}),vt=new M.t({}),Ht=new M.t({}),Rt=new M.t(""),In=new wn(ce,Ne,Ht,Rt,vt,ct,W,z.root);return In.snapshot=z.root,new ze(new Ie(In,[]),z)}class wn{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(ae,z,ce,Ne,vt,Ht,Rt,In){this.urlSubject=ae,this.paramsSubject=z,this.queryParamsSubject=ce,this.fragmentSubject=Ne,this.dataSubject=vt,this.outlet=Ht,this.component=Rt,this._futureSnapshot=In,this.title=this.dataSubject?.pipe((0,ut.T)(Gn=>Gn[Pt]))??(0,te.of)(void 0),this.url=ae,this.params=z,this.queryParams=ce,this.fragment=Ne,this.data=vt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,ut.T)(ae=>fe(ae))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,ut.T)(ae=>fe(ae))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ge(W,ae,z="emptyOnly"){let ce;const{routeConfig:Ne}=W;return ce=null===ae||"always"!==z&&""!==Ne?.path&&(ae.component||ae.routeConfig?.loadComponent)?{params:{...W.params},data:{...W.data},resolve:{...W.data,...W._resolvedData??{}}}:{params:{...ae.params,...W.params},data:{...ae.data,...W.data},resolve:{...W.data,...ae.data,...Ne?.data,...W._resolvedData}},Ne&&Wn(Ne)&&(ce.resolve[Pt]=Ne.title),ce}class qe{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Pt]}constructor(ae,z,ce,Ne,vt,Ht,Rt,In,Gn,gi){this.url=ae,this.params=z,this.queryParams=ce,this.fragment=Ne,this.data=vt,this.outlet=Ht,this.component=Rt,this.routeConfig=In,this._resolve=Gn,this._environmentInjector=gi}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=fe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=fe(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(ce=>ce.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xt extends To{url;constructor(ae,z){super(z),this.url=ae,un(this,z)}toString(){return gt(this._root)}}function un(W,ae){ae.value._routerState=W,ae.children.forEach(z=>un(W,z))}function gt(W){const ae=W.children.length>0?` { ${W.children.map(gt).join(", ")} } `:"";return`${W.value}${ae}`}function mn(W){if(W.snapshot){const ae=W.snapshot,z=W._futureSnapshot;W.snapshot=z,Pe(ae.queryParams,z.queryParams)||W.queryParamsSubject.next(z.queryParams),ae.fragment!==z.fragment&&W.fragmentSubject.next(z.fragment),Pe(ae.params,z.params)||W.paramsSubject.next(z.params),function he(W,ae){if(W.length!==ae.length)return!1;for(let z=0;z<W.length;++z)if(!Pe(W[z],ae[z]))return!1;return!0}(ae.url,z.url)||W.urlSubject.next(z.url),Pe(ae.data,z.data)||W.dataSubject.next(z.data)}else W.snapshot=W._futureSnapshot,W.dataSubject.next(W._futureSnapshot.data)}function Rn(W,ae){const z=Pe(W.params,ae.params)&&function Me(W,ae){return le(W,ae)&&W.every((z,ce)=>Pe(z.parameters,ae[ce].parameters))}(W.url,ae.url);return z&&!(!W.parent!=!ae.parent)&&(!W.parent||Rn(W.parent,ae.parent))}function Wn(W){return"string"==typeof W.title||null===W.title}const ii=new h.nKC("");let ki=(()=>{class W{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ct;activateEvents=new h.bkB;deactivateEvents=new h.bkB;attachEvents=new h.bkB;detachEvents=new h.bkB;routerOutletData=(0,C.hFB)();parentContexts=(0,h.WQX)(go);location=(0,h.WQX)(_.c1b);changeDetector=(0,h.WQX)(C.gRc);inputBinder=(0,h.WQX)(vi,{optional:!0});supportsBindingToComponentInputs=!0;
1ngOnChanges(z){if(z.name){const{firstChange:ce,previousValue:Ne}=z.name;if(ce)return;this.isTrackedInParentContexts(Ne)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Ne)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(z){return this.parentContexts.getContext(z)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const z=this.parentContexts.getContext(this.name);z?.route&&(z.attachRef?this.attach(z.attachRef,z.route):this.activateWith(z.route,z.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new h.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new h.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new h.buA(4012,!1);this.location.detach();const z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(z.instance),z}attach(z,ce){this.activated=z,this._activatedRoute=ce,this.location.insert(z.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(z.instance)}deactivate(){if(this.activated){const z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(z)}}activateWith(z,ce){if(this.isActivated)throw new h.buA(4013,!1);this._activatedRoute=z;const Ne=this.location,Ht=z.snapshot.component,Rt=this.parentContexts.getOrCreateContext(this.name).children,In=new Mi(z,Rt,Ne.injector,this.routerOutletData);this.activated=Ne.createComponent(Ht,{index:Ne.length,injector:In,environmentInjector:ce}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(ce){return new(ce||W)};static \u0275dir=_.FsC({type:W,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[_.OA$]})}return W})();class Mi{route;childContexts;parent;outletData;constructor(ae,z,ce,Ne){this.route=ae,this.childContexts=z,this.parent=ce,this.outletData=Ne}get(ae,z){return ae===wn?this.route:ae===go?this.childContexts:ae===ii?this.outletData:this.parent.get(ae,z)}}const vi=new h.nKC("");let Si=(()=>{class W{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(z){this.unsubscribeFromRouteData(z),this.subscribeToRouteData(z)}unsubscribeFromRouteData(z){this.outletDataSubscriptions.get(z)?.unsubscribe(),this.outletDataSubscriptions.delete(z)}subscribeToRouteData(z){const{activatedRoute:ce}=z,Ne=(0,x.z)([ce.queryParams,ce.params,ce.data]).pipe((0,Ce.n)(([vt,Ht,Rt],In)=>(Rt={...vt,...Ht,...Rt},0===In?(0,te.of)(Rt):Promise.resolve(Rt)))).subscribe(vt=>{if(!z.isActivated||!z.activatedComponentRef||z.activatedRoute!==ce||null===ce.component)return void this.unsubscribeFromRouteData(z);const Ht=(0,C.HJs)(ce.component);if(Ht)for(const{templateName:Rt}of Ht.inputs)z.activatedComponentRef.setInput(Rt,vt[Rt]);else this.unsubscribeFromRouteData(z)});this.outletDataSubscriptions.set(z,Ne)}static \u0275fac=function(ce){return new(ce||W)};static \u0275prov=h.jDH({token:W,factory:W.\u0275fac})}return W})(),$i=(()=>{class W{static \u0275fac=function(ce){return new(ce||W)};static \u0275cmp=_.VBU({type:W,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(ce,Ne){1&ce&&_.nrm(0,"router-outlet")},dependencies:[ki],encapsulation:2})}return W})();function ro(W){const ae=W.children&&W.children.map(ro),z=ae?{...W,children:ae}:{...W};return!z.component&&!z.loadComponent&&(ae||z.loadChildren)&&z.outlet&&z.outlet!==ct&&(z.component=$i),z}function mo(W,ae,z){if(z&&W.shouldReuseRoute(ae.value,z.value.snapshot)){const ce=z.value;ce._futureSnapshot=ae.value;const Ne=function Vo(W,ae,z){return ae.children.map(ce=>{for(const Ne of z.children)if(W.shouldReuseRoute(ce.value,Ne.value.snapshot))return mo(W,ce,Ne);return mo(W,ce)})}(W,ae,z);
1return new Ie(ce,Ne)}{if(W.shouldAttach(ae.value)){const vt=W.retrieve(ae.value);if(null!==vt){const Ht=vt.route;return Ht.value._futureSnapshot=ae.value,Ht.children=ae.children.map(Rt=>mo(W,Rt)),Ht}}const ce=function yo(W){return new wn(new M.t(W.url),new M.t(W.params),new M.t(W.queryParams),new M.t(W.fragment),new M.t(W.data),W.outlet,W.component,W)}(ae.value),Ne=ae.children.map(vt=>mo(W,vt));return new Ie(ce,Ne)}}class hs{redirectTo;navigationBehaviorOptions;constructor(ae,z){this.redirectTo=ae,this.navigationBehaviorOptions=z}}const No="ngNavigationCancelingError";function uo(W,ae){const{redirectTo:z,navigationBehaviorOptions:ce}=Wi(ae)?{redirectTo:ae,navigationBehaviorOptions:void 0}:ae,Ne=Xo(!1,Ut.Redirect);return Ne.url=z,Ne.navigationBehaviorOptions=ce,Ne}function Xo(W,ae){const z=new Error(`NavigationCancelingError: ${W||""}`);return z[No]=!0,z.cancellationCode=ae,z}function is(W){return!!W&&W[No]}class Yo{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(ae,z,ce,Ne,vt){this.routeReuseStrategy=ae,this.futureState=z,this.currState=ce,this.forwardEvent=Ne,this.inputBindingEnabled=vt}activate(ae){const z=this.futureState._root,ce=this.currState?this.currState._root:null;this.deactivateChildRoutes(z,ce,ae),mn(this.futureState.root),this.activateChildRoutes(z,ce,ae)}deactivateChildRoutes(ae,z,ce){const Ne=Ot(z);ae.children.forEach(vt=>{const Ht=vt.value.outlet;this.deactivateRoutes(vt,Ne[Ht],ce),delete Ne[Ht]}),Object.values(Ne).forEach(vt=>{this.deactivateRouteAndItsChildren(vt,ce)})}deactivateRoutes(ae,z,ce){const Ne=ae.value,vt=z?z.value:null;if(Ne===vt)if(Ne.component){const Ht=ce.getContext(Ne.outlet);Ht&&this.deactivateChildRoutes(ae,z,Ht.children)}else this.deactivateChildRoutes(ae,z,ce);else vt&&this.deactivateRouteAndItsChildren(z,ce)}deactivateRouteAndItsChildren(ae,z){ae.value.component&&this.routeReuseStrategy.shouldDetach(ae.value.snapshot)?this.detachAndStoreRouteSubtree(ae,z):this.deactivateRouteAndOutlet(ae,z)}detachAndStoreRouteSubtree(ae,z){const ce=z.getContext(ae.value.outlet),Ne=ce&&ae.value.component?ce.children:z,vt=Ot(ae);for(const Ht of Object.values(vt))this.deactivateRouteAndItsChildren(Ht,Ne);if(ce&&ce.outlet){const Ht=ce.outlet.detach(),Rt=ce.children.onOutletDeactivated();this.routeReuseStrategy.store(ae.value.snapshot,{componentRef:Ht,route:ae,contexts:Rt})}}deactivateRouteAndOutlet(ae,z){const ce=z.getContext(ae.value.outlet),Ne=ce&&ae.value.component?ce.children:z,vt=Ot(ae);for(const Ht of Object.values(vt))this.deactivateRouteAndItsChildren(Ht,Ne);ce&&(ce.outlet&&(ce.outlet.deactivate(),ce.children.onOutletDeactivated()),ce.attachRef=null,ce.route=null)}activateChildRoutes(ae,z,ce){const Ne=Ot(z);ae.children.forEach(vt=>{this.activateRoutes(vt,Ne[vt.value.outlet],ce),this.forwardEvent(new cn(vt.value.snapshot))}),ae.children.length&&this.forwardEvent(new xo(ae.value.snapshot))}activateRoutes(ae,z,ce){const Ne=ae.value,vt=z?z.value:null;if(mn(Ne),Ne===vt)if(Ne.component){const Ht=ce.getOrCreateContext(Ne.outlet);this.activateChildRoutes(ae,z,Ht.children)}else this.activateChildRoutes(ae,z,ce);else if(Ne.component){const Ht=ce.getOrCreateContext(Ne.outlet);if(this.routeReuseStrategy.shouldAttach(Ne.snapshot)){const Rt=this.routeReuseStrategy.retrieve(Ne.snapshot);this.routeReuseStrategy.store(Ne.snapshot,null),Ht.children.onOutletReAttached(Rt.contexts),Ht.attachRef=Rt.componentRef,Ht.route=Rt.route.value,Ht.outlet&&Ht.outlet.attach(Rt.componentRef,Rt.route.value),mn(Rt.route.value),this.activateChildRoutes(ae,null,Ht.children)}else Ht.attachRef=null,Ht.route=Ne,Ht.outlet&&Ht.outlet.activateWith(Ne,Ht.injector),this.activateChildRoutes(ae,null,Ht.children)}else this.activateChildRoutes(ae,null,ce)}}class Jo{path;route;constructor(ae){this.path=ae,this.route=this.path[this.path.length-1]}}class ho{component;route;constructor(ae,z){this.component=ae,this.route=z}}function es(W,ae,z){const ce=W._root;return zo(ce,ae?ae._root:null,z,[ce.value])}function Po(W,ae){const z=Symbol(),ce=ae.get(W,z);return ce===z?"function"!=typeof W||(0,h.muV)(W)?ae.get(W):W:ce}function zo(W,ae,z,ce,Ne={canDeactivateChecks:[],canActivateChecks:[]}){const vt=Ot(ae);
1return W.children.forEach(Ht=>{(function Xi(W,ae,z,ce,Ne={canDeactivateChecks:[],canActivateChecks:[]}){const vt=W.value,Ht=ae?ae.value:null,Rt=z?z.getContext(W.value.outlet):null;if(Ht&&vt.routeConfig===Ht.routeConfig){const In=function ms(W,ae,z){if("function"==typeof z)return(0,h.N4e)(ae._environmentInjector,()=>z(W,ae));switch(z){case"pathParamsChange":return!le(W.url,ae.url);case"pathParamsOrQueryParamsChange":return!le(W.url,ae.url)||!Pe(W.queryParams,ae.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rn(W,ae)||!Pe(W.queryParams,ae.queryParams);default:return!Rn(W,ae)}}(Ht,vt,vt.routeConfig.runGuardsAndResolvers);In?Ne.canActivateChecks.push(new Jo(ce)):(vt.data=Ht.data,vt._resolvedData=Ht._resolvedData),zo(W,ae,vt.component?Rt?Rt.children:null:z,ce,Ne),In&&Rt&&Rt.outlet&&Rt.outlet.isActivated&&Ne.canDeactivateChecks.push(new ho(Rt.outlet.component,Ht))}else Ht&&Ao(ae,Rt,Ne),Ne.canActivateChecks.push(new Jo(ce)),zo(W,null,vt.component?Rt?Rt.children:null:z,ce,Ne)})(Ht,vt[Ht.value.outlet],z,ce.concat([Ht.value]),Ne),delete vt[Ht.value.outlet]}),Object.entries(vt).forEach(([Ht,Rt])=>Ao(Rt,z.getContext(Ht),Ne)),Ne}function Ao(W,ae,z){const ce=Ot(W),Ne=W.value;Object.entries(ce).forEach(([vt,Ht])=>{Ao(Ht,Ne.component?ae?ae.children.getContext(vt):null:ae,z)}),z.canDeactivateChecks.push(new ho(Ne.component&&ae&&ae.outlet&&ae.outlet.isActivated?ae.outlet.component:null,Ne))}function Go(W){return"function"==typeof W}function j(W){return W instanceof O.G||"EmptyError"===W?.name}const pe=Symbol("INITIAL_VALUE");function Ye(){return(0,Ce.n)(W=>(0,x.z)(W.map(ae=>ae.pipe((0,Te.s)(1),(0,xe.Z)(pe)))).pipe((0,ut.T)(ae=>{for(const z of ae)if(!0!==z){if(z===pe)return pe;if(!1===z||Ft(z))return z}return!0}),(0,ne.p)(ae=>ae!==pe),(0,Te.s)(1)))}function Ft(W){return Wi(W)||W instanceof hs}function Nn(W){return W.aborted?(0,te.of)(void 0).pipe((0,Te.s)(1)):new y.c(ae=>{const z=()=>{ae.next(),ae.complete()};return W.addEventListener("abort",z),()=>W.removeEventListener("abort",z)})}function Ji(W){return(0,Ke.Q)(Nn(W))}function Fo(W){return(0,D.F)((0,Qe.M)(ae=>{if("boolean"!=typeof ae)throw uo(0,ae)}),(0,ut.T)(ae=>!0===ae))}class qo extends Error{segmentGroup;constructor(ae){super(),this.segmentGroup=ae||null,Object.setPrototypeOf(this,qo.prototype)}}class be extends Error{urlTree;constructor(ae){super(),this.urlTree=ae,Object.setPrototypeOf(this,be.prototype)}}function Ae(W){throw new h.buA(4e3,!1)}class tt{urlSerializer;urlTree;constructor(ae,z){this.urlSerializer=ae,this.urlTree=z}lineralizeSegments(ae,z){return(0,f.A)(function*(){let ce=[],Ne=z.root;for(;;){if(ce=ce.concat(Ne.segments),0===Ne.numberOfChildren)return ce;if(Ne.numberOfChildren>1||!Ne.children[ct])throw Ae();Ne=Ne.children[ct]}})()}applyRedirectCommands(ae,z,ce,Ne,vt){var Ht=this;return(0,f.A)(function*(){const Rt=yield function $t(W,ae,z){if("string"==typeof W)return Promise.resolve(W);const ce=W;return ve(wt((0,h.N4e)(z,()=>ce(ae))))}(z,Ne,vt);if(Rt instanceof Bt)throw new be(Rt);const In=Ht.applyRedirectCreateUrlTree(Rt,Ht.urlSerializer.parse(Rt),ae,ce);if("/"===Rt[0])throw new be(In);return In})()}applyRedirectCreateUrlTree(ae,z,ce,Ne){const vt=this.createSegmentGroup(ae,z.root,ce,Ne);return new Bt(vt,this.createQueryParams(z.queryParams,this.urlTree.queryParams),z.fragment)}createQueryParams(ae,z){const ce={};return Object.entries(ae).forEach(([Ne,vt])=>{if("string"==typeof vt&&":"===vt[0]){const Rt=vt.substring(1);ce[Ne]=z[Rt]}else ce[Ne]=vt}),ce}createSegmentGroup(ae,z,ce,Ne){const vt=this.createSegments(ae,z.segments,ce,Ne);let Ht={};return Object.entries(z.children).forEach(([Rt,In])=>{Ht[Rt]=this.createSegmentGroup(ae,In,ce,Ne)}),new it(vt,Ht)}createSegments(ae,z,ce,Ne){return z.map(vt=>":"===vt.path[0]?this.findPosParam(ae,vt,Ne):this.findOrReturn(vt,ce))}findPosParam(ae,z,ce){const Ne=ce[z.path.substring(1)];if(!Ne)throw new h.buA(4001,!1);return Ne}findOrReturn(ae,z){let ce=0;for(const Ne of z){if(Ne.path===ae.path)return z.splice(ce),Ne;ce++}return ae}}function ns(W){return W.outlet||ct}function Or(W,ae){const z=W.filter(ce=>ns(ce)===ae);return z.push(...W.filter(ce=>ns(ce)!==ae)),z}const _s={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function or(W){return{routeConfig:W.routeConfig,url:W.url,params:W.params,queryParams:W.queryParams,fragment:W.fragment,data:W.data,outlet:W.outlet,title:W.title,paramMap:W.paramMap,queryParamMap:W.queryParamMap}}function Rs(W,ae,z,ce,Ne,vt,Ht){const Rt=js(W,ae,z);if(!Rt.matched)return(0,te.of)(Rt);const In=or(vt(Rt));return ce=function ni(W,ae){return W.providers&&!W._injector&&(W._injector=(0,_.Ol2)(W.providers,ae,`Route: ${W.path}`)),W._injector??ae}(ae,ce),function xs(W,ae,z,ce,Ne,vt){const Ht=ae.canMatch;if(!Ht||0===Ht.length)return(0,te.of)(!0);const Rt=Ht.map(In=>{const Gn=Po(In,W);return wt(function nt(W){return W&&Go(W.canMatch)}(Gn)?Gn.canMatch(ae,z,Ne):(0,h.N4e)(W,()=>Gn(ae,z,Ne))).pipe(Ji(vt))});return(0,te.of)(Rt).pipe(Ye(),Fo())}(ce,ae,z,0,In,Ht).pipe((0,ut.T)(Gn=>!0===Gn?Rt:{..._s}))}function js(W,ae,z){if(""===ae.path)return"full"===ae.pathMatch&&(W.hasChildren()||z.length>0)?{..._s}:{matched:!0,consumedSegments:[],remainingSegments:z,parameters:{},positionalParamSegments:{}};const Ne=(ae.matcher||Xe)(z,W,ae);if(!Ne)return{..._s};const vt={};Object.entries(Ne.posParams??{}
1).forEach(([Rt,In])=>{vt[Rt]=In.path});const Ht=Ne.consumed.length>0?{...vt,...Ne.consumed[Ne.consumed.length-1].parameters}:vt;return{matched:!0,consumedSegments:Ne.consumed,remainingSegments:z.slice(Ne.consumed.length),parameters:Ht,positionalParamSegments:Ne.posParams??{}}}function Bo(W,ae,z,ce,Ne){return z.length>0&&function sr(W,ae,z,ce){return z.some(Ne=>!(!rr(W,ae,Ne)||ns(Ne)===ct||void 0!==ce&&ns(Ne)===ce))}(W,z,ce,Ne)?{segmentGroup:new it(ae,Hr(ce,new it(z,W.children))),slicedSegments:[]}:0===z.length&&function hr(W,ae,z){return z.some(ce=>rr(W,ae,ce))}(W,z,ce)?{segmentGroup:new it(W.segments,wr(W,z,ce,W.children)),slicedSegments:z}:{segmentGroup:new it(W.segments,W.children),slicedSegments:z}}function wr(W,ae,z,ce){const Ne={};for(const vt of z)if(rr(W,ae,vt)&&!ce[ns(vt)]){const Ht=new it([],{});Ne[ns(vt)]=Ht}return{...ce,...Ne}}function Hr(W,ae){const z={};z[ct]=ae;for(const ce of W)if(""===ce.path&&ns(ce)!==ct){const Ne=new it([],{});z[ns(ce)]=Ne}return z}function rr(W,ae,z){return(!(W.hasChildren()||ae.length>0)||"full"!==z.pathMatch)&&""===z.path}class Ir{}function ar(){return(ar=(0,f.A)(function*(W,ae,z,ce,Ne,vt,Ht="emptyOnly",Rt){return new As(W,ae,z,ce,Ne,Ht,vt,Rt).recognize()})).apply(this,arguments)}class As{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(ae,z,ce,Ne,vt,Ht,Rt,In){this.injector=ae,this.configLoader=z,this.rootComponentType=ce,this.config=Ne,this.urlTree=vt,this.paramsInheritanceStrategy=Ht,this.urlSerializer=Rt,this.abortSignal=In,this.applyRedirects=new tt(this.urlSerializer,this.urlTree)}noMatchError(ae){return new h.buA(4002,`'${ae.segmentGroup}'`)}recognize(){var ae=this;return(0,f.A)(function*(){const z=Bo(ae.urlTree.root,[],[],ae.config).segmentGroup,{children:ce,rootSnapshot:Ne}=yield ae.match(z),vt=new Ie(Ne,ce),Ht=new xt("",vt),Rt=qi(Ne,[],ae.urlTree.queryParams,ae.urlTree.fragment);return Rt.queryParams=ae.urlTree.queryParams,Ht.url=ae.urlSerializer.serialize(Rt),{state:Ht,tree:Rt}})()}match(ae){var z=this;return(0,f.A)(function*(){const ce=new qe([],Object.freeze({}),Object.freeze({...z.urlTree.queryParams}),z.urlTree.fragment,Object.freeze({}),ct,z.rootComponentType,null,{},z.injector);try{return{children:yield z.processSegmentGroup(z.injector,z.config,ae,ct,ce),rootSnapshot:ce}}catch(Ne){if(Ne instanceof be)return z.urlTree=Ne.urlTree,z.match(Ne.urlTree.root);throw Ne instanceof qo?z.noMatchError(Ne):Ne}})()}processSegmentGroup(ae,z,ce,Ne,vt){var Ht=this;return(0,f.A)(function*(){if(0===ce.segments.length&&ce.hasChildren())return Ht.processChildren(ae,z,ce,vt);const Rt=yield Ht.processSegment(ae,z,ce,ce.segments,Ne,!0,vt);return Rt instanceof Ie?[Rt]:[]})()}processChildren(ae,z,ce,Ne){var vt=this;return(0,f.A)(function*(){const Ht=[];for(const Gn of Object.keys(ce.children))"primary"===Gn?Ht.unshift(Gn):Ht.push(Gn);let Rt=[];for(const Gn of Ht){const gi=ce.children[Gn],Ui=Or(z,Gn),Oo=yield vt.processSegmentGroup(ae,Ui,gi,Gn,Ne);Rt.push(...Oo)}const In=ys(Rt);return function $r(W){W.sort((ae,z)=>ae.value.outlet===ct?-1:z.value.outlet===ct?1:ae.value.outlet.localeCompare(z.value.outlet))}(In),In})()}processSegment(ae,z,ce,Ne,vt,Ht,Rt){var In=this;return(0,f.A)(function*(){for(const Gn of z)try{return yield In.processSegmentAgainstRoute(Gn._injector??ae,z,Gn,ce,Ne,vt,Ht,Rt)}catch(gi){if(gi instanceof qo||j(gi))continue;throw gi}if(function Tr(W,ae,z){return 0===ae.length&&!W.children[z]}(ce,Ne,vt))return new Ir;throw new qo(ce)})()}processSegmentAgainstRoute(ae,z,ce,Ne,vt,Ht,Rt,In){var Gn=this;return(0,f.A)(function*(){if(ns(ce)!==Ht&&(Ht===ct||!rr(Ne,vt,ce)))throw new qo(Ne);if(void 0===ce.redirectTo)return Gn.matchSegmentAgainstRoute(ae,Ne,ce,vt,Ht,In);if(Gn.allowRedirects&&Rt)return Gn.expandSegmentAgainstRouteUsingRedirect(ae,Ne,z,ce,vt,Ht,In);throw new qo(Ne)})()}expandSegmentAgainstRouteUsingRedirect(ae,z,ce,Ne,vt,Ht,Rt){var In=this;return(0,f.A)(function*(){const{matched:Gn,parameters:gi,consumedSegments:Ui,positionalParamSegments:Oo,remainingSegments:qs}=js(z,Ne,vt);if(!Gn)throw new qo(z);"string"==typeof Ne.redirectTo&&"/"===Ne.redirectTo[0]&&(In.absoluteRedirectCount++,In.absoluteRedirectCount>31&&(In.allowRedirects=!1));const lr=In.createSnapshot(ae,Ne,vt,gi,Rt);if(In.abortSignal.aborted)throw new Error(In.abortSignal.reason);const Is=yield In.applyRedirects.applyRedirectCommands(Ui,Ne.redirectTo,Oo,or(lr),ae),cr=yield In.applyRedirects.lineralizeSegments(Ne,Is);return In.processSegment(ae,ce,z,cr.concat(qs),Ht,!1,Rt)})()}createSnapshot(ae,z,ce,Ne,vt){const Ht=new qe(ce,Ne,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function ds(W){return W.data||{}}(z),ns(z),z.component??z._loadedComponent??null,z,function Vs(W){return W.resolve||{}}(z),ae),Rt=Ge(Ht,vt,this.paramsInheritanceStrategy);return Ht.params=Object.freeze(Rt.params),Ht.data=Object.freeze(Rt.data),Ht}matchSegmentAgainstRoute(ae,z,ce,Ne,vt,Ht){var Rt=this;return(0,f.A)(function*(){if(Rt.abortSignal.aborted)throw new Error(Rt.abortSignal.reason);const Gn=yield ve(Rs(z,ce,Ne,ae,0,Zs=>Rt.createSnapshot(ae,ce,Zs.consumedSegments,Zs.parameters,Ht),Rt.abortSignal));if("**"===ce.path&&(z.children={}),!Gn?.matched)throw new qo(z);ae=ce._injector??ae;const{routes:gi}=yield Rt.getChildConfig(ae,ce,Ne),Ui=ce._loadedInjector??ae,{parameters:Oo,consumedSegments:qs,remainingSegments:lr}=Gn,Is=Rt.createSnapshot(ae,ce,qs,Oo,Ht),{segmentGroup:cr,slicedSegments:Jr}=Bo(z,qs,lr,gi,vt);
1if(0===Jr.length&&cr.hasChildren()){const Zs=yield Rt.processChildren(Ui,gi,cr,Is);return new Ie(Is,Zs)}if(0===gi.length&&0===Jr.length)return new Ie(Is,[]);const Ps=ns(ce)===vt,Ur=yield Rt.processSegment(Ui,gi,cr,Jr,Ps?ct:vt,!0,Is);return new Ie(Is,Ur instanceof Ie?[Ur]:[])})()}getChildConfig(ae,z,ce){var Ne=this;return(0,f.A)(function*(){if(z.children)return{routes:z.children,injector:ae};if(z.loadChildren){if(void 0!==z._loadedRoutes){const Ht=z._loadedNgModuleFactory;return Ht&&!z._loadedInjector&&(z._loadedInjector=Ht.create(ae).injector),{routes:z._loadedRoutes,injector:z._loadedInjector}}if(Ne.abortSignal.aborted)throw new Error(Ne.abortSignal.reason);if(yield ve(function Qo(W,ae,z,ce,Ne){const vt=ae.canLoad;if(void 0===vt||0===vt.length)return(0,te.of)(!0);const Ht=vt.map(Rt=>{const In=Po(Rt,W),gi=wt(function os(W){return W&&Go(W.canLoad)}(In)?In.canLoad(ae,z):(0,h.N4e)(W,()=>In(ae,z)));return Ne?gi.pipe(Ji(Ne)):gi});return(0,te.of)(Ht).pipe(Ye(),Fo())}(ae,z,ce,0,Ne.abortSignal))){const Ht=yield Ne.configLoader.loadChildren(ae,z);return z._loadedRoutes=Ht.routes,z._loadedInjector=Ht.injector,z._loadedNgModuleFactory=Ht.factory,Ht}throw function se(){throw Xo(!1,Ut.GuardRejected)}()}return{routes:[],injector:ae}})()}}function gr(W){const ae=W.value.routeConfig;return ae&&""===ae.path}function ys(W){const ae=[],z=new Set;for(const ce of W){if(!gr(ce)){ae.push(ce);continue}const Ne=ae.find(vt=>ce.value.routeConfig===vt.value.routeConfig);void 0!==Ne?(Ne.children.push(...ce.children),z.add(Ne)):ae.push(ce)}for(const ce of z){const Ne=ys(ce.children);ae.push(new Ie(ce.value,Ne))}return ae.filter(ce=>!z.has(ce))}function mr(W){const ae=W.children.map(z=>mr(z)).flat();return[W,...ae]}function Fs(W){return(0,Ce.n)(ae=>{const z=W(ae);return z?(0,K.H)(z).pipe((0,ut.T)(()=>ae)):(0,te.of)(ae)})}let Xs=(()=>{class W{buildTitle(z){let ce,Ne=z.root;for(;void 0!==Ne;)ce=this.getResolvedTitleForRoute(Ne)??ce,Ne=Ne.children.find(vt=>vt.outlet===ct);return ce}getResolvedTitleForRoute(z){return z.data[Pt]}static \u0275fac=function(ce){return new(ce||W)};static \u0275prov=h.jDH({token:W,factory:()=>(0,h.WQX)(fs),providedIn:"root"})}return W})(),fs=(()=>{class W extends Xs{title;constructor(z){super(),this.title=z}updateTitle(z){const ce=this.buildTitle(z);void 0!==ce&&this.title.setTitle(ce)}static \u0275fac=function(ce){return new(ce||W)(h.KVO(kt.hE))};static \u0275prov=h.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const bs=new h.nKC("",{factory:()=>({})}),ko=new h.nKC("");let io=(()=>{class W{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,h.WQX)(_.Ql9);loadComponent(z,ce){var Ne=this;return(0,f.A)(function*(){if(Ne.componentLoaders.get(ce))return Ne.componentLoaders.get(ce);if(ce._loadedComponent)return Promise.resolve(ce._loadedComponent);Ne.onLoadStartListener&&Ne.onLoadStartListener(ce);const vt=(0,f.A)(function*(){try{const Ht=yield Yt((0,h.N4e)(z,()=>ce.loadComponent())),Rt=yield kr(Js(Ht));return Ne.onLoadEndListener&&Ne.onLoadEndListener(ce),ce._loadedComponent=Rt,Rt}finally{Ne.componentLoaders.delete(ce)}})();return Ne.componentLoaders.set(ce,vt),vt})()}loadChildren(z,ce){var Ne=this;if(this.childrenLoaders.get(ce))return this.childrenLoaders.get(ce);if(ce._loadedRoutes)return Promise.resolve({routes:ce._loadedRoutes,injector:ce._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(ce);const vt=(0,f.A)(function*(){try{const Ht=yield function _r(W,ae,z,ce){return vs.apply(this,arguments)}(ce,Ne.compiler,z,Ne.onLoadEndListener);return ce._loadedRoutes=Ht.routes,ce._loadedInjector=Ht.injector,ce._loadedNgModuleFactory=Ht.factory,Ht}finally{Ne.childrenLoaders.delete(ce)}})();return this.childrenLoaders.set(ce,vt),vt}static \u0275fac=function(ce){return new(ce||W)};static \u0275prov=h.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();function vs(){return(vs=(0,f.A)(function*(W,ae,z,ce){const Ne=yield Yt((0,h.N4e)(z,()=>W.loadChildren())),vt=yield kr(Js(Ne));let Ht;Ht=vt instanceof _.PYt||Array.isArray(vt)?vt:yield ae.compileModuleAsync(vt),ce&&ce(W);let Rt,In,gi;return Array.isArray(Ht)?In=Ht:(Rt=Ht.create(z).injector,gi=Ht,In=Rt.get(ko,[],{optional:!0,self:!0}).flat()),{routes:In.map(ro),injector:Rt,factory:gi}})).apply(this,arguments)}function Js(W){return function Gs(W){return W&&"object"==typeof W&&"default"in W}(W)?W.default:W}function kr(W){return yr.apply(this,arguments)}function yr(){return(yr=(0,f.A)(function*(W){return W})).apply(this,arguments)}let Ts=(()=>{class W{static \u0275fac=function(ce){return new(ce||W)};static \u0275prov=h.jDH({token:W,factory:()=>(0,h.WQX)(Eo),providedIn:"root"})}return W})(),Eo=(()=>{class W{shouldProcessUrl(z){return!0}extract(z){return z}merge(z,ce){return z}static \u0275fac=function(ce){return new(ce||W)};static \u0275prov=h.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const Cs=new h.nKC(""),Bs=new h.nKC("");function Rr(W,ae,z){const ce=W.get(Bs),Ne=W.get(h.qQL);if(!Ne.startViewTransition||ce.skipNextTransition)return ce.skipNextTransition=!1,new Promise(Gn=>setTimeout(Gn));let vt;const Ht=new Promise(Gn=>{vt=Gn}),Rt=Ne.startViewTransition(()=>(vt(),function R(W){return new Promise(ae=>{(0,_.mal)({read:()=>setTimeout(ae)},{injector:W})})}(W)));Rt.updateCallbackDone.catch(Gn=>{}),Rt.ready.catch(Gn=>{}),Rt.finished.catch(Gn=>{});const{onViewTransitionCreated:In}=ce;return In&&(0,h.N4e)(W,()=>In({transition:Rt,from:ae,to:z})),Ht}const I=()=>{},Q=new h.nKC("");let oe=(()=>{class W{currentNavigation=(0,h.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=(0,h.vPA)(null);events=new d.B;
1transitionAbortWithErrorSubject=new d.B;configLoader=(0,h.WQX)(io);environmentInjector=(0,h.WQX)(h.uvJ);destroyRef=(0,h.WQX)(h.abz);urlSerializer=(0,h.WQX)(Ee);rootContexts=(0,h.WQX)(go);location=(0,h.WQX)(g.aZ);inputBindingEnabled=null!==(0,h.WQX)(vi,{optional:!0});titleStrategy=(0,h.WQX)(Xs);options=(0,h.WQX)(bs,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,h.WQX)(Ts);createViewTransition=(0,h.WQX)(Cs,{optional:!0});navigationErrorHandler=(0,h.WQX)(Q,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,te.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=Ne=>this.events.next(new to(Ne)),this.configLoader.onLoadStartListener=Ne=>this.events.next(new Ti(Ne)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(z){const ce=++this.navigationId;(0,o.O8)(()=>{this.transitions?.next({...z,extractedUrl:this.urlHandlingStrategy.extract(z.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:ce,routesRecognizeHandler:{},beforeActivateHandler:{}})})}setupNavigations(z){return this.transitions=new M.t(null),this.transitions.pipe((0,ne.p)(ce=>null!==ce),(0,Ce.n)(ce=>{let Ne=!1;const vt=new AbortController,Ht=()=>!Ne&&this.currentTransition?.id===ce.id;return(0,te.of)(ce).pipe((0,Ce.n)(Rt=>{if(this.navigationId>ce.id)return this.cancelNavigationTransition(ce,"",Ut.SupersededByNewNavigation),ee.w;this.currentTransition=ce;const In=this.lastSuccessfulNavigation();this.currentNavigation.set({id:Rt.id,initialUrl:Rt.rawUrl,extractedUrl:Rt.extractedUrl,targetBrowserUrl:"string"==typeof Rt.extras.browserUrl?this.urlSerializer.parse(Rt.extras.browserUrl):Rt.extras.browserUrl,trigger:Rt.source,extras:Rt.extras,previousNavigation:In?{...In,previousNavigation:null}:null,abort:()=>vt.abort(),routesRecognizeHandler:Rt.routesRecognizeHandler,beforeActivateHandler:Rt.beforeActivateHandler});const Gn=!z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Gn&&"reload"!==(Rt.extras.onSameUrlNavigation??z.onSameUrlNavigation))return this.events.next(new ai(Rt.id,this.urlSerializer.serialize(Rt.rawUrl),"",vn.IgnoredSameUrlNavigation)),Rt.resolve(!1),ee.w;if(this.urlHandlingStrategy.shouldProcessUrl(Rt.rawUrl))return(0,te.of)(Rt).pipe((0,Ce.n)(Ui=>(this.events.next(new bi(Ui.id,this.urlSerializer.serialize(Ui.extractedUrl),Ui.source,Ui.restoredState)),Ui.id!==this.navigationId?ee.w:Promise.resolve(Ui))),function ws(W,ae,z,ce,Ne,vt,Ht){return(0,Oe.Z)(function(){var Rt=(0,f.A)(function*(In){const{state:Gn,tree:gi}=yield function pr(W,ae,z,ce,Ne,vt){return ar.apply(this,arguments)}(W,ae,z,ce,In.extractedUrl,Ne,vt,Ht);return{...In,targetSnapshot:Gn,urlAfterRedirects:gi}});return function(In){return Rt.apply(this,arguments)}}())}(this.environmentInjector,this.configLoader,this.rootComponentType,z.config,this.urlSerializer,this.paramsInheritanceStrategy,vt.signal),(0,Qe.M)(Ui=>{ce.targetSnapshot=Ui.targetSnapshot,ce.urlAfterRedirects=Ui.urlAfterRedirects,this.currentNavigation.update(Oo=>(Oo.finalUrl=Ui.urlAfterRedirects,Oo)),this.events.next(new Zn)}),(0,Ce.n)(Ui=>(0,K.H)(ce.routesRecognizeHandler.deferredHandle??(0,te.of)(void 0)).pipe((0,ut.T)(()=>Ui))),(0,Qe.M)(()=>{const Ui=new oi(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),this.urlSerializer.serialize(Rt.urlAfterRedirects),Rt.targetSnapshot);this.events.next(Ui)}));if(Gn&&this.urlHandlingStrategy.shouldProcessUrl(Rt.currentRawUrl)){const{id:Ui,extractedUrl:Oo,source:qs,restoredState:lr,extras:Is}=Rt,cr=new bi(Ui,this.urlSerializer.serialize(Oo),qs,lr);this.events.next(cr);const Jr=pt(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=ce={...Rt,targetSnapshot:Jr,urlAfterRedirects:Oo,extras:{...Is,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(Ps=>(Ps.finalUrl=Oo,Ps)),(0,te.of)(ce)}return this.events.next(new ai(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),"",vn.IgnoredByUrlHandlingStrategy)),Rt.resolve(!1),ee.w}),(0,ut.T)(Rt=>{const In=new mi(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),this.urlSerializer.serialize(Rt.urlAfterRedirects),Rt.targetSnapshot);return this.events.next(In),this.currentTransition=ce={...Rt,guards:es(Rt.targetSnapshot,Rt.currentSnapshot,this.rootContexts)},ce}),function oo(W){return(0,Oe.Z)(ae=>{const{targetSnapshot:z,currentSnapshot:ce,guards:{canActivateChecks:Ne,canDeactivateChecks:vt}}=ae;return 0===vt.length&&0===Ne.length?(0,te.of)({...ae,guardsResult:!0}):function jo(W,ae,z){return(0,K.H)(W).pipe((0,Oe.Z)(ce=>function ss(W,ae,z,ce){const Ne=ae&&ae.routeConfig?ae.routeConfig.canDeactivate:null;if(!Ne||0===Ne.length)return(0,te.of)(!0);const vt=Ne.map(Ht=>{const Rt=ae._environmentInjector,In=Po(Ht,Rt);return wt(function Z(W){return W&&Go(W.canDeactivate)}(In)?In.canDeactivate(W,ae,z,ce):(0,h.N4e)(Rt,()=>In(W,ae,z,ce))).pipe((0,Le.$)())});return(0,te.of)(vt).pipe(Ye())}(ce.component,ce.route,z,ae)),(0,Le.$)(ce=>!0!==ce,!0))}(vt,z,ce).pipe((0,Oe.Z)(Ht=>Ht&&function zs(W){return"boolean"==typeof W}(Ht)?function _o(W,ae,z){return(0,K.H)(ae).pipe((0,J.H)(ce=>(0,N.x)(function cs(W,ae){return null!==W&&ae&&ae(new lo(W)),(0,te.of)(!0)}(ce.route.parent,z),function So(W,ae){return null!==W&&ae&&ae(new Qt(W)),(0,te.of)(!0)}(ce.route,z),function ui(W,ae){const z=ae[ae.length-1],Ne=ae.slice(0,ae.length-1).reverse().map(vt=>function bo(W){const ae=W.routeConfig?W.routeConfig.canActivateChild:null;return ae&&0!==ae.length?{node:W,guards:ae}:null}
1(vt)).filter(vt=>null!==vt).map(vt=>(0,q.v)(()=>{const Ht=vt.guards.map(Rt=>{const In=vt.node._environmentInjector,Gn=Po(Rt,In);return wt(function vo(W){return W&&Go(W.canActivateChild)}(Gn)?Gn.canActivateChild(z,W):(0,h.N4e)(In,()=>Gn(z,W))).pipe((0,Le.$)())});return(0,te.of)(Ht).pipe(Ye())}));return(0,te.of)(Ne).pipe(Ye())}(W,ce.path),function us(W,ae){const z=ae.routeConfig?ae.routeConfig.canActivate:null;if(!z||0===z.length)return(0,te.of)(!0);const ce=z.map(Ne=>(0,q.v)(()=>{const vt=ae._environmentInjector,Ht=Po(Ne,vt);return wt(function ts(W){return W&&Go(W.canActivate)}(Ht)?Ht.canActivate(ae,W):(0,h.N4e)(vt,()=>Ht(ae,W))).pipe((0,Le.$)())}));return(0,te.of)(ce).pipe(Ye())}(W,ce.route))),(0,Le.$)(ce=>!0!==ce,!0))}(z,Ne,W):(0,te.of)(Ht)),(0,ut.T)(Ht=>({...ae,guardsResult:Ht})))})}(Rt=>this.events.next(Rt)),(0,Ce.n)(Rt=>{if(ce.guardsResult=Rt.guardsResult,Rt.guardsResult&&"boolean"!=typeof Rt.guardsResult)throw uo(0,Rt.guardsResult);const In=new wi(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),this.urlSerializer.serialize(Rt.urlAfterRedirects),Rt.targetSnapshot,!!Rt.guardsResult);if(this.events.next(In),!Ht())return ee.w;if(!Rt.guardsResult)return this.cancelNavigationTransition(Rt,"",Ut.GuardRejected),ee.w;if(0===Rt.guards.canActivateChecks.length)return(0,te.of)(Rt);const Gn=new _i(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),this.urlSerializer.serialize(Rt.urlAfterRedirects),Rt.targetSnapshot);if(this.events.next(Gn),!Ht())return ee.w;let gi=!1;return(0,te.of)(Rt).pipe(function Pr(W){return(0,Oe.Z)(ae=>{const{targetSnapshot:z,guards:{canActivateChecks:ce}}=ae;if(!ce.length)return(0,te.of)(ae);const Ne=new Set(ce.map(Rt=>Rt.route)),vt=new Set;for(const Rt of Ne)if(!vt.has(Rt))for(const In of mr(Rt))vt.add(In);let Ht=0;return(0,K.H)(vt).pipe((0,J.H)(Rt=>Ne.has(Rt)?function Uo(W,ae,z){const ce=W.routeConfig,Ne=W._resolve;return void 0!==ce?.title&&!Wn(ce)&&(Ne[Pt]=ce.title),(0,q.v)(()=>(W.data=Ge(W,W.parent,z).resolve,function ps(W,ae,z){const ce=Ve(W);if(0===ce.length)return(0,te.of)({});const Ne={};return(0,K.H)(ce).pipe((0,Oe.Z)(vt=>function Sr(W,ae,z){const ce=ae._environmentInjector,Ne=Po(W,ce);return wt(Ne.resolve?Ne.resolve(ae,z):(0,h.N4e)(ce,()=>Ne(ae,z)))}(W[vt],ae,z).pipe((0,Le.$)(),(0,Qe.M)(Ht=>{if(Ht instanceof hs)throw uo(new Et,Ht);Ne[vt]=Ht}))),(0,Fe.o)(1),(0,ut.T)(()=>Ne),(0,F.W)(vt=>j(vt)?ee.w:(0,H.$)(vt)))}(Ne,W,ae).pipe((0,ut.T)(vt=>(W._resolvedData=vt,W.data={...W.data,...vt},null)))))}(Rt,z,W):(Rt.data=Ge(Rt,Rt.parent,W).resolve,(0,te.of)(void 0))),(0,Qe.M)(()=>Ht++),(0,Fe.o)(1),(0,Oe.Z)(Rt=>Ht===vt.size?(0,te.of)(ae):ee.w))})}(this.paramsInheritanceStrategy),(0,Qe.M)({next:()=>{gi=!0;const Ui=new hi(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),this.urlSerializer.serialize(Rt.urlAfterRedirects),Rt.targetSnapshot);this.events.next(Ui)},complete:()=>{gi||this.cancelNavigationTransition(Rt,"",Ut.NoDataFromResolver)}}))}),Fs(Rt=>{const In=gi=>{const Ui=[];
1gi.routeConfig?._loadedComponent?gi.component=gi.routeConfig?._loadedComponent:gi.routeConfig?.loadComponent&&Ui.push(this.configLoader.loadComponent(gi._environmentInjector,gi.routeConfig).then(qs=>{gi.component=qs}));for(const Oo of gi.children)Ui.push(...In(Oo));return Ui},Gn=In(Rt.targetSnapshot.root);return 0===Gn.length?(0,te.of)(Rt):(0,K.H)(Promise.all(Gn).then(()=>Rt))}),Fs(()=>this.afterPreactivation()),(0,Ce.n)(()=>{const{currentSnapshot:Rt,targetSnapshot:In}=ce,Gn=this.createViewTransition?.(this.environmentInjector,Rt.root,In.root);return Gn?(0,K.H)(Gn).pipe((0,ut.T)(()=>ce)):(0,te.of)(ce)}),(0,Te.s)(1),(0,Ce.n)(Rt=>{const In=function no(W,ae,z){const ce=mo(W,ae._root,z?z._root:void 0);return new ze(ce,ae)}(z.routeReuseStrategy,Rt.targetSnapshot,Rt.currentRouterState);this.currentTransition=ce=Rt={...Rt,targetRouterState:In},this.currentNavigation.update(gi=>(gi.targetRouterState=In,gi)),this.events.next(new Un);const Gn=ce.beforeActivateHandler.deferredHandle;return Gn?(0,K.H)(Gn.then(()=>Rt)):(0,te.of)(Rt)}),(0,Qe.M)(Rt=>{new Yo(z.routeReuseStrategy,ce.targetRouterState,ce.currentRouterState,In=>this.events.next(In),this.inputBindingEnabled).activate(this.rootContexts),Ht()&&(Ne=!0,this.currentNavigation.update(In=>(In.abort=I,In)),this.lastSuccessfulNavigation.set((0,o.O8)(this.currentNavigation)),this.events.next(new Fi(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),this.urlSerializer.serialize(Rt.urlAfterRedirects))),this.titleStrategy?.updateTitle(Rt.targetRouterState.snapshot),Rt.resolve(!0))}),(0,Ke.Q)(Nn(vt.signal).pipe((0,ne.p)(()=>!Ne&&!ce.targetRouterState),(0,Qe.M)(()=>{this.cancelNavigationTransition(ce,vt.signal.reason+"",Ut.Aborted)}))),(0,Qe.M)({complete:()=>{Ne=!0}}),(0,Ke.Q)(this.transitionAbortWithErrorSubject.pipe((0,Qe.M)(Rt=>{throw Rt}))),(0,de.j)(()=>{vt.abort(),Ne||this.cancelNavigationTransition(ce,"",Ut.SupersededByNewNavigation),this.currentTransition?.id===ce.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,F.W)(Rt=>{if(Ne=!0,this.destroyed)return ce.resolve(!1),ee.w;if(is(Rt))this.events.next(new Hn(ce.id,this.urlSerializer.serialize(ce.extractedUrl),Rt.message,Rt.cancellationCode)),function Mo(W){return is(W)&&Wi(W.url)}(Rt)?this.events.next(new tn(Rt.url,Rt.navigationBehaviorOptions)):ce.resolve(!1);else{const In=new Pi(ce.id,this.urlSerializer.serialize(ce.extractedUrl),Rt,ce.targetSnapshot??void 0);try{const Gn=(0,h.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(In));if(!(Gn instanceof hs))throw this.events.next(In),Rt;{const{message:gi,cancellationCode:Ui}=uo(0,Gn);this.events.next(new Hn(ce.id,this.urlSerializer.serialize(ce.extractedUrl),gi,Ui)),this.events.next(new tn(Gn.redirectTo,Gn.navigationBehaviorOptions))}}catch(Gn){this.options.resolveNavigationPromiseOnError?ce.resolve(!1):ce.reject(Gn)}}return ee.w}))}))}cancelNavigationTransition(z,ce,Ne){const vt=new Hn(z.id,this.urlSerializer.serialize(z.extractedUrl),ce,Ne);this.events.next(vt),z.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const z=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),ce=(0,o.O8)(this.currentNavigation),Ne=ce?.targetBrowserUrl??ce?.extractedUrl;return z.toString()!==Ne?.toString()&&!ce?.extras.skipLocationChange}static \u0275fac=function(ce){return new(ce||W)};static \u0275prov=h.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();function _e(W){return W!==Sn}const Be=new h.nKC("");let bn=(()=>{class W{static \u0275fac=function(ce){return new(ce||W)};static \u0275prov=h.jDH({token:W,factory:()=>(0,h.WQX)(qn),providedIn:"root"})}return W})();class jn{shouldDetach(ae){return!1}store(ae,z){}shouldAttach(ae){return!1}retrieve(ae){return null}shouldReuseRoute(ae,z){return ae.routeConfig===z.routeConfig}shouldDestroyInjector(ae){return!0}}let qn=(()=>{class W extends jn{static \u0275fac=(()=>{let z;return function(Ne){return(z||(z=_.xGo(W)))(Ne||W)}})();static \u0275prov=h.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),Di=(()=>
1{class W{urlSerializer=(0,h.WQX)(Ee);options=(0,h.WQX)(bs,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,h.WQX)(g.aZ);urlHandlingStrategy=(0,h.WQX)(Ts);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Bt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:z,initialUrl:ce,targetBrowserUrl:Ne}){const vt=void 0!==z?this.urlHandlingStrategy.merge(z,ce):ce,Ht=Ne??vt;return Ht instanceof Bt?this.urlSerializer.serialize(Ht):Ht}routerUrlState(z){return void 0===z?.targetBrowserUrl||void 0===z?.finalUrl?{}:{\u0275routerUrl:this.urlSerializer.serialize(z.finalUrl)}}commitTransition({targetRouterState:z,finalUrl:ce,initialUrl:Ne}){ce&&z?(this.currentUrlTree=ce,this.rawUrlTree=this.urlHandlingStrategy.merge(ce,Ne),this.routerState=z):this.rawUrlTree=Ne}routerState=pt(null,(0,h.WQX)(h.uvJ));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(ce){return new(ce||W)};static \u0275prov=h.jDH({token:W,factory:()=>(0,h.WQX)(yi),providedIn:"root"})}return W})(),yi=(()=>{class W extends Di{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(z){return this.location.subscribe(ce=>{"popstate"===ce.type&&setTimeout(()=>{z(ce.url,ce.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(z,ce){z instanceof bi?this.updateStateMemento():z instanceof ai?this.commitTransition(ce):z instanceof oi?"eager"===this.urlUpdateStrategy&&(ce.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(ce),ce)):z instanceof Un?(this.commitTransition(ce),"deferred"===this.urlUpdateStrategy&&!ce.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(ce),ce)):z instanceof Hn&&!function Kn(W){return W instanceof Hn&&(W.code===Ut.Redirect||W.code===Ut.SupersededByNewNavigation)}(z)?this.restoreHistory(ce):z instanceof Pi?this.restoreHistory(ce,!0):z instanceof Fi&&(this.lastSuccessfulId=z.id,this.currentPageId=this.browserPageId)}setBrowserUrl(z,ce){const{extras:Ne,id:vt}=ce,{replaceUrl:Ht,state:Rt}=Ne;if(this.location.isCurrentPathEqualTo(z)||Ht){const In=this.browserPageId,Gn={...Rt,...this.generateNgRouterState(vt,In,ce)};this.location.replaceState(z,"",Gn)}else{const In={...Rt,...this.generateNgRouterState(vt,this.browserPageId+1,ce)};this.location.go(z,"",In)}}restoreHistory(z,ce=!1){if("computed"===this.canceledNavigationResolution){const vt=this.currentPageId-this.browserPageId;0!==vt?this.location.historyGo(vt):this.getCurrentUrlTree()===z.finalUrl&&0===vt&&(this.resetInternalState(z),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(ce&&this.resetInternalState(z),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:z}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,z??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(z,ce,Ne){return"computed"===this.canceledNavigationResolution?{navigationId:z,\u0275routerPageId:ce,...this.routerUrlState(Ne)}:{navigationId:z,...this.routerUrlState(Ne)}}static \u0275fac=(()=>{let z;return function(Ne){return(z||(z=_.xGo(W)))(Ne||W)}})();static \u0275prov=h.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();function xi(W,ae){W.events.pipe((0,ne.p)(z=>z instanceof Fi||z instanceof Hn||z instanceof Pi||z instanceof ai),(0,ut.T)(z=>z instanceof Fi||z instanceof ai?0:z instanceof Hn&&(z.code===Ut.Redirect||z.code===Ut.SupersededByNewNavigation)?2:1),(0,ne.p)(z=>2!==z),(0,Te.s)(1)).subscribe(()=>{ae()})}let wo=(()=>{class W{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,h.WQX)(_.C7A);stateManager=(0,h.WQX)(Di);options=(0,h.WQX)(bs,{optional:!0})||{};pendingTasks=(0,h.WQX)(h.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,h.WQX)(oe);
1urlSerializer=(0,h.WQX)(Ee);location=(0,h.WQX)(g.aZ);urlHandlingStrategy=(0,h.WQX)(Ts);injector=(0,h.WQX)(h.uvJ);_events=new d.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,h.WQX)(bn);injectorCleanup=(0,h.WQX)(Be,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,h.WQX)(ko,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,h.WQX)(vi,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:z=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new A.yU;subscribeToNavigationEvents(){const z=this.navigationTransitions.events.subscribe(ce=>{try{const Ne=this.navigationTransitions.currentTransition,vt=(0,o.O8)(this.navigationTransitions.currentNavigation);if(null!==Ne&&null!==vt)if(this.stateManager.handleRouterEvent(ce,vt),ce instanceof Hn&&ce.code!==Ut.Redirect&&ce.code!==Ut.SupersededByNewNavigation)this.navigated=!0;else if(ce instanceof Fi)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(ce instanceof tn){const Ht=ce.navigationBehaviorOptions,Rt=this.urlHandlingStrategy.merge(ce.url,Ne.currentRawUrl),In={scroll:Ne.extras.scroll,browserUrl:Ne.extras.browserUrl,info:Ne.extras.info,skipLocationChange:Ne.extras.skipLocationChange,replaceUrl:Ne.extras.replaceUrl||"eager"===this.urlUpdateStrategy||_e(Ne.source),...Ht};this.scheduleNavigation(Rt,Sn,null,In,{resolve:Ne.resolve,reject:Ne.reject,promise:Ne.promise})}(function Zi(W){return!(W instanceof Un||W instanceof tn||W instanceof Zn)})(ce)&&this._events.next(ce)}catch(Ne){this.navigationTransitions.transitionAbortWithErrorSubject.next(Ne)}});this.eventsSubscription.add(z)}resetRootComponentType(z){this.routerState.root.component=z,this.navigationTransitions.rootComponentType=z}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Sn,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((z,ce,Ne,vt)=>{this.navigateToSyncWithBrowser(z,Ne,ce,vt)})}navigateToSyncWithBrowser(z,ce,Ne,vt){const Ht=Ne?.navigationId?Ne:null,Rt=Ne?.\u0275routerUrl??z;if(Ne?.\u0275routerUrl&&(vt={...vt,browserUrl:z}),Ne){const Gn={...Ne};delete Gn.navigationId,delete Gn.\u0275routerPageId,delete Gn.\u0275routerUrl,0!==Object.keys(Gn).length&&(vt.state=Gn)}const In=this.parseUrl(Rt);this.scheduleNavigation(In,ce,Ht,vt).catch(Gn=>{this.disposed||this.injector.get(h.ZTf)(Gn)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,o.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(z){this.config=z.map(ro),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(z,ce={}){const{relativeTo:Ne,queryParams:vt,fragment:Ht,queryParamsHandling:Rt,preserveFragment:In}=ce,Gn=In?this.currentUrlTree.fragment:Ht;let Ui,gi=null;switch(Rt??this.options.defaultQueryParamsHandling){case"merge":gi={...this.currentUrlTree.queryParams,...vt};break;case"preserve":gi=this.currentUrlTree.queryParams;break;default:gi=vt||null}null!==gi&&(gi=this.removeEmptyProps(gi));try{Ui=eo(Ne?Ne.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof z[0]||"/"!==z[0][0])&&(z=[]),Ui=this.currentUrlTree.root}return Yi(Ui,z,gi,Gn??null,this.urlSerializer)}navigateByUrl(z,ce={skipLocationChange:!1}){const Ne=Wi(z)?z:this.parseUrl(z),vt=this.urlHandlingStrategy.merge(Ne,this.rawUrlTree);return this.scheduleNavigation(vt,Sn,null,ce)}navigate(z,ce={skipLocationChange:!1}){return function Ro(W){for(let ae=0;ae<W.length;ae++)if(null==W[ae])throw new h.buA(4008,!1)}(z),this.navigateByUrl(this.createUrlTree(z,ce),ce)}serializeUrl(z){return this.urlSerializer.serialize(z)}parseUrl(z){try{return this.urlSerializer.parse(z)}catch{return this.console.warn((0,h.OsK)(4018,!1)),this.urlSerializer.parse("/")}}isActive(z,ce){let Ne;if(Ne=!0===ce?{...We}:!1===ce?{...yt}:{...yt,...ce},Wi(z))return St(this.currentUrlTree,z,Ne);const vt=this.parseUrl(z);return St(this.currentUrlTree,vt,Ne)}removeEmptyProps(z){return Object.entries(z).reduce((ce,[Ne,vt])=>(null!=vt&&(ce[Ne]=vt),ce),{})}scheduleNavigation(z,ce,Ne,vt,Ht){if(this.disposed)return Promise.resolve(!1);let Rt,In,Gn;Ht?(Rt=Ht.resolve,In=Ht.reject,Gn=Ht.promise):Gn=new Promise((Ui,Oo)=>{Rt=Ui,In=Oo});const gi=this.pendingTasks.add();return xi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(gi))}),this.navigationTransitions.handleNavigationRequest({source:ce,restoredState:Ne,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:z,extras:vt,resolve:Rt,reject:In,promise:Gn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
1),Gn.catch(Promise.reject.bind(Promise))}static \u0275fac=function(ce){return new(ce||W)};static \u0275prov=h.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})()},93049(ot,V,l){"use strict";l.d(V,{GB:()=>ci,Wk:()=>qt,iI:()=>Ei,lG:()=>so,lh:()=>Me,wQ:()=>We});var Ke=l(10467),Qe=l(45984),kt=l(60177),ct=l(49769),Pt=l(46494),Ze=l(17705),fe=l(35547),ie=l(85802),Xe=l(32271),ve=l(59882),he=l(18530),Pe=l(19724),Ve=l(7673),dt=l(70274),Dt=l(5964),wt=l(26365),Yt=l(73028);let Tt=(()=>{class En{router=(0,ie.WQX)(ve.Ix);stateManager=(0,ie.WQX)(ve.fN);fragment=(0,ie.vPA)("");queryParams=(0,ie.vPA)({});path=(0,ie.vPA)("");serializer=(0,ie.WQX)(ve.Sd);constructor(){this.updateState(),this.router.events?.subscribe(ln=>{ln instanceof ve.wF&&this.updateState()})}updateState(){const{fragment:ln,root:Tn,queryParams:_t}=this.stateManager.getCurrentUrlTree();this.fragment.set(ln),this.queryParams.set(_t),this.path.set(this.serializer.serialize(new ve.el(Tn)))}static \u0275fac=function(Tn){return new(Tn||En)};static \u0275prov=ie.jDH({token:En,factory:En.\u0275fac,providedIn:"root"})}return En})(),qt=(()=>{class En{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=(0,ie.WQX)(new Ze.ES_("href"),{optional:!0});reactiveHref=(0,Xe.uu)(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return(0,Xe.O8)(this.reactiveHref)}set href(ln){this.reactiveHref.set(ln)}set target(ln){this._target.set(ln)}get target(){return(0,Xe.O8)(this._target)}_target=(0,ie.vPA)(void 0);set queryParams(ln){this._queryParams.set(ln)}get queryParams(){return(0,Xe.O8)(this._queryParams)}_queryParams=(0,ie.vPA)(void 0,{equal:()=>!1});set fragment(ln){this._fragment.set(ln)}get fragment(){return(0,Xe.O8)(this._fragment)}_fragment=(0,ie.vPA)(void 0);set queryParamsHandling(ln){this._queryParamsHandling.set(ln)}get queryParamsHandling(){return(0,Xe.O8)(this._queryParamsHandling)}_queryParamsHandling=(0,ie.vPA)(void 0);set state(ln){this._state.set(ln)}get state(){return(0,Xe.O8)(this._state)}_state=(0,ie.vPA)(void 0,{equal:()=>!1});set info(ln){this._info.set(ln)}get info(){return(0,Xe.O8)(this._info)}_info=(0,ie.vPA)(void 0,{equal:()=>!1});set relativeTo(ln){this._relativeTo.set(ln)}get relativeTo(){return(0,Xe.O8)(this._relativeTo)}_relativeTo=(0,ie.vPA)(void 0);set preserveFragment(ln){this._preserveFragment.set(ln)}get preserveFragment(){return(0,Xe.O8)(this._preserveFragment)}_preserveFragment=(0,ie.vPA)(!1);set skipLocationChange(ln){this._skipLocationChange.set(ln)}get skipLocationChange(){return(0,Xe.O8)(this._skipLocationChange)}_skipLocationChange=(0,ie.vPA)(!1);set replaceUrl(ln){this._replaceUrl.set(ln)}get replaceUrl(){return(0,Xe.O8)(this._replaceUrl)}_replaceUrl=(0,ie.vPA)(!1);isAnchorElement;onChanges=new he.B;applicationErrorHandler=(0,ie.WQX)(ie.ZTf);options=(0,ie.WQX)(ve.J_,{optional:!0});reactiveRouterState=(0,ie.WQX)(Tt);constructor(ln,Tn,_t,Wt,ye,lt){this.router=ln,this.route=Tn,this.tabIndexAttribute=_t,this.renderer=Wt,this.el=ye,this.locationStrategy=lt;const Vt=ye.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Vt||"area"===Vt||!("object"!=typeof customElements||!customElements.get(Vt)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(ln){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ln)}ngOnChanges(ln){this.onChanges.next(this)}routerLinkInput=(0,ie.vPA)(null);set routerLink(ln){null==ln?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):((0,ve.wO)(ln)?this.routerLinkInput.set(ln):this.routerLinkInput.set(Array.isArray(ln)?ln:[ln]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(ln,Tn,_t,Wt,ye){const lt=this._urlTree();if(null===lt||this.isAnchorElement&&(0!==ln||Tn||_t||Wt||ye||"string"==typeof this.target&&"_self"!=this.target))return!0;const Vt={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(lt,Vt)?.catch(On=>{this.applicationErrorHandler(On)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(ln,Tn){const _t=this.renderer,Wt=this.el.nativeElement;null!==Tn?_t.setAttribute(Wt,ln,Tn):_t.removeAttribute(Wt,ln)}_urlTree=(0,Xe.EW)(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();const ln=_t=>"preserve"===_t||"merge"===_t;(ln(this._queryParamsHandling())||ln(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();const Tn=this.routerLinkInput();return null!==Tn&&this.router.createUrlTree?(0,ve.wO)(Tn)?Tn:this.router.createUrlTree(Tn,{relativeTo:void 0!==this._relativeTo()?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()}):null}
1,{equal:(ln,Tn)=>this.computeHref(ln)===this.computeHref(Tn)});get urlTree(){return(0,Xe.O8)(this._urlTree)}computeHref(ln){return null!==ln&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(ln))??"":null}static \u0275fac=function(Tn){return new(Tn||En)(fe.rXU(ve.Ix),fe.rXU(ve.nX),fe.kS0("tabindex"),fe.rXU(fe.sFG),fe.rXU(fe.aKT),fe.rXU(Qe.hb))};static \u0275dir=fe.FsC({type:En,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(Tn,_t){1&Tn&&fe.bIt("click",function(ye){return _t.onClick(ye.button,ye.ctrlKey,ye.shiftKey,ye.altKey,ye.metaKey)}),2&Tn&&fe.BMQ("href",_t.reactiveHref(),fe.n$t)("target",_t._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ze.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ze.L39],replaceUrl:[2,"replaceUrl","replaceUrl",Ze.L39],routerLink:"routerLink"},features:[fe.OA$]})}return En})(),We=(()=>{class En{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new ie.bkB;link=(0,ie.WQX)(qt,{optional:!0});constructor(ln,Tn,_t,Wt){this.router=ln,this.element=Tn,this.renderer=_t,this.cdr=Wt,this.routerEventsSubscription=ln.events.subscribe(ye=>{ye instanceof ve.wF&&this.update()})}ngAfterContentInit(){(0,Ve.of)(this.links.changes,(0,Ve.of)(null)).pipe((0,wt.U)()).subscribe(ln=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const ln=[...this.links.toArray(),this.link].filter(Tn=>!!Tn).map(Tn=>Tn.onChanges);this.linkInputChangesSubscription=(0,Pe.H)(ln).pipe((0,wt.U)()).subscribe(Tn=>{this._isActive!==this.isLinkActive(this.router)(Tn)&&this.update()})}set routerLinkActive(ln){const Tn=Array.isArray(ln)?ln:ln.split(" ");this.classes=Tn.filter(_t=>!!_t)}ngOnChanges(ln){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const ln=this.hasActiveLinks();this.classes.forEach(Tn=>{ln?this.renderer.addClass(this.element.nativeElement,Tn):this.renderer.removeClass(this.element.nativeElement,Tn)}),ln&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==ln&&(this._isActive=ln,this.cdr.markForCheck(),this.isActiveChange.emit(ln))})}isLinkActive(ln){const Tn=function yt(En){return!!(En.paths||En.matrixParams||En.queryParams||En.fragment)}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact?{...ve.tE}:{...ve.E};return _t=>{const Wt=_t.urlTree;return!!Wt&&(0,Xe.O8)((0,ve.$m)(Wt,ln,Tn))}}hasActiveLinks(){const ln=this.isLinkActive(this.router);return this.link&&ln(this.link)||this.links.some(ln)}static \u0275fac=function(Tn){return new(Tn||En)(fe.rXU(ve.Ix),fe.rXU(fe.aKT),fe.rXU(fe.sFG),fe.rXU(Ze.gRc))};static \u0275dir=fe.FsC({type:En,selectors:[["","routerLinkActive",""]],contentQueries:function(Tn,_t,Wt){if(1&Tn&&fe.wni(Wt,qt,5),2&Tn){let ye;fe.mGM(ye=fe.lsd())&&(_t.links=ye)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[fe.OA$]})}return En})();class je{}let rt=(()=>{class En{router;injector;preloadingStrategy;loader;subscription;constructor(ln,Tn,_t,Wt){this.router=ln,this.injector=Tn,this.preloadingStrategy=_t,this.loader=Wt}setUpPreloading(){this.subscription=this.router.events.pipe((0,Dt.p)(ln=>ln instanceof ve.wF),(0,dt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(ln,Tn){const _t=[];for(const Wt of Tn){Wt.providers&&!Wt._injector&&(Wt._injector=(0,fe.Ol2)(Wt.providers,ln,""));const ye=Wt._injector??ln;Wt._loadedNgModuleFactory&&!Wt._loadedInjector&&(Wt._loadedInjector=Wt._loadedNgModuleFactory.create(ye).injector);const lt=Wt._loadedInjector??ye;(Wt.loadChildren&&!Wt._loadedRoutes&&void 0===Wt.canLoad||Wt.loadComponent&&!Wt._loadedComponent)&&_t.push(this.preloadConfig(ye,Wt)),(Wt.children||Wt._loadedRoutes)&&_t.push(this.processRoutes(lt,Wt.children??Wt._loadedRoutes))}return(0,Pe.H)(_t).pipe((0,wt.U)())}preloadConfig(ln,Tn){return this.preloadingStrategy.preload(Tn,()=>{if(ln.destroyed)return(0,Ve.of)(null);let _t;_t=Tn.loadChildren&&void 0===Tn.canLoad?(0,Pe.H)(this.loader.loadChildren(ln,Tn)):(0,Ve.of)(null);const Wt=_t.pipe((0,Yt.Z)(ye=>null===ye?(0,Ve.of)(void 0):(Tn._loadedRoutes=ye.routes,Tn._loadedInjector=ye.injector,Tn._loadedNgModuleFactory=ye.factory,this.processRoutes(ye.injector??ln,ye.routes))));if(Tn.loadComponent&&!Tn._loadedComponent){const ye=this.loader.loadComponent(ln,Tn);return(0,Pe.H)([Wt,ye]).pipe((0,wt.U)())}return Wt})}static \u0275fac=function(Tn){return new(Tn||En)(ie.KVO(ve.Ix),ie.KVO(ie.uvJ),ie.KVO
1(je),ie.KVO(ve.D$))};static \u0275prov=ie.jDH({token:En,factory:En.\u0275fac,providedIn:"root"})}return En})();const bt=new ie.nKC("");let we=(()=>{class En{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=ve.wU;restoredId=0;store={};urlSerializer=(0,ie.WQX)(ve.Sd);zone=(0,ie.WQX)(ie.SKi);viewportScroller=(0,ie.WQX)(kt.Xr);transitions=(0,ie.WQX)(ve.J2);constructor(ln){this.options=ln,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(ln=>{ln instanceof ve.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ln.navigationTrigger,this.restoredId=ln.restoredState?ln.restoredState.navigationId:0):ln instanceof ve.wF?(this.lastId=ln.id,this.scheduleScrollEvent(ln,this.urlSerializer.parse(ln.urlAfterRedirects).fragment)):ln instanceof ve.lW&&ln.code===ve.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(ln,this.urlSerializer.parse(ln.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ln=>{if(!(ln instanceof ve.OY)||"manual"===ln.scrollBehavior)return;const Tn={behavior:"instant"};ln.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],Tn):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ln.position,Tn):ln.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ln.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(ln,Tn){var _t=this;const Wt=(0,Xe.O8)(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular((0,Ke.A)(function*(){yield new Promise(ye=>{setTimeout(ye),typeof requestAnimationFrame<"u"&&requestAnimationFrame(ye)}),_t.zone.run(()=>{_t.transitions.events.next(new ve.OY(ln,"popstate"===_t.lastSource?_t.store[_t.restoredId]:null,Tn,Wt))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(Tn){fe.QTQ()};static \u0275prov=ie.jDH({token:En,factory:En.\u0275fac})}return En})();function Me(En,...li){return(0,ie.EmA)([{provide:ve.bw,multi:!0,useValue:En},[],{provide:ve.nX,useFactory:le},{provide:fe.iLQ,multi:!0,useFactory:at},li.map(ln=>ln.\u0275providers)])}function le(){return(0,ie.WQX)(ve.Ix).routerState.root}function $(En,li){return{\u0275kind:En,\u0275providers:li}}function at(){const En=(0,ie.WQX)(ie.zZn);return li=>{const ln=En.get(fe.o8S);if(li!==ln.components[0])return;const Tn=En.get(ve.Ix),_t=En.get(st);1===En.get(zt)&&Tn.initialNavigation(),En.get(Pn,null,{optional:!0})?.setUpPreloading(),En.get(bt,null,{optional:!0})?.init(),Tn.resetRootComponentType(ln.componentTypes[0]),_t.closed||(_t.next(),_t.complete(),_t.unsubscribe())}}const st=new ie.nKC("",{factory:()=>new he.B}),zt=new ie.nKC("",{factory:()=>1}),Pn=new ie.nKC("");function xn(En){return $(0,[{provide:Pn,useExisting:rt},{provide:je,useExisting:En}])}function ci(){return $(6,[{provide:Qe.hb,useClass:ct.fw}])}function so(){return $(8,[ve.tD,{provide:ve.c1,useExisting:ve.tD}])}function Li(En){return(0,fe._jY)("NgRouterViewTransitions"),$(9,[{provide:ve.Pu,useValue:ve.Lg},{provide:ve.bK,useValue:{skipNextTransition:!!En?.skipInitialTransition,...En}}])}const si=[Qe.aZ,{provide:ve.Sd,useClass:ve.nU},ve.Ix,ve.Zp,{provide:ve.nX,useFactory:le},ve.D$,[]];let Ei=(()=>{class En{constructor(){}static forRoot(ln,Tn){return{ngModule:En,providers:[si,[],{provide:ve.bw,multi:!0,useValue:ln},[],Tn?.errorHandler?{provide:ve.XR,useValue:Tn.errorHandler}:[],{provide:ve.J_,useValue:Tn||{}},Tn?.useHash?{provide:Qe.hb,useClass:ct.fw}:{provide:Qe.hb,useClass:Qe.Sm},{provide:bt,useFactory:()=>{const En=(0,ie.WQX)(kt.Xr),li=(0,ie.WQX)(ve.J_);return li.scrollOffset&&En.setOffset(li.scrollOffset),new we(li)}},Tn?.preloadingStrategy?xn(Tn.preloadingStrategy).\u0275providers:[],Tn?.initialNavigation?qi(Tn):[],Tn?.bindToComponentInputs?so().\u0275providers:[],Tn?.enableViewTransitions?Li().\u0275providers:[],[{provide:eo,useFactory:at},{provide:fe.iLQ,multi:!0,useExisting:eo}]]}}static forChild(ln){return{ngModule:En,providers:[{provide:ve.bw,multi:!0,useValue:ln}]}}static \u0275fac=function(Tn){return new(Tn||En)};static \u0275mod=fe.$C({type:En});static \u0275inj=ie.G2t({})}return En})();function qi(En){return["disabled"===En.initialNavigation?$(3,[(0,fe.phd)(()=>{(0,ie.WQX)(ve.Ix).setUpLocationChangeListener()}),{provide:zt,useValue:2}]).\u0275providers:[],"enabledBlocking"===En.initialNavigation?$(2,[{provide:fe.tvf,useValue:!0},{provide:zt,useValue:0},(0,fe.phd)(()=>{const li=(0,ie.WQX)(ie.zZn);return li.get(Pt.hj,Promise.resolve()).then(()=>new Promise(Tn=>{const _t=li.get(ve.Ix),Wt=li.get(st);(0,ve.gk)(_t,()=>{Tn(!0)}),li.get(ve.J2).afterPreactivation=()=>(Tn(!0),Wt.closed?(0,Ve.of)(void 0):Wt),_t.initialNavigation()}))})]).\u0275providers:[]]}const eo=new ie.nKC("")},28873(ot,V,l){"use strict";l.d(V,{EI:()=>x,Pg:()=>ee,fQ:()=>O});var g=l(85802),h=l(35547),_=l(71985),C=l(18530),o=l(35060),y=l(5964),d=l(96354),M=l(25558),A=l(96697);const D="Service workers are disabled or not supported by this browser";class w{serviceWorker;worker;registration;events;constructor(ne,de){if(this.serviceWorker=ne,ne){let Le=null;const ut=new C.B;this.worker=new _.c(Fe=>(null!==Le&&Fe.next(Le),ut.subscribe(Ke=>Fe.next(Ke))));const Oe=()=>{const{controller:Fe}=ne;null!==Fe&&(Le=Fe,ut.next(Le))};ne.addEventListener("controllerchange",Oe),Oe(),this.registration=this.worker.pipe((0,M.n)(()=>ne.getRegistration().then(Fe=>{if(!Fe)throw new g.buA(5601,!1);return Fe})));const xe=new C.B;this.events=xe.asObservable();const Ce=Fe=>{const{data:Ke}=Fe;Ke?.type&&xe.next(Ke)};ne.addEventListener("message",Ce),de?.get(h.o8S,null,{optional:!0})?.onDestroy(()=>{ne.removeEventListener("controllerchange",Oe),ne.removeEventListener("message",Ce)})}else this.worker=this.events=this.registration=new _.c(Le=>Le.error(new g.buA(5601,!1)))}postMessage(ne,de){return new Promise(Le=>
1{this.worker.pipe((0,A.s)(1)).subscribe(ut=>{ut.postMessage({action:ne,...de}),Le()})})}postMessageWithOperation(ne,de,Le){const ut=this.waitForOperationCompleted(Le),Oe=this.postMessage(ne,de);return Promise.all([Oe,ut]).then(([,xe])=>xe)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(ne){let de;return de="string"==typeof ne?Le=>Le.type===ne:Le=>ne.includes(Le.type),this.events.pipe((0,y.p)(de))}nextEventOfType(ne){return this.eventsOfType(ne).pipe((0,A.s)(1))}waitForOperationCompleted(ne){return new Promise((de,Le)=>{this.eventsOfType("OPERATION_COMPLETED").pipe((0,y.p)(ut=>ut.nonce===ne),(0,A.s)(1),(0,d.T)(ut=>{if(void 0!==ut.result)return ut.result;throw new Error(ut.error)})).subscribe({next:de,error:Le})})}get isEnabled(){return!!this.serviceWorker}}let O=(()=>{class J{sw;messages;notificationClicks;notificationCloses;pushSubscriptionChanges;subscription;get isEnabled(){return this.sw.isEnabled}pushManager=null;subscriptionChanges=new C.B;constructor(de){if(this.sw=de,!de.isEnabled)return this.messages=o.t,this.notificationClicks=o.t,this.notificationCloses=o.t,this.pushSubscriptionChanges=o.t,void(this.subscription=o.t);this.messages=this.sw.eventsOfType("PUSH").pipe((0,d.T)(ut=>ut.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,d.T)(ut=>ut.data)),this.notificationCloses=this.sw.eventsOfType("NOTIFICATION_CLOSE").pipe((0,d.T)(ut=>ut.data)),this.pushSubscriptionChanges=this.sw.eventsOfType("PUSH_SUBSCRIPTION_CHANGE").pipe((0,d.T)(ut=>ut.data)),this.pushManager=this.sw.registration.pipe((0,d.T)(ut=>ut.pushManager));const Le=this.pushManager.pipe((0,M.n)(ut=>ut.getSubscription()));this.subscription=new _.c(ut=>{const Oe=Le.subscribe(ut),xe=this.subscriptionChanges.subscribe(ut);return()=>{Oe.unsubscribe(),xe.unsubscribe()}})}requestSubscription(de){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(D));const Le={userVisibleOnly:!0};let ut=this.decodeBase64(de.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),Oe=new Uint8Array(new ArrayBuffer(ut.length));for(let xe=0;xe<ut.length;xe++)Oe[xe]=ut.charCodeAt(xe);return Le.applicationServerKey=Oe,new Promise((xe,Ce)=>{this.pushManager.pipe((0,M.n)(Te=>Te.subscribe(Le)),(0,A.s)(1)).subscribe({next:Te=>{this.subscriptionChanges.next(Te),xe(Te)},error:Ce})})}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(D));const de=Le=>{if(null===Le)throw new g.buA(5602,!1);return Le.unsubscribe().then(ut=>{if(!ut)throw new g.buA(5603,!1);this.subscriptionChanges.next(null)})};return new Promise((Le,ut)=>{this.subscription.pipe((0,A.s)(1),(0,M.n)(de)).subscribe({next:Le,error:ut})})}decodeBase64(de){return atob(de)}static \u0275fac=function(Le){return new(Le||J)(g.KVO(w))};static \u0275prov=g.jDH({token:J,factory:J.\u0275fac})}return J})(),x=(()=>{class J{sw;versionUpdates;unrecoverable;get isEnabled(){return this.sw.isEnabled}ongoingCheckForUpdate=null;constructor(de){if(this.sw=de,!de.isEnabled)return this.versionUpdates=o.t,void(this.unrecoverable=o.t);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(D));if(this.ongoingCheckForUpdate)return this.ongoingCheckForUpdate;const de=this.sw.generateNonce();return this.ongoingCheckForUpdate=this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:de},de).finally(()=>{this.ongoingCheckForUpdate=null}),this.ongoingCheckForUpdate}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new g.buA(5601,!1));const de=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:de},de)}static \u0275fac=function(Le){return new(Le||J)(g.KVO(w))};static \u0275prov=g.jDH({token:J,factory:J.\u0275fac})}return J})();const N=new g.nKC("");function q(){const J=(0,g.WQX)(H);if(!("serviceWorker"in navigator)||!1===J.enabled)return;const ne=(0,g.WQX)(N),de=(0,g.WQX)(g.SKi),Le=(0,g.WQX)(h.o8S);de.runOutsideAngular(()=>{const ut=navigator.serviceWorker,Oe=()=>ut.controller?.postMessage({action:"INITIALIZE"});ut.addEventListener("controllerchange",Oe),Le.onDestroy(()=>{ut.removeEventListener("controllerchange",Oe)}
1)}),de.runOutsideAngular(()=>{let ut;const{registrationStrategy:Oe}=J;if("function"==typeof Oe)ut=new Promise(xe=>Oe().subscribe(()=>xe()));else{const[xe,...Ce]=(Oe||"registerWhenStable:30000").split(":");switch(xe){case"registerImmediately":ut=Promise.resolve();break;case"registerWithDelay":ut=K(+Ce[0]||0);break;case"registerWhenStable":ut=Promise.race([Le.whenStable(),K(+Ce[0])]);break;default:throw new g.buA(5600,!1)}}ut.then(()=>{Le.destroyed||navigator.serviceWorker.register(ne,{scope:J.scope,updateViaCache:J.updateViaCache,type:J.type}).catch(xe=>console.error((0,g.OsK)(5604,!1)))})})}function K(J){return new Promise(ne=>setTimeout(ne,J))}function te(){const J=(0,g.WQX)(H),ne=(0,g.WQX)(g.zZn);return new w(!1!==J.enabled?navigator.serviceWorker:void 0,ne)}class H{enabled;updateViaCache;type;scope;registrationStrategy}function ee(J,ne={}){return(0,g.EmA)([O,x,{provide:N,useValue:J},{provide:H,useValue:ne},{provide:w,useFactory:te},(0,h.phd)(q)])}},43358(ot,V,l){"use strict";l.d(V,{I9:()=>Ce,tD:()=>ut,vw:()=>K});var g=l(85802),h=l(35547),_=l(60177),C=l(13961),o=l(33726),y=l(57786),d=l(5964),M=l(23386);class A{constructor(Fe,Ke){this.source=Fe,Fe.initialize&&Fe.initialize(Ke)}subscribe(Fe){this.sub=this.source.onInterrupt.subscribe(Fe)}unsubscribe(){this.sub.unsubscribe(),this.sub=null}resume(){this.source.attach()}pause(){this.source.detach()}}class D{constructor(){this.idValue=new Date,this.idlingValue=!1}id(Fe){if(void 0!==Fe){if(!Fe)throw new Error("A value must be specified for the ID.");this.idValue=Fe}return this.idValue}idling(Fe){return void 0!==Fe&&(this.idlingValue=Fe),this.idlingValue}now(){return new Date}isExpired(){const Fe=this.last();return null!=Fe&&Fe<=this.now()}}class w{constructor(){this.storageMap={}}get length(){return Object.keys(this.storageMap).length}clear(){this.storageMap={}}getItem(Fe){return typeof this.storageMap[Fe]<"u"?this.storageMap[Fe]:null}key(Fe){return Object.keys(this.storageMap)[Fe]||null}removeItem(Fe){this.storageMap[Fe]=void 0}setItem(Fe,Ke){this.storageMap[Fe]=Ke}}let O=(()=>{class Te{constructor(){this.storage=this.getStorage()}getStorage(){try{const Ke=localStorage;return Ke.setItem("ng2IdleStorage",""),Ke.removeItem("ng2IdleStorage"),Ke}catch{return new w}}getItem(Ke){return this.storage.getItem("ng2Idle."+Ke)}removeItem(Ke){this.storage.removeItem("ng2Idle."+Ke)}setItem(Ke,Qe){this.storage.setItem("ng2Idle."+Ke,Qe)}_wrapped(){return this.storage}static{this.\u0275fac=function(Qe){return new(Qe||Te)}}static{this.\u0275prov=g.jDH({token:Te,factory:Te.\u0275fac})}}return Te})(),x=(()=>{class Te extends D{constructor(Ke){super(),this.localStorage=Ke,this.idleName="main"}last(Ke){return void 0!==Ke&&this.setExpiry(Ke),this.getExpiry()}idling(Ke){return void 0!==Ke&&this.setIdling(Ke),this.getIdling()}getIdleName(){return this.idleName}setIdleName(Ke){Ke&&(this.idleName=Ke)}getExpiry(){const Ke=this.localStorage.getItem(this.idleName+".expiry");return Ke?new Date(parseInt(Ke,10)):null}setExpiry(Ke){Ke?this.localStorage.setItem(this.idleName+".expiry",Ke.getTime().toString()):this.localStorage.removeItem(this.idleName+".expiry")}getIdling(){const Ke=this.localStorage.getItem(this.idleName+".idling");return!!Ke&&"true"===Ke}setIdling(Ke){this.localStorage.setItem(this.idleName+".idling",Ke?Ke.toString():"false")}static{this.\u0275fac=function(Qe){return new(Qe||Te)(g.KVO(O))}}static{this.\u0275prov=g.jDH({token:Te,factory:Te.\u0275fac})}}return Te})();class N{}var q=function(Te){return Te[Te.disabled=0]="disabled",Te[Te.idle=1]="idle",Te[Te.notIdle=2]="notIdle",Te}(q||{});let K=(()=>{class Te{constructor(Ke,Qe,kt,ct){this.expiry=Ke,this.zone=Qe,this.platformId=ct,this.idle=1200,this.timeoutVal=30,this.autoResume=q.idle,this.interrupts=new Array,this.running=!1,this.keepaliveEnabled=!1,this.onIdleStart=new g.bkB,this.onIdleEnd=new g.bkB,this.onTimeoutWarning=new g.bkB,this.onTimeout=new g.bkB,this.onInterrupt=new g.bkB,kt&&(this.keepaliveSvc=kt,this.keepaliveEnabled=!0),this.setIdling(!1)}setIdleName(Ke){if(!(this.expiry instanceof x))throw new Error("Cannot set expiry key name because no LocalStorageExpiry has been provided.");this.expiry.setIdleName(Ke)}getKeepaliveEnabled(){return this.keepaliveEnabled}setKeepaliveEnabled(Ke){if(!this.keepaliveSvc)throw new Error("Cannot enable keepalive integration because no KeepaliveSvc has been provided.");return this.keepaliveEnabled=Ke}getTimeout(){return this.timeoutVal}setTimeout(Ke){if(!1===Ke)this.timeoutVal=0;else{if(!("number"==typeof Ke&&Ke>=0))throw new Error("'seconds' can only be 'false' or a positive number.");this.timeoutVal=Ke}return this.timeoutVal}getIdle(){return this.idle}setIdle(Ke){if(Ke<=0)throw new Error("'seconds' must be greater zero");return this.idle=Ke}getAutoResume(){return this.autoResume}setAutoResume(Ke){return this.autoResume=Ke}setInterrupts(Ke){this.clearInterrupts();const Qe=this;for(const kt of Ke){const Pt=new A(kt,{platformId:this.platformId});Pt.subscribe(Ze=>{Qe.interrupt(Ze.force,Ze.innerArgs)}),this.interrupts.push(Pt)}return this.interrupts}getInterrupts(){return this.interrupts}clearInterrupts(){for(const Ke of this.interrupts)Ke.pause(),Ke.unsubscribe();this.interrupts.length=0}isRunning(){return this.running}isIdling(){return this.idling}watch(Ke){this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle");const Qe=this.timeoutVal?this.timeoutVal:0;if(!Ke){const ct=new Date(this.expiry.now().getTime()+1e3*(this.idle+Qe));this.expiry.last(ct)}this.idling&&this.toggleState(),this.running||(this.startKeepalive(),this.toggleInterrupts(!0)),this.running=!0;const kt=()=>{this.zone.run(()=>{this.getExpiryDiff(Qe)>0?(this.safeClearInterval("idleHandle"),this.setIdleIntervalOutsideOfZone(kt,1e3)):this.toggleState()})};this.setIdleIntervalOutsideOfZone(kt,1e3)}
1setIdleIntervalOutsideOfZone(Ke,Qe){this.zone.runOutsideAngular(()=>{this.idleHandle=setInterval(Ke,Qe)})}stop(){this.stopKeepalive(),this.toggleInterrupts(!1),this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle"),this.setIdling(!1),this.running=!1,this.expiry.last(null)}timeout(){this.stopKeepalive(),this.toggleInterrupts(!1),this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle"),this.setIdling(!0),this.running=!1,this.countdown=0,this.onTimeout.emit(null)}interrupt(Ke,Qe){if(this.running){if(this.timeoutVal&&this.expiry.isExpired())return void this.timeout();this.onInterrupt.emit(Qe),(!0===Ke||this.autoResume===q.idle||this.autoResume===q.notIdle&&!this.expiry.idling())&&this.watch(Ke)}}setIdling(Ke){this.idling=Ke,this.expiry.idling(Ke)}toggleState(){this.setIdling(!this.idling),this.idling?(this.onIdleStart.emit(null),this.stopKeepalive(),this.timeoutVal>0&&(this.countdown=this.timeoutVal,this.doCountdown(),this.setTimeoutIntervalOutsideZone(()=>{this.doCountdownInZone()},1e3))):(this.toggleInterrupts(!0),this.onIdleEnd.emit(null),this.startKeepalive()),this.safeClearInterval("idleHandle")}setTimeoutIntervalOutsideZone(Ke,Qe){this.zone.runOutsideAngular(()=>{this.timeoutHandle=setInterval(()=>{Ke()},Qe)})}toggleInterrupts(Ke){for(const Qe of this.interrupts)Ke?Qe.resume():Qe.pause()}getExpiryDiff(Ke){const Qe=this.expiry.now();return(this.expiry.last()||Qe).getTime()-Qe.getTime()-1e3*Ke}doCountdownInZone(){this.zone.run(()=>{this.doCountdown()})}doCountdown(){const Ke=this.getExpiryDiff(this.timeoutVal);if(Ke>0)return this.safeClearInterval("timeoutHandle"),void this.interrupt(!0);this.idling&&(this.countdown<=0?this.timeout():(this.onTimeoutWarning.emit(this.countdown),this.countdown=Math.round((1e3*(this.timeoutVal-1)+Ke)/1e3)))}safeClearInterval(Ke){const Qe=this[Ke];null!==Qe&&typeof Qe<"u"&&(clearInterval(this[Ke]),this[Ke]=null)}startKeepalive(){!this.keepaliveSvc||!this.keepaliveEnabled||(this.running&&this.keepaliveSvc.ping(),this.keepaliveSvc.start())}stopKeepalive(){!this.keepaliveSvc||!this.keepaliveEnabled||this.keepaliveSvc.stop()}ngOnDestroy(){this.stop(),this.clearInterrupts()}static{this.\u0275fac=function(Qe){return new(Qe||Te)(g.KVO(D),g.KVO(g.SKi),g.KVO(N,8),g.KVO(h.Agw,8))}}static{this.\u0275prov=g.jDH({token:Te,factory:Te.\u0275fac})}}return Te})();class te{constructor(Fe,Ke,Qe=!1){this.source=Fe,this.innerArgs=Ke,this.force=Qe}}class H{constructor(Fe,Ke){this.attachFn=Fe,this.detachFn=Ke,this.isAttached=!1,this.onInterrupt=new g.bkB}attach(){!0!==Zone.current.get("isAngularZone")?(!this.isAttached&&this.attachFn&&this.attachFn(this),this.isAttached=!0):Zone.current.parent.run(()=>this.attach())}detach(){this.isAttached&&this.detachFn&&this.detachFn(this),this.isAttached=!1}}class F extends H{constructor(Fe,Ke,Qe){super(null,null),this.target=Fe,this.events=Ke,this.opts=Qe,this.eventSubscription=new C.yU,"number"==typeof this.opts&&(this.opts={throttleDelay:this.opts,passive:!1}),this.opts=this.opts||{passive:!1,throttleDelay:500},null==this.opts.throttleDelay&&(this.opts.throttleDelay=500),this.throttleDelay=this.opts.throttleDelay,this.passive=!!this.opts.passive}initialize(Fe){if(Fe?.platformId&&(0,_.Vy)(Fe.platformId))return;const Ke="function"==typeof this.target?this.target():this.target,Qe=this.passive?{passive:!0}:null,kt=this.events.split(" ").map(Pt=>(0,o.R)(Ke,Pt,Qe));this.eventSrc=(0,y.h)(...kt),this.eventSrc=this.eventSrc.pipe((0,d.p)(Pt=>!this.filterEvent(Pt))),this.throttleDelay>0&&(this.eventSrc=this.eventSrc.pipe((0,M.c)(this.throttleDelay)));const ct=Pt=>this.onInterrupt.emit(new te(this,Pt));this.attachFn=()=>this.eventSubscription=this.eventSrc.subscribe(ct),this.detachFn=()=>this.eventSubscription.unsubscribe()}filterEvent(Fe){return!1}get options(){return{passive:this.passive,throttleDelay:this.throttleDelay}}}class J extends F{constructor(Fe,Ke){super(()=>document.documentElement,Fe,Ke)}filterEvent(Fe){return!("mousemove"!==Fe.type||!(Fe.originalEvent&&0===Fe.originalEvent.movementX&&0===Fe.originalEvent.movementY||void 0!==Fe.movementX&&!Fe.movementX)&&Fe.movementY)}}class ne extends F{constructor(Fe,Ke){super(()=>window,Fe,Ke)}}class de extends ne{constructor(Fe=500){super("storage",Fe)}
1filterEvent(Fe){return!(Fe.key&&Fe.key.indexOf("ng2Idle.")>=0&&Fe.key.indexOf(".expiry")>=0)}}function ut(){return[O,x,K,{provide:D,useExisting:x}]}const Ce=function xe(Te){return[new J("mousemove keydown DOMMouseScroll mousewheel mousedown touchstart touchmove scroll",Te),new de(Te)]}()},72510(ot,V,l){"use strict";l.d(V,{BW:()=>ei,Ci:()=>fi,MQ:()=>ln,Uq:()=>an,ZZ:()=>at,bh:()=>Nt,vr:()=>li,xt:()=>Wi});var f=l(35547),g=l(85802),h=l(17705),_=l(32271),C=l(89417),o=l(18530),y=l(25007),d=l(30536),M=l(33726),A=l(13798),D=l(70152),w=l(5964),O=l(96354),x=l(88141),N=l(49769),q=l(89079);const K=["content"],te=["scroll"],H=["padding"],ee=["*"],F=_t=>({searchTerm:_t});function J(_t,Wt){if(1&_t&&(f.j41(0,"div",3),f.eu8(1,6),f.k0s()),2&_t){const ye=f.XpG();f.R7$(),f.Y8G("ngTemplateOutlet",ye.headerTemplate())("ngTemplateOutletContext",f.eq3(2,F,ye.filterValue()))}}function ne(_t,Wt){if(1&_t&&(f.j41(0,"div",5),f.eu8(1,6),f.k0s()),2&_t){const ye=f.XpG();f.R7$(),f.Y8G("ngTemplateOutlet",ye.footerTemplate())("ngTemplateOutletContext",f.eq3(2,F,ye.filterValue()))}}const de=["searchInput"],Le=["clearButton"],ut=(_t,Wt,ye)=>({item:_t,clear:Wt,label:ye}),Oe=(_t,Wt)=>({items:_t,clear:Wt}),xe=(_t,Wt,ye,lt)=>({item:_t,item$:Wt,index:ye,searchTerm:lt});function Ce(_t,Wt){if(1&_t&&(f.j41(0,"div",20),f.EFF(1),f.k0s()),2&_t){const ye=f.XpG(2);f.R7$(),f.JRh(ye.placeholder()??ye.config.placeholder)}}function Te(_t,Wt){}function Fe(_t,Wt){if(1&_t&&f.DNE(0,Ce,2,1,"ng-template",null,1,f.C5r)(2,Te,0,0,"ng-template",19),2&_t){const ye=f.sdS(1),lt=f.XpG();f.R7$(2),f.Y8G("ngTemplateOutlet",lt.placeholderTemplate()||ye)}}function Ke(_t,Wt){if(1&_t){const ye=f.RV6();f.j41(0,"span",23),f.bIt("click",function(){g.eBV(ye);const Vt=f.XpG().$implicit,On=f.XpG(2);return g.Njj(On.unselect(Vt))}),f.EFF(1,"\xd7"),f.k0s(),f.nrm(2,"span",24)}if(2&_t){const ye=f.XpG().$implicit,lt=f.XpG(2);f.R7$(2),f.Y8G("ngItemLabel",ye.label)("escape",lt.escapeHTML)}}function Qe(_t,Wt){}function kt(_t,Wt){if(1&_t&&(f.j41(0,"div",22),f.DNE(1,Ke,3,2,"ng-template",null,2,f.C5r)(3,Qe,0,0,"ng-template",12),f.k0s()),2&_t){const ye=Wt.$implicit,lt=f.sdS(2),Vt=f.XpG(2);f.AVh("ng-value-disabled",ye.disabled),f.R7$(3),f.Y8G("ngTemplateOutlet",Vt.labelTemplate()||lt)("ngTemplateOutletContext",f.sMw(4,ut,ye.value,Vt.clearItem,ye.label))}}function ct(_t,Wt){if(1&_t&&f.Z7z(0,kt,4,8,"div",21,f.BUC().trackByOption,!0),2&_t){const ye=f.XpG();f.Dyx(ye.selectedItems)}}function Pt(_t,Wt){}function Ze(_t,Wt){if(1&_t&&f.DNE(0,Pt,0,0,"ng-template",12),2&_t){const ye=f.XpG();f.Y8G("ngTemplateOutlet",ye.multiLabelTemplate())("ngTemplateOutletContext",f.l_i(2,Oe,ye.selectedValues,ye.clearItem))}}function fe(_t,Wt){1&_t&&f.nrm(0,"div",25)}function ie(_t,Wt){}function Xe(_t,Wt){if(1&_t&&f.DNE(0,fe,1,0,"ng-template",null,3,f.C5r)(2,ie,0,0,"ng-template",19),2&_t){const ye=f.sdS(1),lt=f.XpG();f.R7$(2),f.Y8G("ngTemplateOutlet",lt.loadingSpinnerTemplate()||ye)}}function ve(_t,Wt){if(1&_t&&f.eu8(0,19),2&_t){const ye=f.XpG(2);f.Y8G("ngTemplateOutlet",ye.clearButtonTemplate())}}function he(_t,Wt){if(1&_t){const ye=f.RV6();f.j41(0,"span",27,4),f.bIt("click",function(Vt){g.eBV(ye);const On=f.XpG(2);return g.Njj(On.handleClearClick(Vt))}),f.j41(2,"span",28),f.EFF(3,"\xd7"),f.k0s()()}if(2&_t){const ye=f.XpG(2);f.Y8G("title",f.mNQ(ye.clearAllText()||ye.config.clearAllText)),f.BMQ("tabindex",ye.tabFocusOnClear()?0:-1)}}function Pe(_t,Wt){if(1&_t&&f.nVh(0,ve,1,1,"ng-container",19)(1,he,4,3,"span",26),2&_t){const ye=f.XpG();f.vxM(ye.clearButtonTemplate()?0:1)}}function Ve(_t,Wt){if(1&_t&&f.nrm(0,"span",33),2&_t){const ye=f.XpG().$implicit,lt=f.XpG(2);f.Y8G("ngItemLabel",ye.label)("escape",lt.escapeHTML)}}function dt(_t,Wt){}function Dt(_t,Wt){if(1&_t){const ye=f.RV6();f.j41(0,"div",32),f.bIt("click",function(){const Vt=g.eBV(ye).$implicit,On=f.XpG(2);return g.Njj(On.toggleItem(Vt))})("mouseover",function(){const Vt=g.eBV(ye).$implicit,On=f.XpG(2);return g.Njj(On.onItemHover(Vt))}),f.DNE(1,Ve,1,2,"ng-template",null,5,f.C5r)(3,dt,0,0,"ng-template",12),f.k0s()}if(2&_t){const ye=Wt.$implicit,lt=f.sdS(2),Vt=f.XpG(2);f.AVh("ng-option-disabled",ye.disabled)("ng-option-selected",ye.selected)("ng-optgroup",ye.children)("ng-option",!ye.children)("ng-option-child",!!ye.parent)("ng-option-marked",ye===Vt.itemsList.markedItem),f.BMQ("role",ye.children?"group":"option")("aria-selected",ye.selected)("id",null==ye?null:ye.htmlId)("aria-setsize",Vt.itemsList.filteredItems.length)("aria-posinset",ye.index+1),f.R7$(3),f.Y8G("ngTemplateOutlet",ye.children?Vt.optgroupTemplate()||lt:Vt.optionTemplate()||lt)("ngTemplateOutletContext",f.ziG(19,xe,ye.value,ye,ye.index,Vt.searchTerm))}}function wt(_t,Wt){if(1&_t&&(f.j41(0,"span")(1,"span",35),f.EFF(2),f.k0s(),f.EFF(3),f.k0s()),2&_t){const ye=f.XpG(3);f.R7$(2),f.JRh(ye.addTagText()||ye.config.addTagText),f.R7$(),f.SpI('"',ye.searchTerm,'"')}}function Yt(_t,Wt){}function Tt(_t,Wt){if(1&_t){const ye=f.RV6();f.j41(0,"div",34),f.bIt("mouseover",function(){g.eBV(ye);const Vt=f.XpG(2);return g.Njj(Vt.itemsList.unmarkItem())})("click",function(){g.eBV(ye);const Vt=f.XpG(2);return g.Njj(Vt.selectTag())}),f.DNE(1,wt,4,2,"ng-template",null,6,f.C5r)(3,Yt,0,0,"ng-template",12),f.k0s()}if(2&_t){const ye=f.sdS(2),lt=f.XpG(2);
1f.AVh("ng-option-marked",!lt.itemsList.markedItem),f.BMQ("aria-selected",!1),f.R7$(3),f.Y8G("ngTemplateOutlet",lt.tagTemplate()||ye)("ngTemplateOutletContext",f.eq3(5,F,lt.searchTerm))}}function qt(_t,Wt){if(1&_t&&(f.j41(0,"div",36),f.EFF(1),f.k0s()),2&_t){const ye=f.XpG(3);f.R7$(),f.JRh(ye.notFoundText()??ye.config.notFoundText)}}function We(_t,Wt){}function yt(_t,Wt){if(1&_t&&f.DNE(0,qt,2,1,"ng-template",null,7,f.C5r)(2,We,0,0,"ng-template",12),2&_t){const ye=f.sdS(1),lt=f.XpG(2);f.R7$(2),f.Y8G("ngTemplateOutlet",lt.notFoundTemplate()||ye)("ngTemplateOutletContext",f.eq3(2,F,lt.searchTerm))}}function je(_t,Wt){if(1&_t&&(f.j41(0,"div",36),f.EFF(1),f.k0s()),2&_t){const ye=f.XpG(3);f.R7$(),f.JRh(ye.typeToSearchText()||ye.config.typeToSearchText)}}function St(_t,Wt){}function me(_t,Wt){if(1&_t&&f.DNE(0,je,2,1,"ng-template",null,8,f.C5r)(2,St,0,0,"ng-template",19),2&_t){const ye=f.sdS(1),lt=f.XpG(2);f.R7$(2),f.Y8G("ngTemplateOutlet",lt.typeToSearchTemplate()||ye)}}function rt(_t,Wt){if(1&_t&&(f.j41(0,"div",36),f.EFF(1),f.k0s()),2&_t){const ye=f.XpG(3);f.R7$(),f.JRh(ye.loadingText()||ye.config.loadingText)}}function bt(_t,Wt){}function we(_t,Wt){if(1&_t&&f.DNE(0,rt,2,1,"ng-template",null,9,f.C5r)(2,bt,0,0,"ng-template",12),2&_t){const ye=f.sdS(1),lt=f.XpG(2);f.R7$(2),f.Y8G("ngTemplateOutlet",lt.loadingTextTemplate()||ye)("ngTemplateOutletContext",f.eq3(2,F,lt.searchTerm))}}function Mt(_t,Wt){if(1&_t){const ye=f.RV6();f.j41(0,"ng-dropdown-panel",29),f.bIt("update",function(Vt){g.eBV(ye);const On=f.XpG();return g.Njj(On.viewPortItems=Vt)})("scroll",function(Vt){g.eBV(ye);const On=f.XpG();return g.Njj(On.scroll.emit(Vt))})("scrollToEnd",function(Vt){g.eBV(ye);const On=f.XpG();return g.Njj(On.scrollToEnd.emit(Vt))})("outsideClick",function(){g.eBV(ye);const Vt=f.XpG();return g.Njj(Vt.close())}),f.qex(1),f.Z7z(2,Dt,4,24,"div",30,f.BUC().trackByOption,!0),f.nVh(4,Tt,4,7,"div",31),f.bVm(),f.nVh(5,yt,3,4),f.nVh(6,me,3,1),f.nVh(7,we,3,4),f.k0s()}if(2&_t){const ye=f.XpG(),lt=ye.appendTo()||ye.config.appendTo;f.HbH(lt?ye.ngClass()?ye.ngClass():ye.classes:null),f.AVh("ng-select-multiple",ye.multiple()),f.Y8G("virtualScroll",ye.virtualScroll()??!ye.config.disableVirtualScroll??!1)("bufferAmount",ye.bufferAmount())("appendTo",lt)("position",ye.dropdownPosition())("outsideClickEvent",ye.outsideClickEvent())("headerTemplate",ye.headerTemplate())("footerTemplate",ye.footerTemplate())("filterValue",ye.searchTerm)("items",ye.itemsList.filteredItems)("showAddTag",ye.showAddTag)("markedItem",ye.itemsList.markedItem)("id",ye.dropdownId)("ariaLabelDropdown",ye.ariaLabelDropdown()),f.R7$(2),f.Dyx(ye.viewPortItems),f.R7$(2),f.vxM(ye.showAddTag?4:-1),f.R7$(),f.vxM(ye.showNoItemsFound()?5:-1),f.R7$(),f.vxM(ye.showTypeToSearch()?6:-1),f.R7$(),f.vxM(ye.loading()&&0===ye.itemsList.filteredItems.length?7:-1)}}function p(_t,Wt){if(1&_t&&f.EFF(0),2&_t){const ye=f.XpG();f.SpI(" ",ye.notFoundText()??ye.config.notFoundText," ")}}function le(_t){return null!=_t}function $(_t){return"object"==typeof _t&&le(_t)}function Et(_t){return _t instanceof Function}RegExp(/[&<>"']/g.source);let dn=(()=>{class _t{constructor(){this.element=(0,g.WQX)(f.aKT),this.ngItemLabel=(0,h.hFB)(),this.escape=(0,h.hFB)(!0),(0,g.QZP)(()=>{this.element.nativeElement.textContent=this.ngItemLabel()})}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:[1,"ngItemLabel"],escape:[1,"escape"]}})}}return _t})(),an=(()=>{class _t{constructor(){this.template=(0,g.WQX)(f.C4Q)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ng-option-tmp",""]]})}}return _t})(),Nt=(()=>{class _t{constructor(){this.template=(0,g.WQX)(f.C4Q)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ng-optgroup-tmp",""]]})}}return _t})(),at=(()=>{class _t{constructor(){this.template=(0,g.WQX)(f.C4Q)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ng-label-tmp",""]]})}}return _t})(),st=(()=>{class _t{constructor(){this.template=(0,g.WQX)(f.C4Q)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ng-multi-label-tmp",""]]})}}return _t})(),zt=(()=>{class _t{constructor(){this.template=(0,g.WQX)(f.C4Q)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ng-header-tmp",""]]})}}return _t})(),Dn=(()=>{class _t{constructor(){this.template=(0,g.WQX)(f.C4Q)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ng-footer-tmp",""]]})}}return _t})(),hn=(()=>{class _t{constructor(){this.template=(0,g.WQX)(f.C4Q)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ng-notfound-tmp",""]]})}}return _t})(),Vn=(()=>{class _t{constructor(){this.template=(0,g.WQX)(f.C4Q)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ng-placeholder-tmp",""]]})}}return _t})(),Pn=(()=>{class _t{constructor(){this.template=(0,g.WQX)(f.C4Q)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ng-typetosearch-tmp",""]]})}}return _t})(),xn=(()=>{class _t{constructor(){this.template=(0,g.WQX)(f.C4Q)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ng-loadingtext-tmp",""]]})}}return _t})(),ei=(()=>{class _t{constructor(){this.template=(0,g.WQX)(f.C4Q)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ng-tag-tmp",""]]})}}return _t})(),ci=(()=>{class _t{constructor(){this.template=(0,g.WQX)(f.C4Q)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ng-loadingspinner-tmp",""]]})}}return _t})(),ri=(()=>{class _t{constructor(){this.template=(0,g.WQX)(f.C4Q)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275dir=f.FsC({type:_t,selectors:[["","ng-clearbutton-tmp",""]]})}}return _t})(),fi=(()=>{class _t{constructor(){this.fixedPlaceholder=!0,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline",this.tabFocusOnClear=!0,this.outsideClickEvent="click"}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275prov=g.jDH({token:_t,factory:_t.\u0275fac,providedIn:"root"})}}return _t})(),so=(()=>{class _t{warn(ye){console.warn(ye)}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275prov=g.jDH({token:_t,factory:_t.\u0275fac,providedIn:"root"})}}return _t})();function Li(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const Cn={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34
1:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};
1function ti(_t){return _t.replace(/[^\u0000-\u007E]/g,ye=>Cn[ye]||ye)}class si{constructor(Wt,ye){this._ngSelect=Wt,this._selectionModel=ye,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected()&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple()&&this._ngSelect.maxSelectedItems()<=this.selectedItems.length}get lastSelectedItem(){let Wt=this.selectedItems.length-1;for(;Wt>=0;Wt--){const ye=this.selectedItems[Wt];if(!ye.disabled)return ye}return null}setItems(Wt){this._items=Wt.map((lt,Vt)=>this.mapItem(lt,Vt));const ye=this._ngSelect.groupBy();ye?(this._groups=this._groupBy(this._items,ye),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(Wt){if(Wt.selected||this.maxItemsSelected)return;const ye=this._ngSelect.multiple();ye||this.clearSelected(),this._selectionModel.select(Wt,ye,this._ngSelect.selectableGroupAsModel()),this._ngSelect.hideSelected()&&this._hideSelected(Wt)}unselect(Wt){if(!Wt.selected)return;const ye=this._ngSelect.multiple();this._selectionModel.unselect(Wt,ye),this._ngSelect.hideSelected()&&le(Wt.index)&&ye&&this._showSelected(Wt)}findItem(Wt){let ye;return ye=this._ngSelect.compareWith()?lt=>this._ngSelect.compareWith()(lt.value,Wt):this._ngSelect.bindValue()?lt=>!lt.children&&this.resolveNested(lt.value,this._ngSelect.bindValue())===Wt:lt=>lt.value===Wt||!lt.children&&lt.label&&lt.label===this.resolveNested(Wt,this._ngSelect.bindLabel()),this._items.find(lt=>ye(lt))}addItem(Wt){const ye=this.mapItem(Wt,this._items.length);return this._items.push(ye),this._filteredItems.push(ye),ye}clearSelected(Wt=!1){this._selectionModel.clear(Wt),this._items.forEach(ye=>{ye.selected=Wt&&ye.selected&&ye.disabled,ye.marked=!1}),this._ngSelect.hideSelected()&&this.resetFilteredItems()}findByLabel(Wt){return Wt=ti(Wt).toLocaleLowerCase(),this.filteredItems.find(ye=>ti(ye.label).toLocaleLowerCase().substr(0,Wt.length)===Wt)}filter(Wt){if(!Wt)return void this.resetFilteredItems();this._filteredItems=[],Wt=this._ngSelect.searchFn()?Wt:ti(Wt).toLocaleLowerCase();const ye=this._ngSelect.searchFn()||this._defaultSearchFn,lt=this._ngSelect.hideSelected();for(const Vt of Array.from(this._groups.keys())){const On=[];for(const Bn of this._groups.get(Vt))lt&&(Bn.parent&&Bn.parent.selected||Bn.selected)||ye(Wt,this._ngSelect.searchFn()?Bn.value:Bn)&&On.push(Bn);if(On.length>0){const[Bn]=On.slice(-1);if(Bn.parent){const Qn=this._items.find(Ni=>Ni===Bn.parent);this._filteredItems.push(Qn)}this._filteredItems.push(...On)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected()&&this.selectedItems.length>0?this._items.filter(Wt=>!Wt.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(Wt){this._markedIndex=this._filteredItems.indexOf(Wt)}markSelectedOrDefault(Wt){if(0===this._filteredItems.length)return;const ye=this._getLastMarkedIndex();this._markedIndex=ye>-1?ye:Wt?this.filteredItems.findIndex(lt=>!lt.disabled):-1}resolveNested(Wt,ye){if(!$(Wt))return Wt;if(-1===ye.indexOf("."))return Wt[ye];{const lt=ye.split(".");let Vt=Wt;for(let On=0,Bn=lt.length;On<Bn;++On){if(null==Vt)return null;Vt=Vt[lt[On]]}return Vt}}mapItem(Wt,ye){const lt=$(Wt)&&"$ngOptionLabel"in Wt,Vt=$(Wt)&&"$ngOptionValue"in Wt,On=lt?Wt.$ngOptionLabel:this.resolveNested(Wt,this._ngSelect.bindLabel()),Bn=Vt?Wt.$ngOptionValue:Wt;return{index:ye,label:le(On)?On.toString():"",value:Bn,disabled:!(!Wt||!Wt.disabled)&&Wt.disabled,htmlId:`${this._ngSelect.dropdownId}-${ye}`}}mapSelectedItems(){const Wt=this._ngSelect.multiple();for(const ye of this.selectedItems){const lt=this._ngSelect.bindValue();let Vt=null;if(this._ngSelect.compareWith())Vt=this._items.find(On=>this._ngSelect.compareWith()(On.value,ye.value));else{const On=lt?this.resolveNested(ye.value,lt):ye.value;Vt=le(On)?this.findItem(On):null}this._selectionModel.unselect(ye,Wt),this._selectionModel.select(Vt||ye,Wt,this._ngSelect.selectableGroupAsModel())}this._ngSelect.hideSelected()&&(this._filteredItems=this.filteredItems.filter(ye=>-1===this.selectedItems.indexOf(ye)))}_showSelected(Wt){if(this._filteredItems.push(Wt),Wt.parent){const ye=Wt.parent;this._filteredItems.find(Vt=>Vt===ye)||this._filteredItems.push(ye)}else if(Wt.children)for(const ye of Wt.children)ye.selected=!1,this._filteredItems.push(ye);this._filteredItems=[...this._filteredItems.sort((ye,lt)=>ye.index-lt.index)]}_hideSelected(Wt){this._filteredItems=this._filteredItems.filter(ye=>ye!==Wt),Wt.parent?Wt.parent.children.every(lt=>lt.selected)&&(this._filteredItems=this._filteredItems.filter(lt=>lt!==Wt.parent)):Wt.children&&(this._filteredItems=this.filteredItems.filter(ye=>ye.parent!==Wt))}_defaultSearchFn(Wt,ye){return ti(ye.label).toLocaleLowerCase().indexOf(Wt)>-1}_getNextItemIndex(Wt){return Wt>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(Wt){0===this._filteredItems.length||this._filteredItems.every(ye=>ye.disabled)||(this._markedIndex=this._getNextItemIndex(Wt),this.markedItem.disabled&&this._stepToItem(Wt))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected()||this._markedIndex>-1&&void 0===this.markedItem)return-1;const Wt=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&Wt<0?-1:Math.max(this.markedIndex,Wt)}_groupBy(Wt,ye){const lt=new Map;if(0===Wt.length)return lt;if(Array.isArray(Wt[0].value[ye])){for(const Bn of Wt){const Qn=(Bn.value[ye]||[]).map((Ni,ht)=>this.mapItem(Ni,ht));lt.set(Bn,Qn)}return lt}const Vt=Et(this._ngSelect.groupBy()),On=Bn=>{const Qn=Vt?ye(Bn.value):Bn.value[ye];return le(Qn)?Qn:void 0};for(const Bn of Wt){const Qn=On(Bn),Ni=lt.get(Qn);Ni?Ni.push(Bn):lt.set(Qn,[Bn])}return lt}_flatten(Wt){const ye=Et(this._ngSelect.groupBy()),lt=[];for(const Vt of Array.from(Wt.keys())){let On=lt.length;if(void 0===Vt){const jt=Wt.get(void 0)||[];lt.push(...jt.map(nn=>(nn.index=On++,nn)));continue}const Bn=$(Vt),Qn={label:Bn?"":String(Vt),children:void 0,parent:null,index:On++,disabled:!this._ngSelect.selectableGroup(),htmlId:Li()},Ni=ye?this._ngSelect.bindLabel():this._ngSelect.groupBy(),ht=this._ngSelect.groupValue()||(()=>Bn?Vt.value:{[Ni]:Vt}),At=Wt.get(Vt).map(jt=>(jt.parent=Qn,jt.children=void 0,jt.index=On++,jt));Qn.children=At,Qn.value=ht(Vt,At.map(jt=>jt.value)),lt.push(Qn),lt.push(...At)}return lt}}let Ei=(()=>{class _t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerVie
1wport:0}}get dimensions(){return this._dimensions}calculateItems(ye,lt,Vt){const On=this._dimensions,Bn=On.itemHeight*lt,Ni=Math.max(0,ye)/Bn*lt;let ht=Math.min(lt,Math.ceil(Ni)+(On.itemsPerViewport+1));const jt=Math.max(0,ht-On.itemsPerViewport);let nn=Math.min(jt,Math.floor(Ni)),rn=On.itemHeight*Math.ceil(nn)-On.itemHeight*Math.min(nn,Vt);return rn=isNaN(rn)?0:rn,nn=isNaN(nn)?-1:nn,ht=isNaN(ht)?-1:ht,nn-=Vt,nn=Math.max(0,nn),ht+=Vt,ht=Math.min(lt,ht),{topPadding:rn,scrollHeight:Bn,start:nn,end:ht}}setDimensions(ye,lt){const Vt=Math.max(1,Math.floor(lt/ye));this._dimensions={itemHeight:ye,panelHeight:lt,itemsPerViewport:Vt}}getScrollTo(ye,lt,Vt){const{panelHeight:On}=this.dimensions,Bn=ye+lt,Ni=Vt+On;return On>=Bn&&Vt===ye?null:Bn>Ni?Vt+Bn-Ni:ye<=Vt?ye:null}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275prov=g.jDH({token:_t,factory:_t.\u0275fac})}}return _t})();const An=["top","right","bottom","left"],Ki=typeof requestAnimationFrame<"u"?d.X:y.$;let Hi=(()=>{class _t{constructor(){this.items=(0,h.hFB)([]),this.showAddTag=(0,h.hFB)(!1,{transform:h.L39}),this.markedItem=(0,h.hFB)(void 0),this.position=(0,h.hFB)("auto"),this.appendTo=(0,h.hFB)(void 0),this.bufferAmount=(0,h.hFB)(void 0),this.virtualScroll=(0,h.hFB)(!1,{transform:h.L39}),this.headerTemplate=(0,h.hFB)(void 0),this.footerTemplate=(0,h.hFB)(void 0),this.filterValue=(0,h.hFB)(null),this.ariaLabelDropdown=(0,h.hFB)(null),this.outsideClickEvent=(0,h.hFB)("click"),this.update=(0,h.CGW)(),this.scroll=(0,h.CGW)(),this.scrollToEnd=(0,h.CGW)(),this.outsideClick=(0,h.CGW)(),this._renderer=(0,g.WQX)(f.sFG),this._zone=(0,g.WQX)(g.SKi),this._panelService=(0,g.WQX)(Ei),this._document=(0,g.WQX)(g.qQL,{optional:!0}),this._destroyRef=(0,g.WQX)(g.abz),this._dropdown=(0,g.WQX)(f.aKT).nativeElement,this.contentElementRef=(0,h.ebz)("content",{read:f.aKT}),this.scrollElementRef=(0,h.ebz)("scroll",{read:f.aKT}),this.paddingElementRef=(0,h.ebz)("padding",{read:f.aKT}),this._virtualPadding=(0,_.EW)(()=>this.paddingElementRef()?.nativeElement),this._scrollablePanel=(0,_.EW)(()=>this.scrollElementRef()?.nativeElement),this._contentPanel=(0,_.EW)(()=>this.contentElementRef()?.nativeElement),this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._destroyRef.onDestroy(()=>{this.appendTo()&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)})}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(ye){ye!==this._itemsLength&&(this._itemsLength=ye,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem()){const{itemHeight:ye,panelHeight:lt}=this._panelService.dimensions,Vt=this.markedItem().index*ye;return lt>Vt?0:Vt}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(ye){if(ye.items){const lt=ye.items;this._onItemsOrShowAddTagChange(lt.currentValue,this.showAddTag(),lt.firstChange)}if(ye.showAddTag){const lt=ye.showAddTag;this._onItemsOrShowAddTagChange(this.items(),lt.currentValue,lt.firstChange)}}scrollTo(ye,lt=!1){if(!ye)return;const Vt=this.items().indexOf(ye);if(Vt<0||Vt>=this.itemsLength)return;let On;if(this.virtualScroll()){const Bn=this._panelService.dimensions.itemHeight;On=this._panelService.getScrollTo(Vt*Bn,Bn,this._lastScrollPosition)}else{const Bn=this._dropdown.querySelector(`#${ye.htmlId}`);On=this._panelService.getScrollTo(Bn.offsetTop,Bn.clientHeight,lt?Bn.offsetTop:this._lastScrollPosition)}le(On)&&(this._scrollablePanel().scrollTop=On)}scrollToTag(){const ye=this._scrollablePanel();ye.scrollTop=ye.scrollHeight-ye.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),An.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo()&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(ye){An.forEach(Vt=>{const On=`ng-select-${Vt}`;this._renderer.removeClass(this._dropdown,On),this._renderer.removeClass(this._select,On)});const lt=`ng-select-${ye}`;this._renderer.addClass(this._dropdown,lt),this._renderer.addClass(this._select,lt)}_handleScroll(){this._zone.runOutsideAngular(()=>{const ye=this._scrollablePanel();ye&&(0,M.R)(ye,"scroll").pipe((0,q.pQ)(this._destroyRef),(0,A.Z)(0,Ki)).subscribe(()=>{ye&&"scrollTop"in ye&&this._onContentScrolled(ye.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,M.R)(this._document,this.outsideClickEvent(),{capture:!0}).pipe((0,q.pQ)(this._destroyRef)).subscribe(ye=>this._checkToClose(ye))})}_checkToClose(ye){if(this._select.contains(ye.target)||this._dropdown.contains(ye.target))return;const lt=ye.path||ye.composedPath&&ye.composedPath();ye.target&&ye.target.shadowRoot&&lt&&lt[0]&&this._select.contains(lt[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsOrShowAddTagChange(ye=[],lt,Vt){this._scrollToEndFired=!1,this.itemsLength=ye.length,lt&&ye.length&&this.itemsLength++,this.virtualScroll()?this._updateItemsRange(Vt):(this._setVirtualHeight(),this._updateItems(Vt))}_updateItems(ye){this.update.emit(this.items()),!1!==ye&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{const lt=this._scrollablePanel().clientHeight;this._panelService.setDimensions(0,lt),this._handleDropdownPosition(),this.scrollTo(this.markedItem(),ye)})})}_updateItemsRange(ye){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{ye?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(ye){this.virtualScroll()&&this._renderItemsRange(ye),this._lastScrollPosition=ye,this._fireScrollToEnd(ye)}_updateVirtualHeight(ye){this._updateScrollHeight&&(this._virtualPadding().style.height=`${ye}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding()&&(this._virtualPadding().style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(ye=null){if(ye&&this._lastScrollPosition===ye)return;ye=ye||this._scrollablePanel().scrollTop;const lt=this._panelService.calculateItems(ye,this.itemsLength,this.bufferAmount());this._updateVirtualHeight(lt.scrollHeight),this._contentPanel().style.transform=`translateY(${lt.topPadding}px)`,this._zone.run(()=>{this._destroyRef.destroyed||(this.update.emit(this.items().slice(lt.start,lt.end)),this.scroll.emit({start:lt.start,end:lt.end}))}),le(ye)&&0===this._lastScrollPosition&&(this._scrollablePanel().scrollTop=ye,this._lastScrollPosition=ye)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[ye]=this.items();return this.update.emit([ye]),Promise.resolve().then(()=>{const Vt=this._dropdown.querySelector(`#${ye.htmlId}`).clientHeight;this._virtualPadding().style.height=Vt*this.itemsLength+"px";const On=this._scrollablePanel().clientHeight;return this._panelService.setDimensions(Vt,On),this._panelService.dimensions})}_fireScrollToEnd(ye){if(this._scrollToEndFired||0===ye)return;const lt=this.virtualScroll()?this._virtualPadding():this._contentPanel();ye+this._dropdown.clientHeight>=lt.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(ye){const lt=this.position();if("auto"!==lt)return lt;const Vt=this._select.getBoundingClientRect(),On=document.documentElement.scrollTop||document.body.scrollTop;return Vt.top+window.pageYOffset+Vt.height+ye.getBoundingClientRect().height>On+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo()){if(this._parent=this._dropdown.shadowRoot?this._dropdown.shadowRoot.querySelector(this.appendTo()):document.querySelector(this.appendTo()),!this._parent)throw new Error(`appendTo selector ${this.appendTo()} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const ye=this._select.getBoundingClientRect(),lt=this._parent.getBoundingClientRect(),Vt="rtl"===document.documentElement.dir,On=ye.left-lt.left;Vt?(this._dropdown.style.right=lt.right-ye.right+"px",this._dropdown.style.left="auto"):(this._dropdown.style.left=On+"px",this._dropdown.style.right="auto"),this._dropdown.style.width=ye.width+"px",this._dropdown.style.minWidth=ye.width+"px"}_updateYPosition(){const ye=this._select.getBoundingClientRect(),lt=this._parent.getBoundingClientRect(),Vt=ye.height;"top"===this._currentPosition?(this._dropdown.style.bottom=lt.bottom-ye.bottom+Vt+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=ye.top-lt.top+Vt+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,M.R)(this._dropdown,"mousedown").pipe((0,q.pQ)(this._destroyRef)).subscribe(ye=>{"INPUT"!==ye.target.tagName&&ye.preventDefault()})})}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275cmp=f.VBU({type:_t,selectors:[["ng-dropdown-panel"]],viewQuery:function(lt,Vt){1&lt&&f.wEZ(Vt.contentElementRef,K,5,f.aKT)(Vt.scrollElementRef,te,5,f.aKT)(Vt.paddingElementRef,H,5,f.aKT),2&lt&&f.NyB(3)},inputs:{items:[1,"items"],showAddTag:[1,"showAddTag"],markedItem:[1,"markedItem"],position:[1,"position"],appendTo:[1,"appendTo"],bufferAmount:[1,"bufferAmount"],virtualScroll:[1,"virtualScroll"],headerTemplate:[1,"headerTemplate"],footerTemplate:[1,"footerTemplate"],filterValue:[1,"filterValue"],ariaLabelDropdown:[1,"ariaLabelDropdown"],outsideClickEvent:[1,"outsideClickEvent"]},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[f.OA$],ngContentSelectors:ee,decls:9,vars:7,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(lt,Vt){1&lt&&(f.NAR(),f.nVh(0,J,2,4,"div",3),f.j41(1,"div",4,0),f.nrm(3,"div",null,1),f.j41(5,"div",null,2),f.SdG(7),f.k0s()(),f.nVh(8,ne,2,4,"div",5)),2&lt&&(f.vxM(Vt.headerTemplate()?0:-1),f.R7$(),f.BMQ("aria-label",Vt.ariaLabelDropdown()),f.R7$(2),f.AVh("total-padding",Vt.virtualScroll()),f.R7$(2),f.AVh("scrollable-content",Vt.virtualScroll()&&Vt.items().length),f.R7$(3),f.vxM(Vt.footerTemplate()?8:-1))},dependencies:[N.T3],encapsulation:2,changeDetection:0})}}return _t})(),Wi=(()=>{class _t{constructor(){this.value=(0,h.hFB)(),this.disabled=(0,h.hFB)(!1,{transform:h.L39}),this.elementRef=(0,g.WQX)(f.aKT),this.label=(0,g.vPA)(""),(0,f.WeM)(()=>{const ye=(this.elementRef.nativeElement.textContent||"").trim();ye!==this.label()&&this.label.set(ye)})}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275cmp=f.VBU({type:_t,selectors:[["ng-option"]],inputs:{value:[1,"value"],disabled:[1,"disabled"]},ngContentSelectors:ee,decls:1,vars:0,template:function(lt,Vt){1&lt&&(f.NAR(),f.SdG(0))},encapsulation:2,changeDetection:0})}}return _t})();var qi=function(_t){return _t.Tab="Tab",_t.Enter="Enter",_t.Esc="Escape",_t.Space=" ",_t.ArrowUp="ArrowUp",_t.ArrowDown="ArrowDown",_t.Backspace="Backspace",_t}(qi||{});function eo(){return new Yi}class Yi{constructor(){this._selected=[]}get value(){return this._selected}select(Wt,ye,lt){if(Wt.selected=!0,(!Wt.children||!ye&&lt)&&this._selected.push(Wt),ye)if(Wt.parent){const Vt=Wt.parent.children.length,On=Wt.parent.children.filter(
1Bn=>Bn.selected).length;Wt.parent.selected=Vt===On}else Wt.children&&(this._setChildrenSelectedState(Wt.children,!0),this._removeChildren(Wt),this._selected=lt&&this._activeChildren(Wt)?[...this._selected.filter(Vt=>Vt.parent!==Wt),Wt]:[...this._selected,...Wt.children.filter(Vt=>!Vt.disabled)])}unselect(Wt,ye){if(this._selected=this._selected.filter(lt=>lt!==Wt),Wt.selected=!1,ye)if(Wt.parent&&Wt.parent.selected){const lt=Wt.parent.children;this._removeParent(Wt.parent),this._removeChildren(Wt.parent),this._selected.push(...lt.filter(Vt=>Vt!==Wt&&!Vt.disabled)),Wt.parent.selected=!1}else Wt.children&&(this._setChildrenSelectedState(Wt.children,!1),this._removeChildren(Wt))}clear(Wt){this._selected=Wt?this._selected.filter(ye=>ye.disabled):[]}_setChildrenSelectedState(Wt,ye){for(const lt of Wt)lt.disabled||(lt.selected=ye)}_removeChildren(Wt){this._selected=[...this._selected.filter(ye=>ye.parent!==Wt),...Wt.children.filter(ye=>ye.parent===Wt&&ye.disabled&&ye.selected)]}_removeParent(Wt){this._selected=this._selected.filter(ye=>ye!==Wt)}_activeChildren(Wt){return Wt.children.every(ye=>!ye.disabled||ye.selected)}}const En=new g.nKC("ng-select-selection-model");let li=(()=>{class _t{constructor(){this.classes=(0,g.WQX)(new h.ES_("class"),{optional:!0}),this.config=(0,g.WQX)(fi),this._cd=(0,g.WQX)(h.gRc),this._console=(0,g.WQX)(so),this._destroyRef=(0,g.WQX)(g.abz),this._disabled=(0,g.vPA)(!1),this.ariaLabelDropdown=(0,h.hFB)("Options List"),this.ariaLabel=(0,h.hFB)(void 0),this.markFirst=(0,h.hFB)(!0,{transform:h.L39}),this.placeholder=(0,h.hFB)(this.config.placeholder),this.fixedPlaceholder=(0,h.hFB)(!0),this.notFoundText=(0,h.hFB)(void 0),this.typeToSearchText=(0,h.hFB)(void 0),this.preventToggleOnRightClick=(0,h.hFB)(!1),this.addTagText=(0,h.hFB)(void 0),this.loadingText=(0,h.hFB)(void 0),this.clearAllText=(0,h.hFB)(void 0),this.dropdownPosition=(0,h.hFB)("auto"),this.appendTo=(0,h.hFB)(void 0),this.outsideClickEvent=(0,h.hFB)(this.config.outsideClickEvent),this.loading=(0,h.hFB)(!1,{transform:h.L39}),this.closeOnSelect=(0,h.hFB)(!0,{transform:h.L39}),this.hideSelected=(0,h.hFB)(!1,{transform:h.L39}),this.selectOnTab=(0,h.hFB)(!1,{transform:h.L39}),this.openOnEnter=(0,h.hFB)(void 0,{transform:h.L39}),this.maxSelectedItems=(0,h.hFB)(void 0,{transform:h.Udg}),this.groupBy=(0,h.hFB)(void 0),this.groupValue=(0,h.hFB)(void 0),this.bufferAmount=(0,h.hFB)(4,{transform:h.Udg}),this.virtualScroll=(0,h.hFB)(void 0,{transform:h.L39}),this.selectableGroup=(0,h.hFB)(!1,{transform:h.L39}),this.tabFocusOnClearButton=(0,h.hFB)(),this.selectableGroupAsModel=(0,h.hFB)(!0,{transform:h.L39}),this.searchFn=(0,h.hFB)(null),this.trackByFn=(0,h.hFB)(null),this.clearOnBackspace=(0,h.hFB)(!0,{transform:h.L39}),this.labelForId=(0,h.hFB)(null),this.inputAttrs=(0,h.hFB)({}),this.tabIndex=(0,h.hFB)(void 0,{transform:h.Udg}),this.readonly=(0,h.hFB)(!1,{transform:h.L39}),this.searchWhileComposing=(0,h.hFB)(!0,{transform:h.L39}),this.minTermLength=(0,h.hFB)(0,{transform:h.Udg}),this.editableSearchTerm=(0,h.hFB)(!1,{transform:h.L39}),this.ngClass=(0,h.hFB)(null),this.typeahead=(0,h.hFB)(void 0),this.multiple=(0,h.hFB)(!1,{transform:h.L39}),this.addTag=(0,h.hFB)(!1),this.searchable=(0,h.hFB)(!0,{transform:h.L39}),this.clearable=(0,h.hFB)(!0,{transform:h.L39}),this.deselectOnClick=(0,h.hFB)(),this.clearSearchOnAdd=(0,h.hFB)(void 0),this.compareWith=(0,h.hFB)(void 0,{transform:On=>{if(null!=On&&!Et(On))throw Error("`compareWith` must be a function.");return On}}),this.keyDownFn=(0,h.hFB)(On=>!0),this.bindLabel=(0,h.geq)(void 0),this.bindValue=(0,h.geq)(void 0),this.appearance=(0,h.geq)(void 0),this.isOpen=(0,h.geq)(!1),this.items=(0,h.geq)([]),this.blurEvent=(0,h.CGW)({alias:"blur"}),this.focusEvent=(0,h.CGW)({alias:"focus"}),this.changeEvent=(0,h.CGW)({alias:"change"}),this.openEvent=(0,h.CGW)({alias:"open"}),this.closeEvent=(0,h.CGW)({alias:"close"}),this.searchEvent=(0,h.CGW)({alias:"search"}),this.clearEvent=(0,h.CGW)({alias:"clear"}),this.addEvent=(0,h.CGW)({alias:"add"}),this.removeEvent=(0,h.CGW)({alias:"remove"}),this.scroll=(0,h.CGW)({alias:"scroll"}),this.scrollToEnd=(0,h.CGW)({alias:"scrollToEnd"}),this.disabled=(0,_.EW)(()=>this.readonly()||this._disabled()),this.clearSearchOnAddValue=(0,_.EW)(()=>le(this.clearSearchOnAdd())?this.clearSearchOnAdd():le(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect()),this.deselectOnClickValue=(0,_.EW)(()=>le(this.deselectOnClick())?this.deselectOnClick():le(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple()),this.optionTemplate=(0,h.sbv)(an,{read:f.C4Q}),this.optgroupTemplate=(0,h.sbv)(Nt,{read:f.C4Q}),this.labelTemplate=(0,h.sbv)(at,{read:f.C4Q}),this.multiLabelTemplate=(0,h.sbv)(st,{read:f.C4Q}),this.headerTemplate=(0,h.sbv)(zt,{read:f.C4Q}),this.footerTemplate=(0,h.sbv)(Dn,{read:f.C4Q}),this.notFoundTemplate=(0,h.sbv)(hn,{read:f.C4Q}),this.placeholderTemplate=(0,h.sbv)(Vn,{read:f.C4Q}),this.typeToSearchTemplate=(0,h.sbv)(Pn,{read:f.C4Q}),this.loadingTextTemplate=(0,h.sbv)(xn,{read:f.C4Q}),this.tagTemplate=(0,h.sbv)(ei,{read:f.C4Q}),this.loadingSpinnerTemplate=(0,h.sbv)(ci,{read:f.C4Q}),this.clearButtonTemplate=(0,h.sbv)(ri,{read:f.C4Q}),this.ngOptions=(0,h.tEk)(Wi,{descendants:!0}),this.dropdownPanel=(0,h.ebz)((0,g.Rfq)(()=>Hi)),this.searchInput=(0,h.ebz)("searchInput"),this.clearButton=(0,h.ebz)("clearButton"),this.dropdownId=Li(),this.escapeHTML=!0,this.viewPortItems=[],this.tabFocusOnClear=(0,g.vPA)(!0),this.autoFocus=(0,g.WQX)(new h.ES_("autofocus"),{optional:!0}),this._defaultLabel="label",this._editableSearchTerm=(0,_.EW)(()=>this.editableSearchTerm()&&!this.multiple()),this._injector=(0,g.WQX)(g.zZn),this._isComposing=!1,this._keyPress$=new o.B,this._pressedKeys=[],this._searchTerm=(0,g.vPA)(null),this._val
1idTerm=(0,_.EW)(()=>{const On=this._searchTerm()?.trim();return On&&On.length>=this.minTermLength()}),this.clearItem=On=>{const Bn=this.selectedItems.find(Qn=>Qn.value===On);this.unselect(Bn)},this.trackByOption=(On,Bn)=>this.trackByFn()?this.trackByFn()(Bn.value):Bn,this._onChange=On=>{},this._onTouched=()=>{};const ye=this.config,lt=(0,g.WQX)(En,{optional:!0}),Vt=(0,g.WQX)(f.aKT);this._mergeGlobalConfig(ye),this.itemsList=new si(this,lt?lt():eo()),this.element=Vt.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable()||this._isComposing}get focused(){return this._focused}get searchTerm(){return this._searchTerm()}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(ye=>ye.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel())return this.dropdownPanel().currentPosition}get showAddTag(){if(!this._validTerm())return!1;const ye=this.searchTerm.toLowerCase().trim();return this.addTag()&&!this.itemsList.filteredItems.some(lt=>lt.label.toLowerCase()===ye)&&(!this.hideSelected()&&this.isOpen()||!this.selectedItems.some(lt=>lt.label.toLowerCase()===ye))&&!this.loading()}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(ye){ye.multiple&&this.itemsList.clearSelected(),ye.items&&(this._itemsAreUsed=!0,this._setItems(ye.items.currentValue||[])),ye.isOpen&&(this._manualOpen=le(ye.isOpen.currentValue)),ye.groupBy&&(ye.items||this._setItems([...this.items()])),ye.inputAttrs&&this._setInputAttributes(),this._setTabFocusOnClear()}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),le(this.autoFocus)&&this.focus()}handleKeyDown(ye){const lt=ye.key;if(Object.values(qi).includes(lt)){if(!1===this.keyDownFn()(ye))return;this.handleKeyCode(ye)}else lt&&1===lt.length&&this._keyPress$.next(lt.toLocaleLowerCase())}handleKeyCode(ye){const lt=ye.target;this.clearButton()&&this.clearButton().nativeElement===lt?this.handleKeyCodeClear(ye):this.handleKeyCodeInput(ye)}handleKeyCodeInput(ye){switch(ye.key){case qi.ArrowDown:this._handleArrowDown(ye);break;case qi.ArrowUp:this._handleArrowUp(ye);break;case qi.Space:this._handleSpace(ye);break;case qi.Enter:this._handleEnter(ye);break;case qi.Tab:this._handleTab(ye);break;case qi.Esc:this.close(),ye.preventDefault();break;case qi.Backspace:this._handleBackspace()}}handleKeyCodeClear(ye){ye.key===qi.Enter&&(this.handleClearClick(),ye.preventDefault())}handleMousedown(ye){if(this.disabled())return;if(this.preventToggleOnRightClick()&&2===ye.button)return!1;const lt=ye.target;if("INPUT"!==lt.tagName&&ye.preventDefault(),!lt.classList.contains("ng-clear-wrapper")){if(lt.classList.contains("ng-arrow-wrapper"))return void this.handleArrowClick();lt.classList.contains("ng-value-icon")||(this._focused||this.focus(),this.searchable()?this.open():this.toggle())}}handleArrowClick(){this.isOpen()?this.close():this.open()}handleClearClick(ye){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable()&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(ye){this.itemsList.clearSelected(),this._handleWriteValue(ye),this._editableSearchTerm()&&this._setSearchTermFromItems(),this._cd.markForCheck()}registerOnChange(ye){this._onChange=ye}registerOnTouched(ye){this._onTouched=ye}setDisabledState(ye){this._disabled.set(ye),this._cd.markForCheck()}toggle(){this.isOpen()?this.close():this.open()}open(){this.disabled()||this.isOpen()||this._manualOpen||!this.typeahead()?.observed&&!this.addTag()&&this.itemsList.noItemsToSelect||(this.isOpen.set(!0),this.itemsList.markSelectedOrDefault(this.markFirst()),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen()||this._manualOpen||(this.isOpen.set(!1),this._isComposing=!1,this._editableSearchTerm()?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(ye){!ye||ye.disabled||this.disabled()||(this.deselectOnClickValue()&&ye.selected?this.unselect(ye):this.select(ye),this._editableSearchTerm()&&this._setSearchTermFromItems())}select(ye){ye.selected||(this.itemsList.select(ye),this.clearSearchOnAddValue()&&!this._editableSearchTerm()&&this._clearSearch(),this._updateNgModel(),this.multiple()&&this.addEvent.emit(ye.value)),(this.closeOnSelect()||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput().nativeElement.focus()}blur(){this.searchInput().nativeElement.blur()}unselect(ye){ye&&(this.itemsList.unselect(ye),this.focus(),this._updateNgModel(),this.removeEvent.emit(ye.value),this._onSelectionChanged())}selectTag(){let ye;ye=Et(this.addTag())?this.addTag()(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel()]:this.searchTerm};const lt=Vt=>this.typeahead()?.observed||!this.isOpen()?this.itemsList.mapItem(Vt,null):this.itemsList.addItem(Vt);!function Ee(_t){return _t instanceof Promise}(ye)?ye&&this.select(lt(ye)):ye.then(Vt=>this.select(lt(Vt))).catch(()=>{})}showClear(){return this.clearable()&&(this.hasValue||this.searchTerm)&&!this.disabled()}focusOnClear(){this.blur(),this.clearButton()&&this.clearButton().nativeElement.focus()}showNoItemsFound(){const ye=0===this.itemsList.filteredItems.length;
1return(ye&&!this.typeahead()?.observed&&!this.loading()||ye&&this.typeahead()?.observed&&this._validTerm()&&!this.loading())&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this.typeahead()?.observed&&!this._validTerm()&&!this.loading()}onCompositionStart(){this._isComposing=!0}onCompositionEnd(ye){this._isComposing=!1,!this.searchWhileComposing()&&this.filter(ye)}filter(ye){this._isComposing&&!this.searchWhileComposing()||(this._searchTerm.set(ye),this.typeahead()?.observed&&(this._validTerm()||0===this.minTermLength())&&this.typeahead().next(ye),this.typeahead()?.observed||(this.itemsList.filter(ye),this.isOpen()&&this.itemsList.markSelectedOrDefault(this.markFirst())),this.searchEvent.emit({term:ye,items:this.itemsList.filteredItems.map(lt=>lt.value)}),this.open())}onInputFocus(ye){this._focused||(this._editableSearchTerm()&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(ye),this._focused=!0)}onInputBlur(ye){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(ye),!this.isOpen()&&!this.disabled()&&this._onTouched(),this._editableSearchTerm()&&this._setSearchTermFromItems(),this._focused=!1}onItemHover(ye){ye.disabled||this.itemsList.markItem(ye)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const ye=this.selectedItems?.[0];this._searchTerm.set(ye?.label??null)}_setItems(ye){const lt=ye[0];this.bindLabel.set(this.bindLabel()||this._defaultLabel),this._primitive=le(lt)?!$(lt):this._primitive||this.bindLabel()===this._defaultLabel,this.itemsList.setItems(ye),ye.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen()&&le(this.searchTerm)&&!this.typeahead()?.observed&&this.itemsList.filter(this.searchTerm),(this.typeahead()?.observed||this.isOpen())&&this.itemsList.markSelectedOrDefault(this.markFirst())}_setItemsFromNgOptions(){(0,g.QZP)(()=>{const ye=this.ngOptions();this.bindLabel.set(this._defaultLabel);const lt=ye.map(Vt=>({$ngOptionValue:Vt.value(),$ngOptionLabel:Vt.elementRef.nativeElement.textContent,disabled:Vt.disabled()}))??[];this.items.set(lt),this.itemsList.setItems(lt),this.hasValue&&this.itemsList.mapSelectedItems(),this._cd.detectChanges(),ye.map(Vt=>({option:Vt,item:this.itemsList.findItem(Vt.value())})).filter(({item:Vt})=>le(Vt)).forEach(({option:Vt,item:On})=>{On.disabled=Vt.disabled(),On.label=Vt.label()||On.label})},{injector:this._injector})}_isValidWriteValue(ye){if(!le(ye)||this.multiple()&&""===ye||Array.isArray(ye)&&0===ye.length)return!1;const lt=Vt=>!(!le(this.compareWith())&&$(Vt)&&this.bindValue()&&(this._console.warn(`Setting object(${JSON.stringify(Vt)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple()?Array.isArray(ye)?ye.every(Vt=>lt(Vt)):(this._console.warn("Multiple select ngModel should be array."),!1):lt(ye)}_handleWriteValue(ye){if(!this._isValidWriteValue(ye))return;const lt=Vt=>{let On=this.itemsList.findItem(Vt);if(On)this.itemsList.select(On);else{const Bn=$(Vt),Qn=!Bn&&!this.bindValue();Bn||Qn?this.itemsList.select(this.itemsList.mapItem(Vt,null)):this.bindValue()&&(On={[this.bindLabel()]:null,[this.bindValue()]:Vt},this.itemsList.select(this.itemsList.mapItem(On,null)))}};this.multiple()?ye.forEach(Vt=>lt(Vt)):lt(ye)}_handleKeyPresses(){this.searchable()||this._keyPress$.pipe((0,q.pQ)(this._destroyRef),(0,x.M)(ye=>this._pressedKeys.push(ye)),(0,D.B)(200),(0,w.p)(()=>this._pressedKeys.length>0),(0,O.T)(()=>this._pressedKeys.join(""))).subscribe(ye=>{const lt=this.itemsList.findByLabel(ye);lt&&(this.isOpen()?(this.itemsList.markItem(lt),this._scrollToMarked(),this._cd.markForCheck()):this.select(lt)),this._pressedKeys=[]})}_setInputAttributes(){const ye=this.searchInput().nativeElement,lt={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:"off","aria-controls":this.dropdownId,...this.inputAttrs()};for(const Vt of Object.keys(lt))ye.setAttribute(Vt,lt[Vt])}_setTabFocusOnClear(){this.tabFocusOnClear.set(le(this.tabFocusOnClearButton())?!!this.tabFocusOnClearButton():this.config.tabFocusOnClear)}_updateNgModel(){const ye=[];for(const Vt of this.selectedItems)if(this.bindValue()){let On=null;if(Vt.children){const Bn=this.groupValue()?this.bindValue():this.groupBy();On=Vt.value[Bn||this.groupBy()]}else On=this.itemsList.resolveNested(Vt.value,this.bindValue());ye.push(On)}else ye.push(Vt.value);const lt=this.selectedItems.map(Vt=>Vt.value);this.multiple()?(this._onChange(ye),this.changeEvent.emit(lt)):(this._onChange(le(ye[0])?ye[0]:null),this.changeEvent.emit(lt[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(ye){this._searchTerm.set(ye),this.typeahead()?.observed&&this.typeahead().next(ye)}_scrollToMarked(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollToTag()}_onSelectionChanged(){const ye=this.appendTo()??this.config.appendTo;this.isOpen()&&this.deselectOnClickValue()&&ye&&(this._cd.detectChanges(),this.dropdownPanel().adjustPosition())}_handleTab(ye){if(!1===this.isOpen())if(this.showClear()&&!ye.shiftKey&&this.tabFocusOnClear())this.focusOnClear(),ye.preventDefault();else if(!this.addTag())return;this.selectOnTab()?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),ye.preventDefault()):this.showAddTag?(this.selectTag(),ye.preventDefault()):this.close():this.close()}_handleEnter(ye){const lt=this.openOnEnter()??this.config.openOnEnter;if(this.isOpen()||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!lt)return;this.open()}ye.preventDefault()}_handleSpace(ye){this.isOpen()||this._manualOpen||(this.open(),ye.preventDefault())}_handleArrowDown(ye){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),ye.preventDefault()}_handleArrowUp(ye){this.isOpen()&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),ye.preventDefault())}_nextItemIsTag(ye){const lt=this.itemsList.markedIndex+ye;return this.addTag()&&this.searchTerm&&this.itemsList.markedItem&&(lt<0||lt===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable()||!this.clearOnBackspace()||!this.hasValue||(this.multiple()?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(ye){this.bindValue.set(this.bindValue()||ye.bindValue),this.bindLabel.set(this.bindLabel()||ye.bindLabel),this.appearance.set(this.appearance()||ye.appearance),this._setTabFocusOnClear()}getVirtualScroll(ye){return le(this.virtualScroll)?this.virtualScroll():this.isVirtualScrollDisabled(ye)}isVirtualScrollDisabled(ye){return!!le(ye.disableVirtualScroll)&&!ye.disableVirtualScroll}static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275cmp=f.VBU({type:_t,selectors:[["ng-select"]],contentQueries:function(lt,Vt,On){1&lt&&f.C6U(On,Vt.optionTemplate,an,5,f.C4Q)(On,Vt.optgroupTemplate,Nt,5,f.C4Q)(On,Vt.labelTemplate,at,5,f.C4Q)(On,Vt.multiLabelTemplate,st,5,f.C4Q)(On,Vt.headerTemplate,zt,5,f.C4Q)(On,Vt.footerTemplate,Dn,5,f.C4Q)(On,Vt.notFoundTemplate,hn,5,f.C4Q)(On,Vt.placeholderTemplate,Vn,5,f.C4Q)(On,Vt.typeToSearchTemplate,Pn,5,f.C4Q)(On,Vt.loadingTextTemplate,xn,5,f.C4Q)(On,Vt.tagTemplate,ei,5,f.C4Q)(On,Vt.loadingSpinnerTemplate,ci,5,f.C4Q)(On,Vt.clearButtonTemplate,ri,5,f.C4Q)(On,Vt.ngOptions,Wi,5),2&lt&&f.NyB(14)},viewQuery:function(lt,Vt){1&lt&&f.wEZ(Vt.dropdownPanel,Hi,5)(Vt.searchInput,de,5)(Vt.clearButton,Le,5),2&lt&&f.NyB(3)},hostVars:20,hostBindings:function(lt,Vt){1&lt&&f.bIt("keydown",function(Bn){return Vt.handleKeyDown(Bn)}),2&lt&&f.AVh("ng-select",!0)("ng-select-single",!Vt.multiple())("ng-select-typeahead",Vt.typeahead())("ng-select-multiple",Vt.multiple())("ng-select-taggable",Vt.addTag())("ng-select-searchable",Vt.searchable())("ng-select-clearable",Vt.clearable())("ng-select-opened",Vt.isOpen())("ng-select-filtered",Vt.filtered)("ng-select-disabled",Vt.disabled())},inputs:{ariaLabelDropdown:[1,"ariaLabelDropdown"],ariaLabel:[1,"ariaLabel"],markFirst:[1,"markFirst"],placeholder:[1,"placeholder"],fixedPlaceholder:[1,"f
1ixedPlaceholder"],notFoundText:[1,"notFoundText"],typeToSearchText:[1,"typeToSearchText"],preventToggleOnRightClick:[1,"preventToggleOnRightClick"],addTagText:[1,"addTagText"],loadingText:[1,"loadingText"],clearAllText:[1,"clearAllText"],dropdownPosition:[1,"dropdownPosition"],appendTo:[1,"appendTo"],outsideClickEvent:[1,"outsideClickEvent"],loading:[1,"loading"],closeOnSelect:[1,"closeOnSelect"],hideSelected:[1,"hideSelected"],selectOnTab:[1,"selectOnTab"],openOnEnter:[1,"openOnEnter"],maxSelectedItems:[1,"maxSelectedItems"],groupBy:[1,"groupBy"],groupValue:[1,"groupValue"],bufferAmount:[1,"bufferAmount"],virtualScroll:[1,"virtualScroll"],selectableGroup:[1,"selectableGroup"],tabFocusOnClearButton:[1,"tabFocusOnClearButton"],selectableGroupAsModel:[1,"selectableGroupAsModel"],searchFn:[1,"searchFn"],trackByFn:[1,"trackByFn"],clearOnBackspace:[1,"clearOnBackspace"],labelForId:[1,"labelForId"],inputAttrs:[1,"inputAttrs"],tabIndex:[1,"tabIndex"],readonly:[1,"readonly"],searchWhileComposing:[1,"searchWhileComposing"],minTermLength:[1,"minTermLength"],editableSearchTerm:[1,"editableSearchTerm"],ngClass:[1,"ngClass"],typeahead:[1,"typeahead"],multiple:[1,"multiple"],addTag:[1,"addTag"],searchable:[1,"searchable"],clearable:[1,"clearable"],deselectOnClick:[1,"deselectOnClick"],clearSearchOnAdd:[1,"clearSearchOnAdd"],compareWith:[1,"compareWith"],keyDownFn:[1,"keyDownFn"],bindLabel:[1,"bindLabel"],bindValue:[1,"bindValue"],appearance:[1,"appearance"],isOpen:[1,"isOpen"],items:[1,"items"]},outputs:{bindLabel:"bindLabelChange",bindValue:"bindValueChange",appearance:"appearanceChange",isOpen:"isOpenChange",items:"itemsChange",blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},exportAs:["ngSelect"],features:[f.Jv_([{provide:C.kq,useExisting:(0,g.Rfq)(()=>_t),multi:!0},Ei]),f.OA$],decls:15,vars:20,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],[1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","ng-select-multiple","class","id","ariaLabelDropdown"],["aria-atomic","true","aria-live","polite","role","status",1,"ng-visually-hidden"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"click","title"],["aria-hidden","true",1,"ng-clear"],[1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","id","ariaLabelDropdown"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(lt,Vt){if(1&lt){const On=f.RV6();f.j41(0,"div",10),f.bIt("mousedown",function(Qn){return Vt.handleMousedown(Qn)}),f.j41(1,"div",11),f.nVh(2,Fe,3,1),f.nVh(3,ct,2,0),f.nVh(4,Ze,1,5,null,12),f.j41(5,"div",13)(6,"input",14,0),f.bIt("blur",function(Qn){return Vt.onInputBlur(Qn)})("change",function(Qn){return Qn.stopPropagation()})("compositionend",function(){g.eBV(On);const Qn=f.sdS(7);return g.Njj(Vt.onCompositionEnd(Qn.value))})("compositionstart",function(){return Vt.onCompositionStart()})("focus",function(Qn){return Vt.onInputFocus(Qn)})("input",function(){g.eBV(On);const Qn=f.sdS(7);return g.Njj(Vt.filter(Qn.value))}),f.k0s()()(),f.nVh(8,Xe,3,1),f.nVh(9,Pe,2,1),f.j41(10,"span",15),f.nrm(11,"span",16),f.k0s()(),f.nVh(12,Mt,8,21,"ng-dropdown-panel",17),f.j41(13,"div",18),f.nVh(14,p,1,1),f.k0s()}2&lt&&(f.AVh("ng-appearance-outline","outline"===Vt.appearance())("ng-has-value",Vt.hasValue),f.R7$(2),f.vxM(0===Vt.selectedItems.length&&!Vt.searchTerm||(Vt.fixedPlaceholder()??Vt.config.fixedPlaceholder)?2:-1),f.R7$(),f.vxM(Vt.multiLabelTemplate()&&Vt.multiple()||!(Vt.selectedItems.length>0)?-1:3),f.R7$(),f.vxM(Vt.multiple()&&Vt.multiLabelTemplate()&&Vt.selectedValues.length>0?4:-1),f.R7$(2),f.Y8G("disabled",Vt.disabled())("readOnly",!Vt.searchable()||Vt.itemsList.maxItemsSelected)("value",Vt.
1searchTerm??""),f.BMQ("aria-activedescendant",Vt.isOpen()?null==Vt.itemsList||null==Vt.itemsList.markedItem?null:Vt.itemsList.markedItem.htmlId:null)("aria-controls",Vt.isOpen()?Vt.dropdownId:null)("aria-expanded",Vt.isOpen())("aria-label",Vt.ariaLabel())("id",Vt.labelForId())("tabindex",Vt.tabIndex()),f.R7$(2),f.vxM(Vt.loading()?8:-1),f.R7$(),f.vxM(Vt.showClear()?9:-1),f.R7$(3),f.vxM(Vt.isOpen()?12:-1),f.R7$(2),f.vxM(Vt.isOpen()&&Vt.showNoItemsFound()?14:-1))},dependencies:[N.T3,dn,Hi],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;
1cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}.ng-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;white-space:nowrap}\n'],encapsulation:2,changeDetection:0})}}return _t})(),ln=(()=>{class _t{static{this.\u0275fac=function(lt){return new(lt||_t)}}static{this.\u0275mod=f.$C({type:_t})}static{this.\u0275inj=g.G2t({providers:[{provide:En,useValue:eo}]})}}return _t})()},68018(ot,V,l){"use strict";l.d(V,{D8:()=>Tt,D9:()=>Ve,Mm:()=>Pe,Wr:()=>ee,c$:()=>he,h:()=>yt});var f=l(35547),g=l(85802),h=l(17705),_=l(18530),C=l(74402),o=l(28793),y=l(59030),d=l(27468),M=l(7673),A=l(70274),D=l(96354),w=l(44668),O=l(25558),x=l(96697);class q{}let K=(()=>{class je{handle(me){return me.key}static \u0275fac=function(rt){return new(rt||je)};static \u0275prov=g.jDH({token:je,factory:je.\u0275fac})}return je})();class te{}let H=(()=>{class je extends te{compile(me,rt){return me}compileTranslations(me,rt){return me}static \u0275fac=(()=>{let me;return function(bt){return(me||(me=f.xGo(je)))(bt||je)}})();static \u0275prov=g.jDH({token:je,factory:je.\u0275fac})}return je})();class ee{}let F=(()=>{class je extends ee{getTranslation(me){return(0,M.of)({})}static \u0275fac=(()=>{let me;return function(bt){return(me||(me=f.xGo(je)))(bt||je)}})();static \u0275prov=g.jDH({token:je,factory:je.\u0275fac})}return je})();function J(je,St){if(je===St)return!0;if(null===je||null===St)return!1;if(je!=je&&St!=St)return!0;const me=typeof je;let bt;if(me==typeof St&&"object"==me)if(Array.isArray(je)){if(!Array.isArray(St))return!1;if((bt=je.length)==St.length){for(let we=0;we<bt;we++)if(!J(je[we],St[we]))return!1;return!0}}else{if(Array.isArray(St))return!1;if(Le(je)&&Le(St)){const we=Object.create(null);for(const Mt in je){if(!J(je[Mt],St[Mt]))return!1;we[Mt]=!0}for(const Mt in St)if(!(Mt in we)&&typeof St[Mt]<"u")return!1;return!0}}return!1}function ne(je){return typeof je<"u"&&null!==je}function de(je){return void 0!==je}function Le(je){return ut(je)&&!Oe(je)&&null!==je}function ut(je){return"object"==typeof je&&null!==je}function Oe(je){return Array.isArray(je)}function xe(je){return"string"==typeof je}function Te(je){if(Oe(je))return je.map(St=>Te(St));if(Le(je)){const St={};return Object.keys(je).forEach(me=>{St[me]=Te(je[me])}),St}return je}function Fe(je,St){if(!ut(je))return Te(St);const me=Te(je);return ut(me)&&ut(St)&&Object.keys(St).forEach(rt=>{Le(St[rt])?rt in je?me[rt]=Fe(je[rt],St[rt]):Object.assign(me,{[rt]:St[rt]}):Object.assign(me,{[rt]:St[rt]})}),me}function Ke(je,St){const me=St.split(".");St="";do{St+=me.shift();const rt=!me.length;if(ne(je)){if(Le(je)&&de(je[St])&&(Le(je[St])||Oe(je[St])||rt)){je=je[St],St="";continue}if(Oe(je)){const bt=parseInt(St,10);if(de(je[bt])&&(Le(je[bt])||Oe(je[bt])||rt)){je=je[bt],St="";continue}}}rt?je=void 0:St+="."}while(me.length);return je}class Pt{}let Ze=(()=>{class je extends Pt{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(me,rt){return xe(me)?this.interpolateString(me,rt):function Ce(je){return"function"==typeof je}(me)?this.interpolateFunction(me,rt):void 0}interpolateFunction(me,rt){return me(rt)}interpolateString(me,rt){return rt?me.replace(this.templateMatcher,(bt,we)=>{const Mt=this.getInterpolationReplacement(rt,we);return void 0!==Mt?Mt:bt}):me}getInterpolationReplacement(me,rt){return this.formatValue(Ke(me,rt))}formatValue(me){return xe(me)?me:"number"==typeof me||"boolean"==typeof me?me.toString():null===me?"null":Oe(me)?me.join(", "):ut(me)?"function"==typeof me.toString&&me.toString!==Object.prototype.toString?me.toString():JSON.stringify(me):void 0}static \u0275fac=(()=>{let me;return function(bt){return(me||(me=f.xGo(je)))(bt||je)}})();static \u0275prov=g.jDH({token:je,factory:je.\u0275fac})}return je})(),fe=(()=>{class je{_onTranslationChange=new _.B;_onLangChange=new _.B;_onFallbackLangChange=new _.B;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(me){return this.translations[me]}setTranslations(me,rt,bt){this.translations[me]=bt&&this.hasTranslationFor(me)?Fe(this.translations[me],rt):rt,this.addLanguages([me]),this._onTranslationChange.next({lang:me,translations:this.getTranslations(me)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(me,rt=!0){this.fallbackLang=me,rt&&this._onFallbackLangChange.next({lang:me,translations:this.translations[me]})}setCurrentLang(me,rt=!0){this.currentLang=me,rt&&this._onLangChange.next({lang:me,translations:this.translations[me]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(me){this.languages=Array.from(new Set([...this.languages,...me]))}hasTranslationFor(me){return typeof this.translations[me]<"u"}deleteTranslations(me){delete this.translations[me]}getTranslation(me){let rt=this.getValue(this.currentLang,me);return void 0===rt&&null!=this.fallbackLang&&this.fallbackLang!==this.currentLang&&(rt=this.getValue(this.fallbackLang,me)),rt}getValue(me,rt){return Ke(this.getTranslations(me),rt)}static \u0275fac=function(rt){return new(rt||je)};static \u0275prov=g.jDH({token:je,factory:je.\u0275fac})}return je})();const ie=new g.nKC("TRANSLATE_CONFIG"),Xe=je=>(0,C.A)(je)?je:(0,M.of)(je);let he=(()=>{class je{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=(0,g.WQX)(ee);compiler=(0,g.WQX)(te);parser=(0,g.WQX)(Pt);missingTranslationHandler=(0,g.WQX)(q);store=(0,g.WQX)(fe);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){const me={extend:!1,fallbackLang:null,...(0,g.WQX)(ie,{optional:!0})};me.lang&&this.use(me.lang),me.fallbackLang&&this.setFallbackLang(me.fallbackLang),me.extend&&(this.extend=!0)}setFallbackLang(me){this.getFallbackLang()||this.store.setFallbackLang(me,!1);const rt=this.loadOrExtendLanguage(me);return(0,C.A)(rt)?(rt.pipe((0,x.s)(1)).subscribe({next:()=>{this.store.setFallbackLang(me)},error:()=>{}}),rt):(this.store.setFallbackLang(me),(0,M.of)(this.store.getTranslations(me)))}use(me){this.lastUseLanguage=me,this.getCurrentLang()||this.store.setCurrentLang(me,!1);const rt=this.loadOrExtendLanguage(me);return(0,C.A)(rt)?(rt.pipe((0,x.s)(1)).subscribe({next:()=>{this.changeLang(me)},error:()=>{}}),rt):(this.changeLang(me),(0,M.of)(this.store.getTranslations(me)))}loadOrExtendLanguage(me){if(!this.store.hasTranslationFor(me)||this.extend)return this._translationRequests[me]=this._translationRequests[me]||this.loadAndCompileTranslations(me),this._translationRequests[me]}changeLang(me){me===this.lastUseLanguage&&this.store.setCurrentLang(me)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(me){this.pending=!0;const rt=this.currentLoader.getTranslation(me).pipe((0,w.t)(1),(0,x.s)(1));return this.loadingTranslations=rt.pipe((0,D.T)(bt=>this.compiler.compileTranslations(bt,me)),(0,w.t)(1),(0,x.s)(1)),this.loadingTranslations.subscribe({next:bt=>{this.store.setTranslations(me,bt,this.extend),this.pending=!1},error:bt=>{this.pending=!1}}),rt}setTranslation(me,rt,bt=!1){const we=this.compiler.compileTranslations(rt,me);this.store.setTranslations(me,we,bt||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(me){this.store.addLanguages(me)}getParsedResultForKey(me,rt){const bt=this.getTextToInterpolate(me);if(ne(bt))return this.runInterpolation(bt,rt);const we=this.missingTranslationHandler.handle({key:me,translateService:this,...void 0!==rt&&{interpolateParams:rt}});return void 0!==we?we:me}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(me){return this.store.getTranslation(me)}runInterpolation(me,rt){if(ne(me))return Oe(me)?this.runInterpolationOnArray(me,rt):Le(me)?this.runInterpolationOnDict(me,rt):this.parser.interpolate(me,rt)}runInterpolationOnArray(me,rt){return me.map(bt=>this.runInterpolation(bt,rt))}runInterpolationOnDict(me,rt){const bt={};for(const we in me){const Mt=this.runInterpolation(me[we],rt);void 0!==Mt&&(bt[we]=Mt)}return bt}getParsedResult(me,rt){return me instanceof Array?this.getParsedResultForArray(me,rt):this.getParsedResultForKey(me,rt)}getParsedResultForArray(me,rt){const bt={};let we=!1;for(const p of me)bt[p]=this.getParsedResultForKey(p,rt),we=we||(0,C.A)(bt[p]);if(!we)return bt;const Mt=me.map(p=>Xe(bt[p]));return(0,d.p)(Mt).pipe((0,D.T)(p=>{const Bt={};return p.forEach((it,Lt)=>{Bt[me[Lt]]=it}),Bt}))}get(me,rt){if(!ne(me)||!me.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe((0,A.H)(()=>Xe(this.getParsedResult(me,rt)))):Xe(this.getParsedResult(me,rt))}getStreamOnTranslationChange(me,rt){if(!ne(me)||!me.length)throw new Error('Parameter "key" is required and cannot be empty');return(0,o.x)((0,y.v)(()=>this.get(me,rt)),this.onTranslationChange.pipe((0,O.n)(()=>{const bt=this.getParsedResult(me,rt);return Xe(bt)})))}stream(me,rt){if(!ne(me)||!me.length)throw new Error('Parameter "key" required');return(0,o.x)((0,y.v)(()=>this.get(me,rt)),this.onLangChange.pipe((0,O.n)(()=>{const bt=this.getParsedResult(me,rt);return Xe(bt)})))}instant(me,rt){if(!ne(me)||0===me.length)throw new Error('Parameter "key" is required and cannot be empty');const bt=this.getParsedResult(me,rt);return(0,C.A)(bt)?Array.isArray(me)?me.reduce((we,Mt)=>(we[Mt]=Mt,we),{}):me:bt}set(me,rt,bt=this.getCurrentLang()){this.store.setTranslations(bt,function kt(je,St,me){return Fe(je,function ct(je,St){return je.split(".").reduceRight((me,rt)=>({[rt]:me}),St)}(St,me))}(this.store.getTranslations(bt),me,xe(rt)?this.compiler.compile(rt,bt):this.compiler.compileTranslations(rt,bt)),!1)}reloadLang(me){return this.resetLang(me),this.loadAndCompileTranslations(me)}resetLang(me){delete this._translationRequests[me],this.store.deleteTranslations(me)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;const me=this.getBrowserCultureLang();return me?me.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return je.getBrowserLang()}getBrowserCultureLang(){return je.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(me){return this.setFallbackLang(me)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(rt){return new(rt||je)};static \u0275prov=g.jDH({token:je,factory:je.\u0275fac})}return je})(),Pe=(()=>{class je{translateService=(0,g.WQX)(he);element=(0,g.WQX)(f.aKT);_ref=(0,g.WQX)(h.gRc);key;lastParams;
1currentParams;onLangChangeSub;onFallbackLangChangeSub;onTranslationChangeSub;set translate(me){me&&(this.key=me,this.checkNodes())}set translateParams(me){J(this.currentParams,me)||(this.currentParams=me,this.checkNodes(!0))}constructor(){this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(me=>{me.lang===this.translateService.currentLang&&this.checkNodes(!0,me.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(me=>{this.checkNodes(!0,me.translations)})),this.onFallbackLangChangeSub||(this.onFallbackLangChangeSub=this.translateService.onFallbackLangChange.subscribe(me=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(me=!1,rt){let bt=this.element.nativeElement.childNodes;bt.length||(this.setContent(this.element.nativeElement,this.key),bt=this.element.nativeElement.childNodes),bt.forEach(we=>{const Mt=we;if(3===Mt.nodeType){let p;if(me&&(Mt.lastKey=null),ne(Mt.lookupKey))p=Mt.lookupKey;else if(this.key)p=this.key;else{const Bt=this.getContent(Mt),it=Bt.trim();it.length&&(Mt.lookupKey=it,Bt!==Mt.currentValue?(p=it,Mt.originalContent=Bt||Mt.originalContent):Mt.originalContent&&(p=Mt.originalContent.trim()))}this.updateValue(p,Mt,rt)}})}updateValue(me,rt,bt){if(me){if(rt.lastKey===me&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;const we=Mt=>{(Mt!==me||!rt.lastKey)&&(rt.lastKey=me),rt.originalContent||(rt.originalContent=this.getContent(rt)),rt.currentValue=xe(Mt)?Mt:ne(Mt)?JSON.stringify(Mt):rt.originalContent||me,this.setContent(rt,this.key?rt.currentValue:rt.originalContent.replace(me,rt.currentValue)),this._ref.markForCheck()};if(ne(bt)){const Mt=this.translateService.getParsedResult(me,this.currentParams);(0,C.A)(Mt)?Mt.subscribe({next:we}):we(Mt)}else this.translateService.get(me,this.currentParams).subscribe(we)}}getContent(me){return ne(me.textContent)?me.textContent:me.data}setContent(me,rt){ne(me.textContent)?me.textContent=rt:me.data=rt}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onFallbackLangChangeSub&&this.onFallbackLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}static \u0275fac=function(rt){return new(rt||je)};static \u0275dir=f.FsC({type:je,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}})}return je})(),Ve=(()=>{class je{translate=(0,g.WQX)(he);_ref=(0,g.WQX)(h.gRc);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;
1updateValue(me,rt,bt){const we=Mt=>{this.value=void 0!==Mt?Mt:me,this.lastKey=me,this._ref.markForCheck()};if(bt){const Mt=this.translate.getParsedResult(me,rt);(0,C.A)(Mt)?Mt.subscribe(we):we(Mt)}this.translate.get(me,rt).subscribe(we)}transform(me,...rt){if(!me||!me.length)return me;if(J(me,this.lastKey)&&J(rt,this.lastParams))return this.value;let bt;if(ne(rt[0])&&rt.length)if(xe(rt[0])&&rt[0].length){const we=rt[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{bt=JSON.parse(we)}catch(Mt){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${rt[0]}`)}}else Le(rt[0])&&(bt=rt[0]);return this.lastKey=me,this.lastParams=rt,this.updateValue(me,bt),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(we=>{(this.lastKey&&we.lang===this.translate.getCurrentLang()||we.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(me,bt,we.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(we=>{this.lastKey&&(this.lastKey=null,this.updateValue(me,bt,we.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(me,bt))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(rt){return new(rt||je)};static \u0275pipe=f.EJ8({name:"translate",type:je,pure:!1});static \u0275prov=g.jDH({token:je,factory:je.\u0275fac})}return je})();function dt(je){return{provide:ee,useClass:je}}function Dt(je){return{provide:te,useClass:je}}function wt(je){return{provide:Pt,useClass:je}}function Yt(je){return{provide:q,useClass:je}}function Tt(je={}){return We({compiler:Dt(H),parser:wt(Ze),loader:dt(F),missingTranslationHandler:Yt(K),...je},!0)}function We(je={},St){const me=[];return je.loader&&me.push(je.loader),je.compiler&&me.push(je.compiler),je.parser&&me.push(je.parser),je.missingTranslationHandler&&me.push(je.missingTranslationHandler),St&&me.push(fe),(je.useDefaultLang||je.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),!0===je.useDefaultLang&&je.defaultLanguage&&(je.fallbackLang=je.defaultLanguage)),me.push({provide:ie,useValue:{fallbackLang:je.fallbackLang??null,lang:je.lang,extend:je.extend??!1}}),me.push({provide:he,useClass:he,deps:[fe,ee,te,Pt,q,ie]}),me}let yt=(()=>{class je{static forRoot(me={}){return{ngModule:je,providers:[...We({compiler:Dt(H),parser:wt(Ze),loader:dt(F),missingTranslationHandler:Yt(K),...me},!0)]}}static forChild(me={}){return{ngModule:je,providers:[...We(me,me.isolate??!1)]}}static \u0275fac=function(rt){return new(rt||je)};static \u0275mod=f.$C({type:je});static \u0275inj=g.G2t({})}return je})()},62460(ot,V,l){"use strict";function g(v){return v<0?Math.ceil(v)||0:Math.floor(v)}function h(v){return"string"==typeof v}function _(v){return v instanceof Date||"[object Date]"===Object.prototype.toString.call(v)}function o(v){return v&&v.getTime&&!isNaN(v.getTime())}function y(v){return v instanceof Function||"[object Function]"===Object.prototype.toString.call(v)}function d(v){return"number"==typeof v||"[object Number]"===Object.prototype.toString.call(v)}function M(v){return v instanceof Array||"[object Array]"===Object.prototype.toString.call(v)}function A(v,L){return Object.prototype.hasOwnProperty.call(v,L)}function D(v){return null!=v&&"[object Object]"===Object.prototype.toString.call(v)}function O(v){return void 0===v}function x(v){const L=+v;let X=0;return 0!==L&&isFinite(L)&&(X=g(L)),X}l.d(V,{$P:()=>_,Bl:()=>Dt,Cl:()=>pa,F_:()=>Ne,Ft:()=>ws,GH:()=>Qn,JH:()=>xa,JK:()=>Xi,K6:()=>yt,Py:()=>Pe,Pz:()=>o,Rj:()=>lr,Y8:()=>Lo,Yq:()=>Ns,Z5:()=>ya,_K:()=>ce,_U:()=>As,b9:()=>Ja,cy:()=>M,dS:()=>ys,e6:()=>U,hW:()=>ds,je:()=>ur,kE:()=>Yi,mO:()=>Po,mW:()=>Tt,n6:()=>eo,pJ:()=>Ni,qK:()=>$r,ro:()=>me,s0:()=>St,sI:()=>Kl,tF:()=>je,tj:()=>dt,tu:()=>ta,xu:()=>W});const N={},q={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function K(v,L){const X=v.toLowerCase();let De=v;X in q&&(De=q[X]),N[X]=N[`${X}s`]=N[L]=De}function te(v){return h(v)?N[v]||N[v.toLowerCase()]:void 0}function Ce(v,L,X){const De=`${Math.abs(v)}`;return(v>=0?X?"+":"":"-")+Math.pow(10,Math.max(0,L-De.length)).toString().substr(1)+De}const Te={},Fe={},Ke=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
1|x|X|zz?|ZZ?|.)/g;function Qe(v,L,X,De){v&&(Fe[v]=De),L&&(Fe[L[0]]=function(){return Ce(De.apply(null,arguments),L[1],L[2])}),X&&(Fe[X]=function($e,Jt){return Jt.locale.ordinal(De.apply(null,arguments),v)})}function ct(v){return v.match(/\[[\s\S]/)?v.replace(/^\[|\]$/g,""):v.replace(/\\/g,"")}function Pt(v,L,X){const De=new Date(Date.UTC.apply(null,arguments));return v<100&&v>=0&&isFinite(De.getUTCFullYear())&&De.setUTCFullYear(v),De}function Ze(v,L=0,X=1,De=0,$e=0,Jt=0,gn=0){const Fn=new Date(v,L,X,De,$e,Jt,gn);return v<100&&v>=0&&isFinite(Fn.getFullYear())&&Fn.setFullYear(v),Fn}function fe(v,L=!1){return L?v.getUTCHours():v.getHours()}function ie(v,L=!1){return L?v.getUTCMinutes():v.getMinutes()}function Xe(v,L=!1){return L?v.getUTCSeconds():v.getSeconds()}function ve(v,L=!1){return L?v.getUTCMilliseconds():v.getMilliseconds()}function Pe(v,L=!1){return L?v.getUTCDay():v.getDay()}function Ve(v,L=!1){return L?v.getUTCDate():v.getDate()}function dt(v,L=!1){return L?v.getUTCMonth():v.getMonth()}function Dt(v,L=!1){return L?v.getUTCFullYear():v.getFullYear()}function Tt(v){return Ze(v.getFullYear(),v.getMonth(),1,v.getHours(),v.getMinutes(),v.getSeconds())}function yt(v,L){return v.getDay()===Number(L)}function je(v,L){return!(!v||!L)&&St(v,L)&&dt(v)===dt(L)}function St(v,L){return!(!v||!L)&&Dt(v)===Dt(L)}function me(v,L){return!(!v||!L)&&St(v,L)&&je(v,L)&&Ve(v)===Ve(L)}const rt=/\d/,bt=/\d\d/,we=/\d{3}/,Mt=/\d{4}/,p=/[+-]?\d{6}/,Bt=/\d\d?/,it=/\d\d\d\d?/,Lt=/\d\d\d\d\d\d?/,Me=/\d{1,3}/,le=/\d{1,4}/,$=/[+-]?\d{1,6}/,Ee=/\d+/,Et=/[+-]?\d+/,an=/Z|[+-]\d\d(?::?\d\d)?/gi,Nt=/[+-]?\d+(\.\d{1,3})?/,at=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,st={};function zt(v,L,X){st[v]=y(L)?L:function(De,$e){return De&&X?X:L}}function Dn(v,L){return A(st,v)?st[v](!1,L):new RegExp(function hn(v){return Vn(v.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(L,X,De,$e,Jt)=>X||De||$e||Jt))}(v))}function Vn(v){return v.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}const Pn={};function xn(v,L){const X=h(v)?[v]:v;let De=L;if(d(L)&&(De=function($e,Jt,gn){return Jt[L]=x($e),gn}),M(X)&&y(De)){let $e;for($e=0;$e<X.length;$e++)Pn[X[$e]]=De}}function ei(v,L){xn(v,function(X,De,$e,Jt){return $e._w=$e._w||{},L(X,$e._w,$e,Jt)})}function ci(v,L,X){return null!=L&&A(Pn,v)&&Pn[v](L,X._a,X,v),X}const ri={};function fi(v,L){ri[v]=L}function Cn(v){return null==v._pf&&(v._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),v._pf}function ti(v,L){return L.locale.getFullYear?L.locale.getFullYear(v,L.isUTC).toString():Dt(v,L.isUTC).toString()}function Ei(v){return x(v)+(x(v)>68?1900:2e3)}function An(v){return Ki(v)?366:365}function Ki(v){return v%4==0&&v%100!=0||v%400==0}function Hi(v,L){if(isNaN(v)||isNaN(L))return NaN;const X=function f(v,L){return(v%L+L)%L}(L,12);return 1===X?Ki(v+(L-X)/12)?29:28:31-X%7%2}const qi={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function eo(v,L){const X=Object.assign({},qi,L),De=v.getFullYear()+(X.year||0),$e=v.getMonth()+(X.month||0);let Jt=v.getDate()+(X.day||0);return X.month&&!X.day&&(Jt=Math.min(Jt,Hi(De,$e))),Ze(De,$e,Jt,v.getHours()+(X.hour||0),v.getMinutes()+(X.minute||0),v.getSeconds()+(X.seconds||0))}function Yi(v,L){return Ze(En(v.getFullYear(),L.year),En(v.getMonth(),L.month),1,En(v.getHours(),L.hour),En(v.getMinutes(),L.minute),En(v.getSeconds(),L.seconds),En(v.getMilliseconds(),L.milliseconds))}function En(v,L){return d(L)?L:v}function ln(v,L,X){const De=Math.min(Ve(v),Hi(Dt(v),L));return X?v.setUTCMonth(L,De):v.setMonth(L,De),v}function Vt(v,L,X){return X?v.setUTCDate(L):v.setDate(L),v}function Bn(v){return new Date(v.getTime())}function Qn(v,L,X){const De=Bn(v);switch(L){case"year":ln(De,0,X);case"quarter":case"month":Vt(De,1,X);case"week":case"isoWeek":case"day":case"date":!function _t(v,L,X){X?v.setUTCHours(L):v.setHours(L)}(De,0,X);case"hours":!function Wt(v,L,X){X?v.setUTCMinutes(L):v.setMinutes(L)}(De,0,X);case"minutes":!function ye(v,L,X){X?v.setUTCSeconds(L):v.setSeconds(L)}(De,0,X);case"seconds":!function lt(v,L,X){X?v.setUTCMilliseconds(L):v.setMilliseconds(L)}(De,0,X)}return"week"===L&&function Bs(v,L,X={}){io(v,L-Cs(v,X.locale,X.isUTC),"day")}(De,0,{isUTC:X}),"isoWeek"===L&&function R(v,L,X={}){const De=function kr(v,L=Xi()){return h(v)?L.weekdaysParse(v)%7||7:d(v)&&isNaN(v)?null:v}(L,X.locale);Ts(v,Eo(v)%7?De:De-7)}(De,1),"quarter"===L&&ln(De,3*Math.floor(dt(De,X)/3),X),De}function Ni(v,L,X){let De=L;return"date"===De&&(De="day"),function _r(v,L,X,De){return vs(v,Fs(L,X),-1,De)}(io(Qn(v,De,X),1,"isoWeek"===De?"week":De,X),1,"milliseconds",X)}function At(v,L){const X=+Qn(v,"day",L),De=+Qn(v,"year",L);return Math.round((X-De)/864e5)+1}function nn(v,L,X){const De=L-X+7;return-(Pt(v,0,De).getUTCDay()-L+7)%7+De-1}function Sn(v,L,X,De){const $e=nn(Dt(v,De),L,X),Jt=Math.floor((At(v,De)-$e-1)/7)+1;let gn,Fn;return Jt<1?(Fn=Dt(v,De)-1,gn=Jt+kn(Fn,L,X)):Jt>kn(Dt(v,De),L,X)?(gn=Jt-kn(Dt(v,De),L,X),Fn=Dt(v,De)+1):(Fn=Dt(v,De),gn=Jt),{week:gn,year:Fn}}function kn(v,L,X){const De=nn(v,L,X),$e=nn(v+1,L,X);return(An(v)-De+$e)/7}const Xn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,bi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Fi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ut="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Hn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Kn={LT
1S:"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"},oi=at,mi=at;class wi{constructor(L){L&&this.set(L)}set(L){let X;for(X in L){if(!L.hasOwnProperty(X))continue;const De=L[X];this[y(De)?X:`_${X}`]=De}this._config=L}calendar(L,X,De){const $e=this._calendar[L]||this._calendar.sameElse;return y($e)?$e.call(null,X,De):$e}longDateFormat(L){const X=this._longDateFormat[L],De=this._longDateFormat[L.toUpperCase()];return X||!De?X:(this._longDateFormat[L]=De.replace(/MMMM|MM|DD|dddd/g,function($e){return $e.slice(1)}),this._longDateFormat[L])}get invalidDate(){return this._invalidDate}set invalidDate(L){this._invalidDate=L}ordinal(L,X){return this._ordinal.replace("%d",L.toString(10))}preparse(L,X){return L}getFullYear(L,X=!1){return Dt(L,X)}postformat(L){return L}relativeTime(L,X,De,$e){const Jt=this._relativeTime[De];return y(Jt)?Jt(L,X,De,$e):Jt.replace(/%d/i,L.toString(10))}pastFuture(L,X){const De=this._relativeTime[L>0?"future":"past"];return y(De)?De(X):De.replace(/%s/i,X)}months(L,X,De=!1){if(!L)return M(this._months)?this._months:this._months.standalone;if(M(this._months))return this._months[dt(L,De)];const $e=(this._months.isFormat||Xn).test(X)?"format":"standalone";return this._months[$e][dt(L,De)]}monthsShort(L,X,De=!1){if(!L)return M(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(M(this._monthsShort))return this._monthsShort[dt(L,De)];const $e=Xn.test(X)?"format":"standalone";return this._monthsShort[$e][dt(L,De)]}monthsParse(L,X,De){let $e,Jt,gn;if(this._monthsParseExact)return this.handleMonthStrictParse(L,X,De);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),gn=0;gn<12;gn++){if($e=new Date(Date.UTC(2e3,gn)),De&&!this._longMonthsParse[gn]){const Fn=this.months($e,"",!0).replace(".",""),Ci=this.monthsShort($e,"",!0).replace(".","");this._longMonthsParse[gn]=new RegExp(`^${Fn}$`,"i"),this._shortMonthsParse[gn]=new RegExp(`^${Ci}$`,"i")}
1if(!De&&!this._monthsParse[gn]&&(Jt=`^${this.months($e,"",!0)}|^${this.monthsShort($e,"",!0)}`,this._monthsParse[gn]=new RegExp(Jt.replace(".",""),"i")),De&&"MMMM"===X&&this._longMonthsParse[gn].test(L)||De&&"MMM"===X&&this._shortMonthsParse[gn].test(L)||!De&&this._monthsParse[gn].test(L))return gn}}monthsRegex(L){return this._monthsParseExact?(A(this,"_monthsRegex")||this.computeMonthsParse(),L?this._monthsStrictRegex:this._monthsRegex):(A(this,"_monthsRegex")||(this._monthsRegex=mi),this._monthsStrictRegex&&L?this._monthsStrictRegex:this._monthsRegex)}monthsShortRegex(L){return this._monthsParseExact?(A(this,"_monthsRegex")||this.computeMonthsParse(),L?this._monthsShortStrictRegex:this._monthsShortRegex):(A(this,"_monthsShortRegex")||(this._monthsShortRegex=oi),this._monthsShortStrictRegex&&L?this._monthsShortStrictRegex:this._monthsShortRegex)}week(L,X){return Sn(L,this._week.dow,this._week.doy,X).week}firstDayOfWeek(){return this._week.dow}firstDayOfYear(){return this._week.doy}weekdays(L,X,De){if(!L)return M(this._weekdays)?this._weekdays:this._weekdays.standalone;if(M(this._weekdays))return this._weekdays[Pe(L,De)];const $e=this._weekdays.isFormat.test(X)?"format":"standalone";return this._weekdays[$e][Pe(L,De)]}weekdaysMin(L,X,De){return L?this._weekdaysMin[Pe(L,De)]:this._weekdaysMin}weekdaysShort(L,X,De){return L?this._weekdaysShort[Pe(L,De)]:this._weekdaysShort}weekdaysParse(L,X,De){let $e,Jt;if(this._weekdaysParseExact)return this.handleWeekStrictParse(L,X,De);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),$e=0;$e<7;$e++){const gn=Ts(new Date(Date.UTC(2e3,1)),$e,null,!0);if(De&&!this._fullWeekdaysParse[$e]&&(this._fullWeekdaysParse[$e]=new RegExp(`^${this.weekdays(gn,"",!0).replace(".",".?")}$`,"i"),this._shortWeekdaysParse[$e]=new RegExp(`^${this.weekdaysShort(gn,"",!0).replace(".",".?")}$`,"i"),this._minWeekdaysParse[$e]=new RegExp(`^${this.weekdaysMin(gn,"",!0).replace(".",".?")}$`,"i")),this._weekdaysParse[$e]||(Jt=`^${this.weekdays(gn,"",!0)}|^${this.weekdaysShort(gn,"",!0)}|^${this.weekdaysMin(gn,"",!0)}`,this._weekdaysParse[$e]=new RegExp(Jt.replace(".",""),"i")),!(M(this._fullWeekdaysParse)&&M(this._shortWeekdaysParse)&&M(this._minWeekdaysParse)&&M(this._weekdaysParse)))return;if(De&&"dddd"===X&&this._fullWeekdaysParse[$e].test(L))return $e;if(De&&"ddd"===X&&this._shortWeekdaysParse[$e].test(L))return $e;if(De&&"dd"===X&&this._minWeekdaysParse[$e].test(L))return $e;if(!De&&this._weekdaysParse[$e].test(L))return $e}}weekdaysRegex(L){return this._weekdaysParseExact?(A(this,"_weekdaysRegex")||this.computeWeekdaysParse(),L?this._weekdaysStrictRegex:this._weekdaysRegex):(A(this,"_weekdaysRegex")||(this._weekdaysRegex=at),this._weekdaysStrictRegex&&L?this._weekdaysStrictRegex:this._weekdaysRegex)}weekdaysShortRegex(L){return this._weekdaysParseExact?(A(this,"_weekdaysRegex")||this.computeWeekdaysParse(),L?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(A(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=at),this._weekdaysShortStrictRegex&&L?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}weekdaysMinRegex(L){return this._weekdaysParseExact?(A(this,"_weekdaysRegex")||this.computeWeekdaysParse(),L?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(A(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=at),this._weekdaysMinStrictRegex&&L?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}isPM(L){return"p"===L.toLowerCase().charAt(0)}meridiem(L,X,De){return L>11?De?"pm":"PM":De?"am":"AM"}formatLongDate(L){this._longDateFormat=this._longDateFormat?this._longDateFormat:Kn;const X=this._longDateFormat[L],De=this._longDateFormat[L.toUpperCase()];return X||!De?X:(this._longDateFormat[L]=De.replace(/MMMM|MM|DD|dddd/g,$e=>$e.slice(1)),this._longDateFormat[L])}handleMonthStrictParse(L,X,De){const $e=L.toLocaleLowerCase();let Jt,gn,Fn;if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],Jt=0;Jt<12;++Jt)Fn=new Date(2e3,Jt),this._shortMonthsParse[Jt]=this.monthsShort(Fn,"").toLocaleLowerCase(),this._longMonthsParse[Jt]=this.months(Fn,"").toLocaleLowerCase();return De?"MMM"===X?(gn=this._shortMonthsParse.indexOf($e),-1!==gn?gn:null):(gn=this._longMonthsParse.indexOf($e),-1!==gn?gn:null):"MMM"===X?(gn=this._shortMonthsParse.indexOf($e),-1!==gn?gn:(gn=this._longMonthsParse.indexOf($e),-1!==gn?gn:null)):(gn=this._longMonthsParse.indexOf($e),-1!==gn?gn:(gn=this._shortMonthsParse.indexOf($e),-1!==gn?gn:null))}handleWeekStrictParse(L,X,De){let $e;const Jt=L.toLocaleLowerCase();if(!this._weekdaysParse){let gn;for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],gn=0;gn<7;++gn){const Fn=Ts(new Date(Date.UTC(2e3,1)),gn,null,!0);
1this._minWeekdaysParse[gn]=this.weekdaysMin(Fn).toLocaleLowerCase(),this._shortWeekdaysParse[gn]=this.weekdaysShort(Fn).toLocaleLowerCase(),this._weekdaysParse[gn]=this.weekdays(Fn,"").toLocaleLowerCase()}}if(M(this._weekdaysParse)&&M(this._shortWeekdaysParse)&&M(this._minWeekdaysParse))return De?"dddd"===X?($e=this._weekdaysParse.indexOf(Jt),-1!==$e?$e:null):"ddd"===X?($e=this._shortWeekdaysParse.indexOf(Jt),-1!==$e?$e:null):($e=this._minWeekdaysParse.indexOf(Jt),-1!==$e?$e:null):"dddd"===X?($e=this._weekdaysParse.indexOf(Jt),-1!==$e||($e=this._shortWeekdaysParse.indexOf(Jt),-1!==$e)?$e:($e=this._minWeekdaysParse.indexOf(Jt),-1!==$e?$e:null)):"ddd"===X?($e=this._shortWeekdaysParse.indexOf(Jt),-1!==$e||($e=this._weekdaysParse.indexOf(Jt),-1!==$e)?$e:($e=this._minWeekdaysParse.indexOf(Jt),-1!==$e?$e:null)):($e=this._minWeekdaysParse.indexOf(Jt),-1!==$e||($e=this._weekdaysParse.indexOf(Jt),-1!==$e)?$e:($e=this._shortWeekdaysParse.indexOf(Jt),-1!==$e?$e:null))}computeMonthsParse(){const L=[],X=[],De=[];let $e,Jt;for(Jt=0;Jt<12;Jt++)$e=new Date(2e3,Jt),L.push(this.monthsShort($e,"")),X.push(this.months($e,"")),De.push(this.months($e,"")),De.push(this.monthsShort($e,""));for(L.sort(_i),X.sort(_i),De.sort(_i),Jt=0;Jt<12;Jt++)L[Jt]=Vn(L[Jt]),X[Jt]=Vn(X[Jt]);for(Jt=0;Jt<24;Jt++)De[Jt]=Vn(De[Jt]);this._monthsRegex=new RegExp(`^(${De.join("|")})`,"i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(`^(${X.join("|")})`,"i"),this._monthsShortStrictRegex=new RegExp(`^(${L.join("|")})`,"i")}computeWeekdaysParse(){const L=[],X=[],De=[],$e=[];let Jt;for(Jt=0;Jt<7;Jt++){const gn=Ts(new Date(Date.UTC(2e3,1)),Jt,null,!0),Fn=this.weekdaysMin(gn),Ci=this.weekdaysShort(gn),rs=this.weekdays(gn);L.push(Fn),X.push(Ci),De.push(rs),$e.push(Fn),$e.push(Ci),$e.push(rs)}for(L.sort(_i),X.sort(_i),De.sort(_i),$e.sort(_i),Jt=0;Jt<7;Jt++)X[Jt]=Vn(X[Jt]),De[Jt]=Vn(De[Jt]),$e[Jt]=Vn($e[Jt]);this._weekdaysRegex=new RegExp(`^(${$e.join("|")})`,"i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(`^(${De.join("|")})`,"i"),this._weekdaysShortStrictRegex=new RegExp(`^(${X.join("|")})`,"i"),this._weekdaysMinStrictRegex=new RegExp(`^(${L.join("|")})`,"i")}}function _i(v,L){return L.length-v.length}const Qt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:Kn,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},months:bi,monthsShort:Fi,week:{dow:0,doy:6},weekdays:Ut,weekdaysMin:Hn,weekdaysShort:vn,meridiemParse:/[ap]\.?m?\.?/i};function cn(v,L,X){const De=Math.min(v.length,L.length),$e=Math.abs(v.length-L.length);let gn,Jt=0;for(gn=0;gn<De;gn++)(X&&v[gn]!==L[gn]||!X&&x(v[gn])!==x(L[gn]))&&Jt++;return Jt+$e}function Zn(v,L=Xi(),X){return L.week(v,X)}function zi(v,L){Qe(null,[v,v.length,!1],null,L)}function go(v,L){return Do(v,L.locale).toString()}function To(v){return Ot(v).toString()}function Do(v,L=Xi(),X){return Sn(v,L.firstDayOfWeek(),L.firstDayOfYear(),X).year}function Ot(v,L){return Sn(v,1,4,L).year}function ii(v,L){Qe(v,null,null,function(X,De){let $e=function ro(v,L={}){return L._isUTC?L._offset||0:function $i(v){return 15*-Math.round(v.getTimezoneOffset()/15)}(v)}(X,{_isUTC:De.isUTC,_offset:De.offset}),Jt="+";return $e<0&&($e=-$e,Jt="-"),Jt+Ce(~~($e/60),2)+L+Ce(~~$e%60,2)})}const Mi=/([\+\-]|\d\d)/gi;const Mo={},is={};let ls;function Yo(v){return v&&v.toLowerCase().replace("_","-")}function es(v){return Mo[v]||console.error(`Khronos locale error: please load locale "${v}" before using it`),Mo[v]}function bo(v,L){let X;return v&&(O(L)?X=Xi(v):h(v)&&(X=Po(v,L)),X&&(ls=X)),ls&&ls._abbr}function Po(v,L){if(null===L)return delete Mo[v],ls=Xi("en"),null;if(!L)return;let X=Qt;if(L.abbr=v,null!=L.parentLocale){if(null==Mo[L.parentLocale])return is[L.parentLocale]||(is[L.parentLocale]=[]),is[L.parentLocale].push({name:v,config:L}),null;X=Mo[L.parentLocale]._config}return Mo[v]=new wi(function ho(v,L){const X=Object.assign({},v);for(const De in L)A(L,De)&&(D(v[De])&&D(L[De])?(X[De]={},Object.assign(X[De],v[De]),Object.assign(X[De],L[De])):null!=L[De]?X[De]=L[De]:delete X[De]);for(const De in v)A(v,De)&&!A(L,De)&&D(v[De])&&(X[De]=Object.assign({}
1,X[De]));return X}(X,L)),is[v]&&is[v].forEach(function(De){Po(De.name,De.config)}),bo(v),Mo[v]}function Xi(v){return function Ao(){Mo.en||(bo("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal(v){const L=v%10;return v+(1===x(v%100/10)?"th":1===L?"st":2===L?"nd":3===L?"rd":"th")}}),function yn(){Qe("w",["ww",2,!1],"wo",function(v,L){return Zn(v,L.locale).toString(10)}),Qe("W",["WW",2,!1],"Wo",function(v){return function Zi(v,L){return Sn(v,1,4,L).week}(v).toString(10)}),K("week","w"),K("isoWeek","W"),fi("week",5),fi("isoWeek",5),zt("w",Bt),zt("ww",Bt,bt),zt("W",Bt),zt("WW",Bt,bt),ei(["w","ww","W","WW"],function(v,L,X,De){return L[De.substr(0,1)]=x(v),X})}(),function fo(){Qe(null,["gg",2,!1],null,function(v,L){return(Do(v,L.locale)%100).toString()}),Qe(null,["GG",2,!1],null,function(v){return(Ot(v)%100).toString()}),zi("gggg",go),zi("ggggg",go),zi("GGGG",To),zi("GGGGG",To),K("weekYear","gg"),K("isoWeekYear","GG"),fi("weekYear",1),fi("isoWeekYear",1),zt("G",Et),zt("g",Et),zt("GG",Bt,bt),zt("gg",Bt,bt),zt("GGGG",le,Mt),zt("gggg",le,Mt),zt("GGGGG",$,p),zt("ggggg",$,p),ei(["gggg","ggggg","GGGG","GGGGG"],function(v,L,X,De){return L[De.substr(0,2)]=x(v),X}),ei(["gg","GG"],function(v,L,X,De){return L[De]=Ei(v),X})}(),function si(){Qe("Y",null,null,function(v,L){const X=Dt(v,L.isUTC);return X<=9999?X.toString(10):`+${X}`}),Qe(null,["YY",2,!1],null,function(v,L){return(Dt(v,L.isUTC)%100).toString(10)}),Qe(null,["YYYY",4,!1],null,ti),Qe(null,["YYYYY",5,!1],null,ti),Qe(null,["YYYYYY",6,!0],null,ti),K("year","y"),fi("year",1),zt("Y",Et),zt("YY",Bt,bt),zt("YYYY",le,Mt),zt("YYYYY",$,p),zt("YYYYYY",$,p),xn(["YYYYY","YYYYYY"],0),xn("YYYY",function(v,L,X){return L[0]=2===v.length?Ei(v):x(v),X}),xn("YY",function(v,L,X){return L[0]=Ei(v),X}),xn("Y",function(v,L,X){return L[0]=parseInt(v,10),X})}(),function Ge(){Qe("z",null,null,function(v,L){return L.isUTC?"UTC":""}),Qe("zz",null,null,function(v,L){return L.isUTC?"Coordinated Universal Time":""})}(),function un(){Qe("X",null,null,function(v){return function Yt(v){return Math.floor(v.valueOf()/1e3)}(v).toString(10)}),Qe("x",null,null,function(v){return v.valueOf().toString(10)}),zt("x",Et),zt("X",Nt),xn("X",function(v,L,X){return X._d=new Date(1e3*parseFloat(v)),X}),xn("x",function(v,L,X){return X._d=new Date(x(v)),X})}(),function gt(){Qe("s",["ss",2,!1],null,function(v,L){return Xe(v,L.isUTC).toString(10)}),K("second","s"),fi("second",15),zt("s",Bt),zt("ss",Bt,bt),xn(["s","ss"],5)}(),function mn(){Qe("Q",null,"Qo",function(v,L){return function Rn(v,L=!1){return Math.ceil((dt(v,L)+1)/3)}(v,L.isUTC).toString(10)}),K("quarter","Q"),fi("quarter",7),zt("Q",rt),xn("Q",function(v,L,X){return L[1]=3*(x(v)-1),X})}(),function ki(){ii("Z",":"),ii("ZZ",""),zt("Z",an),zt("ZZ",an),xn(["Z","ZZ"],function(v,L,X){return X._useUTC=!0,X._tzm=function vi(v,L){const X=(L||"").match(v);if(null===X)return null;const $e=X[X.length-1].match(Mi)||["-","0","0"],Jt=60*parseInt($e[1],10)+x($e[2]);return 0===Jt?0:"+"===$e[0]?Jt:-Jt}(an,v),X})}(),function Wi(){Qe("M",["MM",2,!1],"Mo",function(v,L){return(dt(v,L.isUTC)+1).toString(10)}),Qe("MMM",null,null,function(v,L){return L.locale.monthsShort(v,L.format,L.isUTC)}),Qe("MMMM",null,null,function(v,L){return L.locale.months(v,L.format,L.isUTC)}),K("month","M"),fi("month",8),zt("M",Bt),zt("MM",Bt,bt),zt("MMM",function(v,L){return L.monthsShortRegex(v)}),zt("MMMM",function(v,L){return L.monthsRegex(v)}),xn(["M","MM"],function(v,L,X){return L[1]=x(v)-1,X}),xn(["MMM","MMMM"],function(v,L,X,De){const $e=X._locale.monthsParse(v,De,X._strict);return null!=$e?L[1]=$e:Cn(X).invalidMonth=!!v,X})}(),function No(){Qe("m",["mm",2,!1],null,function(v,L){return ie(v,L.isUTC).toString(10)}),K("minute","m"),fi("minute",14),zt("m",Bt),zt("mm",Bt,bt),xn(["m","mm"],4)}(),function uo(){let v;for(Qe("S",null,null,function(X,De){return(~~(ve(X,De.isUTC)/100)).toString(10)}),Qe(null,["SS",2,!1],null,function(X,De){return(~~(ve(X,De.isUTC)/10)).toString(10)}),Qe(null,["SSS",3,!1],null,function(X,De){return ve(X,De.isUTC).toString(10)}),Qe(null,["SSSS",4,!1],null,function(X,De){return(10*ve(X,De.isUTC)).toString(10)}),Qe(null,["SSSSS",5,!1],null,function(X,De){return(100*ve(X,De.isUTC)).toString(10)}),Qe(null,["SSSSSS",6,!1],null,function(X,De){return(1e3*ve(X,De.isUTC)).toString(10)}),Qe(null,["SSSSSSS",7,!1],null,function(X,De){return(1e4*ve(X,De.isUTC)).toString(10)}),Qe(null,["SSSSSSSS",8,!1],null,function(X,De){return(1e5*ve(X,De.isUTC)).toString(10)}),Qe(null,["SSSSSSSSS",9,!1],null,function(X,De){return(1e6*ve(X,De.isUTC)).toString(10)}),K("millisecond","ms"),fi("millisecond",16),zt("S",Me,rt),zt("SS",Me,bt),zt("SSS",Me,we),v="SSSS";v.length<=9;v+="S")zt(v,Ee);function L(X,De,$e){return De[6]=x(1e3*parseFloat(`0.${X}`)),$e}for(v="S";v.length<=9;v+="S")xn(v,L)}(),function Xo(){function v($e,Jt){return fe($e,Jt)%12||12}function X($e,Jt){Qe($e,null,null,function(gn,Fn){return Fn.locale.meridiem(fe(gn,Fn.isUTC),ie(gn,Fn.isUTC),Jt)})}function De($e,Jt){return Jt._meridiemParse}
1Qe("H",["HH",2,!1],null,function($e,Jt){return fe($e,Jt.isUTC).toString(10)}),Qe("h",["hh",2,!1],null,function($e,Jt){return v($e,Jt.isUTC).toString(10)}),Qe("k",["kk",2,!1],null,function($e,Jt){return function L($e,Jt){return fe($e,Jt)||24}($e,Jt.isUTC).toString(10)}),Qe("hmm",null,null,function($e,Jt){return`${v($e,Jt.isUTC)}${Ce(ie($e,Jt.isUTC),2)}`}),Qe("hmmss",null,null,function($e,Jt){return`${v($e,Jt.isUTC)}${Ce(ie($e,Jt.isUTC),2)}${Ce(Xe($e,Jt.isUTC),2)}`}),Qe("Hmm",null,null,function($e,Jt){return`${fe($e,Jt.isUTC)}${Ce(ie($e,Jt.isUTC),2)}`}),Qe("Hmmss",null,null,function($e,Jt){return`${fe($e,Jt.isUTC)}${Ce(ie($e,Jt.isUTC),2)}${Ce(Xe($e,Jt.isUTC),2)}`}),X("a",!0),X("A",!1),K("hour","h"),fi("hour",13),zt("a",De),zt("A",De),zt("H",Bt),zt("h",Bt),zt("k",Bt),zt("HH",Bt,bt),zt("hh",Bt,bt),zt("kk",Bt,bt),zt("hmm",it),zt("hmmss",Lt),zt("Hmm",it),zt("Hmmss",Lt),xn(["H","HH"],3),xn(["k","kk"],function($e,Jt,gn){const Fn=x($e);return Jt[3]=24===Fn?0:Fn,gn}),xn(["a","A"],function($e,Jt,gn){return gn._isPm=gn._locale.isPM($e),gn._meridiem=$e,gn}),xn(["h","hh"],function($e,Jt,gn){return Jt[3]=x($e),Cn(gn).bigHour=!0,gn}),xn("hmm",function($e,Jt,gn){const Fn=$e.length-2;return Jt[3]=x($e.substr(0,Fn)),Jt[4]=x($e.substr(Fn)),Cn(gn).bigHour=!0,gn}),xn("hmmss",function($e,Jt,gn){const Fn=$e.length-4,Ci=$e.length-2;return Jt[3]=x($e.substr(0,Fn)),Jt[4]=x($e.substr(Fn,2)),Jt[5]=x($e.substr(Ci)),Cn(gn).bigHour=!0,gn}),xn("Hmm",function($e,Jt,gn){const Fn=$e.length-2;return Jt[3]=x($e.substr(0,Fn)),Jt[4]=x($e.substr(Fn)),gn}),xn("Hmmss",function($e,Jt,gn){const Fn=$e.length-4,Ci=$e.length-2;return Jt[3]=x($e.substr(0,Fn)),Jt[4]=x($e.substr(Fn,2)),Jt[5]=x($e.substr(Ci)),gn})}(),function ht(){Qe("DDD",["DDDD",3,!1],"DDDo",function(v){return At(v).toString(10)}),K("dayOfYear","DDD"),fi("dayOfYear",4),zt("DDD",Me),zt("DDDD",we),xn(["DDD","DDDD"],function(v,L,X){return X._dayOfYear=x(v),X})}(),function Gs(){Qe("d",null,"do",function(v,L){return Pe(v,L.isUTC).toString(10)}),Qe("dd",null,null,function(v,L){return L.locale.weekdaysMin(v,L.format,L.isUTC)}),Qe("ddd",null,null,function(v,L){return L.locale.weekdaysShort(v,L.format,L.isUTC)}),Qe("dddd",null,null,function(v,L){return L.locale.weekdays(v,L.format,L.isUTC)}),Qe("e",null,null,function(v,L){return Cs(v,L.locale,L.isUTC).toString(10)}),Qe("E",null,null,function(v,L){return function Rr(v,L){return Pe(v,L)||7}(v,L.isUTC).toString(10)}),K("day","d"),K("weekday","e"),K("isoWeekday","E"),fi("day",11),fi("weekday",11),fi("isoWeekday",11),zt("d",Bt),zt("e",Bt),zt("E",Bt),zt("dd",function(v,L){return L.weekdaysMinRegex(v)}),zt("ddd",function(v,L){return L.weekdaysShortRegex(v)}),zt("dddd",function(v,L){return L.weekdaysRegex(v)}),ei(["dd","ddd","dddd"],function(v,L,X,De){const $e=X._locale.weekdaysParse(v,De,X._strict);return null!=$e?L.d=$e:Cn(X).invalidWeekday=!!v,X}),ei(["d","e","E"],function(v,L,X,De){return L[De]=x(v),X})}(),function so(){Qe("D",["DD",2,!1],"Do",function(v,L){return Ve(v,L.isUTC).toString(10)}),K("date","D"),fi("date",9),zt("D",Bt),zt("DD",Bt,bt),zt("Do",function(v,L){return L._dayOfMonthOrdinalParse||L._ordinalParse}),xn(["D","DD"],2),xn("Do",function(v,L,X){return L[2]=x(v.match(Bt)[0]),X})}())}(),v?function Jo(v){let L,X,De=0;for(;De<v.length;){const $e=Yo(v[De]).split("-");let Jt=$e.length;for(L=Yo(v[De+1]),L=L?L.split("-"):null;Jt>0;){if(X=es($e.slice(0,Jt).join("-")),X)return X;if(L&&L.length>=Jt&&cn($e,L,!0)>=Jt-1)break;Jt--}De++}return null}(M(v)?v:[v]):ls}const Go=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],zs=Go.reduce((v,L)=>(v[L]=!0,v),{});function ts(v){return v<0?Math.floor(v):Math.ceil(v)}function Z(v){return 4800*v/146097}function nt(v){return 146097*v/4800}let j=Math.round;const pe_ss=44,pe_s=45,pe_m=45,pe_h=22,pe_d=26,pe_M=11;function Ye(v,L,X,De,$e){return $e.relativeTime(L||1,!!X,v,De)}class oo{constructor(L,X={}){this._data={},this._locale=Xi(),this._locale=X&&X._locale||Xi();const $e=L.year||0,Jt=L.quarter||0,gn=L.month||0,Fn=L.week||0,Ci=L.day||0,rs=L.hours||0,yl=L.minutes||0,bl=L.seconds||0,yu=L.milliseconds||0;return this._isValid=function os(v){if(Object.keys(v).some(De=>De in zs&&null===v[De]||isNaN(v[De])))return!1;let X=!1;for(let De=0;De<Go.length;++De)if(v[Go[De]]){if(X)return!1;v[Go[De]]!==x(v[Go[De]])&&(X=!0)}return!0}(L),this._milliseconds=+yu+1e3*bl+60*yl*1e3+1e3*rs*60*60,this._days=+Ci+7*Fn,this._months=+gn+3*Jt+12*$e,function vo(v){let L=v._milliseconds,X=v._days,De=v._months;const $e=v._data;L>=0&&X>=0&&De>=0||L<=0&&X<=0&&De<=0||(L+=864e5*ts(nt(De)+X),X=0,De=0),$e.milliseconds=L%1e3;const Jt=g(L/1e3);$e.seconds=Jt%60;const gn=g(Jt/60);$e.minutes=gn%60;const Fn=g(gn/60);$e.hours=Fn%24,X+=g(Fn/24);const Ci=g(Z(X));De+=Ci,X-=ts(nt(Ci));const rs=g(De/12);return De%=12,$e.day=X,$e.month=De,$e.year=rs,v}(this)}isValid(){return this._isValid}humanize(L){if(!this.isValid())return this.localeData().invalidDate;const X=this.localeData();let De=function Ft(v,L,X){const De=Fs(v).abs(),$e=j(De.as("s")),Jt=j(De.as("m")),gn=j(De.as("h")),Fn=j(De.as("d")),Ci=j(De.as("M")),rs=j(De.as("y")),yl=$e<=pe_ss&&["s",$e]||$e<pe_s&&["ss",$e]||Jt<=1&&["m"]||Jt<pe_m&&["mm",Jt]||gn<=1&&["h"]||gn<pe_h&&["hh",gn]||Fn<=1&&["d"]||Fn<pe_d&&["dd",Fn]||Ci<=1&&["M"]||Ci<pe_M&&["MM",Ci]||rs<=1&&["y"]||["yy",rs];return Ye.apply(null,[yl[0],yl[1],L,+v>0,X])}(this,!L,X);return L&&(De=X.pastFuture(+this,De)),X.postformat(De)}localeData(){return this._locale}locale(L){return L?(this._locale=Xi(L)||this._locale,this):this._locale._abbr}abs(){const L=Math.abs,X=this._data;return this._milliseconds=L(this._milliseconds),this._days=L(this._days),this._months=L(this._months),X.milliseconds=L(X.milliseconds),X.seconds=L(X.seconds),X.minutes=L(X.minutes),X.hours=L(X.hours),X.month=L(X.month),X.year=L(X.year),this}as(L){if(!this.isValid())return NaN;let X,De;const $e=this._milliseconds,Jt=te(L);if("month"===Jt||"year"===Jt)return X=this._days+$e/864e5,De=this._months+Z(X),"month"===Jt?De:De/12;switch(X=this._days+Math.round(nt(this._months)),Jt){case"week":return X/7+$e/6048e5;case"day":return X+$e/864e5;case"hours":return 24*X+$e/36e5;case"minutes":return 1440*X+$e/6e4;case"seconds":return 86400*X+$e/1e3;case"milliseconds":return Math.floor(864e5*X)+$e;default:throw new Error(`Unknown unit ${Jt}`)}}valueOf(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN}}function _o(v){if(null==v._isValid){const L=Cn(v),X=Array.prototype.some.call(L.parsedDateParts,function($e){return null!=$e});let De=!isNaN(v._d&&v._d.getTime())&&L.overflow<0&&!L.empty&&!L.invalidMonth&&!L.invalidWeekday&&!L.weekdayMismatch&&!L.nullInput&&!L.invalidFormat&&!L.userInvalidated&&(!L.meridiem||L.meridiem&&X);if(v._strict&&(De=De&&0===L.charsLeftOver&&0===L.unusedTokens.length&&void 0===L.bigHour),null!=Object.isFrozen&&Object.isFrozen(v))return De;v._isValid=De}return v._isValid}function So(v,L){return v._d=new Date(NaN),Object.assign(Cn(v),L||{userInvalidated:!0}),v}const us=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ui=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ss=/Z|[+-]\d\d(?::?\d\d)?/,Qo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],Fo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xs=/^\/?Date\((\-?\d+)/i,qo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},be=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Ae(v){if(!h(v._i))return v;const L=v._i,X=us.exec(L)||ui.exec(L);let De,$e,Jt,gn,Fn,Ci;if(!X)return v._isValid=!1,v;for(Fn=0,Ci=Qo.length;Fn<Ci;Fn++)if(Qo[Fn][1].exec(X[1])){$e=Qo[Fn][0],De=!1!==Qo[Fn][2];break}if(null==$e)return v._isValid=!1,v;if(X[3]){for(Fn=0,Ci=Fo.length;Fn<Ci;Fn++)if(Fo[Fn][1].exec(X[3])){Jt=(X[2]||" ")+Fo[Fn][0];break}if(null==Jt)return v._isValid=!1,v}if(!De&&null!=Jt)return v._isValid=!1,v;if(X[4]){if(!ss.exec(X[4]))return v._isValid=!1,v;gn="Z"}return v._f=$e+(Jt||"")+(gn||""),sr(v)}function tt(v){const L=parseInt(v,10);return L<=49?L+2e3:L}function Zo(v){if(!h(v._i))return v;const L=be.exec(function $t(v){return v.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(v._i));if(!L)return function cs(v){return v._isValid=!1,v}(v);const X=function se(v,L,X,De,$e,Jt){const gn=[tt(v),Fi.indexOf(L),parseInt(X,10),parseInt(De,10),parseInt($e,10)];return Jt&&gn.push(parseInt(Jt,10)),gn}(L[4],L[3],L[2],L[5],L[6],L[7]);return function ni(v,L,X){return!v||vn.indexOf(v)===new Date(L[0],L[1],L[2]).getDay()||(Cn(X).weekdayMismatch=!0,X._isValid=!1,!1)}(L[1],X,v)&&(v._a=X,v._tzm=function Bi(v,L,X){if(v)return qo[v];if(L)return 0;{const De=parseInt(X,10),$e=De%100;return(De-$e)/100*60+$e}}(L[8],L[9],L[10]),v._d=Pt.apply(null,v._a),v._d.setUTCMinutes(v._d.getUTCMinutes()-v._tzm),Cn(v).rfc2822=!0),v}function Ns(v,L,X,De,$e=0){const Jt=Xi(X||"en");if(!Jt)throw new Error(`Locale "${X}" is not defined, please add it with "defineLocale(...)"`);const Fn=function ns(v,L,X,De,$e=0){if(!o(v))return X.invalidDate;const Jt=Or(L,X);return Te[Jt]=Te[Jt]||function kt(v){const L=v.match(Ke),X=L.length,De=new Array(X);for(let $e=0;$e<X;$e++)De[$e]=Fe[L[$e]]?Fe[L[$e]]:ct(L[$e]);return function($e,Jt,gn,Fn=0){let Ci="";for(let rs=0;rs<X;rs++)Ci+=y(De[rs])?De[rs].call(null,$e,{format:v,locale:Jt,isUTC:gn,offset:Fn}):De[rs];return Ci}}(Jt),Te[Jt](v,X,De,$e)}(v,L||(De?"YYYY-MM-DDTHH:mm:ss[Z]":"YYYY-MM-DDTHH:mm:ssZ"),Jt,De,$e);return Fn&&Jt.postformat(Fn)}function Or(v,L){let X=v,De=5;const $e=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Jt=gn=>L.formatLongDate(gn)||gn;for($e.lastIndex=0;De>=0&&$e.test(X);)X=X.replace($e,Jt),$e.lastIndex=0,De-=1;return X}function _s(v,L,X){return v??L??X}function Rs(v){const L=[];let X,De,$e;if(v._d)return v;const Jt=function or(v){const L=new Date;return v._useUTC?[L.getUTCFullYear(),L.getUTCMonth(),L.getUTCDate()]:[L.getFullYear(),L.getMonth(),L.getDate()]}(v);for(v._w&&null==v._a[2]&&null==v._a[1]&&function js(v){let L,X,De,$e,Jt,gn,Fn;const Ci=v._w;if(null!=Ci.GG||null!=Ci.W||null!=Ci.E)$e=1,Jt=4,L=_s(Ci.GG,v._a[0],Sn(new Date,1,4).year),X=_s(Ci.W,1),De=_s(Ci.E,1
1),(De<1||De>7)&&(Fn=!0);else{$e=v._locale._week.dow,Jt=v._locale._week.doy;const rs=Sn(new Date,$e,Jt);L=_s(Ci.gg,v._a[0],rs.year),X=_s(Ci.w,rs.week),null!=Ci.d?(De=Ci.d,(De<0||De>6)&&(Fn=!0)):null!=Ci.e?(De=Ci.e+$e,(Ci.e<0||Ci.e>6)&&(Fn=!0)):De=$e}X<1||X>kn(L,$e,Jt)?Cn(v)._overflowWeeks=!0:null!=Fn?Cn(v)._overflowWeekday=!0:(gn=function rn(v,L,X,De,$e){const Fn=1+7*(L-1)+(7+X-De)%7+nn(v,De,$e);let Ci,rs;return Fn<=0?(Ci=v-1,rs=An(Ci)+Fn):Fn>An(v)?(Ci=v+1,rs=Fn-An(v)):(Ci=v,rs=Fn),{year:Ci,dayOfYear:rs}}(L,X,De,$e,Jt),v._a[0]=gn.year,v._dayOfYear=gn.dayOfYear)}(v),null!=v._dayOfYear&&($e=_s(v._a[0],Jt[0]),(v._dayOfYear>An($e)||0===v._dayOfYear)&&(Cn(v)._overflowDayOfYear=!0),De=new Date(Date.UTC($e,0,v._dayOfYear)),v._a[1]=De.getUTCMonth(),v._a[2]=De.getUTCDate()),X=0;X<3&&null==v._a[X];++X)v._a[X]=L[X]=Jt[X];for(;X<7;X++)v._a[X]=L[X]=null==v._a[X]?2===X?1:0:v._a[X];24===v._a[3]&&0===v._a[4]&&0===v._a[5]&&0===v._a[6]&&(v._nextDay=!0,v._a[3]=0),v._d=(v._useUTC?Pt:Ze).apply(null,L);const gn=v._useUTC?v._d.getUTCDay():v._d.getDay();return null!=v._tzm&&v._d.setUTCMinutes(v._d.getUTCMinutes()-v._tzm),v._nextDay&&(v._a[3]=24),v._w&&typeof v._w.d<"u"&&v._w.d!==gn&&(Cn(v).weekdayMismatch=!0),v}function Bo(v){let L;const X=v._a;return X&&-2===Cn(v).overflow&&(L=X[1]<0||X[1]>11?1:X[2]<1||X[2]>Hi(X[0],X[1])?2:X[3]<0||X[3]>24||24===X[3]&&(0!==X[4]||0!==X[5]||0!==X[6])?3:X[4]<0||X[4]>59?4:X[5]<0||X[5]>59?5:X[6]<0||X[6]>999?6:-1,Cn(v)._overflowDayOfYear&&(L<0||L>2)&&(L=2),Cn(v)._overflowWeeks&&-1===L&&(L=7),Cn(v)._overflowWeekday&&-1===L&&(L=8),Cn(v).overflow=L),v}function sr(v){if("ISO_8601"===v._f)return Ae(v);if("RFC_2822"===v._f)return Zo(v);if(v._a=[],Cn(v).empty=!0,M(v._f)||!v._i&&0!==v._i)return v;let L=v._i.toString(),X=0;const De=L.length,$e=Or(v._f,v._locale).match(Ke)||[];let Jt,gn,Fn,Ci;for(Jt=0;Jt<$e.length;Jt++)gn=$e[Jt],Fn=(L.match(Dn(gn,v._locale))||[])[0],Fn&&(Ci=L.substr(0,L.indexOf(Fn)),Ci.length>0&&Cn(v).unusedInput.push(Ci),L=L.slice(L.indexOf(Fn)+Fn.length),X+=Fn.length),Fe[gn]?(Fn?Cn(v).empty=!1:Cn(v).unusedTokens.push(gn),ci(gn,Fn,v)):v._strict&&!Fn&&Cn(v).unusedTokens.push(gn);return Cn(v).charsLeftOver=De-X,L.length>0&&Cn(v).unusedInput.push(L),v._a[3]<=12&&!0===Cn(v).bigHour&&v._a[3]>0&&(Cn(v).bigHour=void 0),Cn(v).parsedDateParts=v._a.slice(0),Cn(v).meridiem=v._meridiem,v._a[3]=function hr(v,L,X){let De=L;if(null==X)return De;if(null!=v.meridiemHour)return v.meridiemHour(De,X);if(null==v.isPM)return De;const $e=v.isPM(X);return $e&&De<12&&(De+=12),!$e&&12===De&&(De=0),De}(v._locale,v._a[3],v._meridiem),Rs(v),Bo(v)}function Ir(v){const L=Bo(function pr(v){let L=v._i;const X=v._f;return v._locale=v._locale||Xi(v._l),null===L||void 0===X&&""===L?So(v,{nullInput:!0}):(h(L)&&(v._i=L=v._locale.preparse(L,X)),_(L)?(v._d=Bn(L),v):(M(X)?function rr(v){let L,X,De,$e,Jt;if(!v._f||0===v._f.length)return Cn(v).invalidFormat=!0,So(v);for(Jt=0;Jt<v._f.length;Jt++)$e=0,L=Object.assign({},v),null!=v._useUTC&&(L._useUTC=v._useUTC),L._f=v._f[Jt],sr(L),_o(L)&&($e+=Cn(L).charsLeftOver,$e+=10*Cn(L).unusedTokens.length,Cn(L).score=$e,(null==De||$e<De)&&(De=$e,X=L));Object.assign(v,X||L)}(v):X?sr(v):function ar(v){const L=v._i;if(O(L))v._d=new Date;else if(_(L))v._d=Bn(L);else if(h(L))!function Qs(v){if(!h(v._i))return v;const L=xs.exec(v._i);null!==L?v._d=new Date(+L[1]):(Ae(v),!1!==v._isValid||(delete v._isValid,Zo(v),!1!==v._isValid||(delete v._isValid,So(v))))}(v);else if(M(L)&&L.length){const X=L.slice(0);v._a=X.map(De=>h(De)?parseInt(De,10):De),Rs(v)}else if(D(L))!function Tr(v){if(v._d)return v;const L=v._i;if(D(L)){const X=function H(v){const L={};let X,De;for(De in v)A(v,De)&&(X=te(De),X&&(L[X]=v[De]));return L}(L);v._a=[X.year,X.month,X.day,X.hours,X.minutes,X.seconds,X.milliseconds].map(De=>h(De)?parseInt(De,10):De)}return Rs(v)}(v);else{if(!d(L))return So(v);v._d=new Date(L)}}(v),_o(v)||(v._d=null),v))}(v));return L._d=new Date(null!=L._d?L._d.getTime():NaN),_o(Object.assign({},L,{_isValid:null}))||(L._d=new Date(NaN)),L}function As(v,L,X,De,$e){return _(v)?v:function Os(v,L,X,De,$e){const Jt={};let gn=v;return(D(gn)&&function w(v){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(v).length;let L;for(L in v)if(v.hasOwnProperty(L))return!1;return!0}(gn)||M(gn)&&0===gn.length)&&(gn=void 0),Jt._useUTC=Jt._isUTC=$e,Jt._l=X,Jt._i=gn,Jt._f=L,Jt._strict=De,Ir(Jt)}(v,L,X,De,$e)._d}function $r(v){return v instanceof Date?new Date(v.getUTCFullYear(),v.getUTCMonth(),v.getUTCDate(),v.getUTCHours(),v.getUTCMinutes(),v.getUTCSeconds(),v.getUTCMilliseconds()):null}function gr(v){return v<0?-1*Math.round(-1*v):Math.round(v)}function ys(v,L,X="milliseconds"){return!(!v||!L)&&("milliseconds"===X?v.valueOf()>L.valueOf():L.valueOf()<Qn(v,X).valueOf())}function Lo(v,L,X="milliseconds"){return!(!v||!L)&&("milliseconds"===X?v.valueOf()<L.valueOf():Ni(v,X).valueOf()<L.valueOf())}function ds(v,L){return!(typeof L>"u"||!L||!L.length)&&L.some(X=>X===v.getDay())}function ws(v,L,X="milliseconds"){if(!v||!L)return!1;if("milliseconds"===X)return v.valueOf()===L.valueOf();const De=L.valueOf();return Qn(v,X).valueOf()<=De&&De<=Ni(v,X).valueOf()}const ps=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Sr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Fs(v,L,X={}){const De=function Xs(v,L){if(null==v)return{};if(function jo(v){return v instanceof oo}(v))return{milliseconds:v._milliseconds,day:v._days,month:v._months};if(d(v))return L?{[L]:v}:{milliseconds:v};if(h(v)){let X=ps.exec(v);if(X){const De="-"===X[1]?-1:1;return{year:0,day:x(X[2])*De,hours:x(X[3])*De,minutes:x(X[4])*De,seconds:x(X[5])*De,milliseconds:x(gr(1e3*x(X[6])))*De}}if(X=Sr.exec(v),X){const De="-"===X[1]?-1:1;return{year:fs(X[2],De),month:fs(X[3],De),week:fs(X[4],De),day:fs(X[5],De),hours:fs(X[6],De),minutes:fs(X[7],De),seconds:fs(X[8],De)}}}
1if(D(v)&&("from"in v||"to"in v)){const X=function ko(v,L){if(!o(v)||!o(L))return{milliseconds:0,months:0};let X;const De=function Si(v,L,X={}){if(!X._isUTC)return v;const De=Bn(L),$e=6e4*(X._offset||0),Jt=v.valueOf()-De.valueOf()+$e;return De.setTime(De.valueOf()+Jt),De}(L,v,{_offset:v.getTimezoneOffset()});return Lo(v,De)?X=bs(v,De):(X=bs(De,v),X.milliseconds=-X.milliseconds,X.months=-X.months),X}(As(v.from),As(v.to));return{milliseconds:X.milliseconds,month:X.months}}return v}(v,L);return new oo(De,X)}function fs(v,L){const X=v&&parseFloat(v.replace(",","."));return(isNaN(X)?0:X)*L}function bs(v,L){const X={milliseconds:0,months:0};return X.months=dt(L)-dt(v)+12*(Dt(L)-Dt(v)),ys(io(Bn(v),X.months,"month"),L)&&--X.months,X.milliseconds=+L-+io(Bn(v),X.months,"month"),X}function io(v,L,X,De){return vs(v,Fs(L,X),1,De)}function vs(v,L,X,De){const $e=L._milliseconds,Jt=gr(L._days),gn=gr(L._months);return gn&&ln(v,dt(v,De)+gn*X,De),Jt&&Vt(v,Ve(v,De)+Jt*X,De),$e&&function On(v,L){v.setTime(L)}(v,function he(v){return v.getTime()}(v)+$e*X),Bn(v)}function Ts(v,L,X=Xi(),De){const $e=Pe(v,De),Jt=function Js(v,L){if(!h(v))return v;const X=parseInt(v,10);if(!isNaN(X))return X;const De=L.weekdaysParse(v);return d(De)?De:null}(L,X);return io(v,Jt-$e,"day")}function Eo(v,L){return Pe(v,L)}function Cs(v,L=Xi(),X){return(Pe(v,X)+7-L.firstDayOfWeek())%7}const oe=function(v){return 0===v?0:1===v?1:2===v?2:v%100>=3&&v%100<=10?3:v%100>=11?4:5},_e={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},Be=function(v){return function(L,X){const De=oe(L);let $e=_e[v][oe(L)];return 2===De&&($e=$e[X?0:1]),$e.replace(/%d/i,L.toString())}};"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),Be("s"),Be("s"),Be("m"),Be("m"),Be("h"),Be("h"),Be("d"),Be("d"),Be("M"),Be("M"),Be("y"),Be("y"),"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"gen._feb._mar._abr._mai._jun._jul._ago._set._oct._nov._des.".split("_"),"ene_feb_mar_abr_mai_jun_jul_ago_set_oct_nov_des".split("_"),"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),"diu._dil._dim._dix._dij._div._dis.".split("_"),"dg_dl_dt_dc_dj_dv_ds".split("_");const yi="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),xi="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function wo(v){return v>1&&v<5&&1!=~~(v/10)}function Ro(v,L,X,De){const $e=v+" ";switch(X){case"s":return L||De?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return L||De?$e+(wo(v)?"sekundy":"sekund"):$e+"sekundami";case"m":return L?"minuta":De?"minutu":"minutou";case"mm":return L||De?$e+(wo(v)?"minuty":"minut"):$e+"minutami";case"h":return L?"hodina":De?"hodinu":"hodinou";case"hh":return L||De?$e+(wo(v)?"hodiny":"hodin"):$e+"hodinami";case"d":return L||De?"den":"dnem";case"dd":return L||De?$e+(wo(v)?"dny":"dn\xed"):$e+"dny";case"M":return L||De?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return L||De?$e+(wo(v)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):$e+"m\u011bs\xedci";
1case"y":return L||De?"rok":"rokem";case"yy":return L||De?$e+(wo(v)?"roky":"let"):$e+"lety"}}const W={abbr:"cs",months:yi,monthsShort:xi,monthsParse:function(v,L){let X,De=[];for(X=0;X<12;X++)De[X]=new RegExp("^"+v[X]+"$|^"+L[X]+"$","i");return De}(yi,xi),shortMonthsParse:function(v){let L,X=[];for(L=0;L<12;L++)X[L]=new RegExp("^"+v[L]+"$","i");return X}(xi),longMonthsParse:function(v){let L,X=[];for(L=0;L<12;L++)X[L]=new RegExp("^"+v[L]+"$","i");return X}(yi),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("_"),longDateFormat:{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"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek(v){switch(Eo(v)){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek(v){switch(Eo(v)){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:Ro,ss:Ro,m:Ro,mm:Ro,h:Ro,hh:Ro,d:Ro,dd:Ro,M:Ro,MM:Ro,y:Ro,yy:Ro},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};function z(v,L,X,De){const $e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return L?$e[X][0]:$e[X][1]}"Januar_Februar_Marts_April_Maj_Juni_Juli_August_September_Oktober_November_December".split("_"),"Jan_Feb_Mar_Apr_Maj_Jun_Jul_Aug_Sep_Okt_Nov_Dec".split("_"),"S\xf8ndag_Mandag_Tirsdag_Onsdag_Torsdag_Fredag_L\xf8rdag".split("_"),"S\xf8n_Man_Tir_Ons_Tor_Fre_L\xf8r".split("_"),"S\xf8_Ma_Ti_On_To_Fr_L\xf8".split("_");const ce={abbr:"de",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._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,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("_"),weekdaysParseExact:!0,longDateFormat:{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"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:z,mm:"%d Minuten",h:z,hh:"%d Stunden",d:z,dd:z,M:z,MM:z,y:z,yy:z},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},Ne={abbr:"en-gb",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("_"),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("_"),longDateFormat:{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"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal(v){const L=Number(v),X=L%10;return L+(1==~~(L%100/10)?"th":1===X?"st":2===X?"nd":3===X?"rd":"th")},week:{dow:1,doy:4}};"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".
1split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_");let gi="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Ui="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Oo=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],qs=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;const lr={abbr:"es",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:(v,L,X)=>v?/-MMM-/.test(L)?Ui[dt(v,X)]:gi[dt(v,X)]:gi,monthsRegex:qs,monthsShortRegex:qs,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Oo,longMonthsParse:Oo,shortMonthsParse:Oo,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("_"),weekdaysParseExact:!0,longDateFormat:{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"},calendar:{sameDay:v=>"[hoy a la"+(1!==fe(v)?"s":"")+"] LT",nextDay:v=>"[ma\xf1ana a la"+(1!==fe(v)?"s":"")+"] LT",nextWeek:v=>"dddd [a la"+(1!==fe(v)?"s":"")+"] LT",lastDay:v=>"[ayer a la"+(1!==fe(v)?"s":"")+"] LT",lastWeek:v=>"[el] dddd [pasado a la"+(1!==fe(v)?"s":"")+"] LT",sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}};"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),"P_E_T_K_N_R_L".split("_"),"P_E_T_K_N_R_L".split("_"),"nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),"su_ma_ti_ke_to_pe_la".split("_"),"su_ma_ti_ke_to_pe_la".split("_");const xa={abbr:"fr",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("_"),monthsParseExact:!0,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("_"),weekdaysParseExact:!0,longDateFormat:{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"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal(v,L){const X=Number(v);switch(L){case"D":return X+(1===X?"er":"");default:case"M":case"Q":case"DDD":case"d":return X+(1===X?"er":"e");case"w":case"W":return X+(1===X?"re":"e")}},week:{dow:1,doy:4}};"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),"dim._lun._mar._mer._jeu._ven._sam.".split("_"),"di_lu_ma_me_je_ve_sa".split("_"),"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),"xan_feb_mar_abr_mai_xu\xf1_xul_ago_set_out_nov_dec".split("_"),"xane
1iro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),"vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" "),"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),"v_h_k_sze_cs_p_szo".split("_"),"Sije\u010danj_Velja\u010da_O\u017eujak_Travanj_Svibanj_Lipanj_Srpanj_Kolovoz_Rujan_Listopad_Studeni_Prosinac".split("_"),"Sij_Velj_O\u017eu_Tra_Svi_Lip_Srp_Kol_Ruj_Lis_Stu_Pro".split("_"),"Nedjelja_Ponedjeljak_Utorak_Srijeda_\u010cetvrtak_Petak_Subota".split("_"),"Ned_Pon_Uto_Sri_\u010cet_Pet_Sub".split("_"),"Ne_Po_Ut_Sr_\u010ce_Pe_Su".split("_"),"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_");const pa={abbr:"it",months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),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("_"),longDateFormat:{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"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:v=>0===Eo(v)?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT",sameElse:"L"},relativeTime:{future:v=>(/^[0-9].+$/.test(v.toString(10))?"tra":"in")+" "+v,past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%
1d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}};"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("_"),"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("_"),"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_"),"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spali
1o_lapkri\u010dio_gruod\u017eio".split("_"),"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),"S_P_A_T_K_Pn_\u0160".split("_"),"Janv\u0101ris_Febru\u0101ris_Marts_Apr\u012blis_Maijs_J\u016bnijs_J\u016blijs_Augusts_Septembris_Oktobris_Novembris_Decembris".split("_"),"Jan_Feb_Mar_Apr_Mai_J\u016bn_J\u016bl_Aug_Sep_Okt_Nov_Dec".split("_"),"Sv\u0113tdiena_Pirmdiena_Otrdiena_Tre\u0161diena_Ceturtdiena_Piektdiena_Sestdiena".split("_"),"Sv\u0113td_Pirmd_Otrd_Tre\u0161d_Ceturtd_Piektd_Sestd".split("_"),"Sv_Pi_Ot_Tr_Ce_Pk_Se".split("_"),"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),"zo._ma._di._wo._do._vr._za.".split("_"),"zo_ma_di_wo_do_vr_za".split("_");let $s="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),Vr="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),tr=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Ar=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;const ta={abbr:"nl",months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:(v,L,X)=>v?/-MMM-/.test(L)?Vr[dt(v,X)]:$s[dt(v,X)]:$s,monthsRegex:Ar,monthsShortRegex:Ar,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:tr,longMonthsParse:tr,shortMonthsParse:tr,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("_"),weekdaysParseExact:!0,longDateFormat:{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"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal(v){const L=Number(v);return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}};let Ea="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),zr="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function _a(v){return v%10<5&&v%10>1&&~~(v/10)%10!=1}function Oa(v,L,X){let De=v+" ";
1switch(X){case"ss":return De+(_a(v)?"sekundy":"sekund");case"m":return L?"minuta":"minut\u0119";case"mm":return De+(_a(v)?"minuty":"minut");case"h":return L?"godzina":"godzin\u0119";case"hh":return De+(_a(v)?"godziny":"godzin");case"MM":return De+(_a(v)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return De+(_a(v)?"lata":"lat")}}const ur={abbr:"pl",months:(v,L,X)=>v?""===L?"("+zr[dt(v,X)]+"|"+Ea[dt(v,X)]+")":/D MMMM/.test(L)?zr[dt(v,X)]:Ea[dt(v,X)]:Ea,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),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("_"),longDateFormat:{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"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek(v){switch(Eo(v)){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 5:return"[W pi\u0105tek o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek(v){switch(Eo(v)){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 4:return"[W zesz\u0142\u0105 czwartek o] LT";case 5:return"[W zesz\u0142\u0105 pi\u0105tek o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:Oa,m:Oa,mm:Oa,h:Oa,hh:Oa,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:Oa,y:"rok",yy:Oa},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},ya={abbr:"pt-br",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("_"),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("_"),weekdaysParseExact:!0,longDateFormat:{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"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:v=>0===Eo(v)||6===Eo(v)?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT",sameElse:"L"},relativeTime:{future:"em %s",past:"%s atr\xe1s",s:"poucos segundos",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"};function wa(v,L,X){return"m"===X?L?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":v+" "+function ml(v,L){let X=v.split("_");return L%10==1&&L%100!=11?X[0]:L%10>=2&&L%10<=4&&(L%100<10||L%100>=20)?X[1]:X[2]}({ss:L?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:L?"\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"}[X],+v)}"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_");let Ta=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];const Kl={abbr:"ru",months:{format:"\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("_"),standalone:"\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("_")},monthsShort:{format:"\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("_"),standalone:"\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("_")},weekdays:{standalone:"\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("_"),format:"\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\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:Ta,longMonthsParse:Ta,shortMonthsParse:Ta,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u
1043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{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"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430 \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",nextWeek(v,L){if(Zn(L)===Zn(v))return 2===Eo(v)?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT";switch(Eo(v)){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd [\u0432] LT"}},lastWeek(v,L){if(Zn(L)===Zn(v))return 2===Eo(v)?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT";switch(Eo(v)){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd [\u0432] LT"}},sameElse:"L"},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",ss:wa,m:wa,mm:wa,h:"\u0447\u0430\u0441",hh:wa,d:"\u0434\u0435\u043d\u044c",dd:wa,M:"\u043c\u0435\u0441\u044f\u0446",MM:wa,y:"\u0433\u043e\u0434",yy:wa},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:v=>/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(v),meridiem:(v,L,X)=>v<4?"\u043d\u043e\u0447\u0438":v<12?"\u0443\u0442\u0440\u0430":v<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430",dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal(v,L){const X=Number(v);switch(L){case"M":case"d":case"DDD":return X+"-\u0439";case"D":return X+"-\u0433\u043e";case"w":case"W":return X+"-\u044f";default:return X.toString(10)}},week:{dow:1,doy:4}};"janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),"jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_"),"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),"ne_po_to_sr_\u010de_pe_so".split("_"),"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),"E Diel\xeb_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),"Di_He_Ma_Me_En_Pr_Sh".split("_"),"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_");const $a={abbr:"th-be",months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:v=>"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===v,meridiem:(v,L,X)=>v<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07",calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"},preparse(v,L){const X=$a.longDateFormat[L]?$a.longDateFormat[L]:L;return-1!==X.indexOf("YYYY",X.length-4)?v.substr(0,v.length-4)+(parseInt(v.substr(v.length-4),10)-543):v},getFullYear:(v,L=!1)=>543+(L?v.getUTCFullYear():v.getFullYear())};let Ba={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};const Ja={abbr:"tr",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("_"),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("_"),longDateFormat:{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"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|\xfcnc\xfc|nc\u0131|uncu|\u0131nc\u0131)/,ordinal(v){const L=Number(v);if(0===L)return L+"'\u0131nc\u0131";let X=L%10;return L+(Ba[X]||Ba[L%100-X]||Ba[L>=100?100:null])},week:{dow:1,doy:7}};
1function ia(v){return function(L){return v+"\u043e"+(11===fe(L)?"\u0431":"")+"] LT"}}"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_"),"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),ia("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),ia("[\u0417\u0430\u0432\u0442\u0440\u0430 "),ia("[\u0412\u0447\u043e\u0440\u0430 "),ia("[\u0423] dddd ["),"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),"CN_T2_T3_T4_T5_T6_T7".split("_"),"CN_T2_T3_T4_T5_T6_T7".split("_");const U={abbr:"zh-cn",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("_"),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("_"),longDateFormat:{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"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:(v,L)=>(12===v&&(v=0),"\u51cc\u6668"===L||"\u65e9\u4e0a"===L||"\u4e0a\u5348"===L?v:"\u4e0b\u5348"===L||"\u665a\u4e0a"===L?v+12:v>=11?v:v+12),meridiem(v,L,X){let De=100*v+L;return De<600?"\u51cc\u6668":De<900?"\u65e9\u4e0a":De<1130?"\u4e0a\u5348":De<1230?"\u4e2d\u5348":De<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal(v,L){const X=Number(v);switch(L){case"d":case"D":case"DDD":return X+"\u65e5";case"M":return X+"\u6708";case"w":case"W":return X+"\u5468";default:return X.toString()}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \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"},week:{dow:1,doy:4}},Zt=function(v){return 0===v?0:1===v?1:2===v?2:v%100>=3&&v%100<=10?3:v%100>=11?4:5};var Mn={s:["\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u062b\u0627\u0646\u06cc\u0647","\u06cc\u06a9 \u062b\u0627\u0646\u06cc\u0647",["\u062f\u0648 \u062b\u0627\u0646\u06cc\u0647","\u062f\u0648 \u062b\u0627\u0646\u06cc\u0647"],"%d \u062b\u0627\u0646\u06cc\u0647","%d \u062b\u0627\u0646\u06cc\u0647","%d \u062b\u0627\u0646\u06cc\u0647"],m:["\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647","\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",["\u062f\u0648 \u062f\u0642\u06cc\u0642\u0647","\u062f\u0648 \u062f\u0642\u06cc\u0642\u0647"],"%d \u062f\u0642\u06cc\u0642\u0647","%d \u062f\u0642\u06cc\u0642\u0647","%d \u062f\u0642\u06cc\u0642\u0647"],h:["\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u0633\u0627\u0639\u062a","\u06cc\u06a9 \u0633\u0627\u0639\u062a",["\u062f\u0648 \u0633\u0627\u0639\u062a","\u062f\u0648 \u0633\u0627\u0639\u062a"],"%d \u0633\u0627\u0639\u062a","%d \u0633\u0627\u0639\u062a","%d \u0633\u0627\u0639\u062a"],d:["\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u0631\u0648\u0632","\u06cc\u06a9 \u0631\u0648\u0632",["\u062f\u0648 \u0631\u0648\u0632","\u062f\u0648 \u0631\u0648\u0632"],"%d \u0631\u0648\u0632","%d \u0631\u0648\u0632","%d \u0631\u0648\u0632"],M:["\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u0645\u0627\u0647","\u06cc\u06a9 \u0645\u0627\u0647",["\u062f\u0648 \u0645\u0627\u0647","\u062f\u0648 \u0645\u0627\u0647"],"%d \u0645\u0627\u0647","%d \u0645\u0627\u0647","%d \u0645\u0627\u0647"],y:["\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u0633\u0627\u0644","\u06cc\u06a9 \u0633\u0627\u0644",["\u062f\u0648 \u0633\u0627\u0644","\u062f\u0648 \u0633\u0627\u0644"],"%d \u0633\u0627\u0644","%d \u0633\u0627\u0644","%d \u0633\u0627\u0644"]};const $n=function(v){return function(L,X){const De=Zt(L);let $e=Mn[v][Zt(L)];return 2===De&&($e=$e[X?0:1]),$e.replace(/%d/i,L.toString())}};"\u06cc\u06a9\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647 \u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c \u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),"\u06cc\u06a9\u0634\u0646\u0628\u0647_\u062f\u0648\u200c\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u200c\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),$n("s"),$n("s"),$n("m"),$n("m"),$n("h"),$n("h"),$n("d"),$n("d"),$n("M"),$n("M"),$n("y"),$n("y")},76932(ot,V,l){"use strict";l.d(V,{Li:()=>d});var f=l(35547),g=l(85802),h=l(72806),_=l(71946);class o{constructor(A,D,w){this.nodes=A,this.viewRef=D,this.componentRef=w}}
1class y{constructor(A,D,w,O,x,N,q,K,te){this._viewContainerRef=A,this._renderer=D,this._elementRef=w,this._injector=O,this._componentFactoryResolver=x,this._ngZone=N,this._applicationRef=q,this._posService=K,this._document=te,this.onBeforeShow=new g.bkB,this.onShown=new g.bkB,this.onBeforeHide=new g.bkB,this.onHidden=new g.bkB,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(A){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(A),this}to(A){return this.container=A||this.container,this}position(A){return A?(this.attachment=A.attachment||this.attachment,this._elementRef=A.target||this._elementRef,this):this}provide(A){return this._providers.push(A),this}show(A={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(A.content,A.context,A.initialState);const D=g.zZn.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(D,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,A),this.container instanceof f.aKT&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const w=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!w)return;w.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(A.id?{id:A.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(A){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const D=this._componentRef.location.nativeElement;return D.parentNode?.removeChild(D),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._componentRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(A?{id:A}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(A){this.triggers=A.triggers||this.triggers,this._listenOpts.outsideClick=A.outsideClick,this._listenOpts.outsideEsc=A.outsideEsc,A.target=A.target||this._elementRef?.nativeElement;const D=this._listenOpts.hide=()=>A.hide?A.hide():void this.hide(),w=this._listenOpts.show=x=>{A.show?A.show(x):this.show(x),x()};return this._renderer&&(this._unregisterListenersFn=(0,h.GL)(this._renderer,{target:A.target,triggers:A.triggers,show:w,hide:D,toggle:x=>{this.isShown?D():w(x)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(A,D){return A&&D&&(this._inlineViewRef=A.createEmbeddedView(D)),this}_registerOutsideClick(){if(!this._componentRef||!this._componentRef.location)return;let A=Function.prototype,D=Function.prototype;if(this._listenOpts.outsideClick){const w=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(A=(0,h.Xt)(this._renderer,{targets:[w,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(D=(0,h.Fv)(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()})),this._globalListener=()=>{A(),D()}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}
1_getContentRef(A,D,w){if(!A)return new o([]);if(A instanceof f.C4Q){if(this._viewContainerRef){const N=this._viewContainerRef.createEmbeddedView(A,D);return N.markForCheck(),new o([N.rootNodes],N)}const x=A.createEmbeddedView({});return this._applicationRef.attachView(x),new o([x.rootNodes],x)}if("function"==typeof A){const x=this._componentFactoryResolver.resolveComponentFactory(A),N=g.zZn.create({providers:this._providers,parent:this._injector}),q=x.create(N);return Object.assign(q.instance,w),this._applicationRef.attachView(q.hostView),new o([[q.location.nativeElement]],q.hostView,q)}const O=this._renderer?[this._renderer.createText(`${A}`)]:[];return new o([O])}}let d=(()=>{class M{constructor(D,w,O,x,N,q){this._componentFactoryResolver=D,this._ngZone=w,this._injector=O,this._posService=x,this._applicationRef=N,this._document=q}createLoader(D,w,O){return new y(w,O,D,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static{this.\u0275fac=function(w){return new(w||M)(g.KVO(f.OM3),g.KVO(g.SKi),g.KVO(g.zZn),g.KVO(_.DF),g.KVO(f.o8S),g.KVO(g.qQL))}}static{this.\u0275prov=g.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},28460(ot,V,l){"use strict";l.d(V,{Kn:()=>Go,YN:()=>vo,ZJ:()=>jt,mO:()=>ts,p0:()=>Xi,pc:()=>Mo});var y=l(17705),d=l(35547),M=l(85802),A=l(23294),D=l(5964),w=l(96354),O=l(96697),x=l(56977),N=l(62460),q=l(71946),K=l(91500),te=l(68173),H=l(18530),ee=l(84412),F=l(13961),J=l(84572),ne=l(14563),de=l(534),Le=l(49769),ut=l(76932),Oe=l(89417);function xe(Z,nt){if(1&Z){const j=d.RV6();d.rj2(0,"button",2),d.VwU("click",function(){const Ye=M.eBV(j).$implicit,Ft=d.XpG();return M.Njj(Ft.selectFromRanges(Ye))}),d.EFF(1),d.eux()}if(2&Z){const j=nt.$implicit,pe=d.XpG();d.AVh("selected",pe.compareRanges(j)),d.R7$(),d.SpI(" ",j.label," ")}}function Ce(Z,nt){if(1&Z){const j=d.RV6();d.EFF(0," \u200b "),d.rj2(1,"button",1),d.VwU("click",function(){M.eBV(j);const Ye=d.XpG();return M.Njj(Ye.view("month"))}),d.rj2(2,"span"),d.EFF(3),d.eux()()}if(2&Z){const j=d.XpG();d.R7$(),d.Avn("disabled",j.isDisabled),d.R7$(2),d.JRh(j.calendar.monthTitle)}}const Te=[[["bs-datepicker-navigation-view"]],"*"],Fe=["bs-datepicker-navigation-view","*"];function Ke(Z,nt){1&Z&&d.nrm(0,"bs-current-date",0)}function Qe(Z,nt){1&Z&&d.nrm(0,"bs-timepicker")}function kt(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"td",3),d.bIt("click",function(){const Ye=M.eBV(j).$implicit,Ft=d.XpG(2);return M.Njj(Ft.viewYear(Ye))})("mouseenter",function(){const Ye=M.eBV(j).$implicit,Ft=d.XpG(2);return M.Njj(Ft.hoverYear(Ye,!0))})("mouseleave",function(){const Ye=M.eBV(j).$implicit,Ft=d.XpG(2);return M.Njj(Ft.hoverYear(Ye,!1))}),d.j41(1,"span"),d.EFF(2),d.k0s()()}if(2&Z){const j=nt.$implicit;d.AVh("disabled",j.isDisabled)("is-highlighted",j.isHovered),d.R7$(),d.AVh("selected",j.isSelected),d.R7$(),d.JRh(j.label)}}function ct(Z,nt){if(1&Z&&(d.j41(0,"tr"),d.Z7z(1,kt,3,7,"td",2,d.fX1),d.k0s()),2&Z){const j=nt.$implicit;d.R7$(),d.Dyx(j)}}function Pt(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"td",3),d.bIt("click",function(){const Ye=M.eBV(j).$implicit,Ft=d.XpG(2);return M.Njj(Ft.viewMonth(Ye))})("mouseenter",function(){const Ye=M.eBV(j).$implicit,Ft=d.XpG(2);return M.Njj(Ft.hoverMonth(Ye,!0))})("mouseleave",function(){const Ye=M.eBV(j).$implicit,Ft=d.XpG(2);return M.Njj(Ft.hoverMonth(Ye,!1))}),d.j41(1,"span"),d.EFF(2),d.k0s()()}if(2&Z){const j=nt.$implicit;d.AVh("disabled",j.isDisabled)("is-highlighted",j.isHovered),d.R7$(),d.AVh("selected",j.isSelected),d.R7$(),d.JRh(j.label)}}function Ze(Z,nt){if(1&Z&&(d.j41(0,"tr"),d.Z7z(1,Pt,3,7,"td",2,d.fX1),d.k0s()),2&Z){const j=nt.$implicit;d.R7$(),d.Dyx(j)}}const fe=["bsDatepickerDayDecorator",""];function ie(Z,nt){1&Z&&d.nrm(0,"th")}function Xe(Z,nt){if(1&Z&&(d.j41(0,"th",2),d.EFF(1),d.k0s()),2&Z){const j=nt.$index,pe=d.XpG();d.R7$(),d.SpI("",pe.calendar.weekdays[j]," ")}}function ve(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"span",6),d.bIt("click",function(){M.eBV(j);const Ye=d.XpG(2).$implicit,Ft=d.XpG();return M.Njj(Ft.selectWeek(Ye))}),d.EFF(1),d.k0s()}if(2&Z){const j=d.XpG(2).$index,pe=d.XpG();d.R7$(),d.JRh(pe.calendar.weekNumbers[j])}}function he(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"span",7),d.bIt("click",function(){M.eBV(j);const Ye=d.XpG(2).$implicit,Ft=d.XpG();return M.Njj(Ft.selectWeek(Ye))})("mouseenter",function(){M.eBV(j);const Ye=d.XpG(2).$implicit,Ft=d.XpG();return M.Njj(Ft.weekHoverHandler(Ye,!0))})("mouseleave",function(){M.eBV(j);const Ye=d.XpG(2).$implicit,Ft=d.XpG();return M.Njj(Ft.weekHoverHandler(Ye,!1))}),d.EFF(1),d.k0s()}if(2&Z){const j=d.XpG(2).$index,pe=d.XpG();d.R7$(),d.JRh(pe.calendar.weekNumbers[j])}}function Pe(Z,nt){if(1&Z&&(d.j41(0,"td",5),d.nVh(1,ve,2,1,"span"),d.nVh(2,he,2,1,"span"),d.k0s()),2&Z){const j=d.XpG(2);d.AVh("active-week",j.isWeekHovered),d.R7$(),d.vxM(j.isiOS?1:-1),d.R7$(),d.vxM(j.isiOS?-1:2)}}function Ve(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"span",10),d.bIt("click",function(){M.eBV(j);const Ye=d.XpG().$implicit,Ft=d.XpG(2);return M.Njj(Ft.selectDay(Ye))})("mouseenter",function(){M.eBV(j);const Ye=d.XpG().$implicit,Ft=d.XpG(2);return M.Njj(Ft.hoverDay(Ye,!0))})("mouseleave",function(){M.eBV(j);const Ye=d.XpG().$implicit,Ft=d.XpG(2);return M.Njj(Ft.hoverDay(Ye,!1))}),d.EFF(1),d.k0s()}if(2&Z){const j=d.XpG().$implicit;d.Y8G("tooltip",d.mNQ(j.tooltipText))("day",j),d.R7$(),d.SpI("",j.label," 3")}}function dt(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"span",11),d.bIt("click",function(){M.eBV(j);const Ye=d.XpG().$implicit,Ft=d.XpG(2);return M.Njj(Ft.selectDay(Ye))})("mouseenter",function(){M.eBV(j);const Ye=d.XpG().$implicit,Ft=d.XpG(2);return M.Njj(Ft.hoverDay(Ye,!0))})("mouseleave",function(){M.eBV(j);const Ye=d.XpG().$implicit,Ft=d.XpG(2);return M.Njj(Ft.hoverDay(Ye,!1))}),d.EFF(1),d.k0s()}if(2&Z){const j=d.XpG().$implicit;d.Y8G("day",j),d.R7$(),d.SpI("",j.label," 2")}}function Dt(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"span",12),d.bIt("click",function(){M.eBV(j);const Ye=d.XpG().$implicit,Ft=d.XpG(2);return M.Njj(Ft.selectDay(Ye))}),d.EFF(1),d.k0s()}if(2&Z){const j=d.XpG().$implicit;d.Y8G("day",j),d.R7$(),d.SpI("",j.label," 1")}}function wt(Z,nt){if(1&Z&&(d.j41(0,"td",4),d.nVh(1,Ve,2,4,"span",8),d.nVh(2,dt,2,2,"span",9),d.nVh(3,Dt,2,2,"span",9),d.k0s()),2&Z){const j=d.XpG(2);d.R7$(),d.vxM(!j.isiOS&&j.isShowTooltip?1:-1),d.R7$(),d.vxM(j.isiOS||j.isShowTooltip?-1:2),d.R7$(),d.vxM(j.isiOS?3:-1)}}function Yt(Z,nt){if(1&Z&&(d.j41(0,"tr"),d.nVh(1,Pe,3,4,"td",3),d.Z7z(2,wt,4,3,"td",4,d.fX1),d.k0s()),2&Z){const j=nt.$implicit,pe=d.XpG();d.R7$(),d.vxM(pe.options&&pe.options.showWeekNumbers?1:-1),d.R7$(),d.Dyx(j.days)}}const Tt=["startTP"];function qt(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"bs-days-calendar-view",10),d.nI1(1,"async"),d.bIt("onNavigate",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.navigateTo(Ye))})("onViewMode",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.setViewMode(Ye))})("onHover",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.dayHoverHandler(Ye))})("onHoverWeek",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.weekHoverHandler(Ye))})("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.daySelectHandler(Ye))}),d.k0s()}if(2&Z){const j=nt.$implicit,pe=d.XpG(3);d.AVh("bs-datepicker-multiple",pe.multipleCalendars),d.Y8G("calendar",j)("isDisabled",pe.isDatePickerDisabled)("options",d.bMT(1,5,pe.options$))}}function We(Z,nt){if(1&Z&&d.nrm(0,"timepicker",11,1),2&Z){const j=d.XpG(4);d.Y8G("disabled",j.isDatePickerDisabled)}}function yt(Z,nt){if(1&Z&&(d.j41(0,"div",9),d.nrm(1,"timepicker",11,0),d.nVh(3,We,2,1,"timepicker",11),d.k0s()),2&Z){const j=d.XpG(3);d.R7$(),d.Y8G("disabled",j.isDatePickerDisabled),d.R7$(2),d.vxM(j.isRangePicker?3:-1)}}function je(Z,nt){if(1&Z&&(d.j41(0,"div",5),d.Z7z(1,qt,2,7,"bs-days-calendar-view",8,d.fX1),d.nI1(3,"async"),d.k0s(),d.nVh(4,yt,4,2,"div",9)),2&Z){const j=d.XpG(2);d.R7$(),d.Dyx(d.bMT(3,1,j.daysCalendar$)),d.R7$(3),d.vxM(j.withTimepicker?4:-1)}}function St(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"bs-month-calendar-view",13),d.bIt("onNavigate",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.navigateTo(Ye))})("onViewMode",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.setViewMode(Ye))})("onHover",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.monthHoverHandler(Ye))})("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.monthSelectHandler(Ye))}),d.k0s()}if(2&Z){const j=nt.$implicit,pe=d.XpG(3);d.AVh("bs-datepicker-multiple",pe.multipleCalendars),d.Y8G("calendar",j)}}function me(Z,nt){if(1&Z&&(d.j41(0,"div",5),d.Z7z(1,St,1,3,"bs-month-calendar-view",12,d.fX1),d.nI1(3,"async"),d.k0s()),2&Z){const j=d.XpG(2);d.R7$(),d.Dyx(d.bMT(3,0,j.monthsCalendar))}}function rt(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"bs-years-calendar-view",13),d.bIt("onNavigate",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.navigateTo(Ye))})("onViewMode",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.setViewMode(Ye))})("onHover",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.yearHoverHandler(Ye))})("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.yearSelectHandler(Ye))}),d.k0s()}if(2&Z){const j=nt.$implicit,pe=d.XpG(3);d.AVh("bs-datepicker-multiple",pe.multipleCalendars),d.Y8G("calendar",j)}}function bt(Z,nt){if(1&Z&&(d.j41(0,"div",5),d.Z7z(1,rt,1,3,"bs-years-calendar-view",12,d.fX1),d.nI1(3,"async"),d.k0s()),2&Z){const j=d.XpG(2);d.R7$(),d.Dyx(d.bMT(3,0,j.yearsCalendar))}}function we(Z,nt){1&Z&&(d.j41(0,"div",6)(1,"button",14),d.EFF(2,"Apply"),d.k0s(),d.j41(3,"button",15),d.EFF(4,"Cancel"),d.k0s()())}function Mt(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",18)(1,"button",19),d.bIt("click",function(){M.eBV(j);const Ye=d.XpG(3);return M.Njj(Ye.setToday())}),d.EFF(2),d.k0s()()}if(2&Z){const j=d.XpG(3);d.AVh("today-left","left"===j.todayPos)("today-right","right"===j.todayPos)("today-center","center"===j.todayPos),d.R7$(2),d.JRh(j.todayBtnLbl)}}function p(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",20)(1,"button",19),d.bIt("click",function(){M.eBV(j);const Ye=d.XpG(3);return M.Njj(Ye.clearDate())}),d.EFF(2),d.k0s()()}if(2&Z){const j=d.XpG(3);d.AVh("clear-left","left"===j.clearPos)("clear-right","right"===j.clearPos)("clear-center","center"===j.clearPos),d.R7$(2),d.JRh(j.clearBtnLbl)}}function Bt(Z,nt){if(1&Z&&(d.j41(0,"div",6),d.nVh(1,Mt,3,7,"div",16),d.nVh(2,p,3,7,"div",17),d.k0s()),2&Z){const j=d.XpG(2);d.R7$(),d.vxM(j.showTodayBtn?1:-1),d.R7$(),d.vxM(j.showClearBtn?2:-1)}}function it(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",7)(1,"bs-custom-date-view",21),d.bIt("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(2);return M.Njj(Ft.setRangeOnCalendar(Ye))}),d.k0s()()}if(2&Z){const j=d.XpG(2);d.R7$(),d.Y8G("selectedRange",j.chosenRange)("ranges",j.customRanges)("customRangeLabel",j.customRangeBtnLbl)}}function Lt(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",2)(1,"div",3),d.bIt("@datepickerAnimation.done",function(){M.eBV(j);const Ye=d.XpG();return M.Njj(Ye.positionServiceEnable())}),d.j41(2,"div",4),d.nVh(3,je,5,3),d.nI1(4,"async"),d.vZN(5,me,4,2,"div",5)(6,bt,4,2,"div",5),d.k0s(),d.nVh(7,we,5,0,"div",6),d.nVh(8,Bt,3,2,"div",6),d.k0s(),d.nVh(9,it,2,3,"div",7),d.k0s()}if(2&Z){let j;const pe=d.XpG();d.Y8G("ngClass",pe.containerClass),d.R7$(),d.Y8G("@datepickerAnimation",pe.animationState),d.R7$(2),d.vxM("day"===(j=d.bMT(4,6,pe.viewM
1ode))?3:"month"===j?5:"year"===j?6:-1),d.R7$(4),d.vxM(-1),d.R7$(),d.vxM(pe.showTodayBtn||pe.showClearBtn?8:-1),d.R7$(),d.vxM(pe.customRanges&&pe.customRanges.length>0?9:-1)}}function Me(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"bs-days-calendar-view",10),d.nI1(1,"async"),d.bIt("onNavigate",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.navigateTo(Ye))})("onViewMode",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.setViewMode(Ye))})("onHover",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.dayHoverHandler(Ye))})("onHoverWeek",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.weekHoverHandler(Ye))})("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.daySelectHandler(Ye))}),d.k0s()}if(2&Z){const j=nt.$implicit,pe=d.XpG(3);d.AVh("bs-datepicker-multiple",pe.multipleCalendars),d.Y8G("calendar",j)("isDisabled",pe.isDatePickerDisabled)("options",d.bMT(1,5,pe.options$))}}function le(Z,nt){if(1&Z&&d.nrm(0,"timepicker",11,1),2&Z){const j=d.XpG(4);d.Y8G("disabled",j.isDatePickerDisabled)}}function $(Z,nt){if(1&Z&&(d.j41(0,"div",9),d.nrm(1,"timepicker",11,0),d.nVh(3,le,2,1,"timepicker",11),d.k0s()),2&Z){const j=d.XpG(3);d.R7$(),d.Y8G("disabled",j.isDatePickerDisabled),d.R7$(2),d.vxM(j.isRangePicker?3:-1)}}function Ee(Z,nt){if(1&Z&&(d.j41(0,"div",5),d.Z7z(1,Me,2,7,"bs-days-calendar-view",8,d.fX1),d.nI1(3,"async"),d.k0s(),d.nVh(4,$,4,2,"div",9)),2&Z){const j=d.XpG(2);d.R7$(),d.Dyx(d.bMT(3,1,j.daysCalendar$)),d.R7$(3),d.vxM(j.withTimepicker?4:-1)}}function Et(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"bs-month-calendar-view",13),d.bIt("onNavigate",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.navigateTo(Ye))})("onViewMode",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.setViewMode(Ye))})("onHover",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.monthHoverHandler(Ye))})("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.monthSelectHandler(Ye))}),d.k0s()}if(2&Z){const j=nt.$implicit,pe=d.XpG(3);d.AVh("bs-datepicker-multiple",pe.multipleCalendars),d.Y8G("calendar",j)}}function dn(Z,nt){if(1&Z&&(d.j41(0,"div",5),d.Z7z(1,Et,1,3,"bs-month-calendar-view",12,d.fX1),d.nI1(3,"async"),d.k0s()),2&Z){const j=d.XpG(2);d.R7$(),d.Dyx(d.bMT(3,0,j.monthsCalendar))}}function an(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"bs-years-calendar-view",13),d.bIt("onNavigate",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.navigateTo(Ye))})("onViewMode",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.setViewMode(Ye))})("onHover",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.yearHoverHandler(Ye))})("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.yearSelectHandler(Ye))}),d.k0s()}if(2&Z){const j=nt.$implicit,pe=d.XpG(3);d.AVh("bs-datepicker-multiple",pe.multipleCalendars),d.Y8G("calendar",j)}}function Nt(Z,nt){if(1&Z&&(d.j41(0,"div",5),d.Z7z(1,an,1,3,"bs-years-calendar-view",12,d.fX1),d.nI1(3,"async"),d.k0s()),2&Z){const j=d.XpG(2);d.R7$(),d.Dyx(d.bMT(3,0,j.yearsCalendar))}}function at(Z,nt){1&Z&&(d.j41(0,"div",6)(1,"button",14),d.EFF(2,"Apply"),d.k0s(),d.j41(3,"button",15),d.EFF(4,"Cancel"),d.k0s()())}function st(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",18)(1,"button",19),d.bIt("click",function(){M.eBV(j);const Ye=d.XpG(3);return M.Njj(Ye.setToday())}),d.EFF(2),d.k0s()()}if(2&Z){const j=d.XpG(3);d.AVh("today-left","left"===j.todayPos)("today-right","right"===j.todayPos)("today-center","center"===j.todayPos),d.R7$(2),d.JRh(j.todayBtnLbl)}}function zt(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",20)(1,"button",19),d.bIt("click",function(){M.eBV(j);const Ye=d.XpG(3);return M.Njj(Ye.clearDate())}),d.EFF(2),d.k0s()()}if(2&Z){const j=d.XpG(3);d.AVh("clear-left","left"===j.clearPos)("clear-right","right"===j.clearPos)("clear-center","center"===j.clearPos),d.R7$(2),d.JRh(j.clearBtnLbl)}}function Dn(Z,nt){if(1&Z&&(d.j41(0,"div",6),d.nVh(1,st,3,7,"div",16),d.nVh(2,zt,3,7,"div",17),d.k0s()),2&Z){const j=d.XpG(2);d.R7$(),d.vxM(j.showTodayBtn?1:-1),d.R7$(),d.vxM(j.showClearBtn?2:-1)}}function hn(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",7)(1,"bs-custom-date-view",21),d.bIt("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(2);return M.Njj(Ft.setRangeOnCalendar(Ye))}),d.k0s()()}if(2&Z){const j=d.XpG(2);d.R7$(),d.Y8G("selectedRange",j.chosenRange)("ranges",j.customRanges)("customRangeLabel",j.customRangeBtnLbl)}}function Vn(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",2)(1,"div",3),d.bIt("@datepickerAnimation.done",function(){M.eBV(j);const Ye=d.XpG();return M.Njj(Ye.positionServiceEnable())}),d.j41(2,"div",4),d.nVh(3,Ee,5,3),d.nI1(4,"async"),d.vZN(5,dn,4,2,"div",5)(6,Nt,4,2,"div",5),d.k0s(),d.nVh(7,at,5,0,"div",6),d.nVh(8,Dn,3,2,"div",6),d.k0s(),d.nVh(9,hn,2,3,"div",7),d.k0s()}if(2&Z){let j;const pe=d.XpG();d.Y8G("ngClass",pe.containerClass),d.R7$(),d.Y8G("@datepickerAnimation",pe.animationState),d.R7$(2),d.vxM("day"===(j=d.bMT(4,6,pe.viewM
1ode))?3:"month"===j?5:"year"===j?6:-1),d.R7$(4),d.vxM(-1),d.R7$(),d.vxM(pe.showTodayBtn||pe.showClearBtn?8:-1),d.R7$(),d.vxM(pe.customRanges&&pe.customRanges.length>0?9:-1)}}const Pn=["endTP"];function xn(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"bs-days-calendar-view",10),d.nI1(1,"async"),d.bIt("onNavigate",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.navigateTo(Ye))})("onViewMode",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.setViewMode(Ye))})("onHover",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.dayHoverHandler(Ye))})("onHoverWeek",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.weekHoverHandler(Ye))})("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.daySelectHandler(Ye))}),d.k0s()}if(2&Z){const j=nt.$implicit,pe=d.XpG(3);d.AVh("bs-datepicker-multiple",pe.multipleCalendars),d.Y8G("calendar",j)("isDisabled",pe.isDatePickerDisabled)("options",d.bMT(1,5,pe.options$))}}function ei(Z,nt){if(1&Z&&d.nrm(0,"timepicker",11,1),2&Z){const j=d.XpG(4);d.Y8G("disabled",j.isDatePickerDisabled)}}function ci(Z,nt){if(1&Z&&(d.j41(0,"div",9),d.nrm(1,"timepicker",11,0),d.nVh(3,ei,2,1,"timepicker",11),d.k0s()),2&Z){const j=d.XpG(3);d.R7$(),d.Y8G("disabled",j.isDatePickerDisabled),d.R7$(2),d.vxM(j.isRangePicker?3:-1)}}function ri(Z,nt){if(1&Z&&(d.j41(0,"div",5),d.Z7z(1,xn,2,7,"bs-days-calendar-view",8,d.fX1),d.nI1(3,"async"),d.k0s(),d.nVh(4,ci,4,2,"div",9)),2&Z){const j=d.XpG(2);d.R7$(),d.Dyx(d.bMT(3,1,j.daysCalendar$)),d.R7$(3),d.vxM(j.withTimepicker?4:-1)}}function fi(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"bs-month-calendar-view",13),d.bIt("onNavigate",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.navigateTo(Ye))})("onViewMode",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.setViewMode(Ye))})("onHover",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.monthHoverHandler(Ye))})("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.monthSelectHandler(Ye))}),d.k0s()}if(2&Z){const j=nt.$implicit,pe=d.XpG(3);d.AVh("bs-datepicker-multiple",pe.multipleCalendars),d.Y8G("calendar",j)}}function so(Z,nt){if(1&Z&&(d.j41(0,"div",5),d.Z7z(1,fi,1,3,"bs-month-calendar-view",12,d.fX1),d.nI1(3,"async"),d.k0s()),2&Z){const j=d.XpG(2);d.R7$(),d.Dyx(d.bMT(3,0,j.monthsCalendar))}}function Li(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"bs-years-calendar-view",13),d.bIt("onNavigate",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.navigateTo(Ye))})("onViewMode",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.setViewMode(Ye))})("onHover",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.yearHoverHandler(Ye))})("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.yearSelectHandler(Ye))}),d.k0s()}if(2&Z){const j=nt.$implicit,pe=d.XpG(3);d.AVh("bs-datepicker-multiple",pe.multipleCalendars),d.Y8G("calendar",j)}}function Cn(Z,nt){if(1&Z&&(d.j41(0,"div",5),d.Z7z(1,Li,1,3,"bs-years-calendar-view",12,d.fX1),d.nI1(3,"async"),d.k0s()),2&Z){const j=d.XpG(2);d.R7$(),d.Dyx(d.bMT(3,0,j.yearsCalendar))}}function ti(Z,nt){1&Z&&(d.j41(0,"div",6)(1,"button",14),d.EFF(2,"Apply"),d.k0s(),d.j41(3,"button",15),d.EFF(4,"Cancel"),d.k0s()())}function si(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",18)(1,"button",19),d.bIt("click",function(){M.eBV(j);const Ye=d.XpG(3);return M.Njj(Ye.setToday())}),d.EFF(2),d.k0s()()}if(2&Z){const j=d.XpG(3);d.AVh("today-left","left"===j.todayPos)("today-right","right"===j.todayPos)("today-center","center"===j.todayPos),d.R7$(2),d.JRh(j.todayBtnLbl)}}function Ei(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",20)(1,"button",19),d.bIt("click",function(){M.eBV(j);const Ye=d.XpG(3);return M.Njj(Ye.clearDate())}),d.EFF(2),d.k0s()()}if(2&Z){const j=d.XpG(3);d.AVh("clear-left","left"===j.clearPos)("clear-right","right"===j.clearPos)("clear-center","center"===j.clearPos),d.R7$(2),d.JRh(j.clearBtnLbl)}}function An(Z,nt){if(1&Z&&(d.j41(0,"div",6),d.nVh(1,si,3,7,"div",16),d.nVh(2,Ei,3,7,"div",17),d.k0s()),2&Z){const j=d.XpG(2);d.R7$(),d.vxM(j.showTodayBtn?1:-1),d.R7$(),d.vxM(j.showClearBtn?2:-1)}}function Ki(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",7)(1,"bs-custom-date-view",21),d.bIt("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(2);return M.Njj(Ft.setRangeOnCalendar(Ye))}),d.k0s()()}if(2&Z){const j=d.XpG(2);d.R7$(),d.Y8G("selectedRange",j.chosenRange)("ranges",j.customRanges)("customRangeLabel",j.customRangeBtnLbl)}}function Hi(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",2)(1,"div",3),d.bIt("@datepickerAnimation.done",function(){M.eBV(j);const Ye=d.XpG();return M.Njj(Ye.positionServiceEnable())}),d.j41(2,"div",4),d.nVh(3,ri,5,3),d.nI1(4,"async"),d.vZN(5,so,4,2,"div",5)(6,Cn,4,2,"div",5),d.k0s(),d.nVh(7,ti,5,0,"div",6),d.nVh(8,An,3,2,"div",6),d.k0s(),d.nVh(9,Ki,2,3,"div",7),d.k0s()}if(2&Z){let j;const pe=d.XpG();d.Y8G("ngClass",pe.containerClass),d.R7$(),d.Y8G("@datepickerAnimation",pe.animationState),d.R7$(2),d.vxM("day"===(j=d.bMT(4,6,pe.viewM
1ode))?3:"month"===j?5:"year"===j?6:-1),d.R7$(4),d.vxM(-1),d.R7$(),d.vxM(pe.showTodayBtn||pe.showClearBtn?8:-1),d.R7$(),d.vxM(pe.customRanges&&pe.customRanges.length>0?9:-1)}}function Wi(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"bs-days-calendar-view",10),d.nI1(1,"async"),d.bIt("onNavigate",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.navigateTo(Ye))})("onViewMode",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.setViewMode(Ye))})("onHover",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.dayHoverHandler(Ye))})("onHoverWeek",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.weekHoverHandler(Ye))})("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.daySelectHandler(Ye))}),d.k0s()}if(2&Z){const j=nt.$implicit,pe=d.XpG(3);d.AVh("bs-datepicker-multiple",pe.multipleCalendars),d.Y8G("calendar",j)("isDisabled",pe.isDatePickerDisabled)("options",d.bMT(1,5,pe.options$))}}function qi(Z,nt){if(1&Z&&d.nrm(0,"timepicker",11,1),2&Z){const j=d.XpG(4);d.Y8G("disabled",j.isDatePickerDisabled)}}function eo(Z,nt){if(1&Z&&(d.j41(0,"div",9),d.nrm(1,"timepicker",11,0),d.nVh(3,qi,2,1,"timepicker",11),d.k0s()),2&Z){const j=d.XpG(3);d.R7$(),d.Y8G("disabled",j.isDatePickerDisabled),d.R7$(2),d.vxM(j.isRangePicker?3:-1)}}function Yi(Z,nt){if(1&Z&&(d.j41(0,"div",5),d.Z7z(1,Wi,2,7,"bs-days-calendar-view",8,d.fX1),d.nI1(3,"async"),d.k0s(),d.nVh(4,eo,4,2,"div",9)),2&Z){const j=d.XpG(2);d.R7$(),d.Dyx(d.bMT(3,1,j.daysCalendar$)),d.R7$(3),d.vxM(j.withTimepicker?4:-1)}}function En(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"bs-month-calendar-view",13),d.bIt("onNavigate",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.navigateTo(Ye))})("onViewMode",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.setViewMode(Ye))})("onHover",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.monthHoverHandler(Ye))})("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.monthSelectHandler(Ye))}),d.k0s()}if(2&Z){const j=nt.$implicit,pe=d.XpG(3);d.AVh("bs-datepicker-multiple",pe.multipleCalendars),d.Y8G("calendar",j)}}function li(Z,nt){if(1&Z&&(d.j41(0,"div",5),d.Z7z(1,En,1,3,"bs-month-calendar-view",12,d.fX1),d.nI1(3,"async"),d.k0s()),2&Z){const j=d.XpG(2);d.R7$(),d.Dyx(d.bMT(3,0,j.monthsCalendar))}}function ln(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"bs-years-calendar-view",13),d.bIt("onNavigate",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.navigateTo(Ye))})("onViewMode",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.setViewMode(Ye))})("onHover",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.yearHoverHandler(Ye))})("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(3);return M.Njj(Ft.yearSelectHandler(Ye))}),d.k0s()}if(2&Z){const j=nt.$implicit,pe=d.XpG(3);d.AVh("bs-datepicker-multiple",pe.multipleCalendars),d.Y8G("calendar",j)}}function Tn(Z,nt){if(1&Z&&(d.j41(0,"div",5),d.Z7z(1,ln,1,3,"bs-years-calendar-view",12,d.fX1),d.nI1(3,"async"),d.k0s()),2&Z){const j=d.XpG(2);d.R7$(),d.Dyx(d.bMT(3,0,j.yearsCalendar))}}function _t(Z,nt){1&Z&&(d.j41(0,"div",6)(1,"button",14),d.EFF(2,"Apply"),d.k0s(),d.j41(3,"button",15),d.EFF(4,"Cancel"),d.k0s()())}function Wt(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",18)(1,"button",19),d.bIt("click",function(){M.eBV(j);const Ye=d.XpG(3);return M.Njj(Ye.setToday())}),d.EFF(2),d.k0s()()}if(2&Z){const j=d.XpG(3);d.AVh("today-left","left"===j.todayPos)("today-right","right"===j.todayPos)("today-center","center"===j.todayPos),d.R7$(2),d.JRh(j.todayBtnLbl)}}function ye(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",20)(1,"button",19),d.bIt("click",function(){M.eBV(j);const Ye=d.XpG(3);return M.Njj(Ye.clearDate())}),d.EFF(2),d.k0s()()}if(2&Z){const j=d.XpG(3);d.AVh("clear-left","left"===j.clearPos)("clear-right","right"===j.clearPos)("clear-center","center"===j.clearPos),d.R7$(2),d.JRh(j.clearBtnLbl)}}function lt(Z,nt){if(1&Z&&(d.j41(0,"div",6),d.nVh(1,Wt,3,7,"div",16),d.nVh(2,ye,3,7,"div",17),d.k0s()),2&Z){const j=d.XpG(2);d.R7$(),d.vxM(j.showTodayBtn?1:-1),d.R7$(),d.vxM(j.showClearBtn?2:-1)}}function Vt(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",7)(1,"bs-custom-date-view",21),d.bIt("onSelect",function(Ye){M.eBV(j);const Ft=d.XpG(2);return M.Njj(Ft.setRangeOnCalendar(Ye))}),d.k0s()()}if(2&Z){const j=d.XpG(2);d.R7$(),d.Y8G("selectedRange",j.chosenRange)("ranges",j.customRanges)("customRangeLabel",j.customRangeBtnLbl)}}function On(Z,nt){if(1&Z){const j=d.RV6();d.j41(0,"div",2)(1,"div",3),d.bIt("@datepickerAnimation.done",function(){M.eBV(j);const Ye=d.XpG();return M.Njj(Ye.positionServiceEnable())}),d.j41(2,"div",4),d.nVh(3,Yi,5,3),d.nI1(4,"async"),d.vZN(5,li,4,2,"div",5)(6,Tn,4,2,"div",5),d.k0s(),d.nVh(7,_t,5,0,"div",6),d.nVh(8,lt,3,2,"div",6),d.k0s(),d.nVh(9,Vt,2,3,"div",7),d.k0s()}if(2&Z){let j;const pe=d.XpG();d.Y8G("ngClass",pe.containerClass),d.R7$(),d.Y8G("@datepickerAnimation",pe.animationState),d.R7$(2),d.vxM("day"===(j=d.bMT(4,6,pe.viewM
1ode))?3:"month"===j?5:"year"===j?6:-1),d.R7$(4),d.vxM(-1),d.R7$(),d.vxM(pe.showTodayBtn||pe.showClearBtn?8:-1),d.R7$(),d.vxM(pe.customRanges&&pe.customRanges.length>0?9:-1)}}let Bn=(()=>{class Z{constructor(){this.adaptivePosition=!1,this.useUtc=!1,this.isAnimated=!1,this.startView="day",this.returnFocusToInput=!1,this.containerClass="theme-green",this.displayMonths=1,this.showWeekNumbers=!0,this.dateInputFormat="L",this.rangeSeparator=" - ",this.rangeInputFormat="L",this.monthTitle="MMMM",this.yearTitle="YYYY",this.dayLabel="D",this.monthLabel="MMMM",this.yearLabel="YYYY",this.weekNumbers="w",this.showTodayButton=!1,this.showClearButton=!1,this.todayPosition="center",this.clearPosition="right",this.todayButtonLabel="Today",this.clearButtonLabel="Clear",this.customRangeButtonLabel="Custom Range",this.withTimepicker=!1,this.allowedPositions=["top","bottom"],this.keepDatepickerOpened=!1,this.keepDatesOutOfRules=!1}static{this.\u0275fac=function(pe){return new(pe||Z)}}static{this.\u0275prov=M.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}}return Z})();const Qn="220ms cubic-bezier(0, 0, 0.2, 1)",Ni=(0,te.hZ)("datepickerAnimation",[(0,te.wk)("animated-down",(0,te.iF)({height:"*",overflow:"hidden"})),(0,te.kY)("* => animated-down",[(0,te.iF)({height:0,overflow:"hidden"}),(0,te.i0)(Qn)]),(0,te.wk)("animated-up",(0,te.iF)({height:"*",overflow:"hidden"})),(0,te.kY)("* => animated-up",[(0,te.iF)({height:"*",overflow:"hidden"}),(0,te.i0)(Qn)]),(0,te.kY)("* => unanimated",(0,te.i0)("0s"))]);class ht{constructor(){this.containerClass="",this.customRanges=[],this.chosenRange=[],this._daysCalendarSub=new F.yU,this.selectedTimeSub=new F.yU}set minDate(nt){this._effects?.setMinDate(nt)}set maxDate(nt){this._effects?.setMaxDate(nt)}set daysDisabled(nt){this._effects?.setDaysDisabled(nt)}set datesDisabled(nt){this._effects?.setDatesDisabled(nt)}set datesEnabled(nt){this._effects?.setDatesEnabled(nt)}set isDisabled(nt){this._effects?.setDisabled(nt)}set dateCustomClasses(nt){this._effects?.setDateCustomClasses(nt)}set dateTooltipTexts(nt){this._effects?.setDateTooltipTexts(nt)}set daysCalendar$(nt){this._daysCalendar$=nt,this._daysCalendarSub.unsubscribe(),this._daysCalendarSub.add(this._daysCalendar$.subscribe(j=>{this.multipleCalendars=!!j&&j.length>1}))}get daysCalendar$(){return this._daysCalendar$}setViewMode(nt){}navigateTo(nt){}dayHoverHandler(nt){}weekHoverHandler(nt){}monthHoverHandler(nt){}yearHoverHandler(nt){}timeSelectHandler(nt,j){}daySelectHandler(nt){}monthSelectHandler(nt){}yearSelectHandler(nt){}setRangeOnCalendar(nt){}setToday(){}clearDate(){}_stopPropagation(nt){nt.stopPropagation()}}let At=(()=>{class Z{static{this.CALCULATE="[datepicker] calculate dates matrix"}static{this.FORMAT="[datepicker] format datepicker values"}static{this.FLAG="[datepicker] set flags"}static{this.SELECT="[datepicker] select date"}static{this.NAVIGATE_OFFSET="[datepicker] shift view date"}static{this.NAVIGATE_TO="[datepicker] change view date"}static{this.SET_OPTIONS="[datepicker] update render options"}static{this.HOVER="[datepicker] hover date"}static{this.CHANGE_VIEWMODE="[datepicker] switch view mode"}static{this.SET_MIN_DATE="[datepicker] set min date"}static{this.SET_MAX_DATE="[datepicker] set max date"}static{this.SET_DAYSDISABLED="[datepicker] set days disabled"}static{this.SET_DATESDISABLED="[datepicker] set dates disabled"}static{this.SET_DATESENABLED="[datepicker] set dates enabled"}static{this.SET_IS_DISABLED="[datepicker] set is disabled"}static{this.SET_DATE_CUSTOM_CLASSES="[datepicker] set date custom classes"}static{this.SET_DATE_TOOLTIP_TEXTS="[datepicker] set date tooltip texts"}static{this.SET_LOCALE="[datepicker] set datepicker locale"}static{this.SELECT_TIME="[datepicker] select time"}static{this.SELECT_RANGE="[daterangepicker] select dates range"}calculate(){return{type:Z.CALCULATE}}format(){return{type:Z.FORMAT}}flag(){return{type:Z.FLAG}}select(j){return{type:Z.SELECT,payload:j}}selectTime(j,pe){return{type:Z.SELECT_TIME,payload:{date:j,index:pe}}}changeViewMode(j){return{type:Z.CHANGE_VIEWMODE,payload:j}}navigateTo(j){return{type:Z.NAVIGATE_TO,payload:j}}navigateStep(j){return{type:Z.NAVIGATE_OFFSET,payload:j}}setOptions(j){return{type:Z.SET_OPTIONS,payload:j}}selectRange(j){return{type:Z.SELECT_RANGE,payload:j}}hoverDay(j){return{type:Z.HOVER,payload:j.isHovered?j.cell.date:null}}minDate(j){return{type:Z.SET_MIN_DATE,payload:j}}maxDate(j){return{type:Z.SET_MAX_DATE,payload:j}}daysDisabled(j){return{type:Z.SET_DAYSDISABLED,payload:j}}datesDisabled(j){return{type:Z.SET_DATESDISABLED,payload:j}}datesEnabled(j){return{type:Z.SET_DATESENABLED,payload:j}}isDisabled(j){return{type:Z.SET_IS_DISABLED,payload:j}}setDateCustomClasses(j){return{type:Z.SET_DATE_CUSTOM_CLASSES,payload:j}}setDateTooltipTexts(j){return{type:Z.SET_DATE_TOOLTIP_TEXTS,payload:j}}setLocale(j){return{type:Z.SET_LOCALE,payload:j}}static{this.\u0275fac=function(pe){return new(pe||Z)}}static{this.\u0275prov=M.jDH({token:Z,factory:Z.\u0275fac,providedIn:"platform"})}}return Z})(),jt=(()=>{class Z{constructor(){this._defaultLocale="en",this._locale=new ee.t(this._defaultLocale),this._localeChange=this._locale.asObservable()}get locale(){return this._locale}get localeChange(){return this._localeChange}get currentLocale(){return this._locale.getValue()}use(j){j!==this.currentLocale&&this._locale.next(j)}static{this.\u0275fac=function(pe){return new(pe||Z)}}static{this.\u0275prov=M.jDH({token:Z,factory:Z.\u0275fac,providedIn:"platform"})}}return Z})(),nn=(()=>{class Z{constructor(j,pe){this._actions=j,this._localeService=pe,this._subs=[]}init(j){return this._store=j,this}setValue(j){this._store?.dispatch(this._actions.select(j))}setRangeValue(j){this._store?.dispatch(this._actions.selectRange(j))}setMinDate(j){return this._store?.dispatch(this._actions.minDate(j)),this}setMaxDate(j){return this._store?.dispatch(this._actions.maxDate(j)),this}setDaysDisabled(j){return this._store?.dispatch(this._actions.daysDisabled(j)),this}setDatesDisabled(j){return this._store?.dispatch(this._actions.datesDisabled(j)),this}setDatesEnabled(j){return this._store?.dispatch(this._actions.datesEnabled(j)),this}setDisabled(j){return this._store?.dispatch(this._actions.isDisabled(j)),this}setDateCustomClasses(j){return this._store?.dispatch(this._actions.setDateCustomClasses(j)),this}setDateTooltipTexts(j){return this._store?.dispatch(this._actions.setDateTooltipTexts(j)),this}setOptions(j){const pe=Object.assign({locale:this._localeService.currentLocale},j);return this._store?.dispatch(this._actions.setOptions(pe)),this}setBindings(j){return this._store?(j.selectedTime=this._store.select(pe=>pe.selectedTime).pipe((0,D.p)(pe=>!!pe)),j.daysCalendar$=this._store.select(pe=>pe.flaggedMonths).pipe((0,D.p)(pe=>!!pe)),j.monthsCalendar=this._store.select(pe=>pe.flaggedMonthsCalendar).pipe((0,D.p)(pe=>!!pe)),j.yearsCalendar=this._store.select(pe=>pe.yearsCalendarFlagged).pipe((0,D.p)(pe=>!!pe)),j.viewMode=this._store.select(pe=>pe.view?.mode),j.options$=(0,J.z)([this._store.select(pe=>pe.showWeekNumbers),this._store.select(pe=>pe.displayMonths)]).pipe((0,w.T)(pe=>({showWeekNumbers:pe[0],displayMonths:pe[1]}))),this):this}
1setEventHandlers(j){return j.setViewMode=pe=>{this._store?.dispatch(this._actions.changeViewMode(pe))},j.navigateTo=pe=>{this._store?.dispatch(this._actions.navigateStep(pe.step))},j.dayHoverHandler=pe=>{const Ye=pe.cell;Ye.isOtherMonth||Ye.isDisabled||(this._store?.dispatch(this._actions.hoverDay(pe)),Ye.isHovered=pe.isHovered)},j.monthHoverHandler=pe=>{pe.cell.isHovered=pe.isHovered},j.yearHoverHandler=pe=>{pe.cell.isHovered=pe.isHovered},this}registerDatepickerSideEffects(){return this._store?(this._subs.push(this._store.select(j=>j.view).subscribe(()=>{this._store?.dispatch(this._actions.calculate())})),this._subs.push(this._store.select(j=>j.monthsModel).pipe((0,D.p)(j=>!!j)).subscribe(()=>this._store?.dispatch(this._actions.format()))),this._subs.push(this._store.select(j=>j.formattedMonths).pipe((0,D.p)(j=>!!j)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(j=>j.selectedDate).pipe((0,D.p)(j=>!!j)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(j=>j.selectedRange).pipe((0,D.p)(j=>!!j)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(j=>j.monthsCalendar).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(j=>j.yearsCalendarModel).pipe((0,D.p)(j=>!!j)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(j=>j.hoveredDate).pipe((0,D.p)(j=>!!j)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(j=>j.dateCustomClasses).pipe((0,D.p)(j=>!!j)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(j=>j.dateTooltipTexts).pipe((0,D.p)(j=>!!j)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._localeService.localeChange.subscribe(j=>this._store?.dispatch(this._actions.setLocale(j)))),this):this}destroy(){for(const j of this._subs)j.unsubscribe()}static{this.\u0275fac=function(pe){return new(pe||Z)(M.KVO(At),M.KVO(jt))}}static{this.\u0275prov=M.jDH({token:Z,factory:Z.\u0275fac,providedIn:"platform"})}}return Z})();const Xn={date:new Date,mode:"day"},bi=Object.assign(new Bn,{locale:"en",view:Xn,selectedRange:[],selectedTime:[],monthViewOptions:{width:7,height:6}});function vn(Z,nt,j){const pe=nt&&(0,N.Y8)((0,N.pJ)(Z,"month"),nt,"day"),Ye=j&&(0,N.dS)((0,N.GH)(Z,"month"),j,"day");return pe||Ye||!1}function Hn(Z,nt,j){const pe=nt&&(0,N.Y8)((0,N.pJ)(Z,"year"),nt,"day"),Ye=j&&(0,N.dS)((0,N.GH)(Z,"year"),j,"day");return pe||Ye||!1}function Kn(Z,nt,j){return!!(nt&&(0,N.cy)(nt)&&nt.length)&&(j&&"year"===j&&!nt[0].getDate()?nt.some(pe=>(0,N.Ft)(Z,pe,"year")):nt.some(pe=>(0,N.Ft)(Z,pe,"date")))}function ai(Z,nt,j){return!!(nt&&(0,N.cy)(nt)&&nt.length)&&!nt.some(pe=>(0,N.Ft)(Z,pe,j||"date"))}function Pi(Z,nt=0){const j=Z&&Z.yearsCalendarModel&&Z.yearsCalendarModel[nt];return j?.years[0]&&j.years[0][0]&&j.years[0][0].date}function oi(Z,nt){return!Z||!nt||!Z.length&&!Z[0].value||Z.forEach(j=>(!j||!j.value||j.value instanceof Date||!(j.value instanceof Array&&j.value.length)||(j.value=wi(j.value,nt)),Z)),Z}function mi(Z,nt){return!Z||!nt||Z instanceof Array&&!Z.length||Z instanceof Date?Z:wi(Z,nt)}function wi(Z,nt){return Z instanceof Array?Z.map(pe=>pe&&((0,N.dS)(pe,nt,"date")&&(pe=nt),pe)):Z}function _i(Z){return Z&&Ti(Z)}function hi(Z){return Z?.length&&Z.map(nt=>nt&&Ti(nt)),Z}function Ti(Z){const nt=new Date;return Z.setMilliseconds(nt.getMilliseconds()),Z.setSeconds(nt.getSeconds()),Z.setMinutes(nt.getMinutes()),Z.setHours(nt.getHours()),Z}function to(Z,nt){let j=Z.initialDate;const pe=new Array(Z.height);for(let Ye=0;Ye<Z.height;Ye++){pe[Ye]=new Array(Z.width);for(let Ft=0;Ft<Z.width;Ft++)pe[Ye][Ft]=nt(j),j=(0,N.n6)(j,Z.shift)}return pe}function lo(Z,nt){const j=(0,N.mW)(Z),pe=function Fi(Z,nt){if((0,N.K6)(Z,nt.firstDayOfWeek))return Z;const pe=function Ut(Z,nt){const j=Number(nt);if(isNaN(j))return 0;if(0===j)return Z;const pe=Z-j%7;return pe<0?pe+7:pe}((0,N.Py)(Z),nt.firstDayOfWeek);return(0,N.n6)(Z,{day:-pe})}(j,nt);return{daysMatrix:to({width:nt.width||0,height:nt.height||0,initialDate:pe,shift:{day:1}},Nn=>Nn),month:j}}function Qt(Z,nt,j){return Z.map(pe=>pe[0]?(0,N.Yq)(pe[0],nt,j):"")}function cn(Z){const nt=(0,N.JK)(Z),j=nt.weekdaysShort(),pe=nt.firstDayOfWeek();return[...j.slice(pe),...j.slice(0,pe)]}function Zn(Z,nt){return!nt||Z>=nt}const fo={month:1};
1function zi(Z,nt){return{months:to({width:3,height:4,initialDate:(0,N.GH)(Z,"year"),shift:fo},Ft=>({date:Ft,label:(0,N.Yq)(Ft,nt.monthLabel,nt.locale)})),monthTitle:"",yearTitle:(0,N.Yq)(Z,nt.yearTitle,nt.locale),hideRightArrow:!1,hideLeftArrow:!1,disableRightArrow:!1,disableLeftArrow:!1}}const Ie=-1*(Math.floor(8)-1),Ot={year:1};function ze(Z,nt,j){const pe=function pt(Z,nt){return nt&&Z.getFullYear()>=nt.getFullYear()&&Z.getFullYear()<nt.getFullYear()+16?nt:(0,N.n6)(Z,{year:Ie})}(Z,j),Ft=to({width:4,height:4,initialDate:pe,shift:Ot},Ji=>({date:Ji,label:(0,N.Yq)(Ji,nt.yearLabel,nt.locale)})),Nn=function on(Z,nt){return`${(0,N.Yq)(Z[0][0].date,nt.yearTitle,nt.locale)} - ${(0,N.Yq)(Z[3][3].date,nt.yearTitle,nt.locale)}`}(Ft,nt);return{years:Ft,monthTitle:"",yearTitle:Nn,hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}function Ge(Z,nt){!Z||!isNaN(Z.getTime())||(Z.setHours(nt.getHours()),Z.setMinutes(nt.getMinutes()),Z.setSeconds(nt.getSeconds()),Z.setMilliseconds(nt.getMilliseconds()))}function qe(Z=bi,nt){switch(nt.type){case At.CALCULATE:return function xt(Z){if(!Z.view)return Z;let nt;nt=Z.displayOneMonthRange&&ki(Z.view.date,Z.minDate,Z.maxDate)?1:Z.displayMonths||1;let j=Z.view.date;if("day"===Z.view.mode&&Z.monthViewOptions){Z.showPreviousMonth&&Z.selectedRange&&0===Z.selectedRange.length&&(j=(0,N.n6)(j,{month:-1})),Z.monthViewOptions.firstDayOfWeek=(0,N.JK)(Z.locale).firstDayOfWeek();let pe=new Array(nt);for(let Ye=0;Ye<nt;Ye++)pe[Ye]=lo(j,Z.monthViewOptions),j=(0,N.n6)(j,{month:1});if(Z.preventChangeToNextMonth&&Z.flaggedMonths&&Z.hoveredDate){const Ye=lo(Z.view.date,Z.monthViewOptions);Z.flaggedMonths.length&&Z.flaggedMonths[1].month.getMonth()===Ye.month.getMonth()&&(pe=Z.flaggedMonths.map(Ft=>Z.monthViewOptions?lo(Ft.month,Z.monthViewOptions):null).filter(Ft=>null!==Ft))}return Object.assign({},Z,{monthsModel:pe})}if("month"===Z.view.mode){const pe=new Array(nt);for(let Ye=0;Ye<nt;Ye++)pe[Ye]=zi(j,Wn(Z)),j=(0,N.n6)(j,{year:1});return Object.assign({},Z,{monthsCalendar:pe})}if("year"===Z.view.mode){const pe=new Array(nt);for(let Ye=0;Ye<nt;Ye++)pe[Ye]=ze(j,Wn(Z),"year"===Z.minMode?Pi(Z,Ye):void 0),j=(0,N.n6)(j,{year:16});return Object.assign({},Z,{yearsCalendarModel:pe})}return Z}(Z);case At.FORMAT:return function un(Z){if(!Z.view)return Z;if("day"===Z.view.mode&&Z.monthsModel){const pe=Z.monthsModel.map((Ye,Ft)=>function xo(Z,nt,j){return{month:Z.month,monthTitle:(0,N.Yq)(Z.month,nt.monthTitle,nt.locale),yearTitle:(0,N.Yq)(Z.month,nt.yearTitle,nt.locale),weekNumbers:Qt(Z.daysMatrix,nt.weekNumbers,nt.locale),weekdays:cn(nt.locale),weeks:Z.daysMatrix.map((pe,Ye)=>({days:pe.map((Ft,Nn)=>({date:Ft,label:(0,N.Yq)(Ft,nt.dayLabel,nt.locale),monthIndex:j,weekIndex:Ye,dayIndex:Nn}))})),hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}(Ye,Wn(Z),Ft));return Object.assign({},Z,{formattedMonths:pe})}const nt=Z.displayMonths||1;let j=Z.view.date;if("month"===Z.view.mode){const pe=new Array(nt);for(let Ye=0;Ye<nt;Ye++)pe[Ye]=zi(j,Wn(Z)),j=(0,N.n6)(j,{year:1});return Object.assign({},Z,{monthsCalendar:pe})}if("year"===Z.view.mode){const pe=new Array(nt);for(let Ye=0;Ye<nt;Ye++)pe[Ye]=ze(j,Wn(Z)),j=(0,N.n6)(j,{year:16});return Object.assign({},Z,{yearsCalendarModel:pe})}return Z}(Z);case At.FLAG:return function gt(Z){if(!Z.view)return Z;const nt=ki(Z.view.date,Z.minDate,Z.maxDate)?1:Z.displayMonths;if(Z.formattedMonths&&"day"===Z.view.mode){const j=Z.formattedMonths.map((pe,Ye)=>function yn(Z,nt){return Z.weeks.forEach(j=>{j.days.forEach((pe,Ye)=>{const Ft=!(0,N.tF)(pe.date,Z.month),Nn=!Ft&&(0,N.ro)(pe.date,nt.hoveredDate),Ji=!Ft&&nt.selectedRange&&(0,N.ro)(pe.date,nt.selectedRange[0]),oo=!Ft&&nt.selectedRange&&(0,N.ro)(pe.date,nt.selectedRange[1]),jo=!Ft&&(0,N.ro)(pe.date,nt.selectedDate)||Ji||oo,_o=!Ft&&nt.selectedRange&&function Un(Z,nt,j){return!!(Z&&nt&&nt[0])&&(nt[1]?Z>nt[0]&&Z<=nt[1]:!!j&&Z>nt[0]&&Z<=j)}(pe.date,nt.selectedRange,nt.hoveredDate),So=nt.isDisabled||(0,N.Y8)(pe.date,nt.minDate,"day")||(0,N.dS)(pe.date,nt.maxDate,"day")||(0,N.hW)(pe.date,nt.daysDisabled)||Kn(pe.date,nt.datesDisabled)||ai(pe.date,nt.datesEnabled),us=!Ft&&(0,N.ro)(pe.date,new Date),ui=nt.dateCustomClasses&&nt.dateCustomClasses.map(Fo=>(0,N.ro)(pe.date,Fo.date)?Fo.classes:[]).reduce((Fo,xs)=>Fo.concat(xs),[]).join(" ")||"",ss=nt.dateTooltipTexts&&nt.dateTooltipTexts.map(Fo=>(0,N.ro)(pe.date,Fo.date)?Fo.tooltipText:"").reduce((Fo,xs)=>(Fo.push(xs),Fo),[]).join(" ")||"",Qo=Object.assign({},pe,{isOtherMonth:Ft,isHovered:Nn,isSelected:jo,isSelectionStart:Ji,isSelectionEnd:oo,isInRange:_o,isDisabled:So,isToday:us,customClasses:ui,tooltipText:ss});(pe.isOtherMonth!==Qo.isOtherMonth||pe.isHovered!==Qo.isHovered||pe.isSelected!==Qo.isSelected||pe.isSelectionStart!==Qo.isSelectionStart||pe.isSelectionEnd!==Qo.isSelectionEnd||pe.isDisabled!==Qo.isDisabled||pe.isInRange!==Qo.isInRange||pe.customClasses!==Qo.customClasses||pe.tooltipText!==Qo.tooltipText)&&(j.days[Ye]=Qo)})}),Z.hideLeftArrow=nt.isDisabled||!!nt.monthIndex&&nt.monthIndex>0&&nt.monthIndex!==nt.displayMonths,Z.hideRightArrow=nt.isDisabled||(!!nt.monthIndex||0===nt.monthIndex)&&!!nt.displayMonths&&nt.monthIndex<nt.displayMonths&&nt.monthIndex+1!==nt.displayMonths,Z.disableLeftArrow=vn((0,N.n6)(Z.month,{month:-1}),nt.minDate,nt.maxDate),Z.disableRightArrow=vn((0,N.n6)(Z.month,{month:1}),nt.minDate,nt.maxDate),Z}(pe,{isDisabled:Z.isDisabled,minDate:Z.minDate,maxDate:Z.maxDate,daysDisabled:Z.daysDisabled,datesDisabled:Z.datesDisabled,datesEnabled:Z.datesEnabled,hoveredDate:Z.hoveredDate,selectedDate:Z.selectedDate,selectedRange:Z.selectedRange,displayMonths:nt,dateCustomClasses:Z.dateCustomClasses,dateTooltipTexts:Z.dateTooltipTexts,monthIndex:Ye}));return Object.assign({},Z,{flaggedMonths:j})}if("month"===Z.view.mode&&Z.monthsCalendar){const j=Z.monthsCalendar.map((pe,Ye)=>function go(Z,nt){return Z.months.forEach((j,pe)=>
1{j.forEach((Ye,Ft)=>{let Nn;const Ji=(0,N.tF)(Ye.date,nt.hoveredMonth),oo=nt.isDisabled||Kn(Ye.date,nt.datesDisabled)||ai(Ye.date,nt.datesEnabled,"month")||vn(Ye.date,nt.minDate,nt.maxDate);!nt.selectedDate&&nt.selectedRange?(Nn=(0,N.tF)(Ye.date,nt.selectedRange[0]),Nn||(Nn=(0,N.tF)(Ye.date,nt.selectedRange[1]))):Nn=(0,N.tF)(Ye.date,nt.selectedDate);const jo=Object.assign(Ye,{isHovered:Ji,isDisabled:oo,isSelected:Nn});(Ye.isHovered!==jo.isHovered||Ye.isDisabled!==jo.isDisabled||Ye.isSelected!==jo.isSelected)&&(Z.months[pe][Ft]=jo)})}),Z.hideLeftArrow=!!nt.monthIndex&&nt.monthIndex>0&&nt.monthIndex!==nt.displayMonths,Z.hideRightArrow=(!!nt.monthIndex||0===nt.monthIndex)&&(!!nt.displayMonths||0===nt.displayMonths)&&nt.monthIndex<nt.displayMonths&&nt.monthIndex+1!==nt.displayMonths,Z.disableLeftArrow=Hn((0,N.n6)(Z.months[0][0].date,{year:-1}),nt.minDate,nt.maxDate),Z.disableRightArrow=Hn((0,N.n6)(Z.months[0][0].date,{year:1}),nt.minDate,nt.maxDate),Z}(pe,{isDisabled:Z.isDisabled,minDate:Z.minDate,maxDate:Z.maxDate,hoveredMonth:Z.hoveredMonth,selectedDate:Z.selectedDate,datesDisabled:Z.datesDisabled,datesEnabled:Z.datesEnabled,selectedRange:Z.selectedRange,displayMonths:nt,monthIndex:Ye}));return Object.assign({},Z,{flaggedMonthsCalendar:j})}if("year"===Z.view.mode&&Z.yearsCalendarModel){const j=Z.yearsCalendarModel.map((pe,Ye)=>function wn(Z,nt){Z.years.forEach((Ye,Ft)=>{Ye.forEach((Nn,Ji)=>{let oo;const jo=(0,N.s0)(Nn.date,nt.hoveredYear),_o=nt.isDisabled||Kn(Nn.date,nt.datesDisabled,"year")||ai(Nn.date,nt.datesEnabled,"year")||Hn(Nn.date,nt.minDate,nt.maxDate);!nt.selectedDate&&nt.selectedRange?(oo=(0,N.s0)(Nn.date,nt.selectedRange[0]),oo||(oo=(0,N.s0)(Nn.date,nt.selectedRange[1]))):oo=(0,N.s0)(Nn.date,nt.selectedDate);const So=Object.assign(Nn,{isHovered:jo,isDisabled:_o,isSelected:oo});(Nn.isHovered!==So.isHovered||Nn.isDisabled!==So.isDisabled||Nn.isSelected!==So.isSelected)&&(Z.years[Ft][Ji]=So)})}),Z.hideLeftArrow=!!nt.yearIndex&&nt.yearIndex>0&&nt.yearIndex!==nt.displayMonths,Z.hideRightArrow=!!nt.yearIndex&&!!nt.displayMonths&&nt.yearIndex<nt.displayMonths&&nt.yearIndex+1!==nt.displayMonths,Z.disableLeftArrow=Hn((0,N.n6)(Z.years[0][0].date,{year:-1}),nt.minDate,nt.maxDate);const j=Z.years.length-1;return Z.disableRightArrow=Hn((0,N.n6)(Z.years[j][Z.years[j].length-1].date,{year:1}),nt.minDate,nt.maxDate),Z}(pe,{isDisabled:Z.isDisabled,minDate:Z.minDate,maxDate:Z.maxDate,hoveredYear:Z.hoveredYear,selectedDate:Z.selectedDate,datesDisabled:Z.datesDisabled,datesEnabled:Z.datesEnabled,selectedRange:Z.selectedRange,displayMonths:nt,yearIndex:Ye}));return Object.assign({},Z,{yearsCalendarFlagged:j})}return Z}(Z);case At.NAVIGATE_OFFSET:return function mn(Z,nt){if(!Z.view)return Z;const j=function Rn(Z,nt){if(Z.view){if("year"===Z.view.mode&&"year"===Z.minMode){const j=Pi(Z,0);if(j){const pe=(0,N.n6)(j,{year:-Ie});return(0,N.n6)(pe,nt.payload)}}return(0,N.n6)((0,N.GH)(Z.view.date,"month"),nt.payload)}}(Z,nt);if(!j)return Z;return Object.assign({},Z,{view:{mode:Z.view.mode,date:j}})}(Z,nt);case At.NAVIGATE_TO:{const j=nt.payload;if(!Z.view||!j.unit)return Z;const pe=(0,N.kE)(Z.view.date,j.unit);let Ye,Ft;return Zn(j.viewMode,Z.minMode)?(Ft=j.viewMode,Ye={view:{date:pe,mode:Ft}}):(Ft=Z.view.mode,Ye={selectedDate:pe,view:{date:pe,mode:Ft}}),Object.assign({},Z,Ye)}case At.CHANGE_VIEWMODE:return Zn(nt.payload,Z.minMode)&&Z.view?Object.assign({},Z,{view:{date:Z.view.date,mode:nt.payload}}):Z;case At.HOVER:return Object.assign({},Z,{hoveredDate:nt.payload});case At.SELECT:{if(!Z.view)return Z;const j={selectedDate:nt.payload,view:Z.view};if(Array.isArray(Z.selectedTime)){const Nn=Z.selectedTime[0];j.selectedDate&&Nn&&Ge(j.selectedDate,Nn)}const pe=Z.view.mode,Ft=ii(nt.payload||Z.view.date,Z.minDate,Z.maxDate);return j.view={mode:pe,date:Ft},Object.assign({},Z,j)}case At.SELECT_TIME:{const{date:j,index:pe}=nt.payload,Ye=Z.selectedTime?[...Z.selectedTime]:[];return Ye[pe]=j,Object.assign({},Z,{selectedTime:Ye})}case At.SET_OPTIONS:{if(!Z.view)return Z;const j=nt.payload,pe=j.minMode?j.minMode:Z.view.mode,Ft=ii((0,N.Pz)(j.value)&&j.value||(0,N.cy)(j.value)&&(0,N.Pz)(j.value[0])&&j.value[0]||Z.view.date,j.minDate,j.maxDate);return j.view={mode:pe,date:Ft}
1,j.value&&((0,N.cy)(j.value)&&(j.selectedRange=j.value,j.selectedTime=j.value.map(Nn=>Nn)),j.value instanceof Date&&(j.selectedDate=j.value,j.selectedTime=[j.value])),Object.assign({},Z,j)}case At.SELECT_RANGE:{if(!Z.view)return Z;const j={selectedRange:nt.payload,view:Z.view};j.selectedRange?.forEach((Nn,Ji)=>{if(Array.isArray(Z.selectedTime)){const oo=Z.selectedTime[Ji];oo&&Ge(Nn,oo)}});const pe=Z.view.mode,Ft=ii(nt.payload&&nt.payload[0]||Z.view.date,Z.minDate,Z.maxDate);return j.view={mode:pe,date:Ft},Object.assign({},Z,j)}case At.SET_MIN_DATE:return Object.assign({},Z,{minDate:nt.payload});case At.SET_MAX_DATE:return Object.assign({},Z,{maxDate:nt.payload});case At.SET_IS_DISABLED:return Object.assign({},Z,{isDisabled:nt.payload});case At.SET_DATE_CUSTOM_CLASSES:return Object.assign({},Z,{dateCustomClasses:nt.payload});case At.SET_DATE_TOOLTIP_TEXTS:return Object.assign({},Z,{dateTooltipTexts:nt.payload});default:return Z}}function Wn(Z){return{locale:Z.locale,monthTitle:Z.monthTitle,yearTitle:Z.yearTitle,dayLabel:Z.dayLabel,monthLabel:Z.monthLabel,yearLabel:Z.yearLabel,weekNumbers:Z.weekNumbers}}function ii(Z,nt,j){const pe=Array.isArray(Z)?Z[0]:Z;return nt&&(0,N.dS)(nt,pe,"day")?nt:j&&(0,N.Y8)(j,pe,"day")?j:pe}function ki(Z,nt,j){return!(!j||!(0,N.Ft)(j,Z,"day"))||nt&&j&&nt.getMonth()===j.getMonth()}let Mi=(()=>{class Z extends ne.F{constructor(){const j=new ee.t({type:"[datepicker] dispatcher init"});super(j,qe,new ne.n(bi,j,qe))}static{this.\u0275fac=function(pe){return new(pe||Z)}}static{this.\u0275prov=M.jDH({token:Z,factory:Z.\u0275fac,providedIn:"platform"})}}return Z})(),vi=(()=>{class Z{constructor(){this.onSelect=new M.bkB}selectFromRanges(j){this.onSelect.emit(j)}compareRanges(j){return JSON.stringify(j?.value)===JSON.stringify(this.selectedRange)}static{this.\u0275fac=function(pe){return new(pe||Z)}}static{this.\u0275cmp=d.VBU({type:Z,selectors:[["bs-custom-date-view"]],inputs:{ranges:"ranges",selectedRange:"selectedRange",customRangeLabel:"customRangeLabel"},outputs:{onSelect:"onSelect"},decls:3,vars:0,consts:[[1,"bs-datepicker-predefined-btns"],["type","button",1,"btn",3,"selected"],["type","button",1,"btn",3,"click"]],template:function(pe,Ye){1&pe&&(d.rj2(0,"div",0),d.Z7z(1,xe,2,3,"button",1,d.fX1),d.eux()),2&pe&&(d.R7$(),d.Dyx(Ye.ranges))},encapsulation:2,changeDetection:0})}}return Z})();var Si=function(Z){return Z[Z.UP=0]="UP",Z[Z.DOWN=1]="DOWN",Z}(Si||{});let Xo,$i=(()=>{class Z{constructor(){this.isDisabled=!1,this.onNavigate=new M.bkB,this.onViewMode=new M.bkB}navTo(j){this.onNavigate.emit(j?Si.DOWN:Si.UP)}view(j){this.isDisabled||this.onViewMode.emit(j)}static{this.\u0275fac=function(pe){return new(pe||Z)}}static{this.\u0275cmp=d.VBU({type:Z,selectors:[["bs-datepicker-navigation-view"]],inputs:{calendar:"calendar",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode"},decls:12,vars:9,consts:[["type","button",1,"previous",3,"click","disabled"],["type","button",1,"current",3,"click","disabled"],["type","button",1,"next",3,"click","disabled"]],template:function(pe,Ye){1&pe&&(d.rj2(0,"button",0),d.VwU("click",function(){return Ye.navTo(!0)}),d.rj2(1,"span"),d.EFF(2,"\u2039"),d.eux()(),d.nVh(3,Ce,4,2),d.EFF(4," \u200b "),d.rj2(5,"button",1),d.VwU("click",function(){return Ye.view("year")}),d.rj2(6,"span"),d.EFF(7),d.eux()(),d.EFF(8," \u200b "),d.rj2(9,"button",2),d.VwU("click",function(){return Ye.navTo(!1)}),d.rj2(10,"span"),d.EFF(11,"\u203a"),d.eux()()),2&pe&&(d.xc7("visibility",Ye.calendar.hideLeftArrow?"hidden":"visible"),d.Avn("disabled",Ye.calendar.disableLeftArrow),d.R7$(3),d.vxM(Ye.calendar&&Ye.calendar.monthTitle?3:-1),d.R7$(2),d.Avn("disabled",Ye.isDisabled),d.R7$(2),d.JRh(Ye.calendar.yearTitle),d.R7$(2),d.xc7("visibility",Ye.calendar.hideRightArrow?"hidden":"visible"),d.Avn("disabled",Ye.calendar.disableRightArrow))},encapsulation:2,changeDetection:0})}}return Z})(),ro=(()=>{class Z{constructor(){this.ampm="ok",this.hours=0,this.minutes=0}static{this.\u0275fac=function(pe){return new(pe||Z)}}static{this.\u0275cmp=d.VBU({type:Z,selectors:[["bs-timepicker"]],decls:16,vars:3,consts:[[1,"bs-timepicker-container"],[1,"bs-timepicker-control
1s"],["type","button",1,"bs-decrease"],["type","text","placeholder","00",3,"value"],["type","button",1,"bs-increase"],["type","button",1,"switch-time-format"],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAABSElEQVQYV3XQPUvDUBQG4HNuagtVqc6KgouCv6GIuIntYBLB9hcIQpLStCAIV7DYmpTcRWcXqZio3Vwc/UCc/QEqfgyKGbr0I7nS1EiHeqYzPO/h5SD0jaxUZjmSLCB+OFb+UFINFwASAEAdpu9gaGXVyAHHFQBkHpKHc6a9dzECvADyY9sqlAMsK9W0jzxDXqeytr3mhQckxSji27TJJ5/rPmIpwJJq3HrtduriYOurv1a4i1p5HnhkG9OFymi0ReoO05cGwb+ayv4dysVygjeFmsP05f8wpZQ8fsdvfmuY9zjWSNqUtgYFVnOVReILYoBFzdQI5/GGFzNHhGbeZnopDGU29sZbscgldmC99w35VOATTycIMMcBXIfpSVGzZhA6C8hh00conln6VQ9TGgV32OEAKQC4DrBq7CJwd0ggR7Vq/rPrfgB+C3sGypY5DAAAAABJRU5ErkJggg==","alt",""]],template:function(pe,Ye){1&pe&&(d.rj2(0,"div",0)(1,"div",1)(2,"button",2),d.EFF(3,"-"),d.eux(),d.Hgh(4,"input",3),d.rj2(5,"button",4),d.EFF(6,"+"),d.eux()(),d.rj2(7,"div",1)(8,"button",2),d.EFF(9,"-"),d.eux(),d.Hgh(10,"input",3),d.rj2(11,"button",4),d.EFF(12,"+"),d.eux()(),d.rj2(13,"button",5),d.EFF(14),d.Hgh(15,"img",6),d.eux()()),2&pe&&(d.R7$(4),d.Avn("value",Ye.hours),d.R7$(6),d.Avn("value",Ye.minutes),d.R7$(4),d.SpI("",Ye.ampm," "))},encapsulation:2})}}return Z})(),no=(()=>{class Z{static{this.\u0275fac=function(pe){return new(pe||Z)}}static{this.\u0275cmp=d.VBU({type:Z,selectors:[["bs-current-date"]],inputs:{title:"title"},decls:3,vars:1,consts:[[1,"current-timedate"]],template:function(pe,Ye){1&pe&&(d.rj2(0,"div",0)(1,"span"),d.EFF(2),d.eux()()),2&pe&&(d.R7$(2),d.JRh(Ye.title))},encapsulation:2})}}return Z})(),mo=(()=>{class Z{static{this.\u0275fac=function(pe){return new(pe||Z)}}static{this.\u0275cmp=d.VBU({type:Z,selectors:[["bs-calendar-layout"]],ngContentSelectors:Fe,decls:6,vars:2,consts:[["title","hey there"],[1,"bs-datepicker-head"],[1,"bs-datepicker-body"]],template:function(pe,Ye){1&pe&&(d.NAR(Te),d.nVh(0,Ke,1,0,"bs-current-date",0),d.j41(1,"div",1),d.SdG(2),d.k0s(),d.j41(3,"div",2),d.SdG(4,1),d.k0s(),d.nVh(5,Qe,1,0,"bs-timepicker")),2&pe&&(d.vxM(-1),d.R7$(5),d.vxM(-1))},dependencies:[no,ro],encapsulation:2})}}return Z})(),Vo=(()=>{class Z{constructor(){this.onNavigate=new M.bkB,this.onViewMode=new M.bkB,this.onSelect=new M.bkB,this.onHover=new M.bkB}navigateTo(j){this.onNavigate.emit({step:{year:16*(Si.DOWN===j?-1:1)}})}viewYear(j){this.onSelect.emit(j)}hoverYear(j,pe){this.onHover.emit({cell:j,isHovered:pe})}changeViewMode(j){this.onViewMode.emit(j)}static{this.\u0275fac=function(pe){return new(pe||Z)}}static{this.\u0275cmp=d.VBU({type:Z,selectors:[["bs-years-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:6,vars:1,consts:[[3,"onNavigate","onViewMode","calendar"],["role","grid",1,"years"],["role","gridcell",3,"disabled","is-highlighted"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(pe,Ye){1&pe&&(d.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),d.bIt("onNavigate",function(Nn){return Ye.navigateTo(Nn)})("onViewMode",function(Nn){return Ye.changeViewMode(Nn)}),d.k0s(),d.j41(2,"table",1)(3,"tbody"),d.Z7z(4,ct,3,0,"tr",null,d.fX1),d.k0s()()()),2&pe&&(d.R7$(),d.Y8G("calendar",Ye.calendar),d.R7$(3),d.Dyx(null==Ye.calendar?null:Ye.calendar.years))},dependencies:[mo,$i],encapsulation:2})}}return Z})(),yo=(()=>{class Z{constructor(){this.onNavigate=new M.bkB,this.onViewMode=new M.bkB,this.onSelect=new M.bkB,this.onHover=new M.bkB}navigateTo(j){this.onNavigate.emit({step:{year:Si.DOWN===j?-1:1}})}viewMonth(j){this.onSelect.emit(j)}hoverMonth(j,pe){this.onHover.emit({cell:j,isHovered:pe})}changeViewMode(j){this.onViewMode.emit(j)}static{this.\u0275fac=function(pe){return new(pe||Z)}}static{this.\u0275cmp=d.VBU({type:Z,selectors:[["bs-month-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:6,vars:1,consts:[[3,"onNavigate","onViewMode","calendar"],["role","grid",1,"months"],["role","gridcell",3,"disabled","is-highlighted"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(pe,Ye){1&pe&&(d.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),d.bIt("onNavigate",function(Nn){return Ye.navigateTo(Nn)})("onViewMode",function(Nn){return Ye.changeViewMode(Nn)}),d.k0s(),d.j41(2,"table",1)(3,"tbody"),d.Z7z(4,Ze,3,0,"tr",null,d.fX1),d.k0s()()()),2&pe&&(d.R7$(),d.Y8G("calendar",Ye.calendar),d.R7$(3),d.Dyx(null==Ye.calendar?null:Ye.calendar.months))},dependencies:[mo,$i],encapsulation:2})}}return Z})(),hs=(()=>{class Z{constructor(j,pe,Ye){this._config=j,this._elRef=pe,this._renderer=Ye,this.day={date:new Date,label:""}}
1ngOnInit(){this.day?.isToday&&this._config&&this._config.customTodayClass&&this._renderer.addClass(this._elRef.nativeElement,this._config.customTodayClass),"string"==typeof this.day?.customClasses&&this.day?.customClasses.split(" ").filter(j=>j).forEach(j=>{this._renderer.addClass(this._elRef.nativeElement,j)})}static{this.\u0275fac=function(pe){return new(pe||Z)(d.rXU(Bn),d.rXU(d.aKT),d.rXU(d.sFG))}}static{this.\u0275cmp=d.VBU({type:Z,selectors:[["","bsDatepickerDayDecorator",""]],hostVars:16,hostBindings:function(pe,Ye){2&pe&&d.AVh("disabled",Ye.day.isDisabled)("is-highlighted",Ye.day.isHovered)("is-other-month",Ye.day.isOtherMonth)("is-active-other-month",Ye.day.isOtherMonthHovered)("in-range",Ye.day.isInRange)("select-start",Ye.day.isSelectionStart)("select-end",Ye.day.isSelectionEnd)("selected",Ye.day.isSelected)},inputs:{day:"day"},attrs:fe,decls:1,vars:1,template:function(pe,Ye){1&pe&&d.EFF(0),2&pe&&d.JRh(Ye.day&&Ye.day.label||"")},encapsulation:2,changeDetection:0})}}return Z})(),No=(()=>{class Z{constructor(j){this._config=j,this.onNavigate=new M.bkB,this.onViewMode=new M.bkB,this.onSelect=new M.bkB,this.onHover=new M.bkB,this.onHoverWeek=new M.bkB,this.isiOS=/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,this._config.dateTooltipTexts&&this._config.dateTooltipTexts.length>0&&(this.isShowTooltip=!0)}navigateTo(j){this.onNavigate.emit({step:{month:Si.DOWN===j?-1:1}})}changeViewMode(j){this.onViewMode.emit(j)}selectDay(j){this.onSelect.emit(j)}selectWeek(j){if(!this._config.selectWeek&&!this._config.selectWeekDateRange||0===j.days.length)return;if(this._config.selectWeek&&j.days[0]&&!j.days[0].isDisabled&&this._config.selectFromOtherMonth)return void this.onSelect.emit(j.days[0]);const pe=j.days.find(Ye=>(this._config.selectFromOtherMonth||!Ye.isOtherMonth)&&!Ye.isDisabled);if(this.onSelect.emit(pe),this._config.selectWeekDateRange){const Ft=j.days.slice(0).reverse().find(Nn=>(this._config.selectFromOtherMonth||!Nn.isOtherMonth)&&!Nn.isDisabled);this.onSelect.emit(Ft)}}weekHoverHandler(j,pe){(this._config.selectWeek||this._config.selectWeekDateRange)&&j.days.find(Ft=>(this._config.selectFromOtherMonth||!Ft.isOtherMonth)&&!Ft.isDisabled)&&(j.isHovered=pe,this.isWeekHovered=pe,this.onHoverWeek.emit(j))}hoverDay(j,pe){this._config.selectFromOtherMonth&&j.isOtherMonth&&(j.isOtherMonthHovered=pe),this._config.dateTooltipTexts&&(j.tooltipText="",this._config.dateTooltipTexts.forEach(Ye=>{(0,N.ro)(Ye.date,j.date)&&(j.tooltipText=Ye.tooltipText)})),this.onHover.emit({cell:j,isHovered:pe})}static{this.\u0275fac=function(pe){return new(pe||Z)(d.rXU(Bn))}}static{this.\u0275cmp=d.VBU({type:Z,selectors:[["bs-days-calendar-view"]],inputs:{calendar:"calendar",options:"options",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"},decls:11,vars:3,consts:[[3,"onNavigate","onViewMode","calendar","isDisabled"],["role","grid",1,"days","weeks"],["aria-label","weekday"],[1,"week",3,"active-week"],["role","gridcell"],[1,"week"],[3,"click"],[3,"click","mouseenter","mouseleave"],["bsDatepickerDayDecorator","",3,"day","tooltip"],["bsDatepickerDayDecorator","",3,"day"],["bsDatepickerDayDecorator","",3,"click","mouseenter","mouseleave","day","tooltip"],["bsDatepickerDayDecorator","",3,"click","mouseenter","mouseleave","day"],["bsDatepickerDayDecorator","",3,"click","day"]],template:function(pe,Ye){1&pe&&(d.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),d.bIt("onNavigate",function(Nn){return Ye.navigateTo(Nn)})("onViewMode",function(Nn){return Ye.changeViewMode(Nn)}),d.k0s(),d.j41(2,"table",1)(3,"thead")(4,"tr"),d.nVh(5,ie,1,0,"th"),d.Z7z(6,Xe,2,1,"th",2,d.fX1),d.k0s()(),d.j41(8,"tbody"),d.Z7z(9,Yt,4,1,"tr",null,d.fX1),d.k0s()()()),2&pe&&(d.R7$(),d.Y8G("calendar",Ye.calendar)("isDisabled",!!Ye.isDisabled),d.R7$(4),d.vxM(Ye.options&&Ye.options.showWeekNumbers?5:-1),d.R7$(),d.Dyx(Ye.calendar.weekdays),d.R7$(3),d.Dyx(Ye.calendar.weeks))},dependencies:[mo,$i,hs,de.Ss,de.dg],encapsulation:2})}}return Z})(),uo=(()=>{class Z extends ht{set value(j){this._effects?.setValue(j)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(j,pe,Ye,Ft,Nn,Ji,oo){super(),this._config=pe,this._store=Ye,this._element=Ft,this._actions=Nn,this._positionService=oo,this.valueChange=new M.bkB,this.animationState="void",this.isRangePicker=!1,this._subs=[],this._effects=Ji,j.setStyle(Ft.nativeElement,"display","block"),j.setStyle(Ft.nativeElement,"position","absolute")}ngOnInit(){let j;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),this._positionService.event$?.pipe((0,O.s)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.containerClass=this._config.containerClass,this.showTodayBtn=this._config.showTodayButton,this.todayBtnLbl=this._config.todayButtonLabel,this.todayPos=this._config.todayPosition,this.showClearBtn=this._config.showClearButton,this.clearBtnLbl=this._config.clearButtonLabel,this.clearPos=this._config.clearPosition,this.customRangeBtnLbl=this._config.customRangeButtonLabel,this.withTimepicker=this._config.withTimepicker,this._effects?.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(pe=>pe.selectedDate).subscribe(pe=>{j=pe,this.valueChange.emit(pe)})),this._subs.push(this._store.select(pe=>pe.selectedTime).subscribe(pe=>{!pe||!pe[0]||!(pe[0]instanceof Date)||pe[0]===j||this.valueChange.emit(pe[0])})),this._store.dispatch(this._actions.changeViewMode(this._config.startView))}ngAfterViewInit(){this.selectedTimeSub.add(this.selectedTime?.subscribe(j=>{Array.isArray(j)&&j.length>=1&&this.startTimepicker?.writeValue(j[0])})),this.startTimepicker?.registerOnChange(j=>{this.timeSelectHandler(j,0)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(j,pe){this._store.dispatch(this._actions.selectTime(j,pe))}daySelectHandler(j){!j||(this.isOtherMonthsActive?j.isDisabled:j.isOtherMonth||j.isDisabled)||this._store.dispatch(this._actions.select(j.date))}monthSelectHandler(j){!j||j.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{month:(0,N.tj)(j.date),year:(0,N.Bl)(j.date)},viewMode:"day"}))}yearSelectHandler(j){!j||j.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{year:(0,N.Bl)(j.date)},viewMode:"month"}))}setToday(){this._store.dispatch(this._actions.select(new Date))}clearDate(){this._store.dispatch(this._actions.select(void 0))}ngOnDestroy(){for(const j of this._subs)j.unsubscribe();this.selectedTimeSub.unsubscribe(),this._effects?.destroy()}static{this.\u0275fac=function(pe){return new(pe||Z)(d.rXU(d.sFG),d.rXU(Bn),d.rXU(Mi),d.rXU(d.aKT),d.rXU(At),d.rXU(nn),d.rXU(q.DF))}}static{this.\u0275cmp=d.VBU({type:Z,selectors:[["bs-datepicker-container"]],viewQuery:function(pe,Ye){if(1&pe&&d.GBs(Tt,5),2&pe){let Ft;d.mGM(Ft=d.lsd())&&(Ye.startTimepicker=Ft.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(pe,Ye){1&pe&&d.bIt("click",function(Nn){return Ye._stopPropagation(Nn)}),2&pe&&d.BMQ("disabled",Ye.isDatepickerDisabled)("readonly",Ye.isDatepickerReadonly)},features:[d.Jv_([Mi,nn,At]),d.Vt3],decls:2,vars:3,consts:[["startTP",""],["endTP",""],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container"],[1,"bs-media-container"],[1,"bs-datepicker-buttons"],[1,"bs-datepicker-custom-range"],[3,"bs-datepicker-multiple","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[3,"disabled"],[3,"bs-datepicker-multiple","calendar"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],[1,"btn-today-wrapper",3,"today-left","today-right","today-center"],[1,"btn-clear-wrapper",3,"clear-left","clear-right","clear-center"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(pe,Ye){1&pe&&(d.nVh(0,Lt,10,8,"div",2),d.nI1(1,"async")),2&pe&&d.vxM(d.bMT(1,1,Ye.viewMode)?0:-1)},dependencies:[Le.YU,No,K.gS,K.nV,yo,Vo,vi,Le.Jj],encapsulation:2,data:{animation:[Ni]}})}}return Z})(),Mo=(()=>{class Z{get readonlyValue(){return this.isDisabled?"":null}constructor(j,pe,Ye,Ft,Nn){this._config=j,this._elementRef=pe,this._renderer=Ye,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new H.B,this.isDisabled=!1,this.bsValueChange=new M.bkB,this._subs=[],this._dateInputFormat$=new H.B,Object.assign(this,this._config),this._datepicker=Nn.createLoader(pe,Ft,Ye),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new ee.t(this.isOpen)}get isOpen(){return this._datepicker.isShown}set isOpen(j){this.isOpen$.next(j)}set bsValue(j){this._bsValue&&j&&this._bsValue.getTime()===j.getTime()||(!this._bsValue&&j&&!this._config.withTimepicker&&Ge(j,new Date),j&&this.bsConfig?.initCurrentTime&&(j=_i(j)),this.initPreviousValue(),this._bsValue=j,this.bsValueChange.emit(j))}get dateInputFormat$(){return this._dateInputFormat$}ngOnInit(){this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig(),this.initPreviousValue()}initPreviousValue(){Xo=this._bsValue}ngOnChanges(j){j.bsConfig&&(j.bsConfig.currentValue?.initCurrentTime&&j.bsConfig.currentValue?.initCurrentTime!==j.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this.initPreviousValue(),this._bsValue=_i(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._dateInputFormat$.next(this.bsConfig&&this.bsConfig.dateInputFormat)),this._datepickerRef&&this._datepickerRef.instance&&(j.minDate&&(this._datepickerRef.instance.minDate=this.minDate),j.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),j.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),j.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),j.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),j.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),j.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses),j.dateTooltipTexts&&(this._datepickerRef.instance.dateTooltipTexts=this.dateTooltipTexts))}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(j=>{this._datepickerRef&&(this._datepickerRef.instance.value=j)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.subscribe(j=>{this.initPreviousValue(),this.bsValue=j,!this.keepDatepickerModalOpened()&&this.hide()}))}keepDatepickerModalOpened(){return!!(Xo&&this.bsConfig?.keepDatepickerOpened&&this._config.withTimepicker)&&this.isDateSame()}isDateSame(){return Xo instanceof Date&&this._bsValue?.getDate()===Xo?.getDate()&&this._bsValue?.getMonth()===Xo?.getMonth()&&this._bsValue?.getFullYear()===Xo?.getFullYear()}ngAfterViewInit(){this.isOpen$.pipe((0,D.p)(j=>j!==this.isOpen),(0,x.Q)(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:Bn,useValue:this._config}).attach(uo).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}hide(){this.isOpen&&this._datepicker.hide();for(const j of this._subs)j.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._config.keepDatesOutOfRules?this._bsValue:mi(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,dateTooltipTexts:this.dateTooltipTexts||this.bsConfig&&this.bsConfig.dateTooltipTexts,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,minMode:this.minMode||this.bsConfig&&this.bsConfig.minMode,initCurrentTime:this.bsConfig?.initCurrentTime,keepDatepickerOpened:this.bsConfig?.keepDatepickerOpened,keepDatesOutOfRules:this.bsConfig?.keepDatesOutOfRules})}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(j=>j.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}static{this.\u0275fac=function(pe){return new(pe||Z)(d.rXU(Bn),d.rXU(d.aKT),d.rXU(d.sFG),d.rXU(d.c1b),d.rXU(ut.Li))}}static{this.\u0275dir=d.FsC({type:Z,selectors:[["","bsDatepicker",""]],hostVars:1,hostBindings:function(pe,Ye){2&pe&&d.BMQ("readonly",Ye.readonlyValue)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",ignoreMinMaxErrors:"ignoreMinMaxErrors",minMode:"minMode",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled",dateCustomClasses:"dateCustomClasses",dateTooltipTexts:"dateTooltipTexts",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDatepicker"],features:[d.Jv_([ut.Li,q.DF]),d.OA$]})}}return Z})(),ls=(()=>{class Z extends uo{get disabledValue(){return this.isDatePickerDisabled?"":null}get readonlyValue(){return this.isDatePickerDisabled?"":null}constructor(j,pe,Ye,Ft,Nn,Ji,oo){super(j,pe,Ye,Ft,Nn,Ji,oo),j.setStyle(Ft.nativeElement,"display","inline-block"),j.setStyle(Ft.nativeElement,"position","static")}static{this.\u0275fac=function(pe){return new(pe||Z)(d.rXU(d.sFG),d.rXU(Bn),d.rXU(Mi),d.rXU(d.aKT),d.rXU(At),d.rXU(nn),d.rXU(q.DF))}}static{this.\u0275cmp=d.VBU({type:Z,selectors:[["bs-datepicker-inline-container"]],hostVars:2,hostBindings:function(pe,Ye){1&pe&&d.bIt("click",function(Nn){return Ye._stopPropagation(Nn)}),2&pe&&d.BMQ("disabled",Ye.disabledValue)("readonly",Ye.readonlyValue)},features:[d.Jv_([Mi,nn]),d.Vt3],decls:2,vars:3,consts:[["startTP",""],["endTP",""],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container"],[1,"bs-media-container"],[1,"bs-datepicker-buttons"],[1,"bs-datepicker-custom-range"],[3,"bs-datepicker-multiple","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[3,"disabled"],[3,"bs-datepicker-multiple","calendar"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],[1,"btn-today-wrapper",3,"today-left","today-right","today-center"],[1,"btn-clear-wrapper",3,"clear-left","clear-right","clear-center"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(pe,Ye){1&pe&&(d.nVh(0,Vn,10,8,"div",2),d.nI1(1,"async")),2&pe&&d.vxM(d.bMT(1,1,Ye.viewMode)?0:-1)},dependencies:[Le.YU,No,K.gS,K.nV,yo,Vo,vi,Le.Jj],encapsulation:2,data:{animation:[Ni]}})}}return Z})(
1),ho=(()=>{class Z extends ht{set value(j){this._effects?.setRangeValue(j)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(j,pe,Ye,Ft,Nn,Ji,oo){super(),this._config=pe,this._store=Ye,this._element=Ft,this._actions=Nn,this._positionService=oo,this.valueChange=new M.bkB,this.animationState="void",this._rangeStack=[],this.chosenRange=[],this._subs=[],this.isRangePicker=!0,this._effects=Ji,this.customRanges=this._config.ranges||[],this.customRangeBtnLbl=this._config.customRangeButtonLabel,j.setStyle(Ft.nativeElement,"display","block"),j.setStyle(Ft.nativeElement,"position","absolute")}ngOnInit(){let j;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),this._positionService.event$?.pipe((0,O.s)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.containerClass=this._config.containerClass,this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.withTimepicker=this._config.withTimepicker,this._effects?.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(pe=>pe.selectedRange).subscribe(pe=>{j=pe,this.valueChange.emit(pe),this.chosenRange=pe||[]})),this._subs.push(this._store.select(pe=>pe.selectedTime).subscribe(pe=>{!pe||!pe[0]||!pe[1]||!(pe[0]instanceof Date)||!(pe[1]instanceof Date)||j&&pe[0]===j[0]&&pe[1]===j[1]||(this.valueChange.emit(pe),this.chosenRange=pe||[])}))}ngAfterViewInit(){this.selectedTimeSub.add(this.selectedTime?.subscribe(j=>{Array.isArray(j)&&j.length>=2&&(this.startTimepicker?.writeValue(j[0]),this.endTimepicker?.writeValue(j[1]))})),this.startTimepicker?.registerOnChange(j=>{this.timeSelectHandler(j,0)}),this.endTimepicker?.registerOnChange(j=>{this.timeSelectHandler(j,1)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(j,pe){this._store.dispatch(this._actions.selectTime(j,pe))}daySelectHandler(j){!j||(this.isOtherMonthsActive?j.isDisabled:j.isOtherMonth||j.isDisabled)||this.rangesProcessing(j)}monthSelectHandler(j){if(j&&!j.isDisabled){if(j.isSelected=!0,"month"!==this._config.minMode){if(j.isDisabled)return;return void this._store.dispatch(this._actions.navigateTo({unit:{month:(0,N.tj)(j.date),year:(0,N.Bl)(j.date)},viewMode:"day"}))}this.rangesProcessing(j)}}yearSelectHandler(j){if(j&&!j.isDisabled){if(j.isSelected=!0,"year"!==this._config.minMode){if(j.isDisabled)return;return void this._store.dispatch(this._actions.navigateTo({unit:{year:(0,N.Bl)(j.date)},viewMode:"month"}))}this.rangesProcessing(j)}}rangesProcessing(j){1===this._rangeStack.length&&(this._rangeStack=j.date>=this._rangeStack[0]?[this._rangeStack[0],j.date]:[j.date]),this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(j.date),0===this._rangeStack.length&&(this._rangeStack=[j.date],this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(j.date)),this._store.dispatch(this._actions.selectRange(this._rangeStack)),2===this._rangeStack.length&&(this._rangeStack=[])}ngOnDestroy(){for(const j of this._subs)j.unsubscribe();this.selectedTimeSub.unsubscribe(),this._effects?.destroy()}setRangeOnCalendar(j){j&&(this._rangeStack=j.value instanceof Date?[j.value]:j.value),this._store.dispatch(this._actions.selectRange(this._rangeStack))}setMaxDateRangeOnCalendar(j){let pe=new Date(j);if(this._config.maxDate){const Ye=this._config.maxDate.getTime(),Ft=j.getTime()+864e5*(this._config.maxDateRange||0);pe=Ft>Ye?new Date(this._config.maxDate):new Date(Ft)}else pe.setDate(j.getDate()+(this._config.maxDateRange||0));this._effects?.setMaxDate(pe)}static{this.\u0275fac=function(pe){return new(pe||Z)(d.rXU(d.sFG),d.rXU(Bn),d.rXU(Mi),d.rXU(d.aKT),d.rXU(At),d.rXU(nn),d.rXU(q.DF))}}static{this.\u0275cmp=d.VBU({type:Z,selectors:[["bs-daterangepicker-container"]],viewQuery:function(pe,Ye){if(1&pe&&d.GBs(Tt,5)(Pn,5),2&pe){let Ft;d.mGM(Ft=d.lsd())&&(Ye.startTimepicker=Ft.first),d.mGM(Ft=d.lsd())&&(Ye.endTimepicker=Ft.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(pe,Ye){1&pe&&d.bIt("click",function(Nn){return Ye._stopPropagation(Nn)}),2&pe&&d.BMQ("disabled",Ye.isDatepickerDisabled)("readonly",Ye.isDatepickerReadonly)},features:[d.Jv_([Mi,nn,At]),d.Vt3],decls:2,vars:3,consts:[["startTP",""],["endTP",""],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container"],[1,"bs-media-container"],[1,"bs-datepicker-buttons"],[1,"bs-datepicker-custom-range"],[3,"bs-datepicker-multiple","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[3,"disabled"],[3,"bs-datepicker-multiple","calendar"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],[1,"btn-today-wrapper",3,"today-left","today-right","today-center"],[1,"btn-clear-wrapper",3,"clear-left","clear-right","clear-center"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(pe,Ye){1&pe&&(d.nVh(0,Hi,10,8,"div",2),d.nI1(1,"async")),2&pe&&d.vxM(d.bMT(1,1,Ye.viewMode)?0:-1)},dependencies:[Le.YU,No,K.gS,K.nV,yo,Vo,vi,Le.Jj],encapsulation:2,data:{animation:[Ni]}})}}return Z})(),es=(()=>{class Z extends ho{get disabledValue(){return this.isDatePickerDisabled?"":null}get readonlyValue(){return this.isDatePickerDisabled?"":null}constructor(j,pe,Ye,Ft,Nn,Ji,oo){super(j,pe,Ye,Ft,Nn,Ji,oo),j.setStyle(Ft.nativeElement,"display","inline-block"),j.setStyle(Ft.nativeElement,"position","static")}static{this.\u0275fac=function(pe){return new(pe||Z)(d.rXU(d.sFG),d.rXU(Bn),d.rXU(Mi),d.rXU(d.aKT),d.rXU(At),d.rXU(nn),d.rXU(q.DF))}}static{this.\u0275cmp=d.VBU({type:Z,selectors:[["bs-daterangepicker-inline-container"]],hostVars:2,hostBindings:function(pe,Ye){1&pe&&d.bIt("click",function(Nn){return Ye._stopPropagation(Nn)}),2&pe&&d.BMQ("disabled",Ye.disabledValue)("readonly",Ye.readonlyValue)},features:[d.Jv_([Mi,nn,At]),d.Vt3],decls:2,vars:3,consts:[["startTP",""],["endTP",""],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container"],[1,"bs-media-container"],[1,"bs-datepicker-buttons"],[1,"bs-datepicker-custom-range"],[3,"bs-datepicker-multiple","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[3,"disabled"],[3,"bs-datepicker-multiple","calendar"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],[1,"btn-today-wrapper",3,"today-left","today-right","today-center"],[1,"btn-clear-wrapper",3,"clear-left","clear-right","clear-center"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(pe,Ye){1&pe&&(d.nVh(0,On,10,8,"div",2),d.nI1(1,"async")),2&pe&&d.vxM(d.bMT(1,1,Ye.viewMode)?0:-1)},dependencies:[Le.YU,No,K.gS,K.nV,yo,Vo,vi,Le.Jj],encapsulation:2,data:{animation:[Ni]}})}}return Z})();const Po={provide:Oe.kq,useExisting:(0,M.Rfq)(()=>Xi),multi:!0},zo={provide:Oe.cz,useExisting:(0,M.Rfq)(()=>Xi),multi:!0};let Ao,Xi=(()=>{class Z{constructor(j,pe,Ye,Ft,Nn){this._picker=j,this._localeService=pe,this._renderer=Ye,this._elRef=Ft,this.changeDetection=Nn,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._val
1idatorChange=Function.prototype,this._subs=new F.yU}onChange(j){this.writeValue(j.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}ngOnInit(){const j=pe=>{this._setInputValue(pe),this._value!==pe&&(this._value=pe,this._onChange(pe),this._onTouched()),this.changeDetection.markForCheck()};this._picker._bsValue&&j(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(j)),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.dateInputFormat$.pipe((0,A.F)()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}_setInputValue(j){const pe=j?(0,N.Yq)(j,this._picker._config.dateInputFormat,this._localeService.currentLocale):"";this._renderer.setProperty(this._elRef.nativeElement,"value",pe)}validate(j){const pe=j.value;if(null==pe||""===pe)return null;if((0,N.$P)(pe)){if(!(0,N.Pz)(pe))return{bsDate:{invalid:pe}};if(this._picker&&this._picker.minDate&&(0,N.Y8)(pe,this._picker.minDate,"date"))return this.writeValue(this._picker.minDate),this._picker.ignoreMinMaxErrors?null:{bsDate:{minDate:this._picker.minDate}};if(this._picker&&this._picker.maxDate&&(0,N.dS)(pe,this._picker.maxDate,"date"))return this.writeValue(this._picker.maxDate),this._picker.ignoreMinMaxErrors?null:{bsDate:{maxDate:this._picker.maxDate}}}return null}registerOnValidatorChange(j){this._validatorChange=j}writeValue(j){if(j){const pe=this._localeService.currentLocale;if(!(0,N.JK)(pe))throw new Error(`Locale "${pe}" is not defined, please add it with "defineLocale(...)"`);if(this._value=(0,N._U)(j,this._picker._config.dateInputFormat,this._localeService.currentLocale),this._picker._config.useUtc){const Ft=(0,N.qK)(this._value);this._value=null===Ft?void 0:Ft}}else this._value=void 0;this._picker.bsValue=this._value}setDisabledState(j){this._picker.isDisabled=j,j?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(j){this._onChange=j}registerOnTouched(j){this._onTouched=j}static{this.\u0275fac=function(pe){return new(pe||Z)(d.rXU(Mo,1),d.rXU(jt),d.rXU(d.sFG),d.rXU(d.aKT),d.rXU(y.gRc))}}static{this.\u0275dir=d.FsC({type:Z,selectors:[["input","bsDatepicker",""]],hostBindings:function(pe,Ye){1&pe&&d.bIt("change",function(Nn){return Ye.onChange(Nn)})("blur",function(){return Ye.onBlur()})("keyup.esc",function(){return Ye.hide()})("keydown.enter",function(){return Ye.hide()})},features:[d.Jv_([Po,zo])]})}}return Z})(),ms=(()=>{class Z extends Bn{constructor(){super(...arguments),this.displayMonths=2}static{this.\u0275fac=(()=>{let j;return function(Ye){return(j||(j=d.xGo(Z)))(Ye||Z)}})()}static{this.\u0275prov=M.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}}return Z})(),Go=(()=>{class Z{get isOpen(){return this._datepicker.isShown}set isOpen(j){this.isOpen$.next(j)}set bsValue(j){this._bsValue!==j&&(j&&this.bsConfig?.initCurrentTime&&(j=hi(j)),this.initPreviousValue(),this._bsValue=j,this.bsValueChange.emit(j))}get isDatepickerReadonly(){return this.isDisabled?"":null}get rangeInputFormat$(){return this._rangeInputFormat$}constructor(j,pe,Ye,Ft,Nn){this._config=j,this._elementRef=pe,this._renderer=Ye,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new H.B,this.isDisabled=!1,this.bsValueChange=new M.bkB,this._subs=[],this._rangeInputFormat$=new H.B,this._datepicker=Nn.createLoader(pe,Ft,Ye),Object.assign(this,j),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new ee.t(this.isOpen)}ngOnInit(){this.isDestroy$=new H.B,this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.initPreviousValue(),this.setConfig()}ngOnChanges(j){j.bsConfig&&(j.bsConfig.currentValue?.initCurrentTime&&j.bsConfig.currentValue?.initCurrentTime!==j.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this.initPreviousValue(),this._bsValue=hi(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._rangeInputFormat$.next(j.bsConfig.currentValue&&j.bsConfig.currentValue.rangeInputFormat)),this._datepickerRef&&this._datepickerRef.instance&&(j.minDate&&(this._datepickerRef.instance.minDate=this.minDate),j.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),j.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),j.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),j.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),j.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),j.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}ngAfterViewInit(){this.isOpen$.pipe((0,D.p)(j=>j!==this.isOpen),(0,x.Q)(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:Bn,useValue:this._config}).attach(ho).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(j=>{this._datepickerRef&&(this._datepickerRef.instance.value=j)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.pipe((0,D.p)(j=>j&&j[0]&&!!j[1])).subscribe(j=>{this.initPreviousValue(),this.bsValue=j,!this.keepDatepickerModalOpened()&&this.hide()}))}initPreviousValue(){Ao=this._bsValue}keepDatepickerModalOpened(){return!!(Ao&&this.bsConfig?.keepDatepickerOpened&&this._config.withTimepicker)&&this.isDateSame()}isDateSame(){return this._bsValue?.[0]?.getDate()===Ao?.[0]?.getDate()&&this._bsValue?.[0]?.getMonth()===Ao?.[0]?.getMonth()&&this._bsValue?.[0]?.getFullYear()===Ao?.[0]?.getFullYear()&&this._bsValue?.[1]?.getDate()===Ao?.[1]?.getDate()&&this._bsValue?.[1]?.getMonth()===Ao?.[1]?.getMonth()&&this._bsValue?.[1]?.getFullYear()===Ao?.[1]?.getFullYear()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this.bsConfig?.keepDatesOutOfRules?this._bsValue:mi(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,ranges:oi(this.bsConfig&&this.bsConfig.ranges,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),maxDateRange:this.bsConfig&&this.bsConfig.maxDateRange,initCurrentTime:this.bsConfig?.initCurrentTime,keepDatepickerOpened:this.bsConfig?.keepDatepickerOpened,keepDatesOutOfRules:this.bsConfig?.keepDatesOutOfRules})}hide(){this.isOpen&&this._datepicker.hide();for(const j of this._subs)j.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(j=>j.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}static{this.\u0275fac=function(pe){return new(pe||Z)(d.rXU(ms),d.rXU(d.aKT),d.rXU(d.sFG),d.rXU(d.c1b),d.rXU(ut.Li))}}static{this.\u0275dir=d.FsC({type:Z,selectors:[["","bsDaterangepicker",""]],hostVars:1,hostBindings:function(pe,Ye){2&pe&&d.BMQ("readonly",Ye.isDatepickerReadonly)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDaterangepicker"],features:[d.Jv_([ut.Li,q.DF]),d.OA$]})}}return Z})();const zs={provide:Oe.kq,useExisting:(0,M.Rfq)(()=>ts),multi:!0},os={provide:Oe.cz,useExisting:(0,M.Rfq)(()=>ts),multi:!0};let ts=(()=>{class Z{constructor(j,pe,Ye,Ft,Nn){this._picker=j,this._localeService=pe,this._renderer=Ye,this._elRef=Ft,this.changeDetection=Nn,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._val
1idatorChange=Function.prototype,this._subs=new F.yU}ngOnInit(){this._picker._bsValue&&(pe=>{this._setInputValue(pe),this._value!==pe&&(this._value=pe,this._onChange(pe),this._onTouched()),this.changeDetection.markForCheck()})(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(pe=>{this._setInputValue(pe),this._value!==pe&&(this._value=pe,this._onChange(pe),this._onTouched()),this.changeDetection.markForCheck()})),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.rangeInputFormat$.pipe((0,A.F)()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}onKeydownEvent(j){(13===j.keyCode||"Enter"===j.code)&&this.hide()}_setInputValue(j){let pe="";if(j){const Ye=j[0]?(0,N.Yq)(j[0],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"",Ft=j[1]?(0,N.Yq)(j[1],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"";pe=Ye&&Ft?Ye+this._picker._config.rangeSeparator+Ft:""}this._renderer.setProperty(this._elRef.nativeElement,"value",pe)}onChange(j){this.writeValue(j.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(j){let pe=j.value;const Ye=[];if(null==pe||!(0,N.cy)(pe))return null;pe=pe.slice().sort((Ji,oo)=>Ji.getTime()-oo.getTime());const Ft=(0,N.Pz)(pe[0]),Nn=(0,N.Pz)(pe[1]);return Ft?Nn?(this._picker&&this._picker.minDate&&(0,N.Y8)(pe[0],this._picker.minDate,"date")&&(pe[0]=this._picker.minDate,Ye.push({bsDate:{minDate:this._picker.minDate}})),this._picker&&this._picker.maxDate&&(0,N.dS)(pe[1],this._picker.maxDate,"date")&&(pe[1]=this._picker.maxDate,Ye.push({bsDate:{maxDate:this._picker.maxDate}})),Ye.length>0?(this.writeValue(pe),Ye):null):{bsDate:{invalid:pe[1]}}:{bsDate:{invalid:pe[0]}}}registerOnValidatorChange(j){this._validatorChange=j}writeValue(j){if(j){const pe=this._localeService.currentLocale;if(!(0,N.JK)(pe))throw new Error(`Locale "${pe}" is not defined, please add it with "defineLocale(...)"`);let Ft=[];if("string"==typeof j){const Nn=this._picker._config.rangeSeparator.trim();Ft=j.replace(/[^-]/g,"").length>1?j.split(this._picker._config.rangeSeparator):j.split(Nn.length>0?Nn:this._picker._config.rangeSeparator).map(Ji=>Ji.trim())}Array.isArray(j)&&(Ft=j),this._value=Ft.map(Nn=>this._picker._config.useUtc?(0,N.qK)((0,N._U)(Nn,this._picker._config.rangeInputFormat,this._localeService.currentLocale)):(0,N._U)(Nn,this._picker._config.rangeInputFormat,this._localeService.currentLocale)).map(Nn=>isNaN(Nn.valueOf())?void 0:Nn)}else this._value=void 0;this._picker.bsValue=this._value}setDisabledState(j){this._picker.isDisabled=j,j?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(j){this._onChange=j}registerOnTouched(j){this._onTouched=j}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}static{this.\u0275fac=function(pe){return new(pe||Z)(d.rXU(Go,1),d.rXU(jt),d.rXU(d.sFG),d.rXU(d.aKT),d.rXU(y.gRc))}}static{this.\u0275dir=d.FsC({type:Z,selectors:[["input","bsDaterangepicker",""]],hostBindings:function(pe,Ye){1&pe&&d.bIt("change",function(Nn){return Ye.onChange(Nn)})("keyup.esc",function(){return Ye.hide()})("keydown",function(Nn){return Ye.onKeydownEvent(Nn)})("blur",function(){return Ye.onBlur()})},features:[d.Jv_([zs,os])]})}}return Z})(),vo=(()=>{class Z{static forRoot(){return{ngModule:Z,providers:[]}}static{this.\u0275fac=function(pe){return new(pe||Z)}}static{this.\u0275mod=d.$C({type:Z})}static{this.\u0275inj=M.G2t({imports:[Le.MD,de.Ss,K.gS,No,uo,ls,ho,es]})}}return Z})()},14563(ot,V,l){"use strict";l.d(V,{n:()=>O,F:()=>x});var f=l(84412),g=l(97302),_=l(707);const o=new class C extends _.q{}
1(class h extends g.R{constructor(q,K){super(q,K),this.scheduler=q,this.work=K}schedule(q,K=0){return K>0?super.schedule(q,K):(this.delay=K,this.state=q,this.scheduler.flush(this),this)}execute(q,K){return K>0||this.closed?super.execute(q,K):this._execute(q,K)}requestAsyncId(q,K,te=0){return null!=te&&te>0||null==te&&this.delay>0?super.requestAsyncId(q,K,te):(q.flush(this),0)}});var d=l(71985),M=l(40941),A=l(31943),D=l(96354),w=l(23294);class O extends f.t{constructor(q,K,te){super(q),K.pipe((0,M.Q)(o)).pipe((0,A.S)((F,J)=>J?te(F,J):F,q)).subscribe(F=>this.next(F))}}class x extends d.c{constructor(q,K,te){super(),this._dispatcher=q,this._reducer=K,this.source=te}select(q){return(this.source?.pipe((0,D.T)(q))||(new d.c).pipe((0,D.T)(q))).pipe((0,w.F)())}lift(q){const K=new x(this._dispatcher,this._reducer,this);return K.operator=q,K}dispatch(q){this._dispatcher.next(q)}next(q){this._dispatcher.next(q)}error(q){this._dispatcher.error(q)}complete(){}}},50779(ot,V,l){"use strict";l.d(V,{Y$:()=>Ke,I8:()=>Pe,hZ:()=>wt,Q_:()=>Yt});var f=l(85802),g=l(35547),h=l(76932),_=l(72806),C=l(60177),o=l(49769),y=l(96697);function d(Tt){return null!=Tt&&"false"!=`${Tt}`}let M;try{M=typeof Intl<"u"&&Intl.v8BreakIterator}catch{M=!1}let A=(()=>{class Tt{constructor(We){this._platformId=We,this.isBrowser=this._platformId?(0,C.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!M)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(yt){return new(yt||Tt)(f.KVO(g.Agw))}}static{this.\u0275prov=f.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"})}}return Tt})(),w=(()=>{class Tt{constructor(We){this._platform=We}isDisabled(We){return We.hasAttribute("disabled")}isVisible(We){return function x(Tt){return!!(Tt.offsetWidth||Tt.offsetHeight||"function"==typeof Tt.getClientRects&&Tt.getClientRects().length)}(We)&&"visible"===getComputedStyle(We).visibility}isTabbable(We){if(!this._platform.isBrowser)return!1;const yt=function O(Tt){try{return Tt.frameElement}catch{return null}}(function de(Tt){return Tt.ownerDocument&&Tt.ownerDocument.defaultView||window}(We));if(yt&&(-1===F(yt)||!this.isVisible(yt)))return!1;let je=We.nodeName.toLowerCase(),St=F(We);return We.hasAttribute("contenteditable")?-1!==St:!("iframe"===je||"object"===je||this._platform.WEBKIT&&this._platform.IOS&&!function J(Tt){let qt=Tt.nodeName.toLowerCase(),We="input"===qt&&Tt.type;return"text"===We||"password"===We||"select"===qt||"textarea"===qt}(We))&&("audio"===je?!!We.hasAttribute("controls")&&-1!==St:"video"===je?-1!==St&&(null!==St||this._platform.FIREFOX||We.hasAttribute("controls")):We.tabIndex>=0)}isFocusable(We,yt){return function ne(Tt){return!function q(Tt){return function te(Tt){return"input"==Tt.nodeName.toLowerCase()}(Tt)&&"hidden"==Tt.type}(Tt)&&(function N(Tt){let qt=Tt.nodeName.toLowerCase();return"input"===qt||"select"===qt||"button"===qt||"textarea"===qt}(Tt)||function K(Tt){return function H(Tt){return"a"==Tt.nodeName.toLowerCase()}(Tt)&&Tt.hasAttribute("href")}(Tt)||Tt.hasAttribute("contenteditable")||ee(Tt))}(We)&&!this.isDisabled(We)&&(yt?.ignoreVisibility||this.isVisible(We))}static{this.\u0275fac=function(yt){return new(yt||Tt)(f.KVO(A))}}static{this.\u0275prov=f.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"})}}return Tt})();function ee(Tt){if(!Tt.hasAttribute("tabindex")||void 0===Tt.tabIndex)return!1;let qt=Tt.getAttribute("tabindex");return"-32768"!=qt&&!(!qt||isNaN(parseInt(qt,10)))}function F(Tt){if(!ee(Tt))return null;const qt=parseInt(Tt.getAttribute("tabindex")||"",10);return isNaN(qt)?-1:qt}let Le=(()=>{class Tt{constructor(){this._focusTrapStack=[]}register(We){this._focusTrapStack=this._focusTrapStack.filter(je=>je!==We);let yt=this._focusTrapStack;
1yt.length&&yt[yt.length-1]._disable(),yt.push(We),We._enable()}deregister(We){We._disable();const yt=this._focusTrapStack,je=yt.indexOf(We);-1!==je&&(yt.splice(je,1),yt.length&&yt[yt.length-1]._enable())}static{this.\u0275fac=function(yt){return new(yt||Tt)}}static{this.\u0275prov=f.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"})}}return Tt})();class ut{get enabled(){return this._enabled}set enabled(qt){this._enabled=qt,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(qt,this._startAnchor),this._toggleAnchorTabIndex(qt,this._endAnchor))}constructor(qt,We,yt,je,St=!1){this._element=qt,this._checker=We,this._ngZone=yt,this._document=je,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,St||this.attachAnchors()}destroy(){const qt=this._startAnchor,We=this._endAnchor;qt&&(qt.removeEventListener("focus",this.startAnchorListener),qt.parentNode&&qt.parentNode.removeChild(qt)),We&&(We.removeEventListener("focus",this.endAnchorListener),We.parentNode&&We.parentNode.removeChild(We)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(qt=>{this._executeOnStable(()=>qt(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(qt=>{this._executeOnStable(()=>qt(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(qt=>{this._executeOnStable(()=>qt(this.focusLastTabbableElement()))})}_getRegionBoundary(qt){let We=this._element.querySelectorAll(`[cdk-focus-region-${qt}], [cdkFocusRegion${qt}], [cdk-focus-${qt}]`);for(let yt=0;yt<We.length;yt++)We[yt].hasAttribute(`cdk-focus-${qt}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${qt}', use 'cdkFocusRegion${qt}' instead. The deprecated attribute will be removed in 8.0.0.`,We[yt]):We[yt].hasAttribute(`cdk-focus-region-${qt}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${qt}', use 'cdkFocusRegion${qt}' instead. The deprecated attribute will be removed in 8.0.0.`,We[yt]);return"start"==qt?We.length?We[0]:this._getFirstTabbableElement(this._element):We.length?We[We.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const qt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(qt){if(qt.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",qt),!this._checker.isFocusable(qt)){const We=this._getFirstTabbableElement(qt);return We?.focus(),!!We}return qt.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const qt=this._getRegionBoundary("start");
1return qt&&qt.focus(),!!qt}focusLastTabbableElement(){const qt=this._getRegionBoundary("end");return qt&&qt.focus(),!!qt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(qt){if(this._checker.isFocusable(qt)&&this._checker.isTabbable(qt))return qt;let We=qt.children||qt.childNodes;for(let yt=0;yt<We.length;yt++){let je=We[yt].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(We[yt]):null;if(je)return je}return null}_getLastTabbableElement(qt){if(this._checker.isFocusable(qt)&&this._checker.isTabbable(qt))return qt;let We=qt.children||qt.childNodes;for(let yt=We.length-1;yt>=0;yt--){let je=We[yt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(We[yt]):null;if(je)return je}return null}_createAnchor(){const qt=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,qt),qt.classList.add("cdk-visually-hidden"),qt.classList.add("cdk-focus-trap-anchor"),qt.setAttribute("aria-hidden","true"),qt}_toggleAnchorTabIndex(qt,We){qt?We.setAttribute("tabindex","0"):We.removeAttribute("tabindex")}toggleAnchors(qt){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(qt,this._startAnchor),this._toggleAnchorTabIndex(qt,this._endAnchor))}_executeOnStable(qt){this._ngZone.isStable?qt():this._ngZone.onStable.pipe((0,y.s)(1)).subscribe(qt)}}let Oe=(()=>{class Tt{constructor(We,yt,je){this._checker=We,this._ngZone=yt,this._document=je}create(We,yt=!1){return new ut(We,this._checker,this._ngZone,this._document,yt)}static{this.\u0275fac=function(yt){return new(yt||Tt)(f.KVO(w),f.KVO(f.SKi),f.KVO(f.qQL))}}static{this.\u0275prov=f.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"})}}return Tt})(),xe=(()=>{class Tt{get enabled(){return this.focusTrap.enabled}set enabled(We){this.focusTrap.enabled=d(We)}get autoCapture(){return this._autoCapture}set autoCapture(We){this._autoCapture=d(We)}constructor(We,yt,je){this._elementRef=We,this._focusTrapFactory=yt,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=je,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(We){const yt=We.autoCapture;yt&&!yt.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}static{this.\u0275fac=function(yt){return new(yt||Tt)(g.rXU(g.aKT),g.rXU(Oe),g.rXU(f.qQL))}}static{this.\u0275dir=g.FsC({type:Tt,selectors:[["","focusTrap",""]],inputs:{enabled:[0,"cdkTrapFocus","enabled"],autoCapture:[0,"cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[g.Jv_([Le,A,w]),g.OA$]})}}return Tt})(),Ce=(()=>{class Tt{static forRoot(){return{ngModule:Tt,providers:[]}}static{this.\u0275fac=function(yt){return new(yt||Tt)}}static{this.\u0275mod=g.$C({type:Tt})}static{this.\u0275inj=f.G2t({imports:[o.MD]})}}return Tt})();var Te=l(71946);const Fe=["*"];let Ke=(()=>{class Tt{constructor(){this.hide=()=>{},this.setClass=()=>{}}static{this.\u0275fac=function(yt){return new(yt||Tt)}}static{this.\u0275prov=f.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"platform"})}}return Tt})(),kt=(()=>{class Tt{static{this.\u0275fac=function(yt){return new(yt||Tt)}}static{this.\u0275prov=f.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"platform"})}}return Tt})();const ct={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},Pt=new f.nKC("override-default-config"),Ze_OPEN="modal-open";let ve=(()=>{class Tt{get isAnimated(){return this._isAnimated}set isAnimated(We){this._isAnimated=We}get isShown(){return this._isShown}set isShown(We){this._isShown=We,We?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show")}constructor(We,yt){this._isAnimated=!1,this._isShown=!1,this.element=We,this.renderer=yt}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),_.Aq.reflow(this.element.nativeElement)),this.isShown=!0}static{this.\u0275fac=function(yt){return new(yt||Tt)(g.rXU(g.aKT),g.rXU(g.sFG))}}static{this.\u0275cmp=g.VBU({type:Tt,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(yt,je){},encapsulation:2})}}return Tt})(),he=1,Pe=(()=>{class Tt{constructor(We,yt,je){this.clf=yt,this.modalDefaultOption=je,this.onShow=new f.bkB,this.onShown=new f.bkB,this.onHide=new f.bkB,this.onHidden=new f.bkB,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.lastHiddenId=null,this.loaders=[],this._focusEl=null,this._backdropLoader=this.clf.createLoader(),this._renderer=We.createRenderer(null,null),this.config=je?Object.assign({},ct,je):ct}show(We,yt){this._focusEl=_.Al.activeElement,this.modalsCount++,this.lastHiddenId=null,this._createLoaders();const je=yt?.id||he++;return this.config=this.modalDefaultOption?Object.assign({},ct,this.modalDefaultOption,yt):Object.assign({},ct,yt),this.config.id=je,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(We)}hide(We){this.lastHiddenId!==We&&(this.lastHiddenId=We,(1===this.modalsCount||null==We)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=We?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(We),this.removeLoaders(We)},this.config.animated?150:0),this._focusEl&&this._focusEl.focus())}_showBackdrop(){const We=!0===this.config.backdrop||"static"===this.config.backdrop,yt=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),We&&yt&&(this._backdropLoader.attach(ve).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout(()=>this.removeBackdrop(),this.config.animated?150:0))}_showModal(We){const yt=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const me of this.config.providers)yt.provide(me);const je=new Ke,St=yt.provide({provide:kt,useValue:this.config}).provide({provide:Ke,useValue:je}).attach(Ve).to("body");return je.hide=()=>St.instance?.hide(),je.setClass=me=>{St.instance&&(St.instance.config.class=me)},je.onHidden=new f.bkB,je.onHide=new f.bkB,this.copyEvent(yt.onBeforeHide,je.onHide),this.copyEvent(yt.onHidden,je.onHidden
1),St.show({content:We,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),St.instance&&(St.instance.level=this.getModalsCount(),je.content=yt.getInnerComponent(),je.id=St.instance.config?.id),je}_hideModal(We){if(null!=We){const yt=this.loaders.findIndex(St=>St.instance?.config.id===We),je=this.loaders[yt];je&&je.hide(We)}else this.loaders.forEach(yt=>{yt.instance&&yt.hide(yt.instance.config.id)})}getModalsCount(){return this.modalsCount}setDismissReason(We){this.lastDismissReason=We}removeBackdrop(){this._renderer.removeClass(_.Al.body,Ze_OPEN),this._renderer.setStyle(_.Al.body,"overflow-y",""),this._backdropLoader.hide(),this.backdropRef=void 0}checkScrollbar(){this.isBodyOverflowing=_.Al.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){_.Al&&(this.originalBodyPadding=parseInt(window.getComputedStyle(_.Al.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(_.Al.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){_.Al.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const We=this._renderer.createElement("div");this._renderer.addClass(We,"modal-scrollbar-measure"),this._renderer.appendChild(_.Al.body,We);const yt=We.offsetWidth-We.clientWidth;return this._renderer.removeChild(_.Al.body,We),yt}_createLoaders(){const We=this.clf.createLoader();this.copyEvent(We.onBeforeShow,this.onShow),this.copyEvent(We.onShown,this.onShown),this.copyEvent(We.onBeforeHide,this.onHide),this.copyEvent(We.onHidden,this.onHidden),this.loaders.push(We)}removeLoaders(We){if(null!=We){const yt=this.loaders.findIndex(je=>je.instance?.config.id===We);yt>=0&&(this.loaders.splice(yt,1),this.loaders.forEach((je,St)=>{je.instance&&(je.instance.level=St+1)}))}else this.loaders.splice(0,this.loaders.length)}copyEvent(We,yt){We.subscribe(je=>{yt.emit(this.lastDismissReason||je)})}static{this.\u0275fac=function(yt){return new(yt||Tt)(f.KVO(g._9s),f.KVO(h.Li),f.KVO(Pt,8))}}static{this.\u0275prov=f.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"platform"})}}return Tt})(),Ve=(()=>{class Tt{constructor(We,yt,je){this._element=yt,this._renderer=je,this.isShown=!1,this.isAnimated=!1,this._focusEl=null,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},We)}ngOnInit(){this._focusEl=_.Al.activeElement,this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,"show")},this.isAnimated?150:0),_.Al&&_.Al.body&&(this.bsModalService&&1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(_.Al.body,Ze_OPEN),this._renderer.setStyle(_.Al.body,"overflow-y","hidden")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(We){this.clickStartedInContent=We.target instanceof Element&&We.target!==this._element.nativeElement}onClickStop(We){We.target instanceof Element?this.config.ignoreBackdropClick||"static"===this.config.backdrop||We.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService?.setDismissReason("backdrop-click"),this.hide()):this.clickStartedInContent=!1}onPopState(){this.bsModalService?.setDismissReason("browser-back-navigation-clicked"),this.hide()}onEsc(We){this.isShown&&("Escape"===We.key||"Esc"===We.key||"keyCode"in We&&27===We.keyCode)&&(We.preventDefault(),this.config.keyboard&&this.level===this.bsModalService?.getModalsCount()&&(this.bsModalService?.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this._hide()}hide(){if(!this.isModalHiding){if(this.config.closeInterceptor)return void this.config.closeInterceptor().then(()=>this._hide(),()=>{});this._hide()}}_hide(){this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,"show"),setTimeout(()=>{this.isShown=!1,this.bsModalService?.hide(this.config.id),_.Al&&_.Al.body&&0===this.bsModalService?.getModalsCount()&&(this._renderer.removeClass(_.Al.body,Ze_OPEN),this._renderer.setStyle(_.Al.body,"overflow-y","")),this.bsModalService?.hide(this.config.id),this.isModalHiding=!1,this._focusEl&&this._focusEl.focus()},this.isAnimated?300:0)}static{this.\u0275fac=function(yt){return new(yt||Tt)(g.rXU(kt),g.rXU(g.aKT),g.rXU(g.sFG))}}
1static{this.\u0275cmp=g.VBU({type:Tt,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(yt,je){1&yt&&g.bIt("mousedown",function(me){return je.onClickStarted(me)})("click",function(me){return je.onClickStop(me)})("popstate",function(){return je.onPopState()},g.tSv)("keydown.esc",function(me){return je.onEsc(me)},g.tSv),2&yt&&g.BMQ("aria-modal",!0)("aria-labelledby",je.config.ariaLabelledBy)("aria-describedby",je.config.ariaDescribedby)},features:[g.Jv_([Pe])],ngContentSelectors:Fe,decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(yt,je){1&yt&&(g.NAR(),g.j41(0,"div",0)(1,"div",1),g.SdG(2),g.k0s()()),2&yt&&g.HbH("modal-dialog"+(je.config.class?" "+je.config.class:""))},dependencies:[xe],encapsulation:2})}}return Tt})(),wt=(()=>{class Tt{set config(We){this._config=this.getConfig(We)}get config(){return this._config}get isShown(){return this._isShown}constructor(We,yt,je,St,me){this._element=We,this._renderer=je,this.onShow=new f.bkB,this.onShown=new f.bkB,this.onHide=new f.bkB,this.onHidden=new f.bkB,this._isShown=!1,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.timerHideModal=0,this.timerRmBackDrop=0,this.isNested=!1,this.clickStartedInContent=!1,this._focusEl=null,this._backdrop=St.createLoader(We,yt,je),this._config=me||ct}onClickStarted(We){this.clickStartedInContent=We.target instanceof Element&&We.target!==this._element.nativeElement}onClickStop(We){We.target instanceof Element?this.config.ignoreBackdropClick||"static"===this.config.backdrop||We.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.dismissReason="backdrop-click",this.hide(We)):this.clickStartedInContent=!1}onEsc(We){this._isShown&&("Escape"===We.key||"Esc"===We.key||"keyCode"in We&&27===We.keyCode)&&(We.preventDefault(),this.config.keyboard&&(this.dismissReason="esc",this.hide()))}ngOnDestroy(){this._isShown&&(this._isShown=!1,this.hideModal(),this._backdrop.dispose())}ngOnInit(){this._config=this._config||this.getConfig(),setTimeout(()=>{this._config.show&&this.show()},0)}toggle(){return this._isShown?this.hide():this.show()}show(){this.dismissReason=void 0,this.onShow.emit(this),!this._isShown&&(clearTimeout(this.timerHideModal),clearTimeout(this.timerRmBackDrop),this._isShown=!0,this.checkScrollbar(),this.setScrollbar(),_.Al&&_.Al.body&&(_.Al.body.classList.contains(Ze_OPEN)?this.isNested=!0:(this._renderer.addClass(_.Al.body,Ze_OPEN),this._renderer.setStyle(_.Al.body,"overflow-y","hidden"))),this.showBackdrop(()=>{this.showElement()}))}hide(We){if(this._isShown){if(We&&We.preventDefault(),this.config.closeInterceptor)return void this.config.closeInterceptor().then(()=>this._hide(),()=>{});this._hide()}}_hide(){this.onHide.emit(this),_.x.clearTimeout(this.timerHideModal),_.x.clearTimeout(this.timerRmBackDrop),this._isShown=!1,this._renderer.removeClass(this._element.nativeElement,"show"),this._config.animated?this.timerHideModal=_.x.setTimeout(()=>this.hideModal(),300):this.hideModal(),this._focusEl&&this._focusEl.focus()}getConfig(We){return Object.assign({},this._config,We)}showElement(){(!this._element.nativeElement.parentNode||this._element.nativeElement.parentNode.nodeType!==Node.ELEMENT_NODE)&&_.Al&&_.Al.body&&_.Al.body.appendChild(this._element.nativeElement),this._renderer.setAttribute(this._element.nativeElement,"aria-hidden","false"),this._renderer.setAttribute(this._element.nativeElement,"aria-modal","true"),this._renderer.setStyle(this._element.nativeElement,"display","block"),this._renderer.setProperty(this._element.nativeElement,"scrollTop",0),this._config.animated&&_.Aq.reflow(this._element.nativeElement),this._renderer.addClass(this._element.nativeElement,"show");const We=()=>{this._config.focus&&this._element.nativeElement.focus(),this.onShown.emit(this)};this._config.animated?setTimeout(We,300):We()}hideModal(){this._renderer.setAttribute(this._element.nativeElement,"aria-hidden","true"),this._renderer.setStyle(this._element.nativeElement,"display","none"),this.showBackdrop(()=>{this.isNested||(_.Al&&_.Al.body&&(this._renderer.removeClass(_.Al.body,Ze_OPEN),this._renderer.setStyle(_.Al.body,"overflow-y","")),this.resetScrollbar()),this.resetAdjustments(),this.focusOtherModal(),this.onHidden.emit(this)})}showBackdrop(We){if(!this._isShown||!this.config.backdrop||this.backdrop&&this.backdrop.instance.isShown)if(!this._isShown&&this.backdrop){this.backdrop.instance.isShown=!1;const yt=()=>{this.removeBackdrop(),We&&We()};this.backdrop.instance.isAnimated?this.timerRmBackDrop=_.x.setTimeout(yt,150):yt()}else We&&We();else{if(this.removeBackdrop(),this._backdrop.attach(ve).to("body").show({isAnimated:this._config.animated}),this.backdrop=this._backdrop._componentRef,!We)return;if(!this._config.animated)return void We();setTimeout(We,150)}}removeBackdrop(){this._backdrop.hide()}focusOtherModal(){if(null==this._element.nativeElement.parentElement)return;const We=this._element.nativeElement.parentElement.querySelectorAll(".in[bsModal]");We.length&&We[We.length-1].focus()}resetAdjustments(){this._renderer.setStyle(this._element.nativeElement,"paddingLeft",""),this._renderer.setStyle(this._element.nativeElement,"paddingRight","")}checkScrollbar(){this.isBodyOverflowing=_.Al.body.clientWidth<_.x.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){_.Al&&(this.originalBodyPadding=parseInt(_.x.getComputedStyle(_.Al.body).getPropertyValue("padding-right")||0,10),this.isBodyOverflowing&&(_.Al.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){_.Al.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const We=this._renderer.createElement("div");this._renderer.addClass(We,"modal-scrollbar-measure"),this._renderer.appendChild(_.Al.body,We);const yt=We.offsetWidth-We.clientWidth;return this._renderer.removeChild(_.Al.body,We),yt}static{this.\u0275fac=function(yt){return new(yt||Tt)(g.rXU(g.aKT),g.rXU(g.c1b),g.rXU(g.sFG),g.rXU(h.Li),g.rXU(Pt,8))}}static{this.\u0275dir=g.FsC({type:Tt,selectors:[["","bsModal",""]],hostBindings:function(yt,je){1&yt&&g.bIt("mousedown",function(me){return je.onClickStarted(me)})("mouseup",function(me){return je.onClickStop(me)})("keydown",function(me){return je.onEsc(me)},g.EBC)},inputs:{config:"config",closeInterceptor:"closeInterceptor"},outputs:{onShow:"onShow",onShown:"onShown",onHide:"onHide",onHidden:"onHidden"},exportAs:["bs-modal"]})}}return Tt})(),Yt=(()=>{class Tt{static forRoot(){return{ngModule:Tt,providers:[Pe,h.Li,Te.DF]}}static forChild(){return{ngModule:Tt,providers:[Pe,h.Li,Te.DF]}}static{this.\u0275fac=function(yt){return new(yt||Tt)}}static{this.\u0275mod=g.$C({type:Tt})}static{this.\u0275inj=f.G2t({imports:[Ce]})}}return Tt})()},71946(ot,V,l){"use strict";l.d(V,{DF:()=>rt,Rz:()=>w});var f=l(72806),g=l(35547),h=l(85802),_=l(89079),C=l(60177),o=l(18530),y=l(30536),d=l(33726
1),M=l(57786),A=l(7673),D=function(we){return we.top="top",we.bottom="bottom",we.left="left",we.right="right",we.auto="auto",we.end="right",we.start="left",we["top left"]="top left",we["top right"]="top right",we["right top"]="right top",we["right bottom"]="right bottom",we["bottom right"]="bottom right",we["bottom left"]="bottom left",we["left bottom"]="left bottom",we["left top"]="left top",we["top start"]="top left",we["top end"]="top right",we["end top"]="right top",we["end bottom"]="right bottom",we["bottom end"]="bottom right",we["bottom start"]="bottom left",we["start bottom"]="start bottom",we["start top"]="left top",we}(D||{}),w=function(we){return we.top="top",we.bottom="bottom",we.left="start",we.right="end",we.auto="auto",we.end="end",we.start="start",we["top left"]="top start",we["top right"]="top end",we["right top"]="end top",we["right bottom"]="end bottom",we["bottom right"]="bottom end",we["bottom left"]="bottom start",we["left bottom"]="start bottom",we["left top"]="start top",we["top start"]="top start",we["top end"]="top end",we["end top"]="end top",we["end bottom"]="end bottom",we["bottom end"]="bottom end",we["bottom start"]="bottom start",we["start bottom"]="start bottom",we["start top"]="start top",we}(w||{});function O(we,Mt){if(1!==we.nodeType)return[];const Bt=we.ownerDocument.defaultView?.getComputedStyle(we,null);return Mt?Bt&&Bt[Mt]:Bt}function x(we){if(!we)return document.documentElement;let Bt,p=we?.offsetParent;for(;null===p&&we.nextElementSibling&&Bt!==we.nextElementSibling;)Bt=we.nextElementSibling,p=Bt.offsetParent;const it=p&&p.nodeName;return it&&"BODY"!==it&&"HTML"!==it?p&&-1!==["TH","TD","TABLE"].indexOf(p.nodeName)&&"static"===O(p,"position")?x(p):p:Bt?Bt.ownerDocument.documentElement:document.documentElement}function q(we){return null!==we.parentNode?q(we.parentNode):we}function K(we,Mt){if(!(we&&we.nodeType&&Mt&&Mt.nodeType))return document.documentElement;const p=we.compareDocumentPosition(Mt)&Node.DOCUMENT_POSITION_FOLLOWING,Bt=p?we:Mt,it=p?Mt:we,Lt=document.createRange();Lt.setStart(Bt,0),Lt.setEnd(it,0);const Me=Lt.commonAncestorContainer;if(we!==Me&&Mt!==Me||Bt.contains(it))return function N(we){const{nodeName:Mt}=we;return"BODY"!==Mt&&("HTML"===Mt||x(we.firstElementChild)===we)}(Me)?Me:x(Me);const le=q(we);return le.host?K(le.host,Mt):K(we,q(Mt).host)}function te(we){if(!we||!we.parentElement)return document.documentElement;let Mt=we.parentElement;for(;Mt?.parentElement&&"none"===O(Mt,"transform");)Mt=Mt.parentElement;return Mt||document.documentElement}function H(we,Mt){const p="x"===Mt?"Left":"Top",Bt="Left"===p?"Right":"Bottom";return parseFloat(we[`border${p}Width`])+parseFloat(we[`border${Bt}Width`])}function ee(we,Mt,p){return Math.max(Mt[`offset${we}`],Mt[`scroll${we}`],p[`client${we}`],p[`offset${we}`],p[`scroll${we}`],0)}function F(we){const Mt=we.body,p=we.documentElement;return{height:ee("Height",Mt,p),width:ee("Width",Mt,p)}}function J(we){return{...we,right:(we.left||0)+we.width,bottom:(we.top||0)+we.height}}function de(we){return"number"==typeof we||"[object Number]"===Object.prototype.toString.call(we)}function Le(we){const Mt=we.getBoundingClientRect();if(!(Mt&&de(Mt.top)&&de(Mt.left)&&de(Mt.bottom)&&de(Mt.right)))return Mt;const p={left:Mt.left,top:Mt.top,width:Mt.right-Mt.left,height:Mt.bottom-Mt.top},Bt="HTML"===we.nodeName?F(we.ownerDocument):void 0,it=Bt?.width||we.clientWidth||de(Mt.right)&&de(p.left)&&Mt.right-p.left||0,Lt=Bt?.height||we.clientHeight||de(Mt.bottom)&&de(p.top)&&Mt.bottom-p.top||0;let Me=we.offsetWidth-it,le=we.offsetHeight-Lt;if(Me||le){const $=O(we);Me-=H($,"x"),le-=H($,"y"),p.width-=Me,p.height-=le}return J(p)}function ut(we,Mt,p=!1){const Bt="HTML"===Mt.nodeName,it=Le(we),Lt=Le(Mt),Me=O(Mt),le=parseFloat(Me.borderTopWidth),$=parseFloat(Me.borderLeftWidth);p&&Bt&&(Lt.top=Math.max(Lt.top??0,0),Lt.left=Math.max(Lt.left??0,0));const Ee=J({top:(it.top??0)-(Lt.top??0)-le,left:(it.left??0)-(Lt.left??0)-$,width:it.width,height:it.height});if(Ee.marginTop=0,Ee.marginLeft=0,Bt){const Et=parseFloat(Me.marginTop),dn=parseFloat(Me.marginLeft);de(Ee.top)&&(Ee.top-=le-Et),de(Ee.bottom)&&(Ee.bottom-=le-Et),de(Ee.left)&&(Ee.left-=$-dn),de(Ee.right)&&(Ee.right-=$-dn),Ee.marginTop=Et,Ee.marginLeft=dn}return Ee}function Oe(we){return"HTML"===we.nodeName?we:we.parentNode||we.host}function xe(we){if(!we)return document.body;switch(we.nodeName){case"HTML":case"BODY":return we.ownerDocument.body;case"#document":return we.body}const{overflow:Mt,overflowX:p,overflowY:Bt}=O(we);return/(auto|scroll|overlay)/.test(String(Mt)+String(Bt)+String(p))?we:xe(Oe(we))}function Ce(we,Mt="top"){const p="top"===Mt?"scrollTop":"scrollLeft",Bt=we.nodeName;return"BODY"===Bt||"HTML"===Bt?(we.ownerDocument.scrollingElement||we.ownerDocument.documentElement)[p]:we[p]}function Fe(we){const Mt=we.nodeName;return"BODY"!==Mt&&"HTML"!==Mt&&("fixed"===O(we,"position")||Fe(Oe(we)))}function Ke(we,Mt,p=0,Bt,it=!1){let Lt={top:0,left:0};const Me=it?te(we):K(we,Mt);if("viewport"===Bt)Lt=function Te(we,Mt=!1){const p=we.ownerDocument.documentElement,Bt=ut(we,p),it=Math.max(p.clientWidth,window.innerWidth||0),Lt=Math.max(p.clientHeight,window.innerHeight||0),Me=Mt?0:Ce(p),le=Mt?0:Ce(p,"left");
1return J({top:Me-Number(Bt?.top)+Number(Bt?.marginTop),left:le-Number(Bt?.left)+Number(Bt?.marginLeft),width:it,height:Lt})}(Me,it);else{let le;"scrollParent"===Bt?(le=xe(Oe(Mt)),"BODY"===le.nodeName&&(le=we.ownerDocument.documentElement)):le="window"===Bt?we.ownerDocument.documentElement:Bt;const $=ut(le,Me,it);if($&&"HTML"===le.nodeName&&!Fe(Me)){const{height:Ee,width:Et}=F(we.ownerDocument);de(Lt.top)&&de($.top)&&de($.marginTop)&&(Lt.top+=$.top-$.marginTop),de(Lt.top)&&(Lt.bottom=Number(Ee)+Number($.top)),de(Lt.left)&&de($.left)&&de($.marginLeft)&&(Lt.left+=$.left-$.marginLeft),de(Lt.top)&&(Lt.right=Number(Et)+Number($.left))}else $&&(Lt=$)}return de(Lt.left)&&(Lt.left+=p),de(Lt.top)&&(Lt.top+=p),de(Lt.right)&&(Lt.right-=p),de(Lt.bottom)&&(Lt.bottom-=p),Lt}function Qe({width:we,height:Mt}){return we*Mt}function kt(we,Mt,p,Bt,it=["top","bottom","right","left"],Lt="viewport",Me=0){if(-1===we.indexOf("auto"))return we;const le=Ke(p,Bt,Me,Lt),$={top:{width:le?.width??0,height:(Mt?.top??0)-(le?.top??0)},right:{width:(le?.right??0)-(Mt?.right??0),height:le?.height??0},bottom:{width:le?.width??0,height:(le?.bottom??0)-(Mt?.bottom??0)},left:{width:(Mt.left??0)-(le?.left??0),height:le?.height??0}},Ee=Object.keys($).map(Nt=>({position:Nt,...$[Nt],area:Qe($[Nt])})).sort((Nt,at)=>at.area-Nt.area);let Et=Ee.filter(({width:Nt,height:at})=>Nt>=p.clientWidth&&at>=p.clientHeight);Et=Et.filter(({position:Nt})=>it.some(at=>at===Nt));const dn=Et.length>0?Et[0].position:Ee[0].position,an=we.split(" ")[1];return p.className=p.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,f.Bu)().isBs5?w[dn]:dn}`),dn+(an?`-${an}`:"")}const fe=(we,Mt=0)=>we?parseFloat(we):Mt;function ie(we){const p=we.ownerDocument.defaultView?.getComputedStyle(we),Bt=fe(p?.marginTop)+fe(p?.marginBottom),it=fe(p?.marginLeft)+fe(p?.marginRight);return{width:Number(we.offsetWidth)+it,height:Number(we.offsetHeight)+Bt}}function Xe(we,Mt,p){return ut(Mt,p?te(we):K(we,Mt),p)}function ve(we,Mt,p){const Bt=p.split(" ")[0],it=ie(we),Lt={width:it.width,height:it.height},Me=-1!==["right","left"].indexOf(Bt),le=Me?"top":"left",$=Me?"left":"top",Ee=Me?"height":"width",Et=Me?"width":"height";return Lt[le]=(Mt[le]??0)+Mt[Ee]/2-it[Ee]/2,Lt[$]=Bt===$?(Mt[$]??0)-it[Et]:Mt[function Pt(we){const Mt={left:"right",right:"left",bottom:"top",top:"bottom"};return we.replace(/left|right|bottom|top/g,p=>Mt[p])}($)]??0,Lt}function he(we,Mt){return!!we.modifiers[Mt]?.enabled}const Pe={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function Ve(we,Mt){return!!(0,f.Bu)().isBs5&&Pe[Mt].includes(we)}function wt(we,Mt,p){!we||!Mt||Object.keys(Mt).forEach(Bt=>{let it="";-1!==["width","height","top","right","bottom","left"].indexOf(Bt)&&function ne(we){return""!==we&&!isNaN(parseFloat(we))&&isFinite(Number(we))}(Mt[Bt])&&(it="px"),p?p.setStyle(we,Bt,`${String(Mt[Bt])}${it}`):we.style[Bt]=String(Mt[Bt])+it})}function Yt(we){let Mt=we.offsets.target;const p=we.instance.target.querySelector(".arrow");if(!p)return we;const Bt=-1!==["left","right"].indexOf(we.placement.split(" ")[0]),it=Bt?"height":"width",Lt=Bt?"Top":"Left",Me=Lt.toLowerCase(),le=Bt?"left":"top",$=Bt?"bottom":"right",Ee=ie(p)[it],Et=we.placement.split(" ")[1];(we.offsets.host[$]??0)-Ee<(Mt[Me]??0)&&(Mt[Me]-=(Mt[Me]??0)-((we.offsets.host[$]??0)-Ee)),Number(we.offsets.host[Me])+Number(Ee)>(Mt[$]??0)&&(Mt[Me]+=Number(we.offsets.host[Me])+Number(Ee)-Number(Mt[$])),Mt=J(Mt);const dn=O(we.instance.target),an=parseFloat(dn[`margin${Lt}`])||0,Nt=parseFloat(dn[`border${Lt}Width`])||0;let at;if(Et){const zt=parseFloat(dn.borderRadius)||0,Dn=Number(an+Nt+zt);at=Me===Et?Number(we.offsets.host[Me])+Dn:Number(we.offsets.host[Me])+Number(we.offsets.host[it]-Dn)}else at=Number(we.offsets.host[Me])+Number(we.offsets.host[it]/2-Ee/2);let st=at-(Mt[Me]??0)-an-Nt;return st=Math.max(Math.min(Mt[it]-(Ee+5),st),0),we.offsets.arrow={[Me]:Math.round(st),[le]:""},we.instance.arrow=p,we}function Tt(we){if(we.offsets.target=J(we.offsets.target),!he(we.options,"flip"))return we.offsets.target={...we.offsets.target,...ve(we.instance.target,we.offsets.host,we.placement)},we;const Mt=Ke(we.instance.target,we.instance.host,0,"viewport",!1);let p=we.placement.split(" ")[0],Bt=we.placement.split(" ")[1]||"";const le=kt("auto",we.offsets.host,we.instance.target,we.instance.host,we.options.allowedPositions),$=[p,le];return $.forEach((Ee,Et)=>{if(p!==Ee||$.length===Et+1)return;p=we.placement.split(" ")[0];const dn="left"===p&&Math.floor(we.offsets.target.right??0)>Math.floor(we.offsets.host.left??0)||"right"===p&&Math.floor(we.offsets.target.left??0)<Math.floor(we.offsets.host.right??0)||"top"===p&&Math.floor(we.offsets.target.bottom??0)>Math.floor(we.offsets.host.top??0)||"bottom"===p&&Math.floor(we.offsets.target.top??0)<Math.floor(we.offsets.host.bottom??0),an=Math.floor(we.offsets.target.left??0)<Math.floor(Mt.left??0),Nt=Math.floor(we.offsets.target.right??0)>Math.floor(Mt.right??0),at=Math.floor(we.offsets.target.top??0)<Math.floor(Mt.top??0),st=Math.floor(we.offsets.target.bottom??0)>Math.floor(Mt.bottom??0),zt="left"===p&&an||"right"===p&&Nt||"top"===p&&at||"bottom"===p&&st,Dn=-1!==["top","bottom"].indexOf(p),hn=Dn&&"left"===Bt&&an||Dn&&"right"===Bt&&Nt||!Dn&&"left"===Bt&&at||!Dn&&"right"===Bt&&st;(dn||zt||hn)&&((dn||zt)&&(p=$[Et+1]),hn&&(Bt=function Ze(we){return"right"===we?"left"
1:"left"===we?"right":we}(Bt)),we.placement=p+(Bt?` ${Bt}`:""),we.offsets.target={...we.offsets.target,...ve(we.instance.target,we.offsets.host,we.placement)})}),we}function We(we){if(!he(we.options,"preventOverflow"))return we;const Mt="transform",p=we.instance.target.style,{top:Bt,left:it,[Mt]:Lt}=p;p.top="",p.left="",p[Mt]="";const Me=Ke(we.instance.target,we.instance.host,0,we.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);p.top=Bt,p.left=it,p[Mt]=Lt;const $={primary(Ee){let Et=we.offsets.target[Ee];return(we.offsets.target[Ee]??0)<(Me[Ee]??0)&&(Et=Math.max(we.offsets.target[Ee]??0,Me[Ee]??0)),{[Ee]:Et}},secondary(Ee){const Et="right"===Ee,dn=Et?"left":"top";let Nt=we.offsets.target[dn];return(we.offsets.target[Ee]??0)>(Me[Ee]??0)&&(Nt=Math.min(we.offsets.target[dn]??0,(Me[Ee]??0)-we.offsets.target[Et?"width":"height"])),{[dn]:Nt}}};return["left","right","top","bottom"].forEach(Ee=>{const Et=-1!==["left","top","start"].indexOf(Ee)?$.primary:$.secondary;we.offsets.target={...we.offsets.target,...Et(Ee)}}),we}function yt(we){const Mt=we.placement,p=Mt.split(" ")[0],Bt=Mt.split(" ")[1];if(Bt){const{host:it,target:Lt}=we.offsets,Me=-1!==["bottom","top"].indexOf(p),le=Me?"left":"top",$=Me?"width":"height",Ee={start:{[le]:it[le]},end:{[le]:(it[le]??0)+it[$]-Lt[$]}};we.offsets.target={...Lt,[le]:le===Bt?Ee.start[le]:Ee.end[le]}}return we}const St=new class je{position(Mt,p){return this.offset(Mt,p)}offset(Mt,p){return Xe(p,Mt)}positionElements(Mt,p,Bt,it,Lt){const Me=[Tt,yt,We,Yt],$=function qt(we,Mt,p,Bt){if(!we||!Mt)return;const it=Xe(we,Mt);!p.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!p.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(p="auto");const Lt=!!p.match(/auto/g);let Me=p.match(/auto\s(left|right|top|bottom|start|end)/)?p.split(" ")[1]||"auto":p;const le=Me.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return le&&(Me=le[1]+(le[2]?` ${le[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(Me)&&(Me="auto"),Me=kt(Me,it,we,Mt,Bt?Bt.allowedPositions:void 0),{options:Bt||{modifiers:{}},instance:{target:we,host:Mt,arrow:void 0},offsets:{target:ve(we,it,Me),host:it,arrow:void 0},positionFixed:!1,placement:Me,placementAuto:Lt}}(p,Mt,D[Bt],Lt);if($)return Me.reduce((Ee,Et)=>Et(Ee),$)}};function me(we,Mt,p,Bt,it,Lt){const Me=St.positionElements(we,Mt,p,Bt,it);if(!Me)return;const le=function ct(we){return{width:we.offsets.target.width,height:we.offsets.target.height,left:Math.floor(we.offsets.target.left??0),top:Math.round(we.offsets.target.top??0),bottom:Math.round(we.offsets.target.bottom??0),right:Math.floor(we.offsets.target.right??0)}}(Me);wt(Mt,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${le.left}px, ${le.top}px, 0px)`},Lt),Me.instance.arrow&&wt(Me.instance.arrow,Me.offsets.arrow,Lt),function Dt(we,Mt){const p=we.instance.target;let Bt=p.className;const it=(0,f.Bu)().isBs5?w[we.placement]:we.placement;we.placementAuto&&(Bt=Bt.replace(/bs-popover-auto/g,`bs-popover-${it}`),Bt=Bt.replace(/ms-2|me-2|mb-2|mt-2/g,""),Bt=Bt.replace(/bs-tooltip-auto/g,`bs-tooltip-${it}`),Bt=Bt.replace(/\sauto/g,` ${it}`),-1!==Bt.indexOf("popover")&&(Bt=Bt+" "+function dt(we){return(0,f.Bu)().isBs5?Ve(we,"end")?"ms-2":Ve(we,"start")?"me-2":Ve(we,"to
1p")?"mb-2":Ve(we,"bottom")?"mt-2":"":""}(it)),-1!==Bt.indexOf("popover")&&-1===Bt.indexOf("popover-auto")&&(Bt+=" popover-auto"),-1!==Bt.indexOf("tooltip")&&-1===Bt.indexOf("tooltip-auto")&&(Bt+=" tooltip-auto")),Bt=Bt.replace(/left|right|top|bottom|end|start/g,`${it.split(" ")[0]}`),Mt?Mt.setAttribute(p,"class",Bt):p.className=Bt}(Me,Lt)}let rt=(()=>{class we{constructor(p,Bt,it){this.update$$=new o.B,this.positionElements=new Map,this.isDisabled=!1,(0,C.UE)(it)&&p.runOutsideAngular(()=>{this.triggerEvent$=(0,M.h)((0,d.R)(window,"scroll",{passive:!0}),(0,d.R)(window,"resize",{passive:!0}),(0,A.of)(0,y.X),this.update$$),this.triggerEvent$.pipe((0,_.pQ)()).subscribe(()=>{this.isDisabled||this.positionElements.forEach(Lt=>{me(bt(Lt.target),bt(Lt.element),Lt.attachment,Lt.appendToBody,this.options,Bt.createRenderer(null,null))})})})}position(p){this.addPositionElement(p)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(p){this.positionElements.set(bt(p.element),p)}calcPosition(){this.update$$.next(null)}deletePositionElement(p){this.positionElements.delete(bt(p))}setOptions(p){this.options=p}static{this.\u0275fac=function(Bt){return new(Bt||we)(h.KVO(h.SKi),h.KVO(g._9s),h.KVO(g.Agw))}}static{this.\u0275prov=h.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}}return we})();function bt(we){return"string"==typeof we?document.querySelector(we):we instanceof g.aKT?we.nativeElement:we??null}},47820(ot,V,l){"use strict";l.d(V,{eh:()=>A});var g=l(35547),h=l(85802);const _=["*"];function C(w,O){if(1&w&&(g.j41(0,"bar",0),g.SdG(1),g.k0s()),2&w){const x=g.XpG();g.Y8G("type",x.type)("value",x._value)("max",x.max)("animate",x.animate)("striped",x.striped)}}function o(w,O){if(1&w&&(g.j41(0,"bar",0),g.EFF(1),g.k0s()),2&w){const x=O.$implicit,N=g.XpG(2);g.Y8G("type",x.type)("value",x.value)("max",x.max||N.max)("animate",N.animate)("striped",N.striped),g.R7$(),g.JRh(x.label)}}function y(w,O){if(1&w&&g.Z7z(0,o,2,6,"bar",0,g.fX1),2&w){const x=g.XpG();g.Dyx(x._values)}}let d=(()=>{class w{constructor(x,N){this.el=x,this.renderer=N,this.max=100,this.value=0,this.animate=!1,this.striped=!1,this.type="info",this.percent=100}ngOnChanges(x){(x.value||x.max)&&(this.percent=Number(x.value?.currentValue||this.value)/Number(x.max?.currentValue||this.max||100)*100),x.type&&this.applyTypeClasses()}applyTypeClasses(){if(this._prevType){const N=`bg-${this._prevType}`;this.renderer.removeClass(this.el.nativeElement,`progress-bar-${this._prevType}`),this.renderer.removeClass(this.el.nativeElement,N),this._prevType=void 0}if(this.type){const N=`bg-${this.type}`;this.renderer.addClass(this.el.nativeElement,`progress-bar-${this.type}`),this.renderer.addClass(this.el.nativeElement,N),this._prevType=this.type}}static{this.\u0275fac=function(N){return new(N||w)(g.rXU(g.aKT),g.rXU(g.sFG))}}static{this.\u0275cmp=g.VBU({type:w,selectors:[["bar"]],hostAttrs:["role","progressbar","aria-valuemin","0"],hostVars:13,hostBindings:function(N,q){2&N&&(g.BMQ("aria-valuenow",q.value)("aria-valuetext",q.percent?q.percent.toFixed(0)+"%":"")("aria-valuemax",q.max),g.xc7("height","100","%")("width",q.percent,"%"),g.AVh("progress-bar",!0)("progress-bar-animated",q.animate)("progress-bar-striped",q.striped))},inputs:{max:"max",value:"value",animate:"animate",striped:"striped",type:"type"},features:[g.OA$],ngContentSelectors:_,decls:1,vars:0,template:function(N,q){1&N&&(g.NAR(),g.SdG(0))},encapsulation:2,changeDetection:0})}}return w})(),M=(()=>{class w{constructor(){this.animate=!1,this.max=100}static{this.\u0275fac=function(N){return new(N||w)}}static{this.\u0275prov=h.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})(),A=(()=>{class w{set value(x){this.isStacked=Array.isArray(x),"number"==typeof x?(this._value=x,this._values=void 0):(this._value=void 0,this._values=x)}constructor(x){this.max=100,this.animate=!1,this.striped=!1,this.isStacked=!1,this._value=0,Object.assign(this,x)}static{this.\u0275fac=function(N){return new(N||w)(g.rXU(M))}}static{this.\u0275cmp=g.VBU({type:w,selectors:[["progressbar"]],hostVars:3,hostBindings:function(N,q){2&N&&(g.BMQ("max",q.max),g.AVh("progress",!0))}
1,inputs:{max:"max",animate:"animate",striped:"striped",type:"type",value:"value"},ngContentSelectors:_,decls:2,vars:1,consts:[[3,"type","value","max","animate","striped"]],template:function(N,q){1&N&&(g.NAR(),g.nVh(0,C,2,5,"bar",0)(1,y,2,0)),2&N&&g.vxM(q.isStacked?1:0)},dependencies:[d],styles:["[_nghost-%COMP%]{width:100%;display:flex}"],changeDetection:0})}}return w})()},91500(ot,V,l){"use strict";l.d(V,{gS:()=>Bt,nV:()=>p});var f=l(17705),g=l(35547),h=l(85802),_=l(89417),C=l(84412),o=l(14563);function y(it,Lt){1&it&&(g.rj2(0,"td"),g.EFF(1,"\xa0\xa0\xa0"),g.eux())}function d(it,Lt){if(1&it){const Me=g.RV6();g.rj2(0,"td")(1,"a",1),g.VwU("click",function(){h.eBV(Me);const $=g.XpG();return h.Njj($.changeMinutes($.minuteStep))}),g.Hgh(2,"span",2),g.eux()()}if(2&it){const Me=g.XpG();g.R7$(),g.AVh("disabled",!Me.canIncrementMinutes||!Me.isEditable)}}function M(it,Lt){1&it&&(g.rj2(0,"td"),g.EFF(1,"\xa0"),g.eux())}function A(it,Lt){if(1&it){const Me=g.RV6();g.rj2(0,"td")(1,"a",1),g.VwU("click",function(){h.eBV(Me);const $=g.XpG();return h.Njj($.changeSeconds($.secondsStep))}),g.Hgh(2,"span",2),g.eux()()}if(2&it){const Me=g.XpG();g.R7$(),g.AVh("disabled",!Me.canIncrementSeconds||!Me.isEditable)}}function D(it,Lt){1&it&&(g.rj2(0,"td"),g.EFF(1,"\xa0\xa0\xa0"),g.eux())}function w(it,Lt){1&it&&g.Hgh(0,"td")}function O(it,Lt){1&it&&(g.rj2(0,"td"),g.EFF(1,"\xa0:\xa0"),g.eux())}function x(it,Lt){if(1&it){const Me=g.RV6();g.rj2(0,"td",3)(1,"input",4),g.VwU("wheel",function($){h.eBV(Me);const Ee=g.XpG();return Ee.prevDef($),h.Njj(Ee.changeMinutes(Ee.minuteStep*Ee.wheelSign($),"wheel"))})("keydown.ArrowUp",function(){h.eBV(Me);const $=g.XpG();return h.Njj($.changeMinutes($.minuteStep,"key"))})("keydown.ArrowDown",function(){h.eBV(Me);const $=g.XpG();return h.Njj($.changeMinutes(-$.minuteStep,"key"))})("change",function($){h.eBV(Me);const Ee=g.XpG();return h.Njj(Ee.updateMinutes($.target))}),g.eux()()}if(2&it){const Me=g.XpG();g.AVh("has-error",Me.invalidMinutes),g.R7$(),g.AVh("is-invalid",Me.invalidMinutes),g.Avn("placeholder",Me.minutesPlaceholder)("readOnly",Me.readonlyInput)("disabled",Me.disabled)("value",Me.minutes),g.BMQ("aria-label",Me.labelMinutes)}}function N(it,Lt){1&it&&(g.rj2(0,"td"),g.EFF(1,"\xa0:\xa0"),g.eux())}function q(it,Lt){if(1&it){const Me=g.RV6();g.rj2(0,"td",3)(1,"input",4),g.VwU("wheel",function($){h.eBV(Me);const Ee=g.XpG();return Ee.prevDef($),h.Njj(Ee.changeSeconds(Ee.secondsStep*Ee.wheelSign($),"wheel"))})("keydown.ArrowUp",function(){h.eBV(Me);const $=g.XpG();return h.Njj($.changeSeconds($.secondsStep,"key"))})("keydown.ArrowDown",function(){h.eBV(Me);const $=g.XpG();return h.Njj($.changeSeconds(-$.secondsStep,"key"))})("change",function($){h.eBV(Me);const Ee=g.XpG();return h.Njj(Ee.updateSeconds($.target))}),g.eux()()}if(2&it){const Me=g.XpG();g.AVh("has-error",Me.invalidSeconds),g.R7$(),g.AVh("is-invalid",Me.invalidSeconds),g.Avn("placeholder",Me.secondsPlaceholder)("readOnly",Me.readonlyInput)("disabled",Me.disabled)("value",Me.seconds),g.BMQ("aria-label",Me.labelSeconds)}}function K(it,Lt){1&it&&(g.rj2(0,"td"),g.EFF(1,"\xa0\xa0\xa0"),g.eux())}function te(it,Lt){if(1&it){const Me=g.RV6();g.rj2(0,"td")(1,"button",7),g.VwU("click",function(){h.eBV(Me);const $=g.XpG();return h.Njj($.toggleMeridian())}),g.EFF(2),g.eux()()}if(2&it){const Me=g.XpG();g.R7$(),g.AVh("disabled",!Me.isEditable||!Me.canToggleMeridian),g.Avn("disabled",!Me.isEditable||!Me.canToggleMeridian),g.R7$(),g.SpI("",Me.meridian," ")}}function H(it,Lt){1&it&&(g.rj2(0,"td"),g.EFF(1,"\xa0\xa0\xa0"),g.eux())}function ee(it,Lt){if(1&it){const Me=g.RV6();g.rj2(0,"td")(1,"a",1),g.VwU("click",function(){h.eBV(Me);const $=g.XpG();return h.Njj($.changeMinutes(-$.minuteStep))}),g.Hgh(2,"span",6),g.eux()()}if(2&it){const Me=g.XpG();g.R7$(),g.AVh("disabled",!Me.canDecrementMinutes||!Me.isEditable)}}function F(it,Lt){1&it&&(g.rj2(0,"td"),g.EFF(1,"\xa0"),g.eux())}function J(it,Lt){if(1&it){const Me=g.RV6();g.rj2(0,"td")(1,"a",1),g.VwU("click",function(){h.eBV(Me);const $=g.XpG();return h.Njj($.changeSeconds(-$.secondsStep))}),g.Hgh(2,"span",6),g.eux()()}if(2&it){const Me=g.XpG();g.R7$(),g.AVh("disabled",!Me.canDecrementSeconds||!Me.isEditable)}}function ne(it,Lt){1&it&&(g.rj2(0,"td"),g.EFF(1,"\xa0\xa0\xa0"),g.eux())}function de(it,Lt){1&it&&g.Hgh(0,"td")}let Le=(()=>{class it{static{this.WRITE_VALUE="[timepicker] write value from ng model"}static{this.CHANGE_HOURS="[timepicker] change hours"}static{this.CHANGE_MINUTES="[timepicker] change minutes"}static{this.CHANGE_SECONDS="[timepicker] change seconds"}static{this.SET_TIME_UNIT="[timepicker] set time unit"}static{this.UPDATE_CONTROLS="[timepicker] update controls"}writeValue(Me){return{type:it.WRITE_VALUE,payload:Me}}changeHours(Me){return{type:it.CHANGE_HOURS,payload:Me}}changeMinutes(Me){return{type:it.CHANGE_MINUTES,payload:Me}}changeSeconds(Me){return{type:it.CHANGE_SECONDS,payload:Me}}setTime(Me){return{type:it.SET_TIME_UNIT,payload:Me}}updateControls(Me){return{type:it.UPDATE_CONTROLS,payload:Me}}static{this.\u0275fac=function(le){return new(le||it)}}static{this.\u0275prov=h.jDH({token:it,factory:it.\u0275fac,providedIn:"platform"})}}return it})();function Fe(it){return!(!it||it instanceof Date&&isNaN(it.getHours()))&&("string"!=typeof it||Fe(new Date(it)))}function Ke(it,Lt){return!(it.min&&Lt<it.min||it.max&&Lt>it.max)}function Qe(it){return typeof it>"u"?NaN:"number"==typeof it?it:parseInt(it,10)}function ct(it,Lt=!1){const Me=Qe(it);return isNaN(Me)||Me<0||Me>(Lt?12:24)?NaN:Me}function Pt(it){const Lt=Qe(it);return isNaN(Lt)||Lt<0||Lt>60?NaN:Lt}function Ze(it){const Lt=Qe(it);return isNaN(Lt)||Lt<0||Lt>60?NaN:Lt}function fe(it){return"string"==typeof it?new Date(it):it}function ie(it,Lt){if(!it)return ie(ve(new Date,0,0,0),Lt);if(!Lt)return it;let Me=it.getHours(),le=it.getMinutes(),$=it.getSeconds();return Lt.hour&&(Me+=Qe(Lt.hour)),Lt.minute&&(le+=Qe(Lt.minute)),Lt.seconds&&($+=Qe(Lt.seconds)),ve(it,Me,le,$)}function Xe(it,Lt){let Me=ct(Lt.hour);const le=Pt(Lt.minute),$=Ze(Lt.seconds)||0;return Lt.isPM&&12!==Me&&(Me+=12),it?isNaN(Me)||isNaN(le)?it:ve(it,Me,le,$):isNaN(Me)||isNaN(le)?it:ve(new Date,Me,le,$)}function ve(it,Lt,Me,le){const $=new Date(it.getFullYear(),it.getMonth(),it.getDate(),Lt,Me,le,it.getMilliseconds());return $.setFullYear(it.getFullYear()),$.setMonth(it.getMonth()),$.setDate(it.getDate()),$}function he(it){const Lt=it.toString();return Lt.length>1?Lt:`0${Lt}`}function Pe(it,Lt){return!isNaN(ct(it,Lt))}function Ve(it){return!isNaN(Pt(it))}function dt(it){return!isNaN(Ze(it))}function Yt(it,Lt="0",Me="0",le){return Pe(it,le)&&Ve(Lt)&&dt(Me)}function Tt(it,Lt){return!(it.readonlyInput||it.disabled||Lt&&("wheel"===Lt.source&&!it.mousewheel||"key"===Lt.source&&!it.arrowkeys))}function je(it){const{hourStep:Lt,minuteStep:Me,secondsStep:le,readonlyInput:$,disabled:Ee,mousewheel:Et,arrowkeys:dn,showSpinners:an,showMeridian:Nt,showSeconds:at,meridians:st,min:zt,max:Dn}=it;return{hourStep:Lt,minuteStep:Me,secondsStep:le,readonlyInput:$,disabled:Ee,mousewheel:Et,arrowkeys:dn,showSpinners:an,showMeridian:Nt,showSeconds:at,meridians:st,min:zt,max:Dn}}let me=(()=>{class it{constructor(){this.hourStep=1,this.minuteStep=5,this.secondsStep=10,this.showMeridian=!0,this.meridians=["AM","PM"],this.readonlyInput=!1,this.disabled=!1,this.allowEmptyTime=!1,this.mousewheel=!0,this.arrowkeys=!0,this.showSpinners=!0,this.showSeconds=!1,this.showMinutes=!0,this.hoursPlaceholder="HH",this.minutesPlaceholder="MM",this.secondsPlaceholder="SS",this.ariaLabelHours="hours",this.ariaLabelMinutes="minutes",this.ariaLabelSeconds="seconds"}static{this.\u0275fac=function(le){return new(le||it)}}static{this.\u0275prov=h.jDH({token:it,factory:it.\u0275fac,providedIn:"root"})}}return it})();const rt={value:void 0,config:new me,controls:{canIncrementHours:!0,canIncrementMinutes:!0,canIncrementSeconds:!0,canDecrementHours:!0,canDecrementMinutes:!0,canDecrementSeconds:!0,canToggleMeridian:!0}};function bt(it=rt,Lt){switch(Lt.type){case Le.WRITE_VALUE:return Object.assign({},it,{value:Lt.payload});case Le.CHANGE_HOURS:{if(!Tt(it.config,Lt.payload)||!function qt(it,Lt){return!(!it.step||it.step>0&&!Lt.canIncrementHours||it.step<0&&!Lt.canDecrementHours)}(Lt.payload,it.controls))return it;const Me=ie(it.value,{hour:Lt.payload.step});return!it.config.max&&!it.config.min||Ke(it.config,Me)?Object.assign({},it,{value:Me}):it}case Le.CHANGE_MINUTES:{if(!Tt(it.config,Lt.payload)||!function We(it,Lt){return!(!it.step||it.step>0&&!Lt.canIncrementMinutes||it.step<0&&!Lt.canDecrementMinutes)}(Lt.payload,it.controls))return it;const Me=ie(it.value,{minute:Lt.payload.step});return!it.config.max&&!it.config.min||Ke(it.config,Me)?Object.assign({},it,{value:Me}):it}case Le.CHANGE_SECONDS:{if(!Tt(it.config,Lt.payload)||!function yt(it,Lt){return!(!it.step||it.step>0&&!Lt.canIncrementSeconds||it.step<0&&!Lt.canDecrementSeconds)}(Lt.payload,it.controls))return it;const Me=ie(it.value,{seconds:Lt.payload.step});return!it.config.max&&!it.config.min||Ke(it.config,Me)?Object.assign({},it,{value:Me}):it}case Le.SET_TIME_UNIT:{if(!Tt(it.config))return it;const Me=Xe(it.value,Lt.payload);return Object.assign({},it,{value:Me})}case Le.UPDATE_CONTROLS:{const Me=function St(it,Lt){const{min:$,max:Ee,hourStep:Et,minuteStep:dn,secondsStep:an,showSeconds:Nt}=Lt,at={canIncrementHours:!0,canIncrementMinutes:!0,canIncrementSeconds:!0,canDecrementHours:!0,canDecrementMinutes:!0,canDecrementSeconds:!0,canToggleMeridian:!0};if(!it)return at;if(Ee){const st=ie(it,{hour:Et});if(at.canIncrementHours=Ee>
1st&&it.getHours()+Et<24,!at.canIncrementHours){const zt=ie(it,{minute:dn});at.canIncrementMinutes=Nt?Ee>zt:Ee>=zt}if(!at.canIncrementMinutes){const zt=ie(it,{seconds:an});at.canIncrementSeconds=Ee>=zt}it.getHours()<12&&(at.canToggleMeridian=ie(it,{hour:12})<Ee)}if($){const st=ie(it,{hour:-Et});if(at.canDecrementHours=$<st,!at.canDecrementHours){const zt=ie(it,{minute:-dn});at.canDecrementMinutes=Nt?$<zt:$<=zt}if(!at.canDecrementMinutes){const zt=ie(it,{seconds:-an});at.canDecrementSeconds=$<=zt}it.getHours()>=12&&(at.canToggleMeridian=ie(it,{hour:-12})>$)}return at}(it.value,Lt.payload),le={value:it.value,config:Lt.payload,controls:Me};return it.config.showMeridian!==le.config.showMeridian&&it.value&&(le.value=new Date(it.value)),Object.assign({},it,le)}default:return it}}let we=(()=>{class it extends o.F{constructor(){const Me=new C.t({type:"[mini-ngrx] dispatcher init"});super(Me,bt,new o.n(rt,Me,bt))}static{this.\u0275fac=function(le){return new(le||it)}}static{this.\u0275prov=h.jDH({token:it,factory:it.\u0275fac,providedIn:"platform"})}}return it})();const Mt={provide:_.kq,useExisting:(0,h.Rfq)(()=>p),multi:!0};let p=(()=>{class it{constructor(Me,le,$,Ee){this._cd=le,this._store=$,this._timepickerActions=Ee,this.hourStep=1,this.minuteStep=5,this.secondsStep=10,this.readonlyInput=!1,this.disabled=!1,this.mousewheel=!0,this.arrowkeys=!0,this.showSpinners=!0,this.showMeridian=!0,this.showMinutes=!0,this.showSeconds=!1,this.meridians=["AM","PM"],this.hoursPlaceholder="HH",this.minutesPlaceholder="MM",this.secondsPlaceholder="SS",this.isValid=new h.bkB,this.meridianChange=new h.bkB,this.hours="",this.minutes="",this.seconds="",this.meridian="",this.invalidHours=!1,this.invalidMinutes=!1,this.invalidSeconds=!1,this.labelHours="hours",this.labelMinutes="minutes",this.labelSeconds="seconds",this.canIncrementHours=!0,this.canIncrementMinutes=!0,this.canIncrementSeconds=!0,this.canDecrementHours=!0,this.canDecrementMinutes=!0,this.canDecrementSeconds=!0,this.canToggleMeridian=!0,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.config=Me,Object.assign(this,this.config),this.timepickerSub=$.select(Et=>Et.value).subscribe(Et=>{this._renderTime(Et),this.onChange(Et),this._store.dispatch(this._timepickerActions.updateControls(je(this)))}),$.select(Et=>Et.controls).subscribe(Et=>{const dn=Yt(this.hours,this.minutes,this.seconds,this.isPM()),an=this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||dn;this.isValid.emit(an),Object.assign(this,Et),le.markForCheck()})}get isSpinnersVisible(){return this.showSpinners&&!this.readonlyInput}get isEditable(){return!(this.readonlyInput||this.disabled)}resetValidation(){this.invalidHours=!1,this.invalidMinutes=!1,this.invalidSeconds=!1}resetValidationHours(){this.invalidHours=!1}resetValidationMinutes(){this.invalidMinutes=!1}resetValidationSeconds(){this.invalidSeconds=!1}isPM(){return this.showMeridian&&this.meridian===this.meridians[1]}prevDef(Me){Me.preventDefault()}wheelSign(Me){return-1*Math.sign(Me.deltaY||0)}ngOnChanges(){this._store.dispatch(this._timepickerActions.updateControls(je(this)))}changeHours(Me,le=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeHours({step:Me,source:le}))}changeMinutes(Me,le=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeMinutes({step:Me,source:le}))}changeSeconds(Me,le=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeSeconds({step:Me,source:le}))}updateHours(Me){this.resetValidationHours(),this.hours=Me.value;const le=Pe(this.hours,this.isPM())&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||le))return this.invalidHours=!0,this.isValid.emit(!1),void this.onChange(null);this._updateTime()}updateMinutes(Me){this.resetValidationMinutes(),this.minutes=Me.value;const le=Ve(this.minutes)&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||le))return this.invalidMinutes=!0,this.isValid.emit(!1),void this.onChange(null);this._updateTime()}updateSeconds(Me){this.resetValidationSeconds(),this.seconds=Me.value;const le=dt(this.seconds)&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||le))return this.invalidSeconds=!0,this.isValid.emit(!1),void this.onChange(null);this._updateTime()}isValidLimit(){return function Dt(it,Lt,Me){const le=Xe(new Date,it);return!(!le||Lt&&le>Lt||Me&&le<Me)}({hour:this.hours,minute:this.minutes,seconds:this.seconds,isPM:this.isPM()},this.max,this.min)}isOneOfDatesIsEmpty(){return function wt(it,Lt,Me){return 0===it.length||0===Lt.length||0===Me.length}(this.hours,this.minutes,this.seconds)}_updateTime(){const $=Yt(this.hours,this.showMinutes?this.minutes:void 0,this.showSeconds?this.seconds:void 0,this.isPM());if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||$))return this.isValid.emit(!1),void this.onChange(null);this._store.dispatch(this._timepickerActions.setTime({hour:this.hours,minute:this.minutes,seconds:this.seconds,isPM:this.isPM()}))}toggleMeridian(){this.showMeridian&&this.isEditable&&this._store.dispatch(this._timepickerActions.changeHours({step:12,source:""}))}writeValue(Me){Fe(Me)?(this.resetValidation(),this._store.dispatch(this._timepickerActions.writeValue(fe(Me)))):null==Me&&this._store.dispatch(this._timepickerActions.writeValue())}registerOnChange(Me){this.onChange=Me}registerOnTouched(Me){this.onTouched=Me}setDisabledState(Me){this.disabled=Me,this._cd.markForCheck()}ngOnDestroy(){this.timepickerSub?.unsubscribe()}_renderTime(Me){if(!Me||!Fe(Me))return this.hours="",this.minutes="",this.seconds="",this.meridian=this.meridians[0],void this.meridianChange.emit(this.meridian);const le=fe(Me);if(!le)return;let Ee=le.getHours();this.showMeridian&&(this.meridian=this.meridians[Ee>=12?1:0],this.meridianChange.emit(this.meridian),Ee%=12,0===Ee&&(Ee=12)),this.hours=he(Ee),this.minutes=he(le.getMinutes()),this.seconds=he(le.getUTCSeconds())}static{this.\u0275fac=function(le){return new(le||it)(g.rXU(me),g.rXU(f.gRc),g.rXU(we),g.rXU(Le))}}static{this.\u0275cmp=g.VBU({type:it,selectors:[["timepicker"]],inputs:{hourStep:"hourStep",minuteStep:"minuteStep",secondsStep:"secondsStep",readonlyInput:"readonlyInput",disabled:"disabled",mousewheel:"mousewheel",arrowkeys:"arrowkeys",showSpinners:"showSpinners",showMeridian:"showMeridian",showMinutes:"showMinutes",showSeconds:"showSeconds",meri
1dians:"meridians",min:"min",max:"max",hoursPlaceholder:"hoursPlaceholder",minutesPlaceholder:"minutesPlaceholder",secondsPlaceholder:"secondsPlaceholder"},outputs:{isValid:"isValid",meridianChange:"meridianChange"},features:[g.Jv_([Mt,we,Le]),g.OA$],decls:31,vars:33,consts:[[1,"text-center",3,"hidden"],["href","javascript:void(0);",1,"btn","btn-link",3,"click"],[1,"bs-chevron","bs-chevron-up"],[1,"form-group","mb-3"],["type","text","maxlength","2",1,"form-control","text-center","bs-timepicker-field",3,"wheel","keydown.ArrowUp","keydown.ArrowDown","change","placeholder","readonly","disabled","value"],[1,"form-group","mb-3",3,"has-error"],[1,"bs-chevron","bs-chevron-down"],["type","button",1,"btn","btn-default","text-center",3,"click","disabled"]],template:function(le,$){1&le&&(g.rj2(0,"table")(1,"tbody")(2,"tr",0)(3,"td")(4,"a",1),g.VwU("click",function(){return $.changeHours($.hourStep)}),g.Hgh(5,"span",2),g.eux()(),g.nVh(6,y,2,0,"td"),g.nVh(7,d,3,2,"td"),g.nVh(8,M,2,0,"td"),g.nVh(9,A,3,2,"td"),g.nVh(10,D,2,0,"td"),g.nVh(11,w,1,0,"td"),g.eux(),g.rj2(12,"tr")(13,"td",3)(14,"input",4),g.VwU("wheel",function(Et){return $.prevDef(Et),$.changeHours($.hourStep*$.wheelSign(Et),"wheel")})("keydown.ArrowUp",function(){return $.changeHours($.hourStep,"key")})("keydown.ArrowDown",function(){return $.changeHours(-$.hourStep,"key")})("change",function(Et){return $.updateHours(Et.target)}),g.eux()(),g.nVh(15,O,2,0,"td"),g.nVh(16,x,2,9,"td",5),g.nVh(17,N,2,0,"td"),g.nVh(18,q,2,9,"td",5),g.nVh(19,K,2,0,"td"),g.nVh(20,te,3,4,"td"),g.eux(),g.rj2(21,"tr",0)(22,"td")(23,"a",1),g.VwU("click",function(){return $.changeHours(-$.hourStep)}),g.Hgh(24,"span",6),g.eux()(),g.nVh(25,H,2,0,"td"),g.nVh(26,ee,3,2,"td"),g.nVh(27,F,2,0,"td"),g.nVh(28,J,3,2,"td"),g.nVh(29,ne,2,0,"td"),g.nVh(30,de,1,0,"td"),g.eux()()()),2&le&&(g.R7$(2),g.Avn("hidden",!$.showSpinners),g.R7$(2),g.AVh("disabled",!$.canIncrementHours||!$.isEditable),g.R7$(2),g.vxM($.showMinutes?6:-1),g.R7$(),g.vxM($.showMinutes?7:-1),g.R7$(),g.vxM($.showSeconds?8:-1),g.R7$(),g.vxM($.showSeconds?9:-1),g.R7$(),g.vxM($.showMeridian?10:-1),g.R7$(),g.vxM($.showMeridian?11:-1),g.R7$(2),g.AVh("has-error",$.invalidHours),g.R7$(),g.AVh("is-invalid",$.invalidHours),g.Avn("placeholder",$.hoursPlaceholder)("readOnly",$.readonlyInput)("disabled",$.disabled)("value",$.hours),g.BMQ("aria-label",$.labelHours),g.R7$(),g.vxM($.showMinutes?15:-1),g.R7$(),g.vxM($.showMinutes?16:-1),g.R7$(),g.vxM($.showSeconds?17:-1),g.R7$(),g.vxM($.showSeconds?18:-1),g.R7$(),g.vxM($.showMeridian?19:-1),g.R7$(),g.vxM($.showMeridian?20:-1),g.R7$(),g.Avn("hidden",!$.showSpinners),g.R7$(2),g.AVh("disabled",!$.canDecrementHours||!$.isEditable),g.R7$(2),g.vxM($.showMinutes?25:-1),g.R7$(),g.vxM($.showMinutes?26:-1),g.R7$(),g.vxM($.showSeconds?27:-1),g.R7$(),g.vxM($.showSeconds?28:-1),g.R7$(),g.vxM($.showMeridian?29:-1),g.R7$(),g.vxM($.showMeridian?30:-1))},styles:[".bs-chevron{border-style:solid;display:block;width:9px;height:9px;position:relative;border-width:3px 0px 0 3px}.bs-chevron-up{-webkit-transform:rotate(45deg);transform:rotate(45deg);top:2px}.bs-chevron-down{-webkit-transform:rotate(-135deg);transform:rotate(-135deg);top:-2px}.bs-timepicker-field{width:65px;padding:.375rem .55rem}\n"],encapsulation:2,changeDetection:0})}}return it})(),Bt=(()=>{class it{static forRoot(){return{ngModule:it,providers:[]}}static{this.\u0275fac=function(le){return new(le||it)}}static{this.\u0275mod=g.$C({type:it})}static{this.\u0275inj=h.G2t({})}}return it})()},534(ot,V,l){"use strict";l.d(V,{Ss:()=>x,dg:()=>O});var f=l(35547),g=l(85802),h=l(72806),_=l(71946),C=l(31635),o=l(76932),y=l(1807),d=l(49769);const M=["*"];let A=(()=>{class N{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275prov=g.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})(),D=(()=>{class N{get _bsVersions(){return(0,h.Bu)()}constructor(K){Object.assign(this,K)}ngAfterViewInit(){this.classMap={in:!1,fade:!1},this.placement&&(this._bsVersions.isBs5&&(this.placement=_.Rz[this.placement]),this.classMap[this.placement]=!0),this.classMap[`tooltip-${this.placement}`]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)}static{this.\u0275fac=function(te){return new(te||N)(f.rXU(A))}}static{this.\u0275cmp=f.VBU({type:N,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:3,hostBindings:function(te,H){2&te&&(f.BMQ("id",H.id),f.HbH("show tooltip in tooltip-"+H.placement+" bs-tooltip-"+H.placement+" "+H.placement+" "+H.containerClass))},ngContentSelectors:M,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(te,H){1&te&&(f.NAR(),f.Hgh(0,"div",0),f.rj2(1,"div",1),f.SdG(2),f.eux())},styles:[".tooltip[_nghost-%COMP%]{display:block;pointer-events:none;position:absolute}.tooltip[_nghost-%COMP%]   .tooltip-arrow[_ngcontent-%COMP%]{position:absolute}"],changeDetection:0})}}return N})(),w=0,O=(()=>{class N{get isOpen(){return this._tooltip.isShown}set isOpen(K){K?this.show():this.hide()}set htmlContent(K){(0,h.mc)("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=K}set _placement(K){(0,h.mc)("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=K}set _isOpen(K){(0,h.mc)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=K}get _isOpen(){return(0,h.mc)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen}set _enable(K){(0,h.mc)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!K}get _enable(){return(0,h.mc)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled}set _appendToBody(K){(0,h.mc)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=K?"body":this.container}get _appendToBody(){return(0,h.mc)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),"body"===this.container}set _popupClass(K){(0,h.mc)("tooltipClass deprecated")}set _tooltipContext(K){(0,h.mc)("tooltipContext deprecated")}set _tooltipPopupDelay(K){(0,h.mc)("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=K}get _tooltipTrigger(){return(0,h.mc)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers}set _tooltipTrigger(K){(0,h.mc)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(K||"").toString()}constructor(K,te,H,ee,F,J){this._elementRef=ee,this._renderer=F,this._positionService=J,this.tooltipId=w++,this.adaptivePosition=!0,this.tooltipChange=new g.bkB,this.placement="top",this.triggers="hover focus",this.containerClass="",this.isDisabled=!1,this.delay=0,this.tooltipAnimation=!0,this.tooltipFadeDuration=150,this.tooltipStateChanged=new g.bkB,this._tooltip=te.createLoader(this._elementRef,K,this._renderer).provide({provide:A,useValue:H}),Object.assign(this,H),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}ngOnInit(){this._tooltip.listen({triggers:this.triggers,show:()=>this.show()}),this.tooltipChange.subscribe(K=>{K||this._tooltip.hide()}),this.onShown.subscribe(()=>{this.setAriaDescribedBy()}),this.onHidden.subscribe(()=>{this.setAriaDescribedBy()})}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`tooltip-${this.tooltipId}`:void 0,this._ariaDescribedby?this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}toggle(){if(this.isOpen)return this.hide();this.show()}show(){if(this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}}),this.isOpen||this.isDisabled||this._delayTimeoutId||!this.tooltip)return;const K=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._tooltip.attach(D).to(this.container).position({attachment:this.placement}).show({content:this.tooltip,placement:this.placement,containerClass:this.containerClass,id:`tooltip-${this.tooltipId}`})},te=()=>{this._tooltipCancelShowFn&&this._tooltipCancelShowFn()};this.delay?(this._delaySubscription&&this._delaySubscription.unsubscribe(),this._delaySubscription=(0,y.O)(this.delay).subscribe(()=>{K(),te()}
1),this.triggers&&(0,h.Zu)(this.triggers).forEach(H=>{H.close&&(this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,H.close,()=>{this._delaySubscription?.unsubscribe(),te()}))})):K()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this._tooltip.isShown&&(this._tooltip.instance?.classMap&&(this._tooltip.instance.classMap.in=!1),setTimeout(()=>{this._tooltip.hide()},this.tooltipFadeDuration))}ngOnDestroy(){this._tooltip.dispose(),this.tooltipChange.unsubscribe(),this._delaySubscription&&this._delaySubscription.unsubscribe(),this.onShown.unsubscribe(),this.onHidden.unsubscribe()}static{this.\u0275fac=function(te){return new(te||N)(f.rXU(f.c1b),f.rXU(o.Li),f.rXU(A),f.rXU(f.aKT),f.rXU(f.sFG),f.rXU(_.DF))}}static{this.\u0275dir=f.FsC({type:N,selectors:[["","tooltip",""],["","tooltipHtml",""]],inputs:{adaptivePosition:"adaptivePosition",tooltip:"tooltip",placement:"placement",triggers:"triggers",container:"container",containerClass:"containerClass",boundariesElement:"boundariesElement",isOpen:"isOpen",isDisabled:"isDisabled",delay:"delay",htmlContent:[0,"tooltipHtml","htmlContent"],_placement:[0,"tooltipPlacement","_placement"],_isOpen:[0,"tooltipIsOpen","_isOpen"],_enable:[0,"tooltipEnable","_enable"],_appendToBody:[0,"tooltipAppendToBody","_appendToBody"],tooltipAnimation:"tooltipAnimation",_popupClass:[0,"tooltipClass","_popupClass"],_tooltipContext:[0,"tooltipContext","_tooltipContext"],_tooltipPopupDelay:[0,"tooltipPopupDelay","_tooltipPopupDelay"],tooltipFadeDuration:"tooltipFadeDuration",_tooltipTrigger:[0,"tooltipTrigger","_tooltipTrigger"]},outputs:{tooltipChange:"tooltipChange",onShown:"onShown",onHidden:"onHidden",tooltipStateChanged:"tooltipStateChanged"},exportAs:["bs-tooltip"],features:[f.Jv_([o.Li,_.DF])]})}}return(0,C.Cg)([(0,h.Yr)(),(0,C.Sn)("design:type",Object)],N.prototype,"tooltip",void 0),N})(),x=(()=>{class N{static forRoot(){return{ngModule:N,providers:[]}}static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275mod=f.$C({type:N})}static{this.\u0275inj=g.G2t({imports:[d.MD]})}}return N})()},72806(ot,V,l){"use strict";l.d(V,{Al:()=>A,Aq:()=>Fe,Bu:()=>Oe,Fv:()=>d,GL:()=>o,Xt:()=>y,Yl:()=>de,Yr:()=>Te,Zu:()=>_,mc:()=>kt,x:()=>M});var f=l(17705);class g{constructor(Pt,Ze){this.open=Pt,this.close=Ze||Pt}isManual(){return"manual"===this.open||"manual"===this.close}}const h={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function _(ct,Pt=h){const Ze=(ct||"").trim();if(0===Ze.length)return[];const fe=Ze.split(/\s+/).map(Xe=>Xe.split(":")).map(Xe=>{const ve=Pt[Xe[0]]||Xe;return new g(ve[0],ve[1])}),ie=fe.filter(Xe=>Xe.isManual());if(ie.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===ie.length&&fe.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return fe}function o(ct,Pt){const Ze=_(Pt.triggers),fe=Pt.target;if(1===Ze.length&&Ze[0].isManual())return Function.prototype;const ie=[],Xe=[],ve=()=>{Xe.forEach(he=>ie.push(he())),Xe.length=0};return Ze.forEach(he=>{const Pe=he.open===he.close,Ve=Pe?Pt.toggle:Pt.show;if(!Pe&&he.close&&Pt.hide){const dt=he.close,Dt=Pt.hide;Xe.push(()=>ct.listen(fe,dt,Dt))}Ve&&ie.push(ct.listen(fe,he.open,()=>Ve(ve)))}),()=>{ie.forEach(he=>he())}}function y(ct,Pt){return Pt.outsideClick?ct.listen("document","click",Ze=>{Pt.target&&Pt.target.contains(Ze.target)||Pt.targets&&Pt.targets.some(fe=>fe.contains(Ze.target))||Pt.hide&&Pt.hide()}):Function.prototype}function d(ct,Pt){return Pt.outsideEsc?ct.listen("document","keyup.esc",Ze=>{Pt.target&&Pt.target.contains(Ze.target)||Pt.targets&&Pt.targets.some(fe=>fe.contains(Ze.target))||Pt.hide&&Pt.hide()}):Function.prototype}const M=typeof window<"u"&&window||{},A=M.document;var F=function(ct){return ct.isBs4="bs4",ct.isBs5="bs5",ct}(F||{});let J;function ne(){const ct=M.document.createElement("span");ct.innerText="testing bs version",ct.classList.add("d-none"),ct.classList.add("pl-1"),M.document.head.appendChild(ct);const Pt=M.getComputedStyle(ct).paddingLeft;return Pt&&parseFloat(Pt)?(M.document.head.removeChild(ct),"bs4"):(M.document.head.removeChild(ct),"bs5")}function de(ct){J=ct}
1function Oe(){return{isBs4:(J||(J=ne()),"bs4"===J),isBs5:(J||(J=ne()),"bs5"===J)}}function Te(){return function(Ze,fe){const ie=` __${fe}Value`;Object.defineProperty(Ze,fe,{get(){return this[ie]},set(Xe){const ve=this[ie];this[ie]=Xe,ve!==Xe&&this[fe+"Change"]&&this[fe+"Change"].emit(Xe)}})}}class Fe{static reflow(Pt){}static getStyles(Pt){let Ze=Pt.ownerDocument.defaultView;return(!Ze||!Ze.opener)&&(Ze=M),Ze.getComputedStyle(Pt)}static stackOverflowConfig(){const Pt=function xe(){const ct=Oe(),Pt=Object.keys(ct).find(Ze=>ct[Ze]);return F[Pt]}();return{crossorigin:"anonymous",integrity:"bs5"===Pt?"sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65":"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2",cdnLink:"bs5"===Pt?"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css":"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"}}}const Ke={},Qe=typeof console>"u"||!("warn"in console);function kt(ct){!(0,f.naY)()||Qe||ct in Ke||(Ke[ct]=!0,console.warn(ct))}},13220(ot,V,l){"use strict";l.d(V,{bt:()=>ut,kq:()=>Oe,rJ:()=>de});var f=l(35547),g=l(85802),h=l(49769);const _=xe=>({"full-screen":xe}),C=(xe,Ce)=>({"border-radius":xe,"background-color":Ce}),o=(xe,Ce,Te,Fe)=>({"border-top-color":xe,"border-right-color":Ce,"border-bottom-color":Te,"border-left-color":Fe}),y=xe=>({"background-color":xe}),d=xe=>({color:xe});function M(xe,Ce){if(1&xe&&f.nrm(0,"div",14),2&xe){const Te=f.XpG(2);f.Y8G("ngClass",f.eq3(2,_,!0===Te.config.fullScreenBackdrop))("ngStyle",f.ziG(4,o,Te.config.secondaryColour,Te.config.secondaryColour,Te.config.secondaryColour,Te.config.primaryColour))}}function A(xe,Ce){if(1&xe&&(f.j41(0,"div",15),f.nrm(1,"div",16)(2,"div",17)(3,"div",18)(4,"div",19)(5,"div",20)(6,"div",21)(7,"div",22)(8,"div",23)(9,"div",24),f.k0s()),2&xe){const Te=f.XpG(2);f.Y8G("ngClass",f.eq3(10,_,!0===Te.config.fullScreenBackdrop)),f.R7$(),f.Y8G("ngStyle",f.eq3(12,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(14,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(16,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(18,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(20,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(22,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(24,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(26,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(28,y,Te.config.primaryColour))}}function D(xe,Ce){if(1&xe&&f.nrm(0,"div",25),2&xe){const Te=f.XpG(2);f.Y8G("ngStyle",f.eq3(2,y,Te.config.primaryColour))("ngClass",f.eq3(4,_,!0===Te.config.fullScreenBackdrop))}}function w(xe,Ce){if(1&xe&&(f.j41(0,"div",26),f.nrm(1,"div",27)(2,"div",28)(3,"div",29)(4,"div",30)(5,"div",31),f.k0s()),2&xe){const Te=f.XpG(2);f.Y8G("ngClass",f.eq3(6,_,!0===Te.config.fullScreenBackdrop)),f.R7$(),f.Y8G("ngStyle",f.eq3(8,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(10,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(12,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(14,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(16,y,Te.config.primaryColour))}}function O(xe,Ce){if(1&xe&&(f.j41(0,"div",32),f.nrm(1,"div",33)(2,"div",34),f.k0s()),2&xe){const Te=f.XpG(2);f.Y8G("ngClass",f.eq3(3,_,!0===Te.config.fullScreenBackdrop)),f.R7$(),f.Y8G("ngStyle",f.eq3(5,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(7,y,Te.config.secondaryColour))}}function x(xe,Ce){if(1&xe&&(f.j41(0,"div",35),f.nrm(1,"div",36)(2,"div",37),f.k0s()),2&xe){const Te=f.XpG(2);f.Y8G("ngClass",f.eq3(3,_,!0===Te.config.fullScreenBackdrop)),f.R7$(),f.Y8G("ngStyle",f.eq3(5,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(7,y,Te.config.secondaryColour))}}function N(xe,Ce){if(1&xe&&f.nrm(0,"div",38),2&xe){const Te=f.XpG(2);f.Y8G("ngClass",f.eq3(2,_,!0===Te.config.fullScreenBackdrop))("ngStyle",f.eq3(4,y,Te.config.primaryColour))}}function q(xe,Ce){if(1&xe&&(f.j41(0,"div",39),f.nrm(1,"div",40)(2,"div",41),f.k0s()),2&xe){const Te=f.XpG(2);f.Y8G("ngClass",f.eq3(3,_,!0===Te.config.fullScreenBackdrop)),f.R7$(),f.Y8G("ngStyle",f.eq3(5,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(7,y,Te.config.secondaryColour))}}function K(xe,Ce){if(1&xe&&f.nrm(0,"div",42),2&xe){const Te=f.XpG
1(2);f.Y8G("ngClass",f.eq3(2,_,!0===Te.config.fullScreenBackdrop))("ngStyle",f.eq3(4,d,Te.config.primaryColour))}}function te(xe,Ce){if(1&xe&&f.nrm(0,"div",43),2&xe){const Te=f.XpG(2);f.Y8G("ngClass",f.eq3(1,_,!0===Te.config.fullScreenBackdrop))}}function H(xe,Ce){if(1&xe&&(f.j41(0,"div",44),f.nrm(1,"div",45)(2,"div",46)(3,"div",47),f.k0s()),2&xe){const Te=f.XpG(2);f.Y8G("ngClass",f.eq3(4,_,!0===Te.config.fullScreenBackdrop)),f.R7$(),f.Y8G("ngStyle",f.eq3(6,y,Te.config.primaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(8,y,Te.config.secondaryColour)),f.R7$(),f.Y8G("ngStyle",f.eq3(10,y,Te.config.tertiaryColour))}}function ee(xe,Ce){1&xe&&f.eu8(0)}function F(xe,Ce){if(1&xe&&(f.qex(0),f.DNE(1,ee,1,0,"ng-container",48),f.bVm()),2&xe){const Te=f.XpG(2);f.R7$(),f.Y8G("ngTemplateOutlet",Te.template)}}function J(xe,Ce){if(1&xe&&(f.j41(0,"div"),f.nrm(1,"div",1),f.j41(2,"div",2),f.DNE(3,M,1,9,"div",3)(4,A,10,30,"div",4)(5,D,1,6,"div",5)(6,w,6,18,"div",6)(7,O,3,9,"div",7)(8,x,3,9,"div",8)(9,N,1,6,"div",9)(10,q,3,9,"div",10)(11,K,1,6,"div",11)(12,te,1,3,"div",12)(13,H,4,12,"div",13)(14,F,2,1,"ng-container",0),f.k0s()()),2&xe){const Te=f.XpG();f.R7$(),f.Y8G("ngClass",f.eq3(14,_,!0===Te.config.fullScreenBackdrop))("ngStyle",f.l_i(16,C,Te.config.backdropBorderRadius,Te.config.backdropBackgroundColour)),f.R7$(),f.Y8G("ngSwitch",Te.config.animationType),f.R7$(),f.Y8G("ngSwitchCase",Te.ngxLoadingAnimationTypes.circle),f.R7$(),f.Y8G("ngSwitchCase",Te.ngxLoadingAnimationTypes.cubeGrid),f.R7$(),f.Y8G("ngSwitchCase",Te.ngxLoadingAnimationTypes.rotatingPlane),f.R7$(),f.Y8G("ngSwitchCase",Te.ngxLoadingAnimationTypes.rectangleBounce),f.R7$(),f.Y8G("ngSwitchCase",Te.ngxLoadingAnimationTypes.wanderingCubes),f.R7$(),f.Y8G("ngSwitchCase",Te.ngxLoadingAnimationTypes.doubleBounce),f.R7$(),f.Y8G("ngSwitchCase",Te.ngxLoadingAnimationTypes.pulse),f.R7$(),f.Y8G("ngSwitchCase",Te.ngxLoadingAnimationTypes.chasingDots),f.R7$(),f.Y8G("ngSwitchCase",Te.ngxLoadingAnimationTypes.circleSwish),f.R7$(),f.Y8G("ngSwitchCase",Te.ngxLoadingAnimationTypes.none),f.R7$(2),f.Y8G("ngIf",Te.template)}}class ne{constructor(Ce={}){this.backdropBorderRadius=Ce.backdropBorderRadius,this.backdropBackgroundColour=Ce.backdropBackgroundColour,this.fullScreenBackdrop=Ce.fullScreenBackdrop,this.animationType=Ce.animationType,this.primaryColour=Ce.primaryColour,this.secondaryColour=Ce.secondaryColour,this.tertiaryColour=Ce.tertiaryColour}}const de={chasingDots:"chasing-dots",circle:"sk-circle",circleSwish:"circleSwish",cubeGrid:"sk-cube-grid",doubleBounce:"double-bounce",none:"none",pulse:"pulse",rectangleBounce:"rectangle-bounce",rotatingPlane:"rotating-plane",threeBounce:"three-bounce",wanderingCubes:"wandering-cubes"};let Le=(()=>{class xe{constructor(Te){this.config=Te,this.loadingConfig=this.config||new ne}static{this.\u0275fac=function(Fe){return new(Fe||xe)(g.KVO("loadingConfig",8))}}static{this.\u0275prov=g.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}}return xe})(),ut=(()=>{class xe{constructor(Te){this.LoadingService=Te,this.show=!1,this.config=new ne,this.defaultConfig={animationType:de.threeBounce,backdropBackgroundColour:"rgba(0, 0, 0, 0.3)",backdropBorderRadius:"0px",fullScreenBackdrop:!1,primaryColour:"#ffffff",secondaryColour:"#ffffff",tertiaryColour:"#ffffff"},this.ngxLoadingAnimationTypes=de}ngOnInit(){this.setupConfig()}setupConfig(){for(const Te in this.defaultConfig)null==this.config[Te]&&(this.config[Te]=null!=this.LoadingService.loadingConfig[Te]?this.LoadingService.loadingConfig[Te]:this.defaultConfig[Te])}static{this.\u0275fac=function(Fe){return new(Fe||xe)(f.rXU(Le))}}static{this.\u0275cmp=f.VBU({type:xe,selectors:[["ngx-loading"]],inputs:{show:"show",config:"config",template:"template"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[1,"backdrop",3,"ngClass","ngStyle"],[3,"ngSwitch"],["class","spinner-circle",3,"ngClass","ngStyle",4,"ngSwitchCase"],["class","sk-cube-grid",3,"ngClass",4,"ngSwitchCase"],["class","spinner-sk-rotateplane",3,"ngStyle","ngClass",4,"ngSwitchCase"],["class","spinner-rectangle-bounce",3,"ngClass",4,"ngSwitchCase"],["class","spinner-wandering-cubes",3,"ngClass",4,"ngSwitchCase"],["class","spinner-double-bounce",3,"ngClass",4,"ngSwitchCase"],["class","spinner-pulse",3,"ngClass","ngStyle",4,"ngSwitchCase"],["class","spinner-chasing-dots",3,"ngClass",4,"ngSwitchCase"],["class","spinner-circle-swish",3,"ngClass","ngStyle",4,"ngSwitchCase"],[3,"ngClass",4,"ngSwitchCase"],["class","spinner-three-bounce",3,"ngClass",4,"ngSwitchDefault"],[1,"spinner-circle",3,"ngClass","ngStyle"],[1,"sk-cube-grid",3,"ngClass"],[1,"sk-cube","sk-cube1",3,"ngStyle"],[1,"sk-cube","sk-cube2",3,"ngStyle"],[1,"sk-cube","sk-cube3",3,"ngStyle"],[1,"sk-cube","sk-cube4",3,"ngStyle"],[1,"sk-cube","sk-cube5",3,"ngStyle"],[1,"sk-cube","sk-cube6",3,"ngStyle"],[1,"sk-cube","sk-cube7",3,"ngStyle"],[1,"sk-cube","sk-cube8",3,"ngStyle"],[1,"sk-cube","sk-cube9",3,"ngStyle"],[1,"spinner-sk-rotateplane",3,"ngStyle","ngClass"],[1,"spinner-rectangle-bounce",3,"ngClass"],[1,"rect1",3,"ngStyle"],[1,"rect2",3,"ngStyle"],[1,"rect3",3,"ngStyle"],[1,"rect4",3,"ngStyle"],[1,"rect5",3,"ngStyle"],[1,"spinner-wandering-cubes",3,"ngClass"],[1,"cube1",3,"ngStyle"],[1,"cube2",3,"ngStyle"],[1,"spinner-double-bounce",3,"ngClass"],[1,"double-bounce1",3,"ngStyle"],[1,"double-bounce2",3,"ngStyle"],[1,"spinner-pulse",3,"ngClass","ngStyle"],[1,"spinner-chasing-dots",3,"ngClass"],[1,"dot1",3,"ngStyle"],[1,"dot2",3,"ngStyle"],[1,"spinner-circle-swish",3,"ngClass","ngStyle"],[3,"ngClass"],[1,"spinner-three-bounce",3,"ngClass"],[1,"bounce1",3,"ngStyle"],[1,"bounce2",3,"ngStyle"],[1,"bounce3",3,"ngStyle"],[4,"ngTemplateOutlet"]],template:function(Fe,Ke){1&Fe&&f.DNE(0,J,15,19,"div",0),2&Fe&&f.Y8G("ngIf",Ke.show)},dependencies:[h.YU,h.bT,h.T3,h.B3,h.ux,h.e1,h.fG],styles:['.backdrop[_ngcontent-%COMP%]{z-index:1999;position:absolute;inset:0;background-color:#0000004d}
1.spinner-circle[_ngcontent-%COMP%], .spinner-circle[_ngcontent-%COMP%]:after{border-radius:50%;width:10em;height:10em}.spinner-circle[_ngcontent-%COMP%]{font-size:6px;border-top:1.1em solid rgba(255,255,255,.2);border-right:1.1em solid rgba(255,255,255,.2);border-bottom:1.1em solid rgba(255,255,255,.2);border-left:1.1em solid #ffffff;position:absolute;inset:0;margin:auto;z-index:2000;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:_ngcontent-%COMP%_load8 1.1s infinite linear;animation:_ngcontent-%COMP%_load8 1.1s infinite linear}@-webkit-keyframes _ngcontent-%COMP%_load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-circle-swish[_ngcontent-%COMP%]{font-size:60px;overflow:hidden;width:1em;height:1em;border-radius:50%;position:absolute;inset:0;margin:auto;z-index:2000;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:_ngcontent-%COMP%_load6 1.7s infinite ease;animation:_ngcontent-%COMP%_load6 1.7s infinite ease}@-webkit-keyframes _ngcontent-%COMP%_load6{0%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em;-webkit-transform:rotate(0deg)}5%,95%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}10%,59%{box-shadow:0 -.83em 0 -.4em,-.087em -.825em 0 -.42em,-.173em -.812em 0 -.44em,-.256em -.789em 0 -.46em,-.297em -.775em 0 -.477em}20%{box-shadow:0 -.83em 0 -.4em,-.338em -.758em 0 -.42em,-.555em -.617em 0 -.44em,-.671em -.488em 0 -.46em,-.749em -.34em 0 -.477em}38%{box-shadow:0 -.83em 0 -.4em,-.377em -.74em 0 -.42em,-.645em -.522em 0 -.44em,-.775em -.297em 0 -.46em,-.82em -.09em 0 -.477em}to{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em;-webkit-transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_load6{0%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em;transform:rotate(0)}5%,95%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}10%,59%{box-shadow:0 -.83em 0 -.4em,-.087em -.825em 0 -.42em,-.173em -.812em 0 -.44em,-.256em -.789em 0 -.46em,-.297em -.775em 0 -.477em}20%{box-shadow:0 -.83em 0 -.4em,-.338em -.758em 0 -.42em,-.555em -.617em 0 -.44em,-.671em -.488em 0 -.46em,-.749em -.34em 0 -.477em}38%{box-shadow:0 -.83em 0 -.4em,-.377em -.74em 0 -.42em,-.645em -.522em 0 -.44em,-.775em -.297em 0 -.46em,-.82em -.09em 0 -.477em}to{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em;transform:rotate(360deg)}}.sk-cube-grid[_ngcontent-%COMP%]{width:40px;height:40px;position:absolute;inset:0;margin:auto;z-index:2000}.sk-cube-grid[_ngcontent-%COMP%]   .sk-cube[_ngcontent-%COMP%]{width:33%;height:33%;background-color:#333;float:left;-webkit-animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%]   .sk-cube1[_ngcontent-%COMP%]{-webkit-animation-delay:.2s;animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%]   .sk-cube2[_ngcontent-%COMP%]{-webkit-animation-delay:.3s;animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%]   .sk-cube3[_ngcontent-%COMP%]{-webkit-animation-delay:.4s;animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%]   .sk-cube4[_ngcontent-%COMP%]{-webkit-animation-delay:.1s;animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%]   .sk-cube5[_ngcontent-%COMP%]{-webkit-animation-delay:.2s;animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%]   .sk-cube6[_ngcontent-%COMP%]{-webkit-animation-delay:.3s;animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%]   .sk-cube7[_ngcontent-%COMP%]{-webkit-animation-delay:0s;animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%]   .sk-cube8[_ngcontent-%COMP%]{-webkit-animation-delay:.1s;animation-delay:.1s}
1.sk-cube-grid[_ngcontent-%COMP%]   .sk-cube9[_ngcontent-%COMP%]{-webkit-animation-delay:.2s;animation-delay:.2s}@-webkit-keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{-webkit-transform:scale3D(1,1,1);transform:scaleZ(1)}35%{-webkit-transform:scale3D(0,0,1);transform:scale3D(0,0,1)}}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{-webkit-transform:scale3D(1,1,1);transform:scaleZ(1)}35%{-webkit-transform:scale3D(0,0,1);transform:scale3D(0,0,1)}}.spinner-double-bounce[_ngcontent-%COMP%]{width:40px;height:40px;position:absolute;inset:0;margin:auto;z-index:2000}.double-bounce1[_ngcontent-%COMP%], .double-bounce2[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:_ngcontent-%COMP%_sk-bounce 2s infinite ease-in-out;animation:_ngcontent-%COMP%_sk-bounce 2s infinite ease-in-out}.double-bounce2[_ngcontent-%COMP%]{-webkit-animation-delay:-1s;animation-delay:-1s}.spinner-pulse[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#333;position:absolute;inset:0;margin:auto;z-index:2000;border-radius:100%;-webkit-animation:_ngcontent-%COMP%_sk-scaleout 1s infinite ease-in-out;animation:_ngcontent-%COMP%_sk-scaleout 1s infinite ease-in-out}@-webkit-keyframes _ngcontent-%COMP%_sk-scaleout{0%{-webkit-transform:scale(0)}to{-webkit-transform:scale(1);opacity:0}}@keyframes _ngcontent-%COMP%_sk-scaleout{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}.spinner-three-bounce[_ngcontent-%COMP%]{width:70px;text-align:center;position:absolute;inset:0;height:20px;margin:auto;z-index:2000}.spinner-three-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:18px;height:18px;background-color:#fff;border-radius:100%;display:inline-block;-webkit-animation:_ngcontent-%COMP%_sk-bouncedelay 1.4s infinite ease-in-out both;animation:_ngcontent-%COMP%_sk-bouncedelay 1.4s infinite ease-in-out both}.spinner-three-bounce[_ngcontent-%COMP%]   .bounce1[_ngcontent-%COMP%]{-webkit-animation-delay:-.32s;animation-delay:-.32s}.spinner-three-bounce[_ngcontent-%COMP%]   .bounce2[_ngcontent-%COMP%]{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes _ngcontent-%COMP%_sk-bouncedelay{0%,80%,to{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes _ngcontent-%COMP%_sk-bouncedelay{0%,80%,to{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}.spinner-sk-rotateplane[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;text-align:center;position:absolute;inset:0;margin:auto;z-index:2000;-webkit-animation:_ngcontent-%COMP%_sk-rotateplane 1.2s infinite ease-in-out;animation:_ngcontent-%COMP%_sk-rotateplane 1.2s infinite ease-in-out}@-webkit-keyframes _ngcontent-%COMP%_sk-rotateplane{0%{-webkit-transform:perspective(120px)}50%{-webkit-transform:perspective(120px) rotateY(180deg)}to{-webkit-transform:perspective(120px) rotateY(180deg) rotateX(180deg)}}@keyframes _ngcontent-%COMP%_sk-rotateplane{0%{transform:perspective(120px) rotateX(0) rotateY(0);-webkit-transform:perspective(120px) rotateX(0deg) rotateY(0deg)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0);-webkit-transform:perspective(120px) rotateX(-180.1deg) rotateY(0deg)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg);-webkit-transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}.spinner-rectangle-bounce[_ngcontent-%COMP%]{width:50px;height:40px;font-size:10px;text-align:center;position:absolute;inset:0;margin:auto;z-index:2000}.spinner-rectangle-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:#fff;height:100%;width:6px;display:inline-block;-webkit-animation:_ngcontent-%COMP%_sk-stretchdelay 1.2s infinite ease-in-out;animation:_ngcontent-%COMP%_sk-stretchdelay 1.2s infinite ease-in-out}.spinner-rectangle-bounce[_ngcontent-%COMP%]   .rect2[_ngcontent-%COMP%]{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.spinner-rectangle-bounce[_ngcontent-%COMP%]   .rect3[_ngcontent-%COMP%]{-webkit-animation-delay:-1s;animation-delay:-1s}.spinner-rectangle-bounce[_ngcontent-%COMP%]   .rect4[_ngcontent-%COMP%]{-webkit-animation-delay:-.9s;animation-delay:-.9s}.spinner-rectangle-bounce[_ngcontent-%COMP%]   .rect5[_ngcontent-%COMP%]{-webkit-animation-delay:-.8s;animation-delay:-.8s}@-webkit-keyframes _ngcontent-%COMP%_sk-stretchdelay{0%,40%,to{-webkit-transform:scaleY(.4)}20%{-webkit-transform:scaleY(1)}}@keyframes _ngcontent-%COMP%_sk-stretchdelay{0%,40%,to{transform:scaleY(.4);-webkit-transform:scaleY(.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}.spinner-wandering-cubes[_ngcontent-%COMP%]{width:60px;height:58px;font-size:10px;text-align:center;position:absolute;inset:0;margin:auto;z-index:2000}.cube1[_ngcontent-%COMP%], .cube2[_ngcontent-%COMP%]{background-color:#fff;width:15px;height:15px;position:absolute;top:0;left:0;-webkit-animation:_ngcontent-%COMP%_sk-cubemove 1.8s infinite ease-in-out;animation:_ngcontent-%COMP%_sk-cubemove 1.8s infinite ease-in-out}.cube2[_ngcontent-%COMP%]{-webkit-animation-delay:-.9s;animation-delay:-.9s}@-webkit-keyframes _ngcontent-%COMP%_sk-cubemove{25%{-webkit-transform:translateX(42px) rotate(-90deg) scale(.5)}50%{-webkit-transform:translateX(42px) translateY(42px) rotate(-180deg)}75%{-webkit-transform:translateX(0px) translateY(42px) rotate(-270deg) scale(.5)}to{-webkit-transform:rotate(-360deg)}}@keyframes _ngcontent-%COMP%_sk-cubemove{25%{transform:translate(42px) rotate(-90deg) scale(.5);-webkit-transform:translateX(42px) rotate(-90deg) scale(.5)}50%{transform:translate(42px) translateY(42px) rotate(-179deg);-webkit-transform:translateX(42px) translateY(42px) rotate(-179deg)}50.1%{transform:translate(42px) translateY(42px) rotate(-180deg);-webkit-transform:translateX(42px) translateY(42px) rotate(-180deg)}75%{transform:translate(0) translateY(42px) rotate(-270deg) scale(.5);-webkit-transform:translateX(0px) translateY(42px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg);-webkit-transform:rotate(-360deg)}}
1.sk-circle[_ngcontent-%COMP%]{width:40px;height:40px;position:absolute;inset:0;margin:auto;z-index:2000}.sk-circle[_ngcontent-%COMP%]   .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;left:0;top:0}.sk-circle[_ngcontent-%COMP%]   .sk-child[_ngcontent-%COMP%]:before{content:"";display:block;margin:0 auto;width:15%;height:15%;background-color:#333;border-radius:100%;-webkit-animation:_ngcontent-%COMP%_sk-circleBounceDelay 1.2s infinite ease-in-out both;animation:_ngcontent-%COMP%_sk-circleBounceDelay 1.2s infinite ease-in-out both}.sk-circle[_ngcontent-%COMP%]   .sk-circle2[_ngcontent-%COMP%]{-webkit-transform:rotate(30deg);-ms-transform:rotate(30deg);transform:rotate(30deg)}.sk-circle[_ngcontent-%COMP%]   .sk-circle3[_ngcontent-%COMP%]{-webkit-transform:rotate(60deg);-ms-transform:rotate(60deg);transform:rotate(60deg)}.sk-circle[_ngcontent-%COMP%]   .sk-circle4[_ngcontent-%COMP%]{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.sk-circle[_ngcontent-%COMP%]   .sk-circle5[_ngcontent-%COMP%]{-webkit-transform:rotate(120deg);-ms-transform:rotate(120deg);transform:rotate(120deg)}.sk-circle[_ngcontent-%COMP%]   .sk-circle6[_ngcontent-%COMP%]{-webkit-transform:rotate(150deg);-ms-transform:rotate(150deg);transform:rotate(150deg)}.sk-circle[_ngcontent-%COMP%]   .sk-circle7[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.sk-circle[_ngcontent-%COMP%]   .sk-circle8[_ngcontent-%COMP%]{-webkit-transform:rotate(210deg);-ms-transform:rotate(210deg);transform:rotate(210deg)}.sk-circle[_ngcontent-%COMP%]   .sk-circle9[_ngcontent-%COMP%]{-webkit-transform:rotate(240deg);-ms-transform:rotate(240deg);transform:rotate(240deg)}.sk-circle[_ngcontent-%COMP%]   .sk-circle10[_ngcontent-%COMP%]{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.sk-circle[_ngcontent-%COMP%]   .sk-circle11[_ngcontent-%COMP%]{-webkit-transform:rotate(300deg);-ms-transform:rotate(300deg);transform:rotate(300deg)}.sk-circle[_ngcontent-%COMP%]   .sk-circle12[_ngcontent-%COMP%]{-webkit-transform:rotate(330deg);-ms-transform:rotate(330deg);transform:rotate(330deg)}.sk-circle[_ngcontent-%COMP%]   .sk-circle2[_ngcontent-%COMP%]:before{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.sk-circle[_ngcontent-%COMP%]   .sk-circle3[_ngcontent-%COMP%]:before{-webkit-animation-delay:-1s;animation-delay:-1s}.sk-circle[_ngcontent-%COMP%]   .sk-circle4[_ngcontent-%COMP%]:before{-webkit-animation-delay:-.9s;animation-delay:-.9s}.sk-circle[_ngcontent-%COMP%]   .sk-circle5[_ngcontent-%COMP%]:before{-webkit-animation-delay:-.8s;animation-delay:-.8s}.sk-circle[_ngcontent-%COMP%]   .sk-circle6[_ngcontent-%COMP%]:before{-webkit-animation-delay:-.7s;animation-delay:-.7s}.sk-circle[_ngcontent-%COMP%]   .sk-circle7[_ngcontent-%COMP%]:before{-webkit-animation-delay:-.6s;animation-delay:-.6s}.sk-circle[_ngcontent-%COMP%]   .sk-circle8[_ngcontent-%COMP%]:before{-webkit-animation-delay:-.5s;animation-delay:-.5s}.sk-circle[_ngcontent-%COMP%]   .sk-circle9[_ngcontent-%COMP%]:before{-webkit-animation-delay:-.4s;animation-delay:-.4s}.sk-circle[_ngcontent-%COMP%]   .sk-circle10[_ngcontent-%COMP%]:before{-webkit-animation-delay:-.3s;animation-delay:-.3s}.sk-circle[_ngcontent-%COMP%]   .sk-circle11[_ngcontent-%COMP%]:before{-webkit-animation-delay:-.2s;animation-delay:-.2s}.sk-circle[_ngcontent-%COMP%]   .sk-circle12[_ngcontent-%COMP%]:before{-webkit-animation-delay:-.1s;animation-delay:-.1s}@-webkit-keyframes _ngcontent-%COMP%_sk-circleBounceDelay{0%,80%,to{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes _ngcontent-%COMP%_sk-circleBounceDelay{0%,80%,to{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}.spinner-chasing-dots[_ngcontent-%COMP%]{width:40px;height:40px;position:absolute;inset:0;margin:auto;z-index:2000;text-align:center;-webkit-animation:_ngcontent-%COMP%_sk-rotate 2s infinite linear;animation:_ngcontent-%COMP%_sk-rotate 2s infinite linear}.dot1[_ngcontent-%COMP%], .dot2[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;background-color:#333;border-radius:100%;-webkit-animation:_ngcontent-%COMP%_sk-bounce 2s infinite ease-in-out;animation:_ngcontent-%COMP%_sk-bounce 2s infinite ease-in-out}.dot2[_ngcontent-%COMP%]{top:auto;bottom:0;-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes _ngcontent-%COMP%_sk-rotate{to{-webkit-transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-rotate{to{transform:rotate(360deg);-webkit-transform:rotate(360deg)}}@-webkit-keyframes _ngcontent-%COMP%_sk-bounce{0%,to{-webkit-transform:scale(0)}50%{-webkit-transform:scale(1)}}@keyframes _ngcontent-%COMP%_sk-bounce{0%,to{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}.full-screen[_ngcontent-%COMP%]{position:fixed;position:-ms-page}']})}}return xe})(),Oe=(()=>{class xe{static forRoot(Te){return{ngModule:xe,providers:[{provide:"loadingConfig",useValue:Te}]}}static{this.\u0275fac=function(Fe){return new(Fe||xe)}}static{this.\u0275mod=f.$C({type:xe})}static{this.\u0275inj=g.G2t({imports:[h.MD]})}}return xe})()},24708(ot,V,l){"use strict";l.d(V,{IH:()=>ct,N4:()=>fe,VF:()=>Ce,VI:()=>Oe,q5:()=>Te,r2:()=>Fe});var d=l(35547),M=l(85802),A=l(17705),D=l(32271),w=l(89417),O=l(49769);const x=(ie,Xe)=>({$implicit:ie,error:Xe}),N=(ie,Xe,ve)=>({$implicit:ie,type:Xe,error:ve});function q(ie,Xe){1&ie&&d.eu8(0)}function K(ie,Xe){if(1&ie&&(d.j41(0,"div"),d.DNE(1,q,1,0,"ng-container",1),d.k0s()),2&ie){const ve=Xe.$implicit,he=d.XpG(2),Pe=d.r8f(0);d.HbH(he.errorClasses),d.R7$(),d.Y8G("ngTemplateOutlet",ve.templateRef)("ngTemplateOutletContext",d.l_i(4,x,he.label(),Pe.control.errors[ve.type()]))}}function te(ie,Xe){1&ie&&d.eu8(0)}function H(ie,Xe){if(1&ie&&(d.j41(0,"div"),d.DNE(1,te,1,0,"ng-container",1),d.k0s()),2&ie){const ve=Xe.$implicit,he=d.XpG(2),Pe=d.r8f(0);d.HbH(he.errorClasses),d.R7$(),d.Y8G("ngTemplateOutlet",Pe.errorsToDisplay.fallback.templateRef)("ngTemplateOutletContext",d.sMw(4,N,he.label(),ve.type,ve.value))}}function ee(ie,Xe){if(1&ie&&(d.Z7z(0,K,2,7,"div",0,d.Vm6),d.Z7z(2,H,2,8,"div",0,d.Vm6)),2&ie){d.XpG();const ve=d.r8f(0);d.Dyx(ve.errorsToDisplay.errors),d.R7$(2),d.Dyx(ve.errorsToDisplay.fallbackErrors)}}let ut=(()=>{class ie{directives=(0,M.vPA)([]);fallback=(0,M.vPA)(void 0);static \u0275fac=function(he){return new(he||ie)};static \u0275prov=M.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})(),Oe=(()=>{class ie{templateRef=(0,M.WQX)(d.C4Q);type=A.hFB.required({alias:"valError"});static ngTemplateContextGuard(ve,he){return!0}static \u0275fac=function(he){return new(he||ie)};static \u0275dir=d.FsC({type:ie,selectors:[["ng-template","valError",""]],inputs:{type:[1,"valError","type"]}})}return ie})(),xe=(()=>{class ie{templateRef=(0,M.WQX)(d.C4Q);static ngTemplateContextGuard(ve,he){return!0}static \u0275fac=function(he){return new(he||ie)};static \u0275dir=d.FsC({type:ie,selectors:[["ng-template","valFallback",""]]})}return ie})(),Ce=(()=>{class ie{defaultValidationErrors=(0,M.WQX)(ut);errorDirectives=(0,A.tEk)(Oe);fallbackDirective=(0,A.sbv)(xe);ngAfterContentInit(){this.defaultValidationErrors.directives.set(this.errorDirectives()),this.defaultValidationErrors.fallback.set(this.fallbackDirective())}static \u0275fac=function(he){return new(he||ie)};static \u0275dir=d.FsC({type:ie,selectors:[["val-default-errors"]],contentQueries:function(he,Pe,Ve){1&he&&d.C6U(Ve,Pe.errorDirectives,Oe,4)(Ve,Pe.fallbackDirective,xe,5),2&he&&d.NyB(2)}})}return ie})();var Te=function(ie){return ie[ie.ALL=0]="ALL",ie[ie.ONE=1]="ONE",ie}(Te||{});let Fe=(()=>{class ie{displayMode=Te.ALL;errorsClasses=null;errorClasses=null;shouldDisplayErrors=(ve,he)=>ve.touched||!!he&&he.submitted;shouldDisplayFieldErrors=ve=>ve.touched();shouldThrowOnMissingControl=()=>!1;static \u0275fac=function(he){return new(he||ie)};static \u0275prov=M.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})();const Ke={shouldDisplayErrors:!1},Qe={control:null,errorsDisplayed:null,errors:null};function kt(ie,Xe){return ie.control===Xe.control&&ie.errorsDisplayed===Xe.errorsDisplayed&&ie.errors===Xe.errors}let ct=(()=>{class ie{control=(0,A.hFB)(null);controlName=(0,A.hFB)(null);label=(0,A.hFB)(null);errorDirectives=(0,A.tEk)(Oe);fallbackDirective=(0,A.sbv)(xe);config=(0,M.WQX)(Fe);errorsClasses=this.config.errorsClasses||"";errorClasses=this.config.errorClasses||"";validationState=(0,M.vPA)(Qe,{equal:kt});defaultValidationErrors=(0,M.WQX)(ut);controlContainer=(0,M.WQX)(w.ZU,{optional:!0});vm=(0,D.EW)(()=>{const ve=this.validationState().control;return this.shouldDisplayErrors(ve)?{shouldDisplayErrors:!0,control:ve,errorsToDisplay:this.findErrorsToDisplay(ve)}:Ke});ngDoCheck(){const ve=this.findActualControl();if(ve){const he=this.controlContainer?.formDirective,Pe=this.config.shouldDisplayErrors(ve,he);this.validationState.set({control:ve,errorsDisplayed:Pe,errors:ve.errors})}else this.validationState.set(Qe)}
1shouldDisplayErrors(ve){return!!(ve&&ve.invalid&&this.hasDisplayableError(ve))&&this.config.shouldDisplayErrors(ve,(this.controlContainer&&this.controlContainer.formDirective)??void 0)}findErrorsToDisplay(ve){const he=[],Pe=[],Ve=new Set,dt=()=>this.config.displayMode===Te.ALL||0===he.length&&0===Pe.length,Dt=this.defaultValidationErrors.directives();for(let wt=0;wt<Dt.length&&dt();wt++){const Yt=Dt[wt];if(ve.hasError(Yt.type())){const Tt=this.errorDirectives().find(qt=>qt.type()===Yt.type());he.push(Tt||Yt)}Ve.add(Yt.type())}if(dt()){const wt=this.errorDirectives();for(let Yt=0;Yt<wt.length&&dt();Yt++){const Tt=wt[Yt];!Ve.has(Tt.type())&&ve.hasError(Tt.type())&&he.push(Tt),Ve.add(Tt.type())}}if(dt()&&(this.fallbackDirective()||this.defaultValidationErrors.fallback())){const wt=Object.entries(ve.errors??[]);for(let Yt=0;Yt<wt.length&&dt();Yt++){const[Tt,qt]=wt[Yt];Ve.has(Tt)||Pe.push({type:Tt,value:qt})}}return{errors:he,fallback:this.fallbackDirective()??this.defaultValidationErrors.fallback(),fallbackErrors:Pe}}findActualControl(){const ve=this.control(),he=this.controlName();if(ve)return ve;if(null!=he&&this.controlContainer?.control?.controls){const Pe=(this.controlContainer?.control).controls[he];if(this.config.shouldThrowOnMissingControl()&&!Pe&&Object.keys(this.controlContainer?.control?.controls).length>0)throw new Error(`ngx-valdemort: no control found for controlName: '${he}'.`);return Pe}return null}hasDisplayableError(ve){return ve.errors&&(this.fallbackDirective()||this.defaultValidationErrors.fallback()||Object.keys(ve.errors).some(he=>this.defaultValidationErrors.directives().some(Pe=>Pe.type()===he)||this.errorDirectives().some(Pe=>Pe.type()===he)))}static \u0275fac=function(he){return new(he||ie)};static \u0275cmp=d.VBU({type:ie,selectors:[["val-errors"]],contentQueries:function(he,Pe,Ve){1&he&&d.C6U(Ve,Pe.errorDirectives,Oe,4)(Ve,Pe.fallbackDirective,xe,5),2&he&&d.NyB(2)},hostVars:4,hostBindings:function(he,Pe){2&he&&(d.HbH(Pe.errorsClasses),d.xc7("display",Pe.vm().shouldDisplayErrors?"":"none"))},inputs:{control:[1,"control"],controlName:[1,"controlName"],label:[1,"label"]},decls:2,vars:2,consts:[[3,"class"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(he,Pe){if(1&he&&(d.SS7(0),d.nVh(1,ee,4,0)),2&he){const Ve=d.bH3(Pe.vm());d.R7$(),d.vxM(Ve.shouldDisplayErrors?1:-1)}},dependencies:[O.T3],encapsulation:2,changeDetection:0})}return ie})(),fe=(()=>{class ie{static \u0275fac=function(he){return new(he||ie)};static \u0275mod=d.$C({type:ie});static \u0275inj=M.G2t({})}return ie})()},12426(ot,V,l){"use strict";l.d(V,{S4:()=>Mt,ZY:()=>Lt,bM:()=>it,sj:()=>wt});var d=l(23294),M=l(5964),A=l(44668),D=l(25558),w=l(85802),O=l(35547),x=l(18530),N=l(7673),q=l(60177),K=function(le){return le.Local="local_strategy",le.Session="session_strategy",le.InMemory="in_memory_strategy",le}(K||{});class te{static isStorageAvailable($){let Ee=!0;try{"object"==typeof $?($.setItem("test-storage","foobar"),$.removeItem("test-storage")):Ee=!1}catch{Ee=!1}return Ee}}function H(){}const ee="ngx-webstorage",J=!1;let ne=(()=>{class le{static{this.prefix=ee}static{this.separator="|"}static{this.isCaseSensitive=J}static normalize(Ee){return Ee=le.isCaseSensitive?Ee:Ee.toLowerCase(),`${le.prefix}${le.separator}${Ee}`}static isNormalizedKey(Ee){return 0===Ee.indexOf(le.prefix+le.separator)}static setPrefix(Ee){le.prefix=Ee}static setSeparator(Ee){le.separator=Ee}static setCaseSensitive(Ee){le.isCaseSensitive=Ee}static consumeConfiguration(Ee){"prefix"in Ee&&this.setPrefix(Ee.prefix),"separator"in Ee&&this.setSeparator(Ee.separator),"caseSensitive"in Ee&&this.setCaseSensitive(Ee.caseSensitive)}}return le})();class de{constructor($){this.strategy=$}retrieve($){let Ee;return this.strategy.get(ne.normalize($)).subscribe(Et=>Ee=typeof Et>"u"?null:Et),Ee}store($,Ee){return this.strategy.set(ne.normalize($),Ee).subscribe(H),Ee}clear($){void 0!==$?this.strategy.del(ne.normalize($)).subscribe(H):this.strategy.clear().subscribe(H)}getStrategyName(){return this.strategy.name}observe($){return $=ne.normalize($),this.strategy.keyChanges.pipe((0,M.p)(Ee=>null===Ee||Ee===$),(0,D.n)(()=>this.strategy.get($)),(0,d.F)(),(0,A.t)({refCount:!0,bufferSize:1}))}}let ut=(()=>{class le{constructor(){this.caches={}}get(Ee,Et){return this.getCacheStore(Ee)[Et]}set(Ee,Et,dn){this.getCacheStore(Ee)[Et]=dn}del(Ee,Et){delete this.getCacheStore(Ee)[Et]}clear(Ee){this.caches[Ee]={}}getCacheStore(Ee){return Ee in this.caches?this.caches[Ee]:this.caches[Ee]={}}static{this.\u0275fac=function(Et){return new(Et||le)}}static{this.\u0275prov=w.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}}return le})();const Oe=new w.nKC("window_local_storage"),Ce={provide:Oe,useFactory:function xe(){return typeof window<"u"?window.localStorage:null}},Te=new w.nKC("window_session_storage");class Qe{constructor($,Ee){this.storage=$,this.cache=Ee,this.keyChanges=new x.B}get isAvailable(){return void 0===this._isAvailable&&(this._isAvailable=te.isStorageAvailable(this.storage)),this._isAvailable}get($){let Ee=this.cache.get(this.name,$);if(void 0!==Ee)return(0,N.of)(Ee);try{const Et=this.storage.getItem($);null!==Et&&(Ee=JSON.parse(Et),this.cache.set(this.name,$,Ee))}catch(Et){console.warn(Et)}return(0,N.of)(Ee)}set($,Ee){const Et=JSON.stringify(Ee);return this.storage.setItem($,Et),this.cache.set(this.name,$,Ee),this.keyChanges.next($),(0,N.of)(Ee)}del($){return this.storage.removeItem($),this.cache.del(this.name,$),this.keyChanges.next($),(0,N.of)(null)}clear(){return this.storage.clear(),this.cache.clear(this.name),this.keyChanges.next(null),(0,N.of)(null)}}class kt extends Qe{static{this.strategyName=K.Local}constructor($,Ee,Et,dn){super($,Ee),this.storage=$,this.cache=Ee,this.platformId=Et,this.zone=dn,this.name=kt.strategyName,(0,q.UE)(this.platformId)&&this.listenExternalChanges()}listenExternalChanges(){window.addEventListener("storage",$=>this.zone.run(()=>
1{if($.storageArea!==this.storage)return;const Ee=$.key;null!==Ee?this.cache.del(this.name,$.key):this.cache.clear(this.name),this.keyChanges.next(Ee)}))}static{this.\u0275fac=function(Ee){return new(Ee||kt)(w.KVO(Oe),w.KVO(ut),w.KVO(O.Agw),w.KVO(w.SKi))}}static{this.\u0275prov=w.jDH({token:kt,factory:kt.\u0275fac})}}class ct extends Qe{static{this.strategyName=K.Session}constructor($,Ee,Et,dn){super($,Ee),this.storage=$,this.cache=Ee,this.platformId=Et,this.zone=dn,this.name=ct.strategyName,(0,q.UE)(this.platformId)&&this.listenExternalChanges()}listenExternalChanges(){window.addEventListener("storage",$=>this.zone.run(()=>{if($.storageArea!==this.storage)return;const Ee=$.key;null!==$.key?this.cache.del(this.name,$.key):this.cache.clear(this.name),this.keyChanges.next(Ee)}))}static{this.\u0275fac=function(Ee){return new(Ee||ct)(w.KVO(Te),w.KVO(ut),w.KVO(O.Agw),w.KVO(w.SKi))}}static{this.\u0275prov=w.jDH({token:ct,factory:ct.\u0275fac})}}class Pt{static{this.strategyName=K.InMemory}constructor($){this.cache=$,this.keyChanges=new x.B,this.isAvailable=!0,this.name=Pt.strategyName}get($){return(0,N.of)(this.cache.get(this.name,$))}set($,Ee){return this.cache.set(this.name,$,Ee),this.keyChanges.next($),(0,N.of)(Ee)}del($){return this.cache.del(this.name,$),this.keyChanges.next($),(0,N.of)(null)}clear(){return this.cache.clear(this.name),this.keyChanges.next(null),(0,N.of)(null)}static{this.\u0275fac=function(Ee){return new(Ee||Pt)(w.KVO(ut))}}static{this.\u0275prov=w.jDH({token:Pt,factory:Pt.\u0275fac})}}const Ze=new w.nKC("STORAGE_STRATEGIES"),fe=[{provide:Ze,useClass:Pt,multi:!0},{provide:Ze,useClass:kt,multi:!0},{provide:Ze,useClass:ct,multi:!0}],[ie,Xe,ve]=fe,dt="invalid_strategy";let Dt=(()=>{class le{static{this.index={}}constructor(Ee){this.strategies=Ee,this.registration$=new x.B,Ee||(Ee=[]),this.strategies=Ee.reverse().map((Et,dn,an)=>Et.name).map((Et,dn,an)=>an.indexOf(Et)===dn?dn:null).filter(Et=>null!==Et).map(Et=>Ee[Et])}static get(Ee){if(!this.isStrategyRegistered(Ee))throw Error(dt);let Et=this.index[Ee];return Et.isAvailable||(Et=this.index[K.InMemory]),Et}static set(Ee,Et){this.index[Ee]=Et}static clear(Ee){void 0!==Ee?delete this.index[Ee]:this.index={}}static isStrategyRegistered(Ee){return Ee in this.index}static hasRegistredStrategies(){return Object.keys(this.index).length>0}getStrategy(Ee){return le.get(Ee)}indexStrategies(){this.strategies.forEach(Ee=>this.register(Ee.name,Ee))}indexStrategy(Ee,Et=!1){if(le.isStrategyRegistered(Ee)&&!Et)return le.get(Ee);const dn=this.strategies.find(an=>an.name===Ee);if(!dn)throw new Error(dt);return this.register(Ee,dn,Et),dn}register(Ee,Et,dn=!1){(!le.isStrategyRegistered(Ee)||dn)&&(le.set(Ee,Et),this.registration$.next(Ee))}static{this.\u0275fac=function(Et){return new(Et||le)(w.KVO(Ze,8))}}static{this.\u0275prov=w.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}}return le})();class wt extends de{}const Tt={provide:wt,useFactory:function Yt(le){const $=le.indexStrategy(K.Local);return new de($)},deps:[Dt]},rt=new w.nKC("ngx_webstorage_config");var bt=function(le){return le[le.Config=1]="Config",le[le.LocalStorage=2]="LocalStorage",le[le.SessionStorage=3]="SessionStorage",le}(bt||{});function Mt(...le){const{configProvider:$,featureProviders:Ee}=function p(le){let $;const Ee=[],Et=new Set;for(const dn of le){if(Et.has(dn.kind))throw new Error(`Feature ${dn.kind} is already provided.`);dn.kind===bt.Config?$=dn.providers[0]:Ee.push(...dn.providers),Et.add(dn.kind)}return{configProvider:$??{provide:rt,useValue:{prefix:ee,separator:"|",caseSensitive:J}},featureProviders:Ee}}(le);return(0,w.EmA)([$,ie,(0,O.phd)(()=>function we(){const le=(0,w.WQX)(rt),$=(0,w.WQX)(Dt);return()=>{ne.consumeConfiguration(le),$.indexStrategies()}}()()),...Ee])}function Bt(le,$){return{kind:le,providers:$}}function it(le){return Bt(bt.Config,[{provide:rt,useValue:le}])}function Lt(){return Bt(bt.LocalStorage,[Ce,Tt,Xe])}},10467(ot,V,l){"use strict";function f(h,_,C,o,y,d,M){try{var A=h[d](M),D=A.value}catch(w){return void C(w)}A.done?_(D):Promise.resolve(D).then(o,y)}function g(h){return function(){var _=this,C=arguments;return new Promise(function(o,y){var d=h.apply(_,C);function M(D){f(d,o,y,M,A,"next",D)}function A(D){f(d,o,y,M,A,"throw",D)}M(void 0)})}}l.d(V,{A:()=>g})},31635(ot,V,l){"use strict";function _(fe,ie){var Xe={};for(var ve in fe)Object.prototype.hasOwnProperty.call(fe,ve)&&ie.indexOf(ve)<0&&(Xe[ve]=fe[ve]);if(null!=fe&&"function"==typeof Object.getOwnPropertySymbols){var he=0;for(ve=Object.getOwnPropertySymbols(fe);he<ve.length;he++)ie.indexOf(ve[he])<0&&Object.prototype.propertyIsEnumerable.call(fe,ve[he])&&(Xe[ve[he]]=fe[ve[he]])}return Xe}function C(fe,ie,Xe,ve){var Ve,he=arguments.length,Pe=he<3?ie:null===ve?ve=Object.getOwnPropertyDescriptor(ie,Xe):ve;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Pe=Reflect.decorate(fe,ie,Xe,ve);else for(var dt=fe.length-1;dt>=0;dt--)(Ve=fe[dt])&&(Pe=(he<3?Ve(Pe):he>3?Ve(ie,Xe,Pe):Ve(ie,Xe))||Pe);return he>3&&Pe&&Object.defineProperty(ie,Xe,Pe),Pe}function D(fe,ie){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(fe,ie)}function w(fe,ie,Xe,ve){return new(Xe||(Xe=Promise))(function(Pe,Ve){function dt(Yt){try{wt(ve.next(Yt))}catch(Tt){Ve(Tt)}}function Dt(Yt){try{wt(ve.throw(Yt))}catch(Tt){Ve(Tt)}}function wt(Yt){Yt.done?Pe(Yt.value):function he(Pe){return Pe instanceof Xe?Pe:new Xe(function(Ve){Ve(Pe)})}(Yt.value).then(dt,Dt)}wt((ve=ve.apply(fe,ie||[])).next())})}function F(fe){return this instanceof F?(this.v=fe,this):new F(fe)}function J(fe,ie,Xe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var he,ve=Xe.apply(fe,ie||[]),Pe=[];return he=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),dt("next"),dt("throw"),dt("return",function Ve(We){return function(yt){return Promise.resolve(yt).then(We,Tt)}}),he[Symbol.asyncIterator]=function(){return this},he;function dt(We,yt){ve[We]&&(he[We]=function(je){return new Promise(function(St,me){Pe.push([We,je,St,me])>1||Dt(We,je)})},yt&&(he[We]=yt(he[We])))}function Dt(We,yt){try{!function wt(We){We.value instanceof F?Promise.resolve(We.value.v).then(Yt,Tt):qt(Pe[0][2],We)}(ve[We](yt))}catch(je){qt(Pe[0][3],je)}}function Yt(We){Dt("next",We)}function Tt(We){Dt("throw",We)}function qt(We,yt){We(yt),Pe.shift(),Pe.length&&Dt(Pe[0][0],Pe[0][1])}}function de(fe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Xe,ie=fe[Symbol.asyncIterator];return ie?ie.call(fe):(fe=function q(fe){var ie="function"==typeof Symbol&&Symbol.iterator,Xe=ie&&fe[ie],ve=0;if(Xe)return Xe.call(fe);if(fe&&"number"==typeof fe.length)return{next:function(){return fe&&ve>=fe.length&&(fe=void 0),{value:fe&&fe[ve++],done:!fe}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")}(fe),Xe={},ve("next"),ve("throw"),ve("return"),Xe[Symbol.asyncIterator]=function(){return this},Xe);function ve(Pe){Xe[Pe]=fe[Pe]&&function(Ve){return new Promise(function(dt,Dt){!function he(Pe,Ve,dt,Dt){Promise.resolve(Dt).then(function(wt){Pe({value:wt,done:dt})},Ve)}(dt,Dt,(Ve=fe[Pe](Ve)).done,Ve.value)})}}}l.d(V,{AQ:()=>J,Cg:()=>C,N3:()=>F,Sn:()=>D,Tt:()=>_,sH:()=>w,xN:()=>de}),"function"==typeof SuppressedError&&SuppressedError}},ot=>{ot(ot.s=39065)}]);

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.